分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
! V" C+ q! x9 M7 P  R) U) m5 e- l& O' P0 l2 a  O: }
  1. [PHP]' S: L3 |3 o9 A5 \- I

  2. % F' c' |( {; T0 o7 E
  3. ;;;;;;;;;;;;;;;;;;;$ O( c/ M# S5 K; W
  4. ; About php.ini   ;
    , d4 Z0 Y. c7 _% B" N
  5. ;;;;;;;;;;;;;;;;;;;
    - h. ^% y, |$ t' D3 m$ m; c
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    : |0 N% F2 T" p; q2 n  q* R
  7. ; configuring many of the aspects of PHP's behavior.( ]# T$ F! B1 r' D, Q. y  K
  8. ! b* z' x/ N3 Z7 s5 m, x
  9. ; PHP attempts to find and load this configuration from a number of locations.) E2 e* Y- @  T' [* K8 c
  10. ; The following is a summary of its search order:0 O% v" g- P4 Y% Z2 T1 K
  11. ; 1. SAPI module specific location.4 L! f# T9 i$ T$ |! s8 i, l- R) S
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    , s( k2 X% r6 w: ]
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    9 O) f" @% z; x' e' q8 E
  14. ; 4. Current working directory (except CLI)
    2 {3 R" ?, e6 [( ^% q
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP# R9 v! g$ F0 U5 U7 G
  16. ; (otherwise in Windows)0 K5 E/ S; a& k
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    5 G) \' K; @  m( K8 x$ g! l" Q
  18. ; Windows directory (C:\windows or C:\winnt)
    ! ]' T, T) W4 f6 v
  19. ; See the PHP docs for more specific information.
    . H! u: B  f8 b8 h4 \
  20. ; http://php.net/configuration.file
    6 G4 ]" _7 Y& A8 W0 `" M. x
  21. 1 Y% o# D: K3 j3 s( r  X1 |) Y
  22. ; The syntax of the file is extremely simple.  Whitespace and lines9 f, R2 v, e) H! u
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)., n1 h7 u9 U0 J
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ; S2 z$ k3 l# x! h
  25. ; they might mean something in the future.
    ! f' |* ]# k* S1 W% k" ?) Q# \9 o

  26. 2 y) n  |6 d- R8 Z8 N# x& I2 ~
  27. ; Directives following the section heading [PATH=/www/mysite] only
    5 {$ V& t5 Y0 m" w
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    8 F2 U% u- v* z/ W/ Z" m' S5 K
  29. ; following the section heading [HOST=www.example.com] only apply to
    9 Z2 z$ K$ v/ j3 y7 J, l5 D+ g
  30. ; PHP files served from www.example.com.  Directives set in these( e# P+ {5 }+ \+ v! _( Q4 f
  31. ; special sections cannot be overridden by user-defined INI files or) q- \5 _' B3 t7 v5 _- y  ~1 d8 Y
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    # w% N5 c+ G+ D6 B3 H: M7 \1 X
  33. ; CGI/FastCGI.7 ?/ [: r% F( |- e
  34. ; http://php.net/ini.sections  l$ F4 Y4 l; I. ?1 H% l

  35. & }8 |, F, M, g
  36. ; Directives are specified using the following syntax:
    ' l4 R+ c" t$ n% t  s
  37. ; directive = value! |- X6 a* p3 _( m* W2 y9 i4 G
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.- P; |. w. L: H' ^0 ^
  39. ; Directives are variables used to configure PHP or PHP extensions.8 K+ V4 j! Z$ \8 k7 x- c% b
  40. ; There is no name validation.  If PHP can't find an expected* V6 b. {' q; y1 O  a, {
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ! p, y4 K: b! G& W# m

  42. . c0 V+ W# j  w) k1 V* F
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one& k7 w" w0 P; q* ^, K  k8 p) K
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression; e' {1 }' N, ~: N8 ~3 v
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    0 x( |# t% Q" _
  46. ; previously set variable or directive (e.g. ${foo})
    1 X5 w. a1 t. J
  47. 1 [8 @4 j3 [6 M$ m1 |8 s1 ?* k
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    . ], g% V! b1 z. S
  49. ; |  bitwise OR
    ' [1 k  Y! y/ f4 o9 k" a; ?$ I0 i
  50. ; ^  bitwise XOR
    : H. O, ^/ F5 v% L2 O# I  X$ D
  51. ; &  bitwise AND9 c/ z) g& w9 _8 O# Z2 s
  52. ; ~  bitwise NOT
    , N# O! I7 |1 ]% f. j1 _+ r( W. f; o
  53. ; !  boolean NOT
    0 n2 F: s+ f0 [; S2 D9 }8 k
  54. ) l+ n9 I) ?% L, S  D$ r9 v4 q6 D2 N
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    9 m$ D/ g  N2 S% t3 v
  56. ; They can be turned off using the values 0, Off, False or No.
    4 P( v$ [% u# K9 k$ v0 X* M
  57. 3 {% ~: c, q/ V- g  M, ?4 B
  58. ; An empty string can be denoted by simply not writing anything after the equal
    - A0 n0 E; e% q8 P* A* G
  59. ; sign, or by using the None keyword:
    ' m0 ~, g/ ]# N4 I/ Q/ n8 T

  60. 6 g8 q! V+ }/ I. B- ?/ x
  61. ;  foo =         ; sets foo to an empty string
    / m# e/ U4 |9 Y! {, j' e
  62. ;  foo = None    ; sets foo to an empty string
      {3 T7 ]: D4 H" y! ]" ^# L
  63. ;  foo = "None"  ; sets foo to the string 'None'9 S. c8 w7 l: D7 H

  64. 2 ?/ v' @% {; S: T  X2 w- `6 i
  65. ; If you use constants in your value, and these constants belong to a  g5 P9 w+ Q& s$ h: i* {
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ) W& `  m, Y* q1 Z' ^( k$ U' f
  67. ; you may only use these constants *after* the line that loads the extension.
    6 F2 w- T+ y/ m! h2 K9 j8 m
  68. 3 Z' y  K, u' D9 t, ~
  69. ;;;;;;;;;;;;;;;;;;;
    8 z1 e) g& U  q$ a% _
  70. ; About this file ;. Y# C, E5 M) f
  71. ;;;;;;;;;;;;;;;;;;;$ r6 |3 ^0 ~; L9 a- q! V+ i
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    1 y. U2 }, y  l* d6 e3 ?
  73. ; in production environments and one that is recommended to be used in- q$ O" J8 _" K' r( R
  74. ; development environments./ L- X5 D0 G  e
  75. ' C% @: x# L/ {6 q* e9 J
  76. ; php.ini-production contains settings which hold security, performance and
    9 M2 F3 U! [* y* M0 j% o* u
  77. ; best practices at its core. But please be aware, these settings may break- }/ `( y  I" V4 x5 e1 ?
  78. ; compatibility with older or less security conscience applications. We) z+ g6 i5 r9 ~1 K( ]# x" w
  79. ; recommending using the production ini in production and testing environments.. _  t; U7 D& R  O7 o

  80. 3 T" b) s; v, f% s
  81. ; php.ini-development is very similar to its production variant, except it is; @5 }" I1 {! t7 M% E) v/ H
  82. ; much more verbose when it comes to errors. We recommend using the
    + K; N' [: G: m; ~% h
  83. ; development version only in development environments, as errors shown to
    5 L8 l1 v( {! m" b/ @1 h
  84. ; application users can inadvertently leak otherwise secure information.
    5 h2 y5 Z! A/ J# j- E- n" U3 Z

  85. ! c$ |8 p1 h% R& [$ _/ U5 B% ?% t
  86. ; This is php.ini-production INI file.
    ) o- n8 e5 \! i8 f8 X: o

  87.   n+ \7 @/ \/ j3 O4 u
  88. ;;;;;;;;;;;;;;;;;;;) U# Z' W' W+ x) j8 o
  89. ; Quick Reference ;1 K6 U6 A5 a( v
  90. ;;;;;;;;;;;;;;;;;;;
    5 U8 b' ~" h& _2 M* a2 D6 i8 C
  91. ; The following are all the settings which are different in either the production3 m; x( V# m+ s; Y& M
  92. ; or development versions of the INIs with respect to PHP's default behavior./ X* k& o& k( ]* s; ]& ?% @
  93. ; Please see the actual settings later in the document for more details as to why
    2 r% n' @) o7 _6 ?! a
  94. ; we recommend these changes in PHP's behavior.% k  g4 x( S3 J7 w, E
  95. ! z. |$ K2 m# f7 E6 ?7 Z& O/ |
  96. ; display_errors
    . ^% \3 I" o# k6 a  `
  97. ;   Default Value: On" X1 a$ X) b  I& z
  98. ;   Development Value: On, d! S5 {2 _7 ~9 g' I
  99. ;   Production Value: Off! v) H& [* V0 p/ @) [; t" E+ e- c
  100. ; p+ E% p) \! j3 K' z
  101. ; display_startup_errors
    # q% _. A7 O2 K( ?& i  c
  102. ;   Default Value: Off
    ) U, O0 r5 Q7 k' s, _$ ~
  103. ;   Development Value: On
    + ?! W" I% S7 Z0 X6 _1 K- u
  104. ;   Production Value: Off
    4 H  @. D- k; K) O; h
  105. " V2 n* N* q6 ]# @0 g- O- T; ?1 B" W
  106. ; error_reporting/ Y2 K4 ^6 \$ F2 d/ Q! H
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED  _) N# e( a! R% E
  108. ;   Development Value: E_ALL
    3 O/ I3 g& A! O! L& m" `- V
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ! r, ~& K3 V, A4 m

  110. ( D$ `" `( a4 k  P6 s: h9 Y
  111. ; html_errors
    * v. B9 m: F9 r( l
  112. ;   Default Value: On
    + ^$ A& C! \! c0 u- n0 a
  113. ;   Development Value: On1 {! H" O2 ?* @" }7 ~) N
  114. ;   Production value: On0 o  [* E0 W8 D2 ~% v

  115. 6 G. `% z1 c1 C& q& n) d7 ?: a
  116. ; log_errors
    ' h+ T1 w4 h( L$ l: x
  117. ;   Default Value: Off
    + q, z0 b! f! M
  118. ;   Development Value: On
      Y1 T" _) x2 {* {
  119. ;   Production Value: On+ A( f; J% C: T* M
  120. ! e5 E% Y2 U& n) `; g
  121. ; max_input_time# K$ D$ H9 U/ H
  122. ;   Default Value: -1 (Unlimited)
      d* ]5 b1 f/ W( q! A$ O' c
  123. ;   Development Value: 60 (60 seconds)
    4 S. ?; ?  k  w2 G5 \- _* B
  124. ;   Production Value: 60 (60 seconds)
    0 G9 n) g$ e: ^, a/ ]& U( C: p+ F

  125. , a$ c% \- N. Q" l: X' w; W3 M4 t$ k2 G
  126. ; output_buffering
    - {1 P6 a# i. p* [2 \3 f( O
  127. ;   Default Value: Off% Z1 X( W/ i; D& ]$ U! |, j8 [0 z
  128. ;   Development Value: 4096
    0 `# ]0 r$ Q  }  k% ?
  129. ;   Production Value: 4096
    ' F6 d* |% Y9 }" |3 P1 K
  130. $ O" t3 ~2 {. r+ a! F
  131. ; register_argc_argv1 \+ W8 _/ \8 m& T7 a) B. ]4 R* f
  132. ;   Default Value: On
    , V; x+ t- N* g8 J" B. f  j" B2 r
  133. ;   Development Value: Off1 S4 P3 ]$ g' A; b1 }
  134. ;   Production Value: Off
    ; V$ [- i# o! z) L( d
  135. 8 P7 G0 v3 A; G: F2 O
  136. ; request_order
    3 M. q7 ~5 G& E7 y
  137. ;   Default Value: None
    & E' Y3 W& ?% C  x5 b
  138. ;   Development Value: "GP"7 D4 S) o; X1 T) X
  139. ;   Production Value: "GP"* T+ y, u! N) q% _2 T- r2 q5 a

  140. : ?8 j: C) g( C% r
  141. ; session.gc_divisor. P! l- y0 Z" D
  142. ;   Default Value: 100
    ( g4 x) C6 k' O+ y" ?) f/ [3 F
  143. ;   Development Value: 1000
    & q+ g) T' \( q  n
  144. ;   Production Value: 1000; }' L# H; o2 Q+ l
  145. ' U& s) |5 o) k
  146. ; session.hash_bits_per_character$ v( {& z; U- u! v
  147. ;   Default Value: 4/ s# |4 u5 r: ?3 j9 l% O
  148. ;   Development Value: 5
    : l# `7 j( Z5 A9 L
  149. ;   Production Value: 5& }; U7 P' v; l" ~: M3 y
  150. ( E' z/ A2 g: h  W* X% B( Q- Y
  151. ; short_open_tag* u$ \9 K6 i1 [" u9 B3 h8 |
  152. ;   Default Value: On
      ]; B: Q( L- w3 C5 t) X. Q
  153. ;   Development Value: Off3 v# t  u  x0 @. j: \( ~0 n
  154. ;   Production Value: Off3 Y3 X2 w% M5 _8 G  g: B
  155. ( B8 \- @  E$ ~; V
  156. ; track_errors
    6 `/ [7 }( e* E* s
  157. ;   Default Value: Off
    " s& b- U+ b5 C1 M; _
  158. ;   Development Value: On" c" d: V; f2 h7 T3 M* a4 g# ~, D& h
  159. ;   Production Value: Off
    ( ^+ n, r( x1 H% ?7 V7 \( L6 N  g* P

  160. . B2 \8 x: ^: M" ]
  161. ; url_rewriter.tags  Q! Q  ?2 t+ F" z4 W; Q* @( ]
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ) e4 a2 I2 B% C4 A0 b$ N  ~
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + u4 N  E4 b# F& C/ g6 K
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - j) I9 p7 Z% C, q
  165. : U$ X6 y) A5 R
  166. ; variables_order7 O7 G0 i+ G6 L2 A" Q- Z: [
  167. ;   Default Value: "EGPCS"
    6 Z7 }; t' y% O1 ^7 L/ ~
  168. ;   Development Value: "GPCS"; i- [1 Q& ?  R/ D# x
  169. ;   Production Value: "GPCS"" `5 j( ~% }8 P5 j  E( J
  170. ! e% G+ R! o" x
  171. ;;;;;;;;;;;;;;;;;;;;
    2 ]; e; W7 _- V1 ]  o3 b4 O& I1 j! @/ x
  172. ; php.ini Options  ;
    % G0 O/ q1 E: `  x9 f
  173. ;;;;;;;;;;;;;;;;;;;;/ p6 u7 `! t. |% N- c
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"2 A- i3 g3 Z  X6 e; i/ L
  175. ;user_ini.filename = ".user.ini"
    * g; |( u, ^1 a

  176. 2 v' o9 ~6 k4 c+ ~# \0 I7 \
  177. ; To disable this feature set this option to empty value2 O" {# D, H- }, X4 j6 c5 r6 J
  178. ;user_ini.filename =( _; ?) U, f, _; l+ }3 @7 Y
  179. 3 E' c4 k" w" G: U
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)& ^" C  y, U# I- Y7 W
  181. ;user_ini.cache_ttl = 300
    3 q; _2 N+ u* i; l$ b
  182.   f3 C+ c+ p! q3 `& w! Y" m
  183. ;;;;;;;;;;;;;;;;;;;;
      K% r% l, w) Z7 J
  184. ; Language Options ;1 o4 K. }; D9 \9 X1 E
  185. ;;;;;;;;;;;;;;;;;;;;$ d9 y+ r' D$ a8 u) d- h" X( e# S

  186. 2 v/ C% R' h# d
  187. ; Enable the PHP scripting language engine under Apache.$ _7 J+ ^3 q, O7 y- c
  188. ; http://php.net/engine' M6 m2 A8 d7 `4 g. n' q3 w6 Z
  189. engine = On, ^7 ]8 Z- Q3 j* z4 n& W4 M; ^: W

  190. ( R! C5 K( r" h& S- Y4 n
  191. ; This directive determines whether or not PHP will recognize code between. N3 ~$ E- n) j" i) \: V
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    4 H  k1 y% h/ `0 Z2 k- x9 \
  193. ; generally recommended that <?php and ?> should be used and that this feature3 a2 [% |$ R& z" k( h; Z  N. C
  194. ; should be disabled, as enabling it may result in issues when generating XML
      ~- G2 x) |! c1 ^
  195. ; documents, however this remains supported for backward compatibility reasons.
    ; D7 z* N: I* p3 Z6 |% t) K9 }0 Q
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    # i- s; G  u8 B
  197. ; used regardless of this directive., a/ f8 f3 v- V9 `/ W
  198. ; Default Value: On
    ; e3 j7 `1 I: ?
  199. ; Development Value: Off
    1 K, t$ e5 f- A" k
  200. ; Production Value: Off. z6 _" {2 J* z; D
  201. ; http://php.net/short-open-tag; n5 o" o: }4 I9 Y( K
  202. short_open_tag = On4 m- l" N. G) c1 b( {; b& ?. X+ B5 f7 c

  203. ' H( l: u# V: ]: g* D/ _) u; d
  204. ; The number of significant digits displayed in floating point numbers.
    ! e4 J2 i  d6 t! ^5 S
  205. ; http://php.net/precision+ t" U6 |$ Y' M* \) o3 z" T7 u. x
  206. precision = 14. x& t: b! D0 ]3 k7 e& [+ [
  207. ; ]* ?0 C# Z% B2 Q' o8 u0 G
  208. ; Output buffering is a mechanism for controlling how much output data
    & |: B* w  @; l' K
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    - U/ Z, h! p  ?+ v( S4 n
  210. ; data to the client. If your application's output exceeds this setting, PHP9 W1 c7 g) w4 v4 b' k% \" ]
  211. ; will send that data in chunks of roughly the size you specify.
    - s0 r: d+ r. D$ L% Q
  212. ; Turning on this setting and managing its maximum buffer size can yield some
      ?& L/ O6 x# ]1 g6 v% d
  213. ; interesting side-effects depending on your application and web server.
    3 @' v* g- T+ b, u& d5 `; X+ @
  214. ; You may be able to send headers and cookies after you've already sent output
    & p  R- L' U) A: O% r& M4 P* x
  215. ; through print or echo. You also may see performance benefits if your server is, d2 T" ^; S% U& L
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    # O" o- o2 N1 S% b
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance& ]; r7 C$ w0 z! e) q/ u3 }
  218. ; reasons.
    $ T, L# N1 \3 ]- @8 V" ^$ [& T6 H
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    . [8 g8 P; ?) i% J6 M  T
  220. ;   functions.8 \$ u' J0 H3 r) N$ i$ g: J* D' [, ^
  221. ; Possible Values:
    ; u. a6 m7 j1 l( k. o6 ~
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ! b6 `( g+ r+ f/ W' B* Q0 G& F
  223. ;   Off = Disabled2 L: L2 F$ n4 G  |" B5 H* {& q  w
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    4 s9 g! O1 L1 H$ J) U
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    + W0 m. f  [( h0 H# {
  226. ; Default Value: Off
    2 C, m. d2 V+ l, v4 L1 w! o, E2 G" C
  227. ; Development Value: 4096
    , D- ~" B/ e* }% |
  228. ; Production Value: 4096+ H# L1 v2 D+ \2 W8 |
  229. ; http://php.net/output-buffering7 s8 y2 f$ p! G0 G$ R
  230. output_buffering = 4096+ u/ p; m2 k; W) X
  231. 4 j7 i) R) K# U  h: u
  232. ; You can redirect all of the output of your scripts to a function.  For3 \& j" X' K( \3 T( s1 |/ R' W
  233. ; example, if you set output_handler to "mb_output_handler", character# ~5 Y( K3 F: F8 O
  234. ; encoding will be transparently converted to the specified encoding.
    0 W+ |* N$ h7 D
  235. ; Setting any output handler automatically turns on output buffering.- q. \  c# H+ n( y- f% {
  236. ; Note: People who wrote portable scripts should not depend on this ini
    6 r" P. Z5 y3 I/ K( a4 l: `$ N1 v8 H
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    & z# B* p, \# f# i
  238. ;   Using this ini directive may cause problems unless you know what script
    5 d2 _1 L; d- t- o8 V; ^- D
  239. ;   is doing.( [! L1 t( T6 P+ g, R
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    0 E. v$ i! C! S* t3 E2 w2 Q2 ~
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    % o! M$ G) N; }- y, E2 Y) `2 E# J" m0 f
  242. ; Note: output_handler must be empty if this is set 'On' !!!!4 H1 J2 U7 U4 G" j" h
  243. ;   Instead you must use zlib.output_handler.+ c1 ^( f# o: N5 e7 f# ?4 T. t
  244. ; http://php.net/output-handler% R4 l& A3 |/ U9 c9 R. D8 z
  245. ;output_handler =" p' W) w; h* c; A

  246. : _) D: p& E* q7 C: j' }' P
  247. ; Transparent output compression using the zlib library" X8 b+ X8 h* o# e/ Q0 k; ]
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    # q" `) i( {- L' w4 G/ {
  249. ; to be used for compression (default is 4KB)
    4 N# _: O( C/ I' Q0 [
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    4 a, V  a" E! w
  251. ;   outputs chunks that are few hundreds bytes each as a result of( X$ p  i2 x6 v: \
  252. ;   compression. If you prefer a larger chunk size for better
    . z& x/ o- h* `) l8 y' J  H! l- v
  253. ;   performance, enable output_buffering in addition.
    ! @$ p, u9 B3 D% f
  254. ; Note: You need to use zlib.output_handler instead of the standard
    - [( n; B( l! s$ P1 a, d
  255. ;   output_handler, or otherwise the output will be corrupted.
    + n  q4 o9 M6 b
  256. ; http://php.net/zlib.output-compression
    7 V- z" J9 u% {& g- Z% s
  257. zlib.output_compression = Off
    5 A3 ^7 D! G8 j7 L1 ?# r- j  [7 r

  258. & B  L( d7 g- U1 x+ g# ~, M5 E
  259. ; http://php.net/zlib.output-compression-level4 w3 G' t. X- e# O5 o
  260. ;zlib.output_compression_level = -1
    & t! D8 U0 @4 {4 b, L" F- _
  261. 1 N5 |" G/ F5 {+ S
  262. ; You cannot specify additional output handlers if zlib.output_compression
    6 |, |2 B$ N2 I" u
  263. ; is activated here. This setting does the same as output_handler but in$ i0 h. [* Z: Y0 X% m7 i/ g
  264. ; a different order.
    3 h0 x3 F1 F4 R, K
  265. ; http://php.net/zlib.output-handler$ t9 c/ R3 Q- L1 }! E( L: D$ P4 ?
  266. ;zlib.output_handler =  _1 V" F; y3 P3 r
  267. 1 @: v" ?% Z! ?
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    9 M1 E: y# _) P& v- U7 }$ T
  269. ; automatically after every output block.  This is equivalent to calling the0 K4 O7 i+ e! o# s
  270. ; PHP function flush() after each and every call to print() or echo() and each
    8 Z; K4 s" A4 {3 O' Z
  271. ; and every HTML block.  Turning this option on has serious performance9 T  ~5 N3 n5 |
  272. ; implications and is generally recommended for debugging purposes only.
    1 w. i- ?! P5 |  a  @
  273. ; http://php.net/implicit-flush7 |3 R, k4 D  u' Y
  274. ; Note: This directive is hardcoded to On for the CLI SAPI0 P6 y( D% U# b, y& v" @
  275. implicit_flush = Off
      K) ~' h4 c6 Q8 v+ T
  276. # ]' z8 M8 m+ @5 k% F
  277. ; The unserialize callback function will be called (with the undefined class'
    1 Z+ ~) F) z$ [7 h+ W( A
  278. ; name as parameter), if the unserializer finds an undefined class
    % |: L, ^, @! J5 S; J
  279. ; which should be instantiated. A warning appears if the specified function is$ \9 n7 i- T$ |# F
  280. ; not defined, or if the function doesn't include/implement the missing class.
    0 h5 d6 D" ?+ L$ k. V' f7 R7 f6 U
  281. ; So only set this entry, if you really want to implement such a
    - l4 A& A# p! X/ b, }
  282. ; callback-function.
    % h; S3 u  s$ ^& h. U5 b
  283. unserialize_callback_func =
    ' g5 k: {" B, Q2 n  X

  284. : K: D0 a1 ~1 P' u
  285. ; When floats & doubles are serialized store serialize_precision significant
    3 J6 C1 `  @8 M2 C& v( v* s: ^
  286. ; digits after the floating point. The default value ensures that when floats
    & q* v, y; T" x7 p
  287. ; are decoded with unserialize, the data will remain the same.! d. j0 J$ s. v# D  k( q
  288. serialize_precision = 17
      y5 `. t7 o% E6 ^# O

  289. * Z* c7 E4 ~- ]6 Z' O
  290. ; open_basedir, if set, limits all file operations to the defined directory
    ( B  ~- v& S: g! p9 R2 E
  291. ; and below.  This directive makes most sense if used in a per-directory- e$ C/ p2 G, T5 J# q: `! L
  292. ; or per-virtualhost web server configuration file.
    , @. Z0 \1 W, o1 j
  293. ; http://php.net/open-basedir4 j8 z6 G8 Z* C+ Y( _; U
  294. ;open_basedir =% h  W0 e% V) T% R9 d1 M
  295. ! X7 ?4 {7 a% O( O7 N4 n$ O
  296. ; This directive allows you to disable certain functions for security reasons.1 o( A( y! P% e; n$ j" J* G3 t/ Z! H
  297. ; It receives a comma-delimited list of function names.. [& ~/ z8 O, U$ R2 O
  298. ; http://php.net/disable-functions1 M$ Z' l1 r8 n% K  d+ d
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru1 M8 n; \8 `- i% z3 t
  300. ; p9 m: |9 \2 _( K, J
  301. ; This directive allows you to disable certain classes for security reasons." I/ h. a$ Y: }+ X# Q0 N
  302. ; It receives a comma-delimited list of class names.  }. K) g1 T. X& M& A
  303. ; http://php.net/disable-classes% e! [% ]( Y. j8 y# i- ^& Q
  304. disable_classes =! X* N8 H, g: b+ P: F

  305. 9 b5 w: K( i" N2 b! v* h
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    0 Y& s/ z8 W' [( I* q: t( F
  307. ; <span style="color: ???????"> would work.$ D9 ?2 B5 f, A6 m; c
  308. ; http://php.net/syntax-highlighting
    6 d% d( X  ^( G
  309. ;highlight.string  = #DD00007 E, `, ^9 I) c2 g
  310. ;highlight.comment = #FF99006 [  _6 ^" K3 y( @, p) k/ ~+ B/ i
  311. ;highlight.keyword = #007700+ n0 p6 G  q7 @/ Q  S2 o# [: S
  312. ;highlight.default = #0000BB# i6 l3 _6 N! H7 Q2 u& A  V2 a$ B) V, p
  313. ;highlight.html    = #000000
    $ @- w6 h. Y: |8 t* [6 ^

  314. 9 e9 f- Z8 s# p, N" O. P
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    ' @5 B% k5 ]4 P4 @/ D; f; U6 M6 I
  316. ; the request. Consider enabling it if executing long requests, which may end up0 \# L" Y; c9 S4 m4 O$ N
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ! q6 C% U8 C) {+ [2 y- F
  318. ; is to disable this feature.' e4 I% r/ G" v. Z$ }1 R8 Y; h: D0 v
  319. ; http://php.net/ignore-user-abort
    1 O  O* b( A0 z0 [/ [
  320. ;ignore_user_abort = On8 u* H& T- Z" R" P+ F+ K
  321. , V  E+ p5 M# Z) B( Q' q5 P
  322. ; Determines the size of the realpath cache to be used by PHP. This value should8 x5 ?" p7 L7 y( s2 q9 r
  323. ; be increased on systems where PHP opens many files to reflect the quantity of+ S3 Z9 t. P2 O/ O2 r, n& @1 T
  324. ; the file operations performed.8 x/ {( _5 @) }' A" Y7 L; j$ D2 k" q
  325. ; http://php.net/realpath-cache-size8 [) J5 B' C! g" U
  326. ;realpath_cache_size = 4096k& @9 T3 @9 B. ?- a! B# }" h

  327. ( f, o, t- \. l8 J" g$ _
  328. ; Duration of time, in seconds for which to cache realpath information for a given( S1 c4 B1 c/ L, E8 _
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    0 a1 x0 p* l5 w( g$ N$ R$ q( S/ {
  330. ; value., O$ P  P* F5 W
  331. ; http://php.net/realpath-cache-ttl
    . B8 E/ N8 S+ q7 I! N3 @% R; Z- M
  332. ;realpath_cache_ttl = 120
    ) ]" {- E8 b% }, b

  333. : q) s! z. i" I! H& y& T
  334. ; Enables or disables the circular reference collector.0 c7 I) O. T2 z8 j+ ]- e7 b. h
  335. ; http://php.net/zend.enable-gc4 T- o. H( M& r# H" \
  336. zend.enable_gc = On
    0 C9 x7 M/ [0 B0 f

  337. ) I; K3 [, ^9 Y' w% n
  338. ; If enabled, scripts may be written in encodings that are incompatible with! ~" Y1 P% N& n* x9 O" |, n4 q
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such3 k* P3 C5 W. T2 F3 _& n3 u/ _
  340. ; encodings.  To use this feature, mbstring extension must be enabled.' V8 t: W. t) h. g' X$ K. d
  341. ; Default: Off0 A8 v' C& H4 f  y/ R9 }, E/ I
  342. ;zend.multibyte = Off5 @" }) A2 {( K5 x) @" K

  343. + f. [+ n: \9 U" Q3 w# c( A: B. A
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    1 e" R; u& w: z7 ~5 H
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.7 L& ^9 ]) `$ ^! T' a0 S. l( t
  346. ; Only affects if zend.multibyte is set.% J2 h: _3 c+ k5 p/ |
  347. ; Default: ""
    3 x7 L3 c0 ~2 P0 K0 w  j. p
  348. ;zend.script_encoding =
    8 j) {! ?* G+ X% W3 W

  349. : i: L7 Q# ?+ ?2 R5 S
  350. ;;;;;;;;;;;;;;;;;7 X2 U2 I; d5 p2 O
  351. ; Miscellaneous ;
    4 {5 C4 e" v4 e# l' [3 x
  352. ;;;;;;;;;;;;;;;;;; a- l9 Z1 B# ?) ~: P  k+ S

  353. 4 d6 j4 _" F4 w2 @5 g1 O  }
  354. ; Decides whether PHP may expose the fact that it is installed on the server4 S0 x8 y- m: j1 o1 B0 ?; W/ W( M
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    ; E; _7 ?4 `5 U
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    * k4 K% D" ?5 ]% j& ^3 v
  357. ; on your server or not.1 l/ _0 s  F' C/ g" M1 n- l
  358. ; http://php.net/expose-php
    3 u, F) f, u# S
  359. expose_php = On
    7 v+ A4 h9 W& k5 x8 [
  360. $ \: A4 \5 O. V; p9 g2 C. z
  361. ;;;;;;;;;;;;;;;;;;;" t2 |) B+ A' [% r* E5 U
  362. ; Resource Limits ;" m; X" O7 z' I" @% z9 |
  363. ;;;;;;;;;;;;;;;;;;;
    ' b5 i5 P$ A/ @# B& t% j
  364. 5 b  B5 K7 g5 S6 Q; ^1 X
  365. ; Maximum execution time of each script, in seconds
    - u- s/ d0 d. p
  366. ; http://php.net/max-execution-time0 t6 _$ _/ b1 q
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI8 ]; N0 Z4 q5 v1 Q$ v
  368. max_execution_time = 300
    2 m' G+ d1 s7 e  \' O

  369. * X( X1 X0 n5 A3 n
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    3 \% T/ P, A! {2 z9 e* g
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    4 H- ?! s3 u0 I1 f  F
  372. ; long running scripts.
    4 B- B2 G; e9 T5 V+ D% h
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI2 Z0 k( Z. J) i! h( d( E/ e$ v: x
  374. ; Default Value: -1 (Unlimited)/ k: g* r0 @, j' ~4 {5 @
  375. ; Development Value: 60 (60 seconds)
    4 K5 B: q' k( I: X6 I
  376. ; Production Value: 60 (60 seconds)
    : [7 x+ L1 G/ [) ]
  377. ; http://php.net/max-input-time
    - [" ~. M  y" z3 P$ r  B
  378. max_input_time = 60+ F" _* V4 ?) n6 N" W  `
  379. ! i0 K4 z* i. R
  380. ; Maximum input variable nesting level: J5 d2 G4 ^( A' {
  381. ; http://php.net/max-input-nesting-level
    . m$ t2 P& y5 D3 I
  382. ;max_input_nesting_level = 647 G; m2 e$ \2 ?/ N. U0 b: ^

  383. 7 E( m9 J8 [3 O0 L6 K
  384. ; How many GET/POST/COOKIE input variables may be accepted
    8 Y1 z" W4 f2 x% \; T7 H
  385. ; max_input_vars = 1000
    + y) K  H6 @5 i

  386.   C: Z/ ]8 {8 Z  g4 {: e
  387. ; Maximum amount of memory a script may consume (128MB)
      @$ V4 ?- s" H& @$ @
  388. ; http://php.net/memory-limit" V8 o: w8 K( a# P
  389. memory_limit = 128M
    ! S  X% Z+ T2 s  k+ x
  390. 7 u! X. |( O+ ~7 Y- \
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    6 w+ a9 r4 L8 ?, ?$ a& u
  392. ; Error handling and logging ;* f7 l' L" l+ M/ ]. f+ E7 m
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;, J5 l0 @3 F+ g' p' d$ F
  394. 0 Z- G' Z: t/ ~
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    6 n$ _9 u- G" q) v5 Q3 X! h; L) U, \
  396. ; it to take action for. The recommended way of setting values for this
    5 [( y+ D, n$ R! g- ^0 [8 F
  397. ; directive is through the use of the error level constants and bitwise
    ' c7 x' ?7 `8 r% S( q1 v
  398. ; operators. The error level constants are below here for convenience as well as( V+ \- O! }* j3 C8 v& r& f0 N
  399. ; some common settings and their meanings.
    0 N+ u, a( q- e9 s' }+ {
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT. J% E" d9 \% w: i
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and7 X8 M" }" @! i0 s
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    1 }$ c$ {3 M# [
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    3 ?- y# a  L- e1 V; L
  404. ; resources complaining about best practices and coding standards. That's what
    & S6 ?& b3 q& v" r, q% ^, P1 s
  405. ; development servers and development settings are for.& Y" p1 l7 t2 ~+ |
  406. ; Note: The php.ini-development file has this setting as E_ALL. This4 m* s7 [  P/ z; ]# Q  P* `
  407. ; means it pretty much reports everything which is exactly what you want during+ t- J1 w; \' Q6 B/ x2 i+ K: t
  408. ; development and early testing.( @' y4 A+ L! d/ r; G7 ~( j' z6 T
  409. ;. ]& ~% Q( e2 A) Y
  410. ; Error Level Constants:
    2 G+ A$ w: a2 R( X7 L7 a# b* \
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    . ~6 ?3 O% J; Y8 D( Q8 L1 V. C
  412. ; E_ERROR           - fatal run-time errors% k  {8 ~: S$ D* ]$ u8 j
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors! Z, m* n$ q7 K' t: ~: R
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    & ~; E( ^9 W( o0 I6 w% G% ~, w
  415. ; E_PARSE           - compile-time parse errors
    $ k! q* B3 e! X, Q5 D
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    * i- K8 B8 H2 \! |" p
  417. ;                     from a bug in your code, but it's possible that it was" t/ P- g, U8 _7 I. Q3 p7 Q
  418. ;                     intentional (e.g., using an uninitialized variable and0 X7 m9 L7 s: g; Q, S; c
  419. ;                     relying on the fact it is automatically initialized to an
    - P/ h& C# c" ^& G
  420. ;                     empty string)
    ! e. }; O& P# [7 P+ H
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    % \0 E) E. p( h1 y1 D
  422. ;                     to your code which will ensure the best interoperability+ t3 L# R. I! c% y4 B
  423. ;                     and forward compatibility of your code1 j$ P% ?  W0 Y2 b7 |" F8 O
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup" J2 q2 }4 H* @9 p8 ]0 `# c, Z8 ?
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's3 A# b" l0 c7 S- E) |6 Q
  426. ;                     initial startup
    4 L# j8 r, U: Y$ Y/ w( U
  427. ; E_COMPILE_ERROR   - fatal compile-time errors8 N4 b' Z' G3 H) {1 n3 k4 c
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    - z- r1 W& u5 U  u
  429. ; E_USER_ERROR      - user-generated error message- |% M2 t7 E/ L) d
  430. ; E_USER_WARNING    - user-generated warning message- H; C3 i; W5 z4 ^0 ^' A% z
  431. ; E_USER_NOTICE     - user-generated notice message( u# J& N. ?3 s  l1 o6 f
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    . e) [0 N$ p& `9 u. y+ U
  433. ;                     of PHP- u2 ^, Y: f# v
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    6 s0 ]' s  J; C" ?; a( j, Q% F
  435. ;- g9 J1 T4 T" S( {) j
  436. ; Common Values:
    7 L8 _: s& u6 }
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)+ ^. ~+ e' `' s7 ^. f" |  `+ A; x
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    / |8 H4 G- g) M
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.); h8 g; F* \0 z. f2 D/ D# d: L
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    # F: s/ f: n; O3 ?* v
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    8 v& D: L* D" z1 z8 j- F! S+ q
  442. ; Development Value: E_ALL
    6 Y& ?# J1 U  q: W" s2 e4 Z8 l
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT0 `1 X7 j4 i4 T6 {( Z6 e
  444. ; http://php.net/error-reporting$ @6 }* x6 @2 A/ |5 ~
  445. error_reporting = E_ALL & ~E_NOTICE
    * j7 r4 N* q/ W# I
  446. ! `  a$ o# p# p) `! K1 W) C. O4 t
  447. ; This directive controls whether or not and where PHP will output errors,7 P5 q, y- i4 t& e- d$ v
  448. ; notices and warnings too. Error output is very useful during development, but
    4 s- w8 Y. |1 w% _
  449. ; it could be very dangerous in production environments. Depending on the code
    4 N; r( c2 i( n2 ^5 v9 s
  450. ; which is triggering the error, sensitive information could potentially leak  q* E3 v& y7 b, c0 M0 @' `
  451. ; out of your application such as database usernames and passwords or worse.0 A' V, ~' Z2 R1 q7 C: c
  452. ; For production environments, we recommend logging errors rather than+ ?7 n' V, y" C0 P
  453. ; sending them to STDOUT.
      z# e& ]) l* n; H2 s
  454. ; Possible Values:! f' P3 o7 q& E0 p
  455. ;   Off = Do not display any errors
    % s- _- m" ]5 L" `8 S& Q* |
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
      R# r: g2 A0 W0 b: S8 z* f
  457. ;   On or stdout = Display errors to STDOUT: q$ r) m! p9 A$ y: [; p
  458. ; Default Value: On
    : I/ V. t( `- L9 O( p! J) \6 L
  459. ; Development Value: On! W: N; S3 ~7 `: i$ O! [; k
  460. ; Production Value: Off
      T; Q1 o7 L6 c0 ?. ]
  461. ; http://php.net/display-errors
    ( R% Q. f4 ~. L( C/ f5 o
  462. display_errors = On
    , @! h3 i0 j6 B: n' r* L% c
  463. 9 l! z$ s6 A  L# a9 f0 i6 K: c
  464. ; The display of errors which occur during PHP's startup sequence are handled/ D" Y% M$ Q7 S: F* f; L1 |
  465. ; separately from display_errors. PHP's default behavior is to suppress those% T% ^# a1 C# q- {+ ~0 F- Q$ }' r
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    - c% B1 _3 V$ A# p/ J1 k
  467. ; debugging configuration problems. We strongly recommend you: T- n1 p4 H$ X
  468. ; set this to 'off' for production servers.
    - L7 U2 @2 _0 L
  469. ; Default Value: Off, M* V" i6 h9 T: p+ E. X7 x
  470. ; Development Value: On- M) q4 R; X* T! V0 L
  471. ; Production Value: Off
    5 w- t' f# G+ h( \" x$ y; u
  472. ; http://php.net/display-startup-errors
    8 A4 H/ D7 W2 V5 h& e$ K5 h
  473. display_startup_errors = Off
    9 ~8 u$ A/ I$ _. V) V
  474. 3 w+ V0 V) q7 e) O& q: a
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    0 i! M% f' Y- H2 X1 D' V
  476. ; server-specific log, STDERR, or a location specified by the error_log5 k/ s2 Z; D# A7 x- z
  477. ; directive found below. While errors should not be displayed on productions
    ; C2 o% w* [% n3 s! a. K) \+ ?
  478. ; servers they should still be monitored and logging is a great way to do that.
    2 g! w2 |7 u( U8 C$ m( \7 o# S$ K, z
  479. ; Default Value: Off
    . r; i/ d% r1 x, a$ @
  480. ; Development Value: On
    # x, w& v! p* [& P' M  f
  481. ; Production Value: On$ D  p( `) i3 `. ^( J: q
  482. ; http://php.net/log-errors% ?  S5 z8 `- D8 A' X6 O% k7 q4 T
  483. log_errors = On
    : x. l. K6 ?5 a, V" r

  484. 5 N/ l( ~# A* G, I
  485. ; Set maximum length of log_errors. In error_log information about the source is
    ! j4 V( y  o) G9 p$ D( P, X% M" D
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.2 x# U0 M. z* f
  487. ; http://php.net/log-errors-max-len8 Y4 a/ K( ^; T6 I  q
  488. log_errors_max_len = 1024
    3 o/ B; ]' A  d3 Y

  489. % w# A3 W$ E1 _& H, u
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    " z- P: I) X; s; d2 _
  491. ; line unless ignore_repeated_source is set true.$ C- B7 \/ b' |6 e
  492. ; http://php.net/ignore-repeated-errors  j7 G" U! W, z
  493. ignore_repeated_errors = Off
    : N5 K/ h1 L) ^

  494. ) S4 i. \* L' F( j2 W$ n
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    , X' ]; ]: c8 X3 `3 j* _
  496. ; is On you will not log errors with repeated messages from different files or
    / y( S" Q) ~' G
  497. ; source lines.
    0 R% t/ S; c0 F3 J9 Z( {
  498. ; http://php.net/ignore-repeated-source
    ' M1 _( [" F6 w; j; j2 {+ _; m
  499. ignore_repeated_source = Off0 i4 i+ B7 r: Q9 L6 o  N8 W
  500. 3 l$ s, l( V1 A% v# Q: y
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on1 B/ l4 m0 ~+ p- R, i( B
  502. ; stdout or in the log). This has only effect in a debug compile, and if2 }- U" X# |7 ~
  503. ; error reporting includes E_WARNING in the allowed list
    . N, F( F% Z! f1 |* t
  504. ; http://php.net/report-memleaks
    ; ^! T" [: p7 T! y) a. R) t5 ^
  505. report_memleaks = On# A( t( L7 ~0 l2 q, H! j

  506. # J$ |! R* b% n7 h# K$ P, m
  507. ; This setting is on by default.2 `& m) F; F5 ^* Z9 y' n. {5 {; W
  508. ;report_zend_debug = 02 t) D% ~+ ^; e$ B6 m& _

  509. ) \) j1 a4 W3 R* v
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value, z) W- ^. H) O& T8 N4 U, z$ O3 N
  511. ; to On can assist in debugging and is appropriate for development servers. It should- P# M7 O- @3 ~! M5 m, H3 r
  512. ; however be disabled on production servers.
    3 }" d( m! v+ k& I+ \, ^
  513. ; Default Value: Off
    3 e* X9 b! i8 G" n( |2 _- z
  514. ; Development Value: On
    3 I# Y( a( P: U1 `8 D8 i8 V
  515. ; Production Value: Off
    & i7 Z9 p  z  g
  516. ; http://php.net/track-errors0 j. \8 ]$ g( S# \
  517. track_errors = Off& @6 O% _6 x4 |

  518. ) I1 h! q( e5 \
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    * T- M& n4 \+ g9 k% S5 x
  520. ; http://php.net/xmlrpc-errors' M- R. Q( n! R: E
  521. ;xmlrpc_errors = 05 ~! K  D7 y% _% @( Y4 d$ O  }( m

  522. / L1 Z" k- z/ X3 J; _8 h
  523. ; An XML-RPC faultCode
    1 o# G! ]/ \; U' d/ ]
  524. ;xmlrpc_error_number = 0
    ! `/ h% d# z2 l1 r
  525. 2 h7 u8 ?  Q  h3 V1 @# G! l: R0 G
  526. ; When PHP displays or logs an error, it has the capability of formatting the7 ?) |6 h$ _( c" Q. K- G
  527. ; error message as HTML for easier reading. This directive controls whether, i# @* t8 T' j1 N: z8 |
  528. ; the error message is formatted as HTML or not.
    4 h( `% m3 F' X3 n
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI& T# k9 i% n* t" j/ \/ h/ x3 T
  530. ; Default Value: On
    - l' e3 A/ ~: Q
  531. ; Development Value: On
    " q" Q% z2 s9 f/ |  F
  532. ; Production value: On
    " \2 S2 E% _; l5 Z; B* {
  533. ; http://php.net/html-errors& h2 N5 R$ B; B; F+ U( L
  534. html_errors = On: _3 s2 j% p6 O
  535. 3 l# f- `8 |0 M/ e! G
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP3 c( {, e( o- `6 A
  537. ; produces clickable error messages that direct to a page describing the error# ?, C6 ~+ p. A) h
  538. ; or function causing the error in detail.
    / @7 q  O3 M+ s7 t: E% O
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    & R4 ?0 p/ T; b6 s
  540. ; and change docref_root to the base URL of your local copy including the7 Y* S5 M" e( \8 D- J7 O% g$ G( i: c
  541. ; leading '/'. You must also specify the file extension being used including
    : P+ z' F* Z1 A1 o2 p
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which. n( l2 @8 V1 V7 v; `* ?
  543. ; case no links to documentation are generated.! x, \6 U$ E: D
  544. ; Note: Never use this feature for production boxes.
    ) y- ^& M" \% L+ \8 p+ T
  545. ; http://php.net/docref-root, Z4 k# C* o! _( i6 |1 p
  546. ; Examples
    ) D# ^2 e( K6 c/ l; G" d
  547. ;docref_root = "/phpmanual/"  O) h4 @- a) e3 i' D" G) C2 k7 ~/ c
  548.   _/ E3 U5 K1 o+ u) _
  549. ; http://php.net/docref-ext( A9 g; h" k. \7 ~8 m+ `
  550. ;docref_ext = .html5 k4 [0 D/ s* }9 H8 {

  551. 0 Y7 _& n* t- @& X5 H
  552. ; String to output before an error message. PHP's default behavior is to leave
    ' b. g" C  U; x* `0 |
  553. ; this setting blank.8 H) T- b3 r: H* j
  554. ; http://php.net/error-prepend-string
    " @  G* Y* G6 j- d& b
  555. ; Example:6 b* j" n7 ^; v% ~+ Y
  556. ;error_prepend_string = "<span style='color: #ff0000'>"5 Q" V3 C0 v4 h7 P

  557. 0 Y3 n  T* a* {
  558. ; String to output after an error message. PHP's default behavior is to leave4 C1 _" I- p$ h2 J( `7 K
  559. ; this setting blank.
    / p- B1 w% D# c0 Y3 A
  560. ; http://php.net/error-append-string
    7 h; m5 h  \% a: o, v
  561. ; Example:
    0 N) L8 ^: H4 K! k; `
  562. ;error_append_string = "</span>"1 G7 B; h7 j! x$ x" G) o
  563. 2 E, n) ~2 h& l, Z4 B6 a
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    ' O4 \- O- K/ V/ o3 Z1 B
  565. ; empty.
    7 i( d8 i7 _, y) n7 v2 M* I
  566. ; http://php.net/error-log
    . a5 a- r7 ?/ o% W# B% ^
  567. ; Example:
    8 J0 \% ]3 t& y8 |% H
  568. ;error_log = php_errors.log
    7 }  \# f" n9 ?/ x( R. ~& F
  569. ; Log errors to syslog (Event Log on Windows)." p. R0 D9 t7 v, Z3 C
  570. ;error_log = syslog
      [$ A3 m+ V5 ?3 v; p4 P7 Y0 c
  571. ( T) n% E6 M$ [- P
  572. ;windows.show_crt_warning
    ' Y) T# |! k2 S2 O
  573. ; Default value: 0
    2 ?: h( Y+ O0 I  P
  574. ; Development value: 07 _+ B3 M3 @8 A2 v% n, M) `
  575. ; Production value: 0
    # d, H7 m# w; Y3 x& U
  576. ( u; R( S, C5 g) w8 v) M, Z0 K9 n
  577. ;;;;;;;;;;;;;;;;;- j6 n, K+ b- F7 p. T
  578. ; Data Handling ;% N* N6 j/ |4 V- q
  579. ;;;;;;;;;;;;;;;;;
    & `9 z# A/ j0 S/ O4 ?( t8 C
  580. ' ?0 m! C# ~& G
  581. ; The separator used in PHP generated URLs to separate arguments.
    8 q$ p6 S3 X) J7 f4 [9 L$ e5 T2 x
  582. ; PHP's default setting is "&".
    ! O! B: g3 b4 `1 [: f. v- c
  583. ; http://php.net/arg-separator.output
    $ @% j" Y) @  K* u* h8 I' v
  584. ; Example:( W* i2 S: c6 p) d3 W3 N& C
  585. ;arg_separator.output = "&"% A6 F7 E- @- r* ]7 k4 n9 Z( C
  586. + x3 k& b9 t  ?0 ^
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    % q; j# s0 ?8 R- E+ Q2 B
  588. ; PHP's default setting is "&".; u( p' j( \  ^7 [, @9 M& c& O
  589. ; NOTE: Every character in this directive is considered as separator!3 R" G4 _% c( Y. u) u: b" q" U9 o
  590. ; http://php.net/arg-separator.input
    - [' \! L  Z4 V# t& ^
  591. ; Example:
    9 j+ A4 y4 I2 N$ d# w
  592. ;arg_separator.input = ";&"
    / m5 e6 E1 X9 _2 C' y) X
  593. : R( a  |( G) U4 P8 a) G
  594. ; This directive determines which super global arrays are registered when PHP0 Q( j! i# x( v; v4 M
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super/ q0 X# u6 E  ]2 ^/ f; ]/ L
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty5 G6 \; h& S4 ]; ?+ x! _9 _5 `
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    . ]/ u) J& ~( D. |; {
  598. ; used as the others, ENV is not recommended on productions servers. You
    , D4 o1 D; z! m
  599. ; can still get access to the environment variables through getenv() should you4 f+ E& w9 h- G) ^0 l
  600. ; need to.; q* {7 Y: o: G
  601. ; Default Value: "EGPCS"9 c8 a" T/ a/ m# O$ f) f( z5 Y2 t
  602. ; Development Value: "GPCS"
    2 d' [2 ~% f3 k" g
  603. ; Production Value: "GPCS";  G' G" t0 E& k7 _
  604. ; http://php.net/variables-order; v2 Q' [/ w- h  I! L* f: Z" B
  605. variables_order = "GPCS"
    6 L5 q8 R! D. g8 n# L/ K/ s

  606. " L# Z! f) @9 Z; _1 s
  607. ; This directive determines which super global data (G,P & C) should be
    ( D% e. W7 g/ B9 y2 ~) \
  608. ; registered into the super global array REQUEST. If so, it also determines5 Q; ^" J' N0 ?3 x2 e; B
  609. ; the order in which that data is registered. The values for this directive
    3 `* ^; ~! C- V6 B! G* P4 R0 {
  610. ; are specified in the same manner as the variables_order directive,
    ! }' v! U1 \1 z/ `+ ]2 n3 n" s- I
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set/ z$ r$ q7 t9 x  C
  612. ; in the variables_order directive. It does not mean it will leave the super7 n% x# l% M# H7 T. w
  613. ; globals array REQUEST empty.
    " i! g1 h& u2 ]7 A6 e4 |8 s
  614. ; Default Value: None
    . Z7 N2 X! P' y! G$ d
  615. ; Development Value: "GP"
    9 ~+ H. \6 }+ ]2 A
  616. ; Production Value: "GP"
    4 m( |# r8 O! ?! C- x' S1 [% X
  617. ; http://php.net/request-order9 g' ~  y9 w; }: V" q
  618. request_order = "GP"
    ! g: n0 a# b+ V

  619. , S6 m# ]& f, @
  620. ; This directive determines whether PHP registers $argv & $argc each time it1 y4 }- Q/ r$ W. n
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script4 C: Y$ h- w0 j1 c+ e0 j/ i
  622. ; is invoked. $argc contains an integer representing the number of arguments5 I8 d% I/ Q5 a: q7 }
  623. ; that were passed when the script was invoked. These arrays are extremely- S! {9 q+ D' g% l
  624. ; useful when running scripts from the command line. When this directive is! S$ \4 G1 v* Z4 R8 N1 _/ m; D( e
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    8 R/ L0 C9 G( B
  626. ; a script is executed. For performance reasons, this feature should be disabled! e9 C5 [* X3 W+ X9 s
  627. ; on production servers.2 Y' p3 t5 C: M+ [' j% _; E
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    - j6 R; v- {8 ?1 U' _( i9 o- n
  629. ; Default Value: On
    : w! i& ~. M1 {1 I$ z) b. h4 i9 z# m) A
  630. ; Development Value: Off8 [, f0 R: l$ N8 K3 E& w7 [( F. L
  631. ; Production Value: Off, K% t7 p! P( S2 b
  632. ; http://php.net/register-argc-argv
    3 c; L) g0 v! [9 G. s! K( G" d
  633. register_argc_argv = Off
    / ^$ U6 ?4 d3 u8 ]& U* y7 V
  634. " s7 s' w  b$ R+ W  u. z+ U
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    , q: ^9 f3 m* O, I9 f& _
  636. ; first used (Just In Time) instead of when the script starts. If these: D. Q7 g9 I/ g) u+ s; O" X5 U
  637. ; variables are not used within a script, having this directive on will result7 {) i( K+ w2 {
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled! _. u: g; |! E; K: N
  639. ; for this directive to have any affect.
    2 l/ S" U: X1 Z3 T# a' a, o! @1 }0 j
  640. ; http://php.net/auto-globals-jit
    ) h9 W( u0 S. [: \
  641. auto_globals_jit = On
    9 R1 k, W$ w! B: t6 S
  642. ! t4 E. ~* W  X
  643. ; Whether PHP will read the POST data.
    % k3 w% C2 p0 y* E' w/ O, S
  644. ; This option is enabled by default.3 O8 e3 \  k# G- {2 I0 f
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST. f* l( N' y, t1 e& z) j3 i
  646. ; and $_FILES to always be empty; the only way you will be able to read the/ U- I8 `. t# k; y
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    - t- F0 J! o7 A% z. D0 U7 \
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ( b" o/ Z2 @7 T- R) a" u4 E
  649. ; http://php.net/enable-post-data-reading0 y: x9 |2 e# {6 D' i, m
  650. ;enable_post_data_reading = Off! [, Y" A6 M& Z$ n) d

  651. 4 l% x- `. n/ f( ^) a0 E
  652. ; Maximum size of POST data that PHP will accept.  l1 S' o3 P' Y0 }
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    * ]/ x) N4 t/ M) ~
  654. ; is disabled through enable_post_data_reading., k5 _. y0 z0 v, p$ I. F6 V( a
  655. ; http://php.net/post-max-size
    ; |3 I" ^- T# f. ~" a
  656. post_max_size = 50M
    * P  V" v& r. b, p( v3 G
  657. 1 y3 ~. Y: n8 v# h/ C/ H; N
  658. ; Automatically add files before PHP document." X- V$ d9 ~# M5 {3 J
  659. ; http://php.net/auto-prepend-file
    , A1 ?+ O/ o3 C0 U- i
  660. auto_prepend_file =  f; |0 f& N9 A. K' A& H
  661. ! K3 N* p  s7 ?5 x
  662. ; Automatically add files after PHP document.
    ' ^) W8 {" D* A+ J1 A' j
  663. ; http://php.net/auto-append-file
    4 U' U4 h% P3 R5 y1 J
  664. auto_append_file =1 e- r% w3 S8 d- z1 v
  665. 3 c( ?5 |& m+ R. o, y/ B
  666. ; By default, PHP will output a media type using the Content-Type header. To
    8 K. g6 z& E) t$ t8 o
  667. ; disable this, simply set it to be empty.
    " F& a! ]5 Y1 Y8 C- J# K/ i/ e: g
  668. ;8 r) w6 ?! k# N+ Q5 H6 u$ V
  669. ; PHP's built-in default media type is set to text/html.
    / @3 Y  w* E# `& ^# a) \
  670. ; http://php.net/default-mimetype
    5 Z4 b/ H  {- N
  671. default_mimetype = "text/html"
    $ Q( t4 ]5 T) ]9 ~) p
  672. & m2 K  F8 ~1 `" c* [- F
  673. ; PHP's default character set is set to UTF-8.
    # Z4 i% D8 m) J. {
  674. ; http://php.net/default-charset
    ( \7 L4 q7 ]6 z* }. L6 x
  675. default_charset = "UTF-8"4 w& H3 N% F* ?; B; f/ m
  676. 9 w: B: q  n. V
  677. ; PHP internal character encoding is set to empty.
    : x' T& X) O$ g0 w2 J) E
  678. ; If empty, default_charset is used.( {+ q) U6 _/ D- B% |
  679. ; http://php.net/internal-encoding* P" g/ |$ d% t0 f1 `1 D+ `- w
  680. ;internal_encoding =
    : |9 t8 G4 F( I# H

  681. 5 A/ c' u! {6 E! [3 c* _
  682. ; PHP input character encoding is set to empty.
    3 l2 K2 c4 M! r0 T4 \$ _/ x. U
  683. ; If empty, default_charset is used.
    6 z( r3 \' l/ m7 b0 K
  684. ; http://php.net/input-encoding
    6 H* o5 W7 e/ @5 }" E
  685. ;input_encoding =" l6 T% i7 V" M/ f3 K1 R1 V& P
  686. , |  s9 \! D- L: B% T4 {
  687. ; PHP output character encoding is set to empty.+ s5 J! Q7 z6 [6 B
  688. ; If empty, default_charset is used.6 m3 C/ H$ G# n' {9 }. k
  689. ; See also output_buffer.' P. A  s' S1 T/ X, K* m7 ~" |* N
  690. ; http://php.net/output-encoding
      p: h' Q$ x! w2 H* I9 a& e
  691. ;output_encoding =
    * ]3 j5 M% H3 ^& E2 W. m/ a$ D
  692. " X8 L3 ^/ K* F0 ~1 G+ z9 f+ {
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ! h/ `% w. q: L" g2 ?0 I
  694. ; Paths and Directories ;* K' C  C& i( X( A
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;) c6 a; X; D, O8 R

  696. $ b& c; I3 _1 _/ w
  697. ; UNIX: "/path1:/path2"
    7 D* J( b' h$ ?: e- J& q
  698. ;include_path = ".:/php/includes"
    . A4 n( C, N2 N8 ?( S
  699. ;
    4 n' n+ J- h$ a8 Q; O6 Z
  700. ; Windows: "\path1;\path2": X. s- O5 U- m2 R1 C) h. Q
  701. ;include_path = ".;c:\php\includes"; ~8 _; g( t9 V4 H& d" M) n: ^
  702. ;% Z5 K' A0 d2 g2 \2 c1 [. o% g; p
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"/ j4 ~; n) O9 S( T' Q. h
  704. ; http://php.net/include-path
    : r9 ^- H2 F. g' e, l+ K

  705. & w  r6 d- z$ i5 X6 v; o. c
  706. ; The root of the PHP pages, used only if nonempty.1 i1 |6 e0 E9 l! P& q+ s
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root. Z& o' M. _/ {- y1 e
  708. ; if you are running php as a CGI under any web server (other than IIS)# S" ]' S0 o8 S8 g, e% z/ N1 `
  709. ; see documentation for security issues.  The alternate is to use the1 `. m# v3 q( E5 m
  710. ; cgi.force_redirect configuration below
    + s! @4 Z5 j1 U# J3 x
  711. ; http://php.net/doc-root5 W/ C* s) v, X4 Z& m
  712. doc_root =, ?* K' |  l9 }6 a" ]
  713. " X, e6 c7 M3 y, U9 w$ g" @
  714. ; The directory under which PHP opens the script using /~username used only
    " o- d" H5 W; _4 @4 a
  715. ; if nonempty.5 g/ }" V( Z2 C- A1 N
  716. ; http://php.net/user-dir
    # U" c  C) ]' G2 j
  717. user_dir =
    5 H. d7 f9 E: Y7 m

  718. ' {( @9 z% p( N# b
  719. ; Directory in which the loadable extensions (modules) reside.( ?" F& L* \. T- \( p
  720. ; http://php.net/extension-dir
    9 Z4 i8 i" I0 x) Y+ A! Z
  721. ; extension_dir = "./"% j  B( g$ _5 a$ L0 d
  722. ; On windows:
    0 }) W3 i" z# Q) @1 q
  723. ; extension_dir = "ext"
    : a+ H* P  Y+ b8 F( k

  724. $ \, A" L. \1 ~( u! A: S
  725. ; Directory where the temporary files should be placed.
    . |1 }! ~$ O5 T7 X
  726. ; Defaults to the system default (see sys_get_temp_dir)
    . \; X- F0 r0 i5 O
  727. ; sys_temp_dir = "/tmp"
    5 `" g: [" Y$ K" z8 S& p* o! x
  728. * [9 o7 M; ?+ J* m
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work, g! t# s7 o% s, m) T
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    1 E3 s- s2 g) \0 T/ q' f0 _$ Y
  731. ; disabled on them.4 E* z3 }: m5 p) r
  732. ; http://php.net/enable-dl
    . X# @7 F' n8 {4 K% W
  733. enable_dl = Off
      I2 F) h, g+ s/ j/ g7 k
  734.   z; R7 r- r: m3 s% W2 C) K9 I
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under# ?! x  T9 v. W- j. a
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    1 `0 ~, D# j- I9 {. K
  737. ; turn it off here AT YOUR OWN RISK, ~9 c! v/ }; j6 Z
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    6 ]% Z5 p9 W& Q* A; N5 H1 j
  739. ; http://php.net/cgi.force-redirect
    ' |# X6 Q5 J5 V0 D* \# c) A( ?' O
  740. ;cgi.force_redirect = 1
    0 u# U, Z# l. e; K& Q' s
  741. # z/ M' A: ^# I5 j; @9 e1 X
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with3 u+ K. G$ I" N3 B
  743. ; every request. PHP's default behavior is to disable this feature.* M* Q2 M* O+ Y( F9 ~# V- z, z$ {- K
  744. ;cgi.nph = 1
    : _. U+ w/ G5 L3 \  E. M

  745. 8 s9 p7 E* O3 p! m) X7 A
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    7 G) J/ p9 J5 t! J8 G2 J2 \8 m
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    # i! J/ P3 w( S* K
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY2 c: w( s1 Q7 d3 n* M
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    : _- j& @( @% A. j% r# o! n
  750. ; http://php.net/cgi.redirect-status-env! ?/ k: w( _6 l2 O- F
  751. ;cgi.redirect_status_env =2 R* Q9 B5 r) s3 ?) c
  752. 8 w0 G6 [/ l1 ?3 _% h1 t+ I1 m
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ; A- |4 ?4 F1 q0 f2 X5 d+ M
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    - @, X% [2 x# L2 v+ K3 j
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    " C) E' q: I* S- F7 R% E
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting5 K7 w) }7 q+ c* s+ L8 ~3 Q
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ; @  y* ]  E" }- d
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED./ U! O( I: h2 t1 ~$ m5 s5 v3 ]
  759. ; http://php.net/cgi.fix-pathinfo
    / i2 R2 P* @0 ^+ m% J6 i9 ^( S
  760. cgi.fix_pathinfo=1
    ( K7 n0 ~* ^, V- _6 U" s

  761. ( K/ l8 ]; `1 ?4 a/ \
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside8 \% |. w9 N9 I
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    7 J3 Y: c4 W4 i, R/ c% w5 Q
  764. ; http://php.net/cgi.dicard-path
    9 A. [3 y6 i- g" r; W; ]
  765. ;cgi.discard_path=1
    , [7 a. T' j6 _5 C

  766. " O9 E: h4 y7 i. D' p* s
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate% H8 n; }1 c* W  L# @4 n1 O0 ]
  768. ; security tokens of the calling client.  This allows IIS to define the
    - L, `3 \! v; n
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    , _' A- D2 [8 a& B, m
  770. ; does not currently support this feature (03/17/2002)5 E* c( i+ ~3 _  j5 w: j5 m0 a
  771. ; Set to 1 if running under IIS.  Default is zero.
    * m4 ?5 I  S  q2 n5 x
  772. ; http://php.net/fastcgi.impersonate) P0 V' d; x! j/ M/ o5 ^* u  p3 L
  773. ;fastcgi.impersonate = 1. P) b* G" M* S" Z

  774. ) y! h+ I6 t5 O
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    & M) q6 q8 e# x8 |) y$ v
  776. ; this feature.
    , I9 o; A+ [; J2 k% A! \
  777. ;fastcgi.logging = 0' y) z& R. s, g
  778.   ^( H1 a3 A6 a7 ~
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    $ i* m& X- B+ ?7 W. X( {
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    - |- R; H  ?9 F3 q; h; t+ Z
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    ' q/ C+ \: y7 Q
  782. ; RFC2616 compliant header.
    * I9 T# k$ @, e2 I2 X
  783. ; Default is zero.
    & @& P' Y6 |8 a" _
  784. ; http://php.net/cgi.rfc2616-headers
    ; r5 Q; S4 z: L  z
  785. ;cgi.rfc2616_headers = 01 o7 W& d* L% _3 J4 v( s  p( S
  786. ' c  k, Y' n" T8 Q2 {: R6 e' S
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    3 S/ {  a0 ?2 i; K- p9 |' f
  788. ; (shebang) at the top of the running script. This line might be needed if the1 f1 Y) y2 C- m
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    0 C) I  s% Z) e
  790. ; mode skips this line and ignores its content if this directive is turned on.* Z& E+ m$ k7 j$ Y# i
  791. ; http://php.net/cgi.check-shebang-line
    6 D$ Q1 x' M9 d1 }! _
  792. ;cgi.check_shebang_line=16 m* j% g3 `* C$ @$ r. ^1 ]

  793. + ~8 V) |6 a; [7 C* g2 H/ l1 J
  794. ;;;;;;;;;;;;;;;;
    + Z! d) N4 O$ ~3 Q$ X( a
  795. ; File Uploads ;9 c- X- ~$ Y3 H( J
  796. ;;;;;;;;;;;;;;;;
    0 l2 X* Y* Y# a. d7 j, A" I$ ~6 l& k

  797. " W7 p9 ]% K' v5 D2 J& b$ ?) b4 W
  798. ; Whether to allow HTTP file uploads.' b3 ~% q. q# ?& O7 p* ]
  799. ; http://php.net/file-uploads% U/ T/ g( j. }9 W& y
  800. file_uploads = On
    # r0 ^4 {4 M8 r* ?0 t
  801. + i) h: \6 I7 k# j% Y
  802. ; Temporary directory for HTTP uploaded files (will use system default if not; K% _5 v) v/ @* ~. Q+ Z( ]
  803. ; specified).7 e6 L7 d! o  D
  804. ; http://php.net/upload-tmp-dir
    6 k- h# a* \! l& n- C0 d5 _
  805. ;upload_tmp_dir =
    8 n7 m1 @. I2 c8 ^; F

  806. $ t- v& T7 Z& h5 m* U( k
  807. ; Maximum allowed size for uploaded files.
    5 }- p( {) z( g- a- j5 Y' N' H
  808. ; http://php.net/upload-max-filesize
    - H4 {! @5 M! T9 b4 {
  809. upload_max_filesize = 50M$ z' w5 X; o" \* Q5 g2 ~
  810. - U" M1 n" Y% t: x: \8 _% [
  811. ; Maximum number of files that can be uploaded via a single request
    % I: ~0 r* [  I3 s* Q& l7 w$ Y5 A; g
  812. max_file_uploads = 20
    % f  {- `$ F8 a# H% H7 c: o- X
  813. - N+ U5 ^- u! [1 i7 [
  814. ;;;;;;;;;;;;;;;;;;0 v7 V4 {1 N" y5 I2 y6 D( d0 ]
  815. ; Fopen wrappers ;% j$ |0 \  j  A/ ?
  816. ;;;;;;;;;;;;;;;;;;6 ?  J. u6 \' F" x

  817. & ]! I, x: q3 T1 C2 m. N
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    % P) e7 V0 j9 p' R- m! I
  819. ; http://php.net/allow-url-fopen6 m  r- U5 b' x6 \
  820. allow_url_fopen = On
    ) A0 _, J6 q9 J) ~' K

  821. 0 D7 m, p9 [1 m- Z+ H
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.% `: Y+ X; {: B& B9 `* N6 w8 |8 I; d) ?
  823. ; http://php.net/allow-url-include  h$ F+ X6 z& L+ w5 l+ y
  824. allow_url_include = Off2 r+ |- i- ^7 p, L! D1 m

  825. : J# E# L" G# W: Z
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    0 \6 ?2 q# n3 k3 V
  827. ; for this is empty.6 r; \, q0 q1 C( V4 Y
  828. ; http://php.net/from
    ) ~& t; }, R) j0 _  @# p: {
  829. ;from="john@doe.com"
    0 z7 K8 d9 U* E1 b

  830. / Q! o: ]) Q) q
  831. ; Define the User-Agent string. PHP's default setting for this is empty.5 i4 P% n. U) e0 S8 b
  832. ; http://php.net/user-agent8 u, X! u9 V1 `, w
  833. ;user_agent="PHP"
    # l* w- I& K; Q7 I  {/ x3 N7 m

  834. + C3 `$ T5 @  d- b! \
  835. ; Default timeout for socket based streams (seconds)7 `" X& a& u& K$ |. F
  836. ; http://php.net/default-socket-timeout
    & Z5 e8 s) E3 f4 H4 Z: Q; g
  837. default_socket_timeout = 60
    - t. J. g. {* O: ^% E9 ~  V) K

  838. ( u$ ]* q( d2 v) D7 q
  839. ; If your scripts have to deal with files from Macintosh systems,+ K* ~( |" b8 G, v+ f% ?8 Q2 ^4 Z
  840. ; or you are running on a Mac and need to deal with files from
    3 B" o( E/ Q  U: ?: b8 I0 E
  841. ; unix or win32 systems, setting this flag will cause PHP to! X# p' N2 \5 x* q: }' i" C
  842. ; automatically detect the EOL character in those files so that
    - h$ d% y, A5 |" K0 r
  843. ; fgets() and file() will work regardless of the source of the file.
    7 w5 v/ p" @& J
  844. ; http://php.net/auto-detect-line-endings
    9 n7 a! T/ c* S6 Z* D1 ]
  845. ;auto_detect_line_endings = Off# d7 Z. o/ U9 B- E6 G" l" F

  846. ; N& W# V& @% |# M
  847. ;;;;;;;;;;;;;;;;;;;;;;
    9 }) P- N; ~5 N% B
  848. ; Dynamic Extensions ;/ k* ~/ [' t; }+ L  u' y
  849. ;;;;;;;;;;;;;;;;;;;;;;
    " a" M( I& [) R6 {* _

  850. 6 x8 n! R: X2 p+ [# A# J5 E/ z& c& \) l
  851. ; If you wish to have an extension loaded automatically, use the following
    8 N+ ?  k  e& |
  852. ; syntax:
    # ~" h! C% w% p& i2 X
  853. ;
    ) f- `1 p7 B1 j: G( k& h" P( l5 p
  854. ;   extension=modulename.extension
    6 q6 E! o) o8 o
  855. ;  r/ l& x; S2 G# \# L& m& V& `4 V/ c
  856. ; For example, on Windows:
    + q% o4 s2 Z/ r! x7 D% a* F
  857. ;5 F( h& f# N* ?* r; v
  858. ;   extension=msql.dll
    9 q9 n8 @3 p  F' ]2 g. A: w7 K; M
  859. ;
    / @! P  |7 f+ a1 R4 r4 l
  860. ; ... or under UNIX:
    $ D2 I" @$ R' E( Z3 W
  861. ;: x1 G* n9 y: k, `2 g, W% v) x
  862. ;   extension=msql.so9 L7 g  t5 l8 Z8 k" s
  863. ;
    & p$ N$ G2 T* X  w. T
  864. ; ... or with a path:
    5 m9 ?$ Z4 |' d% a$ |9 R# h% W4 b
  865. ;
    ; I4 O6 O: r; S* r# @0 Q
  866. ;   extension=/path/to/extension/msql.so
    / n8 @! x7 X! \! A! ~
  867. ;
    0 ]8 ^8 g4 ]4 J: ~
  868. ; If you only provide the name of the extension, PHP will look for it in its
    1 p- r) h0 k6 W/ ?
  869. ; default extension directory.2 q7 A8 u1 w, _
  870. ;3 _3 ~3 K% ]% g/ }3 ~
  871. ; Windows Extensions3 d7 W8 K- i/ G  b5 T
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    8 v8 U9 ]! T/ i, f$ u7 |; ~$ Q  S* t
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)8 H& h& R- d6 A" y0 `+ E
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    5 N1 c) P2 _" l
  875. ; Be sure to appropriately set the extension_dir directive.
    4 J4 m) U+ M7 f! Y4 m# U1 x
  876. ;& E; q" `$ \0 J/ ~. B
  877. ;extension=php_bz2.dll7 c4 _9 Z2 `' l, Q/ O
  878. ;extension=php_curl.dll2 t. z6 A4 I0 c
  879. ;extension=php_fileinfo.dll
    6 B) p8 ~, l5 ?& ?5 x+ `
  880. ;extension=php_ftp.dll
    4 g' O; e! |1 o# t$ E0 `. T' p  j* ^3 R
  881. ;extension=php_gd2.dll
    / p* I4 G2 r2 j5 X: n( ?% l
  882. ;extension=php_gettext.dll
    ; B: K- i4 Q5 |$ C+ y& ]/ y& U0 E& m
  883. ;extension=php_gmp.dll! j0 I+ P% n$ m- ?* K3 ]! G, h& e4 A, e
  884. ;extension=php_intl.dll/ r4 X5 ?; C6 U1 ^
  885. ;extension=php_imap.dll5 h0 [8 I( F) _3 f" m- t
  886. ;extension=php_interbase.dll2 ~: I" R; T. ]# w- Y7 F
  887. ;extension=php_ldap.dll
    # w( [, f4 {5 `) n9 s
  888. ;extension=php_mbstring.dll0 ?$ _2 q* }! B3 h" ~. _0 n2 m$ z
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    & `8 i6 w; X' _
  890. ;extension=php_mysqli.dll& ^+ [! Y3 j. x- Y# z
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ) R+ q6 p) T- `8 B! L" ~+ U* z* X
  892. ;extension=php_openssl.dll8 {) H+ Q. R8 r) s% e0 j$ K# N4 N; w
  893. ;extension=php_pdo_firebird.dll, q9 s+ r& A# U& `
  894. ;extension=php_pdo_mysql.dll+ @7 O: P! U/ i7 u# T0 _
  895. ;extension=php_pdo_oci.dll1 a- |0 a" R8 w
  896. ;extension=php_pdo_odbc.dll
    # B) O7 }- R, W5 {. l
  897. ;extension=php_pdo_pgsql.dll* |: l/ Y. l( a: O
  898. ;extension=php_pdo_sqlite.dll
    ) S  w, @: h4 W" ?
  899. ;extension=php_pgsql.dll
    - C% T8 o; i5 j, b4 L6 D: g! Y
  900. ;extension=php_shmop.dll
    " O, X* i! F- x, j! ^# c* e& z
  901. " Y1 l# ^( ^9 D6 }
  902. ; The MIBS data available in the PHP distribution must be installed.
    2 T' z4 i6 g; w$ m+ D  M! {
  903. ; See http://www.php.net/manual/en/snmp.installation.php# A3 C+ I: }/ m4 Z8 I/ M
  904. ;extension=php_snmp.dll
    , U8 k5 K, F& t0 T

  905. * q# S: y" `; i
  906. ;extension=php_soap.dll9 \- j$ w! C, }- j) G
  907. ;extension=php_sockets.dll  j2 s1 S+ Y% v: b, g
  908. ;extension=php_sqlite3.dll7 m3 a9 U2 I5 P4 `* ]5 n
  909. ;extension=php_tidy.dll
    9 M. i- [# W0 E$ F; X" j1 r
  910. ;extension=php_xmlrpc.dll
    9 V' B9 q9 q, f, ?2 l
  911. ;extension=php_xsl.dll; k. w8 c3 J, I; r  P1 a2 e

  912. 3 J& O! {9 d/ P7 _# K# A" h
  913. ;;;;;;;;;;;;;;;;;;;; t5 _7 j" _% C/ n, ]
  914. ; Module Settings ;& U; I- N* Q2 ^. S4 j
  915. ;;;;;;;;;;;;;;;;;;;( T9 \! z! m; f

  916. ; z) g8 s* ^6 m" D+ @
  917. [CLI Server]$ F3 ^& Y* U0 O
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
      j& T" D, E6 v, m9 g
  919. cli_server.color = On/ x# S4 i  Z3 W$ o) D

  920. 7 P- Z3 p0 O5 n5 J5 a( V* x
  921. [Date]
    7 m( [/ @: w0 J1 m, m5 H& ~
  922. ; Defines the default timezone used by the date functions) @9 Y! W  l* y$ y
  923. ; http://php.net/date.timezone- [& z; Y8 b) T4 c0 _& o! U
  924. date.timezone = PRC) `) K) w' m( t7 _/ a1 {

  925. 4 Q4 c; O) H; F5 j! C
  926. ; http://php.net/date.default-latitude, N3 V8 y) X5 A0 @/ g4 k
  927. ;date.default_latitude = 31.76671 ?6 b: o: K+ j9 U2 j
  928. 9 e" ?' O6 f4 C" c3 p
  929. ; http://php.net/date.default-longitude
      M) s" c; O0 I
  930. ;date.default_longitude = 35.2333
    ' v& ^3 }4 c% s' \. C

  931. . v/ O& ^, K/ I) V
  932. ; http://php.net/date.sunrise-zenith
    & S# b$ _7 d2 L. Y; h- `
  933. ;date.sunrise_zenith = 90.583333
    % t! v8 M1 a8 Q4 |9 B. o% s9 a

  934. 6 V. I  f( Y7 D% |, {' Z# W$ p3 L
  935. ; http://php.net/date.sunset-zenith  ]8 f; E$ ~/ v% @" m
  936. ;date.sunset_zenith = 90.583333
    / o: s3 ]' L8 @, d$ O/ T

  937. , c! A" r  H/ r( f
  938. [filter]' n  T; T( ^& k
  939. ; http://php.net/filter.default+ t: j) g; Y  A( G. r+ G1 f8 e. W
  940. ;filter.default = unsafe_raw* u. z( u  m, q; b0 J$ q" b% Y
  941. 9 k7 f) b& I( T  t2 u' V0 V6 [
  942. ; http://php.net/filter.default-flags
    : A( |7 o& C- {/ q8 x( O
  943. ;filter.default_flags =, I& ^$ v5 u) T6 `' D
  944. 1 l7 F* v: C3 w3 \* b4 y
  945. [iconv]) z# M0 [" g- b! x" o+ a2 o' x& g) v2 ^3 p
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ' B! H* `6 j  {
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.6 V! ^; V! h  Z$ f. P! F# J
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    # w# N+ C7 ?6 B( L# H
  949. ;iconv.input_encoding =. J* I7 q# t1 S2 R$ C% J

  950. / U0 C9 t' H' |
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.3 _/ J- f2 f! m& v; z3 W; G0 B1 P
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.7 u! v& ~5 ^/ {1 |. z# ]/ h' K' O
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding* N: r% Z' w6 r' V0 W
  954. ;iconv.internal_encoding =# ~. L+ g4 v5 ]

  955. ; P1 Y. ?! w& g5 f$ ?9 T$ h! B( R$ v% g
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    9 k2 s' @- V; D! ~' A9 H9 Y
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used., K( _( _3 I) p2 g3 v
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding; k* p# p+ k2 W4 U4 H* H
  959. ; To use an output encoding conversion, iconv's output handler must be set( w- Z/ I: U4 F
  960. ; otherwise output encoding conversion cannot be performed.
    " _5 B0 D$ y# |  a
  961. ;iconv.output_encoding =+ R' B% V4 c- r: D

  962. ; A3 N8 A" @) X/ C0 w- z- j
  963. [intl]0 j$ X' a/ S. {9 P$ c
  964. ;intl.default_locale =
    ! V4 L0 y) O3 S; h
  965. ; This directive allows you to produce PHP errors when some error
    # ?9 t  F- m+ R
  966. ; happens within intl functions. The value is the level of the error produced.4 F8 i3 i. t$ }& D* s3 H  P" M
  967. ; Default is 0, which does not produce any errors.
    ) T6 [2 n6 ?  k% }3 @$ ~
  968. ;intl.error_level = E_WARNING
    * s! n$ u* n% S
  969. ;intl.use_exceptions = 0  p, Z1 _6 H+ _1 `1 u1 a- z2 p

  970. 7 N7 q4 T9 T; B
  971. [sqlite3]! x; P0 n# B! ^+ E9 X
  972. ;sqlite3.extension_dir =% V7 [" _/ V) F  O1 O
  973. " o+ r4 w' D: [; ]( \
  974. [Pcre]# n, A1 m) Z: m
  975. ;PCRE library backtracking limit.& m/ |5 x) `" q
  976. ; http://php.net/pcre.backtrack-limit
    1 Y' y% O9 r7 [
  977. ;pcre.backtrack_limit=100000
    - B+ z% v. p& t  N
  978. : [8 k+ Q% n8 L5 V0 ?9 f1 @
  979. ;PCRE library recursion limit.
    2 z, k5 K/ A) ?$ v$ S6 w
  980. ;Please note that if you set this value to a high number you may consume all
    / y+ H2 d$ m  b& h
  981. ;the available process stack and eventually crash PHP (due to reaching the2 f$ d3 h3 H9 K5 b
  982. ;stack size limit imposed by the Operating System).
    , J; g( x5 V5 g
  983. ; http://php.net/pcre.recursion-limit
    + e1 S2 {9 E2 w/ d4 h$ ]  O" B
  984. ;pcre.recursion_limit=100000
    ; L( H) P$ v3 Q* Q

  985. ; B% k/ P  Q( t+ i2 D1 `
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE! O7 q$ S% }# g% O2 @; d
  987. ;library to be compiled with JIT support.
    5 w2 q7 W& p, A" U
  988. ;pcre.jit=18 Y# r1 g2 B, E

  989. 0 L9 B: ^! T' k& y/ e, }
  990. [Pdo]
    0 D$ T# e* Z  a; I  C
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    6 U" g, D/ O" u4 F# `4 D& O
  992. ; http://php.net/pdo-odbc.connection-pooling
    9 k# ?- E$ l5 j2 ?" L% m, F; a- F5 D
  993. ;pdo_odbc.connection_pooling=strict
    1 N1 h( h1 `6 ^) C9 E! D' |

  994. 1 P* ]& E: x8 x* |
  995. ;pdo_odbc.db2_instance_name
    ( l( e4 e( Q* T- ?: K& A* E, \3 @
  996. * s5 B4 Z+ @, j) M8 m1 M' P4 G
  997. [Pdo_mysql]  y3 i2 @: Y, a& G7 D
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache! o' T& H( A" U6 _9 X  Y, a
  999. ; http://php.net/pdo_mysql.cache_size
    " D2 `, k* L- P- a# {
  1000. pdo_mysql.cache_size = 2000
    % M8 t2 k) d% g' V  y" V% a2 Y

  1001. - A' B' k9 Q# B: j3 x6 K
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in9 a7 I- O* d) V% u9 k5 h- P- X! @
  1003. ; MySQL defaults.9 J2 t$ r6 g* C( h
  1004. ; http://php.net/pdo_mysql.default-socket
    3 V% T. J( e9 [0 w% y% _1 P( A' G
  1005. pdo_mysql.default_socket=- j' d/ _# d1 O1 k) m) O1 t
  1006. - G1 k2 s1 J/ \* M
  1007. [Phar]  i( z4 r# @' R4 b: V. C4 }( K2 c
  1008. ; http://php.net/phar.readonly5 n4 z& T0 S3 u7 ^( C
  1009. ;phar.readonly = On
    9 K% \/ t) {; D4 [' B) W+ X) p

  1010. , c+ t% _7 @& P" [$ }
  1011. ; http://php.net/phar.require-hash1 r$ L6 }9 A2 _2 W1 j  y' t! u
  1012. ;phar.require_hash = On) W$ m5 ?& P, Z7 \- N
  1013. + d/ t5 m+ t$ N5 w; Y- e3 r
  1014. ;phar.cache_list =6 R( ]# D$ o* u) _! W! d

  1015. 6 r. }! H) g0 e" i; i, C
  1016. [mail function]
    # Y$ a6 i; ~) ?) |. N: U# H
  1017. ; For Win32 only.
    ' U- f0 y  F( _$ P
  1018. ; http://php.net/smtp
      P3 ~* S+ c1 `% h6 |/ Y
  1019. SMTP = localhost% U  P/ `% d7 _$ h
  1020. ; http://php.net/smtp-port
    8 |  a9 y& G5 ^+ q! v. u
  1021. smtp_port = 25/ L7 r  `) J( i/ n
  1022. 8 \& L9 b  ^; u8 _+ A
  1023. ; For Win32 only.' s$ U/ Q! N% K
  1024. ; http://php.net/sendmail-from. E$ Z- v/ a0 B4 @
  1025. ;sendmail_from = me@example.com1 e% Y3 t. p  J1 u% M# _1 Q5 N
  1026. / ~( {( [$ |  F: g
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i")./ s* O( a; y! R# C; v
  1028. ; http://php.net/sendmail-path( c( A" r7 V) t7 ]2 s
  1029. sendmail_path = /usr/sbin/sendmail -t -i# O% w) w/ ~! \& T% t, V' \7 j7 y

  1030. $ m+ c* t( b0 n  {
  1031. ; Force the addition of the specified parameters to be passed as extra parameters9 s- [: F4 Y) v# R2 g" ~
  1032. ; to the sendmail binary. These parameters will always replace the value of
    1 E! \* l. ?# X) f* ?0 }/ F; H/ t
  1033. ; the 5th parameter to mail().2 O3 [; ]1 O5 K6 p
  1034. ;mail.force_extra_parameters =8 B' m' D# f0 l% m

  1035. * |- F1 B- r4 k0 T
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename/ o" o0 v! f6 I/ t+ Z
  1037. mail.add_x_header = On
    3 U( v+ ~. B5 [( t
  1038. 1 Q" Y/ n& g+ @
  1039. ; The path to a log file that will log all mail() calls. Log entries include* @9 n* B& z* ?- w+ Y
  1040. ; the full path of the script, line number, To address and headers.  W. W" p& ^) X  ^( I& Q2 l/ P
  1041. ;mail.log =
    1 p) o! R6 I& a5 o3 c1 v4 N$ e  S
  1042. ; Log mail to syslog (Event Log on Windows).8 V/ |1 P9 w, _6 Y
  1043. ;mail.log = syslog5 a& ~9 u8 n$ S

  1044. & T+ P, O8 c/ |4 R
  1045. [SQL]& S! Y; h+ k9 `' k7 M1 @3 M
  1046. ; http://php.net/sql.safe-mode( [* U* z: G1 \) ~  L3 Y; j
  1047. sql.safe_mode = Off
    2 a" h, v& B1 e  p
  1048. - E) x4 |1 `; H" @
  1049. [ODBC]7 N5 Q9 @7 H2 N, S; `0 _6 b7 R
  1050. ; http://php.net/odbc.default-db
    7 G: G$ c+ |1 F1 _% G; ]/ f
  1051. ;odbc.default_db    =  Not yet implemented0 o& ?9 J$ V7 h8 V" K
  1052. # ?) [, \9 M! C5 K% N( b8 c$ N
  1053. ; http://php.net/odbc.default-user8 P' I3 {) I! Y7 |
  1054. ;odbc.default_user  =  Not yet implemented7 ?2 j  ~! A* l' \1 |7 @
  1055. 5 I7 L4 M( \% e- z9 v! m
  1056. ; http://php.net/odbc.default-pw. v& p! Z( c% b$ |5 Q
  1057. ;odbc.default_pw    =  Not yet implemented2 P  n8 j& o5 y: o
  1058. 0 r/ o) o; l4 [" u
  1059. ; Controls the ODBC cursor model.
    % G) |( {0 w4 u. b9 @
  1060. ; Default: SQL_CURSOR_STATIC (default).
    / o1 @2 V9 l9 _+ r: D
  1061. ;odbc.default_cursortype4 v4 J' M# j  g5 e: [7 ^2 [

  1062. 8 }% m" O  X5 b) P
  1063. ; Allow or prevent persistent links.9 @) {0 K) ?4 K2 J9 \# i
  1064. ; http://php.net/odbc.allow-persistent' g$ G2 {+ x# L5 d9 g( ]) s
  1065. odbc.allow_persistent = On
    / [8 @/ w" Q$ ]# d9 o
  1066. " r- {4 K/ R$ v9 j) T4 q! O3 s
  1067. ; Check that a connection is still valid before reuse.8 k3 G/ }% Z9 L8 a, }; M4 E
  1068. ; http://php.net/odbc.check-persistent
    7 f) L! e: H& B1 ^8 P6 g3 T- U  s( `
  1069. odbc.check_persistent = On+ f8 B* s( ~- l. U

  1070. % Z1 U9 D) e& b$ x% W
  1071. ; Maximum number of persistent links.  -1 means no limit.
    * i; c2 g* F6 @- M! z5 I6 t, x; f7 ^
  1072. ; http://php.net/odbc.max-persistent
    ) t, J) c; O, X) }! o
  1073. odbc.max_persistent = -1; ], U3 M1 D- X  W" L

  1074. 5 g8 Q: {3 Z5 o2 c
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.& Z+ V- x  J% }$ `  u% c: @
  1076. ; http://php.net/odbc.max-links
    / s) ]2 l+ }  h* F: g) ~
  1077. odbc.max_links = -1
    4 o! e7 w) m% ^8 R3 e  q4 }
  1078. 6 k, V6 w1 E: J1 f% A$ k2 q) I
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means( w) W. i" i& h" g/ ?" h2 b/ n
  1080. ; passthru.' ~  z, X. q/ u* z' c
  1081. ; http://php.net/odbc.defaultlrl
    % l2 D: ^' q  I3 _4 g# J
  1082. odbc.defaultlrl = 4096
    - V. Q: w+ K) ~1 `: O
  1083. 1 b. E4 k( F  p4 o- o+ Q
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    2 X# y( z+ p1 X
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation3 F/ f' G; H! Y, r
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode4 Z1 x2 @2 L& c# [
  1087. ; http://php.net/odbc.defaultbinmode3 N* b+ M( y5 x' N
  1088. odbc.defaultbinmode = 1) Y3 T# o. Q* N( `. n1 n

  1089. . S! b$ I$ q, q
  1090. ;birdstep.max_links = -12 d/ ^0 F4 M4 u1 L" @5 d

  1091. # \: D+ L0 M8 K' Y& d5 O
  1092. [Interbase]/ e# B( W7 Q) p& H' k+ p. I
  1093. ; Allow or prevent persistent links.: B. F/ e4 D# N( R: c5 j
  1094. ibase.allow_persistent = 1; f* n2 P* j8 M- \# B

  1095. # L  v8 Q( Z1 _7 x$ }* y
  1096. ; Maximum number of persistent links.  -1 means no limit.. `7 V3 H* l+ p9 A& Z2 ^; Z' _
  1097. ibase.max_persistent = -18 y" ~( P, s( u% P
  1098. ! J' c; c/ I8 K1 p1 f2 b# ~
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) x- c0 ^* Q) h' H9 u; l
  1100. ibase.max_links = -1
    ; D; g( l4 D9 h+ x' D' n( B5 k+ X

  1101. ' S4 Z! y+ m% T
  1102. ; Default database name for ibase_connect().; X/ C3 Q7 Z. T# @) l
  1103. ;ibase.default_db =
    - Y8 K3 F3 L# z/ E

  1104. 5 U+ S2 U: R% w" ~+ S5 k) i- G
  1105. ; Default username for ibase_connect().
    ; f1 b1 C% B8 \# |9 q
  1106. ;ibase.default_user =  ?3 P  a, [! ~+ B* V; J, k  Q/ W

  1107. 4 {6 ~/ h) V0 ^9 _
  1108. ; Default password for ibase_connect().
    $ \4 ?# Z! ~0 p* @2 z5 ?& `1 m
  1109. ;ibase.default_password =
    2 d8 `! T2 _* ~" u* e4 ^: z/ c

  1110. / U, l/ @) l; Q5 I2 j. P
  1111. ; Default charset for ibase_connect().
    4 u4 s% M- l# K* F, A
  1112. ;ibase.default_charset =/ i* |  F/ w5 q* s/ [9 x

  1113. 5 b) U) r' Q) g$ Z/ {
  1114. ; Default timestamp format.
    * Y) ^$ n/ z9 g  E
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S", e, V" N$ \& S) g* Z
  1116. ; X2 _. J" q  w: T2 U; U
  1117. ; Default date format.. A7 _" A* i* t7 P5 D& P1 }+ O
  1118. ibase.dateformat = "%Y-%m-%d"+ d1 T/ `& w  R( f

  1119. 6 ?7 G4 V0 j# `
  1120. ; Default time format.
    * Q5 \6 m- f1 y5 Z) W( i3 h9 N" Q
  1121. ibase.timeformat = "%H:%M:%S"
    8 K+ P  v0 d3 h
  1122. 0 `; y3 x4 O* |3 i. W% G, m0 \
  1123. [MySQLi]7 L% b) \. [, u( Z. ?( e
  1124. 4 f6 M# I2 Q5 r# g
  1125. ; Maximum number of persistent links.  -1 means no limit.3 A% ~9 @: }7 K0 j
  1126. ; http://php.net/mysqli.max-persistent5 y( J& u) ~' t  m/ u9 i
  1127. mysqli.max_persistent = -13 U; L8 N9 }% v  A/ K
  1128. & ], D* S4 ~; T& @
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    * n/ n- o1 s# H: k( J
  1130. ; http://php.net/mysqli.allow_local_infile, y+ d5 O7 n1 d' @. F+ h/ A
  1131. ;mysqli.allow_local_infile = On
    ) e7 R! O$ l+ L3 O7 \
  1132. ) q* w- }/ z; o* o
  1133. ; Allow or prevent persistent links.2 n5 ?8 \2 g, e7 N/ l( v
  1134. ; http://php.net/mysqli.allow-persistent
    4 m3 \; G7 i, P; m( K" Y8 f2 H$ Y
  1135. mysqli.allow_persistent = On
    . b4 F6 w" F& D% V# k. j

  1136. % [) x, R9 @8 z, V( M$ C
  1137. ; Maximum number of links.  -1 means no limit.
    $ l* i! [+ e" p8 ], B/ N
  1138. ; http://php.net/mysqli.max-links# C5 q' R8 ]7 {& g! F
  1139. mysqli.max_links = -1
    3 w  Q7 L# b; F: o
  1140. , L. z2 Y6 {/ T
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache- C8 ^/ `; Z+ h# R! q( Q
  1142. ; http://php.net/mysqli.cache_size
    7 P1 y5 w8 P( ~8 j
  1143. mysqli.cache_size = 2000. U, N: q+ h. e" Q
  1144. ; M5 I& v: Z' E" U& @
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use3 U! B$ E; a6 f
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    6 R3 z' U3 c. [  o, \% l
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look  f# m) r9 K; P7 e- x0 O
  1148. ; at MYSQL_PORT.
    - U5 @9 [' Y5 x1 `
  1149. ; http://php.net/mysqli.default-port8 ~9 P% E& A  ^# y
  1150. mysqli.default_port = 3306' v' n: r- T  M$ a
  1151. 3 ~2 A" b: h! f- X- k
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in- M2 T. X" U) d, y
  1153. ; MySQL defaults.
    : G2 p4 N( z7 [: M( d8 X6 P' Q
  1154. ; http://php.net/mysqli.default-socket* p& v/ [8 G" p; I5 t
  1155. mysqli.default_socket =
    % {6 z1 t+ G9 ~

  1156. : N7 A3 a* h8 o& E, m
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    9 Y0 Z# |, \) H3 o  S
  1158. ; http://php.net/mysqli.default-host
    - i+ W' m7 v, Q
  1159. mysqli.default_host =: [& a- `# f0 S

  1160. 8 O: s& l9 D% J' v  h6 _* l- @+ H
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).5 L' d2 e4 V( F. F# r: i: A
  1162. ; http://php.net/mysqli.default-user
    3 P$ u- \& [* O' {
  1163. mysqli.default_user =
    $ j; Y# p& B0 a* Z! ~! _

  1164.   L5 s& \. Q3 o0 L
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).8 `* F& c$ Q/ V% J2 p, V: a! N# U
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    9 w% y" {: e* g$ [% s
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    % C& [4 w0 l8 \! B3 s" O
  1168. ; and reveal this password!  And of course, any users with read access to this, s% P8 Z% ?" j
  1169. ; file will be able to reveal the password as well.
    7 n, i' @) T) m: ^( T0 }; O- T+ ^& Y. F
  1170. ; http://php.net/mysqli.default-pw
    0 y2 x, r; Y+ Z0 L" o1 i+ Z! K
  1171. mysqli.default_pw =! I0 H5 f- ~# l' A% g+ V1 Q! O9 a

  1172. ; C  W% q7 z4 p8 L  K2 ^
  1173. ; Allow or prevent reconnect" D5 x9 I, |2 G0 W. n7 p% R3 H
  1174. mysqli.reconnect = Off9 ]0 B; {) B% j, }' y
  1175. % x. `. b4 X" e7 |
  1176. [mysqlnd]
    ) O1 [; P6 y& G3 A1 x
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    . o$ T6 K0 l4 y  |# J
  1178. ; used to tune and monitor MySQL operations.9 W! L2 s! T5 V# {) O9 i
  1179. ; http://php.net/mysqlnd.collect_statistics8 h5 S6 g  H! k$ b. J9 G- _
  1180. mysqlnd.collect_statistics = On8 v' x5 U% Z! i6 V) B1 q5 I9 Z5 ?

  1181. ! [; p. F/ L; r! t; J: b! j
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    5 x5 M5 g- w; E9 g2 D6 i) q( ~& V3 U
  1183. ; used to tune and monitor MySQL operations.
    - k6 _' a6 W! a" L; X% Z- u# I" u
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    7 N8 g# h$ R: X4 t$ @
  1185. mysqlnd.collect_memory_statistics = Off7 h6 s- h& ^6 R" q  ]

  1186. ! L. V0 ~- U3 ]' I# K) p
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    % ?5 Y$ B8 R7 X& ?' E& L
  1188. ; file.
      A( H! H; h, K5 b1 |3 _/ ]
  1189. ; http://php.net/mysqlnd.debug4 q' B0 b' x$ N" O% h) b  p+ @* V* E6 Z
  1190. ;mysqlnd.debug =* K: z/ A' K8 R

  1191. ' f1 [% J( T9 N- \; P
  1192. ; Defines which queries will be logged.
    3 K3 \3 M+ n$ r) `' W1 C
  1193. ; http://php.net/mysqlnd.log_mask
    ! v; k- m3 s+ ~' C1 x4 t. }% D7 i( z
  1194. ;mysqlnd.log_mask = 0
    * e2 B6 N8 z$ F3 a

  1195. ) Y( N+ @0 W+ c8 |2 D
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    3 _5 q* R; m- Q; f
  1197. ; http://php.net/mysqlnd.mempool_default_size1 N; r) x: i6 ?1 b; B$ d: H
  1198. ;mysqlnd.mempool_default_size = 160006 ?2 {  \' D& X6 n; I' B4 x- J) |
  1199. 2 t& v1 e3 @( b: x$ l* O8 n, F
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ' ~1 l" J- q& G8 k: q: I! n- R
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    & D' H6 j4 K" ~% c- q, n7 N8 M$ c
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    ! M- H& t+ G, G* J
  1203. 8 s+ n2 h! ?7 [0 X5 ]4 Q! ^
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in8 K) N! K+ }% q5 f& Q3 f3 X
  1205. ; bytes.
    * G" N  o3 s" n8 B2 z9 Z
  1206. ; http://php.net/mysqlnd.net_read_buffer_size0 v3 f4 {5 E6 c7 [- M  _$ f
  1207. ;mysqlnd.net_read_buffer_size = 32768
    2 c$ J8 A- v' y5 C% V

  1208. # b0 k. Y6 _: `/ ^* T% H
  1209. ; Timeout for network requests in seconds.
    " T' f! Q. P0 p, K! z( {( [4 }$ `
  1210. ; http://php.net/mysqlnd.net_read_timeout! R9 h3 J% _" v5 j& E' e. }
  1211. ;mysqlnd.net_read_timeout = 31536000
    + P& E, I7 E3 M# w, e2 L' @8 b
  1212. : M8 u* \9 _# s8 C  x1 V
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA  z9 P0 u* L" O, S, R' B
  1214. ; key.
    ! M4 N$ C6 |" N" y# z+ W$ Y/ o
  1215. ; http://php.net/mysqlnd.sha256_server_public_key! o# C. f) E9 D6 L" \4 I
  1216. ;mysqlnd.sha256_server_public_key =
    - A  m7 W. t5 N# o) j7 ?' l
  1217. : I3 {* _/ C) q$ w  l
  1218. [OCI8]
    / _! p  W9 Q/ N9 h! _

  1219. ( t" A6 Z- \; y7 i# [
  1220. ; Connection: Enables privileged connections using external( i$ r6 H7 y7 M4 J$ M' a/ P+ }
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)1 d) h6 u( ~# r" J% |
  1222. ; http://php.net/oci8.privileged-connect
    8 C2 q* F6 x, O! d6 A
  1223. ;oci8.privileged_connect = Off
    / x/ K; X3 e+ l* r; Z. w

  1224. & L( I' }- a" Z! ?) B: [0 s/ X% m
  1225. ; Connection: The maximum number of persistent OCI8 connections per8 W* Z% Z' X4 A1 e; _5 z3 h) [8 e
  1226. ; process. Using -1 means no limit.
    " ^! W  r" _$ M; h# G
  1227. ; http://php.net/oci8.max-persistent
    3 l, y" ~9 c! m8 E9 o, T
  1228. ;oci8.max_persistent = -1
    . N% w& W* o. B
  1229. ) p& t$ v& s8 j
  1230. ; Connection: The maximum number of seconds a process is allowed to
    / i, ^$ c* P1 D, X4 t5 T
  1231. ; maintain an idle persistent connection. Using -1 means idle
    # N4 p9 _9 p3 l$ \& M; f9 P8 |
  1232. ; persistent connections will be maintained forever.
    % g9 O% v/ r8 [
  1233. ; http://php.net/oci8.persistent-timeout0 W: e% u0 h1 t# Z
  1234. ;oci8.persistent_timeout = -1
    5 ~7 u, m: S9 a0 ~5 W: A. N9 g  t; m

  1235. 2 F+ M4 d% b0 p% ^; l, h; c
  1236. ; Connection: The number of seconds that must pass before issuing a$ w1 O9 g6 T  `0 N+ g
  1237. ; ping during oci_pconnect() to check the connection validity. When
    5 h" _& m* Q9 C+ Q3 @- H0 {
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
      x1 A: G3 {+ d- }1 ]. G
  1239. ; pings completely.0 V* x/ D1 g# R- Z: ~1 Q
  1240. ; http://php.net/oci8.ping-interval, r  L1 `1 x* G6 E' N: O
  1241. ;oci8.ping_interval = 60( ~" i9 x* f) [" ~1 S: h

  1242. 2 Z8 L# I& D( P
  1243. ; Connection: Set this to a user chosen connection class to be used
    % Q: ]1 Q/ f7 j( q; V- |
  1244. ; for all pooled server requests with Oracle 11g Database Resident# C$ x, @3 e( y* }) b8 k% U$ Y# d! c4 ^
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to: ~5 W' B5 d' I" x# C. }0 R
  1246. ; the same string for all web servers running the same application,% m0 \# ]1 j, B) X; r7 z6 u
  1247. ; the database pool must be configured, and the connection string must
    6 K# C) m0 \* r* L
  1248. ; specify to use a pooled server.8 s5 Y) N. v& \
  1249. ;oci8.connection_class =2 E' B" ?' H' d1 g

  1250. % A* l6 R6 o% B2 G, R' G& K- F
  1251. ; High Availability: Using On lets PHP receive Fast Application. s% @$ _* F& \+ l3 V6 h
  1252. ; Notification (FAN) events generated when a database node fails. The
    ' N; o9 z' N" T: J  F7 Q9 u
  1253. ; database must also be configured to post FAN events.
    / i4 M' B+ ?: k: C* Q. {  \" H0 ~
  1254. ;oci8.events = Off$ ^1 q/ m2 k3 X9 |" B: [
  1255. 1 Q0 y- w1 J& k- B. ]7 i, u
  1256. ; Tuning: This option enables statement caching, and specifies how
    ( U) w2 g. D& c: V8 E3 d
  1257. ; many statements to cache. Using 0 disables statement caching.* [8 j* L; P4 I
  1258. ; http://php.net/oci8.statement-cache-size! ^% i) g. ^1 a! Y5 H- t
  1259. ;oci8.statement_cache_size = 20  F4 I% V- _) K8 w4 C" R. U
  1260. , a9 g) R- t* X3 O
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    ; e% l! t: ?. A1 a  }3 J
  1262. ; rows that will be fetched automatically after statement execution." D" B; {+ F5 D8 \* W5 f3 Y( d& k
  1263. ; http://php.net/oci8.default-prefetch1 Z# ]* g  l4 i) j* `, Z
  1264. ;oci8.default_prefetch = 100
    " E) r- @3 a, ~/ w6 w3 I/ [0 U# q

  1265. 2 i4 A, O. b5 i3 |; V  {: ^! N8 u
  1266. ; Compatibility. Using On means oci_close() will not close
    / y7 z/ t1 ~: _/ D6 k+ m
  1267. ; oci_connect() and oci_new_connect() connections.
    3 Q, w1 `) @1 L3 Q( n3 j( D
  1268. ; http://php.net/oci8.old-oci-close-semantics* K$ Z# N; q& O1 r
  1269. ;oci8.old_oci_close_semantics = Off1 \+ `7 h  [4 ?9 V$ H

  1270. 7 p: \2 o7 O5 e4 L* a; D
  1271. [PostgreSQL]2 C9 m9 N: S+ K6 v( w" \
  1272. ; Allow or prevent persistent links.# p/ ]- P  x! U7 C$ C
  1273. ; http://php.net/pgsql.allow-persistent) M2 C/ d+ n; f6 m$ b6 y
  1274. pgsql.allow_persistent = On, C" W  ?2 v; k" j# S/ F4 r+ Z

  1275. 1 s1 G* E* F3 Y3 t5 q; s
  1276. ; Detect broken persistent links always with pg_pconnect().
    ( m2 b% h, y+ [5 Q- K8 E
  1277. ; Auto reset feature requires a little overheads.7 Q# l; `2 q; }" \0 b9 V. D0 u8 x
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ' |% D+ g+ ~: j3 x3 f
  1279. pgsql.auto_reset_persistent = Off
    - q; U: ^# M5 P5 U, Y& P
  1280. & G' m) Y" O0 i6 X, U
  1281. ; Maximum number of persistent links.  -1 means no limit.
    3 _) A0 h4 y) u/ N1 s
  1282. ; http://php.net/pgsql.max-persistent6 H4 Q- ^7 m; X9 S3 K
  1283. pgsql.max_persistent = -1- r% F1 g! I6 q6 w
  1284. 5 T& W* W- m1 b
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ) A) J' P1 m8 V0 K' c7 f, V" n+ Z
  1286. ; http://php.net/pgsql.max-links8 q: V. _0 O- E( B2 ]$ u
  1287. pgsql.max_links = -1
    6 ?3 L( H% k# [5 w) }
  1288. - J/ W( C! w0 K8 d
  1289. ; Ignore PostgreSQL backends Notice message or not.
    " g" Z2 B' S$ j! i( X/ I. N
  1290. ; Notice message logging require a little overheads.
    % y$ T/ g% v3 l3 R
  1291. ; http://php.net/pgsql.ignore-notice! C- q$ e; a* p4 E7 \- k/ t- x
  1292. pgsql.ignore_notice = 01 N5 b1 \) m4 _8 G; F

  1293. 2 P2 C! w- R% W+ ^: M( e( H) j2 C
  1294. ; Log PostgreSQL backends Notice message or not.
    0 \2 `- a& m0 g( F/ D% v( U# |
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    + @6 Y. E6 z! ?+ V) A; F/ e
  1296. ; http://php.net/pgsql.log-notice2 h4 `$ r# j- H1 [8 h4 E5 B
  1297. pgsql.log_notice = 0: ^' S* S9 k9 B+ g

  1298. 9 @9 e& q, _# @' M4 P0 s
  1299. [bcmath]
    ! ]$ ~/ H9 z6 s8 X
  1300. ; Number of decimal digits for all bcmath functions.
    ) x2 Q# e" q, ]- u7 o/ @! |
  1301. ; http://php.net/bcmath.scale' w+ E$ a6 l( d/ Z2 n
  1302. bcmath.scale = 0) Q+ ~) G+ L. p& i% }3 S
  1303. 4 Z& ~4 N1 E& p6 o" h
  1304. [browscap]3 f: O" d  `9 e* }& u8 ?5 Z6 N0 E
  1305. ; http://php.net/browscap% q, h2 [' q5 N6 u
  1306. ;browscap = extra/browscap.ini9 V; Y& I  D! P( ?
  1307. ' \4 a. H) [8 }/ e8 o
  1308. [Session]3 @2 z, n! [/ s* n/ c
  1309. ; Handler used to store/retrieve data.
    + o% k! y% _, v% ]+ L  S+ d
  1310. ; http://php.net/session.save-handler
    ; b, H$ j# q( \( ?9 f: G
  1311. session.save_handler = files
    / w! M* v4 Z$ E# ~: e% j

  1312. 4 h% r5 l, D# N  e' a: w9 p
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    9 ]& n0 d2 r: z  V7 U
  1314. ; where data files are stored. Note: Windows users have to change this4 N7 i$ H4 W' Z1 F* a# T
  1315. ; variable in order to use PHP's session functions.
    , T& ~5 Q$ ?/ w. \8 e6 d& U1 x+ K
  1316. ;
    # g+ ^+ _3 o. C7 `
  1317. ; The path can be defined as:
    # n4 W2 z( D+ D& w3 ^% X: K9 M
  1318. ;2 T) h( a. f8 F4 U' R% P
  1319. ;     session.save_path = "N;/path"% Q. U) |+ _/ f/ u5 L1 u
  1320. ;
    , p- l5 A8 K0 R- M
  1321. ; where N is an integer.  Instead of storing all the session files in; a/ s' i( Z& r, x* l
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    1 g. ]# F9 \. I' V* O( ^# L
  1323. ; store the session data in those directories.  This is useful if! L8 I8 a* s" Z' d4 b
  1324. ; your OS has problems with many files in one directory, and is
    - |( \; L4 U, @+ U5 j
  1325. ; a more efficient layout for servers that handle many sessions.
    5 P( v2 C! H. R' E7 d: P, U; q' h+ i
  1326. ;7 q; g* D% S# A( h# D
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    . B5 U" t! m; e6 G4 l6 @$ t
  1328. ;         You can use the script in the ext/session dir for that purpose.4 l; K2 S2 F3 l9 i4 G/ E
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    5 H4 ?3 G7 y( L9 s: C7 X" N  A
  1330. ;         use subdirectories for session storage
    6 Z/ k$ }. ?& G" p! K
  1331. ;
    / c4 C+ r% g0 F0 a; s0 k' `
  1332. ; The file storage module creates files using mode 600 by default.6 w# v5 S( ]5 R! l+ S1 J
  1333. ; You can change that by using
    7 ^9 x3 @' k% ]
  1334. ;1 a0 A3 Q; U$ q, `5 {
  1335. ;     session.save_path = "N;MODE;/path"
    % m, p5 k/ c& Q8 u3 ~/ V/ G0 v9 A
  1336. ;
    * J# h9 M0 w9 w$ p2 v) F. ]
  1337. ; where MODE is the octal representation of the mode. Note that this  u1 O5 R! W  T  W/ I: @
  1338. ; does not overwrite the process's umask.6 d, D. A( a9 q7 Z+ U
  1339. ; http://php.net/session.save-path
    0 f) D/ n, U/ T% o$ e
  1340. ;session.save_path = "/tmp"
    ( v2 {+ p% F  \

  1341. 7 ]4 q# D; B$ b/ ]8 V3 O0 ]8 a
  1342. ; Whether to use strict session mode.. y- D8 \% m: |: R5 U
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    % t9 R( ?4 I' |7 L* G. h
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    " Q- I" f! [3 t. M' A7 g
  1345. ; applications from session fixation via session adoption vulnerability. It is
    $ t0 H# H. x9 {
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    1 j+ Y( K1 d- {8 A' r
  1347. ; https://wiki.php.net/rfc/strict_sessions6 T9 v2 g4 B" K- z# Y5 m; h
  1348. session.use_strict_mode = 0  q( r5 V# V' n7 L3 u

  1349. 3 |4 [' n$ l, U. z% @) I; v% S, D
  1350. ; Whether to use cookies.1 O$ J! D2 b) Q$ D
  1351. ; http://php.net/session.use-cookies! q# s, a) ^& G+ E7 `
  1352. session.use_cookies = 1
    1 ?7 C3 K: s7 Z
  1353. " S6 w0 ^2 i$ W0 A8 S; r
  1354. ; http://php.net/session.cookie-secure0 P- f9 k: j. }7 s/ `
  1355. ;session.cookie_secure =- [# z" T+ N& ?5 k1 K$ i
  1356. + {: J( C" E, N# ]$ q
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining2 R5 K: [8 t$ h3 y' k0 ^
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    " _) ~  G" J/ D
  1359. ; session hijacking when not specifying and managing your own session id. It is% n* |0 j, X6 F' g
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.  `- r7 {- o9 A. U* D$ u0 ^3 m' |5 J
  1361. ; http://php.net/session.use-only-cookies4 ~# \" \) e1 Q8 v% \
  1362. session.use_only_cookies = 1- ?9 d* ~: n7 z" v5 E

  1363. , Y, h/ Q' w: D, ?$ q! C* O9 L! R
  1364. ; Name of the session (used as cookie name).' _" b3 f+ {* ]9 B
  1365. ; http://php.net/session.name) w/ @) k' Q! c  v9 U: j
  1366. session.name = PHPSESSID
    . U4 u1 P# M; k% r# c* H! g
  1367. 8 Z/ x4 }# w0 o  K
  1368. ; Initialize session on request startup.
    $ q) b$ M1 R5 e' O% P
  1369. ; http://php.net/session.auto-start9 c! @! K; e1 r4 [
  1370. session.auto_start = 0
    / |/ g; @% f. d4 |
  1371. 6 f' W. x8 v+ W* @; K' m! {' f  [
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    / e( Z7 j& \  R% I
  1373. ; http://php.net/session.cookie-lifetime
    . R. e/ G7 f) O/ a' ]0 B. t
  1374. session.cookie_lifetime = 0! a% j! a3 W% {- X$ _

  1375. ) R3 F- ?8 X  O% |$ f0 I
  1376. ; The path for which the cookie is valid.
      q) q+ a2 I, R' F+ e6 ~; n
  1377. ; http://php.net/session.cookie-path7 h# g8 U& ]7 L
  1378. session.cookie_path = /
    - j" o4 I, ^' ?" E& s# C0 w9 |0 f: ~
  1379. : c/ C8 W* r# X4 Z
  1380. ; The domain for which the cookie is valid.: e3 C) j! E+ L) G3 @' }
  1381. ; http://php.net/session.cookie-domain# Y5 X: x  {2 E' ?  L8 \; ?: @& x
  1382. session.cookie_domain =' H. I4 ?2 v' e4 h6 A
  1383. 5 l# i2 ]% T/ E/ |8 i, o7 V7 {# W& S
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    4 Y6 n5 g- D& W% U4 r
  1385. ; http://php.net/session.cookie-httponly% K( [* c) b5 U9 L3 N
  1386. session.cookie_httponly =
    . Z! R; ~8 M6 w1 P; N1 w& j
  1387. / H& @7 y) p3 }4 @4 f+ q) S
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.' A! e/ E9 p6 g) ~
  1389. ; http://php.net/session.serialize-handler
    - T; B+ _, m3 d
  1390. session.serialize_handler = php
    * T1 h# {0 [, l" k
  1391. 6 w) V& X! D, B6 W  \: j, W. F
  1392. ; Defines the probability that the 'garbage collection' process is started) h7 V- S& J( w
  1393. ; on every session initialization. The probability is calculated by using& s/ ?  c* w" F
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    # {' M* m3 Q" y3 |( e
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 12 j. N/ ?" n. X; q0 A
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance  }& G( ^! p* P' u8 o7 J8 b- K3 O
  1397. ; the gc will run on any give request.
    5 d1 r  i9 p& y% K, C' r' g8 c  U
  1398. ; Default Value: 1- @2 `6 I# S8 f4 q* ]% s2 p
  1399. ; Development Value: 1
    / r0 K3 ^" N/ Z  ?
  1400. ; Production Value: 1# Z( ~+ V( Y6 M- E/ a+ l0 }
  1401. ; http://php.net/session.gc-probability" g; H. C% G: Y' I7 x! i
  1402. session.gc_probability = 12 i. z" C, Q/ P* S$ W
  1403. % T, h- `4 z& @  G. A( M5 C
  1404. ; Defines the probability that the 'garbage collection' process is started on every
      b  b* U. `0 s
  1405. ; session initialization. The probability is calculated by using the following equation:
    ; v7 e% T' }4 W3 q+ H3 s2 H% c) I$ o
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and" T8 K5 a4 j; ?+ r9 M
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    " w. P( W( A8 A
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance5 r4 r, ?& b4 R' t8 g4 Q
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    7 z$ e2 Y; J( m6 o1 @9 s. I8 t: ^
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    $ ^0 }* \7 j4 \' K' N$ [  a
  1411. ; this is a more efficient approach.
    ' p% Q/ V' E% l  y7 R( A$ x& r
  1412. ; Default Value: 100
    % M  A7 w* V* l8 ^5 A( ]
  1413. ; Development Value: 1000
    $ N! i  R4 r$ i. M  R% Y: K
  1414. ; Production Value: 10009 u& a6 L  o/ A# q* J8 ^9 l
  1415. ; http://php.net/session.gc-divisor: @9 B8 A/ d2 l4 u1 v
  1416. session.gc_divisor = 1000
    . |6 Y  z# E7 s/ `9 I5 \

  1417. $ [5 w; P0 C5 {- _0 Z  x5 h* c/ z
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and$ g" \7 ^) v- D( d0 L% k' H
  1419. ; cleaned up by the garbage collection process.2 I) c" _! A3 }  @( f# k
  1420. ; http://php.net/session.gc-maxlifetime1 t- A+ p# ]0 x) k
  1421. session.gc_maxlifetime = 1440/ D; ~  R; u7 _+ {* j
  1422. 2 W2 e+ B& d# F& b! g
  1423. ; NOTE: If you are using the subdirectory option for storing session files  [1 S8 [4 p+ J7 P' {: j
  1424. ;       (see session.save_path above), then garbage collection does *not*
    7 P/ {9 B- T* c* S7 Z( q8 I
  1425. ;       happen automatically.  You will need to do your own garbage$ r8 |; W; L; A, L" S( i/ s
  1426. ;       collection through a shell script, cron entry, or some other method.1 i' e  }% W. t- y/ J$ `
  1427. ;       For example, the following script would is the equivalent of
    ; Y4 Q8 s$ Z7 R1 j5 r3 ^4 t
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ! \7 I! P1 j+ ~& f; B6 c- H
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm" m8 i$ P3 p; \8 P
  1430. 6 n: R$ \+ a/ t- [% N' P
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.+ k6 a# J% N8 @" i6 |- e/ S
  1432. ; HTTP_REFERER has to contain this substring for the session to be+ Z; s/ J0 N8 s
  1433. ; considered as valid.6 d& x, H" \9 S  z
  1434. ; http://php.net/session.referer-check
    8 N( n3 W# p7 j4 `% X* S
  1435. session.referer_check =
    3 r& x: S' k- m/ F
  1436. 0 j8 C# N0 V% H
  1437. ; How many bytes to read from the file.
    0 `! s# i$ V5 U, ~  W/ l# G
  1438. ; http://php.net/session.entropy-length
    7 x0 V& T+ ^2 Z8 \% V' @2 {' p
  1439. ;session.entropy_length = 32
    3 c3 f  A* C. w( B  u: o
  1440. $ c. U) m- D' Z8 T6 }) `4 m; ^' r, X* k
  1441. ; Specified here to create the session id.! E* j* q6 g, _$ q
  1442. ; http://php.net/session.entropy-file  N; V& [! N4 ]- S1 X2 g5 b* k; w
  1443. ; Defaults to /dev/urandom4 O; I. V' b9 M# n
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom$ N1 Y* \, n" u5 w
  1445. ; If neither are found at compile time, the default is no entropy file.: a& |, J+ N+ ^+ R$ p, v+ S
  1446. ; On windows, setting the entropy_length setting will activate the
    4 D, {; b* X6 W& i9 D
  1447. ; Windows random source (using the CryptoAPI)
    % H8 e8 D5 ^$ p
  1448. ;session.entropy_file = /dev/urandom
    0 ^; H, R! ~4 N, u
  1449. & r% u3 Q2 J$ P
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects5 G) e* y  i6 \6 r# q$ X! f$ F
  1451. ; or leave this empty to avoid sending anti-caching headers.% A9 t" z" [& e# D, ~1 [4 V
  1452. ; http://php.net/session.cache-limiter
    " T# u. W. @6 d6 d" y
  1453. session.cache_limiter = nocache
    # c0 v4 \1 X4 u9 O9 N

  1454. 8 g) ~$ v% S1 E! C
  1455. ; Document expires after n minutes.* z6 P+ @2 a, m; [/ L8 G6 l
  1456. ; http://php.net/session.cache-expire7 w3 Y  Y4 L; w$ s. @. }  t
  1457. session.cache_expire = 180
    8 h9 u8 \! D# y" F" l& h+ O
  1458. 1 {. s) N1 Y, r# {% k
  1459. ; trans sid support is disabled by default.
    * l8 c6 X' }# c6 a$ c3 r
  1460. ; Use of trans sid may risk your users' security.! B  u8 i; \- P' W3 g- m
  1461. ; Use this option with caution.
    3 W( ]7 j  R: V' O0 `, O, c/ q
  1462. ; - User may send URL contains active session ID
    1 \7 y9 \- K3 W0 f: ~; }
  1463. ;   to other person via. email/irc/etc.
    7 ^% k2 G  ~9 i9 }7 C# u
  1464. ; - URL that contains active session ID may be stored
    ; J  k- {, P6 H! B+ l
  1465. ;   in publicly accessible computer.9 [  ^1 _* Q4 }
  1466. ; - User may access your site with the same session ID" Y* C# M" c% K" f& B- ^
  1467. ;   always using URL stored in browser's history or bookmarks.  J6 N' w8 W2 `; K5 j
  1468. ; http://php.net/session.use-trans-sid
    ) f) X0 E4 [. f0 z# H
  1469. session.use_trans_sid = 05 r# Z# s: S' ~

  1470. 6 N& h$ t+ l. u2 F& Q. T4 A7 K5 r
  1471. ; Select a hash function for use in generating session ids.$ O! m8 z, Q; K9 S
  1472. ; Possible Values& k# S/ F% V5 f$ z7 N9 {
  1473. ;   0  (MD5 128 bits)  t# Y  {$ o( n- F; V# [
  1474. ;   1  (SHA-1 160 bits)
    # c  ~8 Q. g( Z2 T2 n. c2 e
  1475. ; This option may also be set to the name of any hash function supported by
    ! b1 I9 `( e& J. l! D; `$ r% M
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()6 p$ |# d4 e3 A4 c* h! f
  1477. ; function.! z1 F$ |7 r6 ~: f
  1478. ; http://php.net/session.hash-function1 X4 B& y/ Z4 \1 w: e
  1479. session.hash_function = 0  }0 t! a! e( U* o" h) |% L
  1480. 3 Z- ]' ^( N3 W2 _  h! [) }1 @: }
  1481. ; Define how many bits are stored in each character when converting
      b; e, M. u6 P) s
  1482. ; the binary hash data to something readable.) q8 h0 P0 }* t9 ^- g4 I  b/ g
  1483. ; Possible values:3 f8 f- c# B4 V, U5 h6 T
  1484. ;   4  (4 bits: 0-9, a-f)3 N  r' f; ^. r8 _) f/ T- U6 T
  1485. ;   5  (5 bits: 0-9, a-v)0 ?0 \# I( O8 @5 n9 l
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")5 Q# L$ M6 D/ n9 h2 s
  1487. ; Default Value: 42 G1 b! c' s$ X/ O$ k3 T; {% @
  1488. ; Development Value: 57 x0 C" n9 I2 \0 f/ z
  1489. ; Production Value: 5  Z  W, y7 ?7 j( G' n4 r' T
  1490. ; http://php.net/session.hash-bits-per-character
    5 Z9 y1 e; S9 t! q8 z# ^+ u) b  {
  1491. session.hash_bits_per_character = 5
    6 D+ ~; Q2 P, |3 a; @! ]! O1 y

  1492. 8 @5 v6 {8 U/ P/ n5 S
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.$ e% P8 ?% Y4 f8 O9 i. \
  1494. ; form/fieldset are special; if you include them here, the rewriter will. t; D0 ?1 c; E( {9 P
  1495. ; add a hidden <input> field with the info which is otherwise appended
    ) E, O4 Q: L9 G* C& V9 s$ C& N
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    8 j7 w: c9 y- z* |' h
  1497. ; Note that all valid entries require a "=", even if no value follows.! F, y# I, H  v
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    4 F, W1 g* Y/ u. P
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * E) F: f( X) W" N- h0 T1 D& @
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & s/ Y- u, o0 N0 ~3 n
  1501. ; http://php.net/url-rewriter.tags% O- p# H) @# U5 @1 I
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' }0 x+ h- B% u; I
  1503. 9 A% v$ x3 f2 t6 w" w7 W3 z
  1504. ; Enable upload progress tracking in $_SESSION
    $ J9 p* i) I3 W& D$ e
  1505. ; Default Value: On; W- I* Y! i" F, i+ d
  1506. ; Development Value: On9 C6 ^' T1 X+ O5 i$ ?  P6 V
  1507. ; Production Value: On5 {3 f% n; K# m( G
  1508. ; http://php.net/session.upload-progress.enabled
    6 c' i3 E: M" M0 m9 P4 l: r5 {
  1509. ;session.upload_progress.enabled = On1 A+ n/ n" ?1 w# f, Q
  1510. 1 l. h4 y8 [9 E+ p# a) M/ }
  1511. ; Cleanup the progress information as soon as all POST data has been read
    2 J9 A- w, @! U1 g( O# D
  1512. ; (i.e. upload completed).* ~. c  E: v4 d6 \1 x, k/ i$ \
  1513. ; Default Value: On
    ' h0 P8 R1 x* J  Z8 g# H
  1514. ; Development Value: On
    1 }; S5 W) a4 R
  1515. ; Production Value: On
    ( J5 l1 K( p0 q: D* ^. ?
  1516. ; http://php.net/session.upload-progress.cleanup
    9 z! z- F, z5 T' o2 f7 P7 [4 y6 ^1 T
  1517. ;session.upload_progress.cleanup = On
    ' T# |8 H7 o9 q; s" i

  1518. 2 |' _+ y1 v* f) A4 f8 x
  1519. ; A prefix used for the upload progress key in $_SESSION! T5 x. U% W$ V" h7 f- t
  1520. ; Default Value: "upload_progress_"9 j1 |5 l0 V; f
  1521. ; Development Value: "upload_progress_"
    + `" `0 {1 W& h
  1522. ; Production Value: "upload_progress_"
    4 D' F* Q! s- G" m& n
  1523. ; http://php.net/session.upload-progress.prefix/ i* e/ X* w. v7 z6 Q, H) ]
  1524. ;session.upload_progress.prefix = "upload_progress_"
    7 w) }2 ?) I* l) i9 I9 r/ m
  1525. 5 i& D% C& u& ?5 ~+ D2 V: d
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    3 v0 b3 b3 J$ n; o
  1527. ; containing the upload progress information7 a2 x! N: {. I, E/ `
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"4 G4 h+ C2 Z. m9 x9 B" J2 r: U
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS", }0 i6 H- \. F
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"% m2 D* T8 k" j+ u2 R
  1531. ; http://php.net/session.upload-progress.name' {2 w* ]; t, \# b% O/ K4 x
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    6 ?4 t# V$ O: M8 {- _3 p9 F- B: g

  1533. ! o  j4 i8 Y7 i% W' }
  1534. ; How frequently the upload progress should be updated.! U* d; w! C* C' D6 }( q2 b$ w
  1535. ; Given either in percentages (per-file), or in bytes
    3 i0 w* m$ x0 a" Z
  1536. ; Default Value: "1%"
    . d, k1 [0 H9 n2 C0 ]* V
  1537. ; Development Value: "1%"
    5 b0 B( O9 ^; B5 }3 l
  1538. ; Production Value: "1%"
    . n/ I0 _5 X1 F) `5 y% v% [6 A4 r5 C
  1539. ; http://php.net/session.upload-progress.freq
    & S, R1 Q% S8 `' l" I. c
  1540. ;session.upload_progress.freq =  "1%"
    ' I$ o: W2 I1 d0 N! j
  1541. ! G# M8 N+ f& h/ E& b0 u
  1542. ; The minimum delay between updates, in seconds
      U3 h' e, p, [  }0 I" f2 n  U2 D
  1543. ; Default Value: 18 w! T3 Z+ F  a% c$ ]( c
  1544. ; Development Value: 1" h4 W% y" q" k$ m- T
  1545. ; Production Value: 1
    2 j6 R: V8 x& n
  1546. ; http://php.net/session.upload-progress.min-freq* h. S# f3 r; @6 s4 V
  1547. ;session.upload_progress.min_freq = "1"
    9 d# g) U' a7 n. B

  1548. / z% W1 K7 \# b, O
  1549. ; Only write session data when session data is changed. Enabled by default.
    9 G& f  D+ b1 C! x! y
  1550. ; http://php.net/session.lazy-write
    # d0 P+ C5 _, |5 e! V" J( X  _
  1551. ;session.lazy_write = On
    % h/ _) @$ B0 S) v( k  _) r9 m6 _
  1552. ! \! d8 Y+ c7 F1 [5 ~3 z
  1553. [Assertion]) L" P& O, t' o# R
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    3 R" m) C5 X( j3 [) k
  1555. ; -1: Do not compile at all
    6 j5 P5 `* [9 r& K+ Q3 S4 v
  1556. ;  0: Jump over assertion at run-time
    + \" e" W! A; V% X( ~) t
  1557. ;  1: Execute assertions
    5 z6 i- e7 g4 W3 b
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)" V' T) p3 F" q% b& U  m# c
  1559. ; Default Value: 16 W5 z! j$ [9 V4 m  g. _! V, m
  1560. ; Development Value: 1/ M, k! u- Y( A
  1561. ; Production Value: -1$ V* G9 W1 L9 E
  1562. ; http://php.net/zend.assertions
    . `* [7 g6 S1 |
  1563. zend.assertions = -1
    3 O) h- n. }. H: l- d# s& ?5 V( f

  1564. " F/ Y1 I2 p; T
  1565. ; Assert(expr); active by default.$ Z1 ]3 o" p2 t; }1 M3 H
  1566. ; http://php.net/assert.active( C- K1 k3 }1 U1 X7 h6 }5 H
  1567. ;assert.active = On
    6 b/ a, p% s" p

  1568. 3 M& u9 [1 A; {% F8 ~2 ?1 R: x8 a$ Z
  1569. ; Throw an AssertationException on failed assertions
    ) K# `5 R3 X% m" `# h/ V
  1570. ; http://php.net/assert.exception, Y* s4 `" ~* m
  1571. ;assert.exception = On
    + G0 I) q  y: L  }* J4 n6 {! J
  1572. ) g1 g/ D' z/ ^5 z  r& l' R
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)8 J1 H: _' @4 ~) U3 D
  1574. ; http://php.net/assert.warning' [( r: Y0 ^2 K4 U. ]( W8 _
  1575. ;assert.warning = On2 _% K: m! L9 S7 o& A
  1576. 4 d( U, f& X. p- u: I) |
  1577. ; Don't bail out by default.) K& |& L8 Y8 d* `: R4 L
  1578. ; http://php.net/assert.bail
    & T0 m; Y* y/ c# {9 k4 Q% P
  1579. ;assert.bail = Off
    3 v/ d' W+ W0 I. B9 a

  1580. ; s( F% @/ w. |$ r& w" T
  1581. ; User-function to be called if an assertion fails.. o+ M' l; `$ A4 e9 r- V
  1582. ; http://php.net/assert.callback" \5 X4 V( C' e& R# L
  1583. ;assert.callback = 0
    3 y+ f. h$ z# O% P

  1584. # D( E. m1 h+ m; n
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    4 ^% M' c& M" j* ?! ]
  1586. ; error_reporting(0) around the eval().
    6 k2 e( I  N' j3 c
  1587. ; http://php.net/assert.quiet-eval, Z" ?, R' N0 S) @4 c3 @
  1588. ;assert.quiet_eval = 0) {7 V( ~$ W! h& K4 N9 ~6 a
  1589. 7 T% n5 Q, L# f% K  x- q
  1590. [COM]- b# j/ }2 D6 C5 D
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs1 ]1 h  h# p2 b
  1592. ; http://php.net/com.typelib-file7 }4 Z  u. V$ Q& B2 V
  1593. ;com.typelib_file =
    . o. B# C4 c3 v9 g; k
  1594. ! f1 I2 `+ c7 Z
  1595. ; allow Distributed-COM calls- {+ c: E. I* J( C! g
  1596. ; http://php.net/com.allow-dcom
    / D1 _: x. A) h/ B; D
  1597. ;com.allow_dcom = true8 c) {) q$ r5 _, P5 h+ q& n  y
  1598. 9 L- X) b5 }4 n5 M* Y9 B5 B
  1599. ; autoregister constants of a components typlib on com_load()& M7 R! B6 E& }6 a4 x+ l! B
  1600. ; http://php.net/com.autoregister-typelib
    / P6 w0 i7 |8 G# Y0 F6 y1 }5 l
  1601. ;com.autoregister_typelib = true2 |# e% q% v2 n3 U5 M' n. z
  1602. 4 Z8 W+ g! _) d. N+ H
  1603. ; register constants casesensitive1 A* D# K" N. o4 s; O
  1604. ; http://php.net/com.autoregister-casesensitive
    " P( f9 H" y3 Y6 e) T2 d
  1605. ;com.autoregister_casesensitive = false0 k' M$ i! G, x6 D& N3 Y2 x, ~
  1606. 4 D+ D' t0 S7 }7 e1 Z# X% e
  1607. ; show warnings on duplicate constant registrations
    ' a5 F7 }6 |* C: }$ F; v
  1608. ; http://php.net/com.autoregister-verbose
    " J4 s0 G+ n2 }# y' K
  1609. ;com.autoregister_verbose = true/ [7 ~8 }( j# p! d6 D: X9 l0 ?
  1610. . @4 o2 U, Z6 e$ G$ z
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    $ G- \/ q  P) S6 x/ l
  1612. ; Default: system ANSI code page
    4 d# c. I1 x4 E
  1613. ;com.code_page=" f0 M% O$ K" \+ b' z

  1614. 6 J* V' i( ?7 k! D
  1615. [mbstring]" Q" X. Z) [7 t+ C* l
  1616. ; language for internal character representation.
    1 M" a  g# s4 G0 @4 \/ s5 F/ {
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    & \: a' n8 {4 j
  1618. ; http://php.net/mbstring.language! R- u/ U# P( Z) S& i
  1619. ;mbstring.language = Japanese5 [+ O9 r! z6 ^# P6 o

  1620. . R3 ?& Y5 Y7 `& }; x( @
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead." x, h) R$ D) w$ @
  1622. ; internal/script encoding.
    3 k4 z0 C1 F  d; z
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)& U+ r# @3 F+ p
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.& n/ g3 m# G1 J2 K/ d1 j
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding. e3 J8 W% M8 y5 W# U
  1626. ;mbstring.internal_encoding =/ L% u3 r5 {; w% r8 g

  1627. 5 ~4 b: d- q" D; R' X
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.4 ~: B% E& T2 |9 \' H. b5 Q5 D
  1629. ; http input encoding.7 y$ H: x" \$ p- D8 d9 F: v
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    0 W8 Z0 o, Y- W2 |9 [! Z, P
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.6 K1 L) N' q# X/ t
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input* E& Q& Q; s, q4 F, B' C
  1633. ; http://php.net/mbstring.http-input* z( I7 B2 a2 b+ e
  1634. ;mbstring.http_input =& I; o  I! x; S( h+ ~, q; w9 ]1 E

  1635. : q' s  \! d5 x6 X, g& _) ?0 Y
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ' c, I7 |5 O/ G4 b3 U9 e
  1637. ; http output encoding.
    9 {, D3 O7 P" s# z
  1638. ; mb_output_handler must be registered as output buffer to function.# L: f3 G. H" E: ]7 ]1 ?; l" \
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ! q. _, D+ z1 D  M1 C  K
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    5 ?, W$ \! O- o9 x  g  L
  1641. ; To use an output encoding conversion, mbstring's output handler must be set7 u" ~4 A7 A; {
  1642. ; otherwise output encoding conversion cannot be performed.
    * L7 P; r$ {7 A' K9 t' {: O
  1643. ; http://php.net/mbstring.http-output% e% B  L( |* o% j( x9 U" B
  1644. ;mbstring.http_output =8 s2 h9 @9 {9 V0 e% h7 F& S  j, }
  1645. 0 K* c9 u+ T3 ~; ]! t4 E3 ?6 F
  1646. ; enable automatic encoding translation according to
    0 m& {7 R; d( a) t% m
  1647. ; mbstring.internal_encoding setting. Input chars are
    + R& }: V+ `9 Z' V/ g2 r
  1648. ; converted to internal encoding by setting this to On.: `$ f, K  O! O0 b, H+ i, U$ g: s' l
  1649. ; Note: Do _not_ use automatic encoding translation for8 C6 {0 c6 g8 e
  1650. ;       portable libs/applications.
    6 J7 z" b6 l5 E
  1651. ; http://php.net/mbstring.encoding-translation9 p; h( Q; |4 N' b. E
  1652. ;mbstring.encoding_translation = Off0 ]- ?- \. U$ W* H) y' k
  1653. ! |. z4 l- }5 k8 R0 }# Y" f* [
  1654. ; automatic encoding detection order.
    4 W$ h. m4 I  G5 U" e" G7 Y
  1655. ; "auto" detect order is changed according to mbstring.language
    ; K' V0 F) C" Q* _$ i# N. R
  1656. ; http://php.net/mbstring.detect-order
    ! h8 k* l7 [6 Q
  1657. ;mbstring.detect_order = auto( G6 C/ h: T9 x5 ~, j1 P& O# t
  1658. ' _: |9 z: g4 X
  1659. ; substitute_character used when character cannot be converted  @4 M% V1 S: R: i* I( _2 y) t
  1660. ; one from another' _  m  l( k+ a/ r
  1661. ; http://php.net/mbstring.substitute-character
      K2 ~. {% S$ H+ {
  1662. ;mbstring.substitute_character = none# ^( e4 J: J3 j* i; O0 w

  1663. ) X, V" S  j$ y
  1664. ; overload(replace) single byte functions by mbstring functions.! o7 P. Y% H0 G, t' @9 ^
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    3 u- m' D( m* d8 G
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.# D  n% Q3 u1 b8 L( B
  1667. ; For example, 7 for overload everything.8 F$ z9 y# p- D+ |8 E$ B
  1668. ; 0: No overload
    " F: }4 ?* ^) x: n, m/ s( G( ?
  1669. ; 1: Overload mail() function& j+ w% g$ q% U" [  i6 j" n2 u
  1670. ; 2: Overload str*() functions1 u1 Q: H) a8 B6 [$ K4 m- L# H
  1671. ; 4: Overload ereg*() functions; m; |4 u$ {0 [) Q3 }$ L
  1672. ; http://php.net/mbstring.func-overload
    6 ^( L. d1 a# F9 S& j+ L
  1673. ;mbstring.func_overload = 0
    ; X1 R6 [* A. C. r

  1674. % r8 I* W, d* F$ A5 g/ w- z
  1675. ; enable strict encoding detection." ^: \: t- m7 C- y+ v9 S5 u+ C5 ~
  1676. ; Default: Off
    3 c! Z. K. Z- ]8 b/ Y- r, \
  1677. ;mbstring.strict_detection = On
    : ~- i" A$ K1 X3 r  V, ]- d' |  t
  1678. . E+ f- s, y3 j" C% h  G7 K
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()% W9 n" i% ]' l, S7 l% C9 J& J8 v
  1680. ; is activated.4 K7 e9 `, Z1 ^. \' L
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    3 Y2 {" [) ^  t- ]; Q5 `7 G  `
  1682. ;mbstring.http_output_conv_mimetype=! i; D" M5 u! t$ b4 x
  1683. / [# |. ~: E2 N+ V  O! a
  1684. [gd]7 l( R: l2 g5 A( K
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    ) N% z! a/ p. \) d# C
  1686. ; a gd image. The warning will then be displayed as notices7 G( e9 S: P( L: {4 b. S* O* q1 F8 T
  1687. ; disabled by default) ^6 o" A1 q$ u( u8 L
  1688. ; http://php.net/gd.jpeg-ignore-warning
    ! ~6 a! l9 x3 B7 F
  1689. ;gd.jpeg_ignore_warning = 0
    2 c! r/ D0 n- P: n- j7 A, z
  1690. 0 C# N: {8 M( n% r
  1691. [exif]5 W" d/ X* a, x! V& x" K
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ; M$ \- e( }/ n( d7 H) Y7 u$ U
  1693. ; With mbstring support this will automatically be converted into the encoding
    6 w6 `( V* L! e8 m' Y
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    , k* O$ s! x# c4 L. D
  1695. ; is used. For the decode settings you can distinguish between motorola and7 w, Y: m' y, ?, B. P/ p
  1696. ; intel byte order. A decode setting cannot be empty.0 S8 J: ~0 q$ V* o* ^
  1697. ; http://php.net/exif.encode-unicode
    5 D9 w  g0 s! i  y: z+ F# x
  1698. ;exif.encode_unicode = ISO-8859-15
    , T$ F7 F+ f& M& n0 ~  A) u$ s- W

  1699. 9 E' x  r% k5 f7 \1 |0 o& z; l" n
  1700. ; http://php.net/exif.decode-unicode-motorola
    . H+ V& p; \0 ^  D7 c
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    0 J! I+ m5 L$ K$ E& b' u/ q

  1702. 8 z  C% P$ R& x4 K8 j
  1703. ; http://php.net/exif.decode-unicode-intel
    ( R4 p# m# X! `# g0 ]! C- f* u
  1704. ;exif.decode_unicode_intel    = UCS-2LE5 _% @+ f4 W* f" |7 r

  1705. # n9 q1 x& c& k0 c- {
  1706. ; http://php.net/exif.encode-jis
    : t4 Q4 i( e; e% g: |3 w
  1707. ;exif.encode_jis =
    # w5 _- Y3 Q' m, v  a1 Z' L4 O9 E
  1708. , P+ x3 P( v8 ^2 `; t  G
  1709. ; http://php.net/exif.decode-jis-motorola$ g* N) i4 b' R. `
  1710. ;exif.decode_jis_motorola = JIS
    - ]5 z9 L; m, I1 R

  1711. 8 ?2 w: p9 z$ a9 ?' Q5 y" _' b
  1712. ; http://php.net/exif.decode-jis-intel
    7 p& F$ ~! i$ [6 P
  1713. ;exif.decode_jis_intel    = JIS3 l8 c' K! Z; h

  1714. 6 V( f( G1 Q3 a( R$ P5 K
  1715. [Tidy]
    , G4 [' C, F- S  l( g) U' S- b8 T
  1716. ; The path to a default tidy configuration file to use when using tidy" \% s1 q) [9 J) k3 g
  1717. ; http://php.net/tidy.default-config
    / K1 ?0 c( K# h
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg+ _1 [" F: D8 Z8 g% K

  1719. 1 t% ?$ k; K" J* m8 r' E8 z
  1720. ; Should tidy clean and repair output automatically?& O7 n/ C4 g, w
  1721. ; WARNING: Do not use this option if you are generating non-html content
    9 t- b  p5 o4 z$ f% L2 j* p
  1722. ; such as dynamic images% W2 v  N$ {) b- n/ h# e
  1723. ; http://php.net/tidy.clean-output- J0 e/ t' D, q1 t
  1724. tidy.clean_output = Off
    0 y$ f- \6 k; y$ D: P+ A$ k; Q
  1725. , t% |0 o4 I# W& Z
  1726. [soap]
    / V3 q2 k6 z) F4 W  m
  1727. ; Enables or disables WSDL caching feature.
    5 i/ U7 {6 ^! z$ ]0 r
  1728. ; http://php.net/soap.wsdl-cache-enabled& |* R7 `7 f/ J5 s7 M0 M( ]5 G; V+ @
  1729. soap.wsdl_cache_enabled=1
    7 _0 p% p0 j2 R+ j5 \7 X% x
  1730. 1 w4 i2 ^$ M4 ]2 A0 k6 A/ \
  1731. ; Sets the directory name where SOAP extension will put cache files.
    7 e" F2 }" F5 r! ]
  1732. ; http://php.net/soap.wsdl-cache-dir
    + O+ g% t$ t- P8 C
  1733. soap.wsdl_cache_dir="/tmp"
    3 M3 x7 a' H1 ]5 c. @  w! y

  1734. 3 L5 E8 H( \9 P/ h5 M; }8 [
  1735. ; (time to live) Sets the number of second while cached file will be used$ [3 g( `* r# Y1 s1 j
  1736. ; instead of original one.; x2 K4 r7 [0 W& A6 ?! S7 t- [2 \
  1737. ; http://php.net/soap.wsdl-cache-ttl1 {3 x- a$ j2 |7 D- `, K; M9 d
  1738. soap.wsdl_cache_ttl=864008 k- ~3 E5 B: C0 T* Z* z' c( T
  1739. 2 ?) S. l4 |  M7 H, ]
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    $ ~# I6 V  O7 V5 b5 P3 ?
  1741. soap.wsdl_cache_limit = 5
    8 o  b! ?& Q6 L' E- l6 S5 ~
  1742. ! D( D% m- j* N" N4 O
  1743. [sysvshm]8 N% c. u' p( c- F- p, N( [
  1744. ; A default size of the shared memory segment
    : p. Y" A. a0 j
  1745. ;sysvshm.init_mem = 10000
    ( e! o, ?8 z; N8 {! j
  1746. ! @9 Q$ @) d+ d* L: R4 n. U# b; y/ D
  1747. [ldap]# P: c9 u( y4 U$ N  ]. |, J
  1748. ; Sets the maximum number of open links or -1 for unlimited.# S# ^; t3 q2 @+ Q0 _( B' ~" T+ d
  1749. ldap.max_links = -1) U' P8 A6 y. N2 ^! P- D/ F& y

  1750. . B  C& Q2 i. f, d
  1751. [mcrypt]' E( H, _0 v. S4 O8 g
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    % P$ I$ G# M; Y# D

  1753. # Z0 W6 \& d5 |  B8 ~2 Y- H8 f
  1754. ; Directory where to load mcrypt algorithms. @) C* s* Z) s0 t  v0 c$ d& y
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)6 |! c3 K( y" R$ h* @$ n1 z0 A
  1756. ;mcrypt.algorithms_dir=& d) O" \; z8 M4 C/ r. A. g
  1757. ' ?; _1 w8 y' ~* M% ]
  1758. ; Directory where to load mcrypt modes' G6 n7 |! j: U* y
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)! u% v' F2 v5 w( s0 x# N" t7 j
  1760. ;mcrypt.modes_dir=
    # h" G  k% ^8 _8 j. ~

  1761. 0 r' _3 B) D. Z
  1762. [dba]
    . n7 m$ y( i) T* h) V
  1763. ;dba.default_handler=
    - t7 T5 ?- b( U) {9 w! c
  1764. % N) [% l$ Y! F% [
  1765. [opcache]: V% `% P8 E& Q
  1766. ; Determines if Zend OPCache is enabled
    0 D) M2 R/ B0 S/ C1 v
  1767. ;opcache.enable=06 T! c4 W+ p0 K! \" R2 D

  1768. % r& O6 C) @8 p5 L* r# ~$ x
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    : b6 o$ `3 ?! k) O# d, p
  1770. ;opcache.enable_cli=0
    ) r1 ~) p1 U6 S% Z/ N

  1771. $ j. s8 E; X: x' F9 B
  1772. ; The OPcache shared memory storage size.% }, c* z+ P  L1 z
  1773. ;opcache.memory_consumption=64! D$ ^+ ~: t5 @# S
  1774. ) {0 ^: B7 t' U, ]2 _
  1775. ; The amount of memory for interned strings in Mbytes.
    9 q4 z; A6 W/ M) l( }- k
  1776. ;opcache.interned_strings_buffer=4% y; Q, I/ j% x# r

  1777. 7 S/ r+ W( C' ?" ^
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    1 P  p! ^' P2 V9 g
  1779. ; Only numbers between 200 and 1000000 are allowed.
    $ J  E2 o: g4 `4 Q! I$ q; _2 h
  1780. ;opcache.max_accelerated_files=2000
    * @! Y" d  f1 v
  1781. 9 [/ y! V( W( r" P+ Q  Z+ c: }
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.6 x. A% Q, n! m  I
  1783. ;opcache.max_wasted_percentage=52 P0 C' ~* z1 c3 \

  1784. 0 i! e8 x3 _) Z9 f! T. {
  1785. ; When this directive is enabled, the OPcache appends the current working/ q: j% k% ~, ~: z
  1786. ; directory to the script key, thus eliminating possible collisions between
    / V, V, _* [3 E0 d  {) |5 C0 I7 \
  1787. ; files with the same name (basename). Disabling the directive improves) t4 u  k9 O8 j5 x3 H- H0 }
  1788. ; performance, but may break existing applications.
    7 ?* B3 d3 A3 v; R7 e
  1789. ;opcache.use_cwd=1
    : X6 U0 C  y5 j

  1790. - i* j: a# W5 @7 ~
  1791. ; When disabled, you must reset the OPcache manually or restart the
    / ^( P) E4 }4 |& E$ ~8 Y
  1792. ; webserver for changes to the filesystem to take effect.
    9 P- H2 R5 p; X) h) s# P- \9 x% o3 M
  1793. ;opcache.validate_timestamps=11 f9 m, }" ^. m# i/ {/ y7 y
  1794. . K  r- A* q7 J4 e! E
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ' i. U( B6 P% G0 `
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    # y+ G4 Z2 @( M9 T; e
  1797. ; once per request. "0" means always validate)
    ; J7 q/ B/ i3 i- O- p6 B( X
  1798. ;opcache.revalidate_freq=2" b! P: H7 f: U0 k  C

  1799. + q# @/ U+ g% M$ y9 ^( x
  1800. ; Enables or disables file search in include_path optimization
    . u6 l# w, M/ I
  1801. ;opcache.revalidate_path=0
    1 y3 \7 E1 W% X! S1 f

  1802. 0 e' u) Y9 c% S2 o' g0 u
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    * }) \! G. k+ A4 P4 g
  1804. ; size of the optimized code.! |5 A' E- m* l$ n1 K" Z. K0 d
  1805. ;opcache.save_comments=1: ]7 H- w; u2 g' O4 M
  1806. ! b+ _& `5 \# ]2 ~* u' r
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code' P, b' n  `) L9 T9 s
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    $ L) z& ]2 u. G7 n7 P1 i
  1809. ;opcache.fast_shutdown=0
    $ C0 t) z0 V6 d$ b

  1810. + B% ?" S  L* g% ^) T: J
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    3 @9 S" E- S; A% t/ s: c' V
  1812. ;opcache.enable_file_override=0
    # L9 n7 P, O* V. K" K2 B  x/ q- m
  1813. 5 U, M* a. @8 ]
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ' X$ }" `8 o8 C) T& y
  1815. ; passes
    & H% d+ r% u' e7 |! {% \$ N
  1816. ;opcache.optimization_level=0xffffffff0 r+ v6 h" h9 B( C

  1817. ( a# O: i  n- l! |
  1818. ;opcache.inherited_hack=13 A1 K6 _4 O. \9 k& K) V
  1819. ;opcache.dups_fix=0
    * f+ p. T, T0 }$ i
  1820. . f" i; P- J, M) Q0 Q4 X! B+ z
  1821. ; The location of the OPcache blacklist file (wildcards allowed).3 ?5 F3 V# w2 m4 Y
  1822. ; Each OPcache blacklist file is a text file that holds the names of files5 n) N9 ^" b8 N/ k# P  ?
  1823. ; that should not be accelerated. The file format is to add each filename6 p% G* ~0 G# ]; y8 F
  1824. ; to a new line. The filename may be a full path or just a file prefix
    9 }+ U8 j$ z3 u
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www; ]! `" Z8 Q5 J9 A+ G
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    , }. \9 ?6 l$ n1 r
  1827. ;opcache.blacklist_filename=9 x# }( z$ k0 Y. `6 J
  1828. # |, Y/ [$ ~+ v. Z5 C; [3 J
  1829. ; Allows exclusion of large files from being cached. By default all files
    " G7 K* B; b6 N- l- Y& v# R
  1830. ; are cached.
    ) A2 f% p6 A! f4 h: _) M
  1831. ;opcache.max_file_size=08 ]( V9 \, I. d

  1832. 3 ~9 I+ \' \1 x
  1833. ; Check the cache checksum each N requests., {' R( T: P: n$ E& Q
  1834. ; The default value of "0" means that the checks are disabled.6 P, q  Y& A0 [* F2 T8 A: ?) K
  1835. ;opcache.consistency_checks=0
    9 J! b% n, ?: }- K4 |

  1836. & i+ d8 \3 x6 L- s
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    9 a  `" y2 p9 h  F
  1838. ; is not being accessed.8 h5 {& h' K5 ~7 [; p, T! n9 s
  1839. ;opcache.force_restart_timeout=180
    2 `, o6 Z8 f' l$ i7 a6 R$ q

  1840. , ]1 y! v0 e6 r1 `  q7 ]/ Q
  1841. ; OPcache error_log file name. Empty string assumes "stderr".( x0 @' E, x: u3 ~: f( x- M
  1842. ;opcache.error_log=
    + z& u& R1 s, c1 Y/ _' Q. {
  1843. 6 g* e/ ~$ g, \' R& |* \4 l3 c
  1844. ; All OPcache errors go to the Web server log.. M; [& i. [9 ?# A0 A
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ' U: E4 W! [- Q# p% [
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    % T8 G; [8 R- C
  1847. ; debug messages (level 4).
    9 B2 k2 E& j5 P7 Y  k
  1848. ;opcache.log_verbosity_level=1
    0 s% ^$ q; g) i+ W- ]

  1849. ! q( G  g! _) h4 a! u
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.; c  d( s6 y1 o. D9 w$ o) m* }: R
  1851. ;opcache.preferred_memory_model=+ d0 c& B8 M' G/ Y5 p
  1852. 3 F/ M; V8 Q5 {' I1 K+ e
  1853. ; Protect the shared memory from unexpected writing during script execution.
    ' c2 O- {0 m6 V1 ~3 t/ A5 W
  1854. ; Useful for internal debugging only.
    5 x* h' a7 d$ V% W
  1855. ;opcache.protect_memory=0
    # ], T7 a7 i; g) Z  S

  1856. 5 i7 r8 T$ P6 x
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is- [$ f- C  Y  P; u3 K
  1858. ; started from specified string. The default "" means no restriction
    5 s' q8 [% u( d' m
  1859. ;opcache.restrict_api=% f! f5 S& R# i6 T8 i
  1860. % X% k6 F3 K& E2 E5 v+ e/ j' v, x
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP  U; K" {8 E% E; N
  1862. ; processes have to map shared memory into the same address space. This7 t- n# p  [6 D; Y  b& R* `
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    , X7 [1 M5 i/ J1 Q5 K/ F4 K
  1864. ; errors.
    * f) E# A, x2 O5 V
  1865. ;opcache.mmap_base=
    0 r  Q& M7 t6 C  b- u( u
  1866. 0 H  P6 y& y5 d7 o
  1867. ; Enables and sets the second level cache directory.! e& m7 d, K& O- m- [
  1868. ; It should improve performance when SHM memory is full, at server restart or) _: Q7 b0 B9 z  [3 b
  1869. ; SHM reset. The default "" disables file based caching., q. r3 `% [, f3 t% e: q2 k
  1870. ;opcache.file_cache=% a& l0 ]+ V1 W, }

  1871. ; m% }5 k& |$ j, U
  1872. ; Enables or disables opcode caching in shared memory.! }7 h/ q+ N9 t9 }$ S6 x
  1873. ;opcache.file_cache_only=0. d- ?# r% \4 y  t
  1874. + W: k( n5 o& b
  1875. ; Enables or disables checksum validation when script loaded from file cache.1 I% c% w. d4 n( V5 y, \! K' U! u6 e
  1876. ;opcache.file_cache_consistency_checks=1/ q' ^. @: R7 \
  1877. ! n6 M1 C9 I( s4 M, B% |
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    : o7 @2 A1 P  Q; H" `1 w/ D
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file2 k: N9 q, V' m# b& o
  1880. ; cache is required.* z0 A% L- S( Q0 p. V8 _2 u
  1881. ;opcache.file_cache_fallback=1
    , \2 o* L4 i5 N' a
  1882. * O# I# g4 x( `, z
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.5 v  F2 W, x) I& a6 \
  1884. ; This should improve performance, but requires appropriate OS configuration.$ L2 M' S* R0 R3 ]
  1885. ;opcache.huge_code_pages=1
    ! r  C) v( R/ g, _+ z& b. g* ?* C

  1886. , q+ O" L1 y; M' [6 _! b- Q
  1887. ; Validate cached file permissions.- Q+ b, V. H6 J! ~0 l0 y& l, h; p
  1888. ; opcache.validate_permission=0
    : {2 C, L# f2 L
  1889. + P- L5 o9 V. a8 s! B
  1890. ; Prevent name collisions in chroot'ed environment.
      |; r, ~' g! }. Y/ U
  1891. ; opcache.validate_root=0
    + ~7 H7 |8 F2 @  e$ a

  1892. ) r2 {8 O# l2 U. t* f
  1893. [curl]* R8 K7 g; F2 a' c, o2 M
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an& i" k7 h% b" y/ f4 u: H' ?
  1895. ; absolute path.  Y4 _5 Z3 Y3 ?' s3 A% h
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    9 ~9 k# Z. R4 y5 I! ~% I

  1897. / j! n1 k, C1 l" z; v
  1898. [openssl]& [0 f9 ^0 R2 ^  S4 O' Y1 X. t
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem, [9 [% a0 P7 p2 x: F" c
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    - ?/ i8 }% Z2 ?2 w1 S* `
  1901. ; not specify a value for this directive as PHP will attempt to use the1 e9 O! q' u. I8 O4 O. C
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    ) j1 f. M# ~' Y7 {8 E, _, L
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context8 t( l& Y) V/ P! x
  1904. ; option.
    " y( b6 ], M- ^9 ~4 X& L$ X1 t
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    & O% u& G3 N; e" v4 q
  1906. ) N3 J, ]  r% K! F* ?3 |9 d4 T
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the  k; L1 g' G/ r: d) N' [- L+ D, Q
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    ; P6 e* ?5 ?7 a7 x! z9 p
  1909. ; certificate. This value must be a correctly hashed certificate directory." W4 B* K+ x, L) Y, {0 `
  1910. ; Most users should not specify a value for this directive as PHP will7 I. A, W1 p7 E& {! ~# e0 T- w
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    6 C# Q, J. j# o% U" [- _  i' {
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ' K; Q  H" E9 @( O( r
  1913. ; SSL stream context option.
    ( {' ~( c1 h5 a2 t% A7 r8 I' u
  1914. ;openssl.capath=5 {0 h; \4 }' x& L7 U: c+ ?

  1915. 8 x3 m$ Z5 `' M
  1916. ; Local Variables:% V' l& b2 n" c
  1917. ; tab-width: 4
    7 ^5 ~9 M8 o7 u( q7 _* G
  1918. ; End:+ l. I2 H! r/ E% N1 T; Q

  1919. ' s( M8 M0 Q/ w, G; f  o
  1920. ;eaccelerator$ o; C4 t4 l0 E$ e5 c6 A8 N
  1921. ; a8 Q- _2 V  A, a- k. M5 |
  1922. ;ionCube& T9 y+ p! g8 W! E* ?

  1923. 4 U6 h& i  f' E; `. D( L9 T
  1924. ;opcache1 {8 B% a( @6 F) w5 o  j6 h. K

  1925. % X' g, `$ q+ ]. K6 B
  1926. [Zend ZendGuard Loader]) W; N" }# V; D3 p  P: D
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.; [$ E: \. p2 Z. h
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    * y1 q5 p( J2 r: Y( d' u" J. \
  1929. ;zend_loader.enable=1& s* Y! ~' I' M  z
  1930. ;zend_loader.disable_licensing=0, ^$ k( ]& K, u3 Y
  1931. ;zend_loader.obfuscation_level_support=3
    ; Y6 @' l$ j7 _, \3 }
  1932. ;zend_loader.license_path=- k! F2 g6 y( U
  1933. / D3 A2 u1 C# `' n) H9 e
  1934. ;xcache
    6 [* V+ `' f2 k5 b3 v/ i

  1935. # G/ U* M: p' A* H# p# B9 }
复制代码

/ K! n! Y) k! M9 m) x: Z/ }
" e1 S; F/ W* V
  U' N& [: l# `% a7 [3 {
' M+ C4 Y6 u/ T5 K  u+ C
  W" I+ s6 P( x- f2 h* M7 \) z/ C# R" C# p2 N/ h. W- O- o

9 ~8 ^6 x8 ~0 g8 f$ RPHP5.6版本原始设置# A" h2 S! n4 |7 y, \8 c8 a" w
3 t  q+ |6 d9 x
  1. [PHP]5 y9 ?' ]2 J9 L" t% u! l

  2. & U- O- `3 x0 \' F& A$ M3 g
  3. ;;;;;;;;;;;;;;;;;;;6 K, f4 ]- x  x* I4 ^9 g
  4. ; About php.ini   ;  f- B! \: J- p2 m4 F: [* n
  5. ;;;;;;;;;;;;;;;;;;;
    ( N% [3 O( l7 |- K, z/ X0 G
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    : G7 D( n' n# ]  B% q; F
  7. ; configuring many of the aspects of PHP's behavior.
    $ ~# r9 o. Y3 v8 J6 s' ^' c3 J$ y

  8. 5 ?( |' d% [$ W6 _- p2 V
  9. ; PHP attempts to find and load this configuration from a number of locations./ `6 k3 Y0 h& P5 O: D  G' s% S0 A, v
  10. ; The following is a summary of its search order:
    5 t! J. x) \; U& i
  11. ; 1. SAPI module specific location.
    1 }8 A0 p$ _* w8 ~$ [
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)8 J) r8 M) \3 j% `4 r0 b$ o2 V
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    , W8 c0 M! h5 T
  14. ; 4. Current working directory (except CLI)
    $ Y$ f$ J# Y" M
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ; u" M. l/ M" k0 o4 \$ G; V4 ~
  16. ; (otherwise in Windows)
    2 f3 U" b. d& J7 v; U  |9 Y
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    - W: h% _! j+ c8 E6 c$ C
  18. ; Windows directory (C:\windows or C:\winnt)
    + N/ w/ }* j- l3 S
  19. ; See the PHP docs for more specific information.
    8 E4 S7 K" g$ I
  20. ; http://php.net/configuration.file
    7 Z, f0 a# n, Q

  21. " s- p. `  ?" p, m) c
  22. ; The syntax of the file is extremely simple.  Whitespace and lines5 h% n. s1 w7 l+ x/ ^9 ?
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    7 }! S% F8 O- c) {
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though, c" l$ O$ f9 W2 ?( a9 I% e
  25. ; they might mean something in the future.* {9 c2 W/ s7 X2 y0 M3 l6 G
  26. " |4 b- D9 c. Z  z
  27. ; Directives following the section heading [PATH=/www/mysite] only& ~. m* p1 ^; u) `( h; T
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    1 |: \  f& L: k& c% D3 k
  29. ; following the section heading [HOST=www.example.com] only apply to8 Y, B; @- f3 y6 }( s
  30. ; PHP files served from www.example.com.  Directives set in these
    2 s& A4 T3 j  k4 m/ V6 o) H
  31. ; special sections cannot be overridden by user-defined INI files or
    / a3 O$ Z. C+ H. \( j8 U0 }5 v
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under9 P( }$ k& A. E, o7 Y2 v- d. T/ d
  33. ; CGI/FastCGI.7 V- J* B* c1 x# J& J  C3 g
  34. ; http://php.net/ini.sections
    # u( ?) R( U7 k

  35. : ]4 ?9 U, }. A2 ?* I
  36. ; Directives are specified using the following syntax:, Y9 h/ _8 d7 j; p" B! a
  37. ; directive = value
    0 {7 M- X; B. n5 h
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ( B& W0 W- b- F
  39. ; Directives are variables used to configure PHP or PHP extensions.
    5 R/ `9 M! A* t) x- H' s! J. k
  40. ; There is no name validation.  If PHP can't find an expected
    " O$ o6 S, f0 ?  x0 b
  41. ; directive because it is not set or is mistyped, a default value will be used.
      G3 ]( d+ d1 u2 L) J1 b5 n! P
  42. 6 l% x; Q6 J% {* |) K4 w
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    * p% S  P* e) k, a. ]7 B
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    0 a$ L/ o0 D! e0 C4 i- G8 n
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a: `. O; L8 j4 Q9 f- {
  46. ; previously set variable or directive (e.g. ${foo})
    0 T" @1 y& I3 J1 c: _7 C5 ]

  47. ; Y' G% D. @6 U- C* V$ c7 _
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    . ]& a( ^9 G9 `1 |% q- {
  49. ; |  bitwise OR
    0 a" r7 l# d; `9 {' Z- _! q! k
  50. ; ^  bitwise XOR# k4 U  e. ~3 ^/ K* W% H' _' T
  51. ; &  bitwise AND
    : b% e, y) g8 |# A/ C
  52. ; ~  bitwise NOT  L" _" v/ U0 m, U
  53. ; !  boolean NOT
    ; U) q* q5 J; N+ A% h6 f; H
  54. - c0 q7 q: \* R: W+ H, a! }
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    . R6 x2 F, k2 V1 _/ k' i# Y
  56. ; They can be turned off using the values 0, Off, False or No.
    ) p& z1 @; @; W5 Z4 ~* G% Q
  57.   P- E. j5 g& m0 X4 I  @" ~% U- K
  58. ; An empty string can be denoted by simply not writing anything after the equal  ^, S4 u7 F7 [7 y. S8 F
  59. ; sign, or by using the None keyword:4 Q; s0 Z6 k% b7 A6 R
  60. : _4 V$ `( j6 O  U
  61. ;  foo =         ; sets foo to an empty string
    9 E! ]: ]; H* V3 O; @& S; ?
  62. ;  foo = None    ; sets foo to an empty string4 x6 N+ @* a7 k8 S! f: m# c1 D
  63. ;  foo = "None"  ; sets foo to the string 'None'
    9 d) \  J" v( ^" c/ v2 b& F

  64. 6 A6 s5 ~4 }  P# _7 h( i
  65. ; If you use constants in your value, and these constants belong to a! U4 f; G( }) k
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    & Y/ y& S) V* [6 F1 F$ X
  67. ; you may only use these constants *after* the line that loads the extension.' _/ S; {6 u3 }- {

  68. # ?) ~2 N; L  c. T/ c) s
  69. ;;;;;;;;;;;;;;;;;;;# @+ z/ j8 h& e9 k3 c+ q
  70. ; About this file ;2 K, b) w8 w& N! s' [
  71. ;;;;;;;;;;;;;;;;;;;# b! Z% _( u9 O; A/ V& i
  72. ; PHP comes packaged with two INI files. One that is recommended to be used, q2 _! h9 y0 G- i0 K3 D9 r- s
  73. ; in production environments and one that is recommended to be used in
    # i' V  {5 \) m! o! U  C
  74. ; development environments.8 D9 ?3 E" F) x, F& D' o
  75. 9 j6 X* d+ r7 j8 Z5 h
  76. ; php.ini-production contains settings which hold security, performance and
    6 Q; v% m) \- T2 b2 r; L) g: k5 [
  77. ; best practices at its core. But please be aware, these settings may break; ?  G- r# N3 C; y. W6 b
  78. ; compatibility with older or less security conscience applications. We
    " f3 m' ?; L( i& D: z
  79. ; recommending using the production ini in production and testing environments.
    5 r; ^4 m6 X2 j& B4 E" E( x
  80. $ b& E  E; g  F4 x* d* q1 D
  81. ; php.ini-development is very similar to its production variant, except it is" s+ s6 E  L6 M- u- m/ [4 V5 o' T
  82. ; much more verbose when it comes to errors. We recommend using the  N" k1 t; g, u9 U1 J# _' ~$ H
  83. ; development version only in development environments, as errors shown to
    " P# F" ?/ q& q  Y  E
  84. ; application users can inadvertently leak otherwise secure information.
    3 n3 B& T0 e7 Z& `
  85. : N4 k( `, q- g( ?1 I- N, i9 H: F
  86. ; This is php.ini-production INI file.# M: a0 b$ q. q- I: R( [

  87. " o4 B/ @6 S2 d2 N' y
  88. ;;;;;;;;;;;;;;;;;;;
    + C* P3 `- }+ V( D3 Z" \
  89. ; Quick Reference ;
    9 ^. a2 t5 f2 H& @6 v& j0 L
  90. ;;;;;;;;;;;;;;;;;;;
    & O/ g0 z& d/ F. M
  91. ; The following are all the settings which are different in either the production6 ~, Z& t2 K$ S5 `, N$ [8 p3 X6 b
  92. ; or development versions of the INIs with respect to PHP's default behavior.5 i' w. J1 V% x2 i* b$ G" Y0 u: @
  93. ; Please see the actual settings later in the document for more details as to why6 e' e! ]! ~) O  A9 t8 I
  94. ; we recommend these changes in PHP's behavior.
    4 R/ q* ^) k' x
  95. 7 D, j3 l5 u! ~9 S, A4 {' b1 @. u
  96. ; display_errors2 S! {4 ?" t# }" S9 d: ]' x
  97. ;   Default Value: On
    / b+ I! t+ f) g# U
  98. ;   Development Value: On* L, ]. @' ]1 u+ Y1 ^
  99. ;   Production Value: Off4 f. I2 b1 [9 c1 B5 p% q

  100. 7 v' Q' ^' F" L, Z0 F
  101. ; display_startup_errors) B$ P7 r! X. e  o
  102. ;   Default Value: Off
    & g) J& ?. y( O% s3 a0 W
  103. ;   Development Value: On/ ~5 A* W* E; l- N: ^2 M7 b) m
  104. ;   Production Value: Off
    : J3 G; S5 b% K$ O
  105. * b- U6 H2 m% i9 y) y0 M9 t
  106. ; error_reporting
    ) [$ h$ z" p/ m
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    * G$ E7 b) a8 J0 Z& g
  108. ;   Development Value: E_ALL% E5 e) G9 _) m! q/ D3 P
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ' U5 V. h) S/ I, X5 ?1 E: i

  110. 1 u2 [( @1 Z  H' r
  111. ; html_errors
    ! ]! z& H' @6 \2 E  D
  112. ;   Default Value: On8 H; J7 x+ q) w3 Y
  113. ;   Development Value: On
    + u  M' H9 q, [
  114. ;   Production value: On2 c& O5 @  Z- |, G9 I2 S7 w1 ~/ h
  115. 3 h: l8 d& e/ @' V
  116. ; log_errors2 W; }1 s- ^* }; ^
  117. ;   Default Value: Off) r/ m7 C- r1 j* Q
  118. ;   Development Value: On1 O6 U- B$ |, u: S
  119. ;   Production Value: On
    . i1 R# K1 [  d
  120. / C! b; S3 A8 L' ~
  121. ; max_input_time
    . D+ j: W2 Z. _5 l  j
  122. ;   Default Value: -1 (Unlimited)" H5 {; V; _: M
  123. ;   Development Value: 60 (60 seconds)1 H, y* Q) v' V5 p/ K& `! Z. Y; O
  124. ;   Production Value: 60 (60 seconds)
    ! q/ f$ k8 C6 o8 \+ u

  125. 7 x0 g; C9 G8 i0 a
  126. ; output_buffering
    " y5 u* F" p% I. o  Q4 {/ r( g
  127. ;   Default Value: Off+ D  [6 n  A3 m# ?( s
  128. ;   Development Value: 4096
    2 l$ P! P6 n# X0 s
  129. ;   Production Value: 40964 {2 b9 N( R, e8 Z4 T/ H& D7 f

  130. 2 o" h* g4 c$ }' `' q  V
  131. ; register_argc_argv
    - A: K* d- Z) Q" L. f' ]
  132. ;   Default Value: On, x/ Y$ b* h; @: L
  133. ;   Development Value: Off
    ) I0 `5 h: Y. r  H8 L
  134. ;   Production Value: Off
    9 t3 |1 U  ^5 Q% k. W
  135. # `2 }& ]1 I9 W% [# A
  136. ; request_order
    , z% ^  @3 P& j) ]5 o$ _
  137. ;   Default Value: None5 B/ K2 t7 G& `: Q, K6 L2 d
  138. ;   Development Value: "GP"
    2 I/ R1 Y4 l7 l3 n
  139. ;   Production Value: "GP"
    + h* e) T  X7 x/ |
  140. ' y6 y* q  U, _$ A- A+ b
  141. ; session.gc_divisor
    9 V  V3 t2 e$ o, v3 Z5 k/ I
  142. ;   Default Value: 100
    - G. t1 U, K9 d# f/ k  w
  143. ;   Development Value: 1000
    6 u; Y1 @& q3 _6 p$ {9 n
  144. ;   Production Value: 10007 M& \' H+ S7 i* I3 @

  145. ; P3 Q! v2 n$ u  V( ^
  146. ; session.hash_bits_per_character$ f* H" r& V3 E: o- B
  147. ;   Default Value: 4# w# s# M6 n& g4 j
  148. ;   Development Value: 5
    2 s: c( M1 N. t0 ^7 ~+ n: j
  149. ;   Production Value: 5
    6 c$ d# x2 n6 B* u5 [& ]& O0 i

  150. 2 ^& q# E# o  n
  151. ; short_open_tag6 J* C1 p$ @- l; w( c( H% O* ?
  152. ;   Default Value: On% Y- ~4 a' R5 v. L: m  S2 c8 c
  153. ;   Development Value: Off
    * s0 a( J$ C, i  F, s/ k
  154. ;   Production Value: Off4 q6 U0 P: |% f6 k" `
  155. : L8 _4 H) ?) g  x2 l
  156. ; track_errors9 `) p: \; }  M' y. ], z9 Y- R
  157. ;   Default Value: Off
    2 o) X! q- I) ~3 k, I. ^
  158. ;   Development Value: On
    0 R* _2 @# K( N. Q3 e
  159. ;   Production Value: Off
    / A2 S* X* B( j) C7 Z
  160. ( @$ w/ b, z8 Z
  161. ; url_rewriter.tags
    # M% p1 {2 m1 S( z
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="! T2 |( q7 ~, R
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % m% _# h+ Q7 U4 _2 ~5 e% J  Z7 q
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 t1 g1 b5 U  Y' Y
  165. 4 e+ g7 U' B5 G/ R: a- Z
  166. ; variables_order
    3 T0 R( K  g1 D, N, O
  167. ;   Default Value: "EGPCS"
    4 J- N1 B0 E, L+ @' ]
  168. ;   Development Value: "GPCS"
    * v0 W8 d! [5 X' ?1 S- L
  169. ;   Production Value: "GPCS"0 M% _, u: ]; g# u  z
  170. % @+ w0 ^3 @5 a% Y8 V  u# S
  171. ;;;;;;;;;;;;;;;;;;;;9 K* _, S  U2 h) i; q3 E0 L. Q* _
  172. ; php.ini Options  ;. o2 q8 D" j) O3 A6 @- T: y1 @
  173. ;;;;;;;;;;;;;;;;;;;;+ d6 a* Q, A3 Q" K( s' u# J% c
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    8 A4 L6 z, ^  o. @
  175. ;user_ini.filename = ".user.ini"
    $ k) f; |" b+ V7 j! V

  176. 3 p& _6 v; r! W, @
  177. ; To disable this feature set this option to empty value: U+ e" s( w' G0 S0 Y% ^
  178. ;user_ini.filename =# F8 K' p6 R( G
  179. + u/ f) G, S! Q# r- Y+ A! M
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)( T9 Z% s* |  ^0 Y
  181. ;user_ini.cache_ttl = 300. t; c# U8 U% t1 ~
  182. ! m! f: z, s! e! T* J
  183. ;;;;;;;;;;;;;;;;;;;;; P5 ~! Q* G  k( U: C0 X! v$ \2 ], a
  184. ; Language Options ;5 i5 ?4 v, f  p3 T9 V8 y* x9 {
  185. ;;;;;;;;;;;;;;;;;;;;
      [) }4 Q1 a' [- B1 N

  186. : I% M3 e  u6 i( u; G
  187. ; Enable the PHP scripting language engine under Apache.
    , B9 J/ Q" U  [5 \1 V
  188. ; http://php.net/engine
    0 i  ?+ O/ [, y( F0 b+ D3 D
  189. engine = On
    & P4 @; Q( G# S" `! T8 U" s

  190. 0 _0 X2 z  G( ~3 j  z
  191. ; This directive determines whether or not PHP will recognize code between0 ~0 a5 g) ^$ {& U' y1 L
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    : X5 f( ^1 O* @$ o3 ]  a3 J0 T3 Q
  193. ; generally recommended that <?php and ?> should be used and that this feature
    - \- A" L3 K. [+ i
  194. ; should be disabled, as enabling it may result in issues when generating XML
    $ E$ h5 x0 o! e& q
  195. ; documents, however this remains supported for backward compatibility reasons.
    . z6 J$ n0 N: {8 D0 u
  196. ; Note that this directive does not control the <?= shorthand tag, which can be; R$ R" C  E6 u
  197. ; used regardless of this directive.
    6 y4 R: ?* `3 g& H6 y
  198. ; Default Value: On
    - M' z# B* p8 S. {* x$ v
  199. ; Development Value: Off
    ) E( R6 n/ j) \$ }4 N) @
  200. ; Production Value: Off
    8 C7 q) {' }9 |' p* q
  201. ; http://php.net/short-open-tag
    / x2 B7 L- v8 T; C$ g5 R4 }
  202. short_open_tag = On% z- j4 H0 r: m

  203. / Q7 X- u3 V7 O/ u
  204. ; Allow ASP-style <% %> tags.
    3 H6 g5 ]9 g+ R5 ?& w8 L' U1 V* X
  205. ; http://php.net/asp-tags. G) b7 O  S/ @, I( u& z
  206. asp_tags = Off( r% K( ~$ E! @4 W0 u
  207. 7 _# E3 Q3 a: u- [( ~" G, P2 \
  208. ; The number of significant digits displayed in floating point numbers.- Z2 E6 n4 u- r6 R' J8 ^
  209. ; http://php.net/precision3 p  ~, }1 o* J# Y
  210. precision = 14! x' d9 i: D! k! L- U

  211. ' j/ V* g$ E9 g/ ^% T: e
  212. ; Output buffering is a mechanism for controlling how much output data
    % E+ l2 P; h5 }" Y+ t& q
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    2 w' N5 [) k0 ?1 r3 }
  214. ; data to the client. If your application's output exceeds this setting, PHP
    ( V0 y# D$ m, X* h0 c
  215. ; will send that data in chunks of roughly the size you specify.% n+ a# R* a, V& [& T  O
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    & P$ ?; P/ _( M% f" ^
  217. ; interesting side-effects depending on your application and web server.. N5 Q# M5 w/ p$ m
  218. ; You may be able to send headers and cookies after you've already sent output" u! S4 s8 P& m1 C
  219. ; through print or echo. You also may see performance benefits if your server is
    2 x0 H  q+ a0 l& {, C& g4 X
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    + a' m- f! }% N
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    + P  r7 _" J" u3 L$ b5 J
  222. ; reasons.
    + {. K% Z4 h4 m3 j
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    $ T  g& M# P1 P9 K$ E  Y$ Y/ |
  224. ;   functions.! @  r8 j% C+ u7 j  v$ T
  225. ; Possible Values:
    ) g& O  L0 N9 k+ ]; F
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ' X+ n3 J' }; _  V- d8 f3 l
  227. ;   Off = Disabled& |8 l% i! a# ]/ R3 V! @2 U
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    5 W/ j: ?4 a. \: @) E2 y
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ) Y  p6 c6 d8 h1 i0 p
  230. ; Default Value: Off
    % ]$ B- P+ {/ u$ g$ f& B$ m
  231. ; Development Value: 40969 c9 T5 K$ T. n& m! D5 E" [' n  I
  232. ; Production Value: 4096- W; R2 _; H6 d+ ]
  233. ; http://php.net/output-buffering
    8 f, O! v. Y: G, |9 D$ k  U1 [2 y
  234. output_buffering = 4096
    ! a. X2 K$ }- z. E. {; w

  235. % O# T7 T% V+ u% }* j- w0 d
  236. ; You can redirect all of the output of your scripts to a function.  For
    1 V  P. {1 `) x+ V4 D
  237. ; example, if you set output_handler to "mb_output_handler", character
    ' ?4 I2 A1 M% }5 X8 r
  238. ; encoding will be transparently converted to the specified encoding.
    6 Z% @# J/ e- f$ Z6 B. M- S- r
  239. ; Setting any output handler automatically turns on output buffering.4 l4 W  m+ v" ?( D8 \
  240. ; Note: People who wrote portable scripts should not depend on this ini
    , F8 ^  u' x/ h" U. D$ B
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    , [- n+ s) Y; s* G8 ?+ c* F+ g
  242. ;   Using this ini directive may cause problems unless you know what script. N( T, U( e8 ~/ |/ c
  243. ;   is doing.' ]7 W) I) r7 I, U! G: a% M
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    2 b$ K4 M. ]3 f3 T7 e* o* A, ^2 e4 c
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".( R  ?8 L4 s0 Q- e
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    + P# b3 t( h. _* G0 V
  247. ;   Instead you must use zlib.output_handler., j; O1 x* m0 z9 W6 r# u% A
  248. ; http://php.net/output-handler9 k7 l: }3 j0 U% K3 p( A9 W& k  i
  249. ;output_handler =6 ^  i9 s" ?* C) t! r, n( L

  250. * i# B" J; j' N0 {0 j
  251. ; Transparent output compression using the zlib library" _- C3 Q- R5 }- x" p4 P/ n
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size; U7 [, W6 ^3 n, j8 P7 A- B
  253. ; to be used for compression (default is 4KB)
    : P8 u% j+ }  R' M  \# C
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP& v, U/ g0 |. E7 n
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    , y5 h$ v1 q: T; X, `1 D& e
  256. ;   compression. If you prefer a larger chunk size for better. m* v* f0 z( [% ~) k3 r5 i
  257. ;   performance, enable output_buffering in addition.9 j+ B( S: v4 V2 V4 S( V
  258. ; Note: You need to use zlib.output_handler instead of the standard$ S" ?& J! n  h* @% D
  259. ;   output_handler, or otherwise the output will be corrupted.
    & K( x/ }3 `$ v& J: @
  260. ; http://php.net/zlib.output-compression8 F8 `; v; a+ N3 e. L
  261. zlib.output_compression = Off' L' D1 Y: Y: N( c

  262. # g1 l' g, S3 K9 ~
  263. ; http://php.net/zlib.output-compression-level
    0 q% O, U- A2 m$ B- _7 e
  264. ;zlib.output_compression_level = -10 M% N9 B; W; @7 |& p* B+ R8 A5 G: Y* K
  265. ; \7 _, M9 O- j9 i! V
  266. ; You cannot specify additional output handlers if zlib.output_compression
      s! \/ n8 C' y* Z$ p6 g1 H
  267. ; is activated here. This setting does the same as output_handler but in
    ; k0 k& j& z3 _6 H& G
  268. ; a different order.4 V) [( T+ ^; m6 A
  269. ; http://php.net/zlib.output-handler
    7 b& M3 ^- j; Q0 b4 f; ^8 ?
  270. ;zlib.output_handler =
    * t4 h; c- x7 x

  271. 7 t& a4 U) Z& y& ^& q5 ]* ]
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    ; ~  u0 e7 d) j9 D- R" w1 R' A8 f/ F
  273. ; automatically after every output block.  This is equivalent to calling the9 R  f+ p' C6 `9 [% r$ e0 k) P  e1 M
  274. ; PHP function flush() after each and every call to print() or echo() and each: b) {. g! v" ]( k5 W7 g1 G! L
  275. ; and every HTML block.  Turning this option on has serious performance3 N) G8 c) x  p5 |* k
  276. ; implications and is generally recommended for debugging purposes only.
    9 M2 [7 `0 ?; u% N9 [9 _
  277. ; http://php.net/implicit-flush# ?1 u" [& Q; l
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    6 C9 s0 y8 d! c3 }. E5 x7 I" q& [  S
  279. implicit_flush = Off
    5 a  d4 D* A) E; X

  280. - s9 A$ C% v: y+ @* y
  281. ; The unserialize callback function will be called (with the undefined class'
    $ B& V0 x+ V( Z4 |
  282. ; name as parameter), if the unserializer finds an undefined class# Z# g" V: I# E! ~) T* `
  283. ; which should be instantiated. A warning appears if the specified function is4 P2 K. ~% Z* O$ {
  284. ; not defined, or if the function doesn't include/implement the missing class.
    + s/ i/ G7 z8 F! [' X
  285. ; So only set this entry, if you really want to implement such a2 d0 w9 m& |& e7 ]9 w! m
  286. ; callback-function.
    ) _' o% R4 b* j/ ?
  287. unserialize_callback_func =  P1 p0 k* l3 p9 v, I

  288. & M/ I, R' s* C9 P, t- U; {
  289. ; When floats & doubles are serialized store serialize_precision significant
    9 p0 y$ s& N2 A. f' B: n
  290. ; digits after the floating point. The default value ensures that when floats* M- [( x2 w0 ^
  291. ; are decoded with unserialize, the data will remain the same.* H3 q' @# e, Q% R7 u1 r. M- V
  292. serialize_precision = 17
    ' ~( `$ `$ R8 s* m0 f0 J

  293. - L  U6 q1 g6 z* ?) W* v
  294. ; open_basedir, if set, limits all file operations to the defined directory& C9 C) Q9 |  \  P% K2 i! r; A$ _! b
  295. ; and below.  This directive makes most sense if used in a per-directory4 r! G7 {- i- V0 ]" S: Z/ P" ?
  296. ; or per-virtualhost web server configuration file.
    0 a4 v! J! e3 U% S' ?
  297. ; http://php.net/open-basedir
    ) ?& ]0 R/ g% D- b0 [  q8 n
  298. ;open_basedir =
    & L/ P% z/ p  {# }( {. H' C

  299. 7 ]6 P  W3 ?7 B* v: [0 B% G
  300. ; This directive allows you to disable certain functions for security reasons.2 Z% y% [! Y( O# j
  301. ; It receives a comma-delimited list of function names.7 |6 w3 s: ?3 ~
  302. ; http://php.net/disable-functions' _, g5 J/ L# K% ~8 h. w1 N
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    " d& {) }9 l6 [( g- B
  304. / j, M" d  {2 _1 Z1 K( Z* a/ l
  305. ; This directive allows you to disable certain classes for security reasons.
    / Z4 k1 j1 g4 X: [
  306. ; It receives a comma-delimited list of class names.
    7 U! H% ^: m5 z2 `% c, W
  307. ; http://php.net/disable-classes
    0 q6 S5 ^) P6 b+ l. u# f7 v- }8 i% |
  308. disable_classes =
    % _3 v9 F3 A3 u, G0 Q

  309. - Z2 Y. q/ ~* b9 |
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in$ m; b' Q. M% R+ P( z# `
  311. ; <span style="color: ???????"> would work.% w3 Y0 d9 Y- V+ N# @" B" Y, g
  312. ; http://php.net/syntax-highlighting
    & N- h+ }5 X" f4 \
  313. ;highlight.string  = #DD0000# n8 H2 k6 n' o/ _: U/ H# ~
  314. ;highlight.comment = #FF9900
    * I! v  L; P5 f9 H/ S9 Q+ y4 ?5 d
  315. ;highlight.keyword = #007700  B  T+ g5 T+ J, O4 w: d! u
  316. ;highlight.default = #0000BB( O2 Z3 N  T  U3 c
  317. ;highlight.html    = #000000
    / s  ?# n" P+ m* m8 y) t
  318.   J5 |! b7 t' e) @( e3 \, T% i
  319. ; If enabled, the request will be allowed to complete even if the user aborts  ]+ E* t3 T/ q1 \, k" z9 Y
  320. ; the request. Consider enabling it if executing long requests, which may end up- j5 S+ J- X. V& v& x* y4 I
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ! d' `& D9 o1 S
  322. ; is to disable this feature.
    & Q8 o6 N  h+ N5 Z
  323. ; http://php.net/ignore-user-abort
    + @& H4 p) A7 ?- {' U; Z4 B
  324. ;ignore_user_abort = On3 C' W  m4 k, g
  325. $ b# w) M+ t. R7 {
  326. ; Determines the size of the realpath cache to be used by PHP. This value should) T7 I+ u' p3 o3 s7 E
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    ( c- w& {4 f) V: W
  328. ; the file operations performed.2 y, I& e. d9 z; X
  329. ; http://php.net/realpath-cache-size" D3 i+ W+ z$ x3 ]5 m
  330. ;realpath_cache_size = 16k# y( F" ]3 [2 }9 e6 b5 y- r; Z. c

  331. , O/ V4 I6 n: [9 W
  332. ; Duration of time, in seconds for which to cache realpath information for a given- s7 B, ~5 Q) k5 O' }
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    ' M. c- n5 O- a* L  `' Q
  334. ; value.4 P" w( ]: b$ ?$ b* [6 q
  335. ; http://php.net/realpath-cache-ttl) R& h6 s4 B) u# e
  336. ;realpath_cache_ttl = 120
    + x8 S, a) \! b3 d9 y

  337. 7 Y) b5 B* t) a) g) g$ S) x
  338. ; Enables or disables the circular reference collector.0 m& i. |, n/ M# C+ F
  339. ; http://php.net/zend.enable-gc
    2 _' j  {: @' p0 U$ _: q
  340. zend.enable_gc = On. f! w9 d: O$ {

  341. " p# `: U3 K6 \+ K
  342. ; If enabled, scripts may be written in encodings that are incompatible with3 r) G& q! J8 ]) N; T2 f
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such& Y6 q2 O" N; C
  344. ; encodings.  To use this feature, mbstring extension must be enabled." p: o- |: ]' a0 V* q, x8 X
  345. ; Default: Off
    6 T6 R8 f3 Q9 C7 y- {% s6 F
  346. ;zend.multibyte = Off
    . S9 v% s& z2 ]7 a9 i) S; H4 v
  347. 2 A9 }- Y$ O* O* D
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    : ?# d+ E2 V/ c! Y) y6 v, d
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    5 C& Q# f& H8 K  @7 `2 [
  350. ; Only affects if zend.multibyte is set.8 [8 g, ~, f1 P5 \" W% Q' P0 F
  351. ; Default: ""/ k2 v0 c# n* e& _9 c
  352. ;zend.script_encoding =& k3 ~$ t  |6 r. S$ v' x
  353. * H4 @4 y# e8 P  Y
  354. ;;;;;;;;;;;;;;;;;
    ; N, Z7 [1 K: V3 ?3 `5 K# h  F  t# T* E
  355. ; Miscellaneous ;
    6 c5 n0 D, N, {: C3 C* H
  356. ;;;;;;;;;;;;;;;;;3 u( t1 \' u  _* i4 j

  357. 8 A+ j$ g/ B! p* g8 l
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    , H0 M0 `' y& k% w0 R: i6 J( y
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    ( g' [7 H9 J5 g/ [
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    3 f" n4 j! p5 ?5 _/ A0 s
  361. ; on your server or not., p6 C, @, K$ }' L
  362. ; http://php.net/expose-php
    ( v4 O6 N$ ?% M) ~5 P& v
  363. expose_php = On3 `- D) R: |# z. \: g

  364. ! c1 Y0 c' L* S
  365. ;;;;;;;;;;;;;;;;;;;3 e& I$ G1 @+ S$ G( H
  366. ; Resource Limits ;
    - }5 j  c. Y" j7 G- d. R( `
  367. ;;;;;;;;;;;;;;;;;;;7 I  M8 R% j+ M& G2 d4 W

  368.   y' x, z$ l* r1 @# [
  369. ; Maximum execution time of each script, in seconds' ]* r, s/ |6 v4 u5 r
  370. ; http://php.net/max-execution-time
    $ }5 y7 m' E) ]' `. d# O
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI0 b% ?$ X( d/ \6 ?& c3 t
  372. max_execution_time = 300
    8 A# f5 c' D% D3 ~  f9 f
  373. 4 R  G& u3 x- y7 R. q
  374. ; Maximum amount of time each script may spend parsing request data. It's a good& d* @; _" m8 U$ V" j+ K
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly. E4 c, h: f$ h+ h4 n6 t5 ~
  376. ; long running scripts.+ p" C! |: p4 y( j1 Z
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI0 o5 Z+ X) h! C! I+ Z$ d8 `7 f0 A- K
  378. ; Default Value: -1 (Unlimited): d3 i" n$ m: i" w2 _/ i% ]1 R
  379. ; Development Value: 60 (60 seconds)/ I4 ^8 J* e- @' _7 `
  380. ; Production Value: 60 (60 seconds)/ }" l4 G) F) s" H
  381. ; http://php.net/max-input-time
    ) w: |( k$ c* ^5 d$ H, X  k
  382. max_input_time = 60% a  z, O* U( ~/ n. ], v: r
  383. , u  E/ V, ~* a1 f
  384. ; Maximum input variable nesting level5 [& {. W$ G  h$ x0 |, F
  385. ; http://php.net/max-input-nesting-level! n) h8 N2 M' ^2 x: c4 O  W- m
  386. ;max_input_nesting_level = 64( v2 H% e  \; v  t" T0 \4 H1 `4 J( x. u
  387. 0 O0 g% N$ |4 ~- F8 g
  388. ; How many GET/POST/COOKIE input variables may be accepted
    4 N' ~$ j9 y6 l; b5 D  G$ }/ ^
  389. ; max_input_vars = 1000+ I; t' c& ]3 c) B. s
  390. 5 p4 w0 D5 ^" M4 [) }1 \* p) ^6 m. y
  391. ; Maximum amount of memory a script may consume (128MB)
    ' M8 Z7 z; y5 L* R5 I1 A% O0 ^' n
  392. ; http://php.net/memory-limit
    6 U4 X' ~7 t( r. d2 o8 D! S; g
  393. memory_limit = 128M7 ]* {* e$ o4 ]3 z! j5 O4 @5 z: D

  394. 4 e0 H# T1 w7 {; S7 K% r4 d; r' Y( [! i
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6 v1 W" b6 N  q% i1 ^! n
  396. ; Error handling and logging ;3 _! z# @' L& k. E6 p8 P" H
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9 Z4 h1 t: t, i8 x4 k; {) k
  398. $ @7 N9 H1 N$ A! C, P5 h' H6 h! H( T0 J
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    & P6 V3 ]7 i; O4 h1 c7 s) q% E
  400. ; it to take action for. The recommended way of setting values for this0 b7 Z3 x6 ]! j6 u- v
  401. ; directive is through the use of the error level constants and bitwise
    7 N( [4 \4 q; I. q* v# G
  402. ; operators. The error level constants are below here for convenience as well as
    ) U4 t6 p$ t; L  i* {+ z  r
  403. ; some common settings and their meanings.
    & D% H% v0 j) x5 z1 o
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    % Y4 M! U) J" a) G0 f/ g9 [& r
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    5 _( ~' l5 K+ ^
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    4 A# L9 x1 t3 O. n, X
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    8 L9 R, q3 a5 q' S0 ]
  408. ; resources complaining about best practices and coding standards. That's what
    / d8 c0 ~  ^4 @
  409. ; development servers and development settings are for.
    ; G/ x4 L' M# ^* f* K( N' b5 G
  410. ; Note: The php.ini-development file has this setting as E_ALL. This9 N8 k7 f3 I( D( p. n) D& J/ J# h
  411. ; means it pretty much reports everything which is exactly what you want during
    : q) U7 n+ V( k( q' M" h  ?
  412. ; development and early testing.
    " g( q3 v2 w5 U" \: Q1 R* p
  413. ;9 o8 e1 m. N- v6 L
  414. ; Error Level Constants:
    , i7 X6 _% Y1 S9 ]8 x3 L8 k0 a
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    4 P3 b1 \2 ~$ X# r) M8 X
  416. ; E_ERROR           - fatal run-time errors& R( w! e' q0 n. B$ U4 X( O! V
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    1 q6 V. v* d0 ]- H- t# ~
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    ' I; P: h+ {8 h$ G2 o8 P6 u
  419. ; E_PARSE           - compile-time parse errors
    , j; f- S7 o( M4 v) m7 Q/ v
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    / j/ h) g( j/ ^2 C2 g9 n
  421. ;                     from a bug in your code, but it's possible that it was8 k" E/ |5 I+ e* H$ [
  422. ;                     intentional (e.g., using an uninitialized variable and0 c3 M2 K7 W2 i6 c
  423. ;                     relying on the fact it is automatically initialized to an
    0 S- D: r: {$ [/ }$ x3 ^
  424. ;                     empty string)
    % }5 h8 g1 K' A" i
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes: y3 ]; @; B3 U  A- \" I
  426. ;                     to your code which will ensure the best interoperability
    , D$ J: O0 D( g; D9 ]6 k
  427. ;                     and forward compatibility of your code
    + y! {  G" y5 @
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup7 ~3 M$ `& Y2 |6 W% m, y
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    1 u6 C8 K  }+ e) s# z) F
  430. ;                     initial startup. l, {+ {* j; d9 d0 u0 C: w4 z7 d, {
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    % k  C; H+ e7 Q; E/ h2 A+ E
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)9 _2 J5 @: L  M( y1 Z& M
  433. ; E_USER_ERROR      - user-generated error message/ d- e9 R& L3 w. }, G5 W
  434. ; E_USER_WARNING    - user-generated warning message9 _# t: {: l/ U1 G' I, D% k/ ?
  435. ; E_USER_NOTICE     - user-generated notice message$ T: S& ?5 h- y8 ~# }( y; T1 G
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    , h' \8 R* h; Q6 r
  437. ;                     of PHP4 P! l, G$ Q8 D9 E1 a  S+ q
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
      l. e8 h! R+ g' N9 ~5 f2 C$ n/ y
  439. ;
    * E& R# y( z: x: S. r- s* L$ s& d5 b
  440. ; Common Values:
      A! ?: }& g$ [" D  ?5 @0 U
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    7 O, y, y4 U' ]4 Q$ E
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
      Z2 g) |- ]" Y: l( T
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)# b* X( C0 }/ _( W0 k
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors); E3 S. A; R8 p$ b: o0 n9 W. C# R
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED8 c1 X7 S, |% w1 Z! I
  446. ; Development Value: E_ALL2 r0 f# D- f/ Y$ W1 H
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    / E$ f* h, B& [: Z
  448. ; http://php.net/error-reporting  A2 C$ O5 o( E2 Q5 w/ v
  449. error_reporting = E_ALL & ~E_NOTICE: @; ^! {* @: V' x
  450. # I$ I" m: A+ W# D8 ~* W$ e' @
  451. ; This directive controls whether or not and where PHP will output errors,
    - n( W4 x; X" E. \
  452. ; notices and warnings too. Error output is very useful during development, but
    4 j3 S) _9 w" y
  453. ; it could be very dangerous in production environments. Depending on the code
    / _" S- h$ f! v$ Y5 ~9 d
  454. ; which is triggering the error, sensitive information could potentially leak& p4 Q4 o: n, p' d
  455. ; out of your application such as database usernames and passwords or worse.
    " x) w3 |6 a; D5 G8 J
  456. ; For production environments, we recommend logging errors rather than
    8 \3 Z  o: G, d
  457. ; sending them to STDOUT.0 s0 \# G. @9 Z
  458. ; Possible Values:
    + j8 R! u; o0 P& q/ @$ |
  459. ;   Off = Do not display any errors
    9 c6 {3 C2 Y) O- W1 Q8 P  M
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    / }) t9 i" C9 P& q3 L' k
  461. ;   On or stdout = Display errors to STDOUT: C8 ^' Q0 ]$ u
  462. ; Default Value: On
    2 b6 D0 O* s9 J1 N& V
  463. ; Development Value: On. @; @& l/ L7 p
  464. ; Production Value: Off
      L8 z9 {4 r. V3 z& Z
  465. ; http://php.net/display-errors
    . L. ?" f" m5 K5 q
  466. display_errors = On
    + e% T5 p5 V6 J# \" z1 M
  467. * m6 J$ ?. [5 B  t
  468. ; The display of errors which occur during PHP's startup sequence are handled
    % ~  L% ^) g% E& S) d9 `9 a  H4 G9 @
  469. ; separately from display_errors. PHP's default behavior is to suppress those7 ^5 _% _! _% U
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    6 X' M  W3 T9 s* K# k9 m
  471. ; debugging configuration problems. We strongly recommend you; w! p+ K: s. C- I( z. D$ h
  472. ; set this to 'off' for production servers.4 c0 j+ g  {2 _: D
  473. ; Default Value: Off
    9 f5 [) J( P% o$ t" o4 n! `
  474. ; Development Value: On( ]3 _8 }" L! k2 k% y; l/ B# n  m
  475. ; Production Value: Off# Q0 Q( h: e- V: R. v( y5 W
  476. ; http://php.net/display-startup-errors
    ) b) u/ P6 }% d
  477. display_startup_errors = Off
    # E7 G8 P0 D. F- h+ R
  478. 1 V4 P. S$ S, x$ _9 C1 C: S
  479. ; Besides displaying errors, PHP can also log errors to locations such as a$ `1 c5 O+ \1 ]; l* e. L! r! J5 U
  480. ; server-specific log, STDERR, or a location specified by the error_log' w. U: I$ G! h% D( X
  481. ; directive found below. While errors should not be displayed on productions1 @% X2 t/ ~5 ?' T$ ~2 l; y
  482. ; servers they should still be monitored and logging is a great way to do that.3 P0 y1 x! [( l% F: M" ~
  483. ; Default Value: Off' Y+ K+ Y0 ~! ?  I, D) u4 N- Q
  484. ; Development Value: On
    7 r* K7 B" j- f( w% R6 M
  485. ; Production Value: On
    ; e: D$ u" U4 e
  486. ; http://php.net/log-errors2 m; s  i, y9 V& `9 l# {' R. O" O- S
  487. log_errors = On# I5 a! V* l( v0 I

  488. 5 F$ j0 f7 ?: a8 L* D( ]
  489. ; Set maximum length of log_errors. In error_log information about the source is
    4 e0 ^% q" d! d" P
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    5 B7 L. N' o/ ?( d" p2 q2 H
  491. ; http://php.net/log-errors-max-len
    ' q8 _( `% \" I1 H5 P  i  ]: D
  492. log_errors_max_len = 1024
    2 C4 f2 n/ G; K4 |# E  N6 d# x, r

  493. 4 D0 X8 P' z& ?. ?( v, i, s" ?
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    . ~0 y- G; ?. |; f3 ^+ r# t
  495. ; line unless ignore_repeated_source is set true.
    - D( p. o" Z2 T+ T8 b$ [9 D
  496. ; http://php.net/ignore-repeated-errors/ C6 d9 o3 l! p+ y
  497. ignore_repeated_errors = Off; u7 |. a7 f* u) a

  498. 1 _1 z$ f) O6 ^5 a  _
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    ) H: u! ?) U7 F& r3 m& V
  500. ; is On you will not log errors with repeated messages from different files or" s: d5 m# k8 s* G/ u; [) w
  501. ; source lines.
    0 w, ?% q; A+ V, h4 m
  502. ; http://php.net/ignore-repeated-source
    / u( t+ x7 i6 p) P2 F: U
  503. ignore_repeated_source = Off: U! F4 j8 a; J6 {- f
  504. 2 D3 i; \( q+ ]3 d# W
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on& Y5 [3 L/ ^6 C
  506. ; stdout or in the log). This has only effect in a debug compile, and if- n% m. }: J% Y' v1 {; U
  507. ; error reporting includes E_WARNING in the allowed list9 Y& D. K- [7 I& u
  508. ; http://php.net/report-memleaks
    # L% X: t9 L- v, @8 B3 b1 k7 c
  509. report_memleaks = On0 @2 f6 |0 l+ J; h2 @( k
  510. ' V; D% R- {5 |& \8 b& c- p- w
  511. ; This setting is on by default." z6 g+ k( q3 }# z
  512. ;report_zend_debug = 0
    / G( v- y& a9 S7 u5 |) v

  513. 6 n# V* p* Z& G1 D5 ]7 v* \) ~
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value0 c5 @8 Y- `. m( X* S( ?7 _; q
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    9 R2 g9 j% [) n2 @! X7 i, F
  516. ; however be disabled on production servers.$ n: X/ w, E: M8 C) c
  517. ; Default Value: Off( q; }& |) [4 p5 ^- _6 i
  518. ; Development Value: On
    0 L( |, O+ r+ J# f$ h
  519. ; Production Value: Off! x% h+ |- S4 {: d: b8 s4 G/ J& F
  520. ; http://php.net/track-errors
    + U! [. e; j' C$ O! J) x0 b1 d
  521. track_errors = Off( D) c- v$ ~, ?$ u& b- q" H0 |
  522. / I/ t5 A* {6 |6 X% Y. q- `5 L
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    * {, A1 x0 P1 [! f9 J& O- o' g
  524. ; http://php.net/xmlrpc-errors
    5 P" T/ a6 d2 E% {5 ^. l- \( ?/ w
  525. ;xmlrpc_errors = 0
    & h1 I! K( V4 e4 j
  526. + E, _  Z9 ]4 O9 H( C
  527. ; An XML-RPC faultCode& C3 [& ?8 `1 P9 P$ z
  528. ;xmlrpc_error_number = 0- P: v1 q* k% ^5 h0 ?# z
  529. ! S2 L& R! }; G" }3 R
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    - o5 |$ g0 }& I/ w/ ]6 `" V) u
  531. ; error message as HTML for easier reading. This directive controls whether
    ' i8 H0 Q4 d$ {; u6 F6 e
  532. ; the error message is formatted as HTML or not.
    * q8 f1 q7 M1 {) G
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    # o/ U2 M4 U2 p, i, a
  534. ; Default Value: On
    / C  n4 ]& v8 h8 Y1 `, |: y
  535. ; Development Value: On* e! E. G9 p& b: T" J5 w
  536. ; Production value: On
    : _7 i6 P5 n! X$ x& f1 a
  537. ; http://php.net/html-errors
    * l( ^5 r+ ~8 I+ V7 j
  538. html_errors = On, _5 k/ k* m# g  S! W

  539. $ P# N) N/ q0 T" n9 @5 o* m
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP( u& [' e+ @$ _. N4 l
  541. ; produces clickable error messages that direct to a page describing the error/ _) \+ ?0 [7 u! V0 t" `2 o/ ~0 S
  542. ; or function causing the error in detail.
    3 A7 O6 g1 E( \0 ]- ^
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    , ?' ~& G/ @' t' m$ O; U" }
  544. ; and change docref_root to the base URL of your local copy including the
    : X4 w/ O  N5 u; C, l" n2 {! h
  545. ; leading '/'. You must also specify the file extension being used including
    # P3 r: `$ m4 F% m# W5 i8 N6 [
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which" n! r+ g2 F0 C3 O. V% U
  547. ; case no links to documentation are generated.( P7 _/ ]. W8 @  Q
  548. ; Note: Never use this feature for production boxes.
    * o* s" m: |, c, l; K
  549. ; http://php.net/docref-root
    # r$ y. A) x& n
  550. ; Examples
    - |5 F1 ~! l* J
  551. ;docref_root = "/phpmanual/"
    ' f6 {7 d( E% d' s& v; i
  552. % m' s/ H+ D1 I) n  U0 {
  553. ; http://php.net/docref-ext0 r# J' Z* {1 p* l
  554. ;docref_ext = .html4 g9 A# q6 P1 N& v9 G% B

  555. 1 Z% ]# h9 L+ @0 v% X
  556. ; String to output before an error message. PHP's default behavior is to leave3 [# u; f' {4 u
  557. ; this setting blank.- V2 n, h% V5 P
  558. ; http://php.net/error-prepend-string* Z! N  `& {( y: W5 ^8 d: F
  559. ; Example:# f' }0 _( e1 ~* P( W
  560. ;error_prepend_string = "<span style='color: #ff0000'>"& b) O- ^& w" Y5 V9 u' D
  561. : s* v1 F  C) W. E$ z! z
  562. ; String to output after an error message. PHP's default behavior is to leave
      M) Y, F9 n' C8 U9 k( N
  563. ; this setting blank.
    1 t4 v- f! h5 j2 N0 P3 T
  564. ; http://php.net/error-append-string% Q) D: m' ?5 y, b
  565. ; Example:
    & ]& F0 E- x- ?! W9 I9 u% F
  566. ;error_append_string = "</span>"; t; A; ^8 {' X) Z0 l3 o/ v
  567. . z" I7 q- q. _7 x4 X9 Y7 Q
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    , z1 i2 i! A4 ~5 K9 a3 f
  569. ; empty.$ E! W4 v2 j( b& Z5 q
  570. ; http://php.net/error-log9 V9 [& v+ S# v+ M2 J6 ]9 k
  571. ; Example:9 L0 \7 l/ s8 I, c9 ~
  572. ;error_log = php_errors.log- y: a8 D2 A, ~4 r9 l' K" M/ K
  573. ; Log errors to syslog (Event Log on Windows).
    8 N; j' K; t7 E) ~. [
  574. ;error_log = syslog/ L) K% a2 c, T- s0 R  n( A

  575. 0 ], H) E6 O5 t4 r$ V# W
  576. ;windows.show_crt_warning
    + `# A! Y: n- q2 O' A
  577. ; Default value: 0
    . A3 h: N4 l6 ~, ^+ j, @5 _* r- a4 O
  578. ; Development value: 06 x9 [8 ^/ y5 e/ z3 B- ]
  579. ; Production value: 0
    ( r+ i; a. a! C  N9 l, ?( J, }
  580. + L4 F: n+ N2 k( O1 ]
  581. ;;;;;;;;;;;;;;;;;
    5 o: o" |; }4 [3 b% \- _5 b
  582. ; Data Handling ;
      t7 S: }$ ?  t& C  g/ q% \
  583. ;;;;;;;;;;;;;;;;;
    6 q# O4 R# I- I( S  u, M

  584. + A4 s2 t; y7 B: a( a) i
  585. ; The separator used in PHP generated URLs to separate arguments.1 l; n9 V) h+ X) D9 k8 B
  586. ; PHP's default setting is "&".6 P- g7 c# g) N6 D4 v+ ^( ]
  587. ; http://php.net/arg-separator.output/ c8 v- J) ?' L9 g
  588. ; Example:$ r# a% k; |3 s# d+ ?: {; @
  589. ;arg_separator.output = "&amp;"
    . v3 n$ r3 Q8 f6 l8 H7 D9 R. l

  590. 3 `9 y; u; \) a* H+ g
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    6 m2 q" `1 Z: e
  592. ; PHP's default setting is "&".5 B$ R9 q$ Y. y5 O6 T- S
  593. ; NOTE: Every character in this directive is considered as separator!. z; f  g- ?5 i9 D
  594. ; http://php.net/arg-separator.input
    9 P* _  H. z+ F4 X) _
  595. ; Example:( Q. n  Z, e& `! @
  596. ;arg_separator.input = ";&"5 z) M/ d! L8 e/ ?% g6 j1 z

  597. 6 u% l+ }8 @8 f  `! H
  598. ; This directive determines which super global arrays are registered when PHP6 L' Q( ^; J, O0 j! ?
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    2 Z0 i8 ?+ r! r
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    8 R" @; A9 o9 X3 M9 [; I9 n  ]
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    / f) R: h. }' y; _0 e
  602. ; used as the others, ENV is not recommended on productions servers. You
    / F( A$ O- X8 o, V8 |. Z5 V
  603. ; can still get access to the environment variables through getenv() should you- G" _- E+ u7 I3 b; h4 }, T8 ]# T
  604. ; need to.
    3 @8 y* e9 P3 Y/ K6 `6 h
  605. ; Default Value: "EGPCS"
    0 D2 \5 I& S5 A, j
  606. ; Development Value: "GPCS"9 D7 @' i9 L6 D0 I% k7 L
  607. ; Production Value: "GPCS";) s* r- U) y* j0 G. y5 F% c
  608. ; http://php.net/variables-order
    9 G1 t" {* J0 }; p: d
  609. variables_order = "GPCS"  t, Q# M; U) S- O
  610. 6 z" {+ f$ e" y4 Q, }6 W# ]7 m
  611. ; This directive determines which super global data (G,P & C) should be# @" w7 v2 T1 d* m8 r
  612. ; registered into the super global array REQUEST. If so, it also determines
    5 z. t2 ?7 Z( ~) M% `* z/ h# S
  613. ; the order in which that data is registered. The values for this directive$ r& ?% u/ R! Y8 {, o. C
  614. ; are specified in the same manner as the variables_order directive,1 R) _: n! h; E6 H: s0 h2 X4 U
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set! w! f+ w: C2 \, i* r% z' \. J
  616. ; in the variables_order directive. It does not mean it will leave the super
    $ E9 c! ^5 N7 D# T# S
  617. ; globals array REQUEST empty., R+ s) v* i6 @$ ]4 o8 x% i
  618. ; Default Value: None
    * C- H0 m3 f- F! z/ R
  619. ; Development Value: "GP"5 u$ l# C2 P! y, c
  620. ; Production Value: "GP"5 w. I( E, {" L* v2 U- _1 n
  621. ; http://php.net/request-order
    0 q$ L) z( H) y1 `
  622. request_order = "GP"
    5 d  E4 D+ p" [4 k$ F
  623. . w/ a. u, p7 v' x+ q
  624. ; This directive determines whether PHP registers $argv & $argc each time it0 n" E- E2 H$ z5 g! ~1 Q
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script) p: d% l" v! D
  626. ; is invoked. $argc contains an integer representing the number of arguments6 g9 a0 d5 H! s' I6 L
  627. ; that were passed when the script was invoked. These arrays are extremely
    ; J6 G5 C/ C- I0 z
  628. ; useful when running scripts from the command line. When this directive is
    # Z# f! ^7 c/ l8 {0 [9 v& q% }( z" X; f
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    3 _' [% d7 I; y6 I9 O1 l$ p* p) v
  630. ; a script is executed. For performance reasons, this feature should be disabled- O6 r( \6 W( \' W
  631. ; on production servers.
    4 A/ ?% ]$ V# E; n
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    . E+ P% j; {/ w* S' u4 W2 f# L
  633. ; Default Value: On, S! z; I- f; ?3 n
  634. ; Development Value: Off. y3 u4 k7 P' A7 s5 C2 u0 a& x8 j
  635. ; Production Value: Off2 |- }3 M8 h* S1 k. |- S( l
  636. ; http://php.net/register-argc-argv% ~, A3 h5 |: x5 {, Y+ A
  637. register_argc_argv = Off, l+ q) M* ?# `2 |( {

  638. - r* s& j9 T, D, v9 s
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    : p: M# {1 G' y" z" [. r
  640. ; first used (Just In Time) instead of when the script starts. If these  m: z* M; v0 r( y# H) o1 f% v
  641. ; variables are not used within a script, having this directive on will result
    / g& i* B' a. r$ C% _6 |3 T, c/ t
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled  o( Y3 {) X/ a  d
  643. ; for this directive to have any affect.. T! L0 B! J; z# m- n
  644. ; http://php.net/auto-globals-jit
    0 J2 t' N% A6 H: I8 \4 D
  645. auto_globals_jit = On! N0 g& x- e6 K. i5 [  n3 C
  646. ( E/ E2 D/ q7 g! F
  647. ; Whether PHP will read the POST data.
    3 r- x5 `$ P2 a$ k7 }- }% j& v2 w
  648. ; This option is enabled by default.  M  ]" {/ \. v8 _6 a, v
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    - x' o' Q7 C, R. {4 ^. `* [% f
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    ; l5 D% I& F. y! `
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    ' ?. i) r# c% X/ @" U, L/ ^0 o- ^
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.+ F+ h7 g' q4 N
  653. ; http://php.net/enable-post-data-reading
    ( J2 j; s7 W6 A) T# u7 G8 _% `* p7 P
  654. ;enable_post_data_reading = Off$ t$ ~8 m8 h! J; S, m% w
  655. $ b% B; g" r) R7 [' H
  656. ; Maximum size of POST data that PHP will accept.
    5 a- E7 ^9 P; k( m9 l
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    + p" W: w7 X5 u! Y- h! L6 S
  658. ; is disabled through enable_post_data_reading.( t; }) c! F+ B% i! M
  659. ; http://php.net/post-max-size
    : z( m3 G, h1 \  B; m- h
  660. post_max_size = 50M
    9 J* n7 o# Q; j5 ~4 L

  661. 7 G" y: p- [' Q
  662. ; Automatically add files before PHP document.
    ; P6 z" N1 i1 |  b! J" U6 j
  663. ; http://php.net/auto-prepend-file. t4 @$ ]2 d6 ], l
  664. auto_prepend_file =
    / m/ z$ o7 h% y  G0 j
  665. # d/ `" B) C+ A$ ]1 r1 Y- f3 G
  666. ; Automatically add files after PHP document./ c& {! p4 P* N" n' x
  667. ; http://php.net/auto-append-file9 l& Z6 w. v, b" o6 r3 f" l
  668. auto_append_file =
    # e9 m8 M5 T( f/ r" s; x2 N

  669. " e+ u) L6 G4 P" Q$ x8 t. K5 W
  670. ; By default, PHP will output a media type using the Content-Type header. To0 N6 _4 w$ c& s* m  ], C
  671. ; disable this, simply set it to be empty.
    ( F* j# c1 U6 e+ y. W/ \! e  ]
  672. ;
      g( q7 C* P. o, e! f0 M& s% M
  673. ; PHP's built-in default media type is set to text/html.& t# X  d! z5 u8 P
  674. ; http://php.net/default-mimetype
    8 @9 G2 w2 m3 }% t) j
  675. default_mimetype = "text/html"( f. D* q* Q# ~3 \! g

  676. 0 f, v. |. f! p' \. k! b" B
  677. ; PHP's default character set is set to UTF-8.* v" g2 O) n9 d5 k  ]
  678. ; http://php.net/default-charset1 d: k+ y  f4 W4 `1 y
  679. default_charset = "UTF-8"/ F. P" _; ^' j
  680. 9 w5 X1 n1 Z8 e$ G( P* z( {9 y
  681. ; PHP internal character encoding is set to empty.
    3 h" z3 `3 ^; M5 Y1 ^( M
  682. ; If empty, default_charset is used.  ?! I5 D- n8 x+ Q8 M9 t1 ~1 B- c
  683. ; http://php.net/internal-encoding3 M, B4 S9 S# Q
  684. ;internal_encoding =" j$ |" O, R' z* Z; D  f6 m* ]

  685. 1 u: ]9 {$ P) J6 x0 }
  686. ; PHP input character encoding is set to empty.. P( |) M! V7 n. {' ^$ j# q
  687. ; If empty, default_charset is used.
    ! ]* D5 l$ w& A  p: `8 G: C
  688. ; http://php.net/input-encoding
    8 Q$ e* d: t2 J
  689. ;input_encoding =2 G6 ~' |, M; `+ \
  690. * i  W* x% B, f, c6 {
  691. ; PHP output character encoding is set to empty.
    7 b8 o6 e7 E) T% r' w
  692. ; If empty, default_charset is used.
    6 G2 D5 l% l/ d, R0 h/ |
  693. ; See also output_buffer.: `1 \, ^% h# ~; P2 @/ E5 V* [
  694. ; http://php.net/output-encoding
    ! U, e9 K4 i8 H
  695. ;output_encoding =* j. c( M. Q. p& g$ G$ F" I6 T2 f

  696. 5 H, Y9 F- H# X* h/ \8 f: j
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is6 u, D8 ?5 H' c) C
  698. ; to disable this feature and it will be removed in a future version.
    6 N, E; |# Z3 b
  699. ; If post reading is disabled through enable_post_data_reading,
    . M8 g& v/ T, S+ O( F9 H" V
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.4 U0 B9 ?$ J+ b$ L8 i; L
  701. ; http://php.net/always-populate-raw-post-data3 e  ?% I- u. u
  702. ;always_populate_raw_post_data = -1; E1 F4 ]* l+ r$ C7 N5 Z2 A
  703. 6 R7 f7 d1 y+ B' {) l) J
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;$ j1 C7 B, {) d/ x
  705. ; Paths and Directories ;
    * Z2 E1 c7 M' p
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    8 l" [; \) ]) M

  707. " U/ F+ A) o- J/ o* n
  708. ; UNIX: "/path1:/path2"2 v  L5 _, A8 G1 G. n$ h
  709. ;include_path = ".:/php/includes"+ z5 {$ ^/ q; U% Y# ]; p
  710. ;) w/ l1 K; t' S7 f: S( O1 U
  711. ; Windows: "\path1;\path2"
    ( z* g4 ?5 V9 j" r) m3 h
  712. ;include_path = ".;c:\php\includes"( s1 x- s6 q' S3 X: l* z$ D
  713. ;! G& K! z* M6 h3 z! U0 P( w- a7 Y" Q
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ( s. r/ K' u) E# e8 \! ~1 `
  715. ; http://php.net/include-path. P$ j: |, v& B! B& I
  716. 4 W+ {. [/ v6 x) o2 Y
  717. ; The root of the PHP pages, used only if nonempty.$ Q5 s8 q5 T/ o( e  W( b
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root3 d- y, U' a+ `1 I
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ' y' k3 z1 b7 H. o( a
  720. ; see documentation for security issues.  The alternate is to use the. Q4 b, m- F3 P- n
  721. ; cgi.force_redirect configuration below5 M, F: w" W( k  b7 ?
  722. ; http://php.net/doc-root1 \/ W/ @" a2 U' O( L( c" N
  723. doc_root =' F+ x* N' O. K7 V- L( o- f' W
  724. $ n+ g0 f% x- W& o# @* ?9 j
  725. ; The directory under which PHP opens the script using /~username used only
    3 B* q; H2 d" ^
  726. ; if nonempty.
    : s  g% V1 W3 {6 H" R9 V
  727. ; http://php.net/user-dir! C& m, g% U+ G/ l+ f
  728. user_dir =! `. g( z# k2 s
  729. 0 r' ]6 A( B  a3 L
  730. ; Directory in which the loadable extensions (modules) reside.
    6 G3 |; b& j4 |+ b: e& p- h
  731. ; http://php.net/extension-dir
    . w4 z% V$ T3 V9 K
  732. ; extension_dir = "./"
    . C" L) U! u! c
  733. ; On windows:
    7 \5 |# i% J; |; h
  734. ; extension_dir = "ext"
    8 q+ ~! ^, \2 r
  735. $ O* G# D: Y  u) \" c! S% c; L2 p
  736. ; Directory where the temporary files should be placed.6 K1 O% W  X- I/ y
  737. ; Defaults to the system default (see sys_get_temp_dir)6 H2 ^+ C/ l3 L; K+ ]& G+ D3 s. {
  738. ; sys_temp_dir = "/tmp"
    4 m# p6 T, V& s3 l5 t; c$ v8 \

  739. 1 |& o: i8 O) L/ l- b, G
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work/ q2 R8 X6 w- w4 J  W
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically3 {8 V3 m9 N- C2 m5 Y) Q6 M+ L
  742. ; disabled on them.- A2 X! r* I$ E4 ^
  743. ; http://php.net/enable-dl' Q! ?3 a3 }' @, F- i7 @6 h0 X
  744. enable_dl = Off
    : _: c# c9 A1 K9 c6 x
  745. 5 F' S* s* l2 r
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under+ l, w  z5 o$ M8 Z/ J; D
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can! y. O8 s8 ?) h. h
  748. ; turn it off here AT YOUR OWN RISK
    : G. x; E; Z+ {, f
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    9 |7 a0 v& n. _! l- r- y' c
  750. ; http://php.net/cgi.force-redirect
      S3 R( F) U. ~2 K% r4 f8 W
  751. ;cgi.force_redirect = 1/ ?6 [1 |/ d9 F4 L7 ?
  752. " t, `7 z* p( _, z" {* X* `4 _
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with) l# Z- R+ O3 D! X9 ^7 ]4 \
  754. ; every request. PHP's default behavior is to disable this feature.
    1 P1 ^& O+ R7 w+ r1 k$ B/ s
  755. ;cgi.nph = 1  L4 R8 x: S6 G( I

  756. 5 }9 V0 o7 w! p  c9 g
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ' @! i' a; {; Q% Q1 ]& f/ P
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP& m# f( `5 U- w4 G" h9 L
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY* U* w' K: B4 ?7 S& P
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.! ?: z% E5 v" b) S+ O& _
  761. ; http://php.net/cgi.redirect-status-env
    & v) s1 R" l: L1 r+ }9 z' B
  762. ;cgi.redirect_status_env =" |! T+ A9 c8 g, u! }3 N
  763. 9 i- c' R, |6 o9 }6 u
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's" G/ u9 R% p0 A* k
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok! x# W: s. E% B) p, k) N
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    8 P5 H" Q2 [4 v* p* L# v$ C1 D
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting7 p4 r6 A/ @& h7 l' _
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts$ Y! u8 V0 R$ p; ^
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    # c) \- e2 j# o* P: u  w
  770. ; http://php.net/cgi.fix-pathinfo
    & X: D" |8 Q. F  J
  771. cgi.fix_pathinfo=1% @# {# m0 V" {/ c' |0 A3 a) R

  772. " D4 u% _1 S7 W& _6 \. d( S
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside3 X: j8 @, ~/ F8 I  I/ i; R
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    + E  }4 A' [0 ^4 s) c
  775. ; http://php.net/cgi.dicard-path" r3 E' N3 r- V1 m
  776. ;cgi.discard_path=1: z7 J5 z( A( N4 X2 L0 e

  777. $ T5 A) V2 D  {: z
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate9 b* y. \6 ~+ w! B/ h
  779. ; security tokens of the calling client.  This allows IIS to define the
    0 ]% S* X# r+ t% i$ o
  780. ; security context that the request runs under.  mod_fastcgi under Apache2 w; J2 O" U4 \. G( B
  781. ; does not currently support this feature (03/17/2002); O. B4 {5 T- l
  782. ; Set to 1 if running under IIS.  Default is zero.
    + w7 F+ Y2 g/ d- ^, q
  783. ; http://php.net/fastcgi.impersonate
    7 Q! b! p& y1 {
  784. ;fastcgi.impersonate = 1
    3 L6 C! m7 `3 l! j, R
  785. ! ~3 O9 W: ~/ L
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable* E- T: X. o1 G" r5 a
  787. ; this feature.
    ! ]( t7 N9 d. |5 G8 I2 l1 ~1 z$ ?
  788. ;fastcgi.logging = 0$ l2 w; l. X0 i2 K  [
  789. ! `- ]& ?. R0 _* T
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    & T; K9 f. h# A- o0 K7 w
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that3 n' c0 P( S, P- l
  792. ; is supported by Apache. When this option is set to 1, PHP will send! `9 }) G( S1 H: r2 V; ?
  793. ; RFC2616 compliant header.
    ) e  ?, J- }$ ^8 ?* r# K% n- W
  794. ; Default is zero.
    + K0 R/ Q* ~! t* y$ |; j, ]6 j! B& |
  795. ; http://php.net/cgi.rfc2616-headers0 s) ]9 z- X+ L' F7 U
  796. ;cgi.rfc2616_headers = 0  n6 M- r8 D/ [# \- [6 v% _' p

  797. 7 ]: H8 [; p& q+ X! E
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!/ Z. x* [- y) |" u, j& I2 Z  Y
  799. ; (shebang) at the top of the running script. This line might be needed if the
    / S4 b( H% \2 w- V9 Q5 q
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI: I" d6 [2 f" x
  801. ; mode skips this line and ignores its content if this directive is turned on.& C8 C6 ~: ^0 f9 _$ W
  802. ; http://php.net/cgi.check-shebang-line# b) C- R9 ?* R. w7 f! S
  803. ;cgi.check_shebang_line=13 q4 s2 L9 }1 f* L# w2 q6 F* }

  804. $ o9 x3 G0 [% s5 e1 i, m$ {
  805. ;;;;;;;;;;;;;;;;. T. ~% X+ j4 t( V+ |0 C( y; W- E; L
  806. ; File Uploads ;
      X9 R2 Q3 ]. O5 Y
  807. ;;;;;;;;;;;;;;;;
    4 B: |' `, Q$ n6 p
  808. 9 i% y. L3 m  D) u
  809. ; Whether to allow HTTP file uploads.1 o1 h. X4 Y6 o+ G
  810. ; http://php.net/file-uploads8 {4 x4 n8 t! e- z: K  T% G7 E/ G
  811. file_uploads = On
    - ]" Q$ O: M6 K& j' b5 n

  812. / _" u/ x/ |$ _" M0 @
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    ' I% N7 ^$ \1 |5 W0 f% A0 Z
  814. ; specified)., P6 h7 |: k9 o$ Y4 X1 p- G  `
  815. ; http://php.net/upload-tmp-dir
    ( s+ c: f+ A! O  C8 L8 v$ T
  816. ;upload_tmp_dir =' b" s9 z6 a1 o. `' l$ J8 C2 h

  817. " Z. n7 U0 J9 R; ]- w; U. K! `
  818. ; Maximum allowed size for uploaded files.' F3 p1 f& z' W. t
  819. ; http://php.net/upload-max-filesize% z6 O! y. F& s# u
  820. upload_max_filesize = 50M
    - m. L& O+ C4 k4 I  A" ~

  821.   o* f, q% y6 j2 _
  822. ; Maximum number of files that can be uploaded via a single request
    ! S6 @# X& k/ @! E/ b  k1 q
  823. max_file_uploads = 20
    8 d. b; q/ G" X3 p+ _0 [' W
  824. + z( t. e: C4 I% L, `
  825. ;;;;;;;;;;;;;;;;;;/ y& @- B0 E( N/ n$ j5 p' _
  826. ; Fopen wrappers ;4 C  G8 A+ i+ ?9 f
  827. ;;;;;;;;;;;;;;;;;;3 z1 U# B' M9 T5 ^

  828. ; R. S, o+ E3 O7 a, R$ u2 p8 g
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ! A; `' Y4 Z/ r$ e* m1 _3 P$ ]
  830. ; http://php.net/allow-url-fopen
    ' l% R/ z6 K: Y* {
  831. allow_url_fopen = On4 G" B3 y+ @$ P( Y3 @3 f

  832. 9 p4 C: h- O& l0 ~4 }0 z" E6 t9 w
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.1 n5 r- g4 \5 k) U/ D1 p
  834. ; http://php.net/allow-url-include
    & n9 v1 P2 d3 @# c8 E( q  Y% q
  835. allow_url_include = Off, \. n5 @, B3 Z+ |- z. u

  836. % b, u4 A: P5 n+ H' G
  837. ; Define the anonymous ftp password (your email address). PHP's default setting/ y1 g; ^, n! T3 B0 z2 Z( [9 b
  838. ; for this is empty.
    5 R1 }3 d  I# s) ]$ Z' A
  839. ; http://php.net/from4 G: \8 X7 P/ v8 S$ Z+ b! F
  840. ;from="john@doe.com"5 r8 \. c% w  y5 T% X
  841. ) {' p4 Y- o. O8 y. u8 `
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    * h4 w" r+ p3 M% k+ |( H1 i
  843. ; http://php.net/user-agent" A$ g+ P( z: k4 A- [2 k( u# O
  844. ;user_agent="PHP"
    5 _$ H- H# I9 C" a
  845. , B3 E  E4 E2 f, A! @. M# i' R
  846. ; Default timeout for socket based streams (seconds)
    * g( s1 ]/ o6 l6 @! j) A5 h7 ?4 c
  847. ; http://php.net/default-socket-timeout
    ' x5 [' k8 R! r. z! J' j- R& B6 F
  848. default_socket_timeout = 603 `) v6 \  |- p6 N* s: v
  849. 8 l5 C9 F+ c. t# U3 C
  850. ; If your scripts have to deal with files from Macintosh systems,
    1 H1 K- t6 _' S" Z+ [9 c' H; Y
  851. ; or you are running on a Mac and need to deal with files from: |8 M" D* I3 W. p0 X# F' o9 v$ S7 W
  852. ; unix or win32 systems, setting this flag will cause PHP to7 h; b4 ]% w% @- p
  853. ; automatically detect the EOL character in those files so that
    / G: D1 z$ a: N$ v
  854. ; fgets() and file() will work regardless of the source of the file.1 ^( x" i: F8 c& P$ N- r
  855. ; http://php.net/auto-detect-line-endings
    9 Y2 a2 @* e1 l+ L: e
  856. ;auto_detect_line_endings = Off  h& J7 @: [4 }1 o/ m7 F6 l( v" z

  857. ! O. i) |9 }2 {3 o* I, C/ X- ?1 t+ Y3 G
  858. ;;;;;;;;;;;;;;;;;;;;;;! ]# P9 y: U( e
  859. ; Dynamic Extensions ;
    ) e( a8 C2 ?6 I+ E1 ?, p
  860. ;;;;;;;;;;;;;;;;;;;;;;
    / u9 R" S9 J9 W- K1 B# F+ ]: z& l

  861. $ q( Q. C( e, y# d+ j2 d+ n! T
  862. ; If you wish to have an extension loaded automatically, use the following- b6 f' P- ^: P, X! B6 w6 C
  863. ; syntax:
    1 r7 x3 l4 m) j1 N1 f0 k
  864. ;
    ! w8 }3 @( @# ]" w$ m3 z+ S1 h& c$ _
  865. ;   extension=modulename.extension
    7 X1 B0 w! _- p! l$ c. d
  866. ;
    ' n) R% p3 q# o1 U7 T  T
  867. ; For example, on Windows:
    6 h9 T' O5 R. k
  868. ;
    : ?5 J/ g# j0 C* {5 i% ^5 S4 H
  869. ;   extension=msql.dll
    7 N" X/ J. t  j4 O/ m
  870. ;: f% F" r7 z; d4 R) m9 V; q0 Y
  871. ; ... or under UNIX:
    9 u7 O3 b/ O& o0 N1 V, p2 I% J
  872. ;% I$ \, [/ J% c% M5 z
  873. ;   extension=msql.so# q! D8 F% `) \6 d  k6 ?# y2 ]
  874. ;5 h4 L+ L% q  `. k, d, y- e' q$ A
  875. ; ... or with a path:& f" L3 ]* [( r7 U* V% G- y" [
  876. ;
    7 B4 N1 x+ j; k6 t, f. y: g' ?
  877. ;   extension=/path/to/extension/msql.so
    6 i9 s' }* B  L  N( l
  878. ;
    % M7 u  {7 N& R4 O8 r  D* \8 o
  879. ; If you only provide the name of the extension, PHP will look for it in its
    - r+ j3 W; v& N7 D. f
  880. ; default extension directory.
    / q. b% P! M  o
  881. ;
    & d& ]" F0 \# p$ c3 K; N
  882. ; Windows Extensions5 K$ _* Q9 ?8 c8 }9 Q
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    % l5 U& u/ j* ?7 {; f
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)4 A( Y) D8 U8 J: w0 i. @
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    $ A' E: p+ E# o
  886. ; Be sure to appropriately set the extension_dir directive.) J$ Y+ O# }! D! a: P3 t
  887. ;
    4 x! \9 u& P2 `" V$ x9 N
  888. ;extension=php_bz2.dll
    $ c* F6 e7 f* m$ i
  889. ;extension=php_curl.dll% k, I1 C6 n3 p1 `# Y. M  m
  890. ;extension=php_fileinfo.dll( z4 _1 E$ R0 @
  891. ;extension=php_gd2.dll6 k# q. \) _% N4 R2 g; G9 j
  892. ;extension=php_gettext.dll) n1 O. V# J" G' [
  893. ;extension=php_gmp.dll
    ; ?5 [; b3 u, f! `" O
  894. ;extension=php_intl.dll
    $ E) y! ], t9 }( |3 `; K
  895. ;extension=php_imap.dll
    ) k$ B- D$ T, R- T) F
  896. ;extension=php_interbase.dll
    ' y! |" ^" r# a" L7 Q. U, N
  897. ;extension=php_ldap.dll( J$ v' q! q9 Z, Z. D6 j' G, |
  898. ;extension=php_mbstring.dll
    8 P$ L! t; }- [( H/ O6 _* y
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    1 k( K+ p, e$ a1 |. c
  900. ;extension=php_mysql.dll
    , t( o0 H8 N. a
  901. ;extension=php_mysqli.dll
    6 |/ U; X# D- |& ^; ~4 R
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client- m/ Y8 e2 X% i6 X0 A2 Y" v& U
  903. ;extension=php_openssl.dll
    & g6 o* q6 l8 U1 ~3 g0 r8 U
  904. ;extension=php_pdo_firebird.dll* N- k5 c* b4 ~
  905. ;extension=php_pdo_mysql.dll
    % P+ v$ V( e6 w. Q+ c# @+ X9 R
  906. ;extension=php_pdo_oci.dll. e3 y2 K8 W* Z. Z5 E
  907. ;extension=php_pdo_odbc.dll
    0 U) o5 }' e2 P' X7 Q: {
  908. ;extension=php_pdo_pgsql.dll
    ! {0 {$ b/ D3 _0 A; I1 f; d4 `! P
  909. ;extension=php_pdo_sqlite.dll
    , C* _4 N% k' b, x9 B& V3 t
  910. ;extension=php_pgsql.dll; t; C. Q, m% O; s1 @% b2 W, |
  911. ;extension=php_shmop.dll
    % g, h$ m1 {: x: b6 Q' u4 h

  912. + f0 |2 M3 S, r# Q6 c4 }4 o
  913. ; The MIBS data available in the PHP distribution must be installed. # a  }; v" j8 Z2 [; k0 h. v
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    - u  O: H9 R6 s
  915. ;extension=php_snmp.dll
    5 n! ^& S9 H$ ~# N6 l8 _4 O9 v# [
  916. 0 J. Q3 \5 q' J# n: H& l- r9 k, _# l
  917. ;extension=php_soap.dll1 ^$ Z; \. |( u2 \* j& S7 Q
  918. ;extension=php_sockets.dll
    . Y$ S0 q8 D+ U" L! Z2 Y
  919. ;extension=php_sqlite3.dll
    % m* y1 V9 h* B; c' `( H
  920. ;extension=php_sybase_ct.dll! Z! I' f- `, P9 d* X, D+ V' @0 s+ P1 d
  921. ;extension=php_tidy.dll; D$ F- B# K8 K# z: i( D$ G; K' [
  922. ;extension=php_xmlrpc.dll( `8 j  l; o! s% e+ i
  923. ;extension=php_xsl.dll$ @& j" }; r  S# Q' a$ [

  924. ) B3 R2 P' y9 R7 v9 ?
  925. ;;;;;;;;;;;;;;;;;;;
    / c9 ~/ y3 P3 N, j* R. K
  926. ; Module Settings ;1 L- I! ~1 w7 J; ]# y: g
  927. ;;;;;;;;;;;;;;;;;;;
    1 X4 e& Q- I* W4 k: @$ U8 |
  928. - X/ M8 s& V/ M& V7 @9 k
  929. [CLI Server]" q/ U) e2 I9 R4 Q& f- ~* e% v
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    . V6 i; l/ q# F, o
  931. cli_server.color = On3 q/ X* c( j6 H, K* a  V0 u
  932. + |! {* l) ^6 m' _0 W! c7 O
  933. [Date]; e" N! {6 x: ]; A
  934. ; Defines the default timezone used by the date functions
    , |' S* V' w5 w% l) P% q' w
  935. ; http://php.net/date.timezone
    ) V. E  `( o8 ^' E  Y  ]
  936. date.timezone = PRC3 m# w3 [, J4 ^2 q* Q
  937. " w2 i" O( E! J
  938. ; http://php.net/date.default-latitude
    & `1 `: i2 U5 @4 a" A9 J
  939. ;date.default_latitude = 31.7667
    9 ~9 g% b! H3 D" ^5 E
  940. % ]0 E% h3 V+ |" ]  @
  941. ; http://php.net/date.default-longitude
    ! u. Q7 y. b# {  }, a4 |/ O
  942. ;date.default_longitude = 35.23331 t7 S% H5 x+ ~5 a5 {

  943. 5 l" q5 b/ M: c  s  e4 K, g
  944. ; http://php.net/date.sunrise-zenith
    5 ?* I* R% _& y5 Q. ?6 ]4 G5 W
  945. ;date.sunrise_zenith = 90.583333, O) I- }# c0 C4 c: q3 W- u9 T5 B
  946. * f9 a1 [! X7 X- `# C5 i* G8 A
  947. ; http://php.net/date.sunset-zenith
    1 }/ o7 f4 R' b9 j
  948. ;date.sunset_zenith = 90.583333  Y) t# H  Q8 W$ K

  949. . f' X2 M4 p1 |) f2 M; H4 i
  950. [filter]
    5 H5 u% T) i9 A7 D0 q$ h
  951. ; http://php.net/filter.default
    4 ?+ H5 F4 `1 _1 |! N- L
  952. ;filter.default = unsafe_raw
    8 N0 v8 Q+ K; X# Q) \% U2 S

  953.   T. U) P3 ~# z
  954. ; http://php.net/filter.default-flags) l& i6 B, t- w0 A' b2 U- z8 D; m
  955. ;filter.default_flags =# @7 w2 s- G8 n3 e/ j6 x# Y6 R  }. w
  956. % Z) x8 ?. e2 j) c% A0 Q# A
  957. [iconv]- y  W  ?0 I% Y3 N4 s! |* @
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.( X' j: q; O* Q9 N9 Q4 r9 i' [
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    $ c9 _' |+ R+ O
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ( R% U) ?, v1 c) a4 j( O
  961. ;iconv.input_encoding =$ R, q6 Q9 c# H; G3 c
  962. ; M/ L. L; w) d2 L6 l
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
      C9 U- T  n. N) U8 l' O
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ' X8 ]& ]' F) Q7 u3 k1 \
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    + ], Z2 w/ J; h! ^
  966. ;iconv.internal_encoding =; d/ \* c; p0 |. }

  967. 8 E) X1 t; |/ G6 c, p  H7 x
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    " M: J2 k  T: s; y3 T
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    * ~% p- e) @. E9 g
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding! u+ I% k$ X& _% t7 H
  971. ; To use an output encoding conversion, iconv's output handler must be set7 v/ t% V5 w  J- `2 M
  972. ; otherwise output encoding conversion cannot be performed.5 Z) C6 ~$ Z/ c- `" w' ^8 v  ]
  973. ;iconv.output_encoding =
    $ {8 X- Y2 C1 |6 C" Z* ?

  974. ' d1 ?, n$ @8 X  Z7 ^% M$ u3 y# l
  975. [intl]) a$ u# [1 y, J! H
  976. ;intl.default_locale =
    ! C: ]# `# L- K- S% I- i2 ~6 V8 D/ k% G
  977. ; This directive allows you to produce PHP errors when some error
    8 h) k, C3 N; l4 _. W( h
  978. ; happens within intl functions. The value is the level of the error produced.& ]& r! F7 M2 W7 J4 L1 C2 g
  979. ; Default is 0, which does not produce any errors.  f6 a4 c. N. @( {
  980. ;intl.error_level = E_WARNING6 @; I: l- ]2 p5 O- Q4 |) q9 Z
  981. ;intl.use_exceptions = 0
    3 R8 v; m9 Q# z$ C3 K. t

  982. 4 {1 b( K: i  O% r8 J, Y: I1 b. T
  983. [sqlite3]
    % S" v, r8 O* d) L4 w  a4 a1 n
  984. ;sqlite3.extension_dir =
      Y; y3 a1 e! ]
  985. " I) H' F: i" E! M* b7 M
  986. [Pcre]" U2 I! ?+ W' B
  987. ;PCRE library backtracking limit.' H8 L" r. ]" u
  988. ; http://php.net/pcre.backtrack-limit8 Z1 f! z+ |& T, w
  989. ;pcre.backtrack_limit=100000$ t9 |6 {2 h0 R3 D4 \% h: f' A; V

  990. . I/ d5 H4 I7 R! }% `
  991. ;PCRE library recursion limit.' z6 g& ?5 w. Q4 T2 P9 L
  992. ;Please note that if you set this value to a high number you may consume all
    5 ]- ~( j2 S" [- A
  993. ;the available process stack and eventually crash PHP (due to reaching the
    ; _4 v/ D/ F) q# Y7 k2 q
  994. ;stack size limit imposed by the Operating System).
    1 G# i7 c& T7 j# K& O: w; X
  995. ; http://php.net/pcre.recursion-limit3 a0 H4 Z5 Y9 y0 O
  996. ;pcre.recursion_limit=100000
    5 }4 @& x& r, d" R1 B! R

  997. 3 y. q; W6 G6 F% v$ i. |+ t& g
  998. [Pdo]
    , L$ ^6 F  f& v: u5 L
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    3 y% X( G. V, g3 G# [- `
  1000. ; http://php.net/pdo-odbc.connection-pooling
    * c7 Z; y, ^! K3 O* F. I/ h5 C2 ?* ~6 a, {
  1001. ;pdo_odbc.connection_pooling=strict# X, L" d/ Y/ I& m: k; \! t: x0 [8 l  @
  1002. # N/ R; c& q3 }8 }: T# J
  1003. ;pdo_odbc.db2_instance_name
    2 C. n+ z, d7 g: ~! n: v  Y5 |

  1004. 6 `) B% n8 L$ V5 Q; ~! G7 H
  1005. [Pdo_mysql]
      H7 ]4 }6 @* {5 p6 q: v! F& e6 Q
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache  E. Q/ q$ ~- V& l
  1007. ; http://php.net/pdo_mysql.cache_size7 I' q9 H( n6 k/ y
  1008. pdo_mysql.cache_size = 2000
    7 t( W7 i6 N8 e1 x/ ^

  1009. - P' F/ a' u* t6 U& G, p
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    0 R3 k1 h. U6 s3 p9 l
  1011. ; MySQL defaults.* c3 u2 I: j  U. x
  1012. ; http://php.net/pdo_mysql.default-socket
    1 H7 }: W1 C1 `  m9 |) b' o- A
  1013. pdo_mysql.default_socket=
    3 r' W# H  y. Y! U
  1014. - b6 c9 ~6 ^& b) X5 ]1 k$ r9 D3 @
  1015. [Phar]7 z  f8 e7 ^: ~( P
  1016. ; http://php.net/phar.readonly
    9 L0 M& ^7 A; p, _, D) |
  1017. ;phar.readonly = On0 @7 B& c+ [+ I  @! `% {3 h# o
  1018. ' ~- h& p4 y0 k- y2 N: T' x! N
  1019. ; http://php.net/phar.require-hash3 Z; u! |$ H: u+ A2 G  w3 F
  1020. ;phar.require_hash = On* m0 H3 d" e, Q& L7 g6 K
  1021. 1 C0 c: v2 a! d
  1022. ;phar.cache_list =
    ) J0 R: c, c9 F) G" R* v
  1023. 0 Q5 J* D  a7 `- H/ Y
  1024. [mail function]+ \# F7 t1 m* u5 H
  1025. ; For Win32 only." ?/ U/ X% z6 C1 b
  1026. ; http://php.net/smtp/ n" t8 q& P7 n2 X  g5 H
  1027. SMTP = localhost0 A; S/ A7 W1 \0 D6 A
  1028. ; http://php.net/smtp-port1 s0 H* o7 n$ H# c  d4 U! {* |
  1029. smtp_port = 25! }  e$ F) r2 l! n/ L8 B- T
  1030. $ @* i: U4 g; A; ]# h
  1031. ; For Win32 only.
    6 x9 Y. @8 Z5 _) i
  1032. ; http://php.net/sendmail-from! R, S, R0 V8 M
  1033. ;sendmail_from = me@example.com* b% ^: F1 m3 U: F

  1034. 9 x% g( R0 m7 c4 p# i( F4 y  l$ v
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    " B( v9 D; {  J0 ]' \% b1 U* P' o
  1036. ; http://php.net/sendmail-path7 K) ?7 B" ^& X+ w$ h+ Z* N$ P
  1037. sendmail_path = /usr/sbin/sendmail -t -i- T: {1 H7 ^$ y
  1038. ! Y: u9 ~3 J$ r* A6 r3 M; K; {
  1039. ; Force the addition of the specified parameters to be passed as extra parameters" M) r6 k* W5 t2 T5 a
  1040. ; to the sendmail binary. These parameters will always replace the value of
    # E) A  r: p) U( |2 ]2 e1 H# q9 c, n, W
  1041. ; the 5th parameter to mail().3 z4 ?) d1 Y! t# n1 h8 @5 I, [* _
  1042. ;mail.force_extra_parameters =
    5 X' \& d& K1 A! u2 }- n! L! s8 u

  1043. 9 z; G" o2 U% E( }  _6 W  h6 o
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename& l. H& y3 N# I+ l" H
  1045. mail.add_x_header = On
    8 T7 V. d0 J- _* C' p

  1046. 8 y) N. _  v: @2 o
  1047. ; The path to a log file that will log all mail() calls. Log entries include* E- z9 H! ]/ G. U7 D
  1048. ; the full path of the script, line number, To address and headers.
    % G/ E; ^, ?0 K# M& B; R- I
  1049. ;mail.log =  ~7 L2 q4 R, }6 T" _6 a; C; V, e
  1050. ; Log mail to syslog (Event Log on Windows).7 {+ }1 t/ o6 J+ e
  1051. ;mail.log = syslog
    $ o! b& f8 R( E" e
  1052. # Y' l9 C; ]3 F3 z2 ^6 b
  1053. [SQL]. Y  L) T  k2 d# |" W7 l: S
  1054. ; http://php.net/sql.safe-mode
    / d5 s* ~# Z0 \+ s$ I0 Z
  1055. sql.safe_mode = Off
    & p7 u; N. ~: `" _2 U, z" t7 X( l, L' R

  1056. 6 a* D$ ~! D5 X2 \$ @0 i$ w) J
  1057. [ODBC]" x! z/ t5 m) s7 |5 p5 L# N
  1058. ; http://php.net/odbc.default-db
    ( p2 D' W9 B7 G8 ]% K2 d' @* c# M
  1059. ;odbc.default_db    =  Not yet implemented
    3 d+ ]+ f9 C, k: g4 E$ u  n) m, {

  1060. , k; [6 E* G! Z! K2 l
  1061. ; http://php.net/odbc.default-user3 L" e3 j$ a8 k
  1062. ;odbc.default_user  =  Not yet implemented# b) u1 w+ }0 V- j
  1063. ; Z* T% Y' o/ U
  1064. ; http://php.net/odbc.default-pw
    7 C2 ?% h% ], m8 W- n+ b
  1065. ;odbc.default_pw    =  Not yet implemented
    3 _" ^+ g+ n+ R) E" h! g1 o

  1066. ; F% j- i# X4 M% M( r
  1067. ; Controls the ODBC cursor model.
    9 _+ E- f$ i6 h/ `7 v. q
  1068. ; Default: SQL_CURSOR_STATIC (default).
    5 v" B2 x0 R/ M& I% H. R9 Z9 S
  1069. ;odbc.default_cursortype
    : v3 p. i8 A7 J4 Q" D. E

  1070. 6 E$ e0 _: v8 B" K
  1071. ; Allow or prevent persistent links.
    1 w7 T3 }+ Q2 D7 ], |
  1072. ; http://php.net/odbc.allow-persistent
    8 D7 N' D$ q% ^$ r; T; a0 P
  1073. odbc.allow_persistent = On
    4 U; h; H  B3 c* B1 I) V- b7 i
  1074. , e+ Q. u& [3 Y
  1075. ; Check that a connection is still valid before reuse.
    ( M! O: {6 e' U- U4 `0 n' f  f" |
  1076. ; http://php.net/odbc.check-persistent: X3 i: B( [. b. o
  1077. odbc.check_persistent = On
    4 T6 ?4 W/ \$ `8 J7 w

  1078. ; R, e; S) o; U
  1079. ; Maximum number of persistent links.  -1 means no limit.
    5 O# F4 K% u8 t& Z
  1080. ; http://php.net/odbc.max-persistent
    - {- r2 U- l/ _0 P: T! z
  1081. odbc.max_persistent = -1- z7 ~" {! V0 i% Z3 N
  1082. ; {4 I- D9 @8 Q% W  b
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    , H) t; [' r; j; x. o) K2 }& ?/ I
  1084. ; http://php.net/odbc.max-links3 e) T8 C1 B  y! P! S
  1085. odbc.max_links = -1
    3 A1 K/ ~/ S9 Z* o5 _
  1086. 3 j! n" d9 N, A, J& a( D- |8 R, y
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    # u7 O% m9 }1 G( b$ m* a" i. h6 r! q
  1088. ; passthru.' h. I# \! r2 l) d  W# `8 v  [
  1089. ; http://php.net/odbc.defaultlrl) P* P4 q: `! z
  1090. odbc.defaultlrl = 4096$ q, i: X7 R- g4 P; H- W2 F
  1091. ( v- c8 w6 h2 W
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    0 Y! Q) j9 \: H5 I
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    4 Q3 t# y% H( C$ a7 e3 t9 W6 V- _; E
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    : x8 F7 Q% z) o# O0 c. O
  1095. ; http://php.net/odbc.defaultbinmode; q+ g* z# t( v: |! s8 L9 ?* N
  1096. odbc.defaultbinmode = 1: n& d6 U1 a5 f: C  m
  1097. ; _; E6 e5 A/ Q" j
  1098. ;birdstep.max_links = -15 \" K# l: G" L5 N9 J; M

  1099. 1 |, K4 Z* \/ ~2 p& U# _8 C4 v
  1100. [Interbase]  V$ [) O  Z1 U# K2 }( T$ M" j: X
  1101. ; Allow or prevent persistent links.4 {4 o. X2 j& b( ~& L( ]' x/ U
  1102. ibase.allow_persistent = 1
    ; G( N* v1 x8 n- I5 `3 i1 j
  1103. ) V, q2 E2 }' C) U
  1104. ; Maximum number of persistent links.  -1 means no limit.  X( F5 C& d8 a& O) F
  1105. ibase.max_persistent = -1
    " a0 h1 z2 ~1 I( B' M. N% N
  1106. 6 P* X  I/ v! O5 \0 m- t
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.8 K) L0 N9 f+ L( Y# X8 w- l
  1108. ibase.max_links = -1
    5 W/ w. v7 d/ X" B; z- U" i
  1109. " J. s7 @; y4 @8 E+ h* V$ s) w+ m
  1110. ; Default database name for ibase_connect().
    5 x, X1 G) p$ L
  1111. ;ibase.default_db =
    & a& D% m9 o5 }4 B& \3 ?, S

  1112. " j; V9 Y2 D7 Q  z1 \
  1113. ; Default username for ibase_connect().
    & r/ B2 q) p! }7 r6 Q+ a
  1114. ;ibase.default_user =
    " }$ ^1 y( h* J/ L2 n* X
  1115. * P- e( ?) g5 H8 \) Y' X1 V
  1116. ; Default password for ibase_connect().
      V  M- \% e$ k- n1 M6 X6 O
  1117. ;ibase.default_password =- |8 t/ ]0 n0 o5 U/ i4 [7 o
  1118. + Q" w/ S$ e' n  |: J1 E
  1119. ; Default charset for ibase_connect().( T1 n3 a& y. t. y
  1120. ;ibase.default_charset =
    ) ?4 b+ S) D! V4 i
  1121. ! v$ \$ B: o8 [0 D8 `
  1122. ; Default timestamp format.
    ! x' g) e" V& ]
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"- \+ \: S4 ^2 W5 ^
  1124. & z3 ^8 x) N. K2 }/ T$ o
  1125. ; Default date format.
    ( _/ e6 ~# A/ a- _1 F1 I. I( j
  1126. ibase.dateformat = "%Y-%m-%d"; f2 r0 T& E4 i) y; d/ Y0 _1 z5 A6 f
  1127. , @* f2 I& R" R/ E, ^- E/ n) c% w$ |
  1128. ; Default time format.2 @4 K: e1 l3 m( q
  1129. ibase.timeformat = "%H:%M:%S"5 R- K6 b" i* Z8 k7 G" U2 |

  1130. / l/ C. z6 o0 t
  1131. [MySQL]/ c  I% F- `, l" ^% e. R
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    . E$ X) E- Q2 T% l! ~( B
  1133. ; http://php.net/mysql.allow_local_infile$ d. F" P* E8 M  P* @
  1134. mysql.allow_local_infile = On. Q" Q4 w4 O1 Q! P4 [$ ]* c/ Z
  1135. / ~2 J5 S+ P' M( W  @
  1136. ; Allow or prevent persistent links.5 d& {! J. f; y; c; {$ b7 U
  1137. ; http://php.net/mysql.allow-persistent
    * }8 T) f) _! j" s
  1138. mysql.allow_persistent = On
    5 A/ @4 ]/ e# C; b9 D

  1139.   I8 P) h" J7 U! D4 o" _% d( J& B8 M
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
      C. U/ `  k: v/ b6 f- q1 n
  1141. ; http://php.net/mysql.cache_size
    ; B# i( R/ ~/ n# s
  1142. mysql.cache_size = 2000; t8 u% f  `. P. q
  1143. ) L$ e9 E# q- D' B) Z
  1144. ; Maximum number of persistent links.  -1 means no limit.
    . W# I0 Y$ ^1 o4 r+ T9 {- T7 L
  1145. ; http://php.net/mysql.max-persistent6 s4 @" E$ p  h1 ^) L% m* b# p. l; {; H
  1146. mysql.max_persistent = -1. ~, T7 l+ d$ z/ Z# b
  1147. . Q2 H$ v( k; j" }5 \/ I" m
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 l/ i7 }" A5 f( O9 E
  1149. ; http://php.net/mysql.max-links
    & o4 @; {8 _. M8 O8 I
  1150. mysql.max_links = -1( L0 k5 y/ Y# R8 ~. u

  1151. $ B5 D" W/ K, Z1 \) d( R
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
      x, \; J" u7 ?. T& o7 a& e
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the$ M& G9 }: M0 f, G* h% r" |( Z
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look9 O3 V) @# A. E2 o# A
  1155. ; at MYSQL_PORT.
    . \& w" @$ J% \4 ?" O6 o
  1156. ; http://php.net/mysql.default-port
    2 X# o$ z' @% h. R
  1157. mysql.default_port =
    * y8 x! i& _* l7 {' i
  1158. 4 H  a& p4 Y) K) c& f3 {
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in4 K1 b" B  ^% v6 r! g- h# {/ P$ {
  1160. ; MySQL defaults.
    + O, r9 i" D) n* Z1 u5 @4 f
  1161. ; http://php.net/mysql.default-socket3 T$ h# l0 T: C. n7 J  X; F- G
  1162. mysql.default_socket =( ^' S1 e! t1 s. z0 P& X
  1163. , X# g, \1 X9 m; r1 r7 n( n
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ( `6 K1 o9 i" D, |. \
  1165. ; http://php.net/mysql.default-host
    6 H# N( ]) N: H# h# E
  1166. mysql.default_host =9 f+ I. m) J$ ]/ m  p( k9 h/ s

  1167. 8 u+ g( N; {% u* E' v
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    % @3 X. i# E. A& z
  1169. ; http://php.net/mysql.default-user7 j! X& l( q+ x3 t' w9 y. j9 `! b7 D9 [2 z
  1170. mysql.default_user =
    2 T: j1 X3 f9 |) i# T
  1171. * V6 M- z3 c5 h. ?5 N( Z- P
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    * }$ ?2 j4 b" O! p
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.2 }4 P0 A5 q' J; _# o7 F
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    - X1 b) A. U  O0 B5 L
  1175. ; and reveal this password!  And of course, any users with read access to this
    # u+ w! K  d5 V/ c' ~
  1176. ; file will be able to reveal the password as well.
    ; l0 e9 U( W: D- d+ _7 K6 m
  1177. ; http://php.net/mysql.default-password0 }- T; M" A4 z$ L
  1178. mysql.default_password =
    $ A' f3 f* g: w: s( K6 Q
  1179. ( o* [- E/ D. S2 |
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    1 D7 T' t- S  k7 R1 G) I8 N  {
  1181. ; http://php.net/mysql.connect-timeout
    - x2 `5 p* A; B4 V1 z- Q% X' k* B2 j& _  C
  1182. mysql.connect_timeout = 60
    / h* o( \1 t! a% o2 H7 i( D( ~$ p  O

  1183. : s# e; N0 S' Z$ }' j8 A4 Z8 e
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    ( U! W* \" d! R% t8 S. e
  1185. ; SQL-Errors will be displayed.
    1 n; [; L3 F; m, \( m. o
  1186. ; http://php.net/mysql.trace-mode
    * r% }; L. D0 |" F
  1187. mysql.trace_mode = Off
    1 w/ X& a! y) y+ H- X& t

  1188. 1 Y; r' d! |. W) F, W
  1189. [MySQLi]9 Z. T( Q9 J& W

  1190. / l2 e& {( V# d- m" ~
  1191. ; Maximum number of persistent links.  -1 means no limit.
    # x; W8 }- Z- G0 h7 a  J* y6 h
  1192. ; http://php.net/mysqli.max-persistent
    1 t$ t) M/ N" a% |) M+ A4 a
  1193. mysqli.max_persistent = -1, e2 h, L1 m1 R* s

  1194. , r" ^1 f* r9 o7 U
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    4 v! u3 P! y' [% T' [
  1196. ; http://php.net/mysqli.allow_local_infile6 k1 r; `8 k0 \$ g: N( I
  1197. ;mysqli.allow_local_infile = On
    # B. t6 t& Q( K, \7 v' y6 R- S
  1198. " E7 c8 I  r3 }9 d& x& y& z# M
  1199. ; Allow or prevent persistent links.
    & V( m0 h! A- r' p
  1200. ; http://php.net/mysqli.allow-persistent  m! i7 x- D" K) Y: _
  1201. mysqli.allow_persistent = On1 F( Q- c* t: V" G) h
  1202. . Z2 t& V+ Z1 [: i2 N
  1203. ; Maximum number of links.  -1 means no limit./ W9 [4 l  w+ z( P9 k
  1204. ; http://php.net/mysqli.max-links
    9 m0 |  j. M* s1 X$ ?
  1205. mysqli.max_links = -19 Q3 t( f* ]1 {# e
  1206. / F  g% S8 R! m
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache6 j; G4 K6 H% S) Y+ m
  1208. ; http://php.net/mysqli.cache_size
      K$ A) {6 ]# O6 z
  1209. mysqli.cache_size = 2000
    9 c  ]7 p% o! B% G6 r7 S

  1210. " I1 |5 ^) H" @+ B# W( z
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use+ i3 p7 V% B8 z$ }9 e4 V( ]1 F
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the- W/ G8 m- K( Z' }$ S, [
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    + k1 t; y* r' K  k* w5 U
  1214. ; at MYSQL_PORT.
    0 f( b: {( k9 l
  1215. ; http://php.net/mysqli.default-port/ U1 K: @* h& F8 P! _5 r% }3 H# V( }2 u
  1216. mysqli.default_port = 3306
    * U0 u, ?0 l1 y4 I. C: M5 ^8 o
  1217. ; G( }# ?; G& D' s8 Q2 X# N  J
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in. R1 u6 Y, Z9 [" f+ b, D
  1219. ; MySQL defaults./ J; z% W8 Y% {
  1220. ; http://php.net/mysqli.default-socket5 F) o- B! t9 L8 ]/ |" i& G
  1221. mysqli.default_socket =
    ; P" j7 w3 K/ R2 e, ~1 u( E
  1222. ) R0 A/ B1 S5 \# V; d
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode)." F) m9 |0 G; }! ^( l
  1224. ; http://php.net/mysqli.default-host& o6 B7 v+ p/ U: F
  1225. mysqli.default_host =
    9 a+ E( t& ~, k: ^

  1226. + y& n0 I' ^% Q$ ?9 |
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode)." x0 E/ A% z6 e: p
  1228. ; http://php.net/mysqli.default-user4 ?/ u  K: a' \/ Q
  1229. mysqli.default_user =1 \- w. f) X) g8 w

  1230. , T+ `- _7 }6 b9 T7 Y- ^+ ]8 i: p
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ) C+ q" L! K2 r( T/ m
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    7 J& p4 Z7 W; G6 r
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    4 w. R4 E% q' x! `( o4 j; R1 y
  1234. ; and reveal this password!  And of course, any users with read access to this
    + F9 U6 L$ @4 a; }
  1235. ; file will be able to reveal the password as well.5 k" S: t& }6 k: x
  1236. ; http://php.net/mysqli.default-pw
    $ W: Q9 x) o, S! h$ n
  1237. mysqli.default_pw =
    + g& W' _0 d# G! P9 g3 V5 v

  1238. $ m' ?6 h7 t( p( h
  1239. ; Allow or prevent reconnect
    & e! a8 P1 O8 ]* h. `  M; J
  1240. mysqli.reconnect = Off5 S& U& u% n+ A) k. X

  1241. 5 m2 v& B! u( L
  1242. [mysqlnd]
    ! B( I. }) H' U* m; |- C
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be' G" d4 l) s8 w/ V2 ?8 {
  1244. ; used to tune and monitor MySQL operations.
    / q: p6 u6 X; W; c
  1245. ; http://php.net/mysqlnd.collect_statistics( Y% }: M0 ?# k2 j* h0 P3 w  d& l
  1246. mysqlnd.collect_statistics = On
    " _. m+ t( f3 n  t

  1247. # i! N+ {2 B" c  Q  [' B
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be1 N1 n" K& c; x
  1249. ; used to tune and monitor MySQL operations.
    . q8 ]" j+ s, ?! a/ A
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    ( E5 z/ X4 u3 M& t
  1251. mysqlnd.collect_memory_statistics = Off* z1 G/ r# Y# d9 R1 Q

  1252. # K6 Z2 C4 K% T( c6 n, z
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    1 v& f0 {% @8 j5 [- i  U$ V
  1254. ; file.
    8 g! X# M4 X) \9 [. v
  1255. ; http://php.net/mysqlnd.debug
    4 v$ }) P, m! c4 F
  1256. ;mysqlnd.debug =0 r4 f2 x. P; |6 h* X' Y' `
  1257. * R% e" t# M- j) q$ y/ Y
  1258. ; Defines which queries will be logged.2 A# q5 O0 P* |! S, p' s( c, v. D
  1259. ; http://php.net/mysqlnd.log_mask
    6 [8 I3 e% J3 `, _! D
  1260. ;mysqlnd.log_mask = 0- ^2 X, c( T9 y/ W1 \9 D5 n

  1261. 4 g7 H: d. h( t+ A! x3 [- o6 y
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
      L% E+ S9 O9 z; x: l6 h- P. L; m
  1263. ; http://php.net/mysqlnd.mempool_default_size
    , V8 U# B1 Y7 p: `1 J
  1264. ;mysqlnd.mempool_default_size = 16000
    3 O1 _) h! D/ f' H8 E4 L

  1265. % }* j- Z$ D* b1 P3 ]
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    6 W: q5 n6 x/ y4 x# X
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    . Q( J$ t5 I( @$ ^: q! w& l
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    # [  M# T) H" A1 ^: }, s
  1269. " q9 a3 s  D" T& R
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in" ?% u7 D, L+ v
  1271. ; bytes.
    7 w5 v! \/ V. C3 `
  1272. ; http://php.net/mysqlnd.net_read_buffer_size9 r/ X' U2 X4 o; W) L1 J- `
  1273. ;mysqlnd.net_read_buffer_size = 32768
    7 ?. r) {2 W8 }1 w. y; Z5 k( I
  1274. 7 O7 l( h3 P; d
  1275. ; Timeout for network requests in seconds.8 e- \$ a' M# z$ G# H6 _  d
  1276. ; http://php.net/mysqlnd.net_read_timeout( ~  [- R' I! N: N
  1277. ;mysqlnd.net_read_timeout = 31536000
    + m! c! D0 G; o' v2 L. H

  1278. 2 C/ \9 F; |7 W& c8 r' P" g
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA# y; X9 r7 ]5 O4 ~* C
  1280. ; key.; ]1 Q2 @' c4 d, D4 j* E
  1281. ; http://php.net/mysqlnd.sha256_server_public_key' l( {0 f7 x/ @- m
  1282. ;mysqlnd.sha256_server_public_key =
    % k3 f" h; N1 L6 U$ J6 P3 `3 x& n
  1283. 2 @7 H. v: \0 {5 t$ m' J; s0 s# ^* e
  1284. [OCI8]
    0 R% l& Z/ x. z: N; l
  1285. 3 J: }6 i" m9 q
  1286. ; Connection: Enables privileged connections using external- f; N1 O3 Z1 j
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    2 f+ u  s1 }8 T; R
  1288. ; http://php.net/oci8.privileged-connect! V: y0 h- J$ c- l
  1289. ;oci8.privileged_connect = Off
    $ j4 H/ ~# T0 g6 i$ X. [" w3 q

  1290. & u2 p, l" W" t8 u, |$ l! R, _
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    5 c( B2 O' ~0 E9 K$ }* u( m
  1292. ; process. Using -1 means no limit.; `7 G' r  x5 ~3 o; Q) {  e- c
  1293. ; http://php.net/oci8.max-persistent
    ' G; V* g* N& Z- X+ o. m
  1294. ;oci8.max_persistent = -12 D7 L& ^4 J( x( ]( R- O3 Y% |9 N+ t

  1295. # i- \& X8 a. u$ f0 n) \6 c
  1296. ; Connection: The maximum number of seconds a process is allowed to! L8 p9 @. k8 p% v! h2 K
  1297. ; maintain an idle persistent connection. Using -1 means idle
    $ y' \. x) n2 S  b3 {, I& H
  1298. ; persistent connections will be maintained forever.! j& {5 D: V* I. Z, n9 w
  1299. ; http://php.net/oci8.persistent-timeout
    6 s& d2 g) U1 E3 H$ d7 [
  1300. ;oci8.persistent_timeout = -1. z0 s: \( ]- @7 j
  1301. : U1 d4 t8 H2 J2 C
  1302. ; Connection: The number of seconds that must pass before issuing a
    / A/ w4 F1 ^: r! u% z
  1303. ; ping during oci_pconnect() to check the connection validity. When2 a6 r, _6 \' ^. {  F& T, O& E: s
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    0 k2 i6 M: ~9 s1 j! g+ h
  1305. ; pings completely.
    + Z7 ?) U( S. P* N. T0 Y
  1306. ; http://php.net/oci8.ping-interval
    8 y' k$ r& J6 t7 `  w$ Z! G. v
  1307. ;oci8.ping_interval = 60
    : b1 O% m2 k- @: w8 c6 O7 C- }
  1308. 9 U8 m/ D; n; S; S% j
  1309. ; Connection: Set this to a user chosen connection class to be used; E/ p* c- J5 |4 b2 q! P
  1310. ; for all pooled server requests with Oracle 11g Database Resident' X9 |% r% A8 {: Y8 U' r
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to! ?" t- R& ^! U. S4 ~! t( \
  1312. ; the same string for all web servers running the same application,  R4 Y  k% [; }% @" m- R& ^
  1313. ; the database pool must be configured, and the connection string must
    / r4 D8 h+ i* a4 h
  1314. ; specify to use a pooled server.8 o2 {! ]1 U: l2 g" N$ |4 x
  1315. ;oci8.connection_class =3 U! x% H" ]. T1 }
  1316. 3 O8 u6 X! R# d+ ?" Z1 K
  1317. ; High Availability: Using On lets PHP receive Fast Application' X' U& j5 D( c. K! o* H
  1318. ; Notification (FAN) events generated when a database node fails. The
    & d" n0 ]; b7 w( V3 f4 k
  1319. ; database must also be configured to post FAN events.
    9 M# z" J" H( N: A# ^9 Z
  1320. ;oci8.events = Off
    4 S4 J8 C: k3 o6 {, T0 N6 j. d. W4 V

  1321. , \& B% o1 M' h! y/ e. _  @6 M! O/ ~
  1322. ; Tuning: This option enables statement caching, and specifies how
    " K: Z" C( t1 z, g$ [
  1323. ; many statements to cache. Using 0 disables statement caching.
    6 k' L& A5 m3 Q! ^
  1324. ; http://php.net/oci8.statement-cache-size& _, i/ i+ S) ~7 R
  1325. ;oci8.statement_cache_size = 20
    ; m) Z6 {: [( a& F, V
  1326. 8 T' g& u) I3 h( {$ ^. m
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    / B+ P% d/ ]4 K: k! m( _2 l0 K% {
  1328. ; rows that will be fetched automatically after statement execution.
    # Z9 z, l$ Z& I+ [
  1329. ; http://php.net/oci8.default-prefetch$ _, c8 W5 g( H: U) H
  1330. ;oci8.default_prefetch = 100
    1 t( q8 M2 j5 f# V" j1 n+ a
  1331. ( q" g) d- i& u# p
  1332. ; Compatibility. Using On means oci_close() will not close
    1 _4 }+ T( C+ @; o. e- }
  1333. ; oci_connect() and oci_new_connect() connections.6 q* r( Z+ R+ q% h8 t8 r
  1334. ; http://php.net/oci8.old-oci-close-semantics
    + u$ ?7 @0 K* ?
  1335. ;oci8.old_oci_close_semantics = Off; ^+ B6 v6 v; H- y8 Z6 j0 y: x
  1336. % k- P+ @1 D9 l6 K$ q3 v. {
  1337. [PostgreSQL]
    / \1 H% D: f5 R" I& U0 i7 x# n( c' u" B
  1338. ; Allow or prevent persistent links.
    ( s9 V' }+ P  C0 {
  1339. ; http://php.net/pgsql.allow-persistent
    0 {/ ^& Z( f1 w) S, w. h( D! F- o' I7 ^
  1340. pgsql.allow_persistent = On5 I3 @, ]& X, s6 U6 e4 b

  1341. : [0 E% `( j2 u4 G( [& \; t/ C
  1342. ; Detect broken persistent links always with pg_pconnect().' P* [/ e! `$ J- k/ ^, r
  1343. ; Auto reset feature requires a little overheads.' W+ \" V  R8 Z4 U6 p2 u- f
  1344. ; http://php.net/pgsql.auto-reset-persistent2 F) I0 d4 d& {& ~9 k
  1345. pgsql.auto_reset_persistent = Off( i+ L; z8 K; z( S: ]

  1346. - g! r& W/ E$ R6 b. v+ X# ]& T
  1347. ; Maximum number of persistent links.  -1 means no limit.
    # G, J0 w+ H& v" L7 f8 U; z8 o
  1348. ; http://php.net/pgsql.max-persistent! ^& ?: o# Z1 V9 s" s
  1349. pgsql.max_persistent = -1. K" d' A, e1 l, N; a: w# i
  1350. ( h# }/ |4 J6 E
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    6 M" y7 s4 V9 `
  1352. ; http://php.net/pgsql.max-links
    " O* H$ v/ V# k6 d5 O
  1353. pgsql.max_links = -1' s/ _8 Q, w) R' z9 |
  1354. $ Y0 f7 Y6 M3 b- p4 q
  1355. ; Ignore PostgreSQL backends Notice message or not.9 Q0 G5 [2 f" D- {4 O
  1356. ; Notice message logging require a little overheads.- j& o: C! K% N4 B- _3 g4 E
  1357. ; http://php.net/pgsql.ignore-notice
    8 P- r  X% [0 g& e1 y* i
  1358. pgsql.ignore_notice = 0
    + L7 J5 y; g4 y+ q

  1359. ! h0 }7 ]1 k8 O
  1360. ; Log PostgreSQL backends Notice message or not.
    0 l9 f! K6 ?6 j* v
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    1 x% |; A. F9 G: U+ y9 C0 ]; V
  1362. ; http://php.net/pgsql.log-notice9 C- M0 f8 @1 s" \: e
  1363. pgsql.log_notice = 0' G" K# D. b- o3 ?* b3 K

  1364. + y2 u9 f" C( X& B8 `3 c3 }
  1365. [Sybase-CT]
    / r% E1 L* ^7 p5 K! W, b& J7 u. x" E
  1366. ; Allow or prevent persistent links.
    % W/ \2 Y0 ?% T+ l0 J3 z1 ~
  1367. ; http://php.net/sybct.allow-persistent
    & e1 u$ K$ u2 i  S$ p1 j5 \/ u
  1368. sybct.allow_persistent = On
    * F9 J( Z: a6 \" h2 R) R8 K
  1369. 3 x2 l2 ?! u! W5 Q4 ^
  1370. ; Maximum number of persistent links.  -1 means no limit.
    : r: ~" z. }% j6 @8 O' B1 N4 f& S  Z5 }
  1371. ; http://php.net/sybct.max-persistent6 k% j0 ^/ Z3 {  b% P
  1372. sybct.max_persistent = -11 I) e( W* c0 z, C' d

  1373. ( A( ^" i8 ?6 d6 h, m
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.& _6 }- Z2 Z# b4 D
  1375. ; http://php.net/sybct.max-links3 s! I! K7 s2 J0 q) [' R
  1376. sybct.max_links = -1. _7 U( R  z7 C. b$ z! o

  1377. 9 }  F, k3 Q9 h6 _% E
  1378. ; Minimum server message severity to display.
    ! y3 P: L- _; X8 w
  1379. ; http://php.net/sybct.min-server-severity
    & [8 B! `8 V/ k: N, w4 Y
  1380. sybct.min_server_severity = 10! k. \' o) n" _% p( m* T

  1381. 0 V1 B& v( Q) r* B9 j
  1382. ; Minimum client message severity to display.3 x. L& U' f  `  Q8 p
  1383. ; http://php.net/sybct.min-client-severity5 g4 E6 W7 b- G6 z( P. D
  1384. sybct.min_client_severity = 10
    " n( \* s% x$ ?$ F# @

  1385. ) r! [' c, e+ }
  1386. ; Set per-context timeout
    ' A; _0 I5 X5 w( q# p; F8 K6 Q% E
  1387. ; http://php.net/sybct.timeout# J/ u/ Z9 W' t( Y
  1388. ;sybct.timeout=1 y6 G1 G$ `. {' f7 H; U

  1389. 7 ^4 ]# C3 g& N/ O, {
  1390. ;sybct.packet_size
    8 r7 ]/ Z/ ~( D! @" u7 s+ q( T

  1391. ( T5 f( S/ ]! P
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    # U( v5 M6 B2 `# f& Q
  1393. ; Default: one minute* n7 T; E& j- E8 S2 G. f
  1394. ;sybct.login_timeout=
    " l( Q+ q7 [& U) b/ I
  1395. 0 H; }/ O+ E6 v5 b
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.% Z% R7 M/ l& m7 d8 Q8 I) {8 W# h
  1397. ; Default: none$ S# f! M. c, a9 x! y6 r" q! q
  1398. ;sybct.hostname=
    $ F" L6 i: V( e; w% W8 j
  1399. / J! |, V- v, S# e/ s! @# D( D
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    0 Q$ u. g7 q9 _: d
  1401. ; Default: 0, m1 ?; |: d) x( e, d
  1402. ;sybct.deadlock_retry_count=% e4 V6 n2 {1 G: P, L# u
  1403. & m" C; o9 n/ s! ]
  1404. [bcmath]; U  z2 Z! _6 l" `$ j( _' A' n  Q
  1405. ; Number of decimal digits for all bcmath functions.) a+ Y: w" ^) S$ U
  1406. ; http://php.net/bcmath.scale
    " h% I4 n) L! S2 ]6 x
  1407. bcmath.scale = 0
    : F4 a6 b: L1 B2 k& y3 E9 s

  1408. - w" I+ D. {, ~2 G3 {: w$ ~
  1409. [browscap]
    9 g4 y2 ^" N$ b( e5 j
  1410. ; http://php.net/browscap
    # k3 l. k8 i. H! Q# E4 p
  1411. ;browscap = extra/browscap.ini
    , l  P' U9 O& z4 t+ r( g9 N
  1412. & e, X! ~" O5 e) V- O: n
  1413. [Session]/ r* F9 m2 }0 w$ ?7 O
  1414. ; Handler used to store/retrieve data.! j8 X, O% K* O) x. C
  1415. ; http://php.net/session.save-handler
    + @  N3 B) ^% h7 {) b
  1416. session.save_handler = files# Y3 O! d3 g2 K. Q

  1417. ! T5 F$ v8 p: e- c6 B- F
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    # h5 i( P% n, K1 s. U
  1419. ; where data files are stored. Note: Windows users have to change this- y; }# D! `! x6 x4 k
  1420. ; variable in order to use PHP's session functions.' _( ^7 u  [. X$ S- X
  1421. ;
    6 L) W# Z; b1 u. b* d
  1422. ; The path can be defined as:
    7 _- M. ^; X- j2 J, Z% e" h
  1423. ;
    . M% u& B6 i' G' t( B
  1424. ;     session.save_path = "N;/path"! [0 }5 [, I8 B; K6 @6 r
  1425. ;, K1 g1 x  j+ B" L
  1426. ; where N is an integer.  Instead of storing all the session files in
      [4 |: r+ T6 B
  1427. ; /path, what this will do is use subdirectories N-levels deep, and1 M. K8 h/ z% n9 s( u
  1428. ; store the session data in those directories.  This is useful if9 Y4 V5 n' G1 y1 E
  1429. ; your OS has problems with many files in one directory, and is
    $ \- X5 ^" O2 a; I0 [* r
  1430. ; a more efficient layout for servers that handle many sessions.
    : S2 F" O/ x! ^9 h) X/ A
  1431. ;, e/ E, i' p/ _
  1432. ; NOTE 1: PHP will not create this directory structure automatically.6 _2 h* o& c  b, @4 Y
  1433. ;         You can use the script in the ext/session dir for that purpose.* O6 ~5 |2 O0 L( n8 a+ h
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    0 u1 W2 A/ S- Y) E
  1435. ;         use subdirectories for session storage
    5 m0 e& U2 P& c
  1436. ;) A+ ?! k8 _5 H4 z% O' [! w
  1437. ; The file storage module creates files using mode 600 by default.- U0 o/ w# {8 s" Q+ ^+ d6 V
  1438. ; You can change that by using
    ; X6 v# \, {$ X" X0 |
  1439. ;3 }8 H0 ]) y7 ?  H5 f2 a
  1440. ;     session.save_path = "N;MODE;/path"$ P5 p( O/ K+ L# \% \+ s
  1441. ;
    . R1 d. m0 J" a+ M- _
  1442. ; where MODE is the octal representation of the mode. Note that this
    7 ~9 N$ q* T! {
  1443. ; does not overwrite the process's umask.- b- I) [3 j- v4 N
  1444. ; http://php.net/session.save-path
    - M' f, J! {6 T  K+ {6 q5 G
  1445. ;session.save_path = "/tmp") X% w/ ^) z$ P

  1446. 1 ]) i' @8 n- R5 U' {
  1447. ; Whether to use strict session mode.
    2 C7 Q. ?; p! K# y  t
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate( `# U; ^+ Z+ {$ `
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects* s3 |) x/ [8 d
  1450. ; applications from session fixation via session adoption vulnerability. It is1 R5 _: @- q2 F4 H/ R4 I
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.' Z: _% U! g2 [; B3 K" p
  1452. ; https://wiki.php.net/rfc/strict_sessions3 j) Q6 v- J; c& x0 P
  1453. session.use_strict_mode = 0, p3 w' D2 c  V6 I9 s* B% r+ K

  1454. 7 m7 A+ @; S9 `' \. l$ @9 H
  1455. ; Whether to use cookies.6 x' s. w' r" [/ W
  1456. ; http://php.net/session.use-cookies, _# t, N4 ^" |1 x: T
  1457. session.use_cookies = 1( k. h6 M4 i, l6 Z/ T

  1458. + V- Q1 G1 T% {/ C# e& G  y
  1459. ; http://php.net/session.cookie-secure" D5 L1 ~# R! J
  1460. ;session.cookie_secure =
    , C2 r& z9 j! e5 d

  1461. 7 ]5 M# A! e% z0 w
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    6 u' J( A/ I9 ]
  1463. ; the session id. We encourage this operation as it's very helpful in combating+ p* Z6 g% n! Y9 K, \2 }' V# p5 a
  1464. ; session hijacking when not specifying and managing your own session id. It is
    * \, D- z, G* V
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.; F" j! K. D8 }  {
  1466. ; http://php.net/session.use-only-cookies# F5 Y4 i! p$ w6 O% J: O7 t
  1467. session.use_only_cookies = 1
    : R+ N! E3 }$ w' q) q

  1468. . v1 t$ o2 N8 i+ O
  1469. ; Name of the session (used as cookie name).: z8 k8 ?* C! Q* ?9 T
  1470. ; http://php.net/session.name
    * m+ j5 s8 x+ L* S4 D/ ?+ @: B
  1471. session.name = PHPSESSID% Y. y! u7 [3 X: G( w! S, P
  1472. - Z% U2 T% d* T% `! W
  1473. ; Initialize session on request startup.
    * O% s0 c0 y/ A: ^* b  j
  1474. ; http://php.net/session.auto-start
      `7 l0 A: `3 P+ ~8 p) y& f
  1475. session.auto_start = 0$ F( i+ f# H9 D# y& i( T
  1476. ( s9 B& `* y. g/ D  q; v2 e; m$ j
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.( ?6 C* ~- J* |7 Q2 }0 U
  1478. ; http://php.net/session.cookie-lifetime" l: M2 I: E6 k8 P  O0 j# [0 w
  1479. session.cookie_lifetime = 0* p& I; a) l( A4 e& w
  1480. % r* @5 G% P  b1 p$ \: C/ Y5 }/ n) c& S
  1481. ; The path for which the cookie is valid.  Z0 R1 |" d# M+ \; E) P
  1482. ; http://php.net/session.cookie-path: z2 h+ v! T/ @5 f, N2 @# o, c
  1483. session.cookie_path = /
    9 }; @7 @8 s( w$ W. o  H! Q) ^. W
  1484. # t- Y' d! c/ y6 P7 t7 v3 R/ K, K
  1485. ; The domain for which the cookie is valid./ |' R1 V6 K" G- B5 z3 m; }. m
  1486. ; http://php.net/session.cookie-domain
    ' h9 @# \" f8 S/ O; m
  1487. session.cookie_domain =% s: w: s1 T+ w6 m( g; C/ s' h0 C, j, d

  1488. , R/ m0 j7 ]+ x9 M8 y: l- J1 A
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.. u) j- X$ S5 Q* ?" E2 _8 Z% p- b6 A
  1490. ; http://php.net/session.cookie-httponly
    - ~: _/ t/ y: t0 r& m  ~' L
  1491. session.cookie_httponly =
    3 `' y: p, N/ _3 p# k1 ~
  1492. 9 w# r8 R5 h$ v+ M) j4 V
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP." k6 q; }6 }% X$ F7 R1 ?: i! F/ e
  1494. ; http://php.net/session.serialize-handler1 j* D: Q9 f- ]8 M3 S! _+ d, y; ~
  1495. session.serialize_handler = php
    - m+ m9 i& k( ]' t
  1496. % k* v6 z" C- }
  1497. ; Defines the probability that the 'garbage collection' process is started
    9 c: m; h: o& B8 ]- B; ~& t
  1498. ; on every session initialization. The probability is calculated by using' b* _1 {0 q) J9 l* M/ O
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    $ A$ t3 @; S6 {9 D! w
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 11 g, S1 w" D0 m! P$ A
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance: ]7 L0 c, l. k* i3 F
  1502. ; the gc will run on any give request.% c& r: B5 p5 Q8 B+ i: S5 R5 j
  1503. ; Default Value: 1& J* e  E+ x1 Y( h
  1504. ; Development Value: 1
    8 Q0 K5 }2 b+ S. s; s5 Z# a
  1505. ; Production Value: 1: B' ]. h5 Y* U9 Q# N! O
  1506. ; http://php.net/session.gc-probability
      B" k: \; \# i. P0 L3 s" c
  1507. session.gc_probability = 1: ?6 Q& j$ s' {$ p

  1508. 5 h; w- W6 L8 [# h* U8 H
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    3 B' }+ ~# }. I* |
  1510. ; session initialization. The probability is calculated by using the following equation:8 l/ V- ~8 U  W% S7 K
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
      T) R$ L$ I4 g) P0 D9 E2 i
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    2 P. \, G; K7 t4 Y# d' N
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    0 m: Y) n: W/ }! M9 I( s
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    5 H0 a7 `! l6 Q/ E% _  o: P
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,2 z2 e. p5 J2 L- X6 d/ v
  1516. ; this is a more efficient approach.
    ' t8 i7 T; J- k8 [% O6 t/ z
  1517. ; Default Value: 100
    # R) [' F4 e) L5 D; \9 `8 U5 l9 k* X
  1518. ; Development Value: 1000
    7 ~% |- |- B- z8 I5 O; b
  1519. ; Production Value: 1000
    4 F+ ?/ L, Q3 c+ e/ S% T! `
  1520. ; http://php.net/session.gc-divisor
    5 a' v- |6 J. I. v! L( D" w# C
  1521. session.gc_divisor = 10002 `/ f# e" R3 e# a9 T: d& L( {

  1522. - E7 c  N) ^* n( t
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    . D5 j# m, ^6 c9 C, t  l
  1524. ; cleaned up by the garbage collection process.
    9 a% }- o' B* w$ ^$ w8 n; [# s7 m/ r
  1525. ; http://php.net/session.gc-maxlifetime
    # K  e0 `% B2 Z- X/ E% I- p/ K( L
  1526. session.gc_maxlifetime = 1440: u" a3 ]( B; E# x
  1527. 1 `7 _, J: P, w  h$ @
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    % u2 {1 `8 A3 F7 S
  1529. ;       (see session.save_path above), then garbage collection does *not*, J/ n0 f3 T9 F
  1530. ;       happen automatically.  You will need to do your own garbage
    - C; f( V; L1 [
  1531. ;       collection through a shell script, cron entry, or some other method.# T( `# x& \# |' Z1 b
  1532. ;       For example, the following script would is the equivalent of5 d$ o8 m7 A1 J# x: Y, R0 p6 ]: o0 Z
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):( Q7 @% a9 Y5 a1 U+ K
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm, E- z! b* X& w" n1 b0 w. D

  1535. , J1 H) m  l5 S/ i0 ?0 v+ @5 A7 E
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids./ [* m$ G8 Q6 S2 d. @
  1537. ; HTTP_REFERER has to contain this substring for the session to be- n0 p/ q: E1 _" ~
  1538. ; considered as valid.
    ' h+ c+ r' a8 x1 q* Z
  1539. ; http://php.net/session.referer-check
    & f: W- j: Z3 R& n, F: }
  1540. session.referer_check =4 x; x1 {1 z# H! C8 k% ^  U

  1541. ( f/ e1 O! s: M  Q8 l
  1542. ; How many bytes to read from the file.
      K: A* r" Q2 D, W
  1543. ; http://php.net/session.entropy-length
    8 u5 U' j: |1 u1 J) M
  1544. ;session.entropy_length = 321 |3 n& D/ ~' k& s6 Y+ F, u

  1545. 4 ?9 s! D  E2 u
  1546. ; Specified here to create the session id.
    / @4 l* ^( g3 O
  1547. ; http://php.net/session.entropy-file6 V. \; R2 V6 a, y5 J6 f
  1548. ; Defaults to /dev/urandom
    0 w! ~6 l$ g) Y8 D$ a' P$ k
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    1 ~: v& I. J' R% ~! ]
  1550. ; If neither are found at compile time, the default is no entropy file.0 x8 e2 }6 C* O* C
  1551. ; On windows, setting the entropy_length setting will activate the. ]2 K& ]4 s- e' @
  1552. ; Windows random source (using the CryptoAPI)& |4 N+ Y( X' X: E/ _
  1553. ;session.entropy_file = /dev/urandom
    0 n9 j. M. i9 v( L$ r+ X( [
  1554. ' X7 Q6 L6 Q3 Z3 {- Q9 a# J: e
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ) _; d* T( U$ X, Y/ [
  1556. ; or leave this empty to avoid sending anti-caching headers.8 B- j' Z1 Q# R3 F
  1557. ; http://php.net/session.cache-limiter
    7 g$ |9 t) U3 s: Z0 o9 d
  1558. session.cache_limiter = nocache# @. ^3 O" y6 v5 e* [

  1559. ; u. i" m( s5 u
  1560. ; Document expires after n minutes.' _' u4 }1 `9 M( F, C
  1561. ; http://php.net/session.cache-expire
    % ~' o, I* w2 n6 N$ p2 q2 N
  1562. session.cache_expire = 180
    9 L# z8 X) e# c2 w" d
  1563. 3 r% h& R8 U: w& d3 p: [
  1564. ; trans sid support is disabled by default.
    1 h- i. w* r( L2 j! ^+ m" P
  1565. ; Use of trans sid may risk your users' security.
    " Y3 I4 V; w* Q& S6 f% o7 L6 f
  1566. ; Use this option with caution.
    . }" v2 y- H  {
  1567. ; - User may send URL contains active session ID8 r' u7 O1 d6 q+ E& [; J4 C; J0 ^
  1568. ;   to other person via. email/irc/etc.5 C+ a1 r( A" \& o2 H1 L
  1569. ; - URL that contains active session ID may be stored
    3 W# v) z( R+ r
  1570. ;   in publicly accessible computer.; ?/ i$ g; A/ _. y7 x6 r- k
  1571. ; - User may access your site with the same session ID1 `) V/ |% M, ]4 i3 y
  1572. ;   always using URL stored in browser's history or bookmarks.
    3 Y. w8 F2 A3 y# v* G3 F  A, O
  1573. ; http://php.net/session.use-trans-sid8 O5 j. b8 u" T: s7 t$ {
  1574. session.use_trans_sid = 0  u: c$ v: a. m- h4 \+ j" f  `

  1575. 7 B, H" }4 w1 U# n) H& E
  1576. ; Select a hash function for use in generating session ids.
    . q8 u6 R) ?& b+ n
  1577. ; Possible Values
    6 A+ T. m1 C& C8 J9 A! ~; w
  1578. ;   0  (MD5 128 bits)
    - c! O: C1 U! F9 }; Q
  1579. ;   1  (SHA-1 160 bits)* c/ D$ b1 t  \2 o$ _. h9 l+ C2 y
  1580. ; This option may also be set to the name of any hash function supported by. t: P* _4 ~+ o: T( `; D7 \. T6 F
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()( K  \4 m# M/ U8 K' v
  1582. ; function.
    0 c2 d1 }6 Y0 r; A& R& U% C& E
  1583. ; http://php.net/session.hash-function/ U( I9 J" q2 F# R3 N) y, g( G
  1584. session.hash_function = 0/ d% }% e8 t- J4 j" M3 {! ]2 f: I! ]

  1585. % x. L/ a1 O, F2 h, C+ _- e5 E
  1586. ; Define how many bits are stored in each character when converting
    1 R; a2 Y; f; J, l' ?$ g
  1587. ; the binary hash data to something readable./ |5 m  b5 c) g8 x% h8 p
  1588. ; Possible values:
    ' d) O1 M$ B% C% o) T1 X" B
  1589. ;   4  (4 bits: 0-9, a-f)
      ^# m% j2 e2 C/ Y5 X
  1590. ;   5  (5 bits: 0-9, a-v)
    & j7 g7 s7 c( q& x! K
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")2 C- j& d. r) @- m- |
  1592. ; Default Value: 4
    + n. i8 C, Y7 C- U) p) E3 b5 V
  1593. ; Development Value: 5; ^/ b$ |. h! m. [% @
  1594. ; Production Value: 50 S- a% n/ p% o" e! }5 r  f
  1595. ; http://php.net/session.hash-bits-per-character8 @4 c* ^+ u. s2 _2 {" g7 e! Y
  1596. session.hash_bits_per_character = 5
    ) J6 r" }) Q# H3 R0 S' ~
  1597. 0 m( _0 \3 n% D, D- f0 w' t0 G% w
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    1 j( h" h- m: H2 o% p
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    7 X2 ^8 A) M! ~
  1600. ; add a hidden <input> field with the info which is otherwise appended) p7 W; I% e/ U5 B
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    6 o% \0 k0 g* G
  1602. ; Note that all valid entries require a "=", even if no value follows.
    & @4 G' I" x+ X/ y" w8 f+ W( ^
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    % ^' s9 ?: u3 x3 q  y9 j
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - U7 E8 s" X& G0 ~" r  Y! f3 t
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 u# z3 y: }' q2 Q
  1606. ; http://php.net/url-rewriter.tags
    ) s) N+ l  R: o& V8 x) O9 P
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry": J  i- s% o/ F! M7 A

  1608. ! p8 ?6 Q+ c) }$ K3 B7 u
  1609. ; Enable upload progress tracking in $_SESSION: s9 H! z3 x+ n# E" q. }
  1610. ; Default Value: On
    * v- w4 |0 }5 ?9 G+ u
  1611. ; Development Value: On
    ! E1 T) \. g! {
  1612. ; Production Value: On6 U4 x( L( ?  z8 Y
  1613. ; http://php.net/session.upload-progress.enabled
    / C0 i7 A' m$ q! `$ |
  1614. ;session.upload_progress.enabled = On
    ; M# B8 c5 R/ @( f* I

  1615. 3 y$ S" P3 S* n( X- X0 ~2 N0 ?
  1616. ; Cleanup the progress information as soon as all POST data has been read4 b) I1 Y; h% _
  1617. ; (i.e. upload completed).. [* o$ G# _. Y0 C8 b
  1618. ; Default Value: On/ i+ \6 ~2 c2 K2 @4 L. M
  1619. ; Development Value: On- A) S4 \8 z- e0 A
  1620. ; Production Value: On# q: u! r) y# B0 a# e5 @
  1621. ; http://php.net/session.upload-progress.cleanup
    , M0 f* Q! u$ C1 X: F6 S5 C
  1622. ;session.upload_progress.cleanup = On& y+ w% T4 x3 F4 Q$ {- W, T4 |/ S

  1623. / w8 c7 I* J# Y3 h( O
  1624. ; A prefix used for the upload progress key in $_SESSION
    ! W. m- R9 ?( ?: S2 i6 y
  1625. ; Default Value: "upload_progress_"
    7 g6 \& q2 Q0 \
  1626. ; Development Value: "upload_progress_"; v- V) n7 C0 I1 N3 I1 p
  1627. ; Production Value: "upload_progress_"
    ! n: P  i  }: h; D, g' E9 K! m
  1628. ; http://php.net/session.upload-progress.prefix% @: f6 W- J" m, ?
  1629. ;session.upload_progress.prefix = "upload_progress_"  M- z, V# u2 o- [% B: R
  1630. 2 f, u1 c* q2 z$ y
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    ; L6 R3 m# \4 u" z+ G% k+ h
  1632. ; containing the upload progress information
    2 Y3 F: I* m7 _
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS") ?, B& R5 @0 j7 u1 Z  ^7 O" x
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"' u5 _: J3 R4 c3 J& i  V
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"! ~* _+ T8 L3 D* j3 b& l: r4 d
  1636. ; http://php.net/session.upload-progress.name
    9 [# A1 k; `# A/ j5 h! B+ R# @' @' U
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"- N) w0 d6 b1 {1 ~- S5 v  v
  1638. 8 {6 T- @; e; {
  1639. ; How frequently the upload progress should be updated.
    ( X3 n$ ?2 z: u, x
  1640. ; Given either in percentages (per-file), or in bytes4 i8 R3 a( {( s- w  }  P
  1641. ; Default Value: "1%"! ]+ N7 [  T* k. A8 ~
  1642. ; Development Value: "1%"
      L2 J* S( z" x0 `1 F! u1 q  r( E, V
  1643. ; Production Value: "1%"
    : W; @; c+ E0 \* S+ @' f
  1644. ; http://php.net/session.upload-progress.freq
    2 f. e! ^, p. ?8 R' `2 y" n% [
  1645. ;session.upload_progress.freq =  "1%"
    & y9 V. v/ Y7 R% w/ R9 k

  1646. " ]8 q9 F* Q9 p: J
  1647. ; The minimum delay between updates, in seconds
    4 [3 D" T: k. I# q5 o
  1648. ; Default Value: 1
    & q' `/ z! [* w4 ]* I; b
  1649. ; Development Value: 1  z5 f5 ^; t; V1 J
  1650. ; Production Value: 11 m1 w0 P1 z& `8 o& X/ J+ p% M
  1651. ; http://php.net/session.upload-progress.min-freq
    * E3 E+ c, r# V% D' ~. K1 p- t1 J; y  m
  1652. ;session.upload_progress.min_freq = "1"& ~' U, y3 S0 e/ C7 N) v# a0 _
  1653. ; w4 h* ~4 t* H
  1654. [MSSQL]
    9 k* Q. U. ?# ?- [$ [" i
  1655. ; Allow or prevent persistent links.! k3 b0 y* {* q. ]. E" h% {2 C, i
  1656. mssql.allow_persistent = On* d$ V8 Q% L' C

  1657. ; @0 z8 O2 i' X9 a
  1658. ; Maximum number of persistent links.  -1 means no limit.
    8 u9 ~2 q8 \, L) R, C
  1659. mssql.max_persistent = -1
    2 U7 [9 E3 B& T. S

  1660. 9 K0 u/ S" d* p+ |! _
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ( P6 u1 F; R: O6 Q' F" H9 K2 o
  1662. mssql.max_links = -1& e7 J/ O+ @3 j  Y9 K) r' N

  1663. 3 Q0 F: }+ b5 Z6 Z( B
  1664. ; Minimum error severity to display.5 b# @$ v: d8 M7 g! l" s
  1665. mssql.min_error_severity = 108 O! n$ o5 k, l/ f; J: C* D
  1666. ; }9 x8 E7 E. Q- k, y( Z* S
  1667. ; Minimum message severity to display.
    9 E1 p4 G) M, J8 `1 y" I2 v
  1668. mssql.min_message_severity = 10
    + K" O% K5 ?4 a, Z; a+ G
  1669. $ x7 N5 N/ R$ E$ _" ~; T
  1670. ; Compatibility mode with old versions of PHP 3.0.
    7 I; s0 O* ?* X: R
  1671. mssql.compatibility_mode = Off6 L' H. i, Z: V0 d/ ?% f5 t2 k
  1672. 5 o' O4 ^6 I7 E
  1673. ; Connect timeout
    - K8 x/ I1 g" j2 M8 `
  1674. ;mssql.connect_timeout = 5, G- E$ r, p1 H) X! T
  1675. 8 G2 Q0 q4 C) B
  1676. ; Query timeout$ x. l9 G6 f  C& G
  1677. ;mssql.timeout = 60
    6 T0 }5 h8 \& f! {2 \9 a

  1678. , ?- A7 X& _5 [0 O, m6 L+ l! V6 U
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    ' E: G3 L6 j& x1 i) m2 b+ ]/ X! Z
  1680. ;mssql.textlimit = 4096: D) @: V! V3 k( Z" f) s

  1681. $ I& ?- e# B7 G' z
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    % |# V4 o9 ]3 W+ V  L
  1683. ;mssql.textsize = 4096
    % }. g2 w/ X! c, T$ L

  1684. - Z. Q: l" N; I
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.9 Z7 j# M( E9 T; c9 V& n1 @
  1686. ;mssql.batchsize = 0+ m- U) v% K1 S/ }+ M: N3 Q
  1687. 5 O4 a" c/ C5 f: {
  1688. ; Specify how datetime and datetim4 columns are returned
    , F! A  o0 o: [/ w" Y$ h0 e) u" J
  1689. ; On => Returns data converted to SQL server settings
      e2 f  m9 H0 E+ C: Q7 }
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss5 ~( t: w6 p2 ]- a0 H
  1691. ;mssql.datetimeconvert = On
    * W; d- o$ D2 X; L9 H% h
  1692. ' [6 K, G# `5 o! N2 h1 R3 F
  1693. ; Use NT authentication when connecting to the server
    6 t+ S5 h) C2 q
  1694. mssql.secure_connection = Off6 \& O9 x# X2 a9 W$ J+ P  c- q

  1695. * E5 f+ T( t9 \7 p% p# C' C# }
  1696. ; Specify max number of processes. -1 = library default! y9 T5 P, i% X& r
  1697. ; msdlib defaults to 250 B8 `5 D; k, M" k* v& r) t
  1698. ; FreeTDS defaults to 4096
    - B# [1 H, F) q% z9 F" q9 b& J4 E
  1699. ;mssql.max_procs = -1  ^3 N2 J7 S6 X4 R0 {

  1700. 5 }4 p! i8 E' _4 [2 ^3 ?
  1701. ; Specify client character set.( b/ h. _. ^% Z
  1702. ; If empty or not set the client charset from freetds.conf is used4 L8 o9 ^; ^: _" c8 |* I
  1703. ; This is only used when compiled with FreeTDS% x4 n; y1 X5 @
  1704. ;mssql.charset = "ISO-8859-1": k, O6 L8 H6 i. z

  1705. 7 {/ r6 _" b7 M3 F' N7 z. O  m  m$ r' [
  1706. [Assertion]
    1 n, _+ f$ b: v; D8 c& p7 \
  1707. ; Assert(expr); active by default.
    8 @3 r* l% c/ |, Q$ d4 {
  1708. ; http://php.net/assert.active6 O6 q# S; x. V- d: d* I; {( D
  1709. ;assert.active = On
    3 e0 ^9 V7 C7 L
  1710. / f8 p% f) W' [' E+ P
  1711. ; Issue a PHP warning for each failed assertion.% S! t7 o  T! A% m! d7 G# x( U
  1712. ; http://php.net/assert.warning5 G; e$ Y* g3 I% e$ b; Y
  1713. ;assert.warning = On
      b( Y1 {# L5 n, z5 U7 t6 I6 o
  1714. 1 X$ L& f0 F1 Y( q! w$ a
  1715. ; Don't bail out by default.
    ! P( d, e( Z  C; [
  1716. ; http://php.net/assert.bail
    % K+ {  q3 ^0 F: s+ z- y
  1717. ;assert.bail = Off
    9 N9 l- p* F! I! C; x

  1718. 5 y1 J( l! i. j! [! F8 I
  1719. ; User-function to be called if an assertion fails.
    & M1 j+ l4 u% j2 t
  1720. ; http://php.net/assert.callback
    3 ?, U& w4 j: O4 U" ^
  1721. ;assert.callback = 0
    ; x2 n; J, z% K5 ~# f
  1722. - F% R0 a2 t* |" h. A( {
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    2 ~" [5 P5 g# ]* ?1 L
  1724. ; error_reporting(0) around the eval().
    $ l; U& p; h* ]- A' G
  1725. ; http://php.net/assert.quiet-eval
    * R% u. `1 W! D  w6 Y
  1726. ;assert.quiet_eval = 0* v7 v5 _. p. [' m: }5 M. h
  1727. ! P" \. l  M2 R& P
  1728. [COM]% Z: W& Y/ M8 v( |- H* h
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    0 E  k' Z5 x& [. D
  1730. ; http://php.net/com.typelib-file
    # M' D" O! G5 C0 F# X& J
  1731. ;com.typelib_file =3 G/ c; k2 S) L# P

  1732. 1 m- O1 E' n: K6 y
  1733. ; allow Distributed-COM calls- |/ D7 H) z7 R: k
  1734. ; http://php.net/com.allow-dcom
    : ?3 Z) `3 y+ K$ K; S1 H( N
  1735. ;com.allow_dcom = true
    - I6 m5 D( G" m! y9 q
  1736. 2 L1 v' \! X, z" m
  1737. ; autoregister constants of a components typlib on com_load()% M4 y7 ?- o3 w$ P4 |
  1738. ; http://php.net/com.autoregister-typelib0 C2 y! c, ?' C% u; ?/ J  \% G
  1739. ;com.autoregister_typelib = true
    & l0 D9 {" G. a, ]& M

  1740. 4 N! ~0 m0 V  @; G
  1741. ; register constants casesensitive
    ( V4 _! v. v7 A8 G: b
  1742. ; http://php.net/com.autoregister-casesensitive. S/ A" B. p; V; k$ D. L
  1743. ;com.autoregister_casesensitive = false
    / k: R! z; x7 m9 J) W0 A
  1744. 8 d4 O+ Y% |3 u
  1745. ; show warnings on duplicate constant registrations
    , n: n1 S! B- J0 N$ C; p6 r
  1746. ; http://php.net/com.autoregister-verbose
    1 b" F2 ~/ E# j% W9 F' J; h/ W
  1747. ;com.autoregister_verbose = true( m+ k" q) ?; X* |2 G0 `

  1748. ) D9 m/ M  K+ i$ d! R; @
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    ! x9 u* s: y/ `, J7 y$ y( p/ E
  1750. ; Default: system ANSI code page
    6 J, {0 s3 ?9 C. x% n; l( u! t
  1751. ;com.code_page=- _1 ?4 z( n( |4 `* G2 p

  1752. 8 N8 ~, G! @1 i2 |8 S
  1753. [mbstring]7 M+ H0 X4 I* \1 L' B4 t1 z' E
  1754. ; language for internal character representation.! G! q3 ?4 ^/ s. V  d
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    6 R$ U  m( t$ t% d
  1756. ; http://php.net/mbstring.language
    # B' i  c5 `0 _5 N
  1757. ;mbstring.language = Japanese
    + m5 \( e* }& m4 |4 B
  1758. 5 K( o9 w% y4 a5 L3 |2 M6 D
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    $ ^, {& `$ e6 a) m0 V; ?2 E3 k( t& C
  1760. ; internal/script encoding.% @6 s% x* i: @( F/ H
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*): Y' B( e& H1 A! N+ W% _2 d
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ( F+ x- v9 [3 _* t3 [8 g. Q
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    / A; w7 M5 N0 g( I
  1764. ;mbstring.internal_encoding =0 w% r. G. ~" R4 p
  1765. " f  Z0 x5 M% {( _4 ]5 d6 D
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    + I( f9 o. A; t; Z
  1767. ; http input encoding.
    * z) f! G, P/ i) ?1 ]" {
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.$ a- v( {' k( u# h
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.  q8 r& ?. S; B0 q# B7 Q% S
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ' [. Z+ e2 j4 A7 L: e2 g
  1771. ; http://php.net/mbstring.http-input
    3 m# ^$ D0 e( _$ r6 m
  1772. ;mbstring.http_input =- f  {) ?) m% a7 E# k* W8 [, o( n3 V
  1773. ' Q" W2 O, c) _& g
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.5 G+ z7 r# j" N' {( T, f/ s# ?
  1775. ; http output encoding.- d+ n. B* L8 e
  1776. ; mb_output_handler must be registered as output buffer to function.
    ' z. n1 {; g  n
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.- j- {, J$ G7 t  z5 A  i
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ) K6 x  Q% l; f
  1779. ; To use an output encoding conversion, mbstring's output handler must be set* |7 ~8 I! }2 j, o9 q" n6 `
  1780. ; otherwise output encoding conversion cannot be performed.
    : c6 K6 J. N; Q, U4 z$ `
  1781. ; http://php.net/mbstring.http-output
    ' f. t/ ^, B$ S' D/ n- P+ }& d
  1782. ;mbstring.http_output =
    3 E% q- f% R1 e

  1783. ' \4 ], Z( O; g/ i
  1784. ; enable automatic encoding translation according to
    . `$ @$ C; A& e7 V( E
  1785. ; mbstring.internal_encoding setting. Input chars are
    8 K: v5 J$ `% A2 w
  1786. ; converted to internal encoding by setting this to On.% P* X* [( N7 ^# a# R4 w
  1787. ; Note: Do _not_ use automatic encoding translation for8 s$ O6 g; ]: O2 z/ Y; A! V3 \. N$ ?
  1788. ;       portable libs/applications.
    3 Z7 L/ ?* K# Z7 t0 {/ m& T
  1789. ; http://php.net/mbstring.encoding-translation
    # p2 P( z/ @( S* [
  1790. ;mbstring.encoding_translation = Off+ I! v" O; x- {6 l

  1791. # J) _! W8 m- ~8 h8 j) ?; Q& g! @
  1792. ; automatic encoding detection order.4 O2 |+ s3 D, ^# H, I; L% N
  1793. ; "auto" detect order is changed according to mbstring.language4 V9 _" C2 {# n$ `# T
  1794. ; http://php.net/mbstring.detect-order
    * Z- N  c$ j: l/ W5 _
  1795. ;mbstring.detect_order = auto1 @( \+ h$ ^) R' C: F3 D( y
  1796. 6 |/ O* i0 d) k2 v# _
  1797. ; substitute_character used when character cannot be converted- d5 [5 [; Y9 d% l( p9 x6 `
  1798. ; one from another% j% E# n; W5 C
  1799. ; http://php.net/mbstring.substitute-character9 N7 u8 q& S9 ]# |8 L! r  q
  1800. ;mbstring.substitute_character = none
    , p/ g3 A3 a7 k% D5 Z. {% R# D. C- g% ^
  1801. & Q, g: E" V* `, ?; s
  1802. ; overload(replace) single byte functions by mbstring functions.' J* K- }6 L0 u. ?% O% ^. e
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),& m: k& n7 K: A+ h& T2 l
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.$ T( v  F0 \4 @' R# \
  1805. ; For example, 7 for overload everything.6 G8 O3 ~# |2 J
  1806. ; 0: No overload8 I) S- r7 v. `  ]$ m9 f# C
  1807. ; 1: Overload mail() function, o4 n( d: k8 }1 m" s  X4 Y
  1808. ; 2: Overload str*() functions  \. W; W$ j, O6 l% y
  1809. ; 4: Overload ereg*() functions
    ( ]- K, g" r4 I
  1810. ; http://php.net/mbstring.func-overload0 _: l8 a% y- L( m, _7 F) C
  1811. ;mbstring.func_overload = 07 c0 L: B( r6 O, _& J3 x% }
  1812. 2 ^7 y% {/ X1 u; q6 B
  1813. ; enable strict encoding detection.0 w. f& y. s+ d, ^
  1814. ; Default: Off
    - P3 {4 T( X* M5 N2 l* e( C8 i
  1815. ;mbstring.strict_detection = On
    ! B  s  @7 {& @: Q8 n( V. c
  1816. / Y: m3 a( a# b, r+ U; G( x& D
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()% R, o& }. ^- L) w4 t6 k3 \. Z
  1818. ; is activated.% @3 b9 B4 M& r/ k* s, t
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)3 w' b7 q8 H! [" c% o$ J0 v' G
  1820. ;mbstring.http_output_conv_mimetype=; u( C- N' X6 {
  1821. * y  R# M5 I% n& y* E- b: j+ v$ f5 g
  1822. [gd]
    1 i8 k" Z2 E. j, b3 W6 R0 ^
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    2 A( q6 \. T0 j# ^& @8 `
  1824. ; a gd image. The warning will then be displayed as notices
    3 Y' e; H0 v, c: x' R; |# v- I- b+ x& m
  1825. ; disabled by default
    9 r0 K# J) t9 ?# C3 Q# V
  1826. ; http://php.net/gd.jpeg-ignore-warning
    ( W4 C6 N7 |. S8 h5 f
  1827. ;gd.jpeg_ignore_warning = 0
    ( ]1 g& A1 Y- h, w! d/ l7 N

  1828. ; z1 b# t# k2 F9 }" n  q- i/ \
  1829. [exif]
    ' F. l9 E! Z! }& _1 ?
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.- ]) T6 M' k% P+ I9 u
  1831. ; With mbstring support this will automatically be converted into the encoding9 c" r* X6 n/ h! h; U
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    : u0 B- |5 J2 y
  1833. ; is used. For the decode settings you can distinguish between motorola and
    3 W! T, H0 `+ C1 s0 f! I7 N. ^6 Z
  1834. ; intel byte order. A decode setting cannot be empty.
    / W/ P# e# R# _7 E$ i2 @
  1835. ; http://php.net/exif.encode-unicode
    7 l* E( M3 J* e* p5 t
  1836. ;exif.encode_unicode = ISO-8859-15' Z8 d' f1 m% w
  1837. ' O( W$ z: i- Q* M. \+ H* y6 }1 q
  1838. ; http://php.net/exif.decode-unicode-motorola
    2 ]7 z! `# {/ J
  1839. ;exif.decode_unicode_motorola = UCS-2BE) i+ F& s# M! J$ D3 e/ n. J' y! i, [
  1840. ' W8 f. \, s  Z+ `
  1841. ; http://php.net/exif.decode-unicode-intel3 ?3 y; h8 H/ C8 T+ @& H
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    * y% a3 @! x5 m1 G4 `
  1843. 9 A6 R# N: y1 \/ A
  1844. ; http://php.net/exif.encode-jis
    * G0 k3 j0 L8 \$ f0 d! D8 R# X3 T
  1845. ;exif.encode_jis =
    - c# ?" l8 W$ e+ x5 I' I/ ^0 h
  1846. 6 i6 X9 q6 d( M+ ^3 r8 X/ Q
  1847. ; http://php.net/exif.decode-jis-motorola  j' n  M3 a) ?6 ~" @1 x( E: N! G
  1848. ;exif.decode_jis_motorola = JIS8 }. L* ~$ @" k1 c7 W+ b, g4 o, u

  1849. ) B, z  ^6 Y  `' V- {1 V
  1850. ; http://php.net/exif.decode-jis-intel) O3 {' t- U0 n* q
  1851. ;exif.decode_jis_intel    = JIS- r$ ~2 v6 g9 Q
  1852. 9 p+ b9 A8 Q1 B( u
  1853. [Tidy]
    ( y/ E  k9 [9 i% q
  1854. ; The path to a default tidy configuration file to use when using tidy. `0 W* T( D0 D) Z3 Q9 S: c
  1855. ; http://php.net/tidy.default-config0 |3 q$ R) J$ P& L, N
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    6 f$ _# ]' ]! e' p0 s, c  d  B! I+ _

  1857. $ L) ?; s) ?/ g* A3 }) {* z, p
  1858. ; Should tidy clean and repair output automatically?
    9 e2 e7 G4 C- `* z
  1859. ; WARNING: Do not use this option if you are generating non-html content, K+ V' Z  Q! O4 _" _) ~; o
  1860. ; such as dynamic images
    & g' i% n. L; C; Q( A
  1861. ; http://php.net/tidy.clean-output/ T- k6 v6 c7 N
  1862. tidy.clean_output = Off/ i. _- S" n; W( c
  1863. 8 g( m1 X0 Z$ Y, N& g/ M, `. v0 ~
  1864. [soap]
    2 j" f% S* x( C! j
  1865. ; Enables or disables WSDL caching feature.
    1 [2 B5 M! b; k/ `. `
  1866. ; http://php.net/soap.wsdl-cache-enabled5 A7 d3 Z  D7 f. n# V, N) M
  1867. soap.wsdl_cache_enabled=1: a3 s" V, ^! F- J0 i2 q: P

  1868. 6 ?5 t4 D; F; l1 ^: s) Y
  1869. ; Sets the directory name where SOAP extension will put cache files.2 C  W* t9 e1 u- f' Y# k
  1870. ; http://php.net/soap.wsdl-cache-dir2 H3 r: [9 S, Q; h2 _0 |1 C: ~) t
  1871. soap.wsdl_cache_dir="/tmp"
    ! b& j) J" @+ Z
  1872. 1 X& A0 E( C' g- Q
  1873. ; (time to live) Sets the number of second while cached file will be used5 d( n( t2 B$ f( s# G9 l. o
  1874. ; instead of original one.
    5 ?% j3 m! ]! f+ f: d  S
  1875. ; http://php.net/soap.wsdl-cache-ttl
    0 C( t% ]# v* K" S& N0 L* H
  1876. soap.wsdl_cache_ttl=86400* g, \, ]9 [7 _% X

  1877. ; l& b. p$ u: _; ~2 |3 P
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)! O& T, |( b6 J, W2 w
  1879. soap.wsdl_cache_limit = 5! N  f- D  w4 m3 [& p6 x4 h

  1880. 8 I/ A1 K8 m' F! ]
  1881. [sysvshm], I0 T7 W9 Z( m# q
  1882. ; A default size of the shared memory segment
    + T0 L* r) \! N
  1883. ;sysvshm.init_mem = 10000
    * \* I$ _; n5 y; K2 U+ C0 ]) `

  1884. ; C$ b2 q; Z+ A- v
  1885. [ldap]
    7 E: F( K+ s% D8 W
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    & V- a4 z% e4 }" |; s6 t
  1887. ldap.max_links = -1
    # T9 k% q/ ^( ^1 {% q2 S  ^# Z
  1888. # @, R* b2 p0 A4 e. @0 {' _
  1889. [mcrypt]! ?5 Y3 B# S+ P! a( F% T
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    * Y1 k1 c, X7 P  l
  1891. : R% E3 C6 S& X+ n; W% B/ U
  1892. ; Directory where to load mcrypt algorithms
    2 {  U0 f5 ]* ^" w& Q+ R/ d
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    % U9 B0 A* W" x" x9 Y$ U
  1894. ;mcrypt.algorithms_dir=
    7 @( y% F* q) k( i2 B$ z5 y

  1895. 5 J& V) h5 S" U  Q
  1896. ; Directory where to load mcrypt modes
    / K* H/ w! ^$ D" H7 C3 Z, a
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)# p/ W2 ]8 L8 ?5 v6 p# y
  1898. ;mcrypt.modes_dir=* ]: E7 ]: x% U
  1899. ; ]9 Z5 a  t" H! L/ Z# ]
  1900. [dba]6 }6 \; A+ t4 A- E" t# O4 S
  1901. ;dba.default_handler=
    % Q6 m+ @7 m+ y0 s/ K( \3 y+ l& F& z
  1902. ! W8 G7 L$ C9 K5 ]' K
  1903. [opcache]/ f2 p5 J" S5 f# m* [
  1904. ; Determines if Zend OPCache is enabled7 R( Z0 `: h* c0 ^( }
  1905. ;opcache.enable=0, F3 W- G# |0 R2 A) o/ c

  1906.   J5 ?9 H+ t0 q: g2 r& ~
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP" ~- Z/ }2 e2 r: X" V* c, g
  1908. ;opcache.enable_cli=0
    3 W# o: Y, t2 }$ m

  1909. 6 z) O% Y% ]/ I3 C. N+ E
  1910. ; The OPcache shared memory storage size.; `$ N6 i6 T1 ^- |0 \- Y( [1 u. O
  1911. ;opcache.memory_consumption=64
    , X7 H1 p& h9 Q  i

  1912. & A- i  `3 l& I- s0 H0 r
  1913. ; The amount of memory for interned strings in Mbytes.
    ) ^- r& f- e3 G  g2 j/ O
  1914. ;opcache.interned_strings_buffer=4, I/ K9 T( L" D0 o
  1915. 5 r5 s' [. f* q
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    + b* a3 I3 ?! W6 a8 ?3 d8 Z
  1917. ; Only numbers between 200 and 100000 are allowed." N" q8 H0 u/ {
  1918. ;opcache.max_accelerated_files=2000" c% c5 Y" h4 X$ q/ j) G* U

  1919. / v1 _- \5 o* v* B
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    / K7 p: w. B; F  ~8 r; N7 Z& }3 c
  1921. ;opcache.max_wasted_percentage=5
    # v" E  b- y3 b% Q4 v

  1922. # r" `; W; J( B3 p9 N' Y
  1923. ; When this directive is enabled, the OPcache appends the current working* D" Z0 d# f7 ~7 y
  1924. ; directory to the script key, thus eliminating possible collisions between
    ; I4 r) o8 R  ~5 `2 i
  1925. ; files with the same name (basename). Disabling the directive improves7 C6 Y5 t" C7 G  C' n
  1926. ; performance, but may break existing applications.5 R; _* |2 l0 v
  1927. ;opcache.use_cwd=13 y; w) O4 s  i) y+ O5 ]& }

  1928. 7 D& N  c- a* g: c$ S! ~7 o; q2 a
  1929. ; When disabled, you must reset the OPcache manually or restart the
    1 r6 @9 {( i. `1 u
  1930. ; webserver for changes to the filesystem to take effect.9 U5 k1 k* U# y
  1931. ;opcache.validate_timestamps=1. ?' }# L- R0 g+ ^* P6 l
  1932. , n; K# s( \9 }( n1 y. ^
  1933. ; How often (in seconds) to check file timestamps for changes to the shared2 L; \" V- o4 {4 _5 P; m8 E
  1934. ; memory storage allocation. ("1" means validate once per second, but only2 W. e) i9 Z# M5 X! K& J7 f3 K
  1935. ; once per request. "0" means always validate)0 F9 ?5 S8 W& u6 q! W: A
  1936. ;opcache.revalidate_freq=2
    / m) x# F4 [0 U) ~5 m% c
  1937. & \$ k( z, r; t  i  Q
  1938. ; Enables or disables file search in include_path optimization* Z8 G9 T) o( @2 I* T
  1939. ;opcache.revalidate_path=0
    ! }! S2 d. z  |  j  M! S* ^  k7 b

  1940.   u$ m. ^& I; D0 _  z% D7 N
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    4 h7 o. J5 k0 V
  1942. ; size of the optimized code.' m1 l! f+ n' [8 t: M- v9 J
  1943. ;opcache.save_comments=1
    4 [6 Y  e: R% M/ W* z

  1944. $ x- J; w5 a$ I3 \
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"5 O3 h- ~, K4 n+ D. s& o
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ' m; `( h  @8 q$ G6 {
  1947. ; that don't need them anyway.
    * P5 q2 W( B) k
  1948. ;opcache.load_comments=1# w7 c: J8 _" p; g
  1949. 9 @# U+ i$ G, X5 ^( V" |
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code# R! @4 ~$ f5 F0 e" S1 y* \& y5 L
  1951. ;opcache.fast_shutdown=0
    ) |9 B+ `7 h$ K8 N$ m& h! r+ [
  1952. ( H8 O4 |3 r5 q: z, ?
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    * c: w- T. j" U6 g6 K( F( {1 G
  1954. ;opcache.enable_file_override=0
    " v9 V" n. G  @& Y
  1955. ! ^5 u' ~7 q% |1 E% I7 o
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    1 ~) B3 Z0 {* j  m
  1957. ; passes
    9 I1 K- X. T7 x' F. M& [8 Q: G: l
  1958. ;opcache.optimization_level=0xffffffff) u7 ^1 Q! `* Y) I% [

  1959. 3 Z9 X1 E* T& E5 G: q
  1960. ;opcache.inherited_hack=1
    7 j+ r0 R2 z! a) ?& U# w
  1961. ;opcache.dups_fix=0: G: r0 Q: D( h" @  A. h5 }
  1962. % x0 f; r  S( V4 F* v
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    0 e5 S- Q% k; p9 D
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    * o6 W. w; }5 E/ E
  1965. ; that should not be accelerated. The file format is to add each filename
      d, _, |# J/ d# h
  1966. ; to a new line. The filename may be a full path or just a file prefix3 }7 w. A# @9 W+ f/ p
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www: |" ?7 _0 h5 j' v0 J0 v
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
      X& a9 M" [9 O& B
  1969. ;opcache.blacklist_filename=: A% e5 F8 Z/ z/ Q5 a; l" j
  1970. + M2 x: l% ?' t6 i' R2 D' r
  1971. ; Allows exclusion of large files from being cached. By default all files7 E1 C4 u+ X) y, z7 W& E' O1 J
  1972. ; are cached.
    - ^  G0 e& |% _  _) R: _
  1973. ;opcache.max_file_size=0
    # ^. B( F: l& F5 I1 V7 |

  1974. 3 w; q5 z! ~3 l9 d3 A/ B% v
  1975. ; Check the cache checksum each N requests.
    0 A5 L0 v% }9 w/ Y+ T' a
  1976. ; The default value of "0" means that the checks are disabled.; O* P9 }1 f, m6 G
  1977. ;opcache.consistency_checks=0
    8 y* t9 Z+ h% Y

  1978. " P/ _8 K5 l* n& X
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache% d" f2 r8 @  @% y: b- L6 [  ^; p
  1980. ; is not being accessed.# \$ \, u" m- b( z
  1981. ;opcache.force_restart_timeout=180# ]3 K& c$ k# T+ w; |9 j
  1982. * {5 _" M' J  ^
  1983. ; OPcache error_log file name. Empty string assumes "stderr".2 O+ w( H4 N, Q8 p! }3 q' s
  1984. ;opcache.error_log=) L- R" o8 d! z, T+ {: y7 F. j2 v

  1985. . ^8 n+ N8 z. ^+ D( b
  1986. ; All OPcache errors go to the Web server log.
    - H' ]+ a! u+ A5 Y9 i8 O
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    + G: Z# y3 |6 W% q& C' H
  1988. ; You can also enable warnings (level 2), info messages (level 3) or% ^0 J% N7 ^& t: J- Q, d
  1989. ; debug messages (level 4).
    3 E. g/ S% ~% c) C  S
  1990. ;opcache.log_verbosity_level=1- C7 z, t8 ^+ N" ?- P

  1991. # t9 ?  n6 K) f) L- S# [! W
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    * g. c* K$ \( @4 U
  1993. ;opcache.preferred_memory_model=6 V$ e6 A  o6 N) h

  1994. # ^/ e# G  u+ Z
  1995. ; Protect the shared memory from unexpected writing during script execution.2 U4 ^6 k$ J9 ]9 Q6 j2 K$ C
  1996. ; Useful for internal debugging only.
    9 H& P! K4 Q& ~$ J% y. g
  1997. ;opcache.protect_memory=08 Y! K: N; W+ J5 B) h
  1998. 1 A8 S! G* v+ E5 N$ q
  1999. ; Validate cached file permissions.: |  ], Q+ z2 ^+ A; q6 q
  2000. ; opcache.validate_permission=0
    " i& x6 C) U8 a% J8 N# u

  2001. ; D7 S. m4 P) ^. Z# i
  2002. ; Prevent name collisions in chroot'ed environment.
    / A, s# F' O0 p; N7 f0 a3 }7 H
  2003. ; opcache.validate_root=0
    # ]. y2 C" f7 X+ }
  2004. , g3 @6 E4 g+ Q0 b+ J- t: y. c
  2005. [curl]
    * D3 n9 G# z0 [8 j) f7 M
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    0 N0 I0 {! \2 _0 k8 Z
  2007. ; absolute path.
    " m! f! V; {& l, \! N
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt, O# }$ C% W6 S8 ?  I8 ?5 M# {

  2009. 0 t3 x" |% [5 c8 |; @. X
  2010. [openssl]
    % k* }6 H4 [( f
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    ' K( c1 Y- u. e/ G3 P6 c# g1 E
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    7 {- n; }/ ]: y4 h
  2013. ; not specify a value for this directive as PHP will attempt to use the( }' w) Z; @4 T" C$ L4 A! A- S' V5 p
  2014. ; OS-managed cert stores in its absence. If specified, this value may still8 N  B1 u* ^* ]7 c1 r! e1 D
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    , L! W$ L4 D- t0 Z
  2016. ; option.6 L$ ~7 f; x; P/ M$ U# @
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt7 n/ O; h, @$ Y" v9 Z( r: i+ g

  2018. # R! {8 G- B. e, U
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the. g1 j/ J& y% J! ~2 z% V
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    . n: ]$ o8 r9 ^$ U
  2021. ; certificate. This value must be a correctly hashed certificate directory.8 y* t! c( Z: }& s) a9 ^% I
  2022. ; Most users should not specify a value for this directive as PHP will
    7 F& x- _9 V8 ?5 a8 ?+ b4 O. {
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,- C& S+ x' [# r/ y7 w
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    7 X/ P" q, P  w: r* W" K
  2025. ; SSL stream context option.) G3 w. Q" b3 R: e5 u
  2026. ;openssl.capath=
    & h3 e5 ~" H  I0 |; Z: i4 A: o

  2027. 5 o2 y, P: y' ?7 u2 e2 h+ }: K
  2028. ; Local Variables:
    9 S7 [/ ^  E5 x8 g/ K- L. J
  2029. ; tab-width: 4
    ! ]8 r' }5 k4 N+ K0 V+ }- ]
  2030. ; End:
    ; r' c9 [5 `6 `4 h  L! E  ^9 C

  2031. $ d/ J! x# U7 {* r
  2032. ;eaccelerator
    $ T' x+ A/ U8 E( s

  2033. 9 h( F" N1 R+ o6 c* e
  2034. ;ionCube  ^( p/ B% x0 C! P

  2035. 9 }# z) I0 q, p8 n
  2036. ;opcache
    3 g' r, Q3 e& O; n) Z) \

  2037. ! ^+ _0 J. r' {3 O. N
  2038. [Zend ZendGuard Loader]4 I6 Y3 d+ A, o8 ~- n
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    5 C: p7 W0 O9 h1 P5 ^0 y
  2040. zend_loader.enable=1" w+ N' R# ~6 c
  2041. zend_loader.disable_licensing=0$ {3 n5 [( z: p0 O2 a6 H3 ]7 E  y
  2042. zend_loader.obfuscation_level_support=3/ A) Q/ M( L# k  R
  2043. zend_loader.license_path=* f. q. ?$ z$ D, e

  2044. : A# H0 C- H* e6 p4 _
  2045. ;xcache
    # w8 h8 ^; H2 @9 _/ x5 ]( t( [

  2046. . \9 u" q0 f% `9 U6 B. e7 f
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146928 f6 l3 \; J- G

! Y9 C  |( m$ |9 V# i  F5 D" t5 J) P4 T/ ^, \
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,& s" g' i6 W; G- W2 d/ w+ }$ M
" T: ^; d$ d; w5 X+ p$ m
Discuz!程序版本选择:1 m  B+ p* t5 p
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
6 U0 d! \# R5 G; e不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:$ n9 D8 S" G% f: u3 c" d: i" g5 g
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。
1 D5 {8 q% w+ t- z2 t- q" J: ?  h% C. @
Discuz!插件模板版本选择:
9 d: G- g' E9 ^( h5 e很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
# q  C' |+ ^- x" g针对这个问题做个统一的普及:
& P1 J7 M6 k# {3 d) }$ {2 yX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。% z0 _7 H; m& O6 j* J" X
& D( ^" x- \% r
所以
6 [' ~$ v6 I1 d, e适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。6 D3 x* M0 c! S4 U. H
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
8 K4 s  l( b# m. N" q. F注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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