分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0' r4 P/ ]8 c' Q) a% S0 n/ V' H

$ I- m! h. f0 }$ u; }, g# c
  1. [PHP]
    1 ]9 a4 U, f. b( G! X& ^. O. _

  2. 4 H( o, D- h$ X1 C$ n' T
  3. ;;;;;;;;;;;;;;;;;;;) _7 M7 C/ ~! S4 `( @" Z
  4. ; About php.ini   ;6 S9 t; g+ f$ k+ l, N
  5. ;;;;;;;;;;;;;;;;;;;
    5 R! F1 f( ]/ k7 E) S9 n3 ~! E
  6. ; PHP's initialization file, generally called php.ini, is responsible for6 t+ E* d. S6 A1 {. ^4 g7 i
  7. ; configuring many of the aspects of PHP's behavior.
    $ J/ H) G) c: U- R! R* Z
  8. : C  J' J8 \# @" M
  9. ; PHP attempts to find and load this configuration from a number of locations., K6 _( T9 v& P5 v2 c
  10. ; The following is a summary of its search order:
    $ {* l+ e4 P% s7 ]0 U6 W
  11. ; 1. SAPI module specific location.
    1 Q6 f' W# p3 H  M
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)! U( w- `1 s' s2 }0 Y! x# x( `
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)# A2 S( J+ x( t
  14. ; 4. Current working directory (except CLI)3 V2 Z- f& }' }* F6 O, C
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    " n7 Z' ?) C# A5 O* X* l! m
  16. ; (otherwise in Windows)
    # d6 w" q5 z+ P2 U
  17. ; 6. The directory from the --with-config-file-path compile time option, or the' i) X3 b. H- X& q7 X: g: {' D
  18. ; Windows directory (C:\windows or C:\winnt)8 l1 a! E& v% u+ L  z2 M
  19. ; See the PHP docs for more specific information.9 H6 X; ]8 N/ z) |( |* o1 H
  20. ; http://php.net/configuration.file! |% c/ c, l+ e7 E/ u6 I

  21. ; f# ?; W( o4 P2 D* r1 X' T
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ) ^- D& q5 ]& o7 n
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).3 y; a2 N) L! S- n* a: n5 B8 p# J5 m; v
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    3 b9 P+ B& q- w& ?5 @: I  c6 a6 x5 f
  25. ; they might mean something in the future.
    8 }3 Q" H# m1 N. s

  26. 7 [  C5 i. J! z. E2 T+ O
  27. ; Directives following the section heading [PATH=/www/mysite] only
    * w4 i% @; e& D) i
  28. ; apply to PHP files in the /www/mysite directory.  Directives0 Y5 i+ b+ M* e* l% y% h
  29. ; following the section heading [HOST=www.example.com] only apply to5 M8 Z9 J, r5 p& k0 a# B
  30. ; PHP files served from www.example.com.  Directives set in these
    " `$ a/ L8 p& x, v
  31. ; special sections cannot be overridden by user-defined INI files or
    ! ^0 D5 L* T3 Q: i( p( l
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under% z% G' N' n& Z# Y, W
  33. ; CGI/FastCGI.' R5 W- \8 B7 Q3 I. F* P$ V
  34. ; http://php.net/ini.sections
    - M0 n7 t$ U4 s
  35. 8 i9 p4 y+ h' z# s3 v7 s
  36. ; Directives are specified using the following syntax:6 C+ V8 \# ~- e% T
  37. ; directive = value3 D% L- n$ g  @" ?' g7 h$ U  q
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    9 B* J( H( p' P- M
  39. ; Directives are variables used to configure PHP or PHP extensions.
    . p1 a; X6 k' ?0 T' |" \+ v6 x
  40. ; There is no name validation.  If PHP can't find an expected
      w/ y. l, r! C/ K/ ^
  41. ; directive because it is not set or is mistyped, a default value will be used.
    $ o/ N( D% D7 e9 }9 r& e/ |
  42. $ y: ?9 n" j7 _+ ^
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one: d$ \# f$ B1 p5 Q, k
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression% r# ~( H0 k* l/ q* u. j8 {
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a/ e7 z* B$ Y$ y  V) F$ k
  46. ; previously set variable or directive (e.g. ${foo})
    . K9 T, ~3 r, }: h6 d/ J
  47. & ^, `, s% w3 v- K# Y+ a5 N2 h$ [
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:2 r6 G! S1 n4 i0 E
  49. ; |  bitwise OR0 t: ^& p! H6 I! T8 X' [
  50. ; ^  bitwise XOR
    8 M. H1 W8 R6 Q2 {2 q  a* v
  51. ; &  bitwise AND
    + H/ b% w5 M! v* j% n
  52. ; ~  bitwise NOT4 \8 T9 ]  o- v$ T
  53. ; !  boolean NOT$ W9 N+ A5 K0 C, G6 c  |

  54. 6 q# o- ]' @* N8 W
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    . m) a; R/ A* M$ @, K+ c5 k
  56. ; They can be turned off using the values 0, Off, False or No.
    / A3 H: X0 T8 h

  57. ) u8 W5 _* B+ n, |8 R, s
  58. ; An empty string can be denoted by simply not writing anything after the equal! k# h( b5 V! d% j+ N: {1 K; }+ {
  59. ; sign, or by using the None keyword:! l0 ?) ]. c' L+ a. r8 M
  60. $ |8 K. ~3 q& r$ G. i
  61. ;  foo =         ; sets foo to an empty string& _- z9 j4 J2 ]7 T3 Z0 S' e9 |
  62. ;  foo = None    ; sets foo to an empty string
    % |) A$ K0 h1 Q5 Y# P
  63. ;  foo = "None"  ; sets foo to the string 'None'- c3 J; l- c7 h; {

  64. * [$ b3 ?6 P( Y; [* I* N
  65. ; If you use constants in your value, and these constants belong to a
    1 U" n& r. s. `! X" A: Y/ v
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),. o( E9 O& p0 O6 ^
  67. ; you may only use these constants *after* the line that loads the extension.
    4 |+ }3 b' r8 s; A& Y

  68. 6 T8 E9 n3 U  s# ]1 H' l
  69. ;;;;;;;;;;;;;;;;;;;! |6 G- S% w, a" S9 C1 a7 f
  70. ; About this file ;
    / }; n) k& J& B; }7 k( n
  71. ;;;;;;;;;;;;;;;;;;;3 u5 }2 V) x, G  K; }8 \
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    $ H5 |" v! ?& ^
  73. ; in production environments and one that is recommended to be used in
    8 a! O& @0 h. j  p$ E8 Y9 Z) {
  74. ; development environments.
    ( I) J. b1 i$ ]- n5 f9 k; T
  75. # ~& k0 p) i& Y- v0 B7 v% S6 E5 w, @7 m
  76. ; php.ini-production contains settings which hold security, performance and
    ( J- o4 X9 R$ T& c* [2 x9 c, {
  77. ; best practices at its core. But please be aware, these settings may break9 a+ t: s0 y& I
  78. ; compatibility with older or less security conscience applications. We; }6 s" v; c) H
  79. ; recommending using the production ini in production and testing environments.
    & C& i$ [5 V8 V* o

  80. ; h4 U  f* n2 C0 Q/ M
  81. ; php.ini-development is very similar to its production variant, except it is
    ( G8 a% B; O, _1 f2 p! y: D
  82. ; much more verbose when it comes to errors. We recommend using the
    9 V9 l, ^9 r$ o( b; a5 ~4 B6 x
  83. ; development version only in development environments, as errors shown to
    " I) a# N7 P$ [/ q
  84. ; application users can inadvertently leak otherwise secure information.
    - s: A: M/ F! J7 G) D) Z/ n+ V( U

  85. : O+ A' O" r8 x. ^  e% j; {
  86. ; This is php.ini-production INI file., m  o  }' L0 q1 Q
  87. ( ]- s' d4 v: E! _6 t; ?8 d! {1 w8 R
  88. ;;;;;;;;;;;;;;;;;;;5 e% P3 `5 S# y$ T$ a5 z. o
  89. ; Quick Reference ;3 `3 c+ R0 C7 Q# M4 Z9 \
  90. ;;;;;;;;;;;;;;;;;;;
      t4 w( ?; a! Q# }
  91. ; The following are all the settings which are different in either the production
    ) h- Z3 M/ Q+ j7 u
  92. ; or development versions of the INIs with respect to PHP's default behavior.! a8 V; x' B1 h% }
  93. ; Please see the actual settings later in the document for more details as to why
    ) N6 Y' L; q! f+ t* \7 }; q( V: \
  94. ; we recommend these changes in PHP's behavior.
    2 |% ]5 v2 V+ N) c2 `) k+ `

  95. ( w, I; p4 G6 U
  96. ; display_errors! H. Z) J6 @* j  i( y0 S- K0 p) f
  97. ;   Default Value: On
    3 B: n, W- {1 P) X
  98. ;   Development Value: On
    : u. z6 G) K" c$ E/ R. ^4 j% O
  99. ;   Production Value: Off
    : D& P1 N9 q: P* F2 z$ L
  100. / X' K" w( w( t! X6 h1 ?- m7 z
  101. ; display_startup_errors
    " p( _' ?! Q) d% v) W; I
  102. ;   Default Value: Off
    6 `; U2 T; O. U8 W! w2 H
  103. ;   Development Value: On
    9 T0 u7 \4 }& O& z! w1 }" N% e
  104. ;   Production Value: Off
    & K' n6 l' r( x2 v

  105. . r: }3 h- G2 x& k9 W
  106. ; error_reporting# X& F( g2 O6 P8 X; n* K5 `/ n
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    . A8 Z3 a0 n" ]
  108. ;   Development Value: E_ALL
    7 i; H9 L( k( ?
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT' y: ~$ d! _/ E" X3 r: a

  110. 8 k. q8 h9 g( a2 K
  111. ; html_errors
    9 A5 u& ^9 H9 m3 y
  112. ;   Default Value: On. W9 l; n% g1 d' _' T% H
  113. ;   Development Value: On$ Z! W) K4 y3 `0 N* ^, [
  114. ;   Production value: On. j# P0 J. p7 F

  115.   W8 m' D+ U8 h2 K
  116. ; log_errors
    3 M: g5 ^. m% C& ^  D
  117. ;   Default Value: Off
    0 d1 ~( k4 x$ @: z( ~/ R( g# o
  118. ;   Development Value: On* p/ I6 e% O. x9 e- J3 V6 j
  119. ;   Production Value: On
    2 L( P+ d# P5 K" Z
  120. % h+ D/ N3 l! p1 Y3 x2 j
  121. ; max_input_time
    5 P  P" f- Q" G
  122. ;   Default Value: -1 (Unlimited)
    ; Q  t# Q! Z+ t& j! K
  123. ;   Development Value: 60 (60 seconds)
    & ~5 o% \9 b) |1 t7 S) V
  124. ;   Production Value: 60 (60 seconds)3 `) {, G4 i4 j0 F! U' V4 a* H
  125. * E, t4 g! B4 `( k& W0 ]2 }
  126. ; output_buffering
    / h) K  r3 O9 \$ I% n
  127. ;   Default Value: Off
    - ]. S1 I+ C/ e" A) P, E
  128. ;   Development Value: 4096
    $ N+ S) z/ C: |- Q3 B0 W: T
  129. ;   Production Value: 4096
    7 a3 G/ Q1 p% [# D

  130. 3 X1 ^4 A9 M3 t8 G' Z1 B" O1 K1 f
  131. ; register_argc_argv# O6 k5 W5 @8 M7 }6 e1 A' [  z
  132. ;   Default Value: On# ~1 m( y, [$ c/ n( E0 X
  133. ;   Development Value: Off) c2 n; K/ X3 c0 [7 k# h
  134. ;   Production Value: Off
    . ?8 G# ~) E; ]( b

  135. , g% J3 j+ @$ S- z3 v
  136. ; request_order7 `6 ^# q" r% M
  137. ;   Default Value: None
    / Y. H" l) m" k' r, n/ X, S
  138. ;   Development Value: "GP"$ l5 a8 Y: p; _! q5 u
  139. ;   Production Value: "GP"
    # P9 A* n3 R% f4 s* L" K/ }$ y

  140. * C3 _) S3 H! H* K. a
  141. ; session.gc_divisor! m' s; ^1 b6 ~* P; A* A9 J! M$ W* ]
  142. ;   Default Value: 100. u) W5 D. J; ]* a1 R8 d4 b1 t3 B2 k
  143. ;   Development Value: 1000
    8 e( L  F! ~; I! G' k
  144. ;   Production Value: 1000
    5 q$ B& h" Y) \9 {+ e# g( O3 ~
  145. / U" V  o9 j" p3 r
  146. ; session.hash_bits_per_character% j9 K% J: G% Q* {
  147. ;   Default Value: 4( u5 a7 d4 T; ~5 j& D' Z# s; }8 ]- J
  148. ;   Development Value: 5
    + X& P% K& i& b9 g/ `6 R) E* l% \
  149. ;   Production Value: 5/ a1 _, K9 P3 r7 Z; H: }- w+ M
  150. 3 B2 x6 _8 ^+ `5 d. ?
  151. ; short_open_tag
    & S8 M/ x# j1 T
  152. ;   Default Value: On1 w$ ]! R! A3 z
  153. ;   Development Value: Off5 O1 l- _* r# Q4 ]3 v- L5 P+ Z: S0 D
  154. ;   Production Value: Off" E! Z2 D/ b) |& s. B( V' b4 H

  155. ) G  T' t4 ^) x1 D, n  O" z
  156. ; track_errors
    9 T; y" \( `0 G
  157. ;   Default Value: Off8 @8 g8 ^4 V8 h9 C! \$ S" U
  158. ;   Development Value: On
    4 I4 @/ |  U7 d
  159. ;   Production Value: Off& c. A- D$ Q! ?

  160. ! x& W6 l6 Z. ^% F9 W6 H
  161. ; url_rewriter.tags# {4 u+ P- `+ W/ i
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ( D. ]  V! O3 `6 \+ D$ g
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! V$ _4 s$ Y* g9 d, P0 O' r& j3 n7 R
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 U$ O6 |$ H2 r# [

  165. # P' u( R$ H& E4 c7 {3 j0 m3 Z0 H$ i
  166. ; variables_order
    2 T8 d' k: z+ u3 n
  167. ;   Default Value: "EGPCS"
    $ H7 S$ e9 z3 p+ Y
  168. ;   Development Value: "GPCS"( Z4 P) ~4 s5 I& Q% N2 I2 ^
  169. ;   Production Value: "GPCS"
    5 `  R9 X; m9 n( m; w& _& ^

  170. 9 ~8 G% m, e. L9 X
  171. ;;;;;;;;;;;;;;;;;;;;+ j' f; A) w: h: P- p! _
  172. ; php.ini Options  ;
    ' P6 [1 ?  x  g0 F1 b
  173. ;;;;;;;;;;;;;;;;;;;;8 H: ]7 r% X; T/ H
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    1 e- m5 {5 z0 ^0 L: X# z4 H- P
  175. ;user_ini.filename = ".user.ini"
    3 s* I: {- N6 d  i2 `
  176. 7 A- N+ I, _) U' b. Z% R# L! g6 ]
  177. ; To disable this feature set this option to empty value. h6 V4 P- @, y% Q6 h" S
  178. ;user_ini.filename =: J! F! N* G& K' h2 j* x' N

  179. 7 m2 T0 X3 t5 {5 [9 x6 @4 Y% c
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)8 [8 p1 @# Y8 M
  181. ;user_ini.cache_ttl = 300
    : {5 W1 U4 X* A( [

  182. 2 k- D( J& I, N' ^+ r& t
  183. ;;;;;;;;;;;;;;;;;;;;' ?3 f/ w  f& W8 K! r
  184. ; Language Options ;% ~7 \7 s3 k0 u4 g
  185. ;;;;;;;;;;;;;;;;;;;;- g0 C4 y; I+ U/ J. {) n

  186. , }- b! e8 V/ j' D
  187. ; Enable the PHP scripting language engine under Apache.( K& s; v: v2 h9 b- B( K) H4 d
  188. ; http://php.net/engine
    * e) ]8 O0 F5 N: a
  189. engine = On" A  c  Z2 ~. C) Q% f4 |* e9 _
  190. 4 C' u- T7 E0 J% d6 Q& w7 ]
  191. ; This directive determines whether or not PHP will recognize code between1 F+ l/ d$ d1 j8 ]) L
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    / i, q6 x* _- @& \( v6 `
  193. ; generally recommended that <?php and ?> should be used and that this feature
    + S- Z* k, Y  x6 m
  194. ; should be disabled, as enabling it may result in issues when generating XML
    4 U9 l( D8 m$ U+ i. m% R; e+ e0 W2 a
  195. ; documents, however this remains supported for backward compatibility reasons.: t4 p8 I% t+ s, Z, _6 r
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    * e; _4 M" U$ e4 R; w& h
  197. ; used regardless of this directive.' G3 O' Y* Z* m6 t5 U
  198. ; Default Value: On/ e& y* \6 S* f# o& a7 I, z  s
  199. ; Development Value: Off
    9 `, b4 t8 r4 o4 M
  200. ; Production Value: Off) f; A1 \5 N) v$ M7 u- @
  201. ; http://php.net/short-open-tag
    2 a* A# Y6 [: ^4 i; B$ w
  202. short_open_tag = On( p0 C: Y' b) l8 `7 ?6 @

  203. ( T& ~" ]! A: o: T) H
  204. ; The number of significant digits displayed in floating point numbers.
    0 U* j; l. R) `. O# _$ B) x1 N$ E6 u
  205. ; http://php.net/precision/ V3 ~8 l  r+ E- m" p# [
  206. precision = 14
    5 |8 z. z) Y' A

  207.   o& }% ]5 t* N
  208. ; Output buffering is a mechanism for controlling how much output data
    3 g) }: m7 R! I' V# g
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that4 P% J! D+ A' a$ M* z
  210. ; data to the client. If your application's output exceeds this setting, PHP
    4 }1 x- L* C. R( [+ O/ V
  211. ; will send that data in chunks of roughly the size you specify.
    $ b6 H, G% |) j1 I, A2 Y
  212. ; Turning on this setting and managing its maximum buffer size can yield some  {2 C! _" X! }/ L. B% R
  213. ; interesting side-effects depending on your application and web server.
    , ]& l9 x' i# {! |5 \! d. D0 E
  214. ; You may be able to send headers and cookies after you've already sent output+ p* p, H0 e9 I& q$ |5 T
  215. ; through print or echo. You also may see performance benefits if your server is$ y0 P4 W. v7 X$ i' n# f
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    . Y7 v% n8 v( H. }
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    7 r% c. h! d5 {8 }
  218. ; reasons.
    / m# R2 C7 ]" s' C
  219. ; Note: Output buffering can also be controlled via Output Buffering Control: ~/ ?* x& E. m
  220. ;   functions.
    3 w1 L- j  B: D: v0 Z
  221. ; Possible Values:
    - J1 ?6 B3 w4 K/ s
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    9 V4 Q  c4 U6 N
  223. ;   Off = Disabled
    . v4 g! }' N- ?9 }
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    - i+ P# L+ p, m9 I  J
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI, p, L# M( y% d9 ?1 H& h
  226. ; Default Value: Off
    + Z" L+ H) ^: D  B. p$ g1 G! e
  227. ; Development Value: 4096
    ; k1 M6 p* y( H; r5 Q: Z
  228. ; Production Value: 4096/ D% w+ g8 c# B3 k7 V
  229. ; http://php.net/output-buffering- @' g! h# z# N
  230. output_buffering = 40969 j" u5 i  U4 O) H5 Y1 j& V

  231. : F( X6 o4 T) M
  232. ; You can redirect all of the output of your scripts to a function.  For/ ~% w4 N' a$ W- m9 Y
  233. ; example, if you set output_handler to "mb_output_handler", character
    ( X  T4 M0 X. g0 W1 w
  234. ; encoding will be transparently converted to the specified encoding.2 j$ c7 X+ v- Z/ }( _2 B1 {
  235. ; Setting any output handler automatically turns on output buffering.5 D/ |0 }3 d1 `8 `0 O! E6 t
  236. ; Note: People who wrote portable scripts should not depend on this ini
    0 \: q+ l9 M$ o( }
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    & Z% z2 G( o+ m. t4 b( d
  238. ;   Using this ini directive may cause problems unless you know what script4 w7 j4 L1 ~! Z. @
  239. ;   is doing.
    & w+ L9 _1 ~4 C3 j! C( b9 e
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"9 `- w5 x/ |& J3 O: I
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    6 `# c- A9 S) F
  242. ; Note: output_handler must be empty if this is set 'On' !!!!- H% j  l1 S" P3 W6 V  ]
  243. ;   Instead you must use zlib.output_handler.# I4 D3 c4 r. h1 i8 b% O8 U
  244. ; http://php.net/output-handler9 H; W5 O/ Q# }, A
  245. ;output_handler =
    1 G! ~' Y: W4 ~. }+ R
  246. * {! M. q  `7 e5 ~
  247. ; Transparent output compression using the zlib library
    $ V. e+ Y% V4 E3 H( A
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size/ a2 ]( D" z4 G4 o
  249. ; to be used for compression (default is 4KB)+ A1 k& K* U: q' v4 t0 j
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    7 {) p- N' D9 H& v$ g- }
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    / B. X; I" _9 {# f
  252. ;   compression. If you prefer a larger chunk size for better7 M; V( d0 D9 _& w, Z4 ]
  253. ;   performance, enable output_buffering in addition.) Y/ Y& I9 Z' Y' h  n# K1 B
  254. ; Note: You need to use zlib.output_handler instead of the standard
    4 g( o0 P$ j4 [. g8 ]
  255. ;   output_handler, or otherwise the output will be corrupted.
    , f/ X. ?* e/ P7 |; n" L
  256. ; http://php.net/zlib.output-compression
    : l  Y" S% a/ c  {+ x: a
  257. zlib.output_compression = Off
    / p  L/ H, U# {$ p6 ?  |: }) O

  258. / U" p* {9 k7 _  R) ]; y: Y
  259. ; http://php.net/zlib.output-compression-level0 c: z# `) }6 P. j% o: D8 m- M1 \
  260. ;zlib.output_compression_level = -1
    / ^0 X; w5 a6 P. K/ ]
  261. 2 N9 ~+ m( ]: L( Y6 J& _
  262. ; You cannot specify additional output handlers if zlib.output_compression5 M$ C3 }! ~1 C( F
  263. ; is activated here. This setting does the same as output_handler but in
    * w# L- p& ?" O7 `
  264. ; a different order.8 e9 S0 S; G( y/ r/ v
  265. ; http://php.net/zlib.output-handler# m' E+ d4 z' N" q" R1 H
  266. ;zlib.output_handler =7 C  a) _3 {- s6 S- I" a
  267.   t( a! P! U- K2 V8 V$ u7 Y& o& Z
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    8 l* d. B$ J+ [+ z- m; H
  269. ; automatically after every output block.  This is equivalent to calling the/ ]' C4 A" X2 Q, U7 i# H$ w
  270. ; PHP function flush() after each and every call to print() or echo() and each
    ! p( E/ d% y6 e- M
  271. ; and every HTML block.  Turning this option on has serious performance
    5 W$ p6 ]! x7 Q! c; e
  272. ; implications and is generally recommended for debugging purposes only.
    : L6 A1 N: ]9 i/ K0 |
  273. ; http://php.net/implicit-flush' ^1 G) d7 j' h" a
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    " F8 I% I( A% n! Y7 Z8 e: J( ]: y
  275. implicit_flush = Off; [: L5 n5 J& ?, H/ r% F, b9 s

  276. - W# R/ b2 N' I
  277. ; The unserialize callback function will be called (with the undefined class'
    ( g6 O, g2 r' W5 n5 b- f/ x
  278. ; name as parameter), if the unserializer finds an undefined class# ]# f; _8 Y; }
  279. ; which should be instantiated. A warning appears if the specified function is
    " `+ n: o9 r5 o5 b9 `6 Y
  280. ; not defined, or if the function doesn't include/implement the missing class.
      H! s4 N( h$ d" r
  281. ; So only set this entry, if you really want to implement such a+ F9 X0 w% N' w; R
  282. ; callback-function.7 p/ ~- f' N. f2 R6 a+ `' p3 w
  283. unserialize_callback_func =
    ( L3 \1 _8 o8 A/ o$ g6 G/ `- L

  284. . t& l4 m. Q% U( Y. L
  285. ; When floats & doubles are serialized store serialize_precision significant
    & M% e0 I4 q1 _5 o1 I
  286. ; digits after the floating point. The default value ensures that when floats
    . x2 z5 o! b2 h0 m- b0 R
  287. ; are decoded with unserialize, the data will remain the same.
    9 ]2 s, y% {: z& V( I; u8 q. l2 {
  288. serialize_precision = 174 J1 n. Q6 n  C' [, A: n5 L" V) Q
  289.   \( R5 L9 A. }9 w4 C6 [1 [
  290. ; open_basedir, if set, limits all file operations to the defined directory
      ]9 ]! e$ F* \' Y* g4 n1 V; ?
  291. ; and below.  This directive makes most sense if used in a per-directory) L- M9 L. W7 `. Y, F, [
  292. ; or per-virtualhost web server configuration file.
    + }1 x! l. }, T( H, V5 D
  293. ; http://php.net/open-basedir. G; f0 ~1 c6 z# S
  294. ;open_basedir =8 b+ C: S+ p3 S# K* l
  295. & V' l+ i. t/ m5 F1 S6 {- a
  296. ; This directive allows you to disable certain functions for security reasons.
    & L1 q6 A, S( w1 S. o; X7 i
  297. ; It receives a comma-delimited list of function names.! n6 J3 V+ t' k2 q3 T
  298. ; http://php.net/disable-functions6 j# R5 U( r' s& k; M6 M$ f  E& T. 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$ }" h. a; e3 M0 Y0 h0 X
  300. 5 l6 Q& E' x4 `  _5 c: V
  301. ; This directive allows you to disable certain classes for security reasons.( Y7 i2 P8 B# B% R; m, B
  302. ; It receives a comma-delimited list of class names.. K& |+ V( n+ F
  303. ; http://php.net/disable-classes, a# @$ I) \% }/ c) c
  304. disable_classes =
    5 S# x( T( F- s9 u( ~
  305. : F) t( w3 Y% N$ R' P# L$ r2 X
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in: @9 F) n. b) q( P! v- Q8 m' i
  307. ; <span style="color: ???????"> would work.
    9 J, [7 V) P! |! R& Z1 I" E
  308. ; http://php.net/syntax-highlighting
    0 E* W& r, b0 `3 K( k& `. q
  309. ;highlight.string  = #DD0000% O" I: C0 Q3 {' L4 H
  310. ;highlight.comment = #FF9900/ _. p  J3 o2 m/ e0 Q
  311. ;highlight.keyword = #007700
    ; L& I. K: M) K" U9 K% Y: d& ~
  312. ;highlight.default = #0000BB. U9 ]2 c6 C  q' y- ~, w
  313. ;highlight.html    = #000000
    ! y. L" }7 }0 K/ @( b
  314. 7 D6 r: p  Z$ v" V2 F7 l( a
  315. ; If enabled, the request will be allowed to complete even if the user aborts6 J; T5 `3 c7 `, E5 d
  316. ; the request. Consider enabling it if executing long requests, which may end up# f+ B  h" T: |7 r2 J, ~9 }9 L% o/ C+ q
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior9 E- L" I3 T6 s" `) r
  318. ; is to disable this feature.
    + ?6 Y# C1 ]: l( @- h5 ?
  319. ; http://php.net/ignore-user-abort  t; }0 C& M6 e3 [
  320. ;ignore_user_abort = On) b4 K, k3 q8 v3 v

  321. 6 r* b0 o2 S+ L- f, O, a- A4 v$ d
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    * S  f& Z5 u1 L% O
  323. ; be increased on systems where PHP opens many files to reflect the quantity of9 a. b8 C# t$ i! ~& ]% O3 W
  324. ; the file operations performed.- M& a, b; M) z6 x
  325. ; http://php.net/realpath-cache-size
      s+ E1 p. B  Y  ]7 I
  326. ;realpath_cache_size = 4096k) c- I2 w1 v) ]% E+ E9 t
  327. 4 C& k$ Q  |+ a! C; }
  328. ; Duration of time, in seconds for which to cache realpath information for a given8 n. x* f, x! e. ]) G
  329. ; file or directory. For systems with rarely changing files, consider increasing this* O, T& }9 b* }
  330. ; value.
    6 J# `4 b" T: g; L1 D) a( Y
  331. ; http://php.net/realpath-cache-ttl& Q9 Z' O& U# c/ d+ M
  332. ;realpath_cache_ttl = 120! ?/ O& U0 c6 K2 O! G3 v

  333. ) Z/ Y7 ]5 d! e9 Z& e
  334. ; Enables or disables the circular reference collector.+ r1 I$ {: l9 f2 p, [
  335. ; http://php.net/zend.enable-gc8 l( p1 X8 e/ R, x
  336. zend.enable_gc = On! O/ q" M6 H+ z6 P& I

  337.   A3 O& ^3 W7 M0 \/ C# P; q  h
  338. ; If enabled, scripts may be written in encodings that are incompatible with3 j" ]) W* i0 p* P$ S5 w+ g
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    5 q' s  m2 W7 H* K+ L
  340. ; encodings.  To use this feature, mbstring extension must be enabled.9 @" ^# N8 l1 a8 _% O
  341. ; Default: Off$ t  `6 ?' L  V3 X: @
  342. ;zend.multibyte = Off
    - T) G- ~: ]. C7 X) T7 G) D

  343. ' D7 T5 j& T0 ~/ m+ a3 w; v
  344. ; Allows to set the default encoding for the scripts.  This value will be used5 x( R6 w- \5 [- ?" {# _8 M; B
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    $ p3 K3 y6 S% p6 D. H
  346. ; Only affects if zend.multibyte is set.  `; x/ L! O( e9 I
  347. ; Default: ""+ X# X- E# J, V0 D
  348. ;zend.script_encoding =( a+ H. X; V1 h' b9 l0 C; ?& J  D
  349. 4 L" |# S3 _( U! ~- y6 e; M) K
  350. ;;;;;;;;;;;;;;;;;
    ) J, G; W* |( b+ H
  351. ; Miscellaneous ;
    5 L- I2 |! r3 q- r" t2 A
  352. ;;;;;;;;;;;;;;;;;
    ! ^# ?0 c% o  h' P: s* F
  353. 6 }& c3 l  T, j1 `8 Z+ Z; @, d4 k  K
  354. ; Decides whether PHP may expose the fact that it is installed on the server  q- _& C! J% w- F& M3 Z0 B6 R2 G5 r
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    2 u2 z' @0 B# T
  356. ; threat in any way, but it makes it possible to determine whether you use PHP/ |* T- f1 T1 C3 [. Z4 T
  357. ; on your server or not.
    8 \, ]  b9 v" {+ F5 \: V4 M
  358. ; http://php.net/expose-php
    + x* _* V3 x/ d, _9 _
  359. expose_php = On
    2 v3 j( z1 {; x9 |2 m

  360. ) a1 G3 L1 G3 n
  361. ;;;;;;;;;;;;;;;;;;;* f2 u! M$ H1 C! W3 k. q4 N
  362. ; Resource Limits ;# E8 l# B9 z3 i4 C* F
  363. ;;;;;;;;;;;;;;;;;;;! L4 P) q1 X, `
  364. % n* p. E7 n/ M, X" N
  365. ; Maximum execution time of each script, in seconds! {" e- n3 [; ]$ y5 l
  366. ; http://php.net/max-execution-time
    ! d1 @& L( [  R! E0 t9 f
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI% o; Z  f( _, a, k
  368. max_execution_time = 300
    1 Q4 B" w& k( s2 L1 T

  369. 1 {( W4 |" G" P1 E/ s. D
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    6 v) A% _1 {) S0 a" ]4 v) h: E- |
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    2 a; f- O: B& T( u; v
  372. ; long running scripts.
    : q+ z1 {* ?/ f6 Y# u9 {9 e$ F
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    + V3 ^# ]: R$ O6 C& y
  374. ; Default Value: -1 (Unlimited)6 M! ?2 q/ ^0 M; ^7 w* P( t
  375. ; Development Value: 60 (60 seconds)  N: m: N- O3 k$ ]3 o! `# e* I. y' f
  376. ; Production Value: 60 (60 seconds)
    8 W5 i: A' L& I- l7 O7 p8 m( s8 a
  377. ; http://php.net/max-input-time' n- T2 M2 R! w3 X& O
  378. max_input_time = 60
    + C3 E0 C0 T& e4 i2 n

  379. 7 t: Y: I8 C7 L
  380. ; Maximum input variable nesting level
    9 P  o5 f6 C/ Z% U- k9 J0 r7 h7 }
  381. ; http://php.net/max-input-nesting-level% F! ^1 m- V, D( }" n
  382. ;max_input_nesting_level = 64
    ) C8 _9 S" h" X6 t

  383. & z0 [3 t7 r3 t( @% R; I
  384. ; How many GET/POST/COOKIE input variables may be accepted7 O  ~& V$ F' V/ N% V8 _
  385. ; max_input_vars = 1000- M4 A% X' f2 z1 n; s. q3 l
  386. & i3 w# {! |% E' G
  387. ; Maximum amount of memory a script may consume (128MB)
    * }( @! b8 o, @- Z9 i
  388. ; http://php.net/memory-limit: O% w+ ?" X* e
  389. memory_limit = 128M. M' N. l% R6 m9 g0 p3 C
  390. 9 a0 a" U* a( D& M+ J1 i4 ?( a
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    % F5 y9 i* b" a# o
  392. ; Error handling and logging ;
    # z& x: S8 }/ a8 S2 Q5 g& V+ S3 ?
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8 q) d2 b# R& M5 |! s
  394. 3 j4 t, G& g5 s7 a
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    4 ?0 t, {" K( L, `5 i! q
  396. ; it to take action for. The recommended way of setting values for this7 j3 D! t# q5 w6 q  ~
  397. ; directive is through the use of the error level constants and bitwise
    ; D) G$ e4 q4 f7 b; X/ t  \" r
  398. ; operators. The error level constants are below here for convenience as well as
    1 I0 j% S6 J6 B& c: }
  399. ; some common settings and their meanings.
    7 ?" }) S+ D9 n  O" `6 U2 q
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT+ [: t; X5 Z4 h5 q$ e
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and" @5 _; W8 W& v8 L; j$ [1 G+ ]3 v
  402. ; recommended coding standards in PHP. For performance reasons, this is the- I, ?3 v3 i& F* j  b
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    , n! C& D6 i6 v8 I5 G. Y! p5 R
  404. ; resources complaining about best practices and coding standards. That's what
    & @+ B3 @, S' r) ?' a* d2 ?
  405. ; development servers and development settings are for." c+ [9 E2 X8 G) P; U  f
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    : x; R5 E  y3 e* k1 O0 X4 y
  407. ; means it pretty much reports everything which is exactly what you want during
    ) w& x7 q" c% t' P, A
  408. ; development and early testing.9 j6 @, i% c/ a2 v
  409. ;
    ( a' L0 u2 L# n8 f2 k! ]' ~2 E
  410. ; Error Level Constants:& V- d! p9 K' w6 l. h8 I
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)9 }/ \# p7 v. L8 H' u% o5 x
  412. ; E_ERROR           - fatal run-time errors2 u& N! d0 w2 a7 _4 V
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    7 p7 {/ y! U; }& k+ x1 y* l( W
  414. ; E_WARNING         - run-time warnings (non-fatal errors)$ }6 H8 f4 O# Q( k
  415. ; E_PARSE           - compile-time parse errors
    $ e8 a- ~+ I$ O( B% a
  416. ; E_NOTICE          - run-time notices (these are warnings which often result9 E8 g$ g$ ^8 C* M
  417. ;                     from a bug in your code, but it's possible that it was
    ! }" }/ A; O, S: B& {* \0 M$ ]
  418. ;                     intentional (e.g., using an uninitialized variable and9 B- z3 ]/ ]4 ?0 r7 M7 M1 h
  419. ;                     relying on the fact it is automatically initialized to an1 Y2 n$ @3 H& o: W( P
  420. ;                     empty string)
    : d) I$ H( w6 I5 I$ z7 [
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes2 l5 K& _0 j/ s4 O+ t& ?
  422. ;                     to your code which will ensure the best interoperability! F5 ^+ S4 g% c* {# I
  423. ;                     and forward compatibility of your code
    $ u+ b# I3 Z' c0 C0 ]; S' v
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup% G: P  p( Y+ j* W0 Y! H% C1 r9 I
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's7 d" R) e. j' k* n0 A
  426. ;                     initial startup
    2 r' d8 }; e0 n2 F, z: [; i+ c
  427. ; E_COMPILE_ERROR   - fatal compile-time errors8 A& x7 `  H7 g
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    / V5 R$ o# c1 x3 `6 t
  429. ; E_USER_ERROR      - user-generated error message
    1 n/ d' ~3 ^! Z! |2 B7 Z
  430. ; E_USER_WARNING    - user-generated warning message/ J4 {+ g" O& ]: d
  431. ; E_USER_NOTICE     - user-generated notice message. z- d( h& Y- {6 o( q
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    / V' V- f! S5 K+ F. u
  433. ;                     of PHP
    2 B+ ^6 J+ @! F$ j; U
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings- d9 r# h" Q8 v
  435. ;, s. Q- _7 @- w
  436. ; Common Values:( M/ p; m6 j# V0 A6 _
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    , [5 o. x9 n" Q0 D* H
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    # s4 U0 \4 T! [8 ]+ r& I2 Z( q
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)$ w2 n7 z' p1 Y
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    & W4 I* S: R2 ~$ A+ E$ g
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ! x- p0 ^5 O8 _0 ~6 ?2 C0 q' W/ R
  442. ; Development Value: E_ALL( H. z" R! \% A) e' t! d& ?  J
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    7 C: S' j  ^1 g2 p) X. M4 |
  444. ; http://php.net/error-reporting5 i6 a0 A1 B: K6 \0 I
  445. error_reporting = E_ALL & ~E_NOTICE
    " O+ H- x) T6 _; f
  446. , W! R5 S) n- H/ T1 w% E
  447. ; This directive controls whether or not and where PHP will output errors,
    + V  E+ N9 z& I9 v/ ~
  448. ; notices and warnings too. Error output is very useful during development, but$ b; S. y7 |9 S/ c$ B% U4 a
  449. ; it could be very dangerous in production environments. Depending on the code
    3 M( Q* \  i+ b6 _& T3 N0 i5 z
  450. ; which is triggering the error, sensitive information could potentially leak
    * z! C# p4 |1 c+ j  h$ c
  451. ; out of your application such as database usernames and passwords or worse., q# H* C" m$ \+ ^. {( N0 O4 m$ |& l
  452. ; For production environments, we recommend logging errors rather than! U% R$ n. [7 x; X+ _( ^' O2 R' p
  453. ; sending them to STDOUT.
    1 R- f4 j1 m) P1 K9 K
  454. ; Possible Values:
    2 [6 K  T. h# {4 a7 E! H$ Q7 p
  455. ;   Off = Do not display any errors
    ! a2 T1 Y5 o/ |' Z! w0 Y, Y* b/ o
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)8 N  p9 \3 X: p; [6 {( L
  457. ;   On or stdout = Display errors to STDOUT
    ' z' d' ^9 A4 M. |! w; k8 {
  458. ; Default Value: On
    * K  x' I8 m- r3 E2 k  G5 b
  459. ; Development Value: On& A) X. o; x7 ]
  460. ; Production Value: Off
    3 Z2 a' @# U0 p
  461. ; http://php.net/display-errors0 }' Z: m6 g- O: @% V
  462. display_errors = On! L8 l5 Y5 `% y; B, x. ?
  463. " f6 Z% S% k+ k, b8 e" n
  464. ; The display of errors which occur during PHP's startup sequence are handled
    9 l- ^+ @1 Q0 Y) ]4 K+ V
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    * A% V* D: f, Y
  466. ; errors from clients. Turning the display of startup errors on can be useful in
      k9 x/ N0 r6 c) G4 o4 f9 W; ~
  467. ; debugging configuration problems. We strongly recommend you
    ! Q( c- {+ W# Y- y$ \. ^# z
  468. ; set this to 'off' for production servers.
    ' O( j' r3 _' `8 p0 [6 G3 f
  469. ; Default Value: Off
    ! S+ z5 ?/ v% ?5 z  O9 K0 [. L. l
  470. ; Development Value: On
    # e' d; Z4 y* N8 B. O7 X9 B
  471. ; Production Value: Off
    0 R6 I* s% p$ x3 W& T. I$ o/ t5 J
  472. ; http://php.net/display-startup-errors6 z# K- J) ^9 |; l) m
  473. display_startup_errors = Off5 b* Q4 z# l0 ]$ W6 [2 q

  474. : M* A. L$ B/ O( z: r
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
      r4 `+ ^5 H; P+ J
  476. ; server-specific log, STDERR, or a location specified by the error_log
    & q+ W+ E) ]" }) L
  477. ; directive found below. While errors should not be displayed on productions
    ! |1 a  v- Q$ p) I1 [' T2 `( p
  478. ; servers they should still be monitored and logging is a great way to do that.7 T/ @! {. G4 s2 H
  479. ; Default Value: Off
    2 L; x% o, w  w4 H. P# T$ i' F* Z
  480. ; Development Value: On' v9 g0 r9 d7 m2 }  ]8 D  `+ @3 |
  481. ; Production Value: On
    ) @& f1 I9 I8 W/ A. S  C. e; ~5 v
  482. ; http://php.net/log-errors
    " L' o4 a: n3 F) l9 S
  483. log_errors = On- h5 H' z3 \9 x5 n, _

  484. ( d5 ?& \) u8 d* L
  485. ; Set maximum length of log_errors. In error_log information about the source is& l1 s% [- c: s9 X4 q
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.- a; s* s+ C  q8 u( d# N
  487. ; http://php.net/log-errors-max-len4 o% P* F) H3 r1 O4 Z+ R' h  j
  488. log_errors_max_len = 10247 t  E$ A: a. ~8 J5 {

  489. & I6 q" r; j4 e% x% t+ x) a
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same3 F5 C4 B$ j- E$ m5 i' {3 p2 B
  491. ; line unless ignore_repeated_source is set true.
    # e% N8 |/ i0 T
  492. ; http://php.net/ignore-repeated-errors
    ! B- b4 [9 K( O) v
  493. ignore_repeated_errors = Off6 g4 W, R' c* b: q& h7 j

  494. 8 M( d: K0 \- Q$ {0 u5 ~
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    " R( j) x; @% [% R  a
  496. ; is On you will not log errors with repeated messages from different files or
    ; A+ n9 `+ N: a# U; K
  497. ; source lines.% y- q/ F; ~5 J1 G
  498. ; http://php.net/ignore-repeated-source
    4 l$ P! i8 s  o
  499. ignore_repeated_source = Off
    ) i7 }. V" \* n* ?

  500. 0 w; F! ~# U! ?: c
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    4 K; `; {' R: N8 _
  502. ; stdout or in the log). This has only effect in a debug compile, and if2 A+ W# D" b. X1 O* M& S6 W
  503. ; error reporting includes E_WARNING in the allowed list
    0 M! R& m3 `- y$ a$ d
  504. ; http://php.net/report-memleaks
    1 }" ?8 R; z6 @8 C
  505. report_memleaks = On
    4 n4 z/ |* C  x! Z7 r6 P9 N. k

  506. . i7 m. S  q7 ~, V7 V) B1 G
  507. ; This setting is on by default.: D7 [4 l; v' R* K) Y
  508. ;report_zend_debug = 0$ f2 ^' ?' F9 n- n- J0 D
  509. 9 t( E$ M7 A9 `* p  A9 E
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ) t8 m) w4 v/ h( e* }
  511. ; to On can assist in debugging and is appropriate for development servers. It should4 g- F* o6 A' S( U
  512. ; however be disabled on production servers.
    1 i" c7 F/ H& M, P
  513. ; Default Value: Off' {3 H! {* _7 \2 Y
  514. ; Development Value: On
    * p. V. V9 h9 y( D
  515. ; Production Value: Off
    ; k7 _, ^- m8 }
  516. ; http://php.net/track-errors
    ! `, Y: G( k( U: T
  517. track_errors = Off
    " I+ @3 j* l3 p) G: ?8 k7 j

  518. " h+ ^# b6 A1 x2 [+ k. f0 _- b
  519. ; Turn off normal error reporting and emit XML-RPC error XML3 \/ m4 p) r4 V; M' C- @; `( e4 O" J
  520. ; http://php.net/xmlrpc-errors, d; A' u- B' e  F& B$ W
  521. ;xmlrpc_errors = 0
    3 j' K% L( e4 o; q9 P, o
  522. + ?7 y. o0 i5 ^% j8 E3 Y! W& r
  523. ; An XML-RPC faultCode
    ; R" q+ G3 q. C' n. k0 i( w
  524. ;xmlrpc_error_number = 0
      W6 `3 H" u+ F9 c0 f
  525. . p1 Z/ ]2 D- S2 g. Q% W0 {
  526. ; When PHP displays or logs an error, it has the capability of formatting the) V$ D! q2 w3 v6 `" R- w8 U
  527. ; error message as HTML for easier reading. This directive controls whether& ^6 P! U$ H6 K! H8 [" I) u
  528. ; the error message is formatted as HTML or not.4 B& Y+ U5 r8 m) J
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI( A  u! ]7 l/ W" Z
  530. ; Default Value: On" |; W) x. _* _+ Q5 n, D
  531. ; Development Value: On
    ; V4 M- P$ O) }% {9 J
  532. ; Production value: On
    9 v* T* e( S" B5 f8 Y
  533. ; http://php.net/html-errors  T$ Q" S6 w: d+ k2 v8 t
  534. html_errors = On
    + `( }3 |! Y& G% Z" K7 [1 p
  535. 8 b0 E8 M# l# j" V$ K/ V, ^
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    0 F6 l- y1 |' K& o. G4 A
  537. ; produces clickable error messages that direct to a page describing the error
    2 c( a; ?  x6 ~0 P1 d7 n
  538. ; or function causing the error in detail.
    ! ~! X; @6 q, d1 v
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    : A( v" ^& Q# w4 u! w
  540. ; and change docref_root to the base URL of your local copy including the
    7 D5 Z9 L0 }% m  ~+ T. y
  541. ; leading '/'. You must also specify the file extension being used including. _( U+ [- g- Y
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    * O0 r* W+ [7 d8 {7 T/ Q
  543. ; case no links to documentation are generated.% q/ H+ y8 t3 X% z6 U
  544. ; Note: Never use this feature for production boxes.
    3 k+ M: \5 M/ ?/ q) Z
  545. ; http://php.net/docref-root# }' @7 G& T- N, |. n, y
  546. ; Examples6 B3 D7 M' ^/ P4 Q  N+ F- ~
  547. ;docref_root = "/phpmanual/"
    / p/ c; f, ~9 @6 W

  548. & C8 K- y$ @: l3 ]  I8 x$ [
  549. ; http://php.net/docref-ext
    ) f5 C% c8 i& \+ R- U# g4 Z" ?* \& Y
  550. ;docref_ext = .html
    5 Y" U' f# f% g5 _$ v- D- e
  551. 3 E' U/ q: r4 m. ^) J* y
  552. ; String to output before an error message. PHP's default behavior is to leave3 b' L# n: g5 t0 G) E: L
  553. ; this setting blank.
    * W2 g8 F$ f5 s. h' T
  554. ; http://php.net/error-prepend-string
    5 [8 x: B% Z0 [( j
  555. ; Example:( ]7 ?( P! [' S! p+ x7 A6 q
  556. ;error_prepend_string = "<span style='color: #ff0000'>"2 W+ s4 {: @2 ^5 t* B
  557. % g+ U# T9 ], X8 }) _! o% _5 K, g
  558. ; String to output after an error message. PHP's default behavior is to leave4 ?+ a8 S& u; b
  559. ; this setting blank.4 A; H% G6 \; k" [4 i
  560. ; http://php.net/error-append-string
    9 U# c5 m5 \% ~" D$ z: [( Z
  561. ; Example:" r1 c' s" V" a" }# h0 v
  562. ;error_append_string = "</span>"
    6 ^1 v, ]  B& b" M0 N/ r4 O  _1 f

  563. ( S* U! J  b$ ?# D5 G. j
  564. ; Log errors to specified file. PHP's default behavior is to leave this value* I. g/ J/ q7 v3 f
  565. ; empty.& y' m- F' H5 I$ C8 X% k( u
  566. ; http://php.net/error-log3 d' t: u9 G5 u7 i% Y/ U! x6 j7 J) }
  567. ; Example:
    % ?7 s' x1 k( h. ^' M  x7 r) r
  568. ;error_log = php_errors.log
    ) R6 U  T7 j0 ?. g* `7 K2 j
  569. ; Log errors to syslog (Event Log on Windows)./ ~7 Y/ R" ~8 C& w5 o" o
  570. ;error_log = syslog  g' p0 q! ]" b6 N

  571. & R% q) N1 m9 V
  572. ;windows.show_crt_warning6 y5 L: e4 \6 E
  573. ; Default value: 02 i4 P; E- P) g# J+ D" r
  574. ; Development value: 03 S! @5 S6 P7 T6 S& c
  575. ; Production value: 0- C2 d4 @$ g$ a2 o( V$ H
  576. 5 G) V9 W2 a6 Q/ `1 \
  577. ;;;;;;;;;;;;;;;;;
    ! l3 G2 x6 Q. ]: M+ j3 i  F1 s1 J
  578. ; Data Handling ;6 m& N  A: T( j$ ^4 E- N
  579. ;;;;;;;;;;;;;;;;;4 d! @9 F) Y: O
  580. 6 i4 X+ Z( z- C! p* F* ^  s
  581. ; The separator used in PHP generated URLs to separate arguments.- j1 }; {' A, V( s6 R0 K1 o4 W) q
  582. ; PHP's default setting is "&".0 t5 C# Z5 |, A3 w1 [
  583. ; http://php.net/arg-separator.output* h7 J# z- b3 Q: r/ X" w5 y
  584. ; Example:! N3 \9 @! u" P5 _% ?8 @
  585. ;arg_separator.output = "&"+ P3 w* k6 J( Y1 t# q
  586. " {5 x8 H# W2 E/ }' Y
  587. ; List of separator(s) used by PHP to parse input URLs into variables.( N; ~+ R8 L( Y/ j; v
  588. ; PHP's default setting is "&".
    / n8 ?, T6 H$ l( z8 q0 X0 ?
  589. ; NOTE: Every character in this directive is considered as separator!
    4 r: [2 V' e8 Y* R8 U  n
  590. ; http://php.net/arg-separator.input
    $ A' f% R3 Y, C" N( ]
  591. ; Example:6 |! E* H" `' W% V
  592. ;arg_separator.input = ";&"& k* m, H* E3 @  i

  593. 6 O! j4 c9 Y0 J+ n* H
  594. ; This directive determines which super global arrays are registered when PHP9 X* D5 N: s$ j! Q: C
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    1 a5 ^6 ^; u# g# C2 h$ ^* x; l" J
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty" N. b. C6 D- A9 q
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    6 Y; X) u/ ^2 Y) e, v
  598. ; used as the others, ENV is not recommended on productions servers. You
    % A1 N4 a4 G' G) l2 q2 b, ^5 A" J' [- }
  599. ; can still get access to the environment variables through getenv() should you  W, I  E' G9 T( ]
  600. ; need to.1 ~$ r4 L$ g3 k  f
  601. ; Default Value: "EGPCS"3 H' \1 q5 E) t3 S& ^$ r
  602. ; Development Value: "GPCS"0 O# X, F9 }2 i# [' _; s
  603. ; Production Value: "GPCS";, G! V/ W* D. w4 F- R& T% }! `- g
  604. ; http://php.net/variables-order
    " t, {% }8 I7 r7 s& E3 T
  605. variables_order = "GPCS"
    # S7 I; o$ C. R3 n5 p

  606. # U2 _. R$ m5 l' w4 Z
  607. ; This directive determines which super global data (G,P & C) should be
    . A; \( @' o4 R4 y4 H( u
  608. ; registered into the super global array REQUEST. If so, it also determines
    ! }- u8 `+ `& ^: S* i7 @0 w
  609. ; the order in which that data is registered. The values for this directive' R! v8 `) u7 [2 I2 M6 r, S
  610. ; are specified in the same manner as the variables_order directive,
    0 D) M" C8 }' n4 f; ~
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    " R/ t9 K, ?# i) w# ?
  612. ; in the variables_order directive. It does not mean it will leave the super
    : X; w) d1 |; O+ h; e$ u! g
  613. ; globals array REQUEST empty.5 |# {2 {" Y) Q: E
  614. ; Default Value: None* V4 E  _( Y  {5 ]- a
  615. ; Development Value: "GP"1 S- `4 H- O- [( p: I+ d
  616. ; Production Value: "GP": A5 r5 V7 }' ]' Y. ?1 u
  617. ; http://php.net/request-order
    ) W. G: K$ G* Z2 A  N4 |1 ]
  618. request_order = "GP"
    ( X. W* q- [) ?1 b/ }* w1 F

  619. ( _6 l* }3 r0 i3 o% ]$ }; o
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    ( q2 \' o8 H2 ?) S+ a
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    : S- r9 K2 _! Y/ @
  622. ; is invoked. $argc contains an integer representing the number of arguments
    ) \2 ]+ h4 }1 F
  623. ; that were passed when the script was invoked. These arrays are extremely. B  e& @' I$ X5 t& j' R5 u
  624. ; useful when running scripts from the command line. When this directive is
    $ S% Y5 {4 w  q3 G! |1 `, B
  625. ; enabled, registering these variables consumes CPU cycles and memory each time% h% y& ?0 N. h# i8 q
  626. ; a script is executed. For performance reasons, this feature should be disabled
    ! D! L: Q3 i0 k3 v+ N& u# y, Y
  627. ; on production servers.
      I9 B5 {; y' [
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    7 s2 V4 ]: s" W; N8 d$ y8 e
  629. ; Default Value: On  K% x/ m  K, x
  630. ; Development Value: Off* d% C' G/ k; o% h( q5 y5 x
  631. ; Production Value: Off
    4 D- b" M  d! e" Y! W
  632. ; http://php.net/register-argc-argv
    0 J( ~' J; d& p* }4 Q- e
  633. register_argc_argv = Off
    4 d. o9 @1 c; `

  634. % F7 b) @4 ?: X* L; R- Z
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    * x: N1 j) G8 j& B; a
  636. ; first used (Just In Time) instead of when the script starts. If these3 d0 j1 z( O: R( s
  637. ; variables are not used within a script, having this directive on will result
    " D. b8 z) P* L+ U
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    2 z2 w) b- k+ f3 U1 j) e) k
  639. ; for this directive to have any affect./ n! Q8 C1 ?2 n$ _. V0 G1 i
  640. ; http://php.net/auto-globals-jit
    1 B7 q) C; X6 K" R
  641. auto_globals_jit = On
    9 k, s$ W6 I' b3 G5 E

  642. , Q2 y& ~& M7 ~* _, v
  643. ; Whether PHP will read the POST data." ~4 T1 U- c$ F2 ]
  644. ; This option is enabled by default.
    5 R% F7 k8 z3 {5 H9 K/ g- ~; O$ o
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST" j0 r/ v$ H% m1 Q4 x
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    1 B% ^+ J5 }( n$ p
  647. ; POST data will be through the php://input stream wrapper. This can be useful! O$ Y7 q5 T; B( }& y, j1 @
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.$ o$ h+ M7 l) G$ h$ V0 D
  649. ; http://php.net/enable-post-data-reading
    9 |$ q  ]# C: p! n$ `* [
  650. ;enable_post_data_reading = Off
    9 p/ R5 P1 b" J0 ?5 G2 P1 U* ?* L
  651. 1 y# k' `* `+ L- p. n0 v
  652. ; Maximum size of POST data that PHP will accept.3 G3 G! B  a/ j1 K. @- Z
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading2 \: W( }$ \( u+ k* u# ]
  654. ; is disabled through enable_post_data_reading.4 a+ T" _; F/ h+ N
  655. ; http://php.net/post-max-size/ a! _- i  P9 \0 \6 a4 A
  656. post_max_size = 50M1 d) H# \& F4 y% N& B' ~
  657. : |2 T# Y, J8 k+ g9 m* y" `$ P
  658. ; Automatically add files before PHP document.
    0 E% l6 G! z) o0 Q' ]+ H3 [
  659. ; http://php.net/auto-prepend-file
    # D& ^3 k& c0 \
  660. auto_prepend_file =: {& v4 |# J& c: h7 ]6 V
  661. & [3 ~# F  h- P' f" ]6 v
  662. ; Automatically add files after PHP document.  u3 d! F4 E; b0 ^* m: b
  663. ; http://php.net/auto-append-file8 K+ w/ `. E6 k5 k; H, H7 `
  664. auto_append_file =! |5 n' q- y. H% m9 X

  665. 8 {8 b2 @- X7 Y% N2 G( b. U4 g0 m% G7 v
  666. ; By default, PHP will output a media type using the Content-Type header. To
    # f; Y& u6 y' M1 K( @! Z5 K) |
  667. ; disable this, simply set it to be empty.3 Z  R6 z: g9 B; ~: z- A6 Q$ b9 m
  668. ;" c4 ~7 U6 g+ D8 ^- ^5 X  b+ @
  669. ; PHP's built-in default media type is set to text/html.
    + V9 C9 R/ `) T0 @- ^- B
  670. ; http://php.net/default-mimetype1 Y4 m2 q5 F7 i- R9 k/ _
  671. default_mimetype = "text/html"
    5 a: L% V' B; X3 j1 x
  672. ; T. @. {, A7 c/ o8 l
  673. ; PHP's default character set is set to UTF-8.- V. ?) X& {- W+ V3 b) Y. ], h9 n$ f
  674. ; http://php.net/default-charset) A' F" K+ P/ l2 B8 o. z% o
  675. default_charset = "UTF-8"& r' p2 [0 F3 \* r
  676. ( I5 Q3 Z2 Y8 X/ J
  677. ; PHP internal character encoding is set to empty.
    ' a! i4 Z3 @% Q6 e0 [; s
  678. ; If empty, default_charset is used.
    6 O, h4 U" H2 f, ^
  679. ; http://php.net/internal-encoding
      ^% @9 O6 P( ^; y+ \
  680. ;internal_encoding =4 |+ T- Y% s: r: K

  681. $ _( i( ~1 f% d4 O' x
  682. ; PHP input character encoding is set to empty.4 N' q/ b  L5 B" T0 h
  683. ; If empty, default_charset is used.- x2 F" I+ X1 p8 q: V0 ~8 @
  684. ; http://php.net/input-encoding
    5 D7 V/ Q( m8 z8 t( _+ T
  685. ;input_encoding =% n5 |& ]* A$ D8 G: e
  686. ( j1 B6 b5 i. J& |
  687. ; PHP output character encoding is set to empty.
    0 S- ]% a4 ^- h5 @! q5 s
  688. ; If empty, default_charset is used.
    3 R' ]$ n% ]! D9 q; h
  689. ; See also output_buffer.
      C  G9 q- ]  L, _3 x* G
  690. ; http://php.net/output-encoding' w# _* z! t, I! f
  691. ;output_encoding =
    4 e2 Q1 L& |- J# l0 S1 D! X% g  D
  692. + ~. M! U$ Z0 G1 W6 `- ?
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;4 R% T0 R/ ]! A4 e1 n
  694. ; Paths and Directories ;% c5 C) i  F, F, U. q/ o, }
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;* @% n7 C, U5 F

  696. * k+ O% z/ d* f- ?- n% |& V
  697. ; UNIX: "/path1:/path2"* c, G4 i: [& `' g; V3 G6 g/ K/ D7 a
  698. ;include_path = ".:/php/includes"
    ' `% ~0 G  d- C6 X1 O
  699. ;
    % x6 S. N# q! Q3 s! }
  700. ; Windows: "\path1;\path2"
    5 F) |. ]) U: ^2 p& B; x
  701. ;include_path = ".;c:\php\includes"3 |' a# a' {+ b8 n
  702. ;# `. k; h$ a+ }) f) _4 r) r% o  p
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"3 p# |/ B% Z( x) ^
  704. ; http://php.net/include-path5 X4 t3 _; L% a$ ?/ w1 p

  705. 9 c' j- o+ c; J& b
  706. ; The root of the PHP pages, used only if nonempty.' s$ \. M2 Y! O% Y
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    6 S3 b' h9 d" e  v  m$ P' A
  708. ; if you are running php as a CGI under any web server (other than IIS)# u) S) d5 }  d, h% a# |
  709. ; see documentation for security issues.  The alternate is to use the
    - l, `/ A5 t7 C, q9 ?' B; B8 _
  710. ; cgi.force_redirect configuration below
    # `; R* G, w, u
  711. ; http://php.net/doc-root5 g  V/ W2 B4 [2 w5 M* \' J' Q; i
  712. doc_root =- A3 O+ x, r! D2 g1 X. N
  713. 9 e; c: w. }3 E6 y9 s8 u. ?. {
  714. ; The directory under which PHP opens the script using /~username used only5 Z$ }( e" N& \
  715. ; if nonempty.: E6 K7 r2 y$ d- p
  716. ; http://php.net/user-dir+ O7 d# T) Y$ V+ v' v8 e7 s
  717. user_dir =
    ' P5 X) x2 d; M6 Q. r' l, ]3 M: G9 @

  718. 5 v% s1 k) z; V# x& t2 f3 z9 g
  719. ; Directory in which the loadable extensions (modules) reside.5 p+ l* D7 ?9 V" O( z7 }& w
  720. ; http://php.net/extension-dir
    / V  R% L, U1 B% x
  721. ; extension_dir = "./"1 E8 |% ]! K0 E/ S' |5 ]2 j2 J: Z& ~
  722. ; On windows:
    . d, P6 d2 f2 ]; l
  723. ; extension_dir = "ext"- f% q1 i/ r# ^7 Z6 ^0 q# V

  724. " _" A+ V" `1 V8 e
  725. ; Directory where the temporary files should be placed.! Q) E$ `1 w7 O9 I1 c) v1 ]
  726. ; Defaults to the system default (see sys_get_temp_dir)9 Z. ^, v$ u5 g* t
  727. ; sys_temp_dir = "/tmp"2 t' D% z( ?6 C$ b) }, X! \
  728. ; j( y6 _) \3 {
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work6 z+ ?/ H& X4 l" I4 z1 y7 \1 ?
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    : _4 d2 _# f3 m- ]1 A% t: n
  731. ; disabled on them.
    7 Z6 k8 }! K: n- ~& N7 v
  732. ; http://php.net/enable-dl
    * D3 V4 Y2 C/ X. I0 H
  733. enable_dl = Off
    8 S, ]+ f; E6 i( }& A" c9 i
  734. & A$ T( n( c' a  _5 j* [2 l  n
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under, V6 C! g" E. u- `0 k# W/ |5 B9 c
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can. W6 n6 N5 g* I1 ?' R( u
  737. ; turn it off here AT YOUR OWN RISK
      d4 Q+ m$ V7 B# v1 J
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**2 `8 x2 `8 ]: S$ u* o' _
  739. ; http://php.net/cgi.force-redirect0 V" M+ {- E, ]6 {! a" k; ]! G
  740. ;cgi.force_redirect = 11 y* n# ^. O7 x7 G% ]: A9 P
  741. ' A2 B7 M; n( B7 x! J
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with' m7 H! H/ p& p! H1 n( I% [
  743. ; every request. PHP's default behavior is to disable this feature.
    9 ?- E( V/ l8 n1 z; i+ S8 I( G
  744. ;cgi.nph = 1
    " U; c: T" S& I9 g# o

  745. 5 T* N" w* [/ A! b
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
      y5 o1 b+ H: i/ B& M3 P# i
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP; S9 _0 d3 G, f* X
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY9 F. M! b7 [4 `: z. a! z/ Y4 e
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ) J5 \) |" V5 r/ N* l0 f, o( d
  750. ; http://php.net/cgi.redirect-status-env
    ) k) T2 H& C+ |+ p8 x& N  m
  751. ;cgi.redirect_status_env =
    9 I! {, J( {2 y" X: s

  752. % ~& j9 l% d/ I
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    " S, g0 I8 u3 @9 N, Y
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok7 h- W+ Z  y& B- n0 B! }8 c  s
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ) b. z, j3 g% H4 _! O5 J
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting, G; ^% h5 m, I/ S' q( }6 g
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ' V; I! e5 @0 R2 j" ?6 Y( D
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    # a: h- o, x; Y+ h" q# x
  759. ; http://php.net/cgi.fix-pathinfo
    ' W) s+ N) A% L3 t2 D2 u* C
  760. cgi.fix_pathinfo=1( S" B+ A: L! B8 ]* {$ r( d) }

  761. ; d* A+ O- V. Z/ v0 I1 B: d
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    & Y+ Z) t" ^7 i* t! t
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    4 T' l4 D9 J2 V$ R) X  l
  764. ; http://php.net/cgi.dicard-path; |7 E2 N- f$ K3 U
  765. ;cgi.discard_path=1
    / G4 A$ n' F; o3 }2 q

  766. % k. Z% \! n, R% \, i
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate2 u' M" A( N- s9 [" T7 r  u
  768. ; security tokens of the calling client.  This allows IIS to define the
    & Y$ H+ ~: ?3 ~" j& T" }/ W
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    1 a$ C) y$ m8 @7 A# F4 W# b
  770. ; does not currently support this feature (03/17/2002)
    ; v: n: G" c$ `! A- B* f
  771. ; Set to 1 if running under IIS.  Default is zero.3 g' j1 Y: M2 j7 ?0 y) W
  772. ; http://php.net/fastcgi.impersonate
    5 l3 p, G2 `3 m) u. w' a' Z
  773. ;fastcgi.impersonate = 1
    2 q, i, o2 k6 E9 i

  774. 2 d* \( E! q2 C+ t; ?3 T
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    6 w, G& T) i0 r1 Q; i* ]/ v
  776. ; this feature.
    / N( x1 O7 g2 V+ j5 F4 n
  777. ;fastcgi.logging = 0
    2 m8 `' ~* s% M! G/ n+ c

  778. # Z2 D4 @# Y' U4 k: b
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to6 }" |# z* [- `
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    & x! `5 x5 {, D1 _( V) O
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    ; ~0 y. R7 F0 A, }. N0 L7 u1 G
  782. ; RFC2616 compliant header.
    4 ?0 a  s3 P! x5 R. `
  783. ; Default is zero.
    7 E5 K, j1 G  K0 R0 k0 q7 n3 R* g
  784. ; http://php.net/cgi.rfc2616-headers
    1 `) K7 l; ?8 x% K5 ~
  785. ;cgi.rfc2616_headers = 0; v( K) X' g& H( e' N. \6 r+ F/ E

  786. & h9 U+ g( |; |
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!9 D3 W& E$ P8 b- ]
  788. ; (shebang) at the top of the running script. This line might be needed if the
    & j" h) J+ O/ ^4 q
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ) e* h- W6 [" y& n3 @* n* a. a
  790. ; mode skips this line and ignores its content if this directive is turned on.0 t3 P- V0 i  B$ W8 @; d
  791. ; http://php.net/cgi.check-shebang-line
    : c4 E9 X) W% }' K
  792. ;cgi.check_shebang_line=19 x" b; ^& D! s1 l- [" I' u
  793. , B$ k+ |9 V/ Q* c  s" ~
  794. ;;;;;;;;;;;;;;;;. w0 ?% ]0 X! T3 C1 ]
  795. ; File Uploads ;. X+ O4 z% l  A1 C! b( ~
  796. ;;;;;;;;;;;;;;;;+ a5 e' Q) h* P! |/ m
  797. & H8 A4 f& V) ~! H# u; |& ^7 [
  798. ; Whether to allow HTTP file uploads.# _* D, n1 Y, z% P
  799. ; http://php.net/file-uploads
    : p7 g9 @" V' o2 ]2 Y1 R
  800. file_uploads = On
    % X8 h, d7 b/ P% E
  801. / f0 G: C5 q7 n1 f" p/ z$ x
  802. ; Temporary directory for HTTP uploaded files (will use system default if not9 j; C- [$ |) x1 u( m2 @/ V
  803. ; specified).# j; @7 `: f# j" V$ ?2 y5 G
  804. ; http://php.net/upload-tmp-dir- p2 b5 o5 d4 V5 t
  805. ;upload_tmp_dir =
    4 M: W$ Y; D( }: e' j6 D/ P

  806. $ w$ r4 ~5 z6 x8 l7 o
  807. ; Maximum allowed size for uploaded files.7 \, j" w7 n* U( x! u3 O
  808. ; http://php.net/upload-max-filesize1 ^: c: C% V% G$ V
  809. upload_max_filesize = 50M  p- L2 S8 v3 B% j+ q8 t
  810. : H/ N7 }( a* E* g8 N$ }7 W1 o
  811. ; Maximum number of files that can be uploaded via a single request
    * k) O% G* L+ Y  ~
  812. max_file_uploads = 202 I# o4 p7 {* A# D- s

  813. ) w: w' O- X" U, I
  814. ;;;;;;;;;;;;;;;;;;. t1 q  u; C3 a) G/ Q# E! u
  815. ; Fopen wrappers ;
    & D& B: Z& w/ s3 O) X; G6 |3 E( V
  816. ;;;;;;;;;;;;;;;;;;1 A) r9 }! G. f5 E3 k" C; z
  817. ( N4 [* j9 I/ G! ~9 O
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ; \$ q, s6 h5 x. Y% R
  819. ; http://php.net/allow-url-fopen& W& Q6 w* Q6 t; u
  820. allow_url_fopen = On+ D- q* O( \5 m: T

  821. ' P8 f7 K  B5 e* J
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    , f8 h8 D% L6 h& p: H
  823. ; http://php.net/allow-url-include! m; q  I  Q! y4 D% j% o& i1 F2 `
  824. allow_url_include = Off, E7 t" B* z: _9 g% \4 W

  825. 0 P4 c0 I* R- ~/ m
  826. ; Define the anonymous ftp password (your email address). PHP's default setting) ^' D' E4 q# E  [2 S" u8 [
  827. ; for this is empty.
    4 y* y7 ]( i. [/ v
  828. ; http://php.net/from
    , g9 J7 f' R8 x4 C. D8 U
  829. ;from="john@doe.com"
    $ Q' H: ?! q- E2 {
  830. & u8 X, k. y  x! N4 z% r# X
  831. ; Define the User-Agent string. PHP's default setting for this is empty., C  U) b- g% k1 u
  832. ; http://php.net/user-agent! ]  V: }- C) }& a  W3 Z
  833. ;user_agent="PHP"
      X2 G' Z, H1 {( B

  834. $ F& {; k# S+ Q4 ?+ J
  835. ; Default timeout for socket based streams (seconds)5 t2 e* U# B3 }% k: \, Y
  836. ; http://php.net/default-socket-timeout" n/ L% ^0 r: F6 b" c& [% r1 Y
  837. default_socket_timeout = 60; A. T9 g+ k5 z) R" u

  838. ! j; X' U; \# w0 I8 e
  839. ; If your scripts have to deal with files from Macintosh systems,
    , B, J7 @; I  `( I, b! P
  840. ; or you are running on a Mac and need to deal with files from8 u: g+ f3 ?2 T6 }. d; _
  841. ; unix or win32 systems, setting this flag will cause PHP to6 _5 B% X4 C/ {2 Q: i9 H, b- e5 w
  842. ; automatically detect the EOL character in those files so that
    7 X# Y& [  i% w$ t0 r) N
  843. ; fgets() and file() will work regardless of the source of the file.% u9 B5 H6 v. }! c
  844. ; http://php.net/auto-detect-line-endings1 U+ v) p- y1 t- a  O1 z
  845. ;auto_detect_line_endings = Off
      W5 p6 p2 M- N, Y  _1 T3 K8 k& z

  846. ( `9 R! H* ~% ^* C
  847. ;;;;;;;;;;;;;;;;;;;;;;
    ; Z' d% n+ p. _1 e+ K
  848. ; Dynamic Extensions ;; E3 i( @) w) `# ^1 _! l6 j
  849. ;;;;;;;;;;;;;;;;;;;;;;" h% i- ]1 O, ^) \1 k" \5 |0 B

  850. : @5 ^; s  @. R* ]- Y) S
  851. ; If you wish to have an extension loaded automatically, use the following5 B) M; h4 R. N( B
  852. ; syntax:
    7 L! N8 Y4 ~: i, E5 H3 N
  853. ;
    - |1 t) ?1 n) ?6 p$ c
  854. ;   extension=modulename.extension# W  F. n8 |4 P6 P8 p2 f/ Z
  855. ;& B. H( k( i) P9 P1 T
  856. ; For example, on Windows:1 E* Y$ z: d( z3 s( E
  857. ;$ i# L* E+ y% [& t# @) @9 B- P2 t
  858. ;   extension=msql.dll
    5 f: _: J  a) \9 ~: q  |/ e; D8 Z
  859. ;$ v+ f6 s+ \; u4 p+ _5 h1 \$ r
  860. ; ... or under UNIX:! X8 h$ F" [9 m8 N- w6 [) v
  861. ;
    $ c/ a; F6 s5 z
  862. ;   extension=msql.so1 z% o0 L. d" Q& V
  863. ;
    1 Q1 y* T7 ^# d# W
  864. ; ... or with a path:
    * c0 j" G5 W/ P' ~9 a! O8 I& ^
  865. ;
    ; D* v  }# B) M  M
  866. ;   extension=/path/to/extension/msql.so$ _  t, {& C  K8 N+ n" J; }
  867. ;; o- p: J! |" l! G2 p: r
  868. ; If you only provide the name of the extension, PHP will look for it in its
    & Q' M- i: p2 E
  869. ; default extension directory.
    4 K1 g+ ]2 n7 G2 Z" K! I
  870. ;
    # X7 _+ b/ _1 l9 v! M0 H
  871. ; Windows Extensions
    - O7 @+ O' D' P* V5 h/ ]
  872. ; Note that ODBC support is built in, so no dll is needed for it.1 i" q8 l' u. \9 S4 K
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    & }: H/ X1 D" z2 M1 [- d
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).  o' n1 H9 z- [! _; R
  875. ; Be sure to appropriately set the extension_dir directive.. {2 `- q* m% _/ a4 o( i  X) J) S/ O
  876. ;' c. Y) i: j3 n$ [- ]
  877. ;extension=php_bz2.dll! U' n0 V2 d% T5 U
  878. ;extension=php_curl.dll
    2 V( M3 A1 t3 r0 u/ [
  879. ;extension=php_fileinfo.dll2 m& E1 q+ k4 ]  r3 r
  880. ;extension=php_ftp.dll
    4 @2 ]* Z  }, R2 V3 ]) ?
  881. ;extension=php_gd2.dll  L- p, i5 E2 T7 o% [4 w7 Z
  882. ;extension=php_gettext.dll
    ( z. A; a! C  V, K! t! l2 \! K, q
  883. ;extension=php_gmp.dll- a4 |3 M5 h% c8 Q" A- u/ I
  884. ;extension=php_intl.dll
    ; t9 X  F" P) R: r& P4 G
  885. ;extension=php_imap.dll, v% R) x" M4 }9 O0 J, {4 J
  886. ;extension=php_interbase.dll
    " B7 T+ i. ~( f
  887. ;extension=php_ldap.dll
      Q; _. n3 j+ u  j% O7 z3 X
  888. ;extension=php_mbstring.dll" d" o  l; x6 F7 e
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ) C! L8 f; I' z1 R$ P% U
  890. ;extension=php_mysqli.dll
    4 N* }/ h1 Q4 f7 m( @3 N3 m  `, C
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    # ?. H- T$ k( [, S+ r/ B5 A
  892. ;extension=php_openssl.dll
    6 {- f* {0 w/ H) j& e
  893. ;extension=php_pdo_firebird.dll" E: R9 t, L: l- m  Q* n8 F# n
  894. ;extension=php_pdo_mysql.dll
    & L6 B2 ?0 a/ Z8 d9 ?
  895. ;extension=php_pdo_oci.dll
    7 {/ Q  _4 ~  {
  896. ;extension=php_pdo_odbc.dll
    # @5 D& N8 p, @: y; f3 r3 \! v  a
  897. ;extension=php_pdo_pgsql.dll4 L  p# A1 p. K" K; P1 [
  898. ;extension=php_pdo_sqlite.dll% k5 G. a9 u, l* C: v1 a6 T
  899. ;extension=php_pgsql.dll
    1 U6 l% j; b4 Z5 w/ t/ q
  900. ;extension=php_shmop.dll
    & y" P4 E9 i3 F" B$ Z$ ]* v9 F

  901. , b6 g3 V) u( ]# a
  902. ; The MIBS data available in the PHP distribution must be installed.; t& d, }* S* L& e+ ?6 Z1 {' t. Q# y
  903. ; See http://www.php.net/manual/en/snmp.installation.php
      J- {1 Y6 V7 V+ d9 f
  904. ;extension=php_snmp.dll* T" @, j2 a5 X
  905. * }  w# A% O" d2 a* f
  906. ;extension=php_soap.dll9 Y! }) v1 p; Z5 R/ ]+ ^2 x0 a
  907. ;extension=php_sockets.dll
    9 Z' u8 f5 m. A; _
  908. ;extension=php_sqlite3.dll  y% s. v5 A/ Z) J2 T# a9 H5 q
  909. ;extension=php_tidy.dll
    9 R# }) b# Q/ W' u' _/ H8 ?% d# p
  910. ;extension=php_xmlrpc.dll
    * r2 r* v3 j( n( ?! n
  911. ;extension=php_xsl.dll
    + j+ w9 B  ~& V
  912. ) s$ _. X5 ?2 h" A
  913. ;;;;;;;;;;;;;;;;;;;
    & ^2 S1 z6 D7 c
  914. ; Module Settings ;
    ' w0 o: G/ S5 j, ]% m9 w) ~( g
  915. ;;;;;;;;;;;;;;;;;;;
    ; m' g6 _' E: v# w6 v* l9 v/ e5 L

  916. # `1 O" N' e1 `4 b" J* W7 a
  917. [CLI Server]  P3 X1 q' l1 k* B" h. a# g: U+ }
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ( @; X  @2 l; H8 }. b" J; ]
  919. cli_server.color = On
    / n0 S) p/ C7 r+ o4 H

  920. * t1 J2 }& U; c, I6 o# i9 J0 D$ i  p
  921. [Date]# X& `) f8 H4 A6 X! [7 F9 q
  922. ; Defines the default timezone used by the date functions  ?8 I; M! T# C) C" E& G
  923. ; http://php.net/date.timezone2 b+ g$ j( S- D( J: `$ r2 ]
  924. date.timezone = PRC8 r2 ^  [# a! M6 {/ R# z- e

  925. ; G" V8 u7 I" x- U
  926. ; http://php.net/date.default-latitude; x) J  Y# g& z) e8 K' a$ [% K; {
  927. ;date.default_latitude = 31.7667
    & v% g; Q& n" a7 ^0 D

  928. , X0 A! K" Z3 |3 V1 x' C7 H3 M4 O) B
  929. ; http://php.net/date.default-longitude8 I5 @- ]0 e& M* U
  930. ;date.default_longitude = 35.23331 R" w5 c( H& H3 G2 q: |( @
  931. + b* ^/ x8 D, u7 e1 {( O& O5 d: H7 C
  932. ; http://php.net/date.sunrise-zenith
    ) I0 }- _( _/ [: s1 L1 \
  933. ;date.sunrise_zenith = 90.583333& [" K+ N) _4 c* c. M5 R, ]% o

  934. / _* B  I+ t) R) H: ^
  935. ; http://php.net/date.sunset-zenith$ P1 L) O8 N' \: |0 g
  936. ;date.sunset_zenith = 90.5833332 V3 y& R% Y7 D+ G9 [

  937. & g! t7 B* w8 _3 E% \  h9 |- Y- O& r
  938. [filter]
    , ?& y$ O5 ~2 v8 Q% E" V
  939. ; http://php.net/filter.default
    ! b0 z# a) K5 q) j
  940. ;filter.default = unsafe_raw$ b( Y1 [$ E9 A8 G% @9 u/ O4 ~

  941. ) F9 H5 v6 G1 L/ R9 {9 X" ^
  942. ; http://php.net/filter.default-flags
    ' \+ U( n9 H% w$ x+ G% Z6 R$ w8 S
  943. ;filter.default_flags =
    3 u# S5 n) ?2 E) j

  944. 8 U' i* _/ i' m( e
  945. [iconv]
    . ~) k7 h6 V2 f- W' h. @7 t
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.$ Z6 G5 Z! H6 S5 K8 @
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    6 O# K( r2 S. @9 H( S. B* r4 F
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding& l; ^6 I7 i% K: G8 W( T! p% E- v
  949. ;iconv.input_encoding =
    ( |! A/ [. e* q) E' y0 Y

  950. 2 K2 T5 i* e1 F; v+ @8 Q
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.+ V. P: n6 q6 O) _: K# F( W0 f: c
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ; y; C' @2 L" l0 W% O( ?4 r  P
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding: O" W6 L/ x2 g- p3 v) o
  954. ;iconv.internal_encoding =
    8 s. W& ]& ?6 [- ^9 R

  955. " z+ y- i: x" j. Z3 d0 N
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ) L- H, O! C; h! B* w2 Z1 d6 ?
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.3 E) f3 s2 _# C, `: \
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    , F0 z# b& m  Z
  959. ; To use an output encoding conversion, iconv's output handler must be set
    ! q( x2 L( t4 Z1 N* }0 r3 b
  960. ; otherwise output encoding conversion cannot be performed.
    + e- ?6 g; G5 j, e" \( R
  961. ;iconv.output_encoding =. }( L9 {) d1 f
  962. & \7 ]( w/ w! f
  963. [intl]  M/ V+ b* j# C
  964. ;intl.default_locale =
    * K  g+ G9 V5 m: n; E0 B" V3 {6 O
  965. ; This directive allows you to produce PHP errors when some error/ ]- {+ G4 V7 y, g) D" M* e& |# I
  966. ; happens within intl functions. The value is the level of the error produced.. Y4 [2 [; m* e1 h4 }
  967. ; Default is 0, which does not produce any errors.
    : \  M+ P+ B. l9 `7 T+ W/ m/ j
  968. ;intl.error_level = E_WARNING
    ( n- e* a! d+ C+ V2 C2 \
  969. ;intl.use_exceptions = 0
    2 G0 t1 q: S8 w, S$ x0 H* a* o9 d: I

  970. 3 n7 M8 H6 P/ i% k
  971. [sqlite3]
    8 T: D$ g6 Y& C) V5 m1 e/ I
  972. ;sqlite3.extension_dir =4 d& n7 s' x5 \% O- G9 O( H4 M
  973. ) }, I) b# H4 S
  974. [Pcre]
    + {$ I% N+ k4 f: a4 q
  975. ;PCRE library backtracking limit.
    5 E+ e! v0 f, ?9 G' |
  976. ; http://php.net/pcre.backtrack-limit) C) z' ^7 z' j) o
  977. ;pcre.backtrack_limit=1000009 g) @( A( @" Y; Y4 i% V! N

  978. # d: S0 M* C% ~6 i
  979. ;PCRE library recursion limit.
    3 @  [  S9 c+ i' V
  980. ;Please note that if you set this value to a high number you may consume all
    7 [% f6 C0 v$ Q- }$ a- t4 S" a8 z  q, R
  981. ;the available process stack and eventually crash PHP (due to reaching the
    % S" m2 _0 H. J! T% @
  982. ;stack size limit imposed by the Operating System).
    * I  ]* f1 s( [7 \# u
  983. ; http://php.net/pcre.recursion-limit
    + t" u) ?) \$ }* w4 n7 j
  984. ;pcre.recursion_limit=100000# }; W6 U$ x. j- I4 c3 t6 Y
  985. ' _5 d+ b" g$ U% W& g
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    / ]1 k8 n# @% v$ ~0 Y: M
  987. ;library to be compiled with JIT support.8 Y6 _- m7 R8 v% D+ g4 U& X: M
  988. ;pcre.jit=1! I7 @8 D$ Y! P2 r1 f7 f# f
  989. $ v4 N$ v7 |& z5 L# e8 E! r+ Q
  990. [Pdo]- o- ?9 k. N  w8 u  N
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    1 s% R0 ^2 `/ R; z2 |8 E
  992. ; http://php.net/pdo-odbc.connection-pooling
    / j# x4 X8 u1 u9 i1 D* O
  993. ;pdo_odbc.connection_pooling=strict
    4 M' K. ~( e; X: g8 p1 W

  994. , E& L, k- c7 j  I
  995. ;pdo_odbc.db2_instance_name3 f* T4 s# C, E  U/ H6 ~

  996. ! Z4 J5 w9 J# o2 `
  997. [Pdo_mysql]
    . Q! i' N; N0 K8 d  L1 c9 r7 z
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    1 M1 f1 S$ b5 ?" f& ]+ g( s
  999. ; http://php.net/pdo_mysql.cache_size( a- `- H4 ?) Y, b+ d, h
  1000. pdo_mysql.cache_size = 2000
    1 _0 d. }! E$ g" x, V0 r* j% ~
  1001. 6 q# J9 q: c. j$ Z
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    4 b# {/ S- n/ i) z/ }
  1003. ; MySQL defaults.
    0 Q1 T" y9 V; t( ^
  1004. ; http://php.net/pdo_mysql.default-socket
    - }7 ~1 a1 y9 U
  1005. pdo_mysql.default_socket=- C$ s0 d+ K8 L

  1006. * v4 R: w; @/ _- A) L
  1007. [Phar]
    / g; }9 e; v- z* e
  1008. ; http://php.net/phar.readonly3 y3 q. J) P& h
  1009. ;phar.readonly = On
    ' ^1 i8 z# c/ H. Y
  1010. ' ^$ m/ i! u# y- C. v* f+ Y
  1011. ; http://php.net/phar.require-hash
    - v. a% k6 z. ^7 K
  1012. ;phar.require_hash = On. S, A" ~8 M! R2 e
  1013. - p9 A# _+ M6 P6 `( l
  1014. ;phar.cache_list =$ R# ?3 N( b" \

  1015. 9 l- Y! T; R# _9 \# l
  1016. [mail function]2 n! w" B' f5 ^6 l1 z  I- e9 N8 @
  1017. ; For Win32 only.+ z* ^0 Q+ m8 R: W0 ~5 Q1 D% p
  1018. ; http://php.net/smtp1 w* e/ E' f  L. @. \
  1019. SMTP = localhost
    6 [4 r% Y( R2 u0 T! J
  1020. ; http://php.net/smtp-port
    * D1 ~, g1 ~$ i5 z
  1021. smtp_port = 25' _9 i8 L; }& f; D

  1022.   y5 m; E3 p( h( M! ?
  1023. ; For Win32 only.; C  L+ R. c/ s- U
  1024. ; http://php.net/sendmail-from
    8 l1 Y% o4 K* ^; _9 D9 o2 I5 h. U
  1025. ;sendmail_from = me@example.com
    # K- i! Q) t7 w
  1026. / K) r  R' K! o5 V, m2 R: l. L
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").) q# R4 g! N6 a5 Q
  1028. ; http://php.net/sendmail-path  ]/ o' N7 W$ s, k
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    / ?3 s& [# L* R- t. Z4 b
  1030. ! [9 M8 t! |; H' w0 w/ y/ ^( j
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    % T3 `, ~& @# q7 B& f
  1032. ; to the sendmail binary. These parameters will always replace the value of. J/ o2 D) h: i/ \% o
  1033. ; the 5th parameter to mail().& s1 O8 U$ v' o
  1034. ;mail.force_extra_parameters =
      F2 V/ z8 n+ Y" N! y& x% b6 ~( s
  1035. % \/ [7 U, F6 @9 x& W/ P/ F
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ! T9 T; M3 O* e! T' W
  1037. mail.add_x_header = On! |: k) q5 H" m! Z

  1038. ! G3 {0 M" p5 }! c) S, r9 r0 m: B
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    5 v; V- Q1 g1 v2 H8 _$ N
  1040. ; the full path of the script, line number, To address and headers.
    2 I( B: }# w! r1 G# N# |
  1041. ;mail.log =( ^# R! a' k9 [# q3 F- r, @  l' I
  1042. ; Log mail to syslog (Event Log on Windows).( n3 h# l" N; n& r( s, G7 P
  1043. ;mail.log = syslog
    , [+ ?1 J9 P$ x7 S$ X  n

  1044. + u5 ]/ }: E2 H. x) C0 B
  1045. [SQL]2 }2 a0 E2 a! \& y) m' u/ _$ n
  1046. ; http://php.net/sql.safe-mode# a4 b' S( ^3 }" ]: S' T4 ~
  1047. sql.safe_mode = Off+ Z' Y  d( j" {8 S; L

  1048. & W& w8 k' j* c
  1049. [ODBC]
    . Y* H! a( r  M: m
  1050. ; http://php.net/odbc.default-db
    % _/ K; v4 b+ {! l
  1051. ;odbc.default_db    =  Not yet implemented/ M  k, s) i+ M6 O$ [
  1052. 4 Q+ k! z2 Z  H% z, A3 c* g
  1053. ; http://php.net/odbc.default-user
    7 |5 C1 f5 O5 ~% [1 ~7 b
  1054. ;odbc.default_user  =  Not yet implemented
    & m: D9 L) |# g( d* J% g% p

  1055. 5 t1 c7 O% e6 E$ L9 v7 T6 b8 T
  1056. ; http://php.net/odbc.default-pw, |7 t( m3 y9 T9 v
  1057. ;odbc.default_pw    =  Not yet implemented
    # p( Y1 ?/ S: q; z1 X
  1058. 7 @+ M# M% {7 `* O* q
  1059. ; Controls the ODBC cursor model.3 ]. }* T# j" D/ Z) _7 D
  1060. ; Default: SQL_CURSOR_STATIC (default)./ B/ L9 [  m1 Q( Y7 q# q  C5 @9 u
  1061. ;odbc.default_cursortype
    6 A: S- L0 U8 {5 Z8 u# j; i" T4 z
  1062. # T) u1 D& Z; m! L6 {
  1063. ; Allow or prevent persistent links.2 d/ ~" l" G- X& x
  1064. ; http://php.net/odbc.allow-persistent7 A7 Y" ]8 V( g2 S
  1065. odbc.allow_persistent = On3 ~+ p3 h* k  y5 o# [
  1066. . y  r# [8 F% p) _
  1067. ; Check that a connection is still valid before reuse.
    + v7 T* n4 s2 b' n3 W
  1068. ; http://php.net/odbc.check-persistent
    ; ]7 s) j* w1 @3 R- Y4 f
  1069. odbc.check_persistent = On
    # Z3 q7 [# z, Z

  1070. 5 }+ F8 z! H" B. Q3 `  n. l
  1071. ; Maximum number of persistent links.  -1 means no limit.* a: b' A. d5 g. X1 ]
  1072. ; http://php.net/odbc.max-persistent# c( I& r3 I7 F- V/ z8 [
  1073. odbc.max_persistent = -16 S* [# ]' r! V0 m( ~7 Q" X

  1074. 3 k- ~3 q; w9 Z2 `. v2 u
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.; _; I9 R4 u5 L/ D- n& J; X  P
  1076. ; http://php.net/odbc.max-links; X! y- `2 V: ^8 P) h- {6 E, V
  1077. odbc.max_links = -1
      e( T* L2 ]9 y7 i* _0 {( T
  1078. + N- R/ g9 m0 n. s: @% Y. q
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means* H3 o- K6 @$ Z$ r
  1080. ; passthru.: M" l4 R4 K1 B% A# N4 [
  1081. ; http://php.net/odbc.defaultlrl" H+ ]) L5 C9 X3 L3 f+ K! b
  1082. odbc.defaultlrl = 4096! L: V/ G! T* C! ]4 M

  1083. + l- `9 p& Q) M# f7 b" f
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ! ~' U. A! Q& D
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    5 Z/ f7 {; `5 ~- |
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    + \0 \9 ^# i3 d- @6 I
  1087. ; http://php.net/odbc.defaultbinmode
    3 {9 E- D, T5 `  P6 w
  1088. odbc.defaultbinmode = 1
    - @  B3 a+ u* V+ N  V0 C9 z
  1089. 0 R" w+ L. r9 R& U% H
  1090. ;birdstep.max_links = -1. Z% D& f* \( Z$ C: @

  1091. 5 A" o. T* w4 N. D# e
  1092. [Interbase]
    ( Y$ Q' W2 M9 U, U
  1093. ; Allow or prevent persistent links.
    3 m2 H6 A7 H+ F  W+ I
  1094. ibase.allow_persistent = 1; H' A3 z, d) B0 U

  1095. " P7 i$ J2 D* Y+ P7 J
  1096. ; Maximum number of persistent links.  -1 means no limit.
    . q) {9 Y) |2 ^/ ?0 Z  F$ a
  1097. ibase.max_persistent = -1
    , c0 r0 G4 }7 k
  1098. 8 E1 U+ x: ]: [. a- i
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* n( N. K# T' X6 R8 E: |& e
  1100. ibase.max_links = -1
    ) C9 h! @2 ]7 s8 O; Q' f  h. U
  1101. 4 T% \0 D& j6 W% N4 h
  1102. ; Default database name for ibase_connect().
    % C" P2 f3 z8 _  q& s
  1103. ;ibase.default_db =
    # g1 _% i" ?) ]' M$ B+ M
  1104. : z8 N4 H0 s) ^) i0 D( M8 u9 ]* A
  1105. ; Default username for ibase_connect().
    3 G+ I/ n8 d, x8 C1 |
  1106. ;ibase.default_user =
    # f  [! ]4 q- o& E. S2 x2 }

  1107. " g$ V' a6 \) _! ?2 n3 f
  1108. ; Default password for ibase_connect().
    $ h1 a( N/ D( i9 s
  1109. ;ibase.default_password =
    : j6 g+ b- C/ w) K* f$ M6 f3 Z
  1110. 2 b' k# S6 O8 T" _' p
  1111. ; Default charset for ibase_connect().
    7 U+ |  w$ F5 e+ @% p+ s! E
  1112. ;ibase.default_charset =
    # A4 b0 O* H' \& Q" |

  1113. 6 K" }7 M$ a. L2 F
  1114. ; Default timestamp format.) T# S; p# y) k2 ^$ v
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    7 b# g' G1 {3 q! [$ U5 H& i. a
  1116. " v8 E* v2 h" v1 X9 R9 y
  1117. ; Default date format.# t% j) M% @$ C9 y0 D, _% N: I
  1118. ibase.dateformat = "%Y-%m-%d"
    . K- y5 v- N+ x6 O; N$ }2 X

  1119. 1 m$ ]0 ]! x( C0 I) |
  1120. ; Default time format.% S: g( ^. K* U! Y: S
  1121. ibase.timeformat = "%H:%M:%S"! S7 T0 _  i; @2 r8 Z2 c
  1122.   M2 g$ W$ L# g$ C4 G. b  P+ ^
  1123. [MySQLi]
    0 [3 P( x0 X. J1 ?! R
  1124. 7 ^& \$ Y1 t6 E* @! M0 d. @
  1125. ; Maximum number of persistent links.  -1 means no limit.: X: U( ^0 m! z  O4 ~+ M
  1126. ; http://php.net/mysqli.max-persistent
    * z) A+ [5 \7 k
  1127. mysqli.max_persistent = -1
    , W) Y0 G" ]& a4 b
  1128. & [" d" O" a* Z" T# ~
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements7 {. F9 D* R3 \. y4 m
  1130. ; http://php.net/mysqli.allow_local_infile
    " c/ z, j; G; A8 y
  1131. ;mysqli.allow_local_infile = On; d  o6 Q# b4 S( B+ _

  1132. 1 r6 E$ t/ v% d$ r- |& r$ s/ U
  1133. ; Allow or prevent persistent links.: A& ~$ Y) n2 k
  1134. ; http://php.net/mysqli.allow-persistent. R* l) t% `/ p* C( ?
  1135. mysqli.allow_persistent = On
    8 A- t) R0 I- X- e1 Q# Q- I1 x

  1136. : {+ P% r+ j; J5 W4 d
  1137. ; Maximum number of links.  -1 means no limit.
    " G  H; M8 K( g! f3 X+ F
  1138. ; http://php.net/mysqli.max-links1 c$ t: O, M( k- r, c
  1139. mysqli.max_links = -10 x; C  n2 E: F  B, d1 A; M
  1140. - l# y8 K# W7 Q2 k  L  O9 `2 T
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache# U/ q! l, a! y+ A; E
  1142. ; http://php.net/mysqli.cache_size
    , s: Z7 i( ~8 `+ F( k& A; o
  1143. mysqli.cache_size = 2000- \2 F1 a6 k" O. n
  1144. $ s6 v* D& j4 r8 L1 x9 C
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    . v+ ?' T4 C$ R* M& p' L- \9 |% [
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    4 @5 A7 |- U  U6 s( O
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look1 T5 f" F0 r0 r6 u" M- e
  1148. ; at MYSQL_PORT./ K6 R4 E% [# t8 x. _$ ?3 _+ R& ?) n" s
  1149. ; http://php.net/mysqli.default-port
    0 \9 Z! W; k2 [
  1150. mysqli.default_port = 3306
    : W; c: O6 M$ C2 l$ j

  1151. ! t( e3 v1 e; ~) d8 O' y
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    2 c4 i1 k1 b1 P: u5 d; J: i0 g# D7 G
  1153. ; MySQL defaults.' Y' B% w6 y+ n0 a/ t, W8 X
  1154. ; http://php.net/mysqli.default-socket
    8 |4 A2 h+ D. o% z
  1155. mysqli.default_socket =1 `  C- |; L' S& V
  1156. 6 ?; s/ E, z) R- a6 O8 i1 s2 S3 Q
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode)." L  O5 a3 f; F% j$ M
  1158. ; http://php.net/mysqli.default-host% P3 o) q9 i( h4 P+ E+ g! Y3 M
  1159. mysqli.default_host =
    4 ~+ x- f. S' Y# G

  1160. / P  G, P/ R( R; l! o, O7 L/ ]# k
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    9 q' H- y, J% z& \" z: z- n
  1162. ; http://php.net/mysqli.default-user
    2 l! C3 m  Y# c7 ~& X" o
  1163. mysqli.default_user =9 i3 Y+ x0 W8 F7 D$ i/ Z- p
  1164. - E; `2 d" `" q9 Q( S
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).) g$ [7 v* D( I- G
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.1 q2 c; ?2 R5 D, W( m: K, w
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    - b  H/ Z$ o6 O* a1 Z8 P7 ]
  1168. ; and reveal this password!  And of course, any users with read access to this
    8 s6 d7 q; h5 J. u0 O4 C) u
  1169. ; file will be able to reveal the password as well.& Q2 `( Z, v( i' {2 F
  1170. ; http://php.net/mysqli.default-pw
    2 V- z; f- d  ]% Q) ^
  1171. mysqli.default_pw =& ?8 p" h! ^. U( {' e
  1172. # L& `: P# a0 |/ f4 D7 ~
  1173. ; Allow or prevent reconnect
    0 F  J5 w* H8 ?% l9 r+ f3 o
  1174. mysqli.reconnect = Off
    % @+ J, s, c% z# P6 @

  1175. & g. h7 X+ A2 W# J
  1176. [mysqlnd]
    & c" p5 v' X8 d3 X! W0 A
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    5 a3 g) B( {2 m* d; _4 Q
  1178. ; used to tune and monitor MySQL operations.) ?" J' ~9 ~" R7 [$ f; A5 F
  1179. ; http://php.net/mysqlnd.collect_statistics
    # A% }6 |9 z/ ~+ K9 M
  1180. mysqlnd.collect_statistics = On
    3 R: s. L, Y' v, g! l# ~
  1181. % f8 ]+ _/ s8 B5 f
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be& D" O- ]/ @$ Y( U6 l
  1183. ; used to tune and monitor MySQL operations.0 f" S- @6 j+ C9 T5 d( I
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    # f9 D0 M3 m* M
  1185. mysqlnd.collect_memory_statistics = Off
    ! v" Y% ^4 C4 \3 ?! j# I7 O

  1186. ) ]6 r" Q9 |' f! w7 U# L
  1187. ; Records communication from all extensions using mysqlnd to the specified log0 m% X+ e, G$ A
  1188. ; file.% a! o+ }8 P. ~; Y, \. w9 W, ^: M2 d- C! f
  1189. ; http://php.net/mysqlnd.debug# D; s& `, e: K1 L2 x
  1190. ;mysqlnd.debug =7 o: X7 Y. p5 {1 F$ w

  1191. # T9 Q! X) }% D* o: Y1 f* S
  1192. ; Defines which queries will be logged.0 P: P& G3 ?6 E/ u8 V( T" h
  1193. ; http://php.net/mysqlnd.log_mask
    3 S! H- P7 ?- Y7 T. w, `9 V
  1194. ;mysqlnd.log_mask = 0
    # Z: Z% R0 m4 g$ o
  1195. 5 G0 d. D- v6 `2 O- ~: t3 C' T
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    : U5 i& i0 _8 D# o( Q5 a
  1197. ; http://php.net/mysqlnd.mempool_default_size
    . w5 V' s( M! s
  1198. ;mysqlnd.mempool_default_size = 16000
    ( c6 v% \! a6 y2 `( C6 {
  1199. & y' M$ m* r$ U/ b4 D
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    8 d! U" A$ H+ I
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    8 ~9 o- @8 e- n; @" F' d% t" m! ?
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    % @4 _& t) H! y0 B; H. b! ~# b8 W6 ~

  1203. 0 N1 C+ E2 Y; D- j5 S. o, C! V
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    , I/ P; \2 ~; D% f: d& k
  1205. ; bytes.
    ) C( V- Y8 r" {9 H/ w3 `# C
  1206. ; http://php.net/mysqlnd.net_read_buffer_size! s( g; s4 A/ t1 _# C
  1207. ;mysqlnd.net_read_buffer_size = 32768( A/ [$ r7 l2 M$ o) T( X% ^2 s% Q

  1208. 2 D1 N' f1 `) Q3 A% L; Z- e
  1209. ; Timeout for network requests in seconds.' f, Z4 f4 f( ~; }
  1210. ; http://php.net/mysqlnd.net_read_timeout' |% D7 m, O# f. ~1 S! r. \
  1211. ;mysqlnd.net_read_timeout = 31536000
    1 y$ n9 y* |: Z% S8 u8 z

  1212. : i' O# _3 T2 z0 Q
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA5 l, s) G; K6 }; X& p, t
  1214. ; key.
    3 Q: S8 O$ M' r+ X. L
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    + C$ I* M0 V1 R% u7 |
  1216. ;mysqlnd.sha256_server_public_key =$ Y, w" M# |% `. j! V  ]6 t
  1217. ; U* I4 b$ Z7 P1 y& M; Z  d. W* b% U* ^2 p
  1218. [OCI8]' g" s$ f  f1 V! h7 j+ v$ R
  1219. 1 N; D& J8 H9 q# P$ q) c
  1220. ; Connection: Enables privileged connections using external' C  P" l5 T" {/ V1 e- ~' G
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ! C! R% a( w5 y' Z, G0 G: t
  1222. ; http://php.net/oci8.privileged-connect$ G0 r  Z' T/ N5 ]$ ?. f
  1223. ;oci8.privileged_connect = Off
    8 A6 R( G0 C9 c0 R; M6 t8 M0 n
  1224. - @; U  t  g5 l
  1225. ; Connection: The maximum number of persistent OCI8 connections per* N! i! w4 L$ i- ^+ z! f$ d" J
  1226. ; process. Using -1 means no limit.' o4 i' F9 X0 `, t
  1227. ; http://php.net/oci8.max-persistent
    * M. ]# X: V& o: E; q. P
  1228. ;oci8.max_persistent = -1
    3 P8 W1 c7 Q2 g5 H' y

  1229. 9 k" I- N; k9 S+ }
  1230. ; Connection: The maximum number of seconds a process is allowed to
    3 o' P  M  S$ ]
  1231. ; maintain an idle persistent connection. Using -1 means idle
    ( k9 N& }( z* Z# x6 c. o1 r: ~
  1232. ; persistent connections will be maintained forever.0 Q5 b, p6 I7 ^" [: M9 }: ~/ r& R4 a
  1233. ; http://php.net/oci8.persistent-timeout* O$ Y4 B0 b% _7 Z. B7 `
  1234. ;oci8.persistent_timeout = -1
    & ~! z$ ]# w& P+ _' H' K
  1235.   S* z  O# J% ~0 J
  1236. ; Connection: The number of seconds that must pass before issuing a! w) A5 H  [+ C* X+ e1 x2 Y
  1237. ; ping during oci_pconnect() to check the connection validity. When
      w( I; ]% P& i; h, `
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    1 m" [3 h, x) x$ @
  1239. ; pings completely.
    ( {, w/ l2 k7 e0 H7 b
  1240. ; http://php.net/oci8.ping-interval
    6 c' V4 {0 I4 Y' Z) }
  1241. ;oci8.ping_interval = 60
    ! N* m* D. ^4 J2 p, _' ?' K. p4 [

  1242. : i& X! Z! r* I! Z* v& Q: X
  1243. ; Connection: Set this to a user chosen connection class to be used/ U  q% L+ o+ a9 A% M! e3 ~2 n- H& M/ N  ?
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    & k- c- n! ]. S( [2 a( g: W; a8 c
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    : h2 c4 G+ V* J! |6 J
  1246. ; the same string for all web servers running the same application,
    6 w# `. E4 I0 B1 ~" h) [0 [
  1247. ; the database pool must be configured, and the connection string must
    ) X5 G$ i% s! Q9 D' S2 ?- m% |
  1248. ; specify to use a pooled server.
    ( D/ T* o) k; w7 w% K) z
  1249. ;oci8.connection_class =! D: V/ |% ~1 o$ J

  1250. 3 L( x+ g5 I9 @2 r7 }: [5 p8 e) D3 P
  1251. ; High Availability: Using On lets PHP receive Fast Application( T' _, U5 s0 Z1 c* n7 x
  1252. ; Notification (FAN) events generated when a database node fails. The) s* V3 p( [) R9 K/ J; U  ]  g
  1253. ; database must also be configured to post FAN events.3 x2 ~( I0 S! X7 r( b. h% C
  1254. ;oci8.events = Off
    4 a8 Q3 Q# {( ^/ O2 n
  1255. 4 i6 l6 z8 b6 n5 k, a9 _$ e
  1256. ; Tuning: This option enables statement caching, and specifies how
    8 N9 o7 l6 W8 E5 X4 J( u
  1257. ; many statements to cache. Using 0 disables statement caching.+ J) s3 U% _1 A6 d
  1258. ; http://php.net/oci8.statement-cache-size6 p+ f0 f2 {/ }/ O8 }6 }0 W# U( ]
  1259. ;oci8.statement_cache_size = 20; v# \: {8 N- a. {  M$ s: h

  1260. " _% y4 ~1 _- o. w' {5 A# h- k/ K. l
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    ; t6 }; C) o: _# U8 @  x( e
  1262. ; rows that will be fetched automatically after statement execution.
    ( S6 U2 _; I. U# F7 N& ?+ ]: {$ Z
  1263. ; http://php.net/oci8.default-prefetch
    ; d6 ^. S5 l; r  L8 b0 b3 F- ^; ^8 s" K9 q/ {
  1264. ;oci8.default_prefetch = 100, e! c( H6 ]& ^8 R2 u% I: T

  1265. # Z5 ]- o. D1 f$ l! C. p
  1266. ; Compatibility. Using On means oci_close() will not close5 B" ]( I" g5 g" Q1 ]  \; ~
  1267. ; oci_connect() and oci_new_connect() connections.' M5 ]/ Z2 Q& ?% C6 T
  1268. ; http://php.net/oci8.old-oci-close-semantics
    8 U) E8 d* b; ]% l5 F% s, @
  1269. ;oci8.old_oci_close_semantics = Off+ n3 I% U% w2 W1 B- x1 }

  1270. 5 T2 L# w! Q  d+ s; k
  1271. [PostgreSQL]
    8 ?1 C  R; k7 z0 F& n. s1 q! \6 q
  1272. ; Allow or prevent persistent links.& ?6 h5 R( o3 I9 s! D4 T4 m
  1273. ; http://php.net/pgsql.allow-persistent; x1 v& K8 Z# j9 u: s
  1274. pgsql.allow_persistent = On
    $ g% L' s, ]  G6 [

  1275. 5 u7 r) g/ M" p$ ?( h* `" h
  1276. ; Detect broken persistent links always with pg_pconnect().
    - O4 Z( {# U( q; o  h5 E- G
  1277. ; Auto reset feature requires a little overheads.
    ( y- O2 {* D4 n& B
  1278. ; http://php.net/pgsql.auto-reset-persistent4 L: m; b, K2 D0 F4 W! H5 R) S; Z" I
  1279. pgsql.auto_reset_persistent = Off
    4 d6 y  w' B- s+ z

  1280.   Q8 O% j8 E' R1 n& Z! ~( c$ d
  1281. ; Maximum number of persistent links.  -1 means no limit.5 |! w  i' r' r( x: O; `2 _9 y8 g6 u% J
  1282. ; http://php.net/pgsql.max-persistent
    6 ^  T. W) I$ k6 A1 U+ m
  1283. pgsql.max_persistent = -1
    / N2 W( A: ~8 M
  1284. 1 `5 t) H0 s5 ~5 A8 c
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    & r7 t2 ~& D" ~: l: z. w( r/ H
  1286. ; http://php.net/pgsql.max-links
    - O. K: ]6 j* l7 Q2 Y8 E' K
  1287. pgsql.max_links = -1$ N  [: L- c! ?! D3 h/ l$ F$ u& f
  1288. 3 R: U8 L& p- I) K
  1289. ; Ignore PostgreSQL backends Notice message or not.
    4 }2 I2 W0 ^5 _9 {4 \" o1 z/ h( l
  1290. ; Notice message logging require a little overheads.0 ^& g2 O. q1 U0 ^7 t) f
  1291. ; http://php.net/pgsql.ignore-notice  q, K' Q# k; z/ }( X1 N
  1292. pgsql.ignore_notice = 0
    5 a4 Y1 e' e: l8 y' r
  1293. + O& k0 G9 O# _5 u8 p8 o- y5 W; _: G
  1294. ; Log PostgreSQL backends Notice message or not.
    1 U" \) ~- f: [  Y
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.7 w) n$ u% @' p2 k8 V
  1296. ; http://php.net/pgsql.log-notice
    4 n1 u$ r; e& d! a' K0 \, ~3 b) P
  1297. pgsql.log_notice = 0) b% Y8 e* o2 N. I) f) i! a8 K, w
  1298. + {  x+ E& w5 d5 b/ S$ e
  1299. [bcmath]+ W8 ?7 y- ^, ~4 I8 W5 B8 c
  1300. ; Number of decimal digits for all bcmath functions.) ~5 p' e. v( }& Y1 v' z: }) F
  1301. ; http://php.net/bcmath.scale
    $ f/ s: ~* f1 L0 t0 r" ~
  1302. bcmath.scale = 02 O: d$ d5 ~. g) b0 a+ m: U
  1303. % y0 `% a& s# j/ ~( T5 [" I/ A
  1304. [browscap]/ p" S) Q! [& ~7 `1 L$ x4 a
  1305. ; http://php.net/browscap
    6 B7 p1 Q& K) h5 F6 j! `' y& P! ?
  1306. ;browscap = extra/browscap.ini
    + _. ~" k! R* k7 p+ F

  1307. 7 F. _! u2 R( k6 k: Y6 S  h' _
  1308. [Session]
    ' F7 Z* K4 E& b2 i3 p
  1309. ; Handler used to store/retrieve data./ L9 a0 P/ r& l( _" F
  1310. ; http://php.net/session.save-handler. b: J  p- q" A8 p2 n: l% Y
  1311. session.save_handler = files: h: z+ X5 J6 M# M% I& Q0 U3 H
  1312. 8 t# L1 m6 D7 l2 N% X( \' H
  1313. ; Argument passed to save_handler.  In the case of files, this is the path0 A2 n3 S) c6 \! J3 A8 s# t
  1314. ; where data files are stored. Note: Windows users have to change this
    2 |% D* z, q# ^  M
  1315. ; variable in order to use PHP's session functions.
    $ j, U8 t  D2 S
  1316. ;# d( b. B7 B& @: ~; n
  1317. ; The path can be defined as:
    4 `3 d! M  A; u6 [
  1318. ;
    9 I, i) y- K/ S. u! a0 p" m
  1319. ;     session.save_path = "N;/path"
    3 m& }  P% p! r2 {5 Z5 U4 i
  1320. ;
    / t  I2 R7 \% G. C' E$ z- L
  1321. ; where N is an integer.  Instead of storing all the session files in1 i! i$ w$ W! K. R  P, f! z
  1322. ; /path, what this will do is use subdirectories N-levels deep, and3 s* q5 G6 }/ v* j3 r
  1323. ; store the session data in those directories.  This is useful if/ z7 [; p# _6 n9 R3 e
  1324. ; your OS has problems with many files in one directory, and is
    ' n& S  w0 |' F* l8 `. _( u. ]2 Q
  1325. ; a more efficient layout for servers that handle many sessions.
    ) K& r0 c; g3 \) V5 M
  1326. ;# ^* {  e3 E8 A1 t, t9 y$ a
  1327. ; NOTE 1: PHP will not create this directory structure automatically.2 W+ l- g0 W# U/ t' Q4 C
  1328. ;         You can use the script in the ext/session dir for that purpose.+ D/ g! ^  e2 p; {9 n) f+ B. j5 D7 f
  1329. ; NOTE 2: See the section on garbage collection below if you choose to! V+ `5 ?9 a! L; S/ J2 w* g
  1330. ;         use subdirectories for session storage
    , U$ E$ W4 Y! l9 k2 o
  1331. ;
    ) _/ F4 Z2 M* ], E) b
  1332. ; The file storage module creates files using mode 600 by default.
    3 f3 q) g; j# Y+ v6 h) X& }# @
  1333. ; You can change that by using; J$ [! x/ _& l; w
  1334. ;& @/ x0 J3 `+ w: C/ o5 ]
  1335. ;     session.save_path = "N;MODE;/path"
    " h/ m: u* X) G/ h6 p# n
  1336. ;$ l7 z. x/ H9 j2 |
  1337. ; where MODE is the octal representation of the mode. Note that this
    0 m+ U! @# j+ A3 y
  1338. ; does not overwrite the process's umask." ]1 U: ?# a( \
  1339. ; http://php.net/session.save-path& w% j2 U6 \' S1 s$ x; ]
  1340. ;session.save_path = "/tmp"
    ( `: L# {' G- W# \: j% e2 m

  1341. 4 r# d$ w" C5 n2 e) L4 M& q+ ?
  1342. ; Whether to use strict session mode.
    & U( U: m8 g4 n$ t* @
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    - |9 L' z. L  R3 K
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    0 S3 ?, _6 L6 j# o1 Q( J$ v2 ~) n* g
  1345. ; applications from session fixation via session adoption vulnerability. It is
    ; v7 o1 K: p# P  f1 ~7 X4 R
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.& G! {8 a) L: @
  1347. ; https://wiki.php.net/rfc/strict_sessions) Y9 u% w1 h$ |- ]  L
  1348. session.use_strict_mode = 0
    3 \  J; C' p$ {$ I1 y0 z0 E

  1349. ' s1 L4 @# N9 }/ ^" y/ E7 n
  1350. ; Whether to use cookies.' h$ e/ ~" m* Y
  1351. ; http://php.net/session.use-cookies
    - V4 O* T; V( d6 C2 N' e: a* a
  1352. session.use_cookies = 1* W( l  j7 M. R- @' G

  1353. 9 j7 l7 _! l+ s( }
  1354. ; http://php.net/session.cookie-secure
    ( A; \' n+ ~0 U) F( q9 q
  1355. ;session.cookie_secure =
    ! ^/ G: _8 H) j- v

  1356. ' V8 h7 J7 m' p. W
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining; x) t  y; [5 S/ q5 h
  1358. ; the session id. We encourage this operation as it's very helpful in combating" v0 [6 O% P5 v' D1 S" ~
  1359. ; session hijacking when not specifying and managing your own session id. It is
    % d' b1 n7 ]5 A9 [# A0 x
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start./ W% n6 h$ d' J% f' p
  1361. ; http://php.net/session.use-only-cookies2 ]) b, _5 \5 j0 G
  1362. session.use_only_cookies = 1  ~( M/ a" R2 F, g4 t* O
  1363. , u5 s- l* `8 I/ k2 W; x! O" E8 x
  1364. ; Name of the session (used as cookie name).
    . ~1 x( I- @, x1 z
  1365. ; http://php.net/session.name
    0 B4 f4 s  i. X3 [! G; ]
  1366. session.name = PHPSESSID, _' {0 f1 m$ s: c' i5 d
  1367. : _" w4 M! G4 i! i! E& a
  1368. ; Initialize session on request startup.3 N5 }& P! F5 b! z" V  D, E
  1369. ; http://php.net/session.auto-start! K- i) T2 ?" |7 {
  1370. session.auto_start = 0
    1 Z$ [" R; }6 O; O' Q* Z
  1371. ' s3 S  s) F8 C2 i# L
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.4 X# Y8 E% Q( z  r5 `! `
  1373. ; http://php.net/session.cookie-lifetime+ T% m5 E& j9 u: {, n3 g" ]
  1374. session.cookie_lifetime = 0
    / C1 R. }; z0 w. m

  1375. : e- ^! {* |4 D( T+ P
  1376. ; The path for which the cookie is valid., p( P7 t0 `1 m& v" Q
  1377. ; http://php.net/session.cookie-path! v0 e& C: `6 Q; L! c/ S
  1378. session.cookie_path = /. s# N* m) v; X& S' l( i# o
  1379. 5 Q8 z& b6 x8 R0 Q$ x
  1380. ; The domain for which the cookie is valid.( u  f2 v$ p- m* n( ]5 e/ t
  1381. ; http://php.net/session.cookie-domain
    $ D8 s; D& y. J/ v& F
  1382. session.cookie_domain =
    7 }' R5 `# ]# B4 a2 I& A  I# \

  1383. 3 S7 `: y# T# s* s
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    7 R- I5 o. ]- `0 k- O7 V
  1385. ; http://php.net/session.cookie-httponly, k4 i% P$ Q% l( C& o* D3 ^% C
  1386. session.cookie_httponly =
    ) x8 }9 |! @: o4 i; t! i* ]% K
  1387. * e8 r& H, N) |7 t
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    # f; |. K8 H& @6 `' v
  1389. ; http://php.net/session.serialize-handler
    " R: W  {( q1 J! p/ X( A9 N; o
  1390. session.serialize_handler = php
    + Q$ M- h6 B5 V' n% h4 y" \
  1391. 0 V5 `( M7 j9 |
  1392. ; Defines the probability that the 'garbage collection' process is started: ~' d9 z$ N" D- H7 C7 G! u
  1393. ; on every session initialization. The probability is calculated by using
    7 o+ V. }1 ?0 U& ]$ A
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ) K( o7 l" A# b/ w  a$ T5 M
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ) L) M- r+ }' Z# g
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 b6 \. E8 o. }) X- @( u" |/ l: L1 c+ y
  1397. ; the gc will run on any give request.# K4 w  D" W* B! c
  1398. ; Default Value: 1
    + `6 E/ N8 u6 ^. [" }
  1399. ; Development Value: 1# s' K, V. m: O2 c+ l/ m: n. X( P. t
  1400. ; Production Value: 1( _6 G- B' P( p
  1401. ; http://php.net/session.gc-probability( ]3 b5 W; {, Z. d& m
  1402. session.gc_probability = 1
    . m, u; z, B$ I/ s- C+ q
  1403. + B# f1 F% s3 N
  1404. ; Defines the probability that the 'garbage collection' process is started on every( O* ~0 B% B# {6 a$ U& w
  1405. ; session initialization. The probability is calculated by using the following equation:
    5 h" Q1 X& U4 R$ v
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    7 L# ^  M( T: k; _! m
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 11 ]( d* i! r2 |: j
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance1 n' O" G4 y5 A0 f: T3 ^
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    2 Z/ Q4 `( H7 S& D: O
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    7 w; d. G" F: M3 X6 _, D; N
  1411. ; this is a more efficient approach., B! H9 Z  D/ t! ~4 }
  1412. ; Default Value: 1005 H% V+ |. K& \
  1413. ; Development Value: 1000
    / c0 A# m6 q; T2 I
  1414. ; Production Value: 10006 h+ R( [! [; ^- Y4 m6 H1 E
  1415. ; http://php.net/session.gc-divisor% i  `6 m3 a9 g& B$ M
  1416. session.gc_divisor = 1000
    3 A, `: N. ?' e: l2 _; Y1 ^

  1417. $ D! \3 }5 r2 Q+ e. ^. N
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and; E" a* S$ B+ c/ M' f% L7 g# u: q4 l
  1419. ; cleaned up by the garbage collection process.
    8 Z! b& [7 i; n+ g2 b& \4 @, m6 }
  1420. ; http://php.net/session.gc-maxlifetime
    ( I7 ]9 U# X3 ?: ~
  1421. session.gc_maxlifetime = 1440) D) ~4 D4 a. n* E

  1422. 9 K$ l/ S+ B. O4 l. b( J) e& `. T
  1423. ; NOTE: If you are using the subdirectory option for storing session files: @  W/ k$ S6 H3 D- B- Z. _' i
  1424. ;       (see session.save_path above), then garbage collection does *not*
    . F' y% [/ U4 f( W1 X6 x! S+ B
  1425. ;       happen automatically.  You will need to do your own garbage. Z/ D6 ?$ N# M6 M  _
  1426. ;       collection through a shell script, cron entry, or some other method./ ~. r9 X5 V2 d, s( }
  1427. ;       For example, the following script would is the equivalent of
    2 U" }3 F8 b$ I. _& m3 n) B1 \
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):8 w; Q9 H, n6 j. F
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm# ?+ ~& V& S' W* R; F

  1430. * g5 a4 `5 p3 Q% L7 m. _
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    - F  l8 [1 v; ], |
  1432. ; HTTP_REFERER has to contain this substring for the session to be6 R- W1 v  J* I. H7 d, |% g+ |/ f
  1433. ; considered as valid.8 {3 I$ `$ |2 s6 M* n& a' G
  1434. ; http://php.net/session.referer-check
    : P! k! q$ S; u  ~  I. V
  1435. session.referer_check =1 q$ M. A  c1 p; U$ N! L

  1436. % `/ ?: G/ i5 w- |
  1437. ; How many bytes to read from the file.) y1 P3 M, O$ q* e+ |$ p: m
  1438. ; http://php.net/session.entropy-length; w, A" w3 m" w
  1439. ;session.entropy_length = 32
    5 N% o8 _' X: ^" e% [  }& [4 B
  1440. , S5 G( t0 B& T; ^$ f2 E4 o
  1441. ; Specified here to create the session id.9 o7 F3 Q* C( \8 z( E
  1442. ; http://php.net/session.entropy-file2 S+ }& f  K6 Q/ R2 E/ h- o
  1443. ; Defaults to /dev/urandom
    5 o; y/ p+ d1 q: Q& j9 \
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    / t6 D* M. s4 s* X
  1445. ; If neither are found at compile time, the default is no entropy file.
    5 z8 G. A* P  ?+ `6 d  g3 U
  1446. ; On windows, setting the entropy_length setting will activate the
    : d( L( ^1 Q. u/ k1 N; s
  1447. ; Windows random source (using the CryptoAPI)
    8 S$ |; a1 C( @( Z
  1448. ;session.entropy_file = /dev/urandom
    ; k: T# k6 K+ t, b9 ~2 N
  1449. - d" N( H, e6 `5 h
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects/ L1 K' v" o! @
  1451. ; or leave this empty to avoid sending anti-caching headers.: ?$ K% j& A( p8 n2 ]0 T& {0 M
  1452. ; http://php.net/session.cache-limiter1 n$ `  b  @& o7 c# o3 o3 z! a
  1453. session.cache_limiter = nocache4 s# w- M3 p1 a: Z
  1454. % b- ~9 ?4 o2 n0 u. H$ Q9 \2 k* [
  1455. ; Document expires after n minutes.
    / M( S. E& u- r1 n
  1456. ; http://php.net/session.cache-expire/ f+ G, K. e9 H
  1457. session.cache_expire = 180
    $ ?( u' h( x% d# ~) [& d) |: `

  1458. $ |& H9 N$ W$ L. b2 ~* Q! R
  1459. ; trans sid support is disabled by default.
    / d$ v8 M3 i5 E( P3 E+ d  y9 c
  1460. ; Use of trans sid may risk your users' security., T' J$ b5 \6 W9 Z
  1461. ; Use this option with caution.
      |* M, O+ Z# g% z
  1462. ; - User may send URL contains active session ID
    4 ?" K/ v# j3 q8 l: g. b$ i* w  j
  1463. ;   to other person via. email/irc/etc.
    ) T& N0 ~3 w7 v0 r( }' y
  1464. ; - URL that contains active session ID may be stored
    - d8 a7 K9 g3 y* f3 c4 k9 w
  1465. ;   in publicly accessible computer.9 y" k7 `* O" A/ z
  1466. ; - User may access your site with the same session ID
    3 E6 a, Y& ]3 z9 j
  1467. ;   always using URL stored in browser's history or bookmarks.
    ) W" _$ I2 z' T# T% m/ h7 O
  1468. ; http://php.net/session.use-trans-sid8 s* z) q& A# c9 ^; B0 c" D2 `1 E
  1469. session.use_trans_sid = 0
    8 T& S0 W. {% Y( k: ~" f
  1470. & ~/ ^5 D0 w% S5 |+ p$ k2 Y* b
  1471. ; Select a hash function for use in generating session ids.
    % i* P. X3 s, X8 ?& X. G) z. B
  1472. ; Possible Values( d; i$ p! h2 @4 U3 D9 x" m
  1473. ;   0  (MD5 128 bits)
    # @# c4 K9 S1 f1 s6 g  g# D7 ^
  1474. ;   1  (SHA-1 160 bits), k, s, x$ E, k  d( f% q
  1475. ; This option may also be set to the name of any hash function supported by& c! _4 Z5 d, H9 [/ b
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    , q5 t* ~. g3 Y* l5 s3 }+ i
  1477. ; function.
    ) V2 T% @6 |: U/ h
  1478. ; http://php.net/session.hash-function
    % P+ s# n0 h8 ~% E3 p  ~  e
  1479. session.hash_function = 0
    , l& X, g  n; t

  1480. - m, K* H4 }/ g0 O
  1481. ; Define how many bits are stored in each character when converting
    ! q1 R( w' P3 r+ l0 @' ?
  1482. ; the binary hash data to something readable.
    ' o$ o4 p3 d7 ~; D
  1483. ; Possible values:$ R  D3 x6 J% I5 J( y9 g4 Z
  1484. ;   4  (4 bits: 0-9, a-f)
    2 e. ]# [: B, l) s# j5 R8 B5 R9 K
  1485. ;   5  (5 bits: 0-9, a-v)' y- Q0 m( [7 _* u9 a0 t  T
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    4 z3 m7 T) c) a9 y
  1487. ; Default Value: 45 K, z. l# d4 f) O7 E3 j7 f
  1488. ; Development Value: 5& W+ S3 L) I$ K( l% m9 H- M. `
  1489. ; Production Value: 5
    - {0 I& L" z0 T' f
  1490. ; http://php.net/session.hash-bits-per-character
    , S0 l7 d3 T3 R: ~- w8 N
  1491. session.hash_bits_per_character = 5
    1 K- K, L9 D+ M
  1492. 6 ^0 P( y$ U' |  |+ w6 m
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.5 P6 ?1 y! k( o* G6 s+ E
  1494. ; form/fieldset are special; if you include them here, the rewriter will5 G9 D! r& V+ i8 Z0 |* l
  1495. ; add a hidden <input> field with the info which is otherwise appended/ o0 L& E+ A: p
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    . ^: t" b/ U2 ^- n# }
  1497. ; Note that all valid entries require a "=", even if no value follows.# I2 ~3 `4 x( N3 I( ~6 d
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    # o. T" ?# ]& E3 \) l0 P
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 k$ x! C. H) ?& D
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    " ?% ^% {4 b6 u. D- g
  1501. ; http://php.net/url-rewriter.tags( J& v" n' d1 K7 e# r
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 I6 g/ W% u: Y7 W+ P$ G: p! G1 @
  1503. . o# d) {2 X4 U3 B) ^0 Y6 ]
  1504. ; Enable upload progress tracking in $_SESSION# O! _, A7 ^* K" o, _2 f7 B
  1505. ; Default Value: On
    7 z. p* U2 K8 ~" y/ G
  1506. ; Development Value: On  u8 o2 e7 F1 s5 E0 O
  1507. ; Production Value: On
    8 B7 S7 j1 r7 P3 B
  1508. ; http://php.net/session.upload-progress.enabled; Q6 ]+ V  E9 I: {4 B, H' Z& d
  1509. ;session.upload_progress.enabled = On1 @$ e+ C$ X! k0 [, F2 Q% B, q( M

  1510. % N1 V3 p& k0 Y  {/ o
  1511. ; Cleanup the progress information as soon as all POST data has been read- F/ Q! Y" C: y0 H1 M
  1512. ; (i.e. upload completed).
    ' F: @; k% \9 F* b+ e5 o5 x( ~9 |
  1513. ; Default Value: On* J0 }( ~& j$ ^; \$ j/ m
  1514. ; Development Value: On% x: u" ~- F( V- x* C3 B+ v0 d4 w
  1515. ; Production Value: On
    9 n; o- S0 L6 e
  1516. ; http://php.net/session.upload-progress.cleanup' w0 t4 }( W, |4 {% G! M* @
  1517. ;session.upload_progress.cleanup = On
    & d: J+ x! f$ A# n0 v
  1518. ) ~9 _0 b& k- G' n# ~
  1519. ; A prefix used for the upload progress key in $_SESSION2 E% q  a0 F8 W6 Y
  1520. ; Default Value: "upload_progress_"3 g! z9 j0 ]5 R( }' s
  1521. ; Development Value: "upload_progress_"
    - f1 u" V! E) @4 z8 ~' Z  k: ?4 ?
  1522. ; Production Value: "upload_progress_"* W1 w- C; \& O# ^- I" k
  1523. ; http://php.net/session.upload-progress.prefix
    ( ]' u3 K% W, S
  1524. ;session.upload_progress.prefix = "upload_progress_"
    , G+ E. V1 p% [4 ]

  1525. - s! Z' z; Z  ~1 A3 ^  W
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ; }) z  b' R! [2 h
  1527. ; containing the upload progress information
    2 y( p6 p; v* ~! \, f0 Q+ P0 L
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ; V. N: @) |) D
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . f  l+ J: G0 h! @! P: Z7 j! c
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS": s( ^+ `! {3 ]* v+ L3 X3 D: Q
  1531. ; http://php.net/session.upload-progress.name
    3 q9 A$ P* e$ h, G2 l6 u
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    4 i0 O6 Q4 ?. }# Y! o
  1533. 8 k( e# w$ i  D0 v0 j9 l4 Z! O
  1534. ; How frequently the upload progress should be updated.
    ) y0 m8 K0 S6 i. ]
  1535. ; Given either in percentages (per-file), or in bytes9 @2 s# v  H: t, O2 @
  1536. ; Default Value: "1%"
    - g% |/ V( M6 d5 R
  1537. ; Development Value: "1%"% m- N) e% F$ ^; @; Z2 w7 h+ F/ y) y
  1538. ; Production Value: "1%"$ k2 C; i/ W. K3 w
  1539. ; http://php.net/session.upload-progress.freq
    % t" R! i5 _& d# M0 [* N
  1540. ;session.upload_progress.freq =  "1%"
    , Z* A4 p; x: L( r9 E1 B) }3 O

  1541. ( Y7 ~& @# i5 n/ B
  1542. ; The minimum delay between updates, in seconds% u5 P  o% Z) t5 H: b
  1543. ; Default Value: 19 d  H( t- Z; T& L5 t
  1544. ; Development Value: 1
    : n3 w, X1 H( _" P: ]! |
  1545. ; Production Value: 1
    9 G+ N  @- i! m/ o7 M  [
  1546. ; http://php.net/session.upload-progress.min-freq' R, L! v$ S% l# J( _" h
  1547. ;session.upload_progress.min_freq = "1"7 h9 @1 n9 l- f3 r  N
  1548. ) V4 `& t0 Q* m% p$ l- S
  1549. ; Only write session data when session data is changed. Enabled by default." @, H8 q/ I6 z" c
  1550. ; http://php.net/session.lazy-write9 l- q  v8 D. t+ E+ f; a) `
  1551. ;session.lazy_write = On, u& T; g/ C- t  Q$ _$ r0 [
  1552. 4 A# M- ^  b% p1 i% @  w
  1553. [Assertion]
    7 O+ @5 M% e" P* H3 e
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    2 v% n8 R* d  y- D* S8 k5 G7 h3 B0 _
  1555. ; -1: Do not compile at all0 X3 B  ?- C+ T- y: t
  1556. ;  0: Jump over assertion at run-time
    7 M7 v* N4 T2 |& D9 t
  1557. ;  1: Execute assertions
    5 m! o5 a# n# x0 Y: s
  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)
    : b3 G3 s, Z3 Z2 t
  1559. ; Default Value: 1- i' B3 {, S0 w6 @8 U1 ]
  1560. ; Development Value: 14 O4 t- M* ~( B7 I3 J1 W0 Z$ \
  1561. ; Production Value: -1+ p0 m, h$ F* u2 [+ g, ^- ~
  1562. ; http://php.net/zend.assertions
    ! e$ I( h! X9 i; ?+ N' |
  1563. zend.assertions = -1
    2 @. s) k% e( G# T8 F, w

  1564. 4 V+ u5 n. Z+ h
  1565. ; Assert(expr); active by default.2 U4 f4 L3 |7 ?+ n; k+ E! a' A
  1566. ; http://php.net/assert.active$ W  j! z' A" g$ `* ~
  1567. ;assert.active = On
    6 n0 s3 N8 n- e6 Y0 C- i& U: ^7 y

  1568. 9 E/ a' p* e1 l2 |0 V; D1 Z
  1569. ; Throw an AssertationException on failed assertions
    8 g4 O: j7 d3 x' }* \7 E
  1570. ; http://php.net/assert.exception! b; }4 \( I" B
  1571. ;assert.exception = On7 U! F1 ~. X: @, K9 a& e5 [! T
  1572. # e' V- u! a( q3 t$ ^
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    ' `  P- k0 z$ \0 G, ?' s0 N
  1574. ; http://php.net/assert.warning; v; u( |0 @3 i: ~! n3 X, W
  1575. ;assert.warning = On  ~! r% Y, y* l1 c% `$ M* ]8 A3 `
  1576. 4 O" W. u' @: }
  1577. ; Don't bail out by default.
    9 j( m3 ?0 Y" z. K. z8 a) S
  1578. ; http://php.net/assert.bail
    - v" e( k" E  l. Z% ]8 o+ k
  1579. ;assert.bail = Off
    ; s4 P! G( C  r0 C
  1580. * E3 u" x( F; T9 k' V6 K7 v
  1581. ; User-function to be called if an assertion fails.
    2 X9 C. e6 W- x  N2 D
  1582. ; http://php.net/assert.callback* g8 j, u4 P3 w% ]0 j" M' n
  1583. ;assert.callback = 0
    ! A" q6 }- V( u: B; [7 @
  1584. ) |5 b& t& ]1 R7 ~5 I
  1585. ; Eval the expression with current error_reporting().  Set to true if you want2 n  a8 A7 M+ o6 q$ v
  1586. ; error_reporting(0) around the eval().
    ( F: u# K$ A& a1 X
  1587. ; http://php.net/assert.quiet-eval
    9 p* G8 V* m, A5 U, f+ ~
  1588. ;assert.quiet_eval = 0! F; J* ?2 k: s

  1589. # M6 o: f4 h& f0 F3 j" I
  1590. [COM]" e. }; q- l# n* B/ l
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    6 I" _3 K- O/ O' H4 r/ H5 b* {
  1592. ; http://php.net/com.typelib-file, A2 |  y5 ]' C' s' L
  1593. ;com.typelib_file =
    ; t/ @( k; K* M4 t9 p! @

  1594. ! g3 k/ [# F$ k9 Y
  1595. ; allow Distributed-COM calls. Y) n) \" }" q# Y
  1596. ; http://php.net/com.allow-dcom/ S( p+ Y2 A3 p. U$ l$ d
  1597. ;com.allow_dcom = true0 v7 s; W) M8 a- }* [
  1598. 8 |+ v8 @( @8 Z/ Q' C; I( t  e: v
  1599. ; autoregister constants of a components typlib on com_load()
    : Q; c) M! _* a" h& E. b
  1600. ; http://php.net/com.autoregister-typelib, Z( Z6 O0 E& O3 y# n7 L
  1601. ;com.autoregister_typelib = true9 u; H/ l  u& x
  1602. ' T/ S3 s: d6 q" n' i- W' j( ^
  1603. ; register constants casesensitive( D* J. T5 V  r3 A; J8 d
  1604. ; http://php.net/com.autoregister-casesensitive
    ' E) K0 |! {$ r8 C1 i: Q# W
  1605. ;com.autoregister_casesensitive = false5 r  L6 Y# l8 V$ k$ i

  1606. # }( v9 Q! \& v' o
  1607. ; show warnings on duplicate constant registrations8 u! r! Q% J0 N1 l: I
  1608. ; http://php.net/com.autoregister-verbose1 O! k1 Z  R! H) R  P
  1609. ;com.autoregister_verbose = true' M1 q% H; m* B1 @/ L5 ~8 Q
  1610. & p' x3 C% B, P9 J4 E& ?9 n' k* A
  1611. ; The default character set code-page to use when passing strings to and from COM objects.9 v2 N4 D( @& O$ h4 b* o$ M$ X
  1612. ; Default: system ANSI code page
    ) G- F! H" ]3 ?1 }8 z! ^
  1613. ;com.code_page=5 P4 W/ ^' w+ O2 {/ k: @+ r/ m2 K; ]

  1614. ( z' r' Q5 ~9 k& E: }# o$ v
  1615. [mbstring]5 W5 ^( L8 D+ T( `
  1616. ; language for internal character representation.% y% J" x8 a  `+ m; N
  1617. ; This affects mb_send_mail() and mbstring.detect_order.+ \9 F2 {) ^1 Y, }8 ]- {
  1618. ; http://php.net/mbstring.language
    4 }5 Z: y" z0 |
  1619. ;mbstring.language = Japanese
    6 R' Z0 n) ~2 ~  G7 B* ~
  1620. * U7 M/ e0 j& `% \  f; h  a, K/ ]
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    & A. S7 n# q- h6 m8 C* N: n0 f% n
  1622. ; internal/script encoding.
    " P& q  Q0 y7 Q6 A% S4 m2 }/ Z, ~
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)# Z/ |) q6 G& Q$ [
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.4 ?* j4 ~, G# b8 a
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    & T2 r3 ~; z( _) R& K
  1626. ;mbstring.internal_encoding =
    4 Q, o+ v* ?# I, U+ y

  1627. 5 g% {. ]4 q/ k0 v8 }
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.) y; G- |5 u& ?4 _8 [
  1629. ; http input encoding.- ^6 s: O! F( w1 E/ V
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.# b# H; q1 b0 l
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.! J2 O* M5 F" T; O4 N# I' c
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    1 y! b: D9 q- [/ o
  1633. ; http://php.net/mbstring.http-input4 y4 B0 {; H0 Y2 v
  1634. ;mbstring.http_input =
      Z' P; z3 u# F: l" t) v

  1635. + y8 R0 l4 V. p3 U4 b
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.! d- l0 o; P  K% t  T& F
  1637. ; http output encoding.
    / w, I' ]+ U& |2 E
  1638. ; mb_output_handler must be registered as output buffer to function.
    ( p$ H% @3 o: |- D' P) ^
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.9 K8 e& |( r" A1 p# |; C: U1 `, V
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output1 l: N0 z7 L# I3 f
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ; p- ~2 b/ m+ C2 p  O: y
  1642. ; otherwise output encoding conversion cannot be performed.; V1 d7 c  n" v  X# ?6 V
  1643. ; http://php.net/mbstring.http-output
    . d. Z9 v9 `* F5 X* n; r
  1644. ;mbstring.http_output =# V2 V$ D) b- y& n1 I
  1645. ! M& V' q* t8 P5 F' c
  1646. ; enable automatic encoding translation according to2 A0 x1 R7 {4 c/ s+ ]. J
  1647. ; mbstring.internal_encoding setting. Input chars are
    $ ~9 z- f1 z3 ?; w
  1648. ; converted to internal encoding by setting this to On.
    + X- T3 L( A: a" R, x4 p+ U
  1649. ; Note: Do _not_ use automatic encoding translation for9 v  V" ]+ D- h/ R. K
  1650. ;       portable libs/applications.
    " c4 H. c; d4 V0 k
  1651. ; http://php.net/mbstring.encoding-translation
    8 b' m$ y+ J/ Q% F; v* T! y/ E- D9 w
  1652. ;mbstring.encoding_translation = Off" G( o3 r7 t8 b+ V9 u' j4 \3 g
  1653. 1 r- H4 M" f7 ]7 p3 Y
  1654. ; automatic encoding detection order.' v5 J( B& G# z$ Z
  1655. ; "auto" detect order is changed according to mbstring.language
    2 j1 q4 z( v+ c0 A, z  }( {2 P: A
  1656. ; http://php.net/mbstring.detect-order% j* R% f- [+ Y4 h( _6 ~
  1657. ;mbstring.detect_order = auto
    0 P7 J# z9 s& k7 J7 o8 l
  1658. ; @- W; Q# W( S! \- w1 `6 t, @9 R
  1659. ; substitute_character used when character cannot be converted
    & V$ q4 p1 B5 N- c* W/ }
  1660. ; one from another
    5 C6 ?8 a" ^; ?. j
  1661. ; http://php.net/mbstring.substitute-character
    / ^, c0 R, @6 y( D  D5 Q1 p: z' c
  1662. ;mbstring.substitute_character = none
    5 D2 H" @9 V/ t% i7 Y% b' n
  1663. 0 L; k6 N. J( q1 U7 l. h
  1664. ; overload(replace) single byte functions by mbstring functions.+ d4 x1 ~0 H$ l7 B) \9 ]
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    2 ~2 ~) @& ]9 N7 I
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.& z  _7 Y6 b% k, E' _
  1667. ; For example, 7 for overload everything.' s5 n9 @( C& b
  1668. ; 0: No overload' z3 Q3 B6 k5 i# W
  1669. ; 1: Overload mail() function2 y& ^, ~% l1 P/ ~$ w- X5 i! q
  1670. ; 2: Overload str*() functions9 \. _) [5 B' I& q7 R$ m  m+ O) [
  1671. ; 4: Overload ereg*() functions
    $ ?5 S- t# ^/ R
  1672. ; http://php.net/mbstring.func-overload: Z" m' {6 c1 [. X& R8 N. l
  1673. ;mbstring.func_overload = 00 M+ i/ o- C7 I; _8 K9 x3 g
  1674. 8 [+ W2 Y5 f. \# ?
  1675. ; enable strict encoding detection.
    6 t* I, W2 y' E# J
  1676. ; Default: Off* G/ `1 e8 v1 ?6 j# `& V  i% @
  1677. ;mbstring.strict_detection = On8 o% s3 O3 I- s8 \! `. U% F  ~3 t

  1678. * k2 a5 \2 \/ N2 [
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    " w; q4 B( ?# D+ B6 X
  1680. ; is activated.
    5 w5 c' i5 M# U0 {
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    8 f) o5 w0 M2 W! a! i, P
  1682. ;mbstring.http_output_conv_mimetype=
    & J, f) v. S; K& S( P: S3 K

  1683. ! H( h& L' C9 w: s1 z
  1684. [gd]
    : ]  W. h5 d% e7 [1 k" K
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    / ~7 r+ Y  O. o$ S
  1686. ; a gd image. The warning will then be displayed as notices
    3 b4 o7 u! |3 o
  1687. ; disabled by default
    5 G6 v# O/ p% ?
  1688. ; http://php.net/gd.jpeg-ignore-warning$ N3 j9 T# N7 I2 s2 K4 D. S7 a
  1689. ;gd.jpeg_ignore_warning = 0& w6 M  E1 T5 y1 l$ z

  1690. 4 a! u% w4 a4 V9 t/ M( o# ?4 T
  1691. [exif]
    & D, U, R5 g4 I! _, e7 C
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.- ?2 M4 r) m4 n, R
  1693. ; With mbstring support this will automatically be converted into the encoding7 j9 Y) S9 }7 e5 s1 `. k
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding' Y/ o3 v! W1 }8 M" V
  1695. ; is used. For the decode settings you can distinguish between motorola and+ C, N3 S+ ]5 ~1 Q% Z0 O! C. `
  1696. ; intel byte order. A decode setting cannot be empty.
    8 N9 K$ X) j  V! N: K& q+ s
  1697. ; http://php.net/exif.encode-unicode# D' C1 q( p8 f0 `( h' z7 Q
  1698. ;exif.encode_unicode = ISO-8859-15
    * h" B. u: h& T( N+ V  d

  1699. ' U, c: F( ~' F7 v5 }# E
  1700. ; http://php.net/exif.decode-unicode-motorola5 G0 s5 q* Y  u+ c/ Z
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    / S' T* n* C% v" ]: V: q

  1702. , I; F+ Z" p% s5 C( j+ ]! N
  1703. ; http://php.net/exif.decode-unicode-intel3 z. O! b; u' N0 @7 Z; j. ~' Q0 T5 T
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    , \9 ]; H- W2 T) Y0 E

  1705. $ [! C( D# ~' V0 \5 t
  1706. ; http://php.net/exif.encode-jis& X- K& Y9 h5 J. i
  1707. ;exif.encode_jis =$ [. R8 V9 w3 X9 ^! W* s, }" N0 q

  1708. 7 N$ F# g. `) S4 [
  1709. ; http://php.net/exif.decode-jis-motorola
    % u" R& s8 E; ]' ?( k
  1710. ;exif.decode_jis_motorola = JIS
    3 S. [! z! {. N. {
  1711. : W9 R/ O$ @, k  Z6 F8 b
  1712. ; http://php.net/exif.decode-jis-intel' M1 L; A+ Y3 {! |* O4 }7 z
  1713. ;exif.decode_jis_intel    = JIS2 E4 l' {  O5 m4 P

  1714. 3 v# q3 Z  z6 O+ h) J
  1715. [Tidy]
    ) a1 j8 x4 x: p# {) O) l! [* ^! t
  1716. ; The path to a default tidy configuration file to use when using tidy
    5 N1 Y' O6 r3 g, `
  1717. ; http://php.net/tidy.default-config
    # q9 |1 X& C: B1 \
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg9 D5 y; M- s6 s. r, I1 N. S" x! e

  1719. 1 w- ?* D/ L! U% a9 S# w: \+ j& _
  1720. ; Should tidy clean and repair output automatically?
    6 c6 W9 {( H3 t( A
  1721. ; WARNING: Do not use this option if you are generating non-html content
    ' p+ V2 g  _3 F& x1 m% S
  1722. ; such as dynamic images8 U: g# l5 m" G$ b5 ?2 ~/ a) Z
  1723. ; http://php.net/tidy.clean-output
    / e# m! ^$ A% h1 k  ^, _$ Y$ B
  1724. tidy.clean_output = Off
    ) Y4 L$ b2 Z& x! l; @
  1725. 8 ^& n1 v+ {, H) t/ F# e3 J  h' a# @" I
  1726. [soap]/ r& T- k: x+ I
  1727. ; Enables or disables WSDL caching feature.) |& \+ X* i* K: N: n
  1728. ; http://php.net/soap.wsdl-cache-enabled
    * T. |0 c, s6 p/ D6 `
  1729. soap.wsdl_cache_enabled=19 N% ~6 v( Y- c$ D

  1730. ' M/ j- n! [0 W1 T; V" M2 K
  1731. ; Sets the directory name where SOAP extension will put cache files.4 Y- U2 m* w! s# d" g4 I! r2 @; q
  1732. ; http://php.net/soap.wsdl-cache-dir6 a. @3 `& v, L
  1733. soap.wsdl_cache_dir="/tmp"* O# s, K9 o1 C) K- V$ {1 A8 T

  1734. 8 e! M; H# g( }2 X
  1735. ; (time to live) Sets the number of second while cached file will be used2 P8 B( `4 ^2 t8 G# ?
  1736. ; instead of original one., V+ k; y  x) g% o/ K
  1737. ; http://php.net/soap.wsdl-cache-ttl
    2 W/ Q$ O7 E- A0 \
  1738. soap.wsdl_cache_ttl=86400
    $ B, l8 |1 U+ O
  1739. ! k& L3 P! J! {) ~' g+ G
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    - t  M# Y% n3 Y. {* l9 y
  1741. soap.wsdl_cache_limit = 5
    & v' q8 c0 e* O; h8 J# F- i
  1742. ) G; @3 l, K. t' F% Y3 ^
  1743. [sysvshm]3 ?( q2 l, v2 P; p3 E) o
  1744. ; A default size of the shared memory segment
      I  d7 P; ^0 v/ S
  1745. ;sysvshm.init_mem = 10000. e" [8 b" T8 q) y: ]2 ~

  1746. 4 d, m& G0 ~" n" P2 n
  1747. [ldap]
    # ]" `3 N8 E0 y- g/ e
  1748. ; Sets the maximum number of open links or -1 for unlimited.; }+ w  v9 ~( h8 y$ [' N: Z0 }
  1749. ldap.max_links = -1+ J1 a5 h6 J: N( s

  1750. ; O* ^4 O9 E/ \! O0 ?
  1751. [mcrypt]6 x/ w/ x: S8 Z! ]
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open. m! I. L6 q4 @  ?# Q

  1753. * ]7 C, X) G8 _* ]3 c) {
  1754. ; Directory where to load mcrypt algorithms
    ! a: ]- y  Z* Y5 w2 s' K
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    " Q8 K2 W6 G# ~9 F3 Z' O
  1756. ;mcrypt.algorithms_dir=
    6 m( O9 g: L3 \* o: B
  1757. . v8 a1 W8 m7 [/ t* n- ~
  1758. ; Directory where to load mcrypt modes
    : [7 H6 f/ E3 O
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    $ w( B' h- o  D% F: N2 X% t
  1760. ;mcrypt.modes_dir=1 j+ x' b* e- _) _5 h
  1761. ' x; d# _6 `' ]8 Y  i
  1762. [dba]0 {! L" t2 S* f$ O5 x) a
  1763. ;dba.default_handler=+ t& O( R) q6 {: k
  1764. 5 s1 i' \* ?3 U& R" X" a  ?
  1765. [opcache]
    : z2 N. y! ?2 I! |
  1766. ; Determines if Zend OPCache is enabled4 {( f7 e0 ^/ B& n
  1767. ;opcache.enable=0/ @1 P" Z5 c: N' ~. ^( t% H9 K3 R

  1768. + \5 R* H$ z" L& s" M
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP7 R, O% X) ]8 e- x9 f
  1770. ;opcache.enable_cli=0
    % N6 S( j8 |4 j

  1771. # W6 Y/ V5 F% R8 O" K' r" {+ A
  1772. ; The OPcache shared memory storage size.2 }# [/ m5 ]; x3 u; K; w
  1773. ;opcache.memory_consumption=64
    ' w' [- f( z9 w6 }! }0 ^4 I
  1774. # _# H8 V( ^- h
  1775. ; The amount of memory for interned strings in Mbytes.7 _8 K3 |, O( L
  1776. ;opcache.interned_strings_buffer=4
    + G! g$ W% J- u, K/ I

  1777. # v) ?# Z. j2 y3 u2 \9 J  O
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    ' B7 H4 N8 i( g! ^+ T" c
  1779. ; Only numbers between 200 and 1000000 are allowed.
    : L/ M" h9 O/ G! h1 o  z( r
  1780. ;opcache.max_accelerated_files=2000
    7 u$ p; |3 g2 V# l) V) z8 q) ]+ r+ K% p

  1781. * {: E( _- k$ l. F8 e) W
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.5 Q4 F2 Z: c6 h0 [3 C
  1783. ;opcache.max_wasted_percentage=5% \1 P. d0 S5 r

  1784. ! Q6 m3 r- i' [* [1 Z/ C4 N. }7 H. k
  1785. ; When this directive is enabled, the OPcache appends the current working
    1 x2 b5 \& k' D7 r* l
  1786. ; directory to the script key, thus eliminating possible collisions between& V2 H3 w" T' C0 B: K
  1787. ; files with the same name (basename). Disabling the directive improves: y  @+ R' u. I
  1788. ; performance, but may break existing applications.* s5 A. u3 a( k! z* B5 f
  1789. ;opcache.use_cwd=1
    / v2 @% Z9 V* q3 m5 h$ q, J
  1790. / a) a7 u# |1 t9 e" a. Q5 H' P
  1791. ; When disabled, you must reset the OPcache manually or restart the5 m" o6 Z- @3 C9 s5 t5 u
  1792. ; webserver for changes to the filesystem to take effect.+ Y3 s, E+ _7 P- e4 e. U
  1793. ;opcache.validate_timestamps=1( H- G6 i. |( |8 a+ {( x  }

  1794. - n6 g  l0 g4 @2 B1 h% @/ M. _
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ; V, S# W3 f( D- G6 g8 g; B0 b
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    ( M5 E' C5 P: C5 t
  1797. ; once per request. "0" means always validate)
    / d* ~5 L1 U6 }$ O0 B
  1798. ;opcache.revalidate_freq=2) D6 s; Z, ?- O- S6 N: b2 n

  1799. $ A7 `2 u8 t0 f( c( F: {
  1800. ; Enables or disables file search in include_path optimization
    ' f7 A6 E0 h& B8 u5 p- z; J; g
  1801. ;opcache.revalidate_path=0
    0 ~) k; W; _" I$ [* R

  1802. ' M+ d4 p8 g4 |
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    2 e; y* k. N' r6 H
  1804. ; size of the optimized code.
    8 `) h* \+ [# V* _, A
  1805. ;opcache.save_comments=1. _5 a' [8 y6 `: p% Q; j  x/ j8 A

  1806. " Y+ E- @& ]! t" |
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code  X' R8 X& F/ M' p3 V- J5 m' X! Q* U
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    3 B4 u& r- x( m  W- U
  1809. ;opcache.fast_shutdown=0
    " G! ]! a; `0 a( G9 M4 X

  1810. 3 ]; y& g( w/ s
  1811. ; Allow file existence override (file_exists, etc.) performance feature.' _; F3 I5 D4 W3 j. t. P
  1812. ;opcache.enable_file_override=0
    ! J5 y( Q! |+ [5 `* l+ t. G5 l4 N
  1813. ) @6 m6 V/ p4 a- x5 {7 D2 p: J: h0 B
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    9 Y$ t2 L2 {! C3 ~+ e$ _. u
  1815. ; passes
    3 A* d) `! a9 G. s
  1816. ;opcache.optimization_level=0xffffffff
    * [; @' @& Q; n( E
  1817. ' i# i( l2 l+ c- x8 L3 p
  1818. ;opcache.inherited_hack=14 s8 f7 O' x. S, p. P  N, O; v% T
  1819. ;opcache.dups_fix=0
    7 ~. O3 G# a& H8 o" ~2 i9 C* i
  1820. + Q0 l% g) @! q3 V
  1821. ; The location of the OPcache blacklist file (wildcards allowed)./ ^! v' P$ }: U) O/ U( Y# A
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    + K5 E& p& J6 u; j. t
  1823. ; that should not be accelerated. The file format is to add each filename
    6 x8 s& }/ m* `- W
  1824. ; to a new line. The filename may be a full path or just a file prefix( M- N# }: j# g" F1 k3 {: ]
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www$ U. k6 t# E5 F
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    , i; Y6 I# l0 y; H: u2 H
  1827. ;opcache.blacklist_filename=; z& k3 `% Y( Y2 J% @+ T
  1828. / u4 d' s4 b/ Q1 q
  1829. ; Allows exclusion of large files from being cached. By default all files6 M9 W) V1 D( P3 R- O0 o6 N
  1830. ; are cached.' _' X1 o- F' @  G1 h# _! Z; _
  1831. ;opcache.max_file_size=07 c4 ~: J4 e9 k0 v+ V- c. N

  1832. 0 N" T( ^  X% `2 c2 _
  1833. ; Check the cache checksum each N requests.+ i  A. Y7 u& E; O
  1834. ; The default value of "0" means that the checks are disabled.9 `! f6 s" M+ |% B% @. u" A# H$ T
  1835. ;opcache.consistency_checks=08 A2 \6 R- }8 ^" T2 p
  1836. 0 T7 M9 l, ?) s/ P
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
      d7 L& N; o/ ]9 v
  1838. ; is not being accessed.
    : L+ M  i8 s  F& z# Q+ F# O8 i
  1839. ;opcache.force_restart_timeout=1807 f4 H1 z* L7 s" W- _
  1840. 1 Q  w3 F) e+ G: M  }: y
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    1 E7 x7 a' |, F) n
  1842. ;opcache.error_log=
    " S4 T: s9 |) {& O. w
  1843. 8 {2 O# j: y6 ?7 f8 w
  1844. ; All OPcache errors go to the Web server log.
    % V8 C1 G' w0 B# u$ ?
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    4 |! z% `7 L0 g6 Y0 M/ v6 V, G9 n; ~
  1846. ; You can also enable warnings (level 2), info messages (level 3) or5 {7 I0 v# A6 @" K' j
  1847. ; debug messages (level 4).* u* M' h* r7 b
  1848. ;opcache.log_verbosity_level=14 h- a7 ^  W( Q$ ~. E1 A% q

  1849. 0 g/ [( \) a8 n7 p' S  Q
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    7 T% E( I7 k$ }9 ]& U0 k
  1851. ;opcache.preferred_memory_model=
    / Y- M1 D/ p* @
  1852.   o& C2 a' Y* v& |( {$ d" m
  1853. ; Protect the shared memory from unexpected writing during script execution.
    & }9 |+ U+ |: t8 Y
  1854. ; Useful for internal debugging only." R& J7 L) o( V, j  g- [* ^$ z
  1855. ;opcache.protect_memory=0* M* z- a9 o# L6 M0 y7 a
  1856. - R+ Y7 m8 d3 g
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    0 o" ]# i* ^' |
  1858. ; started from specified string. The default "" means no restriction4 G4 E3 }! n# S
  1859. ;opcache.restrict_api=
    ! ?! _! k5 W' O$ U7 o
  1860. ' u* L% W1 s6 ~- d' d5 m
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    ( \5 y9 x) i% ?5 d; p+ `
  1862. ; processes have to map shared memory into the same address space. This
    / ~% a# ?& `2 s1 n3 j7 U$ I5 t
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    " Y; K6 j2 `7 l: M9 R6 j
  1864. ; errors.4 R5 Q* X0 J0 E+ C( K$ s
  1865. ;opcache.mmap_base=
    ) @- r' e8 a; f
  1866. 3 ?- C* o6 Y- G" I% c
  1867. ; Enables and sets the second level cache directory., |2 x! b+ u$ I# M' \
  1868. ; It should improve performance when SHM memory is full, at server restart or* W8 d" }! W% y3 r+ y) C
  1869. ; SHM reset. The default "" disables file based caching.
    , R$ U8 W" r2 W/ x: o0 L
  1870. ;opcache.file_cache=7 j3 f" W6 C. f6 D  D3 v
  1871. 8 T. }( U! f3 F5 ]- m
  1872. ; Enables or disables opcode caching in shared memory.
    5 t2 _$ s" b5 Q: L
  1873. ;opcache.file_cache_only=01 O$ z+ ^& D# V! N' e3 C

  1874. : N2 H* B5 r6 M' H$ s! o1 D/ K
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    . R2 d4 ^; @( v: ]4 X7 `
  1876. ;opcache.file_cache_consistency_checks=1
    & l# P# |( u6 M

  1877.   l: \& g0 _5 \
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    ! U8 g5 F) c9 X9 K1 V7 d
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    $ x+ @% h! o! l/ k
  1880. ; cache is required.7 l5 w, z  A8 W; m! A6 }
  1881. ;opcache.file_cache_fallback=1
    # j$ t8 s1 ?) v% E2 {

  1882. . c+ M2 C5 D7 j6 M0 s
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES./ x; _) m6 G" q4 _  W
  1884. ; This should improve performance, but requires appropriate OS configuration.
    % m& M' ^+ `# Q/ P+ @6 C' m+ |
  1885. ;opcache.huge_code_pages=1
    $ O5 X3 {' ?. A) V6 F3 i% Y- R
  1886. . ?* S$ s4 j# [' V
  1887. ; Validate cached file permissions.
    ; F# f/ G# O& r3 a
  1888. ; opcache.validate_permission=0
    ( S1 X! `2 j# {2 C

  1889. ( j: L) W' U( U8 B
  1890. ; Prevent name collisions in chroot'ed environment.
    " N$ q0 |. @- c' D- O
  1891. ; opcache.validate_root=0
    % X4 o6 r7 _! z  F! ?! W
  1892. ; F; w: A0 Q$ l/ c4 {" z1 T
  1893. [curl]
    4 y4 C  Y) Z& ^: t
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an+ k+ P+ K. j' C/ Y
  1895. ; absolute path.
    % O+ M, M2 [. s. L+ X
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    , K# e6 {* s$ @* \

  1897. % _8 Q7 e$ S0 H) ?6 T
  1898. [openssl]% H- J3 G( ^* H5 `0 `
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem7 a) f. Y8 L& C3 P' C  ]
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should7 {1 }* V* m9 [& C. l
  1901. ; not specify a value for this directive as PHP will attempt to use the
    $ d* U% q( o) y/ t6 x% n; |7 l" F
  1902. ; OS-managed cert stores in its absence. If specified, this value may still1 C" Q7 e0 W) C/ o
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context6 u: _8 x) N9 o3 B; j4 p* V, v
  1904. ; option.5 U4 P8 Q% ~3 S% P* |; A
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt. h% ^# {$ ?7 @$ M! x
  1906. 0 ^1 E( v; }" _( w- D* l
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the# @5 Z; v6 [/ g; b/ W, @
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    ; d  r( j  R) c) s+ q- G0 F2 w3 a
  1909. ; certificate. This value must be a correctly hashed certificate directory.: {- s7 `' r: N. s8 A& o  Y: e
  1910. ; Most users should not specify a value for this directive as PHP will
    ) [) R2 Y1 o7 @* O8 ]8 H0 E/ o
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,4 n4 a) @# ^& W% Y7 X. U- k
  1912. ; this value may still be overridden on a per-stream basis via the "capath"6 A' j# Y" [  @
  1913. ; SSL stream context option.
    ) l7 O% u0 z# U& S, C2 a
  1914. ;openssl.capath=
    % A# `- u/ J1 l

  1915.   H; ~; u) L: \
  1916. ; Local Variables:
    ' A& D6 l; ?* t
  1917. ; tab-width: 4: z3 }, Z' [# B
  1918. ; End:
    3 T" r; @3 K" T: N1 ?

  1919. $ |% Z* N0 U" Z+ L6 g" b$ F3 v
  1920. ;eaccelerator
    7 y* x; J- s7 a% m
  1921. / g& L0 F- e6 k; v- l- i
  1922. ;ionCube7 u* v; }9 |: i, {3 r
  1923. : _1 |0 \- k( z( y% f! \3 S. u
  1924. ;opcache
    + s; k5 b3 v$ H; u& N) q7 @
  1925. ' n$ U# w2 Q4 ^- O* V; N
  1926. [Zend ZendGuard Loader]/ S5 Y. _& L" l% H1 V' O
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    * D' W: v. {+ K9 [7 ~6 R1 M3 M
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
      m( I. a) V$ A7 I& `& C
  1929. ;zend_loader.enable=11 z! N& w7 `' n! d2 D0 h' A4 }' A
  1930. ;zend_loader.disable_licensing=0
      V9 V  S3 ?" m# D
  1931. ;zend_loader.obfuscation_level_support=3$ h1 Q( r7 E; A3 g# W
  1932. ;zend_loader.license_path=$ e; w6 Z* b  s' H
  1933. 1 s$ ^+ y+ q. J0 M8 k7 h+ T
  1934. ;xcache0 i' ?$ w5 [& ~8 ~: q7 `6 w$ i

  1935. . ?+ ]1 a5 v( M0 U  M# @
复制代码

- w, `- [, T- c, S' N; O
4 I( K+ T/ D; ]1 ?( m# r
' f+ i" _3 W/ |$ J
* t  C9 o- \# l1 l+ b* b; ?3 O5 f, w

3 }1 O$ g4 ~# _! q7 l# I/ U4 k. J9 C" w* L. P( q
PHP5.6版本原始设置# O3 ^0 T% U: m+ ^  g

+ [" J* I; Z& ?, m& u9 I
  1. [PHP]
    ! r& V6 h5 o: P4 z

  2. * Q0 ~& g( t. Q9 x5 M
  3. ;;;;;;;;;;;;;;;;;;;
    % d' G: r7 G. ~6 U2 m
  4. ; About php.ini   ;. D7 }) u7 q9 z
  5. ;;;;;;;;;;;;;;;;;;;
    " D$ j* L4 n& f: Y
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ( V- v# u5 y5 x1 t# d
  7. ; configuring many of the aspects of PHP's behavior.: B: \3 L) s: h: T0 M3 f1 x

  8. # {2 R/ a0 w( D8 H8 q6 ?
  9. ; PHP attempts to find and load this configuration from a number of locations.& R3 |3 v2 k: ]' {  w3 J
  10. ; The following is a summary of its search order:
    ' a9 r6 a4 J9 g! I; E. K, o) |+ A
  11. ; 1. SAPI module specific location.
    ' f' C  q1 q2 f* O: L3 q5 J
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)9 z$ \/ N' C# J; ], [! F
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    4 E2 J3 T) d7 `% t  D! h. e
  14. ; 4. Current working directory (except CLI)
    - ~- Q# \, s2 s$ [
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ) d2 r$ W" i+ d0 K& t- C# ]
  16. ; (otherwise in Windows)
    ' a- {7 ]) k# E2 I. b& A! [+ h
  17. ; 6. The directory from the --with-config-file-path compile time option, or the" [7 ]' \. D+ R, _3 c
  18. ; Windows directory (C:\windows or C:\winnt)
    4 t3 T/ T. B0 {. V$ Y) G$ \6 {+ ]
  19. ; See the PHP docs for more specific information." ~: H5 P: w/ E3 @4 E4 {
  20. ; http://php.net/configuration.file
    ( ^) m! h/ h) h& O* e

  21. ' K1 H8 o1 j+ @1 ?8 M; k& m
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    5 K6 K$ Y9 F% n+ f  c5 J
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).3 N, h' z, W; l7 J! n; B) B
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though7 N- |; f9 L9 H7 A" C+ L
  25. ; they might mean something in the future.$ ?4 m, G- y4 r0 H' m

  26. ' A6 f5 z0 J% M. o. u5 C4 g6 w8 \
  27. ; Directives following the section heading [PATH=/www/mysite] only- b6 ^. }) d. s6 Q7 @- J" O7 V1 u
  28. ; apply to PHP files in the /www/mysite directory.  Directives) R+ D/ c! y3 r0 \: n( m, a3 U
  29. ; following the section heading [HOST=www.example.com] only apply to
    8 W8 l; x8 }- ]7 Q2 r
  30. ; PHP files served from www.example.com.  Directives set in these
    , e9 S$ H4 ?- b1 T- \; p
  31. ; special sections cannot be overridden by user-defined INI files or' u. H8 i/ R% G8 I2 e
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    3 F  h6 r! z! d* J. ^/ L9 S1 h
  33. ; CGI/FastCGI.- p$ f8 X6 n% ]. P8 q# A
  34. ; http://php.net/ini.sections, [- [, a% c4 W# i4 Y' Y

  35. 1 t5 r* ^) y3 B* B; l: I
  36. ; Directives are specified using the following syntax:* h  f9 D4 [' c
  37. ; directive = value
    / D* P& n3 j2 X+ S) C% o! J- ]" p
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ( b: K) L' E6 ~9 b
  39. ; Directives are variables used to configure PHP or PHP extensions.
    5 K4 L' x% O$ o0 G
  40. ; There is no name validation.  If PHP can't find an expected
    8 w" T) }1 d) W
  41. ; directive because it is not set or is mistyped, a default value will be used.
    / t2 R: J) t) }$ D0 C

  42. ; c9 c: d& e: a+ h
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    * h& d, t2 @+ o1 D- Q+ [$ U2 c5 u
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression! R0 E: d7 Z6 N3 L/ n! C/ R
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a5 [7 H  b4 N" {4 X) S9 J
  46. ; previously set variable or directive (e.g. ${foo})6 b+ B. p9 D) X( r1 x

  47. 6 q: c$ q" d) S" k0 x5 j
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:+ Z5 f7 s3 w, L8 U! D( x5 T/ @
  49. ; |  bitwise OR& f" i$ S/ `" F3 c3 ?# m
  50. ; ^  bitwise XOR
    . j) m1 J; Z6 m  I% b
  51. ; &  bitwise AND3 Q) p( z# w" g5 Q( k' X
  52. ; ~  bitwise NOT- d' f) s  o) J% r$ r3 y8 K4 {
  53. ; !  boolean NOT
      n( J% [5 O, w4 x, k; q2 |* P6 L

  54. : C. E3 M, c/ ?4 W6 _% S
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.+ a8 j, K! T. n
  56. ; They can be turned off using the values 0, Off, False or No.
    , k7 V/ ?( v2 {% _8 W; V+ `

  57. , J8 p6 o/ ^- L
  58. ; An empty string can be denoted by simply not writing anything after the equal* B) V6 M. F0 `" z
  59. ; sign, or by using the None keyword:& @) }/ B, k" \3 @
  60. * k% [2 J9 s- U5 ]1 ]/ ?
  61. ;  foo =         ; sets foo to an empty string+ |) s# c) m2 d
  62. ;  foo = None    ; sets foo to an empty string
    . {" n. z. R% a+ C4 V
  63. ;  foo = "None"  ; sets foo to the string 'None'' {8 w) V( B+ W. r# @9 G, m; l4 g
  64. / t! a2 m/ v8 [9 o9 x$ ]2 R- ]) A
  65. ; If you use constants in your value, and these constants belong to a, L8 Q9 ]4 Z& x& v* ^
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),4 S- t; Z& v, _% U2 j
  67. ; you may only use these constants *after* the line that loads the extension.5 i% ~4 r* E1 Y

  68. 0 s5 g9 n/ d  |- U7 I
  69. ;;;;;;;;;;;;;;;;;;;( Z4 Q. {9 ?6 [* _
  70. ; About this file ;
    ' ~) |9 m6 V2 D* n: n
  71. ;;;;;;;;;;;;;;;;;;;
    ! n( U/ d( B' ^: [% m3 D
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    , l9 m2 I% z% |3 T, T& d# v
  73. ; in production environments and one that is recommended to be used in
    4 |; A- H" ?6 n
  74. ; development environments.
    6 ]8 @1 ~: A2 J1 l1 U

  75. + u4 }- L" U1 {  J* m$ a
  76. ; php.ini-production contains settings which hold security, performance and: G$ `" o. x" Z5 P
  77. ; best practices at its core. But please be aware, these settings may break
    ' I# z$ j6 C  r
  78. ; compatibility with older or less security conscience applications. We1 k/ }. o8 p* D8 P0 F: ^! Y
  79. ; recommending using the production ini in production and testing environments.* o" a/ H4 g( ^
  80. ( \/ y( e* y/ U; Y9 `  U
  81. ; php.ini-development is very similar to its production variant, except it is3 g! y) i% [. C' }% n
  82. ; much more verbose when it comes to errors. We recommend using the
    ( ^/ S9 A) g# U
  83. ; development version only in development environments, as errors shown to" Z/ r2 `9 e( L7 S4 F( Z0 `" S
  84. ; application users can inadvertently leak otherwise secure information.; v) L8 s# _( e6 }& M* y+ o. m9 {. z
  85. + F' M; Q& ^' \1 ~  |4 M7 C
  86. ; This is php.ini-production INI file.7 x, U" _' L1 x% @
  87. - k& g+ g  r2 ~0 U) v3 A
  88. ;;;;;;;;;;;;;;;;;;;; s( R) X+ ?# j: J3 O
  89. ; Quick Reference ;
    " u* [* h9 X: H5 N$ h
  90. ;;;;;;;;;;;;;;;;;;;
    8 H" }8 G6 l- ?) U$ }1 Z# y
  91. ; The following are all the settings which are different in either the production4 X2 e$ F; H' M7 `! t
  92. ; or development versions of the INIs with respect to PHP's default behavior.. P3 `: }7 g0 q0 A
  93. ; Please see the actual settings later in the document for more details as to why
    4 E: M' T5 O0 L8 V; E
  94. ; we recommend these changes in PHP's behavior.
    ; H- R0 l$ b: x) |1 S
  95. 7 c) U, D) J% I' n! n2 L
  96. ; display_errors
    5 v5 ~9 E) `% U& I9 D8 X3 ~
  97. ;   Default Value: On, f& W3 t  x- u; w4 i$ z' f
  98. ;   Development Value: On
    2 h/ Z- e4 y( z
  99. ;   Production Value: Off
    & b& ^, Q4 \5 ]
  100. ! n, o1 Q* L1 m1 O( r, L
  101. ; display_startup_errors. D3 [5 C5 f2 H, N! c
  102. ;   Default Value: Off
    / `* f$ U* V$ J) r' j
  103. ;   Development Value: On
    + R+ t& }# R+ a! p/ G. }
  104. ;   Production Value: Off
    % @: _* j* e) s/ X

  105. $ D" p6 q' B- Z; D% }
  106. ; error_reporting+ U" t; n+ h% `# m/ E/ d+ ^
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , l* I: E$ r; T/ ~3 k
  108. ;   Development Value: E_ALL+ ^9 J/ y1 X  {5 q# N+ [4 b' I' o
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT8 l6 C1 W( l3 {( t
  110. 8 ?7 F' T$ f* u' J# D/ g
  111. ; html_errors# J9 U" N& q6 T$ J. H& K
  112. ;   Default Value: On
    8 B2 M9 ]. t+ q
  113. ;   Development Value: On" ?; }; M7 r( T+ y' m
  114. ;   Production value: On% H: m7 x0 N) k; v

  115. ) k  l# w! `' ^8 J: p& @. Z+ z) s
  116. ; log_errors
    / A9 \0 D( b" X6 k. }
  117. ;   Default Value: Off
    & q0 y- @+ j" V! X
  118. ;   Development Value: On- G. X; n+ G% A/ m+ y) c0 ~  o- b
  119. ;   Production Value: On
    ' ?7 b$ A8 K# K/ h1 l3 d6 F: R! C

  120. ( N) p3 k; @/ ?/ S# s) ]% {" q3 c* m
  121. ; max_input_time
    ' j" E3 w# k3 R% w  \
  122. ;   Default Value: -1 (Unlimited)
    ) K& k6 j' v1 t8 t% E1 k0 w! w
  123. ;   Development Value: 60 (60 seconds)7 D7 B+ X2 P+ Q8 _1 p) L
  124. ;   Production Value: 60 (60 seconds)
    ) s1 Q! i0 o9 K% r4 _7 t

  125. & a! N3 n- m+ V3 L2 r7 x( t
  126. ; output_buffering  {$ u1 [, f% y
  127. ;   Default Value: Off! t. H; q# n3 D0 X6 \
  128. ;   Development Value: 4096
    % Z5 w3 u/ {( p) W$ o) f
  129. ;   Production Value: 40968 s1 X3 K, k7 W# l8 c! j
  130. / w  b" s4 a0 m# T
  131. ; register_argc_argv
    7 e) P9 Q6 F1 S; {
  132. ;   Default Value: On
    ( L* T9 e/ j7 h% _6 g, Z1 S. D( i
  133. ;   Development Value: Off# {5 U5 k( c9 C% W( z' c/ ^! Z
  134. ;   Production Value: Off
    6 s* Y: Y* w1 n
  135. 4 C" x6 C4 T" x) c3 [
  136. ; request_order* H0 y! S3 n; a9 R
  137. ;   Default Value: None
    / r9 Q7 T  J, v7 G9 `9 O: C( L0 h
  138. ;   Development Value: "GP"
    / [4 ^& C" n% k+ }
  139. ;   Production Value: "GP"
      c8 S4 L3 j, U; Y. Z
  140. 5 y. [) Y2 Q7 t9 e. }
  141. ; session.gc_divisor
    & g* h5 @/ }$ t& [. O' e" I" c
  142. ;   Default Value: 100" @: x! {+ F0 m* X1 _1 @, x
  143. ;   Development Value: 1000" v7 [9 M! N2 V
  144. ;   Production Value: 1000
      a* b' z9 T3 o; B; I6 W
  145. ( {, g- _) U2 a! N# N
  146. ; session.hash_bits_per_character
    , [4 a: N$ x: }- r3 f0 S/ \* R
  147. ;   Default Value: 4- I+ G8 m! n1 M( k3 a
  148. ;   Development Value: 5
    $ G' p1 I  t& _! \
  149. ;   Production Value: 5/ a% Z$ M* p% _; o

  150. 7 d: z9 m( h+ z5 [5 q
  151. ; short_open_tag
    + M, C$ g" w$ M, S
  152. ;   Default Value: On
    7 ]; I4 _& M) {( _+ K6 F
  153. ;   Development Value: Off
    . i! O3 H6 m- V
  154. ;   Production Value: Off! G2 z$ u/ h+ g0 y
  155. 9 p4 ?$ U3 R6 i+ i4 \  M
  156. ; track_errors
    / s0 V' o( l2 B, [$ Q8 W# u
  157. ;   Default Value: Off
    * w/ x) p, C9 N7 d5 U3 J% t+ \- b
  158. ;   Development Value: On
    0 h, A# r6 f1 e0 Q9 B  v0 V
  159. ;   Production Value: Off
    # W& h$ _5 b: N2 Q- d+ W9 z
  160. 0 K4 }1 `! t8 G$ D  @
  161. ; url_rewriter.tags4 A6 x. H1 f  o  L
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="; Z1 _; \" c8 a0 P% V1 ~
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry", l5 S( D- T* f9 b, w
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      ]" Z# f, I( A1 x$ M: h; @" s
  165. 2 b# A* s9 w$ M+ y9 n8 G2 E
  166. ; variables_order
    + T4 A( [  V5 j  e$ V
  167. ;   Default Value: "EGPCS"/ r2 A5 d+ w1 E
  168. ;   Development Value: "GPCS"
    / T" L" l9 F# ]7 j2 p
  169. ;   Production Value: "GPCS"
    7 j+ ?6 e* G: @  V" v1 X# |
  170. % s1 [) R# A3 f' d4 b
  171. ;;;;;;;;;;;;;;;;;;;;( v! k2 t4 ]- z4 a3 ?# z
  172. ; php.ini Options  ;$ a8 }; s- l+ E0 y$ E+ U& a, M6 v
  173. ;;;;;;;;;;;;;;;;;;;;
    - n" @/ e" S/ {! k  m: ]# j0 d: G
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini". V( x. X5 F) M* ?
  175. ;user_ini.filename = ".user.ini"
    * C2 ^( H" D8 i) e8 Q' X
  176. % g1 E, Z8 D. N8 R6 H: @+ M
  177. ; To disable this feature set this option to empty value! p; N7 R% o9 |& `2 b3 {6 x+ W: N
  178. ;user_ini.filename =
    " l. k# f% z# F/ O! t
  179. , G, }  r1 i, u  C. s
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ! I  c0 t: C/ G0 Y7 `5 ?+ T
  181. ;user_ini.cache_ttl = 300
    7 e3 _3 C7 Z' u; P3 a& l# \

  182. + {0 h$ n% l3 c* }8 F
  183. ;;;;;;;;;;;;;;;;;;;;6 x+ @; r2 }' f# ~
  184. ; Language Options ;- G- i6 o: S! r4 W, ?' o
  185. ;;;;;;;;;;;;;;;;;;;;7 d7 h' w" ^4 i) o

  186. $ y; k" W( v7 |3 a% I
  187. ; Enable the PHP scripting language engine under Apache.# ]0 H" B1 q  v6 |: ~( i# l6 g
  188. ; http://php.net/engine5 Q- o9 a$ E, O% @2 W" g* |
  189. engine = On4 B0 P  B& w& p( s& m8 k7 v

  190. : q# u, L: M( y  _; x( X& r1 I
  191. ; This directive determines whether or not PHP will recognize code between
    ( m& W8 s( d' K1 W1 P, P
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    3 [9 r' d; i  c
  193. ; generally recommended that <?php and ?> should be used and that this feature9 L) w! v- E) _( N  {% Y
  194. ; should be disabled, as enabling it may result in issues when generating XML
    . p" `3 X9 t3 ]' O* e
  195. ; documents, however this remains supported for backward compatibility reasons.
    " _8 F, F2 b/ U$ f. m1 O
  196. ; Note that this directive does not control the <?= shorthand tag, which can be3 N% x7 G0 {9 ?& P1 k6 t
  197. ; used regardless of this directive.) u9 k5 d; W* {
  198. ; Default Value: On
    - i$ a9 \* Z% N6 G4 d
  199. ; Development Value: Off
    & r+ q+ T/ w% F9 v2 Q
  200. ; Production Value: Off9 R, N3 ?. N7 t. [1 F0 R
  201. ; http://php.net/short-open-tag. _/ h" {8 t9 H* J0 E$ s: }: \! b
  202. short_open_tag = On
    5 ~6 Q% O" F, Z

  203. . L5 i2 }& D/ ]1 O# A1 I0 k/ o
  204. ; Allow ASP-style <% %> tags.  [: p( H. U$ b  g) C0 f
  205. ; http://php.net/asp-tags
    6 ]! N- @# ]' [; I
  206. asp_tags = Off6 X: V$ p# @5 ~

  207. # I: F# A1 v- e  N
  208. ; The number of significant digits displayed in floating point numbers.
    7 L: p8 c5 e/ c. B1 r8 W2 n) D# Z
  209. ; http://php.net/precision
    ) |3 T- n) B) C1 {0 a  N
  210. precision = 14* g6 {$ ~0 c0 L4 M6 }

  211. 7 P6 i3 j# e$ Y! t/ W
  212. ; Output buffering is a mechanism for controlling how much output data
    2 x4 y6 B! a* |% H
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    $ ^- w+ g  r. D( U
  214. ; data to the client. If your application's output exceeds this setting, PHP: i7 |3 ^/ g) b# o9 P: R2 B
  215. ; will send that data in chunks of roughly the size you specify.
    7 u4 |8 ~! X/ H+ l. p
  216. ; Turning on this setting and managing its maximum buffer size can yield some3 a2 a/ _. R8 V
  217. ; interesting side-effects depending on your application and web server.
    ) i) o: P( R, y9 @& y* Z
  218. ; You may be able to send headers and cookies after you've already sent output
    4 }) l, j1 U+ t$ D1 R
  219. ; through print or echo. You also may see performance benefits if your server is
    * B/ N3 I, H$ Y# n4 P2 y9 g! N
  220. ; emitting less packets due to buffered output versus PHP streaming the output9 _: c. C; d* _2 \
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    : r+ `0 ~  h' j9 Q
  222. ; reasons.
    / m! q6 }; V- n2 K+ t
  223. ; Note: Output buffering can also be controlled via Output Buffering Control8 V- I3 Y, `7 b- b
  224. ;   functions.
    ; z& \' D4 _; Q) h/ K2 i
  225. ; Possible Values:; o) O7 M# h6 M
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    . a6 N% i1 |3 r
  227. ;   Off = Disabled
    ; T- e! t& s) l+ V
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    # s: G0 ]2 H/ ?: C+ y) M$ Z
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI  C7 f* w- ~$ s5 x9 x) {% G7 U
  230. ; Default Value: Off
    + r) f3 _+ ^* K- `' H
  231. ; Development Value: 4096
    2 }! L2 u1 g" G4 U- d
  232. ; Production Value: 4096
    ( R  T% E  z% L& x) |
  233. ; http://php.net/output-buffering/ M. a: v, d; ^& G
  234. output_buffering = 40967 s: d5 y3 L  ~

  235. " j  x5 C. G& k) m- n
  236. ; You can redirect all of the output of your scripts to a function.  For9 d  [& m  f# T
  237. ; example, if you set output_handler to "mb_output_handler", character
    , m; w! ?4 ?+ k  ~7 v( ?
  238. ; encoding will be transparently converted to the specified encoding.+ m6 i- M: @* A6 o( _* K
  239. ; Setting any output handler automatically turns on output buffering.
    ! D/ Q. Y$ n  r7 f9 v3 M" q5 }9 l
  240. ; Note: People who wrote portable scripts should not depend on this ini
    : S3 ~4 i9 f$ f6 F! W* G! q8 p# b
  241. ;   directive. Instead, explicitly set the output handler using ob_start().  i- |! o" u8 M2 _. o6 }: B: U* m
  242. ;   Using this ini directive may cause problems unless you know what script
    0 B: m! l; G0 ~+ \% ~
  243. ;   is doing.. `9 V% Y' s5 c5 V
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ' A% c* P" Y, A  Z/ g
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".7 o# ?* g/ c% @3 ^8 F2 J
  246. ; Note: output_handler must be empty if this is set 'On' !!!!' d- q5 U$ p4 Q" t/ M- e4 v
  247. ;   Instead you must use zlib.output_handler.1 P8 L+ p6 Q7 R- }& a# @
  248. ; http://php.net/output-handler
    0 j6 H( g4 _2 Z* {$ X/ q- U! A
  249. ;output_handler =
    % m8 b- o/ }" l. q7 \, i

  250. + o: X0 B4 d" p# a# J, r
  251. ; Transparent output compression using the zlib library( K) A; y2 Q0 i* Y
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size' z# I/ [$ j9 A# A3 u
  253. ; to be used for compression (default is 4KB)& h6 O. ]6 h' M5 P4 u
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP; e7 B0 s; E. J
  255. ;   outputs chunks that are few hundreds bytes each as a result of
      d' \0 j5 m* ?0 Q; W# _
  256. ;   compression. If you prefer a larger chunk size for better. x9 z, h  ?9 O+ m2 q
  257. ;   performance, enable output_buffering in addition.- R; d1 w/ U# o
  258. ; Note: You need to use zlib.output_handler instead of the standard3 c& R! r/ n, s; I1 S8 B3 E
  259. ;   output_handler, or otherwise the output will be corrupted.8 o& y# }4 |- a' }# o/ D# g2 k
  260. ; http://php.net/zlib.output-compression  n5 r4 V( J3 X$ x) s8 U
  261. zlib.output_compression = Off
    4 k% J, v6 e9 d8 `
  262. 6 i/ @* N  V0 V, N4 ^1 Y$ B
  263. ; http://php.net/zlib.output-compression-level
    - a) L& q6 r& p8 Q  H- S$ Y' k
  264. ;zlib.output_compression_level = -1  l0 O5 N, i4 V! ~

  265. 6 e5 x# a2 D$ {7 T
  266. ; You cannot specify additional output handlers if zlib.output_compression( C8 A2 h# t7 W
  267. ; is activated here. This setting does the same as output_handler but in. K+ G; W; x2 B: T; h
  268. ; a different order.
    " o3 c* w* }0 Y, P# |& d2 y
  269. ; http://php.net/zlib.output-handler
    : u8 e- i. e1 V8 I( d7 I8 v
  270. ;zlib.output_handler =: w9 G' w3 g0 C0 y% Q: w* E

  271. ! F* V( W) N, F+ }# [
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    / R) O& d. a0 d! q! u9 ^
  273. ; automatically after every output block.  This is equivalent to calling the8 Q0 s5 b4 V$ R/ ]( d% [% M
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ' H2 U2 u1 }' u2 R
  275. ; and every HTML block.  Turning this option on has serious performance
    2 |) K8 z# L$ K+ a
  276. ; implications and is generally recommended for debugging purposes only.8 q" y& x( s; s! k
  277. ; http://php.net/implicit-flush2 b! H, p$ o" L
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    . m; Q' o& h, z: x+ y; G
  279. implicit_flush = Off
    , ^. E4 u! N$ F6 k( Q( |
  280. 2 O& U- B" D6 S. W3 t
  281. ; The unserialize callback function will be called (with the undefined class': i8 \4 v$ u( Z
  282. ; name as parameter), if the unserializer finds an undefined class
      ?( y* v$ |( G* a
  283. ; which should be instantiated. A warning appears if the specified function is6 I% B. |/ K& P6 ]2 s$ q
  284. ; not defined, or if the function doesn't include/implement the missing class.
    * h$ T8 M/ K( R4 ?# [# W9 D4 |: Y
  285. ; So only set this entry, if you really want to implement such a7 \4 S: Z9 t  t6 _) q
  286. ; callback-function.& m0 n2 o/ P$ R4 N" ]; J
  287. unserialize_callback_func =
    2 A# X: s& f( D

  288. 2 X4 D8 N* X5 D' w* k" G7 P
  289. ; When floats & doubles are serialized store serialize_precision significant
    6 g; O7 y# o- V% s
  290. ; digits after the floating point. The default value ensures that when floats4 d. E: f- ]3 r1 L/ d- F- L
  291. ; are decoded with unserialize, the data will remain the same.* w) k9 _1 o2 x0 U8 d& J
  292. serialize_precision = 17
    5 c6 E, v( i' E$ C
  293. 9 t* f7 t+ J6 q' c
  294. ; open_basedir, if set, limits all file operations to the defined directory
    ) T& J6 y& P5 c# w/ E
  295. ; and below.  This directive makes most sense if used in a per-directory
    % ^+ D" W7 E$ k6 g! }" G& H# {6 c
  296. ; or per-virtualhost web server configuration file.
    : G" i# {1 `2 l% L! v: k. c: b
  297. ; http://php.net/open-basedir
    ; h5 B+ k$ ~5 s! i. u
  298. ;open_basedir =6 J, d" K8 p# [2 d- M

  299. % l7 K$ _1 I0 S2 x) R
  300. ; This directive allows you to disable certain functions for security reasons.
    4 t8 Z- a8 v) r$ z% w
  301. ; It receives a comma-delimited list of function names.
    ( [4 |: X6 O2 S$ b/ F- _
  302. ; http://php.net/disable-functions- v1 f# P, I8 d+ u
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru  j- w4 M- }- M' m+ V- S% ^
  304. ' N- ]: a: @2 M3 q1 t4 J
  305. ; This directive allows you to disable certain classes for security reasons.
    ! |/ ~/ i6 Y  Q8 E* r
  306. ; It receives a comma-delimited list of class names.% k! w7 B/ s8 U% Q- a
  307. ; http://php.net/disable-classes0 ]% c3 t5 r1 d$ j* g! a3 t! J! a- O6 ~
  308. disable_classes =( I7 U. R  F# P( C
  309. 4 ?6 C/ ~0 j0 }- z- \
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in- D( H5 r7 \2 _0 x4 s; N2 ?
  311. ; <span style="color: ???????"> would work.* D0 Y3 _/ I. d! V
  312. ; http://php.net/syntax-highlighting! o" B" U* D* Q) W6 O' L
  313. ;highlight.string  = #DD0000
    2 {( |- Q9 X1 q- @$ m- g0 D1 Q" `
  314. ;highlight.comment = #FF9900
    3 S; u/ i* A4 \! Z
  315. ;highlight.keyword = #007700
    $ R: C& ]$ }. \7 [% K
  316. ;highlight.default = #0000BB
    3 [) x& r) \0 }9 i! k0 Z
  317. ;highlight.html    = #0000001 a7 J5 V7 P8 m1 Q/ B

  318. 8 ]3 g; l, o$ k
  319. ; If enabled, the request will be allowed to complete even if the user aborts' H& }9 b8 N) _) G; J* h: e0 a
  320. ; the request. Consider enabling it if executing long requests, which may end up
    $ F% e/ T5 Y& P/ B2 b3 q% ~) x- \/ I
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior" ?; a( T) c1 M) M" }( Z9 G5 W
  322. ; is to disable this feature.
    % S, c" e, w/ g% M
  323. ; http://php.net/ignore-user-abort
    ! Y! c% c8 G! Y4 R' i) R
  324. ;ignore_user_abort = On+ T; e' Y5 W( p7 p. m% N) e

  325. - L( E. E1 b* f# ]
  326. ; Determines the size of the realpath cache to be used by PHP. This value should, T; Z. K  h2 l7 F1 x& X1 r" f9 N" ^
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    ; d7 e3 c# v* H9 E* w
  328. ; the file operations performed.! w! s% O; E( ~3 K& W& Y% T! U
  329. ; http://php.net/realpath-cache-size
    . Z. G3 v3 I. q9 K4 q7 h
  330. ;realpath_cache_size = 16k
    ) y* j. O+ A1 t# s9 c* t$ s
  331. ) u' j+ _! [" h3 r; l1 F) f7 m1 P( S
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    ; d4 I" @/ M- _* _+ y$ _7 N
  333. ; file or directory. For systems with rarely changing files, consider increasing this/ ^5 y; |/ k! O! V% c4 e( e
  334. ; value.
    $ a! ?7 [' j9 N* ~7 z9 l' j# [
  335. ; http://php.net/realpath-cache-ttl( ~  z) n) Q% E7 W% e
  336. ;realpath_cache_ttl = 120% ~1 H' u: y) x3 f3 ^6 j+ K: W
  337. 6 `& E7 o( S0 I8 t, `; L5 Y
  338. ; Enables or disables the circular reference collector.! Z2 E( L! |' k8 U
  339. ; http://php.net/zend.enable-gc3 H9 ~& V& N/ w1 z! P4 i! I: l
  340. zend.enable_gc = On% M- [6 V9 T4 E! t6 A$ s

  341. 6 G! L' I5 r$ w0 {3 |+ x6 l
  342. ; If enabled, scripts may be written in encodings that are incompatible with' r$ U' r% {2 C
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such6 F7 b. E7 A( N$ |& ]0 l
  344. ; encodings.  To use this feature, mbstring extension must be enabled.. Q: }8 G8 ^1 X! k( P
  345. ; Default: Off
    ' N- I- }9 N" T# m2 p' \% z) j
  346. ;zend.multibyte = Off
    % e$ P9 P2 z( r9 Z# X
  347. - N( g- c! o4 m* ?
  348. ; Allows to set the default encoding for the scripts.  This value will be used
      |/ h9 d& L# u% O. f
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ) s2 C% @, N$ @% n. `6 J' U
  350. ; Only affects if zend.multibyte is set.
    ) o; a* z! t$ G. }7 ^5 P8 m+ R) S
  351. ; Default: ""
    6 Z# N) F, o) }
  352. ;zend.script_encoding =
      ?0 ?8 P- h. C6 c) I5 }" B) m* S
  353. ' W! P0 [7 Y  W8 N9 _+ h6 E
  354. ;;;;;;;;;;;;;;;;;
    ( r: H7 L  G5 i- O, E  l6 x
  355. ; Miscellaneous ;
    $ `$ R( W2 G2 D1 m+ \9 r3 v0 w3 o
  356. ;;;;;;;;;;;;;;;;;
    ) ]2 T' O, |9 F$ ?! O: k
  357. 2 h3 h; r  Q4 _' L) |
  358. ; Decides whether PHP may expose the fact that it is installed on the server( o2 _" i: L/ n: K* \8 v
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    : i# k; m& t5 j/ P4 l4 h% g
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    $ {6 r- b5 l& ~) B+ [' m* G
  361. ; on your server or not.
    % Z2 \  h. q6 T( e7 x
  362. ; http://php.net/expose-php0 t1 w/ m4 o! c8 B1 F7 L3 e5 b
  363. expose_php = On
    9 |% X6 L5 }" B0 b5 L, S
  364. 2 l1 O# L+ O9 w) L2 Z3 Y: E
  365. ;;;;;;;;;;;;;;;;;;;7 H8 A0 O" v% T/ B& f# Q3 p1 i( T
  366. ; Resource Limits ;! Y* ]9 y& y# w
  367. ;;;;;;;;;;;;;;;;;;;
    ! l+ I/ h- \, k9 O7 x4 y5 Y

  368. 9 b, O- y; s. s4 `4 X
  369. ; Maximum execution time of each script, in seconds' O& Z- b0 y6 X$ E/ z, A# u
  370. ; http://php.net/max-execution-time6 E0 G2 Q6 V( m& q
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI; h, L+ g7 Q# F9 B  ?" Q
  372. max_execution_time = 300
    ( g" P" N  }, t4 _. Z

  373. ' H' h* a! q5 w2 c( a! {
  374. ; Maximum amount of time each script may spend parsing request data. It's a good9 j( o+ C4 r( Z' n6 j; D
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    7 Q/ R% O* |- L/ K+ t( r8 Q
  376. ; long running scripts.
    8 b) \7 n$ `5 X1 O
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI% H+ `) S8 c5 z
  378. ; Default Value: -1 (Unlimited)6 V0 i4 ~$ R/ D7 C7 T
  379. ; Development Value: 60 (60 seconds)( Y; ~$ C3 w, q/ ^, ?
  380. ; Production Value: 60 (60 seconds)
    4 @6 ^" P( L8 p& l" [& G
  381. ; http://php.net/max-input-time
    ) M0 K  \7 }1 T2 Y1 _$ C( q
  382. max_input_time = 60
    : d7 r' ]0 a8 K

  383. + F& `4 h: A. N" u6 K
  384. ; Maximum input variable nesting level4 Y( i: [+ V( H. b" {
  385. ; http://php.net/max-input-nesting-level/ p' E: C0 R6 N+ w7 C) G
  386. ;max_input_nesting_level = 645 [! t' Z  C( i+ Z9 F2 N6 Z, x7 y8 V

  387. $ U9 _2 [  W3 T6 N6 U0 P- K8 s3 }
  388. ; How many GET/POST/COOKIE input variables may be accepted
    ' w# Y' u! q% R
  389. ; max_input_vars = 1000
    3 [: O0 ~& |3 r, b/ n
  390. " b% d9 \1 H# |0 d8 |) T
  391. ; Maximum amount of memory a script may consume (128MB)1 q$ [# d+ F% A6 g8 n: A! g0 Q" S8 E
  392. ; http://php.net/memory-limit
    ( Q9 p# [/ L3 z1 L
  393. memory_limit = 128M
    3 w2 r% \# b/ Z% o% ^) R
  394. + N+ V7 v6 S! E: U0 }" }9 C
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ) x* S0 s* G" B+ G/ P
  396. ; Error handling and logging ;
    , F1 [0 {( ^3 g1 }. m4 F' i$ d
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;  a: C5 F9 E7 }9 P& e" T# S# `
  398. 9 |" {5 w" x5 T9 {- N
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    & Y. A! D6 W. P) {/ u8 u) I
  400. ; it to take action for. The recommended way of setting values for this; v  l$ B$ m9 Q5 g( i3 O4 V6 Y
  401. ; directive is through the use of the error level constants and bitwise
    ( M, w! }# t4 x. L
  402. ; operators. The error level constants are below here for convenience as well as
    0 r1 F* {2 ?& z) x4 l
  403. ; some common settings and their meanings." i5 p1 I5 P6 }
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT* T4 T. n9 z6 u& u6 e
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    9 w- x8 g# o' g5 D5 |) R
  406. ; recommended coding standards in PHP. For performance reasons, this is the) @" p: C( O4 O/ S" u8 s" a* P# X& N
  407. ; recommend error reporting setting. Your production server shouldn't be wasting" q6 u# _. f0 ~7 n& X
  408. ; resources complaining about best practices and coding standards. That's what
    & c+ x$ h; ^- C; e& U0 W8 X
  409. ; development servers and development settings are for.
    2 E, I" M1 N  |% ?
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    " ?" C* H' X1 R) o* c
  411. ; means it pretty much reports everything which is exactly what you want during3 S5 j3 m; g. @8 w
  412. ; development and early testing.1 ^- d8 K# u8 p  R
  413. ;. H1 t0 u, y/ q* H% |: g- z
  414. ; Error Level Constants:: _  r1 h7 C8 c3 D$ B' ]* b. u
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0); X2 M1 y8 d2 w( q! h% a$ m
  416. ; E_ERROR           - fatal run-time errors4 `& n+ q# M. Y9 J. m! p% N& N
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ' }4 [5 y$ [2 z
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    4 j$ {' j. {9 x7 z  l2 [) b. i' X
  419. ; E_PARSE           - compile-time parse errors3 ^( W* H+ v6 l8 z% O0 M
  420. ; E_NOTICE          - run-time notices (these are warnings which often result+ w' ~* X1 ?; N& G9 H$ b0 f$ m; T
  421. ;                     from a bug in your code, but it's possible that it was
    3 o0 v3 s, E, i3 e. c+ u  H
  422. ;                     intentional (e.g., using an uninitialized variable and% o; P) u+ \5 R9 u/ o( Z4 h. v
  423. ;                     relying on the fact it is automatically initialized to an
    ' l7 v3 C- s# c' m  c* M7 s1 B
  424. ;                     empty string)
    - c9 t, u6 {0 F
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes( l2 e( _! @  d1 I$ ?
  426. ;                     to your code which will ensure the best interoperability5 [5 ?- Y" i1 Z# B* }
  427. ;                     and forward compatibility of your code+ [% ~, n) _  L% c0 G
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup3 A: A! y% v2 M. t
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    6 w" m$ L4 ?5 V* H) e
  430. ;                     initial startup
    * S. w5 _) X: W% Y& E; n
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    & s; ]. V  G* M; Y6 A7 c
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors). E' Y7 v$ K' c2 `/ b8 }/ m
  433. ; E_USER_ERROR      - user-generated error message% W0 [5 A+ O5 r: H# G, l; q
  434. ; E_USER_WARNING    - user-generated warning message8 i0 y5 {9 j/ Y0 d+ }: K" S% K' q
  435. ; E_USER_NOTICE     - user-generated notice message
    . u+ g' c$ i0 ^: |
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    8 S. f) c+ M( ^& |3 \( q  e
  437. ;                     of PHP' g0 ?7 L, u) s/ X4 _  m
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings- T" s8 f9 u' W
  439. ;5 Y1 S) y# e% i
  440. ; Common Values:# l$ `$ Q* k5 ~. q; X; a
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)- h1 p5 Y. o" g/ O8 X
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    % P0 b) p0 G1 ^+ I  H( M) ^2 h
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)1 D; M& S* U- ~* t% n- K8 V! z/ e
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)5 E% l# Y7 {: F* C
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    # p" I! @$ s( J" w% @9 d
  446. ; Development Value: E_ALL  r8 }) A6 O7 U
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    1 V3 E, y5 K  g6 V
  448. ; http://php.net/error-reporting
    " q6 ^" r7 L0 k4 L" r
  449. error_reporting = E_ALL & ~E_NOTICE9 f# _, v" P5 t" J/ K
  450. $ Z; ~8 }( l3 B' S$ D0 r
  451. ; This directive controls whether or not and where PHP will output errors,; O: t& ~% @5 e
  452. ; notices and warnings too. Error output is very useful during development, but! ^- k0 g! _5 T3 ^9 L/ V
  453. ; it could be very dangerous in production environments. Depending on the code- c) K: y7 t2 H$ [( f# \& Y
  454. ; which is triggering the error, sensitive information could potentially leak
    8 y2 R$ [& Q2 Y
  455. ; out of your application such as database usernames and passwords or worse.+ H$ W6 R8 o5 \; N* c, m& b
  456. ; For production environments, we recommend logging errors rather than
    & J, M. Q7 ~0 ~  B  ~
  457. ; sending them to STDOUT.6 n! W! D9 T6 `! V  \  x
  458. ; Possible Values:
    - Z! L( K; H1 ^/ I' x9 _
  459. ;   Off = Do not display any errors
    / W) `6 D* h# L) \4 p1 H
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)7 a" V- S  ^: A; z. S" h# G
  461. ;   On or stdout = Display errors to STDOUT
      O% j: ~' L5 M6 ~& X- k
  462. ; Default Value: On8 i4 m& j& J- v: o
  463. ; Development Value: On' n" T" Q- r) e: }" ~
  464. ; Production Value: Off: H' w& ~2 C  l& f) `% r8 Y* R
  465. ; http://php.net/display-errors8 f& q1 G/ {  z
  466. display_errors = On
    " q* d% L: ?+ H  Z* w

  467. 2 P& `4 T( R9 a" q
  468. ; The display of errors which occur during PHP's startup sequence are handled) W  ^; R, G7 i( m8 C# o# a/ T! b
  469. ; separately from display_errors. PHP's default behavior is to suppress those* x- ^) A: E  A# j" X- N2 Z
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    ( X, T% o$ U) S+ _
  471. ; debugging configuration problems. We strongly recommend you
    ) _/ Q4 X* J3 x7 o
  472. ; set this to 'off' for production servers.
    ; _3 |* I5 b. e! d- G
  473. ; Default Value: Off9 @3 N2 e9 w( N9 C+ G
  474. ; Development Value: On7 [. P3 v6 |  h  W6 Z7 p( |
  475. ; Production Value: Off; p3 U# X! [: [
  476. ; http://php.net/display-startup-errors
    ( H: ^9 \9 o  `" ?. i
  477. display_startup_errors = Off  `7 v- N: l- E0 w

  478. " O* T9 Q) _5 P$ Z
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    4 k( k0 r; ^. P6 g$ W. E
  480. ; server-specific log, STDERR, or a location specified by the error_log7 i3 B# `$ u0 t; X- d
  481. ; directive found below. While errors should not be displayed on productions) l5 w4 f( S3 U0 }+ k: j( }" h/ J
  482. ; servers they should still be monitored and logging is a great way to do that.
    & P" B2 [8 S' B7 Z) Q
  483. ; Default Value: Off. @8 ]5 ^* ^, J' b
  484. ; Development Value: On
    - k$ d" X: o1 g; G4 ^- j, ^& x
  485. ; Production Value: On2 D" k" _5 E# }! s/ z' v8 s# G
  486. ; http://php.net/log-errors
    / u: k% u( P+ @6 Q% u! W# V9 u
  487. log_errors = On
    7 c: f# T$ s/ w1 L3 e) G# j( }: K. ~/ v
  488.   s- U3 v3 F. c' P* f. v' {  K
  489. ; Set maximum length of log_errors. In error_log information about the source is
    + w# c$ H$ v' S" A* X8 x6 g
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.  |# L: Y+ J2 n) U' G0 ?1 U( ?* S
  491. ; http://php.net/log-errors-max-len
    5 x6 C0 h5 C  ?. F5 L' U
  492. log_errors_max_len = 1024
    & K1 @/ L- V8 M6 ^, L
  493. " B; v1 w5 K, \3 e# G; ^; g- c1 x+ R
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ) S9 [3 r8 d, b1 H4 X4 A5 E
  495. ; line unless ignore_repeated_source is set true.; t9 v# @# |2 L3 M+ K1 }5 K& L& G
  496. ; http://php.net/ignore-repeated-errors
    7 r, n: F. P& I. o
  497. ignore_repeated_errors = Off# m- {- t* A) @& x( B4 W

  498. " P8 _9 E% P# P5 [) K, l
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    , \5 L3 L$ x/ k! p1 n
  500. ; is On you will not log errors with repeated messages from different files or
    7 i# n( |, S! O# k9 l. N* E
  501. ; source lines.' R+ c( z; K. ~& K* q
  502. ; http://php.net/ignore-repeated-source' M& r7 ?! a4 \
  503. ignore_repeated_source = Off
    6 ]) ]1 q. p4 M; M4 d7 n

  504. & T1 M% i- c9 \! r; R4 [$ g# d
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on: M) f# r9 c6 ~. {+ O% [# u$ t7 V9 J
  506. ; stdout or in the log). This has only effect in a debug compile, and if# p, X) Y% o3 |# C5 `
  507. ; error reporting includes E_WARNING in the allowed list& ^5 d! d/ p+ r6 C% I
  508. ; http://php.net/report-memleaks
    9 u6 _* E) j6 r' t+ ?) r' X0 m+ o. @
  509. report_memleaks = On
    - c. Y, z. a/ {/ U; c
  510. . l5 p, E2 ]1 {+ w( d7 `
  511. ; This setting is on by default.$ l' @7 H, i: i% Q( @
  512. ;report_zend_debug = 0
    : Q( |. B' f! y  v/ \

  513. , {9 s9 d% N+ U2 u
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value5 U3 S9 Q4 e/ S1 @
  515. ; to On can assist in debugging and is appropriate for development servers. It should/ i# q; c9 D+ _& K/ \7 a0 u1 u
  516. ; however be disabled on production servers.' {- i3 v/ H: Q% a* a& Y0 z' e$ w
  517. ; Default Value: Off
    % ?: ]+ z+ r  @/ Q0 f9 S
  518. ; Development Value: On
    9 z9 m+ c# M2 o* ?4 _
  519. ; Production Value: Off0 P) O: I6 x( L! {6 T
  520. ; http://php.net/track-errors. D5 I' Z( Q& n2 O2 L
  521. track_errors = Off
    - [3 W) H6 N/ d. y0 J! n6 q

  522. - J) [7 ~9 @: H! ], B! b0 b
  523. ; Turn off normal error reporting and emit XML-RPC error XML. }  d! r' ]4 A9 Z! i% j& F% Q. z
  524. ; http://php.net/xmlrpc-errors9 ~& N0 @# ]' N) ?# r1 H# O; L" d' I
  525. ;xmlrpc_errors = 0  G% h- {8 g! H/ g1 d( J

  526. : ^, _7 d# E0 J% K6 y
  527. ; An XML-RPC faultCode
    1 d+ d0 v: w5 l2 p
  528. ;xmlrpc_error_number = 0
    3 R- a; F7 t7 e4 a2 }

  529. 1 Q' G* q, M7 J% d
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    + {0 ^: Q/ z) ]# u3 H
  531. ; error message as HTML for easier reading. This directive controls whether; n) K* n2 [2 T; X& @
  532. ; the error message is formatted as HTML or not.
    - g. Y+ U$ I  L' f9 i
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    # O" h$ e' a: C& S2 M' K
  534. ; Default Value: On! C4 h. q2 O% J
  535. ; Development Value: On
    $ P# p2 o9 [) P% Y
  536. ; Production value: On
    " q: S  P1 G2 |* m1 p
  537. ; http://php.net/html-errors
    8 U2 v7 X7 R6 {  V
  538. html_errors = On8 l4 w2 P' b5 w9 H' J! Z) J

  539. - K0 M3 h+ o0 F+ d6 D. h- q2 H: D
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP, Q" c! @* `$ V7 i, }* L$ f
  541. ; produces clickable error messages that direct to a page describing the error0 n0 o' _2 |# I# l
  542. ; or function causing the error in detail.. N5 P, a- G! B+ ]9 T) K
  543. ; You can download a copy of the PHP manual from http://php.net/docs3 u5 s! |, ~* U* r# ?& `
  544. ; and change docref_root to the base URL of your local copy including the
    , W' b! X9 ]" K7 I/ {% l/ s1 b
  545. ; leading '/'. You must also specify the file extension being used including
    % b! j3 x& {$ V; K3 T; ~
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    * k7 I6 {+ E3 x
  547. ; case no links to documentation are generated.
    ( A5 w9 F& J7 _1 W8 |
  548. ; Note: Never use this feature for production boxes.
    * a4 S% L9 a0 R+ p3 o; t# {
  549. ; http://php.net/docref-root  [: [! o  {- ?) s4 h$ M" I! G
  550. ; Examples
    ; C% |* v6 W% G
  551. ;docref_root = "/phpmanual/"
    2 M3 v; |5 E1 U! l

  552. & Q/ N# ^5 w1 n- {( v
  553. ; http://php.net/docref-ext
    & t8 d7 ~8 e/ ]/ C8 b. l/ J; A
  554. ;docref_ext = .html4 \+ m" y# L6 J  Q- w) E

  555. 3 ?# [6 S5 E' `! R2 U
  556. ; String to output before an error message. PHP's default behavior is to leave
    ; Z5 U0 N/ E( e% B
  557. ; this setting blank.' g# Y* k$ R* T5 y& L
  558. ; http://php.net/error-prepend-string
    6 M/ k8 f! W7 z- ~3 I
  559. ; Example:
    ! ?. n. x* ~# O7 W$ C- ]
  560. ;error_prepend_string = "<span style='color: #ff0000'>"1 Q; d& d! S+ U) [' p; N4 r

  561. 8 a% R2 p4 s. u) ]6 D9 J' l, u
  562. ; String to output after an error message. PHP's default behavior is to leave
    + k; W! ~6 H+ s! j, C5 {- G
  563. ; this setting blank.
    2 l* p4 U: y6 T, }
  564. ; http://php.net/error-append-string
    . R9 K* }9 H5 Y2 D
  565. ; Example:, Q3 n7 S2 F- ?. E0 W2 L6 f
  566. ;error_append_string = "</span>"; V) c: S* [7 s, ^( {

  567. ) U: I7 @0 g0 i7 H" F" y1 Q
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    & |4 M( `  n5 P$ Y5 ^; N  i
  569. ; empty.
    - z  k' `2 l: T- {& |. G& _, R
  570. ; http://php.net/error-log. q/ o' s+ z! [$ P2 N/ E
  571. ; Example:7 {! f$ X, [- M$ P, Z% @' e
  572. ;error_log = php_errors.log
    + A. M5 `$ ]# F
  573. ; Log errors to syslog (Event Log on Windows).( h; Q2 T' O1 a+ u* ~* W+ Z7 h. Y) U& u
  574. ;error_log = syslog" G8 d& f: q7 ?

  575. , C' Q, y4 z( z* q1 [
  576. ;windows.show_crt_warning
    2 t% u" u- R8 d" P  A; C
  577. ; Default value: 01 U2 H( R; Q8 M5 r% ~9 C
  578. ; Development value: 0! S/ l. P+ j$ J* |
  579. ; Production value: 0! z* S8 O" [* y5 t# {
  580. 0 C6 X2 f; ~2 _$ C& b
  581. ;;;;;;;;;;;;;;;;;
    3 }  A1 |6 A4 z7 p  i* q1 @
  582. ; Data Handling ;
    ' K( i0 T9 k: Y' B0 q
  583. ;;;;;;;;;;;;;;;;;6 K: q' {: q+ O) x
  584. , e) Z2 z( p- T4 p" ^
  585. ; The separator used in PHP generated URLs to separate arguments.) ]: s$ b0 H5 t" h- ?
  586. ; PHP's default setting is "&".
    , _$ M9 R; X& Q* J  R- s2 c+ {
  587. ; http://php.net/arg-separator.output
    2 X  D& x7 j4 y; ]" c5 e) U
  588. ; Example:
    ( W3 T' I- V" t& ]4 y1 V, |' }
  589. ;arg_separator.output = "&amp;"* v: U( d4 I- y
  590. . h5 k1 o8 d0 O3 i) t$ ?
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    1 |3 l; ~; C/ A" o+ @
  592. ; PHP's default setting is "&".
    ! M! a' y! u! b7 q/ U! C& |
  593. ; NOTE: Every character in this directive is considered as separator!
    & l9 j! N/ H* {8 \6 r3 b
  594. ; http://php.net/arg-separator.input
    5 R9 J; J: j# V2 q& a' X
  595. ; Example:
    3 @/ y3 Y5 p3 x8 Q! y. z1 v% k+ c
  596. ;arg_separator.input = ";&"* Z9 v* y/ G) o  T

  597. 0 H. Z" }) y, ~
  598. ; This directive determines which super global arrays are registered when PHP
    ) E- S/ \9 S- N& y- C% t2 g
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    7 Z/ {, M$ ^% ~7 d4 G
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty6 R' H/ m: f6 `( @; b0 ?
  601. ; paid for the registration of these arrays and because ENV is not as commonly$ X+ b! C; ?! G
  602. ; used as the others, ENV is not recommended on productions servers. You
      H3 D: C% |! B( f0 w# ?) W$ r
  603. ; can still get access to the environment variables through getenv() should you2 m) V6 w0 [4 |5 d7 m
  604. ; need to.
    * i: x4 Y' P0 N! N
  605. ; Default Value: "EGPCS": q% r. g' ~- \2 D
  606. ; Development Value: "GPCS", k# z5 b$ s5 e
  607. ; Production Value: "GPCS";
    ; V8 B* y8 N% P( N# a
  608. ; http://php.net/variables-order& B0 v8 ?. y2 r% p( y$ P8 K# j5 u; m
  609. variables_order = "GPCS"
    9 k, z$ |0 G% s  z4 L" c# F) D

  610. ! D2 q8 f( }1 I+ B: t
  611. ; This directive determines which super global data (G,P & C) should be( k; c6 i, w3 q1 ^6 r
  612. ; registered into the super global array REQUEST. If so, it also determines! n9 J0 N+ j% b' E8 ^( q# T1 E
  613. ; the order in which that data is registered. The values for this directive+ g0 u& L) [0 t; C' _
  614. ; are specified in the same manner as the variables_order directive,+ A/ o  J  B( j( d& Z! H
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
      @% g! P. g. \
  616. ; in the variables_order directive. It does not mean it will leave the super8 w2 b2 z9 o6 X0 r
  617. ; globals array REQUEST empty.. \7 `, ?# G' G" i7 ?" k
  618. ; Default Value: None# T& ~! ^8 ]2 W4 @! |: R+ D
  619. ; Development Value: "GP"% o0 V* E0 G6 O3 y) ?! y& F
  620. ; Production Value: "GP"7 i: b2 G; j3 ]" {
  621. ; http://php.net/request-order. {1 R4 B, a3 X- N0 R3 {0 S
  622. request_order = "GP"
    ) x& e- z/ E- A+ P' X1 {

  623. 5 e& M& l$ D1 m$ x/ z* Q' e
  624. ; This directive determines whether PHP registers $argv & $argc each time it+ h9 @; q4 o. h3 r: b$ f
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    + n7 B5 f+ A: F  n7 J6 y
  626. ; is invoked. $argc contains an integer representing the number of arguments
    + Y  U  z1 u0 J; ]2 e) X
  627. ; that were passed when the script was invoked. These arrays are extremely. C( `, ]% n% |  g, C' y
  628. ; useful when running scripts from the command line. When this directive is' a! W2 F8 a2 V# H
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    8 i* g0 |& [  g
  630. ; a script is executed. For performance reasons, this feature should be disabled
    - E5 ^! v4 d. @" i
  631. ; on production servers.' D. b( ?# G- q; |" Z- D- `
  632. ; Note: This directive is hardcoded to On for the CLI SAPI0 W# w  K4 o( b
  633. ; Default Value: On: q5 v! I: ~6 I( B3 y' F8 j
  634. ; Development Value: Off0 u: u# G# F5 @3 Q" s" w4 Q
  635. ; Production Value: Off: Z% X" t$ k/ R! ~- t' d. S
  636. ; http://php.net/register-argc-argv
    ! j9 h4 w8 o; M, a% r- [
  637. register_argc_argv = Off
    ' A6 D# g% v* J* ^: T! F
  638. $ X" g6 w$ J* G5 \2 S4 `% T" R+ r
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're( F+ f% R$ k( s' w4 I9 X7 W/ u
  640. ; first used (Just In Time) instead of when the script starts. If these
    / O# y# j0 Z! R3 s7 C: J
  641. ; variables are not used within a script, having this directive on will result$ n& @7 K, ?- j" m
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ! v" K; K/ W. E8 y) F0 K; n
  643. ; for this directive to have any affect.' W) F; [, q9 ?' @' Y$ h7 ~
  644. ; http://php.net/auto-globals-jit: b1 U# t& I% p6 K' T
  645. auto_globals_jit = On
    5 i' c  M2 q, q0 R- `; q

  646. ) D. W  i5 C3 s
  647. ; Whether PHP will read the POST data.
    & @+ m$ |5 J- m+ b' L  S% e
  648. ; This option is enabled by default.
    9 {; a6 c1 b; `9 X- Y- ]
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST# S/ ^7 ?/ t# h& ^* p4 p
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    ! z& p, }) P, k
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    & c. m- ^# u! J5 F) ^9 O
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.  E) [: [" R- L8 w1 w1 j
  653. ; http://php.net/enable-post-data-reading( V, P. M: l0 D; K! u5 [5 V6 C  H
  654. ;enable_post_data_reading = Off
    ! n1 R6 _/ p* v0 `. O

  655. # S2 G0 S0 [. b! R0 G9 ]- [' L/ `
  656. ; Maximum size of POST data that PHP will accept.
    1 i9 G  @7 N7 j( q3 B6 l) w
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    6 ~3 f' P& |5 j* l- `9 H3 m
  658. ; is disabled through enable_post_data_reading.
    . R) n1 o# H& a- a. u3 g9 k
  659. ; http://php.net/post-max-size
    2 Z  W0 A% o; }& s
  660. post_max_size = 50M9 x3 }& ?' z* q% [! \' U
  661. ( F( Y9 n, _; A& T0 i/ \5 v; d9 p
  662. ; Automatically add files before PHP document.
      y7 p9 s2 J( D; G
  663. ; http://php.net/auto-prepend-file- i/ l) Q- ^6 q. }+ @$ O3 ?9 y
  664. auto_prepend_file =
    * S0 S4 x# o9 Z2 x" ?

  665. % F( D- W% W+ H$ f* }: [8 d9 @
  666. ; Automatically add files after PHP document.
    , J5 i7 p  q0 Q6 v* i; N) f
  667. ; http://php.net/auto-append-file
    7 b$ ^4 w( D' |3 t& f( B
  668. auto_append_file =
    9 z) B, V: G: [
  669. . Q, B* E! l+ q  O! f1 v. e- e
  670. ; By default, PHP will output a media type using the Content-Type header. To
    0 O% ^. c! l4 ?+ o' @
  671. ; disable this, simply set it to be empty.
    ' l3 c. Z! b8 W$ R7 C; H
  672. ;) t6 b  \8 L' I1 a
  673. ; PHP's built-in default media type is set to text/html.
    % D% P" M. j' F8 j
  674. ; http://php.net/default-mimetype: F2 m1 J8 T' r4 i, u6 n" @
  675. default_mimetype = "text/html"' X+ v4 O, T: I0 ?$ T

  676. ; L' C9 N+ _. n  G7 P
  677. ; PHP's default character set is set to UTF-8.8 @2 d2 D: P6 {4 u3 k" T8 h+ Z
  678. ; http://php.net/default-charset( Y1 x( {' g% q  X% S4 S7 `
  679. default_charset = "UTF-8"# ^6 m$ O+ i9 J2 Q: W

  680. 7 [4 E! [+ `% T. e8 e+ D
  681. ; PHP internal character encoding is set to empty.6 C, @4 f3 O4 c8 B
  682. ; If empty, default_charset is used.
    % J/ W5 y& E0 x  v0 e! e* k7 N+ l
  683. ; http://php.net/internal-encoding$ M# k/ j# D2 c
  684. ;internal_encoding =8 G$ j  z/ ~- x! O

  685. ! V6 ?9 c5 C& O" F& @. g7 M
  686. ; PHP input character encoding is set to empty.
    ) Y; w: _  j6 t& J+ K) C
  687. ; If empty, default_charset is used.
    ' W6 z. p" f) i: t
  688. ; http://php.net/input-encoding
    6 N8 I: ?8 ^8 I! z+ o
  689. ;input_encoding =
    # J8 b. E$ H: s1 q# Q

  690. 1 U: |  S3 |% l. d9 I/ i
  691. ; PHP output character encoding is set to empty.
    . g7 v$ O& s; Y- p
  692. ; If empty, default_charset is used.  k$ N# l# }6 Y4 g2 L6 m- \: y
  693. ; See also output_buffer.7 [0 S* A: M9 k" N
  694. ; http://php.net/output-encoding" ^# O* \1 e6 e7 C, l, L7 y
  695. ;output_encoding =; R! \/ ]2 a* m
  696. & J7 l% e  r5 |% q7 W9 r! j
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    # A; S7 h& k* S6 k# }9 }
  698. ; to disable this feature and it will be removed in a future version.
    $ p# ?" T' N, m) O* g) x: ^
  699. ; If post reading is disabled through enable_post_data_reading,8 o8 f6 ~! K7 M  e2 y
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    + t% {2 J2 J+ d* r: M% B
  701. ; http://php.net/always-populate-raw-post-data) d* a$ P9 k% n+ f. q) ~' r5 V& p
  702. ;always_populate_raw_post_data = -1
    - G& c. V# z5 e6 ?: D9 Y
  703. # d8 x' L6 U  M3 i; c2 L6 i
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;$ i5 W# u2 o, b1 i, O
  705. ; Paths and Directories ;" _; z3 Z# l4 Z. V: f1 D6 l
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;8 v- S+ ^" T6 K/ w) h$ q
  707. * m, d, j5 c* x( H- X
  708. ; UNIX: "/path1:/path2"& L. f% E/ M' G  ]8 \
  709. ;include_path = ".:/php/includes"6 d. x" W) y8 z# Z8 e, X& [, T6 l
  710. ;
    % F' x( f8 g, e1 Z. g8 C/ N# e  U
  711. ; Windows: "\path1;\path2": w- R0 e; [  O3 D# l' f, U
  712. ;include_path = ".;c:\php\includes"- B7 |- z- r' s
  713. ;
    / @  [% A( I1 ?) ~5 P- K2 |8 x% y
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear". V5 g9 [6 I3 c
  715. ; http://php.net/include-path
    % O. e) T" s' m$ R9 b7 ~. ~

  716. - r9 {; F" v2 K
  717. ; The root of the PHP pages, used only if nonempty.
    . @. }4 b' B) N+ m7 T
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    . ^. Z4 g/ L3 @; d1 \
  719. ; if you are running php as a CGI under any web server (other than IIS)
    * c" l" |& n) u3 ^0 y# X
  720. ; see documentation for security issues.  The alternate is to use the
    & V/ `' X9 U7 C. A
  721. ; cgi.force_redirect configuration below
    ( k) D! {+ Q/ O& x
  722. ; http://php.net/doc-root2 x& [& L1 `+ v; G; v9 X3 D, {" b
  723. doc_root =1 r4 N1 \. o1 X: h! ^4 N- e
  724. ' G+ M9 v! N  _& r+ b/ p9 Y
  725. ; The directory under which PHP opens the script using /~username used only$ n, @) e& A4 }; w4 B9 O" f
  726. ; if nonempty.
    ! i3 |9 [; M9 x( @
  727. ; http://php.net/user-dir- G; `; g8 w+ r- O) @/ {
  728. user_dir =) M& }3 U9 I( F$ ]0 {1 Y3 l+ B$ l
  729.   G8 {1 ?+ e( G! w, ]
  730. ; Directory in which the loadable extensions (modules) reside.
    % [1 f( |4 k; p  i9 F6 P: y
  731. ; http://php.net/extension-dir
    5 v9 D# S0 K: y! t8 e: A# e* T/ J
  732. ; extension_dir = "./"" ^& n# L/ v! x( _0 T
  733. ; On windows:
    ! Z' c. T* y6 x/ `) H$ H8 N
  734. ; extension_dir = "ext"7 g1 ]6 o% k1 y

  735. # H  T* E4 R" r3 v
  736. ; Directory where the temporary files should be placed.
    ) c: A9 M+ J. I: M# {9 N
  737. ; Defaults to the system default (see sys_get_temp_dir)
    ; J% M" @; A3 |  k
  738. ; sys_temp_dir = "/tmp"
    6 a  d7 Y. }6 R% J. ]
  739. , `. ^/ E0 d9 \4 g! l3 _
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work% v! z' ^) k7 h6 N/ M  e
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically2 [/ x6 u& a$ ~
  742. ; disabled on them.8 v1 O) x: x) P- ?& ]) R
  743. ; http://php.net/enable-dl; S; k0 G. u$ ~5 [/ b2 z
  744. enable_dl = Off
    7 R9 `7 b4 a9 h# K- E$ {9 t
  745. 1 S* Z$ D! q5 ?
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ' M2 p! z+ W+ E; U$ d
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can+ U4 c5 F  k* W8 E" T6 T
  748. ; turn it off here AT YOUR OWN RISK( @3 Z7 a7 y6 j$ g$ r2 n
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    7 Y, h+ X5 G$ H; y
  750. ; http://php.net/cgi.force-redirect! L8 J4 ~0 X; [' u: f, _
  751. ;cgi.force_redirect = 1& @3 T7 y3 F6 D3 Z& d+ g+ h% N
  752. ; S, r$ g  ^) M
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    * _0 f, Q  F0 b" [4 h( o. c; W
  754. ; every request. PHP's default behavior is to disable this feature.8 Z" p$ M, v7 e& ^& _) V
  755. ;cgi.nph = 11 ^- j+ o' A6 _5 U& g6 a

  756. * Q% \  c, L4 z
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    7 |8 @1 q/ u+ S
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    4 h6 b& T5 H" J0 K9 ]% q% X: A
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    * Q' {1 R7 s  `) z: H$ X
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    9 ?1 O" K) X# B$ u$ _0 G
  761. ; http://php.net/cgi.redirect-status-env
    ( S0 Z7 R& x0 W. O$ |' z& b
  762. ;cgi.redirect_status_env =, b: ^8 i$ l( ^8 i" p3 q

  763. & h% l  L$ F' K! E
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's# ~9 \: H0 Q% p
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    1 S1 a) y; T. o, n
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting$ F0 x# M- O, {+ h
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ' Y. d# c' A9 u- g2 v
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts0 m. {5 `' o! W
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    8 _8 T  G: J5 u! E6 {
  770. ; http://php.net/cgi.fix-pathinfo
    ' V1 Y8 q# F" W
  771. cgi.fix_pathinfo=1) C; ^+ F: A) D& _* E4 d' g
  772. ; `+ `- K, X4 w$ ?
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside- s+ S  L1 O2 O& |7 `8 n
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    0 @" a( z& ~$ Q" c# Z! c
  775. ; http://php.net/cgi.dicard-path  z) s) W. d9 D. E! L# C% A$ C
  776. ;cgi.discard_path=1( Z5 Q- B* f. ^; \- U
  777. 8 O: u1 Z3 X+ v+ h7 j) B
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    # X$ e# [0 e7 T% N
  779. ; security tokens of the calling client.  This allows IIS to define the8 x7 f, a4 s0 |
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    % `1 b- D7 d7 Y( `+ q" x
  781. ; does not currently support this feature (03/17/2002)
    - [' p( ~7 s" V% b4 ~' L! C
  782. ; Set to 1 if running under IIS.  Default is zero.: |7 v4 _( b6 O* |& T) x
  783. ; http://php.net/fastcgi.impersonate8 x/ x- m) f% ?" D
  784. ;fastcgi.impersonate = 1
    . j/ [* X! @$ `! D& c

  785. 8 U: h4 p, K: Y- d! |( _# o
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable6 E8 E/ h& g. \, ?" f9 G
  787. ; this feature.3 F$ t* I2 Y! o! u9 |
  788. ;fastcgi.logging = 08 W; M, f2 n- s4 o8 S7 D

  789. ' H; L% z% B% n9 N7 H+ }
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to" X( H2 A; O6 S0 s0 P' I
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that! C9 j5 ^% v9 e4 {: D+ I! v4 U5 M
  792. ; is supported by Apache. When this option is set to 1, PHP will send$ [3 ?0 o  Q# x  H. }
  793. ; RFC2616 compliant header." D) C1 i- h( R# w& d( Y5 F7 Z
  794. ; Default is zero.
    : M9 s! z" Z6 x) ^
  795. ; http://php.net/cgi.rfc2616-headers
    9 ]. o, z8 D0 v/ k
  796. ;cgi.rfc2616_headers = 02 l5 {& N, P0 l* _. e1 w

  797.   N: x. Z9 K3 c/ C3 ^9 w
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!% i4 P0 g: m2 W3 q; r" |8 g* G
  799. ; (shebang) at the top of the running script. This line might be needed if the
    , b+ P% `4 S8 u
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    3 W! q1 i$ s0 b/ T% r7 ~
  801. ; mode skips this line and ignores its content if this directive is turned on.+ w6 V9 B( }' f- `2 F/ y
  802. ; http://php.net/cgi.check-shebang-line
    " x$ c0 G& _/ y$ M: c
  803. ;cgi.check_shebang_line=16 ?, [, S. ?, X$ s/ g
  804. ( S# N* v( W3 m7 j. R2 A& q
  805. ;;;;;;;;;;;;;;;;
    * H! F: g3 W7 F% h- S" n* ?' b* O
  806. ; File Uploads ;
    8 o2 n  o* V& f' y; _9 w/ t  \1 B4 p
  807. ;;;;;;;;;;;;;;;;, X% o  Q/ L+ l) I1 G6 L
  808. # ]& G9 u$ ^  X+ y% Q
  809. ; Whether to allow HTTP file uploads.
    & {) G" M. }+ @& z
  810. ; http://php.net/file-uploads7 `, G7 {) l% d9 S2 l0 \+ z
  811. file_uploads = On; A- p8 L' {/ F* ~* b1 U+ r

  812. ) ^+ C4 K3 p% @( @( J
  813. ; Temporary directory for HTTP uploaded files (will use system default if not5 _  y% I) F- u
  814. ; specified).; a$ |; t0 g3 I: k' \" X/ N
  815. ; http://php.net/upload-tmp-dir
    - k. h$ \( s4 w' W; L
  816. ;upload_tmp_dir =
    + w4 ]  m$ b# B6 L
  817. * e0 G/ F2 o3 C) o
  818. ; Maximum allowed size for uploaded files.5 D; [! E- I& w& q2 Z& q
  819. ; http://php.net/upload-max-filesize+ ^) T% l% `) X) o3 M& M) R/ b( `% [
  820. upload_max_filesize = 50M$ o- n" M# D1 |# [/ D9 I# }

  821. 7 e6 a: A) I! J' e# X" F( \* L" K
  822. ; Maximum number of files that can be uploaded via a single request
    . ^% ]$ ~6 ]( a0 R1 D) U9 L8 h3 D8 e
  823. max_file_uploads = 20
    . l3 s. ^8 B, U, ]8 f. J$ a6 {! O
  824. 7 \" z6 P. k7 w/ d
  825. ;;;;;;;;;;;;;;;;;;# i$ w) k2 k3 @1 e1 g# X9 s
  826. ; Fopen wrappers ;) d' {* w7 O: T
  827. ;;;;;;;;;;;;;;;;;;
    7 J5 a1 B7 Z& V# p+ P
  828. ! s7 {5 Y" A/ o0 ?: B/ f
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    / k4 ]$ Y: n$ e; b: s. f$ q% p
  830. ; http://php.net/allow-url-fopen
    6 x6 x1 P9 w& _! J
  831. allow_url_fopen = On; j4 j4 J% b5 l+ e

  832. ! |: N. K/ B- R/ S5 p9 P
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.: Z# M) }& C$ M, V, b- E$ D
  834. ; http://php.net/allow-url-include
    $ d/ N) K$ Y" c* j4 G+ a
  835. allow_url_include = Off+ g5 ^" b$ ^7 J6 v3 ?7 F* w

  836. 2 y/ c$ d! S+ \' J: U0 y
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    - ^$ W9 j* x9 `7 {& Z
  838. ; for this is empty.( w- {# }2 f& e1 e
  839. ; http://php.net/from
    5 a+ F& j4 p5 {, a
  840. ;from="john@doe.com"+ q. J& N4 u0 n
  841. 4 X6 Y. l" l( q; B" p
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    & `1 v3 e0 n- Z) G
  843. ; http://php.net/user-agent7 i0 G8 p1 J- I5 V8 N3 k
  844. ;user_agent="PHP"
    0 K' \0 U; k2 c% p- P! C+ F: n
  845. ! H9 N- e1 e* R$ P1 \1 v
  846. ; Default timeout for socket based streams (seconds)
    2 i$ |9 N; |% A1 x1 n* Y
  847. ; http://php.net/default-socket-timeout/ W3 o8 u' q/ h6 |3 Z
  848. default_socket_timeout = 60- g; F* S$ [" E4 {

  849. : ^9 B3 z; }3 T# `; S' Y
  850. ; If your scripts have to deal with files from Macintosh systems,
    2 ^$ v& q! p- d% _; A7 U
  851. ; or you are running on a Mac and need to deal with files from7 J' `- U/ s* w
  852. ; unix or win32 systems, setting this flag will cause PHP to
    # R8 f7 U1 s9 u; ]1 m
  853. ; automatically detect the EOL character in those files so that. X4 S5 _: o2 w- g6 Z
  854. ; fgets() and file() will work regardless of the source of the file.
    / H& T0 y$ \, U* ?- ]" r7 H! \
  855. ; http://php.net/auto-detect-line-endings
    4 H# b3 i' |3 ~* e, J
  856. ;auto_detect_line_endings = Off% W) v' M' X6 X
  857.   S. r, V5 {2 p4 ?+ A
  858. ;;;;;;;;;;;;;;;;;;;;;;
    ! k$ _  Y% [5 r) E! S% u( z; I9 S7 z
  859. ; Dynamic Extensions ;
    * X- K& c3 @( U% V" x
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ' j& o2 r. g! R* P8 ?& O2 g
  861. ( S( k4 Y# f& m/ s+ J4 r
  862. ; If you wish to have an extension loaded automatically, use the following3 Z  l1 k- Q$ n3 W4 P, Q3 o
  863. ; syntax:
    * N# R% D9 H2 h9 }) u9 g
  864. ;
    & O, i/ k! |, d1 Q; e
  865. ;   extension=modulename.extension7 C$ L: `6 }2 C" t+ |
  866. ;
    $ T% _! T; R0 C
  867. ; For example, on Windows:# n1 H9 ~- G( A. u) r
  868. ;
    # e* u: W, g7 v; \
  869. ;   extension=msql.dll
    ( D( d/ |! G. v( \2 ^% o5 N
  870. ;
    ! |- D2 |; u4 {9 _
  871. ; ... or under UNIX:
    " S# }- r; z; s: X6 ~
  872. ;
    # l) J7 n, D8 Q& |* v
  873. ;   extension=msql.so
    ; o1 F% K) m5 r! e
  874. ;0 @2 }, A9 ~( A1 a' t
  875. ; ... or with a path:
      C" n3 r8 D; S/ s7 ~5 ?
  876. ;
    5 D8 p$ Q! _4 I% Y
  877. ;   extension=/path/to/extension/msql.so0 d1 S5 a" `7 v; Q' D6 v
  878. ;
    ; K6 H1 _& z) w" t6 T' H& d6 i' r
  879. ; If you only provide the name of the extension, PHP will look for it in its2 E0 o* {# R4 }& V
  880. ; default extension directory.* J9 G/ A: p2 c. K
  881. ;
    6 \% `0 b5 o4 M( v' m6 F# s
  882. ; Windows Extensions
    ; O8 v( z  y# N$ `
  883. ; Note that ODBC support is built in, so no dll is needed for it.& {7 L: u; s/ n! J# |, t
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    3 x1 P. |+ I3 R2 Y% f3 \& X, G
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).2 j( q7 J0 f) W
  886. ; Be sure to appropriately set the extension_dir directive.) p! O* M& x4 C* g5 u) T) @
  887. ;3 C* r5 Q( X: S3 N- y9 L# t
  888. ;extension=php_bz2.dll
    7 b7 |  g5 \, k8 }) w2 M
  889. ;extension=php_curl.dll  u6 N' ?* w/ Z# O& W$ K9 a
  890. ;extension=php_fileinfo.dll
    / V+ R. \- }6 @* L
  891. ;extension=php_gd2.dll+ |/ C- d* }/ ~+ O8 {6 M9 S
  892. ;extension=php_gettext.dll
    ; p' e- r  V/ j$ u
  893. ;extension=php_gmp.dll, ]6 F8 Q9 S8 |2 n% |
  894. ;extension=php_intl.dll
    + G" \6 i" k3 A! f; E- {
  895. ;extension=php_imap.dll3 w3 r' j& @3 b9 M9 `
  896. ;extension=php_interbase.dll2 o2 x, l& h; n' M
  897. ;extension=php_ldap.dll; I/ I! J1 {3 _3 v
  898. ;extension=php_mbstring.dll
    / y7 D7 E% \" v% T7 A
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
      @: p0 r( d0 V) S- k
  900. ;extension=php_mysql.dll
    8 u! a$ x6 x! ]- h: ^/ j) D
  901. ;extension=php_mysqli.dll
    , c$ L# ^! y! ]3 g
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client- h' N1 D0 ?: R2 N' S
  903. ;extension=php_openssl.dll' }. h2 E7 H' ?/ X1 T  i' ^' [9 p
  904. ;extension=php_pdo_firebird.dll
    8 ?1 j) `" Z1 x
  905. ;extension=php_pdo_mysql.dll
    3 Z0 |; H# C  \! o7 s3 {. u; u
  906. ;extension=php_pdo_oci.dll
    , Q* j- [* T3 b9 N: i, G0 z
  907. ;extension=php_pdo_odbc.dll" W' b% {6 M& x) a; e
  908. ;extension=php_pdo_pgsql.dll9 }. c! n5 o2 N* e# a
  909. ;extension=php_pdo_sqlite.dll; W7 N' W. W! p! W1 f- j
  910. ;extension=php_pgsql.dll
    % }  b- m7 g9 y. j4 V+ [
  911. ;extension=php_shmop.dll1 |( @4 }* G& e( ]7 c/ l6 A" n; U
  912. # u( h& k9 [; s9 \
  913. ; The MIBS data available in the PHP distribution must be installed. 8 k3 i+ l1 b: f! N
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    4 g& D3 n0 x: ?; F1 G8 ?7 _8 l
  915. ;extension=php_snmp.dll# x2 R5 k  y5 O& @/ r" [+ T
  916. " W. H9 X# C+ R
  917. ;extension=php_soap.dll
    - @* O5 p2 k" k( p, r, S; O
  918. ;extension=php_sockets.dll8 R- T% ]6 y% D: z4 n* w( T" k
  919. ;extension=php_sqlite3.dll
      b2 h1 J$ U! N" x* _
  920. ;extension=php_sybase_ct.dll
    4 F7 G9 S/ e. H( ~
  921. ;extension=php_tidy.dll
    7 x' s% Y8 K6 L3 p, j& C
  922. ;extension=php_xmlrpc.dll
    8 G, I' A( ~9 B  ^6 f& A
  923. ;extension=php_xsl.dll
    & r3 i1 ]1 K- D: I% C

  924. + w( B  H/ f, `0 D" v4 Y
  925. ;;;;;;;;;;;;;;;;;;;3 M1 v0 n; _; f6 i9 Q1 X
  926. ; Module Settings ;
    4 X& L8 ?+ C( ]2 V1 ]
  927. ;;;;;;;;;;;;;;;;;;;
    / }1 c  d( g2 a5 Z
  928. ) U7 F" D+ b9 A4 ]* q, d6 P
  929. [CLI Server]5 b  ?8 X8 ~: y1 ~
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
      i; t0 u! p- `1 R
  931. cli_server.color = On$ V* \7 d# t+ u* M) w% `
  932. : ^, A$ _$ o# B0 i/ f9 A5 @
  933. [Date]; I5 s$ M+ K7 M/ F' k; ~( J3 E
  934. ; Defines the default timezone used by the date functions
    2 F  O6 f: n# L
  935. ; http://php.net/date.timezone: a1 o% |9 J+ K5 w
  936. date.timezone = PRC
    $ V- b+ D3 B& f1 ^7 c- m  K" ]
  937. " W3 i9 T$ D* v  H
  938. ; http://php.net/date.default-latitude
    1 i, A% n; S+ V: g2 A# x/ N
  939. ;date.default_latitude = 31.76672 W4 q8 s$ V. P

  940. ( ~) a  [6 k1 n
  941. ; http://php.net/date.default-longitude1 I3 b# G) S& o- o" q
  942. ;date.default_longitude = 35.2333
    % v( j; E4 M1 E' J$ r: n" |
  943. ' t$ n# o* S4 Q7 Y: l/ i
  944. ; http://php.net/date.sunrise-zenith2 `3 r, @1 Y3 C  ^( R
  945. ;date.sunrise_zenith = 90.583333
    % w- k" c/ X' j/ i( V# v4 P
  946. 2 z8 |0 a/ h2 n& u, [+ p
  947. ; http://php.net/date.sunset-zenith
    % v! o( r5 |* N* f- s$ U
  948. ;date.sunset_zenith = 90.583333
    $ E+ o8 Q2 s  H, }  g
  949. " ?# I. Z" I, s# ^; q
  950. [filter]5 y7 L+ Z- c! _0 X4 n+ h
  951. ; http://php.net/filter.default4 Z2 x; T5 }5 ?& s9 O! \
  952. ;filter.default = unsafe_raw5 v4 W- z4 y/ i, U6 b4 ^

  953. + [! D- K% Z. [/ n/ T9 K/ x
  954. ; http://php.net/filter.default-flags4 _( u# w! G6 u3 l& ^
  955. ;filter.default_flags =# p  n! T2 t0 G' i% \! n  a0 z
  956. 0 T  D3 a5 y% d* n; C
  957. [iconv]
    - u# S- C3 G5 i
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.- g; v. `% f5 Q9 @2 q# X" X/ M
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    * s% R. n3 p6 J" n( V) a
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ( \& V. H/ P1 i0 m8 N7 m# {+ V
  961. ;iconv.input_encoding =
    7 n& |$ b( m5 B
  962. ( A4 A# D$ t9 U4 k
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    % U! y8 X7 T& f8 z: T" D
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    : ^: s3 L* o) K, ]
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    . g0 j* G0 X) D, v( Q$ ~
  966. ;iconv.internal_encoding =
    $ M. P* r/ S, W, Q- M

  967. / n1 N! F9 Z" L" C' R
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.* m9 }0 a+ d# T8 T
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    / ^. {" L9 `: d! O+ a
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    % H. ]8 }0 d5 Q' ]! C$ S! S6 l
  971. ; To use an output encoding conversion, iconv's output handler must be set
    9 a) u9 |( |" i) t, c- E
  972. ; otherwise output encoding conversion cannot be performed.
    0 Q& J" k7 ?; K, V' y2 ~
  973. ;iconv.output_encoding =
    # O3 ^9 u2 u3 @* ?) p$ w5 @( ]7 _: C

  974. + p/ j( X  ~' @
  975. [intl]/ h; }4 z/ t  |- C, w4 n
  976. ;intl.default_locale =$ t% s5 B' Z6 R1 v& u8 M* E( f0 Z- e
  977. ; This directive allows you to produce PHP errors when some error
    1 d4 h/ z% f4 z  q
  978. ; happens within intl functions. The value is the level of the error produced.
    ( o8 \, S" u5 I  O  ?
  979. ; Default is 0, which does not produce any errors.
    ' o. o) s5 w1 T# z+ a+ X8 A
  980. ;intl.error_level = E_WARNING
    1 U+ q; Y7 V, x- ]/ M+ d
  981. ;intl.use_exceptions = 06 W# [: E" @1 O5 q$ {
  982. . ^+ p$ ~9 ~$ d( K# G, [
  983. [sqlite3]
      M' N  u; O+ y  l. u
  984. ;sqlite3.extension_dir =
    $ g+ P% m1 e+ m

  985. : x/ r! \# D# N0 t. t; M% r+ w
  986. [Pcre]
      @1 x6 B  x! B* T( U2 j
  987. ;PCRE library backtracking limit.
    7 [6 h' q0 ~! j
  988. ; http://php.net/pcre.backtrack-limit
    $ z( E6 K/ y$ q* Q& E& `
  989. ;pcre.backtrack_limit=100000$ _! T6 L  s7 p" s$ O
  990. 4 l9 ~* b7 \) W6 V$ R4 N8 O
  991. ;PCRE library recursion limit.( q( u' ]* f& l! h% E1 E) X
  992. ;Please note that if you set this value to a high number you may consume all! E% b; H7 f% A2 C. f
  993. ;the available process stack and eventually crash PHP (due to reaching the" ]1 @! D' X* p' T- a0 n. g
  994. ;stack size limit imposed by the Operating System).7 I( H. q1 B- P( |; S  J4 G# g! w! a1 T
  995. ; http://php.net/pcre.recursion-limit6 a9 {4 v9 O/ F& x1 L% K7 Y
  996. ;pcre.recursion_limit=100000
    : W6 G$ c" B( k& C
  997. 7 e/ u9 X" g$ l* c% d( X
  998. [Pdo]3 @/ B" Q+ R4 j4 d- R- ]/ C
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"" B( R7 w8 p/ l4 ]! q+ L) G
  1000. ; http://php.net/pdo-odbc.connection-pooling! {' T7 C" }0 L6 R% N' ^- Q' Q
  1001. ;pdo_odbc.connection_pooling=strict# C  [0 y, v% m$ ~' G

  1002. ) a2 C: E0 K! E3 Y! O$ d
  1003. ;pdo_odbc.db2_instance_name
    ) O7 Z  J' C: f0 Z
  1004. 0 x, k3 h2 W4 ^4 d6 }
  1005. [Pdo_mysql]* A  x* N& H! l3 \9 J  p' v/ @
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache/ h$ U+ z! C5 ~3 f4 z9 o4 C/ T
  1007. ; http://php.net/pdo_mysql.cache_size
    9 k/ x. B' v2 O
  1008. pdo_mysql.cache_size = 20000 V$ l8 C9 n) s
  1009. 3 g7 v( C) R! A2 p- q
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in. M' @9 ?# m( r  S/ \, Z. ?4 v$ ]
  1011. ; MySQL defaults.9 f7 e" C5 I5 J  P( }$ R
  1012. ; http://php.net/pdo_mysql.default-socket: l: S) z, B2 A) k0 M1 n* U. S
  1013. pdo_mysql.default_socket=
    ' A9 q% V  F6 e! N; ?* L2 q4 z" b6 t; [
  1014. ; A, o3 O, ~* f; v$ V  n2 x
  1015. [Phar]
    - r4 b6 ~+ u# u' X, J2 u
  1016. ; http://php.net/phar.readonly" ?, C. `- ]* T5 T+ U
  1017. ;phar.readonly = On
    : ]3 S, z. {8 U4 n$ o

  1018. : N% q6 r+ ^2 S/ i
  1019. ; http://php.net/phar.require-hash
    5 r" M1 Y* ]; _' Y
  1020. ;phar.require_hash = On
    + H6 G$ r& F/ `- |7 c. \

  1021. 5 F: f2 [  e  R: j/ X- M$ M9 Q, e
  1022. ;phar.cache_list =0 S8 |( m' r  [

  1023. + U9 c( P0 ]$ U6 a  l5 f1 X- p
  1024. [mail function]7 Q) \9 P& [  O* I
  1025. ; For Win32 only.( w* {( Q5 y7 W9 ~' v/ {; I
  1026. ; http://php.net/smtp
    3 m9 F8 h4 a* B9 x0 |* F3 p
  1027. SMTP = localhost1 P  n$ t- ]  p) y' z: E& z$ ~8 @- G
  1028. ; http://php.net/smtp-port# B, J/ h  ~- p6 |
  1029. smtp_port = 25
    8 {* J0 T" \4 c  ^" S6 Q

  1030. ! g, g2 n; i2 \7 P  f4 z
  1031. ; For Win32 only.
    , m0 l" V/ y6 h6 M
  1032. ; http://php.net/sendmail-from. p7 m2 t" f/ ^0 E, z5 p
  1033. ;sendmail_from = me@example.com- p. q, F' O, w. D6 K& x) s
  1034. $ N8 m3 s- a7 V
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").5 u: Q: |! C; F7 h/ ~2 H2 Q
  1036. ; http://php.net/sendmail-path4 `: {. i/ w! l; u) {2 q
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    ) n# c* ~& A+ O# A

  1038. 1 N: ^: T7 C8 p4 n' q6 _
  1039. ; Force the addition of the specified parameters to be passed as extra parameters- I) D9 T1 \2 Q. Y3 Y4 s6 E6 w, P
  1040. ; to the sendmail binary. These parameters will always replace the value of
    / U- d6 n3 J( K4 W
  1041. ; the 5th parameter to mail().9 A% H- C; T4 g* a& O
  1042. ;mail.force_extra_parameters =% U4 U# \3 ~' W/ k6 L

  1043. 7 p* J* ~9 q/ O, |
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    6 T# z, ]* D# d# X! n6 z
  1045. mail.add_x_header = On
    7 Z) C( z9 y" f" W6 ]
  1046. 1 o+ a8 M$ z5 Y
  1047. ; The path to a log file that will log all mail() calls. Log entries include0 N2 u: u: f/ t- X' n
  1048. ; the full path of the script, line number, To address and headers.$ B: o" q% N5 G
  1049. ;mail.log =
    1 K" F$ Q  z/ O
  1050. ; Log mail to syslog (Event Log on Windows).
    - g, y' b0 s3 L! q9 y) n) M& F
  1051. ;mail.log = syslog
    $ F2 |6 F( \% k# }$ Q  u
  1052. ( k2 I+ g9 I  h1 j1 Y/ D
  1053. [SQL]5 D* G3 Q5 }: r, _: Q7 _; t6 f4 i# F
  1054. ; http://php.net/sql.safe-mode
    0 H* ?- E0 g9 @$ j6 X
  1055. sql.safe_mode = Off
    3 k( K7 o! `) Z( `& a# ^( @7 X

  1056. 7 J& j1 T7 K4 y* i: }
  1057. [ODBC]
    8 o# x! b: w, e! c+ v  o
  1058. ; http://php.net/odbc.default-db1 u# }) L, b+ }' Q- L& |! |
  1059. ;odbc.default_db    =  Not yet implemented
    8 t9 V0 q4 u: G
  1060. 1 F! [; [/ B9 t2 Z
  1061. ; http://php.net/odbc.default-user! D: d% L* D4 e7 }& J5 I) Z1 k
  1062. ;odbc.default_user  =  Not yet implemented+ @8 U3 X% b$ j/ D
  1063. / I( X7 e- i) |9 G3 _
  1064. ; http://php.net/odbc.default-pw
    + N: v4 O& N' j; h: M  q. E
  1065. ;odbc.default_pw    =  Not yet implemented
    & X; H" I5 a; b1 v/ B5 P

  1066. 0 q7 b5 e1 r  d' z: O& `
  1067. ; Controls the ODBC cursor model.4 b8 D+ l2 K* D. l- A) c" l6 ]
  1068. ; Default: SQL_CURSOR_STATIC (default).
    6 ~7 p0 o$ c2 |  O9 Q( v  _8 o& {
  1069. ;odbc.default_cursortype% s" N; {' O3 [
  1070. 3 Y% @* c, V! w5 Z1 P9 N
  1071. ; Allow or prevent persistent links.% O  Q8 W3 A, u, }7 j
  1072. ; http://php.net/odbc.allow-persistent# {+ H8 s, M5 i0 V, G3 w& t
  1073. odbc.allow_persistent = On
    - C+ G9 v- t1 a" \  v" K
  1074. ' a- [. h* T- s' f2 d3 q3 ?
  1075. ; Check that a connection is still valid before reuse.3 {% f% g0 U) e# A; ?) w$ I( M
  1076. ; http://php.net/odbc.check-persistent
    . X, A2 @" Q* T& T
  1077. odbc.check_persistent = On
    ' @# W7 k; \2 i! r/ }# Q# f
  1078. & p. [# Y4 V2 z. |$ x8 O, o: Z( Z: F
  1079. ; Maximum number of persistent links.  -1 means no limit.# L: c9 w# f! o5 n% Z# }+ o! r
  1080. ; http://php.net/odbc.max-persistent
    * r3 x+ g' e9 v: G: S  D
  1081. odbc.max_persistent = -1
    2 `5 j; q# t+ h5 W
  1082. / v- E4 }" X, R; J1 C$ W* e( I0 D
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 d+ S2 O, {2 o1 L1 s4 |
  1084. ; http://php.net/odbc.max-links
    ( l9 D0 I. D+ Q
  1085. odbc.max_links = -13 a: I' T, u8 Z# @+ p8 k' O" Q
  1086. - z: U' G3 l( I( x+ g
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    7 m3 E; G& k$ U2 Z( W. ~
  1088. ; passthru.) B7 E) N, q3 n& M( b
  1089. ; http://php.net/odbc.defaultlrl
    " T) h  X" q7 O" s( z' ?" z  k
  1090. odbc.defaultlrl = 4096; ?, k% a' o/ F2 e
  1091. " v  v1 H% b5 h; s
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.& a# }% t+ q" w9 L& P
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation4 ^, F+ _9 [+ ~1 k
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ; O  w1 y! a2 u! A% `; S0 n
  1095. ; http://php.net/odbc.defaultbinmode
    , G* m% {# G& l4 R, N# B, R4 \5 r
  1096. odbc.defaultbinmode = 1  {6 N7 i/ Q% F% H, i' K

  1097. / B. K& R5 b  R
  1098. ;birdstep.max_links = -1
    4 ~" z9 Q0 A3 r- j1 t

  1099. ! ]- t9 R4 u+ y! R7 v% c) y* G) N
  1100. [Interbase]
    6 B/ W! `7 y" y( j
  1101. ; Allow or prevent persistent links.. i7 i4 u9 a0 ]; O" `% B: K
  1102. ibase.allow_persistent = 1
    6 E" t3 r1 x  a" U5 r+ O9 `

  1103. ' s# J' P, K% i) g- }8 b
  1104. ; Maximum number of persistent links.  -1 means no limit.
    7 n9 z5 j1 k! K5 a2 I$ a1 F$ a
  1105. ibase.max_persistent = -1
    % o. C. L, C6 y; G7 A$ j: e

  1106. ! {4 w$ n& a( g+ g7 w/ q: {: {" r
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    + G8 M' c, i& W, x
  1108. ibase.max_links = -16 L2 w% v9 t' ?4 ]* [- t0 p' A! j

  1109. + f- R9 o: a. Q
  1110. ; Default database name for ibase_connect()., z  H# B2 h/ s3 L: i1 f+ G
  1111. ;ibase.default_db =
    * h  L; D% l( D+ S( m; Q) v
  1112. * v( q4 Q- O* e* d$ V
  1113. ; Default username for ibase_connect().1 q, L7 t7 d8 @( m0 V6 K: K4 Q
  1114. ;ibase.default_user =
    & m$ D  [; c/ g5 W$ x+ Q# J  G; t

  1115. % `) f) p2 Z. L7 e2 B  L0 K* @
  1116. ; Default password for ibase_connect().
    9 X9 T7 e$ F+ T- \. b7 A7 u$ G
  1117. ;ibase.default_password =
    # w0 g  v! `) M6 r( r0 ^
  1118. 0 E9 d' ]) h5 j2 d' R
  1119. ; Default charset for ibase_connect().
    $ B3 S6 F$ n+ n; e+ ^0 R9 r- s
  1120. ;ibase.default_charset =. g! G9 ?$ w* P7 \

  1121. % ?6 L7 v# g/ E( j) D0 j
  1122. ; Default timestamp format.0 K9 z( F# C6 T: Q' L; o$ f' \
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    " I7 o4 g6 @% ~/ P

  1124.   \/ ]: |9 s; z  J
  1125. ; Default date format.2 |; z0 y% l0 `
  1126. ibase.dateformat = "%Y-%m-%d"% Q6 O0 N0 G9 u, [
  1127. + T! Y& N4 t5 }$ L( L" `( ^
  1128. ; Default time format.; n( j) K8 u( v1 @& d
  1129. ibase.timeformat = "%H:%M:%S"
    ' @) s/ P  X+ U0 |& `7 R9 |' M3 ^5 t
  1130. - A* o! m$ O" {1 c; s+ ], o# t5 @
  1131. [MySQL]
    & s4 {1 l6 [" K& k) \
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements# O  f! S" N% t2 e4 a+ H) a- H; L
  1133. ; http://php.net/mysql.allow_local_infile
    * t' y0 ?" n+ q
  1134. mysql.allow_local_infile = On, @' ~# L. V3 B9 L9 _+ l

  1135. + d4 Y% O" o0 c* n
  1136. ; Allow or prevent persistent links.0 l, O1 @9 V: y0 A5 n
  1137. ; http://php.net/mysql.allow-persistent
    ) U5 ?% m* T0 R/ a4 v7 i  e
  1138. mysql.allow_persistent = On0 |& w" B3 X  A9 J* {

  1139. + Z: }" e5 s7 M' `7 D/ M* t
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache4 G2 D: _* X/ n- s2 N
  1141. ; http://php.net/mysql.cache_size
    / X3 w9 G) ?! ]1 i
  1142. mysql.cache_size = 2000
    % _8 a# t& |: I9 \

  1143. , Q- B6 b6 X) Z6 |! t; U
  1144. ; Maximum number of persistent links.  -1 means no limit.+ s- c& E; g; r* }
  1145. ; http://php.net/mysql.max-persistent
    8 V& l- S) Z' V/ Y/ ^6 G  S8 |
  1146. mysql.max_persistent = -1
    4 Q. B" e. l! Q! M

  1147. 6 K( m! J' Z# ~0 p- z' R# L1 Z
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 {+ p" P, e8 r% r
  1149. ; http://php.net/mysql.max-links
    7 a8 W1 j5 i% a8 x. O
  1150. mysql.max_links = -1
      \, o- S9 r. @! J% R1 w+ B# Y

  1151. - o7 }7 S4 a$ Q- |- J
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use4 q( Y8 L' W4 `0 X; ~. O
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    4 K9 h7 F+ q& T4 d! Q
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look* T5 K, e, s/ B" H# l! `  c
  1155. ; at MYSQL_PORT.' a$ d! ^8 Q$ v# M, Y
  1156. ; http://php.net/mysql.default-port+ U9 i) Z# g3 j
  1157. mysql.default_port =
    " q, I0 l# Q7 R# b

  1158. : h  o1 a# m3 P. M
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    5 \7 ]# q# k) H4 s- E) g4 ]
  1160. ; MySQL defaults.
    4 F& A' ?/ m# @$ h% E& F+ g5 D! j( ~
  1161. ; http://php.net/mysql.default-socket
    3 {0 X2 c* f8 |6 }$ ?* I5 [
  1162. mysql.default_socket =3 ^: y( I$ {4 V0 X4 [; F6 `

  1163. 6 X7 W! m9 |( T5 [, X1 ~( Q1 |
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).' l+ T( x4 q! _" H3 U$ Q- I
  1165. ; http://php.net/mysql.default-host5 Q# F6 |. T) r1 W% u% J4 n# t) O
  1166. mysql.default_host =
    $ j- s4 L' K8 E% y, k* |! ?
  1167. 7 I4 E( e7 s" U% G4 F
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ) X# u+ H8 L0 h+ y: @6 Q
  1169. ; http://php.net/mysql.default-user% Q; f0 {3 d+ O: z0 r4 Q8 C1 o
  1170. mysql.default_user =
    ) H& N$ ^+ ^5 k- k% {

  1171. - ~5 ?7 `0 j7 Y% u* Q
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    $ ~: o: M1 W$ n5 ~. L$ Y$ x
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.; d0 Z& W1 @% _8 a3 {9 v
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")3 v# N5 i1 ?0 H' q4 r
  1175. ; and reveal this password!  And of course, any users with read access to this4 [3 Y7 f$ q' c" o9 o
  1176. ; file will be able to reveal the password as well.3 Z. }2 R0 m' x0 ]: x  T# [
  1177. ; http://php.net/mysql.default-password
    + `, ]+ N/ \0 W8 r% V
  1178. mysql.default_password =
    & d5 B! u6 T8 T/ ^& m

  1179. 2 Z8 d6 h( ~  _, e
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    2 L8 p( R* G' [
  1181. ; http://php.net/mysql.connect-timeout" i/ P1 f) K& d- h( E9 N
  1182. mysql.connect_timeout = 60
    0 B! r. {/ f$ }  _* v- T8 b
  1183. 5 X8 k' V; s' O. r4 H  z) P; p
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    / W$ P) v1 n% R+ W' n' C4 w
  1185. ; SQL-Errors will be displayed.
    # y+ h, E: i2 Y" S1 v
  1186. ; http://php.net/mysql.trace-mode3 Y9 z% j; e9 A; E$ D3 s6 l
  1187. mysql.trace_mode = Off
    ; f# s6 ]8 @; \% f

  1188. 2 O' y5 @* P5 X/ R
  1189. [MySQLi]3 ?- t  j* e2 j
  1190. $ B/ b1 R# j4 |* @2 P& ^4 c/ Y
  1191. ; Maximum number of persistent links.  -1 means no limit.* w5 B+ ~6 f' v
  1192. ; http://php.net/mysqli.max-persistent! @- s' R1 z; N- |
  1193. mysqli.max_persistent = -17 I2 D6 ~- o, t6 F; i6 W  p
  1194. % B( X* X7 H  T% \3 _0 j
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements) `' B( q/ \# h% C
  1196. ; http://php.net/mysqli.allow_local_infile8 \; _" i. I; Y1 X1 p. P
  1197. ;mysqli.allow_local_infile = On0 a- O6 C, U) k7 E, v3 `8 V
  1198. 4 q% \2 }' t- A8 w- N) a% C
  1199. ; Allow or prevent persistent links.
    6 C( h" X" w2 L$ v+ ]
  1200. ; http://php.net/mysqli.allow-persistent
    ! c) j# g" \: T" z. K8 h2 Z& O
  1201. mysqli.allow_persistent = On
    1 f3 D$ o( I% Z$ n# b* s1 g+ e
  1202. . m' y" S2 z- J1 m1 s$ M
  1203. ; Maximum number of links.  -1 means no limit." R. t7 h7 N; _  d" A
  1204. ; http://php.net/mysqli.max-links
    ; c+ T8 W: ^5 j8 t: [- @/ H: D7 J& z
  1205. mysqli.max_links = -17 q0 d, Q, T( B/ c/ |& v
  1206. / x6 A# {* v6 e
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    % C1 V, R  K& e1 X% u
  1208. ; http://php.net/mysqli.cache_size
    7 f4 X( {9 P$ a& g" g. b
  1209. mysqli.cache_size = 2000
      k/ O+ \. g3 {2 d4 |1 e

  1210. 3 m' }$ H: g  @& y2 f, J
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    $ X. \+ z* {* o. v" a$ f9 ?
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    8 }2 X  r  O* E3 i
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look' b$ `/ u6 H, r  ~: ^
  1214. ; at MYSQL_PORT.
    : ~/ @& J3 y! v* T" _
  1215. ; http://php.net/mysqli.default-port: m' j. @, e" r9 g( b
  1216. mysqli.default_port = 3306: l: s' F% Y# B; }8 U0 N8 |

  1217. ( M5 D4 ~1 }8 f, {: @! P1 W  Y
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in5 t4 }% n+ x4 a6 [
  1219. ; MySQL defaults.
    * T0 J; e) o0 v: w6 N+ O
  1220. ; http://php.net/mysqli.default-socket7 I1 q+ h2 G5 `0 _/ m& D9 f/ ], J
  1221. mysqli.default_socket =6 I' A' r8 F9 X2 x7 d! d
  1222. 1 E8 j: p! e, d! i8 N& [
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    1 o% m! H) k9 k) P
  1224. ; http://php.net/mysqli.default-host
    ; \( K9 `/ S$ ]& n
  1225. mysqli.default_host =
    ! D6 S! s4 p1 c2 ~) H

  1226. ! Q. l$ Y3 I4 J
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ' h: T; v; n8 j: ]  h% P
  1228. ; http://php.net/mysqli.default-user
    ) g8 }6 c" h& \( R7 O* ?0 n
  1229. mysqli.default_user =
    * x) o% q9 ?9 p2 |5 j. @$ A2 O* Z- o
  1230. / T, T  q" S3 _8 S; z+ E3 x# \$ W) }3 n
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).0 U' u$ k' c' E3 i
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.: P+ b% p0 D/ d8 `0 b7 J2 K0 g' h
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    3 I' s. q! C0 r3 \- \; |
  1234. ; and reveal this password!  And of course, any users with read access to this+ I5 m( z# h4 N, [, c" u
  1235. ; file will be able to reveal the password as well.' ]. Q/ U% O' B$ }( r0 S0 q/ O1 L
  1236. ; http://php.net/mysqli.default-pw
    " n: `/ H, R" ]& _
  1237. mysqli.default_pw =
    - s& U# u5 d. V& f* S% z! j

  1238. . u, ]3 l9 }0 Z6 x( G; Z3 `
  1239. ; Allow or prevent reconnect
    4 i  p9 ~. n* h0 n8 _7 ?1 `
  1240. mysqli.reconnect = Off
    / y, z% H# x3 ]1 F

  1241. $ E  `+ t& f7 m1 b9 l
  1242. [mysqlnd]
    : r9 C- c7 k# T- O* V9 d  `
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    % k. {8 |( r6 ?+ ]$ y! e
  1244. ; used to tune and monitor MySQL operations./ D* m) S2 p4 H
  1245. ; http://php.net/mysqlnd.collect_statistics
    . X% N8 r: [9 _! G
  1246. mysqlnd.collect_statistics = On
    / ^7 |- y: ~) N) N' s

  1247. 2 r. Y4 I( ^- @* Y0 k
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be% C; q% g% e6 e- S3 G/ x
  1249. ; used to tune and monitor MySQL operations.$ Z' Q7 A; M5 O  s! u0 [
  1250. ; http://php.net/mysqlnd.collect_memory_statistics; h8 C, w; o& y; }% U. l& K  l
  1251. mysqlnd.collect_memory_statistics = Off3 r8 f' n8 E# B& l

  1252. % C4 W# j$ t7 Z: V6 O
  1253. ; Records communication from all extensions using mysqlnd to the specified log& n. o' g, h8 j( Q: k# R
  1254. ; file.9 ]3 J# h4 g) Q8 F& P3 S& ?
  1255. ; http://php.net/mysqlnd.debug, n8 b1 ?# i2 x( l
  1256. ;mysqlnd.debug =. f# a" S; ?, b: i3 V* W1 `" a1 r, H
  1257. + C" ]* T3 e* |) `/ L: g
  1258. ; Defines which queries will be logged.
    3 s3 n. b: V* q1 j& Z
  1259. ; http://php.net/mysqlnd.log_mask/ u6 e6 ?) h; K% i
  1260. ;mysqlnd.log_mask = 0/ F3 }0 h$ i* |
  1261. # n4 c$ p  c& n8 i
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets." A7 W& b$ ]  T
  1263. ; http://php.net/mysqlnd.mempool_default_size
    # U# y2 d) E; ^$ ]+ z! T# {
  1264. ;mysqlnd.mempool_default_size = 16000
    % D+ G+ a' o/ N- w8 [; N) W5 {
  1265.   m* Q: y+ Q6 O8 i; }2 {8 d" Y
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    5 P. q# P7 n$ T; o7 [
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size/ C. M7 R& d6 z: H* l5 h
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    ) Y4 @  u& b4 x- B. U  Y/ C- m

  1269. # }% t) D- \. L0 y. R/ R
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    5 R) K$ n' b3 N2 K+ r7 C2 [
  1271. ; bytes.. H, |# a, `- C. l( L
  1272. ; http://php.net/mysqlnd.net_read_buffer_size* a% F& f- N+ L
  1273. ;mysqlnd.net_read_buffer_size = 32768; Z2 n" |) C' n# h
  1274. " _7 a# N' k8 r7 A
  1275. ; Timeout for network requests in seconds.
    , Q, x7 W  f2 [5 C! d
  1276. ; http://php.net/mysqlnd.net_read_timeout) R) o/ p) z9 D: p* P8 I! v
  1277. ;mysqlnd.net_read_timeout = 31536000- R# O/ [. F* V' b
  1278. + _# [# L) [9 X! T2 S# l: j
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    , i) y( K) ^0 |( |& ~2 a8 R! a
  1280. ; key.
    4 ^1 a" {- I9 z. t' N2 l" k; X
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    - _* q0 Z! V/ l* H: }
  1282. ;mysqlnd.sha256_server_public_key =
    ! A) {+ u2 K9 M6 f$ z/ N! R, W

  1283. % T- v/ o6 r0 v8 X( b1 U/ L( X
  1284. [OCI8]2 ?8 f; @" Q2 T# j
  1285. & C* L  U) P6 H
  1286. ; Connection: Enables privileged connections using external! I* @; t: b) Q) c; v& k# x, s" R
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)0 _6 O+ j, [8 H1 x% F
  1288. ; http://php.net/oci8.privileged-connect
      \# ~, e9 \+ b" [
  1289. ;oci8.privileged_connect = Off
    ( d+ U3 [+ D, F/ W5 ^$ e  S

  1290. 2 ^9 R+ y. H! H& |$ I" `0 N
  1291. ; Connection: The maximum number of persistent OCI8 connections per4 I5 Y+ `/ }3 t4 E1 H
  1292. ; process. Using -1 means no limit.( |# P  |, o% J: G5 m  z! R& o2 K
  1293. ; http://php.net/oci8.max-persistent6 [: W, h/ Z2 X  i
  1294. ;oci8.max_persistent = -1
    " P. Y( u7 S7 ^$ A
  1295. ) f2 K9 p1 e5 @; L4 a  K7 ^8 X
  1296. ; Connection: The maximum number of seconds a process is allowed to
    0 u' a/ L  c- t7 O& F# p
  1297. ; maintain an idle persistent connection. Using -1 means idle3 {$ M& ^$ @+ U% S
  1298. ; persistent connections will be maintained forever.5 X6 X9 v% l% S9 G/ {! R
  1299. ; http://php.net/oci8.persistent-timeout
    % G. W: J' p% Z& V7 m/ [% Q5 Y1 N
  1300. ;oci8.persistent_timeout = -1
    ( J7 B& G' q7 E  }8 _7 a
  1301. 3 @, g* {$ Y$ |) U7 s
  1302. ; Connection: The number of seconds that must pass before issuing a
    . c& d3 @% o$ X( j# V* X, ?" r
  1303. ; ping during oci_pconnect() to check the connection validity. When$ I9 Z8 T6 w8 w3 C
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables4 A8 `, o; v, D
  1305. ; pings completely.9 I: m- M% x. U% e
  1306. ; http://php.net/oci8.ping-interval+ j0 M: }- J; e8 P; q- ^1 _' N; |: ^% N
  1307. ;oci8.ping_interval = 60
    - U# ]0 g& C; s! Z

  1308. 1 w* v/ n/ \, C) i; `1 [3 M& z
  1309. ; Connection: Set this to a user chosen connection class to be used
    . L" l8 h; r! S$ R, V# W" e
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    6 a4 d. V' X- _( t
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to( l0 c% |6 D0 m
  1312. ; the same string for all web servers running the same application,
    ; l$ ?# E% ?6 h  }& u* ?# _- ]
  1313. ; the database pool must be configured, and the connection string must
    ! [' i& V5 A1 V% \# B* h) t" l+ G
  1314. ; specify to use a pooled server.
    ; q# {5 ?% v) {. f" U& J$ N
  1315. ;oci8.connection_class =
    9 @, p, L' L  t2 T# @/ ^: F
  1316. ( Y. [* P1 N( {
  1317. ; High Availability: Using On lets PHP receive Fast Application
    4 I1 [; W1 V' C0 x5 S
  1318. ; Notification (FAN) events generated when a database node fails. The
    $ B) C3 m" g4 ]9 H2 S( Q; V
  1319. ; database must also be configured to post FAN events.6 W9 O1 E' q  S# i
  1320. ;oci8.events = Off! H: @+ q0 @1 Q; @! g
  1321. # I9 @$ {, ]8 h" h
  1322. ; Tuning: This option enables statement caching, and specifies how, {# s" n9 J$ [7 Z+ k) L# [
  1323. ; many statements to cache. Using 0 disables statement caching.. b1 V$ d8 O) x6 F* T- N( e
  1324. ; http://php.net/oci8.statement-cache-size
    2 _& x4 g$ E' {  Y7 R2 v  X; n# d! W
  1325. ;oci8.statement_cache_size = 20
    : Y+ S' s- g: w5 i( x) }& ?/ ?

  1326. 8 T% F  c' U+ L: ^& b% \- C0 F* n
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    4 V5 c& V! L9 S, V
  1328. ; rows that will be fetched automatically after statement execution.
    . U( r. T1 t& U% J$ ?* U
  1329. ; http://php.net/oci8.default-prefetch5 ?) ?" R- R/ @0 v4 s/ i
  1330. ;oci8.default_prefetch = 100
    ' ~7 z2 w* M7 U9 a
  1331. . _1 L5 C, o( C1 O7 g
  1332. ; Compatibility. Using On means oci_close() will not close4 s( n' e5 K+ h% W9 N
  1333. ; oci_connect() and oci_new_connect() connections., ~! x6 s) k( q5 l0 E! q+ K' u
  1334. ; http://php.net/oci8.old-oci-close-semantics
    % b% L% A( U' ~9 W9 H. O
  1335. ;oci8.old_oci_close_semantics = Off
    . g% ]+ j4 Z1 O: T

  1336. & N! J2 X& r0 ~6 {! t+ ~2 M
  1337. [PostgreSQL]
    " C6 i3 r+ o% }- O) V- Z
  1338. ; Allow or prevent persistent links.# x, r* z# G' ^; _% V# Y& L
  1339. ; http://php.net/pgsql.allow-persistent
    ; {/ C6 @: K: o6 H4 {: p
  1340. pgsql.allow_persistent = On
    / J0 C5 \2 \5 V3 `5 p

  1341. + \& W+ ?9 x6 c# w$ h) T# u, [
  1342. ; Detect broken persistent links always with pg_pconnect()." \; o: W7 P" g3 ^
  1343. ; Auto reset feature requires a little overheads.* c, X( f" y' C% F4 S
  1344. ; http://php.net/pgsql.auto-reset-persistent
      b* [" ^3 j" U% z: }
  1345. pgsql.auto_reset_persistent = Off
    ' V) x5 @' Q- X- \/ Z0 u# T* o8 u0 j
  1346. $ ?6 M. y- v9 i5 a& M9 A; S
  1347. ; Maximum number of persistent links.  -1 means no limit.8 ^) @0 Y1 _; [- M
  1348. ; http://php.net/pgsql.max-persistent
    : y+ O% u" m, J7 p1 m9 D, C% }; v
  1349. pgsql.max_persistent = -1& C- f( |! j' G: x, R

  1350. " P7 A1 w- c4 \
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.  I: h4 R' F6 K+ K6 A6 w* d7 u
  1352. ; http://php.net/pgsql.max-links$ d2 N( w! w& t
  1353. pgsql.max_links = -1
    4 J# S' f' p) {6 c4 S) q
  1354. " q$ Q5 n. M+ p  E! w! Q
  1355. ; Ignore PostgreSQL backends Notice message or not.
    2 `# R& q5 _$ P8 h1 b$ [
  1356. ; Notice message logging require a little overheads.
    ( w- z2 X+ c) y: ~8 o
  1357. ; http://php.net/pgsql.ignore-notice' M0 ~% R1 V4 K
  1358. pgsql.ignore_notice = 0
    6 K" \$ T- H+ l5 y4 D

  1359.   C2 G5 W# L- r, e0 y
  1360. ; Log PostgreSQL backends Notice message or not.
    , ~  A, y: L& z6 I  R/ n9 @: s
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    4 x( H3 V4 O; C6 [1 @- O- E
  1362. ; http://php.net/pgsql.log-notice
    % {) m* X& b1 M- D; N' H
  1363. pgsql.log_notice = 09 f7 ^& g7 }5 Y9 v$ O8 J

  1364. * Q3 r' a& Q9 ?  ?# L% }
  1365. [Sybase-CT]
    & T% p5 X+ Q! _% ^4 X* z2 y
  1366. ; Allow or prevent persistent links.
    8 J6 w) t7 M. U- }; {& h0 U3 r
  1367. ; http://php.net/sybct.allow-persistent& k; W# u2 C' x. _7 c' A  k
  1368. sybct.allow_persistent = On
    $ k) ]/ |) x( `# C& t  F: T) b0 `1 n
  1369. 0 @" R- I9 a: s" V
  1370. ; Maximum number of persistent links.  -1 means no limit.
    1 r* m) r6 u1 S+ s
  1371. ; http://php.net/sybct.max-persistent
    9 Y( C- q+ Q/ l% U- D; m
  1372. sybct.max_persistent = -1
    : @( p! U0 d2 k9 C
  1373. 5 ?* T* ~9 _" n4 n+ B) ^0 E* s
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.; r9 U8 ]2 p, c5 d2 j
  1375. ; http://php.net/sybct.max-links# x2 i2 I6 U! E7 \' H
  1376. sybct.max_links = -16 I/ u" r# s' F* B
  1377. # e4 w! V2 z5 p
  1378. ; Minimum server message severity to display./ {. W# U4 }  G4 X. ?9 L4 r
  1379. ; http://php.net/sybct.min-server-severity6 D: u  v% u: A9 `
  1380. sybct.min_server_severity = 109 \2 a0 L: o8 T" F- ^" @

  1381. , F  A1 {7 o/ b$ p" s5 A
  1382. ; Minimum client message severity to display.8 l% y( t* j6 |) ^
  1383. ; http://php.net/sybct.min-client-severity
    : O1 n; ?2 F4 v/ z; ^/ _
  1384. sybct.min_client_severity = 10" k' {/ Z6 s: z5 h1 {, H8 [# _  C

  1385. + L+ ~/ f5 q. h( d
  1386. ; Set per-context timeout
    ) N7 b4 @: U1 b: s* l
  1387. ; http://php.net/sybct.timeout# o) E1 f& F; M! D# V: ^% x
  1388. ;sybct.timeout=) a$ i' [. J- E# ]2 Y: Q
  1389. # k/ @/ N9 P) C/ t- E  d6 W. L
  1390. ;sybct.packet_size
    0 V  J8 B' _& _* v$ D6 Q$ K& a
  1391. 6 O6 j1 _) c# y
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.2 i( D1 o4 S# h8 a2 k0 M; [% s4 `
  1393. ; Default: one minute
    * W: n/ e, O! w+ U7 N, T) g
  1394. ;sybct.login_timeout=
    8 `1 R: ~; Q. @; I' Q

  1395. 1 W! \- Y2 u- u/ ^8 N. n
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.% v- V7 D) j" ~" a' n! B; \! ?9 _
  1397. ; Default: none
    9 ]$ |" v4 {# y+ y5 [
  1398. ;sybct.hostname=+ ^2 d" C! c2 x( O. v& ^
  1399. ( X- w0 F6 g! a( t: `/ I
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    # q- V& z: ^2 D$ H8 m( r
  1401. ; Default: 0' g0 V( F5 C: A% b3 ]3 w
  1402. ;sybct.deadlock_retry_count=
    : v! r1 y2 K! ]/ j3 i
  1403. 3 C# F' |( M' h* S+ L
  1404. [bcmath]
    ( l- @1 v/ I$ N7 p8 \0 A
  1405. ; Number of decimal digits for all bcmath functions.( N$ f4 K' |+ B
  1406. ; http://php.net/bcmath.scale
    ) E8 h, O, T  r2 p/ d
  1407. bcmath.scale = 0
    , |7 g% [+ V3 B( i8 v% Y1 [
  1408. $ R8 r8 X1 G) ~& v* G8 }2 U9 {. n3 k
  1409. [browscap]6 X; k6 S3 j" I( p0 g
  1410. ; http://php.net/browscap' r$ G3 s9 {$ V0 p; L3 X
  1411. ;browscap = extra/browscap.ini- W/ L$ ?- L5 F$ s" {

  1412. & {* Z( E+ \, s& \+ \. G5 p% F; k* S
  1413. [Session]: L# Y1 d% L) W3 e
  1414. ; Handler used to store/retrieve data.5 g/ w7 g6 f. t9 b0 O) p- W4 v
  1415. ; http://php.net/session.save-handler
    5 |' y' ^: X5 y0 A* r2 O2 n- @
  1416. session.save_handler = files9 s  g0 \0 Y8 V' ^& ]' K
  1417. % h2 H) \7 ?6 |+ Z1 {4 D/ Q
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    $ g  H4 t" X. g# M" ]
  1419. ; where data files are stored. Note: Windows users have to change this
    4 b1 }8 Y7 \0 a8 s
  1420. ; variable in order to use PHP's session functions.
    7 j" v) e3 ~, X. o* ]! i+ u
  1421. ;5 L& m8 b( f2 f( ?. S, y
  1422. ; The path can be defined as:
    ; b  Y/ J6 B1 ^3 m) L: }
  1423. ;
    . R: J; b8 m8 Q/ S# @/ A9 ~: h
  1424. ;     session.save_path = "N;/path"2 g7 {! I3 E0 L. F$ r" m
  1425. ;9 Y3 z  W! r6 p& [. G$ b2 J
  1426. ; where N is an integer.  Instead of storing all the session files in2 `! U+ C- r4 }8 |
  1427. ; /path, what this will do is use subdirectories N-levels deep, and! J0 @1 r9 r# S$ y" J+ u5 E0 L
  1428. ; store the session data in those directories.  This is useful if5 r- x3 k# R6 B( S: }
  1429. ; your OS has problems with many files in one directory, and is
    & X- m. {7 f5 H' C0 B1 ^
  1430. ; a more efficient layout for servers that handle many sessions.1 [  u* s4 _* I/ N9 R0 B3 ?% k
  1431. ;
    $ p; S% l0 M2 C
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    & H# M/ K5 J. ^2 r" ^0 B. n2 N
  1433. ;         You can use the script in the ext/session dir for that purpose.
    & m4 S5 r! `) u6 }. f
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    ( r% S! y7 M1 q; H
  1435. ;         use subdirectories for session storage" ?. _9 O4 ?4 q7 K. Z
  1436. ;
    4 t+ k* O& D/ I1 [. A5 Y% w3 i0 f) L1 z
  1437. ; The file storage module creates files using mode 600 by default.2 H# A* }) s" d, h
  1438. ; You can change that by using
    9 D1 c& U6 E0 z, g. I* N. F) v) F! D' d
  1439. ;
    * q$ p, t* Y: k+ R* z1 T$ \3 B0 l
  1440. ;     session.save_path = "N;MODE;/path"! E5 w! Q1 M0 s4 K. z0 M& _
  1441. ;
    / d; M! M; n3 w4 D! T$ R9 K
  1442. ; where MODE is the octal representation of the mode. Note that this
    4 \- B' \% U8 T  G" j
  1443. ; does not overwrite the process's umask.' b2 V7 Q+ X) P2 |2 _) u1 z
  1444. ; http://php.net/session.save-path
    / t; K: [* ?; B* K( p+ Q) m
  1445. ;session.save_path = "/tmp"2 T# \. D0 T3 f+ Z$ R. {

  1446. 9 [+ x3 S1 p3 {3 |8 w6 [) ^
  1447. ; Whether to use strict session mode.
    # A: Y8 G+ w5 g# w
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate& p. N2 ^' Z$ D  @' @: ~( F. l: S
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects: _, m# D4 N' a0 ]+ h- V: h' F( {
  1450. ; applications from session fixation via session adoption vulnerability. It is
    3 A+ A; o( W/ O5 p& X. V3 s
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    6 g# M+ J+ v' E7 D" X- X% \; u9 f6 A
  1452. ; https://wiki.php.net/rfc/strict_sessions9 Q/ v( M7 g  V
  1453. session.use_strict_mode = 0
    * J, O" e0 A2 @+ l

  1454. + O+ z4 ?  s% d4 C
  1455. ; Whether to use cookies.
    6 E+ |. m5 L" X  U
  1456. ; http://php.net/session.use-cookies" l* e7 E0 k5 a$ V/ U
  1457. session.use_cookies = 1, A$ P( O2 W+ N+ [! k* G& Z

  1458. ) z6 k9 a! k3 V! B# l4 ^
  1459. ; http://php.net/session.cookie-secure4 P9 H9 \& k1 E+ Q  i
  1460. ;session.cookie_secure =
    2 {* O) d" K- e; x8 a* `7 f: w

  1461. : [0 H: \9 N1 l
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    0 _( H! S: m: h
  1463. ; the session id. We encourage this operation as it's very helpful in combating4 p; }6 h% M2 [# ^- K9 n6 J# C; s
  1464. ; session hijacking when not specifying and managing your own session id. It is( V: V  Z1 d- c$ I$ \# A3 R9 H& c- @, ?
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ) F8 W  A1 x$ ]& _0 G/ \& K! r
  1466. ; http://php.net/session.use-only-cookies
    6 g4 R) g& t3 l5 q. j( B
  1467. session.use_only_cookies = 1
    : B" r5 k: _  N4 l5 O
  1468. ( ?' j5 {+ n& P) J! [, T) T6 U
  1469. ; Name of the session (used as cookie name).
    % G$ @9 K: l" F
  1470. ; http://php.net/session.name- d" Q; G+ W+ U9 p6 G4 u8 J
  1471. session.name = PHPSESSID! r1 {# ?) o9 l, ^, Y( w. N0 |4 s
  1472. . w$ p! L9 v" |! K8 N9 a
  1473. ; Initialize session on request startup.) p3 C6 j4 ]- K2 @7 z' B2 Q
  1474. ; http://php.net/session.auto-start; Y2 S0 q$ o5 N! [9 [( f
  1475. session.auto_start = 0
    $ t& s4 O0 ~$ m
  1476. ( p  J; Y8 Q. ~
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted./ m( W2 ], [' e; r( s' i, X
  1478. ; http://php.net/session.cookie-lifetime' {' f$ S$ P% [* `8 c2 x
  1479. session.cookie_lifetime = 0
    " t' u/ }. x8 V- o3 i3 A3 p$ C, B

  1480. ! h  C+ u8 Q# B: J! Y
  1481. ; The path for which the cookie is valid.; n1 ?( L/ r# D$ ~* a3 \
  1482. ; http://php.net/session.cookie-path
    + ^& N/ m4 r$ F, }
  1483. session.cookie_path = /  M3 A5 }  I4 F" `' }5 x$ Z  u, C

  1484. " H8 t2 Z1 H4 W2 R6 t0 ^8 a( W+ k$ C
  1485. ; The domain for which the cookie is valid.
    ; Q0 P& c8 c1 B( ~- Q
  1486. ; http://php.net/session.cookie-domain5 x, `% U( @  C1 L$ I
  1487. session.cookie_domain =4 O6 y( b* E0 z- G7 c) @
  1488. & q" n: f6 v+ L" C4 g1 M9 Q. t
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.  b7 {7 F+ l' C* T# r3 y
  1490. ; http://php.net/session.cookie-httponly
    - z, V# l8 p3 X
  1491. session.cookie_httponly =
    % s0 s6 x/ {% K! M5 }7 K2 G/ g. C1 j  m

  1492. - J! Z3 q: v6 Q' v6 o# l4 o
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    : V2 s1 b$ E: d) @. g7 r
  1494. ; http://php.net/session.serialize-handler
    ' j8 Y  K. H, _& a
  1495. session.serialize_handler = php
    # }. p7 N! o: c$ E; N
  1496. ; S2 ~+ V* p$ O5 F. @
  1497. ; Defines the probability that the 'garbage collection' process is started2 n. V  h" @6 p; f, M" i' e
  1498. ; on every session initialization. The probability is calculated by using$ x) I  n. j# P# E& P& c
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator9 A0 S7 X$ L: a8 M  l) c
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1( Y) h- \: T; f2 A- r& Y/ R- ^
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ) G3 {$ B" V2 j
  1502. ; the gc will run on any give request.% M3 O4 e' D& ]( Z4 i( w
  1503. ; Default Value: 1
    2 W8 ^4 \" g1 @7 i
  1504. ; Development Value: 14 j# c6 q7 }" P7 {( y. y
  1505. ; Production Value: 1
    9 w+ U* g) p* E* Z1 ~
  1506. ; http://php.net/session.gc-probability7 B" j0 A& R4 I) X* _
  1507. session.gc_probability = 1, P# d$ D+ z5 K9 T$ Z
  1508. % `- @: Q4 l, b$ m# O) |/ F
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    3 g; H" H* J, |8 e( m
  1510. ; session initialization. The probability is calculated by using the following equation:& o0 U6 d- m# n! Q
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and2 o& [% d0 J) Q/ H' O% _. O
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ( b* b# C) Y  h2 V! V# R
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 P  e# ^8 {2 X
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    9 M: y5 x. s, ]2 G  D* A6 q
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,6 `) g% ^7 y- {7 w; K) M
  1516. ; this is a more efficient approach.2 T3 G$ K0 S7 Z; n! E
  1517. ; Default Value: 100+ U$ u2 u7 F7 V  _3 V
  1518. ; Development Value: 1000
    # ]) D% I5 r$ _4 s
  1519. ; Production Value: 10003 `7 w1 _" H' {: n2 k5 b$ b
  1520. ; http://php.net/session.gc-divisor" _+ c  L  @2 ~/ U  F/ \3 A* w' B& R
  1521. session.gc_divisor = 1000& E: \, h+ i3 ?! [$ C: h. m, \8 H2 f: @3 g
  1522. 6 s4 o. x% |6 X  R, o$ e
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and4 A- ?1 ~! u  i! T6 R2 P4 c% _4 W
  1524. ; cleaned up by the garbage collection process.6 U# F: l* w) u4 R) I' [2 h  \
  1525. ; http://php.net/session.gc-maxlifetime6 }, P" M4 H+ p3 ^7 j9 G4 t& a
  1526. session.gc_maxlifetime = 1440
    / K  G) p- ^# E

  1527. ) x+ y. A5 n6 u$ b8 D/ B( B
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    # d/ u9 j, P: d/ R; r
  1529. ;       (see session.save_path above), then garbage collection does *not*6 P4 Q6 s8 s( _$ T( ?
  1530. ;       happen automatically.  You will need to do your own garbage0 s* i, ~2 R/ @: ^; u( K/ {
  1531. ;       collection through a shell script, cron entry, or some other method.
    $ S0 Y& a( T$ T# R1 ?$ K
  1532. ;       For example, the following script would is the equivalent of8 I, |% U: K5 i# T0 i6 ?
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):+ H. B, C+ j& _) ]6 j+ {% `8 p
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    : |9 x& l4 j  `  B' e8 d6 D# q9 c) v

  1535. 8 p! q0 d3 |& n$ [9 V% k7 N) W/ p2 W9 G6 Z
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    - d8 Z- [: B7 T( z
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    " O( V- i4 R3 e/ P
  1538. ; considered as valid.. k' \7 ?; z% `! J8 R8 i! y" p
  1539. ; http://php.net/session.referer-check
    - S* L* B9 T. u- \; ~
  1540. session.referer_check =& [. d" R9 c; h" E
  1541. 3 H( z& \6 y' }5 A
  1542. ; How many bytes to read from the file.0 V1 v& m! S2 M. B  V1 h5 v+ o
  1543. ; http://php.net/session.entropy-length
    1 R7 V- s7 U$ `1 e
  1544. ;session.entropy_length = 32; ?2 b# M/ p# k
  1545. $ @. r0 i, r9 i& N% h2 r
  1546. ; Specified here to create the session id.
    3 a2 ^/ _! p2 a
  1547. ; http://php.net/session.entropy-file* _% M" t4 [# l# g: w8 s  D
  1548. ; Defaults to /dev/urandom
    6 M( q! b2 V- r: q2 Q6 F9 V
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    , G' K% {' {$ v) [
  1550. ; If neither are found at compile time, the default is no entropy file.
    6 j  ]# }1 C! J! D% ~
  1551. ; On windows, setting the entropy_length setting will activate the
    , c: g# \+ B6 |  b1 d" M8 {7 |
  1552. ; Windows random source (using the CryptoAPI)
    % o) U: F# a9 C% J! W% s1 @1 c
  1553. ;session.entropy_file = /dev/urandom
    3 Z; H+ x6 ^% x4 i
  1554. ' Q: g4 q2 u% X8 n4 B
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects% m8 o9 _4 y# P# R
  1556. ; or leave this empty to avoid sending anti-caching headers.
    $ S7 @( P+ ^1 x- c
  1557. ; http://php.net/session.cache-limiter
    5 U% ~0 i( s. F4 z; R& o) a
  1558. session.cache_limiter = nocache9 O7 X& M) ]. m* c; `0 F
  1559. 3 A5 N# U) K5 A# y( l  ^& k
  1560. ; Document expires after n minutes.4 j; ?3 k. X/ x
  1561. ; http://php.net/session.cache-expire
    , x; w. m8 W) z/ ]5 d2 A3 s1 u* R
  1562. session.cache_expire = 1806 c$ ?0 B0 k' L
  1563. ) ?% }/ H1 r5 t& i
  1564. ; trans sid support is disabled by default.' ?, P5 L9 B: m& Z$ T
  1565. ; Use of trans sid may risk your users' security.
    * p6 v2 A- @  j
  1566. ; Use this option with caution.' i+ g6 [. L# g/ Z' [
  1567. ; - User may send URL contains active session ID
    6 e" H% M9 f& c/ D0 @$ g) ?% g
  1568. ;   to other person via. email/irc/etc.0 p% t: p) i5 P1 N" [  n+ G1 m
  1569. ; - URL that contains active session ID may be stored+ I6 A: @! C# x. I' x
  1570. ;   in publicly accessible computer.
    / w( K9 o7 H0 }9 |
  1571. ; - User may access your site with the same session ID; p/ j6 U8 G& }0 h1 p& Z& n
  1572. ;   always using URL stored in browser's history or bookmarks.( Y7 y. w  K( t" Y/ I& Y( O3 ?
  1573. ; http://php.net/session.use-trans-sid4 Q7 K) C3 y" u2 C5 S. G8 V( g
  1574. session.use_trans_sid = 0! m: d. g/ M8 B5 K1 @+ u! e9 m; r
  1575. 2 o3 G8 u, Q, Y5 t
  1576. ; Select a hash function for use in generating session ids.
    2 K3 u5 q& U9 U) C
  1577. ; Possible Values) H/ E  p0 J$ Q  x4 l
  1578. ;   0  (MD5 128 bits)
    5 R+ v# q* B: S( j
  1579. ;   1  (SHA-1 160 bits)/ _4 e9 M. r& ~) I' e( e+ w
  1580. ; This option may also be set to the name of any hash function supported by
    2 H0 f; s- O% O
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    5 f0 |$ u! k' s7 o' @& @- Q
  1582. ; function.
    3 d3 C9 X1 N: M8 l' ]( J6 o6 h
  1583. ; http://php.net/session.hash-function
    7 {" V0 t$ o6 h
  1584. session.hash_function = 0* }" e, {$ I, ?; }: k- b
  1585. 9 ^* D1 b' C# ?
  1586. ; Define how many bits are stored in each character when converting
    ; y, {- E2 u+ |, E) T+ A
  1587. ; the binary hash data to something readable.
    * P% `. H, L0 D' a' v3 y
  1588. ; Possible values:
    ( Y3 n. v. \( N: u9 Z# X" R
  1589. ;   4  (4 bits: 0-9, a-f)( c, l- S9 s: a3 m/ l: @7 T
  1590. ;   5  (5 bits: 0-9, a-v)7 C# ~9 m! {; |* \6 F
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")$ L; n  G. l* }2 A, Y
  1592. ; Default Value: 4
    ; M& H) P( [3 D  u7 c/ F& l# K# L0 M
  1593. ; Development Value: 5
    + Q& H! G* E- {2 Q3 E! j
  1594. ; Production Value: 59 p1 _0 p5 \7 o) ?/ F0 |
  1595. ; http://php.net/session.hash-bits-per-character
    ) P+ b5 j' |6 E4 q
  1596. session.hash_bits_per_character = 5
      d# o# j0 N; u4 y
  1597. 7 w" K2 u& Q* H. b3 S. g( d
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    $ v  x+ y4 k. m! U: h
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    9 w+ Y. c6 i- k+ u: y
  1600. ; add a hidden <input> field with the info which is otherwise appended
    ) F3 f  O. ~% X2 W, D+ f
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.4 y1 `( [* O# n( b' ~
  1602. ; Note that all valid entries require a "=", even if no value follows.7 n+ s+ _/ n- N5 }2 V/ C2 u. |% Z
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="8 c6 _$ v1 u. V
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! V$ q2 a# `$ M! _) j
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * L2 y( c& Y! {8 r4 R: Z
  1606. ; http://php.net/url-rewriter.tags
    / @( [1 G( p" w7 s# [
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 X0 ^. g: n0 }& ~) w) f
  1608. 3 K7 o5 `% ?. P: i
  1609. ; Enable upload progress tracking in $_SESSION
    : ^$ W# a* s  U* R; j
  1610. ; Default Value: On( v: m2 g$ t2 u* R7 b1 Q: I- V; l
  1611. ; Development Value: On: k1 L6 l' E& h2 j/ D$ o- X" n9 `  T
  1612. ; Production Value: On
    . A0 \  b% k+ i3 j& t8 o
  1613. ; http://php.net/session.upload-progress.enabled! ?3 [2 M1 V% u$ S% n+ X
  1614. ;session.upload_progress.enabled = On5 c+ Y: w4 r6 B. x5 A" j( M) q

  1615. , J# \  ~4 ]5 S  H. w; Q
  1616. ; Cleanup the progress information as soon as all POST data has been read
    ! ~! d/ u6 ]4 S# ^1 }
  1617. ; (i.e. upload completed).2 Z# [4 a, _1 z" S* M
  1618. ; Default Value: On6 H/ U5 H% s# i4 v
  1619. ; Development Value: On2 t- d+ J# d3 N
  1620. ; Production Value: On: z1 i; \1 u0 W! d; t$ a
  1621. ; http://php.net/session.upload-progress.cleanup$ C. N% W  c- q* J6 T
  1622. ;session.upload_progress.cleanup = On
    . U. x* z( S. O9 s
  1623. # t) j% B8 B9 ~5 M; ~7 |, d
  1624. ; A prefix used for the upload progress key in $_SESSION! X7 ~! g$ C) z
  1625. ; Default Value: "upload_progress_"
    # G  }/ I3 s; Z6 \% G/ x& t
  1626. ; Development Value: "upload_progress_"
      G8 v- r5 q' g8 }2 p  M
  1627. ; Production Value: "upload_progress_"
    & H0 U/ ]; O% T
  1628. ; http://php.net/session.upload-progress.prefix
    3 i' z+ }& N  m  k3 ~: A% V/ x
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ) G5 k' x6 _  T' k0 r  Y
  1630. 7 z$ T3 P9 x! U2 ~
  1631. ; The index name (concatenated with the prefix) in $_SESSION1 @2 t; L7 `, n, o8 d" X4 n( H
  1632. ; containing the upload progress information
    5 j# V( V! Z; T- f- E) V; {
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
      |7 z/ a7 {% ?8 [; M2 u3 U
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"% i  T8 c6 }0 r/ _, @
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"7 d; B  v1 F/ T
  1636. ; http://php.net/session.upload-progress.name
    + W) E/ X* q, G8 q  p* a* C6 k
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"2 c6 M+ I6 ~* p3 _9 z) w& @
  1638. 6 w/ S- J( q! @9 r5 n, l
  1639. ; How frequently the upload progress should be updated." _' b  a" U3 \* V  e
  1640. ; Given either in percentages (per-file), or in bytes$ u/ @3 a+ g! Z+ D
  1641. ; Default Value: "1%"& }% M; R1 R" z3 B* e; Y2 f% E$ J) s
  1642. ; Development Value: "1%") _' t9 s: J. b( n1 z- _
  1643. ; Production Value: "1%"0 m3 H. U) Q7 J5 \0 F" w9 `( b
  1644. ; http://php.net/session.upload-progress.freq
    ; C2 x2 ]) m+ |
  1645. ;session.upload_progress.freq =  "1%"
    * f3 x1 k+ ^+ \4 x

  1646. 8 l6 N4 Z: A8 x
  1647. ; The minimum delay between updates, in seconds
    ! Z- ^' D  |+ Q, ~& j$ W) z9 v
  1648. ; Default Value: 1
    . A4 i% O) i/ g8 M5 w$ l
  1649. ; Development Value: 1/ o5 t( o( B; G% x$ \
  1650. ; Production Value: 1' c6 u. A1 ]" _  D& \6 H
  1651. ; http://php.net/session.upload-progress.min-freq8 u9 |3 f; x" f3 h( B
  1652. ;session.upload_progress.min_freq = "1"
    2 i/ ^7 T8 I$ @- d' r% K, O

  1653. & @2 }7 {6 A9 W2 [7 O
  1654. [MSSQL]
    9 {1 e2 J2 E3 G$ V
  1655. ; Allow or prevent persistent links., g, z* l% W4 F9 ^8 d
  1656. mssql.allow_persistent = On" p/ \. P! e7 m8 H2 h+ X) C4 B3 Y
  1657. 2 L  X: [' B6 d: f
  1658. ; Maximum number of persistent links.  -1 means no limit.- \1 P; p, W- _5 u' D) ~6 n5 w
  1659. mssql.max_persistent = -1
    " t4 r& {1 z! ^* Z* n

  1660. 6 d5 h5 Y0 \* g4 q5 u6 v* f; h
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.% R  R: u4 H& C, l
  1662. mssql.max_links = -11 g5 ]; E* ^  m& ]& g7 T

  1663. $ ]0 E: G0 ^6 f8 r% Y
  1664. ; Minimum error severity to display.9 c8 F0 N9 w3 l1 a: }
  1665. mssql.min_error_severity = 10
    ; o7 b6 y+ X# E& ^) ?
  1666. 5 p7 L$ v; h% ?- U
  1667. ; Minimum message severity to display.5 A8 ~5 W, s5 ]6 e
  1668. mssql.min_message_severity = 109 [6 d- b! r+ ~4 K! Z2 u) ^
  1669. ' G# w+ y2 ]; f; _! K
  1670. ; Compatibility mode with old versions of PHP 3.0.1 M% w) A$ R, ^% T7 R2 h
  1671. mssql.compatibility_mode = Off
    5 r; ]2 p& m' C7 Q0 j

  1672. / v$ x- M/ b2 i# r- _% r
  1673. ; Connect timeout
    , W0 F6 W) G/ I. x) c; {
  1674. ;mssql.connect_timeout = 5
    - L( ~6 V0 b' f' a4 Z

  1675. ; }$ b  p) F! K$ Y4 T
  1676. ; Query timeout
    : q5 N8 V0 U1 `1 }6 @! l. a, K
  1677. ;mssql.timeout = 60# N! I' e7 F; e& m. k2 P- i: M

  1678. 7 f+ K) F& t3 X$ p9 V, r+ C
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    1 _5 |2 E- h. {- R/ h' a
  1680. ;mssql.textlimit = 40962 s. K. H2 X* o0 q$ N

  1681. 7 D  X7 a4 G4 x0 C% Y9 g
  1682. ; Valid range 0 - 2147483647.  Default = 4096.( y# R2 J3 V% V0 Y5 g
  1683. ;mssql.textsize = 4096
    # j' W( i+ }3 K6 `; Z

  1684. & j# t% ^) }- w6 O
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.% J, o) T- Q# A# s% R: Y* r* Z
  1686. ;mssql.batchsize = 0* R8 b) [8 ]" x( j6 d5 Y3 R
  1687. + V- b; E1 K% o" e0 b+ f4 {* y
  1688. ; Specify how datetime and datetim4 columns are returned+ |( \- T. x6 |6 G( ~8 ~
  1689. ; On => Returns data converted to SQL server settings; Q# R1 p8 C$ [% H8 `
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss# T9 A. ?+ `; c! T" }
  1691. ;mssql.datetimeconvert = On9 G% e# D4 J7 E, Z: R2 x( C

  1692. 7 s% n2 ~- H/ s/ d6 p$ C
  1693. ; Use NT authentication when connecting to the server; `7 e1 \0 m+ Z' b7 \6 n4 |; ~
  1694. mssql.secure_connection = Off& c3 J* Z4 s0 y! U# m! y
  1695. 8 z8 G1 z6 v( B7 }
  1696. ; Specify max number of processes. -1 = library default. }% S; a- J5 D$ y; E
  1697. ; msdlib defaults to 25
    ! F! k2 F1 ]! B  l
  1698. ; FreeTDS defaults to 4096& Y* e3 a( D1 [, @# |! U
  1699. ;mssql.max_procs = -17 ^" p/ E+ g, W( e4 b

  1700. 1 _- r1 T; i% e$ U" e
  1701. ; Specify client character set.
    4 R# w8 K7 P1 [& c  D# D2 ?' N
  1702. ; If empty or not set the client charset from freetds.conf is used
    8 |. C& R: a, N" }1 N
  1703. ; This is only used when compiled with FreeTDS
    2 ~/ u& n, h5 @
  1704. ;mssql.charset = "ISO-8859-1"- S" {8 }7 Y6 D; H
  1705. ; n/ D4 q5 w7 D) k* D
  1706. [Assertion]
    + x3 i" r- L& N6 @$ M9 H+ P1 y, f
  1707. ; Assert(expr); active by default.
    4 _& ?) D! h$ x. u: a' Q/ w
  1708. ; http://php.net/assert.active
    * U- u/ C8 I8 [4 K, k+ z
  1709. ;assert.active = On
    " F$ K8 z+ B% o7 i

  1710. , a* r- T( D7 l( q( ~9 }' c! i
  1711. ; Issue a PHP warning for each failed assertion.
    2 H5 h+ a. q" n) ^4 u  U
  1712. ; http://php.net/assert.warning* j$ K# ^4 \! {0 G) E' r! _1 o# M, P
  1713. ;assert.warning = On$ @8 S8 |( K9 N+ X
  1714. 1 O+ K+ @. F' p3 b/ _% p
  1715. ; Don't bail out by default." a9 n0 A" }9 w4 C' ~
  1716. ; http://php.net/assert.bail- C# v* y9 m1 |6 C
  1717. ;assert.bail = Off
    6 b. L0 R+ J8 o0 R# @/ A

  1718. 1 k! ~: D, N! B7 ?" z
  1719. ; User-function to be called if an assertion fails.
    & M$ J0 [9 Q4 I5 i; ]
  1720. ; http://php.net/assert.callback
    # X  x. m  G+ X. ~& E8 E
  1721. ;assert.callback = 0
    ) ^' X$ E' y( v3 Y8 Y# o
  1722. 2 n# q7 N( R( e! X7 I. Q
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    . B2 [, u& i. H4 Y+ R. y2 b
  1724. ; error_reporting(0) around the eval().; g  r/ ^- r' ]4 m( @
  1725. ; http://php.net/assert.quiet-eval
    2 c* k% a) V( J1 X
  1726. ;assert.quiet_eval = 0  V  F3 E$ C% W: L4 h

  1727. : O0 n! f+ r8 k/ B
  1728. [COM]
    0 k# g- I5 j$ I% C1 e8 `# I" C
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs, _% c+ w4 o* l) L* M( U9 u
  1730. ; http://php.net/com.typelib-file
    - N# y. L% d. w: a+ V, S& G4 H1 m
  1731. ;com.typelib_file =
    - m( W1 x" W& ~* s9 g7 P
  1732. ! N( {9 @- Q/ L2 O; e) u7 \6 ^
  1733. ; allow Distributed-COM calls' F  H% D! @- U5 y. [
  1734. ; http://php.net/com.allow-dcom& p; S' k$ p& j
  1735. ;com.allow_dcom = true
    ( ^; |% j8 t) Q9 j1 D* D  q
  1736. ! D9 W# Q3 }: V" t+ Y3 q
  1737. ; autoregister constants of a components typlib on com_load()  r1 `* C8 _8 M, A
  1738. ; http://php.net/com.autoregister-typelib
    ' M. M/ j& U5 O1 p
  1739. ;com.autoregister_typelib = true
    5 E! K  W; C$ j' d% z

  1740. ( n# Q4 R- o. ~
  1741. ; register constants casesensitive/ E8 x% a5 m3 c# Z
  1742. ; http://php.net/com.autoregister-casesensitive
    " t3 x8 ^  h4 [  c, L" t0 y( ?
  1743. ;com.autoregister_casesensitive = false
    $ k) f* ?  f7 s- u
  1744. : D, U7 y( j% `5 A
  1745. ; show warnings on duplicate constant registrations' w7 Z9 K/ h  J8 ?
  1746. ; http://php.net/com.autoregister-verbose& K9 G( t: q. a/ h" l
  1747. ;com.autoregister_verbose = true
    , J2 O) x( C$ ?! h# C! B

  1748. & X* E% W4 u; I; V+ d4 k
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    0 P% o: G6 L1 ~& d, e. x3 A  A- x) ]
  1750. ; Default: system ANSI code page
    0 K" q  W/ }) f0 A9 \8 g8 t. |
  1751. ;com.code_page=
    3 u0 V* I- M- b
  1752. 7 z: |! v5 `) }) t8 R
  1753. [mbstring]# G; d  S4 b4 |# ]8 S9 i  I& Q1 K
  1754. ; language for internal character representation.# }2 O' p) c- V: A# F2 n8 L  a
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    1 o& a/ C8 }5 S, ^6 `' R
  1756. ; http://php.net/mbstring.language( d4 l4 x% a0 U6 x: a
  1757. ;mbstring.language = Japanese9 h$ g8 ]9 ^9 e# o" V- }9 T

  1758. $ W/ K) u! w  F& n/ f
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    2 h7 F1 f7 H  e  S3 w: R
  1760. ; internal/script encoding.
    # i2 M+ B# n7 |5 U' P7 N
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ; H# a- e4 M# H2 y9 T
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.) n$ V7 r2 m$ U' E6 n1 Y6 u8 ?
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    - n  I2 ]0 p  c$ y! x2 R
  1764. ;mbstring.internal_encoding =
    ( x' V. i; K! r' r, \' \
  1765. $ F. T4 B, V* W! W
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.1 L4 G" l- q* e; K3 {! E
  1767. ; http input encoding.
    3 m4 a: v- c+ m/ c2 X$ ^
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    ! C& _2 h0 {  j; V2 G5 |0 X5 m6 z
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    5 M9 q" j, |1 e+ T6 p' |
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    0 |" r6 h8 e5 U* n
  1771. ; http://php.net/mbstring.http-input+ D1 A% A% A! E9 z& u
  1772. ;mbstring.http_input =5 T$ p. J" M0 a& C# }7 }

  1773. 4 {. X8 u8 \4 v% I/ l2 Z
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    . Z# G* i7 ?9 C1 z' z% D
  1775. ; http output encoding.' I3 L* y- ]2 Z, m& ?" j5 O
  1776. ; mb_output_handler must be registered as output buffer to function.( ?. X' i# T$ ^! o3 ^/ C2 Q, J
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.# G* p' B7 H: R
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    6 I0 q$ D: T: d$ o  d* A
  1779. ; To use an output encoding conversion, mbstring's output handler must be set* E* R& E* h& `( W; a. s" L
  1780. ; otherwise output encoding conversion cannot be performed.
    4 [# y0 n8 B9 L
  1781. ; http://php.net/mbstring.http-output
    + X) v' q9 G$ A
  1782. ;mbstring.http_output =# z1 V2 O% P, M, f! T( C2 i
  1783.   W' {" c1 I8 b
  1784. ; enable automatic encoding translation according to* R0 Q% T; L9 s% _) g. w6 \
  1785. ; mbstring.internal_encoding setting. Input chars are
    " X7 o/ v; ~! j' B) u% X
  1786. ; converted to internal encoding by setting this to On.. v  R- j/ Y) E+ U7 v: L
  1787. ; Note: Do _not_ use automatic encoding translation for  b) i6 _9 C6 k7 s4 T# P
  1788. ;       portable libs/applications./ J2 i. u; H& a, a4 e; E
  1789. ; http://php.net/mbstring.encoding-translation, h1 i, n/ h4 H& b$ P
  1790. ;mbstring.encoding_translation = Off
    . f/ {0 o; |  S  }& y* C& I
  1791. ; v7 H) {8 f! ^
  1792. ; automatic encoding detection order.  r2 k% f. d; r5 u/ C4 z
  1793. ; "auto" detect order is changed according to mbstring.language
    # a( x! f$ }) ?8 R
  1794. ; http://php.net/mbstring.detect-order2 i8 T7 m/ m4 c# p! z' m
  1795. ;mbstring.detect_order = auto3 n8 @0 d) m- c. a

  1796. 4 X0 H4 P' E* R5 t0 @
  1797. ; substitute_character used when character cannot be converted
    - I( F4 e7 c( F* y0 f. s
  1798. ; one from another
    6 h6 f4 {: \2 `( Q4 X- g
  1799. ; http://php.net/mbstring.substitute-character, B! A; @  Y0 }! Z3 E" b+ Q: ^: j# Z
  1800. ;mbstring.substitute_character = none# |0 f7 v5 r5 }* q* k" t0 b" n# c/ ]( K

  1801. 0 V3 ^1 g" H& J5 q1 e9 E# ]( M
  1802. ; overload(replace) single byte functions by mbstring functions.
    ( A* j  y0 T5 O8 ]6 m% U& e
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ! E& g. b( [1 \: ]8 j1 {; h
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    7 u7 i' d9 d) F6 B6 V
  1805. ; For example, 7 for overload everything.
    3 u, H, {$ X+ U# `' r
  1806. ; 0: No overload8 j* }8 ?4 Q' o. ], B$ k
  1807. ; 1: Overload mail() function
    ; Q! w. y. `, v) b3 F0 _8 {1 {' n
  1808. ; 2: Overload str*() functions2 ~  }3 z7 Z; V/ w. [* T8 x
  1809. ; 4: Overload ereg*() functions  S, W+ s3 l7 l; A+ B
  1810. ; http://php.net/mbstring.func-overload9 p8 w0 L9 S( C/ F
  1811. ;mbstring.func_overload = 0
    & C: c' `4 D5 s& |; m1 m- D$ ~3 Z  E

  1812. ) U% K4 b* l: l
  1813. ; enable strict encoding detection.
    " t: `8 s- x$ T7 l( M: b: \& P7 Q
  1814. ; Default: Off6 o/ q) ?, }* L
  1815. ;mbstring.strict_detection = On
    # C  {5 Y2 J9 `" Y7 q
  1816. % @; i% [% [7 P. k+ c- V0 p; P
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    3 _2 p& }1 E# l; @
  1818. ; is activated.3 `0 q4 a4 d  K6 h
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    3 B9 p: @% Z1 f
  1820. ;mbstring.http_output_conv_mimetype=
    1 Z$ G6 l( x9 B! ^! a
  1821. # e" H7 g+ c2 l! o% a6 d3 h
  1822. [gd]
    - A9 Z" V6 J+ ~% ~2 z( x3 |
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    8 D" k; h8 P6 s1 X% Q1 z
  1824. ; a gd image. The warning will then be displayed as notices
    % G% B& J9 Y( C2 E& P
  1825. ; disabled by default8 B0 i: T  ~8 G& O) c; {
  1826. ; http://php.net/gd.jpeg-ignore-warning( @8 V, L# W* X) M# E% |! |4 }
  1827. ;gd.jpeg_ignore_warning = 0
    , S, B9 T& }8 l; u( x8 j$ P
  1828. 4 U$ o8 b8 }$ v8 X# {9 c
  1829. [exif]
    : n+ G2 b! e3 }- E4 e5 p
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    - H+ Z  y2 T$ \) n
  1831. ; With mbstring support this will automatically be converted into the encoding
    6 R' ?0 s) M, i+ S
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    1 M' N/ X9 `- R0 F) \  V
  1833. ; is used. For the decode settings you can distinguish between motorola and  i2 D: Q' L* r% P
  1834. ; intel byte order. A decode setting cannot be empty.1 {1 h7 }6 r  R" I- j: f
  1835. ; http://php.net/exif.encode-unicode
    7 R4 M  l3 P$ O% K" C& U
  1836. ;exif.encode_unicode = ISO-8859-15
    5 k% `8 l  `% \) o9 g! ?! G& S5 d

  1837. - E/ ~: V1 \# H! j- r
  1838. ; http://php.net/exif.decode-unicode-motorola0 w6 U3 Q+ p0 g+ u
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    1 l+ P5 B6 e; C
  1840. # F1 S4 ~# n- I) o7 ]
  1841. ; http://php.net/exif.decode-unicode-intel* x! e( w( ~5 t
  1842. ;exif.decode_unicode_intel    = UCS-2LE7 p1 D# z4 A. Z, N

  1843. * v* Q* f0 {. f: J! u
  1844. ; http://php.net/exif.encode-jis5 ]* `, K. D0 C: z1 U8 h
  1845. ;exif.encode_jis =& ?3 C( h6 |. c& G; m

  1846.   y  L) M5 \6 ]
  1847. ; http://php.net/exif.decode-jis-motorola
    ; G2 s4 ]8 R' p, ^6 y* q( V* j! K
  1848. ;exif.decode_jis_motorola = JIS
    , |4 E* w" V( `' |0 ]& e9 Q8 V$ G

  1849. 8 h4 O5 A) K* Y8 f) |
  1850. ; http://php.net/exif.decode-jis-intel
    6 d( p7 C) {6 J1 Y0 a
  1851. ;exif.decode_jis_intel    = JIS
    ) J, ~  H- d# e: j$ p: \; \2 l: ]" o

  1852.   n8 C' V' b+ X7 ]: N( O& ^7 a
  1853. [Tidy]! z- N+ k3 B0 l: H0 a7 l
  1854. ; The path to a default tidy configuration file to use when using tidy/ R3 N3 s4 t7 }+ F( D
  1855. ; http://php.net/tidy.default-config* z1 R5 R" J0 W% C2 ?
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg, a! {/ _+ |) s$ w2 F" e

  1857. 5 V1 i: i, E  z* N6 T
  1858. ; Should tidy clean and repair output automatically?. v  ?) \1 w# H* v% v' w6 W  }
  1859. ; WARNING: Do not use this option if you are generating non-html content. Y1 }4 P. P% o+ y& G, P
  1860. ; such as dynamic images3 ?9 a! r  `9 E7 l6 Q' t
  1861. ; http://php.net/tidy.clean-output, L; z4 P; }0 Z* O, b/ w
  1862. tidy.clean_output = Off
    + Y, u8 |$ E4 v6 d
  1863. 0 H* ]" s- b% k2 M+ C$ V( ^2 c& |
  1864. [soap]# ^/ o. A9 a+ v
  1865. ; Enables or disables WSDL caching feature.
    # ^% f7 z: \! z" B3 `* w6 m, E
  1866. ; http://php.net/soap.wsdl-cache-enabled* e: P$ Y) o+ b  o5 [* `5 L
  1867. soap.wsdl_cache_enabled=1
    7 j3 p* V$ b/ s- o
  1868. / z( ?& w  P! o4 R2 Y! g( Y! v% ?* u
  1869. ; Sets the directory name where SOAP extension will put cache files.7 G- W. Q2 p  v  V: h; J
  1870. ; http://php.net/soap.wsdl-cache-dir
    / C% U+ E/ I2 x. K" ~
  1871. soap.wsdl_cache_dir="/tmp"
    1 f  E( C  Y7 w% n: F2 O: ^& I2 n
  1872. : S3 j3 K  {7 L' S- ]+ a1 b
  1873. ; (time to live) Sets the number of second while cached file will be used
    . X, a8 O- ~3 }8 C
  1874. ; instead of original one.
    , A+ n* {3 b/ M3 G7 w7 E8 n! R
  1875. ; http://php.net/soap.wsdl-cache-ttl6 ], Z* ?0 j8 `0 x. M' f' l- W' n  t
  1876. soap.wsdl_cache_ttl=86400! F/ o6 c7 t( n) _

  1877. ! l4 ?0 z: F+ F& P( o( ?
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    , ]! t. s, j" ^2 h
  1879. soap.wsdl_cache_limit = 5
    ' s1 R- t5 ]" b7 X
  1880. ' ?- c9 h& l0 r, e9 |9 ?. A
  1881. [sysvshm]
    . o, u+ R( V5 g; i+ [
  1882. ; A default size of the shared memory segment
    8 R. t6 x5 a7 ~% }$ H  D8 x
  1883. ;sysvshm.init_mem = 10000
    3 g0 T: C3 B; N" l( f
  1884. & G" x3 O/ w+ Z' \" H/ _* h
  1885. [ldap]
    8 M; a, l. R7 I5 i% z
  1886. ; Sets the maximum number of open links or -1 for unlimited.' C, H' Q4 W# m3 P: X
  1887. ldap.max_links = -1
    + h2 L: k2 |3 D9 l6 n8 S3 [
  1888. * }4 y. B; A6 Y3 r
  1889. [mcrypt]$ [8 W& ?8 f. r. S
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open  w1 C# r/ W& ~/ c( C' U7 z8 B

  1891. + L' i2 N4 L0 H6 R# T* e! e
  1892. ; Directory where to load mcrypt algorithms
    5 h( V0 H/ s. I5 o7 v: }
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt): L  t% f6 j, h7 ^* T
  1894. ;mcrypt.algorithms_dir=
    , {0 ^) C& X' J( ^* d6 y

  1895. " h8 M, ?7 D9 E5 r* v+ d# m3 i
  1896. ; Directory where to load mcrypt modes! |  n! l$ q+ d  @
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    3 o3 g' X6 n( ?- [. v$ G  t- v
  1898. ;mcrypt.modes_dir=
    ' y. i" z: m1 p+ G( [$ s
  1899. 9 Z( n9 ]. h5 m( y0 L
  1900. [dba]
    ' r2 I! L# f- G( X, J5 c2 y! x
  1901. ;dba.default_handler=- R7 V2 c& M! C6 v; j2 B  }8 `4 h# z

  1902. 6 j* [) I/ M6 u2 O- X5 H7 Y0 D
  1903. [opcache]
    5 y8 u/ x& ~  k7 m! `4 d, F8 E/ a. r; \
  1904. ; Determines if Zend OPCache is enabled
      s! m+ L3 A  q$ r2 n
  1905. ;opcache.enable=0
    8 C- B$ ?# B4 A* U( x. x4 D
  1906. $ i" O0 b! i* m6 V& @
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    4 _/ f5 H9 o: j3 B; V& h
  1908. ;opcache.enable_cli=0
    3 Q) t/ n" O+ r

  1909. 0 I# ?! x+ u8 C4 _5 {9 C
  1910. ; The OPcache shared memory storage size., U' @( j$ ?  D* |' f7 Y) Z. j
  1911. ;opcache.memory_consumption=644 E5 I' X* `9 v/ _- ?

  1912. : J6 U/ `! u5 Q+ [
  1913. ; The amount of memory for interned strings in Mbytes., k+ Y- y5 ]& E, z9 x
  1914. ;opcache.interned_strings_buffer=4
    , Z% V5 y* a/ B8 V* o& U
  1915. ) O; Y0 L$ u1 y! J
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.: E* U# M+ H+ P* Q5 S  c
  1917. ; Only numbers between 200 and 100000 are allowed.9 r6 E  q5 B  ?1 z! e
  1918. ;opcache.max_accelerated_files=2000
    8 j) P+ {' V# R( _$ B

  1919. 3 U6 r' Y2 w+ l# ?6 f. q
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.; M. c  I/ J% N# y
  1921. ;opcache.max_wasted_percentage=5+ z4 a- k# S+ J$ J% E& I  j

  1922. . g  `$ r2 j+ d5 l: \
  1923. ; When this directive is enabled, the OPcache appends the current working0 w, v* R  {, a6 J, o7 |, D
  1924. ; directory to the script key, thus eliminating possible collisions between  C5 e( c0 @, n# ?  `5 h4 @
  1925. ; files with the same name (basename). Disabling the directive improves/ U( j$ {4 @/ \" _# L- \
  1926. ; performance, but may break existing applications.
    2 L/ J, B$ }6 Q* k- G0 [- t, R
  1927. ;opcache.use_cwd=1
    4 I! ]* Y! E* s0 t% U3 ^, P
  1928. 0 W; A: r0 d6 S( G6 x0 d
  1929. ; When disabled, you must reset the OPcache manually or restart the
    5 B  h7 _! s% `/ p' L
  1930. ; webserver for changes to the filesystem to take effect./ L: D  O$ }4 i
  1931. ;opcache.validate_timestamps=1
    * B+ G/ r+ M5 z1 q% x8 s6 Y0 ]
  1932. - ?6 R" f) h, x
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    ) N- M$ h& A5 O% E8 I' \
  1934. ; memory storage allocation. ("1" means validate once per second, but only/ `7 m$ x1 Y5 f
  1935. ; once per request. "0" means always validate)
      }: w. w( }$ j( i9 g
  1936. ;opcache.revalidate_freq=2
    ) V# j% u& _9 ~& T0 I8 e
  1937. ! Y; g/ \# [( N
  1938. ; Enables or disables file search in include_path optimization3 H# B. \6 b. b
  1939. ;opcache.revalidate_path=0
    5 g) b  K  _9 v& }, }3 P( C
  1940. # ^7 N7 W+ Z) ]% g
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    0 `& z; _4 s% ^% W* A
  1942. ; size of the optimized code.
    ( s! f3 Y% G$ Z8 o0 `3 i
  1943. ;opcache.save_comments=1( A  h! t2 p4 O: _2 p/ ]
  1944. 4 a8 B1 C0 _3 \7 M
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"+ A% M, D9 b  m- d5 A+ z7 |
  1946. ; may be always stored (save_comments=1), but not loaded by applications8 I/ G& x' v& w% G$ s' z
  1947. ; that don't need them anyway.5 _" l7 U* j" d- h3 Y7 P9 R; U6 o( ]
  1948. ;opcache.load_comments=19 G: \% p1 z: G$ t8 Y' k
  1949. 6 I) n# t2 ]0 A% i% Q& v1 y6 C
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code, z) K  p: s" G7 L2 T/ N) U
  1951. ;opcache.fast_shutdown=0
    / H7 D0 v$ l  t: V
  1952. , V8 o& P5 [: ^, F
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    3 M7 }4 `2 U& P. M- R
  1954. ;opcache.enable_file_override=0
    . B; I, O5 `: b% P$ ]0 X
  1955. 7 E8 m9 h( n# i# d0 E1 A
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    % n! N( w  Q# Y% o7 Z- G8 _5 T# R
  1957. ; passes9 H0 g! a4 |  A# B
  1958. ;opcache.optimization_level=0xffffffff
    $ b: }% z0 @1 K5 [) h) r7 G

  1959. & A- n1 T4 g9 m* }& {
  1960. ;opcache.inherited_hack=1
    9 {4 r, T) p% r& f9 @# P
  1961. ;opcache.dups_fix=0
    ; n! C1 F. T" i

  1962.   j0 t3 R1 i6 g, J6 F( ]- [& A
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    4 m9 }4 o% o6 D6 \9 `. g2 B
  1964. ; Each OPcache blacklist file is a text file that holds the names of files% n) r# L) X3 o1 U( \+ E
  1965. ; that should not be accelerated. The file format is to add each filename
    ; o- }# M4 [$ G# k1 L/ n& D
  1966. ; to a new line. The filename may be a full path or just a file prefix7 c+ t8 j! ?' D: o
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    4 ]/ Y0 q# h+ w  e& R! ~
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    % {6 e$ T& K* _3 o+ D& h
  1969. ;opcache.blacklist_filename=
    ! l; _1 k" |7 h" L) A9 ]1 R

  1970. 5 n  B. c/ w! D/ _& U
  1971. ; Allows exclusion of large files from being cached. By default all files
    ! `5 w1 ~# ?  i
  1972. ; are cached.! H$ P  f0 e8 n: Z/ Y- G+ B9 R
  1973. ;opcache.max_file_size=0( n/ ?6 u# f! c! F: V3 u4 A
  1974. 9 e0 u4 a$ J6 s2 p. j
  1975. ; Check the cache checksum each N requests.& B% O( j6 I7 c9 O9 _
  1976. ; The default value of "0" means that the checks are disabled.8 D$ _  C  F) e) }! `1 ~/ J
  1977. ;opcache.consistency_checks=0
    ! p, j. R% [; Q$ u

  1978. 5 C; A" {4 z  Z( r6 g
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ( N2 y* z  z2 U' x: U
  1980. ; is not being accessed.8 w4 m5 l4 ^, d7 l/ G9 y
  1981. ;opcache.force_restart_timeout=180
    ' ]" ], s8 R$ {+ |7 M5 ^. j

  1982. ; y6 @2 U- }& [' ?9 \
  1983. ; OPcache error_log file name. Empty string assumes "stderr".' k) E5 c# o$ n% X; u! x
  1984. ;opcache.error_log=
    ( [  V: G! a" Q$ p

  1985. 7 O( b3 m0 M) [, K& Q; H; V) b, o
  1986. ; All OPcache errors go to the Web server log.3 a! ^8 w' Q5 f0 H" h
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    " r8 U& ?8 [* d5 t. U) N
  1988. ; You can also enable warnings (level 2), info messages (level 3) or! s1 y4 \, R9 [/ @# B/ d
  1989. ; debug messages (level 4)., @1 |+ q  d; _9 ~7 e
  1990. ;opcache.log_verbosity_level=11 R6 W  {- r& j4 h( ?- A

  1991. 8 L2 Z8 B8 ?& P/ U6 k4 T
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.( X$ b6 M. b; ^1 w! l( D
  1993. ;opcache.preferred_memory_model=
    + p; p" J1 Z  X
  1994. 6 j/ P5 k) D. v  g
  1995. ; Protect the shared memory from unexpected writing during script execution.
    + N; |" X5 Z* i! L) @" _7 E- y1 C
  1996. ; Useful for internal debugging only.
    9 h" `1 A" L- g
  1997. ;opcache.protect_memory=0$ k4 v/ x/ l- r2 B. e$ Y6 `
  1998. " K' b$ F: Q) x6 ?$ ~
  1999. ; Validate cached file permissions.1 G6 g) M/ k: l3 l
  2000. ; opcache.validate_permission=0' k4 ^. i' ]* _% g
  2001. ( e; j. {1 V1 ]- v
  2002. ; Prevent name collisions in chroot'ed environment.0 Q" U. G# W) D# ~0 W* \0 B
  2003. ; opcache.validate_root=0
    6 \5 U' I9 p/ p; W9 p8 d. k

  2004. / Y+ {! b3 }% ~4 a# l6 P
  2005. [curl]
    / c& p; ^( y7 H. ~& p) |; h( G
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ( [0 t' J+ L/ l& t  q
  2007. ; absolute path.  `! Y9 {3 p: T
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ) [8 z, K% m$ w7 A3 E$ N0 ~

  2009. 6 d, ?: f( Z& l% L- q; I
  2010. [openssl]3 @+ x' d4 w5 B' D$ r+ ]
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    & g& ?# {( @0 p: \
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should0 P% j+ B& E  T! u8 Y
  2013. ; not specify a value for this directive as PHP will attempt to use the6 c2 t8 A# P) `" h
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    0 G; L  V# a( V" w- p, F' g
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    7 h* ?: X: M5 e: \% e( Q
  2016. ; option.
    , g# A+ O" e5 y2 x: Y
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    5 g6 O/ s6 L6 N' F  ^# L
  2018. . g+ \2 h3 V/ @/ K. X' I
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    ( H6 i- f/ X- k; N% ~: n! u
  2020. ; directory pointed to by openssl.capath is searched for a suitable  ~# s$ }/ _; f2 `
  2021. ; certificate. This value must be a correctly hashed certificate directory.( ]/ r7 D: p9 C- ^8 z/ G' p
  2022. ; Most users should not specify a value for this directive as PHP will1 K& z1 }$ s! t% ?' Q* ^9 o& d- i
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    + k; b& n* x) z: S% q( _
  2024. ; this value may still be overridden on a per-stream basis via the "capath"8 E7 i& A# q$ f) s+ W, ~/ c; D( G
  2025. ; SSL stream context option.
    $ r" ?2 f2 B( Z- w" }0 i" u
  2026. ;openssl.capath=
    . l. @7 y) d' S

  2027. ; v: J/ z% u$ r* G1 C1 L
  2028. ; Local Variables:' ]8 c7 d8 z' Z
  2029. ; tab-width: 4
    $ X4 f3 g, U/ T9 D- g, ]
  2030. ; End:
    9 j& z5 v7 i; X. h4 r; K

  2031. ) g, J% I# h0 R. B7 t+ L9 h, m
  2032. ;eaccelerator3 l( U% W  q) d3 k5 Q

  2033. 3 }8 K2 C. w4 i: O
  2034. ;ionCube- \& M! w$ `2 m3 ^& O

  2035. 7 R0 Q0 T+ @' V" _% t6 D, b1 ?
  2036. ;opcache
    + I: E/ `5 M6 n" j4 |# G
  2037. ( k( s( G' u  h8 [
  2038. [Zend ZendGuard Loader]
    , x) ?5 E4 B* a; _0 [; w
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    / b; E: n1 y+ C6 Z7 N1 O  b
  2040. zend_loader.enable=1
    9 q, x0 r% \2 `, ~# F: N
  2041. zend_loader.disable_licensing=0+ }3 l$ F/ s+ g7 x3 n0 L2 O
  2042. zend_loader.obfuscation_level_support=3
    # Q: l5 C* O7 d& O- l7 \5 ^" A1 J
  2043. zend_loader.license_path=; s9 h; J" l) r# X# |8 J- }
  2044.   F& l! K3 z6 h$ S: d
  2045. ;xcache
    1 E9 f5 a8 l# X$ ^6 i
  2046. % J' x+ N0 I4 S/ c  i8 J. P
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
, V# q4 E* V! Q- s2 F% P( m9 K3 r& k  B' e: _6 m8 ~

5 ]. T1 c! H) |  P1 v  T3 [$ RDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,: Y7 K1 Z3 M; h: b7 e
, h8 R9 N& H6 K; k
Discuz!程序版本选择:
: `: P7 y. b. d* T站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,8 w( l- X6 q! e2 _+ z
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
! Z  x2 F' S: S( ^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。
0 E  Y6 ]& M( n' Z+ o
5 m# }( ]; g, _  uDiscuz!插件模板版本选择:; k, H; l0 R% P
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
! Y; Z; O9 C+ k& O( z# @1 K针对这个问题做个统一的普及:
$ w1 Q  v' N' \; m2 a9 xX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。' }5 w& T) ~8 U" Z

. r+ r( I4 X+ o9 }( V9 Q所以$ }! {1 I8 k6 I% x$ p
适合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的二级域名。
6 }8 N7 T6 [5 s# G3 a: L9 ^9 w打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
, `& ^+ {3 F) Z7 S* i注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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