分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
' N% T# J9 p9 ~3 x  |. u1 D& }. o' ]8 G+ J$ o0 }/ V
  1. [PHP]
    ( H0 ~3 e$ }9 @- _! }

  2. * M* w3 s2 u6 u& G/ O+ T" R( A
  3. ;;;;;;;;;;;;;;;;;;;
    # w& Z2 d+ K0 V: u6 f8 C
  4. ; About php.ini   ;9 L0 D! r6 w" n
  5. ;;;;;;;;;;;;;;;;;;;0 I9 V8 V) J. o; I* U+ r1 I
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    : N% Y( \, I! U7 T
  7. ; configuring many of the aspects of PHP's behavior.
    $ e6 z3 h6 D% L+ @! L3 k4 \
  8. 6 y- v# D6 M* U4 }: T
  9. ; PHP attempts to find and load this configuration from a number of locations.
    6 w( h( p- I$ M$ N& F6 P6 o
  10. ; The following is a summary of its search order:+ K- ~" S9 y# C9 _
  11. ; 1. SAPI module specific location.
    / L. c4 m  J$ g: |+ s" }1 p
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)1 Q" s$ H( c  N1 g
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ( f0 w, E5 O8 g8 r6 i, R% h) ?
  14. ; 4. Current working directory (except CLI). @! x% ~  F: H( l2 j2 O
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP( g0 @7 D4 |! a1 J8 B2 v
  16. ; (otherwise in Windows)
    * p2 o- O; j8 v; [# j
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    7 ]# e5 ^: g  \
  18. ; Windows directory (C:\windows or C:\winnt)
    . d7 {4 t6 |! T: u) w- {
  19. ; See the PHP docs for more specific information.% r3 `4 v3 O+ A8 e9 Q8 j
  20. ; http://php.net/configuration.file
    + O, G; D  `- J7 H; p( u
  21. & c' ~3 e. y0 t" D# W/ P  f
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    - g6 H( H# g( Y% G1 \' z' Q
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).; x( t, H1 u9 w5 {& W
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    2 o2 q' F, `* R
  25. ; they might mean something in the future.1 a6 }# p# @* m  _$ x
  26. * y, C+ z7 r  `; i
  27. ; Directives following the section heading [PATH=/www/mysite] only$ S( u* D* C" K" N! q, v- u
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    7 q- w! y: R$ F# Z: F) ?
  29. ; following the section heading [HOST=www.example.com] only apply to; q* ]  z& f0 j, f1 J9 |
  30. ; PHP files served from www.example.com.  Directives set in these
    ! T) d8 R. d, h# A- ~
  31. ; special sections cannot be overridden by user-defined INI files or
    % {! C: l' Z2 J# o8 Q# A/ x
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under& d  @% J' S& F5 Y6 d
  33. ; CGI/FastCGI.6 y7 e- W5 E/ V* v$ O2 c
  34. ; http://php.net/ini.sections
    9 L8 V* [8 m6 o
  35. , O9 p' f2 p' H
  36. ; Directives are specified using the following syntax:
    & ?  N* \) r* a# D
  37. ; directive = value
    8 F* i9 i: B: ?* V+ y% }$ S
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ! f2 M6 K2 d- \' _. j
  39. ; Directives are variables used to configure PHP or PHP extensions.% A: S  S4 l+ p4 }
  40. ; There is no name validation.  If PHP can't find an expected
    . F$ s) I4 o2 ?* K. r5 I  D& Y2 L
  41. ; directive because it is not set or is mistyped, a default value will be used.
    # L0 ?# @7 S  M' c/ K
  42. + u' Z8 ]$ w2 c% O% O4 i' b
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    8 D1 q  O$ E+ B+ s  C
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression- P7 q3 b  D4 i, q: e+ H
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a5 u6 i$ y+ }+ k1 ]$ o
  46. ; previously set variable or directive (e.g. ${foo})3 l8 U# X8 ^% u

  47. ! L/ e" z; r( P, K  \6 l; F
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:* B2 U  X2 ]* T/ z; V
  49. ; |  bitwise OR. z7 S" \; U9 a' ]% o
  50. ; ^  bitwise XOR
    4 B+ S# N$ k$ t
  51. ; &  bitwise AND1 H1 g3 l0 Y) `8 _- A
  52. ; ~  bitwise NOT
    ; t& p! C% e" j- D$ D0 m
  53. ; !  boolean NOT$ ?# B- E6 a' W5 e$ e6 L# Q
  54. 6 S# x, A2 K" v/ X* D% Y; s  a
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.  [/ B3 ^5 V+ f- K" `
  56. ; They can be turned off using the values 0, Off, False or No.
    3 e  u1 A; ~( {1 [4 @! @2 x4 \

  57. 8 L; [  |1 Y2 W4 S+ H
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ! m! n0 U% F, @6 ?6 k; E
  59. ; sign, or by using the None keyword:  z/ S5 A1 F7 ^4 }5 q
  60. ) \& ]$ M' `; D/ C0 J
  61. ;  foo =         ; sets foo to an empty string
    2 q- X( U$ m# x# }6 u
  62. ;  foo = None    ; sets foo to an empty string# A( @( p" c* ?8 Q, t
  63. ;  foo = "None"  ; sets foo to the string 'None'
    : W7 u! |! F1 \1 P; S
  64. 6 w/ m  Z, v3 @
  65. ; If you use constants in your value, and these constants belong to a
    - V$ v' Q5 t' p2 ^: X
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),2 P" r+ \. I4 r9 b5 s
  67. ; you may only use these constants *after* the line that loads the extension.3 T  q. w) C7 i9 P8 B: c+ L; L* d

  68. 8 b$ Y- D. B% o
  69. ;;;;;;;;;;;;;;;;;;;" b& W# Y% e4 q1 }0 ]9 L' a/ B
  70. ; About this file ;( N; Q9 {. L  t! L
  71. ;;;;;;;;;;;;;;;;;;;
    ( h) \' Q/ j, y  M- W5 M
  72. ; PHP comes packaged with two INI files. One that is recommended to be used7 g7 z4 w( S+ e% F( H; d
  73. ; in production environments and one that is recommended to be used in
    3 E& H2 Q1 U3 L
  74. ; development environments.
    2 I2 R2 i: E% b8 ^
  75. 2 m1 N3 [; T! @* j; O; l
  76. ; php.ini-production contains settings which hold security, performance and
      h/ W8 c0 t% \! j3 A
  77. ; best practices at its core. But please be aware, these settings may break! D9 \7 r5 n0 D( K* j9 D
  78. ; compatibility with older or less security conscience applications. We
    - ~" x  L! N3 @- G7 L3 l
  79. ; recommending using the production ini in production and testing environments.
    ) L; B- y0 d" J) t: d0 T

  80. 3 g$ k+ v$ b) P$ S) l/ \
  81. ; php.ini-development is very similar to its production variant, except it is
    2 l. m4 A2 J& B
  82. ; much more verbose when it comes to errors. We recommend using the( E! i! I6 d, d1 V5 \" q" S6 m$ E: ~
  83. ; development version only in development environments, as errors shown to3 L- L! X: q! _5 z* c1 M
  84. ; application users can inadvertently leak otherwise secure information.
    : A, u2 s- _" `2 [$ A* l& q
  85. 0 q( E! ^" ?6 r" h2 Q! S
  86. ; This is php.ini-production INI file.- g+ I# e  r7 X! b- t7 t1 o( J

  87. ; F- }: l6 p! a0 H$ c: X9 y8 s
  88. ;;;;;;;;;;;;;;;;;;;( w6 H% E  y5 Z& w
  89. ; Quick Reference ;
    : b$ s! @% g2 N% O
  90. ;;;;;;;;;;;;;;;;;;;
    % x3 n: [( a5 U# b" w$ x) C3 X
  91. ; The following are all the settings which are different in either the production, P& k& T& c" i, \* b% h' v
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ! u1 y( r# n( c. z% c5 [. |
  93. ; Please see the actual settings later in the document for more details as to why
    6 z2 K1 K% E1 H% t) k9 U3 c! E1 c+ k
  94. ; we recommend these changes in PHP's behavior.: f- l! M" A% e

  95. 8 V9 o3 C1 j/ R- E
  96. ; display_errors
    & ]% e9 A5 I2 E! i+ u+ ^, Y9 d
  97. ;   Default Value: On
    4 d  M7 d+ }$ A
  98. ;   Development Value: On8 n% z1 g- \$ k- ^: g
  99. ;   Production Value: Off7 O4 h; ~) S, G' ^. h

  100. % m- v! l3 H1 O0 H4 R8 ]" C
  101. ; display_startup_errors3 W- W. U* x# s7 ~3 {
  102. ;   Default Value: Off# Z( s0 \" g: D4 h
  103. ;   Development Value: On
    2 o* W& y, V$ B
  104. ;   Production Value: Off
    & N. N  `" @  H1 B: ~7 A6 [

  105. ) Y8 {& p$ @3 b* p( n% S& ?! L
  106. ; error_reporting
      B6 f5 P0 E1 W- r& @6 v
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    * i# F* f% d7 I8 m, Z0 G' x- m
  108. ;   Development Value: E_ALL' C) W5 W2 J1 k" n+ A. W2 F" u
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT' J& s+ }' _- [' x, e6 r
  110. / t+ j( U5 I/ ~5 x
  111. ; html_errors, q7 V+ z. b, R# {( R
  112. ;   Default Value: On, f" z/ r2 ^" S7 X
  113. ;   Development Value: On* c1 r% G' \8 ~- P
  114. ;   Production value: On
    " c: [5 T! y6 i  a! h6 \

  115. 7 K) s# w# M3 M7 p$ b
  116. ; log_errors( [% H2 P6 ~% ]" Z6 m. a; Q
  117. ;   Default Value: Off
    : G9 A9 Z4 t0 b  ~# U
  118. ;   Development Value: On
    / }; c* x& |6 Z( g, S% W6 e* y
  119. ;   Production Value: On
    % N$ b4 V" j" J
  120. / Q2 m! w0 g6 Z, ~+ |: s
  121. ; max_input_time
    ) s1 o! j' @; G6 S9 q# \/ K
  122. ;   Default Value: -1 (Unlimited)& o+ z4 w( z: ~1 G3 a) p9 e
  123. ;   Development Value: 60 (60 seconds)
    9 R2 \0 f$ @# T
  124. ;   Production Value: 60 (60 seconds)
    . T  p+ l& C" @/ e- M3 b$ `$ D
  125. ' h. |% K- z- S" V8 E9 j+ @$ \
  126. ; output_buffering
    0 {: m' @/ ^& R) U
  127. ;   Default Value: Off/ r$ B4 f1 P8 o
  128. ;   Development Value: 40967 |9 U: ~# S# z# _( h# D3 o
  129. ;   Production Value: 40963 N7 r" h* k' E/ ]

  130. ; {$ b3 @8 x7 l3 y
  131. ; register_argc_argv4 k' E9 V9 ~/ t7 H) W1 e2 Q
  132. ;   Default Value: On; D6 J0 w3 l  T$ `/ J6 y
  133. ;   Development Value: Off
    + F7 S6 h  e6 C
  134. ;   Production Value: Off
    " r. _% l4 q& N5 T4 Q) f0 x

  135. 5 H1 j, a0 c. e5 k& y" V) J* W
  136. ; request_order5 w: K7 N& G( m* K
  137. ;   Default Value: None
    4 c5 K* T& i8 y$ O* P- p2 s
  138. ;   Development Value: "GP"
    6 b  Y) }) m4 Z% t0 }& P
  139. ;   Production Value: "GP"2 n. p- b; F/ ^/ \* J
  140. 2 ~1 g5 H2 a! O. W7 Q- Q7 R
  141. ; session.gc_divisor
    ( M8 x9 o0 J' y4 z9 H
  142. ;   Default Value: 100
    : F) D4 `  F& q, @3 E+ G  d
  143. ;   Development Value: 10001 g9 _, r7 P- C3 e) p& @! {3 r
  144. ;   Production Value: 1000
    + ~' ~5 }  z& y3 Z1 R3 S; ^
  145. 2 g' n4 O$ \/ Y* w  `# e
  146. ; session.hash_bits_per_character
    0 E# G, Q/ V. p. `, o
  147. ;   Default Value: 45 ?: b! i4 }- F* x: R+ L
  148. ;   Development Value: 5& f; D, L' M& ~0 E: e
  149. ;   Production Value: 5" [" i' I4 t0 Z, j4 L

  150. # S: h: `, A% S: Q
  151. ; short_open_tag7 @) c$ Q) M4 k0 Y9 }+ Y
  152. ;   Default Value: On
    - e' o7 R, a8 z# }9 Q% _4 c
  153. ;   Development Value: Off
    2 q" e0 e  h! H+ ~9 O
  154. ;   Production Value: Off! a2 {/ E" }5 Q( J
  155. ; c( z8 ]9 n8 n, K, p
  156. ; track_errors+ y8 o) p* v# o* W2 T
  157. ;   Default Value: Off4 \) x/ P3 Z8 |8 l& _% _
  158. ;   Development Value: On
    0 K; E, N/ B5 I- `0 r+ S8 \
  159. ;   Production Value: Off
    6 l! m- ~, _# Y1 v- x
  160. . |+ u: H7 Q" {( }# G
  161. ; url_rewriter.tags
    ! R, L1 Q, b# G
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="  L; L4 B2 ~2 n: Q: J) ~
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ X6 \* x8 \9 J) k
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry") i$ N  M( p! \3 ]

  165. & l. o+ L  k6 D  M/ S
  166. ; variables_order! g4 F! V# |( K% E/ @# l
  167. ;   Default Value: "EGPCS"0 `% M7 f( W( d. M
  168. ;   Development Value: "GPCS"% b! [8 @" N  E& L
  169. ;   Production Value: "GPCS". X3 H; t% \! f; p7 e: M

  170. 8 i$ \+ L6 c( _. y' w
  171. ;;;;;;;;;;;;;;;;;;;;# M+ T; t6 E8 J# B
  172. ; php.ini Options  ;
    " s# j( l3 p' P" D) c. Q8 K
  173. ;;;;;;;;;;;;;;;;;;;;$ Q7 @  Q' Y9 H0 M- u- M
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"3 c- _; U$ l) C& Z0 w* {- M' Y) Q
  175. ;user_ini.filename = ".user.ini"
    0 s( M4 `% ~, r  x8 w
  176. & t! r; L& J' f  O6 e1 S5 Z
  177. ; To disable this feature set this option to empty value
    + R& P9 e$ z* D; [' O' R- a' W
  178. ;user_ini.filename =$ C: X/ p0 i4 q7 `1 k6 }/ e
  179. & C" b& G9 Q; {) n& V
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)' a# h9 H/ z4 ~4 r1 z
  181. ;user_ini.cache_ttl = 3000 e8 _7 ^' d$ l- Q9 O1 H; ^' ?
  182.   t4 x5 }; q$ B* H( [
  183. ;;;;;;;;;;;;;;;;;;;;
    , c. d: |6 b* ]* y9 g
  184. ; Language Options ;
    3 d) c' j8 e; N, I* L
  185. ;;;;;;;;;;;;;;;;;;;;, [" P: \0 d- S1 A

  186. ; v% Y1 [) Z4 F
  187. ; Enable the PHP scripting language engine under Apache.; x% N6 Z1 d8 [! l# g, Y
  188. ; http://php.net/engine
    * C& J- a" e: _2 m+ }$ R: I% W- R* w
  189. engine = On
    4 T& F  j1 O) K" x7 M0 T

  190. + \% D8 s0 |/ ~- c* P
  191. ; This directive determines whether or not PHP will recognize code between. T" b7 _9 G* R0 \! H! e
  192. ; <? and ?> tags as PHP source which should be processed as such. It is  `1 M. I( I8 t$ R
  193. ; generally recommended that <?php and ?> should be used and that this feature
    9 d4 z) C2 _% V8 @2 j9 \
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ! ~& u" a& u; |% D, M# e9 y
  195. ; documents, however this remains supported for backward compatibility reasons.9 z9 p" A* f5 R" V
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    & K! |+ g5 z7 \& k
  197. ; used regardless of this directive.0 M! p4 x$ @* t- [! x( v
  198. ; Default Value: On, e& n$ M$ Z+ X' b6 }# @
  199. ; Development Value: Off; u+ U- z& H! I! x
  200. ; Production Value: Off
    . ], D8 Z+ X) {
  201. ; http://php.net/short-open-tag" N# v0 ^) k  W3 n( I
  202. short_open_tag = On5 h; r( O; @3 |: R( k
  203. & O+ X6 N5 B5 E9 Y
  204. ; The number of significant digits displayed in floating point numbers.
    : a6 U7 T  j; q2 y. r( U5 Q
  205. ; http://php.net/precision2 o3 v* f9 f2 h" A! r
  206. precision = 141 f2 F$ l  [" d2 a
  207. 3 C, R+ ~& _/ C, j
  208. ; Output buffering is a mechanism for controlling how much output data
    % ~6 W; s! L8 P3 O
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    & {' E$ B6 o9 \' P
  210. ; data to the client. If your application's output exceeds this setting, PHP
    / J' U1 c* u1 C% S  J
  211. ; will send that data in chunks of roughly the size you specify.
    $ N7 Y( s( w2 ^8 x% l! G
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    ) _  E: n9 H+ o9 u' M
  213. ; interesting side-effects depending on your application and web server.
    ' C" [, H) U$ h1 V/ h3 j
  214. ; You may be able to send headers and cookies after you've already sent output
    ) ~% ~& w1 F8 s+ K2 c
  215. ; through print or echo. You also may see performance benefits if your server is. c& G' x7 j% ^7 m3 C: k" C
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    7 u8 V" G1 ~2 n3 s0 E
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    % T% q; l. i3 n9 h8 V
  218. ; reasons.
    $ H2 f  l9 M$ C9 {& e; Q
  219. ; Note: Output buffering can also be controlled via Output Buffering Control) ]0 |3 j2 @/ Y. X1 P) z# s
  220. ;   functions.& `0 f% {+ J0 ~2 a5 M2 _8 z! r+ @
  221. ; Possible Values:
    % J1 G9 j  l# h9 j
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)7 B7 W# ]  o5 \, O
  223. ;   Off = Disabled/ h" @1 s( g6 O' \
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.# a' D0 M/ l3 j6 T, W/ |$ y' g8 U, k
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI& J8 a" `% Z% O8 T2 O1 T6 Z
  226. ; Default Value: Off5 l# U) \) w* I* W# n, V
  227. ; Development Value: 4096% {" A+ G8 G0 P
  228. ; Production Value: 40964 x# e, `& s  T2 C
  229. ; http://php.net/output-buffering% d4 t( j6 r8 z
  230. output_buffering = 4096) P/ Z1 B& a* y) G& l8 e/ `

  231. 2 g( A# M& E- q* v
  232. ; You can redirect all of the output of your scripts to a function.  For
    : h' Q" K4 u: R: |; t
  233. ; example, if you set output_handler to "mb_output_handler", character
    7 d4 i! C3 }. g) Y+ f( x
  234. ; encoding will be transparently converted to the specified encoding.
    # K5 P7 ]- A$ c9 u' j
  235. ; Setting any output handler automatically turns on output buffering.
    $ I  z. }2 `3 _
  236. ; Note: People who wrote portable scripts should not depend on this ini# |: d7 m0 v( x/ B% R2 I( t# D0 \
  237. ;   directive. Instead, explicitly set the output handler using ob_start().* e- `8 E+ @. Z! ]
  238. ;   Using this ini directive may cause problems unless you know what script* I! ]8 i2 `' P# s1 I5 h6 x2 t: Z
  239. ;   is doing.
    0 R' Q: z7 X2 k6 y( f9 z- k
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ! T% E/ b  V. X( o& K* G" h
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    + `  P' v& L9 r. Z
  242. ; Note: output_handler must be empty if this is set 'On' !!!!" f1 k" J0 U: n9 {' i
  243. ;   Instead you must use zlib.output_handler.
    3 e( E6 |+ }5 j* V% Z5 k& {' i, p
  244. ; http://php.net/output-handler4 u1 U6 o6 V3 t& y
  245. ;output_handler =
    $ S# Q% n' _# d2 m3 H! Q
  246. : Z- x/ E  _) H. O: o
  247. ; Transparent output compression using the zlib library+ O  O- Q* J6 K$ O0 C7 h9 ?
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size; g# {' O9 q9 J) P  v5 ^0 F/ e0 H
  249. ; to be used for compression (default is 4KB)9 |9 x( m9 L4 P" V0 h
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP0 r- ^3 ^0 l; N5 }4 o/ X
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    9 R: c5 J; I" M$ S
  252. ;   compression. If you prefer a larger chunk size for better) m+ Y6 t+ s# {- T! q
  253. ;   performance, enable output_buffering in addition.1 M+ ~! K( p; n: _# j
  254. ; Note: You need to use zlib.output_handler instead of the standard
    . N6 Q+ V. ~. P# w( R( f  y, e
  255. ;   output_handler, or otherwise the output will be corrupted.+ _( z7 p0 ~4 E  d$ Z! ^6 a/ j. C
  256. ; http://php.net/zlib.output-compression
    4 b$ V7 L8 h9 c0 S- i; ^" V
  257. zlib.output_compression = Off
    # k$ ?5 ]2 J- @
  258.   c2 q3 E( G0 X
  259. ; http://php.net/zlib.output-compression-level/ m) F5 H5 K; O; O- o0 \4 L8 D& B
  260. ;zlib.output_compression_level = -1
    ! H1 H! G% v% L
  261.   M% Y! D1 B; N' }4 _4 e3 X- J
  262. ; You cannot specify additional output handlers if zlib.output_compression
    3 \+ e2 x2 E: ^3 B! M+ g
  263. ; is activated here. This setting does the same as output_handler but in/ T( C0 L1 b& R" r. }2 A1 _, p
  264. ; a different order.0 M6 ^5 U' Z# v: k+ U
  265. ; http://php.net/zlib.output-handler% R) h+ f# v* X
  266. ;zlib.output_handler =
    ) U9 r# T3 K( l* u: `

  267. 9 j2 I$ D( T: H5 b1 U1 f
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    - _1 t$ s* \' Z! o- p
  269. ; automatically after every output block.  This is equivalent to calling the
    0 m8 }, k% D, y2 s% E
  270. ; PHP function flush() after each and every call to print() or echo() and each+ k. J  {; \9 b. ~
  271. ; and every HTML block.  Turning this option on has serious performance4 r4 P% J( ~, S( u$ n$ w' C% v
  272. ; implications and is generally recommended for debugging purposes only.
    2 K; \  `. Y/ M. q
  273. ; http://php.net/implicit-flush* @# y$ T3 S6 M/ D9 C  E) g4 W
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    1 s/ A0 C, t' M% N
  275. implicit_flush = Off
    / l% ?8 j5 V( v! G5 t' S" S  y" O
  276. ( S- A6 r. P9 l* p& u
  277. ; The unserialize callback function will be called (with the undefined class'
    # G6 c& ^9 e3 t! W0 ^5 i! Y  f
  278. ; name as parameter), if the unserializer finds an undefined class
    7 T1 x& b; r1 I1 u+ ~
  279. ; which should be instantiated. A warning appears if the specified function is# M( v: u1 Z, Q/ R! ]0 Z
  280. ; not defined, or if the function doesn't include/implement the missing class." }: A$ G( a" O7 S% {' o6 W
  281. ; So only set this entry, if you really want to implement such a
    : ~8 |5 ]* z8 t
  282. ; callback-function.
    ! y' J" ?6 n9 L
  283. unserialize_callback_func =1 a5 ]- c5 d' i5 {

  284. - U( [) _/ N: q. v% s3 C
  285. ; When floats & doubles are serialized store serialize_precision significant
    $ v7 X" j7 f6 Q8 g9 C1 L/ }
  286. ; digits after the floating point. The default value ensures that when floats2 p, B; g) }1 a% E8 i# Y
  287. ; are decoded with unserialize, the data will remain the same.
    * Q( m8 r% G2 J9 C* a
  288. serialize_precision = 17+ F% X6 }+ {4 i0 z
  289. * s; T: V  m, |7 ~) e
  290. ; open_basedir, if set, limits all file operations to the defined directory8 p1 R$ w, X9 c( Q
  291. ; and below.  This directive makes most sense if used in a per-directory
    3 Z8 m3 x- I) h* g1 c
  292. ; or per-virtualhost web server configuration file.
    7 m. ?4 ]! [; x8 C/ F# u
  293. ; http://php.net/open-basedir
    ' C' b7 ~+ E# s! e6 L& _
  294. ;open_basedir =: }5 N2 P$ s2 R
  295. ) M' g. b, ]6 l7 A* v0 V4 B* ~
  296. ; This directive allows you to disable certain functions for security reasons.1 T8 ?& @7 P% S' |4 N! b$ q
  297. ; It receives a comma-delimited list of function names.
    $ v6 T8 R' j7 Q( |7 a  U0 o
  298. ; http://php.net/disable-functions. n7 A+ l4 U3 C, q4 I! U# W
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru! }# X2 d, e' P) \6 {* k

  300.   m8 b, E0 Z+ |1 L8 ?) A/ I( J1 a- Q
  301. ; This directive allows you to disable certain classes for security reasons.1 ]7 m5 f2 v4 |0 c0 Y! k4 ?/ L" J8 {
  302. ; It receives a comma-delimited list of class names., e% c: t5 K/ c- o
  303. ; http://php.net/disable-classes; }2 p5 Y  K) q' W+ ~; T8 A
  304. disable_classes =
    " j6 I4 C2 P1 {( e9 d8 J
  305. ; x6 r" z$ _- {7 B9 r
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    + f; \) u+ V" _3 y' V; |, N! F9 E. y
  307. ; <span style="color: ???????"> would work.# ]* J5 I1 q( w3 p* i' U
  308. ; http://php.net/syntax-highlighting
    9 K! c3 m1 G9 R, g( j3 V% ]+ T5 I
  309. ;highlight.string  = #DD0000
    - X  w% j, c7 s& m9 O
  310. ;highlight.comment = #FF99005 v( L  C4 M$ q9 y$ n5 J
  311. ;highlight.keyword = #0077004 H" y0 S! E* G* m5 s
  312. ;highlight.default = #0000BB
      s/ x/ @$ ?/ |" @, \* C
  313. ;highlight.html    = #0000007 ?$ Q- O: Q/ w
  314. 2 J6 @' A( u$ m) N
  315. ; If enabled, the request will be allowed to complete even if the user aborts2 W8 g/ N5 a" q+ e  I
  316. ; the request. Consider enabling it if executing long requests, which may end up
    & s3 e6 W" V3 {- |3 y- o
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
      K5 x+ J0 u: Q2 l6 r) A$ S1 o' L
  318. ; is to disable this feature.
    * p  Q# x$ t4 \3 V' w- ]
  319. ; http://php.net/ignore-user-abort* d4 F& g2 `, l# K, t- R6 j
  320. ;ignore_user_abort = On2 I% v( ]1 Q, x0 a' r# \3 z2 H
  321. " G& Q; x4 d; X
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    - X' z: v  L6 q( B% f
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    2 d' S: d, V: \( B
  324. ; the file operations performed.% k2 m: ^8 B1 t
  325. ; http://php.net/realpath-cache-size
    9 c+ y$ I) Y* {* p' Q
  326. ;realpath_cache_size = 4096k
    , g" ]1 }5 M( S+ }  P5 a
  327. 8 ]' z, N0 e8 n
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    5 @! K+ T6 H  @" K5 {0 i, `
  329. ; file or directory. For systems with rarely changing files, consider increasing this4 H9 B" b& ~2 C& R
  330. ; value.
    ; i/ S+ r- W  y, Z1 c3 O# L* `
  331. ; http://php.net/realpath-cache-ttl
      x! E1 q; D# E2 p3 f0 X
  332. ;realpath_cache_ttl = 1208 b7 {2 ^- S" m

  333. 1 a3 m( C3 I& f4 \% [6 Q
  334. ; Enables or disables the circular reference collector.* I# b. F4 i7 s, D- m2 @" K. X
  335. ; http://php.net/zend.enable-gc* y" A' j7 k& }, V0 d
  336. zend.enable_gc = On5 s& `: q! T4 B# J

  337. " y. T8 A* |% O2 x# ]
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    + D4 `$ h! V! W" `4 P
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    5 e. f  c8 g4 _1 S! l1 _
  340. ; encodings.  To use this feature, mbstring extension must be enabled.! Q* C2 n- W) \! t% f
  341. ; Default: Off$ Z! M( q& h' @. ~  L5 U3 i
  342. ;zend.multibyte = Off
    5 M; Y. U. i' I  r

  343. * ^. }6 l8 ]4 p; T# R, U. \# z9 ~
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    3 T+ _& e1 B! ]7 J$ y6 A. b
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.9 ?1 u% [$ i1 ^& t! O7 f* p
  346. ; Only affects if zend.multibyte is set." K$ _: H5 k) ?
  347. ; Default: ""
    3 m) D& j* c/ T, j+ u
  348. ;zend.script_encoding =* ^! s# w4 {% L' _0 i* o2 ]7 r8 Q
  349. 8 v: r' X6 q& k2 b
  350. ;;;;;;;;;;;;;;;;;- f# I! _$ ]- ]8 B, N1 \/ t' `
  351. ; Miscellaneous ;
    2 ^2 `  H2 F% j& J' k1 c# p7 w
  352. ;;;;;;;;;;;;;;;;;; e9 H! R, V4 `" K8 Z1 C8 L$ j

  353. ; t  g$ w2 e. h3 v  _, U5 I
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    % L/ B7 ]( ]9 J  p4 x2 r
  355. ; (e.g. by adding its signature to the Web server header).  It is no security* ^1 \4 r9 Q  I/ R4 M
  356. ; threat in any way, but it makes it possible to determine whether you use PHP# I# D8 ]2 g8 a, l
  357. ; on your server or not.  [) m# w, T8 K( y* \; k9 ~
  358. ; http://php.net/expose-php
      S& h+ t7 Z& X2 Z
  359. expose_php = On9 i; B& J/ I- W( f
  360. 9 z% f* W0 z, y5 @4 A
  361. ;;;;;;;;;;;;;;;;;;;+ \* j0 }! p( s) J0 P$ ?! Y
  362. ; Resource Limits ;. S$ l) X0 b% o+ r
  363. ;;;;;;;;;;;;;;;;;;;& L; }2 V+ i6 J$ }% Y" [) w
  364. 2 Y7 M! Q8 x& u4 ^$ v; f9 ~
  365. ; Maximum execution time of each script, in seconds
    1 i% W9 S  X4 N& T2 l' Z( n
  366. ; http://php.net/max-execution-time$ q8 l8 j! t, }/ W- s) w
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    8 A9 P' k8 l) g: A4 v  o
  368. max_execution_time = 300
    4 Z" i1 b/ _' U; A

  369. - [& d* @$ a+ y/ m# w4 x
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    : _& X; I5 \7 {+ _; y' k, e0 w7 \" S
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly4 G  H6 J! f0 D8 {5 I
  372. ; long running scripts.
    0 ]' _# `! T' P% i
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    5 ]" u$ k* I+ p% f$ V5 a7 {5 Q
  374. ; Default Value: -1 (Unlimited)7 N2 {4 Y( V7 Y
  375. ; Development Value: 60 (60 seconds)
    1 c5 Q5 s0 P4 p; [% t7 R
  376. ; Production Value: 60 (60 seconds)2 c% i2 x: L' ]  l* X
  377. ; http://php.net/max-input-time
    " U* ?1 \$ q4 ]& ~' {5 b  x# W
  378. max_input_time = 605 d" G( V5 ^  u* e7 d  _: b

  379. 9 |7 e: h& o* f  u
  380. ; Maximum input variable nesting level  G- E3 ^- v5 Z- u6 B' E
  381. ; http://php.net/max-input-nesting-level
    + j& a3 b: y9 w; R- _
  382. ;max_input_nesting_level = 64
    9 u2 O7 d" _& B# L5 Q/ |$ w
  383. ; l  N/ b  A* b! D- l# @' i7 {" q4 M: y
  384. ; How many GET/POST/COOKIE input variables may be accepted  `5 q* @3 ~9 }; P8 \* ^4 A
  385. ; max_input_vars = 1000! E, B/ c7 e; u" K8 ~9 V# C
  386. % v3 b+ i2 F/ L" P5 j. U6 v
  387. ; Maximum amount of memory a script may consume (128MB)6 `4 \) w6 Z* D% P* [0 E
  388. ; http://php.net/memory-limit
    , \& R. B4 {1 C9 ~
  389. memory_limit = 128M# Z& x" P" m6 o2 m) `
  390. $ e& F6 z- h2 X1 F- J, e2 z  q% G
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    - j- S# c7 E, V3 u/ P3 `" Y
  392. ; Error handling and logging ;; G4 ^+ j' C  Z( c6 g
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;! x8 t2 E# N9 z6 p: V
  394. ' J/ M  {2 G; f, {% u. j
  395. ; This directive informs PHP of which errors, warnings and notices you would like! o+ P% p4 A+ z1 c7 ]4 g$ K% S4 S4 f
  396. ; it to take action for. The recommended way of setting values for this! h- F( H9 A7 v+ K+ Z3 Y! r
  397. ; directive is through the use of the error level constants and bitwise5 v; U3 C4 c, b; p
  398. ; operators. The error level constants are below here for convenience as well as, R8 d$ C! d: s; |
  399. ; some common settings and their meanings.
    5 X8 @) W$ h2 i  ~3 g
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    7 ~9 P! Q* G% s% Q: z
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and2 H( _& {. i  A* ]. K) s
  402. ; recommended coding standards in PHP. For performance reasons, this is the( X/ h/ D  L* F7 d
  403. ; recommend error reporting setting. Your production server shouldn't be wasting% F$ ?. W2 E6 P! I- q$ I
  404. ; resources complaining about best practices and coding standards. That's what( O: i- j) x" l1 Z! J, P4 p$ i0 A
  405. ; development servers and development settings are for.
    3 v+ W) z( E+ C
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    $ a9 I' S  F) ~- r7 c
  407. ; means it pretty much reports everything which is exactly what you want during
    : j7 j+ l& e8 w2 x: O
  408. ; development and early testing.
    3 W8 ?+ M2 n3 A
  409. ;
    9 d# ~6 g  S% D7 `% \& G- q3 N) o
  410. ; Error Level Constants:
    7 _; U+ f, M, g2 \
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    . G0 M# k* {5 A" w/ f) T
  412. ; E_ERROR           - fatal run-time errors5 l6 `7 c  O1 X
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    0 @& i  P% o+ d! g, ^4 ~1 N  ]( o
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    3 X; F- i7 H* f% R: f1 v# n
  415. ; E_PARSE           - compile-time parse errors
    ! J& j) W* I* R8 B
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    ( T9 E) }% d7 ]! I6 z% ]& G+ G% X
  417. ;                     from a bug in your code, but it's possible that it was
    $ N2 Y' j( F+ }2 J
  418. ;                     intentional (e.g., using an uninitialized variable and" ~" g1 \% V/ S0 X
  419. ;                     relying on the fact it is automatically initialized to an+ g( a& O3 x6 S% C/ H
  420. ;                     empty string)
    % Y7 V  N+ r: p1 M0 s9 o
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes  f  u" }2 Y9 W4 ]) ?' t( F' ]2 [
  422. ;                     to your code which will ensure the best interoperability
    ! v/ |, [. U$ v" F5 b: c5 x
  423. ;                     and forward compatibility of your code
    & c3 h0 `1 m; d
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup  l  X% n& m. f( G9 U
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's9 e" W& [- M+ ^" W" ^$ x, R( p
  426. ;                     initial startup
    ( t' l; Q! B; F$ S- M/ w
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    ! e4 v0 W# C9 y" R& L
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    / v; Q5 ^$ y1 D  c6 ^
  429. ; E_USER_ERROR      - user-generated error message
    ; l* z9 b* [+ E* G) Y
  430. ; E_USER_WARNING    - user-generated warning message
    2 u  x$ `2 d+ ?/ D
  431. ; E_USER_NOTICE     - user-generated notice message
    9 i1 T/ `2 L2 c6 R# u
  432. ; E_DEPRECATED      - warn about code that will not work in future versions& S1 O: h7 {# B$ T) Z: W$ u. a
  433. ;                     of PHP0 x7 I) B5 {/ S3 x3 h$ V) D+ n
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    " p2 S, Y5 e* X' E) S
  435. ;
    : X* E6 I+ f4 P6 |, T
  436. ; Common Values:. s9 w3 R* u/ U7 Y
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    : H. t2 k2 q! \$ \+ p. E8 T; r
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)# d/ N; Y. t" ]$ Q
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)8 S( p1 d3 a7 Y( }8 G
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    - {* h9 e4 m5 L% T- ^
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    1 {5 s7 `% a/ x- I' Y+ L+ V
  442. ; Development Value: E_ALL6 Q: M$ s/ n. M$ `- r: |. g/ I
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT" v5 `) R+ O, P0 z6 i
  444. ; http://php.net/error-reporting
    % B* H# i" u+ X' N3 u
  445. error_reporting = E_ALL & ~E_NOTICE
    ( A; C* b8 L1 |# l* D

  446. 5 J1 u, j2 Z* Z8 s+ A  |( B
  447. ; This directive controls whether or not and where PHP will output errors,4 r+ i# ]( D6 |8 F5 H  @1 y0 |
  448. ; notices and warnings too. Error output is very useful during development, but  [+ d+ V' B8 ~, u" s& n
  449. ; it could be very dangerous in production environments. Depending on the code. r0 J/ j5 d2 T! j' @) n6 {
  450. ; which is triggering the error, sensitive information could potentially leak/ z$ \/ }: N. I& F' w  ]
  451. ; out of your application such as database usernames and passwords or worse.
    6 N- m5 T& r- a* r1 ?( Y) ?
  452. ; For production environments, we recommend logging errors rather than
    5 `/ q$ m; M' l  X
  453. ; sending them to STDOUT.3 i6 ?5 k7 ?; m5 W) ]/ \! u7 F
  454. ; Possible Values:
    1 Z' r- k5 j1 _" S6 d7 o% s/ r
  455. ;   Off = Do not display any errors
    2 g% ^* A! J$ c2 O' b. o' s4 o
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    : R( E$ K) }9 l# m4 o8 o$ d( I
  457. ;   On or stdout = Display errors to STDOUT  P& Q+ N$ l% x: B' c/ V, D) Z5 a
  458. ; Default Value: On
    ; Z! C+ v/ W0 m  d
  459. ; Development Value: On
    7 Y# \! u% Y/ f% J0 [' U
  460. ; Production Value: Off9 N1 S, C: N* s
  461. ; http://php.net/display-errors6 ^$ Y! h$ v. H" Y( ]
  462. display_errors = On' u  b" J. ~$ w/ ~. X
  463. 2 ]+ S5 {; [' b; R+ O
  464. ; The display of errors which occur during PHP's startup sequence are handled
      n7 m- \3 Z  R. J$ u. `
  465. ; separately from display_errors. PHP's default behavior is to suppress those) j/ l6 y; {' y6 x5 j4 z1 Q
  466. ; errors from clients. Turning the display of startup errors on can be useful in3 A8 V4 ?9 B+ S! K
  467. ; debugging configuration problems. We strongly recommend you
    1 m4 _2 Z9 z3 O% H: O9 M
  468. ; set this to 'off' for production servers./ B+ m/ f( j& [9 y* h# M% z
  469. ; Default Value: Off
    + ?0 o/ P5 y3 Z
  470. ; Development Value: On
    3 b" q/ l5 s  |
  471. ; Production Value: Off
    , o) E2 h1 j" u( ^- y
  472. ; http://php.net/display-startup-errors
    , V0 s0 A, z; T! a$ {
  473. display_startup_errors = Off% o: }" s0 A! {# a$ Z

  474. 7 d2 c) i. @7 x3 B# Y
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    6 f% B3 F+ A) q1 n0 I9 F
  476. ; server-specific log, STDERR, or a location specified by the error_log
    1 R0 H8 F' f1 W9 O
  477. ; directive found below. While errors should not be displayed on productions1 {9 p/ ~: t; m$ Z
  478. ; servers they should still be monitored and logging is a great way to do that.
    0 W4 {9 G" @' p% W/ t4 H* f
  479. ; Default Value: Off
    4 Q; E8 I7 u# U9 o! @
  480. ; Development Value: On, V6 T% e4 [! w% K' l- v- f
  481. ; Production Value: On- E6 ?2 B( z; B" o
  482. ; http://php.net/log-errors# z4 `! k+ g2 a9 T3 m
  483. log_errors = On8 ^. ?- U: d" p, n# q0 f! Q) m! x) Q
  484. : v# c3 o/ r! |: z5 i
  485. ; Set maximum length of log_errors. In error_log information about the source is
    $ p( P7 N, d& e  u; [- j
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    / q: i& e$ B! U6 ], @
  487. ; http://php.net/log-errors-max-len
    : \* L1 M/ _" X0 R
  488. log_errors_max_len = 1024
    # H; V7 F) f' C& X5 v

  489. ( x7 W4 r( L7 E# \! K
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    : f0 H5 h& \# L
  491. ; line unless ignore_repeated_source is set true.
    9 r& l1 g9 e, s; |2 _1 |, ?
  492. ; http://php.net/ignore-repeated-errors
    * A3 q" A9 t& ]6 y8 s- D
  493. ignore_repeated_errors = Off
    % I& `. a5 y1 k/ F1 @1 k. E& a
  494. & Y1 X5 Q8 g0 d0 K& J9 B0 M- f
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    6 w, @+ F8 {1 X* k  ~
  496. ; is On you will not log errors with repeated messages from different files or8 u5 W) Y' q6 h3 Q- j5 @
  497. ; source lines.
    . u& H  V4 C! ], M
  498. ; http://php.net/ignore-repeated-source
    8 q6 j+ k' U8 j  s$ l: _3 D
  499. ignore_repeated_source = Off: ~4 ^: h0 {8 e9 o4 q! s

  500. 2 e8 I" R( y- s4 g
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    : [+ g9 T4 O3 a0 v' v( r5 }
  502. ; stdout or in the log). This has only effect in a debug compile, and if+ k. P' u$ i5 E
  503. ; error reporting includes E_WARNING in the allowed list. K: i& x/ {! {2 ^1 B4 q- Q0 @
  504. ; http://php.net/report-memleaks+ R. J' o9 g$ g) l: ?
  505. report_memleaks = On
      |0 W5 G3 p# b) i% y1 `; S
  506. , ^" Z3 X2 v; b4 Z  B$ Q# A/ x* D
  507. ; This setting is on by default.
    4 M8 o' V* w( @1 o
  508. ;report_zend_debug = 03 O# J% n2 [& q

  509.   U9 Q7 Z% F0 U
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    4 x0 N4 w( q' E  W" u0 ?1 S- U
  511. ; to On can assist in debugging and is appropriate for development servers. It should) i- B6 ?  i& H  y9 N) A/ a
  512. ; however be disabled on production servers.
    3 I9 G. E4 c: ?6 _) N  I: v! r
  513. ; Default Value: Off4 N# W8 C5 [# o6 a& [
  514. ; Development Value: On( X$ O5 d* |5 I
  515. ; Production Value: Off( [7 n' M6 z: {6 L  D, a
  516. ; http://php.net/track-errors; e, t4 F9 R4 q/ Q3 H
  517. track_errors = Off( V0 H3 }( ~, B' N9 O0 R
  518. 7 ^6 j: S6 m" C0 P: T
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    2 g# }2 M% U: p. J1 d
  520. ; http://php.net/xmlrpc-errors
    4 C( O- ^/ e+ |+ X7 ?- F( \8 n
  521. ;xmlrpc_errors = 0( i4 j% Z  A/ r
  522. 3 j1 [* N- w5 W
  523. ; An XML-RPC faultCode
    2 G2 B6 d) i8 n4 C
  524. ;xmlrpc_error_number = 0! j& s* H0 [* g1 h
  525. * p1 S  V. }: N. Z9 R# M' n4 r
  526. ; When PHP displays or logs an error, it has the capability of formatting the, g8 V/ q" o2 T# C) G5 h
  527. ; error message as HTML for easier reading. This directive controls whether" O, K" Z4 G4 S' V
  528. ; the error message is formatted as HTML or not.! X( Y  O0 F# K3 i( @
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI) n) U0 u+ q9 W2 U5 K( k
  530. ; Default Value: On$ s1 F1 c+ B% D5 n# Y
  531. ; Development Value: On
    % ~/ }  [( r$ p% r
  532. ; Production value: On
    & c8 a2 C$ i: l9 v( j" @% _( k0 b
  533. ; http://php.net/html-errors. ]& a7 v* b' ^
  534. html_errors = On
    : @$ I$ W: |' a" Q0 _" T2 q7 m
  535.   i( u9 `4 R- Y3 s3 W$ V3 @$ B$ t
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP/ c4 v! U* q; L) o
  537. ; produces clickable error messages that direct to a page describing the error
    ! e% ^8 k1 l# O# I0 _6 t6 N
  538. ; or function causing the error in detail.
    1 p1 c# E, i& W' x
  539. ; You can download a copy of the PHP manual from http://php.net/docs7 q% s* C' r) G6 B* [6 \
  540. ; and change docref_root to the base URL of your local copy including the
    8 f% t1 e9 P: X
  541. ; leading '/'. You must also specify the file extension being used including
    ( i$ \5 N2 S* l" R: w4 \
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which0 v9 a9 x5 K/ f5 l+ f4 G
  543. ; case no links to documentation are generated.& {2 {+ D) X4 o; ^
  544. ; Note: Never use this feature for production boxes.( y( z$ g6 f2 U, Q
  545. ; http://php.net/docref-root+ _  R* ]/ P/ d) y! K# z
  546. ; Examples
    & W2 c; C( I/ P
  547. ;docref_root = "/phpmanual/"
      a; U& C" F) G% |( T6 U
  548. 0 {. x' q4 U4 P0 n) `6 Y
  549. ; http://php.net/docref-ext2 J# ]( @( I9 a: k
  550. ;docref_ext = .html& g) j& ~6 Y6 j- a+ l6 O

  551. 9 F8 A5 Q$ p/ ^$ J$ ~
  552. ; String to output before an error message. PHP's default behavior is to leave9 P3 q+ Z1 q) |* s) N" r1 m
  553. ; this setting blank.
    ' }) C! g- D+ Q: `2 u; @1 U( k
  554. ; http://php.net/error-prepend-string
    , r! x+ ~* g, s  V' t
  555. ; Example:
    8 q  M( B" W1 ^/ F/ Q8 j! `
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    " ~, ]9 u" T9 z6 i  U
  557. % C$ c# Y% L6 M* }! \
  558. ; String to output after an error message. PHP's default behavior is to leave+ |; R: |& H; @6 F: k
  559. ; this setting blank.  e- @) b& M/ ?/ Y9 C
  560. ; http://php.net/error-append-string0 Y3 [5 u8 i# X# E
  561. ; Example:
    # a4 t, D2 s! I3 [: n! Z
  562. ;error_append_string = "</span>"
    ( ]( ~! s7 H3 S; I! T- n: j

  563. + ]1 i5 K% l( Y0 E; l. N
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    : Y5 s7 S$ m+ d( T
  565. ; empty.
    # X. Y6 \5 z8 f/ K8 P7 a
  566. ; http://php.net/error-log
    , k2 m2 Z2 q! W
  567. ; Example:4 i1 g: W* F% p! b2 b2 Q8 a$ ?9 _
  568. ;error_log = php_errors.log
    / J; l1 `/ K/ {5 A+ o
  569. ; Log errors to syslog (Event Log on Windows).( [' T! w! c8 U
  570. ;error_log = syslog
    / ]9 G/ f" y. z2 g

  571. $ j- w9 m& J3 F
  572. ;windows.show_crt_warning) N: `$ s, y' o: i2 X" T5 [3 t# {
  573. ; Default value: 07 L7 W/ {" ^) z/ I) L
  574. ; Development value: 0
    , Z) N. g& a& \" E1 B2 q
  575. ; Production value: 0
    & f( v: L( R' h3 e
  576. 2 m; e8 A% y8 h5 F
  577. ;;;;;;;;;;;;;;;;;
    2 z* {& {- n9 `4 Y+ p8 q
  578. ; Data Handling ;* ?2 a. f1 a5 e
  579. ;;;;;;;;;;;;;;;;;
    : ?' _+ K; v$ K) w6 @1 H# r/ i
  580. 0 E5 g8 l8 k( Q2 @# W6 u5 b
  581. ; The separator used in PHP generated URLs to separate arguments.$ M7 K# _& w9 P
  582. ; PHP's default setting is "&".
    5 O: X9 i* Z. A7 Y  h
  583. ; http://php.net/arg-separator.output! r% P* L! R1 y( k
  584. ; Example:4 S! T- E$ J# _
  585. ;arg_separator.output = "&"$ S. I- w/ b; ~& S
  586. " R8 n) h9 g* R) ]2 h  D0 i
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    5 y5 B+ Y/ L0 p( R" Q! c
  588. ; PHP's default setting is "&".7 O% S  E0 m( B
  589. ; NOTE: Every character in this directive is considered as separator!
    + {1 T) v, }. j( l" }
  590. ; http://php.net/arg-separator.input
    ) }3 q, |( z' C1 K' t, n
  591. ; Example:
    ! `) A- Y' Y. o. E6 L& V6 l
  592. ;arg_separator.input = ";&"
    % e( ?5 M$ C/ [" h- N* \

  593. : B8 K: \$ i" W' L# b
  594. ; This directive determines which super global arrays are registered when PHP' h5 z7 g* u" f, u0 j
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super" [9 R: w5 `* u. \( U. w
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty3 s. k5 x2 Y& v0 Y
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    4 T6 w& w  e$ x  o3 B0 b
  598. ; used as the others, ENV is not recommended on productions servers. You
    6 C. r) J0 v3 F4 t7 \9 t
  599. ; can still get access to the environment variables through getenv() should you; G1 u' Z( l% `* H( \
  600. ; need to.
    - u; \$ }* r0 C+ q7 R+ ^9 ~2 e6 q
  601. ; Default Value: "EGPCS"
    ) y: h4 d/ o: y! {
  602. ; Development Value: "GPCS". s3 d. f) W! d0 Q
  603. ; Production Value: "GPCS";
    / r$ s8 h# A5 @6 p' Y, g0 Y
  604. ; http://php.net/variables-order$ U6 D: K3 Z, j7 T8 c: i2 p& o/ `
  605. variables_order = "GPCS"' U2 }- Y% G8 g' C# d5 B

  606. + u. o7 x% O$ m' g/ z+ t# l" r
  607. ; This directive determines which super global data (G,P & C) should be$ ~/ [9 j' R+ O& E! O9 ~+ d) h0 ^
  608. ; registered into the super global array REQUEST. If so, it also determines: h2 V/ g$ y) a' f! B
  609. ; the order in which that data is registered. The values for this directive' |8 [% ?& w: }% h
  610. ; are specified in the same manner as the variables_order directive,
    4 }. ?% E! A% r8 Z! ^6 y
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    0 a0 `7 m* ^8 ^, C8 L1 i6 `' w7 I
  612. ; in the variables_order directive. It does not mean it will leave the super
    . j* l/ U2 s0 l
  613. ; globals array REQUEST empty.* U6 o1 U5 ^+ K
  614. ; Default Value: None& |8 _9 X/ M$ L5 |3 A; L. y
  615. ; Development Value: "GP"9 c. V; s9 X2 Y+ U5 W0 j
  616. ; Production Value: "GP"
    . O3 M9 W7 \+ O! |) f
  617. ; http://php.net/request-order' ~# L+ }; O) i" Z5 w/ Y
  618. request_order = "GP"
    ) w2 Y$ z" M) ^: z
  619. / @2 Q. q1 ~2 }9 {- w# c. {
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    0 G2 v; S9 C: z5 l% P) g3 `
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script$ D, P) l3 H* O7 @, }; c& q
  622. ; is invoked. $argc contains an integer representing the number of arguments, O9 n) s* o  i7 I' H4 G$ }8 O
  623. ; that were passed when the script was invoked. These arrays are extremely
    ) B/ c3 _: S" D$ L: p
  624. ; useful when running scripts from the command line. When this directive is
    . n% J- M: L- i
  625. ; enabled, registering these variables consumes CPU cycles and memory each time9 G9 R7 |  q% O! e
  626. ; a script is executed. For performance reasons, this feature should be disabled
    ; ?- y, A6 F! O1 v# \  F/ |; P
  627. ; on production servers.5 f" B2 g8 W' E8 W9 o1 c
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    - k( b$ H+ g6 @
  629. ; Default Value: On$ {# G& u/ w& {* [6 R
  630. ; Development Value: Off# G" d5 u/ d) Y: z; X
  631. ; Production Value: Off5 |/ c- f8 R# o$ `. m7 N. P
  632. ; http://php.net/register-argc-argv
    " U. G+ D# R0 N, ^/ z/ @
  633. register_argc_argv = Off) a* E" a/ b% t" f1 Z, z; g
  634. 5 j) V% |0 Y9 ^+ }
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
      O! ?! _' H: o8 Z8 c! L
  636. ; first used (Just In Time) instead of when the script starts. If these: z# Z7 W& o" c3 R) g% j
  637. ; variables are not used within a script, having this directive on will result3 I# h+ j4 T/ ]1 _
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled  S) J, Y& B; k8 ?% a6 h
  639. ; for this directive to have any affect.) Y: {% A' c/ e; P$ }( f
  640. ; http://php.net/auto-globals-jit( r- U( N, H8 U4 E1 d
  641. auto_globals_jit = On- M& H# Y% M2 p% L, e7 m9 d
  642. ; v5 V9 Y9 s7 M! `; P. d
  643. ; Whether PHP will read the POST data.1 F5 `9 W4 R: v% [0 s
  644. ; This option is enabled by default.; l& ?2 q, S5 {9 _& u4 b
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    9 _0 z1 j' Q# |( E  M
  646. ; and $_FILES to always be empty; the only way you will be able to read the& S( s, T2 }- L4 T8 `) C7 X
  647. ; POST data will be through the php://input stream wrapper. This can be useful% P% s1 O8 d! x7 o7 }. g
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ' E6 [) ]. U  V% a/ y
  649. ; http://php.net/enable-post-data-reading
    3 s( c0 o8 |& k# o1 x: q0 i, N
  650. ;enable_post_data_reading = Off& o/ N- A- t4 Y0 h8 G* E  ]$ D

  651. 6 e* N4 j0 Q! P* s$ c
  652. ; Maximum size of POST data that PHP will accept.( R/ W& b5 h8 g/ d# L+ r9 K3 H8 b
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    9 Z( F) B5 j2 z9 [) c) ^5 W! B& k3 U
  654. ; is disabled through enable_post_data_reading.
    7 G4 ~( R5 X1 V( J. d
  655. ; http://php.net/post-max-size. k1 [6 H" L  S! z  E2 ^* j
  656. post_max_size = 50M
    ; |5 J  }0 c% S& F
  657. 8 @0 g; q" F: i. @& m
  658. ; Automatically add files before PHP document.. |1 n1 k" U! f& _6 u( h* r: i0 B
  659. ; http://php.net/auto-prepend-file
    5 b5 O+ j5 d8 [
  660. auto_prepend_file =: j* v0 m3 E2 y( e. ]  w

  661. " B" w2 C# E# {, q
  662. ; Automatically add files after PHP document.
    ; w  J/ {+ j) g, r
  663. ; http://php.net/auto-append-file, X! k4 d7 R% b
  664. auto_append_file =' [$ t, N1 x! J, J4 o# N

  665. & ~" H$ g3 o5 v  B% A3 D
  666. ; By default, PHP will output a media type using the Content-Type header. To
    . m8 J) U; N" Z" f+ w* Q$ u# C
  667. ; disable this, simply set it to be empty.# `, r0 j  l6 s- R7 n0 S* a/ {; J
  668. ;
    5 P- s9 p% |! Q, h1 v/ f
  669. ; PHP's built-in default media type is set to text/html.
    + O# L3 L( g$ l7 G
  670. ; http://php.net/default-mimetype
    1 W$ g! Y' J3 d% n# G: Z1 h4 s
  671. default_mimetype = "text/html"
    $ y# h. j* `& C& u4 y  s

  672. , [% @4 R! K6 l* V8 \) L. F$ s
  673. ; PHP's default character set is set to UTF-8.
    ! B  l" `9 s- s# B
  674. ; http://php.net/default-charset
    0 s# {0 ^1 u/ }  O1 [1 W
  675. default_charset = "UTF-8"' [$ W6 E0 w) k& Z

  676. . w" t; w+ r+ ^3 n
  677. ; PHP internal character encoding is set to empty.
    ! _2 H3 B4 _3 {5 C
  678. ; If empty, default_charset is used.
    : H% `4 w. i+ T! m3 w( }
  679. ; http://php.net/internal-encoding/ `: d  Y0 i8 u( e7 `0 ]; h
  680. ;internal_encoding =
    6 V4 X" T5 ]' \& b/ X
  681. 7 k* P' s* o1 Q2 ^6 w; \5 _
  682. ; PHP input character encoding is set to empty.
    & H) T" `$ D# v: J
  683. ; If empty, default_charset is used.  Z5 L% G+ u* e/ n1 n
  684. ; http://php.net/input-encoding
    + D1 ]$ _# L# O- j! C( p0 q. Z
  685. ;input_encoding =0 ~1 }; j! L' A# I$ V& A
  686. 8 F, K, z4 D' J1 A
  687. ; PHP output character encoding is set to empty.( t% o) C1 L6 O% m3 N
  688. ; If empty, default_charset is used.
    , _1 j+ h$ ^" g3 ?9 T7 O% _
  689. ; See also output_buffer.
    0 n/ M9 p2 s3 @5 z- i* t
  690. ; http://php.net/output-encoding
    2 y$ Z) Z# n6 D4 @5 ?+ A( v
  691. ;output_encoding =6 L+ d% G  _7 J; R
  692. 9 Z0 y6 G; P4 J$ A" [
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    5 P% z6 M7 W( j4 {5 o
  694. ; Paths and Directories ;8 G6 y1 B8 M; p
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    . l7 y. N* v7 W, F9 c
  696. : Q5 F- B/ v4 h7 N- }2 _2 _) r
  697. ; UNIX: "/path1:/path2"  h7 b0 C% N/ F8 @2 L2 u+ ?
  698. ;include_path = ".:/php/includes"
    ( _  ]. B& M& n1 D' K$ }' C- I
  699. ;4 v% m4 f  e5 x
  700. ; Windows: "\path1;\path2"
    $ L! A0 y# ~% r% K% F
  701. ;include_path = ".;c:\php\includes"2 T# O- F' S" V3 w0 C+ A
  702. ;
      L9 E5 v" I$ g3 k3 c3 z
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"/ R$ b2 W$ \$ p
  704. ; http://php.net/include-path9 H9 `# i1 Z! ~% i7 D

  705. 0 i* V" H  V  G2 s3 q
  706. ; The root of the PHP pages, used only if nonempty., F8 n& B* J- F
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root' y( a8 ~, X  X: q+ B
  708. ; if you are running php as a CGI under any web server (other than IIS)
    9 e/ @1 U. ^5 W6 P
  709. ; see documentation for security issues.  The alternate is to use the
    1 A- R" V" [$ \$ v, E% K+ {
  710. ; cgi.force_redirect configuration below
    , E& H. S0 x- R
  711. ; http://php.net/doc-root1 _5 j* w  m; T0 A, ~  N
  712. doc_root =
    - K! k) A- H! Y4 s1 ]9 E
  713.   n, G2 u) S- A, E& s
  714. ; The directory under which PHP opens the script using /~username used only9 w6 N. q$ D) j9 b
  715. ; if nonempty.4 ?) L+ X/ P( E1 |+ }9 m
  716. ; http://php.net/user-dir) B4 i4 T/ @4 ^" k+ h
  717. user_dir =
    % z! A( B! W+ D

  718. ) O$ a, `! N$ D1 N9 y( ]0 P
  719. ; Directory in which the loadable extensions (modules) reside.
    " C$ `& c$ _% _
  720. ; http://php.net/extension-dir  W. s+ T" F) J  }0 t$ d9 a' v
  721. ; extension_dir = "./") w& ^* h2 n; w: V, A
  722. ; On windows:( j% y7 l/ r. M8 h5 c
  723. ; extension_dir = "ext"- D3 D% B% Z% u5 C1 N

  724. % ~6 P( R7 l, F2 Q& e
  725. ; Directory where the temporary files should be placed.3 {/ k4 A8 o* X; C
  726. ; Defaults to the system default (see sys_get_temp_dir)
    9 |& R) I/ w1 s) ]0 X
  727. ; sys_temp_dir = "/tmp"# a( X; }( l8 k% d$ n$ R4 k
  728. 4 s7 v/ w. d7 q
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work4 g* {6 |' G  L& p( t
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    , G) W; L- Z) v( j9 v" w' x: g
  731. ; disabled on them./ H  b$ Z/ [9 i8 Y: U
  732. ; http://php.net/enable-dl
      t, K6 T: j5 H& g
  733. enable_dl = Off0 y3 s' e5 Z, d/ x. x. Y
  734. & a2 ?: d1 w. H2 k3 U3 q+ [
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    8 R) [" U8 T+ i  g+ k  A$ ?2 ~
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    " h$ y* k% A0 v
  737. ; turn it off here AT YOUR OWN RISK: K$ \! g0 y& s% C9 q
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    3 |# S4 E& r1 U; N
  739. ; http://php.net/cgi.force-redirect$ ~  U, ^$ b6 Q5 \
  740. ;cgi.force_redirect = 1
    + W0 Y# g( i  E$ R

  741. + J6 J9 m7 z5 I) g
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with- o* c! _8 m  i/ l. K+ q" }( {
  743. ; every request. PHP's default behavior is to disable this feature.
    5 X6 K" l- S; G  A
  744. ;cgi.nph = 1
    & [1 }0 P' I7 T% j; y9 E, w
  745. # @, H  l; x% P' L" A8 z3 N8 N
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    2 O3 w& G* O+ v5 D( P/ l
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP2 w" D  K# P5 A: ?% T$ e
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY: |. n6 u( L. C9 @6 u: p6 f2 R
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.* q  R) R/ J8 n
  750. ; http://php.net/cgi.redirect-status-env; A! J% F/ g0 t* ?* ^9 d
  751. ;cgi.redirect_status_env =
    . l6 F# k% o. A6 u$ _9 x  z  f
  752. ! s6 l( l, c. A& m% m
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's5 Q; b; f7 l! Q% O
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    6 F: q4 b* a$ c' @
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    * ?2 ?. d, P4 w$ t9 N1 c) _+ x
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    4 w- _% o/ h* p% Z9 C+ t3 }! ^
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ; x% ~# l3 v3 c3 L% W% L
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.3 e# _/ B* L1 [7 f
  759. ; http://php.net/cgi.fix-pathinfo
    4 r2 f) q& t7 T" }
  760. cgi.fix_pathinfo=16 m8 @! P! {3 e' ^( t0 I% [, s
  761. 4 F) w" T, y0 a* C; I
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    6 i8 K# |9 h5 O/ _' d
  763. ; of the web tree and people will not be able to circumvent .htaccess security.2 d7 D* J3 \: o2 X" O
  764. ; http://php.net/cgi.dicard-path
    8 E. v! `0 V% x7 O* Q. {/ g/ F; S
  765. ;cgi.discard_path=1
    # N9 s: R8 x/ y  {7 O
  766. 8 H0 \5 H! b) q/ z
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate: l+ B+ `4 \$ b
  768. ; security tokens of the calling client.  This allows IIS to define the
    , Y+ R4 m6 }9 i5 v, Q
  769. ; security context that the request runs under.  mod_fastcgi under Apache  V; ~! x- T8 O
  770. ; does not currently support this feature (03/17/2002)
    ( i9 w; n. J1 c9 h6 Y
  771. ; Set to 1 if running under IIS.  Default is zero.6 R2 p, Y3 Q% k, a8 R. w, _% O
  772. ; http://php.net/fastcgi.impersonate
    + Q: ?- u- R+ D
  773. ;fastcgi.impersonate = 1
    # \3 G9 n  m8 d6 v7 L: L& w2 V

  774. & {: [* E9 B4 @$ h1 l4 b# A
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable2 e& j8 \1 ~6 r/ l; e
  776. ; this feature.
    : L0 b" E$ H& `8 B. f( b3 U3 Y
  777. ;fastcgi.logging = 0
    8 c5 w6 p$ `! _4 i8 ^5 Y- q! d4 o; Q

  778. & P( x( \) q' U' V% w5 Y
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    4 o- z6 [' ]* h
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
      \5 W: ]" g" K. Y* D$ A' D
  781. ; is supported by Apache. When this option is set to 1, PHP will send/ ]( w- ~0 T% U" f9 G! l" u
  782. ; RFC2616 compliant header.
    " m5 ~8 y. V9 U2 ~* S
  783. ; Default is zero.4 D1 y5 Z. ]- A& T: y0 A
  784. ; http://php.net/cgi.rfc2616-headers) h7 L5 q4 w$ O6 W* @
  785. ;cgi.rfc2616_headers = 0
    , F+ X0 w+ ~, p; U
  786. # J: H9 c, @" r
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    - X2 u' w4 [1 i, t) b
  788. ; (shebang) at the top of the running script. This line might be needed if the; R9 d; j# j+ D  T8 U3 X1 ^
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI0 R/ l7 j# t1 |9 a& q
  790. ; mode skips this line and ignores its content if this directive is turned on.
    / H6 q" s( P5 L/ @
  791. ; http://php.net/cgi.check-shebang-line2 p/ N( y' I( O
  792. ;cgi.check_shebang_line=1
    1 e* V! F- ?! T# W! |' y: ^
  793. # g/ y# w/ t0 t/ ]. S8 d
  794. ;;;;;;;;;;;;;;;;
    " T* c5 B; d- Y- l
  795. ; File Uploads ;
    9 m  _( F: o! t1 k& {, t! D7 M# ?* u
  796. ;;;;;;;;;;;;;;;;/ s: E9 O$ ?2 e4 Z5 }$ r
  797. 7 t6 O3 O# X) \# W, ~& B
  798. ; Whether to allow HTTP file uploads.
    # k' [, t" t! w
  799. ; http://php.net/file-uploads) @% j9 }' G! s3 \1 t4 n: P
  800. file_uploads = On0 y) G( H% V& M& Y
  801. ) ^/ o4 S, m1 z, o  x6 w3 ^
  802. ; Temporary directory for HTTP uploaded files (will use system default if not" ]7 U6 H) ]2 r( }% K
  803. ; specified).- @, o2 B* G$ f7 w. j
  804. ; http://php.net/upload-tmp-dir
    8 Z  Q9 V9 h* ^- S& X; P
  805. ;upload_tmp_dir =4 R+ b# O  L  }- c$ Z# G- s" k1 {
  806. 9 T( v# l1 |8 \
  807. ; Maximum allowed size for uploaded files.
    1 A5 l9 D5 L# R9 l- J
  808. ; http://php.net/upload-max-filesize
    " q0 w8 M+ N9 V5 `0 a
  809. upload_max_filesize = 50M( u1 m1 f/ l4 V0 L1 A
  810. 3 Z: ~7 H% d( q
  811. ; Maximum number of files that can be uploaded via a single request0 V$ z2 P1 F/ m( P
  812. max_file_uploads = 20
    ( S7 |( y7 m& M+ c

  813. - S" a/ X; R7 k6 Q5 y8 d1 i5 f
  814. ;;;;;;;;;;;;;;;;;;0 d' u, Z2 l; L  I
  815. ; Fopen wrappers ;) C" f3 Z, \% `
  816. ;;;;;;;;;;;;;;;;;;% ~9 C1 r2 f6 w& Y& u1 D, r' Q
  817. + y! o0 G  X& G9 H7 t
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.' l+ H7 s* s- ?
  819. ; http://php.net/allow-url-fopen
    + F) Q0 m% Z2 d5 H
  820. allow_url_fopen = On) O6 A" `" P0 k5 {& D* s! b

  821. 7 o: x) \: ]$ J% N  \5 X
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.3 g" Y/ m9 u$ p8 u0 k$ [
  823. ; http://php.net/allow-url-include6 B/ M1 M! y/ j4 q
  824. allow_url_include = Off2 @1 \4 r5 Z- y& M) c0 q: p) J

  825. 9 C1 c3 o# S' P/ y
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    # g0 X! j9 W! ]: L- W
  827. ; for this is empty., Y6 ?6 T( e9 R" k) C
  828. ; http://php.net/from$ v; u8 A0 v% H: R
  829. ;from="john@doe.com", W9 g: w& _1 m; H& G
  830. 8 f, {( X1 ^8 E
  831. ; Define the User-Agent string. PHP's default setting for this is empty.# s' L* q8 e; v- i
  832. ; http://php.net/user-agent0 |, V  p7 E3 D$ e) I! _3 Z
  833. ;user_agent="PHP"5 E5 F5 H" ]9 \8 F* G4 N

  834. 7 I) h. q. G- w8 r1 c: o
  835. ; Default timeout for socket based streams (seconds)
    ; w: b8 P6 d( h% A$ F0 Q, r, ]6 Z
  836. ; http://php.net/default-socket-timeout, ?* T6 v' e5 k1 X8 v6 q
  837. default_socket_timeout = 60( b# x: J+ Q) d* x+ F& ~. Z

  838. ! D0 n6 W7 x* j8 @9 F2 G. U& a$ V
  839. ; If your scripts have to deal with files from Macintosh systems,
    " V4 P" \3 l5 }% R' f
  840. ; or you are running on a Mac and need to deal with files from
    ( y3 X. w! c3 M1 v0 H
  841. ; unix or win32 systems, setting this flag will cause PHP to- y3 m8 O* C. `: s! ?7 ?5 D+ `
  842. ; automatically detect the EOL character in those files so that
    1 e/ \9 m. \% n3 Z' x1 W
  843. ; fgets() and file() will work regardless of the source of the file.
    ! z9 O2 k) d! i, D1 W, [6 ?( V
  844. ; http://php.net/auto-detect-line-endings8 a) |' |( o) J- t
  845. ;auto_detect_line_endings = Off& l; y; R! X" P

  846. : m" n  ]/ Y( ]3 e' o+ Z( U
  847. ;;;;;;;;;;;;;;;;;;;;;;6 q$ l0 ?+ V' _) r" v3 I/ {
  848. ; Dynamic Extensions ;
    * g3 H* Z/ E/ F+ a# B, f3 [( P
  849. ;;;;;;;;;;;;;;;;;;;;;;
    # o1 ?4 O% t0 V$ X5 T
  850. # h7 S/ k# x5 e$ H1 U. i
  851. ; If you wish to have an extension loaded automatically, use the following* y, t. `9 r0 E2 f# }% E
  852. ; syntax:  _( F# d9 m  q: m& s( Q, ?6 `0 S
  853. ;) P6 \+ q" @9 O' n* B( ^
  854. ;   extension=modulename.extension
    ; m) i2 V0 b! t% T5 @$ u/ i
  855. ;
    : _9 T4 J# {% v: |% S# s
  856. ; For example, on Windows:( k+ C  c% O9 P
  857. ;* L$ h* p# W" j7 u6 J
  858. ;   extension=msql.dll" h+ o4 w- W5 r/ U: z3 t( ~3 v
  859. ;) l. \1 y1 ?7 ^: }' e: N% w3 F: }
  860. ; ... or under UNIX:& i. N4 z5 y1 }& R
  861. ;% N9 q4 N3 b( d: P0 i; {. S
  862. ;   extension=msql.so  y2 U8 A" Y3 x/ }0 F
  863. ;
    . y2 m' S0 W6 o
  864. ; ... or with a path:: k& W$ X+ A- l
  865. ;; b) E$ w# M) I  ~
  866. ;   extension=/path/to/extension/msql.so# z2 y" I! j  F6 T- Z, E
  867. ;
    ; f2 \3 ]: `' w, H1 v7 D
  868. ; If you only provide the name of the extension, PHP will look for it in its4 ^; G! g; r7 d1 ?) a2 ]" V# Y
  869. ; default extension directory.6 `6 j' X% m4 Q; D/ `- `
  870. ;
    8 D$ X* x( z. `6 M1 P) ~
  871. ; Windows Extensions0 z0 m$ [1 `6 W' E5 Z( l7 g
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    - Q, j$ r0 J, Z3 t; Y  \
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)5 x# C+ K  E1 E" Q- `. b& ~, ?, V
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    # u. b. R: w7 x; D5 z, A
  875. ; Be sure to appropriately set the extension_dir directive.0 v( k  v( J) w6 k9 c! h9 X
  876. ;1 g& D4 p! }$ v$ k. B0 y& V. X1 G/ _
  877. ;extension=php_bz2.dll8 W- r6 S+ a5 x1 Y% J
  878. ;extension=php_curl.dll. p* p4 [' E: G9 B3 H$ [
  879. ;extension=php_fileinfo.dll. S) `' E8 [! n1 Q# I* P
  880. ;extension=php_ftp.dll% c3 Z2 {2 \, F
  881. ;extension=php_gd2.dll
    7 r' U9 G. O% [3 {
  882. ;extension=php_gettext.dll
    ' n5 G3 r, k/ x3 F! ?
  883. ;extension=php_gmp.dll
    4 N* y& X( @* g0 f3 ~7 n& @; F
  884. ;extension=php_intl.dll6 W4 J& w5 n  R" f
  885. ;extension=php_imap.dll
    % L4 f- X3 a4 F
  886. ;extension=php_interbase.dll, m. @7 p: ~  ~( }) P7 O9 J8 K" @% f
  887. ;extension=php_ldap.dll) L/ B% c' M' G$ Y9 v
  888. ;extension=php_mbstring.dll9 Q' @' @5 s/ M
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it/ j; V* u& B# w3 Z6 [
  890. ;extension=php_mysqli.dll: d% H" O6 c9 K- ~! t0 w
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client: f  \% y" s( _& @0 |# ~$ h' p
  892. ;extension=php_openssl.dll
    + @4 P# d" S0 S" a2 U' a1 M5 x+ g
  893. ;extension=php_pdo_firebird.dll
    $ j( O; G% `: p% y' u6 `, ?* Y- H9 ]
  894. ;extension=php_pdo_mysql.dll1 [# K+ H; Y' U# E! ^* F. W
  895. ;extension=php_pdo_oci.dll
    & a' W/ C5 F0 U  n! m% Y8 I1 x( d
  896. ;extension=php_pdo_odbc.dll* [! h% t; g& m/ {
  897. ;extension=php_pdo_pgsql.dll
    & L) c5 S3 ^$ @3 s
  898. ;extension=php_pdo_sqlite.dll& X$ g& n' s- T6 n" h, J$ }6 N
  899. ;extension=php_pgsql.dll$ h7 T, `4 B6 I" l9 D# P7 `# F: ^
  900. ;extension=php_shmop.dll( n$ y- U& _7 o/ Y) |
  901. 1 `7 n: M+ l! c. S3 f# v6 ^( g
  902. ; The MIBS data available in the PHP distribution must be installed.6 G  ?2 m6 W4 Y! t: s
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    ; `' J: @) k- @/ R) H. g
  904. ;extension=php_snmp.dll
    9 G* j# R  F3 ^& A9 K4 c

  905. * ~& Y- h, x7 x
  906. ;extension=php_soap.dll
      {. h/ s6 ?5 ~3 b4 J$ R* @* T6 |  G
  907. ;extension=php_sockets.dll
    " }& _  _  a) ^' b: F
  908. ;extension=php_sqlite3.dll: F  Y# N9 J+ q; S9 l/ M; j
  909. ;extension=php_tidy.dll# _: y% q1 d4 n3 O" A5 x
  910. ;extension=php_xmlrpc.dll! L5 ~2 o, r  K* h
  911. ;extension=php_xsl.dll* l6 r3 {1 E- X* S( x, k
  912. % ^& P; G; b+ a' K1 Q& G/ X  k% I& b
  913. ;;;;;;;;;;;;;;;;;;;
    : L/ G) m+ b: z
  914. ; Module Settings ;
    ) a5 I- F# _# i& A) B% J, w9 H
  915. ;;;;;;;;;;;;;;;;;;;
    5 P6 M5 l5 D: b5 y- `& Y" S- {
  916. " z9 F4 @0 p; L2 [$ Q( U0 f1 F7 |
  917. [CLI Server]6 R. n, ?) z1 ]# ]2 ?
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    : ~1 t/ F: Q$ h: k  t
  919. cli_server.color = On. o4 L2 ?) }( A2 v

  920. / r9 u& g2 e( i4 Q* T- K* W" W
  921. [Date]) x! M& [$ g! T1 D, y# M
  922. ; Defines the default timezone used by the date functions
    % e( Z( s, K/ q" \# S
  923. ; http://php.net/date.timezone
    + @1 b) A' O0 \6 I7 N
  924. date.timezone = PRC9 V/ X. Q  n# Y# h) j% }: @/ I# N

  925. % g3 E. u" d; l) H6 \* H
  926. ; http://php.net/date.default-latitude7 y* Z( j7 Q' y( [7 W( C
  927. ;date.default_latitude = 31.7667
    7 m! ?* ?8 z7 J3 K" U" r$ A" Y2 C

  928. , q# I  ?& _; X1 `0 w: ^  H/ K
  929. ; http://php.net/date.default-longitude0 d0 G" ?; @* f5 E2 m! H
  930. ;date.default_longitude = 35.2333: c1 E' |5 S: G+ P* g8 _

  931. + M- X# f5 |" a5 H
  932. ; http://php.net/date.sunrise-zenith- d: P  F, w5 @5 @
  933. ;date.sunrise_zenith = 90.583333* ^  T% o2 e: M

  934. * X' l9 s6 K2 ^) R$ w/ e2 _
  935. ; http://php.net/date.sunset-zenith
    - g, |. ^. E8 b+ G* g3 ~4 l8 f! r
  936. ;date.sunset_zenith = 90.583333
    6 }0 b2 g2 X4 x
  937. 6 F) \5 R- ~( C8 e% n
  938. [filter]
    " w4 f6 h% o- C* c5 {& V& r
  939. ; http://php.net/filter.default
    , \, l6 B; a7 S9 A( h9 S
  940. ;filter.default = unsafe_raw
    ; U, y" h! j8 p2 F

  941. 3 ^% ^: x9 |6 a  d$ z
  942. ; http://php.net/filter.default-flags
    / Y/ s# E: U( [! `) Z% N
  943. ;filter.default_flags =5 |+ Z# V! o6 L) o; n5 G7 d# u

  944. / R3 j! S' J2 k, }+ F0 D
  945. [iconv]
    * K5 N" T: D6 Y2 b
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ! G  L2 Q4 X( [
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.+ z7 G1 q$ o: A) @+ g
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ; T) v7 ]& C+ l
  949. ;iconv.input_encoding =
    + n, z+ D# h& p+ B/ ?
  950. , X% l5 y) D1 p; O# T4 g
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    7 J; C: ~8 ]' q
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.! `  J, O; X& ]4 z4 J8 p
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    + V1 v; @0 m' h% K
  954. ;iconv.internal_encoding =
    / ]! J9 H- f4 N/ k

  955. 5 r) i' U8 h8 E+ E  O6 I( q* u( ~
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.# ?. W/ G! H/ \6 `% l7 S( }7 e
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.# s1 j/ v# {! Z! N* ?, Z, ^2 @
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ) J: \1 N9 d( T* t/ ^3 W
  959. ; To use an output encoding conversion, iconv's output handler must be set* ?% d$ T" ~4 G( M0 q# M
  960. ; otherwise output encoding conversion cannot be performed.
    . ?& e* I3 R1 _5 t9 s4 _
  961. ;iconv.output_encoding =
    " k0 t, l3 Z  z0 k# O- S

  962. ( c2 L0 j1 e: t. v# y# Q; J" g: Q
  963. [intl]# O5 ^$ a# l7 H8 \' P7 P
  964. ;intl.default_locale =/ U% {7 y* D1 B, M. j
  965. ; This directive allows you to produce PHP errors when some error. L% L( e5 U! H5 G2 d
  966. ; happens within intl functions. The value is the level of the error produced.
    . K- o  Y6 g4 \+ l5 T6 T
  967. ; Default is 0, which does not produce any errors.7 Z: l- s& T$ g7 w
  968. ;intl.error_level = E_WARNING" L5 r) c) W8 [3 J7 V, Z
  969. ;intl.use_exceptions = 0
    " \% N% s+ m) p4 B0 K; ^5 U0 D  v) m
  970. 3 }& l' {$ l5 e7 O  n  g5 o
  971. [sqlite3]
    6 i1 L7 F) @$ L) Y5 }4 `  |2 `: W
  972. ;sqlite3.extension_dir =; X1 Q  V% D) w6 U! F

  973. : H9 L7 s. H8 Q' i8 Y0 c* w5 u: ~4 z# f
  974. [Pcre]. ?) q, D% n: G+ q0 Z/ D% D
  975. ;PCRE library backtracking limit.
    2 J. m7 h8 B5 [7 `) S
  976. ; http://php.net/pcre.backtrack-limit
    * A0 P7 P) W, N/ ?9 z
  977. ;pcre.backtrack_limit=1000004 o2 C7 |2 S+ r
  978. % ^5 x; c0 e2 P; ]- q
  979. ;PCRE library recursion limit.
    + \* f: ?; f. o7 T2 s0 v; h7 [
  980. ;Please note that if you set this value to a high number you may consume all( ~6 Q# z4 m/ m0 w" M6 m
  981. ;the available process stack and eventually crash PHP (due to reaching the
    * L2 D; m6 E7 X: r# X
  982. ;stack size limit imposed by the Operating System)." {% V$ t  P' p/ b) C
  983. ; http://php.net/pcre.recursion-limit2 @* t) [8 Q% c( }( ]+ w" @
  984. ;pcre.recursion_limit=100000& n+ [3 n/ V1 L3 A

  985. + y* C: T5 ?! o/ W  Z
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE1 Q. K( ]- T& W2 U" o) f5 ]. S
  987. ;library to be compiled with JIT support.6 i8 ]$ m/ U! |
  988. ;pcre.jit=18 Y+ g( V9 @% W! }2 _. n, u0 \* c

  989. ' G: |6 H+ \7 F3 V$ k2 v
  990. [Pdo]
    9 l/ C& C/ X. \
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    . W% M- z3 m1 O' p
  992. ; http://php.net/pdo-odbc.connection-pooling# Q- s0 r2 S! y* ]& l6 X  V
  993. ;pdo_odbc.connection_pooling=strict
    : e. g8 b$ b- R8 y, r7 Q0 {

  994. $ r7 ?' J( \& J+ o3 e" j- ?1 g
  995. ;pdo_odbc.db2_instance_name& s9 k/ i/ {& I, Y* ]8 u

  996. 0 P, D( j0 y5 ^' K3 M& L
  997. [Pdo_mysql]
    0 J+ j+ J8 O, T- l
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache, \4 v4 |: r  t( O
  999. ; http://php.net/pdo_mysql.cache_size/ a) P7 M+ x( X
  1000. pdo_mysql.cache_size = 2000% P7 `5 g+ j( P! C& |; R" f
  1001. 0 i$ ]" k6 [0 }- i# L0 o# P8 ^
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in+ e, A0 D% ^( \- T) J
  1003. ; MySQL defaults.% I$ B: ]  [( m; x7 A) y
  1004. ; http://php.net/pdo_mysql.default-socket+ n& t7 E) U. g- x) i
  1005. pdo_mysql.default_socket=9 \3 }* O$ s( i( ?

  1006. - I% X0 `6 u+ J+ o$ a
  1007. [Phar]
    7 ]5 j+ J1 x4 s! I$ J9 c
  1008. ; http://php.net/phar.readonly
    1 V* _  L' C* B9 x- g
  1009. ;phar.readonly = On4 k5 _% t; ?( Q- f) o) o5 s

  1010. * k( ^2 G- A8 n, Z9 {" Z% O
  1011. ; http://php.net/phar.require-hash3 A" e8 g* B1 [& _# f, x
  1012. ;phar.require_hash = On& \6 h. j- ~8 A5 t, w" C8 I6 ]
  1013. 4 B% I4 F, r2 _. {  G
  1014. ;phar.cache_list =5 c2 h$ S8 V8 Q3 M
  1015. % {  U+ C5 W9 h# @4 J
  1016. [mail function]* o* r* k5 `, l: C9 Y" H. m1 \! C
  1017. ; For Win32 only.
    / G$ n' s9 I# T% P4 H% j7 K
  1018. ; http://php.net/smtp, z) X. e) `9 Y& p7 S
  1019. SMTP = localhost
    ; z+ i( z; \! D8 K8 R
  1020. ; http://php.net/smtp-port
    9 r3 W, Z5 q# ~7 O
  1021. smtp_port = 25
    # P+ q0 J1 H6 b" @: j8 A: I' V
  1022. . V# K( ?2 P/ e! J  C
  1023. ; For Win32 only.  K, [0 V# s4 n/ s% H
  1024. ; http://php.net/sendmail-from
    ! t+ l+ L" j' M6 Y' d# ]+ r- ^0 W
  1025. ;sendmail_from = me@example.com
    0 q- @/ m* s7 [/ U' l* e
  1026. 3 N! ]4 G3 {& D- t* @
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    9 @+ r# @1 z0 `9 c4 z6 [
  1028. ; http://php.net/sendmail-path
    4 X: w; ]7 R7 S: H+ W& O- ?; g" k
  1029. sendmail_path = /usr/sbin/sendmail -t -i/ N/ u: I% L' B+ ~, i6 }! H, z

  1030. ) o" c1 z. ~, A! l, r; }
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    9 v" s( I( k, Q% \; `  D
  1032. ; to the sendmail binary. These parameters will always replace the value of  n  e: s8 Y( O# |, g" j4 l7 z
  1033. ; the 5th parameter to mail().
    * g/ A6 `6 `& f8 L, Z' j' |  ]
  1034. ;mail.force_extra_parameters =  T; p1 y7 r5 W

  1035. . n# e. u/ t8 I% c+ A& i% ?2 i+ l
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename% R# H# f& |' W
  1037. mail.add_x_header = On
    3 Q" w0 I0 |3 E; T

  1038. 9 i5 m) N: x% E! d1 t9 c
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    8 }  j2 \, ?( `5 Q
  1040. ; the full path of the script, line number, To address and headers.6 D1 g! @. Y) s9 o* |! ^+ i
  1041. ;mail.log =
    * g  T. T1 s8 F$ G
  1042. ; Log mail to syslog (Event Log on Windows).
    . Z9 ^* ?* x' [* y* ?
  1043. ;mail.log = syslog% U$ i4 C! z9 N8 [

  1044. $ V: E: j) j  \- ?3 f2 V9 p1 n
  1045. [SQL]3 U* x  G4 }) e
  1046. ; http://php.net/sql.safe-mode
    ; F7 [! Q! v3 \- [1 f
  1047. sql.safe_mode = Off
    ) c( v( T6 s2 M& P0 T
  1048. 7 R) O: S* r# u4 I
  1049. [ODBC]0 v% d3 W- K' [) x+ `
  1050. ; http://php.net/odbc.default-db6 i- e1 {7 E; ^8 R" R4 `
  1051. ;odbc.default_db    =  Not yet implemented1 g/ X: x# J/ @" [

  1052. + |3 [/ n/ @  B. T) x2 ^/ ]
  1053. ; http://php.net/odbc.default-user7 b' o* p: s  B# x! W
  1054. ;odbc.default_user  =  Not yet implemented( s8 A8 ?7 v0 \% x# Y- X
  1055. : s; C, s" @0 i0 C( u; K4 [/ A- O* P
  1056. ; http://php.net/odbc.default-pw0 T) p0 y+ ^6 [8 c7 F
  1057. ;odbc.default_pw    =  Not yet implemented
    ( j9 O0 Z! }$ Y" Q. e. y$ O

  1058. 9 N1 w0 L( \+ z5 k% B
  1059. ; Controls the ODBC cursor model./ h3 C3 p* @1 U2 S9 N' P* Y
  1060. ; Default: SQL_CURSOR_STATIC (default)., @& R( W5 S- N$ J+ m3 x
  1061. ;odbc.default_cursortype
    . T3 W( M: n$ y$ |6 Y0 u( C" Y
  1062. + ?8 B$ L6 }2 J. l9 A; l8 z7 U; Q
  1063. ; Allow or prevent persistent links.
    " V' E3 S3 w, J& r, C* k* O
  1064. ; http://php.net/odbc.allow-persistent5 R+ b  D  N! W/ X  z
  1065. odbc.allow_persistent = On# n" v- I1 ~( `( y

  1066. ( M' ?+ y7 w8 m1 U0 X- _" b$ {8 ]) N4 j
  1067. ; Check that a connection is still valid before reuse.
    3 B* L2 ?  d. `8 L: |
  1068. ; http://php.net/odbc.check-persistent2 X9 t7 e$ ~5 R* `  J
  1069. odbc.check_persistent = On
    ( k8 R2 t8 k5 c4 `6 y% \8 Q
  1070. 1 s2 p8 T8 c: V) c* D" d
  1071. ; Maximum number of persistent links.  -1 means no limit.
    ( u/ H6 U# b! y+ M5 W8 R: U
  1072. ; http://php.net/odbc.max-persistent2 u/ E; i9 z- J/ R# m, W
  1073. odbc.max_persistent = -1
    # K2 C1 Q  {4 ^7 P6 N

  1074. % [8 R  Y0 }( V' J/ Y# D8 Q3 \
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." H) u+ E( z6 _1 p6 G. Z. x0 R
  1076. ; http://php.net/odbc.max-links
    6 d5 t. L" \4 T# |8 F9 s
  1077. odbc.max_links = -1
    8 C. Y1 h( r% ]% Z# ~
  1078. ( u0 V! V' |$ ?7 n7 p/ k
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means7 \* A8 \4 D% {$ d/ A1 {! `
  1080. ; passthru.1 D4 |/ M1 |7 ?7 t( a
  1081. ; http://php.net/odbc.defaultlrl
    3 e5 q* q1 @2 ]
  1082. odbc.defaultlrl = 40960 J5 w. k3 W# G5 H

  1083.   @  `' U4 R8 R
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    & {2 g( R! Z$ I: j0 B2 r/ j% ~- n
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation5 G/ r: q9 y5 R4 e
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode! l& @: O7 \& z8 g- d
  1087. ; http://php.net/odbc.defaultbinmode
    ! z: S/ R3 K. W3 X( J5 W
  1088. odbc.defaultbinmode = 1
    * a6 N4 a: v! \4 X9 b$ l/ \; n

  1089. - b5 h+ U' o! Y2 m2 [* M! s: T
  1090. ;birdstep.max_links = -1' [# J. m9 r, V4 n) X6 p* ^' }) B# C9 O/ f
  1091. & e; T% q: ]; b- P9 K
  1092. [Interbase]
    # i$ m' {# D4 \, a
  1093. ; Allow or prevent persistent links.; U0 P/ v4 o1 Z8 Q+ a/ d
  1094. ibase.allow_persistent = 16 c; D# E: C" q( I) g
  1095. # l0 ]8 y8 W- D' A$ R9 j+ o* A
  1096. ; Maximum number of persistent links.  -1 means no limit.
      C3 F: F, d% G) A$ j7 A
  1097. ibase.max_persistent = -12 x5 E2 [. O: c8 O6 _# I4 d

  1098. / X' d4 T2 m6 |; R5 g  ^
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.% Z. j0 ^: d8 p! i' G
  1100. ibase.max_links = -1+ V6 O6 V$ |+ |: f9 g2 U6 P& G, l
  1101. : _2 @8 D/ c1 o) w3 M8 G
  1102. ; Default database name for ibase_connect().4 R% u. C9 v7 i3 V3 n
  1103. ;ibase.default_db =1 Y& A- ]. @) B  f
  1104. 1 W9 X% l* [$ p5 X9 E1 M
  1105. ; Default username for ibase_connect().
    ; U" x  l7 ~2 H
  1106. ;ibase.default_user =
    . Z* v! {% z+ |: U9 S* r

  1107. ; ?1 R. ^2 y- o7 B
  1108. ; Default password for ibase_connect().
    9 ~" B& z) F) o4 m, H- G
  1109. ;ibase.default_password =
    1 r& K0 Q% G" i6 ~7 s% [

  1110. 5 O% B% X% z* i6 g+ K4 B  G# u/ N3 P
  1111. ; Default charset for ibase_connect().+ N% D- F- I1 }0 Q1 _, ]+ S
  1112. ;ibase.default_charset =
    * M4 ]& w3 J" A  f: f* D3 y: _
  1113. 8 n# j0 ^! r6 z7 @' Y/ X) R: G$ X
  1114. ; Default timestamp format.
    : C% B, x: _7 c0 U! H, a
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    . A  f! V; }6 j1 b" {) R2 m* K6 g
  1116. . `! L( E3 @0 _4 V3 v7 t# U& \1 s
  1117. ; Default date format.. d; u; D9 ~" l: v8 r6 o
  1118. ibase.dateformat = "%Y-%m-%d") F$ N/ }) l! O
  1119. , H  w2 k! ~; d9 v7 R0 c* J
  1120. ; Default time format.8 o1 K0 F; S* H: Z% l4 \, P7 O8 D* S3 @
  1121. ibase.timeformat = "%H:%M:%S"
    5 y" f9 o; d7 V" _; r3 T" j% d

  1122. ( L0 R9 e2 n$ \& b% e7 v& k" }7 U7 Q
  1123. [MySQLi]
    1 I. p: s: ]+ m+ W0 {: Q

  1124. 0 ?: J7 K* ^8 N2 r" I1 B) |
  1125. ; Maximum number of persistent links.  -1 means no limit.
    " A9 L/ K( z6 i; ?) s" x# U
  1126. ; http://php.net/mysqli.max-persistent
    # X" H$ e5 i' S3 R  @4 X$ g: g5 M
  1127. mysqli.max_persistent = -1
    3 E0 I* K8 Y, C7 J2 H; I% [; }: S
  1128. 9 q& b% Y3 Z& i; [9 C) l
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements. ^& ~$ D+ t6 j" B) Y* V" c
  1130. ; http://php.net/mysqli.allow_local_infile
    8 Y. D5 c1 U* h0 k8 c
  1131. ;mysqli.allow_local_infile = On
    " l- ]! W& x3 [/ j% n+ z
  1132.   H# M/ y7 M. A( \! }
  1133. ; Allow or prevent persistent links.: T" g8 c1 b2 T8 j
  1134. ; http://php.net/mysqli.allow-persistent1 H( Z& H8 b1 l+ s& E2 B* L
  1135. mysqli.allow_persistent = On4 s7 K( W" S- C/ Z# ]5 G% }* y% p
  1136. 4 s: C+ g, N( j9 p5 M5 J7 Q
  1137. ; Maximum number of links.  -1 means no limit.1 u' L  \. p. q4 o/ F
  1138. ; http://php.net/mysqli.max-links9 ~# L3 L3 L$ S) \4 g+ i
  1139. mysqli.max_links = -1
    ' z4 f8 s) f9 {7 S8 S9 [. l- @3 r

  1140. * m( |% _. T; }1 I
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache9 a! F5 y: g* U1 G; |! t
  1142. ; http://php.net/mysqli.cache_size
    1 s9 q) h) x$ [( ^: O3 J$ p# q% z) Q
  1143. mysqli.cache_size = 2000
    3 l- S; Z9 H* F( Y" Q: J2 e- g) f

  1144. 2 N1 u: x# ]. o$ O
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use9 d, |( [; D6 d6 ~
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the% A, E5 f& \/ D" N& {
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look& h4 P% i0 n: u0 A& ]( t' y
  1148. ; at MYSQL_PORT.# m0 K. ?% [  Z' v6 o
  1149. ; http://php.net/mysqli.default-port
    3 G" M6 m# K# A) y2 `
  1150. mysqli.default_port = 3306
    $ v2 E) p& W% a# A
  1151. / M: M& D. V; A7 j) W( C+ j
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in% c9 H+ P! _' F0 {5 k* }
  1153. ; MySQL defaults.+ i; B' I% R' d& t
  1154. ; http://php.net/mysqli.default-socket3 [& z; i" B6 m6 S# }
  1155. mysqli.default_socket =5 ?: m' I7 |' B2 T( U
  1156. 6 S7 q/ b& S! ~' e
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).0 }- ^/ c8 W4 y$ t3 \( {
  1158. ; http://php.net/mysqli.default-host9 O$ n( F8 ]. Y7 y" x1 X
  1159. mysqli.default_host =
    6 \+ R+ ~5 A$ T

  1160. 7 [, s; R- k& r, k" D
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).2 }& t& [- Q* B2 Y; N: d. \
  1162. ; http://php.net/mysqli.default-user
    ' h4 s# Q$ Z2 {5 U1 y1 i
  1163. mysqli.default_user =0 y: {& K5 c2 ~. W( B5 t% [

  1164. ; M1 ?& r/ j) `1 u6 j
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).6 N5 N5 n- S$ j% ~9 i, j: `7 U
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.. X" s* g; }6 [) ?8 N
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")* x( I0 M1 C# r& ~" t; h
  1168. ; and reveal this password!  And of course, any users with read access to this+ n2 [0 Z9 e& y0 c2 w8 a
  1169. ; file will be able to reveal the password as well.
    5 F/ ^' w' {  b7 h" G
  1170. ; http://php.net/mysqli.default-pw1 H  w  Z9 F& G
  1171. mysqli.default_pw =; F8 c- `6 h6 O, v- l
  1172. - L: H9 B! r  |! W
  1173. ; Allow or prevent reconnect3 w( J$ ]2 V9 v+ P, P
  1174. mysqli.reconnect = Off7 P" d5 v5 y. R0 s0 H7 K! l
  1175. ' T! @. `5 i: P4 o
  1176. [mysqlnd]. H  J) X1 s! N, }
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be  U, Y; I) s9 F. X- n* N( m' F
  1178. ; used to tune and monitor MySQL operations.8 [: {- b8 r/ z2 Y
  1179. ; http://php.net/mysqlnd.collect_statistics
      a8 _/ ~& s0 @8 A
  1180. mysqlnd.collect_statistics = On+ ^$ z+ {3 L, \, W

  1181. , i8 c. l% n- {8 b6 f
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
      l3 T$ m! e2 s0 B+ {% u% K
  1183. ; used to tune and monitor MySQL operations." n2 \) g3 F2 _* O) g7 s7 Z6 X9 f
  1184. ; http://php.net/mysqlnd.collect_memory_statistics- o  R+ d  u& h
  1185. mysqlnd.collect_memory_statistics = Off
    . w9 }+ {/ Z" M, T3 E6 N

  1186. ) P& w0 b& o+ }+ E
  1187. ; Records communication from all extensions using mysqlnd to the specified log0 ]. A5 ^2 H% H6 Z6 i
  1188. ; file., `3 Z; l7 O! H
  1189. ; http://php.net/mysqlnd.debug
    / D) @' L/ b/ s6 Y1 ?
  1190. ;mysqlnd.debug =' o' j& L0 S! Q3 v5 e" s0 f

  1191. 2 g% N" N' S: X6 {  J6 A: v) h% c
  1192. ; Defines which queries will be logged.
    3 F" Z2 n2 g4 ^( t6 `. N# ]
  1193. ; http://php.net/mysqlnd.log_mask6 h; ]1 w4 M9 s5 X* I  T' P: t
  1194. ;mysqlnd.log_mask = 0
    6 Q( K) b+ S- Q# j$ x0 [

  1195. , V1 V! g0 G7 u5 N( _
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.! ]6 t& m6 U! N$ G6 V1 K
  1197. ; http://php.net/mysqlnd.mempool_default_size! z$ g; V  c" d2 _
  1198. ;mysqlnd.mempool_default_size = 16000
    * ?7 X8 V& ~5 Y# \7 R8 f+ c: u
  1199. 7 y! h  G; h6 |! ?! e! y
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.9 j. f5 c. V& I6 s+ H$ b& `
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size; D7 l9 a2 Q+ g/ v+ N
  1202. ;mysqlnd.net_cmd_buffer_size = 2048  z! c3 A6 @3 B

  1203. 6 r1 I+ B# k2 O; l$ ~, @
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    6 P( K6 A, ]7 `; `! j1 g* V6 a
  1205. ; bytes.- Z4 e! X' I8 C' u6 M  p/ p" }
  1206. ; http://php.net/mysqlnd.net_read_buffer_size" R2 J( H7 I: f6 A3 H- w2 _
  1207. ;mysqlnd.net_read_buffer_size = 32768
      p* d+ Y( S( M( b& t6 X+ N; M) p, {4 j
  1208. 2 `$ K9 P/ H- }4 q+ J
  1209. ; Timeout for network requests in seconds.0 e+ k: B/ i: i0 p
  1210. ; http://php.net/mysqlnd.net_read_timeout# G' }4 j; V3 y8 m
  1211. ;mysqlnd.net_read_timeout = 31536000$ s( K+ _" W7 l7 `& h9 c: _

  1212. : {0 S. @+ o& ?, n  ~5 P
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    3 j8 g6 H% [2 }) N/ u# L
  1214. ; key./ P0 |; _0 o! @) m& F. Y
  1215. ; http://php.net/mysqlnd.sha256_server_public_key4 ?) D8 P2 U& P/ H
  1216. ;mysqlnd.sha256_server_public_key =# e0 y7 D3 x3 W5 d- J
  1217. 8 K" M& _( o6 Y, S, N9 y" n' V( Z
  1218. [OCI8]5 U" h% Z" X; M

  1219. + }! R) J" a2 y& m* n3 x5 E1 r  f
  1220. ; Connection: Enables privileged connections using external6 S/ [; }- [: S- \; @2 G0 O
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)  X1 O0 n1 W& Q; P7 C* B
  1222. ; http://php.net/oci8.privileged-connect
    7 P$ ^% C& G% ]: ]: w! `1 O
  1223. ;oci8.privileged_connect = Off
    * p, e& v* P( \- W: }/ V! g+ h

  1224. + v9 ^" {4 h! ]) ^, V
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    1 p0 ~/ j" p% t/ \* f! E
  1226. ; process. Using -1 means no limit.+ B- W9 l9 s4 X3 S- M
  1227. ; http://php.net/oci8.max-persistent
    % U+ }  Z: }. c, O
  1228. ;oci8.max_persistent = -1+ {$ G% k8 j0 K& v, d

  1229. 0 o9 X9 B/ {+ {1 ?' \5 ?
  1230. ; Connection: The maximum number of seconds a process is allowed to
    , x& x  P0 C4 }; `4 J  I. h0 d
  1231. ; maintain an idle persistent connection. Using -1 means idle) A. l& a. p- K; ~2 P3 [! T
  1232. ; persistent connections will be maintained forever.5 c* j" B( {* q1 v# d- j5 a6 q% m
  1233. ; http://php.net/oci8.persistent-timeout
    : a3 u9 J. @# ]5 i/ O+ V5 K! R' Q
  1234. ;oci8.persistent_timeout = -1
    # U9 ~! b# t% t
  1235. , E# E% I) L# ^5 C/ p& ?9 b6 X
  1236. ; Connection: The number of seconds that must pass before issuing a. Q  \; R) G0 J' k4 f
  1237. ; ping during oci_pconnect() to check the connection validity. When
    ; C% V4 e( c! `+ @5 y
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    : R2 s! y0 x! H+ b. m
  1239. ; pings completely.' K$ v# [7 Q7 a4 }
  1240. ; http://php.net/oci8.ping-interval- i. j" F/ X3 Y2 T: G$ M) y
  1241. ;oci8.ping_interval = 60
    & j2 {- e3 s( g0 z7 B% C
  1242. ) ~  D+ `" E/ w5 D; H; x
  1243. ; Connection: Set this to a user chosen connection class to be used
    / ?" F. N% S: e# w: R% X* [% w- A3 y
  1244. ; for all pooled server requests with Oracle 11g Database Resident% S: d3 ~6 t& ^4 u: f1 y, }
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    9 [8 ~; o: ]$ h7 e4 {/ ~, n
  1246. ; the same string for all web servers running the same application,8 o5 x' S& A2 Y6 l* X5 v+ F5 F
  1247. ; the database pool must be configured, and the connection string must
    & L0 \% @( I9 F) Z' Y9 E
  1248. ; specify to use a pooled server.
    3 B) c7 e; C+ d2 u* `9 M8 C3 L
  1249. ;oci8.connection_class =: `& {6 ~; W8 @, u. V
  1250. 3 D1 ~+ h$ B9 j! l
  1251. ; High Availability: Using On lets PHP receive Fast Application
    0 y- Z1 i; O. h9 K- s
  1252. ; Notification (FAN) events generated when a database node fails. The
    9 W% f' |7 V- A! g+ v2 ^) }
  1253. ; database must also be configured to post FAN events., C/ o! P9 @0 I4 u
  1254. ;oci8.events = Off" k& H% v# T( E2 r
  1255. ! }3 {+ t/ z* k6 F  q7 q
  1256. ; Tuning: This option enables statement caching, and specifies how
    ) }) J" n, N* ^8 j# f$ U: L( f1 v
  1257. ; many statements to cache. Using 0 disables statement caching.
    3 r. y/ [; e+ P% k$ \( F4 j. V
  1258. ; http://php.net/oci8.statement-cache-size: t0 I8 ]8 @) K! ]* c
  1259. ;oci8.statement_cache_size = 20% J+ M+ o  }0 t; S  F; J6 t
  1260. 3 \) {* X0 ~5 B" ?+ B( v
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    ) g0 W7 E: j. J/ N
  1262. ; rows that will be fetched automatically after statement execution.
    2 l6 [# u7 x; Z3 R4 L
  1263. ; http://php.net/oci8.default-prefetch. d# y- F# ?" [/ k) J, ~$ }7 _  V* F
  1264. ;oci8.default_prefetch = 100
    7 O  k. k5 U& u0 _' p$ m7 p+ d- K; q
  1265. , q: ?! r4 N5 l# q% Q& k+ r
  1266. ; Compatibility. Using On means oci_close() will not close
    0 T3 j8 ]6 T( M: s# b& R
  1267. ; oci_connect() and oci_new_connect() connections.
    8 b/ R: R1 W! t2 @
  1268. ; http://php.net/oci8.old-oci-close-semantics
    . g; t$ [% M% |8 g0 k& F  D  m
  1269. ;oci8.old_oci_close_semantics = Off
    8 O, q* f  M. F' C: K
  1270. 1 h$ R( i- g# b' {3 R' n7 u
  1271. [PostgreSQL]
    9 x- |; D: s7 ?8 }) A- y" i! O
  1272. ; Allow or prevent persistent links.
    + g; @  ^8 U/ r; l) ^  k
  1273. ; http://php.net/pgsql.allow-persistent
    $ h/ B; R1 g+ n& g1 Z: }! _1 F
  1274. pgsql.allow_persistent = On
    . I- r2 j8 s/ v9 g5 {% L

  1275. % w2 p8 F- `1 X8 W/ q% s
  1276. ; Detect broken persistent links always with pg_pconnect().0 Y! t  ?( E6 w/ r9 a% @
  1277. ; Auto reset feature requires a little overheads.3 m! Y" D1 ^. l+ v
  1278. ; http://php.net/pgsql.auto-reset-persistent6 V* r# R" Z" Z8 @; ]
  1279. pgsql.auto_reset_persistent = Off
    ; f- L6 c) @6 ?6 f1 c
  1280. ; y+ F. b6 v4 I; y* |+ l
  1281. ; Maximum number of persistent links.  -1 means no limit.: p! B3 {! i% L" K* p6 q
  1282. ; http://php.net/pgsql.max-persistent/ R8 N: P. A/ k6 M8 M  w
  1283. pgsql.max_persistent = -1
    5 k3 E" @. z0 b$ R
  1284. ' a* ]" W0 _- X9 z$ K
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.6 z2 z: u, A$ j3 K- ~( r
  1286. ; http://php.net/pgsql.max-links3 b7 m2 d) ]9 R* S) |: s& H
  1287. pgsql.max_links = -17 D$ r0 `# u7 g" U& K; `& g6 Q
  1288. % U8 C+ M/ K' p' V6 J  _8 _1 r
  1289. ; Ignore PostgreSQL backends Notice message or not." q  ?. W: @8 Y4 O- H
  1290. ; Notice message logging require a little overheads./ p7 X. F4 E3 M1 k* Y" B
  1291. ; http://php.net/pgsql.ignore-notice
    ; E$ d' N7 x+ m+ V
  1292. pgsql.ignore_notice = 0( G6 {; k8 {* D8 h
  1293. 5 a* o. {4 h/ |9 i8 f0 y
  1294. ; Log PostgreSQL backends Notice message or not.' z6 p; ]7 m  l4 k4 n" W5 B2 v
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.9 R8 Q; d3 k+ C! G; `2 r
  1296. ; http://php.net/pgsql.log-notice6 r5 m( Y, m: L% W
  1297. pgsql.log_notice = 0
    % N; T9 ~. c7 c  B4 S2 P
  1298. - x+ o& y: O. R! S2 Q! r# j
  1299. [bcmath]
    4 h; J! t) v1 Q% p5 ~
  1300. ; Number of decimal digits for all bcmath functions.8 e: ]' g4 t: K, |5 R2 t
  1301. ; http://php.net/bcmath.scale0 N% O! o8 Q. L+ |/ R+ N1 z
  1302. bcmath.scale = 0
    3 @! v2 u8 F  v( v0 n0 c) b1 G% A7 V/ N3 l

  1303. + X  y3 `0 G/ k$ i- Q; [
  1304. [browscap]
    ' ^# N9 U; d2 y1 K
  1305. ; http://php.net/browscap
    8 j5 s9 I; N* n5 N! n
  1306. ;browscap = extra/browscap.ini! g0 T- W+ P) z/ M1 {
  1307. , p' B, i: I% k* ^
  1308. [Session]
    4 e+ ~8 K/ K, [, u7 n
  1309. ; Handler used to store/retrieve data.
    % q/ B8 m& U7 M& ]* @0 m! D- l
  1310. ; http://php.net/session.save-handler$ l0 f) I! C) X4 S8 w+ k4 ]7 d
  1311. session.save_handler = files
    ! ^: J9 x0 P/ l7 I! b
  1312. 6 L! q* _3 |; P
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    8 a, x$ {; q* U9 T+ H
  1314. ; where data files are stored. Note: Windows users have to change this
    # g' `/ {6 h% ~( N/ ?9 ~. H4 D
  1315. ; variable in order to use PHP's session functions.
    2 Z) `1 n% P6 a$ r' `; ~
  1316. ;
    # q2 j' Z1 o5 f( |1 S+ p
  1317. ; The path can be defined as:
    ! k- B# o; ?7 S( y. n' [
  1318. ;
    , I# F8 m$ U" J. c5 c
  1319. ;     session.save_path = "N;/path"
    " _5 N7 Z( J+ T/ X  t  N
  1320. ;9 V7 ~7 {8 I, L8 X" y# f
  1321. ; where N is an integer.  Instead of storing all the session files in
    ! Y" S1 R0 y1 l' J
  1322. ; /path, what this will do is use subdirectories N-levels deep, and6 N7 Q: l% I! A% B9 ^
  1323. ; store the session data in those directories.  This is useful if
    : L: Z% Z8 W3 A- M1 |
  1324. ; your OS has problems with many files in one directory, and is
    * Z2 d3 e& F  W5 a, s  b" x9 `8 f$ U
  1325. ; a more efficient layout for servers that handle many sessions.3 c+ q' M' u" h$ `1 T2 [7 U
  1326. ;
    . e9 {% K4 [) H
  1327. ; NOTE 1: PHP will not create this directory structure automatically.; o5 I1 N- ?+ Q. Y
  1328. ;         You can use the script in the ext/session dir for that purpose.7 p2 S- f. U' O+ p  I1 A. {6 ]/ A
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    - ]! u8 Q% {1 e7 M
  1330. ;         use subdirectories for session storage! F; [" g- E, h& K5 K" X4 e) c# G* k* h
  1331. ;8 s. r3 ?7 Z- P* \" v
  1332. ; The file storage module creates files using mode 600 by default./ c. Z" U+ b/ d: y3 [
  1333. ; You can change that by using' J' Q: C5 b4 U0 H" S
  1334. ;, }8 E0 D# U; J% {- O# B
  1335. ;     session.save_path = "N;MODE;/path"
    : I# S' R6 E' B& `
  1336. ;) L/ e5 y) M. Q$ V8 I6 t# M( ?
  1337. ; where MODE is the octal representation of the mode. Note that this) k* s6 F+ ?. a" l6 T$ f. F
  1338. ; does not overwrite the process's umask./ w! _3 h) @) Y5 J
  1339. ; http://php.net/session.save-path; m7 Q# h5 L+ f' R' {- K
  1340. ;session.save_path = "/tmp"
    ( t6 t: O% ~7 b5 L! u( o( |& i

  1341. 4 R. Y* |. y1 i) d& m
  1342. ; Whether to use strict session mode.7 l3 R0 n) _  s" K# R4 I- r
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate0 L  [$ h. H, i: a' s
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ) y) p& S( \: N
  1345. ; applications from session fixation via session adoption vulnerability. It is+ L& I( s7 N, E7 l7 e9 v
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.4 [) A) _9 ^+ I
  1347. ; https://wiki.php.net/rfc/strict_sessions
    * m" W* j& j8 K; f- e
  1348. session.use_strict_mode = 09 b$ p% a( n5 S. ]* |& \
  1349. * m3 C$ Q! S0 `  _1 M
  1350. ; Whether to use cookies.' g5 k& }: o% _3 D+ u: \3 r
  1351. ; http://php.net/session.use-cookies
    7 c' I* u  X6 h: L# X# E
  1352. session.use_cookies = 1
    0 Y, M" F9 {4 g
  1353. 4 |2 ?- t% e' M* ?* T" s
  1354. ; http://php.net/session.cookie-secure
    2 I; K, ?+ I+ R1 a: h$ `6 H
  1355. ;session.cookie_secure =; f" y! j) U  N3 h- Q0 j

  1356. + j" a2 F' d$ t  d; `! `
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    + z! C* Q! y; Q5 o& n7 v6 \( G
  1358. ; the session id. We encourage this operation as it's very helpful in combating1 y$ g7 F9 s' j7 o0 A
  1359. ; session hijacking when not specifying and managing your own session id. It is
    . H, w9 [- c. Y0 u6 ]
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ) M  p% P& o) z. _+ ?& ~
  1361. ; http://php.net/session.use-only-cookies
    " X  {$ f* _/ o. j) G
  1362. session.use_only_cookies = 1
    ) i* L" L4 ]- m$ C  z: B
  1363. 9 `, u# v) c. Y
  1364. ; Name of the session (used as cookie name).2 U% r1 z* d, h& ^: k$ e3 c4 j8 ~
  1365. ; http://php.net/session.name0 B# p. B* s/ Z  B' S
  1366. session.name = PHPSESSID3 N* r! G3 A4 ]! P. e
  1367.   _# w$ ~9 W+ D8 A& |! T
  1368. ; Initialize session on request startup.
    $ `4 u$ T3 P; \" M; B
  1369. ; http://php.net/session.auto-start, Y" _1 B4 V% I$ N' P
  1370. session.auto_start = 0
    " p& o5 G! t  B1 t' o
  1371. ' y# j+ ^" m& r" M0 W/ `: @; t: L8 `
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    * N1 N6 r/ h2 @% r
  1373. ; http://php.net/session.cookie-lifetime! e, n6 J9 ]; l* n  Y8 s
  1374. session.cookie_lifetime = 01 d* _* [0 }4 D+ ^6 q  t
  1375. 8 S  f/ i" B3 f+ A, A  y$ J
  1376. ; The path for which the cookie is valid.$ u5 D; g  {6 e3 A
  1377. ; http://php.net/session.cookie-path
    4 o, V# K: L8 ^7 N5 z; \; h
  1378. session.cookie_path = /9 K6 c; @* g: A

  1379. 4 ]0 S: W8 K2 p0 _9 z* ^' n
  1380. ; The domain for which the cookie is valid.- j/ J4 @, c! H- o- b: n
  1381. ; http://php.net/session.cookie-domain
    - R* v& G8 m$ o
  1382. session.cookie_domain =
    + E1 u6 X; |9 m- Q" O* L

  1383. 0 c9 q: W0 J" q+ p! f; j! p( Q5 W
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ; Q6 R( Y% m* {, G+ \
  1385. ; http://php.net/session.cookie-httponly
    * Y- e3 v6 k+ e* P- _
  1386. session.cookie_httponly =
    , H, {1 k) c( b1 [/ f" R

  1387.   T! N5 G% d0 Y7 B
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    3 O/ R% u. Y- Y% p$ C) }, L
  1389. ; http://php.net/session.serialize-handler
    : ?& p% i6 R* S
  1390. session.serialize_handler = php
      s# z% f3 f; F4 M: U* s' k2 C
  1391.   J" v" P# ?7 o" R4 L! j1 r
  1392. ; Defines the probability that the 'garbage collection' process is started" t( z$ s1 H$ B& a- B- H1 ?
  1393. ; on every session initialization. The probability is calculated by using5 A7 ?6 w4 x1 R* e$ x, g
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    , c: B. @0 c$ ^& s, g% r
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    " [- V1 h8 a( n, _
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    : D4 X9 O1 B6 f/ R% w( p! O7 f
  1397. ; the gc will run on any give request.
    " X8 p- E  k' M8 p
  1398. ; Default Value: 1
    # M3 l7 \) h$ f+ I
  1399. ; Development Value: 1% r1 h0 T6 P/ ?5 f; _: J
  1400. ; Production Value: 1; k: q6 t  o4 Q; u; i/ K6 v
  1401. ; http://php.net/session.gc-probability- L- T5 P8 I1 n. C7 o
  1402. session.gc_probability = 1
    7 M1 r5 A% @9 y. b  g# w8 M. A
  1403. 2 p' i+ D3 c9 [7 x  J4 c) z
  1404. ; Defines the probability that the 'garbage collection' process is started on every  ]( f6 B. h" d" v$ g0 L7 ]# s
  1405. ; session initialization. The probability is calculated by using the following equation:4 g% Q6 a" p* j1 x; e2 e
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and) {+ l! _* d5 F( I4 m' z3 Q& L( s8 S  F
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 17 G% E: `8 T1 }8 z% U1 G4 f5 X
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance- n2 M: h: t: G9 \9 V
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you- [8 C; Z2 [' x% t9 X
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,! J1 F  m: }: g1 h
  1411. ; this is a more efficient approach.
    & w6 r& z. m7 p8 J
  1412. ; Default Value: 100
    4 y+ w# m: D1 h% F( W
  1413. ; Development Value: 1000/ x# s& O0 ^" g& l
  1414. ; Production Value: 1000. ~/ g; D2 f3 K+ [; v7 m6 y) u
  1415. ; http://php.net/session.gc-divisor
    + K( M( {4 i7 J* d5 S" z& N
  1416. session.gc_divisor = 1000% |- f  f5 g9 W# O2 n
  1417. ! H6 ]2 T, M$ t3 S) h. q) q
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and' ~" d! A  k# ~9 h6 b* k/ d
  1419. ; cleaned up by the garbage collection process.
    ; m" ]$ ]/ ?& a4 F# P/ C0 S
  1420. ; http://php.net/session.gc-maxlifetime
    : D, s" X& U9 W. q4 f
  1421. session.gc_maxlifetime = 1440
    1 D; ]  G& H+ R% Q, u3 ]# [/ C
  1422. * E& j( B3 z- L, D
  1423. ; NOTE: If you are using the subdirectory option for storing session files6 k4 i. n) c& x# x+ ?4 s; \
  1424. ;       (see session.save_path above), then garbage collection does *not*
    , @- x$ C5 W" K  }
  1425. ;       happen automatically.  You will need to do your own garbage& a4 ]  V7 o, `+ y8 A
  1426. ;       collection through a shell script, cron entry, or some other method.
    1 N5 t* ?1 j7 b* z  Z; H4 Y+ d
  1427. ;       For example, the following script would is the equivalent of
    & s. O# A2 {! a! Q
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):/ Q8 B% k! e1 ?2 O
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm1 G# o. b, f: C! t5 p

  1430. 1 p" ]; z8 f* C3 |6 B) ?3 i) u
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.3 n/ x- c7 H" H( e! m& S
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    ) `! }/ V0 Q) l, Z' T# \5 y
  1433. ; considered as valid.
    1 d# Q) ]1 `( k
  1434. ; http://php.net/session.referer-check* O8 ~( S& N% r7 Q5 l. L  a
  1435. session.referer_check =1 R8 v6 `) `- X1 l9 o5 f

  1436. / v- q( F+ |, s; p+ c; W
  1437. ; How many bytes to read from the file.
    6 k1 ~; R0 B, i! \
  1438. ; http://php.net/session.entropy-length4 x* f3 m& h% H* `+ {; _
  1439. ;session.entropy_length = 32
    * Q8 T! ^1 f- p* i  u: W5 E
  1440. 3 J- G7 _4 }* G
  1441. ; Specified here to create the session id.
    0 u) z" n0 |  g( m3 D
  1442. ; http://php.net/session.entropy-file
    ' M4 Y* m$ E, R# A( f0 G/ }! I
  1443. ; Defaults to /dev/urandom
    , K/ z4 r- n) U& S1 H% z" G! W
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom, D( a) @4 F+ r
  1445. ; If neither are found at compile time, the default is no entropy file.
    4 R: g$ D- R! ?+ k. y* M
  1446. ; On windows, setting the entropy_length setting will activate the) b1 s) u% _) y7 E$ c  ?
  1447. ; Windows random source (using the CryptoAPI)' N; j1 u8 G& H+ z7 |1 A
  1448. ;session.entropy_file = /dev/urandom' _" B: w9 o1 d  j7 S
  1449. ; ?/ @; x" \& W+ E
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    0 w4 u; ^- f0 r5 I( E' \
  1451. ; or leave this empty to avoid sending anti-caching headers.' z$ |- m7 v) M4 H" s$ ~* J0 u$ t
  1452. ; http://php.net/session.cache-limiter5 r; V3 G* s" ]
  1453. session.cache_limiter = nocache
    . D0 G9 H2 [0 y8 R) H" C

  1454. " o! @3 Q/ F  z/ j1 _
  1455. ; Document expires after n minutes.
    3 M1 l* y/ T% K5 I
  1456. ; http://php.net/session.cache-expire2 G9 p8 p6 r6 V4 E/ T
  1457. session.cache_expire = 180
    1 ^/ g* q& A! |" i. E
  1458. $ S- |6 ?. x/ U
  1459. ; trans sid support is disabled by default., u* z- G2 ^! N3 M
  1460. ; Use of trans sid may risk your users' security.
    - Y. W8 i' h% i" a0 B% l
  1461. ; Use this option with caution.
    ' }- J" m& Y- Y& L3 `! a
  1462. ; - User may send URL contains active session ID" L* S* V" l9 \
  1463. ;   to other person via. email/irc/etc.
    0 a9 s! r( f& L3 ~# s! B% |, n" m* T
  1464. ; - URL that contains active session ID may be stored
    + P3 [1 q2 H- J1 C2 l3 B( J$ _" T  D( C
  1465. ;   in publicly accessible computer.# U+ k! [& {. r2 ^& b; H) s
  1466. ; - User may access your site with the same session ID1 f5 ~$ a% T- ^- Y( d& _! a4 L; T
  1467. ;   always using URL stored in browser's history or bookmarks.; B- P2 s5 s, r/ e( E4 w# _" e
  1468. ; http://php.net/session.use-trans-sid. {' q2 R$ M1 [( B; S
  1469. session.use_trans_sid = 0) x. y0 D, l. T  i4 p; r+ P
  1470. / l3 a" `1 t6 G* P
  1471. ; Select a hash function for use in generating session ids.* C3 G: z! Y, m/ f, U' N/ ~
  1472. ; Possible Values% m# S+ F; U0 r: l
  1473. ;   0  (MD5 128 bits)+ T, r* c$ N" ^3 ^2 w" Z
  1474. ;   1  (SHA-1 160 bits)' S- J/ Y! G' r0 q
  1475. ; This option may also be set to the name of any hash function supported by
    4 o# w( q3 {, C2 U- b
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    , i- s& d# o$ A1 ~* i" `. d  t
  1477. ; function.: Q5 i2 O- O3 g8 S6 g
  1478. ; http://php.net/session.hash-function& f2 k, a4 d, H, q  `" m, k5 ?
  1479. session.hash_function = 0
    - E3 k9 e) h) ~+ Z1 i$ k
  1480. . C5 Z- {; ~3 v. l: A
  1481. ; Define how many bits are stored in each character when converting
    7 C3 o  o! ~( [; C- ^! O! w  a
  1482. ; the binary hash data to something readable.1 z3 w  H) O. B$ P* w
  1483. ; Possible values:
    - U+ I3 }3 h% `% V7 i" f
  1484. ;   4  (4 bits: 0-9, a-f)
    ) w9 H- z6 u* |" X4 S" A5 N
  1485. ;   5  (5 bits: 0-9, a-v)
    : v5 D" A9 g& v0 H3 y" d
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")! f/ V  |" L8 a
  1487. ; Default Value: 4% L* a* ~! j# v0 Q0 k
  1488. ; Development Value: 5
    9 Y9 X" w4 c2 o" P& A4 l
  1489. ; Production Value: 5
    1 `% n  v! w9 y9 Q6 M
  1490. ; http://php.net/session.hash-bits-per-character3 \3 C% g5 T: c% n! L0 E/ T. G  H
  1491. session.hash_bits_per_character = 5# ^* t; D! `5 j% `) Z% q

  1492. ' R% f+ q. v: n' U  C7 e% B$ _
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags./ Q9 J9 T- m- G
  1494. ; form/fieldset are special; if you include them here, the rewriter will$ x! a4 m8 p5 L. F' ^
  1495. ; add a hidden <input> field with the info which is otherwise appended! M6 q, c& ]6 A8 T. x# O3 ^) t
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.9 r0 j& Q( T1 [* f1 _0 t9 M
  1497. ; Note that all valid entries require a "=", even if no value follows.
    * [( Q1 F! T' @9 ?3 J6 @; J; `# i: f
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=": p' d0 d! [2 L  z" O
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 S! O* B+ ~+ u. |4 N/ K
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry") E  K2 {( K" B/ X
  1501. ; http://php.net/url-rewriter.tags
    ' {4 f: O* U/ a7 d; R  m8 v2 {
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"5 x# j; i) ?- u. ^  f" n2 D
  1503. : F0 `3 H+ V% a5 d; t
  1504. ; Enable upload progress tracking in $_SESSION
    8 l- h( Z* O) Z
  1505. ; Default Value: On
    8 {( y% b( S. p! o/ w& H
  1506. ; Development Value: On
    ' T) R0 ~" s  w5 d- \  s* C, L
  1507. ; Production Value: On  g+ N/ _$ G! V1 |6 [$ ]( n% a; h
  1508. ; http://php.net/session.upload-progress.enabled
    6 f; l' _1 _( Y: W
  1509. ;session.upload_progress.enabled = On
    ; c" I0 e1 |& [) Z+ A
  1510. ) M* b( r9 Q+ X
  1511. ; Cleanup the progress information as soon as all POST data has been read
    6 I! @( v8 b6 l# N
  1512. ; (i.e. upload completed).
    9 P( @8 o+ w( Y# o1 @- ^4 Y
  1513. ; Default Value: On
    ( n1 H* B) N' e8 Q$ |
  1514. ; Development Value: On
    & A( C% l" g4 i* m( e
  1515. ; Production Value: On( Z2 r/ |6 U3 H, k! b6 @2 \
  1516. ; http://php.net/session.upload-progress.cleanup
    . N3 |& P# v2 Y; \9 C
  1517. ;session.upload_progress.cleanup = On
    + m* N; \: c0 `6 J& n; m
  1518. # S2 ?" b3 l2 r# w! r7 O
  1519. ; A prefix used for the upload progress key in $_SESSION$ [0 P9 V& R5 L# l
  1520. ; Default Value: "upload_progress_"& a8 D0 X2 F, ?3 R+ ~; V
  1521. ; Development Value: "upload_progress_"$ o0 z& _" k* v/ P
  1522. ; Production Value: "upload_progress_"% E8 q5 n# M( G" t7 Z4 v; I3 R
  1523. ; http://php.net/session.upload-progress.prefix
    & q" m4 o0 `  a. p7 A3 I# y/ `
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ! B+ F* S5 O* E/ ?, D1 a7 L, {

  1525. / [& m# O0 _2 c3 l. C) v# ]  w
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    4 X- C5 J: n* J  T1 Q
  1527. ; containing the upload progress information0 h+ Q9 t! C3 g! P0 o+ K
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    - c9 x6 q1 ?: k- K( _: H8 B
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . Q/ E( D. p6 x8 b
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"; P. X- o7 G  P. t( ]. S0 |
  1531. ; http://php.net/session.upload-progress.name
    . Q# |# s# U' \: }& t' E
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    - O+ l! R7 r3 ?) T! l- n' F
  1533.   |' [5 X3 z" t
  1534. ; How frequently the upload progress should be updated.  ~4 h' `* {* u
  1535. ; Given either in percentages (per-file), or in bytes9 o! U) q0 c; t( x: b% e# }
  1536. ; Default Value: "1%"
    3 t) Z% [8 b0 X4 d  ^4 Z' X
  1537. ; Development Value: "1%"$ t/ B$ P1 |4 L8 W
  1538. ; Production Value: "1%"
    ) I! X' q7 n% z- V
  1539. ; http://php.net/session.upload-progress.freq0 [5 y; x4 R# {& e5 f% p& \& Y+ m+ Y
  1540. ;session.upload_progress.freq =  "1%"
    9 {0 k$ |8 ?1 u, C( m0 W
  1541. - V+ ^1 T8 y( H. y. M4 d) Q+ Q
  1542. ; The minimum delay between updates, in seconds
    ' m, V2 `" A4 e+ Q
  1543. ; Default Value: 1* [) N6 D( b# L7 K% s( r9 U5 x$ ?
  1544. ; Development Value: 1% A4 x; o4 u+ z/ W
  1545. ; Production Value: 11 h, g, ^5 E% M+ `! t: ]
  1546. ; http://php.net/session.upload-progress.min-freq; X3 E* D7 f5 w1 H( x
  1547. ;session.upload_progress.min_freq = "1"2 z  f) |3 J# ^4 |/ J) v' {$ v- S

  1548. . p7 X" {5 J3 U6 H0 D, Y
  1549. ; Only write session data when session data is changed. Enabled by default.  X/ u5 g0 [/ b- w& R' V
  1550. ; http://php.net/session.lazy-write: I3 M4 A# B. K+ S  I: `
  1551. ;session.lazy_write = On' a! k- c/ E& \
  1552. 9 l1 O. q% j' w! A  R
  1553. [Assertion]
    ; g/ }' T  y  W; p, T+ K; p2 z4 \
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)  a( L4 ^9 a# G. O+ o* L3 u; k
  1555. ; -1: Do not compile at all2 ?6 F3 o* d& z
  1556. ;  0: Jump over assertion at run-time
    2 s- h% k+ b2 n; L+ H
  1557. ;  1: Execute assertions
      _9 u) M# f2 c' P/ E" x
  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)4 \4 e: }5 F5 V8 H1 m3 Z% D. R! G
  1559. ; Default Value: 1
    : ]4 D% s. L+ h+ ~9 ~1 y
  1560. ; Development Value: 1
    / g6 S# P8 n+ I6 Q4 N9 v
  1561. ; Production Value: -1
    0 J, p4 E+ d4 Q- w
  1562. ; http://php.net/zend.assertions
    # S$ n7 Z) W" |
  1563. zend.assertions = -1! m& l+ O+ D% U! w; H7 z

  1564. / U- e4 J5 D' R9 P
  1565. ; Assert(expr); active by default.1 y: }0 e2 W: R( a( ]
  1566. ; http://php.net/assert.active
    " I- _* t# i* U, i4 m  t% Q
  1567. ;assert.active = On. a# \# ?7 D! n! H! t) ~
  1568. " h% ?! u, c9 H5 a$ b
  1569. ; Throw an AssertationException on failed assertions5 \: g/ f4 s" {/ \0 y
  1570. ; http://php.net/assert.exception. m3 _. c7 }9 U/ ^& Y- B
  1571. ;assert.exception = On5 E# f% S& }' g& e" b
  1572. $ H' {( G. V( T4 Y) Y& \- }
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    % }- ]7 c  ~6 [3 n( V1 k
  1574. ; http://php.net/assert.warning
    , ]1 i" n0 [: ], p# H
  1575. ;assert.warning = On: u) @; F' V) Z7 w
  1576. ( n, {) G' M0 l) z, k# o, k
  1577. ; Don't bail out by default.
    + U/ x, R7 a4 c/ I+ N, v8 F
  1578. ; http://php.net/assert.bail3 T& n5 Q+ f; w  Q6 c, f! M* F
  1579. ;assert.bail = Off. W% m% Z# o( R6 g: q  E" e8 L
  1580. 8 F$ I4 P! m* J1 `/ Y8 ~( ?, m
  1581. ; User-function to be called if an assertion fails.
    . N# k9 h" O. e! g
  1582. ; http://php.net/assert.callback
    6 h  o# |1 w% s6 ]! m7 y
  1583. ;assert.callback = 01 v9 D9 c( g5 s+ [1 U7 H1 k
  1584. : T4 }# |% K0 \1 x) [$ b
  1585. ; Eval the expression with current error_reporting().  Set to true if you want/ k4 Q) L, {, S. V% S' r0 \
  1586. ; error_reporting(0) around the eval().2 ~- p* W9 d5 Y# W
  1587. ; http://php.net/assert.quiet-eval
    5 k8 b3 ~+ S3 R4 h9 F
  1588. ;assert.quiet_eval = 0- U/ r) u3 z- H. Q1 z% ^3 z0 H

  1589. ; y  ^$ g0 F, A2 N
  1590. [COM]# ]" j2 D& n9 q
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs( L3 X5 q3 b8 O1 N8 O$ F+ \
  1592. ; http://php.net/com.typelib-file7 E" D$ F- j4 o) Z+ s
  1593. ;com.typelib_file =; M  x9 ]. Y8 w3 S0 \& w6 K
  1594. 3 J+ G3 l5 D5 [4 L
  1595. ; allow Distributed-COM calls
    : ~- ~6 M0 y9 p& O  c0 v3 M5 V
  1596. ; http://php.net/com.allow-dcom8 B, G/ ^6 A8 q7 E* }  D
  1597. ;com.allow_dcom = true$ q" E! B# _' A! G* P" x
  1598. , f0 o2 i6 H! `4 h
  1599. ; autoregister constants of a components typlib on com_load()
    3 A4 ?1 v/ Z8 C7 r
  1600. ; http://php.net/com.autoregister-typelib
    : q1 d$ H7 P3 a2 c7 `
  1601. ;com.autoregister_typelib = true
    . Q! \& f& \$ A: u+ ?
  1602. , O. c3 u7 S, Y2 v: P; ^. ^6 O
  1603. ; register constants casesensitive
    ) Z1 K1 G1 Z7 ?3 A
  1604. ; http://php.net/com.autoregister-casesensitive
    & O: f" |) W- x- I& Y' H
  1605. ;com.autoregister_casesensitive = false' I% g' a2 ]2 k) p
  1606. 6 L0 w9 Y8 K5 G# x. F+ o
  1607. ; show warnings on duplicate constant registrations
    " h0 g8 h; K9 F5 B7 f; U
  1608. ; http://php.net/com.autoregister-verbose
    3 y. z& H0 P0 A( `1 H5 A$ W& D- h
  1609. ;com.autoregister_verbose = true2 d% U( e; q; l/ O- j% J& O7 e  t
  1610.   r- J5 V/ G) h: Z8 O" ~' ?) _
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    ( C/ W7 N0 y0 \# U6 V
  1612. ; Default: system ANSI code page" E+ F6 z+ h$ p# Q0 u, V! u: s
  1613. ;com.code_page=
    5 f, T, P9 D3 t* G

  1614. / N. W5 }4 X! Q1 u6 ]* N; `
  1615. [mbstring]' Q: ~+ O2 g1 E6 H$ P) S# L5 ^
  1616. ; language for internal character representation.
    2 e: M+ {+ H# K! b+ |3 X9 n( I; w4 d
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    . q1 i6 Y5 p5 [
  1618. ; http://php.net/mbstring.language3 @1 r$ ~# H6 G$ \5 w( A, b3 `: h
  1619. ;mbstring.language = Japanese9 `% ?. J+ m- s  k
  1620. 8 I7 x) c1 y1 I) q! n+ Y2 Y8 d
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    8 V2 \; u- s% P( g- j
  1622. ; internal/script encoding.
    ; i! B3 t5 V/ p4 o
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ' X8 [9 t' M5 y7 E& c4 \
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.4 n: k/ P0 g* K  n
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding9 d7 X3 n8 o% B/ p9 _* j; M& q
  1626. ;mbstring.internal_encoding =! w  X9 ]( R$ b& W' ^/ m
  1627. + h' D/ M* j2 \
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.7 l+ t+ x6 X6 i* h0 c
  1629. ; http input encoding.' ~2 S& X+ n! O* Q
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.- s/ u! O7 S7 T# I
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    4 Z3 }1 _: I0 g! k: y/ p# K
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    * [* D# X! r% G2 Z9 u) C
  1633. ; http://php.net/mbstring.http-input
    0 T1 T1 Q: t2 D9 p+ q0 A8 P) i! \1 i
  1634. ;mbstring.http_input =
    ) b0 s' g2 l; {' C& v
  1635.   u+ X! ]' @4 |$ g8 F) T* F
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    # D# A. _7 k8 l8 Z0 [$ f" l
  1637. ; http output encoding.( S, c6 ~* ^! h1 g8 f7 D
  1638. ; mb_output_handler must be registered as output buffer to function.* e% z8 l1 n# ^
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.( N+ z3 C8 D7 a
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output2 U2 U2 H/ x$ ~+ h. I3 A+ f( w
  1641. ; To use an output encoding conversion, mbstring's output handler must be set1 L* w( w9 W/ l: p( h0 N3 |$ Y+ D% L
  1642. ; otherwise output encoding conversion cannot be performed.0 \/ b# ]. q  B  M1 _
  1643. ; http://php.net/mbstring.http-output
    . t* j) f$ ]4 ^8 d  v& W0 f* G
  1644. ;mbstring.http_output =
    ( e+ l. D) B* [0 a9 X' T4 ^2 F$ e

  1645. % n& ]& d3 \' r  U
  1646. ; enable automatic encoding translation according to
      R. ^) a7 o' u4 A
  1647. ; mbstring.internal_encoding setting. Input chars are+ B  w+ g- g: T, b3 n
  1648. ; converted to internal encoding by setting this to On.7 b1 M7 K: F) y& ]  o! `
  1649. ; Note: Do _not_ use automatic encoding translation for
    + t! v8 n* }# ^$ {# |
  1650. ;       portable libs/applications.
    / t. R3 u: L' t& r2 D; |
  1651. ; http://php.net/mbstring.encoding-translation
    $ ^6 ^8 O1 _# i) V( R( y
  1652. ;mbstring.encoding_translation = Off, J) u$ o% r" L1 k

  1653. ' p6 Q$ b4 a$ C+ m/ l- n7 I
  1654. ; automatic encoding detection order.
    ; g: G3 @& h. B" F2 y. g
  1655. ; "auto" detect order is changed according to mbstring.language
    $ [  S1 O! b9 z$ d
  1656. ; http://php.net/mbstring.detect-order
    ( D# a7 `3 L% {7 L$ g
  1657. ;mbstring.detect_order = auto0 c/ i- }' k( Z1 v$ ~2 ~

  1658. 0 h* ^: w; `& P3 Y9 W' e$ [% p3 }
  1659. ; substitute_character used when character cannot be converted% L. o6 K) [; i# G) e8 k1 v
  1660. ; one from another
    # [2 E& J" b+ `' \" b2 J
  1661. ; http://php.net/mbstring.substitute-character5 d- {5 Y3 p+ `' Z) A( W
  1662. ;mbstring.substitute_character = none8 O, H  J5 A8 d; p
  1663. & \+ n# l) _  A: z
  1664. ; overload(replace) single byte functions by mbstring functions.
    ' a# v5 v, n+ u( G5 i$ v
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),# m1 p' S; e6 J% f
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.4 I& n: T6 q2 t
  1667. ; For example, 7 for overload everything.$ ~  H; H" m2 C9 U# Y
  1668. ; 0: No overload
    " T0 v& r9 X1 y( R* ?
  1669. ; 1: Overload mail() function, t  j; o* D  U2 x  W6 b
  1670. ; 2: Overload str*() functions
    + _+ ?0 d2 m  U8 n
  1671. ; 4: Overload ereg*() functions( A. C0 @3 j' q5 B
  1672. ; http://php.net/mbstring.func-overload- o0 A5 B  l) N! h/ @
  1673. ;mbstring.func_overload = 0: V. R3 Y* E! k/ p
  1674. + r( I- P0 W5 h- |. _, n1 y, Y
  1675. ; enable strict encoding detection.4 z! ]; h* G- T+ z
  1676. ; Default: Off
    + `( u/ u8 x! b, f
  1677. ;mbstring.strict_detection = On2 f3 F% r  l+ t" _. F
  1678. - f' R8 |+ Z" ]. p5 f6 U- @
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()8 S7 x/ E  R3 o( ?6 \
  1680. ; is activated.
    ' Z8 ?) I0 w$ U7 ^; C$ [8 K( U2 W
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    4 J% R5 o& @$ c0 i
  1682. ;mbstring.http_output_conv_mimetype=( U* `0 Y. B$ [1 v3 N/ U8 q  D
  1683. 1 n. Q1 w4 `9 @+ T, f$ g$ O8 B
  1684. [gd]1 w* U; X5 F' [+ a2 `7 B. W
  1685. ; Tell the jpeg decode to ignore warnings and try to create* W4 G  y2 M( w2 L: C$ ?
  1686. ; a gd image. The warning will then be displayed as notices5 i9 Q; X+ c5 D/ ?- `! Q* v3 s$ B* X
  1687. ; disabled by default& `" h( A' }4 L1 u3 M7 M, L
  1688. ; http://php.net/gd.jpeg-ignore-warning4 }) j7 C" z& ^) N' n( r4 b8 W
  1689. ;gd.jpeg_ignore_warning = 0) z6 x: h1 _/ l* G

  1690. - {6 c# _% r: S4 y( }
  1691. [exif]
    ) {! m, S5 m4 U2 ]
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    1 a8 X$ A$ Q- k+ a. D: @# `$ e
  1693. ; With mbstring support this will automatically be converted into the encoding
    . `& l  O( p: Y! k( B% i- c& y: Z
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding1 P! p8 L5 [% D( J6 ]- g' _: d
  1695. ; is used. For the decode settings you can distinguish between motorola and
    - O1 b5 P" c4 d9 X
  1696. ; intel byte order. A decode setting cannot be empty.- k; [4 F( v2 B% C' d5 u
  1697. ; http://php.net/exif.encode-unicode9 K# J# a2 N. [  e+ Q, n( g, W
  1698. ;exif.encode_unicode = ISO-8859-15) B& P  p% v; B9 S- H" k9 \
  1699. 6 e$ r2 m6 F$ I
  1700. ; http://php.net/exif.decode-unicode-motorola
    ! m: \+ j  K& k/ ~! i- z
  1701. ;exif.decode_unicode_motorola = UCS-2BE- B% J- j* w$ P4 N0 U# T  b) _5 C
  1702. 5 d, d+ c8 @) z) f& o# T
  1703. ; http://php.net/exif.decode-unicode-intel
    8 [& d* i4 c3 ]1 p
  1704. ;exif.decode_unicode_intel    = UCS-2LE, a- p3 S/ m! g% I+ ^, k- ?$ w
  1705. 4 U0 D/ E5 n) L! [3 e: x7 J
  1706. ; http://php.net/exif.encode-jis
    3 n; b5 `( t, @1 n# t
  1707. ;exif.encode_jis =
    ) Q# Q1 k/ Y) i

  1708. $ w# s6 q( F8 \- A  T7 ^0 M
  1709. ; http://php.net/exif.decode-jis-motorola. u' _1 x3 ?' q0 y
  1710. ;exif.decode_jis_motorola = JIS
    9 Z" W& n* `' B5 ]# C3 Q) Y

  1711. - z/ h5 k! O6 d6 w" g  o5 S, B4 a
  1712. ; http://php.net/exif.decode-jis-intel
    & x9 q( {- a/ N( Z/ ^  I
  1713. ;exif.decode_jis_intel    = JIS
    : N. [  k3 H: |: h8 t

  1714. 2 d  l$ o2 @7 m
  1715. [Tidy]
    / C( p$ u3 C6 q- [5 F+ ~2 C7 M
  1716. ; The path to a default tidy configuration file to use when using tidy
    4 J7 D5 E9 W( o9 d  I
  1717. ; http://php.net/tidy.default-config4 O0 N, ~( K6 D/ b% I9 P6 O
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg8 v% D. |0 b, I
  1719. ) R% \1 x0 ~/ z2 _) m* Q0 _" g
  1720. ; Should tidy clean and repair output automatically?" H8 b6 g6 I1 x% s; p" g6 e' I
  1721. ; WARNING: Do not use this option if you are generating non-html content
    , X: I% @+ L5 T0 d
  1722. ; such as dynamic images
    ( K" q/ `* F4 ]+ D* \
  1723. ; http://php.net/tidy.clean-output- z/ y! o1 A. z2 ]- P
  1724. tidy.clean_output = Off
    # ^/ G! M. V: X4 @4 [

  1725. 9 Z  }) B! X0 `# ]
  1726. [soap]
    5 }0 L9 E8 P4 I; {0 c3 O$ G. a
  1727. ; Enables or disables WSDL caching feature.
    ! c- D( Y4 ]( @7 i( a
  1728. ; http://php.net/soap.wsdl-cache-enabled
    & [1 b+ h& b# E5 g- x3 V
  1729. soap.wsdl_cache_enabled=1
    : R3 m, X, ]. [; t8 N8 r
  1730. 4 z, \+ C9 p( D# \- @' y
  1731. ; Sets the directory name where SOAP extension will put cache files.. a7 ^" k) |* X7 b9 q2 e/ v
  1732. ; http://php.net/soap.wsdl-cache-dir
    6 z8 S6 U$ S' U; g- q
  1733. soap.wsdl_cache_dir="/tmp"
    , q2 y5 o# h' ]8 E* i' A

  1734. ) \8 H4 Y* n" e& E; Q
  1735. ; (time to live) Sets the number of second while cached file will be used+ D5 h8 B! p8 \$ {# D
  1736. ; instead of original one.
    ) _2 w/ {) F, U
  1737. ; http://php.net/soap.wsdl-cache-ttl
    4 F9 [, e9 N9 n9 e5 W9 g0 j
  1738. soap.wsdl_cache_ttl=864005 `( j; Q: F: c2 @5 q

  1739.   m0 ]" x  l- W5 S0 j
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    # ]# O& D6 \5 B; S1 Z, g, |
  1741. soap.wsdl_cache_limit = 5
    ; N8 y2 L; F. B2 G$ ~

  1742. , i. B4 v  [# n$ F4 b7 ?- ~: P3 w
  1743. [sysvshm]/ x+ r$ P% a( i# ]4 H3 u. D
  1744. ; A default size of the shared memory segment
    ; e) n2 X9 l/ y7 F- w
  1745. ;sysvshm.init_mem = 10000
    3 t+ n# s; `- m/ C/ ^4 y

  1746. ; ~+ B1 n- ^; C9 G1 l; U9 ^+ Y
  1747. [ldap]
    5 {4 N1 m  q* P- d( ^! B$ {/ n
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    5 b  y; |( ]) I* [+ k9 X' S+ ^
  1749. ldap.max_links = -1+ E2 v5 [8 m2 t$ Y% A
  1750. 5 c# v# ^6 P9 z4 S4 D
  1751. [mcrypt]
    5 B  h& @/ D5 @5 @5 H) s: \2 m9 G2 g
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open7 T6 c- s+ M. L: u+ M7 B% F
  1753. ) [1 Z* t2 y! y( ]% d, X
  1754. ; Directory where to load mcrypt algorithms$ k- A5 x) U: I% W& W' W) w2 H
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)- S! u7 l. N5 t, y
  1756. ;mcrypt.algorithms_dir=
    , B1 `: `1 D, T0 q  E

  1757.   T* J' f1 g* h: [
  1758. ; Directory where to load mcrypt modes
    . V# f, G* J3 Z* Y8 k4 v
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)- {0 C2 ^0 `9 b
  1760. ;mcrypt.modes_dir=& Q3 ?: u& @" N2 e# I9 p# M
  1761. . X; h* X3 z- n
  1762. [dba]
    5 O0 ?( x$ C# Z* H6 h
  1763. ;dba.default_handler=. m) R. q$ b& i5 T+ ?9 Q, b9 z2 l

  1764. $ \9 @5 q: H! m
  1765. [opcache]& c4 Z* i- Q. B# A
  1766. ; Determines if Zend OPCache is enabled
    * o9 w/ g8 \: @2 A% t
  1767. ;opcache.enable=0
    + [$ ?, h8 x1 M1 g/ n
  1768. 8 l+ L; Y$ U6 U2 t" y
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    % F& e, V% i9 F) A8 i
  1770. ;opcache.enable_cli=0* m" X' M: |& V* f

  1771.   @( d# k: r1 m3 r$ t5 F
  1772. ; The OPcache shared memory storage size.
    + J6 b. j) t, C$ o% t
  1773. ;opcache.memory_consumption=646 r8 k0 f" l8 ~4 w' T' g* e
  1774. : ^) s( M: P& i: d4 n
  1775. ; The amount of memory for interned strings in Mbytes.
    - F- H8 l* i) a5 y6 C' _% b
  1776. ;opcache.interned_strings_buffer=4
    ! {( R7 ~- v* R  h
  1777. 7 l( P4 t' D6 e! i6 o% p
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    + h5 J) a1 E) B" f: F1 [
  1779. ; Only numbers between 200 and 1000000 are allowed.
    ' @& I" f' a( q6 u# L
  1780. ;opcache.max_accelerated_files=2000
    , x! f1 B+ ]" y0 z

  1781. 9 O' X1 t0 |4 k" i; w
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    6 Q9 l- b9 ~. K+ h1 b. C) d
  1783. ;opcache.max_wasted_percentage=55 \+ [, f, e2 `  p, D% \* H

  1784. 9 T+ N4 S1 n8 k% J
  1785. ; When this directive is enabled, the OPcache appends the current working
    3 u/ t5 X  {0 e( K
  1786. ; directory to the script key, thus eliminating possible collisions between
    ; ~+ S- C2 J8 u# j* \3 P& T. n! m; b
  1787. ; files with the same name (basename). Disabling the directive improves+ G% F* J: m, p/ T3 j3 I
  1788. ; performance, but may break existing applications." b( o6 F: [& _. v) `) b
  1789. ;opcache.use_cwd=1
    0 C- }3 L6 Y9 }! f. r
  1790. 4 F* C0 E/ C! R6 y
  1791. ; When disabled, you must reset the OPcache manually or restart the5 v+ H- `8 I& q1 Q( V( z
  1792. ; webserver for changes to the filesystem to take effect.0 y. {5 M) s6 m$ A9 F' H
  1793. ;opcache.validate_timestamps=1
    ( O$ {8 _8 k' v0 R
  1794. 2 L# B: F  H$ G& }$ a
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ! _/ z/ u: d7 |2 o- p' r; B* A
  1796. ; memory storage allocation. ("1" means validate once per second, but only* W# u; S7 O1 b9 p9 ?/ }& K' U
  1797. ; once per request. "0" means always validate)
    9 T( l% b* F# |2 N& {
  1798. ;opcache.revalidate_freq=2. c: }: \$ |8 N  e+ |; }/ m7 G9 k

  1799. 1 o& E1 S' G% V. @( \8 Q. Z
  1800. ; Enables or disables file search in include_path optimization
    $ D: P, R5 I' @2 x% l' n8 L1 o
  1801. ;opcache.revalidate_path=0: U( o1 z- z' r* B: J

  1802. & ]% Q0 f; q8 u
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the. M: W( g" T0 X' R3 C5 X6 a6 F
  1804. ; size of the optimized code.
    3 X9 y' p- I1 w3 T) M8 Z! n
  1805. ;opcache.save_comments=1- K" j0 @/ |2 ?( _* x0 n" a
  1806. & O/ x- n: I* m6 O
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    5 X/ q* c9 N2 U/ d
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    $ @# T5 S1 G  H) V' A
  1809. ;opcache.fast_shutdown=04 R1 x+ p' h( l" w
  1810. % Y6 {1 q  I6 U- v
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    ; e5 R0 ?  M7 R! R, [. z
  1812. ;opcache.enable_file_override=0! E. t) t5 L$ y& y% W: V
  1813. ; Z, p$ p: Q; L6 z
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    * Q( i( O* U$ [
  1815. ; passes9 ^5 v: R7 E* N: E1 t
  1816. ;opcache.optimization_level=0xffffffff5 i+ s; s. l; {( W
  1817. # n% r4 Y1 f, S9 J
  1818. ;opcache.inherited_hack=1- k- t3 ?% v  Y+ U  A
  1819. ;opcache.dups_fix=0
    , z  v2 k( q3 L1 }$ p

  1820. 3 t* Y2 _  Z" d, e; c% Q
  1821. ; The location of the OPcache blacklist file (wildcards allowed).: C; w$ z& |. X( t  W! F3 Q
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    8 \1 R! a, y. a) N
  1823. ; that should not be accelerated. The file format is to add each filename& d# ?0 l" ]3 u5 M
  1824. ; to a new line. The filename may be a full path or just a file prefix
    9 X' L6 N$ r/ [. b7 G. H4 _5 {
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www, j# f2 i. N, y' l5 O& E4 T
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).# p, g; E" x0 X& j& u
  1827. ;opcache.blacklist_filename=8 D1 M2 a2 d7 j# B
  1828. 0 G' @5 F9 _+ M& d9 ~, f
  1829. ; Allows exclusion of large files from being cached. By default all files* v( d. F2 N1 d0 _8 K+ D
  1830. ; are cached.
    " p* o1 X/ A! ]8 e9 i
  1831. ;opcache.max_file_size=02 f) U) |- n. [
  1832. 9 z* W* k3 ]5 h& k2 b& w* m; J5 v8 X
  1833. ; Check the cache checksum each N requests.) c" u* m* H* s( N, O
  1834. ; The default value of "0" means that the checks are disabled.
    2 v0 S- h, {9 @: q& [
  1835. ;opcache.consistency_checks=0# n% S' v& S6 s3 s

  1836. + b5 S* p" w) t: D3 U/ A
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache- {2 [- F  c, L  k6 P! H
  1838. ; is not being accessed.) ]; H* s' B( b* p+ A. o
  1839. ;opcache.force_restart_timeout=180
    ; D9 C8 C2 _$ g# R# S- l

  1840. - G% M- d. [$ q% M& h$ u
  1841. ; OPcache error_log file name. Empty string assumes "stderr".' F3 z8 x6 ~6 V3 T* `$ ]
  1842. ;opcache.error_log=7 S4 d7 e. \8 n( Z

  1843. 4 p0 ?& E6 v3 Y( w+ r( G
  1844. ; All OPcache errors go to the Web server log.8 ?7 Q9 R% q" @) L9 u
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    4 q/ }' B, S8 \! d3 x" A* f$ X
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    . c4 z# B7 j0 \% O7 v: D9 G  B
  1847. ; debug messages (level 4).
    ) {* j/ c# r) A- c7 Q) R' d& x7 M
  1848. ;opcache.log_verbosity_level=17 f  l- O4 V' ]* D$ q' }7 {

  1849. / s. O; E+ L; y  i: `; e
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    " n) y$ ]6 h' G& f& p, U4 M, e
  1851. ;opcache.preferred_memory_model=; r% u. \2 [2 H, V5 f8 X+ r/ s. t
  1852. / I. P. c$ W; _( f3 U
  1853. ; Protect the shared memory from unexpected writing during script execution.
    ) c9 c2 ?' n# X; v% b
  1854. ; Useful for internal debugging only.- V1 ~0 y8 l$ Q+ _/ {, V) ^
  1855. ;opcache.protect_memory=0
      L# k( U. @% n
  1856. & o( C/ x5 a5 N! ^
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    8 A4 g. R, F6 x5 k
  1858. ; started from specified string. The default "" means no restriction1 O( Q9 E5 \0 ^) k% I7 _
  1859. ;opcache.restrict_api=/ I" k( g2 W8 A: M' j+ E

  1860. ; x* Q0 f9 \& Q/ {3 n
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP/ p+ ?+ v$ i  R$ a& Z/ r( ], B
  1862. ; processes have to map shared memory into the same address space. This! F7 M2 _% M; b  ~
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    9 X' f! ^  Y9 P  w4 b
  1864. ; errors.* P1 ]/ l4 o7 J$ d$ _0 z6 B. t
  1865. ;opcache.mmap_base=, B! ^$ h8 Z' W

  1866. * \$ ^0 W- K# w: D
  1867. ; Enables and sets the second level cache directory.8 A  W3 t; D: m' b3 A+ w& h
  1868. ; It should improve performance when SHM memory is full, at server restart or
    # r$ Z/ \9 O' L' z/ a, d
  1869. ; SHM reset. The default "" disables file based caching.+ ^+ U) c6 k& ?1 r
  1870. ;opcache.file_cache=
    / z2 V2 S( X/ Q9 ]& j- E9 U) I; y

  1871. 7 i, V+ c9 a4 n9 J3 e
  1872. ; Enables or disables opcode caching in shared memory.1 o0 r; a8 e7 H6 d4 ^( S8 {
  1873. ;opcache.file_cache_only=0
    - \+ z% P- S. S: B" G7 \/ H

  1874. % h1 j1 }, K  W- v5 t
  1875. ; Enables or disables checksum validation when script loaded from file cache.% k- ~. h) u1 J0 B
  1876. ;opcache.file_cache_consistency_checks=15 q" ~0 r. ^, c, g

  1877. 2 J1 U4 a6 g( f% x/ x
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to* `6 X2 @* d3 b2 \/ D9 S
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file1 J2 \# E1 S& O& T$ N
  1880. ; cache is required.2 o, h" q7 `5 o7 C" b7 z
  1881. ;opcache.file_cache_fallback=1
    / b" Y5 v: C& J+ b8 @! H7 B

  1882. 3 P' l9 t* b& Z  A3 \: J
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    9 ]/ \# E: K& p# l* p1 |
  1884. ; This should improve performance, but requires appropriate OS configuration.* f5 R$ C& W% i0 z9 Q/ j7 N
  1885. ;opcache.huge_code_pages=1( w; j2 D" B5 m! E

  1886. 4 w0 G$ u9 l4 C, ~  V  c6 I
  1887. ; Validate cached file permissions.
    , L; t# ~$ y) D* u6 P7 K5 e! g1 Z( A
  1888. ; opcache.validate_permission=0$ T) C, r) U' T5 z
  1889. 4 r2 q/ `1 r& Y
  1890. ; Prevent name collisions in chroot'ed environment.& x0 |/ D$ p* z0 p. v! _' i
  1891. ; opcache.validate_root=0
    ' o" g3 `) q  d" {! _8 u
  1892. $ H& p, U' [+ ^) D6 _) d4 Y( j( `
  1893. [curl]( e! J8 I& E. f% T
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    , v5 V" y9 V- b3 R1 z
  1895. ; absolute path.+ X; B! x2 p5 u+ J- D, ], o
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    & G8 x+ `: z  S; }' o
  1897. ; r1 k: E" {; W. `( N
  1898. [openssl]3 T8 M' x7 O( ^6 {1 }
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    ' d% F5 i$ a5 `" E1 o9 H
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    - \1 f% J0 w3 W+ W% U' }% o6 ]
  1901. ; not specify a value for this directive as PHP will attempt to use the
    4 {% I+ e' V3 Q  Z3 F# j! w
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    ! g- L% ~  o( R  P6 k0 H: e
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    , u% {; u1 u1 u; X' H0 g
  1904. ; option.
    4 V* ]- N2 u$ V' V7 ^
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt5 R7 S$ f. s2 \
  1906. / w7 k) p9 G4 k* t5 {" R6 o
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    1 s6 {4 {! d! X6 ?: g
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    4 e- l! Y/ a5 g* U0 o
  1909. ; certificate. This value must be a correctly hashed certificate directory.1 U- T1 e6 f' u0 ]! v8 p/ [6 }
  1910. ; Most users should not specify a value for this directive as PHP will9 a; G% k% y& G* X
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,' s  p* E, D) i8 T
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ' t, R' K8 A) ]5 r* t4 J4 T
  1913. ; SSL stream context option.
    7 k2 X1 y- L" T9 d0 e, n- s( Z9 V
  1914. ;openssl.capath=, J- T+ g# T9 N9 u; I1 G* P5 q

  1915. : ?/ \) _  r7 L% K
  1916. ; Local Variables:) H# |9 K, R* Q, X. g
  1917. ; tab-width: 40 Z2 M8 A+ H3 ^
  1918. ; End:$ W# k7 q; k& B6 _3 Q
  1919. # N& _* i* o% E% h
  1920. ;eaccelerator
    2 o7 e! k- F: E2 \  l3 K( r
  1921. # n. s* Q& m. e; {: @  Q
  1922. ;ionCube
    2 q' Q, ]  [' v8 |

  1923. 7 g+ [8 A" L8 u" m; E
  1924. ;opcache. F1 X- M( h( s, }; X" ?
  1925. 3 J$ k. m# f1 T
  1926. [Zend ZendGuard Loader]% t3 t) u, k) v1 Z- I
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    0 R- t* j6 O4 z/ p( N' i8 e& Y: i2 o
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so+ }. j2 x) \5 l# i$ W
  1929. ;zend_loader.enable=1! L8 w& o- T5 @9 n2 R3 N3 N
  1930. ;zend_loader.disable_licensing=0
    + M: k+ g( _, m* o9 J& @$ c( Z8 @
  1931. ;zend_loader.obfuscation_level_support=3
    ! _6 G! B3 f! |7 q1 Y* \* \
  1932. ;zend_loader.license_path=
    1 `, m, D& c+ e2 r& M0 \

  1933. : {" W6 s+ L% w) x8 R. |( R/ ~
  1934. ;xcache
    $ F, e: X' r$ ~" n1 Y! c4 P

  1935. + p; h0 h& Q2 H, K" U# S2 H) T$ }
复制代码

+ g& |( S' U0 m4 W7 {
! S) O: j! U% B
& T/ ]) h" u) i5 y. z# S5 l3 k+ T! ]7 F7 e1 K- o- o3 s+ h  u2 q
- H0 N1 _3 L0 B% \$ i* O# f5 T
/ l" Z0 Z, [( d1 |2 ^
& ^! j) K2 ]7 F4 w. d) T
PHP5.6版本原始设置
4 ~# ~9 v: `3 e' J
/ n' g& \8 \! a: ^2 R" D
  1. [PHP]
    , q0 ^) L6 `3 ?+ B3 u6 Z

  2. , X: ^  Y; Y6 N6 R9 N3 _
  3. ;;;;;;;;;;;;;;;;;;;$ T% K1 [- F4 v% k+ H1 M  F# a
  4. ; About php.ini   ;, M# \4 r) @( T& i
  5. ;;;;;;;;;;;;;;;;;;;
    6 ^7 A0 J1 L) h( _; P
  6. ; PHP's initialization file, generally called php.ini, is responsible for& `; v7 H) F2 T5 s
  7. ; configuring many of the aspects of PHP's behavior.: ~  E2 L1 \! s1 ~6 x) z/ q) f$ V0 n

  8. 1 u' x8 W# o4 V
  9. ; PHP attempts to find and load this configuration from a number of locations.
    3 W( }, D. B) \5 ^- @& Y
  10. ; The following is a summary of its search order:* P# P1 W, E) a! Q5 R4 j" z; ~- S6 A
  11. ; 1. SAPI module specific location.7 x7 ^$ t" w" Q' K7 B* U
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    9 }, N2 Q! b% u; B& a
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0), Z6 x; }$ F; |8 @
  14. ; 4. Current working directory (except CLI)
    6 t% n' S  {0 q; `9 {% A0 d
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP- j) J2 {  Z% N' n2 D- K6 i
  16. ; (otherwise in Windows)
    9 U( }; @) r- r% f5 D( U/ {
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    , B. l1 s; W0 _% Z$ T. \
  18. ; Windows directory (C:\windows or C:\winnt)
    ) Y! N: X) k  A% J' V
  19. ; See the PHP docs for more specific information.
    : ?+ D6 R) A( l. l$ m
  20. ; http://php.net/configuration.file* [8 Y( P; C$ m9 V2 B- S
  21. 9 z; ?3 U7 q* j9 ?: r
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ) e: J! r& i0 T2 s9 i& i
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    0 J/ o' {6 ]* X# |9 F8 W
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though0 `* o) c7 @' D2 I: q+ v& I2 {
  25. ; they might mean something in the future.+ ^6 I! {5 X. a' A
  26. 4 x) `& J4 n' f- h. v
  27. ; Directives following the section heading [PATH=/www/mysite] only* |! I& u7 X, X) \4 R6 k
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    7 \( y- ]% J% m9 R
  29. ; following the section heading [HOST=www.example.com] only apply to
    9 z& n* L4 `! @
  30. ; PHP files served from www.example.com.  Directives set in these, P; V, q5 x. g: f
  31. ; special sections cannot be overridden by user-defined INI files or
    4 E* ]& n0 @9 l7 |) z
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    1 m( ^% M1 G4 _  `! S# M1 c- ]2 N' B1 k
  33. ; CGI/FastCGI.7 ?* D% W# E* }  ~
  34. ; http://php.net/ini.sections9 G$ }* B+ h, G* w$ b7 e: }* O* h

  35. 0 ^6 }* k6 ^0 j0 B7 i
  36. ; Directives are specified using the following syntax:/ ?4 Z2 K4 J" H, U! ~
  37. ; directive = value6 ?, ^+ S! n% H/ y$ R! j
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.3 p* g% X3 U7 b/ E9 b
  39. ; Directives are variables used to configure PHP or PHP extensions./ s) b) b: ^. J; Z2 r/ |: X5 f
  40. ; There is no name validation.  If PHP can't find an expected" w8 V9 u8 y. o7 ~# Q$ N
  41. ; directive because it is not set or is mistyped, a default value will be used.
    . B1 N, j8 [0 G$ a

  42. ' {" v) Q6 v1 `
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one4 i! e. ?6 M! c4 C6 V
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression7 ^* ^# t, q/ ~8 b4 b
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    8 _+ \* W0 Y. K+ ~
  46. ; previously set variable or directive (e.g. ${foo})
    ) t, w& Q3 S! Z( p- L
  47. 4 a: F2 r" l% f: P# }8 W
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    / R! K% V: k- p7 A7 d7 v
  49. ; |  bitwise OR- V( O" t4 V# o; ]/ Y
  50. ; ^  bitwise XOR3 `- K( r% _* T3 b5 c
  51. ; &  bitwise AND' H! f2 ?' ]! z% m9 J& n) f# q
  52. ; ~  bitwise NOT$ A* x  z2 a+ W* U8 U" F
  53. ; !  boolean NOT) V& f0 T/ X$ t  l5 g$ X

  54. 4 a* L5 _" i+ ?8 U  @, ~  X
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.2 ]6 g: s; u' P1 C7 U
  56. ; They can be turned off using the values 0, Off, False or No.6 Z$ {/ \- v. W6 V4 U
  57. : e+ ]9 @8 r, y# L; f1 p
  58. ; An empty string can be denoted by simply not writing anything after the equal+ i$ I  p* F2 g2 n; y  ]" R
  59. ; sign, or by using the None keyword:* t( j, j3 l( }& x# z' o) v
  60. 7 w; B0 ~) r5 I, k, Q6 Y) D1 M0 c9 i
  61. ;  foo =         ; sets foo to an empty string
    3 D: v- z1 ~: Q. @% y2 f8 v1 e! l7 i
  62. ;  foo = None    ; sets foo to an empty string* Z7 `+ b( h) ]! V- ^
  63. ;  foo = "None"  ; sets foo to the string 'None'8 `) g$ o1 X! q
  64. . q1 a* `' A; B! V) L
  65. ; If you use constants in your value, and these constants belong to a
    $ N. `# d5 f7 x% f) [- C* W
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    % A+ `  D6 H/ w' k
  67. ; you may only use these constants *after* the line that loads the extension.) Z9 O, e; _* s( U. H
  68. 9 ^. g9 p; {* c# D
  69. ;;;;;;;;;;;;;;;;;;;
    & A; J1 V* _1 s% b# \3 H+ m: J4 N3 [
  70. ; About this file ;
    1 f% C5 E0 A8 i6 f! g
  71. ;;;;;;;;;;;;;;;;;;;
    " j( ?4 @6 U& \- E
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ; e0 N9 ^1 T. A1 J
  73. ; in production environments and one that is recommended to be used in2 Y" M6 e- ?# j3 Z7 E# d0 D9 E
  74. ; development environments.# |2 y3 F+ `5 j3 X9 ?% a3 A- J) I

  75. 3 _$ w, K  D( I
  76. ; php.ini-production contains settings which hold security, performance and
    % `/ v* ~; w& T/ O
  77. ; best practices at its core. But please be aware, these settings may break
    4 m! U, @8 b, @8 H
  78. ; compatibility with older or less security conscience applications. We
    / P  N2 H8 K6 u6 o3 L. `
  79. ; recommending using the production ini in production and testing environments.  d* [) D9 R1 V5 u; I7 S1 m
  80. ' x7 U! v6 O  e* N9 h' }' @
  81. ; php.ini-development is very similar to its production variant, except it is
    ; y1 {  M! ^, g) f" k
  82. ; much more verbose when it comes to errors. We recommend using the
    $ D. ~& k8 M& R! C  X) N
  83. ; development version only in development environments, as errors shown to
    4 J' G) I* m9 M4 H, L5 `; ]
  84. ; application users can inadvertently leak otherwise secure information.) I* M' T* P8 d" J
  85. 6 E& ?7 r" z8 J' l
  86. ; This is php.ini-production INI file.
    - i$ {8 c% p: S
  87. - C# S3 l$ J8 t& a
  88. ;;;;;;;;;;;;;;;;;;;
    . o; ?( c5 |+ n9 O
  89. ; Quick Reference ;9 T% w! ^; r4 |- ?" ]
  90. ;;;;;;;;;;;;;;;;;;;
    . n9 K1 e2 n2 x' B
  91. ; The following are all the settings which are different in either the production
    ; _" L3 m# X7 U! C6 b+ |7 z+ z2 V
  92. ; or development versions of the INIs with respect to PHP's default behavior.( g$ ~/ E: e) m% d# M, o* j
  93. ; Please see the actual settings later in the document for more details as to why) a+ C; J1 I! S! w0 c+ w2 F2 o
  94. ; we recommend these changes in PHP's behavior.
    6 D& u4 i' @5 P) d$ ~2 r

  95. 7 ^1 H2 r2 `/ t* {
  96. ; display_errors
    1 y! \# _) g. s: O
  97. ;   Default Value: On
    " ]7 C. |: Q5 u' t0 H3 R5 {! m5 N
  98. ;   Development Value: On. s3 ]4 F% b& b; k
  99. ;   Production Value: Off
    + Q" Q  m" G9 ?/ i& C
  100. ' C1 V& X  {+ x& R0 p1 Y
  101. ; display_startup_errors/ c. V6 X1 G9 u  f* T1 ?% s/ z/ V
  102. ;   Default Value: Off& V$ C/ Z% ]: |6 i: c0 ]
  103. ;   Development Value: On# S- K" \3 G! g3 o, v6 j
  104. ;   Production Value: Off
    4 t; ?0 _+ a8 V5 ~. ^
  105. , c9 Y* [; o+ d
  106. ; error_reporting5 ?2 g# @1 @- z# l( _) P
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    7 Q2 n+ i2 m3 K# V2 Y
  108. ;   Development Value: E_ALL9 ^, z4 K( I3 x* R/ W4 t( a
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    # j4 J( S9 s6 Z8 }( h+ X

  110. 7 k+ V4 z* N/ G+ ]# B) D
  111. ; html_errors/ q( m+ J7 U; F3 k2 S
  112. ;   Default Value: On
    / \* ?7 k" n! U& \$ d
  113. ;   Development Value: On
    - A' g' `! ]' H4 j8 |
  114. ;   Production value: On+ {8 A+ x3 M  M0 N& J! u
  115. 5 U7 F: X8 H6 x5 @" W3 i$ @
  116. ; log_errors
    6 u5 ]- d) V9 H* g7 W( a/ d# F0 z
  117. ;   Default Value: Off
    - m& B' E/ e, g% j. q; l: V  K  \
  118. ;   Development Value: On
    8 X, @$ j$ X, l' V7 o7 k
  119. ;   Production Value: On
    " n( ]# \, c) f% }( Y' e' E# }+ }

  120. ' Z9 O' Z* m% p5 \0 Q
  121. ; max_input_time* z5 Q& s/ r- [2 I* _' }
  122. ;   Default Value: -1 (Unlimited)
    , |2 a5 U8 s% ^2 B3 }
  123. ;   Development Value: 60 (60 seconds): a: G' i$ ?7 f4 O  P$ C
  124. ;   Production Value: 60 (60 seconds)- Y, U2 N* t6 |+ ^- O

  125. / P1 h: Z1 ?) ], Q" D
  126. ; output_buffering
    7 o9 H- d, G- P' m2 [# Y2 y7 w7 h
  127. ;   Default Value: Off( F! l/ a( r! v; a" }  g' ?7 \% s$ b
  128. ;   Development Value: 4096
      L+ f* D7 m% A) G/ k% Q2 M
  129. ;   Production Value: 40966 c7 L$ X8 E  p1 Y9 D) ?
  130. 7 P8 `0 w' g8 B6 W4 n$ J1 }
  131. ; register_argc_argv
    0 [7 \4 p# a2 u
  132. ;   Default Value: On: i: {- T# v1 ]
  133. ;   Development Value: Off
    ( d4 O. O+ k( ^9 w8 V4 G
  134. ;   Production Value: Off
    & B5 B3 f1 n; K
  135.   I2 f- E4 q4 \' Z
  136. ; request_order0 p% Y; U( Q/ V# O) n! k& J( M+ D; F, w
  137. ;   Default Value: None
    2 v# a0 x2 k2 t1 n7 f
  138. ;   Development Value: "GP"9 v% @( P# m( N# N; V
  139. ;   Production Value: "GP"
    ' R! I+ W  p0 T4 f0 P1 p+ i* T( W8 B
  140. : X& g' I6 k2 ?7 d* Q2 ]1 |1 M' A
  141. ; session.gc_divisor0 K$ t  r' Q. l+ e
  142. ;   Default Value: 100
    0 k$ O1 [( g7 p6 [5 v: S  \" w& w% u
  143. ;   Development Value: 1000/ j( K3 ]+ X' T6 @
  144. ;   Production Value: 1000
    6 Q/ c2 t2 i) @: D, `9 `
  145. 2 \$ d1 O2 ~1 f' f
  146. ; session.hash_bits_per_character
    ' i( L( F7 i' m2 a; N" i) A
  147. ;   Default Value: 49 p/ A, q4 D& `- C
  148. ;   Development Value: 5
    9 A$ S  v8 i" W$ |% l4 b
  149. ;   Production Value: 58 O0 a+ C& e: Y3 I
  150. . K# H/ X7 d# v* I
  151. ; short_open_tag' Z( s" `! @5 g4 N
  152. ;   Default Value: On
      P' W* S8 P0 p7 G: A
  153. ;   Development Value: Off# C$ X8 l" o+ f$ X0 |5 g
  154. ;   Production Value: Off2 M8 Z3 H8 v% l
  155. 9 R; ^* c0 q" K
  156. ; track_errors1 ]) L7 k, K* y! H0 j
  157. ;   Default Value: Off
    5 Q$ U/ i7 ^% z+ ^1 Z, @! v
  158. ;   Development Value: On. g. {8 G$ R9 F9 _  P; x5 Q: @
  159. ;   Production Value: Off. q6 C7 L' S0 U: F& g$ T, O

  160. 0 k0 @; O5 I: ]# {5 z" x
  161. ; url_rewriter.tags. a. |+ t0 w3 t! H, m# \; ~
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="" |$ c# \+ ^; ^  w
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      ]0 b* A: g. d' y
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( C. I* v, X+ @$ k. I, L/ I

  165. ( P: F- L. [/ U" W
  166. ; variables_order- w% U- D/ C8 C
  167. ;   Default Value: "EGPCS"
    4 o! j) @' Y  K7 c$ f) K# d
  168. ;   Development Value: "GPCS"* e, T0 Q9 G: M. {9 \2 Z: T3 p
  169. ;   Production Value: "GPCS"4 {' Q. z0 r, \$ m  t/ W; B* E
  170. 6 O, g3 P2 H* e, O( ?2 w1 C; H- U
  171. ;;;;;;;;;;;;;;;;;;;;5 W- X* j3 D  C! O1 u; s8 X5 e
  172. ; php.ini Options  ;
    # z$ X+ u, u" _" s% ?/ B
  173. ;;;;;;;;;;;;;;;;;;;;
    3 s) R9 A0 E7 W3 b$ \- E" k
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"' r- ~7 m% v  ]
  175. ;user_ini.filename = ".user.ini"
    % g: b+ t7 S/ N. ~' |# o8 U. `) U& C

  176. + m! i: R$ W" h5 ^
  177. ; To disable this feature set this option to empty value
    ( R0 w. _. c0 \) j1 ^
  178. ;user_ini.filename =! A; ?5 F0 H8 d

  179. 5 T; J$ I9 g9 e: @
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    / x# K( ~7 y+ b: {' @
  181. ;user_ini.cache_ttl = 3007 @* X, C. t. ]& Q& i/ t- y9 K

  182. 9 n# _+ i6 Z3 B: M: j4 k+ Z
  183. ;;;;;;;;;;;;;;;;;;;;
    0 Y1 e7 a7 M' a8 O; F( ~2 A* c' F
  184. ; Language Options ;
    7 ^+ U$ w- {# y6 h) i/ `( s: ?' C4 L
  185. ;;;;;;;;;;;;;;;;;;;;/ \0 t) r% J6 Y1 l' M4 `
  186.   S# p# Q/ D3 u+ U2 \9 y
  187. ; Enable the PHP scripting language engine under Apache.2 m# M- d4 Z7 ]
  188. ; http://php.net/engine
    ; d* Z  j( U( {9 p# ^, Y& T
  189. engine = On, N+ H) A# M; j% m! E
  190. : |# n7 u3 ~6 X& [" A5 D5 `; Z/ t8 s
  191. ; This directive determines whether or not PHP will recognize code between
    4 \5 e% {2 _5 I: p% [
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ! I8 d/ c' |# a! ~) [! Q
  193. ; generally recommended that <?php and ?> should be used and that this feature+ D0 u4 T; t  A5 ?& O2 p0 p
  194. ; should be disabled, as enabling it may result in issues when generating XML/ N5 N- U* I/ n7 m  {) }7 F
  195. ; documents, however this remains supported for backward compatibility reasons.) O1 r0 [( M! I" U
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ' _: J- j6 p# g
  197. ; used regardless of this directive.
    3 t7 y2 R5 o' s8 j" n
  198. ; Default Value: On5 l* M* `! [% l2 z1 z1 \
  199. ; Development Value: Off! Y+ Y8 E& q' \& i# v
  200. ; Production Value: Off2 K( ~$ _' Z! }  l( v
  201. ; http://php.net/short-open-tag
    + F% u/ U: ^2 u0 W  z2 D
  202. short_open_tag = On0 m7 \- ~* ^5 g+ t, O' m

  203. $ Z: d- g! `, t4 a
  204. ; Allow ASP-style <% %> tags./ t4 \) q0 {% B! Y
  205. ; http://php.net/asp-tags! D* F# E' G' f3 C& e/ G
  206. asp_tags = Off
    % d1 Q: i+ w3 r: B

  207. 4 e, {; R& d7 L# v
  208. ; The number of significant digits displayed in floating point numbers.
    & ^7 j  u; w  R0 Y
  209. ; http://php.net/precision
    $ t- H6 V, C7 Y) z
  210. precision = 14
    5 Z0 H  ]+ G+ w2 Z. i& d

  211. : W9 N- }: A2 G9 ~+ @2 r; I
  212. ; Output buffering is a mechanism for controlling how much output data9 ?/ C0 `. w4 S) L9 H. N
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    / d' J) |# n7 a7 }' Z0 p+ z
  214. ; data to the client. If your application's output exceeds this setting, PHP
    ' e& C, \2 i- h6 h, [
  215. ; will send that data in chunks of roughly the size you specify.
    8 y8 d* N5 X! `! t# u' Q
  216. ; Turning on this setting and managing its maximum buffer size can yield some! \  U( v1 ], {1 o. K- M) o
  217. ; interesting side-effects depending on your application and web server.
    $ V/ _/ X% L/ C7 w$ G5 m8 M
  218. ; You may be able to send headers and cookies after you've already sent output- L* w/ l+ Q  k' `9 x
  219. ; through print or echo. You also may see performance benefits if your server is  d# |5 ~$ w7 f8 c
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    1 m/ b' v! j- k  E' S$ `
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance3 h; B( h& `4 g9 a& b! o# t
  222. ; reasons.+ r* N! A( K, A+ A( o. {
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    1 ^- a3 S& }  I; P4 k
  224. ;   functions.
    * @( n* u/ n% l: P7 P
  225. ; Possible Values:
    * p* ]; u8 J! q- R' E7 E
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)/ u( K# p) F1 @0 y( g9 z! ?
  227. ;   Off = Disabled+ O2 h3 e, h) y6 Z$ P! N% j
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes., @% F' X8 I6 V: q
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ' m3 c. l4 Z* {7 W( Y
  230. ; Default Value: Off" r; n  p2 t9 r5 \3 u; [
  231. ; Development Value: 4096
    % v6 Q1 M% M2 g$ V* [; J8 j
  232. ; Production Value: 40966 w/ L4 V$ V8 K9 |
  233. ; http://php.net/output-buffering
    0 `# [, `/ Y7 c0 p% M
  234. output_buffering = 4096
    3 G! R; q) K* q" Z7 l: n% P$ f; v

  235. ( P2 @8 O2 s' s) X1 ?* B
  236. ; You can redirect all of the output of your scripts to a function.  For1 \+ ?6 b. f# _1 p; B( V6 ?8 G: l" `
  237. ; example, if you set output_handler to "mb_output_handler", character
    9 B+ U: g2 j$ o# \: D
  238. ; encoding will be transparently converted to the specified encoding.
    0 y& A* P: C! [5 W  x: g8 o# l$ v+ D
  239. ; Setting any output handler automatically turns on output buffering.
    / B$ L  D+ c0 B2 a4 }7 P
  240. ; Note: People who wrote portable scripts should not depend on this ini
    ( Q3 H+ J' k6 U9 n3 G7 g
  241. ;   directive. Instead, explicitly set the output handler using ob_start().. f% o' M! R& Z1 l+ U; f. h
  242. ;   Using this ini directive may cause problems unless you know what script( {/ `$ n) W" {6 ?4 R' R' ?
  243. ;   is doing.
    * v. k& j  ^  w- |3 Y/ E8 B
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"& e+ e8 \3 v: M8 n- M. @$ l4 }
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    " m2 N! L+ U; m3 Z! C
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    % Q$ f- u. F* O/ T+ t' y5 }. P! e
  247. ;   Instead you must use zlib.output_handler.
    1 e& x* ~) d) g+ X5 Z* @6 S1 Y% t
  248. ; http://php.net/output-handler
    * k4 e" E+ a4 D  ]; k6 {0 U2 @
  249. ;output_handler =' x" {6 U# z: r9 Z
  250. . L( g3 i9 k, D4 D8 L* N
  251. ; Transparent output compression using the zlib library) S. Z' v" P3 h" W' Z$ m( F
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ' }$ ?7 j- i5 I/ e: I/ }' U3 c
  253. ; to be used for compression (default is 4KB)
    3 N( q9 G0 p# X, q7 [# u+ L
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP% G7 b- q/ k  y) C: |; R/ y$ @
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    . ~, G7 |3 n) F: z2 R/ f1 h( g5 n
  256. ;   compression. If you prefer a larger chunk size for better
    # m1 o5 a( l! U! J0 j* Y$ A
  257. ;   performance, enable output_buffering in addition.0 i- ~  v8 I) N- e, x, i; T; M1 U
  258. ; Note: You need to use zlib.output_handler instead of the standard
    ( r3 P1 C5 |* s: i2 U6 ?9 l& Q& N
  259. ;   output_handler, or otherwise the output will be corrupted.9 L  f* I% Z& A* X- k5 ]) T
  260. ; http://php.net/zlib.output-compression
    - K: Q+ k% U1 z# T+ o, P6 B
  261. zlib.output_compression = Off  o5 p; Q- u- W$ y" Q

  262. - V1 X2 [4 l2 r% x% i
  263. ; http://php.net/zlib.output-compression-level2 ^4 o- b& O9 p$ M; i7 {
  264. ;zlib.output_compression_level = -1
    / V. m- A, T' u

  265. ; I' @+ c. b# Q5 p% R
  266. ; You cannot specify additional output handlers if zlib.output_compression
    ! R" b( C1 u( g/ j& Y& H3 ~
  267. ; is activated here. This setting does the same as output_handler but in  T4 c7 J5 h$ v
  268. ; a different order.$ f! v$ s. U; U- M' y; x, V& e/ S
  269. ; http://php.net/zlib.output-handler* s. p9 ~' b4 F9 u9 b! A
  270. ;zlib.output_handler =
    ; s2 i) _6 e" [9 B7 o
  271. 1 ^& e( y! |0 I
  272. ; Implicit flush tells PHP to tell the output layer to flush itself8 R% N; R( F7 C1 O) d) x! o: m; R, k) ?0 Y
  273. ; automatically after every output block.  This is equivalent to calling the( E) `/ Y, o1 m  S. ?
  274. ; PHP function flush() after each and every call to print() or echo() and each  v& J2 {. r6 r" w
  275. ; and every HTML block.  Turning this option on has serious performance9 g4 a5 K+ u9 a! c/ u
  276. ; implications and is generally recommended for debugging purposes only.0 T# v- ?, A0 [5 s
  277. ; http://php.net/implicit-flush7 q6 M. ^0 ~' W0 T  ~2 C
  278. ; Note: This directive is hardcoded to On for the CLI SAPI+ @6 F3 R, S. P- C
  279. implicit_flush = Off% ?1 r1 \; r; @

  280. / {0 M- w2 I$ |1 R/ p. j7 [* x
  281. ; The unserialize callback function will be called (with the undefined class'. e: o2 }, j; W. T0 A6 g
  282. ; name as parameter), if the unserializer finds an undefined class
    8 q, Q5 I' g3 j# |% O& t, v) e, _
  283. ; which should be instantiated. A warning appears if the specified function is& y. b& W3 [6 I7 y9 Q" \/ o
  284. ; not defined, or if the function doesn't include/implement the missing class.
    " R) S/ P8 U3 O9 |" G
  285. ; So only set this entry, if you really want to implement such a
    , \6 {, A( z2 Y8 \9 _
  286. ; callback-function.' J) |* R+ `- y/ Z0 t$ R- L1 u
  287. unserialize_callback_func =6 K3 d, C$ R; y) l# m

  288. ; p# o( r& T6 s) E
  289. ; When floats & doubles are serialized store serialize_precision significant. v" q8 `2 c7 g  R- \
  290. ; digits after the floating point. The default value ensures that when floats3 }% `( v  t3 }2 |4 b4 Q- Z4 M% }
  291. ; are decoded with unserialize, the data will remain the same.
    ' Y; E# Q% Z+ q8 W7 Z2 P" v3 T+ ~
  292. serialize_precision = 176 H) n9 [3 V$ W+ L4 l/ H9 A
  293. 4 A! F1 V# i( ^/ F* \9 y  m/ @
  294. ; open_basedir, if set, limits all file operations to the defined directory
    2 q4 R+ X- y/ u1 b9 i+ b+ y/ O
  295. ; and below.  This directive makes most sense if used in a per-directory
    ; A0 D5 M, u+ C3 z4 n7 ^# e
  296. ; or per-virtualhost web server configuration file.
    - y/ w; ]" O5 q* Z
  297. ; http://php.net/open-basedir! Y" I- T1 K5 o( C
  298. ;open_basedir =+ A8 M& \: b7 Q7 u

  299. ' m% g& o; n. n' g* E$ A' K
  300. ; This directive allows you to disable certain functions for security reasons.5 m; P( A# }8 ?" I. G6 o
  301. ; It receives a comma-delimited list of function names.
    7 ?  O$ ]7 F+ Z8 ?) M$ d. c
  302. ; http://php.net/disable-functions
    # C9 F4 M6 m5 i
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru* u$ U. x/ o+ ~3 I- h" h( q
  304. ; [* B6 X) c  {" L
  305. ; This directive allows you to disable certain classes for security reasons.- s& F) S, K6 S+ K7 }. C: F$ ~' ?7 V
  306. ; It receives a comma-delimited list of class names.
    ; p$ ]( T. z5 }4 J
  307. ; http://php.net/disable-classes9 B' l7 N/ H  F5 p: \
  308. disable_classes =
    , L5 U; h0 C) L" x/ L7 _
  309. # Z; C5 h9 F& d6 x/ M
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in9 l5 \' k7 r- o- ~) y2 L
  311. ; <span style="color: ???????"> would work.
    3 c. y: p5 |$ O6 h: m3 B7 h! o, R: l
  312. ; http://php.net/syntax-highlighting
    1 h* w; |4 l% q! c2 p; `
  313. ;highlight.string  = #DD0000
    : x; W) e7 l9 m7 q& o1 o% e, e  [
  314. ;highlight.comment = #FF9900
    / D# S6 l3 [  A: D5 z6 C0 h; Q0 A' g; h
  315. ;highlight.keyword = #0077004 T& t9 A6 K8 R- G8 R
  316. ;highlight.default = #0000BB
    + `! H, a- s8 G- h4 h
  317. ;highlight.html    = #000000
    2 s6 d) `7 d; _* r# Z( P6 O) ^

  318. & Q7 j1 t1 F; e7 W) N1 E
  319. ; If enabled, the request will be allowed to complete even if the user aborts2 R# S3 j! l; Z2 n
  320. ; the request. Consider enabling it if executing long requests, which may end up
    % }  w' {' H# b4 S. M* R6 P
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior" @! l2 v* |4 U! `7 p- s/ n
  322. ; is to disable this feature.
    ' o; x/ K  s4 o4 K6 @
  323. ; http://php.net/ignore-user-abort$ [5 g6 p" w- H; k* }
  324. ;ignore_user_abort = On0 T% w( P$ Z( ^' h/ Q4 u" c: f

  325. - W" U) h7 d3 Q2 J
  326. ; Determines the size of the realpath cache to be used by PHP. This value should7 d' i0 g5 J% h# z  d. D
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    0 c) Y0 X- g% A  K5 T" a5 I1 f
  328. ; the file operations performed.
    / ~8 U. Y7 t7 G3 H8 i/ g
  329. ; http://php.net/realpath-cache-size
    ' k) F5 M* h8 y  N1 `
  330. ;realpath_cache_size = 16k
    " b6 ?$ I/ b& z4 n1 e! c

  331.   _& A# l' O  }6 [. v
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    ! d' Q+ a+ B0 W
  333. ; file or directory. For systems with rarely changing files, consider increasing this  M4 I8 U0 Q4 b: |
  334. ; value.
    , ?2 h7 @, [8 s1 L( j
  335. ; http://php.net/realpath-cache-ttl
    , A7 r9 a% Y% M7 i5 B
  336. ;realpath_cache_ttl = 120
    - Y6 k  a/ k8 b1 _6 _3 h" t9 I

  337. 9 @' }* u8 P6 a
  338. ; Enables or disables the circular reference collector.
    + W% J: i9 q2 @" x6 ]
  339. ; http://php.net/zend.enable-gc
    . ~' B1 C8 w8 {, F* w& g
  340. zend.enable_gc = On
    - m& Y" y- `% L2 G0 j4 s

  341. " y) j7 G. U* m+ o6 o; _
  342. ; If enabled, scripts may be written in encodings that are incompatible with, s& M8 l% [0 b) e0 z, b
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such# D) }6 V, n) K- o* G) {
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    6 O) V. T: [6 G' A9 P
  345. ; Default: Off
    $ f# L* I  b$ \( b' E
  346. ;zend.multibyte = Off
    * P8 g3 L/ c4 R" Y' P

  347. 3 T# M- u( D$ ~, m+ S
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    8 j) n: ?" b% W  e! _' m
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    / c, \2 D1 A& ?( i& N9 L+ S# W
  350. ; Only affects if zend.multibyte is set.& b' R* W# R! t$ j
  351. ; Default: ""  u+ n7 \! j* z! b+ z- }
  352. ;zend.script_encoding =2 J, @% P7 B8 c
  353. 2 h/ t: U$ w( Q8 p
  354. ;;;;;;;;;;;;;;;;;
    - P3 z/ R) l# a4 Q8 x" y, f  q
  355. ; Miscellaneous ;6 t; o$ Y# t+ q9 \- h
  356. ;;;;;;;;;;;;;;;;;
    6 |6 D( {/ H( p: A: N1 R' J

  357. 6 y5 g1 E/ m( j. M/ j
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    . _9 j$ G1 r% O8 W& J5 \3 j( [& A" l! |
  359. ; (e.g. by adding its signature to the Web server header).  It is no security- K7 i0 t- t4 Z" b  ?* a
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
      m7 j/ i. }; a
  361. ; on your server or not.: K7 |" z6 P9 a: n; |6 G  E
  362. ; http://php.net/expose-php
    * R7 M( e  A% B1 h
  363. expose_php = On( n2 t1 P* q5 G2 ~/ {! ]

  364. 3 `$ I2 O! Z/ K/ c( k
  365. ;;;;;;;;;;;;;;;;;;;
    5 x8 K+ P2 g6 E6 ~/ G7 G( w+ a
  366. ; Resource Limits ;
    3 W& A& _% V8 T5 `2 R) _
  367. ;;;;;;;;;;;;;;;;;;;
    ) g: P% I- Q6 S; z5 p- d2 `
  368. & |, P% h4 X/ V& D/ d* a6 U% _
  369. ; Maximum execution time of each script, in seconds" {& m, V* ]8 ?, j6 g0 w
  370. ; http://php.net/max-execution-time, N& c2 a$ V( u" R! \
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    8 J1 O/ G' l" n9 T0 r
  372. max_execution_time = 300
    , K5 s3 s3 ^8 J! t+ n

  373. " M, Y$ u; y( l) W, }0 @
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    7 h2 N) h8 c! e
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly# z. P/ v4 j( t5 ?; {
  376. ; long running scripts.
    - X  G0 ?3 y, O4 ~& Z# @: w
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    . r' W  P2 q1 X
  378. ; Default Value: -1 (Unlimited)) y) Q* x! z2 |2 `1 A9 H
  379. ; Development Value: 60 (60 seconds)# D9 ]& s7 |% l& B; i
  380. ; Production Value: 60 (60 seconds)
    " W9 |- S1 C" {& ?
  381. ; http://php.net/max-input-time
    & u7 h' y: B" `5 O* n
  382. max_input_time = 601 p3 ]8 j5 t/ f- l! p

  383. - }3 o* }( ]0 q' z4 f- f+ B. T
  384. ; Maximum input variable nesting level
    & b  O+ W0 n- u5 [
  385. ; http://php.net/max-input-nesting-level
    $ m  f/ x. h/ E4 y, ^
  386. ;max_input_nesting_level = 64
    ! m9 `! i2 k2 S7 V9 {0 y) R

  387.   K! ]2 H  _3 m, P
  388. ; How many GET/POST/COOKIE input variables may be accepted2 w; ]6 y9 U/ ^& l" `0 `* N. ]' t/ l
  389. ; max_input_vars = 1000
    & @# J& [* z$ j5 ?1 l9 T5 \" h

  390. 8 n; h. i  O1 V! O7 R
  391. ; Maximum amount of memory a script may consume (128MB)7 \" U0 e/ r3 l
  392. ; http://php.net/memory-limit" @* J) U( O+ D' P; A1 \# a
  393. memory_limit = 128M
    & _$ h; C' O" y; O
  394. / J$ B; j1 j6 K0 a; S' @" O8 v
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    : }5 W$ M- h! d: ^6 u* g- B9 e
  396. ; Error handling and logging ;5 V$ F& p: C+ ]
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    % I: i' q7 N3 f$ U
  398.   w! C/ B. X% p+ Q1 O
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    % [% [, N6 \9 x) m0 B
  400. ; it to take action for. The recommended way of setting values for this
    % ^- K2 Y2 Z4 W! B5 s, Z/ Z/ b
  401. ; directive is through the use of the error level constants and bitwise7 m! u3 R" _7 c% w! ~2 v$ |6 @2 k$ L0 [
  402. ; operators. The error level constants are below here for convenience as well as% c  |, U& J" z, X4 ~
  403. ; some common settings and their meanings.
    ' |& L  `' l4 S8 p$ E
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ; Q8 q: Q9 c) k) H7 i
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ' H" ~+ F0 Z* v! d$ F
  406. ; recommended coding standards in PHP. For performance reasons, this is the2 ^( S2 s  S8 e2 Q- h' P* f9 b/ s& H
  407. ; recommend error reporting setting. Your production server shouldn't be wasting# J' R3 d, \2 U5 r' z
  408. ; resources complaining about best practices and coding standards. That's what
    8 d5 R* @  i7 R+ w9 Z' h% Z
  409. ; development servers and development settings are for.
    6 q+ `0 d; ^" f  {7 i
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    - L, @7 @7 F8 O' V7 J0 `
  411. ; means it pretty much reports everything which is exactly what you want during
    ) Q. T$ ^6 A# U9 ?! G  J1 ^% R
  412. ; development and early testing./ F* Z2 ]( N. W) i. K  h9 y
  413. ;" K8 O- b  H+ s0 s& k
  414. ; Error Level Constants:" N2 w+ s7 j  W. g
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    / y1 R; ?3 q" I% c
  416. ; E_ERROR           - fatal run-time errors
    * r$ d9 {; @1 j- O3 l7 J, i
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    / t. x% f6 D; G( O. E+ u
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    2 |' E6 Z) K4 x' B: X
  419. ; E_PARSE           - compile-time parse errors! T. H! l1 a# X7 O& P7 f
  420. ; E_NOTICE          - run-time notices (these are warnings which often result9 q; a, v2 o* {% D2 k# r
  421. ;                     from a bug in your code, but it's possible that it was. `) X# U8 ~" `7 X1 z2 ~
  422. ;                     intentional (e.g., using an uninitialized variable and+ j5 k2 B+ j4 L# Z$ E
  423. ;                     relying on the fact it is automatically initialized to an) V# m" Z, \$ y+ z
  424. ;                     empty string)0 M  d) w' @5 d. {% z+ _% r
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes. h" U, W  {, O* O; u( G
  426. ;                     to your code which will ensure the best interoperability/ c# V5 T( N+ C9 H) S
  427. ;                     and forward compatibility of your code8 m5 ?$ F# g" h1 w
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    5 ^% V5 L* B8 h3 A3 C" B* X6 a2 @
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
      I$ H$ L5 g+ c8 z8 p
  430. ;                     initial startup" O% e; H* h7 ]2 g! H
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    , `1 A5 g  ?$ h2 m4 [% z
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    : }4 B& N7 {  T; g$ w* B7 {* |
  433. ; E_USER_ERROR      - user-generated error message4 ~9 u# J! ]( F1 U% [8 y" i
  434. ; E_USER_WARNING    - user-generated warning message7 b" W( F3 X* q; G, T2 S* y9 }
  435. ; E_USER_NOTICE     - user-generated notice message
    # U/ j$ v0 ~& l# v  L
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    , t. A: P. I0 L! k9 ?# Q" N* ]
  437. ;                     of PHP! \3 c2 @$ ~0 E) @3 r) H2 [; u8 R
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ' y* |6 I8 U; r) T6 L  [
  439. ;
    ; s! L, Q6 _8 a2 m  {' E
  440. ; Common Values:" w& {3 l' k) R0 G& v
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)7 U4 R2 ]. g6 |! A- N1 q1 N5 a' ~, E' W
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    & n+ l& ~+ z- c2 b, b5 n
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)4 o& n: {$ X4 f+ P0 H! ^/ C( D
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)& q8 V$ i+ Q$ H& w* Y6 @0 K
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED0 B" c( ^6 p6 H8 k; f* p
  446. ; Development Value: E_ALL5 V) y$ H9 `; C; ?1 P+ B% F6 B8 h
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    * u8 j$ f% F& D6 }- {6 ]
  448. ; http://php.net/error-reporting, z6 E& r: Q/ S: k
  449. error_reporting = E_ALL & ~E_NOTICE1 I* {& `) e  K! I, ~
  450. ( G- J( u6 Z" ]3 c% V# p! ~
  451. ; This directive controls whether or not and where PHP will output errors,
    # ~3 X: p8 M! p/ y& [
  452. ; notices and warnings too. Error output is very useful during development, but! U* C2 @: p4 ?* F7 B
  453. ; it could be very dangerous in production environments. Depending on the code
    ! y: H. _! ]7 N- O/ C
  454. ; which is triggering the error, sensitive information could potentially leak
    - s6 g! C2 f- R; f# A: {
  455. ; out of your application such as database usernames and passwords or worse.* V5 f( \( X, i  n5 ?
  456. ; For production environments, we recommend logging errors rather than" s2 P* [. G) E5 B
  457. ; sending them to STDOUT.
    5 }" W* [3 r# u- z: N" P
  458. ; Possible Values:
    + @/ Z. ~, m/ R- c
  459. ;   Off = Do not display any errors4 w, d& @7 n2 u
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    , n" [) _$ L* s
  461. ;   On or stdout = Display errors to STDOUT
    5 ?+ g6 n% d) [- C8 V1 l
  462. ; Default Value: On. Z" |- F: m! P) h
  463. ; Development Value: On! A* S; B, G0 O+ O+ k
  464. ; Production Value: Off
    - I& `6 x6 \3 C  e7 H0 s8 v) e
  465. ; http://php.net/display-errors: w1 W* _, |3 h
  466. display_errors = On
    $ s4 ]; x( {* ~. b5 n" ~

  467. ! d( G" ?$ |* d, z3 ~4 }
  468. ; The display of errors which occur during PHP's startup sequence are handled
    + w2 f5 s1 G! g& M
  469. ; separately from display_errors. PHP's default behavior is to suppress those2 X7 z3 O: R7 ]2 Z) L
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    , i! M& U; d# e1 ?/ q; r
  471. ; debugging configuration problems. We strongly recommend you* T9 U1 {& z' |0 B' o2 @: w
  472. ; set this to 'off' for production servers.
    ! P* r& B9 s' _4 l6 {3 r+ v
  473. ; Default Value: Off
    + H; ^. \/ U* f5 n4 e
  474. ; Development Value: On
    # g: j3 m  {8 r7 ?
  475. ; Production Value: Off8 y! k! e) Z8 O3 w8 i- e/ R/ ]
  476. ; http://php.net/display-startup-errors
    % F5 Y8 U7 `# ?( k! r8 E
  477. display_startup_errors = Off! H8 \: S, K  s

  478. 9 `( I2 @6 @: J: P- r! x( X
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    & f3 ^3 t1 {8 X+ }9 _  k& X3 e
  480. ; server-specific log, STDERR, or a location specified by the error_log, ?" Q  D9 m: I2 l! k8 n
  481. ; directive found below. While errors should not be displayed on productions
    / u7 ^! G3 i: y8 B$ W) Z
  482. ; servers they should still be monitored and logging is a great way to do that.
    + S7 D* m; R2 S! l5 s. o* r! r4 j, Y
  483. ; Default Value: Off
    3 z* s7 @2 H0 N
  484. ; Development Value: On
    0 K' i/ i& B8 G0 [
  485. ; Production Value: On
    0 H/ g- z' O3 e- m
  486. ; http://php.net/log-errors
    % l1 B- E- P) N7 `
  487. log_errors = On, w3 s7 }- @% O+ ~: u, j( d
  488. % k( ]$ ~# y" L+ w! e
  489. ; Set maximum length of log_errors. In error_log information about the source is
    - W/ h0 [: y, U( e# i* o
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.7 r+ W" H! i- N' I' G) \
  491. ; http://php.net/log-errors-max-len- Y* D* z+ @8 _2 A
  492. log_errors_max_len = 1024" Y0 K+ J  S; R+ H
  493. * ~" F! F  U# N6 b  `
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    & O& V0 K1 k9 N1 q
  495. ; line unless ignore_repeated_source is set true.. P& D: L  }; K, r8 |9 @/ `. s
  496. ; http://php.net/ignore-repeated-errors) V* H% I2 F0 c0 r
  497. ignore_repeated_errors = Off# ?- j( @* R& |; n) w6 H6 V
  498.   ^, `4 s( _0 }; D
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    , G- _( @( R- J' [5 R5 p$ O6 U! G6 L
  500. ; is On you will not log errors with repeated messages from different files or/ }& A4 Y  D9 I5 Y0 }* o7 r- z
  501. ; source lines.  A% R* q5 F0 X
  502. ; http://php.net/ignore-repeated-source
    / i$ x7 f: K, y! H* V- G
  503. ignore_repeated_source = Off8 F  n3 V3 `! i  X0 f

  504. $ {, m  z' m+ D" V8 ^! A5 h0 E
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    2 W3 ~5 E5 D; B7 Y9 H
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    8 d% n+ t3 _7 ^' v( E+ a
  507. ; error reporting includes E_WARNING in the allowed list
    * {+ ]1 n( c4 k9 y" u& B; F
  508. ; http://php.net/report-memleaks6 h3 ^% \+ _+ x6 J3 g
  509. report_memleaks = On
    + z. h& J. U* H# _7 M4 `5 S1 y; ^
  510. # B8 \* g. x9 K0 q; V5 Y
  511. ; This setting is on by default.  b" V+ _% X5 O$ \8 T2 y- r
  512. ;report_zend_debug = 0: j. ~9 s# j. C/ R
  513. : t% X; m- t$ }9 ~) B  a
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    0 Y- V: ~- o9 ~7 {5 H4 m/ o# }
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ! C$ a0 a, ~8 P3 o& @- m
  516. ; however be disabled on production servers.
    % E, N3 x8 ~2 S3 ^" m2 a2 `
  517. ; Default Value: Off
    * @3 x' J' v6 J4 P) J0 \
  518. ; Development Value: On
    : `7 R, A% W2 y+ f: ^
  519. ; Production Value: Off
    ' F# B: n% Y, c: G. l0 _
  520. ; http://php.net/track-errors
    " \# [9 Q) A$ E3 s/ a2 s4 C
  521. track_errors = Off
    % s6 E  O9 E- ?, z5 k% ^

  522. ( v3 k' t9 v3 y2 ~( c: {* l5 [2 E
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    - u- @6 O0 b. F3 _, o7 I
  524. ; http://php.net/xmlrpc-errors
    ! }/ y9 ~2 m3 g  j  |0 \! y
  525. ;xmlrpc_errors = 0/ l, x: M. h  q$ O3 _, V7 Q

  526. ; K" Y& k( M  N6 D; x! {7 W
  527. ; An XML-RPC faultCode1 T# M) e/ }& V5 j: v# I4 I/ T
  528. ;xmlrpc_error_number = 06 Y6 j( `8 c& O+ u. a+ g8 F. u
  529. 8 E2 Z+ Y; S, x& j
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    % B. B) M/ d. s4 M/ a' g4 P  B/ J
  531. ; error message as HTML for easier reading. This directive controls whether" z+ a% q6 C) A0 F' g- I
  532. ; the error message is formatted as HTML or not.: y2 }* H* k' S; n$ o6 l
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ) {( f& h" r; ]3 {0 x
  534. ; Default Value: On
    # h- M7 a, t, D7 D1 p7 O6 @
  535. ; Development Value: On
    " i( M0 u2 N! s# q+ N
  536. ; Production value: On
    ; w" ^# y" `8 I) k8 E2 f
  537. ; http://php.net/html-errors' j& M" v/ s' |  S7 k  N1 o0 S
  538. html_errors = On5 \5 a( q8 _6 o+ O
  539. ' Z( u, E, x  [" E0 W& Z
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP4 I: |6 J- O: ^3 q7 _3 R
  541. ; produces clickable error messages that direct to a page describing the error% E: T) w- S4 t9 O
  542. ; or function causing the error in detail.4 S/ n( j+ ^' J( v8 ?/ R
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    5 }* ^$ F+ A+ f& y$ y1 `$ U6 Q4 l
  544. ; and change docref_root to the base URL of your local copy including the
    6 j0 h( U+ }( A) @8 k8 k8 N' ?
  545. ; leading '/'. You must also specify the file extension being used including* [6 N6 c5 v4 `# Y: I4 r7 l
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which) v! j$ L4 g( m3 o! X1 ?4 f$ `
  547. ; case no links to documentation are generated.
    * ?/ w' E) D$ I! \4 I# f  s6 s: N
  548. ; Note: Never use this feature for production boxes.
    . P+ l4 C. w8 C) s4 U; H
  549. ; http://php.net/docref-root" g/ |% c: z+ y* s/ @
  550. ; Examples, k1 s, u' u: q8 I/ S# M1 x. o  e3 r* x
  551. ;docref_root = "/phpmanual/"
    5 N2 O: K; [) Q. e# ^# m: W

  552. ; a7 j. G! W" W9 P& \6 d: k
  553. ; http://php.net/docref-ext
    $ C3 g0 E0 o% I- N4 k% [
  554. ;docref_ext = .html
    ; ]3 j- B8 H5 Q- S) b
  555. ' |, h+ {+ G) t! P
  556. ; String to output before an error message. PHP's default behavior is to leave  s& L5 _; c6 @
  557. ; this setting blank.( u2 c8 j) t+ {# P
  558. ; http://php.net/error-prepend-string
    + T! B4 V/ ~- k6 q4 ]: B
  559. ; Example:8 |, W% F$ j$ C; a* p' Q" Z3 N
  560. ;error_prepend_string = "<span style='color: #ff0000'>"* R4 @, C% M( b' o4 R$ R
  561. ( A& O! I4 j6 ?3 s8 P0 E
  562. ; String to output after an error message. PHP's default behavior is to leave- I0 X+ O' L  Z
  563. ; this setting blank.3 {5 G, w2 p$ T, ^; g0 _% _0 q
  564. ; http://php.net/error-append-string( m$ t9 s, t) x1 `
  565. ; Example:2 U* S0 h/ D* d4 q/ I9 C! Y. k
  566. ;error_append_string = "</span>"
    0 \$ N, e3 @0 H% V5 ^$ z
  567. * |' t( X# o& ^. w2 g
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    5 Q$ [) ^% N( D" \" a8 m$ n0 f
  569. ; empty.
    4 R+ J2 A9 L% Z: ~8 s" `8 Y0 v
  570. ; http://php.net/error-log
    ! A# g! |% s  F7 H: k
  571. ; Example:
      Z" j2 d9 k- b. u
  572. ;error_log = php_errors.log
    # R- g% ?9 x) j$ }
  573. ; Log errors to syslog (Event Log on Windows).
    9 c5 m- J: m% v; f/ t
  574. ;error_log = syslog0 d# U. h3 w- `* H; @
  575. : f: V( q, g/ b
  576. ;windows.show_crt_warning
    1 F8 J* k2 f5 c4 \8 G- k# g
  577. ; Default value: 0
    ; ^4 p7 l! d: v$ }8 D3 g- s* }
  578. ; Development value: 0
    0 j' D" Z, [- L4 i; V8 s# |
  579. ; Production value: 0! s1 \4 N# `3 l; o: d. M* s
  580. ! I' C0 \! O2 n% x& _1 P8 i  ~
  581. ;;;;;;;;;;;;;;;;;
    7 R3 ]; K# ^, p+ B5 l4 `
  582. ; Data Handling ;
    / ?1 u4 R# g5 p3 B
  583. ;;;;;;;;;;;;;;;;;' B6 I1 E$ \" g7 S% H6 `
  584. 9 Y- G3 S4 W; C" _& U7 d8 z
  585. ; The separator used in PHP generated URLs to separate arguments.
    0 D0 Q" ^. A: j% I/ A5 u8 H% v
  586. ; PHP's default setting is "&".
    ! j; p# ?6 c  A/ q# b9 s, |
  587. ; http://php.net/arg-separator.output
    ) H: @" l1 W, _$ ^
  588. ; Example:
    2 J6 q& \( A3 J  U% Q
  589. ;arg_separator.output = "&amp;"! D. q9 F& ~$ U" F/ \8 f

  590. $ o: [4 W3 Z! N/ g0 |1 O+ G) H
  591. ; List of separator(s) used by PHP to parse input URLs into variables.- E# v$ a8 b7 D5 e+ W( Z9 [" C
  592. ; PHP's default setting is "&".7 w) q: ]% T7 n! v/ S
  593. ; NOTE: Every character in this directive is considered as separator!$ R1 i# q0 d" r8 D7 Z5 C4 n
  594. ; http://php.net/arg-separator.input& z! b) S/ }8 M0 Y. C! J/ r
  595. ; Example:
    , ]% h. |7 ?0 Z5 c  ?  s- J
  596. ;arg_separator.input = ";&"
    3 {" B9 W; ?8 c+ H
  597. : Q6 i# S! r4 ~/ ]/ P
  598. ; This directive determines which super global arrays are registered when PHP/ ]) K! h' u; Z0 Z. @( a$ d
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super0 L- y: x0 Y& @3 w7 J8 E6 p
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    / H) w) P/ f8 g: [! p
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    , z% U' d6 R7 ]  h8 V3 ?
  602. ; used as the others, ENV is not recommended on productions servers. You5 |6 {. n7 }/ e4 J9 K
  603. ; can still get access to the environment variables through getenv() should you
    # S+ f) V0 M) n
  604. ; need to.: N9 U9 V2 n% r6 A) W. R
  605. ; Default Value: "EGPCS"
    - l7 M6 A2 G+ R0 G0 t4 i
  606. ; Development Value: "GPCS"; ]# N4 l. x( b% c
  607. ; Production Value: "GPCS";
    7 E" H! @/ P; U3 o
  608. ; http://php.net/variables-order3 n2 b- C7 K! y2 q+ {& G
  609. variables_order = "GPCS"
    . Y; y: w6 E" K+ Y% a7 E
  610. : c. x) l  _- w0 @- }1 T9 |8 J
  611. ; This directive determines which super global data (G,P & C) should be
    0 Q& _1 K' u3 |" Z3 k+ Z
  612. ; registered into the super global array REQUEST. If so, it also determines) G3 P; M: Z" Z
  613. ; the order in which that data is registered. The values for this directive  R" @* u" D# ]3 X& b7 S) G: B
  614. ; are specified in the same manner as the variables_order directive,2 `! r  M4 |8 ?" {' d
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ; p% b" z( r0 L) O
  616. ; in the variables_order directive. It does not mean it will leave the super
    ) y2 c3 \9 {( G* X& x! O
  617. ; globals array REQUEST empty., U+ z3 [  D' J$ ~  `
  618. ; Default Value: None
    9 h2 k1 V8 ]. {2 B& U
  619. ; Development Value: "GP"
    $ F! ?: y# R, y
  620. ; Production Value: "GP"
    + y8 @+ Y/ F8 ?: d9 W- A, E
  621. ; http://php.net/request-order
    % D4 o2 g- F& b4 P) g7 W/ c, a) S% ~4 v
  622. request_order = "GP". \( k1 x& R( Y$ n

  623. : E" G' V+ l/ h0 e1 z# X/ `
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    4 f0 H! w" ?; R, J) ^
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script; e" ]0 F4 z& E# u6 `
  626. ; is invoked. $argc contains an integer representing the number of arguments" K6 ?6 o/ t+ K5 H
  627. ; that were passed when the script was invoked. These arrays are extremely
    ! b" e; c0 p/ Y9 {$ s+ F# Q6 |
  628. ; useful when running scripts from the command line. When this directive is
    6 H& @3 l# A2 ?: Y; ]- m' a
  629. ; enabled, registering these variables consumes CPU cycles and memory each time" d& R( [2 }6 w8 J; `( E. m' m
  630. ; a script is executed. For performance reasons, this feature should be disabled
    0 z; b; u* ~$ M* L: B9 \0 L
  631. ; on production servers.
    ( f/ }  c- B4 r! L9 b2 H
  632. ; Note: This directive is hardcoded to On for the CLI SAPI7 k/ k! k) H2 \/ e! y
  633. ; Default Value: On. H! a/ l! [% E  G
  634. ; Development Value: Off
    7 d  W5 I4 P* w; t1 p2 a) S
  635. ; Production Value: Off
    ; E1 s* m( N" W' h) p
  636. ; http://php.net/register-argc-argv
    * W' X' a8 y' ~3 L! b
  637. register_argc_argv = Off; R7 R# U" D( |) v
  638. ) Z% [7 G9 I7 i. O+ [& L8 Z
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    4 D- ?1 M$ ]/ [" E  r
  640. ; first used (Just In Time) instead of when the script starts. If these$ I6 y% y) G: }. l% X8 ^
  641. ; variables are not used within a script, having this directive on will result$ a7 e6 i/ D* [# O
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled! h) ]! g' i# {! g& \" o# d
  643. ; for this directive to have any affect.4 k1 d# a, [. d$ j4 d
  644. ; http://php.net/auto-globals-jit% A2 K& r1 O7 w, g7 _+ o
  645. auto_globals_jit = On5 N; r, H; s1 K0 t2 E3 ?0 P
  646. 0 u- B5 R  ]- X
  647. ; Whether PHP will read the POST data.  j; ^$ g* I+ t4 `7 a. Z$ ^; E- J
  648. ; This option is enabled by default., q3 m5 l7 [; Q3 U" e, Y
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    % Y5 Y1 }/ v9 b/ z, h/ [
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    & K/ t) O" Z* |% I$ c  p0 X
  651. ; POST data will be through the php://input stream wrapper. This can be useful+ s. W8 }8 e$ O$ S7 H: z
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    + L; y* t4 N. @" ^/ }
  653. ; http://php.net/enable-post-data-reading
    : |7 S  Q. G/ i( i# F) D, S6 N
  654. ;enable_post_data_reading = Off
    , r& j# K0 P6 X2 M7 \3 x
  655. & E( L1 C) e) n! t3 s. a
  656. ; Maximum size of POST data that PHP will accept.4 A8 h: x- X! B$ L" l
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading: C! m1 {8 r0 d2 ]
  658. ; is disabled through enable_post_data_reading.' L( Z6 L. w, M, T" S) }
  659. ; http://php.net/post-max-size: O2 |- l' R# e; d
  660. post_max_size = 50M: ]( m& k) h1 L. U& Q' G2 [% }
  661. % V# W+ t& V! y7 ^  R* Y
  662. ; Automatically add files before PHP document.0 y0 Y( s# X# ^+ M' ~3 u8 {! E! a3 G
  663. ; http://php.net/auto-prepend-file
    " v5 _, y6 _" @8 h
  664. auto_prepend_file =1 s: `, m% R6 ?& w
  665. 6 h0 O6 Q8 K- i& |+ E
  666. ; Automatically add files after PHP document.% F' x0 S5 c( D
  667. ; http://php.net/auto-append-file
    * Q6 `* P0 Y" o
  668. auto_append_file =
    % W- @' X* x( S. c) M4 c( x

  669. ! Q3 z+ ^% A+ s% r
  670. ; By default, PHP will output a media type using the Content-Type header. To# L5 w. Y5 X/ {0 R8 I2 k
  671. ; disable this, simply set it to be empty.1 F% n8 t5 Y% J
  672. ;
    2 Y. E3 B' o7 V/ r
  673. ; PHP's built-in default media type is set to text/html.
      x6 A* @. g9 U& l; n% @
  674. ; http://php.net/default-mimetype. A1 |& k* q/ @+ z
  675. default_mimetype = "text/html"8 v, y* B, S7 ?2 m
  676. # u% K( S, ^5 \9 l# M8 Q/ }, X
  677. ; PHP's default character set is set to UTF-8.
    : c' i& x8 k6 ^
  678. ; http://php.net/default-charset, H2 e& o- t" p' M/ j
  679. default_charset = "UTF-8"
    ; b8 g+ ]8 G: s# z' g( r5 _
  680. & P$ i- }$ K3 ]
  681. ; PHP internal character encoding is set to empty.2 ^- l, z4 }. J0 T
  682. ; If empty, default_charset is used.
    * D* K  H# m' `6 ]/ Y
  683. ; http://php.net/internal-encoding
    : W( q- _! \( z% ~) J( A: o
  684. ;internal_encoding =' |" y0 W+ E; P( ?9 i
  685. , {* z$ H7 F  Z$ l5 p4 t* y
  686. ; PHP input character encoding is set to empty.% Y* u. t3 R7 S; N3 [+ N
  687. ; If empty, default_charset is used.
    9 n' ~& ]: J& J; `4 }6 ^5 |) I+ A
  688. ; http://php.net/input-encoding
    $ [$ c' k2 W, K
  689. ;input_encoding =
    ! p3 [# d+ i  i0 L0 p+ H, \4 z
  690. ' y* I" E7 e% Z0 y  }& A* V4 e
  691. ; PHP output character encoding is set to empty.1 W. p5 m6 H4 a$ C1 x- `
  692. ; If empty, default_charset is used.
    * N/ @1 T0 g; P$ f; N( x( X1 {
  693. ; See also output_buffer.: x& m# U; p" D3 p
  694. ; http://php.net/output-encoding" e& m1 l" t' Y/ [: ?# e
  695. ;output_encoding =
    7 H% ^5 ]( U6 X; V& o# H# J  p

  696. 6 P7 V9 k+ P* \/ n( _( Z
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    , `5 ]& I2 w" u% @0 i
  698. ; to disable this feature and it will be removed in a future version.
    / o$ E# `3 D( p
  699. ; If post reading is disabled through enable_post_data_reading,
    * W0 K9 s  `3 m8 ]+ @
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    $ k6 k' u! j7 o0 g) t1 m) t
  701. ; http://php.net/always-populate-raw-post-data
    # C' g3 f3 A. J# _+ X5 t
  702. ;always_populate_raw_post_data = -1
    + `' J" C" l- R  Q
  703. 2 b) b7 p. \8 b) Y) s, ]
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    + Y6 a! P0 ~. n% Z" l
  705. ; Paths and Directories ;" S9 v- r& [+ H2 z6 H
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;) F2 @4 T  j3 N/ t4 A

  707. 8 G# x- ^: C5 R* I
  708. ; UNIX: "/path1:/path2"
    : S9 l5 u7 Y$ O. Y- a% m! W
  709. ;include_path = ".:/php/includes"
    . p3 c, u% B: V  O9 v
  710. ;
    : h4 b% I! }- W) Y6 f' b" B/ q
  711. ; Windows: "\path1;\path2"
    6 G5 x; i: H$ B2 u
  712. ;include_path = ".;c:\php\includes"+ e/ [% z' L, {( U* ]6 Y
  713. ;1 y7 g  V- p% {4 \  J9 ]  ^) r
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"7 [5 u4 g/ o1 J3 b: {# Z( l; z: J
  715. ; http://php.net/include-path
    5 {) I- j. z* X- \

  716. ( a! I4 i1 l  @# i( }
  717. ; The root of the PHP pages, used only if nonempty.
    . L: O# |  F( i6 r
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root4 _0 v1 j8 U0 Z" g& g" l  ?
  719. ; if you are running php as a CGI under any web server (other than IIS)
    0 F, m3 `; J; n% j  {
  720. ; see documentation for security issues.  The alternate is to use the- Z" p8 s$ x# F$ [- h
  721. ; cgi.force_redirect configuration below
    ; ]1 J9 X: f' Z; C( J" v- ]
  722. ; http://php.net/doc-root  \, w+ u. w7 p1 K  N9 A
  723. doc_root =
    6 f/ d/ T6 ^! N. g1 f

  724. ; B/ y+ t# _4 P6 p' v( M# O0 ~" R' q
  725. ; The directory under which PHP opens the script using /~username used only
      Z5 C3 s6 T1 b- R
  726. ; if nonempty.
    + j, [+ ?! I7 H$ i1 p: ~$ O
  727. ; http://php.net/user-dir
    3 y2 ~2 H  I) ^
  728. user_dir =
    " r& i1 S$ P6 U+ ^

  729. , F4 h2 n6 H: b6 C( I
  730. ; Directory in which the loadable extensions (modules) reside.
    8 m& l" R3 c/ F7 n8 m1 W3 Z
  731. ; http://php.net/extension-dir
    3 e2 D* M1 t- V, {
  732. ; extension_dir = "./"
    1 {8 s1 D- T; f1 N
  733. ; On windows:  F# \/ c& X4 c0 R
  734. ; extension_dir = "ext"
    9 @  v( {* ]  z5 k- z

  735. ( P8 k/ x( ^# J& @5 K
  736. ; Directory where the temporary files should be placed.' Z; B  \) v. {; J3 Z. n
  737. ; Defaults to the system default (see sys_get_temp_dir)$ p7 r# N; O. Z+ D" ^! j' x
  738. ; sys_temp_dir = "/tmp"3 q6 E3 V4 j, `* }
  739. " f2 W$ l/ Q+ {+ q. M
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work7 s0 J( N. F+ u/ [
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ; ?$ t6 X! Z/ Z! C
  742. ; disabled on them.
    # q( I; ?" l, {% D7 z( @* W) ?' |# u
  743. ; http://php.net/enable-dl
    % f* o# j+ u; a. A) c
  744. enable_dl = Off! j2 o" v$ G6 x% g

  745. 6 B- k( O" b& O# ?8 k9 B
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under' I* z3 J: |3 q. E7 F5 d
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can; l2 b, J1 M/ i7 B
  748. ; turn it off here AT YOUR OWN RISK+ @2 B$ L( D3 f) H4 \: ?3 z
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**- B& R3 M* q$ E$ Z9 k1 b- l: {: o
  750. ; http://php.net/cgi.force-redirect4 K% t, b0 H5 b; \3 x0 h
  751. ;cgi.force_redirect = 1
    ! C) V# L! A- l+ t# _
  752. : O8 [9 r' I5 G& T) M* g
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with  C- w( b' E# q: W3 g6 W
  754. ; every request. PHP's default behavior is to disable this feature.
    # j0 e" o9 V0 X8 Y4 Z/ s
  755. ;cgi.nph = 1) k8 T3 A. t' V! h; b! B

  756. 4 e* K. J7 V$ D
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ! t! N" u" \2 ?$ b5 l
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP/ i0 \3 }6 [3 ^; C
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY0 T6 L% t# A8 B" \! [  d
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    - R2 M! l( Z- Z, K2 ?/ M
  761. ; http://php.net/cgi.redirect-status-env
    8 L# |# a- w. ]: |; z- b
  762. ;cgi.redirect_status_env =
    - x7 P) P  C2 |2 T* H
  763. - i, B  v9 g" J5 i% O
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    2 R2 H  f+ K0 r# s. d7 |
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok$ G" m) i% f0 ]) J! C
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    / j0 M9 x: F; S; x( k  Z2 \' f
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    : s; Y! G/ J1 s. T
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    0 ~" g+ {* ?) o" b7 B  |2 d
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.  d. Q3 A1 @) |: s0 b4 Y
  770. ; http://php.net/cgi.fix-pathinfo4 O: c3 P0 s! X! U: ^" h0 F
  771. cgi.fix_pathinfo=1% F$ q2 ], k% O5 V. o) o! q$ n6 X
  772. , X) r8 s5 Z* I4 M1 @: f! `
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    + b% R# V& S- ~9 _% A$ W
  774. ; of the web tree and people will not be able to circumvent .htaccess security.4 Q; N. n# k5 v$ \/ \+ x- {8 I
  775. ; http://php.net/cgi.dicard-path5 O8 \* j  E3 o1 Q7 g! }2 M$ @$ h
  776. ;cgi.discard_path=12 l: \0 v, m- P

  777. 2 I. m3 y+ j. J" A) x: F# w9 R
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ( U0 T  r$ ^, U2 c2 C" m4 m4 `
  779. ; security tokens of the calling client.  This allows IIS to define the
    ( j5 e1 e* \9 R: |+ J1 x
  780. ; security context that the request runs under.  mod_fastcgi under Apache& u7 k+ r. M4 u8 @+ B7 Z
  781. ; does not currently support this feature (03/17/2002)* w1 u7 R8 |' d. u9 R- s, f
  782. ; Set to 1 if running under IIS.  Default is zero.
    8 I& ~) ]- \, q
  783. ; http://php.net/fastcgi.impersonate
    3 n9 S6 l: ~- U. z/ d9 ?
  784. ;fastcgi.impersonate = 1
    , L3 P# b( b$ R) c' n$ l1 z# O

  785. ; s# {) [% r3 J" p& a8 ?4 Y, n
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    - b) \5 ~/ J2 d9 J2 [
  787. ; this feature.) l/ {6 c# H3 m2 {$ C* @
  788. ;fastcgi.logging = 0
    & W, u" h1 L0 i) x
  789. , Z$ E5 B: A5 g) V
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    + s! u5 q# C1 P- N0 V
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    * _. s, z! |6 _
  792. ; is supported by Apache. When this option is set to 1, PHP will send- p, {4 R7 a9 X/ W% d" @7 A! t
  793. ; RFC2616 compliant header.
    9 i0 W0 q8 U; m* `9 l
  794. ; Default is zero.0 E( f6 O/ x- ]9 }* \; h
  795. ; http://php.net/cgi.rfc2616-headers  O( g, v2 z! b' M8 P
  796. ;cgi.rfc2616_headers = 0+ K  m; y/ d1 Q' Y5 p4 Q( T" m
  797. 4 a2 \8 d* h6 V# W4 F7 Y
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    5 x* a4 \! _& h( o0 O% z
  799. ; (shebang) at the top of the running script. This line might be needed if the
    . C0 J8 f/ X) R9 z' `" v
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI* a3 P& V# C- v
  801. ; mode skips this line and ignores its content if this directive is turned on.
    ' t1 U" w/ `, P2 s
  802. ; http://php.net/cgi.check-shebang-line
    , V1 p* @+ J  g- C3 e* ~9 ~
  803. ;cgi.check_shebang_line=18 z* ]2 z8 D* W7 U8 I

  804. ; |0 b/ u! J9 Z% G, d% r8 t! {0 Q! d
  805. ;;;;;;;;;;;;;;;;
    * l7 E7 c& e0 e6 w8 ~" m( c
  806. ; File Uploads ;
    * i4 e; W. b* H( D" n$ S# E
  807. ;;;;;;;;;;;;;;;;! ?2 W4 q% Z% Q

  808. 4 y: s6 c' W1 G1 y. S  D; @7 a
  809. ; Whether to allow HTTP file uploads.; A& c/ O* Q8 k* k1 z' f$ N
  810. ; http://php.net/file-uploads; S3 G( h0 r2 H8 \, L. K, \
  811. file_uploads = On$ S( }/ P4 o2 W0 M( j2 _: X3 \& g

  812. * R/ S1 F  O3 H6 v/ b  d
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    - J7 y1 _! Z- q" M, a6 X
  814. ; specified).' b1 j$ W; Z1 ^' d
  815. ; http://php.net/upload-tmp-dir! _& ?* F+ R  e2 j( M' N) K
  816. ;upload_tmp_dir =
    ) C( c( Q, k  @7 v. c

  817. - W% N+ o# h" I" u$ U# r. ^: y
  818. ; Maximum allowed size for uploaded files.
    $ a' Q% j; B9 P+ m, a$ s* X1 {, V8 m
  819. ; http://php.net/upload-max-filesize/ t) f6 N! s! N" d
  820. upload_max_filesize = 50M/ U* |5 g4 h4 {# ?
  821. * O  U. J( p: d" N  ]+ |6 Q; ]
  822. ; Maximum number of files that can be uploaded via a single request- ^# H  C' y5 n9 w. u
  823. max_file_uploads = 20
    / A- }0 b, n1 a. p. R9 d7 v) S/ F0 G
  824. 5 k4 V' Z. R( v0 y- _% e4 ?5 v
  825. ;;;;;;;;;;;;;;;;;;8 c+ R1 q& V; \( R. S- h
  826. ; Fopen wrappers ;
    2 `5 H% A, u! O8 D2 `4 y3 V1 i
  827. ;;;;;;;;;;;;;;;;;;
    ; |4 P* ^7 L+ c' k8 _, `
  828. 8 F' s3 ]7 @7 O. h8 b& I2 q
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    3 ?: J5 I& X3 \/ a" S
  830. ; http://php.net/allow-url-fopen
    ' r! D) i8 u* G  @  `
  831. allow_url_fopen = On6 i: H" @( B, o& E( r: `" M$ j) Z

  832.   q: p1 K& w2 o/ a* S* [" [8 K
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ! L8 P5 O4 V: r0 ~2 d
  834. ; http://php.net/allow-url-include) U% U3 `: @/ L% E1 V7 a$ f
  835. allow_url_include = Off# x1 }6 B8 Q) ^; {/ C" {
  836. 8 l/ B; H" U8 q* J9 h
  837. ; Define the anonymous ftp password (your email address). PHP's default setting" m! G: @# f7 C
  838. ; for this is empty.
    ) @/ a# O# w' N1 a  E: L% J
  839. ; http://php.net/from9 k4 w; p9 [  z- a4 V7 D
  840. ;from="john@doe.com"% X/ d( q, i. s3 q) b8 ?: Z- O

  841. 5 Q6 ]# R& k* J7 _; [( p/ W# h
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    4 \- H& a  q4 f! e0 |
  843. ; http://php.net/user-agent
    4 \5 ]( t- \  g2 y" ?# T% D. e. `
  844. ;user_agent="PHP"' x, a+ s' I9 d- @# H8 F
  845. 9 p* E& m1 {7 {0 R9 \/ O% N" p
  846. ; Default timeout for socket based streams (seconds)
    4 J( f- b- I2 `+ o
  847. ; http://php.net/default-socket-timeout
    . @" v# J. s9 b8 G: z9 d7 \
  848. default_socket_timeout = 60
    2 S& \) s. ^- E/ ~. V/ y2 N* J* W
  849. 9 ]& p4 Z, j$ q! Z3 Q
  850. ; If your scripts have to deal with files from Macintosh systems,
    3 n$ w6 j; J0 @( g% b1 ~- [5 h0 ]) ]
  851. ; or you are running on a Mac and need to deal with files from/ U$ [, h! {# C; h
  852. ; unix or win32 systems, setting this flag will cause PHP to+ f# E3 V! g7 k0 L" @! X, e
  853. ; automatically detect the EOL character in those files so that0 O/ s" Z* a8 S  p
  854. ; fgets() and file() will work regardless of the source of the file.# ~0 {: S, C9 j& T4 q+ f
  855. ; http://php.net/auto-detect-line-endings. c8 Z3 ~  F$ x6 W; Y8 |" G# Z
  856. ;auto_detect_line_endings = Off
    - Z3 _6 b$ |# J6 H! |& `" K3 |
  857. ' P' I" W) h  N  \8 L: g
  858. ;;;;;;;;;;;;;;;;;;;;;;
    % W: |! l% D2 ]: E- c% M4 S5 F
  859. ; Dynamic Extensions ;8 t) N9 c) `' m* V. H/ F1 f
  860. ;;;;;;;;;;;;;;;;;;;;;;
      {1 |' M& V3 F6 c* [6 x3 o
  861. ) z) _0 x. v) R6 y
  862. ; If you wish to have an extension loaded automatically, use the following/ _# x2 t! G1 q' J9 F
  863. ; syntax:' n6 H/ r% @1 n7 _1 K: A* j0 m
  864. ;
    # N8 [/ f3 z4 k: Y
  865. ;   extension=modulename.extension9 p2 N: n) k& L/ d* ^
  866. ;
    % w; V/ w5 [" a( t
  867. ; For example, on Windows:, c- m4 d2 a# {& f- ^8 |$ b
  868. ;$ D4 [( x7 L# H
  869. ;   extension=msql.dll/ B7 n: q& Y1 t! W8 ]- R. E
  870. ;. ]6 a1 ~. d, D1 Z
  871. ; ... or under UNIX:
    2 w7 C  b7 }' Q3 h1 Q. F' z
  872. ;
    / }5 F9 `$ {2 }% k2 N( B. ^7 S! U6 k
  873. ;   extension=msql.so
    1 w! ?: n9 o1 F% T
  874. ;
    7 G8 R+ U3 |3 K$ Y1 W' W4 q
  875. ; ... or with a path:" T: u4 p! W5 U5 g# R: W
  876. ;
    ' M/ I, r2 C+ R3 `, ?6 m
  877. ;   extension=/path/to/extension/msql.so
    . z3 T& F7 U- F9 Q  F
  878. ;
    6 G7 K! g* `# p. a
  879. ; If you only provide the name of the extension, PHP will look for it in its
    ( M" K) B# [. h! m( }9 j( H
  880. ; default extension directory./ O. J3 j0 r" i0 p' u+ w6 S
  881. ;
    # e4 a0 ]1 ~7 ^1 |
  882. ; Windows Extensions$ t* K) |( X- C# K# z
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    & J  F+ O; u: P1 L: a7 }$ Q& N
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    5 A/ v0 A, b! A
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    - V0 R3 u" [0 g6 }* Q: h
  886. ; Be sure to appropriately set the extension_dir directive.
    1 q3 k6 u5 L- W+ F
  887. ;
    ! X1 I4 q- L4 F  o% i
  888. ;extension=php_bz2.dll2 k' B3 V+ Q8 a% L' ^; T
  889. ;extension=php_curl.dll5 @+ {0 B. M5 |$ @+ H0 T
  890. ;extension=php_fileinfo.dll/ y* c% V% k% _0 z" s
  891. ;extension=php_gd2.dll1 I1 h% U9 B# Q- E) o5 y. U/ Q
  892. ;extension=php_gettext.dll
    $ E+ r& M, W9 @$ G5 n# U
  893. ;extension=php_gmp.dll
    % T/ x- i+ }" [4 |/ }# F. c3 w
  894. ;extension=php_intl.dll
    ! S* E9 L+ H: z
  895. ;extension=php_imap.dll
    * M: }  u4 h3 M. y/ g2 E( j
  896. ;extension=php_interbase.dll6 n' z. I: X8 u' `* [+ S
  897. ;extension=php_ldap.dll
    4 o6 L7 u+ J& M. v+ q# a; y" R
  898. ;extension=php_mbstring.dll
    4 p* c+ {: T& C  Y
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it1 G9 t! K& H- A4 N* I1 @8 N
  900. ;extension=php_mysql.dll
    ; T5 }8 J  f% T) _2 N" Q
  901. ;extension=php_mysqli.dll
    ) R) C$ ]2 Y$ K1 q9 C/ K
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client( |& ?! S, B" ~8 Q
  903. ;extension=php_openssl.dll2 ?% \. G, p- e3 F& X
  904. ;extension=php_pdo_firebird.dll  S- Y* j! O( y7 ^! q4 p" _! D
  905. ;extension=php_pdo_mysql.dll% L* M) i! |$ x  @3 E2 r- b
  906. ;extension=php_pdo_oci.dll
    7 R. J" i* @2 v
  907. ;extension=php_pdo_odbc.dll; _/ O& e, p  z& w8 c
  908. ;extension=php_pdo_pgsql.dll
    ' h; [+ R5 B& U$ y# x, R
  909. ;extension=php_pdo_sqlite.dll+ P4 ^/ _, f- P
  910. ;extension=php_pgsql.dll
    4 r) [' }/ ?- r+ z. R1 o3 D! c1 E
  911. ;extension=php_shmop.dll/ m0 c5 a8 q% f' h
  912. " y7 u% L  p6 Q4 X6 ^. U
  913. ; The MIBS data available in the PHP distribution must be installed.
    3 ^) g) F) @+ q* m" g" p% l
  914. ; See http://www.php.net/manual/en/snmp.installation.php # e( v- H& N+ m% O" }
  915. ;extension=php_snmp.dll
    $ Z( x* T2 E7 I6 V
  916. , j5 U5 d0 E% I2 O
  917. ;extension=php_soap.dll1 J8 z2 E7 W+ B8 H7 ~2 Y, \4 T
  918. ;extension=php_sockets.dll
    ) K2 I' r4 p5 q& g
  919. ;extension=php_sqlite3.dll
    " Z$ G3 t6 E9 t4 B3 z- s. |
  920. ;extension=php_sybase_ct.dll
    * d3 S# @) P- u" b5 r$ b
  921. ;extension=php_tidy.dll
    8 }4 `0 u9 [1 m, r/ N% Y- `0 @3 L
  922. ;extension=php_xmlrpc.dll2 \& w& e$ t' w' Q( t. z
  923. ;extension=php_xsl.dll
    7 g# x) r2 w) V4 Z; L

  924. ; Z2 F- Z) s' O; s
  925. ;;;;;;;;;;;;;;;;;;;
    ! R5 R- w! i8 E( c" l
  926. ; Module Settings ;. l6 |- W" X+ q9 ^# w
  927. ;;;;;;;;;;;;;;;;;;;
    + r7 m& z+ @% f  Q
  928. + l2 @+ m$ g2 V0 V
  929. [CLI Server]
      J/ l8 V& e4 H1 R
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.1 b! z+ }( b2 V' }% U3 z# b# ^
  931. cli_server.color = On
    # _' W+ h; h! P

  932. - m* H/ t6 [. E% g
  933. [Date]
    : T) Z+ B2 A; g- p
  934. ; Defines the default timezone used by the date functions1 ]* o( e$ ]0 T. Y9 t  `2 w/ P$ t
  935. ; http://php.net/date.timezone) U" R% v0 r2 z* m* o. H1 A
  936. date.timezone = PRC
    7 Q& t, _8 D$ @2 I/ k
  937. * U8 U+ S! l- G; i0 C' n7 @
  938. ; http://php.net/date.default-latitude- X% V2 P- R' Q2 E2 [7 S& Y
  939. ;date.default_latitude = 31.7667
    , C* [! P$ x2 t; m# |
  940. & {1 v/ m& H& J3 M5 m( U* o; W! G
  941. ; http://php.net/date.default-longitude
    6 j" n  O- N/ X3 g2 `9 E# L
  942. ;date.default_longitude = 35.2333
    2 V7 l- g( B' i

  943. - W' B0 I6 z4 f4 |4 j
  944. ; http://php.net/date.sunrise-zenith
    2 v2 w2 P( @- e% C2 y/ m9 i/ j
  945. ;date.sunrise_zenith = 90.583333
    3 ~1 h8 r- x9 E7 a( z! z

  946. 1 m2 `3 c) n  N3 q; x) t, e
  947. ; http://php.net/date.sunset-zenith
    $ b' ?) w0 s- E, E2 b
  948. ;date.sunset_zenith = 90.583333/ b* S# d1 l; V+ g
  949. ) }5 c5 }" w$ @- ]! b5 r/ [
  950. [filter]
    0 s  i/ d+ X$ {' ]; ^
  951. ; http://php.net/filter.default' K0 ?9 Z% N( B! r4 a$ I
  952. ;filter.default = unsafe_raw
    1 ]1 O" \9 a2 }; M' O  a# T7 W
  953. 4 O& o: V; Z/ X& x  A
  954. ; http://php.net/filter.default-flags
    - t4 L; o7 ^, i- B, {6 ]
  955. ;filter.default_flags =( l% p9 S5 ~, y/ N- l. j4 i! s
  956. 4 r, a2 K4 i0 [: N# ^
  957. [iconv]6 b) B7 V! ~) ~, w
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    . o# H; `+ s0 z, @
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    3 i) U" s6 g% c% E# {7 D
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    9 F4 y+ T# [3 j; E
  961. ;iconv.input_encoding =
    " s; H/ D6 y0 e- u% E7 K

  962. ( Z4 O+ f$ W# V8 @1 \# }
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.5 j' Q& B. `1 @5 H: d
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.; q4 }/ D- M: Y1 s7 k9 G: i
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    $ P, n) \0 p) x  R0 [; E' E
  966. ;iconv.internal_encoding =
    + u2 _8 Z% `7 U: {( z% H% `+ K5 j
  967. & W* V% T0 l+ _" a3 |. k+ q) @/ j& X
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ; a1 l( D; [/ b& v% g, C2 X, U. d
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.' y7 q  X6 E$ w; O
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding) w1 E% C. T; S- E" p
  971. ; To use an output encoding conversion, iconv's output handler must be set8 L) p, [0 S4 U3 r  I
  972. ; otherwise output encoding conversion cannot be performed.
    ! m% p$ Q; \; [2 L1 h8 k
  973. ;iconv.output_encoding =
    4 @5 ^9 m# b+ p$ W
  974. 2 P$ ?$ i3 B( o9 H- F2 q/ E
  975. [intl]
    , P' w  r9 k3 P) M3 z
  976. ;intl.default_locale =  `8 A7 S; Z! M0 K* d, ~& e
  977. ; This directive allows you to produce PHP errors when some error. j& T% \* R) x3 ~
  978. ; happens within intl functions. The value is the level of the error produced.! }5 M0 E" e* X4 O. o
  979. ; Default is 0, which does not produce any errors.5 j0 G; x/ u7 ]: d. G: u, }, P
  980. ;intl.error_level = E_WARNING# D" A# i$ t2 B4 H! U
  981. ;intl.use_exceptions = 02 l7 o8 `( n. ?# R8 M3 P
  982. 3 c4 A7 M/ Y5 n$ j. S
  983. [sqlite3]/ n! y6 m2 K' d: i7 V* |' o2 X1 f
  984. ;sqlite3.extension_dir =
    3 d+ n* \. o& Q2 \
  985. / c3 r% N# m% x, V4 l0 B, z  h
  986. [Pcre]4 r5 m7 D+ v, K+ B% {# O( D, _. j8 r
  987. ;PCRE library backtracking limit.
    * W( G+ d2 o5 |% Q+ Q8 x1 M: J8 V
  988. ; http://php.net/pcre.backtrack-limit
    ; C9 G: R/ j. Z$ {# p8 T9 o
  989. ;pcre.backtrack_limit=100000
    * o! r2 i, o% Z

  990. * E: V/ C: @% I- B( [) C9 _
  991. ;PCRE library recursion limit.
    : R' P' ^& z8 S' Y6 w- P1 _
  992. ;Please note that if you set this value to a high number you may consume all0 D1 f# i2 b. h5 P! h/ t/ R
  993. ;the available process stack and eventually crash PHP (due to reaching the
    + L/ I7 Q5 v  @
  994. ;stack size limit imposed by the Operating System).7 ^) G+ r  D$ o! y" v# B
  995. ; http://php.net/pcre.recursion-limit6 T; g  C4 Q  I5 t8 |6 R* t
  996. ;pcre.recursion_limit=100000
    # `7 C! Q6 V' j% |
  997. 2 w4 u* `1 k. C
  998. [Pdo]# k& a9 W( H% ], j! Q
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ) O; J8 V9 {* F* B, m
  1000. ; http://php.net/pdo-odbc.connection-pooling3 o, q- e" D9 S
  1001. ;pdo_odbc.connection_pooling=strict8 [- I' f3 c, }
  1002. ! F; n4 n2 v" j( A
  1003. ;pdo_odbc.db2_instance_name* S9 D& F9 [" B

  1004. + z/ M  G( \: s% T7 x7 g# S
  1005. [Pdo_mysql]0 B& F  z0 [& t6 ^9 R" v, h* B3 V7 w
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache! Z/ ?0 E4 n' E4 s* _
  1007. ; http://php.net/pdo_mysql.cache_size
    ) t) e- a* }: F7 t2 ]
  1008. pdo_mysql.cache_size = 2000
    " G& P7 K6 j# t

  1009. " W3 D9 w8 V4 G* l" t) V0 V# c
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in! A+ H' a2 t! n6 V9 C2 O" S1 F
  1011. ; MySQL defaults.
    7 B& s1 J. H1 h" L' |1 o
  1012. ; http://php.net/pdo_mysql.default-socket5 F5 J5 u9 o8 C' I% F; Z
  1013. pdo_mysql.default_socket=" ]$ X' d# P4 E8 S
  1014. $ \) D' b3 y0 i/ u' u6 `/ C
  1015. [Phar]
    . l. G% D/ B+ i9 p0 Y; d) v3 s
  1016. ; http://php.net/phar.readonly
    $ w% }) D6 B6 f; @
  1017. ;phar.readonly = On
    * S/ P4 T+ L/ j. ?
  1018. % B5 v! I( k/ D/ t
  1019. ; http://php.net/phar.require-hash, ~( @3 i. F, l1 P
  1020. ;phar.require_hash = On1 J$ S5 H5 L0 @

  1021. . n- ?. U! m) Z
  1022. ;phar.cache_list =7 h# i$ A8 Z; A4 s
  1023. $ l6 `3 b& A, d# K: d# {
  1024. [mail function]
    + D* A$ g/ ^" H
  1025. ; For Win32 only.
    : Z5 I9 q3 N) K: I" ~9 f6 L( p
  1026. ; http://php.net/smtp. C$ D0 _. f) s3 |, S
  1027. SMTP = localhost0 ^8 m) y' w& u: _: {2 i5 f  V& `2 s
  1028. ; http://php.net/smtp-port
    , ?% A0 R; z- k1 m  ^& y
  1029. smtp_port = 25
    " W  m* h1 y# [4 ^* c2 u% R5 c) \+ b
  1030. / m7 n' b9 P- x% U6 W5 P0 S# X
  1031. ; For Win32 only.
    ' C, i( D* z# X4 {
  1032. ; http://php.net/sendmail-from, d$ @* r/ {' d! ?" c
  1033. ;sendmail_from = me@example.com
    6 Y% t: n  u  N4 Y% h, l
  1034. 5 P: @7 r; H" \1 H9 a: L! X5 q
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").3 |; D& l$ l7 H4 E
  1036. ; http://php.net/sendmail-path# h5 `5 F- ]- M
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    5 u9 N: z! ^2 l
  1038. 1 v6 x' I9 h9 Z- R" r. Q5 ~4 L
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    # L5 [4 ~* C  R# g. ?. s
  1040. ; to the sendmail binary. These parameters will always replace the value of- x( R" f" \5 V  Q" X
  1041. ; the 5th parameter to mail()., x$ @2 {; d) X( @& k/ B
  1042. ;mail.force_extra_parameters =
    0 ?" ?2 ]* y. T
  1043. ) f2 |! u  z( C
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    3 _  m) V1 n3 W. L
  1045. mail.add_x_header = On
    * e4 B/ q4 p/ c5 D0 Q% Z

  1046. 5 X# D! i8 A; K
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    ( ~  T* V4 i. _6 P. F6 x
  1048. ; the full path of the script, line number, To address and headers.
    ' H: f3 N6 e" H3 K
  1049. ;mail.log =
    , P0 g7 W4 F2 i' n# F
  1050. ; Log mail to syslog (Event Log on Windows).  w" Y2 j+ V  M( @6 k. \* J
  1051. ;mail.log = syslog. n( ^) [% l" x6 \' t. |
  1052. 7 ?1 K+ @) G' Q. J/ O
  1053. [SQL]
    2 A: H) I; p8 W) ^3 l
  1054. ; http://php.net/sql.safe-mode3 x# ^% e+ e% [2 ^
  1055. sql.safe_mode = Off
    ; `& B! R1 c2 r
  1056. : A: x( Z' c& @* Q& ^  A$ s/ ]
  1057. [ODBC]' W+ O1 l, D, o: q1 m
  1058. ; http://php.net/odbc.default-db
    0 B' l% I  P) b
  1059. ;odbc.default_db    =  Not yet implemented
    8 h2 `  h% c1 Y: B; D, d

  1060. # [5 ]& h: |( g* q5 @2 i4 ^
  1061. ; http://php.net/odbc.default-user: n; D# j1 x2 H' u1 g8 y; k
  1062. ;odbc.default_user  =  Not yet implemented
    ' g4 M; U% \+ J

  1063. - a. P5 H7 `, }3 A% C
  1064. ; http://php.net/odbc.default-pw
    " k: G7 c5 E7 I% Z/ ~
  1065. ;odbc.default_pw    =  Not yet implemented: D  P3 G; p( B

  1066. $ |4 |6 o2 s' F6 b4 v( a2 I
  1067. ; Controls the ODBC cursor model.5 n  ~# u8 a  Y  B; p! m$ ~8 o5 P
  1068. ; Default: SQL_CURSOR_STATIC (default).
    : k. L1 E) w4 u+ [2 e# B
  1069. ;odbc.default_cursortype
    ! H* a1 ^) l. M& ]

  1070. / P# i, ]! P* h  x
  1071. ; Allow or prevent persistent links.
    # L9 o! u$ y( `( n/ q% |% {3 j
  1072. ; http://php.net/odbc.allow-persistent3 }  T! ^9 p1 S$ Z
  1073. odbc.allow_persistent = On
    $ ]& [1 W2 {6 G  N7 M
  1074. 0 k/ J+ ~# z" I- z! _/ [
  1075. ; Check that a connection is still valid before reuse.+ Q" v4 R3 E+ O+ ]3 T
  1076. ; http://php.net/odbc.check-persistent: x& W/ [- n- a# F( \+ s
  1077. odbc.check_persistent = On$ p; D* m9 l2 g+ U0 C
  1078. 7 o+ q' V! p6 |$ H
  1079. ; Maximum number of persistent links.  -1 means no limit.
    , ]) @9 y6 g7 J; t
  1080. ; http://php.net/odbc.max-persistent
    $ j6 a& H- ]* `/ v  P
  1081. odbc.max_persistent = -1, Y( a# P6 n& E8 U; X" k; I' o+ C

  1082. 2 h/ a9 M* G5 N5 h! ]3 ?0 d  t& t' l
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( f. K% f6 z; p; m2 v
  1084. ; http://php.net/odbc.max-links
    ! \# v" m2 h; z) W3 y2 J% W
  1085. odbc.max_links = -1  {9 D. O. i8 X' K! ]

  1086. ( ]* l7 h% i0 b
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means# N, E  c$ z4 j
  1088. ; passthru.
    2 T, \8 \6 m  s0 l1 t' z
  1089. ; http://php.net/odbc.defaultlrl  Q- o. `: y7 p) t2 N3 E" o
  1090. odbc.defaultlrl = 4096
    " {4 a7 s: U. F6 e) r$ K8 l. z: ?( O  v

  1091. ) j& i9 L1 O7 Q: v2 _) I
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.* Y9 @3 d: U; f8 T* t1 y' R0 o
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    # ]; K( i# C$ f; k+ e  C( s! K! S
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode9 }3 S& E: O/ E+ m5 d7 {+ Q1 ^+ F
  1095. ; http://php.net/odbc.defaultbinmode
    0 R  Y- h! H( L, M3 j+ u( S
  1096. odbc.defaultbinmode = 1
    4 @2 U; `- S5 f5 |4 ?- p

  1097. $ q" s) v* [" D$ {1 V) t7 R" {: m
  1098. ;birdstep.max_links = -1
    5 V/ ~9 m7 ~2 Y' Z

  1099. * ^+ A( q! \( m1 b+ M5 z) t* ~/ V
  1100. [Interbase]
    # |* n, L& [- S; d: F3 d0 o
  1101. ; Allow or prevent persistent links.# n; H( s* B8 t5 T6 p5 G
  1102. ibase.allow_persistent = 1$ l9 ]  E+ P/ ?) h8 I# ]7 V

  1103. 8 }& B3 E$ t' a( D/ ?" A
  1104. ; Maximum number of persistent links.  -1 means no limit., m5 A+ t6 `$ ^! M4 ?5 z: H+ w
  1105. ibase.max_persistent = -1
    2 K4 H% D. ~! q
  1106. + p5 `9 D9 V' a8 b
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.4 u* X; k- a  K  [, R4 d  y
  1108. ibase.max_links = -1& s. u+ w; S8 e, O

  1109. ' b6 |0 a8 c9 H( I  g3 q6 {
  1110. ; Default database name for ibase_connect().
    7 _% t& ~0 v5 X( c8 w1 f+ ?1 O4 r0 P
  1111. ;ibase.default_db =
    / P% I# W6 t" O4 ~, k' O
  1112. / Z- a- X% U! v' f
  1113. ; Default username for ibase_connect().
    ( s' i1 x' |, q. y6 J- ?
  1114. ;ibase.default_user =
    4 X  p2 K# I) H0 W4 w5 j4 U
  1115. # H9 W7 t4 N# V/ {' o; a( q! ?
  1116. ; Default password for ibase_connect().
    2 F8 m( x! T% J5 A2 F9 C# L
  1117. ;ibase.default_password =$ S6 j, G" P; u6 j1 d( m
  1118. , [: T2 B, D4 V1 ]
  1119. ; Default charset for ibase_connect()., \  h8 i% w! E# C+ }
  1120. ;ibase.default_charset =
    6 W* S2 a" G7 `2 a
  1121. 4 s7 _/ u% h( r5 V
  1122. ; Default timestamp format.6 R8 `6 B. L, `3 R6 ]" q/ `6 K
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S": m, z/ m2 u3 k) r" N' U' T

  1124. $ l* B! B9 X" j$ D! f0 x4 N
  1125. ; Default date format.
    3 l1 U& V* {# o) z
  1126. ibase.dateformat = "%Y-%m-%d"; Q8 X0 |4 V( j& Y6 ~
  1127. 8 D) z' L1 a( n6 \/ A: I
  1128. ; Default time format.2 p+ V3 s% g$ l
  1129. ibase.timeformat = "%H:%M:%S"2 {7 H  V% O- m

  1130. ' ~& H8 O9 I% D: V) S
  1131. [MySQL]( N$ F: O. G& T% o, Z
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    0 b8 R+ H, M0 g$ o
  1133. ; http://php.net/mysql.allow_local_infile
    3 c) f$ r) H, x# G" X; m: D8 i
  1134. mysql.allow_local_infile = On
    # Q2 f* A, f' ]$ N  a/ O3 j' R

  1135. ( Z0 }% `! W# H) q: n8 n' u
  1136. ; Allow or prevent persistent links.- d5 c. i: W. M$ |+ F0 |! `4 C+ O9 W3 h
  1137. ; http://php.net/mysql.allow-persistent
    / E0 s+ ]6 {! E) a5 [. C% ]
  1138. mysql.allow_persistent = On4 `' H; G! ]5 U0 V  H

  1139. ( m0 R- U; }0 y2 v. O( s9 Q8 Q
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache- [; }" |6 O2 R1 j
  1141. ; http://php.net/mysql.cache_size
    ! i3 h) M7 \0 F9 n: ?, A8 |- w
  1142. mysql.cache_size = 2000
    + G0 x% N8 W6 W4 y  N

  1143. - W$ S, F% `+ e. G3 Q5 d- u& Z1 |
  1144. ; Maximum number of persistent links.  -1 means no limit.3 K( A! k" P; t/ h
  1145. ; http://php.net/mysql.max-persistent
    , f$ M  s+ d3 _. k* Z4 B% u& d& G
  1146. mysql.max_persistent = -1% k. O; ^/ A) N5 G4 c

  1147. 6 l$ }4 v: z+ X+ I5 @
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 D3 F, ]9 j, J) C$ s
  1149. ; http://php.net/mysql.max-links. F* u3 u& @" d/ \, v! J
  1150. mysql.max_links = -1" p4 y/ B( e- I

  1151. : k7 T; s# p' m) `
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use7 R# a7 V/ b- |  \
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the4 C3 `3 S* q3 o  V6 a
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look+ a; W4 E2 G+ J/ l3 [- |( }1 A
  1155. ; at MYSQL_PORT." g% V4 V7 ~. t, q( y# M/ g3 r
  1156. ; http://php.net/mysql.default-port
    8 Z# ?' n6 _0 T7 j
  1157. mysql.default_port =$ u  {, A" S, g; t: a3 n

  1158. . Q% n2 w+ e3 |; ?8 X
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ( v- r4 X3 v- J9 v  A6 J
  1160. ; MySQL defaults." C" m- ~% A" E/ a% }+ O& K$ {$ p
  1161. ; http://php.net/mysql.default-socket7 d+ h/ {1 m& B# g7 H) O
  1162. mysql.default_socket =
    0 o8 ?5 V" v5 @& Y' \! M/ ]7 Z0 \
  1163. ) R9 i" O  k5 b! {
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode)." g+ Y0 ~9 E" n1 y6 i, p
  1165. ; http://php.net/mysql.default-host
    9 ?2 N# X+ T5 O( {( \5 A& N
  1166. mysql.default_host =
    ! S0 [: _/ i7 h3 U9 W& b$ l. A

  1167. ! p+ c0 b  @( w$ b- R6 ^+ s
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    & o! P* G, y2 x& \' Z( N* U9 Y
  1169. ; http://php.net/mysql.default-user
    2 h6 H0 ~: k1 Z: ^) X
  1170. mysql.default_user =
    0 ~2 F" n; _! d' x! a
  1171. 9 G( P' K4 _6 g, D
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    ; C0 W2 Z; a" V% s7 M  c
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    2 Q$ i- J* }& @5 Q- G; I  G9 m7 p
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password"). p! e- ]* i! K+ T$ B
  1175. ; and reveal this password!  And of course, any users with read access to this
    / U2 \6 w+ {. G5 D- o+ b# V& h
  1176. ; file will be able to reveal the password as well.
    * L8 B* G6 B( I+ _/ v8 D* ^5 X# V
  1177. ; http://php.net/mysql.default-password
    ) z4 M  W3 |) W# ~4 |7 |2 T
  1178. mysql.default_password =/ y/ D' S4 M, p$ _* X4 V
  1179. 9 A( I1 A) X" I3 K4 s5 U6 |
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    ! U+ i0 G  B2 q
  1181. ; http://php.net/mysql.connect-timeout
    4 k# M8 O1 M' b0 _; F- p. \
  1182. mysql.connect_timeout = 60/ A, G0 d( K* v7 X; S4 U
  1183. 7 }6 l! y* w5 j% m# E6 {
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and' i, }+ e5 C  ]- ~: o& p8 o/ L
  1185. ; SQL-Errors will be displayed.& z9 u1 x% S. O" t) d! w
  1186. ; http://php.net/mysql.trace-mode+ w$ Q/ z0 U: b( i
  1187. mysql.trace_mode = Off/ s8 D  |. n- l) i7 V
  1188. 8 r( K# w9 T& k! i  ?) j) c
  1189. [MySQLi]
    ! X3 p- s% b9 `" e$ R5 ~
  1190. 3 v5 P5 R* s% D  l5 W
  1191. ; Maximum number of persistent links.  -1 means no limit.  ]0 V" x! u# V7 o- l3 j
  1192. ; http://php.net/mysqli.max-persistent; f1 T- O0 c3 A3 @8 I  R
  1193. mysqli.max_persistent = -1. C# L. J6 i/ W& ]9 s
  1194. 1 r4 a& ~. z* c4 z8 V
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    : W$ A$ u; b1 X# S* O0 L
  1196. ; http://php.net/mysqli.allow_local_infile
    / e# I" g+ N5 o& x
  1197. ;mysqli.allow_local_infile = On
    1 J& @3 F6 O7 f& ^1 l0 X* ]
  1198. / a" T0 H! f7 i2 M* j
  1199. ; Allow or prevent persistent links.# T: r: h! Q9 Z' K
  1200. ; http://php.net/mysqli.allow-persistent7 R; p$ @+ `$ A% f, }/ Z
  1201. mysqli.allow_persistent = On! B- w0 {9 @. V
  1202. $ C* m; a& w; Y5 y3 X2 ]
  1203. ; Maximum number of links.  -1 means no limit.
    9 O, y8 z3 u- k% m
  1204. ; http://php.net/mysqli.max-links1 H; b! x" m! T- y8 H
  1205. mysqli.max_links = -1
    * e, T5 z& Y+ T1 k! }6 |
  1206. 1 C0 |( Y( S# t
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache& {0 R! m' ^* p0 I2 m; Z! N0 ]
  1208. ; http://php.net/mysqli.cache_size
    , i- W) j. e( F) s' f
  1209. mysqli.cache_size = 2000) P& {" {9 x- U& D

  1210. ; C% a3 D0 V# X. ]
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    $ Z, f+ O+ V+ S6 B
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the; m. D* @( o0 h2 i8 a
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    , L4 P( e+ L9 ^* F
  1214. ; at MYSQL_PORT.; y1 C6 h& o% d" A# X  D4 `
  1215. ; http://php.net/mysqli.default-port
    ; e6 S& ^; T# v6 u
  1216. mysqli.default_port = 3306
    : e- m  y! G, \
  1217. ! f& K' S2 j! B* c4 w
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ) t: x! Q! S* ?
  1219. ; MySQL defaults.( H) R% |% y9 O# V* U- h7 P
  1220. ; http://php.net/mysqli.default-socket! A+ _, f0 Y8 X9 Q' O+ P
  1221. mysqli.default_socket =
    % W: b. _4 [  C* C

  1222. + c, M! C9 J# p( J9 ]! K' O
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    4 Z0 @- p) H( ]4 q
  1224. ; http://php.net/mysqli.default-host6 e' m4 Y$ c1 Y
  1225. mysqli.default_host =& L: o; Q& r4 n
  1226. / }% H6 ~2 |2 h* Q2 d$ a
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).; B/ O" K- O3 b- S4 T- n
  1228. ; http://php.net/mysqli.default-user
    " j7 i7 T9 p* s( ~1 M/ R, S# Z" h2 p
  1229. mysqli.default_user =
    ! Y0 H* Y, Q0 M
  1230. * T% ^2 z% F; h& {) x) \- e
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode)./ P2 x" e( p5 s1 z( a9 ?: K
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.5 `" Q& h, Z, x9 m) F' N
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    : F7 P: L7 f+ z1 D' K3 Y
  1234. ; and reveal this password!  And of course, any users with read access to this
    5 ~% f: n2 L* C3 q0 s- J/ M5 {( ?
  1235. ; file will be able to reveal the password as well." _6 z; J( k9 W4 m# ]4 {
  1236. ; http://php.net/mysqli.default-pw: O! O1 r# g6 O9 M. w
  1237. mysqli.default_pw =# N' s. `" f' a7 o0 y9 @' x

  1238. / i9 O5 a! }3 @
  1239. ; Allow or prevent reconnect% b5 {2 v2 |( g
  1240. mysqli.reconnect = Off7 Q. N, A1 R+ ?, v1 g* R3 t
  1241. " w2 X5 U" @" T0 @5 t- s0 E
  1242. [mysqlnd]1 {) J1 M; A) C5 X6 L
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be% k, G6 j: J* h7 X
  1244. ; used to tune and monitor MySQL operations.1 r' S) _8 P5 B* D# H
  1245. ; http://php.net/mysqlnd.collect_statistics
    , l. g) J/ A- W2 o8 O
  1246. mysqlnd.collect_statistics = On7 J4 F7 z; F1 ?: w% ]  D* {
  1247. / b' Z0 j1 |2 C
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    . ^( f3 Y! m/ f  l  I3 F" r! |
  1249. ; used to tune and monitor MySQL operations.
    2 F' r( {( k# y
  1250. ; http://php.net/mysqlnd.collect_memory_statistics: ^6 q) J' |( @8 i1 z( _
  1251. mysqlnd.collect_memory_statistics = Off
    8 Z$ V$ w8 h# z8 p
  1252. 2 s& X! R+ g* @$ |; H
  1253. ; Records communication from all extensions using mysqlnd to the specified log1 u7 h, E, s! q6 Y6 E, O7 i6 u2 v
  1254. ; file.! ^& @, \. j% Z) ?8 N9 p7 s/ v- E
  1255. ; http://php.net/mysqlnd.debug
    3 p) s: v: P  c( H- d* t4 f
  1256. ;mysqlnd.debug =; y. V/ x* i/ b: ~0 g$ A
  1257. . }$ Z5 l3 ^  Q' r' V
  1258. ; Defines which queries will be logged.
    4 a$ a( V% o4 Y* N; j0 a8 T0 S/ S
  1259. ; http://php.net/mysqlnd.log_mask- d& N1 p6 D5 E8 k9 M
  1260. ;mysqlnd.log_mask = 0
    % ~" ~5 ~3 e- L* X4 j6 Y: T
  1261. 5 o; l1 U" }, b1 u: t! w5 O# ~
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ' Q5 O, ~2 d+ o1 A1 [1 Z
  1263. ; http://php.net/mysqlnd.mempool_default_size
    0 S6 ]8 ~9 v% C
  1264. ;mysqlnd.mempool_default_size = 16000& g, T' L( C3 o5 d- y0 X
  1265. 2 S8 |! J' I( t- T
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    8 q% d/ ]. u" f' s) t/ S0 z% F
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size2 L% I, f- H7 a/ v& D" i
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    5 K( Q: W! ?/ v3 c- Z7 {
  1269. 2 ?& J- s" N0 [$ ]5 k: s: \1 M
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    , E5 w0 t5 Z9 L8 t6 ?% u
  1271. ; bytes.
    ! H( }3 `6 t, r" }+ F% P+ A, a8 `6 D
  1272. ; http://php.net/mysqlnd.net_read_buffer_size4 `! H% h* e$ x: X( C& O% e8 T
  1273. ;mysqlnd.net_read_buffer_size = 327682 l3 O* \# @! {% a) z
  1274. + P: V" I6 z% Y: V/ C; \
  1275. ; Timeout for network requests in seconds.
    , K0 w5 M3 K$ W- P
  1276. ; http://php.net/mysqlnd.net_read_timeout
    . H5 s; V5 ~1 W' V7 D# K
  1277. ;mysqlnd.net_read_timeout = 31536000- n0 m2 e0 r0 h: D, R
  1278. 3 D* m% {1 @& p3 d
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA4 s& {' s: u( h6 q6 u
  1280. ; key.
    5 X" H) K' n+ C+ [
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    2 @+ F$ J: ~7 R, }; \- J
  1282. ;mysqlnd.sha256_server_public_key =
    + N  _( `; {0 ^+ S/ P
  1283. # @8 o9 u1 Z) K4 r: a& {$ w  C
  1284. [OCI8]
    : n) \( m, I% N, S) W7 y

  1285. 6 z, M  r+ j8 i9 S, k! P
  1286. ; Connection: Enables privileged connections using external
    9 P" a! N9 L( S/ r4 t" v
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)9 x) l/ R" j0 Q: w4 D* r; O; Q: X/ a
  1288. ; http://php.net/oci8.privileged-connect* o# k6 J# \8 _8 \9 F3 w
  1289. ;oci8.privileged_connect = Off- P: F& F2 C5 x- v8 Q  R0 H

  1290. ( e9 B2 d1 s8 R' O
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    4 \& S9 [4 e5 _" o) c( k) p- z
  1292. ; process. Using -1 means no limit.
    * D; p+ x) C/ r
  1293. ; http://php.net/oci8.max-persistent/ M6 w/ T8 }/ t+ M1 T1 `. D) S& r2 ?
  1294. ;oci8.max_persistent = -1
    8 q- o8 I, y  ]& C. M- y8 l

  1295. * |+ S8 \4 L5 i: V+ @$ B7 b
  1296. ; Connection: The maximum number of seconds a process is allowed to' `7 R& o( [5 B$ A% ~
  1297. ; maintain an idle persistent connection. Using -1 means idle% }( Y( w' Z5 w
  1298. ; persistent connections will be maintained forever.. c8 J! M. s3 u6 K9 n0 r0 f; P0 w
  1299. ; http://php.net/oci8.persistent-timeout
    5 F3 L4 S% _) N$ U7 d  b0 P+ p
  1300. ;oci8.persistent_timeout = -1! r6 B- _  S5 @5 c3 B3 U  ?3 U! n
  1301. 9 p5 F% ]3 ~5 i$ M. }$ Y( j
  1302. ; Connection: The number of seconds that must pass before issuing a
    1 r+ R2 f+ F. s# E
  1303. ; ping during oci_pconnect() to check the connection validity. When* i+ e# f0 J) y
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ; T; A! ]- a$ a) D4 r
  1305. ; pings completely., D; S0 h  v4 O: W7 A
  1306. ; http://php.net/oci8.ping-interval8 u/ {/ ~( F; P4 n6 f
  1307. ;oci8.ping_interval = 60, J2 W; G+ M, z4 X) g* d

  1308. 0 D' Y" m$ Y3 G. r2 A* \
  1309. ; Connection: Set this to a user chosen connection class to be used
    8 G: I: S9 T2 C/ k8 b$ |
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    2 [6 t5 V! F" `
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to5 ?# v) a9 H# d$ s. O, m
  1312. ; the same string for all web servers running the same application,+ w4 C* x* A4 d* s
  1313. ; the database pool must be configured, and the connection string must
    8 `. m! K) D, D$ s6 g0 i
  1314. ; specify to use a pooled server.& W2 M+ Z. L' N+ _% V; o1 Z  f
  1315. ;oci8.connection_class =
    " `+ n  \, [1 G/ l5 o% X

  1316. 8 K# t1 V4 {5 L9 _$ e6 _. v
  1317. ; High Availability: Using On lets PHP receive Fast Application; G5 r2 |1 L) t3 u7 l
  1318. ; Notification (FAN) events generated when a database node fails. The
    9 y$ x) }3 S; A! k6 h
  1319. ; database must also be configured to post FAN events.
    6 @- ]; w8 m: x5 p
  1320. ;oci8.events = Off
    ) {$ C% C. a& c# B$ ]. x

  1321. 3 o$ b( }- d* z3 B& p
  1322. ; Tuning: This option enables statement caching, and specifies how# e( }/ S/ Y3 g' r4 P
  1323. ; many statements to cache. Using 0 disables statement caching.
    1 e5 G6 _$ k/ b  e  m
  1324. ; http://php.net/oci8.statement-cache-size: Q; I6 Q) p- d  \/ v- y+ x! l
  1325. ;oci8.statement_cache_size = 209 `. `0 [2 E. |' S
  1326. 8 t; D& D0 J0 F: G1 y7 Z; {
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    1 e: ?0 r& T5 ^9 A, @, S0 x6 v2 G4 Z
  1328. ; rows that will be fetched automatically after statement execution.
    5 v' H8 R) ]/ n2 @2 R9 N
  1329. ; http://php.net/oci8.default-prefetch  l* p8 ~. J0 N: H+ G1 `
  1330. ;oci8.default_prefetch = 100* h- E' p4 D" P5 T. J
  1331. 5 z! A5 ]; Y. ^6 T  ?+ T# b  L* x
  1332. ; Compatibility. Using On means oci_close() will not close' R  U# t3 v6 Z/ p- Q3 t
  1333. ; oci_connect() and oci_new_connect() connections.
    4 J& k8 N7 Q* ~) [' j
  1334. ; http://php.net/oci8.old-oci-close-semantics
    ; z2 a: Y8 s  Y; K2 Q0 c4 n: x1 v
  1335. ;oci8.old_oci_close_semantics = Off* J/ @4 N! }! F; g2 F; ^& K# t

  1336. % k. A' Z: \: M# r
  1337. [PostgreSQL]
    5 C- n+ j# h9 A, ~% o
  1338. ; Allow or prevent persistent links.
    8 F0 |2 S: |$ A/ ]  _+ K
  1339. ; http://php.net/pgsql.allow-persistent/ ?9 D& R% g+ A1 Z3 i! N
  1340. pgsql.allow_persistent = On& l* S/ _! Q5 Q! U
  1341. 7 n/ U( ~2 c& s" L
  1342. ; Detect broken persistent links always with pg_pconnect().9 f: G( S2 @5 y" D, d5 z! Y
  1343. ; Auto reset feature requires a little overheads.3 h4 ~1 r. b, L) y. M, f
  1344. ; http://php.net/pgsql.auto-reset-persistent& |' K8 f3 B$ }3 y+ j
  1345. pgsql.auto_reset_persistent = Off4 {, Q5 L) r! n

  1346. + k7 T9 r9 w8 {5 B0 c+ ?
  1347. ; Maximum number of persistent links.  -1 means no limit.
    : M' ]0 F& ]0 z: |$ ?$ l
  1348. ; http://php.net/pgsql.max-persistent. S& Y5 D/ |# v* v' i" @& b; I9 Y
  1349. pgsql.max_persistent = -13 Y5 A$ r( l0 @# R

  1350. . z& X. W4 q* c( o0 K# V
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    " B2 O3 y  Q/ t3 |. D" j
  1352. ; http://php.net/pgsql.max-links
    . X9 H1 d* t5 Q6 U1 \
  1353. pgsql.max_links = -1
    0 t5 \8 ~6 ]+ {! r5 T

  1354. * S& a2 u1 `" @6 K" j
  1355. ; Ignore PostgreSQL backends Notice message or not.- f; V3 \" F: ?8 s4 t, P
  1356. ; Notice message logging require a little overheads.
    % H) ~3 s( z5 ~
  1357. ; http://php.net/pgsql.ignore-notice
    & s! J4 P; v+ T/ u1 \0 [2 d) \0 j2 W
  1358. pgsql.ignore_notice = 0
    6 c, Q" m' D! Q7 J

  1359. % n. r# r. G* B* q+ q7 d
  1360. ; Log PostgreSQL backends Notice message or not.
    : I+ s; T8 n, m  ~- q4 s$ r! ]2 B
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.& `: ]6 w. ^6 r* ~+ h$ ]1 z
  1362. ; http://php.net/pgsql.log-notice
    ; X- p, J% w, z9 U% s8 I
  1363. pgsql.log_notice = 0' u' B5 ]7 c: r, N: Q! P
  1364. 7 g" T: B6 I3 X( a! c2 g& {: }
  1365. [Sybase-CT]
    - P, r+ D* |7 G' n& C
  1366. ; Allow or prevent persistent links.$ y* I: _/ N4 B6 I0 S5 D
  1367. ; http://php.net/sybct.allow-persistent
      A; h/ c  w. x( n5 [5 }/ Y
  1368. sybct.allow_persistent = On
    ! D! x1 [0 N3 Y$ u
  1369. 4 i9 ^" ~! A8 b# Q1 G
  1370. ; Maximum number of persistent links.  -1 means no limit.
    7 n2 @+ [4 G3 F4 o9 \: ]2 }
  1371. ; http://php.net/sybct.max-persistent
    ) @! ]: l, P$ q- `8 C
  1372. sybct.max_persistent = -1/ d# @4 B. a  m3 D9 }# G0 }! o
  1373. 4 N" p6 G* g. c- c& E- N
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit., L3 J8 ~+ O0 K. q
  1375. ; http://php.net/sybct.max-links4 @  o! T9 b8 w8 f
  1376. sybct.max_links = -1& u/ ^# ~+ j( Y5 o' d# M5 X1 R

  1377. % I/ G! H& b+ b  v7 ]8 l
  1378. ; Minimum server message severity to display.
    . w7 _1 ?; e$ ?- ~0 |; c
  1379. ; http://php.net/sybct.min-server-severity
    & z+ _: a" E4 }: v+ X6 J
  1380. sybct.min_server_severity = 105 f5 o0 P$ ]* i& G' H$ W! B
  1381. 1 [0 \2 o8 t& B4 N' S. `+ C+ @
  1382. ; Minimum client message severity to display.! W! Z- E1 `9 l* r+ \0 P
  1383. ; http://php.net/sybct.min-client-severity
    7 G8 W/ S# Y( ^
  1384. sybct.min_client_severity = 10
    2 H1 H8 f, m9 O
  1385. # a9 _6 E4 T+ N! [) {
  1386. ; Set per-context timeout
    7 f' Q/ I2 Q3 ]* ?' P2 R/ K
  1387. ; http://php.net/sybct.timeout9 r5 F. Z8 z0 m. A6 g5 A  y+ M
  1388. ;sybct.timeout=
    ! r. g( |# L; ]6 ~) U

  1389. 1 X% m, K4 |' ~  Y0 ~; T4 r
  1390. ;sybct.packet_size7 D1 j! \& w3 C+ k

  1391. 5 t4 V- ]$ {! C. E9 R$ m3 [2 W
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    + [! t# }7 C# h0 ?
  1393. ; Default: one minute
    7 L2 [& g+ k7 A3 Q* p! I8 N. @
  1394. ;sybct.login_timeout=
    / w; ^+ j: k0 Y- x( B

  1395. 5 u% S' I4 c/ j
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    " t6 T+ q: K9 i$ f( e
  1397. ; Default: none
    9 K! u% e1 l5 B- a' d1 m$ D  u& p
  1398. ;sybct.hostname=# I) d* c4 `# @* M! A; S# I3 I

  1399.   q, P; I/ X9 U6 N& X) p
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    . R: i$ Z" ^8 `7 R+ q5 b
  1401. ; Default: 0" K7 ?+ q+ O( ~3 W! N
  1402. ;sybct.deadlock_retry_count=- r& h9 C( W% {5 ^7 {, W& R4 |  E

  1403. " t! q5 Z$ w8 M  {) J
  1404. [bcmath]
    : e4 y" X) E9 x# |! ?8 ^
  1405. ; Number of decimal digits for all bcmath functions.
    + \# n% K  U8 ]% s, ?5 X. L2 \
  1406. ; http://php.net/bcmath.scale( c1 i5 |; }$ I2 X3 K
  1407. bcmath.scale = 0" \" J$ g3 L1 W& k$ a1 ^. A
  1408. 2 ]/ G  V: V- a8 W
  1409. [browscap]
    + e5 [9 V& ~: y3 ?
  1410. ; http://php.net/browscap; N" e# n$ U( D
  1411. ;browscap = extra/browscap.ini, F8 F6 y0 X9 \. Z, s
  1412. 8 f7 t9 M8 x  ~" K+ k2 L8 A0 L
  1413. [Session]
    8 y, I5 j4 p! O! n$ O6 `$ Y
  1414. ; Handler used to store/retrieve data.2 M! S0 g7 g* e7 h8 ]
  1415. ; http://php.net/session.save-handler
      Z: L" v2 T) S/ |" e3 o. V3 l2 x
  1416. session.save_handler = files: m/ X2 }( n& B6 i+ ]

  1417. # N5 j& i7 B2 t+ t, x1 O0 X
  1418. ; Argument passed to save_handler.  In the case of files, this is the path$ V7 e; t( z' `* n# F' j
  1419. ; where data files are stored. Note: Windows users have to change this. `1 z# O- V4 o& e5 x) k7 o' f
  1420. ; variable in order to use PHP's session functions.' Z: Z6 |4 ^/ L0 \. }$ U2 H3 D. p5 w
  1421. ;; z3 j7 C- s8 q( |- i' v
  1422. ; The path can be defined as:. E4 z7 p3 C* b- b/ {7 {
  1423. ;" K) I% V, [. ]0 ?5 G  A: g" q
  1424. ;     session.save_path = "N;/path"
    ) s0 M% J( R0 `; G; C3 q' |; W
  1425. ;
    " h/ `& Z6 D9 Y2 q
  1426. ; where N is an integer.  Instead of storing all the session files in
    ) [/ R; n1 s  t" w5 o2 Q
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    ! U% O( b9 [' l+ F7 }# y
  1428. ; store the session data in those directories.  This is useful if* U& J0 w; o) d5 J& x0 U
  1429. ; your OS has problems with many files in one directory, and is! c# t8 o  b; |% @& V8 y( G5 J
  1430. ; a more efficient layout for servers that handle many sessions./ p* L% e0 p( c7 k/ {+ j% D
  1431. ;  \2 }5 B- d, f/ r7 Y+ n$ U
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    " {7 O. l  M! d
  1433. ;         You can use the script in the ext/session dir for that purpose.
    $ B6 b3 |1 F' o2 r5 z7 G9 U% Y
  1434. ; NOTE 2: See the section on garbage collection below if you choose to2 U, g% W' O# _3 \' S' C$ w
  1435. ;         use subdirectories for session storage: s0 ^/ a9 y2 W/ I/ ?, d5 r2 P/ D/ d
  1436. ;8 D+ N% ~9 c7 y. J3 |( I! R
  1437. ; The file storage module creates files using mode 600 by default.. U  y) F3 X, `7 {: K
  1438. ; You can change that by using6 ^: k0 B: G& @
  1439. ;
    8 ~) j. g  s5 k: d
  1440. ;     session.save_path = "N;MODE;/path"; b1 ^* _) z' v: E( \  B' P
  1441. ;% y2 m' c+ p3 s" e9 L* h7 N; V& n
  1442. ; where MODE is the octal representation of the mode. Note that this
    " I" y3 h9 U% e" k' u. D; j
  1443. ; does not overwrite the process's umask.
    ' P  \' x# d% d8 p% r+ r% s, }+ z/ z# R
  1444. ; http://php.net/session.save-path
    7 W4 c/ d' b' x8 {4 U
  1445. ;session.save_path = "/tmp"- c4 k# p0 s: Y+ O. {" @

  1446. $ G( x; S7 |$ K( w
  1447. ; Whether to use strict session mode.
    ) L$ p! }) }% d4 M  L8 l
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate& X( Q& S0 o" o! a8 K* o5 R. B
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects  K. t- }  P1 l- _2 F
  1450. ; applications from session fixation via session adoption vulnerability. It is
    ( ~: S3 N# p8 O1 b" \7 a
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.$ k3 l% w( G, L! p; u+ N
  1452. ; https://wiki.php.net/rfc/strict_sessions) J& O8 M4 L  `. R2 b+ R
  1453. session.use_strict_mode = 0
    ! A7 t9 z0 B; \& l7 l

  1454. ( @4 c' O3 P) s, h
  1455. ; Whether to use cookies.
    - B6 ]' I" x" |5 S- q& n
  1456. ; http://php.net/session.use-cookies
    4 Q3 s7 V& D- e7 d# f( c
  1457. session.use_cookies = 1
    ; F0 i: E; W! P& ~

  1458. & X1 l8 t3 Y* }7 p# D& u
  1459. ; http://php.net/session.cookie-secure3 q+ o9 q* o2 j# |% S5 y
  1460. ;session.cookie_secure =
    3 [0 Y5 g/ E2 n, B! [0 @1 J

  1461. ! R- ?9 F/ A4 J1 J' a; D
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    & E. H, K+ g; u. B* C
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    7 ^7 `0 o2 s4 T- T
  1464. ; session hijacking when not specifying and managing your own session id. It is
    3 v3 j$ j  _' C0 g% x
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.% Z) K9 b# x/ P$ S
  1466. ; http://php.net/session.use-only-cookies# J' ?% J% S( \. ?+ ^/ Y, O6 [
  1467. session.use_only_cookies = 1- q$ P! e2 v% i! Y) X8 {' n# u
  1468. 0 B$ }. O; i  Q% F7 n; ^) d
  1469. ; Name of the session (used as cookie name).
    + f# n6 Y$ ]- s7 X) U9 A
  1470. ; http://php.net/session.name* |: S; s: T' Z' b- M6 X
  1471. session.name = PHPSESSID: [/ C# \, d' R* _7 C7 u& t  i

  1472. 2 s7 H. s5 F0 M" f
  1473. ; Initialize session on request startup.
    # i8 p% y2 }. U+ o6 Q( a3 ?& ?
  1474. ; http://php.net/session.auto-start
    8 s: P5 I( x4 n& @
  1475. session.auto_start = 0
    # B/ C; @8 J+ V. Z
  1476. ' o/ \8 w4 t/ Z/ Q. [  q6 n
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted./ A9 m; k0 ^. S+ E6 m  J0 u
  1478. ; http://php.net/session.cookie-lifetime
    3 y( t! f% H1 L4 [3 b4 p
  1479. session.cookie_lifetime = 0, F* |  l6 q0 L- J
  1480. " H" I( l1 {6 Y& O; Z( j
  1481. ; The path for which the cookie is valid.
    6 F; {* l9 P; T7 b+ J% n) W
  1482. ; http://php.net/session.cookie-path
    # v2 m4 A. X3 m; X
  1483. session.cookie_path = /
    1 ]8 n0 n$ M3 X4 [4 o5 N* G
  1484. 5 }5 J- ?; q( z" \1 l6 s
  1485. ; The domain for which the cookie is valid.
    - Y" I( Y; ?/ b! \
  1486. ; http://php.net/session.cookie-domain
    . s) z) J! j" }2 C  m/ G
  1487. session.cookie_domain =* B2 T2 B. u( v, x( `$ N' V2 S
  1488. / x% B- w" d/ _4 _
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.4 w3 t" ?! J" w. m; S" b; j$ ?
  1490. ; http://php.net/session.cookie-httponly
    0 v, Q: m2 [3 e  ]6 w. w! z+ ~& \
  1491. session.cookie_httponly =
      n8 r6 r; k  m! C* x$ E: }, ^/ g

  1492. + F! J3 U( j7 R1 f# Y+ K6 ?
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP., t4 Y: z4 I7 _8 U8 E+ _
  1494. ; http://php.net/session.serialize-handler0 n$ A2 d8 D2 d  T( o+ V2 y
  1495. session.serialize_handler = php" P) a$ }9 r6 U% R5 Q* n& Y" @* H

  1496. * e9 F7 C# ]* ?( `1 v" v; b
  1497. ; Defines the probability that the 'garbage collection' process is started; ?4 K! g* n: O
  1498. ; on every session initialization. The probability is calculated by using
    ! |% f# a, l6 ?. Y$ _! X
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    0 {  u3 B4 m8 c% C
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    9 N* y6 R% Q5 `' }
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    4 q. I% S5 p  `. f' t1 j
  1502. ; the gc will run on any give request.  \* ?; [% n/ l( ?' Z  Y
  1503. ; Default Value: 1  j( Z- W2 L5 F; v6 h
  1504. ; Development Value: 1
    . g6 Y3 |6 D4 X: R2 n1 ]
  1505. ; Production Value: 14 K4 N3 @, m* D  t( H
  1506. ; http://php.net/session.gc-probability
    + w4 O9 m' ]7 T( w5 H
  1507. session.gc_probability = 14 b" |1 z5 V8 _0 M  c& a

  1508. 9 H$ g& {9 X( Z3 W3 O) P
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    + c1 i+ q7 n! P( J* x
  1510. ; session initialization. The probability is calculated by using the following equation:/ V5 n/ o5 R8 j/ _# v
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and+ j, I2 d* i6 S: i2 D: h+ A
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 16 p# ^8 @) n* d4 {, ~6 Q! f
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 Y5 \4 J. ?/ D+ }4 v" H8 t
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    . U- u# C( q& m
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    $ |& Z. z: o* O2 r; _, }
  1516. ; this is a more efficient approach.
    9 E- T1 o4 T+ K# M+ P8 p3 S2 v! L
  1517. ; Default Value: 100
    # M* I4 o. r; r% m/ [7 L) O; I* C
  1518. ; Development Value: 1000
    9 M  P+ {9 d  c* F
  1519. ; Production Value: 1000
    - k6 [0 P  c! p
  1520. ; http://php.net/session.gc-divisor
    , J$ K3 C3 U* w8 `% z) [7 ]+ L9 z5 ?
  1521. session.gc_divisor = 1000, f4 g! j; N4 `
  1522. 5 ~' u9 y2 ^9 j) i' `& k3 G% |1 p
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    4 m( s4 u% S  I; Y5 }) c7 v  W  z
  1524. ; cleaned up by the garbage collection process.& h+ g: G/ A* [- M* t* F
  1525. ; http://php.net/session.gc-maxlifetime
    . M- [- X; w3 e0 @8 Z' h
  1526. session.gc_maxlifetime = 1440+ ^& u3 h" L  K4 v

  1527. 7 `. k1 `  s) W$ K
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    & m/ g) ]; G$ {% x& M8 R7 ~
  1529. ;       (see session.save_path above), then garbage collection does *not*
    3 W; w$ q6 o7 j- T# X
  1530. ;       happen automatically.  You will need to do your own garbage- X" Y; o. l6 q" a3 B0 \# i
  1531. ;       collection through a shell script, cron entry, or some other method.
    % L; a6 i6 J: ~, {* k4 x
  1532. ;       For example, the following script would is the equivalent of
    ) m( c9 v" m" l2 N* e
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    1 u0 X0 _4 z# f! X
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
      N7 C2 R/ k7 {8 H4 R
  1535. & \- A9 O" s0 d' d4 q
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ( C1 w5 O, s1 F. t2 v1 k3 s
  1537. ; HTTP_REFERER has to contain this substring for the session to be0 k7 v8 o! @) A$ L  W2 [2 W
  1538. ; considered as valid.
    + ?7 }9 n) C& T3 q4 `4 g( |& Y+ ~! f
  1539. ; http://php.net/session.referer-check+ k, T9 u" v/ Z5 L4 L% h2 X! E
  1540. session.referer_check =7 v! @% k1 ~4 h9 ^' h7 V. ]

  1541. . y: j8 l1 T( P
  1542. ; How many bytes to read from the file.& V" T" r% _" w  t' \" E' Q; V
  1543. ; http://php.net/session.entropy-length0 X' O$ c2 q+ l1 d; p2 \, t
  1544. ;session.entropy_length = 320 u  g+ w! I6 J! L% p6 a  S
  1545. - E2 u- K+ _: A# s4 Q: G0 ]
  1546. ; Specified here to create the session id.5 B% w2 H3 L! R0 I, M/ I) K6 R
  1547. ; http://php.net/session.entropy-file
    + [9 b9 @' K- S  u, x
  1548. ; Defaults to /dev/urandom2 n5 Q# P! W6 K8 j' Z
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom" x8 t3 w: d  s; B  R4 K
  1550. ; If neither are found at compile time, the default is no entropy file.
    0 s) `, ~, m: w# p1 Q0 X
  1551. ; On windows, setting the entropy_length setting will activate the
    * V) p- W/ d$ c4 I) ^9 y
  1552. ; Windows random source (using the CryptoAPI)+ N/ z+ i, Y* _( l
  1553. ;session.entropy_file = /dev/urandom+ j1 l" v0 [# |4 s* u2 r
  1554. 6 O. O1 Y2 ]1 r
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects$ M0 D3 I) O; W; r3 w
  1556. ; or leave this empty to avoid sending anti-caching headers.
    $ r. k1 [8 |4 x, Z! T% y& R5 I) u
  1557. ; http://php.net/session.cache-limiter
    % o3 J. J0 E# B
  1558. session.cache_limiter = nocache8 y4 Q$ M" O, n5 o7 D5 z
  1559. 9 k* R' d% }7 u" G, y3 u/ W( l
  1560. ; Document expires after n minutes.
    4 |: R+ Y! h. ^# C5 j0 U+ E, j
  1561. ; http://php.net/session.cache-expire; Q- ]7 |, W. T9 m
  1562. session.cache_expire = 180# F3 l4 @8 E2 G7 f7 O3 N

  1563. 0 M/ Z. l! ^4 U$ J$ ]: p
  1564. ; trans sid support is disabled by default.0 H! R& L: T, C; l" `. y$ @
  1565. ; Use of trans sid may risk your users' security.+ Y: c/ m: s% B2 l5 S
  1566. ; Use this option with caution.
    # }) l* T( B' w$ u- c
  1567. ; - User may send URL contains active session ID* S4 A! `3 \; r" g" E! ^/ n, \" Y
  1568. ;   to other person via. email/irc/etc.% p9 ?  _# ?  _1 A( E
  1569. ; - URL that contains active session ID may be stored
    + ]; l4 y0 z) w: K# ~
  1570. ;   in publicly accessible computer.
    , d  b1 H; Q7 ^" q
  1571. ; - User may access your site with the same session ID  N% m8 ~  |# c: n4 s
  1572. ;   always using URL stored in browser's history or bookmarks.
    ( d3 [8 S7 P* p5 Z9 u2 J- Y8 A7 r) h
  1573. ; http://php.net/session.use-trans-sid! |& x2 O( Z2 W, {2 u: N8 Z% A% T
  1574. session.use_trans_sid = 0
    0 \  Y" N1 @) S
  1575. ; f; z+ t. q, i. j: Q
  1576. ; Select a hash function for use in generating session ids.( R5 D9 u9 _* |7 X
  1577. ; Possible Values
    * S4 S' y! O1 e& [0 q; u/ v1 i9 n
  1578. ;   0  (MD5 128 bits)& }5 ]- b' X* J: N2 k
  1579. ;   1  (SHA-1 160 bits)
    " b7 S1 g5 J, X) `
  1580. ; This option may also be set to the name of any hash function supported by
    5 a6 i% z  X7 u8 d" H  z4 d
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    " [& g2 ^- d& x9 `
  1582. ; function." _( k3 k- q% }3 _: I$ c% n  i
  1583. ; http://php.net/session.hash-function
    " l8 N9 D$ h7 g% z, B8 W$ l' I
  1584. session.hash_function = 0, H- e0 p& D3 T  G: z7 C

  1585. 4 ?9 d9 K3 r$ _2 ?% V
  1586. ; Define how many bits are stored in each character when converting9 o% S% A4 v6 N' c
  1587. ; the binary hash data to something readable.0 r4 O/ `- ^" j/ }0 `% z. A
  1588. ; Possible values:( R( A2 z2 x% v' Y, j2 [
  1589. ;   4  (4 bits: 0-9, a-f)
    " ]0 ?5 E0 k, E0 Y% |9 Y
  1590. ;   5  (5 bits: 0-9, a-v)' L/ ?3 N* K" x' h4 s
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")% a8 f9 d, Y1 ^# c, ?4 O7 ]
  1592. ; Default Value: 4, x( h; A% j9 B% @2 v
  1593. ; Development Value: 5
    . d; G7 u) Y! {- ]
  1594. ; Production Value: 5% w. h6 a4 S: A" ]! h
  1595. ; http://php.net/session.hash-bits-per-character% b1 j+ x/ \) I
  1596. session.hash_bits_per_character = 5
    4 q/ j/ ^: F7 L- n; s$ t

  1597. " ]0 v. M: a' A# l, s
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.: ~+ D/ j8 N4 K' t: z
  1599. ; form/fieldset are special; if you include them here, the rewriter will! n1 k9 b# g% X9 l6 ?
  1600. ; add a hidden <input> field with the info which is otherwise appended
    2 K2 j" `3 B) `% w7 _
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.5 k1 }- }; N* S3 R1 v
  1602. ; Note that all valid entries require a "=", even if no value follows.
    $ Z# c% e  I% |+ `/ L
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    3 ?0 p( F" n: ?  V5 Q  d
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 e7 F/ O6 `! p
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' e9 H# f9 t7 C
  1606. ; http://php.net/url-rewriter.tags. b# t0 Q% a/ i* N
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 `, q5 d6 ?* e) _& ~
  1608. , D" y6 H9 I8 e$ R0 N
  1609. ; Enable upload progress tracking in $_SESSION$ L& J( o2 I1 M  b8 i5 D. f
  1610. ; Default Value: On
    # a9 k* u. ~! H8 o9 M' A& m
  1611. ; Development Value: On% Y! Q1 q. p8 z
  1612. ; Production Value: On
    ( \, h4 ?8 |1 K$ ~( P4 _' `  }
  1613. ; http://php.net/session.upload-progress.enabled
    0 K# s, f! f5 I* D% c
  1614. ;session.upload_progress.enabled = On
    ! h4 g+ c4 Z5 I$ k+ {& ~  ^, }0 r& t
  1615. ; U2 f8 d- F% e6 s
  1616. ; Cleanup the progress information as soon as all POST data has been read
    / m$ m; G6 C$ g  Y2 c/ z
  1617. ; (i.e. upload completed).
    : P  m7 f" n: I3 {5 u% r
  1618. ; Default Value: On
    ( J! @. R) E1 T; T% T- S+ k
  1619. ; Development Value: On
    ) _, \- N0 ^2 K. g, Z! L' ]
  1620. ; Production Value: On' ~6 c# n: L* W3 A
  1621. ; http://php.net/session.upload-progress.cleanup
    3 R5 ~0 v& |2 r2 w/ I, L
  1622. ;session.upload_progress.cleanup = On
    ! _* {3 D8 Z, W

  1623. % v" U" u/ q  d3 C7 W: U: \6 ?
  1624. ; A prefix used for the upload progress key in $_SESSION. t  G- f3 v. b9 }
  1625. ; Default Value: "upload_progress_", u$ w$ m0 w& o' Z. M0 e( v; ^
  1626. ; Development Value: "upload_progress_"* O$ D& }+ s; V1 a# i
  1627. ; Production Value: "upload_progress_"0 s9 ^9 A" Q" X1 P: t' L
  1628. ; http://php.net/session.upload-progress.prefix; b7 v2 \* Q( \, h, [* L8 j7 |
  1629. ;session.upload_progress.prefix = "upload_progress_"
    # L& p' f& M* _: ]3 g5 }' X! \

  1630. " |/ W4 N7 p/ E) `/ H
  1631. ; The index name (concatenated with the prefix) in $_SESSION3 p( W' Y% A, l4 z
  1632. ; containing the upload progress information+ ~  z6 H- x5 L: ?& E' O( q9 t3 C
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS") a0 [' g: n7 a  N7 r1 {' f1 L* \
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"/ }" D9 T/ V) j% [( \
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 A8 c& _4 l" M4 \
  1636. ; http://php.net/session.upload-progress.name1 U0 {! ]) x+ H
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"2 A/ \9 j/ a4 M
  1638. 8 {- Y: d/ a6 D7 N$ j
  1639. ; How frequently the upload progress should be updated.
    . M/ l% `( W# ]$ p! B
  1640. ; Given either in percentages (per-file), or in bytes' C' g9 K$ Z% Y* [4 ]3 S
  1641. ; Default Value: "1%"
    . [5 U# Y7 O0 p- u
  1642. ; Development Value: "1%"
    ) V6 L6 c! B6 h' n4 F+ g0 C
  1643. ; Production Value: "1%"
    ; S. n4 j5 s- \9 S: w9 c) G
  1644. ; http://php.net/session.upload-progress.freq2 r6 q( V8 B2 R7 E0 P" h( q
  1645. ;session.upload_progress.freq =  "1%"
    4 E; u! t7 R" }/ }8 f! ]9 G% g1 a
  1646. 3 m. H) c  v# [9 D5 X, C1 s
  1647. ; The minimum delay between updates, in seconds( N3 g5 D+ L0 T2 A) j# f4 F; X* ]" G+ _
  1648. ; Default Value: 19 d  C' F$ {, E1 j  x
  1649. ; Development Value: 1
    % [; P% I1 U' d3 O, w, X
  1650. ; Production Value: 1
      J8 z4 F$ U3 I* m- d; k2 w
  1651. ; http://php.net/session.upload-progress.min-freq
    ! l; [. o) I( J, T
  1652. ;session.upload_progress.min_freq = "1"
    5 m8 b2 d' i7 j# S8 c( a

  1653. 8 w! E- \5 k0 a6 S2 b1 ~% Z
  1654. [MSSQL]
    9 b' w$ S" p# [; e4 w
  1655. ; Allow or prevent persistent links.
    * c, [6 K) y% _- C1 I' e
  1656. mssql.allow_persistent = On
    9 g% q, X% k0 m0 {# N, |, @" T& V
  1657. 2 q1 j# r0 s( X/ T0 w  ]
  1658. ; Maximum number of persistent links.  -1 means no limit.: N4 n6 X* O. C+ h# f' X
  1659. mssql.max_persistent = -1
    8 D! Z/ |+ c8 O6 U+ {. X

  1660. & U' M1 ^- t1 h, q& k  \) H
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.; O6 B) T# C% M. [8 D9 k
  1662. mssql.max_links = -1" m/ y9 w* Q# ^# D0 _2 a3 I; Z

  1663. 4 }- @$ j! l, d- h7 _  x
  1664. ; Minimum error severity to display.- A7 z: Z: i* W/ G( O
  1665. mssql.min_error_severity = 10
    + {1 i& |- I, Y* L# R3 i) t( \% |0 y

  1666. % f3 `0 t1 e! r  j+ @- v0 v7 |
  1667. ; Minimum message severity to display.: T( C  A: W; u/ B4 q! x- b
  1668. mssql.min_message_severity = 10
    & \! ?) e& u! _* Z' \$ V
  1669. . c- t- Q7 j$ p
  1670. ; Compatibility mode with old versions of PHP 3.0.
    ! o$ {3 S; |* @+ o+ C+ g' B
  1671. mssql.compatibility_mode = Off
    9 h- i! X2 `  F. {. X- Y

  1672. 8 E' ?% k. F# _6 [7 M5 l; B1 D/ b
  1673. ; Connect timeout
    6 r; d. ], ^- l. T; y
  1674. ;mssql.connect_timeout = 5
    + K. F7 [2 J" {) X# I& a, @6 z5 y7 \

  1675. * o3 }! g4 k, g- a9 i; y
  1676. ; Query timeout
    - t! r" s# g" G/ q- m0 k% k( a
  1677. ;mssql.timeout = 60
    * x1 N  k# `  t/ H) X9 G& x

  1678. 1 J" S; S4 N1 ^/ m
  1679. ; Valid range 0 - 2147483647.  Default = 4096.; _; I6 w! {, j! r
  1680. ;mssql.textlimit = 4096
    ( ]* q$ l2 i( x; v1 Z" F( _
  1681. / o( `; g: K. N/ m2 s6 t/ O1 f/ o
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    9 L  D$ \# u2 l' m/ M8 \
  1683. ;mssql.textsize = 4096
    0 g8 I* n8 ?7 t7 \

  1684. , ~' @4 A4 O' q
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.% D; l# F8 E+ O$ [9 p! k/ Y8 i
  1686. ;mssql.batchsize = 0$ \* \' u: P! F4 x

  1687. - g: [4 K% {& m3 P6 z0 F! b
  1688. ; Specify how datetime and datetim4 columns are returned2 n* L8 L  T! t
  1689. ; On => Returns data converted to SQL server settings
      O% c. ~# w" n9 j, [/ W9 N+ S
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss: E2 j  Y5 y7 _# c$ W* h
  1691. ;mssql.datetimeconvert = On9 l: s" a, M3 ^( |
  1692. " p  i; s* r6 u7 [
  1693. ; Use NT authentication when connecting to the server
    4 \1 Y3 i( d# X  d. X5 p2 S. ?
  1694. mssql.secure_connection = Off! x2 \6 F; Q+ t# O

  1695. & [% H4 c% F, `1 k
  1696. ; Specify max number of processes. -1 = library default- n* E5 ~9 r% A" B2 ^2 S
  1697. ; msdlib defaults to 25
    3 G. [1 n3 C2 @8 C4 U' m# o' i
  1698. ; FreeTDS defaults to 4096
    . H9 ^' G& n4 V2 U8 N6 v! C
  1699. ;mssql.max_procs = -1
    5 T7 L6 O! q2 o

  1700. 3 y1 S4 W, r" w9 e: f5 R
  1701. ; Specify client character set.
    6 h8 k4 N- F% {# m
  1702. ; If empty or not set the client charset from freetds.conf is used
    ( W. W  d+ h5 n$ S# [9 |1 h  B7 o
  1703. ; This is only used when compiled with FreeTDS7 E: g1 X+ X. U( X' q1 `
  1704. ;mssql.charset = "ISO-8859-1"
    $ ^! M  F2 a( `) t: \" K

  1705. ( X( t) G& \. U( n* e* P& o5 c% o  J
  1706. [Assertion]
    & [1 N1 l1 Q6 N9 V0 M
  1707. ; Assert(expr); active by default./ S; g  z) c' H5 f$ ^& t
  1708. ; http://php.net/assert.active
    , T3 G* W/ Y9 I; Z8 C4 l
  1709. ;assert.active = On
    ( G& B0 S3 F4 G

  1710. ) D+ t: c/ W+ Q, N3 X4 a! x! D
  1711. ; Issue a PHP warning for each failed assertion.
    6 f3 a" e# w& k$ j* F
  1712. ; http://php.net/assert.warning# c& ^- M* N' Z; F8 V3 \
  1713. ;assert.warning = On9 l. }" x  ~0 B9 N/ F# d0 W+ e4 |% E

  1714. 7 w. j5 ^' e6 z* i
  1715. ; Don't bail out by default.
    3 j3 |6 N8 d$ D+ t
  1716. ; http://php.net/assert.bail
    $ ]9 C1 Y2 d. m  b0 K' G
  1717. ;assert.bail = Off
    6 u+ I2 N7 `) T% d& h$ P& E: o
  1718. 9 m9 t5 v" V# ~* {0 z
  1719. ; User-function to be called if an assertion fails.  R0 z/ h" I" Z1 r
  1720. ; http://php.net/assert.callback
      r2 i# r! \) j5 ~
  1721. ;assert.callback = 0
    / r5 Y3 J, ~. q: q
  1722. 3 m5 k, W1 h8 ~; G+ @. u
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    & d0 t6 B; j9 q
  1724. ; error_reporting(0) around the eval().
    / R. I% e8 d3 c' O3 s
  1725. ; http://php.net/assert.quiet-eval( p) n2 Z0 W" R
  1726. ;assert.quiet_eval = 0
    - d' H" U9 L$ j7 t( h

  1727. / \0 z: h9 F1 M6 B8 y
  1728. [COM]
    5 E' |: w+ s$ Z0 e) D
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs7 s3 N2 D& ?, @. `, ~4 t# j: W/ E
  1730. ; http://php.net/com.typelib-file7 M9 d: {6 q" |8 G
  1731. ;com.typelib_file =
    9 v- ~' u3 K! k, D* h7 H4 c
  1732. 4 g, A) z; A0 e
  1733. ; allow Distributed-COM calls& h/ W, Y4 Z: R7 f. c1 y
  1734. ; http://php.net/com.allow-dcom5 O7 {9 s+ @3 K/ N# M. u  c9 `, a
  1735. ;com.allow_dcom = true. @* C- \$ ?: {, K1 y7 ]

  1736.   J; E* o) E  @
  1737. ; autoregister constants of a components typlib on com_load()
    ) U5 ]# G$ v& D2 g
  1738. ; http://php.net/com.autoregister-typelib
    ! X4 V) L- d+ u- c6 n  @, r
  1739. ;com.autoregister_typelib = true/ d" s+ m9 j0 m2 J0 x1 ~
  1740. / \/ W8 u% @6 Z# n
  1741. ; register constants casesensitive  @& Z$ V7 }3 G+ ~2 |# j8 z  T
  1742. ; http://php.net/com.autoregister-casesensitive
    + B, z& t) z0 r1 t$ D
  1743. ;com.autoregister_casesensitive = false
    # p, {4 h9 j& M( P/ S* ]: O8 G2 z

  1744. 9 Z9 H& J  f. V' C4 j  m* e
  1745. ; show warnings on duplicate constant registrations
    ' J. F) p- q/ j  v+ R: |! @& e/ f, }
  1746. ; http://php.net/com.autoregister-verbose
    : H# l( J1 H2 L
  1747. ;com.autoregister_verbose = true
    2 x0 R, [+ `; h2 t7 o" q
  1748. $ Y0 ]% Q) b% w; \6 Z
  1749. ; The default character set code-page to use when passing strings to and from COM objects.9 |2 ]0 n* x" [  l
  1750. ; Default: system ANSI code page
    $ H  G+ n: K$ o& ?
  1751. ;com.code_page=6 _$ a* f" j# K- r2 L! `
  1752. $ p0 y+ t. ?; U4 C) k/ \
  1753. [mbstring]5 _7 I7 ~6 A0 r$ y
  1754. ; language for internal character representation.
    0 m: f- j, }. t5 M* A1 S& Q
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.8 M, l+ V. m: ]. f
  1756. ; http://php.net/mbstring.language  \0 O4 x# S6 y6 M& Z, H$ G, e- X
  1757. ;mbstring.language = Japanese
    0 K! g9 b1 ]7 Z* z8 m& h! V/ b. J: {

  1758. 7 S' Z) Z+ T* |# r* u3 ]( u
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.1 \( r% Y4 ]7 u8 X2 j  n6 A- V
  1760. ; internal/script encoding.+ o+ H. m+ h0 R8 \+ x  J) h9 ?6 z
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ! l! g! ?. w% h. ~
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.6 M0 A% f+ }, `1 L2 {6 Q" q
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding& A  _. y! q( C
  1764. ;mbstring.internal_encoding =
    # z3 [8 O0 }& @- U

  1765. + A! t7 [/ V# k1 L! x6 w0 k
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.2 [! z3 q1 I1 P( C1 Y! i: N
  1767. ; http input encoding.) C, [, H+ A! z2 v( }( v* D
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.  Y8 `6 b9 y; q4 _
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    6 T6 H+ ?$ ]$ m. }6 v" ?9 P8 g
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input4 W6 ]) _. S% `; t  @: o  p4 k& v( i
  1771. ; http://php.net/mbstring.http-input8 p/ S+ Y) `8 P' Y  q
  1772. ;mbstring.http_input =! w2 e1 s4 k& C
  1773.   i) ]; }; q' r1 l. E6 p
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    9 p3 x" S* ~+ v
  1775. ; http output encoding.5 _9 n$ k$ f! a* {( W6 G
  1776. ; mb_output_handler must be registered as output buffer to function.5 Q0 i3 _* Y  l: h
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    2 x: R/ z) |: p' q- B
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    & z4 u) `0 p& w, u8 o
  1779. ; To use an output encoding conversion, mbstring's output handler must be set, \* b* A/ W4 Z' S% [; [. [# P
  1780. ; otherwise output encoding conversion cannot be performed.1 U8 N/ s, _; D# b' z
  1781. ; http://php.net/mbstring.http-output2 A' l* r- f7 B$ ~( [" E8 T9 a+ S
  1782. ;mbstring.http_output =9 o( V5 r9 \& Y! R' j, A
  1783. 6 z7 P& t+ {3 f" O5 d/ S
  1784. ; enable automatic encoding translation according to
    + G1 @5 ~2 z) [. `$ M: y7 Y# H
  1785. ; mbstring.internal_encoding setting. Input chars are$ s4 k7 ]& j% A- p/ H
  1786. ; converted to internal encoding by setting this to On.
    : G& F4 o7 Y9 q7 ]: U1 C  M' {
  1787. ; Note: Do _not_ use automatic encoding translation for5 h) ~4 j0 N" \" S5 v
  1788. ;       portable libs/applications.& f+ v! P# m5 j' }& g* S" V
  1789. ; http://php.net/mbstring.encoding-translation
    $ e" l: m: C1 T5 |6 m
  1790. ;mbstring.encoding_translation = Off
    # y0 Z+ u% ?" h% A
  1791. ) d) ^4 c  b5 K3 W. r
  1792. ; automatic encoding detection order.) Z6 `! Q: V# i0 }; m# N$ [! Y
  1793. ; "auto" detect order is changed according to mbstring.language
      K$ B2 C: g2 a* j: l
  1794. ; http://php.net/mbstring.detect-order/ Y7 g  j  t- Q+ q( n
  1795. ;mbstring.detect_order = auto) P% t* J% U8 C# H' t
  1796. 1 o3 v% W1 P) ~7 a
  1797. ; substitute_character used when character cannot be converted
    7 O' J  A. s2 }  A! J5 W
  1798. ; one from another* a# @6 _" n! L. h
  1799. ; http://php.net/mbstring.substitute-character6 _) k  s; b. p/ ?2 l0 A/ P
  1800. ;mbstring.substitute_character = none+ o$ S# `, u+ @# I" v

  1801. . @# N8 J# ?' g% a7 |- b
  1802. ; overload(replace) single byte functions by mbstring functions./ i  k  [* o# }0 y
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),# [5 s; l  b' j# y2 o2 A
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.6 B8 }' l: l- m2 F
  1805. ; For example, 7 for overload everything.
    * f7 [+ R1 _, Y
  1806. ; 0: No overload
    * d  M, W( c8 \( r3 q
  1807. ; 1: Overload mail() function8 H: z# P9 {, S( o/ }: v1 P# b
  1808. ; 2: Overload str*() functions0 X0 G/ {7 ?9 F0 V% N( i- q3 ~  k6 T2 C
  1809. ; 4: Overload ereg*() functions9 l4 \  ]: X" X/ H5 Z
  1810. ; http://php.net/mbstring.func-overload. V7 m2 i* @& N
  1811. ;mbstring.func_overload = 0
    * b* @7 r6 }4 h1 U3 w" X* |

  1812. $ h8 f( ~: o/ B- d$ S( _8 G  Y
  1813. ; enable strict encoding detection.' u6 C/ l* X1 O& p
  1814. ; Default: Off
    9 g% [8 M- Q& }& _
  1815. ;mbstring.strict_detection = On
    % `, O- b7 e5 h. C$ m; @: P
  1816. $ ^, D) Q; \* v
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()% e+ ^7 u8 i2 b! _% v% N3 R5 x
  1818. ; is activated.
    ! o$ y4 f, E$ \4 N
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml), D, g& F* }2 m& l. {, G
  1820. ;mbstring.http_output_conv_mimetype=1 c4 ]  p0 A. s8 h; v" r; R% o& k! g

  1821. 9 b- P# c) B9 B; i
  1822. [gd]! G: O$ v: ]1 U5 N. {1 t! e
  1823. ; Tell the jpeg decode to ignore warnings and try to create% I  G* x  d: \0 }* s
  1824. ; a gd image. The warning will then be displayed as notices; ^9 i1 m4 |! D1 `- j" }
  1825. ; disabled by default' ^  b0 u9 K) t: G+ c
  1826. ; http://php.net/gd.jpeg-ignore-warning
    & a  [9 q: {7 L* ~$ i7 U
  1827. ;gd.jpeg_ignore_warning = 0
    + q3 x& c8 D( J( r& s) K  A
  1828. 4 w* U; J- x4 J& V4 A+ x
  1829. [exif]' p/ o1 K& Z$ Z' `6 \8 [$ [
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.. ?! c; A! K" s9 t3 y  h2 D8 N
  1831. ; With mbstring support this will automatically be converted into the encoding) B  k9 T, ~- L
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    " T3 [! k+ t5 P5 l+ R
  1833. ; is used. For the decode settings you can distinguish between motorola and8 `6 N: Q5 Q& P8 ^4 `; x# l' m
  1834. ; intel byte order. A decode setting cannot be empty.0 M& g5 A$ K  m; s4 T% k# p4 W
  1835. ; http://php.net/exif.encode-unicode. v, ^, t4 |& ~; o& e) u0 \
  1836. ;exif.encode_unicode = ISO-8859-15- U8 E8 g, y* I- c6 J3 ~

  1837. $ R1 ?8 n+ h! G9 }5 R: K
  1838. ; http://php.net/exif.decode-unicode-motorola* M0 h4 c4 N" G  G
  1839. ;exif.decode_unicode_motorola = UCS-2BE% J; w9 s- c4 T7 t; `
  1840. $ s4 ~0 J* J2 o: h( R6 M/ Z" i, G
  1841. ; http://php.net/exif.decode-unicode-intel
    ! U! j& P% n0 L$ ?9 G0 c
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    % ]0 }5 F0 w' H. @8 T" s" r" k

  1843.   J# ]. k+ l3 ?& d6 k
  1844. ; http://php.net/exif.encode-jis
    + W6 q4 z% F% M8 [1 S7 y
  1845. ;exif.encode_jis =. D7 W) i( I/ b. {* n

  1846. 8 q: |. @" r7 `6 ]: m" f
  1847. ; http://php.net/exif.decode-jis-motorola
    - t; e( K$ d% k6 d# i
  1848. ;exif.decode_jis_motorola = JIS8 h2 q& m$ D+ E7 D5 z; D

  1849. & O8 w& y( W: \1 \  ~
  1850. ; http://php.net/exif.decode-jis-intel
    - r" [/ I" V  s5 T; R. s, j
  1851. ;exif.decode_jis_intel    = JIS
      o4 T9 N# R, j- y( S

  1852. ! L+ W8 k  ~& m/ r6 v- D0 ^9 d
  1853. [Tidy]1 w# z! @8 O* r! Q, {
  1854. ; The path to a default tidy configuration file to use when using tidy
    8 z( M' e$ G9 B' e
  1855. ; http://php.net/tidy.default-config
    & s, ~* t  g/ v  k
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    - u1 b: f8 s9 f/ a

  1857. 9 i7 f8 j! f- f$ }
  1858. ; Should tidy clean and repair output automatically?
    ; r, s$ T& N) X  p
  1859. ; WARNING: Do not use this option if you are generating non-html content! D+ O5 P& v  e( X2 O0 [
  1860. ; such as dynamic images
    1 t# ]  |% {! w1 ?$ r
  1861. ; http://php.net/tidy.clean-output. d  P) {: ?* H: h/ W2 G/ b
  1862. tidy.clean_output = Off! |, C/ |# s+ z* I7 ~- P

  1863. 7 h& N6 L. {/ P! t3 y$ w3 h0 Q( ~# O
  1864. [soap]# z6 i7 R/ u$ s% j. E
  1865. ; Enables or disables WSDL caching feature.
    ! w5 O  E- {7 t# t0 e$ |
  1866. ; http://php.net/soap.wsdl-cache-enabled2 R6 s; u- S# m3 \
  1867. soap.wsdl_cache_enabled=1; E- D' l# c8 E

  1868. - u8 j0 I! F9 R* U
  1869. ; Sets the directory name where SOAP extension will put cache files.
    " R* |* v& p  y8 W2 t
  1870. ; http://php.net/soap.wsdl-cache-dir
    0 {& ~, ?1 }/ [) R( z8 Y
  1871. soap.wsdl_cache_dir="/tmp"
    5 V; N# M5 B4 @$ H' q7 T
  1872. ' v7 E4 Z& U* |: p  R
  1873. ; (time to live) Sets the number of second while cached file will be used
    , k9 @* C5 d! ~! F
  1874. ; instead of original one.
    3 H2 @& N  r$ x5 o+ L
  1875. ; http://php.net/soap.wsdl-cache-ttl
    . F4 m* s, P( e. v4 @; }+ q0 j
  1876. soap.wsdl_cache_ttl=86400( N& @5 c: e  ~9 }' }
  1877. ; ]8 X1 ^2 A) V- f$ i3 B9 H- t
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    - d! Y8 b/ l- e! Z/ P/ ~+ M5 o: y
  1879. soap.wsdl_cache_limit = 58 m& [) h5 M2 }6 l# ~" Y- L
  1880. - j) d% Z. K! U
  1881. [sysvshm]) A% {* L# |4 {- I% [
  1882. ; A default size of the shared memory segment
    0 {4 K# O1 |5 U; E, b* d+ A
  1883. ;sysvshm.init_mem = 10000
    6 s) [9 @8 {5 D: `

  1884. % V9 e/ P2 g( H' r. g; d
  1885. [ldap]) ^$ x" U: k4 D
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    1 k3 t& z4 b. \% C
  1887. ldap.max_links = -1
    4 J" o: y/ x% I4 X9 _

  1888. # @# k% Z  V  w6 p0 v0 f* u
  1889. [mcrypt]
    / E" b2 P1 U5 I/ ~0 [4 B4 D4 a
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open/ j! V! B1 n& o) W. {! W" z" L

  1891. * d# E& z% u. M* G1 S6 x' D
  1892. ; Directory where to load mcrypt algorithms4 I, N* }7 Y+ b1 W+ h  ]: c) S4 c$ F. y
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    + ?- O: e2 Q; R9 @% K
  1894. ;mcrypt.algorithms_dir=
    ! u* d+ \" L. n& z2 D# `  x
  1895. # R& A( c1 J; ~6 r* a7 \
  1896. ; Directory where to load mcrypt modes& ~# y9 f! T; }' N; F: Z! k
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)4 Y1 t3 P2 _3 C: M
  1898. ;mcrypt.modes_dir=
    , Z4 M* g" x/ L$ u! ?
  1899.   z0 m' R1 l6 g/ ~9 e
  1900. [dba]: v( ~3 w# P% u; P; c% I) w* U
  1901. ;dba.default_handler=
    " V; i. r* O( h' F" M4 L2 f

  1902. ' |3 p$ g/ J" B/ i: ~! v# h8 l
  1903. [opcache]
    % y* x7 x4 ]& O) w$ }9 _- ^. }1 S" O
  1904. ; Determines if Zend OPCache is enabled
    5 C6 ?7 G  s5 i& Y0 g
  1905. ;opcache.enable=0
    + d* I4 O6 \* e% W
  1906. 5 q7 H) J6 f( E
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP) L8 s* M( o! W9 x
  1908. ;opcache.enable_cli=0
    2 z% u5 [! M! v6 h9 L# l* L
  1909. 3 u, h0 U6 l' i. H6 |/ B' }. r9 I/ W8 j
  1910. ; The OPcache shared memory storage size.2 o' r# Q' v/ K4 T
  1911. ;opcache.memory_consumption=64, S) ~% b0 B: p# ]! l
  1912. + p9 T4 f; {( I
  1913. ; The amount of memory for interned strings in Mbytes.
    6 ]- P5 n7 B4 r) W. H2 j* R) i; h
  1914. ;opcache.interned_strings_buffer=41 u. k% F7 {! a0 Y
  1915. 6 m2 J0 P6 H( E$ [8 J! s* b4 I3 P
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.6 a3 g8 p# W( q1 W5 t1 e; b
  1917. ; Only numbers between 200 and 100000 are allowed.1 A7 B! E9 ~- l3 v
  1918. ;opcache.max_accelerated_files=2000
      e, h4 M5 T% h) h

  1919. : n# M5 b* P0 `) M5 L
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    9 \) n# |, H$ l/ l
  1921. ;opcache.max_wasted_percentage=5
    8 Y! a9 ^+ [& x1 d$ [: t9 n

  1922. ( `: ?1 S8 v2 U3 }$ B9 A9 M
  1923. ; When this directive is enabled, the OPcache appends the current working
    8 B% k3 O4 [" n! p8 a  O: `
  1924. ; directory to the script key, thus eliminating possible collisions between
    : X+ s& d. F7 H( P' ^
  1925. ; files with the same name (basename). Disabling the directive improves6 o- p" g6 Z" P* X
  1926. ; performance, but may break existing applications.6 g1 S+ U$ g" b" Q6 W# @
  1927. ;opcache.use_cwd=1' V2 M& m2 R5 ]8 [
  1928. , y4 s( ^" j6 F( l8 a4 n; \
  1929. ; When disabled, you must reset the OPcache manually or restart the
    , e( P7 Q5 P* d& m. Q) }3 i* B) v
  1930. ; webserver for changes to the filesystem to take effect.
    4 G9 B. x( F4 E. _! a% h
  1931. ;opcache.validate_timestamps=1
    2 k: |, Q" C. z, m2 {7 h  b: I: [
  1932. - `& e) U9 _- L4 y) j# O
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    ' D" a+ l) ~: l4 l9 m# K! K( I
  1934. ; memory storage allocation. ("1" means validate once per second, but only: Q: `0 L4 ]3 c1 _4 \9 i( x0 V/ U# Z
  1935. ; once per request. "0" means always validate)
    " z$ Q. r% F. P; C
  1936. ;opcache.revalidate_freq=2) @( k* B* Q* X3 W5 v

  1937. " n  {: a. P$ J( V# n5 O& @
  1938. ; Enables or disables file search in include_path optimization& H& h( O( n/ |, y, s
  1939. ;opcache.revalidate_path=0/ C& Z( ^6 w/ Q) Z6 Y

  1940. & ^9 i. F4 i9 h9 J
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the# V2 q7 p# u6 `4 c) o9 M
  1942. ; size of the optimized code.8 `3 j) d- s0 e
  1943. ;opcache.save_comments=1/ }3 B3 b/ S- w9 ?2 W/ w
  1944. 0 f+ r8 f& P4 `
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"$ ^0 L9 \/ X% U1 B
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    & [+ s8 [" X4 u7 C% u
  1947. ; that don't need them anyway.
    % q& G# j7 h. T
  1948. ;opcache.load_comments=1  }0 V  }2 n/ c/ A9 l- G  ?/ I

  1949. 9 ?4 y( w' A9 M% [
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ! f1 D0 A5 N2 M6 |/ O
  1951. ;opcache.fast_shutdown=0
    4 S: W( J0 L/ j' C/ g8 ^) L, a
  1952.   k# I9 r( X( L$ y$ t$ ]- l
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    $ J# \) z1 A( h- y  {
  1954. ;opcache.enable_file_override=0
    $ g+ H$ a" r- K) l( N

  1955. 8 u& a2 x; x' F( X7 M+ i/ N
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache9 _( H& D, `6 z9 v% _& S( t
  1957. ; passes) P; o5 n9 Z7 H4 f
  1958. ;opcache.optimization_level=0xffffffff6 M4 {, I5 |* k: P% _4 R

  1959. * Q( N$ X& {1 V- l8 C
  1960. ;opcache.inherited_hack=1
    4 J! z7 e& h1 i+ ?" K% z- R
  1961. ;opcache.dups_fix=0
    6 A% o! E9 ?! f+ Z# e  {
  1962. ! f4 h4 S/ d, }, V( I! Z
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    - T% |( e3 N4 O% {7 m
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    2 a2 V- B4 H0 N& R- ~
  1965. ; that should not be accelerated. The file format is to add each filename
      A! T; D' h; G4 i; u
  1966. ; to a new line. The filename may be a full path or just a file prefix
    * T! S7 G+ n6 H# M+ r% g
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www/ n1 A) \+ Q/ r* T
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).# L0 S# g% b- E1 h7 T
  1969. ;opcache.blacklist_filename=, Z$ R. O) G) {9 F+ T+ p" Z
  1970. % b4 t* @2 S  V4 H8 S4 _, }
  1971. ; Allows exclusion of large files from being cached. By default all files. [+ ^( i: F, |  H
  1972. ; are cached.9 a1 c; T# x* ?" e& `3 O4 c
  1973. ;opcache.max_file_size=0
    ' n1 e! q( f3 K3 [- L$ t' i

  1974. 7 K- X7 H* A8 R) W! t9 v4 O
  1975. ; Check the cache checksum each N requests.% N1 I3 p2 Y& P9 M7 A
  1976. ; The default value of "0" means that the checks are disabled./ V% ]4 }# ^. b5 b
  1977. ;opcache.consistency_checks=01 e/ {0 ]  t. N; j$ H% P

  1978. 0 J4 C8 W) r. W; ]5 e
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache: n/ e1 N; f4 q8 z* h: g
  1980. ; is not being accessed.
    ; @3 B  C* O5 B6 g/ D
  1981. ;opcache.force_restart_timeout=180
    3 ]1 ~; A- |( ~, c9 n/ g' H

  1982. 7 M% T! `# {* k
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    0 R6 C) E$ B- z: z
  1984. ;opcache.error_log=* I" L7 D* j" r# W- }2 Z8 ]' [
  1985. & B) O: {0 E  ^+ \
  1986. ; All OPcache errors go to the Web server log.- k( a1 ?3 I/ c& W0 b1 Z5 G
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged." ^8 K" I% H, r. {, t3 e7 P
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    ; [) ]7 P, G. d1 H' _4 Z
  1989. ; debug messages (level 4).. o' \3 `, c4 t7 z
  1990. ;opcache.log_verbosity_level=1
    1 R3 u! O* u6 J7 i+ G

  1991. $ k; v  s' Z. }# e, d
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    2 @6 b# J8 V% U1 d1 @
  1993. ;opcache.preferred_memory_model=
    ) x8 Z' L7 G) Y" v7 }3 \1 v
  1994. # }' o- M9 t' v2 g+ m# k
  1995. ; Protect the shared memory from unexpected writing during script execution.; U% }$ B2 B! i: m
  1996. ; Useful for internal debugging only.
    3 c; i2 V$ X! l2 o2 x! s9 S
  1997. ;opcache.protect_memory=0
    ; I$ H, W! X3 Z

  1998. $ z6 `0 E4 w, d# s; M
  1999. ; Validate cached file permissions.2 L- V+ W, t3 p- |
  2000. ; opcache.validate_permission=09 F0 u4 Y8 X7 t  l0 |

  2001. + z1 _* H2 d! q( R# V7 v
  2002. ; Prevent name collisions in chroot'ed environment.4 D6 @! T  a, e4 z
  2003. ; opcache.validate_root=0
    / x( t$ ]1 y' N6 u+ J
  2004. 7 r; ]+ Q. ?$ C' U! Z
  2005. [curl]. _2 h# N7 H5 u0 x7 ?7 r9 `% n
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an: M8 ?7 i( h0 s# u, Z& d
  2007. ; absolute path.* v; q$ y7 e+ j2 Y1 K) [5 k. R
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt: l0 n1 e- i: P; G, {9 T
  2009. , n# F" ]6 J4 H# z" q% [4 c& K& Z+ H
  2010. [openssl]
    ) y8 y+ B: I, z/ a. O; k1 ^& Q8 N. [
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    * C! A  C, c/ J! ~, }
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should4 p: m2 w# y6 P  B; [0 a2 T
  2013. ; not specify a value for this directive as PHP will attempt to use the  e  ]* \! K0 t6 F0 P5 A
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    8 H5 u! a0 V5 M
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context% |% n& U% y9 b
  2016. ; option.' t, L  w% U5 s- X7 k- P6 P6 U
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt! l* n$ q$ k" B
  2018. % t6 D- r6 k& a1 w& ]4 p
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    2 B% k4 e# N" N. t
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    + S( B% m& K& L! h( D- p+ P5 k
  2021. ; certificate. This value must be a correctly hashed certificate directory.- n" v, N/ C8 C, b
  2022. ; Most users should not specify a value for this directive as PHP will" ^2 c6 ^$ E( E5 v; ]* r: m& [5 c( x
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,% V& z5 U% Y# T  K2 ~. m/ ~  f0 g) F! W' h
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    % @3 N: W) n. g+ ~6 V
  2025. ; SSL stream context option.8 x; F% D; W' h) n7 l- u/ h- B2 G$ y8 _
  2026. ;openssl.capath=8 F: R0 }* E5 [% k; \+ c) P
  2027. 5 f9 ~. \0 s0 f; \" p/ t
  2028. ; Local Variables:
    9 A& b* e+ i. k. I9 C* W$ T
  2029. ; tab-width: 4' k# E+ h' r# y) {7 |( d
  2030. ; End:( C5 |2 n/ P- S( a, @

  2031. 0 r7 s  u" C( B. p) P6 A: P
  2032. ;eaccelerator
    6 l- T. q( N1 @3 l  A: m

  2033. : d5 a6 ]) a9 y( t
  2034. ;ionCube
    . f* I" |# J" O0 z; F* K2 G: i8 w

  2035. , }- b9 M0 C7 |. G* P7 S0 F
  2036. ;opcache: g" P# _6 k4 @

  2037. 7 s- g' n; L6 _
  2038. [Zend ZendGuard Loader]/ Q8 X* T" Y0 \
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so5 b' h7 w* a5 A  p7 W
  2040. zend_loader.enable=1
    6 A' k  q# Q0 Q) \* J0 K, p# h
  2041. zend_loader.disable_licensing=0# K5 f* J$ B; J! X) ]2 O5 {
  2042. zend_loader.obfuscation_level_support=3" e- D4 c7 x! o1 i& k
  2043. zend_loader.license_path=9 l+ `, ?  R* x& T2 h1 k' O$ @& s
  2044. - |8 q% X; Z$ ?* H3 P. H8 k
  2045. ;xcache4 S" b! `6 e" V4 t: [9 U

  2046. " W6 Q  X2 H6 p+ [
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146922 S0 d  G7 V2 H2 V+ e
; h- x5 R5 {- f; r4 d1 J

- u' T3 p" ~8 t& _1 \, }+ l0 vDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
% n* j9 E* p" }8 w5 D9 K3 D$ @& J) d4 ~% {$ j" T
Discuz!程序版本选择:
2 ]* p0 l6 M5 R8 s/ I+ R) s4 I站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
7 M7 {2 B+ |; S不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
% F+ I, R. U! p( {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。
: ~* A" T1 s7 |4 d1 Y" ^8 P$ D, N& A" Q5 u% K
Discuz!插件模板版本选择:
, K6 v! T: b+ G$ N8 W9 K很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,( P; i9 r4 [5 M0 X* p/ [/ A+ |
针对这个问题做个统一的普及:
% G9 m/ r3 Q0 ~* yX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
& g' \2 F7 N; J0 @* y
8 ^; p) w% e! T! D7 }所以
) P' H! |) X  v1 z$ d0 {适合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的二级域名。
" M7 Q, d$ r$ E打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
5 K6 i7 r( B. n+ T/ m注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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