分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0" J# w6 K; D8 s% L! u% ]8 r+ o4 C

7 B, }# i( w1 G/ B7 \9 h/ r- H
  1. [PHP]
    % O  z$ L* C+ u$ U

  2. 8 \- J9 [; U. h  F
  3. ;;;;;;;;;;;;;;;;;;;( X; A. A# G7 v/ ~, A9 A
  4. ; About php.ini   ;9 V0 D, _3 @. p3 N" c+ X+ {$ n
  5. ;;;;;;;;;;;;;;;;;;;
    - ^' N) V0 t2 X( {% H
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    5 Q9 E0 S! Z7 {' o
  7. ; configuring many of the aspects of PHP's behavior.
    1 z, F1 a1 M) I5 Q2 b, E* [) D
  8. 3 S, Y5 h1 O' I9 Z
  9. ; PHP attempts to find and load this configuration from a number of locations.9 V6 S  y; S  T' I5 f( K
  10. ; The following is a summary of its search order:3 W0 M( G6 i$ i8 A8 D. A
  11. ; 1. SAPI module specific location.! r4 o7 g* S1 f* o$ d6 m
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)- O5 M9 c& p7 q  K
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)2 r% b: C2 j# t* R- f
  14. ; 4. Current working directory (except CLI)
    1 A, E$ s! l# l* O) H- Q
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP4 `( E1 E/ x* V. U8 s6 T, w0 ^
  16. ; (otherwise in Windows)
    6 e5 R7 i+ }0 R3 E* f
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    / n: r2 T, i( ]) C
  18. ; Windows directory (C:\windows or C:\winnt)
    # p+ y& Y( v, j% R+ D* f7 G- d
  19. ; See the PHP docs for more specific information." [/ J3 |" B9 u" @6 N# Y6 K( V+ S
  20. ; http://php.net/configuration.file( e* N+ a, L- _5 d+ S$ y' `( e

  21. & K% ?: b  O/ `* `+ ^
  22. ; The syntax of the file is extremely simple.  Whitespace and lines3 _4 ~. ~- y* T1 W6 E
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    4 e# e' B# p- N; y  F
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though9 w# L8 p; H* h' C" h7 l
  25. ; they might mean something in the future.5 ^( w! P; z5 l% p0 K2 B3 V
  26. 8 A. s; o6 S6 k. L% T
  27. ; Directives following the section heading [PATH=/www/mysite] only$ Y6 p/ n( F  h2 y6 f( P
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    # Q& \! h- }+ f; v' H+ {% a+ S
  29. ; following the section heading [HOST=www.example.com] only apply to% `; \) I2 ~# N5 s: h: A
  30. ; PHP files served from www.example.com.  Directives set in these
    : P/ K) T; B. u) [  F
  31. ; special sections cannot be overridden by user-defined INI files or; R5 M% W/ c  C9 v( O  O* |6 i7 K
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under* m3 ^1 O# i( B; A0 ]; G. r
  33. ; CGI/FastCGI.( e9 f$ B. d' F1 \0 [: {. j
  34. ; http://php.net/ini.sections$ U# W; [# }" h  Q$ z, W
  35. 7 V' R7 a+ ?5 @1 J3 `1 H+ y) R
  36. ; Directives are specified using the following syntax:
    # Q9 T6 Q% ^( j0 x3 z$ X
  37. ; directive = value* g1 G7 ]/ H9 p9 F# \0 Y6 l
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.1 ]9 `) L1 R7 S& Y/ T7 ^  c4 K
  39. ; Directives are variables used to configure PHP or PHP extensions.
    % M. Y$ ~! ]9 L8 L- J
  40. ; There is no name validation.  If PHP can't find an expected) p! d, ]9 K2 h* T
  41. ; directive because it is not set or is mistyped, a default value will be used." v+ H& {1 ^' ^6 G% H

  42. ( R3 P9 y- g1 x$ o6 U% T" p
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one! k& |# ~% M6 ]7 |' Z
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression3 |, g, j8 @) X7 H3 S
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a' c! S' [" X# K7 f
  46. ; previously set variable or directive (e.g. ${foo})8 {$ {% Q! U3 [" F4 u' G0 i

  47. 0 B( l7 ?, y7 o. n" {
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:# [$ S) }7 O" C& c' ^8 f
  49. ; |  bitwise OR7 h) V  y& G9 v. x9 z. j
  50. ; ^  bitwise XOR
    7 \' L- Z& R6 }  ~0 H' i0 R) a% K4 P
  51. ; &  bitwise AND/ q) t7 ]0 z9 O. s% v0 q
  52. ; ~  bitwise NOT
    : d. c$ H# e7 a9 z
  53. ; !  boolean NOT( m* r  n+ H" y

  54. , n7 \8 e4 h) G& }
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.7 U1 }5 f4 y6 {
  56. ; They can be turned off using the values 0, Off, False or No." U: l! ~7 v) y9 O2 W
  57. & U1 `& b, f7 c; g5 u( h$ F- W
  58. ; An empty string can be denoted by simply not writing anything after the equal
    % q" Y! ~, ~' k9 Y4 P, c
  59. ; sign, or by using the None keyword:: P8 {# Q3 Z+ v4 ?' A$ F# P  H0 _

  60. 5 P9 V6 C1 r: A) d# i
  61. ;  foo =         ; sets foo to an empty string+ z7 z8 m" O+ b- F6 k
  62. ;  foo = None    ; sets foo to an empty string
    8 }3 r2 V5 G- K$ A: p' [$ h
  63. ;  foo = "None"  ; sets foo to the string 'None'3 ?: k% f/ y8 r7 _
  64. 5 m7 i; }! C+ b- B* K2 J" _
  65. ; If you use constants in your value, and these constants belong to a
    " u! z5 _2 t/ \% N
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),: @- M, _5 H! d! c0 `
  67. ; you may only use these constants *after* the line that loads the extension.
    1 e& f7 y& |( Y+ G% w5 R1 r

  68. 4 j4 Y( @0 x# n: Q" a; m1 P
  69. ;;;;;;;;;;;;;;;;;;;
    3 B7 g; N6 o4 n. m
  70. ; About this file ;) J  F, [% x3 ~
  71. ;;;;;;;;;;;;;;;;;;;
    3 `# L3 }) O8 H) ~4 n6 H' ]
  72. ; PHP comes packaged with two INI files. One that is recommended to be used+ a6 B; x( _1 Q, ]/ i$ z5 w
  73. ; in production environments and one that is recommended to be used in
    % X. @4 U$ \4 H
  74. ; development environments./ ?' m8 n7 G# o4 b! v. N1 V( `

  75. : R( u& y) m8 o) m
  76. ; php.ini-production contains settings which hold security, performance and
    : J# h9 U/ w4 a/ A" D1 Y. ?7 S
  77. ; best practices at its core. But please be aware, these settings may break: E/ n/ @7 j0 H" O8 J  S. @
  78. ; compatibility with older or less security conscience applications. We
    8 z( _  n: E( @% n7 F( K0 K$ u
  79. ; recommending using the production ini in production and testing environments.
    6 y( W$ f3 Z. @: L1 ]

  80. 3 O( D$ ?. {( |( q9 l
  81. ; php.ini-development is very similar to its production variant, except it is& g; ^" Y' X. p+ L
  82. ; much more verbose when it comes to errors. We recommend using the+ P" r. |- ^* J' B& Z  q
  83. ; development version only in development environments, as errors shown to9 W7 Y% I6 s, q4 o; _* N  X
  84. ; application users can inadvertently leak otherwise secure information.
    3 ?3 f1 R5 C0 T6 T9 B4 ?+ _

  85. # J% g' D  |. W
  86. ; This is php.ini-production INI file.
    - z$ @9 f; F/ q$ E7 @7 h4 c

  87. 1 y" N$ I: x, }! X6 m3 S
  88. ;;;;;;;;;;;;;;;;;;;/ M" u# f$ R" Z
  89. ; Quick Reference ;1 c- J  r; |, w% u& g! r( t2 N& z
  90. ;;;;;;;;;;;;;;;;;;;
    ; o+ v3 C! Z: v+ W$ n
  91. ; The following are all the settings which are different in either the production
    ! l& _; {: `/ N- G( F, @7 |
  92. ; or development versions of the INIs with respect to PHP's default behavior.$ B5 y+ d' s! f5 v2 E
  93. ; Please see the actual settings later in the document for more details as to why7 j" b  L# R# W( n' c  `, ]
  94. ; we recommend these changes in PHP's behavior.: j# B+ Q3 I0 h  l1 z5 s
  95. * ?& m% b' y7 X9 X* T
  96. ; display_errors( c" k3 u% |" `3 r9 u7 c
  97. ;   Default Value: On
    1 y1 S6 o4 V% X7 q0 F0 b( G# T8 N
  98. ;   Development Value: On
    ( [! f* T1 E8 C4 p8 o" [
  99. ;   Production Value: Off
    % J  }. C5 k% h, A2 H) U

  100. $ ]! w3 _9 j3 o, \+ s* Q( c# w
  101. ; display_startup_errors
    $ C" a; v8 b' P+ c: ~
  102. ;   Default Value: Off- B. B2 X+ c/ f+ i; X
  103. ;   Development Value: On" |9 C7 N$ f2 I. a9 V# w% j
  104. ;   Production Value: Off% n$ `8 R5 O( ?  e& F  T! @- g

  105. & H* ~$ u/ F# D
  106. ; error_reporting
    7 [" c1 m) C- Q% A8 ]& K5 u0 w
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ; A( Q: m3 F9 C* w, U% n/ g
  108. ;   Development Value: E_ALL
    0 d# \+ L4 @7 Z8 E# g  f
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    % P3 ]* j: E1 R+ M/ b7 H. O) \

  110. ) W' T! _: U* Y! L* Q  w( E8 j
  111. ; html_errors
    + |- S4 N) ?& N# U9 p- I8 H4 b" n
  112. ;   Default Value: On* L5 H' o; L2 q8 E3 N) h$ ]
  113. ;   Development Value: On
      I7 o5 ~6 R4 C1 V
  114. ;   Production value: On5 S: n$ Y* l/ T% h) G4 ~1 T2 ^8 W

  115. + |; B6 e' {& w- q
  116. ; log_errors
      A7 t) G2 N3 ^
  117. ;   Default Value: Off
    # i- G& _4 P- f1 H7 J
  118. ;   Development Value: On
    ! r# J3 Z2 f0 T6 H+ k# \" ^$ E6 |
  119. ;   Production Value: On" |6 q  m' d* w3 V3 [7 i/ x
  120. 4 m+ Q( Q& P# T7 h- f0 r
  121. ; max_input_time
    9 n3 t8 D7 A- P7 K% b) [# |
  122. ;   Default Value: -1 (Unlimited)
    ' N+ p4 l9 C! C# |8 g# O$ S  A
  123. ;   Development Value: 60 (60 seconds)
    ( N0 y4 L' ~. ?+ s8 G! B( k
  124. ;   Production Value: 60 (60 seconds)
    + y' ~' k5 |! _3 d0 F8 g- B# s

  125. , Q0 _; l1 i8 Q1 I% M: x
  126. ; output_buffering: O0 m0 L# p& K& |0 X4 A
  127. ;   Default Value: Off
    ; R% h- F- Z5 p
  128. ;   Development Value: 40964 C% D$ V7 l' Q( ^; U+ D
  129. ;   Production Value: 4096
    7 A% O% W2 h- U/ J5 l) V# D
  130. + }4 Y7 x2 ^* o2 Z1 Y, }
  131. ; register_argc_argv
    " E' X. e0 f% G: l( X3 w3 O
  132. ;   Default Value: On8 U4 _5 d; n% ~- Z' ]8 ^6 W
  133. ;   Development Value: Off
    ( t" i( i- A6 B
  134. ;   Production Value: Off
    # l$ ~- R9 y7 e6 q
  135. / e/ c; J- A9 O, E* z$ g( z
  136. ; request_order
    2 o+ @* |8 v5 M8 L- x' b1 F
  137. ;   Default Value: None+ s0 v- F( \- x) o/ k  H
  138. ;   Development Value: "GP"* h/ K' N1 ?; m* f) Z8 Z* m) g
  139. ;   Production Value: "GP"
    0 l6 x: G$ p  O  l; s/ x! M- i
  140.   u$ D/ \3 O+ M# p5 ?
  141. ; session.gc_divisor4 \& T8 Q; A8 [
  142. ;   Default Value: 100( f) b9 O! w" R+ {0 t
  143. ;   Development Value: 1000- L& a% C0 l; y3 i
  144. ;   Production Value: 1000
    , g' K- l7 o8 e) d5 b: m/ e* n; u+ a4 Q
  145. - W: b3 i9 s5 F4 L
  146. ; session.hash_bits_per_character
    ! U7 M7 @% @* Z. m4 X3 W
  147. ;   Default Value: 4
    ( x" k1 N0 W; w) X- z" j8 d' O$ ^
  148. ;   Development Value: 55 l& [% u1 H8 t
  149. ;   Production Value: 5
    0 ^  P. n' R# W3 H/ r
  150. 8 a- a7 x" N) T: C" G
  151. ; short_open_tag4 m" d0 z8 K2 q7 q
  152. ;   Default Value: On" h% z: b5 X8 z/ l9 M6 @: U! Z0 z
  153. ;   Development Value: Off) a: p. S8 h8 M% F% b8 G6 R
  154. ;   Production Value: Off
    + F8 t2 T6 j0 b/ q  f; c

  155. 5 }2 G9 u/ [, ]5 k# ~& }% s
  156. ; track_errors
    ( Z6 }6 Z8 @' f' d5 J
  157. ;   Default Value: Off
    & B5 P8 K* x  Y* I" i
  158. ;   Development Value: On
    ) ]8 u; {' m; [/ x4 t. ]8 N* ?
  159. ;   Production Value: Off* T; g: \8 e& }+ a' v# S3 d4 n

  160. 5 ]3 l; i, Y8 m$ n" d0 k6 m6 h) |: i
  161. ; url_rewriter.tags
    + a% Z6 p' D4 {4 T  t
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    7 n! Z/ Y& i, j; U* t
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* `: W7 Z# h" z  p
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & W/ Q! O/ H4 c2 h
  165. # w; z6 I' T" l" m8 J# {
  166. ; variables_order
    : u0 \2 A  l1 p
  167. ;   Default Value: "EGPCS"0 Q/ v/ r4 _# u0 \
  168. ;   Development Value: "GPCS"
    6 p* D8 z! A- q/ f5 K
  169. ;   Production Value: "GPCS"5 i$ C* Z5 M* \, q% \3 o% G
  170.   H1 r2 Z) S1 Y, J' Z- X
  171. ;;;;;;;;;;;;;;;;;;;;
    ( `9 ^5 y9 S) Y- u$ b
  172. ; php.ini Options  ;& _0 d4 q) W4 y7 _: q
  173. ;;;;;;;;;;;;;;;;;;;;
    / |7 O( `( m  T! D  Z, |: t5 I/ v
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    , m# e* L5 Q  l8 X8 v" H" O( c
  175. ;user_ini.filename = ".user.ini"
    - `/ B# F4 J" t  G
  176. 9 m' M7 G4 c$ K$ l
  177. ; To disable this feature set this option to empty value
    * A$ w5 O7 ]& `( ~3 E% c
  178. ;user_ini.filename =
    & F$ Q9 I1 Z1 d% b

  179. " [. B& t; f& X: V; o& O- K
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    5 l; M4 k: `+ R6 C0 _2 T% E; q
  181. ;user_ini.cache_ttl = 3006 O9 v7 s# X6 E  p: }- w
  182. 1 q2 ]/ M4 U, V+ Q6 F
  183. ;;;;;;;;;;;;;;;;;;;;* Z, Y4 W, ~( z+ N/ o$ o2 m6 Z- n" t
  184. ; Language Options ;
    6 E# k1 {8 ^/ V* D
  185. ;;;;;;;;;;;;;;;;;;;;' }7 W/ k* q$ B! K2 E

  186. * p7 p' Q$ E. H% G
  187. ; Enable the PHP scripting language engine under Apache.
    ' N; W/ r2 |. \' U& i+ u
  188. ; http://php.net/engine' n9 K+ M/ W! `3 W
  189. engine = On
    5 V7 Q6 @5 C* h8 m% r
  190. ) G; `3 h( s, |2 P* V3 v1 w% _5 Q+ C
  191. ; This directive determines whether or not PHP will recognize code between2 a# z% i& [1 m( R4 n* y$ f/ h
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    & i. ?3 H; r0 }. c
  193. ; generally recommended that <?php and ?> should be used and that this feature
    * Y7 p8 X, E( Z& o0 c
  194. ; should be disabled, as enabling it may result in issues when generating XML+ `8 C8 j6 c' E2 I/ S
  195. ; documents, however this remains supported for backward compatibility reasons.
    1 o3 d, N4 W2 k0 g
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    2 X1 Q' Y7 J; {
  197. ; used regardless of this directive.7 J2 x" e7 X# @) G& X6 C8 g8 C
  198. ; Default Value: On) j- Z/ c% @7 ?& U1 o8 a
  199. ; Development Value: Off% L/ Y7 X9 ~! _' ?. s" v" N% |1 W
  200. ; Production Value: Off
    6 Z' h1 B% y3 a  m2 _5 {
  201. ; http://php.net/short-open-tag
    4 @4 M( t0 k2 S0 z6 Y0 o) L
  202. short_open_tag = On
    : u+ L$ H$ l$ L) ^. s9 y

  203. 6 P8 g, R* @3 Z+ _% k
  204. ; The number of significant digits displayed in floating point numbers.2 @% U6 A5 \8 R/ \, D
  205. ; http://php.net/precision
    ; Q9 J% ^1 d: |9 C# _
  206. precision = 14
    3 F6 I% A* Q7 `% @0 Q4 m# H# i

  207. / y* L3 _9 Y& y* p$ l- I  q+ f
  208. ; Output buffering is a mechanism for controlling how much output data
    3 W) w' B; y0 ~# @' y! w5 E4 Q
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that* h: n& L: S, B' E6 B/ P: g; O0 J
  210. ; data to the client. If your application's output exceeds this setting, PHP
    , s3 V8 c/ e5 u' M" e8 M
  211. ; will send that data in chunks of roughly the size you specify.
    # D) e. p( N- s1 m1 E. i3 j
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    + c) A# O  l6 c7 x! S) v
  213. ; interesting side-effects depending on your application and web server.
    ' D- v% H% Z) j) |0 I
  214. ; You may be able to send headers and cookies after you've already sent output+ t( l4 E8 x# C  Q/ r; b
  215. ; through print or echo. You also may see performance benefits if your server is3 P2 H3 Z8 l, Y9 [2 G2 B
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    2 K& _. Q! W! R; T4 {5 d* b/ t
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance" Z! ?: i" ?; g- k: n4 O- W/ ]
  218. ; reasons.& M! S# S* }% K" T/ ]: w
  219. ; Note: Output buffering can also be controlled via Output Buffering Control. P' `! S/ j1 r
  220. ;   functions.( Y) U: U: \9 p
  221. ; Possible Values:: Q0 q$ @8 o$ e* L) B, G2 X
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
      M5 W( s+ U3 l5 V  ]+ y/ i; V8 [
  223. ;   Off = Disabled. p* r3 X% k$ u' Q* p1 o! {& Q
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    , U: d4 N3 e' |% j) |
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    + B( _+ p) j. v- X0 c* k
  226. ; Default Value: Off
    / y$ V& e: x. n* F4 {& t6 {2 X
  227. ; Development Value: 4096
    : I$ W2 B! t) @' w3 w
  228. ; Production Value: 40968 F8 `2 ^# Z( ?* @. d! p6 @5 r
  229. ; http://php.net/output-buffering' ^2 ^% ]8 P! F7 n: H
  230. output_buffering = 4096
    ! [8 n, F2 |0 n* }- l+ O
  231. ; {4 R# S4 s% T
  232. ; You can redirect all of the output of your scripts to a function.  For& g0 S% S5 H9 a7 v! W
  233. ; example, if you set output_handler to "mb_output_handler", character0 n* Q( V: V2 I. q% W, P
  234. ; encoding will be transparently converted to the specified encoding.
    ( i. n6 O  L% |1 c& m# E. H$ Z8 C- j
  235. ; Setting any output handler automatically turns on output buffering.
    $ }0 T/ V0 c4 ]
  236. ; Note: People who wrote portable scripts should not depend on this ini5 l$ j6 l3 i% h
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    ' v: a+ a0 Z6 H$ ?% u
  238. ;   Using this ini directive may cause problems unless you know what script) a5 P( J3 t/ `6 t7 n& [. u
  239. ;   is doing.
    : N; l; E& {. ~2 B# N% Y
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    & `# u0 j% r$ b# c2 I/ H3 W$ W
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    / i; U# L# V6 s
  242. ; Note: output_handler must be empty if this is set 'On' !!!!8 O2 P# n8 U* \9 Z; |2 O
  243. ;   Instead you must use zlib.output_handler.
    5 f! K- m. ?  n* Q! h# ?  S
  244. ; http://php.net/output-handler
    # T7 V# J4 M3 V" o
  245. ;output_handler =
    9 O% J! f2 s& d5 J/ U
  246.   }! M- D# h: k7 M4 p
  247. ; Transparent output compression using the zlib library$ k: N9 @8 c$ n5 r) _/ ?
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size# ~9 L3 d/ G% ?: q8 b  S4 Z$ `
  249. ; to be used for compression (default is 4KB)
    3 l/ w: j5 W( ^2 Z  V! l* U" P" x
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP" k+ Z1 f' _' f! F8 T
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    * _& f/ e/ P" C% x/ u5 W
  252. ;   compression. If you prefer a larger chunk size for better7 w5 u3 z9 P* L: z2 y
  253. ;   performance, enable output_buffering in addition.
    8 ^1 Q; }! I* |
  254. ; Note: You need to use zlib.output_handler instead of the standard' T4 S, b& ~( z3 Z
  255. ;   output_handler, or otherwise the output will be corrupted.
    $ C& l+ I- l0 u, ]2 Q( Y7 I3 y
  256. ; http://php.net/zlib.output-compression
    , z. f+ I7 M( L1 j$ ^  q" ^+ [
  257. zlib.output_compression = Off
    " ?. t% v5 \: |4 z! \6 N

  258. 8 T3 Y6 |$ A7 I
  259. ; http://php.net/zlib.output-compression-level
    9 B% F$ ^- L# K
  260. ;zlib.output_compression_level = -1, D; P/ r  A, c8 n7 H

  261. 5 ^, k1 Q) n1 f. `
  262. ; You cannot specify additional output handlers if zlib.output_compression
    - g+ i: l# S* x* v) w1 a$ e
  263. ; is activated here. This setting does the same as output_handler but in. R  s5 U8 A) b- N5 L5 b9 o" |
  264. ; a different order.
    ' ?7 d$ w( e+ C% }$ O' A/ [+ o6 l
  265. ; http://php.net/zlib.output-handler
    % d: v1 b1 l7 z0 p
  266. ;zlib.output_handler =
    2 l$ c) r1 o8 w, G" C/ z/ q. {

  267. 0 O- Z$ i# \* a) O
  268. ; Implicit flush tells PHP to tell the output layer to flush itself7 ]8 Y) N2 X' ]0 M3 e
  269. ; automatically after every output block.  This is equivalent to calling the" T! h7 [5 I  m
  270. ; PHP function flush() after each and every call to print() or echo() and each0 L9 |) Q8 O9 {: x0 n5 t. L& l# z
  271. ; and every HTML block.  Turning this option on has serious performance
    ; B! c, j0 O5 t$ y% g& \
  272. ; implications and is generally recommended for debugging purposes only.; M  Y8 O2 q3 }' {+ ]0 t* K. R
  273. ; http://php.net/implicit-flush
    - p: k) Z6 f) g  N; s. I% ~! M
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    0 L) Q. w. g9 s2 ^! O
  275. implicit_flush = Off& f, }" n& \4 n1 T7 M: P2 }$ }, ~
  276. $ h% ^, F7 Z( f  {
  277. ; The unserialize callback function will be called (with the undefined class'
    8 |' H* v' ^5 X9 E) t; x% b* K
  278. ; name as parameter), if the unserializer finds an undefined class
    * D: `* |& d5 g
  279. ; which should be instantiated. A warning appears if the specified function is9 {. _: K. B9 }6 u
  280. ; not defined, or if the function doesn't include/implement the missing class.
    * e/ s  h5 p  Y% O/ E
  281. ; So only set this entry, if you really want to implement such a1 o# u. K3 A$ J9 K
  282. ; callback-function./ k' n+ S, s! e& N
  283. unserialize_callback_func =
    7 h' @  I3 r& O( p# r4 U
  284. 6 X: U$ x! c) U
  285. ; When floats & doubles are serialized store serialize_precision significant
    & f) m6 f) W. l& N; U. Z
  286. ; digits after the floating point. The default value ensures that when floats
    + I5 b5 X0 S% I4 x: b
  287. ; are decoded with unserialize, the data will remain the same.! i3 S' f0 {4 _4 [0 @: ^
  288. serialize_precision = 17$ U4 z; m% A. k1 U/ M
  289. 1 H2 x( q- N2 X" o; x* h9 W
  290. ; open_basedir, if set, limits all file operations to the defined directory
    & a$ L0 [+ C- j9 G0 w% e& S
  291. ; and below.  This directive makes most sense if used in a per-directory
    8 f, |3 N/ b( V( W/ c
  292. ; or per-virtualhost web server configuration file.' x# u8 F' T! Z+ [2 s% Y$ [# U3 N
  293. ; http://php.net/open-basedir( _; L/ m1 C* D! ^! p2 ?
  294. ;open_basedir =8 ~) o$ z2 u! B0 j2 j1 p$ q0 V/ Y! Q
  295. ! s) Q3 G3 ?2 {7 B/ g
  296. ; This directive allows you to disable certain functions for security reasons.
    ' h2 ]: n- Y1 K  R: E7 Q
  297. ; It receives a comma-delimited list of function names.* _) A' f6 P, i: w  e
  298. ; http://php.net/disable-functions' r% M/ L) L* v9 ]$ C' b1 C% `
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    7 M6 B5 w# @. K$ t$ v
  300. + P/ k/ D& K9 s
  301. ; This directive allows you to disable certain classes for security reasons.
    ' j7 Z  u! O! q
  302. ; It receives a comma-delimited list of class names.% O4 y& T0 ?% x8 w1 }
  303. ; http://php.net/disable-classes- ^( v7 |; t7 E+ p! l9 d9 N; w& f
  304. disable_classes =: R( Y0 F, _' W9 H* d2 y" j# E

  305. ; D. L# N/ `( }  j% K: J
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    3 y) G( A' c3 p
  307. ; <span style="color: ???????"> would work.
    / _# I( d, S0 `9 J1 ?% G7 t
  308. ; http://php.net/syntax-highlighting
    $ u3 M3 y' K+ |
  309. ;highlight.string  = #DD0000
    $ c0 R" i/ M8 s6 F7 e1 _
  310. ;highlight.comment = #FF9900
    , \2 l- m3 j* G  [7 a" k4 h
  311. ;highlight.keyword = #007700# J7 e4 r1 r5 ~2 t$ N) M
  312. ;highlight.default = #0000BB- Q( T8 d* U0 m) K" X1 Z( ~  y
  313. ;highlight.html    = #000000/ ]/ j+ H8 s, E( N* n; H
  314. 1 R3 B/ b- W  }% {
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    1 |1 u2 Z! Q6 H) C' r# C
  316. ; the request. Consider enabling it if executing long requests, which may end up
    ; W. _; m* P2 z( f; r0 z
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    2 \$ ^5 |8 f7 }9 f) D
  318. ; is to disable this feature.
    % ]9 Q$ b; k0 f0 Y4 q7 R/ T
  319. ; http://php.net/ignore-user-abort! ?" p! g/ K3 ]2 x6 L+ L& l$ R
  320. ;ignore_user_abort = On
    4 y" m4 c8 z: Y) I% E
  321. ' @" N0 X7 I3 \) K4 @: j: Y* Z
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    5 ]# P: t1 S! U$ \
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    % m! h9 I! c: B4 g  ^
  324. ; the file operations performed.3 `- j1 k2 |5 O% S
  325. ; http://php.net/realpath-cache-size
    , T' |' R: C( ~5 N( O- }
  326. ;realpath_cache_size = 4096k
    ) L+ V4 S% h9 W4 Z2 ]: I
  327.   F8 o: k6 V' j4 s3 {- \. B
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    # C" n! w& d) j3 U
  329. ; file or directory. For systems with rarely changing files, consider increasing this! U. E0 [5 r+ L% b# V# ^' Z
  330. ; value." ~' F( Q. L8 n4 h8 e
  331. ; http://php.net/realpath-cache-ttl
      d4 ~( L" ~, a9 g, }9 O! d) i
  332. ;realpath_cache_ttl = 120
    ( r6 L/ F+ i2 d) @. j  u" x, x

  333. ( I" @* n: V' I! Z& z8 I- h2 W: [
  334. ; Enables or disables the circular reference collector.: N9 o/ e8 d6 ?% |4 Q  [; u+ c
  335. ; http://php.net/zend.enable-gc
    % k0 E- _$ d& Q: k4 n, \
  336. zend.enable_gc = On4 A( c) d! x# S& Y6 O
  337. ; u1 ^; I% m8 _# ?5 n- V+ v
  338. ; If enabled, scripts may be written in encodings that are incompatible with* j! M( l5 v0 s, O; P
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such3 O% C: T' \  w! H/ F! n
  340. ; encodings.  To use this feature, mbstring extension must be enabled.5 m% h/ r& C- n* |* B9 j. U- t
  341. ; Default: Off* y2 q" I! A. S0 |$ U: S; f
  342. ;zend.multibyte = Off+ Q: G" r  G* t2 P6 S
  343. % |7 i4 a7 `5 |6 E# p$ W  a
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    6 n4 ]5 O6 p" e% d
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.: h! u9 Y* I7 y8 Q0 `5 E7 N
  346. ; Only affects if zend.multibyte is set.5 z' l! O2 P. o
  347. ; Default: ""
    2 Z. G& a4 ~. [7 Q/ @
  348. ;zend.script_encoding =- u, R. r* H. B9 H% o
  349. : h0 F8 O7 |: D, S2 Q1 x
  350. ;;;;;;;;;;;;;;;;;
    / d5 }- y/ q% A; K2 N
  351. ; Miscellaneous ;2 r; ~( w) a5 t; u, a# I, ^; W% _
  352. ;;;;;;;;;;;;;;;;;
    ; y& L! \9 S/ F" j2 k. _- G
  353. 6 Q  _# ^! [# d$ ~
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    - O5 P; A) E9 J$ P
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    0 `- H, j( w  l2 P- J
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    ( q, K# }$ l9 ?# }: y
  357. ; on your server or not.8 j. o. d0 Z* z' `7 P5 L* A! p
  358. ; http://php.net/expose-php
    & X  Z4 L8 X! D6 |
  359. expose_php = On0 y! i. r3 y  j/ v7 N# W
  360. 4 k5 p) d, G- m3 F8 m. O" U2 C% P( p
  361. ;;;;;;;;;;;;;;;;;;;' A1 e! Z+ ~# k9 ]' P2 |  c
  362. ; Resource Limits ;
    ( o1 E4 p0 f4 |3 l" {% u" @: p
  363. ;;;;;;;;;;;;;;;;;;;" I$ Y8 j5 X2 y) O* E9 }
  364. $ j3 F8 b, D, [& {/ Y' a. D
  365. ; Maximum execution time of each script, in seconds
    1 E: k& P) v+ i& e
  366. ; http://php.net/max-execution-time7 p4 o4 e1 X" @4 K8 ~2 v+ u
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI( F" _3 c  P. y! E! n
  368. max_execution_time = 300: A- k! i: a* w3 [

  369. 3 U2 W. z$ ~' g+ `0 f6 @
  370. ; Maximum amount of time each script may spend parsing request data. It's a good: o* L& X5 `" {1 _
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly) z+ \7 k2 f: }5 `, v1 j! [: P6 [
  372. ; long running scripts.  C6 f6 ~9 j8 e* E) Z
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    + D9 ]$ c( l& h6 g/ Y/ f* H
  374. ; Default Value: -1 (Unlimited)0 y/ E6 U8 o& ^7 T" p7 L2 `
  375. ; Development Value: 60 (60 seconds)
    # g  Q+ b/ O, r# g2 b. ^
  376. ; Production Value: 60 (60 seconds)
    ' I0 _2 z. R% X
  377. ; http://php.net/max-input-time; c8 }1 y4 @$ l  F! |+ j$ r
  378. max_input_time = 60
    / y0 }1 Z) y- z6 q

  379. : N/ [7 ]8 d3 D0 ^, p
  380. ; Maximum input variable nesting level/ t3 P" a7 y5 q2 V" E+ D7 h; G, C
  381. ; http://php.net/max-input-nesting-level
    4 \9 I% I4 _& b7 z0 {7 g
  382. ;max_input_nesting_level = 64
    5 h4 Y2 r' I; V5 z6 E9 H
  383. 0 ~: M, S" G0 l6 i7 f4 j, g2 z
  384. ; How many GET/POST/COOKIE input variables may be accepted
    5 ^6 o9 J6 d- t5 Z9 `. I! J+ t
  385. ; max_input_vars = 1000* }  J# J0 Q/ y/ a

  386. / |( h% Z7 o" m
  387. ; Maximum amount of memory a script may consume (128MB)
    3 ^5 ]+ x7 ]8 D, e) ?, J! G
  388. ; http://php.net/memory-limit
    , g4 q' `9 E; x$ b: h( U
  389. memory_limit = 128M
    : t% v- l1 V$ z% I" L
  390. 0 v# q% s  S+ @6 w
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;) D+ Z3 J/ n1 b+ d% @/ ^
  392. ; Error handling and logging ;8 p: f6 b4 b, q9 B6 \' n
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;' i5 G, b/ f) p/ \: g
  394. ) S" O5 y9 }  _2 m8 j( |
  395. ; This directive informs PHP of which errors, warnings and notices you would like# Y+ r- R4 D) D$ v. ~6 U
  396. ; it to take action for. The recommended way of setting values for this6 P! d! Z) A) F* A( Z' N
  397. ; directive is through the use of the error level constants and bitwise
    8 J5 e: Q% ?/ P( v/ A1 @! x
  398. ; operators. The error level constants are below here for convenience as well as
    7 c7 s6 K: n4 u  N# d; y7 X
  399. ; some common settings and their meanings.
    * J$ U+ t  _+ J3 h' T6 H
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT( J( k9 j6 n% S( V2 P7 I$ Z
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ( G% N! m! ?# J8 I: M
  402. ; recommended coding standards in PHP. For performance reasons, this is the; Y  o  F% x8 W2 p; ]
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    ( M. |3 y3 @5 X
  404. ; resources complaining about best practices and coding standards. That's what
    6 Y- _8 P& {4 r: t" b+ n( H
  405. ; development servers and development settings are for.( C4 C: j9 e4 q$ z. H
  406. ; Note: The php.ini-development file has this setting as E_ALL. This1 ~) d7 {- J" B* o- d  B
  407. ; means it pretty much reports everything which is exactly what you want during
    ' E' _$ y: \9 y7 O
  408. ; development and early testing.
    + B6 y- H3 ]" |
  409. ;
    8 [& C4 C4 V! C% c  n" P& ]' M+ q; T
  410. ; Error Level Constants:9 G. u+ f, p7 j: s7 y, h  F
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)- X( ?9 ]; N% S  h  f+ d4 `7 q
  412. ; E_ERROR           - fatal run-time errors
    / j' l$ O0 s# ?, E$ M% f
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors  [4 X! s( \& ]# G2 }
  414. ; E_WARNING         - run-time warnings (non-fatal errors)6 p2 @' N) z/ B; h% ?- z) s) n
  415. ; E_PARSE           - compile-time parse errors
    $ I: P5 \( h2 {! s+ ]
  416. ; E_NOTICE          - run-time notices (these are warnings which often result. d9 t4 y# _  t: G0 s
  417. ;                     from a bug in your code, but it's possible that it was) d, z/ N( r8 I8 _' J  \
  418. ;                     intentional (e.g., using an uninitialized variable and
    ( L8 \4 j0 W- ?
  419. ;                     relying on the fact it is automatically initialized to an  t+ O' b$ A+ r+ n. B
  420. ;                     empty string)( {+ K0 O) E) ~) G3 c( g+ z
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes: d, p4 w/ Z; ?4 c* G+ G
  422. ;                     to your code which will ensure the best interoperability9 n$ h( ^+ P" j  k
  423. ;                     and forward compatibility of your code$ {, s5 \% D* ~4 P$ ]( w
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    . d" P$ b; R4 g' R9 Q
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ( r2 Q2 S! O- B% e/ G
  426. ;                     initial startup
    + ~1 Q' I5 A1 v! v
  427. ; E_COMPILE_ERROR   - fatal compile-time errors' H0 K: ~3 V1 T. M$ C/ j  r
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    4 K( Z% ~2 m4 C  c7 f9 s0 v
  429. ; E_USER_ERROR      - user-generated error message
    * ^7 ~; [, {% {5 f& l
  430. ; E_USER_WARNING    - user-generated warning message
    9 D# \  O! t( e# H. S
  431. ; E_USER_NOTICE     - user-generated notice message
    " c& M/ }0 V& c
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    ! R3 q" e# t( F
  433. ;                     of PHP* I  Q$ _4 Y2 O
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    2 t; @, _7 M, z+ e" h  ?
  435. ;" i6 s' e5 Y/ F6 v% ^
  436. ; Common Values:
    : M/ b6 [7 \( Q7 q- A
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)) X- K+ C: a: `4 P, F* w
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    * I; w! y& j! r" h8 @6 \* G4 y
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)( r6 c) D' K& h" f+ Q0 w
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    % S  a6 J4 }2 q0 ~$ H0 ?" Y( r
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    - f5 u9 P0 ~' p
  442. ; Development Value: E_ALL- A) X8 D1 d) _: Z0 x! a
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    4 r: g. W$ r! F- I( ?" w* S
  444. ; http://php.net/error-reporting
    : m8 c$ j; `  j( T2 B: e
  445. error_reporting = E_ALL & ~E_NOTICE7 f' U3 }% Q* G% [

  446. ) T( c8 ~2 l& m# ]
  447. ; This directive controls whether or not and where PHP will output errors,
    ! z% p" V* N& n
  448. ; notices and warnings too. Error output is very useful during development, but
    , E% _2 H: C( p( Z+ s, m% a! ~
  449. ; it could be very dangerous in production environments. Depending on the code
    ! s" v% M% L  C7 |5 m. x
  450. ; which is triggering the error, sensitive information could potentially leak% X3 E/ w& O3 s, \7 M' q. M  c
  451. ; out of your application such as database usernames and passwords or worse., \2 m1 ?% ]% L+ D$ D9 h
  452. ; For production environments, we recommend logging errors rather than
    # S4 `: j3 x% W
  453. ; sending them to STDOUT.1 o# C% C. w! U" r2 R. _
  454. ; Possible Values:1 K- V" T8 d* J6 n, w4 y
  455. ;   Off = Do not display any errors
    $ u# w- i4 r" L- B- t. P+ c( R
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)# U' Y$ ?, o8 z9 Q8 w
  457. ;   On or stdout = Display errors to STDOUT
    $ x6 K+ e, ^- g# V0 Z" y- s( R
  458. ; Default Value: On
    1 g8 X3 d5 {# F$ g/ C  O
  459. ; Development Value: On8 Z* G  O& {* ], Q
  460. ; Production Value: Off
    5 G/ x+ B' m* r( u  T8 c8 f5 f
  461. ; http://php.net/display-errors6 I  Q8 Z- n, g) M+ N
  462. display_errors = On7 x- `, ^6 s8 N
  463. - a0 J* F; Y7 R. C" C. u7 W* }- b
  464. ; The display of errors which occur during PHP's startup sequence are handled/ t: r8 M$ |* h6 r8 p
  465. ; separately from display_errors. PHP's default behavior is to suppress those: Z) J; z* W% \# o
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    , H. x" V- i: v& k3 g2 k4 ]
  467. ; debugging configuration problems. We strongly recommend you
    5 c* m2 P* P0 [; P% `+ }8 z
  468. ; set this to 'off' for production servers.+ x( A' S  v1 f+ B8 }
  469. ; Default Value: Off
    # p* v  G/ I9 W( h  m
  470. ; Development Value: On. @# t9 T$ d1 p7 K6 E) U
  471. ; Production Value: Off
    2 j$ ~$ w! ~5 a' U2 J* x/ ^1 }5 l  q- l
  472. ; http://php.net/display-startup-errors( _; y3 q2 q+ m9 @+ V+ [
  473. display_startup_errors = Off' y$ U6 f5 ]4 w7 ?$ g3 A# B

  474.   f$ F3 t& i. R7 `1 r; T, E. s/ w
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    ( H( N; d5 f$ M$ V! M% o, c
  476. ; server-specific log, STDERR, or a location specified by the error_log' f8 ^( K0 V) |) ]
  477. ; directive found below. While errors should not be displayed on productions% p5 t9 t' t8 F& W9 _( Y3 x9 H# n
  478. ; servers they should still be monitored and logging is a great way to do that./ h% r6 \7 B" D% }. h9 q
  479. ; Default Value: Off" C  R8 h( |7 u) v: o( k
  480. ; Development Value: On
    3 H* P9 U5 U5 H" D. o; j
  481. ; Production Value: On
    # D5 M! l: i) \# d- A
  482. ; http://php.net/log-errors- T- T! c$ O1 Q
  483. log_errors = On
    4 y( N" {. ]1 r
  484. ! J" ^0 g. X9 U) x2 Q% Y8 \/ a7 _
  485. ; Set maximum length of log_errors. In error_log information about the source is) h( }# Z& ^9 F
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.5 d' h5 H( z: G4 z
  487. ; http://php.net/log-errors-max-len
    7 o' n% S0 y% l2 U+ C/ b5 L8 L
  488. log_errors_max_len = 1024
    ' q; h. D# L7 Z" B5 r" o1 o0 Y$ H: ^

  489. + b) Y0 q" O- k3 S
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same* ]6 J, M& ^, I) [
  491. ; line unless ignore_repeated_source is set true.
    * g. L/ V1 F" |
  492. ; http://php.net/ignore-repeated-errors( v: L3 u9 S7 V  Y
  493. ignore_repeated_errors = Off
    7 A8 t/ M. y# j- x
  494. : [" C* C6 J3 b" ?  h# I+ P! N' [
  495. ; Ignore source of message when ignoring repeated messages. When this setting' g) U6 ^, D$ G. L7 w
  496. ; is On you will not log errors with repeated messages from different files or
    / M) X! M# @& j! z/ o
  497. ; source lines.  E: t$ y$ X0 ]5 G/ m: c
  498. ; http://php.net/ignore-repeated-source7 e6 p. G* }" l" q9 S6 I; t
  499. ignore_repeated_source = Off# G, H4 [( ]2 b! e
  500. ; g6 }9 ^8 m$ ^3 H/ o8 S( ~
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on+ k" y* r- s9 }$ I  }
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    , T% R0 J/ a: P3 z
  503. ; error reporting includes E_WARNING in the allowed list
    0 r$ q& {, `2 A; ~! b' N- G
  504. ; http://php.net/report-memleaks
    $ _3 n' U7 r/ C& E- ~
  505. report_memleaks = On' l" J. O  [* _- b, Y8 w9 F

  506. 3 T8 p* c9 h- C' B* I$ \/ i
  507. ; This setting is on by default.# F4 J4 e- ?- N
  508. ;report_zend_debug = 0; y. E3 h% L* ?: r

  509. 1 _. {* P) T$ x! N$ E- D: M
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    , @1 O! C# h0 N3 B6 {3 D* Q* M
  511. ; to On can assist in debugging and is appropriate for development servers. It should2 n8 Q6 p* Q( w
  512. ; however be disabled on production servers.
    " \1 |6 b' d+ K7 Y7 C
  513. ; Default Value: Off
    1 L. Z2 \2 k& v& k
  514. ; Development Value: On7 J5 C  [( f& X$ P
  515. ; Production Value: Off
    , p( ~- }. e* P  ^/ }. c
  516. ; http://php.net/track-errors
    0 n5 B0 \, T( {) t' I8 o" d
  517. track_errors = Off
    * U) c+ }1 L) u# T* N9 t
  518. 2 [* w6 p2 s0 s/ v8 u
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    2 I% v9 L" w3 `8 f
  520. ; http://php.net/xmlrpc-errors7 C% R( j1 U0 B" Q" {
  521. ;xmlrpc_errors = 09 Y  q9 M3 X: k! l/ x; o% U
  522. + l2 F7 }. w/ N0 Z& @- v& k) a
  523. ; An XML-RPC faultCode
    2 {) X! p% w! x4 e0 H& U
  524. ;xmlrpc_error_number = 0! y. d- z6 J5 S+ V3 ?, M3 X0 ~8 K4 C
  525. % J; E6 c. T& @: R# |
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    1 ?5 K( D5 |: M5 h: E( C$ O1 e
  527. ; error message as HTML for easier reading. This directive controls whether
    8 W! e, C+ S/ V  X1 b
  528. ; the error message is formatted as HTML or not.
    8 F6 x7 |) m1 b9 E  F( v' Q
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI! g+ n. E4 [6 C, a
  530. ; Default Value: On
    - I  ~% |. s, f8 @6 [
  531. ; Development Value: On
    ! B6 Z5 T/ {7 _- ?3 e. ~& T
  532. ; Production value: On
    $ ~& m0 ^- l3 }: G- j. U
  533. ; http://php.net/html-errors
    . y4 O1 D' m5 K1 I% U2 t* P
  534. html_errors = On* u2 z# p' v/ l6 A% t
  535. : W4 B5 r+ K7 F. X6 r
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP1 v5 l) c$ n" i7 d' h
  537. ; produces clickable error messages that direct to a page describing the error
    5 h8 D' R) s4 V. z  @5 W1 |
  538. ; or function causing the error in detail.1 F( ~- e8 Q) o
  539. ; You can download a copy of the PHP manual from http://php.net/docs: N6 C; t. D( }& y0 s% G
  540. ; and change docref_root to the base URL of your local copy including the) p$ O' O/ z) |/ Q& L
  541. ; leading '/'. You must also specify the file extension being used including
    * R  \9 ~  N. E5 F
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    2 O- ]( \  r$ p9 h
  543. ; case no links to documentation are generated.. V- ?0 J! J# I  O" H
  544. ; Note: Never use this feature for production boxes.
    5 R7 U# l* d% l8 [, ?6 x, c$ o2 A
  545. ; http://php.net/docref-root
    8 N, |; A! p& O0 q, F
  546. ; Examples
    0 t- w7 U) U5 P% Z- ^* Z+ ?
  547. ;docref_root = "/phpmanual/"
    % O- _* q/ e0 c8 N" e& u
  548. $ Q% R: V7 s* L& o  |9 e
  549. ; http://php.net/docref-ext
      g- S' I& _* c. k' F2 S
  550. ;docref_ext = .html% [! e* C& K( a* h, u" i. u

  551. ( W3 X9 y; m) _6 }& q( s
  552. ; String to output before an error message. PHP's default behavior is to leave4 n" V, ^- P/ K& `6 i
  553. ; this setting blank.5 R+ _" C, I( \& X
  554. ; http://php.net/error-prepend-string
    3 L5 N( X4 h: x. @: o* G) |4 t% E
  555. ; Example:* j! a4 p$ o$ s* a2 X
  556. ;error_prepend_string = "<span style='color: #ff0000'>"* K# x8 T" X. u  u0 d  A# g& R, \
  557. 1 O% y7 b6 m$ x; Y" k
  558. ; String to output after an error message. PHP's default behavior is to leave
    4 t5 X; p  _3 w# ~/ J' H5 z
  559. ; this setting blank.
    ; R- Z; q' l* ]
  560. ; http://php.net/error-append-string
    ! k- l: E' V5 R& ~0 o
  561. ; Example:/ W% d2 q9 z1 D; v
  562. ;error_append_string = "</span>"
    ) M0 h8 j$ U! O1 p$ g

  563. / J" {! t, o5 B) J0 [
  564. ; Log errors to specified file. PHP's default behavior is to leave this value1 n+ \; [+ ]% N- e  r9 `
  565. ; empty.
    # P8 U6 ?% [" ?! V
  566. ; http://php.net/error-log
    , n( p& R! l* B# k% o
  567. ; Example:
    1 L3 W5 d6 x3 X% N% y
  568. ;error_log = php_errors.log
    1 T( F. K. P( f! V1 l
  569. ; Log errors to syslog (Event Log on Windows).+ z8 k5 C) t5 z6 {0 Z
  570. ;error_log = syslog
    ; t4 Z, w2 ~, w

  571.   f, ]7 p# ^, v1 ]3 p0 }
  572. ;windows.show_crt_warning
    * [/ b# [0 P: ~1 p/ D& j3 {
  573. ; Default value: 0$ r7 r8 b# Q( d* Q
  574. ; Development value: 0
    0 {3 s; ^, j" C: {. i+ Y" O
  575. ; Production value: 02 q9 |( `. O* G1 e( z( @3 {( I
  576. 2 c# s  W5 L" I# }6 }. u7 H
  577. ;;;;;;;;;;;;;;;;;
    % Q; N) R- N# \" o( o6 O
  578. ; Data Handling ;9 Y1 {) v. @- f9 G5 }% C; j: ]
  579. ;;;;;;;;;;;;;;;;;% `' t4 j7 V1 V: h$ f

  580. $ Y( y. N# b4 [6 j; [
  581. ; The separator used in PHP generated URLs to separate arguments.
    * Y5 z; U7 w6 x* P; ~- ^* Y+ x
  582. ; PHP's default setting is "&".0 A7 g! c) s, n6 g
  583. ; http://php.net/arg-separator.output
    7 w& m, G3 s- W# M6 U2 d) W; k6 A' D
  584. ; Example:; N( i6 V8 [0 G8 v( _; _  N
  585. ;arg_separator.output = "&"
    / a& L6 q: S  h: m: S

  586. 3 ]; J7 y5 A# w3 \% Q/ p9 v3 T
  587. ; List of separator(s) used by PHP to parse input URLs into variables.+ P/ r3 `4 ?. i8 @
  588. ; PHP's default setting is "&".
    : p; \) y6 k/ ^. ?/ U
  589. ; NOTE: Every character in this directive is considered as separator!" V& B) H! i: j6 Z1 M" s% L
  590. ; http://php.net/arg-separator.input
    $ l* H5 l/ u, D/ I* P
  591. ; Example:
    2 {: Z5 _! T9 x7 L! v* p5 ~8 D/ B" k
  592. ;arg_separator.input = ";&"
    3 @9 w: n9 O$ g+ p
  593. ( }1 p) g, e% _/ n
  594. ; This directive determines which super global arrays are registered when PHP+ W) ^1 E9 d5 t
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    * m9 y2 |5 s2 V' m0 z
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty' f6 L/ J6 S0 U- W  k  D- H$ Y
  597. ; paid for the registration of these arrays and because ENV is not as commonly4 i( K- t! L$ u- u6 T1 j! M0 o
  598. ; used as the others, ENV is not recommended on productions servers. You9 h( u& p  k+ b. u. i- b
  599. ; can still get access to the environment variables through getenv() should you
    0 v  A7 X2 p$ G# J8 d, l8 Q; |, D
  600. ; need to.
    . o% p( A4 N1 f- W" Y2 v
  601. ; Default Value: "EGPCS"
    ' O4 p; v$ R( h) ~
  602. ; Development Value: "GPCS"
    $ {8 ^+ G; h: y
  603. ; Production Value: "GPCS";& V8 d, O7 Q3 \1 z* u  W2 D  b
  604. ; http://php.net/variables-order- @/ ^+ _' I# x8 V1 g
  605. variables_order = "GPCS"& @6 @- I% ]& K# c
  606. * _* B6 P' W7 w! y. c  h
  607. ; This directive determines which super global data (G,P & C) should be) [$ a9 p" f' f% C
  608. ; registered into the super global array REQUEST. If so, it also determines% N3 \, F% H: X$ M' ]& [
  609. ; the order in which that data is registered. The values for this directive/ y7 p9 g1 g8 s7 y6 z
  610. ; are specified in the same manner as the variables_order directive,9 Y. N4 R; h9 z% h  V$ `  `7 j
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    * m' o/ n  W1 @5 `6 O
  612. ; in the variables_order directive. It does not mean it will leave the super$ Q% h  C) ?- _: u: F. v- N- S
  613. ; globals array REQUEST empty.( ?7 U% ]4 J9 e1 g
  614. ; Default Value: None
    6 i2 K! s9 Q& V
  615. ; Development Value: "GP") b- a. ^8 A) E% B
  616. ; Production Value: "GP"
    $ v8 E, |( A6 }' w6 {# K
  617. ; http://php.net/request-order
    ) K" Q! e$ U" F: b
  618. request_order = "GP"4 u6 t1 J) r3 w8 ?( N' w6 H3 w( R

  619. 0 O" d0 M+ f; g- Y2 M
  620. ; This directive determines whether PHP registers $argv & $argc each time it! y5 h# ?4 |6 ^: G
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    8 E, V, a' M, h
  622. ; is invoked. $argc contains an integer representing the number of arguments9 G  w3 w; x( D: ^  a+ K1 {
  623. ; that were passed when the script was invoked. These arrays are extremely$ J- S& n, U8 K0 M6 _7 l
  624. ; useful when running scripts from the command line. When this directive is5 i7 E0 X. o/ M2 V
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    * @3 K1 q, f& w
  626. ; a script is executed. For performance reasons, this feature should be disabled( [) C) i  K4 H
  627. ; on production servers.- G# `% V- T6 _
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    ; [' b& \: g6 s( Z( D$ s6 y# I/ U
  629. ; Default Value: On3 k+ G. p; [; |% R
  630. ; Development Value: Off
    ( |6 y; p! o+ c1 o; r
  631. ; Production Value: Off
    8 c) J% c' \1 S! ~
  632. ; http://php.net/register-argc-argv
    6 K! a7 o, c$ G) v
  633. register_argc_argv = Off, D& N7 S9 ?1 e5 R2 g/ K% N) c

  634. . b' h+ v$ Z7 R: K+ P0 G! p& }
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    - Z8 K& ]% d- ?& k% _
  636. ; first used (Just In Time) instead of when the script starts. If these( a6 n' ?. q9 r8 e
  637. ; variables are not used within a script, having this directive on will result9 [9 \8 G, P6 \4 x$ r0 y
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled( K8 c! k4 |3 A
  639. ; for this directive to have any affect.
    0 K: X/ C/ D5 u6 J) @. ?
  640. ; http://php.net/auto-globals-jit
    7 I% u5 g9 w$ U
  641. auto_globals_jit = On1 g* B% W) v- x; _0 C$ O! |' n
  642. 5 F$ o9 r2 V6 L# z
  643. ; Whether PHP will read the POST data.! ^# |4 f% b% ?  j7 N/ W, j
  644. ; This option is enabled by default.
    ) {5 f8 L! T: B9 L+ h0 {
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    : E$ w* }: r; Y& O* y; d
  646. ; and $_FILES to always be empty; the only way you will be able to read the& @- b# ]6 t/ g4 D
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    7 B2 X$ z) j7 o; U* u( B' _
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.% x1 o2 B: }$ Y1 I
  649. ; http://php.net/enable-post-data-reading
    - f6 d3 h- z7 J( d( ~$ ?
  650. ;enable_post_data_reading = Off  J, J) @- h4 K3 v8 `, U" ?
  651. + ]/ j6 `% \8 ^8 Z8 e
  652. ; Maximum size of POST data that PHP will accept.
    ; O# U5 C$ |3 H$ s6 {0 B% Y, T
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading* \4 E2 L8 b3 o2 n5 I
  654. ; is disabled through enable_post_data_reading.
    2 \. R% ^; n, c. M
  655. ; http://php.net/post-max-size
    ' W+ h- F( J8 k! z) c3 ?7 d) Z
  656. post_max_size = 50M
    9 U9 V# Y+ Z4 D3 H* P3 q
  657. : d- E" R2 d' T3 k
  658. ; Automatically add files before PHP document.
    6 s! s% a0 w, u0 b) f- K: y
  659. ; http://php.net/auto-prepend-file; I0 v  a- `, Y; N5 N
  660. auto_prepend_file =
    % J$ l$ A+ D5 o) K/ u+ p( s- I+ W
  661. 3 R3 `; z* G* \
  662. ; Automatically add files after PHP document.( O5 c4 C5 @. x1 f" M
  663. ; http://php.net/auto-append-file1 g( [, {0 H% v5 @
  664. auto_append_file =
    ! A$ }9 {9 Q( ~- y/ N
  665. 5 ]9 z9 c$ e% _9 }& A# H! @; y
  666. ; By default, PHP will output a media type using the Content-Type header. To5 Y: V) m8 `$ C9 n4 t% h0 S9 E: n
  667. ; disable this, simply set it to be empty.8 U# f, Z, ]4 J+ O7 {- z
  668. ;. ^1 {, A8 l) }: f/ [0 Y) \
  669. ; PHP's built-in default media type is set to text/html.: Z7 m8 ~! U) H$ ]% O
  670. ; http://php.net/default-mimetype
    + H0 B% W- e/ ^# w8 g! S6 S. v
  671. default_mimetype = "text/html"
    1 G( a# u. S8 R# A% ^
  672. 1 P* B9 x4 J% N$ \& v/ L
  673. ; PHP's default character set is set to UTF-8.- ?' b2 w7 Y1 c, h2 Z% p
  674. ; http://php.net/default-charset  M1 V) y& o4 f
  675. default_charset = "UTF-8"& A* e. @1 j. [: M8 i' Q

  676. 8 V$ s9 j9 d( ^
  677. ; PHP internal character encoding is set to empty.- U1 _  Z! [* d
  678. ; If empty, default_charset is used.7 r6 V7 n. H+ Q9 M  Y3 B
  679. ; http://php.net/internal-encoding/ O9 u* Q2 z3 ^2 k5 M% c
  680. ;internal_encoding =
      K5 c" l$ e+ F  ^7 s& F1 H  |

  681. : X( J9 S+ r1 _" q8 [+ f
  682. ; PHP input character encoding is set to empty.. y+ H6 e. N0 Q+ {& w" n
  683. ; If empty, default_charset is used.
    1 c' Z% j5 j" e* E( w
  684. ; http://php.net/input-encoding
    8 C% W5 y2 \4 G( O
  685. ;input_encoding =
    * L7 z( i6 w' V( k* s: N
  686. , L* s% q2 [. s% o9 q& t
  687. ; PHP output character encoding is set to empty.- k6 s! n+ S1 M) m6 }
  688. ; If empty, default_charset is used.
    " q+ E  w' p9 z, |
  689. ; See also output_buffer.
    ! |; \3 B+ O$ y5 ]" @( }- _* n* z2 x( ]
  690. ; http://php.net/output-encoding
    8 L* y1 Q. `6 V0 }7 u2 d; \
  691. ;output_encoding =
    + r) O' }1 f' g* w) @7 r+ A& |
  692. * w4 S# u& I( \+ B4 `
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;# Q; U3 S& l/ r6 y; [4 j6 n- s
  694. ; Paths and Directories ;) F: V) s# r- X: R6 W
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    & H4 ]9 [5 A) n; G: `( N# \& G
  696. . U( O* ]; h: Q3 Z; B
  697. ; UNIX: "/path1:/path2"5 Z. }: P; r% P( Q5 V( \5 G
  698. ;include_path = ".:/php/includes"1 q3 K- t* q! q/ h* K- O* s
  699. ;6 m4 y- V, c1 @) F6 [
  700. ; Windows: "\path1;\path2"/ y/ `$ |5 T4 {/ e, a
  701. ;include_path = ".;c:\php\includes"; J8 G3 `/ I* ]& y1 z& {0 w; U" y
  702. ;
      f( `7 y2 }: W2 u( R/ Y( x
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"! t/ J1 M+ N) {0 G8 G/ t# G
  704. ; http://php.net/include-path! j/ Q# I0 `( A  T+ E6 |# w
  705. ; O# a4 H* I  H; u8 ~
  706. ; The root of the PHP pages, used only if nonempty.4 s$ t: k9 i* q8 o
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root+ W4 t: [! g3 `, m7 j
  708. ; if you are running php as a CGI under any web server (other than IIS)
    % j/ h) z' c% I6 C5 J
  709. ; see documentation for security issues.  The alternate is to use the
    0 J% ?: i* J% o# T; B
  710. ; cgi.force_redirect configuration below
    9 ^$ F6 c- F9 }* Y& D1 S
  711. ; http://php.net/doc-root
    & T7 B/ G% E% ^1 P) E, @( c
  712. doc_root =
    3 N2 o- f# t8 B9 ~7 m( E
  713. ; C4 R+ c5 Y& ?2 [' }9 ^
  714. ; The directory under which PHP opens the script using /~username used only
    ) u& V* z( f: s) W
  715. ; if nonempty.
    # ]$ ?: \/ {" w+ @9 r
  716. ; http://php.net/user-dir% I' ?9 B4 b; d  R
  717. user_dir =- O, V1 r' V* t9 V

  718. ( E- n. Z1 |4 j; t& g
  719. ; Directory in which the loadable extensions (modules) reside.2 Z- E2 q' K+ h8 X( v
  720. ; http://php.net/extension-dir
    ) D) K0 N2 H  i2 {: |" X8 ~$ {/ m
  721. ; extension_dir = "./". F5 q' F3 X$ g+ ^8 h
  722. ; On windows:
    # W9 h, h; B+ L
  723. ; extension_dir = "ext"1 f2 R  F9 N6 l8 T' k
  724. 7 a* O% C+ x# z, h# h8 `$ W& W% V
  725. ; Directory where the temporary files should be placed.
      d; S! G9 V9 a3 W! U8 F. D- T
  726. ; Defaults to the system default (see sys_get_temp_dir)) n9 T0 E6 @' l$ M! i' v% T
  727. ; sys_temp_dir = "/tmp"
    ! m* d; e* f7 P, a: a5 _& T1 D" E

  728. ) O$ E! `/ c  R) i4 `: X) Q+ h
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    0 C& \# D1 c/ `$ [- g
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically  u) p3 Q. m; g& M5 ]! y
  731. ; disabled on them.
    5 T4 z/ @& \( g: v" V0 h$ [( {2 H
  732. ; http://php.net/enable-dl
    6 [' v/ m* [" A& k! i& Q
  733. enable_dl = Off' e, L' Z7 r; G6 j5 G! i5 E  l0 [

  734. ! t& n" t6 {* w* l$ `6 R
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    5 a# X5 J( a1 X( T" B! {' p; W) c
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can# }+ }  ?7 A: X' k
  737. ; turn it off here AT YOUR OWN RISK
    & ^; q1 f2 h: M$ P0 v, P' t
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**+ y9 c8 m9 s  F7 B' K* x
  739. ; http://php.net/cgi.force-redirect
    : g; |3 d+ z* x' \+ v
  740. ;cgi.force_redirect = 1; ?% M3 A( i) q3 Y* G1 ~
  741. * ~+ N; w& R' T" n% b
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with; H2 E4 m- I. [) x
  743. ; every request. PHP's default behavior is to disable this feature.
    ; {  X# l2 m- e# _! g6 L# I
  744. ;cgi.nph = 1
    % v$ `7 m2 R" k/ i3 A' U8 l+ I
  745. : e2 {# l4 q4 v/ y) f+ A, U* }
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    : U" @2 c; A, R/ k
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    1 Q* M# K/ b1 a0 r+ V
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY8 L3 k% ~1 C" F. Q
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.) L5 V9 d$ S+ r& |
  750. ; http://php.net/cgi.redirect-status-env" w' w' Z. e0 }
  751. ;cgi.redirect_status_env =. o0 X; `4 ^! H. G7 E* C3 T* J
  752. & q) d& G. ~2 [  F- Q5 O1 @; P
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    * j* g/ h: J+ {. l
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok9 T2 B/ l4 Z$ o* j4 d
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting! E- r1 t' q& O3 X6 U4 y) C9 M
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    / B$ Z/ T% ~( C4 c  K& [
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ) `) E6 p( T7 K
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    5 y! k; m8 Q3 H" ~) B0 m* `
  759. ; http://php.net/cgi.fix-pathinfo
    9 F$ }) o- I) e. h/ G* E1 R# R0 R
  760. cgi.fix_pathinfo=1
    ( b# Q+ u; a/ x3 q. @( `; _' F( q

  761. + W' H$ a& g; M: K  c
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside  x( I$ J3 \& H& N6 a
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ( u8 {4 J6 J- C+ u
  764. ; http://php.net/cgi.dicard-path
    3 t, ?2 s  T" ^
  765. ;cgi.discard_path=1
    & z8 ]' G1 \7 x) S3 P4 b$ l. `

  766. " q" W9 `( `' m2 p5 I
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate/ N, y! P$ y+ B# |
  768. ; security tokens of the calling client.  This allows IIS to define the; }' W, ~- w+ ?/ ?* U( Q/ \: J
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    1 u0 {$ c3 ^$ a7 a6 v2 j7 G0 n* {
  770. ; does not currently support this feature (03/17/2002)3 n! H) M9 Z1 Y8 Z5 W
  771. ; Set to 1 if running under IIS.  Default is zero.
    & ?8 b( |( J4 M% q! ^) I& y
  772. ; http://php.net/fastcgi.impersonate+ y# ~  M( H" b1 F5 }* q3 G
  773. ;fastcgi.impersonate = 1
    8 g: v  [( L8 W0 _* B0 N+ v; X
  774. 3 ?# b3 h! }+ Q9 ^6 V- R
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable8 Q! @4 s) x, ]: m2 S% @
  776. ; this feature.
    % ^  k& T& T- F* v( {
  777. ;fastcgi.logging = 0+ Z8 Y/ ~7 C/ |: I9 p
  778. 9 [8 _1 G% t  o
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ( o; `! z4 ^5 N( I& V8 L
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    , h8 |1 j7 O, U" w5 @& V& k
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    ( |3 k$ A" O9 W6 n
  782. ; RFC2616 compliant header.
    6 e7 o8 f; c5 u3 @
  783. ; Default is zero.8 F$ F+ Q6 J# Z/ \/ I8 o! c
  784. ; http://php.net/cgi.rfc2616-headers
    $ |- h) O4 X: ], [0 h
  785. ;cgi.rfc2616_headers = 0( f- w  W6 N* x

  786. ( B8 q3 d' D/ \& y# t( I
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!7 v6 X9 O9 p: m2 P
  788. ; (shebang) at the top of the running script. This line might be needed if the
    5 Y" i4 Z, b- E1 a
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI2 p9 y- B) L3 W/ t* B$ _2 s
  790. ; mode skips this line and ignores its content if this directive is turned on., A! S9 X/ d0 x: f3 s
  791. ; http://php.net/cgi.check-shebang-line
    , Q9 f' h& \5 ?/ Z) A3 J9 \9 L
  792. ;cgi.check_shebang_line=1
    4 t! a5 }  J! A: P3 T+ T

  793. ) L' L1 }8 ^% Q
  794. ;;;;;;;;;;;;;;;;
    2 F% m3 H( d! z2 R
  795. ; File Uploads ;
    ) r7 M: M/ G# r
  796. ;;;;;;;;;;;;;;;;
    ! s0 S/ k, C! d
  797. 1 e( a" c  D, N4 [& j4 r3 K4 s$ |
  798. ; Whether to allow HTTP file uploads.
    2 T2 X7 h7 U0 Q& A; C$ A7 }
  799. ; http://php.net/file-uploads
    6 @+ U. U) |- s( F- O
  800. file_uploads = On- l: ]! ?0 s) _* l- @

  801. ! y, P. [" K* O
  802. ; Temporary directory for HTTP uploaded files (will use system default if not# S. d% ]7 i! W1 k( X# o/ U
  803. ; specified).
    5 N( h' s; R0 x! e/ s
  804. ; http://php.net/upload-tmp-dir9 h3 N' ]9 f6 x1 Z1 d
  805. ;upload_tmp_dir =
    6 {. D! e: [- w  S( d

  806. 1 Z- g/ I( h+ Q4 o! h: m' I
  807. ; Maximum allowed size for uploaded files." d' ^2 \) V2 U* v% o
  808. ; http://php.net/upload-max-filesize
    2 h# A9 u5 _' D8 U% L( \) e$ j
  809. upload_max_filesize = 50M
    % k& M+ w! W- |0 P8 @
  810. 3 h7 d" I( L3 A# M1 _
  811. ; Maximum number of files that can be uploaded via a single request  m& A  X% H5 w3 M" Y; M+ w/ m8 ^
  812. max_file_uploads = 20
    " x( x' e4 Z  I. v( f

  813. 5 {+ X$ L7 U. w, e+ c+ @5 ?
  814. ;;;;;;;;;;;;;;;;;;
    0 [( \3 v) D6 _! X% X- _
  815. ; Fopen wrappers ;
    8 A! ~# O1 |5 |+ J' S% c6 ^
  816. ;;;;;;;;;;;;;;;;;;
    $ D; j. `; _  `

  817. ! ?/ G; o: g; O, e5 [
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ! X0 I$ L! |" H/ L
  819. ; http://php.net/allow-url-fopen
    1 I6 y9 y8 Y2 R& {" H& _$ v0 L" R
  820. allow_url_fopen = On
    ; L! e" D$ i) ?- f: M" I6 l
  821. 0 I% a  O+ R9 _3 \4 @4 E
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ( y" w8 H& ?0 k5 b5 g6 E4 d5 E( A' {9 k
  823. ; http://php.net/allow-url-include! q/ p, t# S0 J
  824. allow_url_include = Off
    + ]2 e; ^. y6 ^: }  n  {
  825. 4 b2 \# M& O& D- c/ H
  826. ; Define the anonymous ftp password (your email address). PHP's default setting- ^5 g% u4 X* Y# Q! ?- g
  827. ; for this is empty.
    1 U& C3 l. G( T/ N0 j
  828. ; http://php.net/from. Y+ h  v# _) A- X7 r
  829. ;from="john@doe.com"
    & V' S" I$ W) M% u( I! c/ i2 X, {

  830. 9 {# r% x/ X' v6 t) y
  831. ; Define the User-Agent string. PHP's default setting for this is empty.( n1 x+ o. V  D" u) g
  832. ; http://php.net/user-agent6 t: h4 s* M5 G" o7 K; M, |7 C# p7 [
  833. ;user_agent="PHP"1 |4 G% f; t% G% @

  834. ) u; s% Q0 |; r6 k
  835. ; Default timeout for socket based streams (seconds)
    1 _0 s* t3 i1 M2 p, o9 Y9 M( G5 {2 B
  836. ; http://php.net/default-socket-timeout3 Z" c7 }4 U' V% x) T, H4 U8 @2 u
  837. default_socket_timeout = 60& n- ?; R. V4 C- Y% k
  838. 2 F) v' @. X1 ^1 C2 s1 \
  839. ; If your scripts have to deal with files from Macintosh systems,8 h. \5 V5 ~  h3 e
  840. ; or you are running on a Mac and need to deal with files from
    $ h; E: l0 N& y% q* H8 W9 M% u
  841. ; unix or win32 systems, setting this flag will cause PHP to2 r0 e. I* M- s+ \
  842. ; automatically detect the EOL character in those files so that9 A. w8 ]' U1 n/ N% I, t3 w) ]
  843. ; fgets() and file() will work regardless of the source of the file.
    , y& l% }8 L; {. y
  844. ; http://php.net/auto-detect-line-endings
    . h( b: ]& `4 J+ v  @
  845. ;auto_detect_line_endings = Off  Z) U" z9 }' {8 D( E7 n5 A

  846. ' R) @/ d; j7 ^# k
  847. ;;;;;;;;;;;;;;;;;;;;;;
    2 O2 I. h/ y/ K
  848. ; Dynamic Extensions ;
    ! ^# o# N/ x& C0 B$ D
  849. ;;;;;;;;;;;;;;;;;;;;;;( R  Z8 }3 u: d

  850. 2 O# Z4 ?$ i+ T  Y
  851. ; If you wish to have an extension loaded automatically, use the following
    6 L+ t0 P' f* M; Y# n7 v) K& i) ~
  852. ; syntax:
    9 e9 B/ f) m# E
  853. ;
    ) v: x8 a# N5 y+ q, P- R
  854. ;   extension=modulename.extension
    + C# h2 t! b! g3 f$ C0 }
  855. ;
    8 }6 f) K! O( _7 D6 M, ^& `
  856. ; For example, on Windows:2 [" q, `4 S1 q$ H' z: J, D
  857. ;
    ' Z3 E- a2 R" C) a' [9 i0 d! A; i
  858. ;   extension=msql.dll
    % ^% O7 t* P0 C! |1 W
  859. ;# w! Q: D' _7 N, x0 R
  860. ; ... or under UNIX:8 w& J' \6 ~! P$ i' _+ ^! V
  861. ;' k' a. j  P, ~* j
  862. ;   extension=msql.so% P8 x) S1 P. K1 q) p& U
  863. ;
    9 o% ]+ G4 F9 p, ^/ }
  864. ; ... or with a path:1 |: ?3 k7 N8 D5 _7 ]( u
  865. ;
    , |1 B. v$ h" I. Z, [
  866. ;   extension=/path/to/extension/msql.so' X3 q: n% e- L, K9 R
  867. ;
    1 _! Z( V  w2 R1 Q" @$ V
  868. ; If you only provide the name of the extension, PHP will look for it in its; {7 @" P2 F" ?3 A
  869. ; default extension directory.
    2 Z4 Q$ ]0 \* ~' k
  870. ;+ e% d# Y. C7 Q/ a: h# Q! z
  871. ; Windows Extensions4 W9 p4 P  W& P. B9 `9 v5 ]. @
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    ; I( |$ n1 @$ Q8 B0 D% Z& k6 \: t% F
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    % |" y, w7 K" S
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).; h3 u$ E3 L! @+ q
  875. ; Be sure to appropriately set the extension_dir directive.
    3 r) }( R0 d) `; @
  876. ;
    1 e( ?; x1 x# U3 Q1 F8 C
  877. ;extension=php_bz2.dll$ t$ M6 X2 \1 H3 [$ d6 M
  878. ;extension=php_curl.dll
    2 \9 m- T9 J5 \4 C6 @2 D
  879. ;extension=php_fileinfo.dll8 N9 o; t4 s* K' n% s
  880. ;extension=php_ftp.dll: G# t5 `0 b) @) t" R  m
  881. ;extension=php_gd2.dll
    6 f! @+ C3 h+ U% {4 N: c
  882. ;extension=php_gettext.dll5 n. U- w3 A; e- J$ x) h  R
  883. ;extension=php_gmp.dll
    . _1 Z4 |' E5 _+ y) w
  884. ;extension=php_intl.dll
      N7 V* {5 b2 U" K7 M4 o
  885. ;extension=php_imap.dll
    * ?9 w  V" t( ~$ }9 x; h
  886. ;extension=php_interbase.dll
    ' k, B; _* M4 M* W) C
  887. ;extension=php_ldap.dll. t  Z. j0 I. t. l
  888. ;extension=php_mbstring.dll
      N1 P& R; v) `% ~
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    " {% P/ {$ M1 D& @, s5 r( J
  890. ;extension=php_mysqli.dll
    2 `  v2 E7 l: v" p
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    " j: x# H, }( A8 U% C' ~- I1 \
  892. ;extension=php_openssl.dll: G$ T$ {+ D) M# @" h, T2 h; U
  893. ;extension=php_pdo_firebird.dll
    - x+ z+ ]$ ]% |+ `8 c+ ~
  894. ;extension=php_pdo_mysql.dll* K5 o& q1 ]6 b5 a
  895. ;extension=php_pdo_oci.dll7 A) ]9 _; z2 S  Z, [
  896. ;extension=php_pdo_odbc.dll4 w5 t3 v1 f. o1 ?6 F/ U# S
  897. ;extension=php_pdo_pgsql.dll* C- I2 H7 c8 Y8 {+ J
  898. ;extension=php_pdo_sqlite.dll
    * F. {8 T# p% n3 `
  899. ;extension=php_pgsql.dll
    " s& p( X6 r0 p" g1 L
  900. ;extension=php_shmop.dll+ e8 E" _- x# i: y$ x- p
  901. $ ?0 N/ \6 X! V( s) E* L2 a! i4 G
  902. ; The MIBS data available in the PHP distribution must be installed.8 {0 X2 @* o1 X# I6 M+ T& y" b
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    & U3 C8 g/ k. H5 L9 K
  904. ;extension=php_snmp.dll
    9 k, Z8 }' W& Q0 f) Y* u

  905. # E. ^, f$ e1 e) n4 z) y/ ~4 p& v0 e
  906. ;extension=php_soap.dll0 p! `! H4 y# D' T4 Q3 D% ^
  907. ;extension=php_sockets.dll1 X" n2 u" L3 ?, M7 w5 @3 h9 u
  908. ;extension=php_sqlite3.dll
    5 y; b, b1 K1 {. J% c
  909. ;extension=php_tidy.dll9 L9 }3 {4 K! L& @
  910. ;extension=php_xmlrpc.dll
    : N% V8 b' J# d$ E9 J
  911. ;extension=php_xsl.dll9 h9 i% x- \- t5 L6 @3 I& n
  912. % L- G* X, \8 r3 C0 X% U% S) T
  913. ;;;;;;;;;;;;;;;;;;;. g$ F4 x- N& _( b1 M8 j
  914. ; Module Settings ;! J" L; y7 l9 B+ P+ N' s3 W
  915. ;;;;;;;;;;;;;;;;;;;
    $ i8 g$ [9 `; q; W6 ?) q
  916.   _; o5 H8 d  m- i
  917. [CLI Server]
    - p0 O, @5 u/ l& o9 b( p& F: _
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    8 |5 I: K" b2 ?8 Z$ m
  919. cli_server.color = On! F8 V% T6 `- h* d9 o2 x2 D

  920. ' o) ~" d, |. Z, X$ {/ ?* \& ~
  921. [Date]
    ( K0 J9 |3 E* a0 ~) |
  922. ; Defines the default timezone used by the date functions
    2 p7 K/ t# |/ L) Z! B0 }
  923. ; http://php.net/date.timezone
    ( E6 w) y- o, G- e) e9 h8 p+ X
  924. date.timezone = PRC
    4 h( r# R: C# F$ O: w

  925. % t0 F0 y1 t% b3 o
  926. ; http://php.net/date.default-latitude
    5 M8 J, _2 k0 W
  927. ;date.default_latitude = 31.76673 o: z( c" r9 U) t# K  z

  928. & ~1 m2 _* H" ?& Q+ g4 F  ^
  929. ; http://php.net/date.default-longitude
    - }1 s; f0 L! p7 |+ D
  930. ;date.default_longitude = 35.2333; R2 n3 w0 @7 s6 y5 Y% b1 K
  931. ( w  _) m& t7 P1 |
  932. ; http://php.net/date.sunrise-zenith
    . M8 q8 k( L9 o1 Q
  933. ;date.sunrise_zenith = 90.5833339 }( V5 N6 G" P5 T& C

  934. # Y8 ~  R. m- e+ A+ M
  935. ; http://php.net/date.sunset-zenith
    . d" l3 f9 e: E
  936. ;date.sunset_zenith = 90.583333
    6 R+ q- N0 u# |4 K+ D4 B6 A

  937. & D2 v" G/ |/ @3 e
  938. [filter]9 ^. n. S1 N4 _. u! m; ]
  939. ; http://php.net/filter.default
    : w0 D' R8 V2 D
  940. ;filter.default = unsafe_raw( b' ^  L- O0 n1 }

  941. 9 ]( H8 ?6 R+ ]6 U( n& n
  942. ; http://php.net/filter.default-flags$ F0 n& k& x4 J  F4 n8 N
  943. ;filter.default_flags =
    2 X- A& k; d( i- J

  944. , ^* V/ V* ^" t* S9 X& n. W/ K2 e
  945. [iconv]
      Q4 s9 x' E/ _, f+ M2 h
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    # c; |" p; |' t( C' P- |7 ~
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used., h7 ?2 o+ M- j1 \# y
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    : Z9 @) t/ h6 k' f* @- g) b/ x
  949. ;iconv.input_encoding =+ T; w1 N  h) u- g

  950. & a1 p7 h4 h" T+ O! b  H& e# U
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.! O6 b9 m$ w  o- c$ p4 z( @+ v
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.! N' q* L& Q) q0 X( w7 v$ ^
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding  H9 X- X+ ^% r7 @, K
  954. ;iconv.internal_encoding =6 F- H) Z  T: u( [& q# z" L+ m
  955. 1 w# }  q( G. E$ T& V  G! L
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.% k: s+ i# M/ H. e$ x) S
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used., w$ I" j1 N) a" t) H6 ?+ Z
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding2 q$ P4 y! g' c* i
  959. ; To use an output encoding conversion, iconv's output handler must be set) {! {( s' y; T5 p' d7 h0 J
  960. ; otherwise output encoding conversion cannot be performed.3 ?# }  p0 ~9 V+ ~) F3 }& B: @- T
  961. ;iconv.output_encoding =0 X" |* I: {2 F% x& N

  962. 2 W4 a7 R$ Q$ ]' w
  963. [intl]3 Z3 ^& X1 v- K. [8 ?# ?
  964. ;intl.default_locale =0 G6 ^( v2 s' H- {5 M
  965. ; This directive allows you to produce PHP errors when some error' ?# m( v9 e% @8 {
  966. ; happens within intl functions. The value is the level of the error produced.
    ) k1 ^. {% q- S# m& Q# G
  967. ; Default is 0, which does not produce any errors.
    4 P+ a( r) V. O$ f) ]7 S
  968. ;intl.error_level = E_WARNING
    $ N0 ]7 l! q/ C- h" b- v1 I" q+ x
  969. ;intl.use_exceptions = 05 e3 K& Q. o$ O  P* }: L  x" e
  970. % W) s6 S; B& t5 B
  971. [sqlite3]# L' B! J# Z+ T1 ?8 ^
  972. ;sqlite3.extension_dir =
    / `( s* I$ h6 |3 ~- \' l8 L
  973. $ z# W) L* S1 B; u$ q4 Z9 A# }
  974. [Pcre]
    2 ?, T' ?( J0 V& |( h3 N( y
  975. ;PCRE library backtracking limit.
    ! ~( [* c  x. K9 T$ E2 }& q
  976. ; http://php.net/pcre.backtrack-limit
    / F6 q- }' R2 m" y  F  b! t
  977. ;pcre.backtrack_limit=100000
    ! D* H9 B. r8 Y+ t. G
  978. ) m- O, N6 @+ a
  979. ;PCRE library recursion limit.
    4 T7 h7 |- w: a+ u
  980. ;Please note that if you set this value to a high number you may consume all
    ! _* }3 r, |, j5 @; M5 {0 I
  981. ;the available process stack and eventually crash PHP (due to reaching the
    ) z8 N; _; _0 n. E8 e
  982. ;stack size limit imposed by the Operating System).
    ) |% Y3 x$ m, q& S3 g
  983. ; http://php.net/pcre.recursion-limit. h& _/ S( J8 r! W- n
  984. ;pcre.recursion_limit=1000004 ~: w+ j6 \% s, B
  985. - _0 x0 l7 \% c! i" j8 k
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    ( F4 v, e$ T: m2 c4 h3 A
  987. ;library to be compiled with JIT support.
    $ Z9 l  y& l6 t& A& ^8 K2 H
  988. ;pcre.jit=1+ s- x8 n' b3 e% |8 z$ S
  989. ( R& _* O2 |: v
  990. [Pdo]
    + ?! U. V2 I' s& @" K0 p
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    * a' [' W+ j% }
  992. ; http://php.net/pdo-odbc.connection-pooling1 F6 U, ~. o* i/ o
  993. ;pdo_odbc.connection_pooling=strict5 V) D+ H  X  K( d, ]1 W
  994. 9 l  K* p  `9 t7 \/ {% [5 i! w
  995. ;pdo_odbc.db2_instance_name1 i0 }& T- r. `/ {/ K/ h4 C$ m
  996. & R' z- k8 ~& e+ t/ n( R
  997. [Pdo_mysql]6 n- x2 P! W, E2 n  V( e
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache7 i7 W8 J* ~, q& `# P% ^' _; K" U: S
  999. ; http://php.net/pdo_mysql.cache_size9 d6 P) @4 D  x/ m; U7 W
  1000. pdo_mysql.cache_size = 2000# ~* a8 H% y2 B, y( B% p  @; W

  1001. $ S: H( ]( Z- Q0 \) P7 T* N
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    " B3 o4 x. g- q- T
  1003. ; MySQL defaults.
    1 R+ x' e- ?) ?- ^" @
  1004. ; http://php.net/pdo_mysql.default-socket! A+ m( e) m; I& g
  1005. pdo_mysql.default_socket=
    # W- U. T8 h3 x9 G3 `# N% ~9 V

  1006. # @  `, `9 a  S. H; k; R
  1007. [Phar]) J# w/ I, ]: @% b1 p/ g, Q/ X
  1008. ; http://php.net/phar.readonly
    9 C: c5 Q+ N' ?9 y" P0 k
  1009. ;phar.readonly = On
    7 w; `. w( B$ @3 H
  1010. 6 }# d- v" [- C$ h6 u$ \
  1011. ; http://php.net/phar.require-hash
    8 Z) ^- j" a4 _, T  M1 ~
  1012. ;phar.require_hash = On
    # d, S3 x* i5 ^0 u2 C' {
  1013. : O( r% d6 |+ j
  1014. ;phar.cache_list =
      X% G- g+ ]; w( s. n  E( ^5 L# |

  1015. / |2 J- |& B5 u. K8 t
  1016. [mail function]
    ) G" P/ p9 F  I7 ?9 A, O: B2 z
  1017. ; For Win32 only.
    4 y8 _9 S. O( i% C% H
  1018. ; http://php.net/smtp
    : G# D) W% j% J- ?5 G% [# ^
  1019. SMTP = localhost4 a" l8 k5 C4 k6 R2 h+ ~$ f
  1020. ; http://php.net/smtp-port
    " u3 Y+ R4 M5 W' \+ a7 y; Q" t
  1021. smtp_port = 25
    ; k7 U0 d: t# g! u

  1022. * a+ @$ q& w0 h5 P0 N
  1023. ; For Win32 only.
    $ {! Y, t# M) ?& Q) _
  1024. ; http://php.net/sendmail-from
    ) y8 R$ U7 ]5 ~! t% ?$ X( L6 L- t5 ]
  1025. ;sendmail_from = me@example.com/ Z* k, t( n# v* k6 E  p

  1026. 9 ?# Z7 Y" R% Z9 f& J+ F6 h
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    " s+ }, c4 w0 D) A7 {
  1028. ; http://php.net/sendmail-path8 y' a7 b1 U" T9 ^% L
  1029. sendmail_path = /usr/sbin/sendmail -t -i6 @( E& X' T/ z4 s: @
  1030. & Z5 M/ B$ N7 n* l9 ~& L
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
      A% v& ?5 G. u
  1032. ; to the sendmail binary. These parameters will always replace the value of4 T0 o) N: q" k% E
  1033. ; the 5th parameter to mail().( ^+ K2 W8 n1 L5 `* e6 I
  1034. ;mail.force_extra_parameters =
    " v  j( s8 ?* }/ l* M
  1035. - @% L% p% ^) q: h9 k9 P
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    2 I. m- {  o/ ~7 w  ?
  1037. mail.add_x_header = On
    : c& G- D' P2 U  j( z

  1038. 1 j; R4 k8 u( O- r& \* \7 K# ~
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    7 a0 f- t; j2 r/ _. t
  1040. ; the full path of the script, line number, To address and headers.2 r6 Q% F- `6 b6 W  P( V
  1041. ;mail.log =
    8 T$ |- K$ B2 d9 m9 X  q# s
  1042. ; Log mail to syslog (Event Log on Windows).
    : g; \" p6 Q+ z9 q" j
  1043. ;mail.log = syslog4 r  f* A: |8 x# Q) V) M6 {* t/ W
  1044. * P) S( p  x9 u$ K7 T2 K3 `5 D7 s' k9 |
  1045. [SQL]) [+ Q% f* X7 {, x' }3 [% {; m+ F  [
  1046. ; http://php.net/sql.safe-mode7 R; b  z, z+ \, @* M/ F
  1047. sql.safe_mode = Off5 Z' Z# U% _: _, w" n$ I" g* Q( F8 D
  1048. 4 C! O3 e0 c! B3 N1 O, r8 d
  1049. [ODBC], Z. R3 Z7 j! K
  1050. ; http://php.net/odbc.default-db
      u/ m) H6 K9 B8 f6 o  E* t) W
  1051. ;odbc.default_db    =  Not yet implemented
    . d+ b6 i  [1 s2 g: R' X" ?; C
  1052. 7 O* x, }$ [4 ~3 J* N6 P
  1053. ; http://php.net/odbc.default-user
    6 R# v0 x( F8 [
  1054. ;odbc.default_user  =  Not yet implemented
    ( v2 L3 l9 ?9 ?  M, a* G3 O: ?

  1055. " [+ K: S) X/ }( X2 X7 T
  1056. ; http://php.net/odbc.default-pw' H3 O# V; g% g/ l+ B  Y5 m
  1057. ;odbc.default_pw    =  Not yet implemented  E( i  M$ b' T' E% c, \5 W* Z
  1058. * H- s, M) _, R; n4 z
  1059. ; Controls the ODBC cursor model./ @. V, L/ m! o( p( v# `/ o
  1060. ; Default: SQL_CURSOR_STATIC (default).' t$ H' d8 m8 M2 k
  1061. ;odbc.default_cursortype
    2 f6 J$ q/ z1 u. o+ R
  1062. " c) H8 m8 s* h% n. S
  1063. ; Allow or prevent persistent links.( |7 I; c6 w+ |. r" r8 S  p
  1064. ; http://php.net/odbc.allow-persistent
    / I9 m6 K6 b, V8 P3 Q
  1065. odbc.allow_persistent = On% S" Q) u. a3 M% Q
  1066. : n5 b1 Y# M% f- E+ I* U6 v+ B
  1067. ; Check that a connection is still valid before reuse.
    9 B2 L  a5 X. e2 Q- ^& h
  1068. ; http://php.net/odbc.check-persistent
    & Y# m0 _8 S! Y/ G# b
  1069. odbc.check_persistent = On
    2 x# v( G) P/ W0 L9 p, i
  1070. % f# [. @. [1 k; \% e9 P; t
  1071. ; Maximum number of persistent links.  -1 means no limit.
    # P* y" l2 O! T2 d- W9 g. Z& {* B
  1072. ; http://php.net/odbc.max-persistent
    # C2 P% ~! w( o$ s0 h& R
  1073. odbc.max_persistent = -18 A0 H. f/ ^, P  U) f- s( _) T# r

  1074. + U. ^1 n( b. Q9 T4 J
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 W# a4 D/ J! `* H
  1076. ; http://php.net/odbc.max-links
    # P6 [; W6 K' e1 N4 b
  1077. odbc.max_links = -1& D- b3 E0 A7 {! q0 o7 c( z

  1078. # R; h1 h* K, ~( R& o" U
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means5 D: x+ u/ w" R( ]% q0 R% w9 O/ T9 w0 s
  1080. ; passthru.
    2 i* f3 z# U; H2 k) \. a1 N- R- z
  1081. ; http://php.net/odbc.defaultlrl6 n9 ^$ g$ c) V! u
  1082. odbc.defaultlrl = 4096
    % H7 Q3 a) i7 w, A, |& o7 @

  1083. ; @: R- L) o* W# N' n/ J
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.8 C$ V& F4 W9 k9 z4 |
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ; {. N0 }  E/ Z  F
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode. L$ p+ |8 D$ F/ T) K
  1087. ; http://php.net/odbc.defaultbinmode9 T0 G, f9 |; d
  1088. odbc.defaultbinmode = 1
    ( y4 H* k; |7 B( X
  1089. # V! H& d! M4 u& R7 s3 Q
  1090. ;birdstep.max_links = -1% A* ^1 G" M3 ]9 C4 k1 \9 [% U! ~

  1091. , [! P3 N. V# W/ w$ \' E
  1092. [Interbase]1 i4 ~$ ~3 g3 Z/ n0 `' W8 [
  1093. ; Allow or prevent persistent links.. F8 `* e7 W& `% x) k+ S3 Q
  1094. ibase.allow_persistent = 1
    " s0 u2 L6 ^+ ^5 O9 a

  1095. * M0 L) P/ x4 m; L% R5 {
  1096. ; Maximum number of persistent links.  -1 means no limit.
    7 [" i# U5 o! {( l5 {7 Q' z
  1097. ibase.max_persistent = -1* _% ]5 u/ m/ v; m* J' W

  1098. : v* H: j7 b# C4 J% B
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.; B9 W" S0 A$ f
  1100. ibase.max_links = -1$ f/ o- X! E- W3 l% N# W: i8 V5 I

  1101. $ U$ Q% w2 t+ w, \! D. o# v8 r. }
  1102. ; Default database name for ibase_connect().
    # K; j( ?4 j% t  }& Q' K
  1103. ;ibase.default_db =$ m5 h; P$ N- `  p4 H
  1104. * z; a* u8 G* f  B7 i5 c/ K
  1105. ; Default username for ibase_connect().4 {4 u: B9 g. O; _
  1106. ;ibase.default_user =
    - Z3 B+ ~; L; [

  1107. 4 Y) D2 M/ B8 B3 |5 V' z
  1108. ; Default password for ibase_connect().
    . I: }3 G# [, A: a/ q8 V( q' x. y
  1109. ;ibase.default_password =. c8 N, O- a8 ?/ k; H4 P
  1110. ' I1 x+ T4 ]0 {! k! o8 t9 ~% J
  1111. ; Default charset for ibase_connect().
    * C0 n! V0 s0 z
  1112. ;ibase.default_charset =
    7 b2 z: s$ V3 _6 l% F; [

  1113. 3 p! e1 C+ I# h: U8 W8 t
  1114. ; Default timestamp format.8 y6 u3 h5 ]- r8 d3 |" f1 w: m
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S") A' o) B, k, b- S- k! S' ]# i
  1116. 2 E! H, M( t$ A# ?
  1117. ; Default date format.4 D3 v6 S0 U/ f4 s  M2 C
  1118. ibase.dateformat = "%Y-%m-%d"
    9 |' M( f$ A5 V( |. G. E# ~
  1119. ! s9 C* a. D) h; K
  1120. ; Default time format.
    ) m& W  E9 j/ R
  1121. ibase.timeformat = "%H:%M:%S"
    6 u# L3 S: m# G# n! T+ J
  1122. ' W& E- D+ G2 l: ]
  1123. [MySQLi]
    # T% _5 I7 V. w, ^# g

  1124. # z4 w% i* M; f+ m) \/ e; m% _# L
  1125. ; Maximum number of persistent links.  -1 means no limit.
    2 [* I9 }5 R6 J; x$ ]0 G
  1126. ; http://php.net/mysqli.max-persistent
    . B3 C) a" }" U
  1127. mysqli.max_persistent = -1! p1 e2 E! q* s7 O( M* S

  1128. ! M+ \# c0 r' [8 J  K1 C& M  V3 h
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    3 _: W) B; D9 t. F2 L
  1130. ; http://php.net/mysqli.allow_local_infile: D! e9 c  X- l% a' X8 j* k- k
  1131. ;mysqli.allow_local_infile = On" \# g3 g' _' q3 S' v% O4 W$ d9 e
  1132. 6 J) U7 G/ g# s; S% x# G( k
  1133. ; Allow or prevent persistent links.* V! u  C9 h+ i/ ~! ^( G
  1134. ; http://php.net/mysqli.allow-persistent
    ( }# n4 r! N& m$ N
  1135. mysqli.allow_persistent = On* a; R' ^+ n7 X, w) Y/ D, ~6 |5 D

  1136. 2 U; _) S% o! D- G; P& M
  1137. ; Maximum number of links.  -1 means no limit.2 u  U: {2 F# A" o5 e
  1138. ; http://php.net/mysqli.max-links
    ; A1 g+ ]' m- R
  1139. mysqli.max_links = -1
    # o: x, L$ e  I5 }
  1140. ; O1 |+ ], U: ]/ T$ w6 t8 @
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache- L. f+ ]( G( d$ q0 A9 m
  1142. ; http://php.net/mysqli.cache_size0 s' H9 T3 ?5 @# r8 I% x- a. e
  1143. mysqli.cache_size = 2000+ D: u2 {1 o0 J+ A

  1144. ( Y( n& U2 ~; u
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
      f( Z: n3 p! _2 Y- E
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the% S' O3 t$ {8 @8 ]" @6 t3 F
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    7 e+ i+ D& C+ A2 S& {6 |% i
  1148. ; at MYSQL_PORT.( d! l9 H% r' H
  1149. ; http://php.net/mysqli.default-port5 O: V. V1 Q/ V' T
  1150. mysqli.default_port = 3306
    * p/ r2 y' }4 a8 e. K

  1151. 5 z: g3 z" s# T$ B
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    - z# \5 w9 V1 I3 z* r; ~2 i
  1153. ; MySQL defaults.0 t9 d* l! e& b5 s$ u' t+ m
  1154. ; http://php.net/mysqli.default-socket$ C4 }- y/ u, T
  1155. mysqli.default_socket =6 G( e) j) h/ N8 o0 N! x4 q8 ?
  1156. ! M* h( ]7 F+ o7 Y2 s( K- \1 |9 Y
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    $ x% ~& h5 v& Z7 F
  1158. ; http://php.net/mysqli.default-host
    " Y5 v# N" `9 a) [; T, U6 f' F9 B: p4 W6 u
  1159. mysqli.default_host =
    . X& i0 k. B/ M$ [4 n# P, O

  1160.   F3 j* q; r  P, ?2 w
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    $ u6 h, w6 n3 `% v; ^' `& X8 B9 [
  1162. ; http://php.net/mysqli.default-user
    8 }; I" p4 _2 }
  1163. mysqli.default_user =% @! D  W, @5 ~4 E8 `" R* p

  1164. : r4 F" c4 d! i
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ; _; h) o. @0 }% n0 O
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    . d; x' V! u; X: ^, N
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    $ Q# }$ t3 x$ w9 ?+ E. M3 R! `0 T
  1168. ; and reveal this password!  And of course, any users with read access to this: A  c# B# X7 n) y
  1169. ; file will be able to reveal the password as well." m. w8 c& ?: i/ ^' {" u4 {1 v+ Z
  1170. ; http://php.net/mysqli.default-pw8 ]" d( x/ _. [+ n: a
  1171. mysqli.default_pw =
    3 O# B/ x* N! P4 ^( P
  1172. / @6 _* ]0 l7 u$ T/ \
  1173. ; Allow or prevent reconnect' {8 w5 \* |+ i$ I
  1174. mysqli.reconnect = Off
    * b) j' p* b' G' _
  1175. 0 s8 s. f4 E) v2 ^0 X" d: }
  1176. [mysqlnd]
    1 o6 h* z6 r  ^0 W$ M4 o! i8 D
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be" D) ~4 _: ]1 S& |
  1178. ; used to tune and monitor MySQL operations.
    2 K; g3 N4 |* J' p0 s  O/ C. m
  1179. ; http://php.net/mysqlnd.collect_statistics
    - T$ i) T- `1 C8 D% q+ k8 u$ U$ U
  1180. mysqlnd.collect_statistics = On
    , W# s/ q. x. t
  1181. 0 R+ t2 Y: X; C3 r! G, ~1 G' s+ M
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    . H5 J- f: C7 f: }$ W7 }
  1183. ; used to tune and monitor MySQL operations.5 M  S' k" v- Z! M& M
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    ! e5 D) u/ @* T+ Q3 N- W/ K; a4 t4 ^
  1185. mysqlnd.collect_memory_statistics = Off  `6 \# L6 L0 n1 s4 n! R3 m
  1186. ! S3 k" f2 F% R- f! H6 z
  1187. ; Records communication from all extensions using mysqlnd to the specified log- h  O( Q2 _4 c1 C- j( {0 z8 q  G; @
  1188. ; file.
    ( n+ h* U/ E# x+ S& @
  1189. ; http://php.net/mysqlnd.debug( u+ k% O9 y2 {6 W9 |% o' |) J
  1190. ;mysqlnd.debug =
      d1 E8 ]* T" g% |0 F* E: j* Y

  1191. 3 I9 F5 I  x% X$ N( t0 _- s
  1192. ; Defines which queries will be logged." |# j: B( _5 `$ |7 V  @
  1193. ; http://php.net/mysqlnd.log_mask
    * N: R" p/ s) m0 b' k7 ]: p
  1194. ;mysqlnd.log_mask = 0
      m: o) d% r, V8 ?: ]: k5 Q* H

  1195. 4 H" Z# o2 M! w% ?5 O0 E4 |
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ; s! D$ r0 `5 c! R6 t
  1197. ; http://php.net/mysqlnd.mempool_default_size
    0 J7 S0 z( Z( P
  1198. ;mysqlnd.mempool_default_size = 16000
    3 F' [, h8 [6 Q$ z

  1199. / e8 x7 u9 ]# K3 f3 J
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    / k, Z# p% W- {; q$ t
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    4 ?7 j/ M: n( J+ _) k' I
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    # p2 {% o" m0 F2 p) V' G' H
  1203. " h% K9 b% u) J. ~! W
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in# |  }, c  T6 `% t( X  Z% j& i  _7 e
  1205. ; bytes.% P7 _' l. Q" k
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    $ K3 ^* O7 @# E& p7 i
  1207. ;mysqlnd.net_read_buffer_size = 32768) o# M/ S8 i6 `7 C# I7 _) }

  1208. 7 d1 h2 X) h6 |
  1209. ; Timeout for network requests in seconds.& z8 M+ a- o4 c6 h; O: e- r: }
  1210. ; http://php.net/mysqlnd.net_read_timeout; f. J' X. \5 S4 ]# i
  1211. ;mysqlnd.net_read_timeout = 31536000! H  e* ], T% T( ?1 K2 t% r1 S" ^

  1212. 1 o% Z6 n; X9 L& ~4 u$ O7 K
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    " Y: e+ _0 i' z8 w% C- i/ b/ k
  1214. ; key.  t8 j* {# x! C0 U
  1215. ; http://php.net/mysqlnd.sha256_server_public_key9 K% u/ D& K/ _8 i  @
  1216. ;mysqlnd.sha256_server_public_key =
    3 l4 ?, j: Q( r+ a1 p; [8 V
  1217. & v0 x) p9 L9 W' b' ]7 L- W
  1218. [OCI8], ]4 C6 o& j2 C7 f8 w' x

  1219. 5 g* V+ P4 B. R" R3 U
  1220. ; Connection: Enables privileged connections using external
    9 F% t5 z  m; H, j6 p. e
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)# O4 c0 G, u1 c7 @8 M9 m
  1222. ; http://php.net/oci8.privileged-connect
    $ f, A! Q8 S1 j' ]' \$ p
  1223. ;oci8.privileged_connect = Off0 i9 o0 d4 P: n/ i! Q! b
  1224. 4 w6 W, M) l- s1 o* u
  1225. ; Connection: The maximum number of persistent OCI8 connections per8 v# a) M3 H+ ~" O% R4 h
  1226. ; process. Using -1 means no limit.7 M) Z3 A" x: t: g- x$ j) v9 e
  1227. ; http://php.net/oci8.max-persistent
    # V/ [9 Y: j) l. A8 t1 d
  1228. ;oci8.max_persistent = -1& `; y- q6 z) i

  1229. 8 K& x8 {( |" r/ K
  1230. ; Connection: The maximum number of seconds a process is allowed to
    : R0 e& p, y+ A8 J, v( u
  1231. ; maintain an idle persistent connection. Using -1 means idle: |/ |6 U( H. ~+ l- N/ }" n2 m0 A+ M
  1232. ; persistent connections will be maintained forever., q7 P& q# I9 q' r. F9 n
  1233. ; http://php.net/oci8.persistent-timeout; M$ G8 A$ D; B
  1234. ;oci8.persistent_timeout = -1
    4 @1 o- ^- {  q1 s

  1235. 3 `6 \6 d' s0 D5 B. m
  1236. ; Connection: The number of seconds that must pass before issuing a6 M/ w" ~4 d) C# ]3 c' M% c5 j
  1237. ; ping during oci_pconnect() to check the connection validity. When
    # e9 w6 F; P! V  O7 ?( r
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    9 U8 M/ p2 @: f8 r( Q
  1239. ; pings completely.
    2 L; c  T$ w/ X$ D  B' O
  1240. ; http://php.net/oci8.ping-interval$ Q# q3 {8 ?, f& b0 i: e! O  v
  1241. ;oci8.ping_interval = 60
    / C- X& y3 w4 N$ Q, j' }, i
  1242. 2 X" [5 `4 ?# U7 |) c6 U
  1243. ; Connection: Set this to a user chosen connection class to be used3 X1 p: x- r, g  l! F5 z! ]
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    $ O/ g2 O* S9 r' p
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to0 m) B% F# {6 O2 M# }! m
  1246. ; the same string for all web servers running the same application,
    * I* @3 @, r  F
  1247. ; the database pool must be configured, and the connection string must  Y: h) G7 Y, }1 C  M) F* r! B- P; y
  1248. ; specify to use a pooled server.
    ! f# @  j3 K5 U: X8 P/ y
  1249. ;oci8.connection_class =8 B9 ^; s( B% Q" `* h7 c8 V
  1250. $ d* |8 x' ?7 `) {9 Y
  1251. ; High Availability: Using On lets PHP receive Fast Application
    $ c- p# r/ q) t: ^/ O
  1252. ; Notification (FAN) events generated when a database node fails. The
    - }- w7 A+ f2 e$ p
  1253. ; database must also be configured to post FAN events.3 }& U3 r3 \! ~) u
  1254. ;oci8.events = Off
    2 q+ b  ^: \2 {3 N
  1255. + x' `3 |. t( M, J- s
  1256. ; Tuning: This option enables statement caching, and specifies how
    * y; w0 W) Z) [% E6 }9 h
  1257. ; many statements to cache. Using 0 disables statement caching.  E7 H3 V! \  d/ @7 K
  1258. ; http://php.net/oci8.statement-cache-size
    $ W; J" i# R" a+ i5 z0 ^
  1259. ;oci8.statement_cache_size = 20  L7 e' M8 v- }  R

  1260. 3 y4 `) t" a: F
  1261. ; Tuning: Enables statement prefetching and sets the default number of8 L& I# M& i' f) b
  1262. ; rows that will be fetched automatically after statement execution.
    5 |: S# }7 _2 \# m) u, @4 W
  1263. ; http://php.net/oci8.default-prefetch8 h+ T9 G2 _' `! t( f/ P
  1264. ;oci8.default_prefetch = 1005 I( E$ b5 @! U1 @; R5 L

  1265. + {( S) J; k: I
  1266. ; Compatibility. Using On means oci_close() will not close
    9 [8 E/ \, h% _
  1267. ; oci_connect() and oci_new_connect() connections.
    4 k6 s: f9 ^$ [! s
  1268. ; http://php.net/oci8.old-oci-close-semantics
    % E- {2 S' @% I9 j3 y  X* q# c+ Z+ s
  1269. ;oci8.old_oci_close_semantics = Off
    3 G. ^; a# F7 ]5 S6 i1 i
  1270. / Q& V8 t2 a! f2 C* E+ ~' T4 i5 y
  1271. [PostgreSQL]4 X( a  S) X5 W( Q) o* N
  1272. ; Allow or prevent persistent links.) C; ]3 |! @3 e% j! }4 g
  1273. ; http://php.net/pgsql.allow-persistent" W* E! o" J0 [2 \
  1274. pgsql.allow_persistent = On
    - g  ^  H4 X+ j8 V) E

  1275. 1 h* T8 f6 ]3 F& k1 t$ K) A
  1276. ; Detect broken persistent links always with pg_pconnect().3 y# I, f- M& A: \$ E* R
  1277. ; Auto reset feature requires a little overheads.
    4 w8 j2 p: R3 M6 K$ ^, k
  1278. ; http://php.net/pgsql.auto-reset-persistent
    2 L& l. e* A" G( j/ @. F
  1279. pgsql.auto_reset_persistent = Off
    $ H* b5 X& g' A: X- C

  1280. ; w5 b$ f0 U2 D( [
  1281. ; Maximum number of persistent links.  -1 means no limit." L" f! K/ x" h5 ^8 [% a
  1282. ; http://php.net/pgsql.max-persistent  t# p0 e5 y% o5 N8 q* \- Z
  1283. pgsql.max_persistent = -1% G( g. P7 W  R5 q
  1284. : d) r  k+ K) @0 y
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.' z" ~1 V+ L9 d, s5 V" X4 @! V
  1286. ; http://php.net/pgsql.max-links
    $ r0 T. q  `- p( n, k! u
  1287. pgsql.max_links = -1; B; `3 S1 T5 N) D
  1288. " U; X9 P9 k2 {# @! Y% \
  1289. ; Ignore PostgreSQL backends Notice message or not.
    3 p6 h5 d- ~$ \7 ?" i
  1290. ; Notice message logging require a little overheads.8 t, w5 M$ v) l; s; L
  1291. ; http://php.net/pgsql.ignore-notice9 \) X- @7 l  v2 K+ J
  1292. pgsql.ignore_notice = 0
    9 v" L/ D% M" u0 G! Y4 C

  1293. . ]" X) d$ j- b& ~6 Q$ |
  1294. ; Log PostgreSQL backends Notice message or not.7 v  f+ J7 l+ K" J
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.; E7 M+ g8 I# D$ t$ N" Q' w! _  A
  1296. ; http://php.net/pgsql.log-notice0 A& C0 |: v; K# f4 [5 I" k) }: _
  1297. pgsql.log_notice = 0
    ! j0 }* u0 n0 u- G0 G$ ^3 G0 k

  1298. 1 ]+ a5 V* e# C8 E6 D
  1299. [bcmath]& D: r; N  b( q  ^  m) B
  1300. ; Number of decimal digits for all bcmath functions.& `. E4 [- r/ c  \5 W
  1301. ; http://php.net/bcmath.scale! ?2 g8 Y* r  U: ]
  1302. bcmath.scale = 05 ^! k. U) B& X4 B* x: w% b) |+ g

  1303. . y6 Z6 q+ j: ~( W
  1304. [browscap]6 a/ B( O5 h) d: ?" ?" {% X
  1305. ; http://php.net/browscap
    + w* y5 e4 [3 K# W( p
  1306. ;browscap = extra/browscap.ini/ ~+ h2 t' d/ ~6 }2 T8 k- b0 Z% z; `

  1307. / u% ]/ f+ ?/ m; @" V
  1308. [Session]4 \; I0 P+ w  M
  1309. ; Handler used to store/retrieve data.8 r) Q' j5 y1 z# ^6 K% z; u" Y0 Q
  1310. ; http://php.net/session.save-handler
    & J8 }, D9 {0 Z) u, R2 k/ K
  1311. session.save_handler = files
    " E. e8 X8 S4 V! N/ ?4 G6 L* d" L" e

  1312. & l/ i8 O2 P5 l2 e3 e. L
  1313. ; Argument passed to save_handler.  In the case of files, this is the path: e) C9 D0 |( d. m9 L  S
  1314. ; where data files are stored. Note: Windows users have to change this
    # m0 N6 @! r! s+ W' f) }
  1315. ; variable in order to use PHP's session functions.: f2 g! O" N% Z! W+ i& L' p% Z, C
  1316. ;- H0 n! |, n+ D) k
  1317. ; The path can be defined as:
    7 M9 s$ ~& B8 r, e
  1318. ;
    0 a8 {& x8 F' T4 H; s2 d( ~9 E
  1319. ;     session.save_path = "N;/path"
    # X* O. p0 c4 @- \( a; h& ^
  1320. ;; V, |+ D: _/ z: I
  1321. ; where N is an integer.  Instead of storing all the session files in
    / a' S7 W3 [, b% M7 Q2 b% ~
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    , K3 m9 o1 g0 h1 \
  1323. ; store the session data in those directories.  This is useful if, g* T0 p" ]/ W7 ^6 F7 D5 A$ ]
  1324. ; your OS has problems with many files in one directory, and is) G+ @6 Y, S+ c: h* D3 M
  1325. ; a more efficient layout for servers that handle many sessions.) s* v/ [( N3 }% A2 Q
  1326. ;; k  O% e; I- @8 q# z' }
  1327. ; NOTE 1: PHP will not create this directory structure automatically.1 B- R2 w: u6 d- T* x
  1328. ;         You can use the script in the ext/session dir for that purpose.
    + M3 L7 b0 c0 }8 a) M- Z0 \2 N
  1329. ; NOTE 2: See the section on garbage collection below if you choose to4 r& W: E  P4 d7 d( d
  1330. ;         use subdirectories for session storage
    5 N' @4 }7 K" m8 d3 n
  1331. ;) m5 Y3 n, Y) ?
  1332. ; The file storage module creates files using mode 600 by default./ Z# d' h2 W& ?/ G! O" v
  1333. ; You can change that by using- \8 k' |1 p6 c' e1 K3 @( ]( _
  1334. ;$ M4 I! G  L% o/ t) H
  1335. ;     session.save_path = "N;MODE;/path"
    5 p9 O- m$ ~# S) ~8 z/ g' W) f
  1336. ;# ~! _4 T. s7 M( R8 k
  1337. ; where MODE is the octal representation of the mode. Note that this
    6 W7 ^# \/ e' n8 J3 k7 o
  1338. ; does not overwrite the process's umask.
    + a$ z3 N# w6 v( k7 h" A# W% e
  1339. ; http://php.net/session.save-path5 j* @8 G8 H! S2 s3 F
  1340. ;session.save_path = "/tmp"% d1 [1 q, w: e- k; }" ~1 n
  1341. / Z6 R- [7 W- Q4 y. I
  1342. ; Whether to use strict session mode.1 n; ]  a) R+ v1 z' B+ ~/ J+ F
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    - x! G) g% A+ S2 _
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects  T$ h+ h, P7 t' C# a. m5 q
  1345. ; applications from session fixation via session adoption vulnerability. It is' C& D- D" F( A
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.) _9 Z2 x( Z$ o9 E2 H# G& C$ p
  1347. ; https://wiki.php.net/rfc/strict_sessions- d0 m: l! k# z, Z; w1 z
  1348. session.use_strict_mode = 0- x7 M" T$ E0 m/ O

  1349. 1 L) l+ D! S/ F5 j: ]
  1350. ; Whether to use cookies.
    : S8 ~8 n1 a/ b. Y( k
  1351. ; http://php.net/session.use-cookies
    7 Q* M- |0 a1 Y) s$ J  z
  1352. session.use_cookies = 1
    & O& [* D( K5 z- i! B
  1353. ) F% v* O: K8 u. v
  1354. ; http://php.net/session.cookie-secure
    * `% p( ^  n) c9 _+ x3 \" A
  1355. ;session.cookie_secure =
    " a( I9 G* u; N4 v3 f- N- B5 E$ ]  w
  1356. * K+ ?% x& X: e
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    7 H2 A% a8 j% I7 V$ I6 ]- ^
  1358. ; the session id. We encourage this operation as it's very helpful in combating* ~& w1 F$ p7 D$ t, f/ d( I
  1359. ; session hijacking when not specifying and managing your own session id. It is( O; P9 \' S4 j9 l2 W( R; G
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    % j2 @% k/ a5 ?, @
  1361. ; http://php.net/session.use-only-cookies
    5 @1 j: z* y3 O. ]6 @  L1 V2 ?! E
  1362. session.use_only_cookies = 1! }% v% E' K: N5 `

  1363. ) }6 n- z: {/ \  }& q
  1364. ; Name of the session (used as cookie name).
    ' c- v: t; P" q) b3 f' N% _
  1365. ; http://php.net/session.name
    4 l6 [- f5 }6 |. _8 E/ A; V0 x9 z
  1366. session.name = PHPSESSID) w5 l9 ?% a* g- b, T+ U3 k

  1367. ) Y+ u" O" P2 ]7 @6 R& @4 L
  1368. ; Initialize session on request startup.4 {6 l: ?; u# Z
  1369. ; http://php.net/session.auto-start
    1 u. \" G) I- X0 i! W- N
  1370. session.auto_start = 03 w8 V. v6 Y5 @6 x
  1371. 9 \! z* ?! l( _3 A$ T" I
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    1 r! `8 Y8 f9 u: i( C
  1373. ; http://php.net/session.cookie-lifetime
    & T* p4 V3 V# K: W; d9 B
  1374. session.cookie_lifetime = 0
    2 L- c% Q' L) }% ~: T' }# O0 \
  1375. 3 ^4 i# c1 ^6 ]% U
  1376. ; The path for which the cookie is valid.
    , j3 @, l' s- w$ q% x1 J$ E
  1377. ; http://php.net/session.cookie-path
    # a0 y" j% w: A
  1378. session.cookie_path = /* q4 b' Z- U* O, g* L* ?

  1379. : e( n$ `  k, r1 `; Y
  1380. ; The domain for which the cookie is valid.
    & C* R" z3 ~: s4 }" x, V* ~; ?
  1381. ; http://php.net/session.cookie-domain
    1 T4 J+ C  y$ x; n5 Q  O0 A$ ]* l! G$ @
  1382. session.cookie_domain =
    # A7 i7 c1 i  O8 h* t+ ~/ s

  1383. : s) v# d5 {3 s" c
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.6 _# r/ E8 H# q6 {% f
  1385. ; http://php.net/session.cookie-httponly
    , J4 X9 w! `% ?4 \
  1386. session.cookie_httponly =. b; `9 z/ e3 m/ H) _7 c" N

  1387. / h& M/ S1 N+ e4 R! K1 B
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    , L' k% R* W4 F# i# ?- k: |, Z# @
  1389. ; http://php.net/session.serialize-handler. v, A9 s6 `* G* n4 z
  1390. session.serialize_handler = php7 D3 r& ^6 j% H

  1391. 7 S, _4 x# i# l
  1392. ; Defines the probability that the 'garbage collection' process is started# n, {! b+ e9 z9 v* `1 W
  1393. ; on every session initialization. The probability is calculated by using% r7 c, D3 k7 M1 Z
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator- N0 v( m8 p0 T* f6 V' |# N
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1, R# O* I+ n7 x# s# f' a# m0 o; R
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance  e; G2 e$ K" ]7 C2 s
  1397. ; the gc will run on any give request.
    1 y4 i0 A2 ]: y; O" x3 I% z4 [3 l
  1398. ; Default Value: 1
    ; N. d" p$ [3 R: ]
  1399. ; Development Value: 1) Z' u% y6 E( l# E. w6 E0 j# D
  1400. ; Production Value: 1
    ; E/ y. P5 o2 P& V) a
  1401. ; http://php.net/session.gc-probability
    ! m! d  }8 ^" L/ h' V
  1402. session.gc_probability = 1# }% ~4 ^  i, j9 {5 [
  1403. 1 U9 L4 v! Z8 n" J6 e; \
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    7 c* J* l: D3 o& j
  1405. ; session initialization. The probability is calculated by using the following equation:8 j& h% o. ^* y0 _) S2 h: x! b, ?2 `
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and; D0 y4 k4 F5 R
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    4 C* D+ p0 V1 {$ W' @
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    . F" x7 X" D7 a/ c4 r
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you6 w. m& M8 z9 L0 I7 }( Q* p
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    , U& L8 G  w' ]; u  X
  1411. ; this is a more efficient approach.
    ; ^& N( b9 j) m6 m/ e9 I
  1412. ; Default Value: 1006 c5 V& v3 h+ T) [% a7 h5 p  P
  1413. ; Development Value: 1000
    9 v+ \9 x' Z+ |, D8 F  S# l1 b; i6 @! I
  1414. ; Production Value: 1000
    0 j5 g: B* P: ?8 y* R
  1415. ; http://php.net/session.gc-divisor2 ~7 w& r. z$ l3 c; v
  1416. session.gc_divisor = 1000
    # w+ v( V  g' c4 e

  1417. 1 t# f7 w. r0 u& [1 u. Q
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    % U+ P7 [6 M4 c/ f
  1419. ; cleaned up by the garbage collection process.
    - r4 g3 Y( U% A7 ?
  1420. ; http://php.net/session.gc-maxlifetime% q1 T5 T8 I) ^7 ]0 ~
  1421. session.gc_maxlifetime = 1440
    4 [9 e& U3 S, J, T2 U) f  \  J3 o
  1422. ! w% `$ x# ]4 k( _% p9 F
  1423. ; NOTE: If you are using the subdirectory option for storing session files: R4 z. _, M+ v8 H2 b
  1424. ;       (see session.save_path above), then garbage collection does *not*
    1 R& u0 Z2 w- J  Y! L
  1425. ;       happen automatically.  You will need to do your own garbage! E- W( C0 k5 D7 u1 A- Q, o
  1426. ;       collection through a shell script, cron entry, or some other method.
    7 N2 B% n/ D2 p- s6 U6 ?- X. x! ~
  1427. ;       For example, the following script would is the equivalent of
      @9 t; O' |3 }  |; j. N' i) ]  T
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):4 R: Z& F* q& \) H- j4 r; T
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm% ?% p" u3 F- o6 F5 m$ c2 \% i

  1430. 4 L: s  V# w" R# {( Y2 Z
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    6 A0 j) }$ b; I- E# L
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    6 Z2 V$ N1 o& t2 }
  1433. ; considered as valid.9 K: l' c& |; Y# o) v
  1434. ; http://php.net/session.referer-check
    , w: c: r' n- G, }8 L4 q5 h( d$ s
  1435. session.referer_check =2 P& v# W7 k  G0 K/ @# e
  1436. 2 ~+ Z( ]/ l' I
  1437. ; How many bytes to read from the file.
      T" S2 Y) W# w6 i+ C4 w' E
  1438. ; http://php.net/session.entropy-length1 P7 S: k, z) F' f2 [$ c8 h' r
  1439. ;session.entropy_length = 32
    ) |& a2 c/ G+ u

  1440. 7 f. U2 c1 M. y4 C, l. k
  1441. ; Specified here to create the session id.0 j* S/ s6 }7 g) I2 o
  1442. ; http://php.net/session.entropy-file
      C# I3 ?7 ?! E9 W" t
  1443. ; Defaults to /dev/urandom0 X! r, l( \% J/ K# g$ S; E: b
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom& j  P! J" F; H  Q- h
  1445. ; If neither are found at compile time, the default is no entropy file.+ ]& J/ O5 p% A8 y/ M0 d9 v
  1446. ; On windows, setting the entropy_length setting will activate the. r  ~; h. E7 B" V+ m1 @6 ]8 d
  1447. ; Windows random source (using the CryptoAPI)  V% v& T4 g" o
  1448. ;session.entropy_file = /dev/urandom% a/ |( b0 M9 v# X# \* c) T

  1449. . a/ W5 u) W) k+ [
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects- G( Q, f9 I; O" K1 v
  1451. ; or leave this empty to avoid sending anti-caching headers.7 G3 z! r% P6 f* J4 M- E
  1452. ; http://php.net/session.cache-limiter; p' Z2 C( A0 L* K6 B9 R
  1453. session.cache_limiter = nocache
    " B3 y1 R! q9 V) w$ n7 N" m
  1454. , Q5 j7 d: x, k: g, ]
  1455. ; Document expires after n minutes.; e3 T# h8 }5 `
  1456. ; http://php.net/session.cache-expire
    , ~' L2 f9 L. d/ L' B
  1457. session.cache_expire = 180
    * b0 A& y9 }' I, f1 d& q

  1458. , Z  z' e) ?  M% e/ \" Z
  1459. ; trans sid support is disabled by default.
    . v: C7 c! M1 v7 X
  1460. ; Use of trans sid may risk your users' security.2 T, Q& V. F+ b% t- _1 N
  1461. ; Use this option with caution.( K4 {" v. P6 w
  1462. ; - User may send URL contains active session ID
    $ t% [5 _! S& j7 E
  1463. ;   to other person via. email/irc/etc.) w* E1 d6 u  B$ f; l# ~& D
  1464. ; - URL that contains active session ID may be stored
    : I1 ?2 e* ^- J$ ^. E
  1465. ;   in publicly accessible computer.
    3 I2 m1 M2 y: g4 a: K. y) `
  1466. ; - User may access your site with the same session ID
    " g; ]+ @$ d+ W: P$ g# j. N/ \
  1467. ;   always using URL stored in browser's history or bookmarks.
    % B9 r" v- l5 Z. c7 ~% d
  1468. ; http://php.net/session.use-trans-sid
    ) @3 {  q% Y& r
  1469. session.use_trans_sid = 0
    0 Y0 Z! R( b- O7 Z' t8 D& \/ K

  1470. ; W* r# _: ?' V/ h( f4 `3 b
  1471. ; Select a hash function for use in generating session ids.
      l* {3 N6 q1 {0 ~- `
  1472. ; Possible Values
    , s7 {* B8 T+ g1 @
  1473. ;   0  (MD5 128 bits)
    0 V1 W7 {# f# Q" Q% z
  1474. ;   1  (SHA-1 160 bits)
    5 ~% T% N: u+ |  i
  1475. ; This option may also be set to the name of any hash function supported by
    # D" ?3 F, B9 h0 b! y/ w% `
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    1 X6 i( V1 U' N
  1477. ; function." j6 d: \! D( S7 f
  1478. ; http://php.net/session.hash-function+ X; ]- N  O) c& [2 t/ A, F9 [
  1479. session.hash_function = 0, j3 h3 K- J( Y7 s$ T3 t$ j/ D: n! K

  1480. , b  L3 }, d$ U7 v+ i
  1481. ; Define how many bits are stored in each character when converting
    ; K6 D" w+ o3 {# b+ ]+ g
  1482. ; the binary hash data to something readable.
    * x+ V% W0 r, F6 s" `0 i' d
  1483. ; Possible values:
    8 p3 i# A5 b( Q9 F! G, P7 b7 ^
  1484. ;   4  (4 bits: 0-9, a-f)$ }# p. x& a. W0 G; k/ K! o6 q( w
  1485. ;   5  (5 bits: 0-9, a-v)
    & h, x% @$ }/ j! J
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ; O5 ]" {3 E" f  [" e" j
  1487. ; Default Value: 4
    5 R& `' I& i9 @& v0 C  o
  1488. ; Development Value: 5" Z. N; O6 O, F: J$ ?
  1489. ; Production Value: 5
    8 ~( Y3 t+ d! f! l8 p/ [& K4 D' j
  1490. ; http://php.net/session.hash-bits-per-character
    ( T0 _$ w- u1 a9 k
  1491. session.hash_bits_per_character = 5
    - L) Z: k) ^, y# C

  1492. 8 x$ w. z7 B3 p1 z0 i, Q" a
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.) n3 u/ g1 b1 q  y
  1494. ; form/fieldset are special; if you include them here, the rewriter will5 S$ {  a: Z/ C% H5 R/ d6 V
  1495. ; add a hidden <input> field with the info which is otherwise appended( I- y  A/ b' n, k! L+ \' E8 Y+ U  @
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.# W, `- f5 Y# L+ {3 M' z- y  J
  1497. ; Note that all valid entries require a "=", even if no value follows.$ p  m! }- o+ e+ P* T+ F9 }. G0 C
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=") \0 p+ _, ]+ b) X5 D3 G" E6 a& P
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# R  w- d, ^' c
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 z. s; U% l$ H5 Z( F
  1501. ; http://php.net/url-rewriter.tags
    ) i1 _0 |$ `- D& h: E/ p- ^+ O
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry": y' b1 X" F5 P) y* J2 u
  1503. ! p! [; `4 m; N2 U# l7 \. F/ m: {
  1504. ; Enable upload progress tracking in $_SESSION
    ' x8 @, r) X+ L3 ]$ i$ J. S6 t1 @
  1505. ; Default Value: On1 f6 D3 x+ i7 F' {- q9 J  i
  1506. ; Development Value: On9 D0 y1 Y' L& Y' X) L  _$ q
  1507. ; Production Value: On: {; X& ^5 Q$ N$ ?( r# m+ N
  1508. ; http://php.net/session.upload-progress.enabled
    7 e# [1 H- N* L% e
  1509. ;session.upload_progress.enabled = On
    & E' g2 V5 V1 g# S( p
  1510. & `/ o1 B4 D- m
  1511. ; Cleanup the progress information as soon as all POST data has been read
    9 f' n0 p; ~  H) C5 P
  1512. ; (i.e. upload completed).
    9 Y, S2 X1 @1 t+ D  {
  1513. ; Default Value: On
    : H, C1 A- @) `$ K$ b' R  N7 f7 _6 K
  1514. ; Development Value: On
    * N3 y6 N, V9 X$ A- E) u
  1515. ; Production Value: On' V8 X0 s/ ~* N' P( I* H0 @
  1516. ; http://php.net/session.upload-progress.cleanup& W4 q( j2 N: A! c1 f
  1517. ;session.upload_progress.cleanup = On
    + b; u7 [9 _* e
  1518. 6 @& ~4 N2 i. [9 k3 X" ~! C
  1519. ; A prefix used for the upload progress key in $_SESSION
    , @2 V6 i+ G: j8 B7 q, q3 E/ g% h
  1520. ; Default Value: "upload_progress_"- m4 }+ k. ]/ S, l& m( U- \
  1521. ; Development Value: "upload_progress_"
    / ~- P! P5 `$ V
  1522. ; Production Value: "upload_progress_"
    * g9 G, U4 H* N0 e( z; R7 _
  1523. ; http://php.net/session.upload-progress.prefix+ y& K0 C. A7 l& r
  1524. ;session.upload_progress.prefix = "upload_progress_"
    5 N1 [; [+ I7 E; ^0 S( Y# Y3 Y
  1525. $ z/ G) [. ]' }' x% `, F- B1 `1 P
  1526. ; The index name (concatenated with the prefix) in $_SESSION. u" C+ u" B' ^( ^$ f
  1527. ; containing the upload progress information
    5 _/ M7 ~: n3 E1 t9 M) V; k% H& k6 c
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ' u1 @" A9 {. r/ g* ~9 H
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    * ]* I; A5 }+ ~% r
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"" }: H0 k. y) F; k+ y4 T7 ]3 H
  1531. ; http://php.net/session.upload-progress.name1 {: B1 I+ ]- j1 Y5 h
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    " R, R- {* {& Y6 X3 i4 I

  1533. 2 w. [3 h, x, U# [* x( T
  1534. ; How frequently the upload progress should be updated.1 |: `% t5 {' o$ Y3 g
  1535. ; Given either in percentages (per-file), or in bytes
    , p: D: J( C. s/ ]  I
  1536. ; Default Value: "1%"# N' _* [% X, G% p) \
  1537. ; Development Value: "1%", k7 I" V' u6 B" X  S. p/ l
  1538. ; Production Value: "1%"
    ' @  J- \+ Q% a! j1 e2 G* `+ K
  1539. ; http://php.net/session.upload-progress.freq
    9 q# {+ F# n  f& r" h0 l8 n
  1540. ;session.upload_progress.freq =  "1%"% ?3 `/ D3 |6 W. j. ~6 v
  1541. : I% {8 a' I' n9 F; T# [
  1542. ; The minimum delay between updates, in seconds9 b! L7 q' s& c5 N8 a$ w2 I! V
  1543. ; Default Value: 1
    # E3 j8 H$ {* p" }! Y0 A
  1544. ; Development Value: 18 @; |+ l( f  @* Z, X
  1545. ; Production Value: 1
    ! D7 C! F) H, q, O( v
  1546. ; http://php.net/session.upload-progress.min-freq* q' S: v5 s; b' ^+ O2 t" J" i8 `
  1547. ;session.upload_progress.min_freq = "1"
    # |. [. h& l; C9 ]
  1548. 4 w, V" Y; `5 D" e7 f) d( o* F$ ^$ F
  1549. ; Only write session data when session data is changed. Enabled by default.; n& e9 \1 c7 U; Y! E4 e/ I
  1550. ; http://php.net/session.lazy-write
    " |1 L( D5 r. C% X. v
  1551. ;session.lazy_write = On- r7 c- ~5 \5 ~# }% t

  1552. 4 f4 b) q8 J7 }7 n" C2 A
  1553. [Assertion]
    5 I) I! M1 D! U# w; ?. x
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)! R. u' ^) g& }* c+ R. V7 ?3 z8 V
  1555. ; -1: Do not compile at all
    . ~- I5 y# I$ A. \# y
  1556. ;  0: Jump over assertion at run-time4 a! ~' t2 v& D0 Y1 \3 b
  1557. ;  1: Execute assertions# U( l& q( H$ Q6 C; Z0 v
  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)
    9 x4 a7 u0 V  g! E+ O
  1559. ; Default Value: 13 d0 ?, r/ Q; f( B0 W8 v- V
  1560. ; Development Value: 13 a3 j8 `7 D1 p: ?
  1561. ; Production Value: -1
    ! d9 s1 {4 q% N: i! G
  1562. ; http://php.net/zend.assertions& D. S+ e! c0 P- ~1 I
  1563. zend.assertions = -1
    # Z% _+ t4 _( b* C1 o% O  R) L
  1564. 9 g) M: i" ?8 E
  1565. ; Assert(expr); active by default.# F6 p% ?! @/ d/ _' z8 G: V
  1566. ; http://php.net/assert.active! K3 {7 x0 a9 W* B* ?5 W
  1567. ;assert.active = On( y' \% W  n' s: z7 e$ Z
  1568. - D% ^5 }- i; d' s, [- V8 H% X  J
  1569. ; Throw an AssertationException on failed assertions* H5 s9 i" V4 x. Q) i
  1570. ; http://php.net/assert.exception/ T& R! R! ^# _  b9 x9 i
  1571. ;assert.exception = On
    , D/ n0 h" L* w, Z
  1572. 5 `/ S9 {1 t; Z8 B9 i+ i7 P' |
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    + }7 B/ B6 Y1 {" y
  1574. ; http://php.net/assert.warning
    3 ?% Y( D8 ~# p7 P$ R( L
  1575. ;assert.warning = On
    0 a) u1 j7 \' S$ d
  1576. + b: k2 s6 f2 [- t
  1577. ; Don't bail out by default.0 y! t: z1 w( Y8 v+ c" s
  1578. ; http://php.net/assert.bail# _9 o& E: K. G! Z
  1579. ;assert.bail = Off
    4 J; J- O9 y4 S# `) J

  1580. 6 f' i, q; R0 s5 u! O0 c. [* P
  1581. ; User-function to be called if an assertion fails.9 A" U2 Y- D2 v. O# A5 e# g( f4 p
  1582. ; http://php.net/assert.callback: `1 _* T( _6 O0 v3 z' c1 E9 g
  1583. ;assert.callback = 0# t+ A: L4 W4 p$ \& n
  1584. 9 ]4 i/ r- a6 S! F0 i
  1585. ; Eval the expression with current error_reporting().  Set to true if you want: H6 [1 A; G% ]7 C* `. M5 Q
  1586. ; error_reporting(0) around the eval().
    2 q& Y' ~0 O. W$ ~" I* u; M: ?1 E
  1587. ; http://php.net/assert.quiet-eval
    $ y! u; o: q6 I( o! B
  1588. ;assert.quiet_eval = 0: \- n% J/ r* {0 P& l. O

  1589.   {( ~* e4 X8 O
  1590. [COM]
    9 X. v; ~# p; ^
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs+ V$ \1 W9 m- A+ Q
  1592. ; http://php.net/com.typelib-file+ x: B6 J2 a+ w1 W7 M% V
  1593. ;com.typelib_file =4 E8 V6 ~) _: f- ~% M) a& D

  1594. % H: k4 I+ a! s% H* o; h3 h- \
  1595. ; allow Distributed-COM calls8 \6 {+ j" Y, I) f2 t9 e
  1596. ; http://php.net/com.allow-dcom
    , H0 u% k) X3 \8 H
  1597. ;com.allow_dcom = true
    : \/ j5 o, u* D2 a
  1598. 6 m3 w6 x8 K  H0 m- p
  1599. ; autoregister constants of a components typlib on com_load()
    % h  g! C0 N: |8 p! Z* Z! ?
  1600. ; http://php.net/com.autoregister-typelib
    , P  P, k6 d6 c1 M) v8 u6 X
  1601. ;com.autoregister_typelib = true
    5 N7 t$ `2 A5 A) D' a1 _
  1602. 5 F' l# c" F; w- S" M" c
  1603. ; register constants casesensitive( e6 _8 C- R6 V- G  ^
  1604. ; http://php.net/com.autoregister-casesensitive
    9 E( s) c8 t  j" N
  1605. ;com.autoregister_casesensitive = false, J4 b/ D& j3 ^: s) D) R! ?6 O

  1606. ' e: R, R/ z( A0 T% S" }
  1607. ; show warnings on duplicate constant registrations$ G( c& ?5 F  [3 k) K
  1608. ; http://php.net/com.autoregister-verbose
    7 |4 G! L, H$ g/ K9 t
  1609. ;com.autoregister_verbose = true; ^1 |0 C1 ?2 W+ W7 X# D) L* Y
  1610. 6 J7 i1 }3 [+ y
  1611. ; The default character set code-page to use when passing strings to and from COM objects.( P4 h4 N# U- P+ A) n
  1612. ; Default: system ANSI code page4 ^1 V$ V/ W6 {4 g
  1613. ;com.code_page=
    4 z) \$ U5 u1 c5 M$ p2 z" b1 H
  1614. 1 E. ]0 [' w3 H5 B$ g
  1615. [mbstring]. O; G- y. {& E. ^
  1616. ; language for internal character representation.$ c* O2 U" b5 x4 |1 \2 D- v5 B/ ?
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    ) v, @" `2 i0 c" b1 I
  1618. ; http://php.net/mbstring.language
    1 w( P+ C9 ?: X  r" x9 n$ @0 {7 _7 p
  1619. ;mbstring.language = Japanese+ o& Q3 O, a3 e9 E2 E5 p6 d5 c

  1620. + G! ?3 l2 L; H+ ]5 S
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    0 W, W& `( N) K5 _
  1622. ; internal/script encoding.
    % J8 d' D; [5 q! t0 r: |7 B& T
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)+ ]; T$ e5 _1 P4 m
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.& e, v% T( s# [* \
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    / |8 v; I8 J, e7 o
  1626. ;mbstring.internal_encoding =
    4 o6 n$ [+ l  J( q
  1627. 4 e* O5 ^/ R4 }. h
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    , y$ T! J& O3 N6 }# l% k% D* {( x& q  d
  1629. ; http input encoding.
    $ v: o9 w. ]  a) R2 s
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.1 {7 o7 Q* f0 ^
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.$ P1 w2 G9 Z1 _) ?' K7 E1 ?( m
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input+ }6 L' D, Y& z3 B+ @; e  d
  1633. ; http://php.net/mbstring.http-input# O6 [/ J& J0 \" A& o& B6 r
  1634. ;mbstring.http_input =
    % A4 a  X" \, v& C! @) F

  1635. 0 d7 b/ j& ]9 b
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    - |! ]9 F+ @! y: W
  1637. ; http output encoding.
    : s* ^( i( j: F, f. C. t2 H
  1638. ; mb_output_handler must be registered as output buffer to function.
    & S# |, O& J" A0 W2 |# K# F4 o$ ~1 @
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ' E$ D7 v8 C/ ?7 t9 \" p) e: Q
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    # W& T  E5 a- e) m9 [
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    : R. z& M' H! @  t) Y( D5 ~/ e
  1642. ; otherwise output encoding conversion cannot be performed.. i! Y( P. F* e. B
  1643. ; http://php.net/mbstring.http-output5 D  J" b5 |1 V" s4 ~
  1644. ;mbstring.http_output =
    $ }- q+ _, j5 T* j$ Z8 @& f
  1645. ' L: l( m- _$ W
  1646. ; enable automatic encoding translation according to! z+ ~" R6 U4 B; P
  1647. ; mbstring.internal_encoding setting. Input chars are$ \- {' C% X, M' H* o( L$ E7 o
  1648. ; converted to internal encoding by setting this to On.9 z! B; y- G9 C
  1649. ; Note: Do _not_ use automatic encoding translation for6 P3 x& \  v9 A( M# x  n7 A$ Y
  1650. ;       portable libs/applications.
    & F% P! Y  q" b, F* |# `
  1651. ; http://php.net/mbstring.encoding-translation
    $ r! Y. n# C1 f# p! R6 D  `
  1652. ;mbstring.encoding_translation = Off) R! H! {/ d+ W2 [5 e

  1653. % j2 ~% u! m, _
  1654. ; automatic encoding detection order.6 T3 K. G; j( D$ y' @
  1655. ; "auto" detect order is changed according to mbstring.language8 \' Q! X5 m, H0 N& \
  1656. ; http://php.net/mbstring.detect-order$ ]0 e8 h! x1 [& F( ?# R* u
  1657. ;mbstring.detect_order = auto3 q6 D4 e+ ~; Y% b
  1658. & k: I/ a5 z4 t/ f5 i) f* F, J; b  l
  1659. ; substitute_character used when character cannot be converted
    - b& i( h* V, o8 c& d, t  F
  1660. ; one from another
      x) w' @8 f; w0 l
  1661. ; http://php.net/mbstring.substitute-character' m8 a/ f" e& E" ~' n
  1662. ;mbstring.substitute_character = none
    2 |) h; |# ~( I

  1663.   a5 F' V& Y, r/ i
  1664. ; overload(replace) single byte functions by mbstring functions.) H  k# a6 q1 x$ X! s, C
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),+ }1 y) ~6 o4 m! i1 F2 A
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.  b' `1 k( S4 j  r
  1667. ; For example, 7 for overload everything./ g2 L( A0 H" j- ^, {" W
  1668. ; 0: No overload, _" I7 l# R) K
  1669. ; 1: Overload mail() function2 r3 i% h. p6 c% S. |1 o
  1670. ; 2: Overload str*() functions
    ( S# `$ _* S% [4 K9 J- l' a. m
  1671. ; 4: Overload ereg*() functions8 b* `" S+ E/ |, u& `. L9 v! `
  1672. ; http://php.net/mbstring.func-overload
    + I2 P/ m% T' {* r
  1673. ;mbstring.func_overload = 0
    # V% E3 P5 w. _; B5 x0 o

  1674. ) R3 o2 W8 q6 V- x6 N8 x2 G& J
  1675. ; enable strict encoding detection.
    : v- O" Y% o1 C' x6 p( V. n
  1676. ; Default: Off
    6 d+ j- n0 e' g4 R6 O9 R3 j
  1677. ;mbstring.strict_detection = On3 \3 i4 m1 r' E- q$ {2 T
  1678. # r4 X2 t0 P4 G
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()" s6 Y' f! I  H6 A* n3 b- {- L+ y7 E
  1680. ; is activated.
    + V/ H4 M) \) X: l
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ( ?8 H7 J, Q& W2 [3 x6 s3 n7 m
  1682. ;mbstring.http_output_conv_mimetype=
    5 i2 a' g% b' D& O% P  \

  1683. " S1 r% \$ W: Y' y4 m1 |" G# \
  1684. [gd]7 R- i8 U" i1 S. g8 Y
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    $ h4 }8 H- s1 o, S$ d' s+ x+ c; ?
  1686. ; a gd image. The warning will then be displayed as notices! g$ w. r5 z4 C. {) r
  1687. ; disabled by default
    6 u& n7 ]- M% t# i% g+ X
  1688. ; http://php.net/gd.jpeg-ignore-warning1 _+ D( w- j; F  G- Q2 g5 N
  1689. ;gd.jpeg_ignore_warning = 0
    9 ]4 r4 V- f$ A( ~. S/ K

  1690. 1 ?) A) M6 ^' W( T# @! d
  1691. [exif]9 w$ L/ q2 Q. R4 J# {+ s
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    1 M; b8 l; q: H0 A3 u# I' G2 J
  1693. ; With mbstring support this will automatically be converted into the encoding9 h3 L& u9 [  m- Z! }' {( z
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ' Z# i+ F# F4 j: G0 q
  1695. ; is used. For the decode settings you can distinguish between motorola and
    ' o0 D9 O  [3 t4 c6 S7 e
  1696. ; intel byte order. A decode setting cannot be empty.
    , V$ s: |3 h7 k% H# k' n/ G
  1697. ; http://php.net/exif.encode-unicode# z5 d" i# O0 j0 H
  1698. ;exif.encode_unicode = ISO-8859-15: N4 j' B; E# ]

  1699. , R& d) o8 l, X5 d4 s& e4 A
  1700. ; http://php.net/exif.decode-unicode-motorola
    % }% w2 Y- g; O2 R6 e
  1701. ;exif.decode_unicode_motorola = UCS-2BE% x+ V: Z0 Y8 u) R6 q& o1 F% f3 w

  1702. 5 B: n; y  v5 J  J6 `& b
  1703. ; http://php.net/exif.decode-unicode-intel
    ! f! F1 h3 X6 p$ s
  1704. ;exif.decode_unicode_intel    = UCS-2LE2 w/ N; y5 [7 [+ r4 v- V
  1705. . Z- }3 g% u( V5 e9 ]: k2 V
  1706. ; http://php.net/exif.encode-jis
    6 @8 a0 X& W. ~7 y# b( _
  1707. ;exif.encode_jis =
    4 \: u  M, T5 l3 V, u
  1708. $ g) y4 H: l9 y) P, H- {6 R  c/ |
  1709. ; http://php.net/exif.decode-jis-motorola. w8 Y8 Y1 ?: C+ ?; k! D- e
  1710. ;exif.decode_jis_motorola = JIS7 ]' z" L6 ]5 a! h6 a1 f
  1711. ( [! n) Y. f0 s) b
  1712. ; http://php.net/exif.decode-jis-intel
    & J! q5 J6 h- y1 Q* Q1 c
  1713. ;exif.decode_jis_intel    = JIS5 }, B0 A7 R: t* q7 p
  1714. - o. F. w3 G: s) @
  1715. [Tidy]2 p. p% }1 P9 S8 d1 ^- H$ C8 X6 E
  1716. ; The path to a default tidy configuration file to use when using tidy! {# c) l. m9 r
  1717. ; http://php.net/tidy.default-config
    ( `- x, c/ _) W+ A5 S3 V  O, z" l
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg. a' e+ I7 G" p( B1 I

  1719. . z: a! G$ v" t3 ^- c7 [/ b/ A$ z0 Q4 O
  1720. ; Should tidy clean and repair output automatically?
    % {5 ]) X5 b' G9 {
  1721. ; WARNING: Do not use this option if you are generating non-html content# I) i  H" {6 ?6 Y9 V( i
  1722. ; such as dynamic images
    % n1 H- m! e+ b9 T: D3 u0 E
  1723. ; http://php.net/tidy.clean-output5 _/ Y; `  R6 s4 E# w" e, i
  1724. tidy.clean_output = Off. b  e5 p; t1 }" ]; T3 x) n- r

  1725. ; q+ Z) C$ J/ t3 A3 S
  1726. [soap]
    ! }% l* U! N, k+ v$ [
  1727. ; Enables or disables WSDL caching feature.
    ) y# e+ B, F: N; ?7 G6 j5 l2 x
  1728. ; http://php.net/soap.wsdl-cache-enabled
    8 B1 y5 Z( D! e( J& M
  1729. soap.wsdl_cache_enabled=1
    1 A  |1 n1 r3 {/ N
  1730. " n8 r- b* h0 x4 q; m5 ^
  1731. ; Sets the directory name where SOAP extension will put cache files.; V  t: f4 D: z5 }
  1732. ; http://php.net/soap.wsdl-cache-dir
    8 L5 w1 R0 @; c$ O1 C" a
  1733. soap.wsdl_cache_dir="/tmp"6 W: D/ [9 w( G: L3 f! @
  1734. ' ^; B4 Z3 L$ J9 a  S
  1735. ; (time to live) Sets the number of second while cached file will be used! J5 x( M0 C6 v3 [, ^
  1736. ; instead of original one.
    1 o# y! t6 V$ ]: s7 I- ?$ P
  1737. ; http://php.net/soap.wsdl-cache-ttl) \  h* R& M. Q5 d
  1738. soap.wsdl_cache_ttl=86400
    0 C2 ~3 f% e+ a* J% a5 b

  1739. ' k% O4 N$ o1 w8 \+ y
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)0 c  P" g3 L  x# n4 @5 L9 C  t4 N% w* \
  1741. soap.wsdl_cache_limit = 5
    - R* N; V& }2 ]' [
  1742. . a1 B$ O7 D' W! y! o6 J1 G, s0 p
  1743. [sysvshm]/ U6 _! P$ o9 K3 u4 @$ s
  1744. ; A default size of the shared memory segment
    3 S4 ^' [' F# x! K8 O. I
  1745. ;sysvshm.init_mem = 10000
    ! f4 ]5 ?( V/ `# l4 n+ c
  1746. ' ~3 ?) n: G: ]8 c8 q  P& P
  1747. [ldap]- d5 G2 ?7 ?% Y
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    5 |, ~2 C3 i$ C+ v. ^" @! v$ v
  1749. ldap.max_links = -1
    . S* c% e1 y, C! s7 u
  1750. 4 y6 |% ]5 _. K; L8 G
  1751. [mcrypt]  W) ~+ ~: U1 z4 G3 s
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    3 x+ E4 `  [9 ^4 A" [

  1753. 1 ~4 x0 O# J! K
  1754. ; Directory where to load mcrypt algorithms
    5 I, O$ @; Y! H4 Z) [. x8 C" x" e
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)  w) u9 I0 y* `4 Z6 ^# ~3 U
  1756. ;mcrypt.algorithms_dir=
    3 N: `' z( y4 y+ `  {* f! n
  1757. . b. h" o# ^: C' C/ O
  1758. ; Directory where to load mcrypt modes  O' R  ?; G# s' H9 M. ~
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ' y3 F! P' i# P) G0 }- v, Y
  1760. ;mcrypt.modes_dir=* X( r- B7 M$ p% N) \) e3 E

  1761. % n7 J/ b+ a0 c6 M" d
  1762. [dba]* J+ n( Z: _) c2 N2 q
  1763. ;dba.default_handler=  J: p- ~* `: L; K) T! o& n2 v
  1764. $ f/ [3 U1 T& s0 y2 C9 _/ X% B* C
  1765. [opcache]% Y" s: a9 K' k
  1766. ; Determines if Zend OPCache is enabled
    # D3 n. \9 J% _4 ^0 U7 Z$ ~; t
  1767. ;opcache.enable=0
    2 [& j/ q* [3 K0 i2 i

  1768. " F8 G1 A" m4 k( p9 a" W
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP. Y) c+ d' F3 L# p3 j( R
  1770. ;opcache.enable_cli=0( Z6 s! _6 }# x, }& H
  1771. 9 b. e1 p- _. Q% k
  1772. ; The OPcache shared memory storage size.: g; Y7 E$ E1 _) [( C
  1773. ;opcache.memory_consumption=64: d4 @' Q# r& `! t
  1774.   |. `' s9 Y, Z" G4 |3 {- i
  1775. ; The amount of memory for interned strings in Mbytes.
      U0 N2 @/ E2 I; O
  1776. ;opcache.interned_strings_buffer=4
    ; b/ O$ q: O  J  k6 l
  1777. ' ]. L8 R' a  b  T/ g
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    0 l" e" ^4 R' J3 n. Y! p% s
  1779. ; Only numbers between 200 and 1000000 are allowed.
      ~4 g$ c! }% z: R9 J
  1780. ;opcache.max_accelerated_files=2000) a. s" B4 p$ h
  1781. # o, u4 b1 y& [' b4 z: J
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    5 Y- N0 P" W" s6 z4 g' O
  1783. ;opcache.max_wasted_percentage=5! j) }8 `- g! U. G
  1784.   i) F& ~2 l4 Q  ]
  1785. ; When this directive is enabled, the OPcache appends the current working* Z( \9 z( C& b, A+ e
  1786. ; directory to the script key, thus eliminating possible collisions between6 I0 X1 y, L1 _, R* K. N
  1787. ; files with the same name (basename). Disabling the directive improves' |9 B* z' ?) E% `  R( |3 z
  1788. ; performance, but may break existing applications.3 R. T4 C4 ^3 _
  1789. ;opcache.use_cwd=1
    0 B6 O# _* w+ m# d& n9 Q
  1790. 5 ?5 n7 D2 w7 m. l' {3 k
  1791. ; When disabled, you must reset the OPcache manually or restart the! M+ b. f% l+ g! S  d+ R$ y5 R
  1792. ; webserver for changes to the filesystem to take effect.
    0 h6 I" G8 Q% p/ N, Q+ c" a8 b
  1793. ;opcache.validate_timestamps=1
    ) L! \8 T$ _7 W* L( m: i
  1794. & k- t' V$ T5 P( k) o6 Y
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    4 _$ w* r/ o: D( }, I/ F6 R$ [
  1796. ; memory storage allocation. ("1" means validate once per second, but only8 T; E1 H' |1 n. K- A& h
  1797. ; once per request. "0" means always validate)
    ( V% D& g3 w' z% }% t$ Q3 u3 B* m& f
  1798. ;opcache.revalidate_freq=2: \& j+ Z' I$ b
  1799. # n& G, |- w, |: E3 t
  1800. ; Enables or disables file search in include_path optimization& }: K6 P8 g& H# O( d! a6 Z* m
  1801. ;opcache.revalidate_path=0
    7 V8 X% v$ D1 W& x& G- A( o1 m

  1802. ; ^! O; P; V) m* f5 D- U
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the" V3 d! q2 W$ e: l( ]0 l
  1804. ; size of the optimized code.
    $ I# ]$ V4 A+ b% r/ M1 q. O' ^
  1805. ;opcache.save_comments=1
    * S4 r! \6 p& d' O1 V
  1806. / z+ D: x4 L( q/ t! k% T
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code6 n7 R+ w, ~% o8 E1 y% D
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.6 ]' D* Z1 l9 x& w7 I
  1809. ;opcache.fast_shutdown=0
    0 Y2 y+ d3 h6 _* w& Y

  1810.   e0 ]; T0 i" ~) \
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    7 Q: F4 @7 f( W9 ?" _+ |
  1812. ;opcache.enable_file_override=0
    ' g8 \5 N' H. Y& d% Z2 j) L

  1813. ' }# t0 p/ Y* y0 e
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    - y/ \) [4 b& P' M. g4 G; A
  1815. ; passes' O+ ~( ^# S, o* E  t% X
  1816. ;opcache.optimization_level=0xffffffff7 V7 Q) d( f! ?9 `* M

  1817. # W+ A  \8 j3 ]
  1818. ;opcache.inherited_hack=12 }6 }7 B  A& u4 R: t0 Z! X4 v/ Z
  1819. ;opcache.dups_fix=0. K0 W8 k9 e3 l! T% a% Q

  1820. : t+ S/ g" A$ v  g( ~, f# A4 V8 j
  1821. ; The location of the OPcache blacklist file (wildcards allowed).: H* f- J# X% R' T) ^) f: o
  1822. ; Each OPcache blacklist file is a text file that holds the names of files. O7 W: ?4 ~) Q9 Q0 [
  1823. ; that should not be accelerated. The file format is to add each filename$ M4 w- V" W& N
  1824. ; to a new line. The filename may be a full path or just a file prefix: G0 C6 S5 s8 z+ G6 v
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www, q& ^- p8 R# D. |
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).. N' [4 }* p! g# N
  1827. ;opcache.blacklist_filename=
    * m& c: n5 ?: R
  1828. ( `: E) `9 Y0 `0 |  c' \
  1829. ; Allows exclusion of large files from being cached. By default all files
    3 M7 L0 K1 b9 d1 @6 E5 C9 i- ~/ B
  1830. ; are cached.
    6 L  t8 [- x5 T) y* K) o0 V
  1831. ;opcache.max_file_size=0
    & u6 p, R2 C8 [$ `: v+ l

  1832. ) l) U( w; w0 ^/ S3 O
  1833. ; Check the cache checksum each N requests.9 f( m5 J& ]4 ]2 y( k
  1834. ; The default value of "0" means that the checks are disabled.
    ) n8 A/ w1 x4 \" P
  1835. ;opcache.consistency_checks=0
    0 K0 @8 E  D5 {0 x5 h5 g) J$ u) M8 N

  1836. 4 p' Q0 z" c5 P7 T1 n" R5 N
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ) ?2 X4 I/ Y' H8 e
  1838. ; is not being accessed.* \4 B8 P) U+ e9 s8 \+ k
  1839. ;opcache.force_restart_timeout=180. ]8 {. r( |5 [( L/ Z0 o1 x& ^; X

  1840.   g# f4 ?; @' q" r; M6 p% B
  1841. ; OPcache error_log file name. Empty string assumes "stderr".& H- A! f( n( O
  1842. ;opcache.error_log=
    - a, n: \" C4 l7 C- e

  1843. ) C+ W, H9 a# Z2 @+ b# K2 [
  1844. ; All OPcache errors go to the Web server log.
    ( V1 ?* k7 E/ n  l# D5 }  W
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    $ X7 b. U0 l7 b9 A
  1846. ; You can also enable warnings (level 2), info messages (level 3) or2 s- j$ t6 `' g/ B: O& X9 d
  1847. ; debug messages (level 4).
    ) Z$ Q9 K1 l6 _, L- w
  1848. ;opcache.log_verbosity_level=1
    , Q+ H7 s. j3 E0 h. K& b

  1849. # a) R% ^) O0 I; }' x" K
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    9 n- U9 y& D: Q/ }0 ~! Z5 G$ V4 l
  1851. ;opcache.preferred_memory_model=( y, m# `2 e: O8 p# F% b  F) ]) {  O
  1852. : S* Q' P) N4 p
  1853. ; Protect the shared memory from unexpected writing during script execution.- w- T  U* \( ^% e3 i
  1854. ; Useful for internal debugging only.# [4 B% |  O( U! Z, s) G
  1855. ;opcache.protect_memory=0. |9 J% K3 [/ H! H

  1856. ( o/ M' J4 s# ]) @  i: W
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is" E4 [6 @2 z, n
  1858. ; started from specified string. The default "" means no restriction
    1 ^2 K3 _' S- I3 _
  1859. ;opcache.restrict_api=& ]6 Z9 ~6 C& Y

  1860. 9 W  R/ u, x2 y+ X7 K/ B* {
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    % w+ t3 p5 h* k2 l! ?! E
  1862. ; processes have to map shared memory into the same address space. This
    : L; T2 G- D$ H
  1863. ; directive allows to manually fix the "Unable to reattach to base address"% M5 N) \: n6 h
  1864. ; errors.2 r' R+ G5 s3 D7 U& S3 d' Q
  1865. ;opcache.mmap_base=0 E0 F) n! e7 z7 ?+ z. Q
  1866. 1 l8 y" k2 j7 U! ~" B8 ?* O
  1867. ; Enables and sets the second level cache directory.$ ]$ w) ~1 f# ~. B
  1868. ; It should improve performance when SHM memory is full, at server restart or# `* T* U' @3 [# m% k
  1869. ; SHM reset. The default "" disables file based caching.
    6 m5 P; G: I3 ^& m+ B3 o1 x$ y: n" ?
  1870. ;opcache.file_cache=
    1 \2 w& _- p3 r2 q2 \! ^" q) D
  1871. 5 ]# m1 Z7 c5 G7 B
  1872. ; Enables or disables opcode caching in shared memory.6 r. z  ~9 a# W( U5 [
  1873. ;opcache.file_cache_only=0
    " s7 X/ G; K! T  t

  1874. ) R1 V1 V; b$ t- Q1 }' s4 R
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    ) I0 e- h+ _" p/ o2 w) f5 x5 b# m. A
  1876. ;opcache.file_cache_consistency_checks=16 O7 u2 ]4 V) S% |3 m, g& \+ N& G  B

  1877. , A: ^8 h& x( p4 b0 J1 a
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    * |* j' F  Z  R
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    7 r2 b' v. Z9 x$ A" {: M8 [
  1880. ; cache is required." d# G- f4 p  E2 U
  1881. ;opcache.file_cache_fallback=1& K1 P4 C2 S) S7 T  Q6 {- e2 |
  1882. $ ~/ w! q  b; S0 V& `6 d# N& V
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.$ O* B/ C, v/ k/ O1 V
  1884. ; This should improve performance, but requires appropriate OS configuration.. O+ {+ \" w" R7 b6 R3 o  T
  1885. ;opcache.huge_code_pages=1; C3 R0 A  W$ g; Z

  1886. 2 a6 x3 b7 r. L4 I4 i1 g3 @
  1887. ; Validate cached file permissions.5 C) `# \# ^) e. d
  1888. ; opcache.validate_permission=0$ ?! Q. L0 m! H- `7 {
  1889. 2 B7 g2 g! m) @0 M. `" t
  1890. ; Prevent name collisions in chroot'ed environment.
    ' w3 ]1 E* z* X/ }& M  U: |
  1891. ; opcache.validate_root=0' O' [* l: }, {; G+ _; c+ g2 ]$ a

  1892. ( N' a0 K' u7 L9 j1 p5 ]* G
  1893. [curl]8 \9 Q7 f% b! c3 e9 _1 ?
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an0 v6 T3 q& ~0 \6 s6 d! M4 y8 {0 q
  1895. ; absolute path.
    ; l" U% T# u$ i- ^
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    / ^& l$ U: v3 T+ m
  1897. ; Q! i( p4 ]) Q, @
  1898. [openssl]3 t9 m: F$ \0 _. [& u' R7 e
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem. h$ a# c0 B/ G0 Z- m% \* N
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should- _- [9 V3 Q2 a' f
  1901. ; not specify a value for this directive as PHP will attempt to use the+ F5 s: @4 {+ a7 j+ z" {" X% }; t* m
  1902. ; OS-managed cert stores in its absence. If specified, this value may still5 S" e- W" l3 \
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    4 K5 S) M8 G* R/ \
  1904. ; option./ d7 ]* |' x: g# G" I$ b* D
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    4 ]4 E; Y8 i& [6 u

  1906. 2 u& _: c7 U$ @2 }1 ?3 I
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    3 N0 j) N: e( g7 q4 h3 A7 m2 F: V
  1908. ; directory pointed to by openssl.capath is searched for a suitable1 c6 S$ n7 d" |3 F' o3 L$ V% g
  1909. ; certificate. This value must be a correctly hashed certificate directory.$ e/ S- q% G: B  J8 I
  1910. ; Most users should not specify a value for this directive as PHP will* y" H/ m; i- b7 k6 ^+ j
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    6 k! O; L  ~9 y2 p
  1912. ; this value may still be overridden on a per-stream basis via the "capath"  ]% N6 ~, @# i
  1913. ; SSL stream context option.: k4 x; m! |& p$ q# _5 }
  1914. ;openssl.capath=
    % o5 l3 i! U/ P8 _: |: F! X; ]

  1915. + {8 X: e3 @, N4 b, E: E
  1916. ; Local Variables:
    $ }6 {! ]6 n- n& i& K* [- s' _
  1917. ; tab-width: 4! U( x. O# C7 V4 L6 v( Z# J( _
  1918. ; End:1 }/ s" I$ ~  l; @
  1919. ( c; t- S: b; C2 G
  1920. ;eaccelerator  h8 W8 Q& I/ {# {9 F: S' T
  1921.   Q* \# {5 C+ c
  1922. ;ionCube% z% G: A) |+ q7 x3 m: F
  1923. 0 l% Q8 x5 B# c3 B
  1924. ;opcache6 g, _/ C' w" I4 G" [4 U
  1925. 9 C, y- f! P4 @' s1 w
  1926. [Zend ZendGuard Loader]
    . D1 m, n" ^* M1 ?- h5 J
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    ( z0 d  X) {8 B9 f- H2 `2 l6 f$ T
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so8 n/ ]) {- x/ `. _
  1929. ;zend_loader.enable=1
    7 ?: m% a8 n6 h  Z3 [
  1930. ;zend_loader.disable_licensing=0
    ) A. v+ {1 b$ W# P- c8 N6 N  _' e
  1931. ;zend_loader.obfuscation_level_support=3
    5 X( `. o, \8 W3 m0 f. Q
  1932. ;zend_loader.license_path=% N! Q" Q+ @: f" g' n/ e: n- e

  1933. " m1 Y" K) }9 X& g" v! E! _, ]
  1934. ;xcache
    + ]/ g6 a: E; U8 \5 s- o

  1935. ; X& `4 n8 y0 l! S( E3 S
复制代码
1 m9 `$ ?5 Y& y4 c" `) B
  [1 r( d, B" t9 r
8 q3 S/ U" J. |- ^. P
5 b) X2 N0 T0 G! G
& I- u! e2 n* B* l* L) q( F) J( P; P

. D$ z. D6 x9 x/ ~8 M
& w# C( |( W. G! A, J& c( oPHP5.6版本原始设置: o' x( \& w  v+ q, L

7 Q- Y1 R7 Q7 x! P$ R  F( H; D
  1. [PHP]
    ' [1 q1 H. Q$ d2 [4 v9 C- n' G+ T4 V
  2. * S) u' j; w2 O3 R% K: b; ?
  3. ;;;;;;;;;;;;;;;;;;;
    ; A/ ]6 o/ q% T7 {9 Z5 l# r
  4. ; About php.ini   ;/ G: A. E7 ^' h" O
  5. ;;;;;;;;;;;;;;;;;;;
    & g4 ~1 r: B+ f$ w/ o6 R
  6. ; PHP's initialization file, generally called php.ini, is responsible for9 u- H' R$ o2 c) m
  7. ; configuring many of the aspects of PHP's behavior.
    4 B4 h. j0 b3 d/ r6 B9 c6 y; Q

  8. 0 E& {4 A7 s0 {/ O# }5 w$ Z$ M8 s
  9. ; PHP attempts to find and load this configuration from a number of locations.3 W" w* Q& Q: G
  10. ; The following is a summary of its search order:
    . K! W$ f% M; |; n
  11. ; 1. SAPI module specific location.
    7 a/ u, u0 W0 l# ]$ }- v4 I3 y
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)- Q" X4 w* k6 V* _
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)+ ~: k6 E, Q" ^1 v, c" ~; Y& [5 m8 T
  14. ; 4. Current working directory (except CLI)2 U1 Y# X/ G0 p* i+ ?/ n
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    / F4 k# j' R* x1 |7 i# S- e  j
  16. ; (otherwise in Windows)
    ' b$ |! I& s  {, B
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ( x; @, t' }2 G2 C9 `+ g% ]
  18. ; Windows directory (C:\windows or C:\winnt)8 ?9 `2 w& Z; v/ }+ D* p( x
  19. ; See the PHP docs for more specific information./ y1 }7 W9 d! S; W) S/ X3 h$ k- q
  20. ; http://php.net/configuration.file
    7 z% H. ?* h* C0 |: s: j) T
  21. 5 W: X" E/ F+ x1 v. R+ F' H
  22. ; The syntax of the file is extremely simple.  Whitespace and lines6 f. X1 @: u/ m7 @) d
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).& o) f) K. z9 m- @; t
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though+ J6 G! D& a6 i
  25. ; they might mean something in the future.
    : x  {0 t/ q/ r: Z! u/ H. b- f" \; C
  26. ! @4 P/ e, k/ [) u( w# n
  27. ; Directives following the section heading [PATH=/www/mysite] only6 N/ P) L6 t/ H
  28. ; apply to PHP files in the /www/mysite directory.  Directives: S- Y4 _% e4 T# |# L/ r+ I* p
  29. ; following the section heading [HOST=www.example.com] only apply to4 Z- b8 X2 _" `: S) {
  30. ; PHP files served from www.example.com.  Directives set in these: _: Q  O# ?6 s6 G+ m
  31. ; special sections cannot be overridden by user-defined INI files or
    9 Z) t9 }3 r& P4 N
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under4 Z% d# x3 _5 _" }& t
  33. ; CGI/FastCGI., T3 [3 M) ^" B9 D
  34. ; http://php.net/ini.sections
    2 y5 Y3 {4 H' f0 S$ y" G6 V% H! j) M

  35. - ^3 W* Y' }/ X5 C9 J8 Q
  36. ; Directives are specified using the following syntax:  l8 u, C9 T  u- K" y+ l
  37. ; directive = value& _. \2 F% F# m# D/ @; O7 M5 G
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    4 B* U+ M; Y  z- f
  39. ; Directives are variables used to configure PHP or PHP extensions.
    + y* `( Y1 r; Z1 i
  40. ; There is no name validation.  If PHP can't find an expected
    : }! Y3 N$ J3 r2 v7 j* W1 x- J
  41. ; directive because it is not set or is mistyped, a default value will be used./ i. H" r7 i  j& Q( ]
  42. 9 {3 q9 ?3 Y% U+ q( z, s: D
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one7 Q1 [  u2 E$ G3 U% i
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression; Y+ V5 K9 ?" [
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    3 i; }4 T: w% s- H, `
  46. ; previously set variable or directive (e.g. ${foo})
    : y! _( t: A9 B( V" e
  47. 5 A' B# Z- d2 n* @% j
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:  J3 G! Q. m  |2 @1 \
  49. ; |  bitwise OR: K! \! ^+ u! L, ~
  50. ; ^  bitwise XOR4 [- U) B& x' S4 P! W  l
  51. ; &  bitwise AND
    & ]- Y7 V0 D/ C7 u! L3 X% F! @1 H  G% }
  52. ; ~  bitwise NOT3 f; M6 F/ }+ [2 w
  53. ; !  boolean NOT+ U( Z4 m& }: m
  54. 4 ]9 e3 B- \4 U' I# o: j6 y2 b& n
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ' ?3 K/ R8 Z$ F0 y# u
  56. ; They can be turned off using the values 0, Off, False or No.
    . P$ T9 u* m3 Z2 S

  57. 8 c+ L8 U3 `( n. {, S# z  J
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ! _( ~( P- D9 b5 S6 R0 S  Z
  59. ; sign, or by using the None keyword:
    / g1 Q  N. j- j) \% r1 I9 U) G# n9 @

  60. ! a% g1 b7 Z5 f& S' m
  61. ;  foo =         ; sets foo to an empty string
    3 Y4 b; C2 i" x/ D, N0 z
  62. ;  foo = None    ; sets foo to an empty string
      m3 i: j" u/ T! j) i* G5 Z
  63. ;  foo = "None"  ; sets foo to the string 'None'. ?' i& y& o# j4 r9 ]1 {8 ]3 ^

  64. 5 G2 z* }: O) B2 s* T+ {$ ^
  65. ; If you use constants in your value, and these constants belong to a3 U0 g7 V, m; M5 ^; M3 P( G8 u! \
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    , [$ z# \8 v' A
  67. ; you may only use these constants *after* the line that loads the extension.! P  A0 O# n$ \& l" _, t

  68. , r; ?+ [, ^* x( u' N) D
  69. ;;;;;;;;;;;;;;;;;;;
    0 k8 O& v& l- V9 H9 x: r8 y
  70. ; About this file ;
    , B* ^6 _# ?% F; j! ^; c/ V+ J
  71. ;;;;;;;;;;;;;;;;;;;$ S( N$ y- z4 v2 K: u2 u
  72. ; PHP comes packaged with two INI files. One that is recommended to be used$ v1 D% Y2 n* R% L4 M9 t
  73. ; in production environments and one that is recommended to be used in# ?) |9 a: L2 H2 i' R! E, x
  74. ; development environments.* t) Q4 M+ R: W
  75. % h; Y9 a% t" C5 q
  76. ; php.ini-production contains settings which hold security, performance and3 K$ B  W+ g$ \" C
  77. ; best practices at its core. But please be aware, these settings may break/ _+ ?$ x; q. [2 V3 e) U8 S; i
  78. ; compatibility with older or less security conscience applications. We3 W  i/ n7 Y  q! B- T! G1 o
  79. ; recommending using the production ini in production and testing environments.7 {0 x9 |" B7 U( S2 _

  80. * ~- s8 c6 w2 z, l1 @
  81. ; php.ini-development is very similar to its production variant, except it is
    7 C+ F% o; _9 T2 X: K& P
  82. ; much more verbose when it comes to errors. We recommend using the
    . j/ ]0 O2 f5 V1 [
  83. ; development version only in development environments, as errors shown to9 V. R3 Z) w  n9 W$ G4 }
  84. ; application users can inadvertently leak otherwise secure information.
    ! J# }' y; }  Z& @9 o2 M* _: {

  85. " s9 D' y+ V# ^2 k' `2 `
  86. ; This is php.ini-production INI file.$ Q3 D  e  P. h  `7 a0 ~2 Z1 t

  87. / T7 `6 w, s) `8 ~7 D% A1 c' i
  88. ;;;;;;;;;;;;;;;;;;;
    5 J& w# j+ U' ?( _% P7 _
  89. ; Quick Reference ;7 f; _7 k  q# y5 I( L, J1 A( R$ b
  90. ;;;;;;;;;;;;;;;;;;;! J8 j* I" p: D' t) p: {
  91. ; The following are all the settings which are different in either the production
    ! |+ W6 t4 i" O. \' K, u
  92. ; or development versions of the INIs with respect to PHP's default behavior.3 C5 {8 x# ^) {$ Q6 a* P3 W
  93. ; Please see the actual settings later in the document for more details as to why5 v: h% S0 `% ~
  94. ; we recommend these changes in PHP's behavior.
      T  ^" t* V4 j1 x$ L
  95. 9 T+ Y6 @  A0 ?# E: s7 l
  96. ; display_errors, x$ o5 n3 g+ t2 w1 u6 x1 e
  97. ;   Default Value: On
    2 W- c+ T1 [" E/ n* M
  98. ;   Development Value: On/ U+ {2 r' ~  h. r+ g
  99. ;   Production Value: Off$ r- q" `( q6 \# _! d
  100.   Q/ V" @7 n. T7 H* c- O1 l: g) {
  101. ; display_startup_errors
    ! ~! L' R' b( U5 o
  102. ;   Default Value: Off! t- m: o5 M/ q) s- D$ r
  103. ;   Development Value: On! Z. O4 n/ r5 ~' x6 U
  104. ;   Production Value: Off9 a  ]# S) \2 h, e& F/ y' j9 u+ G

  105. 2 g" K; p' r! G0 R( o  M
  106. ; error_reporting; R% w# B9 H. a6 x" x8 [% p2 d
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED. R8 T/ T9 ?3 H$ [; \$ Z& o, ?, L
  108. ;   Development Value: E_ALL
    % l: N0 R, |; k
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    $ U0 b* n0 Z0 _6 e* w2 }
  110. % c. l2 [0 p/ O' H
  111. ; html_errors
    + Y% |% y2 M5 D# C$ d5 j) H
  112. ;   Default Value: On; J0 L: V( J4 K
  113. ;   Development Value: On7 j" h* S6 y; Q. z
  114. ;   Production value: On
    ' k  z7 c/ `& v2 J' J* D3 y
  115. ; E& u. h: J' z- u' G5 i
  116. ; log_errors
    8 D; Q- U: B* o3 k* ^7 b2 G" N
  117. ;   Default Value: Off
    7 L" Q2 q; p9 @% r; P2 b
  118. ;   Development Value: On- y$ ^7 P/ R6 r$ Z+ O
  119. ;   Production Value: On! d: N2 B5 s: }! G) I- x" F: [

  120. 5 _+ x; r- B0 ^: i  f" B
  121. ; max_input_time( B0 e7 U# T7 o4 d
  122. ;   Default Value: -1 (Unlimited)4 I$ h' a% V) Z
  123. ;   Development Value: 60 (60 seconds)3 I- y4 @7 Q' n; |0 ]( N) e
  124. ;   Production Value: 60 (60 seconds)8 J% b- O3 T, r8 x- K0 U7 P6 x' _

  125.   e" D; ~/ {9 _6 Z; f. U
  126. ; output_buffering
      @0 c2 |9 C- y
  127. ;   Default Value: Off
    3 ~. ~3 U7 x8 m$ |. A1 n+ \+ ~
  128. ;   Development Value: 4096
    + h1 M5 a( q6 ]6 e3 n2 K2 n
  129. ;   Production Value: 40960 x5 V9 n' A8 d4 S
  130.   g4 D0 e$ M; s* l9 ?* x! ?9 L
  131. ; register_argc_argv, E/ w. e4 N1 f( ]5 {( E1 G$ X1 B* O
  132. ;   Default Value: On+ o) }; X7 l) @; @
  133. ;   Development Value: Off
    + `) v( h" f$ r* P
  134. ;   Production Value: Off
    / n7 b( Z. n. d! z' {# N& f
  135. + H7 U9 K  Z5 x# ]7 _
  136. ; request_order
    * ]% L2 R6 ~: }* b# c# F- |# f1 B
  137. ;   Default Value: None2 Z! r' W% Y6 s/ a* ?4 t' d4 {9 A
  138. ;   Development Value: "GP"2 i9 F9 h( M3 _7 B/ J' F
  139. ;   Production Value: "GP"
    5 u3 Q: R: X1 Z5 F- j* F7 x
  140. % X& N2 V" ?; z. q1 q! V$ G4 p
  141. ; session.gc_divisor
    ; ~- i( R  p2 }' R+ n. q) X6 Z
  142. ;   Default Value: 100" j+ S6 G4 f6 h3 W
  143. ;   Development Value: 1000
    $ H* ^8 L( ~2 z6 P7 i: e% k" W
  144. ;   Production Value: 10006 `, S1 H& K5 V

  145. 1 _& f/ `+ K' T! C( x
  146. ; session.hash_bits_per_character  a  q% p( R. g) R, j
  147. ;   Default Value: 4
    7 d) G9 I9 U  u1 s4 K% Z
  148. ;   Development Value: 5( m* E, M$ U8 [3 {8 w! Y  i- [
  149. ;   Production Value: 5
    # k4 ?+ c- y) Q. k

  150. ' T7 C0 w5 M# l
  151. ; short_open_tag( t1 Y" @7 ~  U. s
  152. ;   Default Value: On5 T8 T+ C& P# k0 ~! T& Q" n
  153. ;   Development Value: Off
    0 L( b* I* t* ]; S$ D' r; Z
  154. ;   Production Value: Off
    ( A3 h7 q; c" s9 X

  155. & r* J: }# c! F4 P
  156. ; track_errors& E  ^' w1 }( W4 T! N, W3 }
  157. ;   Default Value: Off0 B  c  h* d# G( x
  158. ;   Development Value: On
    " B( `4 ]; o" L' S
  159. ;   Production Value: Off6 i7 r2 T% p* c5 i

  160. ( N3 S6 B8 o3 @: [; w1 A0 W
  161. ; url_rewriter.tags
    8 |0 F1 q% w! Z5 m, f
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    . Q: l' W+ W& `6 ]
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"5 o, g: i6 k; c" _7 \& |
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( F4 n3 z3 a, A4 s% v1 |; O1 i. W! U

  165. ! ^# a6 ?* l5 N8 V0 J$ r+ M! H
  166. ; variables_order
    * _6 l- b( W- E. Y! K+ C
  167. ;   Default Value: "EGPCS"% C3 Z, f/ d( @
  168. ;   Development Value: "GPCS"+ Z+ \' j+ g3 r$ l% k4 [
  169. ;   Production Value: "GPCS"3 n* w6 e  T: W& ^: `
  170. 5 w2 V: k  Y% g+ f
  171. ;;;;;;;;;;;;;;;;;;;;4 C9 x7 }4 i6 Q7 _
  172. ; php.ini Options  ;2 H" e4 G" [6 W1 W
  173. ;;;;;;;;;;;;;;;;;;;;7 H2 ~' j9 W; S) N& E8 w
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"+ e* J6 f3 C: D" _" ~4 `
  175. ;user_ini.filename = ".user.ini"9 V  e% x. V% X$ w5 l# s! c6 E

  176. + i) J+ K3 N4 y# Q6 o0 M' [/ C! v
  177. ; To disable this feature set this option to empty value9 F. a' E* U6 C  [
  178. ;user_ini.filename =4 r; t# n/ O9 y, {- u, z- y

  179. ( Z, w& {+ ?, j
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes): G0 D) k$ s* a) S7 i
  181. ;user_ini.cache_ttl = 300) ]9 o5 I+ C8 N& A; Q' t

  182. $ y: |: ]: F1 r, c) T
  183. ;;;;;;;;;;;;;;;;;;;;2 \! v- z2 ]  n* p4 N3 z
  184. ; Language Options ;3 B& V1 y5 u# O: w( Z- k) `$ e
  185. ;;;;;;;;;;;;;;;;;;;;
    ! X, U: J- Y9 L, S9 M
  186. - u) Q& ?( a6 [) E$ O8 |, k
  187. ; Enable the PHP scripting language engine under Apache.
    6 y8 {* g2 b! j$ L# N7 y. y
  188. ; http://php.net/engine
    $ x; e% k3 A- C+ T$ c
  189. engine = On
    4 a. h5 h+ `  M; o* S: w) q
  190. 9 F$ t: x. }" }: T# y7 Q
  191. ; This directive determines whether or not PHP will recognize code between3 g, x# f+ B: A! @- L3 H
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ( i) u2 g! `+ R9 R" U3 w
  193. ; generally recommended that <?php and ?> should be used and that this feature
    9 S- |. E/ t) o3 @8 j1 u  ?
  194. ; should be disabled, as enabling it may result in issues when generating XML
    4 a: Q- G5 w( Y1 C$ h: {2 |, o1 I
  195. ; documents, however this remains supported for backward compatibility reasons.
    ' j* d: o4 ?9 N; ~# r8 @, d$ p7 x2 m+ {& E
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ( a' c. @: h* }9 S
  197. ; used regardless of this directive.
    ; @2 A; K# O& r) R
  198. ; Default Value: On
    1 ]. x9 N- c, x% Q& V1 [
  199. ; Development Value: Off
    / u4 i8 E3 o( Q/ j
  200. ; Production Value: Off
    * v/ s/ V. s  P6 O3 ^
  201. ; http://php.net/short-open-tag1 T( I- [$ V4 h, B  E% R/ R
  202. short_open_tag = On; E' p, j: I$ D$ C

  203. 0 K3 R" S1 _  [
  204. ; Allow ASP-style <% %> tags.4 a! B4 }2 l% F; l
  205. ; http://php.net/asp-tags: f2 J3 Z9 l4 b; N& s- e- G
  206. asp_tags = Off$ F/ H( |! |) T+ s. L

  207. ! U, ~9 v- S7 s
  208. ; The number of significant digits displayed in floating point numbers.* r: ]( z  u0 L$ S/ I
  209. ; http://php.net/precision4 ?: ~1 a: S! Z' ]9 I
  210. precision = 14: D6 x1 U* x' C5 c# b2 X; x, E0 Z

  211. 8 `! K' _0 A; l9 r4 C* @
  212. ; Output buffering is a mechanism for controlling how much output data
    % R+ G; R% C" _6 e( C5 Y0 C
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that& T  R, ]6 \  c/ g/ d# C) @
  214. ; data to the client. If your application's output exceeds this setting, PHP
    ) R: P7 i* K  B
  215. ; will send that data in chunks of roughly the size you specify.
    , G, f( i. J$ h  b+ i4 o6 Z
  216. ; Turning on this setting and managing its maximum buffer size can yield some/ r3 N/ [* O; U
  217. ; interesting side-effects depending on your application and web server.
    : \# }) S+ ~, M9 E+ N* r3 b
  218. ; You may be able to send headers and cookies after you've already sent output- k. P$ q. k7 u
  219. ; through print or echo. You also may see performance benefits if your server is5 C: y' [7 K6 O
  220. ; emitting less packets due to buffered output versus PHP streaming the output7 q0 M5 i" Z) P
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance) ~! Y0 j. q3 Y$ Z. M4 b
  222. ; reasons.- t; R' h* a" G2 A! i
  223. ; Note: Output buffering can also be controlled via Output Buffering Control5 n9 t, h" h" `- |3 V( L/ G$ y
  224. ;   functions.$ [. O* I! l  [1 j6 j7 \
  225. ; Possible Values:
    ' v% {5 N0 D: ?6 p9 l2 M
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    * I! m7 U# e- q4 V5 U' ]
  227. ;   Off = Disabled
    : Q6 Z2 @! w3 H/ m$ c8 i3 X# Q8 J
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    / i' t  z+ }2 [4 c" I
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    3 D1 Y2 h# f, }
  230. ; Default Value: Off- \% U1 ]9 F- `7 {8 N
  231. ; Development Value: 4096* o9 l3 m9 ?9 u( F
  232. ; Production Value: 4096. q, \4 G+ R) L# Q# Q8 u$ B/ ^$ W
  233. ; http://php.net/output-buffering% j: y. q7 m2 N, Z3 ]
  234. output_buffering = 40960 ?: k# p( c3 V' t" M. J& ~
  235. ( ]  \% i! [9 D# i/ t9 L
  236. ; You can redirect all of the output of your scripts to a function.  For' g0 p3 N3 X3 y; g1 X
  237. ; example, if you set output_handler to "mb_output_handler", character
    6 b* I* @* L* N
  238. ; encoding will be transparently converted to the specified encoding.- R% Z" j7 z8 N4 a& |
  239. ; Setting any output handler automatically turns on output buffering.: S* ^+ l1 j0 k7 e3 E
  240. ; Note: People who wrote portable scripts should not depend on this ini
    ) g  w' J, i' j6 g
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    & r& e" v8 h5 o- s
  242. ;   Using this ini directive may cause problems unless you know what script
    - H- p. W4 p9 j' {/ N+ Z
  243. ;   is doing.  {) ]/ f3 m* N; {
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    & `) P! K0 _- ^' p& m7 v5 L' f
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    0 T; e, p# J& B+ L
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    9 a1 F+ M: f  }- O' q
  247. ;   Instead you must use zlib.output_handler.  s' b0 D! f5 \0 W
  248. ; http://php.net/output-handler
    , ]7 a' k; ^! S" ~! @: u
  249. ;output_handler =6 _9 }/ O# B- E* }+ w
  250. % ~2 G6 ~6 |& C
  251. ; Transparent output compression using the zlib library
    + E) ], W9 A  J. M: `2 c7 Y" u
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size% \2 T2 u  X9 T2 u" N) t
  253. ; to be used for compression (default is 4KB)" P! \; v" u1 I1 O$ R
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    8 S; `% J, l6 a& O; R
  255. ;   outputs chunks that are few hundreds bytes each as a result of3 k; r" Y. t* d  u( |1 ~- W
  256. ;   compression. If you prefer a larger chunk size for better: J' F" `+ |) I5 X/ A# h( ]& n
  257. ;   performance, enable output_buffering in addition.6 a9 R/ s* n! m1 B6 p& W7 B  V
  258. ; Note: You need to use zlib.output_handler instead of the standard1 ?- K( x( b6 M* E9 G
  259. ;   output_handler, or otherwise the output will be corrupted.
    3 S# Q2 H' D7 i0 N1 H
  260. ; http://php.net/zlib.output-compression
    # t$ Q+ v7 h. b4 }" S
  261. zlib.output_compression = Off. {# T! W% [5 D/ V* N7 l
  262. . G* x( h  n5 @  q# f' W' d$ f" e
  263. ; http://php.net/zlib.output-compression-level6 t& T/ J$ i+ R! t- U# K
  264. ;zlib.output_compression_level = -1
    1 [: L$ j+ l; h) C1 \

  265. * x( ?4 M) P2 F1 F
  266. ; You cannot specify additional output handlers if zlib.output_compression
    % t. M# M- f! ^, y, d
  267. ; is activated here. This setting does the same as output_handler but in
    4 e4 b- J* c: U6 {0 l
  268. ; a different order.
    / ]" O/ N& r3 W! ~0 `. g
  269. ; http://php.net/zlib.output-handler
    6 j) h; S8 q" l+ C, Y
  270. ;zlib.output_handler =
    % Z+ d# j" W1 _

  271.   X; ?1 A" E* W% i
  272. ; Implicit flush tells PHP to tell the output layer to flush itself) q+ Q! o5 o: s
  273. ; automatically after every output block.  This is equivalent to calling the
    7 k9 ]( `& z% D* h! Q6 W% L5 S( ]
  274. ; PHP function flush() after each and every call to print() or echo() and each8 o2 E0 G$ G/ T1 X( S( m/ a# v5 M) r* q
  275. ; and every HTML block.  Turning this option on has serious performance1 ]5 C0 U& L! W1 \% E8 j
  276. ; implications and is generally recommended for debugging purposes only.( x9 X- u# x7 q( Y4 f9 y. x# \
  277. ; http://php.net/implicit-flush
    + o6 n8 H" a6 k
  278. ; Note: This directive is hardcoded to On for the CLI SAPI( n  N, }- g$ j" `* @. V5 ~$ q
  279. implicit_flush = Off
      R% o$ F1 y. h0 Q$ Y

  280. / ^* d$ ~, M2 U$ c. ~
  281. ; The unserialize callback function will be called (with the undefined class'( V3 M: O) a; M5 J3 i& L- O- h/ m
  282. ; name as parameter), if the unserializer finds an undefined class
    2 e; r# |4 ]( n5 Z
  283. ; which should be instantiated. A warning appears if the specified function is
    & T; D- D* K. l) P. v# w# X
  284. ; not defined, or if the function doesn't include/implement the missing class.
    ; j( j2 d2 x; a/ r, Z% V" \
  285. ; So only set this entry, if you really want to implement such a; m5 C! q6 L3 l  n+ ?- t: ]) C: T
  286. ; callback-function.
    / h6 j* [: Y& j+ D; r
  287. unserialize_callback_func =; w* j) @% ~( V, e6 S# S4 x

  288. & @2 o# Z* H+ d1 o7 X
  289. ; When floats & doubles are serialized store serialize_precision significant
    ; X9 y! A% H. l/ }& X8 R0 `& B5 y
  290. ; digits after the floating point. The default value ensures that when floats4 v/ y5 y$ {/ Q: V
  291. ; are decoded with unserialize, the data will remain the same.- ]' V; l* X& }1 W( D
  292. serialize_precision = 17. h# {  N3 r0 x  M' h: }

  293. $ P; `, w6 j* F. P* J) B
  294. ; open_basedir, if set, limits all file operations to the defined directory
    % |0 n' |9 V5 u# `( l% u
  295. ; and below.  This directive makes most sense if used in a per-directory# r  A& [+ K/ c/ u+ P4 m& U9 M1 j9 \
  296. ; or per-virtualhost web server configuration file.$ y6 r0 z  U% a0 e$ n/ @
  297. ; http://php.net/open-basedir
    , c, r% B1 T! F; O- f; K% m* L6 M
  298. ;open_basedir =* n- P/ N2 X7 P9 S  V3 N
  299. : a; H0 f, z/ d6 P
  300. ; This directive allows you to disable certain functions for security reasons.$ s1 X" a! w6 [' ~5 r, v
  301. ; It receives a comma-delimited list of function names.3 i$ k7 c$ v6 f. ^! I% U
  302. ; http://php.net/disable-functions
    8 K1 x" g- i& G6 c  g
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru( U  t& x! Q. ^4 [; F: C. y9 s
  304. 2 S- K7 e6 Y; a) i5 V
  305. ; This directive allows you to disable certain classes for security reasons.
    " j, {3 N, g5 r) p& z
  306. ; It receives a comma-delimited list of class names.5 F; x3 v6 I9 H, `1 L3 n( V. q
  307. ; http://php.net/disable-classes9 S0 {% W" O0 B8 W
  308. disable_classes =
    1 W8 e' S( U" `+ u
  309. ' I) ?) ^" v" S# F' R# T
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in6 R: k+ S# K2 X; V1 P/ L1 N, B" M
  311. ; <span style="color: ???????"> would work.
    % X# a9 C! O8 z) w4 k0 V
  312. ; http://php.net/syntax-highlighting
    , P9 H7 p" K) @' |
  313. ;highlight.string  = #DD0000
    ' H& g. j; F0 C$ D6 Q; `, O
  314. ;highlight.comment = #FF9900
    $ G& a1 r+ T3 d! u0 P
  315. ;highlight.keyword = #0077005 D# R' o: k+ @! |' T+ r
  316. ;highlight.default = #0000BB% L) |: {8 j5 y' G$ I* Q5 S) A2 ]
  317. ;highlight.html    = #000000
    $ }3 D5 D8 o, J- u

  318. 0 @8 s& w/ {4 q& O& c' }' i* k
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    % ^- B: U: l6 ?" ~. {
  320. ; the request. Consider enabling it if executing long requests, which may end up
    3 B% Q# q2 k/ g
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior5 k2 o; h+ k1 s- `6 `
  322. ; is to disable this feature." r! F5 Y: Z& X, h( L# W, r& s
  323. ; http://php.net/ignore-user-abort  w  t; x3 }/ O7 J  x
  324. ;ignore_user_abort = On4 f7 k( O) k( I/ m6 K! j# c: x
  325. # T  M2 J) x2 Y/ W$ D
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    ' Z" H; b( K6 _! h
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    , B2 y2 ^* W( P! ]% N5 D
  328. ; the file operations performed.
    % w( k/ s* C" F) X9 ^
  329. ; http://php.net/realpath-cache-size! l4 X4 b7 g6 M: _6 x8 j
  330. ;realpath_cache_size = 16k9 B8 g) `- x2 b: A; W, l

  331. 4 f8 _0 M) I  K6 \
  332. ; Duration of time, in seconds for which to cache realpath information for a given' L5 b5 j' ^3 ^: R
  333. ; file or directory. For systems with rarely changing files, consider increasing this3 ^6 s* ~* L7 i( ^
  334. ; value.
      m# D+ l- K. S: C+ v! H
  335. ; http://php.net/realpath-cache-ttl) M( b8 O( v# I- {2 W
  336. ;realpath_cache_ttl = 120
    ' F3 z) _- t0 c( n

  337. / Q8 I. h/ X- r/ C5 O" x2 o
  338. ; Enables or disables the circular reference collector.
    0 y/ M7 A" o* x. h+ z. n
  339. ; http://php.net/zend.enable-gc8 D* {, l8 V, i1 o
  340. zend.enable_gc = On. @" B5 i3 _& d# G0 [

  341. " [; s* J5 P  n4 g+ @' f' a& u
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    4 K' i/ |; @) E
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such1 n! v! U% ], H* `3 i
  344. ; encodings.  To use this feature, mbstring extension must be enabled.  [/ N: M5 R* h1 G/ N( f
  345. ; Default: Off8 X& _3 m; i! f+ V7 M  ~7 k' B
  346. ;zend.multibyte = Off
    % r3 v8 H( J, t" Z" S

  347. 6 c: L& s8 s; G! z
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    5 q" N5 [' {5 e
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.& w/ s3 }2 a; r
  350. ; Only affects if zend.multibyte is set.+ e6 [  W; l4 J# R0 }2 H
  351. ; Default: ""
    1 j* |" i7 ?1 ~7 x4 [
  352. ;zend.script_encoding =
    " M7 |. p4 n: P/ f

  353. 8 X8 Y+ Q: {/ @! c  x5 w
  354. ;;;;;;;;;;;;;;;;;% P2 c& U0 P6 [, f) ]2 v  Y
  355. ; Miscellaneous ;
    1 l2 q. H, S& q" p* r; }
  356. ;;;;;;;;;;;;;;;;;
    3 f0 z& i2 D3 O: J3 X5 T0 |

  357. # R+ r4 `* E9 o; o0 w( y# V8 O3 Z
  358. ; Decides whether PHP may expose the fact that it is installed on the server% s' E+ C" y, S3 |) X
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    # I- K- ?4 G* d
  360. ; threat in any way, but it makes it possible to determine whether you use PHP" ?6 J# M: r. s* t! B2 C
  361. ; on your server or not.* A( S+ o9 _/ C
  362. ; http://php.net/expose-php
    2 r0 r) w! M" W
  363. expose_php = On* ], P( v3 K6 b
  364. 3 |9 ], Z! v' ?$ _* o  m
  365. ;;;;;;;;;;;;;;;;;;;8 z  Z# n# Q. w+ @+ U( W
  366. ; Resource Limits ;3 F! _2 Z, ^4 @+ C
  367. ;;;;;;;;;;;;;;;;;;;
    , |9 ~4 P% @& _. M6 q" W5 L9 ]4 q

  368. 5 D& E! d/ M2 ~5 {* q
  369. ; Maximum execution time of each script, in seconds
    9 l) L! M) R. e) F/ S  \& @
  370. ; http://php.net/max-execution-time
    " H, \( q, [6 [5 t, p2 }
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI# {# I- h. l- R* S: c) l
  372. max_execution_time = 3003 B$ N' E% I  o' X7 _& ?

  373. - O8 a3 g; v) @" @: A
  374. ; Maximum amount of time each script may spend parsing request data. It's a good1 G9 H8 `% d1 Y  n" n
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ; `& _  R6 g8 X8 z
  376. ; long running scripts.
    % ~$ f8 [- ]7 m% ^1 u) |
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI- h7 X; T9 Q% Y7 e2 ^) G: P/ v
  378. ; Default Value: -1 (Unlimited)
    3 `7 p2 n  S/ m
  379. ; Development Value: 60 (60 seconds)& S* y  K' k+ I* p3 m
  380. ; Production Value: 60 (60 seconds)
    ( M2 ]& X- X) |9 X! m) ~* R% A
  381. ; http://php.net/max-input-time0 K9 q4 T( v* c. \0 _  N" ^9 z
  382. max_input_time = 60
      X( l6 o' |: R1 e7 y, t% [

  383. - x' _% ]& d' J: ]2 N
  384. ; Maximum input variable nesting level: G4 Y* s& I+ r
  385. ; http://php.net/max-input-nesting-level% A3 V0 o( \5 _' j
  386. ;max_input_nesting_level = 640 c" c* H3 W# e
  387. 1 C/ G+ Y( y9 |- E2 F
  388. ; How many GET/POST/COOKIE input variables may be accepted9 \" |2 _1 I. \: Y' d: V/ p
  389. ; max_input_vars = 10001 c  `! U/ F! E% k. b$ p$ v
  390. / T3 z) U$ g' P; B. y
  391. ; Maximum amount of memory a script may consume (128MB)
    4 k* v9 T+ s' m( a
  392. ; http://php.net/memory-limit
    - P4 G! a: [7 {3 |) S
  393. memory_limit = 128M
    2 `( @2 r4 v' P

  394. : {% E* {4 ^% Q1 s1 P! D; Q
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8 V! S8 T. E7 F9 b7 g- }
  396. ; Error handling and logging ;
    ; N9 O% V5 h' `" L9 E$ O
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;- Y+ `0 z. b" P- g0 s3 W1 [

  398. # g: y0 z1 u8 ^8 j  u5 j
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    ' |  f& `. @: T) j3 y
  400. ; it to take action for. The recommended way of setting values for this
    & C  b1 h8 ]3 A3 E! U7 U
  401. ; directive is through the use of the error level constants and bitwise# C& {0 p4 x# e7 h" Z5 [- e
  402. ; operators. The error level constants are below here for convenience as well as5 p" D9 r0 b5 w3 ^$ q8 d
  403. ; some common settings and their meanings.
    / d: ^$ K+ E9 s$ I
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    * g+ L0 M/ w( B& x: }0 V/ z
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and4 {5 }) G" J- }! O0 i2 T1 f
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    ( ?7 d2 l* H! m3 |* f( P8 r
  407. ; recommend error reporting setting. Your production server shouldn't be wasting' j/ A0 {' _. y. G7 p$ f) R3 d/ y
  408. ; resources complaining about best practices and coding standards. That's what
    8 {' \6 ]- G6 c
  409. ; development servers and development settings are for.
    ' `' h* I2 b- u1 S& E
  410. ; Note: The php.ini-development file has this setting as E_ALL. This! x8 P: O: k, _& k0 [% g6 g
  411. ; means it pretty much reports everything which is exactly what you want during
    , P% ~) Q' p, k$ H; v
  412. ; development and early testing." q3 M# I8 x  c( I9 W. \* b$ w
  413. ;
    % M  n8 E; w3 A2 E  s7 j
  414. ; Error Level Constants:7 Y  {8 C: X! R
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)' H% @: A  S9 B8 c- t* e( ]
  416. ; E_ERROR           - fatal run-time errors- j0 r! ~0 Q+ p
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ( f/ x; h6 b& h
  418. ; E_WARNING         - run-time warnings (non-fatal errors); S9 T* A) C3 S( n
  419. ; E_PARSE           - compile-time parse errors
    ' u+ y9 \. d. ^9 u
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    + X9 B0 u- q3 M& O3 x- m) T
  421. ;                     from a bug in your code, but it's possible that it was1 X6 h$ J: |. l3 p) G
  422. ;                     intentional (e.g., using an uninitialized variable and
    8 B/ \$ O) A& N1 v2 J! ?6 W
  423. ;                     relying on the fact it is automatically initialized to an3 V6 n1 v& l6 E, C/ ?7 f+ J7 o
  424. ;                     empty string)& f$ I; g$ J: j' w2 U/ H" f
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    3 G5 P( s' m( [- P3 F+ I
  426. ;                     to your code which will ensure the best interoperability
    & _1 _) ]" ~% ]1 y9 L
  427. ;                     and forward compatibility of your code
    0 l3 S( a' F0 N6 P0 N: |+ t) o
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup5 Z( G5 w$ z9 V4 o2 Z/ {4 T
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    & u( K! \" O8 p+ F
  430. ;                     initial startup4 ~; P& I% z; @: ^+ l
  431. ; E_COMPILE_ERROR   - fatal compile-time errors8 W. v" y3 ?  _  W& E
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)) n3 k" r$ h3 w" h  }! w  d
  433. ; E_USER_ERROR      - user-generated error message
    ) b+ h6 ]4 I* `' f4 Q
  434. ; E_USER_WARNING    - user-generated warning message
    9 {% V% ^: y3 ?: h9 V
  435. ; E_USER_NOTICE     - user-generated notice message7 n# t/ B% ~) h5 ~8 ~
  436. ; E_DEPRECATED      - warn about code that will not work in future versions0 N) a$ N2 ]8 t1 {: z
  437. ;                     of PHP! J6 o0 y- v# e  ^- l( I
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    $ G% Y( |2 t4 g1 T' m
  439. ;9 K4 `; E$ ~  K0 p. v! T
  440. ; Common Values:( `: Z$ c) i/ a: Z5 h6 M
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)! s6 a6 ]4 ~* I4 b7 l, |' H
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    7 H1 T$ p  X0 p& B$ z
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    $ D! w0 n5 [; p, F/ [
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors). m, y8 x: d, v" C7 c, ]5 m6 a
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED! O/ T( Z, c. ?9 C
  446. ; Development Value: E_ALL  h) n6 r4 O( T+ D
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    & x, g6 U5 M. U
  448. ; http://php.net/error-reporting
    8 S1 k; r3 A+ W, Y- w
  449. error_reporting = E_ALL & ~E_NOTICE! y! z* A; q9 C! y5 p1 h- P& H
  450.   ~$ [, D& Y; d8 w6 n0 z( c" l
  451. ; This directive controls whether or not and where PHP will output errors,
    * R: N! g% m4 {3 P' Q& t/ ]
  452. ; notices and warnings too. Error output is very useful during development, but; Q# e* F9 i: ]
  453. ; it could be very dangerous in production environments. Depending on the code
    6 z0 ]: M5 p! X6 D) v
  454. ; which is triggering the error, sensitive information could potentially leak
    ! Q: l. B' O) K; l
  455. ; out of your application such as database usernames and passwords or worse.* Y- X+ S. u2 K0 ~3 x
  456. ; For production environments, we recommend logging errors rather than
    0 v; r# K) V7 y
  457. ; sending them to STDOUT.% B; i" A( S. R' C6 ^
  458. ; Possible Values:
    8 E! G; k* M- B
  459. ;   Off = Do not display any errors
    8 t6 F  b4 \$ Z6 A
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)) B. w6 h  ]3 q4 P
  461. ;   On or stdout = Display errors to STDOUT: E# C* X  o) b
  462. ; Default Value: On+ N" S0 e5 C" r5 O/ l# |
  463. ; Development Value: On
    3 D0 H& b0 R4 A
  464. ; Production Value: Off
    9 I) b) Z8 e/ W, L
  465. ; http://php.net/display-errors
    " U8 {- P0 t# W2 ?& z& i3 Z
  466. display_errors = On
    - c& o4 b% Z7 [
  467. " w9 R. c: ~& w9 L& d; Y
  468. ; The display of errors which occur during PHP's startup sequence are handled
    # T0 U' u! B/ _1 i. Y3 C
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    6 i) y5 Y# ]3 u# c9 `  y* M! N* e
  470. ; errors from clients. Turning the display of startup errors on can be useful in* ]9 R7 Q/ Q9 h9 L
  471. ; debugging configuration problems. We strongly recommend you
    6 D2 G0 Z2 d! e' V$ x: |
  472. ; set this to 'off' for production servers.* K( ^0 s) X' ]) r
  473. ; Default Value: Off
    * z7 Z5 C" B3 ?( X
  474. ; Development Value: On
      u- N, L4 e% N/ w
  475. ; Production Value: Off
    . o' c) r7 C% C. l: ^
  476. ; http://php.net/display-startup-errors. n; ^. l" d4 s7 }  {3 y4 h9 D3 `) Z
  477. display_startup_errors = Off$ i7 I  o4 p  W
  478. 7 r2 j& l+ C7 U
  479. ; Besides displaying errors, PHP can also log errors to locations such as a" g. C5 \1 x  I( R/ }: d
  480. ; server-specific log, STDERR, or a location specified by the error_log' W! e) j2 k% k
  481. ; directive found below. While errors should not be displayed on productions$ a: T3 ^9 V# h5 x4 _# a; U: `
  482. ; servers they should still be monitored and logging is a great way to do that.: e7 {+ }0 j4 d
  483. ; Default Value: Off
    8 \5 q: x1 o* f8 T) V
  484. ; Development Value: On: i0 ^8 g" X# c& L
  485. ; Production Value: On- m" ]. Z! L0 _5 h  N7 C/ Y
  486. ; http://php.net/log-errors% ]( t' c; K; W9 H; h- g& e) c  c; F
  487. log_errors = On
    * d0 u- H( C+ C4 b5 e
  488. + R" C1 @5 t1 G. Z' `6 o) n! _2 }
  489. ; Set maximum length of log_errors. In error_log information about the source is# h% T1 l+ j$ ?4 R3 Q/ K' ~
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.5 t! S& h! B1 d( ^
  491. ; http://php.net/log-errors-max-len
    9 P! G4 u1 h/ ?* l: X
  492. log_errors_max_len = 10246 e$ B. G& \% `$ B# j

  493. 9 ~6 i& ?( r* s" D5 d* ]& F2 V  i; O
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same% X, P/ o# d9 f& I1 d, C) I6 v  ^
  495. ; line unless ignore_repeated_source is set true.
    : L) C0 U( t1 S7 f% w
  496. ; http://php.net/ignore-repeated-errors: k) M4 @6 H; w/ L. u( q1 j% _% l
  497. ignore_repeated_errors = Off$ ]" w' m0 W& {" g; J$ j2 S( J: @
  498. 5 y$ o, v# N4 M7 [$ A1 O% E% C
  499. ; Ignore source of message when ignoring repeated messages. When this setting! A+ u" B! _1 _8 y+ g7 x9 p
  500. ; is On you will not log errors with repeated messages from different files or
    + ^" s' d+ T; \. Q
  501. ; source lines.
    2 ^6 |- O0 l2 A
  502. ; http://php.net/ignore-repeated-source, v6 ]4 N8 u- l7 G9 t, t% a7 F
  503. ignore_repeated_source = Off- }1 P7 o# s) A' i

  504. 4 u* @# u! l+ w8 |8 d5 B. p
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    " D* c; l( ]3 e
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    % f( j( {1 e: s: y; q* M2 a2 y
  507. ; error reporting includes E_WARNING in the allowed list$ k  p2 k/ Q  F
  508. ; http://php.net/report-memleaks
    2 ~; S; {+ {3 L* _
  509. report_memleaks = On
    + Z( e7 F$ I2 k7 ?+ o$ i& \" D

  510. 5 k8 k' f, p% Y3 K2 H! ?5 n
  511. ; This setting is on by default.
    ) n  a) O; C! f. _1 s! ^! }  o) z
  512. ;report_zend_debug = 0
    * x! ^  v0 M8 V4 n" p4 U& z

  513. / H3 X  e! m' y. @
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    8 _- m  }) k. `3 T# H
  515. ; to On can assist in debugging and is appropriate for development servers. It should
      J' i- Y1 Q1 L! h
  516. ; however be disabled on production servers.9 Z8 E, V3 T8 Y9 g/ F
  517. ; Default Value: Off* \$ K% Q' G* x) q
  518. ; Development Value: On
    1 C1 M7 T; [5 B8 b1 d/ V0 I
  519. ; Production Value: Off$ t9 Z( c) b) Q0 c
  520. ; http://php.net/track-errors
      U) f7 @/ P# \& p5 z
  521. track_errors = Off
    , Q0 g3 ?% L0 z; _( T+ ?7 e; K
  522. 4 a/ f6 P8 `" S( \! ?. ?
  523. ; Turn off normal error reporting and emit XML-RPC error XML3 X2 R) P- I- u  Q3 x4 k
  524. ; http://php.net/xmlrpc-errors4 C7 ~* N0 @$ S0 z
  525. ;xmlrpc_errors = 0
    ! x  X1 ^; j" `  A1 z+ |3 I4 f

  526. 9 {* W% R% a1 b3 w
  527. ; An XML-RPC faultCode3 w$ r3 e; M1 s9 e* H0 |
  528. ;xmlrpc_error_number = 0+ a- Q. B8 [4 R0 G# S% |" b1 x

  529. 8 O/ q* G6 L8 \# T; s: \3 K
  530. ; When PHP displays or logs an error, it has the capability of formatting the- V1 U# R+ i7 i  v7 ?" F' p/ J
  531. ; error message as HTML for easier reading. This directive controls whether& T# F5 a& i  y3 O6 \- L
  532. ; the error message is formatted as HTML or not.) o+ G& V5 D8 c* x
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    / z$ j4 H3 g8 ^" }- @+ `4 t
  534. ; Default Value: On
    2 \3 A9 H; P+ x" ^8 O; m
  535. ; Development Value: On
    6 v* K2 R& f% }) N/ X1 H  N7 @
  536. ; Production value: On
    " @- O+ V& G" J: S% }: X: U7 ^
  537. ; http://php.net/html-errors
    ! Q: M6 b9 Q& b" y
  538. html_errors = On
    7 ^7 F: ^2 d9 y
  539. # V% H- p8 j+ ~4 g
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP+ N6 d0 U" B- E# H
  541. ; produces clickable error messages that direct to a page describing the error( N) K( W' k- ~1 G/ N- x, K
  542. ; or function causing the error in detail.# \1 ?5 s* x$ y1 f; I8 A# [
  543. ; You can download a copy of the PHP manual from http://php.net/docs
      P' y5 D; `: o/ W9 a
  544. ; and change docref_root to the base URL of your local copy including the, w1 Y1 A8 K0 w  ~/ C
  545. ; leading '/'. You must also specify the file extension being used including; i, P6 W! K; @+ e/ ?5 T( k  K
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    % o  ?& @# @( t2 O# n  K
  547. ; case no links to documentation are generated.5 h, q- d" r( A
  548. ; Note: Never use this feature for production boxes.9 S; d, E+ A9 M& ?
  549. ; http://php.net/docref-root
    6 x' m1 Z% G+ `, A, z% _
  550. ; Examples# f# R& Q" J/ C8 L8 F9 x) k* L
  551. ;docref_root = "/phpmanual/". R! t' _' g- Y  b
  552. 4 B2 t# v- Q! `0 D/ ~2 {3 _' B6 M
  553. ; http://php.net/docref-ext
    : M2 m; S: e2 E+ S
  554. ;docref_ext = .html
    4 ]' E* P# @. ?3 \" u
  555. , y; @' N0 l, Q3 D  b
  556. ; String to output before an error message. PHP's default behavior is to leave% r. Y- j  P% T  r' C4 W  _
  557. ; this setting blank.* B2 k4 [% W8 e
  558. ; http://php.net/error-prepend-string; ^; N0 R& F2 d8 R1 _
  559. ; Example:
    2 w3 v7 f6 ^1 f9 m! h
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    / E* f; Q" ]6 @, Y+ z

  561. 8 S6 h& H0 x* ^9 w
  562. ; String to output after an error message. PHP's default behavior is to leave" Q3 r* X7 B* P/ c, [) W: Q: G
  563. ; this setting blank.( l* [+ P- d, D. r5 M$ K( u) Z
  564. ; http://php.net/error-append-string
    , m' Z. G( d1 S+ `! h- e
  565. ; Example:
    2 H; t0 C# o! g, u1 C# a6 G
  566. ;error_append_string = "</span>"
    5 I3 N$ j2 [- W# [* I. m; u' H" Y

  567. ( u0 b% n: l6 C7 k8 E
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    / e4 I8 {; q" C! F- @5 z
  569. ; empty.
    ' x7 ?! ?6 \3 i% A, z" G: M
  570. ; http://php.net/error-log
    $ C5 S" b& Y- l( w
  571. ; Example:
    ( Q+ x- j  \6 ]7 X5 L
  572. ;error_log = php_errors.log
    + g/ G" X; `' r1 M5 n; h. h' E
  573. ; Log errors to syslog (Event Log on Windows).
    1 \6 T8 g; H' k. p& b
  574. ;error_log = syslog) [2 ?; o) C5 h6 Y# ~+ a& O6 q
  575. : M7 Y; N& Y  i1 u4 P! A& K
  576. ;windows.show_crt_warning
    ! i( v! k9 {9 w& Y7 U' a
  577. ; Default value: 0
    8 T0 t& _5 |9 |+ N! ~8 t" v
  578. ; Development value: 0
    ; T  @( \3 n, e9 D- L4 h" w
  579. ; Production value: 0
    - [* Q+ ^5 y+ ~

  580. 9 ~5 _: r8 H% U3 U9 h
  581. ;;;;;;;;;;;;;;;;;: E- |' X2 p+ u* h0 Z
  582. ; Data Handling ;
    3 i! x* V% S- E, q/ H* F8 |
  583. ;;;;;;;;;;;;;;;;;
    9 U& C; f! n9 r2 I' }) q! p+ |) R  m

  584. 2 [" _$ o8 D: d( E( L2 Q" _+ W
  585. ; The separator used in PHP generated URLs to separate arguments.
    3 a+ u& E+ {) n3 {& |; ?* Y
  586. ; PHP's default setting is "&".
    + e; G# ?* f* N- y: V5 F
  587. ; http://php.net/arg-separator.output" E* H( _  d' c+ q7 F
  588. ; Example:6 ^! c9 S: p( S2 F3 G9 r" h
  589. ;arg_separator.output = "&amp;"6 W1 d( L& d  n5 D: i4 J

  590. 9 m- x/ C! p9 y% C! f" w& G
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    $ G1 F0 b- S; Q5 [) a% m' S& H% T
  592. ; PHP's default setting is "&".
    ' R3 b1 e$ m. F7 s& e& M
  593. ; NOTE: Every character in this directive is considered as separator!
    % C" R/ |  f; n' U) Y5 f. w
  594. ; http://php.net/arg-separator.input# j  z6 n$ v  z5 B* U& P, k& X
  595. ; Example:8 ^7 l7 `+ i9 J* {* p6 C
  596. ;arg_separator.input = ";&"
    / H+ z- |' C% h$ R' C0 _
  597. ) e& F! M$ p. M% `+ c7 _( V
  598. ; This directive determines which super global arrays are registered when PHP
    2 K5 C6 u) ]0 Y( E8 c5 \
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    . M5 U% v: N( h! |8 ~5 @
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    3 |/ e8 y' I7 c' E' [! ^
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    8 k  t( k1 s3 [  n6 Q4 V6 v
  602. ; used as the others, ENV is not recommended on productions servers. You
    6 Z4 d4 ?& q" G1 y9 F& a
  603. ; can still get access to the environment variables through getenv() should you
    7 a% b" Z' p" A# D5 g
  604. ; need to.2 H' o) C1 L) A4 c
  605. ; Default Value: "EGPCS") k' F3 T5 ?; Y2 Z# q+ Q
  606. ; Development Value: "GPCS"  ~" X/ M/ i4 B. }9 o1 V
  607. ; Production Value: "GPCS";
    0 a: ]6 A3 J) G# F9 @
  608. ; http://php.net/variables-order, S; f/ {1 @7 p$ e% F/ O
  609. variables_order = "GPCS"7 Q1 ?5 M/ U4 }& L- U

  610. ) W' p  o7 E7 U
  611. ; This directive determines which super global data (G,P & C) should be( h- l5 Z- Q  e) V3 V0 K: X  b, h
  612. ; registered into the super global array REQUEST. If so, it also determines
    1 r7 x" l" G3 {. y) d$ s- G
  613. ; the order in which that data is registered. The values for this directive& F; g7 W2 Q) s$ }* o& d1 b
  614. ; are specified in the same manner as the variables_order directive,3 y* Q7 \1 b  \/ \! {- F
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    5 z" X3 F0 f' u5 {7 t& a( e: R7 e
  616. ; in the variables_order directive. It does not mean it will leave the super% y2 L4 }7 M4 d1 ?
  617. ; globals array REQUEST empty.
    ) L$ ~  S  |/ y# Y& [- k
  618. ; Default Value: None$ ^' w" s2 T# g7 I' i, C" t8 n2 Q
  619. ; Development Value: "GP"
    - i1 E$ X4 s; c
  620. ; Production Value: "GP"
    % m4 I8 O1 J4 j# T7 D6 c
  621. ; http://php.net/request-order& M0 s) Q9 F: \2 N
  622. request_order = "GP"
    , A* y3 Z' V% G

  623. / H/ x& M2 e) b- \& ]5 O
  624. ; This directive determines whether PHP registers $argv & $argc each time it2 a# e: e  D$ W" v5 L$ G. i- q
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    . n6 O) \* X) ~
  626. ; is invoked. $argc contains an integer representing the number of arguments
    1 I8 R# k3 [6 l, D8 _1 a
  627. ; that were passed when the script was invoked. These arrays are extremely  ?% c7 T& O5 S4 M$ K* }
  628. ; useful when running scripts from the command line. When this directive is/ p0 c. e  i" v, e( Z
  629. ; enabled, registering these variables consumes CPU cycles and memory each time! w' ^# A/ x5 E- X
  630. ; a script is executed. For performance reasons, this feature should be disabled2 w1 L" Z& r. l$ U
  631. ; on production servers.
    3 f' {2 J. f7 x: s. x2 b  g: x
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    # S2 T, M; O: X
  633. ; Default Value: On" e- x4 \3 o& g
  634. ; Development Value: Off
    $ S/ w# m* k, P
  635. ; Production Value: Off
    9 e. ]: M$ u: d" T$ v6 Z) ~
  636. ; http://php.net/register-argc-argv/ r9 r- a% e* Y
  637. register_argc_argv = Off
    0 J) W" `' {: K! Z4 Y  a3 h/ w

  638. : G( M6 d8 o# A5 r1 s
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're- f9 U8 Z/ W& e7 Z
  640. ; first used (Just In Time) instead of when the script starts. If these& O) L* J5 A2 E3 G" N
  641. ; variables are not used within a script, having this directive on will result$ K6 F% n# J: ~( M# d
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ' d2 \3 L* u. A# o
  643. ; for this directive to have any affect.
    3 I: d9 v  P: E( U% ^" ]9 p
  644. ; http://php.net/auto-globals-jit' X. Y: y( u& @  r( Q3 _+ c
  645. auto_globals_jit = On3 n& j: V" V5 M# n7 _

  646. 3 c7 [. M% i# j: z6 W
  647. ; Whether PHP will read the POST data.
    # F( m; a# O' e- Y- l6 p2 G6 V
  648. ; This option is enabled by default.2 l6 T* F, O& O
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST% ?2 h4 P0 R7 z0 ~( Y/ y2 N& w6 O& k
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    , u: w4 B' o0 }+ N, ~8 t8 h, k) Q6 M
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    - P1 |: x( ]1 ~2 ]
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.5 b, U3 Y3 x6 r1 P2 _$ |
  653. ; http://php.net/enable-post-data-reading
    ( M4 C7 i; P  _7 e' N% Z( D
  654. ;enable_post_data_reading = Off# Z9 g1 s9 H+ b2 \, r/ Z

  655. 4 g: }1 l+ ^+ l; b  f: ]1 h/ K
  656. ; Maximum size of POST data that PHP will accept., d; m' }! t& a, [
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    " ^  H. k8 [' B$ o8 i' {, L
  658. ; is disabled through enable_post_data_reading.! N( f1 s- V  w# U. o! `3 I* Y
  659. ; http://php.net/post-max-size3 p# V- d4 [" d5 N$ h
  660. post_max_size = 50M
    0 k0 L, E# [9 t/ M
  661. 1 D( y! v3 X. s% p8 F
  662. ; Automatically add files before PHP document.
    - H' v" w! i& X: U
  663. ; http://php.net/auto-prepend-file4 z9 R3 s+ D0 s$ u, {# d3 B
  664. auto_prepend_file =  o) `7 j  f. o6 i

  665. # m: e( B3 ^# S* V  N$ O* D
  666. ; Automatically add files after PHP document." j2 ]/ ?% \1 {* u; i9 k% T5 B
  667. ; http://php.net/auto-append-file
    7 q: M6 Q2 }% _" [' l& h1 T, v
  668. auto_append_file =5 {( K7 B6 D' U5 `  f/ R
  669.   g) I6 O& z' b8 m& l+ f, j5 Z0 `
  670. ; By default, PHP will output a media type using the Content-Type header. To7 F' H- l4 R  v! x  Y
  671. ; disable this, simply set it to be empty.
    7 t' U5 J( i$ G' _8 a0 G
  672. ;
    # l2 R; a$ E! c* E+ `1 q" l7 d
  673. ; PHP's built-in default media type is set to text/html.
    8 `, |! J8 Z) H% [# S
  674. ; http://php.net/default-mimetype4 D8 }8 D& L) O3 W# P: o, [# E; y
  675. default_mimetype = "text/html"$ l" G$ I- I8 M! N4 U; Y

  676. 3 o( r$ n$ U8 R3 @6 V! r
  677. ; PHP's default character set is set to UTF-8.( E5 x$ ]& o' l# ?' d% h
  678. ; http://php.net/default-charset6 d* S, z. @. f2 G
  679. default_charset = "UTF-8"
    1 l. ^7 b' s1 E

  680. ! a6 c: v' C( ^3 S# L
  681. ; PHP internal character encoding is set to empty.
    1 Z' a9 k! P+ ^7 d& o  D
  682. ; If empty, default_charset is used.
    # N* ~. j2 n( E& U7 S5 Q2 f: N
  683. ; http://php.net/internal-encoding
    ; z1 l# o+ D$ B5 y
  684. ;internal_encoding =
    - K; s5 E' @/ R6 H' s* V

  685. 9 Z0 J* v1 n' I1 M
  686. ; PHP input character encoding is set to empty.; ~  j6 ?# y) l4 Z3 G% p2 I
  687. ; If empty, default_charset is used.
    2 T+ r+ _3 i: d) S+ @
  688. ; http://php.net/input-encoding
    0 s# p+ s1 \! |& U+ X3 P- x2 z7 s
  689. ;input_encoding =
    ! q. Y9 |0 l2 `
  690. 2 K3 l; x4 l# O7 g6 ~4 K. Z
  691. ; PHP output character encoding is set to empty.
    ! \1 Y1 M8 Z* Y6 B4 s1 L; ?
  692. ; If empty, default_charset is used.. H  E, p, n1 F/ @2 H, p! Y
  693. ; See also output_buffer.
    2 S. k; ]$ {# l* N$ |
  694. ; http://php.net/output-encoding: v! s6 j+ S. e2 ?
  695. ;output_encoding =
    : T2 I( J% x, }& D& w

  696. 6 E& M; U" I; p
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    : n2 K( i6 f6 t+ @
  698. ; to disable this feature and it will be removed in a future version.
    % H' t( O  x! p0 Q
  699. ; If post reading is disabled through enable_post_data_reading,/ J6 a+ f9 R2 N9 h
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.) v% [/ R( L' |
  701. ; http://php.net/always-populate-raw-post-data. L/ @: ]. B( v, K
  702. ;always_populate_raw_post_data = -1/ [. D4 H, f+ x

  703. 0 ~4 o8 J& `4 s5 X* p. ^3 W
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;# X' |4 C: m. {* T
  705. ; Paths and Directories ;
    , x" k* ~, }+ i3 p4 U
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    % s  |0 F  N+ {  b, K  _; ?1 G
  707. - V0 H! _4 y8 e! m- T7 n
  708. ; UNIX: "/path1:/path2"% U% ]( r: a. e2 f9 L# Z3 H
  709. ;include_path = ".:/php/includes"! @$ Q) L5 `7 e3 v1 @# {
  710. ;
    1 p$ s7 l6 J: s# F
  711. ; Windows: "\path1;\path2"
    " h  J4 |/ q' J' }5 V
  712. ;include_path = ".;c:\php\includes"! \$ s! E) v" c- H2 c8 C
  713. ;2 v/ e" ^9 [/ [
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"+ M9 E+ C3 n6 t# p; @( ?; O
  715. ; http://php.net/include-path# c: ?6 O: L3 G1 g  T  Y

  716. - a1 R  u" `5 J. |, x9 n
  717. ; The root of the PHP pages, used only if nonempty.
    ' j5 G. ~) i0 t9 j5 i  F8 b* J
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root9 F* _) i  C- N0 t5 j2 b3 w
  719. ; if you are running php as a CGI under any web server (other than IIS)- v) l* S3 o* P. ~' o( D1 e% x
  720. ; see documentation for security issues.  The alternate is to use the
    4 q) r4 o% C! \
  721. ; cgi.force_redirect configuration below$ `& o( j" M1 ^+ N1 k
  722. ; http://php.net/doc-root
    : C$ {5 h6 N& a' a2 d6 C+ a+ V
  723. doc_root =( U+ C# T" n; {

  724. , ~9 F$ c" c$ ^9 j" @$ Z& B
  725. ; The directory under which PHP opens the script using /~username used only! b, O' j1 t' x0 |' P, j
  726. ; if nonempty.
    8 C- \0 O) F# r  n6 ~6 ]' a. S
  727. ; http://php.net/user-dir2 o; k( {$ X: A; |2 P
  728. user_dir =
    + R5 C! r% c4 v  D! m- F
  729. - C! W& D2 y8 k, [/ f3 E
  730. ; Directory in which the loadable extensions (modules) reside.
    % \- g( s5 ]. O0 l+ X
  731. ; http://php.net/extension-dir! O0 D; ^+ A5 j. ?# ~
  732. ; extension_dir = "./"
    1 l% P% L' c) y  d7 M! A
  733. ; On windows:
    4 d: d/ ~2 u7 l5 o* e0 Y$ ~
  734. ; extension_dir = "ext"
    $ P. M3 J( h" j0 R, M$ e9 ]
  735. 4 F9 W% @: [) h* q$ z
  736. ; Directory where the temporary files should be placed.
    - q6 g( ?8 ^; M% f  F2 @9 g0 o
  737. ; Defaults to the system default (see sys_get_temp_dir)+ Q8 D& s( {9 E* e  d. G
  738. ; sys_temp_dir = "/tmp"+ A6 w& B3 C6 U2 Y9 y0 l
  739. 9 ^2 Q0 s, n& [' \
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    8 o# n" i  q( j0 P. V  @/ D' o
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    1 j; `, Y3 U1 I4 c. i' K0 C2 X0 b
  742. ; disabled on them., e7 R/ v, X' }, f4 m2 z; y
  743. ; http://php.net/enable-dl
    . s9 T( y5 F/ J2 w
  744. enable_dl = Off, z; g5 h- J; g
  745. ) `7 E( i8 L7 T9 B8 \! A& @( [
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ! S( [; g7 @3 x- J3 ]2 z
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can6 [9 d2 J+ r6 ~  U  A
  748. ; turn it off here AT YOUR OWN RISK- S8 I' V% F: q6 |' C8 A
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    5 G% \: z& T$ E3 D; b7 D
  750. ; http://php.net/cgi.force-redirect
    ( P( z/ M# }+ C6 i  n% |( I
  751. ;cgi.force_redirect = 1
    - W4 l4 K/ U) J7 s) `# I* D
  752. 6 p7 S, b' j& V5 U8 h
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    1 \6 W9 n# e+ ]% L1 N* ^# [/ F) A  C3 l
  754. ; every request. PHP's default behavior is to disable this feature.0 T$ F# z6 K! u7 B- ]: \8 `6 y. G
  755. ;cgi.nph = 1: C1 r$ V7 |1 q* F/ |1 ?5 {" e

  756. - @: J/ H  `! W1 Z5 \
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape: Y# V6 s. X! r. i1 R
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    , F; w  v. n/ a9 n( {8 e4 M1 U
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    7 K  [# `, b) v$ y) ]4 ]
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.5 B8 F6 U: Y$ }
  761. ; http://php.net/cgi.redirect-status-env
    ; D# b/ k$ W3 j
  762. ;cgi.redirect_status_env =7 x" u7 |* h5 V

  763. : Q/ F$ d! T0 [+ q  {
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's( l9 K9 J3 {: m. ~
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok( e: e. }* n0 {
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting! k4 ]; ?# g9 Z1 U, \- R
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting* V" ?/ S8 v" ^) Y/ r' n+ }0 C
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts& A% o1 L" D  r9 t. I' [8 V
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    7 O3 e  c6 n- k$ n5 W% k: `! G
  770. ; http://php.net/cgi.fix-pathinfo, v& f: }7 @( j$ L+ D
  771. cgi.fix_pathinfo=1- y8 b- @4 `' l) k" f1 g0 d$ \

  772. - ^( X) b$ o) |# o* n; |- L4 C
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    + E; l. O6 E! p+ X) b, ]
  774. ; of the web tree and people will not be able to circumvent .htaccess security.9 W+ f, q! G0 c% C% d
  775. ; http://php.net/cgi.dicard-path
    & ?8 c% J3 S1 N, l9 v5 a  ~
  776. ;cgi.discard_path=17 b5 r& k. l3 I4 Y/ p4 Z
  777. 0 \4 W& L& n$ A+ e6 k) z! \3 c
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    + k$ C- p) o+ a2 N9 J
  779. ; security tokens of the calling client.  This allows IIS to define the7 {$ [/ o1 O4 J- y7 }6 n& N; T
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    , }( B8 f/ X! @7 ]$ a) F
  781. ; does not currently support this feature (03/17/2002)# U: z7 [/ b1 a$ U5 n% ]) w' a
  782. ; Set to 1 if running under IIS.  Default is zero.# _4 ?; S1 G6 Y+ D* U
  783. ; http://php.net/fastcgi.impersonate
    ( n$ w/ v" |' E4 b2 \! F* _
  784. ;fastcgi.impersonate = 1. r: x; K! i; Z' p2 g- Z; T
  785. & G8 y- e: N0 |: m
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable" P1 [% K/ v. ?: B
  787. ; this feature.
    7 I4 g* h$ k# K8 K$ @' |) x# [
  788. ;fastcgi.logging = 0
    ! Q. t- O/ t$ {! d5 Y/ Q  R
  789. 6 p3 q' i) i4 s) d2 D
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    - d/ Q5 A, j# {' N
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that4 m$ g7 t& j: c
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    . m) d4 B# d- U. T8 f0 Y# A% \7 R
  793. ; RFC2616 compliant header.$ E9 A' F; x) u
  794. ; Default is zero.+ I4 X& _/ m* M/ \/ z1 N
  795. ; http://php.net/cgi.rfc2616-headers
    * [7 V' `( q& D- R, n! R  o
  796. ;cgi.rfc2616_headers = 0
    # V/ i$ d  Y/ a3 z' m2 I6 B5 i

  797. 3 `. r; o4 c) i0 t8 }4 ]! A& k: o
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!/ t. N. L4 Q% U! [$ O; y: i
  799. ; (shebang) at the top of the running script. This line might be needed if the5 p* E$ V' A( t; F" A" |# {8 j. H2 g
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI! J  T; }  y, w+ C
  801. ; mode skips this line and ignores its content if this directive is turned on.4 z; ?% F2 X: M+ O$ p- N8 w* D
  802. ; http://php.net/cgi.check-shebang-line1 g2 V# k! s9 g7 {2 Y
  803. ;cgi.check_shebang_line=13 t2 R2 K, w. N: T, f

  804. 9 O3 k8 J, d+ `
  805. ;;;;;;;;;;;;;;;;, v9 M  g9 ]0 F
  806. ; File Uploads ;% A  [6 A7 ~' W! T" p  C+ ^! M
  807. ;;;;;;;;;;;;;;;;
    . z0 W9 s+ h7 T2 d, R, B5 k( K

  808. . N" s, ?; R) F) ~. \: ^& q
  809. ; Whether to allow HTTP file uploads.
    6 v) c: c5 D+ [+ h& C
  810. ; http://php.net/file-uploads1 y8 S8 j3 r" O# C6 m; X7 X0 C! K6 o
  811. file_uploads = On$ X* U0 o; x  n$ f7 z2 l

  812.   b8 v" A- e) N5 z
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    ) Y+ b2 ?  q( d- `$ [
  814. ; specified).
    - d% r" t) C4 S; ~
  815. ; http://php.net/upload-tmp-dir
    5 g$ W/ j1 ]: ^1 H7 O
  816. ;upload_tmp_dir =
    - A3 |- Z7 l' s. \
  817. 5 {/ z. R$ b9 z2 S$ I
  818. ; Maximum allowed size for uploaded files.! o1 M; \: o4 g3 k. U) Z
  819. ; http://php.net/upload-max-filesize
    9 R, k- S1 j# y5 |2 R
  820. upload_max_filesize = 50M
    8 O. a! m* g" p1 r5 n0 |4 ^5 K
  821. ( r1 C# P) M: X8 v  F
  822. ; Maximum number of files that can be uploaded via a single request4 ^/ Z4 W8 O2 x% A- _( ?
  823. max_file_uploads = 20
    ' r( [7 U0 Z% X6 T- r0 T3 R
  824. ) y* a! M* L! W0 [9 N+ s9 ]4 x
  825. ;;;;;;;;;;;;;;;;;;
    5 T1 Q6 V! N: m  j6 ^
  826. ; Fopen wrappers ;
    ( X% \3 Z/ B% Y. I8 u5 _
  827. ;;;;;;;;;;;;;;;;;;
    ) b1 E0 [2 a. k% S! F: F
  828. ' j5 A6 q& R7 i; M: w3 O% i
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    6 d$ J$ H; y! v" U5 @8 c- ?
  830. ; http://php.net/allow-url-fopen
    . b% g$ b- x0 W. S2 `3 |
  831. allow_url_fopen = On3 o/ e* k% ~% p) r/ l

  832. , v3 k; o' X0 R4 h. N4 K9 h7 I8 ?, \
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.1 w0 c4 o5 Y, p) f9 S, `
  834. ; http://php.net/allow-url-include0 }, ?9 V5 k5 S; R. G4 f
  835. allow_url_include = Off; \3 b3 M- N8 _. Y

  836. ) O8 W2 \. _7 R9 s  ?
  837. ; Define the anonymous ftp password (your email address). PHP's default setting! Z! z: a- g- j* o: G* G  H+ x
  838. ; for this is empty.' u; {6 U! h" P* y3 c7 R; q
  839. ; http://php.net/from
    ( r) C( X1 Y6 U: A' k0 M: k! H, `
  840. ;from="john@doe.com"
    . B( x# P7 j7 X

  841. . d/ q5 f4 ?( x! y7 n1 i; W' g
  842. ; Define the User-Agent string. PHP's default setting for this is empty.0 }5 F. _% a9 y5 {- v3 I+ I
  843. ; http://php.net/user-agent. Y# L  K/ W+ K' h
  844. ;user_agent="PHP"
    , }( j. k3 _' b7 Z. a
  845. 9 S1 s8 ?: z9 I" @6 j4 d5 i: o
  846. ; Default timeout for socket based streams (seconds)
    2 D0 m3 O# G) a- A8 o2 u
  847. ; http://php.net/default-socket-timeout
    ( Z* q( e0 }1 ?+ H/ _4 h
  848. default_socket_timeout = 60
    / A$ \9 c- Q" r8 P/ _' s
  849. , W, p# G- \- [7 d$ r& u
  850. ; If your scripts have to deal with files from Macintosh systems,; u: K; t  Y4 H$ G
  851. ; or you are running on a Mac and need to deal with files from0 l) Y8 ]! {: }9 ~3 f$ u/ j% _! \
  852. ; unix or win32 systems, setting this flag will cause PHP to
    2 j" Y/ k, ]! ~, M$ v
  853. ; automatically detect the EOL character in those files so that* d# [# i3 _$ a/ q! o/ i
  854. ; fgets() and file() will work regardless of the source of the file.
    ! C: B& d3 ]3 h# F$ y7 p1 v
  855. ; http://php.net/auto-detect-line-endings5 O9 Z6 P) j" v: _
  856. ;auto_detect_line_endings = Off
    ! }# K2 s1 _7 @3 ^# Z0 Q9 C0 V
  857. 2 {. H( S) d, X" J
  858. ;;;;;;;;;;;;;;;;;;;;;;
    / p' X2 N" L! N0 _
  859. ; Dynamic Extensions ;. u$ T  I6 W4 ^) v& ?4 B) Z( w) s
  860. ;;;;;;;;;;;;;;;;;;;;;;
    3 w) C! G: o1 [, O/ k' }

  861. ) ?4 g: D3 R% _( u
  862. ; If you wish to have an extension loaded automatically, use the following
    / Q6 Z, v1 T2 s  v% z- g
  863. ; syntax:9 J' R, E  g- |! r) \8 }+ R
  864. ;
    0 y* ?. H8 {4 c+ D. U
  865. ;   extension=modulename.extension" w9 z, k2 P6 C4 t# s( ]$ q
  866. ;4 l  T- o% x  {4 Q
  867. ; For example, on Windows:
    6 w9 |0 `( Y) ]; ^7 j- O
  868. ;
    0 U+ q5 N8 ]8 x( _( N1 ]
  869. ;   extension=msql.dll- }  M& e" m  R. z3 D
  870. ;
      {3 d% v% P0 ~; b1 b0 s
  871. ; ... or under UNIX:
    0 V' o: H, t: O1 {" j7 y3 }- E
  872. ;% S2 R, z% h4 N0 H: S' Y
  873. ;   extension=msql.so
    ' t; ?# f; B4 M7 \3 T  g* m
  874. ;
    4 X( t8 I3 q8 d' O) e
  875. ; ... or with a path:
    " ~0 B( E9 ?. @& |2 e5 U' Z
  876. ;$ c0 l6 J: T7 \. M9 v& _) y
  877. ;   extension=/path/to/extension/msql.so! _* h) ~2 w2 n& R/ E/ F  u: r
  878. ;" e# n% c  [3 q6 |) ]* {
  879. ; If you only provide the name of the extension, PHP will look for it in its6 k. y5 J& N  ]! n# e  [
  880. ; default extension directory.3 v2 |& t3 B/ v, U2 @
  881. ;
    # C) b3 R5 J' v
  882. ; Windows Extensions
    " n3 E- Y8 U7 j0 {3 S
  883. ; Note that ODBC support is built in, so no dll is needed for it.' p/ J2 `2 m: a
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    4 l8 k- v5 c7 S* [6 }
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).- Z1 x( R  h( ~! }& ^- H: l, [
  886. ; Be sure to appropriately set the extension_dir directive.
    1 Z0 E' I; b/ {4 V& V( J
  887. ;& w) M6 r0 T. ^. d4 K! e3 l% g6 h
  888. ;extension=php_bz2.dll
    % l, \  \/ h! _4 m3 }
  889. ;extension=php_curl.dll8 X# e  ?; i5 P- W3 h
  890. ;extension=php_fileinfo.dll- V" }& U. L0 {2 G, k
  891. ;extension=php_gd2.dll- a. W1 \& x( E7 ~" e& O7 Q/ w
  892. ;extension=php_gettext.dll
    , @2 f* E# B: ~7 i* }
  893. ;extension=php_gmp.dll7 I3 Q. x4 C+ h( E! T
  894. ;extension=php_intl.dll
    7 B/ L6 A; z" ]+ T9 g! f" [
  895. ;extension=php_imap.dll0 [% h. {7 c" C' N: }  _
  896. ;extension=php_interbase.dll
    * e) D# d- i7 N: B% ~
  897. ;extension=php_ldap.dll
    4 }  H7 B, y" u  P) J& _8 ?' T  ?4 k
  898. ;extension=php_mbstring.dll* `/ ?2 F# F8 D1 i$ c
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it% v: i3 B9 G( D. g6 C
  900. ;extension=php_mysql.dll
    ' y" {( r2 t% M" E7 t; N
  901. ;extension=php_mysqli.dll
    8 ?: q1 V( S( v; a/ p, w  J
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client+ u+ d- f; y4 V) T! V! r. b
  903. ;extension=php_openssl.dll
    6 a0 B* ^+ F4 w' y: b; A& I- T
  904. ;extension=php_pdo_firebird.dll
      N0 E  m) y5 C; V% a
  905. ;extension=php_pdo_mysql.dll/ A! s- f3 h- X" o
  906. ;extension=php_pdo_oci.dll9 r) s6 |5 }1 ^2 M3 h) Z
  907. ;extension=php_pdo_odbc.dll- Z$ Y7 f; }8 f+ E7 |# T
  908. ;extension=php_pdo_pgsql.dll
    4 n8 H' y! s% W( \+ @/ ?$ `! v8 H
  909. ;extension=php_pdo_sqlite.dll) s- G2 x; M; G
  910. ;extension=php_pgsql.dll
    9 g$ a" H( v/ [# o; j& e" e
  911. ;extension=php_shmop.dll# `1 U! ]2 i8 X1 E6 ^

  912. 1 E+ G0 W$ u7 h" I# Q$ |' U
  913. ; The MIBS data available in the PHP distribution must be installed.
    * o- n6 `- ]3 e3 \8 p" y
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    2 ]% m  M! M% A+ Y& B& s
  915. ;extension=php_snmp.dll
    1 x) z% F& c+ Y# E

  916. " \" i8 _2 ?; t. Q
  917. ;extension=php_soap.dll
    ! _9 C* a# B+ p) V* h, K4 e
  918. ;extension=php_sockets.dll" g5 G1 j1 }; v
  919. ;extension=php_sqlite3.dll
    + U/ M+ c9 _% F0 P2 q
  920. ;extension=php_sybase_ct.dll
    : f- l3 N: H  o' p% T& I6 }( f' X
  921. ;extension=php_tidy.dll
    ! k5 Q5 T: V& T. }  d$ d
  922. ;extension=php_xmlrpc.dll
    : X+ @# P2 p0 Q, D1 I/ Q
  923. ;extension=php_xsl.dll" F( |; }7 N4 v$ O
  924. " v$ ~$ i2 C( T- V" d$ d2 ^- N
  925. ;;;;;;;;;;;;;;;;;;;4 n- x9 u" c& J0 M2 U( @2 w
  926. ; Module Settings ;
    2 n% i( P# m* C3 g- y
  927. ;;;;;;;;;;;;;;;;;;;" u4 c% I6 ~7 Q8 B- ]1 `1 J$ c

  928. $ F$ }+ A/ z* X5 p
  929. [CLI Server]
    + y+ C" D) o" v
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    * k/ R" P4 ~2 s
  931. cli_server.color = On
    0 |+ o# f! n( W

  932. 2 v8 R2 r, O* r4 `0 ~, o& p
  933. [Date]* o; T5 V+ G0 ^$ f. s
  934. ; Defines the default timezone used by the date functions
    ! m' S! e! X! o! ?
  935. ; http://php.net/date.timezone& n! k, J  R. U* m' u0 X! B
  936. date.timezone = PRC
    9 \0 G& l. ^' C* ~" ]

  937. . m2 X9 v% ?3 F, I) a  d
  938. ; http://php.net/date.default-latitude
    & c% N; Y5 @6 u5 ^& `% ]. ~
  939. ;date.default_latitude = 31.7667: V0 d7 {/ t9 I( q3 k
  940. $ b4 ]0 Q/ T# `9 K, z! x
  941. ; http://php.net/date.default-longitude
    8 @" G& E  q; z
  942. ;date.default_longitude = 35.2333* B  b4 }( u0 [
  943. . u7 C" c8 q. u1 k. J( y, |
  944. ; http://php.net/date.sunrise-zenith9 `' C! V  y% d4 G
  945. ;date.sunrise_zenith = 90.583333
    , s- ~& Y+ P5 W/ k
  946. ) h+ l5 J; X5 Q
  947. ; http://php.net/date.sunset-zenith
    " d4 x; d( z) h4 B& v9 v( W5 K4 E2 |0 F) O
  948. ;date.sunset_zenith = 90.583333
    . o% n4 x& N  J) Y% i! B

  949. & }- W# e, U7 J. j
  950. [filter]# j. D; A( T7 }" i2 Q* z
  951. ; http://php.net/filter.default/ F7 K$ i7 C* A
  952. ;filter.default = unsafe_raw! @0 w* [$ ]1 A

  953. / @- a! c7 \6 `
  954. ; http://php.net/filter.default-flags
    9 I9 u" B; v, d" A1 m
  955. ;filter.default_flags =3 ~' }3 L9 |$ [2 r6 s" I) c

  956. 7 @" C; f' ^3 L( `3 i
  957. [iconv]2 O( v. v2 a' \7 r4 Q9 O1 Z4 ^
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    4 v* t# d" t3 m, B1 }: l
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    - d6 N: v3 Y1 H2 b1 j
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding/ q  _% K7 [- [2 [8 D# r! Y: K- M4 F
  961. ;iconv.input_encoding =6 v7 ^+ u: s) Y* @; q
  962. / h& H; p, a2 q$ R  |: J% I
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.: y, @; \: p2 W7 q6 c
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.8 M( ^$ _$ n; k7 `7 M6 V& r/ }
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ! A! I* ?: e# v1 u2 B8 {
  966. ;iconv.internal_encoding =: @+ t5 i: `- x% I- ?
  967. 8 t7 `) n6 q+ k2 e( s( A
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.' |; X9 v8 ^1 i8 q
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.4 @' T# f$ s! p( J1 K
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    , Q$ H# F6 d* ~; H9 w1 f* h' ~
  971. ; To use an output encoding conversion, iconv's output handler must be set4 n: t' H/ U1 z/ w/ P
  972. ; otherwise output encoding conversion cannot be performed./ _7 S+ ^2 g, L4 w5 d) y3 A0 P5 K) C
  973. ;iconv.output_encoding =
    3 |; q8 H5 E& @

  974. ) `! m6 s, N0 R
  975. [intl]& a; L4 k, Z( ^5 x  T
  976. ;intl.default_locale =6 H5 e% c' i2 e( }! ^* d+ Z* T
  977. ; This directive allows you to produce PHP errors when some error- Z" `( W) {7 y& T  s0 ^# v
  978. ; happens within intl functions. The value is the level of the error produced.
    * M$ u% e; H0 u0 L8 ?# X
  979. ; Default is 0, which does not produce any errors.* a! O% v3 z$ \$ Z7 E0 p
  980. ;intl.error_level = E_WARNING
    7 J! Q: n) z! ?5 R* W) f) \
  981. ;intl.use_exceptions = 0
    # D/ c" X+ W* b+ f) \2 ?
  982. 9 y, z; u4 M% e2 v) R+ i9 Z2 j
  983. [sqlite3]
    # ^  D9 h! n% I7 I7 H
  984. ;sqlite3.extension_dir =; ]6 d8 V* a6 ]
  985. ! \8 l7 q4 [  P2 Y2 h- a4 I
  986. [Pcre]+ S( t1 P. ]1 t6 o7 V. l8 Y
  987. ;PCRE library backtracking limit.
    5 _! M4 d2 ~' T* b
  988. ; http://php.net/pcre.backtrack-limit
    % l/ H( s9 v# Y. q
  989. ;pcre.backtrack_limit=100000
    , I& c& w& U# U

  990. 9 m& Q& G9 F0 H6 }* d0 k
  991. ;PCRE library recursion limit.; [3 K7 O: t( j: \
  992. ;Please note that if you set this value to a high number you may consume all
    ) D& P+ l+ q* q$ @
  993. ;the available process stack and eventually crash PHP (due to reaching the" s3 I. f7 a, C3 E
  994. ;stack size limit imposed by the Operating System).. b. x, E/ g8 l! G, |2 B
  995. ; http://php.net/pcre.recursion-limit
    8 z# S( H% W0 s3 Y
  996. ;pcre.recursion_limit=100000, y0 `( j% {6 ^+ _7 o
  997. 6 i- F: [, x: o
  998. [Pdo]8 u3 f6 j/ y& n: k8 L& z0 \! F+ F
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"/ G; B. ^* O- e
  1000. ; http://php.net/pdo-odbc.connection-pooling
    $ h5 P3 F5 T. E. e* t- o- |- \2 p& G
  1001. ;pdo_odbc.connection_pooling=strict
    5 h0 ~) {9 g2 T$ Q% Y4 e8 @
  1002. % I5 C: \8 @  Z) Q: t
  1003. ;pdo_odbc.db2_instance_name3 g  g9 T- T# g; h6 F* P! ?2 j
  1004. 1 c# K" w4 {- o' K6 c7 }
  1005. [Pdo_mysql]9 |  {) R* B: M; b$ n
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    9 ?+ A# n* U% v# J$ \
  1007. ; http://php.net/pdo_mysql.cache_size
    4 [6 t2 x1 V1 K" j) j" i
  1008. pdo_mysql.cache_size = 20008 C3 L9 I) O9 f* @* Y
  1009. 0 o, S$ d, P' J% J% \4 F5 ]' H7 b
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in7 _' \9 f7 q! {$ @7 Q" p7 V
  1011. ; MySQL defaults.
    " V% j3 ?  U; |4 p- J
  1012. ; http://php.net/pdo_mysql.default-socket! J2 _8 K  @: q1 r
  1013. pdo_mysql.default_socket=
    + ]% w; c* r' B! b2 T6 V1 K9 e

  1014. + t5 ?+ y, B/ c" a
  1015. [Phar]) |) [- T0 L$ `' T
  1016. ; http://php.net/phar.readonly5 A; M! E8 g. W9 X
  1017. ;phar.readonly = On
    7 J+ P2 `6 n' o1 f
  1018. ( _2 R% T, u# A* ^
  1019. ; http://php.net/phar.require-hash2 [- ]1 y: z8 ~3 z* x$ R4 U
  1020. ;phar.require_hash = On
    5 K1 i8 T3 }9 F' E! B

  1021. 1 @: F, }! o0 ]& \; \/ ?
  1022. ;phar.cache_list =
      S- D4 L; y- g7 s
  1023.   n9 Z2 P% Z. f$ b
  1024. [mail function]
      c9 K" a3 `5 w
  1025. ; For Win32 only.
    ' X$ o6 z3 k& C: s' N7 Y1 T& ~
  1026. ; http://php.net/smtp; E$ }  F% O/ o8 r% H
  1027. SMTP = localhost
    ' C1 r. `8 A6 ]! }* }- E
  1028. ; http://php.net/smtp-port
    * W: M7 M. f- U- S
  1029. smtp_port = 25$ z9 B! z8 E& J6 h# F9 B2 o

  1030. 9 ]6 j& G) e9 I& V4 b. [" Y
  1031. ; For Win32 only.  T7 }4 M7 ?* z$ a8 z. {8 o
  1032. ; http://php.net/sendmail-from$ Q+ d) s- N  f
  1033. ;sendmail_from = me@example.com% ]% X9 E& n; q" O

  1034. . _, S, m7 [& ~' m* p9 ?7 _; n
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").: Y% l# U& \6 T0 `$ q
  1036. ; http://php.net/sendmail-path6 m8 i+ Z* V4 V( Q2 E3 p3 K1 p
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    + M9 G* n& N7 j9 J. J

  1038. 4 v  n" O0 n- Z
  1039. ; Force the addition of the specified parameters to be passed as extra parameters. _+ e% `: N0 M) f
  1040. ; to the sendmail binary. These parameters will always replace the value of
    # d7 j4 d; @( C7 {1 m
  1041. ; the 5th parameter to mail().
    ; P7 \; S  Q& l4 c' L
  1042. ;mail.force_extra_parameters =( H3 f$ r5 k: X9 ]8 a

  1043. ! Z% `) O3 Z. \: X1 [% N, m
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename  i1 _7 [0 L; m; \
  1045. mail.add_x_header = On
    3 o2 N$ x% V8 }% D) E; R

  1046. * z9 P8 I/ _, |$ A, k- _: J
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    ( o3 c4 s( R; z" y) ^
  1048. ; the full path of the script, line number, To address and headers.
    / V! @% L8 }5 |" U/ Q* ]
  1049. ;mail.log =% \# K, s# \" U% n# }; V; u* @
  1050. ; Log mail to syslog (Event Log on Windows).
    # L9 j7 _/ I/ Z! A. Y
  1051. ;mail.log = syslog* z; d4 L9 R* C+ m  w( [, }7 m3 F* j1 y
  1052. ; I, R# v. H$ x) M$ ~% p
  1053. [SQL]6 a; @7 H. z2 Q3 E
  1054. ; http://php.net/sql.safe-mode. r0 U3 h) I7 n  |( S1 x; U% @
  1055. sql.safe_mode = Off3 \+ t- A6 |$ [) @
  1056. $ a6 u7 f' `- ~( C9 m  ~$ A
  1057. [ODBC]
    ' a2 u/ B4 e5 N+ B# \& h; n
  1058. ; http://php.net/odbc.default-db( ~- k* @" ]- f' _( N  P5 i$ b
  1059. ;odbc.default_db    =  Not yet implemented9 Q6 s/ w: @5 n) O+ e" o* v
  1060. ; G# m- I* J% y" D6 h- t
  1061. ; http://php.net/odbc.default-user
    & a# _. A; M$ ], R4 u1 h3 n: A- s2 {
  1062. ;odbc.default_user  =  Not yet implemented
    4 P; R- a" N: v4 i1 G( H
  1063. ! A% i, I! L  X9 `
  1064. ; http://php.net/odbc.default-pw
    3 C  g) G) |  y+ o
  1065. ;odbc.default_pw    =  Not yet implemented5 `# ]3 ~/ ?4 R- a( e$ @
  1066. 0 P. S- h  Q7 Y! I! ?
  1067. ; Controls the ODBC cursor model.
    # G: X/ G: `4 g0 c9 Q2 O
  1068. ; Default: SQL_CURSOR_STATIC (default).$ N! a% u2 B2 q- `
  1069. ;odbc.default_cursortype
    5 q2 O! S. |- d1 T0 F; {0 d
  1070. : U% [2 v9 B2 j5 Y
  1071. ; Allow or prevent persistent links.2 t: e* g! w4 P
  1072. ; http://php.net/odbc.allow-persistent) F1 n& ~) `' `, R
  1073. odbc.allow_persistent = On
    " @9 _& O" F# r
  1074. 3 [: z& t0 i$ Y: h% M3 |3 s; n- f
  1075. ; Check that a connection is still valid before reuse.
    + I+ a7 d# L+ L1 ^  m# k
  1076. ; http://php.net/odbc.check-persistent; c5 c9 X, p1 P- _6 a0 q* b. l
  1077. odbc.check_persistent = On
    0 G4 L6 Q) S+ r- ?2 |

  1078. 7 D5 j' W  U* g. Q/ m& K6 w
  1079. ; Maximum number of persistent links.  -1 means no limit.$ u0 v* ?( }1 \: |6 m( O
  1080. ; http://php.net/odbc.max-persistent
    ! ]; A# W1 s" G# _
  1081. odbc.max_persistent = -1" c1 c) G' V, i+ C- v
  1082. : N" r6 d0 i8 K, T) V
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.+ W( w3 }/ U" E0 G/ ^2 L
  1084. ; http://php.net/odbc.max-links
    # @0 \3 Q4 g0 m* Y% t$ r
  1085. odbc.max_links = -1! N) I, G! @: \$ ~& C# P
  1086. % K, t) D+ S3 Q  P3 ?1 ~
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    2 ^! s0 @6 `4 @; [/ Z  K
  1088. ; passthru.
    1 G( Z5 h* H, v* s' S  ~
  1089. ; http://php.net/odbc.defaultlrl
    ' N+ M# R5 Y- v3 x8 V: k' P8 c, K
  1090. odbc.defaultlrl = 4096- m; M  N" S( m# k/ T
  1091. $ T4 |3 r( G; d& Q, \0 w
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.9 C3 F8 B6 N/ I  z, {; `
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation! b, k+ r' @  q" f0 I% I" r2 h
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ' X5 ]. }1 q& s; ?$ n6 ?! {
  1095. ; http://php.net/odbc.defaultbinmode/ C/ u1 f) G" B! f9 H
  1096. odbc.defaultbinmode = 1
    , q# [0 d2 J& a0 J& u0 E

  1097. 2 U+ B9 T9 J% A. [/ D4 S
  1098. ;birdstep.max_links = -1. h( A' H5 B; d. K/ P, x# w( x
  1099. 3 G) e0 P: W7 @/ V' a1 H' H( _# Q
  1100. [Interbase]
    * \0 K! {2 s1 l  Z* W) N
  1101. ; Allow or prevent persistent links.
    & q- s+ X/ Q& H8 J# r) ?4 G  W
  1102. ibase.allow_persistent = 1
    $ T" R0 R. s# d1 k1 E) C5 C* h
  1103. 0 ?- q. C- ~% @" ^! ]$ R* ~- R
  1104. ; Maximum number of persistent links.  -1 means no limit.- a6 [9 _, \. A/ ]& ?4 n1 l
  1105. ibase.max_persistent = -1" Q$ I3 m# O# }/ F7 t: p! u+ c
  1106. 4 K4 [7 I& d( W- P! F6 Y
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.6 L; g7 O. q' q8 q1 m: H
  1108. ibase.max_links = -1/ O! E5 d: [* H- N5 W1 S

  1109. ) N$ R% Z1 O4 _4 |0 `% T
  1110. ; Default database name for ibase_connect().) L5 b- O3 v+ A5 c, {' D
  1111. ;ibase.default_db =
    9 O" L; P7 c* \0 }

  1112. 2 u, `7 Y* h, d1 {1 t
  1113. ; Default username for ibase_connect().. r3 h  J6 w# K& {4 p4 ~
  1114. ;ibase.default_user =; J& k  C2 G3 S2 u; V  }) f, J

  1115. 6 S! I' R, W3 Q; A  d4 z
  1116. ; Default password for ibase_connect().0 X) X9 Y! O, K) D& i: g# u/ w
  1117. ;ibase.default_password =' O  u9 X# E1 G4 B* |4 Q. H' \. l4 h

  1118. 9 y3 y2 u/ ~4 E0 }
  1119. ; Default charset for ibase_connect().
    6 j% |% |8 ^3 E
  1120. ;ibase.default_charset =' U. v! T/ y5 P! o2 Y
  1121. % F( t3 W( B0 N" P  e
  1122. ; Default timestamp format.
    ! t3 V& P- m: z0 n3 f+ k
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    5 P8 F: e3 W/ G, V4 j
  1124. ; h) a" e: [+ }
  1125. ; Default date format.9 x; d( q) r$ N$ F0 H
  1126. ibase.dateformat = "%Y-%m-%d"2 G7 w1 `, m; L+ G, J, R! R
  1127.   H0 \1 M2 J1 y! ^
  1128. ; Default time format.
    ! W; V+ V  q( U. w" o) J
  1129. ibase.timeformat = "%H:%M:%S"
    4 @2 Z, g. ]; \3 i2 _

  1130. " _' W: v" W$ v6 g  n
  1131. [MySQL]
    9 m! o5 u% V- C, ~2 }
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements# z7 ^; O9 G1 E& e3 Q) U* i
  1133. ; http://php.net/mysql.allow_local_infile4 ^( U6 f2 p6 J5 `
  1134. mysql.allow_local_infile = On* W& }  C5 m" ~3 b
  1135. ) A2 Y( W+ {7 p( x1 @% E% D
  1136. ; Allow or prevent persistent links.9 a3 t8 G( ?% H$ T9 V. |' J
  1137. ; http://php.net/mysql.allow-persistent
    4 I) b3 c; y0 L( m* l( i
  1138. mysql.allow_persistent = On
    3 S$ t; y! j! U6 X5 ^7 Q* E

  1139. , [2 F: W1 h2 a/ i9 j& y. c
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
      y- F3 ?% ^2 B
  1141. ; http://php.net/mysql.cache_size
    + N% G8 s6 N( Q) o1 ]
  1142. mysql.cache_size = 2000
    9 v8 _3 U: O/ [# Y
  1143. : M! B6 n1 U& M) ?0 {( R
  1144. ; Maximum number of persistent links.  -1 means no limit." M  m* `- d* _/ ?# D2 a- `
  1145. ; http://php.net/mysql.max-persistent/ \4 I6 o0 h3 z6 l2 u
  1146. mysql.max_persistent = -1
    , d! g0 @4 s6 g( @, ^  j2 J9 C
  1147. 0 h0 n$ O) _9 h; N& r
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    4 x+ e5 \. H3 [  O3 L" `) z
  1149. ; http://php.net/mysql.max-links6 W+ }; p/ \3 R; E! t
  1150. mysql.max_links = -18 ~4 u8 f, C1 l8 M1 X
  1151. ' a* }% `" U+ r
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    ( W( @6 U; P3 z  B4 i5 U
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    8 a$ o7 o, G- R" P
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look( E9 M1 H1 N+ J7 M0 ]9 D  }9 N5 f
  1155. ; at MYSQL_PORT., E; b0 u, y- i$ ~
  1156. ; http://php.net/mysql.default-port
    ' d4 Y7 E# y* i* V3 ~9 ~
  1157. mysql.default_port =
    / s" R% [: `: M% C& Y1 q/ y

  1158. , S& G7 |* Y# h3 g
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ! {# `1 a$ r8 p! U3 C' N% l' p
  1160. ; MySQL defaults.- E* z7 k% X6 r4 Y& e9 @9 [5 A
  1161. ; http://php.net/mysql.default-socket
    + f, @/ t7 {8 r, ~4 Y" @6 S
  1162. mysql.default_socket =8 p# \' ~& m. u/ W4 E& o7 [, B
  1163. 1 `  w  R! k9 f6 |+ ?
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    & h9 G6 z+ I3 U
  1165. ; http://php.net/mysql.default-host
    4 z3 o) K$ R- X% Q$ x( h: N5 M
  1166. mysql.default_host =6 h# }8 n6 g" R, M) s/ ~

  1167. + r7 q/ j, {$ B( _! n3 o
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).0 y$ c6 p2 F- t# o
  1169. ; http://php.net/mysql.default-user
    $ P/ K+ K! Y' X2 B8 ]: E* ]
  1170. mysql.default_user =
    & O$ L! C* K" g7 k/ t

  1171. # y* C1 s% ~9 C! T/ n
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    ! g9 f& c: D% Q/ W2 h
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    # p' [9 I3 P. \3 Z# C
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    . h  |6 m$ p! r2 j* y' b- K$ S
  1175. ; and reveal this password!  And of course, any users with read access to this
    ( [6 s6 }5 F4 q4 a" t6 G6 E/ b$ M
  1176. ; file will be able to reveal the password as well./ ]5 C, P% f3 z; }8 o+ N
  1177. ; http://php.net/mysql.default-password4 ^( w* k( O4 ^+ }) o/ g
  1178. mysql.default_password =+ l: u4 D1 _# ~1 V! C/ h3 C% a, v3 d

  1179. & C, H6 E* Q3 I2 H" Q. [( p" A
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    9 Q, G) l$ P6 g5 S8 K
  1181. ; http://php.net/mysql.connect-timeout
    + L+ ~6 c' H* X5 Q, c
  1182. mysql.connect_timeout = 60, C2 V- I2 b. T5 n' Z$ j$ U
  1183. & [5 M1 z% v0 M- J
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and$ a7 D: z; L3 h4 `4 c
  1185. ; SQL-Errors will be displayed.
    $ E! [/ {# o5 O3 S* `; H  \
  1186. ; http://php.net/mysql.trace-mode4 a& _, O6 s0 C7 z7 V6 k
  1187. mysql.trace_mode = Off
    + p+ ]& B; D, z: u/ w/ R* `; _+ D

  1188. . z7 F! x! B/ S1 p0 n6 V
  1189. [MySQLi]4 v# O3 B" u. d. n: B

  1190. ; o6 {8 m% w& h& y# u& P2 A/ G9 g/ a: Z
  1191. ; Maximum number of persistent links.  -1 means no limit.
      z" q2 p: e" \  z8 U6 N
  1192. ; http://php.net/mysqli.max-persistent. R- |; G4 h# g# s5 A: y
  1193. mysqli.max_persistent = -1
    % W: _+ ?6 Y* |5 ?
  1194. - I( d3 X, b. S
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements( h5 l' j6 g" d% z2 X. [) M
  1196. ; http://php.net/mysqli.allow_local_infile
    ) W$ {2 C8 _# N  R1 i& w
  1197. ;mysqli.allow_local_infile = On1 V2 N$ a, H% _* {$ N# [( O; \
  1198.   X( L; K1 b: R) [5 S
  1199. ; Allow or prevent persistent links.
    1 `6 O/ |6 m. ]( z6 r9 w
  1200. ; http://php.net/mysqli.allow-persistent
    & W  i# f$ @. ^7 r9 F
  1201. mysqli.allow_persistent = On
    4 y2 h! J$ Y8 P, Y6 A

  1202. 2 \( N' \& g3 a) M+ Q
  1203. ; Maximum number of links.  -1 means no limit.
    3 B8 U- \  ?4 Y. i+ w, x
  1204. ; http://php.net/mysqli.max-links
    4 ^$ \" D' R" X
  1205. mysqli.max_links = -1
    & m" z& n6 Y5 Z8 o
  1206. 1 V! X' ?/ Q- S6 i7 q
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache) j5 g" a3 N9 G( V" A' }/ ^# G
  1208. ; http://php.net/mysqli.cache_size; ~8 }! C' V0 ]$ \8 c; S
  1209. mysqli.cache_size = 2000
    ( I+ f# L3 F# w  @# Y( `
  1210. , h* E2 |8 Y( O- y" z
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use: N0 {4 A/ a* o3 H. T- }
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the3 ?, ^! F6 G9 o. {9 b
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look$ q) W7 @7 f' o5 k9 n
  1214. ; at MYSQL_PORT.2 B( M' Q. S1 B, S; H
  1215. ; http://php.net/mysqli.default-port
    4 L$ u: H: ?; F7 G. V. I8 n/ o
  1216. mysqli.default_port = 3306! S! W8 b* ?( H7 t) _7 }  K! c: m

  1217. * H: I7 E9 K, F8 h" K% K
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    7 ~' J0 B- H( h1 T' n
  1219. ; MySQL defaults.- q' h2 d6 f, i/ W, S) K6 v/ s
  1220. ; http://php.net/mysqli.default-socket
    5 e! f  j7 W- B7 O
  1221. mysqli.default_socket =) @4 H0 s) j6 }: n( D* w
  1222. ; ]) z: T2 }, n
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode)./ @- F% J) u" J
  1224. ; http://php.net/mysqli.default-host
    : @+ @5 O9 \3 G/ K/ ~# H
  1225. mysqli.default_host =7 S; U7 N5 z5 \9 C3 V
  1226. $ B2 @# L+ G9 f4 S
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    5 t; ~+ n8 [+ H9 i
  1228. ; http://php.net/mysqli.default-user! S1 ^; J; f4 f$ z# _9 V
  1229. mysqli.default_user =2 k& }" j6 @  F# H
  1230. 8 g/ _5 ^2 W5 G+ p
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).$ K8 E$ j% D; e2 |: f
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.' U. j) Y/ w" K
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    6 Q" j! N1 |% j  T
  1234. ; and reveal this password!  And of course, any users with read access to this, P/ y( r* t- ]% ?5 q2 v! O
  1235. ; file will be able to reveal the password as well.
    2 }; R, g6 S1 p/ P( u  Z4 d; c0 z
  1236. ; http://php.net/mysqli.default-pw: w( Z& x" V9 P8 z; L- l$ r
  1237. mysqli.default_pw =5 f% m( p6 n' e! g' e5 B

  1238. ( E7 S+ q1 H4 W
  1239. ; Allow or prevent reconnect
    6 D- M3 N! H5 @+ j7 r* D
  1240. mysqli.reconnect = Off$ u) l. x+ s6 o. ?4 b$ t

  1241. + \  l  C5 a9 w+ n# i
  1242. [mysqlnd]
    ; W/ T" o3 s5 ]3 }' E- s, u' }5 O( Y
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be( g  `: ?0 B5 |
  1244. ; used to tune and monitor MySQL operations.; v# s3 K3 {, o# i
  1245. ; http://php.net/mysqlnd.collect_statistics
    . X! P5 E+ n9 z" ], f8 g* W2 E6 B
  1246. mysqlnd.collect_statistics = On
    ' `, ~1 b% k& ?9 o5 {# p. T' Q
  1247. 3 Y1 k- f4 q4 ~9 K
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    2 c  u) i$ U1 e2 Q4 d: |/ I
  1249. ; used to tune and monitor MySQL operations.
    % l& f7 k" `4 j$ i5 L* m
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    $ Y3 X* b3 S# N& D; A
  1251. mysqlnd.collect_memory_statistics = Off) ?4 }" g. s/ C5 r7 N2 ?5 T
  1252. . e; A3 |, y' [* Q7 Z2 U
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    . p: i4 ^2 X$ r3 {
  1254. ; file.
    3 d0 b: Y6 ]! u& [# R- T
  1255. ; http://php.net/mysqlnd.debug
    $ X9 F" T+ M$ _2 F+ K
  1256. ;mysqlnd.debug =
    1 b# M; q; t$ `+ [& ]# t

  1257. / y! _/ u# L$ \; j6 m1 k* |8 j
  1258. ; Defines which queries will be logged.5 c" W6 `4 j2 q& i' y- {
  1259. ; http://php.net/mysqlnd.log_mask
    : H% H* T5 u( L
  1260. ;mysqlnd.log_mask = 0" U5 }8 ]1 v8 g6 Z1 z5 l
  1261. # b& E5 e* g' Z1 m$ k
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.5 p$ Q8 \0 a6 W6 K* d
  1263. ; http://php.net/mysqlnd.mempool_default_size
    9 T, d1 \" E" P" ?, v' |0 ]% u1 J7 W
  1264. ;mysqlnd.mempool_default_size = 160005 d% C% ^% b- {' f
  1265.   x# s( _4 z, V7 W- N
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    / c3 {& d0 r' J8 y1 s4 N6 Q
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ; _/ U3 w) u! q5 S
  1268. ;mysqlnd.net_cmd_buffer_size = 20483 `: A3 Z0 ~5 f% j

  1269. . Y& W! O8 a1 Z" g2 L
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in  b5 i6 H* g" F- M5 N2 _4 G
  1271. ; bytes.( d% M3 j( }4 k; I; M2 T
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    % `: q% z6 b$ e) i$ a- t
  1273. ;mysqlnd.net_read_buffer_size = 327684 v- ^4 g0 e" @4 F

  1274. ; n; w# q4 [5 p& n: ?, ]
  1275. ; Timeout for network requests in seconds.
    1 `3 D$ k/ f" F* q6 y8 K* }# U8 F. r
  1276. ; http://php.net/mysqlnd.net_read_timeout% E+ D- m8 C# I; _
  1277. ;mysqlnd.net_read_timeout = 31536000
    4 V8 K" E; |1 ?$ m
  1278. $ r4 O' [7 a% ~7 }6 G' }$ J; E) i
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    * d4 G" E$ r) u0 h( W# E$ o0 i
  1280. ; key.
    2 l7 T5 y, f4 e: j
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    / f7 O9 j6 @! K) k) n: Y+ R
  1282. ;mysqlnd.sha256_server_public_key =, X" c! B2 P; n, S  @5 ?/ t2 h

  1283. * G5 N6 s' n, I0 C5 ~$ W
  1284. [OCI8]
    9 j: n' f4 u. P( B

  1285. - c' W4 g& h# y9 v
  1286. ; Connection: Enables privileged connections using external  ?3 f. E8 N* ]' t+ E+ j
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    - j4 W( E: u" c! m
  1288. ; http://php.net/oci8.privileged-connect
    ) f1 A3 p" m* q8 d* W6 k2 I2 x
  1289. ;oci8.privileged_connect = Off
    * h. h2 H% I+ ~* L  o
  1290. 4 A2 \* a1 ~9 T' m% A
  1291. ; Connection: The maximum number of persistent OCI8 connections per0 h" I) F# k. x/ h# I9 l, G
  1292. ; process. Using -1 means no limit.$ S! [" ?) [9 Y) S5 Y5 E) a
  1293. ; http://php.net/oci8.max-persistent- H- R1 u2 B  B, Q; p
  1294. ;oci8.max_persistent = -1/ J+ y, K; d; M4 {% Z7 U
  1295. 2 C' Z, K' D1 P1 _1 `1 S/ \3 [  E
  1296. ; Connection: The maximum number of seconds a process is allowed to
    2 R8 P  P" {1 B4 ^' ^
  1297. ; maintain an idle persistent connection. Using -1 means idle
    & @( b# D0 m9 L" E" u! k
  1298. ; persistent connections will be maintained forever.8 @1 A6 e  n" C% b/ t8 R
  1299. ; http://php.net/oci8.persistent-timeout8 T7 [/ X! b, S
  1300. ;oci8.persistent_timeout = -1
    0 M, G/ x; W2 J1 Q$ i
  1301. # K& |' t; }, {' w/ g
  1302. ; Connection: The number of seconds that must pass before issuing a4 ]2 @! A5 w; K& |; a7 `$ c! d
  1303. ; ping during oci_pconnect() to check the connection validity. When
    ! f. T# r- W' ]) f' a* U
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables! c+ c0 B5 F! Z" P6 p9 [0 g
  1305. ; pings completely.& `1 Y* n  L9 K4 e9 U
  1306. ; http://php.net/oci8.ping-interval
    " h4 d! A" l  C- V. O6 i7 l% E
  1307. ;oci8.ping_interval = 60/ a" `! t! t% X$ z; n
  1308. % f# w7 o! h/ V
  1309. ; Connection: Set this to a user chosen connection class to be used( M. k' I8 K/ ~* r7 N7 m
  1310. ; for all pooled server requests with Oracle 11g Database Resident& t" I) d% u$ X+ R- c/ s
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to! p- o' k7 Y/ ~0 B( G- G3 U& S
  1312. ; the same string for all web servers running the same application,
    : C7 W) k; v$ Z% x* b# R  h
  1313. ; the database pool must be configured, and the connection string must0 w. A/ n8 d( c4 j4 A5 _
  1314. ; specify to use a pooled server.
    4 X' ]" j/ `% ^5 G# R, T
  1315. ;oci8.connection_class =, D8 d! K$ r5 e. X! ]
  1316. ' Q( E; k: R  @6 h! {/ f
  1317. ; High Availability: Using On lets PHP receive Fast Application: S% A; T! W4 {. e9 T7 s
  1318. ; Notification (FAN) events generated when a database node fails. The% \3 @" A) Y. u* n# t5 P) P
  1319. ; database must also be configured to post FAN events.
    , w* ~# \" P* |1 P0 L
  1320. ;oci8.events = Off* K) x* d( M) f6 s
  1321. 3 D1 S! D: o8 ^4 @
  1322. ; Tuning: This option enables statement caching, and specifies how# g$ j2 M, v* f1 Q  V8 \  t* s
  1323. ; many statements to cache. Using 0 disables statement caching.
    8 E$ M) ]/ r0 i  Z; a
  1324. ; http://php.net/oci8.statement-cache-size
    - @, M7 f7 X, x# I3 Z
  1325. ;oci8.statement_cache_size = 20
    # k, D* t- c" w* e3 D
  1326. % g% q3 S0 ], D3 L" |; f' b
  1327. ; Tuning: Enables statement prefetching and sets the default number of$ e: ^1 L( j# M' n% R4 ^
  1328. ; rows that will be fetched automatically after statement execution.6 o! e8 ]4 L0 x$ T
  1329. ; http://php.net/oci8.default-prefetch+ P3 |/ e% R1 M3 D
  1330. ;oci8.default_prefetch = 100
    8 H5 a5 P& O2 z+ U2 e6 W6 [& i

  1331. ; ]" P2 {" U" P4 V0 h8 h- u! c
  1332. ; Compatibility. Using On means oci_close() will not close+ l# B+ M5 q8 Z
  1333. ; oci_connect() and oci_new_connect() connections.
    ( Y* U1 N1 @8 _" i) E: H! i$ A
  1334. ; http://php.net/oci8.old-oci-close-semantics/ ~4 U2 a3 h" Q' t, X2 r* U
  1335. ;oci8.old_oci_close_semantics = Off/ O& E+ ?2 c( F" C: N4 i

  1336. - A; @% N' {7 u9 @5 X4 [" h
  1337. [PostgreSQL]0 R" {, d9 y' @0 M
  1338. ; Allow or prevent persistent links.
    . ^* z9 w* U/ H8 o4 K
  1339. ; http://php.net/pgsql.allow-persistent
    7 @0 D2 r, ]# M( B2 F7 l
  1340. pgsql.allow_persistent = On
    ( Y: U. O1 Z, A0 Z

  1341. 6 X$ x* S* f; |5 o
  1342. ; Detect broken persistent links always with pg_pconnect().
    9 R0 k: K0 v* V0 R
  1343. ; Auto reset feature requires a little overheads./ h2 p/ l. v0 {$ L
  1344. ; http://php.net/pgsql.auto-reset-persistent5 ^9 A3 ]& u+ V: |3 `2 m- a7 E
  1345. pgsql.auto_reset_persistent = Off
    ) R. n0 I0 e4 Y$ s! |' H

  1346. 4 W1 P+ n9 h; y1 J2 V; r- k
  1347. ; Maximum number of persistent links.  -1 means no limit.$ p1 l% Z) N8 k( h
  1348. ; http://php.net/pgsql.max-persistent
    4 L' a! `; B- G) C3 N: t' J7 Z
  1349. pgsql.max_persistent = -1! h1 j8 M7 O& n& j- n
  1350. % O% Z/ U' b# O! ~3 T
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.! ]8 ]( ?. M  o- n1 X- {
  1352. ; http://php.net/pgsql.max-links$ Y, D! @; W7 M4 g! O
  1353. pgsql.max_links = -1
      {" C/ V8 U* O

  1354. $ e' ~2 l  D- C3 B) z
  1355. ; Ignore PostgreSQL backends Notice message or not.
    & E6 Z& R; P+ n1 Q% i, R
  1356. ; Notice message logging require a little overheads./ B& z& [3 B4 u3 ~' F4 g
  1357. ; http://php.net/pgsql.ignore-notice; q5 e. Y0 h1 T. O- _" n
  1358. pgsql.ignore_notice = 0: h; Y5 X/ A5 n7 Q

  1359. - H4 q' C# P. J2 R
  1360. ; Log PostgreSQL backends Notice message or not.7 Z- w- b+ b) {( @
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    7 V% H' }5 u# S0 O7 M
  1362. ; http://php.net/pgsql.log-notice* d  K+ `& s4 H& c- L. j+ [
  1363. pgsql.log_notice = 0$ J; J1 d1 w7 s; ]; Y$ J7 R
  1364. + l& B# L1 K) _, ~
  1365. [Sybase-CT]
    1 k( h; a2 W: D3 l. N* k
  1366. ; Allow or prevent persistent links.3 Q! x& k* y9 q/ f- Q- f
  1367. ; http://php.net/sybct.allow-persistent
    9 o$ i* m' P7 h
  1368. sybct.allow_persistent = On1 ^5 r; i  \! G6 _! r
  1369. ( V# A' n: g1 z, L$ j% D: ~
  1370. ; Maximum number of persistent links.  -1 means no limit.
    5 Z* a) J3 x3 Z7 K" F* W. M
  1371. ; http://php.net/sybct.max-persistent
    ! l% F  k: f! a
  1372. sybct.max_persistent = -1
    9 V  ]- j6 E8 m* V/ L! j/ l8 Q  q

  1373. ) O3 |6 S& ?5 O1 k  D
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    3 k* @4 c6 ^, C. S% @+ x3 F
  1375. ; http://php.net/sybct.max-links
    : o7 [: Q% G: M
  1376. sybct.max_links = -1) q7 V5 z) m6 h" u( M

  1377. % ^- |3 u' I9 T$ }
  1378. ; Minimum server message severity to display.
    % H; F$ q0 u0 O# G4 V* x
  1379. ; http://php.net/sybct.min-server-severity
    6 h; y% I; q1 p- v& C
  1380. sybct.min_server_severity = 10; f% d9 ?3 p/ q; d# k

  1381. : U" \- w. i2 }/ V& v7 ^) c* v
  1382. ; Minimum client message severity to display.
    4 \9 [$ \: Q- m7 G* B
  1383. ; http://php.net/sybct.min-client-severity
    , a1 J$ n* Y2 W/ E( v' z
  1384. sybct.min_client_severity = 10
    2 z; q( G- s' C; F" j  B: t5 p* [# l

  1385. ; n0 d+ M( G8 Z  m* H5 \( y* z$ j
  1386. ; Set per-context timeout
    % W- O+ h2 z$ g
  1387. ; http://php.net/sybct.timeout# P/ p  I2 T7 ^" i$ e; M( q& X
  1388. ;sybct.timeout=! h0 H# o6 l7 x" e
  1389. 9 i. b# p+ O0 S9 }: d2 o& M" }
  1390. ;sybct.packet_size5 i2 F, [0 _) f: `/ I# e) ]' A. t# V

  1391. $ d) M7 z0 g+ R, `) V
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.9 K. n8 f. a+ `  c2 ?
  1393. ; Default: one minute
    % X* K* `, T7 F! {
  1394. ;sybct.login_timeout=
    ) a$ v9 d* F# {% W7 n) ]4 U

  1395. ! n7 u" y1 b7 y/ }% z
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.& ^6 M* U8 R/ E
  1397. ; Default: none
    . {8 s% F* i  R4 d
  1398. ;sybct.hostname=. I: \/ H9 E: P
  1399. ! i! u2 d3 ^& z4 N
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".' v* m4 ]* A) \0 z8 |- y
  1401. ; Default: 0
    9 `2 H& z" b( A0 }5 z( L$ h0 ~
  1402. ;sybct.deadlock_retry_count=1 @5 F0 j3 S6 A1 X
  1403. ) Y$ Y$ g; M$ x5 n+ }# D, e7 C6 P
  1404. [bcmath]$ ^) O0 }9 Z" Q5 G6 ?! j. F
  1405. ; Number of decimal digits for all bcmath functions.
    - Q. `$ B+ G' ~+ R
  1406. ; http://php.net/bcmath.scale
    * ?9 o6 A  {& D
  1407. bcmath.scale = 0
    . z2 }: ^$ `, r( k( M- ~  V

  1408. % ^( {1 H0 R2 i3 X
  1409. [browscap]! Y4 `: ~  |; W7 ^; e: r0 r
  1410. ; http://php.net/browscap! m9 A# ~: g2 E5 J! N0 T; D8 q
  1411. ;browscap = extra/browscap.ini! p( U/ O& r  X2 I/ c& {

  1412. 6 s7 u& q) J& \0 G
  1413. [Session]9 y% r' W7 l( d2 L+ Q2 |" k+ V
  1414. ; Handler used to store/retrieve data.
    0 e; n3 X# F" A% [/ C
  1415. ; http://php.net/session.save-handler
    . U5 }' K( ~8 I$ B  d; _
  1416. session.save_handler = files
    ! H3 A, f9 r# b9 W1 L/ K

  1417. % o& X) r/ L* t  ]1 A5 A  ]
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    . f' S9 d0 Z# C/ R4 s
  1419. ; where data files are stored. Note: Windows users have to change this  a8 F* ]% ~# L
  1420. ; variable in order to use PHP's session functions.
    ! x  i  e& X8 M! ]. ?; i
  1421. ;6 o, K1 w* b! y" O* i- A
  1422. ; The path can be defined as:# d" g3 O: X- }/ u; H4 G% f
  1423. ;
    7 f. i! q* t% F2 y1 v% c9 ^  |) V
  1424. ;     session.save_path = "N;/path"% E, n* }/ d% W. [
  1425. ;2 e! N+ {1 p3 \, ]& W
  1426. ; where N is an integer.  Instead of storing all the session files in
    , g5 J) y* g/ D: `. X
  1427. ; /path, what this will do is use subdirectories N-levels deep, and* A1 @1 y, J2 p+ M* i; O
  1428. ; store the session data in those directories.  This is useful if! W  R/ ~+ P' D: c; w4 W
  1429. ; your OS has problems with many files in one directory, and is' {7 g+ R7 X' e. m# f: @
  1430. ; a more efficient layout for servers that handle many sessions.
    ' q7 D" x( ^  t% X5 U0 h
  1431. ;1 h6 @1 c& w# U- m4 F/ S
  1432. ; NOTE 1: PHP will not create this directory structure automatically.5 r, Q$ j% e5 s) _
  1433. ;         You can use the script in the ext/session dir for that purpose.
    $ V3 y# x  a' y6 D& Z& ?! ^
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    % F3 p" e& b% z' r% e* Z
  1435. ;         use subdirectories for session storage
      k0 s2 G5 l! n4 L) b- R
  1436. ;( g8 U  i6 G  n' C+ a
  1437. ; The file storage module creates files using mode 600 by default.) {2 G+ {- N* A
  1438. ; You can change that by using7 [4 K+ s2 f6 I; d5 D( I
  1439. ;. h1 j0 E7 K7 E0 B% w1 s
  1440. ;     session.save_path = "N;MODE;/path"& J& S' b- l& f
  1441. ;1 n1 j9 {0 N( A5 K3 a. B9 W. M) ^# n3 C
  1442. ; where MODE is the octal representation of the mode. Note that this5 }% l3 Q4 m2 e; X: h& A
  1443. ; does not overwrite the process's umask.: Y  m  M' t5 O$ T
  1444. ; http://php.net/session.save-path
    7 Q* n2 i: C8 l+ e& c5 {1 }% ?
  1445. ;session.save_path = "/tmp") l9 Q; O! y5 @- j' x) [
  1446. ' l( |; ~, i9 Z
  1447. ; Whether to use strict session mode.
      K  t; f2 W) a5 r
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate$ g1 ?9 @# b: F
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ; W& E& i& y4 n3 n3 ?0 P
  1450. ; applications from session fixation via session adoption vulnerability. It is: }$ ]% V$ x6 n& H  y
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ) C/ c6 A( d0 o& l
  1452. ; https://wiki.php.net/rfc/strict_sessions
    * |. o, |" E2 D
  1453. session.use_strict_mode = 0/ \* B& q( f2 B. h% ~  X
  1454. ( S8 I6 w. h6 \- e& N7 b* R
  1455. ; Whether to use cookies.
    5 s) h! {1 B; l/ @8 L5 }' X  G
  1456. ; http://php.net/session.use-cookies7 Q' h# ]9 z) d) B
  1457. session.use_cookies = 1
    9 q# [0 |9 [- t

  1458. 5 m; ^/ Q0 V& a$ q
  1459. ; http://php.net/session.cookie-secure( b, z: F" y# `" K2 }% \& R" x
  1460. ;session.cookie_secure =
    $ O8 `7 u4 S& @' O9 g$ R/ v
  1461. . s+ m/ g' J+ ]# T7 z) ~
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining3 c+ A+ I; }% ^2 d: \- q5 p
  1463. ; the session id. We encourage this operation as it's very helpful in combating: Y6 p& x+ s+ t) z" B
  1464. ; session hijacking when not specifying and managing your own session id. It is& C# U2 b- e! T: `& F  z
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    , Q4 u: m2 H" ^8 ]3 [
  1466. ; http://php.net/session.use-only-cookies8 r" F: M4 m8 r3 W4 B9 N
  1467. session.use_only_cookies = 1
    + i& ?6 j: F. y- G" J

  1468. 6 Q# @+ b, J9 i( D& Z# D9 }
  1469. ; Name of the session (used as cookie name).
    4 V( S, f2 \, n# T0 t
  1470. ; http://php.net/session.name
    5 B0 Y3 J9 \! [0 Q
  1471. session.name = PHPSESSID/ C' t8 g$ [! _# ?: m- `

  1472. - o- m# |2 w- L0 L. ~! g  ^! V
  1473. ; Initialize session on request startup.
    # O  h+ S7 A$ W- @: ?) {- q
  1474. ; http://php.net/session.auto-start* r; _2 ~8 o' P+ T
  1475. session.auto_start = 02 t# a' ?6 J* @+ ]' O% v

  1476.   e% {5 h/ l' X
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.- T1 a8 S/ ]! J. }9 j4 ?
  1478. ; http://php.net/session.cookie-lifetime: Y; \' V( x4 `
  1479. session.cookie_lifetime = 0+ y. ]) N: l* c8 C' T; i
  1480. 8 |1 i& M  p# U$ w+ [% E8 f
  1481. ; The path for which the cookie is valid., V# g! P* Y) Q& L7 G! A8 R# |
  1482. ; http://php.net/session.cookie-path
    ! S1 Z" X  `+ {
  1483. session.cookie_path = /! t9 E% S: V, h8 X! A# E
  1484. ) h) N" H" E; k) K8 N- I4 M
  1485. ; The domain for which the cookie is valid.7 R! C8 c: h+ X- P- x9 d& {
  1486. ; http://php.net/session.cookie-domain
    ' |6 a7 O7 q3 p; b# {
  1487. session.cookie_domain =; @' F: G+ A5 c0 o

  1488. 0 A8 ^' C6 g7 E5 v. Z- k
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.; a+ g1 ]  ^5 S3 a5 [
  1490. ; http://php.net/session.cookie-httponly
    7 ?* B3 P0 A3 o0 m5 B
  1491. session.cookie_httponly =+ S& n7 J2 M7 Y1 x8 i
  1492. ) E/ Q4 {1 [0 I4 y$ J+ I
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    : p# K1 f! x% ?3 e& \
  1494. ; http://php.net/session.serialize-handler
    - W" d3 Q3 m- y7 ]5 G; B* K
  1495. session.serialize_handler = php
    8 l4 y# o: a. y) q3 W+ q

  1496. + E  d* Z3 L, s0 @, p+ x/ o: S
  1497. ; Defines the probability that the 'garbage collection' process is started8 ^+ V" n1 J2 _- E
  1498. ; on every session initialization. The probability is calculated by using
    2 z7 b# f" }! A! L
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator9 N5 f3 t& m2 u( r/ w" h
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    9 E+ V" \0 Z3 R. z
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance0 ^) ^8 f: |9 e  v$ G6 b4 L- @7 B, \
  1502. ; the gc will run on any give request.3 a: W6 D: x6 G( o( L* I& M# T
  1503. ; Default Value: 1
    ! P8 ?& H; Y2 w# M0 a$ \' l8 a# a
  1504. ; Development Value: 1
    % L6 s+ r" J1 h! a7 V: m
  1505. ; Production Value: 1
    . y( w$ H& v: o/ }( o& }
  1506. ; http://php.net/session.gc-probability
    ) t+ m3 Z6 j6 {. g! C
  1507. session.gc_probability = 1
    6 j2 M0 s% H6 m# T3 {7 p& ^
  1508. . _- J/ b! s% P
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    " h$ I) s8 ?/ I7 A
  1510. ; session initialization. The probability is calculated by using the following equation:
    $ j! Z4 \+ Y. X' N! E& d
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and) ?) y/ }) l$ Y. h9 s' A0 P% Z
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1" X/ y, n& A$ H/ W
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance1 g% X0 ~- |% L& Q- ~* W1 u
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you' g& D) U/ J9 x' m3 P8 V8 q
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    4 q  ?9 O! v0 Q  [
  1516. ; this is a more efficient approach.
    . h' M& Z% {- j, k+ ]: w- r5 G
  1517. ; Default Value: 1001 P) }* m9 C# R: B2 k; q) C
  1518. ; Development Value: 1000
    3 g2 J8 m2 F. d
  1519. ; Production Value: 1000/ m) h: y% K# q" r  g9 X0 ]8 O
  1520. ; http://php.net/session.gc-divisor$ Z7 m! u- ?+ `
  1521. session.gc_divisor = 1000
    + W5 D; o6 q+ \# ^# S! j

  1522. 0 ~; @- D( h: E- R: I, B! L2 X
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    " }$ `: V. `; V6 e* d+ D% a5 P
  1524. ; cleaned up by the garbage collection process.9 @) E+ p7 r7 B: B2 y0 Q. i3 n) Q
  1525. ; http://php.net/session.gc-maxlifetime: w8 `7 G) z" r3 ^
  1526. session.gc_maxlifetime = 1440& `; E* d  y1 X/ n2 }7 U: U
  1527. 8 F6 y5 n! I2 p; Z: j2 m
  1528. ; NOTE: If you are using the subdirectory option for storing session files
      H  Z' f2 @$ B, V
  1529. ;       (see session.save_path above), then garbage collection does *not*  {7 ~- F( ]6 |0 x1 ]. }1 Q
  1530. ;       happen automatically.  You will need to do your own garbage( r7 Q, v$ L7 N& H
  1531. ;       collection through a shell script, cron entry, or some other method.; b" w# p1 t& t  N; O
  1532. ;       For example, the following script would is the equivalent of
    7 y; ^( b% _8 A8 N) x
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):' a! E9 ^3 \& y
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm9 Y! A% i7 C/ K+ @* J: h

  1535. 9 ]+ ]6 Y" i+ p' E2 M+ U, l8 ~
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    5 J7 t- _# |6 O3 k4 q
  1537. ; HTTP_REFERER has to contain this substring for the session to be# a& T- _$ G2 g5 ?7 H1 B
  1538. ; considered as valid.
    - t* c  i# v! L& a% G' k# X: H  v
  1539. ; http://php.net/session.referer-check0 i& b8 ]; l+ \# \8 {5 A
  1540. session.referer_check =' @/ t# b+ V, \( \4 a: |1 ?

  1541. 8 }0 E: V+ m; l
  1542. ; How many bytes to read from the file.1 Y" W: {- L5 u
  1543. ; http://php.net/session.entropy-length
    3 k. Z/ {7 |9 j! i1 n- R
  1544. ;session.entropy_length = 32
    # M; S& E2 A! I9 f2 W7 ~, m

  1545. " z4 l) V6 S8 h) Z. Z
  1546. ; Specified here to create the session id.
    # k) q3 W5 V" K0 M) E; q; W( N
  1547. ; http://php.net/session.entropy-file
    7 p1 G: ^1 T& S( {" J2 D
  1548. ; Defaults to /dev/urandom( z3 ~  W$ |5 s$ A& V/ j; k7 N
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom( E" B3 [  H) s3 p1 O. B
  1550. ; If neither are found at compile time, the default is no entropy file.
    % w% j6 C& x- ^# V  f* g# m: @  |
  1551. ; On windows, setting the entropy_length setting will activate the0 [- E( F3 ?& x7 w
  1552. ; Windows random source (using the CryptoAPI)
    : y4 w  U/ k% \
  1553. ;session.entropy_file = /dev/urandom/ \, O) E, P. M$ @, W9 [+ I! C
  1554. 0 m. N: i8 k$ N% s: ?
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects+ D* @7 Q2 g4 @
  1556. ; or leave this empty to avoid sending anti-caching headers.: K9 d4 l5 e, r- A! c% v2 O8 }! d
  1557. ; http://php.net/session.cache-limiter
    & f. I+ d9 R% K$ S. P
  1558. session.cache_limiter = nocache; T& k" e' J0 O) }  N7 u8 U

  1559. & F& q! s2 t" X' J* x
  1560. ; Document expires after n minutes.
    5 e* N& S/ a; s# e5 `
  1561. ; http://php.net/session.cache-expire
    0 g5 P8 B% s" F& q0 Z) F, A
  1562. session.cache_expire = 180
    . V0 s" o. l/ k9 z8 w) i3 a

  1563. , j8 B7 o. C" F  \6 s) Q% c
  1564. ; trans sid support is disabled by default.
    9 \) F- @, N% X
  1565. ; Use of trans sid may risk your users' security.
    / T  I3 S5 Y! b6 z2 d3 }* l
  1566. ; Use this option with caution.. _1 A& b  E& y4 j
  1567. ; - User may send URL contains active session ID
    : F7 S3 U% E" u0 e3 P- A" j
  1568. ;   to other person via. email/irc/etc.
    ( f4 j* U. G7 R6 F/ Z. W$ _
  1569. ; - URL that contains active session ID may be stored. L# |( ]7 `' I5 L( `
  1570. ;   in publicly accessible computer.' b4 N$ {5 G4 M/ t
  1571. ; - User may access your site with the same session ID6 E( P* K' D( f2 l- P& [  o
  1572. ;   always using URL stored in browser's history or bookmarks.
    % B0 W% T; y( w' G% i$ J
  1573. ; http://php.net/session.use-trans-sid
    , a6 P, B" s3 {1 ]# q/ o) w6 ]
  1574. session.use_trans_sid = 0$ a: q0 }2 i6 g

  1575. 9 K3 {3 m+ b: s6 W$ W4 j7 k8 ?" a
  1576. ; Select a hash function for use in generating session ids.9 p* B. g, c% b
  1577. ; Possible Values
    / D& o; f6 o, m! N. Z2 S$ t0 I
  1578. ;   0  (MD5 128 bits)/ o3 |6 @1 [/ p. d$ f
  1579. ;   1  (SHA-1 160 bits)& f+ l4 V) B8 m& \
  1580. ; This option may also be set to the name of any hash function supported by2 i: B/ a6 `" I" l
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()5 B7 b, `8 s- E
  1582. ; function.2 o- l% M* N# z. ^9 Q8 V! z( m  v
  1583. ; http://php.net/session.hash-function
    8 y: R! e3 ~" U& Q$ f
  1584. session.hash_function = 0
    , [) r- e5 g; G
  1585. ; K+ n6 J$ R/ w6 v; f
  1586. ; Define how many bits are stored in each character when converting
    : p3 x9 D/ c5 L  x7 X: o
  1587. ; the binary hash data to something readable.
    3 v+ I2 X( [' I! O% \* z9 V, b
  1588. ; Possible values:
    ! J. b0 F$ G+ Q) P3 ^1 Y6 @
  1589. ;   4  (4 bits: 0-9, a-f)
    7 o+ Z' S8 n  `% e" n  z' b
  1590. ;   5  (5 bits: 0-9, a-v)- @% f& b+ \+ Q
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    2 N' ]6 p5 U2 a9 `
  1592. ; Default Value: 4
    8 {- o$ S' I# W: l
  1593. ; Development Value: 5* N5 l3 E0 n6 J* t2 D1 k) ]4 F2 t
  1594. ; Production Value: 5
    - s' M/ j2 M6 k- j3 ^8 e. P  N
  1595. ; http://php.net/session.hash-bits-per-character
    - V2 J: |  I- L; i  _- N
  1596. session.hash_bits_per_character = 5' D6 J+ ~% B% n6 S6 _: \
  1597. ' S2 {, O( K" J$ {
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    : {$ ~; r4 b3 e! n; g9 S
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    ' ?6 D2 D5 V5 ]5 p$ I
  1600. ; add a hidden <input> field with the info which is otherwise appended
    ; M0 P' t2 g( }/ B$ h
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.2 _/ B; ^3 v6 }0 F' B% O, a
  1602. ; Note that all valid entries require a "=", even if no value follows.' q- w! U7 i  R/ s- u8 n
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ; r6 I2 H" d' q9 l
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 @6 v8 _" e/ o- n& o
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + t4 f# t/ d/ H: Y+ u' D! l% a
  1606. ; http://php.net/url-rewriter.tags1 X* u7 ~# ~9 z% T' z. O  I
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"* D3 b% v. \1 `2 j8 x- R! N. \

  1608. , |6 @6 n% A6 F' h) u, v
  1609. ; Enable upload progress tracking in $_SESSION
    1 x9 V4 A! s6 r+ R+ A3 ^8 B6 A% [
  1610. ; Default Value: On- B( _& h/ r. ^! n9 P$ e
  1611. ; Development Value: On
    . ^+ x1 X: F5 C6 z
  1612. ; Production Value: On% q# K- }) k, h8 G
  1613. ; http://php.net/session.upload-progress.enabled* Y5 A- A) w" D' I; v* F
  1614. ;session.upload_progress.enabled = On, V/ l! Z, g. `7 ?- n

  1615. ! I* A' N" |9 p
  1616. ; Cleanup the progress information as soon as all POST data has been read) Q8 {% J# t. h
  1617. ; (i.e. upload completed).
    0 P; f9 [" r' R$ u
  1618. ; Default Value: On3 b: g$ r* x) n& j
  1619. ; Development Value: On5 y* H8 @# m+ ~/ r( m
  1620. ; Production Value: On) ~" @2 f4 u+ T& f, {& I" K% I
  1621. ; http://php.net/session.upload-progress.cleanup
    ' T' C4 l) [! f5 G
  1622. ;session.upload_progress.cleanup = On' Z( s) Q# q/ \9 M

  1623. / w! `& s) s8 b6 F2 |. D8 Y
  1624. ; A prefix used for the upload progress key in $_SESSION  t$ q  i7 U" ~0 r
  1625. ; Default Value: "upload_progress_"6 o* C) l: a1 f, [# H2 h9 t6 y7 k
  1626. ; Development Value: "upload_progress_") V, e8 O, b# O" J
  1627. ; Production Value: "upload_progress_"; G( G6 r# b" K( Q$ y% j7 P
  1628. ; http://php.net/session.upload-progress.prefix
    ; Q1 V  `4 n; N* {, v
  1629. ;session.upload_progress.prefix = "upload_progress_"
    : ]6 S" K. p6 z- k: O6 B5 |9 H
  1630. * }- `/ o1 I' S) K7 M7 U
  1631. ; The index name (concatenated with the prefix) in $_SESSION3 M3 j9 q7 v2 r9 l; L
  1632. ; containing the upload progress information
      i8 o* H  I3 C* r( n" _
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : \3 ~; R% \( p1 [0 x6 K0 Z
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    / E1 K' |, H! g9 O2 U
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 m* h) N# N  e! ]# M
  1636. ; http://php.net/session.upload-progress.name! f$ M( G3 z" T9 P% C. S
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    1 `+ h. V8 A5 a7 k
  1638. ) X/ c$ W1 y9 i, ~$ [
  1639. ; How frequently the upload progress should be updated.) K( J3 W* S0 v/ [+ P, D' x
  1640. ; Given either in percentages (per-file), or in bytes0 j* S9 l6 e& I; {; s' s$ P
  1641. ; Default Value: "1%"
    ! }3 L' _& ^, N6 s4 k
  1642. ; Development Value: "1%"
    4 s$ }0 D3 x" F1 T  G/ A& A( S
  1643. ; Production Value: "1%"6 I: `: a2 x6 g4 G" m
  1644. ; http://php.net/session.upload-progress.freq
    # h2 w8 E% ]" L* e+ E
  1645. ;session.upload_progress.freq =  "1%"
    6 x, C6 R# _" _7 U2 a( ~* E  u+ |
  1646. + T2 g  ^- v  \  G% f
  1647. ; The minimum delay between updates, in seconds
    ( Y! Y, F9 Q$ R  \0 \5 W! W+ b
  1648. ; Default Value: 10 m7 L; w! E4 K, \' A# d
  1649. ; Development Value: 19 c/ m% E/ {- U' U7 B6 {# A$ |  ?
  1650. ; Production Value: 1! T8 _3 p8 k9 ?0 R5 G4 Q
  1651. ; http://php.net/session.upload-progress.min-freq+ ^* z! P) ^0 _6 D! o5 D
  1652. ;session.upload_progress.min_freq = "1"
    ( E) T& U8 I* v8 }

  1653. 8 d! Q" |. @% E, Z9 E: t
  1654. [MSSQL]5 z: ?9 F4 o* T0 E/ f/ O- d3 Z
  1655. ; Allow or prevent persistent links.
    " ]3 T: k  k- u: r' q4 i5 v: f
  1656. mssql.allow_persistent = On
    , ^( A* e- b! Y
  1657. 9 B( x$ x2 M9 n) E, \+ u% X2 i5 @
  1658. ; Maximum number of persistent links.  -1 means no limit.3 d) d/ H9 C2 r- m9 m; K
  1659. mssql.max_persistent = -1
    1 x" ?  Q" o; L

  1660. 4 u6 t' h+ V  I* d. q
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.) i  T# ^0 [9 h* u3 Q9 j
  1662. mssql.max_links = -1
    # X8 V) `# C# O7 R3 {6 ~% s$ Z/ h6 @
  1663. / i9 Z& l7 V$ W1 ~( _) t& u
  1664. ; Minimum error severity to display.4 _! k6 u9 o: N. q7 ~! B3 U
  1665. mssql.min_error_severity = 10
    7 E8 }1 E+ R; a- v# ^
  1666. 3 K: y- k  |8 O: L
  1667. ; Minimum message severity to display.1 |8 h. m7 Z& x3 u8 V! w
  1668. mssql.min_message_severity = 10
    . ?, Z# G3 \9 p" J+ N0 |

  1669. - S3 _6 n$ n: j2 u
  1670. ; Compatibility mode with old versions of PHP 3.0.6 ~6 ^4 q9 T  o+ s. s
  1671. mssql.compatibility_mode = Off& m" k, H; w1 B* r1 M
  1672. - G0 u. a! K/ D7 V
  1673. ; Connect timeout+ i9 C, v+ F5 M/ G5 h
  1674. ;mssql.connect_timeout = 5# e& U: w4 ]5 ^  C9 w, m
  1675. ) y3 O9 ^) ^8 q2 ^
  1676. ; Query timeout
    2 k0 w" w, f) B& b) f# X
  1677. ;mssql.timeout = 60# R9 o! J& u  \" T7 l
  1678. 4 ~" o1 M+ X8 Q2 T, u, A7 `/ S' ~0 o
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    / U" Z% }$ {& E& o- r4 D
  1680. ;mssql.textlimit = 4096. a* h; }' m3 \8 Y
  1681. / ?, R/ t+ a2 D1 Q4 q
  1682. ; Valid range 0 - 2147483647.  Default = 4096.- m- k+ y9 B' \5 m
  1683. ;mssql.textsize = 4096
    ) u0 V/ @( C+ }9 v4 w# K

  1684. & X8 H, C2 V( @, G/ z
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.1 f8 b' Y& K% G: }: N9 v5 s
  1686. ;mssql.batchsize = 0
    / [4 k1 P! [0 s/ X4 |9 Z
  1687. 5 l# ?( j; v( L4 k6 e; d
  1688. ; Specify how datetime and datetim4 columns are returned
    % W# P4 J0 [* A/ U* v/ J
  1689. ; On => Returns data converted to SQL server settings
    0 {( T* W6 [( u8 E
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    ; w  _# M9 L1 }8 U$ p" d' y8 H
  1691. ;mssql.datetimeconvert = On
    . P: J4 F9 Q9 x

  1692. + u& t  j: _; D: F# s) z9 ]
  1693. ; Use NT authentication when connecting to the server
    2 J6 B$ n) H& |% Q4 J: U# a, I
  1694. mssql.secure_connection = Off
    - A  @9 D" n7 y* M; G& l: d

  1695. - t, }0 w: j1 V! i
  1696. ; Specify max number of processes. -1 = library default3 H- a  q( Q- c0 A8 o8 \( K  h* q
  1697. ; msdlib defaults to 25
    $ X2 h3 B7 l( C0 Y9 S/ w* q
  1698. ; FreeTDS defaults to 4096
    : ^/ K8 L! q2 x
  1699. ;mssql.max_procs = -13 ^) E  Q$ `. q! I% E6 ~
  1700. 3 q8 r" i4 e/ N; y* Z' d9 }/ H) x- t- V
  1701. ; Specify client character set.
    ( J6 s( a3 z6 X. ?+ w
  1702. ; If empty or not set the client charset from freetds.conf is used+ {5 G1 p4 E9 `0 Q
  1703. ; This is only used when compiled with FreeTDS7 v+ ~( \2 \: @* b
  1704. ;mssql.charset = "ISO-8859-1"
    ) ~+ B* N" h4 f4 S8 i. R' \

  1705. % L$ ^3 J, A8 d8 N0 y8 Z& r
  1706. [Assertion]- W+ [; M/ [) J9 F1 N
  1707. ; Assert(expr); active by default.
    # s6 B2 p' w' o9 L7 ~, T: D
  1708. ; http://php.net/assert.active
    ) C) W; I/ W2 m" _* o% f
  1709. ;assert.active = On
    0 }  w, ]  h+ f6 C: D- \
  1710. - z, p7 M7 ~( u4 ~4 q
  1711. ; Issue a PHP warning for each failed assertion.5 K* G7 j* J3 `1 K1 I5 u
  1712. ; http://php.net/assert.warning1 a( }5 c  H8 J! K) t
  1713. ;assert.warning = On, I0 U5 Z: @7 ]7 d  N, k
  1714. " T; U' |5 l9 n1 V- B/ _" Z
  1715. ; Don't bail out by default./ F! H, ?7 K8 A& U3 u0 Q+ s. a
  1716. ; http://php.net/assert.bail
      B% L+ m, C$ h: o4 I2 n! S
  1717. ;assert.bail = Off8 j  ]5 d; s$ z2 Q$ s( J
  1718. 0 @1 U" k; w  {  }- e
  1719. ; User-function to be called if an assertion fails.
    , X8 w2 o3 T4 n6 m
  1720. ; http://php.net/assert.callback
    3 P. {, C: P: A% N  N7 `( e
  1721. ;assert.callback = 0! ]. C3 ~$ X8 S/ E/ S/ X" a

  1722. ( P3 g/ p9 Q4 _9 u! n
  1723. ; Eval the expression with current error_reporting().  Set to true if you want) b# z! U3 G% x$ L5 L
  1724. ; error_reporting(0) around the eval().
    ! l8 G& v, D5 l: u0 _, q; `3 t
  1725. ; http://php.net/assert.quiet-eval
    6 C" m& k. x" g6 T7 g9 x6 L2 F1 l! e5 \
  1726. ;assert.quiet_eval = 00 I6 a4 p$ a# u5 F* u" O

  1727. " t* g7 U* F  V" T6 Z7 B: a& n3 G
  1728. [COM]) Y( }8 h; T& ]
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs# J7 [3 b( m4 `1 U
  1730. ; http://php.net/com.typelib-file+ S/ M" o0 T, f+ M: [
  1731. ;com.typelib_file =. ?7 h$ g: ^4 s8 ~

  1732. 1 X) b6 @/ Y; G3 }0 V$ O. k+ b- O
  1733. ; allow Distributed-COM calls
    . W9 g+ j) ~1 q5 b
  1734. ; http://php.net/com.allow-dcom
    9 z. T0 u) k# [8 i% U2 c
  1735. ;com.allow_dcom = true
    ! w# a0 S; I2 D$ f

  1736. % l1 w' u1 b3 O, M0 W& e
  1737. ; autoregister constants of a components typlib on com_load()
    # J; g. p3 [" z  g. T. ?( t8 P
  1738. ; http://php.net/com.autoregister-typelib+ O9 o# ~+ _$ A& k) `$ L
  1739. ;com.autoregister_typelib = true
    9 P2 I! P# Q; g: s$ O" l, @

  1740. - `5 Z4 F& d- V
  1741. ; register constants casesensitive+ L1 {7 d: ~  r
  1742. ; http://php.net/com.autoregister-casesensitive! Z% H. O' O& ~( E
  1743. ;com.autoregister_casesensitive = false2 D+ M+ b, z* C4 I0 i7 a
  1744. $ [5 i* b( I" M' Y% g4 h, t, G
  1745. ; show warnings on duplicate constant registrations
    2 |; G, U8 u7 q& ^+ N9 c# C
  1746. ; http://php.net/com.autoregister-verbose
    7 |+ O6 {' g# ?3 j- l' {
  1747. ;com.autoregister_verbose = true4 r1 d% s& ^1 Y2 {7 t: B

  1748. / {+ z" h" t* ~/ q* l# L
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    4 a& E# c/ u8 Y/ o' B: M) D
  1750. ; Default: system ANSI code page
    , w  o, |" G7 f% z1 Q6 H
  1751. ;com.code_page=5 l8 `, V0 r. }$ Z$ i
  1752. ; l% J$ y" c1 K) u9 `# q
  1753. [mbstring]9 a: \) P6 q4 |* g1 n
  1754. ; language for internal character representation.
    % F4 `# x( K: C8 @2 D' f5 b9 R4 _
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    9 D9 l% A5 N. B$ o
  1756. ; http://php.net/mbstring.language* w6 ?4 i1 Y+ C( f% F
  1757. ;mbstring.language = Japanese
    ' \. I3 ?4 C' m( k0 R& `" k& ~$ J6 A( N

  1758. # x. O' E6 F; t4 z
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.1 j# X% j4 _& N3 l$ G1 J
  1760. ; internal/script encoding.4 H! V6 H& O# M
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)1 a9 }  G0 c5 @3 _% C" W5 X
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    + [: x  a5 r% f
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding8 K7 d& c% x  Z( Q$ A+ m; |
  1764. ;mbstring.internal_encoding =
    ! t( ~+ t  ^& A( F
  1765. . r3 F. J9 }' V* E
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ; E: [- m9 }* Y
  1767. ; http input encoding.
    ( j! Z4 s4 z) Q2 J! B3 J" V
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.4 M0 L: w7 T8 W' e, K7 Z) o
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ' K) C" I9 e( B3 y  i% M2 T- E
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ( b7 z+ |+ ]2 v0 `$ I, ^
  1771. ; http://php.net/mbstring.http-input! a4 q/ G; @; h
  1772. ;mbstring.http_input =
    ! b1 `+ w9 e3 |+ Y/ C6 _

  1773. " h  M1 G5 y! D* R- c9 G* Q  O+ ~
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead." k) t% k4 t. b* K9 P" G
  1775. ; http output encoding.
    ' r; c" T4 O$ `  O# D
  1776. ; mb_output_handler must be registered as output buffer to function.
    $ n( B  O5 ^; n5 V* t, |5 W' A
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.8 |( {5 B$ a' Z2 ]* e( w
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    7 k( v; R/ p& L9 W1 y1 \  |% K& g
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
      n0 }2 ~  _+ n5 ^" t0 E; v
  1780. ; otherwise output encoding conversion cannot be performed.. ]( q( t" Q6 t- R) S8 C
  1781. ; http://php.net/mbstring.http-output
    & H  y9 N& I$ ^5 Y% j6 q4 z
  1782. ;mbstring.http_output =7 v) s9 }: U  e
  1783.   [1 V( m6 y3 H& C0 ]
  1784. ; enable automatic encoding translation according to
    , F& C3 E' C& U  b/ y
  1785. ; mbstring.internal_encoding setting. Input chars are1 [8 G0 V) ~0 H" Y
  1786. ; converted to internal encoding by setting this to On., r9 U6 v, y/ D/ \+ c
  1787. ; Note: Do _not_ use automatic encoding translation for+ g' V4 w0 h6 X) S3 r
  1788. ;       portable libs/applications.+ X7 z0 ^  _7 p1 v! T" Z$ N8 g0 j
  1789. ; http://php.net/mbstring.encoding-translation, @( m6 B% {! j- |& @2 z( a$ g( j( j  s# `
  1790. ;mbstring.encoding_translation = Off
    . E# s* J0 d- F% e
  1791. ' f: A, z' E* Q5 ~
  1792. ; automatic encoding detection order.1 `0 ~) P# N! ~- K, Q' E
  1793. ; "auto" detect order is changed according to mbstring.language
    ; X5 ?# L+ U! J) o  C  H/ E
  1794. ; http://php.net/mbstring.detect-order) d( v/ J* X* ]$ \. S6 X3 X
  1795. ;mbstring.detect_order = auto) B8 |' E  {" J& q. R9 J( a

  1796. 3 v5 ^- |# x4 l+ x+ U$ p) ^  W
  1797. ; substitute_character used when character cannot be converted  E( M6 Y  i$ }( Y
  1798. ; one from another2 Z( b$ z/ Y! J( b5 T( y
  1799. ; http://php.net/mbstring.substitute-character$ M2 M$ Q1 b9 H* R+ L
  1800. ;mbstring.substitute_character = none( i+ X" z' F9 Z8 D$ x3 |5 [) T

  1801. 1 m+ }  X+ D3 {, y$ \% @) e
  1802. ; overload(replace) single byte functions by mbstring functions.
    ' F/ q* r+ q" A5 }
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    $ N3 }) g, y, k4 C! u1 p0 t
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    * ^9 G  m3 m) _$ A# {! l; m
  1805. ; For example, 7 for overload everything.0 C6 X8 E' D, j9 K2 p* `
  1806. ; 0: No overload- d3 [$ V$ M& _
  1807. ; 1: Overload mail() function
    : F+ e8 [5 n# Q+ T2 A) O- s. M
  1808. ; 2: Overload str*() functions
    # J( J$ Y+ e" J/ |" w0 R) @9 [
  1809. ; 4: Overload ereg*() functions
    % N/ z! z! ^$ `3 W6 u4 s' v
  1810. ; http://php.net/mbstring.func-overload
    1 K2 N9 p4 o' |8 Q' @
  1811. ;mbstring.func_overload = 0! B2 U1 y! g1 x" Z: ]  x: A

  1812. * U9 u5 ?% n6 V
  1813. ; enable strict encoding detection.
    - Q7 b* a! [7 [0 S! U
  1814. ; Default: Off
    & W" d4 Q$ p, Y5 ^/ c
  1815. ;mbstring.strict_detection = On
    5 i# X) [- K$ c* D- ?

  1816. + A0 |, _4 [# e/ N
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()0 P, r2 W6 Z" K6 b& D6 E
  1818. ; is activated.1 n/ B) s. Q1 u* q- o1 D( ~
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    - I) Y; u" {  Z
  1820. ;mbstring.http_output_conv_mimetype=* a4 J( J. t$ E! n

  1821. 4 V! h1 z( \) I3 E* M/ o8 r! e- D7 z
  1822. [gd]
    * R# g+ g" Q: A5 P6 B( O6 s( c4 P  q
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    + i' j! q3 W0 }9 C1 J
  1824. ; a gd image. The warning will then be displayed as notices
    " X. Q: d. q5 x8 B* j; S+ H
  1825. ; disabled by default' c% s' O' D7 Q6 r. F( u6 z
  1826. ; http://php.net/gd.jpeg-ignore-warning# ?# R' ~4 D' Q/ B! }* w* o0 p, \
  1827. ;gd.jpeg_ignore_warning = 05 y! p0 |& `5 Z* ^5 w7 U3 E2 Y, c
  1828. * [( x: _# [4 H" \  G3 ~, q$ a
  1829. [exif]# ?7 P4 N7 V4 W8 `+ K: J
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS., W# W4 {; t8 W/ ]% o& X
  1831. ; With mbstring support this will automatically be converted into the encoding
    - k5 _4 z+ y( ]. S( h
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    % c- F7 A. l9 W5 _
  1833. ; is used. For the decode settings you can distinguish between motorola and8 K+ f, C3 h- a$ Z: e; J7 `
  1834. ; intel byte order. A decode setting cannot be empty.8 c' C- T5 o( [1 l
  1835. ; http://php.net/exif.encode-unicode. R. R; ]) t& y7 v  j3 {6 x0 I- G
  1836. ;exif.encode_unicode = ISO-8859-15
    / u2 _- t6 ]$ d) o5 p4 E4 t
  1837. 7 {+ X* T* n' \' r& |, G/ f+ R8 D
  1838. ; http://php.net/exif.decode-unicode-motorola; B' a! K2 Q: ^2 j
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    & C7 _0 O1 q* }9 I+ h4 O
  1840. 3 Z0 z$ `6 O; }) W- s! b4 W' w
  1841. ; http://php.net/exif.decode-unicode-intel
    ' F/ B3 r& m& ?* k7 X: d
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    ' ?+ e) P: _$ @' w  x' y7 F
  1843. # O, x( Q- b  r- K
  1844. ; http://php.net/exif.encode-jis! c6 m4 w/ s* b4 P
  1845. ;exif.encode_jis =  R: |3 P5 @  G% C- L% v( Y$ u: `
  1846. : f5 C2 u0 }8 ], M
  1847. ; http://php.net/exif.decode-jis-motorola
    ! w- O3 T+ m2 g, v( z
  1848. ;exif.decode_jis_motorola = JIS" g$ Q* c* E, d3 g5 V9 D

  1849. 9 o" }$ p; \! Z8 n
  1850. ; http://php.net/exif.decode-jis-intel; R/ S1 [9 A) u( U
  1851. ;exif.decode_jis_intel    = JIS
    1 ^& s: e6 n/ [9 j5 U$ T) j

  1852. 7 s9 s* _* q! f6 e9 s" q3 _
  1853. [Tidy], i: p% I* Z( [" G
  1854. ; The path to a default tidy configuration file to use when using tidy. d8 K7 U* O6 M+ n
  1855. ; http://php.net/tidy.default-config; b  N0 N# R* K2 I
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg% p. q8 Q& m8 x# E: {; ]) V" K" ]) ~
  1857. 8 S0 e/ w7 z% E; n) ~8 l' s
  1858. ; Should tidy clean and repair output automatically?; j3 z: C- y* i% S2 }; o
  1859. ; WARNING: Do not use this option if you are generating non-html content" D+ u2 s, Q7 G6 M% I6 t: w
  1860. ; such as dynamic images
    5 d' @8 `  @8 ^& `; S
  1861. ; http://php.net/tidy.clean-output& J4 I' _1 |; ^7 u5 m7 u
  1862. tidy.clean_output = Off
    1 A7 x- P& U! B! R

  1863. 6 i) M) T' G6 i3 V6 P
  1864. [soap]6 Z& L5 Y! F4 x* \7 r+ d
  1865. ; Enables or disables WSDL caching feature.
    ' f; s! j/ t: J  Z1 m
  1866. ; http://php.net/soap.wsdl-cache-enabled
    ( Z* f* t9 ?, U) f
  1867. soap.wsdl_cache_enabled=1
    0 s( D- n8 l3 g, N7 y1 v
  1868. / l  x: `" }9 g7 E' \
  1869. ; Sets the directory name where SOAP extension will put cache files.
    & z- [9 ~- e! x, @2 Z5 ]' m
  1870. ; http://php.net/soap.wsdl-cache-dir( z$ S: o* _9 t' p9 d/ O+ t
  1871. soap.wsdl_cache_dir="/tmp"; c3 H9 G5 |) d0 P7 R

  1872. 7 P/ d" o$ w0 C* M0 W7 `8 _' ~
  1873. ; (time to live) Sets the number of second while cached file will be used
    4 \$ b" E' O  _, @) [
  1874. ; instead of original one.1 ^7 ~0 S; X( g, C( K! |
  1875. ; http://php.net/soap.wsdl-cache-ttl
    0 O% M7 o& s! }2 [. S
  1876. soap.wsdl_cache_ttl=86400
    $ @# Z3 r1 E# L" R# [5 _  o

  1877. $ ~9 T) c4 L( n( m  z5 ?
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    # P3 m1 N( i7 u) }7 W' f
  1879. soap.wsdl_cache_limit = 56 m& S( g' Y1 a/ \6 \
  1880. 3 V6 Z% |+ a. X( S
  1881. [sysvshm]; `& p: h2 h+ T0 l
  1882. ; A default size of the shared memory segment
    & W/ G3 W" w( o  B
  1883. ;sysvshm.init_mem = 10000, U: O# k8 R4 E4 m, e% q0 |

  1884. ) ^- r# I% W9 O0 M2 C0 h3 l& N: J
  1885. [ldap]/ D6 P1 |# B- Y- w0 A' @
  1886. ; Sets the maximum number of open links or -1 for unlimited.. C7 G! q5 F7 ^9 S( H( ]- D
  1887. ldap.max_links = -17 e% O/ U1 e  o7 N! h2 u0 ?

  1888. & {' t7 T% g# J. G& d/ }, n. _
  1889. [mcrypt]2 L0 B0 K+ Q9 l2 }5 d; T. i
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open9 M" f7 N9 w! i: y% g+ {
  1891. # T5 V8 k: S: u% j8 ^; [% V1 l( c
  1892. ; Directory where to load mcrypt algorithms
    - i7 v( X  \$ F; ]
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    # D) w2 z: F8 Z: L
  1894. ;mcrypt.algorithms_dir=
    : h5 q" t6 Q$ o1 }0 [4 c

  1895. 9 J$ W1 X' g! f9 f; R, J) A
  1896. ; Directory where to load mcrypt modes
    * P2 Q+ U0 K9 Q$ r* o* z) t0 r
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    . E" {/ Q3 ~8 B- [: Y, _
  1898. ;mcrypt.modes_dir=
    2 {3 c* G' z: f6 ?8 S
  1899. 9 f/ o# c0 p! G' ~! z* p0 A
  1900. [dba]
      _# B0 t# Y7 M
  1901. ;dba.default_handler=
    " O2 @- u$ q* O/ m
  1902. , a$ u' m# i" f4 i
  1903. [opcache]
    % A% u0 L1 X/ V! i
  1904. ; Determines if Zend OPCache is enabled
    & V$ Q' |6 y* Z' O- g4 U! c
  1905. ;opcache.enable=0
    0 z$ B* j1 H/ Z

  1906. - C) c' y* j" O
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    : q& n# h4 ]/ a- b3 L
  1908. ;opcache.enable_cli=0
    - ]0 l. r4 F: O; e/ Q
  1909. 5 [( w- z+ ~# F0 x: v4 H
  1910. ; The OPcache shared memory storage size.: b$ T& {0 i  Z) d# ]' V7 x) ^
  1911. ;opcache.memory_consumption=64) q, d$ i$ r( O8 Q+ Y8 q

  1912. / g+ Z8 d3 p( f4 i1 F+ S2 D
  1913. ; The amount of memory for interned strings in Mbytes.
    * w* K8 m) X( e$ S& {8 D
  1914. ;opcache.interned_strings_buffer=4; a+ o6 t) |# J

  1915. 8 K8 T$ |8 M( w$ Z( I
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    2 P3 E8 {2 o; v* g) p
  1917. ; Only numbers between 200 and 100000 are allowed.
    1 L+ S! E, x+ V7 }5 G" _9 S
  1918. ;opcache.max_accelerated_files=2000
    4 U. ]4 w1 R: D. Q" b& j- h
  1919. 6 u4 u& B3 ^) V% E5 e" m( z
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.5 L  D% e$ R/ N6 h
  1921. ;opcache.max_wasted_percentage=5. a4 B1 x" D& Q+ s+ h& F; x* i
  1922. ! s: b1 ~+ M* |0 j
  1923. ; When this directive is enabled, the OPcache appends the current working
    ! ]5 s+ r1 N6 W3 E- K/ E
  1924. ; directory to the script key, thus eliminating possible collisions between
    0 L* _) A8 n! Y
  1925. ; files with the same name (basename). Disabling the directive improves
    ' k$ P: L) V3 _7 m/ U/ I
  1926. ; performance, but may break existing applications.
      d& F- P( s* j% s2 }
  1927. ;opcache.use_cwd=1+ ?* n6 B7 p$ ?3 I. O& s! V

  1928. , u) G# W; X* b& |$ c
  1929. ; When disabled, you must reset the OPcache manually or restart the) n% m$ ?) {0 i1 k; h4 e5 M
  1930. ; webserver for changes to the filesystem to take effect.4 I  n; D+ y* @" b" k2 h
  1931. ;opcache.validate_timestamps=14 D+ H0 i9 I( A$ U; j

  1932. : s3 T3 J/ [. p% A" U. \
  1933. ; How often (in seconds) to check file timestamps for changes to the shared0 Y: W: T& j/ F
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    ( F5 _/ i+ {, Y; O+ L
  1935. ; once per request. "0" means always validate)
    4 w' R" I3 v: n* C( C
  1936. ;opcache.revalidate_freq=2
    4 r$ n! J1 P) h( ~# c

  1937. ; ^; I/ a( ~3 s1 o
  1938. ; Enables or disables file search in include_path optimization
    0 Z* J* r* X- q$ n
  1939. ;opcache.revalidate_path=0
    % q- o) F( B/ I1 p' G
  1940. 8 N2 M8 b) Z6 V  [; ^3 }
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the8 J  x- n3 X5 K
  1942. ; size of the optimized code.% ]$ w5 S( n" @7 I
  1943. ;opcache.save_comments=16 t; {; e+ U! h, D5 q# ^* h
  1944. % u9 ~+ r& H5 m6 @
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"; a) }* V, L4 t% s
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    8 M( r6 H9 O- w& @  N
  1947. ; that don't need them anyway.0 j$ \! e4 D( h8 f0 t2 L# _
  1948. ;opcache.load_comments=1& U- Z- M2 c" x6 B

  1949.   e; Z0 C4 U+ w  B5 C  u5 E5 `
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code$ k& v3 {' e) ?7 B: P4 P/ q
  1951. ;opcache.fast_shutdown=0
    # F; W( r5 {3 p! ~# a; o& `/ b

  1952. 0 v0 k3 Q5 K) ^/ Q% l7 M- A
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    . ]8 u: Q9 A& g' F7 n" o/ m
  1954. ;opcache.enable_file_override=0* t0 Q. |( d7 P+ P
  1955. 9 P0 b; @" n; [# v8 B1 k- }9 @
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache* }. P8 e* C) h" \3 D  w4 G; k
  1957. ; passes, b: z" f& b% O; M( {6 k) F5 K, g
  1958. ;opcache.optimization_level=0xffffffff4 p6 H7 _' W4 w0 l0 t" w

  1959. $ Z- [' j, {' V0 y! ?# q
  1960. ;opcache.inherited_hack=1! @( I) s0 H# Z, ^3 ?
  1961. ;opcache.dups_fix=0
      }' v7 z; ~5 U. f' K" ?/ d+ z

  1962. . f( H+ `/ j/ A' n% F" O
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    # }, y, V7 T2 R7 Q* v+ x
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    4 B1 y% L$ k- z+ {/ P  p
  1965. ; that should not be accelerated. The file format is to add each filename
      c. K+ @4 b# s9 g8 p6 p
  1966. ; to a new line. The filename may be a full path or just a file prefix
    & l' Y1 b; ]$ E
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    % p  g, _7 l, `/ x
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    / K4 g+ ], A/ n: L
  1969. ;opcache.blacklist_filename=
    3 L: N' O2 |( V, ]5 x) W* f/ u9 t
  1970. 7 `! ~$ C" O% E/ l9 B  G9 ~! @
  1971. ; Allows exclusion of large files from being cached. By default all files7 v9 B& x/ B6 q  L8 r
  1972. ; are cached.; v4 L- C6 k* T0 \" g+ a
  1973. ;opcache.max_file_size=0
    ) |6 y8 K  |+ \5 }$ N+ P

  1974. 4 T- q6 @" e' s0 Z; Z3 X
  1975. ; Check the cache checksum each N requests.# Q( s) ?3 i* S
  1976. ; The default value of "0" means that the checks are disabled.
    + b  {, e% D/ ^) I* b
  1977. ;opcache.consistency_checks=0
    8 F: n* B/ R3 Z6 Z
  1978. + p2 J) P; q& ~8 M4 q3 I
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache& p, f* F/ S5 D5 s$ @
  1980. ; is not being accessed.3 \: q: ?: ^$ B  x; s  u
  1981. ;opcache.force_restart_timeout=180
    - x) `" h' l2 ]  X
  1982. ) X* T* }& v( g& ]$ {0 w% B
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    7 N6 c" `, x8 s
  1984. ;opcache.error_log=
    5 d' D( F) N% P, K
  1985. , i( k- C! a' t& T
  1986. ; All OPcache errors go to the Web server log.& D+ ^; d( b/ G) j# Z* [- o
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged./ m. j+ W# X' V; |% r( q
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    % C6 G( q* r2 l( D
  1989. ; debug messages (level 4).- Q) W+ L; S6 l' {! F: I2 Z- D
  1990. ;opcache.log_verbosity_level=17 \2 K8 j" `/ ^* X9 ?

  1991. * \6 o. B% d1 ]
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    $ b& i( _0 |1 ?( _4 K7 D$ C( V, [
  1993. ;opcache.preferred_memory_model=# l7 f1 S% z, I2 I' {- m0 h5 U
  1994. ! [% [2 K# \! |' D' q9 X5 Z
  1995. ; Protect the shared memory from unexpected writing during script execution.
    7 F& A# R, V( o/ {6 z# y( `0 M
  1996. ; Useful for internal debugging only.& J4 O9 c, s/ D# F) v& G
  1997. ;opcache.protect_memory=0
    * o8 T/ T( y& u1 h) a! F) N, O; a
  1998. 2 `, X) T. F( o# V" i( y
  1999. ; Validate cached file permissions." C0 O( F) m( U% A. [
  2000. ; opcache.validate_permission=0
    . E2 @" ^4 \  N3 U0 k

  2001. 2 A; ?$ Z' K+ g& s' r
  2002. ; Prevent name collisions in chroot'ed environment.
    % b; p8 x5 L* n' P1 u" g# E8 x3 T
  2003. ; opcache.validate_root=0
    ! ?5 l0 E9 ^/ g# @# K, |
  2004. # R5 E6 i3 r; K; D
  2005. [curl]8 ?9 W; w, X9 p: m; x
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an( y, b& g! o6 L: t6 K/ G1 n6 s
  2007. ; absolute path.
    1 ~, Q6 D9 P6 N9 g
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt9 t# z' g+ L4 Y. z
  2009. 4 i- X0 }" i7 x) f" ]+ f
  2010. [openssl]8 f' c- `/ t7 d- q1 N
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    9 O$ `) Z9 {3 h8 h8 ~: j) n
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    6 S9 l5 K, e  r# S" T2 b6 Z# q1 {
  2013. ; not specify a value for this directive as PHP will attempt to use the* }& w# v& _! O& _  X7 q
  2014. ; OS-managed cert stores in its absence. If specified, this value may still( z, i3 M' s  z( x9 U# h4 T* K
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context  U+ [0 ~& q- P$ `$ {  _& u, _6 m
  2016. ; option.
    9 y8 i2 D& E" l! y( A1 T
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    5 |8 P( |$ z: ^* A
  2018. , Q3 a( Q0 e% L* q- A
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    ; {5 l: G* B5 A) A+ f$ ^! c& ^
  2020. ; directory pointed to by openssl.capath is searched for a suitable: R4 F3 S! X: V' m* E" I  y$ |7 [
  2021. ; certificate. This value must be a correctly hashed certificate directory./ @* @( u$ j: c* E
  2022. ; Most users should not specify a value for this directive as PHP will
    3 D% c0 ?# J+ a, ?( B
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    " Q: e  X  K+ G  X$ w' J
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    ' u+ P- z& ^$ X, ?
  2025. ; SSL stream context option.
    - V: `* J9 H$ r" u
  2026. ;openssl.capath=
    : x; A# N) X7 E4 X
  2027. / a" b, T  F/ t2 B8 B( Y9 ~
  2028. ; Local Variables:
    0 W. ?  x6 V6 B6 L6 ?* K
  2029. ; tab-width: 4
    * h5 q- D5 A6 W$ O" x2 e5 u5 @) ?4 C
  2030. ; End:
    " B! U# @1 `6 x/ \9 i5 `( u
  2031. - z9 P1 Z* T5 x5 F. b
  2032. ;eaccelerator
    ! ]- a; J/ j( B0 ]& v9 l1 C

  2033. 4 T  o$ \# o# _, e7 L/ }) E
  2034. ;ionCube
    # ?) C. s- T( S8 y1 c  F

  2035. ) ~" i) F* s8 R, |
  2036. ;opcache
      H4 Y  N' n# m$ i$ }; H: C8 H

  2037. " J1 i, d6 ]. {! b( F; E8 _
  2038. [Zend ZendGuard Loader]2 |7 J3 S9 K7 p0 G0 J
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    . M3 ?. X1 C1 g+ s" \! X! e
  2040. zend_loader.enable=1+ J( s$ u* W, h, {
  2041. zend_loader.disable_licensing=0: \: O4 ~6 @( G- @% P( `$ [
  2042. zend_loader.obfuscation_level_support=3$ R2 w) c9 f7 m4 |
  2043. zend_loader.license_path=' f2 x) [8 D9 J
  2044. $ z: {3 a2 U4 A2 S
  2045. ;xcache
    ) F6 x% G4 Q1 N  J' x8 \8 N& E- C

  2046. 7 [  y( I# D3 X) }
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692- e, N7 W; O& D: i, d9 e& J6 ]: X% |: H# h
' Z, M5 @2 y! y# A& y

) ?5 I+ A6 S& C( BDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
8 s- F* {! m# A  g/ w5 O1 b9 Q  }& A9 ~# F& G
Discuz!程序版本选择:( _- b% [8 s1 p' k  d& G
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
! c! ~: I, c, Q6 F+ J不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
+ E% S; e! m7 O+ b& K" C4 FDiscuz!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。3 s8 ?" V# C2 {: n- i" s

. i( N8 ~$ _3 _3 ]' p, vDiscuz!插件模板版本选择:; m" V5 s2 @# m& n
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
! a  N, j4 g8 I针对这个问题做个统一的普及:# S; ~/ e! H0 E2 x
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
8 ~7 g5 S; }$ C# U2 |- ~  w* F+ i$ S9 s
所以
  _* W$ G. r8 k2 X* ^适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。% K' v) I  F& H$ J* y, J$ N
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
% s: z6 C: {8 _. N; p' A注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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