分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
  o! |" \. Y( j6 z6 _, C; D. [/ K
) f5 a2 v7 {7 P: c& I) E- `
  1. [PHP]9 F7 b) W0 V3 R2 c. M/ S2 v

  2. 3 P) L5 X$ c7 Q8 ~" y/ f& u- `5 K
  3. ;;;;;;;;;;;;;;;;;;;$ m" G  O. d; m! t& n
  4. ; About php.ini   ;' U! l3 n6 ]  X* f
  5. ;;;;;;;;;;;;;;;;;;;
    % F" z- A( n5 e# |5 M, D6 Z9 r& |
  6. ; PHP's initialization file, generally called php.ini, is responsible for2 G9 u& D- i7 w6 f1 e! |: y: _
  7. ; configuring many of the aspects of PHP's behavior.1 Z$ X3 I- s* @  H  r# K$ `
  8. ) O+ r' z' e1 x
  9. ; PHP attempts to find and load this configuration from a number of locations.& \1 f1 u! C. u+ t4 C8 l& C' ~7 N
  10. ; The following is a summary of its search order:( z; x5 d4 `1 X% K% Z
  11. ; 1. SAPI module specific location.' u$ ^2 O$ I0 z: i3 C) P
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    3 d6 e3 b# R6 w, R
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)' ]- W; u5 B& K* u2 x1 |
  14. ; 4. Current working directory (except CLI)
    9 k6 j1 \8 j( x  p* S
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    8 j7 V& l9 \' q. Q3 k# E& k
  16. ; (otherwise in Windows)
    & I  J+ _: ^1 c. f( _/ V: y
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    1 |+ i: w) {, p9 Q6 I# l  S/ u
  18. ; Windows directory (C:\windows or C:\winnt)( w8 g+ p7 s- o+ h
  19. ; See the PHP docs for more specific information.* K) b" I2 ]* @" J) z6 K
  20. ; http://php.net/configuration.file
    ) U+ g- p- S/ {7 e" b9 q* ^

  21. 2 w$ Z9 P) m5 i& U
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    * n7 M4 k% H0 f; s. ^1 @
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).3 [/ ~" m6 w/ n% Q  s
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    6 q- b4 J/ p+ l' m
  25. ; they might mean something in the future.
    ) _. u) Z* h: e0 h% e7 [8 R

  26. 0 _: O7 Q" \% m+ K0 R, ~# C
  27. ; Directives following the section heading [PATH=/www/mysite] only
    , ]- ]5 X  M4 {+ k6 F& ~
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    " j1 e/ ?& K9 `+ @2 d$ f! I+ h: s
  29. ; following the section heading [HOST=www.example.com] only apply to7 A8 M: C: r/ y: [* b
  30. ; PHP files served from www.example.com.  Directives set in these
    - a  K. c! {  j3 u) W
  31. ; special sections cannot be overridden by user-defined INI files or
    & r; f$ i' t9 s6 [; I' _
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    4 r& a* U6 Z/ k
  33. ; CGI/FastCGI.
    3 S5 k" g+ K6 b0 Q1 b* @
  34. ; http://php.net/ini.sections
    . J! N5 Z7 F2 v$ ~) Q% G: _' }

  35. , G+ s$ o- I# \1 L* E) U8 r* i
  36. ; Directives are specified using the following syntax:! V& k8 c0 o* `, C& B) `3 @6 N
  37. ; directive = value
    : d  ^3 _1 \6 ~2 f
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    1 D' e7 O7 @, s# R5 Y* A% l' B
  39. ; Directives are variables used to configure PHP or PHP extensions.' U& d3 @% J% `1 [7 U
  40. ; There is no name validation.  If PHP can't find an expected; L! C3 [- Y: e- r% t5 T8 i
  41. ; directive because it is not set or is mistyped, a default value will be used.& n* [: }& K2 i$ P" w
  42. 9 K) U( b; N. g5 h% P$ \5 k- m
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one: r7 g# H9 p6 ~7 ^; h1 u
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    " w  r. l4 B; Y2 l
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a" h* m" P. O+ c' D" D- O
  46. ; previously set variable or directive (e.g. ${foo})
    9 Q- y9 I9 l% L5 P

  47. 8 [1 j' w8 H5 `  x
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    & u, b( W' d( O7 r/ j) l: Y+ O3 v( l
  49. ; |  bitwise OR1 E; G4 ^. O7 v- T6 b
  50. ; ^  bitwise XOR; s# i/ {+ d$ p% R2 i4 m
  51. ; &  bitwise AND( F9 N* V  q  ?$ J5 [; U
  52. ; ~  bitwise NOT
    ) k( G5 m' _+ l6 a. r6 E% D  s
  53. ; !  boolean NOT
    0 p- `& H; f, D  A7 ]  `

  54. & l& ~- P( g# ?
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    $ E: |( q9 }/ W" J
  56. ; They can be turned off using the values 0, Off, False or No.
    : H5 ^# W6 Q) u
  57. 3 x/ [; F- D7 t/ n: N& J
  58. ; An empty string can be denoted by simply not writing anything after the equal6 i5 Y7 P4 @* Y! y
  59. ; sign, or by using the None keyword:
    4 Z/ \0 h1 ~: z  x+ N% b+ \  O

  60. 7 O" R# `4 U0 x$ Q: U) B
  61. ;  foo =         ; sets foo to an empty string
    # A0 z6 `: o9 m) [; G- m1 _7 e
  62. ;  foo = None    ; sets foo to an empty string
      R7 v8 X1 f# N5 x
  63. ;  foo = "None"  ; sets foo to the string 'None'0 b5 w1 {4 j# t3 K% }4 E# y, h5 o
  64. ) e1 J3 `, q9 x
  65. ; If you use constants in your value, and these constants belong to a) n& D" M2 f  n
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    3 R+ G3 J# O5 ?5 |5 W5 R) U
  67. ; you may only use these constants *after* the line that loads the extension.  s! w. n3 [8 E
  68. 5 i2 s) u; o5 B  g- {2 h$ V' [% w* ^
  69. ;;;;;;;;;;;;;;;;;;;% V! G1 w: e% e  w3 P2 y
  70. ; About this file ;
    " P1 o4 ]7 Y' K7 L: ~
  71. ;;;;;;;;;;;;;;;;;;;
    ! X+ b5 v0 {/ s$ r* [
  72. ; PHP comes packaged with two INI files. One that is recommended to be used0 U1 d, L, m* g/ m
  73. ; in production environments and one that is recommended to be used in
    + A" b# S, C8 X! W# N: s8 x
  74. ; development environments.8 x5 t, ?% a1 O9 F. ~9 W
  75. + K; j- A' E; B2 m
  76. ; php.ini-production contains settings which hold security, performance and
    + x2 e) w: c) a  [3 S4 _
  77. ; best practices at its core. But please be aware, these settings may break
    & V& a* `6 H* ?; k1 r2 F: @
  78. ; compatibility with older or less security conscience applications. We1 Q5 y# n& O9 f' h1 K7 I
  79. ; recommending using the production ini in production and testing environments.) h  Y' Q$ }0 \8 [/ X7 l( W

  80. ) `8 T) o$ N0 L$ U  _
  81. ; php.ini-development is very similar to its production variant, except it is
    4 u6 B9 _4 {  _6 e0 w
  82. ; much more verbose when it comes to errors. We recommend using the
    ) z0 t" o! b/ B" F( O( y
  83. ; development version only in development environments, as errors shown to
    ( V* @/ f: ~% N! @
  84. ; application users can inadvertently leak otherwise secure information.+ x5 p/ [6 _) z# v/ g
  85. ( C7 @5 ^, P) |7 c
  86. ; This is php.ini-production INI file.( O. s- ~) v$ X) J: t! O, |

  87. 7 T2 D! x0 ]" G, l
  88. ;;;;;;;;;;;;;;;;;;;8 a9 I. W( }2 V( U' A# a$ p% O  u+ |
  89. ; Quick Reference ;
    0 Z. p5 O! P* m" p! {! c1 B
  90. ;;;;;;;;;;;;;;;;;;;
    4 K- h4 P* d1 [4 B
  91. ; The following are all the settings which are different in either the production
    " m; D" B/ P' @) P; j4 [% {! w% u
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    / B3 N1 P. v" v" ~  q2 H* O0 e. \
  93. ; Please see the actual settings later in the document for more details as to why4 S& M$ O! ~( X$ t/ B. J
  94. ; we recommend these changes in PHP's behavior." y% v6 G- n% x9 j) @

  95. 0 r# L8 \! ^6 V' g1 K1 h
  96. ; display_errors6 J: E' J  K9 H  S) S" l
  97. ;   Default Value: On7 z8 {4 C  f( e. E  z
  98. ;   Development Value: On
    6 y$ k+ |) U! Z
  99. ;   Production Value: Off
    : T( {- b- R1 \) Y

  100. ( S0 x! S4 W3 p) |1 G
  101. ; display_startup_errors
    ' y/ i, |, G( A1 j. V
  102. ;   Default Value: Off9 m3 k) _( Z8 q$ {$ @$ P2 x
  103. ;   Development Value: On/ q% k$ }0 N% @. ]4 G
  104. ;   Production Value: Off! \. F) y" x0 }/ m

  105. , k5 ^+ Z$ }$ t2 S* t/ p
  106. ; error_reporting- e! E0 J7 _7 ~" j+ A
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED( ]- @4 J- q( Z" U* ?
  108. ;   Development Value: E_ALL
    ) q  t4 ]) x7 w2 |, G
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    " m: v' w! t* H7 O' `: p

  110. 6 z& S9 g; i; I: ^) \% Q
  111. ; html_errors
    0 `9 w6 D+ @% K& Y2 V
  112. ;   Default Value: On
    0 D1 e2 q# n8 S: n1 W+ e
  113. ;   Development Value: On7 y, }# j/ T2 u* {8 w' \
  114. ;   Production value: On
    5 `- \9 E" D" y# r$ D0 {+ L7 @

  115. ) m/ b$ n1 {; ^+ P& w. `9 z
  116. ; log_errors% S/ c" q# [7 W& e9 v; a
  117. ;   Default Value: Off
    - J: L/ \7 s0 G$ e) u) _$ q7 V
  118. ;   Development Value: On4 J/ _# Y8 i1 l" g4 I
  119. ;   Production Value: On
    6 F% f* k7 @# i, h
  120. 5 n' [5 _+ @  d! g3 z# y
  121. ; max_input_time! J# s2 g+ a- c5 ^5 t, H/ M3 w
  122. ;   Default Value: -1 (Unlimited)
    6 ~* v( [" N% n& l' ^! F' z# v
  123. ;   Development Value: 60 (60 seconds). @7 w1 V  m% E" o6 b
  124. ;   Production Value: 60 (60 seconds)* O9 U# n3 B8 ]$ @5 e2 C

  125. - M7 C0 y9 p% l( M3 R
  126. ; output_buffering3 E- s: M. l: A) P6 k  U
  127. ;   Default Value: Off2 n. ~" T- [' W- e
  128. ;   Development Value: 4096
    2 n) L% K' p7 t$ P/ e
  129. ;   Production Value: 4096
    3 C! Q, q& n$ J5 \* y9 q+ w

  130. , M- R1 N1 {+ r% ]  B# i( U
  131. ; register_argc_argv
    3 m; H0 J: l7 S0 b- F5 ]# B- V; U
  132. ;   Default Value: On
    . Y% m" L2 s' Y& w# k: O8 N8 N
  133. ;   Development Value: Off4 S3 n. e6 s  P0 U
  134. ;   Production Value: Off
    * `; T% g# {2 `, D4 `2 U* D7 e

  135. 7 P  W0 Z& a" a* F6 _: A# Q* s2 @/ [
  136. ; request_order0 C3 v6 |+ {" r$ {+ p
  137. ;   Default Value: None7 F* f  X# F7 E! H! J4 T' p; k9 s
  138. ;   Development Value: "GP"7 e" F# I; Q& v5 {
  139. ;   Production Value: "GP"* _, V$ v+ I% D4 F! V& U; r2 B# l

  140. 2 }8 r& K0 y, Z: ]! f4 ]' u+ @: e
  141. ; session.gc_divisor4 a% f' ]4 f5 E* K, m  G$ A
  142. ;   Default Value: 100
    / @+ t' k, ^7 S: f$ u4 A
  143. ;   Development Value: 1000/ t: c2 a8 E" I* Q- H. I
  144. ;   Production Value: 1000
    ( O6 A. k. @1 P% b  K- m- d
  145.   v& n3 O! i+ z& G
  146. ; session.hash_bits_per_character
    $ K8 A* g" G) L# Z8 t
  147. ;   Default Value: 4
    ) y- D& _" h6 b! D3 F' P
  148. ;   Development Value: 5- Z7 k& b- p# `. j! Q% m
  149. ;   Production Value: 5( G4 I/ ?/ g; Z5 L7 l! t

  150. 1 ]$ l( d  A+ R* Z1 K# X& D
  151. ; short_open_tag8 o# C) r, `; T3 K
  152. ;   Default Value: On$ S( m9 s' P  k8 p8 q! k- ?& ?
  153. ;   Development Value: Off4 ]# b1 ]: {  u8 R. m
  154. ;   Production Value: Off6 {& {% F$ U1 t  p( Z5 q8 e9 C1 p! x
  155. 7 x( W* h: f3 A' A
  156. ; track_errors% L* p/ t* d8 H7 C) P: a, L
  157. ;   Default Value: Off% u' m6 P& o3 S# J" J: q
  158. ;   Development Value: On- s" @4 u% i" O% E+ Z) C# R
  159. ;   Production Value: Off
    # e& k' O; g) i' v
  160. 4 E  h! q& [) Y, c2 }/ X( J
  161. ; url_rewriter.tags: a. V3 F  g) w- o) D) ]( Y: l
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="" d4 n: L6 @2 I# p
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry", ~: [8 z4 M6 ?( H$ c
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( D; T  F0 e% o7 m" M2 P

  165. 6 `6 F! a& h3 A, C; K6 s+ j* F
  166. ; variables_order" `* E2 |* H0 ~2 x1 I
  167. ;   Default Value: "EGPCS"
    ( K+ ~; w0 h4 o1 u2 j) }* S
  168. ;   Development Value: "GPCS"2 _  e0 q! J0 L- k6 N; y" ~
  169. ;   Production Value: "GPCS", C& U5 \+ u, ?) F; u7 l# f4 y* |% z
  170. ; D$ u4 T1 {. E" ~  C( W" N
  171. ;;;;;;;;;;;;;;;;;;;;: j: U- e" d* ^' v
  172. ; php.ini Options  ;8 N9 Z: T7 P7 i& ?. a2 c' g2 u
  173. ;;;;;;;;;;;;;;;;;;;;
    ( U" k6 J  l+ z4 M4 u
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"1 q5 S  g' M- o) o
  175. ;user_ini.filename = ".user.ini"; G$ C2 y  J/ ^# G0 D* _

  176. - g& ~; {7 o* }5 X6 U
  177. ; To disable this feature set this option to empty value6 g: f# n* {2 A6 I
  178. ;user_ini.filename =
    5 U4 o* Q1 |. |' K
  179. - {3 f. l! ?5 J7 x! u
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)$ X; Q4 F9 S% p# w5 E/ K# f6 A
  181. ;user_ini.cache_ttl = 300
    9 V! b# q* V$ v6 W
  182. ; y4 U* C/ C& F: C
  183. ;;;;;;;;;;;;;;;;;;;;
    / h) O1 v5 s5 V- j
  184. ; Language Options ;9 A+ E( g& s! W1 t. b; q+ w7 T+ p
  185. ;;;;;;;;;;;;;;;;;;;;. `+ B1 Y; c% j0 y+ t
  186. : |; _1 ]  w$ A8 U
  187. ; Enable the PHP scripting language engine under Apache.
    + y( e0 H, f, ~$ _- B3 k
  188. ; http://php.net/engine
    % t# j1 Q# R" D! o5 O6 Y* ~
  189. engine = On
    8 [3 _- K2 b" Y. i( t9 r$ \
  190. 0 \% A3 L  [! U, \4 [8 l
  191. ; This directive determines whether or not PHP will recognize code between" W9 T$ ?' P4 U% u( F
  192. ; <? and ?> tags as PHP source which should be processed as such. It is8 `. t" p" i$ d2 W/ E! E
  193. ; generally recommended that <?php and ?> should be used and that this feature( ^" O0 S2 E' H6 U# [2 j
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ( L2 w+ Q0 A0 N
  195. ; documents, however this remains supported for backward compatibility reasons.
    0 u+ A9 F7 `, I( S* e  N
  196. ; Note that this directive does not control the <?= shorthand tag, which can be! t" r& z( r2 S8 S' z! |
  197. ; used regardless of this directive.
    : G* r  t6 d0 ?# D" i5 m$ q  G
  198. ; Default Value: On6 T9 e$ s! k7 N4 {6 a; ~" J
  199. ; Development Value: Off
    & X  v/ Q' a+ ]( R
  200. ; Production Value: Off0 @! C6 k9 P4 A/ P9 `. I
  201. ; http://php.net/short-open-tag
    5 Z* u( v8 _! k/ Y& P
  202. short_open_tag = On- k! V  c& k$ w# H9 R- U1 V
  203. ( H1 M8 M( H) i" j
  204. ; The number of significant digits displayed in floating point numbers.3 g6 q3 v' O- ^+ ]
  205. ; http://php.net/precision
    1 Q6 J9 Q" p0 x1 n& g( N! x& k3 _
  206. precision = 14; ^+ i8 G: ]0 `$ \) \, a: M4 m

  207. ) T4 o7 C" V7 o
  208. ; Output buffering is a mechanism for controlling how much output data
    * b" m2 C$ X4 v! {& n5 ^
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    1 e6 E: R3 z3 [8 g! s5 F" R! T
  210. ; data to the client. If your application's output exceeds this setting, PHP
    * w- P2 a  T% Z0 n! N, G2 Y' V
  211. ; will send that data in chunks of roughly the size you specify.
    % K1 C  f! G1 B) k
  212. ; Turning on this setting and managing its maximum buffer size can yield some/ U6 S+ E/ ?' }, x5 `* q
  213. ; interesting side-effects depending on your application and web server.
    ' w1 s7 D* z( W: i& ]
  214. ; You may be able to send headers and cookies after you've already sent output
    8 r5 L: j: c4 r  Y. o
  215. ; through print or echo. You also may see performance benefits if your server is& h0 E( \0 T9 n) m
  216. ; emitting less packets due to buffered output versus PHP streaming the output5 E3 B: [* ^' A
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
      K* G( S& {" i' [- ?
  218. ; reasons.
    . m8 D" A7 P$ D3 j7 O" F/ y
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    8 J' u% X6 v& J! M. W0 S
  220. ;   functions./ U6 D% Y/ d' i( C$ W1 ^2 Y5 c7 _
  221. ; Possible Values:6 Q7 F. j% b; W! w7 y& {
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    3 p5 v* k4 A- m! o( R
  223. ;   Off = Disabled
    ' F) Y$ n" h: J
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ' U0 s, {+ w# i1 M: V  U4 h
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI3 }# O, g4 x# V! Q& [5 u
  226. ; Default Value: Off. s4 V, e3 h* q0 @7 K. K
  227. ; Development Value: 40969 g5 r, w, T0 D3 C4 J1 P: c6 n/ W# w, N
  228. ; Production Value: 4096
    0 X; M5 ^* J9 {
  229. ; http://php.net/output-buffering2 T! z2 K  n% i
  230. output_buffering = 4096
    # r: ~9 W& N( |9 r

  231. / p$ b* b4 t" P' Y8 b0 f
  232. ; You can redirect all of the output of your scripts to a function.  For6 J1 ~) m9 k9 M, t/ q
  233. ; example, if you set output_handler to "mb_output_handler", character
      |' ~0 b9 o: @. e. K6 l! b
  234. ; encoding will be transparently converted to the specified encoding.# U' u1 K  C# f2 L: B: g
  235. ; Setting any output handler automatically turns on output buffering.
    0 {/ M4 r! ]! }: g% M
  236. ; Note: People who wrote portable scripts should not depend on this ini
    / k' X0 J0 G7 f2 `8 n% O4 d% g+ b
  237. ;   directive. Instead, explicitly set the output handler using ob_start().  s6 Q. f  _: `) O+ z6 I/ ]% e
  238. ;   Using this ini directive may cause problems unless you know what script
      x1 _  a4 j, a% B; ^6 l9 V1 Y
  239. ;   is doing.( z* c# H* w+ a& W. {2 C8 U
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"9 w3 `+ c- W: P+ |: X
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".+ F* F# e! i7 q- n+ j, B
  242. ; Note: output_handler must be empty if this is set 'On' !!!!6 W7 `2 r) A4 ]& _' `& i
  243. ;   Instead you must use zlib.output_handler.
    3 q9 ~: Z; A3 g+ \
  244. ; http://php.net/output-handler
    $ T2 |# M% w" u8 r. O/ G  }' N
  245. ;output_handler =
    8 S$ V& ]& `. w6 h. ~

  246. ; s. w. R  r9 x
  247. ; Transparent output compression using the zlib library
    2 i6 z1 y7 l! y( l0 b( `& C
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size; t& x4 D( C( Q1 c
  249. ; to be used for compression (default is 4KB)
    * Z5 H! E! n9 P+ p
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP( h. A* \# h$ c& a4 T" B; }
  251. ;   outputs chunks that are few hundreds bytes each as a result of! V% ?3 v3 s* z4 e: O$ |1 ?2 |8 S! t
  252. ;   compression. If you prefer a larger chunk size for better
    $ F" V4 B# j, X+ t* J$ I- m" E
  253. ;   performance, enable output_buffering in addition.
    9 `; w% ^/ P1 J. {7 n
  254. ; Note: You need to use zlib.output_handler instead of the standard
    ! C; O4 i5 u" k) m8 A. X
  255. ;   output_handler, or otherwise the output will be corrupted.
    * z0 R3 U. B* Y, i
  256. ; http://php.net/zlib.output-compression
    & |  v$ |! O. N
  257. zlib.output_compression = Off
    2 u/ F; ^, ]3 P/ w7 Q  J1 z" w9 S7 B

  258. 4 E1 u* M' u" g
  259. ; http://php.net/zlib.output-compression-level. G  M2 j; h; @4 t+ X0 `* T2 ]
  260. ;zlib.output_compression_level = -1& n. V0 `) \( q6 a

  261. : a6 C" x. ^0 g
  262. ; You cannot specify additional output handlers if zlib.output_compression
    + `! w1 B& b1 ]9 T7 Q+ P* D
  263. ; is activated here. This setting does the same as output_handler but in
    2 n. o7 ?: r! Z1 j* v: d  C
  264. ; a different order.' ~8 E- g$ O3 f6 y
  265. ; http://php.net/zlib.output-handler$ R+ E, r2 j" ?7 ~
  266. ;zlib.output_handler =8 P- L# X% Q/ h/ ~

  267. . v" M0 t$ N/ e) {
  268. ; Implicit flush tells PHP to tell the output layer to flush itself9 U( c2 u- i& a; u: G8 H! S9 l8 _3 D
  269. ; automatically after every output block.  This is equivalent to calling the
    % o8 M. v1 F2 ~: z% S
  270. ; PHP function flush() after each and every call to print() or echo() and each2 P/ @% K1 l" c9 }
  271. ; and every HTML block.  Turning this option on has serious performance/ A5 y4 k& p1 y' a
  272. ; implications and is generally recommended for debugging purposes only.# P$ U4 V  B) C6 {2 W
  273. ; http://php.net/implicit-flush
    1 ~) r& V0 O' ^+ i
  274. ; Note: This directive is hardcoded to On for the CLI SAPI/ \" y4 A1 B4 |& s$ i/ ]3 r
  275. implicit_flush = Off, }2 T2 q- V+ _. _! q/ W
  276. 1 ~7 k$ m0 _% y0 a* y9 G. _7 r! S
  277. ; The unserialize callback function will be called (with the undefined class'' V2 h' Z' {" b5 {/ g
  278. ; name as parameter), if the unserializer finds an undefined class0 O' |6 A6 J0 n+ X- R
  279. ; which should be instantiated. A warning appears if the specified function is
    + G9 X, W+ R+ l
  280. ; not defined, or if the function doesn't include/implement the missing class.. U. k' q/ X0 x! V, f) n+ |2 r( L
  281. ; So only set this entry, if you really want to implement such a% y! T. W  }& L- z
  282. ; callback-function.6 i0 W* [! [/ @
  283. unserialize_callback_func =
    2 X& z6 A9 h: A4 j# p5 [. N

  284. % o/ G, ]  L) K9 K1 _$ A
  285. ; When floats & doubles are serialized store serialize_precision significant5 |$ Z% c8 N3 l. z' j
  286. ; digits after the floating point. The default value ensures that when floats! o+ j( m1 b4 b$ G5 A
  287. ; are decoded with unserialize, the data will remain the same.4 W& C, N: q8 L
  288. serialize_precision = 17
    ' E6 N; z) j' F
  289. ( F" Z9 X. F6 ~$ P
  290. ; open_basedir, if set, limits all file operations to the defined directory( h5 G( Z3 h2 x8 q3 ~/ T1 X
  291. ; and below.  This directive makes most sense if used in a per-directory' k0 @) k1 ]* Y8 l8 m
  292. ; or per-virtualhost web server configuration file.5 p( p% C5 P8 [/ F7 g4 y  a
  293. ; http://php.net/open-basedir
    ; ^4 p+ `! H5 H* S5 U
  294. ;open_basedir =
    / K3 W" D! C8 U  i

  295. * D9 L8 h1 b$ M* C# \" U
  296. ; This directive allows you to disable certain functions for security reasons.; t9 Y. E" {) S# U4 {% O  j
  297. ; It receives a comma-delimited list of function names.4 E2 ?. Z& S& }8 p% I
  298. ; http://php.net/disable-functions
    , t% N( k% u5 q5 b: |0 m' F" ?: v, C
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    5 o% w$ g- l. n- o& n. s9 C/ D: S! F
  300. 5 K0 f: }: ?& i2 e0 Z! r8 \" W
  301. ; This directive allows you to disable certain classes for security reasons.9 ~6 q5 L& B2 o
  302. ; It receives a comma-delimited list of class names.
    " L0 D# N1 H8 O& x$ Q
  303. ; http://php.net/disable-classes
      j& c& \$ F3 E9 a4 ]4 u
  304. disable_classes =0 J$ I7 i  d0 N1 j% |# U) o
  305. ; I$ w  [: r5 D& m* U9 k9 F
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in1 s4 x! Y0 m' i5 n% ?2 T# t. z
  307. ; <span style="color: ???????"> would work.
    ' ~# b6 s  u+ V+ I* F
  308. ; http://php.net/syntax-highlighting
    1 z8 Z( |( T/ ~7 o7 M4 S6 l5 I
  309. ;highlight.string  = #DD0000
    " M6 f  m1 x" e/ l
  310. ;highlight.comment = #FF99009 F, d/ n2 m2 T; Q. j0 \
  311. ;highlight.keyword = #007700
    8 Q( c) W7 ?# c# B6 h" Q, `' o' i
  312. ;highlight.default = #0000BB& |3 B$ `# `% }5 w
  313. ;highlight.html    = #000000
    6 I0 Y  G- h6 f5 |- t
  314. 0 K; ?8 C6 H: @# B
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    - y1 `) G6 y7 m* E1 ^
  316. ; the request. Consider enabling it if executing long requests, which may end up
    / I, R1 P1 K7 f1 p
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    , g/ }3 `. K8 x3 n
  318. ; is to disable this feature.5 j7 x" U( @. q4 h$ R. C6 H4 A
  319. ; http://php.net/ignore-user-abort4 H6 N* c$ t. c7 V* [4 x
  320. ;ignore_user_abort = On
    . ^7 {" t4 ~) q: t" }
  321. 6 A$ v% @( W: v1 G: s
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    " ?* w! [7 K% W: v8 Q4 y$ s( ^
  323. ; be increased on systems where PHP opens many files to reflect the quantity of# G3 E4 Y1 B) [. w
  324. ; the file operations performed.$ v  z) L2 D9 J
  325. ; http://php.net/realpath-cache-size& l9 n1 V+ r/ U6 H5 s
  326. ;realpath_cache_size = 4096k- j, y0 X! D% b, {0 L

  327. 3 V" I- m  P2 N
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    % j' \; Y; [4 x: i. Z9 E
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    ( R( S0 v! k: M. w9 T1 M! a7 Y
  330. ; value.
    6 U5 m* V' B; s- @
  331. ; http://php.net/realpath-cache-ttl
    * Z& w- N; _# x* }
  332. ;realpath_cache_ttl = 120) [# I- D# N5 c' k  c) Y

  333. 8 U4 _  z3 c1 \0 o
  334. ; Enables or disables the circular reference collector.# R) `6 E( b4 b# R; i
  335. ; http://php.net/zend.enable-gc
    2 [8 j) g0 h2 s+ G4 e
  336. zend.enable_gc = On( |, D, |* U% F8 T
  337. - [4 W& h; V3 P: d
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    4 g6 h( G: g, p% |2 f$ g* t7 V
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such, P+ M* i% S- M2 H5 N' I/ U( p# [1 P
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ) J0 i  M8 i5 }4 S5 X- ^8 [
  341. ; Default: Off
    5 @' H$ V/ ^, B& \1 V, r' i
  342. ;zend.multibyte = Off
    " o% T! p0 p  N- ?
  343. 4 _/ a  r2 e; g! v( k
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    ) F- [2 F: c7 n
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ( ]7 T. K0 Q/ f
  346. ; Only affects if zend.multibyte is set.
    9 f1 O1 |; |# n. o3 Z4 m. c2 z
  347. ; Default: ""
    0 f. N1 b5 \  z5 F9 f' \4 g- u2 i
  348. ;zend.script_encoding =+ x7 D9 t5 k; v# R0 W) }& K
  349. % }1 V5 l3 s4 G) M
  350. ;;;;;;;;;;;;;;;;;
    1 m) m1 E2 q  Z8 p
  351. ; Miscellaneous ;
    6 U- Q$ R' T0 Z$ c* D
  352. ;;;;;;;;;;;;;;;;;7 J/ w1 B7 t' j( M6 q3 l

  353. * S( U2 @+ X7 Z; i% ~+ ?: S' }
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    5 K6 V5 s* e  V+ S
  355. ; (e.g. by adding its signature to the Web server header).  It is no security6 Y4 V, F* l$ g( s
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    4 C: B0 J& }- G! ]
  357. ; on your server or not.
    ( l8 E; L; Z$ i( W. v4 _* X
  358. ; http://php.net/expose-php2 {0 Q( e3 B+ W
  359. expose_php = On
    4 I9 s& D" `1 F% R
  360. 0 J, y0 R& x! a/ v, f2 q; Y
  361. ;;;;;;;;;;;;;;;;;;;! c5 n/ [* N% a, |
  362. ; Resource Limits ;
    5 w- I! _6 V) u8 s
  363. ;;;;;;;;;;;;;;;;;;;
    % P: f7 @1 D# v5 Z$ r) l0 ?

  364. - p: e, [! W+ z  w; @
  365. ; Maximum execution time of each script, in seconds
    , F& T. _: F# ], i+ U/ T( c3 S& P
  366. ; http://php.net/max-execution-time9 t/ d, B/ D0 S! R( D3 K7 x
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    6 U7 M8 S" \' j" t0 R
  368. max_execution_time = 300$ Y* v) d! }( `  y) O

  369. 4 E8 d$ R+ K$ x0 i" p7 r. E! G
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    4 z' i5 r9 u& ^+ g, A& Z
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    " x' Y( D: m  K% D0 S. x! Q& A! v
  372. ; long running scripts.- O. |6 c1 V! u; ^
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI# q, y1 a" t$ G  H7 e! ?
  374. ; Default Value: -1 (Unlimited); Q0 e; ~) r7 ~3 ?
  375. ; Development Value: 60 (60 seconds)
    + Q; {# }( h3 V; Y. a
  376. ; Production Value: 60 (60 seconds)
    $ ]! U! _1 J9 W! q) I. y% V+ z
  377. ; http://php.net/max-input-time0 R6 E" \; I7 X2 s& t( u4 G, A
  378. max_input_time = 607 h+ {# s" {& y7 L& j8 Z
  379. 5 @! {6 q' n  r+ E1 L
  380. ; Maximum input variable nesting level  C. ?7 a1 [+ O2 L8 K' ?
  381. ; http://php.net/max-input-nesting-level
    " a) r; @, p: ?. q$ }
  382. ;max_input_nesting_level = 643 o; u( h. x; q+ b/ E
  383. ) z6 F- S' \7 y! [, k* c. H
  384. ; How many GET/POST/COOKIE input variables may be accepted
    ; c/ t8 A9 V! J' T/ e
  385. ; max_input_vars = 1000
    4 T0 J: Y1 K# H( F# }3 o! \

  386. * f3 ]0 i5 k$ O& B* \5 R2 ]/ c( E
  387. ; Maximum amount of memory a script may consume (128MB)0 m" n+ a/ w  U/ z% K
  388. ; http://php.net/memory-limit
    ; S, N0 Z9 z8 N/ W% H& R: l7 y
  389. memory_limit = 128M
    + Z; e1 t" S) G
  390. + h6 J, B! X: d' k
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6 Q7 o; b4 I" M* [( o
  392. ; Error handling and logging ;
    3 d6 {/ I  z3 \
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    9 e# A/ \& }. F, p+ I
  394. 6 w) g8 {; {! z' J
  395. ; This directive informs PHP of which errors, warnings and notices you would like! G3 \0 m7 A  N
  396. ; it to take action for. The recommended way of setting values for this% c( t7 P* i1 K4 P' o* G' U$ o' M
  397. ; directive is through the use of the error level constants and bitwise( o/ R5 |2 X! Q: |7 n3 W, e4 `
  398. ; operators. The error level constants are below here for convenience as well as/ p) X6 {5 K6 y8 J
  399. ; some common settings and their meanings.
    " j* R5 p% N' h2 \3 t! r* e6 _$ k
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    & K- {5 o- y: [' t6 \; N& h
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and& K" i$ B! w( E/ L
  402. ; recommended coding standards in PHP. For performance reasons, this is the6 a, t9 ~3 f5 b1 ?2 @0 ^; j
  403. ; recommend error reporting setting. Your production server shouldn't be wasting% w1 U$ J1 C- S! Z! u/ S# T  \, H
  404. ; resources complaining about best practices and coding standards. That's what) _# r% X: E/ _" f4 y% |, A
  405. ; development servers and development settings are for.$ C6 b! F* u, D, _; h$ B7 z1 p
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    2 {9 \8 w. |2 ~; _. ?8 z
  407. ; means it pretty much reports everything which is exactly what you want during, X1 o9 {6 t; J* p. m
  408. ; development and early testing.) ~+ b6 U7 W1 m1 B+ G5 e
  409. ;% w+ E6 [# Z( A: c5 j* u, r) p* E
  410. ; Error Level Constants:
    5 Q( F: C  \3 C$ |- P6 S5 y4 d1 u
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)5 h) V% d+ ^* j0 r
  412. ; E_ERROR           - fatal run-time errors
    6 N7 g: x) a/ Z* k6 H4 V
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    4 B3 l5 W7 s6 f" }" R' n8 B( h& i3 N
  414. ; E_WARNING         - run-time warnings (non-fatal errors), N5 m6 n# b* W- \4 |, f  X
  415. ; E_PARSE           - compile-time parse errors8 E/ H( ~9 m! G5 H! m+ B2 q# T
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    3 r! G6 M% h3 m  y
  417. ;                     from a bug in your code, but it's possible that it was
    3 n- N# ~$ V! {1 e. Z; z
  418. ;                     intentional (e.g., using an uninitialized variable and# O" F3 T* y6 H- Z5 S7 y" H
  419. ;                     relying on the fact it is automatically initialized to an
    - ]* A: E2 f7 q. N2 K
  420. ;                     empty string)2 G" K3 e& W  s6 o4 |
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes' t3 }' q( u& l
  422. ;                     to your code which will ensure the best interoperability
    ) J) D4 Z/ y- X# K( f5 y
  423. ;                     and forward compatibility of your code' S4 n" X. ]- ]) X/ F
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup* |6 e( i( R7 c8 N
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's/ B- i: a5 P, J! }
  426. ;                     initial startup+ d3 a0 @+ V0 v: d
  427. ; E_COMPILE_ERROR   - fatal compile-time errors, m6 D$ V" P9 ?: e4 Z
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    # T/ q+ }% P% C. B3 y0 t
  429. ; E_USER_ERROR      - user-generated error message
    ; @" {3 j# u% l* {$ D& E
  430. ; E_USER_WARNING    - user-generated warning message- C% E( r8 O% _  H; O' h! I/ L6 I
  431. ; E_USER_NOTICE     - user-generated notice message6 t, s" `: E; V/ Z( E/ Y/ Z
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    ! ^* h9 M  N- T, m4 m; d! s9 W
  433. ;                     of PHP7 @( X; Y7 d* f6 R# c
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    - c& ~) W& u8 \% I1 S1 [2 ?
  435. ;1 z  E5 v8 n" b
  436. ; Common Values:
    ) \4 d% E0 O  |" `- a3 Y
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.): {; a# a9 R: R8 i: L$ }! V/ I
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ! k+ @0 f- X( o: n5 E. l
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    + g+ P: |; s4 ^" @! @6 L
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)% R+ j' j4 S' \( x9 D  c; ~  ^
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED6 L( d8 B' Q2 T! C0 Y% ?: X, ?- f; k
  442. ; Development Value: E_ALL
    + E( B5 T0 b+ Q" s$ F  a. a; N! f' n/ w
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    # F, T7 L0 y1 A) @; d. T9 k
  444. ; http://php.net/error-reporting
    3 C8 x: C$ P& @" M: K6 J# L, L. {
  445. error_reporting = E_ALL & ~E_NOTICE: C' |! V: W+ @! C& R+ a
  446. ! B& t) t) r( x
  447. ; This directive controls whether or not and where PHP will output errors,6 f  ~+ a, S! s$ ~9 v4 A
  448. ; notices and warnings too. Error output is very useful during development, but% V+ A9 y0 C* d, r
  449. ; it could be very dangerous in production environments. Depending on the code+ r/ `6 P9 ]' x# r
  450. ; which is triggering the error, sensitive information could potentially leak, e: R& l( M) w( I2 r: }
  451. ; out of your application such as database usernames and passwords or worse.
    $ V6 P% e8 d" D/ H
  452. ; For production environments, we recommend logging errors rather than( }3 v1 ^- I) x
  453. ; sending them to STDOUT.2 Q! n3 m9 B5 t1 Q  g; V6 \7 Z* R
  454. ; Possible Values:
    " C2 i) {9 ^$ @# U8 T0 m
  455. ;   Off = Do not display any errors. B2 ^* U3 ^4 y% T
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)- r- A. G6 q6 V9 @! k0 n3 |
  457. ;   On or stdout = Display errors to STDOUT
    $ R* a: s, P' a) s) Z
  458. ; Default Value: On
    + a4 ^  a7 f3 g8 D
  459. ; Development Value: On
    - e+ i& K# Y! ?* e: S% z2 T
  460. ; Production Value: Off+ |3 e9 v; ^$ J
  461. ; http://php.net/display-errors
    8 n2 G5 g3 @, c5 t- n% h
  462. display_errors = On
    - K9 h: M! \- x4 L/ M2 Z

  463. 6 h9 S1 b! C; a2 |* `
  464. ; The display of errors which occur during PHP's startup sequence are handled5 @  n3 |; j3 q+ ?: O1 n7 E
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    / L9 F" N/ _8 \. ~5 W* _
  466. ; errors from clients. Turning the display of startup errors on can be useful in( F9 B# R- v: c* u/ k
  467. ; debugging configuration problems. We strongly recommend you6 p/ @/ F. X, _) n& D
  468. ; set this to 'off' for production servers.8 }$ S8 n# R0 ^) r* e7 h
  469. ; Default Value: Off. y, q0 j6 l! i7 S  n; s( v$ d
  470. ; Development Value: On  q+ C* I' w$ U- K5 f2 y
  471. ; Production Value: Off9 m" r1 a5 ?/ l
  472. ; http://php.net/display-startup-errors
    * b1 [7 c+ L) ^7 |1 H0 t
  473. display_startup_errors = Off
    0 D/ r0 K; H" l5 p
  474. 1 J' l( A  i3 ~, ~5 o
  475. ; Besides displaying errors, PHP can also log errors to locations such as a/ e0 K1 [5 c+ ~) @; c
  476. ; server-specific log, STDERR, or a location specified by the error_log+ h  I8 G6 D8 E" F9 v: u2 [
  477. ; directive found below. While errors should not be displayed on productions
      A1 p( h/ c7 i7 j2 X
  478. ; servers they should still be monitored and logging is a great way to do that.
    5 W, i7 c+ J( \0 w% c* {# d
  479. ; Default Value: Off
    " n& U+ \+ M! k" L! B/ f" D( G) X' |  K
  480. ; Development Value: On- {4 [, ]7 }$ B- V, X
  481. ; Production Value: On
    9 |6 T3 r8 w9 r2 n) P" n8 ^, n
  482. ; http://php.net/log-errors
    ! e. f" Q' q, ], O
  483. log_errors = On/ }) b: i0 M/ n7 l. E
  484. " g& H7 ~7 M! `7 W: ?8 @
  485. ; Set maximum length of log_errors. In error_log information about the source is
    0 s' e  J. x, s
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ; I- G9 h5 v0 f6 `5 i& }4 B- \
  487. ; http://php.net/log-errors-max-len; B9 ]5 I% M/ b
  488. log_errors_max_len = 1024
    + D  e" m! S; ^" }- o- h' M) k0 b
  489. / n: w/ \; q+ R9 E3 |' `1 U: q. R
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same  y8 m9 h4 l4 v3 q; _, ^
  491. ; line unless ignore_repeated_source is set true.
    + p) L1 z3 _& P8 O4 P: y
  492. ; http://php.net/ignore-repeated-errors
    & a- H, z7 v5 K  [( [5 e5 ]" i  }
  493. ignore_repeated_errors = Off3 }2 H9 ~# ~2 l. g0 N2 E$ W

  494. 1 p( T/ C5 N7 Q
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    2 f! x: F: A, I: i
  496. ; is On you will not log errors with repeated messages from different files or6 C0 j9 B9 T' u8 D: J( p2 Y
  497. ; source lines.
    4 S: m$ `1 m% M- P
  498. ; http://php.net/ignore-repeated-source9 D: A1 C2 F) h: i4 K
  499. ignore_repeated_source = Off
    9 [1 a8 p8 Q$ H+ b" g# C+ d5 r
  500. & p4 j/ d( P. r# o4 K% P% A
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    5 P, E% c1 ^. W) Z, j3 f; m
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ! K8 }) q/ |* x9 x. ?: [
  503. ; error reporting includes E_WARNING in the allowed list
    2 N' H. o9 I6 E' i& m
  504. ; http://php.net/report-memleaks
    * m& h2 H$ I" l& J/ `
  505. report_memleaks = On5 ~  k9 D( U" W2 r& w
  506. 2 ]3 A; l* L5 L! v- x( c
  507. ; This setting is on by default.- ]- _3 f5 J2 O: H5 e0 d: k7 Y* V
  508. ;report_zend_debug = 0
    " K- v0 L, t: O  P- w8 X5 D

  509. 4 D3 T2 h- b1 \+ u7 ~8 v
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    8 v- _: }4 }% w; |6 Z( z1 b
  511. ; to On can assist in debugging and is appropriate for development servers. It should5 D2 t* J( A: C8 {/ J
  512. ; however be disabled on production servers.! @6 p/ L, g1 C4 j8 n8 N4 P
  513. ; Default Value: Off
    5 H) ?" |- o# J% I% `/ m
  514. ; Development Value: On
    " p! N# f4 B! k6 f/ o# F/ {
  515. ; Production Value: Off
    0 K5 j' M$ ~7 \
  516. ; http://php.net/track-errors. ?: o( Z5 i, F& v! i: y6 M
  517. track_errors = Off6 w; v! I* G* s' Q' A3 m
  518. + r1 [1 Y/ }2 ^* B! g
  519. ; Turn off normal error reporting and emit XML-RPC error XML* `; H2 ^/ R/ M3 |) {: e
  520. ; http://php.net/xmlrpc-errors
    3 v- y3 y; b& Y- B
  521. ;xmlrpc_errors = 0
    " B  Q8 D  n: y6 |
  522. 6 f3 s- f/ ?" D* v
  523. ; An XML-RPC faultCode- u. Q" e) A% P
  524. ;xmlrpc_error_number = 0
    ( y% @5 E7 j) p% r

  525. 8 \0 h# V# x" ^
  526. ; When PHP displays or logs an error, it has the capability of formatting the* ?+ |$ o: ?; W
  527. ; error message as HTML for easier reading. This directive controls whether
    5 a- O% K9 L1 O1 A5 \8 F6 q2 @6 Z% |7 \
  528. ; the error message is formatted as HTML or not.
    + t6 f( W/ j. S! X$ f8 ?7 Z2 m0 ?. n
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI, N4 D! \: x. p$ u. K
  530. ; Default Value: On% f4 U5 o# @! Q6 Z3 F/ b
  531. ; Development Value: On6 m# J: i  g! R$ S# Q4 g
  532. ; Production value: On
    8 i8 j% I; b, N
  533. ; http://php.net/html-errors
    % R! \6 z4 f. n: i
  534. html_errors = On
    ; o$ m& M! G1 G0 O( b
  535. 0 S  [( _+ l/ p' W# E
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ' @) _6 |9 a' g) Z! W6 @* j+ g
  537. ; produces clickable error messages that direct to a page describing the error
    0 q0 n& A2 ~$ p
  538. ; or function causing the error in detail.
    8 _3 G1 q; ]2 U* P& [1 o
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    5 q6 a* |5 e/ e" ~
  540. ; and change docref_root to the base URL of your local copy including the' l  L( A/ ]6 @. y9 \
  541. ; leading '/'. You must also specify the file extension being used including" {. l% @2 A- p2 H
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    5 V' X6 A% R  O4 S
  543. ; case no links to documentation are generated.8 L% \2 d* k1 R7 R# b3 V( W. f. v, Z& w
  544. ; Note: Never use this feature for production boxes.7 \5 l# Q' m: O  Q" i" X+ Y
  545. ; http://php.net/docref-root! g4 i5 j1 Z- e: K
  546. ; Examples
    % k3 P. W# ?  q/ A" V( t+ b& F
  547. ;docref_root = "/phpmanual/"7 E* M- }3 |, d1 }
  548. - y7 ]6 Z1 Z. a3 [0 c) f! u
  549. ; http://php.net/docref-ext1 y$ U) l. F$ g, x
  550. ;docref_ext = .html
    & d* a3 U  J$ i( r5 n" J0 U( n
  551.   M* {6 ~" `! A0 B$ X
  552. ; String to output before an error message. PHP's default behavior is to leave. s" h+ t9 W8 r
  553. ; this setting blank.
    8 T; o& Y" C) j
  554. ; http://php.net/error-prepend-string" Y$ K: y! d# t8 U& ~( Q/ [- ]
  555. ; Example:- @! x9 |' X, _
  556. ;error_prepend_string = "<span style='color: #ff0000'>"% D7 k, q# l/ R8 p/ ^

  557. , e9 B  X! u# r) J
  558. ; String to output after an error message. PHP's default behavior is to leave
    5 \) U; @2 K, q( J% I/ J0 N" \
  559. ; this setting blank.3 x  n( s1 q2 s1 _
  560. ; http://php.net/error-append-string
    & D$ i  _5 C5 \8 d
  561. ; Example:
    0 \4 e. M* G3 Z2 ?
  562. ;error_append_string = "</span>"
    3 b8 z5 n3 O2 ^" ~) j

  563. 4 D: P1 j. |) M
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    ( U- v8 W1 p9 P  q1 X4 s0 F; b" t
  565. ; empty.
    . G3 V1 S' V7 \
  566. ; http://php.net/error-log
    ! I! R+ c2 d: e. H) F
  567. ; Example:
    ! E8 O* W, V  p: K
  568. ;error_log = php_errors.log
    4 E: `9 o" @2 t' H# r0 {+ j9 p
  569. ; Log errors to syslog (Event Log on Windows).: J( G; r8 C! ~. j$ ^( V6 m  `9 H
  570. ;error_log = syslog! x  @# ?( }9 P! M7 j" P0 j; |
  571. ! p" O* w5 {  k# P0 l1 h
  572. ;windows.show_crt_warning
    / ?7 ~; r. d- C- p; P8 o
  573. ; Default value: 0( s- E! N& M& @) t
  574. ; Development value: 0
    - r* W5 f5 t& r- |/ l
  575. ; Production value: 0
    3 p8 c( Y( @5 d8 r% o

  576. 5 g' K4 q/ i3 z5 l& Z" _- M
  577. ;;;;;;;;;;;;;;;;;
    9 g- ?6 J. _0 D/ S* j/ k) e/ n/ L5 X
  578. ; Data Handling ;
    & l7 p' y: W* g! e$ {
  579. ;;;;;;;;;;;;;;;;;
    3 Y, c( ~3 |+ m4 V5 H" Q, @5 i) |0 x
  580.   @4 g6 y8 s+ i4 S  m6 l+ M
  581. ; The separator used in PHP generated URLs to separate arguments.
    " s; L4 N) a; b0 d( \
  582. ; PHP's default setting is "&".
    0 N# R% b) t0 K$ V! ]% R
  583. ; http://php.net/arg-separator.output
    + h! f: k0 h. k
  584. ; Example:4 O" v7 [% w6 F$ b3 p
  585. ;arg_separator.output = "&"
    ! u4 \1 r) O' W5 R( d7 c

  586. + k& b; ^3 H- Q2 R
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    7 O; q" t5 S9 Y9 p1 L- [, d
  588. ; PHP's default setting is "&".& ~, T! O: ^3 c/ S
  589. ; NOTE: Every character in this directive is considered as separator!2 u" e4 z/ {+ n3 K6 Q+ G; \
  590. ; http://php.net/arg-separator.input
    " }5 R( \; c5 a3 H, n' K0 M2 d
  591. ; Example:
    3 b+ I) q' a3 ^5 E) j& e* m6 `: n
  592. ;arg_separator.input = ";&"
    7 n& @; i9 V' b
  593. 5 u4 O3 v) ^5 S8 H4 N
  594. ; This directive determines which super global arrays are registered when PHP
    0 ?, w5 g; v# z1 n  n; f: W
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ) K" f( b, X8 P$ q* r* T: [
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty3 Q& v4 _/ D7 G* P; P
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    . ?; S6 ?. z. [) ~) U' w: W
  598. ; used as the others, ENV is not recommended on productions servers. You8 F* e( f$ e! E
  599. ; can still get access to the environment variables through getenv() should you
    1 f: }: m% U* n3 F6 t% ~
  600. ; need to.
    & x0 I; L' t( A& O! w1 H
  601. ; Default Value: "EGPCS"
    : x  N; d2 H9 _$ E  Z/ M6 g* E+ X5 L
  602. ; Development Value: "GPCS"
    , W& ^8 \, C  l) n
  603. ; Production Value: "GPCS";7 r* ?. e9 \7 f; _' z( q
  604. ; http://php.net/variables-order
    , C" M4 H' _) K# o9 j3 M
  605. variables_order = "GPCS"
    0 S6 b. }( s* U, ^% o( A

  606. . W/ k( L9 i% h1 I+ n- J  ]
  607. ; This directive determines which super global data (G,P & C) should be
    ; A) g# E/ {3 p' r, Q6 H
  608. ; registered into the super global array REQUEST. If so, it also determines
    $ D! w: o5 h/ Z" i
  609. ; the order in which that data is registered. The values for this directive0 x1 V0 i" t  p
  610. ; are specified in the same manner as the variables_order directive,  D) t* H% C3 G  d
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set3 Q% O7 [! c7 J
  612. ; in the variables_order directive. It does not mean it will leave the super3 g7 J. F4 J+ u! n( _/ c8 b
  613. ; globals array REQUEST empty.
    4 G  \0 _% m2 o( A3 F% O3 R: L
  614. ; Default Value: None
    + l: ?  V$ N0 I( @; i4 p- [' ]
  615. ; Development Value: "GP"
    7 o/ s7 C: Z; j( |
  616. ; Production Value: "GP"
    : o/ Z  o# J$ D1 g: e6 u
  617. ; http://php.net/request-order
    3 p8 L0 g2 h) y+ j6 U( Y/ ]$ J5 j3 v
  618. request_order = "GP". G0 Q/ z# x3 F( G6 @& ~/ k

  619.   d1 G0 }# b3 z8 y$ W  L8 A
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    - ^# l( R6 q* u7 p1 W, A1 t
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script- C" a! ?. @- _
  622. ; is invoked. $argc contains an integer representing the number of arguments
    4 e$ ^& ]9 o8 v) _* |% X! d& c7 u0 C, h
  623. ; that were passed when the script was invoked. These arrays are extremely  z' I) x, F* J5 r5 y- w
  624. ; useful when running scripts from the command line. When this directive is6 O( T& S9 \$ x; o4 S( [, T
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    0 |1 i, w! j( c5 \
  626. ; a script is executed. For performance reasons, this feature should be disabled
    " B. u- w4 n. n$ |
  627. ; on production servers.6 b, K# |$ T" s* E& P* p# \
  628. ; Note: This directive is hardcoded to On for the CLI SAPI4 R  S* F, q7 T7 o/ }6 Z
  629. ; Default Value: On# J/ x2 v+ \( ]* ]% P5 w1 f: ]
  630. ; Development Value: Off
    * @9 U7 p. Y: i4 n- J5 f
  631. ; Production Value: Off6 l$ x- }8 [- l$ d, J
  632. ; http://php.net/register-argc-argv; l' {- M+ o1 Z5 Q  h
  633. register_argc_argv = Off
    4 C; e, M' ^+ A& L2 v! P$ y

  634. $ b2 S7 F$ z+ r; G" K) e% j! C
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ) {4 [1 Y8 M2 o0 v8 [& H" ]: ]
  636. ; first used (Just In Time) instead of when the script starts. If these0 L5 V( X. u6 \, R* C3 e; x: G  K
  637. ; variables are not used within a script, having this directive on will result* k) J! l' q# ~: x; X: m' C' b
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled) n% n; F! @& G1 u. j9 c% R8 Y) q
  639. ; for this directive to have any affect.
    0 i! N! T! n- S0 L6 i
  640. ; http://php.net/auto-globals-jit( \3 n5 F' E# g$ b5 D
  641. auto_globals_jit = On$ W1 d- C# @- E* K
  642. $ z" @/ E1 f; h0 J' X" t
  643. ; Whether PHP will read the POST data.
    5 s' O  L5 q8 x5 k% c1 l- `
  644. ; This option is enabled by default.3 ^+ I- h  x) S7 _
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST3 a& _6 p7 u; b: d% ^7 V3 O
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    1 Z/ i$ {" F6 s
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    & s0 l% M$ M3 S- V& v( x
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    8 B- c0 B7 G/ ~$ X; T6 g/ H
  649. ; http://php.net/enable-post-data-reading+ {8 f. u0 \$ h  H4 s6 ~
  650. ;enable_post_data_reading = Off- h4 |( j! F2 U

  651. . |' \. E4 R2 }: R
  652. ; Maximum size of POST data that PHP will accept.
      m  q: n, x  n( ~- E6 V
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    / b: I3 X6 j) F4 L, k  a
  654. ; is disabled through enable_post_data_reading.' w# G% ?& Q( G& s5 F8 T
  655. ; http://php.net/post-max-size5 o7 o+ f; T5 H, Y, Y
  656. post_max_size = 50M6 Q0 z' ]' Q$ M! \) a

  657. : d: b4 f& T1 O8 F- c
  658. ; Automatically add files before PHP document.
    & k1 Z/ Q$ f1 z% G. _- g5 w
  659. ; http://php.net/auto-prepend-file- F: t# f# u3 t: q7 Z  b  s/ M
  660. auto_prepend_file =
    # @; Q- w9 P: {4 S# Z

  661. ; s& J$ F1 G. O- e2 b
  662. ; Automatically add files after PHP document.4 L. v2 g1 U( @% `7 I* Q
  663. ; http://php.net/auto-append-file* a, I! x8 z, z2 N0 E/ }7 D( K+ Q, d. G
  664. auto_append_file =9 p/ W, u. g+ S' A8 |$ N" w- |

  665. 5 }& F: I6 j0 l+ E! A. B
  666. ; By default, PHP will output a media type using the Content-Type header. To; p( [& s4 [5 A# \# d" n+ B" `1 N
  667. ; disable this, simply set it to be empty.
    5 k/ ]& A* C6 I
  668. ;
    6 F0 C% m, ?* N/ @* |$ J2 ]3 n
  669. ; PHP's built-in default media type is set to text/html.3 i; d; U$ |( {# e
  670. ; http://php.net/default-mimetype
    ( n& e  b! W1 {/ r& A* d4 ]9 |
  671. default_mimetype = "text/html"
    ' t% t. y; c9 K6 [5 A; w/ b% O

  672. 4 [7 C; c; x  |! r1 X+ {! E, g8 \& @
  673. ; PHP's default character set is set to UTF-8./ d6 u5 @8 j0 R
  674. ; http://php.net/default-charset
      H' e  p0 O$ `8 K# K" D
  675. default_charset = "UTF-8"$ e5 e- \/ Q! o: S2 w. N

  676. 8 c4 ~% f& F$ b  P
  677. ; PHP internal character encoding is set to empty.
    " o  M7 y: h* C
  678. ; If empty, default_charset is used.
    0 a+ l, b6 K4 o' A4 V; \
  679. ; http://php.net/internal-encoding
    ) e3 S% \" o$ p* }$ O  k( |2 z
  680. ;internal_encoding =. |# o( i5 [; }: X# t! |  E- t9 T

  681. 3 }- D  ~) I$ ~) l' o- _% I. b
  682. ; PHP input character encoding is set to empty.
    % @0 A/ y) x6 J: X
  683. ; If empty, default_charset is used.
    # h6 a) z6 G+ H4 p0 C
  684. ; http://php.net/input-encoding& K; B! W/ j  p+ t5 N- r+ N$ S
  685. ;input_encoding =( }3 ~- o7 [- O0 @

  686. 7 v1 R+ P% e' y0 z: ~
  687. ; PHP output character encoding is set to empty.% o8 l0 f& i2 |
  688. ; If empty, default_charset is used.$ a: c6 f7 H+ c! R+ _/ x) U
  689. ; See also output_buffer.( r) b/ o& B. O9 r: t
  690. ; http://php.net/output-encoding* i4 v- _3 ]! i  ~
  691. ;output_encoding =
    ) K- K4 ]$ @7 P! S

  692. : E# ~" }' a2 P8 s/ R( A6 U+ b5 V
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;- k5 V! q/ a2 j) E8 L# T4 f( P
  694. ; Paths and Directories ;
    " @4 J) ^; |, P/ J& B
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    4 R: b1 w  z" Z7 d+ i9 @) h' Z
  696. 8 g! r, s' l2 S- r. |- g/ g+ v
  697. ; UNIX: "/path1:/path2") W$ K6 e3 W9 H& D# A* N4 f
  698. ;include_path = ".:/php/includes"
    ; b% m: d* U8 C6 M/ m6 `/ h6 b
  699. ;3 W/ h# z4 X/ H
  700. ; Windows: "\path1;\path2"3 A6 n' h7 z" Q( f
  701. ;include_path = ".;c:\php\includes"" M& E' ?& M% `. Q: D0 x
  702. ;/ E/ ]# H$ [- o, J" A
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"2 m. K7 S% y6 Q5 L# t  {
  704. ; http://php.net/include-path2 b7 F* M! ~, Z3 x

  705. % M1 P! S$ L+ G# {( }
  706. ; The root of the PHP pages, used only if nonempty.
    " `/ k4 g& y( C4 ^0 D1 ^4 P
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root1 u, b% ?* z2 |! f$ ~9 N+ k
  708. ; if you are running php as a CGI under any web server (other than IIS)
    # H( E" O$ i9 P8 v
  709. ; see documentation for security issues.  The alternate is to use the% o8 p3 i/ L+ o- ]% \2 z
  710. ; cgi.force_redirect configuration below
    ) ~3 n/ W6 }9 T# r" o: V0 V
  711. ; http://php.net/doc-root6 j7 W1 p6 H8 J: z+ p' {. J
  712. doc_root =
      ~2 j- U8 F$ t6 ^" d. ]$ r
  713. 7 l' @! g( N* D
  714. ; The directory under which PHP opens the script using /~username used only; C) |+ t0 I) j) X+ m. y8 g
  715. ; if nonempty./ x! n9 q3 o- V% |4 H: P" v
  716. ; http://php.net/user-dir4 n7 k) R5 i2 ]0 }7 R0 C. `
  717. user_dir =
    & d, ^+ d. K! O3 @" J' U

  718. ! n4 c8 ^& R3 P/ x2 h" S
  719. ; Directory in which the loadable extensions (modules) reside.8 x: r4 j. P# A; H
  720. ; http://php.net/extension-dir8 `/ f. Y" y( W, i& U
  721. ; extension_dir = "./"
    0 d. l# m" ]& q$ g
  722. ; On windows:
    4 }# ]6 u( s) k- Y2 }7 X* E3 a
  723. ; extension_dir = "ext"( `3 J( C& H) T, p; A, I/ ]9 J

  724. , ^2 U, w6 }9 i/ e( ]' L4 ]
  725. ; Directory where the temporary files should be placed.1 R3 N: [$ H* f
  726. ; Defaults to the system default (see sys_get_temp_dir)
    , v0 h- n& R2 p9 h, g1 H- M, B& ]
  727. ; sys_temp_dir = "/tmp"
    9 D3 k( f0 ~- |/ }9 L. A4 w

  728. ; w: g' I' b' g$ e& I1 Y
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    " L4 O" B( H# F2 i! q+ N/ a2 \
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically  B6 I9 Y6 k2 i* M1 \
  731. ; disabled on them.% F6 X' ?$ h4 h9 G9 j
  732. ; http://php.net/enable-dl) g% t% J) @! F' \
  733. enable_dl = Off8 D9 n. ~* w3 e8 O; r% t$ b
  734. , s: G% u% ~! ]+ J: h% j, I
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under, b6 Y% i6 f5 {
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can" f; O  a. t0 E
  737. ; turn it off here AT YOUR OWN RISK
    ) f* q& U$ m" R2 Y5 P4 a/ R% E
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**& T9 S* u0 v1 k; |; V% K
  739. ; http://php.net/cgi.force-redirect
    % A5 O3 e) w/ ?( V
  740. ;cgi.force_redirect = 1
    4 K, @4 O0 o$ V5 L, ]
  741. 2 K3 ~$ U  ~, G2 i( o2 {+ \% O6 G
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    3 c" w, {" k( ^
  743. ; every request. PHP's default behavior is to disable this feature.
      g8 c% U# r3 L, x$ G# V6 Y& a$ U
  744. ;cgi.nph = 1  D  V* O6 o8 i4 t+ h4 h* i' ?
  745. 1 [, v: T, X6 O) D; @  L+ E# Z
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape4 S/ q6 c& _& u9 n7 k: }) |
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP4 C4 g4 r4 S9 v# H7 h) _/ p  j
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ) S8 W' P! x+ R, R( e; m" R
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.7 W/ G! P/ E4 U. K* ]& l
  750. ; http://php.net/cgi.redirect-status-env# }' N8 X6 `; H+ H
  751. ;cgi.redirect_status_env =
    - F5 `, T/ @3 {* v6 p, I/ @' B
  752. 8 A, T% l! Q% i& }2 b) f( t
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    : B8 @9 m3 V9 R3 f8 t: Y
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok& p  i$ |$ R* r! y8 O( H* h3 w
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting, ], v" P+ @. I6 p
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting8 R: t( a$ j; s1 N* Y7 e
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
      o" N0 Q: j) H( p1 t
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
      q; A4 ~9 n6 {& s3 R
  759. ; http://php.net/cgi.fix-pathinfo0 _7 O* U0 ?8 f' g0 _
  760. cgi.fix_pathinfo=16 o0 x2 i$ B! |
  761. 5 c+ r! B% U1 l' {
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    $ k% ?* B, K9 i2 \
  763. ; of the web tree and people will not be able to circumvent .htaccess security.6 @5 w7 g# B, o3 M4 ~& B  U- n
  764. ; http://php.net/cgi.dicard-path
      h8 K' W8 a) q) u) n8 `2 M/ x
  765. ;cgi.discard_path=11 |9 ?* X, X0 M3 A& j& N3 D- W+ d. O
  766. ! e! j& g6 n$ l5 |
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    8 S4 x* @9 X) ?& X5 p* ?. E
  768. ; security tokens of the calling client.  This allows IIS to define the
    1 F4 v$ ~3 G/ k7 `6 R+ n: g- t0 q
  769. ; security context that the request runs under.  mod_fastcgi under Apache& u+ c2 s* {$ X" u+ i3 g3 ^0 S
  770. ; does not currently support this feature (03/17/2002)0 G* P/ k# f- j# C& y# C
  771. ; Set to 1 if running under IIS.  Default is zero.( d# Z: B7 u3 ~# J# t3 R
  772. ; http://php.net/fastcgi.impersonate7 `1 e% M9 b# _" ~) ?2 j* I
  773. ;fastcgi.impersonate = 1
    0 H$ v3 V/ i, q& F

  774. 9 a' [0 u) c) o# r3 l
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    % E) D9 f! S3 |4 |+ ^2 B2 z3 g. i
  776. ; this feature.- r8 u" a9 t9 e9 i! n
  777. ;fastcgi.logging = 0
    ( I: _7 \# i( B5 ^: z/ Q- b$ p/ F& X
  778.   t% S4 H& j, T0 I1 x6 [
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    4 y1 e" a/ p4 A. d8 B+ i4 z
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that/ F% D% s3 [3 E# x: `1 V$ e. a
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    / N4 ~/ g& `, P1 K
  782. ; RFC2616 compliant header.& `. a' e, ]4 I$ d: e3 Y8 ]
  783. ; Default is zero.
    ' Y( Y* a0 T# a8 T
  784. ; http://php.net/cgi.rfc2616-headers( |: Z' V3 _9 L2 E- ^9 j1 X. ]4 T
  785. ;cgi.rfc2616_headers = 06 i; x/ L  ^0 z8 ^& J- u
  786. 3 F% q: g& b) ~: f, W
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!; o2 S& S3 `; {
  788. ; (shebang) at the top of the running script. This line might be needed if the! P6 D# p; k" L. v
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI; d# N- a' g  i. q( a
  790. ; mode skips this line and ignores its content if this directive is turned on.& G, Y: @- @# @% @6 A
  791. ; http://php.net/cgi.check-shebang-line
    ' O8 J9 {  N5 q# u
  792. ;cgi.check_shebang_line=1  r5 g6 n' i( I1 I+ v- g
  793. 4 U3 `9 ~% u* u% g
  794. ;;;;;;;;;;;;;;;;
    / P1 O5 h" Y) R1 O  Y  Q+ s
  795. ; File Uploads ;
    ( c3 R! A  E, a3 A: r1 w
  796. ;;;;;;;;;;;;;;;;
    % _' n6 o; @4 g4 Q) i; m
  797. 6 B7 G$ @3 r7 E( r0 l8 w! q
  798. ; Whether to allow HTTP file uploads.
    9 e  {8 J7 ~# d& l
  799. ; http://php.net/file-uploads
    . j& G  S9 a4 [6 u. q( _
  800. file_uploads = On
    # E1 i* M- [" S$ m8 @4 L( J) |

  801. & E8 c' t  t" ~$ Y5 ?
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    8 ~  n3 M! k' l& N" x5 x
  803. ; specified).7 U3 F4 W1 Y8 D0 U3 s
  804. ; http://php.net/upload-tmp-dir- U+ t' b8 z9 P
  805. ;upload_tmp_dir =8 |, _1 \, m9 v, z7 z# U' g2 ?

  806. 1 ^& q  j5 p, _, G# a
  807. ; Maximum allowed size for uploaded files.
    ; [" W2 C4 U* q& e3 e8 V8 ]
  808. ; http://php.net/upload-max-filesize
    % Q* |7 _2 C; r$ V! d9 i& X
  809. upload_max_filesize = 50M3 {; R! U3 Y4 |: G3 f

  810. 2 n5 O, ^& A( P5 X- D2 S5 ~
  811. ; Maximum number of files that can be uploaded via a single request; g5 z5 [5 @) E4 f
  812. max_file_uploads = 206 w0 ^* D$ T2 K$ ~) O/ ]; P1 ~4 @% j

  813. * q4 f9 D, m+ }9 z" p
  814. ;;;;;;;;;;;;;;;;;;/ Z8 _' j. J  |, I8 v* H% v
  815. ; Fopen wrappers ;
    : P0 i* S. X3 G
  816. ;;;;;;;;;;;;;;;;;;
    $ m* |5 @. Y/ c  J

  817. 9 z. ^0 a" f3 S6 r) m' T( |; }# E" r
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.7 {+ U: l) d' J% a. d- U
  819. ; http://php.net/allow-url-fopen
    3 N' m" m: N+ W3 O3 w! J
  820. allow_url_fopen = On0 _; j! p5 b; v0 E& ~
  821. 8 ~& ^  ?7 L2 `
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    6 u+ D' x! y9 N$ `0 ]1 u% U% b2 Y: Q
  823. ; http://php.net/allow-url-include
    / q. Z0 P/ d+ _( A& e! I
  824. allow_url_include = Off
    % |7 X3 r& B$ y! g5 T( I5 [/ }
  825. # e- _/ f$ n: @* b3 z
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    * c  y5 }1 d& p4 K' M$ I' o1 g
  827. ; for this is empty.: K7 U; x+ z* D, I3 o
  828. ; http://php.net/from0 A; X- R7 ?3 G7 t' _! k: s
  829. ;from="john@doe.com"3 x5 _/ U$ h9 ?( s8 M. ?

  830. 9 n3 I% t: Q& k4 w7 {- `
  831. ; Define the User-Agent string. PHP's default setting for this is empty.' S3 z7 p, J. b) \: Z
  832. ; http://php.net/user-agent, i. U& _* m7 t; O9 m
  833. ;user_agent="PHP"
    9 a7 p4 W. B) J& }) {

  834. ; x& j5 A! \- ]! X4 O' I) C8 D
  835. ; Default timeout for socket based streams (seconds)- |  e7 |2 V4 O  O4 y+ J. b  F
  836. ; http://php.net/default-socket-timeout
    7 u6 V( I9 h% g! R( T
  837. default_socket_timeout = 60+ _/ Z* b2 J" ~% A0 o( ]

  838. ( a9 M( h( ~$ I+ q9 Q: H
  839. ; If your scripts have to deal with files from Macintosh systems,( W' r& Q) N: v7 O" l+ u1 v
  840. ; or you are running on a Mac and need to deal with files from
    2 j* Z8 U. l$ P: j
  841. ; unix or win32 systems, setting this flag will cause PHP to
    4 q! h- k  G; e$ F" Z
  842. ; automatically detect the EOL character in those files so that
    , K4 O' D' g- q; y
  843. ; fgets() and file() will work regardless of the source of the file.9 J/ r$ f# J1 B( }! m7 z
  844. ; http://php.net/auto-detect-line-endings
    6 ]. d4 C9 L- T
  845. ;auto_detect_line_endings = Off5 A6 l- O& ^$ ~% F, u2 C: @0 a/ J2 p
  846. + w  v+ n# H" p$ \3 q/ ~
  847. ;;;;;;;;;;;;;;;;;;;;;;
    2 L- |) ~3 @7 ]" d- w
  848. ; Dynamic Extensions ;
    % d* E' g, ]( e+ m8 |$ h
  849. ;;;;;;;;;;;;;;;;;;;;;;, _" i: J6 E: _3 G  b+ X. G7 e( l
  850. ( o/ ]4 |0 o  v$ d& K8 m1 a- J
  851. ; If you wish to have an extension loaded automatically, use the following
    8 ^$ x: w( D, ~, o
  852. ; syntax:
    $ Y+ I7 ^" y6 f8 g
  853. ;
    0 p! g" E, f, `9 A& a$ E9 @$ `% r
  854. ;   extension=modulename.extension
    , z5 |+ v  w1 x) I. a
  855. ;" @1 i/ C/ F& x8 l6 Q
  856. ; For example, on Windows:$ b5 E% f. n/ d& V
  857. ;
    , O9 o2 e  |0 f" {8 ~
  858. ;   extension=msql.dll
    , v0 _6 U8 H( C5 [( b6 l2 ?! e
  859. ;
    # J" ?8 m: Y2 _' H: g$ p8 _4 ^3 d7 Z9 _) `' F
  860. ; ... or under UNIX:
    % ~! O8 ?4 w; v* e: T
  861. ;0 H0 A4 i' K4 G) Y- ]2 n
  862. ;   extension=msql.so, Y. U8 \- }6 X! l$ D. D
  863. ;
    ! W5 u) D+ p' `6 F! h$ `
  864. ; ... or with a path:6 t( C; ]: k, _9 C6 ^# |
  865. ;
    % o+ x% e) x3 h
  866. ;   extension=/path/to/extension/msql.so: g- j  i1 ]8 e! K! p, \
  867. ;
    2 v: u+ \$ q  O; W$ t9 ]( g7 x9 A
  868. ; If you only provide the name of the extension, PHP will look for it in its; H( }; Y: w1 Q$ j4 V
  869. ; default extension directory.
    8 b8 n' X* m3 U* p. w7 o, ^
  870. ;
    4 M7 ~* ]5 @% @( S+ u$ R; H  n
  871. ; Windows Extensions
    " {9 _4 X' k: o
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    3 N- g) N# N& Z+ w- O% {, Z$ G
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    . J. |# N9 Y8 M, M
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    4 J# C* ]$ c  b+ X1 ?  C
  875. ; Be sure to appropriately set the extension_dir directive.
    8 l2 Q7 R, `3 m' ]" j
  876. ;
    9 n4 \: m8 R2 E
  877. ;extension=php_bz2.dll& U, _6 i, O, R- V0 Q1 j9 t
  878. ;extension=php_curl.dll
      F; J. e: s1 D
  879. ;extension=php_fileinfo.dll5 N" M8 q/ ^4 {! G6 o$ D
  880. ;extension=php_ftp.dll& H( f  @6 U  g$ B. E8 K' t
  881. ;extension=php_gd2.dll
    3 m, T( W; ]0 O) H: |  u
  882. ;extension=php_gettext.dll
      p. Q' C6 P6 X& ?
  883. ;extension=php_gmp.dll
    - f, p5 H) r' ]  `8 ?3 H5 K0 p
  884. ;extension=php_intl.dll
    1 Y  w9 H% C2 g4 j. D- [
  885. ;extension=php_imap.dll" S7 C+ I- m6 R% e
  886. ;extension=php_interbase.dll
    4 e! V0 B1 [- d0 m. U; x
  887. ;extension=php_ldap.dll* _; ^1 |( y6 l
  888. ;extension=php_mbstring.dll" @) h1 I: |, Q. l8 D+ H! @
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    9 d; O1 m, q2 E( B
  890. ;extension=php_mysqli.dll
    - k3 z2 s' i- k1 J2 I
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    : j, _: d6 k& |2 T2 {# R( d% _
  892. ;extension=php_openssl.dll4 N3 [! v& u- ^, {. \/ N' T
  893. ;extension=php_pdo_firebird.dll$ o" c: q# G1 H& W
  894. ;extension=php_pdo_mysql.dll) a; e& ~/ E2 a/ [7 Q, [2 c: [! A
  895. ;extension=php_pdo_oci.dll5 V% ~9 F  n- e- I# _! t, {8 S! E
  896. ;extension=php_pdo_odbc.dll
    3 `' C6 M- D- T3 R' v' q5 K) I- b
  897. ;extension=php_pdo_pgsql.dll( \2 T3 m$ I, L
  898. ;extension=php_pdo_sqlite.dll
    " ~, y; B/ Z0 R- V/ P9 O
  899. ;extension=php_pgsql.dll+ J4 {/ f7 D7 h; ^: G* b5 O
  900. ;extension=php_shmop.dll
    1 J. J4 W; e/ p* K, O1 G& I
  901. ( i/ K2 T' F. n
  902. ; The MIBS data available in the PHP distribution must be installed.
    ) _/ Q8 J0 N& o& j. n' }; G
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    & y. [9 j5 z- G/ `, ?! I6 I' F
  904. ;extension=php_snmp.dll# Q5 A: h1 b, G5 ^7 C

  905. 5 h1 [0 W) B, t
  906. ;extension=php_soap.dll
    - C3 \* G8 E, ?  [2 G9 ~" [
  907. ;extension=php_sockets.dll
    , d6 [" T6 h* |7 F! @
  908. ;extension=php_sqlite3.dll
    5 I8 w/ x9 c. E2 T, G" w8 s. v
  909. ;extension=php_tidy.dll
      r& F5 s. O' L
  910. ;extension=php_xmlrpc.dll
    & ?5 G2 k% p, E% G1 A
  911. ;extension=php_xsl.dll
    ) m# I8 L' ^/ Z3 K" L
  912. 0 V0 U! u7 ?4 d( b* v( P$ q" y+ h" o
  913. ;;;;;;;;;;;;;;;;;;;
    : R: ?3 b/ \# m. D$ s2 u
  914. ; Module Settings ;
    * Y3 _7 m' v: ?, Q
  915. ;;;;;;;;;;;;;;;;;;;# y% R$ I( }. G4 R
  916. ' T$ O: V9 f: P+ J: b* \
  917. [CLI Server]
    9 M. D9 W# b  n1 I* N
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    + K" R* u) A& O9 I  C6 Q3 _
  919. cli_server.color = On& q! `+ n9 ?+ }: r! n

  920. . \: R: @! h$ g3 H8 s5 ~+ O0 I
  921. [Date]! ?& O, h' Y/ W- q2 R6 }1 m
  922. ; Defines the default timezone used by the date functions) D0 @/ ?, h# p+ a* |) \
  923. ; http://php.net/date.timezone
    # k; s9 u7 {* h5 D  j
  924. date.timezone = PRC
    & Q; C6 J4 Z' t* M& Z! a
  925. " h9 ]6 S: Y# R5 b% b
  926. ; http://php.net/date.default-latitude, a/ f: M& s; x" P% g
  927. ;date.default_latitude = 31.7667
    7 f1 E! Z! b$ Z2 @

  928. : |3 Q9 z6 j8 Y& Y& K
  929. ; http://php.net/date.default-longitude
    7 l: J) l/ R. V3 L& e/ z6 t( @
  930. ;date.default_longitude = 35.2333
    4 m! Z. E% P3 I( i  V: e( L

  931. . `! b% D# T1 v- g# Y3 Y  Q
  932. ; http://php.net/date.sunrise-zenith
      [# Z9 p1 o8 z
  933. ;date.sunrise_zenith = 90.583333
    0 B/ Q1 V* [% I, J5 b

  934. 1 q4 u2 S' D2 G, a& `
  935. ; http://php.net/date.sunset-zenith1 r7 n4 K  Q' X1 t
  936. ;date.sunset_zenith = 90.583333
    - R, [0 t/ u0 x

  937. 5 x$ U; H4 W) N, Y* q* P
  938. [filter]
    0 b/ O( p3 g. k7 q2 u7 x
  939. ; http://php.net/filter.default
    & T0 `( U4 F! x3 r
  940. ;filter.default = unsafe_raw
    8 H* v- F/ G% D
  941. + p: W1 S& k2 _. ~* U9 ^
  942. ; http://php.net/filter.default-flags) s. S$ D' z7 z6 \8 P) k" B
  943. ;filter.default_flags =; L7 w  I* H* T* o" j
  944. 9 q: Z1 b* y  `
  945. [iconv]0 p  M$ {3 [* _, c! ~/ j/ \
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.; l) N$ x! q6 h
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    * {+ y( p" g- W
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding9 F& z; {9 g; U# H5 [  J, A
  949. ;iconv.input_encoding =
    + w  P, ~- @6 B! z) x2 ?8 `8 D, z

  950. ) n% [0 H2 p' W
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.; n+ s/ x7 E( B% m3 F- x! E
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    8 ?; b, Y& H; Y
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    2 M# ~, d# ~# L
  954. ;iconv.internal_encoding =
    / ?) r! \+ p. K6 K  O4 @

  955.   Y4 R+ r, j4 h4 `* O
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.- k- ]6 E$ Z2 Z
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    5 M& q; w, [" E1 v( U
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding/ v  b7 h" P0 {7 [6 W. e; c
  959. ; To use an output encoding conversion, iconv's output handler must be set6 X1 c0 }1 D) e5 J4 e9 t
  960. ; otherwise output encoding conversion cannot be performed.
    8 l! I. E( @( z3 ^$ ~9 e: o/ j+ a
  961. ;iconv.output_encoding =9 L% D( v1 X6 j" Q. H
  962. ! w: d1 z; l9 n" o. J, B9 a6 \, g
  963. [intl]' Z# K: c8 [0 V) t
  964. ;intl.default_locale =
    * k' I8 Z3 J  c7 S4 W
  965. ; This directive allows you to produce PHP errors when some error1 n( t% e# i/ E0 m8 Z" A
  966. ; happens within intl functions. The value is the level of the error produced.+ H/ {. @: }, T/ {" z& ^& c
  967. ; Default is 0, which does not produce any errors.1 Y, r8 i4 _( P$ [
  968. ;intl.error_level = E_WARNING
    ; E' h& ?/ P: a, a5 ?" p& ]
  969. ;intl.use_exceptions = 0
    ( j6 N- N/ s; A
  970. & m) b6 k* q0 b- i4 \
  971. [sqlite3]$ O1 _1 N8 N* {6 M4 T
  972. ;sqlite3.extension_dir =$ Q& ~  w$ e$ d

  973. , m  k1 g, G- z! I, L
  974. [Pcre]/ a$ P" X% B. @6 x$ R+ {& }
  975. ;PCRE library backtracking limit.
    - M) u8 e& R! r0 `$ n+ }( a5 r
  976. ; http://php.net/pcre.backtrack-limit
    $ {6 B1 @6 D+ d- ^
  977. ;pcre.backtrack_limit=100000* @, p" D! [1 S2 c$ W
  978. * _7 r) `  [' i/ _0 L
  979. ;PCRE library recursion limit.7 Y/ z& p% S: I; S, s
  980. ;Please note that if you set this value to a high number you may consume all
    7 g+ w9 Y' ~6 {% o3 f  s! a$ b" U
  981. ;the available process stack and eventually crash PHP (due to reaching the- Y6 ~4 r9 {; W/ ~
  982. ;stack size limit imposed by the Operating System).) ]& Y; N( `! G6 n) I
  983. ; http://php.net/pcre.recursion-limit
    6 U; |8 @: t- x  C( ?$ {! f7 F; |
  984. ;pcre.recursion_limit=1000005 m" ?% v9 m3 k. ?* R
  985. 8 y% O* Y7 D+ ?) r: Y# q
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE& ~) I: C* s$ }* N4 z4 N
  987. ;library to be compiled with JIT support.& X8 o- r. q& G1 m- |- J; J
  988. ;pcre.jit=1; f; S3 o9 D, J1 k* d( U" q4 [% k
  989. 8 R/ v3 \+ o0 T% u
  990. [Pdo]
    2 _9 r; w: K5 p/ Z$ p
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"- q! ?- M% T/ q! z* R  ?7 t: z/ N
  992. ; http://php.net/pdo-odbc.connection-pooling
    8 b% L, [/ g# }1 e4 V8 X
  993. ;pdo_odbc.connection_pooling=strict
    2 E3 _7 i! r6 A8 F8 o3 i  Z
  994. . R# n7 P" ]2 `9 A$ B! T* F4 h# T* N
  995. ;pdo_odbc.db2_instance_name
    5 _( B: r  p4 _# ?

  996. 2 ^- ?' H4 U6 T' D1 D6 B2 r
  997. [Pdo_mysql]
    5 U& N% F+ n- K, z  j
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + U: q7 N% a" o& Z7 F
  999. ; http://php.net/pdo_mysql.cache_size
    : o& Y" [  Z$ ^$ j
  1000. pdo_mysql.cache_size = 2000
    4 [3 O' P5 }5 g/ j
  1001. % D  ~+ e3 j6 c* L0 d$ ~
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in% @+ T3 X2 N; {$ C# L
  1003. ; MySQL defaults.8 }+ U4 I# ]; V3 P
  1004. ; http://php.net/pdo_mysql.default-socket
    + L& n8 }/ J+ Q+ U
  1005. pdo_mysql.default_socket=
    # ^& W3 I' d- A3 r. \3 G2 c
  1006. 9 v- p; ~' w0 I6 {& a$ d' ~
  1007. [Phar]7 s# u6 S( B- t$ W  M
  1008. ; http://php.net/phar.readonly& Q7 `5 Q; Y  ]$ p( c
  1009. ;phar.readonly = On
    : S' f1 b; u2 U$ m* O4 G; h

  1010. 7 r, n* B2 X2 V2 O- ]- _
  1011. ; http://php.net/phar.require-hash
    ; O9 t6 I$ {5 {  H( R: W; o6 n9 F
  1012. ;phar.require_hash = On- e: @$ K$ i# b% w( M1 s0 p: R$ W: m
  1013. 6 t9 {6 p) ^. L6 i/ e) _- v7 F6 J' L1 w
  1014. ;phar.cache_list =' y( C; B: X" A8 E0 r( A

  1015. ( l! z& x6 n. D! D) s8 g! i
  1016. [mail function]
    5 ?1 g1 E* L; |4 a% W; j* W7 D
  1017. ; For Win32 only." @* C5 U- }& c; s7 N3 T& ^
  1018. ; http://php.net/smtp
    ( Z( P& N$ P3 D4 w
  1019. SMTP = localhost
    3 ^" x6 l: N4 }7 }
  1020. ; http://php.net/smtp-port
      a: ]$ x1 e7 m, G6 I
  1021. smtp_port = 25# x  \2 ?! q# d" {

  1022. 5 x' y, x# i6 i+ e
  1023. ; For Win32 only.5 c4 b9 j; \- q. Z" s3 P
  1024. ; http://php.net/sendmail-from
      `7 K, W5 J6 W4 n) p2 v
  1025. ;sendmail_from = me@example.com
    . x  A% x- s& l# I/ d/ }- x
  1026. 2 v. O9 l, v! R7 T) N. S
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    6 U1 j& l0 x) i0 |
  1028. ; http://php.net/sendmail-path
    : c/ I- `2 R# h1 Z, p# o3 u. h0 A# }% a
  1029. sendmail_path = /usr/sbin/sendmail -t -i1 A5 C  _. k6 p( w  ^" X' o; J

  1030. ) F: |* @- K6 T$ j% J
  1031. ; Force the addition of the specified parameters to be passed as extra parameters7 \- P# r; J& t; j& {; w9 p
  1032. ; to the sendmail binary. These parameters will always replace the value of
    ! Q$ e1 M& J) U+ |$ m
  1033. ; the 5th parameter to mail().
    ' {/ ^) a6 ?' C7 P  B
  1034. ;mail.force_extra_parameters =
    & o7 a. @+ j# G9 \6 F

  1035.   R- L- H  R/ v. \; @1 h
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename! L$ m( W, G8 G5 ~) t8 r- b# N/ W
  1037. mail.add_x_header = On3 A/ ]) h5 j" s$ V5 @) `
  1038. * T+ l2 H3 {3 S+ Y) R9 e
  1039. ; The path to a log file that will log all mail() calls. Log entries include# W  Z  U9 |6 t# C' B
  1040. ; the full path of the script, line number, To address and headers.# ^" T; j! z# t- M9 l
  1041. ;mail.log =# l1 Z0 @( R+ V( q. \) ~' l
  1042. ; Log mail to syslog (Event Log on Windows).
    , ]; `/ l1 ?( t- v+ b4 s
  1043. ;mail.log = syslog# `; S* P* }. }& }/ q6 C* y$ s4 `

  1044. . {! u" p0 C( m! y
  1045. [SQL]6 f) p1 N# J. ^
  1046. ; http://php.net/sql.safe-mode
    + ~* @0 e1 d( @/ n: z1 S
  1047. sql.safe_mode = Off# g/ u, W* ?+ r: j3 V% d
  1048. 3 z5 ]8 P8 ~  E. i  i
  1049. [ODBC]
    % I$ h- u& D- i1 m" x* {, o
  1050. ; http://php.net/odbc.default-db
      _8 H* }+ m8 D! J  w
  1051. ;odbc.default_db    =  Not yet implemented
    . _* t* n- ?2 M5 M$ W9 W+ t2 d- W

  1052. 6 z; R1 Q" Y; S& H. y! D
  1053. ; http://php.net/odbc.default-user
    0 }3 R( K; E1 k. k
  1054. ;odbc.default_user  =  Not yet implemented- o, e( v8 ~0 I" [% K, t

  1055. 1 \' I7 B6 ]6 F' G: k" E7 D, E3 I
  1056. ; http://php.net/odbc.default-pw
    ( a# B" z$ b$ L; f2 B& s: _
  1057. ;odbc.default_pw    =  Not yet implemented
    % {2 I" c0 {. [, i9 D

  1058. ; k# J, f3 a0 M! W! P; Q3 D( S# h
  1059. ; Controls the ODBC cursor model.
    9 ?, x% `+ ~9 Q. k0 v
  1060. ; Default: SQL_CURSOR_STATIC (default).
    6 `7 ]/ o$ E( b( k, v7 T) d, x' }
  1061. ;odbc.default_cursortype
    # V6 G* ~$ @5 }4 s7 e, m
  1062. : S9 F7 X/ l& B: V! k# ], t; ~! g
  1063. ; Allow or prevent persistent links.4 i' O+ d0 k( D8 [  h# D1 ?, r! J
  1064. ; http://php.net/odbc.allow-persistent
    0 w( \, @7 M) W$ X2 a
  1065. odbc.allow_persistent = On: u0 z9 n2 S+ s# O
  1066. & `+ }% k% X9 Y0 A8 P8 J
  1067. ; Check that a connection is still valid before reuse.
    ) y5 @1 }& i9 U" b7 r( i
  1068. ; http://php.net/odbc.check-persistent
    5 o0 ?% m8 M$ D) x9 x/ a5 X3 h1 z" O
  1069. odbc.check_persistent = On  v/ t: w, C4 u! ?3 l8 X

  1070. 0 _1 Y5 j. r! u5 I( ^8 Y& t! B
  1071. ; Maximum number of persistent links.  -1 means no limit.
    4 z! k( y* x! D1 ]1 Q
  1072. ; http://php.net/odbc.max-persistent
    # o4 L% j1 [' E. y2 r
  1073. odbc.max_persistent = -1
    9 j. h5 h5 l+ }/ T

  1074. ! \. U  P- e& J- B
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ; e/ `/ h" u, M7 ^& K3 f$ t; l
  1076. ; http://php.net/odbc.max-links$ g6 O# H3 g4 i+ l
  1077. odbc.max_links = -1
    ( T7 r5 O9 @( S5 y( S9 B

  1078.   p% Q' M& s2 n; V" Y. R
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    1 R3 d. Q+ h0 T
  1080. ; passthru.4 Q5 K  z; \* D/ g( {
  1081. ; http://php.net/odbc.defaultlrl/ k4 i4 m# k) x( u& G
  1082. odbc.defaultlrl = 4096
    + @8 }) W! j0 o7 z+ \( h0 @, ]
  1083. ; S0 [+ |  l; ?; y) K0 C
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    4 ^6 m6 P: w8 q; d8 ]
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    , s& c( l: ~$ j, S- \
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode! a- ]/ X$ c# I7 T: x3 s, l
  1087. ; http://php.net/odbc.defaultbinmode. J9 m! A- n5 K- L7 Y* a) p) I
  1088. odbc.defaultbinmode = 15 a" r! i0 A7 n4 o3 [- j) Q

  1089. 4 o- q; v! _4 g7 \7 H& G
  1090. ;birdstep.max_links = -11 `4 V/ T, c/ Y& v+ [, e
  1091. . _9 E" J! J. U
  1092. [Interbase]0 H6 n% ?, j8 O. V) \% t6 Q- m, D
  1093. ; Allow or prevent persistent links.
    ( A- k: d3 _9 K$ d0 v
  1094. ibase.allow_persistent = 1
    , j# z" S5 R1 A% B1 X* S
  1095. % F8 Q! ?" N9 K
  1096. ; Maximum number of persistent links.  -1 means no limit.
    % C0 o, j' h6 N  R0 U
  1097. ibase.max_persistent = -1( Y; J' n5 |7 x. Q. z3 k
  1098. 3 K2 B- O/ s7 c: ^
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 `# J: r3 o! J
  1100. ibase.max_links = -1
    4 G! Z, ]0 f" j& I: @

  1101. - F+ K8 X6 ^. v1 ~7 R' k
  1102. ; Default database name for ibase_connect()., @* N2 i7 c+ I( N7 S
  1103. ;ibase.default_db =
    ) W- e/ p$ L6 g, J* ^7 w

  1104. ) Z( O4 {: K5 F: G6 E, t
  1105. ; Default username for ibase_connect().
    % o# h& |( Y8 K& Z
  1106. ;ibase.default_user =
    ' n4 n9 W, \' ?3 p) [' Y& v/ Z
  1107. ' [- a/ S' B* O  G% s
  1108. ; Default password for ibase_connect().
    5 h9 X1 }5 f0 K" g# a+ B6 e
  1109. ;ibase.default_password =
    + w. C; a- c/ U6 G( J

  1110. * W* w1 x+ M. h- D# U, f
  1111. ; Default charset for ibase_connect().$ O6 M$ {* \& ~7 X! P, x
  1112. ;ibase.default_charset =
    9 |. S& C# x3 I: w& W
  1113. 4 t% n3 [; {9 f7 \8 _) |- S' `
  1114. ; Default timestamp format.
    2 G4 j9 @+ D0 {
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S": Q+ f0 e$ D: t- v% s

  1116. ) A6 P# B; A7 B* ], f8 m2 R7 E$ J
  1117. ; Default date format.7 m- u, Q* F/ `! c# |- w
  1118. ibase.dateformat = "%Y-%m-%d"
    5 ~; M2 I9 V4 h

  1119. # i/ w; r1 f. l6 f# [) t) O5 d/ a
  1120. ; Default time format.! u  X& {# E* {" `5 |" t
  1121. ibase.timeformat = "%H:%M:%S"
    0 T/ _0 g3 j9 b5 S
  1122.   E+ _* n; F7 ]2 o
  1123. [MySQLi]5 r9 g9 R8 Q( o; A- K/ J* Q5 t

  1124. . h  Z& ]" r5 y, w. r) [( c
  1125. ; Maximum number of persistent links.  -1 means no limit.
    % q* Y1 E2 i$ ?
  1126. ; http://php.net/mysqli.max-persistent" D+ h4 R1 \8 @9 k* H! Q0 c  s
  1127. mysqli.max_persistent = -1  c6 j7 ?3 S/ \
  1128. & f4 X* |8 X  i3 d
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements1 h- u) T  t$ e2 m2 Q
  1130. ; http://php.net/mysqli.allow_local_infile
    ! y5 N& @! L9 w
  1131. ;mysqli.allow_local_infile = On) G! X2 x6 F, x/ K7 X
  1132. # b* m+ C+ N5 k. S: R: `
  1133. ; Allow or prevent persistent links.
    6 `4 e; G4 U5 v: [
  1134. ; http://php.net/mysqli.allow-persistent
    % S( F8 a( u/ T+ p1 z+ b7 D
  1135. mysqli.allow_persistent = On
    : R& t* E2 E% m

  1136. ! {6 |& w# V7 h. N9 \
  1137. ; Maximum number of links.  -1 means no limit., p2 L) y; R; f
  1138. ; http://php.net/mysqli.max-links) l& v/ F$ w0 L% F& b( Z. p; e
  1139. mysqli.max_links = -1
    " O4 Z' B0 [! P1 D- l" t
  1140. 7 f: h/ `. q' W, C; p$ n! j
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! e' N1 j0 U# [9 f' O
  1142. ; http://php.net/mysqli.cache_size
    6 ~+ W- a! W; y0 H
  1143. mysqli.cache_size = 2000! z- j" P$ u8 f: O8 @( g
  1144. # J: @# E% i4 A! I5 D$ i
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    6 [9 j9 c" ~: @6 Q. B2 I3 n
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the! J, [2 @# {2 V$ S% D  @9 A: s) @' L
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look) l; L% w9 s; a# b- B7 i
  1148. ; at MYSQL_PORT.
    & A% s  u9 {# s: `
  1149. ; http://php.net/mysqli.default-port' N4 t  v9 Y) }- i4 e2 v
  1150. mysqli.default_port = 3306  o! G0 k5 K% B; D4 |

  1151. 7 \. ]. R8 K+ M- s; g! {
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    $ \- Z& S, _+ d  q, v
  1153. ; MySQL defaults.( a- w! M; ~5 z7 L5 i
  1154. ; http://php.net/mysqli.default-socket
    3 n+ C4 b4 u1 o% _+ N0 t9 Z6 S
  1155. mysqli.default_socket =
    , O2 g% v* ^% S# B2 G1 x2 E

  1156. ' X8 L( x+ j- W0 }! h' Z/ ]# E
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).8 j7 e9 x( h* O: @2 Q
  1158. ; http://php.net/mysqli.default-host$ T4 U4 @- F6 Y4 ~
  1159. mysqli.default_host =
    " h$ q* _' A, }. f: B! b

  1160. 5 |* ]5 Y$ i, e& v; f
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    3 A! E1 u5 g2 Z% X+ k' H, B
  1162. ; http://php.net/mysqli.default-user! z4 E$ Z8 B% c  b
  1163. mysqli.default_user =3 w8 \9 {2 F% s  L
  1164. 0 }( _) A, h, j! |, \/ X+ V
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    6 L& m. h7 |+ l. l
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    ; H3 _7 b# \3 x  ~- q5 {4 I9 I! p
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")+ g- q, F2 {/ }. `4 e" E
  1168. ; and reveal this password!  And of course, any users with read access to this
    & z2 _* D7 Q4 u
  1169. ; file will be able to reveal the password as well.# u% F: \$ E; R
  1170. ; http://php.net/mysqli.default-pw; v. j  p0 V# c* s- m
  1171. mysqli.default_pw =; ^# X- e0 o1 x' @8 E2 Q& l. n3 n4 Z* ]) X

  1172. 2 x3 f) S# g! J. w5 d, q" D! q* y
  1173. ; Allow or prevent reconnect
    7 V, J  x0 i- A
  1174. mysqli.reconnect = Off, R0 J1 p  \/ ~7 V9 R8 T, \. ~
  1175. % u3 i5 ~8 @1 z+ Y+ k8 D& ~
  1176. [mysqlnd]; g( N; a; t5 v  o9 c" X7 Q  w
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    / C/ C: E8 R# ]% I
  1178. ; used to tune and monitor MySQL operations.
    1 i1 q; j/ I: o1 U3 T6 x; k3 S
  1179. ; http://php.net/mysqlnd.collect_statistics
      |( N# {# _- U0 ?
  1180. mysqlnd.collect_statistics = On
    6 c, c- o0 G$ F3 n9 |2 E

  1181. 3 l/ N& \% D- `$ X6 R+ F. d
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    * T" |* k- W; o. ^; r
  1183. ; used to tune and monitor MySQL operations.' N2 I( |, \: e8 N0 h
  1184. ; http://php.net/mysqlnd.collect_memory_statistics- f& ]5 {. I. F6 ?1 I
  1185. mysqlnd.collect_memory_statistics = Off& i5 b& l9 c6 `6 v. v# @' W

  1186. + W+ b& {, G0 _# l
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    2 O9 R3 E7 S  I, d* l
  1188. ; file.) \% ?5 h- i2 O4 a
  1189. ; http://php.net/mysqlnd.debug
    * b5 {9 a# I1 |
  1190. ;mysqlnd.debug =4 M. t! p, C# p
  1191. 5 I: f) F# s0 P
  1192. ; Defines which queries will be logged.
    : N" m' q9 s) f
  1193. ; http://php.net/mysqlnd.log_mask
    0 L! P# J7 S+ w& T, @
  1194. ;mysqlnd.log_mask = 0. h! E7 V' D; M0 ~4 s
  1195. / z* A- ]! C; I- @3 w2 f4 ^: \
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    9 b9 x# _3 `. T
  1197. ; http://php.net/mysqlnd.mempool_default_size
    ' l0 L; ?: P- Y* O
  1198. ;mysqlnd.mempool_default_size = 16000) ^0 D5 `3 S# ]  \+ P+ _
  1199. ; ~# b% n7 v  o/ g, J
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ; Q/ R2 q$ N# h3 d6 q9 I
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size* [) z# r& `  u2 |- I7 s9 Q
  1202. ;mysqlnd.net_cmd_buffer_size = 2048; r9 T9 M* {$ |2 T

  1203. 4 Y6 N; Y+ V) Z( x8 m* x
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    8 w; w9 K2 U5 P5 c' }/ K
  1205. ; bytes.: j& F7 K0 W+ [( s* V8 R( D
  1206. ; http://php.net/mysqlnd.net_read_buffer_size2 f0 J4 N* {  I/ W/ x" W
  1207. ;mysqlnd.net_read_buffer_size = 32768
    5 S0 p0 o$ Q3 ]/ X! a
  1208. 4 R( D8 s& ^  U, f8 e4 L
  1209. ; Timeout for network requests in seconds.
    * v0 K( G+ G; D5 V' W0 ]9 g
  1210. ; http://php.net/mysqlnd.net_read_timeout9 b% X/ @+ S/ z) l/ _
  1211. ;mysqlnd.net_read_timeout = 31536000
    4 W$ P' I* D( B' F5 e$ p' i

  1212. 9 @7 N$ a# ?: K6 c  @
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ) V1 R* F" ^4 A: ?  Y
  1214. ; key.
    8 Y$ r8 R# W; u4 j* P- y
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    & o4 e; x/ p* M3 P+ ^
  1216. ;mysqlnd.sha256_server_public_key =# m; K7 J2 K" U5 Z( L  B' h
  1217. ! g3 q# S4 J1 C5 m, h9 s( Q
  1218. [OCI8]/ a/ ^; p6 }6 z. O

  1219. 6 m& I5 E, x: t% i* g3 i6 R
  1220. ; Connection: Enables privileged connections using external! N% N2 |) l* F7 S  a
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ! u4 J, g% H# c; M
  1222. ; http://php.net/oci8.privileged-connect
    7 A6 D/ I) z5 Q2 @2 A
  1223. ;oci8.privileged_connect = Off! p0 q; f* P2 \7 f, i( T% {& S
  1224. / Q6 J/ P* V- h3 ^6 v. y# R8 N, b
  1225. ; Connection: The maximum number of persistent OCI8 connections per+ a3 Q- ~  ~7 u1 T$ f- K/ j3 G
  1226. ; process. Using -1 means no limit.9 D6 {$ V: r' E" M+ m- U
  1227. ; http://php.net/oci8.max-persistent& L5 G/ o5 {4 i1 d
  1228. ;oci8.max_persistent = -1
    1 C4 R1 N1 u( g# Q

  1229. - r; O- y* w& l0 x
  1230. ; Connection: The maximum number of seconds a process is allowed to
    1 X% o2 j1 F. h/ I
  1231. ; maintain an idle persistent connection. Using -1 means idle
    1 e& r* U2 J. x% U( \9 i
  1232. ; persistent connections will be maintained forever.
    - I+ b: b6 a7 X7 |0 X# C) ^
  1233. ; http://php.net/oci8.persistent-timeout
    5 `. o, X  P7 C" X8 g: e) s
  1234. ;oci8.persistent_timeout = -13 S0 P/ m, j. h; t. n- ^: m7 b6 `' f
  1235. + ]4 Z! k6 [- ~! K0 c. R" L* f
  1236. ; Connection: The number of seconds that must pass before issuing a
    ) P8 r3 w9 ^/ B8 o* v+ Z" ~  U
  1237. ; ping during oci_pconnect() to check the connection validity. When; a  h' m( x0 a. R$ S; U# F  V
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    , o: m- c1 j) n3 t9 C. a5 ~/ m
  1239. ; pings completely.) ?+ V3 h" k% s5 t3 V' c
  1240. ; http://php.net/oci8.ping-interval# Q# O% ^5 i+ }0 D0 H
  1241. ;oci8.ping_interval = 604 `0 g" W8 J5 p: e& y) _1 `7 M0 l/ V1 K
  1242. . Y" A; C; O# y( ]7 t
  1243. ; Connection: Set this to a user chosen connection class to be used
    8 F9 O% D' |/ {; h
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    , E  H. p$ ~, q" T+ N' p0 m) W
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    # y  ^, x9 z. T) D" W% y
  1246. ; the same string for all web servers running the same application,
    6 n* F( G0 A; T  H' D" ?# w
  1247. ; the database pool must be configured, and the connection string must) H9 ~4 `7 ~* X, \1 k/ _- W2 l: x
  1248. ; specify to use a pooled server.$ S7 p9 I" X4 Z* I( \6 ^. M) ~# T
  1249. ;oci8.connection_class =5 s* W% w: k/ L2 D4 C/ J' j

  1250. 2 n4 V& n# R6 ]6 s* M
  1251. ; High Availability: Using On lets PHP receive Fast Application5 i0 e0 K: C, ]/ B1 T* L
  1252. ; Notification (FAN) events generated when a database node fails. The
    / k8 D/ s7 v) D  q3 Z0 n' v
  1253. ; database must also be configured to post FAN events.% u' x0 Z8 K; z0 e+ R8 i* t! {
  1254. ;oci8.events = Off4 R! w/ a' W0 R7 x# k' K+ E- u
  1255. 1 D9 l- a% U% \: w; c  U
  1256. ; Tuning: This option enables statement caching, and specifies how
    . v1 U9 Z* l. j% X8 K& U7 e
  1257. ; many statements to cache. Using 0 disables statement caching.
      u2 \% B/ O/ K+ J% N
  1258. ; http://php.net/oci8.statement-cache-size  c( c3 c0 y# Y: I
  1259. ;oci8.statement_cache_size = 20
    5 N6 h5 F5 b9 n: C, D% K4 r+ A9 D

  1260. ' K3 |9 C: ~; J$ x. G
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    " g+ x' q# |. ]
  1262. ; rows that will be fetched automatically after statement execution.
    $ l# I( G5 [3 o
  1263. ; http://php.net/oci8.default-prefetch7 {; v# m- r8 l- r
  1264. ;oci8.default_prefetch = 100
    ) h4 c3 G+ ~6 f" M
  1265. ' B2 k8 j+ T. m3 ]! [
  1266. ; Compatibility. Using On means oci_close() will not close7 a5 g( s1 T' C$ s, W8 [6 H
  1267. ; oci_connect() and oci_new_connect() connections.8 u4 [$ C/ t' s3 R2 f
  1268. ; http://php.net/oci8.old-oci-close-semantics
    . L& b! `2 x7 U4 O8 r+ K( ^& m
  1269. ;oci8.old_oci_close_semantics = Off
    $ c6 M" `; X% X  `4 l' x' u

  1270. 1 \1 N5 C! c/ J; l- f0 p$ c4 J0 U/ Q5 U
  1271. [PostgreSQL]
      P% i* |; r9 h% W0 m" _
  1272. ; Allow or prevent persistent links.& W6 M- F& u  O0 f9 a: R/ F5 o# A
  1273. ; http://php.net/pgsql.allow-persistent8 W0 n9 F, n0 ~+ T3 O0 w6 _
  1274. pgsql.allow_persistent = On
    / Y& ?( E9 v, \) r! r) e/ {

  1275. 2 b" O3 ]" q% `) L5 Q$ Y. A
  1276. ; Detect broken persistent links always with pg_pconnect().
    # q) _' w2 `  z# B9 u0 O/ [
  1277. ; Auto reset feature requires a little overheads.4 F" k1 |& L* E8 R1 j% X( C
  1278. ; http://php.net/pgsql.auto-reset-persistent* |  K% R3 X' [3 C' C7 f. z% q
  1279. pgsql.auto_reset_persistent = Off
    # U* e, ^' d8 ?% d0 E
  1280. 3 H4 Q. b5 B/ u% j% _% @
  1281. ; Maximum number of persistent links.  -1 means no limit.4 r( P5 p! `' }
  1282. ; http://php.net/pgsql.max-persistent
    * _6 T/ f: u0 {, q# {4 N0 H
  1283. pgsql.max_persistent = -11 B' ~- o  K) `, a8 e
  1284. 1 P9 e7 k2 R1 t( |
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.6 V) W% |2 y7 I8 p4 l, l- O' i
  1286. ; http://php.net/pgsql.max-links; X( A9 {0 Z9 C4 E6 {) A+ i- F/ C
  1287. pgsql.max_links = -1
      z( d0 V  Z! M1 w

  1288. / p5 `) N  ]& z7 Y$ m1 R
  1289. ; Ignore PostgreSQL backends Notice message or not.& U- r# e& r1 @. e; I5 x
  1290. ; Notice message logging require a little overheads.
    $ b! L" ~, V5 V! f
  1291. ; http://php.net/pgsql.ignore-notice2 X# B5 E0 h! t5 J& W% d
  1292. pgsql.ignore_notice = 0
    8 ]( _+ S# x4 j' F$ B
  1293. ; t" h# T6 F3 P6 c
  1294. ; Log PostgreSQL backends Notice message or not.; j7 h3 j: \* q  q
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ) y1 X( ]; Z/ _( b% f" a0 G3 L
  1296. ; http://php.net/pgsql.log-notice
    / ~; J" S8 T, H! X. g7 X
  1297. pgsql.log_notice = 0
      [( z4 {8 ?# Q& ]2 I: x+ ]
  1298. 4 m9 m( k( Z* U8 _" }' F
  1299. [bcmath]
    ) v* l- Q  T6 i
  1300. ; Number of decimal digits for all bcmath functions.4 I( A5 r  f1 j5 U/ a
  1301. ; http://php.net/bcmath.scale
    . z6 P8 y" I3 ~' B: s9 h: ~9 I
  1302. bcmath.scale = 00 I$ K0 [, ?) ~% V2 ~9 f

  1303. 2 F' o- X% y& ^+ b1 N
  1304. [browscap]7 j7 e( y4 r" I4 l5 ?' T
  1305. ; http://php.net/browscap5 C3 p( C# D6 u$ \3 N
  1306. ;browscap = extra/browscap.ini+ `- D2 M% F0 o9 y, l7 R3 k
  1307. ; @  e( U4 E) Z  m! D4 L
  1308. [Session]
    " H9 Y2 |6 h( M% @# R
  1309. ; Handler used to store/retrieve data.
    ' J8 E$ H/ y0 q" c+ Y
  1310. ; http://php.net/session.save-handler8 U- a# T& B/ b. Q
  1311. session.save_handler = files
    ( _8 H1 l+ Y3 N5 V' W' O& l
  1312. $ h& D" H; P) o6 Y0 T' A; h
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    & \% W* X( Y9 j
  1314. ; where data files are stored. Note: Windows users have to change this# g% D8 m2 p/ u
  1315. ; variable in order to use PHP's session functions.
    4 m  }: i3 d1 s; x) l
  1316. ;) d2 @  U& Q! g# c* I; f8 E
  1317. ; The path can be defined as:
    0 g& A+ c! n7 O
  1318. ;$ w, h! u$ z: k  M, F, v$ l
  1319. ;     session.save_path = "N;/path"( V) E( z. W" h& F# ]- I8 y9 e
  1320. ;1 n% L" B- D1 y5 {0 R
  1321. ; where N is an integer.  Instead of storing all the session files in
    . h% c) l* \3 N0 u6 d
  1322. ; /path, what this will do is use subdirectories N-levels deep, and9 J5 n1 n7 Q9 V5 `
  1323. ; store the session data in those directories.  This is useful if
    : ~, ?$ j3 k0 {5 d$ K+ c
  1324. ; your OS has problems with many files in one directory, and is( w9 l( u6 h9 q
  1325. ; a more efficient layout for servers that handle many sessions." {. }* w2 z+ ]; `- S+ H' Y# n
  1326. ;) k  E2 V1 Z: t+ O- l! i
  1327. ; NOTE 1: PHP will not create this directory structure automatically.1 c9 ^1 ]0 p# M* w- v5 K
  1328. ;         You can use the script in the ext/session dir for that purpose.8 s* o6 S5 e0 A, G5 R  K+ a
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    + j: h4 N6 m% V- K- M
  1330. ;         use subdirectories for session storage
    , ~/ X8 R; S9 f, p6 e! k
  1331. ;
    2 W# G* k) G1 I( Y2 d9 _# ~
  1332. ; The file storage module creates files using mode 600 by default.; T1 R& s9 I6 S) M  L9 Z8 E2 X
  1333. ; You can change that by using  F$ [8 [* a  H; Y' `7 h+ m
  1334. ;9 k' b- F8 C  J: x& w3 n4 u6 e4 ?6 Z9 p
  1335. ;     session.save_path = "N;MODE;/path") c+ m. L& r, \0 Z$ ^( W
  1336. ;
    , i  H& r! B* c  v2 O0 d$ F
  1337. ; where MODE is the octal representation of the mode. Note that this
    " N7 h- H! W- X5 |
  1338. ; does not overwrite the process's umask." A' V9 t- h( Q
  1339. ; http://php.net/session.save-path
    3 }1 t8 E; S, V4 n& _6 g% @  \+ r
  1340. ;session.save_path = "/tmp"
    & d6 o* |6 |8 {* E) M& z1 K* i; l# k

  1341. % J7 q' h' m) Q! N: p' X' [
  1342. ; Whether to use strict session mode.
    + z6 Q. Q3 u- n0 h
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate  J1 F' S( \* O7 {4 [
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects, {4 _2 h- |8 O4 }% @
  1345. ; applications from session fixation via session adoption vulnerability. It is
      i. R$ j2 T) Z4 V; U( ?4 h( v
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    " @" D# _; e" r, Z) q9 b  X
  1347. ; https://wiki.php.net/rfc/strict_sessions; r6 O1 y% [# H9 ~& V
  1348. session.use_strict_mode = 0) u3 c+ s0 t* g+ i; P, c0 o% \' f
  1349. 3 m) W# y3 T: Q: @3 V
  1350. ; Whether to use cookies.
    5 x& _% Q* V) T- Z0 Q
  1351. ; http://php.net/session.use-cookies
    9 L8 X) l) e; m, s& r
  1352. session.use_cookies = 1% r. [1 b2 a# ]& u  O

  1353. / x0 K/ J2 {# n$ \. H% S
  1354. ; http://php.net/session.cookie-secure
    # V2 s8 I6 U5 o& s! {
  1355. ;session.cookie_secure =
    # A7 h6 b; i- i/ V
  1356. 7 _& i, ~. f  R0 |6 j3 f
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining* Y5 {7 E# G5 G6 T: D
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    9 R" r2 B' |* V& @( Z; T( |* v0 D
  1359. ; session hijacking when not specifying and managing your own session id. It is
    ) o5 u7 a8 P' s
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.; V1 Q, ^/ F( S1 O
  1361. ; http://php.net/session.use-only-cookies
    * M/ O0 [3 P: O+ }' a# V1 \
  1362. session.use_only_cookies = 10 H% c# _6 H: `
  1363. 5 I2 y1 d0 J* O5 c/ {
  1364. ; Name of the session (used as cookie name).3 S: S: S+ @5 r' Q) O- r
  1365. ; http://php.net/session.name
    ( }& B0 a' ]* a) h+ x' o( Q! s
  1366. session.name = PHPSESSID# E0 F7 R7 i7 ]. ^% y
  1367. $ `& Z+ A* A: W. u+ F1 w% U
  1368. ; Initialize session on request startup.
    4 K5 \8 N5 k9 o% l# F2 ^
  1369. ; http://php.net/session.auto-start; p  g+ [2 z- Q0 b5 {) ^0 ~
  1370. session.auto_start = 0
    $ _' q$ y3 j, k( q& o; Q& O
  1371.   G. I+ j* ]0 O
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.& Y/ S0 u6 d& Q3 a* U; ~6 f6 \
  1373. ; http://php.net/session.cookie-lifetime+ M6 O+ o- C* v$ V
  1374. session.cookie_lifetime = 01 D" G( U4 E# A7 [- k4 [: S: ]

  1375. 9 z0 \6 M# j' T$ i9 k) J
  1376. ; The path for which the cookie is valid.$ L. g% s+ L0 u+ Z) P" F: [0 B% K* A
  1377. ; http://php.net/session.cookie-path
    7 k6 ~' Q' h$ q( i4 W+ y9 d$ c
  1378. session.cookie_path = /) W" E7 m! W) `1 q4 ~) \& b$ D, p* _
  1379. ) P! j0 y. y' O5 P" Z3 \
  1380. ; The domain for which the cookie is valid.
    3 k: l3 w9 l5 w! F5 O
  1381. ; http://php.net/session.cookie-domain
    3 R9 o8 g, C& }; a+ M
  1382. session.cookie_domain =/ f0 j& B0 g# S0 }
  1383. ! m; o6 p% ^$ _- z1 Y
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    % ?) u' ]6 [( z& E
  1385. ; http://php.net/session.cookie-httponly
    . K6 l7 ]- ~0 C3 I- `
  1386. session.cookie_httponly =5 o. u9 q5 A7 ~9 Z; \" Y1 Z
  1387. ) K1 o0 w; @' p# M2 F! V
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    : v. L" `9 `6 t
  1389. ; http://php.net/session.serialize-handler7 \% L+ \7 z7 d) i
  1390. session.serialize_handler = php) ^) C8 ]6 a0 Z3 q/ Y* |' I
  1391. & x$ I1 @1 _* y3 P7 b
  1392. ; Defines the probability that the 'garbage collection' process is started
    - L' j. l$ ?" d; y$ L& S+ s% }4 ]! ?
  1393. ; on every session initialization. The probability is calculated by using2 D6 w& r7 [( y! O+ a$ a
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator! v0 e5 d3 |, k" Z2 o
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    & s# ?( a/ q! q* d
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ( `/ Y+ i) a2 w8 y8 r
  1397. ; the gc will run on any give request.' w9 ?- I& X7 _& ^: y9 |% _
  1398. ; Default Value: 1; @# r9 e( h9 u6 \2 h$ Y
  1399. ; Development Value: 19 r/ T# Q# x6 J) s) q8 X  Y
  1400. ; Production Value: 1
    5 _7 [7 }' L7 }  u9 b+ J
  1401. ; http://php.net/session.gc-probability
    5 i6 k4 b; n7 Y
  1402. session.gc_probability = 1
    4 b( m; ~2 D. s. P* a: u
  1403. - S, G$ v6 N9 t7 S1 i$ k; }3 z( {
  1404. ; Defines the probability that the 'garbage collection' process is started on every! B: W2 L; x5 p: _- d
  1405. ; session initialization. The probability is calculated by using the following equation:& g% x, g/ d2 P2 J
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and3 f, d* |" m: z8 F, V" K
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1& @0 C6 d1 a+ x
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    , C) t& C( N3 s
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you$ x( G2 g7 e( |& W! q% _2 b
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,7 K/ @: _+ |4 E' J
  1411. ; this is a more efficient approach.
    : L7 Q& v- O8 |, F; k4 V
  1412. ; Default Value: 1000 U1 R5 [8 M- V( w; `: ^
  1413. ; Development Value: 1000
    7 d: Y( @+ {( r, C2 [2 c
  1414. ; Production Value: 1000) p) G) K( N3 O1 K  K& D
  1415. ; http://php.net/session.gc-divisor! y$ H3 V1 g& n* h
  1416. session.gc_divisor = 1000* j$ m2 J  e) [& V6 w2 m
  1417. ; b/ G, z7 m* y+ `
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and  [  Q. [3 S. G1 |$ |
  1419. ; cleaned up by the garbage collection process.( X% H$ \# N& x0 V9 X
  1420. ; http://php.net/session.gc-maxlifetime
    ; A' ?% S& Y/ O. T1 q# q
  1421. session.gc_maxlifetime = 1440
    2 M& z  L! ^( J

  1422. " F5 t% p; V6 u9 q8 g
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    : T; w' ~; G, h- V
  1424. ;       (see session.save_path above), then garbage collection does *not*5 F+ P$ T' ?$ [( M$ ]' y& P2 \
  1425. ;       happen automatically.  You will need to do your own garbage
    2 ?: {# B/ Z7 x& q
  1426. ;       collection through a shell script, cron entry, or some other method.& n1 c3 B; X+ O5 L4 A, x+ z# i
  1427. ;       For example, the following script would is the equivalent of
    / v: f' B) g) L5 \  J: J
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
      U) ?* ?5 N3 @7 o% ?9 U7 y1 }( r5 M
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ( N. W2 q1 A% z
  1430. 2 A! ~5 e/ V  m! a$ U  N6 t
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    1 U0 Y3 l- V; b# E  L+ H
  1432. ; HTTP_REFERER has to contain this substring for the session to be' W4 J6 Z2 @# s
  1433. ; considered as valid.
    ' }! F# Q  y! R3 U$ c! L1 f
  1434. ; http://php.net/session.referer-check
    9 }/ P+ p( W2 m
  1435. session.referer_check =
    - U, O$ [$ G9 ?' o# P" j

  1436. . v( M0 |" W0 F
  1437. ; How many bytes to read from the file.
    , d2 o9 S. ]: M
  1438. ; http://php.net/session.entropy-length
    2 V8 X5 Q. T9 \. C+ z( X0 T
  1439. ;session.entropy_length = 32# P) g: t# x, k1 |, A0 B) a
  1440. , A6 \5 z! c( i  _! d1 [. V( i/ O
  1441. ; Specified here to create the session id.
    6 w$ |6 L4 l4 Q, a1 f6 Z
  1442. ; http://php.net/session.entropy-file
    ( A  J8 f- x8 w4 W% A
  1443. ; Defaults to /dev/urandom5 `1 f- B8 D% Z" j! A4 w& T$ \
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    8 h8 a# r) A  R* H; G+ u# @
  1445. ; If neither are found at compile time, the default is no entropy file.
    . B- M+ C" k) T$ t) o
  1446. ; On windows, setting the entropy_length setting will activate the
    7 \# m' T  W8 @4 j
  1447. ; Windows random source (using the CryptoAPI)
    ) S% m( ~: f5 h' g! q
  1448. ;session.entropy_file = /dev/urandom( q! P  w: Q1 n% B

  1449. 8 n7 T" k9 B2 P" e
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects5 I: ^8 P$ ]7 c5 ?* z  I, j
  1451. ; or leave this empty to avoid sending anti-caching headers.
    + o* {* k1 i2 {) J- }
  1452. ; http://php.net/session.cache-limiter
    0 h6 Y7 F, M$ V! [9 K' X
  1453. session.cache_limiter = nocache. M3 ~9 L7 u$ K/ J0 i) c# R6 m

  1454. ' W3 H- K5 w5 d# U5 S
  1455. ; Document expires after n minutes.$ G. q' |7 x  I2 N/ [! X. @
  1456. ; http://php.net/session.cache-expire
    ' ~1 v# z% F7 w; i
  1457. session.cache_expire = 180- }+ x* k! B" X) ~- Y0 |1 l

  1458. : Q8 M/ Q+ M+ [8 E8 |" U
  1459. ; trans sid support is disabled by default.. h7 s1 O9 R% T! T6 s- ~
  1460. ; Use of trans sid may risk your users' security.# D: n0 |) N& _" O& N
  1461. ; Use this option with caution.
    - ]6 h% n; f8 E9 i+ X
  1462. ; - User may send URL contains active session ID& b/ k( v& |3 g- l% y6 Q1 L
  1463. ;   to other person via. email/irc/etc.6 e+ F0 W0 _5 R8 u0 @3 |! v& }2 V, K5 y
  1464. ; - URL that contains active session ID may be stored* V. \" c3 H/ Z+ F* q- ^7 K
  1465. ;   in publicly accessible computer.  _& s9 f. }4 U8 x8 H0 d  R0 b
  1466. ; - User may access your site with the same session ID) N2 Z) {' c) y6 \6 |
  1467. ;   always using URL stored in browser's history or bookmarks.& a$ P' l# r( W( h6 M6 k8 x
  1468. ; http://php.net/session.use-trans-sid
    7 M  l3 i: M, m  G/ V
  1469. session.use_trans_sid = 0* ~- |: B+ N( h# a3 p

  1470.   i5 E3 d( Z- C2 u1 l
  1471. ; Select a hash function for use in generating session ids.4 v% H- c7 C# _# ~' _
  1472. ; Possible Values' h: v; _; n2 H3 x* H
  1473. ;   0  (MD5 128 bits)5 p5 K+ h9 V0 v) z' b7 e- ]
  1474. ;   1  (SHA-1 160 bits)
    2 L$ _, J1 K) N' ~3 {+ Z9 s
  1475. ; This option may also be set to the name of any hash function supported by
    ) `$ V! r+ L6 K( z- _+ d0 b( ]
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    : v) c9 j! m* b" J8 E+ f
  1477. ; function.0 C1 o; ?4 N8 U& ^5 n/ E
  1478. ; http://php.net/session.hash-function
    2 O- e0 _8 J* v' z
  1479. session.hash_function = 0
    1 j4 x8 k9 u9 f8 _# J

  1480. + U8 k3 r0 g2 m2 c* t! K
  1481. ; Define how many bits are stored in each character when converting/ [% y; B* x# K& L! J6 m/ L1 ~6 {( c
  1482. ; the binary hash data to something readable.
    ' d9 q  a& e% ^$ M0 C
  1483. ; Possible values:
    + y) }" q) z- g2 [( E
  1484. ;   4  (4 bits: 0-9, a-f)# e9 P0 T$ t% m2 b4 @% p8 M; @
  1485. ;   5  (5 bits: 0-9, a-v)
    , [0 x) E- ]' q0 }* A# v3 ?  L, J
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    / }: J% z* R! j! y6 Z6 w, @
  1487. ; Default Value: 4
    % m1 J4 y1 I6 }3 a
  1488. ; Development Value: 5) i; p4 e% R! \0 c
  1489. ; Production Value: 5
    ' j9 w; @- _. [  g5 }9 m" R$ a* e
  1490. ; http://php.net/session.hash-bits-per-character  J/ R  C' {8 u4 K
  1491. session.hash_bits_per_character = 5; a( g9 |3 D/ b( {3 M

  1492. 2 A0 i5 [' E! g2 f# \0 v3 K# D
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    . K7 W; p  i3 }. f
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    " s% Z$ b, H5 q) b. }, I
  1495. ; add a hidden <input> field with the info which is otherwise appended
    ) Z+ P8 y7 q/ X* w
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    % z8 k- t1 |+ T( w# ~
  1497. ; Note that all valid entries require a "=", even if no value follows.
    2 @4 X- D% O: X; a" v( Z( }% O& S0 n
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="3 ~% }, o" T4 q: @2 u& A
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- L6 q3 Q( _  ~3 S* G# J' \# ^5 B
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % C+ l; ^. g" k. G4 R* S
  1501. ; http://php.net/url-rewriter.tags# W# }: ~/ y# J% g7 E, P( b& i
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! r$ E/ n" P. O. ^

  1503. ! M: A# x+ E' F9 M) n' V) H
  1504. ; Enable upload progress tracking in $_SESSION
    - A  _; Z" L% i2 _/ x
  1505. ; Default Value: On
    8 l1 o$ v% M2 d6 @+ W! a8 p, F
  1506. ; Development Value: On
    8 I; O7 D2 _$ T  }* B' A7 P# J
  1507. ; Production Value: On
    $ ^9 C* a: |% K" U+ w& m
  1508. ; http://php.net/session.upload-progress.enabled
    & y( H. P& \9 m0 G  d' j, h1 {
  1509. ;session.upload_progress.enabled = On- Z: P9 e# I  B1 W

  1510. $ b8 y! I; M9 r( P
  1511. ; Cleanup the progress information as soon as all POST data has been read1 U4 A4 e, [; t1 |3 s* Y$ i  D1 q6 H5 D
  1512. ; (i.e. upload completed).
    ! _8 M( \: X1 q) F  o( x
  1513. ; Default Value: On
    / v  V& h7 [2 |* l$ V
  1514. ; Development Value: On
    ; Z+ q  c1 g" b4 r1 ]$ s/ F. O
  1515. ; Production Value: On) i; x" E4 R6 W* L' X7 x& ~7 u5 p5 ~
  1516. ; http://php.net/session.upload-progress.cleanup" b; F: `& I$ |& M
  1517. ;session.upload_progress.cleanup = On* m9 R7 Q; R+ x% {0 p5 d
  1518. 4 J" C; A3 }& q+ P
  1519. ; A prefix used for the upload progress key in $_SESSION& J: m+ U4 u7 Q# v
  1520. ; Default Value: "upload_progress_"
    : `8 E, u. f4 U9 }2 T3 O
  1521. ; Development Value: "upload_progress_". J! t, Q0 [4 X- c+ |3 P
  1522. ; Production Value: "upload_progress_") e4 a. }3 Y3 P5 g  I
  1523. ; http://php.net/session.upload-progress.prefix
    ! {, E+ G$ U; X2 f4 Q
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ) D6 w6 R+ W( S# W% ~& g

  1525. ' u5 X/ e  V+ t( G9 ]
  1526. ; The index name (concatenated with the prefix) in $_SESSION& h3 y4 v7 i0 X& A3 s, {/ v
  1527. ; containing the upload progress information+ J  U! ]. j0 d
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    + I! \/ d$ J8 P+ Z7 n0 y
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ' V# o" C$ K% C+ H
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    2 W9 S, W" ^4 f5 z6 {! v7 w1 I: L
  1531. ; http://php.net/session.upload-progress.name
    ) |; x5 Y1 B8 S/ U( E2 d# J' h
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS": W6 S1 ~& i$ h8 t
  1533. 2 Z/ Z! I4 E- N5 X/ Q
  1534. ; How frequently the upload progress should be updated.% t8 w( X; f: \3 t
  1535. ; Given either in percentages (per-file), or in bytes
    8 L# G$ L( }- M$ G2 e
  1536. ; Default Value: "1%"7 n* m! l: N7 G
  1537. ; Development Value: "1%"# _. [. R+ ]; E. U# J. V! B+ Z1 p
  1538. ; Production Value: "1%"
    ! x9 p& W' q4 }7 m8 y; D) `1 o% P
  1539. ; http://php.net/session.upload-progress.freq
    + d/ |$ B# a4 k5 O$ s" q8 c% c
  1540. ;session.upload_progress.freq =  "1%"" Z  ~4 }9 {6 J0 _( c7 ^4 f

  1541. , G) W& E  x% P$ Z/ {& _
  1542. ; The minimum delay between updates, in seconds3 x6 `% ]2 ]0 i9 \2 V. |% n
  1543. ; Default Value: 1
    0 o* O! A6 `8 d5 ?
  1544. ; Development Value: 1# O! Q7 W0 I1 a& j
  1545. ; Production Value: 1
    2 j% r7 b$ P: g
  1546. ; http://php.net/session.upload-progress.min-freq# D5 Y/ R5 R/ J7 h2 M
  1547. ;session.upload_progress.min_freq = "1"' ?+ c/ }# J& S: l
  1548. : n6 z- z6 _5 o: U8 }9 q
  1549. ; Only write session data when session data is changed. Enabled by default.
    - w4 t1 h  w) A& X* }/ N
  1550. ; http://php.net/session.lazy-write, u0 H# D) n) J1 l0 I  Y0 E
  1551. ;session.lazy_write = On; D& h* T0 I' E+ q- a) {0 A
  1552. $ L6 B" Q( w7 E0 C4 }
  1553. [Assertion], V3 H% j. J7 a. h7 E2 e7 P8 @" w
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)" \( K/ g( D8 C7 \% E+ |  A: L
  1555. ; -1: Do not compile at all
    & ~$ F, V. w# Y' `& X* f- |# \' J, @
  1556. ;  0: Jump over assertion at run-time
      u# i  A6 a6 u( |
  1557. ;  1: Execute assertions7 ]$ O& y7 p, I
  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)  w$ E  i7 k2 b' Z  {3 K3 r
  1559. ; Default Value: 1$ }8 u9 I. [, c$ N8 Y' T" F
  1560. ; Development Value: 1) I5 n/ M; u8 N# G
  1561. ; Production Value: -1
    & x3 |4 }7 p6 H2 v0 t
  1562. ; http://php.net/zend.assertions
    * Z5 j5 X' N0 {6 ^
  1563. zend.assertions = -1
    & \5 S+ H/ T9 W  B# O& \
  1564.   P$ J+ Q* n0 {
  1565. ; Assert(expr); active by default.
    , Q# j6 @* c  K9 m- |! B
  1566. ; http://php.net/assert.active9 X6 B+ y1 ?2 m# Z
  1567. ;assert.active = On
    ( F3 \# j+ P# H, D8 H+ z

  1568. & B$ e3 W* |. v# D  W
  1569. ; Throw an AssertationException on failed assertions
    & Q7 ?* {. d2 x% \7 a. z
  1570. ; http://php.net/assert.exception
    . M) d8 W, x% I, |; {/ H# d
  1571. ;assert.exception = On! C# e3 i: f2 A0 w' {

  1572. 8 `+ q/ w' ?8 q# Q/ O! R3 m
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    2 @, D, z$ o% m4 Z
  1574. ; http://php.net/assert.warning  s! D! _# E8 x: i+ z5 H
  1575. ;assert.warning = On9 G0 q" S! J4 F2 J0 m: t
  1576. ; `. [" F' m) J* W9 {
  1577. ; Don't bail out by default.
    - b8 |" X' O$ n8 @& e3 T  t2 F. b
  1578. ; http://php.net/assert.bail. _! H6 J* B3 r! q  J
  1579. ;assert.bail = Off( g7 |2 G- t/ F  d# x

  1580. # c  W- A  L. m/ Z6 q) }
  1581. ; User-function to be called if an assertion fails.
    * G% C: g' Z8 o" Y: N
  1582. ; http://php.net/assert.callback0 {% f7 p. Q% s3 k
  1583. ;assert.callback = 0/ B  g& g2 S8 `* y

  1584. / M: s; j' A8 K; y: D( j5 ^. q
  1585. ; Eval the expression with current error_reporting().  Set to true if you want$ |9 q0 e" P" {
  1586. ; error_reporting(0) around the eval()., Q3 U: Q$ V) X
  1587. ; http://php.net/assert.quiet-eval
    8 Y# s; x9 \" w& p; D6 r5 m
  1588. ;assert.quiet_eval = 03 M' r, t5 ?3 _& v0 n; g* N

  1589. ; R: b) S4 i  K) Q5 G+ i9 O$ A
  1590. [COM]9 _% o9 i- _* D# j; u
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    8 R: F/ W$ B. S$ b6 O3 c- N
  1592. ; http://php.net/com.typelib-file
    " J) @: P7 \& A9 J6 s' r1 p
  1593. ;com.typelib_file =/ t" p+ n1 M1 c

  1594. 2 `  z9 P! W: L- _
  1595. ; allow Distributed-COM calls
    4 W% _8 O  Z- Y' y- Z( e1 K8 j$ ^
  1596. ; http://php.net/com.allow-dcom
    3 u1 o- x  ~5 e# d8 E* q* ^5 ?: ^
  1597. ;com.allow_dcom = true5 L4 _$ a( l- X( G* Q
  1598. ) k& S. i: X( h: r7 u% k
  1599. ; autoregister constants of a components typlib on com_load()
    - Q* q  l0 q0 c9 J8 @
  1600. ; http://php.net/com.autoregister-typelib
    * W& F* k8 `; [* o
  1601. ;com.autoregister_typelib = true
    ) E0 b* o# B/ \+ J! P& q7 X& g

  1602. 1 X5 v1 ?; X7 B3 ~& u& {
  1603. ; register constants casesensitive' {/ _/ c* o7 a, ]
  1604. ; http://php.net/com.autoregister-casesensitive
    $ z2 p! k8 C; I0 {: ^  f% N
  1605. ;com.autoregister_casesensitive = false, k; H. s5 S3 V# V9 ]2 U
  1606. . Y% ~. ]7 `2 g4 [6 Q
  1607. ; show warnings on duplicate constant registrations4 W4 b% v8 q+ g+ ~1 j4 V+ K+ C
  1608. ; http://php.net/com.autoregister-verbose3 v; ^  i4 F* Z! ~1 e
  1609. ;com.autoregister_verbose = true7 Y9 `& c0 L# \4 `* |
  1610. # ^) Z3 z$ B/ ]8 }
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    ( p" t# a3 P, V4 e4 d
  1612. ; Default: system ANSI code page
    6 {$ y& S- L0 _# ]* |( @7 t- p4 M7 K
  1613. ;com.code_page=
    7 p5 K$ f! n% \' p) |( D

  1614. 6 }+ |) Y" U# y1 r# d; v8 c
  1615. [mbstring]
    5 A. z7 v5 Y0 ~: ]: {! k; M1 C6 t! C9 F
  1616. ; language for internal character representation.9 J4 ?: f8 b2 Y# ^  l$ c" x9 O
  1617. ; This affects mb_send_mail() and mbstring.detect_order.& _- j5 y8 j7 u! _
  1618. ; http://php.net/mbstring.language
    / ^7 ?! A1 ]8 w8 ~# `( F2 ?; V" v
  1619. ;mbstring.language = Japanese
    & @$ D2 ^* o) d7 ^0 i" U. ?
  1620. , L% Q+ a% r# f9 u$ d. R, A' q4 L  \
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    5 H& N* u/ N& `1 m. _; a2 i
  1622. ; internal/script encoding.7 O+ F3 I- x& l( o" F7 K7 q; X
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*): p2 H) H0 ^; O1 M8 I, e
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    8 [  H9 d% f) @6 m; v$ t
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding% f, ^- Q& e  a
  1626. ;mbstring.internal_encoding =
    $ i+ i: p- A9 Y; j7 E
  1627. ( V7 a1 s( o5 ]) T; }1 q9 t) i
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.5 O6 \8 g. p" V" r4 w1 W& T
  1629. ; http input encoding.; ~: |$ W) U3 p$ q" d) x7 l
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.5 O% ?0 W) J( |$ O) A8 I; V+ P) s
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    $ r) c8 E' s: w- `" s
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    6 \! r( ~3 o9 O
  1633. ; http://php.net/mbstring.http-input
    * c; v+ v0 b/ T1 C* y, p
  1634. ;mbstring.http_input =  L( b8 \: M7 W  V- ]) a
  1635. 7 Z) V1 x; g3 Q+ M5 n8 q3 G8 X
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.9 K+ d4 w7 y* b% S
  1637. ; http output encoding.- `4 a0 _; y0 t* h4 p: T: t
  1638. ; mb_output_handler must be registered as output buffer to function.5 c! a5 |+ p$ v& m9 s: Y& @1 j. W% I
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.7 e+ u/ V3 Z$ m1 g  N7 b
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output" p) V6 X' ]+ w& B2 I) L+ ~2 s
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    9 n; g# y1 s/ A$ s
  1642. ; otherwise output encoding conversion cannot be performed.
    $ I4 t; V3 Y' A! e/ V* @1 p. P
  1643. ; http://php.net/mbstring.http-output  u- A$ M$ w' B; ~% @
  1644. ;mbstring.http_output =
    " k% V" h7 n- U+ Q! o8 ~
  1645. $ m3 w/ V% L. U
  1646. ; enable automatic encoding translation according to" w2 f6 l  v: Z1 U( B% u
  1647. ; mbstring.internal_encoding setting. Input chars are
    + s5 P& u! b- ]! r8 @
  1648. ; converted to internal encoding by setting this to On.  E: Z0 S  P& K' {$ }  C$ S4 L
  1649. ; Note: Do _not_ use automatic encoding translation for
    2 R' m; r! i3 ~
  1650. ;       portable libs/applications.
    . ~( u* B4 Y' D5 v/ W. v. m
  1651. ; http://php.net/mbstring.encoding-translation
    1 w3 C) O( c1 ]. M& Y* D' z
  1652. ;mbstring.encoding_translation = Off
    ; i. `4 z% w) Y% z

  1653. , J) e0 p2 l: }! V8 \! G7 u
  1654. ; automatic encoding detection order.
    ( [/ K) F7 M0 ~/ h
  1655. ; "auto" detect order is changed according to mbstring.language
    4 i% X5 F& x4 N
  1656. ; http://php.net/mbstring.detect-order
    : d" P0 \9 J  a# ?/ g7 D4 X# X$ c1 C
  1657. ;mbstring.detect_order = auto
    # w' z$ O) l) h4 F* W8 x

  1658. # v0 j% M0 I3 {! ]
  1659. ; substitute_character used when character cannot be converted0 b: ~  r- J( x8 P" `6 y3 \" ?& Y- [* v
  1660. ; one from another
    # L$ Q6 I8 G6 J7 ^) g5 R# k- q' _' e- o
  1661. ; http://php.net/mbstring.substitute-character
    ; B; c0 _; h& l4 C4 J/ H
  1662. ;mbstring.substitute_character = none
    3 g/ |/ w. {: d9 v/ X7 r5 `% V
  1663. - b# R- K$ T8 W1 L6 ]" C; V% f# P* X
  1664. ; overload(replace) single byte functions by mbstring functions.
    ; X- A5 k9 s% C) E* D7 O; p
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),, v9 t/ _, u0 [* j
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    * ^( k7 I" y2 S! z
  1667. ; For example, 7 for overload everything.
    " o; N' k; j9 ~* H6 D* r0 A. U3 R8 Z/ L
  1668. ; 0: No overload
    1 w; b$ [5 t: O6 }$ D4 F
  1669. ; 1: Overload mail() function2 x3 h( i" }9 P3 G
  1670. ; 2: Overload str*() functions9 M& }* n9 ~5 r: F
  1671. ; 4: Overload ereg*() functions9 s; e- l+ S$ G5 J, N0 Q
  1672. ; http://php.net/mbstring.func-overload
    % n" j9 N- `# y
  1673. ;mbstring.func_overload = 0' C* s, L" L7 n- g. }0 Z

  1674. 5 |2 B. n" v5 u/ ~8 w
  1675. ; enable strict encoding detection.7 G0 Q1 T* J- R9 Q3 v2 H
  1676. ; Default: Off
    6 D& P4 Z4 I- F0 \' x. p& O9 g  V: g
  1677. ;mbstring.strict_detection = On* h& {6 U1 T6 `; K
  1678. ; S5 g' D! T( k, X! N, i1 J- G. t
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()* r# V+ ^& Y- J  f
  1680. ; is activated.# c  D1 {0 t- ?; q
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml). j. Y( T& C8 R- M' {
  1682. ;mbstring.http_output_conv_mimetype=
    8 A7 j4 |& Z4 M7 M
  1683. 9 ]1 q! F5 x1 j- c  t& M) e2 T& }
  1684. [gd]7 y: I& v+ z9 J
  1685. ; Tell the jpeg decode to ignore warnings and try to create& U$ i: W  v% C# N# @/ w* H- N$ `
  1686. ; a gd image. The warning will then be displayed as notices; j% m# a0 {2 d4 K6 G3 s: e
  1687. ; disabled by default
    & \2 H9 r: ?9 J% q
  1688. ; http://php.net/gd.jpeg-ignore-warning7 c4 U- [( [" t2 l
  1689. ;gd.jpeg_ignore_warning = 0
    4 ]: h- ?- \) F1 a' l/ h- V- y. `
  1690. / \+ L# j9 n- ?! ?- v% j" i+ J
  1691. [exif]9 `0 C$ V" i! d; b& P
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.9 t; E; q: s, W
  1693. ; With mbstring support this will automatically be converted into the encoding' p6 O6 b6 d- N
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding6 k$ s0 k% p; r/ I
  1695. ; is used. For the decode settings you can distinguish between motorola and
    . D& [) P! E$ h# t2 v6 {+ k
  1696. ; intel byte order. A decode setting cannot be empty.3 J" e6 k! J& K$ y# j# }. P5 X
  1697. ; http://php.net/exif.encode-unicode
    1 \/ |& C+ m  [3 v. G! K4 v& X7 Y
  1698. ;exif.encode_unicode = ISO-8859-15- F7 g# G" \1 v* ?1 R& |

  1699. + O" J1 L' U" t( N: i1 h
  1700. ; http://php.net/exif.decode-unicode-motorola
      a6 Z) F* |) @% H) f8 S1 R- H$ |( y
  1701. ;exif.decode_unicode_motorola = UCS-2BE* x! }. ?4 d% R

  1702. , e6 s& r+ @% p
  1703. ; http://php.net/exif.decode-unicode-intel
    . A7 j% c0 [' \* z$ n
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    - j$ T9 N% |" o  J

  1705. ! v8 P8 O! i$ y
  1706. ; http://php.net/exif.encode-jis. K  I( M- z1 W& S
  1707. ;exif.encode_jis =
    + B" \9 N1 [) J' G7 f
  1708. 3 X# a1 a9 B5 }" i
  1709. ; http://php.net/exif.decode-jis-motorola7 l' ^* [9 \8 K
  1710. ;exif.decode_jis_motorola = JIS4 j: [3 O* U# [1 I8 G0 ^' K
  1711. 4 Y6 v* C5 \3 }, Q+ W( d9 ?
  1712. ; http://php.net/exif.decode-jis-intel! p) s( x7 p/ y% V+ u6 o' S1 g7 l
  1713. ;exif.decode_jis_intel    = JIS
    5 r6 ~( |0 Y; w& n# Z; Q

  1714. . q# D: O6 L0 ~, P( x5 e
  1715. [Tidy]
    7 v# v+ `* b% V6 b" r0 T* n4 x: |
  1716. ; The path to a default tidy configuration file to use when using tidy8 c7 z1 v, g( |7 U( i9 [
  1717. ; http://php.net/tidy.default-config) q( V7 {/ k1 A: S
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg( k, F& Z& }4 }' K8 l: Z

  1719. 8 G( W) o% v/ H) N
  1720. ; Should tidy clean and repair output automatically?
    * h0 p5 a8 K& B9 i& F
  1721. ; WARNING: Do not use this option if you are generating non-html content
    ; |3 |, V9 _' |$ P
  1722. ; such as dynamic images
    0 i! F2 @% p" q; _4 b3 f
  1723. ; http://php.net/tidy.clean-output
    4 H) D" H+ q' G* [
  1724. tidy.clean_output = Off, L& f4 G! i4 M0 w
  1725. 8 u$ z/ z. o3 t5 F
  1726. [soap]
    + X9 k' }. t3 W4 X+ C9 F
  1727. ; Enables or disables WSDL caching feature.
    . a/ j+ a: z/ F% I, L( G5 ]
  1728. ; http://php.net/soap.wsdl-cache-enabled4 l0 K1 `# B; u, R
  1729. soap.wsdl_cache_enabled=1
    ( E3 I4 l+ Q4 [, T" x

  1730. % z  D+ \$ }9 m% S# Y- E  g+ ^
  1731. ; Sets the directory name where SOAP extension will put cache files.2 G5 J* `- M5 x/ |/ h
  1732. ; http://php.net/soap.wsdl-cache-dir
    * m1 t/ g! S* j& K9 j
  1733. soap.wsdl_cache_dir="/tmp"
    8 W0 r. ]2 z7 ], K. d
  1734. ' K" }. F  C5 a
  1735. ; (time to live) Sets the number of second while cached file will be used
    : z( L3 a" t0 _- i% I
  1736. ; instead of original one.* H+ _* c! d, M) f% Q8 P
  1737. ; http://php.net/soap.wsdl-cache-ttl
      Q# V- ?9 y0 B5 o
  1738. soap.wsdl_cache_ttl=86400
      ~' s2 g7 C8 B" F7 G! L$ c. K4 D
  1739. " O: L3 w8 n0 j! q- p0 d  D: S
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ( c( Z& M' O; \6 j) x
  1741. soap.wsdl_cache_limit = 5
    4 w2 V; y* U& x, [" M

  1742. , m( s# E. B7 s9 m! e  m" V( ?
  1743. [sysvshm]) M7 z. o& V" {. q9 s
  1744. ; A default size of the shared memory segment
    " q/ v: }! d7 G# f9 l' S1 w
  1745. ;sysvshm.init_mem = 100000 O1 \, x, t+ O) ~
  1746. # F+ a3 {- r" S* b6 {) V
  1747. [ldap]
    & u! |; x* G5 d; ^1 E
  1748. ; Sets the maximum number of open links or -1 for unlimited.& f1 ]1 {% \# D/ I8 \. A
  1749. ldap.max_links = -1
    7 k" C& l4 E8 Z. s$ l
  1750. ( @7 V1 B/ a) B) z! A
  1751. [mcrypt]
    . m, k, V4 T7 A/ v# X. ?
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open+ F' r* \/ Q$ x/ h
  1753. % t5 F2 i8 S- w
  1754. ; Directory where to load mcrypt algorithms# \" A- q8 ^5 W! X% |6 D
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ) T8 n  k1 v0 d( O6 u8 ?" T
  1756. ;mcrypt.algorithms_dir=- S2 ?! [5 W( R  i. W
  1757. . K* e! c; {7 S/ N+ ^  {" j3 w$ Q
  1758. ; Directory where to load mcrypt modes* k, R, Z& p# |
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    8 ~9 l5 L- g8 t
  1760. ;mcrypt.modes_dir=: p' g! Z& a0 H3 B9 I, C5 R9 h
  1761.   V) G1 _3 s. g& {
  1762. [dba]
    " A0 L  ]) a2 x4 m
  1763. ;dba.default_handler=
    $ S7 A9 `' o& r5 }# `, E% x

  1764. # W3 g. w) b  T0 k. v9 ~0 z
  1765. [opcache]; R3 N! h: E1 }/ n7 x2 k
  1766. ; Determines if Zend OPCache is enabled
    ; q6 `' S, b" m7 X
  1767. ;opcache.enable=0
    - |8 Q( k; ^! D1 B0 B# i  n
  1768. + J. o- k, W+ z# a: l  K3 o* ?
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    * I, m, a* K1 d5 S" ^
  1770. ;opcache.enable_cli=0. H2 \; ^! S* A/ O, g

  1771. * V% i6 ^4 M* {" D/ P& z. D# O
  1772. ; The OPcache shared memory storage size.
    / `7 Y4 h: j5 x8 S1 u& ?/ d' X! ^
  1773. ;opcache.memory_consumption=64: |; c' i; \  \
  1774. # p$ t- z: x; n8 V# r! T5 Y8 ?
  1775. ; The amount of memory for interned strings in Mbytes.7 W! c1 B4 ^7 a, N
  1776. ;opcache.interned_strings_buffer=4
      m0 P" O0 S% ?7 b/ s/ n
  1777. 6 E+ ~+ i: M8 |' X
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    ; Q0 U# X6 u% o# f1 p- b
  1779. ; Only numbers between 200 and 1000000 are allowed.0 ]- J7 q; E7 L' L9 m' y
  1780. ;opcache.max_accelerated_files=2000, X2 i' }( i2 d6 ]# c& ~
  1781. 7 X0 s/ o+ ~" w+ U4 e7 X% n
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.( \$ \% a3 x( c( u8 a" r
  1783. ;opcache.max_wasted_percentage=5, d2 P+ t7 X# F4 {

  1784. : U% O; {& a. \2 k/ G$ p) ^
  1785. ; When this directive is enabled, the OPcache appends the current working
    9 T% n5 j! I+ B4 |* s4 I; G
  1786. ; directory to the script key, thus eliminating possible collisions between, \4 z: H, O# q8 m5 v
  1787. ; files with the same name (basename). Disabling the directive improves
    2 {- d0 ]5 ~2 ]  S, M' w! r
  1788. ; performance, but may break existing applications.1 X  I- m' U  k
  1789. ;opcache.use_cwd=1
    ' o9 @& V3 ?" L6 {; `
  1790. ' a0 X9 q6 O8 ~" A. V4 x" z
  1791. ; When disabled, you must reset the OPcache manually or restart the
    ! ]% L# O" a* W2 b/ k% v$ h: ?
  1792. ; webserver for changes to the filesystem to take effect.8 m) ~) {) u, }- `. T9 X' N) G
  1793. ;opcache.validate_timestamps=1: g$ [- N+ f" j7 p

  1794. + r7 n# d9 {* S( ]0 U
  1795. ; How often (in seconds) to check file timestamps for changes to the shared& k0 M# q6 @9 Q0 n
  1796. ; memory storage allocation. ("1" means validate once per second, but only* \* z; i3 l6 U) t. L3 N
  1797. ; once per request. "0" means always validate). [% [5 s: k& s% [5 n5 k% T/ g5 K
  1798. ;opcache.revalidate_freq=2! ^, ]! r, i- j: O* V7 a9 t! f

  1799. ( B, f+ D  k0 x) T) u7 x' \( p+ F- H
  1800. ; Enables or disables file search in include_path optimization+ o) F" N" {( c( J
  1801. ;opcache.revalidate_path=07 h( |2 v' m' ^% S# h# D7 p
  1802. : p  F" \2 K& Z
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the" _, |6 u% t0 a5 q; g
  1804. ; size of the optimized code.
    & O6 \! ?  A2 O# J  y0 t
  1805. ;opcache.save_comments=1
    , F, E4 w0 M' Z1 P
  1806. 9 K* b6 @- t/ I' W
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    . i# `1 R3 z: Z3 s, h4 D* V2 g) e
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    6 K: s0 K# D7 L. \3 D
  1809. ;opcache.fast_shutdown=0
      p# Z% [8 n' _$ Q+ x' d. m' D$ j% u

  1810. 4 o! Y) G- i! u+ q3 V7 e) {
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    - A0 |6 J' g' Y8 Y$ U7 N
  1812. ;opcache.enable_file_override=0% `; y/ W& ?: K# B9 O  l
  1813. . V+ Y; R3 J1 L: n3 S
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    7 b) }% n5 d' q* `% d. F
  1815. ; passes$ A! }4 y4 e3 ]% C2 \
  1816. ;opcache.optimization_level=0xffffffff) G5 }0 }6 `! i

  1817. " G2 g9 B" L3 y5 n
  1818. ;opcache.inherited_hack=14 d) W9 m; S3 I) u
  1819. ;opcache.dups_fix=07 @/ J/ M# d* S% J/ f& U; Z) z3 O
  1820. 4 z2 o6 d/ k' }: `1 T- ]
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    - n, \  O7 a$ }3 |4 n
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    ( p% C6 B% m, P8 F( ]* L$ ]
  1823. ; that should not be accelerated. The file format is to add each filename- J8 j3 J. |" u
  1824. ; to a new line. The filename may be a full path or just a file prefix
    $ I8 V) s6 Z" c, v7 Y, C5 D4 n
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    8 @+ K  H( T9 u$ F) A; b. \
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).. E* j4 G0 u) d2 F; d
  1827. ;opcache.blacklist_filename=) b7 L& G3 M9 S8 C4 Z3 t+ n
  1828. . o. ^, e6 E" _5 r9 x, x. C  O2 V' U* X
  1829. ; Allows exclusion of large files from being cached. By default all files+ k1 `9 Q0 w1 u) y2 U- ?8 |( @
  1830. ; are cached.& m: b5 ^2 k4 J! @& ?
  1831. ;opcache.max_file_size=0
    " @+ v  I  R! M' }1 \" v2 @
  1832. 3 z/ |% m: ]1 I* I5 ^$ T3 D: c4 i
  1833. ; Check the cache checksum each N requests." r3 h6 y3 h! v  i. n
  1834. ; The default value of "0" means that the checks are disabled.
    / A2 l/ `6 |1 p' G
  1835. ;opcache.consistency_checks=0; _  u6 \7 D- Y  J! M1 ~
  1836. ; t  p7 H% o/ z; P
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    8 M# V$ u: V& \% D8 `0 _/ c( t
  1838. ; is not being accessed.
    , z+ h- c3 N* @3 e  s$ O+ g
  1839. ;opcache.force_restart_timeout=180! w1 X1 d9 @2 B6 `+ e/ p, j& p9 H3 n3 l

  1840. , Z$ M3 b' B6 l# k1 [
  1841. ; OPcache error_log file name. Empty string assumes "stderr".' M0 C) U1 G3 w" _
  1842. ;opcache.error_log=  K' b  ]) U; H* Y. O4 [3 x* ?

  1843.   o$ m( ], V) b  J* g1 v
  1844. ; All OPcache errors go to the Web server log.+ l1 }9 W, c/ t% ~( V" L) p! |
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    - F& U  d& a5 n# F- t+ i# V
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    ' G+ I2 Z% `' ~" p
  1847. ; debug messages (level 4).4 b, K5 H- y( b- M, h
  1848. ;opcache.log_verbosity_level=17 N0 M  G& l; M4 S' E! V( J/ H
  1849. ( S0 c, x4 v$ O0 B' p, h8 W# t
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    7 F3 b0 _2 ^* A. S3 w! [
  1851. ;opcache.preferred_memory_model=
    6 D/ P7 I  o8 X. C' v: b* A

  1852. 3 h% J- h- M$ S; d* C
  1853. ; Protect the shared memory from unexpected writing during script execution.3 ~9 M* Y" x# Y. y3 p" Y7 _" `
  1854. ; Useful for internal debugging only.
    * B4 q0 C( F4 B/ H: D! Y) b
  1855. ;opcache.protect_memory=0$ ~! e4 F" V" a/ {' W$ x; X

  1856. - o3 n5 t* \+ X% _( p0 T
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is& U: w6 f; K9 G% j, Z! C
  1858. ; started from specified string. The default "" means no restriction
    / t2 b4 C6 |8 p' _
  1859. ;opcache.restrict_api=
    3 [  I3 K4 T* l) X2 Q& w. c

  1860. ; `1 s3 a: U4 H- K3 k; ^' z  y& ?4 a! x
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP6 X5 O' l2 b) k1 ~4 D: s, W, |8 M
  1862. ; processes have to map shared memory into the same address space. This
    & i5 E' F) j5 H% D' g# @' J8 N
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    , @  M- m6 H& ?+ E1 _1 n$ k
  1864. ; errors.
    " D" I5 s9 P+ p! \
  1865. ;opcache.mmap_base=
    % h6 n* V" M1 W9 [

  1866. - I% l( a- w0 l' K1 h! @2 q
  1867. ; Enables and sets the second level cache directory., p$ ]9 x: S8 h2 X9 e
  1868. ; It should improve performance when SHM memory is full, at server restart or8 q8 B) l* ~2 d0 l" \3 M5 H" v
  1869. ; SHM reset. The default "" disables file based caching.
    6 ?( r/ H8 F& D3 M5 h
  1870. ;opcache.file_cache=
    + w' F+ W4 F9 W' g2 l  X# P* ^
  1871. 1 G) }  l, b; Y- M2 Q4 b
  1872. ; Enables or disables opcode caching in shared memory.+ Q& p! U- \  }+ Z! N! U8 l/ O8 h
  1873. ;opcache.file_cache_only=0
    / W0 @8 @$ ]  }% O" S

  1874. # M8 `. W6 @) X/ [* d
  1875. ; Enables or disables checksum validation when script loaded from file cache.& s, D" F6 B' |& x+ \* V
  1876. ;opcache.file_cache_consistency_checks=17 |6 N6 q3 n4 Z* |! @
  1877. 1 D4 n5 d2 k3 b! R' ]3 e9 \
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    4 {3 N' K. W7 ^5 \
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file, X2 Q8 ?3 p* o" [; j
  1880. ; cache is required.
    * M' `2 W: L7 n2 E+ _2 f* [
  1881. ;opcache.file_cache_fallback=1
    $ q: `( C; S( w1 c8 x
  1882. 7 s9 n* v  \5 N0 c
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.2 p/ {) K" F. k6 U. n& L- i- q; T
  1884. ; This should improve performance, but requires appropriate OS configuration.
    0 U# j+ @+ |+ b/ v+ A
  1885. ;opcache.huge_code_pages=1; |/ ]7 S! v) I, @4 C" L) G

  1886. # k: j, }2 F" x( j5 }
  1887. ; Validate cached file permissions.
    ; [. [' H2 u! ~; e) ?2 j( i
  1888. ; opcache.validate_permission=0
    8 O* w- X7 R6 f) M5 N, `% }

  1889. ' x9 ^: Q# n8 C2 @" `4 O
  1890. ; Prevent name collisions in chroot'ed environment.; q/ Z6 u4 W5 o# Z
  1891. ; opcache.validate_root=0: \. N! \% r- w4 @8 ]9 m; a
  1892.   g! E. _, B2 ]/ H$ k" E. M
  1893. [curl]. z  ~. R( V9 a8 g. g* y/ ]$ ]. h
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    0 M* a- ]% J9 \3 c$ I. e
  1895. ; absolute path.
    # k3 b$ `1 p" f* r. T4 p
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt8 |0 A8 P6 b. f; b7 r" a

  1897. / Q" J, z% @' L9 Q, \) ^- Q6 h
  1898. [openssl]7 p, g# e  S# C* c8 r
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem8 u" S& t8 [. `
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should5 L5 V6 f. d/ S% M2 D
  1901. ; not specify a value for this directive as PHP will attempt to use the
    - E" U" ^; I, U# N  R
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    0 @6 K7 Y4 ^( {. @
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    3 ?0 c; u' {+ `2 Z% G
  1904. ; option.
    1 f- [+ a- C9 P- D3 y/ R" W2 S* o! u$ q
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ; \% u# ?5 K' I! i! E+ m; P
  1906.   m$ p, g; O2 E
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    , f7 G# d& N1 [8 R  ]
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    & x  n( ^& r' T5 ]
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    % ]9 P; s, `5 v8 t! Q
  1910. ; Most users should not specify a value for this directive as PHP will
    3 X/ f. I0 R* m/ q4 m) ^# C1 Z2 @
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ' S! R# _1 j3 k
  1912. ; this value may still be overridden on a per-stream basis via the "capath") W2 l9 |( q3 D4 v0 I1 x/ h  f
  1913. ; SSL stream context option.4 f8 e2 }! L$ y7 b
  1914. ;openssl.capath=
    + ]. A. Y- r: ~/ q! e( x; F5 \9 n% O
  1915. 8 Y6 }8 [* S0 t9 o( X" p
  1916. ; Local Variables:  H1 Y0 R- @5 A( I. m. q
  1917. ; tab-width: 4
    ; Y# J' Z$ I" O; L% T
  1918. ; End:
    8 j( J2 F" j0 L* t( C/ P

  1919. 5 q$ D+ |9 V4 _2 ^+ k
  1920. ;eaccelerator$ @1 F. V* W% p  G" d7 E

  1921. 7 ~2 X7 c7 t5 G/ }
  1922. ;ionCube
    ! z9 m3 \& Q5 i0 w/ [
  1923. 7 I4 u: e) x$ h' Y) `9 c
  1924. ;opcache
    - Q% f- }) K/ U- r, T) x

  1925. : `+ X6 B9 R* ~) {: w0 A
  1926. [Zend ZendGuard Loader]
    / z& C1 k8 m4 \" o
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    , }; ^; k: r* W9 m0 n' a6 ^
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so7 r% \! `2 B: p7 O7 B2 l. u/ k
  1929. ;zend_loader.enable=1; C9 X) Z6 _# b5 _2 x  `
  1930. ;zend_loader.disable_licensing=0
    ( B) m3 O1 h# W) l2 u1 Z
  1931. ;zend_loader.obfuscation_level_support=3
    4 R* M3 Q9 |0 \' [/ b
  1932. ;zend_loader.license_path=
    + M' a* E2 |1 t, F6 [" G* s0 X
  1933. 8 h, [! x1 N) O' f& R  e4 @8 o
  1934. ;xcache$ a9 S! ]' G7 x/ a6 e
  1935. ' `( {( F; b4 U/ Y
复制代码
& z9 H0 U: [; p0 Z; P

: m7 W/ t7 I1 n# t2 f5 s; \3 q2 X7 e2 D; A* `7 D; c+ K! J8 m

" w' I1 Q& e5 n0 D( p: _3 W/ T! s- ^- S

6 O+ E9 y1 a+ s7 b1 h1 R2 R9 r% V- ]7 f0 e
PHP5.6版本原始设置
3 v8 I4 m: J# }2 G3 ~9 D/ N& V, ~% K+ [& M; n
  1. [PHP]
    1 X, v% K# p  r( I6 w
  2. 5 K. ?& K5 G6 F" F8 f* f# l
  3. ;;;;;;;;;;;;;;;;;;;
    2 S! ]8 T% ~/ a2 g
  4. ; About php.ini   ;
    7 U+ R) D& M; t" a7 r6 T1 m
  5. ;;;;;;;;;;;;;;;;;;;8 Z& f" a$ @6 {3 i  R
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    # q! P) x, _! q1 N# M! U6 L# B, Y
  7. ; configuring many of the aspects of PHP's behavior.: s- I% B7 `) v" E, h! S

  8. ! K; }4 u9 S1 N" A5 N# @. b8 @  g
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ( o; ?5 A* ]1 F) b5 r# o3 Y
  10. ; The following is a summary of its search order:
    5 i0 C7 G" G6 f* ~! F' Q. F
  11. ; 1. SAPI module specific location.
    ( ^& Q0 \+ H9 o
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)1 b# H" o/ e3 b# U
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)) r3 {' d8 \' M( J
  14. ; 4. Current working directory (except CLI)! ?. y6 V5 W- Q6 V( \: O
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP  u9 f: V% A* v4 l9 M2 Q
  16. ; (otherwise in Windows)& X" ^' i3 w5 e+ }% d& ?
  17. ; 6. The directory from the --with-config-file-path compile time option, or the' e1 P5 _5 Y$ j& j; c
  18. ; Windows directory (C:\windows or C:\winnt)' H: r3 ?' W0 n5 K# M
  19. ; See the PHP docs for more specific information.
    4 U3 C3 B, J7 \/ E! {
  20. ; http://php.net/configuration.file4 b) n7 ^$ ?. Y4 N2 }
  21. ) _- ?# x/ t/ `, m" H6 N
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    3 s' z4 a) z6 @
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ' Y5 E8 ^1 D# p% _% t& B
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ) Y+ K8 ?# }) i
  25. ; they might mean something in the future.- h) Y, x& k7 j" R

  26. % v3 p' V0 F% U
  27. ; Directives following the section heading [PATH=/www/mysite] only3 d& D; }: J+ R' Z
  28. ; apply to PHP files in the /www/mysite directory.  Directives  e1 ~( T# `  s0 D0 o4 k
  29. ; following the section heading [HOST=www.example.com] only apply to6 h* a& F, t+ H7 E* z
  30. ; PHP files served from www.example.com.  Directives set in these# l0 Q% D0 `0 i0 Q
  31. ; special sections cannot be overridden by user-defined INI files or
    8 n5 f: V/ Z8 ~; p0 k0 m
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under2 D1 p) Q& T0 C3 |. b
  33. ; CGI/FastCGI.& i  G% Q. U; V' q3 b9 {( i3 k. ^: B
  34. ; http://php.net/ini.sections
    2 N) `8 L! ?. E, O; L

  35. 5 l/ ?/ p) T2 ^/ G) L9 m
  36. ; Directives are specified using the following syntax:0 }4 G; n4 a  c
  37. ; directive = value% P; Y( p# h3 ~
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    . ~% ^3 P+ A# w
  39. ; Directives are variables used to configure PHP or PHP extensions.
    4 R% [) s' c0 i$ j2 K! [
  40. ; There is no name validation.  If PHP can't find an expected
    ' g5 W6 K3 @- U" Q; e
  41. ; directive because it is not set or is mistyped, a default value will be used.
    & S- o; M4 P1 t1 t0 m
  42. * q7 n1 K4 M! j' s/ d  v/ U
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    - G7 D4 T9 R- m/ w1 C( y
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    3 d8 _$ o4 ]* z& x6 V
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a& i2 o; W& U. ^' C
  46. ; previously set variable or directive (e.g. ${foo})( {4 Q* ?) \: s8 X1 |4 L1 G

  47. . T5 r* m6 q1 l% f9 t
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    7 n& Y  ~' X# C& `" I5 e4 n0 L0 K
  49. ; |  bitwise OR
    + a) B( a% m& M0 W
  50. ; ^  bitwise XOR
    ) F" B7 \' L0 x4 `/ @; `8 ]
  51. ; &  bitwise AND" P( H* v& }- I+ a# U6 |
  52. ; ~  bitwise NOT
    ( ?2 G- L& d1 o# f
  53. ; !  boolean NOT
      M/ A* `0 y9 Z" E
  54. # [+ ^% c2 g; A5 G0 @& W( y3 a
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.& `! s; Z; F. X
  56. ; They can be turned off using the values 0, Off, False or No.
    . ~8 J8 N$ s+ K# b6 M0 T' f

  57. 2 Z2 r- F# Y' r8 F
  58. ; An empty string can be denoted by simply not writing anything after the equal( i8 L5 s* y  W& r
  59. ; sign, or by using the None keyword:
    7 |0 c9 Q) h9 {7 l8 y; b
  60. 7 G+ G% M" F* E# u% u# x
  61. ;  foo =         ; sets foo to an empty string
    0 B) Z( @! r0 e; ~
  62. ;  foo = None    ; sets foo to an empty string
    9 E% u! F/ k" B3 z6 ]$ m
  63. ;  foo = "None"  ; sets foo to the string 'None'+ ]( _1 {8 ^9 O. L
  64. 3 Q: D' b1 z; R4 `. n( K5 Y
  65. ; If you use constants in your value, and these constants belong to a
    , D) w' `2 h. s6 Y7 N8 R% @0 C
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),# Y# J0 @% x4 D3 N4 c4 F
  67. ; you may only use these constants *after* the line that loads the extension.2 r; Y# s9 `! N) f$ d9 `2 I" E
  68. ' R0 c: G0 g; Z- e$ U% o8 K
  69. ;;;;;;;;;;;;;;;;;;;' ~9 A8 K$ @; T1 u
  70. ; About this file ;  i7 x! H% D0 m
  71. ;;;;;;;;;;;;;;;;;;;
    8 P8 Y8 B4 J  O6 Q' {
  72. ; PHP comes packaged with two INI files. One that is recommended to be used/ W% i" f; _/ {6 c7 E1 R
  73. ; in production environments and one that is recommended to be used in
    - w! `" q1 \8 A
  74. ; development environments.  R; M. h* P; m8 H6 m

  75. ! Z6 T5 `3 o. \8 a/ a" X" l
  76. ; php.ini-production contains settings which hold security, performance and
    1 p: T( o  X; z. f9 I6 l; s5 m" }" ~
  77. ; best practices at its core. But please be aware, these settings may break) m# C4 w2 t% @, A, e. ~
  78. ; compatibility with older or less security conscience applications. We
    $ h' E. f; {; {5 S/ T9 T
  79. ; recommending using the production ini in production and testing environments.
    6 b4 R5 P: E! u2 l6 w  Y% A' W  H

  80. " j, R, p4 m) j% u( _# d) A
  81. ; php.ini-development is very similar to its production variant, except it is3 e4 L& S. K( e+ I, U7 B" b
  82. ; much more verbose when it comes to errors. We recommend using the' b2 V/ f' V6 W' g, _
  83. ; development version only in development environments, as errors shown to
    + B+ A5 H$ a5 I0 q9 m+ v9 Q% Y+ k% C
  84. ; application users can inadvertently leak otherwise secure information.
    4 ?4 r3 M2 N8 U3 Q) P6 H0 j8 I
  85. " p! T* t+ j0 \" d' g0 b. }
  86. ; This is php.ini-production INI file.
    4 F* o/ Q7 g5 G: g! \: l8 f& ~

  87. + L1 L5 U7 [7 ^% j* I3 v
  88. ;;;;;;;;;;;;;;;;;;;
    & p/ p4 M1 w% t3 T( g% N* Z
  89. ; Quick Reference ;
    ! X+ E0 w4 ?* }" w8 D
  90. ;;;;;;;;;;;;;;;;;;;9 ~# R/ ?1 h6 ^. K# r! E' n
  91. ; The following are all the settings which are different in either the production" p3 p: {8 f% \" P
  92. ; or development versions of the INIs with respect to PHP's default behavior.2 j9 U6 o. h/ \0 N
  93. ; Please see the actual settings later in the document for more details as to why
    $ r& f9 |. g' ~1 X
  94. ; we recommend these changes in PHP's behavior.
    ' J* p. K# m: x' k! y3 T2 P) Q) M

  95. & ^4 J0 S+ m. I% f
  96. ; display_errors
    ) V/ D! w, p* h7 W/ U* {. B
  97. ;   Default Value: On0 Y" t7 N5 e! c7 f) B" F7 c
  98. ;   Development Value: On5 Y0 L. |; i, f, o4 D1 J/ q& U
  99. ;   Production Value: Off
    / n. p% d- J: b
  100. & S& g8 ^  m- y- E. [! N) `. v. H
  101. ; display_startup_errors
    4 e' J0 Z; ~8 H% m( R2 H
  102. ;   Default Value: Off' N; \$ V+ ], {+ z
  103. ;   Development Value: On( E/ t6 \5 z6 B" l
  104. ;   Production Value: Off2 K  o' _% Y) v* q) }# t
  105. $ |! V2 z0 w7 I$ C0 V/ M
  106. ; error_reporting& M5 f1 n% x( K3 F: b1 V
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED7 g& v1 \9 ~4 s7 s
  108. ;   Development Value: E_ALL
    ! v$ x  t* q$ ]& A: d' A
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    " A  C1 k2 p, N8 W( p$ w# o
  110. 1 T, r/ L3 s  b: X: B6 m% V
  111. ; html_errors
    ( m8 y* l5 g5 B( J. U: `
  112. ;   Default Value: On5 T, N. {. [2 c" V
  113. ;   Development Value: On1 [% [9 [, F+ I5 C  v
  114. ;   Production value: On$ F  G9 @, f! i
  115. " N" }2 N. E3 N: W' W1 B) E3 q
  116. ; log_errors6 p1 n2 i# |1 N1 N
  117. ;   Default Value: Off
    ! o" a' e& C6 t
  118. ;   Development Value: On4 B0 U2 Z3 G1 I8 a* E
  119. ;   Production Value: On& I( @+ ]. o6 W' i4 O$ u9 u' F4 y

  120. 9 Q7 H2 L8 h% z' _% V
  121. ; max_input_time
    2 E) N; R0 ]5 e2 ^3 X+ _
  122. ;   Default Value: -1 (Unlimited)
    ! k, n6 x- U" @( i4 e* V  \" f
  123. ;   Development Value: 60 (60 seconds)9 Z- ?, |. o/ t
  124. ;   Production Value: 60 (60 seconds)6 d5 W5 t9 N' V' f

  125.   [$ K! W- P% [- [2 ], v
  126. ; output_buffering/ ~  l6 S8 h' F8 A  \3 V
  127. ;   Default Value: Off
    4 X0 |! S" M+ n5 r
  128. ;   Development Value: 4096
    / @* T3 Q* E9 `4 N; s% I
  129. ;   Production Value: 4096$ X/ v6 {- z) e! l3 w6 w  Y

  130. . Q8 G6 L' s; E2 V% L. W) L3 Y
  131. ; register_argc_argv, ], G5 K. u5 H
  132. ;   Default Value: On
    ; P7 U# }# g1 Q  K# m% g
  133. ;   Development Value: Off) C7 J- d5 _0 K8 h
  134. ;   Production Value: Off  N3 G( K! l/ t/ A0 L) y) w

  135. % n0 m% I$ l4 K1 t. P& Z  V" C
  136. ; request_order, y! W8 E) V! n$ o3 N9 N* |5 j
  137. ;   Default Value: None4 P- T+ V' p' s! F
  138. ;   Development Value: "GP"0 r% r& p" ]6 M
  139. ;   Production Value: "GP"
    & z& o# X, c/ d

  140. 4 K( o1 |( Z8 V/ l
  141. ; session.gc_divisor
    0 L+ G- q' B4 E  V
  142. ;   Default Value: 100
    ) Z8 ]6 i' t5 B
  143. ;   Development Value: 10002 S3 G9 p, l  H8 a! B
  144. ;   Production Value: 1000
    ! w/ X" @* y+ a* N2 W; t
  145. : D. |! w4 l( F& F8 I# V
  146. ; session.hash_bits_per_character. n. P9 a0 |2 @7 P
  147. ;   Default Value: 45 q' n3 m& P6 d0 x( T1 p' w* p
  148. ;   Development Value: 5% h+ q5 M+ p. H% a; w# |8 l0 i
  149. ;   Production Value: 5: x3 q. m( I# ~1 s
  150. " H) ^6 F4 @$ G5 e" c7 e6 U" H; R
  151. ; short_open_tag
    4 m* Z( e+ ^1 _
  152. ;   Default Value: On3 J% V3 I5 n" O. z9 `( \, a( Q
  153. ;   Development Value: Off
    & K+ ~7 l# Y! Z: @
  154. ;   Production Value: Off" G5 a  x4 g% d4 b* X8 Z

  155. $ s/ M5 m# I! u9 n4 ^* u+ G! V
  156. ; track_errors
    5 G1 b4 S5 `; @' x+ }
  157. ;   Default Value: Off
    ; m2 d. `8 }2 ~- ?2 ]8 Q/ A3 A
  158. ;   Development Value: On( f* W2 Q1 f. M3 ?
  159. ;   Production Value: Off7 z. S4 {7 a+ m! f  A- |

  160. ; x! V8 ?5 r6 ?4 p, G6 f/ x0 p
  161. ; url_rewriter.tags! m2 e8 G+ d$ a7 O" L- u1 O
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ! a9 a+ o2 _- @8 E4 ^
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    , Y5 Z) D  b  w" N
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! Z7 v- e6 U% o9 U6 i

  165. 9 V9 m& H. e" Q  V2 z! p) B
  166. ; variables_order  W( x3 m3 J. ?. @  I
  167. ;   Default Value: "EGPCS"& A7 Q- W! i# j1 c5 `% T2 x: E/ K
  168. ;   Development Value: "GPCS"
    3 V, m9 u( I' Q
  169. ;   Production Value: "GPCS"
    - V  m/ E5 x+ E/ f# M

  170. , k) o, a% G* k/ A$ y- K5 l, X$ c
  171. ;;;;;;;;;;;;;;;;;;;;. X$ d4 A. }! Q1 n0 q' S0 L
  172. ; php.ini Options  ;
    + u7 `" q) q2 `- J) ~! S
  173. ;;;;;;;;;;;;;;;;;;;;4 }$ U5 g. i6 O% o7 E( F, v
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"5 e, G- k; U7 H0 n' _
  175. ;user_ini.filename = ".user.ini"4 A1 v9 H: E: n1 X( Z
  176. 6 ~1 T! E* I" n% ?( V
  177. ; To disable this feature set this option to empty value
    $ h! J0 T# n) Q) U
  178. ;user_ini.filename =& V; `9 Z( k* \0 U+ o) m. I9 E, c& R

  179. * U% T1 ?5 [. k
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes), z! }" j4 `! [* p" q7 y* e1 ~% S3 R
  181. ;user_ini.cache_ttl = 300* i: I" |( a  R$ t4 N' a5 g; J# A0 G

  182. 9 H9 M! R9 q( S) W
  183. ;;;;;;;;;;;;;;;;;;;;4 y, c" k' J( [1 X0 j) M
  184. ; Language Options ;
    3 u2 J( t4 |! Q$ A* J, {3 Z/ H6 O
  185. ;;;;;;;;;;;;;;;;;;;;2 Z1 N* u3 `% H: t: L# M7 w6 J
  186. # K. O! s$ E5 L9 o6 a+ D5 ~
  187. ; Enable the PHP scripting language engine under Apache.: q! f2 S$ z1 {8 z% [! W7 F
  188. ; http://php.net/engine* p- `* I( T+ j6 Z. e% K2 b3 g3 L- a2 m
  189. engine = On
    ( q; L- D0 W  ^3 n2 O! U1 x, ^

  190. " T7 Q2 c* t. ~: j
  191. ; This directive determines whether or not PHP will recognize code between2 l8 Y+ j7 w) n1 o3 L; f- b
  192. ; <? and ?> tags as PHP source which should be processed as such. It is2 M9 ~3 }* C: `6 W# M& Y
  193. ; generally recommended that <?php and ?> should be used and that this feature) d& |" Q9 f; s' }/ ?. p
  194. ; should be disabled, as enabling it may result in issues when generating XML
    . ]) [0 a8 F; R2 ^2 J
  195. ; documents, however this remains supported for backward compatibility reasons.
    ) b* ?8 Q- ~' G! x4 d
  196. ; Note that this directive does not control the <?= shorthand tag, which can be5 ?% w* W; |% L" K1 f; r0 Y  u
  197. ; used regardless of this directive.0 j$ b+ f/ s1 o: f' v8 d# K
  198. ; Default Value: On6 W" }1 X) f3 ^+ E7 E# @
  199. ; Development Value: Off
    * U6 M4 [6 f) ?; d) M7 K
  200. ; Production Value: Off
    5 A$ k3 f$ H- s1 B
  201. ; http://php.net/short-open-tag* z) S4 v4 {) ~8 F2 J# u
  202. short_open_tag = On8 _) L- t' O% e  D8 y

  203. & T! @% c- j  d3 V6 \, r
  204. ; Allow ASP-style <% %> tags.: z' q! R0 N# j2 r/ p
  205. ; http://php.net/asp-tags) k5 J! C# ]: y- t
  206. asp_tags = Off. j2 h$ W+ X; @( l1 O

  207. : ^) w4 U! L6 ]5 `* A
  208. ; The number of significant digits displayed in floating point numbers.
    ! H* H! o; b8 L8 c
  209. ; http://php.net/precision
    ; d- ^& f5 h& k
  210. precision = 14
    & @0 \, _/ F8 P
  211. . [  v& s$ b" h4 `6 d/ n7 K
  212. ; Output buffering is a mechanism for controlling how much output data% M5 ]; k) O! z" ~' u5 p! Q
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    . b7 r. `. N7 M
  214. ; data to the client. If your application's output exceeds this setting, PHP
    6 q7 o/ n' @4 Y
  215. ; will send that data in chunks of roughly the size you specify.! Z$ V9 r4 @% n* a5 }7 f$ w" j0 z" _% _( j
  216. ; Turning on this setting and managing its maximum buffer size can yield some  `) P8 E  n% R1 w: P; w
  217. ; interesting side-effects depending on your application and web server.
    0 p7 E. V9 L  T( @
  218. ; You may be able to send headers and cookies after you've already sent output+ ~# U+ L$ w6 Z% i0 x8 h
  219. ; through print or echo. You also may see performance benefits if your server is5 D2 ?8 L1 E. ]5 o2 B
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    - ]8 @$ G6 ?1 J- g& N
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance( ]! `9 r9 r0 v2 x$ a% ]
  222. ; reasons.
    3 R5 W/ l5 j+ c  p
  223. ; Note: Output buffering can also be controlled via Output Buffering Control/ W+ s6 M. U4 G, q: K
  224. ;   functions.
    8 G* S2 I$ e: ^- {
  225. ; Possible Values:4 s8 k) p+ c( w
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)9 U! C) |$ R9 y! i
  227. ;   Off = Disabled
    2 u7 ?1 h+ `' Q
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    9 t8 V/ o: l2 t
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    . Z& n* [+ g5 f: L6 I
  230. ; Default Value: Off
    8 M8 O0 B9 I" g  q( Y% w1 n8 h8 a
  231. ; Development Value: 40962 U1 L1 I! z  O  Q5 E  n
  232. ; Production Value: 4096& L+ ~& R( N' [: y
  233. ; http://php.net/output-buffering
    ' m, H8 F/ [" }7 X: ^8 ?  R8 k5 S
  234. output_buffering = 4096
    7 C/ Z* t' a0 E/ _2 M; c6 E
  235. 1 N1 S/ q3 y. r$ w9 f# O
  236. ; You can redirect all of the output of your scripts to a function.  For
    ; G7 y: T  W# z+ [, k, v" ]! v
  237. ; example, if you set output_handler to "mb_output_handler", character( d6 q/ ~- V3 e8 L) Q3 A
  238. ; encoding will be transparently converted to the specified encoding.
    8 J* e! \% f/ e9 z7 z4 b9 h; D
  239. ; Setting any output handler automatically turns on output buffering.
    , W2 N& O' _5 f
  240. ; Note: People who wrote portable scripts should not depend on this ini( `5 u0 S, I+ [7 p; N4 O1 v9 Z
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    ) v' H5 U) b4 c+ W! f( ^. B
  242. ;   Using this ini directive may cause problems unless you know what script
    , Z" F+ k9 v8 l& ~2 Q7 I0 Y
  243. ;   is doing." m: q) t4 l7 a) d1 V' y& C
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    # ]/ i7 H) `; p5 [# D4 f- C: t
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".! u8 g; i+ H; p# l+ \
  246. ; Note: output_handler must be empty if this is set 'On' !!!!+ q9 d* s& a% @) e  U$ ^
  247. ;   Instead you must use zlib.output_handler.; w) l! D% J  N
  248. ; http://php.net/output-handler
    3 @, @! }* S; v+ Y5 q
  249. ;output_handler =1 |  v3 f" W2 R+ C8 w

  250. ( z$ C. x  S6 `7 B
  251. ; Transparent output compression using the zlib library0 f: |( K7 Y3 e9 w* f$ w! G
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    9 o( `& y  o% U1 X8 C* L/ f2 O$ B" d* h" a
  253. ; to be used for compression (default is 4KB)
    * p- O' m  |1 ~( Y  q3 a# M1 Y
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP" n+ i, s  x+ i2 m
  255. ;   outputs chunks that are few hundreds bytes each as a result of8 y# I/ _6 m, r, j6 Q
  256. ;   compression. If you prefer a larger chunk size for better
    - q' J; Q/ P6 t  n9 R
  257. ;   performance, enable output_buffering in addition.
    5 {5 s2 |1 d& T, x# r! R
  258. ; Note: You need to use zlib.output_handler instead of the standard
    ) R9 `, N1 J- c
  259. ;   output_handler, or otherwise the output will be corrupted.
      l! U6 {4 S+ B  l: j; l# a. K
  260. ; http://php.net/zlib.output-compression7 D2 \: [2 _. D& H7 \2 T
  261. zlib.output_compression = Off
    ( t; ^% _$ n1 y

  262. + a. H) e. O: q; x, h: v
  263. ; http://php.net/zlib.output-compression-level* D5 F6 I9 y/ E$ p" S/ i
  264. ;zlib.output_compression_level = -1
    " J  \& y4 t& D  V6 |! |

  265. + `; _6 E& W5 L" q  h
  266. ; You cannot specify additional output handlers if zlib.output_compression4 ^! p: g* Q6 Z0 e# Z- G8 `! @8 J
  267. ; is activated here. This setting does the same as output_handler but in4 ?+ l' M) F) g0 G
  268. ; a different order.
    6 ~5 G' @) h5 ~; L4 J; ~  D+ M) b
  269. ; http://php.net/zlib.output-handler
    : k% \: g. G7 H4 J
  270. ;zlib.output_handler =# f$ u* S- [/ u* z

  271. & j, t; N. V9 w! G$ L
  272. ; Implicit flush tells PHP to tell the output layer to flush itself& s" M* w% ^+ N- n/ {8 J+ J
  273. ; automatically after every output block.  This is equivalent to calling the
    1 p7 i" `4 A5 o
  274. ; PHP function flush() after each and every call to print() or echo() and each
    * y% |$ L6 t- x/ h9 P
  275. ; and every HTML block.  Turning this option on has serious performance
    2 ?3 m4 @! }% `
  276. ; implications and is generally recommended for debugging purposes only.
    5 G1 `0 R! {( N, n1 `& C
  277. ; http://php.net/implicit-flush
    * X+ i8 V9 w3 N3 ?+ X5 W
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    & u8 s' K! n& M2 B9 V1 m; p
  279. implicit_flush = Off
    6 s) O. p+ X& O2 Q) X/ J! o+ n

  280. ' b" @; c+ Q% w+ D* [
  281. ; The unserialize callback function will be called (with the undefined class'
    9 Y% ?% O" t9 W4 L/ Q% E& U. |
  282. ; name as parameter), if the unserializer finds an undefined class$ m7 i3 e$ D* h% ?. R, [2 b' v
  283. ; which should be instantiated. A warning appears if the specified function is  v5 ^% S1 N! g" C( B9 C( G
  284. ; not defined, or if the function doesn't include/implement the missing class.) r9 l+ d2 R" v/ u
  285. ; So only set this entry, if you really want to implement such a2 T, t- [3 `' P% N7 `2 S$ h: x
  286. ; callback-function.
    ( v, m$ j4 t7 R
  287. unserialize_callback_func =
    4 E9 v) X$ y* {
  288. ! x& u7 X  _5 }7 o% k
  289. ; When floats & doubles are serialized store serialize_precision significant
    0 T2 h/ \+ r1 ]/ o
  290. ; digits after the floating point. The default value ensures that when floats
    # {  l% |4 G9 v7 W# v. A* ~
  291. ; are decoded with unserialize, the data will remain the same.. c" U  }" s5 K/ E& e3 D
  292. serialize_precision = 17
    3 r/ W& I3 ?# m9 d. q
  293. ; J" W) H( Y. Z
  294. ; open_basedir, if set, limits all file operations to the defined directory
    9 B, q( A" C+ c5 r
  295. ; and below.  This directive makes most sense if used in a per-directory( o- o, F5 o& h/ @
  296. ; or per-virtualhost web server configuration file.9 y4 i5 |" Z6 k' S
  297. ; http://php.net/open-basedir1 C# {6 [% D7 y# H4 X* X3 j" v
  298. ;open_basedir =
    0 l, [5 O. ~- T0 g( k2 d
  299. ' B5 E1 h. y, L! u# R
  300. ; This directive allows you to disable certain functions for security reasons.3 ]7 z; x' D) J7 V  r4 {" z
  301. ; It receives a comma-delimited list of function names., t9 d6 o$ `$ a; Q' D2 O1 F
  302. ; http://php.net/disable-functions
    6 B# Z% s0 b8 b2 l/ V
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    2 `7 h4 `2 k0 ~
  304. 1 @2 u' H7 m+ H* t  @& F
  305. ; This directive allows you to disable certain classes for security reasons.! U# I! E0 u: H
  306. ; It receives a comma-delimited list of class names.
    ; W% a& x4 J* }, ?' q
  307. ; http://php.net/disable-classes
    2 k8 I) v6 v+ r, Y5 l/ s8 `# h: l
  308. disable_classes =
    - h* F6 j+ c* ]9 r

  309. ; V0 }$ ]7 x! m5 R0 ~
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ' r6 l) q+ d2 d  V% v( u
  311. ; <span style="color: ???????"> would work.
    0 G9 Z6 j) e7 n1 ~1 m
  312. ; http://php.net/syntax-highlighting
    ! j) d- n# S- v% v3 C- C: p. I
  313. ;highlight.string  = #DD0000) C2 M" r3 f3 Z0 E+ Z' L
  314. ;highlight.comment = #FF9900
    , i2 c$ X% L6 T# U+ @
  315. ;highlight.keyword = #007700$ x- B" o# ^3 O
  316. ;highlight.default = #0000BB
    4 x, M+ n! ?2 J  n8 x" f
  317. ;highlight.html    = #000000, ?" i: P; M* m2 v: ~2 I  ?4 T

  318. 8 N& D6 j  v" j' N4 X0 c; _
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    , O2 Z% F0 B, r- H" y1 a
  320. ; the request. Consider enabling it if executing long requests, which may end up: _. t& \. D2 \7 B
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior1 w7 ^- k, Q# e$ u- ~' B
  322. ; is to disable this feature.$ B$ Q& i% B' ]( L& w) ~
  323. ; http://php.net/ignore-user-abort9 a8 u% [8 I/ c8 b
  324. ;ignore_user_abort = On4 S9 ]& p4 d" d$ t& u/ z

  325. 3 J! S: d* N, k3 @; Y
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    # K. o) a7 \' Y1 E+ X, y
  327. ; be increased on systems where PHP opens many files to reflect the quantity of- Z9 l% P) ]6 \9 `6 z. z' L
  328. ; the file operations performed.
    ! P6 a5 L8 w5 g9 H/ `, Q2 M: k- u5 ~
  329. ; http://php.net/realpath-cache-size# F: i, _0 x4 m; R' @) Q0 g
  330. ;realpath_cache_size = 16k7 Q) q6 @3 m0 J
  331. * q. V) _! l4 L, ?- k
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    ; k7 K7 z. p" {5 q6 g
  333. ; file or directory. For systems with rarely changing files, consider increasing this- {2 g0 G5 ?; c5 a& K/ z. i
  334. ; value.
    1 ^% N' @# R8 P. j
  335. ; http://php.net/realpath-cache-ttl/ `$ k8 p& l( L8 A1 i. r
  336. ;realpath_cache_ttl = 120+ N8 _5 {+ u' H# Q# Z9 v
  337. ) z! M" r8 y; E. j5 K5 n
  338. ; Enables or disables the circular reference collector.
    " |. @- `" \# N  I6 t  q6 Z+ n
  339. ; http://php.net/zend.enable-gc
    . Q) g. b+ I3 T: Q
  340. zend.enable_gc = On
    4 i5 g6 {! N& z3 I7 `% ^' l4 H* R
  341. 2 R& Q- K3 B# U% {
  342. ; If enabled, scripts may be written in encodings that are incompatible with* x3 b  x1 w6 P
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such. C2 r. z$ C9 i. ^# p, F, d( ?
  344. ; encodings.  To use this feature, mbstring extension must be enabled.: h' A$ U9 O5 E. w
  345. ; Default: Off
    # F7 e4 U& s* S; G$ v' `
  346. ;zend.multibyte = Off5 b' K1 @# q8 L3 T
  347. ; T2 Y" P$ H& c- S$ J
  348. ; Allows to set the default encoding for the scripts.  This value will be used# R. W8 Z% T3 X( S6 u
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    $ P; b- {1 q2 |1 O6 C4 r
  350. ; Only affects if zend.multibyte is set.* r6 L5 R( r! x3 `6 B, n2 Y' G
  351. ; Default: ""
    1 D2 X4 H: ~1 T9 C& {
  352. ;zend.script_encoding =4 c) @4 n' ~+ v3 [0 p- `" b

  353. $ ~3 q" ^% z8 I" v
  354. ;;;;;;;;;;;;;;;;;
    - w$ A7 @/ @% [4 N+ ?6 r/ n
  355. ; Miscellaneous ;( K. a& L' V, t) w7 L
  356. ;;;;;;;;;;;;;;;;;
    " l# W0 P" w/ d" m

  357. * R8 X6 U% x9 U: `  @% V: d4 e
  358. ; Decides whether PHP may expose the fact that it is installed on the server+ T1 `) F) |. N% n( ?
  359. ; (e.g. by adding its signature to the Web server header).  It is no security- p  v1 E. m! [6 P7 l& A
  360. ; threat in any way, but it makes it possible to determine whether you use PHP; Z  T' |% ^- R; J3 n) K
  361. ; on your server or not.0 L6 Z# _  @8 q2 W
  362. ; http://php.net/expose-php
    ' V5 B+ ^; h# o$ k! a
  363. expose_php = On
    7 o) `2 N0 m; B: N; i9 ]7 A
  364. 6 }6 C3 a: |0 I% H
  365. ;;;;;;;;;;;;;;;;;;;
    5 P- T* i% z1 X9 Z5 @3 V
  366. ; Resource Limits ;
    0 n% r" D8 H7 v
  367. ;;;;;;;;;;;;;;;;;;;
    * M" V2 J  b0 d) s

  368.   T9 t' y6 @* T# O4 R- _! C) Q+ _
  369. ; Maximum execution time of each script, in seconds
    . f9 h  K2 _2 f9 [* M# K( |
  370. ; http://php.net/max-execution-time
    ( o. v% _) q, m, E1 }' V8 H. x
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    7 J; I) O5 Z1 K, W* a: M! O
  372. max_execution_time = 300  C6 T7 z9 g0 c

  373.   V2 T) g2 g# H6 a" g& `" d
  374. ; Maximum amount of time each script may spend parsing request data. It's a good  s4 r) B8 i# V8 B" i8 d
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly0 N" j3 p9 y  L- F$ E" M
  376. ; long running scripts.
    ( y* r4 |& d  j$ [& c% L( O
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI$ Z5 T' k! X/ t4 G* O9 l
  378. ; Default Value: -1 (Unlimited)
    : |. ~; s5 `! L7 `- c" w
  379. ; Development Value: 60 (60 seconds), |! B" y9 G9 u: T; M
  380. ; Production Value: 60 (60 seconds)
    - S1 k. G9 Z6 Y: m9 r
  381. ; http://php.net/max-input-time  m7 V5 l/ U) N0 ?
  382. max_input_time = 60
    1 {! V% l) g8 ]3 ]
  383. ( D: f1 P+ Q, X2 g" D) E- O
  384. ; Maximum input variable nesting level( P9 W+ K) E* H5 b8 a! p' G. f
  385. ; http://php.net/max-input-nesting-level7 W$ x+ y! t" x& N5 t: z7 w. [
  386. ;max_input_nesting_level = 64! a$ h/ Z5 V! t7 K
  387. 5 Q& Z& j5 u0 u
  388. ; How many GET/POST/COOKIE input variables may be accepted6 ~3 f/ Y7 G$ x% a5 q
  389. ; max_input_vars = 1000" {* h9 f( b# p
  390. ; d/ T; ~) ~2 W3 b* K; R( H6 e
  391. ; Maximum amount of memory a script may consume (128MB)  D3 p% L, ~# z7 ?6 z% a8 Y# p* O* j
  392. ; http://php.net/memory-limit
      a6 g% p2 p9 f" @, Q, d8 o8 z$ Q) o
  393. memory_limit = 128M' j4 c, _3 w' ~5 c
  394. ! |, g0 r7 i9 P- E1 J# U
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;. @8 P2 |% Y2 B) Z6 ?. r' v
  396. ; Error handling and logging ;/ y% ^4 {, Q/ H4 Z. D9 S8 o7 Z
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    $ g* [( f) l5 K, `. G5 E
  398. - }  z# U# `3 V( c: a6 f; |: G2 S0 a
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    , }2 ?- `5 Z+ x# K3 _
  400. ; it to take action for. The recommended way of setting values for this
    ' t- g/ v  c# j7 g, N
  401. ; directive is through the use of the error level constants and bitwise
    8 t% Q  G3 b; E  l
  402. ; operators. The error level constants are below here for convenience as well as
    % c) V3 b& Y3 q& L7 P4 I
  403. ; some common settings and their meanings.% h/ T: H$ m8 L0 [5 Y2 i
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT7 e7 E) i& e9 u6 j$ O2 Q% Q, O/ Q
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and3 e7 l) |, E" n; h. I4 k
  406. ; recommended coding standards in PHP. For performance reasons, this is the& m$ e6 I# S+ y
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    3 G# A: g/ U; O6 I8 o' ^; B
  408. ; resources complaining about best practices and coding standards. That's what
    ' s' D+ ]) v: m$ u7 H! Z. _
  409. ; development servers and development settings are for.9 p/ S% j) m6 l$ m* O' P
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    ; ^* V) D+ N* p4 Z1 n
  411. ; means it pretty much reports everything which is exactly what you want during0 |) ]# O9 R% b4 {% d8 B# C
  412. ; development and early testing.
    7 w" A8 r1 o9 |5 ~
  413. ;
    . I* M& q3 n& `, Y, [
  414. ; Error Level Constants:# T; N! j% Q9 o( c. n
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)2 z$ m9 D! Q, b+ c$ M5 k" z" B
  416. ; E_ERROR           - fatal run-time errors
    7 T4 Y( t1 T( M% c
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    6 J* U; K5 _! y" n3 I% X5 V& I
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    $ R( c  q' E+ {* W5 F
  419. ; E_PARSE           - compile-time parse errors
    ) g: j- ?6 e% }( N' _( N! e) s
  420. ; E_NOTICE          - run-time notices (these are warnings which often result3 H$ H/ h( s& M8 U  K5 q  f2 l' ^7 L6 J
  421. ;                     from a bug in your code, but it's possible that it was) A% X) i8 ?8 K! v& d, u" c: P2 B
  422. ;                     intentional (e.g., using an uninitialized variable and6 H4 [, y+ E& r# _! ?4 o
  423. ;                     relying on the fact it is automatically initialized to an
    5 X, x6 O. d, j+ M
  424. ;                     empty string)
    $ v+ t4 l* P4 U. Q" ^
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes1 t2 N" F1 q1 y) Z, }" v. T
  426. ;                     to your code which will ensure the best interoperability
    0 j" D/ P/ Y- ^* M% n
  427. ;                     and forward compatibility of your code
    2 e# Y6 P: W$ y
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ( F2 @% C8 I/ u2 ]1 V
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    5 U8 [- p5 G: D, X
  430. ;                     initial startup1 A+ F5 \6 ?6 }; T8 k
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    7 ]% Q/ p, m" V& |9 ]
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)/ M7 k- J2 c. c& u1 l. i
  433. ; E_USER_ERROR      - user-generated error message
    * c8 @* e5 R4 |& D& Q* P
  434. ; E_USER_WARNING    - user-generated warning message, u  y, x1 D+ ~( \! l8 Q
  435. ; E_USER_NOTICE     - user-generated notice message
    " ?9 Q5 d$ U: d0 U: Z. B% [) Y
  436. ; E_DEPRECATED      - warn about code that will not work in future versions* u2 I. w7 \6 O7 I; Z6 Z
  437. ;                     of PHP+ y8 i. c) P7 N4 B  E
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    / U7 V4 a+ f+ }' x0 d1 @- M; @9 Q+ z
  439. ;- g0 l8 O4 K, y  v2 ~
  440. ; Common Values:& l9 j7 F  l' @0 M
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    / [; ]) Q( s5 D* T
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)% n0 N( f' \; X% K* O7 E$ u. p
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ' b) }2 g( p+ h: T9 Y8 _+ _
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    * `7 a$ S+ @1 Z4 t, h
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED( ]! e6 Z5 |! z( T7 ]( Z1 J
  446. ; Development Value: E_ALL
    9 o. g/ w5 M5 ^* E& i
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT# ^% n: ]2 [; A* ^& j3 X) @8 a
  448. ; http://php.net/error-reporting: j# C( e: j4 a. q, |" ^% {: d
  449. error_reporting = E_ALL & ~E_NOTICE
    . N, R* u3 G2 Y+ L- s4 ?
  450. 6 O1 c. O$ O9 S' }7 ^# E
  451. ; This directive controls whether or not and where PHP will output errors,
    ( m6 x# j9 U+ `% ]3 i* x* I
  452. ; notices and warnings too. Error output is very useful during development, but
    : j+ K( V% W( d/ L/ ^
  453. ; it could be very dangerous in production environments. Depending on the code" {+ E& |/ |3 D8 Q
  454. ; which is triggering the error, sensitive information could potentially leak# d. F, q: P" o! v
  455. ; out of your application such as database usernames and passwords or worse." R% F- {  o  e/ ?7 g) |  ?' [+ T
  456. ; For production environments, we recommend logging errors rather than5 J  Q4 b+ ]6 B
  457. ; sending them to STDOUT.
    ( ?$ r) z7 G7 i- n' H
  458. ; Possible Values:
    4 D, N7 }2 y( Q1 e
  459. ;   Off = Do not display any errors
    ) s; \+ o; w2 U9 X6 H( C& V
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)5 T1 ^! R4 z( Y% I! c6 ?4 K
  461. ;   On or stdout = Display errors to STDOUT
    7 ~7 T5 \# Q; ]) A" A4 I
  462. ; Default Value: On- g9 y" D+ C7 R
  463. ; Development Value: On+ v4 z) B. @* y* Z+ \
  464. ; Production Value: Off% L6 E! }" ^7 S  S1 y( g& o
  465. ; http://php.net/display-errors
    6 r( E( x$ Q; F5 Q; }( x  F
  466. display_errors = On
    1 D9 b7 B0 s7 R* }
  467. % \) I) L4 u7 X: w8 f1 @  Q/ N
  468. ; The display of errors which occur during PHP's startup sequence are handled' Q2 q. o- a2 P% P2 }
  469. ; separately from display_errors. PHP's default behavior is to suppress those/ A1 P+ u! v! X, H* o
  470. ; errors from clients. Turning the display of startup errors on can be useful in# a) B# y2 X2 ~  o
  471. ; debugging configuration problems. We strongly recommend you
    4 H$ S' [0 }! g/ E
  472. ; set this to 'off' for production servers.
    , d# n* N  Z+ g% N8 G3 w
  473. ; Default Value: Off* v9 |% g3 `7 [, g; \- j% U
  474. ; Development Value: On& p1 w, W! @+ b0 c. Y* H* Z
  475. ; Production Value: Off
    ' a* }7 a, w9 G- ^
  476. ; http://php.net/display-startup-errors
    7 {$ ]+ f0 j0 ~2 N, d7 b% y; t
  477. display_startup_errors = Off2 f) |* R1 m; U" k% e
  478. 4 d  R2 j/ Y1 ]) d( g& g9 c9 t2 y: r
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    0 O% K6 W% P2 |+ H0 j' Q' Z7 q
  480. ; server-specific log, STDERR, or a location specified by the error_log: \7 d) K" Y  y) Q$ k' f# P" Y
  481. ; directive found below. While errors should not be displayed on productions
    " X! W3 h% d' r) x
  482. ; servers they should still be monitored and logging is a great way to do that.! C1 X- H5 p. n. @4 [. e/ J$ A
  483. ; Default Value: Off) K1 L8 }5 v0 T* n; H* t
  484. ; Development Value: On
    6 e& S) M- D4 o2 Q$ f' M
  485. ; Production Value: On* b' n$ ]% X. }; |6 j. ~. @9 |1 L6 U, }
  486. ; http://php.net/log-errors- i: m( U0 d8 l2 @. u' Z: J6 F  l
  487. log_errors = On1 S/ z9 j1 C5 f- v

  488. ( n4 {4 l: D1 _  L
  489. ; Set maximum length of log_errors. In error_log information about the source is
    6 O1 H8 Z, M) t3 ]) K
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.! j5 U/ g9 l* I4 ~7 [
  491. ; http://php.net/log-errors-max-len6 m8 s# P0 \3 D6 ?
  492. log_errors_max_len = 1024# O4 P2 p& \$ z8 n. q
  493. 6 }0 C, c  {2 u; m* f4 H/ V
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same2 f) q1 J( k3 n4 ?0 y0 \" A
  495. ; line unless ignore_repeated_source is set true.
    $ q. O1 b8 L8 [# P4 P5 g  X
  496. ; http://php.net/ignore-repeated-errors
    5 {" F% c9 H+ @  g, S: s
  497. ignore_repeated_errors = Off/ P6 X3 C; ~* M/ L5 u1 N! Y

  498. / f" t, j' N. Z; i! A8 a& |6 w
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    2 n0 ?" S6 D8 B2 d
  500. ; is On you will not log errors with repeated messages from different files or
    ; }1 o) V4 Y& m
  501. ; source lines.
    ' ?5 S* M+ \& h% T6 S: K4 M
  502. ; http://php.net/ignore-repeated-source" K3 \( ~4 z7 h$ v, n2 L
  503. ignore_repeated_source = Off
    . j2 R" ~# q& M& J
  504. 7 q2 \8 |/ u2 A4 y! ?2 I
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on+ Z0 Y; b; k/ F. z9 B" O" S
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    % t" A: h% {: m, P* ?6 Y
  507. ; error reporting includes E_WARNING in the allowed list
    ( m; v' S8 M) Q  W8 }6 Z+ X2 S$ S
  508. ; http://php.net/report-memleaks0 `, R# E  y% N! D$ d! _
  509. report_memleaks = On
    / {' h; J3 K$ k; C. u5 [

  510. * @6 O2 b6 i  V, d) S- G! ^
  511. ; This setting is on by default.
    4 [, ]# V9 ]4 s5 v+ D
  512. ;report_zend_debug = 0
    " i- L! L2 T' `( B* w5 \' ]% m4 h

  513. + F  w3 }3 E$ b+ ?: o0 v
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    6 a- P! L' }2 G0 p/ y$ x% B
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    8 Y+ l4 l1 l4 ~- h9 _8 h% v* H; j
  516. ; however be disabled on production servers.
    , t0 l. v$ q9 O( S! W8 K& z" ~+ Y
  517. ; Default Value: Off
    0 W$ q! T, [# z3 o+ e/ F
  518. ; Development Value: On
    + Y: F0 n* k8 q8 p( f# [
  519. ; Production Value: Off9 Q' O7 o* q, h3 J9 C+ R6 B* t
  520. ; http://php.net/track-errors2 h4 b5 s& n- w' t& x6 ?/ ^
  521. track_errors = Off
    : l% J" y* p5 e
  522. $ B  w( L  l4 b/ W1 f7 @: \3 N# c
  523. ; Turn off normal error reporting and emit XML-RPC error XML8 v- _1 _! d4 N" `
  524. ; http://php.net/xmlrpc-errors3 v; C  |  s$ r5 t5 F4 b
  525. ;xmlrpc_errors = 0% t1 ~6 W. k$ U7 X

  526. 6 _& e8 |# n$ |$ m' b
  527. ; An XML-RPC faultCode, d. Y5 L* R: C5 r7 c
  528. ;xmlrpc_error_number = 0
    , X: t9 R% a* v0 ?  m6 f( j
  529. & U7 @! I1 r2 w0 Q
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    ( s1 \  r% c* x1 K
  531. ; error message as HTML for easier reading. This directive controls whether; I; q1 A0 L' T+ A, Y$ V
  532. ; the error message is formatted as HTML or not.
    6 X2 A# L* \8 f& K; b  B4 c
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI  m( P0 L9 G6 {6 V/ N
  534. ; Default Value: On
    % V# ?" H: m% `, H, |9 m" s0 U
  535. ; Development Value: On0 Y. s7 X7 S" t9 ]! j2 \
  536. ; Production value: On
    ( D0 t; A2 l+ K. J$ b
  537. ; http://php.net/html-errors
    ( d& J) c: b3 j1 s) T! @
  538. html_errors = On
    , o+ Q* |. T" u9 ~8 C6 T

  539. ' J: R% X" z' u6 |/ s# l& b/ G
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP/ n8 r7 g7 O- {. X
  541. ; produces clickable error messages that direct to a page describing the error
    , ]" v& c' o( Y! y4 z; s0 Q
  542. ; or function causing the error in detail.
    7 S- x+ f3 b; y
  543. ; You can download a copy of the PHP manual from http://php.net/docs: R7 b5 b4 @- _
  544. ; and change docref_root to the base URL of your local copy including the( }7 w" h) p- ?4 j
  545. ; leading '/'. You must also specify the file extension being used including3 z3 [6 V0 m. E* a, h5 ]
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which% j6 v( Y3 a  i5 I. X: W6 r
  547. ; case no links to documentation are generated.
    6 D2 C5 Y; D4 B: C5 n: s& f
  548. ; Note: Never use this feature for production boxes.
    5 U$ ?: f  Q  N% u# _4 c; w
  549. ; http://php.net/docref-root  k& I* b% h; J( e  @0 d
  550. ; Examples8 g) e5 U% O2 U& X- _2 |
  551. ;docref_root = "/phpmanual/"8 C+ t& L: e4 g9 _/ {' D) `* N
  552. : w5 D2 ~5 o$ S: U
  553. ; http://php.net/docref-ext7 x: l5 k7 j2 U4 j! V6 S+ J( S8 h
  554. ;docref_ext = .html
    - p3 X1 }0 ~8 W+ K: i" {! D& X

  555. - q2 O, A$ |( Y) ^7 M. \
  556. ; String to output before an error message. PHP's default behavior is to leave0 m2 ]! h) ?6 @- C8 C! T
  557. ; this setting blank.
    - E$ d6 I' u9 H# Y) _
  558. ; http://php.net/error-prepend-string* H2 ^, p/ @/ N
  559. ; Example:
    $ N) Y7 X/ Z7 U- n
  560. ;error_prepend_string = "<span style='color: #ff0000'>") F7 S# h) x. }- o' b( h* d, T; V" a

  561. - C9 O* Q9 L7 E* o, @
  562. ; String to output after an error message. PHP's default behavior is to leave" p7 N$ T3 [7 o7 e6 r
  563. ; this setting blank.
    : N2 q" [0 u& b9 s  E+ @9 [
  564. ; http://php.net/error-append-string
    ( Z& L8 V! E- @6 W+ E6 m
  565. ; Example:
    - P# h# @2 e0 V6 m
  566. ;error_append_string = "</span>"
    & R7 V+ a. a* S- y

  567. 6 o$ e8 b$ [! o/ m: `& q, N
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    ) c- T3 C5 I2 V1 s6 L, `
  569. ; empty./ c5 u" o* E2 I8 B1 V
  570. ; http://php.net/error-log
    ' S# L1 Q& Z3 H" Y
  571. ; Example:
    1 Z9 F8 O5 N3 F9 ~3 ?6 {  M
  572. ;error_log = php_errors.log3 o# u/ z. O5 w, M6 x% o
  573. ; Log errors to syslog (Event Log on Windows).: P. ?3 c0 K7 m0 Y. q2 e5 {8 w
  574. ;error_log = syslog1 P* \" I$ w# y
  575. * U4 o( ~) R: h7 |$ x( }
  576. ;windows.show_crt_warning
    4 a) V- h  O4 ~" x2 ^* {+ {
  577. ; Default value: 0
    % X$ M3 |& m. b" [) Z# Q
  578. ; Development value: 0" R" p1 r( x: i* ?7 ?9 H
  579. ; Production value: 0
    0 X# A4 D; a. P4 T( _+ Z4 p3 z" ]
  580. 4 [3 m% A/ h0 K( z6 {! c0 z3 H& q! v
  581. ;;;;;;;;;;;;;;;;;
    : _  J- ]1 Q2 g& [
  582. ; Data Handling ;
    3 ~0 J3 `9 @3 v0 p/ |
  583. ;;;;;;;;;;;;;;;;;. ~* n* P" Y& h
  584. 9 W5 L7 ]1 W% i
  585. ; The separator used in PHP generated URLs to separate arguments.& h4 M9 H8 A% n( h
  586. ; PHP's default setting is "&".
    " O% }4 u9 \" C# n
  587. ; http://php.net/arg-separator.output
    2 R& f& T# ?5 ~
  588. ; Example:
    : _9 `0 n  S% H: j0 K. I8 ~4 T
  589. ;arg_separator.output = "&amp;"' |! I4 G1 l0 Z  o! h9 f
  590. % {% p( ^1 A: L0 m1 M2 ?6 K+ E
  591. ; List of separator(s) used by PHP to parse input URLs into variables.* r  M! t$ L  z9 }# \
  592. ; PHP's default setting is "&".
    8 o& X) r0 k- @5 ?0 i5 G6 i& o" E- e
  593. ; NOTE: Every character in this directive is considered as separator!4 l: p' A4 O! p4 _5 Y& Z; R
  594. ; http://php.net/arg-separator.input) h& x' I- _9 K& U  {. h  D
  595. ; Example:, w) b& t$ ]/ {; o
  596. ;arg_separator.input = ";&"
    ( z( r( O3 g- ~6 L; e" ~) }# G
  597. % ?% g2 _' v' d- X) f. W
  598. ; This directive determines which super global arrays are registered when PHP
      t! K+ o8 Z3 Q0 u0 U' j: b
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ' C0 ]' p( y0 Y  l0 {: c
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    0 O! t0 i% M2 I- h: A& r
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    + ^9 j9 s/ ~9 e* Q
  602. ; used as the others, ENV is not recommended on productions servers. You' H) Q8 ]' x& b% L+ Q
  603. ; can still get access to the environment variables through getenv() should you
    9 C( A( N; ]5 C
  604. ; need to.
    % m/ _8 ^8 i' y( q+ R- n
  605. ; Default Value: "EGPCS"
    : G3 R1 z' `4 a# D
  606. ; Development Value: "GPCS"
    ) R0 ?0 L0 d7 p. L5 F2 ?3 U! j
  607. ; Production Value: "GPCS";( @1 H% \0 R! r/ }9 z
  608. ; http://php.net/variables-order6 q  Z& d3 A( ~( O; K
  609. variables_order = "GPCS"/ d# I' o9 L' t' ^! P  _4 S2 x6 J
  610. + ?# Q6 d1 [/ _+ ]
  611. ; This directive determines which super global data (G,P & C) should be6 X1 g- K2 T: a
  612. ; registered into the super global array REQUEST. If so, it also determines
    % x. F9 L  a+ K
  613. ; the order in which that data is registered. The values for this directive) y4 k2 S4 N- p1 L9 O7 X
  614. ; are specified in the same manner as the variables_order directive,
    9 u* z* U* k9 \" u1 t' D& I9 D
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ) n; B7 C9 u$ o- ^0 ~) Z( U% k
  616. ; in the variables_order directive. It does not mean it will leave the super9 ?2 V; }2 R! u* Y! U3 U
  617. ; globals array REQUEST empty.0 K) n% J* d3 `" m; v9 O
  618. ; Default Value: None9 J$ a' b, F- `' m; g# O
  619. ; Development Value: "GP"
    $ O/ f" G* w( r2 E
  620. ; Production Value: "GP") i/ e' V0 r  B# m: p0 M
  621. ; http://php.net/request-order3 L; G+ V: B$ x3 q/ W
  622. request_order = "GP"3 q7 t' p* R0 h% l

  623. : d) [- p, ~, l! R0 H' ^
  624. ; This directive determines whether PHP registers $argv & $argc each time it) V" I8 _- i* ]% d- W, K# ^
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    . ^7 c' ^9 E0 W$ j# @
  626. ; is invoked. $argc contains an integer representing the number of arguments
    6 c7 _0 n; x0 t+ B
  627. ; that were passed when the script was invoked. These arrays are extremely6 J+ k8 g5 _: N1 [
  628. ; useful when running scripts from the command line. When this directive is
    3 q; L( S* b4 b9 O
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    + T/ D* g) a% T+ Q3 ~9 }7 g4 I
  630. ; a script is executed. For performance reasons, this feature should be disabled4 I% f( r4 C7 x$ j3 S5 a( l
  631. ; on production servers.
    % n' O9 v$ \3 s+ [, V
  632. ; Note: This directive is hardcoded to On for the CLI SAPI5 d/ A8 ~- L: N. M0 g
  633. ; Default Value: On4 @2 {- x4 X" R8 J) q: y# X
  634. ; Development Value: Off
    $ `5 F9 r, T4 v6 O1 f0 C" g# m
  635. ; Production Value: Off
    * e6 q# c' c; L1 @
  636. ; http://php.net/register-argc-argv+ Q7 K$ _# C9 o
  637. register_argc_argv = Off
    2 O/ q8 W; C$ d( ~  f* q: I  U7 }; n

  638. 2 F: V' f8 H% e
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're& o: I2 X. p5 C0 k- Y1 N- M2 h9 n
  640. ; first used (Just In Time) instead of when the script starts. If these6 A8 n5 g8 M5 {4 q
  641. ; variables are not used within a script, having this directive on will result
    ( Q' [9 M' C( S: a! H, R, X
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled- j* i* o1 k( J6 R3 V
  643. ; for this directive to have any affect.
    5 l) j3 f0 d  E8 e8 y( N6 W) a4 t1 u
  644. ; http://php.net/auto-globals-jit" K% g4 m- {% o/ D2 ], L
  645. auto_globals_jit = On+ _' h  N; L- Z  p5 e

  646. " G# f7 R+ j( \, K( j- p
  647. ; Whether PHP will read the POST data.
    6 h7 L' D% m! i7 @& `- J0 ^9 x
  648. ; This option is enabled by default.
    " C+ Z9 N4 S( y/ c4 |& u
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ' J* p. o: N, l( P% m
  650. ; and $_FILES to always be empty; the only way you will be able to read the  Y8 N- O$ L: P
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    ! k$ ^8 E' J# e
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    5 a  k) k$ J! x1 c7 P  s+ C$ K
  653. ; http://php.net/enable-post-data-reading0 o; _* X% L8 ~6 Z/ Q9 U
  654. ;enable_post_data_reading = Off
    ! v! s7 u5 g  i, R2 P

  655. % L! w/ r1 \3 c# a
  656. ; Maximum size of POST data that PHP will accept.
    . n% S0 X3 t/ g5 f1 V/ q9 E
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading5 a/ h; w* j* {  q  q( B
  658. ; is disabled through enable_post_data_reading.
    % r& \9 A8 S/ y, z  n2 E
  659. ; http://php.net/post-max-size$ g, T0 N# m8 F! Z/ e, `& U
  660. post_max_size = 50M
    - M- Z0 K% ~7 b4 N
  661. 4 q( F8 ~) d5 U2 S
  662. ; Automatically add files before PHP document.! @, r$ Y" L) ~/ }  Y+ O- H
  663. ; http://php.net/auto-prepend-file
    0 `. Q- ~) z+ e) I
  664. auto_prepend_file =* V. S" C4 h6 K  q6 g

  665. , |4 N2 e( r, @5 \* G
  666. ; Automatically add files after PHP document.
    1 i) p! d, U, t0 |/ Q# X
  667. ; http://php.net/auto-append-file) A1 K6 v' S: g
  668. auto_append_file =
    % F6 d+ o$ u! ~* @' ?0 A

  669. - F, e- x3 N3 M3 I3 q/ |
  670. ; By default, PHP will output a media type using the Content-Type header. To8 f1 Q' s5 }' ^
  671. ; disable this, simply set it to be empty." o- ^% t- G: o, t% t1 }: r% ~
  672. ;# h$ k6 Z4 z0 D# t; @1 @4 R0 i9 [1 z
  673. ; PHP's built-in default media type is set to text/html.
    # c' d* S. P% ~* R
  674. ; http://php.net/default-mimetype$ E8 b0 u! x. W6 q2 S, F* v1 ~
  675. default_mimetype = "text/html"
    - y8 W1 S9 v% B5 C$ ]
  676. . U, R( h1 b- R$ i" b& h
  677. ; PHP's default character set is set to UTF-8.* ~" ^4 C3 I  b% ~
  678. ; http://php.net/default-charset
    + J. A( }' d! l0 m7 c( K. R6 ]
  679. default_charset = "UTF-8"7 @; `' J2 x! m& ?' R7 I/ X

  680. 8 ~" c& i, S% h) U+ m5 t* ^0 @/ Y
  681. ; PHP internal character encoding is set to empty.
    ! G$ u8 s( R" A& K+ T& Z6 U. y
  682. ; If empty, default_charset is used.
    " R, M5 T' a3 n+ j! g$ G& C. D
  683. ; http://php.net/internal-encoding
    ! }6 \% e! n3 d3 g* m$ ]
  684. ;internal_encoding =  }1 i, I, c+ [4 H
  685. 7 s. z5 }2 N; o& ~, \
  686. ; PHP input character encoding is set to empty.
    . b9 O& o) Q3 o4 Y$ f
  687. ; If empty, default_charset is used.7 ~: A( Z9 I! X
  688. ; http://php.net/input-encoding  S) \( ]% C9 q  m2 n0 F* ^
  689. ;input_encoding =
    ( j' H- L& N6 I; f6 W6 a* m

  690. 4 r1 b. W! x/ j' l. S
  691. ; PHP output character encoding is set to empty.
    % {0 L" Q: `  ~/ S  ~
  692. ; If empty, default_charset is used.2 p. }' y+ T+ i8 }
  693. ; See also output_buffer.
    : X4 _& [- Q/ _' ~& X
  694. ; http://php.net/output-encoding8 ?8 x: h) n& U+ C) N
  695. ;output_encoding =
    & F& S# S& p- D. j6 E

  696. " \( z4 O* z  v
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ; t1 O( j* @% n+ i9 P; k
  698. ; to disable this feature and it will be removed in a future version.
    9 o# K5 o) h8 m; [
  699. ; If post reading is disabled through enable_post_data_reading,
    6 L8 m% Z* H, C& t
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    8 {/ @& \# @" i+ ^) X( S7 C
  701. ; http://php.net/always-populate-raw-post-data3 p. ~9 i4 A4 Y1 f
  702. ;always_populate_raw_post_data = -1: y3 b5 Z+ s$ B2 q1 m

  703. + t4 h# X3 C4 U
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;+ {7 e$ u6 X6 B( y+ X
  705. ; Paths and Directories ;
    : g* K$ c5 U( p) J; |& u8 q
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;0 r: {( X8 w$ u6 _9 c
  707. % w" ^2 v+ }; f9 ?
  708. ; UNIX: "/path1:/path2"& L5 W! E" f# E8 v2 g
  709. ;include_path = ".:/php/includes"
    2 H3 B. h$ U% S8 v2 y8 x
  710. ;2 _8 \0 @2 O9 p! w# f
  711. ; Windows: "\path1;\path2"+ i7 o9 w  n: |
  712. ;include_path = ".;c:\php\includes"
    & A% l! f; d* `; Y1 X
  713. ;; ]3 l; b- d- \' p0 w9 }0 Q" B
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"( l( L6 J. @* c
  715. ; http://php.net/include-path
    ) C5 W$ G2 u3 r* [" i# ]

  716. ! p; U5 q# s: W0 \$ G% a
  717. ; The root of the PHP pages, used only if nonempty.
    % G; T# I; M5 i( e
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    6 s; I2 B. \2 Z
  719. ; if you are running php as a CGI under any web server (other than IIS)% t& h5 q9 A" m% N7 Z" P8 q
  720. ; see documentation for security issues.  The alternate is to use the
    % h, B3 x* m9 E# A9 R( k
  721. ; cgi.force_redirect configuration below
    - h* A5 ?6 j" _6 t8 L
  722. ; http://php.net/doc-root3 }4 b# ~2 A/ z6 }! z7 W- `0 D
  723. doc_root =5 U0 b$ t9 ^7 i

  724. : S1 v. r& z  \% Q
  725. ; The directory under which PHP opens the script using /~username used only9 ^9 c" m( G$ Q  v4 z5 o) X& H/ u. s
  726. ; if nonempty.: k/ ], q) f5 f
  727. ; http://php.net/user-dir
    , ]7 e8 Q* g5 i' c  w/ I7 R
  728. user_dir =
    + `6 [9 j9 s. U/ F8 g
  729. 9 a4 w5 A( @% w! k; \0 `
  730. ; Directory in which the loadable extensions (modules) reside.* J/ N3 p2 V, S+ U3 {  x
  731. ; http://php.net/extension-dir
    0 N  p8 O6 N* L% y0 i/ h4 r
  732. ; extension_dir = "./"/ Z+ i8 I2 O7 i& }0 o
  733. ; On windows:
    9 [/ D# d# d$ F6 D
  734. ; extension_dir = "ext"
    : O7 i5 [" G8 s
  735. * X! c% X3 N6 R+ s" |1 u6 N. ~
  736. ; Directory where the temporary files should be placed.
    4 [$ U5 l) u  f0 H$ J1 s3 R! Z
  737. ; Defaults to the system default (see sys_get_temp_dir)# M$ C* U( ~, D4 {( G5 r2 m8 C+ g& E
  738. ; sys_temp_dir = "/tmp"
    0 p3 k. D- U" B4 o/ i4 y$ h9 E
  739. ; o1 O! p8 o, g. e. d: ]
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work/ D# J7 ]0 W7 I! S. O+ q8 ~# |# i
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically" A+ j- |2 E1 P% g, `
  742. ; disabled on them.* C( N. g( D6 p0 p3 j1 P! ^% C
  743. ; http://php.net/enable-dl8 G3 j, V2 S+ o5 o% M
  744. enable_dl = Off) f% T5 |/ n5 ~+ e6 J

  745. . ^: i/ u2 b( P; U4 y2 T+ G3 B4 e
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under1 w! ^: [$ R9 A0 k1 T3 V( c
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can' s8 b. X3 H$ a6 J
  748. ; turn it off here AT YOUR OWN RISK* l0 B" \8 d/ Y2 W
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ) r1 V6 `; C- |# [+ e3 E
  750. ; http://php.net/cgi.force-redirect
    * N4 y' N  v  R6 ?
  751. ;cgi.force_redirect = 1( Y! n7 \; M% K" o

  752. / x0 y7 _+ A) M9 p' S4 e
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    / n. J1 v6 N/ x
  754. ; every request. PHP's default behavior is to disable this feature.
    . n9 H$ i0 ?( G3 Z4 i) X6 g
  755. ;cgi.nph = 1* s$ N" Q) k; C! ^* ]' [# r, c* `

  756. % j- h6 v! z4 s7 y, j7 T. Y) d# I
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    1 K, a0 U5 S6 }
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP7 d( [) x! S" P+ }
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY3 E- I5 a, E  p/ K, {( }
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.; Y( L- P1 Q& H( s" e' i: N7 k
  761. ; http://php.net/cgi.redirect-status-env
    : H, |3 k# k5 e  N' @
  762. ;cgi.redirect_status_env =0 b2 M" Z4 C4 q+ n5 d
  763. : N+ p( x' [5 b
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    3 A6 u( l' K4 v! ^6 n& W
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    6 _' P6 I: s! @$ c& z  a
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    % u0 c, x2 i4 F! x4 _# d7 [
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    2 S( p; k9 D3 N1 [( ?
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts2 V$ k& |% d0 A
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED., N0 O! k, q9 L% O* o
  770. ; http://php.net/cgi.fix-pathinfo2 A) T4 {* v2 d9 y6 @) N
  771. cgi.fix_pathinfo=1
    / f. K' l! |+ y

  772. ; [( Y; ]' u+ L8 w
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside! h" }, X, u: t. Q- r. B
  774. ; of the web tree and people will not be able to circumvent .htaccess security.5 ?9 v. O) M; {) z& e
  775. ; http://php.net/cgi.dicard-path" a  z6 q3 ^8 {2 u
  776. ;cgi.discard_path=1# r8 p1 M6 y/ ?7 b

  777. 8 P# y" o1 g$ A7 t: D, ?
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate8 K4 z8 s: x& ]7 y5 {( W
  779. ; security tokens of the calling client.  This allows IIS to define the
    ; h4 t: t' v" ?9 p, d7 G9 M$ r# b. }
  780. ; security context that the request runs under.  mod_fastcgi under Apache. G1 ^3 c" M. I1 t( J/ @# M5 y; \
  781. ; does not currently support this feature (03/17/2002)
    6 ~; [, h, b3 h+ e- p2 z1 o; p& g
  782. ; Set to 1 if running under IIS.  Default is zero.
    ) N! {; U# C2 |* N: t' x
  783. ; http://php.net/fastcgi.impersonate
    ' G- `, o% t' S$ E- C
  784. ;fastcgi.impersonate = 1% ~  ?8 t8 \5 e& e  x6 ]
  785. ; ^6 |) C1 d% l
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    4 f" @! _/ M% q/ `
  787. ; this feature.
    2 N% [( p" _$ y3 B' a( [/ ~  R% s
  788. ;fastcgi.logging = 00 G: i! i; u' W: j# @
  789. : q. X# e( \" w
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    5 k+ q: `* U, q9 g  B4 f6 c, {
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that2 X, W, |, z( k$ i
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    " g. c+ C2 E, r& P+ l. `
  793. ; RFC2616 compliant header.& s( O! |& s& Y! C! C  [
  794. ; Default is zero./ F0 ^3 r2 S/ J3 V/ d
  795. ; http://php.net/cgi.rfc2616-headers; E% e2 c  ]% z( C' s0 \3 e% T
  796. ;cgi.rfc2616_headers = 02 u' q: p0 T% `0 I/ l
  797. 6 A* w+ `: O5 L' N: I2 U+ z, K
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    % U5 v' t( Q; ^3 a3 E  P
  799. ; (shebang) at the top of the running script. This line might be needed if the, u9 o: A- T) ~) j- g9 J
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    / D( s9 J, g6 u  x
  801. ; mode skips this line and ignores its content if this directive is turned on.6 N0 r- X; S6 z, j/ G
  802. ; http://php.net/cgi.check-shebang-line
    % ], D; b- o- D$ P6 ]  h
  803. ;cgi.check_shebang_line=1
    9 R- o- X# |, Y! r# k  L
  804. / `% {6 e; n8 P$ N, P
  805. ;;;;;;;;;;;;;;;;' A& Q5 R7 u; L# Z' q9 T
  806. ; File Uploads ;. R& `' N+ @$ C( ~( p
  807. ;;;;;;;;;;;;;;;;
    ! s2 Z! h- `& d" P' ]( a
  808. : W& O4 ?$ o- |
  809. ; Whether to allow HTTP file uploads.9 u1 c8 r" ~7 u$ w
  810. ; http://php.net/file-uploads
    * H' [; z' D  \* l; t
  811. file_uploads = On7 |1 M! w3 ^, [- A+ b8 q
  812. , K4 e9 F7 C4 ?2 E; M. e
  813. ; Temporary directory for HTTP uploaded files (will use system default if not$ e- D9 |' l+ t. p" W8 K5 s
  814. ; specified).
    # ?: [$ O1 s7 K. j2 S
  815. ; http://php.net/upload-tmp-dir  F" {$ a' D- P0 t
  816. ;upload_tmp_dir =
    - q4 x/ `3 Z: D" J3 U- [
  817. 7 \( b- R+ p, h2 ~5 z( q1 N
  818. ; Maximum allowed size for uploaded files.' P$ Q) P! [2 U, [- P4 l7 d
  819. ; http://php.net/upload-max-filesize
    / K/ {' C+ ~+ z! o) O; z
  820. upload_max_filesize = 50M
    . J; X6 {  F8 _
  821. ) ?1 U& i" Q+ }; ~( J* X8 {
  822. ; Maximum number of files that can be uploaded via a single request5 j( j, P" H/ g
  823. max_file_uploads = 206 S- I4 l) @2 _5 W! Y* i' }
  824. 6 b; o9 w2 }2 J. e5 a* [5 S* ~4 Q
  825. ;;;;;;;;;;;;;;;;;;
    " y; |1 A* v( X
  826. ; Fopen wrappers ;
    / w; p0 m( `& A7 }+ ^
  827. ;;;;;;;;;;;;;;;;;;( E' ~# N5 c) i5 N
  828. - ]- ]& ~/ H+ @- Q5 x/ K5 ]
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.8 T0 M: p# t1 _+ p
  830. ; http://php.net/allow-url-fopen
    ) f0 R7 q  J+ n/ ?% @4 K
  831. allow_url_fopen = On
    * Q: K8 B2 |$ ~. x/ ?

  832. ) [/ v2 H0 B" }) K" D
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.* T4 [6 o2 X7 i& N  v
  834. ; http://php.net/allow-url-include; R7 \" c% Y0 _5 J
  835. allow_url_include = Off
    " h: n$ Q8 d+ f0 `0 Y: j9 I. P

  836. 5 ~; H8 K9 P& f/ R2 k/ Q7 b  Y
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    & X, r) ?' G4 C) ]$ L2 {
  838. ; for this is empty.
    - W; p9 b4 L! R7 B6 P, _. e% d0 R
  839. ; http://php.net/from+ Q" h" W5 n; r: h7 z2 W' C
  840. ;from="john@doe.com"
      \$ e& I6 E. A5 k; E
  841. 9 m0 N# k5 Q$ K; O0 w7 F
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    , Y* z+ T& U, m4 u
  843. ; http://php.net/user-agent
    ! J# @6 [+ r+ G) ^4 X) Q  a$ \+ P
  844. ;user_agent="PHP"9 G& a7 Y$ U' M

  845. 3 \4 Y" Q: l6 V, \+ \+ a# t  _* L8 C
  846. ; Default timeout for socket based streams (seconds)
    ; w9 N9 a: V* ?; E8 R, f- b% g
  847. ; http://php.net/default-socket-timeout
    ; \3 r9 Z) F' t( s8 Y# m- r
  848. default_socket_timeout = 60
    , h  [3 B+ F1 Z6 @' \6 `) C
  849. # S. ~' Z  Z' e  x+ b
  850. ; If your scripts have to deal with files from Macintosh systems,& X2 b" `* L, |$ S" {+ ]( g
  851. ; or you are running on a Mac and need to deal with files from
    0 s0 G* r! b6 l  ^, I% a
  852. ; unix or win32 systems, setting this flag will cause PHP to
    - J" \- V' m: i
  853. ; automatically detect the EOL character in those files so that9 E* y; d$ e( W9 i  u
  854. ; fgets() and file() will work regardless of the source of the file.3 Q4 T0 R. a: v4 f# i3 M8 g
  855. ; http://php.net/auto-detect-line-endings
    3 m. D- Z: q1 w9 h! P2 |" O6 S- z
  856. ;auto_detect_line_endings = Off. T% G  `1 f  r" C' c  t7 h
  857. ! E# I( X) Z6 B: U- m
  858. ;;;;;;;;;;;;;;;;;;;;;;
    5 l- f5 r$ _5 w! Y; m
  859. ; Dynamic Extensions ;
    * [. d4 `& {+ ~& f1 o* |: e, d
  860. ;;;;;;;;;;;;;;;;;;;;;;! N  W8 @" H3 x! r  g' R1 @/ T

  861. / A+ I. \/ P  R. y. B- E6 }
  862. ; If you wish to have an extension loaded automatically, use the following  ]% A$ D, m3 Y1 Z) |3 W
  863. ; syntax:
    . q, t4 v+ u- S3 l) v  k/ A
  864. ;
    : u+ B# R) T4 w3 V) ~9 d5 ]1 j
  865. ;   extension=modulename.extension+ m* N& U/ x3 t: k
  866. ;
    + o/ \0 i" t9 T* |1 n# S& M
  867. ; For example, on Windows:
    + J, S. X9 _! M" H
  868. ;
      W* T! @8 V" s1 o4 E
  869. ;   extension=msql.dll
    8 u, ~; h& G3 s2 d! E
  870. ;0 d8 ~8 m/ e  z) o4 a
  871. ; ... or under UNIX:. W5 j$ @. J6 C: ^
  872. ;
    ! O$ a& y% U5 A+ H; v
  873. ;   extension=msql.so- _4 M7 Y' P- j2 {; v9 n( Y) b
  874. ;' B0 D4 @/ x1 |
  875. ; ... or with a path:
    : U2 q0 r8 @# E: `
  876. ;: c" r" x4 T2 ~4 x2 |6 z
  877. ;   extension=/path/to/extension/msql.so0 J: U% e* ^& R7 n! t0 C
  878. ;
    - O$ a/ T6 F2 p' P5 T$ }
  879. ; If you only provide the name of the extension, PHP will look for it in its; \4 u& |, o0 F9 A3 L5 g; T
  880. ; default extension directory.9 m( c5 i# t/ ^0 U& @7 ^
  881. ;
    % h3 }9 y" F7 n& Q8 ^7 W
  882. ; Windows Extensions
    + ^8 i* q4 X, Q
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ; X. o2 K2 A' L7 |" H: L3 J
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    + Q: p( a9 B& G& H" A
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).& e% Z: ]2 D0 \* t; F' m
  886. ; Be sure to appropriately set the extension_dir directive.; C9 g- o9 S) z/ j
  887. ;5 ]. t6 H- a  W: L
  888. ;extension=php_bz2.dll: y% L# [; m% L* d8 K  L0 l: S5 f
  889. ;extension=php_curl.dll1 _4 V2 \8 e1 D7 D7 W0 P+ r
  890. ;extension=php_fileinfo.dll
    . M1 Z  T: {  v! X$ n  F+ o
  891. ;extension=php_gd2.dll  `; B$ Q3 i* U' e/ }" [, \% d
  892. ;extension=php_gettext.dll
    7 n. V( a+ o; T1 m# ?
  893. ;extension=php_gmp.dll
    6 P$ E. P9 g+ e6 ^' ^
  894. ;extension=php_intl.dll
    $ _' }2 F( K& x! M
  895. ;extension=php_imap.dll
    + l0 s; {/ s1 B8 Z! ]  [' ]
  896. ;extension=php_interbase.dll
    , S4 i2 o# I) T5 g  [' a  m
  897. ;extension=php_ldap.dll9 a4 q' @7 A' q2 L9 N
  898. ;extension=php_mbstring.dll
      G  A1 Q' i( l2 H
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it) N- s% Z: r$ ^6 M4 ?1 C5 s4 B
  900. ;extension=php_mysql.dll( G+ A+ Q* w0 ~) D9 v
  901. ;extension=php_mysqli.dll
    5 O6 [+ R. [2 q2 L' F7 E! {: C
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client# @) r4 [1 \" ?4 |0 X
  903. ;extension=php_openssl.dll
    / P" C. ~/ |( E, o) v8 X
  904. ;extension=php_pdo_firebird.dll
    : b) G4 U; M2 a+ J- O
  905. ;extension=php_pdo_mysql.dll3 O( G+ V  ^7 _+ q. x  g
  906. ;extension=php_pdo_oci.dll
    ) |: R  u# v, z" z
  907. ;extension=php_pdo_odbc.dll
    0 o2 e( w3 A# p3 u  j1 Z1 ]
  908. ;extension=php_pdo_pgsql.dll
    1 V, \' ]: }9 P( j+ f
  909. ;extension=php_pdo_sqlite.dll
    3 H) I3 N1 y) c. D+ J
  910. ;extension=php_pgsql.dll
    7 f* n& q! U" \' ^* ~) A; D3 e
  911. ;extension=php_shmop.dll
    * N: w% n/ t2 K0 r
  912. * X$ \* X' L& g9 [; J9 N
  913. ; The MIBS data available in the PHP distribution must be installed.
    * U0 ]: X# B1 |: a& ~( I3 i/ x# M+ O
  914. ; See http://www.php.net/manual/en/snmp.installation.php " Q/ s- ?" h2 `
  915. ;extension=php_snmp.dll$ r1 y, g) C" h- H7 f9 {# H
  916. , i2 `/ a2 B) i9 `7 Q8 B
  917. ;extension=php_soap.dll% r8 H1 x$ f# D7 x6 i7 ^* U
  918. ;extension=php_sockets.dll
    1 t$ n0 C7 ?2 c7 |( P. H/ L
  919. ;extension=php_sqlite3.dll
    8 h' q" A. n9 O4 P) S1 M
  920. ;extension=php_sybase_ct.dll
    0 [/ e% ~' G: I
  921. ;extension=php_tidy.dll
    # U! f5 p( X9 K* H- n
  922. ;extension=php_xmlrpc.dll" p& r7 X( T. F) C' r
  923. ;extension=php_xsl.dll
    # r. _: ~. E9 }

  924. 9 W. A; ?) Z1 @$ O! O: V
  925. ;;;;;;;;;;;;;;;;;;;
    # t3 K; }6 E9 C, F/ w
  926. ; Module Settings ;
    * F: l  h" p' l8 e  d" n( G# M; k6 c" l; A+ O
  927. ;;;;;;;;;;;;;;;;;;;/ r& R6 N- p  T8 m2 Z

  928. ! H! o7 X  o$ Z) k# _5 {
  929. [CLI Server]
    ; h+ m+ ^) S1 d7 Q& G
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    + G: Z5 W: A; f2 Z; b+ P; K& M
  931. cli_server.color = On4 W6 L" L% A- u

  932. - q) H$ d. y. m
  933. [Date]1 C) _) T, e$ f) |" y! K
  934. ; Defines the default timezone used by the date functions
    ! s: r6 ^7 g& W: [; f
  935. ; http://php.net/date.timezone
    ( y4 a% m2 }7 C0 E
  936. date.timezone = PRC$ H6 o9 g' V, R: E. P% c+ E

  937. ( g  ?/ B$ \% l* x' a
  938. ; http://php.net/date.default-latitude" Y! |' j- C$ \6 ~) t% V( ~6 c
  939. ;date.default_latitude = 31.7667
    $ Y0 D9 T  }( i

  940. * w: E/ H, U# G; G  q
  941. ; http://php.net/date.default-longitude
    , i9 n# A0 u0 D" C
  942. ;date.default_longitude = 35.2333
    6 ?) y3 l! P) r1 @) I3 i3 p3 O

  943. ! P3 f. g: E6 ^
  944. ; http://php.net/date.sunrise-zenith
    3 M1 y6 R7 h1 ^& T- n2 Z
  945. ;date.sunrise_zenith = 90.583333
    $ a. _) z( w; b: y' ]! T& s/ w( B: r' F
  946. 9 d- ^+ Z- H0 K2 Y, Q% h
  947. ; http://php.net/date.sunset-zenith. w% \% Z+ m( i8 _# |& m+ P; Z2 D
  948. ;date.sunset_zenith = 90.5833338 ]4 ?0 h" n1 Q' g9 s! A" D' n
  949. - U0 S3 [' W8 W, \5 D8 ?0 H
  950. [filter]' T  R* c- z. a* r  W% S3 Q
  951. ; http://php.net/filter.default/ G4 N2 y! t7 y0 z) u& V/ w
  952. ;filter.default = unsafe_raw1 v# A' f8 j6 h5 u* P# b
  953. 5 ?7 v9 G( F8 B7 d9 n
  954. ; http://php.net/filter.default-flags
    6 ^' s9 j2 {! A5 ]& Z  M
  955. ;filter.default_flags =
    8 `: _) a. L, l

  956. - n" }( A& w4 T# y: m
  957. [iconv]
    * D8 e7 Z! o/ D* n7 \! z$ [
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.2 R8 T# Y  Y4 K4 ^7 \/ y( t+ q  C( N
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    2 u) ]2 d" i$ y' \1 \. M9 e, I
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding! f. x# \. `& l2 e/ [7 d  q, R1 c
  961. ;iconv.input_encoding =, U! _" o0 J) l- A7 \: H8 h9 r% z

  962. ; k# l0 a3 P, l
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ( e+ R, {% c) o  k9 {
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used." F6 O& K6 j# f
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding1 {- z1 J2 x, [; r# k
  966. ;iconv.internal_encoding =
    , _; x, K: e, J7 E

  967. ; C7 q% ]7 q7 R4 s! z
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.# D3 O+ R' W7 @- m" d
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.7 h6 M2 n( f6 g: U. l: ]
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    1 h2 Q( ^5 B: N0 |
  971. ; To use an output encoding conversion, iconv's output handler must be set+ H  Z  G% r" q1 Y  g9 U
  972. ; otherwise output encoding conversion cannot be performed.5 J2 H  @$ b- g
  973. ;iconv.output_encoding =
    * x2 F7 I1 U+ p# r. W& [8 `# ^
  974. " J; n7 H3 i' \$ \5 w& A4 J
  975. [intl]
    ! c1 j5 `2 K) F3 E5 F; [& J
  976. ;intl.default_locale =
    5 r/ M8 r- b. G$ ?1 q: k
  977. ; This directive allows you to produce PHP errors when some error+ q. |2 M9 E1 A
  978. ; happens within intl functions. The value is the level of the error produced.
    : B$ O/ t& t0 n* W8 {- }
  979. ; Default is 0, which does not produce any errors.
    , ^" l) x6 ^! A% G' F7 a
  980. ;intl.error_level = E_WARNING. R) W, v/ w6 O9 E, n
  981. ;intl.use_exceptions = 0, O7 ~4 i$ [9 R. x! u) ]

  982. . X+ {6 m0 l+ Z# O: A# U
  983. [sqlite3]
    3 N0 r- C$ L9 ]8 D- n; K1 {4 A
  984. ;sqlite3.extension_dir =
    * g7 R. F- l: H  m0 F* ]

  985. 2 n7 ~8 t4 v4 P" T6 B  C5 L# h
  986. [Pcre]
    5 y. ^* }# I7 f1 g$ G; ]3 A
  987. ;PCRE library backtracking limit.) j6 x8 ?# k% @7 W7 I! A- g
  988. ; http://php.net/pcre.backtrack-limit4 u0 a1 g8 P8 R# U% g* M# Q& |* |
  989. ;pcre.backtrack_limit=100000
    4 l$ `7 m' L* _4 \# ^; z- v
  990. , ~3 ?6 O& U! ?9 f, a/ R
  991. ;PCRE library recursion limit.
      i; R) b% B0 f1 x9 W7 I! y# a0 j
  992. ;Please note that if you set this value to a high number you may consume all2 {6 [2 c* }' a2 B6 z9 i6 N
  993. ;the available process stack and eventually crash PHP (due to reaching the
    " b5 J1 r. p) s3 A
  994. ;stack size limit imposed by the Operating System).
    8 D' d3 u" L) [" u- P! q5 u0 `/ v5 U
  995. ; http://php.net/pcre.recursion-limit8 b; _6 v* X7 h# s! \
  996. ;pcre.recursion_limit=100000
    , P$ s4 `/ s( K$ H1 L, ~( e
  997. % B: D* c7 m, \, U' B3 B% k
  998. [Pdo]
    - S0 n3 C/ V" Q( i' P( R; M! P: g! N& `
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    5 J, O0 t/ a; S6 l" l& u
  1000. ; http://php.net/pdo-odbc.connection-pooling
    1 L! Q& y6 y5 ~4 t; ~
  1001. ;pdo_odbc.connection_pooling=strict
    ! P0 \: `: O& Q8 l7 s( T

  1002. - ]$ S' w2 T3 b$ N* X. F, v
  1003. ;pdo_odbc.db2_instance_name* d4 P" W  d. r  M5 P+ Q

  1004. 9 R1 S/ t; b6 v/ T- m4 h
  1005. [Pdo_mysql]* ~( |- y8 S0 r% C
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache1 o6 Q8 A4 X# h8 ?
  1007. ; http://php.net/pdo_mysql.cache_size; F0 p; v- r/ I9 r) V' _7 V
  1008. pdo_mysql.cache_size = 2000
    0 s: h: `5 L* C" z9 E7 ?

  1009. + R, y# c  K' Q6 J/ o
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in: c* y. n- w! i) K8 a6 _
  1011. ; MySQL defaults.
    9 Z- x: ?$ T% m9 i% `6 \
  1012. ; http://php.net/pdo_mysql.default-socket
    8 A/ b: p0 F. U$ t  Y# @
  1013. pdo_mysql.default_socket=1 l- S" j# A! I4 e0 D
  1014. 8 x* s: o( q. j& K0 T9 f
  1015. [Phar]
    % N) S. ^# V3 d4 q7 G% ~6 ~. U
  1016. ; http://php.net/phar.readonly
    ; s9 {: @: D4 ~  `( R) P1 V7 t
  1017. ;phar.readonly = On
    9 W* W1 V0 I/ A7 s( t+ c1 k- K" s
  1018. 6 y, H# j& U% G/ h4 k
  1019. ; http://php.net/phar.require-hash
    0 L( y6 ]+ x: A0 q1 l+ U/ i
  1020. ;phar.require_hash = On& D# R% C% K% ^
  1021. - a. w1 d4 J9 X. m
  1022. ;phar.cache_list =# B2 Y/ h: l9 ]8 S! O
  1023. " j4 q6 c) h; m
  1024. [mail function]! f( N/ `1 N  R% C, ~0 f3 t
  1025. ; For Win32 only.; p$ O+ Y/ _& K7 y
  1026. ; http://php.net/smtp+ `; T, c' U+ g$ Y) [& `
  1027. SMTP = localhost
    8 }1 m* Z5 U3 z2 ]7 F( O1 y! o
  1028. ; http://php.net/smtp-port
    % E& Z) e7 \( U& g4 s
  1029. smtp_port = 25
    5 _; i& z6 c5 ?9 \/ l# E/ f

  1030. * q2 F3 F, T. p# Z
  1031. ; For Win32 only.
    7 x5 O/ e0 x" U7 q# Z' p0 Z
  1032. ; http://php.net/sendmail-from
    $ L" x+ ]2 V* Q9 K  J3 N
  1033. ;sendmail_from = me@example.com( M/ M3 h, @+ `0 v
  1034. ; g5 G+ o  `3 n8 W- E# e+ e
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    2 q& c" H" |/ M+ b' V& V3 v
  1036. ; http://php.net/sendmail-path" F  X% K; g$ u! N5 j; H- i
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    % A- I! `& N; @, A, g
  1038. ; \3 |5 ^" Q# v
  1039. ; Force the addition of the specified parameters to be passed as extra parameters" S+ o3 U7 \( P
  1040. ; to the sendmail binary. These parameters will always replace the value of8 Y" {5 I! L9 Y
  1041. ; the 5th parameter to mail().
    7 @" y/ x4 w- k/ q8 v
  1042. ;mail.force_extra_parameters =
    # K! r9 }* X$ j! N

  1043. , i  P4 t; e  l4 w8 `
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename0 b9 M( I( J9 f% ?# E
  1045. mail.add_x_header = On
    1 F' N5 B) j- n* K& e

  1046. 7 W$ ?( S6 p7 l2 ?. h& M/ n
  1047. ; The path to a log file that will log all mail() calls. Log entries include" [9 L! z: H& A0 H: ~
  1048. ; the full path of the script, line number, To address and headers.
    " ]5 Q2 q/ W! b5 Z) Y) {1 v
  1049. ;mail.log =; e" q; B6 x2 }0 u
  1050. ; Log mail to syslog (Event Log on Windows).
    4 N! j5 w& {% y
  1051. ;mail.log = syslog0 J9 s9 q7 y3 S2 l. l; a
  1052. 7 ?: ]/ ?- |" M" J8 x6 [7 o
  1053. [SQL]
    - S4 t$ F- c* E
  1054. ; http://php.net/sql.safe-mode
    ' [- i6 t$ w8 P2 {9 x- j* U# J
  1055. sql.safe_mode = Off; i; \' M$ q# D9 l4 ?/ A5 Y
  1056.   L0 f/ g" o' K, S5 H8 _
  1057. [ODBC]( z& J9 c0 f8 e1 T$ y
  1058. ; http://php.net/odbc.default-db7 C9 K2 P8 X) c# Z- Z. q
  1059. ;odbc.default_db    =  Not yet implemented
    6 M, K/ t+ @+ Y: k5 ~! P: `4 x

  1060. , O% t9 F& p  ]' j3 S; J
  1061. ; http://php.net/odbc.default-user
    $ a" Z# }2 h7 H$ W- e
  1062. ;odbc.default_user  =  Not yet implemented
    7 e' y% \& J: }* ?$ k2 Q3 b5 p/ l

  1063. # _# K+ Q) o9 D9 I  U, K
  1064. ; http://php.net/odbc.default-pw# e  z& t9 Y' O5 B0 [, l( I1 t4 x
  1065. ;odbc.default_pw    =  Not yet implemented6 {0 `) H. L7 P

  1066. 8 H4 n0 Q* B( ?' S! E* o, X( q
  1067. ; Controls the ODBC cursor model.
    6 X# }* E* m2 O
  1068. ; Default: SQL_CURSOR_STATIC (default).- r/ ]1 k+ o$ {& w8 H
  1069. ;odbc.default_cursortype
      g  g- o0 d) @: @3 M+ V, O5 L( i1 H

  1070. # E0 j* c  l6 J- Q+ W1 x
  1071. ; Allow or prevent persistent links./ S" d8 L. k, K6 `6 h* R
  1072. ; http://php.net/odbc.allow-persistent, |0 t4 t: d. w4 F. Q( K3 r2 @
  1073. odbc.allow_persistent = On
    - C+ T/ ?. n1 l" g
  1074. 0 W1 ]' F- V5 i
  1075. ; Check that a connection is still valid before reuse.
    ' D9 P0 P6 @  }! a3 x3 l) y, ^8 t
  1076. ; http://php.net/odbc.check-persistent
    5 P2 f& O  I0 p8 z0 C6 b
  1077. odbc.check_persistent = On1 Z2 v  V' z6 A+ ~
  1078. 4 H5 I1 K1 p4 K: p& y, Q
  1079. ; Maximum number of persistent links.  -1 means no limit.# P4 O) F) U, w1 Y3 Z$ m) E
  1080. ; http://php.net/odbc.max-persistent
    2 V8 b. i4 S2 a( }) H$ N) Y/ ]
  1081. odbc.max_persistent = -1
    ' @8 O& B+ s8 J! D+ Y
  1082. 0 Z+ V. d* W# M: s$ E, s
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    9 ^2 P* N. z: k# c/ O4 e$ J+ G, Q
  1084. ; http://php.net/odbc.max-links5 ^( F' O- K. [; a3 ~# `
  1085. odbc.max_links = -1
    1 ?0 U7 ^8 X  ^
  1086. / |# C1 c: v* }# k& I. [0 u
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means* t- x. \0 {) F4 R( z
  1088. ; passthru.$ L3 |) t/ P& K( h6 `. I; ?
  1089. ; http://php.net/odbc.defaultlrl
    $ y5 B2 ?7 c0 K6 a; X. `' z' v
  1090. odbc.defaultlrl = 4096
    0 }" n- q0 ]0 m0 v0 t: b
  1091. , t. o8 f. A) F1 A: x7 G- f
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    5 ?: H3 P0 x- G: L
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation7 u6 L$ P( {/ c
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    - V8 P" r% `+ X1 |2 Q7 G; V  C' H6 h
  1095. ; http://php.net/odbc.defaultbinmode1 }  s$ }0 V- \0 L2 u3 ^
  1096. odbc.defaultbinmode = 1
    0 N6 w: r: }# j% D5 x. {2 Z& g
  1097. ) c( L% N* y) M: |' j
  1098. ;birdstep.max_links = -1
    % u$ w, v! Z/ b8 j0 z
  1099. . V$ p$ h3 [) q) W/ {$ m9 r* |
  1100. [Interbase]
    0 t5 B9 c8 I1 \% \5 }. E9 ?3 L
  1101. ; Allow or prevent persistent links.
    ' \0 x, G) Z# d7 l8 @5 N+ G
  1102. ibase.allow_persistent = 1  z% ^1 ]3 W) B+ f& n
  1103. 8 _& U- w- ~: v: l$ c* T1 L; Z
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ! [8 H7 L  S; e5 S$ {& h( X
  1105. ibase.max_persistent = -12 E5 }( _8 b3 A% w+ |8 k) s
  1106. . H+ j9 h- _% y
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.5 f; Z2 p$ s: D  m& @" S" }
  1108. ibase.max_links = -14 T# l$ N2 D( `# E$ U# G. y

  1109. ( h' r% r' m: V/ i5 l% V6 @! x
  1110. ; Default database name for ibase_connect().! x+ T8 ]1 _8 Q
  1111. ;ibase.default_db =+ O5 A  `( T% d! Z2 D
  1112. ( L3 U' Q" R; B
  1113. ; Default username for ibase_connect().7 T, C9 x- h# r& }5 V: W+ P% m7 ]! j, J
  1114. ;ibase.default_user =
    1 k, S: g7 G; g2 _* p+ v
  1115. " S' ^1 g4 f2 @# U* b# i
  1116. ; Default password for ibase_connect().
      g3 w% \# M6 u" q; k% D
  1117. ;ibase.default_password =
    9 z: G7 v6 R. ?+ g
  1118. & t# h# m$ ?: p4 {  }: i4 s( h9 }
  1119. ; Default charset for ibase_connect().5 @1 x5 N8 Q0 H3 R
  1120. ;ibase.default_charset =
    8 U8 @) I( t  v: e1 y
  1121. & \' Z: p- v, D. Y( P! H1 x/ c( t4 |
  1122. ; Default timestamp format.
    5 f& k: ^% R0 A6 A/ w, v& L/ N) ~
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    3 b( O. W( _& f/ {$ i/ M5 v* @) q

  1124. ; m# F4 k  g9 Z# b4 d* }
  1125. ; Default date format.
    4 B9 o9 o- s' C  ?! o
  1126. ibase.dateformat = "%Y-%m-%d"5 g% `# k$ W. Q+ l
  1127. ; |# M8 O0 C+ w8 m) h
  1128. ; Default time format.) k; j- v, d7 S& ?
  1129. ibase.timeformat = "%H:%M:%S"" y+ c, g( u5 p$ x2 R  W

  1130. 9 F& A' r$ M8 h! m- C& q
  1131. [MySQL]4 K# [5 |. i1 `$ R; c1 \
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    : R9 E6 y- s, A! ~( x+ P
  1133. ; http://php.net/mysql.allow_local_infile  n2 t4 l, c% I4 r4 T+ e
  1134. mysql.allow_local_infile = On
    9 K/ m8 n& F6 A1 F' R
  1135. + R2 n: i5 i$ E* f
  1136. ; Allow or prevent persistent links.
    ! o  N7 a$ c4 s6 i
  1137. ; http://php.net/mysql.allow-persistent
    & j+ l$ E2 e1 I4 {
  1138. mysql.allow_persistent = On
    / k' a3 s) ~+ J. d5 }

  1139. 1 _9 t$ m3 Y, B+ ~
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache% a0 L, J: u6 ^
  1141. ; http://php.net/mysql.cache_size
    + d, {& f8 I, L5 f
  1142. mysql.cache_size = 2000
    . {1 v- E" V: j1 j! w

  1143. ) n, P+ S6 c$ Y/ x- Y0 U
  1144. ; Maximum number of persistent links.  -1 means no limit.
    ( W8 x- K3 i( [0 g3 J$ M$ d
  1145. ; http://php.net/mysql.max-persistent. ]9 ]/ V+ t; b' K( Z3 J
  1146. mysql.max_persistent = -1
    $ g4 o; k/ b+ }  |5 I: R- w
  1147. ! p. T3 c$ c! R) Y- a3 p
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    - F9 K% l0 v; d: a  |4 q) G
  1149. ; http://php.net/mysql.max-links. a( G) e0 U' x' e1 X* x2 n3 L
  1150. mysql.max_links = -1/ h4 J& f# `" P+ c; \) \; n  V
  1151. * ?: g9 @  K% D; i. Z; f' {1 V
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    + `9 q% U. G% {/ I: D
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    0 m3 g+ J9 T9 k& D- q# D4 H3 X) O4 L
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look( W- u7 d+ t) P. p4 l
  1155. ; at MYSQL_PORT.
    1 q/ D; w; `* N1 S, g
  1156. ; http://php.net/mysql.default-port1 u% ^# D$ U7 |$ v1 v' f: S1 J/ @( i
  1157. mysql.default_port =$ t# H  \* u$ D% _; A& y7 `' b2 \. {
  1158. & S! D9 O% A9 a! Y& [( u1 [, p
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    3 X( Q) ~$ V6 j# b( s5 j% ^
  1160. ; MySQL defaults.
    $ Q  U' j' p, p3 X% ?
  1161. ; http://php.net/mysql.default-socket
    $ t$ d6 g- l4 z' w
  1162. mysql.default_socket =( ?* p7 n! H0 M- S
  1163. % {5 S: n: @! F, Y" w; y
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).! ?8 X3 e5 C6 Y0 y1 A7 ~0 Z
  1165. ; http://php.net/mysql.default-host& |# H3 D" m  @4 `; o
  1166. mysql.default_host =
    & p  V8 y) l8 d9 }
  1167. * Z% {  m) H) x+ X4 L
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    & r6 b! s& H# D
  1169. ; http://php.net/mysql.default-user
    " {) f" X9 P6 e; o, u8 v% y0 `
  1170. mysql.default_user =7 L& t8 ^1 z/ K% Z4 y; ?
  1171. $ O$ }2 L* t; v- T
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    5 O  d: D! @( F; j7 j
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.( r9 L, B! ~) a
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    7 P6 Y  O( L/ c* Q/ M
  1175. ; and reveal this password!  And of course, any users with read access to this$ `& t8 ]2 a4 Y" X8 c
  1176. ; file will be able to reveal the password as well.
    2 t* t# G) H+ U' J  q! q8 B
  1177. ; http://php.net/mysql.default-password/ ]- m" C& b8 x' l# T
  1178. mysql.default_password =
    5 O; O* E% Z0 V6 u
  1179. 0 V" w- I+ t; K7 a
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    . P( I( W' ~4 v8 T3 R
  1181. ; http://php.net/mysql.connect-timeout
      `8 d+ ?1 G9 [% t* u" z
  1182. mysql.connect_timeout = 60
    ) j& d" |2 L( G7 D! N/ ]( ?, s' ^

  1183. ; S5 e/ M  ?. A* G) q
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and% x' C* {3 w; Y$ x8 q" ~8 _  J
  1185. ; SQL-Errors will be displayed.1 a5 @+ `. {  X5 U* E! ?
  1186. ; http://php.net/mysql.trace-mode
    & B' V3 H: |% [5 m. I9 w5 P
  1187. mysql.trace_mode = Off
    " L7 \- y# Q/ d$ ~  i

  1188. " j5 X7 z1 D; N
  1189. [MySQLi]) a( S5 o' ~. U. v

  1190. 1 a2 K9 h  s/ t$ c
  1191. ; Maximum number of persistent links.  -1 means no limit.
    4 o- \& ~  @2 `2 \& b, i8 W  B
  1192. ; http://php.net/mysqli.max-persistent
    0 G* A/ j. P9 d0 O
  1193. mysqli.max_persistent = -1
    & r; r; P: ]6 ?" t- D3 a# L# ?
  1194. " F8 n. [4 V8 E# N& T  f! Q
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    2 ~+ u1 E! T! w! u9 D0 C0 v
  1196. ; http://php.net/mysqli.allow_local_infile
    " p. t2 [: T/ g+ u8 J, [: G
  1197. ;mysqli.allow_local_infile = On  m: [, X* O7 r3 @8 A& w# ]" n" c

  1198. : j1 T) b+ y% Y( A( k
  1199. ; Allow or prevent persistent links.
    ! x# z, ^* c8 v, W
  1200. ; http://php.net/mysqli.allow-persistent
    7 y5 B8 w0 i- c9 q! Z
  1201. mysqli.allow_persistent = On
    * P/ U8 h' J  L" n( h! K
  1202. + Q) M' A* {) K" T
  1203. ; Maximum number of links.  -1 means no limit.3 z9 b+ [' n+ s7 ?( k
  1204. ; http://php.net/mysqli.max-links; y; r6 W* _1 {9 P" W
  1205. mysqli.max_links = -1
    , @& d/ k# {! r: Y
  1206. " |0 y7 N# O% f3 x% c% U5 h
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache  l) p: G" k  L( k" s, z. H9 \7 e
  1208. ; http://php.net/mysqli.cache_size; T& [, t6 |& r; e
  1209. mysqli.cache_size = 2000
    * i! @0 A4 h9 J& R  R
  1210. $ n: M5 L" [! a) A* [% p2 u
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use" @6 m8 l9 s6 G/ W
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the  S) ^1 L: z2 ~/ v( F# H  H
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    4 ?# H9 d) C% L3 w- L9 T/ S3 c
  1214. ; at MYSQL_PORT.
    # U. X; w- r; ^3 z
  1215. ; http://php.net/mysqli.default-port
    % h; b7 [& w0 q7 P4 C
  1216. mysqli.default_port = 3306
    * o8 x7 E' m& i& q
  1217. $ q) M0 ?4 j  @
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ' z! Y+ @- @7 J* e( R3 [! k/ G2 ~
  1219. ; MySQL defaults.
    8 v9 H" T5 P+ x% B  z. t: U
  1220. ; http://php.net/mysqli.default-socket( Y6 Z: c2 [, `. q' P8 Q% ^3 V
  1221. mysqli.default_socket =
    1 `% t9 g2 V1 D$ i; n5 P2 @+ U

  1222. 5 C4 I' ]. B& O
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    " H/ N1 _6 @+ r  }  E. ~4 G
  1224. ; http://php.net/mysqli.default-host- g2 Z4 {" p6 G6 C4 _: {
  1225. mysqli.default_host =
    ; t" j/ T, C* z+ E
  1226.   \# {7 ~2 D/ v# L* E0 X9 K
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    * \& C2 D/ u' `
  1228. ; http://php.net/mysqli.default-user% v3 Y) G2 k4 t) k
  1229. mysqli.default_user =
    9 M. K& f6 S" @- ~* c1 b

  1230. 7 ]; e: `/ m  I2 z1 `# ~
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode)., F: O8 {: Z0 ^& b4 u. `
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.& F) d7 g4 p) p: w0 r% X) S
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    , F' ~- B/ y% @/ F# H% @
  1234. ; and reveal this password!  And of course, any users with read access to this* o# s$ O  l: i# Q$ @: D- H
  1235. ; file will be able to reveal the password as well.
    - b: I6 p: M* H# Y" }2 @
  1236. ; http://php.net/mysqli.default-pw
    " J/ X: V6 t6 ?1 L. Z# E5 q. Z
  1237. mysqli.default_pw =' A1 S9 {: q2 k( ]* i$ \, F3 P

  1238. . J( P, p7 L2 B" a
  1239. ; Allow or prevent reconnect
    3 h  I+ @% S" M3 i- }% f( P
  1240. mysqli.reconnect = Off! W) z0 t  |; x# u
  1241. 8 L6 ]" z- ]% J
  1242. [mysqlnd]/ X: l1 M0 _& q* ^
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    & l2 l: J; M' I
  1244. ; used to tune and monitor MySQL operations.
    / O8 ~* H! A. c) K& R
  1245. ; http://php.net/mysqlnd.collect_statistics5 a% r. u: D+ f; q: `* p5 \; H( s: r
  1246. mysqlnd.collect_statistics = On# s0 @/ }6 K  w# b0 e* C
  1247. / }  g( ]0 [4 ?& H
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be0 i" J6 [+ W- t* H! {% `- h
  1249. ; used to tune and monitor MySQL operations.
      c# }& }( ?# n  d, l
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    + S3 G; s) X; }; T2 P3 r2 ], h
  1251. mysqlnd.collect_memory_statistics = Off
    $ W% `2 D( X+ e0 @; u$ w6 H
  1252.   s3 w9 E: k: v3 P6 z0 Y
  1253. ; Records communication from all extensions using mysqlnd to the specified log6 y$ B8 a6 v6 I  X& E
  1254. ; file.  C( L5 h0 ~* z- K$ W& o4 W7 d
  1255. ; http://php.net/mysqlnd.debug
    - }, s% F% |: g; k9 k, o
  1256. ;mysqlnd.debug =
    4 m% g; {/ |" T8 Z; \+ |- J( s
  1257. " ]& p1 ?9 R: d  r0 J8 L
  1258. ; Defines which queries will be logged.: h$ Y7 @( V: }$ a: B" w% E
  1259. ; http://php.net/mysqlnd.log_mask( [1 d  g6 k% O$ J1 W
  1260. ;mysqlnd.log_mask = 0- d# P/ J, o6 g0 G) M1 O
  1261. * S3 i1 S. k* e3 ]+ _
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ) J+ R+ h# p# c- {- N5 Z
  1263. ; http://php.net/mysqlnd.mempool_default_size. @; c* x. }' d0 M9 n9 K
  1264. ;mysqlnd.mempool_default_size = 16000- S3 f5 l# Y* l5 L; ?

  1265. + U) G  r: a6 k( k- n
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    4 N% ]; Q& ^7 B+ l4 p
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    . ^: i( g0 l- _/ N4 o
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    3 ]7 }; q+ b) c5 j
  1269. - ?( O2 B  J/ Q8 P' C* \+ S
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in  N& l' B, s( N+ G( w
  1271. ; bytes.8 o7 h1 B& Z; q+ h$ u/ U4 D; I
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    - |% p0 F+ P, n. U# Z5 c- @
  1273. ;mysqlnd.net_read_buffer_size = 32768
    7 Q* P' S6 ]+ P* ~

  1274. " q1 K' c! z4 k. W
  1275. ; Timeout for network requests in seconds.
    5 A# Y. t0 B- ]  }% G' Z+ E+ |
  1276. ; http://php.net/mysqlnd.net_read_timeout
    2 @% ]% `& F! z& n3 O6 a& H8 x
  1277. ;mysqlnd.net_read_timeout = 31536000
    1 h- u0 R% {( e
  1278. 3 b6 l. b7 S( q/ [0 x3 |
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    2 o/ Y! O8 b) a
  1280. ; key.
    0 n) x' z- q! j
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    ) h; I) C6 w7 x0 o3 h! u( R% X
  1282. ;mysqlnd.sha256_server_public_key =
    + V2 Q9 x: V4 w* B+ c  c: g- C

  1283. % V' X' \1 g, W! z  u/ g% i- u
  1284. [OCI8]
    " @( K' O) @1 e8 u+ a( \0 z
  1285. * a6 c4 T) |/ U7 H# S
  1286. ; Connection: Enables privileged connections using external# P, O* }" o" ~1 \
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA); N) {; I# l& A
  1288. ; http://php.net/oci8.privileged-connect
    0 c% ^1 z' h( m& i
  1289. ;oci8.privileged_connect = Off
    / E+ ~  S' m7 h# s
  1290. , D, n; b1 s  d7 d, l$ [( u  m- h- v
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    ( U* K; ]- t% ~* h/ F  w- ]* _
  1292. ; process. Using -1 means no limit.
    , P0 L, z% L& ?+ I7 i8 c) F! O; E
  1293. ; http://php.net/oci8.max-persistent2 d8 b6 ^5 Q6 r: O
  1294. ;oci8.max_persistent = -1
    $ ]! b2 z0 @; e/ Z" u

  1295. 2 w% H' ^: t2 X
  1296. ; Connection: The maximum number of seconds a process is allowed to7 q7 |1 ]$ a0 n: w
  1297. ; maintain an idle persistent connection. Using -1 means idle
    " u! u8 ^+ X  X2 G6 p; v
  1298. ; persistent connections will be maintained forever.
    + T5 ~9 X2 N7 q. h, |8 r
  1299. ; http://php.net/oci8.persistent-timeout- c6 D* Z3 k6 Q
  1300. ;oci8.persistent_timeout = -1. K7 D/ p' I3 a2 [$ \* S( r& w( D
  1301. & h8 r2 X' F9 m
  1302. ; Connection: The number of seconds that must pass before issuing a6 U2 e; B4 r, i1 ]% [; z
  1303. ; ping during oci_pconnect() to check the connection validity. When
    " ?4 j- P5 x0 \. e" {2 W# T
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables& _/ [$ o& Z3 O, S6 e
  1305. ; pings completely.; \. u% v* j1 z5 h& s& E3 i
  1306. ; http://php.net/oci8.ping-interval/ b4 p# @1 V' d7 m+ `5 p
  1307. ;oci8.ping_interval = 60
    ( @2 l4 o, }; ?

  1308. 7 Y2 P" a& O3 T% s6 N
  1309. ; Connection: Set this to a user chosen connection class to be used+ j" f& G2 q" a& b0 L9 V+ r( o: ~* M
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    * i! }: m# O+ a. ^
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to9 ^6 M! o, t2 `8 \$ E0 J( {6 v
  1312. ; the same string for all web servers running the same application,
    " j7 x- e1 l; D6 g! l6 V
  1313. ; the database pool must be configured, and the connection string must
    ' ~7 O) L" ]% V% I, M
  1314. ; specify to use a pooled server.
    ( ^/ Z( f) h& f7 x2 N% k4 D6 I& a) R. S
  1315. ;oci8.connection_class =/ z& D' }. {3 y2 y: j

  1316. 0 e6 _% J2 M/ ]4 X' M; Q6 K( B8 a
  1317. ; High Availability: Using On lets PHP receive Fast Application
    " o$ ?$ G# y, w
  1318. ; Notification (FAN) events generated when a database node fails. The
    ) X; a) c5 |) ^2 [* C: s( H/ b3 X
  1319. ; database must also be configured to post FAN events.+ c* i+ t5 Q$ F3 b. I" Q. G
  1320. ;oci8.events = Off
    0 {" |& y0 W) R: v% K
  1321. 0 {5 K% W1 b- M! E& \/ {
  1322. ; Tuning: This option enables statement caching, and specifies how+ f$ n: w$ D2 u4 K9 |! i$ b% I1 }5 ?
  1323. ; many statements to cache. Using 0 disables statement caching.
    - V* \  B! l" Q( T
  1324. ; http://php.net/oci8.statement-cache-size, B1 B2 M4 [6 L8 F; ~
  1325. ;oci8.statement_cache_size = 20
    6 d( r3 @* Y* L- {

  1326. * m! ^$ s6 W* j" F8 C. I- j
  1327. ; Tuning: Enables statement prefetching and sets the default number of6 h9 d4 X' @7 Z; k
  1328. ; rows that will be fetched automatically after statement execution.
    7 K" E' M) u. O0 n& T0 X# d7 V0 i
  1329. ; http://php.net/oci8.default-prefetch* Z% L$ J# m- q9 w. Y
  1330. ;oci8.default_prefetch = 100' g( B9 X& d. F' L! u+ ?  X9 a
  1331. ( h1 b0 U2 A( [2 {; ?" x6 W
  1332. ; Compatibility. Using On means oci_close() will not close3 K& A# G- ^2 n' o& j+ ?# }
  1333. ; oci_connect() and oci_new_connect() connections.; j6 N0 g6 f9 Q$ c" A
  1334. ; http://php.net/oci8.old-oci-close-semantics
    6 I% y" R( O, \. j
  1335. ;oci8.old_oci_close_semantics = Off( V1 v) r) b' \. z$ `0 W

  1336. # {" C' S, F6 D- S7 z! ^
  1337. [PostgreSQL]: @+ i( Q9 m0 L
  1338. ; Allow or prevent persistent links.7 b6 r9 n% n9 [# {
  1339. ; http://php.net/pgsql.allow-persistent
    7 Z8 I8 Y2 j7 k  A7 N2 \
  1340. pgsql.allow_persistent = On) t5 n) ^- \& b& `8 ~. c+ C1 E8 G- c
  1341. % c5 H# h; \% Y6 a
  1342. ; Detect broken persistent links always with pg_pconnect().
    * S) Y& h7 K' T- T' j
  1343. ; Auto reset feature requires a little overheads.! z5 B) M# A8 F( x4 ~$ K6 A
  1344. ; http://php.net/pgsql.auto-reset-persistent4 h4 [! G9 m* C
  1345. pgsql.auto_reset_persistent = Off
    % x  ]; t1 W4 C+ P7 e

  1346. 1 S4 A. }  v: X
  1347. ; Maximum number of persistent links.  -1 means no limit.
    7 n! }" G* S1 G  Z7 d0 n+ W( }
  1348. ; http://php.net/pgsql.max-persistent
    & I: O8 G2 ?0 Z- r6 \
  1349. pgsql.max_persistent = -1
    4 P* H8 Y7 o1 R$ ?7 @% t
  1350. 4 O% a9 I! r; J
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
      @6 c9 h5 E7 C* Z
  1352. ; http://php.net/pgsql.max-links
    2 H6 a$ Y3 h, i
  1353. pgsql.max_links = -1
    " Q$ x, @, Y* p$ E, Q

  1354. 7 P* a, K7 M$ V# m% ]! _
  1355. ; Ignore PostgreSQL backends Notice message or not.
    ! z% w0 ^5 y/ r
  1356. ; Notice message logging require a little overheads.
      Z* R' F* {& s" r, @$ w' A2 Q
  1357. ; http://php.net/pgsql.ignore-notice
    2 S( }( O9 Z3 l: W, }
  1358. pgsql.ignore_notice = 0
    ! }6 c( H+ t6 p
  1359. # s4 X! x; v6 c) U9 F; a: D
  1360. ; Log PostgreSQL backends Notice message or not.8 b1 e( C9 V7 N9 s& I
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ; E; ?& G- O: p& s
  1362. ; http://php.net/pgsql.log-notice
    4 M# J9 N: O, ~% b- B* m
  1363. pgsql.log_notice = 0
    9 o" f0 J' B* v! K8 ^- n! B: M; e
  1364.   r& J4 e; }" U) H' l& u; e- k
  1365. [Sybase-CT]! ^- ^! ], h8 K  [
  1366. ; Allow or prevent persistent links.5 n) o; T3 s8 w9 x+ N* O& i
  1367. ; http://php.net/sybct.allow-persistent
    , T" O6 X& Z0 O2 O/ d
  1368. sybct.allow_persistent = On% P; L  P6 S9 S4 g* |" f1 w9 `+ d
  1369. / {% p0 ?' O" I0 B- [3 c# \' M
  1370. ; Maximum number of persistent links.  -1 means no limit.
    $ X% f- ?9 j9 N% d; w
  1371. ; http://php.net/sybct.max-persistent
    2 d% q* x3 [9 M3 `( C
  1372. sybct.max_persistent = -1
      [: Q! [/ k5 }

  1373. - M; l" V8 o; Y8 y" Q
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    - W9 O$ f: j, W" S  N
  1375. ; http://php.net/sybct.max-links
    " l% `1 n. M4 X3 x! Y
  1376. sybct.max_links = -1
    ( T0 }4 B; i/ O  n* j

  1377. & p" L) }: [6 L' ]' \
  1378. ; Minimum server message severity to display.
    / M' G" p& f9 d
  1379. ; http://php.net/sybct.min-server-severity9 E0 i' p8 x6 M. f, F8 b9 f) U
  1380. sybct.min_server_severity = 10
    : w- M. y* T: d- \

  1381. / i3 d: v5 A( g8 y( h+ W
  1382. ; Minimum client message severity to display.! X0 {" |3 t. c" L) b
  1383. ; http://php.net/sybct.min-client-severity
    " P/ D! _' V& F, n! A
  1384. sybct.min_client_severity = 10, S/ p2 G$ W5 B

  1385. * {/ o! W7 B+ h/ u1 H6 b5 N
  1386. ; Set per-context timeout
    + [; j; l& s! o. N$ ]. j( o
  1387. ; http://php.net/sybct.timeout6 P; i& ^( s: o5 t0 W" o: ~: ~
  1388. ;sybct.timeout=
    , ]7 R0 ?: H3 U) E6 t3 ]% A

  1389. : |1 ^) M' w5 |; f+ i
  1390. ;sybct.packet_size( s& K) @& Y0 j% L+ S

  1391. 3 T# u2 X5 @* K+ X3 D, K& x
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    % K# s4 y" o. I/ b5 w
  1393. ; Default: one minute
    2 n2 R3 q  g1 k% ^
  1394. ;sybct.login_timeout=4 m, i' g% Q) K
  1395. # n1 s0 }4 Y( A* c( F$ L4 R/ p# x3 p
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.7 H, j* R9 _# q( r8 g7 Z
  1397. ; Default: none6 d. u$ L4 T" i9 [" v% ]2 V
  1398. ;sybct.hostname=
    - S% K# U6 B- Q$ Q9 v- g
  1399. " P4 d! G1 T% O5 Y' m, A
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    3 L( r+ k% K6 G' |4 i, l
  1401. ; Default: 0
    9 F9 N8 ?; h* Y1 E# P  Y6 e* \) p
  1402. ;sybct.deadlock_retry_count=+ `  F. I7 X1 x0 `. J* }! [

  1403. ) c* {' y2 b# e( Q. ^6 B1 q
  1404. [bcmath]
    4 k( Y2 Y$ }; |6 Y. c/ U6 J
  1405. ; Number of decimal digits for all bcmath functions.0 H, k# R0 [- F) q
  1406. ; http://php.net/bcmath.scale
    . s! T- D2 ~0 n) j
  1407. bcmath.scale = 0$ x) u8 ~( C9 \1 _' S
  1408. " U  B% ?. R6 ^
  1409. [browscap]( @! J/ n- ]" z' u
  1410. ; http://php.net/browscap# G) R. T% K: @: m' m. `( i
  1411. ;browscap = extra/browscap.ini9 v# L1 {0 Y1 s
  1412. 7 O+ o* |# M9 ]9 Y; O, G; ^6 f6 Y
  1413. [Session]
    : W  b: d! Z8 A6 r
  1414. ; Handler used to store/retrieve data.$ @* k$ ]; p) r2 i) E2 |9 C- ^
  1415. ; http://php.net/session.save-handler( X0 E# Q9 y: W2 c8 d
  1416. session.save_handler = files
    3 V) f3 t; T0 U+ t& j/ a. N/ N- K
  1417. ! f- Z% ~* O. e1 `$ m9 w% h7 S) K
  1418. ; Argument passed to save_handler.  In the case of files, this is the path2 U8 b$ I4 q  p+ B2 R0 ^* |
  1419. ; where data files are stored. Note: Windows users have to change this; ^* U9 w+ ?1 E7 z+ s
  1420. ; variable in order to use PHP's session functions.
    $ N4 x1 f! x6 k& [0 ~5 r
  1421. ;
    * a8 v6 B& r0 `& e1 t0 n
  1422. ; The path can be defined as:8 I! B7 i& w* R' @# B" |
  1423. ;; F6 S9 `/ v" U! `# ?3 Z* f' y
  1424. ;     session.save_path = "N;/path"4 `  m0 \* |$ ]1 Y# Z
  1425. ;
    ) h! I* |6 f* }8 ~5 {8 s- }3 A
  1426. ; where N is an integer.  Instead of storing all the session files in
    : {9 N- O6 I1 u: F( X: T1 {/ x4 a& w
  1427. ; /path, what this will do is use subdirectories N-levels deep, and+ v; s" ^, [/ d2 w5 a
  1428. ; store the session data in those directories.  This is useful if, L/ z4 ~( e- ^6 g) W
  1429. ; your OS has problems with many files in one directory, and is
    ' u' c, k9 t; N0 q) e9 @
  1430. ; a more efficient layout for servers that handle many sessions.. n; o; V# J0 o: l
  1431. ;+ L5 y' L- d/ [# N5 F% s
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    ) ~9 g) |) F- G0 u) B* a' u
  1433. ;         You can use the script in the ext/session dir for that purpose.6 w4 S5 W7 c1 c, I4 w9 X. _+ b
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    5 s$ K- P( L* u9 n% m1 Z
  1435. ;         use subdirectories for session storage% F+ ^8 b& ~# V4 @. o/ H0 j; n
  1436. ;  e8 u( d0 N) a0 r' k4 W
  1437. ; The file storage module creates files using mode 600 by default.
    & A( R& x* Z- o4 ^
  1438. ; You can change that by using
    ; V3 z, Q% a& o5 \! I
  1439. ;
    , Z' I  L& o2 L& t! k# b
  1440. ;     session.save_path = "N;MODE;/path"
    % T. u! K$ i8 N- z6 ]0 p
  1441. ;
    / F: S  V# S3 }3 Q
  1442. ; where MODE is the octal representation of the mode. Note that this
    & p( b0 X. H' }* B. u  n% |' d) J
  1443. ; does not overwrite the process's umask.
    / ]$ N8 S% c6 D$ y
  1444. ; http://php.net/session.save-path8 U. h5 K2 L. d/ n( E9 |
  1445. ;session.save_path = "/tmp"
    3 N" g7 q: X& F/ O0 b. ~3 R( X9 F* l
  1446. , e& X9 c0 T% c/ z
  1447. ; Whether to use strict session mode.( F/ m. ~" A3 h
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate9 H4 _( y) M" E
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    , P/ U1 `* a7 G% V" V  Q! ]9 U
  1450. ; applications from session fixation via session adoption vulnerability. It is( Y( R' X  O7 e; s9 u
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.) t5 E' m3 L) N/ G7 M1 t8 H
  1452. ; https://wiki.php.net/rfc/strict_sessions$ k2 k- {" K  r* _
  1453. session.use_strict_mode = 0
    ) c  ?& ~2 T$ f- u" E$ W

  1454. 9 e' L1 l' D( O4 F" g9 `: `6 ?
  1455. ; Whether to use cookies.
    , Q# u8 I! F2 a
  1456. ; http://php.net/session.use-cookies  R& s0 Z" K: Y$ J& c! R# M6 W
  1457. session.use_cookies = 17 X" n2 r( M9 B$ T6 v7 X

  1458. ; @' I  \% J2 v- W
  1459. ; http://php.net/session.cookie-secure0 M" _1 [$ {1 ^; {8 \. {
  1460. ;session.cookie_secure =
    . ]( T, r* L) @: D; }

  1461. 7 U6 c2 [" |+ }5 N2 [0 d' Y/ D- {
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ; n7 M# H  P: c' a, @
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    2 u% ~6 v/ I$ M: k
  1464. ; session hijacking when not specifying and managing your own session id. It is
    7 ^+ d+ U5 b% H/ Z
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    & Q6 c# D- d& S- v0 D4 U
  1466. ; http://php.net/session.use-only-cookies
    # i2 M" u' k& J9 p
  1467. session.use_only_cookies = 15 h. o8 N8 A  I9 i
  1468. ; _# r2 U% ]- x  K; l' k
  1469. ; Name of the session (used as cookie name).# _8 G4 z4 L, n. L% i7 v3 s
  1470. ; http://php.net/session.name
    + F$ U* r/ A2 z+ b# A  v( w
  1471. session.name = PHPSESSID$ `3 n# m3 H; Y) Z/ }3 p0 B) J

  1472. 2 j5 V- J3 ]- Q- v6 ?
  1473. ; Initialize session on request startup." b# d, Z; y$ i
  1474. ; http://php.net/session.auto-start
    ) l8 k( `& h  k
  1475. session.auto_start = 0# l7 k5 \6 m! I8 q( ?$ D% R

  1476. 3 `/ M. W$ n4 V' T$ ^
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
      w. U5 P6 l, K
  1478. ; http://php.net/session.cookie-lifetime
    # z: f1 R7 K, ]+ ]1 R8 d8 t
  1479. session.cookie_lifetime = 0% j! o( c( s1 n

  1480. 8 [: ]4 a- U; L/ _) c& R+ s
  1481. ; The path for which the cookie is valid.( p' `: Z( |9 K) B) R' g
  1482. ; http://php.net/session.cookie-path
    , h& H* {5 ~# _
  1483. session.cookie_path = /
    8 F- Q) \- I% O2 w; [
  1484. + J+ G6 y2 l* f8 _  h
  1485. ; The domain for which the cookie is valid." h, g1 ]0 [3 S5 I, h  g& T
  1486. ; http://php.net/session.cookie-domain
    , Y1 j. D1 Z+ \: d) j( t. _
  1487. session.cookie_domain =2 V! @/ M3 }6 y$ G5 ?

  1488. , p, z7 b5 A' ^3 o
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    . B. L& K4 R5 s
  1490. ; http://php.net/session.cookie-httponly4 s8 \. @7 W2 S( [, h; `
  1491. session.cookie_httponly =
    5 f+ L& P0 {6 ~5 S( K8 F9 X& C( Y

  1492. 1 w; M7 y# v! ^: S
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.$ q5 M7 K; k% S* [
  1494. ; http://php.net/session.serialize-handler. B! V- D7 p/ F
  1495. session.serialize_handler = php( U  m( F: q  g) I
  1496. , y# M3 r, c+ u6 J3 u+ ]
  1497. ; Defines the probability that the 'garbage collection' process is started& e4 r( D/ u% k3 n
  1498. ; on every session initialization. The probability is calculated by using7 \* ?8 @9 o# Y! s
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    3 {% [# q5 Q2 p% z8 J$ f7 U6 P2 u
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    8 p5 M$ _% ?3 G6 j8 T( B! I, S
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    % U) j. F; Y3 f
  1502. ; the gc will run on any give request.
    $ U! y) c  n: ^
  1503. ; Default Value: 1
    " ]( j5 j5 U4 o4 L, M# y- a& S
  1504. ; Development Value: 1
    4 K( Q& x; W4 Y
  1505. ; Production Value: 1
    5 N( F: |1 T$ i( D3 ?7 f
  1506. ; http://php.net/session.gc-probability
    9 B0 {: r3 Q- _( c
  1507. session.gc_probability = 1
    0 U# X+ v) l' N) m

  1508. ( o$ i0 T7 |  b
  1509. ; Defines the probability that the 'garbage collection' process is started on every& E' I( \( t) v1 l; o) R( u
  1510. ; session initialization. The probability is calculated by using the following equation:. t+ w- Z) J/ \* c( p5 @
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ' A0 B8 [; H8 D. g2 ~/ B
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    9 C7 W  n" L& `  C
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance; ~! A" f# k+ u' [5 I3 N7 L: J
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    + j) A% i( M9 K, x# S+ P
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,8 B* b) \$ t* Q
  1516. ; this is a more efficient approach.( c9 o. k* c# V% W+ z: K6 A  B
  1517. ; Default Value: 100
    " r, f. M+ q; p' f& E" a7 E1 o$ O) Q
  1518. ; Development Value: 1000
    ) K9 y& n' X6 y& c
  1519. ; Production Value: 10009 v$ p1 F* H. |8 B2 d/ N, E1 a
  1520. ; http://php.net/session.gc-divisor; c6 `" i" w. m4 C" x
  1521. session.gc_divisor = 1000" Z# ?9 i- [& Y3 n

  1522. % ^8 R$ s; E1 m( p( x
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and; ]) M* s6 K0 v$ c2 h
  1524. ; cleaned up by the garbage collection process.
    2 I+ f/ L" n# J7 D3 m! Z: n
  1525. ; http://php.net/session.gc-maxlifetime
    $ \, {. _' c3 F- J5 k/ q
  1526. session.gc_maxlifetime = 1440' E2 v% ^  b+ S3 k9 g2 K, S' C+ w

  1527. 2 b% r6 ?( i' P' r  B4 ?
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    5 f1 D" J4 c  b: C
  1529. ;       (see session.save_path above), then garbage collection does *not*
    * {3 w1 @3 v! x
  1530. ;       happen automatically.  You will need to do your own garbage: V+ c& w7 j7 D. u. p0 d
  1531. ;       collection through a shell script, cron entry, or some other method.
    ' V' e1 O, \8 F9 A! Z; H( f
  1532. ;       For example, the following script would is the equivalent of
    ; U6 H  [, f& T* ?# U) p
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):; x! E- f2 ?) n& o8 T9 R
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ! I; Z+ v6 q& y  v

  1535. $ C$ W* e5 o+ L& O2 ^9 f) @0 d5 ~3 s+ z0 \
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    3 Q0 M& ~- C- I! _* Q( {, V- }
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    . T, r8 u9 f# I
  1538. ; considered as valid.
    ( r$ D- ^9 l3 M3 z$ E& g: a& u
  1539. ; http://php.net/session.referer-check8 i9 I/ \0 h  Z3 y
  1540. session.referer_check =3 V! M+ p* ^. z# t5 E/ _# U: o

  1541. 8 g1 s( Q; u1 l
  1542. ; How many bytes to read from the file.1 C9 X. y5 o2 e0 a
  1543. ; http://php.net/session.entropy-length
    , V) f5 `) F0 q
  1544. ;session.entropy_length = 328 R7 m: w$ F1 I, j, a; ?' \: ~

  1545. 7 C- r7 f" _( Z) {
  1546. ; Specified here to create the session id.
    / \$ U/ z4 Z7 _* X
  1547. ; http://php.net/session.entropy-file( E& k, z9 a3 T0 M: n
  1548. ; Defaults to /dev/urandom
    0 I2 H  n/ v+ M* R* [6 M% K1 {
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom" Y* b* i$ ~6 O; A
  1550. ; If neither are found at compile time, the default is no entropy file.: K0 I5 I$ y$ c/ v# |0 e$ P: q! S
  1551. ; On windows, setting the entropy_length setting will activate the
    2 M+ H9 B# d8 x, e4 ~6 G, ^
  1552. ; Windows random source (using the CryptoAPI)6 D0 \5 `7 r" Q# w
  1553. ;session.entropy_file = /dev/urandom4 ]4 p2 S7 d: W8 G$ a
  1554. + `% P! x. [2 N/ i+ X% J
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects4 N+ |6 y5 l3 O1 `9 ~  G
  1556. ; or leave this empty to avoid sending anti-caching headers.8 ^" u' }# g2 X% F. H! a6 }( r6 S& }
  1557. ; http://php.net/session.cache-limiter
    & w% u+ G( o2 g% K7 r4 M* E2 A8 e- S
  1558. session.cache_limiter = nocache
    0 }& d" f) |! t8 m! g6 `! W
  1559. 4 G6 u" G  [8 P2 u
  1560. ; Document expires after n minutes.7 d# Y. F6 W. B! A# d2 H$ t) v
  1561. ; http://php.net/session.cache-expire
    * ]) A; w0 q3 R+ N, [: c
  1562. session.cache_expire = 180
    ! o* k6 B& J& j# V) Y, z; E

  1563. 2 a! T2 v' [+ `1 N" V4 G" g
  1564. ; trans sid support is disabled by default.
    ) C6 }# a7 r( Q" s4 `
  1565. ; Use of trans sid may risk your users' security.$ F/ |1 i' m/ Q' ^# c
  1566. ; Use this option with caution.
    / l( a; ?  }- g1 I
  1567. ; - User may send URL contains active session ID5 E& p$ h8 D0 m: Q2 G
  1568. ;   to other person via. email/irc/etc.
    4 y/ u. c) O8 j- h! F
  1569. ; - URL that contains active session ID may be stored; u7 Z( b7 O6 C& o& a
  1570. ;   in publicly accessible computer.8 O9 c( V& }. q
  1571. ; - User may access your site with the same session ID. w2 [3 F' k9 K$ B3 w6 [3 m4 h
  1572. ;   always using URL stored in browser's history or bookmarks.' E5 e7 a6 [" m
  1573. ; http://php.net/session.use-trans-sid6 c. I* M7 X. @2 e, B- D
  1574. session.use_trans_sid = 0
    $ t5 y- @0 `9 ^, [7 h( M  M

  1575. : P- k2 }. a: D7 h, L, |0 c0 v
  1576. ; Select a hash function for use in generating session ids.
    3 ^7 l) X4 {5 Q  Y& ]4 H; e
  1577. ; Possible Values! i& C5 a/ [* H  U+ ?
  1578. ;   0  (MD5 128 bits)8 O( d  [3 r, Y  n
  1579. ;   1  (SHA-1 160 bits)) [9 D- ^- y- Y( W8 Q; U; W
  1580. ; This option may also be set to the name of any hash function supported by
    ' q( `5 b- b& A7 b# O
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()' b2 r  t8 n) b  A2 W& k9 I
  1582. ; function.
    9 W$ b2 A- A* ^% y/ {0 k% q2 E8 I
  1583. ; http://php.net/session.hash-function
    5 m* l8 V, P6 h; {# G
  1584. session.hash_function = 0
    & Z& \9 V/ m( S( ?
  1585. ' J  E& d% i7 R: I
  1586. ; Define how many bits are stored in each character when converting
    $ B2 i7 S% B9 |! P5 e8 j
  1587. ; the binary hash data to something readable.% a5 t% O& s3 S3 V
  1588. ; Possible values:: B  n% g0 @2 V5 s* k
  1589. ;   4  (4 bits: 0-9, a-f)
    5 U$ R3 z& R. ^) @$ R+ l- w4 \
  1590. ;   5  (5 bits: 0-9, a-v)
    + a- p* l0 S. Y4 {: Z
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")9 d5 J0 C5 E# i5 q- K
  1592. ; Default Value: 4  P0 ]7 a) t5 \8 K1 P( v
  1593. ; Development Value: 5
    ( [- o& |' p$ b" T
  1594. ; Production Value: 5
    6 f7 r* E# D$ M3 ~7 y  B3 t" G# {
  1595. ; http://php.net/session.hash-bits-per-character
      y1 b0 R. N& D& i
  1596. session.hash_bits_per_character = 5
    , G/ r. U! [6 h* h* t: C1 k- ]

  1597. ) G3 J. j) \1 ~3 I
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.+ h1 H( t; F. i) y( Q4 V" _
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    0 z, o  P0 E* V# ?
  1600. ; add a hidden <input> field with the info which is otherwise appended
    % C' `! ~& F8 t  c# y* y  j
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    * t/ q/ J1 W$ H% ]/ K
  1602. ; Note that all valid entries require a "=", even if no value follows.
    " e8 A$ m4 E! U9 N: n
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    3 e* E3 K& B2 ?5 t
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 Y3 ^; M. h/ i; M
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( j; l% ^. A) E% q. j9 p# J8 ?- L# U
  1606. ; http://php.net/url-rewriter.tags
    7 j! ~9 n7 z* p3 I7 I/ v
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"9 M% K; w' a" V( X, @
  1608. 6 n6 d* d: g$ N6 K6 l0 M' i
  1609. ; Enable upload progress tracking in $_SESSION
    - e2 u7 J3 v, o; C
  1610. ; Default Value: On1 b) f& r& |- `& g6 p
  1611. ; Development Value: On( O0 \. S! z" |" G9 k; \0 t- I; l0 F
  1612. ; Production Value: On% L/ R) u( G- p1 B2 k- w) P) c
  1613. ; http://php.net/session.upload-progress.enabled
    8 C- _  X; P6 ^$ r# k
  1614. ;session.upload_progress.enabled = On' q: x- M, q. b2 i4 Z- z8 S
  1615. 8 V' d! @7 @3 R5 {: H5 c
  1616. ; Cleanup the progress information as soon as all POST data has been read$ q9 R  S1 _4 \7 R6 k- E
  1617. ; (i.e. upload completed).% Y" a; X  Q; }8 H4 E+ z  C
  1618. ; Default Value: On& G+ B) f' U0 b7 T6 M  G% X) J
  1619. ; Development Value: On
    5 v+ |* N# w1 o* a4 ^; L1 _# ?
  1620. ; Production Value: On
    : @# Z- n, l& r7 q& D
  1621. ; http://php.net/session.upload-progress.cleanup
    2 e* K6 u; h" q% Q+ P4 v
  1622. ;session.upload_progress.cleanup = On. [8 a1 b+ e+ c* L( B5 o/ h

  1623. & U9 q) y; B0 g- E  X4 T* y
  1624. ; A prefix used for the upload progress key in $_SESSION4 |' v, q' c/ n- F
  1625. ; Default Value: "upload_progress_"6 ^8 u5 J/ u0 f: V" X- u) ?
  1626. ; Development Value: "upload_progress_"# \5 D1 H  h" S9 j* F: |$ v
  1627. ; Production Value: "upload_progress_"
    8 g  _# F) f/ ]0 m2 F( L( i. y. n
  1628. ; http://php.net/session.upload-progress.prefix
    * `; ?7 _7 e" e/ O; N
  1629. ;session.upload_progress.prefix = "upload_progress_"
    & S! x2 o& m6 W
  1630. 4 i% N: M. c/ ]- P$ w
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    ' Z% R; a% P3 V+ }0 U2 m
  1632. ; containing the upload progress information: e2 E$ I. O8 k1 W" }
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
      B% l, E, \3 @; V9 B
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"8 s$ K7 y- o# s7 ?5 d9 e
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"5 B" }/ h0 j+ }6 L  f$ x+ n
  1636. ; http://php.net/session.upload-progress.name& s+ K) o9 \- A
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"; {  x% c- n# k7 |, l- \1 \

  1638. 9 c; y4 D: ?  h1 s+ [! G3 }+ C5 D
  1639. ; How frequently the upload progress should be updated.
    2 Y8 {7 ?4 m5 S+ b) I! {" Z0 F8 X+ ?
  1640. ; Given either in percentages (per-file), or in bytes
    3 A8 C  L* v( F, Z  H6 Z* w
  1641. ; Default Value: "1%"( P2 C* Q0 J3 v: a
  1642. ; Development Value: "1%"
    - N" Q5 z0 D% |, `: S  S
  1643. ; Production Value: "1%"
    ; u( n1 {; G) U' m3 K# q. L3 h1 H
  1644. ; http://php.net/session.upload-progress.freq
    - w0 i1 m. j+ Z6 V0 {( p; J
  1645. ;session.upload_progress.freq =  "1%"
    8 ^0 t$ l5 ]7 X0 u# |& V' I# @, N

  1646. 3 \4 [9 d2 k; d! w
  1647. ; The minimum delay between updates, in seconds: R" v/ Y+ i( r+ T5 q. _( O
  1648. ; Default Value: 1
    - C1 ~6 _+ O# r. B! n1 C  r& i
  1649. ; Development Value: 1+ j* R; N+ ~( C! C% U
  1650. ; Production Value: 1
      [% f, K7 v8 g3 g+ K$ ~* X2 J/ a
  1651. ; http://php.net/session.upload-progress.min-freq
    , r# D9 {+ ^0 \9 ?/ {8 _! s0 U
  1652. ;session.upload_progress.min_freq = "1"1 e4 w9 ~0 M% K' x- W, I' K* m

  1653. ) l. V; |) u6 e1 W2 d5 I
  1654. [MSSQL]6 D7 T& A! I& P$ W1 q
  1655. ; Allow or prevent persistent links.
    9 l) ?2 q7 X- Z- l) x! d
  1656. mssql.allow_persistent = On
    4 O1 e. X- t4 G. g; j+ S

  1657. 9 K% G" l+ K; w& G! Z6 c
  1658. ; Maximum number of persistent links.  -1 means no limit.: L3 j0 H2 c7 b: x$ W8 _6 s
  1659. mssql.max_persistent = -1
    % e7 r% ~1 N7 P! i. V6 P+ x9 x! Z
  1660. * T5 @) r9 d$ \: [
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    : w# l4 Y( e: R' S( e6 Y
  1662. mssql.max_links = -1/ _) `8 \. H; W0 G2 E- X

  1663. ( E6 L& T* |  F( {+ U7 ]# t
  1664. ; Minimum error severity to display.$ K7 P" w' n2 o
  1665. mssql.min_error_severity = 10( I! p  y, f& j" a

  1666. . z" v+ L3 v9 n7 ^. o; j
  1667. ; Minimum message severity to display.; T) H' l5 M! f3 |1 i
  1668. mssql.min_message_severity = 10
    + o1 T* @% E* }; ?' {

  1669. 0 u& U8 Y" |' A/ E' E5 w  g& o( o% Z& J
  1670. ; Compatibility mode with old versions of PHP 3.0.
    9 T7 P& f& b$ V% Q$ L. G
  1671. mssql.compatibility_mode = Off* o% n( u& b/ `( t! P! b3 H5 R. E

  1672. 2 S! m" A9 X2 y
  1673. ; Connect timeout. u' L' ^! A% R! m1 D
  1674. ;mssql.connect_timeout = 5! A+ a& [; C! ]  X9 ~
  1675. : q! K9 [: w( y2 g0 a( S$ \  c
  1676. ; Query timeout
    + l9 t4 y5 _5 X; {9 C7 s9 @
  1677. ;mssql.timeout = 60+ H3 ~! F3 L8 m
  1678. 9 n" J; n; n: o# t' d
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
      s% p, l  X( q0 V( v9 \! }
  1680. ;mssql.textlimit = 4096
    * Q2 ~! g* |. Q' h  B/ T
  1681. $ ]6 O: z5 R2 `$ ~% G. C% `7 i
  1682. ; Valid range 0 - 2147483647.  Default = 4096.- V; v" @% K) U1 a
  1683. ;mssql.textsize = 4096! R* r, y0 ?' j7 i
  1684. 9 j9 x# H) z0 x- @. w3 b9 S1 N- L
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.; p% Q" Z6 ^" V* y; W7 k  [
  1686. ;mssql.batchsize = 0
    8 x7 [. }) v  J5 ^8 W3 j  }" M  k
  1687. $ u" e+ }, B- i7 a8 e
  1688. ; Specify how datetime and datetim4 columns are returned" t% o; k. Q# R: x( I2 |; x9 F/ x
  1689. ; On => Returns data converted to SQL server settings
    4 J& J( b" ]+ J% p  H( H
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss1 N1 Q! ?; P5 D! H
  1691. ;mssql.datetimeconvert = On
    1 B0 w8 x0 l, P# X; S
  1692. - |9 a* z+ F( [5 b8 @1 m+ P
  1693. ; Use NT authentication when connecting to the server
    / i4 |6 c8 q$ ]9 j% Y$ ]3 I
  1694. mssql.secure_connection = Off
    # t! O3 {$ n2 s$ U$ H+ D4 x1 a
  1695. 7 Y4 [& q7 _9 |# m' y/ c  X
  1696. ; Specify max number of processes. -1 = library default7 f3 K& C! j; [% ^: j
  1697. ; msdlib defaults to 25
    " l% |# a( P9 g' t
  1698. ; FreeTDS defaults to 40961 e( `) C* j# ]
  1699. ;mssql.max_procs = -1
    # k  X; \3 u& b9 v

  1700. 9 ^2 }* n4 S, g3 j7 s
  1701. ; Specify client character set.' Z% D2 ]5 l9 E; @
  1702. ; If empty or not set the client charset from freetds.conf is used
    6 B2 a  l$ [6 f3 a5 o! A3 u
  1703. ; This is only used when compiled with FreeTDS; x6 T& F7 l9 N1 q0 s* o
  1704. ;mssql.charset = "ISO-8859-1", U, O" |# J8 \/ p

  1705. 5 g" k% `6 M" Y7 f6 x% E
  1706. [Assertion]) r" J3 ~  k0 @$ A
  1707. ; Assert(expr); active by default.5 t. i4 ~% V$ x7 {
  1708. ; http://php.net/assert.active
    7 W1 j9 b4 ]5 ?1 u; b: V
  1709. ;assert.active = On$ P" z  W! F" b4 z

  1710. ) ~/ i. z/ c; R% y" W
  1711. ; Issue a PHP warning for each failed assertion.+ w$ B( N$ I9 F% D. D( s
  1712. ; http://php.net/assert.warning
    0 c8 G' S2 I$ M$ D! R- {2 ?8 s7 Q1 y
  1713. ;assert.warning = On! _; H$ p& ?6 j1 o

  1714. + g. H" J8 {& x
  1715. ; Don't bail out by default.% c+ `- Q; U" r$ k& m
  1716. ; http://php.net/assert.bail
    : ^. i( j( K7 w
  1717. ;assert.bail = Off
    * ~: z( m2 o( H, r

  1718. ) |. e; I5 T6 {
  1719. ; User-function to be called if an assertion fails.# A' H* M3 q/ W- N; S
  1720. ; http://php.net/assert.callback1 L) ]8 x4 T+ V' s+ K
  1721. ;assert.callback = 05 _* e$ `2 l+ {) Q

  1722.   _3 }8 C  ~& Q
  1723. ; Eval the expression with current error_reporting().  Set to true if you want0 r! B/ ~3 i" t( N! Z  \( A9 }; X
  1724. ; error_reporting(0) around the eval().
    1 ~. V7 v9 m0 z) A% k9 I4 w" ?1 s* ?5 q/ B
  1725. ; http://php.net/assert.quiet-eval
    ' g' ~- T3 B0 u* n1 A
  1726. ;assert.quiet_eval = 0
    * @- P9 Z7 R# z
  1727. & J. n1 D7 ~- c: N3 V/ {
  1728. [COM]5 B/ J# O. h0 S4 I) S
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    8 I: K, Z% J3 {; F: K. e. f
  1730. ; http://php.net/com.typelib-file0 e, u& ^# k; n$ w) i% A
  1731. ;com.typelib_file =6 r* t9 D, D& X/ d
  1732. 9 `, ]. ^. n" b9 i
  1733. ; allow Distributed-COM calls( V# p0 m* D: U% S: A
  1734. ; http://php.net/com.allow-dcom3 ~2 Y3 X/ D  d! [* a5 k
  1735. ;com.allow_dcom = true8 N. D6 U+ x& S" l$ C$ B
  1736. 1 h' g5 m* p% s; I/ |
  1737. ; autoregister constants of a components typlib on com_load()
    ! w: h% j- q+ m) H* ~+ j
  1738. ; http://php.net/com.autoregister-typelib- e( i) z# v+ x8 d8 J8 c
  1739. ;com.autoregister_typelib = true% Z$ H) I, F- s- b& w
  1740. $ N3 J' p% O! m$ H
  1741. ; register constants casesensitive3 P1 X! Y" a( r, _
  1742. ; http://php.net/com.autoregister-casesensitive+ Z4 E# Y8 |& x) t5 I( b5 W1 Z$ z' U$ a7 `
  1743. ;com.autoregister_casesensitive = false% _; z; A3 o3 I! f/ `

  1744. % F. S# h- U) @
  1745. ; show warnings on duplicate constant registrations
    $ v' q% X' d0 {- t2 j
  1746. ; http://php.net/com.autoregister-verbose1 X+ y( Y1 {, S' f( z
  1747. ;com.autoregister_verbose = true* j0 ^: i- }2 e! \: g6 n- y
  1748. ( N7 v4 o! L/ l7 [6 I
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    - T4 G+ t5 P& K3 L/ m% `
  1750. ; Default: system ANSI code page/ Y& k. E! M4 D
  1751. ;com.code_page=9 K4 G  a2 h9 V

  1752. ! z" E4 f4 p2 N5 D- j( P
  1753. [mbstring]
    4 s, y0 Y: x# |% v* o
  1754. ; language for internal character representation.* ^6 }' `; V. P4 u2 h% z
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.# ^  T( \2 N4 b* w  H: C
  1756. ; http://php.net/mbstring.language% f% x1 s1 E( E6 w8 ~) p. A- P
  1757. ;mbstring.language = Japanese" k* K9 ?" P5 v- h0 s

  1758. & F$ D; ^/ A7 E. F5 [
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead., f: E2 }% e" ^+ n2 }
  1760. ; internal/script encoding.  [7 i7 Z+ J% Z  b" d/ M7 R' D
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    - n+ e& h1 c& w  n0 P- O3 E
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    # K/ m/ k1 z/ K8 p. M
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding9 e9 ~/ x+ V) P2 I% p  D
  1764. ;mbstring.internal_encoding =
    # `0 i" X& e  M: |' ~/ u3 j! D* g6 ?

  1765. + \) X* ?+ P& s9 S2 e4 V  X- k1 t
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    9 r# i5 J0 M& b' J; _. e! z9 ?
  1767. ; http input encoding.* }8 h+ g! C. d% p- \8 @: n- \! t
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    8 B" m& a# F( O3 D0 z2 L. J
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    - m. G2 V( K5 }  C: o! g9 _  y  |
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input* ]+ J! @" Y. M6 j4 d- {2 D
  1771. ; http://php.net/mbstring.http-input3 v. j0 x( n* \4 T
  1772. ;mbstring.http_input =9 G6 _% i, M1 \" k

  1773. 5 u! f6 F2 ]% f( M! X. d
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ! t7 ?  A; ~+ I
  1775. ; http output encoding.( U: D8 l; T" x. R
  1776. ; mb_output_handler must be registered as output buffer to function.
    6 D- y, t, V, P
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    " q. |' x2 Y  N
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output* q! d( n# e, K5 Z3 \3 s
  1779. ; To use an output encoding conversion, mbstring's output handler must be set* L6 s3 {+ c0 T2 `  v* z. D+ @& [
  1780. ; otherwise output encoding conversion cannot be performed.
    * G' u' ?# K  o8 }2 B
  1781. ; http://php.net/mbstring.http-output! O/ c1 g( @" |7 k" s
  1782. ;mbstring.http_output =) `: ^6 `9 e1 G& `' o: g$ |0 g

  1783. * _0 L$ B( R2 y
  1784. ; enable automatic encoding translation according to. a4 U8 z0 n, k; j9 T8 Z
  1785. ; mbstring.internal_encoding setting. Input chars are0 g2 s; J8 Z7 L& i
  1786. ; converted to internal encoding by setting this to On.+ d7 M6 `1 t: w0 r6 E9 m5 L
  1787. ; Note: Do _not_ use automatic encoding translation for
    2 D& B4 M- `7 Y  Y) K
  1788. ;       portable libs/applications.
    % d+ S& a' f5 X! F
  1789. ; http://php.net/mbstring.encoding-translation  J* p) }5 p: X: B# `
  1790. ;mbstring.encoding_translation = Off
    3 I# \2 E" Y" B/ _
  1791. ; f# R* [' J( P- X( I
  1792. ; automatic encoding detection order.
    4 e- t$ j# U$ _0 ?3 y
  1793. ; "auto" detect order is changed according to mbstring.language1 C5 D, Q. x, p4 a6 y
  1794. ; http://php.net/mbstring.detect-order
    9 K, e7 I5 {3 n# l: J2 s
  1795. ;mbstring.detect_order = auto
    ) p9 ^) o2 @- P3 @1 p, T/ o
  1796.   `# ~1 V+ n6 K
  1797. ; substitute_character used when character cannot be converted
    - n3 U  h7 }$ T  w! D
  1798. ; one from another
    5 `: `! |" }3 k( ]
  1799. ; http://php.net/mbstring.substitute-character
    9 K( ?- c" ^) i! F4 ~8 l) ]$ Y
  1800. ;mbstring.substitute_character = none, N/ N0 K% d; z" \6 b/ c' Z
  1801. ; {0 M6 u4 ]9 L( H7 c
  1802. ; overload(replace) single byte functions by mbstring functions.1 k! J2 {7 _9 O- h8 ~* v* d
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    , f( O! x* }* D# @9 O
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    3 T# A% k' U: q& m
  1805. ; For example, 7 for overload everything.6 `) x5 t( w" W+ x; C2 M
  1806. ; 0: No overload
    , ?+ Z1 T& f* G- i+ C0 A7 w+ P% P% V  [
  1807. ; 1: Overload mail() function
    " F5 b: b8 z) \, K) n) i0 g- \
  1808. ; 2: Overload str*() functions
    5 b! Z4 v( d4 \+ g# A+ a
  1809. ; 4: Overload ereg*() functions! j! N, W( V: u0 L8 A3 [
  1810. ; http://php.net/mbstring.func-overload
    0 O" j: R. @4 y" i$ z- e
  1811. ;mbstring.func_overload = 0- I/ r' _9 Q  q5 Y0 `
  1812. 6 z0 f) Q3 f: T, q
  1813. ; enable strict encoding detection.! p# J- J- p* p( I. |5 u
  1814. ; Default: Off3 A$ F1 ]  z" d9 d) f6 c- X
  1815. ;mbstring.strict_detection = On
    8 @# E( G; C% f: \

  1816. , G# T( Y9 F' x2 A! S
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    $ F7 H: R$ _4 K' y1 }2 }! q
  1818. ; is activated.3 S9 g" z3 ?. G; K  R, V/ l
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)9 T$ O% ?+ I& \9 T% p1 b% Z8 v
  1820. ;mbstring.http_output_conv_mimetype=1 t8 O3 o' n- F" a8 N0 t- U

  1821. - q2 o8 E( a. o- V
  1822. [gd]
    % f( z/ T; V- ]4 {0 Y' s
  1823. ; Tell the jpeg decode to ignore warnings and try to create6 A; C! w: O, x9 n) D" N9 z- e
  1824. ; a gd image. The warning will then be displayed as notices3 ?. j1 j2 @, `0 S" J( K
  1825. ; disabled by default
    * X* P4 A% r% z4 w+ [
  1826. ; http://php.net/gd.jpeg-ignore-warning
    - O# h, o6 j) t! X
  1827. ;gd.jpeg_ignore_warning = 0
    & i0 Y! z! F# A2 c2 I2 B- D  T# q
  1828. 3 G& h, l  P6 f6 N5 G, O
  1829. [exif]4 m0 l6 J% i+ L
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.. e  H3 N5 }% G3 |
  1831. ; With mbstring support this will automatically be converted into the encoding, w1 I  A1 m3 Q3 t- C( j% `# A- h+ A
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ( U9 m, R/ j6 j+ E
  1833. ; is used. For the decode settings you can distinguish between motorola and
    + v9 k6 x1 E4 B7 s' g3 @
  1834. ; intel byte order. A decode setting cannot be empty." j& `! A  {8 m2 w0 N# o
  1835. ; http://php.net/exif.encode-unicode$ S% q  m3 x3 x0 o0 O
  1836. ;exif.encode_unicode = ISO-8859-150 D2 t1 ~% O, Q8 F8 N) b" ~
  1837. 9 S/ Q6 y7 e4 A7 H8 Z
  1838. ; http://php.net/exif.decode-unicode-motorola0 t! I7 g3 n5 E% k8 m. X5 _& z; T; O9 a
  1839. ;exif.decode_unicode_motorola = UCS-2BE0 M, Q4 n! \5 T2 A

  1840. ) S" ?( u( ?2 i' m+ A- A# L  u3 d8 P
  1841. ; http://php.net/exif.decode-unicode-intel# N0 y; d1 m/ d- x: M% v. w/ v
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    ( O# O3 O% M: ^

  1843. ' s+ c7 d5 J4 m& O6 s: c
  1844. ; http://php.net/exif.encode-jis
    . y3 O3 @' ^7 o; L
  1845. ;exif.encode_jis =& z4 I1 Q4 K* G; k

  1846. 3 g; r: I9 s$ a  s
  1847. ; http://php.net/exif.decode-jis-motorola
    2 n2 {0 ?% q0 u6 e9 m4 \
  1848. ;exif.decode_jis_motorola = JIS9 e! i0 _8 u/ |6 i! n! K. W! C$ T/ G
  1849. 7 e% q! U7 `$ l& M9 B
  1850. ; http://php.net/exif.decode-jis-intel2 R) b4 \; `2 S! |* H1 o- l% x
  1851. ;exif.decode_jis_intel    = JIS+ h6 |) G: _( N8 _

  1852. 6 w2 L9 A$ G( z
  1853. [Tidy]
    7 U+ T/ L  o* B; H: I9 Q% h3 _
  1854. ; The path to a default tidy configuration file to use when using tidy
    7 u) L0 ?/ k! G! v
  1855. ; http://php.net/tidy.default-config
    9 E4 Y8 p# T" G
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg3 |; c. I. A0 d- G
  1857. & ~; _& l2 g5 B& X2 w  _' d8 Z: L
  1858. ; Should tidy clean and repair output automatically?
    # ~! F/ \& _! [" _; l% B- ^: J
  1859. ; WARNING: Do not use this option if you are generating non-html content+ @! ?+ Q% C  i% p2 B; Z) d5 }
  1860. ; such as dynamic images
    , F; |; I5 F% @4 d1 ?. F
  1861. ; http://php.net/tidy.clean-output/ n5 U) B8 t3 J3 x
  1862. tidy.clean_output = Off
    ) _4 Y$ g. O' j, e( n

  1863. ! M" I3 y2 J, v4 {4 P
  1864. [soap]
    + U" B" B2 ^* n3 j+ N
  1865. ; Enables or disables WSDL caching feature.
    4 m1 d0 f# t% ]" ^( {
  1866. ; http://php.net/soap.wsdl-cache-enabled
    0 ^9 B. Y5 E. v5 }
  1867. soap.wsdl_cache_enabled=1
    ' ^3 W# o6 X+ O: U/ N- ^1 Y

  1868. 5 f, p. z: l; q* g1 u3 _
  1869. ; Sets the directory name where SOAP extension will put cache files.% u) k5 I/ G. S7 S8 M: V  p
  1870. ; http://php.net/soap.wsdl-cache-dir
    " d9 R( Q0 o6 n
  1871. soap.wsdl_cache_dir="/tmp": k$ B8 `0 R, B7 p6 G8 B- N
  1872. + o. m0 l# I% F  e, t. K% |
  1873. ; (time to live) Sets the number of second while cached file will be used0 q! r+ r2 n' ~' v8 ~, [. f* z& p7 V
  1874. ; instead of original one.
    - y7 x2 j, _2 s0 p% ~  I5 i% P
  1875. ; http://php.net/soap.wsdl-cache-ttl0 I8 f- q; Q! z, s( c
  1876. soap.wsdl_cache_ttl=86400
    3 Q5 c3 }" e# W

  1877. , V9 _& |. Z7 o/ j# A
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ) ^8 `, _/ l' I+ m, T4 c
  1879. soap.wsdl_cache_limit = 5
    ' ?2 S2 j% t$ H& q, r1 j
  1880. + `3 x% r* P# Y9 c* U( e& r3 z3 w
  1881. [sysvshm]' y, T+ o' s8 K, k7 M0 D: a0 |
  1882. ; A default size of the shared memory segment
    0 [% r- E  v) ?1 ~5 G9 F! n
  1883. ;sysvshm.init_mem = 10000/ G. i; ^/ z6 _% k; ]2 |
  1884. 6 c5 Z$ J7 ?7 u& ?' u
  1885. [ldap]7 l, o7 N( v$ u' s; i# j
  1886. ; Sets the maximum number of open links or -1 for unlimited.& a# X* _( }8 X& s
  1887. ldap.max_links = -1
    ( X* [' [% y* D5 D# d, y
  1888. 1 P" q1 @3 C$ l1 O) c* g/ d& t
  1889. [mcrypt]
    / n1 I& N7 r& F
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open' _5 ^; G1 Z4 `5 j
  1891. $ A4 r* y% y/ L; _6 D$ ]7 x
  1892. ; Directory where to load mcrypt algorithms7 e6 c5 R% x+ G$ c  i( k' ?! L0 A
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)0 t$ q6 d: r) A' U* `
  1894. ;mcrypt.algorithms_dir=
    , M$ \; f/ L0 F/ A: H5 w7 C
  1895. / h1 r9 T: c! o, ]2 I8 Y. x! [
  1896. ; Directory where to load mcrypt modes
    & z* [5 \( O# q4 w5 G' l
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    8 q% @5 h9 y7 P$ ]  L
  1898. ;mcrypt.modes_dir=
    8 ]  w6 j2 p1 l- G/ ~, x
  1899. . M: m% I8 m  Q; t
  1900. [dba]1 Y& z  C- i  z. q' F
  1901. ;dba.default_handler=
    + A4 b5 ~! {5 p  ?% k
  1902. . c8 ^/ _% a7 q# w0 J6 P4 ~7 [, C  A$ ]+ T
  1903. [opcache]
    3 k6 O: ~. @8 J/ u5 T
  1904. ; Determines if Zend OPCache is enabled
    / s2 L2 b% q$ x! C3 Q
  1905. ;opcache.enable=0! u& h, [" k* |8 c" M) Q- |2 r$ f+ P
  1906. 8 ?2 L( A/ }7 M- ~
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    , b" X$ S! s- _8 R; H% [$ c, v
  1908. ;opcache.enable_cli=00 e- l' h* u2 R9 W$ r

  1909. $ ]# T! Y) R! G$ |
  1910. ; The OPcache shared memory storage size.$ x9 O: x$ ?- u2 z1 Q' y
  1911. ;opcache.memory_consumption=64$ {/ P; I! @' ~) J, ~9 V. U& ~7 V

  1912. % t7 i% Z6 _; W( O
  1913. ; The amount of memory for interned strings in Mbytes.
    4 P" N+ C9 i1 ?# ]4 t( H, Q0 y
  1914. ;opcache.interned_strings_buffer=4
    ! x5 ]& f# S* p/ d  W
  1915. , `) m$ J) {) Z+ k2 }
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    . @4 m& q8 p6 M' C4 ]
  1917. ; Only numbers between 200 and 100000 are allowed.
    ) }/ X% M* a7 m) Q& w
  1918. ;opcache.max_accelerated_files=20005 {( a2 p- x. b: \9 A! ^
  1919. : E( b) u5 c) g2 w* o2 T# Y$ |5 d
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    3 M* A' i7 j! G. R
  1921. ;opcache.max_wasted_percentage=5
    / y: d# r. h( g9 H

  1922.   B4 n# ^% x) ^/ [5 p- u
  1923. ; When this directive is enabled, the OPcache appends the current working- D6 I/ W0 j% q( H
  1924. ; directory to the script key, thus eliminating possible collisions between6 k; `; i" b( S& X8 V$ d
  1925. ; files with the same name (basename). Disabling the directive improves
    , F1 V  X9 m0 ~
  1926. ; performance, but may break existing applications.6 u' |0 n7 o4 Z; `2 _
  1927. ;opcache.use_cwd=1! r, o. j$ A1 V

  1928. 4 `. N" q- z- O
  1929. ; When disabled, you must reset the OPcache manually or restart the8 `! m7 Z- N3 d) V+ C
  1930. ; webserver for changes to the filesystem to take effect.
    % F) i6 l  S; u
  1931. ;opcache.validate_timestamps=10 d# u# d% B0 \1 {, y. d

  1932. , I5 b  u0 }9 e% P6 m
  1933. ; How often (in seconds) to check file timestamps for changes to the shared; |4 |+ ], f, `0 Z' _. V. r
  1934. ; memory storage allocation. ("1" means validate once per second, but only" H: T: y' F" l/ v
  1935. ; once per request. "0" means always validate), D0 Q7 {* B$ X& b( D3 w
  1936. ;opcache.revalidate_freq=25 Q; H# p  z$ @/ h. B  R7 c% I

  1937. ( r0 u  k, z, {+ o# @# q
  1938. ; Enables or disables file search in include_path optimization/ K+ }7 r  r: S. \7 \9 ]* x& G0 R
  1939. ;opcache.revalidate_path=0
    4 d4 l: N4 N. E+ J  B! g' w

  1940. ' O% ?2 c# k7 M# l5 Y: s2 L; p
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the3 D" }7 }6 `# [) J1 T6 r2 g  `
  1942. ; size of the optimized code.
    6 r& e1 w6 }7 X7 L2 [
  1943. ;opcache.save_comments=1
    & R; V9 c/ Y2 v  j9 ^+ n9 ~$ Y3 a

  1944. # J+ P8 O- M; a0 B) e" y
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"1 I% r& b- X/ I% j  B3 ^% [
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    & O; k4 r, G. W. S0 ^
  1947. ; that don't need them anyway.
    3 H" `' s) y0 e' S, X
  1948. ;opcache.load_comments=1. E/ x" C6 E  G5 ]% O  x2 d1 i; {

  1949. , o2 d9 F* S0 |8 b6 L4 t
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    % X! q5 o- Z8 V: x' O
  1951. ;opcache.fast_shutdown=0$ Z6 J5 i" c( s/ f
  1952. & H6 e" E$ F. [5 P/ ^' N/ ]
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    . c6 l. s4 P: E0 o& G
  1954. ;opcache.enable_file_override=0
    2 R  R8 j" s% W3 G0 s  v
  1955. * O, x0 B/ l% {  p
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    , B" ~8 S* e# l( x9 `9 H1 J
  1957. ; passes
    1 ]  `6 T6 Z, U* c9 n, n7 K
  1958. ;opcache.optimization_level=0xffffffff
    % H7 {& e" o) l0 o: w  v& ~* T! D
  1959. 2 ^9 V7 W0 W' @; N) a3 e
  1960. ;opcache.inherited_hack=1
    8 k* r2 }' p$ p: ^4 r( i6 `
  1961. ;opcache.dups_fix=0' Q8 z' J4 B- R' `# R( ?
  1962. 9 F" K& o4 N( Y5 G4 J, `' d9 P
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    8 [9 v+ Y& u0 S+ b. r
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    ) F3 h- I0 n3 Q( _) \, w
  1965. ; that should not be accelerated. The file format is to add each filename" P0 S2 c5 Y" P* t7 m9 {2 H) g& e
  1966. ; to a new line. The filename may be a full path or just a file prefix1 W( r0 Q. Y* ~: l! L4 A5 O
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    / Q" h6 M. G2 a* u7 b0 L
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).( j" y  d* Z3 p' ^
  1969. ;opcache.blacklist_filename=# K3 z5 g  {' }2 @
  1970. . W" L" b5 ?9 W0 L( I4 p4 j3 |) v
  1971. ; Allows exclusion of large files from being cached. By default all files
    9 x, c8 l. ^% s( y6 q
  1972. ; are cached.7 z9 w; |/ a7 j! p5 L: Z! ?
  1973. ;opcache.max_file_size=0/ T- z+ j' y& @% c

  1974. ' v! m1 g. Q& k1 v! H! R" Q
  1975. ; Check the cache checksum each N requests., B3 O6 u8 X7 b
  1976. ; The default value of "0" means that the checks are disabled.3 G3 T3 w4 M/ o) T0 ^2 X
  1977. ;opcache.consistency_checks=0
    % ^6 U& X7 I2 Z2 E3 g
  1978. 3 u( v) M2 a  I. @- ]+ a0 k% h4 h0 w8 i
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
      I" \& q1 h3 n$ M) `* b
  1980. ; is not being accessed.8 Z) y$ S- v5 Z4 j
  1981. ;opcache.force_restart_timeout=180
    ; u) _/ ]) f/ s+ x, A' t* G8 s
  1982. & K9 y9 Q" k8 f$ j% P
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    4 i( Q$ N- l9 V; p! h' O6 w
  1984. ;opcache.error_log=
    3 X* J) ~8 r& t8 b

  1985. 3 e* Y; L; B- w" V
  1986. ; All OPcache errors go to the Web server log.: _2 R& i, @( Y) U" ~  W
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.* E: m/ |+ Z0 V
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    % }3 R# i9 k% a: ?+ [" x, x, J, G
  1989. ; debug messages (level 4).9 C: Q  G6 E  N$ `% R" B
  1990. ;opcache.log_verbosity_level=11 Q* {( J1 K6 ^9 Y) L% a
  1991. ( @/ q; b0 h# x* }8 h! D
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.+ n4 m1 E/ B1 v& B  h- n
  1993. ;opcache.preferred_memory_model=
    ; U) x# b! U. ~$ p: f

  1994. 3 `4 u. B2 o2 Q- x2 `0 x
  1995. ; Protect the shared memory from unexpected writing during script execution.
    & t. F: E7 w4 _# ]9 B: k4 b1 k- l
  1996. ; Useful for internal debugging only.# s- A; l7 ~5 X4 S. ~6 D& c- O
  1997. ;opcache.protect_memory=0
    " \+ y9 U! T& s' y1 }

  1998. 2 R! U# I: ~( D4 c( L% y
  1999. ; Validate cached file permissions., B" [+ O* f5 [
  2000. ; opcache.validate_permission=0
    6 P. }6 X& u: l6 Y, }+ I' U
  2001. ; J( e& r* L, U4 S3 \: W% a$ O3 W/ B4 Q
  2002. ; Prevent name collisions in chroot'ed environment.
    , _% y! v- F1 {/ O
  2003. ; opcache.validate_root=0
    ; w. W" E' W9 Z

  2004. 6 L4 _9 _0 H7 l5 U
  2005. [curl]
    + g6 I; k0 Y% e0 Q+ Y
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an* A7 \; n! s) D' A  X% e7 S& x: |/ C
  2007. ; absolute path.
    9 {+ h5 e3 E1 \! U/ L) f) P
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    1 N7 R( W+ G% e9 W/ v2 }; G( k

  2009. - L8 ~! I1 b' F
  2010. [openssl]4 ^* w9 @0 K6 {% i9 b
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    - H6 f- ~3 J# `6 u5 k0 J! r
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should) Q1 ~9 K$ _; X3 M% B
  2013. ; not specify a value for this directive as PHP will attempt to use the- K! k; M4 T* _% x
  2014. ; OS-managed cert stores in its absence. If specified, this value may still% G1 z8 L2 _4 g, V% X7 L
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    . S/ ~: m6 o5 E  _7 A
  2016. ; option.7 }- I* F( z3 F
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt% M, j- V/ i7 H7 R1 n" x' \

  2018. * p. e3 o  m3 u! Z4 T
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the# s7 i5 @1 {; e! H
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    7 r0 N1 S4 j) |) }. E+ U3 m- s
  2021. ; certificate. This value must be a correctly hashed certificate directory.6 a3 G; N% i7 M7 p$ [5 }
  2022. ; Most users should not specify a value for this directive as PHP will
    , s3 i9 Q6 h+ g: W3 l
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    & d# }; Q. Q4 a) ?7 T& u
  2024. ; this value may still be overridden on a per-stream basis via the "capath"4 o# `# }- P# L* |
  2025. ; SSL stream context option.
    ) V: V- f5 o4 `$ G! e
  2026. ;openssl.capath=" [! G: S; X4 {( w3 t' p
  2027. 0 \5 t. s' f$ g: j4 L6 N' @, _
  2028. ; Local Variables:
    8 C0 l5 ]  \. h2 d2 U5 P
  2029. ; tab-width: 43 i. g8 X! c  i6 B+ O" @
  2030. ; End:) Z6 X4 B% s- W# N/ Y* E
  2031. . m! p, G+ c8 y) s( \
  2032. ;eaccelerator
    3 u( |  o4 r( {1 {! h$ ^- O  z
  2033. ( F$ a5 e- p, ]6 t- H3 e( p( R
  2034. ;ionCube  b+ f4 H( t/ N0 ^& l
  2035. ; j, p2 Z& G2 [3 u% k2 _4 l
  2036. ;opcache9 A: g3 z5 ~1 T% b+ F) M
  2037. 1 e0 y# \; g7 q4 \8 V# p
  2038. [Zend ZendGuard Loader]
    1 v  q& x! m9 r0 g0 C6 w/ m
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    9 e) g" u. K  z$ h% l" [: e
  2040. zend_loader.enable=1- W3 f; d% D: X* J% n( h, z
  2041. zend_loader.disable_licensing=0* C  Y0 }& H0 Z: z
  2042. zend_loader.obfuscation_level_support=30 }) o$ S' g( B# X$ O7 H( p% g
  2043. zend_loader.license_path=3 g2 y: _0 c  Z8 e) @

  2044. * D0 I" O( K  F4 I1 @; [
  2045. ;xcache$ v0 `0 d  T+ v3 E0 e9 ?! M
  2046. ; q4 _3 ^8 h/ w1 q2 f
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
4 S7 S; w; [- N) ?* S
* ^, P7 _/ H) V" l! ?$ n
8 E( x  c% q" ADiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
5 L  A# }. q" B& ^% a, Q9 e- a1 ]+ ^7 v8 o, k) P8 P
Discuz!程序版本选择:4 v- W: s% e7 N
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,6 z5 X. S' R0 U4 A4 F+ o# G+ s
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:3 A$ C' U; a6 g( x) B3 x
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。
, [5 [# w4 ]. k6 M7 K$ g9 ^+ w
0 s, U* r4 C0 E* tDiscuz!插件模板版本选择:
* f6 T  l* @, e, G很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,6 Y4 F7 Z0 Y3 I! b, d: Y+ g
针对这个问题做个统一的普及:' C5 |, L  v. t( \7 B
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
8 |: p# W5 g" Y# b0 ^
0 ?. L7 g4 _8 K" B' l6 [+ U3 g所以
; c4 r# {3 h4 w* r适合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的二级域名。2 @. `/ o) L. \$ T) \2 t, J# b
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
. P4 P! D8 S1 ?, k1 U* K注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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