分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.04 l8 ^, N$ P; o0 t# x/ c# E" X

; X$ I: n: c( i( ~; c: l
  1. [PHP]7 {! i. @& g6 [* v: {- f* u& w
  2. : i- t6 l. W3 @( g! ?) B: I
  3. ;;;;;;;;;;;;;;;;;;;
    * K2 h* \, i% o) W
  4. ; About php.ini   ;
    * o, f9 ]6 v$ l% [9 n
  5. ;;;;;;;;;;;;;;;;;;;
    & m0 N5 a7 ?2 X8 E* A
  6. ; PHP's initialization file, generally called php.ini, is responsible for7 [6 z) h% T3 H( e4 B
  7. ; configuring many of the aspects of PHP's behavior.
    6 ]" p6 b3 t/ T, {( e

  8. 4 Q! |( H  ?. D) O. w! l* ^' A
  9. ; PHP attempts to find and load this configuration from a number of locations.( d' K3 i0 E! j9 P) r
  10. ; The following is a summary of its search order:9 l3 T. v' T! l/ o
  11. ; 1. SAPI module specific location.
    0 d7 A- Z  ?& W5 c, o) _: ]
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    & ~& H! {8 O7 j) o: c( Y( x
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)! F$ j% L8 K1 {2 g- g4 r: ?5 \: z' F
  14. ; 4. Current working directory (except CLI)( J% j7 A1 y; x% S# y# U
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    5 d2 v" d9 P! L4 i+ v
  16. ; (otherwise in Windows)" t6 {. @! z8 V' l- o
  17. ; 6. The directory from the --with-config-file-path compile time option, or the- `0 N" M& l9 J% ~, I
  18. ; Windows directory (C:\windows or C:\winnt)
    1 @5 N' a  r" `# I( z
  19. ; See the PHP docs for more specific information.. {) w. Z/ R/ ?, g3 ?$ s& I
  20. ; http://php.net/configuration.file
    1 w" u8 H; G5 |# p; C

  21. 3 H* X( ]4 _- c8 L) Z4 J1 Y" j3 `/ S
  22. ; The syntax of the file is extremely simple.  Whitespace and lines8 a$ M8 u5 G- _/ ]1 d
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).' f) G+ M' @, t( ~$ m7 I8 ]1 ^" n1 u
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though4 b" ?* E; w) x
  25. ; they might mean something in the future.0 c1 i! t: U8 b* Z
  26. - S: C* S& b1 w; _- r. Q+ _
  27. ; Directives following the section heading [PATH=/www/mysite] only
    1 N: q* X: l, T% l1 S$ A+ U$ x
  28. ; apply to PHP files in the /www/mysite directory.  Directives! d! ^" P: b- ^  ]7 j3 A
  29. ; following the section heading [HOST=www.example.com] only apply to
    % V4 A, Q  I) P5 ~5 Q, C
  30. ; PHP files served from www.example.com.  Directives set in these& t$ L1 \) W# v  @# I
  31. ; special sections cannot be overridden by user-defined INI files or5 H. ]+ q6 k1 j" G
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under6 Z9 B6 A' C3 J
  33. ; CGI/FastCGI.
    # f/ o& X& z6 J. \
  34. ; http://php.net/ini.sections, C4 p4 u5 S" I; q/ Z

  35. # d* X! T: P  m- p6 ]# a
  36. ; Directives are specified using the following syntax:" a' A4 B3 Y, ?2 b" r6 E! S
  37. ; directive = value
    ( h, |5 J4 P3 d+ y$ `8 m
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    # v2 l2 S. g( S+ {7 B( V# {, ]
  39. ; Directives are variables used to configure PHP or PHP extensions.' ?' s! |' g1 W/ I0 G: _
  40. ; There is no name validation.  If PHP can't find an expected: G$ P, ~9 u+ Y1 Z
  41. ; directive because it is not set or is mistyped, a default value will be used.% M  c/ H7 S1 U$ m
  42. ) c# v- h0 g+ O- P& n7 ~
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    7 q' h0 f+ H' R( N9 P$ O2 C( x
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression, a& l" D7 Z! U! M  x: t) y
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    + r& [, {  I& ~: x
  46. ; previously set variable or directive (e.g. ${foo})# f& a1 |6 w$ i- x: G6 n) ~0 x
  47. - L" k8 y2 r9 N1 F. I# j) T+ W
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ; O) r$ s% C% _. b7 y
  49. ; |  bitwise OR1 T- ]& f( A" L7 n: _, p4 a
  50. ; ^  bitwise XOR
    % K  w' @0 V6 @4 p& F/ j3 ]5 E7 i. ?
  51. ; &  bitwise AND
    0 s! t' f* \& h: q
  52. ; ~  bitwise NOT7 @$ l4 c. k1 g1 [: A" l; i
  53. ; !  boolean NOT3 M9 m1 h! U2 X  E' ]
  54. 8 T; i: C! a* X6 l, K/ o; R5 ], S) V. ^
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    . A/ y6 t+ P7 w* x2 M) d0 c8 i
  56. ; They can be turned off using the values 0, Off, False or No.6 b2 p; O4 i5 l% J$ W5 [
  57. 8 U' i* M8 `; i: g
  58. ; An empty string can be denoted by simply not writing anything after the equal; b. T1 J+ _, x" p# b" P, i. I3 E
  59. ; sign, or by using the None keyword:+ x. ?! p& I. a
  60. , Q, S2 ]/ ]- y3 m* [
  61. ;  foo =         ; sets foo to an empty string! u4 A$ E8 E; q2 I+ I1 f
  62. ;  foo = None    ; sets foo to an empty string' s/ M# H. s# u2 S
  63. ;  foo = "None"  ; sets foo to the string 'None'
    7 h( _  ^5 a, {4 F; u

  64. $ ]2 j1 ?1 K$ @$ W4 j/ v4 Q
  65. ; If you use constants in your value, and these constants belong to a0 a. Z( d4 u$ H- Y
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    % _3 `! \9 c2 |/ f! \' A9 ?1 `
  67. ; you may only use these constants *after* the line that loads the extension.
    " \9 ]1 ^8 i$ B# A6 L$ p
  68. * U, C+ N/ B  e1 w4 O
  69. ;;;;;;;;;;;;;;;;;;;
    9 M1 M9 t  p$ W% @3 \
  70. ; About this file ;
    , g) n9 H' r  _5 G  O
  71. ;;;;;;;;;;;;;;;;;;;9 K$ _. Y) z! n' G7 E8 _
  72. ; PHP comes packaged with two INI files. One that is recommended to be used; s4 E+ n1 z1 h+ N7 C- P7 y
  73. ; in production environments and one that is recommended to be used in1 {; P( v& K# H7 H# C* Y0 u
  74. ; development environments.
    ; y' r; J) \5 n5 N4 Y

  75. 4 O: O! T. q9 O! K+ K( i4 {& ^0 w! x
  76. ; php.ini-production contains settings which hold security, performance and
      }! E$ y0 c/ E; U) O  _1 y' P
  77. ; best practices at its core. But please be aware, these settings may break
    " |( Y; K  I1 J/ L5 {
  78. ; compatibility with older or less security conscience applications. We" v8 Z9 e5 K$ t; ~+ V
  79. ; recommending using the production ini in production and testing environments.
    ) n& N( V$ z7 `0 o4 D8 o

  80. 0 e- a, n/ j/ F0 i) U6 _1 J$ }
  81. ; php.ini-development is very similar to its production variant, except it is$ j6 @- L% Q( I0 J
  82. ; much more verbose when it comes to errors. We recommend using the
    : G( L( J! x& c  b0 v  ?. ^
  83. ; development version only in development environments, as errors shown to2 x% }9 A! }2 t4 O  h( l0 l9 ]4 w
  84. ; application users can inadvertently leak otherwise secure information.1 X6 q% j: q1 K, R$ V/ T

  85. 9 z8 I  l6 D6 y& b: J
  86. ; This is php.ini-production INI file.
    2 S& w6 {" {( k9 X7 P. U2 c

  87. 2 N% \8 ?8 F" k! C/ x
  88. ;;;;;;;;;;;;;;;;;;;
    3 E* S& Q" ~5 {% j5 `6 Z8 e: q4 v5 P
  89. ; Quick Reference ;6 N% w/ i* g: C* a' J8 g
  90. ;;;;;;;;;;;;;;;;;;;9 s5 z& V# v# J. O4 ]( t4 }* A. h
  91. ; The following are all the settings which are different in either the production1 H$ W- l! K0 x+ q- H
  92. ; or development versions of the INIs with respect to PHP's default behavior.$ P" [; D! a1 f
  93. ; Please see the actual settings later in the document for more details as to why1 w: K2 [5 c# b) j( ]7 J
  94. ; we recommend these changes in PHP's behavior.
    : V. O, H. L: ^4 K/ F
  95. 0 X6 Z; H7 z4 a9 N7 @+ \
  96. ; display_errors
    8 T/ m1 ~) B; w6 Z) Y
  97. ;   Default Value: On, N/ l* h( t9 l( v8 Q7 Z% ?$ P
  98. ;   Development Value: On# h# ~! M% t# O2 u+ o' G" K% F' |
  99. ;   Production Value: Off, a8 j: A+ ^$ P& Z$ p6 m5 h+ ~
  100. : U% H, x7 v( I4 e' b  j, X- z! O
  101. ; display_startup_errors4 A* M' x( P$ z* W$ N6 n  d
  102. ;   Default Value: Off' z; ?6 P" j: [. E$ q9 }& A
  103. ;   Development Value: On; j/ U% J8 t# [- i
  104. ;   Production Value: Off
    * `2 ?& r: _; C2 o. [
  105. - A2 Q) E' A1 w: l: L$ S' M' ^! e
  106. ; error_reporting
    ( o5 k8 ]8 X0 @. f, A- U( z# ~# K$ Y
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    # l# B7 y# p5 f& ~3 x
  108. ;   Development Value: E_ALL
    ( _1 Q3 D( B& v% m; P2 n& w8 I
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    $ l0 t0 A  k) v2 o
  110. 4 Q/ \; a, F. R. t. j4 `: w" N! v- H
  111. ; html_errors
    / t; {/ h% M6 |+ o0 g9 `
  112. ;   Default Value: On
    % N) {" P9 r3 V  S: @' V
  113. ;   Development Value: On$ u6 s% {0 I0 Y/ ?7 i! H1 c
  114. ;   Production value: On  c' y1 O( ~- j* Q; A( ]

  115. & X+ e+ W1 s& W$ j* P2 h" Q
  116. ; log_errors
    ! ]) [! F# r; |4 J) L
  117. ;   Default Value: Off
    7 @0 Q( H0 L7 _3 Q8 J/ u( S* g
  118. ;   Development Value: On- u. c/ }6 c  ^6 K
  119. ;   Production Value: On+ c& X. |0 `: I/ D5 t0 N

  120. ; K$ N$ L/ Z7 @+ w7 I# s5 F1 D" w# A& j
  121. ; max_input_time
    % ^! m. H9 w+ }1 R; o0 j# o
  122. ;   Default Value: -1 (Unlimited)
    / ]4 |0 `. ~. M6 A6 D
  123. ;   Development Value: 60 (60 seconds)# r' I; R4 f6 i8 W5 d
  124. ;   Production Value: 60 (60 seconds)' h0 A2 R: R6 E) @" \7 N/ E
  125. 1 N7 h) d' c: n2 A3 D! g
  126. ; output_buffering) Y1 S0 W# V3 Z6 P' t6 L& h9 T
  127. ;   Default Value: Off; B1 }8 ]% q6 n# k" m, g3 J
  128. ;   Development Value: 4096( r0 d+ r5 z) U* g
  129. ;   Production Value: 4096
    / ]# f5 M" d/ r2 K. _
  130. 8 X( ^8 n! d% T' A4 v
  131. ; register_argc_argv
    & u1 \8 O# J! x: h# O! \; H; H
  132. ;   Default Value: On
    4 Q% d+ h2 I4 A2 {+ L& b+ ^
  133. ;   Development Value: Off
    ) [% a% H9 `8 Q+ J# A; Q! A' H3 j* o
  134. ;   Production Value: Off& r( L" _3 K! G* {' p0 g% S8 ~4 v

  135. 0 Z: ]* U- z. H* i7 l  Z0 L
  136. ; request_order
      [( Z4 n& B" b3 {
  137. ;   Default Value: None
    $ l  \, ~- F: G) ^
  138. ;   Development Value: "GP"8 z" S- r0 E# _% F* v
  139. ;   Production Value: "GP"
    6 K; I; x3 W7 _5 k
  140. / z$ t+ U5 k* V* k) G9 B
  141. ; session.gc_divisor
    6 V3 E9 N6 N4 ~9 N; [1 G
  142. ;   Default Value: 100
    $ v9 _2 O& }& L$ T' L* X  R
  143. ;   Development Value: 10008 s: R0 ?$ ^6 u( {
  144. ;   Production Value: 1000/ @- n* T8 w9 l  |5 ]( k! w7 i
  145. , R, e6 N; K: h7 ~- U1 X0 S
  146. ; session.hash_bits_per_character6 P. L6 c2 S" l- i$ v2 W
  147. ;   Default Value: 4( T' ~: W9 g* ?. y; J4 S: V
  148. ;   Development Value: 53 V1 L( I3 _/ c5 D! U
  149. ;   Production Value: 5
    0 O2 _8 S9 k  d0 w" i' y! o

  150. . S& o/ @8 b- P! ]% Y8 ^' l6 a# }# G; c
  151. ; short_open_tag
    * j5 b  F: g7 E" [, X, J& z, d4 c
  152. ;   Default Value: On
    / {$ o6 h5 \' L" r
  153. ;   Development Value: Off0 C) v( E) R% ]9 K: ^7 ^$ n3 `
  154. ;   Production Value: Off
    . ^: q* V8 o% `2 l
  155. 6 O2 K: ~' B! V  }9 x+ T+ T
  156. ; track_errors; H: s5 l' P" F6 W
  157. ;   Default Value: Off7 w% x# _7 o$ c) t  \
  158. ;   Development Value: On$ h4 _9 D1 w5 T$ V7 M
  159. ;   Production Value: Off7 a) F7 |9 T. ?0 y5 J3 |. D/ A# n8 y

  160. 0 e/ N- K# @7 ]( ?3 u
  161. ; url_rewriter.tags
    0 ~% }( \) r# P
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="5 [* s& N1 h# R. b$ F
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( ~  V; A; s; }6 j: W: r
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 _2 F& G( |6 n# R. |, a# @6 H  Z( G
  165. 6 L- c6 s; s" J; }& z
  166. ; variables_order
    5 Q, ]' u. x' F% F; T
  167. ;   Default Value: "EGPCS"' x/ \, J1 g7 b: T3 O; z5 y# w9 S
  168. ;   Development Value: "GPCS"- [0 N8 k9 n6 Q# T
  169. ;   Production Value: "GPCS"
    1 t) g. F& _. w# I

  170. 7 X& g- [: y* x4 X
  171. ;;;;;;;;;;;;;;;;;;;;# v, e! f' B2 b4 i# H! p
  172. ; php.ini Options  ;
    : h$ s0 D6 U; |+ b
  173. ;;;;;;;;;;;;;;;;;;;;% @) q! T; X. }
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    % y0 J, J5 w9 ^7 b
  175. ;user_ini.filename = ".user.ini"
    7 J6 J2 e# o% T+ D0 {0 @, `9 c
  176. 9 G, I* M5 M1 G, ~( y
  177. ; To disable this feature set this option to empty value. @$ j  k  U1 d* E5 `1 q
  178. ;user_ini.filename =
    ! z8 D+ Q% F6 `; E# f/ f
  179. 1 ^% J! H; a4 t* S; U! ~' H
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes). h$ Z* p, N3 J% `8 E8 A
  181. ;user_ini.cache_ttl = 300
    - x& q+ I+ `+ @9 o% {/ v3 [3 G
  182. , W* a8 L9 \$ {; S4 [! L: e9 }
  183. ;;;;;;;;;;;;;;;;;;;;# Z8 R/ v1 h2 l
  184. ; Language Options ;8 w9 K) _, ~' `, [- u
  185. ;;;;;;;;;;;;;;;;;;;;( \1 Q/ Q% D6 z2 T( ~

  186.   Y7 j" h1 V8 A! Q7 ^; c
  187. ; Enable the PHP scripting language engine under Apache.' P  K5 t2 f6 _0 E
  188. ; http://php.net/engine
    0 |8 N5 W6 v3 T, @
  189. engine = On
    ' o$ r: ?' \' f' s# g- ?) r* S3 C
  190. 2 l+ M0 N6 k. [1 `& A& i+ ~
  191. ; This directive determines whether or not PHP will recognize code between3 \, ]- K/ J; S9 F1 o
  192. ; <? and ?> tags as PHP source which should be processed as such. It is  W0 J6 [8 e# m4 F" a2 y
  193. ; generally recommended that <?php and ?> should be used and that this feature
    - R: z* f% m6 Q: u6 v* {- L
  194. ; should be disabled, as enabling it may result in issues when generating XML* [& b% m# R/ j/ A1 J) ?( t
  195. ; documents, however this remains supported for backward compatibility reasons.
    7 a) p+ y/ Q9 s- }: [
  196. ; Note that this directive does not control the <?= shorthand tag, which can be5 d' z( E* s! H* q0 U
  197. ; used regardless of this directive.
    8 `2 k5 c( G: l( b) T4 x
  198. ; Default Value: On
    ) c2 P4 Q- x) t7 r( @9 i2 E
  199. ; Development Value: Off; i; ]6 o9 H/ v3 z) ?
  200. ; Production Value: Off
    3 P: ~, }% @9 k
  201. ; http://php.net/short-open-tag6 W& [$ V1 q! F& O, s; F6 t
  202. short_open_tag = On
    6 J' V. v4 U( N
  203. $ z  H' J5 t; J) W! K5 i' _
  204. ; The number of significant digits displayed in floating point numbers.- q  G" R6 c6 S6 m- f
  205. ; http://php.net/precision; @: M: ?, B! B4 S& P! Y
  206. precision = 14
    0 A- h. c- {( b, z, s4 p

  207. . F- k" Y! a7 Z. D0 K
  208. ; Output buffering is a mechanism for controlling how much output data
    , M% Z! v* X# K5 m/ z
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    8 g# a" k" o3 I
  210. ; data to the client. If your application's output exceeds this setting, PHP
    9 F6 \7 b: }1 L
  211. ; will send that data in chunks of roughly the size you specify.
    - k8 S7 L6 f! R
  212. ; Turning on this setting and managing its maximum buffer size can yield some2 U* a/ Y. v5 ~, S  j3 c& |
  213. ; interesting side-effects depending on your application and web server.
    5 u) v# \: i  \) |
  214. ; You may be able to send headers and cookies after you've already sent output+ h9 O" i' V# R% D
  215. ; through print or echo. You also may see performance benefits if your server is
    , ^2 v, G& }. b" ^5 Y
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    + S7 _! G2 Z% d& D( j! R
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance5 u* k  V0 J; t- M' w' L
  218. ; reasons., d* c. B' x! @4 ]: V7 j' d
  219. ; Note: Output buffering can also be controlled via Output Buffering Control: o" O- Z0 `' `" R
  220. ;   functions.. {+ ~. n: N; n0 S: \" u
  221. ; Possible Values:
    7 L0 ^5 s3 U2 n
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)3 m* q7 P0 j5 x) j& x! j; {8 O
  223. ;   Off = Disabled. x* B3 k; a! [/ c: u* {9 f
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ( m( Q, K) e, I8 O' d5 u
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI( @( r# _6 F" ?+ d5 C
  226. ; Default Value: Off( y" K; W5 m/ P; W+ a: w, ^. [
  227. ; Development Value: 4096
    6 p# [- v. T* L% E+ \$ K
  228. ; Production Value: 4096
    , ?2 `) `2 F% h4 j( i
  229. ; http://php.net/output-buffering* L+ y3 o1 r7 V! p# b
  230. output_buffering = 40964 x. t& M7 G9 ?6 \1 N4 T6 M
  231. 8 Q6 v# @% n, [; k! b
  232. ; You can redirect all of the output of your scripts to a function.  For
    ! Q. p1 o8 @" D* m" ]& p) J/ m+ `
  233. ; example, if you set output_handler to "mb_output_handler", character
    % `) |- B5 t' d: u) U' {
  234. ; encoding will be transparently converted to the specified encoding.* l8 J) S: [5 t: Y
  235. ; Setting any output handler automatically turns on output buffering.
    9 \2 `" g2 p, s! s& _( l
  236. ; Note: People who wrote portable scripts should not depend on this ini
      h5 h2 f% X( z# z/ r
  237. ;   directive. Instead, explicitly set the output handler using ob_start().  g' a+ y6 I4 b
  238. ;   Using this ini directive may cause problems unless you know what script6 K; s4 ^7 Q: P' A5 @8 w! _! g/ y
  239. ;   is doing.
      A* n- s  q. d  C  C) p6 V& T% k
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    , t& s; B% M) S4 S3 z3 W  U
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".# a' B* ]& ^, r6 Z3 ]2 l9 ^
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    1 g( }% F  G3 X6 L; ^  N; Z
  243. ;   Instead you must use zlib.output_handler.
    ) B$ Y+ G) r8 V* ]5 X/ l& }
  244. ; http://php.net/output-handler0 a2 D9 P$ l' S) z$ I- [" r
  245. ;output_handler =) {* q  s: m/ }6 A5 G8 c5 D

  246. 7 |2 u6 [' ~, d
  247. ; Transparent output compression using the zlib library6 Y6 e  a* v) K3 G) c7 a
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size$ R+ M" J: N- F. F% B5 F
  249. ; to be used for compression (default is 4KB)2 A, i" `0 b9 w) l) `
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    , ?. {7 b& J' m
  251. ;   outputs chunks that are few hundreds bytes each as a result of# A3 j9 W( h8 ?# |; \9 S+ l/ S; V
  252. ;   compression. If you prefer a larger chunk size for better1 m' E; s* b2 e7 v4 w
  253. ;   performance, enable output_buffering in addition.
    0 s" z: s( t$ s9 a# o3 p
  254. ; Note: You need to use zlib.output_handler instead of the standard2 r* b4 F! G7 J; |+ D9 E0 d' q& w
  255. ;   output_handler, or otherwise the output will be corrupted.9 R2 ^3 b! m5 f6 a
  256. ; http://php.net/zlib.output-compression
    7 w% \" e8 a7 R' F0 l9 d
  257. zlib.output_compression = Off( {; d7 m5 T% K: ~

  258. . q7 i  x+ \  V9 R& J5 U! B% o
  259. ; http://php.net/zlib.output-compression-level! d9 _! [, V* L2 b7 s. s
  260. ;zlib.output_compression_level = -1
    & O3 ^. m# n- n) G0 M) c  b
  261. - X. f$ c( w9 j6 B; O* n
  262. ; You cannot specify additional output handlers if zlib.output_compression7 M9 n0 P! f3 m5 ?. u$ |
  263. ; is activated here. This setting does the same as output_handler but in
    1 x2 r# L4 k! m1 a* O$ w4 s+ p
  264. ; a different order.
    $ D) t6 R2 A( N. R
  265. ; http://php.net/zlib.output-handler
    7 U, V: g+ P. t" d! R% q
  266. ;zlib.output_handler =
    & j8 K( E# A* M: ?6 E

  267. : u* H! Q7 V8 i8 ^. d) c4 ~. r
  268. ; Implicit flush tells PHP to tell the output layer to flush itself* v, _( y$ n% v! ?" O
  269. ; automatically after every output block.  This is equivalent to calling the+ E/ A9 J; I5 d& Y1 e
  270. ; PHP function flush() after each and every call to print() or echo() and each4 p' C5 d, n) X9 c" S2 _2 t
  271. ; and every HTML block.  Turning this option on has serious performance
    ' u9 ~. m; K+ n& d
  272. ; implications and is generally recommended for debugging purposes only./ f8 c2 S; B; `8 e( B
  273. ; http://php.net/implicit-flush' R6 r( @' H( q) U5 @
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    ( U% V+ Q0 O, \4 N, n
  275. implicit_flush = Off
    * u8 i$ X8 H$ X3 k9 ~
  276. % d0 v& M/ r: `8 H
  277. ; The unserialize callback function will be called (with the undefined class'
    6 D! i9 ~6 n* b: T0 Z% Y
  278. ; name as parameter), if the unserializer finds an undefined class. s  c! `1 B; |7 N- R2 \; O4 i
  279. ; which should be instantiated. A warning appears if the specified function is1 f" H. j+ ?. T$ Q
  280. ; not defined, or if the function doesn't include/implement the missing class.' L( q' ]; ?* w
  281. ; So only set this entry, if you really want to implement such a+ @7 C/ g! ]$ i$ H3 V3 |/ p
  282. ; callback-function.
    - y* |- ]7 t0 ^. p- E! Q- Y
  283. unserialize_callback_func =6 _; g3 ^, w& ]- u/ O

  284. 6 B% X4 Q. S* {- m  Z. P2 E9 M/ R
  285. ; When floats & doubles are serialized store serialize_precision significant" O# O3 x; s3 q
  286. ; digits after the floating point. The default value ensures that when floats
    3 S- c1 {  l2 m/ ?; B
  287. ; are decoded with unserialize, the data will remain the same.9 Y% f0 N' Z' q7 x  [2 u
  288. serialize_precision = 17
    $ t! A* [0 f! ?- j' f6 R- A5 R

  289. ; R. o7 r5 m1 Z  P- B) b. l
  290. ; open_basedir, if set, limits all file operations to the defined directory# n, u' v) ~( z# X# s
  291. ; and below.  This directive makes most sense if used in a per-directory
    ; C6 J9 G4 f- l! ~9 M6 m3 M/ \
  292. ; or per-virtualhost web server configuration file.
    6 ~. b: ]* Z  n
  293. ; http://php.net/open-basedir+ }; |# ^. `  r/ _0 R- F0 q
  294. ;open_basedir =
    0 h. y0 p% E$ {0 n4 R; r* v; k

  295. 6 [$ t/ n+ ?7 {% s9 o. v) n: [
  296. ; This directive allows you to disable certain functions for security reasons.
    ( f; H- n/ S) g2 [/ d1 `
  297. ; It receives a comma-delimited list of function names.
    8 c- E" p/ T1 B6 m
  298. ; http://php.net/disable-functions% \5 a' {- P. C( a5 Q: h2 l
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru2 a: K/ G( ]: w% C
  300.   R; f3 x4 _& s  s& ]" {
  301. ; This directive allows you to disable certain classes for security reasons.$ O  `6 a( V8 `" [9 [
  302. ; It receives a comma-delimited list of class names.# B% b- ^4 c- a8 c9 F4 \
  303. ; http://php.net/disable-classes6 B, X* h, L& |' D# ?: `
  304. disable_classes =
    1 d( L- \* O+ _+ \
  305. / A1 I$ n' ]' s! i4 S" ?
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    % L$ e( R( L& o3 S
  307. ; <span style="color: ???????"> would work.5 q0 ?, i  ~/ u9 z$ n# {  e( q
  308. ; http://php.net/syntax-highlighting
    : a9 M! h/ G2 e1 z
  309. ;highlight.string  = #DD0000
    $ v7 \" r4 R6 Q7 F
  310. ;highlight.comment = #FF9900# e; G3 B; k( ?& C( e
  311. ;highlight.keyword = #0077009 Q" T, x$ _" w( v1 m$ e
  312. ;highlight.default = #0000BB& N9 L: o# Y1 H9 r7 V8 [% r
  313. ;highlight.html    = #000000' A; {5 U4 Y! p

  314. # t  I& k- X( a; i; i
  315. ; If enabled, the request will be allowed to complete even if the user aborts% Q% u7 O1 D4 x( k+ W
  316. ; the request. Consider enabling it if executing long requests, which may end up6 v$ Y  F0 J- m$ s2 e  {( s' U
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior* \9 d0 b+ `8 G+ \; F
  318. ; is to disable this feature.# O/ k+ z  S4 I
  319. ; http://php.net/ignore-user-abort' C4 v; e: `1 D1 [! ]
  320. ;ignore_user_abort = On6 S4 |  Y# [7 e

  321. , h8 q+ g2 g& f; f5 f3 P
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    0 s) ^' ?9 P+ l4 ?, y3 J
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    4 q2 Y7 r6 k% b: Q
  324. ; the file operations performed.! J2 p" |, p7 p% O: N: W+ Q& y7 U
  325. ; http://php.net/realpath-cache-size* i3 C& ?5 `! Q0 L2 H' K
  326. ;realpath_cache_size = 4096k
    ( m% P' S. @; u3 p. r1 A8 z" @, h9 Z
  327. 7 C. Y1 G! ^. l2 R" h! m
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    4 G  k9 e+ @+ k' d1 i/ ]  q: Y5 E0 T
  329. ; file or directory. For systems with rarely changing files, consider increasing this# Y  E: \& q7 S  z* {2 @' @/ n
  330. ; value.
    ) Q1 P) c/ m4 p' [/ h
  331. ; http://php.net/realpath-cache-ttl! q7 i+ t& @! D
  332. ;realpath_cache_ttl = 120: B0 e, Z: u5 O- O8 d( D
  333. & J( T2 L5 T7 p* m( p" c. W
  334. ; Enables or disables the circular reference collector.7 H0 K3 L4 y" }
  335. ; http://php.net/zend.enable-gc/ p5 ^. q0 J" j) g( e8 o
  336. zend.enable_gc = On( \; o5 O7 W2 g" m
  337. % i8 b) O9 ?7 X/ y0 k/ S& n" o
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    $ p) g; G3 v/ i! z" N6 g
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    9 o/ b* O' O; q  ^
  340. ; encodings.  To use this feature, mbstring extension must be enabled.- D2 v5 |( F* i; b! J/ ]3 L* K
  341. ; Default: Off5 S1 A$ B! j0 I9 l
  342. ;zend.multibyte = Off$ g3 F7 i! X. @& g0 u: f

  343. - [" D: `: R# E$ x) i9 \
  344. ; Allows to set the default encoding for the scripts.  This value will be used
      i: q8 ^; r  g% f: n3 z
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.4 t" p  i2 Z1 N% b1 G
  346. ; Only affects if zend.multibyte is set.9 B# v2 M; P2 x( m
  347. ; Default: ""
    3 F3 t* v  x8 C1 K& b* K- i
  348. ;zend.script_encoding =
    6 s( D- g" O7 H
  349. 3 r1 _9 C) |+ D7 `# p
  350. ;;;;;;;;;;;;;;;;;
    1 K  d/ n( |% Q
  351. ; Miscellaneous ;% U& k1 Y! o3 B% g- r# G
  352. ;;;;;;;;;;;;;;;;;6 D& C" }7 w# I7 J
  353. ' S% b; \0 G# o2 C
  354. ; Decides whether PHP may expose the fact that it is installed on the server: G$ M) N0 |- k
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    ( p. \7 `# w0 Y6 J8 ~# V3 P1 m" P
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    " u6 a8 k. C- ?9 ~2 ?0 e4 T& G7 ~
  357. ; on your server or not.
    & y6 j6 T2 D" |$ D: i
  358. ; http://php.net/expose-php
    + I1 Z! q8 q3 r  W
  359. expose_php = On
    & U, G" M" ^) q3 @0 A: g+ D
  360. $ C+ r! J, n6 E& j) K& n
  361. ;;;;;;;;;;;;;;;;;;;3 A- {) T4 H1 c* S2 R
  362. ; Resource Limits ;
    , y' K3 G/ v6 o; V
  363. ;;;;;;;;;;;;;;;;;;;
    - ^: u% [& ~, W2 I
  364. 3 s% [" L& e: t% }4 M
  365. ; Maximum execution time of each script, in seconds
    & X# o: k2 z! s: c
  366. ; http://php.net/max-execution-time
    3 \, C1 Z+ u4 M) P
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    8 X2 L6 R& S2 C# [' f
  368. max_execution_time = 3003 O7 T. H/ `, \6 s' X3 T
  369. ! Q6 f: B0 r5 D. m: O2 w+ b: A
  370. ; Maximum amount of time each script may spend parsing request data. It's a good; {7 j- G3 P6 P6 [& ~) N7 e
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly; H2 P8 a2 T3 a: H
  372. ; long running scripts.
    1 A0 p: j$ C" L5 q
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI0 F: P# m9 O0 U) l0 g; C
  374. ; Default Value: -1 (Unlimited)0 m7 j+ Q* w7 H4 @
  375. ; Development Value: 60 (60 seconds)) N1 |! e8 i" q! @; C+ U. Q$ c
  376. ; Production Value: 60 (60 seconds)
    / W7 g% E0 B  E/ C% t8 q2 F2 H
  377. ; http://php.net/max-input-time
    ' ]; @+ V; e* y; T
  378. max_input_time = 604 g5 {, T" ~8 Y9 x# M9 x8 N6 s) v

  379. ( L1 {7 M# y/ I; H
  380. ; Maximum input variable nesting level
    % r! S+ G3 E, l. @8 }8 C7 Z
  381. ; http://php.net/max-input-nesting-level" D# J  ~, y! p$ d1 }: `
  382. ;max_input_nesting_level = 64
    " M: y  S* `2 r
  383. 4 \$ e/ s/ q; h2 W! w, \
  384. ; How many GET/POST/COOKIE input variables may be accepted/ z/ f% h* Y, o- b9 c9 I' ^# S
  385. ; max_input_vars = 10007 G1 q8 Z% L- O8 f. b
  386. 3 X; e: k+ G. Y. q0 n
  387. ; Maximum amount of memory a script may consume (128MB)9 F* F; a4 W2 N8 ~+ G' [: i! C
  388. ; http://php.net/memory-limit" K9 @7 `; }) N  X: _7 X, s9 g* X- u
  389. memory_limit = 128M5 `+ ^+ p1 x( W7 _) e; f

  390. . a/ d, P" y9 s6 }. _+ w8 {8 K. g
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;, {) ?9 D9 n& e  ^; u9 v
  392. ; Error handling and logging ;
    ( Q* [; t+ J/ j" A' b
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    6 e- s8 V4 l8 L! O
  394. " |# W7 T% F" f
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    : T' z+ _* Q: S8 P
  396. ; it to take action for. The recommended way of setting values for this
    & {" N% r* C! p8 F2 m9 F) N" H
  397. ; directive is through the use of the error level constants and bitwise  n9 C2 e8 M6 X
  398. ; operators. The error level constants are below here for convenience as well as
    # Q% f# D5 g. X8 m
  399. ; some common settings and their meanings.6 q9 c  d. s8 l  p/ |3 N
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT, ]( V3 }  T: V2 o% F
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    6 n  j  R& n* S5 `( @; p5 h
  402. ; recommended coding standards in PHP. For performance reasons, this is the6 |9 c7 e! H1 `- y" b
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    ' m0 O, T1 V& s
  404. ; resources complaining about best practices and coding standards. That's what
    2 l1 k7 t; Y2 H& B
  405. ; development servers and development settings are for.
    % _2 ^  f$ u" }9 S
  406. ; Note: The php.ini-development file has this setting as E_ALL. This/ Q2 K  {! N2 J/ N9 u9 u  k
  407. ; means it pretty much reports everything which is exactly what you want during* B, h/ k; l2 t0 Z' w2 ?
  408. ; development and early testing.  v8 {' |/ ]/ I% H  h
  409. ;
    8 T/ A  G0 m+ f% ^
  410. ; Error Level Constants:
    - D6 i$ d3 \9 ]3 [) l
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)! D7 r4 x2 W  H! f& Z/ j& E
  412. ; E_ERROR           - fatal run-time errors
    5 d8 D! ]% D' ^) q" \# |
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors1 n. z3 }2 t, C+ |- t; ]7 H+ N
  414. ; E_WARNING         - run-time warnings (non-fatal errors)+ \& g2 `# y" `
  415. ; E_PARSE           - compile-time parse errors2 ?' s+ n% R/ R$ i0 X4 K6 j
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    + L9 p1 W# w. n" t# q2 [2 M: M
  417. ;                     from a bug in your code, but it's possible that it was
    ( p6 N: m; j1 r( l
  418. ;                     intentional (e.g., using an uninitialized variable and6 B& h. N8 ^6 v7 ~. Q
  419. ;                     relying on the fact it is automatically initialized to an
    4 d# s- J* `" g: ]$ F9 `) G4 }) I
  420. ;                     empty string)
    7 K. q. n; E+ G/ Q6 c
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ) o# h, Q" y1 }4 N
  422. ;                     to your code which will ensure the best interoperability8 O0 h5 d  _, _7 f" W
  423. ;                     and forward compatibility of your code
    ( ]+ d+ s7 C# R6 L  C
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    , W# O/ I. L5 g! q( w( ~4 {3 d
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's6 `: B0 B0 R) R7 _* ]4 o
  426. ;                     initial startup( k/ y1 R7 m, r& I
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    2 {- X2 w5 K) I0 Z/ S6 P# K
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)" n- p, ^0 I; ?/ S
  429. ; E_USER_ERROR      - user-generated error message, q) y3 F1 J+ n# F6 w8 `  f0 v9 s
  430. ; E_USER_WARNING    - user-generated warning message
    # m9 M1 @% h, Y5 V5 Q
  431. ; E_USER_NOTICE     - user-generated notice message: v" f* w4 n8 k  z: y
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    # L1 n0 W9 ^( m6 U5 {5 z" J+ e3 a
  433. ;                     of PHP
    " _% }: Y7 L8 s- c8 c7 F8 X5 k
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    & t  a' U8 @$ l4 s! k
  435. ;. B& A( ]* O: I1 G! o
  436. ; Common Values:3 g$ m1 \, d1 b1 e4 T& n
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    7 ]: ^+ S; x* {/ K5 r( e9 R
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    . T: }" g9 [+ o! B
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    . V$ P: E7 L! v
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    6 p8 J/ U" @& ^
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    - l1 f9 c* j4 z7 r# a+ S
  442. ; Development Value: E_ALL8 T- O6 f" E! M( O1 A- n0 d# z
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT2 `. b% E! S% z5 t+ C
  444. ; http://php.net/error-reporting
    : e' H% G, g- U
  445. error_reporting = E_ALL & ~E_NOTICE
    - i* ]. g4 y, y( g8 _; C0 E  o

  446. 9 N4 O# m& {5 J
  447. ; This directive controls whether or not and where PHP will output errors,+ z4 s4 u5 c5 ~9 ~" d0 `
  448. ; notices and warnings too. Error output is very useful during development, but
    ( o, e# `/ h2 B; a7 e' ]9 F8 {
  449. ; it could be very dangerous in production environments. Depending on the code
    6 F' V; `+ i# z; e
  450. ; which is triggering the error, sensitive information could potentially leak7 {4 B6 J% K2 i6 n( o) D4 v
  451. ; out of your application such as database usernames and passwords or worse.
    5 A$ Y* E" O, ~1 J
  452. ; For production environments, we recommend logging errors rather than
    2 G' x0 B+ r% x  P0 t# s* R
  453. ; sending them to STDOUT.
    8 P3 \$ w2 m7 c' @9 P7 }
  454. ; Possible Values:* J0 u" `& m2 n( f% t( O3 R! _
  455. ;   Off = Do not display any errors) O/ x% O( P8 C6 q5 c
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)# c2 @! g' Y5 j% Y  j
  457. ;   On or stdout = Display errors to STDOUT1 s& w4 [+ V$ E" P
  458. ; Default Value: On
    * E3 P5 }+ _, {) r" \
  459. ; Development Value: On9 c0 o: Z6 q  \: f; a; {( g
  460. ; Production Value: Off* X4 l. c# m# N% @9 z
  461. ; http://php.net/display-errors! ?) K2 F* V, W/ j& o1 @1 b' N+ M! C
  462. display_errors = On
    2 L7 w/ a* j) q% M, O, f9 a
  463. % N5 Q+ N" a9 Q9 {- V
  464. ; The display of errors which occur during PHP's startup sequence are handled; P, Z, m  `. _7 V) \2 l( p# g
  465. ; separately from display_errors. PHP's default behavior is to suppress those6 y1 v: B/ D3 K  G/ F( O$ m
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ! d" Q. h2 o% d2 T: S/ l0 d
  467. ; debugging configuration problems. We strongly recommend you/ _& m/ |5 t" k
  468. ; set this to 'off' for production servers.( |! u  b" Q. E, Q" ]& E: t
  469. ; Default Value: Off. R: `2 J* [3 x" \
  470. ; Development Value: On
    ; j8 j# L& @9 ]: W( c" d
  471. ; Production Value: Off3 x, f/ v$ |# j: ?/ i$ ?+ a7 r
  472. ; http://php.net/display-startup-errors. K( c0 p% [1 d2 k$ v9 G
  473. display_startup_errors = Off) V; v# I' M' K# B

  474. 1 ~; B$ {; {3 j9 \6 W
  475. ; Besides displaying errors, PHP can also log errors to locations such as a. `6 T) o& s. m( ~2 L8 a( Z# {
  476. ; server-specific log, STDERR, or a location specified by the error_log
    6 D8 c8 I6 T% [+ l
  477. ; directive found below. While errors should not be displayed on productions
    5 T+ r* J. H2 z- }* `
  478. ; servers they should still be monitored and logging is a great way to do that.
    9 l2 b7 k$ K' ^1 u6 j% ?; [
  479. ; Default Value: Off$ m  P5 j+ |6 G& C( v$ m
  480. ; Development Value: On- E2 n; B) l2 k" B- q
  481. ; Production Value: On; x0 n1 N6 Z1 Z2 o, `2 U
  482. ; http://php.net/log-errors
    8 z# {+ e+ N1 i8 A, {2 L
  483. log_errors = On: i2 i  r7 w% P8 P/ O

  484. 4 e8 u: H& f2 A7 D
  485. ; Set maximum length of log_errors. In error_log information about the source is
    1 h9 p/ W- n( L$ E/ N  s/ N) V
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.2 G3 o) G! j! o  V2 T8 m1 [
  487. ; http://php.net/log-errors-max-len% j, e$ ~' |! y6 M1 `2 t
  488. log_errors_max_len = 10245 g# H9 o. L2 P, I# n5 Q4 v1 t

  489. ) z) }! C/ a: O" e1 {
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same1 D! N/ v9 j+ R9 K0 i, ]7 }5 O
  491. ; line unless ignore_repeated_source is set true.
    3 P( ]0 ~6 w' x3 `' @+ W
  492. ; http://php.net/ignore-repeated-errors3 l1 f+ h; y; H% p( B) X& ?. p
  493. ignore_repeated_errors = Off
    & |* @( d% l" t8 |& `8 g5 H0 b

  494. / C" L" h4 V0 t* I0 V6 M' n) u+ l
  495. ; Ignore source of message when ignoring repeated messages. When this setting6 |" M9 R4 ]. w7 R& V
  496. ; is On you will not log errors with repeated messages from different files or
    ) w# F4 b3 F7 T# N( F1 c
  497. ; source lines.5 T+ S3 i. M" E; Z
  498. ; http://php.net/ignore-repeated-source
    6 l/ j9 D. o6 F4 R" C
  499. ignore_repeated_source = Off
    9 X3 G2 u, j; J3 n# s: V$ h" t0 K
  500. ; I6 t4 L. l5 w1 T9 A" R. q
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on/ b% E7 q( I# D* Z4 q5 R; c4 {
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    4 p; y" r% n* G6 I. R
  503. ; error reporting includes E_WARNING in the allowed list; y1 M/ o  @$ Z
  504. ; http://php.net/report-memleaks
    * R' ?- F- F, A* k# j
  505. report_memleaks = On- n% F7 |8 V; G' y6 T" [
  506. , {5 f* {9 A# c4 R$ n! @* t
  507. ; This setting is on by default.: f% @% b( ], H
  508. ;report_zend_debug = 0
    8 Y% i0 ]3 A2 ?( y3 b+ J% T' f
  509. 4 ]+ R4 C/ r* a6 ]$ U' K
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value9 Y  A  t3 |* t3 p5 S, r8 [
  511. ; to On can assist in debugging and is appropriate for development servers. It should) F$ ?. D1 h" g5 D
  512. ; however be disabled on production servers.4 o: q+ T% q& q' j4 l  R
  513. ; Default Value: Off% T" G7 e3 y+ y
  514. ; Development Value: On5 G' C; E- J5 e# L
  515. ; Production Value: Off, ~7 P3 e. F1 h% w1 w) d
  516. ; http://php.net/track-errors
    $ b% x: O/ j2 t" M( y& ?7 E
  517. track_errors = Off
    " r; K8 B& d; Q5 j! b8 u
  518. 9 e1 r2 l% H  m/ o8 L/ W& v; N4 a
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    5 F1 g4 t+ {6 z& J
  520. ; http://php.net/xmlrpc-errors1 m3 C. D' D7 _. ]! C
  521. ;xmlrpc_errors = 0+ [' ^- j  ]- P

  522. / B! E: q. R1 Z
  523. ; An XML-RPC faultCode1 N- m( m3 m) n. @
  524. ;xmlrpc_error_number = 0& o" q2 X7 I  J$ G

  525. 8 e% V4 u' T9 q4 ?5 |# i
  526. ; When PHP displays or logs an error, it has the capability of formatting the0 D' {8 G' \5 }5 m
  527. ; error message as HTML for easier reading. This directive controls whether
    6 B6 z5 V  ~6 m; `. Y
  528. ; the error message is formatted as HTML or not.' |2 P7 B1 c9 n3 `* H# Y$ O' s' {& M/ \
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    / R6 }* }2 D4 B+ S0 r
  530. ; Default Value: On9 @% Y. ~; C2 x+ o2 G2 o- q9 @8 ]
  531. ; Development Value: On
    % z; a( y2 e7 z, d
  532. ; Production value: On; m. ^5 W$ W3 o1 }! D% F6 e" f
  533. ; http://php.net/html-errors
    9 [6 N% O& K& U. G
  534. html_errors = On
    - f- O( \% Z, v: V

  535. . b% H' K; G0 c; B
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP% |9 b1 m2 S% g& u! f* k1 _+ O
  537. ; produces clickable error messages that direct to a page describing the error
    - K9 a, `  j; G
  538. ; or function causing the error in detail.
    0 `9 f# A5 N5 d2 ]$ V1 A
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    % r, e& |. A- H; _5 D
  540. ; and change docref_root to the base URL of your local copy including the) c0 n! R" m, w4 Q4 _9 X& [$ ]
  541. ; leading '/'. You must also specify the file extension being used including1 K- r3 m& `$ U, H% e* Y% o
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    5 v* m' f' X8 I: a) T
  543. ; case no links to documentation are generated.
    0 B8 F# a+ Q! a. ?2 P, ~- `
  544. ; Note: Never use this feature for production boxes." l3 D% ?+ H' h, X( ]4 R
  545. ; http://php.net/docref-root
    . t' G! N8 K+ }9 s
  546. ; Examples# `5 b+ w7 d/ C$ _' c
  547. ;docref_root = "/phpmanual/"1 h( X7 P: J1 c4 C' L7 ~

  548. 0 [5 Y1 d4 p; C: b4 z7 n
  549. ; http://php.net/docref-ext+ _% N: h* i+ J
  550. ;docref_ext = .html( P3 ~3 X, N) L' i3 G3 C
  551. % B; O8 L" A6 a; ~. X
  552. ; String to output before an error message. PHP's default behavior is to leave2 C$ q* O2 |3 q6 U9 F8 M
  553. ; this setting blank.3 `: h4 Q- o# d4 Z
  554. ; http://php.net/error-prepend-string/ ?/ X; @/ Q& d5 B$ }+ O+ L
  555. ; Example:
    * Q+ P2 E5 ?. G4 J  o: W
  556. ;error_prepend_string = "<span style='color: #ff0000'>"$ m) I, I; H( V: ]
  557. . X) T8 Z+ {& \7 S
  558. ; String to output after an error message. PHP's default behavior is to leave& q4 e6 J( }1 z  y. D" B
  559. ; this setting blank.7 n1 Y9 n! ^0 c9 G5 b) p* Q
  560. ; http://php.net/error-append-string; {  `: u" c& r5 K  W  i
  561. ; Example:+ w- i, r% I6 I$ w/ \5 \9 Q
  562. ;error_append_string = "</span>"4 K8 \+ Z9 ?6 {  _: m( i
  563. & b. i# h: k8 ^! @0 S
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
      k' z2 w0 l# j8 P, j8 G
  565. ; empty.
    2 M' v; X6 B9 Q* X8 n$ y# ?- t
  566. ; http://php.net/error-log" m9 l  R( D, S
  567. ; Example:( x* t: `1 q- _6 I6 B0 {# w
  568. ;error_log = php_errors.log6 m1 R5 y7 k0 P, x4 V6 ^
  569. ; Log errors to syslog (Event Log on Windows).. w  @% ]. f# {8 V7 I( k4 u+ z
  570. ;error_log = syslog9 X( A( `. F' D" ~

  571. ; m4 e/ a1 Q: D/ S8 a, s/ ?
  572. ;windows.show_crt_warning8 C* z& [& J- Y# r* A
  573. ; Default value: 0
    % X+ [# c" E& i# n3 }* e
  574. ; Development value: 0
    6 D' f+ Y) O' P* z' \  K, S6 l2 ^5 [
  575. ; Production value: 04 [1 U6 z+ m# k6 F% N

  576. 2 {  O( _4 a! _8 V
  577. ;;;;;;;;;;;;;;;;;
    $ A( P- f; v$ O# s+ o
  578. ; Data Handling ;
    % j' d6 s6 R. x' ~6 V5 o. k
  579. ;;;;;;;;;;;;;;;;;( N" C6 Y7 C3 i, h& x# _2 R4 Z

  580. ) X/ n" S/ K8 N/ f7 T5 j
  581. ; The separator used in PHP generated URLs to separate arguments.7 H0 [3 l* F% }) n
  582. ; PHP's default setting is "&".
      s8 Q# a/ M8 s
  583. ; http://php.net/arg-separator.output; \9 B) Z# g/ M) g5 R
  584. ; Example:
    ) t. J) R% h& V$ T( [
  585. ;arg_separator.output = "&"4 P8 Y: Q5 L0 z" S/ U9 K. Z) L. o& O8 p( h

  586. 2 C; Y6 @4 A& L6 x. C* U7 b7 _
  587. ; List of separator(s) used by PHP to parse input URLs into variables.( P+ `! `* m$ U3 a  {) a
  588. ; PHP's default setting is "&".
    ' N1 Z6 K/ P8 J4 ?+ G$ _7 v
  589. ; NOTE: Every character in this directive is considered as separator!
    4 @' M# p9 e' d* |6 [
  590. ; http://php.net/arg-separator.input+ Z' D3 f# O6 e, m& H
  591. ; Example:
    % r( T% ^+ x0 {: q) x+ p& B7 h# o6 T
  592. ;arg_separator.input = ";&"
    * `5 t7 V- V) [; C

  593.   |: x/ h9 S; ?0 \- G3 |; y
  594. ; This directive determines which super global arrays are registered when PHP( j/ U. W9 l- j- o
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    4 S/ X. P6 q4 `& m( a. ^; p# @" p8 ^
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    7 b2 p/ d: \+ |9 N% z
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    $ K- b9 x7 u) Q/ m/ ?' O: {# K% r5 q
  598. ; used as the others, ENV is not recommended on productions servers. You  v" M" j+ O# x$ r. ^+ I
  599. ; can still get access to the environment variables through getenv() should you. _, X% [. C1 z( W& g5 N- h" U4 O
  600. ; need to.
    & s( A- ^0 |" ^4 c4 {' {6 h
  601. ; Default Value: "EGPCS"9 v8 Y: z" L: R
  602. ; Development Value: "GPCS"
    / f+ w3 M0 w, G3 j/ [7 d9 L$ N
  603. ; Production Value: "GPCS";
    7 U7 u2 j7 X, d' ^9 ?) _3 D$ |
  604. ; http://php.net/variables-order! M* D8 y) j- ]8 X) e6 ~+ M8 P( `3 }$ n
  605. variables_order = "GPCS": @. q/ g  {* ?1 |7 m- j. P

  606. 8 i( X1 d% ]5 F
  607. ; This directive determines which super global data (G,P & C) should be% g! J; ?! O' L7 w
  608. ; registered into the super global array REQUEST. If so, it also determines5 Z: r- B+ e8 {& L4 ^
  609. ; the order in which that data is registered. The values for this directive% C0 I; B: q. O9 U& e6 N
  610. ; are specified in the same manner as the variables_order directive,
    5 I% ^% c$ c% x8 R7 q) A: e
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    8 l8 H0 p% q4 s: y5 W
  612. ; in the variables_order directive. It does not mean it will leave the super' _& S6 w2 q9 Q* i
  613. ; globals array REQUEST empty.
    7 c, w1 e7 a# ]8 \
  614. ; Default Value: None. P, b' \( _. _7 f
  615. ; Development Value: "GP"( s6 W$ s. ?0 L# Y" l0 G6 p
  616. ; Production Value: "GP"
    : m% L! `6 x: m1 h( R) b& a; ]
  617. ; http://php.net/request-order2 t6 x4 n/ b1 Q' H* X
  618. request_order = "GP"4 W& `5 @% T+ o" W5 i  |2 |; Z

  619. " X9 J, f% |' M0 @$ }2 B5 v+ ~2 ^0 k
  620. ; This directive determines whether PHP registers $argv & $argc each time it, L0 F) `4 i# j7 s: A
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    5 m) Z" Z4 f* `3 {* V
  622. ; is invoked. $argc contains an integer representing the number of arguments
    " }9 Y9 a1 h4 ]7 G
  623. ; that were passed when the script was invoked. These arrays are extremely9 i& B) ?/ d& F/ v! _
  624. ; useful when running scripts from the command line. When this directive is7 W! i6 i4 p# ^0 t. d0 f
  625. ; enabled, registering these variables consumes CPU cycles and memory each time- A) G  @8 D9 N2 F8 S7 V2 {
  626. ; a script is executed. For performance reasons, this feature should be disabled0 k( {& x) S: B
  627. ; on production servers.
    + d% @6 F. X* t' K! l1 @
  628. ; Note: This directive is hardcoded to On for the CLI SAPI: G1 Y6 u' o. a3 S8 Q( ~
  629. ; Default Value: On2 O: a( P; M/ q8 J  E
  630. ; Development Value: Off7 i! g3 ]' J& K
  631. ; Production Value: Off
    ; ^2 d) x0 R5 v; w1 M
  632. ; http://php.net/register-argc-argv4 `) x# z9 L# g7 u+ ]9 a# q% l8 r
  633. register_argc_argv = Off
    & u7 m7 w( x2 ~! @6 J# D
  634. ! Y' ]5 y! R( K" l: H& T
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    - L1 z0 l5 u" c: L2 D
  636. ; first used (Just In Time) instead of when the script starts. If these$ W  p5 I* A; G
  637. ; variables are not used within a script, having this directive on will result* g5 J3 I! c- {4 ^
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    9 V' F" n- t) i- j& c$ t
  639. ; for this directive to have any affect.0 l: H1 s% \9 s( k7 `+ [" V
  640. ; http://php.net/auto-globals-jit1 N. u1 M4 P3 ^# A9 h
  641. auto_globals_jit = On
    ( \: L4 x" B' g6 Q4 V
  642. 1 A% Y8 l9 ~& C3 H' R) U
  643. ; Whether PHP will read the POST data.
    9 F+ B9 ~7 t# h; ^
  644. ; This option is enabled by default.
    : y- v$ V9 R4 f
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    + M5 J3 @) C3 q! h0 z
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    " S  F8 u% e* b' y1 G- Z* V. j  I
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    4 `8 J" V- x! W7 o
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.- l( K/ Q' M' N, x
  649. ; http://php.net/enable-post-data-reading
    8 B* u% x& s! G! t0 q
  650. ;enable_post_data_reading = Off
    ( l& `# f$ ]3 [0 A/ Z

  651. , ~1 Q7 D3 m  y! \+ G* u
  652. ; Maximum size of POST data that PHP will accept.) [3 M0 V0 G3 r% R5 g
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading+ Q' G7 s- P$ V+ V: D. Y
  654. ; is disabled through enable_post_data_reading./ k. S; C. X: v. |
  655. ; http://php.net/post-max-size1 m5 I/ R* ~' ~
  656. post_max_size = 50M
    " j6 j: z. {# N7 |( c1 T
  657. 7 o, x0 b0 R5 X9 ~7 c$ m, ?3 F( n* s
  658. ; Automatically add files before PHP document.
    4 D4 \- S  p5 J  ?1 l* W
  659. ; http://php.net/auto-prepend-file
    2 F/ S4 y) K/ t: f8 `( @" w# ]
  660. auto_prepend_file =3 L0 p' |) E3 {% c

  661. / D. d( H# `% y
  662. ; Automatically add files after PHP document.
    # a( w2 t, v8 r' W
  663. ; http://php.net/auto-append-file" \6 P, C7 G, U* Q  l
  664. auto_append_file =
    $ E8 A/ p: q8 g+ ?- Z. v

  665. & ?5 F! H9 j7 f9 @, R0 J/ A
  666. ; By default, PHP will output a media type using the Content-Type header. To" [# L, t1 Z7 x6 G4 D( F; G8 S3 Q
  667. ; disable this, simply set it to be empty.
    * O- \6 w* f6 C1 j& h; u" \
  668. ;
    # ^' q# v# U8 F8 `
  669. ; PHP's built-in default media type is set to text/html.  {- @9 ^( \7 X3 f' L
  670. ; http://php.net/default-mimetype: v/ |0 }9 u8 q
  671. default_mimetype = "text/html"
    ( G: v" k' ?' Q: M  d. m+ |

  672. 2 u; R/ c" O8 ~6 _
  673. ; PHP's default character set is set to UTF-8.1 n. P6 D8 y4 b  ?, ]/ N9 Y
  674. ; http://php.net/default-charset
    - c" P1 U$ m; T
  675. default_charset = "UTF-8"- Z* X; q2 G9 ]

  676. : o/ G; d8 D- f/ I# P; C7 b5 x$ N
  677. ; PHP internal character encoding is set to empty.0 L5 I5 ~4 m: k5 I2 f
  678. ; If empty, default_charset is used.* i' J& g, M; V
  679. ; http://php.net/internal-encoding% F( d. I  V6 z/ J9 g9 p
  680. ;internal_encoding =
    ; N4 i: n0 p- e+ A2 N% P3 I3 }

  681. % G* S0 x' @  C! X
  682. ; PHP input character encoding is set to empty.9 A, L4 g& M' L7 `
  683. ; If empty, default_charset is used.
    3 `' G/ i- S! [/ N( y
  684. ; http://php.net/input-encoding
    0 v7 p3 x' [6 l
  685. ;input_encoding =
    % a( G. v0 `2 Q
  686. 3 X8 Q( N9 V! Y6 y* e) E
  687. ; PHP output character encoding is set to empty.
    9 U" A( x+ Y* F5 d' O; D8 e
  688. ; If empty, default_charset is used.* k) s; @) U# j* |" C! U
  689. ; See also output_buffer.
    ; k$ T* T  m6 \
  690. ; http://php.net/output-encoding
    7 z' B1 J- T" a9 l. D
  691. ;output_encoding =! q& U8 T: M- I% a3 A$ ?+ Y7 w# @

  692. ) }: o1 O$ H# ~: Y+ ~0 W; C- g5 L
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; z5 t1 Q( {+ g( x5 @
  694. ; Paths and Directories ;! J" \. S; U( u3 M$ p, f
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; c+ n- O0 I6 e( k( m

  696. 6 V9 P8 U+ Q2 x
  697. ; UNIX: "/path1:/path2"6 f" _& D  D7 {$ [. G- }+ R# o
  698. ;include_path = ".:/php/includes"2 V7 L6 Q- {5 u  q2 F  y+ J
  699. ;2 Y* z  P, O" u" N
  700. ; Windows: "\path1;\path2"
    2 U: R4 i. _& W# D
  701. ;include_path = ".;c:\php\includes"& x& q# j7 s% Z$ A  z
  702. ;$ |' d6 B# Z+ y# n1 t% {
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear". v; y, x( Y' X; C8 ^2 A
  704. ; http://php.net/include-path
    - ~6 V4 z( |6 _6 S6 ~* L

  705. , N5 ~0 D, `3 A) T5 z
  706. ; The root of the PHP pages, used only if nonempty.
    9 ?$ M; s- W8 t
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    + Q/ x; K. y% \% i( s  f& }2 ]
  708. ; if you are running php as a CGI under any web server (other than IIS)
    1 R* C' R, [* M% |) z
  709. ; see documentation for security issues.  The alternate is to use the  H( u4 U% Z  Z, O7 O
  710. ; cgi.force_redirect configuration below- I* e/ a. K. b; R1 I
  711. ; http://php.net/doc-root% K9 U1 |! d4 R$ L
  712. doc_root =
    2 ^  b- H, P+ V0 P' E$ j- R

  713. . `2 Y! l3 I1 `% e
  714. ; The directory under which PHP opens the script using /~username used only
    . T2 k, {2 R1 u1 q3 x1 Y6 n
  715. ; if nonempty.0 F1 M" h# E. x: |  c8 M
  716. ; http://php.net/user-dir
    5 O; I' D% ~( c' Z4 l% Y3 l& [
  717. user_dir =
    9 D! m" w' I2 o9 o0 s+ T  Q( C. D

  718. 9 Q6 ~) j7 N* e! m5 O
  719. ; Directory in which the loadable extensions (modules) reside.
    $ O, ]  j( R  C: D# I# H$ k% \
  720. ; http://php.net/extension-dir
    + c/ L7 @8 Z8 U
  721. ; extension_dir = "./"
    $ T5 z) c: u' t( T1 q
  722. ; On windows:' ?4 \" t) D( q) M( K
  723. ; extension_dir = "ext"
    " {3 @2 N; L: e% b0 E+ K

  724. 2 w1 l7 P6 ^: L" J0 F
  725. ; Directory where the temporary files should be placed.
    / [; Z! P6 A1 P6 o4 n
  726. ; Defaults to the system default (see sys_get_temp_dir)
    " F( f3 F  m9 [6 _7 p3 M6 p" {
  727. ; sys_temp_dir = "/tmp"
    " y' ?, f4 P# e+ [2 A0 H
  728. 8 z7 A( x2 ]4 l
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    0 Y% H8 o- s1 K' e# E& P2 P
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ! z4 N9 L: u  Y! e
  731. ; disabled on them.
    7 F* ?8 R8 e( s" X; Z% `& G! p( v# P+ ]
  732. ; http://php.net/enable-dl
    * \2 k8 j7 ?* y0 |& h1 x
  733. enable_dl = Off
    4 E! o. t( g) b2 m. B
  734. 8 N7 G; ~- s- o
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    " a9 \( C  f/ R7 y# i
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    + Y: F/ \( f- b+ z$ u2 `6 @6 h3 }% [
  737. ; turn it off here AT YOUR OWN RISK
    % V0 L5 d+ K* [5 T
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**$ Q0 W( D+ o- @5 ?
  739. ; http://php.net/cgi.force-redirect( p1 y4 p3 h2 U' r& X- l% S
  740. ;cgi.force_redirect = 1
    ( k. t  y" v# m" p+ D$ g( M5 E

  741. 2 F& W% [. E- |/ q
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    9 f( e  o6 q& m8 }
  743. ; every request. PHP's default behavior is to disable this feature.
    7 v: A# Q+ }, i0 i! C& k5 l9 M
  744. ;cgi.nph = 1+ ^0 {1 e$ A# ?6 @- o- `
  745. ! A8 |6 w, u7 R' v1 l
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    2 T3 @  L* \/ w0 ?
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP: ?9 i" @* t& Y! Q. @- K! i; H: w
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY; g% D4 I6 e* J8 T- [) t
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    / w7 Y. }$ R6 h
  750. ; http://php.net/cgi.redirect-status-env1 S5 H- E/ [9 v8 X$ ^% B' S) X
  751. ;cgi.redirect_status_env =8 E$ Z  g# |  z% X  G/ a) M# G
  752. 2 N7 s: V" K5 y7 W5 j' ?
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's# s  E  S. g% L- O
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    $ ?; w" [0 G, y
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ( S  C3 P9 D2 `' a! k9 h0 E
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting2 [  u! |# y. r
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts7 ^* a6 v5 ~& e/ j! h- t) p
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.; d( Z, o- S' Y$ U  T
  759. ; http://php.net/cgi.fix-pathinfo7 B+ S" _- S" m, @. q3 ?
  760. cgi.fix_pathinfo=1
    9 ]' ?* \# g+ I3 X7 Z- W0 W, K1 e

  761. 3 w9 g# E+ L8 I& \. f
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside+ M$ i! L7 d% J) |7 ^7 a$ y8 R
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    / d- ^+ [" u  L( m( k, D7 M
  764. ; http://php.net/cgi.dicard-path' t1 g0 p" p+ R% {6 _/ ^
  765. ;cgi.discard_path=1
    * [/ U, }" _  H
  766. . u; w' X: V4 s" q# K9 {0 i
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    , ^+ `9 |5 X( i; G; i9 `  ~+ _
  768. ; security tokens of the calling client.  This allows IIS to define the
    2 S  m3 D/ V/ |; L  E/ L. V
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    2 v- _5 e+ V  N  P
  770. ; does not currently support this feature (03/17/2002)
    + X0 t. A; a4 G3 i/ e0 c6 `# @
  771. ; Set to 1 if running under IIS.  Default is zero.. S3 k7 m1 Y+ n" Y- h! L7 J( m
  772. ; http://php.net/fastcgi.impersonate
    / ]4 G' c; f: V0 f6 O
  773. ;fastcgi.impersonate = 1& d) B5 A7 k8 o! U4 I" F; F
  774. , }( Z4 m: o" |( n. L- E! S5 Q
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable5 |0 |1 I# Z) U, [8 {2 d) y! t: b3 z
  776. ; this feature.
    2 F# |% K  a6 I& p/ N5 l5 r
  777. ;fastcgi.logging = 0
    ! u1 g) a9 R' A

  778. 1 O& M2 r4 J! Q( r6 Q+ k
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    1 b% b& b% L9 X4 T" A7 q0 N
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that" V9 s+ E; W1 F1 A
  781. ; is supported by Apache. When this option is set to 1, PHP will send  A5 `$ [3 P+ Q
  782. ; RFC2616 compliant header.
    ; e8 @' v2 y! {% Z! h
  783. ; Default is zero.5 E9 S2 V) N+ I: J
  784. ; http://php.net/cgi.rfc2616-headers
    # Y5 p) @" n0 O; z3 G( B
  785. ;cgi.rfc2616_headers = 0! g' N2 _. R' w% R" w7 x, u+ O

  786. 2 k' i# D. ]4 Q# O) T
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!0 ?8 M9 c, G5 y
  788. ; (shebang) at the top of the running script. This line might be needed if the! `5 E, H" w& ]4 q' Z6 b8 ~+ Q
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    0 y! p/ _2 x/ W7 V5 r1 G$ n
  790. ; mode skips this line and ignores its content if this directive is turned on.4 o3 A1 k+ p- k9 @% N  K
  791. ; http://php.net/cgi.check-shebang-line& v; v1 b0 `! [( c9 Z$ I
  792. ;cgi.check_shebang_line=1
    1 g6 X! q. q. H7 p5 ^8 ^' k+ A

  793. / C) P5 N9 y) g, j: J2 m  k
  794. ;;;;;;;;;;;;;;;;
    9 W2 i4 N7 F8 W5 C  f  j
  795. ; File Uploads ;
    ; l. C! I- S! |9 a) B+ Q. O8 X
  796. ;;;;;;;;;;;;;;;;  s$ \. c5 {# k* M

  797. " v* X; c; \5 }6 C
  798. ; Whether to allow HTTP file uploads.
    0 H7 p0 r* ~6 P* [  ]) z
  799. ; http://php.net/file-uploads+ l, _; {. N8 c  g7 G
  800. file_uploads = On
    * s: l4 h% j6 v' c% k9 |5 `5 u3 f! S
  801. 3 U5 i& g; r& ^8 G# U9 W; R
  802. ; Temporary directory for HTTP uploaded files (will use system default if not2 m7 z; G$ z: E' j! a( x3 x6 E
  803. ; specified).$ P; R6 u) `- G
  804. ; http://php.net/upload-tmp-dir, @' A7 a# R( O
  805. ;upload_tmp_dir =
    * W- w/ J3 h) A- v% V4 u* S

  806. : a$ L1 k& V7 |9 i
  807. ; Maximum allowed size for uploaded files.) N: Z: M$ n! N+ q% \7 R
  808. ; http://php.net/upload-max-filesize% r  W5 r* M2 x; [' f$ C
  809. upload_max_filesize = 50M( V6 x! q' ^) O' x9 C

  810. & H# [) C9 f. n( l$ O
  811. ; Maximum number of files that can be uploaded via a single request
    9 ~/ n4 v" W, V& p+ [7 E" Y
  812. max_file_uploads = 20
    $ R( n* {7 g7 ~: I2 m2 R
  813. 0 r7 w% T4 p9 R# R' L2 g
  814. ;;;;;;;;;;;;;;;;;;
    9 m1 \3 N# ?$ I3 ]8 i) p
  815. ; Fopen wrappers ;
    9 e& I6 O8 T' F3 y; d# w
  816. ;;;;;;;;;;;;;;;;;;. v' J) s# T+ w. j9 Q
  817. " ^$ i( [/ i1 ~
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.+ Z3 f4 P# \& m! |( ]
  819. ; http://php.net/allow-url-fopen( _5 A9 g6 M. [7 x, b
  820. allow_url_fopen = On
    . ]1 m: n$ i9 X+ ], t

  821. - h' D3 N, f3 Q( F
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.1 q& s' G% C; {4 d2 E
  823. ; http://php.net/allow-url-include- i, p8 i( L, C( i" A. O0 t' y
  824. allow_url_include = Off& f" X+ n. D6 N
  825. & K# v, m" a  X  f
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    7 S4 o: z* @: o. Z3 E. M" F$ I
  827. ; for this is empty.- @* N/ z- i/ L8 b# Z
  828. ; http://php.net/from: t5 k2 a3 k. q# k/ o, I5 W, }$ Y4 l
  829. ;from="john@doe.com"2 B0 F* J7 z" Y8 X# H: @; ?

  830. ; Y" `4 ?" b9 Q1 _5 s7 r" s
  831. ; Define the User-Agent string. PHP's default setting for this is empty.2 {, u; V; |9 E
  832. ; http://php.net/user-agent
    & ?: Q' x) x, q
  833. ;user_agent="PHP"
    $ M% S& A% Q0 e+ A6 i. F

  834. . k) ]; R1 J5 ?: q6 v
  835. ; Default timeout for socket based streams (seconds)5 ^3 W3 B1 w. _7 H. o2 g
  836. ; http://php.net/default-socket-timeout- E$ A" `1 R. V
  837. default_socket_timeout = 60
    # Z9 A2 D. Z/ ~  \
  838.   n/ X+ k' x+ ?& I; D) q
  839. ; If your scripts have to deal with files from Macintosh systems,
    ( M( B4 g! M: e' V# \
  840. ; or you are running on a Mac and need to deal with files from6 x2 `  t) H" ]1 o( X' I. Q% k
  841. ; unix or win32 systems, setting this flag will cause PHP to
    , Y2 F' a/ d5 N" Z; r* o4 t) F& I
  842. ; automatically detect the EOL character in those files so that$ e: L5 y: }, F1 i3 S" u/ S
  843. ; fgets() and file() will work regardless of the source of the file.* K+ N9 |2 M6 f" n6 K/ m/ v
  844. ; http://php.net/auto-detect-line-endings
    , [1 I3 P3 C& [; Y8 j5 |
  845. ;auto_detect_line_endings = Off
    ! _4 Q$ ^: U2 M. J0 f* Q% Y$ o6 G8 y

  846. 4 V) ]- _$ z% F( F& P
  847. ;;;;;;;;;;;;;;;;;;;;;;9 B' |( D4 r2 Z* o- P8 H
  848. ; Dynamic Extensions ;
    , p3 f) n8 @  X  t- j# A
  849. ;;;;;;;;;;;;;;;;;;;;;;
    % A% t5 b2 o9 n' e1 n+ S9 }; ?
  850. 9 ^; w* U# m2 ^" @2 [
  851. ; If you wish to have an extension loaded automatically, use the following* I4 |* Y$ J! ^; w4 k' w
  852. ; syntax:+ I& n( _+ i/ ^! u! A4 N  l
  853. ;
    ) L5 \; t* P& O; q6 g" p/ Z
  854. ;   extension=modulename.extension% ^/ B; N3 L+ E1 w) |. O4 U
  855. ;9 u) w7 }# c" ]6 n2 U7 z* l
  856. ; For example, on Windows:
    1 m1 \+ O' I' Q9 H
  857. ;: y, |5 Q6 [# \$ M
  858. ;   extension=msql.dll# \9 C, J, T: K3 [! |
  859. ;9 J8 {" I! P4 z" P5 z9 k/ e6 W/ `
  860. ; ... or under UNIX:( e3 p9 D8 S/ a- m8 g# x
  861. ;5 a( `4 K) h% J" O; K9 w
  862. ;   extension=msql.so
    0 }( p, Y/ I4 e
  863. ;  _# T$ G3 t) l/ M
  864. ; ... or with a path:) y# Z( {1 U% f( I1 {/ V
  865. ;
    7 _# J1 c- S: y& L8 X1 t
  866. ;   extension=/path/to/extension/msql.so
    * q7 f2 j& ^" e. j
  867. ;
    2 e- i: ~2 e! t: N2 O$ b
  868. ; If you only provide the name of the extension, PHP will look for it in its
    . {& o# D- H( W8 N7 D( g  F8 {7 j
  869. ; default extension directory.
    $ y* s; W1 z; B/ g9 }7 [. E
  870. ;4 K. _2 s9 K( R- k7 {
  871. ; Windows Extensions7 s5 w2 z- R: R, D5 R
  872. ; Note that ODBC support is built in, so no dll is needed for it.5 C* A+ v! Q' o7 ?; D/ `
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    2 z) V3 A9 b( ?. w; t
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).( R1 K2 q5 E# L
  875. ; Be sure to appropriately set the extension_dir directive.3 b1 Z" P/ K3 U4 I& g* C6 |
  876. ;* o) G' E4 H6 o( \3 p4 O( z' N) L/ H
  877. ;extension=php_bz2.dll6 c/ b0 e8 [# O# _( Y3 z
  878. ;extension=php_curl.dll2 ^" h: r3 |* [. \8 s3 M
  879. ;extension=php_fileinfo.dll
    . d0 j6 o: ^9 P+ a, H% ?) y
  880. ;extension=php_ftp.dll
    1 m; K# b* H* f+ ~+ R
  881. ;extension=php_gd2.dll
    9 v9 Q% J5 k, i
  882. ;extension=php_gettext.dll
    ( K; ^3 k0 e7 B
  883. ;extension=php_gmp.dll$ U! M: Z0 M# l- \' t% S; g' ], a: n
  884. ;extension=php_intl.dll/ v; g( z3 t4 x. K% q
  885. ;extension=php_imap.dll6 [4 h* R% S  L3 S
  886. ;extension=php_interbase.dll
    ) O- i. H7 n. }' {& f
  887. ;extension=php_ldap.dll" O/ K+ P4 c3 p& |
  888. ;extension=php_mbstring.dll
    , R* @6 t! q* R5 @- B
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    8 ], m( r: P1 V6 d( d( }4 t1 G8 {
  890. ;extension=php_mysqli.dll
    * e! k- Y  W3 m/ I) e
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ( W, ^: ^0 i2 Q- v# q
  892. ;extension=php_openssl.dll: d1 P  ~  n' r# G6 B
  893. ;extension=php_pdo_firebird.dll7 q, N( ]7 u) F0 M0 `1 v3 G, G# N
  894. ;extension=php_pdo_mysql.dll4 _' j, [. ^" }0 A
  895. ;extension=php_pdo_oci.dll+ I& u( w6 h0 W
  896. ;extension=php_pdo_odbc.dll; u) ^$ o! M5 H1 V; e: ~
  897. ;extension=php_pdo_pgsql.dll1 U, _1 G7 q' v/ O) R- W7 y
  898. ;extension=php_pdo_sqlite.dll
    : e/ L) p& Z$ P/ H- G; [
  899. ;extension=php_pgsql.dll
    # j* b* F. q% K0 c( Z$ a1 K
  900. ;extension=php_shmop.dll! O* H% @5 E  j2 |* z+ y5 a
  901. $ ?: V! e6 X7 j! |3 V
  902. ; The MIBS data available in the PHP distribution must be installed.
    * B  A7 M; s2 U- Q1 N
  903. ; See http://www.php.net/manual/en/snmp.installation.php+ X7 U# u/ \' M3 q
  904. ;extension=php_snmp.dll/ E" l. u+ x9 A4 M
  905. 0 v) z( Z; ~6 t9 K8 S
  906. ;extension=php_soap.dll9 |5 V9 C; Y: P
  907. ;extension=php_sockets.dll/ b  D  U8 s4 u; m- }. ?
  908. ;extension=php_sqlite3.dll
    $ M; _  z- a: B$ G/ Q7 o' p, s
  909. ;extension=php_tidy.dll. O6 y. C8 G, v+ T  K1 h4 C
  910. ;extension=php_xmlrpc.dll
    / s8 U4 {2 v7 f4 B
  911. ;extension=php_xsl.dll! |# ?( R. S- d, `/ S/ ?) m
  912. - N! ?1 f* ~2 l1 K! M6 e: x* K
  913. ;;;;;;;;;;;;;;;;;;;
    7 v0 w& L% g7 o) I5 I
  914. ; Module Settings ;' R! M$ k( m$ S% N$ K0 N
  915. ;;;;;;;;;;;;;;;;;;;; v. g) ^3 O& n; X; {

  916. % C9 j. R1 q* h+ W; V% c
  917. [CLI Server]; n, J) L: s7 x$ ^! K- e7 g; n5 }
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.1 L2 q. f' @5 L) g2 f
  919. cli_server.color = On
    9 F9 i! w- ]$ K1 r1 Z3 J/ u

  920. % g7 u5 |& [# b6 Z9 B/ @
  921. [Date]
    6 ?6 x  |) G. s7 {
  922. ; Defines the default timezone used by the date functions: b7 x0 T, E) A' u
  923. ; http://php.net/date.timezone
    + V) w7 s# S+ \- R6 q: q
  924. date.timezone = PRC9 P4 l& x" H8 t* e6 L4 P2 _

  925. ( f7 A8 X4 u3 i  H, J. t( n) h0 a
  926. ; http://php.net/date.default-latitude
    . z4 Y. j( [4 b( z$ Q9 k8 g# Y
  927. ;date.default_latitude = 31.7667
    3 [, W4 H: C* |% _

  928. 8 z+ U: p9 a) z' e9 L' F
  929. ; http://php.net/date.default-longitude) `# u7 b6 L$ S" e, ~) I3 N% \
  930. ;date.default_longitude = 35.2333
    2 ]8 l: |/ l6 Y; `, L8 X: p# J
  931. . ]8 ^' C/ U' M6 e4 A; _3 u0 ^$ l
  932. ; http://php.net/date.sunrise-zenith
    % y5 q. h5 Z2 V0 q3 B# k+ q
  933. ;date.sunrise_zenith = 90.583333
    / h2 x  W$ Q9 z( }
  934. * e) {# M  w' Q8 [2 g% X; C
  935. ; http://php.net/date.sunset-zenith
    # G9 b( N' k! t
  936. ;date.sunset_zenith = 90.583333( @, \% X% Q, V) Q. L( {1 B7 z! ]

  937.   X& T5 b& o" Q7 c# I+ S! l
  938. [filter]' d1 r# I3 S" G$ Q0 {- h
  939. ; http://php.net/filter.default
    , ?4 r& o& e  C2 j5 z
  940. ;filter.default = unsafe_raw* Q: N6 X% m2 K# W; f

  941. % ?6 R1 ?- q' t! [
  942. ; http://php.net/filter.default-flags
    ' X, o1 [+ `- ?, i
  943. ;filter.default_flags =3 N& S* i$ i1 a! ?3 G& Y) w
  944. 2 j0 ^' W0 \* N
  945. [iconv]. N' g5 Q, C5 p, U
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    * c: R" Y1 o7 v7 Y6 a, j; Z
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
      v) n) g' o' z8 d9 o8 Z' q6 Y
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    6 C2 W5 c/ S5 I1 u7 ]( Q5 [. E
  949. ;iconv.input_encoding =- m+ d6 T" n, D: ~" b
  950. * u* N( L4 b7 A3 b) s' T* x
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.7 W' H& C7 ~3 s9 w* b8 ?( w- v
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.; s' u9 f0 ~7 A% s1 K
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    7 ]: E, @7 i( i" a8 N
  954. ;iconv.internal_encoding =  B9 G6 m( k+ t- Z
  955. ( q+ {* t& ?4 a1 t
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.2 h$ ^# U9 p& c. K
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    4 i; `0 L+ h* t  E- T
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding) a" w0 B1 C6 O- i5 F; u
  959. ; To use an output encoding conversion, iconv's output handler must be set) t  i7 u$ x2 Y. m
  960. ; otherwise output encoding conversion cannot be performed.
    / L" \1 F# u# p
  961. ;iconv.output_encoding =0 i/ ^5 V; d4 b9 G  d7 A: O

  962. ) i$ e5 D( G( J! o
  963. [intl]
    & \; @5 o9 R" {2 V5 t0 q3 n
  964. ;intl.default_locale =; y+ @/ m2 U; f1 e2 I+ n/ X* _. E9 _
  965. ; This directive allows you to produce PHP errors when some error8 J, E3 x1 Z, ~
  966. ; happens within intl functions. The value is the level of the error produced.
    8 ]/ a, i6 `) S- z1 j( V; o
  967. ; Default is 0, which does not produce any errors.& t' H0 A# U) o4 ^0 B+ ~2 A' R; N
  968. ;intl.error_level = E_WARNING
    0 y) G6 f( Z7 f& h2 B
  969. ;intl.use_exceptions = 00 f1 [* p$ D9 j% [: n

  970. 3 q" P& i0 }* l. l9 R9 g5 x
  971. [sqlite3]9 b% C& I, }) J
  972. ;sqlite3.extension_dir =
    & p0 v4 S4 Q2 C8 F, Q
  973. ( Z9 Z& u( H# b$ i' p% h
  974. [Pcre]0 ]- D& r' K* ?3 c+ _7 R6 h8 E$ C
  975. ;PCRE library backtracking limit.0 z' f) _  ]4 ?( n6 P
  976. ; http://php.net/pcre.backtrack-limit. `. e8 a* e$ c) H% l5 v
  977. ;pcre.backtrack_limit=100000
    8 i4 M* s7 N# u# F+ h& C8 l) }

  978. 9 D/ w5 i8 U7 Z" B! L
  979. ;PCRE library recursion limit.) [  C2 M# n/ c6 U
  980. ;Please note that if you set this value to a high number you may consume all
    6 ?+ m' P8 G' j' W; K% r
  981. ;the available process stack and eventually crash PHP (due to reaching the
    8 j; m& m4 z0 u( E9 Z
  982. ;stack size limit imposed by the Operating System).
    - K# x, A$ \% e' s; Q) N; r" _
  983. ; http://php.net/pcre.recursion-limit
    6 U  }( h, w6 [3 Z, r
  984. ;pcre.recursion_limit=100000+ L) _  o% e: h: N; S1 l8 V& q
  985. % T7 A* I" E4 N* T/ a) H5 L
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE" A0 i+ B3 [' @% ]9 J. E1 _
  987. ;library to be compiled with JIT support.+ X4 v( o. H  }: f9 ~
  988. ;pcre.jit=1
    , y4 d8 s8 J  E* f
  989. - x" n" V4 @: g3 y
  990. [Pdo]1 Y# [- u7 k$ i, N$ u, j
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    6 @' |% y; K1 {; d5 S* k1 ~
  992. ; http://php.net/pdo-odbc.connection-pooling6 }( @# L2 x" ]8 {: o' u6 H
  993. ;pdo_odbc.connection_pooling=strict0 m5 `* w- M( r) H1 J4 V

  994. 4 d1 r% Q+ |3 C& h. W
  995. ;pdo_odbc.db2_instance_name# w' ^$ J# O( ~0 _& s0 Y, c  J% o: }

  996. - J/ T; I2 B$ P$ h5 l  M$ B$ h
  997. [Pdo_mysql]" e. ~+ c* M& ?; m% A
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache3 ~5 ]) K7 f+ p0 a# y2 }
  999. ; http://php.net/pdo_mysql.cache_size9 j6 O  ~  {8 h8 t2 V$ g
  1000. pdo_mysql.cache_size = 2000; K  s  s6 J- r# N' s. E6 Q

  1001. ( y, M, S/ S& g/ e' O9 k* a
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in( M+ v8 R% p& r6 C
  1003. ; MySQL defaults.  \$ {- m8 T- q- u! b
  1004. ; http://php.net/pdo_mysql.default-socket
    3 h% |8 Q# s" ~9 D0 e
  1005. pdo_mysql.default_socket=
    7 |/ X# K) z% R$ ^

  1006. ) y) [- L3 y) L9 [
  1007. [Phar]
    * I4 {* d9 y: g! T/ u6 `  z) @
  1008. ; http://php.net/phar.readonly: l1 U* l" s0 d
  1009. ;phar.readonly = On
    & B7 U% ]) l2 ?  F9 o- |1 r* A5 {

  1010. % z- b+ }; o& n4 R
  1011. ; http://php.net/phar.require-hash
    " S; z. i; I# {* O, T, F* k) h
  1012. ;phar.require_hash = On2 J! B% G/ g6 D# d. R& A- M0 \* q" s
  1013. ; D& Z0 s2 ?1 x; a. ]3 a
  1014. ;phar.cache_list =& W' K/ u' v9 O' K

  1015. $ ?9 {4 O4 a& y# _
  1016. [mail function]& \, ^; r" F' m7 C8 c
  1017. ; For Win32 only.
    4 x1 ~5 ?% M1 E- S% h
  1018. ; http://php.net/smtp
    9 Z3 T+ y: T( h, ?
  1019. SMTP = localhost
    2 a# \/ I9 `- q- N
  1020. ; http://php.net/smtp-port5 g$ V* `% _: t; U0 X
  1021. smtp_port = 259 G& B# Y4 F- A; n* K4 V
  1022. ! m6 a! m/ ~# a! w" P3 K2 i
  1023. ; For Win32 only.# T$ k4 x" \, K/ P! l
  1024. ; http://php.net/sendmail-from
    # b' D9 o; l  Y2 b0 F) P
  1025. ;sendmail_from = me@example.com
    ; C/ x7 c# ?0 x0 G4 V5 m3 J  g* @
  1026. / }$ K* O; f& o7 o" R& s) O9 D: F
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").. ^$ ]# ~! y+ k9 A: A8 O  n
  1028. ; http://php.net/sendmail-path
    ) W! v% ?' K, {) p+ {+ D# W
  1029. sendmail_path = /usr/sbin/sendmail -t -i% @6 M' `  r  T. l

  1030. 3 u+ @: J; n" k" Q
  1031. ; Force the addition of the specified parameters to be passed as extra parameters/ [4 o6 b# q$ M4 n
  1032. ; to the sendmail binary. These parameters will always replace the value of$ i8 ?4 J* z% Z) Y
  1033. ; the 5th parameter to mail().8 V8 m4 ^% N) T
  1034. ;mail.force_extra_parameters =9 p+ v9 \' h- |4 E( p' _' s
  1035. 2 ]7 W/ ?/ K$ ~# U
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename, D. K; ?+ C4 H! J6 K: j8 j
  1037. mail.add_x_header = On& k( ?9 P4 t5 e' K0 Y
  1038. 1 I* O( G* Z3 R: S' U9 l
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    4 u# y' O3 e- S5 q, b5 T) c( E+ c' h" X
  1040. ; the full path of the script, line number, To address and headers.! k. s9 H& W) L( S4 h% {2 j' b
  1041. ;mail.log =
    : C; |' s- p6 C$ q) m4 x4 n
  1042. ; Log mail to syslog (Event Log on Windows).
    4 L/ f( l0 ?* H, k: ~
  1043. ;mail.log = syslog+ f/ K5 s" [2 Z
  1044. 4 V( i! z+ B, y) V- M
  1045. [SQL]9 J' L2 i* Y7 L9 w: C
  1046. ; http://php.net/sql.safe-mode
    + X- U- a9 J% ~/ @& t) Y, p
  1047. sql.safe_mode = Off
    & k1 T: i6 L9 L
  1048. # c' g0 g2 r* l: A; t1 o6 ^
  1049. [ODBC]' d; E8 x5 x; d& M
  1050. ; http://php.net/odbc.default-db/ D9 ~! I0 g9 ^) ]- M
  1051. ;odbc.default_db    =  Not yet implemented
    / a% G/ o& u# S

  1052. 3 y/ u6 P/ l" I2 ~6 s
  1053. ; http://php.net/odbc.default-user
    " I* m4 t  v6 h7 L
  1054. ;odbc.default_user  =  Not yet implemented. Q2 e+ ~! o/ k( y7 U1 @# J

  1055. ; k% _2 P& w  o3 S
  1056. ; http://php.net/odbc.default-pw; P4 F9 i0 z$ I9 ]3 s. r- |
  1057. ;odbc.default_pw    =  Not yet implemented% \; d. j! T0 ?  P8 {# u

  1058. & Y9 S; d. P& z+ V. q$ w$ q2 L
  1059. ; Controls the ODBC cursor model.
    2 n9 a* P4 F0 x% Q5 V2 k8 S
  1060. ; Default: SQL_CURSOR_STATIC (default)., M9 i& L* B3 t, p, z7 A
  1061. ;odbc.default_cursortype
    5 S+ i: u7 a1 _2 u

  1062. , K$ q& ~& g& \0 x
  1063. ; Allow or prevent persistent links.' _2 n$ k. k" s0 N4 x4 @
  1064. ; http://php.net/odbc.allow-persistent
    " l% n+ F4 y6 u* a' ~  v' V9 J
  1065. odbc.allow_persistent = On/ W7 U. w1 ?5 j5 o. H. W+ N
  1066. & s8 u$ m1 p; z. `1 g
  1067. ; Check that a connection is still valid before reuse.: c7 c( s6 T, b9 |2 b; V
  1068. ; http://php.net/odbc.check-persistent
    : K, [2 U' @4 A$ X; m
  1069. odbc.check_persistent = On
      w6 {- l' ~7 n" d; F3 R

  1070. 5 x5 E5 E3 D4 l+ R! k
  1071. ; Maximum number of persistent links.  -1 means no limit.. J$ [) e5 X' v& |* h1 o5 K0 G
  1072. ; http://php.net/odbc.max-persistent, g$ A" }6 D+ R8 M: q1 j  u
  1073. odbc.max_persistent = -1
    : W3 C5 k6 a7 I6 @3 e7 j3 x
  1074. % }4 G) P3 C- h
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      d' u* y! U7 M8 K
  1076. ; http://php.net/odbc.max-links
      Q+ r* P% o  M& x
  1077. odbc.max_links = -1: ?+ [; l* S% B! o3 Y: J5 g

  1078. * j# N2 w, r2 C
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means" ^" Y% ?7 Q8 i
  1080. ; passthru.
    3 _$ M8 f- ~3 Q! M; d
  1081. ; http://php.net/odbc.defaultlrl
    6 z$ k& J7 _) {5 c
  1082. odbc.defaultlrl = 40961 O' r) e1 ^( j  A! x% G
  1083. - u* [4 J+ B! j: Z  }) n
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.6 `2 L& `5 ]& ~1 B
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    1 R, K6 a$ L! C7 B, w1 \
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode  l7 Q% h+ A" `( F0 ^
  1087. ; http://php.net/odbc.defaultbinmode
    . U# Z8 ^/ V2 w: t: K, D) D4 r4 R, i
  1088. odbc.defaultbinmode = 1
    ; R6 Q7 f. O: \8 C7 M. a& A! F( T

  1089. & V+ x! a8 E  [+ ~7 m
  1090. ;birdstep.max_links = -1
    ! N% e: x. s' O: K
  1091. " o5 m" u3 K. }9 p- b
  1092. [Interbase]
    / b! B+ a" p; S2 V% W
  1093. ; Allow or prevent persistent links.$ m% X6 v# V2 r( t# Z
  1094. ibase.allow_persistent = 1
    / ^: @8 l6 Y' D: m1 F0 J
  1095. % c# |) A# k/ p
  1096. ; Maximum number of persistent links.  -1 means no limit.8 q* I. m9 c. q  M$ O1 i
  1097. ibase.max_persistent = -1
      ~( m& S; g) T" e, O4 o

  1098. ( z) i7 U) `1 [0 F$ y/ Z6 m
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 s4 _0 o9 f; `5 J; P0 N
  1100. ibase.max_links = -1
    5 V/ E4 @. n) U

  1101. / t" @0 C$ T) ]4 K' `& m
  1102. ; Default database name for ibase_connect().: _$ J" l- a- _7 t( u7 r. F6 b
  1103. ;ibase.default_db =) X2 f. {- r2 w4 Y3 I
  1104. ; K! I8 d2 V0 `1 b8 P/ }
  1105. ; Default username for ibase_connect().
    3 B6 @" ^, {, q/ A
  1106. ;ibase.default_user =
    . c+ I+ K$ Q' r, c) E/ y" p

  1107.   E, g1 r- f' q: M: f- L7 K  {
  1108. ; Default password for ibase_connect().
      f) \0 s) _! K0 z' O
  1109. ;ibase.default_password =
    6 i6 O, [! f5 v0 }. {

  1110. 4 v8 k4 K" O+ z$ X: e0 E
  1111. ; Default charset for ibase_connect().
    ( |) j% w# j7 N3 J6 j+ D. {
  1112. ;ibase.default_charset =0 E1 R# f( |/ G3 G* H
  1113. ) ?, Z% _4 a) v- u5 E: ?) u/ o
  1114. ; Default timestamp format.6 J9 i% q$ D) [. D( e* T
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"/ B! l5 |- M+ F- w( q: c
  1116. ) z8 O6 m9 f# F
  1117. ; Default date format.
    ) Q; q6 P& ~  M6 }
  1118. ibase.dateformat = "%Y-%m-%d"2 K9 J- i3 {0 J) s: n
  1119. ) g" s+ }2 }3 h: W- a* ]2 W% f2 T
  1120. ; Default time format.
    1 K+ g" S8 j7 h7 }4 @/ Y, {
  1121. ibase.timeformat = "%H:%M:%S"$ r2 a6 Q% O6 R7 ^

  1122. ) T" B2 h5 f* s( J* `
  1123. [MySQLi]
    5 |! Z  d+ u9 ?/ P
  1124. 4 i% j0 Y2 e% K4 p. P
  1125. ; Maximum number of persistent links.  -1 means no limit.5 M4 d( A9 W6 |$ Y2 R6 q
  1126. ; http://php.net/mysqli.max-persistent5 }! ?8 {( Y: y  `) A
  1127. mysqli.max_persistent = -1$ b9 ]2 G8 m1 s# r8 |4 x

  1128. * p5 U# k: s4 x0 C* `9 x" ^! \, `  z
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    , s. _! j2 C) B8 G  Q; x  a1 k/ ~
  1130. ; http://php.net/mysqli.allow_local_infile
      _& N# ~3 K6 T8 k( `
  1131. ;mysqli.allow_local_infile = On
    # W. l7 I# n, ~4 [- Q. f' p0 g1 X

  1132. ) P- j+ d, R, p/ _) l5 F# h( \
  1133. ; Allow or prevent persistent links.
    ( M. W" B! v$ K2 h* H
  1134. ; http://php.net/mysqli.allow-persistent# O1 S( Z6 N3 x9 N6 R8 x" }9 T: j
  1135. mysqli.allow_persistent = On: E( x1 I! a* ^% y

  1136. + S  e  Z/ }, P4 v' F. h2 U
  1137. ; Maximum number of links.  -1 means no limit.. Q0 D- F' K- e  Q& b  K6 E! e
  1138. ; http://php.net/mysqli.max-links9 _6 C1 i8 M6 O8 l" d7 S" D% z$ N
  1139. mysqli.max_links = -1
    " P7 @7 Q1 @" I: c9 G: J6 _- ]
  1140. 3 h! ~' o3 \/ z* t  [' K4 U
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    8 W, ?/ D6 M# y! u
  1142. ; http://php.net/mysqli.cache_size) B9 K; Z# F) e3 {) U* }
  1143. mysqli.cache_size = 2000+ \& l9 y7 ^3 z9 a' f* M
  1144. - M( a8 d. V& K: Y! r( u
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use6 r+ n  d- w; o8 @- G) f" y
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    : ?! k+ I) o$ Z
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look% d: B( F, v' J9 g( c1 o, f( E
  1148. ; at MYSQL_PORT.
    9 P0 y* K, B2 I; c
  1149. ; http://php.net/mysqli.default-port
    4 {( e/ C% y/ a, o# M
  1150. mysqli.default_port = 3306
    ; _' _- G8 Q/ U  m$ _) F& v  I0 U

  1151. 5 l1 {, z5 Y/ {: h7 F: i6 K
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in: C; _' r0 g/ p' R1 F: A6 W- ~
  1153. ; MySQL defaults.
    $ G$ C$ U& s% J% T5 ?: s. [! I/ ^
  1154. ; http://php.net/mysqli.default-socket* a! U/ D5 ^- \/ R
  1155. mysqli.default_socket =
      n& ~; G& K. t' a8 L# Y

  1156. 0 l) t& y' Z1 x8 `# \3 c
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    + e+ a5 k0 w2 h, W
  1158. ; http://php.net/mysqli.default-host
    7 f4 P% H' j. E0 a$ Y* ^6 {$ R6 ~
  1159. mysqli.default_host =
    ) |: {$ {0 P: c1 _1 T& m0 c. Q

  1160. : D" m- ]% O- a1 J4 I% v
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).0 _; r# m$ Y# y2 {
  1162. ; http://php.net/mysqli.default-user
    * v5 l5 O$ X) l, k: n; S$ t
  1163. mysqli.default_user =( i8 Y1 @; V- g" x' T6 \" g# z, y5 f
  1164. 5 C1 f* B5 Q  N- b  R; k
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).0 J$ W) t. G) w/ u* {
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    3 L  m0 n* w  A
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    0 S1 F8 b* c6 q, }. n
  1168. ; and reveal this password!  And of course, any users with read access to this
    . q+ q- D: H1 n0 u1 n
  1169. ; file will be able to reveal the password as well.
    " a+ ~) J; \& D  ?. y, b4 N$ S* w" [
  1170. ; http://php.net/mysqli.default-pw
    0 r' a$ z" f" K) u9 j$ r' U0 q1 }
  1171. mysqli.default_pw =( L3 ]8 t+ O8 I, X: H1 \% W
  1172. 9 t4 S* u& i+ Y3 K8 _
  1173. ; Allow or prevent reconnect
    ! c, H" V1 T$ d' T3 @
  1174. mysqli.reconnect = Off
    : O  U5 C# C' |: d

  1175. ; w4 S. i  j1 g2 z, u  @  A
  1176. [mysqlnd]
    ( q5 T/ u/ k8 H
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be. T- A) I8 I4 a% K* g" n$ w
  1178. ; used to tune and monitor MySQL operations.
    , s+ ?2 u2 t' }- o
  1179. ; http://php.net/mysqlnd.collect_statistics
    1 _4 m" E4 @- @+ V+ F% f
  1180. mysqlnd.collect_statistics = On
    $ y$ D2 K: R8 s  ]- C1 B, o
  1181. ' ]6 U* a) k; C* A1 [4 @) [
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be/ V9 {3 q* T3 |, X; Z0 V1 m2 [
  1183. ; used to tune and monitor MySQL operations.% R+ R  _9 |3 N  J. j- ]& L6 D2 o
  1184. ; http://php.net/mysqlnd.collect_memory_statistics6 u! E" ?' W1 ?0 q: x
  1185. mysqlnd.collect_memory_statistics = Off* y8 L( W1 d. I: ]7 I3 W
  1186. 3 f. i! P  j/ [" _
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    5 m6 K0 p/ u4 B1 Z5 `6 H
  1188. ; file.+ E2 G$ l0 j8 ]" B
  1189. ; http://php.net/mysqlnd.debug
    8 R: {( ~7 h  C
  1190. ;mysqlnd.debug =
    9 A0 v. b9 {  B$ C& d6 F7 g* f

  1191. ! L4 ~5 e5 z2 U* i
  1192. ; Defines which queries will be logged.. w* p$ c  [, k9 T
  1193. ; http://php.net/mysqlnd.log_mask
    ' s3 I; `- Z* Q
  1194. ;mysqlnd.log_mask = 05 P3 L- J' U2 z7 m
  1195. 3 y+ I2 X: O& s8 G) k: i2 U
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ' G; u$ r- K$ v
  1197. ; http://php.net/mysqlnd.mempool_default_size' S1 V# x& s" l! {! v, A) P& K
  1198. ;mysqlnd.mempool_default_size = 16000
    : R1 {3 ^& c! N0 Q$ k: h

  1199. ( G! P/ o4 }- k' x- i7 e& k
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    8 }9 }! n, @1 V; v' V9 m
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size% T3 c4 O% ]7 T
  1202. ;mysqlnd.net_cmd_buffer_size = 20482 `( T9 ?! ]/ w- F7 r4 l

  1203. + P1 H" u9 t. I! c- H; A" p  t$ k
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in& G/ a& z" q9 Q0 r4 K' |
  1205. ; bytes.
    8 N8 d- C5 |( x2 _4 ?" g
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
      J! g3 \6 \: P$ a* z
  1207. ;mysqlnd.net_read_buffer_size = 32768# y& j) ]0 o( p6 b4 w% y5 L
  1208. 1 }4 u4 O3 A' P$ K9 w
  1209. ; Timeout for network requests in seconds.. O  V7 J+ d. R2 d! l! Q$ h
  1210. ; http://php.net/mysqlnd.net_read_timeout, h# \; L% d0 t. D7 I
  1211. ;mysqlnd.net_read_timeout = 31536000
    " \& h. w1 v3 s4 M; }# I6 {
  1212. 8 P5 T' R/ T6 d9 g" s0 \1 h+ z- E
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    / k) @6 z1 n" K' u6 b- j$ R! u* p
  1214. ; key.; m; ~- J" A0 S. o, h3 o7 \6 k$ G
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    4 |/ K& y" Q6 P5 j: K% d7 f
  1216. ;mysqlnd.sha256_server_public_key =
    3 V% u& h7 o: A3 l/ I

  1217. + x! D9 h' T$ _0 J0 T2 S( g  w, b( {/ N
  1218. [OCI8]! v. j) V- ~( F* S3 k& ^
  1219. & F+ o& t; P# n7 J
  1220. ; Connection: Enables privileged connections using external
      S* {% d8 x1 l
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    & l. p/ O1 d8 a# ]1 x2 q6 f
  1222. ; http://php.net/oci8.privileged-connect
    + Q" s( V- Y0 @/ ?4 h( W8 S  k
  1223. ;oci8.privileged_connect = Off" }# h5 n$ [# |" z. {3 x8 D; f

  1224. - O! O+ f% k* a4 T' \
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    & [( v' W/ ^8 L2 [0 e* ~- w- r5 l
  1226. ; process. Using -1 means no limit.0 M/ {9 r( `/ ]4 b
  1227. ; http://php.net/oci8.max-persistent+ o$ \8 O7 u# p. B
  1228. ;oci8.max_persistent = -1
    ; Z7 t# M# W9 a- z! s$ |; N9 M

  1229. 3 c' V! ?+ H+ x! ^: z
  1230. ; Connection: The maximum number of seconds a process is allowed to
    - T3 u! R9 C' |) A
  1231. ; maintain an idle persistent connection. Using -1 means idle: h6 l4 V% `5 j* [6 \+ j! s
  1232. ; persistent connections will be maintained forever.
    9 n  ^" n* f" g
  1233. ; http://php.net/oci8.persistent-timeout+ ?3 y$ @2 L0 t: K  T$ V
  1234. ;oci8.persistent_timeout = -11 x* g% F# g% d2 Q

  1235. 5 {2 F+ ^1 J9 ?
  1236. ; Connection: The number of seconds that must pass before issuing a
    0 I' n& C6 c  c6 J9 ]) v) `
  1237. ; ping during oci_pconnect() to check the connection validity. When- h; S8 h6 [+ T$ m* N4 `! Q
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    $ a# b3 Y  I" P& X1 S
  1239. ; pings completely.
    2 U4 c0 T% c4 U8 ?  Z% F  S' N! K
  1240. ; http://php.net/oci8.ping-interval4 l' y3 G. z* C- ^* t& |
  1241. ;oci8.ping_interval = 609 A& ?5 `2 {, _
  1242. , i; o( e( j" W! v
  1243. ; Connection: Set this to a user chosen connection class to be used
    ) |! |3 p. Z3 C7 z4 _
  1244. ; for all pooled server requests with Oracle 11g Database Resident$ U% G! M# B* ^6 Y- ^' `
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    1 G( V, D+ ]; E, {; ^3 {
  1246. ; the same string for all web servers running the same application,
    2 D* k; c2 e. x6 U* u4 ?/ L
  1247. ; the database pool must be configured, and the connection string must! g8 Y" i7 l# ~( `9 V3 F
  1248. ; specify to use a pooled server.
    ) Z) ?. ^# m* l6 V# H0 y7 |3 C
  1249. ;oci8.connection_class =
    ! g# l5 `! x' `$ C1 ~: _6 v* z

  1250. ' ~. r8 X: D$ w0 C+ w: z2 E
  1251. ; High Availability: Using On lets PHP receive Fast Application
    ) _) R5 H" c& R% J# c8 P
  1252. ; Notification (FAN) events generated when a database node fails. The
    7 b' \+ u' f/ @: h" A
  1253. ; database must also be configured to post FAN events.
    - j8 {* M! F+ A3 B4 O4 L( m
  1254. ;oci8.events = Off
    ) B' z* o7 R  U: B8 ~( v6 V  k
  1255. 0 ~* i, }" [0 P( K3 N
  1256. ; Tuning: This option enables statement caching, and specifies how( ~% J" `5 ]* ^! ^+ ]! a
  1257. ; many statements to cache. Using 0 disables statement caching.
    ! I8 B5 o, R4 Y+ p
  1258. ; http://php.net/oci8.statement-cache-size
    1 U) r7 o# R2 B  l
  1259. ;oci8.statement_cache_size = 208 w' R/ y  ?4 G8 e/ _; `3 x8 F" T

  1260. 8 p6 y  `: x6 Q* I) O0 S, H- e
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    5 k7 h: p5 V6 F" \! [& G/ ?( N. v- s
  1262. ; rows that will be fetched automatically after statement execution.
    0 m$ u  J$ M, t3 j' c
  1263. ; http://php.net/oci8.default-prefetch5 j! F' q! Y, w5 z* ?- Q
  1264. ;oci8.default_prefetch = 100
    ' R0 G  d- A  F' a" V& n6 _5 W

  1265. ; M9 B( P$ X5 u; Z+ r  \" H
  1266. ; Compatibility. Using On means oci_close() will not close1 I" O9 q1 {" ~+ H2 A) b
  1267. ; oci_connect() and oci_new_connect() connections.
    * c- m. O6 U( M0 G4 j, r6 n
  1268. ; http://php.net/oci8.old-oci-close-semantics; A5 V0 i, W2 f% T3 C4 s
  1269. ;oci8.old_oci_close_semantics = Off
    2 G. n' Q, z+ r- Z4 i
  1270. , \2 W6 \" n1 j% j
  1271. [PostgreSQL]
    & V; C  O* q7 i) a
  1272. ; Allow or prevent persistent links.& I+ D2 a, V9 Q6 }) |2 f+ F
  1273. ; http://php.net/pgsql.allow-persistent# x; y' ~& I2 r$ `2 K
  1274. pgsql.allow_persistent = On7 l- t) S0 ?3 G0 `
  1275. . |$ H% c/ I( N- f: i/ Z
  1276. ; Detect broken persistent links always with pg_pconnect().
    # n7 v; n0 I" k
  1277. ; Auto reset feature requires a little overheads.
    3 B& M" f9 f/ }4 G0 E
  1278. ; http://php.net/pgsql.auto-reset-persistent+ x% k) n* K2 _: k: [  k4 A2 E
  1279. pgsql.auto_reset_persistent = Off
    5 L" w7 E6 I# ^; X! _

  1280. 2 ], Y; m: e# T& p
  1281. ; Maximum number of persistent links.  -1 means no limit.& k# _4 M$ f: C) j( C2 L
  1282. ; http://php.net/pgsql.max-persistent. Z3 k/ O' s' p
  1283. pgsql.max_persistent = -1
    # q4 g. L4 Y2 F5 f8 C7 _/ W

  1284. ' ^  C6 [, w5 e8 g
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    , }8 ~! }: V/ ^' B- [& w# B1 Z' G
  1286. ; http://php.net/pgsql.max-links" |/ o+ r( b( @" I9 L
  1287. pgsql.max_links = -1' s7 z+ g& o. c
  1288.   Q2 S# S; x, b, V1 H: [
  1289. ; Ignore PostgreSQL backends Notice message or not., W% _, ?" M1 i! I4 \# @
  1290. ; Notice message logging require a little overheads.& o  D- K- I& k0 e# U- S4 x
  1291. ; http://php.net/pgsql.ignore-notice! [9 l! @2 Y" s# t
  1292. pgsql.ignore_notice = 0
    + [% i! U: r1 o: U& y
  1293. 2 X! `1 _: i  z+ l* t
  1294. ; Log PostgreSQL backends Notice message or not.
    7 o: m  d% t1 y& F
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ) _# d/ R" @" O# c7 W3 U8 {
  1296. ; http://php.net/pgsql.log-notice- Q1 z5 _: x1 x, c$ q9 Y5 r- ]
  1297. pgsql.log_notice = 0" `! |# N4 v; z  P

  1298. , n+ O; l% q* w; C
  1299. [bcmath]  q5 l8 Q  i$ m0 l
  1300. ; Number of decimal digits for all bcmath functions.
    $ k9 {+ ?  Y/ K/ A
  1301. ; http://php.net/bcmath.scale
    6 ]! s* H! N6 ^: g& @
  1302. bcmath.scale = 07 j" @8 K! V0 o: @: h0 p3 ]

  1303. 0 F, s+ S) N8 m( Q% C0 Q
  1304. [browscap]
    # F* q: E" F$ i- k& E# l  D  C
  1305. ; http://php.net/browscap
    ' e9 P+ I7 [( ?
  1306. ;browscap = extra/browscap.ini7 i* M/ R6 K/ e1 T$ v5 d1 n
  1307. $ \5 h( a% X7 i0 Z
  1308. [Session]
    / c! y4 A; x. a& R' }; d6 @
  1309. ; Handler used to store/retrieve data.( ]" M8 ]4 i- e3 ^6 R) W
  1310. ; http://php.net/session.save-handler: g% h; Q% _7 \0 Z5 V
  1311. session.save_handler = files) D# Q7 ?* U. C$ Z

  1312. 8 L: }3 i* t, T; X- h8 b/ j+ u
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    0 h6 W8 D/ m' Z, f
  1314. ; where data files are stored. Note: Windows users have to change this0 S& i# e: Y  v4 M+ ?! ]0 g9 C0 W9 b
  1315. ; variable in order to use PHP's session functions.
    / W" `. v7 h0 Q* Y- T4 X  s
  1316. ;
    0 S* V$ N( k2 ^: N4 [* S
  1317. ; The path can be defined as:* U  c* a, m" R
  1318. ;
    " [. H0 z9 m$ I+ V
  1319. ;     session.save_path = "N;/path"8 [; Z! R2 d! y- ?  k; a; z
  1320. ;
    # b- I4 _* s1 c1 n8 k( C
  1321. ; where N is an integer.  Instead of storing all the session files in+ l* m( \: A7 w5 f/ J1 i9 A
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
      w, \+ W: ?7 T8 `
  1323. ; store the session data in those directories.  This is useful if
    % ^# L$ ~) ]$ d. N% [; I
  1324. ; your OS has problems with many files in one directory, and is
    - D+ p% v" @7 G$ Z
  1325. ; a more efficient layout for servers that handle many sessions.- P9 A+ o  w6 ?, H
  1326. ;/ @, b% [3 R7 ~
  1327. ; NOTE 1: PHP will not create this directory structure automatically.' p; H! z* {2 N3 h0 J+ e3 [) V
  1328. ;         You can use the script in the ext/session dir for that purpose.
    2 l! z2 H" J* X0 u
  1329. ; NOTE 2: See the section on garbage collection below if you choose to9 f' a" i( e9 r7 q, L
  1330. ;         use subdirectories for session storage1 U# i/ Z  E4 O6 ]. N
  1331. ;
    9 K& R4 ]$ a  N7 M+ O# q, ~5 ^
  1332. ; The file storage module creates files using mode 600 by default.
    / T0 x, O+ ]% v! l' {6 @2 O# k
  1333. ; You can change that by using
    9 Z+ i: W1 ~6 R9 ]
  1334. ;7 v0 w" d* E# R! ~1 f
  1335. ;     session.save_path = "N;MODE;/path"- {1 X8 [: |* @% k  T) ]
  1336. ;
    % @4 Q" P5 J* I$ y" d; N2 ]4 b; A  A
  1337. ; where MODE is the octal representation of the mode. Note that this5 S, o8 \' c/ h# K. o
  1338. ; does not overwrite the process's umask.' j+ {0 k. b9 ~/ F
  1339. ; http://php.net/session.save-path
    1 @$ Y- n7 @9 B, Z) I" g$ K; ^
  1340. ;session.save_path = "/tmp"2 D/ q" I- D3 G1 G& {

  1341. ( h  K4 Q( U  @+ m9 t* I2 g2 ~9 R
  1342. ; Whether to use strict session mode.
    ! \5 ?* ?" S2 r  f8 B$ A0 h
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    % Y4 _8 v; \5 W2 r- }2 [
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects$ E, }0 q3 d( w6 N- Y* b0 `
  1345. ; applications from session fixation via session adoption vulnerability. It is
    ' W, n8 a  C) g1 I5 c# f9 e
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.0 L+ U8 z2 y: V1 V/ d  C$ z4 D: |
  1347. ; https://wiki.php.net/rfc/strict_sessions
    4 A, g1 _/ {- C2 E8 U. u3 u
  1348. session.use_strict_mode = 0$ V) m+ z& D# Y8 |. w; o

  1349. * T9 V1 G$ w- F! C2 u  K
  1350. ; Whether to use cookies.5 n, \$ o7 |; b
  1351. ; http://php.net/session.use-cookies& T) G0 C$ p8 u* @, z2 Z/ J9 I% T% q/ P
  1352. session.use_cookies = 1
    " y/ K# ?2 z1 P: @& t/ d

  1353.   L( o; r, r4 ^; j- ]/ q8 {( `
  1354. ; http://php.net/session.cookie-secure4 P$ [$ c4 R: Q5 G7 I7 ^$ r0 n
  1355. ;session.cookie_secure =8 G0 J, H  M# g& I' K2 m
  1356.   Q" Z+ q; b+ M1 s" d
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    $ a: a% [6 [4 g9 p0 h9 Q! [+ u- r- ~
  1358. ; the session id. We encourage this operation as it's very helpful in combating4 Z; P1 J' B2 G- i4 S) i% c
  1359. ; session hijacking when not specifying and managing your own session id. It is
    # A  Z! A8 h5 D9 N8 H
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    7 J; F; N- J' [3 q" y- [
  1361. ; http://php.net/session.use-only-cookies  C) U. E- ^6 w2 ~& g0 N
  1362. session.use_only_cookies = 1
    8 R$ b" K' v. t" r! a1 A8 M6 E6 u

  1363. 9 C1 B/ z2 e0 D" ?
  1364. ; Name of the session (used as cookie name).
    - E  u1 k, b& U9 p0 T& a( C# h
  1365. ; http://php.net/session.name
    3 w) n( @) b" D8 I4 D5 Q
  1366. session.name = PHPSESSID
    9 l9 T5 x. p% |$ C/ P0 ~0 i- X
  1367. ( _9 g- ~5 O( x$ `7 l
  1368. ; Initialize session on request startup.
    8 b# S# E. F- ?' e
  1369. ; http://php.net/session.auto-start/ N! k/ s6 n! L6 i7 z2 V* m' w
  1370. session.auto_start = 0
    : c" V" w. Y6 f7 v5 {1 r

  1371. 6 D! S4 b. P2 P5 c% ?
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.' k, G+ ~5 h, Y
  1373. ; http://php.net/session.cookie-lifetime+ {2 d; J+ Q7 v8 i( J- R7 @
  1374. session.cookie_lifetime = 0
    % Y& l9 x$ ^5 s3 t+ ~0 K% j& Y

  1375. , T3 s( u. r8 L8 i) r) _
  1376. ; The path for which the cookie is valid.4 s# h; V* E8 ]: _* M7 k: h, G; t
  1377. ; http://php.net/session.cookie-path8 ?7 j* q) Q8 H
  1378. session.cookie_path = /
    : D. W& Z/ [6 E3 h# k
  1379. ! p$ N: D4 x" a' u, n( |8 V
  1380. ; The domain for which the cookie is valid.
    0 L6 Q9 a  V' B8 e+ W3 j0 D$ I
  1381. ; http://php.net/session.cookie-domain
    " g5 q5 U  \8 M& c7 ?; Y' @, h' P
  1382. session.cookie_domain =
    9 Y- ]- W2 e; g! W! z

  1383. , E9 t2 |6 `. |9 H6 w* g
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ' h' z% D4 v, ~! I: K0 i
  1385. ; http://php.net/session.cookie-httponly' J1 l0 z4 @* K$ B6 I. Y/ O
  1386. session.cookie_httponly =
    4 |: l6 J  W9 t( J% j& v
  1387. - u5 p1 x1 Y# u8 ^8 T+ y! i
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.3 J( B6 {- c: c" O4 I2 x
  1389. ; http://php.net/session.serialize-handler
    7 }6 L, Q+ w  ~! J
  1390. session.serialize_handler = php
    : Q: v. J  }. y$ ^" ]" l

  1391. . S" O4 Q) s1 E. k3 k9 f. n! G: g
  1392. ; Defines the probability that the 'garbage collection' process is started1 p1 y6 w. N: L8 Y5 v
  1393. ; on every session initialization. The probability is calculated by using
    4 y' o2 D7 J& C! G, U) Y
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator7 p/ [0 {$ V/ L7 a/ i! X0 O7 r! ^; W
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ! T& }, |2 M) T6 @2 n* t
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    : U  C/ m% \5 {% J
  1397. ; the gc will run on any give request.4 X4 A  M& S5 T3 X. v3 a
  1398. ; Default Value: 1
    ; J$ m. R2 r8 n3 R7 z& L* D
  1399. ; Development Value: 1+ }: ~; D8 A# H0 g6 m$ e6 V6 ~" E
  1400. ; Production Value: 10 o& J# d1 e0 Q; K1 J' o: _! k3 R
  1401. ; http://php.net/session.gc-probability3 w7 Y: C* o; ]" B  F. X& l
  1402. session.gc_probability = 1
    9 x6 _8 _7 h$ M8 ]. B- E

  1403. 2 w" z) F( Q8 c; g7 n: F
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    & `" R8 l; F7 g! N
  1405. ; session initialization. The probability is calculated by using the following equation:. [( r" o& s  M1 w# D0 k1 t  ^
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    5 l: b7 \0 U$ {- t
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    / W$ d3 m; L4 |, c. h
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    % W. T# v8 \# X2 N% b; t- I
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ' }# B7 h$ @6 G- U
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,; G$ K% J- R! K/ e9 g
  1411. ; this is a more efficient approach.9 @, L4 U6 m! T4 ~  e2 F7 N
  1412. ; Default Value: 100
    . l5 i3 j- U1 Q! c: h7 u6 E2 n
  1413. ; Development Value: 1000( X$ U; y$ n( Q: v" `4 V) b
  1414. ; Production Value: 1000
    : }9 F0 [4 N. B+ N, c2 N6 I+ V
  1415. ; http://php.net/session.gc-divisor; J' y+ t1 G* n
  1416. session.gc_divisor = 1000
    , Y  y. ]# o/ b- }4 V* R

  1417.   E) ]1 ]. \* t0 _7 M0 [4 k6 f
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and0 c5 b- t1 S. F0 [3 s4 }
  1419. ; cleaned up by the garbage collection process.
    " }6 X, J6 _5 W- K" N
  1420. ; http://php.net/session.gc-maxlifetime
    / C; F: f- h0 p2 E) I* k4 d7 A  a
  1421. session.gc_maxlifetime = 1440
    % ]2 X* l# d2 X$ N  ]+ D" g
  1422. ) f8 l7 L; W3 \
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    1 S% u& {( c% L7 I4 k/ i
  1424. ;       (see session.save_path above), then garbage collection does *not*- E0 P% F. Z0 i5 J% a
  1425. ;       happen automatically.  You will need to do your own garbage% `: z: {# }5 Y
  1426. ;       collection through a shell script, cron entry, or some other method.
    0 e1 E' h7 H0 `+ I! L/ R$ S
  1427. ;       For example, the following script would is the equivalent of$ ?3 Z) i# x% L! }
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):  K+ I/ P; ?: T4 F* b% O. |- ]
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    4 p) F2 D. A0 m; O# d! I* q; J$ R

  1430. + p0 A1 Y: s- i( k% `
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.6 n# y. m+ Z1 W5 W
  1432. ; HTTP_REFERER has to contain this substring for the session to be9 R) Q7 Z. V% g/ W
  1433. ; considered as valid.
    0 d2 T: y/ I8 E( s! R) }8 R  ~" I% }
  1434. ; http://php.net/session.referer-check
    / V7 q, ~9 @, ]& d/ Q* e2 U2 v
  1435. session.referer_check =
    / \0 d4 H- W$ F
  1436. , q, O$ j  |, |3 T$ }8 e( Z
  1437. ; How many bytes to read from the file.3 b  Q" }$ X" _
  1438. ; http://php.net/session.entropy-length
    " H7 A+ r6 \) y5 M7 P) z; _
  1439. ;session.entropy_length = 32
    3 N3 N$ t( u+ s
  1440. 9 ~9 n1 z& }5 m2 j
  1441. ; Specified here to create the session id.' ~8 {4 g. I+ w3 n! V9 O* z
  1442. ; http://php.net/session.entropy-file
    ( ~& q, _# R3 m2 _% Q4 D
  1443. ; Defaults to /dev/urandom  x: @( t# Y4 D# i
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ( I& s# J( ^1 H3 ~7 }  [7 A( |- f7 [
  1445. ; If neither are found at compile time, the default is no entropy file.
    # x1 }/ P3 u; C* I$ u% C
  1446. ; On windows, setting the entropy_length setting will activate the
    5 k' _* b' H6 w* B! M- l
  1447. ; Windows random source (using the CryptoAPI)! l+ M5 Q3 u* c$ Q6 h! F2 s) Y0 R, N
  1448. ;session.entropy_file = /dev/urandom
    ( I; [' c9 v- ^: S  _; m+ y2 w5 w
  1449. $ T0 G- D! Z( @- I, r2 e2 h. m
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects" o% U4 n) ~* Y/ M4 u8 f  P  w
  1451. ; or leave this empty to avoid sending anti-caching headers.
      p( S! L# @" J/ e0 g
  1452. ; http://php.net/session.cache-limiter* C: a3 C& N" T, y
  1453. session.cache_limiter = nocache3 _9 _- {9 F1 ?  E
  1454. 0 R% p; b" \) X5 A9 l
  1455. ; Document expires after n minutes.8 N2 y( \, M5 L1 e
  1456. ; http://php.net/session.cache-expire+ n3 o* k9 ]  u7 @5 B
  1457. session.cache_expire = 180% h" K' _* Z# _& K& m+ h7 {
  1458. / C' o& t. S% Q* h- a
  1459. ; trans sid support is disabled by default.! _7 {  X" [6 D9 a" |2 l
  1460. ; Use of trans sid may risk your users' security.
    ; F- [- D/ L6 `# V& f
  1461. ; Use this option with caution.% q% T2 f, d& r/ S+ _
  1462. ; - User may send URL contains active session ID
    / o0 X! A5 r/ E8 |4 v4 g. q
  1463. ;   to other person via. email/irc/etc.
    ! w  M3 M) G1 T2 ^) c3 F9 [
  1464. ; - URL that contains active session ID may be stored0 P9 G$ @: F2 E# S
  1465. ;   in publicly accessible computer.
    " P+ V0 Z; w/ M7 a/ X2 F
  1466. ; - User may access your site with the same session ID( B8 O0 b# I4 Y; ]# Y) t
  1467. ;   always using URL stored in browser's history or bookmarks.  r, A, J1 B' \& l
  1468. ; http://php.net/session.use-trans-sid
    : K, T6 ~; d) r) y9 x" r1 J7 _
  1469. session.use_trans_sid = 0
    + W8 U- G2 Z7 R$ t" T

  1470. & \5 t8 {7 j( A9 z
  1471. ; Select a hash function for use in generating session ids.
    * }% l1 g' f: o5 g, v: C7 }
  1472. ; Possible Values
    ; S( S3 N4 ^% A( r; s
  1473. ;   0  (MD5 128 bits)
    / V% Q  A' o+ X! x# r& [) P
  1474. ;   1  (SHA-1 160 bits)3 |9 `& Y4 t( ]6 N
  1475. ; This option may also be set to the name of any hash function supported by
    6 F: c2 ~: b( @5 g9 ?* ^7 G
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ; |" ^" M; A9 Y5 S
  1477. ; function.- e% T0 N/ _% A1 H1 a
  1478. ; http://php.net/session.hash-function
    # q1 ^* p9 |+ w( K
  1479. session.hash_function = 0+ ?" _0 c  _  v3 j

  1480. 5 `7 A$ }. p* c: X8 ~
  1481. ; Define how many bits are stored in each character when converting
      H8 s% x- r9 T
  1482. ; the binary hash data to something readable.
    & }4 n5 r& `  p) V" t6 D+ c
  1483. ; Possible values:
    ; s) g* \1 G5 R/ s: E
  1484. ;   4  (4 bits: 0-9, a-f)" e% s% ]6 q& E5 I" K
  1485. ;   5  (5 bits: 0-9, a-v)6 B) v! z+ s0 }* B! T
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    + E9 I- L3 `1 N8 D; T. k
  1487. ; Default Value: 4
    & Z) E1 [9 M( ?! f( y
  1488. ; Development Value: 5
    5 {" `- y. Z" \" s2 G! {; l
  1489. ; Production Value: 5
    # X$ T6 [: ]# E: F; \
  1490. ; http://php.net/session.hash-bits-per-character
    : E/ c, [' E7 z! J. ^
  1491. session.hash_bits_per_character = 5! U1 {9 T% N. J- Q1 |" Z& _$ W" n. @

  1492. . W$ B) ]' X& N; H5 i" }0 u: \
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
      K" f6 v- v$ j1 _, U. U2 W
  1494. ; form/fieldset are special; if you include them here, the rewriter will9 q2 N& o7 F/ `. e
  1495. ; add a hidden <input> field with the info which is otherwise appended! O7 y& M& s* t' d  [% J3 p
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ! u9 H$ b6 Y8 P5 @
  1497. ; Note that all valid entries require a "=", even if no value follows.7 J/ u* m* J- |* |4 J$ ~! o) W
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    0 D( P. I! Y/ Y" c
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; U4 a# v3 V4 L
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry". ^8 J% U) j& m" E* z
  1501. ; http://php.net/url-rewriter.tags- ]% _- P% J( p5 C0 B
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"& l6 K0 r% K3 L/ L
  1503. 8 H: Y" t1 m/ z: v
  1504. ; Enable upload progress tracking in $_SESSION
    & E  |5 \1 @4 q
  1505. ; Default Value: On  g/ S: _0 V: ?' y4 {  d
  1506. ; Development Value: On( L) s. A( d% h  |( N
  1507. ; Production Value: On
    # u9 v- M+ u4 o
  1508. ; http://php.net/session.upload-progress.enabled
    1 K; U8 F: `, {2 `
  1509. ;session.upload_progress.enabled = On+ ^& v) f1 W. R% T9 I9 i
  1510. ( [, |' }% W8 o# i% D2 ]
  1511. ; Cleanup the progress information as soon as all POST data has been read
    2 }1 T; m$ M3 v6 t
  1512. ; (i.e. upload completed).
    4 Z0 e0 q. _& c
  1513. ; Default Value: On
    , W: h- Q7 @; E. o( y8 h
  1514. ; Development Value: On  H) ^0 V. I5 \9 B3 S- t, f& n
  1515. ; Production Value: On
    ( q& T# t5 N2 E
  1516. ; http://php.net/session.upload-progress.cleanup
    : }& r' @. S! [: C9 z% b. Q
  1517. ;session.upload_progress.cleanup = On/ ]5 r& O: v5 \* A6 s( b

  1518. . Q0 A( O# [, x& w+ d, F
  1519. ; A prefix used for the upload progress key in $_SESSION5 W5 N9 J) G: m: H, s+ g2 m9 e/ P
  1520. ; Default Value: "upload_progress_"
    # y0 A+ S2 l( E& j3 j  o0 n8 f6 T
  1521. ; Development Value: "upload_progress_"7 `9 o  |8 h, O5 Q6 W0 ^/ u1 w
  1522. ; Production Value: "upload_progress_"' ^5 t% n1 o! i, X
  1523. ; http://php.net/session.upload-progress.prefix
    : Q* L$ |4 H0 P: M, V3 g7 j
  1524. ;session.upload_progress.prefix = "upload_progress_"" ^7 b1 O5 p0 X, h
  1525. ( ]. D2 C* ^  q1 g. G% ]+ g  m% O
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ( h7 I: T8 a! ?
  1527. ; containing the upload progress information
    ( _% G, x: ]; M+ S
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"4 K% v* z; P- y9 x! a
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 c" U( q+ o/ q; y& Y8 f& g6 g
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"( l3 x' f/ k/ n) ?4 J
  1531. ; http://php.net/session.upload-progress.name. y) B: `4 Q5 i( }8 Q8 U+ A
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    " c: j; U5 B( d9 m: M6 N. \

  1533. ( c! |; n8 x8 D/ m
  1534. ; How frequently the upload progress should be updated.8 _4 z2 |& ]+ I+ k, L7 [6 w
  1535. ; Given either in percentages (per-file), or in bytes
    ; I6 x; Z2 W' o* @1 e- ~) @
  1536. ; Default Value: "1%"% b9 c" r7 h& @& V* b( C
  1537. ; Development Value: "1%"
    ! J1 I3 j# i" B6 ~6 j" y- A& l
  1538. ; Production Value: "1%"* ~1 J" i& U  l
  1539. ; http://php.net/session.upload-progress.freq6 t; k1 V5 j; U
  1540. ;session.upload_progress.freq =  "1%"
    7 ^- B# s2 }3 S2 u% i+ e

  1541. % v( R1 _7 i$ B1 M8 h8 ?% K& `
  1542. ; The minimum delay between updates, in seconds
    3 I! b$ c- b8 \- m  O
  1543. ; Default Value: 15 ~( ]$ `- p; v: i( q! Q
  1544. ; Development Value: 1
    8 i& L2 y2 O1 L2 a/ N3 O1 m
  1545. ; Production Value: 1
    $ `# Z0 f; |# p. Y
  1546. ; http://php.net/session.upload-progress.min-freq2 O. D# m% }5 n) _& {3 i7 J
  1547. ;session.upload_progress.min_freq = "1"0 w  w* o4 Y" T5 K3 \

  1548. & ^$ x5 g; z1 ~' V$ x# Z/ S' F
  1549. ; Only write session data when session data is changed. Enabled by default.
    ) }0 F. e! V5 R" O5 M# k6 b( H
  1550. ; http://php.net/session.lazy-write5 F; D0 m2 B5 H3 y8 P  ?
  1551. ;session.lazy_write = On
    & C( ]6 Y8 u+ q) f  m9 x1 E, Y
  1552. ) D8 O) d) a* L4 X7 M- i
  1553. [Assertion]- n0 T; D/ M$ C, [+ t
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)7 f+ P% }. k  g: }8 M
  1555. ; -1: Do not compile at all
    % V) d4 @, @4 h' Z
  1556. ;  0: Jump over assertion at run-time1 I+ `, @$ c; s) D8 B; V" y
  1557. ;  1: Execute assertions. V! L" {. O3 L( _( R  d! F
  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)4 t/ F6 v, P2 Q/ `4 B0 J$ y4 j
  1559. ; Default Value: 1
    + J4 o  h, |1 W0 `) C& e, k; r
  1560. ; Development Value: 14 h$ E- N9 @; O; Y+ v: v
  1561. ; Production Value: -1
    - C! Y. U' t8 w3 `& B
  1562. ; http://php.net/zend.assertions- v% n2 A8 s% T* z2 Z
  1563. zend.assertions = -1
    ( N# X* Z) ?6 r; Q
  1564.   K6 L+ k7 X5 D3 L4 A$ L
  1565. ; Assert(expr); active by default.3 X4 q' F' j2 ~7 B1 @2 U
  1566. ; http://php.net/assert.active
    / H2 w/ S; j. U/ I. H1 }$ @
  1567. ;assert.active = On8 p* b/ b( [; N2 J: y

  1568. 1 ?  F: g" ?. \* U/ ~& X
  1569. ; Throw an AssertationException on failed assertions0 }1 P  L5 I3 [" ]
  1570. ; http://php.net/assert.exception
    7 S( k0 o8 G0 i0 L6 Q7 f
  1571. ;assert.exception = On$ R8 q% B9 }; V9 U  p* ^" ~
  1572. % b' r3 q0 S/ d
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)/ p7 C) K. r- ]5 X) Y& I
  1574. ; http://php.net/assert.warning
    ) D! H# r# I2 C/ N% {& x
  1575. ;assert.warning = On
    6 l# C- w9 v- D" x) z1 Y5 K
  1576. 3 u1 f4 _" b6 o% d! Q& [& a
  1577. ; Don't bail out by default.
    1 B9 g) L% F: Q& D' P4 R
  1578. ; http://php.net/assert.bail5 X! Q' y3 B! B7 o9 r( H
  1579. ;assert.bail = Off) O. h# y" M2 ]6 |" a- q

  1580.   G. _5 D4 u6 a: E+ `* M
  1581. ; User-function to be called if an assertion fails., ?" M5 b9 F" |8 U5 ?
  1582. ; http://php.net/assert.callback4 |  ^9 k% J% y0 \# T" b) G3 }+ B+ \
  1583. ;assert.callback = 0* ^9 \. H* s1 M+ `( k  V4 @' `

  1584.   B8 b& }9 p/ m
  1585. ; Eval the expression with current error_reporting().  Set to true if you want1 z7 l5 `+ T6 N# F& y% F# D% H
  1586. ; error_reporting(0) around the eval().
    4 x" X9 j/ X6 ~) z9 G
  1587. ; http://php.net/assert.quiet-eval* A1 q3 ]$ t/ }3 f
  1588. ;assert.quiet_eval = 0) v8 b+ f" Y; W4 Z1 W  f$ T) r
  1589. . z& K" M9 g, t* b
  1590. [COM]2 v: |6 j3 e, s5 a1 b
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    . {9 y  O$ ]2 T6 ^
  1592. ; http://php.net/com.typelib-file
    2 v6 E% C7 z: a) V: F' `, s$ p2 e
  1593. ;com.typelib_file =5 F! q6 {- Q2 m$ \
  1594. . P5 `, r: d% _6 ^- b
  1595. ; allow Distributed-COM calls( }* `5 V  K3 f$ k9 Z1 s5 }
  1596. ; http://php.net/com.allow-dcom
    4 ^  n7 f* c' H2 u: h# ~
  1597. ;com.allow_dcom = true8 K6 T+ p! P9 k
  1598. + d& f8 N, Y( B/ E& u/ |; M
  1599. ; autoregister constants of a components typlib on com_load()
    + c; d- x: q0 u' `; l
  1600. ; http://php.net/com.autoregister-typelib  w5 [* m' q+ J
  1601. ;com.autoregister_typelib = true
    " b3 F/ F" q" t# i/ n4 h+ M/ Y( i; e% _
  1602. . H4 i# G( U) h4 U
  1603. ; register constants casesensitive
    1 m5 Z1 Y. Q, _8 k* m$ J
  1604. ; http://php.net/com.autoregister-casesensitive
    . q, }2 m8 r3 G3 @' U& y
  1605. ;com.autoregister_casesensitive = false& M7 {- v! P' q" `5 R9 H
  1606. 8 `7 ^7 }6 o3 A' [
  1607. ; show warnings on duplicate constant registrations- j2 [9 _& w: `, d) |1 v* X) r
  1608. ; http://php.net/com.autoregister-verbose& [( I1 v! u& x) p, r$ Z1 G
  1609. ;com.autoregister_verbose = true
    2 s5 H7 B5 j; C5 y& ]0 B

  1610. . f  U1 Y( D8 g  D8 H7 H
  1611. ; The default character set code-page to use when passing strings to and from COM objects.  r6 o/ L2 R' y! t# i! k6 ?
  1612. ; Default: system ANSI code page3 S5 Z4 b! W% X3 @. J! ~4 H! H) ^" X
  1613. ;com.code_page=( T' }4 G* u, p
  1614. - P: w; v1 `+ t) p% k: e
  1615. [mbstring]
    & V! h: z" X( p6 |9 G3 O) Q+ U
  1616. ; language for internal character representation.
    5 _9 `- }* w/ A; V7 ]; S- _# x
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    ' |: f: q- _4 H, K) A' O: b
  1618. ; http://php.net/mbstring.language: G+ i: ^/ E# i( [$ H) x
  1619. ;mbstring.language = Japanese
    2 a( J, q1 L$ p9 {  j! A
  1620. 5 y, z0 J3 I7 Z+ b4 y: `: i0 `
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.9 D: U6 f- w0 Z# f0 q
  1622. ; internal/script encoding.  x, H2 K+ n1 i1 N
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    6 a5 U, {# K5 T8 ^& k" j- U
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.2 w; e; A/ \5 C! a# x4 c! g: c% O6 Q
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding5 p& c" j# `  E
  1626. ;mbstring.internal_encoding =+ f% R2 W; ^2 U+ u  B

  1627. - W) p" {& q5 q' E
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.* U) D2 |) `6 d; S- W( E8 _5 |0 A
  1629. ; http input encoding.
    , |9 M1 K! ^% b* ~  N+ m( ~
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    3 I. Z) B) |0 g# O# P
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    0 R7 ~7 p/ ?" ^, ~+ \# w
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input* w$ }) c" x2 M+ A
  1633. ; http://php.net/mbstring.http-input, ^% s3 ~. E7 d9 d' K( [. m8 l( |( {
  1634. ;mbstring.http_input =4 _" G; _( E8 I
  1635. ! E0 k# ?8 C. ^: A+ f$ `$ h
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.4 y% {2 |! w  M( ^% k. A
  1637. ; http output encoding.) s  x6 B& v; k9 ]* v/ Q
  1638. ; mb_output_handler must be registered as output buffer to function.
    # Y) h, E2 Y" K2 O
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ) F% [8 Y' `$ q& Z* {3 U' |
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output' Z% X" u, Y% v0 t. E
  1641. ; To use an output encoding conversion, mbstring's output handler must be set5 Y! r) [2 Q8 |+ h  }  T
  1642. ; otherwise output encoding conversion cannot be performed.
    2 D3 Z! b1 i/ A0 e  q
  1643. ; http://php.net/mbstring.http-output2 ]8 s: R: ~) \! X3 N7 y) j
  1644. ;mbstring.http_output =
    1 [! Y4 b7 b; Z

  1645. ' [6 G* x7 X3 W$ Y4 n" U2 M
  1646. ; enable automatic encoding translation according to; R; h9 z+ z2 b3 F
  1647. ; mbstring.internal_encoding setting. Input chars are+ w, C2 D' O- s
  1648. ; converted to internal encoding by setting this to On.6 x& q+ g. A$ n
  1649. ; Note: Do _not_ use automatic encoding translation for$ b9 h2 \3 B0 M! O* |- @
  1650. ;       portable libs/applications.+ y) |! |" F" o# _/ l
  1651. ; http://php.net/mbstring.encoding-translation; h7 v8 d1 @! ?& Z
  1652. ;mbstring.encoding_translation = Off
    5 B( F' ?+ R! o+ g9 h  y8 p0 ^
  1653. " g2 F# Y1 }1 d
  1654. ; automatic encoding detection order.: o# f0 r6 d, W
  1655. ; "auto" detect order is changed according to mbstring.language
    / C3 `3 {1 h, ?1 M! y1 \
  1656. ; http://php.net/mbstring.detect-order
    5 {- K" a$ x$ B6 q$ e5 h
  1657. ;mbstring.detect_order = auto
    7 a4 S- c, M6 X( r( F; n
  1658. % L7 G2 _; t, f  O
  1659. ; substitute_character used when character cannot be converted
    8 y5 E* G2 F6 L/ e. ]( v
  1660. ; one from another1 {4 u: }+ G& D2 [' p) O" Z
  1661. ; http://php.net/mbstring.substitute-character
    $ m0 b* i# u4 j5 z, J/ D, K* @
  1662. ;mbstring.substitute_character = none5 m) S9 j- g& }5 _

  1663.   M& n1 ]) y' S5 n5 S1 q  q- P1 l$ V/ _, ~
  1664. ; overload(replace) single byte functions by mbstring functions.
    % n, P% V3 Q% h: i
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),8 X5 ^1 s( f2 F! E
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.8 X3 {+ T$ S3 n/ X: \) h
  1667. ; For example, 7 for overload everything." B! j* ^& d; V3 ^
  1668. ; 0: No overload
    8 _% y0 J7 {/ j
  1669. ; 1: Overload mail() function3 z, `% I& ?! G" q+ e9 t
  1670. ; 2: Overload str*() functions  r+ ]4 s3 m7 c* o
  1671. ; 4: Overload ereg*() functions( c2 x1 Y+ Y9 G6 s" J
  1672. ; http://php.net/mbstring.func-overload9 r# j8 z8 l* h" A3 [' H5 R* q0 }
  1673. ;mbstring.func_overload = 0! i8 h& {( F8 b+ g  x% w
  1674. & O3 B2 N! V  ~* n# B
  1675. ; enable strict encoding detection.
    0 B& I3 K# @6 Y2 @& Y" X0 ]9 c, E, u
  1676. ; Default: Off$ F; W# O! [& k! h
  1677. ;mbstring.strict_detection = On
    " p$ a0 D9 y3 d, \' N

  1678. 8 @, d% C4 g* x- V$ K
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    2 I" m9 Z! w; f" e2 s
  1680. ; is activated.
    6 p: Y& l6 g" C( K
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml); @$ w6 v1 m: |. Y$ n
  1682. ;mbstring.http_output_conv_mimetype=
    1 o( X! H4 K6 K: i

  1683. * S! Z# a0 H/ l6 h* n4 E8 _
  1684. [gd]
    % l/ U! \/ }0 [5 L, p, q9 B
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    9 f; ~: O3 D# a0 k
  1686. ; a gd image. The warning will then be displayed as notices5 K% ^" I  [% }2 L; y: U5 L
  1687. ; disabled by default; X5 [* [2 |2 ]) H
  1688. ; http://php.net/gd.jpeg-ignore-warning9 Q/ \9 y. r' K4 e! g% m
  1689. ;gd.jpeg_ignore_warning = 0
    ' v+ W" \3 C$ V9 g3 a3 ]; J

  1690. + u( h  q- p" t, b. [& ]4 a
  1691. [exif]
    / g* \7 u' r" t' P3 E
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS., c& ~8 A5 T$ s! U; {' L
  1693. ; With mbstring support this will automatically be converted into the encoding( `% d4 p, o- M3 }5 Z( Z
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding  O; o$ ]- g( w. r, d/ ~
  1695. ; is used. For the decode settings you can distinguish between motorola and
    8 x7 i0 [) M4 y! G4 }1 `
  1696. ; intel byte order. A decode setting cannot be empty.* }2 t5 O9 V3 j$ v# J4 O
  1697. ; http://php.net/exif.encode-unicode
    6 z" a7 p7 ^( c, L6 D+ l
  1698. ;exif.encode_unicode = ISO-8859-150 d0 b6 H* ]* U8 x& S" @) U
  1699. ; P0 ~2 e: c7 U) J7 ]3 F: I
  1700. ; http://php.net/exif.decode-unicode-motorola
    3 `, ?/ {* ]; u5 X. \5 W% A8 t
  1701. ;exif.decode_unicode_motorola = UCS-2BE# ~: ]$ ^/ j+ o" S
  1702. 4 l( ~. A( R- f0 R. e+ U
  1703. ; http://php.net/exif.decode-unicode-intel- o% }' O! t. x4 e$ b
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    / r7 I& b: K& S# a$ s

  1705. * @' K' \. d' y, N+ `
  1706. ; http://php.net/exif.encode-jis
    $ |) u1 T6 y0 d+ B4 X; [
  1707. ;exif.encode_jis =8 p- p; \; V" g6 ^; D8 q) @

  1708. 0 E4 w& z: E3 S2 a" {
  1709. ; http://php.net/exif.decode-jis-motorola0 B5 E& b- u0 l6 r) B. D# E: p
  1710. ;exif.decode_jis_motorola = JIS6 |8 T8 J! o9 c  S2 X7 b- L
  1711. 2 a$ D. R9 e- P
  1712. ; http://php.net/exif.decode-jis-intel+ Y. g9 k% O5 g' x' x- I* A/ B
  1713. ;exif.decode_jis_intel    = JIS
    3 V- M2 w- q$ c. M8 z, Q( r, `

  1714. / W* e# c8 W2 F5 V; A4 H
  1715. [Tidy]
    + A4 A9 q: \) B8 ~8 g$ U
  1716. ; The path to a default tidy configuration file to use when using tidy4 v$ f# ~& E" k/ b5 O4 i* d
  1717. ; http://php.net/tidy.default-config5 l7 p* H: Z: x
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    % X' ]( c7 X9 M4 l

  1719. : s" c; O  W7 l5 \" ^* e
  1720. ; Should tidy clean and repair output automatically?# C! N; \& q1 V! y  z% m; v
  1721. ; WARNING: Do not use this option if you are generating non-html content
    / M) n' q) X9 K
  1722. ; such as dynamic images2 W( T# y/ {- Y
  1723. ; http://php.net/tidy.clean-output
    # e- _2 [" m" H# D; g: F
  1724. tidy.clean_output = Off
    # r. e  m! {7 R% P6 i3 P) s" D1 H5 R
  1725. 4 T; _. h0 U8 w* ~
  1726. [soap]
    6 M1 H" X! N8 }
  1727. ; Enables or disables WSDL caching feature.
    . T; M9 f3 N! V* t# E
  1728. ; http://php.net/soap.wsdl-cache-enabled
    + _" B5 e0 v! ^. T, e
  1729. soap.wsdl_cache_enabled=1
    % S0 G3 r/ @& K+ u  X

  1730. . |7 m7 V! y0 p  o+ s* J3 ?* n* `
  1731. ; Sets the directory name where SOAP extension will put cache files./ T0 B9 _; I- i" G* y2 j
  1732. ; http://php.net/soap.wsdl-cache-dir
    8 I* d. s: s5 ~! z3 A9 l; u  I
  1733. soap.wsdl_cache_dir="/tmp"- V. H# ]* @4 Q* V; Z" M6 E4 l
  1734. 8 o2 l9 e" Y+ y
  1735. ; (time to live) Sets the number of second while cached file will be used
    , i4 A7 Y) B) e- G' j( r
  1736. ; instead of original one.9 `2 N- {. Y6 ~6 Y8 w& }
  1737. ; http://php.net/soap.wsdl-cache-ttl  ^) H2 j) @( p/ T. f; c1 @
  1738. soap.wsdl_cache_ttl=86400* p9 i" g: W+ F
  1739. 3 c' k5 I- J% T6 ^, R
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)$ z$ b: B7 M# t+ j) V
  1741. soap.wsdl_cache_limit = 59 @7 z4 K$ I; ^7 m6 c
  1742. : \7 H4 j$ a- T/ L0 S
  1743. [sysvshm]( f% ?' p2 P  j) h4 w
  1744. ; A default size of the shared memory segment: O9 @( b1 b. \, E
  1745. ;sysvshm.init_mem = 10000+ \: o; J; T! z7 q; X$ t
  1746. ; _/ d" J" U8 a2 j' C
  1747. [ldap]
    4 z) e3 ~1 S+ S* p. e
  1748. ; Sets the maximum number of open links or -1 for unlimited.# S2 U* W4 {# _$ J/ B1 m( q. ?
  1749. ldap.max_links = -1
    & q' T8 Y5 T, b6 O' V

  1750. 0 s  ~" V3 I! x1 o3 I/ ]: z5 C9 h
  1751. [mcrypt]
      E2 r% X) J: I5 s5 P
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open) ~# U2 x' s" d( T  x' j8 P# X

  1753. ) F* k6 P4 y) I* n9 S
  1754. ; Directory where to load mcrypt algorithms
    ( m0 ~! e( y) }1 b, C5 Y/ k
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    + C! \; V6 ?, p8 P5 ?5 @' u
  1756. ;mcrypt.algorithms_dir=, v& C. j, ^( D6 v2 C/ E- d. @
  1757. 8 v# `8 u; g& V+ |2 x$ `
  1758. ; Directory where to load mcrypt modes
    ' {, q6 v6 A" H  Z! O! ]+ |
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)) o& s& z; i  w! {5 W, M8 X# `
  1760. ;mcrypt.modes_dir=2 d/ p) J, m$ [' x& w

  1761. / [; E$ t. `" w0 L9 Q
  1762. [dba]% {* @6 R5 M0 z: m
  1763. ;dba.default_handler=
    5 s, o8 L2 R/ n; u! k* Z5 a
  1764. - \$ [$ U' X% |4 ]7 \
  1765. [opcache]7 y% K4 r$ k: O
  1766. ; Determines if Zend OPCache is enabled; F: H; J/ Q3 j' d+ T
  1767. ;opcache.enable=0
    ; D$ n( k" e9 A' N$ C5 Q; U6 Y2 R

  1768. : o* `! s, g# Q6 _, U( F
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ; E0 }, f9 m! F( T+ J2 N
  1770. ;opcache.enable_cli=0# c+ x$ T1 I: m# v" ^0 C

  1771. % w/ n4 n8 b& C  k/ \9 N
  1772. ; The OPcache shared memory storage size.
    . o  t; r" ^3 \& _4 `6 u  U
  1773. ;opcache.memory_consumption=64
    " _0 @9 S* l( \) g/ E

  1774. * X4 S2 S: p* C( N3 r9 d
  1775. ; The amount of memory for interned strings in Mbytes.
    5 _' a7 S1 M$ w
  1776. ;opcache.interned_strings_buffer=4) ~9 f. O* g& \7 d+ ?

  1777. 3 p5 R8 |' [5 ?; x4 `0 v1 M' H- J$ l% D
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.8 |) e9 `5 X: e$ o2 i
  1779. ; Only numbers between 200 and 1000000 are allowed.6 }! v+ O( E" ]- |
  1780. ;opcache.max_accelerated_files=2000
    : i/ o: p9 W- Y5 X4 [

  1781. 7 R% {0 \( u8 R( ]# |5 i- C
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    + q4 U3 @# R* w) s6 @9 r" w7 T, U: t+ @
  1783. ;opcache.max_wasted_percentage=5
    0 N5 ]; N7 \: c( i; V/ d
  1784. , \2 _# h/ P8 x5 X
  1785. ; When this directive is enabled, the OPcache appends the current working
    * m8 u5 L7 j! V4 r- K/ Q
  1786. ; directory to the script key, thus eliminating possible collisions between5 p- c8 {) ^% [2 ]
  1787. ; files with the same name (basename). Disabling the directive improves
    ) O& {+ C' i5 J+ @- R1 t8 r
  1788. ; performance, but may break existing applications.
    " s9 K# U9 n2 I0 ]6 F1 r# g' t1 g
  1789. ;opcache.use_cwd=1& ~% Z. F' @8 F" x  Y( a. {

  1790. 4 n) c7 K! A+ R9 `  q: v: G$ u* ]
  1791. ; When disabled, you must reset the OPcache manually or restart the: J, T+ n4 _- z( S( f* b1 U
  1792. ; webserver for changes to the filesystem to take effect.$ M6 |/ F* e, _9 N' J% A7 c- G, u
  1793. ;opcache.validate_timestamps=1
    & F- S( L! v8 j( j9 p

  1794. " `$ H) [' P% R
  1795. ; How often (in seconds) to check file timestamps for changes to the shared, O5 @, Q& u* F- b, d( R( O8 t
  1796. ; memory storage allocation. ("1" means validate once per second, but only; F" A" ?% @/ @+ X# T, I/ M
  1797. ; once per request. "0" means always validate)
    + z& M: I% l; E- B2 c) v+ `- l
  1798. ;opcache.revalidate_freq=2! f& x3 k" X  O8 n
  1799. 9 _% V3 b; w: l. o: u
  1800. ; Enables or disables file search in include_path optimization0 ]4 u8 y- @' F" v8 M3 y
  1801. ;opcache.revalidate_path=0: ^) e7 m/ Y4 m4 ~4 A/ l7 X* Z

  1802. 5 X5 ]# n; W9 g* l" p* \7 i
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the4 M/ D2 b& T+ n
  1804. ; size of the optimized code.
    + L' }4 J: A  E* L
  1805. ;opcache.save_comments=1
    : R- O* m9 m/ `& u

  1806. 9 ]8 b9 g0 V8 z
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code  I: L4 D! x) ?' |* J" g9 K
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    1 J' g8 O9 F: a+ ^3 c
  1809. ;opcache.fast_shutdown=0- @2 v: B2 F' [

  1810. # K7 y9 P' O( m
  1811. ; Allow file existence override (file_exists, etc.) performance feature.8 o: `7 F2 Q) u3 S
  1812. ;opcache.enable_file_override=01 l" ~# u3 G+ n

  1813.   ^1 K* r1 X1 j+ u9 k# D: {! c
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache+ _( K% X; t" \1 `/ z
  1815. ; passes
    8 [& H+ {1 \4 A7 [8 }) J, V
  1816. ;opcache.optimization_level=0xffffffff
    0 ~7 G, F7 Z4 `9 u$ x
  1817. : x2 j0 }0 ^8 a7 ]! |2 y
  1818. ;opcache.inherited_hack=1
    # T3 Q9 S) U# J5 v( X; _& Z$ f
  1819. ;opcache.dups_fix=0: v- E# _5 y; A, k9 ^  Z) a
  1820. 5 F, I- J) Y5 S7 o, {( g
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    5 t0 \+ g- ?& C- e9 a. X
  1822. ; Each OPcache blacklist file is a text file that holds the names of files5 O/ m' J+ q2 V# _$ s% ~
  1823. ; that should not be accelerated. The file format is to add each filename
    . D  j5 R1 U. j- F0 r/ b' B
  1824. ; to a new line. The filename may be a full path or just a file prefix' h$ D" V; ]' B& Y
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    : _( X7 _. c2 J' m
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).2 |3 ]/ M3 r' I! J( N* j9 ^6 j5 k* _
  1827. ;opcache.blacklist_filename=7 n( t+ z- K5 w0 j$ U

  1828. 3 M  f" v0 Y, d! Q
  1829. ; Allows exclusion of large files from being cached. By default all files
    3 o# x( ]4 _$ P! q) u2 C
  1830. ; are cached.
    2 A8 y5 p# o2 h; i% ~! p1 A
  1831. ;opcache.max_file_size=0
    7 D- o; R3 ]1 u6 S2 G
  1832. 8 ?+ t  K% G1 |! E/ Y6 V5 I
  1833. ; Check the cache checksum each N requests.. S! t  v% R! Y! d- e
  1834. ; The default value of "0" means that the checks are disabled.
    $ M, W. {" x- U- j; i8 I1 N
  1835. ;opcache.consistency_checks=0
    + l/ \7 C- y* N: X
  1836. * E, [3 A* V) j; Y* ^9 [& l
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ; _- S" a6 }6 l/ t5 K7 q( U: e
  1838. ; is not being accessed.( n# o1 L/ }7 x$ y8 @$ i0 Y
  1839. ;opcache.force_restart_timeout=180
    # ]& R1 ]# d; _0 V6 H9 A9 U
  1840. . Z, s+ ]$ o5 w' |6 C! s/ K' x4 z
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    + h4 [7 o& `6 g9 T
  1842. ;opcache.error_log=) Y# {( q- k( O7 ]  Z8 w

  1843. / r$ r* U" d# S$ z
  1844. ; All OPcache errors go to the Web server log.7 L6 X  g7 l& o+ o0 F. u* t6 H
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    , c/ G7 K( W( G* _2 b# G
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    5 G+ `' d+ H+ p: j; q$ {9 c, @7 J6 \
  1847. ; debug messages (level 4).
    ; l/ v7 r" B: \+ J. w! z- j3 r
  1848. ;opcache.log_verbosity_level=1
    % U3 F5 J( R9 t. m3 k; j
  1849. * w0 J( X7 c; M4 L# r. N
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.1 a2 b7 b2 \" V. v
  1851. ;opcache.preferred_memory_model=+ O2 h6 y& ?5 |1 G* O$ A' z

  1852. ( b& W! Q1 k  @  ^
  1853. ; Protect the shared memory from unexpected writing during script execution.4 l& X& ~( O, n1 n: p! W. X
  1854. ; Useful for internal debugging only.- M& }& z% c4 @
  1855. ;opcache.protect_memory=0; ^! l+ ~' c, d1 L
  1856. 9 H; n0 X$ x8 F9 l, V; p& x4 ]7 i
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is6 e3 ?/ w# s! [0 }7 f
  1858. ; started from specified string. The default "" means no restriction
      ~3 N. Y4 }" b/ F
  1859. ;opcache.restrict_api=
    . Y: D2 y* V! [5 z

  1860.   K. K; E9 v" v  `
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP8 @5 e  a4 a# c( [$ }. o. u
  1862. ; processes have to map shared memory into the same address space. This
    ! [4 E) B/ Q4 X; b5 A: v2 r
  1863. ; directive allows to manually fix the "Unable to reattach to base address"6 P! g; _9 x8 ^/ q" J
  1864. ; errors.
    " ^0 k3 K1 L" ?/ P! X1 q/ z( ?
  1865. ;opcache.mmap_base=3 f& \- @9 S+ l0 k  N

  1866. , _8 h( O) p/ D0 w1 `# o2 S
  1867. ; Enables and sets the second level cache directory.- @/ M# ~$ x" O. H
  1868. ; It should improve performance when SHM memory is full, at server restart or9 S6 [" m- `/ ?  r1 N
  1869. ; SHM reset. The default "" disables file based caching.
    + L( g" B1 \# ~( Q! ~; L
  1870. ;opcache.file_cache=3 K! g; H5 f" f# i' H2 X' h
  1871. ( {2 u; ~' o6 m% G9 Y3 I
  1872. ; Enables or disables opcode caching in shared memory.) q3 I& X/ ~, r# k
  1873. ;opcache.file_cache_only=02 A+ e' V$ @+ T" E

  1874. 0 D8 s* s) Q$ ^. `6 Y
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    : m: v! p: }& k
  1876. ;opcache.file_cache_consistency_checks=1% n% _5 [4 h- ~! O0 L. f

  1877. + l2 D0 P3 q0 h: H. y
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to* Y# ?. L: z* G7 a5 N
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file# h- z. a8 D, a" N) s. s
  1880. ; cache is required.
    4 P( a* u" D( g  _3 `
  1881. ;opcache.file_cache_fallback=1
    : D( T/ z0 f2 a$ X

  1882. : K' |  g# k) Z) Y; O1 ]
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.* b8 j5 X% k2 g# i7 S0 W# W* S8 t
  1884. ; This should improve performance, but requires appropriate OS configuration.
    9 V8 O; C, g- X! l  W
  1885. ;opcache.huge_code_pages=11 ?! m' f  b, _) ~. ?

  1886. , _$ |' @! x; [3 s; b4 M; y
  1887. ; Validate cached file permissions.7 L, |# Z- d: _$ F0 x& ]9 M
  1888. ; opcache.validate_permission=0
    5 Y* b" ]6 A+ B! o# X9 r' l  T/ h

  1889. " z# L2 q. C8 w! q  E5 n
  1890. ; Prevent name collisions in chroot'ed environment.
    ) n  E& {1 C/ E% n; }& Y8 d
  1891. ; opcache.validate_root=0
    5 E0 B0 f* D  e2 W2 @) ^( s% y
  1892. - u  z6 G2 j6 b% h" e
  1893. [curl]2 H% L* L9 {, C& r9 I
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an6 ]% \# A1 M4 u' v2 z; p
  1895. ; absolute path.$ y: F5 }6 k$ o4 b% z; o. T( L" E3 i, U
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    & Q% {+ W0 [. s( |: s) U
  1897. # z8 T* K* J; L9 N( O
  1898. [openssl]. i" s% _% |- ]( G9 `) q' R% ]
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    6 q& V7 y2 l, G: k4 L
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    6 _7 }8 @5 K6 m2 E( h, c" M4 t
  1901. ; not specify a value for this directive as PHP will attempt to use the
    7 |  V4 P7 t' x3 H0 v9 A
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    ' O3 X3 Z  ?7 I7 \
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context) T% \& a2 G. t3 G$ V; x
  1904. ; option.
    ) ]1 n5 h) M! n3 u
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt9 N6 k, p# d% t% X0 Y& K
  1906. . J$ e; K. g0 W% `0 z- O9 R0 v1 _
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    ( w0 N5 E0 m' v3 T: i5 ?! f+ }
  1908. ; directory pointed to by openssl.capath is searched for a suitable/ |( N  z. Q  c
  1909. ; certificate. This value must be a correctly hashed certificate directory.) U' s' D9 y5 m, u. ^, L
  1910. ; Most users should not specify a value for this directive as PHP will
    ; ?+ K3 @5 V1 T( b0 g& k1 Z
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,9 O  w/ X' ~/ H) r; t" d/ v
  1912. ; this value may still be overridden on a per-stream basis via the "capath"/ d% ^, D# {; b% B  U& _" j
  1913. ; SSL stream context option.
    ' t( d' v2 P  l! n5 z
  1914. ;openssl.capath=, ^/ i: R  o; }8 V" D

  1915. 4 i& s' l3 i) ^2 a  t
  1916. ; Local Variables:
    5 j/ \+ r6 L" C& h7 `8 i1 R
  1917. ; tab-width: 40 R2 _6 f; e& B+ R' h" b- o
  1918. ; End:
      Y  k; G- Q, Z- F8 K+ C7 b

  1919. 5 T! G& e2 S% v5 u7 u: u# P: e
  1920. ;eaccelerator
    * _1 u: E/ Q! V1 e

  1921. ! T0 v6 N6 G+ J% e% v; g% \2 r, D
  1922. ;ionCube
    * Y& H8 |/ Z; u! S0 L; r1 e6 I
  1923. 4 R0 C# q0 u7 T  {. I6 `* O
  1924. ;opcache
    , v2 A" z& ^" ]9 @+ K
  1925. 3 u# T# F3 w) ~6 Z9 \: c
  1926. [Zend ZendGuard Loader]
    4 }4 l$ g& w; `; q
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    , r+ j2 k! [% r9 \# G0 u5 H3 o
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    " f6 ~' B" q9 V0 Z) A* J- k8 A
  1929. ;zend_loader.enable=1
    7 Q0 h4 F; O- ~8 Q/ S1 ?  z! r
  1930. ;zend_loader.disable_licensing=0
    . Q6 @- S4 d# {5 l" c2 T* j0 k
  1931. ;zend_loader.obfuscation_level_support=3
    $ J/ f) n3 r) x
  1932. ;zend_loader.license_path=) d. ^) C$ c+ u
  1933. ; f7 t3 I. j8 |5 D( N- y2 @  g
  1934. ;xcache
    ) v$ A8 a/ `  Y' W6 d
  1935. 6 |+ x$ k7 D0 _9 l* a) }1 X
复制代码
' h3 g& }: s1 d5 U! o

1 U1 ?9 v" l0 V; y
1 m0 A* N1 `- J% r6 S
0 m4 r4 S) Q$ g8 q# B* K8 O8 c5 l4 {' U& j

& Q' {3 [3 e' J$ s) U) d3 G
. O5 Y8 F! x& x( ~$ x. a/ iPHP5.6版本原始设置
2 i( ?. _6 W3 t3 p; E
; Y" F1 P( N: M8 O8 v, u
  1. [PHP]
    4 P- b1 p) M- g0 O* _

  2.   w% T: [% N, V' D$ X# B
  3. ;;;;;;;;;;;;;;;;;;;
    - J9 K, ]% @! @; g
  4. ; About php.ini   ;. m: r  g2 j/ l2 ]6 K2 b
  5. ;;;;;;;;;;;;;;;;;;;
      w3 q- R2 B) J: j9 O! F5 }  s2 p
  6. ; PHP's initialization file, generally called php.ini, is responsible for: L9 e0 i% y" `: Y
  7. ; configuring many of the aspects of PHP's behavior.
    . K8 e; j9 Q+ s/ Z& T3 [8 Y. r& C% g+ d

  8. ( N  b1 s+ E  ~' ~7 S
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ) F+ p7 e( X( J
  10. ; The following is a summary of its search order:
    % i9 X% e. x3 N* u# q
  11. ; 1. SAPI module specific location.
    % N0 c  x' ?2 w/ g
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)& W! @4 m- J4 }3 X2 {* e
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    1 V. B4 x( ~1 e( ]
  14. ; 4. Current working directory (except CLI)
    , y! s2 z9 W- G# {- k$ a
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ! u( v8 Q9 j3 H' k; k) V: g  @
  16. ; (otherwise in Windows)! u. q) g* H4 ]( L8 a( \# G8 W& h
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    1 d% j& x' w# q# u8 h4 c/ \5 l+ c
  18. ; Windows directory (C:\windows or C:\winnt)( a' _) y* W* ?$ \3 W. u; i
  19. ; See the PHP docs for more specific information.4 \' E8 w* ^5 r5 s) \
  20. ; http://php.net/configuration.file) l: K1 A6 u( ~6 x) |% o

  21. % `( O) P0 q, r' g' ~0 D. S
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ) u4 U4 U/ R" r1 J: G
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ) N$ M2 g+ v! _, r& ?3 A$ G1 T
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    * `1 l& P. w1 e* L
  25. ; they might mean something in the future., f! k+ P( M$ ]& A

  26.   O% x5 r% N; v* t/ y
  27. ; Directives following the section heading [PATH=/www/mysite] only7 l( s) d6 Q# K8 u
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    4 s) s. {- o4 R" U* V
  29. ; following the section heading [HOST=www.example.com] only apply to" z6 M7 I' ]8 M6 n; n
  30. ; PHP files served from www.example.com.  Directives set in these' t1 W/ @. m: T
  31. ; special sections cannot be overridden by user-defined INI files or8 ^$ \$ @( I) S5 h% F0 {
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under+ ]$ ~. m# I' w" |' k
  33. ; CGI/FastCGI.0 A/ m) ~7 @. M
  34. ; http://php.net/ini.sections
    % k: {( f% `7 s8 R1 a3 [$ r- W' e
  35. 5 u; r9 b+ x# P5 n$ k/ u5 {7 [
  36. ; Directives are specified using the following syntax:/ j1 p& Z: ~3 S  P  R! H: N7 v
  37. ; directive = value1 L5 k  X9 ]+ n
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    . J) F" M% f' _1 M  E& m0 T
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ! }6 ~% n& D7 Q/ [  }
  40. ; There is no name validation.  If PHP can't find an expected
    & u$ g2 w8 S$ f, l/ H
  41. ; directive because it is not set or is mistyped, a default value will be used.
    1 U& w# Z' Q! \$ q# Z. O1 [5 z
  42. 4 ~7 y3 _' [9 p7 }, v3 \! c
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one/ b: I  k/ [% K4 l
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    2 ]1 K6 |" h7 V; H0 e, t5 Q
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    - K7 j! o8 H# r* M% N
  46. ; previously set variable or directive (e.g. ${foo})' ^9 y2 ~  u( @  L/ ]% E

  47. $ i6 Z- }  x+ O; ?9 [
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:: U( e. b" U3 }- F. c! t0 J
  49. ; |  bitwise OR' Z: r6 X) L9 [6 l, b
  50. ; ^  bitwise XOR
    - b) F6 f* c. H9 C; b
  51. ; &  bitwise AND
    4 w; E2 L, H% [( {5 Y
  52. ; ~  bitwise NOT% d% n1 W& Y$ b/ Y3 i( ~+ x
  53. ; !  boolean NOT
    ! L: F# o2 C- ~
  54. ( I7 H5 F8 X0 S6 u* n6 `% a( @* {
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ) q" \6 s4 j; }% r! i) w" `
  56. ; They can be turned off using the values 0, Off, False or No.
    & M0 X0 y( `* l% `  B
  57. 4 n' v/ b5 y( V  b6 ~
  58. ; An empty string can be denoted by simply not writing anything after the equal; M( S) i+ p% m, t, b
  59. ; sign, or by using the None keyword:
    ! _: F; a" @/ i, B/ R7 Z8 u

  60. # B/ V  ]3 b% h& `! T" D7 C, M, o6 e
  61. ;  foo =         ; sets foo to an empty string6 m# T! T( F+ F9 L; ]5 Q' v* @* v/ d
  62. ;  foo = None    ; sets foo to an empty string& Z9 P8 K0 U1 [! S
  63. ;  foo = "None"  ; sets foo to the string 'None'; k* v3 {1 y( @
  64. ! N$ @0 g( I+ G" z. T+ ^
  65. ; If you use constants in your value, and these constants belong to a) U1 `8 r8 f; l: X
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),; N# q4 H& ^: ^! ]
  67. ; you may only use these constants *after* the line that loads the extension.' J; o, l& }  J/ g. x) e' B
  68. - I+ Z/ [% ^9 O
  69. ;;;;;;;;;;;;;;;;;;;
    6 o* \9 v! z1 R2 y$ {; P
  70. ; About this file ;
    4 B3 I9 A4 h+ k" y  ^6 N
  71. ;;;;;;;;;;;;;;;;;;;
    " W8 Z' e5 Q5 i! j7 q/ \. J$ u
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    0 }- \( x1 [  F. |4 Z  |
  73. ; in production environments and one that is recommended to be used in' O: {/ N7 [/ t) J
  74. ; development environments.
    $ L1 ?; Y; Y5 D& P  Z8 V

  75. 6 l( ~2 N0 N# ^$ q' S6 W
  76. ; php.ini-production contains settings which hold security, performance and4 H; k$ E* S8 _; g; J+ U
  77. ; best practices at its core. But please be aware, these settings may break1 n# z( G' `; J
  78. ; compatibility with older or less security conscience applications. We
    5 L% _# ]+ I5 ]1 r; N) V  x
  79. ; recommending using the production ini in production and testing environments.
    ! F- o4 l$ b, R0 B) C2 N

  80. 4 b$ l" L" v" `
  81. ; php.ini-development is very similar to its production variant, except it is0 n) i# k$ @# {6 f( _6 ?$ e1 ]- I1 n( S
  82. ; much more verbose when it comes to errors. We recommend using the. V8 U0 q5 Q0 O$ ^5 W6 i! N& b
  83. ; development version only in development environments, as errors shown to6 k- Z+ [* @0 U/ i- Q" @! g4 ?/ k7 P
  84. ; application users can inadvertently leak otherwise secure information.0 o! t/ \% r  O5 _

  85. / D' T, f9 {) j1 h" ^; K# N
  86. ; This is php.ini-production INI file.& @9 l/ f5 c$ q  }* L
  87. $ e' z$ |1 T# Q
  88. ;;;;;;;;;;;;;;;;;;;
    8 ?0 p' d* x( P  K* K
  89. ; Quick Reference ;
    . d) d9 E2 F; L& r
  90. ;;;;;;;;;;;;;;;;;;;
    ) X9 q/ I: M! p0 x& k. ^$ K2 u. E% T
  91. ; The following are all the settings which are different in either the production
    / m, f1 |+ E4 I/ b9 c. k; n
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    4 m5 C0 M4 L' V* B
  93. ; Please see the actual settings later in the document for more details as to why
    " {: T2 _$ B! L/ N! C1 s' ]
  94. ; we recommend these changes in PHP's behavior.
    / {  g2 `, B; O% ^" M: _
  95. 6 f* I8 ]  j0 q$ Y7 _+ d* d% h
  96. ; display_errors. Y0 ~' P1 q: V: `
  97. ;   Default Value: On
    1 k. u( ^5 l0 T$ L* `, o
  98. ;   Development Value: On( Z" D( Q% N8 F( d" z
  99. ;   Production Value: Off6 P6 Z9 `  i6 Q
  100. ; J7 N' r* H- t. |1 l
  101. ; display_startup_errors
    " Q; d' }  i' ?1 o  \. F& _
  102. ;   Default Value: Off
    0 q  }/ k+ @9 w% d2 D9 O
  103. ;   Development Value: On" W7 A6 i- M$ u6 H4 y- `
  104. ;   Production Value: Off
    & n5 a7 i( L9 [) Q" K
  105. / ~( T4 r! p. j; d/ ?
  106. ; error_reporting  q* [+ J: n4 w0 F1 Z  H
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    + L7 ?8 c3 N4 [3 \; k0 b0 h* w
  108. ;   Development Value: E_ALL
    4 X7 k; V2 E8 O4 x' b+ m! D
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT! |% C- ]' t7 r. R1 M3 S

  110. 0 [" g( h* Y% v; O9 a( k! Z+ I# C8 Y
  111. ; html_errors- E2 C+ t% m- S0 `, P! x
  112. ;   Default Value: On
    % G! g; W% }- t' x  B) i# W7 b' x
  113. ;   Development Value: On
    0 `3 r2 }: q9 T7 ]5 a
  114. ;   Production value: On2 K! l+ [$ g4 ?' @  e, y. r0 d: N; C
  115. 8 m) w. W6 P# e) C+ M0 R8 H: }
  116. ; log_errors4 d$ `, ~% D" l& D
  117. ;   Default Value: Off- s" W5 o: L3 @) u1 _
  118. ;   Development Value: On
    % f. T/ f* N8 {0 S7 o5 O, x
  119. ;   Production Value: On3 c) V6 {+ Z! C# N/ g8 h9 O: Y

  120. $ P& J6 s5 [! j3 O
  121. ; max_input_time
    $ c+ M8 p+ |7 R2 r0 @8 g# P
  122. ;   Default Value: -1 (Unlimited)
    7 [- I7 t8 ?: ^* f+ l
  123. ;   Development Value: 60 (60 seconds)7 U% n1 s) i" H! h
  124. ;   Production Value: 60 (60 seconds)
    % z0 s3 s6 \. S! [2 h

  125. 6 F: t  K6 i: f9 x' `
  126. ; output_buffering  y0 |- [& F( j
  127. ;   Default Value: Off
    * L; ?' _% L9 B9 V9 R% y
  128. ;   Development Value: 4096) [( n9 f* P5 U! f3 y! {
  129. ;   Production Value: 4096
    / Y1 M; n& {* r: s' Y6 X
  130. - a9 H/ G& A' @& B; ?
  131. ; register_argc_argv  R7 ]( m5 n* s- m/ L
  132. ;   Default Value: On& O3 |! L8 s2 d- a9 \
  133. ;   Development Value: Off
    ; N, }' R* N' W: T8 T% A! [6 D
  134. ;   Production Value: Off9 d+ o) R- Z. _
  135. 5 n7 O, r9 S6 r
  136. ; request_order
    4 J) x) Z# o$ ]- b7 M7 F3 X' X  @. t
  137. ;   Default Value: None* u4 W$ R' @2 e
  138. ;   Development Value: "GP"
    ' _& R0 \, @  z( Z- l0 a
  139. ;   Production Value: "GP"7 ^- |! Z5 \' a0 I, ^. U! D+ N

  140. & B, o  p: F- K' [
  141. ; session.gc_divisor0 I, l) Q8 ?; v; Q4 \
  142. ;   Default Value: 100- m8 O' T1 P9 P2 l& q: k
  143. ;   Development Value: 1000
    & k( q3 d2 I1 T
  144. ;   Production Value: 1000
    5 J* Z$ s; |  y- h$ u8 F

  145. - ?4 H, v7 i7 P1 ~
  146. ; session.hash_bits_per_character& L6 U7 l/ E7 c9 t3 ?
  147. ;   Default Value: 4
    4 Q" d* H1 P4 j- I
  148. ;   Development Value: 5
    + b; N! }! F. t  V6 m/ g0 j
  149. ;   Production Value: 5, I$ k7 d3 @( {  f

  150. & j5 X% `# Y# }2 Z
  151. ; short_open_tag
    / u' i# X5 ?6 M4 }# h
  152. ;   Default Value: On( k# E  Q! q  M
  153. ;   Development Value: Off- x) j1 o5 B8 i: o8 M9 P6 }# X1 P
  154. ;   Production Value: Off
    6 u9 D# W( ]# ^  o3 ?
  155. . p" n& ~/ k( w4 o" l
  156. ; track_errors
    2 u; c! g8 O' s. z: K0 I
  157. ;   Default Value: Off
    5 Q: l2 Y0 R6 F
  158. ;   Development Value: On  w1 c% O2 R8 k7 V* _
  159. ;   Production Value: Off
    % o* A$ J) T) V& {0 I$ w
  160. ' M# J2 I! B' w0 b0 J: v& A4 Z
  161. ; url_rewriter.tags
    1 n! G9 l* ^; c! B0 R
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="8 Q1 g, ^2 h& a8 n0 V
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # @/ N9 N# I$ Z6 y/ ]' i$ |$ |5 |
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 i1 l/ R& V, v4 A$ B
  165. 7 U; j8 _  o) A  G3 b3 T
  166. ; variables_order
    0 y8 A0 N% e6 I
  167. ;   Default Value: "EGPCS"
    8 ?8 n% `& {7 V+ n
  168. ;   Development Value: "GPCS"
    1 o( n/ P# @, U
  169. ;   Production Value: "GPCS"
    . Y# a" y9 v2 G- `2 ?6 i  u( u

  170. 0 S& t) }' _3 G; S
  171. ;;;;;;;;;;;;;;;;;;;;; u' T9 B" Q3 h: m
  172. ; php.ini Options  ;; D6 t  ^- a+ c# p
  173. ;;;;;;;;;;;;;;;;;;;;
    - r, Y3 X) {3 t6 f, r
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"" ^9 b' ^# N8 [8 S8 K1 ~" ]8 G
  175. ;user_ini.filename = ".user.ini"
    " \2 v4 a' R. r" ?& w

  176. & t8 o( J/ k' I
  177. ; To disable this feature set this option to empty value$ u1 [+ d2 u4 x9 Z0 o
  178. ;user_ini.filename =3 Y( _5 s* |0 C" Z& n4 y' \

  179. ) q- T9 l( M5 E4 \" l; o$ S
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)' W3 T  d3 R  J
  181. ;user_ini.cache_ttl = 300
    7 `6 @* E& h0 a
  182. , }* @# Y. @& F* l
  183. ;;;;;;;;;;;;;;;;;;;;
    $ Z9 j3 t9 N% u
  184. ; Language Options ;  f1 y8 o4 |# E: ^0 _. T* G- A
  185. ;;;;;;;;;;;;;;;;;;;;
    . C/ A0 v( q* [. m' g' T, z% x
  186. # w# m/ ^, n7 u8 s
  187. ; Enable the PHP scripting language engine under Apache.
    * Q0 \: e7 U, {+ S, r, @
  188. ; http://php.net/engine
    9 Z  J0 I. }6 T7 M
  189. engine = On
    , [5 u  P- {/ P+ ~

  190. : t/ o; F8 I5 ~" ?2 l9 y8 q
  191. ; This directive determines whether or not PHP will recognize code between
    # V- P6 b1 s$ e- ]
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    2 f8 a) Q; B" s) |7 t0 ~
  193. ; generally recommended that <?php and ?> should be used and that this feature
    2 w9 v" @7 b6 N
  194. ; should be disabled, as enabling it may result in issues when generating XML* @7 P0 l9 y; {8 r
  195. ; documents, however this remains supported for backward compatibility reasons.0 _% A& I) D1 h  \
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    * D! c6 q0 V9 O2 z4 [* K2 y
  197. ; used regardless of this directive.
    ; E& O3 J1 l& k! v
  198. ; Default Value: On# o  ^0 u' Q, z. W
  199. ; Development Value: Off7 Y. X1 c  v5 ]: {0 o; o0 |9 Q( I4 a
  200. ; Production Value: Off0 k' z  f) l- \% c: }
  201. ; http://php.net/short-open-tag4 u* u3 m& I, g* c! U5 |% i8 V; E  F
  202. short_open_tag = On
    " v* J% C. {0 E; y% t& u1 B
  203. 5 C' i+ N- W  k) G; [  U5 G
  204. ; Allow ASP-style <% %> tags.
    . X6 T6 h# t' U2 W- p+ K( l
  205. ; http://php.net/asp-tags& a7 s2 E7 I1 O1 T
  206. asp_tags = Off
    " c# g% @' r* k+ j' O: j

  207. ( f" Z# A& v7 O6 F: _
  208. ; The number of significant digits displayed in floating point numbers.: ]7 \/ V0 i, _8 T
  209. ; http://php.net/precision! F8 D( k( A1 A7 k" ^
  210. precision = 14
    7 ^( C2 S0 C7 U; \7 a- G
  211. , `7 V" ~8 W# b, k  @6 Z0 i5 E9 F0 G
  212. ; Output buffering is a mechanism for controlling how much output data
    7 I) f/ O" ]* ?- u
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    , y$ T+ B# p" \/ w1 _7 F
  214. ; data to the client. If your application's output exceeds this setting, PHP
    * g3 p, t( Z# F# d+ X& N
  215. ; will send that data in chunks of roughly the size you specify.
    + w1 D. b: `5 @. q0 x
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    0 H8 o  y* U5 Y& Z( Y
  217. ; interesting side-effects depending on your application and web server.
    ! g9 I& A0 x$ M$ Q; w' N9 d
  218. ; You may be able to send headers and cookies after you've already sent output. R# r  `. k2 M+ k  B; O& ^
  219. ; through print or echo. You also may see performance benefits if your server is+ L1 @5 Y; s; v, G8 m8 W5 W: R% A
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    ; f. l$ }+ F  T- Q
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    2 ?9 j: c, \. A2 h( }
  222. ; reasons.
    / S# U- `  J: T' P2 W4 @
  223. ; Note: Output buffering can also be controlled via Output Buffering Control' m, p# L* S: v/ B
  224. ;   functions.. C  b2 \( e2 g% o2 V0 Q  W" ^& L, b! f
  225. ; Possible Values:! A3 F2 F0 [3 k4 ?/ E9 o3 R; u/ q
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    + b4 H, X4 V* `% _! J$ I' p; g
  227. ;   Off = Disabled. _& c9 m7 n8 A$ \+ p1 }: W- j* W
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    , ?4 [8 K/ e6 o% s! r
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI5 Z+ L% y: H1 f0 d! [
  230. ; Default Value: Off
    % G6 u6 ^. q* R# ^8 ?) Y
  231. ; Development Value: 4096
    ) C/ Z0 P& y) M
  232. ; Production Value: 4096, f  h9 k/ ?  H! x8 t
  233. ; http://php.net/output-buffering# K9 A$ N0 t3 F- k
  234. output_buffering = 4096
      l2 P; t* N/ X+ L3 i

  235. 0 F* {0 A9 l" @- ^' X
  236. ; You can redirect all of the output of your scripts to a function.  For, F, z2 f9 T6 @& i
  237. ; example, if you set output_handler to "mb_output_handler", character, I" l* g2 S5 p1 j, m
  238. ; encoding will be transparently converted to the specified encoding.
    0 E# A2 U( b- i
  239. ; Setting any output handler automatically turns on output buffering.- O. x6 b3 ?/ a0 _
  240. ; Note: People who wrote portable scripts should not depend on this ini
    / [0 |: T( I+ R8 ?, T2 L$ J
  241. ;   directive. Instead, explicitly set the output handler using ob_start().) x+ j$ x( k7 B' o9 D
  242. ;   Using this ini directive may cause problems unless you know what script! U6 ]; C# J3 {$ w
  243. ;   is doing.. [0 u7 h* K1 A9 J9 t5 w
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"' R' j$ U/ K4 J% j* Y- ?
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ' h' q# b( X  ^. ~% f
  246. ; Note: output_handler must be empty if this is set 'On' !!!!  n" \5 P  m* ]. R7 ?/ @- W3 P" b
  247. ;   Instead you must use zlib.output_handler.
    ' v3 V1 |  p7 J5 \4 T: x5 l
  248. ; http://php.net/output-handler
    8 i: \2 P$ [8 q; _; o/ v; \
  249. ;output_handler =
    3 b: t: n0 X, o4 _
  250. " |: q3 N4 s5 o' f+ K* U* {
  251. ; Transparent output compression using the zlib library
    : g, \8 V4 \* s% b# S! S
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ) z6 J, u) D/ Z* U
  253. ; to be used for compression (default is 4KB)
    ( v( i8 k9 w# d# w1 S* a) I8 S
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ) k' b8 W" W8 u( |$ [6 ]
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    0 ?( Y6 |7 ^  o) ~1 H0 O7 }
  256. ;   compression. If you prefer a larger chunk size for better! }& M8 _$ m5 _/ u, a1 w/ U
  257. ;   performance, enable output_buffering in addition.3 @' {/ ?3 s, x, n* A
  258. ; Note: You need to use zlib.output_handler instead of the standard: x! l0 x4 P0 p
  259. ;   output_handler, or otherwise the output will be corrupted.3 X) P$ A% A& {; ~  d% Y, {
  260. ; http://php.net/zlib.output-compression
    . s0 h( G& k; A& f
  261. zlib.output_compression = Off3 T. O1 R3 F7 d1 |* s
  262. ) M8 I6 @# y  o* m& h
  263. ; http://php.net/zlib.output-compression-level2 I8 d* j& X( g- @0 B8 h
  264. ;zlib.output_compression_level = -17 u  ?9 c. g: Z4 C1 I! i/ y
  265. 0 f% s% [+ J  o( ~$ H. _
  266. ; You cannot specify additional output handlers if zlib.output_compression
    " ~) w' ?4 w. Q  g
  267. ; is activated here. This setting does the same as output_handler but in
    4 G/ j& y4 F; N3 P& t- P) d# W
  268. ; a different order.# Q' ~; X$ ^/ M$ V  C, p
  269. ; http://php.net/zlib.output-handler
    ! p- _! g, Z6 I$ x* R7 g
  270. ;zlib.output_handler =; P3 o7 _) {; ~6 `+ g/ \

  271. : a" k, k' Z0 v; y7 [$ ~% c6 L7 E
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    ; @6 B  a& p$ {* e7 C. P6 }8 H: d
  273. ; automatically after every output block.  This is equivalent to calling the  C* e' X! W, R2 B3 q8 C0 E2 R
  274. ; PHP function flush() after each and every call to print() or echo() and each
    . n4 o, v$ A0 X- O& o  v  b  f
  275. ; and every HTML block.  Turning this option on has serious performance& T+ U, O3 Q8 r) C8 z" _2 s9 w
  276. ; implications and is generally recommended for debugging purposes only.4 F5 W! b& T" i3 S
  277. ; http://php.net/implicit-flush( D; {3 F$ v' u
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    ' q- Y6 d6 C& i5 y; G
  279. implicit_flush = Off
    ; W7 M! Z: e9 R: I8 N
  280. - [4 i/ `1 ^  F" Y2 `# f
  281. ; The unserialize callback function will be called (with the undefined class'
    1 J2 H' O$ p& `& V, L$ o' T
  282. ; name as parameter), if the unserializer finds an undefined class
    & l. E- {$ ?% ]/ Z! ]8 J# I/ h, Z  |
  283. ; which should be instantiated. A warning appears if the specified function is5 g/ n0 o4 Q+ M2 J( P3 }
  284. ; not defined, or if the function doesn't include/implement the missing class.
    # z6 T; j3 t! n
  285. ; So only set this entry, if you really want to implement such a. Z5 C* @  n/ a" Q3 V; p* c
  286. ; callback-function.
    ! y6 x4 H, t2 a% P6 b6 i
  287. unserialize_callback_func =; w, F0 ]! c5 C: k, r# o7 a

  288. + C, T3 m: z( w7 C: |
  289. ; When floats & doubles are serialized store serialize_precision significant! O( [* t' I4 N7 W
  290. ; digits after the floating point. The default value ensures that when floats* A( k: Q2 [+ c5 P' A8 P: k7 o% C
  291. ; are decoded with unserialize, the data will remain the same.% ?) M8 _9 n5 _& j+ ?
  292. serialize_precision = 17! I9 p3 ^  }6 Z2 w$ c0 S- p
  293. ( D  W' ~9 v. R' n" {8 v: A* d
  294. ; open_basedir, if set, limits all file operations to the defined directory
    6 M. b" \% l/ q/ |
  295. ; and below.  This directive makes most sense if used in a per-directory- |' F' u6 a; P# d" }/ v. M
  296. ; or per-virtualhost web server configuration file.9 W& W- x: N7 S1 C3 I
  297. ; http://php.net/open-basedir
    0 ]* B* N% v+ y" k( |
  298. ;open_basedir =3 A6 U8 f/ s  s. x; X. T, D: O8 ]6 D

  299. ' C2 F+ G5 ^4 m6 `, {
  300. ; This directive allows you to disable certain functions for security reasons.0 T6 @2 V4 {' R8 [+ g
  301. ; It receives a comma-delimited list of function names.
    1 G% V0 a0 S( h4 j
  302. ; http://php.net/disable-functions: e) ?; x9 L: O
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru( ~1 m1 w: g! A; A
  304. ; S, ?+ N$ p$ b5 V. ~+ V. u8 D
  305. ; This directive allows you to disable certain classes for security reasons.
    2 j/ X- x2 e6 U
  306. ; It receives a comma-delimited list of class names.
    - q! k! z1 Q3 s2 A5 A& _/ g
  307. ; http://php.net/disable-classes
    * F. j) D- \! A$ w# q
  308. disable_classes =
    ! {# w' j0 b# H2 X
  309. % M( S% Q2 }8 z  ~7 l
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in) }' |7 ~; O, j9 C4 _/ X4 [
  311. ; <span style="color: ???????"> would work.
    2 V, O, l# U2 x% i- X5 W
  312. ; http://php.net/syntax-highlighting
    8 H5 B9 x9 D# n  O  e) E7 j
  313. ;highlight.string  = #DD0000
    ) V; Y& v0 T) v1 C( N5 h) t
  314. ;highlight.comment = #FF9900
    / ]. D5 X! Z. t6 t3 X
  315. ;highlight.keyword = #0077003 S4 _5 n1 H5 b
  316. ;highlight.default = #0000BB- W9 o$ w2 V6 J9 a$ [/ w3 a
  317. ;highlight.html    = #0000009 J4 U7 B7 h% U; p) J. \
  318. 5 p, ~" {3 A& u% j3 g
  319. ; If enabled, the request will be allowed to complete even if the user aborts+ }$ X& M+ M# @
  320. ; the request. Consider enabling it if executing long requests, which may end up: M3 O* X7 R3 ~. F) p* L
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ( @4 k* E6 k6 i  ]
  322. ; is to disable this feature.7 u+ k- r4 D8 v; v: ?% o( r* ^
  323. ; http://php.net/ignore-user-abort
    ' {! W2 ~7 Y' O  D: @* f' A
  324. ;ignore_user_abort = On# T; G( s% o' c

  325. 6 E) f7 @6 Y5 k, U3 h  v
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    9 d5 {5 c" i$ P% R$ c8 a
  327. ; be increased on systems where PHP opens many files to reflect the quantity of4 K( E; j6 d6 i2 z
  328. ; the file operations performed.
    - x; {7 n3 V1 B7 h# r
  329. ; http://php.net/realpath-cache-size0 b4 }. S; y5 j. U9 U
  330. ;realpath_cache_size = 16k
    ; n1 ^; i0 m" n8 {& _2 C* `
  331. 0 i, O* K" Z; I
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    % Q+ Q( X5 R; i
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    % Y: W6 b9 g, k; l1 O$ i
  334. ; value.5 G4 H+ R$ i- l! V( n+ I- h  f
  335. ; http://php.net/realpath-cache-ttl# M; F7 L" I/ }! H' q* t3 c
  336. ;realpath_cache_ttl = 120
    , n3 p8 t8 F* e4 I0 S
  337. 9 w$ U! _$ g6 K' k8 M" C1 a/ e' d
  338. ; Enables or disables the circular reference collector.
    / g5 K7 ^  [" y' p
  339. ; http://php.net/zend.enable-gc
    8 f9 a+ ]6 b9 C2 k3 \
  340. zend.enable_gc = On0 ?1 U% g8 `7 _: {
  341. ) Z+ k7 L# z1 x9 p* k1 ?7 k
  342. ; If enabled, scripts may be written in encodings that are incompatible with/ i. Y3 A: _8 \2 K+ |$ ]8 L* u
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    : M6 F$ Z2 x* p  F5 ?
  344. ; encodings.  To use this feature, mbstring extension must be enabled.; z0 I$ m3 t4 l  V- B- w: T
  345. ; Default: Off
    , Y7 p0 ]; e: M. l5 o
  346. ;zend.multibyte = Off
    ( c/ o1 P. F8 q: h2 N* S* M3 u

  347. 7 ^0 g1 p& l0 r9 C0 V
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    ; k4 @  t8 R4 [, _! c
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.* L- D3 M! J( D2 g
  350. ; Only affects if zend.multibyte is set.4 u5 N: [+ k+ ~$ k) A
  351. ; Default: ""* \; g$ B6 I! Q" S, q; Q8 D
  352. ;zend.script_encoding =# u0 z2 W$ P0 q- h( R! N

  353. $ D6 g% E- a; z5 p  K9 y! n6 U9 c9 p
  354. ;;;;;;;;;;;;;;;;;
    ) _3 L1 v+ {" Y
  355. ; Miscellaneous ;
    & Q+ Y) h/ y& k" E% b% J& o% I& e
  356. ;;;;;;;;;;;;;;;;;" h9 o0 D# t1 {9 A0 ]) {
  357. 2 D. ?1 N  y5 c& d4 W. v
  358. ; Decides whether PHP may expose the fact that it is installed on the server/ T& p5 @/ f' T, c) N5 j) M1 Q5 i8 x
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    , I% Z8 z- K* j1 x- G) k: T
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    $ X. v6 p  S" _
  361. ; on your server or not.
    & Y% B# V( z! k: n4 F+ r6 j
  362. ; http://php.net/expose-php
    . I' a7 m6 s! j+ f- w) J! j
  363. expose_php = On1 l9 {/ B3 ]/ w) ^& I! C  S7 Q
  364. 5 j$ \- ^& v0 d2 G; M4 A
  365. ;;;;;;;;;;;;;;;;;;;+ ?" n0 w% y" O8 |
  366. ; Resource Limits ;* j* `5 V' D+ L
  367. ;;;;;;;;;;;;;;;;;;;
    6 ?3 w# D. N3 G4 u/ |% J" H

  368. , ]( ?9 x0 `9 v4 V2 Y1 G2 J! A0 o
  369. ; Maximum execution time of each script, in seconds
    ( c- s, q* N; S7 ]- r1 c
  370. ; http://php.net/max-execution-time$ ~* t+ U& A$ i# V1 ~! D7 |
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    6 X, B* i/ o; N8 w4 T
  372. max_execution_time = 3009 G$ R/ k3 d5 y: h( r1 u  l
  373. - c% h5 g: F, M5 Q) ^0 v
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    ( I' y  D1 T; U8 ?4 r+ [0 ?
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly1 U4 c7 ]9 q, E
  376. ; long running scripts.. a1 _8 t- d" K
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    $ {* [2 f& {/ n  B+ A1 n
  378. ; Default Value: -1 (Unlimited)
    ) @9 [: q( _% z4 M) d  l" U4 Q( ?
  379. ; Development Value: 60 (60 seconds)0 H: s$ V# v* Z  B" n) u
  380. ; Production Value: 60 (60 seconds), h8 J4 r3 u- S- C, k& e# a# Y' L! V
  381. ; http://php.net/max-input-time
    ' K2 J$ o2 y3 d2 F$ L
  382. max_input_time = 60
    4 j7 \3 f# ?0 b! j
  383. ' Y# ^0 @  G3 Q1 m( r/ C
  384. ; Maximum input variable nesting level
    2 v- z* \6 U4 Y
  385. ; http://php.net/max-input-nesting-level9 ], `7 O) K2 d( O
  386. ;max_input_nesting_level = 64
    2 w  c5 d- k; d
  387. . ]! Z" o) j: h9 |2 K
  388. ; How many GET/POST/COOKIE input variables may be accepted. Y1 E! u. ]' F( r, e0 _) G
  389. ; max_input_vars = 1000
    & p/ i6 ?: I) y* S8 O6 v

  390. + a; Y3 T: [: D
  391. ; Maximum amount of memory a script may consume (128MB)
      X( }3 I+ j0 U, z2 N
  392. ; http://php.net/memory-limit
    ! d! H- t/ L$ A7 r
  393. memory_limit = 128M( Y7 e% c4 F' z) ^( a& X7 g

  394. 8 `' @& a: u# i' p$ M; H0 V4 V3 ^
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    " H7 ^. y5 A* {
  396. ; Error handling and logging ;
    , y( E* d& B. P) o  J3 u. l
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ) ]: H0 k7 w2 @& Q/ J3 c

  398. 5 G* Y6 c, |/ ~
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    # H! v/ T- y' @6 f# p( w
  400. ; it to take action for. The recommended way of setting values for this
    9 b* S& f  m/ `4 b
  401. ; directive is through the use of the error level constants and bitwise
    ; D0 _2 \7 h3 ~" i( W
  402. ; operators. The error level constants are below here for convenience as well as
    0 r# ?8 t4 K+ A0 a
  403. ; some common settings and their meanings.
    2 g$ q  f8 q: J1 H; E) l  J' v
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    7 {" \7 u0 U& p, [  u8 z" v
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and/ {; D& }& {& Y- h* [3 R) {
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    ) l( t1 C9 I* K9 e
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    * p& j, E8 Y; i3 u
  408. ; resources complaining about best practices and coding standards. That's what
    - }4 f) f" R: ]2 }
  409. ; development servers and development settings are for.
    & @+ {  T7 t9 s4 A
  410. ; Note: The php.ini-development file has this setting as E_ALL. This6 f. I7 T; y& q
  411. ; means it pretty much reports everything which is exactly what you want during
    - ?8 i, b* V( g% f0 r' y1 m
  412. ; development and early testing.& N4 G+ K- y# N9 a! W) d
  413. ;
    . z8 `( x4 n' X: u) K1 ]9 ?4 ^
  414. ; Error Level Constants:4 y0 Z* t. ]2 k) k7 y. e
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    9 ^9 I# L8 }4 ^  w
  416. ; E_ERROR           - fatal run-time errors3 q6 |9 `6 B/ l5 b1 [
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    7 `* r) n: D/ \; [
  418. ; E_WARNING         - run-time warnings (non-fatal errors)& j( c' c! @# k; A
  419. ; E_PARSE           - compile-time parse errors
    8 B+ C$ I1 ^% q' S8 g$ {, N" ?
  420. ; E_NOTICE          - run-time notices (these are warnings which often result- \) Q+ j$ u5 D- j2 {9 W* w  |; {, o
  421. ;                     from a bug in your code, but it's possible that it was
    8 o% c: v4 l- ^: P* S( Q; F
  422. ;                     intentional (e.g., using an uninitialized variable and
    . @: Q7 K: b( Y5 R9 P
  423. ;                     relying on the fact it is automatically initialized to an
    # U# O0 u, a2 J5 y8 I. E+ V
  424. ;                     empty string)0 Q4 k( Q4 o) X& }" a% \# g  g
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    6 B- ]8 q0 k8 F; A5 b" }/ L
  426. ;                     to your code which will ensure the best interoperability
    : p6 j2 L" n% E
  427. ;                     and forward compatibility of your code
    9 Y% v' _( ~0 t7 B/ u0 t
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    " d$ N4 u/ K$ f5 w) J! c5 B6 h! T
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    # M3 L1 D4 e  Z5 J% ~9 b) _
  430. ;                     initial startup5 Q7 q0 }! P- B9 q7 A5 j
  431. ; E_COMPILE_ERROR   - fatal compile-time errors; O/ ?5 Y; D% A4 H5 O
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)6 `/ u" a7 m2 ~# R( X
  433. ; E_USER_ERROR      - user-generated error message
    / L5 R0 p( P9 u+ l7 r
  434. ; E_USER_WARNING    - user-generated warning message+ _& b: o: V" h0 O
  435. ; E_USER_NOTICE     - user-generated notice message
    9 }6 |. n# [" e! K/ F- t, `
  436. ; E_DEPRECATED      - warn about code that will not work in future versions6 g( l) x- m- i3 w4 P
  437. ;                     of PHP( s1 R0 w3 ^9 Y( \  |
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings% T. r  m8 b, p
  439. ;
    8 F/ i$ l3 S# K5 e% d+ g
  440. ; Common Values:
    1 F/ |1 P; J  E( v8 t
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    8 c: F, b9 d0 h. D
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    - ~. ]. B& x/ ^/ J6 A0 l, Z1 K
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)) P! n1 I; D+ S5 J
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors). V; t. E+ b  @' ]8 u
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED  J+ s0 x7 \5 Y. Q6 b; Q
  446. ; Development Value: E_ALL
    7 c- ^' {. i% o6 m
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT* b+ V7 ?5 L, L: G+ ?9 C
  448. ; http://php.net/error-reporting: c! S- [( B5 i, R1 K! q/ f
  449. error_reporting = E_ALL & ~E_NOTICE
    * B! n% l% ?. L- y+ a# X- V

  450. - |- V5 b7 w9 W' Y1 T
  451. ; This directive controls whether or not and where PHP will output errors,3 P! D/ v. M0 ~* r
  452. ; notices and warnings too. Error output is very useful during development, but1 ^% u( v0 U, j' {
  453. ; it could be very dangerous in production environments. Depending on the code* d8 k/ e. K  u/ c
  454. ; which is triggering the error, sensitive information could potentially leak9 L: \; y, T* v4 ]& A
  455. ; out of your application such as database usernames and passwords or worse.* u* U$ k) O8 V$ y; k. U
  456. ; For production environments, we recommend logging errors rather than4 |& P- C% c6 j) i4 t7 R+ e
  457. ; sending them to STDOUT.8 |, g7 r! w: `- C, ?9 G
  458. ; Possible Values:! a$ i- O, p1 h' i; ~
  459. ;   Off = Do not display any errors3 q  q& R5 D$ E7 g/ M* U
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    # b" @+ P7 D, ]1 F1 Q. c) C% Q
  461. ;   On or stdout = Display errors to STDOUT
    2 m! u8 l8 ]( _7 S/ E3 Y
  462. ; Default Value: On3 |! B# B6 q. ~* Y
  463. ; Development Value: On
    7 _, n0 I; R  y7 I, u
  464. ; Production Value: Off/ j( U6 n0 {( O% y
  465. ; http://php.net/display-errors
    1 q6 F/ O& j* Y/ R- _/ b; p0 f
  466. display_errors = On
    ! J$ d  ]+ [( m. k2 F
  467. 4 f( T% C9 f% Z3 i! M
  468. ; The display of errors which occur during PHP's startup sequence are handled
    2 R) ^5 a# p* m" \3 Q
  469. ; separately from display_errors. PHP's default behavior is to suppress those4 j5 |" @3 H8 R: h% B
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    - p( K3 ~5 f! B1 C
  471. ; debugging configuration problems. We strongly recommend you  X% b8 g- z3 Q6 p; j, L
  472. ; set this to 'off' for production servers.& M. q& z% Q( w# Z+ \- u+ M8 I/ k
  473. ; Default Value: Off% X, o  z$ \# M  W
  474. ; Development Value: On
    7 w' b9 s1 W' y+ V" ^: S
  475. ; Production Value: Off% E1 S( k. A( ^7 D
  476. ; http://php.net/display-startup-errors- Y! l; B" }. H# l; g
  477. display_startup_errors = Off
    4 d- ~, x, x7 y% E
  478. 9 X8 J& f& l( l( @3 k  o
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    * |/ P3 f/ R  K) I' U- @0 |8 g- }
  480. ; server-specific log, STDERR, or a location specified by the error_log
    1 |) [. H) C8 {/ M) G8 Y/ `* r
  481. ; directive found below. While errors should not be displayed on productions/ _. m5 `$ v0 P2 t* w
  482. ; servers they should still be monitored and logging is a great way to do that.
    + d) a7 V8 R3 I; N. [- Y, R0 V
  483. ; Default Value: Off
    ; N+ ]; t) Y2 a  ]+ Z  q) `
  484. ; Development Value: On
    # b8 S1 }8 t% M2 q- x: h0 D: J# u
  485. ; Production Value: On
    7 _" y" J6 ~0 I: S, Q
  486. ; http://php.net/log-errors
    + i8 R% e# J' Y/ G% Y7 y
  487. log_errors = On
    8 t6 g- J5 T' F
  488. * K+ T4 [/ `' J5 j- O
  489. ; Set maximum length of log_errors. In error_log information about the source is
    % v9 t8 T6 Z- e
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    . H# {- Z1 r5 |  d! d- m3 w1 O
  491. ; http://php.net/log-errors-max-len2 z3 d7 h/ j- R) ^( j0 Z$ c
  492. log_errors_max_len = 1024
    5 Y4 D3 u/ }2 `7 W1 X3 ^9 |
  493. + k! S1 E5 w- o' ^
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same2 r; D7 G2 F- N, D" _- Y' d3 a
  495. ; line unless ignore_repeated_source is set true.
    # g: }; `: h) E2 k! |
  496. ; http://php.net/ignore-repeated-errors5 P) W% I* G- P( {
  497. ignore_repeated_errors = Off
    / t. R  H3 X- }% r+ U

  498. * F7 Z) l  B  {+ ]. s% ]7 y7 R
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    ! x' q- n5 A+ ?6 u5 m* N  k
  500. ; is On you will not log errors with repeated messages from different files or  W: I" L: G1 E8 Y1 y# D: e+ E' x
  501. ; source lines.5 `3 z) q3 F* ^& w- L
  502. ; http://php.net/ignore-repeated-source8 H7 U0 Z  L# n9 ]# R0 d
  503. ignore_repeated_source = Off
    5 x* F; V# W( B

  504. 2 H' {- U) ?# A9 y
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on( x! o/ |/ B# Y/ c
  506. ; stdout or in the log). This has only effect in a debug compile, and if: D4 m, S& c- R$ S1 U* K3 s; G
  507. ; error reporting includes E_WARNING in the allowed list  t+ l: G9 @$ f" w# R$ _% {
  508. ; http://php.net/report-memleaks
    * T% h9 f5 r& S% D* a7 F6 |
  509. report_memleaks = On' Q# p; a. U9 _. E" g9 S% o

  510. * m. M% ~' }7 N
  511. ; This setting is on by default.
    : P) D8 @# y9 a0 j, O
  512. ;report_zend_debug = 07 D# g: J8 p( a4 U" G* ^+ ?: k

  513. ; P2 @+ q) A* g/ L; }7 O4 x" g0 r
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    6 ~% [& [7 [! W* J$ ~
  515. ; to On can assist in debugging and is appropriate for development servers. It should0 E" a2 Z8 V/ h5 I% E
  516. ; however be disabled on production servers.
    5 _7 {+ ]) ]1 J* P; J
  517. ; Default Value: Off
    % W9 b: n3 r4 b3 x1 F2 N9 p
  518. ; Development Value: On4 s, \+ i& f. ?- Q& Y3 j7 @
  519. ; Production Value: Off& D7 x+ A5 E9 ]! q8 `
  520. ; http://php.net/track-errors$ F& z! o" d, a4 Y1 \
  521. track_errors = Off
    & A1 H& l+ `; l: b- r  `
  522. * Z: D% x5 h, j# a
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    : s) h6 ?7 _* X) {) }- q/ [
  524. ; http://php.net/xmlrpc-errors
    % e# V: v# S0 E. L$ b9 w: @) R
  525. ;xmlrpc_errors = 0
    . h8 Q# K- ^+ I/ d' G  S/ S

  526. 9 Q/ X$ w* y! C' W
  527. ; An XML-RPC faultCode
    - x+ L* q( P* g0 f
  528. ;xmlrpc_error_number = 02 n/ \+ y* w: F, k; F

  529. & x  J% |& V2 l% m+ t1 `7 \
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    , C4 g7 E: `/ `) W0 a
  531. ; error message as HTML for easier reading. This directive controls whether- g9 ?6 z2 z+ {# A
  532. ; the error message is formatted as HTML or not.* [" y" I* \  u9 S' ~
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    - x) u1 [# ?: K3 b7 y# E1 P
  534. ; Default Value: On7 b. }* @: B1 i7 C3 l7 f
  535. ; Development Value: On! M: c' \0 p# O5 A7 k8 [
  536. ; Production value: On. c2 k1 \+ @# i$ ~' p# t7 `
  537. ; http://php.net/html-errors
    1 T# `: h' P! Z1 v. [( V
  538. html_errors = On! ]* |9 E# ~) g6 y& l- Z: D) w
  539. 3 w- t: z/ ]9 T6 J3 c& {
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    , ?" o  E, Z/ d+ M  K* ~
  541. ; produces clickable error messages that direct to a page describing the error
    - H8 e  S- g' S  s4 C4 f1 W$ o
  542. ; or function causing the error in detail.
    . `4 w! z+ ~; P/ S( [) P% Z, D1 k
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    ( n+ [! P; F! m; ?& _) ]) ]9 k
  544. ; and change docref_root to the base URL of your local copy including the( ?" U) G$ r, @+ j- W
  545. ; leading '/'. You must also specify the file extension being used including
    $ V7 G" F$ _4 E$ w9 |4 e  @0 D$ ^/ }
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which, k1 H  f# e0 S1 ]+ n1 g
  547. ; case no links to documentation are generated.
    ! l. u* \& o: o- u, B, S
  548. ; Note: Never use this feature for production boxes.& n0 h. @& A4 x. u! \7 k- K
  549. ; http://php.net/docref-root
    ' H. x" z  S* |
  550. ; Examples
    $ I, J5 j! W; E
  551. ;docref_root = "/phpmanual/"
    1 C* W7 d7 }/ o7 w5 G2 b; h
  552. ! s/ R6 f( O0 v
  553. ; http://php.net/docref-ext( m1 j$ T6 k: B; @
  554. ;docref_ext = .html
    / @* H9 f) e) i% A7 b" c
  555. * {+ b) c3 Y9 e- i& p+ K
  556. ; String to output before an error message. PHP's default behavior is to leave1 H: l: {4 p( s
  557. ; this setting blank.
    9 {/ L) F$ `9 j; d
  558. ; http://php.net/error-prepend-string- |2 b2 z/ y: c6 \7 C. b
  559. ; Example:/ e& u) h+ I% t! H3 J. l. \
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    ( ~9 w: j* p8 s) k
  561. 1 X& x# r, @; Y. D2 b2 N
  562. ; String to output after an error message. PHP's default behavior is to leave
    9 M" |! ~9 x; f* [, B0 l, i
  563. ; this setting blank.
    / P! y+ ]& U: \: `
  564. ; http://php.net/error-append-string! j* E* I' E0 C8 I9 z
  565. ; Example:& G0 J* V# b( }
  566. ;error_append_string = "</span>"
    7 G& E9 t, z2 |8 V* {, r  W% E0 u

  567. 5 f7 u2 C5 ^2 _0 p
  568. ; Log errors to specified file. PHP's default behavior is to leave this value( F. E* o; |! w. X
  569. ; empty.6 o: o/ T- ^4 X1 r( k+ R0 P( c3 e* [
  570. ; http://php.net/error-log3 _. K: U6 x# }. c- z
  571. ; Example:* V7 U% g# z* X4 o
  572. ;error_log = php_errors.log
    4 w4 X- N. j* I5 `$ j! ^0 M7 n8 K
  573. ; Log errors to syslog (Event Log on Windows).& n. m' C5 ~! |3 ?: B7 I; y
  574. ;error_log = syslog
    " J; i6 `: {- p

  575. # ^* ^, `  {2 P8 ~* O) X
  576. ;windows.show_crt_warning
      M' n* ^- z  Q; w% R
  577. ; Default value: 00 u" U/ Z9 R& J$ G& I
  578. ; Development value: 0
      m( x2 A  K, a& K' @
  579. ; Production value: 0
    ! Q9 C0 B2 }  [
  580. 9 f/ F  h  n0 _2 W" w- a1 t% {6 ]3 v
  581. ;;;;;;;;;;;;;;;;;0 v8 O, b9 Q2 t/ J5 B1 K8 z
  582. ; Data Handling ;; {( _- `* M  Q, M  |. v" V7 E
  583. ;;;;;;;;;;;;;;;;;) f* k! P+ f/ E

  584. / }) f  ?4 r" `$ p6 O7 l
  585. ; The separator used in PHP generated URLs to separate arguments.! |' d  D- I. K! _) z6 Z9 c: y+ i8 J: x
  586. ; PHP's default setting is "&".
    9 b: u; F% P! q0 |
  587. ; http://php.net/arg-separator.output( `" D+ i# [3 V$ W
  588. ; Example:2 D1 e2 n- j) z; r2 }
  589. ;arg_separator.output = "&amp;"
    " K1 ]0 q6 G* y
  590. 7 L: g  r, I' o, a# E/ A% {
  591. ; List of separator(s) used by PHP to parse input URLs into variables.5 ?5 k, ^. \- ^  z' S4 ?
  592. ; PHP's default setting is "&".
    ' B' W6 p8 W7 w* @. G2 t4 R# }8 g
  593. ; NOTE: Every character in this directive is considered as separator!
    : S5 R4 \) ~5 q; j
  594. ; http://php.net/arg-separator.input
    . e' u; B3 L3 Z  E' f9 s
  595. ; Example:
    ) Z6 j) J9 V8 @1 {2 x& t
  596. ;arg_separator.input = ";&"0 i( a/ h7 @) S0 r; ]# n

  597. , ^! P- Z( A6 f0 {$ h6 n
  598. ; This directive determines which super global arrays are registered when PHP
    ) A# s* F2 ~( O1 ~
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super1 A, w6 q6 x1 }6 t7 }2 ?' O' Z
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty' r  l( y& g# w2 X$ p
  601. ; paid for the registration of these arrays and because ENV is not as commonly& F0 q0 Z7 N& r9 M; F" Y
  602. ; used as the others, ENV is not recommended on productions servers. You& l5 ]- q( [0 T) q! l2 t: i
  603. ; can still get access to the environment variables through getenv() should you" H' M+ i7 ^  ^
  604. ; need to.& I: b& p  h+ A% O) ]
  605. ; Default Value: "EGPCS"
    3 I% D6 p4 X5 l6 r
  606. ; Development Value: "GPCS"8 Y& f! s, V7 y' X  n
  607. ; Production Value: "GPCS";7 M( q, M/ @* t5 b' E2 N  x
  608. ; http://php.net/variables-order# r; m7 z+ J2 i# l8 X! y) X/ |5 j
  609. variables_order = "GPCS"
    2 e$ ^4 e, i6 n0 `4 `3 K5 m  X

  610. 5 Z2 z5 c# C6 ?" Z! D% e
  611. ; This directive determines which super global data (G,P & C) should be# f( @$ v! i$ |  U
  612. ; registered into the super global array REQUEST. If so, it also determines2 Z% n% g2 J0 i' G! s* T
  613. ; the order in which that data is registered. The values for this directive
    8 E, S( m2 c2 V  C7 x$ }+ J: d
  614. ; are specified in the same manner as the variables_order directive,- h& f/ D$ n. D) W% {, w
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    3 ]9 P0 o* r! w% B* g/ g- ]# E% W! ]% r) B
  616. ; in the variables_order directive. It does not mean it will leave the super4 Q7 L( w8 u+ Z1 u4 a
  617. ; globals array REQUEST empty.
    / L5 u* Q; ^$ Q' L
  618. ; Default Value: None
    ( H# t  B7 w9 x) o3 m: I  p: h, }
  619. ; Development Value: "GP"$ {0 h$ @- V+ l4 l! k3 f2 e' r8 q3 i
  620. ; Production Value: "GP"* g0 s7 W. @; H/ K' K
  621. ; http://php.net/request-order$ \" F9 A( Q3 R* b' g, ~  g& b
  622. request_order = "GP"
    : \3 M/ o: ?0 G

  623. 4 |. h: E/ ~& x4 D. f
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    ! G* n$ h; {# U6 D2 K2 [
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script* r/ s6 H1 {2 G2 O
  626. ; is invoked. $argc contains an integer representing the number of arguments( T$ @: ~& E! H) x' Y& f4 ^
  627. ; that were passed when the script was invoked. These arrays are extremely
    + b/ _1 L( \' A) O( |" d
  628. ; useful when running scripts from the command line. When this directive is, H" c3 b( Z& t6 \) G6 {
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    5 C+ v6 u7 E  e8 a4 D7 _5 m
  630. ; a script is executed. For performance reasons, this feature should be disabled
    + i3 C) R7 D) T( [& m4 ~
  631. ; on production servers.
    , K$ g+ x, Q1 C2 z- l; N4 k! t
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    ; Q& O- E3 s. d0 R" \( w- l$ Y
  633. ; Default Value: On9 o9 m, o# Z" m) k! \3 A0 T" n
  634. ; Development Value: Off7 I  D& b! |- \2 Q5 r. Y
  635. ; Production Value: Off
    8 }# v- N( ~4 \$ q! y6 {; }  O
  636. ; http://php.net/register-argc-argv0 _! ?9 Q( Z7 ]& l
  637. register_argc_argv = Off9 ^) a+ Z8 y. P2 o
  638. * f& y$ R" X$ o& _1 U! l8 z
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    , }( {; I' K5 d* e$ h3 K3 B
  640. ; first used (Just In Time) instead of when the script starts. If these
    4 e/ k4 a) P! U' ]! Z* h9 R, F; w
  641. ; variables are not used within a script, having this directive on will result
    6 N. \7 p6 a$ {3 {+ {" z
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    + k& B0 @; p1 d5 V: u- E
  643. ; for this directive to have any affect.
    9 `8 \2 F7 K. F/ o2 k
  644. ; http://php.net/auto-globals-jit% k0 O, t6 }& L* k. T. F2 P. O7 ?, h
  645. auto_globals_jit = On
    # z% e' a- [8 D/ H. B

  646.   A( d) J  E2 S% n: T( Q
  647. ; Whether PHP will read the POST data.$ T* c( g% L8 ~1 ?
  648. ; This option is enabled by default.* s3 m6 P- ^$ }/ x7 j
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    4 y1 Y7 u$ F- T' r: t- w4 k
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    4 V8 `9 e0 A/ p7 T5 W) ^
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    / @7 x" H" k& v2 M' {) s
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.+ c+ }9 N4 w  y
  653. ; http://php.net/enable-post-data-reading
    0 T: Z7 a8 f, k  l6 i
  654. ;enable_post_data_reading = Off
    3 O; L0 G8 Y4 D5 l( @1 F  t
  655. " ~5 c# l9 A% v
  656. ; Maximum size of POST data that PHP will accept.0 ?9 a& h8 Z) u
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading" T/ q" v* T) w: a  ~. I9 @' C1 s+ l
  658. ; is disabled through enable_post_data_reading.
    # A5 y* |, J& U$ T0 ^% q
  659. ; http://php.net/post-max-size
    1 c0 ?2 g/ y( ~" `, ^- f; |  G& S
  660. post_max_size = 50M
    " j# P4 Q/ A. s% u  S

  661. 8 F6 y; Z/ n- S, Z" ?
  662. ; Automatically add files before PHP document.
    6 j+ ~0 ^, z8 I# T+ i* }
  663. ; http://php.net/auto-prepend-file
    ) r& w6 M$ B4 l5 n" m
  664. auto_prepend_file =
    ; p# w$ R) C$ T
  665. 2 c& G. ~* z2 K3 l/ Z* q$ o/ W
  666. ; Automatically add files after PHP document.
    5 h# `% H$ N& @& E6 s4 C
  667. ; http://php.net/auto-append-file
    " H+ Z. Z3 c6 e
  668. auto_append_file =
    ( C4 v: Y8 _7 ]/ V! _) K$ `. r

  669. 3 J4 ~3 s4 a" n1 L" ]- T
  670. ; By default, PHP will output a media type using the Content-Type header. To% }9 W# N) ^! y, S  r0 e, w
  671. ; disable this, simply set it to be empty.
    . k2 Z" C* a. M- K$ y  k* E. N
  672. ;( O" O3 `" V' J2 a! h' D  |( k
  673. ; PHP's built-in default media type is set to text/html., {$ C/ d2 f& S! V# \4 D4 x
  674. ; http://php.net/default-mimetype2 q7 b0 V8 [4 B8 e
  675. default_mimetype = "text/html"& u% j5 \( w9 d# Y3 }/ Z$ P

  676. 1 U8 ?# ~) F6 b0 o1 P$ S
  677. ; PHP's default character set is set to UTF-8.
    2 y+ ?- M: C: R( H0 {$ B
  678. ; http://php.net/default-charset
    5 Q1 a8 Z- x; @: e9 l
  679. default_charset = "UTF-8"
    5 h# `# q: n# z, I  E7 M, C" ]

  680. * w* K+ j" [1 K6 K: h3 M. I
  681. ; PHP internal character encoding is set to empty.: Y0 h9 r4 @3 `8 M2 {8 E
  682. ; If empty, default_charset is used.- G0 _+ g6 _* R9 u" V
  683. ; http://php.net/internal-encoding
    + P( G) f% R% `; Y7 I% M4 B2 M, u) W
  684. ;internal_encoding =
    . U2 X, J, x4 @: d0 F( r
  685. # l# ~1 L" N& ~8 @: {; j2 {0 Z( m! o  K
  686. ; PHP input character encoding is set to empty.
    " y" w% C! y# w4 Y- v, S* s& V
  687. ; If empty, default_charset is used.
    ; Y7 T, n" x& v' I# k  \4 f) F) ^( J
  688. ; http://php.net/input-encoding
    & T4 F! b$ D& G0 F# u7 {# |- }
  689. ;input_encoding =' L7 s- c1 [1 D1 x7 ]% n
  690. . X/ \( G$ l; O3 K, x4 m% O
  691. ; PHP output character encoding is set to empty.
    - Q6 a2 ]$ V9 e7 ]0 R
  692. ; If empty, default_charset is used.+ a& g; q4 T$ [+ ]  J
  693. ; See also output_buffer.7 V/ _7 x+ G6 y
  694. ; http://php.net/output-encoding# t8 X; i# N/ F6 w# `
  695. ;output_encoding =& @0 g& r( y! E0 a( D$ v
  696. 1 D" i$ F7 V- D1 M+ b
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    7 n6 C8 S/ m, ~. `
  698. ; to disable this feature and it will be removed in a future version.0 @; m' z; Q4 |  J6 |7 r
  699. ; If post reading is disabled through enable_post_data_reading,# }9 V2 `% R. d5 K% V: w
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.; ^/ O0 Q0 R4 M( X
  701. ; http://php.net/always-populate-raw-post-data
    % A0 m' H" ]; n5 R3 `
  702. ;always_populate_raw_post_data = -1( S' D5 ~5 [' a# ?
  703. 2 V$ B$ I6 ~9 A4 R, z
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;4 e2 r" P7 `* w  g; K( C7 ?  ]
  705. ; Paths and Directories ;
    1 w. `  P* T9 h+ N$ t* @
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    1 L# |( l: W% X: P$ I. B* v

  707. 4 o( K+ r4 m6 w. t
  708. ; UNIX: "/path1:/path2"8 b+ M! x0 k. l! p* ]1 j& |
  709. ;include_path = ".:/php/includes"2 O/ x& s, N+ @, }2 s! r. O' ~5 Q
  710. ;
    5 D! n9 z9 S- ]4 {0 y/ b6 y5 Q) v
  711. ; Windows: "\path1;\path2"
    : k5 P% E  Z1 X% F1 k+ u+ @2 V
  712. ;include_path = ".;c:\php\includes"" }* d$ r% O( G. M( H* }: x; m4 `
  713. ;# S: K/ \; f* U( D- }+ E
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    1 n9 ?* ?2 @  A( S+ ?' N
  715. ; http://php.net/include-path
    - ~; q5 v2 C1 ?6 C- N

  716. 2 \, x- k2 J0 m! Z
  717. ; The root of the PHP pages, used only if nonempty.( w) y+ t9 n7 H
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    5 i/ F0 C. Z2 @* ~, b. i
  719. ; if you are running php as a CGI under any web server (other than IIS)
    " E0 h9 _5 z) z4 g6 g
  720. ; see documentation for security issues.  The alternate is to use the
    5 v& }% r* p4 I
  721. ; cgi.force_redirect configuration below- q- E/ p) z/ t3 Z" x8 {
  722. ; http://php.net/doc-root
    . O8 l; L' U4 V5 [1 c/ Z+ n; {
  723. doc_root =" r* S* o; t+ c9 A
  724. 6 t6 X8 Y& p% N9 j9 W  f" C+ q2 e; v
  725. ; The directory under which PHP opens the script using /~username used only9 P% Y( R* F) e5 t* P( e, W
  726. ; if nonempty.( V& q- I5 m0 I1 |1 d- y7 U
  727. ; http://php.net/user-dir
    ' N" i, `5 f3 q* }& G& G
  728. user_dir =' c2 y  s' x$ {& _  z+ F  l
  729. ) n' L( x* z& q; t0 {0 V. h6 \0 {
  730. ; Directory in which the loadable extensions (modules) reside.
    9 W: N. N& x/ K5 }
  731. ; http://php.net/extension-dir% m0 H) T7 K  N4 e
  732. ; extension_dir = "./"
    - |7 [0 v# f/ {5 `6 w* q- w
  733. ; On windows:
    + |5 \0 u  B% I' \, Y
  734. ; extension_dir = "ext"& Q0 L# t! t/ a- O3 |
  735. 4 q4 G+ {4 ?2 s5 L* x
  736. ; Directory where the temporary files should be placed.1 \8 @/ K2 Q& [& K* ?- K- |, b; `
  737. ; Defaults to the system default (see sys_get_temp_dir)9 |  O, a! n6 ~! m( ~- @& f
  738. ; sys_temp_dir = "/tmp"
    " a* V4 w/ x9 u& k0 V" t
  739. / |0 c4 q, Y3 r, E7 }) \
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    3 m# g4 f0 k* u- }, o
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ; K, ~( A* V& {" {0 {. H. ~
  742. ; disabled on them.
    % D+ ^$ ?* O) @% @4 W
  743. ; http://php.net/enable-dl' P7 H5 E$ ?8 j- R6 L1 ^
  744. enable_dl = Off
    % V! {8 Z2 V# i* s0 z" @  M& Y
  745. 9 u. H$ O) [, C
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under7 Z% I' E8 h5 x' V8 f) M1 W; i
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can* m5 G, z+ E6 p7 O1 G- L1 o3 O
  748. ; turn it off here AT YOUR OWN RISK
    # @3 L( d2 K6 p! m0 g! e7 a
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    8 G- q  N5 }/ ~+ N
  750. ; http://php.net/cgi.force-redirect
    ; _! N+ K! R, w" V2 r$ l0 \9 |
  751. ;cgi.force_redirect = 15 }; j3 s2 G+ n7 j4 y
  752. # k! ?0 `7 j3 A+ v
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ! b' S" U2 x1 f3 G3 j
  754. ; every request. PHP's default behavior is to disable this feature.. Z+ N4 T2 N+ B- t+ D2 N9 _% |
  755. ;cgi.nph = 1+ M+ e; b# S  h" T/ J7 f
  756. 9 e; O4 }5 ?# Q; d( h: R
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape) {; W% ]" r! R2 @
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
      ?9 q1 C: H8 M% J8 h8 j4 D% @
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY0 R# f9 n; X3 V6 j% \  d; h; U6 |2 j
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ' ~8 f! d) ]) D. N/ Y' z
  761. ; http://php.net/cgi.redirect-status-env
    / k( m4 C" M+ \2 l4 Z: y; F
  762. ;cgi.redirect_status_env =, m* X2 ~* T' |9 K) e, k
  763. 5 J9 o! X0 }( m( S
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's6 o7 ^" ]  R2 \( ~. R8 v
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok& c9 x5 F8 q9 e2 z* T: X
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    2 s" r  M6 E! A3 _( M- A  X+ h/ A) ~
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting+ Z  I4 @- f/ O; n
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts. G6 `3 b1 F6 o' Y. \, g
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.) i3 ^; W$ u( D' _9 t
  770. ; http://php.net/cgi.fix-pathinfo
    ' Y3 e" w5 O; t1 S
  771. cgi.fix_pathinfo=1
    - V# k! L* s& ^* v: A' T% `$ `2 A

  772. 2 B, P" B$ b) z6 p, g% T7 y
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    2 K5 [( w7 u. ?# Y( W& h5 P
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
      h- `! Y8 K6 o9 Q, r
  775. ; http://php.net/cgi.dicard-path
    0 Q# a' Y8 @$ _
  776. ;cgi.discard_path=12 R% v' r, Z& f

  777. * X7 s8 i, N; p# w8 U0 f
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    - h/ C+ {# u2 C9 s+ T& v2 V" k" M
  779. ; security tokens of the calling client.  This allows IIS to define the
    6 X# j9 g+ E' g* c7 V/ Z
  780. ; security context that the request runs under.  mod_fastcgi under Apache2 c* D5 ^3 r! b+ n6 ]5 y
  781. ; does not currently support this feature (03/17/2002)
    9 y0 I: K# y5 S1 W4 ]8 D
  782. ; Set to 1 if running under IIS.  Default is zero.
    2 s" m% d. s4 u3 Q5 ]/ C1 U- y+ V# Q5 ?6 j
  783. ; http://php.net/fastcgi.impersonate" u0 U8 Q7 R6 L9 `
  784. ;fastcgi.impersonate = 10 f5 b; y2 |+ g- w

  785. : r: Y9 W7 s5 J% ~
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable  u7 p! k  z* D0 m* ?
  787. ; this feature.7 |: [. H* e6 J+ @$ Z4 }
  788. ;fastcgi.logging = 02 j# q" J; |! [( l8 G

  789. 9 {$ ]6 G' H4 |: Q
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ) v- G1 @; Y0 [# t
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    9 ?: `1 _4 L% U6 L1 I. V
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    ; x' p5 n9 g  o
  793. ; RFC2616 compliant header.
    . l! B. {( A! [5 l
  794. ; Default is zero.
    " @' f& v  B# o  V5 d
  795. ; http://php.net/cgi.rfc2616-headers* N. ^3 R, I( Y$ r$ z
  796. ;cgi.rfc2616_headers = 0( f3 m( ]+ c& s# Y( V+ z
  797. 5 n% {$ C& X( d( X# n/ G6 i
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!& S3 c" H0 M4 k8 G( Z! [
  799. ; (shebang) at the top of the running script. This line might be needed if the9 g# j8 A. {. m1 y; a0 ?2 m& d
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    : f; o$ `+ d( e9 g6 ~2 u
  801. ; mode skips this line and ignores its content if this directive is turned on.6 U( V$ t% y- B# T3 ]: k2 y8 @5 @
  802. ; http://php.net/cgi.check-shebang-line9 O& |  R; T, W0 f7 I1 I
  803. ;cgi.check_shebang_line=1
    & w6 H/ H' C: A  d
  804. 0 ]! j: T( w" C5 u4 R- S
  805. ;;;;;;;;;;;;;;;;; ], F: M5 @8 e. ^: H
  806. ; File Uploads ;
    9 h8 O( W5 C" m! ?
  807. ;;;;;;;;;;;;;;;;
    " B: |9 J7 j3 r

  808. - v1 p/ V8 v# u# F3 m" U( H8 F; a
  809. ; Whether to allow HTTP file uploads.. a7 u8 ~0 ?( E) q+ f
  810. ; http://php.net/file-uploads
    - @; G. w- U4 {- {3 k4 {( ~9 G3 ]
  811. file_uploads = On
      {- j; H2 ^2 s& T# d$ q

  812. ( E: o- p& ~! ^. l
  813. ; Temporary directory for HTTP uploaded files (will use system default if not+ k; K* Z* ?& N6 z' p! L8 ~
  814. ; specified).
    # u$ r7 q- m! \) B! h% r. \8 a
  815. ; http://php.net/upload-tmp-dir+ M( a: l7 x/ q' E
  816. ;upload_tmp_dir =0 z5 M9 [( X" v: A6 \9 \* [- B
  817. & w+ E% P* V) Z0 Z
  818. ; Maximum allowed size for uploaded files.6 T: Z& `( Z! j! U* _- J
  819. ; http://php.net/upload-max-filesize
    4 ]/ E& k3 U! `0 v1 C6 S
  820. upload_max_filesize = 50M
    ( C, Q2 _% t" h# b: s

  821. 9 U7 h  ]. A# g
  822. ; Maximum number of files that can be uploaded via a single request9 x3 @) [6 |( {8 Z( Z6 y
  823. max_file_uploads = 205 c( {) N4 G3 H1 h  o! c

  824. - t& a) L; v7 j' ]* |
  825. ;;;;;;;;;;;;;;;;;;6 E3 C" v$ `/ s! i2 F
  826. ; Fopen wrappers ;
    # X0 g3 g8 i. O4 S, n6 C
  827. ;;;;;;;;;;;;;;;;;;9 Z4 m6 I$ l4 U& _/ f# A' w

  828. 5 y+ W' T0 C6 o& G0 r) f1 Z$ `
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    5 T$ s4 V- q. t" j, Y- h
  830. ; http://php.net/allow-url-fopen- `# z5 S5 S+ G2 a  N# r! t# I) \
  831. allow_url_fopen = On2 ^+ O! M" |, e7 y$ w

  832. + z& u. K7 [9 O7 T1 m7 k
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    : E3 c! \7 B- c* B( `& U
  834. ; http://php.net/allow-url-include
    + c2 o1 D( n4 n$ Q! c3 U# Q4 M! `
  835. allow_url_include = Off
    / k2 f* s  H. b8 }

  836. 2 H5 S, o% V) d
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    0 e: H% W% K9 R. e- D7 i* \
  838. ; for this is empty.& z2 P; P. d2 [' l  z# f1 j
  839. ; http://php.net/from
    & l0 y- x8 N& h6 J9 n
  840. ;from="john@doe.com"$ H6 q+ S+ `3 ~# O% u, z

  841. ) v* w2 x: \7 E% c4 \# E
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    . \: }: A/ F$ K& v
  843. ; http://php.net/user-agent
    9 _8 k, O6 }- M/ y
  844. ;user_agent="PHP"# @* L' \* I( R2 ?% F& I( H
  845. ! E5 I3 g, r/ Y  G& `$ ~+ j, A* e
  846. ; Default timeout for socket based streams (seconds); G4 k0 U- w3 r  G
  847. ; http://php.net/default-socket-timeout
    6 O; e3 V. g/ A4 B8 C5 }, h) r
  848. default_socket_timeout = 608 K' G, r, {# m7 @. D

  849.   M' y6 n8 q; t* {2 K# k; z, b+ s' t( ^
  850. ; If your scripts have to deal with files from Macintosh systems,  V! `4 D% i8 b8 a' E7 z
  851. ; or you are running on a Mac and need to deal with files from
    , ?% {* P& Y9 n* ?' T0 G2 t7 a; Q7 o
  852. ; unix or win32 systems, setting this flag will cause PHP to1 g7 I1 z/ V. v
  853. ; automatically detect the EOL character in those files so that
    ! X5 M3 R) l& w7 j2 }* H* N
  854. ; fgets() and file() will work regardless of the source of the file.' n3 P& `; j  E, |
  855. ; http://php.net/auto-detect-line-endings
    6 T' v3 c* l+ Z0 J& d9 Q
  856. ;auto_detect_line_endings = Off! F0 R6 ]! R$ B

  857. 2 ~$ u; K4 n4 e& C% [2 e5 }
  858. ;;;;;;;;;;;;;;;;;;;;;;
    % z! [  ~) T: s7 x9 N/ E
  859. ; Dynamic Extensions ;1 B1 S2 C7 k7 t- d
  860. ;;;;;;;;;;;;;;;;;;;;;;! }/ o, i$ T  W1 O3 X2 f1 K

  861. 6 e0 V7 B, m; {1 B
  862. ; If you wish to have an extension loaded automatically, use the following
    % z) M+ n; R/ C$ u( ?; K
  863. ; syntax:
    6 l3 }6 e6 r- H$ ?4 Z; w
  864. ;
    , w. e: ]6 U& b4 j4 G9 o. O
  865. ;   extension=modulename.extension
    2 V% a$ m* s! ~( N" o9 {4 e' M
  866. ;) T7 l+ x  d2 M" \% b/ x
  867. ; For example, on Windows:$ ~1 Q9 \5 z+ E/ Z( t% V0 G! h7 F
  868. ;% N& w/ s  |3 L% x& b- m( J
  869. ;   extension=msql.dll
    6 A! z, Q/ Z- f& c) X1 H7 ^
  870. ;
    8 X8 v# r: b+ t  b, _2 _% G7 G7 g* p, f
  871. ; ... or under UNIX:
    3 \2 e: ~( e3 Z- r
  872. ;
    # p1 U  |6 g  [  a9 |& |- A3 |, V5 h
  873. ;   extension=msql.so
      ~* |" G6 ?  d' O6 Y* n
  874. ;
    2 h* }# T2 {7 r4 Y" b" v# Q
  875. ; ... or with a path:
    * a& y9 e, G* w6 v
  876. ;
    2 e3 e" X7 K8 B0 T( }# l( D3 I
  877. ;   extension=/path/to/extension/msql.so
    . n" J: U" {* ]: k' K& M" Z, |
  878. ;5 I$ Z0 n$ N' ?/ {( o& O. a
  879. ; If you only provide the name of the extension, PHP will look for it in its
    ( _- }$ j% Q  a# M# m, L- r
  880. ; default extension directory./ J* z" S* t9 m" x% y( U" n" s% @
  881. ;
    & @* A) ?% p0 K# l( }; I
  882. ; Windows Extensions( t& ~5 i4 f/ Y! R  c! |/ U
  883. ; Note that ODBC support is built in, so no dll is needed for it.5 H: f2 E, S& S' C, d
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)& `8 E  h+ w6 k4 `) R% P5 g
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    8 a; F5 j, f& r$ {, q2 I9 J
  886. ; Be sure to appropriately set the extension_dir directive.6 n6 ^. i% u  X# u
  887. ;! b7 v) k( N& ^8 Y/ P6 q# F
  888. ;extension=php_bz2.dll3 c7 K, A3 j! T5 z# p& F5 f& P
  889. ;extension=php_curl.dll# _3 l' t( ^6 k' ~
  890. ;extension=php_fileinfo.dll
    & Y3 f" S4 e4 u% ^, v2 b
  891. ;extension=php_gd2.dll
    ( S* b$ p0 q, v6 `7 J
  892. ;extension=php_gettext.dll1 D. o* L5 _+ @; ?% o+ C" c
  893. ;extension=php_gmp.dll3 p7 t5 m+ N. Z" t  d
  894. ;extension=php_intl.dll- V8 p  n4 V: Z/ G
  895. ;extension=php_imap.dll
    ( o( s+ S2 I* Q) r0 \
  896. ;extension=php_interbase.dll
    ; W$ J  ~1 b* O7 ]
  897. ;extension=php_ldap.dll4 c5 t0 N' s9 E6 Q9 M
  898. ;extension=php_mbstring.dll% R0 W3 l3 _  H
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    4 X& r8 H  O2 C+ S
  900. ;extension=php_mysql.dll
    ' b2 U( S" \1 D% d7 G- o$ V! }2 |9 P
  901. ;extension=php_mysqli.dll
    1 `8 M" {" s4 }$ Q
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    4 x! g8 B1 O! \
  903. ;extension=php_openssl.dll4 S5 {' P( \  G( i( t4 q
  904. ;extension=php_pdo_firebird.dll
    ! f1 w% {( ^  ^
  905. ;extension=php_pdo_mysql.dll
    % O% {6 E. r$ ^) p5 `  }7 x+ a# E* U
  906. ;extension=php_pdo_oci.dll: P8 i1 H0 K# @2 I3 h/ n
  907. ;extension=php_pdo_odbc.dll
    ! B2 e$ q' Y4 p( [$ N) O
  908. ;extension=php_pdo_pgsql.dll1 \  e/ B  o2 s
  909. ;extension=php_pdo_sqlite.dll
    : [4 I9 }$ e4 i8 \
  910. ;extension=php_pgsql.dll4 @# F1 f  Q- }5 p8 h
  911. ;extension=php_shmop.dll
    - e( a$ j  }9 Z

  912. 4 V' Q& m2 Y$ Z  X
  913. ; The MIBS data available in the PHP distribution must be installed. 1 H+ u3 s% @; z- B3 l  U8 f: d
  914. ; See http://www.php.net/manual/en/snmp.installation.php & a+ m9 R* `* _" |/ W" y# Y
  915. ;extension=php_snmp.dll
    ; K4 I% `3 C* V' X" F3 X; E* q" g

  916. / @( d& z: o( m! q
  917. ;extension=php_soap.dll
    % V' k6 L2 \/ N0 g
  918. ;extension=php_sockets.dll2 l# i/ ?7 }8 v( u8 G
  919. ;extension=php_sqlite3.dll4 _0 [+ i" w& [# K( T! m$ K6 _) T- \
  920. ;extension=php_sybase_ct.dll4 u8 |5 p: s2 g" k( X2 x0 q  K" k/ V
  921. ;extension=php_tidy.dll
    ) A" i, k% F$ |
  922. ;extension=php_xmlrpc.dll, [# m9 m3 G: f7 D
  923. ;extension=php_xsl.dll5 F2 F$ o% A! e/ B( C( |* E

  924. 5 g% Y' w1 |" [; b9 u
  925. ;;;;;;;;;;;;;;;;;;;# X; \2 W# [* Z8 c+ X/ Z/ L
  926. ; Module Settings ;' u4 F4 V$ c( ?; ?' ^' O( s( Z. W
  927. ;;;;;;;;;;;;;;;;;;;
    1 M9 Z+ X- W) c& ^5 C+ B: w8 F4 {
  928. 2 m, M5 N7 K8 a0 y2 c7 V4 v
  929. [CLI Server]* D5 u! ~4 }- B2 C2 O0 _! G
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    , T4 U$ l  \* V& q+ e2 d( ?+ H
  931. cli_server.color = On
    ( R% O* G7 r2 n, E% t! T' g* C

  932. , W4 V0 Z2 o; r& C+ t
  933. [Date]
    : f: z1 V' F! K" p; z9 d  ~
  934. ; Defines the default timezone used by the date functions
    8 C- `" S4 h; j' F' }6 e
  935. ; http://php.net/date.timezone
    + D7 H1 `# Y" j
  936. date.timezone = PRC/ c" b6 L4 N* t
  937. 4 l5 B1 J7 |' U0 L
  938. ; http://php.net/date.default-latitude" f# T& @4 C* n" Y
  939. ;date.default_latitude = 31.76675 l* q: J, _" c7 @
  940. / t6 Q5 l" n; }/ N6 f8 o( Z
  941. ; http://php.net/date.default-longitude
    3 f4 x* y5 l6 a( T  F" G* K
  942. ;date.default_longitude = 35.2333
    * U  m: f7 P" ?  Q8 b1 P
  943. ' h- }: g1 h, U3 [$ ]0 I
  944. ; http://php.net/date.sunrise-zenith
    # N' M) G! n# D. G2 o9 q$ A2 s7 g
  945. ;date.sunrise_zenith = 90.583333, z. y3 C; Z# n  y
  946. # N. Z$ L) i6 c/ Z, x7 \% j; \
  947. ; http://php.net/date.sunset-zenith8 H0 r$ ]  x1 I  E
  948. ;date.sunset_zenith = 90.583333
    . f* \# x! M6 j2 y' z1 S

  949. ) l* ]* Y! b& T2 L/ ^
  950. [filter]. }) z+ w( R+ x/ B
  951. ; http://php.net/filter.default1 x1 I- }- m, }& {9 v7 i3 c4 A
  952. ;filter.default = unsafe_raw
    + p. n$ h3 ^% ]" @' Z

  953. : K" z  x+ ~( g" X0 C+ V. Z
  954. ; http://php.net/filter.default-flags
    ; ]+ N7 \+ a: y
  955. ;filter.default_flags =- r, V. K2 B0 A: }

  956. " q# E# U, h. N0 m1 r
  957. [iconv]/ `$ S' q1 _1 g  I/ n, l0 S2 J% [: F
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    + |! l& ~9 [) Q0 a8 V6 e$ b/ S
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.# Z/ j6 s. }7 e. I4 w. K0 x
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    * {% R$ ^( ?8 L/ I
  961. ;iconv.input_encoding =: ]5 w2 j' l& R, c+ f

  962. 0 g% a8 x  j2 D# [: W
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ) }# B1 M8 i! c
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.+ u! V& K" b6 b; [; h. D6 ~" V- ]
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding5 V! _' O( v( C5 F, |% F
  966. ;iconv.internal_encoding =
    3 |) s' g4 y6 o- p  i
  967. : K" D6 J9 ?! S! ?, x$ I  n
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.  F, P. S, J, h6 Z' k
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.- M+ M" B2 b" p* @: c" q
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding/ c$ }) y5 C" \, l
  971. ; To use an output encoding conversion, iconv's output handler must be set
    4 o. u3 g& l& }6 I
  972. ; otherwise output encoding conversion cannot be performed.
    3 I: X  K) m. @2 K
  973. ;iconv.output_encoding =' x5 f+ e6 j  b( X8 a

  974. ' g0 |( |0 x, e/ p8 `1 ?/ Q
  975. [intl]2 z/ X1 P% G( c+ p& M9 L! v! l
  976. ;intl.default_locale =" J1 X# D. _! e! p: Z3 p
  977. ; This directive allows you to produce PHP errors when some error
      {( }- g% T- c8 }' n& r
  978. ; happens within intl functions. The value is the level of the error produced.- C( A: Q9 E; B4 T
  979. ; Default is 0, which does not produce any errors.* z* V+ \7 g; W1 X* _; |' Z
  980. ;intl.error_level = E_WARNING
    % R) G+ G$ U! b
  981. ;intl.use_exceptions = 0
    1 x7 {! y+ j4 V5 ]2 ~. F

  982. ( i: m$ j; f8 s( Z2 M
  983. [sqlite3]+ Z0 T2 N' f0 e+ I6 K
  984. ;sqlite3.extension_dir =
    ) I6 h' O5 p2 g
  985. - [+ _9 N% C, i- g9 s: c
  986. [Pcre]9 L  G9 k4 O( e. s) f4 C- D
  987. ;PCRE library backtracking limit.
      ^  W$ m7 q. T  \2 a  u8 r
  988. ; http://php.net/pcre.backtrack-limit, A' ]4 L/ T/ b7 J
  989. ;pcre.backtrack_limit=1000006 {6 E) Q5 ]4 R( X! l( f0 r! G0 o
  990. : \5 f! z0 s5 P0 v- }* F. G0 f  ~, w
  991. ;PCRE library recursion limit.$ X( l6 [( C& {% F
  992. ;Please note that if you set this value to a high number you may consume all3 M6 b' R3 z/ T# x
  993. ;the available process stack and eventually crash PHP (due to reaching the
    " K- i8 o# H* u! u( }
  994. ;stack size limit imposed by the Operating System).- W8 d8 K+ W% y$ ~( j1 B6 w0 n' I8 h
  995. ; http://php.net/pcre.recursion-limit( G  U/ M9 N2 t3 J- m
  996. ;pcre.recursion_limit=100000" X. i) o; B+ M* n6 g% r
  997. $ u5 `6 t' O  _1 x
  998. [Pdo]
    4 l+ l& f' l8 \! s. ?, F/ O
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    $ X0 X( p# P% Y
  1000. ; http://php.net/pdo-odbc.connection-pooling
    * S0 g9 M% C8 B0 E
  1001. ;pdo_odbc.connection_pooling=strict
    ' s; z5 m5 M; T. k) z# j* B$ n
  1002. : j1 p8 u$ F9 B2 U# `5 ?
  1003. ;pdo_odbc.db2_instance_name
    ) @' h) f, d7 B/ X8 ]2 a

  1004. 1 f( F3 g* P& |- N
  1005. [Pdo_mysql]. F/ V8 `& z* }1 K7 L
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache% N( `  W2 {# \
  1007. ; http://php.net/pdo_mysql.cache_size
    1 P" ~# A6 h6 [
  1008. pdo_mysql.cache_size = 2000
    9 k; B6 @* d, J4 E, I6 M& X
  1009. 0 K" ]* p; `6 e& G: M
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in8 W' b; ~% i7 V
  1011. ; MySQL defaults.$ H3 m) q  W) t; }
  1012. ; http://php.net/pdo_mysql.default-socket
    $ b+ Z* f5 A* Z; g
  1013. pdo_mysql.default_socket=3 t9 N/ w7 a/ W; E( R( b5 R* x! T
  1014. ' Q- [7 n% p* @
  1015. [Phar]
    3 r) g4 K* a+ N& V# q; F" _4 @
  1016. ; http://php.net/phar.readonly( @9 z$ _: ^9 }' m8 C
  1017. ;phar.readonly = On. q6 w* a. n/ C) P2 @8 o2 S
  1018. * a- u5 H& W. x8 c& E1 l
  1019. ; http://php.net/phar.require-hash
    ) B% `8 Y( Q6 i4 J* q$ O/ q
  1020. ;phar.require_hash = On
    * o$ h! M' `6 X" }

  1021. + v2 ^" n2 o9 l1 \0 p
  1022. ;phar.cache_list =
    * B: n% B# N: T" `; Y. m

  1023. ! Z; l) v+ I6 p& E7 V3 @! g  r
  1024. [mail function]2 ?2 H7 v- e5 [
  1025. ; For Win32 only.7 ~" X+ l- r$ `9 {2 m
  1026. ; http://php.net/smtp% m% p8 }  F" M7 B8 n5 ~* r1 [
  1027. SMTP = localhost
    5 i7 w) Z. A8 d% d. v
  1028. ; http://php.net/smtp-port7 z6 y/ ?8 o2 O" r
  1029. smtp_port = 25. ~+ V4 }1 D1 G7 e

  1030. - j8 ~. T* R- a8 C# N8 ?
  1031. ; For Win32 only.
    ! |6 D6 A8 z7 ?& k! i  r
  1032. ; http://php.net/sendmail-from" o. B" a/ S  S7 @7 f! j% Q% t* R
  1033. ;sendmail_from = me@example.com8 h; B+ n! K6 p: p: {8 `

  1034. + z5 M8 A" _" r8 ?8 C! p* B
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").; s5 X4 X# a" D; q+ T2 ?# X+ U
  1036. ; http://php.net/sendmail-path* b( i. K/ i1 Y$ C' H; d
  1037. sendmail_path = /usr/sbin/sendmail -t -i# `% G, m; d9 W: [; o1 a. g) m

  1038. ( ]5 J9 U  ^7 r5 V0 r9 X- I0 d
  1039. ; Force the addition of the specified parameters to be passed as extra parameters- X  G& g) E' t) w
  1040. ; to the sendmail binary. These parameters will always replace the value of' `, D2 X' ~/ J% J) L
  1041. ; the 5th parameter to mail().3 ^: b( P8 s% M: k, O: N
  1042. ;mail.force_extra_parameters =% Q6 f) v) W3 Q& z
  1043. - B" J) {# t2 m1 _2 {1 i
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename  M" H  a7 v; W; \3 Y# T+ p
  1045. mail.add_x_header = On
    2 F; X: R' x0 S% s, A
  1046. ( J/ c1 Y! l' K% K; Y% P0 g9 N
  1047. ; The path to a log file that will log all mail() calls. Log entries include  a* V3 R% ]. K4 T; Q' Q2 F
  1048. ; the full path of the script, line number, To address and headers.
    ( G: @8 j% G+ e4 x2 J
  1049. ;mail.log =2 u$ h4 f0 R4 B# |/ U
  1050. ; Log mail to syslog (Event Log on Windows).
    ' o5 B" i% n! e' H# G( o
  1051. ;mail.log = syslog
    8 Q  _" o8 d8 A0 K  P( k& j0 a* T
  1052. + ]8 Q* n' e9 a( m8 `
  1053. [SQL]3 B/ N3 Z" m9 b: q- M4 |
  1054. ; http://php.net/sql.safe-mode
    5 M4 r8 B2 T6 y4 D$ t0 A
  1055. sql.safe_mode = Off
    : `3 S, q8 X" `1 n" F5 k

  1056. ; ~  w2 g7 y- Q* Z0 K, s+ L% Z8 u4 Q
  1057. [ODBC]: A& _) C0 N0 Q, Z1 @1 E
  1058. ; http://php.net/odbc.default-db
    ! A1 r; ^5 G& C! t" k; ~* j; M
  1059. ;odbc.default_db    =  Not yet implemented
    4 o& g' a9 H/ ?  k1 I5 @; z  _

  1060. # H: I5 a; Q6 R4 d* @4 C( c
  1061. ; http://php.net/odbc.default-user
    5 P- l3 Z9 @3 b; o& [
  1062. ;odbc.default_user  =  Not yet implemented
    3 e- W1 s/ H. i- K# N( i- \0 o
  1063. 9 V, `) I' J& W: P7 l  I
  1064. ; http://php.net/odbc.default-pw
    : u1 Y- r/ V, y3 [7 r2 J
  1065. ;odbc.default_pw    =  Not yet implemented
    7 C6 q6 i. J+ w

  1066. " v9 [# o4 j0 n! o
  1067. ; Controls the ODBC cursor model.
    1 ?& d3 E$ d0 D. o1 R6 z
  1068. ; Default: SQL_CURSOR_STATIC (default).* d: L( o3 B+ T# n+ o
  1069. ;odbc.default_cursortype* y  C" Z- O: W, B: h6 @$ @
  1070. : L  G+ P! u7 Z" s9 V+ C
  1071. ; Allow or prevent persistent links.
    5 N  t# x& V1 V& |! k$ |4 W
  1072. ; http://php.net/odbc.allow-persistent
    ( b' J6 ~9 y& |+ g0 k5 a) P
  1073. odbc.allow_persistent = On) I, r/ H& C/ L1 j4 R

  1074. : @9 J8 r7 r( l! f8 A* N* L& W
  1075. ; Check that a connection is still valid before reuse.' P, w! l) O$ c4 Z8 [2 A
  1076. ; http://php.net/odbc.check-persistent
    ) r% l  {+ s; d5 M6 d3 G5 W
  1077. odbc.check_persistent = On
    8 e* v& g! f) n
  1078. ) A/ @& ~6 A+ d, d
  1079. ; Maximum number of persistent links.  -1 means no limit.' t, ]0 F, R7 o* \" T
  1080. ; http://php.net/odbc.max-persistent* U# Z' v& g5 Z7 j
  1081. odbc.max_persistent = -1
    ; n9 r; a0 a  i- O

  1082. 4 `8 s! @; `; d; g1 O; U
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ d  w( h! R1 S; M$ A
  1084. ; http://php.net/odbc.max-links5 E9 h/ K8 W9 [9 P, i
  1085. odbc.max_links = -1& s; D0 \5 _$ `1 d4 `5 |6 m* ^
  1086. 4 O, e/ V  @* H7 R$ P1 ]  z
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    & G. A0 f0 k3 }. M3 a/ E7 y1 s' P
  1088. ; passthru.
    6 Z  [% x- L, I1 `8 g3 j  x
  1089. ; http://php.net/odbc.defaultlrl
    , L" |: ?7 d( }: C7 a) T8 k
  1090. odbc.defaultlrl = 4096: l. U5 o( g$ ]' E

  1091.   s+ _9 q# u9 _! Z+ Y
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ( Y; z1 A0 v! ]! d2 Q; i2 X. U
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    / [* H% i/ Y4 o, \! r$ k/ ?
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode. H  ?. z) O/ a. }
  1095. ; http://php.net/odbc.defaultbinmode& u9 v/ \8 l( L# n! E+ }0 Q
  1096. odbc.defaultbinmode = 1
    " Q- g, O! x( T6 H

  1097. 9 e2 }0 Z( U. T% f: i. N; T) i$ Q
  1098. ;birdstep.max_links = -1
    3 d9 I" M1 ?8 K, S! |: T7 ?

  1099. % J) w  ~8 j& [& b* Y+ ^5 C' q4 Z
  1100. [Interbase]
    - H& b' c$ U8 l
  1101. ; Allow or prevent persistent links.
    7 q: X! M1 V! i
  1102. ibase.allow_persistent = 1. D$ M9 j- k1 v' Q  L6 h/ H. r& v

  1103. / ~* O0 E/ n% C& V
  1104. ; Maximum number of persistent links.  -1 means no limit.
    8 y) L6 {* R( t" ?
  1105. ibase.max_persistent = -1
    $ S9 X* _: j) P( T% n: E
  1106. ( U. o  p( ]- _0 R- g9 f; `' c
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 l3 V% C* F1 i( L
  1108. ibase.max_links = -14 m! {& N. Z4 z/ Y4 E
  1109. : o! C8 s' e8 e0 G/ ^) x- N( O
  1110. ; Default database name for ibase_connect().
    # Z+ {3 I* W' ~
  1111. ;ibase.default_db =
    . a. A7 s4 D  X/ h

  1112. " {% ]0 y8 k! V8 j
  1113. ; Default username for ibase_connect().
    # l' i; b7 h: s6 u# E3 x4 H; d
  1114. ;ibase.default_user =# l8 M7 ?5 O1 h' O: s
  1115. 5 A6 B' @5 f# I. s! p
  1116. ; Default password for ibase_connect().: n( Q" u9 V+ h& ^( k
  1117. ;ibase.default_password =9 @/ n8 `8 a  @" v
  1118. " [% W! e/ D9 _; ]4 x
  1119. ; Default charset for ibase_connect().4 @9 l8 X  d% d: E6 W6 \2 {" M
  1120. ;ibase.default_charset =0 `' g2 h' Y- g* s
  1121. 8 @9 _( W) y1 z
  1122. ; Default timestamp format.
    : [( u; u9 T! F( X/ m/ o+ n, f
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    5 b9 w% t* a$ q; b/ D- p" i
  1124. * H* M* x. K/ E, m
  1125. ; Default date format.
    * n1 t! K' H6 P& a
  1126. ibase.dateformat = "%Y-%m-%d"( p. n' o' b0 M2 C3 s( v9 C
  1127.   ^7 b, O8 P! h9 X
  1128. ; Default time format.
    ! L1 {- q) B* L6 ~+ @( X3 a
  1129. ibase.timeformat = "%H:%M:%S", B9 s4 W2 Q7 w9 p) O

  1130. / ^% h5 V. l" Q3 ~# X/ ?
  1131. [MySQL]7 z0 j0 Q* J9 \  l2 a
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements% L8 e  M4 ?( S( q  i
  1133. ; http://php.net/mysql.allow_local_infile
    0 b) b! t" i4 z% n* ^2 \0 }
  1134. mysql.allow_local_infile = On  E3 x2 _- s1 a8 w
  1135. ) y$ g) `4 v$ g1 u  G
  1136. ; Allow or prevent persistent links.
    " J2 T, Y: b. I  A: T" V9 K9 N
  1137. ; http://php.net/mysql.allow-persistent( f$ r1 ~/ b, N+ l4 p
  1138. mysql.allow_persistent = On
    8 t& e3 R' W8 u* M
  1139. & R# C% ]: F* A/ K  |+ p  s
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    7 [+ w& L, V9 b1 `, y/ ]8 `
  1141. ; http://php.net/mysql.cache_size
    . Z8 a5 n5 ^0 a) }* I, o/ k" j7 O- M+ k
  1142. mysql.cache_size = 2000
    0 @$ w# t4 c0 |& L
  1143. 0 _" F- W0 d: ~  w! L2 ^! _
  1144. ; Maximum number of persistent links.  -1 means no limit.- L. k) d. z; l+ i* K& t3 V- h
  1145. ; http://php.net/mysql.max-persistent
    / s. w( a; x2 p) D; k: C3 t
  1146. mysql.max_persistent = -14 P5 b6 m8 \4 R# J, }4 P
  1147. ! e4 }9 M/ ?  D: m7 W
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % N# j3 d8 ?& ]
  1149. ; http://php.net/mysql.max-links5 P$ d& A2 a6 L7 l' L
  1150. mysql.max_links = -16 D9 v2 N- P* k/ m9 j8 o$ g
  1151. 3 l7 O; W, {- V: L5 B3 ]
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    3 I& Y9 D& ?' d; v& P0 j
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the( j" G3 ]5 A/ p' P1 t% |# K
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look( k' x& b5 e2 o7 O! d
  1155. ; at MYSQL_PORT.; ~9 {$ v+ m+ C; [5 v
  1156. ; http://php.net/mysql.default-port& E, C. V4 [  C# n# ~0 s' y5 }
  1157. mysql.default_port =7 I: }5 b+ ]" R+ {( E0 o
  1158. % M9 e7 |+ `' f  g: U, `1 a
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    : ]. B; k- r$ x+ ?
  1160. ; MySQL defaults.
    ; y- A2 ]( |3 I' r
  1161. ; http://php.net/mysql.default-socket7 j7 Y( f1 {+ d2 L  U: G7 e
  1162. mysql.default_socket =9 Y1 C. B2 w0 P* y4 J

  1163. - v" j+ N% f' D( `6 H( T8 ^: {( R
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    8 U7 _# m% I* x# z: i6 P/ R& V- W
  1165. ; http://php.net/mysql.default-host
    ' g& F1 p  O7 m. S6 l, N2 ^; d$ R
  1166. mysql.default_host =
    5 O+ S# m) Z$ Y' }2 U( P" m: U

  1167. ) K4 g" C: N+ a4 Q9 c
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).; Y/ s6 P' ]6 [7 p6 u2 S
  1169. ; http://php.net/mysql.default-user/ I1 A4 d5 [! U3 r3 W2 f
  1170. mysql.default_user =
    4 U+ I# _! f4 ~& r: b
  1171. + z0 n. m5 X- E4 O& F# ~1 j
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    : M) g  I; R7 d6 A7 ~4 C1 j/ z4 [5 S
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.& v* o' s6 ?0 q/ n6 @  t
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    2 K% @7 l) A" c+ o& U
  1175. ; and reveal this password!  And of course, any users with read access to this; \3 F! ]5 V1 i. u! p" o. u
  1176. ; file will be able to reveal the password as well.
    - V3 r0 x- C" N% q
  1177. ; http://php.net/mysql.default-password
    ) ]! w6 {7 `! Q
  1178. mysql.default_password =
    / U& U8 E& ~3 ]7 N6 R# j
  1179. # D; V) N6 L. t# g. I$ j
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    5 h7 @+ d/ B9 Q- H. Q' }/ z  K9 U
  1181. ; http://php.net/mysql.connect-timeout  k; c+ ^8 I; N* h
  1182. mysql.connect_timeout = 60, a3 h7 v, ?5 ]. V, R/ C

  1183. ; Y5 n: c+ L3 f! ]) ^
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and' x+ a4 ~7 B4 ~# A* }  c: D
  1185. ; SQL-Errors will be displayed.
    ( f1 O6 n2 u6 A7 U6 }3 w
  1186. ; http://php.net/mysql.trace-mode
    + u) D, G4 }3 `1 l* Y" n
  1187. mysql.trace_mode = Off' \* H0 ^5 ], d5 A
  1188. 8 e! d& |# A' J: ?) ]: h% ^# R
  1189. [MySQLi]7 I+ u. M4 x* w& v5 y

  1190. 8 B+ u8 A4 ~* }3 H8 f8 |
  1191. ; Maximum number of persistent links.  -1 means no limit.- `! [- r9 |) _2 f9 }7 U
  1192. ; http://php.net/mysqli.max-persistent
    6 Y8 n3 o0 }/ v
  1193. mysqli.max_persistent = -1
    $ J2 B9 A6 j% `3 \: x
  1194. 6 ?/ W5 U0 b: o+ u. c* e2 {5 H
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    8 \) S) k# }4 {% Q
  1196. ; http://php.net/mysqli.allow_local_infile3 A$ P& D( E4 ^  i3 E
  1197. ;mysqli.allow_local_infile = On' L2 r0 S% q/ _9 P

  1198. & e$ b( P2 g) D$ m& r- h1 n
  1199. ; Allow or prevent persistent links.2 Z' f! x8 B1 t" J* E. d1 o1 U
  1200. ; http://php.net/mysqli.allow-persistent; x& u9 v& F4 U
  1201. mysqli.allow_persistent = On
    - U+ p2 e+ j1 ~9 J# X( k

  1202. ! F7 I7 v; ]% t
  1203. ; Maximum number of links.  -1 means no limit.
    . z! k0 }  c* y/ w4 T) q
  1204. ; http://php.net/mysqli.max-links
    + u/ Q& m8 p' D8 `1 u7 h8 E5 k
  1205. mysqli.max_links = -1
    / _. F2 z* f+ P- C" W- _7 s' k
  1206. + \( N% w; Y! X2 r4 M/ \7 ~. R  {6 [) J
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache, c8 `' j2 A* f" B
  1208. ; http://php.net/mysqli.cache_size3 h* r5 Y5 P3 Q3 Y- ?
  1209. mysqli.cache_size = 2000
    + d% U8 {2 p0 W' y2 `, |
  1210. ! N; T) d" E4 \. @. _5 t
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    " h: r  Y, |/ I: p
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the6 ^* I7 n3 |6 r2 n+ j6 N& @
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    + U0 }% e% R- L' q, e) c& Y
  1214. ; at MYSQL_PORT.
    2 P$ n& R! \! t! m$ C& y
  1215. ; http://php.net/mysqli.default-port
    ; E: e; a. _7 E3 w6 M8 \  i% O+ q
  1216. mysqli.default_port = 33063 M6 x* ?2 j- X8 c

  1217. ! w5 i1 Q/ U. U2 _8 S3 N' b$ h1 j* e+ x
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in$ D5 @0 A0 }2 h5 `7 o
  1219. ; MySQL defaults.: w5 w0 n( N+ C! r! t0 G5 Z7 Y3 c0 M
  1220. ; http://php.net/mysqli.default-socket
    9 r  T0 j& d* c
  1221. mysqli.default_socket =
    ' y9 Q3 L0 N% I% g% X% T1 J. ^5 M

  1222. & d0 ?6 ?  Z8 G3 ^& v& X
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).  T# U8 z1 f; ~9 \% p
  1224. ; http://php.net/mysqli.default-host) ]- u4 q  E* F0 ^
  1225. mysqli.default_host =
    9 o. F1 R+ L2 r) U: Q8 ?' @( A" c

  1226. 0 T9 o8 L! k, l4 e+ Q
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    " ^+ E5 t9 a3 P0 [; p; n
  1228. ; http://php.net/mysqli.default-user
    ; b; g, @8 a1 d/ g) P* [
  1229. mysqli.default_user =: l; d. O4 q4 ]: ~, M: n  s
  1230. $ g, I' R6 T/ h  w' l; q
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    / z3 ~  ]/ f  k, G9 p
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    7 T1 l& W! v8 u) k) d9 |* k' Z
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ; d3 S! \5 }6 r
  1234. ; and reveal this password!  And of course, any users with read access to this
    ; _  O; ^6 J" q' e
  1235. ; file will be able to reveal the password as well.
    % H# b# i, J; f/ H( m' G
  1236. ; http://php.net/mysqli.default-pw/ ?8 |* k) r2 j! v6 }
  1237. mysqli.default_pw =# r+ y& ^+ a8 {3 D) s

  1238. " q7 ~  s$ Y9 a/ P* M
  1239. ; Allow or prevent reconnect
    + H! w% W5 Y( R" f
  1240. mysqli.reconnect = Off: @) q7 X4 C8 y
  1241. # H5 F+ ?  }1 g5 H: W6 c" |
  1242. [mysqlnd]8 D, F6 j) ?5 t' R+ y
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    6 ~4 H/ o1 v; F- K8 d
  1244. ; used to tune and monitor MySQL operations.
    $ K5 i2 t: \" B1 Q
  1245. ; http://php.net/mysqlnd.collect_statistics2 T" z2 O. `  x5 J2 r# T
  1246. mysqlnd.collect_statistics = On; w# Q% T& t  w' s8 C: z3 @

  1247. 4 t* |6 h$ M* P1 N. `  U
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    " R- o7 Z1 L! M- l
  1249. ; used to tune and monitor MySQL operations.
    ! E+ ]+ J( ^. J* S3 d& `
  1250. ; http://php.net/mysqlnd.collect_memory_statistics( s; L1 i: W3 E) |! g5 a* t/ f- q
  1251. mysqlnd.collect_memory_statistics = Off3 i: I8 Q3 ]' m4 y
  1252. 5 d% W! z; R, ~: N5 w1 @! b
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    2 x  Y6 e4 _( c3 O( q1 s8 ]
  1254. ; file.
    " f- _. Y2 r% e' w: S2 Z
  1255. ; http://php.net/mysqlnd.debug* _" y: M/ t8 C  T
  1256. ;mysqlnd.debug =5 |& {5 s( N. v; H1 h
  1257. # e$ R* @* t: E/ t5 l2 k
  1258. ; Defines which queries will be logged.
    / C% `% x6 H; F: ?5 Z, _
  1259. ; http://php.net/mysqlnd.log_mask
    % V  j, h9 v4 X3 q2 @- t3 W
  1260. ;mysqlnd.log_mask = 0: Y6 j" l' D- }2 u
  1261. 2 M. x! D1 C! z1 a  j
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.. y) F: o  D  c" ^; j1 P
  1263. ; http://php.net/mysqlnd.mempool_default_size
    0 [* c# t+ Z7 V1 D* Z! G
  1264. ;mysqlnd.mempool_default_size = 16000
    ) x  r- j& Z: R1 ~/ s
  1265. % f0 ?# ]8 ~6 m6 P1 h
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.8 ^: c' |& e# w: v' p
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    . d, }; S2 H& F. D3 e9 n! {
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    & `! K  ~% L3 f; d8 U3 T' I! I. k: c
  1269. ) f) h9 V% |4 i8 q4 k0 v# L: K2 j
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    $ ~  F) p+ Z. [  r( Y
  1271. ; bytes.6 t; k! j4 L3 C; s
  1272. ; http://php.net/mysqlnd.net_read_buffer_size5 l. ~. E% N% p, h; Y! [9 C, c
  1273. ;mysqlnd.net_read_buffer_size = 32768/ ?% j/ {' g  @% ^0 ]. \6 ^5 c

  1274. - L. j; o5 z3 y' S! W: }' C& a
  1275. ; Timeout for network requests in seconds.- N9 x! Y1 G+ H; C6 Z& I2 P# L9 C
  1276. ; http://php.net/mysqlnd.net_read_timeout7 U3 s0 S8 L& E7 `- c+ Z/ r) \
  1277. ;mysqlnd.net_read_timeout = 31536000
    . `- e! @0 Z( N0 J& v

  1278. & h  {( t) E1 `3 u8 ]
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA$ q# n+ p* @, B
  1280. ; key.
    4 w- F. o% L4 n) z9 Y- `. o
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    & J& p. k+ a- Y9 ^2 w
  1282. ;mysqlnd.sha256_server_public_key =6 ^# l( e  ], Q2 d

  1283. 1 U7 J6 z# N) c3 c. {
  1284. [OCI8]: a! H! W7 W: F0 J/ |
  1285. 7 ~/ q+ O! o+ \1 T
  1286. ; Connection: Enables privileged connections using external, q/ D2 [9 B+ `& b' p+ g) j
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)8 M& \/ A8 t8 |" y
  1288. ; http://php.net/oci8.privileged-connect$ S5 n% n$ D8 f
  1289. ;oci8.privileged_connect = Off3 E6 g1 f+ h9 h+ M" j

  1290. 4 V/ e1 S; @5 W3 z' p
  1291. ; Connection: The maximum number of persistent OCI8 connections per* f/ s4 k' g5 r# b
  1292. ; process. Using -1 means no limit.6 d9 w0 _0 ^/ l1 @; M! V9 u
  1293. ; http://php.net/oci8.max-persistent1 d3 N0 Y4 G8 W8 \, {# [+ X
  1294. ;oci8.max_persistent = -1
    5 }, G3 m( f6 @& w3 ?8 G/ Y
  1295. 4 h4 u* j. B, u+ Q
  1296. ; Connection: The maximum number of seconds a process is allowed to/ O; ?! A& y, J; D# |4 \
  1297. ; maintain an idle persistent connection. Using -1 means idle* i+ ]4 e3 R8 q% l3 k' [: s/ K* x
  1298. ; persistent connections will be maintained forever.
    ! x: q) E4 v  d* q
  1299. ; http://php.net/oci8.persistent-timeout# D" w2 t  O6 l0 N7 z. e4 a
  1300. ;oci8.persistent_timeout = -1' y# j/ m5 d3 @: h6 H- l) o
  1301. ) \* z5 a& V; y' d3 p6 s2 x
  1302. ; Connection: The number of seconds that must pass before issuing a4 |3 ?$ l2 G* ]0 S. R
  1303. ; ping during oci_pconnect() to check the connection validity. When, Y4 g* z/ k% t' w; J$ {* ~8 U
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
      @" J" o' P8 |* \9 [
  1305. ; pings completely.
      K5 ]: W* {& n$ S" t' i+ |' \
  1306. ; http://php.net/oci8.ping-interval
    " o- f. g. G. d8 d: m# m
  1307. ;oci8.ping_interval = 60, Z1 D; d% b0 Q1 w

  1308. / Q+ ]' ~. L& l' {5 l0 e1 g9 s- b
  1309. ; Connection: Set this to a user chosen connection class to be used5 t4 _- ^% U- q8 h" M$ {
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    2 s; {% o2 A" M, p
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    # U* N7 e. D$ E) L9 Y3 n3 J+ i
  1312. ; the same string for all web servers running the same application,
    8 s3 T, n# w  r3 F. r' a
  1313. ; the database pool must be configured, and the connection string must
    0 I; j5 q. v$ L; G% o* X1 |
  1314. ; specify to use a pooled server.
    3 J# ?3 b* c  X# i/ d
  1315. ;oci8.connection_class =- K5 M: r& a, D; i; c
  1316.   W, P' ?$ p. @, L  |+ x9 h5 E
  1317. ; High Availability: Using On lets PHP receive Fast Application* z% R# G3 g7 c+ T
  1318. ; Notification (FAN) events generated when a database node fails. The. t5 f" Z* A" V
  1319. ; database must also be configured to post FAN events.# w  _7 ~  h7 m: F. U9 Y+ ~" Q2 ?
  1320. ;oci8.events = Off5 D! Q, B; c2 S+ Z) Q
  1321. & W4 t7 ?7 h  ^& U2 @% o' Z
  1322. ; Tuning: This option enables statement caching, and specifies how
    0 E, Q: M9 K+ G4 l  ~, `
  1323. ; many statements to cache. Using 0 disables statement caching.
    5 W/ V/ l7 {9 v# X# Q  F/ \
  1324. ; http://php.net/oci8.statement-cache-size  i8 `6 E. O6 ]' G7 g+ z
  1325. ;oci8.statement_cache_size = 20' D% n& P" J: V9 n6 r2 Z& f

  1326. ( n! Q) F: e! @4 }3 Y! s' X2 `
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    1 \0 y5 z7 @% I0 L+ T9 `
  1328. ; rows that will be fetched automatically after statement execution.
    1 V% U4 b6 I/ `: d- Z: {1 R7 y; F
  1329. ; http://php.net/oci8.default-prefetch% t: f$ J( J/ O  @0 p* I7 }
  1330. ;oci8.default_prefetch = 100
    5 i. j6 l9 T1 `" P4 G6 c6 g) m

  1331. ; ?- c; a. q0 h+ O" d# U
  1332. ; Compatibility. Using On means oci_close() will not close  |$ ^; }' W# V3 _1 i7 p
  1333. ; oci_connect() and oci_new_connect() connections.
    9 e  Z1 |1 V5 [/ ]; t
  1334. ; http://php.net/oci8.old-oci-close-semantics
    * f( r/ q3 g) U7 ?8 I/ v( b
  1335. ;oci8.old_oci_close_semantics = Off- z2 m9 R1 R+ T8 R* k0 L% t9 x/ P
  1336. 4 z1 d; u" W/ O0 r
  1337. [PostgreSQL]+ P0 i& R4 U  P- t
  1338. ; Allow or prevent persistent links.
    & @! C% w+ ~) Z
  1339. ; http://php.net/pgsql.allow-persistent
    4 U, `% c) r1 C" {( Z$ W: Y) @
  1340. pgsql.allow_persistent = On
    $ N9 i! L" n  p2 ^4 W' r
  1341. ! w3 w5 Q- K, j) T1 ]+ m  p' B# G
  1342. ; Detect broken persistent links always with pg_pconnect().
    ( p9 p: ^' D# B9 {9 h) r$ g4 e
  1343. ; Auto reset feature requires a little overheads.. B) {( c: `- S& p7 l9 n
  1344. ; http://php.net/pgsql.auto-reset-persistent
    5 L; O0 w. B; E% b% t
  1345. pgsql.auto_reset_persistent = Off- Q- D- G" o; I9 u- X( A

  1346. * ]' x- a% \% l) F
  1347. ; Maximum number of persistent links.  -1 means no limit.7 l% P8 @/ c: {
  1348. ; http://php.net/pgsql.max-persistent
    7 \' s- V3 `/ k; t3 t
  1349. pgsql.max_persistent = -1
    : D& V* t& j" S- ^7 A- Z

  1350. ) Z3 I, U; |3 a" k
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    + k) e1 c8 X# W0 j( x
  1352. ; http://php.net/pgsql.max-links# o  z6 l! U9 I' H
  1353. pgsql.max_links = -1
    7 d" V# }. l7 P6 c6 {0 u- b

  1354. + H& O; [* j& u  G3 B1 h) O
  1355. ; Ignore PostgreSQL backends Notice message or not.
    , Q/ M' {  z% x1 A, A
  1356. ; Notice message logging require a little overheads./ o& G% ^& w" l" C5 d5 O
  1357. ; http://php.net/pgsql.ignore-notice" r' J% ?: q; U: q4 m. u0 m
  1358. pgsql.ignore_notice = 0
    # a" @) ]& q0 |. ^* H
  1359. , o5 e/ y% o  C! f/ j
  1360. ; Log PostgreSQL backends Notice message or not.( D+ {5 g6 B, J9 h6 u$ s# L$ R0 r
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.3 ]2 b" |8 p4 M6 x8 ]- I# i, m
  1362. ; http://php.net/pgsql.log-notice
    " J" N! Y0 h3 h- y8 p" w+ D
  1363. pgsql.log_notice = 0; [/ s  G4 r; X7 E4 N. I, l; Z
  1364. % e- M$ i- \" D5 F3 i% t% Z" P
  1365. [Sybase-CT]
    4 y  Q) [3 j7 j. U
  1366. ; Allow or prevent persistent links.
    ( @0 B$ a9 d+ ^8 J% C0 n% O3 C
  1367. ; http://php.net/sybct.allow-persistent7 \1 U8 Y7 h3 Y* X- W
  1368. sybct.allow_persistent = On2 P) c9 `# T: q; [+ ~% ^

  1369. $ B0 z: n' e# l* D1 y% {) g; s
  1370. ; Maximum number of persistent links.  -1 means no limit.2 E" P7 Y, X' P$ M2 J/ i6 M3 M
  1371. ; http://php.net/sybct.max-persistent
    ( D7 u- k$ y& P
  1372. sybct.max_persistent = -1
    # ]! P# `: e. a& H# d* Q7 f
  1373. ( ?6 I9 k) \% V3 G& p0 D
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.7 r* N; z4 U6 W( ~
  1375. ; http://php.net/sybct.max-links
    " v( X# R  P  ~2 R2 e) J
  1376. sybct.max_links = -1
    9 S/ p* U' \8 z0 R7 j( H0 u; t2 G4 j; s
  1377. 3 D$ U% n) ?5 b) B
  1378. ; Minimum server message severity to display.
    6 [* B2 D: h& J; c/ H
  1379. ; http://php.net/sybct.min-server-severity" V; ~) E! |8 z
  1380. sybct.min_server_severity = 10
      ]  N, n* D( E9 n" L* u
  1381. $ }, B3 ]! @- e' ?2 n' ]' h
  1382. ; Minimum client message severity to display.& ]; ^: ?7 a, F# N4 l
  1383. ; http://php.net/sybct.min-client-severity
    9 L9 v$ P  {1 T# a. ]0 O$ z
  1384. sybct.min_client_severity = 100 `1 g* k% Q5 e) Z* N
  1385. 3 J9 a: F0 W2 Z- [5 C) p
  1386. ; Set per-context timeout
    : I6 V) u, W8 U& ]4 G
  1387. ; http://php.net/sybct.timeout8 C  e+ C# `; |  p" h- d3 n$ V
  1388. ;sybct.timeout=, }5 m) D; o( a5 S
  1389. 1 f* @  f8 I" J( F' @
  1390. ;sybct.packet_size
    8 Y+ `: V) v2 w6 y; E8 a: ]9 g
  1391. ; x5 A, z. p& U, R# D0 o5 Z
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    - A: u1 z0 E* [( V( p% R
  1393. ; Default: one minute" s. G; I7 _4 E$ r7 s# I
  1394. ;sybct.login_timeout=
    9 \* G$ s: d  N9 g$ A9 |6 R

  1395. . R' B$ ?+ L4 r  Y( y! f7 }
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    8 r5 F) \$ W) B) `3 a
  1397. ; Default: none
      @! I0 f, r1 c6 A
  1398. ;sybct.hostname=
      m4 k" a- A/ {2 {4 _  o1 i4 b* T
  1399. ! l5 a# w5 K0 l( N9 u- B
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever"." p: X- I) C/ z% t+ G% ~! u' m
  1401. ; Default: 06 o% ^; m2 ]) E/ D1 E
  1402. ;sybct.deadlock_retry_count=+ @1 n2 T( C0 ?: T, d- O0 v1 u
  1403. ; o. |6 o; \3 q- K
  1404. [bcmath]% h5 d3 C5 h! f
  1405. ; Number of decimal digits for all bcmath functions.
    ( z) z9 b$ T  L5 \9 p4 P2 b
  1406. ; http://php.net/bcmath.scale6 [6 Y( \4 N7 [2 g+ W
  1407. bcmath.scale = 0
    $ E* \2 W8 n; C  f3 L6 m) U
  1408. 2 B% [: P5 ^  \3 p
  1409. [browscap]
    0 Z( p1 Q0 {% l: s3 Z
  1410. ; http://php.net/browscap
    ( g+ W' a: o9 m
  1411. ;browscap = extra/browscap.ini; I2 T! r" ~0 B5 m6 ^

  1412. " s! M& o- y& g5 `* R+ r
  1413. [Session]3 {8 P( C0 |0 l, x- s
  1414. ; Handler used to store/retrieve data.: D& @8 i6 k. ]& Q) f" J
  1415. ; http://php.net/session.save-handler
    / I& g: ]; ]# z' B) i/ U# C
  1416. session.save_handler = files7 L" S- r/ i, j  _) S6 f5 {8 P( b) a7 |

  1417. + ^9 g( u9 h3 S" y8 a( g/ H
  1418. ; Argument passed to save_handler.  In the case of files, this is the path9 y2 C1 y7 X9 c' p6 r$ L/ J7 O
  1419. ; where data files are stored. Note: Windows users have to change this1 [) y4 Z( r7 E. W
  1420. ; variable in order to use PHP's session functions.& T7 s3 a! K! c7 Z; A  c' F+ K
  1421. ;
    + g- t7 Z, S' y5 d' A  p
  1422. ; The path can be defined as:& o9 l; a' t6 A1 s: J% Y
  1423. ;8 w; ]" ]- ~( I
  1424. ;     session.save_path = "N;/path"
    $ D; O0 L! F% ]$ s$ Q
  1425. ;9 C  k; V7 c8 F: |2 ~% g
  1426. ; where N is an integer.  Instead of storing all the session files in, I4 J) I( \6 t8 h, ^- Q$ o
  1427. ; /path, what this will do is use subdirectories N-levels deep, and; j7 I, h0 B3 l* s% Z
  1428. ; store the session data in those directories.  This is useful if8 `: e" A/ n) D! S8 P% n
  1429. ; your OS has problems with many files in one directory, and is
    . A, @6 q) p+ ^- O3 l# b: c7 e
  1430. ; a more efficient layout for servers that handle many sessions.
      D- p& E+ i: z+ x6 ?2 L4 T
  1431. ;/ B3 ]: {0 I2 K3 i
  1432. ; NOTE 1: PHP will not create this directory structure automatically.. `8 P" e7 R- \
  1433. ;         You can use the script in the ext/session dir for that purpose.; G; C& ], S; K8 ]; u: L
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    ! q$ E& M2 n/ X% ~  L1 N" B; l
  1435. ;         use subdirectories for session storage  x, T* p+ [/ i/ M9 Z, P
  1436. ;# N5 W% x2 L- ~; `* `- A/ e
  1437. ; The file storage module creates files using mode 600 by default.
    # b; f. o" e* N$ _9 `# p6 ^2 B
  1438. ; You can change that by using
    8 s: W% f: r, `" a! e' v. }
  1439. ;) |+ t5 w6 l- `4 B
  1440. ;     session.save_path = "N;MODE;/path"7 t/ e4 _# w2 J
  1441. ;
    : q5 q- G1 j) x7 O6 X. y4 @- I
  1442. ; where MODE is the octal representation of the mode. Note that this
    , V7 o- I2 T: S& p4 g/ D$ Z* d% g; J
  1443. ; does not overwrite the process's umask.
    ! X8 f" U0 A3 W. W
  1444. ; http://php.net/session.save-path, G4 [1 Q) |' K9 q/ `' l  i
  1445. ;session.save_path = "/tmp"5 }3 u4 Z+ u  K3 V
  1446. 3 O" y  y  P4 k5 c4 z
  1447. ; Whether to use strict session mode.
    $ a( ]+ ^- B- _+ j  ], l
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    * }' q: C) Y; m) P% c/ g  p5 _0 {. A
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ! H- c/ s/ S& y5 W( U# J7 u
  1450. ; applications from session fixation via session adoption vulnerability. It is
    ! u: b5 x) |8 X% P
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.) H8 H/ s# K" a/ U
  1452. ; https://wiki.php.net/rfc/strict_sessions& n: g$ l% E/ v. d/ \7 [1 m% g: x
  1453. session.use_strict_mode = 01 H6 z# R; h) a* `$ ?- x* n$ H2 Y
  1454. + T' I. z, }/ g8 Y! w$ t
  1455. ; Whether to use cookies.% `1 N2 a4 k; O. S
  1456. ; http://php.net/session.use-cookies
    # |* E1 a/ Y/ G; q! P+ _
  1457. session.use_cookies = 1
    6 V& p6 z, X6 ~( Z
  1458. # U  ]& t$ g1 h/ Q: K5 ]
  1459. ; http://php.net/session.cookie-secure- z( k  ?/ n& {6 ]: m
  1460. ;session.cookie_secure =
    ( F5 F6 ?; u* t; N  J7 U

  1461. * A& p6 \" w" e: z& ^, p/ e
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining( K4 r4 \: F. i; N
  1463. ; the session id. We encourage this operation as it's very helpful in combating: O% A5 J$ z- e, E
  1464. ; session hijacking when not specifying and managing your own session id. It is+ A! R, j( l+ C7 s  z1 ^
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.% ~5 n9 m, q  f6 k
  1466. ; http://php.net/session.use-only-cookies
    - `- W' U3 Y6 ]. U( i+ Q
  1467. session.use_only_cookies = 1
    1 S/ m& r8 R" @* x5 j* F9 q
  1468. 6 @8 d4 T: D7 n& H% W3 l. c. t
  1469. ; Name of the session (used as cookie name).
    5 P1 \% Z7 n: t( r
  1470. ; http://php.net/session.name
    ; ?1 G1 A  b$ |8 `
  1471. session.name = PHPSESSID
    ( n& v% A4 K9 _* v; p

  1472. 8 K2 _" \" A) r. B* E7 N
  1473. ; Initialize session on request startup.
      }6 j' X% n& M7 z4 x  l
  1474. ; http://php.net/session.auto-start: M. j* X2 n, \7 V1 N/ ^& P% w
  1475. session.auto_start = 01 P1 o6 I* z# `6 n( Z" j3 f3 Q

  1476. ) t, `/ J2 b- A0 d9 p- h' Z
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.2 P! U! @2 w0 o" @  S- o' N' m' G
  1478. ; http://php.net/session.cookie-lifetime
    / S' U, J( z& ?8 B. p
  1479. session.cookie_lifetime = 0
    5 Q3 q3 n% o- a  @
  1480. 5 y. C- V! \) \7 i, T
  1481. ; The path for which the cookie is valid.
    . W& X. \8 y7 b2 {9 w3 K0 h
  1482. ; http://php.net/session.cookie-path
    ' ~' Z# R2 G0 Z% W- _- g
  1483. session.cookie_path = /0 {* a: L! }( H

  1484. / v( q, Y# m4 ^
  1485. ; The domain for which the cookie is valid.) k. g, U$ h) N# Q- K6 U  h
  1486. ; http://php.net/session.cookie-domain4 D. }3 U0 K" O* B+ R
  1487. session.cookie_domain =
    ; ?6 D7 u6 M7 E

  1488. - c6 I, e& r2 ^# D' R" i" I
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ) R$ q( ?4 F! x+ P2 a4 m6 ~8 a
  1490. ; http://php.net/session.cookie-httponly6 O+ h2 y! R6 K+ K& r% R* S
  1491. session.cookie_httponly =
    2 x4 q- r- J! e1 ?1 |

  1492. : ~$ n4 y9 d9 Y6 Z; d" @
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    3 S7 `. P2 o* ?; x- M
  1494. ; http://php.net/session.serialize-handler
    . `) q) A* N% }& K. N
  1495. session.serialize_handler = php
    : P+ L& C: ]. r

  1496. * T$ G) _1 p: R* V& z& X; @
  1497. ; Defines the probability that the 'garbage collection' process is started  M& z, }! }, r: }( i1 K' W, i
  1498. ; on every session initialization. The probability is calculated by using, N- |6 s% S5 P1 V4 d$ ?2 L: T
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator# a2 F  b6 v" P
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    & F' R* L! Z( b  W3 ^6 x7 R# N
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    $ C5 C' ?: a% j1 W
  1502. ; the gc will run on any give request.) K, c; b# U7 d* D
  1503. ; Default Value: 1
    + `9 w' ]$ h8 o/ o# v. o! s
  1504. ; Development Value: 1
    6 z4 s( ?# \  [. C/ n. N
  1505. ; Production Value: 1) `: r' _3 K, m( W
  1506. ; http://php.net/session.gc-probability
    5 B3 R% I7 x. S* `0 e( ?
  1507. session.gc_probability = 12 k( B  K& }( s6 M9 t1 m" B
  1508. 6 P# Q. e: y0 _3 L
  1509. ; Defines the probability that the 'garbage collection' process is started on every
      m1 M  Y6 Z' p" c
  1510. ; session initialization. The probability is calculated by using the following equation:/ b" k- r& n! U8 E/ p- J& W. i
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and- V8 |- a$ }$ }& j$ V' n
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1# H& z6 j5 e* k& v
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance2 G: ^. [( O% x6 X. t2 j3 Y; M
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you3 U& R- W$ \8 S- A7 X) C; a" `
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,' ~; j8 n( r3 Q( N( f0 D1 h2 f7 C
  1516. ; this is a more efficient approach.% V. X- Y- C& \
  1517. ; Default Value: 100
    7 h2 u! r8 n2 A2 P/ C9 a
  1518. ; Development Value: 1000
    , l" G% }" Z2 H% M5 f
  1519. ; Production Value: 1000/ V, s4 R& ~, h: N
  1520. ; http://php.net/session.gc-divisor3 a  W% _8 v* `  H% C
  1521. session.gc_divisor = 1000
    / `& i% J+ l5 U& m5 B- v, K

  1522. - O, N& {5 l( o$ s' ?
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and0 N9 z- t( E) y% {, c4 R' h' q
  1524. ; cleaned up by the garbage collection process.) f" |# r3 }" \
  1525. ; http://php.net/session.gc-maxlifetime) T3 {! h6 F3 R
  1526. session.gc_maxlifetime = 1440
    $ \2 L  A) z, v
  1527. ) V. Q0 Q# i# ~- q, h+ d* ~5 l
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    / S, j& b/ a1 W9 s& Q9 `
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ' }+ Y8 M4 }5 A- Q7 w9 G6 M9 \
  1530. ;       happen automatically.  You will need to do your own garbage6 \8 I+ s0 q/ l) z
  1531. ;       collection through a shell script, cron entry, or some other method.
    5 j; l, s) J  |5 [* B% P9 Y* A& ^
  1532. ;       For example, the following script would is the equivalent of
    / s% r% B0 M' \% g
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):1 R2 y. k2 b+ T0 T
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    6 ?" B9 i- U* z! m- `

  1535. * o) j2 E! \0 J( |
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.2 G; a) H, o' N% y; ?2 \
  1537. ; HTTP_REFERER has to contain this substring for the session to be7 _3 ^% q- J! E5 z
  1538. ; considered as valid.6 g% a! w( o# J+ J3 @4 Z
  1539. ; http://php.net/session.referer-check% p$ Q  {: {( d: v( L& x0 }
  1540. session.referer_check =) e2 z% _) w# [; Y/ P+ L( W. C

  1541. : z. r, o  P4 d* J3 G  Y
  1542. ; How many bytes to read from the file.
    + w1 a3 U4 q* p, `  D, ^% f
  1543. ; http://php.net/session.entropy-length5 x$ N+ v% ~( n$ n7 V: b, M
  1544. ;session.entropy_length = 32
    , d# S# w5 j9 D, `

  1545. * U, f5 R+ t. T5 ^
  1546. ; Specified here to create the session id.
    & B9 \  X- F* W/ d8 D9 m
  1547. ; http://php.net/session.entropy-file7 o$ n2 K& Q& q: S
  1548. ; Defaults to /dev/urandom
    5 C9 c0 I( e/ o" b$ W, _
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom3 M8 H! G6 U) k- Q0 ^
  1550. ; If neither are found at compile time, the default is no entropy file.) l9 s, N* W1 _& L4 @3 ]6 M
  1551. ; On windows, setting the entropy_length setting will activate the
    ) Y. b# n& H3 R/ g% T' T$ L* u  _
  1552. ; Windows random source (using the CryptoAPI)$ R, F9 F/ l, M& L8 m0 q8 O
  1553. ;session.entropy_file = /dev/urandom2 S" r! p0 G/ Q8 a- [; q' ?

  1554. 1 }+ _; Y1 {, ]# w$ E
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects; h5 n6 |9 \. c
  1556. ; or leave this empty to avoid sending anti-caching headers.- N8 Z9 W0 ?2 {" R7 X5 }( {4 }
  1557. ; http://php.net/session.cache-limiter
    - M; }; {7 [5 J  s8 \: l
  1558. session.cache_limiter = nocache
    # A/ d; Q+ T! n# p- J' b
  1559. 9 {4 o4 b- y5 p4 W
  1560. ; Document expires after n minutes.
    $ |- @, w$ X* D
  1561. ; http://php.net/session.cache-expire
    ! S' D4 V6 }( U2 H
  1562. session.cache_expire = 180% ?& |+ M- e/ b. t7 p: h# ]' Y' n

  1563. 7 M  x9 q. M( e9 c
  1564. ; trans sid support is disabled by default.2 i$ ?  m$ i* T. j7 {) t
  1565. ; Use of trans sid may risk your users' security.- M4 W- L3 X3 r0 I
  1566. ; Use this option with caution.6 |$ y' Q& }, Z3 J
  1567. ; - User may send URL contains active session ID, _& F4 {# Q9 W! E$ o" U) M
  1568. ;   to other person via. email/irc/etc.
    3 e1 {/ U! p3 @6 @6 D+ b3 B
  1569. ; - URL that contains active session ID may be stored. s1 [3 t' |" X/ v. m: W; Q  a/ j
  1570. ;   in publicly accessible computer.
    6 S! X, h; U# X. ]% _2 X
  1571. ; - User may access your site with the same session ID6 \' U( {" V& P! N
  1572. ;   always using URL stored in browser's history or bookmarks.
    0 g2 p2 B5 [. J$ D  K& p
  1573. ; http://php.net/session.use-trans-sid
    / g, Y% x$ T$ W
  1574. session.use_trans_sid = 0) k. s- t7 J/ d: r0 ^  x9 t5 L9 h) h

  1575. & {3 i8 i7 U& h8 d# k& R
  1576. ; Select a hash function for use in generating session ids.) \. U: v. ]8 Z+ C
  1577. ; Possible Values/ M+ c1 p' D8 b& P
  1578. ;   0  (MD5 128 bits)
    3 g- s+ a8 S8 l8 _/ c/ J
  1579. ;   1  (SHA-1 160 bits)
    / G: L5 q1 y. U; w1 I9 w
  1580. ; This option may also be set to the name of any hash function supported by
    . T6 W1 u: E4 @6 @: w3 b
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos(): y. E5 o" ]4 M, K' r
  1582. ; function.
    0 x( q9 f) X: d4 ]
  1583. ; http://php.net/session.hash-function
    8 H' j: T! q  ^' t# Z+ n
  1584. session.hash_function = 00 H$ G/ }  e% T( m

  1585. 7 V: K( i# g! M4 Q/ g( j
  1586. ; Define how many bits are stored in each character when converting
    5 B4 w9 |3 O5 A# m  _' F
  1587. ; the binary hash data to something readable.
    8 k4 P( y4 x7 l" q
  1588. ; Possible values:
    1 n4 U+ m# m: N) T: u7 h4 \, a
  1589. ;   4  (4 bits: 0-9, a-f)
    7 {1 b7 q$ ^: `9 T
  1590. ;   5  (5 bits: 0-9, a-v). P7 l/ u- K8 C2 \
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    # H# I  c  c' l4 ~& S4 J
  1592. ; Default Value: 4
      q5 h5 t- f, c& x/ U0 D. e' Q) T
  1593. ; Development Value: 51 a' m# l# P: A9 s
  1594. ; Production Value: 5
    - G/ [2 x5 D, ^
  1595. ; http://php.net/session.hash-bits-per-character1 J- o' D# ]2 X/ h8 a! J( X
  1596. session.hash_bits_per_character = 5
    5 L. ^+ |$ g  L; k: J: D, l

  1597. 8 o! n( u: ^- Y( }
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.+ Q  _& I$ [: f! U' r
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    & X3 K9 H: y5 w# {
  1600. ; add a hidden <input> field with the info which is otherwise appended
    - r1 r  |- R* x( W* _) X7 H
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.; x- q7 t$ S; f. A% D! a
  1602. ; Note that all valid entries require a "=", even if no value follows.
    7 b  Z1 C7 a3 p+ a+ ^
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="5 ~0 Y' i4 o7 Q6 f! w
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( G5 @5 s! g: G# }
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 N6 |, l' k+ n( Z. K5 p& T" ^
  1606. ; http://php.net/url-rewriter.tags" t/ ?0 l' d& A* s( @; K' i  T  t
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"6 z; T; p) Y- ~3 Y. S% H
  1608. . f1 @, m% P3 `5 {
  1609. ; Enable upload progress tracking in $_SESSION$ V% V1 v  Z' N& Y& G
  1610. ; Default Value: On4 W/ L, ?  K' i- C; \0 n! c/ f0 d: ]
  1611. ; Development Value: On
    8 Z! b0 G  i! a
  1612. ; Production Value: On
    5 i3 b, L* _- a; O7 U( F; G; l9 v3 S7 O
  1613. ; http://php.net/session.upload-progress.enabled
    5 q2 F+ ~$ Q. f( S2 c
  1614. ;session.upload_progress.enabled = On1 v* V# a3 L7 c: s1 A& @

  1615. . k, l; d( w+ X% V8 h. t
  1616. ; Cleanup the progress information as soon as all POST data has been read
    # W& T" C. I9 g6 a: X  K! L$ n
  1617. ; (i.e. upload completed).
    6 c7 G" Y, n+ P, @  v, d
  1618. ; Default Value: On
    7 b) ^- a% R* ^& B! I' p" `
  1619. ; Development Value: On
    9 j9 H2 g, D% K, x$ I  Q* y
  1620. ; Production Value: On
    2 O2 \) C$ h8 S/ {$ c
  1621. ; http://php.net/session.upload-progress.cleanup
    / @! {1 ^/ P/ K" T  @1 y
  1622. ;session.upload_progress.cleanup = On
    . E9 N: S0 W+ v) ~. Q. g6 ^

  1623. 0 A. O! m* U9 f6 n& q% S6 B* D! J
  1624. ; A prefix used for the upload progress key in $_SESSION
    & f, y- {: T# E1 B' b1 \
  1625. ; Default Value: "upload_progress_"
    / q( ]9 o* @$ n, r4 Q/ \& q3 B
  1626. ; Development Value: "upload_progress_"
    + t9 y  Q- {" }" v; b5 ]9 L: i9 O
  1627. ; Production Value: "upload_progress_"
    ) p9 U4 f0 w1 r9 u, N
  1628. ; http://php.net/session.upload-progress.prefix
    3 [! q4 c8 I- J8 M
  1629. ;session.upload_progress.prefix = "upload_progress_"
    , E) X  i; K( r$ z" o: N- ?; H9 n
  1630. 8 s: l! ~5 J4 e0 X8 \( w
  1631. ; The index name (concatenated with the prefix) in $_SESSION  b/ V. U) S+ y4 P8 p
  1632. ; containing the upload progress information
    4 l, Y1 Y' |3 H: N1 j& l) W
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"* ?& Y* v" G6 G2 n* R) L
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! g0 g! p' K9 Q$ v  J2 p  c
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"$ b4 [+ n( X$ Y4 x
  1636. ; http://php.net/session.upload-progress.name
    4 {( Z9 n  L# w
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"3 }2 G4 _% f/ {" j  i7 G
  1638. # {7 j4 G- B4 W" x5 q! L
  1639. ; How frequently the upload progress should be updated.
    9 o5 X; |# P4 C/ n$ t2 S/ D6 V
  1640. ; Given either in percentages (per-file), or in bytes# r" I4 n0 z7 @( N; ^, M
  1641. ; Default Value: "1%"
    - M; L  p6 x. v8 a5 c+ P8 y- c+ Z& l
  1642. ; Development Value: "1%"
    1 s5 V0 @( T; H( }$ f1 C, Y
  1643. ; Production Value: "1%"* V8 z; w) J, R8 y' y) m1 I8 `' V. I% d
  1644. ; http://php.net/session.upload-progress.freq
    % J; F+ P; m! x: h5 l( k1 K
  1645. ;session.upload_progress.freq =  "1%"' [5 B. y/ i0 P1 u6 U

  1646. ; e5 b  A  [! g7 {
  1647. ; The minimum delay between updates, in seconds
    ! X1 H% T( i7 T8 j7 {0 n3 M8 r1 x
  1648. ; Default Value: 1- F+ l7 x) \1 x1 z
  1649. ; Development Value: 13 ^0 p2 c; P$ o# F2 D2 P
  1650. ; Production Value: 1
    " R9 ]& I  X/ ~; Q; I4 ~! u
  1651. ; http://php.net/session.upload-progress.min-freq
    & f% J" u9 _) L& H8 d5 I! L
  1652. ;session.upload_progress.min_freq = "1"2 B9 v( o+ q# l  b6 u

  1653. 0 O* f5 }' d9 q) |  u( \  j/ }
  1654. [MSSQL]
    # Q0 I$ [+ ?$ b& A/ `: L4 N# U
  1655. ; Allow or prevent persistent links.) j3 L0 d$ W8 m4 J8 G
  1656. mssql.allow_persistent = On
    * c2 [/ G: c- G+ Y) \

  1657. : }) f+ Z& H/ u9 y  `; A; s0 e. X
  1658. ; Maximum number of persistent links.  -1 means no limit.
    : m5 P' @/ B9 ]5 P8 q9 q$ q& x
  1659. mssql.max_persistent = -1
    0 |& i& r5 e( Q8 ~' V5 k; T

  1660. ! X2 x; o5 E; D- k3 Y/ G" _- Q
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    + p, c9 |7 T& D' B
  1662. mssql.max_links = -1: F. D! C2 T, y, y  b" [/ o

  1663. ) V2 k, u) B7 B1 k$ P5 R7 N
  1664. ; Minimum error severity to display.& @4 p; G$ ]4 Y0 @* `+ `: Y
  1665. mssql.min_error_severity = 10
    " `  _& h- G% k* n+ M3 y
  1666. 9 b4 A7 t! h9 S4 U, C7 ~
  1667. ; Minimum message severity to display.0 U  T- t- V$ J: Z
  1668. mssql.min_message_severity = 10
    5 w  L0 {9 f/ y" z5 f

  1669. 0 ]; y& R7 q9 ?) L% L
  1670. ; Compatibility mode with old versions of PHP 3.0.
    ! o) E4 M; }& X2 F0 }9 @  Z
  1671. mssql.compatibility_mode = Off
    % i- G# z+ A8 I( P. y' C  k; i7 x2 ?

  1672. 0 @% N: `- ^$ N1 Z
  1673. ; Connect timeout
    # T) M2 `. i' N; X& T
  1674. ;mssql.connect_timeout = 5& ?; P& g  d# d/ M% ?! w
  1675. + r! U0 T/ v( t' m) D% e; L6 j8 h
  1676. ; Query timeout
    5 j/ Y/ D+ E! P$ D1 e3 O$ T
  1677. ;mssql.timeout = 60
    + q) b# X% Z- u8 s- T1 ]

  1678. ; E2 O# F, j: U. R  D
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    $ H, X3 M0 W8 y0 `
  1680. ;mssql.textlimit = 4096, \: k1 G1 d" o) b$ a& m, g

  1681. & F, S+ ~1 k8 B
  1682. ; Valid range 0 - 2147483647.  Default = 4096.) p' _3 R5 g/ u- t4 @/ E
  1683. ;mssql.textsize = 4096
    ; I" ?5 D1 B! l1 t; P- U

  1684. & }2 [. b2 x9 M# H
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.5 Y0 v! C: V! X* c2 l1 H  c$ P
  1686. ;mssql.batchsize = 0
    . Y, i+ v- e3 l5 |

  1687. 2 ^3 t: z# B2 {9 c3 H
  1688. ; Specify how datetime and datetim4 columns are returned
      j5 S* o0 \% h# G  p
  1689. ; On => Returns data converted to SQL server settings) b4 X4 L2 x8 C, r; _* N
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss. ^3 y6 B) t/ r2 C: X1 }
  1691. ;mssql.datetimeconvert = On
    ' f: @! s! ^0 |$ y
  1692. - `1 q$ F2 l  b$ g/ [2 ]
  1693. ; Use NT authentication when connecting to the server
    : Q: ]1 o. |+ R1 s
  1694. mssql.secure_connection = Off7 s9 |% O+ l2 F" V7 c

  1695. 7 E+ x9 D! v2 s) f0 J  J( }
  1696. ; Specify max number of processes. -1 = library default
    ' {) r; _; c+ L- [
  1697. ; msdlib defaults to 254 w4 x: F; X0 V1 h1 r3 e# D/ ^
  1698. ; FreeTDS defaults to 40964 Z- d' l6 Z5 N
  1699. ;mssql.max_procs = -17 T+ ?& Q; [+ H0 ]& @% |: [

  1700. . \7 R# B2 i0 I! C, F( R
  1701. ; Specify client character set.
    3 `: e* x# u0 a8 y' B0 Z
  1702. ; If empty or not set the client charset from freetds.conf is used- w2 S2 N# y. T/ j8 `% M$ g
  1703. ; This is only used when compiled with FreeTDS8 f6 g# C, U% y. o: _0 P0 ]
  1704. ;mssql.charset = "ISO-8859-1"
    * l8 O. \, I! ?( w  u- t- T: o4 o( _; Z

  1705. # S( ]6 G, u8 H. ~
  1706. [Assertion]
    ! {+ f9 a6 O' |0 C8 [' u
  1707. ; Assert(expr); active by default.6 _" y) ?4 k3 ^
  1708. ; http://php.net/assert.active" v0 ]0 v' Q" W; Y, ?9 U2 _  h$ H* t
  1709. ;assert.active = On1 Y- a! a5 P. i& g/ i

  1710. 5 y; a# L5 U6 S6 S
  1711. ; Issue a PHP warning for each failed assertion.
    # }3 m: H: v% o% @# ~. w* O
  1712. ; http://php.net/assert.warning8 y( l" Y' J, u0 w! u" V
  1713. ;assert.warning = On+ O0 N" W) p5 c& r$ h* |

  1714. ( s% a/ T: T  {( S" r) X/ w
  1715. ; Don't bail out by default.
    , ~* z/ y# \5 U3 w8 W
  1716. ; http://php.net/assert.bail
    ; p% A( i- g1 h9 b6 n. d
  1717. ;assert.bail = Off
    1 k+ C5 o- Q% R8 ^5 T- L

  1718. - F* L$ ~' t3 ^) W
  1719. ; User-function to be called if an assertion fails.
    , @0 R$ Z# _# M  K
  1720. ; http://php.net/assert.callback
    ; `4 g+ Q- j  }& Y3 r7 z5 |
  1721. ;assert.callback = 0' m* w# K! @1 Q7 H+ J

  1722. & D& T: d+ `% ^9 S
  1723. ; Eval the expression with current error_reporting().  Set to true if you want7 P+ `7 t8 Z$ C7 v4 p0 X- d
  1724. ; error_reporting(0) around the eval().. |3 C4 g: P9 i6 u% c3 g8 O
  1725. ; http://php.net/assert.quiet-eval5 T# M8 B$ X! h: @, f  Q# @: n
  1726. ;assert.quiet_eval = 04 h. k6 X: T' S% [; _
  1727. 5 ^) j, o; I0 ?$ i# S( ]
  1728. [COM]9 ~, u+ _7 t: Q9 e0 w) I
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs; f. V! B) M- P1 h( ^
  1730. ; http://php.net/com.typelib-file
    * P* k- {, O" ~$ w' p
  1731. ;com.typelib_file =
    : k0 S) S8 k8 v# m, c% H
  1732. 1 Q; P; Q/ L$ o$ m! R
  1733. ; allow Distributed-COM calls
    ; @. I5 g5 s1 Z3 z5 c
  1734. ; http://php.net/com.allow-dcom
    $ l" r9 e" n' F! ]# i
  1735. ;com.allow_dcom = true
    + x( A- M# Z3 J" O" Q" }1 ?) A

  1736. ) N) ]' `& q" E4 _' k
  1737. ; autoregister constants of a components typlib on com_load()
    . T5 T) i1 g5 G
  1738. ; http://php.net/com.autoregister-typelib
    % e, B$ m+ Q0 b% \$ e
  1739. ;com.autoregister_typelib = true+ u& E& Y3 i# \8 i. Y! u6 N  n

  1740. ) P9 W- ^$ Z2 T; y1 ]0 E
  1741. ; register constants casesensitive
    , m3 f9 I- ]# @9 U% W0 ]0 G
  1742. ; http://php.net/com.autoregister-casesensitive: r( ~: _8 N) j. |2 V2 g
  1743. ;com.autoregister_casesensitive = false# ^) u  X  I- P0 M
  1744. ) a8 n4 h" }$ H. d0 m
  1745. ; show warnings on duplicate constant registrations
    % X, P) l, h" M" ^7 ~8 y5 _
  1746. ; http://php.net/com.autoregister-verbose! e" P7 s+ h6 k5 H: Q
  1747. ;com.autoregister_verbose = true4 C+ z, J  }. h$ G: P9 T
  1748. + a4 g8 ?. t  B8 s3 b
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
      Q& V/ p$ U' y# p  F
  1750. ; Default: system ANSI code page
    ! n9 j7 b9 _; ~- q/ X* t; k4 o- H4 R
  1751. ;com.code_page=% C7 C0 Q4 G2 c& _' d; k/ k! @
  1752. 7 w; n/ K, {& S
  1753. [mbstring]
    % y6 O" W) y2 C4 J8 D* C
  1754. ; language for internal character representation.
    : R  ~$ a9 i& g, q" |
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.+ v, g9 A/ t# i4 J
  1756. ; http://php.net/mbstring.language$ B; {% S3 c- h
  1757. ;mbstring.language = Japanese% a) F1 U  k+ B" r0 j
  1758. + ?* x! F7 M, k8 `' |8 f
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.; T2 x2 T9 [( n1 E0 a
  1760. ; internal/script encoding.
    - T7 W# ^* S4 h3 [
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)7 m0 h' t  d. f' G( k
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ! F! B. v) n0 r- N- |
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    , z/ i1 S6 i1 d
  1764. ;mbstring.internal_encoding =
    0 b- U- a* M5 m5 w' w
  1765. 0 W/ q& D, O8 ^1 d. l/ |* }; A* b
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.+ W. G' q+ a+ c1 T; |; @# O1 Z$ E
  1767. ; http input encoding.$ k5 C& x$ [7 _7 X$ [9 `
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.5 }! F' u4 U8 V7 v) a
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.: ?5 l7 B* Z6 [7 ?4 r, \1 O
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    5 q- @9 b6 Q, z' D( ^' N1 F# G1 N
  1771. ; http://php.net/mbstring.http-input
      v; g4 W& }7 ?) F$ B( H0 Q
  1772. ;mbstring.http_input =) c6 k3 U3 x0 O- ?+ f
  1773. 9 s5 N; w% r0 ?1 A
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.& D- i3 A* u" y. [: j6 u7 B! S) U8 ]
  1775. ; http output encoding.: R7 g- W* q! |  }8 x  [
  1776. ; mb_output_handler must be registered as output buffer to function.& m* i3 Z; G7 `, `& k: y
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    0 @( w; |3 f8 L
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output7 R/ w7 G5 Q) e/ ?+ g6 P) E5 }- t
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    " G6 r" Y3 T, B# {# P
  1780. ; otherwise output encoding conversion cannot be performed.; _/ s+ @  U- j4 \+ b
  1781. ; http://php.net/mbstring.http-output
    1 t: F0 q/ g/ m
  1782. ;mbstring.http_output =6 S5 z$ Y8 y& _0 u5 f2 f1 b
  1783. ! t! r  _" [7 ]$ U) ]* i
  1784. ; enable automatic encoding translation according to
    6 s1 |! [% _3 o% h' c
  1785. ; mbstring.internal_encoding setting. Input chars are  p2 b: V. {) f2 s
  1786. ; converted to internal encoding by setting this to On.
    1 U' ~6 [5 L6 F% _+ R
  1787. ; Note: Do _not_ use automatic encoding translation for, E+ Z1 a' d5 {: k
  1788. ;       portable libs/applications.2 a0 d8 n& R- g7 O3 R
  1789. ; http://php.net/mbstring.encoding-translation
    7 M1 S- O! b8 w8 t2 h# ^; a( H6 ]% O
  1790. ;mbstring.encoding_translation = Off
      {: F2 v# q7 Y/ r
  1791. ( M  z; x" v7 F  D5 _
  1792. ; automatic encoding detection order.) H) X0 B5 |) w+ M. `! H) b+ d
  1793. ; "auto" detect order is changed according to mbstring.language
    4 ^. @) l, T( C, C
  1794. ; http://php.net/mbstring.detect-order
    : G3 }' ?; W6 C7 ]" \+ @
  1795. ;mbstring.detect_order = auto
    9 D) _+ w3 N8 o$ D! w) Y6 f

  1796. - _$ U( C1 j) j) l) ~4 O
  1797. ; substitute_character used when character cannot be converted
    4 D9 k$ Y8 t: @8 v
  1798. ; one from another5 E$ u4 G0 A% `8 r
  1799. ; http://php.net/mbstring.substitute-character
    ; g2 B% A* D4 |: i
  1800. ;mbstring.substitute_character = none! v, r' i! ~% B2 ~
  1801. ( {4 y! H6 m' ^$ P0 {2 _* \
  1802. ; overload(replace) single byte functions by mbstring functions.1 }8 S! d9 }! j* {" |0 |% D
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    2 F! N0 `1 o1 Z" w; d0 R6 b
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    & W3 U' Q5 b, t8 N
  1805. ; For example, 7 for overload everything.
    / N/ N' `* o3 Z) V; `7 m0 W
  1806. ; 0: No overload9 V* K% f/ w0 ^8 E" Q- B
  1807. ; 1: Overload mail() function
    + b5 A4 L: V, x- g" ?* b+ T
  1808. ; 2: Overload str*() functions' }# X; M: a4 g0 U8 u3 n$ [: U
  1809. ; 4: Overload ereg*() functions* M8 n" [9 `# h
  1810. ; http://php.net/mbstring.func-overload
    ( M% i8 A9 p; y$ w4 k2 ]3 p
  1811. ;mbstring.func_overload = 0
    % U6 v/ a) W8 O" r: K7 v
  1812. ! A: F( T) n; Y0 c8 ?# J
  1813. ; enable strict encoding detection.3 M) j7 D+ B2 X7 h9 r! V7 p: V0 D
  1814. ; Default: Off
    1 S7 b% F: ]# {& y6 d1 B/ Y9 t
  1815. ;mbstring.strict_detection = On& a" l5 h0 q0 l6 w
  1816. 4 {7 U2 Q% I6 l% M
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()$ t4 j) {9 s( `) l/ @
  1818. ; is activated.
    & a. ~9 C  L( Z: l" u' A6 K
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)- Y9 U/ s/ E( L$ [% F
  1820. ;mbstring.http_output_conv_mimetype=: G2 J" g$ R) W1 t" B

  1821. 8 ?5 c" e6 L* s  L. y& i+ c  L# `
  1822. [gd]
    5 e' g) [) p9 S% s6 P* }
  1823. ; Tell the jpeg decode to ignore warnings and try to create2 X/ J! v  x! p
  1824. ; a gd image. The warning will then be displayed as notices' Z* W7 T+ P  f" O: C
  1825. ; disabled by default
    ; \9 m( V: B( V4 o
  1826. ; http://php.net/gd.jpeg-ignore-warning; }9 c7 q! O, ~4 C. U
  1827. ;gd.jpeg_ignore_warning = 0$ O, I: ~5 V% [3 J, u  i- U" U
  1828. 5 q0 i9 |' T7 f, R
  1829. [exif]1 Y' L4 O  ], Q, w! t0 ^$ w9 i
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.- b: V/ ~: c. J. q8 I  @1 [- u
  1831. ; With mbstring support this will automatically be converted into the encoding" M! f# e8 l9 K3 b8 o8 R" N' \' X, A
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding4 a( {' |" c( f* h& k
  1833. ; is used. For the decode settings you can distinguish between motorola and: m  f$ i  Z, E# p7 G
  1834. ; intel byte order. A decode setting cannot be empty.
    5 c$ m% z9 v; y+ U9 i2 I
  1835. ; http://php.net/exif.encode-unicode/ C9 i. o# C) n; B$ w/ g
  1836. ;exif.encode_unicode = ISO-8859-15
    - ~5 e) G3 _" h* u& `5 J

  1837. . i9 O+ |- |" n6 m5 k: c
  1838. ; http://php.net/exif.decode-unicode-motorola# |, v  ?( s! \; q" V% o  b
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    1 R1 G; h! z6 O5 ^
  1840. % s) d4 x- E3 t/ i& C
  1841. ; http://php.net/exif.decode-unicode-intel
    4 S8 d7 B9 U( @6 P+ x7 r
  1842. ;exif.decode_unicode_intel    = UCS-2LE  g7 C* k" Z3 |4 T) ]9 P

  1843. ) C( L9 J, _$ s* C. g7 W" p& Z
  1844. ; http://php.net/exif.encode-jis
    6 m0 Y+ a! q3 g  {( G& \
  1845. ;exif.encode_jis =2 R" I7 H% j' r( ~" ?- F: x
  1846. ) C9 Q2 m1 O4 e; t
  1847. ; http://php.net/exif.decode-jis-motorola
    + L0 O4 @! C, U; g( P0 M" [
  1848. ;exif.decode_jis_motorola = JIS1 S* q7 E7 ?$ C6 Y$ L) R

  1849. 2 o7 C! v. H5 @4 m7 D# u- q
  1850. ; http://php.net/exif.decode-jis-intel
    ' i- g' W& {" ]1 @3 E2 S* l; c( a
  1851. ;exif.decode_jis_intel    = JIS3 p, u& u  l- O2 t5 i# d
  1852. : a7 U  ]5 p, \
  1853. [Tidy]
    3 V# m1 V& d0 T. V# v
  1854. ; The path to a default tidy configuration file to use when using tidy
    3 S$ Q) s! h" i7 V% q# B+ Y6 o8 P
  1855. ; http://php.net/tidy.default-config$ m/ W: g: L  S" u7 R+ J
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg3 r1 \0 l) x4 p) u

  1857. 5 [) ]$ W1 S0 f0 S
  1858. ; Should tidy clean and repair output automatically?
    9 t# K  v; R  }; u
  1859. ; WARNING: Do not use this option if you are generating non-html content  w7 N0 o; {! d
  1860. ; such as dynamic images9 v9 i) G+ s5 d  w: M
  1861. ; http://php.net/tidy.clean-output
    , x+ T7 U2 n: P2 O1 S
  1862. tidy.clean_output = Off( P+ ^. ~* Z6 p9 X1 ]8 @

  1863. 0 B+ e1 ~8 e9 e6 M
  1864. [soap]
    ( c" k4 y6 Z6 E1 n1 \) S$ d
  1865. ; Enables or disables WSDL caching feature.
    ; ]2 c& u& m8 y9 ~% G5 o
  1866. ; http://php.net/soap.wsdl-cache-enabled# f2 j3 m7 }% j0 D. a
  1867. soap.wsdl_cache_enabled=1' C, s0 W8 |( D$ R- M3 V

  1868. 4 U/ e- t" s" \& y2 O* a! C' }
  1869. ; Sets the directory name where SOAP extension will put cache files.
    ! C0 [4 G5 ]! S* H) Q; U
  1870. ; http://php.net/soap.wsdl-cache-dir
    ( L) @6 `5 Z$ J3 @6 v1 ~! v! D
  1871. soap.wsdl_cache_dir="/tmp"
    5 g) ?# H' I( C. B. k% K
  1872. 6 V# L  [3 c2 Y
  1873. ; (time to live) Sets the number of second while cached file will be used; N+ Z" Y. r) Z% Y. o3 @
  1874. ; instead of original one.) e- A5 j5 R! q; v7 V- J
  1875. ; http://php.net/soap.wsdl-cache-ttl
    / o! O+ W" \; E8 _) O2 V" s; m
  1876. soap.wsdl_cache_ttl=86400# {9 U0 w# f6 ~& x) Y
  1877. 9 V& v+ {) H- w
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache): E4 {9 Y* e+ z2 q
  1879. soap.wsdl_cache_limit = 59 Z1 U# R; ]6 [+ e: S
  1880. ! H. b# I4 a8 |$ c6 M: E  F
  1881. [sysvshm]
    % N* s6 ]4 M" E9 k
  1882. ; A default size of the shared memory segment) w! S) T% w9 B
  1883. ;sysvshm.init_mem = 10000( X9 n' f$ R& S* E/ Y3 z( x; M
  1884. , h. f+ k% m" m  m4 ~' F# N3 q
  1885. [ldap]0 v% U6 t5 i" Y$ n1 B" o" C7 D+ f) \
  1886. ; Sets the maximum number of open links or -1 for unlimited.9 d  j: T$ T7 g  `3 l+ R7 \( z
  1887. ldap.max_links = -19 X4 `3 W  b. Q# M# E

  1888. ) l3 T$ `* S5 F) L' o
  1889. [mcrypt]; P  F( O( a- D; p$ i; y
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    1 g- L# a8 c) V* K: h
  1891. ) p$ v( E- i  c) F
  1892. ; Directory where to load mcrypt algorithms
    5 j; q" {% T2 R! v. h6 r  `
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    8 ?' a* M' n8 E  w% [, u
  1894. ;mcrypt.algorithms_dir=
    6 c7 a1 ]1 q" h* @0 V
  1895. / |) E& J! m4 s+ w
  1896. ; Directory where to load mcrypt modes
    ! i1 P: d. y, S! ~( d) f
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    $ y! Z' j. d3 z1 K' ?/ i
  1898. ;mcrypt.modes_dir=) W* I: c; @( R5 a& V
  1899. ' p' f' f6 @# |% m0 }; A9 v
  1900. [dba]
    / k/ f% C1 Y! l0 u, _
  1901. ;dba.default_handler=
    ( S  ?; p5 A+ g

  1902. : q, h9 \/ k3 G" b8 @
  1903. [opcache]$ Z0 i, R# `: ^/ u% t# O
  1904. ; Determines if Zend OPCache is enabled# j' ~* L& p! \! i& M- Q
  1905. ;opcache.enable=0
    3 P; e' a9 Z& V2 g& L
  1906. 2 A, w. D' _# [4 g. A) Q7 ?# q  d
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP& e3 K) t" |3 V0 h! h
  1908. ;opcache.enable_cli=0. v1 N! x2 x, B
  1909. - T4 b4 X  g, a9 q2 D2 J' k8 \
  1910. ; The OPcache shared memory storage size.
    ' ^# D/ A8 c3 z5 |$ z
  1911. ;opcache.memory_consumption=64
    ! O( d" p  @7 F# `( G& d" i
  1912. / e3 B0 v: _% B& D. y. z
  1913. ; The amount of memory for interned strings in Mbytes.
    6 V( z! J8 V) G
  1914. ;opcache.interned_strings_buffer=4
    ( h7 X5 |2 o- r& q; |5 A& D: d

  1915. : X3 Q1 H* r( B
  1916. ; The maximum number of keys (scripts) in the OPcache hash table." d( i; ^6 y4 a2 R$ W5 o& R
  1917. ; Only numbers between 200 and 100000 are allowed.* K, m% U1 N+ ~0 a
  1918. ;opcache.max_accelerated_files=20007 y) p0 i5 a, i6 _0 ^4 K" g
  1919. ) d5 ^- v8 J- y% A) a
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    + l" C+ O  {9 p; o/ _1 z
  1921. ;opcache.max_wasted_percentage=54 U2 {9 R) P6 I$ ]$ F4 N
  1922. % T  {5 V" m, ^
  1923. ; When this directive is enabled, the OPcache appends the current working
    1 W8 P+ y& O- [$ c
  1924. ; directory to the script key, thus eliminating possible collisions between" g0 K4 [" y" B6 K% o) x  {9 _
  1925. ; files with the same name (basename). Disabling the directive improves
    3 K. g- q- K- p( A# O1 I
  1926. ; performance, but may break existing applications.6 f6 u6 H! g' c6 E. T% ]) F
  1927. ;opcache.use_cwd=1
    " X+ [! P2 g% A# o& F. Q, O( E
  1928. ! V4 t* L4 q2 g3 @9 G
  1929. ; When disabled, you must reset the OPcache manually or restart the7 b  i( W5 E; |: D$ c% p# K
  1930. ; webserver for changes to the filesystem to take effect.
    - p* z! s' K8 ^' u, n& [0 }
  1931. ;opcache.validate_timestamps=13 T' n) V  N3 E: p9 @
  1932. 9 N, a4 p: K  D" k  g4 E" F. j
  1933. ; How often (in seconds) to check file timestamps for changes to the shared, J# u. e! e* l( L- I1 x, n
  1934. ; memory storage allocation. ("1" means validate once per second, but only0 n# z* g* q5 }) v
  1935. ; once per request. "0" means always validate)& x2 t; N4 j, U# Z
  1936. ;opcache.revalidate_freq=2
    ' d  U* L  V: S3 \7 v, Q

  1937. # N- Z* }& W  U( {& p  ^
  1938. ; Enables or disables file search in include_path optimization
    / y- n8 G4 Z4 G/ r+ h8 B
  1939. ;opcache.revalidate_path=0
    9 ^: S( F" a2 g/ G2 Y, m
  1940. # T; J2 Z/ _$ n/ t4 c, C7 J' j
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    # ~- f; K3 W' U/ w2 v; q/ ]7 {& v
  1942. ; size of the optimized code., G) C" p, N4 v& c# I9 }
  1943. ;opcache.save_comments=1
    / V+ P6 c9 ^" }0 Q5 L0 q
  1944. + @, ?1 }' V- V; t
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"0 L) k' _) m& k. R' h
  1946. ; may be always stored (save_comments=1), but not loaded by applications. [1 F9 X4 h+ e1 ~
  1947. ; that don't need them anyway.
    5 A3 e: ^2 O5 ?; {9 _# ?) v
  1948. ;opcache.load_comments=1) m4 b. t. M5 F- x! ?4 B
  1949. ; c/ I; |+ r! Y# L
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ( }' ?% \: l0 q% h  Y4 p
  1951. ;opcache.fast_shutdown=0
    * }  }3 Z  u' J# C8 T
  1952. $ U! h& T+ n8 ~0 p9 N* s1 V
  1953. ; Allow file existence override (file_exists, etc.) performance feature.4 R/ r7 w$ D0 s- h; i' C' O
  1954. ;opcache.enable_file_override=05 N  B3 a4 ], N; H6 i- k
  1955. " M, ?' K- O$ g1 m
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ( q, x9 {4 Y. l5 \, I
  1957. ; passes7 p1 K0 o, |" X2 z6 Q$ G
  1958. ;opcache.optimization_level=0xffffffff2 O! r! U3 @9 N! C# s- P
  1959. 3 V9 g, C+ C! m- w
  1960. ;opcache.inherited_hack=1
    , j  B- A  {  g! y' v
  1961. ;opcache.dups_fix=0( D8 F' O. F8 r  `6 }" Z
  1962. ) `' r% r' F7 O
  1963. ; The location of the OPcache blacklist file (wildcards allowed).( t. Z" ]1 r- \, S& Y' a, }
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
      p8 o8 H- V3 g* ~; M7 ?( K& \
  1965. ; that should not be accelerated. The file format is to add each filename
    . y3 {" b0 v0 n' @7 n$ ?
  1966. ; to a new line. The filename may be a full path or just a file prefix# a, \% m& r0 e/ b6 p3 h6 o9 G9 M( o
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    . |% _9 u7 @! @1 h
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).4 ~* i3 \3 g3 n. R4 ]
  1969. ;opcache.blacklist_filename=( \; g& m$ u  x, Y' E. A3 r- @
  1970. ; h! p2 x0 i! \% H: R
  1971. ; Allows exclusion of large files from being cached. By default all files4 ^0 f# ~& |, {$ c0 n% F% Q
  1972. ; are cached.
    ' N  I7 Z2 }2 Z5 m/ N+ Q0 L% V
  1973. ;opcache.max_file_size=0( U6 ]4 {9 B6 @$ {" e5 ^7 d( p
  1974. % t: e3 D  N4 G- l: X( L+ a" n5 [
  1975. ; Check the cache checksum each N requests.
    * b0 j3 x6 B) Q" B2 A: U7 O2 ~
  1976. ; The default value of "0" means that the checks are disabled.. |$ u# [' L2 }
  1977. ;opcache.consistency_checks=06 m. V+ A9 u4 G5 m

  1978. ! G5 G3 k1 z) Z6 I0 L
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    - x: H. K- l) o0 r& h
  1980. ; is not being accessed.+ A+ J' h, u. d
  1981. ;opcache.force_restart_timeout=180
    ) z; H# }, S2 R
  1982. 8 d. p' k7 x# z& U
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    / C# p, J7 R* p* y
  1984. ;opcache.error_log=
    ) |) R' G7 w* ^1 c! C* h
  1985. . B6 Z0 U4 }5 K
  1986. ; All OPcache errors go to the Web server log.  Q4 Q# b: c8 v7 f6 e
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    1 U3 ?* p% o7 z# }
  1988. ; You can also enable warnings (level 2), info messages (level 3) or. o+ E- d) p0 {5 T: U. D
  1989. ; debug messages (level 4).
    - ^( Z1 W$ Z1 _  o/ p
  1990. ;opcache.log_verbosity_level=1
    " m. f" |0 |% H8 S; v! }$ g1 O3 K

  1991. 8 W. B9 H# ~9 M& ~1 v
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.8 h$ D9 @; X) h9 w7 A
  1993. ;opcache.preferred_memory_model=
    0 I5 p8 o  F, M. o2 [' J! s

  1994. 5 L# P8 }1 v2 b! e
  1995. ; Protect the shared memory from unexpected writing during script execution.( E: f1 z% T  D/ A
  1996. ; Useful for internal debugging only.
    . W, z: r; K8 B' T$ S4 B% r% w- T
  1997. ;opcache.protect_memory=0
    # {2 J  S2 L% g$ {- I1 ?% E5 ?9 S7 U& u

  1998. 0 ~2 x. h8 w, S4 @* [
  1999. ; Validate cached file permissions.
    0 ?  ]: o% K# ?1 P4 i6 ]. h  w
  2000. ; opcache.validate_permission=0- F6 V; U/ `+ x5 s9 @8 d

  2001. " L* U# Q3 L+ t) F9 I
  2002. ; Prevent name collisions in chroot'ed environment.. Z8 S0 j! y  N* g
  2003. ; opcache.validate_root=08 s9 |! L) J! v
  2004. & L5 Q- n5 Y4 [- u. d1 w
  2005. [curl]1 ~" J8 C- _( N5 }& Q
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    * r2 h0 ]5 J  w
  2007. ; absolute path.$ z- C* p( ]- e% r* n% m
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ; z5 z3 E& Y( r* v3 R
  2009. 9 I- ^) \! N' @
  2010. [openssl]$ h9 F( [( t) W+ T1 w+ e' U
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    ! [  f8 q6 d, f$ f
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    3 ]% O( h$ f7 J( f. M
  2013. ; not specify a value for this directive as PHP will attempt to use the
    + A2 e, F" n1 V8 o$ Q
  2014. ; OS-managed cert stores in its absence. If specified, this value may still" ~) ^" i4 r0 c% A2 i, `
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    : E, _( j& {5 H9 M; m% L( A7 Q$ k
  2016. ; option.8 u& O8 r+ n' P4 O
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt+ k5 k- u& y7 t* \

  2018. & `2 |5 m9 ^5 s. e' x4 N" [5 h* m
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the8 w+ F, A" d, y
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    ! P* m  x" E6 @4 O7 r1 n# K' [2 n
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    - D- Z! N+ D7 ^& T/ e
  2022. ; Most users should not specify a value for this directive as PHP will; g% N) J3 W; e' @, J0 [/ s
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    3 ~7 o# U- j+ e& d, F. A  u# A
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    . I/ {* `7 M: N. e. ^  q
  2025. ; SSL stream context option.
    5 d' h- z7 Q* p/ n7 Q' ~- U
  2026. ;openssl.capath=$ U1 a; k4 V( s) w/ B

  2027. - R7 {" g  n( S' ~
  2028. ; Local Variables:
    ( `; A1 q% C+ G& m" R& z' p' F
  2029. ; tab-width: 4
    9 q4 q6 z0 H9 P  ~
  2030. ; End:
    - A, j+ ^3 Y3 A1 w
  2031. ' p' k2 u1 h4 U8 W* f
  2032. ;eaccelerator
    9 P) B" g! Y. C; O! h

  2033. ) [% l: W* K( `" p) w8 \) X5 z
  2034. ;ionCube
    ' T: }( U- \2 d& S; s1 \
  2035. 1 Q. o3 ^6 ]# Q6 N6 V% i7 a
  2036. ;opcache' r) |6 _4 N* y* Z2 X" q  ?, o
  2037. 9 f% G  `5 l3 k! Y0 f7 d
  2038. [Zend ZendGuard Loader]
    - J2 J& L2 S' F  i* I
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so( K/ ?& D$ u. \- b2 U2 {
  2040. zend_loader.enable=1
    / _' J2 b6 ~* E
  2041. zend_loader.disable_licensing=0
    ) V, V4 f8 h; t4 ]6 }
  2042. zend_loader.obfuscation_level_support=3
      h, `" Z% U; l* h" |( e
  2043. zend_loader.license_path=
    $ Q& z' [' y+ n( r" t
  2044. ) T2 S3 S; J- Q' Y$ y
  2045. ;xcache
    " P9 c+ y, Z  H

  2046. + c: b9 f2 V& Q/ t- t2 W( @0 ?- i
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146928 I5 _) ]0 o; [2 O: Q
9 u9 ^# z0 Q" U% A  F
, G7 z. T& {. y
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
* x+ v! j, {5 t+ R8 W# |$ D  ?8 W$ y) D6 D9 I( j
Discuz!程序版本选择:
" A( k* L9 a5 g' p  P& T站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
6 }" j2 h/ E/ y/ c不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:7 @$ p& ~  @7 e
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。$ B: @5 a: j$ ?9 M' \- Q

7 R" R4 W  A$ @) x# W0 _$ y5 cDiscuz!插件模板版本选择:
9 ]; }' ^- P: ?* {* @" Q( c& z' g8 y很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,4 y% T/ B  L  ?7 r: l# ~
针对这个问题做个统一的普及:
  q# V$ c: @/ WX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
  U5 n/ i$ R  D
/ e5 K  u2 I* i2 d$ ~0 J% C所以
2 W1 x0 F0 M4 s适合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的二级域名。
& U6 \7 y. \7 A3 J' f打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。4 P6 u% G& x  G9 B% Y; o- V
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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