分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0. g4 W  B  O' m% a
) [0 w' _. N7 |2 Z! V/ }: A
  1. [PHP]
    2 U) f9 y1 b9 U% G: s

  2. . j* S# K3 R( T3 O
  3. ;;;;;;;;;;;;;;;;;;;
    " c4 K0 R- q! `! \  M& E
  4. ; About php.ini   ;
    , u7 q% O9 A1 J' {! M% U
  5. ;;;;;;;;;;;;;;;;;;;$ U! J3 ~6 `# Z+ M( N1 Y8 \
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ' G/ U# f+ W$ F5 U
  7. ; configuring many of the aspects of PHP's behavior.# q& F9 h: ^5 }! H( n4 Z

  8. % n, O. t; k6 B/ |6 ~( u1 Y- ?
  9. ; PHP attempts to find and load this configuration from a number of locations.% Z& F9 K8 L  C& \2 @
  10. ; The following is a summary of its search order:- i! |, b+ d2 W: S* {% d
  11. ; 1. SAPI module specific location.
    1 f" v6 }4 y4 r5 S, o
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    & [& |) C8 |! \8 a& w0 p8 ]9 P
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    , R' m& z! V* S4 t
  14. ; 4. Current working directory (except CLI)/ t1 F3 j" l. c  I9 d1 _
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    2 g  U# ^5 L% w* Z
  16. ; (otherwise in Windows)/ A9 G5 P3 n/ _+ i* ?* i
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    7 x$ s6 ?9 t! D2 b* ]" M) [
  18. ; Windows directory (C:\windows or C:\winnt)2 [+ Z$ L; q  t+ u% j: @# Z3 s
  19. ; See the PHP docs for more specific information.8 C' u! \! B$ T8 u) E0 x
  20. ; http://php.net/configuration.file
    * M$ R& V" z* T' n, `6 z

  21.   e& _& }# e2 j) l5 G9 \/ t
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
      k# |' d# F9 {* \( @
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).! D, ]9 G$ V" D! Y+ Q
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    # |/ R7 l" S0 N: S) Z% I
  25. ; they might mean something in the future.
    0 ^* B" ]6 m5 f% s; ~# O$ ?
  26. 5 q1 x1 J2 }# {% e
  27. ; Directives following the section heading [PATH=/www/mysite] only
    7 x4 G. _1 H" V  d7 y# V1 y
  28. ; apply to PHP files in the /www/mysite directory.  Directives
      u6 ?$ [  G1 P$ y1 s/ X4 J* `7 O
  29. ; following the section heading [HOST=www.example.com] only apply to
    ( J+ v0 z4 s  v5 @
  30. ; PHP files served from www.example.com.  Directives set in these2 G, i$ A; g" @/ v) g# F
  31. ; special sections cannot be overridden by user-defined INI files or
    6 K% @) F- r+ _: j6 D
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under8 R- P, f$ o1 P8 F
  33. ; CGI/FastCGI.
    8 C' A, B# E2 `6 c
  34. ; http://php.net/ini.sections
    ) s6 K$ k& |  P# l2 \( @

  35. 4 r2 ^! j2 [  s/ k5 r: j
  36. ; Directives are specified using the following syntax:
    + ~- M/ M+ N; m% O
  37. ; directive = value8 i1 L6 Z; R, o
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.: Y7 @9 d% X3 e% l8 T& c6 E
  39. ; Directives are variables used to configure PHP or PHP extensions.1 \: R0 B& i- i3 b5 Y. t
  40. ; There is no name validation.  If PHP can't find an expected% N* F, p  ]+ s! ?- i+ X
  41. ; directive because it is not set or is mistyped, a default value will be used.
    # Q  q" D, P9 r4 E$ B8 e

  42. 3 M( l, l5 A9 |3 F
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    , Q$ ^+ I7 j- t
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ' _* ~$ B3 b. `" b4 O
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    8 a! c: R& [% q" A5 _
  46. ; previously set variable or directive (e.g. ${foo})1 V1 w0 u; \3 i) j9 k9 ?) H
  47. 4 U- y& c. D5 e/ M& O4 ~
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    " r! T5 p$ s! b- m. A
  49. ; |  bitwise OR
    / y9 C0 u, J8 ^1 S4 P- B) R
  50. ; ^  bitwise XOR
    ! S/ w5 F- a% C" z! ?0 z
  51. ; &  bitwise AND
    & S8 q0 l. g8 w# T
  52. ; ~  bitwise NOT
    # h( u6 A1 Q$ l4 f7 q/ u! B
  53. ; !  boolean NOT
    4 S& N, w. F7 O' P& B- R/ y; L8 d
  54. . m' p' a9 V+ [( y7 V
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.2 _" z* A, i7 B, v
  56. ; They can be turned off using the values 0, Off, False or No.
    # ]* X+ b% o8 D, @" s

  57. $ Y3 o8 |7 h* Y% v. v
  58. ; An empty string can be denoted by simply not writing anything after the equal5 B5 r- Y" H( u$ L
  59. ; sign, or by using the None keyword:' `1 T# f- W( I$ T2 p  X

  60.   }: Y, B0 c% w8 k% S
  61. ;  foo =         ; sets foo to an empty string- i: Q: H4 _& W/ \4 J4 X
  62. ;  foo = None    ; sets foo to an empty string! a! T) R, W" a; A5 y
  63. ;  foo = "None"  ; sets foo to the string 'None'
    / n* O) I9 d9 I1 Z4 A; k

  64. * C; u0 T0 Z) y6 u0 {3 z1 O  T; h
  65. ; If you use constants in your value, and these constants belong to a2 }1 |) I: H7 E0 J& {; y
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),5 ~; G: ]! k3 T2 x
  67. ; you may only use these constants *after* the line that loads the extension.
    ' a6 q. j. N& C9 X: i

  68. : s+ ?+ w6 s1 O& a$ Q, q
  69. ;;;;;;;;;;;;;;;;;;;
    / r, U/ Z* y" K% k( q
  70. ; About this file ;
    - g. d1 c! J' _  }* O, r: i
  71. ;;;;;;;;;;;;;;;;;;;
    8 `  @& o& M8 w9 y7 Q% P  s
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    # O/ X4 R4 s) Q' ?; [' Y* a
  73. ; in production environments and one that is recommended to be used in
      _4 F$ S; O( s" A( q
  74. ; development environments.: C2 k# \" s6 ]8 V& A3 n! i# O

  75. ; J( {. k! y- K2 C
  76. ; php.ini-production contains settings which hold security, performance and
    % x/ O9 x4 w- c* D9 S
  77. ; best practices at its core. But please be aware, these settings may break
    , L  w# _4 I( b# F+ i
  78. ; compatibility with older or less security conscience applications. We: V; X4 Z) {4 |. V$ v
  79. ; recommending using the production ini in production and testing environments.
    ! K7 A: \# y# V0 F0 W: L* r

  80. 8 U9 M/ i1 q. r6 J' d* h
  81. ; php.ini-development is very similar to its production variant, except it is
    . m, V4 u3 ]- z) |0 G. Q6 `) W
  82. ; much more verbose when it comes to errors. We recommend using the  t4 j" j% \5 V2 z
  83. ; development version only in development environments, as errors shown to
    3 ]  G* e# [4 ~7 m4 c3 D$ J
  84. ; application users can inadvertently leak otherwise secure information.( s, L6 N  C/ m
  85. : P5 `; Q8 x/ P. J+ D" r' d/ f/ H
  86. ; This is php.ini-production INI file., l3 X! @" z: l* f1 T1 P
  87. . j- e1 n+ o% `2 t
  88. ;;;;;;;;;;;;;;;;;;;/ S: Y" P  V* S* Y
  89. ; Quick Reference ;) \2 {7 p6 P: Q, R' w; l3 E
  90. ;;;;;;;;;;;;;;;;;;;
    5 I" j) u- ]4 _3 d6 v8 `
  91. ; The following are all the settings which are different in either the production  C, n( l0 g7 H2 m
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    . B) R) f4 O, j; L' H) g/ ~/ Y
  93. ; Please see the actual settings later in the document for more details as to why
      l: a- O% U% a6 l+ N
  94. ; we recommend these changes in PHP's behavior.
    " P/ n9 {8 u' V' M2 r8 ]& l

  95.   F& ^6 Y; R, Y( ^0 u, F- R, i
  96. ; display_errors# X% G# n3 P- a) g8 e9 ]
  97. ;   Default Value: On/ {2 V. g/ X( S
  98. ;   Development Value: On
    & @0 |7 h  J* q+ z9 n  Y
  99. ;   Production Value: Off# P" F- l% W, X5 @+ @$ x' {& X: q

  100. 2 o9 B8 Z9 H9 B/ [
  101. ; display_startup_errors
    ( P4 q% Z) |0 R- V7 G
  102. ;   Default Value: Off) _$ ~* [" w/ L, t7 {% r) {
  103. ;   Development Value: On
    ' _- b6 S, s1 F) @9 k
  104. ;   Production Value: Off- w  l$ i1 }% @3 A& ?& d' Z
  105. 1 x5 A# ^* I% t
  106. ; error_reporting" [$ y: n/ Z5 s. ^. C$ e$ Q1 V
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    / V( ~9 Y# t1 B, `5 k
  108. ;   Development Value: E_ALL! Y6 }* s) Q1 X5 @& C
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT; t6 E5 c- X2 m1 c7 f
  110. 2 O7 e! W+ `0 Q6 d
  111. ; html_errors7 k1 n& B) y& y0 R7 W' Z
  112. ;   Default Value: On
    ' D0 v% }! z# ^7 r9 E! Y& ]) U
  113. ;   Development Value: On
    ( D% j5 w! v- ~3 E
  114. ;   Production value: On
      I% d7 h: B/ P  h7 [+ F
  115. ' K# x6 U, I9 B, z
  116. ; log_errors
    3 J. h- E. s+ E: @4 L: d$ G' N% [5 f
  117. ;   Default Value: Off
    ' k* U  w6 ?/ {6 t
  118. ;   Development Value: On
    7 W5 ?; u7 _0 r# [
  119. ;   Production Value: On9 T/ J3 g. }8 ^& }% Z1 D" z
  120. 6 s6 ~! _% `5 S5 t( w, L
  121. ; max_input_time
    * R6 U: Y7 ?, ~: k# l$ ~1 p
  122. ;   Default Value: -1 (Unlimited)1 H* w7 g- a: ^% v5 w# a7 [
  123. ;   Development Value: 60 (60 seconds)7 D9 S8 u  }+ s6 M/ b: l2 U- z
  124. ;   Production Value: 60 (60 seconds)
    ) q0 h4 W) X6 t6 Q8 ^5 u: |6 e
  125. ; b6 {+ }9 |, b( k1 q
  126. ; output_buffering
    ) {  T0 S1 D1 Z5 U0 v5 N- u
  127. ;   Default Value: Off
    : G9 p; ?8 [; [- G  N( t8 y" i
  128. ;   Development Value: 40962 W, z" O: q" i5 Y  U# Z
  129. ;   Production Value: 4096" C3 t! `% t. a" U5 z
  130. $ x6 M0 c! v0 H' B! R1 ?. G
  131. ; register_argc_argv4 m5 C* E! b; ^2 Y9 W% F/ U
  132. ;   Default Value: On# d* g# e$ k8 Y4 H; N8 t
  133. ;   Development Value: Off( J: z  L. R" ~# h6 c
  134. ;   Production Value: Off
    1 `5 v6 O8 A4 N  C: X9 L

  135. ) O8 N# o% J# z/ u& s, y1 |
  136. ; request_order
    ; V4 c/ D2 s" c& t5 J, T% p; ~& F! O
  137. ;   Default Value: None) Z4 F% k1 m3 p% p7 c: X6 b! y
  138. ;   Development Value: "GP"
    " j  b5 ^' ]) }! o- x4 F; Y: Z
  139. ;   Production Value: "GP"" {0 F; X1 {) J: @5 N# T, _7 v
  140. . k1 E: a" T6 F% W, J* A- }
  141. ; session.gc_divisor- u! I+ T  N, b2 S
  142. ;   Default Value: 100( c' q  c) f. N: Y) b, a
  143. ;   Development Value: 1000
    % A) ]) @1 h) [; F6 B" l2 v$ {8 q
  144. ;   Production Value: 1000. O1 B3 f' \& o; b1 f

  145. ! K8 J' F# x4 B) f" U; C$ n* e/ Z
  146. ; session.hash_bits_per_character
    - t# i+ h8 g) p
  147. ;   Default Value: 49 E8 Z. p2 [6 b- F" _
  148. ;   Development Value: 5
    ' y" ]- z2 W% Q# w
  149. ;   Production Value: 5. Q! a! y9 e+ q2 K$ e+ _9 f
  150. * R0 \- j* C. T& |5 `& ~; D
  151. ; short_open_tag
    4 c( Q9 C, c+ c/ L7 Q  J
  152. ;   Default Value: On( D; K  p& J" g  C$ {
  153. ;   Development Value: Off2 g) L  f7 J. I9 c* L2 [7 L/ }
  154. ;   Production Value: Off
    ( J+ f( e7 C- L% W4 }* h# t
  155. ) ?! E  j% o2 C/ k# {- F
  156. ; track_errors; d: O1 s9 f6 d1 [0 A/ C- {
  157. ;   Default Value: Off& A6 X/ ^' [8 F5 k' D- ]
  158. ;   Development Value: On
    " g  N9 E" R3 r5 ^+ n! j' m
  159. ;   Production Value: Off
    , S1 K# @* n5 S6 t

  160. " Z/ M8 C7 g2 v: F
  161. ; url_rewriter.tags( a$ X$ ]8 }" y$ A8 G  {* A& ~
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="/ `& K* t. s# O
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . s0 R7 I* W, |; r4 b9 ^
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    " @8 g; V- B; _% y) k- G

  165. 0 _( B# @1 z5 @) D' v5 ]: S! i% I
  166. ; variables_order
    " z& w. S$ M& q) G
  167. ;   Default Value: "EGPCS"; A5 m- k* c. I# O0 A2 V
  168. ;   Development Value: "GPCS"
    6 ~: U9 {9 `$ X$ x3 M7 N6 A
  169. ;   Production Value: "GPCS"
    : M7 ]# `( `# l: v) T0 @

  170. ' s) S- v/ r! j
  171. ;;;;;;;;;;;;;;;;;;;;
    . m, O- r4 K& U, L
  172. ; php.ini Options  ;$ ]: J, b/ X( {
  173. ;;;;;;;;;;;;;;;;;;;;% _+ m( f  N0 H1 _% i# C1 |: q
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"7 O2 E* W$ L5 |- u+ b: H8 Z
  175. ;user_ini.filename = ".user.ini"
    2 e  m% J! O) Z
  176. ) m6 |# V7 ?/ H( u! p9 L8 a
  177. ; To disable this feature set this option to empty value- t2 F3 `/ A* [; L  w
  178. ;user_ini.filename =
    ) U7 a1 k/ D& o" [: ]. q& C

  179. * M& m7 D9 X1 I$ Y  S( @
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes); d6 Y5 u) M' _. N$ K
  181. ;user_ini.cache_ttl = 300
    ; F6 [' M5 M- l7 o; m9 y5 o

  182. ) v) O- U+ A  Z! u/ e7 H
  183. ;;;;;;;;;;;;;;;;;;;;. k4 C9 x+ q" S+ k  i% V( A
  184. ; Language Options ;
    - \, p3 l0 {5 _  t
  185. ;;;;;;;;;;;;;;;;;;;;
    . Q7 U# O' s3 U7 N$ G- N6 \
  186. 4 ~* @0 }" D8 {* B' j9 l
  187. ; Enable the PHP scripting language engine under Apache.
    / C. c! n  L: }2 \' ?
  188. ; http://php.net/engine4 T. b# s, }3 p
  189. engine = On; d2 s: M: i" g% Z  Y* O7 }7 V: [
  190. 1 [2 D! E  G4 B
  191. ; This directive determines whether or not PHP will recognize code between' X+ }' b0 _0 O- q% C5 B+ Y
  192. ; <? and ?> tags as PHP source which should be processed as such. It is) {4 W& n* z8 }  R
  193. ; generally recommended that <?php and ?> should be used and that this feature
    # l) j/ [# J' M2 B: \" p( w
  194. ; should be disabled, as enabling it may result in issues when generating XML
    & A* X0 v8 @, J
  195. ; documents, however this remains supported for backward compatibility reasons.% P" C7 e$ U: n0 v6 N9 K- n& C
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    * y" W% N/ l. b1 e) x* D
  197. ; used regardless of this directive.
    1 q9 S0 n. \) d0 p% S
  198. ; Default Value: On6 d1 i4 p- T, z  ^. z) j5 Y
  199. ; Development Value: Off0 G3 Q9 H$ k: k, ?7 H: r
  200. ; Production Value: Off
    # B1 s) W5 B7 {$ T. v
  201. ; http://php.net/short-open-tag- C; M) ?4 Q6 W* q4 m/ {: f$ V
  202. short_open_tag = On( A, p; J( j( u! L0 Z1 |$ V

  203. ' q$ Y8 B2 x0 i
  204. ; The number of significant digits displayed in floating point numbers.
    4 }( e$ R1 Z" i: V3 _7 a
  205. ; http://php.net/precision6 Q; [4 w. `" |2 v; f0 c/ o4 d6 i6 M
  206. precision = 14" I/ b, e5 O, y# Z
  207. : J1 P# p3 P$ ^" v, [8 X6 J
  208. ; Output buffering is a mechanism for controlling how much output data
    2 @7 f! V$ L/ w
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    - `5 D) l# g6 E4 T
  210. ; data to the client. If your application's output exceeds this setting, PHP
    & C8 i1 z! i- z. V: j- B
  211. ; will send that data in chunks of roughly the size you specify.* s& d; n8 K% \& o2 q& |+ l! K
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    " P: f: ~+ o; j! X
  213. ; interesting side-effects depending on your application and web server.
    $ d0 j* l) Z0 \
  214. ; You may be able to send headers and cookies after you've already sent output4 [2 S$ G; o. g$ _( w5 C
  215. ; through print or echo. You also may see performance benefits if your server is
    ' _8 ]7 @# L& M4 M9 q8 ]
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    6 R( x% G2 r$ a, @: n; ]  W% T9 c( [
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance" `( o- j2 Q" h+ x4 K4 G
  218. ; reasons.
    ) G9 s3 ]6 Z! |! G5 x5 J
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    $ z1 R( Z9 Z; _% @* k7 m
  220. ;   functions.. ~) M. v$ L9 k8 Y/ k0 h! D
  221. ; Possible Values:
    5 i9 P. W2 Q$ |4 x! v9 K8 T
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)  N3 C# ^, W5 u9 O$ G' I
  223. ;   Off = Disabled& u1 Y) a, M! ~8 l. Z7 `
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    7 b  x, _) ~% ~' ~
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    * H: V9 K8 A; ]" x5 K* ?$ b7 I
  226. ; Default Value: Off1 _/ E3 G7 f9 M' ~
  227. ; Development Value: 4096* n; x; X/ T( z/ U: U1 v
  228. ; Production Value: 4096
    ( k- }! w, n5 X9 \) R# l) M
  229. ; http://php.net/output-buffering  v  R+ E- u% {; D& T0 Z2 Z$ a
  230. output_buffering = 4096
    2 F8 N8 f5 R' W2 @! I$ V  @$ E- X
  231. + {8 L4 c2 [' W
  232. ; You can redirect all of the output of your scripts to a function.  For! z" ?( D$ C( ~0 v4 s
  233. ; example, if you set output_handler to "mb_output_handler", character5 t1 p0 B. s& H4 |7 }. ~# V
  234. ; encoding will be transparently converted to the specified encoding.
    * x# \9 N' E+ h& @: p8 V3 M; Y
  235. ; Setting any output handler automatically turns on output buffering.+ c* X+ E5 @2 t# Z/ X, Y
  236. ; Note: People who wrote portable scripts should not depend on this ini8 d. e7 i" k- s, F! d8 {& h$ T9 N
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    / Y( o. p: f4 D1 N- ]; q/ K  z& [
  238. ;   Using this ini directive may cause problems unless you know what script0 J8 ^, ^* Q8 K1 O. O
  239. ;   is doing.0 l4 v' e8 _4 ^! P6 c8 B
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    6 o; g- e, T! G- o
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
      {! Z, u7 s  A+ H5 k& g
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    3 ^1 j& d5 X& x6 b) w" a* `, G
  243. ;   Instead you must use zlib.output_handler.
    6 O  \' K& e% g9 Y% j  z  D* e6 H
  244. ; http://php.net/output-handler+ K3 x* M7 A6 d- y
  245. ;output_handler =
      h* V+ D1 S% ^% b( V7 A

  246. ! _' a! f" A2 `0 T3 Z1 K2 d
  247. ; Transparent output compression using the zlib library
    ) A# S9 ~# O5 X: y( n2 }" p+ o
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size+ A1 K% r2 J! a. O
  249. ; to be used for compression (default is 4KB)
    & M. F/ ]" J% Z' Y$ Y
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    & \/ M" R) |1 k6 w
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    : M2 g4 Y. ?9 I- h
  252. ;   compression. If you prefer a larger chunk size for better
    ' [' Z8 Z* y, N
  253. ;   performance, enable output_buffering in addition.) q8 \9 f) M/ t. g4 o
  254. ; Note: You need to use zlib.output_handler instead of the standard
    5 x: T* W( u  j) {% H; d# Z7 E
  255. ;   output_handler, or otherwise the output will be corrupted.
    * W- R2 p1 i+ G, U
  256. ; http://php.net/zlib.output-compression  I7 S$ @: P6 }: v. y7 x8 x
  257. zlib.output_compression = Off5 K* ?0 I- k" `  y6 c6 m6 h
  258. 0 D: |' \* u2 _" A+ |+ W* E8 Q
  259. ; http://php.net/zlib.output-compression-level
    & Y* `; f' y7 I" H
  260. ;zlib.output_compression_level = -1
    4 H0 I% T' b7 _" I4 \) l! H

  261. , D  ?( [% e9 y- Z+ Q5 s. ?" Y
  262. ; You cannot specify additional output handlers if zlib.output_compression
    - U( a" q7 r# N
  263. ; is activated here. This setting does the same as output_handler but in) s' K( v; ^- e2 H" F
  264. ; a different order.
    ( _4 g# b7 k" `* Y9 W% {
  265. ; http://php.net/zlib.output-handler
    , q; T4 m$ a& I" D4 f) m
  266. ;zlib.output_handler =; k3 ^7 i* H' _$ A+ t8 \

  267. 0 }9 a9 |' Y6 V& `
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    3 a! @8 H% a7 D: |
  269. ; automatically after every output block.  This is equivalent to calling the
    7 ?# g+ R/ }6 C4 e7 l; w
  270. ; PHP function flush() after each and every call to print() or echo() and each
    ( E: e' I/ C( Y/ X' A8 \
  271. ; and every HTML block.  Turning this option on has serious performance
    ' b4 A9 p( K: y: }8 Q' r2 f
  272. ; implications and is generally recommended for debugging purposes only.
    5 G" ~- [1 _8 z1 _1 ^6 i9 k( o& m; F
  273. ; http://php.net/implicit-flush' Y/ a$ B/ }! t& F7 n
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    5 t! q  S8 S( o% l; R
  275. implicit_flush = Off
    6 V/ _/ }! `/ G  n$ K

  276. " n& w& Y4 `2 G' {' e
  277. ; The unserialize callback function will be called (with the undefined class') M- z# Z! X7 R6 M
  278. ; name as parameter), if the unserializer finds an undefined class
    & M! P( I# h" @! t. S+ v
  279. ; which should be instantiated. A warning appears if the specified function is8 e% P, X4 y" i/ r9 L8 E* r* w
  280. ; not defined, or if the function doesn't include/implement the missing class.
    # x* \6 x% p1 d( s0 M
  281. ; So only set this entry, if you really want to implement such a
    - _- N( a! Q- ?( d3 O) o
  282. ; callback-function.6 G" s, A; d$ N2 B
  283. unserialize_callback_func =
    : R' X, L" l5 \- t5 G9 o9 \; ^9 |$ b

  284. ' Z& q  v2 T# y9 J6 {
  285. ; When floats & doubles are serialized store serialize_precision significant
    , B( \$ }( ?% G. J3 R
  286. ; digits after the floating point. The default value ensures that when floats
    % }$ V- ]" F. E8 L
  287. ; are decoded with unserialize, the data will remain the same.
    : m9 A- ]' d# ?
  288. serialize_precision = 17+ H* X4 N0 h5 A& P7 V6 ?; B0 [' e

  289. $ ~6 L: u" C% C# J3 i
  290. ; open_basedir, if set, limits all file operations to the defined directory
    % w3 R3 K/ @2 _4 k; Y
  291. ; and below.  This directive makes most sense if used in a per-directory
    4 X9 U0 ?( F) v( S/ M
  292. ; or per-virtualhost web server configuration file.
    ! y, \, y8 _/ c& r5 _3 S. \
  293. ; http://php.net/open-basedir
    ! a3 k7 ?; T5 j
  294. ;open_basedir =5 D1 S8 y. |) ^
  295. / T% C6 e- B- M4 i
  296. ; This directive allows you to disable certain functions for security reasons.( X+ z/ l/ E; Q$ i
  297. ; It receives a comma-delimited list of function names.: m! E4 o4 K9 u
  298. ; http://php.net/disable-functions- z% v3 b% I8 F. \1 j
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru; c, K1 Y- A0 A7 D
  300. 6 x* d- G0 W; R3 R* z+ a/ u1 t9 w
  301. ; This directive allows you to disable certain classes for security reasons.
    + v: W$ l, m' b  A
  302. ; It receives a comma-delimited list of class names." O2 q  d! m2 _3 i! G
  303. ; http://php.net/disable-classes  m$ {0 y8 _/ m& v
  304. disable_classes =! \  B8 Y1 d) L* C/ I

  305. $ X. J% `9 S( g$ @7 w
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in! ]  s$ o$ e, g
  307. ; <span style="color: ???????"> would work./ u6 q+ e" H, d0 q
  308. ; http://php.net/syntax-highlighting" W7 @/ @- }. t$ \2 t' ?
  309. ;highlight.string  = #DD00007 y! C1 Q" ^4 b
  310. ;highlight.comment = #FF9900
    # w: F6 u- s# d5 D
  311. ;highlight.keyword = #007700
    % P4 Y) P$ z: Q( V1 @! d$ t
  312. ;highlight.default = #0000BB; }. \: a+ s8 t6 Z2 u5 m1 o
  313. ;highlight.html    = #000000
    ; K1 R0 c& C2 [9 E$ Z9 G8 ?& b
  314. 2 v5 g3 v8 }# G8 N/ j* j/ r% n9 e
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    ; {4 _& ^* }0 V' J5 F6 k
  316. ; the request. Consider enabling it if executing long requests, which may end up4 c- h1 ^: ]3 W8 S6 Z' O* I  H+ S
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ! V9 m3 p9 q! |
  318. ; is to disable this feature.
    ' d, E" P5 B3 X9 ^8 Q& i3 I7 ~
  319. ; http://php.net/ignore-user-abort0 r0 a6 f% b- _# R& C
  320. ;ignore_user_abort = On* `% a' |1 l/ o1 u
  321. 1 K0 K4 G# b3 v) A1 ?3 \
  322. ; Determines the size of the realpath cache to be used by PHP. This value should) M6 d) h. o; |# H5 N  j) D
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    ) `5 g4 t/ P9 a5 u6 Z' [% _. J+ b
  324. ; the file operations performed.
    * l4 s! _! T/ Z' C, m
  325. ; http://php.net/realpath-cache-size
    $ |, \) C) ]+ r
  326. ;realpath_cache_size = 4096k
    / q5 N0 {$ o4 R! @

  327. , Q* o: G: V% Y3 L
  328. ; Duration of time, in seconds for which to cache realpath information for a given# N$ h: M+ Q7 e" d
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    & O, R% Z" A; S( y& J& S' ?) I
  330. ; value.
    ( U2 e6 w6 r( {* L( y
  331. ; http://php.net/realpath-cache-ttl6 G, \3 O  l2 U/ p7 S0 n( s
  332. ;realpath_cache_ttl = 120
    ; l. f) t/ u# e

  333. $ {6 I, d' {" b6 M- B+ C
  334. ; Enables or disables the circular reference collector.4 S1 ?! F2 M+ z# S! ?$ m+ Q3 z* z
  335. ; http://php.net/zend.enable-gc
    6 d4 T# q$ h. n% s" w3 t3 y
  336. zend.enable_gc = On+ P! J* p5 D9 L* Q% b8 y* h  ]

  337. 5 G0 D1 F4 y' C, z' v
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    $ N& L/ |2 q* ?1 d+ j+ I8 d
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ' r4 S0 {: r+ ~* L# B
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    9 y0 I* X0 s( u$ z& l7 i9 _
  341. ; Default: Off0 ?& P0 v9 a3 ^6 s- U# s6 S
  342. ;zend.multibyte = Off
    ( e4 Q8 T& O0 c

  343. " W  h* L$ ?% K' i3 M
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    % G9 Y$ n4 M) M9 X5 K2 U. O+ C
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.  X) H' c( {: u, n/ K! ?
  346. ; Only affects if zend.multibyte is set.
    / L8 |# u9 r$ u. I* ]- t& M  j. e3 @
  347. ; Default: ""
    % w$ _" B* b1 x1 `/ y
  348. ;zend.script_encoding =
    8 d& R7 _% ?0 m$ |" b3 D7 R
  349. 5 y/ E. L% ^0 M0 r0 q# N
  350. ;;;;;;;;;;;;;;;;;4 w6 N  Z: N" @8 W$ o3 e  J- [
  351. ; Miscellaneous ;
    $ D7 g# }$ w3 X% i) H# I
  352. ;;;;;;;;;;;;;;;;;' F- [' J* x4 d3 Y6 B
  353. $ j, \) H8 [( S+ [" F5 O8 a. F& w& a
  354. ; Decides whether PHP may expose the fact that it is installed on the server) _' m1 q% }9 s0 G# ~
  355. ; (e.g. by adding its signature to the Web server header).  It is no security% U* G, r9 b3 l8 D) Q6 r/ {
  356. ; threat in any way, but it makes it possible to determine whether you use PHP$ n; S. W# b7 G* N; X8 `7 @" u1 J
  357. ; on your server or not.
    ' J# r+ t  K$ c# u1 O9 n
  358. ; http://php.net/expose-php
    7 T$ ~. X) S0 o6 @! u( Z
  359. expose_php = On
    7 [* Y' I" b# {/ t  |' @
  360. + c0 y& I+ |0 W5 i
  361. ;;;;;;;;;;;;;;;;;;;
    . F) {" r; ?  r8 i! g7 o
  362. ; Resource Limits ;
    3 Z# t6 V  C1 r; T
  363. ;;;;;;;;;;;;;;;;;;;
    4 K8 t2 N# K: w6 o5 c. Y$ z

  364. 7 \" _7 \; u0 U6 R  P
  365. ; Maximum execution time of each script, in seconds, D8 ^( U; C9 _: |$ C, d
  366. ; http://php.net/max-execution-time& w/ T* N2 J3 r" B2 i$ T. {
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    , U7 A6 N9 }! y0 {: H( |1 s% m
  368. max_execution_time = 300; A3 \' r* f6 h7 F

  369. 3 }" S2 h, U9 k- \/ S6 O
  370. ; Maximum amount of time each script may spend parsing request data. It's a good+ {& C7 K1 p3 A  e8 w/ q
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    3 g8 Y; U/ o  y4 \' a- J
  372. ; long running scripts.. p9 {8 m, ?6 ]: F. y
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI. f: u" q1 c/ k1 R1 @7 ~" l& W- o" }
  374. ; Default Value: -1 (Unlimited)( _) G1 S( h1 W& _, \
  375. ; Development Value: 60 (60 seconds)
    3 `! q( g( q  X) {! Y
  376. ; Production Value: 60 (60 seconds)( m% k4 z: D: D0 m7 l) D4 H
  377. ; http://php.net/max-input-time
    1 v) Z, o) v8 x8 V
  378. max_input_time = 60
    9 Q; U1 P1 s' b% P

  379. - h0 r5 G% T% a: c
  380. ; Maximum input variable nesting level9 D) ^0 o5 \. ]
  381. ; http://php.net/max-input-nesting-level  I# I7 L* k, A( j7 }, A3 }
  382. ;max_input_nesting_level = 64* K4 _. R5 U# C& H5 o
  383. 4 n, z9 |" i" S: m; E8 N
  384. ; How many GET/POST/COOKIE input variables may be accepted8 {' l7 }+ }/ S3 a( }/ j
  385. ; max_input_vars = 10006 K! L; X1 d5 A( A  r6 Z% z
  386. ) L$ f) [) G9 l" s, [) y4 H
  387. ; Maximum amount of memory a script may consume (128MB)
    4 G$ v0 |9 L4 }) Y& }; ?
  388. ; http://php.net/memory-limit
    # ?% u3 r: n9 N" w8 t$ A( Z
  389. memory_limit = 128M$ ^6 s" @6 Z5 {- C  e4 i. _
  390. 4 S* p/ E6 f  k; t
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    % Y5 w- H* h( T( o2 i3 C
  392. ; Error handling and logging ;  P6 i1 U8 v' L( k
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3 [5 ?6 [! Z/ f
  394. * A0 O! V5 }1 |% K
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    7 a0 ~- N) H" R5 e
  396. ; it to take action for. The recommended way of setting values for this
    6 r) \* [. H$ U+ }4 F6 |) \3 [. B+ z
  397. ; directive is through the use of the error level constants and bitwise
    " @  J3 |2 |8 {
  398. ; operators. The error level constants are below here for convenience as well as* M$ i9 B3 O5 C: U2 k* D
  399. ; some common settings and their meanings./ R- `$ k2 f/ t# |
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    3 p1 ?# o9 ^3 P* b- n
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and. n& h* a; _) d9 ?
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    ; x( i- e" B; p1 }& W: d4 }) t
  403. ; recommend error reporting setting. Your production server shouldn't be wasting: N' |. r" g0 e' k# o! r
  404. ; resources complaining about best practices and coding standards. That's what
    9 E3 U( O! f6 `% X
  405. ; development servers and development settings are for." |; f3 J0 [, m* J6 |7 P# b
  406. ; Note: The php.ini-development file has this setting as E_ALL. This) ?+ F4 }$ Y" \0 c" R
  407. ; means it pretty much reports everything which is exactly what you want during
    + G9 e  A2 S; E
  408. ; development and early testing.$ l+ K, y) M0 x2 q6 p
  409. ;
    7 _# s6 \, g# O2 u% Z! A8 z
  410. ; Error Level Constants:" C, j: y$ L. }7 ^* k$ B
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    : P( {, O) e+ u+ i7 ~1 \/ T
  412. ; E_ERROR           - fatal run-time errors' L/ @# k1 Q# r
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors) F6 a) M4 Y5 L# S0 S0 J
  414. ; E_WARNING         - run-time warnings (non-fatal errors)6 b+ ?3 O8 V4 @4 E
  415. ; E_PARSE           - compile-time parse errors
      n2 F" [5 z; b# c
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    % e4 O9 v8 @. ]% e- J
  417. ;                     from a bug in your code, but it's possible that it was8 o' |2 a4 P9 N
  418. ;                     intentional (e.g., using an uninitialized variable and5 L; K" S# H/ U; h: K
  419. ;                     relying on the fact it is automatically initialized to an  |( k% r, J( K" F- u3 j
  420. ;                     empty string)$ t: j  b6 T! Z; o  C0 l/ i
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    % ~, {3 Y5 h  Y! q. u
  422. ;                     to your code which will ensure the best interoperability- L, s2 ~3 g" ~/ f  t
  423. ;                     and forward compatibility of your code
    6 e  Q- U! h* w
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    * j( R1 I: z9 z$ A5 h% `6 j
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    6 e* T  i7 {$ d$ x. q
  426. ;                     initial startup
    0 [/ X, H5 k$ a
  427. ; E_COMPILE_ERROR   - fatal compile-time errors; G/ ~9 S8 {! @2 B- n' ?7 G' G+ s4 U( z
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)/ }* ]7 M: J0 Z* z# j
  429. ; E_USER_ERROR      - user-generated error message$ l. E( L0 \! [' T, O
  430. ; E_USER_WARNING    - user-generated warning message( i8 R4 D) W/ U. d
  431. ; E_USER_NOTICE     - user-generated notice message
    ' U1 l* B3 q' q2 r% m% z4 E
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    # a( y* \+ E8 J2 e1 O
  433. ;                     of PHP
    7 U" ~: N6 i$ @
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    * r; N4 o/ n2 S6 d
  435. ;
    2 j2 j+ t( v7 }) p- F
  436. ; Common Values:; L' Y" Z4 J  S2 h# j5 b
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.). m) h* L5 y9 j. J# i
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    $ J7 T$ z8 n) s% f, y" p6 t" f
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)3 N0 j5 G# q2 Q3 q
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)" h3 H9 O% [2 y* _, W8 o5 Y& z
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED# e4 I9 o) j* B! y, A  s& a
  442. ; Development Value: E_ALL
    ! M8 j) c$ s) L6 x2 }" X8 s
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    , j* `  [0 b4 u) I- S  L3 d$ ~
  444. ; http://php.net/error-reporting- N0 R6 F; n" I4 e
  445. error_reporting = E_ALL & ~E_NOTICE
    3 `6 s9 Y4 I6 t) [5 ]

  446. ! j2 h1 `% m$ V8 y2 j
  447. ; This directive controls whether or not and where PHP will output errors,
    " F3 `$ y1 V" O  Z
  448. ; notices and warnings too. Error output is very useful during development, but# f0 c* u# i4 l( E" D8 h/ l% O
  449. ; it could be very dangerous in production environments. Depending on the code" h" E6 `: N2 q' d' o% j( k) C# k
  450. ; which is triggering the error, sensitive information could potentially leak2 i6 [- j' y& |) q0 K& y' i
  451. ; out of your application such as database usernames and passwords or worse.
    " j# q% B7 D  u4 m
  452. ; For production environments, we recommend logging errors rather than$ B! o7 X; y- u# J
  453. ; sending them to STDOUT.# E: {' u- w$ O7 L
  454. ; Possible Values:7 B4 N+ [6 N9 m3 G7 Y6 w' e7 R
  455. ;   Off = Do not display any errors
      X7 @) h% B* h  j9 W2 f' u1 ?
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)% a+ W9 ~2 @5 b* M
  457. ;   On or stdout = Display errors to STDOUT1 A+ I: T* }+ U1 U5 l
  458. ; Default Value: On
    # Z5 X7 ?( Y, v% r. K; p" t
  459. ; Development Value: On
    ( {1 p% X7 {) X5 p
  460. ; Production Value: Off8 \7 }$ h8 X5 P% M( D
  461. ; http://php.net/display-errors0 P/ |( ?' Y1 M, g/ _( v, j3 c" x
  462. display_errors = On
    3 k% S/ E3 H4 j7 _4 B2 k

  463. % Q4 ?  b4 ]+ E
  464. ; The display of errors which occur during PHP's startup sequence are handled2 C5 E# W/ z! u: k! d9 N: {! ^
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    . j& b; s! h. j8 G5 r: F
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    + V/ P6 C" ~; z# e7 W5 I$ t) e0 B. u
  467. ; debugging configuration problems. We strongly recommend you
    ' q1 f5 c% i0 j/ I
  468. ; set this to 'off' for production servers.
    : ~+ I) _6 b# S
  469. ; Default Value: Off
    6 q+ l) p8 y% F/ W% u
  470. ; Development Value: On
    % X& s! L, T; _2 v' f8 x9 F6 _* \
  471. ; Production Value: Off- u7 E' l% Q( O& E! L
  472. ; http://php.net/display-startup-errors
    ( _8 q) G* F9 E# c# d, W/ g
  473. display_startup_errors = Off
    , o6 o8 T! g' @% {% X" R

  474. 3 \- O& m4 z, @* @
  475. ; Besides displaying errors, PHP can also log errors to locations such as a, Q2 y8 |$ q: }
  476. ; server-specific log, STDERR, or a location specified by the error_log
    * U. M( _) H9 u6 B% g! b
  477. ; directive found below. While errors should not be displayed on productions
      D# G4 W  B* k8 p% O9 |! ]$ F! X
  478. ; servers they should still be monitored and logging is a great way to do that.( I  t2 r2 K/ E/ C8 J4 X7 R
  479. ; Default Value: Off8 s  n* x+ O; `* o  B* C+ E
  480. ; Development Value: On# b) `- `6 r" T
  481. ; Production Value: On" O' ^# u. h# I
  482. ; http://php.net/log-errors) b2 P: }3 _8 u, y- }, V& O
  483. log_errors = On
    & b0 g; n3 ^, i1 ~  v
  484. * W) U# ^3 G% O& I- \4 l5 {
  485. ; Set maximum length of log_errors. In error_log information about the source is, @2 u3 Y1 \3 P! h4 B3 g4 N" v
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.. M  a" Z3 m( p
  487. ; http://php.net/log-errors-max-len
    * n3 R4 E. h  m1 {
  488. log_errors_max_len = 1024
    + |. a# r  Z+ Q0 ~

  489. ( S2 D! q5 ?7 w# w: \
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same' _; Z, W, V8 J+ N1 W: J
  491. ; line unless ignore_repeated_source is set true./ b8 B; L, ?# o: V5 e2 m
  492. ; http://php.net/ignore-repeated-errors' F7 V1 N* n# H  \. _& i; Q; n& U
  493. ignore_repeated_errors = Off
    4 Q. O* w4 a% E! D  N

  494. . U+ ^8 D* @2 T, A2 R( J
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    : A, }1 u8 F' ?6 ^# e: l, _/ l
  496. ; is On you will not log errors with repeated messages from different files or% R% G7 P& d7 C% ?" G: W
  497. ; source lines.: P6 |9 n* k5 o9 k* f
  498. ; http://php.net/ignore-repeated-source8 A, h/ ?  a; C$ N2 S  u' E
  499. ignore_repeated_source = Off
    0 k: ?& |2 S! |; y( G0 G

  500. + C8 F, q5 U, g* `- s/ w' U
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    4 w6 a5 I. P& q2 c% E* ?
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    / E9 `1 K# w' P. S1 X
  503. ; error reporting includes E_WARNING in the allowed list. }9 K) @% K% t2 p8 ?6 N( ~* K1 t1 j
  504. ; http://php.net/report-memleaks! E3 `/ r: |9 Y5 A8 c  r3 M* H* O
  505. report_memleaks = On: \" ^- T* J% w. P. |

  506. - Y  }' q$ {8 g/ p  D0 @% Y
  507. ; This setting is on by default.
    4 ~, R( y# Z: A! e  T
  508. ;report_zend_debug = 0% q* u+ y$ Z: K6 d6 F4 a
  509. + j+ ]' }+ q3 B8 c
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
      j3 g" ~/ I, Y- U3 g: g
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    2 b5 U" ?; p7 T: d( R- j- d4 X8 X5 x
  512. ; however be disabled on production servers.3 T. F$ V2 w, d, t4 K
  513. ; Default Value: Off1 Q7 n- A+ L8 y% E/ j! ^
  514. ; Development Value: On
    ( i- w! `: d1 P: P: W* C! v! c
  515. ; Production Value: Off( F' `$ G7 ]2 c' Y4 t: A0 _9 _
  516. ; http://php.net/track-errors
    3 Y& H# O' v# b0 f/ l
  517. track_errors = Off
    ! i& |) j3 u; Z7 {
  518. - G! S2 s0 M, w0 V3 X
  519. ; Turn off normal error reporting and emit XML-RPC error XML8 P) v! {2 x6 |( ?7 c3 ]
  520. ; http://php.net/xmlrpc-errors
    , N3 q+ f. T0 Y' Y( k% r: F
  521. ;xmlrpc_errors = 0" ~) c( m, z: A" `; p

  522. , Z% [; `2 Y0 _% L# d0 Z
  523. ; An XML-RPC faultCode0 P, B( u* Q. [2 l9 ]% Q4 {& @( }6 e
  524. ;xmlrpc_error_number = 0
    + l, j* Y. p; F& Z- b( c8 \8 R" x
  525.   }$ t" E7 E8 M. U% @
  526. ; When PHP displays or logs an error, it has the capability of formatting the9 @" |- `9 m2 ^- y( e7 M  M0 x
  527. ; error message as HTML for easier reading. This directive controls whether& T" d9 m: ~# f6 T" B+ A% Q; l
  528. ; the error message is formatted as HTML or not.- Q( v% A( U- z4 g; L% I& t
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    6 V  D  V6 D! A6 _7 Z
  530. ; Default Value: On
    " {7 `! _6 X* J5 \7 u4 M
  531. ; Development Value: On  {; l+ L6 r( `% o' f. _3 b' Y% Z
  532. ; Production value: On
    # }% Z7 w6 z. B2 s, x8 b
  533. ; http://php.net/html-errors
    6 S5 m; A7 m5 Y' ^
  534. html_errors = On: a' H* e% l4 ?/ y: O

  535. ' ]) u8 A8 p1 a+ v, @. t
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP; C1 B, _% d, U- {( t4 U! R+ a
  537. ; produces clickable error messages that direct to a page describing the error0 J1 r6 u- G; i. K. v
  538. ; or function causing the error in detail.
    ' w8 M8 C  c) a# v+ k2 F7 X
  539. ; You can download a copy of the PHP manual from http://php.net/docs- [7 l' R& {% k8 Y
  540. ; and change docref_root to the base URL of your local copy including the
    $ w( I$ u  U6 Z( i2 T
  541. ; leading '/'. You must also specify the file extension being used including
    . \( X- m) W4 {7 f& e% C5 P/ v: H
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    / E, p! d, X7 F6 F
  543. ; case no links to documentation are generated.; a1 I3 l. r& q0 H( d3 \
  544. ; Note: Never use this feature for production boxes.) f5 ~; ]4 W# o. i4 ], {$ A  b# G
  545. ; http://php.net/docref-root
    - U6 R9 F! Q, j4 `
  546. ; Examples; @: F+ @: O  n0 C' h# k/ v7 j
  547. ;docref_root = "/phpmanual/"' \) W  ]: A; J6 L6 y

  548. 7 R$ B! k: M: x4 x  a# J
  549. ; http://php.net/docref-ext! R% R. v4 `' ^& s) o+ [- N5 e' F
  550. ;docref_ext = .html4 P+ i% ^4 Y, d/ Q/ ~; j0 N$ S
  551. * n' n% S+ U% r+ f
  552. ; String to output before an error message. PHP's default behavior is to leave
    ; e( E" ]7 R0 H+ |, `
  553. ; this setting blank.
    " G5 i& Y0 U+ Y1 S( k4 e' l) R
  554. ; http://php.net/error-prepend-string+ p7 [. m, }0 x- w
  555. ; Example:9 L. i) D6 f* O/ [5 x% f, u# g
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    : O+ {6 S; d* f/ s) J. T6 i9 T
  557. 5 I- X" {# h2 F7 {& _3 z+ ~1 r
  558. ; String to output after an error message. PHP's default behavior is to leave
    & z+ d% W( n. p
  559. ; this setting blank.) Q2 E% c$ d9 E/ t" ]; \# q
  560. ; http://php.net/error-append-string
    2 u" d( N( a2 d" d  u2 {
  561. ; Example:& d: o8 x$ }" B/ G6 `, Q
  562. ;error_append_string = "</span>"! ]; ~+ n3 ~' r) k8 L# S; K$ ~" x
  563. + \) H& Z( ]8 Q& }" P2 Y  U+ T6 a& s
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    , p) S& @3 x. j
  565. ; empty.
    % N: K0 y# K( Y" c3 ?9 k! m" h
  566. ; http://php.net/error-log5 N  `3 G/ _/ K* l% k  r3 j3 Q
  567. ; Example:. L5 N0 t  s5 D& i0 s5 G
  568. ;error_log = php_errors.log: C4 u2 {- [5 b' }" ]
  569. ; Log errors to syslog (Event Log on Windows).
    ! k1 b: h* k8 \6 k$ v: x. E$ s. `/ Z
  570. ;error_log = syslog  J& d: G- U9 g2 O: t3 J
  571. + p, U( Q% g2 S4 D4 j$ F
  572. ;windows.show_crt_warning
    * J, ^# I, @8 Q( `: A
  573. ; Default value: 0
    7 Z+ o% Y4 m' ~$ _
  574. ; Development value: 0
    * r$ X9 U# `/ \4 K& v! @8 |
  575. ; Production value: 0/ A: J' n5 j; }# |) J" c! z

  576. 2 z0 d; H( s$ H( @; c" ]* u
  577. ;;;;;;;;;;;;;;;;;
    ) a3 Z9 \. u0 @4 }
  578. ; Data Handling ;5 V1 \3 X* }# `5 y
  579. ;;;;;;;;;;;;;;;;;, _! Z) K% K, P. ?

  580. 3 y/ G& j( w/ N9 ~0 B6 K4 b9 _6 U2 z
  581. ; The separator used in PHP generated URLs to separate arguments.! x& v: i. Z+ X3 t7 p
  582. ; PHP's default setting is "&".! s/ B' R' ?9 v- V& _
  583. ; http://php.net/arg-separator.output! L+ ~: @, x# h6 s- F; `* N
  584. ; Example:; e+ ~& ^- G9 L$ Y" h+ x( @& |5 r
  585. ;arg_separator.output = "&"
    : W( v* M; s0 y6 D  R

  586. ( C! w  g  d( P7 Q3 c* ~
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    0 W' q8 e0 O% K( |# ]# j
  588. ; PHP's default setting is "&"./ B7 @  t" S: @( F9 u
  589. ; NOTE: Every character in this directive is considered as separator!
      \& c0 ]7 P5 }; n, I
  590. ; http://php.net/arg-separator.input5 }# a8 z/ ~9 O+ e0 ^# Z) B7 A
  591. ; Example:
    0 n, V8 N, \7 d
  592. ;arg_separator.input = ";&"9 x, p  j" v; q* O. ]( h+ ]- T

  593. % B) p# b, @" r8 z& Y
  594. ; This directive determines which super global arrays are registered when PHP
    + o6 T* Y9 R* J  R# S) v3 a
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    . P* H5 w! y; C( B0 @" @5 B5 V
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    + v2 E) h2 h5 l8 ~  |
  597. ; paid for the registration of these arrays and because ENV is not as commonly  p; @# s# F( ^  X8 R
  598. ; used as the others, ENV is not recommended on productions servers. You
    - @  G0 c' Q/ O
  599. ; can still get access to the environment variables through getenv() should you
    ! o9 M$ i! N" B6 ~
  600. ; need to., T# }+ m+ y. c9 ]
  601. ; Default Value: "EGPCS"
    % E9 I" Y) y' L4 R) z, D2 z* t4 n
  602. ; Development Value: "GPCS"; W3 B, l7 P" ?2 z; ^! k2 ?
  603. ; Production Value: "GPCS";8 ~1 c: c7 |4 m: Y
  604. ; http://php.net/variables-order- a9 p9 t$ m2 V- a0 P5 z
  605. variables_order = "GPCS"
    * x$ m9 B$ H/ i4 u- C7 S( }& i5 |
  606. ; W4 E% J$ ?+ j6 I) N! N) E' z  x
  607. ; This directive determines which super global data (G,P & C) should be
    6 ]9 L) o7 Z4 U  d5 _9 K
  608. ; registered into the super global array REQUEST. If so, it also determines
    , ], }; c$ o# s0 m! d6 @$ k2 z
  609. ; the order in which that data is registered. The values for this directive5 p0 M* k2 C4 I0 x: [3 G0 d
  610. ; are specified in the same manner as the variables_order directive,
    0 d7 r6 ~/ _1 `9 q2 n
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set3 v) }) X2 g  D/ ^- B3 z% `% q0 Z
  612. ; in the variables_order directive. It does not mean it will leave the super; n5 O" p& C0 W/ b# l
  613. ; globals array REQUEST empty.
    0 ^5 T" I- x; L8 s: L
  614. ; Default Value: None' f+ [1 T0 h; ?7 h9 i# K
  615. ; Development Value: "GP"
    8 f8 S; v0 ~: \! o& B* E* q- J
  616. ; Production Value: "GP"7 k) M6 D) N3 V2 v1 d- s: K* {
  617. ; http://php.net/request-order
    - p# Y) V% V+ B0 f, Z' _, ~
  618. request_order = "GP"
    $ ?6 q" w6 L4 m

  619. + |* x# {! @( E0 e6 L3 n
  620. ; This directive determines whether PHP registers $argv & $argc each time it' O1 Y" j, e  B* c! z
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    7 Y  @. T% t, G' L8 E% Q" \3 ?3 E
  622. ; is invoked. $argc contains an integer representing the number of arguments
    / ~  |6 L7 j& g& e: `
  623. ; that were passed when the script was invoked. These arrays are extremely
      x( Z9 j# H- ?. u1 _
  624. ; useful when running scripts from the command line. When this directive is
    5 G  E0 o) r0 U7 G$ K8 M* m
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    1 A1 _' F0 p% _5 K3 }8 Y
  626. ; a script is executed. For performance reasons, this feature should be disabled$ X9 q  M0 G  d& ?: H0 W9 m
  627. ; on production servers.
    3 _! W: f, t, A1 x4 `% W
  628. ; Note: This directive is hardcoded to On for the CLI SAPI8 h/ B) y" x6 d- j
  629. ; Default Value: On
    & {1 G, D' x/ }8 E. x
  630. ; Development Value: Off) ~+ U9 m2 X& c  b
  631. ; Production Value: Off/ n; k" ?* i# l8 j3 I
  632. ; http://php.net/register-argc-argv
    2 E3 @' D% j6 x/ d& j% ?% w% }
  633. register_argc_argv = Off
    % [8 {9 x' ^. e2 ?

  634. 9 g1 I) N- d0 x/ h  F! b2 i
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    . l2 k, w0 C* q0 d/ z& M5 e
  636. ; first used (Just In Time) instead of when the script starts. If these0 U7 g' j7 e5 e" p7 Y- F; y
  637. ; variables are not used within a script, having this directive on will result
    , d7 k& {* n/ M6 `. n. b  G
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    - M+ D7 j9 ^% u3 p2 ?
  639. ; for this directive to have any affect.$ L  \8 q" `# |5 X! h
  640. ; http://php.net/auto-globals-jit' J# W. P8 ]- r8 T
  641. auto_globals_jit = On! m. o; |8 k. H: C6 y

  642. 9 @; p; t8 _$ D. G& \
  643. ; Whether PHP will read the POST data.
    : _+ d) e1 v. U: M
  644. ; This option is enabled by default.  J$ {) i2 j/ N& o2 V4 Z" n
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST3 Z3 p4 h1 z5 c+ ~
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    1 V, c: z0 C* m! r6 R  T8 g
  647. ; POST data will be through the php://input stream wrapper. This can be useful/ W% n7 d: U# h2 i+ @: e% y% B) I
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    5 L+ `* u  B7 I6 a1 b
  649. ; http://php.net/enable-post-data-reading
    , z- ?0 b- V' U* i$ w
  650. ;enable_post_data_reading = Off( j2 Q. M: v* o$ J% E) W3 h3 r

  651. 5 y% R( H* Z  E5 D; o. B$ d
  652. ; Maximum size of POST data that PHP will accept.
    0 X! {3 M7 u, Y8 w7 {8 y! g% M2 c
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    % t" ^6 t! B) e# \. O
  654. ; is disabled through enable_post_data_reading.
    # Z" o! I2 U& [
  655. ; http://php.net/post-max-size
    ! p9 g4 e: {3 b  E3 B* D
  656. post_max_size = 50M  H8 ^& b/ g2 {% k) m2 @$ R) M
  657. / \( \; A) W8 b# M
  658. ; Automatically add files before PHP document.& ]8 [0 [  r: }4 y6 Z! U
  659. ; http://php.net/auto-prepend-file. O$ t. Y1 n; `, _
  660. auto_prepend_file =! H: ]. h7 K1 G# F" u2 O
  661. 1 O% u3 C) `9 U6 w3 `4 l" Q
  662. ; Automatically add files after PHP document.
    9 w. j% \/ ?; G4 ~7 ^' a' q2 d4 |
  663. ; http://php.net/auto-append-file
    - ^/ p4 d* U7 y# m4 X+ `, Q
  664. auto_append_file =- j' E+ k- D9 T( s: U5 w- Y. x9 \

  665.   c4 D# }& ?# R0 e: ?
  666. ; By default, PHP will output a media type using the Content-Type header. To
    % E" Z  u+ q# a& V
  667. ; disable this, simply set it to be empty.
      T" a) \( }! v7 v1 M4 i
  668. ;( \( p6 Y& j6 x, ~
  669. ; PHP's built-in default media type is set to text/html.
    + U' d+ X0 `: l1 _) ^8 i
  670. ; http://php.net/default-mimetype2 p. e1 S- _2 Y9 p- \7 t
  671. default_mimetype = "text/html"
    : f+ ^3 b* J! b, s5 H# w; ~

  672. 6 g& {( w: w5 x7 A' i7 h# F1 n
  673. ; PHP's default character set is set to UTF-8.
    7 G% K( A& G. G- C' t
  674. ; http://php.net/default-charset
    ' Q$ T' t- i, {
  675. default_charset = "UTF-8"
    # b. l2 h$ D* ?
  676. - t, w0 C4 v+ w# D9 h$ s
  677. ; PHP internal character encoding is set to empty.
    0 G# h' V* b6 f" u
  678. ; If empty, default_charset is used.
    3 o: r2 y3 J4 Z# n
  679. ; http://php.net/internal-encoding
    $ o) h/ T: k6 n8 e% H' z1 D8 w
  680. ;internal_encoding =
    : p' L/ r) v0 a! G. x4 f8 @- W( v
  681. 7 y* O/ d) s% K& l+ [' T
  682. ; PHP input character encoding is set to empty.8 U  ~2 r% r" N2 H+ N
  683. ; If empty, default_charset is used.. t6 \& N6 g% R- Y1 g
  684. ; http://php.net/input-encoding
    7 [+ f8 B# C2 G+ u: v6 X% \/ F
  685. ;input_encoding =3 d- D; }" t8 A0 c* _4 l/ o

  686. ' R/ \+ m# t5 p; y$ Y" |  c9 i
  687. ; PHP output character encoding is set to empty.' i; _3 t# O+ Q
  688. ; If empty, default_charset is used.
    " h' k$ Z( ]4 V. i3 y0 Q! P
  689. ; See also output_buffer.
    7 V5 F3 U  `$ k1 j! _8 b8 m1 K
  690. ; http://php.net/output-encoding
    # K# x! h( `$ l  @/ Y- i5 I
  691. ;output_encoding =
    ! d, A5 j- B3 O; X
  692. 4 {  t* n1 i0 O( f" A
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;% V0 a& e* Y+ w
  694. ; Paths and Directories ;
    : ^7 x" v! J" ]
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    4 K! d* k" `- c: I

  696. ' z# i" H( H, K. O
  697. ; UNIX: "/path1:/path2"+ h1 t+ ~$ `% d, S% ^2 G" `
  698. ;include_path = ".:/php/includes"
    : }  Z" b8 H2 l* G! E4 g8 {' ^% U
  699. ;: `' U, v! B" D' X  q
  700. ; Windows: "\path1;\path2"
      x/ R& I/ g8 f. R. x! m% M, p
  701. ;include_path = ".;c:\php\includes") s8 q+ J" M5 N2 y8 T
  702. ;5 Z/ m3 u$ ^; ?% g9 G! e% g; Z% ]
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"' Z" {* m8 W+ l& Q5 S& d
  704. ; http://php.net/include-path
    - c) \% n% b: h7 z0 X% B/ G
  705. 7 A& Z( o2 _* ?6 D% c* u. ]
  706. ; The root of the PHP pages, used only if nonempty.0 |! l+ s6 X7 B$ N9 O1 K
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    9 k1 W' m& m! Q. m7 B
  708. ; if you are running php as a CGI under any web server (other than IIS)9 Y' f2 J% |" C5 k2 p
  709. ; see documentation for security issues.  The alternate is to use the' f4 @1 W* l; `2 D
  710. ; cgi.force_redirect configuration below
    * A: u: ~8 P: C& o2 x; A
  711. ; http://php.net/doc-root+ N- D# ^& b4 C' G  n
  712. doc_root =
    " t: r. A2 g# ~. P" @8 o- e0 Z
  713. 7 O. y9 I, ?& J1 j! ^* |1 W
  714. ; The directory under which PHP opens the script using /~username used only& m& ^9 Z& ?1 c! W9 C
  715. ; if nonempty.2 q8 @' k8 @  R8 b8 t0 q
  716. ; http://php.net/user-dir
    + s" S% u* R, L
  717. user_dir =4 u; j' V' F8 b

  718. * ]) E- |$ q, ?" k& G) X9 H# H
  719. ; Directory in which the loadable extensions (modules) reside.( u* E" L2 j* ~, H( O
  720. ; http://php.net/extension-dir
    # @- \+ |. x  ^! S- N5 x6 ~' ~( `& E
  721. ; extension_dir = "./"
    0 d! {% M9 C- [% e6 O( f# D
  722. ; On windows:
    5 R* A! ~$ h7 H
  723. ; extension_dir = "ext"5 l7 D* w# S$ J4 u& X

  724. 9 j# i6 f9 D5 V3 h4 Y) U' ~7 V
  725. ; Directory where the temporary files should be placed.
    6 U* Z% P- }5 v4 o* k" @
  726. ; Defaults to the system default (see sys_get_temp_dir)' ]4 I. R: z' p6 B
  727. ; sys_temp_dir = "/tmp"
    ! B, m9 e! t; o3 n: g' a) Q+ g

  728. 7 j. s& s# |8 g. q
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work( u$ L. L. ]  u% [
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    : R: U; {8 |6 l
  731. ; disabled on them.4 L2 h% C$ b5 B* h
  732. ; http://php.net/enable-dl
    8 i: o  X' B) x) A9 a3 s0 }
  733. enable_dl = Off
    . n* T0 j9 o0 @; l
  734. $ k0 z0 \0 B% U1 s, u2 ^$ a
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under( n1 o+ p4 Z( n$ ^# A# _5 V
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    & q$ J( A" q9 o1 ^" I5 y
  737. ; turn it off here AT YOUR OWN RISK
    3 }, R% y7 }# f$ {7 o) d5 P
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**6 A; ?* A2 ^9 J0 V- `
  739. ; http://php.net/cgi.force-redirect
    ; L" Y7 U7 f# O! R1 u) d
  740. ;cgi.force_redirect = 1: ?5 p) k. Q8 D7 z
  741. 6 v  d5 X8 a' V( X* F
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with4 u4 s/ X6 @2 l2 x5 j. {! {1 ^$ `
  743. ; every request. PHP's default behavior is to disable this feature.0 ?, q- q$ k% G- ^( ^4 t
  744. ;cgi.nph = 1
    $ O& ~/ q5 U+ i: e% B1 }  d
  745. ) d0 |# {/ u: l6 c7 ]
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape5 k4 |; a' \. S0 j
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP4 Z: _$ ~4 \& h/ g
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY1 _4 ^  x# z" E, E' L" {" N, W* x2 d
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    3 [. U  d+ f. f6 Q6 f
  750. ; http://php.net/cgi.redirect-status-env
    $ x+ O4 _: Q/ j" r
  751. ;cgi.redirect_status_env =
    / ^* ~5 A$ k+ K
  752. # m7 i9 M. J+ X: Z: ^
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    . H* s/ G9 x( f
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ; m2 A7 `: T" M" u+ _3 ?; o
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    , F2 Y' c# E6 L" r6 O
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    & K# Y/ ?# k9 @, L$ B, d; W, D; ^
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts" o* y& Y  j4 b6 ~3 ]' @  h3 R
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    3 j3 _  O( d3 Z
  759. ; http://php.net/cgi.fix-pathinfo- P6 v1 R1 P3 U( u$ u$ N2 \. M
  760. cgi.fix_pathinfo=1
    : ]7 n- E) k' Z

  761. ) B# o0 y' H, ^1 O; ~
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    6 f$ [: C0 t* Q5 j
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ( R- K; @" e5 b  u; Z
  764. ; http://php.net/cgi.dicard-path
    , P# |) L* s. k) ]6 B# F
  765. ;cgi.discard_path=1
    6 `% s+ a4 z- U9 f6 x
  766. 8 y, E! L! ]7 O) M/ M- }  g) _
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate* Q7 G9 Q$ k) K% _, i
  768. ; security tokens of the calling client.  This allows IIS to define the. d; _5 N1 ~7 g) p0 ?) X# p2 A
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    - i  e3 s% ^0 v; h
  770. ; does not currently support this feature (03/17/2002)
    0 B  }1 X7 q8 m2 n5 Z' {
  771. ; Set to 1 if running under IIS.  Default is zero.1 R# l. t$ Q  x% _
  772. ; http://php.net/fastcgi.impersonate
    " |. y9 y6 ^+ X. z8 s
  773. ;fastcgi.impersonate = 1
    2 a* x; A3 W* s
  774. 0 E  s% E! h$ q1 X- M. u  ~4 R. Z
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    - U: u. C: K, X! }, t! d
  776. ; this feature.
    ; Z8 }3 M; B/ `! P, d
  777. ;fastcgi.logging = 0( t) o: G8 i! [) x' o4 V7 X
  778. * [& L; ~; Y* ?* H& Y' f2 p( J8 I4 o
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    " |! z/ _3 x. Q' n0 n
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that9 L* ^' A0 a9 H% q' X0 K
  781. ; is supported by Apache. When this option is set to 1, PHP will send! C( v% @. T! M
  782. ; RFC2616 compliant header.0 }* V+ z4 v. ~
  783. ; Default is zero., @0 @! ?" V  ~' J6 S' p! ~
  784. ; http://php.net/cgi.rfc2616-headers
    7 P9 {5 x/ z# ?# h* W8 D" ]
  785. ;cgi.rfc2616_headers = 0
    . F  h) x4 M/ b- f% i! s
  786. # o* I( j7 f1 P
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    : ]% p8 S2 E, E9 s  @2 f
  788. ; (shebang) at the top of the running script. This line might be needed if the: i. |7 G$ T4 b7 b/ A3 r$ S
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI' c: y- G/ D/ P& g0 W) f5 q3 V
  790. ; mode skips this line and ignores its content if this directive is turned on.7 e; ~' {# [( n8 j
  791. ; http://php.net/cgi.check-shebang-line0 }, K, e1 Y+ ^- A
  792. ;cgi.check_shebang_line=1
      Y4 Y( t- x1 c4 Z
  793. . \3 X3 Y& w) U( x9 d7 }
  794. ;;;;;;;;;;;;;;;;* |/ `$ X5 x/ M- O8 l
  795. ; File Uploads ;) x4 U8 z6 a( ?- b3 z9 Q- f" ^' L
  796. ;;;;;;;;;;;;;;;;( v5 N" e4 _$ t
  797. 7 g1 f6 h, g* B3 \0 \
  798. ; Whether to allow HTTP file uploads.$ c; O4 D' H% S/ R0 a! w
  799. ; http://php.net/file-uploads$ h" U% m! z8 t5 @8 @
  800. file_uploads = On
    & z+ [/ Y5 B' `# W0 v: k9 d! t

  801. / E% |  G) f8 ~0 y+ m- f
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    5 w, j+ L0 j; W" P( p" u
  803. ; specified).
    8 R$ G8 o1 s) k7 u# y) _) P$ y
  804. ; http://php.net/upload-tmp-dir: Z9 n; B) d6 U+ y, J8 ]2 B
  805. ;upload_tmp_dir =- H$ C4 d2 O$ A& O

  806. ! S& m( X, B- J: J% l) |
  807. ; Maximum allowed size for uploaded files.5 T/ B5 X/ {1 U7 K+ |: Y# n4 q
  808. ; http://php.net/upload-max-filesize: }' S9 r7 ?, ?; E( H4 V: g
  809. upload_max_filesize = 50M
    - _5 ~) t; ]5 `4 O: }
  810.   h4 k( K8 D3 o/ j! \" S# c
  811. ; Maximum number of files that can be uploaded via a single request3 f) |2 O. `7 J4 N
  812. max_file_uploads = 205 Y! J) g: c) h. ^8 b; W# q5 z
  813. $ g, ?9 `. x& A0 z' y
  814. ;;;;;;;;;;;;;;;;;;1 `( e# o) \4 \; Q& |! `- a. u0 S  D+ b6 n
  815. ; Fopen wrappers ;
    ; i) n+ V1 l# a/ m
  816. ;;;;;;;;;;;;;;;;;;
    + Q' X# ^# b5 r
  817. 6 G9 K/ ?1 w# Q9 g8 j7 J. d0 C
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.7 {, P# ~. }7 f& h' U0 T
  819. ; http://php.net/allow-url-fopen- z( E8 I8 y& k1 }3 O& ~8 k# c
  820. allow_url_fopen = On& d0 d: V$ [) y! m7 T  m3 n

  821. $ F/ a% B: M, W4 D' ]0 S5 a* d
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.9 e8 u. ?8 c. N# ]0 |
  823. ; http://php.net/allow-url-include
    . p- K2 L' J9 |# g% O5 e' Q! L
  824. allow_url_include = Off
    , z# T$ c6 H5 A- Y( Y
  825. 4 t1 t) ?8 u1 b1 W& _6 q" L
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    : a& s2 [) U# X2 v) N+ s
  827. ; for this is empty.
    2 J6 X. c8 ?* I: T; F% @- q8 h
  828. ; http://php.net/from8 E3 b' ]% m( ]  x
  829. ;from="john@doe.com"
    ( n3 L2 X& A; D2 L8 O- h
  830. / r  k0 B" ]$ t; ?" N+ i- i1 \
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
      W* {6 g3 }4 O+ Z% r# B2 c
  832. ; http://php.net/user-agent7 D" n8 a4 z2 Y, y0 Y
  833. ;user_agent="PHP", E- z0 Y$ u" y, p! b' b

  834. / E( D; S& P: I: q" M
  835. ; Default timeout for socket based streams (seconds)7 z( |' K* |2 w4 C- W
  836. ; http://php.net/default-socket-timeout3 _: h3 V+ E& p# [" `
  837. default_socket_timeout = 60: S7 w' C3 ~" e' `2 s. B

  838. 5 H& G; ~, x: ^, w* }% k% v
  839. ; If your scripts have to deal with files from Macintosh systems,% S' r5 E( c3 B' R1 L/ Z' X, O- Q
  840. ; or you are running on a Mac and need to deal with files from* Y7 D8 }  Y: l1 P. W3 E, b* z+ [
  841. ; unix or win32 systems, setting this flag will cause PHP to$ `. A. w( `1 S' n
  842. ; automatically detect the EOL character in those files so that! q+ d( }$ V0 J! ~% c
  843. ; fgets() and file() will work regardless of the source of the file.
    2 Q1 R7 b! _5 f9 `
  844. ; http://php.net/auto-detect-line-endings
    ! }6 l* \: O/ F9 i) x9 o
  845. ;auto_detect_line_endings = Off
    5 c  |: J! y2 a0 D
  846. 5 f5 @  Z9 |, X. f4 h7 U
  847. ;;;;;;;;;;;;;;;;;;;;;;
    ( I: w9 n& X) Y8 E- V
  848. ; Dynamic Extensions ;
    " s! t! s' h4 r; e5 N- i' B
  849. ;;;;;;;;;;;;;;;;;;;;;;
    : T  H% h; J9 H

  850. : D3 [. I1 s: c: K: u
  851. ; If you wish to have an extension loaded automatically, use the following
    / @8 \  L4 y$ c* _5 N1 ~) d
  852. ; syntax:( i% f- o4 v0 `4 w3 m
  853. ;
    3 n+ S5 Q8 D1 S' m0 ?- y
  854. ;   extension=modulename.extension) r/ j3 p4 W+ A# g
  855. ;5 g! _) y1 D" R; h! O- N
  856. ; For example, on Windows:8 y+ ?) `0 _- n: m" D: ^
  857. ;
    4 [1 ^! z7 G; @: `' Q) O0 o4 v
  858. ;   extension=msql.dll
    ( e) Q" e, f2 q3 I: ?( f/ v
  859. ;/ p8 J' m. B4 D) N
  860. ; ... or under UNIX:
    9 z2 l; ^# U# X4 a
  861. ;; @' n0 ?  M1 i9 J# w* U& g! @0 F/ c
  862. ;   extension=msql.so' g9 [! W  b! f
  863. ;
    3 Z# r& J% T9 T. F4 o8 z% d
  864. ; ... or with a path:- t! L" P# }1 l' N! |" Z. O  A/ l
  865. ;
    ; |. l, s( `& {: \, c* y3 W' i+ B
  866. ;   extension=/path/to/extension/msql.so7 E+ x4 }% W3 W6 l
  867. ;
    ; u2 h$ V; I: o, b* _9 j7 V
  868. ; If you only provide the name of the extension, PHP will look for it in its/ B1 A0 e9 U" K. l- i7 @  R8 y& Q
  869. ; default extension directory./ s2 M5 v# V- v0 M
  870. ;3 I4 S& u4 \. i: a" H) T- s- Z1 U
  871. ; Windows Extensions
      {0 T- b2 o4 O& Z) R" W0 D; }6 C; h
  872. ; Note that ODBC support is built in, so no dll is needed for it.7 u; y  o7 M3 n
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    9 k2 l9 e# \  T& r! x* Q
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).$ @: M/ \: n' p
  875. ; Be sure to appropriately set the extension_dir directive.
    ) s7 ]! W# r! {; x# _
  876. ;
      n; f! w- x, v7 i- [3 q
  877. ;extension=php_bz2.dll6 c7 Y! K$ C# e( P$ N. p/ {7 C" v
  878. ;extension=php_curl.dll& W6 t: ?5 v7 i* }: \
  879. ;extension=php_fileinfo.dll
    8 V  F$ [, i/ p. f0 m
  880. ;extension=php_ftp.dll
    7 y/ z% u. E/ f. S
  881. ;extension=php_gd2.dll3 q# a. M" y- a* v
  882. ;extension=php_gettext.dll8 f/ o; o% |* F; k5 e% p
  883. ;extension=php_gmp.dll
    # g2 v6 J& X+ e& z
  884. ;extension=php_intl.dll2 w+ _& T( F  u, O0 Z3 k: N
  885. ;extension=php_imap.dll
    ) o% E: M  p  |5 t9 _6 F  v
  886. ;extension=php_interbase.dll0 r$ D& O" S' ?. ^4 v
  887. ;extension=php_ldap.dll/ _( |. B' e( n0 B  I4 G3 ]- Q
  888. ;extension=php_mbstring.dll. E# n+ X- v" Y1 A
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    # `6 i  a4 P5 |
  890. ;extension=php_mysqli.dll" q$ Z* H) |. M6 w. B8 s
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client  B/ `/ K$ z' t/ S3 h, Y" q
  892. ;extension=php_openssl.dll2 m; w& k7 n4 o# \4 W" A7 V
  893. ;extension=php_pdo_firebird.dll
    6 U- @# S3 G' k' k) d0 L7 e' ^
  894. ;extension=php_pdo_mysql.dll0 {5 y! m; k+ x1 `
  895. ;extension=php_pdo_oci.dll$ @5 h" A! G3 i+ g9 B! z
  896. ;extension=php_pdo_odbc.dll* m* ?8 W# D: C8 M8 K
  897. ;extension=php_pdo_pgsql.dll/ h1 z, P0 [# Q: U7 i# g
  898. ;extension=php_pdo_sqlite.dll
    # r# W+ e; B' M. a1 J) u$ @
  899. ;extension=php_pgsql.dll; ?5 j3 C7 q3 F# U
  900. ;extension=php_shmop.dll9 y0 y2 v0 Y' C. `9 m( K5 v& D

  901. " ^; H4 {2 y% `) y
  902. ; The MIBS data available in the PHP distribution must be installed.
    ' m( \3 s" l$ Y9 h, m9 e
  903. ; See http://www.php.net/manual/en/snmp.installation.php6 l! }1 {+ h7 D3 W' O
  904. ;extension=php_snmp.dll- k" o' {8 B3 s5 k* l8 M6 |. |
  905.   F! Q" w- [6 F- l$ W9 a  i
  906. ;extension=php_soap.dll
    + D* N+ A( T- `
  907. ;extension=php_sockets.dll8 W4 `  E; G' K
  908. ;extension=php_sqlite3.dll
    ( N1 S  ^$ |, g/ X; n2 A
  909. ;extension=php_tidy.dll( j" \& m( x4 L4 i
  910. ;extension=php_xmlrpc.dll; Z+ ~/ `0 N3 ^2 c/ g, r( O0 W
  911. ;extension=php_xsl.dll7 j7 ]& L  `( R, w. R. Q
  912. 8 S5 K6 q3 `" [
  913. ;;;;;;;;;;;;;;;;;;;0 C- V; k/ k# p% N1 h4 y* P
  914. ; Module Settings ;
    ) f3 N  R% W& t6 J
  915. ;;;;;;;;;;;;;;;;;;;4 M' l* A: C4 [  r& g$ _6 n
  916. + N6 A. h  D% N$ k+ s7 g
  917. [CLI Server]4 r7 p" Q- H9 @" E  [9 Q: i8 k, V
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.% T! V7 q) ]% S1 g
  919. cli_server.color = On
    : d; G7 a0 d# H1 n( n

  920. : Q4 K9 L, F2 S9 V1 Y% q
  921. [Date]( v$ a7 m5 R+ B( k: i8 ~5 G  X
  922. ; Defines the default timezone used by the date functions
    / a( T. m% B3 g  Q, C
  923. ; http://php.net/date.timezone$ c. m$ |. @" I% N& p8 ~
  924. date.timezone = PRC
    9 i" s* O* P8 a- s9 r: K

  925. 3 B0 y! a( k+ F  H: V
  926. ; http://php.net/date.default-latitude" D2 I! m# k4 w5 r* c4 x9 q
  927. ;date.default_latitude = 31.7667
    / h9 h% n/ }5 Y) ]0 n$ i* c
  928. . Q9 F; W3 g- e9 P0 n! I: D1 W
  929. ; http://php.net/date.default-longitude
    ' g0 I2 |9 e! f9 e
  930. ;date.default_longitude = 35.2333
    3 A/ v3 }( S, n

  931. + T8 u6 g5 U9 g( c8 e. |4 _3 E0 r9 N) B
  932. ; http://php.net/date.sunrise-zenith
    . p4 U' k, t% E: r7 y$ |: z
  933. ;date.sunrise_zenith = 90.5833338 u0 _5 I) Q, n) Y9 R# y

  934. 8 p3 k& Z2 p* O. O; F
  935. ; http://php.net/date.sunset-zenith" m2 D& b' r3 [0 h; E: P4 |
  936. ;date.sunset_zenith = 90.583333
    + q( p! Q* k- V/ \

  937. - @% o+ u9 F7 E$ u9 E# }& h% s
  938. [filter]
    + r9 O1 ^& [( i; l. I4 }
  939. ; http://php.net/filter.default0 K  P' Y  H! K6 _0 z
  940. ;filter.default = unsafe_raw# X* F- W1 l1 T  j  s

  941. ( T: P# Y6 J9 ~# W1 G) z8 P
  942. ; http://php.net/filter.default-flags
    ! F$ a" A8 G) d3 t# B
  943. ;filter.default_flags =5 ?: p# t+ p' q3 b% B3 [& ~9 E

  944. ! }# d$ L8 O8 s
  945. [iconv]: D1 c* {: _* R5 z. L
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    4 @9 e) z  r; O/ q* o+ Q- R
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    . k# D6 Q# e' I8 n  h2 W: h
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    5 O+ {7 J7 \" S& I1 G7 L
  949. ;iconv.input_encoding =
    1 C1 ], v( g# d. q' N: S
  950. $ ~3 |. Z, c# h9 [8 f
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.1 `& L$ p, I6 V! A8 M
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    : L& ^* ?3 m$ H& c+ \, \7 {* `
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding# R3 u. @2 s& b# U$ c" @
  954. ;iconv.internal_encoding =
      m3 i+ y" g* r

  955. $ B, l" D3 Y* E7 \% B% a0 J
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    8 H6 D+ c7 ?% l$ ~2 T9 V
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.+ S( t- J6 q# {  a* q3 I+ K: K
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ) e, B' l. p: y+ p
  959. ; To use an output encoding conversion, iconv's output handler must be set. D: z3 C1 I2 ~( p, d
  960. ; otherwise output encoding conversion cannot be performed.5 M4 l  I/ m( e4 ?2 y1 U$ U9 H$ O
  961. ;iconv.output_encoding =& \. E( W" Z/ ~' Z6 p+ V; Y
  962. * m1 x; e- w/ D* V  Q
  963. [intl]
    $ f, ]+ U0 J6 H
  964. ;intl.default_locale =1 I  Y0 |3 w7 E( Z
  965. ; This directive allows you to produce PHP errors when some error0 [- D0 f+ ~* T) L# v$ w  |9 x
  966. ; happens within intl functions. The value is the level of the error produced.5 N) A& f: f, R% D
  967. ; Default is 0, which does not produce any errors.
    * t) b) D2 E" n3 U8 u
  968. ;intl.error_level = E_WARNING1 G  \. `# A4 p; ^) r2 {) u
  969. ;intl.use_exceptions = 06 W7 N/ z' W$ D, O1 K

  970. / I- h8 A( j# r0 `- f; J% x# z# L2 p
  971. [sqlite3]5 l3 @3 v. n0 @9 @
  972. ;sqlite3.extension_dir =8 v: {8 Y3 S" C3 P
  973. 3 K  J$ K! v0 o, `6 d) o- m. b7 ^
  974. [Pcre]- u' _: F0 _, w
  975. ;PCRE library backtracking limit.
    ' z0 w) G' X4 N7 t. i) L
  976. ; http://php.net/pcre.backtrack-limit
    " e& C3 K: E3 v
  977. ;pcre.backtrack_limit=100000
    - Y6 E6 b8 X( G: c1 e9 a, Y

  978. . A, q6 {$ f) B
  979. ;PCRE library recursion limit.  \! H2 c: k3 K& K- N+ M! S
  980. ;Please note that if you set this value to a high number you may consume all' }: a: u' A; _4 z
  981. ;the available process stack and eventually crash PHP (due to reaching the, _% |  ?. G. r! n
  982. ;stack size limit imposed by the Operating System).
    2 f1 R6 ~1 n7 h$ e# z# z) B( M
  983. ; http://php.net/pcre.recursion-limit: }* ^; F8 P2 J1 D, F' Z% C- s
  984. ;pcre.recursion_limit=100000& _/ P) r9 a7 h0 ^; f8 R( `

  985. 5 K0 N' Y# n* _0 i( b
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    # v& D0 O# H* o3 F
  987. ;library to be compiled with JIT support.7 a% g0 e; @, s
  988. ;pcre.jit=1
    1 E5 f6 [2 L- P% j, J$ Q; b

  989. & ^5 H1 {* C0 [
  990. [Pdo]
    6 g8 D2 E6 `; M0 h- |9 S2 `
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"+ ]! D& Y" f2 r8 w
  992. ; http://php.net/pdo-odbc.connection-pooling
    . V2 H1 ?3 h4 w& j
  993. ;pdo_odbc.connection_pooling=strict
    ) S7 z7 F0 v! r5 s2 V, c4 U

  994. ! \. m% R' ~/ Q7 x
  995. ;pdo_odbc.db2_instance_name
      l7 u4 P1 K: ?5 N+ a9 N. ?+ z
  996. * d4 z. P1 p& P0 Q) k
  997. [Pdo_mysql]1 k7 ?( m* J. Z1 j; R
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    1 X: G$ Z& J, O, {: P' Q. ~
  999. ; http://php.net/pdo_mysql.cache_size
    0 I/ ~# s0 i5 \; \) C& P
  1000. pdo_mysql.cache_size = 20006 ]$ o2 _' V3 ]% q! r9 c* c
  1001. ) M- [7 c9 U5 C, j# \
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    - a6 C* I0 s- r7 o8 Z
  1003. ; MySQL defaults.
    + s9 v, M7 \0 Q. n
  1004. ; http://php.net/pdo_mysql.default-socket
    # f4 G, [' q- ^: z
  1005. pdo_mysql.default_socket=
    + [4 J2 i* n+ q9 x" j  [' ~
  1006.   ^* \7 b8 h3 S) X0 Y
  1007. [Phar]' U+ x! ^* E8 {) {* S
  1008. ; http://php.net/phar.readonly' f  n# A0 F8 O" B) x# y7 T
  1009. ;phar.readonly = On
    : _( g, s( D: R. @; ?

  1010. : L) s$ x. V0 o/ y
  1011. ; http://php.net/phar.require-hash9 U/ h( N4 w" a" I: ^
  1012. ;phar.require_hash = On: b& h5 |' i* V/ f" x
  1013. 8 p+ e/ L6 _  R+ w6 W
  1014. ;phar.cache_list =
    ) {8 k4 D* c' o5 M) k/ h5 t
  1015. 9 i& \! I  L: _+ P
  1016. [mail function]
    0 o7 N2 v  e/ d& Y
  1017. ; For Win32 only.6 |) f) ^1 X3 g( R, b( ^7 |" ~  F1 V
  1018. ; http://php.net/smtp0 F$ a9 y" X# `$ Y  v  t
  1019. SMTP = localhost
    $ h$ N3 H3 a' @: h: _3 T
  1020. ; http://php.net/smtp-port  c, n7 x% N* d. g& S; E
  1021. smtp_port = 25
    . _! O4 b1 d& G/ R

  1022. 1 |3 P- Y, B$ I1 d% x1 K  @2 X: O
  1023. ; For Win32 only.
    % ^. S1 O; O# h
  1024. ; http://php.net/sendmail-from
    9 K% L5 Y% U1 q! T
  1025. ;sendmail_from = me@example.com
    % p- J2 B! X3 C( k! t2 E
  1026. - e8 F6 b7 e; M# A7 Z
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").6 U, l% E# h2 T+ L& `! n
  1028. ; http://php.net/sendmail-path
    % v! S; {- i1 O& x; O- B, q
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    # E$ S. k$ \: B/ Y- ]  I& v7 ^, m( h
  1030. $ \- X, y) a- G# c. x
  1031. ; Force the addition of the specified parameters to be passed as extra parameters& A1 ]9 G6 r, H% p0 L
  1032. ; to the sendmail binary. These parameters will always replace the value of
      U% E3 Y. l2 n5 K) Y" H' U
  1033. ; the 5th parameter to mail().4 l4 d9 J# B; r  F  V
  1034. ;mail.force_extra_parameters =, W+ b5 e/ w0 E2 S# B8 f

  1035. 7 s2 q% R( Z1 l; G/ o# Y
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename# r+ o0 s1 d2 w+ U7 ?6 W
  1037. mail.add_x_header = On# j0 e/ S! |2 L  y

  1038. 5 c  k% \1 @0 D9 J% S, V
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    & Z1 D9 O3 [( v/ d  }% C8 ?
  1040. ; the full path of the script, line number, To address and headers., ?6 Y5 X% I  a6 k+ i* e
  1041. ;mail.log =" V! r; k6 s+ A$ N3 |% B! q* ^8 y
  1042. ; Log mail to syslog (Event Log on Windows).' d, a- `" {% Z. J
  1043. ;mail.log = syslog
    - l% c; E% P) Q0 @1 h

  1044.   i  K  c$ v( l* f9 [
  1045. [SQL]3 @- i4 [; _& s! e7 z+ ~4 _
  1046. ; http://php.net/sql.safe-mode' C8 Q1 V/ ?, v+ Q; a& c" S# p7 Z
  1047. sql.safe_mode = Off- {% A  E! |2 P4 |/ O, B

  1048. 6 [, W6 }# Z& l. Z$ e. R
  1049. [ODBC]
    ( q" T# O3 b- a$ u( H0 a; ~7 k
  1050. ; http://php.net/odbc.default-db, v, J6 f# r) _6 y$ ]2 v5 j" {
  1051. ;odbc.default_db    =  Not yet implemented6 {  L: I$ r. @% b" Q
  1052. ' Y& f, t0 N+ l* E8 x0 X4 ]. @
  1053. ; http://php.net/odbc.default-user
    # [0 F$ e6 s+ l! k) E, T
  1054. ;odbc.default_user  =  Not yet implemented( i5 b0 H6 r+ F/ p

  1055. : @2 F7 X$ h$ m: M
  1056. ; http://php.net/odbc.default-pw+ b0 B  J+ X( U! N* h8 e: R9 R# T
  1057. ;odbc.default_pw    =  Not yet implemented
    ( J: x1 x+ G7 M6 a  u2 G
  1058. + `6 _7 m. |/ d; P
  1059. ; Controls the ODBC cursor model.' M7 K9 |  U( R, y& u
  1060. ; Default: SQL_CURSOR_STATIC (default).
    7 y3 `, u' ~4 g7 |! m- ?- B
  1061. ;odbc.default_cursortype# ?5 T4 S6 v" ?. T3 O- t) g

  1062. 4 [# o2 Y: s! j* L8 O3 g
  1063. ; Allow or prevent persistent links.+ U, l  T6 n+ H: w
  1064. ; http://php.net/odbc.allow-persistent3 y' P: I' Q1 x  p2 s1 b# f; l
  1065. odbc.allow_persistent = On( ?" w" N: A: `5 j7 j
  1066. & T0 m/ J6 O9 r) a( O
  1067. ; Check that a connection is still valid before reuse.7 k# D2 \1 ~5 p8 g
  1068. ; http://php.net/odbc.check-persistent
    % n$ c1 k& h6 p
  1069. odbc.check_persistent = On
    8 V+ t0 _4 A8 P/ n1 w( ]

  1070. 2 ~. P- X- z' n: `% e
  1071. ; Maximum number of persistent links.  -1 means no limit.5 l9 X$ W* [% X+ M( c$ [8 d
  1072. ; http://php.net/odbc.max-persistent3 p# y8 y; p2 q
  1073. odbc.max_persistent = -17 |% C* v4 a0 i6 o! q& M" ]+ g

  1074. 5 T" ]  @2 u, @3 E
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 V4 F9 F' H! K: h
  1076. ; http://php.net/odbc.max-links
    ) W% ]! y  a) Z8 G: f
  1077. odbc.max_links = -1
    6 r# G% ~3 ^2 N& J0 ^* ]3 t% x
  1078. ) @. ]) [2 r# f3 a
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means6 f5 I9 l7 z$ V$ X, F+ {
  1080. ; passthru.5 p) n" O/ I" W1 w" B% z4 x, m
  1081. ; http://php.net/odbc.defaultlrl; o, s3 {6 {2 x% D5 j
  1082. odbc.defaultlrl = 4096$ }" ~$ ]2 |) e6 v& l
  1083. / F1 q' `' }* i" ?
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    7 H5 e( E2 C; X* p; Q
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation, n+ B7 B( h7 T; W0 |2 w
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode4 l+ ~7 S/ Y8 c# W2 {" v5 k* l
  1087. ; http://php.net/odbc.defaultbinmode
    8 B8 e' `7 `4 y
  1088. odbc.defaultbinmode = 1
    / k. q& Y2 t; v. L1 i
  1089. ) R+ J* {( h5 x* B) D0 \
  1090. ;birdstep.max_links = -1
    8 T) F8 ]" D& X" O, k( r  L3 N
  1091. : P" z# h) j+ C
  1092. [Interbase]6 d! s  i9 F/ Y1 U9 G
  1093. ; Allow or prevent persistent links.
    8 `2 I7 u  H: e9 |. i
  1094. ibase.allow_persistent = 15 o  W+ I/ H6 w7 K& M

  1095. 6 w. r4 u! ^) m' t# ?
  1096. ; Maximum number of persistent links.  -1 means no limit.
    7 l  z7 S# Q0 Y9 s
  1097. ibase.max_persistent = -19 K2 i% }$ Z2 \, g1 \9 K5 ]
  1098. ! z6 w6 D  ~) |
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 h" f  m  a" {( Z1 @& ^# x0 H; Q* z
  1100. ibase.max_links = -1
    # W% @% q. r& _8 _, T2 B5 y

  1101. / X7 v3 w# k! |# d% Y) X* {1 g8 V
  1102. ; Default database name for ibase_connect().
    8 F* r; @: [+ V) r
  1103. ;ibase.default_db =* W5 c( ]* z2 s# P& i. x( f% _

  1104. ( u5 O) m, p: S" _9 @1 U. d# B
  1105. ; Default username for ibase_connect().# I; ]* I( v, i. O7 \5 P
  1106. ;ibase.default_user =' Q6 I! }7 }9 Z
  1107. ) t2 F/ K* c! z/ h9 x7 ~, @: k
  1108. ; Default password for ibase_connect().0 R% {/ C8 o9 S+ e$ G; z
  1109. ;ibase.default_password =/ H  i# k2 f4 w& J: U( F  e

  1110. , u/ y4 Y9 U. Y  q7 Y
  1111. ; Default charset for ibase_connect().0 l# W! v5 x7 R; E
  1112. ;ibase.default_charset =
      H5 x& f/ M# a* b  {
  1113. ( O) K0 n: s1 m  e
  1114. ; Default timestamp format.1 h: w) U+ V  i& k
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    + A# S7 a( g- c0 h+ x
  1116. 2 }; T" c" J5 J! C. F% D# z' p: `& T! A/ {
  1117. ; Default date format.& K1 e3 ~$ X! o1 u, i4 Q
  1118. ibase.dateformat = "%Y-%m-%d"
    " y+ V' r0 c7 f+ l$ w# p$ ^, `
  1119. . m9 K" r; {% [# ^5 u
  1120. ; Default time format.
    $ \9 d* a& T* n3 C* H: t+ i% H" h
  1121. ibase.timeformat = "%H:%M:%S", u4 v( ]% _. `

  1122. 4 t  Q5 z/ z% d' d2 @3 o' u3 ^2 ^
  1123. [MySQLi]5 x+ b7 z& |; q  {3 a
  1124. + M: }' X8 o- ?3 O# r6 z* v
  1125. ; Maximum number of persistent links.  -1 means no limit.
    / o% S1 n. j7 y8 l" }
  1126. ; http://php.net/mysqli.max-persistent5 x  h9 J3 C3 {" S0 e
  1127. mysqli.max_persistent = -17 I6 W* p$ f& n; [  `. }1 g  z- T
  1128. 1 G1 [7 q/ `, @$ J% ?
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ! Q' g2 `! \5 H
  1130. ; http://php.net/mysqli.allow_local_infile
    & J* u* Z( ^" p( u- y- p
  1131. ;mysqli.allow_local_infile = On! Y! K& i1 i$ b" y

  1132.   t. t) P6 n+ N& ?2 S
  1133. ; Allow or prevent persistent links.
    . m6 B. a- L$ Y3 x: G0 a2 F% k
  1134. ; http://php.net/mysqli.allow-persistent- p9 W7 [) g) m/ a% e& M
  1135. mysqli.allow_persistent = On
    # z3 G& R. c. b( P+ F  ^. l: e2 D

  1136. 0 @. t' y$ N+ {
  1137. ; Maximum number of links.  -1 means no limit." }$ o. J0 ?) ?9 h
  1138. ; http://php.net/mysqli.max-links
    , M3 A) U' l! j* ?- ?2 E1 W3 J, u
  1139. mysqli.max_links = -1' X+ l- t# m. T# _2 i
  1140. 3 s7 n9 Y2 N' N" r
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache6 v/ @; J3 ]& h
  1142. ; http://php.net/mysqli.cache_size# }% @7 w3 f# @3 a+ z. {
  1143. mysqli.cache_size = 2000
    ; n$ g% u) x- _! |2 ], S

  1144. 0 _# J; v- @' k) p
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use: R% R9 Z& [3 S) w# X- M6 A
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the. `2 H/ a* L9 P6 L  q) e6 F  t
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    & u# W" y9 u/ }8 f
  1148. ; at MYSQL_PORT.
    7 b, Z; O0 s4 x5 {
  1149. ; http://php.net/mysqli.default-port
    : y5 _" Q- C& l* _* S' v4 z
  1150. mysqli.default_port = 3306) j( \0 Z  p+ J7 p) Y/ F

  1151. ; W8 F# R- v7 i
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in2 T2 b& T8 v$ l8 \  N
  1153. ; MySQL defaults.+ Y1 j' C5 t% E( w+ i3 S  m
  1154. ; http://php.net/mysqli.default-socket0 w4 U: o5 O$ @' V/ I
  1155. mysqli.default_socket =
    & l6 t" `, M8 A  K7 L' W2 ]
  1156. 7 y- x5 B) W# @$ I
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    # e0 b* T, _1 {
  1158. ; http://php.net/mysqli.default-host1 d4 }. U  d! T( ~& o% ?3 m
  1159. mysqli.default_host =
    + x! Z) H% L4 V6 L4 p* E
  1160. * e9 w! m$ g- `# H- A9 i
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    . x% _# A  S8 d3 m  r+ ]9 V1 w
  1162. ; http://php.net/mysqli.default-user' O$ \5 P3 T2 R- C
  1163. mysqli.default_user =/ a+ M5 }2 O8 B& d

  1164. + P; o/ v7 r3 j: T4 V0 h
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    " G; ?: o4 M+ P0 j6 V* Q, X# J- c( a
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    7 L5 b6 h: c  {9 Q
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"): D( B+ D! Y+ ~6 R
  1168. ; and reveal this password!  And of course, any users with read access to this8 M2 E) c" J8 D2 Q. t, @
  1169. ; file will be able to reveal the password as well.# O4 Y0 m) ^5 V2 M
  1170. ; http://php.net/mysqli.default-pw0 W5 C( @0 u. P7 Y" X
  1171. mysqli.default_pw =5 o. g( h: d! D' Q9 l

  1172. ( W, j$ @! G! i% r
  1173. ; Allow or prevent reconnect
    8 W+ O) v  N/ e) C# i
  1174. mysqli.reconnect = Off
    # y8 R5 s: i9 z/ Q- f( ^6 o2 s
  1175. + K" w9 x4 w6 [" I) G  A
  1176. [mysqlnd]6 M8 L- c& A# K
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be. w* F1 {3 O1 Y8 c* p5 ^, r: P8 ]0 z
  1178. ; used to tune and monitor MySQL operations.
    : S4 j+ [2 g( D2 S1 K
  1179. ; http://php.net/mysqlnd.collect_statistics
    9 p! f; C, P; v+ u
  1180. mysqlnd.collect_statistics = On% o6 Q* O/ P% x! G% e

  1181. & p6 M. ^8 G# P8 E% U1 a
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be: M2 X% u& s: u9 T8 e
  1183. ; used to tune and monitor MySQL operations., q( _7 [7 ]! s$ B8 I
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    1 O# W+ C3 A, r* G  @9 H/ k
  1185. mysqlnd.collect_memory_statistics = Off
    2 |& H/ j5 |, S8 `# h3 R4 f- K

  1186. 6 ]  p: Q( c% |6 d9 z6 Q
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    , {0 U9 c" o, u! [9 ^1 |3 ]  V1 {" c
  1188. ; file.0 q5 X7 ~' e3 j! K; D
  1189. ; http://php.net/mysqlnd.debug6 @2 S2 l4 x& h7 V- n6 [
  1190. ;mysqlnd.debug =
    ' @' ~( t8 B9 a
  1191. 5 x2 S* U; g" A0 y2 T0 m" K' q: S
  1192. ; Defines which queries will be logged." W2 \9 ?$ N, c8 m% x. a3 k# N; Y
  1193. ; http://php.net/mysqlnd.log_mask8 i, l8 M2 @$ J' x
  1194. ;mysqlnd.log_mask = 05 L2 ^" m6 a% r8 r

  1195.   S* a& k2 I% W& D6 s
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.9 ?0 Q$ G0 M5 X2 ?2 l5 }
  1197. ; http://php.net/mysqlnd.mempool_default_size0 D# c$ G  z2 l" u
  1198. ;mysqlnd.mempool_default_size = 160004 E; D* n! O0 U, |

  1199.   W8 H* P- X" \
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    # W2 v0 q- p8 u3 m# Z5 p  v
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size, @' ^1 S' p2 J9 ^$ h
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    ' ^  m# x# j" O# g

  1203. & Z6 w# i* C& T7 t. I  w3 @& Z# [) e
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ! {  u& e8 n) O1 v3 |# X0 E
  1205. ; bytes.8 X4 F4 B/ H/ K4 m5 v
  1206. ; http://php.net/mysqlnd.net_read_buffer_size7 z. y; f  W1 i3 G- _# m3 ?* M
  1207. ;mysqlnd.net_read_buffer_size = 32768
    9 c1 X4 _% J4 v) I3 i: A
  1208. & G+ [  L* X' k7 @/ t" ?( d+ p
  1209. ; Timeout for network requests in seconds.! V2 p, o! l" ?" r! l( y" I6 i' s8 y
  1210. ; http://php.net/mysqlnd.net_read_timeout; P9 J7 t& l- F# \& s9 x7 V
  1211. ;mysqlnd.net_read_timeout = 31536000
    # V% L& g: C& n' y) W* s
  1212. $ Z5 b% p3 d9 K! j& v
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    1 T* i8 g* h2 }! S9 Z% ^- c
  1214. ; key., E. c9 E0 Z) c+ i8 y# p' Z
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    % n0 D1 g' d& q- Y; R6 s5 I
  1216. ;mysqlnd.sha256_server_public_key =
    ( R0 r* g5 \. n' s
  1217. - h) [; R! i* w! c. k
  1218. [OCI8]7 c8 J; V* P- N/ k
  1219. ! e' o7 K. f  ?0 N9 O" |
  1220. ; Connection: Enables privileged connections using external) }3 N) v1 i& D
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)& a6 K/ X$ V  |: M2 w) z
  1222. ; http://php.net/oci8.privileged-connect) l9 |0 j5 Z- p- }* {, h" z
  1223. ;oci8.privileged_connect = Off, ?) I3 f  @3 j$ s8 X

  1224.   ?+ j7 P+ z3 @8 n$ `
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    ! v* H9 ~+ r3 r& v( Y( r/ t+ T4 {
  1226. ; process. Using -1 means no limit.
    9 J) n/ n4 g5 b9 ]' K
  1227. ; http://php.net/oci8.max-persistent
    % {% _" q8 C. b2 Y
  1228. ;oci8.max_persistent = -1" j3 B) X# b! N$ W

  1229. / |( V' Q, G6 F
  1230. ; Connection: The maximum number of seconds a process is allowed to
    . p/ _; w5 _3 N7 @& p0 h2 p
  1231. ; maintain an idle persistent connection. Using -1 means idle
    & r# D" Z+ f1 \" k" l& Q# M
  1232. ; persistent connections will be maintained forever.
    9 j+ F2 X1 u5 e  {4 X/ L
  1233. ; http://php.net/oci8.persistent-timeout* n3 a+ K0 I3 V, W( L* h( X
  1234. ;oci8.persistent_timeout = -13 `$ F% |7 A3 s" k

  1235. ( M3 ~4 }; S7 P' i
  1236. ; Connection: The number of seconds that must pass before issuing a3 v4 H! L) R0 J' k1 {" j
  1237. ; ping during oci_pconnect() to check the connection validity. When
    $ H1 ~/ e2 W+ _" C
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    " L' d7 Z1 [( s
  1239. ; pings completely.
    9 i* a/ j( l+ j0 \' _
  1240. ; http://php.net/oci8.ping-interval
    9 d1 H. Y8 w. q/ {; f5 U- U5 j
  1241. ;oci8.ping_interval = 60: b5 w8 [, ]* W4 f+ B
  1242. 0 W: T- {7 x% f/ j& Z0 s
  1243. ; Connection: Set this to a user chosen connection class to be used" O2 T& o2 i, {' k
  1244. ; for all pooled server requests with Oracle 11g Database Resident( c) S0 a3 Q, |( F
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    2 c8 N# _. @& c- @
  1246. ; the same string for all web servers running the same application,
      G+ Q8 G8 }/ ]. j6 i- S
  1247. ; the database pool must be configured, and the connection string must
    * f& o6 u7 o" ]2 R; i  W
  1248. ; specify to use a pooled server.
    $ \6 R, `0 c# o( _; I8 r
  1249. ;oci8.connection_class =
      q7 B$ j# s( a! u8 J

  1250. * |+ D. `1 p- v
  1251. ; High Availability: Using On lets PHP receive Fast Application
    $ g5 s, j- M/ B' l6 p0 n* g
  1252. ; Notification (FAN) events generated when a database node fails. The& R$ \. p0 Q# s6 L& ^# W
  1253. ; database must also be configured to post FAN events./ n: c7 m( ~( f1 p/ z
  1254. ;oci8.events = Off
    , i! W' f/ \9 b4 E- W( m

  1255. # A+ i. c; W. k6 G- ?5 O6 w) Y
  1256. ; Tuning: This option enables statement caching, and specifies how
    4 z* y. w; A  P' |' `4 `- j# y0 `  s
  1257. ; many statements to cache. Using 0 disables statement caching." F3 n9 d2 i; Y
  1258. ; http://php.net/oci8.statement-cache-size6 m  o/ m6 O3 ^9 J
  1259. ;oci8.statement_cache_size = 20- ]9 j! O+ H6 o' B4 Z2 R& B4 I
  1260. / j1 z  b5 I1 p0 b0 F8 Q
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    ( O' `" g3 C. J$ U7 K2 m( N' B2 _
  1262. ; rows that will be fetched automatically after statement execution.
    5 l8 D0 @/ b! S5 z
  1263. ; http://php.net/oci8.default-prefetch" w7 h$ }3 k1 `  s; H
  1264. ;oci8.default_prefetch = 100) T, D$ ^2 J8 y$ k, m; d
  1265. ) B$ G" A1 B+ B* q2 _' D4 N0 B
  1266. ; Compatibility. Using On means oci_close() will not close2 R7 K5 q" v$ k4 c5 o
  1267. ; oci_connect() and oci_new_connect() connections.
    5 ?1 Y# @- r' E' }3 d4 ?
  1268. ; http://php.net/oci8.old-oci-close-semantics
    & B7 ~9 ]& X1 e* d" a/ C1 F/ A5 M8 H
  1269. ;oci8.old_oci_close_semantics = Off
    & b) H, m: z& A8 y: ]7 L+ X
  1270. 7 F5 O2 Z, y4 E. [( p
  1271. [PostgreSQL]
    - R5 e% i  ]4 V: k6 P) q8 z
  1272. ; Allow or prevent persistent links.( }( s/ c' h/ z7 A6 l
  1273. ; http://php.net/pgsql.allow-persistent
    % z- S/ |7 d7 {9 o! ^$ D
  1274. pgsql.allow_persistent = On
    . {! F, J4 [8 A
  1275. + W7 W; s* k7 ]) ^
  1276. ; Detect broken persistent links always with pg_pconnect().
    + ^1 o, ]0 ?; t$ u& m
  1277. ; Auto reset feature requires a little overheads.
    9 a$ s" j  k) @; O5 J. ~
  1278. ; http://php.net/pgsql.auto-reset-persistent( m$ U3 }+ |" m& c0 C
  1279. pgsql.auto_reset_persistent = Off
    " C1 O( E- _! Q+ e( o$ z, o4 Z4 F
  1280. 9 K" W  R) m' M
  1281. ; Maximum number of persistent links.  -1 means no limit.
    9 e2 K! T0 l: c% W6 G4 j
  1282. ; http://php.net/pgsql.max-persistent8 V  K; Q7 z  Y  r8 h5 [' q
  1283. pgsql.max_persistent = -1, p. u6 @# N6 R5 }3 g3 g1 A
  1284. 0 [) g6 u1 u) g7 t
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ) B+ p" Z5 R% U7 ]
  1286. ; http://php.net/pgsql.max-links
    9 R7 }) C9 ^0 W4 }5 `2 f! v* _
  1287. pgsql.max_links = -1
    % v1 S: V4 S" S* i3 h

  1288. 3 k# t4 c  {% T# X- G( `1 Q
  1289. ; Ignore PostgreSQL backends Notice message or not.; u: i4 c% f0 l$ |* V9 W
  1290. ; Notice message logging require a little overheads.
    . [' A9 F( E1 b6 M! j
  1291. ; http://php.net/pgsql.ignore-notice) D* N' q. X- y8 y) D2 b
  1292. pgsql.ignore_notice = 0/ V! X9 |; H. Y6 }! F# i! s
  1293. ; [# l- D) F" `% ]
  1294. ; Log PostgreSQL backends Notice message or not.
    " ?3 t; s7 g$ q' A/ A; F
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    8 ~( S. X4 J- K
  1296. ; http://php.net/pgsql.log-notice' Z9 u1 u7 Q9 U0 J2 ~, G8 I
  1297. pgsql.log_notice = 0
    ; W9 L: j  Z- \+ ^" g# {
  1298. & u* R) }: w" i/ z9 J; [% u
  1299. [bcmath]2 y( z' Z- @% g
  1300. ; Number of decimal digits for all bcmath functions.+ ^; g& C! z3 b/ }
  1301. ; http://php.net/bcmath.scale& }: P: t; k) o, M, P' T8 r5 ]
  1302. bcmath.scale = 00 C! _6 L# x1 z
  1303. 6 g" M4 F4 Y- V5 b/ [
  1304. [browscap]
    0 ~/ @, H7 `. V9 X6 r! h/ b( ^
  1305. ; http://php.net/browscap/ N" E0 @. D0 e& S
  1306. ;browscap = extra/browscap.ini4 b, t7 k' s; V* s! R
  1307. - Y" i; Z2 J- T, x  A
  1308. [Session]
    $ g3 v: z) L; y& b; G& d' w: }
  1309. ; Handler used to store/retrieve data.
    ( L% W. }: F" ~: y3 s, ~4 |
  1310. ; http://php.net/session.save-handler- A: D9 t- m! V8 Y
  1311. session.save_handler = files' f: @) s/ Z% N# ?) J$ f. i7 a' U. w, F

  1312. ; \8 ]$ C- ]/ O* f: H. E
  1313. ; Argument passed to save_handler.  In the case of files, this is the path! t" l+ w+ @3 G1 r! i/ ^- H- R
  1314. ; where data files are stored. Note: Windows users have to change this
    ' J6 r) U/ Z5 P  E9 x# `- M
  1315. ; variable in order to use PHP's session functions.
    $ e1 q( L5 X3 ^  }4 c
  1316. ;
    0 X# b2 F% A+ W: V$ O* T6 W
  1317. ; The path can be defined as:
    7 L; X$ \: I. r' m+ Y, m
  1318. ;9 S8 b, J8 u- I8 o
  1319. ;     session.save_path = "N;/path"
    ' D/ M* p! V9 _, w; f6 i* F/ z
  1320. ;
    1 k+ R- }* }3 X
  1321. ; where N is an integer.  Instead of storing all the session files in* K6 O4 X- c' n6 U. }  G. M, @
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    : {$ F1 c6 g% _: l
  1323. ; store the session data in those directories.  This is useful if% s7 i6 ^3 t$ L( G1 ?# ^# C
  1324. ; your OS has problems with many files in one directory, and is* G/ Q" P/ U  Q; h! J/ F  E. ?
  1325. ; a more efficient layout for servers that handle many sessions.7 Y2 p, [' u) G# y7 G  v
  1326. ;
    & o6 R4 B8 L7 G+ [0 \: o* r7 n0 A
  1327. ; NOTE 1: PHP will not create this directory structure automatically.5 X. l" F6 O* Q$ U3 A" N
  1328. ;         You can use the script in the ext/session dir for that purpose.5 f1 v6 h& o( j5 a' g+ Z
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    ( V; H5 [' a$ B0 ~9 \
  1330. ;         use subdirectories for session storage
    2 ]' p/ D. u+ q% ~  u) B$ r
  1331. ;$ L- U& L& u9 F6 k0 [, E
  1332. ; The file storage module creates files using mode 600 by default.
    1 a* x4 M7 Y0 B5 H. L* h4 O" Z% ]
  1333. ; You can change that by using
    9 y$ c% w& j/ I
  1334. ;+ M6 `3 i3 J* P4 x" ~6 E7 O6 f
  1335. ;     session.save_path = "N;MODE;/path"
    9 g, v3 O) j9 n& w2 H; w
  1336. ;
    & p$ ^' F5 ?! S" u
  1337. ; where MODE is the octal representation of the mode. Note that this/ _" Q" D) o- \1 X
  1338. ; does not overwrite the process's umask.
    4 @$ c4 M0 O/ Z7 O, a" t8 p. [
  1339. ; http://php.net/session.save-path1 a. W+ {2 G5 z4 z
  1340. ;session.save_path = "/tmp"/ ?' N9 b3 Y1 f/ ^6 K- [5 X
  1341. 1 v0 i( X2 Z7 }3 g. b9 e
  1342. ; Whether to use strict session mode.
    6 M' R) j2 I# z3 [4 {. f- \
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate# }+ h4 s- S: d$ P7 L7 C8 Y' R
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects/ G  g" O$ \1 t
  1345. ; applications from session fixation via session adoption vulnerability. It is
    6 u3 s; A% i" O2 T
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ' S% e: C6 j; r$ M4 S5 V
  1347. ; https://wiki.php.net/rfc/strict_sessions
    3 c0 @" X0 y( q$ h6 X( n' g- C
  1348. session.use_strict_mode = 03 ]9 E. w9 n" L) v: H# V

  1349. - \5 D8 {" b" @% O5 F
  1350. ; Whether to use cookies.: ?9 E% i4 F" D. E" n* I# u6 K
  1351. ; http://php.net/session.use-cookies
    . O3 w( X* n& _# m, S
  1352. session.use_cookies = 1
    : n5 T. h& \" P' N3 {

  1353. 1 O' F/ T9 R, m' A: {
  1354. ; http://php.net/session.cookie-secure$ h0 K+ H# J! q
  1355. ;session.cookie_secure =5 x/ [. N- B( f- q, n1 q- d
  1356. 8 ~( v. {, {2 |! |
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    % a9 H7 F( o4 s7 d
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    : D( {0 ?5 e: T4 `& M
  1359. ; session hijacking when not specifying and managing your own session id. It is
    9 Z0 U9 _; f$ ?
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start./ P2 H9 I" `* l. p; C
  1361. ; http://php.net/session.use-only-cookies
    . r4 r* ^3 ~) V1 U6 f8 b# |
  1362. session.use_only_cookies = 16 I1 ^7 L( p) ]

  1363. 3 D4 T) r% U" Z: Q4 B* j
  1364. ; Name of the session (used as cookie name).6 T2 N/ S; Y. c9 l5 l
  1365. ; http://php.net/session.name6 ~2 C7 H) O- ^; Z" a
  1366. session.name = PHPSESSID1 B& G$ \' ^% }  \5 S4 f
  1367. * n# U5 r8 i" T3 d7 i2 z! ]
  1368. ; Initialize session on request startup.5 g6 H2 A' d9 k8 f
  1369. ; http://php.net/session.auto-start
    - l- i: Q2 U! k/ D' U
  1370. session.auto_start = 01 G% |6 v3 s7 Q0 T5 A& o7 ]  d/ N( P

  1371. $ n( ^  C$ F5 ]* T
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.$ M  O- g; I" G; p. w) }& F
  1373. ; http://php.net/session.cookie-lifetime8 r  h! y/ j* D: m) O/ s
  1374. session.cookie_lifetime = 0
    9 u0 q+ k; N8 n$ n8 a

  1375. " _4 D+ Z; c: n5 G# n" c3 z
  1376. ; The path for which the cookie is valid.
    ) b& K! J4 J9 \$ u+ n
  1377. ; http://php.net/session.cookie-path
    1 w. G1 C3 R' o0 l. d
  1378. session.cookie_path = /
    ' @' c* B; W1 H4 i

  1379. 3 a; n* c3 Z, Y0 U/ P6 R
  1380. ; The domain for which the cookie is valid.
    , j7 Y  b7 n" N
  1381. ; http://php.net/session.cookie-domain
    5 c" ^- z% g1 G4 Y5 a; b8 {' t
  1382. session.cookie_domain =' B* c+ \; A8 F) }1 I

  1383. ) F: K# ^( l+ w9 R; W
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
      g$ m7 x* `3 \; Q7 w
  1385. ; http://php.net/session.cookie-httponly
    + P! K: I3 ~3 ?, x
  1386. session.cookie_httponly =
    ( |7 K. X0 I  U1 i: R8 ^9 j

  1387. : j# o6 A  O+ P. ]* @3 I
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.8 W$ z; {! r" ?0 w
  1389. ; http://php.net/session.serialize-handler  ?( @. H6 [8 Y
  1390. session.serialize_handler = php) |: a7 [3 U& g+ P6 \% e- N
  1391. 2 H2 R# w2 l) O7 M5 P
  1392. ; Defines the probability that the 'garbage collection' process is started6 P- |: G8 L, {4 n% u
  1393. ; on every session initialization. The probability is calculated by using% k& e9 e% G8 |$ L: P! ]" ^$ u
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    8 w3 x$ s7 z! `$ C# ~# Y  t0 X1 i9 l
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ; ~1 ^7 f# @' R8 ?
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance, S  ~' ~. Y- V& m' {  q& q
  1397. ; the gc will run on any give request.8 p+ A/ S  L, |# _* R$ H' ^* Z
  1398. ; Default Value: 1
    , ?2 T7 ~! C+ _- t' L
  1399. ; Development Value: 1
    4 Y% G' R. o! F1 U; N
  1400. ; Production Value: 1
    ; V9 _0 f. Z; {, u4 C3 F& Q
  1401. ; http://php.net/session.gc-probability3 Z. G- W/ _0 e* N
  1402. session.gc_probability = 17 b' J4 }# s4 m6 g" e
  1403. ) K! U* l" Z" _* [2 p
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    5 \+ X' W6 i2 A
  1405. ; session initialization. The probability is calculated by using the following equation:
    $ P# Q& F: n1 I- S9 {/ C$ j, J
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and4 z, k  l, R! T( P" `$ I$ j3 o; S
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1$ z7 I, q5 Q( h* c
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance7 I7 }4 o: a- t0 \
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    5 B+ f5 W, N) @; S3 H0 j; y8 E2 c
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,& x% K# k/ T+ @
  1411. ; this is a more efficient approach.
    / f5 ^( Q, k. F2 F
  1412. ; Default Value: 100& H% d) @% I; q% I
  1413. ; Development Value: 1000. Z3 i: G$ Z8 X0 H
  1414. ; Production Value: 1000
    , `+ \. I& L' z3 H
  1415. ; http://php.net/session.gc-divisor* K/ [% d6 D% {# n9 j6 q* a
  1416. session.gc_divisor = 1000$ ?/ \6 \% q: q+ L' S# ^: S8 n

  1417. : Y& k9 X8 q9 S, e. }
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and! M* j" ^( @4 N; l1 L
  1419. ; cleaned up by the garbage collection process.
    8 M- S5 n  I: ]4 ^( u
  1420. ; http://php.net/session.gc-maxlifetime& S7 _* S- K4 O
  1421. session.gc_maxlifetime = 1440" a2 U3 f9 P/ G- z
  1422. , U5 F/ t9 Z) u8 U+ [6 Z( C
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    5 o$ C7 @1 G1 a; A( H3 G
  1424. ;       (see session.save_path above), then garbage collection does *not*" o, m( S( k; D+ [
  1425. ;       happen automatically.  You will need to do your own garbage( ~' g( Q8 s: v$ A: {0 _. l
  1426. ;       collection through a shell script, cron entry, or some other method.. }3 H& D1 }3 W3 L, ^8 {
  1427. ;       For example, the following script would is the equivalent of" N/ v0 q" R  {: V
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):7 h1 j+ |3 \5 i, Z1 x( S2 `: h
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm; B$ r, J/ t3 J1 u. v

  1430. : t8 B4 F: N2 M8 K/ }+ B
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.0 t* d0 o2 I0 H) z4 Q1 t* q5 S( d. F
  1432. ; HTTP_REFERER has to contain this substring for the session to be
      H3 `% V' E: v9 }1 j
  1433. ; considered as valid.
    # w2 i. ^7 c# B* c/ l
  1434. ; http://php.net/session.referer-check
    ) B' j, Z. K6 _( t$ a6 U( E: D6 j
  1435. session.referer_check =
    + K( c0 b# g' `8 I3 [& e- C. e

  1436. : ]* J9 x* P$ _; c; x# g
  1437. ; How many bytes to read from the file.; A' T6 l* q' M3 W4 w. }, t
  1438. ; http://php.net/session.entropy-length
    # r5 s8 S& f$ {" |0 N, i
  1439. ;session.entropy_length = 32
    3 ^7 ^8 |) {0 T) j; A8 Z; P
  1440. ; |+ M0 R9 g2 a9 A+ q: q& U
  1441. ; Specified here to create the session id.% g; N4 Y; E7 E$ r: y5 G
  1442. ; http://php.net/session.entropy-file
    5 D$ U# [3 \- y8 P3 T( u
  1443. ; Defaults to /dev/urandom
    " w  [; F/ |/ l. z: s) j: m! `: E
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ' D$ Z1 H. D+ j, J
  1445. ; If neither are found at compile time, the default is no entropy file.
    & t) I: z" v4 F) U7 K
  1446. ; On windows, setting the entropy_length setting will activate the
    / Q2 u4 {4 b4 S% L- S2 A
  1447. ; Windows random source (using the CryptoAPI)
    % e  g, D; i4 P  }+ S! G3 A
  1448. ;session.entropy_file = /dev/urandom. r/ G9 i; G- y6 I
  1449. : M8 s" J, `& K3 z# \
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    7 m+ M5 v8 Q! j
  1451. ; or leave this empty to avoid sending anti-caching headers.
    2 T6 |3 R' O4 l* i. |# _
  1452. ; http://php.net/session.cache-limiter
    4 H/ @! T  k; z) `7 R
  1453. session.cache_limiter = nocache
    % T  n5 Y8 K" ]8 v7 K" J

  1454. - r5 R& h% n  S) g6 j1 O
  1455. ; Document expires after n minutes.
    9 W5 @$ n8 [" w; x3 K3 u
  1456. ; http://php.net/session.cache-expire
    5 Q8 Z( ~3 Q" o" G( b
  1457. session.cache_expire = 180
    . {7 l' y( j- p5 V* \5 }! X9 @( u

  1458. $ F7 q( N4 t5 {5 X
  1459. ; trans sid support is disabled by default.: d/ N& n% b7 a% P2 J6 Y( l3 B
  1460. ; Use of trans sid may risk your users' security." z- _: U0 s' p3 Q
  1461. ; Use this option with caution.
    - X, l: L, z' ]) V
  1462. ; - User may send URL contains active session ID$ `& l5 c1 \' g8 p& y' E
  1463. ;   to other person via. email/irc/etc.5 h8 x( F! Y4 ]( B  S6 B
  1464. ; - URL that contains active session ID may be stored
    / q0 Y/ v% {% o+ x
  1465. ;   in publicly accessible computer.; b' M/ K: o$ ]7 M) }1 L
  1466. ; - User may access your site with the same session ID1 c5 F6 \+ B7 ^& e' {
  1467. ;   always using URL stored in browser's history or bookmarks.
    0 I6 d- w& |  b% z
  1468. ; http://php.net/session.use-trans-sid% H* m. q  R% r4 F
  1469. session.use_trans_sid = 0  j! ]6 i% H; L, d2 z& T, s

  1470. 2 G0 E+ P1 I- ]
  1471. ; Select a hash function for use in generating session ids.
    * F( i% G& O0 w2 ?) g# s0 l
  1472. ; Possible Values
    7 K  p- C  g9 X9 ]& I& Q  Y
  1473. ;   0  (MD5 128 bits)
    1 }5 r) R" l  O9 a+ b# v) s- o
  1474. ;   1  (SHA-1 160 bits)
    / s( i: A+ p' A3 w- a, {
  1475. ; This option may also be set to the name of any hash function supported by
    ( V! r; M8 W" D3 E* J
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()0 K7 K. b, P4 ]1 T: h
  1477. ; function.
    : p$ D; b7 K$ a* B" k' K4 l
  1478. ; http://php.net/session.hash-function
    ; ~: i. Y+ ^9 `9 P  s: e# D1 W% F% i
  1479. session.hash_function = 0
    3 C7 M8 ]- t1 c( E1 m2 p  h  ~+ _0 W
  1480. + b  m  V  B5 S% u5 B. a0 [* M
  1481. ; Define how many bits are stored in each character when converting
    ! J: c  E3 K- b- K" r
  1482. ; the binary hash data to something readable.
    1 O" T. [  C5 T/ J1 R5 d
  1483. ; Possible values:
    ( p+ j- o$ \3 {! |* W% L3 A0 h5 e
  1484. ;   4  (4 bits: 0-9, a-f)
    5 I: F: c6 A' C8 q
  1485. ;   5  (5 bits: 0-9, a-v)) C$ k8 l7 T; z" i) i/ l5 }
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    6 U0 j& j* U  K( {' a2 k
  1487. ; Default Value: 4
    . g! Y; E5 k: f6 L
  1488. ; Development Value: 5
    . U* G$ o  B4 E: c, i) M( E
  1489. ; Production Value: 5& @5 }; [1 Z* }4 c
  1490. ; http://php.net/session.hash-bits-per-character, n7 b+ Y2 @8 i
  1491. session.hash_bits_per_character = 5; k! }/ G- r- c8 _6 r
  1492. % s4 e( R7 I9 X$ O/ N! B
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    4 \9 ?8 K) i* m- v8 p" u
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    1 i; c6 W+ A' Z0 m
  1495. ; add a hidden <input> field with the info which is otherwise appended
    # p4 a. u, H7 a+ j9 D" M
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.$ }/ Y0 E& B  Z( I, E$ l# w
  1497. ; Note that all valid entries require a "=", even if no value follows.
    & I- V, n( [9 G: A# }( a9 g3 y
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="  e7 B6 y9 e& A- n9 d
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"5 Q% I. u3 \  j( \
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# g7 o5 `$ a0 W1 D& I! G
  1501. ; http://php.net/url-rewriter.tags
    6 ], y) ~. F& b; f3 J3 T0 o
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 h1 K4 r. m9 v1 L
  1503. 5 o+ Q" Q( W, O1 `/ G5 o4 k" W
  1504. ; Enable upload progress tracking in $_SESSION/ Q2 K  n# o6 K) I  v- d* c
  1505. ; Default Value: On
    ; v0 a+ I, E) Q( `
  1506. ; Development Value: On
    , G, J6 M4 \) a! m1 h
  1507. ; Production Value: On
    ! G/ T8 Q, B$ h' V4 s' I) c/ {
  1508. ; http://php.net/session.upload-progress.enabled
    - A) c: j) I5 D/ M/ L; T0 {9 s
  1509. ;session.upload_progress.enabled = On
    : Q% \; m& z* N& [# r8 [% m

  1510. ! I/ F' ~. ?/ {, C1 _% K  M7 ?
  1511. ; Cleanup the progress information as soon as all POST data has been read
    ( t1 m( ]- }1 P9 w6 A$ @$ u
  1512. ; (i.e. upload completed).% M1 k4 d/ z  O( D, s6 m: O
  1513. ; Default Value: On
    1 F, ?) e9 h( m' H) R$ w7 u
  1514. ; Development Value: On
    ) U) _/ ]% C# k+ d: ^
  1515. ; Production Value: On
    3 @" F; d9 ^. H6 h; H4 q
  1516. ; http://php.net/session.upload-progress.cleanup& r1 H& ~1 K/ \
  1517. ;session.upload_progress.cleanup = On8 B8 ~  r% ]( J1 ^* U/ R; E

  1518. % Z: m$ F; e# e3 l
  1519. ; A prefix used for the upload progress key in $_SESSION0 s# x4 y0 E' m
  1520. ; Default Value: "upload_progress_"
    4 L: [" A+ k- e9 t: b6 ~
  1521. ; Development Value: "upload_progress_"
    + Z" o# j7 L5 [/ Z; t5 q
  1522. ; Production Value: "upload_progress_"
    ! y/ A% ~( K0 |, Z& M& E1 t2 \3 q8 m
  1523. ; http://php.net/session.upload-progress.prefix& q; V' }! d+ I
  1524. ;session.upload_progress.prefix = "upload_progress_"6 }1 Z; Q4 k! l5 I. r6 r
  1525. 4 \6 B& e6 x4 g- Q" H  X1 p6 J
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    - E8 S- ?/ l' b2 P* j& `
  1527. ; containing the upload progress information
    6 t3 A  O- V+ [: G
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 x; N* V7 a9 C/ A' O, @6 {" s5 [
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"- z' U6 s9 _: Y4 u
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    0 Z7 y4 c7 O! y. \: f  c
  1531. ; http://php.net/session.upload-progress.name6 D, n/ v* U. C+ t, ]. l& T  }1 E
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
      }5 l+ C- a6 N; Q; t% ]9 O
  1533. 7 J5 ?2 Y2 w: g, p( l1 M! y# ~6 I
  1534. ; How frequently the upload progress should be updated.
    " q: q  ^; o8 ]- B) y! T' ^
  1535. ; Given either in percentages (per-file), or in bytes
    $ B7 m3 c; {" s
  1536. ; Default Value: "1%"- J* k( o3 o" t
  1537. ; Development Value: "1%"
    , G6 e" p5 G/ \* j7 P
  1538. ; Production Value: "1%"
    2 }9 _& x& ^2 k
  1539. ; http://php.net/session.upload-progress.freq; L# b% t/ R# B3 Z! V
  1540. ;session.upload_progress.freq =  "1%"
    8 V) G$ A) T' J- R7 o; a. n1 B
  1541. + F( n2 n$ K: w* ^9 ^
  1542. ; The minimum delay between updates, in seconds. @- Y- X0 I6 Y  o
  1543. ; Default Value: 1) I. P+ r3 F+ G
  1544. ; Development Value: 1; H& ]! N9 h6 f6 \
  1545. ; Production Value: 1( v4 w6 C+ Z" x0 I& ]" A
  1546. ; http://php.net/session.upload-progress.min-freq
    ; G% }, k- B+ b& B$ _3 L4 R
  1547. ;session.upload_progress.min_freq = "1"0 @* U6 G! `; V+ X3 N4 A

  1548. 4 K3 z2 \0 l& S/ h6 Y' L
  1549. ; Only write session data when session data is changed. Enabled by default.
    : \7 G6 {! n7 S1 k# j; e4 V
  1550. ; http://php.net/session.lazy-write
    + |5 Y: T; q9 G  r
  1551. ;session.lazy_write = On1 M  U! @4 V. B) y+ }

  1552. . F$ D# h) [5 A  P5 O; O
  1553. [Assertion]
    ' h: P1 [+ z% L$ e1 K
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    2 ~3 s5 ~3 U& f( s
  1555. ; -1: Do not compile at all
    ; E* n1 N% U/ |: I2 [3 G, }) h
  1556. ;  0: Jump over assertion at run-time# Q( @3 G8 R2 q( `& i; R
  1557. ;  1: Execute assertions
    / V7 J5 P( `+ \8 b
  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)& p9 F# h# P2 }
  1559. ; Default Value: 1
    3 m# B% C1 Z# f
  1560. ; Development Value: 1
    & x. K* R3 R$ E+ W
  1561. ; Production Value: -1
    # k  o# S$ T, p* y3 l1 O
  1562. ; http://php.net/zend.assertions
    - v& j( F* m1 T- X* }/ K) I  ~
  1563. zend.assertions = -1. ?2 J, K. r0 [/ @
  1564. ( p1 [7 H/ Z$ g
  1565. ; Assert(expr); active by default.
    ; ]. F1 E" B: |4 e" G4 r, a. v
  1566. ; http://php.net/assert.active/ F8 y6 L* K( O+ V" P" Q, u' i% [
  1567. ;assert.active = On
    ! D& Y/ C% ^  z- T

  1568. ) S( B4 f# H: h  P
  1569. ; Throw an AssertationException on failed assertions
    + \$ E6 `/ A5 ~1 q/ U% O. p
  1570. ; http://php.net/assert.exception
    0 F" b& T$ F/ x* n$ w
  1571. ;assert.exception = On
    6 u1 o5 O3 `! a% s2 V/ k8 M5 w

  1572. . ^3 G5 p* o! T( G& B
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)1 B( h6 R5 [" R  s
  1574. ; http://php.net/assert.warning
    " o; u& S1 S7 p2 {' t: n
  1575. ;assert.warning = On
    4 S) G  a& F3 e: A$ u
  1576. * _" s9 v7 |/ }' y6 l# [
  1577. ; Don't bail out by default.
    : h$ x- z$ a3 Q8 X
  1578. ; http://php.net/assert.bail6 e& I! f( F' o" S% W
  1579. ;assert.bail = Off% t& U; Z2 N0 i4 Y, v9 \

  1580. ! A+ L1 o7 {- t$ j4 H4 j0 n
  1581. ; User-function to be called if an assertion fails.
    1 r* Y) W8 B9 q9 }9 j1 a  Y
  1582. ; http://php.net/assert.callback7 E  q, Q+ ^& u
  1583. ;assert.callback = 01 y& J/ {* Y9 J' E% F
  1584. - Q) Q& O9 z$ q- x
  1585. ; Eval the expression with current error_reporting().  Set to true if you want# \' R. A2 q, u9 K
  1586. ; error_reporting(0) around the eval().: d; c  Q! ]  ~* Y, Y! l% q( P
  1587. ; http://php.net/assert.quiet-eval& T0 `) d% `5 _0 H" N: `: M" a" S: B$ s
  1588. ;assert.quiet_eval = 0; X7 X* k+ W( k7 D* o$ F

  1589. " d7 R. p. R. g' u1 ?
  1590. [COM]3 ^+ M( i2 x. Y5 ~
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    4 S' d. C: H9 r/ H
  1592. ; http://php.net/com.typelib-file; Q  z% C- X3 K4 z6 j: ~0 B3 b
  1593. ;com.typelib_file =
    8 j) x$ U- u1 B" x

  1594. ! ]& D- ~5 [  f. M8 `9 B
  1595. ; allow Distributed-COM calls0 @9 f: @3 }( f' h
  1596. ; http://php.net/com.allow-dcom, d4 j# u: n6 U: _" }2 q- l" Q
  1597. ;com.allow_dcom = true
    ! x8 V8 Q. Q$ A( T' u

  1598. 5 l/ F3 w" V" {6 g& U  X
  1599. ; autoregister constants of a components typlib on com_load()
    % Z3 g7 [( D; u3 I
  1600. ; http://php.net/com.autoregister-typelib0 I. z# {' X7 V6 I3 M; ~! m* ~
  1601. ;com.autoregister_typelib = true  t) f0 v: i: t- T7 f

  1602. : g5 ]' Y6 z, ~, }7 D
  1603. ; register constants casesensitive
    * G" k1 H3 Y2 E
  1604. ; http://php.net/com.autoregister-casesensitive) z3 c7 |; F- K* ~; O( V( V; I* Q% T
  1605. ;com.autoregister_casesensitive = false: f2 ?1 _8 L- |6 q
  1606. 8 v" p8 g6 U/ C9 n% W
  1607. ; show warnings on duplicate constant registrations* f3 t8 o/ k; |: A. x+ j
  1608. ; http://php.net/com.autoregister-verbose" T# r8 {3 S' G+ \
  1609. ;com.autoregister_verbose = true
    / B' J9 M+ U4 K6 g! l7 r# c

  1610.   [5 g9 n1 G# k1 M$ U$ t7 B+ Z
  1611. ; The default character set code-page to use when passing strings to and from COM objects.: b& |4 [: m7 w
  1612. ; Default: system ANSI code page: b; ^' o( J6 l; @
  1613. ;com.code_page=
    : z# @0 f5 n' g- {" A4 |- y
  1614. ! M* j: Y2 {, o1 C& H
  1615. [mbstring]
    ! Q; m0 `' P% A6 p% H# v
  1616. ; language for internal character representation.1 ?- ^4 j+ @, t5 |
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    ! h# z" j, Z. [: a) D) o4 D9 n- J
  1618. ; http://php.net/mbstring.language
    " Q+ \  A/ U' z
  1619. ;mbstring.language = Japanese0 y8 I) U4 C4 x

  1620. 7 N  S# j/ \, U( D7 r/ M1 k
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.1 n- q$ [2 M: x$ ?
  1622. ; internal/script encoding.
    7 S+ {4 }5 H& V; j0 ?
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)1 W2 S! H3 O3 Y. g
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    5 o: p9 @' j. s* P
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    : N* k" i( }3 @, n- T& S% X
  1626. ;mbstring.internal_encoding =% T* K* [- `8 F) o$ v5 p* G+ S
  1627. 8 @% }* J2 N0 p+ n! E$ [4 S. b( t
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.; b, m; u; o# g* b' E5 E8 X
  1629. ; http input encoding.4 b' z/ R7 s# g: |% C
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.4 H& P8 C! A! S; w/ \  r
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    9 w- p- }' D. [1 k+ [/ ~: q, f
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input& x( i5 T  P6 W* `* n
  1633. ; http://php.net/mbstring.http-input2 p3 K5 r% q! U! M9 U8 c, m
  1634. ;mbstring.http_input =; t! i; v! u" j% r/ U- o

  1635. 3 U4 l4 @( ~* `! P! B( v/ L  z1 }
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead./ ~6 e  p9 l# ?( a! e  B
  1637. ; http output encoding.
    6 `% D! f* q6 X1 W  Q" H  X
  1638. ; mb_output_handler must be registered as output buffer to function.
    + h0 C0 K3 D# `1 |+ D
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.$ s; |6 s0 Q/ @" Y" m; A
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output0 n" `# w- {! `; z* y6 A$ |% e
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    1 p7 u; d6 S  n, k: S( s9 d' c$ I
  1642. ; otherwise output encoding conversion cannot be performed.6 a; c7 U4 N6 K: D8 t4 D! k
  1643. ; http://php.net/mbstring.http-output& P% O+ Q4 A2 a4 h
  1644. ;mbstring.http_output =9 T5 ~' c) L- B) V( q# @- \

  1645. ( S' u' O% w$ H
  1646. ; enable automatic encoding translation according to
    2 _6 L9 q$ O3 O9 X; a/ o( ~
  1647. ; mbstring.internal_encoding setting. Input chars are& s( P7 j2 ^6 Y$ [% _( A0 P( c) {
  1648. ; converted to internal encoding by setting this to On.$ l7 [+ W' h8 ^3 Y* v; P0 A$ i- r
  1649. ; Note: Do _not_ use automatic encoding translation for
    3 o5 \3 r3 b& D; \3 ]
  1650. ;       portable libs/applications.- d& Y% ]' s: Y: d# s
  1651. ; http://php.net/mbstring.encoding-translation
    % x4 @/ h: g/ I3 B
  1652. ;mbstring.encoding_translation = Off
    / N/ b. p5 G; N5 L! h

  1653. " D1 `( d, b) d
  1654. ; automatic encoding detection order.
    ; J( \- y7 w: J* d9 |) }7 a
  1655. ; "auto" detect order is changed according to mbstring.language6 y& e: I7 C+ P  O+ e3 G5 c
  1656. ; http://php.net/mbstring.detect-order
    + ~$ k- B# P4 J
  1657. ;mbstring.detect_order = auto' C/ D/ V6 w; r6 Z: M
  1658. 0 E! P  g2 X4 r& p
  1659. ; substitute_character used when character cannot be converted( v- n" x* n+ p2 P. `6 \3 M
  1660. ; one from another  \$ L! u9 H* L# e1 x' B8 |6 Z
  1661. ; http://php.net/mbstring.substitute-character
    - q+ P* t9 Y0 G3 R+ O
  1662. ;mbstring.substitute_character = none' Q  Z# p& e2 U) _' g/ x
  1663.   g7 A, I$ B, k  E" R
  1664. ; overload(replace) single byte functions by mbstring functions.( C5 t! K: T: h6 R' @# ^
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),5 w2 p% T, K3 \0 Z; i
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.. {8 s: Z& y1 Q  W5 o
  1667. ; For example, 7 for overload everything.
    ! D  o0 }5 v6 X4 R! ~0 ]5 ^' ~6 a
  1668. ; 0: No overload
    2 l" i; P7 U. z' W8 W# L
  1669. ; 1: Overload mail() function! S% @! W! T3 P+ M
  1670. ; 2: Overload str*() functions' X% [$ Y) x  _( w# \: U
  1671. ; 4: Overload ereg*() functions
    7 s  b3 }  X1 [" K0 e
  1672. ; http://php.net/mbstring.func-overload$ i' Y+ H( q, n
  1673. ;mbstring.func_overload = 00 i, W6 l8 H6 ^

  1674. ' m2 Q8 a, |2 x! _
  1675. ; enable strict encoding detection.
    ' |& Z) u! M* m; B8 t
  1676. ; Default: Off
    ; C+ _! v  H) b, ~' T
  1677. ;mbstring.strict_detection = On
    6 N6 x7 H( ~4 k; [# t9 b* `

  1678. 6 o* U+ t0 p2 O: r  K* s
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    : u6 s; \. M7 A& M4 p
  1680. ; is activated.
    " b/ U, {* K# y4 \) ]
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)% M: N+ V$ r+ R" v! i" s( i
  1682. ;mbstring.http_output_conv_mimetype=* N) Z; d: O# m% K: b* O( u
  1683. 9 @% v: `) p- M6 d6 [& ~
  1684. [gd]0 A  W! f3 q* V, T
  1685. ; Tell the jpeg decode to ignore warnings and try to create+ X3 p8 ]! U. @4 d1 B3 T. @4 x
  1686. ; a gd image. The warning will then be displayed as notices! y9 R, Q% g; B( U2 c/ ]& r4 ]9 ?, e
  1687. ; disabled by default
    3 l2 s  N3 m; o; L) A
  1688. ; http://php.net/gd.jpeg-ignore-warning
    " D  ]/ p% B7 m: d3 u
  1689. ;gd.jpeg_ignore_warning = 08 m- s2 o* f' ]+ l' r! e
  1690. 6 Z; ?' s  M* s0 F( O
  1691. [exif]
    , P& ~% \) W# U# n  c
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS., B* ~6 d, ]$ q, I
  1693. ; With mbstring support this will automatically be converted into the encoding
    ! z2 s- [7 L0 t7 Y+ L- X7 ?
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    9 H0 o2 n6 Y7 C4 R0 I
  1695. ; is used. For the decode settings you can distinguish between motorola and8 D, X: D, K' p# A
  1696. ; intel byte order. A decode setting cannot be empty.
    / h4 q$ {2 H: g6 X# i( P7 Y: _1 _
  1697. ; http://php.net/exif.encode-unicode
    : o' I* l  M8 N) X
  1698. ;exif.encode_unicode = ISO-8859-156 c6 M8 W* z( Q% M

  1699. & e- W& k1 R- Y0 ?; d: }7 ~
  1700. ; http://php.net/exif.decode-unicode-motorola+ `/ V0 r/ K2 S( S
  1701. ;exif.decode_unicode_motorola = UCS-2BE3 G+ m& q+ U3 w

  1702. * h; y  f, w; o
  1703. ; http://php.net/exif.decode-unicode-intel
    . |, t! B! M7 ?) s7 F
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    ( h1 [" ]  N0 }6 n! B. Z  A

  1705. / ]* S) L( f) v! C
  1706. ; http://php.net/exif.encode-jis6 R+ j' l3 n/ Y" k  O3 V
  1707. ;exif.encode_jis =
    ! h- O; u: R8 K4 W1 F
  1708. + H# j( l; l5 l
  1709. ; http://php.net/exif.decode-jis-motorola
    4 @6 _5 t" I6 Y) h+ O
  1710. ;exif.decode_jis_motorola = JIS& g2 |4 Y  n; K. R' ~6 b* }

  1711. * U1 q/ r( r. w/ G3 q" ?" ]
  1712. ; http://php.net/exif.decode-jis-intel
    ( k6 C" Y3 ~0 G: {# r7 U6 I3 T% h% |
  1713. ;exif.decode_jis_intel    = JIS
    ( |5 `: R4 f4 [" h2 p) V+ S
  1714. 8 S: u1 m8 U1 H# T
  1715. [Tidy]
    ! z( {9 t0 P9 G/ J# V
  1716. ; The path to a default tidy configuration file to use when using tidy
      w, v5 H4 f; V3 c
  1717. ; http://php.net/tidy.default-config
    0 O! x* R$ h- E  c2 R
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    . \' f5 d% t, Y) Y1 i
  1719. % g3 A8 K$ R2 G2 Z: I. N. y; L4 m
  1720. ; Should tidy clean and repair output automatically?2 }5 s1 z) Z2 |- _# Q  @, q1 P# b
  1721. ; WARNING: Do not use this option if you are generating non-html content
    ) X/ O. a7 m3 p$ D4 j& E# K
  1722. ; such as dynamic images
    8 A( H5 [- A% ?  }# a, Q$ B, J
  1723. ; http://php.net/tidy.clean-output
    2 `1 m- [5 [& K! A! H3 f
  1724. tidy.clean_output = Off/ D8 x, T" s* x+ p
  1725. 1 l# D1 L& {+ M9 N% S
  1726. [soap]
    # C8 Y6 V2 z8 P  e1 u  v& d- F
  1727. ; Enables or disables WSDL caching feature.8 j+ E% g# [- [2 ]) l/ P2 o
  1728. ; http://php.net/soap.wsdl-cache-enabled
    7 ^- A- W+ F, p9 m1 M  u
  1729. soap.wsdl_cache_enabled=1
    + }" v  f* }! @9 V" O( P0 G. ^0 C
  1730. 0 |. ]* s, x; J8 H7 I7 _9 [
  1731. ; Sets the directory name where SOAP extension will put cache files.. x7 r4 ^  C( r7 F# p5 n
  1732. ; http://php.net/soap.wsdl-cache-dir0 y0 z4 P2 e! p. t
  1733. soap.wsdl_cache_dir="/tmp"
    ( L& O2 |2 s3 i- j& L3 B( ?

  1734. 5 o1 d3 ?" `  A: g* t2 r# E
  1735. ; (time to live) Sets the number of second while cached file will be used
    3 I; s0 R) c  `! S$ M* n) H$ p
  1736. ; instead of original one.
    . O+ ?9 k" `) k3 R3 y1 x
  1737. ; http://php.net/soap.wsdl-cache-ttl
    ' B. D# u% E5 ~8 I
  1738. soap.wsdl_cache_ttl=86400
    3 J* F  y- a5 O
  1739. $ C/ H5 M2 @! ?
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ( G5 M1 n4 E3 x7 r6 N' \6 ]$ U" f/ E
  1741. soap.wsdl_cache_limit = 5
    ' @0 y- ~( e3 b% k+ K2 w- b" Y

  1742. & R4 k4 i9 ^% v: e  p; c6 x9 E
  1743. [sysvshm]
    0 B2 u" i: p7 ^. r1 [7 ^) K
  1744. ; A default size of the shared memory segment
    6 H- e, \/ `1 D: ^7 N/ U
  1745. ;sysvshm.init_mem = 10000) @, x/ F  ]7 o, ~5 Z

  1746. / h& B3 `' d, r; F! ]9 }
  1747. [ldap]
    / t& f3 [  Y9 v0 y7 L( V
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    5 Y# @3 l! Y: T9 }
  1749. ldap.max_links = -1) Q/ Y0 g5 s5 B# p- r, q

  1750. + r9 E$ Y' Z+ n3 S
  1751. [mcrypt]2 W/ N/ C% x% }: g) l
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open2 ~: g" N+ X0 ?1 K, v

  1753. & @# C7 m( ~7 }1 T/ S: f
  1754. ; Directory where to load mcrypt algorithms
    4 `! i* x6 Z, J( ^6 J- Y3 d
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)3 p6 v8 n( m/ A- E9 \
  1756. ;mcrypt.algorithms_dir=, M2 B6 Q6 ^5 t( B
  1757. ( }# c/ {. f) g2 P
  1758. ; Directory where to load mcrypt modes+ B+ u! A, Z2 D" w% G
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)# q/ v% G& [2 d+ g! t
  1760. ;mcrypt.modes_dir=
    ) r6 w7 k# c& u6 y6 v. J

  1761. ! T; E$ C) o6 z0 p5 i5 J  a" Q
  1762. [dba]
    ! H% y: F/ m4 u$ M5 W; W
  1763. ;dba.default_handler=4 Y& ~- f0 d) d* B/ `5 n

  1764. 0 E) i2 f# ]4 ^+ R4 U3 U; d
  1765. [opcache]
    4 f, D* t& \$ r+ y! U
  1766. ; Determines if Zend OPCache is enabled0 w) F1 R8 f8 k1 a. X( S4 G: q! \. _
  1767. ;opcache.enable=09 n$ c& y7 Y( u; b  s/ G! R

  1768. ; ~$ W+ s0 O5 a& t6 A& h
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    / t1 E0 \3 Z# A& K! T) k
  1770. ;opcache.enable_cli=0
    & y, u1 v2 u+ K0 N$ p
  1771. $ j# e, |+ M" G
  1772. ; The OPcache shared memory storage size.0 j5 U6 @6 A" _7 _# l' ~
  1773. ;opcache.memory_consumption=64
    8 _- F/ \& r( T% x( I

  1774.   A" X4 @5 O; Z/ H, P5 X& |+ B
  1775. ; The amount of memory for interned strings in Mbytes.) I' a8 G0 Y" E# d
  1776. ;opcache.interned_strings_buffer=45 `+ u0 j$ h* J( x4 _9 X
  1777. ! c) i, E. e4 ]
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    ' Y: O* J& T" i0 B/ g
  1779. ; Only numbers between 200 and 1000000 are allowed.
    8 A+ {7 I$ f$ Q( w  j
  1780. ;opcache.max_accelerated_files=20005 c! J8 |' J$ z+ o. I. q" d

  1781. 4 s& l* Z: ~/ b$ ~! [, g
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.' I% Q* S  o% H1 \' Q5 s8 ]" d3 A
  1783. ;opcache.max_wasted_percentage=5! s! |$ q' L! G
  1784. 8 @. U; a( K7 C6 Q& z& }3 j
  1785. ; When this directive is enabled, the OPcache appends the current working: {; d( }6 x4 \8 k5 O5 @
  1786. ; directory to the script key, thus eliminating possible collisions between6 S( p9 B# K; b1 t: ~* H! G
  1787. ; files with the same name (basename). Disabling the directive improves0 Y% |3 w) [- q) G8 W
  1788. ; performance, but may break existing applications.
    0 c' f) ^  \% A6 s& Z
  1789. ;opcache.use_cwd=1
    $ u1 E3 m& y  L* F# O

  1790. $ a+ J: w, ~! M8 w/ t5 |
  1791. ; When disabled, you must reset the OPcache manually or restart the
    ) N# {! ?# }4 O% T; c) Z
  1792. ; webserver for changes to the filesystem to take effect.
    / P; s6 {: G" ]' @& b! b
  1793. ;opcache.validate_timestamps=1
    6 ~; Z6 F- P( {. f! h  B

  1794. + V; {4 s* H+ D" F* r; o! M$ T
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    2 h& v* p4 N. O* {* ?6 R0 \
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    8 g1 {- f: @% M. B  v  q' n# E
  1797. ; once per request. "0" means always validate)& d: w  @; R% C( Y
  1798. ;opcache.revalidate_freq=2
    5 T7 A5 x  n( u$ n" S2 M
  1799. 4 e7 \: u8 p3 q- _2 a. k, m, t; O
  1800. ; Enables or disables file search in include_path optimization0 A" ~# E- A9 a$ |: j
  1801. ;opcache.revalidate_path=0
    5 A, `) K/ e, _2 c9 F5 d
  1802. % v1 u9 O( J' _5 r; }8 p4 ~
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the- |8 _2 O. e# d7 G5 D7 `
  1804. ; size of the optimized code.
    : h( D* U3 M' ]* n# ]8 u: g
  1805. ;opcache.save_comments=11 C0 y, L5 Q- \' p0 m7 F, g6 q

  1806. ! G  M- z7 s, V
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code7 n0 J& T% P2 g/ b% W6 w/ b
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.4 O! h. m/ I$ C7 ]; J0 W# o% v, B3 O
  1809. ;opcache.fast_shutdown=0+ E% o9 z9 L1 G: J1 `& _' |. C

  1810. 7 Z+ V$ ~8 Z1 l; E1 M4 ~' h
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    4 s: |0 K! ]4 {. {% e$ d* x* A
  1812. ;opcache.enable_file_override=0! m- l0 F3 f; l4 Q. L+ ~7 k
  1813. * q& s2 B9 R5 {, ~
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    * `" o: z) C4 v) x* G, f3 n- m
  1815. ; passes
    + c6 @7 R- H$ w% \
  1816. ;opcache.optimization_level=0xffffffff  |: v& C8 w9 B0 y( c2 K4 ^
  1817. 1 _2 X: I6 z0 A
  1818. ;opcache.inherited_hack=1
    4 d0 L+ r/ E( D& p, r
  1819. ;opcache.dups_fix=0
    % [$ K7 y; r- v# Y/ ]
  1820. . X7 ^- H- ^, p
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    % Z8 j  A# [/ o6 L$ e; l
  1822. ; Each OPcache blacklist file is a text file that holds the names of files& a  D. B, o1 L3 Y
  1823. ; that should not be accelerated. The file format is to add each filename3 j& `" Y8 B$ s, \- |
  1824. ; to a new line. The filename may be a full path or just a file prefix
    ; I6 n! m" J% }) V! S! g0 p: x
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www" _4 x0 m9 c" w% f, ^8 L
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ( A' L* f( V+ U7 o! M" _& i  }6 N5 g
  1827. ;opcache.blacklist_filename=
    6 [: t/ G! e2 \6 ?; Z
  1828. % m! O6 j; c7 X* F, o$ b
  1829. ; Allows exclusion of large files from being cached. By default all files0 y! p, m0 \. v
  1830. ; are cached./ z' j+ G- T  w, Q1 d% J
  1831. ;opcache.max_file_size=01 ^1 k+ l: U. y3 F8 y$ m0 A1 s
  1832.   k) u7 B# h5 N' s8 ^
  1833. ; Check the cache checksum each N requests.
    2 t( ]4 e: l- |$ `: D# B* V
  1834. ; The default value of "0" means that the checks are disabled., A* U9 s# ~2 I! Y3 J$ O
  1835. ;opcache.consistency_checks=00 v7 v! f0 |. V0 [9 c0 D! i

  1836. % V5 y) w: C1 v8 E. V( P" Y
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    0 b* {9 B2 S0 D( j; r  O" k- F+ I
  1838. ; is not being accessed.
    0 z( o7 c+ f# m2 J
  1839. ;opcache.force_restart_timeout=1803 S) e( i/ S! M! C! R; Z% _) A
  1840. 1 o4 p+ C1 d# ]2 N
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    1 W+ y8 Y% w" v
  1842. ;opcache.error_log=4 g8 V! N; R4 N1 A9 O8 P: ?
  1843. 6 b3 K- k; r% K/ ?5 {4 N1 i' K
  1844. ; All OPcache errors go to the Web server log.+ L3 z; c9 k* c8 k' Z3 _
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    % S/ A! F  L( _8 b6 J' A
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    % @3 E% Z* D! b- {" d+ [6 d4 t
  1847. ; debug messages (level 4).
    : Z; x# n! n& R. \7 c  ~
  1848. ;opcache.log_verbosity_level=1" M, |( N9 r8 d, I

  1849. " z5 O: Y3 v8 X- H& H
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    $ U* Y6 h3 G/ G
  1851. ;opcache.preferred_memory_model=
    6 ^6 u7 v6 I' p0 J0 ?  C
  1852. 7 K- S; V) o$ \+ p+ ~) }1 T
  1853. ; Protect the shared memory from unexpected writing during script execution.
    1 t  x! ]$ M  `& ^+ B+ ~2 k
  1854. ; Useful for internal debugging only.
    , `$ U# I1 l8 f3 f% Y& }- M+ x9 K
  1855. ;opcache.protect_memory=0
    $ |8 z) f% t( v7 p# r  U
  1856. 3 K( n" D$ z1 k1 s) m
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is% y% h) c  o; X& [* E  H
  1858. ; started from specified string. The default "" means no restriction6 `3 }& l) N: H! ^8 U. h: L$ ~
  1859. ;opcache.restrict_api=- b2 {' p5 D/ k7 \1 w) d
  1860. $ d) A5 Q# t' d) y- {
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    ( `$ C& N/ k9 s7 ^) i8 {6 F
  1862. ; processes have to map shared memory into the same address space. This
    5 R( w8 T6 F6 M% d" v
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    $ T1 l' ^3 s8 h6 }
  1864. ; errors.
    6 v! g- _! u8 n
  1865. ;opcache.mmap_base=7 |+ d7 t  O& k$ x4 l; B6 z
  1866. 9 p, G7 ~' o. `% h$ Z3 m4 J4 D* H: {
  1867. ; Enables and sets the second level cache directory.
    9 m7 S: O. H  J& ^& m; j0 A
  1868. ; It should improve performance when SHM memory is full, at server restart or
    ( A0 w& m% T$ U0 T+ B, i% H, L
  1869. ; SHM reset. The default "" disables file based caching." z, ]3 x6 ?7 P
  1870. ;opcache.file_cache=; s: F( h- L  N& p2 h9 d, r

  1871. 5 ~. z, P: _4 l& J( q' e* w$ y
  1872. ; Enables or disables opcode caching in shared memory.: f% ~$ R: T$ {1 r- V5 p2 c
  1873. ;opcache.file_cache_only=0* k/ s0 N9 O( n) W; U1 n7 y$ a
  1874. 9 z- D% L+ |0 d9 X
  1875. ; Enables or disables checksum validation when script loaded from file cache.) P, X/ h2 v  o" m- N
  1876. ;opcache.file_cache_consistency_checks=1: q+ a: D) T5 o  v/ t1 N, `

  1877. 5 n" `8 v1 u3 [7 r( ^- Z  d" K
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to$ o" d; E$ j- I; N3 n( s
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    * i$ j/ [  N- C6 A2 K6 L' J
  1880. ; cache is required.5 Y$ C% b3 }. x. ]5 V( |* ^
  1881. ;opcache.file_cache_fallback=1
    ! ~- o9 W$ H5 B: ?5 W! S
  1882. $ T- l# N9 c8 a
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.; {, D$ P" y6 V+ T- A, X) X9 o
  1884. ; This should improve performance, but requires appropriate OS configuration.
    7 o1 X( O3 Y* f) ]$ M2 ]
  1885. ;opcache.huge_code_pages=1
    / o* K0 \; s. C' Y7 l% e

  1886. . `: M! M- `$ _2 @. b
  1887. ; Validate cached file permissions.# G9 T! t1 V; C! t
  1888. ; opcache.validate_permission=0, d8 B6 [& N0 ^1 _+ z1 D

  1889. / _" k* j" w' o' w, o
  1890. ; Prevent name collisions in chroot'ed environment.! O) U( ?  [. w  G% r: `3 M" h% F
  1891. ; opcache.validate_root=0
    0 r) f3 r3 ~( N" n

  1892. ( [! F! j2 Z6 ]. e2 z, Y
  1893. [curl]
    ( C: E% Q  n; ]  e4 C
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    # b' h4 ]) E, D" q' D
  1895. ; absolute path.% e) o1 y3 j2 X- b5 }
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ; H, `7 i5 w* B+ V: S
  1897. ; s! D. V6 J; J
  1898. [openssl]
    $ ?$ a- R2 t$ ?& s
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    + ~% P, ]- Y; \% o  v
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should, U, E- k3 C+ z
  1901. ; not specify a value for this directive as PHP will attempt to use the
    * I# W, o' R3 h6 c, B% l
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    / j$ W! I0 T6 g; u* I: D
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    5 T( D4 ~. s" j
  1904. ; option.' Q, ^" Z" u. O
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt5 H3 p" S$ q3 k% h$ E) f

  1906. " S' o$ K; l# U9 ^2 G
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the8 n0 x4 t9 K' I- c0 M' u% b
  1908. ; directory pointed to by openssl.capath is searched for a suitable: w/ j( m) K% o; r: D
  1909. ; certificate. This value must be a correctly hashed certificate directory.1 L1 b( @. V) T9 m$ N0 U3 p5 Z
  1910. ; Most users should not specify a value for this directive as PHP will+ \7 [! l' j8 m* t" q
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,; H7 m* D1 Z, {. P+ A1 V  m  \8 m7 Z
  1912. ; this value may still be overridden on a per-stream basis via the "capath"! h  v" a7 f; r
  1913. ; SSL stream context option.1 ]& }7 k; L8 W* l8 A% q
  1914. ;openssl.capath=
    , e* z/ R' w: l5 m5 z( U; S3 \

  1915. ( [. a9 u3 N7 ^* w
  1916. ; Local Variables:5 q. j8 E7 P" R4 u3 }
  1917. ; tab-width: 44 C( m% A! b0 O- N) Y1 _
  1918. ; End:1 e- ~* }5 B+ R- h

  1919. , W' D- o9 a7 |6 X
  1920. ;eaccelerator
    - I! k$ Y" I' G+ X7 O1 h

  1921. 4 @2 m0 u/ l' f' F
  1922. ;ionCube; d. u" X. s* j& K0 g

  1923. 1 K4 L$ r# t( o/ d, r- Z
  1924. ;opcache
    5 k7 a6 V: v: E0 W# C+ w1 A/ h# L
  1925. ! A& l6 q5 x4 P, {* m1 o
  1926. [Zend ZendGuard Loader]
    ! E/ v+ ~- o5 `' H
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    / o* t& A/ Z  {/ P8 Y
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    / n+ v7 y2 k! f
  1929. ;zend_loader.enable=1
    . e2 j  |/ m/ V1 }( \( g
  1930. ;zend_loader.disable_licensing=0
    ) k0 |5 y- b- _' ~4 o' Y
  1931. ;zend_loader.obfuscation_level_support=3# U! X8 A1 G7 }* J$ [& u& i
  1932. ;zend_loader.license_path=
    , ]7 C/ n  z$ T- I

  1933. " z8 k: Y* K% S, Y& d6 u( l4 C. ~
  1934. ;xcache& w( t1 R& j' [" e2 R' }

  1935. : ~. c0 V% z4 _, E/ ~
复制代码

7 ^% \: K9 Y9 |/ p9 E  r( i) K# I# L$ X$ l# v- M: }4 _( M( Y3 c

* i7 H$ @# c; h$ |
& T& u3 U/ z# B+ U) M/ e
. s' e9 e" f7 Q/ T4 _" n5 L0 _3 u+ S$ ^

4 G3 D. B: Q/ d( o( a( w. DPHP5.6版本原始设置/ b$ @6 q: S: n% `. y

+ ]& ?8 [7 e7 y: R1 v
  1. [PHP]
    ; e# H+ P" n# a" g6 M, S! `

  2. : G' A! V5 l4 P$ o
  3. ;;;;;;;;;;;;;;;;;;;
    # J) Z+ w. l* w8 S' j* N0 v
  4. ; About php.ini   ;0 L) l; y& f; ~
  5. ;;;;;;;;;;;;;;;;;;;7 T6 [$ f( y4 ?6 M+ i: v: X; V
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    . D' p* ~0 _3 t" s: |$ n
  7. ; configuring many of the aspects of PHP's behavior.
    4 m* g+ ?6 }8 T
  8. - a  |/ d" a' n& P+ b5 `
  9. ; PHP attempts to find and load this configuration from a number of locations.
    0 m& ~& X8 h# o6 I
  10. ; The following is a summary of its search order:
    * `7 s% x: c6 I8 ]1 O
  11. ; 1. SAPI module specific location.5 U. }; y2 U. R) }
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ' @% N2 A) p. j! [
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    # |, \' L7 Y/ n8 q6 z
  14. ; 4. Current working directory (except CLI)$ i4 C* N, R$ Y( }% C* {
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    + |, E" K* g5 O8 }& k5 b4 b- H
  16. ; (otherwise in Windows)
    * O  w! ?4 H/ m$ b8 ]' {
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ' n$ p9 d0 M# B
  18. ; Windows directory (C:\windows or C:\winnt)
    " d2 C& v$ w5 E/ B) l7 d5 |6 n
  19. ; See the PHP docs for more specific information.* v, `( ^) q  }, q9 o( {
  20. ; http://php.net/configuration.file
    ; l) W, L4 A. i2 `) Y/ r

  21. ' s9 j& a4 h( u; w3 f. R7 Q" s( Q
  22. ; The syntax of the file is extremely simple.  Whitespace and lines+ e, u+ Q0 P: ]5 k5 C; p# T, B
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).* c( ]" [6 `5 d: f! b. R
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though7 H) N# f% O, A
  25. ; they might mean something in the future.* r9 R! H2 w' u5 K: `1 j
  26. . U' P' m% B5 l) C+ R
  27. ; Directives following the section heading [PATH=/www/mysite] only. r5 q# z# g; O; J
  28. ; apply to PHP files in the /www/mysite directory.  Directives! f+ f1 o$ W  W9 A9 h! P
  29. ; following the section heading [HOST=www.example.com] only apply to3 t- s1 |; U9 l# j$ a
  30. ; PHP files served from www.example.com.  Directives set in these0 A: _2 J* q2 h  h( V
  31. ; special sections cannot be overridden by user-defined INI files or
    . u8 _8 t. E* h; Y$ ~" m# R1 N  {: d
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under5 ~& C0 M4 S9 @3 @5 D) ^
  33. ; CGI/FastCGI.
    7 m9 Z. n$ [+ u, ]$ b2 Y6 |
  34. ; http://php.net/ini.sections
    5 f9 H8 K' J) z) N4 R, ]

  35. - m: t: c6 m; y9 e  h
  36. ; Directives are specified using the following syntax:$ P: q3 B3 \2 Y
  37. ; directive = value
    * n* U3 T2 T# [( z1 F9 |. U' }
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar." v; S+ e% X1 R' q
  39. ; Directives are variables used to configure PHP or PHP extensions.
    / m8 J0 N. Y5 m
  40. ; There is no name validation.  If PHP can't find an expected7 ~1 O1 A; }- I
  41. ; directive because it is not set or is mistyped, a default value will be used.. J, q' e: a* H7 c- j
  42. ' J/ Y8 Y4 Y6 Z. {; Y
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one6 h8 Q  x4 e, Q! O
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    9 w+ `0 c- z# F& f5 z  _
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    : x: `9 x' I; X/ \' D; [( t0 D+ i
  46. ; previously set variable or directive (e.g. ${foo})2 x" Q$ j1 J2 |  A( B+ o

  47. 0 @" {4 P% e6 h% U+ ~
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:: g  y+ K% B- L; U8 {( t9 {
  49. ; |  bitwise OR- q8 D, P! O. b1 R% k0 x
  50. ; ^  bitwise XOR
    ) E* J7 b$ _3 [" r/ D# h
  51. ; &  bitwise AND
    & n( E+ x6 e3 U+ o
  52. ; ~  bitwise NOT
    1 j  S- t* S; a' q
  53. ; !  boolean NOT
    3 O2 L2 E4 Z2 y& r. ?4 \+ }" `4 ]

  54. 8 i8 [6 ^& `" N- M* A, ?2 |
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    - ~# a; P( ?0 l6 @0 S: y; N
  56. ; They can be turned off using the values 0, Off, False or No.$ T0 `1 C/ A& `0 u  p

  57. ) ]0 w, v, A2 Z1 `' m
  58. ; An empty string can be denoted by simply not writing anything after the equal) t. W; w" t4 M5 d6 A1 x6 }' m
  59. ; sign, or by using the None keyword:/ G8 }' g8 e$ k+ f: j

  60. - e+ @# K2 }  y& q. K
  61. ;  foo =         ; sets foo to an empty string1 `% y# E: _9 z# ^% q
  62. ;  foo = None    ; sets foo to an empty string3 Z. s1 c. Z- K$ v4 {
  63. ;  foo = "None"  ; sets foo to the string 'None'1 D$ N' G/ K: q/ I

  64. 7 e* ^- b3 n+ L$ r) f: C7 V& ~
  65. ; If you use constants in your value, and these constants belong to a
    0 ~- x: e1 S; y; r' I' A
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),8 c/ {4 F  h5 O) n+ A
  67. ; you may only use these constants *after* the line that loads the extension.
    . a6 j* U% w$ ~0 l" k9 Z) W( u" }+ e

  68. : P2 D0 K; b# U% d
  69. ;;;;;;;;;;;;;;;;;;;* G+ H9 }7 ^# u6 K' d* N
  70. ; About this file ;  g( V1 M: a. {/ X/ ]. ?; O3 _. e
  71. ;;;;;;;;;;;;;;;;;;;
    8 i- G. |- a- l* u" ]# u
  72. ; PHP comes packaged with two INI files. One that is recommended to be used, A  G! R# S# R% @$ f; \9 L4 W
  73. ; in production environments and one that is recommended to be used in
    0 q" ]( T9 |; G# E8 D& f0 ^
  74. ; development environments.( @( j, j9 w) ~0 P

  75.   T; o# G4 e  _4 O& h+ p3 W. |
  76. ; php.ini-production contains settings which hold security, performance and
    ; f' m$ [* |! R0 x* A
  77. ; best practices at its core. But please be aware, these settings may break
    , e8 U- E- a1 k4 c3 y
  78. ; compatibility with older or less security conscience applications. We
    2 y' }. H* D0 ~. A& P9 k
  79. ; recommending using the production ini in production and testing environments.
    7 q: M. H$ R% m9 F% r& v

  80. 1 A- U+ H/ l# x7 f
  81. ; php.ini-development is very similar to its production variant, except it is9 _" i8 `& C+ a$ Y$ a. [& W& @
  82. ; much more verbose when it comes to errors. We recommend using the
      p1 ?4 y9 @# U
  83. ; development version only in development environments, as errors shown to
    * L. M- n( w8 u4 f6 h, s5 D( ~
  84. ; application users can inadvertently leak otherwise secure information.
    7 `# |+ ~- s/ o8 }: ]
  85. . M+ K% k7 _" [1 w' D
  86. ; This is php.ini-production INI file.
    # {) }- D+ T9 d" Q* ]  M

  87. / D+ A1 `! M. V  k
  88. ;;;;;;;;;;;;;;;;;;;: t8 i; Z3 _* v0 A2 l9 y
  89. ; Quick Reference ;
    : e, w! V* e. ^' O; |$ M3 e( S
  90. ;;;;;;;;;;;;;;;;;;;! L: G* ~2 z! D" _6 k; _1 j
  91. ; The following are all the settings which are different in either the production
    ; d( f2 E6 c$ F- Z/ i+ w
  92. ; or development versions of the INIs with respect to PHP's default behavior./ X5 J) x9 ]0 q" X- @
  93. ; Please see the actual settings later in the document for more details as to why
    7 t2 D6 e, J  g0 x/ e
  94. ; we recommend these changes in PHP's behavior.
    2 E, y+ p0 s, X
  95. " n- O4 x5 R7 ]2 M( S( i
  96. ; display_errors6 O: V# R- y4 e/ X3 Z0 U$ k7 Z
  97. ;   Default Value: On3 c+ D6 [7 ]5 }- H/ q
  98. ;   Development Value: On
      D9 p% j6 O# k( [+ D. u
  99. ;   Production Value: Off7 {( }2 ?& j8 T* Q* A8 |' A
  100. , p2 @% V# R( V7 w, @+ s
  101. ; display_startup_errors& c8 ]1 o6 U! ^8 O: t
  102. ;   Default Value: Off9 b, K9 T! U+ q2 Z' G! t7 T+ V+ {& J
  103. ;   Development Value: On
    7 ~( b  ?$ z1 b4 x0 E
  104. ;   Production Value: Off% b4 R$ C) U/ s" r2 S4 E' h

  105. ) l( G0 [3 w4 Q: Q; `7 r- w
  106. ; error_reporting
    4 _+ N2 O& {: k& u: x. L, ]
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    8 {! T( E# v( O6 q% [- a* K
  108. ;   Development Value: E_ALL
    / {% W* i7 Z  C5 E# R
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ( d4 N6 B: U" k6 k

  110. 7 ~+ u" ]9 M) g8 n; C; r0 P* `9 u
  111. ; html_errors) h" m" |: l/ f& \. ^7 ^/ j5 s
  112. ;   Default Value: On
    ( ]$ d$ R  j2 E2 `; x
  113. ;   Development Value: On8 q' a1 @( N0 @% Z1 e! l
  114. ;   Production value: On
    ; h  Q9 _, `+ S3 a' I; \" s: x
  115. 0 c( o% g/ Y3 w! z6 G. h
  116. ; log_errors
    6 C  _1 L' Y2 T/ n+ g
  117. ;   Default Value: Off
    ! B- I' ?# |) P/ f! G4 l: a: u# N0 ?
  118. ;   Development Value: On
    . Z+ P9 Y2 J& ?0 U. R( W. c( [- E5 V3 a
  119. ;   Production Value: On3 m' s: G* R" y+ }$ M. V; F; [

  120. ; ~1 h- u4 q- U7 {
  121. ; max_input_time3 V* o) j# P) E- o/ X) o2 E
  122. ;   Default Value: -1 (Unlimited)% V2 s0 j' J2 S% J+ ~% D
  123. ;   Development Value: 60 (60 seconds)
    5 p( ^& ]% w+ n- H( a+ h6 c( X
  124. ;   Production Value: 60 (60 seconds)) s3 D! s' {6 Y! L! T

  125. 9 B, u' C' W0 n; p( O
  126. ; output_buffering
    6 p, ]8 s: s* W$ ]9 h8 P
  127. ;   Default Value: Off9 q+ j& N2 s. _- L
  128. ;   Development Value: 4096
    0 R" ~* c* O* P
  129. ;   Production Value: 4096
    ) |$ h% M% q' ?" L8 {* o& m, x

  130. - _/ P- g' I& o1 ~6 K" Z# h1 ~5 t3 S; D
  131. ; register_argc_argv0 s3 o+ k( ]; k) ^' u. D6 X
  132. ;   Default Value: On) \' p: y! o: i9 n
  133. ;   Development Value: Off- J% z  P2 n( @  H% W9 S  a
  134. ;   Production Value: Off6 J3 n5 ?0 X: Q) t) ]$ F
  135. & G2 G; i. s) [7 a& {- B% }! F
  136. ; request_order
    7 n, z& K0 n) }0 r) W0 s% r9 n6 v
  137. ;   Default Value: None
    : s; w7 I( K2 I3 V
  138. ;   Development Value: "GP"  K, a7 R( t5 f5 v# s. u, h
  139. ;   Production Value: "GP"
    ) ~$ }- |* [9 l2 |; ?

  140. 1 ^# z% N+ z. k. E* d
  141. ; session.gc_divisor
    6 r! W6 d5 h' |& l
  142. ;   Default Value: 100
    : H+ t  J& H. `& B
  143. ;   Development Value: 1000+ M7 \- \  r: h) \( w8 n  o( S  z
  144. ;   Production Value: 10008 b- ]# w* @! B/ r8 W

  145. . ^2 d# n3 z: u. C( e$ x' D2 L
  146. ; session.hash_bits_per_character
    7 T% v9 k4 D) p
  147. ;   Default Value: 42 l3 p' l; \+ ^' m0 Z' o2 x7 f; U& r
  148. ;   Development Value: 5& e! F+ k' w4 t% I5 ?
  149. ;   Production Value: 5
    , P4 v: ]4 _2 W/ V0 Z) _

  150. 5 e5 J) l# U2 a8 k. b
  151. ; short_open_tag* H8 R5 y+ q: N3 U6 G: U1 \
  152. ;   Default Value: On
    6 u  e7 K3 b! ^9 [
  153. ;   Development Value: Off
    % q4 i/ t0 T! u
  154. ;   Production Value: Off
    9 S5 n  h+ _1 n. V
  155. - p9 ~4 G- M- P* L2 H, I) |
  156. ; track_errors8 ^* o# s7 J+ H1 a& X) D$ O9 m3 ~
  157. ;   Default Value: Off7 m* G3 x( q6 O8 A7 d6 A
  158. ;   Development Value: On
    2 H9 Y8 R  [! ]5 F9 O6 K2 q2 G
  159. ;   Production Value: Off
    ( _6 A6 `* _9 Q( |0 R4 p6 [0 Q
  160. , s  s) ?* [9 c/ z
  161. ; url_rewriter.tags
    ) e1 ^. d4 I% X, A4 v* y
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    / y( `" {! E! s0 Z! v
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& j# U. ~9 ~9 ^. s
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ Z' o0 w3 ~! o2 a; K8 g% [6 _0 v: u

  165. & J( K* z6 x* [; ^4 r1 I: {4 {
  166. ; variables_order+ p2 g! z, Q& n3 Q; l" a
  167. ;   Default Value: "EGPCS"
    $ e, o4 r# S& }' O
  168. ;   Development Value: "GPCS"3 o. c# F" t- F5 y6 ]4 m
  169. ;   Production Value: "GPCS"
    1 ?. Q1 a# C" p5 @2 c

  170. 9 }0 ~+ x1 u1 \1 W6 `
  171. ;;;;;;;;;;;;;;;;;;;;
    8 v2 }% A$ q, u/ {
  172. ; php.ini Options  ;# }: [2 ^2 ~- j! m- N# S+ X
  173. ;;;;;;;;;;;;;;;;;;;;
    * M- |8 {: b$ b% R
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    - d. l# x' ?9 L, L0 H6 P" B+ X
  175. ;user_ini.filename = ".user.ini"4 s# t, U4 k# k# ]. S$ e# K
  176. / N( i. R$ L  s# p( g+ _  }; M
  177. ; To disable this feature set this option to empty value: n0 Q! A2 Y0 j& a* _" c
  178. ;user_ini.filename =
    % @% @/ b6 N' M" R$ Y
  179. 1 U1 L6 U/ s3 n8 R) \
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
      ?/ l4 A! a7 e2 d  ]+ n- F6 |
  181. ;user_ini.cache_ttl = 300# E1 V  L: P- X1 S+ r- Y. U% ^5 q

  182. ' L6 R9 D  x: @' W
  183. ;;;;;;;;;;;;;;;;;;;;
    0 c9 i0 p1 W# d
  184. ; Language Options ;( @: q1 s, R; F
  185. ;;;;;;;;;;;;;;;;;;;;9 U8 K! j$ F# w) B8 t9 Z2 n

  186.   t; q( Y0 h& ]7 ^
  187. ; Enable the PHP scripting language engine under Apache.$ s+ W, o# A6 y9 a* B
  188. ; http://php.net/engine* ]( @4 e8 G# ~0 i6 S, }
  189. engine = On8 Z9 b( H+ q; u7 r3 {
  190. % g# |$ i. B3 e9 @) u  X1 X* \9 R$ d
  191. ; This directive determines whether or not PHP will recognize code between
    8 V% Q# O8 B6 ?% u" J
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    . e* o& J0 j3 a
  193. ; generally recommended that <?php and ?> should be used and that this feature  K, ?2 e9 L$ S( t. p2 a
  194. ; should be disabled, as enabling it may result in issues when generating XML
    $ X/ j% l+ u1 Z0 n; H
  195. ; documents, however this remains supported for backward compatibility reasons.
    5 y  V) E: T8 S! G
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    : y+ A, P: E, p# T
  197. ; used regardless of this directive.
    $ }) R# Y# P" v7 u! J
  198. ; Default Value: On) L! ~- h* W$ ]
  199. ; Development Value: Off5 ^3 X0 @, o$ _! [
  200. ; Production Value: Off- V6 {* m2 ]8 z
  201. ; http://php.net/short-open-tag
    . L+ B1 W3 h5 |2 A% V  `; |
  202. short_open_tag = On% M: t; Y- l7 R  R: v
  203. 6 V) d) |+ c0 S7 D! H$ L# S* x4 c
  204. ; Allow ASP-style <% %> tags.4 S, a1 x7 ~" S" f
  205. ; http://php.net/asp-tags
    & J9 ^7 Q9 m6 e: @; D
  206. asp_tags = Off. _; N) u+ E3 S' a; E0 b# m

  207. 5 w  g, ?0 p3 G# X* E
  208. ; The number of significant digits displayed in floating point numbers.
    - b9 @3 T4 u# m; {
  209. ; http://php.net/precision/ D, }! D$ T2 @
  210. precision = 14
    9 G# u" Y9 K6 K& _* D  h5 R

  211. & b% D; ~4 v; D; S0 s8 i$ g
  212. ; Output buffering is a mechanism for controlling how much output data
    7 z: o: s( s5 ~) C9 M
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that. K: J0 R3 b5 J) ?8 y2 r
  214. ; data to the client. If your application's output exceeds this setting, PHP
    : n$ D+ X. j. Q) f5 i+ j
  215. ; will send that data in chunks of roughly the size you specify.
    ; V8 B, b! |% c9 b0 x3 C/ a
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    # H, w5 Q  `9 r
  217. ; interesting side-effects depending on your application and web server.
    ) i/ o1 S# r5 p  I+ t3 V
  218. ; You may be able to send headers and cookies after you've already sent output
    # U* l- Q9 q1 B. p% Z
  219. ; through print or echo. You also may see performance benefits if your server is
    % i# s) M+ H, o) k, b* ]
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    7 W5 W1 X  I+ I/ Y) Q6 r
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance- ?! Y6 P0 F, L9 o0 _
  222. ; reasons.* Z3 C: B2 \4 H, h8 c
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    ; R/ M3 ]& \$ q# d0 A( O+ C# F4 a8 U
  224. ;   functions.
    7 o! k3 Y3 L: E" K8 a! F# [
  225. ; Possible Values:
    $ |$ B+ ~) ^! M
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    + d3 {5 a. F  C' \+ S
  227. ;   Off = Disabled1 y. M9 j+ R% J. ?! [( t
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.0 E$ i4 I. a8 z1 j  I
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI3 Q: }1 H. V; y! s- _
  230. ; Default Value: Off  ^" v( }9 F% X7 c2 I1 E4 {
  231. ; Development Value: 4096
    # b  j7 b  s0 s+ C: W) `
  232. ; Production Value: 4096
    1 i) I% ^& |& W( R
  233. ; http://php.net/output-buffering' |6 n4 q5 p" }/ b$ x- G
  234. output_buffering = 40967 i+ s6 _3 h- Y3 o5 W
  235. , _( L  x5 v% Y& N* ^8 \
  236. ; You can redirect all of the output of your scripts to a function.  For
    2 N1 u. G5 B% S! H' o
  237. ; example, if you set output_handler to "mb_output_handler", character& _( e! L" g5 V- u# s
  238. ; encoding will be transparently converted to the specified encoding.3 p' K: Q; D- \  t( }* E
  239. ; Setting any output handler automatically turns on output buffering.2 s/ b9 ~. y  ^# k* Y
  240. ; Note: People who wrote portable scripts should not depend on this ini
    8 c+ i. ~4 ]/ v# m+ D" n! i
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    6 S' ?" K+ o/ B5 D
  242. ;   Using this ini directive may cause problems unless you know what script
    5 x* f" X0 e5 a6 M5 F0 H9 p
  243. ;   is doing.
    1 @3 d; @$ u! X
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ! {# g7 y5 P3 P1 F& S% X1 f' h! e
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    3 x1 q* J4 o; D) G& @4 {$ _
  246. ; Note: output_handler must be empty if this is set 'On' !!!!, E% m$ H* w$ Q0 R8 j9 }5 y
  247. ;   Instead you must use zlib.output_handler.
    9 }" H  B5 t  o, b$ s* q  ~0 x! L4 n
  248. ; http://php.net/output-handler
    ( }  |* W0 F3 v' W, W
  249. ;output_handler =
    7 s/ T, d1 G/ E! z0 J

  250. 4 N$ W) E! a/ z/ B- }
  251. ; Transparent output compression using the zlib library3 }; M& [, r' q3 E$ W
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size* C" x2 ^4 Y8 _6 f2 l+ f! d6 z& p
  253. ; to be used for compression (default is 4KB)& t0 P) [" y- v, ~2 ^8 I* P4 @
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP) f7 o6 j1 f! T
  255. ;   outputs chunks that are few hundreds bytes each as a result of% n( B6 X, v2 @+ g
  256. ;   compression. If you prefer a larger chunk size for better3 N: S4 M( y/ d; f
  257. ;   performance, enable output_buffering in addition.. z3 S/ V& k0 O' t* t  }- {
  258. ; Note: You need to use zlib.output_handler instead of the standard
    ' B  D* G2 c- M" Z% u7 h
  259. ;   output_handler, or otherwise the output will be corrupted.
    4 C$ H5 ~6 c: ?7 Z& R! e0 v& Q; Z
  260. ; http://php.net/zlib.output-compression
    / Z5 Z! _% d" B* C
  261. zlib.output_compression = Off% V; p9 c6 b' e- W: L, y& q
  262. 5 A4 j( c, D3 p3 T$ l
  263. ; http://php.net/zlib.output-compression-level0 J9 x& c& Y$ o# z0 P9 a, |
  264. ;zlib.output_compression_level = -1' E8 w  t) V* J! J( H8 `
  265. " Y: p. O8 U- {" |
  266. ; You cannot specify additional output handlers if zlib.output_compression
    $ u& i2 |4 H' g# l& P& V) F
  267. ; is activated here. This setting does the same as output_handler but in4 v6 ?0 O( E, ~" H
  268. ; a different order.
    2 G1 X6 y* |# R8 G8 F
  269. ; http://php.net/zlib.output-handler
    " u% D8 I2 E: t$ C' X
  270. ;zlib.output_handler =# M4 N3 h8 k2 h

  271. - m0 [9 T* G* p5 I9 A' q
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    9 m) O* v3 n& n2 T# {5 c
  273. ; automatically after every output block.  This is equivalent to calling the+ S! l( m6 A: ]3 L
  274. ; PHP function flush() after each and every call to print() or echo() and each* c; p* w# L7 D* c0 S( Y! R
  275. ; and every HTML block.  Turning this option on has serious performance! \: q) L9 h! B
  276. ; implications and is generally recommended for debugging purposes only.% P6 p8 H* B. P* y$ |9 O5 j
  277. ; http://php.net/implicit-flush
    % p! d3 ^: q6 S8 S& r' O1 c, b
  278. ; Note: This directive is hardcoded to On for the CLI SAPI) n% p# V6 L# K( W
  279. implicit_flush = Off" c* ~8 F* {; L& w! G

  280. % p9 H$ ^  p% T2 ~5 `7 U+ Q- l
  281. ; The unserialize callback function will be called (with the undefined class'" v& ]% z/ s$ I' H  M5 k
  282. ; name as parameter), if the unserializer finds an undefined class& i- m( p; ?% F8 P- m& m
  283. ; which should be instantiated. A warning appears if the specified function is) e! O- d- u& L2 @7 @4 u+ T3 x
  284. ; not defined, or if the function doesn't include/implement the missing class.
    : z5 Y' r- g2 b5 O  l/ Q: t* g
  285. ; So only set this entry, if you really want to implement such a
    1 M1 k5 y7 W8 _1 W( o* R$ Z$ \
  286. ; callback-function.
    ! r" |  W% R# x& O1 C% v
  287. unserialize_callback_func =
    1 e( y! A! M+ R4 c4 [9 S

  288. ; y2 ?$ _  D0 v9 a
  289. ; When floats & doubles are serialized store serialize_precision significant
    ) M* Y9 `; k6 S( ^4 X
  290. ; digits after the floating point. The default value ensures that when floats* {3 d- Q3 c; T8 [* @
  291. ; are decoded with unserialize, the data will remain the same.) O( B% }* W4 R/ g% b( B2 K
  292. serialize_precision = 17
    2 h2 w- S2 w. m8 }
  293. + E' P) X7 K6 d9 U. w; R: p
  294. ; open_basedir, if set, limits all file operations to the defined directory  S  L: R% v4 F- @  B
  295. ; and below.  This directive makes most sense if used in a per-directory6 J9 o: c+ O; Q7 W# C) |* L
  296. ; or per-virtualhost web server configuration file.
    6 K- d& E9 f* H. m" z
  297. ; http://php.net/open-basedir! l+ b5 M8 R0 W& e, ^
  298. ;open_basedir =7 t1 `% f/ J! P/ B7 h
  299. ' [8 \, ^, e4 H9 b$ J2 r) X5 ~/ d3 R& ?# B
  300. ; This directive allows you to disable certain functions for security reasons.# }7 I7 E1 q& z3 X7 |
  301. ; It receives a comma-delimited list of function names.9 C5 d+ }7 D  b+ [3 a
  302. ; http://php.net/disable-functions2 o, K; I; G) y
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ; n4 q; I( n/ [' r8 b2 }9 ~
  304. ; @; p  o) [* @/ C8 _: f
  305. ; This directive allows you to disable certain classes for security reasons.- K  A& e8 G& j% f) L: b# ]
  306. ; It receives a comma-delimited list of class names.3 w* @8 h! Z  ^& P! c
  307. ; http://php.net/disable-classes
    1 Q/ x3 O3 `: {8 O0 O; f6 ~
  308. disable_classes =
    ) }9 H8 E/ ~4 e7 \% x, x. y& S. C8 I
  309. + u. p: [% n/ W4 ]+ q& {# d
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    4 K% `8 Q# R8 g/ O
  311. ; <span style="color: ???????"> would work.9 J9 g, }. f8 M8 k; J
  312. ; http://php.net/syntax-highlighting7 J# Q$ K3 c  ?6 h$ o) l
  313. ;highlight.string  = #DD0000
    ) @3 ?5 ~  Z) t# X4 U/ m( u
  314. ;highlight.comment = #FF9900
      j3 x+ q( E$ j" C) Y6 b) [
  315. ;highlight.keyword = #007700
      o  A7 J6 Q4 e- ]
  316. ;highlight.default = #0000BB/ K8 A$ ?4 k% J$ }& e& Q
  317. ;highlight.html    = #000000
    - Z& T; P$ d7 }( P1 j% |

  318. 6 v" ^. @, Q% d" X+ K
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    ' i. R4 G5 \/ [/ B& }
  320. ; the request. Consider enabling it if executing long requests, which may end up
    . I) g/ k- |. V5 L  p5 d1 ~, O/ m
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    # V5 j6 i% ~/ {) `+ D8 Z
  322. ; is to disable this feature.
    + l  o) T) @: i0 B
  323. ; http://php.net/ignore-user-abort
    # H  D  v' U" Z: N: z
  324. ;ignore_user_abort = On+ b" p4 y" V2 L2 d8 p* S5 n

  325. % n" z9 @, G* a% q& l# i! i
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    $ F0 ^2 v" i' R1 y/ s
  327. ; be increased on systems where PHP opens many files to reflect the quantity of/ A$ n& g0 K6 f! h5 X
  328. ; the file operations performed." I5 [* j1 c; c; x0 T7 w& A
  329. ; http://php.net/realpath-cache-size
    " E( j+ q! G; q" \$ t: |
  330. ;realpath_cache_size = 16k
    0 G  g; o7 m0 q% D) }% `

  331. - N( Q( u2 j1 u& h
  332. ; Duration of time, in seconds for which to cache realpath information for a given" T2 e% V. N+ j* g( J+ x
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    8 ^+ r! P* ]( |  V3 d$ H6 ]) I
  334. ; value.) G% A1 I1 F9 u' P. o  g
  335. ; http://php.net/realpath-cache-ttl3 L/ y/ Y: h9 C2 h
  336. ;realpath_cache_ttl = 120# p- a- C& S, A, `& @

  337. 0 e2 |  w/ Y/ p7 f8 G) C
  338. ; Enables or disables the circular reference collector.! o1 A$ V% h$ l7 u/ C& I  ~
  339. ; http://php.net/zend.enable-gc8 \9 K3 ~2 G9 Y$ H5 b
  340. zend.enable_gc = On: k; d* y# c4 E

  341. 2 m* X( u! F, ^
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    0 I' T. X  G" k" W. w
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    6 m% Q# l6 A9 v, c9 w" B+ T
  344. ; encodings.  To use this feature, mbstring extension must be enabled.9 a3 q0 u' A3 b# I' T$ R4 e3 n
  345. ; Default: Off
    8 S2 d5 `  X: S5 Y& n, V
  346. ;zend.multibyte = Off
    - r) q. [' h7 L0 J1 B  F% t

  347. " V. S. i0 X/ z: d9 J$ y6 l- g* u7 T
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    ( S  W5 J8 _1 f# m
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.6 r" x1 K2 R% C9 R: P- A, w
  350. ; Only affects if zend.multibyte is set.
    4 \5 Z5 V% G9 A6 [+ Y3 k
  351. ; Default: ""
    " F& ^" s* A' V8 f( M" F/ ~+ {* }* @
  352. ;zend.script_encoding =# a- {" u; v# @/ L; ]
  353. # n! h4 F+ g! ~
  354. ;;;;;;;;;;;;;;;;;0 X5 C3 I* L5 i" [+ p( V/ r/ C% z
  355. ; Miscellaneous ;3 b6 [6 j9 [( O
  356. ;;;;;;;;;;;;;;;;;
    1 R! E: b) u, A: n- A: @; ^

  357. 4 n2 S1 X, Z$ W" O, n- g( Y- K% [
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    ( c3 A7 d0 t/ r) L
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    + u  b6 q, y5 H2 U( O0 k; S+ }
  360. ; threat in any way, but it makes it possible to determine whether you use PHP* e; D! L* O: g" T! Q
  361. ; on your server or not.
    5 I9 J# |  z6 F. g: n
  362. ; http://php.net/expose-php
    7 P. e, Z% V  d* b
  363. expose_php = On
    % H$ Y& F! Y0 i$ Q$ q% o* Z2 h
  364. , x% I$ L% {! x2 M6 M
  365. ;;;;;;;;;;;;;;;;;;;& q- k! f8 m) Z0 B$ m  q; H* x
  366. ; Resource Limits ;( d/ W: N, C7 S3 ~
  367. ;;;;;;;;;;;;;;;;;;;
    6 m9 Y  Q5 F( [: P! i
  368.   j, @$ z1 d( `, o; y( {4 h, P) h
  369. ; Maximum execution time of each script, in seconds9 }  J" ^6 \1 N  o
  370. ; http://php.net/max-execution-time8 ]) W) N5 y, u0 d6 x) \( ^' H, ]
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI5 u! b# e9 g. e! f# z9 F5 a: p
  372. max_execution_time = 300! v, ~3 @; o: `- x; [/ h8 d
  373. ) h  ~( s8 e; p& Z7 E5 `
  374. ; Maximum amount of time each script may spend parsing request data. It's a good( L7 @1 z% r$ X4 K& g* ~: A
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    9 C% T" j; Q( l9 C; U3 w9 J3 ~
  376. ; long running scripts.
    ) N- i/ D! N* J/ e5 q5 X9 V
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    8 t0 e( z& @+ k6 l% P/ K
  378. ; Default Value: -1 (Unlimited)
    ( g; H5 l7 c3 b
  379. ; Development Value: 60 (60 seconds)
    5 S3 i( _3 N* G% W  |) v+ F# h. ?
  380. ; Production Value: 60 (60 seconds)6 |/ I7 u1 d& c) w& p2 z
  381. ; http://php.net/max-input-time+ j% r/ y1 P  q
  382. max_input_time = 601 e* K* l. D" `/ ^$ }3 ]. W

  383. ; i! U, Z" R6 O1 z: E, Y: T9 F' H. d
  384. ; Maximum input variable nesting level! H, N: P, S3 c7 P/ B/ J5 N
  385. ; http://php.net/max-input-nesting-level
    / M8 r+ G. x; Z0 p' U
  386. ;max_input_nesting_level = 64
    1 u4 b# [! [  ?) L: V/ E, C- m% `
  387. ( C3 S; C7 n0 J+ w; |, `; C
  388. ; How many GET/POST/COOKIE input variables may be accepted
    4 W* l+ e% E4 Z% }
  389. ; max_input_vars = 1000
    " q; a# f) H. q( u; v; u

  390. $ m( M, C+ F4 s: }/ b; a- L
  391. ; Maximum amount of memory a script may consume (128MB)
    ( `4 G: z0 N) l9 C4 O3 r
  392. ; http://php.net/memory-limit
    " L4 v) F- Y6 ]: c4 u5 O6 ^: y2 ]
  393. memory_limit = 128M
    ) J1 z' g- u8 G6 c0 {6 @
  394. ' F' i7 ~. f+ d1 a& O4 w4 Q9 ]( b  L
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;# {# L# h- [% b+ l* ^4 P, k$ x
  396. ; Error handling and logging ;
    3 q3 u/ W9 r) |, u
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    & H' M% D% e& F  Q9 L
  398. 9 S# L& R* m. |) a& @- Z
  399. ; This directive informs PHP of which errors, warnings and notices you would like: g" P( U7 N9 [2 C
  400. ; it to take action for. The recommended way of setting values for this
    & A4 v! ?% N! G& I; Y+ J
  401. ; directive is through the use of the error level constants and bitwise
    ; w" O) ?1 e) ~6 g1 h1 D4 h! d4 S
  402. ; operators. The error level constants are below here for convenience as well as7 @: j) ]$ B4 J9 `( P
  403. ; some common settings and their meanings." t4 K2 Z; E0 g6 x2 Z
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT$ I& _' x' j$ n8 F
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and1 [% @( [2 K- p2 x5 v4 d: w
  406. ; recommended coding standards in PHP. For performance reasons, this is the  S9 i8 p3 i& p( }6 F) g) z
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ! W- S; x1 A" |" Q: d+ x% P
  408. ; resources complaining about best practices and coding standards. That's what
    0 i3 B2 G8 z8 P+ w7 B( B
  409. ; development servers and development settings are for.
    0 H. d+ C9 E2 c# d. Q
  410. ; Note: The php.ini-development file has this setting as E_ALL. This1 q- L) w6 }# ~, Z- t
  411. ; means it pretty much reports everything which is exactly what you want during
    $ A) H0 y! B' |% p' O% ^5 h! q
  412. ; development and early testing.# z1 ^% q" u' {
  413. ;' a" m! `5 A( ~& ?) {" f, V
  414. ; Error Level Constants:
      H+ f" N# c4 w5 e) \+ J" Q
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    & w! m9 R  n( e0 R6 N5 G0 f& [8 D* b
  416. ; E_ERROR           - fatal run-time errors7 W' F9 s- k: y
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors2 b% k8 m9 k' M; ?
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    1 e; ?0 c1 M: }) e1 g1 @
  419. ; E_PARSE           - compile-time parse errors
    ) E4 J& K' U# s* F5 P' V
  420. ; E_NOTICE          - run-time notices (these are warnings which often result" O" R: Q; ], w2 B3 D% i
  421. ;                     from a bug in your code, but it's possible that it was
    $ j" W! }( v. V) ]4 t8 k
  422. ;                     intentional (e.g., using an uninitialized variable and; t6 i/ ]2 N* w5 W
  423. ;                     relying on the fact it is automatically initialized to an: Z% p1 B3 x. h- B
  424. ;                     empty string)) V  w# A& T# E5 O$ Q
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes5 y) p) C9 C/ h8 V  a2 Q$ d- l
  426. ;                     to your code which will ensure the best interoperability- o$ M1 b5 @: K5 {; C* }
  427. ;                     and forward compatibility of your code, m* {* G. q  H7 {
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    0 J' t5 j4 E2 f- H4 e  B% L
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's' V& W. F7 K' a
  430. ;                     initial startup
    # T0 S3 Y! B/ e% R! m7 \9 B/ O% y
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    ' U' r& E3 e$ k" }9 V  E6 i
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    + _0 @6 k( ], l2 `" k
  433. ; E_USER_ERROR      - user-generated error message! Y9 {$ h/ L9 U! @
  434. ; E_USER_WARNING    - user-generated warning message: v" X$ Q( z: ?/ N6 G
  435. ; E_USER_NOTICE     - user-generated notice message
    * y0 W7 Z' K; ^% T, C' I/ S+ g
  436. ; E_DEPRECATED      - warn about code that will not work in future versions3 B) Y" l0 j6 X2 ^' U+ Z4 ]
  437. ;                     of PHP
    4 W) M9 \& q- I7 D% o5 r
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings# M5 g' s' p* G: A5 N  ?5 M
  439. ;
    9 |0 c/ ]3 m8 t. C& I
  440. ; Common Values:
    , Q+ d# E' a$ e. E
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ' c4 _; q8 j5 c) N/ k/ s
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)$ @& I2 Y8 F! q. K
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.); b  ]1 d5 _6 g) u$ W8 f
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    3 q. b% V/ I* l4 l. s- a9 L
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED8 |! L& @' ^& i4 j- @
  446. ; Development Value: E_ALL7 z8 K" I6 \! U" d
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT8 C3 J: p4 a" J  w
  448. ; http://php.net/error-reporting
    * t1 X! ]% ^# p# ^# F
  449. error_reporting = E_ALL & ~E_NOTICE7 e0 J* t5 m+ D1 v/ Y$ {( I$ x! j+ I

  450. 3 F5 P1 \) H6 Z$ v( K; m9 J2 u
  451. ; This directive controls whether or not and where PHP will output errors,
    ( p8 r7 R: _) L1 L, G: R
  452. ; notices and warnings too. Error output is very useful during development, but: I2 p: E+ R4 q4 `: t
  453. ; it could be very dangerous in production environments. Depending on the code
    0 D9 j8 c) B5 u& Y
  454. ; which is triggering the error, sensitive information could potentially leak
    3 w/ v! |9 P7 i
  455. ; out of your application such as database usernames and passwords or worse.
    . B" k! E' ]  }" Z
  456. ; For production environments, we recommend logging errors rather than
    , e1 _' {3 P# U7 Y$ d
  457. ; sending them to STDOUT.
    6 h, k. W; F; Q9 A  \
  458. ; Possible Values:
    ' d& r' `! f) W* m+ E' E
  459. ;   Off = Do not display any errors
    * `+ l. Z1 _6 |) Q9 Q
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    + I* R* C0 @6 l! T% }
  461. ;   On or stdout = Display errors to STDOUT
    ) e7 x$ Z$ e, Y3 G+ [! d3 k
  462. ; Default Value: On
    - K! ?- x1 t9 x8 g3 e/ L' F3 b( v! m
  463. ; Development Value: On
    ! ~; S8 L* i- D. @; S) a
  464. ; Production Value: Off8 m7 ^; B# z  [5 m
  465. ; http://php.net/display-errors" Z# {% o4 a/ v0 R9 {
  466. display_errors = On
    $ B, U0 X, D1 h% R8 M
  467. 9 @0 ^6 Y/ c8 c0 \& e5 d
  468. ; The display of errors which occur during PHP's startup sequence are handled
    , j9 m4 s2 U2 v9 Z3 k
  469. ; separately from display_errors. PHP's default behavior is to suppress those. g- }! _7 F: r4 U8 l
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    - [" a# \/ y1 K+ W. R
  471. ; debugging configuration problems. We strongly recommend you# ~' Y4 A& `( m
  472. ; set this to 'off' for production servers.
    & h: K9 q4 U" T3 U/ J  Z% x
  473. ; Default Value: Off% Z# p  r& G/ m$ B% s$ H; k
  474. ; Development Value: On
    4 v& }7 Z% w! Z0 u
  475. ; Production Value: Off
    " }* u8 O# I+ P( M
  476. ; http://php.net/display-startup-errors& N# Z7 l0 B) r+ ^/ g+ c
  477. display_startup_errors = Off
    ) W. R- Y2 u2 k( t

  478. 1 Q) f! s5 {! ?3 f' E; R
  479. ; Besides displaying errors, PHP can also log errors to locations such as a! m* i. [5 |( r0 M, t( t4 A
  480. ; server-specific log, STDERR, or a location specified by the error_log
    4 B- ?/ C% F2 N/ }1 i) j; O7 w; o
  481. ; directive found below. While errors should not be displayed on productions
    ! ^' ^# g: c. E# Y9 i: p
  482. ; servers they should still be monitored and logging is a great way to do that.
    % V. X& Y2 p& I# E  ?$ S3 X
  483. ; Default Value: Off
    ( J! [2 O2 A! }1 D: [0 U/ a8 [
  484. ; Development Value: On
    ) W/ Z" U7 F% {1 m+ m/ D! R
  485. ; Production Value: On
    3 g0 s9 ?" S3 ^( d: k
  486. ; http://php.net/log-errors' Z- l) g* |) X9 q7 j0 Z
  487. log_errors = On& N3 z2 o/ G8 z. f

  488. & T( A1 D5 b; u$ G* H8 I
  489. ; Set maximum length of log_errors. In error_log information about the source is
    & w: L5 s. h6 R2 K
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.( v, [/ b3 D' t/ ^
  491. ; http://php.net/log-errors-max-len# {( F) [( X/ q9 U  I
  492. log_errors_max_len = 1024
    4 }$ T. z" H( T. [
  493. , D' r& n+ x# q! g6 {; _
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    " r. @3 [7 |- r* Y
  495. ; line unless ignore_repeated_source is set true.
    7 v8 x; V0 a5 D% V: e# c
  496. ; http://php.net/ignore-repeated-errors
    0 Z; c7 @% V: X9 ?( l) i- i- d
  497. ignore_repeated_errors = Off
    ! h' A& M7 [5 k
  498. 9 c9 h. i/ U% s4 N
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    2 }6 e" I; K' ]0 j
  500. ; is On you will not log errors with repeated messages from different files or
    ) @  K/ k9 S3 [( `) J; I- W
  501. ; source lines.
    , l" [+ i% ]* Z4 u& [$ j
  502. ; http://php.net/ignore-repeated-source: `" i" ]% x$ ~' K  c
  503. ignore_repeated_source = Off
    ; o9 V+ c8 z+ h

  504. 8 z( v' @' Z2 A; M
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ) F) a, S/ ^2 ]( X. |' L6 m
  506. ; stdout or in the log). This has only effect in a debug compile, and if* o5 h) a( X3 y7 X# _
  507. ; error reporting includes E_WARNING in the allowed list
    ! B; @: D: _  K. z# k
  508. ; http://php.net/report-memleaks
    4 P% i8 W; L% n9 Q7 N0 ?
  509. report_memleaks = On4 _9 _# y# `( N+ V2 j
  510. / @3 _9 I  X0 ^! b
  511. ; This setting is on by default.
    3 m! o* E+ B8 M0 _
  512. ;report_zend_debug = 0
    1 K3 N/ \( N: V9 c
  513. 0 F' G& H: k0 i4 E4 c% G
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value& B' D3 A: Y# H6 M. f* o  R: g
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    2 S2 l7 w9 n# q
  516. ; however be disabled on production servers.
    & Q1 a- U4 T& ^' K+ @+ P
  517. ; Default Value: Off
    % z( B* j2 a) O" V/ f" {! S
  518. ; Development Value: On: r5 U0 _# S0 M- o
  519. ; Production Value: Off
    6 T, Q% `* M8 `, ]. x+ L% P
  520. ; http://php.net/track-errors4 _1 M: u  ^/ Q5 o0 I2 {  L) |$ Q
  521. track_errors = Off
      L9 i5 ~+ o  W" n8 y9 k

  522. * ~5 _  e; {9 i
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    % r) {. T4 ]2 ^# a; L8 e
  524. ; http://php.net/xmlrpc-errors
    % }8 y! X1 V$ K
  525. ;xmlrpc_errors = 08 E7 ]8 x5 u: i3 M+ x

  526. . P, n" T- T! I6 i) Z+ O4 W3 n! y' y
  527. ; An XML-RPC faultCode/ X' J/ ^/ F8 ]
  528. ;xmlrpc_error_number = 0
    3 K/ ~( T. K+ I# a

  529. ( c: \  ]6 T( Q/ A  F; C" @- _1 @
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    - x: k3 e; ^: P! E
  531. ; error message as HTML for easier reading. This directive controls whether+ i1 [7 U" ?: `9 p% `9 ?0 w7 y
  532. ; the error message is formatted as HTML or not.9 L) l8 |! m, Z! x& M# i% ~  m: @
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ) ~2 w: H" D. K# R) s
  534. ; Default Value: On8 `$ d& D% h( p( d! Y5 [
  535. ; Development Value: On6 M* n" g: e$ q% w! g' I
  536. ; Production value: On; |% v2 b8 k& l- c/ O
  537. ; http://php.net/html-errors
      P7 k, A9 |9 o& k# Q1 J. ]6 k
  538. html_errors = On4 w: W* }8 g* X8 w# {' h
  539. 6 C6 y2 y" i7 Y% d1 @: j8 H# g$ s
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP/ w: O$ Q4 q% @2 ]
  541. ; produces clickable error messages that direct to a page describing the error
      r7 B* B, Q) i! x
  542. ; or function causing the error in detail.3 S8 z3 L9 P% J
  543. ; You can download a copy of the PHP manual from http://php.net/docs4 D8 ^2 X& h! O0 Z  V, F! O
  544. ; and change docref_root to the base URL of your local copy including the
    . Y9 V2 W& y* D. N; {1 m1 a+ E
  545. ; leading '/'. You must also specify the file extension being used including
    & v4 h4 h7 d3 `
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    0 m# Y/ }# _( Y& a5 S
  547. ; case no links to documentation are generated.
    " x  g( U& n& h; ~& M/ J
  548. ; Note: Never use this feature for production boxes.3 J# M+ h( x* f! X2 _; W/ O
  549. ; http://php.net/docref-root
    5 C" H9 B0 Q5 [% g7 Q/ M2 H) Q4 B
  550. ; Examples
    ! _5 f6 r, O6 i8 B
  551. ;docref_root = "/phpmanual/") x, V1 O/ ?2 N8 z) h# `
  552. $ P( j1 `5 Q1 N" g: a2 ^
  553. ; http://php.net/docref-ext0 o+ `+ H7 q& c
  554. ;docref_ext = .html5 M: d2 h: y, Q2 d' W+ V7 \* l
  555. 0 F2 ^- D- \) j( S( \7 G
  556. ; String to output before an error message. PHP's default behavior is to leave
    & L" L+ `0 ?4 x2 N* a  I
  557. ; this setting blank.
    ! s7 C, u8 q; `0 G- c% n: O8 i
  558. ; http://php.net/error-prepend-string$ F! S1 A) ]7 ?" b7 h, `& n+ _7 f
  559. ; Example:  f5 t7 u- \) t0 b
  560. ;error_prepend_string = "<span style='color: #ff0000'>") f% j: j4 _( w/ \

  561. ; n! C' w5 h6 r+ I3 Z1 d) l1 A
  562. ; String to output after an error message. PHP's default behavior is to leave
    4 y( H5 Z2 ?4 s* d, _) c  U
  563. ; this setting blank.
    ! ?# ]1 M1 C/ z
  564. ; http://php.net/error-append-string
    / S1 f& w+ [' G, J0 b( \
  565. ; Example:
    7 m7 \9 Q$ W. {' }) u9 v2 M$ j4 f
  566. ;error_append_string = "</span>"
    ) f9 _8 n. j' N) z
  567. 8 O% T0 Q+ ~. [6 w; N( {* r" `
  568. ; Log errors to specified file. PHP's default behavior is to leave this value! l) s7 X/ q! Q6 ~
  569. ; empty.
    - w4 N7 L. y! i* z8 J* K
  570. ; http://php.net/error-log- B- U8 p8 O- S5 G
  571. ; Example:
    : T8 ]$ b' ?  X4 Z7 N* f
  572. ;error_log = php_errors.log
    : U* {! r) A1 u2 j! y( D+ x
  573. ; Log errors to syslog (Event Log on Windows).
    6 N* J# `/ k1 G2 q; e
  574. ;error_log = syslog
    6 E! b5 ~+ M+ n- o8 X7 z2 _
  575. ) R2 T0 \) S2 i( @# K- Y
  576. ;windows.show_crt_warning1 E& W6 V! N: g5 e0 o, E
  577. ; Default value: 0
    . v+ T1 f( m2 I- I6 J
  578. ; Development value: 06 F$ o1 t/ U5 K; K* G
  579. ; Production value: 0
    . [: g  ^) r$ n1 [, x$ _
  580. $ v* E) p8 y$ N: p
  581. ;;;;;;;;;;;;;;;;;% N3 O8 ]' s* Q, C' c& l6 m
  582. ; Data Handling ;' `0 c- [9 Z' R4 a4 i
  583. ;;;;;;;;;;;;;;;;;$ \' L7 I# H9 c$ @4 p6 I$ s
  584. # @. t+ F8 h) y" _
  585. ; The separator used in PHP generated URLs to separate arguments.6 x' e' X2 Q1 M" |8 t- f* Q
  586. ; PHP's default setting is "&".# O# a  u* G% C" A- G, }
  587. ; http://php.net/arg-separator.output
    9 Q& C$ U7 t% q( K3 x, h+ \4 F
  588. ; Example:
    $ D5 n$ E% D: l% d) |& q) `
  589. ;arg_separator.output = "&amp;"
    9 X( J" X$ h& C6 Q8 q

  590. - a4 r. J, y% D
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
      N  V% E7 }. H  f0 B3 d
  592. ; PHP's default setting is "&".3 g  ^1 H6 K2 e- \4 v+ P% e
  593. ; NOTE: Every character in this directive is considered as separator!
    6 {+ y( d0 y# H9 T" G
  594. ; http://php.net/arg-separator.input, q/ L6 @- o- C( O: k
  595. ; Example:& q- E. z7 Q( |, @8 |9 T! h
  596. ;arg_separator.input = ";&"
    8 j& j3 F% Y1 T( g/ ?

  597. / Q( f# K$ b3 L- P& W
  598. ; This directive determines which super global arrays are registered when PHP; C+ O3 r3 a  c9 K9 ?+ b% m5 t
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super( E: u7 L" _4 i1 H
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    % O0 E1 \  D0 p$ R: A/ W
  601. ; paid for the registration of these arrays and because ENV is not as commonly3 h! I4 I# s- [% B: o3 v8 [; H
  602. ; used as the others, ENV is not recommended on productions servers. You
    % C2 g# D& O# u  Q9 T; B2 A# d2 d$ {
  603. ; can still get access to the environment variables through getenv() should you5 l- C# G* j* E
  604. ; need to.
    $ Q: H0 J  e6 E$ X" M
  605. ; Default Value: "EGPCS"# @& A2 H! x, w0 u9 I
  606. ; Development Value: "GPCS"9 l& E- j8 e5 e% c* @. {3 I- d$ \
  607. ; Production Value: "GPCS";
    ; i+ @$ C5 u  b% Y! {! F
  608. ; http://php.net/variables-order6 W: ~* I0 l# T$ \* z$ @
  609. variables_order = "GPCS"
    * ?3 F# Q& w+ X! y+ p9 T* l
  610. + ]& d& a* x! O; c4 T  r5 ~$ ?
  611. ; This directive determines which super global data (G,P & C) should be
    - K5 z  ^: z$ s
  612. ; registered into the super global array REQUEST. If so, it also determines
    ! C6 z/ V8 x: W, x* V& B2 N  U
  613. ; the order in which that data is registered. The values for this directive1 P5 J2 W" B  W$ _% E/ N
  614. ; are specified in the same manner as the variables_order directive,5 n4 l7 A# h' @( Y
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set' z0 b6 |1 s! W; o, W' k
  616. ; in the variables_order directive. It does not mean it will leave the super
    3 a2 t$ R; E% ~
  617. ; globals array REQUEST empty.
    3 r; a* S3 Z& l5 m
  618. ; Default Value: None
    $ k0 S8 P" Q) @5 ~
  619. ; Development Value: "GP"
    5 h* g  n' |7 E: B
  620. ; Production Value: "GP"# z4 v; S4 o* P" {: N
  621. ; http://php.net/request-order
    5 `0 j; Q( _5 I5 A3 F# S
  622. request_order = "GP"
    % Z6 q2 A% H2 J# B8 S6 p
  623. ) h) k: O. i2 l/ T+ G5 }
  624. ; This directive determines whether PHP registers $argv & $argc each time it! o5 {8 j6 `) l, Y
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script- I: J# `$ X& M/ ^: ~! @! l) T
  626. ; is invoked. $argc contains an integer representing the number of arguments3 @7 q! g/ C6 J6 w& Y4 I
  627. ; that were passed when the script was invoked. These arrays are extremely
    " r. S1 k8 F$ \" }+ K
  628. ; useful when running scripts from the command line. When this directive is
    $ d: {- X5 N/ U1 N
  629. ; enabled, registering these variables consumes CPU cycles and memory each time1 R6 U# `- v3 V4 E1 F3 L
  630. ; a script is executed. For performance reasons, this feature should be disabled
    3 J+ v' R- l  @* e0 F0 a
  631. ; on production servers.
    ! o3 H8 M/ a+ a
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    1 j$ Z* P' ^3 w' F/ }: z
  633. ; Default Value: On
    ! `9 h7 ]+ X0 j0 c* i# X% m) L& p
  634. ; Development Value: Off3 A* J2 M, j% W
  635. ; Production Value: Off
    * ]: K. y! |5 h1 x1 y
  636. ; http://php.net/register-argc-argv4 Z! O* w, @. c2 D, G
  637. register_argc_argv = Off% V4 e) `$ Z  _& S
  638. + Q% Z' n! e- A( `* D* C
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    3 v; F' m$ y$ M' X" T
  640. ; first used (Just In Time) instead of when the script starts. If these
    8 f- U. a% r- `
  641. ; variables are not used within a script, having this directive on will result, h1 `& L8 H6 {
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    7 P4 D% _7 u9 F# _( `1 {2 \2 k7 |+ h
  643. ; for this directive to have any affect.: y/ B$ S; ~& t% A
  644. ; http://php.net/auto-globals-jit3 S! ~6 ?: T# r# ~
  645. auto_globals_jit = On
      F- n9 _: I6 Q' Z
  646. + C) g$ X8 k: b4 }  u3 i
  647. ; Whether PHP will read the POST data.7 {. Q% K# b2 S6 G
  648. ; This option is enabled by default.
    : k, [6 O  ?( Y- C
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST* n& Z& c7 [, X: I6 \  Y
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    ! D8 x: K' l, l/ B3 g1 {0 K
  651. ; POST data will be through the php://input stream wrapper. This can be useful% [4 H+ Q+ w8 L- C5 J
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ! N2 B3 {, v; ?  z
  653. ; http://php.net/enable-post-data-reading2 @  p2 Z# t: v- t
  654. ;enable_post_data_reading = Off2 X! e% Z' J- t; R/ n* o3 U$ Y
  655. * x. F# h9 O# I4 c3 L
  656. ; Maximum size of POST data that PHP will accept.) Y* R  k  u. j$ C
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading9 l( I/ c  S7 Y; G
  658. ; is disabled through enable_post_data_reading.
    ) _: I0 Y& z, M9 |
  659. ; http://php.net/post-max-size
    / u* D: C& q0 H" F
  660. post_max_size = 50M6 ?0 g8 ^7 V1 ~. Q# j9 J4 _

  661. " o7 P8 u8 v4 ?7 ^: K8 x; G
  662. ; Automatically add files before PHP document.5 `+ l5 U  K* G. O- Y9 E4 X
  663. ; http://php.net/auto-prepend-file
    5 |5 j3 M/ b* \% O9 n9 u
  664. auto_prepend_file =3 ^9 J& D' T& [3 ~
  665. 2 I- p3 H. I2 g( B! A/ x
  666. ; Automatically add files after PHP document.& Y; z0 y5 t# S$ R7 G' q  W( l! Z
  667. ; http://php.net/auto-append-file/ a6 G8 n3 d1 w. ^( Z( S! A
  668. auto_append_file =
    & g3 o1 f" M$ y" N% L+ ~( \
  669. ) M, q( w$ m8 [. p
  670. ; By default, PHP will output a media type using the Content-Type header. To  B" z$ R6 G% o
  671. ; disable this, simply set it to be empty.
    0 M% Z4 R+ n: S* I) T+ T
  672. ;- T9 R6 o4 m( s* a
  673. ; PHP's built-in default media type is set to text/html.
    % f# N' O( s4 i8 I' a0 p, I/ z8 P
  674. ; http://php.net/default-mimetype
    * X6 u5 J9 v; C: Q
  675. default_mimetype = "text/html"
    2 h. y/ G0 g8 `' Z, j
  676. ( p: g3 Q- b+ T" \4 ]- W
  677. ; PHP's default character set is set to UTF-8.
    " P0 A! S" \) w& e2 W" c
  678. ; http://php.net/default-charset
    2 f/ S2 }/ }- K( j' j
  679. default_charset = "UTF-8"6 ]+ M# ]! }7 E9 B

  680. # ^! e2 G. s0 j3 L9 m0 P
  681. ; PHP internal character encoding is set to empty.
    ) O5 ^7 b, X( D6 d# ]
  682. ; If empty, default_charset is used.. |  z0 a" V9 a/ j4 i: S4 k4 z
  683. ; http://php.net/internal-encoding" J/ X, \1 @. D  J& ^, ^" L
  684. ;internal_encoding =
    ; Y; ~7 l4 `  r
  685. 9 N6 [, {8 G" D
  686. ; PHP input character encoding is set to empty.
    8 }, [9 P/ \  `6 H
  687. ; If empty, default_charset is used.
    ( @$ H5 P; m6 F1 b2 T- K5 Q
  688. ; http://php.net/input-encoding; r6 p: p/ T, C7 \) w; F
  689. ;input_encoding =
    % N0 B2 `7 c3 e% A) P1 w
  690. 8 _3 u! |3 z+ z) q: y
  691. ; PHP output character encoding is set to empty.
    1 g6 O' t% r; i- P1 ~9 M% L
  692. ; If empty, default_charset is used.
    6 E6 v5 T1 F9 R# q/ t5 Y5 T
  693. ; See also output_buffer.
    5 Q5 J2 X8 j/ y: R' S- u) j
  694. ; http://php.net/output-encoding
    7 @- [4 @* k8 @
  695. ;output_encoding =5 N1 C! R' ]( b# p  q; l" E" A, f( Z% A
  696. ( L( n3 y, m7 N2 w* J
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is  |( ?9 A1 _1 Y4 M9 |" l- t( a. E
  698. ; to disable this feature and it will be removed in a future version.
    $ P- k6 g& t4 @; v( F: `" o5 r
  699. ; If post reading is disabled through enable_post_data_reading,6 ?' P. \" L% z. {! G+ g
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    % a' n8 h; V/ j7 e, {
  701. ; http://php.net/always-populate-raw-post-data
    ) c# v; [; q0 F+ x. r1 s& C
  702. ;always_populate_raw_post_data = -1, b2 d7 Q4 b5 Q0 a% [

  703. . R! n: C, e0 s/ O* M8 ~" ?
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;: K$ v2 @0 M- }. {7 A) s
  705. ; Paths and Directories ;% S. n& T) }" U& r0 S3 u" x8 H
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    , O( k( U; S. ~# e
  707. 9 T# V0 H5 h7 f1 n: C
  708. ; UNIX: "/path1:/path2"
    9 h9 g' E6 n1 V
  709. ;include_path = ".:/php/includes"
    : Z+ J8 B+ f$ r8 N, y0 A
  710. ;
    # `: J% }2 m8 z- p6 g( k8 a
  711. ; Windows: "\path1;\path2"
    ; `0 R; q( ^' k0 S0 d
  712. ;include_path = ".;c:\php\includes"
    ! x# Y/ k1 I$ c8 ]% i
  713. ;4 u. H9 }7 \6 I( j. Y9 a
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"( A3 Z( \3 d! u- I0 H$ l
  715. ; http://php.net/include-path+ R0 g) v6 s! j5 A

  716. - t: y" r1 X3 O7 q  ]# o5 T$ p
  717. ; The root of the PHP pages, used only if nonempty.9 U% I9 Z$ `* G8 k" x+ }: c
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root( a' r  k) x* _, C* ~2 e( ?
  719. ; if you are running php as a CGI under any web server (other than IIS)
    7 r- E+ U& X. L# J8 z# N. ^! L
  720. ; see documentation for security issues.  The alternate is to use the$ J1 [$ ^# R3 m+ w
  721. ; cgi.force_redirect configuration below
    9 h1 T/ R; f" ~( }$ O5 D. J/ R
  722. ; http://php.net/doc-root
    : L! s- s# v0 p# q
  723. doc_root =/ @9 Y9 `8 r. U) ~
  724. + E: o! z$ b0 u! H/ F; Y3 u
  725. ; The directory under which PHP opens the script using /~username used only7 G% n# d( n5 Z+ _7 u
  726. ; if nonempty.
    ; b9 j' r4 A5 W9 H% Q% B
  727. ; http://php.net/user-dir6 S# V" n; p7 s& U. e
  728. user_dir =8 I; h  W% K! E2 Y: T% B1 z: P2 _

  729. 1 ?9 q. L; j, E. `5 I. A
  730. ; Directory in which the loadable extensions (modules) reside., {' U" l3 b( S" t8 F* m7 M9 e
  731. ; http://php.net/extension-dir7 n/ Z1 n6 |) }% F* }
  732. ; extension_dir = "./"
    3 r* c( s, l4 X
  733. ; On windows:
    % t$ a! z0 e5 A. }
  734. ; extension_dir = "ext"
    & f' Y- s6 v' J# R
  735. / ]/ |2 @; k1 o" Y' H: [" M
  736. ; Directory where the temporary files should be placed.
    2 I/ @0 t3 ~0 s& z4 h1 f
  737. ; Defaults to the system default (see sys_get_temp_dir)% R. L' Q: s5 ?9 b# X
  738. ; sys_temp_dir = "/tmp". Z, `& K  H+ O/ Q
  739. 4 P/ H7 g! e5 c) G, y* u
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    0 Z" N/ n& P$ |. T) r
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    7 a- n4 Y6 E% `& s0 ?0 v
  742. ; disabled on them.
    9 J+ Y3 q8 f7 i# a, B3 D% ?
  743. ; http://php.net/enable-dl
    ; ?- g: ~4 ~7 R9 N1 b
  744. enable_dl = Off
    * N1 U0 u2 Q0 W, C

  745. & ]! o/ O5 Z' K, o# u) ?& k3 f
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    , C( I" k$ i) R3 t4 C
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can4 g7 A) k9 i5 }" V+ {8 \
  748. ; turn it off here AT YOUR OWN RISK) X3 V# s3 ^7 I& g7 c2 H  D
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    7 q& n+ F; m- V$ z. A
  750. ; http://php.net/cgi.force-redirect, s, \$ p7 G* @) |4 O: [
  751. ;cgi.force_redirect = 1
    ' D. C) Z" H# F1 \

  752. : b! m5 R& J7 \
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with  p. i9 O! _! V# h1 a5 y. P- d
  754. ; every request. PHP's default behavior is to disable this feature.
    4 g8 x* H1 t0 f. J, l5 O* H% p
  755. ;cgi.nph = 1( G/ Z: ~! a% }/ O6 d2 a' {" g
  756. - Z9 U! Y& D9 p; u( x6 q& T+ `
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    7 R9 P  N% L8 }7 a% ?, f9 `, m
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP/ g& {, w7 F, x) C2 U0 g5 q
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    $ |& {, A) I5 ]3 {) r) b9 G
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
      M' G' f2 v" R
  761. ; http://php.net/cgi.redirect-status-env- Y) l' h! O6 l" t5 K
  762. ;cgi.redirect_status_env =* P0 k; ?4 f( h- v8 f

  763. # A6 A2 l; I1 D& X: L
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    1 _; |7 k" \: z; d1 f
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ) C7 F& h) ^' S
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    8 Q# R8 c/ N% y: B( a: O
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    # O1 ~8 F3 ~. G2 \. e
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ! J: r4 x% }5 m8 Q
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.' g1 t7 X2 g: r4 B# D8 \& k( r& X
  770. ; http://php.net/cgi.fix-pathinfo  d3 F4 i8 x- G' u/ n, C$ E, q1 c
  771. cgi.fix_pathinfo=13 j6 G- g9 Q1 q) W0 [- x  [0 ?' n' I

  772. - H# z' Z. Q9 {* V
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    0 t7 ^: k3 k* ]4 d
  774. ; of the web tree and people will not be able to circumvent .htaccess security.$ A/ o! M) w& Y( q. v2 l6 W
  775. ; http://php.net/cgi.dicard-path4 [8 i. x( n! @) }+ O& o
  776. ;cgi.discard_path=1; G. Z8 X) H! U% v3 i" q

  777. $ @6 S) ?  I0 R% e+ I" o9 d, K9 W
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    : g: d1 X& a/ O* ^1 i
  779. ; security tokens of the calling client.  This allows IIS to define the: R! t+ x3 `) C) H: q- w% K
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    4 x: ?! ^- o7 o5 W
  781. ; does not currently support this feature (03/17/2002)$ D. w% R; s% u0 `
  782. ; Set to 1 if running under IIS.  Default is zero.5 @9 L" B" I" |2 T0 k% m* k$ O
  783. ; http://php.net/fastcgi.impersonate5 S# ?0 C/ j. d" U" n& n4 W
  784. ;fastcgi.impersonate = 1- y4 G1 y, Q7 k0 `! E3 i

  785. " I! X, X* D7 `9 G" L) D
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    / t% ]! C) i6 X0 T+ |
  787. ; this feature.
    2 y0 r% i; j1 A, F
  788. ;fastcgi.logging = 0
    . L5 z* m% y% h- z3 {/ b$ S% I  U$ G
  789. 9 G+ H2 s( N- j& E4 u- W! @
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    . Z+ c+ C' \$ T2 t2 @) h
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that, |7 @5 o" E- ~
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    # A+ F( }3 j/ ^' x! X7 ?6 s
  793. ; RFC2616 compliant header.6 x) R1 V: G2 y* R8 ^' X3 ?
  794. ; Default is zero.
      I" b# Q, V( \- z# X9 }3 S+ V
  795. ; http://php.net/cgi.rfc2616-headers
    9 o# H* b% O. c
  796. ;cgi.rfc2616_headers = 0
    8 a8 e7 @0 ^8 r/ O5 V/ J$ s

  797. ( \- t5 k6 G+ l
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!& A; g& f( j  }3 B. [
  799. ; (shebang) at the top of the running script. This line might be needed if the
    , L5 e7 i2 |3 z* i$ [9 E! Y
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI7 m/ C$ `3 ~: X+ d% b* n  u
  801. ; mode skips this line and ignores its content if this directive is turned on.7 E/ C* x! |4 g$ N3 O
  802. ; http://php.net/cgi.check-shebang-line' z4 D( F2 ?! K# t/ b
  803. ;cgi.check_shebang_line=10 G' u. f  y7 }  A) U8 B3 x' o

  804.   k- a; n6 p  T% f, K
  805. ;;;;;;;;;;;;;;;;
    5 ?4 i+ m: c: P8 D  Y- B1 ?
  806. ; File Uploads ;3 ]2 M# X# d6 _, i, T9 Q
  807. ;;;;;;;;;;;;;;;;& P& {7 u5 c/ d0 o
  808. " ^0 r1 u% s" Z  V
  809. ; Whether to allow HTTP file uploads.; a. d) E. b  C1 [/ j7 ]
  810. ; http://php.net/file-uploads
    8 i- f4 |: I* W- A
  811. file_uploads = On4 J* C' u  y2 F2 X  _
  812. 6 |8 ~! l8 F. B& C: H" ^) A; h3 j
  813. ; Temporary directory for HTTP uploaded files (will use system default if not; P+ y4 A4 H: L: i) e
  814. ; specified).
    : ?; a) U3 \3 j  j
  815. ; http://php.net/upload-tmp-dir
    ' H0 N. G7 I5 X' i% `6 A7 k' ~
  816. ;upload_tmp_dir =) n% L7 p1 I4 y5 a1 q2 p

  817. 1 J( [. A6 D5 C
  818. ; Maximum allowed size for uploaded files.
    / d& L  B- _6 g& O. F: j
  819. ; http://php.net/upload-max-filesize4 w- b! ]7 `' @# J
  820. upload_max_filesize = 50M
    * b2 S$ X/ y0 y2 i

  821. - _* R6 H! i' x8 n4 n& l
  822. ; Maximum number of files that can be uploaded via a single request% F  W9 b( W% x9 j9 {
  823. max_file_uploads = 20
    ! y% E! O# j% ^0 a8 X

  824. 9 b$ g/ D9 Y. r
  825. ;;;;;;;;;;;;;;;;;;
    ! F/ m  v+ J/ q3 r* g- Q$ k
  826. ; Fopen wrappers ;. ~4 M- p0 C( d
  827. ;;;;;;;;;;;;;;;;;;
    ! U2 T1 k+ y" ~6 l6 v0 V& m  @3 l

  828. / ?& u% v' m4 F' t( t  I
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files." Y: z; E' W% [" y3 B1 |
  830. ; http://php.net/allow-url-fopen& _$ |, |. Q2 F1 m: x
  831. allow_url_fopen = On
    4 M" d" b+ V& M6 |! N- q& B1 F* G

  832. # f, v7 P+ ]! n/ k3 _
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    2 J" r8 r& p, |
  834. ; http://php.net/allow-url-include
    ! F: a% ?2 ?( `/ x
  835. allow_url_include = Off* f4 w" U, L5 d" @/ C' v
  836. 8 X& d6 h$ F  m
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    2 J) W! a2 D& \6 B, C
  838. ; for this is empty.+ d2 K; J$ ]8 J) l# x
  839. ; http://php.net/from
    * m5 _& k& H3 J5 e+ q  i1 O+ q1 b: d
  840. ;from="john@doe.com"
    ' }( O- @) d5 }' Y
  841. 3 a$ R2 t. k% Q4 \( X+ F2 B' b' A% H
  842. ; Define the User-Agent string. PHP's default setting for this is empty.; _$ s4 @  `5 i/ E% b- A& ]: O* [: P
  843. ; http://php.net/user-agent2 e' H) ^4 I# C0 O2 X2 a8 O
  844. ;user_agent="PHP"$ Q  d1 G% @% z* {" s: P3 y
  845. 9 N7 n, n2 E+ @( n1 P% S( {' F
  846. ; Default timeout for socket based streams (seconds)
    4 r! g5 a9 E$ x3 P: i; O
  847. ; http://php.net/default-socket-timeout
    & V! ?4 J: T# A1 g& p4 L. b
  848. default_socket_timeout = 60
    . v' l! s7 V, Q- ]! s

  849. ; |. |9 V! r+ s; n7 _3 r- Y
  850. ; If your scripts have to deal with files from Macintosh systems,
    9 d" u& q$ Y* M  s' h; o" P9 s/ X- n
  851. ; or you are running on a Mac and need to deal with files from
    * ?2 S: `5 U1 K0 l9 t4 b
  852. ; unix or win32 systems, setting this flag will cause PHP to* `, g! `4 {3 B# j! H1 h9 u' c9 ?
  853. ; automatically detect the EOL character in those files so that
    5 n  o# G5 Z3 L; |+ a
  854. ; fgets() and file() will work regardless of the source of the file.
    ) @5 X) b3 C$ k0 }# S6 n/ J
  855. ; http://php.net/auto-detect-line-endings
    8 U; T- i0 Q  X- w: g7 ?% R6 A
  856. ;auto_detect_line_endings = Off" r" x* {' b- j0 G! v, @/ s2 W+ C

  857. ! u' o' n; @+ [! q/ A5 o7 {8 T
  858. ;;;;;;;;;;;;;;;;;;;;;;3 T& M4 d+ v3 S% G4 Q9 X- `
  859. ; Dynamic Extensions ;2 h0 V2 d) j8 M
  860. ;;;;;;;;;;;;;;;;;;;;;;
    2 G7 \8 \, M" v% L
  861. 2 v) [# D; r1 D8 p- a
  862. ; If you wish to have an extension loaded automatically, use the following
    1 y) g1 Z1 Z: `# q  M8 ?0 F: J0 K! X
  863. ; syntax:$ Z2 }$ S% f) G2 e) ~8 k- e
  864. ;8 d1 ]' a( a" w0 P4 S( F2 ?5 C, Z/ M
  865. ;   extension=modulename.extension) `8 H- V% q- n% l* {* L2 `
  866. ;
    ( w( B1 t9 a6 j0 [3 }, A7 i2 ?
  867. ; For example, on Windows:
    & `5 E. N9 _! f
  868. ;. U9 C( Z" q+ z$ m7 g
  869. ;   extension=msql.dll
    ; j# \' ?9 H$ C8 _7 e* W
  870. ;6 {# I: j7 q" N4 ?; ?4 C/ l  _! J3 g
  871. ; ... or under UNIX:4 P$ r% y& n6 p
  872. ;! p' P7 J2 e7 r0 N0 ~5 }) W. B
  873. ;   extension=msql.so
    8 @, E) F- K8 i# M* T7 v
  874. ;) ^& U; G: J  s2 [9 j3 l
  875. ; ... or with a path:; P! T/ _  R) u& v4 {1 c! C
  876. ;; |  Q7 w0 W& M# ?; ^" @# U
  877. ;   extension=/path/to/extension/msql.so1 m* [2 p& |- c+ T# `/ V; n, e0 P6 ]
  878. ;9 z1 q8 h+ f8 g9 D0 H
  879. ; If you only provide the name of the extension, PHP will look for it in its7 J9 A2 j6 Y8 {) D
  880. ; default extension directory.5 H' Y& B/ ~$ g8 s; a8 i
  881. ;7 f3 \3 T9 y3 q4 j
  882. ; Windows Extensions
    6 g. X# [* a9 N
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    6 A# s, o7 K5 ?6 s" V# e- o
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5); B& J; l6 s+ Z3 X9 m. I1 b
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    ) d+ v* K2 n0 r- g& S
  886. ; Be sure to appropriately set the extension_dir directive.
    % q! m3 z3 P5 i8 m3 o
  887. ;7 X1 @2 O# U& \" K- d" O& Z
  888. ;extension=php_bz2.dll
    8 y. Q- s1 z3 Z1 Z- a3 t3 U
  889. ;extension=php_curl.dll4 t  g5 }1 K7 z# y6 c& I% o3 c4 n
  890. ;extension=php_fileinfo.dll/ E. i% T  `  c7 i. y9 c% x- V, L5 V
  891. ;extension=php_gd2.dll) [/ A. O# o. b7 ]
  892. ;extension=php_gettext.dll8 s* E0 D1 i# E9 V
  893. ;extension=php_gmp.dll/ Y; ~) V6 b8 H. L9 R: C
  894. ;extension=php_intl.dll
      z. I. u$ E, v9 v; P( e6 E+ E
  895. ;extension=php_imap.dll, S5 c' m  A0 |4 J* D
  896. ;extension=php_interbase.dll; T+ A9 a. i& V
  897. ;extension=php_ldap.dll
    0 |  H6 |1 O0 _" q  t+ ?1 \5 l
  898. ;extension=php_mbstring.dll1 b  L! K' m2 p9 w7 l# ~% y9 J9 ^
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it1 t$ v/ p  E; b$ C
  900. ;extension=php_mysql.dll
    ! O, x- g3 ^' K8 E' k5 s
  901. ;extension=php_mysqli.dll
    ) S: J  A! f2 W  L3 Y1 x! Q) ~, S
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client  o8 h0 h. q4 R( s$ o/ h
  903. ;extension=php_openssl.dll# Z3 k- E4 O, y8 |  q
  904. ;extension=php_pdo_firebird.dll
    8 Z5 X+ X0 u2 ~* @8 X( E2 d7 u6 x
  905. ;extension=php_pdo_mysql.dll  ?7 U1 w* P' O, W+ N8 G3 P, m% `. I
  906. ;extension=php_pdo_oci.dll9 _5 K  M+ O) V& ^5 S8 Y4 k
  907. ;extension=php_pdo_odbc.dll4 ?: [! j- W7 Y+ A- w, z( M
  908. ;extension=php_pdo_pgsql.dll: `  I5 [. [6 [/ W, R! U# B. Y/ v
  909. ;extension=php_pdo_sqlite.dll
    3 o9 }+ I# Z! c  j
  910. ;extension=php_pgsql.dll
    ; |- W$ q# Y0 j) e) O4 R9 R
  911. ;extension=php_shmop.dll2 @8 w; y  f2 }' `% N

  912. . I6 }: s& o1 \# y# Y
  913. ; The MIBS data available in the PHP distribution must be installed.
    6 W6 q8 E# x, t3 F
  914. ; See http://www.php.net/manual/en/snmp.installation.php ; B" E4 e$ t) b2 `) U! V: n
  915. ;extension=php_snmp.dll
      R9 W- ^: S/ }0 M% i$ W5 O- z- i+ p; A

  916. ! h' x$ _& U8 b2 m9 h
  917. ;extension=php_soap.dll2 P  _& Z1 L2 U! J1 w
  918. ;extension=php_sockets.dll! k& y3 k; J' w. m( [
  919. ;extension=php_sqlite3.dll1 `4 y% R, A7 _5 f4 e6 E
  920. ;extension=php_sybase_ct.dll
    & `% d" V, D* w
  921. ;extension=php_tidy.dll
    7 p8 D0 f( m8 }6 F1 H3 _. p
  922. ;extension=php_xmlrpc.dll
    ; E$ o* v% {) z% j* [/ ?3 b! ]
  923. ;extension=php_xsl.dll* @# h0 K6 a7 o+ Q. {

  924. ' M4 F3 ?+ R4 \! s$ ?
  925. ;;;;;;;;;;;;;;;;;;;0 b. K0 F; V0 {0 S! h+ F0 |7 P
  926. ; Module Settings ;
    # n! Z( P: I- G7 s
  927. ;;;;;;;;;;;;;;;;;;;
    & Y: m; _: Y" }0 _. ]7 W* ^

  928. 3 o: |  t/ x: P
  929. [CLI Server]
    , H+ L% f; T& O
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.8 B; Y- S* Q2 X+ ~# p0 n, ~; _0 \
  931. cli_server.color = On
    ! e, n8 C& Q- G, h, Y% W1 ^

  932. 2 i3 q4 q8 d  L' J
  933. [Date]
    ! v5 L: }+ n" b( s2 x6 Z5 r
  934. ; Defines the default timezone used by the date functions: O" b" s) V8 [0 T, G5 e7 s4 Y
  935. ; http://php.net/date.timezone
    : u% P  r6 H- A( l( f! `! _
  936. date.timezone = PRC$ k1 s* F8 Y3 `

  937. 7 p; T1 K: `; [" W
  938. ; http://php.net/date.default-latitude5 M1 C) x2 a+ ^9 u" _1 w8 {) j, v  h
  939. ;date.default_latitude = 31.76670 R; V) G+ Y9 b4 w% p/ R4 d
  940. 0 K1 o1 v) c) ^% Y% i: Z6 P
  941. ; http://php.net/date.default-longitude0 N/ \9 l1 ?$ t2 k% Y+ F. H
  942. ;date.default_longitude = 35.2333
    : I$ f& Y& ?5 U' S% t

  943. . N  G+ Z2 {  D1 R
  944. ; http://php.net/date.sunrise-zenith9 B' O7 w7 W) A$ Q5 f, h( p
  945. ;date.sunrise_zenith = 90.5833338 D$ b/ o6 v8 o, a
  946. 8 G& I$ g: s- D
  947. ; http://php.net/date.sunset-zenith
    ' }( n, v% r& z# k9 \- J
  948. ;date.sunset_zenith = 90.583333
    # S2 X$ v6 z' G; \1 O5 ^! {

  949. 2 F) T5 _; L( Q5 p
  950. [filter]
    0 d% U( v& e0 d/ F5 i: D
  951. ; http://php.net/filter.default
    ! J2 z) U9 R4 I, b+ s5 Z' W% J9 t2 [$ A
  952. ;filter.default = unsafe_raw
    5 o+ U- `6 D; P9 k. Y8 _$ }

  953. 3 Z+ I1 S. g1 C
  954. ; http://php.net/filter.default-flags
    - z6 J# R$ C1 T
  955. ;filter.default_flags =  p  Y# P1 U/ D, h9 V

  956. 7 r8 }6 t1 F% Z
  957. [iconv]( |. K( ^  x+ B, `) S9 i
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.4 X5 Y" Z( g) @- D* P5 Y
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.' B4 k* p2 ?6 `
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding2 V5 b; f" ]9 t2 {/ \  @; [, r7 z
  961. ;iconv.input_encoding =6 m3 @( b9 j( ]- E1 x. X8 X

  962. 3 \; d8 u$ p% r3 n+ t; L: [
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.' X/ y  I1 O9 g0 \, y- f9 m& _: ?
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    , m" d, y  Q9 v, G- _
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    3 k) ]* e1 Y3 m
  966. ;iconv.internal_encoding =4 I( C* r" p- C. C$ r$ E5 o

  967. 7 [3 D! x) G9 p& X# E+ M6 N* r
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    - q6 K% ^8 C% F+ ]  G
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.6 m$ z( x6 ]6 G+ i+ n
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding- m5 |% x  I& X& |
  971. ; To use an output encoding conversion, iconv's output handler must be set
    ! e) L# V. `. ]9 z3 E2 s/ i4 ~
  972. ; otherwise output encoding conversion cannot be performed.; e8 W1 \8 u' ~9 t
  973. ;iconv.output_encoding =
    " F! i) B8 b, j/ @" _

  974. 5 P$ r2 T1 Z4 u" F  h# ?- e
  975. [intl]
    0 H) e9 j) X/ E9 t& U0 e" g: N+ [
  976. ;intl.default_locale =
    ' A5 z! k" e2 G2 L6 k/ d3 x
  977. ; This directive allows you to produce PHP errors when some error0 a' Q2 v9 j+ \4 i
  978. ; happens within intl functions. The value is the level of the error produced.
    2 }& x) Y" @& Q% Z& K6 X/ u
  979. ; Default is 0, which does not produce any errors.4 V/ \$ F% T0 I. P+ F: y
  980. ;intl.error_level = E_WARNING" ~4 C+ T- l. o, G6 S, u. D% X: G
  981. ;intl.use_exceptions = 0
    $ g( M( X! N6 l- z- m

  982. 7 R! o* W3 R( C( l
  983. [sqlite3]
    3 s( J0 }! O% ~$ ~4 C3 l" F
  984. ;sqlite3.extension_dir =
    2 S" u$ ]0 ~8 O2 N$ f% c- G

  985. ; S& x) Q9 V. J! f+ n0 H: k
  986. [Pcre]8 r+ k+ }, j8 u( y% T
  987. ;PCRE library backtracking limit.; A' H  Y& r9 M# z
  988. ; http://php.net/pcre.backtrack-limit* o: @0 m. t1 l. o
  989. ;pcre.backtrack_limit=100000
    % c2 u7 \9 ^) G+ _

  990. 0 y  [# r6 F; b( w
  991. ;PCRE library recursion limit.5 s( k& O  X% w1 Z( F5 a: O" p
  992. ;Please note that if you set this value to a high number you may consume all" K  x0 `& u' b, e6 x* [
  993. ;the available process stack and eventually crash PHP (due to reaching the, M* G. U' V) ]' ^. T3 m5 I2 y
  994. ;stack size limit imposed by the Operating System).
    - d# x* q5 F0 \/ ^6 s$ P/ G* i
  995. ; http://php.net/pcre.recursion-limit: N# F6 G! T. v. ~/ S
  996. ;pcre.recursion_limit=100000( h# I; d+ n: G4 T. `
  997. 5 V$ E! M; i& E; w1 G9 |
  998. [Pdo]
    8 t; D$ Y: ~+ S2 J6 T
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"/ \# J8 P$ s; P2 N
  1000. ; http://php.net/pdo-odbc.connection-pooling
    . w# w+ y7 I1 `, n0 p
  1001. ;pdo_odbc.connection_pooling=strict
    * R% `* T- |/ j5 e/ ^. N- g

  1002. 7 f% C7 U* Q7 I$ O
  1003. ;pdo_odbc.db2_instance_name( u% N  \( _; E1 J9 p# a
  1004. " _: r* C8 }- o% d- Z- r8 w
  1005. [Pdo_mysql]- w% l6 V3 @8 K7 @8 u  E) q
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ) N. ?- i: ]+ X9 F1 o, `, `
  1007. ; http://php.net/pdo_mysql.cache_size
    9 `- Y) M- U, t5 h6 p
  1008. pdo_mysql.cache_size = 2000. H# H/ Q$ Q3 w" {+ u1 z, ~# C
  1009. # ]$ @4 ~  w/ D. h" s
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    9 H4 W: r/ c2 n, @. U
  1011. ; MySQL defaults.
    ; u9 A! q( [  @4 E
  1012. ; http://php.net/pdo_mysql.default-socket
    5 m# z* X8 u" M. K9 ~2 {/ D7 O
  1013. pdo_mysql.default_socket=
    & G/ q5 u3 s- E1 a0 ?/ \

  1014. . ]9 ^8 U" B! e. ]/ U- s: c4 N
  1015. [Phar]% N0 N/ K+ Z9 @( ?
  1016. ; http://php.net/phar.readonly9 k/ z" {6 \( r% I5 C2 T6 O8 L$ o
  1017. ;phar.readonly = On
    : x  t6 i% E2 d

  1018. ) A7 R' E$ q& Z5 J) t7 _7 p
  1019. ; http://php.net/phar.require-hash+ E/ Q* P* J. I$ y: U3 K- _
  1020. ;phar.require_hash = On! N+ z% O+ k' A  w. N

  1021. 0 M- L* V  B2 p  s8 Z% T  t
  1022. ;phar.cache_list =  P9 x* t6 G* `' ~

  1023. / F0 J5 }+ R# S
  1024. [mail function]7 O; t, `, K: y  Y4 n& j
  1025. ; For Win32 only.* W# D6 i" H5 E
  1026. ; http://php.net/smtp
    % r* Z8 x* z/ q9 w7 d! U' m
  1027. SMTP = localhost7 h$ h9 v2 E) c. Y3 ]- o& j* w
  1028. ; http://php.net/smtp-port
    4 q  g4 W) b7 l: Z$ z! I2 Q
  1029. smtp_port = 25
    % T# S% k( i0 w* C$ [" i
  1030. % \, i& a: ]* N; ]. u4 ], C
  1031. ; For Win32 only." r2 f1 F* E. ?% z& o
  1032. ; http://php.net/sendmail-from9 A! N6 T* P& l, b
  1033. ;sendmail_from = me@example.com
    / C* U, u6 H  n7 _* d

  1034. . M6 {; D. i" a" e
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").8 D4 v$ j0 d1 ~, M' [9 w' E9 G" Q
  1036. ; http://php.net/sendmail-path
    2 Y- ]9 H3 Z0 P$ o  Q$ w3 _
  1037. sendmail_path = /usr/sbin/sendmail -t -i
      p9 o/ z  I! r+ m1 i

  1038. 8 _; U/ L6 K$ N$ ~5 `8 ^' v: E
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    ' `5 k& Q; D+ A3 {# Q
  1040. ; to the sendmail binary. These parameters will always replace the value of% `- v  D2 q9 [' ^
  1041. ; the 5th parameter to mail().
    . G2 N1 S/ J4 \9 _8 D7 H7 K
  1042. ;mail.force_extra_parameters =
    ! Y2 [- v  t/ @$ k3 N  R
  1043. 1 Q$ s: \% W: B7 B. T) D2 R( ]
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename5 l- U6 w' w" F' j- _8 C
  1045. mail.add_x_header = On
    + C  s) I1 }& x: W: n' E$ j: `+ c0 ?, R
  1046. / A7 a% w* `" w. w* _
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    * B. c' L* n* @! O7 I. @, G
  1048. ; the full path of the script, line number, To address and headers.
    ! o8 F- p. Y8 r, t1 }% _
  1049. ;mail.log =9 P( ], ], q2 T% ^( N
  1050. ; Log mail to syslog (Event Log on Windows).
    % I9 r) l- j8 h9 ^& {5 V4 N1 D+ j
  1051. ;mail.log = syslog  Q2 R' V2 b2 r9 }1 r

  1052. * T7 M, x+ y6 b$ s
  1053. [SQL]! L' K2 ~) _' W4 D
  1054. ; http://php.net/sql.safe-mode
    + Y" [& }9 q) _( T2 o; N  W  ^8 v8 M
  1055. sql.safe_mode = Off, O1 P- {8 B0 z* J$ D4 K

  1056. : i- i7 G% ^- U3 F% q1 A# p  V
  1057. [ODBC]
    8 C4 v! M9 l& j: k/ v
  1058. ; http://php.net/odbc.default-db
    , r+ F6 H: w- y$ a3 F( F
  1059. ;odbc.default_db    =  Not yet implemented
    + F  ?3 i/ f  {# q
  1060. 9 _1 u( c. X# R3 S2 ]( T
  1061. ; http://php.net/odbc.default-user
    ( l2 Q6 U3 p% C$ U# Z- g
  1062. ;odbc.default_user  =  Not yet implemented
    0 n+ Z5 E% }+ V& D5 ^, ~- n

  1063. + z$ n* N4 f7 ?0 S+ C
  1064. ; http://php.net/odbc.default-pw
    ; x5 V) L! {. y* l8 f
  1065. ;odbc.default_pw    =  Not yet implemented/ e: n5 ?; R( G5 z& ]# y: u

  1066. . O! J8 m% C4 ~; |! S1 A
  1067. ; Controls the ODBC cursor model.2 v$ k2 o" s* n2 n
  1068. ; Default: SQL_CURSOR_STATIC (default).
    4 M) M3 t5 l9 F
  1069. ;odbc.default_cursortype! {  L' k0 R% S& `8 w, k) l/ u
  1070. & l( u, D8 D& P* E; `' `
  1071. ; Allow or prevent persistent links.
    ( U2 Q3 T9 F0 D# W' c7 i
  1072. ; http://php.net/odbc.allow-persistent- Q; m+ W# {# V9 J" e
  1073. odbc.allow_persistent = On( I. Z, H& J7 S2 ~* `- ~/ R
  1074. 7 M; u+ A) t2 l; E9 i# Y5 c, t  N
  1075. ; Check that a connection is still valid before reuse.
    - m1 r2 F+ [9 J, u( ~
  1076. ; http://php.net/odbc.check-persistent
    0 s3 W2 L& p) @9 ]
  1077. odbc.check_persistent = On& d1 `! s. _6 ]3 n. p
  1078. - T& J, v5 d/ X. \# L  [+ P5 h8 D
  1079. ; Maximum number of persistent links.  -1 means no limit.
    / w, k8 C  q' L3 o- K" x
  1080. ; http://php.net/odbc.max-persistent( |/ ^$ l" \* ^$ D; H7 m% p; n/ \
  1081. odbc.max_persistent = -1
    9 x5 y2 b* p! Z
  1082. 0 y; q- Z8 k; O1 J
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    4 E! _* O7 m  N1 V) s
  1084. ; http://php.net/odbc.max-links* L5 I  J9 O: Y% b8 d& m
  1085. odbc.max_links = -1
    0 R, W, q/ a3 q/ _# S* \) i

  1086.   f* X7 g: a# j& W0 e! F' i; V
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means' P$ b+ x9 \! f9 r" A8 d
  1088. ; passthru.# G2 F$ I! I5 s
  1089. ; http://php.net/odbc.defaultlrl
    3 S  k1 @4 X4 J2 t, |
  1090. odbc.defaultlrl = 40969 p2 t3 x" B; ]) ?: N% S

  1091. 4 x, [) b7 P# y0 _9 L2 x
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.* O0 C; w* H9 z5 N  m$ [4 b# n) W. P
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    & S+ B7 J7 v; c2 h
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ; J$ V  b8 [, w- l: _9 m: w, V
  1095. ; http://php.net/odbc.defaultbinmode0 \4 n& A( c+ {, _, k2 l5 O! |) e- H+ O
  1096. odbc.defaultbinmode = 1
    & p. j! C* l- F

  1097. + l' l; d, U9 c: G6 K: t
  1098. ;birdstep.max_links = -1  ?6 A) f8 F% l# [- K: U& J, k
  1099. - N( F& d8 M9 _+ @9 G" m  h+ P
  1100. [Interbase]
    " A1 _1 O6 K; z9 B: n
  1101. ; Allow or prevent persistent links.
    6 F2 B, j0 a: E. I! F8 [- @3 @
  1102. ibase.allow_persistent = 1
    % Y# V# z# Y5 W( K. U# T
  1103. , w8 o) F0 F/ c  U% _( B4 z
  1104. ; Maximum number of persistent links.  -1 means no limit.) v9 e! e' P: A; {& a: \: i
  1105. ibase.max_persistent = -1
    & W; B+ @2 D+ p( G) _& K9 b2 G4 [7 S1 |
  1106. 1 b4 d# t: [* F/ z5 h2 `5 U
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    # i- \, v. ?: F2 l8 o
  1108. ibase.max_links = -1* S, z- ^0 I6 a; {" b, o2 l
  1109. 0 |! U' Q6 Y* K0 n
  1110. ; Default database name for ibase_connect().+ Y6 ?, x- m9 b3 }7 D
  1111. ;ibase.default_db =- o" d' E1 h5 b1 {2 ~5 p$ o

  1112. $ u+ s% g3 j/ A: g5 |+ p
  1113. ; Default username for ibase_connect().4 `8 p4 z2 V2 W; \
  1114. ;ibase.default_user =" i: X6 V3 g8 P: P

  1115. 3 y! m" ~% V* `$ z- Y
  1116. ; Default password for ibase_connect().
    6 e+ ?# Q( U. ^+ D" t4 U4 `7 Z- j
  1117. ;ibase.default_password =
    7 t$ m7 s% w0 ?: O

  1118. ( _3 X5 B. _6 ?$ f5 d4 ?
  1119. ; Default charset for ibase_connect().
    : H- u% }% U# e' G+ t. Y
  1120. ;ibase.default_charset =5 Q" M' J! |6 v. N0 n

  1121. & }( d0 a" T0 o" [) z6 H9 X" O& r% E
  1122. ; Default timestamp format.- v) @& a1 S. U. W: z5 V& ]. o+ c  _
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    : y" p! i6 n! o' y+ Q

  1124. # B3 P( j4 N( \% m3 z
  1125. ; Default date format./ D8 o+ ^1 W2 [: F
  1126. ibase.dateformat = "%Y-%m-%d"  q, I( I2 C; |  |/ a

  1127. ' t/ D' ]4 P  ?$ |0 Z$ d" j
  1128. ; Default time format." [% T5 P8 u5 q/ {; g- M
  1129. ibase.timeformat = "%H:%M:%S"# y4 G4 [# k5 m4 a8 d% F
  1130. # {2 F. a. p" ?' L3 ^
  1131. [MySQL]5 l$ p( e& e8 l6 I- g$ B
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements4 H5 \) c& l: O' p  q
  1133. ; http://php.net/mysql.allow_local_infile0 e$ G: U1 C8 H, |5 ^/ l1 C
  1134. mysql.allow_local_infile = On
      K0 [9 q6 G' V2 u' R$ Y5 n

  1135. , Q4 v* y; v' }" s) _  e7 U
  1136. ; Allow or prevent persistent links.
    ! o, |0 P0 q0 W4 U
  1137. ; http://php.net/mysql.allow-persistent1 |4 r( ?4 }! p  }/ C) _: d5 {
  1138. mysql.allow_persistent = On
    , _" P5 p' t  j" M

  1139. ! W/ g$ m9 X5 x0 B8 Z$ U3 s
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache( w; e9 s' B! Q. d% j
  1141. ; http://php.net/mysql.cache_size! Q; _8 M" \& [0 L1 s7 g2 n
  1142. mysql.cache_size = 20004 v. Z" U! `. @  |3 m; t
  1143. 4 o$ k* Z8 t) N
  1144. ; Maximum number of persistent links.  -1 means no limit.
    - c9 X3 R: x& q9 V
  1145. ; http://php.net/mysql.max-persistent8 @0 D6 ?8 t( e
  1146. mysql.max_persistent = -1
    : M! C. M/ u+ a6 E
  1147. ) @! C. V) @' f3 w* {$ O6 G4 j. b; S
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.7 M5 Q5 l5 s3 K- G3 T; y# ?, }% W
  1149. ; http://php.net/mysql.max-links6 [; I3 ^: P& l$ s. t% K- g
  1150. mysql.max_links = -1
    & O8 U2 p: E: n; J1 \# j+ J
  1151. 5 t: k, _* e! C1 q& a, c. ~
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use# n) u& |* }" Q5 ?
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    5 d3 ]1 t# t1 C9 L
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look, t# m/ H3 a4 C3 `6 O
  1155. ; at MYSQL_PORT.
    / N4 A" i+ G5 R% Z$ ]
  1156. ; http://php.net/mysql.default-port
    0 [: ]' d& ]7 b) }% B
  1157. mysql.default_port =
    $ S' G) Y/ c8 P) T5 z2 k
  1158. # I5 D, Z' s+ O) V$ \2 d
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in2 |' c1 W+ J- w4 Y1 l" b
  1160. ; MySQL defaults.
    5 @/ F% h- D3 d+ v" e
  1161. ; http://php.net/mysql.default-socket
    3 e1 ~6 S8 |1 a- M' X" i  _' F3 p# H3 G
  1162. mysql.default_socket =; {+ B  ~' {7 [) l* s
  1163. " l* a2 D0 U. ~' u0 c/ b
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).7 |! W0 Z, X2 @$ i0 g
  1165. ; http://php.net/mysql.default-host
    / p! ~+ j# e6 P: z9 K, y
  1166. mysql.default_host =" y$ d% ]) v2 `& C- J$ j% @" W

  1167. , b( G9 Z- L; @2 a: L$ k5 r, [+ |
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).. M8 ~- a; ?( y/ j2 E1 l
  1169. ; http://php.net/mysql.default-user2 `- E- |7 c0 B3 A
  1170. mysql.default_user =
    5 O( t( Q  L! g/ f
  1171. & o( k- c; S* J" a% E, X
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode)." t1 y$ j' Y. M4 e9 e; M2 Y
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    & h3 `" Z$ l1 P' N
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")2 j$ ^. Q* N0 B2 e$ \4 w: N) d
  1175. ; and reveal this password!  And of course, any users with read access to this3 S% k" g/ M9 c0 X3 U* `4 I( ?
  1176. ; file will be able to reveal the password as well.
    , R# i: O- c2 M6 {( k* v
  1177. ; http://php.net/mysql.default-password9 X- h$ P3 g/ K  |* ]1 l- H# _" ?
  1178. mysql.default_password =
    9 c0 P3 v; Z, Q- i' S! o
  1179. % }4 S$ D/ O! M* n& [% T
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit4 v3 |4 U! k. h# c4 `9 r- p
  1181. ; http://php.net/mysql.connect-timeout7 K7 d0 @4 j: y4 x, [4 G' U0 a9 ]
  1182. mysql.connect_timeout = 60
    ; l  v# N$ z# h6 q% T# s

  1183. . ~$ Z0 H) M' z  V
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    : N2 O6 Z6 i" _2 K0 J1 G, a
  1185. ; SQL-Errors will be displayed.' R- ?6 t, K% v2 `9 ~' ~
  1186. ; http://php.net/mysql.trace-mode  ?4 y, k0 e: j+ W  f
  1187. mysql.trace_mode = Off) p2 i0 A9 h) T2 h+ \& P0 u/ u
  1188. + w6 T, n/ g& O- b& k4 A
  1189. [MySQLi]
      F3 e( l  q$ E
  1190. ) Z. w* S& J2 ?, a. p8 }
  1191. ; Maximum number of persistent links.  -1 means no limit.
    % X' H. k  |0 B5 k- m4 r
  1192. ; http://php.net/mysqli.max-persistent
    % @9 x6 U0 B- P
  1193. mysqli.max_persistent = -1
    ! P6 m3 ~5 [2 X' y

  1194. 2 s- {! k3 }8 i  q% X' m
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements/ u8 s2 D( z  k9 E3 }  T
  1196. ; http://php.net/mysqli.allow_local_infile
    ' P  P* _; [7 I, O" \
  1197. ;mysqli.allow_local_infile = On
    + o0 |' U/ ?' c. ~- a# r* }

  1198. : N( s* f: h% L& r/ }$ D
  1199. ; Allow or prevent persistent links.
    3 x" s/ p* s5 O# r$ t3 ?" r  K; o) h
  1200. ; http://php.net/mysqli.allow-persistent
    ! U1 D8 y3 U% w' b" k! f+ B
  1201. mysqli.allow_persistent = On* X- g& F% [! r7 t- \+ q

  1202. 6 V8 T6 u2 N) [7 m  C
  1203. ; Maximum number of links.  -1 means no limit.
    ' N9 y8 G+ I9 o
  1204. ; http://php.net/mysqli.max-links7 y# l7 }8 j+ O: d. V+ ?
  1205. mysqli.max_links = -1# ?3 L+ m& Q! m. M

  1206. . ^9 b. b7 {- m7 K! D( U
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache* J, i' J% k" ?# x) h0 g2 i
  1208. ; http://php.net/mysqli.cache_size
    . J& V, _6 H2 L1 u4 j/ z
  1209. mysqli.cache_size = 20001 i+ Y% c6 B/ x$ k0 u

  1210. 1 X8 u. g% Y  s+ g( F
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    + c) d' k$ z" }2 |- d+ n) e9 f
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the/ m$ i6 {6 E, c! E9 ]( B
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look$ ]9 U2 r$ P- `7 X
  1214. ; at MYSQL_PORT.
    , [  S. S3 p" k1 d4 W
  1215. ; http://php.net/mysqli.default-port
    * ?7 A! |, W8 v$ D7 d$ n
  1216. mysqli.default_port = 3306" f( k" i& y! ~
  1217. 0 F6 e' O9 p- J8 A# u6 r" f' M
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ; D2 f( p1 s) i/ r2 T4 b* X# j
  1219. ; MySQL defaults.
    . E% W7 I" e' G) S
  1220. ; http://php.net/mysqli.default-socket  J, J1 _! N" T1 v
  1221. mysqli.default_socket =
    : [: G& p- g' b  K4 i8 R
  1222. $ k1 C$ h9 z' `* v% E
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    2 l+ s( H4 b3 n5 U" @
  1224. ; http://php.net/mysqli.default-host: A4 l) u) z7 m! [3 i
  1225. mysqli.default_host =
    9 Q+ F+ m4 _; L  p' ~/ b1 n
  1226. , s0 u# [1 _$ u
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    # N/ ?" f" W. y. x3 g
  1228. ; http://php.net/mysqli.default-user
    " I2 f' e- C8 O1 p1 w+ P$ D! d
  1229. mysqli.default_user =6 i, |' G% F: \8 Q

  1230. , I4 Q  V( U. ?9 H. s# s" @6 l
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).+ c2 k! U9 |7 Z% m. o
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.+ i6 O+ v. `$ \8 i' |9 f
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ( b& `/ f3 f& z) ]) ]/ Y
  1234. ; and reveal this password!  And of course, any users with read access to this: e& k. w* L) c* O
  1235. ; file will be able to reveal the password as well.
    , j! P( e+ \% W* V* E# U/ [
  1236. ; http://php.net/mysqli.default-pw
    : S2 a0 t& s* y
  1237. mysqli.default_pw =
    + |# y; d" p9 O3 z7 s9 O

  1238. ) `- Z+ {- _! y; `3 @9 t/ b
  1239. ; Allow or prevent reconnect7 i# }; Q$ x9 f- n% e# U
  1240. mysqli.reconnect = Off
    ; R) n/ B* O# b+ P! v; i; c

  1241. ) _% f3 K+ X: P+ d! `2 F( V0 |- B
  1242. [mysqlnd]
    7 J( |8 v0 U( {' z! ^0 f
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    $ U; I) e+ {2 M- z* G. i
  1244. ; used to tune and monitor MySQL operations.
    % ?) Y; _8 I* l5 z( z- A" A5 {
  1245. ; http://php.net/mysqlnd.collect_statistics
    / F, ^( ^, V) t3 ]% |$ P/ B2 Z* [
  1246. mysqlnd.collect_statistics = On
      J5 {- S: V" N7 }

  1247. + W& w* |! y' {! l
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be6 E9 h; ~6 g9 p
  1249. ; used to tune and monitor MySQL operations.
    " u% L! d3 v/ w: t3 v
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    3 H: H* r  G7 V$ _' e! ~$ m8 N0 r
  1251. mysqlnd.collect_memory_statistics = Off3 _: M8 J& T0 i0 i; f5 n

  1252. $ ~( u2 D' h$ r( c" l$ M
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    & h& Y# z7 h4 A. y* j9 e
  1254. ; file.
    3 r" Y# i9 v: \6 f  h  e
  1255. ; http://php.net/mysqlnd.debug: Y  l$ E; Z/ e0 F8 I' w
  1256. ;mysqlnd.debug =# A5 x" p9 |) [0 j$ @% m$ G

  1257. ( K( p. O8 h! p0 Q
  1258. ; Defines which queries will be logged.
    ) {5 U- _( s1 T, E( ?) G9 q
  1259. ; http://php.net/mysqlnd.log_mask
    8 L% U) {& n7 l" L8 T7 P5 w
  1260. ;mysqlnd.log_mask = 0$ g* S& t3 C' N: h% S2 M
  1261. ) F% ^$ T8 G, T  |3 w
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    , h! J8 _4 b3 c7 x3 C
  1263. ; http://php.net/mysqlnd.mempool_default_size
    ( [' P# R- k* d) M) \
  1264. ;mysqlnd.mempool_default_size = 16000
    3 T, |, o! g" q6 b" n1 p8 g4 b7 G3 Q
  1265. . ~0 T" `% s0 I% u. t
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.# c( \4 s& V* S* r
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size4 \: C: b# {2 G- C. v$ h
  1268. ;mysqlnd.net_cmd_buffer_size = 2048& b, p- @, j( e$ Q  O4 I: ]
  1269. 7 w# }- [* X! Z- O1 U! S
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    : C# R5 c( m; d+ a, j
  1271. ; bytes.
    ; ]( y, D5 z3 J4 Y, N! M
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    ; j: g  |" y  e% `" I% z' K+ T0 h2 }
  1273. ;mysqlnd.net_read_buffer_size = 32768  s  S# {/ X4 ~* a2 q$ \
  1274. * Z& g) J/ ^7 \! o. S" O$ K+ t
  1275. ; Timeout for network requests in seconds.! i1 H7 F4 D7 O1 c( B( W( P+ o# b, d
  1276. ; http://php.net/mysqlnd.net_read_timeout
    7 J' Z4 k( ^. K2 W
  1277. ;mysqlnd.net_read_timeout = 31536000  p& Y& J' B3 J" Q( L7 Y' u
  1278. ' B1 U% F/ z$ i* p( S
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA8 Q6 X5 }% b' J7 K
  1280. ; key., O# B/ Z: r: I
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    1 H3 c8 s1 ~' W6 m& g2 [1 A) s# N
  1282. ;mysqlnd.sha256_server_public_key =; [4 Z) K+ [- F! ?' {
  1283. & ~8 x- O2 C+ @* z
  1284. [OCI8]
    + `0 Q4 u  n9 r- G' O# y
  1285. ) x* C2 H# S- ^  Q! f
  1286. ; Connection: Enables privileged connections using external. \( s  C, k8 X- x
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)5 a$ T. {- b) a% _) o
  1288. ; http://php.net/oci8.privileged-connect
    5 _7 j' G8 G3 W
  1289. ;oci8.privileged_connect = Off
    % i4 |8 M3 g8 e6 T
  1290. + Q4 e. t. ~, l( a5 c5 Q
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    4 C4 f: F8 k* X* W( G1 {
  1292. ; process. Using -1 means no limit.
    % L) L& t% P( I8 a& J
  1293. ; http://php.net/oci8.max-persistent
    & v  F" t2 \1 X: S) v. J
  1294. ;oci8.max_persistent = -1* r7 U2 q3 X' v$ ^+ ^
  1295. 9 ~8 H: ~, L1 x3 V& L2 H6 Z; v
  1296. ; Connection: The maximum number of seconds a process is allowed to8 x6 O4 \! V9 ?  z. S, K7 i
  1297. ; maintain an idle persistent connection. Using -1 means idle
    7 A+ E- E& \! x. M% y- I; G
  1298. ; persistent connections will be maintained forever.  e# o9 N& Z" o0 `
  1299. ; http://php.net/oci8.persistent-timeout
    , c5 z" R0 Y  w5 d/ O
  1300. ;oci8.persistent_timeout = -1
    . P. T4 @* N9 L8 c
  1301. ; Y. o, @5 c! n& t
  1302. ; Connection: The number of seconds that must pass before issuing a& y' z& j$ v* b0 a# k4 N! o
  1303. ; ping during oci_pconnect() to check the connection validity. When
    5 k/ c+ |' G: {8 K/ s  N1 l' h2 J
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    2 |3 h  r+ A6 o, L. A
  1305. ; pings completely.
    ( \% f. ~; v/ m" Q
  1306. ; http://php.net/oci8.ping-interval
    9 f2 j" }7 b, m; ^9 w4 k' {
  1307. ;oci8.ping_interval = 60
    . x0 v$ L( t: K8 n2 T  u

  1308. 9 i8 {6 |7 g9 |# N" r9 V5 G
  1309. ; Connection: Set this to a user chosen connection class to be used9 k* ], |8 a/ l& h  s, n/ N2 `
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    ) a& r/ t) D! I" V
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to; R( ~0 e) W3 ]8 G4 k/ x% r7 V3 w
  1312. ; the same string for all web servers running the same application,3 g' k* C% u) Y) Y8 k( I
  1313. ; the database pool must be configured, and the connection string must
    ) I# X5 a' o3 s, G  t, S/ {5 I
  1314. ; specify to use a pooled server.
    2 n$ l- f5 ~8 g1 J0 Z) t
  1315. ;oci8.connection_class =2 `* {7 Q4 Y7 D* i4 q

  1316. - |6 ^6 m( N6 o6 `3 N' G
  1317. ; High Availability: Using On lets PHP receive Fast Application2 ]" _  E% ]' W6 {" e
  1318. ; Notification (FAN) events generated when a database node fails. The5 c- m, e# y8 O3 D) S  K
  1319. ; database must also be configured to post FAN events.* @. w! ~2 a: s) T
  1320. ;oci8.events = Off5 t- i' ]$ F8 q! Z# r
  1321. 9 h9 U+ w% ?  @& j2 R) T& m$ P
  1322. ; Tuning: This option enables statement caching, and specifies how3 p0 w/ }7 i4 v* V7 L: z* d" m$ m
  1323. ; many statements to cache. Using 0 disables statement caching.& |$ J, H4 @( F0 ^* o. |
  1324. ; http://php.net/oci8.statement-cache-size
    1 z' d& V' ^( L* v. R
  1325. ;oci8.statement_cache_size = 20: x& q7 N2 v; z# H% |
  1326. / e* h* Z" y% }2 F3 M, u4 {
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    . v9 B. i# ?7 Y! l
  1328. ; rows that will be fetched automatically after statement execution.
    / `/ v9 z/ Q0 L5 l8 h7 x% S& Y6 k
  1329. ; http://php.net/oci8.default-prefetch* P- H# z# E7 L3 v1 Z& k+ P% B1 \: W
  1330. ;oci8.default_prefetch = 1008 W4 l! e$ c1 R5 k) R* `2 e

  1331. ) q" {; R! v5 s+ v+ E1 @' i) l
  1332. ; Compatibility. Using On means oci_close() will not close
    ' D& c3 v" t% X# k
  1333. ; oci_connect() and oci_new_connect() connections.
    & P: v0 s+ A; E6 l4 O
  1334. ; http://php.net/oci8.old-oci-close-semantics
    8 V! W% R5 g8 k6 D2 F
  1335. ;oci8.old_oci_close_semantics = Off
    ; Q6 {0 K1 |& e. e6 i( Y* M

  1336. 7 ?1 r  `" W, F! H
  1337. [PostgreSQL]
    & f# ~3 r$ o/ z( S: ]9 v0 D0 U( w
  1338. ; Allow or prevent persistent links.
    ; b" j! p# s3 t* R* c1 C4 u) s
  1339. ; http://php.net/pgsql.allow-persistent5 p( m  c# |) k
  1340. pgsql.allow_persistent = On
    + w7 G" H7 h, H( T2 W3 Z0 e) R# s; k& H
  1341. . X2 E1 I$ q: L4 C7 l7 L
  1342. ; Detect broken persistent links always with pg_pconnect()., D$ e% p3 h5 w1 s1 P5 H. m  z
  1343. ; Auto reset feature requires a little overheads.! Z% x# R0 ^+ y( b. ^; ~
  1344. ; http://php.net/pgsql.auto-reset-persistent+ A& x1 r; b; x7 q# w3 j
  1345. pgsql.auto_reset_persistent = Off0 g" M; Y) ]5 w8 I

  1346. % W% b! h2 Y6 n! \9 ]8 k4 S' F$ j5 G
  1347. ; Maximum number of persistent links.  -1 means no limit.
    - n: B' _# f5 ~: j
  1348. ; http://php.net/pgsql.max-persistent
    + n9 N0 q! {7 ^) h( x9 Z$ I
  1349. pgsql.max_persistent = -11 \( ^3 W. u  {- y

  1350. # f1 X7 c; }9 A, G$ E& W! x" I# z
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    8 g6 t) X: x) f! u8 F7 K, e- K
  1352. ; http://php.net/pgsql.max-links
    * ]; f: c1 L) ^0 Y  g
  1353. pgsql.max_links = -1' l4 T% \" Y/ ?6 k2 E2 ?
  1354. / B! e( a! k) s
  1355. ; Ignore PostgreSQL backends Notice message or not.
    9 j; r( l3 _+ |8 [
  1356. ; Notice message logging require a little overheads.
    * `3 `  E) v3 {$ I( }# j7 E/ u; Z6 J
  1357. ; http://php.net/pgsql.ignore-notice
    " s& p( b! X6 u
  1358. pgsql.ignore_notice = 0
    $ n) V, ]4 N( J& M

  1359. 3 Q# o" y4 U( @1 U6 v  N
  1360. ; Log PostgreSQL backends Notice message or not.0 Q' E7 C: f$ @0 e
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.0 W  d; i8 x& a1 Y8 P# O
  1362. ; http://php.net/pgsql.log-notice
    % c2 F- r+ {) w6 o; R: [3 c
  1363. pgsql.log_notice = 0: b& c) K0 C; r; F4 C- G* T

  1364. . U" T& t1 k2 ^9 Q4 v% q% L& T
  1365. [Sybase-CT]6 j$ m! ~, M8 A: G4 p& E
  1366. ; Allow or prevent persistent links.
    6 w6 t& U+ [$ A8 ?4 i
  1367. ; http://php.net/sybct.allow-persistent
    * N1 ~/ F$ c2 h) d
  1368. sybct.allow_persistent = On
    " B1 @. [: G; q
  1369. 6 N4 |! m5 Q5 l1 u' o
  1370. ; Maximum number of persistent links.  -1 means no limit.
    + s7 y. ?% y$ n4 g3 ~
  1371. ; http://php.net/sybct.max-persistent
    : v# l; O* ^! s; H
  1372. sybct.max_persistent = -1
    3 p- A2 N/ e, w/ ]# _
  1373. 9 W9 ?$ i; B! E
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.3 l- w2 N0 w. i4 p) Y
  1375. ; http://php.net/sybct.max-links
    1 N9 j2 A6 o% z8 p/ M. ?' Z3 C
  1376. sybct.max_links = -1
    & ~2 L5 j9 o  H, r4 d5 Z" z- \

  1377. / {6 J  S; p0 ]% d. i. m" r; p2 i3 B% [
  1378. ; Minimum server message severity to display.& I) Y% j0 A6 v* m9 X
  1379. ; http://php.net/sybct.min-server-severity7 C# d6 {4 k- ]  [5 Q5 Y( \
  1380. sybct.min_server_severity = 10/ K0 Y; z3 `% ^, p/ _+ W
  1381.   d/ s3 n2 r7 P+ U
  1382. ; Minimum client message severity to display.  v  |* s  B* y
  1383. ; http://php.net/sybct.min-client-severity8 q8 ^% `! e! b% d  _
  1384. sybct.min_client_severity = 10/ G7 Y$ X7 J3 ^( t9 l

  1385. - F/ E* S. X* k
  1386. ; Set per-context timeout$ a- Z: C- l5 g, K: B
  1387. ; http://php.net/sybct.timeout
    8 T' i& \& U: D
  1388. ;sybct.timeout=
    & g8 W, m  ^( t% T
  1389. ! ]0 _6 J" r' K# H
  1390. ;sybct.packet_size9 r3 p) w7 b2 L$ E
  1391. ) ?. e' ?. ]4 d
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.4 W. d2 ?  Z# K1 y8 V
  1393. ; Default: one minute3 n1 }. R5 o$ u  w5 h4 M3 b' p
  1394. ;sybct.login_timeout=
    % p2 R" H/ d. {6 Q: x, }2 J
  1395. : G  {6 B# f) ]  l( A# F
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.0 n1 ?+ b+ f2 a/ T
  1397. ; Default: none
    7 ^+ F% h9 y9 E
  1398. ;sybct.hostname=
    - C( ~/ d5 U3 k5 S2 D+ s
  1399. 6 j4 I/ r3 H! F0 y/ F/ |0 O9 q
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".9 G% x' |0 g1 N$ e0 x& A
  1401. ; Default: 0- x* D* R& `9 O' l" m
  1402. ;sybct.deadlock_retry_count=- [; t* G1 S# y" H! f3 \$ v

  1403. " t# r: o: }+ a9 F, A6 R& c
  1404. [bcmath]
    1 {9 D/ z+ _+ v8 x( X
  1405. ; Number of decimal digits for all bcmath functions.3 }4 d- O4 }0 B1 m
  1406. ; http://php.net/bcmath.scale
    / F, m" U6 \1 ]/ J$ e
  1407. bcmath.scale = 0
    ) ^. C. Z3 ^% V% v2 r9 Y/ D( @

  1408. " Q2 M3 B2 L1 I5 ]2 a' F
  1409. [browscap]
    / ]6 a) \5 c3 B) n& z. i
  1410. ; http://php.net/browscap
    ( L" v5 V0 O! \: [
  1411. ;browscap = extra/browscap.ini) o) M6 |. |# S. b- G( H

  1412. ) h! I7 B4 m8 r+ w) j& s
  1413. [Session]- h# L7 h# Y( p1 g* M
  1414. ; Handler used to store/retrieve data.4 h$ b. L; S1 U6 R
  1415. ; http://php.net/session.save-handler. W# {* C  B' W% c7 c8 _
  1416. session.save_handler = files
    * p1 K% X  I' v8 r2 I5 `

  1417. 4 a/ B. V, |* t: N
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    2 M7 `: I: \5 V0 b/ f1 E8 b
  1419. ; where data files are stored. Note: Windows users have to change this6 R% p7 G; U& q* ~4 q
  1420. ; variable in order to use PHP's session functions.
    8 p% Q5 a& h* ?+ C7 P, s
  1421. ;
    8 y2 N$ T* m7 M% L6 d2 c2 o
  1422. ; The path can be defined as:
    $ R1 r2 [' a! M* N+ M- g  x" ?
  1423. ;
    8 w/ Y+ S6 [- h9 l& G
  1424. ;     session.save_path = "N;/path"
    0 u2 {2 u5 [" I
  1425. ;
    3 z  H* s1 x1 ^5 X9 |
  1426. ; where N is an integer.  Instead of storing all the session files in
    0 m3 t3 Y, _( N3 C& e
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    & l+ J$ l2 n1 v0 ~4 C3 P) {2 e
  1428. ; store the session data in those directories.  This is useful if
      x! D; p4 P' Q" d1 G3 i5 i
  1429. ; your OS has problems with many files in one directory, and is. N3 I7 f# i/ N& i: t) D# ^
  1430. ; a more efficient layout for servers that handle many sessions.5 _6 v0 [* m4 O) c
  1431. ;, G" ?3 R; |  o! W+ G6 F
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    " A4 \. m0 Z  h9 o& b
  1433. ;         You can use the script in the ext/session dir for that purpose.
    # Q6 F! b. V  N' s' i
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    ' h3 N  S% N! }/ s2 I
  1435. ;         use subdirectories for session storage
    6 C- V- e& ?8 o  K
  1436. ;
    3 P- p9 ^6 `  F4 z( V% v
  1437. ; The file storage module creates files using mode 600 by default.. A' g2 D: j3 n/ h2 ]! a3 j( x
  1438. ; You can change that by using0 d/ U; D# l3 ~3 G7 ]" j& V
  1439. ;  @7 V& f: M! `
  1440. ;     session.save_path = "N;MODE;/path"1 K" l  n* g3 C  Y& y7 t
  1441. ;
    ( `2 U; y6 \& r# i  ~7 ?
  1442. ; where MODE is the octal representation of the mode. Note that this) K6 T- d/ S3 c& m3 l& R
  1443. ; does not overwrite the process's umask.
    / Y5 o" S- L. ?/ r, x# n) ~1 B
  1444. ; http://php.net/session.save-path( @4 T6 ]  k3 W7 _
  1445. ;session.save_path = "/tmp"
    1 l/ H) @. ~  ?

  1446. 4 r- b" j( b% X" W
  1447. ; Whether to use strict session mode.
    $ P. I, ?+ O. Q- K
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate9 F* j2 J! J) ^, r6 H# z" S% w& d
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    9 M3 J6 J8 M( a1 J2 {
  1450. ; applications from session fixation via session adoption vulnerability. It is
    & k) T) ~/ z! [2 Y% I
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    5 Z: C7 l* {3 o8 o1 o. U
  1452. ; https://wiki.php.net/rfc/strict_sessions" E, J$ ]: E7 Q
  1453. session.use_strict_mode = 0
      y! R- |; S- r& j4 \5 E. x
  1454. , x& ]( M* B8 ^) v& w) W
  1455. ; Whether to use cookies.! m1 J9 Z$ J8 _& X0 W. m
  1456. ; http://php.net/session.use-cookies
    - Z; o4 Q0 {0 X' E2 t1 [0 A
  1457. session.use_cookies = 1
    + w* ]& N: I3 ^
  1458. 6 o- G( ?4 j, r" _& ?
  1459. ; http://php.net/session.cookie-secure7 ~% v5 P! p7 K: b) p. @
  1460. ;session.cookie_secure =
    8 _# V: V- S" R* J- B5 S5 T
  1461. " I  J" n6 K7 ^# A! q0 P
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining3 c3 s9 u' S8 P% I! [/ r% r$ a
  1463. ; the session id. We encourage this operation as it's very helpful in combating9 T9 }% [3 d# Z3 D
  1464. ; session hijacking when not specifying and managing your own session id. It is2 C0 N$ J8 _3 k
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.$ O4 N8 f" I& c. K. e5 T; t
  1466. ; http://php.net/session.use-only-cookies
      h: L7 h; J1 \0 V/ _+ x
  1467. session.use_only_cookies = 1- K% y# J# n$ q& j! X

  1468. " S5 I! K# L+ Y% Q* P% h. D8 \
  1469. ; Name of the session (used as cookie name).
    ! K. X7 o6 l' u6 ^
  1470. ; http://php.net/session.name
    , W6 F4 @- ~, @
  1471. session.name = PHPSESSID( D0 t2 N4 a5 g" C* ]: o$ P
  1472. & s* z/ S/ D& ~# {" X
  1473. ; Initialize session on request startup.. \# N* o% b. A) f" C# M
  1474. ; http://php.net/session.auto-start$ }+ g3 ^- I5 e5 l& g
  1475. session.auto_start = 0# [1 {/ j5 s9 a! J( U1 g

  1476. 8 n' K* T. Y' ^6 l# P- K7 A
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.# b# X* A9 {' h, L2 F4 F# h( w" U
  1478. ; http://php.net/session.cookie-lifetime
    # s1 G2 x. q$ C% `% s9 B, z
  1479. session.cookie_lifetime = 0
    * _+ ^: }, U/ b% @; [
  1480. ( X3 S4 X  p. Z" t
  1481. ; The path for which the cookie is valid.
    2 q/ P, I6 X# ~! s
  1482. ; http://php.net/session.cookie-path* F( u0 [- j2 C- x- X9 ?
  1483. session.cookie_path = /
    6 M+ r6 y6 }' T. A
  1484. % A3 Y9 V$ M3 ]8 n+ L9 s
  1485. ; The domain for which the cookie is valid.( Q5 E  ?/ ~3 p$ F% g6 ~' I! E
  1486. ; http://php.net/session.cookie-domain
    : V4 k. O; \% Y7 b# l+ D" v# u" a1 A
  1487. session.cookie_domain =: M6 E4 y  F( L3 W% D5 ]+ l
  1488. * s) ]9 W' b, u- a* U
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.2 A4 f' W/ G9 p; \5 N. T) X, R
  1490. ; http://php.net/session.cookie-httponly# [) g+ l/ w. |* _( Q/ G
  1491. session.cookie_httponly =
    * F) O3 w9 I' H1 h$ Z0 S% R

  1492. 0 u) G7 n* f; F  ]& b1 p
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.$ l) I0 g0 j5 |
  1494. ; http://php.net/session.serialize-handler/ Y. [9 L$ I7 c' u+ l3 G
  1495. session.serialize_handler = php2 l/ b/ N: \, ~1 U9 W1 H

  1496. 3 C, D) K1 z! b7 c: D4 K
  1497. ; Defines the probability that the 'garbage collection' process is started& c$ U% s2 N& d" A
  1498. ; on every session initialization. The probability is calculated by using+ U9 t! O% }! F8 A
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator! f* Q' j0 m4 H* }6 ~+ F1 u- K* q
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
      V' a5 Y: U( x1 l4 {5 q; g5 _
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    + _# v$ G% T9 p- Z
  1502. ; the gc will run on any give request.# F3 Z# `5 Z3 l" |& P' g
  1503. ; Default Value: 1
    , w% y" X- E: d5 S% q% P+ }
  1504. ; Development Value: 1
    0 g% D+ ^6 j9 |7 E+ f+ |4 B
  1505. ; Production Value: 1
    / A2 A  [) g. f, r/ G: g: h" \1 r. t% o
  1506. ; http://php.net/session.gc-probability
    - ]( d5 T1 o* q. g
  1507. session.gc_probability = 1  e, h% m, J! h# J8 L$ F' j
  1508. 4 W) I' y2 x4 V# o
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    4 K) ~% U- b- F4 i1 i( B$ v
  1510. ; session initialization. The probability is calculated by using the following equation:
    + A; Q$ C5 e; b4 j2 G! w0 E  e% S
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and7 m: |6 s; j5 P' p2 n' X
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
      T' v- `- y+ ^2 L
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    - @# O" S& e$ u. l# @, ]5 b7 `
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you: N9 h7 S7 I9 V% f
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,- Q! ~* D) [8 v5 @5 _
  1516. ; this is a more efficient approach.
    % p' b" {0 |/ Y2 M) {
  1517. ; Default Value: 1007 R" r) w6 w9 n( `! v" g
  1518. ; Development Value: 10006 S! o7 D$ J& w6 @
  1519. ; Production Value: 1000/ W8 e' ?2 [0 {& F" ^
  1520. ; http://php.net/session.gc-divisor' k8 z  i+ i: j8 G* z
  1521. session.gc_divisor = 1000: C/ |! z' t2 x- Z* f) ^

  1522. 2 h* m; K9 O* A0 m. g
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and$ X& P0 p5 \2 _+ ^# B
  1524. ; cleaned up by the garbage collection process.
    # ?  [  V+ L4 ?7 V& O$ G$ u
  1525. ; http://php.net/session.gc-maxlifetime
    ' N6 y6 I( ^3 R' [! b/ _, i
  1526. session.gc_maxlifetime = 1440
    1 ?5 ~* h0 U$ R; G: b2 Y

  1527. 4 g; o5 S* F) u" Z
  1528. ; NOTE: If you are using the subdirectory option for storing session files6 C* w, o" C- }( F6 A! C
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ( w1 B0 e: W% n) ^4 Y/ u& B' M, h
  1530. ;       happen automatically.  You will need to do your own garbage
    % y1 D$ Z9 x8 ~: h% W
  1531. ;       collection through a shell script, cron entry, or some other method." _8 W- F4 P* h  y) n) ~/ A) D! K
  1532. ;       For example, the following script would is the equivalent of. N2 j: p+ K/ l& U* q
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    + Y: f+ D$ q& g' U5 @  N' ~- I: u( Z
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    + a- P4 B# d( G" U+ n/ A( v
  1535. 7 H, @& J% @% s
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.6 l; s' R% K3 a
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    + C% W7 ]! c+ h$ S/ [
  1538. ; considered as valid.
    " O6 r* d* \9 a  w
  1539. ; http://php.net/session.referer-check
    * N# \$ M8 g% n' F; G
  1540. session.referer_check =
    1 A4 v" c0 b" a6 ?& L' P7 C

  1541. 4 h: v$ E# @* ]
  1542. ; How many bytes to read from the file.' a' ^: M/ A, w6 d) {4 f* l2 p
  1543. ; http://php.net/session.entropy-length
    7 x% o" n0 c; C6 V! k: |
  1544. ;session.entropy_length = 326 r% F, a8 Z8 c% O1 T! p
  1545. 3 \* Q' {( {- W, K$ Y
  1546. ; Specified here to create the session id.6 Z0 C# [- ^) Y, f
  1547. ; http://php.net/session.entropy-file  a& q& Q/ o) W; C, u) F4 E' K
  1548. ; Defaults to /dev/urandom
    # g4 ^5 T7 `) a  G% H  ?7 v- S
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom5 w" V3 \7 Q  o( N
  1550. ; If neither are found at compile time, the default is no entropy file.
    # M7 |: D+ _' l* \' |. c* {) ]
  1551. ; On windows, setting the entropy_length setting will activate the
    # w1 P8 z$ @& o* Y# J  R& T+ V& U
  1552. ; Windows random source (using the CryptoAPI)5 |" `8 Q; ^" Z+ b. s! b
  1553. ;session.entropy_file = /dev/urandom' a& c0 b5 r  C2 y4 p" w" X1 g5 q

  1554. ! Q" u" g' h3 ?4 u: V9 V9 i/ K
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ; @9 [# |; A3 K3 [
  1556. ; or leave this empty to avoid sending anti-caching headers.
    2 p# Q& P5 ^+ o1 V
  1557. ; http://php.net/session.cache-limiter
    3 Q$ V: P; N/ O' h/ G
  1558. session.cache_limiter = nocache
    ( ]' W9 Z) |6 ~: W# W8 [3 z
  1559. % w' z  b) m# e! L" z, @6 R
  1560. ; Document expires after n minutes.
    ! [# P  A) t8 U4 f# S' e1 b( f
  1561. ; http://php.net/session.cache-expire& l" W; H4 z/ ^# Q3 q- E, [; ~
  1562. session.cache_expire = 1809 X/ C% W  ?+ Z1 j/ G
  1563. " l' N- @6 V0 U) }/ Z
  1564. ; trans sid support is disabled by default.1 K/ C, P, x* K3 p
  1565. ; Use of trans sid may risk your users' security.
    : Q, }; A+ K! t( _- D
  1566. ; Use this option with caution.
    " ]. M+ T( x: Y6 r# o
  1567. ; - User may send URL contains active session ID3 [& u  v1 p& c6 o
  1568. ;   to other person via. email/irc/etc.
    2 W) ?) e8 ^: N' s+ ]
  1569. ; - URL that contains active session ID may be stored
    # i5 e* n* T! C( d" W
  1570. ;   in publicly accessible computer.6 S7 t) s, N/ ]
  1571. ; - User may access your site with the same session ID3 b: n9 A) \& n) j; Y3 N! q7 _6 v$ F3 y
  1572. ;   always using URL stored in browser's history or bookmarks.$ d7 h9 u3 Q& U5 z3 x$ s% c, z
  1573. ; http://php.net/session.use-trans-sid
    " d$ T! {- M" y( M
  1574. session.use_trans_sid = 0
    ) e# ?6 }$ a8 {, U1 O4 P
  1575. $ E( j: t9 ~) r; g- r; ~2 C
  1576. ; Select a hash function for use in generating session ids.. _3 Y* H! b( x. j- J2 f
  1577. ; Possible Values9 S& i* X  r+ F/ Y# K. u
  1578. ;   0  (MD5 128 bits)
    $ i, n1 W$ S: S+ s
  1579. ;   1  (SHA-1 160 bits)& q# U5 {' ~0 l7 x0 A# M9 {- {0 M
  1580. ; This option may also be set to the name of any hash function supported by) F8 Y! `1 G# i8 i+ f6 [+ i& |7 R
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    0 `$ j+ d; ^9 ?) b4 W  G
  1582. ; function.
    / p: R, e$ l% G& |: Q
  1583. ; http://php.net/session.hash-function
    , O+ e6 i0 l$ c; c% m$ a4 Q
  1584. session.hash_function = 0
    3 q  B2 r/ E% E
  1585. + Q+ x! y3 q5 Y
  1586. ; Define how many bits are stored in each character when converting0 B6 c( J; K, g3 `! U" K) F) g
  1587. ; the binary hash data to something readable.
    ' l, |. ]6 R8 f8 _* |8 }4 i
  1588. ; Possible values:
    ; o# K/ h8 j1 M( k7 v: G
  1589. ;   4  (4 bits: 0-9, a-f)* P1 ^! y- Y+ b+ t7 R
  1590. ;   5  (5 bits: 0-9, a-v)
    ( F# o( u. E1 W
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    2 x) Q$ G* ~2 c2 c+ U, C
  1592. ; Default Value: 4
    . e% X4 h6 D1 Z' S! d
  1593. ; Development Value: 5
    : c5 F+ L5 E2 F' }- C
  1594. ; Production Value: 5
    % M3 Y' a- f/ q. ~6 g0 @' u
  1595. ; http://php.net/session.hash-bits-per-character' d- o' h0 e6 L) R4 X
  1596. session.hash_bits_per_character = 5, h9 M$ }; z8 m: Q( e2 A

  1597. 3 T1 ^0 ^6 A; b% P# W
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ' i% Z- {/ G# U# O1 K" U5 w% B
  1599. ; form/fieldset are special; if you include them here, the rewriter will: i0 z8 ^5 w8 S
  1600. ; add a hidden <input> field with the info which is otherwise appended" J7 {! H( f1 k0 B# d. R
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    5 w* `+ I8 F  G5 U+ Z3 P9 ?
  1602. ; Note that all valid entries require a "=", even if no value follows.
    # G! b/ r9 T+ V! o3 D/ {7 M/ t
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    , R+ U% {: ]7 V
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + w0 d* k/ ^: P9 |0 x& v
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& ^  j. _. A6 h) N, R6 r
  1606. ; http://php.net/url-rewriter.tags
    & E' c( X; m- m) R, K+ \$ H
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry": e1 n* u5 }- O

  1608. & n( @6 B- a' D& A
  1609. ; Enable upload progress tracking in $_SESSION# N5 d7 m3 t$ W8 ^
  1610. ; Default Value: On9 `$ q3 m# i* k" x
  1611. ; Development Value: On
    7 z' b' ~6 Y* `( U) Q; T4 |
  1612. ; Production Value: On
    5 w7 e0 V2 g8 R+ T5 }. H
  1613. ; http://php.net/session.upload-progress.enabled% }( J' q: z  v  v0 R" Z
  1614. ;session.upload_progress.enabled = On
    ; B- f3 D- t: r$ @, j
  1615. / g4 e2 x  H' F
  1616. ; Cleanup the progress information as soon as all POST data has been read
    - {" F; t. k" |( ^+ F
  1617. ; (i.e. upload completed).
    - h8 C; D" l) j9 d3 P7 [6 G7 R, d/ M9 h% f
  1618. ; Default Value: On
    5 `* f1 x  v5 s
  1619. ; Development Value: On$ ?6 u& L7 T+ @0 m1 y* M
  1620. ; Production Value: On# V% o9 K6 n2 ?
  1621. ; http://php.net/session.upload-progress.cleanup) @% j% C  Z+ U1 ~1 f
  1622. ;session.upload_progress.cleanup = On) {7 [: a. i. x1 Y: U

  1623. 3 Q0 i' t+ }; _/ k7 ?( j/ N+ x
  1624. ; A prefix used for the upload progress key in $_SESSION
    6 U7 D3 D( C/ r5 X- h
  1625. ; Default Value: "upload_progress_"
    2 |* N5 ]4 W9 o& f/ c; _6 N
  1626. ; Development Value: "upload_progress_"$ _1 M1 ^$ N" H9 I; W
  1627. ; Production Value: "upload_progress_"
    1 }2 Y9 {) }) Q/ k  X, h7 Z2 B* N
  1628. ; http://php.net/session.upload-progress.prefix
    4 a/ R$ ]6 T) G( ~3 s4 d- K
  1629. ;session.upload_progress.prefix = "upload_progress_"/ Y  o% [5 e# I, K. [
  1630. + o8 {+ F/ \# t% M* C/ X; k
  1631. ; The index name (concatenated with the prefix) in $_SESSION3 u- d& g+ q# Q1 l
  1632. ; containing the upload progress information
    ; O' j: q% ~+ i+ g' ~$ N/ W8 f
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    " F1 L8 r( \! n+ n; @0 n% c# K
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
      e( [' G" ^2 A; A+ r
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"+ d. T0 a* Y+ B$ t9 l' q( y% Y
  1636. ; http://php.net/session.upload-progress.name( s4 ^" W/ [- ^* C) e8 J
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    % R: V1 m2 ?0 o( y8 o
  1638. 3 ?. A9 ~, k! l
  1639. ; How frequently the upload progress should be updated.% q$ d/ D% u. g: G
  1640. ; Given either in percentages (per-file), or in bytes" ?7 B$ _& Z( w2 f; K5 O( A
  1641. ; Default Value: "1%"$ ~) u$ X+ D) Y
  1642. ; Development Value: "1%"- s) ^- I5 D! i) Q$ b3 T
  1643. ; Production Value: "1%"
    ' T5 q' W: B8 ~8 ?2 x% {' X5 {
  1644. ; http://php.net/session.upload-progress.freq
    * {9 d5 l5 X' t6 h
  1645. ;session.upload_progress.freq =  "1%"
    - ]0 j5 G/ p: w4 ?, Q/ X
  1646. # K0 f* s2 o# P: E! b9 `
  1647. ; The minimum delay between updates, in seconds
    , e: B2 e8 |& J; {( T
  1648. ; Default Value: 1( Y+ @4 P# c! u  M: Q8 g
  1649. ; Development Value: 1
    : i" E4 A- Q9 L* A  v
  1650. ; Production Value: 1" D$ p/ R- C* \4 ?4 i6 M
  1651. ; http://php.net/session.upload-progress.min-freq  v" R" g/ g8 i/ R3 w* J
  1652. ;session.upload_progress.min_freq = "1"
    & W8 h( {( }+ @# n$ c- e
  1653. ) n/ [7 U' ^  |+ O( d
  1654. [MSSQL]6 F/ ?" Q, z: `) A7 ]1 h8 D
  1655. ; Allow or prevent persistent links.* n( w7 z0 {( w1 U4 {
  1656. mssql.allow_persistent = On
    ! E7 @2 n- \7 ]5 n1 j

  1657. ! h; m% p( ~3 @- o
  1658. ; Maximum number of persistent links.  -1 means no limit.
      _8 k$ B" z5 b/ f
  1659. mssql.max_persistent = -1
    ( e% \  P( M- x: ?" v$ q1 L
  1660. & S- Q, c0 z/ P7 l- x
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    . q5 j# ~; M% z* M5 J! g/ v
  1662. mssql.max_links = -1
    ) A) _9 s- f, V6 A8 h" r; i6 E8 d

  1663. . u+ ?) M  a+ f  K; V
  1664. ; Minimum error severity to display.2 T& _. W# i' K7 D- D9 R
  1665. mssql.min_error_severity = 10
    % T4 j: \# @& `
  1666. * L# @% I4 v- y- T9 P7 }  c5 y
  1667. ; Minimum message severity to display.
    3 b* z4 m. `* F2 T1 D2 V7 g
  1668. mssql.min_message_severity = 10
    + }+ Z0 g" c% @0 l9 b* j. _

  1669. ) U2 G) A' q6 c
  1670. ; Compatibility mode with old versions of PHP 3.0.- L2 z4 o3 W6 b" d& q( R! |4 d
  1671. mssql.compatibility_mode = Off; n3 o1 u* S$ }& z5 k4 v1 w
  1672. 1 s1 E( }: x( f  P0 B5 u1 S5 I( w
  1673. ; Connect timeout" l4 R% ?6 \. q# Q
  1674. ;mssql.connect_timeout = 50 ?- K4 ^: y4 P" U6 T3 z; r) a

  1675. 0 [1 b+ v6 x* Q. f" t0 e
  1676. ; Query timeout
    9 m: n! K+ y# ]2 g9 r8 T7 H- w
  1677. ;mssql.timeout = 60
    ) q6 O* {, o6 ]' i
  1678. / {4 ^2 s8 n$ U
  1679. ; Valid range 0 - 2147483647.  Default = 4096.- o  ^' o" L" _. D) V# ?9 C
  1680. ;mssql.textlimit = 40961 ^: k0 F8 y. v2 V

  1681. $ s# v* {, J3 \7 @( ~
  1682. ; Valid range 0 - 2147483647.  Default = 4096.2 t8 ?0 j, U. F! @
  1683. ;mssql.textsize = 4096
    - c) p+ C% h  {& l4 X9 N

  1684. % O4 T+ _1 e9 n% o- Q- g: G; W; ]
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.8 w; F' i1 w( p0 ]9 \- }! N5 ^0 p
  1686. ;mssql.batchsize = 04 z6 P3 n! Q0 k# L$ p
  1687. 3 I# ~0 z9 P5 K% x. D; T* [! e
  1688. ; Specify how datetime and datetim4 columns are returned
    ) ~* C. p' A8 G( p! m
  1689. ; On => Returns data converted to SQL server settings. e0 `9 A- G, }3 H- E  b3 R2 e
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss) C, j, l$ |/ j, N/ C
  1691. ;mssql.datetimeconvert = On
    6 k) V. u" A$ A% I7 u$ r

  1692. ; Q( R: e  z, Q! n+ F5 K. K
  1693. ; Use NT authentication when connecting to the server
    3 J% S& A% K( q1 D' H
  1694. mssql.secure_connection = Off
    5 Y/ Q! ^" r1 b- R
  1695. : l% Q& _3 |" t/ }0 m4 f
  1696. ; Specify max number of processes. -1 = library default& d' b. c' H2 `  ?& F
  1697. ; msdlib defaults to 25
    7 |) h  b/ o, r( o4 C' A. ~
  1698. ; FreeTDS defaults to 4096
    ; H% j' u! S3 b6 D4 Q; t. G
  1699. ;mssql.max_procs = -16 d& \( Z5 r% V+ C* v' g
  1700. : M1 ?. v' ^( T7 F+ R
  1701. ; Specify client character set.
    1 U. G0 H- u5 R1 Q+ d
  1702. ; If empty or not set the client charset from freetds.conf is used7 @$ r  O9 ~/ c9 l
  1703. ; This is only used when compiled with FreeTDS
    % I+ G& V: z% z
  1704. ;mssql.charset = "ISO-8859-1"
      Y( l- l) G) F0 V
  1705. - {5 f  M6 E2 U) V( c4 `* ^& u  ~4 ?
  1706. [Assertion]1 M' c9 x$ T* D' a0 R
  1707. ; Assert(expr); active by default./ G7 ~4 p6 q( o! @3 `4 S5 {
  1708. ; http://php.net/assert.active
    . [/ j0 K9 e; F9 P& C: @# \
  1709. ;assert.active = On+ z$ m9 c1 g1 K
  1710. : N- I7 z2 ?4 n4 `% D+ H8 M9 L8 Y
  1711. ; Issue a PHP warning for each failed assertion.
    . l9 y, {5 M- w0 ?3 c
  1712. ; http://php.net/assert.warning5 g  |- y) k# {: a' O, u8 U
  1713. ;assert.warning = On) B; a5 l! y. D+ Q7 w6 l& [2 }
  1714. & v  G- h4 [# {2 n, C9 Q0 V
  1715. ; Don't bail out by default.
    ( V2 i2 R3 K1 c# ^$ u
  1716. ; http://php.net/assert.bail+ w& ~3 J; _. s# a
  1717. ;assert.bail = Off, N$ v9 o: y+ I' ?1 i7 T- ^2 t  {3 A2 ?

  1718. ! B4 e; q( T4 ]9 I* U
  1719. ; User-function to be called if an assertion fails.3 E+ h' ]5 S/ C  q" i( A
  1720. ; http://php.net/assert.callback7 |# s3 a; Y* d0 u
  1721. ;assert.callback = 0: W4 d+ \, I9 {
  1722. - v0 O/ C1 ?$ Y" v# G1 V
  1723. ; Eval the expression with current error_reporting().  Set to true if you want) {) B- Q0 `1 |. e, I
  1724. ; error_reporting(0) around the eval().. w" t# G+ p. S4 r* P
  1725. ; http://php.net/assert.quiet-eval
    8 t) @5 e1 y8 a- [5 u
  1726. ;assert.quiet_eval = 0: ?1 `7 F6 G  a8 c1 u8 c
  1727. : q. l* r/ j1 O5 H5 D
  1728. [COM]% \7 F6 L' w1 J& I6 E0 Y+ J4 b  d
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs/ G' T- H, d' w: d# S  x
  1730. ; http://php.net/com.typelib-file
    7 w# Y  h! I* z; _8 B
  1731. ;com.typelib_file =
    + `5 l7 V- |) O) Z  ]8 B
  1732. % o6 i# B1 U: `! g2 o
  1733. ; allow Distributed-COM calls) r3 o- Y* r/ N
  1734. ; http://php.net/com.allow-dcom
    1 ~' }" z, W! I- `7 [
  1735. ;com.allow_dcom = true
    ! L( c( }% C4 U, `$ c# w
  1736. ( X3 t# S4 P1 H: ?  ^
  1737. ; autoregister constants of a components typlib on com_load()6 E1 J6 L; O6 x" N& H
  1738. ; http://php.net/com.autoregister-typelib
    ( t, Z9 H5 a/ V/ E$ |9 J- m
  1739. ;com.autoregister_typelib = true
    4 k7 E% g' v* h
  1740. 7 e  W  m$ z$ d
  1741. ; register constants casesensitive
    + u0 I6 J- o: ]6 r& ~
  1742. ; http://php.net/com.autoregister-casesensitive
    8 z( Q+ I7 x- A# X8 z. B
  1743. ;com.autoregister_casesensitive = false
    + G; [0 v4 N$ K, m7 I3 @0 |

  1744.   l  R6 I# h" y
  1745. ; show warnings on duplicate constant registrations
    % [" M5 J4 V" z% v9 T: R: P9 ]# Z. \
  1746. ; http://php.net/com.autoregister-verbose1 ]4 i) A; o9 [3 E
  1747. ;com.autoregister_verbose = true# @! K8 @3 A1 S4 s$ M1 A" V

  1748. & n! }5 t! [8 x8 S5 V* u
  1749. ; The default character set code-page to use when passing strings to and from COM objects.% b$ I) m* W, Z4 X  G
  1750. ; Default: system ANSI code page" Y/ Z; [) X, n- R8 B0 l
  1751. ;com.code_page=9 j: z1 v" @9 v7 _( m! Q2 n

  1752. 2 Y- O8 H1 X  w$ P/ t2 M6 H& P  @! `
  1753. [mbstring]) c! A$ t+ x, G) k, P) Y8 Z9 \
  1754. ; language for internal character representation.$ y* j6 c4 D$ P  r9 r4 ]
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    - X8 d+ C, A6 \, z
  1756. ; http://php.net/mbstring.language" k1 m; w8 D4 }* `. k5 t$ J. I
  1757. ;mbstring.language = Japanese
    , |: T& d: K6 M. L% y# L9 F

  1758. $ j& X' `9 \* d# s. G: P9 l
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    1 f, e( n$ i: l! g* K3 H; i% q
  1760. ; internal/script encoding.& ?3 t8 [" x  N9 F# p
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*), ?6 K6 ~/ M7 P
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    $ \3 l3 g" d: [6 ~8 a
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding' T% s* E4 l( q+ g
  1764. ;mbstring.internal_encoding =
    % o, G+ z9 y) B2 N' p" v3 E
  1765. 0 M3 K3 o; k* B$ @  f8 t
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
      B4 S  H2 |, J9 \; L
  1767. ; http input encoding.
    8 E/ O& Z) A& v: y- s. [5 ?6 l* R
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    4 Q( p, f% h/ q, A1 k* E' \' C1 s$ Z
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.0 }7 U9 j& {- p
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input- i' l. m" B4 z0 D- _, e) ~/ P+ }
  1771. ; http://php.net/mbstring.http-input
    6 ?; |7 j4 U7 [( J0 i% i
  1772. ;mbstring.http_input =
    ) t/ s7 H' D' t2 N) Z0 y) w8 T' N
  1773. 5 H: R/ e! P% F6 z; t( m
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ( w7 ~8 `& `  W6 o0 q2 {5 h6 m
  1775. ; http output encoding.
    : j4 J' T' Q4 r/ S
  1776. ; mb_output_handler must be registered as output buffer to function.3 X& f) n, V& \4 ?% A, z8 G. k( Y. w/ x
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.3 K/ e4 L9 l. c$ O
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output* T2 I& v  s  b# M' I
  1779. ; To use an output encoding conversion, mbstring's output handler must be set: `8 Y. e* \8 J" t5 `1 A* q. z
  1780. ; otherwise output encoding conversion cannot be performed.
    5 C& V, H* s  [/ y" R( R
  1781. ; http://php.net/mbstring.http-output
    , H- r) R7 z, K8 Q, O. D
  1782. ;mbstring.http_output =
    3 X+ H0 R5 r1 s/ N

  1783. # `) N% S! o* G/ G+ R. m
  1784. ; enable automatic encoding translation according to
    : q0 z6 ~. O( p: v1 |! e
  1785. ; mbstring.internal_encoding setting. Input chars are
    - L/ a' |9 v, c% a2 N
  1786. ; converted to internal encoding by setting this to On.5 l. y- A/ s6 M* K* l
  1787. ; Note: Do _not_ use automatic encoding translation for% a8 Q  x. M- v6 Q' g* p( l  d
  1788. ;       portable libs/applications.
    ; r0 H4 Z. r* i
  1789. ; http://php.net/mbstring.encoding-translation, y9 n( z; p. m* [+ K" X
  1790. ;mbstring.encoding_translation = Off# c, U% S7 R3 t* \! p8 K; Y) D
  1791. 1 X" }2 U; k4 i
  1792. ; automatic encoding detection order.
    7 b( g2 _! T$ I8 Y, M( j
  1793. ; "auto" detect order is changed according to mbstring.language
    3 d! i1 Y$ L0 w' O0 k* W. n0 C2 i
  1794. ; http://php.net/mbstring.detect-order
    # H' N, D6 W. q7 ~
  1795. ;mbstring.detect_order = auto# m7 I; r. x; D7 W1 t: d7 }1 p
  1796. 0 g: N2 f6 W% T" ]' i- }
  1797. ; substitute_character used when character cannot be converted$ `8 j! D7 u6 f2 `
  1798. ; one from another% E4 \( J7 j7 p6 x# c( O" t
  1799. ; http://php.net/mbstring.substitute-character
      H$ {2 |7 }" `& U
  1800. ;mbstring.substitute_character = none% c. P7 S" I6 A7 v+ t, e

  1801. 3 J( B# H5 d, G4 w
  1802. ; overload(replace) single byte functions by mbstring functions.
    ' |+ ?/ c' y! L5 h8 Y: N/ T4 [
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    1 Q; ^( Q/ q& y, I# f7 S+ j
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.+ w/ z* H" t- V" J+ X2 J, p
  1805. ; For example, 7 for overload everything.) V4 G: i1 |* E6 G# b" t# ?3 p
  1806. ; 0: No overload
    ' Q$ ^0 [6 ~% b2 _2 i
  1807. ; 1: Overload mail() function2 M; x. H# u$ K3 K) v5 g9 D
  1808. ; 2: Overload str*() functions
    ( O( }/ m0 X. x
  1809. ; 4: Overload ereg*() functions5 ?+ @& D3 J& ]* x- R
  1810. ; http://php.net/mbstring.func-overload
    ' s  M% A. ~9 a7 C: y) \( }+ E5 Q
  1811. ;mbstring.func_overload = 0
    ) i+ _7 t# ?7 t* N2 F- U" F0 O
  1812. 5 Y2 Q) p# m9 O- S
  1813. ; enable strict encoding detection.' h5 E# m  i( ?- l
  1814. ; Default: Off/ z% v  R# Q9 Y9 {4 G
  1815. ;mbstring.strict_detection = On
    9 \1 p: x. E% h: i( K" x. W
  1816. ' r" u! o" P% F5 N$ Q1 p
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()" g* @- T. |5 e
  1818. ; is activated.
    1 C- J& p9 k7 P
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    * K% X" H$ f- f# e
  1820. ;mbstring.http_output_conv_mimetype=" x7 T3 W  V1 O) t  o( A. `+ w* R
  1821. $ P8 N0 K  l8 |
  1822. [gd]
    4 ^% B! R1 N* C/ E& U4 Q5 `
  1823. ; Tell the jpeg decode to ignore warnings and try to create4 F$ d% y+ f. [& c
  1824. ; a gd image. The warning will then be displayed as notices: y/ V* B* p4 [' }3 n
  1825. ; disabled by default5 H; {" f- b2 a' h
  1826. ; http://php.net/gd.jpeg-ignore-warning
    ) h& M2 H4 d& ^/ I  M6 a
  1827. ;gd.jpeg_ignore_warning = 0* T% H2 T7 v, F2 |4 t* M

  1828. ; X7 H1 U3 f4 r- D7 o/ r4 f  Z
  1829. [exif]3 _* M# h/ ?, x1 Q; f. a" v
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    7 B, u% ]2 J8 x. V; c- h& f) w
  1831. ; With mbstring support this will automatically be converted into the encoding5 k2 }$ d  [* ~
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    9 V2 w2 ]  U; Q4 |  R
  1833. ; is used. For the decode settings you can distinguish between motorola and; e; J% o8 `0 M" L+ O4 [
  1834. ; intel byte order. A decode setting cannot be empty.6 y: k! T! x0 _/ n
  1835. ; http://php.net/exif.encode-unicode- u$ x' d# O/ D- G
  1836. ;exif.encode_unicode = ISO-8859-15
    ' Q+ Z* @6 A9 X  t
  1837. & c! p, r% j( t! m% y% R' i. ?
  1838. ; http://php.net/exif.decode-unicode-motorola! e* V/ c* K$ I% e" g
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    * }$ k- P- D- I- o! L+ C" b6 R/ e
  1840. 2 p8 N5 \! R+ Q8 Q0 `- q9 v
  1841. ; http://php.net/exif.decode-unicode-intel
    4 a' |. z4 H% j+ X) ^
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    4 ~7 H# N9 W! c! ]
  1843. # T; O8 x" I1 v/ J, w
  1844. ; http://php.net/exif.encode-jis. y" v% m2 s2 Q1 L
  1845. ;exif.encode_jis =
    8 C- p7 K7 n: \, [4 ?
  1846. ; \% ^9 f* g2 C* a+ i9 c/ Z, s( C1 S  F, y
  1847. ; http://php.net/exif.decode-jis-motorola
    + j% _) n: f) r: c( b- D3 |$ u: R
  1848. ;exif.decode_jis_motorola = JIS
    ' n' D5 N& s  |) [& r7 H. k

  1849. ' z# R) @) m0 G/ e2 B9 {
  1850. ; http://php.net/exif.decode-jis-intel
    4 @3 |6 C& E! E; N2 q/ j4 S2 A6 ?
  1851. ;exif.decode_jis_intel    = JIS
      B- H3 s* Q, S4 A1 h# s8 ]! ~$ i0 P
  1852. - ?7 X5 T) O- [1 p
  1853. [Tidy]
    # L. G1 o6 A- Z2 |" ]
  1854. ; The path to a default tidy configuration file to use when using tidy
    # R- n6 D7 X7 K5 ^! J  h
  1855. ; http://php.net/tidy.default-config
    ' X$ C" E6 r4 _4 X. y8 F0 p) Q
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    - ~+ {6 Y0 g( B3 l

  1857. / P! p# j- |1 E" ?4 v1 R
  1858. ; Should tidy clean and repair output automatically?6 n; R0 s: J' s% x
  1859. ; WARNING: Do not use this option if you are generating non-html content
    8 O9 _+ x7 y: v+ F+ e
  1860. ; such as dynamic images8 h" F$ P* M# h- ]
  1861. ; http://php.net/tidy.clean-output9 w4 P3 ?+ [  N
  1862. tidy.clean_output = Off
    & `& _% r6 m5 U  q" N+ z0 |; j

  1863.   V. O' |% p* S8 e' y. _" J
  1864. [soap]% U8 f7 q. k5 m
  1865. ; Enables or disables WSDL caching feature.( I1 }6 @  h% f; p5 v+ H( r* c$ U
  1866. ; http://php.net/soap.wsdl-cache-enabled' g$ a( }+ B. H
  1867. soap.wsdl_cache_enabled=15 y) a8 {: U; \4 \8 W( h
  1868. 6 f+ B# [  |. q1 o7 C
  1869. ; Sets the directory name where SOAP extension will put cache files.
    / ?* c' ~8 r7 L+ F* m% Y! o
  1870. ; http://php.net/soap.wsdl-cache-dir3 O4 r1 ~  f2 [# p- Q6 H) P4 o
  1871. soap.wsdl_cache_dir="/tmp"! M9 B* O1 }1 M. G

  1872.   Z) y+ T: o* D( T  D
  1873. ; (time to live) Sets the number of second while cached file will be used7 R* x- l$ g+ F: X
  1874. ; instead of original one.
    ; Q$ r+ s3 q6 U; x
  1875. ; http://php.net/soap.wsdl-cache-ttl0 b, K' v2 [6 W; ^: g! z/ W: }
  1876. soap.wsdl_cache_ttl=864000 L% j+ n1 k; N0 z

  1877. 2 B) W% |6 F; I0 ~- [  V+ S, X" Z
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    . \' A1 `; X7 {$ G, H$ Y' e
  1879. soap.wsdl_cache_limit = 53 L1 o0 j+ f9 ^$ x, d
  1880.   b; G- u# c! e) ]( v. |) i
  1881. [sysvshm]
    0 L! Z, N* Y9 U. ^
  1882. ; A default size of the shared memory segment
    8 g" h, y! G0 t: }6 P) e' r
  1883. ;sysvshm.init_mem = 10000
    / E/ Q+ Q# z; k8 f" b, m

  1884. # ~. h) T) a7 f1 D( H" d0 G4 l
  1885. [ldap]
    ( T* Z/ {1 v+ w9 f! p  W7 h
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    ( P' L' E" E, {  d( H$ f9 {
  1887. ldap.max_links = -1: |, n! A$ ]( I! n; I

  1888. , ]. b% ~4 v/ r; X$ J! a4 M
  1889. [mcrypt]
    . N. a0 n4 _" D0 ]3 G
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open& l1 N( ^3 B: t8 Y' i3 X; W
  1891. 8 H& e. ~# ^( H. n9 Q9 l( F5 C" r3 s
  1892. ; Directory where to load mcrypt algorithms
    + f( m) w8 F: }1 f$ w. V7 `
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)1 }6 i7 \2 r( M* Z. A; d, l
  1894. ;mcrypt.algorithms_dir=
    * Q  y# U3 h! h* B( ^9 P8 w
  1895. 3 w! r$ a0 B3 Z- `9 _1 e4 t; t
  1896. ; Directory where to load mcrypt modes
    0 t, h6 e1 F' D
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt); n0 z+ y2 ~# J0 O2 g: M3 d
  1898. ;mcrypt.modes_dir=* m6 y% o- f( a; M  k
  1899. ) S$ _. [) q) b) K) a
  1900. [dba]. W" O0 h* m' H+ Q% O6 ?0 f6 ?
  1901. ;dba.default_handler=5 b8 c; x2 Z7 W- n# J

  1902. ! Q# m1 G# J4 l% N2 X
  1903. [opcache]
    ! {6 ]( y# p$ h" A* X0 \6 l# r7 f
  1904. ; Determines if Zend OPCache is enabled
    * |' I! C! l0 _6 w8 X8 I3 ?( s
  1905. ;opcache.enable=0
    - E$ P, Y0 g2 q) @9 n! k! Z

  1906. # c7 d$ M4 o. p7 X6 ^( o: ^( a& l
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    5 [  o0 \! ?4 U: D3 o/ y
  1908. ;opcache.enable_cli=0
    / V, O" S# \! f8 z# ?# T! K+ ]
  1909. - Z8 u/ X& J: R8 |& G! V
  1910. ; The OPcache shared memory storage size.
    8 i* M! K: p1 @/ t1 I
  1911. ;opcache.memory_consumption=64
    3 b+ O9 q$ N( K, b" s
  1912. # J! C. s) ~, `) j
  1913. ; The amount of memory for interned strings in Mbytes.
    ( k( R3 m+ F& G
  1914. ;opcache.interned_strings_buffer=4
    * r/ \- ~/ h- M

  1915. 0 L7 z2 |8 y! J/ w, W3 k
  1916. ; The maximum number of keys (scripts) in the OPcache hash table./ N7 t0 G& u0 o5 b
  1917. ; Only numbers between 200 and 100000 are allowed.- y% J3 j& ~, R
  1918. ;opcache.max_accelerated_files=20009 I  i. j- J5 p4 N- j. ?

  1919. 0 z8 [% J* Q" E  G, F
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.) w  L6 s: d! A- B3 u( g
  1921. ;opcache.max_wasted_percentage=5
    ; ?( \" K! W2 k; i5 @
  1922. 2 X0 x5 I1 o" m' K' y7 }- O
  1923. ; When this directive is enabled, the OPcache appends the current working1 r3 ~4 C9 P+ P. o
  1924. ; directory to the script key, thus eliminating possible collisions between
    9 }) A% }/ Q# I
  1925. ; files with the same name (basename). Disabling the directive improves
    9 k8 a; I- v6 x1 ?; Z+ }
  1926. ; performance, but may break existing applications.
    1 P. O6 a& @5 C: l
  1927. ;opcache.use_cwd=1
    ( ]  x2 z, t$ O

  1928. 2 ~$ J" x% P0 ]
  1929. ; When disabled, you must reset the OPcache manually or restart the( K6 b: b; J: ]# U3 d7 X
  1930. ; webserver for changes to the filesystem to take effect.
    4 Z7 E3 F9 l3 |8 k5 s
  1931. ;opcache.validate_timestamps=1- o+ q2 O% a/ x0 d1 s% P1 ]$ E5 K
  1932. 4 c) l* K6 k+ B: z3 r1 M7 A* w
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    $ a. t# k" `  F( M( M6 g  E: \
  1934. ; memory storage allocation. ("1" means validate once per second, but only$ H) `* `. V1 Q. S$ Q" `1 _# n
  1935. ; once per request. "0" means always validate)0 S  p; o2 w. m, Y
  1936. ;opcache.revalidate_freq=2# ~4 z' V$ U6 I

  1937. 5 z; t2 Y0 s! N+ m$ [4 a2 ?
  1938. ; Enables or disables file search in include_path optimization
    6 }. D8 ]! p, Y% ^/ \
  1939. ;opcache.revalidate_path=0* p6 c2 Y7 Y1 K

  1940. & |. }. o1 A2 g4 `
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the" C8 A+ A, {& E) \; u, {9 @" {
  1942. ; size of the optimized code.* i6 V  m2 J5 H: W
  1943. ;opcache.save_comments=1
    9 o1 a, b4 q( u

  1944. ' m: L, r$ Z/ x6 J1 O: r
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"% X- b  Y4 Q" k& \% T" \! E; ]
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    . @8 \1 U; v; o
  1947. ; that don't need them anyway.
    0 y; @; N1 w: S8 j
  1948. ;opcache.load_comments=1% q" J8 E4 U( R0 F/ l/ H
  1949.   r( W, Z# R; d! F& q
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ! u" Q  V- S  w- f
  1951. ;opcache.fast_shutdown=0
    * A* m5 q; f! h8 [$ ]9 i: G

  1952. 0 q8 h4 y# ?( J) R4 ]
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    $ R4 j; g% G$ Z" M% W+ s2 V7 ?
  1954. ;opcache.enable_file_override=0& u) g3 l. Y1 N5 ^9 g

  1955. # w/ y, z' J+ o. `, N" a. u
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache6 l2 w' t1 |2 l/ d2 f5 c
  1957. ; passes
    + W( Q9 E- D: i: V
  1958. ;opcache.optimization_level=0xffffffff9 T7 \! j4 e/ C! Y# g
  1959. 1 e6 Y- S5 [% I2 @6 {
  1960. ;opcache.inherited_hack=12 v& o+ ^9 d* e
  1961. ;opcache.dups_fix=0
    , b+ e, V0 \) I8 u

  1962. $ }; t+ n+ ]9 z' H- Z5 m. ?
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    0 A0 P. q4 p7 }" w( I* X
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    - J$ R+ V, ?. C5 {
  1965. ; that should not be accelerated. The file format is to add each filename
    1 V- W: l9 Y1 _3 q9 I" n7 z  I
  1966. ; to a new line. The filename may be a full path or just a file prefix
    " ^* O* @& |* u! S: _
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www# W) L+ ~" R1 U
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).$ \# f4 m; v" _4 v. S! ~2 I* t  B8 o
  1969. ;opcache.blacklist_filename=$ `8 |8 y" a, Y& O3 N2 ~
  1970. , R7 Z( D$ p$ I1 A3 B
  1971. ; Allows exclusion of large files from being cached. By default all files$ b1 |( L  [% C6 K: T+ ]' i% D
  1972. ; are cached.% ~: Q" Y) V  _! z3 O
  1973. ;opcache.max_file_size=0
    + _7 u4 [. q% U
  1974. ) e: k' i1 ]5 J
  1975. ; Check the cache checksum each N requests.
    8 x- N4 z2 `# v1 P. ]
  1976. ; The default value of "0" means that the checks are disabled.
    / F. g, C7 \8 e$ H, L8 R
  1977. ;opcache.consistency_checks=0" u* S$ Y# d2 k, `  ]: e, @" |' P

  1978. 8 q# ?) p# H+ [
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    , l) [' u% m/ q. ~
  1980. ; is not being accessed.
    ) [: Z. m$ r9 S+ S* J& t$ g" h
  1981. ;opcache.force_restart_timeout=180, i$ x# b" U% i( h2 D

  1982. # }) e8 v0 S6 n0 q) B& O' Q1 n% v
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    $ X! n  X, ]2 M0 B
  1984. ;opcache.error_log=) d8 o) k% l" G
  1985. 8 G' H3 j# j4 {& |
  1986. ; All OPcache errors go to the Web server log.5 ]7 B" u# m% S& y
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.6 A% \' _: A( G# k
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    ' r% y' k( K% A  H# ~* R4 }1 v
  1989. ; debug messages (level 4).
    ; y; }+ z. @  u- u/ b1 q
  1990. ;opcache.log_verbosity_level=1, W5 c- }/ M& A. H1 X8 Y  Z

  1991. 4 k" ?  P3 b1 ^, e0 ]
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ' F. e+ d6 N, W4 e
  1993. ;opcache.preferred_memory_model=
    / \9 o$ }( O' N# x$ b

  1994. 9 h1 e0 g, ]/ a3 T1 Q
  1995. ; Protect the shared memory from unexpected writing during script execution.
    ! m, W$ N- W& _8 d! ^8 z
  1996. ; Useful for internal debugging only.
    ( c4 w9 @. Q4 }) U1 @
  1997. ;opcache.protect_memory=0; O  W( \3 p5 ^/ f

  1998. 1 y" D- Z! Y/ ]* x' P
  1999. ; Validate cached file permissions.  }) g/ p9 M9 T: S5 h% E" o
  2000. ; opcache.validate_permission=0
    9 M9 v# j7 I& c8 R/ Q8 A) U) o

  2001. / _; U4 c: U, b5 S
  2002. ; Prevent name collisions in chroot'ed environment.. B) D9 B0 l& V) g
  2003. ; opcache.validate_root=0" A+ [4 M* G" }- o

  2004. $ _6 `) z, k3 Y2 e$ S
  2005. [curl]7 [1 K% D; [3 d
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an9 F3 r$ i; \3 p1 h; Y; J9 G
  2007. ; absolute path.
    8 T# q( M! n+ \' ?. z, z
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt- }! t1 u9 z! i6 _5 A, J( U
  2009. : P0 ?3 `. e% y! c$ Z9 J
  2010. [openssl]
    2 z; V9 I( C5 p+ D8 q& S
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    0 ^. g7 d6 B" a+ w( ?9 w2 \1 H# ?
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ' e* F0 |7 Z4 j* v# S' |; X1 a
  2013. ; not specify a value for this directive as PHP will attempt to use the
    * S) F& U. k0 x; }
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    + o; a" Y$ z4 K. y$ ?9 [2 E1 I
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context. b1 U+ [" ]9 }& r+ t0 ~
  2016. ; option.% u( z" O& ]1 |$ h. q0 k: d# d$ n
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt* Q+ R6 D, c# ^3 Q
  2018. - y8 A" k1 _! e9 b
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    6 `1 g4 |3 s1 K# m7 y7 V
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    ' M  l  F* N+ ?9 @& E
  2021. ; certificate. This value must be a correctly hashed certificate directory.  y6 W4 t. K; x
  2022. ; Most users should not specify a value for this directive as PHP will" P4 `" a' r- E$ Z* P
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,  m# |  P  K% H) A8 K# O( @* m1 f
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    . x0 [2 R/ J+ L/ D1 \6 @
  2025. ; SSL stream context option.0 w4 ~/ U/ ]- D3 `; C. V9 R
  2026. ;openssl.capath=3 t* D( c, }: F* C5 r8 c
  2027. 8 \" W& j- K6 G* C+ w0 V9 c) |
  2028. ; Local Variables:4 Y2 P* j* D8 |, _. N
  2029. ; tab-width: 4
    4 o/ h% F# ~! g6 p8 M
  2030. ; End:5 Z9 U3 v6 Y6 W9 V1 O
  2031. 5 `* j- \; t! o8 U
  2032. ;eaccelerator/ E7 B+ q' _7 C6 [6 H
  2033. 7 ~$ u1 L* w5 f0 s7 C( V9 N
  2034. ;ionCube
    + ?1 C" P6 E; N( G+ ~4 A
  2035. 4 }# \7 o; g" I3 j" F
  2036. ;opcache- n0 i0 ]% c. _: N( W& J) M
  2037. 5 W; a+ t. D6 s/ ?& ~
  2038. [Zend ZendGuard Loader]
    8 \1 Z( `5 P/ Z5 l! t
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    . U$ F" V7 J/ L1 G% B- i
  2040. zend_loader.enable=1
    8 M2 }4 k+ J7 v. U7 s+ @' I- u
  2041. zend_loader.disable_licensing=0
    2 ~5 O7 R* L' n
  2042. zend_loader.obfuscation_level_support=30 A& M& ?" L5 @5 ~! B! i
  2043. zend_loader.license_path=# j. \* g" s  a( [5 u% e

  2044. . ~- f& [8 m6 G. ~1 k
  2045. ;xcache7 J. e* d' i& M' L# k: N8 k( f

  2046. ! a4 x: C6 m0 h1 g
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
& G6 j) E/ T0 b" k8 V7 Y6 H' K
+ l" N) V5 \) n0 w; e0 u
  s6 ~7 G% [0 lDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
3 o0 [8 g. g- H7 M: V
( J) y8 Y1 _1 u% Y! M5 oDiscuz!程序版本选择:8 J/ G) [* R2 ]' d% m9 z! _4 Z# ]( M
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
( I0 r( K# j8 J& e, ^, c不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:; ^* `) _  l( q, p+ ?1 B
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。
) M6 V- Z8 k5 G. u
+ E( f; v' W# f, ]% u4 U7 F$ w2 dDiscuz!插件模板版本选择:& \, r. q2 y6 A% ]  ~: A: K
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
1 @8 a0 r6 D9 E7 n& y针对这个问题做个统一的普及:# ]" h* `0 b7 s4 L- W
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
* F% w$ E, `* y* h" S! b9 e7 w
3 V- I( N4 U. K" A所以6 j; ^. x; I$ U
适合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的二级域名。
; h' u- l4 o, s7 F打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
+ N1 o) Z. y$ @/ R- A$ W注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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