分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
$ T. D! L2 _' s& M: \' I) v7 `( Z7 L5 f
  1. [PHP]
    6 }+ D; E2 u7 j6 `2 D

  2. % D# \) m; ]" f$ t* w3 ]
  3. ;;;;;;;;;;;;;;;;;;;
    ; r' P1 U$ W) u" P
  4. ; About php.ini   ;
    % O. n: y% ^  f4 x& r" _4 H
  5. ;;;;;;;;;;;;;;;;;;;
    * g% b' p0 U6 `4 b' ~* v
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    , Q# |' b% u" A/ t- o* n, L: T* I2 L2 q
  7. ; configuring many of the aspects of PHP's behavior.1 i0 d$ u% w6 X
  8. ; I* A6 N9 v" e4 x" ^
  9. ; PHP attempts to find and load this configuration from a number of locations.; E8 u' W% b# b6 u% T
  10. ; The following is a summary of its search order:6 }# w' x, Q; X- f- [
  11. ; 1. SAPI module specific location.
    # }  j2 n; f( i& D5 V+ }0 b4 n
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0); {$ i; I$ t+ F9 J
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    $ E( g3 ]5 i. [3 j0 Y' B/ W+ Y
  14. ; 4. Current working directory (except CLI)) V) H! o- l5 c- P
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    - ?1 C- g3 q5 `) }
  16. ; (otherwise in Windows)
    + H" u4 H, i: k7 C
  17. ; 6. The directory from the --with-config-file-path compile time option, or the' Q" g! R$ A! d2 B0 O/ \
  18. ; Windows directory (C:\windows or C:\winnt)6 R2 Q% }8 N/ w* R9 n
  19. ; See the PHP docs for more specific information.* m% K6 ~2 v/ R' [7 p3 \
  20. ; http://php.net/configuration.file. n. g% W. j2 ?
  21. # t' R" {) @1 g. H& F6 R5 p
  22. ; The syntax of the file is extremely simple.  Whitespace and lines7 E( U$ d; o2 W$ k6 \1 ~# ^8 a! d
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).( ^7 C9 b  R( k0 x: }$ T
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though' u1 G" e. e- P! \8 `2 H% O6 O4 w
  25. ; they might mean something in the future.
    $ R. @) ], \& Y. l) {, L

  26. : g8 Z: V9 d3 d" ]' M. F0 d
  27. ; Directives following the section heading [PATH=/www/mysite] only
    3 ?( r0 P- ~* Z" x0 Q  n, X( D
  28. ; apply to PHP files in the /www/mysite directory.  Directives& P# Z) a" {* t4 c
  29. ; following the section heading [HOST=www.example.com] only apply to
    3 i' R) y  p3 |! U2 k% d
  30. ; PHP files served from www.example.com.  Directives set in these
    ) L6 E4 z/ r$ ~6 M  c
  31. ; special sections cannot be overridden by user-defined INI files or
    & h* [+ d/ a2 p% [% r8 z
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under5 g+ J2 q- t( _0 l
  33. ; CGI/FastCGI.
      ?; e! O1 Y$ g- c: T' @
  34. ; http://php.net/ini.sections
    # V( w; Z1 d. {& l: p+ p) {: t
  35. " d! [. h$ I; R2 u8 G# `0 h: r, t/ e
  36. ; Directives are specified using the following syntax:
    . Y: i7 V5 ]! ~! }5 g% u4 b
  37. ; directive = value1 K1 {: s3 l+ }1 i0 d
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar." w8 {* f1 T0 e6 ~& w- Y3 P# E
  39. ; Directives are variables used to configure PHP or PHP extensions.0 ?, q3 Q/ ^3 r
  40. ; There is no name validation.  If PHP can't find an expected9 I. w) H2 p( U$ }! j' N
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ) }, e4 n( _2 w

  42. % H* f; ?' `; U% C. ]& W% o
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    1 b6 c' g) q& ]3 S! U8 d3 a
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    # i- B, b( ?, }( n( w3 j
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a  R* A# n) f! b! J% p, b3 {
  46. ; previously set variable or directive (e.g. ${foo})
    8 g3 }" F: A1 ^4 V. X

  47. ( D" [& `8 V5 f+ ~  E
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    + U7 y* S; ?: _( E9 b7 F1 I0 Y' {
  49. ; |  bitwise OR  V3 a' l6 F, o  j% R
  50. ; ^  bitwise XOR6 ~$ z1 X2 X/ a0 R$ R7 i/ y
  51. ; &  bitwise AND9 ^+ x# e' i2 \
  52. ; ~  bitwise NOT
    " H( ^1 i5 u* z5 V
  53. ; !  boolean NOT9 p& x2 O6 `% L0 ~. Q/ n# T7 }
  54. / h) h! u5 }4 t& k2 p$ r) I
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.- B# i: i; o" W; _* N
  56. ; They can be turned off using the values 0, Off, False or No.
    ' ]$ N' b, T' R* o! V

  57. 5 ]& s& b3 P$ X% j4 a( U0 o: z
  58. ; An empty string can be denoted by simply not writing anything after the equal* {4 j' g5 @( q& X6 y
  59. ; sign, or by using the None keyword:+ j, P$ e4 i3 _

  60. 4 X8 ]% `+ F2 B+ p' d( P' y
  61. ;  foo =         ; sets foo to an empty string7 ^  m3 I/ G: J* f& q* X+ X
  62. ;  foo = None    ; sets foo to an empty string/ W) {! {7 N7 C* l
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ; ?5 h8 v5 l9 {# r" T1 ?

  64. % J$ l  ^- p& A% Q% }
  65. ; If you use constants in your value, and these constants belong to a2 _; n: c% c1 ], C# H5 ^
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),& }' c2 J8 p% q0 I
  67. ; you may only use these constants *after* the line that loads the extension.3 e" X' x" N0 I2 c$ k! o

  68. 9 g) D$ s$ z' ~
  69. ;;;;;;;;;;;;;;;;;;;
    - t$ B) l% o" T! Y4 O: k
  70. ; About this file ;) d& O. M. i# j, ~
  71. ;;;;;;;;;;;;;;;;;;;
    & H3 Z) k3 P  f; f8 @
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ( d! g+ v0 F  Q! ?* p; U7 {; Z
  73. ; in production environments and one that is recommended to be used in
    7 O/ L" Z% u# \) @7 ^; ^) p
  74. ; development environments.
    . I. C2 K/ V' G( v

  75. 4 |2 Z( A# y  l4 H/ B8 m
  76. ; php.ini-production contains settings which hold security, performance and
    ; [- P2 V5 O+ h" ?5 }
  77. ; best practices at its core. But please be aware, these settings may break5 s! Y4 o* E) Z5 P; A4 N$ S2 ]8 Y
  78. ; compatibility with older or less security conscience applications. We' g. y# Q1 y& R$ ^2 D
  79. ; recommending using the production ini in production and testing environments.) J% S( Z- u% V. t* _( _

  80. : ?& N2 ^5 j; }
  81. ; php.ini-development is very similar to its production variant, except it is# f+ r9 M8 W; ?2 E
  82. ; much more verbose when it comes to errors. We recommend using the# F  P1 x" c6 h+ J, D+ p# Q
  83. ; development version only in development environments, as errors shown to% e6 M" ]8 g: Y4 M, H
  84. ; application users can inadvertently leak otherwise secure information.. L8 B1 m3 ~  r1 ~& e+ k. r

  85. ; h/ m5 G. h$ {/ ^0 O! }: i4 O1 G
  86. ; This is php.ini-production INI file.
    2 R% t9 b7 N- w; F, g' _" Q

  87. " l4 V) P( M  r  R# H6 ~" E
  88. ;;;;;;;;;;;;;;;;;;;
    - S) M$ Z  [# M6 U( S0 l2 ]) `& h& b8 O- x
  89. ; Quick Reference ;+ X3 m# Z& d1 M7 U: I
  90. ;;;;;;;;;;;;;;;;;;;6 ^5 f# @3 v+ Q# b0 ~) f
  91. ; The following are all the settings which are different in either the production
    $ Q# L5 @: C; o/ Z( r5 }9 m" U0 k
  92. ; or development versions of the INIs with respect to PHP's default behavior.; U3 u! X5 ?9 t6 F  ^/ U, l% ^
  93. ; Please see the actual settings later in the document for more details as to why( o8 z& o" O: `; X5 j  \
  94. ; we recommend these changes in PHP's behavior.' O& `: Z7 g, J& r/ y& @
  95. 4 N- |! v0 h* f5 J
  96. ; display_errors
    1 ]/ P+ r$ I7 {
  97. ;   Default Value: On" D2 ~4 ~6 P) w- z
  98. ;   Development Value: On" _9 I/ z( F2 h: |* l! |8 B$ m
  99. ;   Production Value: Off
    2 H! ^  B! D5 `) z" n! a

  100. % t, z6 l! g  e+ a
  101. ; display_startup_errors
    # \3 x3 F5 ?0 s5 r6 S( q; Z1 ~, P! {
  102. ;   Default Value: Off
    ) f; B" N+ H! o0 ^# J0 o) S1 Y; k
  103. ;   Development Value: On! ]4 _; h+ z6 [8 b8 k0 ], |/ A
  104. ;   Production Value: Off
    - K$ f% f. |# s8 ~  E. E  V

  105. 5 t+ S" ^6 r. k+ w$ ]
  106. ; error_reporting
    - V& @0 a- o- ]: x4 c  x
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ' a$ g4 q4 k7 T% \
  108. ;   Development Value: E_ALL% K$ V& G- J$ ^. K, R. A
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT/ u6 U* t; ~' p, J
  110. $ J7 c+ U* o0 W" W6 c
  111. ; html_errors
    1 b7 q9 S1 c% i. |4 d
  112. ;   Default Value: On
    $ C$ C2 [9 c+ Z7 T% J
  113. ;   Development Value: On* P1 {; F: [) d
  114. ;   Production value: On& x0 O) k" K5 Y, `7 `, K

  115. ; n7 l. b. C# ]  J2 m
  116. ; log_errors8 p+ b- |% U' P
  117. ;   Default Value: Off) t% z* i" Q: v5 e. T& {
  118. ;   Development Value: On7 ^6 a7 f& J% z! e# ?% c/ \
  119. ;   Production Value: On% a( j9 q! _" B3 m" B$ K
  120. , Z* F% r7 i3 Z( y
  121. ; max_input_time4 j1 G# H& L, R+ @7 p. T4 m+ Y$ }
  122. ;   Default Value: -1 (Unlimited)3 N& W, @7 m, Y
  123. ;   Development Value: 60 (60 seconds): p) n! V0 ?  Q! V6 n! C7 ~
  124. ;   Production Value: 60 (60 seconds)
    * X2 D- p! a# i- Y: L2 E5 p

  125. " u7 _- D4 b& X, y* D- Q6 q
  126. ; output_buffering; a5 J( i, E4 n4 b  p: Y8 h4 y
  127. ;   Default Value: Off
    2 F. y, u/ w: `2 G
  128. ;   Development Value: 4096
    * F- c* \" ^/ k' m( e
  129. ;   Production Value: 4096( T6 p4 D3 ?" M

  130. # P  Y: {, `2 O1 M6 V  O2 {3 f( v4 B; H
  131. ; register_argc_argv  n" Y0 J( U6 B7 i. L! `
  132. ;   Default Value: On1 `$ ~" k5 B$ a. d
  133. ;   Development Value: Off# I* s* L! s1 T  A$ p0 G
  134. ;   Production Value: Off
    % H* a' F5 z0 w2 ]% a+ G
  135. / @$ q: Z) _% x. S' R- K+ q
  136. ; request_order
    & P$ ?5 f) E% [
  137. ;   Default Value: None) X* d! H4 M  [; i. W
  138. ;   Development Value: "GP". R; f2 t% m' i. `  ^+ A, r# I
  139. ;   Production Value: "GP"
    * N1 Y, L" G8 }- @# u
  140. . P) P; g3 D+ V4 m. I; c
  141. ; session.gc_divisor' c/ I5 h3 \- e5 N" H
  142. ;   Default Value: 100
    ( v5 N  k2 j/ Z4 ?
  143. ;   Development Value: 1000
    4 M0 [- ]' o4 P; U2 z2 S
  144. ;   Production Value: 10001 u% C2 M7 T9 S) g+ ]
  145. : n: b& N* B; m4 o) |& L7 E! ?7 O
  146. ; session.hash_bits_per_character
    6 n2 n+ K7 D' z9 x" V! d
  147. ;   Default Value: 4
    * f  {9 ?- t3 U! D* K2 G% i5 ^
  148. ;   Development Value: 5
    : r$ U0 m+ _6 d. e# @3 J* Y% p
  149. ;   Production Value: 5
    - k6 S) y5 V/ D* t# F& F
  150. / K' V2 h3 L. W
  151. ; short_open_tag& `2 T$ {! V* @: d5 M( l
  152. ;   Default Value: On, x9 |' `$ ?5 Q4 {% |5 T- x! Z
  153. ;   Development Value: Off
    / Q' ]8 R- T4 V
  154. ;   Production Value: Off% N, B$ l9 S7 z7 h- v
  155. ; |* t/ X. ?- {2 W% F
  156. ; track_errors% u: V( `& K" q2 [3 O
  157. ;   Default Value: Off2 i" g$ f. m) r
  158. ;   Development Value: On
    9 M; n& `- |( |9 }# ^, `
  159. ;   Production Value: Off
    9 i5 V9 P& H8 |5 f% x4 W

  160. ; c4 F& n/ j! l2 C+ m' R2 _# m$ b
  161. ; url_rewriter.tags0 q2 Z; L4 m! b" H8 R9 ^& p
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    + q: J, C: Q* f7 {, a
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"' e% i( k3 E9 ~- M2 B* b
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 F+ E* S1 u! W. C) l% g: t$ u

  165. . ?( [! C: n9 Y, b9 s  Z) M9 C
  166. ; variables_order) b/ G) Q' V+ C! ~( u4 ?/ `: b; K
  167. ;   Default Value: "EGPCS"
    4 \0 `: y" H5 g$ V/ [
  168. ;   Development Value: "GPCS"
    ! T8 ~/ f* ~3 J" W8 q% }3 u
  169. ;   Production Value: "GPCS"
    / `+ U( g; Z( j% H# V
  170. " X4 ^4 E+ I! M) g! O6 f: O2 C
  171. ;;;;;;;;;;;;;;;;;;;;
    ; F* H2 X8 @5 R6 G
  172. ; php.ini Options  ;
    " S9 Q( ^; a' [, q  ~
  173. ;;;;;;;;;;;;;;;;;;;;
    ( X+ S: l* b% B- j5 _. D+ `, B
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    8 V8 [: n- s+ q. Q% E$ M, S/ ?
  175. ;user_ini.filename = ".user.ini"
    % p) O4 s6 P, l" c5 E- C9 D
  176. & G6 \. i  o  m* C$ e% l4 G
  177. ; To disable this feature set this option to empty value* A! ?# C) C* D: g5 r+ q
  178. ;user_ini.filename =; R- m/ B2 M; v9 j& w3 U) w. Y
  179. 6 @6 l. m# v& T2 q# Q
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)$ G4 Q" ?1 z% t
  181. ;user_ini.cache_ttl = 300) S% @. [( y4 m! X8 n" o
  182. 8 p  K" z! ?7 ^' J, U/ u
  183. ;;;;;;;;;;;;;;;;;;;;
    8 p0 F7 I" R* ^. z
  184. ; Language Options ;+ f9 t/ G% N" B" M, @9 K
  185. ;;;;;;;;;;;;;;;;;;;;
    ( K6 i. c* B2 ?# p3 Z  s: L' O

  186. * W* V% |4 V6 X2 u. C: [
  187. ; Enable the PHP scripting language engine under Apache.1 R; B! S  b' z- j: J# K
  188. ; http://php.net/engine
    , d6 Y$ `- W! H5 X
  189. engine = On
    ) v6 ]# d- U2 R- D. f

  190. * C0 d# B5 e+ b7 J9 ^
  191. ; This directive determines whether or not PHP will recognize code between
    % Z0 @& m% e8 g
  192. ; <? and ?> tags as PHP source which should be processed as such. It is4 E( ^9 r$ D7 f1 Y) W
  193. ; generally recommended that <?php and ?> should be used and that this feature
    2 n  m0 P2 s( f: h6 K. d7 S1 T/ o- v
  194. ; should be disabled, as enabling it may result in issues when generating XML) I) h$ {! W% k0 S  l: M
  195. ; documents, however this remains supported for backward compatibility reasons.0 q6 o$ y9 `0 u4 |, d
  196. ; Note that this directive does not control the <?= shorthand tag, which can be! ?. a3 c. @7 T, g( T* A
  197. ; used regardless of this directive.6 j9 a* X( D( U7 Q/ t% B) a* m, j- d
  198. ; Default Value: On
    " ^$ M" p3 Z9 H0 h
  199. ; Development Value: Off! K; w$ K2 d0 X0 W. i
  200. ; Production Value: Off& @( h/ t( E, _4 Z3 S; J
  201. ; http://php.net/short-open-tag' g' y, `5 k  x4 q6 U. F. O; M
  202. short_open_tag = On. P$ m# x3 n* U) F
  203. 9 ?$ {0 |) X& C1 N! x2 X1 |4 w
  204. ; The number of significant digits displayed in floating point numbers.
    ; i  J  w0 o7 d& T" J4 o8 O, ^6 j, p
  205. ; http://php.net/precision* [% [* P* ]7 j# r6 Q
  206. precision = 14
    : J% R6 ]- P) K. h2 }

  207. , Q0 B# E! Q) c: e2 @. Y# M
  208. ; Output buffering is a mechanism for controlling how much output data. Q4 s5 V1 T% }8 p% c0 A' z
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that! G# f, {' N# m0 ?- X6 ~5 }
  210. ; data to the client. If your application's output exceeds this setting, PHP+ Z( A" g  P& O% Q4 N
  211. ; will send that data in chunks of roughly the size you specify.
    1 B% \* ?# p! b% _7 R
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    / c' d( ?3 _& H: I- p: x5 M- z
  213. ; interesting side-effects depending on your application and web server.# W0 T$ M8 X2 J" A5 L! L  t/ ~5 A
  214. ; You may be able to send headers and cookies after you've already sent output
    ; I8 X; f- [  t& O$ [/ u5 `
  215. ; through print or echo. You also may see performance benefits if your server is2 D; Y3 L0 B! S$ J
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    ; ?6 x$ V  A* i
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance; @; o& ^! X  I" l
  218. ; reasons.' G& X# @, [: j  _  t3 C' {' M6 v
  219. ; Note: Output buffering can also be controlled via Output Buffering Control, e: I* R6 y) c& p4 n; X- O
  220. ;   functions.; ^) N% P' I( R; P8 P/ U
  221. ; Possible Values:8 Z5 b0 y1 t, b3 i  K
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)3 Z) T& O) _/ M5 Z5 S5 n  l
  223. ;   Off = Disabled$ r+ i) i" O" Q& }1 Q
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.+ `, N8 ?- ^" k
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    $ I  C5 m& i" V8 |6 \- n
  226. ; Default Value: Off9 v& k' C& i- \% q9 p- f
  227. ; Development Value: 4096( g0 ~( ^8 {- }, Y8 R: z( _+ N
  228. ; Production Value: 4096& N0 q, o9 k4 o7 `5 A1 x; G
  229. ; http://php.net/output-buffering
    8 L! A4 r4 V" l. u" u
  230. output_buffering = 4096
    , h0 V; o( q" U3 X

  231. 0 Q6 e5 m1 G: g4 ~/ ^# O2 s( {
  232. ; You can redirect all of the output of your scripts to a function.  For
    4 Y* {& Q2 H8 h$ @# D1 m
  233. ; example, if you set output_handler to "mb_output_handler", character4 @% b- W" y* y- ?* f* A& b* n
  234. ; encoding will be transparently converted to the specified encoding.
    , ]( C. @1 L  u( j
  235. ; Setting any output handler automatically turns on output buffering.8 [) m5 V$ X: b- ~% i0 L; J; b
  236. ; Note: People who wrote portable scripts should not depend on this ini9 N% D7 n) m7 c9 ?$ J4 A
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
      ~: N: Q8 a; u- a0 o
  238. ;   Using this ini directive may cause problems unless you know what script
    ' E3 Y& T( d" ^2 {; W
  239. ;   is doing.! u) X# i, L3 V: N8 G) j7 P
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler". C; F8 F/ Z5 L3 A% T
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    " h9 C8 `) c( q- o, g+ {$ t
  242. ; Note: output_handler must be empty if this is set 'On' !!!!% c  X- H; j% V) T# Z
  243. ;   Instead you must use zlib.output_handler.
    ! f0 x' O3 Y- J$ J  b# o
  244. ; http://php.net/output-handler$ G8 @; A1 P# A+ d4 P  A
  245. ;output_handler =
      h% [+ X: ?  C) f1 m2 y6 {
  246. . M  {( }7 s! Y8 ?& i5 _  @# O
  247. ; Transparent output compression using the zlib library
    9 L* A2 T; ^# `2 @6 E4 d& Z
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    3 Q( ?1 P+ F+ O% Q, h
  249. ; to be used for compression (default is 4KB)7 V  I, W) e9 S
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    # U% ^% h1 ?+ A( `8 w
  251. ;   outputs chunks that are few hundreds bytes each as a result of9 x) t5 Z+ T3 C8 Y# Q$ Y
  252. ;   compression. If you prefer a larger chunk size for better1 [% s+ J7 M& Q
  253. ;   performance, enable output_buffering in addition.
    9 J; R7 Z/ }' w3 R  E! l& @/ C
  254. ; Note: You need to use zlib.output_handler instead of the standard
    3 j6 T' w& H* s1 ^8 R0 E
  255. ;   output_handler, or otherwise the output will be corrupted.
    ( S$ t) T" p2 K" X; `4 H
  256. ; http://php.net/zlib.output-compression1 Z: P8 _8 y- d+ T' S+ S
  257. zlib.output_compression = Off, ^* z3 L/ r9 k; F

  258. & A$ K5 I2 z# A- Y1 E
  259. ; http://php.net/zlib.output-compression-level
    ; \3 ]2 {& T5 d2 {+ l% \
  260. ;zlib.output_compression_level = -1
    " L2 Y" d* G& R9 D

  261. 4 a/ V# p" P; |  |& N$ O
  262. ; You cannot specify additional output handlers if zlib.output_compression
    0 o% c2 X5 u. q, X8 h
  263. ; is activated here. This setting does the same as output_handler but in
    / Y; w% J: g8 r/ z& r% W
  264. ; a different order.
    ( X8 {1 t& T3 Q* B/ J( m; A
  265. ; http://php.net/zlib.output-handler
    ' O2 A& _( o# S# c2 r( A& r( T
  266. ;zlib.output_handler =9 ?; k* g' x( O- V( W$ @

  267. 8 m- z6 H# S/ a- R' O" f9 b) A
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    # G! H/ H0 `/ b# ~
  269. ; automatically after every output block.  This is equivalent to calling the
    * \' t' n. i# B4 }6 \/ _# M$ Z' e
  270. ; PHP function flush() after each and every call to print() or echo() and each% l. ~0 R7 e/ J5 ?
  271. ; and every HTML block.  Turning this option on has serious performance
    & N: c+ i. q; Z$ f" W
  272. ; implications and is generally recommended for debugging purposes only.9 |7 P( `4 p1 i% r( R
  273. ; http://php.net/implicit-flush
    3 S! ]$ O" {2 n6 |0 @
  274. ; Note: This directive is hardcoded to On for the CLI SAPI' O! x$ ?2 g) z* s" V8 p2 E
  275. implicit_flush = Off: F2 v. P3 a' X
  276. 6 W, t; h1 }  _' Y2 z, K5 t
  277. ; The unserialize callback function will be called (with the undefined class'+ T1 _+ a& ^' g
  278. ; name as parameter), if the unserializer finds an undefined class
    % K& x2 G4 f& w, a) V% u
  279. ; which should be instantiated. A warning appears if the specified function is
    ) ~6 I5 f0 U) X
  280. ; not defined, or if the function doesn't include/implement the missing class./ F% f; N0 k# r$ r! U
  281. ; So only set this entry, if you really want to implement such a. Z7 ?9 u- a5 r! j
  282. ; callback-function.
    $ s* ^% T. `# g6 Z5 m  Q
  283. unserialize_callback_func =3 a! H# w! {+ d0 k& s4 g
  284. ( i* l% N* O: O" ~
  285. ; When floats & doubles are serialized store serialize_precision significant
    + I( n" e! [4 d2 w1 \( d! H
  286. ; digits after the floating point. The default value ensures that when floats
    , ^5 a6 R+ M* p7 _8 V" t/ i
  287. ; are decoded with unserialize, the data will remain the same.
    , A4 K+ h) ^9 L: N6 a: |
  288. serialize_precision = 17
    7 ^" K0 |9 d1 p. f9 _
  289. $ p& m2 k) o5 V8 }% K
  290. ; open_basedir, if set, limits all file operations to the defined directory  c. s9 i# L; p9 B9 W
  291. ; and below.  This directive makes most sense if used in a per-directory9 u: ^# k: H( |4 h
  292. ; or per-virtualhost web server configuration file.8 ?5 F- l$ ~9 {8 m; F
  293. ; http://php.net/open-basedir
    / z% `* M/ }+ E( w) q6 M# a1 H
  294. ;open_basedir =; S1 I( |' |4 d( s4 P) U

  295. $ c' s( Q+ d& z- @" P( w
  296. ; This directive allows you to disable certain functions for security reasons.
    ) e2 ?8 B2 @' Z* e+ m
  297. ; It receives a comma-delimited list of function names.# A8 i8 f  }6 u. M6 t5 r  B1 y( \
  298. ; http://php.net/disable-functions& U5 B. t) K( m1 l
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    1 V0 ^7 C; ]; v3 j; A; c

  300. ! d2 D5 p6 ~$ u
  301. ; This directive allows you to disable certain classes for security reasons.
    & V8 f9 C( {& _* L; _2 i
  302. ; It receives a comma-delimited list of class names.2 j, e  Q1 J2 t1 n: g4 H: `
  303. ; http://php.net/disable-classes
    , A! Q) B1 q# i
  304. disable_classes =: s/ J3 k/ C6 {4 M" Q
  305. 7 t% X# j$ M& k+ J
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in7 Z" L8 _  h: D) d- k) {5 a3 A
  307. ; <span style="color: ???????"> would work.+ d. F3 y1 O6 s) S( F- }- b
  308. ; http://php.net/syntax-highlighting
    * i: v1 J+ ~3 Q9 T; A) g
  309. ;highlight.string  = #DD0000
    % @$ q( n% ^. ^  `6 A5 A7 _  h
  310. ;highlight.comment = #FF9900
    + j* e$ S& _% z( W6 S
  311. ;highlight.keyword = #007700' V2 H, t8 u) w  a
  312. ;highlight.default = #0000BB. ~/ Q1 C4 W8 s% ?- u+ j8 l6 s
  313. ;highlight.html    = #000000
    % k9 w) y2 s5 \( y. w
  314. $ f/ X' q# A- \( _
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    $ g! V/ [* G1 f3 ]& l* u: ]3 A+ I
  316. ; the request. Consider enabling it if executing long requests, which may end up
    $ _. ?9 j+ g  _. N8 }9 {
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior3 v: V% H5 L0 B' F0 z0 y
  318. ; is to disable this feature.3 c6 t- l5 e" t$ U5 Y3 H
  319. ; http://php.net/ignore-user-abort5 Z, X% {/ q; O5 ]: b
  320. ;ignore_user_abort = On* [- J+ W; [8 E9 @. x

  321. * Z6 p  C& d  R, e4 X5 P+ T
  322. ; Determines the size of the realpath cache to be used by PHP. This value should& J- t2 z9 Y- E" S9 C
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    / h! }: M! T5 C- _# P7 O& Q7 o
  324. ; the file operations performed.. Q$ H. t- u4 k3 c4 E( S
  325. ; http://php.net/realpath-cache-size$ o& `, p) n6 V% R- V9 U8 c* m
  326. ;realpath_cache_size = 4096k1 B! {: v  P6 {0 H

  327. & @) w) V3 }3 c. \) j; k1 }6 S
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    ( l# W) N( L! O3 M+ H
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    8 `0 E, ?% E% Z$ q! Y$ G
  330. ; value.
    " O' K8 p! B+ P7 A
  331. ; http://php.net/realpath-cache-ttl( Z$ B/ N8 p: w$ T* {" \
  332. ;realpath_cache_ttl = 1205 K  j; T0 d7 l- \: X3 f8 ]) H! a

  333. 7 y6 f) ~/ l" E& L( G3 }3 G
  334. ; Enables or disables the circular reference collector.
    ' \7 U2 P% j$ w
  335. ; http://php.net/zend.enable-gc' L; y' g0 U  V1 Y/ j/ F
  336. zend.enable_gc = On
    - p+ |9 N1 V. ^4 S$ I  {5 ?; Y

  337. # ^$ O5 s) B9 _7 Y
  338. ; If enabled, scripts may be written in encodings that are incompatible with9 w& c+ j9 u- P* }3 l
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such/ a! G1 D! d" s  S
  340. ; encodings.  To use this feature, mbstring extension must be enabled.+ }" x. t/ l' K) _6 W1 I# K
  341. ; Default: Off
    & @; u! L% n; H* q) W
  342. ;zend.multibyte = Off
    % G4 }, X& ^) i6 |3 U' L9 e
  343. ( A# _+ K3 c8 \' t3 X/ {
  344. ; Allows to set the default encoding for the scripts.  This value will be used. w" j+ q. J2 m0 R8 L
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.2 \  L8 A5 S* v+ [( V5 J
  346. ; Only affects if zend.multibyte is set.
    9 K; f7 }& ~" s: [+ H7 ?
  347. ; Default: ""
    - X, x, C% S; ~$ u5 J9 J
  348. ;zend.script_encoding =3 j" j4 {+ S; i. ?

  349. 0 J  f+ g  T/ m
  350. ;;;;;;;;;;;;;;;;;& f3 P. Q0 [8 o: D% A) Z& m
  351. ; Miscellaneous ;
    " Z9 R- i2 n5 M! O/ E& l2 N8 {
  352. ;;;;;;;;;;;;;;;;;, G1 ?5 E, L( v

  353. . B; F" J; _0 f6 E
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    / Z2 F, H9 J- k  p- a# C2 @; @4 h
  355. ; (e.g. by adding its signature to the Web server header).  It is no security( [# }" ~! Y5 I" A2 h" G* x  U) ~5 E
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    3 B: }5 k0 L1 r! e' e" S( K
  357. ; on your server or not.; h  ^7 U8 w  B1 B+ d
  358. ; http://php.net/expose-php" T2 I% K  [  ], Q8 w
  359. expose_php = On- A% s' w: P' M( ?; I! K! i, q
  360. - k7 ~( @7 }( T2 f  R7 k
  361. ;;;;;;;;;;;;;;;;;;;: k7 w5 V( ?; D+ ?7 G
  362. ; Resource Limits ;
    1 u6 n. X; t" w! @9 o2 S+ h
  363. ;;;;;;;;;;;;;;;;;;;1 c: u8 U* U' i

  364. # `, R5 M2 ^5 \/ w) I: L
  365. ; Maximum execution time of each script, in seconds; _4 W# C5 _$ |) U2 {$ ~2 R
  366. ; http://php.net/max-execution-time7 A; \2 h5 t- [/ v
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    9 @) e7 B; z, _9 X0 r+ P- |% q0 b
  368. max_execution_time = 300
      Z' J/ z* F1 W; Q3 F  `
  369. 9 K! q9 _) D# q- N$ A1 V
  370. ; Maximum amount of time each script may spend parsing request data. It's a good/ P; H6 x: \* o  m0 f! P
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    + v& D: w1 R4 {' U
  372. ; long running scripts.
    # G6 _) @8 H5 j
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ! k" B  L) D. i
  374. ; Default Value: -1 (Unlimited)
    ; p! @  M% ]+ P
  375. ; Development Value: 60 (60 seconds)
    " h  H1 k3 X. y- h) {
  376. ; Production Value: 60 (60 seconds)
    4 x# s" E- H) C8 }$ \* \0 z
  377. ; http://php.net/max-input-time
    6 K( d6 o- N* W) v6 f7 E( K5 }9 w
  378. max_input_time = 60
    3 J) B- x5 m2 I6 y
  379. & t+ N: K# s$ b( }- Q( Z
  380. ; Maximum input variable nesting level5 o2 _' ~) ~/ J
  381. ; http://php.net/max-input-nesting-level: T4 X6 r1 j1 e6 G/ l* a  t  G
  382. ;max_input_nesting_level = 649 R8 J( P7 K% N, B' @
  383. ( X, F6 j4 v1 L
  384. ; How many GET/POST/COOKIE input variables may be accepted* ~. |6 l& n# X
  385. ; max_input_vars = 1000# b1 W+ l4 R$ X/ p

  386. ) H+ n& {1 t, v
  387. ; Maximum amount of memory a script may consume (128MB)
    ; v  S& V" J. V& @- C
  388. ; http://php.net/memory-limit* q* ]% J3 D) y& p; s& X
  389. memory_limit = 128M/ _$ d6 F5 C7 l9 ]  i; {

  390. % O$ i. P  ?/ r- b# @  B) g
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; v, \2 E) Z" Z% p9 Y# C; w
  392. ; Error handling and logging ;
    ! t) W/ A$ |5 \
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;- x2 Z* w: [" H# U$ F
  394. ! F- h: G: \/ }* r- N
  395. ; This directive informs PHP of which errors, warnings and notices you would like4 @0 b" d0 S. U# ?0 q! w1 `
  396. ; it to take action for. The recommended way of setting values for this# l' T* r4 V( n) x8 Z+ ^: V: W
  397. ; directive is through the use of the error level constants and bitwise
    % a2 O& _+ ]5 q. U; f. R$ `5 m
  398. ; operators. The error level constants are below here for convenience as well as
    5 a- v) i! y. M3 N. F
  399. ; some common settings and their meanings.
    : k0 y) C( V; [* h
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    " i1 z5 ]6 B2 X3 a7 F- B
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ( A5 m* m5 {4 B. o/ ?% o1 ~
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    ) F8 `8 I2 I: e) u+ V1 {
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    $ M+ |/ a9 `' R) I* _8 I- a3 J
  404. ; resources complaining about best practices and coding standards. That's what
    4 R, O4 K9 \- Y2 v  Q
  405. ; development servers and development settings are for.
    " v7 ]' @7 F' \2 x- B' s
  406. ; Note: The php.ini-development file has this setting as E_ALL. This# u$ o" D2 k* e' ]* o
  407. ; means it pretty much reports everything which is exactly what you want during0 Q/ j8 H2 _* w7 w( h+ Q- _9 E
  408. ; development and early testing.8 ^" b. C* M/ I! \6 c8 t& V
  409. ;
    ' D# T7 z2 t9 a4 N
  410. ; Error Level Constants:
    / W% N7 J% y$ w4 l0 M9 Y( u
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)4 g8 k2 h- X* d0 `. k
  412. ; E_ERROR           - fatal run-time errors; Z- w7 ^, w8 K. s* G
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors" B* @0 l. B+ @
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    3 x; A3 E0 R3 I1 H7 y
  415. ; E_PARSE           - compile-time parse errors# ^! m. ]+ U* R! m, o) S1 I
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    / h% P7 k$ G: n9 X
  417. ;                     from a bug in your code, but it's possible that it was: d. k+ p( u# ?9 U: Q' H5 P
  418. ;                     intentional (e.g., using an uninitialized variable and
    $ ^) n, w# ?3 f3 b+ L( Z
  419. ;                     relying on the fact it is automatically initialized to an
    2 v8 i& S9 r4 i% S7 W( `3 x# `# [
  420. ;                     empty string)7 e) R; a3 z; j* G. n
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ; a: r8 t- i* `1 a. k
  422. ;                     to your code which will ensure the best interoperability
    6 }2 N0 `) R3 z2 w  |% D( H
  423. ;                     and forward compatibility of your code( e/ W+ ]1 y* ^3 m
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup% D6 y3 _0 L' M6 p
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's8 E* L, Q( `8 V& W; J$ Y: b0 z
  426. ;                     initial startup, k" T* u: v- n4 k
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    : t. {4 H3 c, ^* H- ~1 Q
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors). `% h6 b. G" M$ y: n: E0 c
  429. ; E_USER_ERROR      - user-generated error message4 O0 Y  \- `! x) W0 r3 h$ ^0 @
  430. ; E_USER_WARNING    - user-generated warning message: C2 s4 D8 T1 F: s9 j. g
  431. ; E_USER_NOTICE     - user-generated notice message
    . Q. P, |  N$ Z* Y+ A  e1 b+ Z
  432. ; E_DEPRECATED      - warn about code that will not work in future versions' P% D7 W; h, J% P- A7 x
  433. ;                     of PHP
    0 n6 A' I" Q# V
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    & \9 A5 G- k2 A7 j
  435. ;
    * u- \$ m% d+ \
  436. ; Common Values:' m2 p  V# o& d  J
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    & W2 g  f8 l$ p! N" P9 v# z; V
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    # s4 Z; V; |$ ]- ]5 b" H% l* t
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.); E$ d, T+ }1 ]3 z' G3 ]
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    $ S9 l% E" {! E: Z
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED. y$ x; h$ p8 B7 T6 f
  442. ; Development Value: E_ALL
    ) y; B2 Q: o( L1 m1 y# j0 S
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    - K# @  v# r% [
  444. ; http://php.net/error-reporting  N7 O  X" P% T$ }5 q
  445. error_reporting = E_ALL & ~E_NOTICE; l( b; {4 X2 I

  446. - }! @; ?% E& [' w9 h8 H3 w
  447. ; This directive controls whether or not and where PHP will output errors,
    & T) _/ t5 C7 c
  448. ; notices and warnings too. Error output is very useful during development, but4 \6 {; ?  ^; U* a
  449. ; it could be very dangerous in production environments. Depending on the code$ v% v7 U+ P/ H( [# q& y" Y
  450. ; which is triggering the error, sensitive information could potentially leak
    # @7 \% a" x8 P; @, ]; l
  451. ; out of your application such as database usernames and passwords or worse.0 l: y5 D2 d, D- v$ C# `0 W+ g9 }4 |  c+ H
  452. ; For production environments, we recommend logging errors rather than
    3 Y$ H4 ^$ \, y7 P
  453. ; sending them to STDOUT.
    8 q5 r$ e: x3 J
  454. ; Possible Values:
    $ b4 o* X1 V; _) n
  455. ;   Off = Do not display any errors
    0 F/ s+ i9 n& [- s' ^
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    % p( ^# `: k8 I
  457. ;   On or stdout = Display errors to STDOUT3 [% y( l' b: h  F5 L2 ?
  458. ; Default Value: On3 ~  y. [$ ?) T6 G4 a% m% y
  459. ; Development Value: On- d/ A# R: N% a! J3 p2 R
  460. ; Production Value: Off- {$ Z7 r- ]/ L+ S8 M" ^' R* I7 a
  461. ; http://php.net/display-errors
    ! \0 {" |  H/ R/ t% z5 ~2 W
  462. display_errors = On
    # V* M# F9 I! m) I. l) a

  463. 7 d, E8 y3 J$ @/ g8 H$ L1 u
  464. ; The display of errors which occur during PHP's startup sequence are handled: p0 k, ?) T0 v# j/ o( @6 N/ d& e& M
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    % c- j+ c) H& {/ Z! Z
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ; u1 s/ U' A, L% ~1 _
  467. ; debugging configuration problems. We strongly recommend you* o* J: r$ r; a4 _# f  |% S# e8 c5 y+ e
  468. ; set this to 'off' for production servers.
    6 G: f$ R4 h3 O4 o
  469. ; Default Value: Off
    ) ^4 b8 Z& l6 j0 K$ R
  470. ; Development Value: On  t! J4 w3 E2 I2 _6 [9 h! s
  471. ; Production Value: Off2 d4 ]. H0 m/ ~: c/ z! P- c
  472. ; http://php.net/display-startup-errors
    7 S  l& p1 \0 g1 n0 y
  473. display_startup_errors = Off8 I9 t, `$ ?. ^2 `+ t

  474. . V7 c' x: c. V1 B* F3 B
  475. ; Besides displaying errors, PHP can also log errors to locations such as a$ p/ `/ s& j: X1 m/ Y' {. T
  476. ; server-specific log, STDERR, or a location specified by the error_log
    : V# m+ w7 J( @" ]/ k4 f& t" c
  477. ; directive found below. While errors should not be displayed on productions. t' I; q( q5 ^
  478. ; servers they should still be monitored and logging is a great way to do that.. z; Z" X6 V0 {, [* Q
  479. ; Default Value: Off' Q' J7 `& k5 Z4 x6 ~- |
  480. ; Development Value: On! j5 }8 M, G* }( B  l
  481. ; Production Value: On
    7 [8 v" ^$ c& U* F
  482. ; http://php.net/log-errors
    % Y4 g0 b7 k' p+ e4 ?: S
  483. log_errors = On1 ?9 @; J, Q. S/ j
  484. 7 z, d1 ^/ W. r: ~0 E' x8 g
  485. ; Set maximum length of log_errors. In error_log information about the source is5 c7 {3 D3 h' A$ K! O% e9 @
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.7 j. n; X$ G$ p' j+ F
  487. ; http://php.net/log-errors-max-len; @% {; J1 N9 ^. Q
  488. log_errors_max_len = 1024, j. K! P; ~" s9 J2 C. X  @

  489. # [7 T* {; q( v& G
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    7 Y- K  p' c0 A7 \( A
  491. ; line unless ignore_repeated_source is set true.. c% \$ N) h8 o2 q
  492. ; http://php.net/ignore-repeated-errors, @* \* k5 Q2 J& o8 ~$ ^0 n
  493. ignore_repeated_errors = Off! N& f" d, l4 J8 B8 k2 F

  494. $ S8 O1 S  b. J' O  Y9 l+ P
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    5 m5 q2 E2 Z6 k- g, y5 i2 ?
  496. ; is On you will not log errors with repeated messages from different files or
    / o4 r+ u0 b; h; `. `* @
  497. ; source lines.; l& a. l9 a# F8 r/ c
  498. ; http://php.net/ignore-repeated-source5 L9 l6 L5 T/ e) r1 Z2 Z/ t
  499. ignore_repeated_source = Off& [0 F! n+ c9 K$ p: f
  500. # w+ C, `9 c, H" c! i
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    , I9 w& R" O  U! {: {, v2 O
  502. ; stdout or in the log). This has only effect in a debug compile, and if7 N8 {* l: q# l: R! w
  503. ; error reporting includes E_WARNING in the allowed list
    2 z' {( n+ \! L1 `2 q; q+ }
  504. ; http://php.net/report-memleaks
    * Y, O* W1 l" Z9 h8 _: [5 u7 H/ T
  505. report_memleaks = On
    1 J6 Z. A2 {/ R+ u! I
  506. / g1 N# Z+ g" S1 m% K) X
  507. ; This setting is on by default.0 Q- U$ G2 P$ i2 \
  508. ;report_zend_debug = 09 t' A" H# v) ~1 d3 u: g
  509. & h" O9 I2 q3 D& D, ~; D9 y% j
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    9 t9 F/ J8 o& t2 o, m: s5 K/ q- ?
  511. ; to On can assist in debugging and is appropriate for development servers. It should! E; t  ~2 ]- b6 [0 a5 ?, c
  512. ; however be disabled on production servers.
    % s; a( p! q5 \9 Y5 E
  513. ; Default Value: Off
    " @, t$ H# D) F. X3 V. c, D6 ?
  514. ; Development Value: On" Z" K# ~0 I2 w3 s3 `4 g4 ?
  515. ; Production Value: Off5 w9 u9 Y: }/ h( Q9 M/ w
  516. ; http://php.net/track-errors
    & T2 c- C& h7 T/ k& o( b1 v
  517. track_errors = Off! n3 J" y7 J0 j) Z
  518. ) K+ Q. w# S* e" M% g7 k
  519. ; Turn off normal error reporting and emit XML-RPC error XML1 \: v& Z  x; p0 R; ^" e
  520. ; http://php.net/xmlrpc-errors
    3 ]/ c" R- T* [2 a2 f! N
  521. ;xmlrpc_errors = 07 }' C! k% Q( b; n# @8 I
  522. * g; Z  A. r) {) q" f
  523. ; An XML-RPC faultCode% y* _) {) t- T1 j# I, u9 U% \$ x
  524. ;xmlrpc_error_number = 01 _6 d1 o" }3 ^7 K- X$ i

  525. / m4 N4 ^7 m* @
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    $ r* P1 [( B, Y' R% I
  527. ; error message as HTML for easier reading. This directive controls whether
    5 g! p1 O: a$ z! ~8 y
  528. ; the error message is formatted as HTML or not.& {* o7 ~: G, `; G( s, X
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI, n& m% `; B+ _& p6 h/ c) w+ M
  530. ; Default Value: On2 c6 s# l$ F2 p+ h  x# P% B
  531. ; Development Value: On
    + Q. V& U! a* b, j3 {& q
  532. ; Production value: On
    7 r! s" \8 P) x; D3 I1 F8 `) u! l
  533. ; http://php.net/html-errors
    3 ~! b6 T% ], L: H1 z
  534. html_errors = On1 {  X6 w( f) Y- M" i! T
  535. 7 A7 N; G4 o; S5 N2 H8 R
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    , ]% ?, P- e- j9 S! N; J
  537. ; produces clickable error messages that direct to a page describing the error
    0 z% W8 K3 n; e2 j' q9 i1 @
  538. ; or function causing the error in detail.
    " M  s$ p8 C+ e& j3 k
  539. ; You can download a copy of the PHP manual from http://php.net/docs0 S5 n; H3 B! f+ Q5 G
  540. ; and change docref_root to the base URL of your local copy including the. F' G  F( v0 R* \
  541. ; leading '/'. You must also specify the file extension being used including
      W& _+ X. M( ^! |8 y
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    + C6 n5 m9 s+ V( j4 O
  543. ; case no links to documentation are generated.
    7 x, q9 J" U! i8 `& U6 D7 k& X+ G% D
  544. ; Note: Never use this feature for production boxes.: u( U: n3 N( X
  545. ; http://php.net/docref-root6 j8 o: W; }' \' ?' \
  546. ; Examples
    4 C+ j$ @# |6 G8 u
  547. ;docref_root = "/phpmanual/"$ F! |5 `; o! @, a0 E" g2 X1 O+ D
  548. % b3 O6 u" [8 Y, ]6 Z+ e& ?
  549. ; http://php.net/docref-ext
      B4 j! }2 I5 y+ t! N* ?. d- Q
  550. ;docref_ext = .html+ T- P' d0 Z( W) q3 o' h

  551. " B* `+ Z) H3 B, q+ N  S! x/ n. [
  552. ; String to output before an error message. PHP's default behavior is to leave5 O2 E' b+ ]+ _9 W
  553. ; this setting blank.
    5 ]/ h7 X, b( R* q
  554. ; http://php.net/error-prepend-string( J# G0 Y7 B* E9 R6 n' j# o
  555. ; Example:1 V6 R" g5 Y8 W. O  B
  556. ;error_prepend_string = "<span style='color: #ff0000'>"+ r4 _* L2 k* y" k

  557. ; i4 P; l9 D3 l$ L
  558. ; String to output after an error message. PHP's default behavior is to leave
    ; O1 S3 i5 c$ @4 v4 x5 e  d
  559. ; this setting blank.- ?9 F/ b  ?* J& _) [5 m
  560. ; http://php.net/error-append-string& E1 J& y) E6 V  B# P. w
  561. ; Example:
    + p. K! Z4 K8 J1 `, i- T- @, Z
  562. ;error_append_string = "</span>"4 @& _* X$ q: V+ @

  563. 2 j0 ?1 v- N6 E, I( `8 e9 S4 g+ W
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    ! E+ N! ~- ?, o+ x" f* b
  565. ; empty.
    $ f9 t  q9 z( x
  566. ; http://php.net/error-log
    1 |) y: d( q& {2 H- _
  567. ; Example:0 J( d! ^3 O# P$ X. @- @5 Q$ V
  568. ;error_log = php_errors.log
    ; X' G5 }3 c0 g$ x  @+ Y, M
  569. ; Log errors to syslog (Event Log on Windows).
    + c/ W' s7 ]; z9 a
  570. ;error_log = syslog
    : N; a) L$ }& n) ^! {5 x

  571. ) G5 o0 C/ H0 [3 w& d  r4 J
  572. ;windows.show_crt_warning
    ) y1 {  Q6 H" b& x, U# v
  573. ; Default value: 0/ F& g9 j3 F9 D% h5 }. T; j
  574. ; Development value: 0
    ( p5 h& Y. g9 d- M- T8 w
  575. ; Production value: 0& T" x- |4 N( Z5 s# X( p4 M

  576. # u" h7 P0 S+ k: o# I
  577. ;;;;;;;;;;;;;;;;;, X' L0 p: i- p+ }( Y# W
  578. ; Data Handling ;
    7 \  `6 l8 g4 M7 N9 Z
  579. ;;;;;;;;;;;;;;;;;% I) T2 V: P8 v, T
  580. ! V' [# y8 f+ j. _
  581. ; The separator used in PHP generated URLs to separate arguments.5 _% h: W% z% j7 g+ d
  582. ; PHP's default setting is "&".
    8 ]4 d3 q1 p# t
  583. ; http://php.net/arg-separator.output
    9 U& }( c6 b# c" S" H9 {: O3 s) P+ C
  584. ; Example:
    9 S8 ?( \( a7 [6 z0 X7 @
  585. ;arg_separator.output = "&", V; Q- D/ ^9 k- n( |$ \! H, @" A  R
  586. 8 I. t4 P2 [1 U9 h" e! S
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    + W3 |' v2 S. c) ]$ |" K
  588. ; PHP's default setting is "&".
    1 c( D* \9 V' d; G! _7 A1 \+ g
  589. ; NOTE: Every character in this directive is considered as separator!
    - f9 i3 N% T% @( w7 O
  590. ; http://php.net/arg-separator.input
    : t$ a- M4 k: k2 E
  591. ; Example:. i+ M5 w- h; N" V3 H' W5 C6 |
  592. ;arg_separator.input = ";&"' y$ z% I; r% I8 Z$ H" D0 r: N

  593. " I9 r- o1 {9 m0 l) e9 v
  594. ; This directive determines which super global arrays are registered when PHP
    ! W( y2 d' _! t  o
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    6 x( s; R9 ~: I# G7 h
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty) o0 g7 E2 q9 y' A( R1 z
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    ) m1 Z8 N6 q: ]9 j* D; j- H/ n  u
  598. ; used as the others, ENV is not recommended on productions servers. You
    ( Q! S9 `3 Z- F% j. s& ?
  599. ; can still get access to the environment variables through getenv() should you. c# q& c/ c) {
  600. ; need to.7 Y& W7 O- L# K$ m
  601. ; Default Value: "EGPCS"
    0 v; \4 a( t, |4 X6 y+ s
  602. ; Development Value: "GPCS"
    / ?8 K9 r# E% b" V; D1 i
  603. ; Production Value: "GPCS";
    8 b: d: _: J" T, N# U* A
  604. ; http://php.net/variables-order9 F; g$ e$ s2 f1 B5 b' ~
  605. variables_order = "GPCS"6 U. C" o( ^; g& Z! l/ ?
  606. ) K  y: E+ a% [# c1 u6 D$ |
  607. ; This directive determines which super global data (G,P & C) should be
    / e7 y8 v* W( S- w
  608. ; registered into the super global array REQUEST. If so, it also determines
    8 Y' @6 j7 o1 A) u
  609. ; the order in which that data is registered. The values for this directive
    + x' u, ?% i0 ~
  610. ; are specified in the same manner as the variables_order directive,
    4 b9 m- k- X! g
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set2 o& R# i9 O, Y& I
  612. ; in the variables_order directive. It does not mean it will leave the super' v4 f& F' b+ R/ G
  613. ; globals array REQUEST empty.
      T  {' ]) Y1 x( |# R
  614. ; Default Value: None
    3 B6 l* u. @5 ]/ a& w
  615. ; Development Value: "GP"
    3 l9 B8 g/ Z% D# C9 u
  616. ; Production Value: "GP"
    5 o. U& ]' L$ Q5 W. O8 r
  617. ; http://php.net/request-order
    2 _1 J1 k6 y) U
  618. request_order = "GP"
    0 U& g, I2 ~. p: a& m1 y. l2 Z5 G

  619. . I1 p3 |5 q7 k* f$ S. j
  620. ; This directive determines whether PHP registers $argv & $argc each time it  p0 y) S. E( m. i9 g" t+ {
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script. b3 v6 t* J! E1 O: D
  622. ; is invoked. $argc contains an integer representing the number of arguments
    % P) F' R6 i& [
  623. ; that were passed when the script was invoked. These arrays are extremely
    & S4 {. c. Q( Z. A% }- Q
  624. ; useful when running scripts from the command line. When this directive is. g/ c& L( G* o4 L
  625. ; enabled, registering these variables consumes CPU cycles and memory each time9 C2 z$ o5 G/ H# I9 o( h' o
  626. ; a script is executed. For performance reasons, this feature should be disabled
    4 \( b* P" j$ @; S
  627. ; on production servers.
    3 ]. m, E1 N8 i* w
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    # ~" ^$ k2 S: P+ f% J  r+ _" j
  629. ; Default Value: On
    ; e1 G4 c7 A) q$ @
  630. ; Development Value: Off% d) m: ^/ D: |
  631. ; Production Value: Off4 e; @" Z& w, X, q) M
  632. ; http://php.net/register-argc-argv
    4 m( i2 @/ P" i; G
  633. register_argc_argv = Off
    $ p; r* B( q; K1 f; X& p
  634. - ]; _1 Q  w! X( |" r" V6 z& S* |0 v
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    " C1 {3 x* G" \* c8 ?5 ^: e
  636. ; first used (Just In Time) instead of when the script starts. If these0 A( C( O' j8 H3 j( n1 P
  637. ; variables are not used within a script, having this directive on will result
    7 k! D* S+ T% Y# ?4 X0 R" J1 M
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ' T, s# D8 q8 e- A* m$ w
  639. ; for this directive to have any affect.
    2 Q  o) x: f: s! s& W' G! b
  640. ; http://php.net/auto-globals-jit8 @, m' |% b& n, A4 [: c$ f
  641. auto_globals_jit = On
    - U1 y6 @7 _* [

  642. : y9 a# y4 s0 B# `: \2 I: `
  643. ; Whether PHP will read the POST data.7 o4 O: ?4 |7 S* G3 K  V% Z/ f
  644. ; This option is enabled by default.. o. v* ?7 r2 R
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    1 g% m* o& }; o2 X5 g% O6 M/ N3 q
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    ( a9 ?6 M0 Y' h
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    $ o* Z4 ]8 O3 ~9 P. ^$ I9 u+ ~
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ; ~" ]' q( I  k/ A
  649. ; http://php.net/enable-post-data-reading, o3 F) t) r5 R& ]% \' k: N' M
  650. ;enable_post_data_reading = Off
    ( b& m- v. e; ?) I( f, N
  651. % L3 C/ A! D/ w7 T
  652. ; Maximum size of POST data that PHP will accept.% l& c" m, F0 t* x4 T1 a
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    % a/ u3 r  P- p2 G
  654. ; is disabled through enable_post_data_reading.
    & C% S) Q  ?/ [- t$ ~0 s- J: j
  655. ; http://php.net/post-max-size
    / G! I7 a( x; N% E
  656. post_max_size = 50M. q. F) P; G5 l8 p6 k3 t
  657. ! ?( M5 j, g* Y, d8 g" W' @3 i
  658. ; Automatically add files before PHP document.4 T0 O. g4 c0 W! _) S; Q! X
  659. ; http://php.net/auto-prepend-file
      v/ R9 T2 f/ b
  660. auto_prepend_file =' k( U: K7 C! I6 P
  661. ( u& p' s- I" T2 |& ]
  662. ; Automatically add files after PHP document.& H4 F& V& g5 t' P
  663. ; http://php.net/auto-append-file
    % V" y& y2 J0 E9 G
  664. auto_append_file =3 o+ p. x, H' o7 ~7 _+ n
  665. 2 u9 J; c: z* l/ ?/ |" V' w2 ^
  666. ; By default, PHP will output a media type using the Content-Type header. To/ {& G- X3 L1 @( S9 z1 p
  667. ; disable this, simply set it to be empty.. l9 D0 {+ v# T
  668. ;
    # }& z* W; |( n& W1 m( y7 O
  669. ; PHP's built-in default media type is set to text/html.
      N3 |* U8 k) ]) k, O3 @
  670. ; http://php.net/default-mimetype
    % S/ Y' O/ p' S8 u6 r
  671. default_mimetype = "text/html"2 Y0 \- b  i+ V. ~
  672. 3 F% R1 }$ l& W$ |9 l
  673. ; PHP's default character set is set to UTF-8.
    0 h; Y3 f8 I" \& ^( ?, ?3 o* p
  674. ; http://php.net/default-charset
    9 x/ E4 V) }* Y9 {# i& q- R
  675. default_charset = "UTF-8"
    3 Q$ z, |7 {/ H
  676. ! V8 z& ?, a) s
  677. ; PHP internal character encoding is set to empty.  a% w* a' |. X* [9 w  T
  678. ; If empty, default_charset is used.
    1 b7 c6 K  Z4 n% d/ ^1 P9 y
  679. ; http://php.net/internal-encoding
    + P! _/ l& N5 O: h
  680. ;internal_encoding =
    & y2 d2 M* Y5 ~1 z1 ?2 K/ a% k% B
  681. : C2 Y8 _/ z8 ]2 e
  682. ; PHP input character encoding is set to empty.
    $ V( ]* {: M; n! d: i# U, K  x+ z
  683. ; If empty, default_charset is used.
    6 E/ [/ k! k1 w+ ?
  684. ; http://php.net/input-encoding. I! \3 m; _! W6 k7 w
  685. ;input_encoding =
    , O  N/ `" G7 a  A$ \: f, m
  686. ! G4 _2 ?0 F: b" t
  687. ; PHP output character encoding is set to empty.1 k% y" H+ g4 B4 G* h/ y
  688. ; If empty, default_charset is used.7 U# n1 Z* b# q2 U; l
  689. ; See also output_buffer.
    1 q1 ^: e, G/ L: g" H! V. d9 A
  690. ; http://php.net/output-encoding* i6 d, ~$ \9 d. |5 h( ^$ f
  691. ;output_encoding =
    : O  `/ w7 X* R5 }0 g; @" t' u

  692. ' x. M1 V9 o, ~
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    0 G8 s' ^& q0 D
  694. ; Paths and Directories ;
    # N& g0 }' I  w
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;, [$ X4 `4 P2 V  m) N. e* L

  696. 8 l* @% w1 r3 }
  697. ; UNIX: "/path1:/path2"+ Z* P' L& j8 x+ ^& J
  698. ;include_path = ".:/php/includes"7 {$ b4 u: N4 i2 M4 h+ `' f
  699. ;% A$ L( D# c# n9 y
  700. ; Windows: "\path1;\path2"
    9 n, L$ Z, v3 O# }5 M& p1 o
  701. ;include_path = ".;c:\php\includes"
    " S" G$ P9 T) R6 p% X! c  T
  702. ;+ u5 u/ Z: D, S* v- C" |; I
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear", R$ H6 U- i% F& \4 ]
  704. ; http://php.net/include-path+ g( I% w! V( ]' E0 _
  705. & V  P+ h0 l/ u# f& @; p; z9 R0 g; i% b) u
  706. ; The root of the PHP pages, used only if nonempty.
    8 g* I% V5 @5 g* q% U
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root% I# b' y) m8 f' p7 I' W; v
  708. ; if you are running php as a CGI under any web server (other than IIS)8 ^0 z! d% B5 T& \' B, ^1 B6 v
  709. ; see documentation for security issues.  The alternate is to use the$ N  A% F+ p# f- B* H! I% l
  710. ; cgi.force_redirect configuration below
    . q  k2 h- f$ X2 a, |* C1 E
  711. ; http://php.net/doc-root# E3 f5 H/ B3 u0 l. q
  712. doc_root =& B4 p1 y  Q* ]5 C6 d; Q% `5 ^8 j) U
  713. , N: B- m2 U' f; B) c. d; F. X
  714. ; The directory under which PHP opens the script using /~username used only1 ?. C5 U/ Y0 e/ [1 w
  715. ; if nonempty.5 Y! x' O! t+ q0 I) W2 J
  716. ; http://php.net/user-dir8 {1 y7 _; V$ E. _
  717. user_dir =8 p7 |! T; c4 T' E' h' f

  718. 4 n; W7 |; A0 Q
  719. ; Directory in which the loadable extensions (modules) reside.
    % X3 Z- d9 T: L& J
  720. ; http://php.net/extension-dir
    0 k# h; }/ E+ S5 F# a# O: C
  721. ; extension_dir = "./"7 z: |! g) z) `7 @  T. i' c
  722. ; On windows:
    1 y) n' T  R+ p
  723. ; extension_dir = "ext"6 T1 ^. i, g9 N3 a* T% E
  724. & Q: d4 B# _$ }$ o0 k( K. N
  725. ; Directory where the temporary files should be placed.7 y3 x. b! z2 Q/ e5 k; Z
  726. ; Defaults to the system default (see sys_get_temp_dir)
    3 ~; a3 v! b9 h0 C0 t0 c! G
  727. ; sys_temp_dir = "/tmp"0 ^! u- N. s* X& r: [
  728. 1 Q' \! T" f+ a& @7 p
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    3 _# K; ^! m% ^  _# P8 g( ?# P
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    * A2 d. w- d( ^" [- @- v
  731. ; disabled on them.
    + @7 u( V# h1 D) I' i
  732. ; http://php.net/enable-dl6 O" e( C$ _/ G  @0 x6 v6 `) ^0 y
  733. enable_dl = Off4 L& R/ R# G9 w0 m( o: t
  734. & w" M' l- ?0 Y& t0 B: ~' O
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under' y8 P' k& I4 `. }0 m8 h
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can3 M3 C5 t; O- L2 X, p
  737. ; turn it off here AT YOUR OWN RISK+ p# h- L9 m" R3 y* i7 f
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    2 m/ m* g8 i# v& E3 [. u7 I0 \, O
  739. ; http://php.net/cgi.force-redirect- C, t! R3 K( v$ k; w3 L
  740. ;cgi.force_redirect = 1  z6 v( p! {  y& K% D1 o
  741. : m: _: q) u8 P5 U, v
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with) @) @2 s7 v9 w* V/ F
  743. ; every request. PHP's default behavior is to disable this feature.
    7 [/ I( a# x% ]7 D' u( x$ Z/ J
  744. ;cgi.nph = 1
    , W% B0 o2 W, u2 m$ N+ u

  745.   v6 J  B& p  S" B
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape! d. f5 g1 @5 o) P2 R" ^+ X/ e
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP. K7 D8 V/ W7 o. ], }9 b& E
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY, x3 U) @! t7 ^& h+ B: T( a9 W
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    5 e7 J# C$ n: p9 u! D. Q& T) D, ~
  750. ; http://php.net/cgi.redirect-status-env5 u  J9 w! o& U; V  S
  751. ;cgi.redirect_status_env =, z( }; T! Q- z4 n& o
  752. , R( u( {  @6 B4 J3 J: R! N6 F" @
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    4 B) z8 ?( l. V1 ~+ e, G% K
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok1 u6 K0 c0 P( p7 T/ I! S7 ]. ~
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ; s  p- |- l3 C7 v' o+ c7 I
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    8 Q+ P* ]# w7 L* H* r" j$ V  Z5 o
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts# |! c( I% r0 S; t' _; h  Z
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    % i0 m) j, V' h! b$ [- d
  759. ; http://php.net/cgi.fix-pathinfo" c  G" l& H9 D: O6 H2 a' v
  760. cgi.fix_pathinfo=13 H# U+ c, ~# F4 b' N5 f' S

  761. % M$ W( V; h1 o5 t( T8 Y" Y
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    4 K* i4 E0 M3 H. \1 G! s9 }6 K
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
      ~1 |; }1 t3 g' }9 v0 `% v' J
  764. ; http://php.net/cgi.dicard-path
    + b# L& Q: P% V0 C' X1 l
  765. ;cgi.discard_path=1
    $ R9 G! \3 g) U8 ?- G9 A. w
  766. 9 m/ v% g* v4 j: U1 ?/ y& Z
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate7 {; c  ^3 p4 E' S# \' V
  768. ; security tokens of the calling client.  This allows IIS to define the1 |- [* h! g" @6 A' {; ^
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    5 y  e0 n6 V1 m) X5 W3 p' y$ G
  770. ; does not currently support this feature (03/17/2002)  d3 |1 K. D0 o) u
  771. ; Set to 1 if running under IIS.  Default is zero.7 x/ G8 |$ f$ _5 U6 M9 {  D
  772. ; http://php.net/fastcgi.impersonate" G3 ]: P+ \- q4 }, c. G
  773. ;fastcgi.impersonate = 1
    1 s: Z: ]3 d1 `- N5 K: Y& _

  774. : n5 a! C) F- h$ I0 m
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable8 d2 G. Q# @% g; @
  776. ; this feature.
    + P% m, ~- ]# o  H9 e
  777. ;fastcgi.logging = 02 r4 N* e8 P3 [. O8 O
  778. 0 I; s+ h1 W" T% p5 j! @
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    6 f. z. d6 @& {5 Y" W- o8 e
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that% j3 z1 s5 A. G5 I3 N6 I$ j* v
  781. ; is supported by Apache. When this option is set to 1, PHP will send9 \2 |/ h9 Q- t- j$ K& I
  782. ; RFC2616 compliant header.* c* @- z3 Q8 d- k- M& q/ _
  783. ; Default is zero.
    . Q$ D1 o, S4 \
  784. ; http://php.net/cgi.rfc2616-headers+ O# V$ @( p+ ^/ P6 r
  785. ;cgi.rfc2616_headers = 08 _1 W4 g- Z; F- y. P5 J
  786. : L" c  n: @) P7 y: C$ t
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!( v7 i# a' J" l/ Q
  788. ; (shebang) at the top of the running script. This line might be needed if the
    9 y! K% {& ^7 V) v! c2 v
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI" w8 {1 ]# z0 p! |- ]$ L9 u5 @  r9 `
  790. ; mode skips this line and ignores its content if this directive is turned on.
    9 |0 K7 D& R) Q" E
  791. ; http://php.net/cgi.check-shebang-line/ G* o6 I5 {" ]; P8 y% e1 q7 o; {
  792. ;cgi.check_shebang_line=12 b! R, `1 Z$ K
  793. ; X$ m$ G0 Q# o# F! m5 n# `/ z! }
  794. ;;;;;;;;;;;;;;;;- D& T. N/ g0 S3 j1 f
  795. ; File Uploads ;
    3 x: R! b) l3 _, @. t2 e
  796. ;;;;;;;;;;;;;;;;, v% g: t# N8 S% K3 O2 M: d
  797. 1 L& y& x, s) b; h8 M3 L6 g
  798. ; Whether to allow HTTP file uploads.* j% ~1 L) ]+ w+ S
  799. ; http://php.net/file-uploads
    8 F6 `  x0 k; G; p3 V  N
  800. file_uploads = On
    3 X. l; j* F7 V8 h
  801. 7 Y3 z; a+ u1 c0 Z, A0 m
  802. ; Temporary directory for HTTP uploaded files (will use system default if not! Q7 K% o6 b! K% ~% k
  803. ; specified).
    ! p1 c( E  m, _' t$ P7 ]: |: R
  804. ; http://php.net/upload-tmp-dir
    ' ^9 x2 y7 g" l' v% M) F
  805. ;upload_tmp_dir =
    $ q9 w9 E7 M- ~. a1 y

  806. : ^8 z) j$ ^! v' B; D  c
  807. ; Maximum allowed size for uploaded files.
    1 r6 V; n9 V9 x: c
  808. ; http://php.net/upload-max-filesize
      r# i" O9 k( W1 O4 E
  809. upload_max_filesize = 50M! u3 b1 _. ^2 H. o% \

  810. $ ?& g5 b6 [! _* m  E+ b7 t7 D1 t
  811. ; Maximum number of files that can be uploaded via a single request
    - y+ E7 K) B: t- r$ a
  812. max_file_uploads = 20- m) L+ ^% }( B) D0 J( A1 X; G

  813. + f3 X. C/ w7 j7 s# k, Q+ E2 j9 @
  814. ;;;;;;;;;;;;;;;;;;
    ' h3 s9 o7 Y- e; n! O
  815. ; Fopen wrappers ;% B+ N4 V+ h& F1 c& L- G
  816. ;;;;;;;;;;;;;;;;;;
    ( t/ _3 ]+ ]0 ]

  817. 5 M* _+ u' l) P) M: ]' Y
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.7 V$ m+ `: b/ b' u5 A3 |
  819. ; http://php.net/allow-url-fopen
    / [& J  q4 M8 K1 t; S/ G& X6 G
  820. allow_url_fopen = On# X* p+ h, H/ N, |
  821. 6 w: f+ B: s# s0 h$ A% n
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    $ Q0 A$ c( F5 y  p( o
  823. ; http://php.net/allow-url-include
    1 t; ?$ {0 N$ p3 T
  824. allow_url_include = Off& u3 T2 Q5 N3 B4 V

  825. 6 b, ^/ f# ]: `
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    + A3 |  t/ h, b, g$ v4 M- p) q, v, y" m
  827. ; for this is empty.
    0 A6 a* o2 O3 S4 s9 A
  828. ; http://php.net/from
      ^& n# [1 T+ y+ K8 C! H% ^' h
  829. ;from="john@doe.com"" G! F' S# ~6 f( n6 b

  830. 3 \1 j, \9 K- Z/ H+ N/ g' Z# W; g- Z7 ~6 R
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    0 u, {3 T6 a7 h. Z! \7 q+ s2 H
  832. ; http://php.net/user-agent6 @9 }1 d* Z' l4 `$ j
  833. ;user_agent="PHP"
    % B- t( @8 o/ j/ x- O) a

  834. : x, u3 I; E! m
  835. ; Default timeout for socket based streams (seconds)8 V% G! x0 V  k. H, {5 b; P
  836. ; http://php.net/default-socket-timeout/ @  r9 x& I' N  h
  837. default_socket_timeout = 60
    / }3 S: t4 a6 [8 j% R% q
  838. : k3 j& E8 U2 P
  839. ; If your scripts have to deal with files from Macintosh systems,# R  H, [- S- J$ k- J, o
  840. ; or you are running on a Mac and need to deal with files from' y- M) p( F( w, r* ^
  841. ; unix or win32 systems, setting this flag will cause PHP to
    7 @5 M9 @0 A; O# e
  842. ; automatically detect the EOL character in those files so that2 }8 k8 l. S* H! D
  843. ; fgets() and file() will work regardless of the source of the file.8 s9 Z, T- [6 `
  844. ; http://php.net/auto-detect-line-endings  x9 X( Z5 f6 D' z- J  }4 r
  845. ;auto_detect_line_endings = Off
    8 e9 r! a( z5 ^, J) t

  846. # W* o$ c  ?$ q/ w
  847. ;;;;;;;;;;;;;;;;;;;;;;( d  u, `9 u) z0 l. `4 N
  848. ; Dynamic Extensions ;
    8 r4 \; P' p; f  g: _
  849. ;;;;;;;;;;;;;;;;;;;;;;
    $ r& K* f: O6 u* Y3 G8 F6 R$ g

  850.   m' b$ F3 n0 t6 u+ Z9 @
  851. ; If you wish to have an extension loaded automatically, use the following
    ) U0 H: U7 _6 _* s. a
  852. ; syntax:8 b  A, N! F6 a
  853. ;9 D$ B1 d( e6 p3 Z
  854. ;   extension=modulename.extension4 ?/ {$ E( ?. c5 c2 ~
  855. ;3 Y0 u% {" w/ P5 r  U: X$ n/ e
  856. ; For example, on Windows:
    9 c$ A- y$ \$ G; \+ q  @
  857. ;# u9 g# `' }; @( L5 f6 h) E( \
  858. ;   extension=msql.dll
    - {& `* _6 `( W' V1 }
  859. ;
    1 q, `6 z( l' S7 F7 i" h
  860. ; ... or under UNIX:
    ; ]7 ~* z& ^6 L7 n2 K
  861. ;
    4 z0 `/ z. D% @+ |& l0 e
  862. ;   extension=msql.so
    . `  M& d  Q* D
  863. ;
    7 b* o  u0 h% D- w+ X4 ?
  864. ; ... or with a path:- v  ?+ H9 y& z
  865. ;
    : H9 a6 s6 O1 r9 ], f* n; C
  866. ;   extension=/path/to/extension/msql.so
    6 k* f( H$ G# Z  P& z2 l
  867. ;+ D8 M! l5 H2 n) k  o0 ?
  868. ; If you only provide the name of the extension, PHP will look for it in its+ B6 n: l& ?7 f5 N. t
  869. ; default extension directory.8 G0 `+ b/ l% `" s  Y) R5 V
  870. ;: Z3 D  n  o0 V/ D4 e$ N
  871. ; Windows Extensions
    1 d6 ?8 Q+ `8 I9 q
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    7 a& s$ s4 Z( o% p
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+): C: P8 _# ?: J1 t
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    ( f* H1 g. I9 l$ ]2 E0 \$ l
  875. ; Be sure to appropriately set the extension_dir directive.
    5 s, [# P1 l( F5 h0 Q
  876. ;/ K7 k1 c8 n8 `
  877. ;extension=php_bz2.dll! r5 |4 V2 ~$ I# p
  878. ;extension=php_curl.dll* V6 l# _: d4 O# b' f9 d
  879. ;extension=php_fileinfo.dll1 }: y& a0 J2 M. Y; i, v
  880. ;extension=php_ftp.dll
    & g  W& b, a- I7 w$ P% {# w0 [
  881. ;extension=php_gd2.dll( a+ c0 @- b- r* a0 w% X* X' y& R
  882. ;extension=php_gettext.dll& r4 F7 F' z  Q8 }
  883. ;extension=php_gmp.dll. {4 U* I0 g, r' G5 W
  884. ;extension=php_intl.dll& Y! l+ U# @5 t
  885. ;extension=php_imap.dll
    4 e/ K( Q& K. R2 w2 Y
  886. ;extension=php_interbase.dll1 a9 g7 r& z$ ]
  887. ;extension=php_ldap.dll* d/ [1 f! A6 ]& N  G5 a
  888. ;extension=php_mbstring.dll
    1 O+ R$ t9 e" {
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
      @) f! r1 P/ U5 a% q9 {6 a
  890. ;extension=php_mysqli.dll3 w& \6 U1 {; @- U# J! r% C
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client3 Q1 Y/ l4 _' H+ N$ w
  892. ;extension=php_openssl.dll
    ' D  U; k4 P+ v' w
  893. ;extension=php_pdo_firebird.dll
    8 }" u' H) E6 }; V* _
  894. ;extension=php_pdo_mysql.dll2 d$ W4 ~/ ^; B5 Y$ _6 g
  895. ;extension=php_pdo_oci.dll- \% w* @6 r- t3 F2 ^- j
  896. ;extension=php_pdo_odbc.dll2 t( [$ M" \% u
  897. ;extension=php_pdo_pgsql.dll8 A2 b3 J5 y( {( q9 W4 d# `) n
  898. ;extension=php_pdo_sqlite.dll
    4 f: z& w# I6 M1 @
  899. ;extension=php_pgsql.dll; y& [3 `: A5 R8 b: `. @
  900. ;extension=php_shmop.dll
    / v5 i4 t, A1 g' q% h

  901. ' ?' R  b2 T0 T7 g( `$ \
  902. ; The MIBS data available in the PHP distribution must be installed.
    " F3 }  o- R5 z9 L! G% h6 {5 ~( E
  903. ; See http://www.php.net/manual/en/snmp.installation.php/ U: g# g( l# f/ G/ o, X
  904. ;extension=php_snmp.dll
    3 ~' L) @- `: W; G" G

  905. ) g1 O$ h0 f. i! {
  906. ;extension=php_soap.dll4 v" X. I8 ^( G: q! K' `7 d
  907. ;extension=php_sockets.dll
    * R# ~8 d+ R5 q( N' k) x& E3 s
  908. ;extension=php_sqlite3.dll
    # |+ `& v2 m4 \3 H5 N8 A2 v1 m: R
  909. ;extension=php_tidy.dll
      ^( Y" J  _5 Z& N3 N
  910. ;extension=php_xmlrpc.dll
    0 I# w6 B' c/ e  l; \; ~! c# F
  911. ;extension=php_xsl.dll
    ) `3 j/ y1 h* R: y

  912. 4 c' r# G4 G6 ^& [
  913. ;;;;;;;;;;;;;;;;;;;% p" a) N5 d9 \, y) a
  914. ; Module Settings ;
    2 }$ l2 a" M* N1 n1 n8 j1 k+ Q; x
  915. ;;;;;;;;;;;;;;;;;;;
    $ Y$ q8 _0 A; ?" A
  916.   d1 F1 E, ^* C% H# Q4 p9 u
  917. [CLI Server]" S" U9 k3 l$ t  `
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.9 L4 S% k1 Q8 I* [$ b) `2 Z# F$ c
  919. cli_server.color = On6 I* k0 S$ d% P" q6 c
  920.   S7 I; q! v7 a+ i
  921. [Date], c& D4 s9 m5 W
  922. ; Defines the default timezone used by the date functions6 a9 @8 B: K0 z( f( S2 c0 @
  923. ; http://php.net/date.timezone0 F9 R- K4 r9 t' k! B2 n) O
  924. date.timezone = PRC) s; T+ |5 p2 ^* N5 t: ^
  925. ; ]- `+ n7 U. d5 P) X; O% \6 G
  926. ; http://php.net/date.default-latitude
    9 a3 ?: G8 U, O( w$ M( e
  927. ;date.default_latitude = 31.7667) J5 t' x& H7 V" A0 \4 W2 \
  928. % k! l# ]/ S, Q5 X8 p& F7 S' ^$ D
  929. ; http://php.net/date.default-longitude3 ^( E$ _: j6 c
  930. ;date.default_longitude = 35.23332 l- ~- Q7 M3 b% T5 g9 B  \6 O

  931. $ g4 \9 ]' ~6 u' q0 `
  932. ; http://php.net/date.sunrise-zenith6 |$ Y* H" P& H: x4 f% x9 w4 y
  933. ;date.sunrise_zenith = 90.583333
    1 k( y3 Z0 _2 n6 W$ B; }1 j

  934. 1 m3 o8 z$ c  K& i2 X
  935. ; http://php.net/date.sunset-zenith
    3 Z% O. G4 c7 ]/ v
  936. ;date.sunset_zenith = 90.583333
    % b) e& `0 q9 w3 L% v% L

  937. % t" s: R0 E$ v* W
  938. [filter]* @# a  g% h/ |$ {
  939. ; http://php.net/filter.default
    4 R8 E, x: F4 y! K( m
  940. ;filter.default = unsafe_raw/ Q1 [$ Q, m9 u" P
  941. " h+ ]& ^& K+ {. v8 p, S
  942. ; http://php.net/filter.default-flags9 J2 P7 @/ R/ x& X
  943. ;filter.default_flags =9 J/ S7 R! K, u+ I' w7 d" N2 j; @" h4 F

  944. / E# M5 c2 r7 [7 r' G% o2 X
  945. [iconv]) n( q0 O& `7 }; c$ }  n7 q
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.: _$ H4 m2 B9 \; _" I9 B
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    : \7 z( u9 {6 ?  N( E
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding) ?: |% o* W- H& l
  949. ;iconv.input_encoding =
    ; B0 y+ ]2 O3 J7 O' |' P5 ?& C
  950. / m/ z3 v! g! D
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.! t" a: ]& W  [" }8 A. M1 i
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    $ J' u6 c* c' C  A" W
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding9 ?5 h, |( }0 v  S3 B9 f
  954. ;iconv.internal_encoding =: H4 z, I% h8 |3 L' Z

  955. 6 J3 R+ X$ I  B" p2 K/ \
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    , ~0 ~! d. X/ _4 h
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used." V0 X2 ~+ P7 x2 k
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding% {! f$ {% R  `3 @/ e) \- B
  959. ; To use an output encoding conversion, iconv's output handler must be set* s9 W2 [! R4 V6 u% \. f
  960. ; otherwise output encoding conversion cannot be performed., G" m4 k+ {3 B) D$ G
  961. ;iconv.output_encoding =
    7 _) |/ W  ~" j$ p* m% r# B
  962. # I2 s6 j/ L, ]
  963. [intl]( g% t0 w; R  [0 z. X+ B* ], C6 B$ Z
  964. ;intl.default_locale =
    8 |" |5 ]5 M  w; p9 q7 Y
  965. ; This directive allows you to produce PHP errors when some error
    # j& B5 L  v/ K4 D  I. u
  966. ; happens within intl functions. The value is the level of the error produced.1 ~0 l; L, ?8 o. a  b* U
  967. ; Default is 0, which does not produce any errors.! H) |8 f; E4 |/ d$ ^
  968. ;intl.error_level = E_WARNING
    ; b' c7 T" ~% s6 d, r2 U( b
  969. ;intl.use_exceptions = 00 _  C, \7 ?2 d$ }* ^0 u# d

  970. + X0 z( ~; l7 t* i
  971. [sqlite3]
    9 o# b7 k7 q  d  u  G1 Y/ w
  972. ;sqlite3.extension_dir =
    0 l, m: Z1 G3 P) P
  973. 9 _2 W0 W1 b( d" I
  974. [Pcre]8 `5 X) r; g# d; K1 S( D
  975. ;PCRE library backtracking limit./ y9 |' J! r% \+ S  A
  976. ; http://php.net/pcre.backtrack-limit
    , x$ y) k1 l# ?- l/ S! h' R* A. [
  977. ;pcre.backtrack_limit=100000  n' N. }, K2 j
  978. 8 j3 G2 s' B  E# e
  979. ;PCRE library recursion limit.
    ' d! {7 R) i6 H4 A5 E
  980. ;Please note that if you set this value to a high number you may consume all( i/ ]3 R. V  f* G' c1 Q  K+ y3 D, [
  981. ;the available process stack and eventually crash PHP (due to reaching the
    / E% s) H* {0 C2 X* q
  982. ;stack size limit imposed by the Operating System).# Q" ~& p& X* p. S, `3 K+ r
  983. ; http://php.net/pcre.recursion-limit' J9 U8 \, y' ]; w
  984. ;pcre.recursion_limit=100000% H7 X2 p& U$ R' m/ ]
  985. , Q. D" ^& s% J3 ~/ r
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    : F8 e! |3 t. C. P$ w7 X6 m  [
  987. ;library to be compiled with JIT support.7 ]" d# B# ~( |2 [4 e# O6 m
  988. ;pcre.jit=1
    ) T; k6 j. @' Q

  989. 6 k1 `- q2 F8 l' e9 `. h$ q
  990. [Pdo]8 Y$ b- X9 b' c  N
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    8 P+ u! A; o3 x' A/ s5 [" K
  992. ; http://php.net/pdo-odbc.connection-pooling
    ' w1 R# g; w4 g
  993. ;pdo_odbc.connection_pooling=strict
    0 x4 q) p! Q& [1 q! n

  994. / E0 Y- B# h# t* c2 k$ z
  995. ;pdo_odbc.db2_instance_name9 s( j# H) ^) H6 D
  996. % I$ _( B# y( f6 N0 \: }; }: @
  997. [Pdo_mysql]
    7 A2 e: E. e' }# S  d/ W; ~
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " r+ {; k3 a" x* q! S$ \( l
  999. ; http://php.net/pdo_mysql.cache_size
    & l4 N& O& W. v% z: ~* j
  1000. pdo_mysql.cache_size = 2000
    1 \/ ~5 z, y4 Z8 B# Q; F& ~
  1001. 0 |( F5 o# W, L- S) s
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    2 x6 F- o0 S, @6 B8 I, ]0 G
  1003. ; MySQL defaults.$ n4 ^- d6 q  c1 k: Y
  1004. ; http://php.net/pdo_mysql.default-socket
    : W5 T3 l7 G1 j8 I! l, p- x
  1005. pdo_mysql.default_socket=
    3 v7 L/ z2 L1 }( e: `0 P1 S/ o1 W
  1006. 4 P' X# D& R: h
  1007. [Phar]+ r. B' Z* G) K' @
  1008. ; http://php.net/phar.readonly' M& i5 k1 Q. }+ o/ O! e
  1009. ;phar.readonly = On$ c' X* K2 g8 W5 _' ]; `4 }

  1010. , [2 Z  n. W4 W5 \1 x5 c' S
  1011. ; http://php.net/phar.require-hash
    9 k# r4 Y, v$ q' F0 V
  1012. ;phar.require_hash = On
    * }* h; S8 U( ^9 E3 j

  1013. ; V; t8 Z/ I/ f; `+ ^( T
  1014. ;phar.cache_list =( ^4 i( w  O, s; j& T) f! q
  1015. ) O1 G) i2 W. G" t. q
  1016. [mail function]
    ( X8 I4 |' m( j  @8 R9 ]) I
  1017. ; For Win32 only./ E4 w/ k: A- [% R6 Z
  1018. ; http://php.net/smtp3 T) d6 k" d5 j5 T2 L
  1019. SMTP = localhost$ U3 s; z/ D  b; y2 y
  1020. ; http://php.net/smtp-port  B2 `- H. t; H; c
  1021. smtp_port = 25, Q$ {7 c( Q, i* I
  1022. % i! @- H' t* c* }' u
  1023. ; For Win32 only.
    4 Y1 q: L' }! Y9 n
  1024. ; http://php.net/sendmail-from0 O4 p, o& D1 r2 b- F5 ^( m8 Z
  1025. ;sendmail_from = me@example.com
    * P" C+ @1 @# m+ B$ N! _: U" t; r

  1026. 0 Y. a: b- g8 o" m% I
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").9 }# c  m4 ~' M* s; w
  1028. ; http://php.net/sendmail-path
    ; Y+ g( b' g0 J  d6 \" Q/ s: u- ^# f3 Q
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    " v) S* _$ y( H5 ~- t( D# C

  1030. - A1 ^' D' A+ b: f, B$ _" c
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    1 n" K! ~! K) B9 ~
  1032. ; to the sendmail binary. These parameters will always replace the value of) x4 a2 C, }. C4 H- q
  1033. ; the 5th parameter to mail().
    * Q3 x# h4 ]; P% a! V4 F; \  ^
  1034. ;mail.force_extra_parameters =" {) d+ D2 O- y" W6 o) q: F8 p

  1035. ( j; W! R' c' X3 a6 I8 w
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename$ ?$ D2 W$ T& s0 E( U
  1037. mail.add_x_header = On" ]8 h. ~( |; x" }% [; K( l; x
  1038. 2 n7 W7 `4 N/ Y& |5 a/ [' r
  1039. ; The path to a log file that will log all mail() calls. Log entries include0 P& s6 `4 v1 E7 D( Q) Z) g
  1040. ; the full path of the script, line number, To address and headers.
    3 N+ [& H) L" Z. v/ k( Z: f
  1041. ;mail.log =
    ; a4 H3 ~. X" Q" v8 U& @
  1042. ; Log mail to syslog (Event Log on Windows).* p2 [3 I& T! Z: ~" G
  1043. ;mail.log = syslog  q2 t  l8 ^4 M0 r
  1044. ) Q: X: C' L6 H0 Q' ?8 s
  1045. [SQL]) _6 p. `. S. R
  1046. ; http://php.net/sql.safe-mode
    2 s# o7 {) f3 P4 s$ U  z
  1047. sql.safe_mode = Off
    & }, K+ d4 o+ Z- c

  1048. 9 ?: c) C& Y! d  [! C! D( X
  1049. [ODBC]2 J3 D( ?  l2 V0 _1 [2 _; l* _
  1050. ; http://php.net/odbc.default-db" j/ a# q0 a1 M& j1 k
  1051. ;odbc.default_db    =  Not yet implemented
    - T. k' _. `" G4 P3 A$ c

  1052. - a3 _- g6 l, o3 G' _! p/ H9 G
  1053. ; http://php.net/odbc.default-user) [! k. u, H8 D
  1054. ;odbc.default_user  =  Not yet implemented: I% S  W) K, f7 x8 Q) ]! }
  1055. 9 @* U+ r6 y; E  S$ P3 m
  1056. ; http://php.net/odbc.default-pw
    " i: }7 U7 _; j8 r* f; T
  1057. ;odbc.default_pw    =  Not yet implemented2 o7 J/ Z% p( z* f. }
  1058. ; c% q; H9 V9 ^: G2 w
  1059. ; Controls the ODBC cursor model." d; x( \0 N: j* o" @% e( G7 J
  1060. ; Default: SQL_CURSOR_STATIC (default).+ t: g( V. C' v
  1061. ;odbc.default_cursortype
    ( P* M1 p6 g% f

  1062. ; Q( ~+ W/ w# m3 k. v* v# e2 l
  1063. ; Allow or prevent persistent links.
    ( a, @6 S; _) f" I, C
  1064. ; http://php.net/odbc.allow-persistent8 y! d% R" E6 Z; G3 U8 G+ m
  1065. odbc.allow_persistent = On" d/ N* N: s3 k+ J, V% W
  1066. ) s' T) I9 X+ o) Y. b8 ^+ u
  1067. ; Check that a connection is still valid before reuse.
    ; V8 i( @7 T$ Z( N, \& D& [+ p
  1068. ; http://php.net/odbc.check-persistent9 D: e7 i1 k! Q: H! I, f' z
  1069. odbc.check_persistent = On
    ; X: \, N0 O2 D% j1 V
  1070. ( _5 X4 I+ X1 j  O
  1071. ; Maximum number of persistent links.  -1 means no limit.
    ' p7 u  T# c0 ~
  1072. ; http://php.net/odbc.max-persistent6 h. Y8 u  J4 m  T
  1073. odbc.max_persistent = -1
    . ^0 {9 n0 {/ m8 X, v8 V
  1074. ) r$ v  _1 Z; J. {/ P) q# ~
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.8 A5 J/ g( Q8 u4 X/ t5 E" _
  1076. ; http://php.net/odbc.max-links
    3 K" `  Q- F& e' f" \% s6 v
  1077. odbc.max_links = -1
      x( l: m# F' {# h% B# X' \5 X

  1078. + P, R/ A0 m  v- I: ^5 o- G
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means1 Y+ M9 u/ k* h" |; `+ W
  1080. ; passthru.! y6 m$ i  ]; O" _9 S
  1081. ; http://php.net/odbc.defaultlrl
    3 x* T4 D! N# j( a  d: ^6 J( h
  1082. odbc.defaultlrl = 4096
    ) q0 f# X9 r; s" t* @5 [2 W: F. J! m
  1083. * v* G& Q3 _8 m/ ?4 {0 E, l
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    $ K  n; E; t0 z. g
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    - X, X% E8 ^7 [0 d; L
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode. |+ n- D& d# e' t. l
  1087. ; http://php.net/odbc.defaultbinmode
    . b0 v0 [. i& s. R  z8 }
  1088. odbc.defaultbinmode = 1
    ) Q2 y( J- A3 Q  @

  1089. % D7 ?( O* L: V2 f5 h7 R! F4 _
  1090. ;birdstep.max_links = -10 E/ [1 ]4 M" V" h* p5 W

  1091. 7 {# R) H2 w. \- O
  1092. [Interbase]
    + e, e2 x6 \2 k7 g0 b7 ^
  1093. ; Allow or prevent persistent links.
    3 \$ \. N! n% h
  1094. ibase.allow_persistent = 1
    # ^- j! u4 P: X7 S

  1095. 9 B- j; ^' l0 t8 u! H/ Q' @  u$ }
  1096. ; Maximum number of persistent links.  -1 means no limit.; H! w' l0 r$ z8 S  B) t
  1097. ibase.max_persistent = -1
    1 V3 S2 Q; o% H1 Z

  1098. * W# e! a1 p" s
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.. c$ @( K& ~+ q9 c' D
  1100. ibase.max_links = -1
    4 s( g3 s! ?: L/ a* T

  1101. 6 e$ t3 h' {7 I$ \) w
  1102. ; Default database name for ibase_connect().
    ! f  u3 ~' v. A+ t, W1 R
  1103. ;ibase.default_db =
    ) u7 R; ~/ J5 o" p# f

  1104. & A% I" W* K2 o& i
  1105. ; Default username for ibase_connect().$ B1 ?' ?9 D  s
  1106. ;ibase.default_user =
    # g) t2 Z* V* N* D4 M

  1107. ) k+ h. t2 r  H0 c3 T! y/ o2 [
  1108. ; Default password for ibase_connect().3 o9 T: s9 I' W3 N* |( c
  1109. ;ibase.default_password =, x% k( k+ v$ P( F
  1110. * Z4 f: [! c- m2 w- T4 t: o" k
  1111. ; Default charset for ibase_connect().
    ) V2 H' h" {5 \2 D, K
  1112. ;ibase.default_charset =. Q4 j6 N- s8 k: y! w( c

  1113. $ c' K# p. V# L0 ]& S
  1114. ; Default timestamp format.
    $ B, p  B4 y6 P
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    5 q! s& s7 A. o; c( @. d1 X

  1116. 6 X3 S% w$ m7 k6 U: r' F* ?* ~
  1117. ; Default date format.
    3 R- M: `+ y% O/ \; n; e. r
  1118. ibase.dateformat = "%Y-%m-%d"
    ; v1 |. i3 X1 r$ S7 I

  1119. 5 t3 X6 m3 E4 ^" a4 r6 L
  1120. ; Default time format.
    : r  {; q  f  |0 m2 Y
  1121. ibase.timeformat = "%H:%M:%S"
    / ^2 x% O7 v0 `5 C1 q

  1122. . @) l6 r5 E' [8 |9 r! F* ]
  1123. [MySQLi]( y5 ^+ U" [% ]  L; @# I* n

  1124. 4 R' Z2 m! p1 w% \' Y- ~
  1125. ; Maximum number of persistent links.  -1 means no limit.
    & w. Y6 l1 J' T% j- l! p& H. Z0 u  Z
  1126. ; http://php.net/mysqli.max-persistent: m, e/ _# W9 y( e1 a4 P
  1127. mysqli.max_persistent = -1
    / J6 h5 X9 p! M, g
  1128. & M6 \; m/ v' @+ D# X( y* m3 X
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    . }  h  r/ g8 U0 S' a- K
  1130. ; http://php.net/mysqli.allow_local_infile" C# s  j$ u, {& u
  1131. ;mysqli.allow_local_infile = On
    3 }/ D: L- q% l' ?6 p
  1132. 5 }' Y4 @5 B- a6 H
  1133. ; Allow or prevent persistent links.
    9 g1 s; j1 p9 I) t
  1134. ; http://php.net/mysqli.allow-persistent
    4 X& B  q3 S/ X9 y
  1135. mysqli.allow_persistent = On+ A# ?7 l  y7 |. T4 Z
  1136. % L' O& N8 V/ F( R9 J
  1137. ; Maximum number of links.  -1 means no limit.7 K; b6 m* h' \9 s
  1138. ; http://php.net/mysqli.max-links
    1 _6 l0 F* d7 ]( ^' R
  1139. mysqli.max_links = -1
    ! H# m8 ~1 m! u/ m2 V& E1 s
  1140. ! I* K6 f1 n6 U2 H6 k) ~% i0 p
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache; ~8 H) @' x6 P& M( x0 y
  1142. ; http://php.net/mysqli.cache_size
    4 Q# B* X' o! z6 `0 w8 b7 d
  1143. mysqli.cache_size = 2000) f) i1 X. `0 p* ]

  1144. 8 w1 [3 D7 I9 y$ U! d% |
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ; U4 {! g; _! R8 b" R
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the: t  C" f1 V' M: m9 @, u. N  y. z
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look4 h( B4 j0 S1 \) h. E
  1148. ; at MYSQL_PORT.
    ! c( ~9 A1 C/ |: Y( Z0 ?
  1149. ; http://php.net/mysqli.default-port1 M2 R+ U" v4 r$ P& M
  1150. mysqli.default_port = 33062 s$ y5 j8 [/ M9 G/ F

  1151. + D8 z0 I6 Q2 x5 b3 E
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      D9 l# e) E7 p5 }
  1153. ; MySQL defaults.8 m9 Z; t6 |7 i9 j8 _
  1154. ; http://php.net/mysqli.default-socket2 t/ P4 D  D( B0 X2 e3 k2 {/ k
  1155. mysqli.default_socket =
    5 F& n8 Y! f. H, _8 F
  1156. # s4 {4 b3 y0 s9 N% u, W6 P& I: M
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).1 p) f1 C0 U' `( U  }+ i/ {0 Z
  1158. ; http://php.net/mysqli.default-host
    0 J# Z) z+ \) r: E2 K1 p$ @
  1159. mysqli.default_host =
    , v5 L# A& M) z/ m6 J  d$ N5 [( t
  1160. ' U, S" t) D3 k9 v
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ) }% i0 Y* E: J
  1162. ; http://php.net/mysqli.default-user- g( ?2 A+ U7 l
  1163. mysqli.default_user =, P) C4 J: S1 f8 }& B, b( M
  1164. # p, r' m& y- I: A# p
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    + O8 k) s- y& j' H# n9 h$ q
  1166. ; Note that this is generally a *bad* idea to store passwords in this file., U$ Z' u% h/ n1 j9 i% g
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    8 u8 g0 `$ m6 a& T- h. b  ]- \
  1168. ; and reveal this password!  And of course, any users with read access to this# b$ g$ [. L: X0 l3 W: u; f& M
  1169. ; file will be able to reveal the password as well.* s. u) z9 Z7 B+ l2 c
  1170. ; http://php.net/mysqli.default-pw$ y) }& E- l- p/ j
  1171. mysqli.default_pw =' ?' O6 K7 h. f; {( K) y

  1172. : i$ F# e" V# d* w/ }1 p7 I# V( i
  1173. ; Allow or prevent reconnect
    ' g+ d% v+ P/ X$ Y1 R
  1174. mysqli.reconnect = Off
    1 J, G# v2 y. V  l
  1175. 9 L0 F+ {1 R! ]4 K
  1176. [mysqlnd]- J/ Q/ ~# W9 Y# A
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be. k" T$ F; U( ]! ]; _
  1178. ; used to tune and monitor MySQL operations." L8 g4 i, Q6 E9 V1 q4 o# v: Q
  1179. ; http://php.net/mysqlnd.collect_statistics  P0 E' M" e+ T- b1 J7 M8 T
  1180. mysqlnd.collect_statistics = On) @$ ?1 @( f9 @0 k

  1181. # X' q# L3 b' l2 ^: X3 f
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    # X! ]; P( p8 S5 X8 t3 c# f& M
  1183. ; used to tune and monitor MySQL operations.' t- i8 E9 y) t
  1184. ; http://php.net/mysqlnd.collect_memory_statistics  S! d8 T1 U3 [3 I
  1185. mysqlnd.collect_memory_statistics = Off
    , Y8 y9 ^1 b5 h5 Y

  1186. * E7 N: L7 M. e# [" O: k2 c, k
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    # {" ~- P9 V' g5 h
  1188. ; file.  e# A' F: @, X! e/ l% U  l
  1189. ; http://php.net/mysqlnd.debug
    # j3 v% S) q- B( m
  1190. ;mysqlnd.debug =4 }7 B: X- r8 a: s  Q* U" `1 a
  1191. % m3 n9 W, Y3 z* _& F/ F- c
  1192. ; Defines which queries will be logged.
    # _( _8 |5 L. `  n/ e$ }0 W9 m% b
  1193. ; http://php.net/mysqlnd.log_mask
    8 {% h- p3 e  k4 y* `
  1194. ;mysqlnd.log_mask = 0* Z) ?4 a. I/ f4 W7 q

  1195. $ M* w# S1 W1 R
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.# b2 T* v5 s1 d) U- G% W
  1197. ; http://php.net/mysqlnd.mempool_default_size! t9 y1 r4 s! h7 x
  1198. ;mysqlnd.mempool_default_size = 16000% [# ]. @9 F9 l( U5 e- x+ k
  1199. 4 K: p# B2 E" s. f
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    * C+ J, }; J9 E8 \* O
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    * w+ C% _# \$ z7 a+ C
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    8 P# J6 m  Z$ L& }" `- F0 O
  1203. 9 V/ X* K- H  v) B& Y2 V, Q" D5 m
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    1 I$ y+ B2 I  O( f5 x: e
  1205. ; bytes.
    , ]5 x. k) @: [
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    " Z, t3 N) U/ e" y& v
  1207. ;mysqlnd.net_read_buffer_size = 32768% M3 w* x9 x( ]; A- p* _% `( o

  1208. 8 d! {: j$ f! {0 d0 H
  1209. ; Timeout for network requests in seconds.' V: w5 w, I7 y/ d, D
  1210. ; http://php.net/mysqlnd.net_read_timeout
    # H- k; G7 H; P" m+ B9 `
  1211. ;mysqlnd.net_read_timeout = 31536000
    7 u' [+ D5 ~+ y( z3 z3 x7 N- Z
  1212. % B7 I5 E4 [+ A. \
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    3 H! {0 E3 P+ F; c
  1214. ; key.0 a6 J* Z( D% u' }2 d
  1215. ; http://php.net/mysqlnd.sha256_server_public_key# B& M# e2 Z2 r
  1216. ;mysqlnd.sha256_server_public_key =% e8 ~7 ^/ _; g& u& |% M( G, z2 U2 `$ Y

  1217. * _8 A3 K9 x; D
  1218. [OCI8]6 a5 H$ b* o3 G9 B# H
  1219. 5 k0 Z7 N7 C8 i9 H; K, X5 c  Y. i& W
  1220. ; Connection: Enables privileged connections using external
    # R7 B- ]- b0 Y: V  P
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)5 N# a( N, E4 ~4 _1 |
  1222. ; http://php.net/oci8.privileged-connect
    9 |6 R, P4 _  r7 R' |
  1223. ;oci8.privileged_connect = Off5 t& b( [3 h8 c3 O5 j" Y

  1224. * s- R4 i0 v. R
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    . B2 o  d) ]# }& T9 B
  1226. ; process. Using -1 means no limit., Q* k" {4 a' y7 Z' O3 G
  1227. ; http://php.net/oci8.max-persistent1 n  `8 z( j  U7 @" r7 s" B0 u
  1228. ;oci8.max_persistent = -18 o& [8 X4 \$ c; u! ]

  1229. 3 \4 Y5 N. ^/ n. r/ h
  1230. ; Connection: The maximum number of seconds a process is allowed to# m. K$ k# s4 Q- ~6 c. a- c3 {
  1231. ; maintain an idle persistent connection. Using -1 means idle
    6 d7 `) f' Q: k
  1232. ; persistent connections will be maintained forever.
    * |9 I0 K# N* B( R6 L3 p+ C
  1233. ; http://php.net/oci8.persistent-timeout- R( Q/ c( I! D/ @7 `2 i
  1234. ;oci8.persistent_timeout = -1& n, r3 e0 O% D* r" {

  1235. 7 N1 x* O9 i) M3 w8 r" v1 [# L
  1236. ; Connection: The number of seconds that must pass before issuing a2 h/ v7 ]9 ^8 r7 M) v; w& L% |% K
  1237. ; ping during oci_pconnect() to check the connection validity. When
    - B/ Z4 Q9 b" f4 U
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables' p  t. [3 V1 Z! L  k
  1239. ; pings completely.# }0 g2 ^+ I" c( D' o( ]! ^- M
  1240. ; http://php.net/oci8.ping-interval8 |9 k, K; E1 a8 [6 j
  1241. ;oci8.ping_interval = 601 o1 m$ O9 a3 f( K& n; a- {% H

  1242. ( b, w  K( d3 [1 J1 P" P1 E
  1243. ; Connection: Set this to a user chosen connection class to be used
    5 {+ U5 u' R' g) K" x, z/ R
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    8 k5 J7 C" V( f8 l1 u- X
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    / D% p) z1 q0 R- @" @
  1246. ; the same string for all web servers running the same application,2 c2 R2 s6 f7 b2 m7 [" f" ?5 N: @
  1247. ; the database pool must be configured, and the connection string must
    - I8 H. O& _" ^) o- R
  1248. ; specify to use a pooled server.& X9 g& G" X* F. j: m& c( s1 s
  1249. ;oci8.connection_class =. R, I  b. n/ T9 c3 _9 s  n7 h. c

  1250. & N7 Z! \7 v$ |
  1251. ; High Availability: Using On lets PHP receive Fast Application
    7 J7 R% J9 o- z' C2 E. @$ z2 ~/ I
  1252. ; Notification (FAN) events generated when a database node fails. The' k, }+ P: W( v3 M2 x& z0 e5 X
  1253. ; database must also be configured to post FAN events.
    , S3 j2 q/ m' @6 Y8 ?) s
  1254. ;oci8.events = Off) b- U( V) I, P6 J: q# S. {6 U
  1255. 8 m, p, {/ u1 _7 O$ t
  1256. ; Tuning: This option enables statement caching, and specifies how
    % p; v# s# V/ k+ s
  1257. ; many statements to cache. Using 0 disables statement caching.
    , d4 z5 ]1 e3 r# J2 S. ~/ N" f) k
  1258. ; http://php.net/oci8.statement-cache-size
    ' M' l; V5 Y7 T# l7 H
  1259. ;oci8.statement_cache_size = 208 I- n+ a: R7 ?$ L  {% N" V0 B& \

  1260. ! B. ~; c2 z# O6 ]. d; @& Z$ X9 i
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    - i, V1 ^- [) i/ [# D1 W
  1262. ; rows that will be fetched automatically after statement execution.* X7 ^3 b3 v% ?
  1263. ; http://php.net/oci8.default-prefetch
    5 J& h: V8 x9 W8 J/ G) Q& n
  1264. ;oci8.default_prefetch = 1003 m1 y' F6 e3 ?. o( x4 g$ q

  1265. 2 ?8 q  L" S% n7 X
  1266. ; Compatibility. Using On means oci_close() will not close% w  F$ ?: W" m0 V! P4 M
  1267. ; oci_connect() and oci_new_connect() connections.9 c& E$ m$ L, Z, a/ {0 E3 M
  1268. ; http://php.net/oci8.old-oci-close-semantics& D" T7 `! A) P/ d7 S! e; ]
  1269. ;oci8.old_oci_close_semantics = Off
    1 M# e/ [; |6 L
  1270. 4 E0 {  T) L) v1 E
  1271. [PostgreSQL]
    - n; f- }; {- J& x. e
  1272. ; Allow or prevent persistent links.+ H* E9 E6 u( J, m) n0 Q7 J# i. s
  1273. ; http://php.net/pgsql.allow-persistent
    - i6 K; ~5 m7 i- c% T) ]
  1274. pgsql.allow_persistent = On
    ' y% ~7 L# H% a! D: H

  1275. 4 t  m7 V% a' h
  1276. ; Detect broken persistent links always with pg_pconnect().# {- W2 f8 S3 a$ `) q( Q6 X
  1277. ; Auto reset feature requires a little overheads.
    6 s  }- y) ]7 G" U- i* S* L/ R! a* m
  1278. ; http://php.net/pgsql.auto-reset-persistent
    0 ^" g0 ?  T- U& y8 R' I3 X! s
  1279. pgsql.auto_reset_persistent = Off6 z' K& h6 M9 ]. W$ n

  1280. . x8 w; n0 C' D. i; F+ K
  1281. ; Maximum number of persistent links.  -1 means no limit./ C7 J1 r  U4 p$ f4 g; n; M
  1282. ; http://php.net/pgsql.max-persistent. K' F1 @* ?# x; \  I  A! J
  1283. pgsql.max_persistent = -1/ [$ S( z5 Q. p8 f$ h6 t2 i  w
  1284. $ ]4 H4 ]# E8 F7 B
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
      I1 I' _* }  U* H9 i1 Q$ ?7 x, [
  1286. ; http://php.net/pgsql.max-links
    / s5 y$ f/ l( N! u0 ]+ n1 d/ p
  1287. pgsql.max_links = -15 U0 Y# t& E, L; [
  1288. 9 i2 g. T2 s& l  j' U. k/ e
  1289. ; Ignore PostgreSQL backends Notice message or not.) ^% f2 A( C( c8 u4 {) e/ b
  1290. ; Notice message logging require a little overheads.
    + ~$ ~7 A: X: _( K
  1291. ; http://php.net/pgsql.ignore-notice
    ' v2 [' v: y& M3 t0 C
  1292. pgsql.ignore_notice = 0  `+ {9 O! Y5 }  ?, R
  1293. , x9 D) s0 v! g* O
  1294. ; Log PostgreSQL backends Notice message or not." ?3 F) V. v" U. {- [1 b
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    1 V* O+ S8 g' @
  1296. ; http://php.net/pgsql.log-notice
    + S0 A, t& J8 Q9 c/ G" X
  1297. pgsql.log_notice = 0
      @0 X5 }2 _$ f6 N+ h6 p$ F. t

  1298. / T9 ]. p, c- w. F- Z
  1299. [bcmath]5 |4 R$ {1 g* G  l
  1300. ; Number of decimal digits for all bcmath functions.8 A/ `, _  Z5 R$ a3 f9 O
  1301. ; http://php.net/bcmath.scale
    : Q/ p, n& S' f; Z! s0 N% d
  1302. bcmath.scale = 0
    $ P: R! q3 n9 k; B% ^( G# m+ L6 j

  1303. + Y& `* H9 a5 n9 [" y0 y
  1304. [browscap]
      |# c: {6 i5 ]! S6 n
  1305. ; http://php.net/browscap/ C' P# R2 G8 ]) o* d
  1306. ;browscap = extra/browscap.ini
      ]% g2 l1 @9 D+ `' Z& }; A
  1307. 3 O0 x+ z) ~5 d
  1308. [Session]
    & r* ]! b" W) U) C1 ]% Y/ {0 H
  1309. ; Handler used to store/retrieve data.
    9 ~4 w* w/ U- I3 ~& y
  1310. ; http://php.net/session.save-handler& P: h+ W1 `$ K0 L5 w
  1311. session.save_handler = files
    3 L6 Q( I5 D* U
  1312. ( X: S: z& k3 o/ u
  1313. ; Argument passed to save_handler.  In the case of files, this is the path' K  Q& I9 L) u$ f3 s
  1314. ; where data files are stored. Note: Windows users have to change this/ ?/ ~+ N. d2 ^& W. O$ d; C
  1315. ; variable in order to use PHP's session functions.8 o6 g( W  _9 z' y! p
  1316. ;6 y! w- v+ Q! i+ S8 j
  1317. ; The path can be defined as:
    # w/ E- G  |$ _
  1318. ;
    % u0 H; a4 O, {! W) l8 }) W5 s- E
  1319. ;     session.save_path = "N;/path"
    # N; i0 ?- }% W' ]8 H4 t
  1320. ;7 l3 j; B# l* G7 T
  1321. ; where N is an integer.  Instead of storing all the session files in
    0 i. c+ e0 o  O: e( m$ [) M2 M' A. V
  1322. ; /path, what this will do is use subdirectories N-levels deep, and% N% s7 Q0 R; a) R3 [" {: D  }
  1323. ; store the session data in those directories.  This is useful if4 J6 n9 X1 r9 o! b5 m: U4 H. C  n
  1324. ; your OS has problems with many files in one directory, and is* ^" J4 K8 g6 }( G0 v8 c& ]( i% M
  1325. ; a more efficient layout for servers that handle many sessions.
    , @2 L# X0 ?: T, H
  1326. ;
    # F8 M; b- U3 L  O
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
      Z$ Y7 u+ f3 S, Q$ }
  1328. ;         You can use the script in the ext/session dir for that purpose.
    # Z" @( u6 e4 e* A" F
  1329. ; NOTE 2: See the section on garbage collection below if you choose to' [3 x; E) L+ h- @1 q2 k
  1330. ;         use subdirectories for session storage
    ' C" X$ p0 l: W0 U
  1331. ;
    , q# ]3 N5 [* j' I0 Y5 ~
  1332. ; The file storage module creates files using mode 600 by default.
    4 v+ b, @* P3 ]4 u
  1333. ; You can change that by using
    - j  B. v" W2 v: |8 a
  1334. ;% o; L0 @/ `- g; E' A
  1335. ;     session.save_path = "N;MODE;/path"
    ! J& J3 Q, K7 B. _) `
  1336. ;
    5 y6 F9 K1 F6 V2 v( e+ }) A
  1337. ; where MODE is the octal representation of the mode. Note that this% K' ~( c0 x/ @* f+ m$ o
  1338. ; does not overwrite the process's umask., Y# P+ r1 D, A
  1339. ; http://php.net/session.save-path% J0 w# R$ m) @8 k/ }
  1340. ;session.save_path = "/tmp"
    6 \  I! B% y& C3 g$ }/ j
  1341. , {) M; U( ]. @9 v; e$ q. J
  1342. ; Whether to use strict session mode.# e5 ?6 W2 H  B" V5 _2 @
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    & ]% L8 x  j5 d! K
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    * q, O6 J% ^, D. s% K
  1345. ; applications from session fixation via session adoption vulnerability. It is" P  Y, P2 @3 T
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
      H1 ^: A% J. v; M( ~. g$ Y7 ]
  1347. ; https://wiki.php.net/rfc/strict_sessions& l" T8 o9 I+ a7 q+ T
  1348. session.use_strict_mode = 0
    ' R: J7 H# y1 ~( M
  1349. ; J: ?1 A" ], R% f, n7 |: \
  1350. ; Whether to use cookies.7 y3 u( [( ]& `, ^# c" H
  1351. ; http://php.net/session.use-cookies
    ! O7 ^4 D- m/ R! \$ I2 m9 [2 ?% b
  1352. session.use_cookies = 17 S" [2 H; r  A8 q5 ]: o
  1353. ! ~9 {1 Y4 W+ H8 B2 R* ], T8 B! o
  1354. ; http://php.net/session.cookie-secure0 ^2 n- D& G  h* m
  1355. ;session.cookie_secure =
    0 A( R! `7 r) E6 l
  1356. 3 _# U8 }8 s* S- k
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining/ D8 K( M& s. V9 Q5 h  W! j
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    # {" H9 ~2 k+ q0 H
  1359. ; session hijacking when not specifying and managing your own session id. It is! Q3 W9 M- Y+ A1 X8 b( v! \
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.' L4 Q" j' }) E
  1361. ; http://php.net/session.use-only-cookies
    & w1 V" x! O1 V& T4 O: x" ~
  1362. session.use_only_cookies = 1/ o$ J% t/ C9 X! ]# x; h. p
  1363. ! Y. G$ @- a( {# Z  x1 I2 ^
  1364. ; Name of the session (used as cookie name).: s) F8 V( S; |0 |# E) |! |
  1365. ; http://php.net/session.name
    / O7 `/ G) o" r) P* p7 v
  1366. session.name = PHPSESSID( r& j& @' W3 v% w! v. M
  1367. 2 S8 J0 d/ f9 Z9 U6 Q. C1 L
  1368. ; Initialize session on request startup.
    , Q% S3 {; n* y) B0 [/ F
  1369. ; http://php.net/session.auto-start
    / h- l4 {3 l1 {" s: j& a9 n
  1370. session.auto_start = 0# g) s6 s% M9 n- \5 o
  1371. 2 o7 O2 @; @% o# a/ E! K1 I
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.- Q/ b3 }/ T% D) J9 I3 G
  1373. ; http://php.net/session.cookie-lifetime
    . l4 R- V* Y; Z7 S) ?# h
  1374. session.cookie_lifetime = 0
    * D9 x, ]4 W+ ^5 D
  1375. 7 E2 Y% g3 Z& w
  1376. ; The path for which the cookie is valid.
    0 G0 T, \3 b+ f; l6 }" A
  1377. ; http://php.net/session.cookie-path9 ]1 e0 c: T7 d
  1378. session.cookie_path = /# K" O+ r8 n, P7 \+ M$ x

  1379. & y- U' k8 ~! H. L( Z- z& ?
  1380. ; The domain for which the cookie is valid.
    $ b: e" |! J/ L: V
  1381. ; http://php.net/session.cookie-domain, J' U. k3 e$ m: u: r7 i6 E* Z
  1382. session.cookie_domain =% W7 F( A# G/ J( ~

  1383. 1 J& L3 a' W$ N/ ]1 U- g& j$ W! ?" r7 Z
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.: K1 P. X5 U( |- ^  k+ C: c- j
  1385. ; http://php.net/session.cookie-httponly
    ( k5 y! a  \' i* r3 u& c* b5 _
  1386. session.cookie_httponly =
    4 O2 w( w0 _2 U" Q9 Z# q
  1387. . W8 ]5 D3 o3 I4 p( U! I* L# B
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    % }3 h* a& a4 p
  1389. ; http://php.net/session.serialize-handler! T9 Q5 o* s0 d0 G+ |
  1390. session.serialize_handler = php
    - R# Y8 @- e4 k5 f
  1391. 8 B) P  Q: S8 _5 h" D) U
  1392. ; Defines the probability that the 'garbage collection' process is started: E% I+ S: r& T1 {4 K5 r$ Q
  1393. ; on every session initialization. The probability is calculated by using1 l& f! O+ k# B! S2 l
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ! i! E6 c4 ?/ A. w. Y7 F
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 13 Q: S  s& w/ Z% l  L& l
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    $ \7 ~& i1 Q1 @: l! x2 `  j& M
  1397. ; the gc will run on any give request.
    5 c) j! _9 E8 x$ n/ k7 ?- R
  1398. ; Default Value: 1
    8 ]5 |% e9 p6 F' s) e) k
  1399. ; Development Value: 14 P, f' q, n' o
  1400. ; Production Value: 1! _/ j8 u$ }( @
  1401. ; http://php.net/session.gc-probability
    0 P2 c- G# Y6 z0 C
  1402. session.gc_probability = 1
    ' a! A, ]- O, {9 S8 |1 r8 U7 w
  1403. ) t, L' U" c# e+ d
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    ! |( Q2 t- C- X* f/ e
  1405. ; session initialization. The probability is calculated by using the following equation:3 y5 [% W" n+ [$ t$ Z
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and: x1 }# e" U+ K/ A! c% @3 A- o; H
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 15 E# j4 o! V  V# F# n8 F) g
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance7 S6 H2 g/ a  k  g
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you: ]3 R& G9 J6 f* A9 N, F( R- Z
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,$ w2 j0 x& H, w& k
  1411. ; this is a more efficient approach.
    ! ?/ S7 X% }4 f. q2 Z0 t
  1412. ; Default Value: 100! ^2 a2 p& F" A1 @; @# G
  1413. ; Development Value: 1000
    + m; f8 q+ F) h6 v
  1414. ; Production Value: 1000* m2 n4 o3 A3 d. \! a) \. ]/ X
  1415. ; http://php.net/session.gc-divisor; t* \0 D. s) S, U
  1416. session.gc_divisor = 1000
      b5 ?7 n# b% u  E$ y
  1417.   j2 @& h; Z" O7 g* g0 _. g: a
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and% _4 a$ s$ M. j9 z. c4 x
  1419. ; cleaned up by the garbage collection process.1 ?0 h3 C* h* C
  1420. ; http://php.net/session.gc-maxlifetime
      w; [6 c# g) H# o
  1421. session.gc_maxlifetime = 1440
    ' O4 O9 D3 Y& n: |% `) d. C; G

  1422. + C1 B& q6 h  h( ^( a4 c1 {
  1423. ; NOTE: If you are using the subdirectory option for storing session files4 q2 G2 ]  q$ ?, ^- r+ `
  1424. ;       (see session.save_path above), then garbage collection does *not*$ Y6 u% B% K, k6 B4 H
  1425. ;       happen automatically.  You will need to do your own garbage" ~/ u( F1 J5 h1 a* b* a
  1426. ;       collection through a shell script, cron entry, or some other method.
    : c: j! X6 _: N; B
  1427. ;       For example, the following script would is the equivalent of6 l/ B6 L0 e7 [
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):1 M5 ]0 ?! k; G5 d2 k1 D3 H& H
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm# g( e! T5 m) v+ \( D, {
  1430. / d" M4 I& K. B3 a# P
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids." Z; q# j0 ?5 H$ H" ?
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    ' {0 S( f& y$ u6 j) x( P
  1433. ; considered as valid.+ D) T( K+ ]% f2 L8 I
  1434. ; http://php.net/session.referer-check- O8 d: D2 T, F% k4 \
  1435. session.referer_check =
    ! B( d  F: j# m) P& H4 h9 M. Y! K
  1436. 5 g  Q6 i2 o3 ?/ r8 p5 {
  1437. ; How many bytes to read from the file.
    . _0 c" o8 j% ]5 ~" a! n# Y4 o
  1438. ; http://php.net/session.entropy-length
    3 A# u/ G' W% v7 i5 G5 D3 A; j
  1439. ;session.entropy_length = 32
    7 [; N5 n9 n5 F9 C1 d& T
  1440. 2 F/ R' B: m+ {0 b! Z( E
  1441. ; Specified here to create the session id.
    6 o: d9 g( V& e) }
  1442. ; http://php.net/session.entropy-file
    " R. I/ i' v+ c5 K4 y; D
  1443. ; Defaults to /dev/urandom+ S  c5 V8 f# J3 O, y
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom3 Y* Q/ }' r9 C8 n. m
  1445. ; If neither are found at compile time, the default is no entropy file.3 y, R: s; S: t6 Z
  1446. ; On windows, setting the entropy_length setting will activate the! q0 V; p: Y. l  `
  1447. ; Windows random source (using the CryptoAPI)
    / D2 q$ l: C0 B9 ~5 G
  1448. ;session.entropy_file = /dev/urandom# i7 N: k8 ?5 b6 d. m

  1449. 0 r" v' u) {. R
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects" k% _/ I8 H1 j* q! A! h
  1451. ; or leave this empty to avoid sending anti-caching headers.
    / l3 w* Z3 g  T0 X3 b: _0 [
  1452. ; http://php.net/session.cache-limiter
    3 d+ N5 F& U3 C( U5 A3 `) _  ~  P( h
  1453. session.cache_limiter = nocache6 V+ `; k4 E2 M
  1454. % D4 z3 L, s# U$ K
  1455. ; Document expires after n minutes.( a" v6 [( ]$ a2 X# o
  1456. ; http://php.net/session.cache-expire
    % I4 d  b" S/ I; d" \/ x8 H- b# N
  1457. session.cache_expire = 180
    0 [, V6 L$ S$ V, ]
  1458. ( B/ u( i! e4 e' @! h
  1459. ; trans sid support is disabled by default.) Q4 B  }( u! p' S$ e4 Z
  1460. ; Use of trans sid may risk your users' security.
    5 J; G3 @5 Q5 A4 n5 e  ]  o/ A
  1461. ; Use this option with caution.2 B, q; r& P3 L5 s0 D
  1462. ; - User may send URL contains active session ID
    . i, o- l) t& Z5 v8 J% ?
  1463. ;   to other person via. email/irc/etc.
    # r5 i" e, F5 f9 K2 o; T" r% _6 o
  1464. ; - URL that contains active session ID may be stored
    . Q/ W" s, p2 g
  1465. ;   in publicly accessible computer.
      a1 O. @9 J8 |
  1466. ; - User may access your site with the same session ID% L. p" B- {, x/ `- o
  1467. ;   always using URL stored in browser's history or bookmarks.
    4 v5 z' o) P* ~' l6 [
  1468. ; http://php.net/session.use-trans-sid
    8 C5 E" j; Z- @8 O' \; m  X3 D( r. P) Y$ p
  1469. session.use_trans_sid = 0
    . L, ~- S5 f# g) L

  1470. ( R( e3 g8 |# O. x: E" ^
  1471. ; Select a hash function for use in generating session ids.8 i+ [3 E) d1 v& S
  1472. ; Possible Values- F& \, Z4 @' W1 ^( Y" H. p
  1473. ;   0  (MD5 128 bits)
    " v: v5 B3 h. k( A- U1 P
  1474. ;   1  (SHA-1 160 bits)
    9 z# {! X! a8 }# R) e: Z8 C
  1475. ; This option may also be set to the name of any hash function supported by. `" c$ R5 |0 r2 `
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()- q3 a% m# i$ k# {. v# G
  1477. ; function.( n$ B- ^3 s* r" ^2 _$ p1 b! U5 G; y! u" E
  1478. ; http://php.net/session.hash-function3 s9 R8 T6 g" g( D
  1479. session.hash_function = 0
    $ E+ D' u  p  L6 ?3 I3 S2 h
  1480. 8 d2 n) m* L4 f: ^# T! w
  1481. ; Define how many bits are stored in each character when converting
    , n" ?6 ?: p/ q4 q8 l+ W$ i
  1482. ; the binary hash data to something readable.
    . S: A6 b: n9 p$ ?7 j
  1483. ; Possible values:
    / U. ?) D2 E4 m- l7 o6 K8 j
  1484. ;   4  (4 bits: 0-9, a-f)
    . J+ Q5 f& u5 n
  1485. ;   5  (5 bits: 0-9, a-v)
    / [3 K- w9 {* Y$ N9 a5 w# h% s
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")8 M# W9 R# ]" t  ^
  1487. ; Default Value: 48 D: R2 x* ^! ?% [- n
  1488. ; Development Value: 5$ H2 ]4 ^! Q" D7 `  y+ q9 g9 s/ K
  1489. ; Production Value: 5
    1 G& m+ k; O: R- [
  1490. ; http://php.net/session.hash-bits-per-character
    # R0 z. B7 @8 D
  1491. session.hash_bits_per_character = 5# ~) t" m2 \# D" P  h0 ^. x
  1492. 3 p5 x! N/ c; F( A3 l
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ! P" M, p/ l9 \5 }
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    1 P8 ]( T: d0 ^/ p2 B; C6 [& `
  1495. ; add a hidden <input> field with the info which is otherwise appended9 F! c; j8 K8 S7 P; g& Z1 n8 {
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    0 G5 S6 j1 R5 o& D
  1497. ; Note that all valid entries require a "=", even if no value follows.& C4 {/ Y( U+ |/ y' y
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    $ o3 m( }; h/ G7 X2 {6 c' {
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : O1 W/ C: P+ B5 }* m' R
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * u3 H7 u' V7 D2 C/ A0 G) P  G
  1501. ; http://php.net/url-rewriter.tags9 |* }( M# M1 O) z, m
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"" u8 ~0 ~0 r9 E7 @; ~- R( [
  1503. . z% i+ }8 l6 g( b2 i5 A
  1504. ; Enable upload progress tracking in $_SESSION' U' D0 H4 g  I( I7 y9 d
  1505. ; Default Value: On
    ( B( k& P, k1 K0 ~
  1506. ; Development Value: On
      x: D( S3 B7 |9 ^1 u
  1507. ; Production Value: On7 O; B/ ?0 S, E8 Z- _- Y
  1508. ; http://php.net/session.upload-progress.enabled
    , n2 W: {* B/ G3 Y+ Z$ D: K9 Q8 G" ]
  1509. ;session.upload_progress.enabled = On
    1 {# M( ?; @; U' X. _
  1510. ' \/ b. m, y! ?. r
  1511. ; Cleanup the progress information as soon as all POST data has been read" p8 T8 J8 e6 r3 A
  1512. ; (i.e. upload completed).4 e, }" p+ v+ ~7 K. @. h& s
  1513. ; Default Value: On
    ( B0 Z; M" w5 q0 |0 u7 J2 X% j
  1514. ; Development Value: On
    & H& F+ @% G: ?
  1515. ; Production Value: On3 B1 K3 q* J- z# e
  1516. ; http://php.net/session.upload-progress.cleanup
    * U. `, [$ ~8 M* @7 R' A/ G7 L4 O
  1517. ;session.upload_progress.cleanup = On
    , H( y& s) d" h' T( ~2 I' V

  1518. % j$ S' [) `- j7 z
  1519. ; A prefix used for the upload progress key in $_SESSION
    # ]9 p$ w4 I  [, c9 X
  1520. ; Default Value: "upload_progress_"( O3 I  X  `; ]5 c5 Q! C1 F) b& V) ^  _
  1521. ; Development Value: "upload_progress_"
    6 u6 v, n. x- b6 P1 k0 k6 Y
  1522. ; Production Value: "upload_progress_"$ m( O2 @2 E. u
  1523. ; http://php.net/session.upload-progress.prefix9 }; g: r6 D6 A5 t# f* f
  1524. ;session.upload_progress.prefix = "upload_progress_"
    . t% \5 F/ ]4 L: q2 k3 z
  1525. $ M: w5 S3 N  d
  1526. ; The index name (concatenated with the prefix) in $_SESSION9 j% d/ t9 f- f5 o* L0 N! U/ ]0 [
  1527. ; containing the upload progress information
    6 |) m7 h% N, J
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"! |$ _9 l" A& ^
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"9 d( t8 ^8 d8 V$ P
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"& J7 j3 x5 X. T, R3 f2 E9 k' W1 P
  1531. ; http://php.net/session.upload-progress.name$ |! F6 @8 ~1 u( x
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"' v) o3 g; g8 Y$ n

  1533. 5 R: A$ C; u' E4 w* s! ]" I
  1534. ; How frequently the upload progress should be updated.6 {( z2 [# W6 W8 u5 b" z
  1535. ; Given either in percentages (per-file), or in bytes  F( v, @. ^9 r$ l' j0 {) I
  1536. ; Default Value: "1%"1 {% E. }$ e3 J$ M
  1537. ; Development Value: "1%"  d8 D" S- V$ ^: N4 ?: V! R6 m0 ]9 \
  1538. ; Production Value: "1%"* R8 P$ R; l& N' u' h: \3 G
  1539. ; http://php.net/session.upload-progress.freq4 a3 T# p7 B/ z# W5 Q! _( S
  1540. ;session.upload_progress.freq =  "1%"
    ! L0 H+ k3 u+ ?+ p; U% Z, c( L
  1541. % [/ E9 s; T: n
  1542. ; The minimum delay between updates, in seconds: v6 G' w" I9 x) @$ l+ e/ ?" e
  1543. ; Default Value: 1( D3 f: B" T! f0 ]0 k) r) n- E. @* k3 h
  1544. ; Development Value: 1
    - X4 W8 P6 |$ e+ j6 o4 K- b
  1545. ; Production Value: 18 D( U- l* v% X7 B! E) I0 m
  1546. ; http://php.net/session.upload-progress.min-freq
    8 b& _2 y$ J# v) ~: J& d$ G, e
  1547. ;session.upload_progress.min_freq = "1"/ N: w  K) p  [

  1548. 3 K) z% T7 x, v/ t7 I
  1549. ; Only write session data when session data is changed. Enabled by default./ g. I, O& q% {
  1550. ; http://php.net/session.lazy-write) D  @" C4 c0 ~2 J5 U/ R: V
  1551. ;session.lazy_write = On1 t" t( g5 D, M) `! h* O# P) d7 [/ E

  1552. 8 @4 K4 ^6 n3 N, C: r/ `
  1553. [Assertion], u: R" d' \$ E' A. F1 }" D4 b( S
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    8 q! _/ e$ q9 b$ U
  1555. ; -1: Do not compile at all2 N5 o- u; J7 W
  1556. ;  0: Jump over assertion at run-time
    4 o  n3 U: j5 ^+ |5 @& r# d# n
  1557. ;  1: Execute assertions
    / \" K  g8 G% ^, q% \$ A: @
  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)" ?2 J# U4 J9 G1 P# ^
  1559. ; Default Value: 18 f2 {' ?6 B5 m2 n, `8 b7 l4 a0 o
  1560. ; Development Value: 12 }! Q8 X( q! p
  1561. ; Production Value: -12 ?- X  O, c) v0 w' _8 x  v
  1562. ; http://php.net/zend.assertions
    3 j: Y5 l/ g% X& r9 p7 e+ I
  1563. zend.assertions = -1) L3 y. u0 H* m$ _" n

  1564. 9 V5 I% H: i1 ^; X& Y( a- `' p( Y& _
  1565. ; Assert(expr); active by default.
      g9 Q  A3 B: b" D3 O( W
  1566. ; http://php.net/assert.active  g+ x; O5 A# b- ?% K
  1567. ;assert.active = On
    ( ?9 f/ ]& ?9 D& c

  1568. - c+ O0 L) \! I: N' q
  1569. ; Throw an AssertationException on failed assertions( B# H. {2 e& L7 }
  1570. ; http://php.net/assert.exception" [7 l! Y0 H4 O  y
  1571. ;assert.exception = On% |+ Y+ C2 P0 }4 ~1 ~

  1572. & A6 w! E  y6 J) n* C: S5 R) O
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    7 g5 E7 @. N$ w8 q
  1574. ; http://php.net/assert.warning
    3 v4 {9 e' C) b( {9 n0 H7 t2 ~
  1575. ;assert.warning = On
    ( g+ _- M% b' U/ u% I

  1576. . ~4 n) l1 ?& u7 C
  1577. ; Don't bail out by default.
    # a0 \3 B. m/ ?3 F8 X
  1578. ; http://php.net/assert.bail
    1 ]- E, w5 u( w& O: y$ B' L
  1579. ;assert.bail = Off/ {- T! O$ B3 E: \) E/ r

  1580. , }  Z' k' ?+ p: g# D# I% l
  1581. ; User-function to be called if an assertion fails.
    & _/ ^& \8 r, f, G
  1582. ; http://php.net/assert.callback- K( ~3 K' Y; y& B9 A( ~, }
  1583. ;assert.callback = 01 y' ]7 s5 |6 ~$ j+ q! D& w( [

  1584. 1 U" k7 m5 F' A
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    6 C  j& X4 k6 l8 S% i5 m3 ]" V
  1586. ; error_reporting(0) around the eval().5 ~. {( F- V- `  t6 w
  1587. ; http://php.net/assert.quiet-eval& j5 g  A! Q+ N2 Y' P2 U
  1588. ;assert.quiet_eval = 0) v8 c3 c7 |2 c! ^5 `6 t+ q

  1589. ; z6 p+ L5 L$ f& l; Z% O" Y
  1590. [COM]
    * t( l2 `8 L( D, S2 `: o
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ; I1 k! W7 q5 e5 ~* l
  1592. ; http://php.net/com.typelib-file
    4 c$ @9 Z3 B* T. ^3 `- _6 s
  1593. ;com.typelib_file =4 T  d( ^6 m8 X
  1594. 0 r* c1 @1 E: S( W( ?! z2 V! j8 ~
  1595. ; allow Distributed-COM calls5 G% i4 d  b( R9 p- `' L
  1596. ; http://php.net/com.allow-dcom
    . @+ ~& y; s( j5 P
  1597. ;com.allow_dcom = true
    $ Y1 ]2 `3 @* u1 U! s& T, k# g
  1598.   ?2 J% a1 g* g% O$ y
  1599. ; autoregister constants of a components typlib on com_load()
    & I) i) K  g6 [3 o2 e
  1600. ; http://php.net/com.autoregister-typelib8 t7 }3 g  U! Y9 h3 @
  1601. ;com.autoregister_typelib = true& Q: C9 w+ T$ |
  1602. $ d, g: L1 ^. j
  1603. ; register constants casesensitive9 [9 n& w* x8 [2 g
  1604. ; http://php.net/com.autoregister-casesensitive
    . R: p) a% x( S& k, P) ~
  1605. ;com.autoregister_casesensitive = false# l9 U. Y! W/ I$ B- r* V8 j6 ]- [
  1606. ( v. P5 \+ z& [3 c# U. j
  1607. ; show warnings on duplicate constant registrations
    ; \& O0 S) I" V4 _7 o5 {
  1608. ; http://php.net/com.autoregister-verbose; Y' D% p; E. o; d6 T0 [6 T
  1609. ;com.autoregister_verbose = true# v0 C7 i0 T% I& \1 Y, y
  1610. # h6 z3 r+ y! {
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    8 F& M0 ~$ o. w3 u! j9 C
  1612. ; Default: system ANSI code page- x+ D2 z6 T& D4 u; [" y
  1613. ;com.code_page=# n  \0 b  A' ]5 d! w
  1614. ( o. j" s  f6 t' _; ^% k+ c
  1615. [mbstring]+ X: \# C/ V/ z" A/ Z" J& s
  1616. ; language for internal character representation.
      V8 y' |: i# J- A9 V/ l
  1617. ; This affects mb_send_mail() and mbstring.detect_order.' ~; I+ S( ~+ W% k
  1618. ; http://php.net/mbstring.language1 L& _* e( e+ |# x# X& T! S
  1619. ;mbstring.language = Japanese9 H8 R+ @  N- z+ G0 Y& L$ w" m
  1620. 6 K& t! ^- s" v5 F+ r. ~, \: v
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    % {( o  E: X5 n8 e9 `+ Q
  1622. ; internal/script encoding.- o" G  H, R. Y) ~& h" x) G0 B
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    8 ~! |: S4 y$ ?0 X
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    . F' k, k' C: ^0 [8 \" W
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    : Y( L# j) N: T9 g
  1626. ;mbstring.internal_encoding =5 E4 Q0 q7 X8 Q+ f7 d$ R, ?

  1627. 9 F6 V9 x1 l$ l" v
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    , X4 q* Q# l' \+ j: ~
  1629. ; http input encoding.& r- a; {/ ]; s& t9 I
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.; J& f. Q2 Q! m# o
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.8 d, Y$ u6 G/ u- h0 G
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input: g6 P* }- v1 G6 e4 Q! j7 n4 W
  1633. ; http://php.net/mbstring.http-input$ m: k, s) S" e( A$ i+ s+ a; n7 E
  1634. ;mbstring.http_input =7 S# M( w; o" I7 L
  1635. ; m+ }( D- l" e$ e" X
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    % q& ]1 y1 c3 M+ }" q+ G
  1637. ; http output encoding.: G; s7 T' B* ]* l0 G- @" c
  1638. ; mb_output_handler must be registered as output buffer to function.
    : T2 m: X4 ]9 u
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.* n6 ~$ p$ |( S( h+ O1 d( q% d! q- g
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output( T4 ~* X" |. |/ I) M$ Y1 a" E
  1641. ; To use an output encoding conversion, mbstring's output handler must be set& a4 S2 V9 c( h0 h0 f' w  M5 D
  1642. ; otherwise output encoding conversion cannot be performed.5 G5 ]5 R6 z1 }/ ?
  1643. ; http://php.net/mbstring.http-output
    , L% L( |1 X5 |+ x: L
  1644. ;mbstring.http_output =
    9 W6 h4 n8 }$ _. e- ]
  1645. 0 Y) ^+ f1 e9 u7 l5 o/ E. O
  1646. ; enable automatic encoding translation according to5 m, m1 l9 Y  p4 @# N
  1647. ; mbstring.internal_encoding setting. Input chars are6 Z8 l' e2 t, o! H& W  a- ?5 D) Z
  1648. ; converted to internal encoding by setting this to On.2 x( M, b2 C$ w' f2 R, O# S
  1649. ; Note: Do _not_ use automatic encoding translation for
    5 s: w8 i$ c" E( L; l
  1650. ;       portable libs/applications.
    7 ^& n; K. j/ S3 k" Y% U2 u+ B
  1651. ; http://php.net/mbstring.encoding-translation
    # }% K3 @: ]+ T6 X8 k6 y5 J" y0 ~
  1652. ;mbstring.encoding_translation = Off
    7 l3 x8 z! G; P; X
  1653.   D. Y. D2 R0 r
  1654. ; automatic encoding detection order." s* g' I# w# u0 f# L& m: z# j+ t
  1655. ; "auto" detect order is changed according to mbstring.language
    5 x5 {/ s; D6 M. I
  1656. ; http://php.net/mbstring.detect-order0 r8 @  P8 [* Y3 `; T
  1657. ;mbstring.detect_order = auto/ ^$ ?3 D2 m$ g  y% }0 X

  1658. : e$ ~3 @5 a7 {- v' }# b+ O6 X
  1659. ; substitute_character used when character cannot be converted9 x/ R' w5 F  `) I
  1660. ; one from another
    * G. y: j; k7 M2 l9 _5 z4 P
  1661. ; http://php.net/mbstring.substitute-character8 D3 Q4 K! @7 X9 e+ H) }, M
  1662. ;mbstring.substitute_character = none8 q0 D  _# @  T, X
  1663. ( a; J" ^! z; f% p% A$ i% r1 w
  1664. ; overload(replace) single byte functions by mbstring functions.& p( V- G* `+ j" b/ L
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),$ ?& c! `# H4 p5 t
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.; W) j# k7 O  |+ }( S
  1667. ; For example, 7 for overload everything./ A* _8 u6 |8 f& u, D  L
  1668. ; 0: No overload, \; K& N3 q* u4 z5 M( l
  1669. ; 1: Overload mail() function
    8 b4 i! R+ z. i( g6 Q  f
  1670. ; 2: Overload str*() functions
    8 ?, y: r8 R5 |& c
  1671. ; 4: Overload ereg*() functions& e9 Q$ |$ e5 E( m
  1672. ; http://php.net/mbstring.func-overload
    & F' a* j4 i9 S8 D) i+ V& T
  1673. ;mbstring.func_overload = 0* j0 a9 h( G4 {8 O: ?) s+ h
  1674. 2 [0 Q3 }! `3 V. E) L
  1675. ; enable strict encoding detection.2 F/ O7 V& ~: ^8 W( M; _" |. x
  1676. ; Default: Off
    5 k4 U, }7 Y2 z
  1677. ;mbstring.strict_detection = On
    9 ~# |! A. K% l: |0 X3 D

  1678. , b! U, u. g2 ?: ^0 [
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()" l% R' h4 T- m1 u1 a" a0 w
  1680. ; is activated.
    + s# \6 H( m, k& D( I# O
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)0 p. q) |% w2 P& D+ C: A  l0 A
  1682. ;mbstring.http_output_conv_mimetype=
    * ^3 f8 Y8 e# N) n
  1683. + h* R' ?6 Z) ?3 q& r/ Z
  1684. [gd]7 N1 @! z0 g* c* M
  1685. ; Tell the jpeg decode to ignore warnings and try to create+ w* T* U  i2 z3 X3 @5 o
  1686. ; a gd image. The warning will then be displayed as notices: ~8 n  G4 _) X/ ?& K
  1687. ; disabled by default) g# D& l: Y9 g4 B3 k" ^" s' }
  1688. ; http://php.net/gd.jpeg-ignore-warning
    9 W, m% p+ |# f
  1689. ;gd.jpeg_ignore_warning = 0) z( t, F& T  t- X! r  [. u
  1690. 1 F8 }1 G% M5 ?7 x* c! n
  1691. [exif]
    6 v. \( N) r( H6 n! a  g$ I
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.; p$ K( H5 _1 L( u$ W
  1693. ; With mbstring support this will automatically be converted into the encoding" y: P3 v( B6 ^; i+ z
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    / z. v" Z' o+ q* G
  1695. ; is used. For the decode settings you can distinguish between motorola and
    6 D$ S6 {# I$ b7 u2 Y) Z) j( l
  1696. ; intel byte order. A decode setting cannot be empty.5 g6 q3 b5 g5 K6 \/ K  f
  1697. ; http://php.net/exif.encode-unicode
    6 J0 C9 P7 B' S, q7 B1 j
  1698. ;exif.encode_unicode = ISO-8859-156 s8 s! K. Z: L* w9 i' N4 G

  1699. - M1 v, h! ]9 R& m/ G- n& Y
  1700. ; http://php.net/exif.decode-unicode-motorola
    % E, S' o+ E9 W
  1701. ;exif.decode_unicode_motorola = UCS-2BE- g3 {- R9 F1 Q6 p

  1702. % m1 v/ V' p7 W4 H6 D* v( j
  1703. ; http://php.net/exif.decode-unicode-intel/ T  }, q! V9 Q
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    4 k; G! C" [. E+ N$ a" }+ `! g
  1705. 7 [: ]: H* e2 l4 }% G7 m' H& ]" k7 t
  1706. ; http://php.net/exif.encode-jis
    - z1 D& r- y& ]- C+ F* i% B
  1707. ;exif.encode_jis =
    ) B( O0 c( N: Y5 e0 ^) `

  1708. 0 e; T+ ]3 n9 c
  1709. ; http://php.net/exif.decode-jis-motorola3 {% ?- s* ]7 ^- n
  1710. ;exif.decode_jis_motorola = JIS7 N' A% B, \, x; @1 g! v
  1711. + K0 @& S9 Q5 j  f0 a; ?
  1712. ; http://php.net/exif.decode-jis-intel
    6 h9 D, a5 E" \1 o8 d
  1713. ;exif.decode_jis_intel    = JIS7 i' S& J4 ^3 M& `  R
  1714. ' T, x6 T2 h$ Y6 Q8 M; }: }% e4 B# |
  1715. [Tidy]
    * ^' f. x: F5 \' C- A2 Y  g0 x
  1716. ; The path to a default tidy configuration file to use when using tidy
    . Z& ?6 Z! s& s: h* X
  1717. ; http://php.net/tidy.default-config. `  D( `9 |* m8 f
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    6 ?; I. [3 {" s/ l+ J( _- R
  1719. ( c+ l- H/ T  T+ N- d, @
  1720. ; Should tidy clean and repair output automatically?. q7 i4 R& i8 G/ q; V
  1721. ; WARNING: Do not use this option if you are generating non-html content( i- V4 B- n; }6 _6 O' O
  1722. ; such as dynamic images1 @- t7 q/ m$ z' ]. J5 n
  1723. ; http://php.net/tidy.clean-output
    9 y* @4 T3 h4 N+ P! r! @
  1724. tidy.clean_output = Off) g6 I5 W. d# d

  1725. - z6 I2 ]" H" }8 n
  1726. [soap]) b/ M! C* u3 X2 Y4 E
  1727. ; Enables or disables WSDL caching feature.
      B* }: \1 J, J, f2 e* V
  1728. ; http://php.net/soap.wsdl-cache-enabled! n; v' x& i, A% v" P; A
  1729. soap.wsdl_cache_enabled=1
    # R# N3 u4 y1 |* u; |
  1730. , p2 I2 Y' j9 }# j) G# C
  1731. ; Sets the directory name where SOAP extension will put cache files.
    ( @+ D* p7 p/ K+ Q8 i! E8 o' Y- `4 h
  1732. ; http://php.net/soap.wsdl-cache-dir4 S% t8 q& ?7 I
  1733. soap.wsdl_cache_dir="/tmp"1 i; A. D% ~; [, {% V
  1734. ( A. W6 T' Z" Z8 P
  1735. ; (time to live) Sets the number of second while cached file will be used/ M3 }8 F0 D& l5 N7 K/ W
  1736. ; instead of original one.
    , l5 o% I" V9 R" ?8 v7 b" K$ K
  1737. ; http://php.net/soap.wsdl-cache-ttl
    . I" e& K8 v, P8 v+ h; u
  1738. soap.wsdl_cache_ttl=86400
    / s; L  y' ?1 F
  1739. # _" `$ H" ?& f! w- Y4 w& s8 g
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)7 ]5 N6 }' h0 }/ }
  1741. soap.wsdl_cache_limit = 5/ _- J/ t: W5 T) L/ X, e; b
  1742. - J2 A" x5 S$ Z/ x
  1743. [sysvshm]2 r8 z3 a* f( b, p, X  z' R
  1744. ; A default size of the shared memory segment
    4 m5 t8 b9 X6 |7 E0 l8 s+ X) _2 B9 D- j
  1745. ;sysvshm.init_mem = 10000
    ! b; K: q# q9 M5 _3 z

  1746. * D, `- o, _# J: q2 M
  1747. [ldap]
    & O/ ^; W5 l* H8 j% i) Y
  1748. ; Sets the maximum number of open links or -1 for unlimited.3 d9 p0 s2 n9 L5 u0 j  q
  1749. ldap.max_links = -14 E9 n5 e; d2 w# V! Q

  1750.   {) W* {/ v3 q2 {
  1751. [mcrypt]
    1 d* l: r+ J! a# K; d- t9 _
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open" @3 e& @+ ]4 ]2 S( `# N- P

  1753. + G$ l; g8 G: K, ?: b
  1754. ; Directory where to load mcrypt algorithms
    ' k& D3 j% Y1 `0 z; _  ]  u
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    * T* V5 X, {' x: s8 p8 O+ C9 M) R
  1756. ;mcrypt.algorithms_dir=
    " o* K" M! p8 A; w
  1757. . A; [* U) c1 r! m3 [) A" F
  1758. ; Directory where to load mcrypt modes- |3 g3 W& m0 M$ Z# `
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    $ R+ \  u( Q9 ^+ G- C) N
  1760. ;mcrypt.modes_dir=
    + K8 c' b& S% S  w& z

  1761.   U/ J# {. Q9 `. m- K. O) o
  1762. [dba]
    * V3 P4 b- ]! g# n
  1763. ;dba.default_handler=' Q0 N- A' p: ^( h

  1764. : g+ X' I8 ]' O6 R; I/ i2 A
  1765. [opcache]
    $ X3 E, I0 D/ N
  1766. ; Determines if Zend OPCache is enabled' U5 C& [2 s4 b$ f8 T) ?$ |
  1767. ;opcache.enable=0: p& j: B9 m& X, s1 g: S2 @

  1768. : @( A+ ~7 {. G
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP/ P/ a! M  d: @3 @% W; `
  1770. ;opcache.enable_cli=06 J; L, F% l& H2 g8 ~$ ?0 t" S
  1771. 5 |/ `, {/ ]- [. v
  1772. ; The OPcache shared memory storage size.
    / N1 ^& }7 \8 \6 J& E' G
  1773. ;opcache.memory_consumption=64& \9 E# x/ Z3 A0 C& B3 P- j. {3 ^

  1774. 8 j% W: K! F( w6 y/ E
  1775. ; The amount of memory for interned strings in Mbytes.) a- Z( p5 Q8 I1 m! q$ I* F
  1776. ;opcache.interned_strings_buffer=4
    + l- a3 D1 q- H$ @

  1777. ; c5 f! ?5 v2 T0 n: j  j
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    - G1 ]$ `; z5 l# I
  1779. ; Only numbers between 200 and 1000000 are allowed.6 H) d3 B+ z9 A/ U
  1780. ;opcache.max_accelerated_files=2000
    2 [) F' |% [8 ~( b0 `, ?! ?
  1781. . v1 l/ b" T3 r2 e$ T
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.1 J( n9 W) }; ^) P" b+ b4 y2 @/ Y
  1783. ;opcache.max_wasted_percentage=5+ H& P1 {6 g4 g1 |2 A

  1784. 3 B4 d% y9 F7 s$ t% P. P( |# y: |4 q# U
  1785. ; When this directive is enabled, the OPcache appends the current working
    1 Q4 x6 p4 a' K# E$ S
  1786. ; directory to the script key, thus eliminating possible collisions between
    ) O3 O; r) t2 k- v) L
  1787. ; files with the same name (basename). Disabling the directive improves
    . ?% C7 D) T$ Z" c
  1788. ; performance, but may break existing applications." y& P  d4 I0 K) j
  1789. ;opcache.use_cwd=14 u' S# _% f3 b0 W- N
  1790. ! ?6 m# E' O/ R% A) ~9 J
  1791. ; When disabled, you must reset the OPcache manually or restart the  E# g1 v% u% L% p- W' ^
  1792. ; webserver for changes to the filesystem to take effect.4 c8 z! w8 v4 M& H9 K6 `
  1793. ;opcache.validate_timestamps=1# R' J5 b3 f7 a, u; e: @9 G
  1794. 5 l, m/ J; J9 F" K8 n; ?5 D/ o
  1795. ; How often (in seconds) to check file timestamps for changes to the shared: O1 _+ ~2 B- l4 f/ a
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    - ~# ?% P' m9 [. @: Q
  1797. ; once per request. "0" means always validate)
    : |5 L  Q+ y# ^' A, f
  1798. ;opcache.revalidate_freq=29 Q. |3 t( Z7 ^* m! g
  1799. 5 s+ v7 J- E& {  c* U; h
  1800. ; Enables or disables file search in include_path optimization
    % O; \9 t8 C1 B2 Q9 ^& j
  1801. ;opcache.revalidate_path=0
    ! _& \7 j; D2 \2 ^

  1802. " D; _0 C2 m8 z/ J' {1 l/ h4 O
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    1 I- V+ u. m2 Y4 Q4 r- V
  1804. ; size of the optimized code.
    ! q' ?1 s! V4 }" c- F' h
  1805. ;opcache.save_comments=1' R! x+ A' A# L: G5 e* m5 E$ ~& m
  1806. # J# v" O8 o" \8 S' U: B8 q- {
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code" P" a5 V7 \4 ~0 z- K, [
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    1 T0 H+ l1 j: C. X# F/ l
  1809. ;opcache.fast_shutdown=08 e1 M; A, X# B- g6 `

  1810. - o% d2 ~+ G$ |2 g" h3 h) d. k
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    ! A: v, Q- Q7 G9 i
  1812. ;opcache.enable_file_override=00 \. [# W' B/ C# s
  1813. 3 u' C; _' D" h9 b1 C/ T
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ) g3 U5 @: T# v' @/ v
  1815. ; passes
    , A! b8 h+ {) K% ~: _0 g
  1816. ;opcache.optimization_level=0xffffffff
    : X' x6 d  U1 Z3 S
  1817. % @, G6 `' i. Z. c$ m
  1818. ;opcache.inherited_hack=1
    2 e/ m6 x0 p6 t+ c: @! X
  1819. ;opcache.dups_fix=0" w( A7 N9 L5 J' B. J

  1820. 3 A0 q" _, c5 X/ s3 j, S# b+ D
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    6 {  ]0 p3 @  \
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    - J  {% u" a  J% {) z$ N+ Z
  1823. ; that should not be accelerated. The file format is to add each filename
    . j3 T: s+ |, B. B, r# R2 \* V
  1824. ; to a new line. The filename may be a full path or just a file prefix
    . G$ s( u& ^8 C+ V4 A' c
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www* ~/ p' [" k3 S- u8 d
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).7 o8 u- }+ n9 ~1 V' F- u
  1827. ;opcache.blacklist_filename=
    + m5 f9 j0 R% w) K/ M
  1828. 4 y5 n/ w* F  }0 E( c
  1829. ; Allows exclusion of large files from being cached. By default all files  S5 {1 l6 n) f5 V; w4 M
  1830. ; are cached.9 j# K* E. W+ G& T1 Y  ~) L2 a
  1831. ;opcache.max_file_size=0! x  u. N" x" x, ?
  1832. ( J% I! I& j% P3 s+ w0 |9 {+ [
  1833. ; Check the cache checksum each N requests.
    ! c) t  ^: _* `/ F( z
  1834. ; The default value of "0" means that the checks are disabled.
    : o& b7 Q: e- U0 E3 g! l: l# |
  1835. ;opcache.consistency_checks=0
    ; i) [: G0 `- C. W1 R8 u

  1836. , t9 \* U  b% J! k" v- K4 H
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache9 i+ \8 d8 N* q$ w4 @) S
  1838. ; is not being accessed.
    ! F5 T& k9 G; o& L7 ]
  1839. ;opcache.force_restart_timeout=180
    * k) T3 N. ?7 d& \9 C, O, b8 G2 c. q6 b

  1840. - `% t0 V% {( `; C) R6 G$ h
  1841. ; OPcache error_log file name. Empty string assumes "stderr".: Z5 ?2 z5 p9 R( f' O! k
  1842. ;opcache.error_log=! ~/ W1 a* V4 k- Q: g' T

  1843. ) @! w+ u/ `. Q7 j9 H; H
  1844. ; All OPcache errors go to the Web server log.
    8 v- s+ l* W0 V* u2 @
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    2 q2 G, j/ {2 G- A7 S1 i9 N
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    + z. _2 j) M  u
  1847. ; debug messages (level 4)., b9 `9 w  X/ L$ B, }
  1848. ;opcache.log_verbosity_level=11 i% S. u( K' Y* q
  1849. % Z3 \! j5 F9 o0 c  o
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.5 z  q, j( D8 l# ^
  1851. ;opcache.preferred_memory_model=5 N* G1 c; O& l8 Y+ U6 V& [

  1852. ' }; ]7 v# I: O7 f
  1853. ; Protect the shared memory from unexpected writing during script execution.
    % p% |) R& G5 Y4 @1 Q# k1 U, \
  1854. ; Useful for internal debugging only.! s2 i% q# E; c  y
  1855. ;opcache.protect_memory=09 t  s' i9 M3 n% O5 p$ F
  1856. + C1 }5 P4 D, @0 a9 V% A8 A
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    " R+ m2 j& g& ]4 U9 F6 s3 l6 b0 k
  1858. ; started from specified string. The default "" means no restriction
    9 ?' f1 q$ O" ]8 D  H
  1859. ;opcache.restrict_api=( W: c: ^* _9 m& {. Z/ b& N

  1860. : [# @8 ~: ]( W, f2 F/ {, ~8 z
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
      W) `8 M8 h' U3 I
  1862. ; processes have to map shared memory into the same address space. This
    7 `9 S3 U. I4 _) I, K: D
  1863. ; directive allows to manually fix the "Unable to reattach to base address"2 V# i4 p0 ~% @1 w7 T  y+ D
  1864. ; errors.
    + p- F& m+ k# y: p6 x
  1865. ;opcache.mmap_base=5 P1 n  \+ W, v& L; c

  1866. 1 \% D0 z+ N1 q# x" u
  1867. ; Enables and sets the second level cache directory.
    2 ~% n, ]7 s" q
  1868. ; It should improve performance when SHM memory is full, at server restart or$ s4 p1 m4 y6 r+ Q
  1869. ; SHM reset. The default "" disables file based caching.( V; R) I) ^2 ]1 o
  1870. ;opcache.file_cache=
    5 I# P/ Q; n  P. i6 s) ~! R
  1871. . N, W: o( m7 A
  1872. ; Enables or disables opcode caching in shared memory.& N2 g8 \3 Y: F' }$ z# D
  1873. ;opcache.file_cache_only=0
    & T: x, N2 B8 D' |% @& D

  1874. # f3 Q% b; Q% k# B2 k! y- I& t3 F
  1875. ; Enables or disables checksum validation when script loaded from file cache." f( b" M  \; q* U, L$ h
  1876. ;opcache.file_cache_consistency_checks=12 K' ?" a! S; D: y' `2 R
  1877. 9 |; f* @: w; v+ \
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    . F0 X0 Y  z" u; I  B: }, Y- n; b; f
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file) U- x: `) o8 ?
  1880. ; cache is required.
    , |! X3 }/ P+ s  g& C3 [
  1881. ;opcache.file_cache_fallback=1( ?$ ^' D( N; `8 Q) \  j
  1882. / b3 x% H; }+ w; R  f* y" d
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    0 O, m: @; N3 O
  1884. ; This should improve performance, but requires appropriate OS configuration.( z8 Q2 b  o- w/ l
  1885. ;opcache.huge_code_pages=1
    2 w3 G6 X- n- [
  1886. + B6 e6 L8 E; @0 Q/ D" N, Z3 x. n
  1887. ; Validate cached file permissions.
    5 o  E6 C" D( e0 P. l* ]- }+ u
  1888. ; opcache.validate_permission=0
    ( j) K9 Z' o" |5 r
  1889. & y- P6 r# a1 _  D* L* Z+ y
  1890. ; Prevent name collisions in chroot'ed environment.
    6 _8 k. o1 ~' e0 o1 Q
  1891. ; opcache.validate_root=0' q; g8 x3 c8 W0 {# v# j7 i- S. ?$ S

  1892. 0 |; W7 m- ~6 _9 T
  1893. [curl]
    7 _0 E2 T0 z) F7 \9 |
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    & _2 n" Y. H; E9 @1 s
  1895. ; absolute path./ U7 b) a: q- `" x3 T
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt% i& c3 `5 A1 C4 E  P
  1897. 7 E3 u( ]* x, _3 a$ ~; t/ `* O
  1898. [openssl]
    ' ?+ L0 A. b$ _7 M" R7 g
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    1 e% Z+ G; |) Z* z2 W4 E  y+ c# _
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    7 l: M8 [+ o) P0 h5 f9 d
  1901. ; not specify a value for this directive as PHP will attempt to use the) r) I, u4 c7 w* `8 t1 X$ E+ p
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    % r! A  }: Z; a- f: B/ f
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    8 c6 _, j8 R% P: M
  1904. ; option.
    % v$ J0 k: c' v7 h
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ( Q( h* S8 d6 R) L/ g

  1906. 7 b) b" ]. y+ F0 n
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the8 m6 c: f, s% I8 V
  1908. ; directory pointed to by openssl.capath is searched for a suitable) e8 y) m3 x6 [3 K: ~* U
  1909. ; certificate. This value must be a correctly hashed certificate directory.8 ]1 k7 R' U: |) T( T) b3 N
  1910. ; Most users should not specify a value for this directive as PHP will5 I, r* v' L0 q- b) ^, ^' s6 A* D
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,+ ^  P: w, R1 ^" ]
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    * T+ N6 Y2 J: \& G) m" O" h
  1913. ; SSL stream context option.
    : U& B, K8 W! k$ K2 a6 x
  1914. ;openssl.capath=; w+ n7 g+ x, u9 |8 @: s

  1915. $ u3 e; b3 Z7 x! u  O& ?$ P
  1916. ; Local Variables:
    ; c  X7 L! s- e
  1917. ; tab-width: 4/ T! D/ C$ m& H$ w: F7 I0 r
  1918. ; End:1 Y! b1 k& G0 Y
  1919. 1 K, P' ]+ R, \$ s6 }0 \
  1920. ;eaccelerator1 x0 _9 V: l4 Z

  1921. , H% k+ ]$ p& n0 `4 f# g! e5 p
  1922. ;ionCube2 F( C" c, D+ t

  1923.   F+ f8 p. k$ H0 \2 V
  1924. ;opcache
    - x% D6 Q0 h7 l) z

  1925. $ T! O- ?  d6 x5 D" Z- {. A% Q
  1926. [Zend ZendGuard Loader]
    % K! X* W8 |! r/ t$ ~
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    - b7 F7 X* c4 U! w2 {% R/ H$ l
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so8 y3 T5 P  p7 i0 c
  1929. ;zend_loader.enable=1, [  C" W* t5 d+ @3 s
  1930. ;zend_loader.disable_licensing=0
    1 \, _1 @- ~" G2 p
  1931. ;zend_loader.obfuscation_level_support=30 j0 B0 ~* _9 P* E- u' ?/ f0 f
  1932. ;zend_loader.license_path=
    1 R! r9 o" Q' E/ `+ Z/ n2 J
  1933. - j+ a$ l2 R$ K5 v3 @  i
  1934. ;xcache5 [) I9 l* ~1 g! P

  1935. - O7 u" r7 t4 i' C* U, [
复制代码
. y; I. c& P- v; C

8 K: ?( @% w% n# a. [8 \, S3 d* U/ z- K  M" r$ m) S# F& J
, ?& q" m' _8 C6 k0 y9 b

1 u1 g; k) p2 e/ m# m! z5 b+ n, i3 r$ m# A& s9 _6 ~
$ l# F2 y: ^. S; j* C
PHP5.6版本原始设置; X! f% q8 o. x9 T9 W7 r* }

+ I3 f  W. i: U6 K3 x; l' X
  1. [PHP]& Y8 ?& R0 j9 ?+ J- `( a
  2. / m4 {. Y6 D- [% Q# A7 t
  3. ;;;;;;;;;;;;;;;;;;;0 g) ?+ E, n! A0 n9 W
  4. ; About php.ini   ;
    6 m$ \# F9 W1 y6 f% U5 s
  5. ;;;;;;;;;;;;;;;;;;;. N' k$ e- B+ U3 R1 p9 Y) M
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    4 _; l' w* G$ u9 G, _9 I
  7. ; configuring many of the aspects of PHP's behavior.
    ' d- J& v5 Y; _2 i( V$ \1 T2 w/ g
  8. 8 w5 H6 z  R" r: j  `  b+ h
  9. ; PHP attempts to find and load this configuration from a number of locations.
    0 n% g4 j$ }5 m* P$ r
  10. ; The following is a summary of its search order:
    / ~# w! _$ e5 X' N4 a3 h
  11. ; 1. SAPI module specific location.
    7 q& L4 x8 a- e$ V  ^3 F
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    , W! s- Y+ |8 X! r+ m4 e
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ! v/ G; g2 K9 d. c2 W' r  T
  14. ; 4. Current working directory (except CLI)
    & [+ y0 J; w$ i/ H" ]
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP6 B' A- ~/ p2 _
  16. ; (otherwise in Windows)/ K( y8 n' h4 d/ u
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    3 ?) C% k' @4 E0 b! ]& W- @
  18. ; Windows directory (C:\windows or C:\winnt)
    ( U7 {5 [; ^3 A( \
  19. ; See the PHP docs for more specific information.
    $ w3 Y  l$ ?# I# `" {6 j- H
  20. ; http://php.net/configuration.file) C8 k7 z" E( m' k' U2 b

  21. 9 n& l9 L! z* ^5 O; G: h
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ! _) I( w! R0 {
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).4 m  |9 t6 m& |& m( ~5 j
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    6 q& ^: l2 n* J7 O0 V4 p
  25. ; they might mean something in the future.0 V5 t* I1 T5 M6 v( z& W

  26. 4 O: K# X% [6 b" o9 f. Q
  27. ; Directives following the section heading [PATH=/www/mysite] only
    $ ~; b# i; T9 b3 Q+ \0 {9 ~3 I
  28. ; apply to PHP files in the /www/mysite directory.  Directives
      k7 g' l  y- ^
  29. ; following the section heading [HOST=www.example.com] only apply to
    5 \2 O: f2 @' |0 V: I
  30. ; PHP files served from www.example.com.  Directives set in these
    2 _8 K8 U0 Q1 f- B
  31. ; special sections cannot be overridden by user-defined INI files or! U  O* I& o% c' _
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under& O! u/ l. |$ n' x" W
  33. ; CGI/FastCGI.
    ; n% A" |. V* n) q2 ]
  34. ; http://php.net/ini.sections
      D7 b; x* Y: X4 N# ^% _
  35. 4 A4 x6 e; g9 z
  36. ; Directives are specified using the following syntax:
    * e1 _# T- Z, y$ A2 w9 M$ j$ s
  37. ; directive = value, z9 L& m4 K, j' {$ K6 f
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ! q# M, R; h$ S2 o' k
  39. ; Directives are variables used to configure PHP or PHP extensions.6 H7 r( o* y! n9 \$ P! }
  40. ; There is no name validation.  If PHP can't find an expected
    + n5 Y5 o) V) ]; Z# I
  41. ; directive because it is not set or is mistyped, a default value will be used.5 A( n+ z! i* i# P4 e

  42. 0 W. ^3 ~' z, m. e0 H. _8 A
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    : b2 K  K9 x$ `. A8 `& [  n/ D3 f
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    4 i6 ~, |7 M4 E3 n
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    3 H( d% S. k4 Q! \5 u/ `0 m( M
  46. ; previously set variable or directive (e.g. ${foo}): @5 o) R. S9 {6 M( J+ f
  47. / N1 V! m1 U" E; W, s
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    1 y& D/ r9 C8 v
  49. ; |  bitwise OR
    7 @- e# Q6 |1 B2 ~  @* [
  50. ; ^  bitwise XOR' t4 C5 x$ z1 {6 L
  51. ; &  bitwise AND
    4 A- H& Q& W# h$ T
  52. ; ~  bitwise NOT) G! e# C% p, Z: K
  53. ; !  boolean NOT: E6 M( F0 ]4 ?- x0 v
  54.   R8 y; x- E; Z5 L" h2 W7 i
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.& u- J8 q' S* l; E/ d, o& Y
  56. ; They can be turned off using the values 0, Off, False or No.
    ) K0 x+ I' i: s$ z) h

  57. # A: y0 a5 X8 f! V/ l
  58. ; An empty string can be denoted by simply not writing anything after the equal) [2 ^- m+ [7 K& h
  59. ; sign, or by using the None keyword:- Z( q  G- a" B( K" C6 r# d+ ^
  60. * ~3 c# O9 \$ L' a
  61. ;  foo =         ; sets foo to an empty string' i. g  ^" W+ g, I0 y6 X2 I/ F
  62. ;  foo = None    ; sets foo to an empty string
    ' m0 w! M8 x# d, n# o8 `
  63. ;  foo = "None"  ; sets foo to the string 'None'# A' j$ m" y2 H$ b; j

  64. + c& Z$ ?) Z* S  n8 h
  65. ; If you use constants in your value, and these constants belong to a- e+ y1 d, F  C1 F7 ?5 u# g9 D
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),( X, @8 ~# c* e# u. l- X
  67. ; you may only use these constants *after* the line that loads the extension.) g3 _9 }7 W, D* |% L3 s- ]7 S0 a3 W
  68. / K$ I0 n4 [4 o  m( W
  69. ;;;;;;;;;;;;;;;;;;;
    . j/ p2 T+ R7 H: T+ n, V( r) |& t
  70. ; About this file ;
    * \$ W) Q' i. z# @2 k' I
  71. ;;;;;;;;;;;;;;;;;;;/ G; X* s4 U) i+ P# C
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    2 e" D: _+ U, E" A+ Y; d9 ], E( o
  73. ; in production environments and one that is recommended to be used in
    / D6 q3 z: N! k3 W1 V; L
  74. ; development environments.. A1 L* @+ R6 d2 @- a

  75. / [6 u2 t* ^2 d% O' E3 i
  76. ; php.ini-production contains settings which hold security, performance and
    ) F7 a. k& J! |; J+ ]9 I7 o3 C
  77. ; best practices at its core. But please be aware, these settings may break
    4 S4 l2 k" d8 R
  78. ; compatibility with older or less security conscience applications. We) C, I) a& X. ^) M
  79. ; recommending using the production ini in production and testing environments.
    * e- n" v1 c2 S$ W( \

  80. ! x3 b3 C$ n; i6 p5 e% G2 h
  81. ; php.ini-development is very similar to its production variant, except it is
    + X1 c* c  e) s+ ~# Q. b
  82. ; much more verbose when it comes to errors. We recommend using the5 V! ^7 E" b# W6 I
  83. ; development version only in development environments, as errors shown to
    3 |) L5 D9 a2 w3 J4 T# B
  84. ; application users can inadvertently leak otherwise secure information.% y8 Q5 V* J5 X1 X$ K2 l. \, _
  85. 7 _" O$ }$ E- A
  86. ; This is php.ini-production INI file.2 l" k3 S1 R; P

  87. / J; n1 {" q& d9 ~
  88. ;;;;;;;;;;;;;;;;;;;
    ( D, S. E/ B/ Y' Q* }* C( H! w
  89. ; Quick Reference ;# S2 H; N( U3 Y0 D/ C, \3 }
  90. ;;;;;;;;;;;;;;;;;;;
    * g- z. q$ s6 y/ d: Z$ \
  91. ; The following are all the settings which are different in either the production, r+ ~; J4 ^( L: O0 M' J
  92. ; or development versions of the INIs with respect to PHP's default behavior.- w; }" o2 @3 G
  93. ; Please see the actual settings later in the document for more details as to why
    : Q. l! g+ t3 D. k0 P
  94. ; we recommend these changes in PHP's behavior.
    * Q+ b) C/ Q8 v6 `% N
  95. 3 s. Z* _! }+ ~: B5 y
  96. ; display_errors. a% A/ U1 O2 ?$ ^
  97. ;   Default Value: On/ J+ Q: h, S- \' ~- _2 D( s$ a
  98. ;   Development Value: On
    : c# R2 m# H5 u2 _' S8 M  P
  99. ;   Production Value: Off
    ) l7 l& c. F4 m2 m' l! Y+ f
  100. ' U/ Z: }8 h9 ]* M1 G. {
  101. ; display_startup_errors
    : T8 U- L9 `( F7 ]: w4 J- c
  102. ;   Default Value: Off
    $ ]2 f( t! Y# Y# q; ^
  103. ;   Development Value: On# T- r* @3 g0 t; v& f: X+ H
  104. ;   Production Value: Off0 a, J2 @8 e7 m& S

  105. 0 l9 B; o2 w0 b% L2 |8 w3 k9 p) G" n
  106. ; error_reporting  T* Q# Y& m" i: V
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED; s" g# D! p4 O1 r- h1 Q  p
  108. ;   Development Value: E_ALL, G3 I+ @, x( ?  o) f
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT; C/ y# r. W( _

  110. ( {2 R9 q- ^( \. V; O5 l7 }
  111. ; html_errors# n9 t+ q( R) C: D) e
  112. ;   Default Value: On
    " b! {* |' e$ q8 c- D+ E
  113. ;   Development Value: On
    ( q9 Y  a$ R+ k5 q" u8 J$ S) j
  114. ;   Production value: On# r5 ]+ U7 \/ w
  115. 4 f6 }: x5 d' w( S( L& c
  116. ; log_errors
    . c2 u+ \- Y" l6 z' G
  117. ;   Default Value: Off
      v3 i! k( Y3 e, v! w. v) R, @
  118. ;   Development Value: On
    $ e4 _& h8 ]7 N7 l
  119. ;   Production Value: On5 X0 F& Z3 v5 {( b- |6 [

  120. " h# k- ^! }7 ~3 c8 M7 u
  121. ; max_input_time" f# _: `& Q  t+ L( f; h
  122. ;   Default Value: -1 (Unlimited)* @% P) @' v3 G- I& I- v
  123. ;   Development Value: 60 (60 seconds)
    / T7 J: v: o& r, F  S  ~
  124. ;   Production Value: 60 (60 seconds)' R- B( \% {, _7 k' r" S

  125. + g0 Z+ H. m8 m) l# F" q
  126. ; output_buffering
    + \5 A5 Y, M& o* T3 G) Q4 R0 [
  127. ;   Default Value: Off/ K6 o6 ?% f* V
  128. ;   Development Value: 4096
      g! w2 n/ @% U6 @2 P
  129. ;   Production Value: 4096
    9 J6 \$ L# q( x0 g6 c' N

  130. ' ~3 _5 }+ ~" _: n
  131. ; register_argc_argv0 k) P+ r7 d9 R4 H7 S* m! q# O
  132. ;   Default Value: On
    ( R* t5 q6 }1 ~  g" d4 ]. M+ Z
  133. ;   Development Value: Off3 s" N" k/ @+ P8 v! H0 J/ o& f
  134. ;   Production Value: Off7 Z4 r, A. q: H& P! a
  135. " d, K1 v. {( n6 y! _" }; [
  136. ; request_order1 K+ Y. F! ~+ ?+ ?! b
  137. ;   Default Value: None
    ; d1 m" g  e, ^. t
  138. ;   Development Value: "GP"
    # H' D. D2 N' N7 w) R( M8 [; m
  139. ;   Production Value: "GP"4 O3 ^8 l% ^. S: H
  140. " u6 {$ ?9 \1 x- e7 i$ z8 [9 W# q
  141. ; session.gc_divisor
    . M7 @) y/ x4 I- L& O( [& r/ ~, `+ n
  142. ;   Default Value: 100% v: v5 V) k) E0 R& ?* ?( f. ]( [6 l6 r
  143. ;   Development Value: 1000
    $ D% I4 c( ]) g- K
  144. ;   Production Value: 1000
    3 e1 }7 l8 H* @

  145. # U: N$ h& y) K) B! `8 Y
  146. ; session.hash_bits_per_character
    / `8 ?- D6 v" @5 `! C) L
  147. ;   Default Value: 4
    2 @! F1 R8 p- V- J
  148. ;   Development Value: 5
    # a2 S- E+ A" c% T7 m
  149. ;   Production Value: 53 Z' |0 q2 i. N. N

  150. " a/ V5 \# s5 x* t
  151. ; short_open_tag
    2 M' x* {4 h7 O
  152. ;   Default Value: On' s" v' O5 ?, X4 V4 l: B
  153. ;   Development Value: Off
    , A' s+ ^1 b. t; |# k: K; ~: |7 W
  154. ;   Production Value: Off' a1 x2 l( D# n
  155. # _$ w* V6 m! Z: p1 i
  156. ; track_errors
    1 |/ |( c7 T0 B3 e9 [2 e
  157. ;   Default Value: Off
    / `' ?! q% J' J
  158. ;   Development Value: On
    & Y! n6 s/ U, U! q$ n
  159. ;   Production Value: Off
    3 x+ m" a) V& v3 v* z) O+ _8 W

  160. 3 G; H0 u0 [* D
  161. ; url_rewriter.tags
    & g$ D! j$ v2 U' C3 m1 S+ h3 G& Z* ^
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    % T8 H; z& r2 N; j3 h* G
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    " u! w7 k, L. @1 e, J. j5 D% \
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    / u: N: w" u+ p. j6 I
  165. + C/ j. W! \9 r  G6 B. s
  166. ; variables_order
    . K! b  j' A  A' r7 D  c+ f
  167. ;   Default Value: "EGPCS"
      Z2 M/ C8 E* \4 u9 D
  168. ;   Development Value: "GPCS"( c) G' L' C0 q6 |
  169. ;   Production Value: "GPCS"$ L( G& a" n& C. \0 T
  170. 1 a8 |9 S0 Z1 _- F% {* p
  171. ;;;;;;;;;;;;;;;;;;;;2 x- S& f: H( e5 W1 `' k
  172. ; php.ini Options  ;
    - {! h3 f: `/ M, O7 E
  173. ;;;;;;;;;;;;;;;;;;;;
    : t2 C  M& K; N. I1 c6 X9 _- B& @; g
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini": f# z% W* ?, t4 ^3 S( H
  175. ;user_ini.filename = ".user.ini"
    % X, j* c! k7 Y5 q# f. @1 W
  176. 5 \% r' f, a9 M# J/ L
  177. ; To disable this feature set this option to empty value7 v0 H  S" ?# @4 Z# u$ A  Y
  178. ;user_ini.filename =
    ' g+ e9 X# E6 ?) c6 u. P
  179. % W* D3 _, g4 z/ r
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    , e$ n7 R2 _% M+ B1 @  r
  181. ;user_ini.cache_ttl = 300
    5 n: y' D% u/ [* C8 _* s+ j! _

  182. # m& T6 a$ B( P: d1 e$ E- S
  183. ;;;;;;;;;;;;;;;;;;;;
    . v+ N3 h. U0 m: |# O# G2 z
  184. ; Language Options ;+ s" b5 ^4 _7 @5 A# e
  185. ;;;;;;;;;;;;;;;;;;;;8 R7 V8 B/ A! u$ A( Q

  186. ! S) @' v" _+ f, x, S: n
  187. ; Enable the PHP scripting language engine under Apache.' Q, Z! v4 u2 d
  188. ; http://php.net/engine: I1 C3 N2 v/ f% F$ D: _
  189. engine = On
    , d5 ?' o* c! g7 j  t
  190. & k; _! Y3 n8 b+ N
  191. ; This directive determines whether or not PHP will recognize code between! G( ~! x$ M- e, C0 S
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    : p1 P9 m* ^) K+ v, U% J
  193. ; generally recommended that <?php and ?> should be used and that this feature
    8 F* L* l: p& w( Q" D. P& d+ ~  C
  194. ; should be disabled, as enabling it may result in issues when generating XML
    0 a) T% E% I: w% r2 P" T6 j3 z6 D
  195. ; documents, however this remains supported for backward compatibility reasons.9 m, r& `, Z/ P& ]: k
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    8 `$ k% ^  h+ [+ J) H8 I' K- w
  197. ; used regardless of this directive.) N5 M5 P# M) m9 i7 h& j, x
  198. ; Default Value: On
    4 j1 R# e; p! k2 T
  199. ; Development Value: Off
    - t: `5 Y+ D2 `, i, v
  200. ; Production Value: Off' o! T! K, A+ o+ T: t, V3 T7 `
  201. ; http://php.net/short-open-tag( L$ d' h& I! p1 A& H5 v9 v
  202. short_open_tag = On
    ( D2 ^& c! O+ W, r0 D1 x

  203. % f+ F" Q! A0 F1 H# A$ V+ j% ~( j' T
  204. ; Allow ASP-style <% %> tags.3 m/ t  ^6 _0 n; |3 {  I3 }, N
  205. ; http://php.net/asp-tags1 A+ U+ U4 l+ W# l
  206. asp_tags = Off9 @+ I! @9 e% s+ f5 z$ r/ C0 @

  207. / S4 A5 ]4 B0 v" K- d& q
  208. ; The number of significant digits displayed in floating point numbers.
    % O& l$ z. Y5 U: F
  209. ; http://php.net/precision6 S* C# z6 z3 h$ \) ]
  210. precision = 14
    4 i% s# e" E. \  m2 m; e3 O6 ^

  211. 5 a, n% d  t# j0 x( K
  212. ; Output buffering is a mechanism for controlling how much output data
    8 M, A- g6 Q( O. M& Q( R% _
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that# n  \" k) b! y0 v7 ^' V
  214. ; data to the client. If your application's output exceeds this setting, PHP( b9 W2 q3 R  t6 i
  215. ; will send that data in chunks of roughly the size you specify.! L7 y. ^9 ?; s  O' S
  216. ; Turning on this setting and managing its maximum buffer size can yield some+ f8 g* W3 ?; Y/ @3 z
  217. ; interesting side-effects depending on your application and web server.
    * Z) ]3 E8 _" v
  218. ; You may be able to send headers and cookies after you've already sent output) R: K# X' d3 F4 ^2 n2 ^) Z0 |( ~
  219. ; through print or echo. You also may see performance benefits if your server is' R0 }0 ^! N; h! t9 }- s
  220. ; emitting less packets due to buffered output versus PHP streaming the output2 }: X' z0 f7 t. J7 y
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ( I/ f9 l; e) i5 y  ~# {. h( _" U6 x
  222. ; reasons.
    0 t3 r9 L7 z8 a
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    ) F! d$ f4 w2 b% y  _" o! G
  224. ;   functions.
      t7 f' D. w$ R+ o! h+ S! n$ V: z$ F
  225. ; Possible Values:
    5 o* N' d: e/ o8 {& ]* @
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    * h: e8 c" C; ^$ {( {
  227. ;   Off = Disabled6 U+ S$ o# r7 p
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.! n+ {! F0 L1 \8 _7 X6 _+ R- s- M
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    3 a1 p# S- C& D- |% k7 i7 F. f
  230. ; Default Value: Off
    7 Q3 _' G1 ?$ F! [( ?
  231. ; Development Value: 4096
    $ q3 O- o% W" w
  232. ; Production Value: 4096# j" v* z6 v9 r: S# U$ W
  233. ; http://php.net/output-buffering' y( ~: y; M. t* C/ n
  234. output_buffering = 4096
    ' X; J1 }) f+ U* N7 ^. I
  235. . b3 v' [/ C: ]4 u: s) P6 J  {
  236. ; You can redirect all of the output of your scripts to a function.  For
    - E( z3 f" N0 }" f) B, L5 K5 {+ J3 X
  237. ; example, if you set output_handler to "mb_output_handler", character
    2 g7 w% ]1 K2 r+ f0 |. |, U1 z9 {
  238. ; encoding will be transparently converted to the specified encoding.5 r: U9 s. A1 G
  239. ; Setting any output handler automatically turns on output buffering.
    * Q& J  H/ U; [
  240. ; Note: People who wrote portable scripts should not depend on this ini
    : ~9 h0 H( ]1 R# N1 G
  241. ;   directive. Instead, explicitly set the output handler using ob_start().2 u  {5 J2 ?2 @2 H
  242. ;   Using this ini directive may cause problems unless you know what script
    4 W6 l8 U2 B% c' f
  243. ;   is doing.
    . ?5 [6 j4 j( f* x8 f8 l" y
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    & }& `" f: t" B! S$ F# l
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ( r, I, r6 T4 N+ D3 J
  246. ; Note: output_handler must be empty if this is set 'On' !!!!" k, |* U6 [: h' Z
  247. ;   Instead you must use zlib.output_handler.
    ' D) {) s1 _9 g) s- E: l
  248. ; http://php.net/output-handler
    , U% q9 _# I. G1 u' f
  249. ;output_handler =
    0 x" D; V- O. }: B- ~
  250. ( @8 K$ ?* i/ i: ]# ], l- r; S
  251. ; Transparent output compression using the zlib library: R8 y9 l- W9 D' a, `% `% l$ G: \+ U
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    8 Z- r1 {) p/ G0 j1 e/ J% C
  253. ; to be used for compression (default is 4KB)3 v9 P* Q& k: |) G. C! S# u. j
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    3 i# |" c4 r8 l1 f6 F
  255. ;   outputs chunks that are few hundreds bytes each as a result of0 y3 R* e# m3 H$ R+ U) b7 Z6 ~: R% h
  256. ;   compression. If you prefer a larger chunk size for better
    . p+ T* R$ I! M- E* x! D  K( f
  257. ;   performance, enable output_buffering in addition.0 j$ y- y; l1 B" u
  258. ; Note: You need to use zlib.output_handler instead of the standard5 G- n3 |  z& J2 E' }
  259. ;   output_handler, or otherwise the output will be corrupted.( [/ W' a1 U5 y7 _9 m: a; O
  260. ; http://php.net/zlib.output-compression, V/ j" Z* G, X' l$ D8 g  j4 D$ A
  261. zlib.output_compression = Off
    , g# f5 \$ W/ F: L9 V

  262. : U: e$ O( O; f0 o- z
  263. ; http://php.net/zlib.output-compression-level& y  f+ O, V5 E0 [) b( s7 T
  264. ;zlib.output_compression_level = -1( a: ^' a, Q- S4 I. ^
  265. . B# ^" @. P# d
  266. ; You cannot specify additional output handlers if zlib.output_compression
    7 c0 ]5 z' t$ I& n2 U3 {- }9 G
  267. ; is activated here. This setting does the same as output_handler but in+ H. G& r. J/ U' L0 X
  268. ; a different order.' @* r  V, x, r8 e7 c! i8 ^+ g4 d
  269. ; http://php.net/zlib.output-handler# o! Q6 w( d% x) `5 s. c  X1 s. g8 Z
  270. ;zlib.output_handler =
      u6 E" a, i/ W6 @& q1 Q  k

  271. / C) [) d/ y2 M% @6 n
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    - q0 W$ o0 i! T6 f/ w4 f
  273. ; automatically after every output block.  This is equivalent to calling the
    % M! ~: d. f( t" h$ B* c4 A/ p0 j
  274. ; PHP function flush() after each and every call to print() or echo() and each' c" t2 @' [! o: r4 g. @- O0 D7 y
  275. ; and every HTML block.  Turning this option on has serious performance
    " {. s, ]2 s$ S) G4 F: b
  276. ; implications and is generally recommended for debugging purposes only.) D. s8 _& _$ r  L
  277. ; http://php.net/implicit-flush5 ~8 Y# t+ \, T! [6 k: e+ [
  278. ; Note: This directive is hardcoded to On for the CLI SAPI6 g2 s& V% r" x6 j3 G
  279. implicit_flush = Off
    " m6 k5 c; o6 @: j

  280. + E+ B/ Q# }- {
  281. ; The unserialize callback function will be called (with the undefined class'; ?3 b+ T% ^) _8 k4 t/ U
  282. ; name as parameter), if the unserializer finds an undefined class0 r% F8 E( x8 q
  283. ; which should be instantiated. A warning appears if the specified function is3 h# n  f1 w3 c  {) r3 f4 c/ ?3 p0 Z
  284. ; not defined, or if the function doesn't include/implement the missing class.+ p1 l" W( [' _$ ~4 s0 n1 U( M  U, e
  285. ; So only set this entry, if you really want to implement such a) r( X' E2 h: C! \; _
  286. ; callback-function.
    " S, V1 ?5 [7 o. j6 G3 v/ F
  287. unserialize_callback_func =
    7 T5 K( ]: _' c4 D/ V
  288. ; V: E0 T9 U; g. R" H6 f# e( @& C8 t( b
  289. ; When floats & doubles are serialized store serialize_precision significant
    : W6 Y) P1 Y+ d/ y
  290. ; digits after the floating point. The default value ensures that when floats0 Q/ }# P5 D  j0 Q6 o
  291. ; are decoded with unserialize, the data will remain the same.2 C, y( c- ]% s
  292. serialize_precision = 179 W6 G9 N" M& {
  293. / W: J# R9 I( f* C5 I6 e
  294. ; open_basedir, if set, limits all file operations to the defined directory
    / L# ?  a- `" U, O9 ?
  295. ; and below.  This directive makes most sense if used in a per-directory8 T2 d& d8 X4 \' [, H$ x
  296. ; or per-virtualhost web server configuration file.+ s$ X1 y3 O$ ~8 ?$ o
  297. ; http://php.net/open-basedir
    % z* Z2 q' H8 c' B  K; S: `4 |
  298. ;open_basedir =
    7 U3 A! k- j$ o% o% _: M7 M7 y1 E

  299. 6 d- W) M: s2 X9 D# Y2 ~
  300. ; This directive allows you to disable certain functions for security reasons.% e, C* y/ f$ U5 |
  301. ; It receives a comma-delimited list of function names.# S/ C8 q2 `. [
  302. ; http://php.net/disable-functions
    2 B& g- Q* {2 U9 d
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    1 J# s/ }  T" j0 N0 d

  304. ' w) P" Y! ]5 i8 Z8 A' T( \9 I" H
  305. ; This directive allows you to disable certain classes for security reasons.0 Z  _5 t! Z9 f3 T# S, n
  306. ; It receives a comma-delimited list of class names.0 |# Q; s2 K1 L7 ^2 N( y* K3 P0 p; M
  307. ; http://php.net/disable-classes& j& x: M: b' T
  308. disable_classes =
    - h2 h4 A* Y8 a* x! D

  309. 4 E- @) }0 D2 N- ?8 d9 V
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ; B4 C, Q: B! T) \, N7 b2 t
  311. ; <span style="color: ???????"> would work./ l% d9 u) h: d* n  s
  312. ; http://php.net/syntax-highlighting1 H! J' ?( I5 e  d. ]5 R
  313. ;highlight.string  = #DD0000
    $ _' U4 |0 q) S6 O3 w& r6 a
  314. ;highlight.comment = #FF9900
    ; i% Z$ a% ]3 @
  315. ;highlight.keyword = #007700
    " w( b2 y% C" n! {6 P" t3 {$ c+ i# k0 Z6 U
  316. ;highlight.default = #0000BB7 \: c% `5 d2 S
  317. ;highlight.html    = #000000( z- H0 y3 e, ^' N! J

  318. . q9 e6 O" U/ u+ _# V
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    : c) B- ^1 y$ g" Z+ V
  320. ; the request. Consider enabling it if executing long requests, which may end up
    * x3 O/ K; P$ y& X
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    , Y# e* i" f# b9 v# f
  322. ; is to disable this feature.( F( e0 W& S* Q  u6 J' b3 J+ q
  323. ; http://php.net/ignore-user-abort# d; a0 q) S, \7 ^6 m/ x3 y
  324. ;ignore_user_abort = On% z) I9 ], ^* A4 P+ x, r
  325. " z9 W( H6 `( n* X, i" g  }, t. R
  326. ; Determines the size of the realpath cache to be used by PHP. This value should# N* [$ G: \9 m0 e8 S4 V
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    4 I& e/ m/ I% A: h
  328. ; the file operations performed.
    2 i" _- P- d# D! r
  329. ; http://php.net/realpath-cache-size  L2 h+ D3 w- p) K6 A( Y
  330. ;realpath_cache_size = 16k% o5 y) j1 H0 H+ h
  331. . ]1 Q" i- v8 Z9 Y& O
  332. ; Duration of time, in seconds for which to cache realpath information for a given
      t7 K4 l- u8 u! u
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    * j; I. T9 k; b' X, L
  334. ; value.6 F$ V) J% r4 d$ C2 C$ G0 P
  335. ; http://php.net/realpath-cache-ttl8 j& s3 R" Y& O) g! j
  336. ;realpath_cache_ttl = 120, O  |& D0 L/ m3 x9 T) p/ a) M
  337. ( P2 S/ O- n1 l7 z' O
  338. ; Enables or disables the circular reference collector.! L! [0 B: b5 `- d% w8 h) X
  339. ; http://php.net/zend.enable-gc
    : w7 T( [( i! K/ {9 X% W
  340. zend.enable_gc = On& p& _5 `' a0 E  O- z% z& k: [
  341. , \+ W* y. }3 G
  342. ; If enabled, scripts may be written in encodings that are incompatible with) f2 m8 m) J+ Q4 I% a/ c. I
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ' _1 R" [) g* d
  344. ; encodings.  To use this feature, mbstring extension must be enabled.6 D+ i+ I7 g7 q( i
  345. ; Default: Off
    ' z" B9 R* \% M; X& P$ m1 v
  346. ;zend.multibyte = Off+ M, u2 ^' B2 }9 ^/ F9 e

  347. ; F0 }9 v7 Y/ j6 n4 S) p  Z
  348. ; Allows to set the default encoding for the scripts.  This value will be used' O" k0 S5 A& S, T
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    / v/ o+ U( E4 N9 F# l  T  b
  350. ; Only affects if zend.multibyte is set.
    ; ^% L6 Q& B$ u) B9 K2 `) c$ f
  351. ; Default: ""( F% Q. Q( a! x7 `7 y- T
  352. ;zend.script_encoding =
    1 S8 z  x2 A+ W1 y5 G, m

  353. 1 W" q+ j9 t+ V" p
  354. ;;;;;;;;;;;;;;;;;! Z$ B) X* u' {7 ^# h6 H! b
  355. ; Miscellaneous ;1 i' f; o! U% ^+ b; e4 I3 \
  356. ;;;;;;;;;;;;;;;;;
    4 X- c) h8 b  l' y) Q3 S
  357. % Z/ F* d9 a* y
  358. ; Decides whether PHP may expose the fact that it is installed on the server5 u* ~, D: i' u! X* n3 O" ^/ i
  359. ; (e.g. by adding its signature to the Web server header).  It is no security0 A3 K0 F& B) K: S
  360. ; threat in any way, but it makes it possible to determine whether you use PHP7 I  l  F. g  ]/ g( r; ^; I. ]
  361. ; on your server or not.- T* c7 g# s" P
  362. ; http://php.net/expose-php
    5 Z9 q/ |0 n* W
  363. expose_php = On
    1 ^1 ?# g& G% p) L* t  p8 @# d

  364. , ?% ]$ x- b/ ?: n1 Z, e2 k
  365. ;;;;;;;;;;;;;;;;;;;# J: P; f( R, o4 I3 }
  366. ; Resource Limits ;+ F+ D' I8 f# Y. p; T% C* ?$ b( y
  367. ;;;;;;;;;;;;;;;;;;;
    6 a+ _4 i; ?7 l; a0 y
  368. 3 h+ k2 H$ B2 d' e/ E
  369. ; Maximum execution time of each script, in seconds
      C! m- c+ R% C7 _! g' v3 _
  370. ; http://php.net/max-execution-time
    9 ~" ?3 q' g1 ]: q
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
      D' l' D  a8 Q
  372. max_execution_time = 300
    - G7 W" P1 n# J  G2 ^/ e% s# r1 L
  373. % y5 b' _. `) l9 H2 G: z
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    1 ?5 Y: y* K& M, t3 c7 l. A
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    8 v8 F" }/ b8 c& h
  376. ; long running scripts.% M4 h- t6 G# j7 u% Y- W
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    6 z0 ]& S  {% g* W% K* Q
  378. ; Default Value: -1 (Unlimited)
    + u! F1 J5 c: ?5 t3 P
  379. ; Development Value: 60 (60 seconds)* b: \) G. |0 O
  380. ; Production Value: 60 (60 seconds)
    % v) A6 v8 I1 O0 m: f) B. ]7 }% Y1 y
  381. ; http://php.net/max-input-time
    * R& U/ e  I1 I, y
  382. max_input_time = 60
    / s' u: _3 c' |1 r% u
  383. % h0 Y+ O# I8 x  Y) i
  384. ; Maximum input variable nesting level
    3 B+ k3 n" t2 d" @+ O; K
  385. ; http://php.net/max-input-nesting-level
    ! m% I0 [1 `+ e* Y5 Z
  386. ;max_input_nesting_level = 644 d9 X8 g+ D7 q3 `+ ]5 x
  387. 8 T9 D0 Q' A7 Y+ y$ X
  388. ; How many GET/POST/COOKIE input variables may be accepted
    9 T) K% V6 d- k8 z1 n3 X, L. r
  389. ; max_input_vars = 1000
    ; f% y. U- G3 J$ w. C% C

  390. . {; k' d; c! i5 ^' ?
  391. ; Maximum amount of memory a script may consume (128MB)
    . }) H4 _5 F# v' F+ O0 u$ J
  392. ; http://php.net/memory-limit4 G6 j* Q- s. r3 Q% t; k
  393. memory_limit = 128M" d% L! M7 U" q4 ]

  394. " T* C, _- P1 O9 D
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    . }1 x: `3 ?2 a' Y
  396. ; Error handling and logging ;
    & x/ n- B" p- H2 s5 x1 f
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    + n2 s! T2 x) o
  398. 4 b3 c2 P; f( `
  399. ; This directive informs PHP of which errors, warnings and notices you would like4 o9 t, N# H0 p9 @0 K2 C) a
  400. ; it to take action for. The recommended way of setting values for this
      @! {' H; z" U/ w
  401. ; directive is through the use of the error level constants and bitwise' ^$ I  a7 \) f3 `" j4 j( l0 Q
  402. ; operators. The error level constants are below here for convenience as well as) E- N: i2 `$ H
  403. ; some common settings and their meanings.
    " m" b$ Y7 @) T
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT, h2 g+ l7 o% _! c- a7 s4 W
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    6 G! B- ^; K) `  B, }
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    4 o. h4 t) G4 a5 A7 H
  407. ; recommend error reporting setting. Your production server shouldn't be wasting7 [- N- P) q' G# f% {4 `! W4 k* [
  408. ; resources complaining about best practices and coding standards. That's what
    7 f5 m8 P( p7 b% K% o7 S! F4 ?
  409. ; development servers and development settings are for.$ ?% {8 ~% l7 ~8 m) V7 [
  410. ; Note: The php.ini-development file has this setting as E_ALL. This8 y; B9 \6 a8 u. \& d0 B
  411. ; means it pretty much reports everything which is exactly what you want during
    5 z$ @/ \) j9 o1 Q/ d! Y: z
  412. ; development and early testing./ ?9 `6 M* Y$ w1 |- B9 h( M
  413. ;' f/ R" }' a2 p3 y( ]. s5 \/ u" @
  414. ; Error Level Constants:$ m$ l0 @# {% ?
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    6 R& J% F" c- q5 i- w. ?2 W& c
  416. ; E_ERROR           - fatal run-time errors0 a9 L% n& k  N5 s0 q
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    2 v& @8 j' T+ K; \0 h$ S
  418. ; E_WARNING         - run-time warnings (non-fatal errors), `3 C; u1 T, Y. j3 F
  419. ; E_PARSE           - compile-time parse errors
    % r* I0 Q* p2 ^( p& |( ]$ T
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    * `0 m9 y, r; r+ ~
  421. ;                     from a bug in your code, but it's possible that it was! \$ D9 w3 {5 Y' v, u( }
  422. ;                     intentional (e.g., using an uninitialized variable and# |. k- |; o: }
  423. ;                     relying on the fact it is automatically initialized to an# i- p+ i. k0 L% D9 a, G% O
  424. ;                     empty string)
      l7 c+ d" ?) x, `; C4 k: x
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes- g3 C) N% K4 U# ^0 |
  426. ;                     to your code which will ensure the best interoperability
    9 J& F0 |  x6 }1 t  F4 @) V
  427. ;                     and forward compatibility of your code1 W" `8 q! ?: x! V' M
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    " r/ C) ?4 T* a- b" q/ ]% E2 r
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's4 p) D; ~  ^+ J: M
  430. ;                     initial startup) D& k2 A+ ~& h4 \! u0 \; C8 T
  431. ; E_COMPILE_ERROR   - fatal compile-time errors2 d: C$ y& g5 U; V! i' s
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    " }3 z7 Z! L3 a! l2 V  X
  433. ; E_USER_ERROR      - user-generated error message
    " E! g1 ]% t) ?1 T
  434. ; E_USER_WARNING    - user-generated warning message
    ) H+ I8 a0 z6 b. S% ]& y
  435. ; E_USER_NOTICE     - user-generated notice message% G1 `( s  L- S1 T* p
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    ' ]+ W/ L" S) W, R
  437. ;                     of PHP
    " w) z  S: s8 ~$ @' Q
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings# e2 d5 e  t4 c3 k  R
  439. ;
    3 [* j, R! w5 Z
  440. ; Common Values:  m2 Z2 B3 E3 A/ f+ k
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    - j, d5 \% L: C+ ^. V1 G3 q1 N
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)! w# L& y2 A6 P" l& w5 U: ?' G+ k+ t
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    , H( g3 T) ?% Y- `' O
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    % }- W, g4 L) R  d- Q( F
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED5 X0 r7 c, k* r/ y9 I
  446. ; Development Value: E_ALL
    7 k. a# b0 C( ]+ L, N6 c/ S6 [$ B
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    8 g& M' [: H5 V' a8 t
  448. ; http://php.net/error-reporting
    ' d' P5 p& w5 E
  449. error_reporting = E_ALL & ~E_NOTICE0 Y4 n5 C. @' N: @# J

  450. / X) d+ o7 E/ ~3 J3 M
  451. ; This directive controls whether or not and where PHP will output errors,
    8 z2 C# s8 y0 p; V4 s! R
  452. ; notices and warnings too. Error output is very useful during development, but) e. R: M: K8 [, X9 y
  453. ; it could be very dangerous in production environments. Depending on the code
    1 {* I! ]8 y) d7 l
  454. ; which is triggering the error, sensitive information could potentially leak" W1 T+ u* j; a8 A6 `
  455. ; out of your application such as database usernames and passwords or worse.
    4 o" j3 [. J8 t/ Y8 T& M
  456. ; For production environments, we recommend logging errors rather than
    " C  I+ I( c2 s4 R
  457. ; sending them to STDOUT.# T) _7 E/ I5 F' L" B$ g9 x
  458. ; Possible Values:
    0 A. I( U- X2 j$ c# d$ y
  459. ;   Off = Do not display any errors% n, V( h+ X2 j7 C# }
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)' {/ h' g0 u: L1 P8 q8 o
  461. ;   On or stdout = Display errors to STDOUT7 p* s$ I8 e. d
  462. ; Default Value: On
    3 C9 i1 j+ V5 ~+ b* u
  463. ; Development Value: On7 V# u; g+ N* v& a' k
  464. ; Production Value: Off$ u' l# ^7 {" N! g9 u
  465. ; http://php.net/display-errors
    + n' h) b9 p, z
  466. display_errors = On
    $ ~+ J1 {$ {* l& {" W
  467. 0 O5 A' P- H3 d* D6 Q
  468. ; The display of errors which occur during PHP's startup sequence are handled' i# C9 s6 D* h' j2 v: w+ T' H3 V' o
  469. ; separately from display_errors. PHP's default behavior is to suppress those+ s6 m, Q' n; P7 X
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    $ _. \9 l5 A- {% x
  471. ; debugging configuration problems. We strongly recommend you# R( @3 ~- J4 B# J% f
  472. ; set this to 'off' for production servers.
    & _  D$ ~% e# A' h: [1 z
  473. ; Default Value: Off6 V# q5 _  Q5 t( @0 U1 e3 q$ e
  474. ; Development Value: On
    ; |) _% Y: d( g' t# j% n- s3 P; j
  475. ; Production Value: Off  n0 k' X) U  \* C, p
  476. ; http://php.net/display-startup-errors4 n* T( O) d, `. u& u
  477. display_startup_errors = Off
    8 t8 \: n. u0 D, s) z

  478. % r4 ~% r' G: a* t" X
  479. ; Besides displaying errors, PHP can also log errors to locations such as a1 P* u7 a4 r+ h, j) N+ I/ n9 |
  480. ; server-specific log, STDERR, or a location specified by the error_log! X( p7 s9 h( B$ C
  481. ; directive found below. While errors should not be displayed on productions
    2 x( ]$ v$ M" z
  482. ; servers they should still be monitored and logging is a great way to do that.
    8 I- B- S) I2 D/ S1 L
  483. ; Default Value: Off( I3 y3 e2 k/ V: }5 |
  484. ; Development Value: On9 S; y- V1 {7 H. s- y3 e* F0 D
  485. ; Production Value: On
    ) E% r) n& M5 n
  486. ; http://php.net/log-errors
    , l* V# x( P$ t) p' m( ?7 t
  487. log_errors = On. r  A4 g/ ^/ j

  488. ' `* I2 J# n3 |* ^7 H# _3 c
  489. ; Set maximum length of log_errors. In error_log information about the source is
    " W+ W3 W- F  M' _: C6 ^3 n
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    * b% l/ x! [& z, k9 Y6 ^9 U( Z
  491. ; http://php.net/log-errors-max-len7 U: ], V8 Q) Z+ n7 q! m) V, s
  492. log_errors_max_len = 1024
    8 n" p4 A4 M$ ?
  493.   N; k- Q' [- z; e: W
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    * p$ L/ p% ~% h5 W
  495. ; line unless ignore_repeated_source is set true.1 M# `3 T' n; r3 d; T4 D
  496. ; http://php.net/ignore-repeated-errors
      V2 z! y0 h% T% p" ~* I) a
  497. ignore_repeated_errors = Off
    3 \: W% f) ]! N7 ?( x
  498. 8 o# k- B6 l8 N4 U, {) f
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    7 k* d* {$ W2 \* U2 f
  500. ; is On you will not log errors with repeated messages from different files or! S# T3 G, a3 ^
  501. ; source lines.
    4 F2 d1 M% m  \
  502. ; http://php.net/ignore-repeated-source1 g% N; }# F4 U6 j$ O% R' w
  503. ignore_repeated_source = Off
    # S: V  Z% o  ^

  504. 7 k' L$ z5 i: k9 U# v. ]8 A
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    $ L; \, {; D1 M8 a
  506. ; stdout or in the log). This has only effect in a debug compile, and if% J! b6 h( [' ?" ^% t
  507. ; error reporting includes E_WARNING in the allowed list' R$ b, N8 o9 e! z. _
  508. ; http://php.net/report-memleaks2 G/ J+ \" V& J( y- S' {8 v
  509. report_memleaks = On
    # d. Q+ n+ |- u% S$ [; {

  510. . @7 ]3 g: F% D0 X$ n. {$ P& Y
  511. ; This setting is on by default.
    0 a- Y  i; d9 p( y
  512. ;report_zend_debug = 06 k# f/ ~' D% v# Z! t, z
  513. + R2 X+ H6 d  K) Z$ u5 i- O/ h
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    1 n- {, h) v1 w
  515. ; to On can assist in debugging and is appropriate for development servers. It should# p9 `( E1 A, {1 D
  516. ; however be disabled on production servers.4 K# M/ J' D/ l! U
  517. ; Default Value: Off
    & y2 j! X* K- G8 M) w/ |
  518. ; Development Value: On; O2 E/ u9 U, i2 q( R: j7 D& Z" K
  519. ; Production Value: Off. u- |, |9 }( t, t: q
  520. ; http://php.net/track-errors
    ! s0 O8 v$ j% t. V% g8 Y( d! g& X
  521. track_errors = Off. I+ p# d+ k) z0 M6 U

  522. - p+ z# ~- Y/ \( b, k+ b2 n) J5 j
  523. ; Turn off normal error reporting and emit XML-RPC error XML0 j6 I# m' `+ }  z: F
  524. ; http://php.net/xmlrpc-errors
    ( A: ^0 X" \8 S( [6 x
  525. ;xmlrpc_errors = 08 U$ ^8 e( u6 Y

  526. ; k( {$ a1 Y$ k2 P: R% h  X; \& G
  527. ; An XML-RPC faultCode
    3 a' z0 H  z. n
  528. ;xmlrpc_error_number = 0
    & I1 y( T( Z7 q1 D; n6 H  _6 p. q
  529. - z/ O: A0 M9 Z5 k2 V6 \/ D
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    : I+ r1 x# Q# H2 g% ~* `+ G
  531. ; error message as HTML for easier reading. This directive controls whether2 G8 f' P9 D9 t: C1 u+ V! a
  532. ; the error message is formatted as HTML or not.# v. l' Y9 W  u4 u2 V* q# T
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI! E! z; D0 w$ L7 }
  534. ; Default Value: On
    ( X' l5 K1 \  I
  535. ; Development Value: On+ P$ P3 ]! {: ?  d6 n
  536. ; Production value: On3 P# @" v( @% ?2 H+ ^4 _$ L: H
  537. ; http://php.net/html-errors" y6 t6 W; s1 V7 f: k% F8 K
  538. html_errors = On
    , e( E9 \4 j; [8 M( L

  539. 4 o# ~% K6 k# O/ Y% b
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP- O- E) F+ |) i8 F
  541. ; produces clickable error messages that direct to a page describing the error
    4 i6 b/ G  O  {! V. a- l2 h# M% E+ v
  542. ; or function causing the error in detail.! d0 g7 r6 }+ Z4 P4 F
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    4 j% V5 K8 m  ~2 E7 q# k% u' C: i
  544. ; and change docref_root to the base URL of your local copy including the
    0 c/ z7 u6 t" d
  545. ; leading '/'. You must also specify the file extension being used including
    9 T& W3 K( Y1 A. M# j
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which0 V  Z5 B9 w6 V. N6 v
  547. ; case no links to documentation are generated.
    : L1 ?* n8 l+ g5 f2 J
  548. ; Note: Never use this feature for production boxes.& b" X, {$ r: r  G; x  T
  549. ; http://php.net/docref-root
    $ Y$ N+ S; e) p, g
  550. ; Examples
    3 ]6 a( H6 z% ]1 Z4 y& \! j
  551. ;docref_root = "/phpmanual/". N, E. \/ s- f% s

  552.   V: B8 L$ @( o1 j. L& b
  553. ; http://php.net/docref-ext" ^/ p9 K) d" O& I6 F" I5 ]7 z
  554. ;docref_ext = .html0 t3 i! f% A$ p' Y

  555. - C/ p5 m6 a. c
  556. ; String to output before an error message. PHP's default behavior is to leave' X4 S! d# }/ o4 M, f
  557. ; this setting blank.& U0 A" w7 \: J5 G# Y8 q# l$ Z
  558. ; http://php.net/error-prepend-string
    : y2 f% g- k% {" A( E
  559. ; Example:- l% t6 @# [- A# C
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    : O4 Q3 M* E4 c  M' M$ C+ C% {$ A
  561. $ Y& _: g' B- z8 X7 Q/ ~5 P
  562. ; String to output after an error message. PHP's default behavior is to leave* ~) U4 c5 \" V! L8 C" N
  563. ; this setting blank.7 |0 I! `# I9 I5 p& c
  564. ; http://php.net/error-append-string8 S9 l/ s; w, D/ y" H, B! P9 V
  565. ; Example:
    / p8 d! v7 J6 {! |1 p4 g
  566. ;error_append_string = "</span>"
    . z8 @+ v2 I+ W9 C1 N- p7 k

  567. - e7 }# P9 l+ M/ L
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    . @9 L1 z: O* D0 Z. D  d! R% `) C
  569. ; empty.: j+ P) d+ c9 s1 ?  g1 H
  570. ; http://php.net/error-log, S: Q5 k- T1 Z" b1 d3 B* `7 j! L8 u
  571. ; Example:
      s5 ]: o" m$ s
  572. ;error_log = php_errors.log* ^6 y  K9 H- M8 b2 v
  573. ; Log errors to syslog (Event Log on Windows).( ]: X0 E! |/ w' U* S* Q
  574. ;error_log = syslog
    0 k( u: y& ~( O9 H

  575. % i, u& j$ W* p6 T( q/ ~2 n& M
  576. ;windows.show_crt_warning
    : G+ b0 c& L0 E
  577. ; Default value: 0
    % e: m/ o3 a! [4 M( ]% Z" j
  578. ; Development value: 0
    4 T1 X, {: e6 E
  579. ; Production value: 0
    7 B; c. \# {! ]( o8 Z

  580. " M- Z* l4 n8 x. A, M, ?) z$ o/ a
  581. ;;;;;;;;;;;;;;;;;1 [1 D$ ?5 B! h) K: ^
  582. ; Data Handling ;
    2 l2 q" B+ E) C9 k' e9 K# l
  583. ;;;;;;;;;;;;;;;;;
    . k8 h  {5 m0 C( |" H7 H
  584. ( ]* f* L/ f! X" i7 x, ^
  585. ; The separator used in PHP generated URLs to separate arguments.
    ; V0 [( }/ u& W
  586. ; PHP's default setting is "&".8 F) ]8 i: w, ^0 Q$ w5 _
  587. ; http://php.net/arg-separator.output
    6 A& m- G2 T# w# `) F
  588. ; Example:$ p2 S3 K, ?3 h
  589. ;arg_separator.output = "&amp;"" L; i8 H: J  X" b# X+ ^, ]

  590. ; [0 }6 Z+ N; \* i# b% k' J9 G
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    9 d$ ~0 ~& s) U3 J1 @
  592. ; PHP's default setting is "&".  b3 E) e& w% A0 _; [0 a5 s0 F$ X
  593. ; NOTE: Every character in this directive is considered as separator!
    : [' t1 q$ \, b) N0 T8 O
  594. ; http://php.net/arg-separator.input
    % B# x# s/ I# G) L" O
  595. ; Example:0 j9 n7 }5 r# v# s' L9 E* G9 H% V
  596. ;arg_separator.input = ";&"1 \) u/ i3 H: m" C$ R6 ]

  597. 7 }8 n1 Y- t9 z* i
  598. ; This directive determines which super global arrays are registered when PHP
    & P: R1 j+ Z0 [7 h
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super& M2 T1 `& v; {" |4 Q
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty5 `2 V8 b/ s' _- J' S: Q4 p
  601. ; paid for the registration of these arrays and because ENV is not as commonly! s, I5 {+ ?* {* J
  602. ; used as the others, ENV is not recommended on productions servers. You+ F! V/ x. B. g3 d  s! Y- ~% k; A
  603. ; can still get access to the environment variables through getenv() should you8 b) K3 n, i5 V, U% e, V
  604. ; need to.. t; H) k7 I: C  K
  605. ; Default Value: "EGPCS"
    5 S3 |6 z4 @* j
  606. ; Development Value: "GPCS"
    % m, h- S  {# w( i+ ]6 [6 k& S
  607. ; Production Value: "GPCS";
    % u4 W3 Z" `& ?8 V5 X; O
  608. ; http://php.net/variables-order
    2 M) q+ k5 O" h! i
  609. variables_order = "GPCS"
    - P4 o1 S* f3 C/ R7 B& r8 ^, |7 E: _

  610. & K- B5 g. a$ t- E: y! |
  611. ; This directive determines which super global data (G,P & C) should be
    7 D9 Z9 e- g; S6 h5 Q+ i! S/ `3 E! X
  612. ; registered into the super global array REQUEST. If so, it also determines* m( B  h  Q/ l* j% ]
  613. ; the order in which that data is registered. The values for this directive5 e6 }  P' ^/ z' T$ X# C' v
  614. ; are specified in the same manner as the variables_order directive," V+ r  q* V; E3 w. g
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set3 U4 A2 Q( E5 g, E
  616. ; in the variables_order directive. It does not mean it will leave the super
    7 F& c" u& B; H8 B
  617. ; globals array REQUEST empty.
    2 l' L  K" Q8 q; a% _" k3 H
  618. ; Default Value: None
    7 y7 J$ j( \0 `- C8 K
  619. ; Development Value: "GP", w0 `+ Y! V# S' z, a
  620. ; Production Value: "GP"; ]6 y: J; h' l! f1 n& N
  621. ; http://php.net/request-order
    $ Z- v! j5 {. ]$ H
  622. request_order = "GP"7 U# i  r* r( }8 O' W- T: L
  623. 4 I# @* L! i2 ?6 Y. z4 H- |  g
  624. ; This directive determines whether PHP registers $argv & $argc each time it( p( o) D% P1 l: M
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script! R' u- m5 N* z7 m* K/ K
  626. ; is invoked. $argc contains an integer representing the number of arguments
    + \1 F' L- \8 n" H8 i# V
  627. ; that were passed when the script was invoked. These arrays are extremely& d$ ^& ?( d' ~2 h% ^& O+ f
  628. ; useful when running scripts from the command line. When this directive is
    ; X- t  c; ?5 C9 i
  629. ; enabled, registering these variables consumes CPU cycles and memory each time$ l! K; r9 U  Y  h+ O
  630. ; a script is executed. For performance reasons, this feature should be disabled
    6 T) {8 i( H) G# T# |# A
  631. ; on production servers.4 x2 }1 Q  e1 W: P/ z
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    + h0 P: D3 P0 ~. K# G8 W
  633. ; Default Value: On
    9 p4 Z5 U& {+ w+ k
  634. ; Development Value: Off; }: I' ]! b( T6 U# s6 W0 g! O
  635. ; Production Value: Off
    $ p- ~0 B3 ~; {5 j# n- i. t
  636. ; http://php.net/register-argc-argv
    6 d% L1 r0 {! S3 K
  637. register_argc_argv = Off
    ; I" y1 C9 f4 |, R

  638. 8 \6 D( ~/ m3 b3 A$ w; x
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    : s0 R3 A0 e* p
  640. ; first used (Just In Time) instead of when the script starts. If these& e% C- ?3 O/ T4 B7 N$ W/ W2 }% f/ ]( d
  641. ; variables are not used within a script, having this directive on will result1 r( A" |; A% s4 \. \# b& I& I. y: F' H
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    * K' A, O# X" F8 h. t# R8 C
  643. ; for this directive to have any affect.
      ?/ p- N+ U& T5 z3 r
  644. ; http://php.net/auto-globals-jit
    + h& _+ c% q' e% L0 G" V. _
  645. auto_globals_jit = On6 E, I0 Y. S7 U: H
  646. $ @  x5 r" u) ]8 V5 w4 K
  647. ; Whether PHP will read the POST data.
    " P8 x% k' z7 x" X6 r
  648. ; This option is enabled by default.
    # U1 b$ e' f" Z1 K# r1 ?( `  D
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    6 F# B: k2 G2 f) A. X
  650. ; and $_FILES to always be empty; the only way you will be able to read the  W& b$ I; g; m3 ^4 ?$ I1 }
  651. ; POST data will be through the php://input stream wrapper. This can be useful9 w5 o% y0 v# M
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    9 A' a: R0 w" X% c; p6 s+ ]
  653. ; http://php.net/enable-post-data-reading
    0 e& Y/ \* |9 {9 S
  654. ;enable_post_data_reading = Off4 K- N+ c. B1 i. ~
  655. 3 f4 ?9 t. Y# t' t
  656. ; Maximum size of POST data that PHP will accept.
    : E, x. F( I9 p9 c& h: I- _. F
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading: f& [: k6 k1 j  R' W- v
  658. ; is disabled through enable_post_data_reading.+ U/ X  B& W$ `7 y  j4 p
  659. ; http://php.net/post-max-size
    ; w3 t: I5 t6 @0 R* ~) J
  660. post_max_size = 50M
    3 k' ~; W5 R5 o

  661. " a! l% j  o, q2 S; D" z  ~5 S
  662. ; Automatically add files before PHP document.& g- h# Z# Q2 _
  663. ; http://php.net/auto-prepend-file: k9 n9 f8 e" ]- U9 |; u9 G# A& u
  664. auto_prepend_file =
    ) d* e, f; v, u: K

  665. ' @! i. q4 k! R6 B0 {1 C; \1 R
  666. ; Automatically add files after PHP document.
    : ^9 Y/ [) R) f
  667. ; http://php.net/auto-append-file
    0 W5 O+ r& x" M6 H9 y) p# f, A
  668. auto_append_file =
    9 T6 t; s! e" v# m/ L9 X: r
  669. 2 O7 D7 |& @2 K, p& R2 B
  670. ; By default, PHP will output a media type using the Content-Type header. To" K( e/ m/ _3 {9 _- ?  A- e
  671. ; disable this, simply set it to be empty.8 Z% O# K3 y; C; K
  672. ;
    " p0 X+ C& T* r+ k1 }
  673. ; PHP's built-in default media type is set to text/html.% Q$ N2 f' S, i% B4 [
  674. ; http://php.net/default-mimetype9 T1 a5 d: T  I& |9 _+ ?; L# _; L
  675. default_mimetype = "text/html"
      {9 o$ F6 E: M% d( C5 F  Z6 a

  676. 1 j4 c8 G9 M  D% d+ b3 ^4 e
  677. ; PHP's default character set is set to UTF-8.0 i; t5 U+ L- q/ m
  678. ; http://php.net/default-charset6 m$ @4 w3 ?1 s" B
  679. default_charset = "UTF-8"$ A& _1 `; a7 M- N8 C: I) o# b& s9 C9 ?

  680. & k' Y' @6 ]) V* t
  681. ; PHP internal character encoding is set to empty., s1 \9 G2 i/ n* `+ r  {# i8 G1 Q+ e
  682. ; If empty, default_charset is used.
    & y: b  F: j3 P% {, I  S
  683. ; http://php.net/internal-encoding" A: b, d) w9 Y$ s, i7 e
  684. ;internal_encoding =
    6 q% p% ~6 b. n6 a% n

  685. 9 W( ~  C; b  w3 r: z( Y, d0 s
  686. ; PHP input character encoding is set to empty./ Z$ V4 F( n1 I- e% t! G/ y
  687. ; If empty, default_charset is used.
    , P3 L: ]0 t: I1 M) s/ S
  688. ; http://php.net/input-encoding. d5 Y) G& V- [
  689. ;input_encoding =
    & P5 ~$ K6 m3 m8 e. a

  690. 5 V( Q1 s- U0 M/ }  U; H
  691. ; PHP output character encoding is set to empty.
    0 R! H& }0 E9 W; t4 f
  692. ; If empty, default_charset is used.
    * k  N8 Z' @! `4 P5 Z8 d3 s! Q
  693. ; See also output_buffer.; p; N# T" D9 y' _1 W
  694. ; http://php.net/output-encoding
    2 P1 R8 |0 ?- I7 m! |- P8 e
  695. ;output_encoding =
    / K( [* m( ~  J

  696. + k! `( d  z, |
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    & [" `6 _; H( Q2 y; O
  698. ; to disable this feature and it will be removed in a future version.
    & C; d9 `1 i: O! N( y; Z
  699. ; If post reading is disabled through enable_post_data_reading,3 R' ]! a) ]- j: s* _
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    - x/ F/ j9 l) Q) u: h
  701. ; http://php.net/always-populate-raw-post-data
    1 W5 _: i- H; r5 \
  702. ;always_populate_raw_post_data = -1
    0 e2 l$ }$ {; ^3 u

  703. % W. g4 T4 y8 s& f
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;0 P7 C3 a8 N+ h# _
  705. ; Paths and Directories ;
    $ g9 s! O/ X  S6 b
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 K  O8 }& x" s' X
  707. % @; Z% q3 [: l- a
  708. ; UNIX: "/path1:/path2"& ^3 O8 _% Y2 e9 S
  709. ;include_path = ".:/php/includes"/ w/ f5 B) U* v. S
  710. ;
    - E) L* w. Y# s
  711. ; Windows: "\path1;\path2"2 G: x7 V; t2 K, H0 Q9 t5 M) F
  712. ;include_path = ".;c:\php\includes"$ F( `# F) m5 \( t
  713. ;
    3 l" D  G; _. u2 q  a2 M8 w
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"! m% Z% Z( m6 H7 f
  715. ; http://php.net/include-path
      k7 C" {$ W' ?2 m+ O
  716. 4 ]& K, S* y9 K2 Q9 f! q1 f
  717. ; The root of the PHP pages, used only if nonempty.
    $ X' J. c$ W6 H* E% s
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root& F7 {! l5 Q* C' b/ z+ S
  719. ; if you are running php as a CGI under any web server (other than IIS)/ _& W; h/ P6 I2 X& o8 l
  720. ; see documentation for security issues.  The alternate is to use the
    4 t' n0 i1 z% V: c( }+ A7 v
  721. ; cgi.force_redirect configuration below
    ) ^- o* Y/ z  G" C0 A2 w8 q
  722. ; http://php.net/doc-root
    7 |7 ?/ j- O8 A+ {- n1 w2 z
  723. doc_root =
    ; L* Z5 ~% M  i. ^- R% q# u
  724. 3 t( k! Q1 c% X: `; t4 q
  725. ; The directory under which PHP opens the script using /~username used only; |( X# U4 q2 T4 D& G* V2 d
  726. ; if nonempty.' ~; A9 ], k9 t: p
  727. ; http://php.net/user-dir
    * C4 q6 U  |; e1 {4 Y1 u
  728. user_dir =  e7 G* ?' i# F" A% y) G) t' I: r

  729. # S& Z/ e/ e7 j# p3 L+ ~$ R1 N
  730. ; Directory in which the loadable extensions (modules) reside.
    ; y; D! K4 w3 q. n
  731. ; http://php.net/extension-dir
    0 S' N7 V; Y. x) ~! _8 x3 t. ?: v
  732. ; extension_dir = "./"& Q& I0 E) _$ e) f& G$ f6 R
  733. ; On windows:* W! ^* E% @( g0 {9 u
  734. ; extension_dir = "ext"9 Z) K5 y/ I! [2 T$ _- r

  735. . K, T& M8 X- h, `
  736. ; Directory where the temporary files should be placed.
    & e% g3 V, m+ t8 t- w/ Y) j+ o
  737. ; Defaults to the system default (see sys_get_temp_dir)& `9 O) [4 @5 \4 x3 T
  738. ; sys_temp_dir = "/tmp") d) b9 a0 g. c9 x
  739. ; y4 A- ]3 }1 p! |& F
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work0 [. |$ z% `5 M: ?- r5 k, o
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically0 E/ `9 b  M2 l1 B
  742. ; disabled on them.; `- F) ]+ I* ?" Z& f4 p  Y. a
  743. ; http://php.net/enable-dl
    4 h. {: e" ^) p
  744. enable_dl = Off, r. `7 A. S+ C, E8 w
  745. 7 f+ O- M1 T1 F7 t  }  ?, s
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    , z  P" S+ s9 C6 w- q: C
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    8 P; @6 }  `/ u. `+ Q
  748. ; turn it off here AT YOUR OWN RISK3 d4 J8 `) G+ w+ i' I+ e
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**) m; a- n6 n/ t7 `4 ]8 f
  750. ; http://php.net/cgi.force-redirect# c5 {7 s/ O4 ^5 A! B
  751. ;cgi.force_redirect = 1: v. X2 R2 a2 Q& ~8 |

  752. 8 d( B- l, M. G8 I# ]8 {
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    8 O" X4 E/ l8 \, ^' p' j( i. e
  754. ; every request. PHP's default behavior is to disable this feature.
    0 w0 l  e$ d4 C5 ~* _
  755. ;cgi.nph = 1
    ! x) d' z& P  m2 I
  756. 2 W# T* m* t" ]) L; w
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    2 p+ R; t2 W  M/ B0 ^) A
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP7 ~% D$ A4 |( Z+ F5 w& k
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    & n) O# `4 D2 i- b2 U
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    * v8 V5 x  s" C8 R
  761. ; http://php.net/cgi.redirect-status-env, B& J% \) `2 s, v
  762. ;cgi.redirect_status_env =
    + L2 q/ d* g7 R2 }$ P, w

  763. / Z4 ^) t( K2 }( q: f7 @
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's" o/ b& u6 J/ L. f* D; O
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    + Q1 f5 H* d. v' n8 a# G
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting1 \9 ^/ l, l" r- W7 p
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting; [, |6 }+ ?8 Y4 h, M4 P9 N
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    + e) L1 i  @( v6 t
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.# x: \$ x7 @3 G
  770. ; http://php.net/cgi.fix-pathinfo, @$ e1 b% T: `7 S. y/ z2 E
  771. cgi.fix_pathinfo=1
    2 o2 ^& i3 G: W* l

  772. ) R* l9 V* L1 }( q
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    : \0 y# S. C; y
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    # [( e- Y* z- Y/ m/ |' O' Z+ [
  775. ; http://php.net/cgi.dicard-path' s9 h3 P' D" i8 D8 k- T# ]1 H0 y
  776. ;cgi.discard_path=1
    $ j0 @9 [) T( v1 q' T( G, x
  777. ! x5 |; s7 `' l# b/ w, ~
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate8 a( Q3 J' I+ t4 D6 O# W
  779. ; security tokens of the calling client.  This allows IIS to define the& l% B( W4 ]/ |, K/ h: X
  780. ; security context that the request runs under.  mod_fastcgi under Apache1 S+ W* }$ a5 D+ V4 N
  781. ; does not currently support this feature (03/17/2002)$ C( P- o6 h, I3 k+ c
  782. ; Set to 1 if running under IIS.  Default is zero.
    " }- G; ?% L  ^4 ?  \3 [
  783. ; http://php.net/fastcgi.impersonate9 x0 z2 `2 @3 N# {' Y0 p7 `
  784. ;fastcgi.impersonate = 1
    ; J+ k8 G: f5 U' j/ _  H) p% ~

  785. " G" k6 n8 @& r% B! ~
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    6 S0 `9 E& C& |) Z. R4 t
  787. ; this feature.
    8 Q4 J  f" q- `. F( K
  788. ;fastcgi.logging = 0
    4 e  ~1 M3 K4 H" p8 a8 K

  789.   W4 f6 w; `0 w" K4 d. S  w5 m7 ~6 x# {
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    " d" q5 d9 H, L2 C8 U
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    % C. e: W& Z% w; y5 e* E, D
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    0 e  e; ?6 W  i; k* c- B# c
  793. ; RFC2616 compliant header.
    : a! Y/ b- |% j) V. g; `
  794. ; Default is zero.
    / p; ]7 Y, I2 P1 y# s% Y
  795. ; http://php.net/cgi.rfc2616-headers
      ?. B9 p0 ~) ^& D2 P9 K
  796. ;cgi.rfc2616_headers = 0
      a* _: I+ O' c9 G- c1 U

  797. 6 i; S8 X" d$ f/ x9 h
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    8 X, s( o! f! b& ?. y1 C3 \
  799. ; (shebang) at the top of the running script. This line might be needed if the
      }' x( q) z5 b# L! G
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI% k# i+ p# @# `6 M
  801. ; mode skips this line and ignores its content if this directive is turned on.( P8 u9 K- d% c9 k
  802. ; http://php.net/cgi.check-shebang-line% w: D1 n9 I, E/ F0 X
  803. ;cgi.check_shebang_line=1& i" i6 {7 t' i/ C6 u5 Y* H

  804. & R7 T, q6 o* j0 w8 x: b% @
  805. ;;;;;;;;;;;;;;;;/ |; S; X: L  o6 c, P, K5 O
  806. ; File Uploads ;
    . V4 H. }! R6 _! Y) V
  807. ;;;;;;;;;;;;;;;;
    " v5 K, D3 k# H$ D. |! l9 v( Z+ @6 b

  808. / Z3 l+ Y1 ?2 R
  809. ; Whether to allow HTTP file uploads.6 p8 e( w* |! @9 \
  810. ; http://php.net/file-uploads
    & t7 Y9 S. \& n; G
  811. file_uploads = On
    ' L% Q2 E% ?8 h6 X
  812. 3 R5 m( T$ D8 z$ j  K3 o
  813. ; Temporary directory for HTTP uploaded files (will use system default if not% G  l- ^$ e/ M& F( `8 G
  814. ; specified).# G& r6 P9 Z9 b1 d, S4 s+ j7 V
  815. ; http://php.net/upload-tmp-dir$ k2 ]3 `6 T; D/ {
  816. ;upload_tmp_dir =
    ) _0 n2 V* \1 ]8 x9 m7 `
  817. ! u  P, z3 W$ ~$ J4 N, K
  818. ; Maximum allowed size for uploaded files.4 s/ m' k0 X' ~6 Y
  819. ; http://php.net/upload-max-filesize3 {6 L5 V3 s' o1 \2 a6 E, u
  820. upload_max_filesize = 50M4 K. W1 R' R4 l$ J: |

  821. 9 r$ B% k2 ^1 l
  822. ; Maximum number of files that can be uploaded via a single request9 @( x" j: ]1 }2 T
  823. max_file_uploads = 20
    1 D  y0 D' g+ d3 W6 v; m
  824. & Q( t: y5 q( x8 Z6 }
  825. ;;;;;;;;;;;;;;;;;;
    . r8 y3 s- `9 Y
  826. ; Fopen wrappers ;& W- a4 |2 W4 L- L( h2 W
  827. ;;;;;;;;;;;;;;;;;;
    ' l+ h% R" u4 Y5 y# E7 j% G
  828. 1 {5 B! s" U& x2 {1 B: Y
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.+ z$ J3 w4 ?4 E6 B
  830. ; http://php.net/allow-url-fopen( T2 {: O, ~( }' R2 }, |
  831. allow_url_fopen = On
    & d: ~0 l) ~, A. Z' u

  832. , J1 Z6 p% Z: n
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.9 o6 M9 y9 G- w' ^+ W+ S& L
  834. ; http://php.net/allow-url-include8 ~& I7 h' a+ r2 M
  835. allow_url_include = Off0 b9 ]3 |4 G  T4 S% o+ ^3 L  f

  836. ( L* A- n5 I* I( o1 K6 K& E
  837. ; Define the anonymous ftp password (your email address). PHP's default setting( {' l. i! i. @- C6 H4 h7 t" P
  838. ; for this is empty.
    : p) ~8 P: G& X& r- k
  839. ; http://php.net/from7 w! r0 q# h3 Z& C9 i
  840. ;from="john@doe.com"; x: a3 C* E0 o3 z2 W* d4 _& |
  841. 8 X1 O" r6 s, |, ~( }
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    & j9 @8 T/ z: l* k9 R  n% D' b
  843. ; http://php.net/user-agent
    4 T; q0 w# s# w- G% O' q' K
  844. ;user_agent="PHP"6 h3 a4 k( B, n9 |% Y

  845. % J8 \. o2 j' }1 M( Z) I
  846. ; Default timeout for socket based streams (seconds)
    5 q* ?* R) u& l) X/ C
  847. ; http://php.net/default-socket-timeout
      W2 }( b$ o) h6 J# z
  848. default_socket_timeout = 60
    . h4 x/ v% l2 i( l

  849. * k, A# _% l8 M1 G' v/ U/ [. G  O
  850. ; If your scripts have to deal with files from Macintosh systems,: r. q& Z8 o% @
  851. ; or you are running on a Mac and need to deal with files from
    : j- b) r) y- {; F& ]# q
  852. ; unix or win32 systems, setting this flag will cause PHP to, o( m! `8 H! C& t
  853. ; automatically detect the EOL character in those files so that' X7 x; e& X: E0 M: d/ h! q
  854. ; fgets() and file() will work regardless of the source of the file.5 ]- u- L: I, M" `
  855. ; http://php.net/auto-detect-line-endings
    9 V) g0 g  l, ]) d) ]" u# c
  856. ;auto_detect_line_endings = Off
    $ ]8 P8 I7 c1 r% l& c& m* [# I" @
  857. / l, U0 M$ S( L% @) b
  858. ;;;;;;;;;;;;;;;;;;;;;;
    - A. R( @. k# t
  859. ; Dynamic Extensions ;
    9 K, Q# W, Q2 I  P9 U$ f5 M
  860. ;;;;;;;;;;;;;;;;;;;;;;  P. R' V6 d; _  [$ _% E) d

  861. 6 f# o" @9 l, I7 v$ c% h; V
  862. ; If you wish to have an extension loaded automatically, use the following
    + k. }- C1 `, G' b
  863. ; syntax:) ]/ Z5 y7 ^1 @! Y; o4 v7 p( o* D
  864. ;
    6 K! f) Z+ y& t7 Y
  865. ;   extension=modulename.extension
    0 }! J" [' y* h5 K6 O
  866. ;. ^& i0 N+ ]2 f) y, C
  867. ; For example, on Windows:
    6 H4 T/ R* L5 Y5 h2 [3 X. }
  868. ;- a, R/ Y1 N6 y2 B0 b
  869. ;   extension=msql.dll" y6 [/ E9 {$ g/ w; I) k# N) ]
  870. ;# U$ K  h1 S4 N# F
  871. ; ... or under UNIX:
    $ ^5 c" W. ]4 _4 V: c% @- D
  872. ;2 w, q) C9 N8 J" a3 w
  873. ;   extension=msql.so3 \$ _/ a. M) S: Y$ X
  874. ;
    0 ]- o" r- k! N
  875. ; ... or with a path:$ K$ R! S2 s" t# x8 k& g, V0 C
  876. ;+ t- O1 e- L+ _* \
  877. ;   extension=/path/to/extension/msql.so
    1 e5 Z& ^: ?1 t5 R- Z" C
  878. ;/ W  }4 S- @* m. W. G
  879. ; If you only provide the name of the extension, PHP will look for it in its1 }$ D: [* y1 ~; U
  880. ; default extension directory.
    3 j# Y( r2 W3 T5 O  t4 _% J
  881. ;8 ^* s( B# n, F4 x2 \$ Y
  882. ; Windows Extensions
    4 o8 S: D% B- V! f+ @! \0 ~0 @
  883. ; Note that ODBC support is built in, so no dll is needed for it.! U: R- {% X8 d/ H  C% n1 U
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    . N' `1 f1 c# V
  885. ; extension folders as well as the separate PECL DLL download (PHP 5)./ W7 P" [+ }/ X( B( u2 k$ T, q; r. E) V
  886. ; Be sure to appropriately set the extension_dir directive.
    8 @" ?# F# O  a# }; e5 g0 ?4 x
  887. ;' m4 I' T" [; v+ z$ r
  888. ;extension=php_bz2.dll
    * Z2 K  H) B5 n0 b/ R6 g" L) C
  889. ;extension=php_curl.dll
    , d( P( I' _3 i! X
  890. ;extension=php_fileinfo.dll
    8 g' p4 b9 f7 v: H
  891. ;extension=php_gd2.dll5 V) D! C' E# h( U) _$ P$ |
  892. ;extension=php_gettext.dll
    ! C4 j9 r8 `- u6 x) f' G9 x
  893. ;extension=php_gmp.dll
    1 l  j  B2 u1 R5 Y* }
  894. ;extension=php_intl.dll
    1 L5 s  B! B0 c1 Y
  895. ;extension=php_imap.dll
    ' ]* r9 C* n  |' w0 N
  896. ;extension=php_interbase.dll3 Y" \4 [3 I. I! K* ^" J6 J  T  W
  897. ;extension=php_ldap.dll
    6 k- ?' |8 K2 E0 ~/ C; k
  898. ;extension=php_mbstring.dll/ q+ X% D3 m$ \: n
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it. h- a0 D$ }5 X. r. o' b+ g1 j9 D1 [7 p
  900. ;extension=php_mysql.dll
    - z+ u$ \: q5 N0 `# _4 _( G5 W
  901. ;extension=php_mysqli.dll  j6 _" D5 F" d; U3 z+ M4 p6 A- E
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    $ x, T& q9 n& z2 ]# H- @0 l
  903. ;extension=php_openssl.dll4 E1 u! R; a! X# @) |+ P$ n& h
  904. ;extension=php_pdo_firebird.dll
    $ v# a0 `  ~; G  b
  905. ;extension=php_pdo_mysql.dll5 g, K% \. B4 |; F3 r5 U
  906. ;extension=php_pdo_oci.dll# F6 F$ @4 M' \2 U* b. A9 V* p
  907. ;extension=php_pdo_odbc.dll
    7 f' x8 f  S) N& s' W
  908. ;extension=php_pdo_pgsql.dll
    ; f$ ~! K6 ^0 r6 ?; T1 Q2 r0 }7 U/ M
  909. ;extension=php_pdo_sqlite.dll# }( t& w* y+ y# I
  910. ;extension=php_pgsql.dll7 N* A1 |1 K) T. `* d+ ^7 _' [4 a
  911. ;extension=php_shmop.dll2 H$ W0 k9 Z. X

  912. $ H: s1 ^' i) R" h( F( Z5 @4 _6 K
  913. ; The MIBS data available in the PHP distribution must be installed. 0 c6 V) ]: |' F" A* H: X7 v
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    ! t) q$ K& D) T
  915. ;extension=php_snmp.dll
    ; H9 ^" S! S- j: X
  916. ' h1 k! s% c! V6 L9 s, K4 R* x4 l
  917. ;extension=php_soap.dll
    4 K7 m+ i* o; M0 A, T
  918. ;extension=php_sockets.dll4 ^9 C, F3 H# k* G
  919. ;extension=php_sqlite3.dll
    " P8 e) G7 z2 D
  920. ;extension=php_sybase_ct.dll
    8 ^5 V- c$ D0 b( Q! {1 u" z% I* a
  921. ;extension=php_tidy.dll; u7 n7 b' s' b; k6 `
  922. ;extension=php_xmlrpc.dll
    6 T: ?5 Q3 i/ x8 r
  923. ;extension=php_xsl.dll' |1 u2 ?# w- @; Q/ m- g

  924. 7 V, V' }+ u0 [4 u4 }
  925. ;;;;;;;;;;;;;;;;;;;
    * F5 h& a3 g4 j& Y
  926. ; Module Settings ;3 \. O& T+ C- o- T9 x: b' @
  927. ;;;;;;;;;;;;;;;;;;;
    9 L" U, y! H/ _7 Z+ I* ]' V

  928. 9 M( L7 P& _0 X" J6 y% G
  929. [CLI Server]
    + s. d9 ~' I1 E3 y% o
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.* `* F" P& G% Z; E: h
  931. cli_server.color = On: S! \0 ?( Z! b3 a
  932. / H; I+ B4 T  E9 H6 E' B. s$ k
  933. [Date]! o% z. \1 q* g7 t3 y" i! @
  934. ; Defines the default timezone used by the date functions
    9 D- @5 @/ y7 g2 m
  935. ; http://php.net/date.timezone
    5 i- W& S8 K( ~
  936. date.timezone = PRC; J# _- P* U8 ^  v! w& H8 ]9 U. S! ]
  937. % _/ W$ w+ `1 S) _3 O
  938. ; http://php.net/date.default-latitude4 ]$ P8 u0 x# T# }9 Y
  939. ;date.default_latitude = 31.7667
    ) q$ I+ l! J$ M- s$ _$ B9 ?4 W
  940. 8 V6 O. R. u# q* E, C
  941. ; http://php.net/date.default-longitude
    ' j# ]: p6 D) U4 G
  942. ;date.default_longitude = 35.2333
    + c6 q4 C6 Z2 V; Z9 B
  943. 8 M: r( w2 W$ r* ~  i
  944. ; http://php.net/date.sunrise-zenith0 Z( Q0 m6 {: n5 J( b0 L( x' t" ~$ x
  945. ;date.sunrise_zenith = 90.583333
    6 K2 }, _1 ]; U7 y3 ^9 S% O4 o

  946. 0 p9 b- N; Y% e- n% v
  947. ; http://php.net/date.sunset-zenith
    : |% y( V5 [" w. \5 o
  948. ;date.sunset_zenith = 90.583333
    . q3 Z* N8 [" N/ U" x
  949. 2 b# K! w  w( J, Z2 R
  950. [filter]1 _4 {7 s0 O8 b
  951. ; http://php.net/filter.default9 [* g) S! C$ J1 I# `' N
  952. ;filter.default = unsafe_raw% Q/ a" f# b" X7 g

  953. 8 H. I. ^. \$ b4 T
  954. ; http://php.net/filter.default-flags3 t/ m6 e6 p* k$ P1 ?
  955. ;filter.default_flags =
    " L5 y; }( A3 e; D) J$ a8 D& y

  956. $ b2 U2 R% x) z* ?; @% m
  957. [iconv]
    0 |* ]5 m' y0 m/ d
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.8 U. D7 G/ s. }. _8 R
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    & V1 q" n& g- s, P" J+ s
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    3 b) f* i* K3 u1 `1 q1 C) ~
  961. ;iconv.input_encoding =8 J$ y" M; N# k5 c% {, J4 \

  962. 9 ]$ S5 L& ?/ f4 S8 a1 u
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    , e% h" m2 }/ h/ J& h
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.$ m, g9 @4 n/ f8 h$ W: {! @. s
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding" I1 I0 c! N) R
  966. ;iconv.internal_encoding =
    / v4 ]% @7 c8 Z$ g# |- n  ~2 G% m
  967. % o: q; z- c& a9 }& K; u
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ( w" f& C( }" |/ R7 ^! h
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.6 R" S1 Y# K3 n7 {4 i5 I% }& N8 H$ [
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding& Q! C! I3 J, C2 K
  971. ; To use an output encoding conversion, iconv's output handler must be set3 f1 e( P7 B/ t4 K0 g$ r  X7 a1 a
  972. ; otherwise output encoding conversion cannot be performed.
    $ Q1 K4 G; U3 J! n- \/ h$ ]& _
  973. ;iconv.output_encoding =
    ; s3 n" Q# z& [8 J
  974. 1 p) Z; t4 I' h3 a
  975. [intl]0 F6 R- Z2 C, s6 w2 L; W
  976. ;intl.default_locale =
    ' b; h% V( D8 W$ N& ]) I$ S
  977. ; This directive allows you to produce PHP errors when some error
    : w- h: I  d1 W1 `
  978. ; happens within intl functions. The value is the level of the error produced.
    0 |3 i# Y' Y2 S2 q/ X
  979. ; Default is 0, which does not produce any errors.
    / ~3 I+ V' V5 m2 S8 |
  980. ;intl.error_level = E_WARNING9 P+ n: ]4 p8 w0 y: T
  981. ;intl.use_exceptions = 0. Y" m' t* J" e& Y1 N4 }

  982. " p- [" G( Z2 f; [
  983. [sqlite3]6 g$ `  d0 w* \6 E: L. X
  984. ;sqlite3.extension_dir =' j$ A/ a+ t; ^: q
  985. 9 b% x  l  S8 t2 c. p/ Y& d/ |
  986. [Pcre]& [+ S8 H% Q( S4 ^
  987. ;PCRE library backtracking limit.
    & V: u1 B- `8 _2 l2 ~8 R0 Z4 @
  988. ; http://php.net/pcre.backtrack-limit, G6 N* p( |. l/ u8 x. Z. x! E# D# W
  989. ;pcre.backtrack_limit=1000002 J4 W# L! ~$ F1 M) r& k$ U
  990. 7 C3 e0 c' I# x) {
  991. ;PCRE library recursion limit.
    2 v; O- n; L1 f* _2 V, W$ y$ j
  992. ;Please note that if you set this value to a high number you may consume all4 @: Q4 M0 ]  o* R5 u) ]1 \" Z+ \
  993. ;the available process stack and eventually crash PHP (due to reaching the) a# t! @8 P* E% j/ x9 @
  994. ;stack size limit imposed by the Operating System).
    3 }% s# I2 N. l  _9 B3 `0 U9 y9 `: j4 Z0 j
  995. ; http://php.net/pcre.recursion-limit
    2 e+ q: {5 }6 v! w
  996. ;pcre.recursion_limit=100000& k7 p: _9 `0 w! c9 e3 H

  997. $ Q; @* x( p( n; {. P6 g% G  }
  998. [Pdo]
    % ?9 ], C$ R5 x& ^
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    # E' O/ H7 u$ y" t! Z" O+ P& P* N
  1000. ; http://php.net/pdo-odbc.connection-pooling
    ! k7 k% T0 o: y/ k$ y* T
  1001. ;pdo_odbc.connection_pooling=strict
      z  B" \8 c; L( n
  1002. 5 a/ D3 n- w& g& Z  _1 N8 T
  1003. ;pdo_odbc.db2_instance_name
    6 R# T8 m; I* ]8 z1 z  c

  1004. # N# v, q. Z; W* I4 ]5 N
  1005. [Pdo_mysql]
    : n+ _: t& o0 B* S) B, t
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    4 s/ B1 k# D7 C6 w
  1007. ; http://php.net/pdo_mysql.cache_size
    * J  d* V: b" d0 N4 a3 U
  1008. pdo_mysql.cache_size = 2000
    2 b& \9 e8 v( _/ e5 v# t2 `
  1009. " G9 L& x  S% H( C% H( o# o
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    - w, j1 Z9 i8 \3 H, j9 T
  1011. ; MySQL defaults.
    4 I0 v: u# V$ d# ^9 _5 G
  1012. ; http://php.net/pdo_mysql.default-socket; |( G: B8 }, A% n$ [* O
  1013. pdo_mysql.default_socket=
    % L1 F+ a1 r' }6 t+ W. b
  1014. " v8 Q- `% O8 T! e* P6 ^5 p
  1015. [Phar]
    6 ~4 v: X4 P/ j
  1016. ; http://php.net/phar.readonly
    / J4 M5 ]# K' Y6 H+ _
  1017. ;phar.readonly = On
    ! n8 I. v' J( m

  1018. 6 [& m+ `% X0 H( |
  1019. ; http://php.net/phar.require-hash- X' I4 d2 R* d* k$ n& Z9 m
  1020. ;phar.require_hash = On
    4 a; N6 {7 A* ~; @
  1021. 0 U: ~- {( j0 v0 j% q
  1022. ;phar.cache_list =
    + P0 w+ A1 l& u* x/ b
  1023. : _0 `5 x" B4 u) y$ [' z) R
  1024. [mail function]
    : t/ ?2 [6 H( l0 |/ p4 o* A6 H! g
  1025. ; For Win32 only.6 Y7 K1 u, L7 ~6 t3 M' x
  1026. ; http://php.net/smtp. }$ F# y- q( @% ^7 h4 D2 h7 T# g% R! r! S5 Q
  1027. SMTP = localhost! F' @* B9 a( n: N8 Y, Y+ O" j
  1028. ; http://php.net/smtp-port, [# b/ ?8 l$ k+ z- ^3 l
  1029. smtp_port = 25
    $ z+ ]& g% X5 n: v

  1030. 9 e5 Y9 v5 n+ |! I" U
  1031. ; For Win32 only.
    % w* L2 _& b& u7 H( `6 V$ a, h
  1032. ; http://php.net/sendmail-from# o/ Z/ q% l5 m6 w/ @6 v
  1033. ;sendmail_from = me@example.com
    4 N. j0 A) v' z* d& y7 k
  1034. 8 |' _; Q0 W+ O, ]7 W2 V( m) l
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").8 d- ~# b% g! G5 L
  1036. ; http://php.net/sendmail-path' M7 E8 R" C) G8 h0 b6 P
  1037. sendmail_path = /usr/sbin/sendmail -t -i, a4 F8 e/ g. Y0 y- O

  1038. 1 W+ {' m2 C$ O- ^5 P
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    $ g% U! Z2 ^) ~6 E- x, _1 n2 \2 [
  1040. ; to the sendmail binary. These parameters will always replace the value of
    1 ^- O4 ^6 x* C8 B) ~* v' w
  1041. ; the 5th parameter to mail().% b9 U- l& _; m1 B9 W' c
  1042. ;mail.force_extra_parameters =
    $ ]! }) [$ C9 H

  1043. 4 j1 }9 G* C5 h+ s( }7 H
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    : Q7 D" v& i; X  J$ ?/ x; s
  1045. mail.add_x_header = On
    0 {& w% M* A0 a( L8 F1 E8 E0 ?
  1046.   a9 Q& e: z1 t  d4 N4 ?7 M* m; e5 h
  1047. ; The path to a log file that will log all mail() calls. Log entries include) A- w1 \( i6 Z
  1048. ; the full path of the script, line number, To address and headers.! A2 }* I1 L2 S1 `9 l
  1049. ;mail.log =
    7 u) B6 i: ~: e$ ~" J3 d
  1050. ; Log mail to syslog (Event Log on Windows).4 e9 z: w8 J+ W: X# S; h
  1051. ;mail.log = syslog" V3 v8 R2 M3 S. p. W, r

  1052. 3 h0 q+ f: H5 `4 [
  1053. [SQL]
    0 p' M1 f& h! |! ?2 l& j
  1054. ; http://php.net/sql.safe-mode
    5 m# i- y2 k5 {
  1055. sql.safe_mode = Off0 d: ^4 b( F1 G, r6 J
  1056. - z! d0 f3 e* \/ k
  1057. [ODBC]
    9 x+ ~9 X! G: _0 r
  1058. ; http://php.net/odbc.default-db
      o) G" d! Y8 Z: ~/ E5 _& Z+ _
  1059. ;odbc.default_db    =  Not yet implemented
    . x$ q2 J. q$ ^
  1060. ' X) a7 a8 ~+ w- r4 m1 ?+ v6 _- S
  1061. ; http://php.net/odbc.default-user7 E4 R% L# _  e2 x. d, R
  1062. ;odbc.default_user  =  Not yet implemented, ?  N( D5 C# X! i

  1063. - h* Y) ]9 |  q' u9 l) Z9 r
  1064. ; http://php.net/odbc.default-pw3 ~* g* f+ F. S
  1065. ;odbc.default_pw    =  Not yet implemented7 Q1 C9 N/ ^9 a: U2 d. i

  1066. & d6 {" ?9 ^1 N5 X
  1067. ; Controls the ODBC cursor model./ D0 b6 ^/ b$ t3 s+ ~
  1068. ; Default: SQL_CURSOR_STATIC (default).7 @+ q# A" f; D4 s7 a1 S; e  U2 l0 ^
  1069. ;odbc.default_cursortype
    , r! o$ ?( Y3 j

  1070. 5 D. s( w1 s& a7 T
  1071. ; Allow or prevent persistent links.7 ^6 T) Q, Z" C9 x, N; J, d8 s) ]& [
  1072. ; http://php.net/odbc.allow-persistent, i' x: N. T- y, ^5 q
  1073. odbc.allow_persistent = On
    3 b* u' v7 x( b

  1074. / d0 k4 t/ ^& h3 \( R& O* B
  1075. ; Check that a connection is still valid before reuse.
    6 y0 i3 x) }! F% m# p! M6 {) x
  1076. ; http://php.net/odbc.check-persistent
    8 {- e# r: x* z3 ^
  1077. odbc.check_persistent = On
    2 U. G2 S" w; v' o

  1078. $ z6 C1 o9 V* e( b
  1079. ; Maximum number of persistent links.  -1 means no limit.- Y3 ?- q1 G" V) P
  1080. ; http://php.net/odbc.max-persistent
    3 D, K5 x! L4 }4 D) q. Q
  1081. odbc.max_persistent = -1
    4 {, O' p7 S1 i5 K1 m* N  U) S, t4 H
  1082. 9 ?. Y6 S! g9 I7 [- E" c
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: S! e" \+ D- C# l( _1 N
  1084. ; http://php.net/odbc.max-links
    3 C  m, v# v& v8 V' o7 @! r3 X) w0 F
  1085. odbc.max_links = -18 o/ `0 ^5 M) G. T% {" S# \5 Q  j
  1086. 7 M- ]/ _8 n+ _" m0 f
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means7 ^- k4 w4 ~. n5 P- a" p4 X5 N
  1088. ; passthru.
    8 `2 D) B- \( t; k$ S
  1089. ; http://php.net/odbc.defaultlrl
    5 m4 z( K0 v% A, {9 J# j
  1090. odbc.defaultlrl = 4096+ S/ v% z( V) g. [, `4 r

  1091. / o5 B" n3 a/ `% l( Q! O. i
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.+ G# Z$ d. [/ g5 H( i0 e- h1 x5 ~
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation* A; O' Y( a4 L# b: ~  ^' W
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    . `9 {8 L% s2 i  k' ]
  1095. ; http://php.net/odbc.defaultbinmode7 X- S. I$ S7 H4 d+ K
  1096. odbc.defaultbinmode = 11 F3 A; _3 S- F

  1097. 6 ~- ^/ j  J% Q1 W, y8 K) v7 ^7 Y
  1098. ;birdstep.max_links = -1
    ' O5 k; v9 ?2 O' {# x( S$ y6 R( w
  1099. . {0 e! b0 j! s5 a4 r! h1 \
  1100. [Interbase]
    / W$ P# ?- L7 l( f0 F3 f% \
  1101. ; Allow or prevent persistent links.
    ; q9 v/ E: l- {2 E9 m: O
  1102. ibase.allow_persistent = 1
    : W; `9 z; x# V# L5 Q& K& h

  1103.   i5 X" d5 v3 C/ J- @
  1104. ; Maximum number of persistent links.  -1 means no limit.
    % ~; x9 l# ^$ L2 y, B. w: @9 ^/ l  G7 G
  1105. ibase.max_persistent = -12 j7 N2 {0 N  w- K( r8 U
  1106. & [9 a) w5 F  u  i
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 ]2 x( f+ {% ]4 s
  1108. ibase.max_links = -1
    ; p7 Y% ~1 I8 e4 K+ P. X9 H8 l
  1109. 3 h4 u4 o- p. @' x9 E3 o" n
  1110. ; Default database name for ibase_connect().' C. {5 m7 |' e/ f; v. X
  1111. ;ibase.default_db =+ r  K1 D/ x1 @$ ?2 x
  1112. . |6 O+ Q' P- q0 B8 {  n* G/ \
  1113. ; Default username for ibase_connect().
    , e( S5 F* g' [7 t- k# U
  1114. ;ibase.default_user =
    : P' B5 \8 |( u# l

  1115. # }  |* I" P/ y, g8 d0 }7 N
  1116. ; Default password for ibase_connect().* X. [! c) [0 \+ j" d+ s( k0 C
  1117. ;ibase.default_password =* i! w( N5 O9 k* r9 P

  1118.   ^% U4 o, b) ~4 V4 N4 r
  1119. ; Default charset for ibase_connect().& Z1 q; `* l5 \1 m9 d8 a/ O9 J
  1120. ;ibase.default_charset =
    5 L, ?+ b, H- y, u5 |+ E4 p. }

  1121. & Y" d- K3 y; E( W
  1122. ; Default timestamp format.% r4 _9 |6 b3 x7 Y. g1 u
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    + L! _# Z. o+ P9 ]* D

  1124. 7 @! P9 _% \+ `+ C- L. Z
  1125. ; Default date format.! u0 l: g, v$ G6 K1 d% D& t
  1126. ibase.dateformat = "%Y-%m-%d"
    8 L( q# ]5 t* ?3 p  d" Y

  1127. 0 z/ {% |3 s% e
  1128. ; Default time format.
    , u+ }* }' d$ P4 h+ ?9 r' Z/ v
  1129. ibase.timeformat = "%H:%M:%S"* y6 Y, [1 H- q! @+ E2 A& L% V

  1130. ) `2 ?. `1 {  ?& g
  1131. [MySQL]
    2 I" b! e8 a( G: n+ d. B
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements- C  m- ~: x; _3 ]2 O' e) K9 N5 T3 U* l
  1133. ; http://php.net/mysql.allow_local_infile* G, F1 p; s- k( z
  1134. mysql.allow_local_infile = On+ @( v+ h8 F1 H

  1135. : B; n3 w. ^5 }
  1136. ; Allow or prevent persistent links.
    . Z- K& H# P. p, N
  1137. ; http://php.net/mysql.allow-persistent5 b3 ?% V1 y( ]
  1138. mysql.allow_persistent = On
    8 [( P/ E: P3 g: V+ s" Z2 J% i6 B

  1139. 8 m( e8 k* q8 J( V( J+ q! T
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    - l3 i5 q" }! v5 e" w* u& m
  1141. ; http://php.net/mysql.cache_size
    : d) s$ E8 ?8 h% }
  1142. mysql.cache_size = 2000! H& \$ P2 `4 h" d, [8 f
  1143. 2 g% J& v7 t0 \1 u* y! c
  1144. ; Maximum number of persistent links.  -1 means no limit.
    + H' S' J6 [" a# B. z& O! b
  1145. ; http://php.net/mysql.max-persistent4 P/ T5 R+ G9 J: Y. r" L6 I9 \
  1146. mysql.max_persistent = -16 X" m$ r8 |5 Q3 q' B/ ~; u
  1147. 0 O( H/ ?- t( E0 c. k& C9 p# y
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 w5 k9 O  S5 X* }+ ^( J
  1149. ; http://php.net/mysql.max-links
    6 H) ^9 ~; U: i) A8 h
  1150. mysql.max_links = -11 T$ L& J0 U% \" ~
  1151. 6 m- k1 s/ I/ e9 C8 Q9 \
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use' P" D: v. }2 z$ h. k2 l9 N
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    1 s) w' Q9 N% x" q* M6 I: O- K; U
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look8 R( ^5 \2 N* n8 X+ o" J. h' I: s
  1155. ; at MYSQL_PORT.( ^- s3 t) ]1 Y6 ]) w, B" l- l! M
  1156. ; http://php.net/mysql.default-port
    $ a5 O# l+ B5 B
  1157. mysql.default_port =0 W, f( @8 L) E. A) y$ F
  1158. 4 @4 B* |7 a1 j% F5 m* \
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ! o" P+ H8 N4 ?& O
  1160. ; MySQL defaults.7 l6 k9 l9 K$ k; d  B
  1161. ; http://php.net/mysql.default-socket
    9 L, R: w' Z" o# V2 |4 _. g! k. M
  1162. mysql.default_socket =& L  y( w* J& ~+ e, _3 z! w
  1163. ' @* b# d' i/ f1 z' i9 k
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).$ m$ d# r2 A0 D9 s* L
  1165. ; http://php.net/mysql.default-host
    $ x, }$ i+ C/ ]: G
  1166. mysql.default_host =
    8 v) S  S( Y  _, Q) |8 g
  1167. / v. \9 x1 D( J0 i8 m% }5 W. O
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).9 z$ y! u4 E1 v3 [) x% f! k( V! P
  1169. ; http://php.net/mysql.default-user+ J/ y2 T0 ~' R* ]5 ^3 @  U. o
  1170. mysql.default_user =
    - X( S( ?5 p2 o# V

  1171. 2 q- B  ?7 W& m% W0 t! Y$ u. w
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).8 l9 U9 T! L" I0 b8 {
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.1 s8 D, v& B/ J6 s
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    0 V. o. n" x+ g. q
  1175. ; and reveal this password!  And of course, any users with read access to this
    ' S) q. c) R- y# Q. ^
  1176. ; file will be able to reveal the password as well.6 p5 L" f0 L0 K* J4 M2 L
  1177. ; http://php.net/mysql.default-password! J2 @- h$ [, a
  1178. mysql.default_password =
    ( E) N( g. ~. y' H$ u  Y( ]: G( s& t/ l
  1179. ( |7 J9 F  W' v4 K2 s: i# R4 P
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit3 f* K/ f  z1 P. ^) i% ~7 f
  1181. ; http://php.net/mysql.connect-timeout
    + F; z, b4 M9 j' L& Q2 i' C
  1182. mysql.connect_timeout = 60+ B; B2 g% o$ s- ?9 _( `+ O
  1183.   B" g1 |, W8 q: X9 K
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and' o! R3 `* }9 D$ z% d2 Q
  1185. ; SQL-Errors will be displayed.# c- k, p3 {- `" _! P% k
  1186. ; http://php.net/mysql.trace-mode
    + t3 Z9 t. z/ }5 E* i
  1187. mysql.trace_mode = Off& m! x$ Y" S/ f

  1188. 5 g* N7 `$ a1 x2 D, j4 J6 j
  1189. [MySQLi]2 g+ q+ E% h9 H. z# H, p
  1190. , K# s  |9 ]+ w# B
  1191. ; Maximum number of persistent links.  -1 means no limit.# i- S" A. ~+ q$ B7 [
  1192. ; http://php.net/mysqli.max-persistent' H; ]( Z5 A$ }  y
  1193. mysqli.max_persistent = -17 s- E+ n5 z% k. b" A* `

  1194. 7 z. l, j2 o) \/ [
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements* u, I9 Y) b" @0 \
  1196. ; http://php.net/mysqli.allow_local_infile
    ' y, `( l) s1 t4 x" q
  1197. ;mysqli.allow_local_infile = On
    # U0 i% l. E. E. [, ]

  1198. 7 d, Z  l2 ~; r) i: ~" |8 ^: g- s+ {
  1199. ; Allow or prevent persistent links.
    & t, o6 v8 y0 L0 y
  1200. ; http://php.net/mysqli.allow-persistent
    ; R7 M) t" j( r9 h$ G$ M8 ~- \# Z+ j
  1201. mysqli.allow_persistent = On1 y) L: x) N! Q- |4 j  h0 q

  1202. , o8 m0 X# x. l
  1203. ; Maximum number of links.  -1 means no limit.( j6 _1 y6 a4 A' _
  1204. ; http://php.net/mysqli.max-links
    9 R/ d+ u; x2 ?& ]1 G7 |
  1205. mysqli.max_links = -12 m* C- g6 ^  v

  1206. 2 O) w- Q9 ^4 |! Y( f, P/ D1 m
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache! u( Z1 z4 U8 I, l: M
  1208. ; http://php.net/mysqli.cache_size* D1 B7 j5 O0 m0 C; {
  1209. mysqli.cache_size = 2000* Z4 q# y7 e8 V2 c, P9 A
  1210. ; T' ?  M) n; T" R
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    % C/ b% N+ [/ e, X9 ~  m3 Q
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the# A6 L6 c) {6 p. [. f4 a
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    8 b! R2 ~5 N9 U3 x% u4 X
  1214. ; at MYSQL_PORT.) @" W  ]' ?5 |1 n/ f7 d+ A( ~
  1215. ; http://php.net/mysqli.default-port
    ) \9 R! ]* o% ^
  1216. mysqli.default_port = 3306
    & ]. Y! ^3 z$ R  f6 Z9 H
  1217. , S  a$ c) O$ b3 _, w/ e: ]1 ]; Z
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    . L' Y7 D' |# P. J2 m, f
  1219. ; MySQL defaults.
    - O$ F# U( ^: }2 L! v1 t
  1220. ; http://php.net/mysqli.default-socket
    . k4 Q  O3 P7 H% I$ ~% q
  1221. mysqli.default_socket =7 a* `* U- a2 X$ C
  1222. 6 g9 s# C# c4 t( s6 u
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).$ e9 e4 R* J5 o6 x0 v
  1224. ; http://php.net/mysqli.default-host- P! _! i8 ~9 a# a; ?. s6 Z- i
  1225. mysqli.default_host =+ A' x/ N" [, P# N

  1226. * {6 f( W6 \4 f( w4 ^: x
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).4 C* P+ B! n% h4 v) H( G; k3 m8 C
  1228. ; http://php.net/mysqli.default-user
    0 f, X3 W  L1 Y' Q1 Y
  1229. mysqli.default_user =1 l  p4 t% r; K5 b2 o) p
  1230. ) e; [7 `! x9 Q, \! G8 N& H/ ^
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    2 W1 ]. a( a# M) e) M2 y0 Y
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    ' K, L; m. _$ w; y
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    4 S6 ], e8 v; @
  1234. ; and reveal this password!  And of course, any users with read access to this
    + Q8 ]1 j% x( H8 v  P$ P9 o3 i
  1235. ; file will be able to reveal the password as well.
    7 i2 \! l# z0 q6 m/ T( r" f( o
  1236. ; http://php.net/mysqli.default-pw) N4 z2 l3 R3 I0 a9 j+ X7 M
  1237. mysqli.default_pw =
    9 F5 x/ f  @5 P& l4 x8 b) X3 N& h1 g1 z' J

  1238. 5 e  i/ R& M' S6 D' ]
  1239. ; Allow or prevent reconnect& T9 D/ K! ?6 q( T
  1240. mysqli.reconnect = Off/ M# b8 d, ~, Q+ l6 d
  1241. ) u. b( w$ b$ @* Q/ |3 w
  1242. [mysqlnd]
    # `) `& ^0 l0 f9 U; O# S
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ( q0 _; M9 z6 f4 m5 ?# f
  1244. ; used to tune and monitor MySQL operations.
    / F8 c9 F% N* _  C" C
  1245. ; http://php.net/mysqlnd.collect_statistics
    ; U1 {# l* |7 o7 Y7 H/ n6 X( p
  1246. mysqlnd.collect_statistics = On
    & m( I$ m+ ]  ?! C( [
  1247. 7 F& Y3 @6 [1 m! ^" E/ E+ X9 m& q
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be  ]' g( |0 w) y0 e1 n. K$ }! E7 Z6 j9 Q
  1249. ; used to tune and monitor MySQL operations.
    - \7 y4 [6 o4 u2 U3 E" P, H4 Z
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    ( S1 C% b, s- d! X% f( t
  1251. mysqlnd.collect_memory_statistics = Off8 K5 t# J8 ?0 t; G$ L' z% |0 L3 v
  1252. * d5 J6 a$ A: K( s3 N
  1253. ; Records communication from all extensions using mysqlnd to the specified log6 s1 y# u8 J8 H% w$ \# }+ X
  1254. ; file.3 l4 q, x8 L, T, x
  1255. ; http://php.net/mysqlnd.debug( M! X6 S5 T# I0 j
  1256. ;mysqlnd.debug =9 {8 K& M( X; p* H' H3 t

  1257. : G; T  G9 c! @3 e, s
  1258. ; Defines which queries will be logged.  n* _- K% b' G  |6 T1 }! W
  1259. ; http://php.net/mysqlnd.log_mask
    & L. V' z, _* e7 G# v' h
  1260. ;mysqlnd.log_mask = 0# i, r" |0 ~/ i: R3 w' O) Q1 o

  1261. ( z4 e. E! w, b5 O/ g
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    $ K$ o/ I5 z5 S2 h
  1263. ; http://php.net/mysqlnd.mempool_default_size
    ; r; h2 j& S  q& y8 h- e' r. v5 g3 e
  1264. ;mysqlnd.mempool_default_size = 16000
    1 h$ Z# C( W) r" O5 K% m
  1265. ) ]9 H9 Z& z" d
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.  g; ]! |( W6 r: z6 M& ^% x" @
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size# a( L5 T( c3 G5 @; G" ~: Q
  1268. ;mysqlnd.net_cmd_buffer_size = 2048' `$ `3 J& y8 n. T, ]

  1269. % D# }! X: A3 r* j5 O# }6 i0 U
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in: x# b% M( T7 _5 ^
  1271. ; bytes.
    # D  z* s8 d, A: G- y/ U
  1272. ; http://php.net/mysqlnd.net_read_buffer_size. P( k0 f9 j" q5 Y& y& \
  1273. ;mysqlnd.net_read_buffer_size = 32768: R" l$ I# m. O+ q

  1274. + L( L8 P- c- y  Q# m- x# U" f
  1275. ; Timeout for network requests in seconds.
    # I! ~- M) S7 F3 R* `2 d/ A
  1276. ; http://php.net/mysqlnd.net_read_timeout: j1 w4 A+ ^' @3 Q# x( r/ _# Z0 s
  1277. ;mysqlnd.net_read_timeout = 31536000! ?8 A7 J1 ]% Z5 s# R. r

  1278. 7 R4 B9 q& @7 [- m- S$ i
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    * U& q5 @5 C/ K" i( K" J
  1280. ; key.
    9 |0 h! b0 w% e
  1281. ; http://php.net/mysqlnd.sha256_server_public_key5 n) ^8 f3 W' T" T2 P, V
  1282. ;mysqlnd.sha256_server_public_key =
    # q8 l+ e$ V9 g2 I0 J; a/ F
  1283. $ F/ c& K" c, [6 u% \, R+ H
  1284. [OCI8]
    / y. g& X5 [7 H6 _0 l2 B

  1285. ; E! G' D4 l9 S. ~/ Y: n
  1286. ; Connection: Enables privileged connections using external
    4 r0 v, O8 K; x6 `0 w# D5 Q5 t
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)  Z4 r6 v; j! O+ l, V6 A) ?- _, W
  1288. ; http://php.net/oci8.privileged-connect4 U8 O/ W3 G) P" c( Q
  1289. ;oci8.privileged_connect = Off- o4 |  H4 c% c8 P9 h8 `

  1290. 9 Y( T% \* e+ X' R: k5 [$ M
  1291. ; Connection: The maximum number of persistent OCI8 connections per& }; B% k" k5 G" I; N1 u) i
  1292. ; process. Using -1 means no limit.
    + S2 O7 E2 x7 n# ?
  1293. ; http://php.net/oci8.max-persistent
    / r* d8 Z, V+ z8 L5 y. P" |
  1294. ;oci8.max_persistent = -1
    # h5 o# S  t5 q
  1295. ! b4 D% w6 F. A4 X9 D
  1296. ; Connection: The maximum number of seconds a process is allowed to
    % K/ A7 U4 q% t$ `! o5 i
  1297. ; maintain an idle persistent connection. Using -1 means idle5 W) |; W/ D/ }# K8 \# d6 a
  1298. ; persistent connections will be maintained forever.
    % R% C  z% p5 C# ^1 @1 J5 b* }% e
  1299. ; http://php.net/oci8.persistent-timeout
      g: Y& W- r/ T9 s3 c; K( P
  1300. ;oci8.persistent_timeout = -1
    2 E8 O- A8 v9 \. Z
  1301. 7 N. z  g$ N, D$ D* j- T
  1302. ; Connection: The number of seconds that must pass before issuing a- R$ V0 y: U2 u7 m$ A) P
  1303. ; ping during oci_pconnect() to check the connection validity. When, O2 V- m8 t6 r- {4 N
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    # w" t+ @+ ~) \0 X
  1305. ; pings completely.
    / C) {6 I2 C4 Q" n' I0 [& I
  1306. ; http://php.net/oci8.ping-interval
    , @  ^0 i& u( U
  1307. ;oci8.ping_interval = 607 ?" D" o& J/ x) |6 ?# B
  1308. 4 _$ n5 d! U4 _+ V$ Y) f
  1309. ; Connection: Set this to a user chosen connection class to be used, u7 t( A: O$ D- N2 c
  1310. ; for all pooled server requests with Oracle 11g Database Resident% g8 F9 v( O, ?* ?1 J* Q
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    2 c1 A: f3 P! x; @3 m
  1312. ; the same string for all web servers running the same application,
    ) j& B8 M$ J6 b
  1313. ; the database pool must be configured, and the connection string must8 x$ C/ I& U" \( {6 H& [9 i
  1314. ; specify to use a pooled server.
    . E" ], P5 P( T' y; s" u
  1315. ;oci8.connection_class =% ^$ y; Y- Q* [* Y/ |
  1316. 5 e$ ?1 l# g7 m! s' l
  1317. ; High Availability: Using On lets PHP receive Fast Application
    / B) l6 L) }4 A( f" Y
  1318. ; Notification (FAN) events generated when a database node fails. The
    : E( q. R" [4 H+ }5 ]
  1319. ; database must also be configured to post FAN events.
      L7 r8 N" l7 i+ l0 j0 u2 o
  1320. ;oci8.events = Off
    9 C0 L9 _) S* Q, D
  1321. $ w% c$ \# l9 [9 o' w2 A& I0 E6 V" u4 @
  1322. ; Tuning: This option enables statement caching, and specifies how
    ! d7 q9 v# L& ]# L% E
  1323. ; many statements to cache. Using 0 disables statement caching.. k9 o& L8 P3 b1 B# n: X
  1324. ; http://php.net/oci8.statement-cache-size
    # _: m# L! c  u2 O, w! ~- W! B
  1325. ;oci8.statement_cache_size = 20
    ; G/ h) |3 D5 O$ }- }4 N! J

  1326. / r! i) L% N: B" A2 J4 M
  1327. ; Tuning: Enables statement prefetching and sets the default number of- P& e- K! \+ U6 C0 P
  1328. ; rows that will be fetched automatically after statement execution.+ i& R) Y! h. a* j
  1329. ; http://php.net/oci8.default-prefetch; o/ V: y* P7 A; W4 ~) {, j
  1330. ;oci8.default_prefetch = 100" G1 a; V8 G6 ?7 c
  1331. 0 Q: U( Z3 ?  f$ L% j5 O
  1332. ; Compatibility. Using On means oci_close() will not close& y. A5 x; C* h& ^3 B
  1333. ; oci_connect() and oci_new_connect() connections.7 t3 [% [7 Z4 ~; J1 }" A
  1334. ; http://php.net/oci8.old-oci-close-semantics2 o; c- K: T7 ^# Y
  1335. ;oci8.old_oci_close_semantics = Off/ t1 ]$ X( b* ^+ {4 ^) S  Q
  1336. 4 _% n9 W9 j* ~+ l8 L6 q9 B
  1337. [PostgreSQL]$ p3 Q8 G: {" v) w( g
  1338. ; Allow or prevent persistent links.2 W; b: |5 r4 A2 F8 e3 i
  1339. ; http://php.net/pgsql.allow-persistent
      ?* ~; n7 D. {! I
  1340. pgsql.allow_persistent = On2 w, S: T5 p" B/ q! Q# ~0 F: r) c3 F

  1341. . T, R# Y7 _$ r2 \$ z
  1342. ; Detect broken persistent links always with pg_pconnect().) M1 V$ ~2 m& c4 h! {/ z
  1343. ; Auto reset feature requires a little overheads.
    2 t3 d' F) A8 F5 n7 G
  1344. ; http://php.net/pgsql.auto-reset-persistent
    % q1 }; W- z: t, [
  1345. pgsql.auto_reset_persistent = Off! T5 H4 b4 U9 M; b0 _. E

  1346. - H3 D. \/ t! \$ i. l0 v% {
  1347. ; Maximum number of persistent links.  -1 means no limit.- W+ G: [" A+ {# j; E1 ]
  1348. ; http://php.net/pgsql.max-persistent" p5 o7 u# A6 P5 m8 E
  1349. pgsql.max_persistent = -1; U* t& I! ~5 F+ F$ n# r6 W- F
  1350. " g! s8 i8 }+ H) G- j
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.9 N" [- L! u# K0 Z& b: X" Y5 O" W7 F
  1352. ; http://php.net/pgsql.max-links
    3 h5 m3 j% p- W0 k
  1353. pgsql.max_links = -12 n: c$ r/ J2 K# b9 h  d

  1354. , M3 A1 t; e0 ^0 P) ~+ f
  1355. ; Ignore PostgreSQL backends Notice message or not.
    0 g, K3 g; x( i. i9 b5 X4 |
  1356. ; Notice message logging require a little overheads.# o4 x+ a" P' g/ b% p" w2 x8 w# {
  1357. ; http://php.net/pgsql.ignore-notice
    7 p+ u2 `  G8 V0 i7 U
  1358. pgsql.ignore_notice = 0
    ' i$ c) [- r$ Y! r7 c
  1359. $ [0 |2 D6 w$ N6 l& C
  1360. ; Log PostgreSQL backends Notice message or not.9 b( `% V. R+ h$ s: K7 H
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    . z( L6 k6 B) N7 J- h) o, Y
  1362. ; http://php.net/pgsql.log-notice
    # v0 L# b6 _3 K# G  H3 q# e
  1363. pgsql.log_notice = 0
    8 k) D, n& N5 L  z  }: M

  1364. 5 m7 e6 G7 A( t
  1365. [Sybase-CT]! u- s* W$ W* _9 l( D$ t. F. \
  1366. ; Allow or prevent persistent links.: f: u7 a$ L) T9 N' P. u# q. K" M
  1367. ; http://php.net/sybct.allow-persistent
    / i: J6 r% p2 a0 E2 V! E
  1368. sybct.allow_persistent = On
    7 ]1 `& M$ a- `% K+ y

  1369. 6 b( e9 ]) p4 @' t( W
  1370. ; Maximum number of persistent links.  -1 means no limit.
    1 k, X% J& Z! C# n( L
  1371. ; http://php.net/sybct.max-persistent( _. O0 B0 @/ J1 @8 ~6 M/ Y
  1372. sybct.max_persistent = -1
    ( j( `0 [# B) F9 o/ _' V
  1373. ( Z' ?) G5 \( k8 J4 l8 X; ?9 k
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 z- n+ s! W9 j; ^4 d! c1 Z. p; p
  1375. ; http://php.net/sybct.max-links
    ' t8 V# A1 D$ q" W
  1376. sybct.max_links = -10 p  `! H7 m9 H" ^2 n' y

  1377. 0 E) q" Q' D' F( W0 J6 L! k* r
  1378. ; Minimum server message severity to display.
    ) V! H' W3 n' h& U) t- m+ k0 _
  1379. ; http://php.net/sybct.min-server-severity
    $ x: q5 _1 p3 e6 {+ K) X( A4 H3 Q" a
  1380. sybct.min_server_severity = 10* ]4 }% |  X2 I7 l8 k2 P+ |

  1381. , a2 ]  k1 ?# d0 b, X, r3 A0 R" p
  1382. ; Minimum client message severity to display.8 W: K- B3 V& y" l) A
  1383. ; http://php.net/sybct.min-client-severity
    $ a3 S7 `: H7 N
  1384. sybct.min_client_severity = 10! w5 p1 n0 q9 l& l5 q) ~# b4 B" d; N; E
  1385. 3 Z( F( r( U# \/ f0 N# p5 Y1 R. m$ k
  1386. ; Set per-context timeout# ~/ [8 o' i) j( p, {/ a
  1387. ; http://php.net/sybct.timeout
    ) p  c# V$ T* ~& S' K
  1388. ;sybct.timeout=5 q4 s% V( w) w+ p3 B

  1389. ; U$ E5 l7 R1 [7 O* l8 f- I
  1390. ;sybct.packet_size3 b+ Z$ H! B) b& X; L5 Q8 A8 }
  1391. 6 e$ ]0 E) E! o% N# P
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    4 l9 z* I; r2 D% T+ x
  1393. ; Default: one minute# s8 {4 q0 P' ?- E. E4 |
  1394. ;sybct.login_timeout=0 L/ s. Y0 e/ W* x+ O1 p
  1395. & c! y4 W* \; ~/ L( V- ~+ x" ]
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    0 H8 s5 c6 x/ P2 M# f( R, d- K
  1397. ; Default: none
    - J3 d* k, U' [. Y$ p" [" g$ F  z
  1398. ;sybct.hostname=
    8 `2 `* Y+ w" A2 V- [# t# d

  1399. 2 [) y& {" r& S/ o$ E0 x
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".( P8 z$ M4 z# v
  1401. ; Default: 0
    7 x% w! l8 h# q9 d% M5 L" G$ p8 F- r0 M
  1402. ;sybct.deadlock_retry_count=
    5 d0 z' B8 ?5 E9 X

  1403. ; ]8 ~& K0 {' b3 `+ |7 T, v
  1404. [bcmath]3 p- T/ u& n5 X- c/ Y& `. C, A7 J
  1405. ; Number of decimal digits for all bcmath functions.8 {7 F% r8 _3 X# G
  1406. ; http://php.net/bcmath.scale0 o4 C! ^, F1 H
  1407. bcmath.scale = 0
    + M% p. V# z: K
  1408. . ^5 K* g( H# \$ ?( A0 S
  1409. [browscap]' G$ n8 K* d$ z# h
  1410. ; http://php.net/browscap4 q; [% k+ q% Z! m. F4 |
  1411. ;browscap = extra/browscap.ini
    1 w: U. t& o) o# ^

  1412. : \( i* i# _7 E$ q! J7 t( J
  1413. [Session]
    3 |) v7 j1 g* ^7 J4 O
  1414. ; Handler used to store/retrieve data.2 K! {2 J2 p; R2 e, C
  1415. ; http://php.net/session.save-handler" }) z5 v3 @! s8 g
  1416. session.save_handler = files+ p! K; v; {7 ^. s0 y, n6 u1 i

  1417. 5 ]' H! R" S" O. e; W
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    0 M' u5 `1 C9 F
  1419. ; where data files are stored. Note: Windows users have to change this+ E0 H* }6 c6 \+ y- K  V& f: f
  1420. ; variable in order to use PHP's session functions.. z8 p# h  r2 Q
  1421. ;
    0 }, J, y0 ^' o. ^7 w3 u
  1422. ; The path can be defined as:
    ; O2 s) K' z& L3 U/ |/ S! s
  1423. ;
    " j( h3 t8 B# T$ X+ C' p9 I
  1424. ;     session.save_path = "N;/path"
    ) p6 B  W- H/ L6 K; d9 d& g, \
  1425. ;7 `/ o8 U3 W% Z  h7 |8 ^7 b: c
  1426. ; where N is an integer.  Instead of storing all the session files in
    ! p% y; b* {4 `) q8 j' h3 W9 F
  1427. ; /path, what this will do is use subdirectories N-levels deep, and) Y2 C, H0 ~6 z
  1428. ; store the session data in those directories.  This is useful if
    # F: I4 T" [3 i8 G0 a. j6 O7 u
  1429. ; your OS has problems with many files in one directory, and is
    9 Y) `9 n, D+ _: u! p; h9 z0 |
  1430. ; a more efficient layout for servers that handle many sessions.
    2 ^7 }4 C7 R- ?5 _3 v
  1431. ;
    : h4 I7 s; m- @% {, d
  1432. ; NOTE 1: PHP will not create this directory structure automatically.5 `/ P7 j# M% [! R+ l
  1433. ;         You can use the script in the ext/session dir for that purpose.6 E9 v' u' `) D( t: C; |
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    5 O2 P$ ^0 V7 k3 M3 [7 F
  1435. ;         use subdirectories for session storage  ?+ |, `5 f2 ]! J
  1436. ;( E1 ^+ {$ P9 V, B5 y8 D" C9 j' K
  1437. ; The file storage module creates files using mode 600 by default.0 Q$ x# p! [0 K$ i
  1438. ; You can change that by using# ~- q, L* _* ^) M  n
  1439. ;  ^, e. g5 B0 D' |, V3 b2 n1 ]+ M
  1440. ;     session.save_path = "N;MODE;/path"
    * U" ^" y; B$ ^7 ^5 {
  1441. ;2 b- z6 H0 d" ]. Q* \& H) f
  1442. ; where MODE is the octal representation of the mode. Note that this" |# z+ Y- e* g
  1443. ; does not overwrite the process's umask.
    5 H* y; A5 l' Z. j
  1444. ; http://php.net/session.save-path. o, w; }- R& U: W7 e: W3 H3 j
  1445. ;session.save_path = "/tmp"4 N8 n" d( H, G0 J" e1 ~
  1446. ; f6 T, q$ h0 a$ L' e7 @4 a6 U
  1447. ; Whether to use strict session mode.
    ! Z7 i$ r* Q' ~7 R& t* F& ?
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    ! m0 Y7 Y. e" y- g4 q% N( ]
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    " {" h$ z* t1 o& S+ F
  1450. ; applications from session fixation via session adoption vulnerability. It is
    + c; _5 v: A1 y; a  o
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    1 c2 Q3 |$ b/ X8 c4 B0 h
  1452. ; https://wiki.php.net/rfc/strict_sessions
      ]- `1 T, V0 J' x/ J( F
  1453. session.use_strict_mode = 0
    : R9 y2 ~0 A/ b

  1454. 6 n/ y% ?0 E! ]; ~9 d
  1455. ; Whether to use cookies.
    ( ]' e; J  W+ z$ q8 V
  1456. ; http://php.net/session.use-cookies
    ) C+ ]4 k0 o7 d, G9 B
  1457. session.use_cookies = 11 u: _( `$ A4 ?! a; p; ^( a

  1458. ! g5 E0 m! _  v/ u; _
  1459. ; http://php.net/session.cookie-secure
    " }, m* }/ u: ~0 {
  1460. ;session.cookie_secure =
    3 E! l8 i, a3 n- o/ M( A9 `

  1461. * W. T4 G( O! Z; z& q' X6 O0 X$ S
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    6 `; |6 i9 X' l* p% J; D9 l1 n
  1463. ; the session id. We encourage this operation as it's very helpful in combating- C& ?3 I+ K; n) C) |) y; J
  1464. ; session hijacking when not specifying and managing your own session id. It is
    3 p( T" J( t. W* j
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    . e. d1 O5 u; i- [4 q7 `
  1466. ; http://php.net/session.use-only-cookies
    # L2 A$ ^# }+ y& K2 d0 ~2 w
  1467. session.use_only_cookies = 1
    & I+ r3 l( t& q$ K9 H) i
  1468. " a% j7 Q: {; X, s3 }# ]; ~/ _% h
  1469. ; Name of the session (used as cookie name).
    9 s& |' K4 U8 w9 T. o' O
  1470. ; http://php.net/session.name
    # {, O2 R  s7 X) s2 k% q0 z
  1471. session.name = PHPSESSID+ u4 e. u" m, `! `1 d- R+ U* i

  1472. ' ]# w9 _! ^+ \" K  v
  1473. ; Initialize session on request startup.# y3 p0 y- C6 t" J; L( d
  1474. ; http://php.net/session.auto-start1 h6 @9 l& T, A' k" k# \3 E
  1475. session.auto_start = 0
    % f: b  ]9 i2 @+ u' ~/ ^% G4 @9 S: C
  1476. - n1 `' B, d% ]: i
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.! |. c  Q; ?4 c, u- R; s; \& f
  1478. ; http://php.net/session.cookie-lifetime* w; h7 Y! N# x8 X$ [6 O! F
  1479. session.cookie_lifetime = 0; e7 i) F8 h, u" K  b5 ^
  1480. 7 G( r; I6 z0 [0 |2 [2 G' r8 p& H
  1481. ; The path for which the cookie is valid., s* k5 b2 w0 f& A1 K
  1482. ; http://php.net/session.cookie-path9 B  f+ N7 L8 U5 r% }8 A$ g
  1483. session.cookie_path = /+ i2 W( e( a$ n! b7 @
  1484. " G% i" \. p& g" O* ^3 X, z
  1485. ; The domain for which the cookie is valid.
    1 j& j" F7 V; I) E8 w
  1486. ; http://php.net/session.cookie-domain
    3 i* Z6 ^* \+ q. W
  1487. session.cookie_domain =) T& J( p5 V) w$ Z" J

  1488. ! p& f$ ]4 y2 x
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    2 C( m* k0 n- j, d2 K; P& L
  1490. ; http://php.net/session.cookie-httponly; a- g( s# r0 |  f
  1491. session.cookie_httponly =8 }/ C6 S8 X& g3 T- |3 L0 P

  1492. ; O9 Q' e' f$ q/ e/ u& o
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ! m1 l+ F1 W% N$ D& l+ g
  1494. ; http://php.net/session.serialize-handler
    : Q* H0 E! k  H0 d: N6 [
  1495. session.serialize_handler = php: L( [& @3 S/ [& w5 K: I, f* X

  1496. ' j% V2 `. ]' j. P
  1497. ; Defines the probability that the 'garbage collection' process is started
    ; H) l, G) E% W3 S9 |
  1498. ; on every session initialization. The probability is calculated by using
    9 W, Y1 u) m1 D" Q0 M2 d' f$ y
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator1 L6 m& e! ^( z1 N5 c
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    1 q2 O) ~; A$ y' r2 c) o+ n5 X- R
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    * T, D- |  o2 ~& B+ r
  1502. ; the gc will run on any give request.
    : v1 d3 _, K% C8 P
  1503. ; Default Value: 1
    6 ]1 k- \8 ]( t' h7 Y& L5 M
  1504. ; Development Value: 1  P  {+ J  T% b+ m
  1505. ; Production Value: 19 b- ^1 P) a* B8 x
  1506. ; http://php.net/session.gc-probability3 A7 Z* S- Q9 {" W( ~2 K6 f
  1507. session.gc_probability = 10 X9 F% h# h  e
  1508. $ ~7 O* v2 r5 z. L8 x9 r: G) _
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    ( X' ]! J7 i% O
  1510. ; session initialization. The probability is calculated by using the following equation:
    # T) t# u* `$ |" V" {+ p7 ]
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and% j' O, v9 t% T  J0 P% Q* C
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1! q1 u; c% V: `
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ' J0 V$ Z; |4 [) ?  T8 r- j
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    , N( k5 `) \$ S: I
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
      u1 D+ c# e# Z! B
  1516. ; this is a more efficient approach.
    , a5 i; n: P9 B
  1517. ; Default Value: 100
    $ [) q( N9 E( R; r! B" _
  1518. ; Development Value: 1000
    * z; W4 p: H0 K# o5 I4 ?* h
  1519. ; Production Value: 1000
    2 S: e2 K- p" T) }2 ^1 v" Q1 w* f
  1520. ; http://php.net/session.gc-divisor
    5 E) o" H/ G0 b4 f/ K# i5 Z
  1521. session.gc_divisor = 1000
    & N; X  s, Q5 ~3 F( ?5 D) w# D

  1522. 0 l7 M' [3 W+ i/ P
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    . h- K# o* q7 z+ h# ?9 Q6 B/ \0 R0 d
  1524. ; cleaned up by the garbage collection process.1 \0 F  E" R; }0 a% J1 D
  1525. ; http://php.net/session.gc-maxlifetime! v/ F9 d  r. v8 y- m0 j
  1526. session.gc_maxlifetime = 1440& A0 k/ v$ v/ m$ P2 [8 t
  1527. 0 _9 f6 H/ x! k8 [7 u* y9 v- M
  1528. ; NOTE: If you are using the subdirectory option for storing session files5 k7 d. ^! n$ w& R4 ]+ f5 s) {
  1529. ;       (see session.save_path above), then garbage collection does *not*" R4 G9 M2 T& [7 G/ J
  1530. ;       happen automatically.  You will need to do your own garbage
    6 O$ n) g) v7 d/ L: W8 _" J: q( b
  1531. ;       collection through a shell script, cron entry, or some other method.4 r4 X; j0 h' }2 T
  1532. ;       For example, the following script would is the equivalent of3 P  ^1 n( U) x
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ! \- Q8 B+ s5 t& b7 y
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm) y9 |' m( q% O" Z7 [" `
  1535. 1 T2 @9 R/ ?' C8 |
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids." K% I: g  `/ Z
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    ( h  K* L0 N+ g8 J9 e- t( D
  1538. ; considered as valid.0 j/ Z, e& ^+ ~, P- H! u5 Q3 G
  1539. ; http://php.net/session.referer-check
    7 F1 u* f# o& P
  1540. session.referer_check =2 L( A, X8 U* u7 n! E5 g
  1541. , s9 n" G6 l; ?" }& v
  1542. ; How many bytes to read from the file.
    9 y5 r. x) G" u4 d9 R* y" m
  1543. ; http://php.net/session.entropy-length% t1 j" B5 S5 V
  1544. ;session.entropy_length = 327 e+ n& A8 C0 E/ W

  1545. " {9 y! X5 @) X' u  F
  1546. ; Specified here to create the session id.- [" r0 A: y+ j9 b6 k2 {
  1547. ; http://php.net/session.entropy-file+ N! a1 s' C. Y1 R( E9 k2 w& |4 j
  1548. ; Defaults to /dev/urandom
    / w7 M6 o- e+ B& w
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    , o5 U$ n( ]" Y; [6 \4 y
  1550. ; If neither are found at compile time, the default is no entropy file." b8 j+ ]9 T0 o# j5 n1 Z$ g
  1551. ; On windows, setting the entropy_length setting will activate the1 C& E, \. h; T: e9 P
  1552. ; Windows random source (using the CryptoAPI)' D, R! }' H0 X0 I! v
  1553. ;session.entropy_file = /dev/urandom* |) U) K  O/ n+ A  S

  1554. - s7 {/ X( ~- k# H; m3 B$ s  R
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    4 F7 b% q( Q1 B/ K- ?& m1 B5 V
  1556. ; or leave this empty to avoid sending anti-caching headers.! r( L5 a9 U2 M" {; f% D! D
  1557. ; http://php.net/session.cache-limiter
    7 B" w9 L7 F  _/ G0 n  R3 i  M7 ~# n
  1558. session.cache_limiter = nocache
    6 Q5 l- H! r& L
  1559.   P* D0 z; H! ~: ^# N9 w2 E( f
  1560. ; Document expires after n minutes.
    & x, ]  z1 _) _% ~. }+ C" a
  1561. ; http://php.net/session.cache-expire1 z# R2 P! z6 d8 _' u( b
  1562. session.cache_expire = 1800 u1 f) c0 h3 b' u1 o1 @6 s0 O& G
  1563. 3 `2 g7 f3 C5 M" W
  1564. ; trans sid support is disabled by default.
    9 X! H" C/ k8 [; w! H7 G
  1565. ; Use of trans sid may risk your users' security.
    0 h$ b* _6 K$ T0 L7 h0 P2 Y2 {
  1566. ; Use this option with caution.9 D, G$ W- w5 a! J, G& [/ ?- T) F
  1567. ; - User may send URL contains active session ID
    9 {7 F( M' y3 e$ T6 b- b/ M
  1568. ;   to other person via. email/irc/etc.# i) u8 G7 |7 ]2 T5 `2 c; H
  1569. ; - URL that contains active session ID may be stored( A3 L, `% A! c! i8 ~% v
  1570. ;   in publicly accessible computer.
    % g- u8 b! t& D+ K) M
  1571. ; - User may access your site with the same session ID
    8 R3 f' v3 Q, |( c8 }$ G% t
  1572. ;   always using URL stored in browser's history or bookmarks.! J4 \- H7 e, {9 P  Y  R- Y3 t
  1573. ; http://php.net/session.use-trans-sid
    + ~+ D) r# K9 E, _
  1574. session.use_trans_sid = 0
    + s7 d  }0 J8 Z4 o2 }! B  h6 P9 u" Q. ~

  1575.   d  V; H* Y* D$ {
  1576. ; Select a hash function for use in generating session ids.1 D( J& g  a1 {* j7 n, f* \
  1577. ; Possible Values  {' V8 R) l. k8 A4 i& E
  1578. ;   0  (MD5 128 bits)
    7 M" B3 ?7 v1 t% _; n/ u
  1579. ;   1  (SHA-1 160 bits)1 G0 l1 D! x$ f8 N& V+ Z* }7 S0 }
  1580. ; This option may also be set to the name of any hash function supported by7 p+ w0 X% ~, G9 ?
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ! ?& F, ~8 ^- A$ A8 \% w
  1582. ; function.
    . p- K! l. |- Q; E) n* K7 {- H
  1583. ; http://php.net/session.hash-function
    % H6 r3 t) U; Y& b( f9 @
  1584. session.hash_function = 0! `8 G5 {% F2 I
  1585. # N5 y2 W7 ]6 n) W
  1586. ; Define how many bits are stored in each character when converting  k. P0 |, q: E& ]% W4 {9 s7 \
  1587. ; the binary hash data to something readable.
    7 w$ C# ?! Z; e- N) k( }
  1588. ; Possible values:
    + h6 L1 d: c! M& h# T
  1589. ;   4  (4 bits: 0-9, a-f)9 @* c4 X, Y; s8 I5 M
  1590. ;   5  (5 bits: 0-9, a-v)
    ) J- }5 p* ?* m! O/ A3 A. W7 C
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")6 x' N: Q( q5 i6 B
  1592. ; Default Value: 4
    ( y+ Q/ G* c; U- l/ t( i+ N
  1593. ; Development Value: 5( Q+ f2 e) F0 R( j9 J9 w
  1594. ; Production Value: 5
    8 N; Z, f# w7 }' T, S( E9 N% w
  1595. ; http://php.net/session.hash-bits-per-character2 m% C0 N9 @! W( A' @
  1596. session.hash_bits_per_character = 5
    + J5 B7 c( i6 [0 J4 h$ u

  1597. + t: V0 b, o4 X
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.% @/ Q5 r9 P$ D# W( `
  1599. ; form/fieldset are special; if you include them here, the rewriter will/ o& l8 T7 |! P
  1600. ; add a hidden <input> field with the info which is otherwise appended
    3 _0 N, y' ?# T/ c& g) X
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.8 K3 F. p. u7 K" d
  1602. ; Note that all valid entries require a "=", even if no value follows.) T  A9 S- I" E- B. Y2 A
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ( [! k) n) p3 d6 E
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      M" a, s! V! T/ w
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"; m2 a' I$ Q' D
  1606. ; http://php.net/url-rewriter.tags
    0 q5 J5 E9 {5 c3 U# g6 y, F
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"' u+ `3 N7 `% S, W$ G- |2 ]+ l4 `

  1608. ' d1 k6 N! f0 N' `1 ~( t: {
  1609. ; Enable upload progress tracking in $_SESSION( G. D2 o3 ^: Q2 f! W: Y
  1610. ; Default Value: On
    & M8 I7 _; D1 y9 f. H
  1611. ; Development Value: On! }) R3 i/ ]0 ?8 [
  1612. ; Production Value: On
    ' F7 U0 t- I4 @7 u* ]
  1613. ; http://php.net/session.upload-progress.enabled5 |% R- Q  C0 S. h6 o; e
  1614. ;session.upload_progress.enabled = On
    " g% T2 ?8 p6 \" y( X

  1615. 6 A4 [6 {4 s: {; a) o8 M7 I
  1616. ; Cleanup the progress information as soon as all POST data has been read* A6 j1 t  _, I5 T
  1617. ; (i.e. upload completed).
    1 A' ^* D. C! T  Z  s9 \* n
  1618. ; Default Value: On7 f- N! d* ~; e1 `) ?
  1619. ; Development Value: On
    : J* R. W) _4 P" W9 e) Y+ ~
  1620. ; Production Value: On
    8 ^$ `' Y* B3 ~. w5 H
  1621. ; http://php.net/session.upload-progress.cleanup( o1 d( _7 c- h. b/ l5 \
  1622. ;session.upload_progress.cleanup = On8 C' H6 W7 g& X' X# D$ \
  1623. - R6 Y  [3 l3 p% I
  1624. ; A prefix used for the upload progress key in $_SESSION
    2 c* }  x2 y3 w& v* x+ J- \  y4 f
  1625. ; Default Value: "upload_progress_"
    0 L9 m5 Z7 \6 f4 r4 o- T
  1626. ; Development Value: "upload_progress_"
    & x. r/ B( Q* A2 J) ~; ^
  1627. ; Production Value: "upload_progress_"
    1 T4 c; [' u1 ?
  1628. ; http://php.net/session.upload-progress.prefix
      X5 A' l+ x+ \2 b  |6 v# N9 r
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ' b9 s! j  [( o3 T, A0 d$ T

  1630. : I3 R( W  R, L" O" X. C
  1631. ; The index name (concatenated with the prefix) in $_SESSION( Y0 i& A% s9 Q+ M% |- g3 u. t
  1632. ; containing the upload progress information$ O  T+ A3 Q/ V9 F- Y
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"1 Q6 B9 I7 B4 J# s& B! b( ~; d" a7 ~
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"8 f5 v0 z. ~) O- R4 _( t1 ^
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    + d0 m! V) _7 Y! A* _1 y
  1636. ; http://php.net/session.upload-progress.name
    + \, r6 `7 {3 B& A
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ' A* k" o  f0 P3 f0 d

  1638. 8 `+ j- e. K* l
  1639. ; How frequently the upload progress should be updated.
    ! _( s" x  W# b/ r& z& A6 \# m8 n8 `
  1640. ; Given either in percentages (per-file), or in bytes
    - Y; F" [5 w6 O# y( |+ G5 A
  1641. ; Default Value: "1%") R; m2 D2 i0 Y2 ?* H$ p
  1642. ; Development Value: "1%"$ u0 n6 M4 m6 G" ~* z7 f
  1643. ; Production Value: "1%"' E" w$ H5 W/ E5 I8 x7 X
  1644. ; http://php.net/session.upload-progress.freq- H3 y3 ~1 x; B. H9 h5 @
  1645. ;session.upload_progress.freq =  "1%"5 c+ K9 e& f4 B  Q+ V/ b

  1646. ) F- F- q( U8 K( F) `8 ~  {
  1647. ; The minimum delay between updates, in seconds
    " k5 ?$ Y' f; c; D8 a  Z% Y
  1648. ; Default Value: 1
    " `, A! z3 q# J  P  X
  1649. ; Development Value: 1! d9 _1 Q  k$ \4 Y$ }
  1650. ; Production Value: 16 ?) c: [' f  W# r
  1651. ; http://php.net/session.upload-progress.min-freq. B: R7 F+ X5 \8 D" t% A& l" w; D  [/ K
  1652. ;session.upload_progress.min_freq = "1"
    9 W  G: i1 c: ?. o: Q+ C9 a% T

  1653. $ J/ u  `, a. M
  1654. [MSSQL]
      L/ c) f/ e8 L: t6 t
  1655. ; Allow or prevent persistent links.6 Y, N: B; [" T" a, S
  1656. mssql.allow_persistent = On/ N% n* p' Q7 O' P& F
  1657. $ R; D+ ~4 d- d2 `
  1658. ; Maximum number of persistent links.  -1 means no limit.& {, d6 i% E  r
  1659. mssql.max_persistent = -1
      o1 t9 E2 H+ H2 F3 h

  1660. ( N; D  }: D% n. }6 _* d& i
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit./ s" b' y9 \' d
  1662. mssql.max_links = -1' f: h2 G; ]% W9 F( [8 V( R

  1663. 3 C' o0 ?: S' p$ V6 F1 i. T: K$ T
  1664. ; Minimum error severity to display.
    ) i6 t/ b& E) P' v
  1665. mssql.min_error_severity = 10
    3 |- Y2 ^3 }4 o- P% t
  1666. 3 t8 r: j; T9 P
  1667. ; Minimum message severity to display.
    4 j* S3 i& R+ b6 L$ b: i, N
  1668. mssql.min_message_severity = 10
    3 ?2 B5 z  K: ~, G8 ?$ K8 _
  1669. , i2 y. V$ J1 ~
  1670. ; Compatibility mode with old versions of PHP 3.0.4 K( R7 f! f1 }5 A9 r
  1671. mssql.compatibility_mode = Off1 a- T4 j: ^+ r) U8 c$ b: o
  1672. 3 Z/ m9 o( L% C# j4 n) q0 X, k
  1673. ; Connect timeout- q* O. D" f9 p( ~7 _
  1674. ;mssql.connect_timeout = 5
    ' I* _3 {4 x8 ^$ d5 {& B1 U, ^& T* G
  1675. 0 `" F4 Y; F2 ^3 i) D$ h
  1676. ; Query timeout
    * [+ W+ a( p- N! y7 N
  1677. ;mssql.timeout = 60
    5 ^+ E% n& p. d0 u. u* c+ B7 f1 |! X# v
  1678. 2 c7 \1 X) U8 n. s
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    7 u0 {) m1 {6 }
  1680. ;mssql.textlimit = 40962 m1 p) _- ^5 B2 ]5 P
  1681. / M4 d7 c; e. Y6 m2 }( e% E- M
  1682. ; Valid range 0 - 2147483647.  Default = 4096.9 U) N1 {5 D6 |% Q0 B0 P
  1683. ;mssql.textsize = 4096! D- _9 g+ f) Q3 F  h* E- e
  1684. 4 P. B: \. ?+ I
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.3 h- ~1 J8 H0 U0 f1 X# |1 H+ J
  1686. ;mssql.batchsize = 0+ Z+ |4 J/ M: S& k+ g. [; D
  1687. 5 i2 i' C- k7 ?9 g5 W
  1688. ; Specify how datetime and datetim4 columns are returned
    . r  v, C2 [% C% W% D" o8 _* u
  1689. ; On => Returns data converted to SQL server settings: L/ _) G7 K. K0 E1 C3 X; M
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss* ^+ t1 d0 o" o+ r# R) l
  1691. ;mssql.datetimeconvert = On& i# T. h3 G  ^! T
  1692. 1 x( m3 o" k- M4 }* |
  1693. ; Use NT authentication when connecting to the server2 ^9 D0 `' T) y
  1694. mssql.secure_connection = Off. @% G2 {" ^) l9 W0 i- y

  1695. # F9 `) e: S4 {5 X. Q" C: n
  1696. ; Specify max number of processes. -1 = library default
    / ^0 c2 Z: i) z# k" e" i/ K& h
  1697. ; msdlib defaults to 25* M- {$ A' @% C! O, t6 u( C
  1698. ; FreeTDS defaults to 40962 S; `7 {1 I# H) ~
  1699. ;mssql.max_procs = -1
    % v$ i8 `! I" {& q

  1700. 2 T6 z. V! e; e3 l0 g4 B6 ^
  1701. ; Specify client character set.7 k7 q& e: N# I
  1702. ; If empty or not set the client charset from freetds.conf is used# C2 \5 P& d: E5 N8 I; e7 D) ~
  1703. ; This is only used when compiled with FreeTDS
    , m7 k6 n6 V* a) C& o" q) V4 u
  1704. ;mssql.charset = "ISO-8859-1"( _3 P2 _% f) e) ^8 s& W
  1705. * e8 ^! O# Q$ E
  1706. [Assertion]
    9 M" F( L& N( t7 b! f  t
  1707. ; Assert(expr); active by default.
    # M2 u/ c( `2 I* n
  1708. ; http://php.net/assert.active
    / P* m4 E- t* R9 Y
  1709. ;assert.active = On
    7 W1 i, C5 q' V4 l

  1710. # E. h+ I' S8 J! ^: b3 _/ Y
  1711. ; Issue a PHP warning for each failed assertion.6 F  ^0 _+ E0 D0 x1 R+ g
  1712. ; http://php.net/assert.warning
    $ _0 \7 \4 ~2 ]) ~
  1713. ;assert.warning = On* J% J+ V6 v+ N/ l$ p
  1714. % c" `2 N, m$ g' c- x
  1715. ; Don't bail out by default.
    9 E$ f/ J! Q' [/ i8 E: i
  1716. ; http://php.net/assert.bail
    5 }6 b1 t' K" z
  1717. ;assert.bail = Off
    # z6 y. M5 u3 s1 L! c

  1718. ) J- n' @+ t. P
  1719. ; User-function to be called if an assertion fails.+ _) c4 x* d. Z) n) A( C: b
  1720. ; http://php.net/assert.callback7 y9 `' L% C, z* `
  1721. ;assert.callback = 0
    3 H9 Y) B9 Q' [" P1 J8 x( y6 |
  1722. 7 ]( E3 k+ |1 {' {& Q
  1723. ; Eval the expression with current error_reporting().  Set to true if you want2 C5 F1 P1 O  w) Z! \
  1724. ; error_reporting(0) around the eval().
    7 Z6 {3 q: s5 R6 I
  1725. ; http://php.net/assert.quiet-eval4 N- I$ n# s+ E
  1726. ;assert.quiet_eval = 0
    " [/ b5 b. T9 N6 C. p
  1727. 5 g) ~3 Z) ?! c9 i- ^" t9 v
  1728. [COM]
    3 T8 o7 ^! J" m3 c2 w
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs4 J7 Z: r( l% C) I
  1730. ; http://php.net/com.typelib-file
    " V! K$ X( }, u% l8 E/ ?
  1731. ;com.typelib_file =
    1 T; L0 y) m# z& d$ T1 R
  1732. % J4 p! G. r4 l$ v3 D" l
  1733. ; allow Distributed-COM calls
    $ M% ]4 t' J; U: {$ J
  1734. ; http://php.net/com.allow-dcom1 A! y0 n6 N9 u# t
  1735. ;com.allow_dcom = true2 Q# W8 T% m( N9 s- X" y- z
  1736. ( ]( M; ^( ]! |! ]7 @- r
  1737. ; autoregister constants of a components typlib on com_load()
    ' J, h- I. ^! L; z
  1738. ; http://php.net/com.autoregister-typelib
    ; i) i0 A3 r& ]. ^$ B
  1739. ;com.autoregister_typelib = true
    * r7 z& x0 t1 K  B8 j) K. z
  1740. / a  L1 u, C7 L
  1741. ; register constants casesensitive2 |4 E; F9 w) h; ]
  1742. ; http://php.net/com.autoregister-casesensitive, z7 o" @: h. K' \  P8 B' e
  1743. ;com.autoregister_casesensitive = false6 z7 f) t  b) Y: V; H) N
  1744. * {8 j, j$ v3 k0 m& A& g
  1745. ; show warnings on duplicate constant registrations( W; ?+ [1 _( M2 _) Y
  1746. ; http://php.net/com.autoregister-verbose
    ; Y$ O0 y7 U3 n6 s  U
  1747. ;com.autoregister_verbose = true
    1 U. R# {: ?: Z: y
  1748. , t  I! J* Z) n3 w# E
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    8 _! }1 F. o5 L) W
  1750. ; Default: system ANSI code page$ N) l% S, ^0 r2 p; d2 {
  1751. ;com.code_page=' X# u* }, T9 p
  1752. * T0 y0 Z2 N7 |/ i
  1753. [mbstring]
    5 H" J/ F2 c4 B; h9 h  @* c: Z: }
  1754. ; language for internal character representation.
    * Z* k. f/ {& A* K, Y8 g9 @& L% z
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.( Z1 y9 b/ R: s- I
  1756. ; http://php.net/mbstring.language
    " q' A# _3 U' N- J, T; j; |6 }
  1757. ;mbstring.language = Japanese
    . _% w& W0 Z, G- I# |
  1758. : E9 R; g, V) t
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    9 E: z8 H" i8 m
  1760. ; internal/script encoding.
    9 M8 l5 F" P8 P& [0 k4 n
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    + }2 X7 [* L3 Z4 _( [. |% M2 s
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used., d) r. T" W1 T/ m7 b* Y/ v. h6 p
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    " X0 q+ ?1 w9 D; f& F4 s* h
  1764. ;mbstring.internal_encoding =
    * t0 y( w! v1 B; }/ A
  1765. 9 r+ |8 a% x6 `3 z- K
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    4 A$ C  O, f, z  d% ~+ P
  1767. ; http input encoding.  A$ j; o: m4 t
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    2 F# k) t7 |  |- P& u( M
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.3 i$ ~6 c! }! B- j# \# R
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input* Q. X+ R$ p% M
  1771. ; http://php.net/mbstring.http-input- K; F8 g, _" c8 _: {; q/ U0 l
  1772. ;mbstring.http_input =  ~; Z( p: Y' Z) p
  1773. 0 B3 a1 \* q; f# [! D  \* x* m1 I
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead./ F+ _3 g' `( Q" A% w6 k" }
  1775. ; http output encoding.6 W; \* F# k% ]/ I) \' p
  1776. ; mb_output_handler must be registered as output buffer to function.
    ! E7 }1 k, r1 D
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.0 c# r3 m# J. K$ f
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output9 m( D) t4 i% X0 T0 q* ^0 |
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    # e. Q9 d! ]$ H0 ~( [2 k6 q
  1780. ; otherwise output encoding conversion cannot be performed.
    $ m, Z6 \6 I; M: S# X2 u, f" Q% c$ x
  1781. ; http://php.net/mbstring.http-output2 T& W. y7 R9 }' D
  1782. ;mbstring.http_output =/ `; ~1 a7 G4 U  F
  1783. $ j$ q: l/ X4 O8 X2 S
  1784. ; enable automatic encoding translation according to+ V" d5 o0 t3 ?  e
  1785. ; mbstring.internal_encoding setting. Input chars are
    1 |1 Q' u* Q  Z! s$ q" ~% c& [% H
  1786. ; converted to internal encoding by setting this to On.. d; T; Q9 G* p
  1787. ; Note: Do _not_ use automatic encoding translation for
    & y' u, C2 O* ?! B6 r; I( D
  1788. ;       portable libs/applications.5 _3 x" W, m6 u, Z* ?2 Z* u- p
  1789. ; http://php.net/mbstring.encoding-translation- ]" v  g% V# \& S! e7 m* m$ |
  1790. ;mbstring.encoding_translation = Off2 [6 [' J: K+ `& K$ R$ [- {8 P
  1791. " _0 _+ x9 y; _- v% A1 D
  1792. ; automatic encoding detection order." I6 ~+ ^4 T% m: U
  1793. ; "auto" detect order is changed according to mbstring.language
    " Y9 _+ O3 [: r
  1794. ; http://php.net/mbstring.detect-order
    9 p  M# q+ X$ i6 z$ z0 y
  1795. ;mbstring.detect_order = auto
    6 w! D) \3 D2 h. J$ `7 w& s

  1796. % e2 {# E: Y; i
  1797. ; substitute_character used when character cannot be converted" i6 |( g# q+ @* r
  1798. ; one from another% U. v! V2 \: G# @  m
  1799. ; http://php.net/mbstring.substitute-character  ]& O% \5 _/ z$ C- u* ]8 m
  1800. ;mbstring.substitute_character = none
    7 S. C! u6 V1 Z5 {1 ?
  1801. / [* B2 m. I: P8 K' j
  1802. ; overload(replace) single byte functions by mbstring functions.8 e4 D/ q2 |5 V# s5 e7 T
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    6 h* q4 W8 U  I. u# X4 o
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.7 G# d0 g2 g# v3 r2 @0 S' @! X$ z) b
  1805. ; For example, 7 for overload everything." L2 h4 Z; Y1 F0 i6 x. U4 N# D
  1806. ; 0: No overload2 s7 z6 |9 ^( o  S, @7 f2 m5 g  _
  1807. ; 1: Overload mail() function
    + s9 a# Z5 o4 U1 ^
  1808. ; 2: Overload str*() functions0 R$ v; Q/ `" V+ w/ i! d
  1809. ; 4: Overload ereg*() functions1 e# y/ S$ N2 t; h% J
  1810. ; http://php.net/mbstring.func-overload8 N8 D' R5 m* o7 ~
  1811. ;mbstring.func_overload = 0
    4 `! Z: i" E0 f. h9 ?7 j, o

  1812. " t+ |  j  W9 B
  1813. ; enable strict encoding detection.+ O" e5 G' I' U8 p' K: Q& Q& S1 T. M
  1814. ; Default: Off
    5 }1 |% n3 f' q, n4 F
  1815. ;mbstring.strict_detection = On
    4 o6 @$ q3 v/ {7 ^( b
  1816. 9 z/ z7 [! `1 G1 @2 u/ B
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    6 W1 o& x! x4 ?% Z. D+ ^7 U
  1818. ; is activated.( k( ]' Z4 c6 R- K. p2 @. v
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    & ]( v: r+ M5 J( D
  1820. ;mbstring.http_output_conv_mimetype=9 k5 w( m/ R3 Q5 g) R# q" I4 X

  1821. ' _0 ~6 v" \% T
  1822. [gd]6 W' V( t# V# ^7 @1 ?  D) j
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    # o* i# ?" I5 q/ z
  1824. ; a gd image. The warning will then be displayed as notices
    ' U+ S" K, @! S9 t5 ]  ^" Z
  1825. ; disabled by default6 Z/ [0 h  a8 a1 `
  1826. ; http://php.net/gd.jpeg-ignore-warning' ^) R% j* B2 K
  1827. ;gd.jpeg_ignore_warning = 0. l6 D9 Q( |; R) K# W" R2 Y7 w
  1828. 8 x5 M4 d' x" v0 y' M! n
  1829. [exif]/ t1 V( o- Z. h$ _, _
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.$ S  j6 P  N( ~. e) X7 [
  1831. ; With mbstring support this will automatically be converted into the encoding
    7 C6 u& Y% M: {5 M+ ]7 j4 f
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    5 t- z$ W8 E3 x1 {* F  ?
  1833. ; is used. For the decode settings you can distinguish between motorola and
    1 y2 ]9 ~$ G- {! n& n( L, {
  1834. ; intel byte order. A decode setting cannot be empty.
    5 S. A- [0 x5 L$ J6 @) Z. M0 w
  1835. ; http://php.net/exif.encode-unicode% ^' L5 f1 {3 y& i, r, }
  1836. ;exif.encode_unicode = ISO-8859-15
    7 X8 h; ?0 W/ }8 C7 s: N- o  |

  1837. : W! y- \8 Q% A9 O) x# S( v
  1838. ; http://php.net/exif.decode-unicode-motorola
    9 p$ R+ @, _! y& e; A
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    0 x) @% @8 c7 o7 |* Q
  1840. . d1 L, Z% Y) k! }' A2 J
  1841. ; http://php.net/exif.decode-unicode-intel1 X& m, {( }6 ?4 [" y
  1842. ;exif.decode_unicode_intel    = UCS-2LE/ Z- l5 s" V" O5 x7 X4 |; S# x

  1843. ' p9 A% _, A9 Y/ H- l2 K, j& X$ N$ ~! b5 O
  1844. ; http://php.net/exif.encode-jis' Y1 p6 o  `9 |  p, ]1 g; P& _
  1845. ;exif.encode_jis =
    . |+ T: N$ k6 d  C) f1 p

  1846. 6 G9 G: P1 B$ {  u! C8 q
  1847. ; http://php.net/exif.decode-jis-motorola0 o# K. f: ^) b0 {7 C* l
  1848. ;exif.decode_jis_motorola = JIS* x8 S& J: o7 H& a) _9 d. c
  1849. 4 [5 v" x" T+ J8 F
  1850. ; http://php.net/exif.decode-jis-intel
    : V1 c# {) J: s1 q# I
  1851. ;exif.decode_jis_intel    = JIS
    / R- x- o8 l8 @3 B

  1852. 3 K3 z" g* W* y) U4 s
  1853. [Tidy]3 Y, a* u* J4 t/ |( Y
  1854. ; The path to a default tidy configuration file to use when using tidy- R' `0 Y( m' |2 C& `% A, ?: C
  1855. ; http://php.net/tidy.default-config  l% P8 D$ w9 b5 q4 z& B$ g6 ?
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg: O+ s3 i7 Q$ ?7 ^- L9 o

  1857. $ V- O# X* p  w8 H$ W% ]4 K/ Q  g
  1858. ; Should tidy clean and repair output automatically?
    7 W1 ]. ^/ O7 i$ n5 i7 y# w
  1859. ; WARNING: Do not use this option if you are generating non-html content
    2 w/ a* \: v' j+ l
  1860. ; such as dynamic images) J" k" Z8 `( P, ]
  1861. ; http://php.net/tidy.clean-output
    ; T: X0 J0 |( n  r! ]$ p
  1862. tidy.clean_output = Off
    ! Y* R$ R) k4 D& p: Q; P9 G2 X: _

  1863. , E+ ^1 I( _7 {1 `9 ]6 K
  1864. [soap]; d; l: H' m9 @+ J) C
  1865. ; Enables or disables WSDL caching feature.
    1 E) P6 [+ K4 f, v
  1866. ; http://php.net/soap.wsdl-cache-enabled
    ) I6 D# @) T) {6 g) r
  1867. soap.wsdl_cache_enabled=1
    ( P; ~3 t0 b' {# m8 o
  1868. 6 i: o; l% Z- Q! _
  1869. ; Sets the directory name where SOAP extension will put cache files.! {) J# h6 U  d+ S& n
  1870. ; http://php.net/soap.wsdl-cache-dir
    . d* X3 v, h& [$ t) M; t% A) D  z8 ^
  1871. soap.wsdl_cache_dir="/tmp"
    / s% }: S, h1 w8 j' Q! d0 C

  1872. 7 ~1 o3 }; L, |0 I# i. _" \6 ]
  1873. ; (time to live) Sets the number of second while cached file will be used
    ( i& c2 G5 B3 K  N0 Q
  1874. ; instead of original one.: x0 b% f+ u* a5 i6 v, p3 ~# i8 p
  1875. ; http://php.net/soap.wsdl-cache-ttl
    / a, {6 J5 Q8 p. e9 x
  1876. soap.wsdl_cache_ttl=86400
    , _" `% w- a% T' n5 f  H& |0 G
  1877. 8 j0 a$ x$ H& v4 {+ v9 O
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)8 W9 r! |9 P9 H1 h
  1879. soap.wsdl_cache_limit = 5
    0 z+ u9 V2 b( ?0 s* t0 o
  1880.   b  n4 o7 P# v' d; [! D2 F
  1881. [sysvshm]) [% [' w6 H% {9 i; h' P) e
  1882. ; A default size of the shared memory segment
    8 ^, _2 r+ f: e9 \2 U& d
  1883. ;sysvshm.init_mem = 10000' |: c( g0 b0 B7 h
  1884. : o9 Z0 _& J3 }
  1885. [ldap]
    ) A$ e" P3 b+ Y+ a
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    # n) k; c2 x# u0 e
  1887. ldap.max_links = -1
    : f  J1 I' y0 J- [5 N0 u/ y
  1888. ) U; w0 j7 A$ D, ]' d
  1889. [mcrypt]
    4 w+ H; E( B& l5 u$ {  k/ x
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open1 b7 P! }" [) F# }+ y- k

  1891. 8 @0 n5 T  A* c1 b0 I# Z# _
  1892. ; Directory where to load mcrypt algorithms7 Y0 u3 \* Y% Q, J
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
      K* S; w/ X& g, ~% c
  1894. ;mcrypt.algorithms_dir=
    ! t( ~# H. Z. M3 C& j& n3 b
  1895. ! G6 f# b( `3 f" V/ u2 L* c  H$ f
  1896. ; Directory where to load mcrypt modes
    , s+ W! }) K' T1 A
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ! W; v! o( z, G& g+ N9 q
  1898. ;mcrypt.modes_dir=
    1 t6 \( G+ q1 I7 o
  1899. % Y# ^* r4 j+ A  @
  1900. [dba]4 z$ ^& Y% d# i( D8 i9 _
  1901. ;dba.default_handler=% R5 s4 g- ~- _! u
  1902. ) ]/ u- V. p* T
  1903. [opcache]) }7 M) b/ ~# M% s9 y- E1 p# R
  1904. ; Determines if Zend OPCache is enabled
    9 B% W1 G% ?& ]* `
  1905. ;opcache.enable=0* F: d# z* a1 h5 w* e2 {/ R
  1906. $ G$ L; ^0 f6 Z: J4 p/ @3 C; u  Q
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    - k' B9 _4 T, W# m, y) B
  1908. ;opcache.enable_cli=0
    6 Z' \& G$ I# c: c0 N, ~4 L% I/ d5 B8 d
  1909. : i+ ]; K0 N* F
  1910. ; The OPcache shared memory storage size.: d0 e! i. \; p7 ]! o4 W
  1911. ;opcache.memory_consumption=64
    5 j2 p+ R% c$ w* L

  1912. 9 L6 c3 Q+ A* f$ t" r* _
  1913. ; The amount of memory for interned strings in Mbytes.
    3 a1 ^# \5 ?( S! G: V
  1914. ;opcache.interned_strings_buffer=4
    - w# \7 Z9 E" [6 a# [0 T9 ^8 r
  1915. / N  ~) R2 S4 X# _1 ]  A
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.9 j3 m: U2 c. i2 ^; S; p
  1917. ; Only numbers between 200 and 100000 are allowed.
    7 |" A) I1 n0 v2 h+ M) y6 w
  1918. ;opcache.max_accelerated_files=20004 U& L9 C8 L1 u* n5 b
  1919. 0 ^( c! D6 D1 V
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.+ e( M9 h; T0 U
  1921. ;opcache.max_wasted_percentage=50 M5 s0 Z# L1 d) w( R; @& e

  1922. 9 N) a" g- \9 a1 H+ ^& ^3 a
  1923. ; When this directive is enabled, the OPcache appends the current working
    # M" [; \& u4 B" i6 P
  1924. ; directory to the script key, thus eliminating possible collisions between
    7 C( `) r) Z# c5 r: k; D
  1925. ; files with the same name (basename). Disabling the directive improves
    1 K+ J2 A9 {# p
  1926. ; performance, but may break existing applications.
    % L1 q: t  B% p# W9 u
  1927. ;opcache.use_cwd=1
    $ k: d9 I6 X7 ~6 H0 W
  1928. 4 H$ W- M7 C; x
  1929. ; When disabled, you must reset the OPcache manually or restart the5 ~% R8 I$ E# V* K
  1930. ; webserver for changes to the filesystem to take effect.3 j3 q9 S2 E; Q6 g) g- g" p( H
  1931. ;opcache.validate_timestamps=1
    & o* L# g/ F2 P

  1932. 2 u* S/ B9 p% q8 S$ ?/ [' X6 l+ M2 T
  1933. ; How often (in seconds) to check file timestamps for changes to the shared3 L9 m( P7 D1 i
  1934. ; memory storage allocation. ("1" means validate once per second, but only5 U- A+ _- @5 v7 L
  1935. ; once per request. "0" means always validate)
    & ?- V" Y4 R$ D/ M
  1936. ;opcache.revalidate_freq=2% o2 E* ^! i7 J& C* r" v

  1937. ! U& O/ A  Q8 \3 J: V, [! ~1 }2 y
  1938. ; Enables or disables file search in include_path optimization
    ( w  Y: q, r2 k5 A
  1939. ;opcache.revalidate_path=0) H6 s6 _8 m8 u7 y" ]& V

  1940. ) H1 q$ R# S. {2 n- H: x
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    4 t, d( ~* A# w3 N# c
  1942. ; size of the optimized code.8 z/ C3 x& S" U" b2 M) A
  1943. ;opcache.save_comments=1  z4 d1 C( ]6 V

  1944. + F: w& Q1 f$ a
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    , [3 P) X0 f" K3 V9 |% v: b& B
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ( A) w! Q* g" m+ e5 s% f
  1947. ; that don't need them anyway.
    . c4 v* V) c1 T7 b' x% E1 S. a
  1948. ;opcache.load_comments=1+ E! T0 X. |$ ]6 K4 d3 T3 t; C8 r
  1949.   }& m3 K8 [% Z3 _) s
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code4 a+ K. Q. F: B  }- b" w& d4 N1 D
  1951. ;opcache.fast_shutdown=0
    ) B4 j/ S7 [. l& v

  1952. * W3 e; t. z/ Y$ g! O( i6 c
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    7 r- B' o/ G1 V" A4 x3 Q7 Q& H
  1954. ;opcache.enable_file_override=01 E( Y/ L2 M  e- x; G
  1955. 7 `0 q  E8 A% }$ @7 O
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache2 }' r) \% G$ @* x4 O2 M; M; c" n
  1957. ; passes( d: z% [9 L1 H9 F, }. i$ A+ x
  1958. ;opcache.optimization_level=0xffffffff% _, T9 e1 C* ]
  1959. . w5 d; S/ |9 n
  1960. ;opcache.inherited_hack=1
    # M9 R- p& g) \3 C/ {# @
  1961. ;opcache.dups_fix=0
    ! U, O3 R7 G+ R  b2 A! R( c2 s4 H
  1962. ! J8 H& k% s9 \9 ^1 w
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    " n# c. R3 |% h0 X! z
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    7 G9 n5 B- @1 @! `0 P* U# x( \
  1965. ; that should not be accelerated. The file format is to add each filename
      G, K: \) q' |  N$ ?. o" d
  1966. ; to a new line. The filename may be a full path or just a file prefix( k3 d3 h2 V) h" X  R; V
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    : _( g. [& H9 k( `& c3 n2 C" T+ d
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).5 {' S! s; G2 W, x7 H
  1969. ;opcache.blacklist_filename=
    5 d+ z/ ^7 L0 J  O6 k3 e
  1970. 3 O" C6 W7 ]4 J6 x9 n6 Z
  1971. ; Allows exclusion of large files from being cached. By default all files; ~2 b; P$ S- j/ ?9 |
  1972. ; are cached.
    & L$ k) J. O* @2 ]: Q- e
  1973. ;opcache.max_file_size=0
    7 H- u/ R& ?) f
  1974. * `8 u1 Y1 o2 J1 x, ^( j3 d; F
  1975. ; Check the cache checksum each N requests.
    5 ~! V0 p/ t! o: P2 J8 X6 N9 d
  1976. ; The default value of "0" means that the checks are disabled.
      t+ i, V7 N' T% s
  1977. ;opcache.consistency_checks=0
    5 M; J( b3 l  b+ I
  1978. ( |5 P* ?; Q+ Z. c# R$ V
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    " G0 I' _4 x) K" t, K5 W' a" [1 ?
  1980. ; is not being accessed.
    9 d2 L, ?. n2 o7 i3 ?8 w7 F
  1981. ;opcache.force_restart_timeout=180
    3 |2 D/ K5 e. b" O8 U1 j

  1982. 0 B" P$ y' i0 Y" J
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    % y3 |2 v! R! {; t  o2 W# c4 e" L
  1984. ;opcache.error_log=& H* o5 U2 `% C" ^
  1985. 4 T; ?$ X' F$ i
  1986. ; All OPcache errors go to the Web server log.2 N  M0 m7 Y" V+ _- W
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    / Z/ E% J2 i3 V& q- \7 g% D
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    - t% S( X/ ^6 M% _. P
  1989. ; debug messages (level 4).
    # E  K. l! e! V; ]
  1990. ;opcache.log_verbosity_level=12 Y$ L8 s: I3 v5 u% ^' x

  1991. 9 G* I9 i3 B5 D5 J
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.  A) m9 P6 K% J: Q( U5 a
  1993. ;opcache.preferred_memory_model=, U5 D7 E( K) d$ I6 T; V& Z% U

  1994. - r, x. w' K. W+ j4 N2 m, b9 d
  1995. ; Protect the shared memory from unexpected writing during script execution.2 r& q  O3 \0 p! Q
  1996. ; Useful for internal debugging only.+ P/ U1 u& [0 o4 u9 Y' `  G
  1997. ;opcache.protect_memory=01 t( ]" V; S0 x& c8 U& O: d
  1998. " Q) R5 s4 |0 Z
  1999. ; Validate cached file permissions.8 i: {$ N( c3 c+ d# W/ y7 R
  2000. ; opcache.validate_permission=0
    3 p  }$ d1 n1 Q  J
  2001. " J% z2 J& M+ R) c1 z' f; W
  2002. ; Prevent name collisions in chroot'ed environment.
      R" v; B* B3 r! m" E' k
  2003. ; opcache.validate_root=0
    2 r; x! W# C! K' k. l. b
  2004. & ]( b/ Z5 O' o! }. v" t
  2005. [curl]3 y6 J2 }2 E: e  v7 {
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    + E1 p7 a! w' F; x, K
  2007. ; absolute path.
    5 t$ f1 w1 F# J
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ! V; a* R3 _/ |6 x

  2009. ( @# V# T) M% q0 E2 R
  2010. [openssl]* y0 B5 Z0 _2 g4 G4 R
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    + ^, p1 P3 e' P& J3 X& h3 O: \
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should0 b0 a0 t, }5 C' ^: i% P7 H- D9 F
  2013. ; not specify a value for this directive as PHP will attempt to use the" c6 h7 J" |& A# f$ r
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    * V- G- m- L. I2 _
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context% b( ^" M4 A  {
  2016. ; option.
    ) p! A/ U+ ~% W8 C9 Q
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt, \: \( |, S& m& x) S2 w

  2018. . B# U0 q  F7 |8 s* q
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    1 p& w* e9 R. x* q6 O4 z$ S
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    ) L. O" s% Y8 ]( p. j  n7 I1 d
  2021. ; certificate. This value must be a correctly hashed certificate directory." ~  g$ k& H) `" ]7 q0 E
  2022. ; Most users should not specify a value for this directive as PHP will
    ' W" M4 z, l+ R( I, D: E7 O
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,. \/ R* p! I  H5 a
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    - O: c6 S! o" \: E4 U! x
  2025. ; SSL stream context option.% j7 ~; W# _) r/ e7 B# n
  2026. ;openssl.capath=0 ?$ _' u" w1 x/ ]2 A

  2027. 3 P5 U5 v' C4 X! u9 _
  2028. ; Local Variables:
    * r- Y+ C4 V6 x: U; \
  2029. ; tab-width: 4
      N* J6 n4 q- g
  2030. ; End:6 ~# K9 s; G& _6 e
  2031. 1 \' {" B9 J9 ~
  2032. ;eaccelerator5 i7 G% o$ y0 A8 [# z6 e# w- ?

  2033. " o* l; Z3 e2 b. c" V8 }1 l
  2034. ;ionCube" o& p  {$ V) \' P+ o0 v
  2035. ) E6 ^9 N  F( E+ l
  2036. ;opcache& t9 N  y$ V$ F% N5 ^
  2037. / M' g* w) Y# f
  2038. [Zend ZendGuard Loader]" O) N, Q4 K4 a& X. b. N( J
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    : q; `* j8 U# P: h
  2040. zend_loader.enable=1
    ( i9 S; F3 w- Y8 x( K/ F4 O
  2041. zend_loader.disable_licensing=0
    $ s; y1 }7 }6 K3 s. c; O
  2042. zend_loader.obfuscation_level_support=3& L, ^& W! N4 k
  2043. zend_loader.license_path=
    7 `. T' f8 z# `4 X
  2044. # a, Q3 x/ L- W. M  X2 t
  2045. ;xcache
    # e, Y7 t5 V! i8 V; d

  2046.   O; O/ [% j( @$ v$ d5 }
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
. k  o2 ?: C. v) K% o* w% [: |  k/ G) s4 z3 X
+ j& u; `% U$ s3 h
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
# i" a- d: V/ D; K1 Z5 y7 B5 ^7 F0 Z
8 {$ \0 u8 U1 N/ o3 Q) S9 MDiscuz!程序版本选择:# k* V. S4 ?0 b8 |& e
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
5 g1 ~) s* I% V# u/ s不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:$ P  m' s: a1 z/ M, y% E" d
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。: d2 T4 B  U* f7 D- ~
  B- X+ }: w9 q: V; m* _
Discuz!插件模板版本选择:
, q( ^$ I$ n* h4 g2 D/ g$ Y很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,: K3 d  @1 ~' Z0 ?
针对这个问题做个统一的普及:
, z# X2 }0 a6 T7 n5 YX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
. C( S; {% n, [4 P
6 }! y6 C- a  e1 `  ?所以
) g+ @. U% B2 ~3 }. H1 F适合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的二级域名。! N  Q9 F7 ?0 ?5 m  h: ?
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。5 B' Z' F9 E6 X' p8 u) Y8 U( N
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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