分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0: ^+ K8 k. p* d4 @/ m; C

, |) |; F3 |0 f% f, }$ `' v7 H
  1. [PHP]( E$ P# `4 f: {0 p! g
  2. / j( V0 a) B: H8 u& X0 g  _! v: C
  3. ;;;;;;;;;;;;;;;;;;;
      D/ a4 x0 t* j$ s2 S; G2 |$ J. n8 R, F
  4. ; About php.ini   ;
    / o# Z" G& d( E% U4 R
  5. ;;;;;;;;;;;;;;;;;;;
    - P1 I: P4 _$ |% q8 p) c
  6. ; PHP's initialization file, generally called php.ini, is responsible for& h( m5 {) {# @
  7. ; configuring many of the aspects of PHP's behavior.
    % @( X( n4 O7 |$ C; q8 ^' ^5 `

  8. 1 S1 Q* K' J$ k  J5 q# R
  9. ; PHP attempts to find and load this configuration from a number of locations.+ `. t" o( K% R! h2 F
  10. ; The following is a summary of its search order:/ ?3 W3 J! D5 ~4 a6 k0 p. c& f3 p! e
  11. ; 1. SAPI module specific location.
    " I9 L( k" O6 k5 Z. ^; _+ g
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ' i6 |% O) i7 Y9 J. Z) ^7 `! X
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
      w) |" b6 G+ E6 R
  14. ; 4. Current working directory (except CLI)7 G7 q' |& n- [2 a/ U5 g
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    / X3 I% s& L- }1 X+ k% d9 A& ^
  16. ; (otherwise in Windows)
    1 p. K% l( B$ n; E5 l
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    : W0 k: X# C! e
  18. ; Windows directory (C:\windows or C:\winnt)
    ) p3 ]! r* O6 X# j) h$ I
  19. ; See the PHP docs for more specific information.
    " A: v2 x$ Q  T) e: `
  20. ; http://php.net/configuration.file
    / I/ ~: O. \3 ]( q. C/ D7 W5 G
  21. + u! ^& a: D5 n
  22. ; The syntax of the file is extremely simple.  Whitespace and lines  G3 |: g+ F$ V# d
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).2 W% }5 ^1 p0 D3 G7 `
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though5 n6 L1 N* O* t& A% V" A. m
  25. ; they might mean something in the future.
    ! P  z8 F0 |4 ^$ V' i
  26. 2 k  |! t: [3 n% ^. b
  27. ; Directives following the section heading [PATH=/www/mysite] only9 ?9 w1 h( L# {
  28. ; apply to PHP files in the /www/mysite directory.  Directives6 f3 b* w4 Y* W3 x
  29. ; following the section heading [HOST=www.example.com] only apply to) y: G$ n5 C% R* a' K8 a% ], f
  30. ; PHP files served from www.example.com.  Directives set in these  a  w* A# C1 C2 u+ _( D+ o2 Q
  31. ; special sections cannot be overridden by user-defined INI files or. p/ X. c) P1 B' D6 S
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    8 K% R' z( v* h) c
  33. ; CGI/FastCGI.3 ]6 |3 W5 o6 |" [
  34. ; http://php.net/ini.sections3 P/ a7 Z) r6 k+ P& ?
  35. 6 f/ z4 y+ |! N- s0 V5 n0 e! H" w6 o2 b
  36. ; Directives are specified using the following syntax:
    , @( N/ A$ `; X# Y6 O" [7 ?! o  D
  37. ; directive = value
    : x2 `; @% Y7 t6 W
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    # V( s: ?; p4 @" h1 a; v* Y
  39. ; Directives are variables used to configure PHP or PHP extensions.3 d6 h3 d! A' ~8 ~0 [/ I( e/ S
  40. ; There is no name validation.  If PHP can't find an expected. |3 ?" I' F# j7 e: P! E! D( I
  41. ; directive because it is not set or is mistyped, a default value will be used.1 O; z6 g5 L& k, E& }; T) ^/ P& t. w* j
  42. 3 Q, ^: a) f9 S+ E# b, F  ?* P
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ; x$ B4 d3 }7 v# k$ k4 |& ^# {* c& g6 {
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression  x, ?0 B  I; f3 o1 Q
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a8 Q2 r6 J" M! o* R0 s, {; P
  46. ; previously set variable or directive (e.g. ${foo})
    2 I5 J4 P- I) s  B) e
  47. 1 a2 M; q( \" O% T
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ( d. {' v8 @% Y2 W; A, E1 n4 }
  49. ; |  bitwise OR
    ( A) e$ @# y  l9 V8 L
  50. ; ^  bitwise XOR! O  T% U# }  A" |2 a4 ?
  51. ; &  bitwise AND7 L5 |- p8 w2 Z0 z* q1 ^. R1 B
  52. ; ~  bitwise NOT, V  \, s7 u0 d# G$ c" n) \
  53. ; !  boolean NOT" s8 f: D2 ?" j( ?0 e
  54. , i( S& }) n( ^
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ; T5 x5 y! d4 [, F) N
  56. ; They can be turned off using the values 0, Off, False or No.$ D* {1 U4 o" n9 }3 \& W) L' T7 `
  57. - S, x. u* s- V
  58. ; An empty string can be denoted by simply not writing anything after the equal
    $ C* O# N4 ]) P. c. k( ^
  59. ; sign, or by using the None keyword:2 M+ o% \1 F$ L; j& e% N- a1 w
  60. 5 I. Y- z1 ~( P$ u1 x
  61. ;  foo =         ; sets foo to an empty string5 O( y2 p& w2 d
  62. ;  foo = None    ; sets foo to an empty string1 X7 v1 z4 S$ e) |0 w- O5 n
  63. ;  foo = "None"  ; sets foo to the string 'None'6 [' f5 R4 m* E- j2 ]1 f5 |9 }
  64. 9 @1 Z# K, O; j) N
  65. ; If you use constants in your value, and these constants belong to a7 I& E. D6 i, j/ o2 `4 i' Q# b" q
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    5 s% Y7 M- ^7 j& |4 N
  67. ; you may only use these constants *after* the line that loads the extension.
    ! u/ H' A, j( g! Z; X, Z

  68. ( t( h0 F: O. L2 o8 x6 a9 t5 P
  69. ;;;;;;;;;;;;;;;;;;;
    0 Z, ~4 \+ }/ e  \1 [# S
  70. ; About this file ;
    8 E7 N4 N' Z+ z1 ~6 Q" h  J( u, h
  71. ;;;;;;;;;;;;;;;;;;;
    0 o/ G( A7 y' }7 g. {
  72. ; PHP comes packaged with two INI files. One that is recommended to be used: E2 \  V: }# Z; w1 ?8 b
  73. ; in production environments and one that is recommended to be used in
    " q/ s# e* ^$ \! J) R
  74. ; development environments.
    * F& y4 A. `$ u

  75. : q  A/ a3 R/ u1 u' l' D% n* H$ w" ^$ Z
  76. ; php.ini-production contains settings which hold security, performance and
    9 Z$ p- h: P) Z! d9 K1 d; _
  77. ; best practices at its core. But please be aware, these settings may break
    1 P  r/ `' d  ]  \" C' s
  78. ; compatibility with older or less security conscience applications. We' o; [3 v& d5 j4 l- ~
  79. ; recommending using the production ini in production and testing environments.) y9 X2 Z! `, M, T, t" B
  80. 7 p" W# b" l, k* D, ~( p% C9 T9 z2 l! N
  81. ; php.ini-development is very similar to its production variant, except it is8 I; F' E# Y# z- M3 E9 {
  82. ; much more verbose when it comes to errors. We recommend using the
    5 v/ c2 z  z& \2 C3 N
  83. ; development version only in development environments, as errors shown to
    # C" X3 U0 T* Z
  84. ; application users can inadvertently leak otherwise secure information.
    . k2 p$ |+ f' n" M
  85. . |( }) y9 E) n; a$ s
  86. ; This is php.ini-production INI file.$ {3 i  e& B) R+ m$ f

  87. # B( M1 j! l. j2 Z3 D5 T
  88. ;;;;;;;;;;;;;;;;;;;7 X* m% h2 F5 n: {) p
  89. ; Quick Reference ;, Q* T$ W9 {0 i# s
  90. ;;;;;;;;;;;;;;;;;;;0 ?. d, G2 Z8 Q) i2 ]8 g
  91. ; The following are all the settings which are different in either the production* |2 p  Q# V. `6 n
  92. ; or development versions of the INIs with respect to PHP's default behavior.
      \) R) s8 r6 S% g
  93. ; Please see the actual settings later in the document for more details as to why
    0 D' V8 f2 u$ @
  94. ; we recommend these changes in PHP's behavior.
    % V& R5 }! _4 ]3 i
  95. 2 F$ U0 L  g2 e( p: B/ Y+ a( a
  96. ; display_errors
    $ F1 B7 u1 V$ h% P) k% r
  97. ;   Default Value: On6 }( e& h3 [. N  O2 b" {
  98. ;   Development Value: On0 M% J8 B6 R& W( _0 b' |
  99. ;   Production Value: Off
    4 a3 z9 M; N4 }
  100. % P, d0 @% u4 H# [9 n9 ]
  101. ; display_startup_errors) Y5 j4 Z4 X" [4 p
  102. ;   Default Value: Off3 s* [8 U* P% E
  103. ;   Development Value: On
    & X, [( i8 d# C+ y: w
  104. ;   Production Value: Off
    + Q+ O& |' e; ]/ N/ R7 z! c
  105. 6 |( |& u) P2 Y" Z! W2 C1 L% y' @$ N* h
  106. ; error_reporting
    0 g- E% _+ u7 p
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED* }5 t1 Y- U9 j# U% k9 @
  108. ;   Development Value: E_ALL2 ~: D+ Z$ ^3 S2 x
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT0 r7 m+ c: E* i  f9 R$ v- j9 S
  110. $ J- b: u# m, f( |7 w- k
  111. ; html_errors
    # y. S& U1 E5 N7 a. S$ b
  112. ;   Default Value: On
    $ s. X/ X5 s) ?! s
  113. ;   Development Value: On0 ?8 \/ x7 h3 P) X: K8 r' D# z
  114. ;   Production value: On
    ' |6 K$ g3 t+ z2 p

  115. # R6 Q. T& C  S. k1 x
  116. ; log_errors
    ) P, e5 a- }* b% P
  117. ;   Default Value: Off, Q4 U+ D: W' E$ d+ f9 a2 H4 p0 {
  118. ;   Development Value: On7 P/ }. [" v7 ?% _0 b
  119. ;   Production Value: On
    0 p  z5 @6 F$ z: d/ Y
  120. 8 a, M. z) w' @, y& b7 K4 [
  121. ; max_input_time
    7 l6 Y; U0 ]6 W& A2 D7 \
  122. ;   Default Value: -1 (Unlimited)
    / u# T  t4 p( C# E+ d) r6 y
  123. ;   Development Value: 60 (60 seconds)1 G. B/ i1 p* `' B; s
  124. ;   Production Value: 60 (60 seconds)
    3 s$ k" m5 y9 W6 P+ h" D

  125. % K- s, |, w+ |; c  c9 B" O
  126. ; output_buffering
    7 o) T- E+ c4 F7 y$ C, z
  127. ;   Default Value: Off& h" M) E  o% y0 z4 Q
  128. ;   Development Value: 4096; U( u  G: H5 b
  129. ;   Production Value: 4096
    0 X9 f5 n0 N: `+ z8 R9 }3 j
  130. " x3 A6 I# R8 x$ e$ z
  131. ; register_argc_argv
    ) W* }/ f- b3 s
  132. ;   Default Value: On- o5 ]9 l7 B8 S# w% Y
  133. ;   Development Value: Off
    4 m: x' M, G0 q* ^
  134. ;   Production Value: Off2 j# `. w$ F9 b; A1 N3 g
  135. + B# q; _- r- }+ g' G
  136. ; request_order
    : j+ y+ Q/ A1 G
  137. ;   Default Value: None( f# ~( R! Q7 O9 a1 H
  138. ;   Development Value: "GP"
    + O4 ]2 V8 g8 x) u" M4 D
  139. ;   Production Value: "GP"
    * v3 i/ b/ }9 }7 Q; C* v; u
  140. 8 c3 r6 v6 Y! R
  141. ; session.gc_divisor" v6 _; T# ^) g# j& m& n
  142. ;   Default Value: 100
    ) E( X2 o6 X, p8 Z8 J
  143. ;   Development Value: 1000* {5 C+ Z0 p2 D* D/ H' i4 n
  144. ;   Production Value: 1000
    + y9 I6 e+ L- k4 r' X6 X, Z

  145. 1 ~( f: d. e, w4 j, X, o/ Y6 t
  146. ; session.hash_bits_per_character
      ?4 x+ w# `/ p" z$ q4 @
  147. ;   Default Value: 4
    ; H" K: Y% E* C& d; M: t7 z! c, e
  148. ;   Development Value: 50 T' a, a4 q2 e$ J9 V: ?: W1 u
  149. ;   Production Value: 5
    5 N/ }' ~, ?5 T% c( x8 Y

  150. 3 ~" w+ y# i& `% A' ^
  151. ; short_open_tag
    $ \' p5 W+ Q$ {$ N, [5 A
  152. ;   Default Value: On
    * o' K  g2 D* K- J1 V- G
  153. ;   Development Value: Off
    . ^) Q) ?3 M2 y) ?$ M+ u2 u( z
  154. ;   Production Value: Off/ d, V9 u$ V6 H3 M# N) p; I) o
  155.   J: f3 C1 ^; b' S: A
  156. ; track_errors
    # n4 `' a% f; Z$ H; N7 M) ~
  157. ;   Default Value: Off
    2 T2 W  _4 X' V( V& E% L
  158. ;   Development Value: On
    3 p5 g; k8 b; i6 h7 R
  159. ;   Production Value: Off
    / o4 g5 m% e0 W5 _

  160. " \4 @' y0 }# t8 [2 x/ M# v- i
  161. ; url_rewriter.tags
    9 O( `) B$ P  k; v5 q
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="  C6 N7 Z; s% |6 L) `4 S/ ^6 J; h
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry". f7 L, J! z, C
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . X; {9 j! B* R% e$ A8 e0 t6 r

  165. 3 d) U- u! L/ |6 D" r$ v
  166. ; variables_order3 o0 o* I2 l) T4 ~$ U# Y9 e
  167. ;   Default Value: "EGPCS"5 k* y+ r" Y% o8 C2 }5 I
  168. ;   Development Value: "GPCS"0 \+ T+ [$ \& s" C4 {5 x
  169. ;   Production Value: "GPCS". A0 L+ p% }: B/ O! s

  170. 1 \9 z6 A  S6 I
  171. ;;;;;;;;;;;;;;;;;;;;
    ( p5 M0 Y" Q% t% Z  B7 f8 g* ~
  172. ; php.ini Options  ;
    % y+ `% A" d( C) Z0 y
  173. ;;;;;;;;;;;;;;;;;;;;7 M# Q& n2 H2 b( L' n
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"; y* q8 G+ I5 G) _1 z% W1 D
  175. ;user_ini.filename = ".user.ini"  {9 _  F1 [, ?

  176. $ Q$ r" v$ k9 |) `, l: m6 x1 s5 ^$ Y
  177. ; To disable this feature set this option to empty value
    ) ?( u+ ]2 d7 j6 h  l( o4 {2 C
  178. ;user_ini.filename =
    3 ~+ M" b  V8 `3 X

  179. ; s- o3 a1 k/ D5 ~
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)% d: |1 ?+ H7 i: H3 v& H
  181. ;user_ini.cache_ttl = 3005 d  e7 z# V0 ~, H
  182. , E/ T5 i! ?: o6 x
  183. ;;;;;;;;;;;;;;;;;;;;
    5 T( t0 J7 \1 R* V
  184. ; Language Options ;: h% ]% K# x! @- ^/ ?5 c% w0 U
  185. ;;;;;;;;;;;;;;;;;;;;( y3 O% q# }8 v8 W5 h; |+ X; b
  186. 3 f: W/ S; V$ u0 T4 f; n  r
  187. ; Enable the PHP scripting language engine under Apache.
    ! J. c# N9 j: v, l# F8 g( P" e
  188. ; http://php.net/engine
    + {& Y) G. N  D! u; v# ?
  189. engine = On
    $ a) [, Z7 i* D

  190. * c: g/ ]# p7 s) w+ O
  191. ; This directive determines whether or not PHP will recognize code between
    9 Y9 O3 W) J: ~
  192. ; <? and ?> tags as PHP source which should be processed as such. It is# _9 _+ n2 J) V  i9 p2 r4 w
  193. ; generally recommended that <?php and ?> should be used and that this feature
      g6 x' z0 q. q8 n9 p
  194. ; should be disabled, as enabling it may result in issues when generating XML, Y, H# W* p4 }  o- q; D
  195. ; documents, however this remains supported for backward compatibility reasons.
    1 R; d( Y& [6 o5 B* Z
  196. ; Note that this directive does not control the <?= shorthand tag, which can be0 s" H$ b: D7 T) a" q( a, V* }
  197. ; used regardless of this directive.  E$ B8 K& u- r5 |0 }
  198. ; Default Value: On
    5 `$ E7 H' j) l0 }& I
  199. ; Development Value: Off! [+ _. w7 d0 D
  200. ; Production Value: Off% D1 A" U4 ?$ {& W7 i) o$ ?
  201. ; http://php.net/short-open-tag4 ]+ j+ z; N1 W# H# y/ M* C, L
  202. short_open_tag = On
    2 A1 k' f6 p1 N- D8 o
  203. 6 m! q/ }4 Y2 G2 k$ M1 x
  204. ; The number of significant digits displayed in floating point numbers.
    1 g( j. y2 c' ~
  205. ; http://php.net/precision
    : Z# I# j0 Q# m5 t
  206. precision = 14. \9 e6 M& ~# f
  207. , L5 ~7 d8 p7 c
  208. ; Output buffering is a mechanism for controlling how much output data
    4 _# a8 L+ _3 ~/ E
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ( s' _, y) {; `. p, d3 t  _4 ]
  210. ; data to the client. If your application's output exceeds this setting, PHP6 i" Q/ w" P9 d4 b; ]* C+ d4 r
  211. ; will send that data in chunks of roughly the size you specify.
    0 p, r7 y" }7 ]$ ^( U
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    & [9 ?5 U$ A/ `& Q
  213. ; interesting side-effects depending on your application and web server.
    , ~; L0 ~( b- p/ G: S. ^1 v
  214. ; You may be able to send headers and cookies after you've already sent output
    $ h0 |) e7 `0 g. J- ~/ @5 d! P3 C
  215. ; through print or echo. You also may see performance benefits if your server is' I, f- G$ G4 _. P
  216. ; emitting less packets due to buffered output versus PHP streaming the output" t- L3 U! f9 r) k1 ~: h
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance0 B% r' _6 b/ q1 F, z; S# v/ p
  218. ; reasons.
    ; {. A: ?8 E- r& X4 t
  219. ; Note: Output buffering can also be controlled via Output Buffering Control8 P- Q& ]+ W& u, Y, S' T: M
  220. ;   functions.
    & }, b9 @* t: R; P8 \& Z
  221. ; Possible Values:  ]$ V3 O$ l- q! U, L1 z
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ; h# {0 U  Z) E7 q1 E' e, A6 {5 A
  223. ;   Off = Disabled- f- R5 w9 C5 w& J
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    6 t. o! b, V3 n& O- \: G
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    5 [7 M+ Q' t- s* R0 H
  226. ; Default Value: Off
    ) @, P( x+ ~5 Q0 i3 c
  227. ; Development Value: 4096
    ! `! n# @  K+ k- [; M# M, \
  228. ; Production Value: 4096
    1 R( i0 ~+ Y& t6 r+ [+ _$ f
  229. ; http://php.net/output-buffering9 h; E8 F7 r' M4 s/ `; T
  230. output_buffering = 40963 o4 R  ]' ~# Q+ B# {; k
  231. , V( @7 e# \! B8 O) c, {! Y
  232. ; You can redirect all of the output of your scripts to a function.  For
    * \1 _$ Z. _0 d/ A; }
  233. ; example, if you set output_handler to "mb_output_handler", character
    6 Q3 N; }; {! G& E: m7 a. {
  234. ; encoding will be transparently converted to the specified encoding.% X( o1 r! n+ q; ]" e, D
  235. ; Setting any output handler automatically turns on output buffering.
    1 E" [0 ~; K2 i) |6 x
  236. ; Note: People who wrote portable scripts should not depend on this ini
    , {- i% D+ @0 t- b4 R
  237. ;   directive. Instead, explicitly set the output handler using ob_start().4 e) L: B# @+ E6 t: }) |# U
  238. ;   Using this ini directive may cause problems unless you know what script
    & {. C- x. _2 M. F( V5 B0 j
  239. ;   is doing.
    " w$ Z) }* q2 M" J4 q. j
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    8 n3 W+ ~, ^# p; _! o) N& t
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".8 O9 o4 u. Y9 l
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    1 F1 G/ K& B9 Z/ c7 x0 C3 }
  243. ;   Instead you must use zlib.output_handler.
    8 P1 w; S8 a$ W# x4 Z8 D# G0 B
  244. ; http://php.net/output-handler
    ) j4 ?% l4 T8 R+ t; s- i+ W
  245. ;output_handler =% ?. F1 [* n4 E& ^8 a" _% s
  246. 9 x8 E" e, [2 g" S: K# o# O; [5 v
  247. ; Transparent output compression using the zlib library
    % R. g. m; a' O; }
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    6 z; Y* T* ~5 x5 O% C1 _0 z- l# a
  249. ; to be used for compression (default is 4KB)
    % O# x9 V% w2 }; k+ I' i8 Z) X
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    % R1 Q, U0 @; F# ?2 J
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    9 H9 L( y4 |( S' P# e
  252. ;   compression. If you prefer a larger chunk size for better
    : T7 j0 @* p: j( S8 r, K
  253. ;   performance, enable output_buffering in addition.
    6 O9 u  U1 k5 F9 C" W: v
  254. ; Note: You need to use zlib.output_handler instead of the standard
    * n0 `. c3 M* Y3 y
  255. ;   output_handler, or otherwise the output will be corrupted.
    8 K) y3 |8 j) V6 U7 p! B
  256. ; http://php.net/zlib.output-compression7 |4 p% @9 Z) B/ q2 b+ [% ]
  257. zlib.output_compression = Off+ B+ o/ j9 u8 h: V' P8 s

  258. # V- }  z' z3 k4 {4 {, Q: x
  259. ; http://php.net/zlib.output-compression-level3 p8 x  {8 n+ c$ D+ T; S
  260. ;zlib.output_compression_level = -1, |7 |5 f% h2 B4 o- J
  261. : m- l$ q& t. r" f
  262. ; You cannot specify additional output handlers if zlib.output_compression2 l0 }6 f8 F# p; Q4 K
  263. ; is activated here. This setting does the same as output_handler but in
    8 j9 K  \) \, e" |# s  |
  264. ; a different order.
    ; J  Q0 a  o2 h" n
  265. ; http://php.net/zlib.output-handler
    ; G& N* L% R+ n# z/ h8 g$ U
  266. ;zlib.output_handler =6 y# g" ]. X3 x: `' V( e! }

  267. - d" Q; t! F7 {5 F
  268. ; Implicit flush tells PHP to tell the output layer to flush itself' J. z9 _& E2 J- [/ f+ a
  269. ; automatically after every output block.  This is equivalent to calling the, C& ~- @" F! u2 y. T- d) {
  270. ; PHP function flush() after each and every call to print() or echo() and each  t. E) O) S8 A
  271. ; and every HTML block.  Turning this option on has serious performance0 z$ v; w; s1 {& _
  272. ; implications and is generally recommended for debugging purposes only.' o8 k. ]( D& j, Q% z0 D8 C
  273. ; http://php.net/implicit-flush
    ( z, W: v7 r9 {
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    # Z# N4 [2 \9 ?# z  a! P
  275. implicit_flush = Off" C' x4 P! n- ~; `. e; L

  276. ) d1 Z: K! ~6 s
  277. ; The unserialize callback function will be called (with the undefined class'7 x3 N, r/ Y4 Q
  278. ; name as parameter), if the unserializer finds an undefined class6 X' R. w' g" f0 ~! F3 h! G! m
  279. ; which should be instantiated. A warning appears if the specified function is
      N, T! _% R% F/ M- e; \
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ' J, M& B! E: p* I$ {) p! U
  281. ; So only set this entry, if you really want to implement such a% V+ Y8 z, ]* Y; c
  282. ; callback-function.1 [% L0 `8 n- T: _# s; p
  283. unserialize_callback_func =2 L0 j9 F. S3 l1 A- `

  284. ! t+ |! Q" A4 {% U
  285. ; When floats & doubles are serialized store serialize_precision significant
    ! Y1 I$ s6 i. O+ D
  286. ; digits after the floating point. The default value ensures that when floats0 S3 d: X+ h0 |+ l6 b  @
  287. ; are decoded with unserialize, the data will remain the same.
    & ?7 g7 o% c3 b9 w  t) n# o" f
  288. serialize_precision = 17
    7 c) N0 ~: }7 j4 y5 q

  289. # r. v4 X% F1 O6 i; B
  290. ; open_basedir, if set, limits all file operations to the defined directory; @" F& I+ K9 F- r$ _" a& K1 f
  291. ; and below.  This directive makes most sense if used in a per-directory
    - I) r8 @; l8 _0 ?
  292. ; or per-virtualhost web server configuration file.
    6 |2 c( P7 G  `# E5 ]" b6 R; ~( }
  293. ; http://php.net/open-basedir
    : E5 g7 r' \/ Z4 c" d
  294. ;open_basedir =9 r' d6 B( |1 ?$ L* ]5 B
  295. * O+ C" V- T7 @6 N
  296. ; This directive allows you to disable certain functions for security reasons.
    / v* I) p1 p, s
  297. ; It receives a comma-delimited list of function names.
    5 u4 U+ X1 l/ m6 {
  298. ; http://php.net/disable-functions& f2 c  n! r9 e- r
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    , A# a  w. r. r( v% ^" |

  300. . U/ T& H5 B2 m9 q8 W6 Q6 G: C3 o. u
  301. ; This directive allows you to disable certain classes for security reasons.
    4 q, S/ i" N9 Q& U9 l
  302. ; It receives a comma-delimited list of class names.
    # z% ^& c7 K" ]
  303. ; http://php.net/disable-classes0 e2 m3 h* ?( q6 L( s, p$ t& D
  304. disable_classes =
    0 A) i4 q3 R- a
  305. 8 r, n) e; @+ ~  \+ @9 l$ z7 _
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    2 n. E  Z7 O1 M4 t- G  H
  307. ; <span style="color: ???????"> would work.. [( c% i& ^# `8 L$ T) r" `- `! \
  308. ; http://php.net/syntax-highlighting4 I3 d; T1 O3 M4 ^: j( t
  309. ;highlight.string  = #DD0000  c2 l, V7 R6 O; D
  310. ;highlight.comment = #FF9900% ~4 ^0 }0 k0 a- c
  311. ;highlight.keyword = #007700
    : F; }3 u+ `6 F: Y- k9 G3 L! u
  312. ;highlight.default = #0000BB. D. T( \4 ]: B* C! v2 l% l
  313. ;highlight.html    = #0000006 \( v: Z# K. w: u$ t

  314. , T4 P0 m6 ~% B  F% ]5 W/ {
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    2 K* W. [6 ]* E5 ~% E) r
  316. ; the request. Consider enabling it if executing long requests, which may end up
    : E$ @+ q& a. F% k
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
      H+ d- y+ T; w) ~- ?3 s3 d" k+ T
  318. ; is to disable this feature.
    ; V/ F. Z! J7 i( e& @2 e
  319. ; http://php.net/ignore-user-abort" U# g9 R7 C+ K6 @, G1 v
  320. ;ignore_user_abort = On
    - E1 U8 P/ S' V6 K, C

  321. , p" K- y+ _3 Z
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    " }7 Y( h# a/ [
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    $ u  j- T# H# z; ?
  324. ; the file operations performed.
    . j% i/ U$ I9 x$ }* \( P
  325. ; http://php.net/realpath-cache-size
    " D! m$ v8 \5 y; {
  326. ;realpath_cache_size = 4096k  g  O: S& P" [' ^$ U
  327. " @5 t. |% R8 d
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    ) P5 H" P' H- C  ^/ [* U4 T
  329. ; file or directory. For systems with rarely changing files, consider increasing this5 E& K2 _& h& P/ l8 f
  330. ; value.9 b/ F. r/ b, v3 B
  331. ; http://php.net/realpath-cache-ttl! u6 E, h% G9 X) b# N' ?) K; q
  332. ;realpath_cache_ttl = 120
    & a2 F' W% t, c5 {% ]
  333. & u1 ^3 W& k- N. v, [
  334. ; Enables or disables the circular reference collector.8 q; R$ \3 D2 c( Q' D+ z
  335. ; http://php.net/zend.enable-gc6 m' K) N2 F+ y& Y
  336. zend.enable_gc = On1 ?+ x" M4 J/ E) L( j% g3 x
  337. 1 g, O7 f" s& l+ ?
  338. ; If enabled, scripts may be written in encodings that are incompatible with; x5 z. Q* K# X# x" _7 K) G
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    3 @) V$ Q! Q  C- f( q& _; z1 a
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    3 ~6 ~  F5 r5 l/ @% E
  341. ; Default: Off
      [' s1 I* a) K8 G9 j' b0 u
  342. ;zend.multibyte = Off
    ( F0 E/ Q2 |8 `5 k) f- z7 T0 a

  343. ) e; i8 Z1 S  J7 d
  344. ; Allows to set the default encoding for the scripts.  This value will be used, J6 `9 B$ [# `
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    & L6 n$ Q4 [4 X0 T4 n* n8 N7 u
  346. ; Only affects if zend.multibyte is set.+ L4 ~6 ~' c8 ]0 D& U
  347. ; Default: """ x2 `% o' ]; A: l* ]' V
  348. ;zend.script_encoding =. t5 b& F. N+ k5 x  }
  349. + U) `4 i7 M1 i: w
  350. ;;;;;;;;;;;;;;;;;
    9 q1 m/ e! ?+ U0 Q# H6 n# k
  351. ; Miscellaneous ;
    0 G8 s4 B( i; J6 N5 h
  352. ;;;;;;;;;;;;;;;;;
    % n% u/ l/ t( w* Y# l  o

  353. 8 P% S+ j. Y: T- [
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    " k& H+ Y; h9 M! U: f. G
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    0 k5 P% h/ |; \1 W! h
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    / j* ^1 O. g: v6 ^
  357. ; on your server or not.) Z) E& r/ D) m
  358. ; http://php.net/expose-php
    $ o- q+ V* D5 ?3 @2 W
  359. expose_php = On
    1 z  f; U  w( L. j9 C1 b& W  D

  360. 5 E4 \; t$ C* R" v, U
  361. ;;;;;;;;;;;;;;;;;;;, m' w4 ~4 c+ T3 `9 s" f
  362. ; Resource Limits ;5 ]' v! n; K5 ]& @) L6 ^9 H
  363. ;;;;;;;;;;;;;;;;;;;
    $ p: |1 q6 b! L- R, x( E# f& T8 o

  364. ; c6 K, S* f" i
  365. ; Maximum execution time of each script, in seconds
    2 T1 y$ l' j5 X9 \+ V
  366. ; http://php.net/max-execution-time
      _' i- F4 o! G1 [$ y& w( z
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    + V9 X/ U# H7 n4 C
  368. max_execution_time = 3001 C, K5 ~) E9 [: B
  369. / K$ W- B2 y* T7 z
  370. ; Maximum amount of time each script may spend parsing request data. It's a good3 F' u# x5 l; E4 V# v3 w# d4 v
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly7 j4 b" @. h" z# a0 N/ z9 q
  372. ; long running scripts." u9 E8 M9 r% `5 n7 |8 H" H6 K
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI6 s! P0 n: J& e; M* D8 k
  374. ; Default Value: -1 (Unlimited)- ?* Y+ a# N& Y8 m* n& e
  375. ; Development Value: 60 (60 seconds)0 O0 Q* F+ x! p: j  ~0 [  _, Q& b
  376. ; Production Value: 60 (60 seconds)
    * K. r) r0 j# k0 _4 u
  377. ; http://php.net/max-input-time7 K- [3 Q* @0 t
  378. max_input_time = 60! W  N2 p1 g7 H  x  S4 G
  379. . d5 \9 _; a3 `8 ~0 a5 Q+ W% w+ i9 J& v
  380. ; Maximum input variable nesting level
    # a* G8 d; R' x1 D0 x
  381. ; http://php.net/max-input-nesting-level7 m. E/ S2 v: S" M- ?
  382. ;max_input_nesting_level = 64
    + r2 r7 i$ |* I" J4 g# c/ I

  383. : }9 W) k$ K/ U1 H( U0 i  ?0 [+ t; U
  384. ; How many GET/POST/COOKIE input variables may be accepted  L9 h" T0 B9 g: j: l; \1 J' p
  385. ; max_input_vars = 1000* h; P+ z/ ^1 a0 @- U' x2 h
  386. 2 L8 g% U. }& z6 C' X; D
  387. ; Maximum amount of memory a script may consume (128MB)
    0 u% m- x% b1 c+ L, J
  388. ; http://php.net/memory-limit% P2 S4 L) ]8 A3 Z0 m
  389. memory_limit = 128M0 J2 J  D* |, r  q( B! Q* q/ }

  390. : i$ ^4 }9 @. I, P' a
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    8 m6 B, |. p8 m- q
  392. ; Error handling and logging ;
    3 |6 y7 s8 z# ], a
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    5 D1 H0 I2 ^! e

  394. : J1 R. {: J! F! Q* Y- P
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    / y* F$ ^+ ^7 O9 F$ {
  396. ; it to take action for. The recommended way of setting values for this
    * e: D  A8 @. I- J
  397. ; directive is through the use of the error level constants and bitwise% P, P" b/ {. [* r+ k0 m; R) `6 O1 a
  398. ; operators. The error level constants are below here for convenience as well as0 f$ m" A4 L3 q0 }2 V$ F
  399. ; some common settings and their meanings.8 b$ W% \$ O( E; ]) c* |( u4 B
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT! ?* ^: g* I/ a9 z. X( N
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and8 I( U  j9 i5 D! {* d6 o. a* y
  402. ; recommended coding standards in PHP. For performance reasons, this is the# O  r* P0 w2 r, T( q& W
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    6 h' f: b4 p/ q: r4 G! x
  404. ; resources complaining about best practices and coding standards. That's what/ o2 G" K4 K1 K3 |) {
  405. ; development servers and development settings are for.
    . N, A3 N5 n& f
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    : G3 @; v# D( I
  407. ; means it pretty much reports everything which is exactly what you want during0 n* T7 O& m6 A: `& |
  408. ; development and early testing.# B" A, F0 F% j. n1 B- v( R2 b
  409. ;+ l: N) t& C# e# R
  410. ; Error Level Constants:% l/ T+ S% `- ?7 }0 b8 J
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)( [) J" W" M2 p3 L* K
  412. ; E_ERROR           - fatal run-time errors9 @  o# S- o4 F3 a. W0 n
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors% o$ `! Z1 i( r+ j% v
  414. ; E_WARNING         - run-time warnings (non-fatal errors)2 i0 _# p3 Y; y0 O3 j: F4 A/ Y
  415. ; E_PARSE           - compile-time parse errors6 g2 ~& s" k  r8 G3 L
  416. ; E_NOTICE          - run-time notices (these are warnings which often result4 @. m9 E. T' `% G
  417. ;                     from a bug in your code, but it's possible that it was
    ; e6 g7 g' H* A
  418. ;                     intentional (e.g., using an uninitialized variable and
    : q: R* z+ T; Q8 A
  419. ;                     relying on the fact it is automatically initialized to an
    7 z* W' ^+ v* a/ r/ V. Y
  420. ;                     empty string)
    - y2 s" a$ ^4 O  C+ f4 Q8 P  W
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    . m) U8 q0 \6 U+ H5 a( r* \% d
  422. ;                     to your code which will ensure the best interoperability
    , w1 F5 D6 y9 b- E
  423. ;                     and forward compatibility of your code7 F, l  u0 |: H( {* h2 ]! B" ]1 ~- N
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup2 X, Q2 E: w" z% Z
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's8 x; B& [. s5 L4 s% c
  426. ;                     initial startup  e- y9 o2 Q% J3 H' j
  427. ; E_COMPILE_ERROR   - fatal compile-time errors' h7 b5 M4 J- i9 L
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    % R, \. a* t; V$ |  U* ?
  429. ; E_USER_ERROR      - user-generated error message% x' ?0 S7 [" b0 r0 {
  430. ; E_USER_WARNING    - user-generated warning message" V6 \0 u' h- D! u) I* Q4 {
  431. ; E_USER_NOTICE     - user-generated notice message% L6 Q% B; N0 K  y: g, x* r
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    $ T1 z2 [* Y4 q1 P- }7 H
  433. ;                     of PHP4 E! o  n9 ^6 T0 g. W& ^' b
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    " Y8 L# O/ j8 _7 O& T
  435. ;0 l+ z( m) O2 M$ H; P
  436. ; Common Values:
    : S% q- A: N6 D5 y3 ?7 p0 T$ T* D
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    # x6 Q- f9 p8 x# k
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)1 v& ]4 r1 m( I2 ~0 ?6 C" I
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    , f- Z* E/ h" J
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    3 A7 q' S" p) ]6 X7 Q1 p
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    2 s* A5 X) j! {5 Q  I
  442. ; Development Value: E_ALL4 j, s' l- u6 g* F) i+ q
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT/ s/ O1 t; b1 M( a# k2 @8 H/ D4 C
  444. ; http://php.net/error-reporting
    6 D( n9 J' t& i, D: m7 E% W  f: e
  445. error_reporting = E_ALL & ~E_NOTICE, A9 v/ n# M2 j# f, o: Z% ^& W! v

  446. , u8 ?% ]2 u: r! |+ n+ i
  447. ; This directive controls whether or not and where PHP will output errors,  G  Y9 `  O2 q# j, c! K& a
  448. ; notices and warnings too. Error output is very useful during development, but3 z. f( M9 _: G5 w, j( U
  449. ; it could be very dangerous in production environments. Depending on the code
    ' b2 a* H7 H( l& O4 Q/ @
  450. ; which is triggering the error, sensitive information could potentially leak$ K; T8 H; g5 V; U4 Z" c( t% w8 t
  451. ; out of your application such as database usernames and passwords or worse.: c5 J( G5 {# z: H: g  \' t( m" o
  452. ; For production environments, we recommend logging errors rather than
    / i, r& i) C  p% X) @: h6 h9 H
  453. ; sending them to STDOUT.0 Q% L/ Z# w9 A: E! n* M- @
  454. ; Possible Values:
    # e; u: x7 [% c+ L* q" Q, }; c
  455. ;   Off = Do not display any errors
    # P5 y+ y  C) ]2 K
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    / ?: ~4 t% C; |9 \; Z# S
  457. ;   On or stdout = Display errors to STDOUT
    + w0 b; E0 M# y) ~) e
  458. ; Default Value: On+ g5 \. v  i( n
  459. ; Development Value: On' x' z% o. B: q/ u
  460. ; Production Value: Off
    % f9 y3 l& w1 c7 g
  461. ; http://php.net/display-errors* P- @+ ?1 M. p/ V& {4 E# X
  462. display_errors = On
    3 E. Y- a1 `  g: Z

  463. 1 m  P& e! I9 F
  464. ; The display of errors which occur during PHP's startup sequence are handled$ h* R3 }+ N2 e! ~
  465. ; separately from display_errors. PHP's default behavior is to suppress those8 {; c- H! C. A$ I0 k5 ~0 ^5 A: R
  466. ; errors from clients. Turning the display of startup errors on can be useful in, I9 c" L, [- v7 s
  467. ; debugging configuration problems. We strongly recommend you0 M& [( j0 d8 j- S& W
  468. ; set this to 'off' for production servers.$ ]) v( B1 M4 q# v
  469. ; Default Value: Off0 }! r& }1 j0 f7 y0 l. a( c5 |( r
  470. ; Development Value: On
    * L9 m1 G) t8 v+ ?/ E) Y" g$ j
  471. ; Production Value: Off
    : h# j& g0 q- i' G
  472. ; http://php.net/display-startup-errors# F/ ]) b) b  y2 f9 b+ p
  473. display_startup_errors = Off
    , X- v8 z: C% L4 X8 ^- b9 q! Y

  474. 4 ]- O9 N$ v& U3 \, s) [; ~
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    8 Z! n) g6 K  e* a/ _( x
  476. ; server-specific log, STDERR, or a location specified by the error_log' z$ k" O( v3 `. M5 s" x" ^) h1 i: ~
  477. ; directive found below. While errors should not be displayed on productions
    " F, y3 J2 }! W& v
  478. ; servers they should still be monitored and logging is a great way to do that.. |  |5 h. L$ }' [, s
  479. ; Default Value: Off
    & J! s) `2 `! ]! T6 F
  480. ; Development Value: On+ W0 d  a1 C: j
  481. ; Production Value: On, [0 H. f3 E* K# ]# T1 @
  482. ; http://php.net/log-errors, g. n" O9 @/ P4 i3 }
  483. log_errors = On
    1 A0 D: L' |  r: u; F% \+ t" t' ^
  484. : b# C* D# P7 _: Y3 G8 E
  485. ; Set maximum length of log_errors. In error_log information about the source is
    ' }# F& _% u% U9 C' z) e$ P5 V
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    & ~% ~( |8 I/ N, [2 y
  487. ; http://php.net/log-errors-max-len/ ~0 E- K( L6 W) l- P7 C
  488. log_errors_max_len = 1024; T# c$ c7 N! x

  489. 5 i7 s, D! y) O2 G! Z
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same1 x' H! \% _  D7 C( B
  491. ; line unless ignore_repeated_source is set true.
    ) n# F- ]) @. \. w! `$ q
  492. ; http://php.net/ignore-repeated-errors
    2 v4 q  y# W! G& M8 W3 I; T
  493. ignore_repeated_errors = Off* R& h+ T8 `2 ]9 A8 @9 Z- E' Q
  494. 2 h: g* l7 k# A
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    , \: o7 p: b) O; [% H. }
  496. ; is On you will not log errors with repeated messages from different files or8 d4 _- p3 C# B$ P: \+ Z, O; G2 @
  497. ; source lines.* r. ], L8 h4 D5 r( R
  498. ; http://php.net/ignore-repeated-source7 \9 T* X, a/ f: C. M9 h1 Y- g
  499. ignore_repeated_source = Off
    - X" U9 y8 o6 ^+ z% i* n  C
  500. 3 h' \/ j6 f6 k9 b% M+ P5 Q- z
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on8 e) f$ U- I: n) Q2 ^, u2 ]) @
  502. ; stdout or in the log). This has only effect in a debug compile, and if0 z( `: ?" ~3 A( O6 m+ v( f
  503. ; error reporting includes E_WARNING in the allowed list
    5 v0 G, ~! @# `6 R- ]) G
  504. ; http://php.net/report-memleaks
    % z+ v% o! _1 e. U1 F
  505. report_memleaks = On8 A+ r& ^/ \- V; p
  506. 6 e# \; E* d* V% C2 p
  507. ; This setting is on by default.
    & z" n) t8 @+ K
  508. ;report_zend_debug = 0
    $ h) l' }2 Q! I1 G: {: I& O

  509. 4 O" ]! Z: r$ v: a/ e/ d, ^( }; R
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    9 ~% @3 H0 {) r% ^
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    1 ~/ d/ Q& U" I& L: P+ I
  512. ; however be disabled on production servers.2 N- P+ @. T3 {5 U
  513. ; Default Value: Off
    2 \$ ~# L/ E0 ?. f& K1 }* Z4 c
  514. ; Development Value: On
    : b5 [. ^2 }0 T! Z5 w
  515. ; Production Value: Off
    " _% `: U% u; o+ y' I* X8 ?5 I* d
  516. ; http://php.net/track-errors# a) o# x: c: N, T
  517. track_errors = Off
    ; [% U: l7 \: J! m0 I$ q! r! N

  518. 1 X  M1 x$ u; d" V9 V( M& [+ w
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    9 {5 y- p: O% w* P* P. q
  520. ; http://php.net/xmlrpc-errors
    ) O+ d, Q8 B  Q- \' V/ q9 k) F1 B
  521. ;xmlrpc_errors = 0
    ; m1 s, B) `1 ]) E5 I+ p2 V

  522. $ j, k6 A7 h  ]) ?7 ^$ H
  523. ; An XML-RPC faultCode8 A; y8 b: D: v( I" \" _# ^' b6 n
  524. ;xmlrpc_error_number = 0! B% e4 K  s0 e5 q) X2 G3 U) F
  525. : X; I  n) t$ p, C7 Z' ^; O
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    / }8 C, \; }  L6 ?7 O  \
  527. ; error message as HTML for easier reading. This directive controls whether
    & V% ~5 g1 J5 d. U
  528. ; the error message is formatted as HTML or not.
    1 n  B8 D* t, }
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    + f  D- z7 B6 U
  530. ; Default Value: On
    . O) v- Y8 i3 h, c* i1 H
  531. ; Development Value: On4 j* {8 i* \6 |2 f% \2 z
  532. ; Production value: On# [! ], o; l3 U5 F3 X# O! R; s+ s
  533. ; http://php.net/html-errors
    2 g2 }+ S: ^4 Y& O
  534. html_errors = On8 o3 J5 n- ~2 R' B3 w9 j
  535. 3 B; \$ h+ G' O. o
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    4 p- ]7 T3 b3 u* ]5 z! ^9 B3 X/ e
  537. ; produces clickable error messages that direct to a page describing the error
    0 u# g( I( Q. b4 y/ T
  538. ; or function causing the error in detail.
    ( w8 C( a4 c; @6 m& j
  539. ; You can download a copy of the PHP manual from http://php.net/docs# P4 t# k3 E8 ]3 r
  540. ; and change docref_root to the base URL of your local copy including the6 h* j  l& z0 V+ r
  541. ; leading '/'. You must also specify the file extension being used including0 }) T) d7 J+ D/ o3 r, }. }) W; X
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ) `- H: G8 ^, ?$ v+ u2 P9 W3 d3 J
  543. ; case no links to documentation are generated.2 Q: A, \2 U: }6 S" j
  544. ; Note: Never use this feature for production boxes.: r- I0 K( _% x4 X7 O5 A
  545. ; http://php.net/docref-root
    8 B& q! ~1 M- a/ ?) @
  546. ; Examples5 R( P' z( p( o, I4 {/ I7 Q
  547. ;docref_root = "/phpmanual/"* J% f) t+ D* Z, e
  548. 2 k0 v1 x/ G, ^" T
  549. ; http://php.net/docref-ext3 L2 R9 d/ E6 c" H& v* d
  550. ;docref_ext = .html
    . T3 f. {: _7 L+ v9 L+ [
  551. $ {  v9 w& |4 d2 F+ z+ q1 Q
  552. ; String to output before an error message. PHP's default behavior is to leave
    ' e. R- \! H! `; l: y  }( B; R1 ~
  553. ; this setting blank.% p! p0 m# @- d4 i) g2 n
  554. ; http://php.net/error-prepend-string3 O9 s7 d  m4 d7 e: Y
  555. ; Example:
    , R8 H. w9 C" b+ s, p
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    ' k) q* B) C/ f

  557. & {% I  y! V) F. z
  558. ; String to output after an error message. PHP's default behavior is to leave8 ]/ r, O$ e) f9 m! |5 m: k. _0 a
  559. ; this setting blank./ l6 Z/ M7 q# _  D. v& ?
  560. ; http://php.net/error-append-string
    $ y5 v& |" a$ j, Q0 ?
  561. ; Example:
    : w  B1 l* s; f* X  A( H" _
  562. ;error_append_string = "</span>"
    * w$ h" H: S6 N  e2 A) X6 L

  563. - S( X3 d1 B! Q0 R
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    8 y% R8 L% W1 `5 }- J* l9 d8 }
  565. ; empty.: \  M  e* F! ^& X9 K% N4 P4 q  w7 K
  566. ; http://php.net/error-log% f1 k: c9 k9 b/ k8 c. F
  567. ; Example:
    4 ?' j2 E3 s: i8 d  N* y
  568. ;error_log = php_errors.log
    7 k2 g# M% y+ a( a7 [' H. M
  569. ; Log errors to syslog (Event Log on Windows).
    8 k) I2 Z9 w  r4 y5 U
  570. ;error_log = syslog
    + H4 R$ i# w' x6 M! \

  571. 6 G4 Z4 z- Y$ ?! j9 X9 ^/ f
  572. ;windows.show_crt_warning" T$ I" v, w# t. F% Y, ?; b& U% G7 J2 x
  573. ; Default value: 0
    " s- B- S. i; P' v2 v
  574. ; Development value: 0
    ' l/ J0 `2 `. x. A
  575. ; Production value: 0+ h# M2 o1 d7 k. K1 p* `

  576. 4 U( F) N3 `1 F; }0 g8 P/ {
  577. ;;;;;;;;;;;;;;;;;
    + \: p9 g: {( O8 h7 G
  578. ; Data Handling ;
    % [- d' B- J" K. V+ `3 D" _* o
  579. ;;;;;;;;;;;;;;;;;
    / G* P3 O* Z+ q9 Q! X4 c( I

  580. 6 W! E' [+ u* |$ L/ O; `0 [
  581. ; The separator used in PHP generated URLs to separate arguments.
    2 D% @( R3 @3 O& u+ ~
  582. ; PHP's default setting is "&".
    , F+ B' |1 X+ [& m: Z  i
  583. ; http://php.net/arg-separator.output
    3 G9 P0 Z8 @/ r
  584. ; Example:# x! Y) N5 ~0 e" P8 |/ J# w% b% G
  585. ;arg_separator.output = "&"- }7 K7 }3 e# r6 p4 @
  586. % J0 j" L" ^/ A5 Q. [
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
      y9 B& n2 J+ |: C2 K4 e3 b
  588. ; PHP's default setting is "&".
    + U* J+ }$ z$ E0 e- M* ^0 Y
  589. ; NOTE: Every character in this directive is considered as separator!# @9 H4 E, g+ x9 r4 @, `) R; z
  590. ; http://php.net/arg-separator.input2 c5 g1 ~9 u6 r' \) F7 ~) G
  591. ; Example:/ n4 {; N% t. U+ R4 s# l& j
  592. ;arg_separator.input = ";&": p, W" J4 [) Q, X) F6 v
  593. & b- f( J0 C# e$ I
  594. ; This directive determines which super global arrays are registered when PHP0 D, A+ n5 N( Z$ F
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super6 h, \5 r6 b6 c3 \$ Z7 |3 ^
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ! K7 @9 K( N5 r( A% x
  597. ; paid for the registration of these arrays and because ENV is not as commonly, i" P) K% M7 c) I6 l/ ?
  598. ; used as the others, ENV is not recommended on productions servers. You) o1 V! l9 \( F) B- a8 X) ]8 b
  599. ; can still get access to the environment variables through getenv() should you) b, l/ B  [! Z: Y; z9 b$ q
  600. ; need to.; F  }/ X( J; g; b+ f; d
  601. ; Default Value: "EGPCS"
    + ~7 [0 Z: d# ~+ y* ]; I
  602. ; Development Value: "GPCS"
    0 ~- O5 P* t/ {. p% I; p
  603. ; Production Value: "GPCS";
    1 f6 W% O* ^: h% v8 a" }
  604. ; http://php.net/variables-order
    3 `. C0 O$ d$ s: Y) i. _  c
  605. variables_order = "GPCS"- N$ Y+ b/ F7 m- n: D& N& g1 t
  606. 0 Y6 k& \- S* _) V! m9 b+ E& s
  607. ; This directive determines which super global data (G,P & C) should be6 n# h, p: i* |$ @2 V# e: o
  608. ; registered into the super global array REQUEST. If so, it also determines
    % G2 ], T2 H8 s# ^) X" O
  609. ; the order in which that data is registered. The values for this directive
    . C7 b$ u1 O$ P
  610. ; are specified in the same manner as the variables_order directive,
    8 m0 }+ @' e, a' H3 k
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set: C4 @/ W9 Z0 {$ A8 Z( x3 ~3 t) s
  612. ; in the variables_order directive. It does not mean it will leave the super. L- c  E) ~* W
  613. ; globals array REQUEST empty.5 Y! e( h  r; @" S4 G
  614. ; Default Value: None
    3 \" S, B, @- X* ?0 c! X0 q3 h
  615. ; Development Value: "GP"
    ( @1 Y$ f' D' Y" B2 n( d: h
  616. ; Production Value: "GP". b5 V! g0 j9 G% G( M
  617. ; http://php.net/request-order
    6 i$ n- w' l: o7 w. ?
  618. request_order = "GP"0 G5 p1 C$ ^2 ?& {! L, ~/ w0 o( N  `

  619. ' F) L( q- W2 n0 l- @
  620. ; This directive determines whether PHP registers $argv & $argc each time it3 O$ Z* r% |4 u' h+ G9 v/ e
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    # t5 F" h$ U0 G* o+ o$ v
  622. ; is invoked. $argc contains an integer representing the number of arguments% `8 Z' H; n9 D8 k. E
  623. ; that were passed when the script was invoked. These arrays are extremely
    * p$ ?" |- _' s' U
  624. ; useful when running scripts from the command line. When this directive is$ Z4 q* b9 Z$ q
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    * i$ F7 l. N6 E2 e
  626. ; a script is executed. For performance reasons, this feature should be disabled
    : x; I/ K' A8 R' g7 g& G1 D/ |
  627. ; on production servers., s5 n, y: q# D# N3 r$ ]/ g
  628. ; Note: This directive is hardcoded to On for the CLI SAPI, X( o  L/ R! P# C% {! D
  629. ; Default Value: On
    - c; V( j1 |9 k. t$ Z
  630. ; Development Value: Off
    ' p3 [6 p; I' A' K) ~. b' m. t) V
  631. ; Production Value: Off. m8 Z" C* Y& O' |2 U9 Y4 y- [
  632. ; http://php.net/register-argc-argv# r% k/ x2 N' o8 T
  633. register_argc_argv = Off
    / ^4 o0 s& y4 x* A6 N

  634. 4 O  \8 E  v2 j0 }
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're) ?$ v; p5 c% D/ e/ N" q
  636. ; first used (Just In Time) instead of when the script starts. If these
    ! \& {; c) r: n
  637. ; variables are not used within a script, having this directive on will result0 e* {) M' Q2 F' }
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    1 W* E' V% N# e4 A% G
  639. ; for this directive to have any affect.
    5 x3 Z. E" X7 Z  o# d& ?" h; P
  640. ; http://php.net/auto-globals-jit/ L+ n- v# g3 x0 s+ p* {8 ~( z
  641. auto_globals_jit = On
    . `% |( t# x' Q- @7 A9 c
  642. / Q/ C4 Q/ \" D) F6 X3 B
  643. ; Whether PHP will read the POST data., o0 s# v, a% s4 N
  644. ; This option is enabled by default.& Z: S- w( o; a7 H" \4 S5 }+ e
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST$ J% l# M0 L! b9 ^7 X
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    . f  p$ n$ X* T5 |1 h) ]) J1 g1 T
  647. ; POST data will be through the php://input stream wrapper. This can be useful: s7 F7 Q: Y! J- {
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    1 G" r* X: ~7 L' T
  649. ; http://php.net/enable-post-data-reading9 ?2 h% C+ _1 m# E) }/ H% v. d4 x
  650. ;enable_post_data_reading = Off) z- r8 s# r2 |. L5 [5 z

  651. . e, Z& e, ]3 D
  652. ; Maximum size of POST data that PHP will accept.3 c% |+ J  y7 w* h$ Y( T' p
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading2 @( Q. h2 M2 n* ?" e( U
  654. ; is disabled through enable_post_data_reading.
    ) w! n8 p& ?8 d3 x
  655. ; http://php.net/post-max-size1 v0 w/ z) ]8 }4 |$ K
  656. post_max_size = 50M
    ( M# ^3 G/ z4 Z  Q$ c1 L" g

  657. % W# i! `# Y  h$ N* P4 i
  658. ; Automatically add files before PHP document.8 S9 @- Y( F: r4 }
  659. ; http://php.net/auto-prepend-file9 q/ e! T+ q1 K: k6 ~' ^
  660. auto_prepend_file =
    4 {3 n, e/ p. [0 K2 b/ ?
  661. ' F4 m7 s, x0 Y0 o
  662. ; Automatically add files after PHP document.
    - F2 ]2 `3 h, H  R
  663. ; http://php.net/auto-append-file( s2 y0 B$ h4 v0 m4 I
  664. auto_append_file =# M* X3 T$ {) l% l! n& r( W
  665. + A  H, d! E" U7 K
  666. ; By default, PHP will output a media type using the Content-Type header. To8 i: u3 _$ I" W. W# P
  667. ; disable this, simply set it to be empty.
    & y5 C9 `- x* s& e/ c3 {
  668. ;; W7 y2 m+ @: D- C3 B
  669. ; PHP's built-in default media type is set to text/html.% s* D( X, ^. \) S
  670. ; http://php.net/default-mimetype
    5 a) U3 z1 f+ W* I
  671. default_mimetype = "text/html": X, Y9 h+ v$ a' A4 b

  672. 6 V( ^. I1 u+ X4 U) l  }
  673. ; PHP's default character set is set to UTF-8.' |4 ]) @" }  f, M0 \$ h9 q1 o  j" }
  674. ; http://php.net/default-charset
    " l$ R, `+ U8 u) Y
  675. default_charset = "UTF-8"
    / C. x6 G4 U, p$ v! n

  676.   x! `9 H/ `4 p
  677. ; PHP internal character encoding is set to empty.
    " p4 N, |& i: o/ l4 `
  678. ; If empty, default_charset is used.
    . a+ d) ]* n1 Y9 o0 H- M" T6 o. G; t( A. t
  679. ; http://php.net/internal-encoding
    5 y. V! x5 P2 ^) u) g
  680. ;internal_encoding =
    * f$ w1 R  h4 [6 H; g2 k  K

  681. & K0 D, |, _6 o$ t7 a
  682. ; PHP input character encoding is set to empty.2 l( V5 K7 t8 C/ P6 p
  683. ; If empty, default_charset is used.2 J/ r9 r9 A+ [7 m4 v; E
  684. ; http://php.net/input-encoding3 A0 b/ ~: ~5 o) _: F
  685. ;input_encoding =3 }& P% |$ V" O( |, h* Q4 R

  686. % x+ b2 }- J) p( `1 m4 K6 h% i( P
  687. ; PHP output character encoding is set to empty.8 h2 V; W# c9 c: X
  688. ; If empty, default_charset is used.9 `. y* h8 g& w, ~
  689. ; See also output_buffer.
    # z& p. V$ E. y
  690. ; http://php.net/output-encoding
    , Z" \0 F4 t7 X8 y$ }+ _  L+ e2 [
  691. ;output_encoding =
    * L0 U7 {" U$ z, O# t0 f/ t
  692. ; }7 p# c& b3 H
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;; X1 X2 p+ w0 A( _) j
  694. ; Paths and Directories ;
    , g! _8 ^: V% {* M
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;/ K2 D8 |& r$ h7 \4 B1 V+ e

  696. 9 E" e3 D4 X5 R
  697. ; UNIX: "/path1:/path2"" p! W! `+ }7 M: l
  698. ;include_path = ".:/php/includes"
    & F- }6 q/ ?3 O- {5 J) _, z
  699. ;$ L2 o6 R! ]0 [6 w% ~5 \; ^" d
  700. ; Windows: "\path1;\path2"9 W3 e3 [$ [9 Q! ^4 j7 ~
  701. ;include_path = ".;c:\php\includes"7 o# S; P, v0 U! ^# d( \
  702. ;
    ; J( s& r+ e& ~& e
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear": ^2 j' {2 ~4 |# i  k- n/ S0 U
  704. ; http://php.net/include-path
    * _, U+ H( s5 E

  705. , U/ [: X( D# {6 E
  706. ; The root of the PHP pages, used only if nonempty.' ]4 {8 P( Q1 b' Y, d6 u9 H. @% c
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root4 x9 ^3 W4 o" A" q
  708. ; if you are running php as a CGI under any web server (other than IIS)0 {" q# k9 O; ^8 y6 b2 x/ w, z
  709. ; see documentation for security issues.  The alternate is to use the# w# A) ~' j$ U: f* T$ j
  710. ; cgi.force_redirect configuration below
    ( k, b$ ^: Y' |  {' J" r
  711. ; http://php.net/doc-root. i" ^) t( J* ^& ]& e# ]3 Q
  712. doc_root =: [1 P- s8 ~( [* Z
  713. ) P4 J, o9 G# Q# q5 \$ ~
  714. ; The directory under which PHP opens the script using /~username used only0 o7 b8 n0 k) X% Z7 v5 D
  715. ; if nonempty.: l4 S' F' ^" X5 I% \
  716. ; http://php.net/user-dir2 j, v; W4 l3 f% D& y
  717. user_dir =9 }, r! h/ o) X9 L4 S5 J0 R
  718. ( B+ q+ Q/ N/ L
  719. ; Directory in which the loadable extensions (modules) reside.
    6 \8 O8 v" _' Q" @! J
  720. ; http://php.net/extension-dir
    1 j( V; i& w/ L! j" [
  721. ; extension_dir = "./"1 H  v/ m! _3 [) T" m) X
  722. ; On windows:
    " [" \. Z+ ?3 L/ j% I2 B" g
  723. ; extension_dir = "ext"! S" i9 `4 W6 h5 m- z  [

  724. . _4 S& K2 C6 ?& M6 N% S
  725. ; Directory where the temporary files should be placed.
    + z& H+ V7 B, n( p* y+ B; w: W- |
  726. ; Defaults to the system default (see sys_get_temp_dir)" |, j7 c/ S% m
  727. ; sys_temp_dir = "/tmp"
    $ h) Y5 z6 u3 L+ i3 u

  728.   F; n$ w, x3 f# Q$ J) c
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    . w+ C. `: {; E' U6 `; M9 x* v  u
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically; b0 k9 w1 Z6 K* W- ]
  731. ; disabled on them.
    ' Z) o! t: H  P/ o1 a6 Q
  732. ; http://php.net/enable-dl) ~% _$ {  d+ m/ T& W3 n( C6 {& U; T
  733. enable_dl = Off: f/ r$ x0 m1 U. j2 `
  734. ( K- W" S! z5 ?6 y3 O% O
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under- f2 x% D# x9 R) i
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    4 [! u& Q4 H& Q0 r+ P3 j
  737. ; turn it off here AT YOUR OWN RISK
    % q0 `" N$ j2 u) l- ]0 v
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**2 c7 c4 k$ G/ s; G7 i: G; P
  739. ; http://php.net/cgi.force-redirect- m* c' T- [! }
  740. ;cgi.force_redirect = 1
    8 m* u' F2 u  y
  741. " S% V. q# B( S# P+ N
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    2 d0 m. i# G3 n, v
  743. ; every request. PHP's default behavior is to disable this feature.
    - V: Q# O% |* G% Z
  744. ;cgi.nph = 14 q8 h0 p0 n4 G* A- J
  745. & `% P9 L5 f/ j% x) A' d
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    0 |6 {$ G$ u  [2 }5 W) j+ Q9 E+ Q  \
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    2 O5 K1 Z+ U0 P  E
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    0 H5 i) j% S6 J
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
      a, r# D+ }% e
  750. ; http://php.net/cgi.redirect-status-env0 d" w; h! t- V; a' x
  751. ;cgi.redirect_status_env =0 s) l2 ^7 L* y- ^

  752. 8 v) |' [6 }6 Q1 ~& n2 J4 r" Q& n
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    # i: x8 z* Q6 a) b
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    2 R4 o# L; g' d) v5 x, Q
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting' F& @' D/ d7 ]- S( L" F5 n
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting8 V  |: v/ U" g7 t& s9 y! K/ U
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts! b; u6 V: |- \3 P' Y5 L8 f; J. w
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.' Y: G* P$ e' q  `
  759. ; http://php.net/cgi.fix-pathinfo
    ! a( F# P( B5 t4 M) F
  760. cgi.fix_pathinfo=1
    ! S! g0 r: l( i% ]1 k. g

  761. , R+ Z- }& T4 k+ E
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    ) S: R2 B- l6 \0 M
  763. ; of the web tree and people will not be able to circumvent .htaccess security.4 m( `2 q7 |! f8 g1 l0 P
  764. ; http://php.net/cgi.dicard-path
    / F, a+ A+ I% K! m; U1 O/ Z; H( {
  765. ;cgi.discard_path=12 H% H* `3 T6 T
  766. ( O9 B( a' N7 q0 L6 G2 s& c  i
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    : S* b2 N+ l( `+ q  u
  768. ; security tokens of the calling client.  This allows IIS to define the
    0 W. c% M6 \7 H. \6 W7 r) E
  769. ; security context that the request runs under.  mod_fastcgi under Apache( U$ \& T4 x, X3 n: X
  770. ; does not currently support this feature (03/17/2002)
    - A/ K' m% d/ Y+ m- e, V1 p! F% i
  771. ; Set to 1 if running under IIS.  Default is zero.
    5 Z0 @: X' J$ `9 B7 ]
  772. ; http://php.net/fastcgi.impersonate
    3 G6 Y0 K" r* u( i5 E# l& g' l
  773. ;fastcgi.impersonate = 1; K. b; @% k! K+ E
  774. / r! q- B: h& v2 H
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    8 h7 s" s* `5 F( H
  776. ; this feature.+ n1 f% Y( ]. l, |
  777. ;fastcgi.logging = 09 g7 B2 r9 {  B! i' c
  778. ( _: e- q* O) O- ?' D
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to+ K$ H/ S& z2 t+ i9 V& n
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    $ S7 @- ~& b, u. J
  781. ; is supported by Apache. When this option is set to 1, PHP will send( z- k: W- q# e# }. a! T% t
  782. ; RFC2616 compliant header., x3 N$ h* r. f( p+ T7 t% y
  783. ; Default is zero.
    5 b. G/ g1 ]9 ^2 \# i" @" \
  784. ; http://php.net/cgi.rfc2616-headers5 k5 `( x; D( b% Z, \
  785. ;cgi.rfc2616_headers = 02 A' F5 g( o% o/ d6 p+ k6 f; f
  786. 7 F% G9 q5 O% S: Y, F% ?
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!  p3 y8 B3 F# U$ D2 Z; M+ Z% t
  788. ; (shebang) at the top of the running script. This line might be needed if the; T7 Q, f& O  M( H! y' a8 l
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI) |5 D% T7 s2 T; s4 H: U
  790. ; mode skips this line and ignores its content if this directive is turned on.+ V, _5 D7 n4 f$ x! \
  791. ; http://php.net/cgi.check-shebang-line
    ! b- Y; D. _  b3 o& l9 l( c, v
  792. ;cgi.check_shebang_line=1& G. c# U5 y( [# A
  793. 4 g: e# K# |5 Y  J' z- `, e
  794. ;;;;;;;;;;;;;;;;
    ; l! p7 |7 r" }+ J$ O
  795. ; File Uploads ;& N) f  M% u2 ?) a7 }
  796. ;;;;;;;;;;;;;;;;' @: V; m; S9 \% S0 e! O
  797. . O' v: s; [! S$ u5 _) I$ r
  798. ; Whether to allow HTTP file uploads.
    ' S$ ]. m8 T- K$ U% }
  799. ; http://php.net/file-uploads: Z6 z2 G7 J$ f2 G& N
  800. file_uploads = On$ I! ~4 i! _7 P- q4 q1 D

  801. ' o- h$ h* f8 Z# _7 s) D
  802. ; Temporary directory for HTTP uploaded files (will use system default if not( \* u, g+ y* \9 d  I- P1 c, d
  803. ; specified).
    7 k( r0 E: {0 Z7 g+ E# e
  804. ; http://php.net/upload-tmp-dir
    6 d  \+ q) @# q$ R
  805. ;upload_tmp_dir =2 ]) i. h9 v# |( B0 P& ?

  806. 4 u' k: E0 X7 D2 Z/ B
  807. ; Maximum allowed size for uploaded files.* T" \3 C" w$ U' @2 W9 b6 v- k" [4 ~
  808. ; http://php.net/upload-max-filesize6 c; z9 r% d. ^) e
  809. upload_max_filesize = 50M
    : x* \0 {3 g! y( Y* A% g! m

  810. 0 ]' u6 n! B8 y8 F! S$ T
  811. ; Maximum number of files that can be uploaded via a single request: M+ a; c, z" j* s) z9 p: ?. @0 n7 E
  812. max_file_uploads = 20$ Y5 D! a0 \/ }* H0 w7 v" z" g: P
  813. # f3 c8 U+ a  j
  814. ;;;;;;;;;;;;;;;;;;+ T( Y  Y; K- L' X2 y9 G
  815. ; Fopen wrappers ;9 G' j6 O- g7 ^5 z. F
  816. ;;;;;;;;;;;;;;;;;;. s' l& p% N5 y$ \- I
  817. ' b$ E' b. E- u" g6 d7 Q4 b9 C
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    & y; u- ^% Y+ x; U! W
  819. ; http://php.net/allow-url-fopen* ~% e) V9 j) p) T9 ], d0 c
  820. allow_url_fopen = On: {5 S9 f! q6 V3 ]" `

  821. 4 b/ w. s8 {$ S% ~6 D6 w. P2 h
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.8 l5 B( g- q* C. Q7 \8 O. S
  823. ; http://php.net/allow-url-include
    $ s" n: B0 Z) y. k5 j% d! {
  824. allow_url_include = Off
    3 i6 B& ?: s5 X- m- }5 v" N' X
  825. : l; P3 W8 l' E! t7 z% i+ D
  826. ; Define the anonymous ftp password (your email address). PHP's default setting$ v; }- }. F/ J5 R! J9 S; c# F( z
  827. ; for this is empty.
    9 b. }4 [  W3 R0 K9 o) u
  828. ; http://php.net/from
    9 N+ T7 n+ d1 U7 G" K( `1 h7 O& i/ o
  829. ;from="john@doe.com"
    " ?) b% F( I5 b5 j! ]" L
  830. 7 Z7 x6 ]& w* f8 j
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    : D+ S* b+ F$ A( e4 Z
  832. ; http://php.net/user-agent
    ( O2 E; n* O! X  V
  833. ;user_agent="PHP"
    2 D- t# @( B. L6 e" H7 n; d& W

  834. & }) {: F3 Y. y) n8 K( g& x4 F8 K
  835. ; Default timeout for socket based streams (seconds)
    4 [( U2 P  \: o8 G# h
  836. ; http://php.net/default-socket-timeout
    & N& N& A2 U* X! |! L0 i7 [
  837. default_socket_timeout = 603 u4 J8 {9 K5 P( C, x5 |8 x

  838. 2 F8 h( X* z; _) {2 F" C* B* n
  839. ; If your scripts have to deal with files from Macintosh systems,2 }' P1 I, A( z4 @/ E8 ]
  840. ; or you are running on a Mac and need to deal with files from- P; t  ~6 }4 J- U% b
  841. ; unix or win32 systems, setting this flag will cause PHP to
    % C+ _' M, V2 V! }5 b$ o' r1 C
  842. ; automatically detect the EOL character in those files so that
    ! E4 D4 }5 h% {8 M; N/ `! s
  843. ; fgets() and file() will work regardless of the source of the file.
    3 G" S7 z: g4 }' q1 G& k
  844. ; http://php.net/auto-detect-line-endings/ p& W, A6 x3 y% }/ ?8 K! v
  845. ;auto_detect_line_endings = Off
    1 V7 k4 [8 j6 a! y
  846. , I6 H# p4 E7 ]- v4 z  V
  847. ;;;;;;;;;;;;;;;;;;;;;;/ z2 i* K6 E1 D; b
  848. ; Dynamic Extensions ;
    % N3 x* }4 L, q3 C- l: d
  849. ;;;;;;;;;;;;;;;;;;;;;;
      k  ?! F2 m0 u

  850. + X; N; R4 J! ~4 l3 Q2 K
  851. ; If you wish to have an extension loaded automatically, use the following8 ^2 U( c% u- H% B8 f3 |
  852. ; syntax:
    ! B& y/ m, l# r7 ?( q2 n5 w- L( h
  853. ;4 A& U8 c1 j6 `% T3 [' s
  854. ;   extension=modulename.extension; q. l( C: E& ?" c  z1 ^9 J5 C
  855. ;
    % V5 m, ?4 X1 l
  856. ; For example, on Windows:
      R9 r$ @) Z0 S# {8 {: {( o
  857. ;1 ^2 y' |; R% u: {' w
  858. ;   extension=msql.dll7 s' i5 r- C% }$ T
  859. ;: p7 U. \' A  N
  860. ; ... or under UNIX:
    % I, p4 F$ b9 O  G
  861. ;8 h* w" e: ~& ]4 n# y
  862. ;   extension=msql.so" C* w0 H1 K: b
  863. ;
    + x6 P4 _0 d7 G+ ~1 \
  864. ; ... or with a path:
    , h) q2 ~, U* O" K$ c
  865. ;
    * W  u$ P' a5 @; j$ \: @% Z
  866. ;   extension=/path/to/extension/msql.so, }! J2 l+ e( m4 [. I3 ^+ d
  867. ;
    ; P- |; A0 u" O( e" }/ S
  868. ; If you only provide the name of the extension, PHP will look for it in its
    " P5 a; T* _0 x. ^1 u
  869. ; default extension directory.  L7 ]! j- {% z
  870. ;% w$ z; U. ]" t  i0 k4 [
  871. ; Windows Extensions
      \, l- w$ _% Q$ [0 `1 u. f  G4 k& }$ c
  872. ; Note that ODBC support is built in, so no dll is needed for it.
      j# O5 u$ J# J
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)7 R0 c) a$ d" J3 J5 ^
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    6 z# W7 X2 v# h$ X# c
  875. ; Be sure to appropriately set the extension_dir directive.1 z" `5 A1 |- Q% c
  876. ;
    5 f& n5 m3 \4 [2 |6 N
  877. ;extension=php_bz2.dll0 H: q  N& `; A; g7 `& L% ?
  878. ;extension=php_curl.dll
    4 ~! m8 [6 J1 _/ o% X; T
  879. ;extension=php_fileinfo.dll3 \0 g. C8 X( e# R0 [* ]
  880. ;extension=php_ftp.dll
    - x8 t: k' R9 I; Q) `
  881. ;extension=php_gd2.dll. ]) e& R) _9 j7 f8 h
  882. ;extension=php_gettext.dll
    & \4 u" Y; t9 F# G" {, N
  883. ;extension=php_gmp.dll
    0 Q2 w7 C! a0 W" t
  884. ;extension=php_intl.dll* e0 |1 C  b0 i
  885. ;extension=php_imap.dll
    , F5 e& w  x' l/ n6 t- ^$ S
  886. ;extension=php_interbase.dll
    + f* h0 O! }7 V: V" P+ D
  887. ;extension=php_ldap.dll
    ; B/ A" J% E. Z4 v3 {& `3 @
  888. ;extension=php_mbstring.dll
    : T9 X& r: _" Z/ A, a4 L. r
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it, X- J  b) U) H+ F: ?6 I
  890. ;extension=php_mysqli.dll
    4 o: Z, i4 D" v5 P  W- S4 [
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client, A2 m6 N! g/ N; E
  892. ;extension=php_openssl.dll) l6 t- e5 i! n; `% }5 I( {
  893. ;extension=php_pdo_firebird.dll
    . ]% _3 i' k. I) J/ J: M
  894. ;extension=php_pdo_mysql.dll
    6 u* b9 C4 l7 O
  895. ;extension=php_pdo_oci.dll/ G2 W6 F3 s! L4 h& z
  896. ;extension=php_pdo_odbc.dll
    * q  [  o. @& Z
  897. ;extension=php_pdo_pgsql.dll
    - a/ @! q6 H  D6 R2 _% Y
  898. ;extension=php_pdo_sqlite.dll
    + ^; y7 @5 ~" ~- c; I/ f
  899. ;extension=php_pgsql.dll
    - F5 a7 Q( r7 J3 C" z2 j
  900. ;extension=php_shmop.dll+ D: Y' y  J2 ^" ]$ [
  901. + F% \! f$ e5 [, I
  902. ; The MIBS data available in the PHP distribution must be installed.  @# h4 W# _! s
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    # [4 f, R! \% G& C5 j# u4 l! `, j
  904. ;extension=php_snmp.dll- ]# A* E9 z( T; n. g

  905.   m6 W1 ~6 q) t! S
  906. ;extension=php_soap.dll3 H6 ]& ^, n7 }; N6 b4 o5 T
  907. ;extension=php_sockets.dll
    0 w- {6 G5 B0 n; f; l0 |
  908. ;extension=php_sqlite3.dll4 w- n% W8 l7 t5 S1 M6 ^
  909. ;extension=php_tidy.dll
    & W% n  \8 j  Q
  910. ;extension=php_xmlrpc.dll% s$ K9 f! N2 t7 _* T7 q  s! {9 S, Y
  911. ;extension=php_xsl.dll4 Z: X) S- ^; C5 j, ~- X
  912. 0 d3 v# m; D" x* c, r. u
  913. ;;;;;;;;;;;;;;;;;;;! T6 E0 r0 C0 d% I: U& s" F0 L& @
  914. ; Module Settings ;
    : {/ s5 D' d0 l8 ]& q+ o0 i
  915. ;;;;;;;;;;;;;;;;;;;2 C- W! D& ~7 k! u  G
  916. ; X) V5 T; x% ~4 T* g9 [$ i
  917. [CLI Server], v( h8 a4 c* f" i9 _" o
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.  u, [( h% V2 h# o, }8 W0 P6 o
  919. cli_server.color = On; P- Z4 L0 u. W: |0 `$ J% ?
  920. 9 |' {5 K4 C! X& k' @+ R# L8 e
  921. [Date]& H) ]! q" E; O" W) `0 V! k8 V; k
  922. ; Defines the default timezone used by the date functions# c- u) n/ z' n8 ^1 Y+ P! Y
  923. ; http://php.net/date.timezone9 W8 U* t' ^" F& H+ r
  924. date.timezone = PRC" ~# c5 a' r8 W; ^0 [: W! [
  925. 2 e% Z& f  }  \& ~
  926. ; http://php.net/date.default-latitude) y9 R2 B, C3 @) L. s$ p
  927. ;date.default_latitude = 31.7667
    4 L' J' ^' p4 v% e+ H2 O+ @

  928. $ }; a* |- F) c( R0 G6 {' |0 F( A( ~. \" P
  929. ; http://php.net/date.default-longitude" d& j, s; a- ^6 B
  930. ;date.default_longitude = 35.2333
    9 }) y- v6 M6 |  o) P% \

  931. 2 V4 x+ W: ]7 U6 C8 F5 M9 D( }/ w
  932. ; http://php.net/date.sunrise-zenith
    ( u; I/ e- U8 \' b
  933. ;date.sunrise_zenith = 90.583333
    4 ~' C  I  m& m5 b/ ]5 ]( V' J
  934. $ u- r8 u8 N7 k& z# p& ?# l
  935. ; http://php.net/date.sunset-zenith6 J' I- f1 O9 I5 k' A( @# a7 w
  936. ;date.sunset_zenith = 90.583333# B$ u% W( A3 r6 M0 A

  937. 9 e# A8 L# F1 ]' v, w4 x
  938. [filter]
    % g8 `- {6 A' h" B
  939. ; http://php.net/filter.default( \" V0 p1 w% g3 [+ K
  940. ;filter.default = unsafe_raw
    : a7 o. C4 y( S0 ]

  941. 5 @% `/ r) W. ]% O
  942. ; http://php.net/filter.default-flags
    ! z8 ^4 U1 h. C7 S; p7 X
  943. ;filter.default_flags =- ?" A7 p* N) f% g( U# m# `- t
  944. 7 z5 o6 k2 }: C; g; v
  945. [iconv]
    : D. I  A5 \7 _" S8 \6 O1 Y- n
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.) q  ~' I) n( V$ n! e
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    8 B! x# V2 Q1 l
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding0 \$ P+ _& z* ~. B
  949. ;iconv.input_encoding =, R8 d( U+ ~/ j9 z
  950. 5 _( j  D: l( l0 g- X
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.5 m  `7 V% ?4 ?7 o4 p; h* C; x
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    4 j' q" d1 h3 Y9 J$ W1 Q* v
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding& Y6 U( T/ w* G$ L
  954. ;iconv.internal_encoding =
    3 }  j+ R: P* _: q
  955. 3 }3 m4 b( m6 q
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    2 z* P5 P) a4 w! C5 x& S! Q
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.0 \' E4 J7 D# S) f' Y, ?- ~
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding' G( q. [& s% m3 B+ C- }
  959. ; To use an output encoding conversion, iconv's output handler must be set+ n( V" z4 Y9 E4 w( c7 l% T
  960. ; otherwise output encoding conversion cannot be performed.3 p! ?: J6 d# s) _
  961. ;iconv.output_encoding =
    5 o, n: G. M: a2 X7 N
  962. ) b" t0 w, q3 W4 Q1 G& c
  963. [intl]
    7 `% T. s& v( m8 y
  964. ;intl.default_locale =
    2 l# F, `; P* D/ ~6 N4 j& H
  965. ; This directive allows you to produce PHP errors when some error( @0 ^) ]$ O) O9 I4 H6 y# u
  966. ; happens within intl functions. The value is the level of the error produced.; W% G4 Q8 V. j, `  e9 G# _
  967. ; Default is 0, which does not produce any errors.  D6 i, r$ v" Q5 o4 Z
  968. ;intl.error_level = E_WARNING
    ) A- v  ^+ j& v  Z# R
  969. ;intl.use_exceptions = 0+ C' S5 r. Q, @% _: k
  970. / N3 E$ j: k' e
  971. [sqlite3]6 x# a- B- n( T& Q
  972. ;sqlite3.extension_dir =  k( W. _  q9 J. Q+ \
  973. ! x4 t- c8 b/ p* Y: o6 ]5 }
  974. [Pcre]
    # K6 _( `1 j4 q# }" r/ v+ k
  975. ;PCRE library backtracking limit.2 N, A3 o- V  C- }  X( k
  976. ; http://php.net/pcre.backtrack-limit+ `  `6 J% r9 c1 g0 R
  977. ;pcre.backtrack_limit=100000" b. f( a$ t( Y& r+ ]& ?

  978. * E- V  ^& t4 h
  979. ;PCRE library recursion limit.
    ' ^/ r, k4 A. b0 W- x
  980. ;Please note that if you set this value to a high number you may consume all6 ^+ n' e2 V; a* Q
  981. ;the available process stack and eventually crash PHP (due to reaching the2 G7 c) ^0 {( `. S9 s/ U1 ^) |
  982. ;stack size limit imposed by the Operating System).  C; Z- {- w8 [
  983. ; http://php.net/pcre.recursion-limit
    - f1 c' a1 m: g! L
  984. ;pcre.recursion_limit=100000
    4 n$ S/ y$ Z& q4 a
  985. 4 `: L' B4 E: O( E, G
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
      K* ~" {) a/ G
  987. ;library to be compiled with JIT support.
    5 [* z3 [6 |- ]; l: V
  988. ;pcre.jit=1  ^8 k" Z& n$ Z5 {  ^" P* p
  989. / q7 p# `( p2 _' e  d, J- U8 O; O
  990. [Pdo]
      `+ _6 C( l  y
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"# u; B9 @. H' m4 j1 J) x
  992. ; http://php.net/pdo-odbc.connection-pooling
    5 d1 n/ X, j. Y( U( R. }
  993. ;pdo_odbc.connection_pooling=strict
      v( m6 W, s4 E+ K) o' c' R/ N

  994. " u# u. o7 C9 B$ Y' A6 f  S2 m
  995. ;pdo_odbc.db2_instance_name
    - n! W: b+ [7 ]

  996. 1 B; [# I( X  ?& w- P2 }
  997. [Pdo_mysql]
    * ^* J$ H/ H) y
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + D* p7 Q& \5 X. T8 U$ u" D. b' Q
  999. ; http://php.net/pdo_mysql.cache_size
    3 v: v9 g: D' ~! c) A4 X
  1000. pdo_mysql.cache_size = 2000
    7 J( A9 X+ z( Z8 a: |
  1001. 4 z2 f& R' a5 L7 G- ]3 w& d; d- ]
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in  w- S! j: O5 \) s
  1003. ; MySQL defaults.
    ' x* H- P, V$ O. L0 K
  1004. ; http://php.net/pdo_mysql.default-socket9 m3 a, ^7 i9 J! J6 ]% Q0 |- f; H
  1005. pdo_mysql.default_socket=. e% l' N+ b6 K' Z
  1006. 1 \% X# J% {# V! \/ {4 I+ r3 h
  1007. [Phar]
      |3 Z* P$ ^) Z+ X
  1008. ; http://php.net/phar.readonly7 s, `1 A* b- o4 w+ [2 S  e
  1009. ;phar.readonly = On9 W2 L5 \0 P7 t7 k
  1010. ! D* @0 d% V! F) ~8 B& q
  1011. ; http://php.net/phar.require-hash- Z* c3 B2 s- ]1 W( b3 m; H& Y
  1012. ;phar.require_hash = On
    " T- i: r  ?. j, ?

  1013. " x" k7 i& D% }
  1014. ;phar.cache_list =
    ' f7 W7 }7 e  K/ O) \2 Q" H. m
  1015. " ]3 y# R0 Q2 A& d
  1016. [mail function]: {, Z& G" e" H: g3 B8 p" ~& N
  1017. ; For Win32 only.
    8 h2 s1 c  R5 `* z/ [8 N
  1018. ; http://php.net/smtp9 l3 o6 M' n8 {# k2 W
  1019. SMTP = localhost" k* p4 i6 D8 H) N3 T' M: c6 z
  1020. ; http://php.net/smtp-port
    " f0 x9 E* I6 i) I( Z6 ^
  1021. smtp_port = 25
    ' u3 A4 U* q) o0 p
  1022. ) V1 m3 P3 w$ J. v2 e
  1023. ; For Win32 only.
    . w7 |# B5 q! f4 H
  1024. ; http://php.net/sendmail-from: k+ X! |3 |3 i# @& ?! U( k/ \
  1025. ;sendmail_from = me@example.com
    ! j/ e. p8 `7 d0 Y3 C

  1026.   _. E6 f4 ]$ y9 T9 `8 g5 e6 G8 A
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ' ]" Y- ?6 G1 d
  1028. ; http://php.net/sendmail-path6 N9 {( U/ U& Q: \8 K& K0 T
  1029. sendmail_path = /usr/sbin/sendmail -t -i& D/ a7 _$ ?0 Z& L: d
  1030. 8 d0 v# D6 m' J. O. x! `
  1031. ; Force the addition of the specified parameters to be passed as extra parameters9 }9 k8 q$ U: g
  1032. ; to the sendmail binary. These parameters will always replace the value of" ~/ r1 F2 n8 R3 t4 S7 ]  O
  1033. ; the 5th parameter to mail().' w( l! g: X' O8 h5 O0 X
  1034. ;mail.force_extra_parameters =
    . t. ^) E' T( s
  1035. $ X; H9 R" s, C- e8 A! X5 a
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ' K% T& ^+ a0 y7 R2 B* P* k
  1037. mail.add_x_header = On) i4 V5 \$ w" W  ~. V# B
  1038. . v. d9 k( ]0 ~7 k
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    $ \9 t1 N" B* I! J
  1040. ; the full path of the script, line number, To address and headers.# t, W, M5 Y4 T# I$ n* x& v: x- L
  1041. ;mail.log =
    * M! J1 f$ Q+ S9 o& Q4 W
  1042. ; Log mail to syslog (Event Log on Windows).
    3 n* v9 Y7 H* D8 b* z8 w' h: i/ A
  1043. ;mail.log = syslog4 A6 F' ]4 J/ O. I( I6 U
  1044. # l3 G$ e! T( F5 `7 [4 L) q
  1045. [SQL]
    " [1 v5 \- P8 S1 W: u2 O
  1046. ; http://php.net/sql.safe-mode, R0 V( M4 N& V9 h
  1047. sql.safe_mode = Off3 S( W% y' `3 v. ~7 X
  1048. * v: f5 e0 Z! L( h8 ]! L
  1049. [ODBC]- R2 }9 t; c" Z) M
  1050. ; http://php.net/odbc.default-db
    # L/ N8 H8 J& N/ p
  1051. ;odbc.default_db    =  Not yet implemented
    7 a1 y: ?# x$ T

  1052. + x4 A" Z& T. `8 `
  1053. ; http://php.net/odbc.default-user9 H! n# o/ T3 W
  1054. ;odbc.default_user  =  Not yet implemented" ^- ]" L, D4 v! L4 T
  1055. * \3 M- @4 X; R+ V- H% Q$ w6 j
  1056. ; http://php.net/odbc.default-pw; i' g0 K+ c4 }! `
  1057. ;odbc.default_pw    =  Not yet implemented
    ! r, r4 q4 s/ W( r0 b, X

  1058. 1 f: ?' S% E* q* `6 _
  1059. ; Controls the ODBC cursor model.+ }6 p+ p* n/ i
  1060. ; Default: SQL_CURSOR_STATIC (default).
    + s( C2 B9 t4 C) w4 F$ o
  1061. ;odbc.default_cursortype9 L( y* ?& ?7 Y/ H; }

  1062. 8 _. p# H1 W, D% W! `6 ^  ^( T" I0 I
  1063. ; Allow or prevent persistent links.
    * P7 _( F* k6 u% E* [
  1064. ; http://php.net/odbc.allow-persistent: i6 Q$ C; ^# z4 ]
  1065. odbc.allow_persistent = On3 w! j6 o/ f1 X8 m, K

  1066. 6 ?4 m3 ], [/ f  r; f
  1067. ; Check that a connection is still valid before reuse.4 Z/ F5 n1 ^! V* m/ k' F' n. z1 N
  1068. ; http://php.net/odbc.check-persistent2 Z* ^0 M9 _1 c& z4 W( G( v
  1069. odbc.check_persistent = On
    8 s: f; h; R  j
  1070. 9 a: L! l: F" }3 {5 b& ?, Z5 q
  1071. ; Maximum number of persistent links.  -1 means no limit.
    , {5 W5 z" w) i, U
  1072. ; http://php.net/odbc.max-persistent
    . h0 U& Q7 O$ G( W: T
  1073. odbc.max_persistent = -1
    % Q$ M% V( w8 z+ \9 F: A# L! e
  1074. : x$ C; F3 j9 e$ f, Y/ [7 L
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( `  i/ c7 ]) y# u, u. i9 p
  1076. ; http://php.net/odbc.max-links# c; A/ p4 f  }$ ~
  1077. odbc.max_links = -1
    $ Y: ]% v7 Q) Y

  1078. & c1 f  |9 |! ~6 J; G6 @
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means( X/ `* c" R* a* i, e  x
  1080. ; passthru.2 \: p$ F$ R6 T# q6 n
  1081. ; http://php.net/odbc.defaultlrl
    7 N0 |/ z" E" g
  1082. odbc.defaultlrl = 40960 v  _  b- @4 `* g; I3 u% q$ ]

  1083. / z$ k* m, @7 O: p: n# v1 Q
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    6 b8 K- l! |$ `1 T. D4 R( @. w
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation5 x) L" ^& j( L) H' B
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode* x) m0 _+ t+ y, K& m7 h. J
  1087. ; http://php.net/odbc.defaultbinmode! i2 P& k  q! D
  1088. odbc.defaultbinmode = 1
    ' X5 J2 F  c- ^! g- c/ w5 ^- x

  1089. ; ~% A& f+ w  m- J& ?0 n
  1090. ;birdstep.max_links = -1# P2 ?! b& Z" ?6 x. w. i# A" Y! n
  1091. - e2 L) O' r  j
  1092. [Interbase]* P0 a/ z  \, u& N# y3 h6 x1 {
  1093. ; Allow or prevent persistent links.( g1 Q! b9 B0 A
  1094. ibase.allow_persistent = 1
    ) H4 l% W. L- j. Q- X! j0 X. F
  1095. " m; _  l5 Y6 v; k9 X/ b6 y
  1096. ; Maximum number of persistent links.  -1 means no limit.
    - H) F1 x# L. d4 i% ~. q
  1097. ibase.max_persistent = -1+ k5 W' }& U+ k1 W1 y; B( @7 B5 B
  1098. + G1 J+ P3 `0 b9 u, m0 z
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.  S% N+ |' E# Y" k8 M$ p# \4 m9 V7 `$ R
  1100. ibase.max_links = -1
    ' T  _2 |/ A$ a; ~
  1101. - s: `* c, d; J7 o* d$ ]
  1102. ; Default database name for ibase_connect().' A1 C# E1 ]; {! _& I
  1103. ;ibase.default_db =
    " W; X( ^) J! G" ~8 H

  1104. 2 c* Q, s  s; P2 a3 l9 H
  1105. ; Default username for ibase_connect()./ Q# _  ^' V: U9 a6 Q4 m8 P
  1106. ;ibase.default_user =8 p6 K3 f: w0 c* s% T
  1107. 4 s; |+ i2 K6 |& d
  1108. ; Default password for ibase_connect().( l' \" L* M4 |1 O" y' l
  1109. ;ibase.default_password =
    ' l$ J( Y2 c5 w+ K

  1110. 1 l3 E# B% v" V+ d2 e
  1111. ; Default charset for ibase_connect().9 Y3 |7 R8 q+ Z: ^6 Z9 o& k8 J
  1112. ;ibase.default_charset =
    6 Z4 J1 B) \4 f( `

  1113. * D5 H4 v/ o# y7 E/ H0 T8 }
  1114. ; Default timestamp format.
    3 j4 K# H1 @/ v8 l$ \
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S") I7 @2 R  h+ T3 o8 Y, h

  1116. 6 X: W2 v6 G6 z; W$ F1 M: \
  1117. ; Default date format.3 E) ]: z: A, D2 ?
  1118. ibase.dateformat = "%Y-%m-%d"  I/ v$ W4 T6 Z* c- }+ f
  1119. " `8 b; _1 D4 [) ^  [1 w' y
  1120. ; Default time format." ^6 r9 G6 d. k- h& T
  1121. ibase.timeformat = "%H:%M:%S"
    . ?6 Z$ |  n% R$ j

  1122. ! {( o: P( n6 Z" s/ g7 n! f/ o) d9 U
  1123. [MySQLi]& o& _0 n5 S: U3 g' I# K6 q' H4 t

  1124. * ?' {& E2 ?/ p7 _
  1125. ; Maximum number of persistent links.  -1 means no limit.
    3 \6 }) @7 E" Q+ P5 `
  1126. ; http://php.net/mysqli.max-persistent
    7 s7 O" Z5 i; [0 P  R0 l) b  e( D
  1127. mysqli.max_persistent = -16 H3 N& ~5 z' D# D1 w

  1128. + L$ h* ?( n: M( |* D
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements  h8 n1 ^+ h% N3 A' Z2 b3 g  }4 c
  1130. ; http://php.net/mysqli.allow_local_infile/ x8 ^+ |& A1 r, W3 @
  1131. ;mysqli.allow_local_infile = On
    ) K4 n" [2 @* c- e6 x; e
  1132. * y+ `# H( r4 Y; ^, ]' Y6 A6 c' c
  1133. ; Allow or prevent persistent links.5 `. N. U7 g1 I6 U% O7 d* z
  1134. ; http://php.net/mysqli.allow-persistent  b8 z7 {  _" J+ x5 v
  1135. mysqli.allow_persistent = On
    ( [; R8 |9 q" M8 B- q* r  q

  1136. 5 M; H( S4 H) w: R: p, q; m2 q
  1137. ; Maximum number of links.  -1 means no limit.5 y/ z- U9 [5 O+ h3 d
  1138. ; http://php.net/mysqli.max-links; v+ ?+ m$ T8 J0 ?
  1139. mysqli.max_links = -1# A6 l9 d0 D  j/ M2 k+ L0 W; [
  1140.   J( c0 c9 a% s; R" |3 J2 L
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache- U8 o8 `, H  r* c
  1142. ; http://php.net/mysqli.cache_size1 \! [* Z3 z; l1 l
  1143. mysqli.cache_size = 2000" z1 |' _6 w8 j% {* u( H

  1144. ( v# \2 l  Z, M1 h- g: R# P9 H: q5 A
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    % q! m8 X% F  `/ C
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ( V& c4 |& u% P4 P# W
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    3 [3 ]+ U( v- ~; \8 y$ n2 |* H; i
  1148. ; at MYSQL_PORT.# `- J5 R* L' R1 Z
  1149. ; http://php.net/mysqli.default-port
    7 y* `2 i4 c# L1 y
  1150. mysqli.default_port = 3306
    * Y1 ~$ L2 b* g# N# r

  1151. 3 J( W) U/ j% ?2 n9 R9 H
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * k. {$ l- d7 I6 ^
  1153. ; MySQL defaults.
    8 b6 X& o3 }' R& ^0 T# ~
  1154. ; http://php.net/mysqli.default-socket$ ]! Y+ b) [4 c; X& s
  1155. mysqli.default_socket =! ^/ [& ]8 q* K9 |$ m
  1156. ; H2 ?1 G' u( ?4 i2 E) k0 ^$ _
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).4 [6 ~; P" |5 ]0 x
  1158. ; http://php.net/mysqli.default-host
    # d! ?3 Z3 B! b4 B) H8 I: K
  1159. mysqli.default_host =
    - Q3 i  z( w5 K6 j. B7 D- |9 G

  1160. . B! r& Q5 i  o2 _
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    8 t  l6 r7 L& ?' x$ {. c
  1162. ; http://php.net/mysqli.default-user
    ( ^" C# f4 w7 @3 l7 b( Z
  1163. mysqli.default_user =9 {" [+ c3 y  m

  1164. # Q6 w/ h4 c' v& R% Q9 C
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    " e2 L3 V/ L. t9 i8 x
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
      |( \; m; O* Z% o% }: D8 R- y
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    " s/ ^9 ^  b3 ^! H
  1168. ; and reveal this password!  And of course, any users with read access to this
    ' V" w! C' b* ^8 z: Q- k$ E
  1169. ; file will be able to reveal the password as well.+ B# _  W7 a6 n5 u) `
  1170. ; http://php.net/mysqli.default-pw9 ^: z5 ~+ i* I% @! z$ b
  1171. mysqli.default_pw =
    ! _  G- J# _: u
  1172. # K2 G, z3 l4 Q
  1173. ; Allow or prevent reconnect/ M, W3 [( l9 C  N7 @) g6 }" _
  1174. mysqli.reconnect = Off5 L# p& g2 @) }3 |
  1175. 4 N/ `' B9 m. B7 w9 p! Y
  1176. [mysqlnd]
    / e2 Q3 R5 g+ |
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
      n9 r" O$ h8 P
  1178. ; used to tune and monitor MySQL operations.5 p% f5 b! t; H
  1179. ; http://php.net/mysqlnd.collect_statistics
    * U9 q' V) _1 g! B" u; E: ?4 I
  1180. mysqlnd.collect_statistics = On: t4 M" }1 I) I% y9 \) |% m
  1181. ; i! y/ I7 n! z- b6 ]! T  F
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    + ]- I* x) K, {' Z2 @2 T$ z
  1183. ; used to tune and monitor MySQL operations.
    ' Y0 z: |8 M% L) C
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    5 e: r; P" Q0 B1 S. _
  1185. mysqlnd.collect_memory_statistics = Off
    % N% O4 W0 ?) D# R# A9 \

  1186. / ^. a/ x3 q0 h$ ]' O
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    $ j. p8 r6 |, E% y4 h
  1188. ; file.+ O3 V; _' l4 {7 w
  1189. ; http://php.net/mysqlnd.debug
    . i" Y! R% i$ N! Z4 h! O+ S* k4 P
  1190. ;mysqlnd.debug =" u9 L, ~5 O6 e. L: E/ x
  1191. ) E- N; ]: v. L' W3 N
  1192. ; Defines which queries will be logged.5 T, o0 _1 Z7 `* }3 k( V5 X, f
  1193. ; http://php.net/mysqlnd.log_mask; e; E) J6 Q; T5 P- b( h$ l
  1194. ;mysqlnd.log_mask = 0
    5 u( E, H" r4 E+ @1 r

  1195.   @4 ~9 z5 Z( R8 j$ v5 O
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    2 V( |# U/ o, l, O6 {2 @, n
  1197. ; http://php.net/mysqlnd.mempool_default_size
    5 z( n3 N0 K2 L7 n7 {# H9 S) E+ H$ T
  1198. ;mysqlnd.mempool_default_size = 160002 l) i, _7 E) i- s7 [

  1199. / N# D# V5 S# g
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    0 [$ L3 @  o  U; V7 b) D
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size: s3 P$ c2 M; P+ O: N/ o4 w
  1202. ;mysqlnd.net_cmd_buffer_size = 2048. V+ |3 w3 j9 f) |" _+ q* s( y' l; A* w

  1203. 9 r9 G( M! N, l. n. P
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in" T! |: {: T7 ^$ s9 s% ]
  1205. ; bytes.; t  {: _" x# A4 C4 f) r
  1206. ; http://php.net/mysqlnd.net_read_buffer_size, c7 v5 b6 I1 z( r; c6 b. m
  1207. ;mysqlnd.net_read_buffer_size = 327683 S' A9 g* t* y  Q& s4 q; G
  1208. - _+ m7 `5 g7 n. \2 ^1 |/ [2 r2 c) W- L
  1209. ; Timeout for network requests in seconds.; @8 F+ ]5 V7 j# w9 X$ X+ [
  1210. ; http://php.net/mysqlnd.net_read_timeout$ ]# x9 {) o3 t3 j0 u, T& }
  1211. ;mysqlnd.net_read_timeout = 31536000
    4 y& z& i1 U9 _: ]3 H
  1212. $ V  k. ~! k6 K
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA6 v7 {5 h1 J: O# l! u: a
  1214. ; key.
    $ Z" K( j0 ]. c
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    4 e, ?9 \4 a+ _8 a$ d
  1216. ;mysqlnd.sha256_server_public_key =2 E% {  P* V' N( x) `3 {6 H
  1217. 5 |# `' x6 P; w" g& J' Q% M
  1218. [OCI8]0 S2 |( z3 C' k) J( l
  1219. 8 T) L7 Y" r4 ~" |$ g' i8 y* P
  1220. ; Connection: Enables privileged connections using external
    ! G) V9 `' m: T' c. a( S# o
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ! F, v: ~# P& M: a
  1222. ; http://php.net/oci8.privileged-connect. J* Q5 X5 T$ w! q6 V4 a  `: Y7 H
  1223. ;oci8.privileged_connect = Off7 q2 `6 w4 w7 w5 k, V! F) o1 z9 K. @0 G

  1224. / J; R, w7 j% u% u1 p
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    / c2 s# p* O2 Y! Z% Z/ M# Q6 `* n- o. H
  1226. ; process. Using -1 means no limit.
    ; E* F! ]7 a0 Y  I+ D
  1227. ; http://php.net/oci8.max-persistent1 U9 v# g' ^$ U  w! v. l1 P; ?
  1228. ;oci8.max_persistent = -1' `) J( h' ~  ]0 Q& W5 H( L
  1229. ; X* q0 }! j! {3 @
  1230. ; Connection: The maximum number of seconds a process is allowed to
    & o) p8 Z& W6 C4 I4 h/ F
  1231. ; maintain an idle persistent connection. Using -1 means idle
    0 D) K! b) {3 j4 H# u6 P, i/ ^
  1232. ; persistent connections will be maintained forever.# ?. H2 w& ~6 B) ~8 P' h
  1233. ; http://php.net/oci8.persistent-timeout$ J* V7 h# H; y4 P% |, W
  1234. ;oci8.persistent_timeout = -1' x" E7 U/ n* a$ w2 ?5 M' `
  1235. ( k7 i0 g6 H" G7 c3 i) G6 _- J
  1236. ; Connection: The number of seconds that must pass before issuing a
    + \2 f* p: |8 d3 k* `& F
  1237. ; ping during oci_pconnect() to check the connection validity. When- x8 I, W( E; D" H8 o. @  c2 B
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ; M4 V8 n8 p  ?% ?, b) z  j
  1239. ; pings completely.! b% ~$ k  J. f# {9 z: t
  1240. ; http://php.net/oci8.ping-interval- N* E5 x# U0 L* d$ E  g+ w2 a8 x9 i. S! z
  1241. ;oci8.ping_interval = 60" }. e' U* R  f  V
  1242. 4 V" \) ^+ I& e# ~1 g: f  f5 ^
  1243. ; Connection: Set this to a user chosen connection class to be used0 J. E# X) W9 g6 Y) z
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    ) h! H; |6 L/ ~
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ) i4 W  f) j' \
  1246. ; the same string for all web servers running the same application,
    5 X/ o. X  B0 Z0 ~9 Y
  1247. ; the database pool must be configured, and the connection string must
    1 S2 Q8 p/ c3 U2 O: L
  1248. ; specify to use a pooled server.
    % k1 g- K8 x" Q. ?
  1249. ;oci8.connection_class =2 ]+ J3 h, k1 s" T# c$ W
  1250. $ ]  I* j: _* P/ R2 ?
  1251. ; High Availability: Using On lets PHP receive Fast Application) G& ]# P, ?/ O3 y- e( N2 \) l
  1252. ; Notification (FAN) events generated when a database node fails. The
    * Q% p; [. M4 E8 O
  1253. ; database must also be configured to post FAN events.
    # @3 S' U. H1 `( P3 F4 C
  1254. ;oci8.events = Off
    7 ]. p2 k6 e( D! T- e, A+ s

  1255. & k6 i' o' K/ T+ O/ J) T
  1256. ; Tuning: This option enables statement caching, and specifies how9 k" h- u8 J$ ~5 v. s9 f7 p
  1257. ; many statements to cache. Using 0 disables statement caching.
    1 ]' }0 l7 F! b, n9 \# _- n# ?  f
  1258. ; http://php.net/oci8.statement-cache-size
    5 Q: u: n$ j9 r
  1259. ;oci8.statement_cache_size = 20% c8 B# x. a, E7 o1 x5 r
  1260. * h# x4 x# D3 C& e1 v; U
  1261. ; Tuning: Enables statement prefetching and sets the default number of  D! m8 V- r! _- \
  1262. ; rows that will be fetched automatically after statement execution.7 W9 Y, L; i6 c0 R9 M- E
  1263. ; http://php.net/oci8.default-prefetch( R( x7 _# l! j/ H2 c+ U$ D
  1264. ;oci8.default_prefetch = 100( ]9 L( D. ^% u/ m: X9 G- D- B

  1265. ! \9 U1 t9 o2 k# o' c
  1266. ; Compatibility. Using On means oci_close() will not close* q9 y# L5 N, c, ~! |7 \
  1267. ; oci_connect() and oci_new_connect() connections.: B3 B6 i" L" e+ V2 @5 J
  1268. ; http://php.net/oci8.old-oci-close-semantics
    9 \$ v3 X/ C) m# s: w
  1269. ;oci8.old_oci_close_semantics = Off
    7 {8 y- C% J) ~$ K0 K% P4 C1 f

  1270. + I1 x5 d% v6 n; B8 d2 `* k
  1271. [PostgreSQL]
    8 P6 o5 ^- ~9 e. B, {6 }
  1272. ; Allow or prevent persistent links.0 l+ L$ [* X: o$ Y6 W% f3 J+ X3 V
  1273. ; http://php.net/pgsql.allow-persistent
    7 K5 s4 [' ^% j8 B% ~
  1274. pgsql.allow_persistent = On& I# G* ^7 l& {! N4 I; K7 F
  1275. / E+ S3 s7 m+ r  ~- f" K
  1276. ; Detect broken persistent links always with pg_pconnect().
    8 @$ e) q& h8 W9 W
  1277. ; Auto reset feature requires a little overheads.
    0 |9 H& ?. u* H5 l- y: p  t
  1278. ; http://php.net/pgsql.auto-reset-persistent! `. y" w, E: R+ P2 ?
  1279. pgsql.auto_reset_persistent = Off# d( R0 D# _: D: s7 K# ~# u# c5 O

  1280. 0 c( l! F6 A9 o* n
  1281. ; Maximum number of persistent links.  -1 means no limit.2 ^- @# \( O( R5 W, B( j
  1282. ; http://php.net/pgsql.max-persistent
    4 L. Q3 N8 q. q! V
  1283. pgsql.max_persistent = -1* j% I6 o& p* W1 U
  1284. 0 \) t5 ~7 Q$ c- o/ m4 e" p5 ?/ r
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.% G. V: J) l& q- N8 R- R; R
  1286. ; http://php.net/pgsql.max-links9 n/ q  H3 G  S; T+ d, R8 V
  1287. pgsql.max_links = -1
    % Y. _8 I- y0 z; Q" U

  1288. 0 T* |/ ]) j: w. c/ a
  1289. ; Ignore PostgreSQL backends Notice message or not.
    . t! Z' Z% {1 }: d& d5 t$ _6 [* U/ r
  1290. ; Notice message logging require a little overheads.( f' D! v( h# i5 E1 \. H! }8 H8 t
  1291. ; http://php.net/pgsql.ignore-notice
    ) U3 g& h0 |# |
  1292. pgsql.ignore_notice = 0- c. x7 X  l6 ?  ~2 d4 S5 o
  1293. " X, o9 F& `* ~( ~% s. s7 N/ [
  1294. ; Log PostgreSQL backends Notice message or not.
    " i1 q+ _7 K: f1 A% a' M
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    , U2 U  [; y0 P# A1 K% R2 x; I
  1296. ; http://php.net/pgsql.log-notice
    ; w# D* R( K: @8 @
  1297. pgsql.log_notice = 0
    2 [4 M. p7 A$ B/ y

  1298. " @2 M6 h# N; _( ^( }, Q  ]
  1299. [bcmath]4 t% C' g* {, O+ i0 a9 [2 I0 |! N
  1300. ; Number of decimal digits for all bcmath functions.
    2 R$ u4 T; ?9 R$ \7 D, w8 e( E4 ^8 ]
  1301. ; http://php.net/bcmath.scale
    3 d5 Q( I( y9 Q! y: y! i# E
  1302. bcmath.scale = 0* \! v- i$ O4 t* n& _

  1303. " C# U: [0 ]( M2 W
  1304. [browscap]
    * v: Z" n) }" e
  1305. ; http://php.net/browscap) u  S( v. O6 y% Y+ j1 o- n) d
  1306. ;browscap = extra/browscap.ini+ M( Q( f- L- p$ y+ l
  1307. ( y' a; E" G, B0 B4 e' ?( K2 Q
  1308. [Session]
    + x" F: a/ h: y& k* a
  1309. ; Handler used to store/retrieve data.
    . F. n! q  t2 N+ h$ a. g. C
  1310. ; http://php.net/session.save-handler
    , n, X- I, x8 L6 k+ t
  1311. session.save_handler = files3 r& }! S5 j$ o& q. V& R8 A

  1312. 7 V+ V, p% Y$ O: s! O. t
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    ) }3 ^, b( _) c$ J$ m9 a! U; O1 c* u
  1314. ; where data files are stored. Note: Windows users have to change this
      X3 y+ _( z% h* P9 F: G  K
  1315. ; variable in order to use PHP's session functions.% O1 k; u6 ?4 c  r
  1316. ;; ^2 M9 [. s. F. H
  1317. ; The path can be defined as:
    ! ?3 G: t# ]; _- F
  1318. ;
    % ~6 Z& S6 q' x2 m
  1319. ;     session.save_path = "N;/path"
    ( _/ H! K4 s* X: q, l- j4 D
  1320. ;, b" D2 K: }2 B' `2 j& S! O
  1321. ; where N is an integer.  Instead of storing all the session files in
    # z2 m- q4 \( M+ F2 u5 E" g
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    " h9 `! O2 s7 B/ U0 e# G
  1323. ; store the session data in those directories.  This is useful if. u% [$ B% q9 A) Z
  1324. ; your OS has problems with many files in one directory, and is
    ! }1 c: L: J( s( G
  1325. ; a more efficient layout for servers that handle many sessions.
    3 v) [7 s# A- q0 O
  1326. ;6 x4 c1 @) g2 s5 ~
  1327. ; NOTE 1: PHP will not create this directory structure automatically./ Z+ _# c- i9 Y" D
  1328. ;         You can use the script in the ext/session dir for that purpose.- u) v+ o. V* A/ y7 {5 b  A
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    + z1 p/ j4 R- P: t; p! j: R( V7 U
  1330. ;         use subdirectories for session storage/ t3 A: _  ^; h  s' S
  1331. ;
    , A% A' v1 y0 f* \5 J
  1332. ; The file storage module creates files using mode 600 by default.
    * q. R9 U# c) w! f
  1333. ; You can change that by using
    % v) H2 W/ k! ~' G: Q- m2 W
  1334. ;+ F. `  g8 F! P2 W0 p+ j
  1335. ;     session.save_path = "N;MODE;/path"
    , s. Z; A6 A% l% z$ |# L8 r- X$ @
  1336. ;
    $ u9 p5 w0 h# W: Z" u4 z8 H( V5 c
  1337. ; where MODE is the octal representation of the mode. Note that this
    7 X* w/ E7 l* p' I/ `
  1338. ; does not overwrite the process's umask.
    3 p3 S0 U- d, R/ f
  1339. ; http://php.net/session.save-path
      ]2 O. Z4 _- N. f: d& ]
  1340. ;session.save_path = "/tmp"
    7 }# @. j* Q( F% R& E+ f! ?
  1341. 6 \% J. j, ?( r" F  `5 H& `
  1342. ; Whether to use strict session mode.2 ]& i( V4 R% W( X- w3 s3 b
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate$ e( W% n  `. o' Y& h9 ~) s4 F
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects8 c, D9 `8 I. p3 Q! C' h2 k
  1345. ; applications from session fixation via session adoption vulnerability. It is; ~! s3 q+ M( I  B
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.* A) g$ V% f) v! i4 L  J- x
  1347. ; https://wiki.php.net/rfc/strict_sessions  }; n6 M- G7 p  F4 e1 k
  1348. session.use_strict_mode = 0
    5 D1 y1 H! B: t0 N  p
  1349. ( o4 S" j1 k: ?/ C/ a( F! M
  1350. ; Whether to use cookies.
    6 F) @' `' b, j  A
  1351. ; http://php.net/session.use-cookies
    ' J; [2 z9 b: S5 K- I. Y) {
  1352. session.use_cookies = 1- J) Z' B( Q$ G, k: `- o
  1353. # {* d! i) |2 g" z9 x
  1354. ; http://php.net/session.cookie-secure# p+ v  y( X; |5 @/ W5 d- L' s
  1355. ;session.cookie_secure =6 G% w& C- L3 M4 `/ Y
  1356.   k! U* S) E7 M
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    $ q6 p) ?( \  e
  1358. ; the session id. We encourage this operation as it's very helpful in combating: D- i; G( ]6 A* M" I- q
  1359. ; session hijacking when not specifying and managing your own session id. It is+ W! j6 d% {& F& z
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    / b" i7 z4 O  I
  1361. ; http://php.net/session.use-only-cookies& A6 q- i. i# g. }2 t
  1362. session.use_only_cookies = 17 T- ^; ]. _7 m; @
  1363. 1 O" S7 j% I+ t. T6 Z; M
  1364. ; Name of the session (used as cookie name).4 ^9 h/ w" G8 U# G% Q
  1365. ; http://php.net/session.name1 o8 o/ a+ Q3 x* c- |
  1366. session.name = PHPSESSID
    # e. @3 B4 p1 \; [- y- p) O

  1367. / G5 e! |) S3 v3 a" \# x
  1368. ; Initialize session on request startup.
    . S! k' V9 g5 B* d4 X
  1369. ; http://php.net/session.auto-start" m6 k! Z$ ~0 a* R! v5 ?
  1370. session.auto_start = 0$ y& y' f( O" G& r$ b+ b! r
  1371. 8 Z1 P; ~! a1 w
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.' L7 F9 y/ S+ [' Y0 e. l: ]
  1373. ; http://php.net/session.cookie-lifetime1 y2 a& P2 g5 r, `
  1374. session.cookie_lifetime = 0- ]  k3 p' x  W) |3 h6 s( b

  1375. # `- x( J$ D: f1 Z
  1376. ; The path for which the cookie is valid.9 h7 p9 c+ F- n! T! B8 O. `
  1377. ; http://php.net/session.cookie-path8 r# a# Z: V8 m9 S
  1378. session.cookie_path = /6 J: `4 w4 ?. Z2 f- q2 q

  1379.   q- W4 D8 l2 }/ {
  1380. ; The domain for which the cookie is valid.
    " o- a5 ~1 Q8 s0 E# n" M
  1381. ; http://php.net/session.cookie-domain6 q) v; A. [  |- X& m5 \
  1382. session.cookie_domain =3 T1 @0 n! x: w/ F. f" s
  1383. * b7 Q" ~% u  B2 H3 I- s1 f
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    5 U$ Y) c+ r3 R. {, m$ C
  1385. ; http://php.net/session.cookie-httponly
    1 ^$ y* r* o" R& H
  1386. session.cookie_httponly =6 k" D# ^7 P% x0 |9 ]# @7 |
  1387. & ~" K! W, l2 k1 P- ^1 }- b  M' P
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.& w+ u+ o8 b3 s. H2 I& B
  1389. ; http://php.net/session.serialize-handler
    3 `" a) d$ G$ x' c) s/ j* t4 i1 H
  1390. session.serialize_handler = php
    8 Y' M( X) Q: I9 u' c5 D) o

  1391. : E- o% `$ U  q; q- ]% v8 H& g
  1392. ; Defines the probability that the 'garbage collection' process is started7 T! {$ K0 k6 B* M) i. g
  1393. ; on every session initialization. The probability is calculated by using
    . |2 J" c' a) t1 S( B& Y
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    , D; n) h0 X+ {* R7 t
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ) H. C6 j, j( L  T# a
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    5 [1 x7 W' x7 w5 f6 |  u
  1397. ; the gc will run on any give request./ S/ }  {: n  B# X
  1398. ; Default Value: 1/ T5 E' p1 J  ]0 o  @
  1399. ; Development Value: 1
    3 P( N9 f* {; |: x! L, r2 M
  1400. ; Production Value: 1% b* L0 v9 \2 B4 I+ o
  1401. ; http://php.net/session.gc-probability0 E* x' M# M" {" N4 C9 \
  1402. session.gc_probability = 1. F4 Y3 j1 a0 i# \' J

  1403. & C/ ]6 F% t' _  r
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    & K" x  N! g- Q! Q) B% M  ~
  1405. ; session initialization. The probability is calculated by using the following equation:1 ^5 R- s6 x' u1 u
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    " X  T' ^& H: L
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1- z+ r  H& P# }# W" k/ `6 q3 `
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance# U6 S2 G  W% K1 E3 x8 \
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you; ~; l& p4 u1 z9 n
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,  P& U7 v. m8 f8 b" _" h
  1411. ; this is a more efficient approach.$ J* K. a/ w" J" S- q& a$ f
  1412. ; Default Value: 100, v; C9 r5 b1 ~/ r. k4 N6 K, x# C, r
  1413. ; Development Value: 1000: H5 M# c! p7 n2 e
  1414. ; Production Value: 10003 o4 b6 f5 W+ b; @" w0 q' I
  1415. ; http://php.net/session.gc-divisor7 l9 r+ K. @1 p6 B) G# S; l' N( e
  1416. session.gc_divisor = 1000
    # V% V6 ?# k# M" v% ~6 Z

  1417. ) Q9 z; j1 ]1 R( Z! _4 p* d/ W, S
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and+ C* E9 N! L" g* \" ]+ ]
  1419. ; cleaned up by the garbage collection process.) D$ I. S+ n$ c' w3 C7 b7 s$ _/ f
  1420. ; http://php.net/session.gc-maxlifetime
    / o. h- {; `7 a' G' I8 {
  1421. session.gc_maxlifetime = 1440  w0 x6 w9 I( m3 r( q" U. D" p, O

  1422. 3 H% N$ j' F% Q# g; I( v
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    ! v; @) [' ]5 e5 y) l! \
  1424. ;       (see session.save_path above), then garbage collection does *not*: d9 d* r- n- @4 O7 p3 f
  1425. ;       happen automatically.  You will need to do your own garbage
    2 I- c) _9 o; \; b& @
  1426. ;       collection through a shell script, cron entry, or some other method.9 U: U' u( n! `& Y$ A
  1427. ;       For example, the following script would is the equivalent of
    0 ^" q5 F7 F/ c% h0 k- I
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):2 W# W' r7 z( l& x
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
      @9 i0 j% G$ s. K+ u
  1430. % Z, X6 ?/ w' [9 r" g1 x# I
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.: C! p  }+ v: S0 J) q
  1432. ; HTTP_REFERER has to contain this substring for the session to be6 \' W& f+ W* I$ X7 W
  1433. ; considered as valid.
    6 ^. _" R3 q* J( W+ k* y
  1434. ; http://php.net/session.referer-check, d6 t( ]+ E& r1 `, Z) ~4 R3 Q% c7 g4 n
  1435. session.referer_check =
    7 V1 u0 d* F' \. E

  1436. 0 K' q$ {$ u+ F# K/ [; r1 s
  1437. ; How many bytes to read from the file.
    ; O: n# y- b' T5 I* T
  1438. ; http://php.net/session.entropy-length, M9 H4 T) k9 z4 o7 p2 u6 z
  1439. ;session.entropy_length = 32
    / f& y0 U; e) C
  1440.   l8 [% j4 W# E4 Q: T
  1441. ; Specified here to create the session id.
    1 B8 w- f4 J$ a5 T
  1442. ; http://php.net/session.entropy-file% Q* X; L/ G; m: o  t3 b. v
  1443. ; Defaults to /dev/urandom" \: a% O! w' S* m, M. i
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    - e7 ^6 G( @0 H8 |% y, L( \0 e+ h
  1445. ; If neither are found at compile time, the default is no entropy file.
    . P: {; L  ]7 M0 v9 c
  1446. ; On windows, setting the entropy_length setting will activate the& }4 `; G- |, t2 C8 d
  1447. ; Windows random source (using the CryptoAPI)9 w" E/ R" u+ ?. ]# |! c
  1448. ;session.entropy_file = /dev/urandom" V0 i5 W( j# y  b% z  H2 }: x( Z
  1449. 5 m* u. b( i5 m
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects% \; o! ?% Z% ]9 M8 S+ o( d! j0 d6 X
  1451. ; or leave this empty to avoid sending anti-caching headers.
    7 M: h0 d& ]4 f! w8 n( Q
  1452. ; http://php.net/session.cache-limiter
    1 ]0 P& A0 K; W: F+ O$ {
  1453. session.cache_limiter = nocache
    0 T  Q! _0 h% L) \5 T

  1454. : S- w$ L9 B) P
  1455. ; Document expires after n minutes.
    * b$ }0 Q# T& w! c; \
  1456. ; http://php.net/session.cache-expire
    5 X9 g6 F- T: V9 i* V
  1457. session.cache_expire = 180" ^3 h. q+ I; v$ [

  1458. " ]( M( {" u6 K
  1459. ; trans sid support is disabled by default." B+ ]" f: Y. u; C
  1460. ; Use of trans sid may risk your users' security.
    6 o) J7 G$ F. O# B( z+ j
  1461. ; Use this option with caution.& g$ u- S) M" S! u
  1462. ; - User may send URL contains active session ID
    ( M% {! _, Q$ G: w2 z) a! b
  1463. ;   to other person via. email/irc/etc.7 B, H1 L9 {; p. Z. `
  1464. ; - URL that contains active session ID may be stored
    ! R) C) ]1 p* r& B) [
  1465. ;   in publicly accessible computer.; @1 K' A- ~* [# L& K3 U
  1466. ; - User may access your site with the same session ID
    0 K6 K% }8 K5 |& s
  1467. ;   always using URL stored in browser's history or bookmarks.! X2 @1 l- F! S/ L- y5 B0 }5 c
  1468. ; http://php.net/session.use-trans-sid
    8 ?9 g: a) \2 }2 c( o) G
  1469. session.use_trans_sid = 0
    ' W# b+ r2 ?* P' E1 X' |1 ~
  1470. 8 ^4 B" I' V8 |9 T6 k4 U: b( ~
  1471. ; Select a hash function for use in generating session ids.& u% b1 Y0 @5 k. [7 f4 N$ b
  1472. ; Possible Values1 S& J3 R7 G6 t8 b9 v
  1473. ;   0  (MD5 128 bits)
    : W& ~! B9 ?" N; V# A
  1474. ;   1  (SHA-1 160 bits)' q6 t2 g+ g6 F: ]" M4 D
  1475. ; This option may also be set to the name of any hash function supported by8 @7 A, B9 e3 t& M, x. Y
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    2 X3 k# d5 {+ s
  1477. ; function.
    ; ?+ K- a2 i  ?: p0 a
  1478. ; http://php.net/session.hash-function
    : Z6 Z2 U1 w' `5 N2 g
  1479. session.hash_function = 0; [! P% X9 \& `% Y

  1480. ; ^# R% k' q) f% Q7 b+ A
  1481. ; Define how many bits are stored in each character when converting' O% T# W% F! W+ Q( r. i7 c* I; W
  1482. ; the binary hash data to something readable.& m0 l" d9 Q- r9 o6 Q) Q( X6 x
  1483. ; Possible values:
    ' b$ N6 |7 @% F+ @9 Y
  1484. ;   4  (4 bits: 0-9, a-f)
    6 A- A* `  j$ w! L* J; e
  1485. ;   5  (5 bits: 0-9, a-v)
    0 [0 M% T0 H, b) K6 x$ L
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ! k  u3 @% b: G% D
  1487. ; Default Value: 46 P  a1 l* E$ a% M6 a
  1488. ; Development Value: 5/ k0 i3 n) b, ~) f
  1489. ; Production Value: 5+ S. j; K- S: W8 _
  1490. ; http://php.net/session.hash-bits-per-character
    ) j9 ^. [# C5 r7 v8 e0 ?
  1491. session.hash_bits_per_character = 5
    . `* K: b# \6 Y3 e! k9 w
  1492. ; s- j/ G  x. D  B8 o) k
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    5 e. f0 L# e* N+ U
  1494. ; form/fieldset are special; if you include them here, the rewriter will! r% `# L0 P9 H5 M* y5 R% }
  1495. ; add a hidden <input> field with the info which is otherwise appended
    ( H5 s% R2 I. e2 M; ~6 B% y) u
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.& i8 j- E3 }1 f
  1497. ; Note that all valid entries require a "=", even if no value follows.
    ( u1 X' g3 b: P5 `/ t+ [6 W
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    $ }  v# i) X( o; ~
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! a1 o( j+ L2 G5 ^" t0 x5 z7 l7 }
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 i2 A. K: y& d& `
  1501. ; http://php.net/url-rewriter.tags$ J$ ~+ V: W7 s% w7 c5 ^
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 B* E, J- f7 n& O+ J5 q
  1503. , W, L/ U  e  i) d1 n& n
  1504. ; Enable upload progress tracking in $_SESSION- a+ F& d( K, q& _; q. b
  1505. ; Default Value: On& w: }2 G5 V2 v9 u
  1506. ; Development Value: On& u, _2 F) w0 l
  1507. ; Production Value: On: A* `9 d) R2 ^" C* g2 o
  1508. ; http://php.net/session.upload-progress.enabled8 P; E1 v* H; f/ ^" @
  1509. ;session.upload_progress.enabled = On4 n4 T& F% [  C; i$ ^
  1510. 6 E) g+ w. @! W* M7 ~* i3 b
  1511. ; Cleanup the progress information as soon as all POST data has been read
    / B% I7 R6 P1 ?; ^
  1512. ; (i.e. upload completed)." [# r; n5 s# f0 K6 E
  1513. ; Default Value: On
    2 y% j. p. m) F7 \5 k7 `
  1514. ; Development Value: On9 A) T9 g. p$ \9 C+ U
  1515. ; Production Value: On
    ' f$ [$ R7 |, g& t, F) D3 B8 L9 J0 P# m. ]
  1516. ; http://php.net/session.upload-progress.cleanup
    0 m- j% i; {2 `% Y4 B& T. v
  1517. ;session.upload_progress.cleanup = On
    9 j7 Y+ k3 V* {  u

  1518. " k3 e( q8 {9 c+ H" g( O
  1519. ; A prefix used for the upload progress key in $_SESSION( ~$ q7 Y8 ]1 r/ |
  1520. ; Default Value: "upload_progress_"
    9 n* ?6 ?# k& L) P
  1521. ; Development Value: "upload_progress_"4 K" C# ~; @  t& H& k8 ^7 S* B
  1522. ; Production Value: "upload_progress_"% S7 f- U/ T! ~- W0 x) y4 o1 {
  1523. ; http://php.net/session.upload-progress.prefix
    / G2 R* y" m; `2 e/ o' B
  1524. ;session.upload_progress.prefix = "upload_progress_"
    5 O3 _0 L; ]$ K' t

  1525. 0 M4 w' u2 N4 x% _
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    5 l  U* k! T  e& U8 y3 S0 w. j
  1527. ; containing the upload progress information" h" b8 m# t2 u% {; I' l" C+ }
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"8 O$ }# t* F$ z3 f" w7 w4 o
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 S5 o, b, K. w: F! b/ q
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ' _" c1 r! F4 o1 [2 D# @! k. ]
  1531. ; http://php.net/session.upload-progress.name: V& ^! h/ U  L6 P- }; o
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"8 T: ]6 I7 ^: @, d3 Y
  1533. 1 _% E0 f9 o3 v1 N! Z) v( ]- v8 |# k
  1534. ; How frequently the upload progress should be updated.( n( A+ b2 |1 t! G1 ?
  1535. ; Given either in percentages (per-file), or in bytes
    ( q6 K* r  D) D
  1536. ; Default Value: "1%"
    & ]: j6 C' `7 n7 m, d
  1537. ; Development Value: "1%"
    * _. b6 O# g" u3 e4 c3 D
  1538. ; Production Value: "1%"
    6 I7 K7 G5 Y+ @# g, E- M
  1539. ; http://php.net/session.upload-progress.freq" k/ x. P* E, C) [
  1540. ;session.upload_progress.freq =  "1%"
    2 u& i3 ^% O; Y6 ~

  1541. , o; m( n& p1 l: }
  1542. ; The minimum delay between updates, in seconds6 f8 H8 ^- C- l, _! R# @
  1543. ; Default Value: 1/ ]4 N) v9 c. `6 Y
  1544. ; Development Value: 1
    : M4 q, f' ~% X. Z2 W6 q( [
  1545. ; Production Value: 1
    # I" F. I# ~0 Y% ^
  1546. ; http://php.net/session.upload-progress.min-freq) n1 Q+ u; F8 D) n
  1547. ;session.upload_progress.min_freq = "1"' ?, w" x3 [: Q1 p. O

  1548. 5 G; ]7 g* k# p* S
  1549. ; Only write session data when session data is changed. Enabled by default.- }( e6 y+ l: t) w2 x5 l& T& r
  1550. ; http://php.net/session.lazy-write( ?3 @; x5 w4 Y( a# U
  1551. ;session.lazy_write = On0 k/ S! `& z# }- H: _* k' {
  1552. 0 D- }) z: l/ |' S; |( ]5 Z
  1553. [Assertion]
    0 {) l: d" L+ s  |) ?/ Y  p: H2 o& j
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time), N* I% F3 D% r* I+ I2 g
  1555. ; -1: Do not compile at all8 p. x- Z2 z6 W/ N: T2 h, [+ t
  1556. ;  0: Jump over assertion at run-time4 Y1 e* ?9 z5 K  A6 I( Z, A
  1557. ;  1: Execute assertions. M! |( C/ x2 S6 S3 x" f
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
    : |, x# F  U* f6 _
  1559. ; Default Value: 1* _# L8 ?4 d9 I: ^
  1560. ; Development Value: 16 t7 a2 D0 ^% E  S! D8 |) X0 W
  1561. ; Production Value: -14 z, U) I4 x. d# S- \, t( x/ j
  1562. ; http://php.net/zend.assertions* O2 H+ o* o1 @) d) f, X
  1563. zend.assertions = -13 `* r. Q- T% P' a1 E% e

  1564. " R6 B4 E" H# f* Z. V! a
  1565. ; Assert(expr); active by default.
    ! R; x9 x+ N' ^4 j
  1566. ; http://php.net/assert.active
    * u3 D* ?- n, E+ Y3 z% s
  1567. ;assert.active = On5 c7 e8 y$ ]% j( j, J8 M1 ^5 ?/ B

  1568. 2 x8 ~( i2 c% H% y% {4 o; P
  1569. ; Throw an AssertationException on failed assertions4 b. A! p; G4 z1 C- C$ \7 Q8 K1 `/ b
  1570. ; http://php.net/assert.exception
    4 o: V# F' i6 Z
  1571. ;assert.exception = On
    $ l; v- O: t* e( [
  1572. ! j1 v' A9 K5 ^  N
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    & t8 Y- S( S0 f6 B4 f$ D- @9 v
  1574. ; http://php.net/assert.warning
    ! L! w0 a! a8 G6 s: n$ z( _
  1575. ;assert.warning = On, A8 H9 K+ r. D5 {+ m) \& d8 K; a4 U
  1576. 8 r4 M0 b# l; O
  1577. ; Don't bail out by default.: l0 [; q& ^5 N' ]# G
  1578. ; http://php.net/assert.bail/ M1 p2 }: l8 M6 O2 R1 q
  1579. ;assert.bail = Off" y8 D' X+ _$ X
  1580. 5 I6 ~1 j. k% X9 K. E- X
  1581. ; User-function to be called if an assertion fails.
    & @* Z  E( t! A" B2 X' J' G
  1582. ; http://php.net/assert.callback/ a) H7 ^. E9 h; @& N$ j0 l3 |
  1583. ;assert.callback = 0
      p9 E6 P+ q# {2 X7 i; q

  1584. ) q8 ]2 f4 \6 ]& M
  1585. ; Eval the expression with current error_reporting().  Set to true if you want9 N; X  b( H% W  e" y3 T+ `
  1586. ; error_reporting(0) around the eval().
    9 h0 X  b/ J; l1 g
  1587. ; http://php.net/assert.quiet-eval, g8 ]" ~, Y8 L; M8 [9 _
  1588. ;assert.quiet_eval = 0" c' E. `" ?: D. R$ o+ S

  1589. " ^! D7 s4 L+ q* \$ l
  1590. [COM]  B* ~* a: n% {9 T; A
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    4 H+ u7 T7 _9 |+ I2 ?, |2 o4 e3 ]
  1592. ; http://php.net/com.typelib-file
    & N) e2 v" ^" u0 l0 r2 {
  1593. ;com.typelib_file =
    2 b2 h1 t" _+ F" z- Z3 J
  1594. . {* p4 M4 t: K: ~
  1595. ; allow Distributed-COM calls; K/ D; Q8 y9 O4 s6 I' Q5 f1 S4 O) R
  1596. ; http://php.net/com.allow-dcom
    + Q) Q8 j8 e9 J2 ], a
  1597. ;com.allow_dcom = true
    1 u- P- z7 ^6 g

  1598. ' O$ `. j6 |7 I* V$ g5 h' m
  1599. ; autoregister constants of a components typlib on com_load()
    ' u4 T. s6 X+ m7 W( r* n  d
  1600. ; http://php.net/com.autoregister-typelib) e& K5 T- H5 ]1 _8 e
  1601. ;com.autoregister_typelib = true8 r. ]$ o( S+ k$ Q

  1602. / M0 y3 X" c, O9 R/ w3 A
  1603. ; register constants casesensitive9 E( m! {" O& W5 ?! ~2 g. h
  1604. ; http://php.net/com.autoregister-casesensitive
    - G9 c, X9 k$ Y0 @% d" z; n+ Q
  1605. ;com.autoregister_casesensitive = false
    % X3 d# L2 B! R. J" ?# @2 P6 V
  1606. ; K8 u, }  t0 N# ~
  1607. ; show warnings on duplicate constant registrations
    5 _3 u% x* J$ S, g  p2 R
  1608. ; http://php.net/com.autoregister-verbose* Z" H$ a! ]8 H0 [6 T
  1609. ;com.autoregister_verbose = true
    8 B% Z" I/ k; f# h6 u8 a3 d/ Z1 V
  1610. + a  L; m9 A2 q& {" C+ J
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    3 {; U: s9 Y! s5 O( q+ k( W
  1612. ; Default: system ANSI code page
    $ R2 C. z9 R1 U: G% Z
  1613. ;com.code_page=
    7 E+ z4 B, j" F6 \. P

  1614. + \, ~5 |5 E9 n0 P
  1615. [mbstring]- M  |: ?1 W8 R  G# [/ q1 T
  1616. ; language for internal character representation.  d  _$ x0 y  `+ I
  1617. ; This affects mb_send_mail() and mbstring.detect_order.( \9 B$ Z$ h3 d
  1618. ; http://php.net/mbstring.language
    1 ^& T' r! M" q+ m/ `) N+ P1 K
  1619. ;mbstring.language = Japanese
    + b# a4 D5 F1 R2 V
  1620. : a' j; ?$ K4 r! z# Q% G0 r6 D
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
      I9 X  Y2 y" N! T3 n1 J1 p! O
  1622. ; internal/script encoding.# ~5 r; e, L1 q+ v! l- ~
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ) g5 n: l4 J+ W0 n
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.% S. J) p6 h( b
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding" S2 ~  X/ @  _1 v9 Y; _1 x
  1626. ;mbstring.internal_encoding =9 ]' u3 ]% R! ?2 v+ s, f& X" R

  1627. % l$ f% J: e# \3 X  X
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.9 p% `2 L( ^! t4 ^& s0 Y7 `
  1629. ; http input encoding.
    9 e7 p  t/ n9 t! k$ |
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    * }- n3 n  p, S" ^( D
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    6 N; i! l8 j, s8 r
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input5 k& J/ N7 N% Z. B+ L
  1633. ; http://php.net/mbstring.http-input. I  H1 P' u4 Y0 t0 f. |6 a
  1634. ;mbstring.http_input =
    ' F  U& O' H3 H* Y7 H2 I! k
  1635. & m7 `  }9 z" f1 z3 K$ X: }/ u
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.+ ~6 f3 O) L+ ^* c! w
  1637. ; http output encoding.
    1 N1 E& U1 w9 x* ?4 W; j
  1638. ; mb_output_handler must be registered as output buffer to function./ _4 P- J7 k8 ?
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    0 @; s! v$ n# o5 c; n- D) X8 t4 u
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output& [; l  F, i- x. I
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    " n: T2 K% X7 C: W" D& e. N
  1642. ; otherwise output encoding conversion cannot be performed.% s  b, \9 Z( E- e, e1 T3 I
  1643. ; http://php.net/mbstring.http-output7 r9 X% ~! ~- b# {5 ?8 M' Y# Y+ A
  1644. ;mbstring.http_output =6 `; @, Q' Y% K2 M' T8 u
  1645. , J& m5 e: K% h% K: R* |0 I: [
  1646. ; enable automatic encoding translation according to
      N6 u' s, q- s, M
  1647. ; mbstring.internal_encoding setting. Input chars are
    . c4 m4 ]# ^7 Z; {3 O+ s
  1648. ; converted to internal encoding by setting this to On.
    - V! }$ ?% L1 U* `9 D0 t. L; F
  1649. ; Note: Do _not_ use automatic encoding translation for
    ! G8 q$ o# j8 i: Q% ^' x9 f# e6 A
  1650. ;       portable libs/applications.
    " p# T1 Y  Y! B7 F
  1651. ; http://php.net/mbstring.encoding-translation1 e  ?7 A; h# D
  1652. ;mbstring.encoding_translation = Off9 D, H+ K/ h% W' |/ W: o6 o
  1653. 6 o) e" X, H4 y. U
  1654. ; automatic encoding detection order.
    ! Z6 g2 [$ e! }5 O
  1655. ; "auto" detect order is changed according to mbstring.language
    + ~: k( |3 E3 j+ w: ~; O3 _
  1656. ; http://php.net/mbstring.detect-order
    # T' d  y, f! n8 v. y) z9 T
  1657. ;mbstring.detect_order = auto9 n4 D+ K+ c- H

  1658. ! w5 u. b5 Q, [, @# m8 p. J5 t
  1659. ; substitute_character used when character cannot be converted
    & ^; c  N8 l& v6 a& `) e
  1660. ; one from another& X2 L9 S* m/ g* H
  1661. ; http://php.net/mbstring.substitute-character, j% C, c) m9 D. c( j
  1662. ;mbstring.substitute_character = none" x: i$ E8 p; d
  1663. # J; r4 h: e1 T
  1664. ; overload(replace) single byte functions by mbstring functions." V: l9 n) d% k' W8 H
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    " M6 H+ C( o0 I: @" l5 D* m& ^/ N
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    " K" M* l* O' h: z
  1667. ; For example, 7 for overload everything.
    - c! v3 a6 E2 Q! n
  1668. ; 0: No overload* M( v  j4 h9 E& b, m0 f( Q( Q- B
  1669. ; 1: Overload mail() function
    " Q) H+ z- w7 x) R) V- g
  1670. ; 2: Overload str*() functions/ D' g# {6 l+ S# ^7 v9 I
  1671. ; 4: Overload ereg*() functions$ e$ c% B8 X* }2 a! [  ^" @, @
  1672. ; http://php.net/mbstring.func-overload
    & i7 q" C+ h$ T4 l) W8 o. \
  1673. ;mbstring.func_overload = 0
    % C8 ]( Q" h/ q8 _0 u8 j
  1674. 3 i9 N  Y2 u) j% a0 Z  d7 c4 R
  1675. ; enable strict encoding detection.: V* U7 N& Q$ R( i" W1 X
  1676. ; Default: Off
    3 y6 B7 v  [; J6 x' _% \9 x
  1677. ;mbstring.strict_detection = On/ N: \2 k' X- S7 |

  1678. ( J/ W; n: x8 v
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    4 K! U3 T5 S- r
  1680. ; is activated.& I+ d% M; b% O+ H2 n7 {
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)- |; w' R( C( M( e1 z
  1682. ;mbstring.http_output_conv_mimetype=/ O4 p; ]/ W" d

  1683. + v# w! v/ Q5 k# R: K9 F8 D) c1 G
  1684. [gd]" T7 j. C. Y' a7 m* c" h; s* J: g
  1685. ; Tell the jpeg decode to ignore warnings and try to create$ \: Z5 Q/ A, _5 f  [3 _" l
  1686. ; a gd image. The warning will then be displayed as notices' u/ h9 |6 U# b: |
  1687. ; disabled by default( M7 H$ z6 W+ f5 P6 A1 f6 X
  1688. ; http://php.net/gd.jpeg-ignore-warning
    6 q  _/ }& E: y- v
  1689. ;gd.jpeg_ignore_warning = 0, w0 o. _- O9 q. e5 Y1 h, Y+ R
  1690. 4 \; e" C: @# e
  1691. [exif]
    7 F" q5 v! G9 S2 w1 x5 {
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.' n# w# u* b9 b  j# \  l+ w
  1693. ; With mbstring support this will automatically be converted into the encoding
    . R1 j2 ?: N- b4 [. @
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    7 m$ r# @# ], \7 n  F
  1695. ; is used. For the decode settings you can distinguish between motorola and
    ! E2 M. s" l9 R( @0 W$ i
  1696. ; intel byte order. A decode setting cannot be empty.
    * g/ l2 X6 V' O
  1697. ; http://php.net/exif.encode-unicode
    9 k! k% d5 c% f: T4 ~/ S
  1698. ;exif.encode_unicode = ISO-8859-15
    , y7 P/ _* b" g: f

  1699. 3 c+ M2 W% x5 H
  1700. ; http://php.net/exif.decode-unicode-motorola
    ' k! k5 K* h% {2 d9 d4 l
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    - j: q5 W+ C& f8 v# N% s* ~% W
  1702. ! ]9 Q, r( q& ^9 a6 J
  1703. ; http://php.net/exif.decode-unicode-intel
    6 U% O6 k7 ]6 |0 Q7 b7 A
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    $ p" ]) C8 L6 @

  1705. 6 _# C  n- N4 h2 D: [+ h
  1706. ; http://php.net/exif.encode-jis
    - ]) }+ Z  w/ r2 |$ Y. c! {  _9 J  C
  1707. ;exif.encode_jis =, {) C( s& V. e3 ]* [& j* ^$ t9 R! m7 k9 v

  1708. 6 g$ w; g( N9 t' {: ^8 M6 A# B0 i$ C
  1709. ; http://php.net/exif.decode-jis-motorola9 ~( h2 d' J2 H& ]
  1710. ;exif.decode_jis_motorola = JIS1 {& C* l3 h6 d8 @* J% D! U% c
  1711. 6 q# t5 d0 ?) z5 ^9 m6 ~
  1712. ; http://php.net/exif.decode-jis-intel/ l$ ^. k% h$ K2 ?. F; h
  1713. ;exif.decode_jis_intel    = JIS3 L; s7 o0 s2 |$ k( p8 Y8 j0 c
  1714. / s/ D/ a1 ~& p: T% S2 z; E
  1715. [Tidy]
    . d3 t9 [+ m7 n3 _0 Q$ N7 y( S
  1716. ; The path to a default tidy configuration file to use when using tidy1 B+ ]# ~) }( J: }4 U/ t( _, K
  1717. ; http://php.net/tidy.default-config
    $ T) }6 @8 E& z+ V
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg. Z' E  k4 K% C- ]$ D

  1719. ' k& ^6 R4 t& U0 w2 o% s  m6 U
  1720. ; Should tidy clean and repair output automatically?
    9 s/ N" N3 u9 U2 O: R
  1721. ; WARNING: Do not use this option if you are generating non-html content
    4 P- p2 N8 A6 `( h$ P3 q
  1722. ; such as dynamic images
    ! d) S* n; J2 t" J) I
  1723. ; http://php.net/tidy.clean-output- J$ O% X, k# E- C0 e5 f
  1724. tidy.clean_output = Off
    . D! G+ G& q8 M# Q3 s5 i

  1725. 4 C; C1 O# P1 s! O
  1726. [soap]& c4 A/ J) `6 S& k: `: d
  1727. ; Enables or disables WSDL caching feature.
    : {$ }2 \' z3 c
  1728. ; http://php.net/soap.wsdl-cache-enabled
    : f( i9 f9 j8 n! l& c
  1729. soap.wsdl_cache_enabled=1: b; i1 }+ r( v) b9 a' b" h9 w" U
  1730.   S! C9 p, Q* i; ]6 _( G
  1731. ; Sets the directory name where SOAP extension will put cache files.& z4 U7 r/ i( ~2 _0 _8 I
  1732. ; http://php.net/soap.wsdl-cache-dir
    7 R1 h( n: Z/ r3 p5 J
  1733. soap.wsdl_cache_dir="/tmp"
    & q3 m& b) m9 R8 S
  1734. * g$ p8 T2 [# N6 o1 i2 l4 @- K
  1735. ; (time to live) Sets the number of second while cached file will be used/ q" t% _$ K! y$ u! C
  1736. ; instead of original one.
    % k: E1 b4 `5 W, ^( j+ D1 F
  1737. ; http://php.net/soap.wsdl-cache-ttl# E3 W$ a; b. M! \6 O2 O  t9 p7 V
  1738. soap.wsdl_cache_ttl=864006 w; p) G! I, q' E6 \" Q

  1739. % M/ h& }1 m3 u9 Q, ^9 [$ l% C- D6 V
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    . {4 ?7 v9 i) _: T' f  @+ j
  1741. soap.wsdl_cache_limit = 5! d; g; F5 o; U1 D

  1742. 8 q4 g; x3 N7 _
  1743. [sysvshm]. j2 S) w( N8 Q/ h; n8 z4 ^
  1744. ; A default size of the shared memory segment8 s3 a6 Q: G  _: F. V
  1745. ;sysvshm.init_mem = 100007 m2 z! w% ?& f" a5 C

  1746. ( `/ J$ Y0 f& |
  1747. [ldap]; V* p2 u2 @4 I. L% o; H; B) ?; I
  1748. ; Sets the maximum number of open links or -1 for unlimited.; C% D! B% B8 S
  1749. ldap.max_links = -1
    7 C, h) k3 z) m! {3 a% c! J% g

  1750. 6 A8 T2 P6 W8 T  P! y( `% S
  1751. [mcrypt]
    $ I- N8 B1 U6 [
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open  m- Q2 a' X; y6 v, Y+ D1 J5 d0 H) ?
  1753. 2 Q6 n( J$ F/ q, h. K* A' B5 j
  1754. ; Directory where to load mcrypt algorithms" v+ g2 K; ^  ]1 @$ |5 X
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    , Q) t# m3 A# J: f
  1756. ;mcrypt.algorithms_dir=
    + |. o, |& T+ K6 _2 Q: f% C

  1757. ) l. `% c2 L0 C# w5 Z+ p
  1758. ; Directory where to load mcrypt modes6 B& ~/ l; ~: Q1 B8 y
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)5 o( x, I% |* B0 i, O
  1760. ;mcrypt.modes_dir=# w- K( s7 l$ p' W3 h
  1761. % m) E9 V& v' V1 d+ m- j& H
  1762. [dba]4 g: m3 c7 M) h: T# I
  1763. ;dba.default_handler=
    $ g) x7 z9 @( h! m7 K7 @
  1764. 5 @8 k  l* }3 X3 F
  1765. [opcache]8 o/ O- n9 }2 O
  1766. ; Determines if Zend OPCache is enabled" ?; z" L% a2 i4 E0 V2 W
  1767. ;opcache.enable=0, P. G0 w$ J* y2 k. v
  1768. # y2 ~! `9 a4 [2 F9 f: a
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP: `# b0 v6 c* _. ]/ h1 v/ U
  1770. ;opcache.enable_cli=0. ^% q9 _) y. H. n' c
  1771. ' x9 c2 C7 D) i/ O- l( f
  1772. ; The OPcache shared memory storage size.
    ; }9 }1 b- a8 s" F4 L6 r' d% i; y
  1773. ;opcache.memory_consumption=645 Y  ^; J" P$ P. f) T' u( U
  1774. & H4 C4 C* @6 p5 M+ Y; n2 y
  1775. ; The amount of memory for interned strings in Mbytes.  e2 B2 I/ ^' T+ v) u* D# q: \/ O
  1776. ;opcache.interned_strings_buffer=4
    5 s) [, m) S) e# Q. a- y
  1777. 1 Q. p+ ]& M. W+ e2 u
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    0 i0 m' {9 T8 i# O0 j# E) ]
  1779. ; Only numbers between 200 and 1000000 are allowed.5 ]+ h% l- p1 K0 x- ]
  1780. ;opcache.max_accelerated_files=2000& {; @! t/ L& V. m
  1781. & y# O. w3 [1 g  K% P5 v
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ) v1 N  T+ |) P; Y; D  L7 }
  1783. ;opcache.max_wasted_percentage=5+ X7 `7 u1 F, |- X2 Z
  1784. & q' T" O; I0 t! P* Q; q+ x$ P
  1785. ; When this directive is enabled, the OPcache appends the current working* `5 w! f3 W! O
  1786. ; directory to the script key, thus eliminating possible collisions between
    - Z+ w1 C* }3 F/ i! D+ i' j! u
  1787. ; files with the same name (basename). Disabling the directive improves7 I$ l* d, T2 `$ s% g
  1788. ; performance, but may break existing applications.
    # F8 V3 \2 J+ X/ v+ U# e. j
  1789. ;opcache.use_cwd=1
    $ A. s/ b: c3 {& v) Y; B# c
  1790. 3 v4 Q, P" G( w2 q6 b! u; ~
  1791. ; When disabled, you must reset the OPcache manually or restart the
    : u$ x2 s+ P, G3 X' F6 |: ^$ z
  1792. ; webserver for changes to the filesystem to take effect.
    ) G6 Q7 j3 M3 w" `: h
  1793. ;opcache.validate_timestamps=16 Y9 j' Q. W: [+ K6 h9 S- `

  1794. % q+ S7 _# N9 m8 Z
  1795. ; How often (in seconds) to check file timestamps for changes to the shared# v" h* J9 h: v
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    8 D% [# F) V4 b- Q7 @
  1797. ; once per request. "0" means always validate)
    9 k$ u" T" V& s" `4 B
  1798. ;opcache.revalidate_freq=2( h7 j& r( v$ B  p- ?$ d  n
  1799. & U0 B+ O% o4 u  W- h) Y7 T& ?8 m: w
  1800. ; Enables or disables file search in include_path optimization
    ) O; t5 h: C; B; W# l
  1801. ;opcache.revalidate_path=0
    $ X& @* P  v3 Y. z

  1802. 9 L7 D& [- i, m+ P" q+ j# D
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the6 L8 x- q, m% M( Y  Y1 L5 ?: K
  1804. ; size of the optimized code.; P+ N  m, h5 h
  1805. ;opcache.save_comments=15 ]4 E6 o& G% t6 a( D" t- w3 g+ N

  1806.   s+ {: P4 h! c- z+ p
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ; S! c' w7 F: b5 A5 p5 i+ M4 R
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    , ^  ]) q' D7 \( L
  1809. ;opcache.fast_shutdown=0
    7 c- l8 F5 r7 G: j5 z
  1810. 7 N9 z8 j( v9 }2 H
  1811. ; Allow file existence override (file_exists, etc.) performance feature.# O& x) k) V# L. `+ P* z5 ~+ |
  1812. ;opcache.enable_file_override=04 m) Z* a2 J3 M
  1813. / U/ i% O* J9 J( S2 ?
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
      \* s7 B$ S# @! H5 c
  1815. ; passes, K; m/ |+ {* `/ ~5 E
  1816. ;opcache.optimization_level=0xffffffff( i9 N; G2 |* S5 I! B) H

  1817. $ g/ I! Y" v8 W1 v1 b
  1818. ;opcache.inherited_hack=15 y3 V7 F/ G  a4 U2 m! Z( q; @: f
  1819. ;opcache.dups_fix=0
    2 _3 A* P% j' @/ D

  1820. + `0 q; a* }) G5 r8 f) B* h* p
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    # ~$ d7 X- \1 ]( T/ S% N( }
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    ' o- M5 j( r) Z! h
  1823. ; that should not be accelerated. The file format is to add each filename4 ^6 V5 T1 ?4 ^2 t) p) O
  1824. ; to a new line. The filename may be a full path or just a file prefix
    2 k) T1 P! B- F. R3 f
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ! `, |+ d: ?3 m- f7 \
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).9 s1 [! H  C' l5 W; b8 v( m
  1827. ;opcache.blacklist_filename=
    0 U. y% \3 X# c
  1828. / j3 ?  u* e3 U# h2 ]) g5 v
  1829. ; Allows exclusion of large files from being cached. By default all files/ K& d% _3 e/ A7 P- _4 c6 `3 P! m/ Q
  1830. ; are cached.
    ' t2 m+ ?; c$ t
  1831. ;opcache.max_file_size=03 E& t; V3 }: O

  1832. 9 c( b2 w. y. ]; J
  1833. ; Check the cache checksum each N requests.; P- g9 f5 g) d8 j. y
  1834. ; The default value of "0" means that the checks are disabled.
    & K$ J8 j, _3 d
  1835. ;opcache.consistency_checks=0( r- W9 @+ \5 U+ d, c$ Y

  1836. & q2 c/ N, {( k1 O4 x" k; a
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    4 X- H' C+ T+ C- o) \2 r
  1838. ; is not being accessed.
    & T; @- t, X5 s$ L6 I8 b, C/ u+ j$ \
  1839. ;opcache.force_restart_timeout=180
    / `' J7 D3 f$ l7 Y2 U5 b
  1840. ! e' P* K& v) n, M) _
  1841. ; OPcache error_log file name. Empty string assumes "stderr".% F. q/ ]# \0 E) ^5 q
  1842. ;opcache.error_log=3 A# q2 I' ^2 ?% V- s( g
  1843. ; J  D% D$ K: x. \; h6 A
  1844. ; All OPcache errors go to the Web server log.) }* a1 r5 I$ \1 X( N; V9 I1 p
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.* H: X% e# z$ l+ N1 o
  1846. ; You can also enable warnings (level 2), info messages (level 3) or& Y( y: I' j, H1 x
  1847. ; debug messages (level 4).
    . B; W1 a9 z# ]2 @' n+ G2 k* U
  1848. ;opcache.log_verbosity_level=1/ \/ S/ I' f* Y4 r# D- q
  1849. ) Y: V  x1 V" N- ^. E& e
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.2 R% v1 M% M7 C# u# f9 s$ \* d
  1851. ;opcache.preferred_memory_model=
    # W& k5 T' q6 A6 v
  1852. 5 {- e& X6 k6 j2 N" y3 g
  1853. ; Protect the shared memory from unexpected writing during script execution.
    3 F% a" j/ d! B# e/ h6 A/ Y
  1854. ; Useful for internal debugging only.
    + S% Z8 G+ s: y
  1855. ;opcache.protect_memory=04 ]% C2 t4 a: m9 w5 g2 i
  1856. # G  H4 K/ S$ u8 v0 j
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    8 e2 ?: q: {% b
  1858. ; started from specified string. The default "" means no restriction) |! P9 A- v! m9 S( |
  1859. ;opcache.restrict_api=
    4 O5 A* E0 D& _  F1 X' @' h, s
  1860. 0 o! B  g0 m- H
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP1 ^' W# o/ C$ j: u
  1862. ; processes have to map shared memory into the same address space. This
    1 }6 ?( u5 o  |, X
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    , M' _8 ^2 g# r8 P
  1864. ; errors.
    4 q; v) D# v+ j" m1 A
  1865. ;opcache.mmap_base=
    ) d+ J5 K' x7 N% _# o
  1866. ) ^, j. Q, S3 d0 c* F! Y1 ]9 I# h9 C
  1867. ; Enables and sets the second level cache directory.
      Z) X8 P7 U9 @* V' r: D
  1868. ; It should improve performance when SHM memory is full, at server restart or5 |" H: Q1 n9 i% d9 f6 \! m& R6 S
  1869. ; SHM reset. The default "" disables file based caching.
    1 H9 i3 s: B+ E% j5 p, Q
  1870. ;opcache.file_cache=
    , n; v! P+ t4 ^* f. A
  1871. / P# A3 M# X* p6 V& t9 X' e0 g" C
  1872. ; Enables or disables opcode caching in shared memory.
    $ q- k$ f; M* P+ }* _0 R" V
  1873. ;opcache.file_cache_only=0! b! p( @% A4 D5 M0 K

  1874. ( D6 v7 \) m8 y; l
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    - s7 Q- u) u/ `4 o& s7 q! h8 B9 n
  1876. ;opcache.file_cache_consistency_checks=1, R5 l2 x" [" \  R* ?' T

  1877. ! u+ Y. U* j! U) h7 n8 F
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to* D6 S7 A% k9 h7 \" V4 d
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file- E2 `, o/ K5 ]- `/ U+ }
  1880. ; cache is required.9 c% \/ @2 {  U1 a" c6 I) Z
  1881. ;opcache.file_cache_fallback=1/ z9 K3 A& N" V9 w% Z

  1882. ) Y1 Y( E9 `$ X. Y. `& M7 i
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    ) ^4 z$ P% m& C4 N! h
  1884. ; This should improve performance, but requires appropriate OS configuration.. t& \3 v6 j; H3 K0 Y. q. ?( _- w0 T
  1885. ;opcache.huge_code_pages=1, H0 d6 ~) u, [9 p
  1886. / Q7 ^' |  q. v: ?
  1887. ; Validate cached file permissions.9 h& `8 E0 p( O& ~
  1888. ; opcache.validate_permission=0( j# T: j4 C( b% {
  1889. / s3 _# H3 m4 F3 ]( U- Z+ O" b: q
  1890. ; Prevent name collisions in chroot'ed environment.
    , H2 d  {  v/ E
  1891. ; opcache.validate_root=0
      A7 y' y& ]9 c. t: z( y

  1892. , I: u! o2 l) V* n8 u" e. o" u
  1893. [curl]- x8 p' q2 _3 S) A$ d# P
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an& ~* l% q* F9 x4 ~1 [, Q. {& E& K
  1895. ; absolute path.
    : X; Y0 G* C- L/ _) a  R- y% P7 Z
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt1 @2 a% Z) |) I: N
  1897. 8 ?' |+ Q9 J6 M' C/ F
  1898. [openssl]3 i. D" c+ w& i; F
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    1 N* J# x/ `0 `' K2 [7 k3 p
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    $ Z  S: [  A* V7 w' v
  1901. ; not specify a value for this directive as PHP will attempt to use the' o  D, V7 \) k8 a2 P- F
  1902. ; OS-managed cert stores in its absence. If specified, this value may still; I+ _8 ^8 \* b/ S8 f' D
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context+ T% S( j, I& n; U; `
  1904. ; option.
      P1 Z5 [$ w0 i" c$ L" m
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    2 D! M9 F5 B! T/ y3 u" w* @
  1906. ) B1 h( r" N" H
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the* K2 Z2 p+ U* m
  1908. ; directory pointed to by openssl.capath is searched for a suitable) Z6 e' v# U- B' o9 K! d
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    + U3 S. Y8 R( B# ]  \' ^3 I' }
  1910. ; Most users should not specify a value for this directive as PHP will5 @9 K! R5 ^* b$ L* W7 ~$ |; p
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    8 [% i0 K) U, D5 ^/ t5 q$ f
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    & H. f4 G2 q; m6 c! Z
  1913. ; SSL stream context option.% B5 O" u/ ^; q
  1914. ;openssl.capath=4 x0 z2 z6 b1 j' f" |' c
  1915.   O: O# B- z6 ^2 |: V
  1916. ; Local Variables:; R# E, K- ^- J, |5 e* ~1 Q
  1917. ; tab-width: 4* R/ n/ B7 Q7 ~9 Y  w
  1918. ; End:% B2 o! q; ?6 H
  1919. . U/ l1 X) l$ z
  1920. ;eaccelerator( }2 ^) `2 I7 l( \. K
  1921. 1 |" E  e9 T1 N4 ]6 ~) a
  1922. ;ionCube% l* K9 ?4 v" P" i. v6 Z

  1923. $ K+ `5 [3 n8 {' k  q* H
  1924. ;opcache
    1 p  L+ H7 D+ ?3 ?) p6 E* h

  1925. 4 l4 K8 U( v0 j9 }8 E
  1926. [Zend ZendGuard Loader]
      m) _8 A% H9 _7 a- b% T
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    8 t: [) l* a9 I3 h: V* V8 R
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so  t6 u% I; w' q, a# N
  1929. ;zend_loader.enable=19 o  W) ]$ l. ?" h" Y; P
  1930. ;zend_loader.disable_licensing=0
      D0 n9 M& d' }" K4 g& O
  1931. ;zend_loader.obfuscation_level_support=34 K# }7 T" |5 G2 {
  1932. ;zend_loader.license_path=
    # ]" T! n! c! E3 p- o
  1933. ' m; v" [9 ~. o3 O# v# B" `4 M* }. `8 v
  1934. ;xcache7 Z- L$ j" ?5 b1 r% H

  1935. * A- D; u& W/ q
复制代码
4 {& e( y9 {6 X
5 R: W! v( B5 y- n& x/ R, O

0 q& J! e$ l+ j& t$ T( c8 b, ^3 q: Y
" W" v" Z, C2 c* e( o" j
1 }% }0 i4 O/ l

& Y* F2 t7 I+ O! O3 |% l' M# ^; T. mPHP5.6版本原始设置
' H0 [9 l) |9 t8 R/ D! w
/ d2 {; \( f3 C* d, a7 A, h
  1. [PHP]& n% c0 H3 }8 k1 ~1 M
  2. , |  K! W* o: L5 e. m
  3. ;;;;;;;;;;;;;;;;;;;
    0 u9 e* A% O+ ?( e8 l' v) w4 v
  4. ; About php.ini   ;
    # u7 }  b9 ]/ y- e6 B. A
  5. ;;;;;;;;;;;;;;;;;;;( F3 \* f* U- e; v$ r. b  u
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    1 _3 ?  o+ t8 D$ `. [  {' `( N' e
  7. ; configuring many of the aspects of PHP's behavior.$ K- e* u/ H9 g3 g* B  E/ M
  8. " ], X8 y; d0 b' ^. \
  9. ; PHP attempts to find and load this configuration from a number of locations.
    % n" m3 s" X( ^; ~+ T
  10. ; The following is a summary of its search order:  ?, s/ V6 G8 m, X+ r
  11. ; 1. SAPI module specific location.3 X8 |: Z& M3 g$ W/ J
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)* Z. y. [4 R& ~0 U; x7 ~6 n5 \
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    6 e. I; k% Q, s7 U/ f6 u
  14. ; 4. Current working directory (except CLI), R9 Q( h7 t1 p9 \
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    - g: Z3 B; D1 j" a& z
  16. ; (otherwise in Windows)
    ) t5 o- H1 A1 _/ u4 L/ a9 g" F
  17. ; 6. The directory from the --with-config-file-path compile time option, or the& |2 y) o0 I: @+ l, ~
  18. ; Windows directory (C:\windows or C:\winnt)
    5 f  l: v% ^) F  W# {
  19. ; See the PHP docs for more specific information.5 @! G+ q9 M5 ?$ b
  20. ; http://php.net/configuration.file
    % s! D  ]; ^. }$ M, S1 }. ~' h
  21. & e, ]) F, s, ?, b9 f* `5 ]
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    * ^9 o% f% X* A  I
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).- i$ k; x0 O) V: Y0 o( i
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though/ U! e: B4 [+ F( s
  25. ; they might mean something in the future.
    . A% D2 ]" ^1 S4 `" n& A4 L- r2 c

  26. : x0 ?1 o. [3 h, X. a6 ^
  27. ; Directives following the section heading [PATH=/www/mysite] only8 ?" g4 q1 E$ A) R4 \8 w/ d- I
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ! o$ Z6 Y- i0 N4 ?  c# I
  29. ; following the section heading [HOST=www.example.com] only apply to+ v% l5 v8 ^( _
  30. ; PHP files served from www.example.com.  Directives set in these) T; ?$ n2 E4 Q$ Z+ z
  31. ; special sections cannot be overridden by user-defined INI files or' [& c2 G9 {7 n; a/ X
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    8 ]# e: p6 [# c+ @6 \
  33. ; CGI/FastCGI.
    0 L+ y* [$ O5 \! N, n5 l. i' Q
  34. ; http://php.net/ini.sections
    8 l, H2 j2 V% R; c, N, n4 S

  35. + Z( p& l5 m: `2 i/ `( r
  36. ; Directives are specified using the following syntax:( p4 |8 ^8 h+ [) ]! N) k0 v6 a9 z
  37. ; directive = value
      `5 Q: e; l& b2 f* N7 C& A
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.5 ~2 d* p9 {- p5 n5 k& Y1 g
  39. ; Directives are variables used to configure PHP or PHP extensions.
    : m0 b' \/ v# f
  40. ; There is no name validation.  If PHP can't find an expected
    # ?% M1 e) M: @
  41. ; directive because it is not set or is mistyped, a default value will be used.
    4 w, Q# I4 b  _- e  e% q9 Z- {
  42. , [4 M0 F$ u, q- l' Z1 K
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    # U8 ]: z5 \2 n( J% R
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression3 p$ ^5 }7 {% D6 X5 b
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    * i0 a& E: z5 ]- O% H5 {
  46. ; previously set variable or directive (e.g. ${foo})
    - D, ?6 ?* T; L% c  Y# ~: J. G

  47. / W3 t5 k4 k: F+ f& U* P
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    - x& c" ~4 k, s0 q4 C
  49. ; |  bitwise OR
    " a9 R  p+ Z1 j
  50. ; ^  bitwise XOR$ C6 y- L* z9 D& q1 r
  51. ; &  bitwise AND3 a  C* G) }4 b. d4 {. d
  52. ; ~  bitwise NOT
    0 e# O# O5 M1 Y9 Y' |
  53. ; !  boolean NOT
    $ z: [# E* R. |+ u! ?$ ]5 }
  54. ; P! P! ^) D- e
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.& f2 ~0 ~) ?; |
  56. ; They can be turned off using the values 0, Off, False or No.
    $ g, T. C  s& }6 ~, Q

  57. 0 W) e4 z$ R6 Z7 I
  58. ; An empty string can be denoted by simply not writing anything after the equal$ X# O0 A5 S& b' e) G' N" }; e
  59. ; sign, or by using the None keyword:# e; ^5 g: |. t; M6 N* E, t9 I4 Z

  60. 8 d! @8 F8 r$ {$ c
  61. ;  foo =         ; sets foo to an empty string' t9 u0 f9 o7 y4 q/ G
  62. ;  foo = None    ; sets foo to an empty string/ k& \( u3 b1 @: V' }% U2 y( X
  63. ;  foo = "None"  ; sets foo to the string 'None'
    / K2 C  P5 E1 }; s! s" C4 c
  64. * q$ O$ X( b% I
  65. ; If you use constants in your value, and these constants belong to a  v! ^# m5 C: S# P* d
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    / y6 ]9 K' w" M4 c8 R7 n
  67. ; you may only use these constants *after* the line that loads the extension.
    ( I* N7 s9 u( d* H

  68. 5 k! E/ ?1 {2 ^2 {* }
  69. ;;;;;;;;;;;;;;;;;;;- c" G* s3 s8 q; C: M! T% N
  70. ; About this file ;
    - d- _/ A8 i. F1 r' N  Y- r% d
  71. ;;;;;;;;;;;;;;;;;;;
    : x3 c! x8 x; R$ D0 W
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    % F# \% R2 [' j$ l9 \3 d5 k- L
  73. ; in production environments and one that is recommended to be used in, ]- P! ?0 H6 l3 l7 C2 g# a) ~
  74. ; development environments.3 m$ I4 H$ R7 w! e9 |$ h

  75. ! D: A; y* l; d* P5 A+ d
  76. ; php.ini-production contains settings which hold security, performance and+ x1 f1 ]* {5 g: `% x5 i1 R' S
  77. ; best practices at its core. But please be aware, these settings may break! O6 S) o0 w# t& u' M$ z5 t& B; o; ]0 j
  78. ; compatibility with older or less security conscience applications. We
    - T8 i  n; _* v7 y
  79. ; recommending using the production ini in production and testing environments.0 q3 L8 E8 F, M$ h- J/ M! R/ P! P3 Z

  80. ) J& u* V$ Z& M: W
  81. ; php.ini-development is very similar to its production variant, except it is1 K* R2 I. [( p/ s
  82. ; much more verbose when it comes to errors. We recommend using the6 A' p7 T5 b  g* Y* W0 F, h; }
  83. ; development version only in development environments, as errors shown to
    " p: M3 s+ Y- n+ v
  84. ; application users can inadvertently leak otherwise secure information.0 r1 r% v( f! M0 M0 v$ d$ u

  85. 8 D3 r3 [7 L) H; z' O4 T; Q! l, {
  86. ; This is php.ini-production INI file.: V% i7 j7 }, k

  87. 7 c2 _# Z/ @7 B" ?* ^8 Z. E
  88. ;;;;;;;;;;;;;;;;;;;3 `6 |% P1 h* T) j: {- o# G
  89. ; Quick Reference ;
      }& B5 Y1 u" y
  90. ;;;;;;;;;;;;;;;;;;;
    / f# o& U& }( x$ N' Z" W
  91. ; The following are all the settings which are different in either the production
    : N3 @7 ?9 g' l- x0 m: [! F
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    2 @" l: ^; \5 |& V- a; j9 F2 q9 V/ ~
  93. ; Please see the actual settings later in the document for more details as to why
    4 \. A& ?) s3 \* Q( {0 d
  94. ; we recommend these changes in PHP's behavior.
    ! u; V# u% y# z

  95. ( o  Q9 i% D9 p( s- H5 B. l3 q
  96. ; display_errors
    # q  R+ J1 q5 r# H7 l* D
  97. ;   Default Value: On5 Q2 X# M" l0 X8 a# z  E" ~/ q; o
  98. ;   Development Value: On
    $ p4 f- x& x6 V" j! `6 h( d4 z6 G
  99. ;   Production Value: Off) H  p4 f$ @$ D- d! }& D* c

  100. 3 Z3 v1 U9 `+ t  F: ~5 a! g& Y
  101. ; display_startup_errors9 r% i+ U( K0 p3 c7 I: X. H- B" P
  102. ;   Default Value: Off
    7 c# D6 @  {5 W# q( f
  103. ;   Development Value: On: G# }" a. C  y
  104. ;   Production Value: Off
    1 A- S, ^' c: I8 j( y. I
  105. . c0 G: X" M1 e3 B5 l& P
  106. ; error_reporting7 r! f( o6 Z2 p' S7 e
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    * A  s/ z: {( d( q1 C) j* {0 U
  108. ;   Development Value: E_ALL
    - M" W. }7 X& H! r) T* u. a2 j
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT% r: \2 O! R, p& M0 L/ m; Q
  110. 8 O4 x! Z7 K) R, `$ @" A3 T- ?4 Z9 k
  111. ; html_errors
    9 W# |1 c6 M# }$ l9 K
  112. ;   Default Value: On6 r9 Z: O9 s# k5 [/ }
  113. ;   Development Value: On: U2 c2 J9 B4 D
  114. ;   Production value: On
    : g+ a9 i+ Y  C* g* V

  115. # w1 P5 V+ F% v) M1 [" s6 p
  116. ; log_errors
    # u. }* L: {* ]% x- M
  117. ;   Default Value: Off3 ~4 ~6 Z, j+ U+ J3 }
  118. ;   Development Value: On9 D- |' \0 U5 r7 D6 b' H, {
  119. ;   Production Value: On" f3 M% o% x0 B; C8 @
  120. ! d% b5 u- O- V
  121. ; max_input_time
    0 [% q1 b  H. @
  122. ;   Default Value: -1 (Unlimited)
    8 T: _0 U' b) u5 K' w; E4 s
  123. ;   Development Value: 60 (60 seconds)
    9 J8 `3 m/ L2 j+ _- {) ]. k8 m
  124. ;   Production Value: 60 (60 seconds)  g7 t! I' H; d3 ^1 i
  125. * S- C8 Z' N0 Z1 `: ]
  126. ; output_buffering
    & O5 c' l7 y+ k# w5 t' r9 P
  127. ;   Default Value: Off
    / I7 G0 N4 ]' W, ^$ y+ x* F
  128. ;   Development Value: 4096# K% k& A" U& ^) H/ e/ o% R
  129. ;   Production Value: 4096- z# l# C: s5 }& l2 w0 F$ |
  130. 4 {+ W  m. [; z  Q" ~4 k! j  w; f5 h
  131. ; register_argc_argv- X) B& R9 y+ |, E: z
  132. ;   Default Value: On
    . E8 K5 g- {' f. u- p$ o# }
  133. ;   Development Value: Off$ Z, }( W  b5 w; {+ b8 R) h3 a
  134. ;   Production Value: Off  K. ]8 c  y4 w
  135. * Z! {  n/ F7 ^. w0 Z" m4 E% P
  136. ; request_order
    2 u0 o" F; V* k1 K+ q9 b
  137. ;   Default Value: None9 ~7 i' z  r! v) Y4 s. \' K
  138. ;   Development Value: "GP"' _9 B3 W6 W/ c$ Q
  139. ;   Production Value: "GP"4 h4 d# q! X( P

  140. 6 G% L- [1 `/ w
  141. ; session.gc_divisor) V0 H4 X. D2 p# m% P
  142. ;   Default Value: 100
    8 n/ p5 E2 J4 v0 q; ?
  143. ;   Development Value: 1000+ o0 a' B4 {/ j! P' ^
  144. ;   Production Value: 1000$ |8 @7 r5 `# r+ f5 r/ q' M8 j: b& Y  y
  145. # W& z- R5 z& ~0 x6 i( K
  146. ; session.hash_bits_per_character" R+ M& P. S3 X
  147. ;   Default Value: 4! m# g$ M+ L+ W! X
  148. ;   Development Value: 5. ?" `  r  f6 Z# E, _: |: y! p
  149. ;   Production Value: 5: R  d" Y9 {. d

  150. ' S5 V! p. K8 v$ ?7 j" |( H
  151. ; short_open_tag
    5 D8 V. q, c/ a
  152. ;   Default Value: On* O( I0 W  D( V
  153. ;   Development Value: Off
    3 {& S  Q0 x% T! m. v/ l
  154. ;   Production Value: Off
    8 q' s& t4 P6 w$ ^/ R
  155. & H; k) U0 d% ?* i+ s7 B: \
  156. ; track_errors
    1 N# C2 o. w. W& b1 S6 u+ J3 O
  157. ;   Default Value: Off
    ' a/ U& y" f, `( U! r7 L  ~
  158. ;   Development Value: On
    " u9 p7 x* O( U7 n8 k' n
  159. ;   Production Value: Off5 W. [; o& }! u; q0 K% n
  160. ' L1 w. Q7 Z3 }& C
  161. ; url_rewriter.tags3 _- l+ L3 w, Y
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="3 d; ?2 M& B) X3 Z; k, {7 d
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . U  a7 C& R0 v! u) F, g" N! X
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry", [! x% _. j8 Y0 U) y3 E8 v
  165. : E5 r2 ~/ W9 m
  166. ; variables_order7 l( b# X' `5 B  o% G" g, {' E8 `: {+ j
  167. ;   Default Value: "EGPCS"
    + A: t7 `, p& j* G  K+ j
  168. ;   Development Value: "GPCS". @8 M" {$ a$ Z* `; U' J; ]
  169. ;   Production Value: "GPCS"' L# h# l  U3 u/ E

  170. 2 A7 ~8 f: U) O
  171. ;;;;;;;;;;;;;;;;;;;;
    1 I% O3 q) c$ [; F* c* y
  172. ; php.ini Options  ;
    3 L# l! R7 a6 Y1 e
  173. ;;;;;;;;;;;;;;;;;;;;
    & X) g& s5 ?5 w" t0 d- Z
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ' ^+ g/ h5 K# l9 T0 S8 M
  175. ;user_ini.filename = ".user.ini"2 `& \3 }, U8 p# Z
  176. + D# U! \* Q7 u" O! I% k
  177. ; To disable this feature set this option to empty value
    ; G7 r& C6 `* U- S# K+ A9 b
  178. ;user_ini.filename =  X) e- _$ Q3 O, S1 w7 H

  179. & ]7 V! d" }) D% N/ \, P2 l
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    0 i8 z9 e5 n- |' {5 {  r
  181. ;user_ini.cache_ttl = 3001 `8 J6 A/ ^+ C* W

  182. 0 Q5 p! M* u8 A- O2 [( v  U
  183. ;;;;;;;;;;;;;;;;;;;;/ ]" v' R* i$ G5 U" J6 f
  184. ; Language Options ;
    ( b2 d' K  v0 F7 ?6 ^. h/ M" G
  185. ;;;;;;;;;;;;;;;;;;;;
    9 Q% w9 D& k/ I' L! x/ G' ?

  186. 9 X4 C& X9 Y4 j: @; q5 H
  187. ; Enable the PHP scripting language engine under Apache.
      R6 R. o2 S. ?# [9 i6 F
  188. ; http://php.net/engine
    & h5 y/ d; f4 C9 Q
  189. engine = On" w6 B7 e7 k# o  t

  190. $ Y- o5 l4 M8 P& K4 ?6 l0 u
  191. ; This directive determines whether or not PHP will recognize code between1 q( U% Q5 M5 l9 D8 w
  192. ; <? and ?> tags as PHP source which should be processed as such. It is9 F4 N, p' K, D. L+ q
  193. ; generally recommended that <?php and ?> should be used and that this feature5 w+ Q, P. P& _$ ^) i
  194. ; should be disabled, as enabling it may result in issues when generating XML4 y+ {% z) O) A) i2 E: X, W: I
  195. ; documents, however this remains supported for backward compatibility reasons.
    * M8 b: f8 a  M4 r
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
      z5 p: f  K% \' u! c
  197. ; used regardless of this directive.* `( J! d" J7 K) N! G) Y
  198. ; Default Value: On: C# {& T+ {& n0 R
  199. ; Development Value: Off
    ' c  A2 C0 \# m; F0 n6 F8 |2 f' N
  200. ; Production Value: Off/ O  Z0 w* J# t2 U: u7 o
  201. ; http://php.net/short-open-tag0 z7 V6 Z7 m, r' q6 }& r3 T3 z
  202. short_open_tag = On2 {5 g% F' B& X- ^* T! I) d  q

  203. + p$ \, B# u, L- |
  204. ; Allow ASP-style <% %> tags.8 c. p8 d: N2 x* o6 U) K
  205. ; http://php.net/asp-tags1 R2 c9 r  p- i
  206. asp_tags = Off
    , n( o+ H, R& I1 a% W8 r

  207. % `# t$ p. v, H! t% r
  208. ; The number of significant digits displayed in floating point numbers.
    + J  C; x# b# }6 A! l; V; z7 Z
  209. ; http://php.net/precision
    / I. z+ @$ {# T& i, M) s
  210. precision = 14$ {( P% r& L: f% I9 h, _
  211. # t1 H) |: Z' r6 r, O
  212. ; Output buffering is a mechanism for controlling how much output data
    8 H- [( T+ x( {/ w1 ~- K9 n
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that/ G" D% ~3 b; l( `
  214. ; data to the client. If your application's output exceeds this setting, PHP% }$ A8 m: y; ^  j; y* X0 a' T
  215. ; will send that data in chunks of roughly the size you specify.5 r: P6 Y& s1 {1 m+ H. v0 r* k  H' `
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    6 L( B. x/ v9 T2 Q0 G; E) P
  217. ; interesting side-effects depending on your application and web server.  f7 E! D9 o6 ?  w3 }+ g' Y
  218. ; You may be able to send headers and cookies after you've already sent output
    : |; d& H0 j- ], v) f  C
  219. ; through print or echo. You also may see performance benefits if your server is1 J/ x5 S  u6 P+ R" {1 V
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    1 V% U; x! C$ W+ ?
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    9 W  K( R2 b8 P7 F0 b/ x* {3 g4 W
  222. ; reasons.
      \3 B& _3 h, R* ?: k+ t6 d
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    5 U2 \2 o. \# [) |* O1 c
  224. ;   functions.- P# M2 T2 S9 I
  225. ; Possible Values:; [. a" R3 c5 i* @0 x$ X' G
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)+ d7 }8 f+ Y" W0 H
  227. ;   Off = Disabled7 F* O7 z' B8 C# A
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.% z( Q- i8 A7 V. M
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI* [2 d& d1 Z; h; d& a
  230. ; Default Value: Off9 `4 S# F8 \: p
  231. ; Development Value: 4096
    3 p: g* V  O" ]* a
  232. ; Production Value: 4096
    6 G% L* u9 x$ L% z6 H! _" |7 R
  233. ; http://php.net/output-buffering
    2 o: T# i9 e8 O/ p* |; Z
  234. output_buffering = 4096
      C! K2 s( ?0 e8 j) z- S& _

  235. 1 c9 L" r, h4 H5 _. A5 ?# ]
  236. ; You can redirect all of the output of your scripts to a function.  For& U3 Q' ^7 ]7 t$ m9 w+ I6 P
  237. ; example, if you set output_handler to "mb_output_handler", character
    1 I- \3 q- J5 d/ s! o) w/ ?
  238. ; encoding will be transparently converted to the specified encoding.# K- {8 i- `/ M' m* }, n2 N5 n/ Z
  239. ; Setting any output handler automatically turns on output buffering.
    $ D6 a; }: W" n' |8 c- n; ~
  240. ; Note: People who wrote portable scripts should not depend on this ini- j7 I9 N& Q  U' z. G& z' a
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    1 U+ `+ j# o* w+ ?% Z* C+ O
  242. ;   Using this ini directive may cause problems unless you know what script2 B4 L  d% k5 |; Q/ D
  243. ;   is doing.7 x' u1 V: B8 ^
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ' P- Z& n! [* l
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".  Z, G% n+ r6 Z9 E' L4 M. Q6 D
  246. ; Note: output_handler must be empty if this is set 'On' !!!!' d2 t# u# R  i( F, \
  247. ;   Instead you must use zlib.output_handler.
    / _# r# d" c8 Q+ u; \8 o
  248. ; http://php.net/output-handler
    / E- D6 s" M6 y  a/ T+ I8 M4 e/ L
  249. ;output_handler =" |% O. C, ~: a! d
  250. / ^0 s- Y2 E6 G  _' J5 C' e- P
  251. ; Transparent output compression using the zlib library; w( S: }& Z0 `
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ( v2 X& D% Z- i8 r
  253. ; to be used for compression (default is 4KB), J# o( j& V. z. K) Z" A2 m
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP  u, H! _' K! p! _& z4 d, |. H
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    $ A$ N: h3 B7 H/ D
  256. ;   compression. If you prefer a larger chunk size for better
    " ?1 Y3 R6 u8 F) e
  257. ;   performance, enable output_buffering in addition.- ~+ J0 h9 L6 f4 ~. `
  258. ; Note: You need to use zlib.output_handler instead of the standard  t  Y) B# ^* P( B
  259. ;   output_handler, or otherwise the output will be corrupted.4 x0 T+ y) M, [+ J; Z& c
  260. ; http://php.net/zlib.output-compression
    6 {1 @$ ?2 `2 Q& w
  261. zlib.output_compression = Off$ N) i; h+ X: U4 {5 }8 I! z

  262. + {3 n$ b2 H0 D
  263. ; http://php.net/zlib.output-compression-level8 Z3 S6 f" f  H5 T0 [2 l+ D
  264. ;zlib.output_compression_level = -1) E6 ]3 i& r' {2 X% p4 B; A
  265. % I0 F, k: [) w- U9 _! S$ P6 L
  266. ; You cannot specify additional output handlers if zlib.output_compression
    5 u& C2 _& x; O
  267. ; is activated here. This setting does the same as output_handler but in
    $ c1 T( P% ]6 r1 f7 r! ~
  268. ; a different order.5 A; x2 X) {9 t+ F) o; ~# P. z- ^
  269. ; http://php.net/zlib.output-handler
    % {+ l) f6 S+ ]7 g# G* s. E
  270. ;zlib.output_handler =
    . F5 r" ?5 `1 c, Z5 D2 _8 G
  271. ' m5 e: f& j* t7 b9 n4 Z7 x
  272. ; Implicit flush tells PHP to tell the output layer to flush itself% S! [" x3 _4 s  F/ R
  273. ; automatically after every output block.  This is equivalent to calling the
    ! s$ C5 f" W& Y9 R
  274. ; PHP function flush() after each and every call to print() or echo() and each
    7 b- e) e! h# U4 H! s
  275. ; and every HTML block.  Turning this option on has serious performance
    ( z, y* @3 }8 s$ U( L! J9 u
  276. ; implications and is generally recommended for debugging purposes only.
    & A! v2 R" ~: o( R
  277. ; http://php.net/implicit-flush
    # w+ }, Q* \0 q: }% }9 E
  278. ; Note: This directive is hardcoded to On for the CLI SAPI1 ?+ D- S. X2 \! L
  279. implicit_flush = Off
    1 e. c: @5 N: b+ J* ~

  280. 6 r8 P2 C. e* M1 s
  281. ; The unserialize callback function will be called (with the undefined class'9 y+ ]: c! \5 b+ y' P9 e* ]
  282. ; name as parameter), if the unserializer finds an undefined class
    0 X6 {; h7 v  j- `1 \* _3 Y2 Y
  283. ; which should be instantiated. A warning appears if the specified function is
    ( `& @3 N) C: W7 A: }- _0 Q: t
  284. ; not defined, or if the function doesn't include/implement the missing class.2 E1 j5 _" N" A1 u) n
  285. ; So only set this entry, if you really want to implement such a
    3 R) R5 o! X/ [0 B
  286. ; callback-function.' R1 z3 E( e# w0 k# o  T1 |  ]
  287. unserialize_callback_func =7 Y7 V9 d' y) O+ X' H; U& C
  288. 2 z. ]9 z2 A; m9 T
  289. ; When floats & doubles are serialized store serialize_precision significant  r& i" N! A( I; v
  290. ; digits after the floating point. The default value ensures that when floats8 J$ }* U6 S) x$ n
  291. ; are decoded with unserialize, the data will remain the same.
    6 E/ ?% p) e* `+ O1 F6 L
  292. serialize_precision = 17( J* Q6 l6 T  s  t( [* k3 k4 d: ?. J

  293. ( t) z% }1 V- _
  294. ; open_basedir, if set, limits all file operations to the defined directory
    # U) j" O, ]* t. F2 ~5 o
  295. ; and below.  This directive makes most sense if used in a per-directory& V, Y( @- Q4 C: V! D. s  M3 c
  296. ; or per-virtualhost web server configuration file.; Y4 x4 @6 H9 f  g6 N0 E
  297. ; http://php.net/open-basedir* u) S# y- k4 a' O% V8 {+ _
  298. ;open_basedir =
    7 M& F, q: H+ F3 @
  299. ; ?! S% C1 |4 j, ?- f& P2 H0 v* ^
  300. ; This directive allows you to disable certain functions for security reasons.2 q5 N7 J- r0 ^) Z
  301. ; It receives a comma-delimited list of function names.
    9 R6 Y1 H  q. o& Z
  302. ; http://php.net/disable-functions$ j6 }) p7 g- G& o
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    1 ?8 q+ I" |- `& B2 X  y. b) Z+ o: J
  304. 9 S4 t+ j' y! ^9 {8 y
  305. ; This directive allows you to disable certain classes for security reasons.' H8 z: X  U' d% X: w2 S) X: m" s
  306. ; It receives a comma-delimited list of class names.
    / y% E" h3 x$ {! Z9 L
  307. ; http://php.net/disable-classes, g7 P. r! |& X! z2 J
  308. disable_classes =' u5 P0 r; u) l: m) p

  309. 7 J6 ^, B( I9 J2 F9 z
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    : @" @; K) y9 i. b% n$ h; c
  311. ; <span style="color: ???????"> would work.) i" W  |% S2 M4 N( y2 P% Q/ e
  312. ; http://php.net/syntax-highlighting; V8 l( A. K6 |
  313. ;highlight.string  = #DD0000
    & v$ z0 d( m# Y+ k
  314. ;highlight.comment = #FF9900% o9 v  `5 Z+ t- U
  315. ;highlight.keyword = #007700
    . l# b" P) b0 b) l% S5 q
  316. ;highlight.default = #0000BB
    ! d- ~( g8 z! @5 T, |& Q' p
  317. ;highlight.html    = #000000
    # o8 i7 b/ e4 i2 A, p

  318. ! ^6 K4 P! I/ Y( Z7 X1 ?/ {* C
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    / y- N8 l# O' u& d# H: e1 X- ^
  320. ; the request. Consider enabling it if executing long requests, which may end up9 }. p2 Z6 \' n; O" ]) q1 \; C
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior7 g. ^- C. `% _) U# j' }
  322. ; is to disable this feature.. j6 O) d0 |. q
  323. ; http://php.net/ignore-user-abort7 |1 e- f0 J* U  C6 }3 q
  324. ;ignore_user_abort = On. \$ q, v3 _* x  U: M# q

  325. 4 ]( c" {# i, ]. y. k
  326. ; Determines the size of the realpath cache to be used by PHP. This value should+ f$ G$ `8 j  W5 j
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    ! g, p/ f" v& R4 G/ x
  328. ; the file operations performed.
    ' Q, a  ]# E5 a7 s) m7 v( i
  329. ; http://php.net/realpath-cache-size" V3 ]; z6 Q/ B/ s  L- y
  330. ;realpath_cache_size = 16k
    0 O3 Y1 s* G9 Y
  331. 6 ?$ F- Y  N, e3 X$ E6 d9 z# W
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    # a7 A( m! q+ C; E
  333. ; file or directory. For systems with rarely changing files, consider increasing this5 l1 d2 U! P0 Z6 m0 m. B
  334. ; value.
    7 c" ~! `/ U1 p# J/ H  h
  335. ; http://php.net/realpath-cache-ttl
    $ R- `2 p% t5 L+ v2 G; b! F
  336. ;realpath_cache_ttl = 1202 K; g* E5 o  A6 k- _' _

  337. . D/ a" _, D$ |2 K
  338. ; Enables or disables the circular reference collector.# {) r! k2 B  V9 p. P; p5 i
  339. ; http://php.net/zend.enable-gc' k+ F) O$ [$ y1 q
  340. zend.enable_gc = On
    9 w! a4 J8 H2 r! f7 @
  341. - l) E8 R' X5 _
  342. ; If enabled, scripts may be written in encodings that are incompatible with& g7 u6 \9 ?0 J, F
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such+ X) ^0 b. F+ n. Q/ }9 b/ |) D$ G
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    6 H  S1 r' J  E
  345. ; Default: Off1 y* n; N8 j& @- r
  346. ;zend.multibyte = Off
    7 z4 W; Q8 N( N6 b. k; d% n

  347. 1 D2 m- t+ i# B$ {
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    3 B7 }  k9 G/ q( A* g
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.+ G/ W4 i, r- Z* C2 l' I3 ]
  350. ; Only affects if zend.multibyte is set.
    + a! }0 C$ @, O( t" j
  351. ; Default: ""4 z9 p, u- \  |- x' a* Z" s; N6 p  a
  352. ;zend.script_encoding =3 \, p7 D5 s' Y( {# B
  353. ; m* \9 l# l) \8 N5 E! U( z2 l
  354. ;;;;;;;;;;;;;;;;;
    $ ]9 V  Y, I  ^) c1 a. Q- ]5 K4 c
  355. ; Miscellaneous ;
    5 L2 ]& W! ~7 i/ B% k. T
  356. ;;;;;;;;;;;;;;;;;
    ) y" k* Q( y0 A

  357. # P2 |0 D8 O# p' f* O3 d
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    5 D7 _1 w+ H2 v8 |
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
      R  x' ~9 {  [3 T: M0 c
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    . z& b2 j0 D' m( c1 I6 ~5 c
  361. ; on your server or not.  l7 i9 j2 e" y! h
  362. ; http://php.net/expose-php
    + d* z0 }9 x/ d. j/ d& p, s
  363. expose_php = On7 o- ?. r- m' n1 T5 S6 z; ^
  364. 2 a3 v5 N0 q' x% ^- p
  365. ;;;;;;;;;;;;;;;;;;;
    0 d; x  D. f8 ~6 x% ^# I, v- N
  366. ; Resource Limits ;7 A6 d. L1 l: |' K" p/ G+ h
  367. ;;;;;;;;;;;;;;;;;;;
    0 ~; c1 R4 P  C; ?. z, {( b3 |
  368. * a- Y* ]% J4 [* U' e0 c
  369. ; Maximum execution time of each script, in seconds
    , p/ z9 @# v! R
  370. ; http://php.net/max-execution-time
    5 |/ |1 h0 [$ a9 f
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    8 R& o% Y! r+ Q& H0 K1 N' G$ {
  372. max_execution_time = 300
    ) X5 p/ Y  _( N/ _
  373. 6 {5 |( L, y9 F* ?" w( i8 _
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    & h0 n4 f$ W& v8 C2 ]; |
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    & H/ U) Y9 T- o- {5 f" a
  376. ; long running scripts.7 |# G2 e+ ?! L3 ?+ p
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI0 r2 y; g# e8 }3 F7 S
  378. ; Default Value: -1 (Unlimited)- Z! y8 _4 H( G6 v
  379. ; Development Value: 60 (60 seconds)3 m; O8 O/ K+ w" ^8 r, w0 ^' X/ \
  380. ; Production Value: 60 (60 seconds)
      P. L2 x6 O* V6 l# n# C
  381. ; http://php.net/max-input-time
    ( V! J" @% x" s( `2 v3 M, @
  382. max_input_time = 60
    ) b5 @; c" f4 H$ _  w! _
  383. ) ~$ j9 n4 ]+ a+ d5 h% b: c
  384. ; Maximum input variable nesting level
    - B0 V1 ^; d; ?
  385. ; http://php.net/max-input-nesting-level
    - b. \" \7 {$ c) z
  386. ;max_input_nesting_level = 64
    " k9 j0 ^% c$ r# q6 y" w' s1 K* B) `
  387. " c+ `$ z$ t6 B4 ~% I* U
  388. ; How many GET/POST/COOKIE input variables may be accepted
    $ U5 t1 M! o4 t6 ]1 ~/ a) D* d
  389. ; max_input_vars = 10007 {1 q  u( o8 ?% k; F
  390. / ]5 ?- @# l. l
  391. ; Maximum amount of memory a script may consume (128MB)0 y) Y1 j4 b( V# Y
  392. ; http://php.net/memory-limit% l1 S, ^& o! s7 @! b7 L: Z
  393. memory_limit = 128M$ ^* Q3 Z4 W3 g" P$ f! n

  394. " a4 ~1 Z9 L, F) f6 W2 o2 G
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7 O4 ]& H/ K% M* ^7 R
  396. ; Error handling and logging ;/ r8 R% g& u; ]
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;, o$ Z- g6 I* i9 W
  398. 1 e+ V5 I% h9 w" t0 W
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    ( ~! Y. q% K. k( }3 a! v# I9 J/ z
  400. ; it to take action for. The recommended way of setting values for this' s* c1 q! L+ w+ H- {
  401. ; directive is through the use of the error level constants and bitwise
    : S+ Q7 I# v2 E9 w
  402. ; operators. The error level constants are below here for convenience as well as
    + M1 a! C& M0 y6 B" c( x
  403. ; some common settings and their meanings.
    8 [3 s9 S3 Y- |  I3 F2 S
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT% D+ ?/ r0 U0 L0 B- K
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and2 V2 `" F  |; s) Y; a9 E
  406. ; recommended coding standards in PHP. For performance reasons, this is the6 |! h7 G& C/ U8 B. S, u  Z0 S
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ( }4 Z9 g1 \/ R* j
  408. ; resources complaining about best practices and coding standards. That's what
    4 z/ k! r4 \. e# w  Z+ a
  409. ; development servers and development settings are for.
    ! b& \! i- ?* K) L% u: b
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    + x" V$ r' T  y1 ~& [4 s7 T
  411. ; means it pretty much reports everything which is exactly what you want during
    6 q" k6 b1 ]+ L4 |
  412. ; development and early testing.
    & W( W, S4 m# s- a: y8 X6 s( G
  413. ;3 ^9 Y# M( j( ]2 z
  414. ; Error Level Constants:
    % {+ u- j0 l, m+ r# }5 P- a* M0 s
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)3 }% t" {' S8 e9 a1 V
  416. ; E_ERROR           - fatal run-time errors4 l4 w, B) T( O: \, ?
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors- R1 ~& d7 _8 H( h0 _; C  x
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    / g0 j" d! _- W+ |! z7 R1 C# o
  419. ; E_PARSE           - compile-time parse errors
    , s# o: [; K5 d4 N; D/ a: _
  420. ; E_NOTICE          - run-time notices (these are warnings which often result) Q* Z2 l8 C9 d& ?) z
  421. ;                     from a bug in your code, but it's possible that it was
    9 Z; J1 F% j$ F
  422. ;                     intentional (e.g., using an uninitialized variable and* S0 [: n. d7 r0 N6 n5 s2 J
  423. ;                     relying on the fact it is automatically initialized to an6 C2 L# t: L- d% Y- Q, ^
  424. ;                     empty string)
    2 i& z6 J4 i; R
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    - ?7 Z6 H+ r# _# U3 a* P' i
  426. ;                     to your code which will ensure the best interoperability0 Q& c9 A+ q& H. ?5 D; A# X
  427. ;                     and forward compatibility of your code6 _  X6 b& n: v  O9 Q/ k' V8 t7 k' l
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup" p0 n% w: u* I  n0 \$ m2 t: @. z, d
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's" _  n8 T+ t( `# h) |6 @' ?
  430. ;                     initial startup9 L4 F6 P5 ^1 a  G
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    " N  \/ A9 n, x% t0 y- ]) l
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)0 {& l, N& D$ D/ U' g9 M2 W
  433. ; E_USER_ERROR      - user-generated error message# f9 Q; [( ?- e# w
  434. ; E_USER_WARNING    - user-generated warning message
    ) G8 c8 r  h/ o) O2 Y% R
  435. ; E_USER_NOTICE     - user-generated notice message; L" j/ C5 k2 |, N. Q! G. w  V
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    9 n. ?5 |' s6 w7 I
  437. ;                     of PHP
    & J0 g6 Z5 L1 m% }/ ^/ L1 J
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    * v7 V4 I3 O# j; V6 ~
  439. ;
    $ p7 t5 Q9 @0 Z6 q  ~  F% W
  440. ; Common Values:6 g* G" @4 m7 L- x: j
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    - U7 W8 i/ _6 U; V5 @, D; Z6 q2 L
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    2 U$ {' ~0 n( ~: ?- q) {0 A6 m0 @
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    $ |" j, {0 E& [1 H" h) c% o. q
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)$ x9 b# z+ n+ `
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    " y2 _4 d9 M* T) _5 Q0 X. Q0 w
  446. ; Development Value: E_ALL
    : B. @3 B! p- s7 X1 v8 D
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT( y/ ?: L. y- T
  448. ; http://php.net/error-reporting
    / T3 T/ z1 a& m: ^
  449. error_reporting = E_ALL & ~E_NOTICE0 V: w# j% @% ?' ~9 N+ K2 j
  450. $ a" b7 Z& N$ v  @: x% \) ^+ F" h
  451. ; This directive controls whether or not and where PHP will output errors,: Y' O% A2 O. x5 H, s" J
  452. ; notices and warnings too. Error output is very useful during development, but  f6 L! M; a& B: T& c
  453. ; it could be very dangerous in production environments. Depending on the code4 n7 ]- \  t( o. W% s, B
  454. ; which is triggering the error, sensitive information could potentially leak8 N& `- F; l5 F
  455. ; out of your application such as database usernames and passwords or worse.
    0 [: ^$ t6 W' R4 b7 {
  456. ; For production environments, we recommend logging errors rather than
    & v" u, i9 ]! Y9 c
  457. ; sending them to STDOUT.
    $ d8 r# d; S; f
  458. ; Possible Values:
    1 R& m3 B0 ?: J% @2 Q% S
  459. ;   Off = Do not display any errors
    , _. d1 t' b( z# Q7 o# p) [
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    + @% T/ M7 J5 U+ Z
  461. ;   On or stdout = Display errors to STDOUT
    . @; u% d4 `9 A; B* H$ N$ N/ |) a
  462. ; Default Value: On
    * t# J& O% m6 l5 @" c# L8 g
  463. ; Development Value: On" \5 P9 Q( b7 f  H+ U+ n4 n0 U
  464. ; Production Value: Off% i- I- q" D. M% n4 G
  465. ; http://php.net/display-errors
    5 N0 g  S! q  M. p" e  ]3 E
  466. display_errors = On
    $ u' e, Y( l, i2 F

  467. 7 h7 o- B* m) P' m; u2 Z  E
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ' S' \( @# Q- j2 m- b  Z* U! H( P7 s
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    6 R$ \# ?' ]2 e5 D* M
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    5 B, h; O0 n% _/ e* i
  471. ; debugging configuration problems. We strongly recommend you0 J/ l0 N) v6 `& R
  472. ; set this to 'off' for production servers., \# K( x$ |7 X$ A" {2 S/ d1 w
  473. ; Default Value: Off
    ( o+ [3 R2 K9 G$ Q3 y0 d* E
  474. ; Development Value: On1 {( J2 @% ]/ R) B. I5 s9 `
  475. ; Production Value: Off; y+ q% o. O- ]1 x+ Y; W
  476. ; http://php.net/display-startup-errors
    # Y( \9 r, `) q: s0 q
  477. display_startup_errors = Off# [8 q+ R; b: @9 [/ p

  478. 1 G' L* `4 w' K  J+ b- r
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    . a; H8 x' k4 @- M$ V: G
  480. ; server-specific log, STDERR, or a location specified by the error_log
    ' h/ B- [$ S" A+ t/ Y) n3 r
  481. ; directive found below. While errors should not be displayed on productions
    1 b/ Z$ a: n* p) ]1 Z
  482. ; servers they should still be monitored and logging is a great way to do that.
    ) n1 C9 C2 M0 h+ W/ G3 p! ?. e
  483. ; Default Value: Off
    / @7 ]% j7 W" h( U. z* B: a( Z
  484. ; Development Value: On4 @9 S9 e" t( S& O* x
  485. ; Production Value: On
    3 m( q7 ^/ y  o, K' M# S: {
  486. ; http://php.net/log-errors; C. u9 k: u( v6 Q, U7 |
  487. log_errors = On1 f, @8 x! D% f& G6 q. `& m

  488. 2 w# g8 b$ J8 F0 \9 W) z
  489. ; Set maximum length of log_errors. In error_log information about the source is
    7 m: R2 F& k2 M( Y. ?/ |! v0 x( e4 c
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all." S  l$ g6 m9 a/ a. L. I
  491. ; http://php.net/log-errors-max-len+ {0 U$ j9 b3 u6 u# y/ X% C
  492. log_errors_max_len = 1024
    % p( g. B+ h, \

  493. - Y; J$ C9 P& v% k+ }
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same; u1 y. D% E) I$ g0 w- A9 e
  495. ; line unless ignore_repeated_source is set true.
    0 X; a3 ^  K) v7 b: U9 h6 ~
  496. ; http://php.net/ignore-repeated-errors
    9 @. }1 I0 ^7 w
  497. ignore_repeated_errors = Off& d# L  K' x( ~$ {% X; [/ u, X
  498. 4 ?5 K9 v4 f% n9 l- z) @! Q
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    6 @9 @; n# A5 P, J9 Q; @. p& Y9 u
  500. ; is On you will not log errors with repeated messages from different files or7 W6 W6 ?$ k' p4 c
  501. ; source lines.
    & |1 T! i+ \' Q2 }, E+ A$ F% q# y
  502. ; http://php.net/ignore-repeated-source
    4 w5 I9 t2 O3 q/ Z  I; ?( O
  503. ignore_repeated_source = Off
    3 I* J/ s3 w' p9 p* G

  504. 4 C/ W9 N$ Q: Z+ i, G( {
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on6 t- i3 c5 Q. G% k; K5 h- v- x
  506. ; stdout or in the log). This has only effect in a debug compile, and if; c8 Y3 d0 f2 [- W! F
  507. ; error reporting includes E_WARNING in the allowed list3 V- m$ J/ ?# p" g; i
  508. ; http://php.net/report-memleaks. r. S  Q# W  ?+ Y7 T
  509. report_memleaks = On
    + }4 h* C1 R7 R
  510.   }! z* `3 A1 R3 j( f9 D* y* V
  511. ; This setting is on by default./ B9 T- l: G" m1 d3 J1 k! M& W
  512. ;report_zend_debug = 0
    ) a% K2 m( [6 ]+ X
  513. 7 N. y3 ], k. f# \9 G3 Y  g
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value; o5 L) r% p( |
  515. ; to On can assist in debugging and is appropriate for development servers. It should6 [, h9 J$ q# p* ]8 G
  516. ; however be disabled on production servers.
    * E* `. e6 G( K& {/ J
  517. ; Default Value: Off
    ! T. V2 _5 y& ~: o6 N$ \  N
  518. ; Development Value: On
    2 q! ^1 M& U% [  K' G; \( `
  519. ; Production Value: Off
    / C' b& m& }  e* K3 D5 b' f9 p
  520. ; http://php.net/track-errors2 W4 h6 R( ^7 E4 h
  521. track_errors = Off8 p: ?" a2 Y  f3 S7 H! c
  522. ' v' C8 K' h7 i$ y  q2 i" ^
  523. ; Turn off normal error reporting and emit XML-RPC error XML3 ]. ~4 N+ p8 h- @" F0 W) f
  524. ; http://php.net/xmlrpc-errors. U/ e/ G  T2 e+ N" j
  525. ;xmlrpc_errors = 0  `; D4 q- `' s3 z4 J5 ~: G

  526. * A2 O) \5 s# X8 E/ O6 |
  527. ; An XML-RPC faultCode
    4 G+ d3 W6 N' [' E' S
  528. ;xmlrpc_error_number = 0
    6 l8 p+ `! ?" }! z: G7 V  o0 N& q

  529. 3 @! ?3 e& B' z$ s  b/ H9 j+ J
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    " \" C$ D' i2 I. q: J& l
  531. ; error message as HTML for easier reading. This directive controls whether  r) g' F1 u  |* M
  532. ; the error message is formatted as HTML or not.
    # T' }. y9 w4 _9 T: S1 n  J
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    6 J7 O; g* Z* n9 v8 s2 G+ ^$ w
  534. ; Default Value: On
    ; g' H2 @1 V9 k) m9 {6 x( P1 s
  535. ; Development Value: On# Y( G6 B! s7 M' J
  536. ; Production value: On* T0 O# `# V3 U/ y1 q& @. _& w
  537. ; http://php.net/html-errors
    8 r3 d' l" D3 Z# g. v- M9 Y2 {  m
  538. html_errors = On
    ' l; _0 S8 d* L1 e0 r  Q! ?
  539. $ j: ]) f6 [: w# I1 U3 _) G
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    8 A7 Y; N6 Y* L  b1 m* u
  541. ; produces clickable error messages that direct to a page describing the error
    ( {, Z# L$ l& ?( u6 |/ |) T
  542. ; or function causing the error in detail.
    7 N8 {- V( K6 r* W8 }6 K1 T
  543. ; You can download a copy of the PHP manual from http://php.net/docs2 _$ y* K  G/ |- e1 {! r
  544. ; and change docref_root to the base URL of your local copy including the
    ) n! S& q* {+ ~7 q0 b- @2 N2 C
  545. ; leading '/'. You must also specify the file extension being used including
    ' H) ~+ [0 x. U
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which5 q( L8 `! k% ?2 `' ^; s8 f7 L
  547. ; case no links to documentation are generated.7 N% |% S* X2 ?/ a  H- d
  548. ; Note: Never use this feature for production boxes.  {9 P2 o+ x, N: |. t1 y0 p
  549. ; http://php.net/docref-root4 _3 W7 U# A$ I( R
  550. ; Examples
    ' d0 l, K7 T- L) j, J
  551. ;docref_root = "/phpmanual/"; H3 q* X$ d9 k( q: n% b" n; J  ^

  552. ' F* t( k" s: [) p% [- H1 q
  553. ; http://php.net/docref-ext+ O' ^7 M+ a: V, k
  554. ;docref_ext = .html0 |0 Y' B9 Z- c" x! C3 G
  555. 3 o3 C# j& [; q, s4 v. z" R" q
  556. ; String to output before an error message. PHP's default behavior is to leave
    / {$ h2 y7 `7 ]) @
  557. ; this setting blank./ Q. {7 Z" j& j. g% b6 x3 }* D
  558. ; http://php.net/error-prepend-string# z4 E5 ~& y! S- o$ u# w
  559. ; Example:. R$ E4 {" A3 r( |% {+ W
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    . V' X9 c3 S+ f7 j+ \* R
  561. 6 V6 }/ H3 C. ~9 u) y2 H; W
  562. ; String to output after an error message. PHP's default behavior is to leave  \2 ~; A- J- W) }. I- t
  563. ; this setting blank.' a% l* s/ {) \# e
  564. ; http://php.net/error-append-string9 X$ `9 ~3 A$ |$ e; b+ Q" w  H# x. I3 Q. d
  565. ; Example:+ A4 h) |6 D/ ]
  566. ;error_append_string = "</span>"3 k% N- S# ?6 G, W

  567. : D& }$ O( `% Y8 ~+ q' [! ~
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    1 U* Q9 D: E! R! R
  569. ; empty.
    * {7 Y8 o: B, x$ E1 u
  570. ; http://php.net/error-log
    ' I0 c; X1 L: {/ T/ P% Y4 a
  571. ; Example:5 O. Q0 l  O; e: O
  572. ;error_log = php_errors.log6 x! X& ?! z+ x2 |8 U# F8 [
  573. ; Log errors to syslog (Event Log on Windows).
    ! N% B" V" C4 f" l
  574. ;error_log = syslog
    0 T4 h/ ^! C: G  {# i( J* q; ]; t

  575. * u0 x8 d: T/ Q: J7 M  r
  576. ;windows.show_crt_warning
    ' D2 l' h1 q' ?( u7 p& y+ B
  577. ; Default value: 0
    & t+ I& k1 K- n. q+ P5 f* F
  578. ; Development value: 0
    ) e4 H, }7 z5 }
  579. ; Production value: 0+ ~/ J1 K! O6 ]* ^, [, x& S; M2 W

  580. 2 s5 r) l8 h. l/ y9 o  y
  581. ;;;;;;;;;;;;;;;;;1 ~- r6 h7 k, Z- F/ `8 q
  582. ; Data Handling ;
    % U" Q. g0 x- @( P3 F
  583. ;;;;;;;;;;;;;;;;;% L" v' ^0 h9 K6 c* \, t

  584. & Q7 p& v  h& l6 [
  585. ; The separator used in PHP generated URLs to separate arguments., C8 T+ |, \$ e: C' D
  586. ; PHP's default setting is "&"./ @  n" s1 K, w
  587. ; http://php.net/arg-separator.output
    & X! m% }" Z1 L& ?
  588. ; Example:
    8 c$ O& V+ @- X1 T: P
  589. ;arg_separator.output = "&amp;"
    - w2 ]$ c% x; ?* X! M7 Q. a: K

  590. % [: j% n$ \. I8 |8 \
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    . ^6 D( Z4 C) Z; [/ @: J: t7 ]
  592. ; PHP's default setting is "&".0 C5 j" b# s# {# C! @6 J5 ^
  593. ; NOTE: Every character in this directive is considered as separator!
    ' M8 c0 P9 C& y, I/ \" v0 X1 R
  594. ; http://php.net/arg-separator.input8 T2 u/ Z1 r7 X- B7 J* S# e
  595. ; Example:1 F% `( X) Y  K8 u- Q% \
  596. ;arg_separator.input = ";&"
    " z1 h4 v6 a% j) ?
  597. % g, c/ a: b  |; v1 y
  598. ; This directive determines which super global arrays are registered when PHP9 m$ F: h9 a7 y, l
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    9 A0 [1 e: Z! T
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    6 x* r/ Q: b% f/ H# R
  601. ; paid for the registration of these arrays and because ENV is not as commonly" |" Z) J9 T- o0 H, q2 ~
  602. ; used as the others, ENV is not recommended on productions servers. You
    " @6 R7 l  |. j5 [  L: K
  603. ; can still get access to the environment variables through getenv() should you
    7 X) \2 n$ S7 t- n8 I% M
  604. ; need to.* P; M/ Q& Q1 O" x* Y1 u: j
  605. ; Default Value: "EGPCS"
    ( W7 p* f- K1 L" s+ ^' y; C$ d
  606. ; Development Value: "GPCS"
    ' I) T. h: H7 A# g
  607. ; Production Value: "GPCS";8 \; j0 \" E6 @
  608. ; http://php.net/variables-order
    / ]! V' H( ^3 _$ X. B! `# q
  609. variables_order = "GPCS"
    1 t# K0 p" i3 @+ ~( V% p4 Q3 q

  610. * _% j! A  J% q) y& a
  611. ; This directive determines which super global data (G,P & C) should be
    0 k. b2 {6 ?. s, Z0 A# N
  612. ; registered into the super global array REQUEST. If so, it also determines
    * k% S1 E, m$ L' x" Z; n
  613. ; the order in which that data is registered. The values for this directive! q4 I1 r/ [. U" O: I4 u
  614. ; are specified in the same manner as the variables_order directive,( Z/ z+ ]! F+ f2 Q: G
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    - N; w7 P5 b* M5 N
  616. ; in the variables_order directive. It does not mean it will leave the super3 u1 E2 x( S* w" W, d9 V
  617. ; globals array REQUEST empty.
    , F) S% ^0 s; y
  618. ; Default Value: None
    7 e3 i3 `9 a& M' t
  619. ; Development Value: "GP"; X3 B7 R3 M+ D3 G/ n
  620. ; Production Value: "GP"% H  B: b& j# z/ o4 m" W7 t
  621. ; http://php.net/request-order
    8 r; F4 J: K4 ^5 n! Z, T
  622. request_order = "GP"
    ; L3 h; ]6 G7 s) s: v, p3 e
  623. ( ?; o& ?& d9 D# X
  624. ; This directive determines whether PHP registers $argv & $argc each time it; b7 B6 D7 y& ^& {/ ?
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    6 @7 J+ n+ w, y. c, l
  626. ; is invoked. $argc contains an integer representing the number of arguments
    8 Z9 o' \0 H/ z2 e& v
  627. ; that were passed when the script was invoked. These arrays are extremely
    # @9 N# L8 z: d6 X3 t$ p
  628. ; useful when running scripts from the command line. When this directive is5 g7 C$ m. F* E
  629. ; enabled, registering these variables consumes CPU cycles and memory each time  K! m  N$ e! r1 h/ D
  630. ; a script is executed. For performance reasons, this feature should be disabled* E3 Z7 e& ]1 P# r4 k8 H
  631. ; on production servers.9 y- B( a$ ]% M& s
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    ; e- `9 ~& @; u' R4 z
  633. ; Default Value: On
    * z2 m& w3 u; d
  634. ; Development Value: Off
      j+ F4 F) E4 |5 M0 y, c
  635. ; Production Value: Off# w, M; p) n- o) J: ~: e
  636. ; http://php.net/register-argc-argv( }: s, J! W& i' s
  637. register_argc_argv = Off1 l& G7 `6 {$ N5 p6 S; j+ ]
  638. 3 ?2 L4 n% G( I, l; Y
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're3 P8 ~6 o0 L- s4 \0 I/ k& C
  640. ; first used (Just In Time) instead of when the script starts. If these: m2 m2 |2 }5 a* z5 g
  641. ; variables are not used within a script, having this directive on will result
    % n6 t9 }7 R1 M# {2 E! L
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    7 s  e( ~5 s/ `) N% K
  643. ; for this directive to have any affect.
    7 [* W8 {8 J9 d8 ]* Y  `6 ]
  644. ; http://php.net/auto-globals-jit" h/ j5 Z8 M8 U4 g6 b: h( b
  645. auto_globals_jit = On0 \# W/ s5 ^% M6 z, J

  646. ( I! k2 B: n% W  n9 t* ]
  647. ; Whether PHP will read the POST data.
    6 w! v- M' A3 [- @6 a
  648. ; This option is enabled by default.
    8 Q9 j+ z( F: F) X9 U
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST( f2 r% N1 ^1 C* u% b
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    ; a$ B. a0 d8 u& M3 P7 {9 ^
  651. ; POST data will be through the php://input stream wrapper. This can be useful$ X6 C: O+ `. Z1 s- n0 Z
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    % I) ?) c) d5 T' b. W" T
  653. ; http://php.net/enable-post-data-reading
    6 j) J0 U3 F: _
  654. ;enable_post_data_reading = Off
    * J$ j7 U4 L) @, \8 u' c. c6 N
  655. 0 m3 ?. W& J2 M0 n5 q5 C$ Q1 ~
  656. ; Maximum size of POST data that PHP will accept.
    0 u1 u3 P/ l: ~9 h+ T3 [
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading8 ?$ M2 u0 s/ }( J7 f' D+ x
  658. ; is disabled through enable_post_data_reading.1 a/ M1 n; ^: z% ?
  659. ; http://php.net/post-max-size
      @% d4 w9 X0 s# ~# S6 s
  660. post_max_size = 50M' V) [" ?9 z" H$ D
  661. + k6 l: n4 h' A7 P" S
  662. ; Automatically add files before PHP document.: N) l, n2 D0 i) \- j2 X
  663. ; http://php.net/auto-prepend-file
    8 `5 j; ]+ g' U8 [: z/ O; t" n9 G
  664. auto_prepend_file =
    ! M! l( R" p4 y9 L3 e

  665. - T4 ~8 C2 e* J/ P, j0 R
  666. ; Automatically add files after PHP document.
    0 \8 ~$ S9 I( }$ N$ I+ u2 O
  667. ; http://php.net/auto-append-file0 P/ b7 y1 U1 y7 }* g  _2 q2 O
  668. auto_append_file =! U8 T% ~# t# u3 Y$ d' ~' V* W& L

  669. - M# w+ E  a7 `8 k
  670. ; By default, PHP will output a media type using the Content-Type header. To
    # }- _; L* x) P
  671. ; disable this, simply set it to be empty.
    " r- C! ^3 X! U1 f* K
  672. ;
    ; o) [. L* r7 t- Q+ v$ @
  673. ; PHP's built-in default media type is set to text/html.4 [7 M: l/ L( w! {# ?2 A
  674. ; http://php.net/default-mimetype
    + M2 f" y  a/ N6 }( P+ Y
  675. default_mimetype = "text/html"% G7 n" O* g2 N
  676. 0 n- |& t: w+ A. |$ R3 V' a0 `' H
  677. ; PHP's default character set is set to UTF-8.
    6 t3 e! ^! Q2 W" l
  678. ; http://php.net/default-charset9 ]" E7 w8 Z3 h' _
  679. default_charset = "UTF-8"* H: l5 [, ^+ m. V  y

  680. 3 k4 B1 \$ B; l) o) |! n
  681. ; PHP internal character encoding is set to empty.* X3 }) {# H0 _+ G/ [( p  w4 J1 @
  682. ; If empty, default_charset is used.9 a8 F5 `  ~4 X+ i9 N& `: a
  683. ; http://php.net/internal-encoding
    4 U" f7 R  G# @3 V9 `# |& p( D
  684. ;internal_encoding =& S: X$ n% G) D2 Q

  685. 3 Y5 c; }. ?: Q  L0 W
  686. ; PHP input character encoding is set to empty.1 M# {1 |) \# a. ]
  687. ; If empty, default_charset is used.
    * [* l) f8 \, k+ c
  688. ; http://php.net/input-encoding
    - f2 M6 o, P% G' c7 |1 `8 n
  689. ;input_encoding =' t7 r) }$ X* U; a" Q

  690. ! }, l  ?8 _1 }6 R- _2 s  N' A
  691. ; PHP output character encoding is set to empty.
    ; d3 t+ Y! I2 K- B, L6 A. h& T
  692. ; If empty, default_charset is used.
    ) P+ U( W( P' M& H$ u% o1 }
  693. ; See also output_buffer.9 j: T- ~6 V# l# e
  694. ; http://php.net/output-encoding
    5 k8 G5 Z4 u/ d& I' e( E3 c! F
  695. ;output_encoding =
    & L; z2 c7 t9 ?

  696. ) P5 g; S% O5 n% B
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ' g$ J- k/ r! O) V' i
  698. ; to disable this feature and it will be removed in a future version.. R3 D* ]7 k5 ^$ o, h4 K2 h
  699. ; If post reading is disabled through enable_post_data_reading,5 y, O, i1 Q2 D; _. a# d
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    % a: T' b, s9 ~% Q8 ?5 R7 _) L
  701. ; http://php.net/always-populate-raw-post-data* E+ o# H1 ]" d% j
  702. ;always_populate_raw_post_data = -15 g/ @( ~, {/ p* ^. X

  703. & |6 u5 c& y3 K# I1 ^
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    * y4 D1 g, |$ F+ g# j3 `* X
  705. ; Paths and Directories ;
    1 i8 v# a% H/ I, s3 h
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    + h( m9 k, b1 L6 f0 {5 R

  707. , B; g1 v4 p; y
  708. ; UNIX: "/path1:/path2"5 t0 b7 H8 i- G& o
  709. ;include_path = ".:/php/includes"& d+ o, D( N9 }- U& g( w% D
  710. ;
    7 u  t  t/ }6 |4 U+ h' W
  711. ; Windows: "\path1;\path2"
    2 w3 l, W- e1 p8 \
  712. ;include_path = ".;c:\php\includes"
    ! w; k0 p: P: p+ H: f1 Y
  713. ;
    & U* Y# ^  f' U; s& Y2 X" W, z2 m
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    * T9 C2 V* }* z* R& L
  715. ; http://php.net/include-path
    8 u8 d+ r+ [% b( c
  716. , E6 ]9 J) e' j1 O
  717. ; The root of the PHP pages, used only if nonempty.' _5 i- [( ?1 V' Z+ k
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    5 \9 y; ?% m, y2 D( Q' W2 L
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ( e! p+ g) J+ D) ]5 Y7 o* f) n
  720. ; see documentation for security issues.  The alternate is to use the
    ( V) D3 s. j2 r
  721. ; cgi.force_redirect configuration below# N/ o# X+ B8 H! m
  722. ; http://php.net/doc-root7 B0 ?' m8 O3 Y  j* q8 v" [
  723. doc_root =( _7 Z# r% g! ~! A3 z) X# X

  724. 6 ~) R2 N! u( k* c
  725. ; The directory under which PHP opens the script using /~username used only
    7 [3 t3 W6 H  [+ m' o! b+ h, H
  726. ; if nonempty.  Z/ W1 l- ~3 s) o, d! J
  727. ; http://php.net/user-dir, V* q! ^4 J9 ^' b0 d3 \4 B
  728. user_dir =' _2 D% L' {$ N. L9 r2 C& L3 g

  729. 0 k% K+ a. ]$ i$ _) O% t: H: J
  730. ; Directory in which the loadable extensions (modules) reside.
    ' K+ Z! L( S6 ?+ U* K2 k
  731. ; http://php.net/extension-dir
    * [7 L! y( t: @1 ?& f6 u$ Z
  732. ; extension_dir = "./"% B/ z8 r2 |4 `8 o2 Q0 u
  733. ; On windows:
    ) b; f: G4 w- q0 |: f# ]
  734. ; extension_dir = "ext"
    0 E* U0 a9 @  S- I; g7 e' g& {
  735. 7 R2 I% G3 b# L) h( q- K
  736. ; Directory where the temporary files should be placed.4 N% e' |% e) W3 o+ ]2 n
  737. ; Defaults to the system default (see sys_get_temp_dir)& H- E. k  ?( c6 K
  738. ; sys_temp_dir = "/tmp": o4 b. v* Y; E

  739. 5 v0 a) C9 v; c* R! {& n* n
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work7 g& D0 U2 l: u
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    $ b" s4 N1 X0 {6 B
  742. ; disabled on them.
    + [8 N- p. Z) Q! d3 B
  743. ; http://php.net/enable-dl, \; s& ^9 X( v. b
  744. enable_dl = Off
    : z6 O$ M+ x  Z( K4 ^
  745. & N$ ?8 t5 G4 u, Z; C5 M/ n) I
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under' P! s- n" n; P5 E( d! r
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can- u3 O- R8 N# Y/ q' H* R8 e. q
  748. ; turn it off here AT YOUR OWN RISK
    . U  g; H  p0 j, o
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    + K5 f8 H' B' T, |/ I
  750. ; http://php.net/cgi.force-redirect( h$ [# P. A1 B0 [
  751. ;cgi.force_redirect = 1
    0 ]4 p* ^* i7 k& B  q/ N1 K  }

  752. 2 y2 q4 \# G$ c: I% q' T
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ) e5 \" d# h: T. x1 I% o! W4 N
  754. ; every request. PHP's default behavior is to disable this feature." x( l3 X0 j4 o7 g+ L6 K7 K3 a6 s
  755. ;cgi.nph = 1+ m9 r  k& R! Z3 t! e, a7 {

  756. ) h- U" k  I7 W4 z% {. M
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape- ^- G8 ~! g5 D. @
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    $ p3 ^6 N% P7 k5 b/ P/ A
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    6 q+ T& [6 l! c2 ?
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ! z( u: P7 T8 [1 A
  761. ; http://php.net/cgi.redirect-status-env( [7 S" E& z( |$ k" L
  762. ;cgi.redirect_status_env =% p" K$ y/ s4 |; X+ l! L2 E) ^

  763. + z. Q8 u* R$ m$ q$ p
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    6 m+ n0 `6 G3 x" g* ?
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok9 @3 o+ l" s$ S6 D: E( d  V0 K
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting9 D: [0 w' [+ s5 F
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    $ V. ~  `  @. m1 f1 a/ T
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts3 V& [* B9 i, r* T( q  N
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    0 Y9 a4 c9 L* ^1 G4 I
  770. ; http://php.net/cgi.fix-pathinfo3 y6 M, Y9 r+ l( `
  771. cgi.fix_pathinfo=1
    ( @  T. _8 c' b9 @; c/ B. g1 U
  772. 1 A% @7 _8 e8 ?- U3 p( a
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside0 s# D- P6 ^# `- C; ~
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    7 |, @+ a/ Z# {% P3 `8 m& {* i
  775. ; http://php.net/cgi.dicard-path/ }; z% X* r/ u" I7 C& r$ B
  776. ;cgi.discard_path=1
    ; A1 d: j2 H. v, g
  777. 0 s2 t1 L/ O- E9 X; w
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    1 z1 f1 p( c( m. u! A
  779. ; security tokens of the calling client.  This allows IIS to define the  i2 a2 u. D2 I: h$ I4 K$ M2 X$ F
  780. ; security context that the request runs under.  mod_fastcgi under Apache, J8 L7 t6 S: J. X) L0 J) t: }1 L
  781. ; does not currently support this feature (03/17/2002). c3 A" n% X/ h/ Y
  782. ; Set to 1 if running under IIS.  Default is zero.) C9 Z& z: H" _, o) U
  783. ; http://php.net/fastcgi.impersonate" C1 Q& ^* l; A1 d5 r* a$ J
  784. ;fastcgi.impersonate = 16 w  l3 G/ F* J" I* E( z
  785. - j" O& F  ~- j! ^
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable% H5 l  @, Z! \! r5 m7 s
  787. ; this feature.1 V0 E2 ?8 X) J! F- u) I
  788. ;fastcgi.logging = 0
    4 M' h0 _. T2 I, E. H/ B
  789. 7 I& V) g( g' I4 K- }  x9 U
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    0 B! l1 N& _1 F( g/ r
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that5 X8 t. n; e+ j( |" P$ Q
  792. ; is supported by Apache. When this option is set to 1, PHP will send: Y+ U6 w5 R/ t2 K
  793. ; RFC2616 compliant header.! J/ y) G. t$ ^+ ^0 [* R% o
  794. ; Default is zero.4 ?3 y  f% {* p
  795. ; http://php.net/cgi.rfc2616-headers% \7 D" @  t6 y6 y1 K" {) V- `
  796. ;cgi.rfc2616_headers = 0
    + P: S8 e/ B& M5 [! p; n

  797. + c( u" ]6 p4 a# ?+ D
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!6 T3 _/ A' N( N% k! Y
  799. ; (shebang) at the top of the running script. This line might be needed if the% h' K* |6 `5 q0 X
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI2 u3 x( \4 q: N# L# G' h
  801. ; mode skips this line and ignores its content if this directive is turned on.( i# D: ]( C. _+ G" [9 X" w$ S
  802. ; http://php.net/cgi.check-shebang-line( H$ e* [5 l) R* c0 ]
  803. ;cgi.check_shebang_line=19 ~& `1 D7 n: J) u
  804. ( M: s/ m. U8 Y" g' ^* q
  805. ;;;;;;;;;;;;;;;;
      ]/ u% d) ^  h- j0 e
  806. ; File Uploads ;8 x0 g+ Y( F" q
  807. ;;;;;;;;;;;;;;;;
    ; l) ^% _' R" _) u1 n/ m
  808. * i+ V- y9 \/ ~
  809. ; Whether to allow HTTP file uploads.4 E; L; i6 ]3 Q  \/ g5 e' _9 R
  810. ; http://php.net/file-uploads' w. g5 j  F, H3 E6 E; n
  811. file_uploads = On
    1 T7 b7 W9 `. |

  812. + `9 `; b- a5 a) r& u
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    ) e4 `! q# Q8 x( D* T
  814. ; specified)./ |6 g* N, D% v5 |
  815. ; http://php.net/upload-tmp-dir
    ' ?4 ]( K7 r* I6 a! N- j; p
  816. ;upload_tmp_dir =
    % F! l" m+ {( X" o' t; p

  817. * L4 E2 L, P8 o1 h
  818. ; Maximum allowed size for uploaded files.
    ; B: @  D/ ]" I% J; H
  819. ; http://php.net/upload-max-filesize
    , w% ^2 o  D3 t# K) _
  820. upload_max_filesize = 50M/ y9 X. t% Q# k  R/ D
  821. 9 F( L8 O( N! ~! V, h
  822. ; Maximum number of files that can be uploaded via a single request
    : W7 E- i- y! E% ?7 s3 I0 ?9 M( `
  823. max_file_uploads = 20
    . X. A' e+ o3 _7 [" ]" ?8 N
  824. & A9 S- u3 w; ~7 B/ h
  825. ;;;;;;;;;;;;;;;;;;
    / V. _" F1 [& @2 n" c
  826. ; Fopen wrappers ;: M! t( J8 c# S" ~, o# ~
  827. ;;;;;;;;;;;;;;;;;;3 C1 N3 o4 U. e
  828. # m# E# M: ?' r; l
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    3 l; ~$ u! O! e* R! d
  830. ; http://php.net/allow-url-fopen
    , Q- `% N. C( J) t; s* ~
  831. allow_url_fopen = On
    & z* P7 j7 ]% m

  832. 9 T# ?1 C9 e" r" Q* g6 d; N' H
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    & ?: b" [0 t: b* `
  834. ; http://php.net/allow-url-include6 E* p7 Z: s# v' N
  835. allow_url_include = Off( F, Z8 z/ t* }
  836. 9 e8 ^: N& K6 P1 K8 v; J
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    5 H& c4 g7 A4 i  A$ |
  838. ; for this is empty.
    * e# |6 k( a3 |; `) [0 J
  839. ; http://php.net/from' g) x% \; z5 ?4 v6 F
  840. ;from="john@doe.com"
    ( W# w0 ]. Z: }5 {/ E; z0 l

  841. 3 ^( `( `4 B3 a/ P& y' D
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    , Z9 ^( i$ S- w! n% g
  843. ; http://php.net/user-agent( q+ ^2 b  s' @8 D5 Q
  844. ;user_agent="PHP"- l8 L# h: A; _( {

  845. ( p  w' b; m7 F4 [  f& @" i0 Y
  846. ; Default timeout for socket based streams (seconds)3 y+ f) p2 X7 C% j) Y: E
  847. ; http://php.net/default-socket-timeout$ q6 c3 V  b* Q) ?$ ~6 m% r9 x: K
  848. default_socket_timeout = 60
    * S* T4 Y9 O; Z: S5 Q" q

  849. 6 m& m& X9 o& a$ ~1 _4 S* ~6 j( `
  850. ; If your scripts have to deal with files from Macintosh systems,( O# p1 E  n5 b6 ^/ s
  851. ; or you are running on a Mac and need to deal with files from
    ; @1 I5 [" n* ], k$ {% s7 l3 E
  852. ; unix or win32 systems, setting this flag will cause PHP to; k6 Z9 i7 A3 J! U+ Y8 p
  853. ; automatically detect the EOL character in those files so that
    : L4 }5 d% |- P$ Q
  854. ; fgets() and file() will work regardless of the source of the file.
      C& @) c+ @* ^1 c
  855. ; http://php.net/auto-detect-line-endings
    5 j( {( N: e; R* x2 K  e
  856. ;auto_detect_line_endings = Off  [! s/ O  K5 K! ~
  857. . T8 O- J- Q% S8 {1 \
  858. ;;;;;;;;;;;;;;;;;;;;;;- B5 J# Z( ~! |( i5 V1 D( {
  859. ; Dynamic Extensions ;
    # M/ B0 W9 u3 n; q& E% |. _
  860. ;;;;;;;;;;;;;;;;;;;;;;& w! U/ P- M6 c$ L; \

  861. ) n9 I) h- K" ~! F/ o
  862. ; If you wish to have an extension loaded automatically, use the following6 g8 S/ D6 q1 d: s6 b: s! e; O
  863. ; syntax:3 q% h  @3 ~, W; I
  864. ;' }& H8 r$ g( k4 _, X0 z
  865. ;   extension=modulename.extension
    2 w5 X& @( H/ f, G1 r
  866. ;
    ( ~9 c' F# a1 E. S5 p" O
  867. ; For example, on Windows:
    & |% h) U- Q( `/ H6 F. T6 g# C
  868. ;
      G3 K  s( U8 Q" z0 i
  869. ;   extension=msql.dll
    2 H5 p. G) m- z1 |* j' H
  870. ;& l/ U/ c- y" _  B
  871. ; ... or under UNIX:
    . Z0 \3 }) U% d$ }4 @4 ]! u" b
  872. ;" K% f! |' q% m, v. V$ @
  873. ;   extension=msql.so# |3 L4 h1 D9 i8 Z2 [4 T1 [
  874. ;
    ) l) M8 c; ?; Q" z& E; J
  875. ; ... or with a path:$ R9 Z* S* Z% h, C; @- |
  876. ;
    / e: d! E4 Q# z! v/ D8 t" g2 s
  877. ;   extension=/path/to/extension/msql.so5 P: f% {% Z' c/ d2 p
  878. ;* T1 ?0 U; }7 M, H
  879. ; If you only provide the name of the extension, PHP will look for it in its9 k' j% U, m' G6 m- H( y! Y
  880. ; default extension directory.: U, u8 a4 T: g
  881. ;
    . o2 t$ ]+ b: p* ~. J9 ?) q
  882. ; Windows Extensions
    * W; j  X; f% X2 j2 N' q' p  ^
  883. ; Note that ODBC support is built in, so no dll is needed for it.8 `2 Y! X6 R) N6 R  }2 H# |
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    $ G2 U9 I3 \, |
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    ! u5 `( U/ P$ M# H! D2 a  O3 |) s
  886. ; Be sure to appropriately set the extension_dir directive.0 I* l% A) w4 T2 f5 w, Z1 x
  887. ;, L1 K/ T, s! {9 X. X5 J4 Y, H+ m
  888. ;extension=php_bz2.dll' b0 s; a- ]- y! ~: B8 ]5 S
  889. ;extension=php_curl.dll& a, [7 Z, f/ r! C/ `9 t) h3 Y
  890. ;extension=php_fileinfo.dll( ]7 K( ^& k4 g3 Q, \9 q
  891. ;extension=php_gd2.dll
    * A1 O' p+ o6 z5 ?* i0 I! j6 s1 l
  892. ;extension=php_gettext.dll7 o1 t" W) l, ~$ M! |
  893. ;extension=php_gmp.dll
    3 p2 H5 K; s+ E% Z* O: `6 t0 y
  894. ;extension=php_intl.dll
    % d1 O& X8 \+ }) |/ e- ~9 u
  895. ;extension=php_imap.dll% X9 B2 p$ o; s/ @7 c) M+ B. i! E
  896. ;extension=php_interbase.dll# ~4 Y0 `7 G- c/ S4 {4 c
  897. ;extension=php_ldap.dll
    6 f; a) y; I. J
  898. ;extension=php_mbstring.dll
    - E# ]. [, I" H2 C' q5 M! c
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ( V/ U- X( j1 T5 x. C3 u; F
  900. ;extension=php_mysql.dll, E8 K+ a5 R* L' x
  901. ;extension=php_mysqli.dll* F- c7 b' [% Y9 P
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client* l' x' I" B/ c; T  U2 `1 W7 y
  903. ;extension=php_openssl.dll
    ( O* j$ ^  P$ v9 H9 s
  904. ;extension=php_pdo_firebird.dll
    % P; ?6 Y& a; {* }% T5 b4 F
  905. ;extension=php_pdo_mysql.dll
    % Q* M  P: I' n  U
  906. ;extension=php_pdo_oci.dll
    1 T3 K+ F3 |( [
  907. ;extension=php_pdo_odbc.dll' u) X1 Q  q4 E' {! F) a
  908. ;extension=php_pdo_pgsql.dll
    + h  w, D- u; i8 T& N& B/ y
  909. ;extension=php_pdo_sqlite.dll; L+ m% i% h, ]- i" A% q
  910. ;extension=php_pgsql.dll: u' ^4 d9 K4 A8 |8 Q, c
  911. ;extension=php_shmop.dll
    / k& f$ N1 i0 t
  912. 5 X5 S( Q/ }3 v# c: O, m
  913. ; The MIBS data available in the PHP distribution must be installed.
    5 u/ d2 }4 t) @2 L8 H
  914. ; See http://www.php.net/manual/en/snmp.installation.php 0 E+ a  m  H7 d% I6 J& u
  915. ;extension=php_snmp.dll! O- k7 }4 l, P1 A' ~5 K

  916. + v; }4 a- P* j' e8 ^" W) K
  917. ;extension=php_soap.dll/ q+ u- I6 Y2 N! M' M$ e9 \% p3 I
  918. ;extension=php_sockets.dll
    2 X4 M. E1 l0 U, ~3 L9 A! U
  919. ;extension=php_sqlite3.dll3 h1 L$ h9 S7 T- O; \
  920. ;extension=php_sybase_ct.dll1 x# w6 a4 A8 r
  921. ;extension=php_tidy.dll
    . {" n6 Z( M0 ?, J5 N! d
  922. ;extension=php_xmlrpc.dll2 C: o% b! {! V* l' J0 G
  923. ;extension=php_xsl.dll
    # O) r2 ?4 Y: d! r+ W+ e

  924. 2 u5 ~4 j' h" A
  925. ;;;;;;;;;;;;;;;;;;;& z4 d4 Y+ ^% t$ U3 A1 m
  926. ; Module Settings ;
    ) e: ?9 j8 y+ ^3 c
  927. ;;;;;;;;;;;;;;;;;;;) ^, R3 _/ [# e% N( D" _' y! w+ D

  928. 7 B# R3 i+ W. f
  929. [CLI Server]
    ) z7 d* W8 D# `: a# s" O
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    : r$ k) {  a8 p& s, r, V: |
  931. cli_server.color = On
    : Q3 W; j8 b* [8 B, q" \9 c

  932. 3 c& ^7 J! h6 b" |
  933. [Date]
    " t/ N0 W, b, X1 T
  934. ; Defines the default timezone used by the date functions
    % a4 b- ~) ^- D- G( j
  935. ; http://php.net/date.timezone
    , }& u  p1 c' u7 y4 ^  ~- J6 f
  936. date.timezone = PRC
    ) K  x8 U* n6 k% i
  937. " ]8 Z% N! j! p! z# U+ l
  938. ; http://php.net/date.default-latitude
    / C" y+ B4 ]* `3 h- G
  939. ;date.default_latitude = 31.76673 t# E$ K9 B2 F7 U  I/ \& _
  940. 6 B7 g' R( K' F  i
  941. ; http://php.net/date.default-longitude, M. I8 c: f& i- m6 L5 K7 Z) M8 T
  942. ;date.default_longitude = 35.2333
    4 b* B$ d% \) C9 ~5 s1 P; A3 C

  943. 7 L4 k5 @! p' k$ [" w; M! p
  944. ; http://php.net/date.sunrise-zenith0 T/ n+ k5 O' b, _8 `* A/ A
  945. ;date.sunrise_zenith = 90.5833330 s0 R5 l: Z4 D5 O3 D7 b

  946. 9 {  i; ^2 V! b
  947. ; http://php.net/date.sunset-zenith
    " w6 D2 H) ]7 U* [: g
  948. ;date.sunset_zenith = 90.583333, d8 m( p. H$ J1 i2 c, A1 v3 w

  949. , [) Y0 v7 H0 S& E
  950. [filter]4 I( D4 O, K8 k8 X% b
  951. ; http://php.net/filter.default
    ( Q! O& \- y0 D* Q# D
  952. ;filter.default = unsafe_raw4 o& L. h4 ^6 x$ I
  953. . R$ {  r& D4 c# ]
  954. ; http://php.net/filter.default-flags9 c/ t! N3 g% T+ B! ^
  955. ;filter.default_flags =
    1 G. O1 E: m9 i; L* W7 X7 Y$ A; V. ~

  956. ( E3 P" u. Z8 G$ r% w
  957. [iconv]  F$ f+ v# z% |3 [& n
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.$ K) \; {( S6 V9 E7 U
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    9 M! G5 [5 g  ~- ?  ]6 a7 }
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
      r5 Y8 m- |, q5 _% k4 x
  961. ;iconv.input_encoding =0 U6 [. |6 B) }7 e% |* J* M( x8 f

  962. 1 F$ J: X6 q. V( s/ M
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.8 p% H  T% q* `5 {7 y+ V& l+ j) j
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used., D( c$ q4 N, I9 [1 z4 m# J7 K
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    * ~+ U3 k4 \; U2 r5 U+ M: m
  966. ;iconv.internal_encoding =
    * {- l0 l3 e+ F( A% j

  967. / C) ]9 [$ V, Q; s
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    : X& y  I, D* f0 s
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.4 k$ q6 l. G/ o% V
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding" v! ^. M* n1 P! Z% S, h
  971. ; To use an output encoding conversion, iconv's output handler must be set
    ' t( U" T$ S( ^
  972. ; otherwise output encoding conversion cannot be performed.
    # A& I; L. G) ?( p% g* x/ M
  973. ;iconv.output_encoding =6 R( c; C: A3 P9 Z+ k$ `/ V
  974. , E2 s2 J4 K# y" V8 @
  975. [intl]: P9 L; }, E# `3 F1 \8 r3 Y
  976. ;intl.default_locale =! b# Q# k. v+ K" |$ b/ f! [
  977. ; This directive allows you to produce PHP errors when some error
    2 b  x! o" ^0 X% x( b3 z& ?
  978. ; happens within intl functions. The value is the level of the error produced.
    % _  Z* d7 r" g) m+ E* x
  979. ; Default is 0, which does not produce any errors.
    4 \5 S8 a4 z/ t( f3 L8 ^8 ]
  980. ;intl.error_level = E_WARNING7 e8 o! t: m6 C0 V/ N
  981. ;intl.use_exceptions = 0
    , S# P( }5 W! x# e+ S$ S: O

  982. 5 Q" t# `! r( T* N$ k6 c! h! f
  983. [sqlite3]' g) O0 x5 I) e: t- p5 p- ]2 t
  984. ;sqlite3.extension_dir =! V; R$ g3 r' A2 p( ^# o. F

  985. 3 Q1 u8 S6 J. I' D+ [
  986. [Pcre], f' d  B7 c" a
  987. ;PCRE library backtracking limit.* s) E" D& v; A  E0 A3 S
  988. ; http://php.net/pcre.backtrack-limit
    . m, T' N9 y( y" F+ H8 Y  D
  989. ;pcre.backtrack_limit=100000/ e% [' A( F( C5 O

  990. ; K1 \+ U/ Z5 F
  991. ;PCRE library recursion limit.! p8 `. K* F7 m/ S0 z
  992. ;Please note that if you set this value to a high number you may consume all# }' c8 M! S0 _
  993. ;the available process stack and eventually crash PHP (due to reaching the& c' U& {) j$ |! p' X* k: f
  994. ;stack size limit imposed by the Operating System).
      q! i' L' ~: ^  P
  995. ; http://php.net/pcre.recursion-limit; ~: T- G5 O' O
  996. ;pcre.recursion_limit=100000
    : d" w  h( e3 o6 P

  997. # s% j8 m  y4 J) s3 V) k  I
  998. [Pdo]9 j) Y) B& ]8 E% g  g. j
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ( S6 X6 M( a) Q5 w. z6 P+ s
  1000. ; http://php.net/pdo-odbc.connection-pooling9 [. f& j" _5 Q9 d5 g7 x3 ^
  1001. ;pdo_odbc.connection_pooling=strict8 R* J8 \" \# _: t( H. f
  1002. ; [4 `, M: \0 k- _4 a& T
  1003. ;pdo_odbc.db2_instance_name
    ) }6 {% o9 H5 x: h) \3 j

  1004. ' S+ p! M; ?( N0 m/ C
  1005. [Pdo_mysql]4 p/ S- ^7 [. u/ `
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache$ l- ?# @5 P) c0 K0 G
  1007. ; http://php.net/pdo_mysql.cache_size
    " U& b# r3 V) `/ B4 l
  1008. pdo_mysql.cache_size = 2000* s2 N7 F7 Y. W9 x! Y; s
  1009. * r8 w/ {: f! [! R8 {# r
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in9 ]: L: G9 c/ i: J
  1011. ; MySQL defaults.& f, U/ q! K( P8 |4 J' i
  1012. ; http://php.net/pdo_mysql.default-socket
    $ Z7 @* M9 n9 P" O8 k8 S. e
  1013. pdo_mysql.default_socket=
    % `0 A2 ^# n0 y, K' Q. F

  1014. & d  J# Z5 \# h: P
  1015. [Phar]
    2 e8 l  O3 w  y  J! }' |2 _) y
  1016. ; http://php.net/phar.readonly- S: p. c6 I) f, |3 a4 l( O
  1017. ;phar.readonly = On
    ' b; R; Q5 O  X0 D" K* l. W

  1018. % u. j+ `- T; l4 y* @" `& r
  1019. ; http://php.net/phar.require-hash7 w7 x/ O/ m+ h& ~6 u
  1020. ;phar.require_hash = On, x6 ]- u% O' |+ y" N# A

  1021. ! e  w/ K' ~6 u/ a) `" s6 {$ t
  1022. ;phar.cache_list =
    " Y! d% a# }. t5 k+ F, B  L8 j, f$ @
  1023. 2 }4 l; U* t. q7 N9 r* {
  1024. [mail function]
    0 x5 S# B# K1 Y/ g0 d; C4 N
  1025. ; For Win32 only.7 Q2 t1 q: H. }  K3 M
  1026. ; http://php.net/smtp: x  R& Z, T" {
  1027. SMTP = localhost# X5 n* T$ `. X
  1028. ; http://php.net/smtp-port
    ; @" T) F; A+ |1 w6 _1 \6 L% R
  1029. smtp_port = 25
    9 ]7 l) v' o  Y6 t/ h7 x0 L$ t5 ?
  1030. ; E- v- U1 h+ l: i& F9 N
  1031. ; For Win32 only.6 J' G, T( `1 o+ j! p1 s
  1032. ; http://php.net/sendmail-from
    * ^6 D0 B. x. D
  1033. ;sendmail_from = me@example.com
    / p) D! f4 D& M# Q7 ?$ O$ @) i
  1034. 3 j0 S) N0 e6 w( S1 f  g1 L
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ' b, U4 w. Q2 Z' c" y. L  z
  1036. ; http://php.net/sendmail-path
    ) |2 P) S4 i. H5 h: z5 _" k3 k
  1037. sendmail_path = /usr/sbin/sendmail -t -i# e8 S5 m+ {& Z0 K4 R% Y5 K

  1038. * f" [4 K- c% Y! H
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    3 P4 R6 Q0 ?! z
  1040. ; to the sendmail binary. These parameters will always replace the value of
    * u. v2 B# f, K! u
  1041. ; the 5th parameter to mail().1 ~$ m4 E0 u  l. u
  1042. ;mail.force_extra_parameters =
    * k9 J, b3 |  C  W

  1043. . E2 q- \1 K$ r  L
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    " r7 c% n6 M" `! d" Q
  1045. mail.add_x_header = On- K2 S4 g. {& W1 ]4 [9 h4 g! W5 c

  1046. 3 v6 [2 v3 ^' W* q) C
  1047. ; The path to a log file that will log all mail() calls. Log entries include2 p' W( }* E' k7 v
  1048. ; the full path of the script, line number, To address and headers.
    & |" n2 X; q' |8 H1 J: n
  1049. ;mail.log =
    9 K9 @; }$ b  a# e" J
  1050. ; Log mail to syslog (Event Log on Windows).4 k$ K3 l, f, Q: g5 c, ~+ C& Q- H# v4 o
  1051. ;mail.log = syslog
    8 g2 W. j8 G' n$ G6 M8 _
  1052. ' T: I7 V; M$ A. T- g
  1053. [SQL]& v: }- H, K/ u& z" T! @$ U; ?
  1054. ; http://php.net/sql.safe-mode3 W/ Q. @- P& s9 D$ D0 j
  1055. sql.safe_mode = Off8 D# A7 y5 s! O) {- [* e' e

  1056. + F  K: T. L! p. O! R: m- ^) u
  1057. [ODBC]0 {7 ?& ^- _# A
  1058. ; http://php.net/odbc.default-db" @8 S% ^4 U% C$ t. E* p! k
  1059. ;odbc.default_db    =  Not yet implemented, R4 C5 R1 Y" K/ {$ U+ \

  1060. / @( a9 H% W- m" f, P! p' T
  1061. ; http://php.net/odbc.default-user/ v" Q7 J. {$ h* t8 e% a
  1062. ;odbc.default_user  =  Not yet implemented
    - X& s5 [) x' p: W% P

  1063. 6 Z2 n7 g! h+ g6 t  s
  1064. ; http://php.net/odbc.default-pw+ P' J2 M7 S  N& @% q7 ?# ]
  1065. ;odbc.default_pw    =  Not yet implemented
    , h5 u5 E7 e- |  i6 x7 I; L
  1066. $ z% h/ o  J. Z; \
  1067. ; Controls the ODBC cursor model.
    3 K6 c" T! d$ h' ]" H. R
  1068. ; Default: SQL_CURSOR_STATIC (default).
    3 \! ]0 B# C) g5 w* a
  1069. ;odbc.default_cursortype1 o! M* a: ^. [% Q. j. a, H; Y

  1070. . _( [6 G" ?6 c( ^& r2 J: @
  1071. ; Allow or prevent persistent links./ L( T* a+ z8 L, m# J
  1072. ; http://php.net/odbc.allow-persistent
    : W6 A: z- Z" [
  1073. odbc.allow_persistent = On
    4 `' F3 t' q/ W' u: K( p5 n" N" e

  1074. 5 x; E6 M& T# w, b) h
  1075. ; Check that a connection is still valid before reuse., |6 ?4 |; W3 R( }  E
  1076. ; http://php.net/odbc.check-persistent
    5 o' J9 O( \4 z' D! Q3 H* q/ a
  1077. odbc.check_persistent = On
      A: T' Y+ b5 n- I0 Z6 N' N2 R

  1078.   x/ y+ {9 f5 R
  1079. ; Maximum number of persistent links.  -1 means no limit.1 N, _: J1 f. y3 f$ @, v
  1080. ; http://php.net/odbc.max-persistent
    8 y4 X7 m. S+ p( \/ w, E
  1081. odbc.max_persistent = -1" I3 V$ u* L( \! v
  1082. + n2 J  s0 |6 N& n4 x" u
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.( G1 ]0 L/ M; E" F- O
  1084. ; http://php.net/odbc.max-links0 j$ ^" j9 x) U9 Y$ N$ H1 `
  1085. odbc.max_links = -1
    5 T* r5 Q+ B4 a% D, v
  1086. 1 P5 N: [2 i; }7 ^: G: Y
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    1 Y  }: ?& W9 ]3 C+ T7 {$ E% ?5 f
  1088. ; passthru.
    - A% d! {& r2 ]! p  ]% z
  1089. ; http://php.net/odbc.defaultlrl
    8 |& Y* e# A, Q) U
  1090. odbc.defaultlrl = 4096# G% z  _: ]% n* k; H
  1091. : _3 @: C" t; I, d
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.$ `; F9 T, H* f. [; z
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation, s0 s: k& O3 C. f- x+ \; S
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    2 K  h4 ~/ `% U- {( W$ d
  1095. ; http://php.net/odbc.defaultbinmode7 n0 x1 i4 w( ]$ _
  1096. odbc.defaultbinmode = 1
    ; t( O7 }! d$ [) {& c" m$ l! Z1 J
  1097. , b2 r& y& i/ s7 a
  1098. ;birdstep.max_links = -19 d( W% \% l2 T2 H3 l! f: A0 n' s
  1099. % Y: y; P' O2 C' }( d: E- |4 j
  1100. [Interbase]* Y( v* @9 j" ]
  1101. ; Allow or prevent persistent links., m/ |" u6 Z. q0 q! u
  1102. ibase.allow_persistent = 1+ I0 v6 T; y% o/ Q. i- ?1 u$ _! \8 J) p

  1103. / e: I% Q$ Z! L7 \' u/ z2 h
  1104. ; Maximum number of persistent links.  -1 means no limit.1 ^; r) P0 i5 C8 @1 I6 A
  1105. ibase.max_persistent = -1
    ) L: N. o( M! E2 c% A
  1106. ! [9 i( d" ^# [5 N: X
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.& C* O& c/ c. F3 J0 A% J9 b. x
  1108. ibase.max_links = -1
    2 U8 A4 ^# c' G4 x' Z2 ?' r4 `  g% U
  1109. ; `0 z; z* n- I! W$ T5 E$ |/ A
  1110. ; Default database name for ibase_connect().  N" g6 p) J* G7 M6 b) A
  1111. ;ibase.default_db =7 y; M& L/ b/ h+ F, I

  1112. & C- z- V$ I& i2 ]4 v
  1113. ; Default username for ibase_connect().0 d# ~( r8 S$ c; n" v/ m' R; B0 [
  1114. ;ibase.default_user =1 k! O: h$ ~3 `4 j( g! M5 y
  1115.   Q- `8 {; K/ \2 F4 |
  1116. ; Default password for ibase_connect()." ]7 O* N" V% k8 K- s
  1117. ;ibase.default_password =7 E) U0 b1 q, p, Z! Z2 Q

  1118. ' B5 ?. O0 `8 z- [+ h/ V! H+ W, Z
  1119. ; Default charset for ibase_connect().
    2 M9 B1 Q7 }/ h
  1120. ;ibase.default_charset =
    * V- x+ ]' b: M* C; [& \$ D( n9 |
  1121. 9 f7 d2 ?* g' ^, ]; m. }
  1122. ; Default timestamp format./ K+ `8 U4 z  t& Z% t: c
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    4 Z+ j2 X) c& }4 r3 _
  1124. % s" i5 ~7 m9 a! v. ]8 Z$ J. b3 E& Q
  1125. ; Default date format.; e" c; P! t* Y/ d7 y! J4 W
  1126. ibase.dateformat = "%Y-%m-%d"' v9 Y, ~& N9 L: p  m# R

  1127. 3 h" A) |' c# R, y; u' M7 d
  1128. ; Default time format.8 I9 h) F7 O$ T  _: t& f
  1129. ibase.timeformat = "%H:%M:%S"5 [3 S" T+ g5 {$ A, V

  1130. 1 G6 I2 v, Z; E( I' w
  1131. [MySQL]
    ! l: x+ s& s8 O" G7 ?
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements) H; B; ~( m4 d2 O
  1133. ; http://php.net/mysql.allow_local_infile
    ! n4 x+ F  Y# b4 ^1 \
  1134. mysql.allow_local_infile = On
    ) ?% e7 g) i+ H

  1135. , U4 q/ t7 B3 m+ D9 p! P5 c
  1136. ; Allow or prevent persistent links.9 c4 y& E: n/ K/ S2 q2 z$ o
  1137. ; http://php.net/mysql.allow-persistent: n8 x* V5 W# v
  1138. mysql.allow_persistent = On; V/ e& P" ^- w1 H) O7 n, r5 r

  1139. . v' K2 l* |/ }" Y
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache: [) v9 r* B. @0 _3 D6 m
  1141. ; http://php.net/mysql.cache_size4 J, t( l% l0 Y4 H2 j8 k+ l
  1142. mysql.cache_size = 2000/ o1 Q& U: [5 |$ G8 G0 c
  1143. " k, V5 D6 Z" v/ S. f, A. O& q
  1144. ; Maximum number of persistent links.  -1 means no limit.; F8 q! z0 P" I. M
  1145. ; http://php.net/mysql.max-persistent
    " |, Z# u, l8 x8 K7 N7 ?% Q
  1146. mysql.max_persistent = -1& X5 Q1 R5 B( F, p& R" @- j
  1147. & Z( ]9 a3 c+ @4 @
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % V6 ~, g) {( b: e/ R7 v
  1149. ; http://php.net/mysql.max-links0 Q3 R7 X' @- U8 Y/ e! d
  1150. mysql.max_links = -1# J7 Y: s; _0 W7 e# u

  1151. & \( v! }% r2 X; ~) [. r
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    % u% T: L/ e9 Z+ ^3 d
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    : n; |, O9 ~' L' ?' U0 F
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look: a+ ~9 y6 K2 V" a
  1155. ; at MYSQL_PORT., u0 ~: F! o1 I+ D  u, R
  1156. ; http://php.net/mysql.default-port9 w& Z4 s8 w& X" A- I6 v( F
  1157. mysql.default_port =4 u5 L8 g7 ^$ }* E

  1158. ( X. c4 b. I& f# B% t
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    : l# C) X% z, e% b/ n# F  P
  1160. ; MySQL defaults.$ \$ a7 @4 n' t7 h+ k7 ^
  1161. ; http://php.net/mysql.default-socket
    5 J. F! q. Q/ F& P: I. D& P
  1162. mysql.default_socket =
    ; r7 E8 `3 m8 F& z- N

  1163. 3 @5 ^; ]1 A( W1 v' E" P& ~- a
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode)., x9 V1 O  R; E/ e* }. X
  1165. ; http://php.net/mysql.default-host+ S9 U9 f; Q0 d5 W
  1166. mysql.default_host =, G( Z% S6 l3 U/ z

  1167. % i6 l/ A5 c6 \" G# s& }
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode)." m7 @  M4 _( l
  1169. ; http://php.net/mysql.default-user; N& t/ W5 W; K/ C: w; u# _
  1170. mysql.default_user =8 o- E- g; F+ N& ^8 \

  1171. 7 @# h  g# a6 A) w8 s2 \
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).7 G; _* l3 A, d
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.0 j' H8 S5 m* m6 o
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")9 L1 x- L+ t: }% C8 d
  1175. ; and reveal this password!  And of course, any users with read access to this
    ! o# W' I, i' Z% j
  1176. ; file will be able to reveal the password as well.
    ! w; o* i" S# ^5 ]! M! m
  1177. ; http://php.net/mysql.default-password
    4 b' b- x7 v. D0 Y0 y. C
  1178. mysql.default_password =
      I; H, r" q6 B, n8 T# f" G

  1179. 2 c6 @# Y: X; ?) u/ b
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    3 L9 q' e9 l0 g4 C9 M+ Y
  1181. ; http://php.net/mysql.connect-timeout1 p6 r* B9 s3 J+ t3 z
  1182. mysql.connect_timeout = 606 S! I6 d( Y# a  ]) \2 C
  1183. ! `( A" O& y0 y$ L
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and* F& \$ U! l, R2 k2 s' [0 L
  1185. ; SQL-Errors will be displayed.8 S* F* ~  G5 O8 ?, y
  1186. ; http://php.net/mysql.trace-mode
    $ s/ _9 i9 b% A3 @
  1187. mysql.trace_mode = Off
    $ g, f* n0 P+ F) B: g6 q
  1188. : w+ ?' s$ F9 p4 w2 b. @# P
  1189. [MySQLi]( E; [9 q6 v; T& G( {4 I5 t
  1190. 1 _  d9 O9 x# g3 T3 ~5 `) u
  1191. ; Maximum number of persistent links.  -1 means no limit.1 c$ h7 E5 d" f. h
  1192. ; http://php.net/mysqli.max-persistent
    % j# g% t: X. Z, t; E
  1193. mysqli.max_persistent = -1
    : m& T: R' f& n* P# _0 e

  1194. # H, E% D2 f4 ]. y' ]
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements& ?$ N: H4 W2 I; @& r7 c! `* R- J3 b
  1196. ; http://php.net/mysqli.allow_local_infile/ u; r  B9 V' u+ [5 r, T2 L& V/ E
  1197. ;mysqli.allow_local_infile = On9 {7 [0 v0 ~3 Q0 q8 o$ ]$ a

  1198. 6 i2 A% Q+ g% k: G
  1199. ; Allow or prevent persistent links.6 G3 N: r6 b4 `$ c& Q
  1200. ; http://php.net/mysqli.allow-persistent
    9 r$ v+ G. x1 d& n. a
  1201. mysqli.allow_persistent = On; \( K% J* k0 A6 d8 N" v

  1202. ! c/ D& i! M0 }2 I; ^# Q
  1203. ; Maximum number of links.  -1 means no limit.- i6 j& W$ B/ y
  1204. ; http://php.net/mysqli.max-links3 u, C3 G) @7 F
  1205. mysqli.max_links = -1
    % K. B6 e9 R' W9 Z# X5 Q

  1206. ) H+ Y0 c% n8 d( D' {
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " |; F# d. P5 L2 b/ L5 }
  1208. ; http://php.net/mysqli.cache_size
    ! y+ @3 |4 h) p
  1209. mysqli.cache_size = 20003 g$ G! I, S& O3 R
  1210. : u5 M4 y( H3 m3 L. j
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use0 [3 s* [, ~0 h% R- ~  r; k/ O
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    # T" r  \) k; V( ^& u
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    . S0 S1 l- d4 R) o- U# }) X
  1214. ; at MYSQL_PORT.
    # B+ y8 j% i/ q9 E9 |0 ?
  1215. ; http://php.net/mysqli.default-port
    ; P6 c6 ~: H4 K/ I5 Q3 A! v
  1216. mysqli.default_port = 3306
    ; L0 A" N% r% y4 |! T

  1217. % V$ u0 Y/ k: j. `5 R" \3 S6 m/ h% M
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    5 ^3 m- c6 U( R% }$ R5 K) i
  1219. ; MySQL defaults.
    ( ?% g! V0 _' w0 e# G+ y5 j: Q
  1220. ; http://php.net/mysqli.default-socket2 u. E) p7 }) t
  1221. mysqli.default_socket =8 t/ Z; G, \/ ]) p% ]
  1222. & v/ K  m- v$ G( j/ g  B
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    : D4 D! ]* h- a. J
  1224. ; http://php.net/mysqli.default-host
    ) l/ S/ v9 c, c4 }  }, ~. i
  1225. mysqli.default_host =# r: b5 t  f. n

  1226. ) k1 y$ F, W' Z3 R) l  C' |
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ! {" ?9 l1 u+ ]4 S9 @" L* H5 j
  1228. ; http://php.net/mysqli.default-user
    ! [3 _9 ^) q- U
  1229. mysqli.default_user =# n1 e% A) r% T- t& P5 H6 ~/ o
  1230. - u: k5 v7 Y' }" |
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode)." w2 m/ z  o* O
  1232. ; Note that this is generally a *bad* idea to store passwords in this file./ Y0 |  q' ?  W- p2 r
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")9 W, a' W7 O* z2 k* g! e) [0 U" h
  1234. ; and reveal this password!  And of course, any users with read access to this! A# ?! S! ~1 o8 T
  1235. ; file will be able to reveal the password as well.6 t6 E+ Z  f4 v$ |
  1236. ; http://php.net/mysqli.default-pw  O2 V# Q! e, S$ B
  1237. mysqli.default_pw =
    9 _4 `! k# _' t

  1238. 6 L  K& N: \7 d3 N8 F5 m9 A3 O7 z
  1239. ; Allow or prevent reconnect) J/ ]! B+ g% E7 l' `
  1240. mysqli.reconnect = Off7 q, |5 s1 ^5 K, i- a: E

  1241. * j8 E# H0 `6 L( i$ J
  1242. [mysqlnd]4 Q) H2 s4 a) L" a* J: F
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be2 n$ S; }: s6 b) u* w
  1244. ; used to tune and monitor MySQL operations.
      q$ B4 D8 d7 U
  1245. ; http://php.net/mysqlnd.collect_statistics+ V- S5 \0 D/ a$ @+ V
  1246. mysqlnd.collect_statistics = On
    % A( g: _3 w4 v$ _2 X

  1247. 8 p4 A4 X9 p( W& G" [6 X- [9 |
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    2 A6 P+ E  H* f- u9 V
  1249. ; used to tune and monitor MySQL operations.3 o1 Z  S9 Q$ E' R  s5 b) ]+ \! b9 j
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    7 }1 G# l! z, Q7 F$ l
  1251. mysqlnd.collect_memory_statistics = Off
    & w1 u8 t) V4 n
  1252. . V, x& l! [( U* ~
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    4 j0 @- _9 C' ]2 q' K
  1254. ; file.
    5 f, |0 b! q/ a' C
  1255. ; http://php.net/mysqlnd.debug3 I/ y+ v: L0 p  j
  1256. ;mysqlnd.debug =2 `$ ^$ [3 g$ `- P0 h
  1257. 7 S# |7 E) j% w" |
  1258. ; Defines which queries will be logged.4 {" l2 c, z9 H3 K) @" T
  1259. ; http://php.net/mysqlnd.log_mask
    6 h5 y3 R' r. D6 P# ?2 D- Y0 L/ N
  1260. ;mysqlnd.log_mask = 0
    ; R* g/ J" c8 H4 U0 `% p; n- A2 U
  1261. 4 k( b9 p1 U6 J( L5 t
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ' \2 }7 f. r4 X9 W! v: s
  1263. ; http://php.net/mysqlnd.mempool_default_size: h" d2 d. K2 F$ R
  1264. ;mysqlnd.mempool_default_size = 16000
    * ?+ }) `0 B' r0 v' Y$ q9 g3 a
  1265. 5 I* \8 `$ C! R3 v- v
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    : m4 W" O% P* t  a/ k7 U4 e
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ( L+ q& P' _! Y  F  N5 v  [
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    + O  |$ |0 z" N+ z7 m4 n# w
  1269. 4 E+ Z0 x! m1 t; d1 s
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    + f( B  x" P" |" E3 \! ~& Q
  1271. ; bytes.
    / p7 Q! M: s& P" ^' ?
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    0 N9 g& e1 i7 m2 }& g2 `+ a
  1273. ;mysqlnd.net_read_buffer_size = 32768
    # H, w9 K/ S. e1 I5 q

  1274. 3 z) P  }; ]" x
  1275. ; Timeout for network requests in seconds.
    $ L' a3 J8 i6 i8 P1 V
  1276. ; http://php.net/mysqlnd.net_read_timeout
    " ]4 Y0 D" c8 Y/ g9 J" ?2 m5 b* E" q
  1277. ;mysqlnd.net_read_timeout = 31536000
    0 l3 k8 R3 F1 h- P, ~
  1278. , H% z) Z8 ^5 P- k; D; o
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    4 ~, _5 C1 }# A; p! @; s
  1280. ; key.* U! h* U# F. ?1 t1 s
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    1 L# u/ C! Z, g% c1 |! M9 I
  1282. ;mysqlnd.sha256_server_public_key =
    2 i" q2 d, ~) V  f- H7 h
  1283. 7 l4 T# q: z/ c0 Z
  1284. [OCI8]
    8 H+ j$ f+ E8 Y$ A: R+ C
  1285. 2 u+ f' L$ d) O, C
  1286. ; Connection: Enables privileged connections using external& }7 u, i% l! U+ f
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
      T( ^* R+ P) Q& M% j( B# L! y4 l
  1288. ; http://php.net/oci8.privileged-connect
    5 v" ?' @- [" a. K; e
  1289. ;oci8.privileged_connect = Off
    ' B) ^# `( a1 _: K4 X- C: A
  1290. ! n+ ?% d5 [: H1 n
  1291. ; Connection: The maximum number of persistent OCI8 connections per2 K# Q) L5 |: v2 M
  1292. ; process. Using -1 means no limit.  j$ @- d9 v, f9 ^
  1293. ; http://php.net/oci8.max-persistent  U$ f1 W# C9 f
  1294. ;oci8.max_persistent = -1
    3 ?& i& G+ w% ?7 ~% c% L( t
  1295. ! f6 D2 c3 b( n3 p/ E0 v! \& m* g4 d
  1296. ; Connection: The maximum number of seconds a process is allowed to7 o/ ?, G  t- d. n5 G, m1 H! D5 O
  1297. ; maintain an idle persistent connection. Using -1 means idle
    # [, B, m  v; h" t9 J% `; Z1 O1 q
  1298. ; persistent connections will be maintained forever.- i. L0 {, ^$ s2 h2 C, i6 Y
  1299. ; http://php.net/oci8.persistent-timeout
    ; r* M2 l, M6 }- K  C9 `2 t- ]
  1300. ;oci8.persistent_timeout = -1
    ' T4 b- j. f1 B$ ?3 \& @% l; K

  1301. 0 X3 c( Z" J6 v" q( a
  1302. ; Connection: The number of seconds that must pass before issuing a1 {5 {( C. R0 J: a
  1303. ; ping during oci_pconnect() to check the connection validity. When0 Y+ x' ?* j( K8 G/ R' |  t! Z
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables7 q1 I. A5 x) V1 m3 B
  1305. ; pings completely.
    + n- N  |8 o1 g# s8 A- K7 s
  1306. ; http://php.net/oci8.ping-interval
    ( ?& k' k  B- B2 b( o
  1307. ;oci8.ping_interval = 60) ?  K/ d6 O$ E. O( [
  1308. 0 f& b1 Q- D) s; c
  1309. ; Connection: Set this to a user chosen connection class to be used  U. C& X6 [! H) u: b& e6 Q
  1310. ; for all pooled server requests with Oracle 11g Database Resident
      N% Z* P1 |9 q+ e; b6 L. y2 j8 k
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to' @6 z3 M2 \( F- h5 W5 h  [, \
  1312. ; the same string for all web servers running the same application,( x4 I+ k5 m' s. j; O
  1313. ; the database pool must be configured, and the connection string must
    8 z* O  J2 b3 X
  1314. ; specify to use a pooled server.* N! L% M& Z% A& z6 |' v' `
  1315. ;oci8.connection_class =
    / J" c% |1 k/ g( Z; ^7 T( R

  1316. & }0 v- ?; ~$ `" Y' E+ d3 x, I& l6 V
  1317. ; High Availability: Using On lets PHP receive Fast Application
    ; I/ J& l  X3 c  z- V
  1318. ; Notification (FAN) events generated when a database node fails. The
    " q5 S6 L4 I+ M' L; @; r
  1319. ; database must also be configured to post FAN events.
    % N0 a0 ]5 P- o/ A+ _  y8 p
  1320. ;oci8.events = Off  Q0 W3 O" {) g% J  p+ ^
  1321. ' {, d, w4 p7 z' [  E
  1322. ; Tuning: This option enables statement caching, and specifies how- @- \4 f' P% _2 r; T
  1323. ; many statements to cache. Using 0 disables statement caching.7 d" z  d7 |) t5 X
  1324. ; http://php.net/oci8.statement-cache-size
    ( r9 x6 D7 n- E2 t" `  X& f$ Z
  1325. ;oci8.statement_cache_size = 20
    ; @" y: A* s5 U. Y) c, |4 f; g2 j* d

  1326. % F1 z3 d0 W4 {, P" y
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    7 f" [" J/ p4 Q6 r0 m
  1328. ; rows that will be fetched automatically after statement execution.! r2 `% ], n" }, P; J1 R
  1329. ; http://php.net/oci8.default-prefetch
    ; H' H$ Z) m& j& z" q9 W. M
  1330. ;oci8.default_prefetch = 100
    2 M2 a2 C8 x; ?  m  Q, R' J8 g% J

  1331. 9 H7 l$ T3 T6 T
  1332. ; Compatibility. Using On means oci_close() will not close0 W5 p5 b/ p2 _( \* Z) f* G" D
  1333. ; oci_connect() and oci_new_connect() connections.
    4 N' V% U( w9 h0 Z
  1334. ; http://php.net/oci8.old-oci-close-semantics
    # y1 M6 v; H# C
  1335. ;oci8.old_oci_close_semantics = Off5 S- U' M5 U1 l

  1336. - v/ M' m* J7 k
  1337. [PostgreSQL]0 S" \0 J/ |3 d- a* P+ E. O
  1338. ; Allow or prevent persistent links.
    # y: f, U2 o/ k
  1339. ; http://php.net/pgsql.allow-persistent1 S2 e1 k  q/ q& {6 F, o
  1340. pgsql.allow_persistent = On( t5 A! `1 _9 c: \
  1341. # R: w* J8 u1 m2 m3 X/ q# k. Y
  1342. ; Detect broken persistent links always with pg_pconnect().
    % z1 B/ a3 Q5 W9 e1 U
  1343. ; Auto reset feature requires a little overheads.0 w& Q! G9 N& U" }) N; {
  1344. ; http://php.net/pgsql.auto-reset-persistent: i' I8 G; q  k
  1345. pgsql.auto_reset_persistent = Off
    + I8 k$ @  X8 H9 D: M9 W

  1346. # n: \) V! B2 ^: J- @
  1347. ; Maximum number of persistent links.  -1 means no limit.
    # O$ @; @" f, k( t9 G# a- c
  1348. ; http://php.net/pgsql.max-persistent. ]% a) ^8 t0 }! _7 s  p# H% }
  1349. pgsql.max_persistent = -1
    & M9 q' @+ W- W* L  T  q3 e$ G
  1350. * R/ }- I1 j. C
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.$ _% g' A% b5 y2 A7 v" B, @7 Y" W5 i0 A
  1352. ; http://php.net/pgsql.max-links
    " L3 f# }1 n' K+ r4 \/ X
  1353. pgsql.max_links = -1/ J* r, P6 C+ ]# H7 H9 @

  1354. 5 ^8 C6 O. Y' B' q: R8 M
  1355. ; Ignore PostgreSQL backends Notice message or not.2 q8 v* d& J1 N' P1 o
  1356. ; Notice message logging require a little overheads.) B) r/ f# h: @" U
  1357. ; http://php.net/pgsql.ignore-notice$ U7 U: k5 I3 W) l* N% `9 i2 v
  1358. pgsql.ignore_notice = 0$ I  K6 O$ H" v, _" T( S. K* D) l

  1359. ) L: k& c. H; R9 f) ^( B4 t( T6 g
  1360. ; Log PostgreSQL backends Notice message or not.4 O- N1 w- j1 Q9 w. ^% @' w
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.  @$ N3 }9 [1 J+ D3 Y
  1362. ; http://php.net/pgsql.log-notice
    ; V  U9 X. v/ [! m# \" ?
  1363. pgsql.log_notice = 0) A3 E+ f9 ^+ G

  1364. # ^* J0 N5 f. C/ W) M
  1365. [Sybase-CT]% v7 V: B; V  d! m% R. v) N" I
  1366. ; Allow or prevent persistent links." h8 d/ w. D2 y3 ]2 g
  1367. ; http://php.net/sybct.allow-persistent
    4 R4 v% f( n/ h
  1368. sybct.allow_persistent = On% C) y9 T6 P+ s  j

  1369. " M+ |) I9 Q) d' _
  1370. ; Maximum number of persistent links.  -1 means no limit.
    . t* J7 I3 A  u- L
  1371. ; http://php.net/sybct.max-persistent; Z5 F6 G5 L3 |& D8 c
  1372. sybct.max_persistent = -1
    9 _, d& o' C& G) f$ R5 W

  1373. 1 c+ S; M" i8 F. ?) A
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.4 t& S- \) D  U
  1375. ; http://php.net/sybct.max-links, U1 h7 h3 L) h2 d9 x+ E, q( G6 [
  1376. sybct.max_links = -1
    ! |- ]% m1 [9 V! C$ r( E) X

  1377. : A/ @; L: R% C# C5 R% |
  1378. ; Minimum server message severity to display.1 u/ Y9 E( s0 ^1 g
  1379. ; http://php.net/sybct.min-server-severity
    ( l3 j# p1 L9 I2 t# e1 S9 e
  1380. sybct.min_server_severity = 10
    8 C% ~6 o* O, [, S9 r1 O  a* B

  1381. ' [5 m# ~% \4 y' ]7 i
  1382. ; Minimum client message severity to display.) ?/ q! u5 P6 a
  1383. ; http://php.net/sybct.min-client-severity; x. V! }! J0 c0 p5 |4 m7 ?6 |
  1384. sybct.min_client_severity = 10
      p) d/ H8 f4 x) D* g$ o
  1385.   b! ?, K) Y9 O
  1386. ; Set per-context timeout2 a0 k+ j' X$ w, L+ k+ r* X
  1387. ; http://php.net/sybct.timeout
    ; R  I6 U( G* m1 a! V1 d5 _4 Y1 m! ^
  1388. ;sybct.timeout=
    ; I4 a3 }! h7 d& G

  1389. ' M# m" o1 d& B3 e6 s
  1390. ;sybct.packet_size
    % R' i+ k' [+ y+ x  {0 F( |" h# u

  1391. 9 }9 z4 t+ H; z9 J, B, s
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    $ U; v% d1 ?8 ?- r
  1393. ; Default: one minute% a7 Y8 L% A- e8 w( S
  1394. ;sybct.login_timeout=/ x3 C( A  A3 p) `& C5 h
  1395. 2 t) \  K: _  E. }2 F  d
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.3 [/ D$ u  x% U2 [8 I
  1397. ; Default: none# N. C0 B' n7 J
  1398. ;sybct.hostname=
      ?/ D( @( ^. O) [5 h' E# S# d

  1399. 2 Q/ ^9 \- i* {
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    " F# B: \: ]8 e* Y- e
  1401. ; Default: 0
    ( [) U8 ?& X4 ~' }* j2 v
  1402. ;sybct.deadlock_retry_count=! q* m8 |, Z; e, k9 x; c
  1403. & n1 p6 L% I7 C, [, M0 O
  1404. [bcmath]6 T: `% l" i# \3 n
  1405. ; Number of decimal digits for all bcmath functions.2 j. G8 ]3 E: ]9 b6 Q0 N* Q
  1406. ; http://php.net/bcmath.scale) l% F0 B; A2 E4 t. v
  1407. bcmath.scale = 0
    ! o* |; E8 p* g

  1408. & p: B, E1 g* g6 C3 Y4 S, V
  1409. [browscap]
    4 O2 ?/ ?5 k* z* ~( s( q  U4 Z
  1410. ; http://php.net/browscap
    / D# z' I1 V$ P6 F$ T1 ]' `* Q! v
  1411. ;browscap = extra/browscap.ini
    : q0 t7 O  k2 X, Y* t3 F

  1412. 2 J3 K# m, K' q6 E, `
  1413. [Session]) {7 E4 @  ?6 d. ^0 g9 m+ I. C. w
  1414. ; Handler used to store/retrieve data.3 }- v+ @" C  u, {$ u/ Z4 `' I4 ?
  1415. ; http://php.net/session.save-handler3 x# W6 y) {( ^- t
  1416. session.save_handler = files* H* @- I' V( c: B/ q8 o9 M: N4 p2 E

  1417. - r# h; O6 v. F! D
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    / L8 Y- i% c8 d5 |- I( `. E
  1419. ; where data files are stored. Note: Windows users have to change this
      Z9 w# U/ v' w; ~6 J2 U/ w
  1420. ; variable in order to use PHP's session functions.
    # l' [1 [5 r- T' c2 S9 |
  1421. ;8 S- e1 O9 v( m+ _1 W
  1422. ; The path can be defined as:
    ; q8 Q; v# S& ^9 t( X+ F3 S9 r
  1423. ;9 d/ O1 g0 F  j
  1424. ;     session.save_path = "N;/path"1 T4 P) Q% ^& e; l' ~9 z
  1425. ;$ \* z( a5 N, {; d; G4 d0 J! ]
  1426. ; where N is an integer.  Instead of storing all the session files in
    0 N5 ~5 Z+ |) B% r1 p
  1427. ; /path, what this will do is use subdirectories N-levels deep, and5 ?( p: |. y/ h" }& t6 b: j) B
  1428. ; store the session data in those directories.  This is useful if, W" w$ u* p, _8 w. `
  1429. ; your OS has problems with many files in one directory, and is/ N) |* w* b7 F8 i
  1430. ; a more efficient layout for servers that handle many sessions.
    ( ?) p8 _1 c! j6 C* Z, G1 C0 S7 z
  1431. ;% Q. y8 t0 k! k  T
  1432. ; NOTE 1: PHP will not create this directory structure automatically.! }' T1 }. i6 r9 i7 @
  1433. ;         You can use the script in the ext/session dir for that purpose.
    5 ?+ a. B3 Q/ z) N  p# ~% |9 j
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    2 i7 k" b" U* B/ [1 B( ]9 l
  1435. ;         use subdirectories for session storage
    8 G1 }5 @$ j- p6 |  F* s
  1436. ;, ?! D! J; Z4 o) H0 @7 S
  1437. ; The file storage module creates files using mode 600 by default.9 l. K( Q% u: S
  1438. ; You can change that by using
    6 `! }  M0 H5 M; E1 ^+ \
  1439. ;
    0 q+ D$ f8 g6 K5 {- T9 t" _0 P
  1440. ;     session.save_path = "N;MODE;/path"( }& ?0 j7 b8 b/ d' ^& c$ T5 L
  1441. ;
    5 D+ e9 n: A( H- i& n8 S
  1442. ; where MODE is the octal representation of the mode. Note that this
    ; Z- I6 r- l! T! @& l; ]/ Y6 U0 b2 q7 a
  1443. ; does not overwrite the process's umask.- d- e" ^# A) \* I
  1444. ; http://php.net/session.save-path  |( }& x$ A; K# m/ g! A
  1445. ;session.save_path = "/tmp"
    6 g+ ~: ^3 T) v" M) s' {
  1446. - J0 M& X# _, ~+ [# M, r
  1447. ; Whether to use strict session mode.
    6 q* P/ t" J2 R. v
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate- l- k+ n/ f& R2 X6 p
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ( h1 U+ y& K: X4 b# S3 d( O7 c
  1450. ; applications from session fixation via session adoption vulnerability. It is
    , c3 L- c) @  D& ?
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.6 g  u$ N# F) r
  1452. ; https://wiki.php.net/rfc/strict_sessions
    , t8 z2 p3 S+ [
  1453. session.use_strict_mode = 0
    ! B. _% Y, W- S$ A: i. G1 Y- n

  1454. $ `2 b( ?3 ]1 |0 q& ^$ Z7 N
  1455. ; Whether to use cookies.
    + G" J  x1 A6 l8 C5 s, C
  1456. ; http://php.net/session.use-cookies
    ( V9 i; ?+ i( R+ l
  1457. session.use_cookies = 1
    / g4 t+ w! C- N7 O

  1458. ; ~& B, n6 E+ b: |
  1459. ; http://php.net/session.cookie-secure
    1 F9 v) H& d7 H$ V4 n
  1460. ;session.cookie_secure =
    % ?. R/ Y9 G* ^7 R8 ~0 B3 V/ ?: T
  1461. 1 _/ t0 b0 }  I5 H$ R
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    - n1 H; ]1 t/ {4 t: ~' Q7 R9 A
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    ( b( K& Z0 K8 ^0 a/ G3 f
  1464. ; session hijacking when not specifying and managing your own session id. It is
    % J- K. n/ @+ ^: r9 _' f0 R
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ( u9 R6 m  n3 R& A+ M3 Y- [
  1466. ; http://php.net/session.use-only-cookies8 }6 o" H0 ~" p: N8 k0 A5 b
  1467. session.use_only_cookies = 1
    , o6 K) [: w7 |: m
  1468. 3 }  Y/ X6 l  {5 F* U6 L
  1469. ; Name of the session (used as cookie name).# q; i$ L$ _! u. t3 C
  1470. ; http://php.net/session.name
    * S; _' \7 D+ U2 W; D0 y; J. l# u
  1471. session.name = PHPSESSID
    " b) O9 k9 s' }3 b/ o& @1 r

  1472. # e  X# L) g8 ~$ c; p
  1473. ; Initialize session on request startup.
    5 d% ]* g9 c4 \) p3 g# j( z
  1474. ; http://php.net/session.auto-start: u! ?/ w  j6 `6 M+ o7 L& O; n7 W
  1475. session.auto_start = 0+ o1 x4 h# ?, m. j
  1476. 9 b+ T. M+ Y+ |' z! Q: U# K
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ! U: z; M4 Z5 A+ Y
  1478. ; http://php.net/session.cookie-lifetime
    + [( c7 C2 R5 ]1 I  |8 p. K- Z: n9 c
  1479. session.cookie_lifetime = 0
    ; B: |4 i% z  E* J2 t
  1480. 0 M! w' u$ Z+ L  r6 x; }
  1481. ; The path for which the cookie is valid.
    . r0 }2 D6 f2 {/ H% o
  1482. ; http://php.net/session.cookie-path
    $ [2 w% f8 I2 T
  1483. session.cookie_path = /
    - Q% r5 o! y2 q( E% T1 h

  1484. ! w) K9 C: l; |9 [& E, G
  1485. ; The domain for which the cookie is valid.
    2 S- ?, b8 m5 t, f' W
  1486. ; http://php.net/session.cookie-domain
    & k0 I( R/ v: t& t
  1487. session.cookie_domain =
    1 F, d9 N$ X# a9 Q

  1488. ; C, w, \8 ~1 f( X6 {+ @5 S
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.1 z/ z. g9 b+ j7 S# c2 R
  1490. ; http://php.net/session.cookie-httponly
    2 V+ u4 S& L7 B+ i
  1491. session.cookie_httponly =3 Y; k- R4 Q& n3 \1 |

  1492. * V; B3 z7 }  Z% s/ O
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ) E& Q( w4 E6 i& O/ m! Q
  1494. ; http://php.net/session.serialize-handler
    ! o' e1 V! b3 Q3 F8 j4 F: O9 F
  1495. session.serialize_handler = php
    ! t" x! V& L+ L0 t2 p! E5 z
  1496. & S1 v: Q, A2 w5 h) g
  1497. ; Defines the probability that the 'garbage collection' process is started: H5 f( K/ C8 y6 `
  1498. ; on every session initialization. The probability is calculated by using
    9 K" g9 j7 X3 a: D' f
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    7 j  X* \. \1 M! p+ q; N* k* C# V
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 16 M: t9 m. }; F: r
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    8 U% y7 B8 @" ^4 Z8 Z
  1502. ; the gc will run on any give request.% l0 i9 s$ [# T5 O
  1503. ; Default Value: 1  y8 l& w* P" V$ l
  1504. ; Development Value: 1
    . l' z) ?  K0 M0 `, ?5 F: F
  1505. ; Production Value: 1
    % e! N: T2 X, F% c4 x) s3 k+ G
  1506. ; http://php.net/session.gc-probability  j: r& Q- z& U0 x, r2 K% m3 e' }. A: {
  1507. session.gc_probability = 1
    7 f: i7 `2 U2 J5 T
  1508. " |" q' b" B2 R5 W0 ~$ {
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    . \4 }, P& l8 Z. e# r
  1510. ; session initialization. The probability is calculated by using the following equation:
    3 \- f* n, d, u4 X
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ! d( G  [$ |9 I* w
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1& h- H' }) {( |3 O; w; Y
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance4 Q; z; g: h' F8 C1 W  j" f. `) U
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    , b3 t4 X- N2 n0 k! Z
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    - B4 o5 |8 C& A6 @0 g+ s8 _2 R& |
  1516. ; this is a more efficient approach.
    . B! C; \, h: x
  1517. ; Default Value: 100
    4 X$ w6 X" R; Z1 ]
  1518. ; Development Value: 1000
    - L1 j7 a( D2 p* X
  1519. ; Production Value: 1000
    7 b: f! W. X! _- G. q4 O# ]
  1520. ; http://php.net/session.gc-divisor; `. A7 n8 }. B1 F, f
  1521. session.gc_divisor = 10005 ^* @, ^2 h& ]- c$ q/ y# ^8 o; S
  1522. ) k+ ^2 m0 k8 ?! a2 r" V# @: [
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and  n, Z% s0 e% n
  1524. ; cleaned up by the garbage collection process.1 _5 y8 ^$ x; H5 ]
  1525. ; http://php.net/session.gc-maxlifetime- y- C+ c5 B8 `, ]0 c4 G
  1526. session.gc_maxlifetime = 1440/ H2 V, R1 H8 Y9 p

  1527. ! T6 J' Z' ?- g- z; b  `3 y
  1528. ; NOTE: If you are using the subdirectory option for storing session files3 m" ]3 E0 i* B4 I5 I- r' F/ V
  1529. ;       (see session.save_path above), then garbage collection does *not*) L* v9 l  @7 J. [5 S: O" G
  1530. ;       happen automatically.  You will need to do your own garbage  i( H0 u0 X/ u( ?6 z% ?3 a; D
  1531. ;       collection through a shell script, cron entry, or some other method.
    ) ^+ q1 r% P1 [/ |1 L: y
  1532. ;       For example, the following script would is the equivalent of6 F5 K# s4 }3 z5 ^9 [5 m
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    4 W5 }# O, ^' v9 a# I
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    0 c1 @1 c2 P, Q# [
  1535. # e$ O3 Z  t0 I* U' s2 L- P
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.- ~. q6 |8 G$ j$ X2 q# M9 {- Y
  1537. ; HTTP_REFERER has to contain this substring for the session to be# @# N" D' G/ v- ~' z
  1538. ; considered as valid.
    % ^+ x+ m! D5 m
  1539. ; http://php.net/session.referer-check
    5 i, j* J; T" d5 G$ |+ W
  1540. session.referer_check =
    . C, Y) b7 M$ O, \! n% D. i, B0 i) y

  1541. 9 n9 M1 b2 a/ S( \3 X
  1542. ; How many bytes to read from the file., J+ W6 R9 k2 r* A% s
  1543. ; http://php.net/session.entropy-length
    , X2 G3 F5 e9 F8 M/ O
  1544. ;session.entropy_length = 32; n. b7 L8 U) A) k

  1545. + g" }1 U: _2 b+ R* n4 h
  1546. ; Specified here to create the session id.; N) m" _. R* {5 ?
  1547. ; http://php.net/session.entropy-file
    5 T; b; `" J4 V- C. _1 I
  1548. ; Defaults to /dev/urandom
    $ G' S5 d; r( d
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom- S/ D1 D+ A* K* M7 A7 s$ S4 O
  1550. ; If neither are found at compile time, the default is no entropy file.! @$ s$ y5 n! b+ v3 W
  1551. ; On windows, setting the entropy_length setting will activate the  K- S5 ]& ^7 b. D, K, L2 R$ S8 [
  1552. ; Windows random source (using the CryptoAPI)
    1 ^/ I4 r$ o" w: [4 @- P
  1553. ;session.entropy_file = /dev/urandom. g' O, J( S1 g! \, f" a* h3 v# m, n
  1554. ) W6 ]! Z1 ]3 Y" o! ^, _: L
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    & e) j: D+ l) c/ }, b
  1556. ; or leave this empty to avoid sending anti-caching headers.
    5 B( T* w0 s. p8 A, g
  1557. ; http://php.net/session.cache-limiter
    . d! t0 w2 _2 {. y3 ?
  1558. session.cache_limiter = nocache
    + W9 k  d" f% w3 Z6 E1 K

  1559. , j& s0 s, R( P! ?
  1560. ; Document expires after n minutes.8 M  q9 t3 h7 J5 k7 z) r
  1561. ; http://php.net/session.cache-expire; _) R" I) d& Q2 n& X' b
  1562. session.cache_expire = 180
    " {5 S. ~2 K* A& @, i3 F& x
  1563. + `  D- ~9 {3 |
  1564. ; trans sid support is disabled by default.4 I/ i' @( O8 o! A* M/ f
  1565. ; Use of trans sid may risk your users' security.& u% R# V- c/ g6 M: A
  1566. ; Use this option with caution.% Z  z; z9 G0 n- o  ~
  1567. ; - User may send URL contains active session ID
    3 J, ^6 u0 d. n& T% f4 r* H2 D7 T* D) w
  1568. ;   to other person via. email/irc/etc.$ Z+ e8 }. U+ w3 \
  1569. ; - URL that contains active session ID may be stored
    & P2 i! m1 P! F7 c
  1570. ;   in publicly accessible computer.
    8 s( ?) }# o. f$ r
  1571. ; - User may access your site with the same session ID
    - P: ?& h& D  b) p2 [8 \+ K; i
  1572. ;   always using URL stored in browser's history or bookmarks.3 H" Y' Z# ]3 H- c" Z* a$ R6 r
  1573. ; http://php.net/session.use-trans-sid' m* ]$ n. B5 q( b& \
  1574. session.use_trans_sid = 0
    5 Y5 z( b1 L# P; \
  1575. , `" _8 r2 d4 |, M& X0 N0 `+ i
  1576. ; Select a hash function for use in generating session ids.) x( K& K1 Y' |8 |9 J$ X& W/ ?
  1577. ; Possible Values
    ! Y! s* t" N5 r9 N
  1578. ;   0  (MD5 128 bits)
    ' f, S* q! ?8 D
  1579. ;   1  (SHA-1 160 bits)
    9 ]' h0 C; |) V8 J/ ^$ ]
  1580. ; This option may also be set to the name of any hash function supported by  @' h( C' ]% }- y) P
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()$ D( |! Y4 I3 ~1 D# B7 f1 y. Q
  1582. ; function.
    # R( ?2 o" o8 Q  @5 b0 Z
  1583. ; http://php.net/session.hash-function7 T3 {3 K3 o( B0 g- }7 J+ t1 L
  1584. session.hash_function = 0
    - C" W. v+ D2 b( J1 F* ^8 j; J
  1585. 5 a0 O- X3 |! J6 T/ K7 F  z! S
  1586. ; Define how many bits are stored in each character when converting
    2 F7 Z3 P3 B  a# L" F
  1587. ; the binary hash data to something readable., ~- u2 P( B' Z5 k5 ?
  1588. ; Possible values:, I3 Q  O: C! A
  1589. ;   4  (4 bits: 0-9, a-f)* U" @# M% z, W, I( R0 Q5 H
  1590. ;   5  (5 bits: 0-9, a-v): y( I; g, `/ A, J! J/ U& n
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")1 @( R  M, M6 l* ]$ A& H
  1592. ; Default Value: 45 K' r6 M3 s" r% G8 [3 r- l2 W5 B
  1593. ; Development Value: 5
    3 G. b# [" y. v* a* T
  1594. ; Production Value: 5
    9 g+ |! W* Z' C$ G/ T. d8 E
  1595. ; http://php.net/session.hash-bits-per-character
    ! N0 m  e$ C2 S: l, H/ `
  1596. session.hash_bits_per_character = 5
    - e( ^: ~% A$ `4 u4 n4 Y: k

  1597. 8 R+ R8 q4 q; ?* ]1 J( f
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.% ^0 U6 I# f- k3 F9 m' n$ r* S
  1599. ; form/fieldset are special; if you include them here, the rewriter will) q' d8 H% x8 q$ }+ ^9 n
  1600. ; add a hidden <input> field with the info which is otherwise appended' P' h& B% {  ^) L7 S7 |0 i
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry., U( R7 `  h" \" l3 u" V
  1602. ; Note that all valid entries require a "=", even if no value follows.
    3 ]: [% c7 m& v' q( n5 x# a) ]! s
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
      w$ R2 [! A- B+ W9 Y
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( x8 \9 Z2 t5 W* k0 J: |
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ Y  n9 w2 r7 r% g, X
  1606. ; http://php.net/url-rewriter.tags+ N4 J7 x8 A3 A- {9 j4 Y3 N
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"+ n( l5 ~# H. S2 x$ H
  1608. 3 {3 A6 {3 \  h- p( L
  1609. ; Enable upload progress tracking in $_SESSION% k* O5 u2 a' X0 I- B! v. s$ s& b; W
  1610. ; Default Value: On
    # x' v  W$ X+ G% p8 [, m
  1611. ; Development Value: On
    . i) W  y9 Y$ Y# P9 x, c
  1612. ; Production Value: On
    " o  i9 ^( l& K9 \
  1613. ; http://php.net/session.upload-progress.enabled
    # W0 U/ a, o( [7 I* O$ M
  1614. ;session.upload_progress.enabled = On
    ! E' m5 T7 X, P+ [; h
  1615. " t, T9 Y5 H) M+ Y6 S7 ?
  1616. ; Cleanup the progress information as soon as all POST data has been read
    * P. S  e7 B! n
  1617. ; (i.e. upload completed).: r9 a1 E% d( h9 I0 A$ F
  1618. ; Default Value: On8 a4 v/ f1 D. g' b! w
  1619. ; Development Value: On5 s% S) o0 O; ]1 u% T: a2 q
  1620. ; Production Value: On) O2 \! q* i% A) _) u
  1621. ; http://php.net/session.upload-progress.cleanup
    5 A- W5 o5 J7 Y- }5 l  g
  1622. ;session.upload_progress.cleanup = On
    ; m$ i* |1 j. r0 [
  1623. 7 |" U4 Z8 Q' R. O) U
  1624. ; A prefix used for the upload progress key in $_SESSION
    % ]& |+ Q! D$ h, Y. Q, }' J( _
  1625. ; Default Value: "upload_progress_"
    " S6 Z- ]/ p3 c
  1626. ; Development Value: "upload_progress_"
    / j) k1 |- U, x/ P5 V1 V, E
  1627. ; Production Value: "upload_progress_"5 T2 {/ ^- A2 X& d+ p
  1628. ; http://php.net/session.upload-progress.prefix
    & `1 s- ]1 {, L% j$ c# c/ k3 {' e
  1629. ;session.upload_progress.prefix = "upload_progress_"
    * t, r, B. x8 E" d+ V8 W& x
  1630. 3 H, r1 N; p& B7 A3 o' N3 Z
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    % A3 r1 G7 @, [% x1 s
  1632. ; containing the upload progress information
    4 b; G* J8 m/ N6 Z6 a2 x* ]
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"! c( Q: W' Q( _9 o
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS": H% D6 ?7 [- g
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : O1 `1 U. }' b* x" r
  1636. ; http://php.net/session.upload-progress.name  t, Q0 l3 \) ~# Y
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    8 f1 ]7 g# p: ]" R3 X2 j
  1638. & F$ L& |6 ]5 g4 c
  1639. ; How frequently the upload progress should be updated.6 o5 q% y+ L7 d1 s' {9 Z
  1640. ; Given either in percentages (per-file), or in bytes1 d' L) A/ h* i
  1641. ; Default Value: "1%"
    0 O* Y0 {% W) I4 R( @) C' l
  1642. ; Development Value: "1%"
    ( n  `8 P/ P) Z& W; U2 i( ^5 Q
  1643. ; Production Value: "1%"
    ' l; [5 q. ~+ \5 K. c0 m" H7 j
  1644. ; http://php.net/session.upload-progress.freq+ ^+ {/ q# Q; H0 V. s2 A; ^
  1645. ;session.upload_progress.freq =  "1%"
    + X! U$ c6 E1 d" a; H1 R

  1646. ) [9 @2 w9 ]  }9 O, e, L
  1647. ; The minimum delay between updates, in seconds
    ! x: M. W6 F( e# Q, I$ @$ Q
  1648. ; Default Value: 1# j6 @" ?! d: ]. E0 o; H" }
  1649. ; Development Value: 1
    . w  V! A6 r/ m3 v7 C
  1650. ; Production Value: 1  d2 o1 H4 `; S& ?1 K( m# e
  1651. ; http://php.net/session.upload-progress.min-freq+ ^! m3 S& V) q
  1652. ;session.upload_progress.min_freq = "1"8 s" D8 [1 m* U8 ]+ ~
  1653. 3 b6 O* D9 V6 i; O& R
  1654. [MSSQL]
    . F& V( g% {4 q6 F7 L
  1655. ; Allow or prevent persistent links.' ]9 h' c5 `* L# t
  1656. mssql.allow_persistent = On+ l. p3 O+ `4 a% x6 I4 s7 s7 x

  1657. 1 \! Z; P2 P- J' E" z% s7 m
  1658. ; Maximum number of persistent links.  -1 means no limit.) Z7 c, l7 x# p: j1 x- D1 {
  1659. mssql.max_persistent = -1" E1 }8 ^8 A! J8 w6 y
  1660. & R) @. ^  J0 W* }7 Y$ |3 \
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.7 u% [7 `: @: A9 Q, j; d/ e
  1662. mssql.max_links = -1
    3 W2 v5 s0 Z! w* q2 K

  1663. : ^; B: T8 `3 L* Q. U! k+ ^3 Q7 e
  1664. ; Minimum error severity to display.
    % Z1 B& _7 q+ H0 i# i: r9 W% _% w
  1665. mssql.min_error_severity = 10
    , X# s3 H8 f4 }/ k  K, b0 e

  1666. 3 W! X/ g0 a, ~% c. M
  1667. ; Minimum message severity to display.
    6 i7 g0 `8 s5 D0 B
  1668. mssql.min_message_severity = 10. t. `. n% x/ {2 H) T& o" j
  1669.   c. @. _; J& z: D0 x9 t6 f
  1670. ; Compatibility mode with old versions of PHP 3.0./ l  E; L/ W* \& h* Z( h* B
  1671. mssql.compatibility_mode = Off
    ! c; V- j5 Z  L) m
  1672. 7 o4 s2 d9 ]0 S2 A
  1673. ; Connect timeout. W+ A/ j" R0 }, R
  1674. ;mssql.connect_timeout = 5- L. R' C- n2 s3 m' w% ^
  1675. ) t3 n6 c6 k2 h5 t5 g8 }
  1676. ; Query timeout
    9 t" j7 m( e$ o" R9 |2 S9 Z/ `2 m+ b% M
  1677. ;mssql.timeout = 60
    ! R$ X1 R5 H4 x3 J% m

  1678. : a4 }) `( z7 C0 r3 v
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    ; @& C) e1 ^5 ~9 z2 L
  1680. ;mssql.textlimit = 4096
    ! \. t+ g& h% {
  1681. ' h$ b7 \$ K% I* p) q6 O) Z; N
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    4 ?+ s' \+ t2 A. y
  1683. ;mssql.textsize = 40966 I+ p7 V  H5 [& I4 ^* F- Y

  1684. " R4 f; s8 l* \6 S* K; n) \
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.9 N# a' s. S# N7 e! v
  1686. ;mssql.batchsize = 0
    # a, R( D* k$ h  B: x( S5 K4 P

  1687. $ l/ c& _4 g; E! l
  1688. ; Specify how datetime and datetim4 columns are returned
    # N% x5 S4 j+ E. Z" w
  1689. ; On => Returns data converted to SQL server settings: S- O; n! Q, q$ k0 M0 \  g( [
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss# k) ?  ^. C* o" i8 ^" I# Z
  1691. ;mssql.datetimeconvert = On
    - R* N7 P2 u, _* g; e$ Z, b
  1692. / ^$ C9 l* E' S: r1 V7 Z! d
  1693. ; Use NT authentication when connecting to the server7 e+ I$ T1 {; ?) `* Q8 v* @
  1694. mssql.secure_connection = Off
    3 u* u2 G( c% B& w5 Z" k* e

  1695. $ h( ~+ n" Q# D* I
  1696. ; Specify max number of processes. -1 = library default
    ' D  |0 ]2 @( y( ~$ b* g  W
  1697. ; msdlib defaults to 25
    9 J, k/ _0 o. p+ X  t
  1698. ; FreeTDS defaults to 4096
    2 V0 M8 u* S) y3 f- C! _  y
  1699. ;mssql.max_procs = -1
    , [' H; |% L3 @2 s( O) a7 m& X
  1700. * v! S5 u! k$ y( O. p: N
  1701. ; Specify client character set.
    9 M0 [+ h8 `( B8 w
  1702. ; If empty or not set the client charset from freetds.conf is used7 b) s4 Q: t9 g
  1703. ; This is only used when compiled with FreeTDS) F# X; s; o# P" B8 Z; ?. v! L
  1704. ;mssql.charset = "ISO-8859-1"& Q! y- y' a, Q6 L7 S
  1705. 8 r) G6 B- M7 \  {9 D
  1706. [Assertion]
    / e% k% a& q  I' n9 C2 J+ r+ Q
  1707. ; Assert(expr); active by default.) b: h8 p( `/ K) J" K; H
  1708. ; http://php.net/assert.active
    2 V8 {: U; i, T
  1709. ;assert.active = On
    1 p/ I9 O5 ~/ I- [/ \

  1710. / F; V) d/ E  r! c& R
  1711. ; Issue a PHP warning for each failed assertion.
    : r. Y  f: L" N! m2 i
  1712. ; http://php.net/assert.warning% B0 [; K- n: t( e
  1713. ;assert.warning = On
    % E1 Z; E8 s% q; H( u; q

  1714. / Z# q% h6 W9 p! h: w
  1715. ; Don't bail out by default.' t4 n% x! G* q' a" x4 [  k
  1716. ; http://php.net/assert.bail( z4 @. p4 E  i+ Q0 A
  1717. ;assert.bail = Off
    - ?5 a7 X: v4 ^9 l! p: k: l
  1718. 7 p: b1 u; T$ C$ a
  1719. ; User-function to be called if an assertion fails.; v; L" n7 v3 D: U/ B
  1720. ; http://php.net/assert.callback- e! @2 k0 F! O3 K$ k
  1721. ;assert.callback = 04 q5 U/ t* L# _& r3 E  l

  1722. 1 w5 p5 S0 V# `
  1723. ; Eval the expression with current error_reporting().  Set to true if you want- v, j# z9 y' V: ?5 d7 `
  1724. ; error_reporting(0) around the eval().
    ; H# F; O6 k% Q
  1725. ; http://php.net/assert.quiet-eval  S# T3 y2 ], t$ X8 ^7 }
  1726. ;assert.quiet_eval = 0
    ' ?- J0 m' ?0 Q* z$ @
  1727. 8 c5 }6 t- N0 m" o: O* Y
  1728. [COM]
    ) O% h( V' w* |& O
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs* r- }+ `  J& A3 `4 V. w% s6 H
  1730. ; http://php.net/com.typelib-file
    ( u; `3 f  b. V6 B! f
  1731. ;com.typelib_file =
    0 s  X3 q* U/ p3 J

  1732. ( U: F+ b# w  C9 @; k# V5 `# W
  1733. ; allow Distributed-COM calls: P- O' X: L4 e4 Y! @; i8 m# J
  1734. ; http://php.net/com.allow-dcom
    6 A- _, o: E! b  V; X
  1735. ;com.allow_dcom = true
    ' [$ F! s3 A5 y: H) @
  1736. / p, Z* o$ A0 t3 R2 W7 {% t2 m
  1737. ; autoregister constants of a components typlib on com_load()4 t$ f" P' @- B1 Y1 h9 E1 W8 r
  1738. ; http://php.net/com.autoregister-typelib
    * O  ^- |; a7 |) p& `! m
  1739. ;com.autoregister_typelib = true
    $ d! b' G+ `6 i4 [" f
  1740. 3 m8 L+ D/ e* N' g" s) p
  1741. ; register constants casesensitive
    * w3 v9 Y! ]/ D7 w6 d, D
  1742. ; http://php.net/com.autoregister-casesensitive' G. A$ `8 b- V+ K' _0 K
  1743. ;com.autoregister_casesensitive = false
    ( e0 v7 p% G5 S2 H
  1744. 6 h! P+ L8 u" Q9 r1 f, V# t
  1745. ; show warnings on duplicate constant registrations8 G; F7 m7 t( j2 |% D
  1746. ; http://php.net/com.autoregister-verbose- ^6 O% B& @) |9 d
  1747. ;com.autoregister_verbose = true2 j) |9 t8 T! x$ e( Z
  1748. 9 ~/ ?: Z# I0 c# W
  1749. ; The default character set code-page to use when passing strings to and from COM objects.5 G$ h) l" t, G9 I, A* z
  1750. ; Default: system ANSI code page
    + ]" X% z2 E& Y0 U2 M& P8 p
  1751. ;com.code_page=
    9 T7 N5 Y/ {! v3 c3 b2 q$ R. L+ E, M
  1752. 0 {* A+ g  [7 b1 _0 ^( e& ^) ?* p
  1753. [mbstring]
    , o- I: x6 ?. u/ W5 T
  1754. ; language for internal character representation.
    ! c' \; m+ U. O" B5 [! {) b
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.  d8 ]& X  s! @6 a- E$ O- Y
  1756. ; http://php.net/mbstring.language
    0 V- c1 w- a0 `. m' A) Q5 a
  1757. ;mbstring.language = Japanese
    2 m2 |3 X8 C' r) P. j7 ]- Q

  1758. 8 }1 ^' F$ \+ f8 s; Y
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    0 p8 J, J2 c, w3 F& d
  1760. ; internal/script encoding.
    - _% N  ~  Y2 v2 m! _- q9 G9 B
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*). E* T+ O, {1 _2 A" r- v/ v0 u3 f
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.8 K# Z* F7 J5 X/ o1 ~# ]3 C; \% `
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    * d5 b. S/ I5 {# l
  1764. ;mbstring.internal_encoding =) h2 u7 Y/ y; h( i

  1765. $ A+ C! T8 Q% L/ t2 S( s
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.. R: m5 l! F9 S9 s9 V
  1767. ; http input encoding." N) F4 p; \/ t" b2 r. l
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    , }# k4 r( G: S$ j
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.0 A7 t5 |& |1 `8 h& G
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input! M+ O& H3 I- ?' Y- j
  1771. ; http://php.net/mbstring.http-input
    % u3 @4 Y% C" w7 [
  1772. ;mbstring.http_input =& h3 w" _; f2 m# T- Q
  1773. 5 k6 i( T: A% y- [7 w
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    - l  d3 L  w3 \) U3 W( A/ c
  1775. ; http output encoding.
    " e8 y5 `; w/ r: Y; X
  1776. ; mb_output_handler must be registered as output buffer to function.. @+ n! ]* ?2 v* T% Q0 j6 a
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    : \* Q, S* d0 O7 @; |4 L
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    7 x5 H# E6 ~$ F# J! \( U
  1779. ; To use an output encoding conversion, mbstring's output handler must be set# r9 z) n" @5 G8 g& K, ~7 u* S7 z; `/ T
  1780. ; otherwise output encoding conversion cannot be performed.
    6 u! T3 [0 G0 O/ |6 c6 d6 N- _
  1781. ; http://php.net/mbstring.http-output" r7 @( \2 ~; T/ R
  1782. ;mbstring.http_output =$ d8 Z  Z- y6 ~1 ]: p) c# r4 Q2 b
  1783. 5 k/ ~2 I5 h% k( u
  1784. ; enable automatic encoding translation according to
    2 D" Z$ }, ?# z5 K: r* H# h. \# r
  1785. ; mbstring.internal_encoding setting. Input chars are
    2 f1 H2 }: r/ [) z  p" j2 ^
  1786. ; converted to internal encoding by setting this to On.
      V& m# R! S3 H! l0 m
  1787. ; Note: Do _not_ use automatic encoding translation for  U' r; B( O( ]" g
  1788. ;       portable libs/applications.3 r) s# t9 D" M% r, f5 Y4 S3 @* W
  1789. ; http://php.net/mbstring.encoding-translation+ ~+ [. z- @, D+ |
  1790. ;mbstring.encoding_translation = Off
    ' z9 c( u6 C$ g+ w/ d5 T5 ?

  1791. + Q" h* b; y9 `
  1792. ; automatic encoding detection order.
    . l( X) A$ v, \% f$ E& L# f( T
  1793. ; "auto" detect order is changed according to mbstring.language
    & u1 H  A( m- R) J# j
  1794. ; http://php.net/mbstring.detect-order
    % K0 t$ `( n' O- A! Q! A
  1795. ;mbstring.detect_order = auto
    . S* K  }' w8 t  S
  1796. . s  B" B) V7 H) o. n! i
  1797. ; substitute_character used when character cannot be converted) l! V6 v! G( A" j
  1798. ; one from another/ _! Q- ~9 Z' T$ C
  1799. ; http://php.net/mbstring.substitute-character. j8 A3 v6 n2 o6 b
  1800. ;mbstring.substitute_character = none2 B& `  W) {# T
  1801.   }8 _/ @/ a3 Q& Z5 j/ {9 ]
  1802. ; overload(replace) single byte functions by mbstring functions.
    : w6 z( a3 h4 N4 R
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    % `6 H0 _. `; p7 _6 H+ z3 V  B' T. K$ f  g
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    % f+ M; T6 J# {3 X  j5 }8 e# x5 x
  1805. ; For example, 7 for overload everything.3 K* r3 J6 q2 ?$ ?
  1806. ; 0: No overload
    " q) J( A, G9 t+ e" l( O5 R
  1807. ; 1: Overload mail() function+ t) D8 w! \- U
  1808. ; 2: Overload str*() functions
    4 x( M% ~; _4 j4 d! D
  1809. ; 4: Overload ereg*() functions3 l5 @, N6 Z2 W6 q" d# ^- V
  1810. ; http://php.net/mbstring.func-overload& `, Q$ K8 `/ m* c
  1811. ;mbstring.func_overload = 0
    0 R4 f9 ~. d. d% E

  1812. , B  F1 M: J! n% m. \" I0 v" [
  1813. ; enable strict encoding detection.
    4 Z1 w/ E6 N8 P( o6 Q) z, T' [  ?
  1814. ; Default: Off
    & W' g2 K: X# J  `3 }0 D$ j% a
  1815. ;mbstring.strict_detection = On
    & K/ k$ `  R+ e! w+ e. G4 w

  1816. 9 S1 H7 L3 k9 d/ f* q
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    0 O$ O) T# _* O9 b; ^
  1818. ; is activated.
    1 V+ V5 [; N/ w
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)9 |. Y% g8 p+ o$ ~3 y
  1820. ;mbstring.http_output_conv_mimetype=8 ~1 P( ^  e0 R  y" |3 R! K
  1821. ! P  D4 K$ d" T* B
  1822. [gd]
    9 C$ c2 B" _# g7 T* Z
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    & h* \8 t% S" F2 P- p$ A
  1824. ; a gd image. The warning will then be displayed as notices& B& a9 ?1 B/ V  A( K( Z
  1825. ; disabled by default
    3 D- G0 S; r: G5 v% q
  1826. ; http://php.net/gd.jpeg-ignore-warning
    9 n" o7 H: k' }4 ^4 ~2 J+ |( a
  1827. ;gd.jpeg_ignore_warning = 0
    0 I; f# k5 D5 |

  1828. 1 [, W, U  [# l" j# V9 P
  1829. [exif]
    / I$ `! [8 q" U5 a2 l: h. D1 {7 v1 R
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.8 }4 ?, M2 n6 q9 K0 d" B8 h/ w8 H
  1831. ; With mbstring support this will automatically be converted into the encoding( f$ Q& t9 Y" t. ~) b" Z: Y& F! y* N
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ' S# D3 p0 N; {5 W2 s  ]% ^' C# Z9 l( M
  1833. ; is used. For the decode settings you can distinguish between motorola and: f" R0 q5 x0 L( Q
  1834. ; intel byte order. A decode setting cannot be empty.! Y/ t; H' ^4 b
  1835. ; http://php.net/exif.encode-unicode8 c) e4 a* h# F$ e% T
  1836. ;exif.encode_unicode = ISO-8859-15
    $ Y1 X% l% z% w+ Y: R& F; R
  1837. 0 }/ ^% B+ d% N4 L9 o4 c' L
  1838. ; http://php.net/exif.decode-unicode-motorola, C9 n- K6 X. l
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    0 a8 g9 b* F9 d4 Z$ Q
  1840. 4 k: J' @  A7 W0 Z1 o  W
  1841. ; http://php.net/exif.decode-unicode-intel
    2 i, E$ d4 U4 i& \
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    7 V! d8 ]$ n% N! h
  1843. . x, u2 q  k9 k4 C$ o+ y
  1844. ; http://php.net/exif.encode-jis
    ' `) D# W2 p' p7 H+ Y6 E+ L
  1845. ;exif.encode_jis =8 X% ?' O& @4 h% J

  1846. 5 q) N- J/ d$ u0 G
  1847. ; http://php.net/exif.decode-jis-motorola9 W6 _; r' ~1 i# L
  1848. ;exif.decode_jis_motorola = JIS+ o/ d$ Z2 b' l/ |
  1849. 6 m' i/ j8 J1 y9 O
  1850. ; http://php.net/exif.decode-jis-intel
    ; x& [  L% ~( r  `
  1851. ;exif.decode_jis_intel    = JIS
    9 F( R5 D! o8 C' I5 q8 V. D/ C

  1852. - e# y4 S3 h, b% [8 ]
  1853. [Tidy]
    ! j7 k5 ~. q3 r0 n2 `6 o2 j% B
  1854. ; The path to a default tidy configuration file to use when using tidy
    2 ~3 t2 m# ?: N) O: ?' P( n
  1855. ; http://php.net/tidy.default-config
    9 ?+ t7 |  A( v4 {" x4 Y
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    3 ^+ P0 k* F5 ]# ~& G1 K& A) b

  1857. & N( v4 H, X  r2 m6 }
  1858. ; Should tidy clean and repair output automatically?
    & C+ i' f' K( j, F
  1859. ; WARNING: Do not use this option if you are generating non-html content
    + @0 y* x4 l; ^; Q# e" ^" ^8 _
  1860. ; such as dynamic images
    4 P( e5 }' f3 Q% K: z0 u
  1861. ; http://php.net/tidy.clean-output
    ( d: R  X5 J) {' \0 ~- S
  1862. tidy.clean_output = Off! t5 M3 v; ~$ P; Y; V/ w

  1863. 7 p" k5 h  o# A" S% z
  1864. [soap]
    3 B5 s4 U) g4 S  x: I" }
  1865. ; Enables or disables WSDL caching feature.
    , V- i$ A# f; o& G; `& B2 m5 u
  1866. ; http://php.net/soap.wsdl-cache-enabled
    : l+ W0 Q8 m$ [$ h
  1867. soap.wsdl_cache_enabled=1
    8 Z. Y$ d- u0 {$ R% Q

  1868. : B7 m9 A* u* c& X- _- W- C0 K
  1869. ; Sets the directory name where SOAP extension will put cache files.
    1 T& L9 |- q9 W5 U4 f  J7 C; m3 T
  1870. ; http://php.net/soap.wsdl-cache-dir
    4 g' q3 y0 k! @; ^
  1871. soap.wsdl_cache_dir="/tmp"3 s& d: x8 v7 @  q
  1872. 8 P. m/ |- p7 l, z% k4 D
  1873. ; (time to live) Sets the number of second while cached file will be used
      \. g0 A4 k9 z; t% c/ I
  1874. ; instead of original one.# @2 ^+ [. L& H
  1875. ; http://php.net/soap.wsdl-cache-ttl/ K6 m- _) Y: k: g  L+ }- _* |; _
  1876. soap.wsdl_cache_ttl=86400
    4 ^4 A9 A' k$ X3 |& B  j0 s
  1877. 9 S1 i+ j4 n$ S
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    # B5 V5 V+ B# h2 p3 b5 s% Q* M
  1879. soap.wsdl_cache_limit = 50 ?" W, O8 W8 V  |& J

  1880. " ?2 z8 Z! w7 G) J; E% Q
  1881. [sysvshm]
    ' W! \" W" {( g& b/ k
  1882. ; A default size of the shared memory segment: ~, A& E% P% R! s  e* X' r4 u
  1883. ;sysvshm.init_mem = 100002 i( f4 C& K' }) X- m5 C% j9 J; @
  1884. 4 V. d" G8 G8 {" w4 @! N* P
  1885. [ldap]& [+ R4 @8 g) @- H0 G; w
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    7 e. `* ?9 l! Z5 O5 z) o2 [# p
  1887. ldap.max_links = -13 M! u% s( p5 Q) t6 L

  1888. : x( O1 a8 x- P) s3 D; P( k  u
  1889. [mcrypt]
    . C( s/ l% m! W
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    - |" d& H2 {* I1 G+ n; j# b# E
  1891. ! W# f9 B" V. W: E
  1892. ; Directory where to load mcrypt algorithms3 t+ Y3 z* e% a( f. L
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    7 T' b# ?2 b2 j/ I; s
  1894. ;mcrypt.algorithms_dir=
    ) A, y5 E6 i4 L0 e8 k9 e- R3 n
  1895. ; M, C  I! _+ P
  1896. ; Directory where to load mcrypt modes/ ]& E. I+ J) j/ k+ I
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    % F# O( E+ X( {" V! D( N
  1898. ;mcrypt.modes_dir=1 |- J% E& ~6 G( p

  1899. ' E+ U# P$ t9 u* ^2 l- |  E
  1900. [dba]
    / G+ X  G  J: S. z/ N1 q
  1901. ;dba.default_handler=
    5 k/ R: V3 k; b0 ]$ t

  1902. / z6 w. ]2 M6 [. Q
  1903. [opcache]
    % x' s& b1 ^' x7 P. H
  1904. ; Determines if Zend OPCache is enabled8 n, \( H! X8 W& S6 u1 r, c  A
  1905. ;opcache.enable=0
    & M% B& v/ X4 C
  1906. + Y* `/ `/ n2 Q4 w+ K9 z" S
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    / T5 J1 g0 X; f: |( R. D( Z
  1908. ;opcache.enable_cli=05 B8 p# O  M& t4 S! s+ g. j6 u

  1909. 4 J7 n& O' V, w/ a4 o2 V# j$ Y3 C
  1910. ; The OPcache shared memory storage size.
    : k8 e$ \) |6 s9 R% I" Z9 {* V
  1911. ;opcache.memory_consumption=64
    5 G! A7 g: Q/ h2 b# h  j# B. |( B/ R
  1912. 0 {6 ~; J3 [" s  F
  1913. ; The amount of memory for interned strings in Mbytes.$ W# s* a& k5 t1 J
  1914. ;opcache.interned_strings_buffer=4" ~* r, Z. I; t  i, _# q( u7 O9 f

  1915. + L2 q  K7 v! i# q  }
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    1 p! r+ F3 V( |& W
  1917. ; Only numbers between 200 and 100000 are allowed.7 m; ?/ Y% K9 I; @
  1918. ;opcache.max_accelerated_files=2000
    ! ]2 s2 U! @, Z! O  }! Z
  1919. + ~! W+ h. F/ o0 E7 \# }3 k
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.3 C6 G" o1 q5 |& I: L. K: y. b
  1921. ;opcache.max_wasted_percentage=5
    * \; P0 l, A1 w, X. o# M4 `
  1922. 8 \, m! Z% B' a% q  B+ K
  1923. ; When this directive is enabled, the OPcache appends the current working
    ' l) Z9 s( I" P6 W
  1924. ; directory to the script key, thus eliminating possible collisions between
    + A8 R7 w7 t' t: H; M3 S
  1925. ; files with the same name (basename). Disabling the directive improves* f1 k& [: a' y, }, ^9 t
  1926. ; performance, but may break existing applications.5 p9 n0 H& }$ E6 c
  1927. ;opcache.use_cwd=1( l* d( {! R- h, v3 p' ~

  1928. ; N( T  Y; E) {7 B( Q
  1929. ; When disabled, you must reset the OPcache manually or restart the2 N' v6 o" p& }5 l$ ^
  1930. ; webserver for changes to the filesystem to take effect.
    3 e) }+ M  }% S0 b1 }0 Y
  1931. ;opcache.validate_timestamps=1- H- I  ~8 d1 o1 u
  1932. ( n8 ^: z8 N7 J
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    . G; @4 @1 b$ x7 F, a
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    . ], L9 S7 E3 a0 v' s, m; v$ M
  1935. ; once per request. "0" means always validate)! e* S8 {% w2 S4 g' |3 I$ s
  1936. ;opcache.revalidate_freq=2+ ?8 u. b/ \% O  U
  1937. : V: c: L7 i# L  @
  1938. ; Enables or disables file search in include_path optimization) F: W8 G$ }" r2 B/ P" y
  1939. ;opcache.revalidate_path=0$ f8 B& \5 w6 \* {2 R0 s

  1940. 0 W" o! I9 _3 Z( k. ^, ~" s
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    - ^: k& P. }7 H' W) D8 \1 j
  1942. ; size of the optimized code.# c) T  j) t# P, J
  1943. ;opcache.save_comments=1
    ) j; [/ e# m& E" ]  h7 J% o" e7 a
  1944. 0 G" O0 K2 B3 O/ j& W7 w9 w
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"7 B3 _: H8 V) Z& W0 R5 r! I
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    5 u0 _, |; N2 t& R
  1947. ; that don't need them anyway.: U6 D) Z7 |3 h8 P: N7 G9 ]
  1948. ;opcache.load_comments=1$ ?3 m) S! s, ~6 C, Z
  1949. & I) @+ `+ A' A3 w: P) j" ?$ d
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    * t( E/ E- V9 w/ @$ p
  1951. ;opcache.fast_shutdown=0
    0 U* A& |8 Q' M* m8 o; G8 t* ?

  1952. ! J% w: J/ y4 N5 F
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    5 p; c  k4 ]9 I" O; n: [
  1954. ;opcache.enable_file_override=0
    3 W8 S1 v) f; n' t9 h  g

  1955.   V: T* p. U/ ^1 @  x# O
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    3 f) f. U6 B- }4 L" J2 P
  1957. ; passes4 Q! [9 r$ S% ~, b  K. s: ]
  1958. ;opcache.optimization_level=0xffffffff8 k, L) ~) k3 m3 F  m/ ~) F. ^
  1959. 4 m4 C1 v3 F& g. N
  1960. ;opcache.inherited_hack=1
    ) Y. y" E7 m: J! P9 A9 I
  1961. ;opcache.dups_fix=0( Y8 M+ z2 L3 V7 C' @
  1962. # [" e# |( |5 Q* ^* E
  1963. ; The location of the OPcache blacklist file (wildcards allowed).3 ~' O9 R( m; e+ o8 |6 \+ G& `
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    9 n( [& S- E- o: ~4 \: X
  1965. ; that should not be accelerated. The file format is to add each filename
    ) ]# q/ D" f3 F
  1966. ; to a new line. The filename may be a full path or just a file prefix* e$ a* ^$ B8 j" |( o! F4 ^2 A
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    + b$ _1 V3 A' m
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    4 o& l4 N0 a: I' N
  1969. ;opcache.blacklist_filename=
    3 C/ \, x+ t9 N( ^& H' d( r( ]" e
  1970. 9 k& y9 s$ U7 \+ J
  1971. ; Allows exclusion of large files from being cached. By default all files
    9 _( q: N) R0 P
  1972. ; are cached.
    $ ^* y) l1 b3 [! i# @' f9 D! z
  1973. ;opcache.max_file_size=0
    & Z/ b% C7 _4 M- W
  1974. ' @1 M) a& i4 W! p0 p; U
  1975. ; Check the cache checksum each N requests.
    : G2 f; i! _! K# t' e6 m5 g
  1976. ; The default value of "0" means that the checks are disabled.* e$ U. C2 n/ U# P1 J$ T  Q
  1977. ;opcache.consistency_checks=0! C! X" b- b0 K4 D% p0 U
  1978. % X; t! G9 {( h
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ' g. Z; y+ e" N. _  D" g0 T
  1980. ; is not being accessed.
    , v$ r9 m7 ^# f( l7 {' h
  1981. ;opcache.force_restart_timeout=1800 r  z! K) X! [( }, [, i

  1982. 1 H! E6 [( }, N" f  f/ W
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    & U% b+ B4 Y$ |& e
  1984. ;opcache.error_log=4 V% M% e$ s) M
  1985. * i$ }& K' e+ V1 e
  1986. ; All OPcache errors go to the Web server log.
    5 ^% m; b- @& n7 G% w$ [& S
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    7 N, c9 f  y2 {/ F; v
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    . v5 l6 n" X- }
  1989. ; debug messages (level 4)." b  B. D& n, g2 w: H
  1990. ;opcache.log_verbosity_level=1
    * e5 J6 J1 g  u. ?/ \+ p% J0 Y2 Q( e
  1991. 3 w: C+ l! Z7 d! I( ]4 F* N
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide., Y, j3 ^; T& I, o- e$ V9 e6 L! Z
  1993. ;opcache.preferred_memory_model=2 T8 z# i9 M, T2 b5 s) H

  1994. ( t7 n" g- q- C! q3 x& e
  1995. ; Protect the shared memory from unexpected writing during script execution.( x2 a8 P: {  A" {- M
  1996. ; Useful for internal debugging only.
    , A  I* \7 ]- Q) j; I# s
  1997. ;opcache.protect_memory=0- j1 G& I6 ?1 s/ r

  1998. 4 K: s8 N1 [0 C
  1999. ; Validate cached file permissions.
    4 f) w- T/ `4 V& Y& [
  2000. ; opcache.validate_permission=0% j, J" q2 A, T# i) M3 W: J

  2001. 0 s4 I' J1 Y0 i; Q1 y
  2002. ; Prevent name collisions in chroot'ed environment.
    + L  t' y% N2 }$ a$ }" K
  2003. ; opcache.validate_root=05 r: C  g; `1 r/ v- f
  2004. 8 r$ [3 i- M- X$ F5 Q5 b
  2005. [curl]
    3 S" A. l$ O+ V, q7 r
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an1 J+ m6 c+ Z( ^
  2007. ; absolute path.
    7 \3 ]" ?  T" f2 j' m
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    0 @% o0 Y! ?, F# U

  2009. 8 X; B0 Y  T6 W( V
  2010. [openssl]$ {/ e& a( {- _& o- p( B
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    , I% Y$ E% n4 {7 G+ q+ x6 U
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should4 X8 B2 S" m% z0 s
  2013. ; not specify a value for this directive as PHP will attempt to use the2 }! i, ^' g4 S% W& }
  2014. ; OS-managed cert stores in its absence. If specified, this value may still$ k/ t9 `6 q4 F5 a9 x1 N
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context' S0 L- H1 ?+ ?
  2016. ; option.
      U& J9 I7 W% h
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    $ t( N" ^% ^3 G! m, A4 {: d
  2018. * i2 t; s) s$ l. J- f* {! S9 c
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    6 \6 u. g8 q0 n8 x9 c$ R7 I. u
  2020. ; directory pointed to by openssl.capath is searched for a suitable8 D- A# R' l2 Q- u: D
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    - m: P/ ^+ d8 s6 c9 g
  2022. ; Most users should not specify a value for this directive as PHP will
    : w4 b1 J# }: A5 }5 [3 t5 ~/ T4 t7 I
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ' y+ l* ]9 N4 h2 w% I8 d
  2024. ; this value may still be overridden on a per-stream basis via the "capath"- L2 ?% r- h& n( q% n8 [# _: j( Q
  2025. ; SSL stream context option.
    - m# Z' T9 U8 V. }
  2026. ;openssl.capath=
    0 v0 v3 Z" W# q# m2 f3 P

  2027. " o+ y9 C1 h$ |# N1 w
  2028. ; Local Variables:( `6 C0 k& f" ~% }. K: w8 {% z
  2029. ; tab-width: 4! N; K2 U4 h6 U# M( Y/ y8 K1 O
  2030. ; End:% ?7 c( K+ i7 a
  2031. , k% |) V% ~( Y9 ?# Q
  2032. ;eaccelerator
    5 Y; _, h" r" h: B9 V$ @* c

  2033. " m: m( k8 o% l, V; y3 t
  2034. ;ionCube( }0 h; e2 q, g3 u$ p, A# f

  2035. ; R* g# h& D0 U* F: ?6 L% }/ e/ M
  2036. ;opcache
    2 l2 a0 Q8 t! o$ x5 d

  2037. & _6 V5 Q' x* E, F
  2038. [Zend ZendGuard Loader]( [, Y* [7 {# }/ o- G3 @
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so& {1 }) B$ Y# i4 ?6 L# o. s
  2040. zend_loader.enable=1
    0 [8 D7 r6 z# M  V0 a9 V$ `  n
  2041. zend_loader.disable_licensing=0( D$ v6 z- B0 D! w# V2 q. Z& |: z
  2042. zend_loader.obfuscation_level_support=3
    4 W+ [5 C$ W+ R6 d. x$ v! m
  2043. zend_loader.license_path=* m, }8 s% b9 y
  2044. 7 \! B7 p6 o, Q( M/ l% ~/ C+ e
  2045. ;xcache1 i& Y4 b: J# R( i' p+ n, r
  2046. 8 d# H7 M4 R4 H7 q0 T, }
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
: H9 R3 _6 h! O" j) J: A8 K9 A$ Y( u; ~# d1 j' z

$ s1 g. {' X- u; \* j* u+ ?Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,9 p/ O+ |3 s5 c8 g# L
& H5 Q/ b+ Y) L" t; ?9 l
Discuz!程序版本选择:1 ^) v2 C. e9 j: ]$ V0 B7 E! W; k
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
5 D6 n( i$ l! {0 A: i/ Q不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:$ K, x2 G' c, v& j6 ?4 W) X% B& d9 f
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
6 J; P0 P+ S& \/ U7 D9 ?$ p) T& I& c; j: M' k% X
Discuz!插件模板版本选择:
& L( ?$ u1 w' I! w8 d很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
0 p) S+ O8 |. y针对这个问题做个统一的普及:/ U3 O& Y! D9 M6 Y+ r
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。! c! d# V6 y$ M: A  O) q) V1 r' q  m

, C2 ]: U# L# y0 C1 v; T所以
+ n" {9 C: j6 D1 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的二级域名。
, [  r+ e1 J8 W( g7 L4 G: m3 ]打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
7 X8 m3 s! D6 k# _% p注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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