分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0- q: _' F/ t/ S- U. a  X+ x! n

8 j% M0 s3 @6 D. E6 C
  1. [PHP]0 Z  N. m& q5 h. M  v. r3 E

  2. 5 v- L$ q; m' b/ W8 z* ^$ ]
  3. ;;;;;;;;;;;;;;;;;;;% y5 V0 F- X* V5 i% P# y
  4. ; About php.ini   ;
    ! K# Q1 j" h9 P/ v8 o4 u& R
  5. ;;;;;;;;;;;;;;;;;;;' w" i; E: p. G8 R: _
  6. ; PHP's initialization file, generally called php.ini, is responsible for' i0 X  \- H3 v' O8 i
  7. ; configuring many of the aspects of PHP's behavior.
    0 Z+ F3 u& F+ l9 s
  8. - m% P; o2 _; ]7 T
  9. ; PHP attempts to find and load this configuration from a number of locations.
    * k5 Q1 ?+ K) d- a/ c* B! W6 r  f
  10. ; The following is a summary of its search order:
    . m" G6 n# D+ h0 k$ W
  11. ; 1. SAPI module specific location.
    1 v& }3 {9 G# r1 v# b; f# S( N
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0). z7 x3 T$ a: x( ]$ P
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0): b+ n8 Z% c# r& K/ c; K
  14. ; 4. Current working directory (except CLI)
    ) H3 V) O* k' w  ^: q  m
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    : x: T  _$ L! _# |% {
  16. ; (otherwise in Windows)$ h& A6 t+ u( }& n& U: r
  17. ; 6. The directory from the --with-config-file-path compile time option, or the& P- b9 Q* G2 ?, O: Q
  18. ; Windows directory (C:\windows or C:\winnt)
    6 k& m: X* C  z) ]" d* o7 p+ I* A5 p
  19. ; See the PHP docs for more specific information.7 O2 @9 a  d2 v4 l7 `) _3 L6 u
  20. ; http://php.net/configuration.file, P5 e7 R3 Z. J/ d
  21. 9 U' @0 Z3 X5 J# C9 _
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    5 F( E9 J* J; `& ]; G/ i' M$ \
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).; Y% j* w4 \" L6 m9 J2 B. d5 u
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though) t- B2 {' c1 |& \" ?
  25. ; they might mean something in the future.
    ; G! b( k, S2 z' e0 D, G3 T2 g( ^  R+ P

  26. , n! T9 R1 x  c
  27. ; Directives following the section heading [PATH=/www/mysite] only
    " n  }2 K: {: f3 B1 N
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    # O: u& R& U, `& W# Y2 A* x$ I
  29. ; following the section heading [HOST=www.example.com] only apply to/ P/ J. a5 e' @
  30. ; PHP files served from www.example.com.  Directives set in these
    ' a; p6 M# t; C
  31. ; special sections cannot be overridden by user-defined INI files or2 Z+ b% x8 ]  G; j! F; B$ R
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under" b" [. q3 L! C5 k4 `/ v
  33. ; CGI/FastCGI.
    . C" e% y( z! T2 T2 F3 \
  34. ; http://php.net/ini.sections
    ; ]' h2 J* h' U/ U# {
  35. * ~1 h) N3 u8 }, s
  36. ; Directives are specified using the following syntax:
    ; j5 e- G! A3 y
  37. ; directive = value
    6 y) M1 t4 v! f4 c) F# E1 r2 ?
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar." H" ^$ ?  ~' S6 q
  39. ; Directives are variables used to configure PHP or PHP extensions.
    % m: Q' w1 t0 f) V8 K& c! b8 Z" |
  40. ; There is no name validation.  If PHP can't find an expected
      X, l8 \' y" p7 a: s1 |3 t
  41. ; directive because it is not set or is mistyped, a default value will be used.4 G& V5 y8 {1 s. M0 t, P
  42. 5 R" Q: L2 W" T  M  a+ v2 a, A
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one' c+ L- a# }3 f6 B2 _
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression1 W1 d" l# A4 |- B
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a/ s) `. H/ |2 q: F+ R
  46. ; previously set variable or directive (e.g. ${foo})+ R0 `" r- k. Q
  47. 5 @4 a" p, J. b
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:6 S  J/ g8 E  I3 |
  49. ; |  bitwise OR
    1 \, J6 {' B! I- u
  50. ; ^  bitwise XOR! M' D0 {& d* Z& `6 M6 l7 {1 R  {
  51. ; &  bitwise AND5 B. i# h1 Y! h  j+ x( R1 k
  52. ; ~  bitwise NOT; Y  L, {( N& M) C- L
  53. ; !  boolean NOT
    & p# b& y) h/ }3 w( E3 K  K: h; M' p

  54. 1 R( _! ^4 \# u' h  |0 J( c2 V
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.  ]0 R0 E9 e1 P" C# k
  56. ; They can be turned off using the values 0, Off, False or No.. V, ?4 q1 k; C" A6 t6 |$ w

  57. ( o( R, ]/ a. q2 l
  58. ; An empty string can be denoted by simply not writing anything after the equal
    3 I8 e+ |9 Y+ r. n0 T: g4 z3 a: n# q
  59. ; sign, or by using the None keyword:) C* k9 e9 P3 k+ |- n. j( u
  60. & V) [" g7 h8 w+ g" y, o  b7 b0 Y
  61. ;  foo =         ; sets foo to an empty string' R2 \: Y: _( P# E1 r
  62. ;  foo = None    ; sets foo to an empty string  N2 S1 _. J! H6 ~
  63. ;  foo = "None"  ; sets foo to the string 'None'" T1 i' O6 }8 Z/ X. w6 |8 S

  64. 4 R1 l, D4 s# a& m% k- ~( j2 e
  65. ; If you use constants in your value, and these constants belong to a
    ; Y' F' E$ d, l! l! ?& N
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    6 n0 t3 v$ c# }* h
  67. ; you may only use these constants *after* the line that loads the extension.
    5 b2 q$ }0 _, T( ?  F$ D
  68. ' `! u* i6 ?  n; \" R* F1 u
  69. ;;;;;;;;;;;;;;;;;;;6 S# z2 \" T6 y" {6 ~$ }
  70. ; About this file ;
    0 s8 r9 I/ M) k( ]4 e+ h
  71. ;;;;;;;;;;;;;;;;;;;8 s9 y$ Z+ }/ {3 `( z! C  _. w4 m7 F
  72. ; PHP comes packaged with two INI files. One that is recommended to be used1 z( O; d4 p; V) F- q
  73. ; in production environments and one that is recommended to be used in
    2 O1 L: e5 q4 s: u3 B
  74. ; development environments.4 Y+ E3 ?) O) ^8 Z! Z

  75. 8 e7 K$ y! t7 p7 f  J7 f) H6 t. @2 A
  76. ; php.ini-production contains settings which hold security, performance and
    1 A# ]6 Z- A) q4 Y
  77. ; best practices at its core. But please be aware, these settings may break  m% n$ H1 [) B: i, Y) C. f
  78. ; compatibility with older or less security conscience applications. We2 @# a9 g( x& E7 g- W" [/ W
  79. ; recommending using the production ini in production and testing environments.; D6 b* A. y0 q+ A( _' @8 p- G9 b% d

  80.   d! {, L2 ?5 `
  81. ; php.ini-development is very similar to its production variant, except it is
    : ~0 G: T$ }# @& l8 F8 N* b
  82. ; much more verbose when it comes to errors. We recommend using the) v3 a9 Z8 t2 ]$ j, g  k5 w
  83. ; development version only in development environments, as errors shown to
    / t/ l; Q! E) K1 `4 I+ J* s
  84. ; application users can inadvertently leak otherwise secure information.5 C# p- I" F: R  D. z6 {

  85. 5 s4 k" D! y0 H" {# Y) F; W
  86. ; This is php.ini-production INI file.8 U0 x( W' ]! V2 g7 {
  87. : f( d8 u; _$ U9 ^; A$ K, W# l
  88. ;;;;;;;;;;;;;;;;;;;* u; T" f. t$ [5 x
  89. ; Quick Reference ;
    : D6 P" [; H3 j) ?7 d  n5 C, g
  90. ;;;;;;;;;;;;;;;;;;;: W. G. M, N* j2 E* `5 W( t
  91. ; The following are all the settings which are different in either the production: M7 n; `% n, D0 X* K" A
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    " w; Z* ]8 K8 l- Z' C/ h
  93. ; Please see the actual settings later in the document for more details as to why6 e7 x. S% u7 A- x! K
  94. ; we recommend these changes in PHP's behavior.% |. c0 |  u7 }: C& S

  95. - \9 [9 z* R+ j8 w) T+ k
  96. ; display_errors- ~& [, o* q5 b) q$ T1 K! A
  97. ;   Default Value: On
    ) O, K/ c/ H& ]% Z+ R& h$ M+ g( U
  98. ;   Development Value: On
    4 z' o! H3 `- ^0 h
  99. ;   Production Value: Off
    2 c' }4 I1 p& j+ w5 u, b: q

  100. . `3 j  {/ @; l0 j4 ?# N
  101. ; display_startup_errors
    1 y, o8 f: y0 T" i4 j" P/ K. N/ d
  102. ;   Default Value: Off& c* {) ~; F  ]+ S8 n8 y3 M- Q
  103. ;   Development Value: On. S" T/ y# |! n" h3 R7 b8 @4 q
  104. ;   Production Value: Off
    0 K  F# X0 U5 v6 A" b! t' c& e

  105. , L5 j/ @( k2 O  C
  106. ; error_reporting
    : L0 L- Y% f) Y, w0 z# f
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED6 t6 ?. C- L) H0 [; V: `5 f
  108. ;   Development Value: E_ALL
    : M9 _7 F' S9 v& [9 |9 I0 A( k2 F
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT% h8 F3 u4 y, c. R6 t

  110. ( M  I) S$ {0 o: E2 r5 u
  111. ; html_errors. N& h) v! |, A2 X1 a
  112. ;   Default Value: On1 I9 W. p5 _/ Y
  113. ;   Development Value: On
    . m+ j+ L: y; m+ K2 r
  114. ;   Production value: On4 K5 J  C( e8 n2 `! M4 ]

  115. * `' e2 M- l# x8 R2 D2 m" K
  116. ; log_errors, A5 g& o/ M. T; h& m% G4 y2 `
  117. ;   Default Value: Off
    / S1 D9 \3 }5 b; l9 W5 a
  118. ;   Development Value: On
    $ b" l7 |5 ]& v5 a- X* H
  119. ;   Production Value: On5 ]- D$ [$ ~; {- o' @5 V* [* U/ C" F

  120. ) T  q6 \; O5 \5 _; N9 t1 C; ]$ }
  121. ; max_input_time
    6 F( y+ O+ y* Z; I% J) t
  122. ;   Default Value: -1 (Unlimited)) A. |! L* q# I& t. [
  123. ;   Development Value: 60 (60 seconds)
    % v# }5 [6 j; @9 i- H0 z
  124. ;   Production Value: 60 (60 seconds)$ U* c0 |. S3 H* X% t- e( t/ v) U# B
  125. # R! F- `) D9 z, i0 o2 K3 }
  126. ; output_buffering1 D9 N: w+ s1 \5 }; j+ I
  127. ;   Default Value: Off
    0 N/ P4 E6 [# i6 L% S- @" q1 _
  128. ;   Development Value: 40964 l" X) U6 C4 B  l4 Q
  129. ;   Production Value: 4096
    9 F7 e2 U5 I1 j7 D! g; c: ^
  130. 4 a4 U  \/ R# w& h- \
  131. ; register_argc_argv
    ) m1 L- N9 c* U5 p8 L: d
  132. ;   Default Value: On" I- ]. `5 L4 M" |0 U
  133. ;   Development Value: Off
    $ v: i3 X% n, P) V8 C( v, x; o5 g  T
  134. ;   Production Value: Off( U# s5 O7 B3 c, V* D% B
  135. 1 g! h4 ~# A  R9 v/ h. @2 P' F
  136. ; request_order) w/ t/ f3 d% t1 ?- Z0 m1 G
  137. ;   Default Value: None
    $ `* {, ]$ L" s9 V& J7 j) o" w3 K
  138. ;   Development Value: "GP"
    3 J: \6 ^8 P1 O  y) z% r
  139. ;   Production Value: "GP"
    4 G; S( X* `; H( k0 J6 \

  140. # ?, P8 [( |0 _! B( v+ P- J
  141. ; session.gc_divisor
    9 h9 |) `" O" A. N4 |1 l8 L" k+ S# S
  142. ;   Default Value: 100
    7 A7 R& i# z* j4 p! I$ c
  143. ;   Development Value: 1000
    5 w, u# x6 X2 Q
  144. ;   Production Value: 1000
    6 Q  M! \0 H2 Z
  145. # W" H" ?3 j4 w. o" o
  146. ; session.hash_bits_per_character
    / R2 R# B- a" c- J% p+ F1 _# n% K
  147. ;   Default Value: 4
    " k7 Z1 p( w# @# A" B8 n: k
  148. ;   Development Value: 5
    5 U" z( c' v3 b6 \; }0 t* L
  149. ;   Production Value: 54 x) ~/ \/ r8 o7 w6 u/ K

  150. 9 G# v3 J3 m+ o0 y
  151. ; short_open_tag$ s% \! u8 j4 q" x  v
  152. ;   Default Value: On  z$ Q* h" O- j" b% B# T# O, u
  153. ;   Development Value: Off
      l) a3 X, G8 _7 G/ L7 z) e
  154. ;   Production Value: Off  f& @. F. r( e0 c( J
  155. & r, z$ h5 S+ |: X4 d5 t& w6 |4 |
  156. ; track_errors' Z* i& i$ m2 I, a  I9 b& E
  157. ;   Default Value: Off
    . }5 ^+ ]- x$ t; n" j$ D
  158. ;   Development Value: On
    : F  S( r8 W, d7 }/ Q
  159. ;   Production Value: Off' X& ~4 b( {; K; |) N1 e

  160. * p; i! y( o* O6 _6 S# e5 w3 j% w+ a
  161. ; url_rewriter.tags$ z% F, R, D2 s/ V8 V! i
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    6 E8 Q1 L4 u3 R5 J6 }* t) ~
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 B( R8 H- [/ B! i& O+ R6 _1 H  [
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : A0 A; n2 X* p( t6 s+ o
  165. 8 ]$ f! ?& c; L% O) R, i5 G
  166. ; variables_order5 P# [( E3 c* R) b. e
  167. ;   Default Value: "EGPCS"9 w" E/ [5 X# S
  168. ;   Development Value: "GPCS". ^0 x, [; d. V, G" n+ i, _
  169. ;   Production Value: "GPCS"
    ' G/ n' j8 H7 ^- V3 a

  170. ! n% X- A) ]5 @. d! _
  171. ;;;;;;;;;;;;;;;;;;;;3 k/ z+ P5 f$ a5 @4 D! Z  k+ _
  172. ; php.ini Options  ;; q4 `1 C. |7 m3 y1 y
  173. ;;;;;;;;;;;;;;;;;;;;
      i4 }# ?6 \7 L2 Y  E
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"5 s( w5 t4 K5 V4 @+ ^* {
  175. ;user_ini.filename = ".user.ini"1 p7 Q1 z1 P! R. X: S( k

  176. 7 q1 o% ~7 [/ h4 ^3 o' ]
  177. ; To disable this feature set this option to empty value
    % c4 N5 m5 g% _) V% P* |6 J
  178. ;user_ini.filename =
    5 [1 R: ?5 q  d' K  t
  179. ( ~8 v3 f( D) T6 S' ^
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)" u; c1 X. X" x1 x6 Q& f6 U
  181. ;user_ini.cache_ttl = 300  @2 W8 ~  a) W' _
  182. . {1 A* R# L$ u9 r
  183. ;;;;;;;;;;;;;;;;;;;;
    $ l: A8 F2 M' I! m
  184. ; Language Options ;9 V+ a' |- v  g, B" N' |* f' U
  185. ;;;;;;;;;;;;;;;;;;;;
    9 @% Q7 H8 t) A& f2 s9 {9 v

  186. . G8 t, m# c% j' k
  187. ; Enable the PHP scripting language engine under Apache.0 b4 \5 s, O4 E5 P( @
  188. ; http://php.net/engine
    0 A9 r: O4 p3 O- e6 X1 F5 ^  S" N" k. H
  189. engine = On- A/ \8 h2 X4 c% g% i

  190. / ^/ d6 K% F  L/ f/ [
  191. ; This directive determines whether or not PHP will recognize code between8 g! x; c! N. |1 U4 j, R! a) {
  192. ; <? and ?> tags as PHP source which should be processed as such. It is. ^& {: f) D4 t  W
  193. ; generally recommended that <?php and ?> should be used and that this feature
    , ^/ b; }* ]4 Q) p' s/ O4 ^
  194. ; should be disabled, as enabling it may result in issues when generating XML# Y; o5 u6 Y2 a8 B' F$ Q6 U0 k& u
  195. ; documents, however this remains supported for backward compatibility reasons., v+ c" Y9 R6 J
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    - h$ X, H  m6 n3 W. w& m
  197. ; used regardless of this directive.& }1 Z) N  m6 T4 D4 \
  198. ; Default Value: On- M8 q* i. p7 ?& O8 _2 g/ Z: w
  199. ; Development Value: Off
    8 X. J* Y" W& s! x8 ^- M& `4 a
  200. ; Production Value: Off" ?- U( E5 E- L6 H9 b
  201. ; http://php.net/short-open-tag2 z) G7 y# p# m# u" M
  202. short_open_tag = On
    2 ~' F. i: J9 F$ }; r4 g2 Q

  203. $ w, N" p1 l$ X9 N5 L% w" e
  204. ; The number of significant digits displayed in floating point numbers.
    $ Y0 T) V* f0 }' w. v, M: u
  205. ; http://php.net/precision
    . C1 }2 y* V* c; W' }' m$ N
  206. precision = 14
    7 S2 D, `5 m; |9 P' t, w! W

  207. 6 t& v* u7 f1 U$ U2 u+ Z0 ]- [
  208. ; Output buffering is a mechanism for controlling how much output data' \+ w9 B/ m& I  W
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that3 b, d4 W5 k% ~6 I9 a
  210. ; data to the client. If your application's output exceeds this setting, PHP
    ( G; G- L6 ?* k3 ~2 Q- ]* `
  211. ; will send that data in chunks of roughly the size you specify.
    * Q; t6 M9 d1 ]. F) B3 T
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    1 b; i1 Z8 d2 E/ ^
  213. ; interesting side-effects depending on your application and web server.# [) T3 k) O6 E& J6 }$ R
  214. ; You may be able to send headers and cookies after you've already sent output
    8 Z3 T8 O# u; c: Z* }5 O& c
  215. ; through print or echo. You also may see performance benefits if your server is4 ]% s- }* z% d$ l
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    + e6 T, v8 w& y; X3 J
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    9 h& L. ?2 N2 `  Z' \, v
  218. ; reasons.
    3 }1 a- n4 D6 ~6 D7 t
  219. ; Note: Output buffering can also be controlled via Output Buffering Control' ^; k9 \' ^$ n# q8 i; S1 q! D
  220. ;   functions.& \4 q' o+ ^; z! e/ P2 G1 A
  221. ; Possible Values:
    9 a# e) k- h, Q8 J4 e- @. c# f
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    % |9 W3 R2 R/ l% s
  223. ;   Off = Disabled! J( h# l# u0 [: J) U+ b6 Y
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.) u9 v5 i6 d% M" F; Q3 `
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ' l' V1 W+ x5 Q& U8 o+ q$ z: H$ S$ f
  226. ; Default Value: Off
    ) g  \5 c6 T* g; Z
  227. ; Development Value: 4096
    % N1 `5 V2 ~& c% z* G. Y2 r
  228. ; Production Value: 4096
    7 y. r, _% S, V0 D% C6 ~7 C
  229. ; http://php.net/output-buffering0 }; `7 N$ `1 k# ]# d
  230. output_buffering = 4096) I! h* ]6 o$ Z& K- S" R5 V
  231. 6 L( A6 l8 Z3 V0 ]: J4 Q6 @
  232. ; You can redirect all of the output of your scripts to a function.  For8 r. k! K% f4 ^2 e
  233. ; example, if you set output_handler to "mb_output_handler", character, {0 T! f6 z) W1 Z; x
  234. ; encoding will be transparently converted to the specified encoding.* u# l. x" U3 p, Z  B3 r+ {- H
  235. ; Setting any output handler automatically turns on output buffering.
    9 y" w. B, Y$ d* H/ P7 Y5 k
  236. ; Note: People who wrote portable scripts should not depend on this ini0 f& A3 o9 {# o( X3 B
  237. ;   directive. Instead, explicitly set the output handler using ob_start().; N% b  k9 u/ x
  238. ;   Using this ini directive may cause problems unless you know what script
    - e) B- ]6 \% h
  239. ;   is doing.6 Y( p% s( r% l) W& i3 s
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler": J, U/ ~, w% d- U% l# T6 z
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    * s9 M5 w" E3 D! W4 \6 n# E7 j- b
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    9 ?7 T' I' Z& ~
  243. ;   Instead you must use zlib.output_handler.3 T7 T, T. |4 y5 s  c4 L% r5 C
  244. ; http://php.net/output-handler
    * Q- r6 N6 j# t- J( z, C+ o
  245. ;output_handler =
    & x$ K( n5 G, p% e! L5 b( T% b5 q

  246. # r" T) f# _+ ?9 i5 h* s' X: H( Z
  247. ; Transparent output compression using the zlib library
    + P' U  O5 a4 |" H# R% n
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ) E2 w; z! Q" b/ o  }
  249. ; to be used for compression (default is 4KB)% g* R2 D; a( D$ B+ x/ j
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ; [; T7 ?. _: S0 p! [8 Z3 b
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    " X0 _2 L) T, ^5 K, }" t( R5 N
  252. ;   compression. If you prefer a larger chunk size for better
    + T2 ~& J# s- V8 w9 X* O) B
  253. ;   performance, enable output_buffering in addition.9 }2 O& f! N! \/ k; F6 x" M4 o) s
  254. ; Note: You need to use zlib.output_handler instead of the standard3 {9 L6 X: S- X- `' _1 v) P
  255. ;   output_handler, or otherwise the output will be corrupted.2 w$ O7 ~6 [- {9 x
  256. ; http://php.net/zlib.output-compression! |8 f* {& A" C2 E
  257. zlib.output_compression = Off3 C" G. d3 T5 [9 n1 _; f

  258.   _5 l, p, X8 A9 T
  259. ; http://php.net/zlib.output-compression-level
    + o" E5 x' G5 e' M: x5 \
  260. ;zlib.output_compression_level = -1* H; q& f! `& M- k/ B
  261. + d! K% a8 q' \* q+ ~* V6 l9 j
  262. ; You cannot specify additional output handlers if zlib.output_compression8 E/ D' n1 K8 K  j
  263. ; is activated here. This setting does the same as output_handler but in3 i$ d4 @  j5 V* M  k& J2 z& J
  264. ; a different order.' Q( D0 p/ c3 b- G3 M5 Q
  265. ; http://php.net/zlib.output-handler
    ' e7 v4 t" l0 i- f& C6 j0 D& _
  266. ;zlib.output_handler =5 h: X; k8 b/ m; ~4 D6 [: n$ m

  267. $ N$ G" t! w8 U8 a/ l; @' n
  268. ; Implicit flush tells PHP to tell the output layer to flush itself% C, _+ g- a7 e% Z! d6 v( Q2 _( u
  269. ; automatically after every output block.  This is equivalent to calling the
    ; H' f4 s4 m/ m: p/ j9 Y
  270. ; PHP function flush() after each and every call to print() or echo() and each
    # q; b% q+ g  {
  271. ; and every HTML block.  Turning this option on has serious performance
    , C8 s: x" j# J) H
  272. ; implications and is generally recommended for debugging purposes only.
    8 M" m. l# m" ~0 Z% ?
  273. ; http://php.net/implicit-flush
    - x3 i0 }/ b& a' M( M* n& ^) B
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    " L/ `6 a" B) k3 ^- J
  275. implicit_flush = Off3 V8 a. c2 P7 Z% T. s/ T, |* Z
  276. $ T" o3 \) r" O5 ?, P6 h
  277. ; The unserialize callback function will be called (with the undefined class') v* E1 Z8 i( x  l8 Q* G- M
  278. ; name as parameter), if the unserializer finds an undefined class* t1 y1 a! K) F8 k9 ]+ A  P
  279. ; which should be instantiated. A warning appears if the specified function is
    1 ^7 N! L! J4 V' K
  280. ; not defined, or if the function doesn't include/implement the missing class.
    7 F; @% q4 A8 E( T
  281. ; So only set this entry, if you really want to implement such a
    8 V) K6 A% J* c8 K5 N1 Z$ r
  282. ; callback-function.
    + L3 B! V. x# m
  283. unserialize_callback_func =
    ) }( `7 C2 Z/ x$ `$ k5 _
  284. - P- k5 G2 }' J! s! o, x
  285. ; When floats & doubles are serialized store serialize_precision significant# X1 n) K" i% J* X8 j
  286. ; digits after the floating point. The default value ensures that when floats
    " s3 Q* l8 Y+ v! B2 n
  287. ; are decoded with unserialize, the data will remain the same.
    & z5 T. I. N! r  Y
  288. serialize_precision = 17
    # O! Z+ I" s5 ?- R1 B; {

  289. ) y7 |+ N' a3 c7 |
  290. ; open_basedir, if set, limits all file operations to the defined directory% b% n0 W3 D" ]" j8 `
  291. ; and below.  This directive makes most sense if used in a per-directory, {$ j. t9 J0 y  W
  292. ; or per-virtualhost web server configuration file.
    4 t) f% ?( ^3 |- O9 o4 }( z
  293. ; http://php.net/open-basedir6 C* K/ c! b* t  [4 S
  294. ;open_basedir =
    " Y  h" X, o  ]& D0 [0 z; J

  295. 7 `% ~6 O/ j0 j
  296. ; This directive allows you to disable certain functions for security reasons.2 @/ U6 `- Y/ C6 R
  297. ; It receives a comma-delimited list of function names.
    ! ?' F  M4 o+ }) Z. N1 Y9 G, o
  298. ; http://php.net/disable-functions* t) e0 q: n/ w: `* d3 I9 Y4 r, _" e
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru; P3 l1 F! `5 y/ w
  300. % t7 A# x8 F( p- H+ C% m
  301. ; This directive allows you to disable certain classes for security reasons.
    7 `6 T8 d* H; L: |& @1 V; ?
  302. ; It receives a comma-delimited list of class names.0 L  [' h; \+ h9 p) o# m
  303. ; http://php.net/disable-classes
    ! m' w5 ^4 m- v
  304. disable_classes =- |0 X2 I4 A: w% H$ _, V
  305. ; Y- X$ c! q5 Q
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    * J. o' m% |/ s
  307. ; <span style="color: ???????"> would work.
    0 @/ U* k. x# }( c6 L) M! X
  308. ; http://php.net/syntax-highlighting3 N% J' U3 Y4 v- [4 a; z  r: e5 a' ?
  309. ;highlight.string  = #DD0000
    0 R6 V2 \: v6 X. m5 P! a! ?
  310. ;highlight.comment = #FF9900
    0 F# ~9 g4 u3 `1 C
  311. ;highlight.keyword = #007700" @1 d: D/ ~1 P) q% e' ~( i
  312. ;highlight.default = #0000BB+ k0 [5 H4 H  t. J
  313. ;highlight.html    = #0000003 F" a: e- C: R$ k' }2 b7 v

  314.   x: N! O" O& T) P
  315. ; If enabled, the request will be allowed to complete even if the user aborts8 O' B+ s2 G* R8 N" w
  316. ; the request. Consider enabling it if executing long requests, which may end up
    ' J! _3 X. |" Z4 Q
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    : o- e6 L, _, ]. F6 T! S1 ^
  318. ; is to disable this feature.
    , I5 y- R4 O, w
  319. ; http://php.net/ignore-user-abort8 E: m6 H) y. x1 o0 L  {* t: L$ C1 n9 _
  320. ;ignore_user_abort = On0 [7 A  @6 z6 T8 s8 `; D

  321. 1 I" x7 a2 F# S* _+ d
  322. ; Determines the size of the realpath cache to be used by PHP. This value should; P6 H3 {  m" o7 n( B
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    ( Y, H- v9 g/ H$ y5 n3 u, R6 n
  324. ; the file operations performed." X/ _4 D0 E  {/ d$ g7 b
  325. ; http://php.net/realpath-cache-size
    , ?  T0 N7 U2 u# ?4 |, a
  326. ;realpath_cache_size = 4096k
    ) M+ ^5 Y, R7 V) U, @$ {

  327. & A: S5 S; z3 d9 D& o4 r, A* A" U
  328. ; Duration of time, in seconds for which to cache realpath information for a given. L+ Y) v! ]: U4 c; a
  329. ; file or directory. For systems with rarely changing files, consider increasing this! u7 Z( B; n$ m# y
  330. ; value.
    + T) c9 s) M6 _# E8 j; n' z' ]. N
  331. ; http://php.net/realpath-cache-ttl
    ! |5 R: Y4 @3 P% s7 t' z4 G" M0 b
  332. ;realpath_cache_ttl = 120% b/ L0 U5 F4 Q( h( P% o' q
  333. - h' z$ I/ h( g  b. \2 K
  334. ; Enables or disables the circular reference collector.
    3 [2 c, N0 H8 t( h8 @6 L
  335. ; http://php.net/zend.enable-gc' G7 {  N+ e4 R
  336. zend.enable_gc = On
    . i5 w0 h' T! @$ j' A

  337. 7 ?1 G- g7 l/ Q5 S2 c* X3 X8 z
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    7 \8 y* e3 W: x% u) x
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such" G# N- h/ M6 x* s( k) a
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    2 \; y" C  P2 j" _- l
  341. ; Default: Off9 U1 ?! r/ n) x8 I7 \1 e) z; C
  342. ;zend.multibyte = Off3 v3 p: c7 u' M& n  c5 O( @! q3 `# W

  343. - z4 q/ n, N/ M( W) Y/ }8 U
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    ' s0 R0 m% H/ W" m* ^  ^
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.5 @, S7 J8 M0 J
  346. ; Only affects if zend.multibyte is set.4 `" k! k+ c& w' {6 @/ g
  347. ; Default: ""
    8 c3 i; X6 C4 f( S& B4 ^
  348. ;zend.script_encoding =  o6 h) Q! A. S- D- W+ u
  349. % B' ]( ~- v/ H& Z
  350. ;;;;;;;;;;;;;;;;;
    ' d. Y% y7 y* T. H5 i: w7 L9 o# a
  351. ; Miscellaneous ;
    * f5 c+ [9 }0 Z
  352. ;;;;;;;;;;;;;;;;;* _' V$ [1 N! y1 t: S# F* n
  353. 8 W; X& |5 z. e6 p) N0 ^2 L
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    - \, V& N& q" Y/ p/ R4 _9 }: X1 [
  355. ; (e.g. by adding its signature to the Web server header).  It is no security, G3 O) N' C2 A
  356. ; threat in any way, but it makes it possible to determine whether you use PHP2 J5 O1 Y$ H7 u. D
  357. ; on your server or not.
    - A5 z8 d6 {* n& X' ?- `2 V
  358. ; http://php.net/expose-php8 c( _. I: h$ i" n% G+ u% @
  359. expose_php = On' W% s) Y6 F* f: B( P- ?/ G$ U
  360. " [3 H$ W' y9 n: p
  361. ;;;;;;;;;;;;;;;;;;;1 x5 p3 ]2 q9 T8 z
  362. ; Resource Limits ;
    # @+ x4 l% j& C8 t" n( M* P& ]
  363. ;;;;;;;;;;;;;;;;;;;# Q- f- b" s! ~* b* N
  364. 5 V* C  T9 h, {& C+ r# C" f! w
  365. ; Maximum execution time of each script, in seconds1 ~) G/ L3 U8 K4 _2 f
  366. ; http://php.net/max-execution-time3 X2 h- S- m  h! l- p- ~/ c. ^3 Z
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    0 h: U  _+ i* U: q/ Y
  368. max_execution_time = 300
    0 I2 p2 p7 f6 H. f. d

  369. ! Z' {, K7 j( N; o: k; }
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    2 }2 G& _' \. D0 O) ]
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    2 S+ g0 n7 q+ V% |% g4 d% `3 \
  372. ; long running scripts." U; |. i$ k, F
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI/ u; o! B; r/ p9 V0 F/ @
  374. ; Default Value: -1 (Unlimited)
    9 |' I5 `2 S, o+ q
  375. ; Development Value: 60 (60 seconds). ~8 b- h- p$ e6 u6 [9 q$ |- R6 e, ^
  376. ; Production Value: 60 (60 seconds)/ T) U  b# j; E, J) v7 X+ t
  377. ; http://php.net/max-input-time1 w" y9 ^& h! \- l5 _
  378. max_input_time = 60
    ; d* m& ]1 \3 @& ]8 z& l1 [

  379. ) _# p0 E, {3 x- B3 C
  380. ; Maximum input variable nesting level
    ! o7 b) `! B1 ?2 I9 f" Q
  381. ; http://php.net/max-input-nesting-level4 i9 T1 \( z! t! [1 }0 P& S
  382. ;max_input_nesting_level = 64( n: `- t6 k5 v6 W' A2 D. I
  383. ! F+ e& j' b5 e
  384. ; How many GET/POST/COOKIE input variables may be accepted5 B! J/ w2 ]! _+ e
  385. ; max_input_vars = 1000
    2 o$ ^9 o1 f, F5 ~1 D. A  c" M% q+ G5 R

  386. " W/ i- r$ G& [. I5 k# @4 D% ]
  387. ; Maximum amount of memory a script may consume (128MB)) B6 Q6 |2 G+ W
  388. ; http://php.net/memory-limit
    ' J  E2 `! {% o: W; p& C6 d
  389. memory_limit = 128M
    # ?) _3 p: N0 K  e; G
  390.   e2 w' p% k. Z& @0 h
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0 ]' Z9 N4 t  W+ j' I8 r4 Z  H
  392. ; Error handling and logging ;
    1 E% M& [- t* g7 v9 ]6 h2 g
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;$ f! Q6 P6 w) a' Z3 V" j7 G
  394. : _* Q' o$ m! ~! ^$ Y4 I
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    $ [5 P3 T! i0 T% B# J3 S
  396. ; it to take action for. The recommended way of setting values for this  ~  v1 _5 V0 f$ {8 Y% e, Y! z
  397. ; directive is through the use of the error level constants and bitwise
    ; L- Y: O7 s0 [  H- y
  398. ; operators. The error level constants are below here for convenience as well as
    4 F2 m  j5 ^+ l8 A, h
  399. ; some common settings and their meanings.
    3 a: {  [; R% @3 U, L( M* J! a
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    1 ?, v7 C8 o* @
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and# i6 s0 w" W4 q8 T$ I; r
  402. ; recommended coding standards in PHP. For performance reasons, this is the$ v8 x( v$ J+ k' M
  403. ; recommend error reporting setting. Your production server shouldn't be wasting+ I# c% \7 p' f; T/ [! y/ |! O' X( D
  404. ; resources complaining about best practices and coding standards. That's what* e& W  q' T& l7 w9 G: V. n
  405. ; development servers and development settings are for.
    & u7 y" m* h/ p
  406. ; Note: The php.ini-development file has this setting as E_ALL. This/ G0 ]8 I2 g7 V7 \/ Q
  407. ; means it pretty much reports everything which is exactly what you want during& K: ^' j! `- Z2 R$ u0 q
  408. ; development and early testing.: y2 ~' p5 C9 ?  R  i
  409. ;8 J0 H6 v2 g9 n4 n
  410. ; Error Level Constants:
    , ?$ G, T, k8 h6 j* Y. I' w5 a
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)  ~1 `; ~) Z/ q2 y
  412. ; E_ERROR           - fatal run-time errors
    5 }; M: o$ y/ x/ X, z  K6 P/ K! j
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors$ X" c/ }3 K6 B  A. n5 g
  414. ; E_WARNING         - run-time warnings (non-fatal errors)2 D( v- ]8 F/ z- Z/ B6 y5 t
  415. ; E_PARSE           - compile-time parse errors! g$ x# c1 P  c6 V. e
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
      F, G% s, d1 i+ ^4 t' Y
  417. ;                     from a bug in your code, but it's possible that it was
    : n% z! X7 o* K
  418. ;                     intentional (e.g., using an uninitialized variable and5 d- ^( r1 R: u# v! ?  b
  419. ;                     relying on the fact it is automatically initialized to an' T+ U9 v4 u5 Q" a  r' M
  420. ;                     empty string): f8 O& S8 |( u7 Q; u
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes0 ?. U% l1 E# `- _
  422. ;                     to your code which will ensure the best interoperability! D  f% i6 r$ ], ]
  423. ;                     and forward compatibility of your code
    ; A3 s1 y& a( r
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup9 [3 P# [8 b2 l, c
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    % [. G8 D. a. b) i6 Q7 T
  426. ;                     initial startup
    ' I& J) g* m( q
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    3 d: t4 R+ Y* u, U" f% w
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)+ Q4 U4 F( ~0 |6 `2 }
  429. ; E_USER_ERROR      - user-generated error message  F/ N& s& @7 g
  430. ; E_USER_WARNING    - user-generated warning message
    ( y+ z8 H/ s' a+ ~
  431. ; E_USER_NOTICE     - user-generated notice message
    9 K3 c$ U2 T$ i) U1 r9 t6 }
  432. ; E_DEPRECATED      - warn about code that will not work in future versions% p6 l+ E6 d" N- D$ A$ F6 |) z
  433. ;                     of PHP
    3 R0 D3 r$ n9 {
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    " Z5 {) x' ]+ U. W! z9 Y9 m4 T
  435. ;8 O6 w+ l* }* t2 f: X
  436. ; Common Values:1 u- ^7 A& P  T4 ^+ t" a
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)! W. t+ l4 L3 T3 k
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    $ g5 G1 \) v0 O( ?* ?, U, \4 q
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)7 I8 U- ?5 d4 `* t. a
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    9 r6 e: _! l8 L
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    & i8 j; a" l$ G# J, x! D
  442. ; Development Value: E_ALL& [1 y( l9 v1 a) S+ |
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT; C9 v6 \) N. c* f2 J5 e% v8 B
  444. ; http://php.net/error-reporting
    2 L$ F# W. t6 J8 t1 _. u
  445. error_reporting = E_ALL & ~E_NOTICE- u/ e2 ]$ h  P' `+ ?
  446. * ~, J7 h3 k2 [# l
  447. ; This directive controls whether or not and where PHP will output errors,
    & o$ H& _$ V1 h6 @# p
  448. ; notices and warnings too. Error output is very useful during development, but' e3 f" D1 a) p. I& e. i$ S$ Z: \, T
  449. ; it could be very dangerous in production environments. Depending on the code
    ; I6 e& G8 A; P! w+ R8 ~. [9 T
  450. ; which is triggering the error, sensitive information could potentially leak: h3 k' m( \0 ^: E
  451. ; out of your application such as database usernames and passwords or worse.
    & \: @3 `, P, @! z- u8 w  k: K
  452. ; For production environments, we recommend logging errors rather than
    $ l: w/ J2 l% @. b% k: ^2 S4 k
  453. ; sending them to STDOUT.9 l& K; G* `( n; D7 d+ L
  454. ; Possible Values:
    " v2 j2 Y' m/ ]% o
  455. ;   Off = Do not display any errors
    + K1 o9 y5 ]* Y. ~  H8 d0 ?9 N4 p
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    0 a; Z4 G  R3 D+ Z5 Z
  457. ;   On or stdout = Display errors to STDOUT
    : e* F/ e) U9 d
  458. ; Default Value: On
    * w: _2 \% y, a
  459. ; Development Value: On
    # U- i! n2 k+ M
  460. ; Production Value: Off& R  V0 i" K) ?" m) k, ~! o" _
  461. ; http://php.net/display-errors
    ( ~8 R# x; Q9 x  \
  462. display_errors = On9 j. k- V0 L; H' t. k

  463. ) w( M0 n" [/ B: y% h
  464. ; The display of errors which occur during PHP's startup sequence are handled
    7 |  {& u% \! `& Z) h/ R1 H5 I
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    , D* U- M/ ^- A9 Y
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    $ j. ]+ }; @9 t& D$ u) C
  467. ; debugging configuration problems. We strongly recommend you- M% @1 Z- _- k$ q7 O) P
  468. ; set this to 'off' for production servers.
    0 A* V/ l: c+ D* x
  469. ; Default Value: Off3 K' B. b+ e* q" b
  470. ; Development Value: On& j  n! W0 M5 T" G- q. ~, L1 u
  471. ; Production Value: Off& K/ M( ]9 S' z: [* E8 f. \9 B6 f# i
  472. ; http://php.net/display-startup-errors
    $ r! g, r6 p: i! i3 M4 U* W  ]* L
  473. display_startup_errors = Off
    / a1 N0 C! S: D1 `. ?' s4 E9 j
  474. ) b# p6 ^1 m4 L& c  B# O
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    / @) @( Z5 b. c3 L& M- E! a& i
  476. ; server-specific log, STDERR, or a location specified by the error_log
    , t4 F+ b! J  b  r
  477. ; directive found below. While errors should not be displayed on productions% ~, m. l5 |. Z. @" ?' q: R* z+ k& z$ N
  478. ; servers they should still be monitored and logging is a great way to do that.' D* A' d6 d' g( D1 b$ M& Q+ W+ Y! h
  479. ; Default Value: Off$ \6 u, g0 e- ?
  480. ; Development Value: On/ q: u0 k& u% H9 m% ?, N
  481. ; Production Value: On. O+ [6 S& v6 V2 y5 t$ ]* Y
  482. ; http://php.net/log-errors! v+ W8 a! {. {# _" N* z8 _, {
  483. log_errors = On8 C6 r% h0 ?" F4 \  Z- X

  484. % d6 O3 ]4 G& I: k1 ]
  485. ; Set maximum length of log_errors. In error_log information about the source is
    ) z5 K; a' ?( q3 M+ v2 z
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.) M4 H! ]. ~" `4 u) k& v
  487. ; http://php.net/log-errors-max-len0 P9 R7 J! D4 y/ n
  488. log_errors_max_len = 10245 |% ^) N2 j9 G
  489. ) [: s7 N% n- x# s
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    2 w: u2 ~. Y6 C3 P( C9 m* }5 z
  491. ; line unless ignore_repeated_source is set true.  n% n" ^& L* H  A$ [
  492. ; http://php.net/ignore-repeated-errors
    2 |7 |1 d- U/ G/ z
  493. ignore_repeated_errors = Off
    : f6 F+ N5 h: w) F! T
  494. ) Z* ^! ^: U. V$ W+ N
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    5 c" y$ W1 A7 A* e8 |
  496. ; is On you will not log errors with repeated messages from different files or
    " N8 ~  R9 `/ b$ I! J
  497. ; source lines.+ [1 }1 M( \6 N3 I& G- ]
  498. ; http://php.net/ignore-repeated-source
    2 D. |8 |8 e% ^+ ~% X3 D; }
  499. ignore_repeated_source = Off8 M* V& r# d- f8 u! i0 q  ~3 W

  500. 8 f% O% K. ^/ |" X; O
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    4 Y( ]1 T) |7 S$ i
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    - D' L( M2 y1 U, g& _8 E/ i
  503. ; error reporting includes E_WARNING in the allowed list
    * ^' b8 W3 F5 G+ P$ t, _. r" N
  504. ; http://php.net/report-memleaks' W2 s! b# N8 F& n  Z' l
  505. report_memleaks = On. O+ d* N. S9 p; v) P5 k. p

  506. + X( Z# W8 N( P8 b
  507. ; This setting is on by default.
    0 d& H% I# ?% U
  508. ;report_zend_debug = 0
    8 w' [2 o) f8 w7 L2 \4 \- B' a
  509. ! J# x6 R' U3 W2 d
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ' @& f: z; m3 g. G" K
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    " ^4 d0 [8 [$ i& Y; q# Y" O5 t0 C7 \
  512. ; however be disabled on production servers.
    ) t1 O+ E! Z+ f
  513. ; Default Value: Off" r6 r) p& @3 f/ \6 u$ F2 T5 \3 a' L
  514. ; Development Value: On
    : B4 {0 N, E2 T1 u0 g- v" n; i
  515. ; Production Value: Off$ k/ P" U" D& g- l
  516. ; http://php.net/track-errors4 {7 b5 l9 d/ j% H5 N# c
  517. track_errors = Off% A# b' |0 o; v) G( S) i+ C5 D
  518. ( q& _" k: h3 ^
  519. ; Turn off normal error reporting and emit XML-RPC error XML: z$ C9 U) K/ _1 ?& S
  520. ; http://php.net/xmlrpc-errors) B6 Z( n/ J3 [. l" `; [
  521. ;xmlrpc_errors = 0
    . d$ N4 R6 L4 a$ N' j

  522. / g  C+ ?3 p4 c9 K6 h+ A; l  ^  k. a  H
  523. ; An XML-RPC faultCode
    3 d) n3 i5 f1 Z
  524. ;xmlrpc_error_number = 0/ ^' s+ @  t  g5 _1 q5 r

  525. % K) R' C' c! I; F, c9 B
  526. ; When PHP displays or logs an error, it has the capability of formatting the, K4 j6 C* v; j$ Z
  527. ; error message as HTML for easier reading. This directive controls whether
    * w2 B8 i9 J; U% A6 E) G
  528. ; the error message is formatted as HTML or not.2 J  e0 a; C& n- ?- H
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI/ s! L. W, B% u( Y9 Y3 u6 r
  530. ; Default Value: On
    1 d! c  L! X9 b& k; g9 _
  531. ; Development Value: On
    ( K' }8 z4 d4 d% m% H, ]! K
  532. ; Production value: On
    ! z$ I; m7 r5 R( Z3 x+ h
  533. ; http://php.net/html-errors: \3 p: C$ U* B# x5 i+ ^
  534. html_errors = On% m3 K+ A9 U! F/ d: [

  535. + g1 B! a/ {6 |3 A# x3 Z
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ; k- n5 f) r7 J! M
  537. ; produces clickable error messages that direct to a page describing the error
      `/ A  |" |+ G& H  q
  538. ; or function causing the error in detail.
    0 I0 q. }; o! Z0 n9 |5 r! h
  539. ; You can download a copy of the PHP manual from http://php.net/docs! k7 e7 b; V5 E7 L% u. W8 f
  540. ; and change docref_root to the base URL of your local copy including the
      x9 v9 ~5 m8 k' `/ u; C
  541. ; leading '/'. You must also specify the file extension being used including' }5 q) ]- g) |& _1 c8 q$ `
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which$ M+ C2 y4 V/ b! p, `- s9 G
  543. ; case no links to documentation are generated.8 Z7 M) Z( O* T% h. G
  544. ; Note: Never use this feature for production boxes.* [. m$ V" q( C9 \5 N0 A8 f2 {
  545. ; http://php.net/docref-root
    ; {. x1 N! Y2 _! `- P* l
  546. ; Examples% \$ n% P  |: s' G9 V6 `" E
  547. ;docref_root = "/phpmanual/"* z, H, M' l+ v% L$ U
  548. ! c8 t% ~) w# X  j3 K' ]
  549. ; http://php.net/docref-ext# v: M" h& p) Y
  550. ;docref_ext = .html
    0 p" q6 d$ J) k2 c' ^8 c

  551. . \9 i1 P' w( z
  552. ; String to output before an error message. PHP's default behavior is to leave
    ! j+ n" j. E7 {/ y
  553. ; this setting blank.
    ! }2 o2 S0 @1 @% C6 F
  554. ; http://php.net/error-prepend-string" b* t8 |- X# `, [
  555. ; Example:9 o% P' K+ u9 s- k8 m  r8 [& T7 N
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    6 N8 N0 o- u1 [# N+ h2 d9 j3 X

  557. * S2 C0 ^1 f% C( W. H
  558. ; String to output after an error message. PHP's default behavior is to leave( B# X* |% @0 A5 T
  559. ; this setting blank./ C/ S% V& G  e+ [9 `; a+ N; Z
  560. ; http://php.net/error-append-string2 a" [& q9 A% R/ Q5 Y, f
  561. ; Example:
    ! l/ x) m1 P$ Y6 N3 @- i6 b
  562. ;error_append_string = "</span>"" N. M* c, M8 N7 S. O* b
  563. 9 ~) b4 y4 z+ H4 ^" z) K( h
  564. ; Log errors to specified file. PHP's default behavior is to leave this value" M" G4 \+ ]* ]( V9 w! h: k6 i
  565. ; empty.
    ! v) e% w) x8 X3 H
  566. ; http://php.net/error-log; H1 U! m& X2 |& t2 d9 z
  567. ; Example:
    / H* r) @0 P7 w' l: {
  568. ;error_log = php_errors.log
    + p! b; O; l$ x% J' {# o. u
  569. ; Log errors to syslog (Event Log on Windows).: Y) ]8 v$ h" H2 [3 O$ m
  570. ;error_log = syslog: x3 T5 {2 U& d

  571. - o: I* L' [4 q# ^5 `8 L
  572. ;windows.show_crt_warning
    & I' U) `: T& n
  573. ; Default value: 0
    4 Y# L7 g# P9 @8 B
  574. ; Development value: 0) ?8 E1 C, j5 B* |
  575. ; Production value: 05 u/ X+ V  v5 H/ Z) F  P+ r
  576. + Q; T$ G- p# Y, o/ v) u
  577. ;;;;;;;;;;;;;;;;;( x/ {* z! t& {+ H5 l. G, T$ ~) G& u
  578. ; Data Handling ;
    * y# p5 C$ f! k3 O9 S5 Z4 Z0 w8 y' R
  579. ;;;;;;;;;;;;;;;;;7 x3 D" h* }* q2 Q$ B
  580. 4 B& v3 {* ]4 L/ N; p8 S
  581. ; The separator used in PHP generated URLs to separate arguments.
    " P& B7 M3 S8 O" x
  582. ; PHP's default setting is "&".( C; h: W8 T- `# v: u; }
  583. ; http://php.net/arg-separator.output- \. g" m8 N$ ^9 \- a
  584. ; Example:8 B+ T2 a1 X) Q) A# z$ s
  585. ;arg_separator.output = "&"! f$ [1 A7 Q, e! e

  586. - c) f  M  Q9 I" Y; ^+ K3 s
  587. ; List of separator(s) used by PHP to parse input URLs into variables., E* X* W: Z, d2 Q
  588. ; PHP's default setting is "&".: T8 X( [  Q' x; N- Q  p9 z
  589. ; NOTE: Every character in this directive is considered as separator!
    9 A( l" D4 q" e' |- ~% L  E
  590. ; http://php.net/arg-separator.input3 h4 h' Z) [- w' Y* J
  591. ; Example:
    ; d( U6 D( P" j  C" y" v( x
  592. ;arg_separator.input = ";&"
    * j5 T8 h" j0 _9 L0 ~! V

  593. * X, ^" p8 F5 l+ H1 b* A: d
  594. ; This directive determines which super global arrays are registered when PHP0 u+ K4 m+ A/ c
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    , H2 s& K- H/ [: Y
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    6 O$ Y0 S& Q, ?( D5 I7 C
  597. ; paid for the registration of these arrays and because ENV is not as commonly) i- i. l- T' E! I$ \# ]
  598. ; used as the others, ENV is not recommended on productions servers. You
    6 X& ~/ i9 Z$ A0 ^+ x
  599. ; can still get access to the environment variables through getenv() should you
    : r  U! j6 V) B, w
  600. ; need to.) u# f" _4 d- [" r' L" U
  601. ; Default Value: "EGPCS"& w% s) i2 K: {8 b; V% \
  602. ; Development Value: "GPCS"2 X2 G6 }3 D7 v2 j/ x0 B5 `: n
  603. ; Production Value: "GPCS";. J9 E# u5 F2 R1 b& s+ W) F. @
  604. ; http://php.net/variables-order
    : m, p- L' ]/ n, B. K1 S+ O) A
  605. variables_order = "GPCS"
    4 b- k2 V% o/ w8 K0 r/ s# g
  606. . a6 a+ S/ J7 J2 _  u, d
  607. ; This directive determines which super global data (G,P & C) should be! {6 O3 \/ [+ ?8 z/ F
  608. ; registered into the super global array REQUEST. If so, it also determines. `6 M4 [3 [. W4 L. C- q4 W
  609. ; the order in which that data is registered. The values for this directive) A8 O* X, e$ t  E) H7 Q
  610. ; are specified in the same manner as the variables_order directive,8 e) W# m* E  \0 U( M
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    0 o8 J2 q! t3 }# h' h) H
  612. ; in the variables_order directive. It does not mean it will leave the super
    1 T) P; [8 c/ d( }. F
  613. ; globals array REQUEST empty.
    $ c+ C9 t; H! ^* P# N9 q
  614. ; Default Value: None. q" P% h7 z9 ^5 B
  615. ; Development Value: "GP"
    8 ~+ r; ~- |5 A1 I  {& ~
  616. ; Production Value: "GP"
    + f% B% {9 N7 C2 e& b; i  g
  617. ; http://php.net/request-order. R! b# K, c  J$ h+ U# Z
  618. request_order = "GP"
    6 T  g0 d* ^! w: a  ?

  619. 8 p, Y* R5 |1 l4 ?$ l0 s: u" ~1 ^3 j
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    " x, M/ I7 u( |% @9 m' P/ F, a
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ; i' _. R3 c& k1 F9 v/ U# y
  622. ; is invoked. $argc contains an integer representing the number of arguments
    . R3 y+ h7 r8 v2 C( ^
  623. ; that were passed when the script was invoked. These arrays are extremely" U. ~4 S; j; y# ^
  624. ; useful when running scripts from the command line. When this directive is/ _  s" E# \* B* S& p$ O6 z
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    & G# }0 W3 n# @; n. e2 p
  626. ; a script is executed. For performance reasons, this feature should be disabled
    1 Q2 i+ U# W: Y  K6 A3 Z6 B' ]8 J
  627. ; on production servers.
      s" u: Q$ s3 E, U* i
  628. ; Note: This directive is hardcoded to On for the CLI SAPI3 ?' B% T& I, j: H9 G
  629. ; Default Value: On- W) i$ T4 h- b' u+ j' B( N
  630. ; Development Value: Off8 [; v+ R# c" J9 U* T+ t
  631. ; Production Value: Off
      G( w* C2 O% v$ q
  632. ; http://php.net/register-argc-argv7 J. y& F; Q% s. k
  633. register_argc_argv = Off# A4 \6 B! w+ o

  634. ; h& s- E! }2 R$ k. a* ?
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    4 h( n  t% |! Y8 D3 K9 z: C+ w
  636. ; first used (Just In Time) instead of when the script starts. If these
    0 F' t9 h' o1 J( g
  637. ; variables are not used within a script, having this directive on will result
    ! G# M8 z3 N3 }6 p) }
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    # t; \  l- w- U6 M* T( i
  639. ; for this directive to have any affect.
    5 m( S8 L- ~3 C, N0 X
  640. ; http://php.net/auto-globals-jit
    9 a" W% j/ ^1 z) S3 i
  641. auto_globals_jit = On  O: U6 ^* }- G/ G. j
  642. 4 E; G# Y" u2 J+ V
  643. ; Whether PHP will read the POST data.
    9 S! w: s; X! R
  644. ; This option is enabled by default.
    9 U, p: R7 z9 G( q8 o8 C
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    & f# \! d, w- P9 j$ Z; `
  646. ; and $_FILES to always be empty; the only way you will be able to read the4 W, i. u% h$ {7 O1 k; T. m
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    % {1 |( {# ]5 x2 X0 a
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ! A3 V* F3 I" a5 P* k* O- V
  649. ; http://php.net/enable-post-data-reading+ T& {& c5 s- F8 m4 s* j1 J
  650. ;enable_post_data_reading = Off0 @& ?: I9 d2 @2 [) U

  651. . ^7 Z7 G$ |+ v( x
  652. ; Maximum size of POST data that PHP will accept.) P7 N! _# G; F
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading2 E; j4 \/ E" \- s% G% j5 ~
  654. ; is disabled through enable_post_data_reading.! H2 z9 l% V3 I- ^8 V7 ^2 M7 `3 q
  655. ; http://php.net/post-max-size9 f6 Z! r% \' a: e9 q: }
  656. post_max_size = 50M
    . }$ \! ]5 E) e* Z. u7 j; I7 i
  657. ( F- C' \& J; }$ a
  658. ; Automatically add files before PHP document.
    . q( X: y. d9 D! h( O) n9 Z
  659. ; http://php.net/auto-prepend-file
    $ a4 @5 |# U& D9 M3 K
  660. auto_prepend_file =
    9 @; L7 W. S0 j+ V+ l' H
  661. % l# J; E+ Z5 w1 X9 J3 b+ X
  662. ; Automatically add files after PHP document.3 L- z; p% T6 h- y
  663. ; http://php.net/auto-append-file
    + i% C$ o, e. c
  664. auto_append_file =6 O7 f) v$ k2 R$ B  [8 t

  665. ! T/ D7 P3 \3 ^2 D) n7 e* R3 f
  666. ; By default, PHP will output a media type using the Content-Type header. To
    : `. I$ k) `# {# H/ G+ R
  667. ; disable this, simply set it to be empty.6 N9 ?* d7 P- d1 T
  668. ;
    # W% ?0 q. R3 p$ e( R
  669. ; PHP's built-in default media type is set to text/html.
    * g+ _# y, i2 p* l7 o9 P
  670. ; http://php.net/default-mimetype& y6 x, [0 a; G: b% S  o
  671. default_mimetype = "text/html"' s, A+ R7 k3 w8 @; `

  672. * `+ d$ c8 t4 O
  673. ; PHP's default character set is set to UTF-8.5 c% j0 h$ v( f* K
  674. ; http://php.net/default-charset
    , w: V- Y- q, W/ `" X
  675. default_charset = "UTF-8"
    ! v& i# W, a5 _" ]

  676. # Y5 F; K7 V6 I( S- Y3 o
  677. ; PHP internal character encoding is set to empty.
    # d$ e! ]7 b7 I+ |9 y
  678. ; If empty, default_charset is used.
    ) ^( R8 h$ K' V) B/ H0 I4 ^" M& D' Z
  679. ; http://php.net/internal-encoding# E% L9 r& {6 ?) R3 T
  680. ;internal_encoding =4 a" i0 p) Y& B9 H' j+ \
  681. 4 T, l8 A( t4 e5 R, B- o0 H: p
  682. ; PHP input character encoding is set to empty.7 u, F8 L# ~. j
  683. ; If empty, default_charset is used.: Y/ u$ N" h2 V% L
  684. ; http://php.net/input-encoding
    2 k! r8 i& {* J) N  P
  685. ;input_encoding =
    . g) w: a+ R1 i5 b, P9 D9 {
  686. 2 R* W( u$ I% {" n! o6 e
  687. ; PHP output character encoding is set to empty.
      Z9 p: u. L# d; y! W' Y
  688. ; If empty, default_charset is used.
    % x" H  d* J: {* m
  689. ; See also output_buffer./ ~! `$ N' k8 d2 |% l$ ^
  690. ; http://php.net/output-encoding) B$ `% |$ c! X% e  X% L: \
  691. ;output_encoding =
    3 P$ r: G1 N- x, Y. K1 C, q( X5 e
  692. % {# u5 t1 N5 t# w8 r
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ) A& f# F; Y  v5 G* A" ?1 ]& R6 D8 u
  694. ; Paths and Directories ;
    ; b2 l, M9 d0 X2 {
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    1 w/ w3 Q% ~2 n" a( h

  696. 1 `! v, L( Q0 o' B6 T% c
  697. ; UNIX: "/path1:/path2"
    : Z$ [* q, W2 h+ s
  698. ;include_path = ".:/php/includes"2 G+ B0 h' ?5 N' {3 c& E0 ]; ?
  699. ;
    3 \  m8 g2 P! k/ g  z* G$ ]
  700. ; Windows: "\path1;\path2"2 b* B. z: a$ R2 O
  701. ;include_path = ".;c:\php\includes"
    2 d" l/ b1 h& X' v6 u- i  `
  702. ;
    ! {+ l$ q9 J8 n
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"& J/ l  w+ @. S
  704. ; http://php.net/include-path
    . ]6 @$ b5 d3 \: r9 N, x3 i
  705. 5 W( V+ O6 ^% Z. ]2 a9 N& b
  706. ; The root of the PHP pages, used only if nonempty.; |# R1 M7 y2 Y% `* [8 D
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ; Z  P% N5 W* p
  708. ; if you are running php as a CGI under any web server (other than IIS)
    - ]( ~) |  Q+ b
  709. ; see documentation for security issues.  The alternate is to use the
    ; c% Z" D+ k2 m  U# D( ~
  710. ; cgi.force_redirect configuration below
    ( u0 S% ^1 @5 s! S3 J) L
  711. ; http://php.net/doc-root
    1 ]4 X$ k: O% O
  712. doc_root =
    & E: k5 u( a" T# ~

  713. 0 E  ^  V+ V( I- I3 o0 n
  714. ; The directory under which PHP opens the script using /~username used only. e2 R% r9 }& E0 u9 X( U% c
  715. ; if nonempty.- N: D! E7 o: N6 {5 d
  716. ; http://php.net/user-dir4 g% F0 V5 p) m  B& D
  717. user_dir =7 ~# d- A' O6 O( c
  718. % d5 ?' B* z2 T. @* B
  719. ; Directory in which the loadable extensions (modules) reside.% I0 q+ G' T5 X
  720. ; http://php.net/extension-dir- n2 X& B/ a$ x. H4 R: z
  721. ; extension_dir = "./"6 c  p! \& P1 K! Y; N: g
  722. ; On windows:
    - {4 l9 q. t" X* I% E8 [: H
  723. ; extension_dir = "ext"2 ?8 i- F! l+ g1 ?
  724. " e" Y& n( Y0 \' G: h! {2 y
  725. ; Directory where the temporary files should be placed.1 u6 C5 r( G' q0 A+ m# }3 u, I
  726. ; Defaults to the system default (see sys_get_temp_dir)
    5 v+ u: N/ M  W% n- o: h! c
  727. ; sys_temp_dir = "/tmp", I, t7 A/ g9 `0 X: f  q6 i- H+ {" C/ V
  728. ' a, R+ d6 e! e$ V( P9 n
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ) I4 e7 x2 N, c: e2 }8 L
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically5 A7 n' V1 g2 F0 \
  731. ; disabled on them.' L4 D6 f8 ?. O+ d
  732. ; http://php.net/enable-dl  C4 \6 i" m4 c" }5 @
  733. enable_dl = Off
    5 W9 R- q, e1 M4 u( Q3 i8 ?3 ?
  734. % v( W4 t" |/ E/ M0 f% p
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ( p! f" Z1 C2 T8 O! A, r4 j
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    * N, v& R# i- K/ I& Q
  737. ; turn it off here AT YOUR OWN RISK4 E0 Z  ^) ]% a8 v+ y9 W
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    # R2 _, i; I! f, j9 T
  739. ; http://php.net/cgi.force-redirect# j2 o% Z+ q+ Z
  740. ;cgi.force_redirect = 1' ^7 `$ p( l6 r$ U0 G9 o4 I
  741. 3 j, V4 l  Q% d' _
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with) W' }3 F# Q' A1 [! Y( {
  743. ; every request. PHP's default behavior is to disable this feature.  `/ r! _0 J3 J1 z/ d
  744. ;cgi.nph = 1
    ( d" x8 o: v& f0 \: w! v

  745. 1 x) |) [% o5 |2 D% D. j. P# J
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ( O, q3 u, S6 Y. u
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP3 ?- f0 C! o5 a+ u" L, J1 R2 c- v
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    : `: h: Z; q6 d2 W6 \
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    8 z9 w8 n$ x; X& p$ ^
  750. ; http://php.net/cgi.redirect-status-env
    ! D+ S* V) g* N* r8 }$ v
  751. ;cgi.redirect_status_env =0 p: L* W8 O$ L; k5 M

  752. * v" F' p3 P. n: S4 {% Z: q" |
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's9 u  j+ W) \) l6 S( o( G
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    / F; M" f1 L+ f- X2 Y
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting( w6 s' S. j& [6 E( p( |: m
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    $ K. r7 [& B- w  B. O
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    : F/ P: [1 F$ O, H
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED., S6 C$ m6 z. T% ^( a0 [
  759. ; http://php.net/cgi.fix-pathinfo9 J. L* v1 C# A% j$ w" v/ n! L
  760. cgi.fix_pathinfo=1
    " ?! l+ x! x4 l7 A
  761. 8 U" I8 g# R  `/ V
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside! a- ^1 Y1 ^+ E2 n5 x  n) J/ F
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    1 @: J0 K7 j( j! x) J! [
  764. ; http://php.net/cgi.dicard-path
    ! _% X4 ^$ U; ?' Q* i, t, X
  765. ;cgi.discard_path=1
    3 J3 W# X5 c, A$ a2 g" r! G
  766. ) I& u% ~' e$ W9 P; p
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate' r9 G# y( N! b$ ~( ~
  768. ; security tokens of the calling client.  This allows IIS to define the3 @% O- I: ]7 R' t: L+ r
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    9 Z( I+ J( |+ ~8 t1 p8 c! a! T
  770. ; does not currently support this feature (03/17/2002)% I& m0 n- s/ i1 U- ]8 U2 h3 `
  771. ; Set to 1 if running under IIS.  Default is zero.
    ' m. }& N. r- {' D( s" \2 [; ?
  772. ; http://php.net/fastcgi.impersonate
    2 J# t1 B2 |' \9 @
  773. ;fastcgi.impersonate = 1/ [$ ]" @  c- e

  774. ( f1 Z. ?" o) P/ n; D% }- a8 B" T
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    1 G3 ^) c& j( b) w# U
  776. ; this feature.
    ! `& P% S5 w4 y8 w  J4 w; Q
  777. ;fastcgi.logging = 0! c7 C, f4 d9 I
  778. ( t' F8 Z/ N0 G. o# ]
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to# u2 O4 g: A% V# ]5 a) W& m
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    : Y' v/ g1 E/ I; s$ M
  781. ; is supported by Apache. When this option is set to 1, PHP will send$ M" A" R0 V  R! l8 A& h+ P
  782. ; RFC2616 compliant header.
    7 c' p0 c* [7 Z" p
  783. ; Default is zero.( ~0 [$ Q# [( |- Y! L) R
  784. ; http://php.net/cgi.rfc2616-headers" m8 R- _* X; Q  w  Y% ]
  785. ;cgi.rfc2616_headers = 0
    * F7 b- Z; q( t* m  e" j+ d
  786. ' T* w! ]$ w. E2 {' e
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    & |3 @. h  F4 K- p
  788. ; (shebang) at the top of the running script. This line might be needed if the4 V% q8 q$ E5 E% [% `1 X* K
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI* o0 z; I; l1 T9 f' `0 u0 t; Y$ _1 ?
  790. ; mode skips this line and ignores its content if this directive is turned on.# q: B3 v  R6 Z- Z
  791. ; http://php.net/cgi.check-shebang-line
    & Z9 \+ f; E# W1 ^! \. O- M& b
  792. ;cgi.check_shebang_line=1# T$ S8 @5 n& J/ z1 p6 X
  793. : [' ~0 F( c$ A1 b% `
  794. ;;;;;;;;;;;;;;;;* d3 w. g0 {" i  Z
  795. ; File Uploads ;9 t4 h% n' h0 @8 x" a
  796. ;;;;;;;;;;;;;;;;4 m" g: W7 R& L/ |

  797. % s& U$ g* o) H& M( a
  798. ; Whether to allow HTTP file uploads.- A# B% o. G! k6 J* Z/ _$ q) H
  799. ; http://php.net/file-uploads
    * l( q2 v$ E1 S  b
  800. file_uploads = On
      ]* J/ Q4 S9 G/ Z
  801. 2 A$ ?& u. e2 Y$ p$ G3 f. o. I  U
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    + M0 J' i7 c, o4 y9 P( }# z8 J+ I7 R
  803. ; specified).' Y; ?1 P" r; B
  804. ; http://php.net/upload-tmp-dir3 G: E( k4 j% n2 t9 k6 K$ `" O
  805. ;upload_tmp_dir =! \, R* M7 a4 g2 t$ Q% z9 K

  806. 6 @: ^; B. E. i5 Z0 ^4 h
  807. ; Maximum allowed size for uploaded files.! h  }. Z$ m: y# ]- k+ |9 @" {
  808. ; http://php.net/upload-max-filesize
    , R  G; A/ I. R7 X1 V3 Z, z# U6 G
  809. upload_max_filesize = 50M  ]5 J' ~0 Y! B" q
  810. ; N0 k% t0 u9 c$ o" ?3 j
  811. ; Maximum number of files that can be uploaded via a single request2 W$ Y( X8 t% r6 h
  812. max_file_uploads = 20# k& P- w) r% b5 p

  813. ' U1 ~6 h/ }0 [7 C- x. y7 e* J- Q
  814. ;;;;;;;;;;;;;;;;;;5 }. R* ?" A; ?/ P) p$ g
  815. ; Fopen wrappers ;
    : Z; q! k/ ]& H' ~9 ?0 z
  816. ;;;;;;;;;;;;;;;;;;( ]. _2 M; S6 v  O0 {
  817. % c* @. F; V% }! O# r9 h
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.  }- o+ t- n$ ?
  819. ; http://php.net/allow-url-fopen; U% }6 f  R# z6 S  l: k
  820. allow_url_fopen = On
    1 W0 ]0 A! i1 h
  821. ( W6 A1 `+ o* \5 G: k
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.8 R$ d; Z0 j! \/ i6 T4 [3 Q& V
  823. ; http://php.net/allow-url-include
    4 a% i) D  D& k
  824. allow_url_include = Off1 d* Y& g/ n3 f' F5 {6 t+ t# t
  825. 5 ], a3 i, n* i. O9 l9 E, U
  826. ; Define the anonymous ftp password (your email address). PHP's default setting5 S2 B$ X, d  O7 w3 }. U4 T, h
  827. ; for this is empty.
    " ~" u; ]+ c" ]; d- _
  828. ; http://php.net/from7 \3 F2 y* [0 O! O* |; Y2 h
  829. ;from="john@doe.com"7 V# P/ p  N4 V& G
  830. . z. u6 ?# T5 E9 x) y2 p% B0 m  ]
  831. ; Define the User-Agent string. PHP's default setting for this is empty.- c+ q8 P  n: ~1 ~* ~
  832. ; http://php.net/user-agent9 T0 v0 s; L) K, |7 P
  833. ;user_agent="PHP"0 W# ~  l: f' r, T# w
  834. # ~* _' ~7 |" K( J% b( x
  835. ; Default timeout for socket based streams (seconds)
    & W. B; [$ k- A
  836. ; http://php.net/default-socket-timeout+ j1 [) h' M5 ?- _; N: P& P# w. x
  837. default_socket_timeout = 60/ p# B* O% @2 N6 o5 c2 ^
  838. % L0 ]: D7 u& n- U9 X
  839. ; If your scripts have to deal with files from Macintosh systems,
    3 s  ~8 H9 B/ g  n5 ~
  840. ; or you are running on a Mac and need to deal with files from
    / c* m$ }. B" N) C
  841. ; unix or win32 systems, setting this flag will cause PHP to$ G- i9 b9 h: C; G  ?4 ]
  842. ; automatically detect the EOL character in those files so that
    1 o3 O9 m: X) P4 |0 w' x3 k- F
  843. ; fgets() and file() will work regardless of the source of the file.
    * b9 W3 L& D& i" |4 I
  844. ; http://php.net/auto-detect-line-endings1 U$ {' M0 k. s) A, a: z: x* W
  845. ;auto_detect_line_endings = Off
    2 Z) x% `8 v" D
  846. % E  D, H! e1 R" V4 F/ V
  847. ;;;;;;;;;;;;;;;;;;;;;;0 o* n5 y9 |! U: E% [( p: G1 L$ c
  848. ; Dynamic Extensions ;
      e- e  ]2 d. `4 x3 v! A; `
  849. ;;;;;;;;;;;;;;;;;;;;;;7 w# r9 X; Q! r8 n( R9 y
  850. 0 C- W  T0 c  D0 @; Z
  851. ; If you wish to have an extension loaded automatically, use the following
    6 E$ Y6 v+ U% g0 D, f0 U5 z
  852. ; syntax:
    2 u7 y$ E* j# M# P. t
  853. ;
    & V7 d1 ]* c$ K' T
  854. ;   extension=modulename.extension) ]% E- ^% X4 P% X" {
  855. ;
    ( H- k& p" J( J+ [
  856. ; For example, on Windows:0 t4 e9 O8 Q/ A& Z- Y
  857. ;/ i4 O4 o. u7 Q- g( D- @
  858. ;   extension=msql.dll2 j* i( l& H6 y1 M8 g$ V
  859. ;
    4 ^" d6 k6 j% N3 M7 e& m  A
  860. ; ... or under UNIX:- ~& V3 a* D5 @5 Y- y  N
  861. ;/ R  o( n. y! @8 ?) f
  862. ;   extension=msql.so
    4 y, P' Y& c! G: P4 h( |0 o
  863. ;
    6 K) S, u  @% J9 T# o) L* S
  864. ; ... or with a path:: b; |- ^  ?( A8 q$ H
  865. ;# }% |# u: D' g, R" L" \+ W- H  q0 d
  866. ;   extension=/path/to/extension/msql.so
    4 F) @4 U' T9 B  z* A
  867. ;, C3 W0 e) h/ C. x3 T
  868. ; If you only provide the name of the extension, PHP will look for it in its, h8 ~: E& i( l7 G
  869. ; default extension directory.6 s7 h& v6 Y" U, }2 s. e
  870. ;4 h( i' n  M0 e3 w/ o% E
  871. ; Windows Extensions
    9 E8 C- i: Z3 p9 ^# i! o
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    ) @4 ?5 Q& ^. h, C) L; A) v
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+), h& j( d5 J: {
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    ) z9 A6 r( T0 Z2 Q- z5 W1 _
  875. ; Be sure to appropriately set the extension_dir directive.
    ! z5 u) m& f8 W* E
  876. ;
    % `2 ]$ s0 b0 W( J6 d" G' ]5 `) h; e
  877. ;extension=php_bz2.dll! ]" J) Q: I* T6 b( `8 b
  878. ;extension=php_curl.dll
    + [4 f# C$ }2 t1 g
  879. ;extension=php_fileinfo.dll& C7 Z: m: Y7 ]1 \0 F
  880. ;extension=php_ftp.dll
    / N8 a6 u3 w0 z$ `' b
  881. ;extension=php_gd2.dll
    9 ^( A1 m2 T! q1 f: O, S1 l
  882. ;extension=php_gettext.dll1 ?. g! M( R3 p8 E
  883. ;extension=php_gmp.dll
    ; X4 @& s# g% ^  Z7 T8 d1 ?
  884. ;extension=php_intl.dll1 \/ [. a& f0 s! d; D. I
  885. ;extension=php_imap.dll, q  g) U& p  O" L/ `/ ~
  886. ;extension=php_interbase.dll: G5 E6 x4 P9 n7 t0 R" t
  887. ;extension=php_ldap.dll
    $ n  k1 A( t/ z  U% |
  888. ;extension=php_mbstring.dll
    1 G8 n. F( U3 R! |/ P" @/ {. P
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it3 G( \: o4 s# D) T- f: |* H& D0 y
  890. ;extension=php_mysqli.dll$ B$ L& h* p; \8 i: i
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client6 Z8 J# z8 d* ~' O: ^: B
  892. ;extension=php_openssl.dll1 @) _: w$ a2 C9 e3 P
  893. ;extension=php_pdo_firebird.dll
    8 X" W3 n& P, I2 v. m
  894. ;extension=php_pdo_mysql.dll# m3 R# {1 S& \$ w6 F( `- \$ D
  895. ;extension=php_pdo_oci.dll+ P1 v" _: }; a! Y
  896. ;extension=php_pdo_odbc.dll# r: V. _7 o1 A& p
  897. ;extension=php_pdo_pgsql.dll
    0 |  Z6 i7 T1 W4 d( u) b* u# ]0 n
  898. ;extension=php_pdo_sqlite.dll
    " O* X3 x; F/ l+ V* E
  899. ;extension=php_pgsql.dll% n! ]& w% p, X- |! L6 ]- N
  900. ;extension=php_shmop.dll/ N; R% I7 h9 Y# h0 m' Q) O9 T  d

  901. - ]' _  w. S8 I8 k- c( x, I
  902. ; The MIBS data available in the PHP distribution must be installed.2 k. F3 G+ z! C7 n; F0 B1 G
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    " ]# k* o  w0 J$ }9 S  K/ P) n$ V, P
  904. ;extension=php_snmp.dll  K2 L$ C" U- l" C7 z( c

  905. 3 ^) }0 @4 S4 B  `( w' {( X
  906. ;extension=php_soap.dll2 X# p2 H/ H+ t: D3 L  z
  907. ;extension=php_sockets.dll: `2 b* e, [" X8 n. ^
  908. ;extension=php_sqlite3.dll
    8 t% A  q8 x3 m5 G; z6 [7 v' y
  909. ;extension=php_tidy.dll/ ~; t; F/ ?+ V+ x" n: a1 V! ^* q
  910. ;extension=php_xmlrpc.dll
    0 H4 s& g6 r$ @( L; \. N
  911. ;extension=php_xsl.dll' C+ c+ _  l1 O' A0 I; Z' c
  912. ( m; H/ a% d' x1 t" N" N
  913. ;;;;;;;;;;;;;;;;;;;
      _: L" t3 ~6 C7 m/ p
  914. ; Module Settings ;* T. D- }' R* {( p$ `
  915. ;;;;;;;;;;;;;;;;;;;
    6 J1 X& B- Q  U4 W4 `$ f! v9 x
  916. ' K; Y* a) X+ q9 r
  917. [CLI Server]+ p# {! }, S2 {- m
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.! y; k! }( O1 I) ^
  919. cli_server.color = On7 y! r" K, V- @+ D
  920. ) \8 t. y& w2 y+ z& o7 ?2 `7 \
  921. [Date]8 d2 ?4 I) [+ B3 S) _3 P
  922. ; Defines the default timezone used by the date functions/ J2 u+ x5 ^/ I: l) Z
  923. ; http://php.net/date.timezone8 F4 N, q# h1 ]3 w6 M; o
  924. date.timezone = PRC
    6 N& k; A) `5 }/ W
  925. ( N$ t9 d: a# f+ Z  r
  926. ; http://php.net/date.default-latitude
    ( W% j% b% q: d& l7 e
  927. ;date.default_latitude = 31.7667
    4 W3 ]0 w# Y: D  H& t9 Y; Y# M
  928. / _- e" _: K" U1 J8 l' E  v
  929. ; http://php.net/date.default-longitude* b3 J' g% D0 n8 i4 V# X
  930. ;date.default_longitude = 35.2333
    ) l3 B% z7 h4 x. l

  931. ' c$ l* H1 J' @/ [, q9 b
  932. ; http://php.net/date.sunrise-zenith
    / r! v9 x4 n, X4 ?/ u
  933. ;date.sunrise_zenith = 90.583333; L* i+ x. B. P) w: G0 v: X  w

  934. 8 s* C6 E9 w4 q, V  G
  935. ; http://php.net/date.sunset-zenith; f8 @0 _+ ^" Q( ~
  936. ;date.sunset_zenith = 90.583333+ M  W$ ^; L8 y

  937. / i( p6 R7 l+ o
  938. [filter]
    # X3 S7 g3 x1 G
  939. ; http://php.net/filter.default# {! V* m( _8 n2 y1 P4 l1 w0 d
  940. ;filter.default = unsafe_raw
    3 K5 X* y, \5 [, E' h8 l

  941. : N" J4 _; l- ~; m. X/ U9 t
  942. ; http://php.net/filter.default-flags
    0 I  B& E, [  u2 Y* w$ Z8 W( _! U
  943. ;filter.default_flags =' V/ U5 |2 r8 z8 K2 y$ K. q

  944. 6 Q0 {# b, I. ?% J+ K% n$ y6 s
  945. [iconv]
    : C2 p  u2 e7 v5 V: {- A1 e( @) O' E
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    / R  e& t# u/ L4 o, _% m/ |
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.1 Q6 e% r1 Q: C& [6 i, v
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding  y' v% I' k- L& m
  949. ;iconv.input_encoding =
    ' Z8 b) H5 I! K# d

  950. 3 }( B& |* p+ L+ @  Q" U4 O# ^: S
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ( C3 G6 W4 n9 q3 T  S$ N
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.& j+ E' S% ^' h1 I3 U
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    # m7 i8 ?3 K8 E7 X0 u# C! l
  954. ;iconv.internal_encoding =" `4 t' B- V, j' M

  955. ( G/ k/ U" |* Z- `: v7 H4 m
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    " K; i, e3 J& D& g
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ( k! T( F, r- T8 E( J9 J
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding" @9 K9 s, p  j! L" v" y5 H
  959. ; To use an output encoding conversion, iconv's output handler must be set* r5 i7 B9 W( K
  960. ; otherwise output encoding conversion cannot be performed.
    6 |% ~2 y1 y, |
  961. ;iconv.output_encoding =. E+ i7 H4 K6 c6 a" Y  H

  962. / H; O; L, d$ I& _; |- ^
  963. [intl]: w: b3 f/ h3 {( z
  964. ;intl.default_locale =
    - }6 e- ^( V- K- c8 N$ k$ t
  965. ; This directive allows you to produce PHP errors when some error5 \8 Q% a! ?  n! s7 E
  966. ; happens within intl functions. The value is the level of the error produced.7 \. G$ D: h8 V8 A- j0 F. J
  967. ; Default is 0, which does not produce any errors.
    ' }- d) x: B2 d; j/ k
  968. ;intl.error_level = E_WARNING
    1 F0 C& E0 b, ?/ t" L0 Y+ J
  969. ;intl.use_exceptions = 03 l9 {/ a7 X. M- }. b/ w6 P

  970. & u+ e2 V9 c% I& H" x( _; c4 H; p
  971. [sqlite3]  t+ `: t  K4 a) t: f* G3 Q
  972. ;sqlite3.extension_dir =) G8 m. n) Z8 k( }( z* x8 i

  973. 2 E4 M7 J1 D! G8 Y. K' G: F
  974. [Pcre]
    " C% O7 e: H! k/ c! h" _/ Y5 F8 y
  975. ;PCRE library backtracking limit.% _  D" M+ x2 ~9 M2 w
  976. ; http://php.net/pcre.backtrack-limit
    , U3 Y9 a4 R& z1 `5 S& D$ g4 b
  977. ;pcre.backtrack_limit=100000! B6 u: F8 n  O
  978. 5 |2 o6 Z$ t6 A* ~$ f5 Y( {$ N
  979. ;PCRE library recursion limit.4 y7 X7 P* C- a: u4 \
  980. ;Please note that if you set this value to a high number you may consume all% Q# D# L7 }6 \2 {/ E3 M
  981. ;the available process stack and eventually crash PHP (due to reaching the
    ! j; ~/ M  n8 C
  982. ;stack size limit imposed by the Operating System).
    % ]' G2 B, M9 R) Y( x
  983. ; http://php.net/pcre.recursion-limit4 s+ d0 y5 b& u  d8 s+ y: L) N
  984. ;pcre.recursion_limit=100000" [) f& v4 }, F, E6 \5 R( D

  985. - K( {" b- l" _3 }6 x5 k: H
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE1 D) X/ `& Q( x+ B' e+ Z/ M
  987. ;library to be compiled with JIT support.8 {% x( U/ |; j1 g8 ]6 y/ ?) Q
  988. ;pcre.jit=1
    * b# z* n# z: X) ^6 H2 w

  989. * W8 U( F* V8 k8 n9 f
  990. [Pdo]3 }" Z- T. w, R5 q2 [" ^3 d
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"6 L: q7 B  b! z
  992. ; http://php.net/pdo-odbc.connection-pooling
    " o  P# ?4 n+ d- a) j" j2 C, ?
  993. ;pdo_odbc.connection_pooling=strict+ q1 N% `- J) z5 B) v( z

  994. 6 V5 ^% r. h+ L3 K
  995. ;pdo_odbc.db2_instance_name
    + W# I$ ~! M- o( `
  996. 3 y. K$ e* |7 B4 g7 P5 x$ {) E
  997. [Pdo_mysql]
    / h( y, V, N! J0 o  l  U3 [4 `2 H
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    # c. V7 F5 A* l: B) R/ a
  999. ; http://php.net/pdo_mysql.cache_size
    1 {/ p0 a/ \* {3 `
  1000. pdo_mysql.cache_size = 20008 b& [$ j& c+ @( m/ Q
  1001. - p  w# z" f: L
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in2 c8 c6 R4 i: E4 ?7 t% i
  1003. ; MySQL defaults.# _% ?8 U2 E1 @3 i7 ^" m/ Q9 c
  1004. ; http://php.net/pdo_mysql.default-socket& T: I- _  B7 V; E
  1005. pdo_mysql.default_socket=
    ) @) w+ G) J) [" J$ x
  1006. 1 e1 d; P0 c4 r
  1007. [Phar]. }+ J$ X& E/ f: @
  1008. ; http://php.net/phar.readonly
    4 ]& _8 z- n$ o  P* ?/ Y4 ~: c  m
  1009. ;phar.readonly = On
    : B* n, m6 [1 P. ]

  1010. & i) P% d4 q* h/ Q, V, y
  1011. ; http://php.net/phar.require-hash' B5 ]' t' K2 V$ X% q8 E" c2 H; Y1 j
  1012. ;phar.require_hash = On
    3 N$ i/ l& U! {* q

  1013. : t# V6 ^, u8 Q" d. t' E5 C
  1014. ;phar.cache_list =
    " Y: Q8 Q8 `' y6 b: f) P. Z
  1015. 8 e3 y& R. r0 V' l8 @4 ^, l- \* w
  1016. [mail function]
    ( I% ]1 O& h; F/ ]' E
  1017. ; For Win32 only.
    , {& t4 M+ }6 Q0 t) g; _% E. l) {
  1018. ; http://php.net/smtp$ S; A0 s6 i& G2 z" {$ c
  1019. SMTP = localhost; v  O* X* S; ^8 E
  1020. ; http://php.net/smtp-port
    4 u0 M. k0 J5 J; e
  1021. smtp_port = 25& U, L  w% _" E9 B3 ~1 F6 l& z

  1022. ; T. J3 ?" @- {
  1023. ; For Win32 only.* X& |% g4 u6 L1 F. @: W3 D
  1024. ; http://php.net/sendmail-from
    ; |8 M  c# V: q
  1025. ;sendmail_from = me@example.com
    ) F1 Z8 ^) n& z* A# }2 d: r3 S4 }/ O
  1026. ( l9 o: l! U, ?* {+ L
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").5 ]/ c) L9 P- ?* S- ~' q
  1028. ; http://php.net/sendmail-path
    ' p) l: `8 S7 r" U4 R% t: w
  1029. sendmail_path = /usr/sbin/sendmail -t -i7 ^$ K) [: Y% i6 t$ x3 L- n
  1030. 1 @; m, {( T4 P" d3 Z) O* E9 T
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    ' P, E* ?8 V" d3 Z, Q7 P3 R( ]1 D
  1032. ; to the sendmail binary. These parameters will always replace the value of
    2 l7 s6 r. h* d, r
  1033. ; the 5th parameter to mail().
    2 L" e2 j8 S9 U
  1034. ;mail.force_extra_parameters =
    9 G7 e+ l* A, i& {4 E7 r
  1035. . A( v& z/ @$ H1 n# a9 g& Y
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename4 Q" |; O! s7 C$ m
  1037. mail.add_x_header = On
    + w3 s/ |" [% s7 r" E

  1038. 6 Z* d/ Y) j! H. a
  1039. ; The path to a log file that will log all mail() calls. Log entries include, v+ ?1 \5 c! p4 b+ B2 m
  1040. ; the full path of the script, line number, To address and headers.( B8 J# N9 @$ ?3 a7 P
  1041. ;mail.log =/ s6 {) T' h2 w. {6 @8 t) X
  1042. ; Log mail to syslog (Event Log on Windows).9 c( a2 z, ]- ]
  1043. ;mail.log = syslog! Z1 \+ I9 L' D# I, ]
  1044. - j' p# a( T; {
  1045. [SQL]
    # M* R$ k0 z0 r! r* Z, A9 D
  1046. ; http://php.net/sql.safe-mode: I# C$ i3 ^3 r: v* {  H$ H
  1047. sql.safe_mode = Off& S5 e% l! z  A6 Q# Z
  1048. 2 f1 a7 t( u. p. v9 k) l
  1049. [ODBC]6 ?5 V# D& U! n% u7 {! u& Y: ?! F
  1050. ; http://php.net/odbc.default-db4 p! [7 x, m/ N5 L; d4 G
  1051. ;odbc.default_db    =  Not yet implemented) |+ K, Q& |% _, Y

  1052. 6 T2 B9 Z# {$ x7 K. D% q2 }' `# r
  1053. ; http://php.net/odbc.default-user1 k9 u* X- L; X. g7 \
  1054. ;odbc.default_user  =  Not yet implemented9 Q3 p& T( _  L( |3 N* H; z
  1055. $ P9 {3 }* n; Q8 e2 B
  1056. ; http://php.net/odbc.default-pw( f, u' I5 y& y2 B! \
  1057. ;odbc.default_pw    =  Not yet implemented# Z3 I+ e2 d4 w6 ]; ?5 o% K

  1058. $ _0 ]$ P/ h" s* m+ x
  1059. ; Controls the ODBC cursor model.
    2 j  {: h  F5 ^2 U* _
  1060. ; Default: SQL_CURSOR_STATIC (default).: e  \: ^" i) U$ W  F- D
  1061. ;odbc.default_cursortype, ?' F  \% u# \8 y
  1062. 8 ^( `# V; h: m9 L' d6 J% X2 y5 ~
  1063. ; Allow or prevent persistent links.
    $ K$ f& e1 S) L/ W! |% ^: z
  1064. ; http://php.net/odbc.allow-persistent* Q: x% a' V- D; q4 A% I
  1065. odbc.allow_persistent = On" y( p5 E# e9 T/ d
  1066. 7 `. V9 ]$ n. ^+ n, a: u
  1067. ; Check that a connection is still valid before reuse.
    ; P" o7 u$ G! k- j
  1068. ; http://php.net/odbc.check-persistent
    2 S  r; q' Z0 A
  1069. odbc.check_persistent = On
    + e. i1 ^1 q/ S1 R
  1070. / D  d+ P) m/ z# \8 `/ Q6 ]
  1071. ; Maximum number of persistent links.  -1 means no limit.7 o4 ^2 D1 [0 I+ D' M5 o
  1072. ; http://php.net/odbc.max-persistent( o2 ]; l- N% i/ p/ w
  1073. odbc.max_persistent = -1
    " T% ^6 Q4 q7 ]. l5 D

  1074. ) ^8 b4 S' C. x7 L& j; @+ ~
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    & c* _6 N: y: O" [" j' R
  1076. ; http://php.net/odbc.max-links0 O# w( `. P3 E
  1077. odbc.max_links = -1
    " x( @2 o) f4 }$ x8 w6 A
  1078. " t% F6 }9 ^, S/ J+ e
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means4 \" \; x( [% P/ I( @; x! c: x
  1080. ; passthru.
    6 c" G9 ^% N9 F5 i1 ^/ ^
  1081. ; http://php.net/odbc.defaultlrl! O6 b) e- b6 J' f4 P
  1082. odbc.defaultlrl = 4096
    2 U. H5 T3 Z7 ]

  1083. 8 x- f! v; \% W+ P: q
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    - k' }1 p6 @3 }- v
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation) f9 s0 }6 T) X  u4 W. P
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    8 _7 B: [( {  q8 B' x7 N# E  j7 B3 M
  1087. ; http://php.net/odbc.defaultbinmode
    ( `" M1 P& r( }3 {2 ?
  1088. odbc.defaultbinmode = 1; K; M- Q2 p" t7 _3 d4 |

  1089. # J( Z. C. N! Z; {
  1090. ;birdstep.max_links = -1' L* _1 S9 i6 R( S  P

  1091. 9 I5 Y& Z+ D/ q
  1092. [Interbase]0 `; O, t& s7 J2 h$ h  l. z" k* `
  1093. ; Allow or prevent persistent links.
    3 }/ }! x% ?& H& p+ N2 @
  1094. ibase.allow_persistent = 1( \. q! o- u$ E  V; C9 P. j0 `5 V6 U

  1095. $ ?3 O% T* k# S: [3 F* d
  1096. ; Maximum number of persistent links.  -1 means no limit.2 A8 d4 J9 B" Q
  1097. ibase.max_persistent = -1
    + s& s( Y" q0 X% S5 T9 J0 Y: N

  1098.   }- b. m3 l" H
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.; F0 y. ?+ p' w! y
  1100. ibase.max_links = -1
    3 S9 ]: r' J1 e

  1101.   p) f8 j. v& ^; z+ E8 {' v( s" h
  1102. ; Default database name for ibase_connect().. p9 o& W+ [/ y& m" _  D1 V' w
  1103. ;ibase.default_db =
    7 c9 J3 z8 J' I2 T

  1104. ; x* ~) j3 h( _6 V, {9 H0 g9 |3 ?0 F# \
  1105. ; Default username for ibase_connect().
    - o7 B! c- I) K; g- A- I7 L
  1106. ;ibase.default_user =
    0 y1 E/ e1 \1 z9 D( S( y* ]+ ?. g

  1107. 9 N  ~0 t, [) g1 \8 D8 F
  1108. ; Default password for ibase_connect().$ l% z; \' n% n4 f. b0 z$ b9 s: y
  1109. ;ibase.default_password =
    4 c/ R$ w6 S5 U% ~) v4 }
  1110.   J1 G* |$ k% t* V' q
  1111. ; Default charset for ibase_connect().
    " r: D4 r; j5 o2 j* R6 f
  1112. ;ibase.default_charset =$ [, z' l6 Y4 ]. S" P

  1113. 7 J' G% x6 j5 t" }! c
  1114. ; Default timestamp format.2 r/ D+ Q; W) T" Y% B0 C
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    / h1 `6 O+ B' k9 {. d0 R( s- {4 X- S
  1116. " p, d1 L. w2 D5 e; `1 y5 ]9 l
  1117. ; Default date format., R, O3 J2 ~9 Y- ]  e/ C& K  E
  1118. ibase.dateformat = "%Y-%m-%d"# n6 r: h3 P7 d5 [
  1119. & X& R1 B% f! T6 B, ~
  1120. ; Default time format.
    " t" c: G9 l0 }6 M/ r1 p
  1121. ibase.timeformat = "%H:%M:%S"
    , ~, S6 t+ S( x
  1122. 4 }  T% x. _, C- G
  1123. [MySQLi]
    $ t2 h( y* |6 v! x" d# a) c
  1124. 1 c0 h5 S; I% }4 U7 u
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ' r# ^, a, H: g  w1 Z) j  P
  1126. ; http://php.net/mysqli.max-persistent: H1 C: ?* Z8 {' F
  1127. mysqli.max_persistent = -13 _3 x5 L; \$ ^5 L1 p+ {: T% s/ w' s. ^. t, L
  1128. 8 {" @. p" }5 h1 b! [. ?0 z6 n9 x
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements6 z5 K/ }8 t2 f; H) r' C
  1130. ; http://php.net/mysqli.allow_local_infile
    8 b" y4 m. B6 k) Q7 v. O, f/ f5 I& {
  1131. ;mysqli.allow_local_infile = On3 \2 X! f5 ~( i, k# T0 M  I
  1132. 5 |4 O3 t/ u; P! K
  1133. ; Allow or prevent persistent links.9 K/ n6 w; t  x* D; H) F) z/ x
  1134. ; http://php.net/mysqli.allow-persistent
    * P5 @6 I  c1 Y% E% v
  1135. mysqli.allow_persistent = On* Z2 t0 |5 M6 h* u/ Y3 j

  1136. ) U) o) v6 Y, ~  g
  1137. ; Maximum number of links.  -1 means no limit.
    # r2 H. U* m% Q' X  H: b1 F! c
  1138. ; http://php.net/mysqli.max-links" @+ U  G3 |4 k) i
  1139. mysqli.max_links = -1
    ) r% ]% u6 G) ]9 W

  1140. ; W, Y+ |! V7 U2 C
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    0 H+ }) w4 r* H2 \5 [
  1142. ; http://php.net/mysqli.cache_size. }7 c) R( z- Z( O
  1143. mysqli.cache_size = 2000
      V9 Q/ Q! E3 }2 V
  1144. * }' l- |6 B  f1 M. M0 w0 d4 q# i
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use! N' `- g8 p) C! D' W
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the/ q  n8 P$ `7 Z1 i- r7 n
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    1 q8 G- G* O8 c" o, f
  1148. ; at MYSQL_PORT.
    , a5 s8 l$ `2 A1 ], U9 |) n
  1149. ; http://php.net/mysqli.default-port
    ! A* n1 S4 K  R
  1150. mysqli.default_port = 33064 m# o, W- J: J8 Z$ O3 V

  1151. * _; C$ Z. y* a+ d0 K' ?: ^
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in7 B) C4 l& m. |
  1153. ; MySQL defaults.
    ( t3 X( k, j  x6 ]: a  U
  1154. ; http://php.net/mysqli.default-socket
    ' {: L. ]  c6 g; `6 Y9 Z3 V
  1155. mysqli.default_socket =8 r- ~! {* S2 {/ w+ a
  1156. ; s8 d3 ~; ~' w' o  H4 W" F8 N4 L
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    0 R* y3 u# _- F5 a- V+ K2 s
  1158. ; http://php.net/mysqli.default-host
    & o" |6 [% }3 }, s4 l
  1159. mysqli.default_host =. B$ I6 Z& C( Z# e
  1160. # T" u8 [) g7 E8 p8 P  R* D6 F
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).$ Z: Y8 L1 w, Z- x1 E6 o' R
  1162. ; http://php.net/mysqli.default-user
    : y7 J# S% o+ h/ K- ?; |
  1163. mysqli.default_user =
    " d& A0 A+ n, U6 P# q8 k3 w2 N

  1164. " I4 x0 I  Z  c# h/ d
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).! Z: e/ d) [8 D! Y" M
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    ) m+ i  h6 @/ J8 N- X4 X4 A6 ]6 d1 H
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")* i- B0 `9 n) o5 ~( w9 s& ~. z
  1168. ; and reveal this password!  And of course, any users with read access to this
    * _1 F' W0 v8 X
  1169. ; file will be able to reveal the password as well.: N0 T/ ~- z% a  O7 x( V/ ?! j) {
  1170. ; http://php.net/mysqli.default-pw
      b( Z7 O* S, G7 ~- W. L
  1171. mysqli.default_pw =
    ; r( S+ `  A3 J4 K

  1172. 7 Y* h/ |) t" K1 r) F  |
  1173. ; Allow or prevent reconnect5 ]1 w  r' v6 x% L& p4 d
  1174. mysqli.reconnect = Off5 Y4 G( Q( U2 B; b' @

  1175. % F  U7 d: N6 D$ Q( q+ h
  1176. [mysqlnd]3 C; _& ?6 [9 ]4 _5 r. f8 p
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be8 D, p1 z0 E7 I2 i" N
  1178. ; used to tune and monitor MySQL operations.* v: B  \& x2 y9 u7 I4 s( {
  1179. ; http://php.net/mysqlnd.collect_statistics& e& w. b" n$ D, ?8 E) e7 a0 g4 A  G
  1180. mysqlnd.collect_statistics = On) R* F( R2 ~3 l$ Y/ P

  1181. / f5 [% q4 g+ }
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    0 u$ a+ B" s  |( M5 F0 u
  1183. ; used to tune and monitor MySQL operations., M2 m/ Y4 [& Z9 @: M
  1184. ; http://php.net/mysqlnd.collect_memory_statistics. J- Y% L5 r! A  ~
  1185. mysqlnd.collect_memory_statistics = Off
    / m" G) n8 `* v! M" ^: z; X
  1186. " m( i3 ]# o; A* W4 _, H/ a
  1187. ; Records communication from all extensions using mysqlnd to the specified log1 A% V' X/ ~  A# a
  1188. ; file.$ @' \9 u( i) K; v& p# C4 O
  1189. ; http://php.net/mysqlnd.debug- n7 Y- A4 u5 C* \$ j) d6 E1 a+ q
  1190. ;mysqlnd.debug =% o' c' v  O' g# M/ j
  1191. 5 x4 l' \; w1 H7 z8 Y3 E! g$ i; B; l
  1192. ; Defines which queries will be logged.2 |7 K% E9 f2 J  z0 a
  1193. ; http://php.net/mysqlnd.log_mask
    # B5 a- L6 ]' ]
  1194. ;mysqlnd.log_mask = 0
    $ c* K' K4 R* |

  1195.   H; H$ e1 J4 n
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    + ~, y. Z7 H+ ?* z3 f
  1197. ; http://php.net/mysqlnd.mempool_default_size
    6 |2 |2 L  T' @" J, Q, ~7 O' y6 |
  1198. ;mysqlnd.mempool_default_size = 160002 q6 N0 p' }. m% m2 |
  1199. 7 t4 F8 Y/ b* J; }6 ~
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ' v0 }% G. @- C! o' N1 j
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    % t" @5 b! c! z9 i. h8 e& x
  1202. ;mysqlnd.net_cmd_buffer_size = 2048% z' I& U, L# z

  1203. / e$ k% R8 c( X" f/ {
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in3 X2 h$ w3 U" a5 w
  1205. ; bytes.* T8 `0 q& ~8 z4 ]+ G* N+ l9 P7 }' V
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    6 _$ R8 r/ {3 L7 M* Y% _
  1207. ;mysqlnd.net_read_buffer_size = 327688 z" B, k$ X0 }! l6 I- E
  1208. " Z0 `& u4 J, p9 L! X
  1209. ; Timeout for network requests in seconds.( G# ^" ]: t& C+ q- L7 h8 u: s0 S
  1210. ; http://php.net/mysqlnd.net_read_timeout
    & {' I  G$ M: W4 v5 C' V7 x
  1211. ;mysqlnd.net_read_timeout = 31536000
    $ Z8 r) r, v6 p) D
  1212. 0 _  F  P$ M; r) n& m- e& C
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA, P( j  ~5 X& L& d5 \
  1214. ; key.6 X- ]( u* W! ^- b7 v2 M/ N* T4 P
  1215. ; http://php.net/mysqlnd.sha256_server_public_key! f) c" S( x3 @5 O4 o" a
  1216. ;mysqlnd.sha256_server_public_key =  C# \2 i* X$ F5 p& Z
  1217. ! D4 `0 |. h( S$ _3 J4 Q
  1218. [OCI8]2 x3 |* S' e( Z1 u
  1219. 0 D4 ?8 V% q: a6 c% j
  1220. ; Connection: Enables privileged connections using external
      |7 V) I+ w, W
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)6 u# B- ]# J$ M
  1222. ; http://php.net/oci8.privileged-connect7 G: u1 b9 l1 N3 K
  1223. ;oci8.privileged_connect = Off
    + j& p  N* F  v' T) ^! q
  1224. ' }: s+ `) L- S5 V
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    . w, a* ^7 a6 R, O: C$ _, ?. N
  1226. ; process. Using -1 means no limit.
    0 W2 ?( N4 i0 d$ z0 t0 X
  1227. ; http://php.net/oci8.max-persistent  Y+ F6 Y5 n1 n) ]3 e
  1228. ;oci8.max_persistent = -1
    ; u- Z) z; w2 h1 ?9 r6 a

  1229. 3 `) ^. F, c! w* [; m
  1230. ; Connection: The maximum number of seconds a process is allowed to+ t. q6 {( _8 n
  1231. ; maintain an idle persistent connection. Using -1 means idle
    ( h, L3 N# b/ D
  1232. ; persistent connections will be maintained forever.
    % Z& H% S7 t, n7 u) S4 |
  1233. ; http://php.net/oci8.persistent-timeout
    " `+ S, K4 y: O* Z
  1234. ;oci8.persistent_timeout = -1
      N8 b; @/ c& p! C" b  m" U/ m. G5 o
  1235.   |. W, q: o' t3 F  m
  1236. ; Connection: The number of seconds that must pass before issuing a) z' c0 R! O# j, l0 w4 w4 c
  1237. ; ping during oci_pconnect() to check the connection validity. When
    $ ^7 m) K4 l1 P; V; H0 m5 ~
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables/ E4 [1 u' g* t! C& ^0 }
  1239. ; pings completely.
    ' _9 r% P( q: I" T6 t3 h# O+ _
  1240. ; http://php.net/oci8.ping-interval
    . U5 g% W3 e  b1 D
  1241. ;oci8.ping_interval = 609 u1 [3 l% t* [
  1242. + o$ Q3 S' n, c( I: X; P3 z( ?% U. B
  1243. ; Connection: Set this to a user chosen connection class to be used
    4 b, g1 f  x: f- D
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    % c& d' i; L$ o# E2 I; I; g
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    " _' N5 C% O+ ?2 i6 w, e
  1246. ; the same string for all web servers running the same application,6 T5 E" t& C3 U( [0 O! ]
  1247. ; the database pool must be configured, and the connection string must7 p- G; N$ `2 k
  1248. ; specify to use a pooled server.7 i9 {' ^' Z- L- c
  1249. ;oci8.connection_class =
    & I/ _! S% H& \7 A- e/ C& a4 w

  1250. * L$ p, t) P( E9 e# b2 H' R6 B
  1251. ; High Availability: Using On lets PHP receive Fast Application" g1 w  t+ U" {6 _3 S2 \5 f" T* d
  1252. ; Notification (FAN) events generated when a database node fails. The2 v  a4 ^8 I- S
  1253. ; database must also be configured to post FAN events.
    - H! S! K' j( N6 @! j
  1254. ;oci8.events = Off( I1 O& d& d2 n5 x/ R& l6 i$ z+ u3 m2 C& z

  1255. / P8 Q! T/ b  x
  1256. ; Tuning: This option enables statement caching, and specifies how
    & t! E. A0 h/ ?/ `- H1 q
  1257. ; many statements to cache. Using 0 disables statement caching.& s) c. K2 l7 [( m( ]/ t
  1258. ; http://php.net/oci8.statement-cache-size
    2 ?7 n8 Y0 i% V: T3 [3 @+ v) m
  1259. ;oci8.statement_cache_size = 20( L3 C: o5 B2 L

  1260. . T+ ?% N. j7 W
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    $ V' _, G; U1 `1 G: Q1 \
  1262. ; rows that will be fetched automatically after statement execution.9 K8 j( N" X) E
  1263. ; http://php.net/oci8.default-prefetch4 H6 V* y* {& Q7 f
  1264. ;oci8.default_prefetch = 100
    + @' [' K/ L3 k/ ?* {6 X

  1265. + j" V4 o3 S; Z. u
  1266. ; Compatibility. Using On means oci_close() will not close, O7 N$ s3 y" u* p
  1267. ; oci_connect() and oci_new_connect() connections.
    6 E" v6 S- f# ?8 v- b& |; N
  1268. ; http://php.net/oci8.old-oci-close-semantics
    0 D1 g5 o- S$ }& ^3 r7 P# n0 S
  1269. ;oci8.old_oci_close_semantics = Off. z  e( z/ h! t$ D, t6 u* E

  1270. $ b' P! c3 v2 s- ]  j! d
  1271. [PostgreSQL]( Z3 w1 E& p8 a$ V0 Y
  1272. ; Allow or prevent persistent links.1 Q5 L! z- h& f8 Y5 b
  1273. ; http://php.net/pgsql.allow-persistent2 h+ a' \& d, w. _5 T# v- x
  1274. pgsql.allow_persistent = On9 r# X& w! q9 p, o5 |2 Z9 g; K
  1275. 2 x2 K, P, T0 ?  [6 f) x! C+ ~
  1276. ; Detect broken persistent links always with pg_pconnect().
    8 a" c3 G! o3 I8 b  G8 t
  1277. ; Auto reset feature requires a little overheads.
    , C+ g8 N, ?/ H! _( @& z
  1278. ; http://php.net/pgsql.auto-reset-persistent4 y, t% h) `6 r& G
  1279. pgsql.auto_reset_persistent = Off
    : J/ |+ q: @" Q& x3 Z

  1280. % `9 s$ m& S9 D2 W+ t. M, Z
  1281. ; Maximum number of persistent links.  -1 means no limit.
    " f7 [! \( k; z5 K/ ~: k; g
  1282. ; http://php.net/pgsql.max-persistent
    2 T" D' a+ J1 d
  1283. pgsql.max_persistent = -1; ~8 w" ], M# F& i, F6 D8 k0 K

  1284. " ]3 P- w. C, E
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ' _; @- c3 g, H' J1 [5 V
  1286. ; http://php.net/pgsql.max-links1 k' c8 |3 X- f* B, w
  1287. pgsql.max_links = -1' R$ g0 |+ r: Y0 z/ l8 x0 S! B

  1288. 4 B% m8 {' w; x% B0 r
  1289. ; Ignore PostgreSQL backends Notice message or not.# W1 _. t$ |2 {4 _+ A' o1 Y! J9 M7 j
  1290. ; Notice message logging require a little overheads.6 E/ f( m' e0 w. I# |# ?7 O
  1291. ; http://php.net/pgsql.ignore-notice
    2 [- A1 ~0 ?) n! f8 D
  1292. pgsql.ignore_notice = 0
    : u2 [4 Z( g' l
  1293. 8 u* V7 T% m1 Z5 y5 H( j6 u
  1294. ; Log PostgreSQL backends Notice message or not.6 _. h/ n% d4 M6 g
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    1 v4 Q. ]3 ^# {3 O/ U) m3 f- _7 I
  1296. ; http://php.net/pgsql.log-notice  p4 l3 S* H" O2 J6 k
  1297. pgsql.log_notice = 0
    / o  d+ r8 i- w3 c  e
  1298. ; u4 |. }' I" g+ a5 z
  1299. [bcmath]4 G2 E! g+ C' _
  1300. ; Number of decimal digits for all bcmath functions.3 @; |  l) r" z
  1301. ; http://php.net/bcmath.scale
    4 }3 ^6 K2 I' O
  1302. bcmath.scale = 0! W( H, ]% G, Y+ U2 U5 W) A
  1303. 0 w$ C& X8 K  k1 ^
  1304. [browscap]  i% R3 ?6 j0 k  F9 A0 t
  1305. ; http://php.net/browscap
    6 i# S! S) M, r/ F. p* ?
  1306. ;browscap = extra/browscap.ini  `) F8 F) o: \; a9 k; N- ~

  1307. 6 D* y* V% o) ?$ O
  1308. [Session], i6 Q, W" z: Y" k5 u/ @
  1309. ; Handler used to store/retrieve data.3 _) H2 M8 ]$ R; S# j
  1310. ; http://php.net/session.save-handler0 X3 P% l7 K% z9 P: {
  1311. session.save_handler = files6 m3 f. h- p: Q. U% Z* r
  1312. $ g" |$ p5 {, D: M' G* F& ~' ]
  1313. ; Argument passed to save_handler.  In the case of files, this is the path$ E" C) @; N8 {' L8 x; R
  1314. ; where data files are stored. Note: Windows users have to change this& d4 h' A7 D& e1 \
  1315. ; variable in order to use PHP's session functions.
    / H7 H4 i! A0 H( i- |
  1316. ;! D9 t/ L+ p6 v' s
  1317. ; The path can be defined as:
    8 S) X; M% H* X: i$ l+ w
  1318. ;% T* {  o# F! b9 @) V5 Y
  1319. ;     session.save_path = "N;/path"3 H, Q- O  M4 m
  1320. ;  Q; @1 v0 U- T$ s- i  q* R! T( u3 R
  1321. ; where N is an integer.  Instead of storing all the session files in8 i9 g; ^7 y, e
  1322. ; /path, what this will do is use subdirectories N-levels deep, and  e0 r0 G1 s6 _  Y8 s: U7 N  ^
  1323. ; store the session data in those directories.  This is useful if* W% ~. w4 O/ ]. l, `
  1324. ; your OS has problems with many files in one directory, and is
    8 X' Q8 F* W/ {, b/ V
  1325. ; a more efficient layout for servers that handle many sessions./ I# `& F7 u' g
  1326. ;" R7 G+ |6 D5 X) U" S8 S$ K8 Y2 U
  1327. ; NOTE 1: PHP will not create this directory structure automatically.6 I, |4 |8 o( p: E/ L: ^
  1328. ;         You can use the script in the ext/session dir for that purpose.
    4 n) {! B0 K; r# |. o
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    ( _/ z* x& \9 Z: X
  1330. ;         use subdirectories for session storage
    ( s, P+ _- g0 g0 i
  1331. ;
    % w& p+ u7 X& Z- `3 c0 [
  1332. ; The file storage module creates files using mode 600 by default.- R% ~( M7 m9 a/ u, Q5 u
  1333. ; You can change that by using- F  b% e( x: T6 P& v
  1334. ;: M' g4 {; Z2 q' p5 b' O
  1335. ;     session.save_path = "N;MODE;/path"
      ?. I/ _+ K" l$ C
  1336. ;
    $ L. n( t% {$ W: ~: G$ J
  1337. ; where MODE is the octal representation of the mode. Note that this
    1 T" t) w9 u& d' k/ b, U7 B  J. p- \
  1338. ; does not overwrite the process's umask.
    4 z0 l( T1 Z- J6 _+ c0 g7 {" g
  1339. ; http://php.net/session.save-path
    ' M0 u5 A' @* R/ Y* i4 h
  1340. ;session.save_path = "/tmp"
    ! c  ~) ~$ b' \. J; j% r3 G4 ^
  1341. 0 O' Q( F" Q4 g9 E& |$ ?$ P# l
  1342. ; Whether to use strict session mode.
    1 v( S9 }8 `9 z3 ]1 ~& G
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    : G0 w: h2 N/ V% x9 \3 _( u
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    * W% y) y6 f5 l3 d3 l6 i) N
  1345. ; applications from session fixation via session adoption vulnerability. It is
    $ Z: e0 x2 L5 E8 k; T  a
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    6 @, w8 m  q8 J, `4 q$ s$ B2 v1 s" y
  1347. ; https://wiki.php.net/rfc/strict_sessions7 D  K, X4 h# |- D* Y( W
  1348. session.use_strict_mode = 0. {) y6 H. m9 x+ U: p  N4 K
  1349. " F8 o& }# k" a
  1350. ; Whether to use cookies.+ [( I' n  _$ g: S
  1351. ; http://php.net/session.use-cookies9 U( @9 |: n" E' K0 h: y# T& \
  1352. session.use_cookies = 1
    2 ?6 B. d2 Y) f, c5 M  E
  1353. ( ~1 `% `8 Z. T3 u8 S6 c9 D. z
  1354. ; http://php.net/session.cookie-secure1 {% D0 n9 ~" G
  1355. ;session.cookie_secure =/ Z' H' u4 i: r* u5 N$ f
  1356. 0 d) E9 k. r, ~3 I0 M; j; [
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    4 \- Z3 m, n2 ~- V! Q: ?
  1358. ; the session id. We encourage this operation as it's very helpful in combating/ j! R1 T5 F7 z9 C
  1359. ; session hijacking when not specifying and managing your own session id. It is% q0 a! W7 @# f( x
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    8 [2 e& ?) s: R
  1361. ; http://php.net/session.use-only-cookies6 A; w! n0 ^2 B9 p7 m, y/ j3 [
  1362. session.use_only_cookies = 1
    ; {: ?$ t7 D! g3 N6 F

  1363. ) g. |6 E1 k+ r+ q- N5 h
  1364. ; Name of the session (used as cookie name).
    5 g% B; s  k. [7 C# J( V
  1365. ; http://php.net/session.name
    ( G! x8 z' P+ a7 z4 f) u' C
  1366. session.name = PHPSESSID
    $ k9 _- }  k# T: @+ H# D, p( \9 }

  1367. 5 `6 U! |  R$ G  S5 s
  1368. ; Initialize session on request startup./ f7 `( {' }  v% i0 N/ t, t8 [* D
  1369. ; http://php.net/session.auto-start  A) O5 |1 M8 d4 ^. U5 Y. i& a
  1370. session.auto_start = 0" @/ q4 d5 L5 h% u1 S  q4 ~
  1371. $ f2 [) e/ ~2 A
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    7 Z0 |) i* c. m+ M
  1373. ; http://php.net/session.cookie-lifetime+ _* C7 l  `6 ]' ~9 \0 i
  1374. session.cookie_lifetime = 0
    / ~: q( B& T0 \1 {3 e2 e& O( B; d
  1375. 3 |5 ?5 }4 \7 H7 e9 Z/ u! C
  1376. ; The path for which the cookie is valid.+ f  x' y5 G  Q$ U$ Z
  1377. ; http://php.net/session.cookie-path, B8 x! E: o) }9 P
  1378. session.cookie_path = /
    , o9 F' F( `* t0 P) v: d" l5 ?

  1379. 2 G& W8 B" x4 K
  1380. ; The domain for which the cookie is valid.
    0 O# U& |% g% @6 k
  1381. ; http://php.net/session.cookie-domain  l  I/ H  t. I2 c# L6 s) s
  1382. session.cookie_domain =
    2 J! J: s0 A" {7 Q- C5 W

  1383. 4 l2 T; X$ e+ ^$ R4 A: Z6 \
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    4 m& x8 I9 Q& h9 _
  1385. ; http://php.net/session.cookie-httponly
    ' d: x! h1 A3 |9 l- ?3 j
  1386. session.cookie_httponly =9 R9 R( z; p$ N. v1 L( Z
  1387. 9 n$ L) o( R/ c0 H  Q% c
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
      n: m0 y; w9 h8 y1 W* J
  1389. ; http://php.net/session.serialize-handler
    5 Y- s1 [( n4 L3 Z" b( M* I1 a, ^
  1390. session.serialize_handler = php
    0 H8 q4 b  e3 H/ N: j3 X( x

  1391. 9 I" \) X' s8 j0 d
  1392. ; Defines the probability that the 'garbage collection' process is started3 J6 F" o  _9 T9 [
  1393. ; on every session initialization. The probability is calculated by using! e$ V5 ], A/ [7 J9 y
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator0 J! }2 @; X4 f, Z  g% b
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1+ c/ c7 x% j* G( ~
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 I+ ]8 M, ~, ?2 D1 Q
  1397. ; the gc will run on any give request.
    0 L/ V2 h/ `- d5 [5 B
  1398. ; Default Value: 1
      d- L( }7 o# y: i9 ?" ]5 H% ]
  1399. ; Development Value: 1$ d6 ^" k, z) K6 f
  1400. ; Production Value: 1
    7 }; ?8 D/ `1 m$ C1 O0 _/ f5 \' X
  1401. ; http://php.net/session.gc-probability
    3 P  r# ~' S  F, m' B) g
  1402. session.gc_probability = 1  i  ]( ]! q/ z6 s) B8 J

  1403. * z$ j" T. v4 w5 K4 I8 a) f0 T
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    # F) D# `! W6 Q7 ?- {& n; o
  1405. ; session initialization. The probability is calculated by using the following equation:
    / w3 L' F0 D" k4 z# W4 |6 E9 O% ^5 c; P
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    3 p7 U. ?( p3 X" v" Q9 b
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1# B5 c; p5 K( q: {
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    7 ?2 X1 u" G3 Q) e3 e4 X
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    * Y* g5 s$ Q4 v
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,; W2 T& O7 {+ w" J- }! J
  1411. ; this is a more efficient approach.; U4 m, _4 b% X8 J
  1412. ; Default Value: 100% l. Z' O3 D2 V; j; r+ R: x8 N
  1413. ; Development Value: 1000
    ; V( D; m; S1 u  x. P( }. Q! }
  1414. ; Production Value: 10001 p6 S2 R2 h# {6 @! J8 E' U4 ^
  1415. ; http://php.net/session.gc-divisor* W& l# z- A7 c  B5 F  d/ w7 ^
  1416. session.gc_divisor = 1000
    * U1 X/ p! N% Q  j: Z8 q; q; o0 L
  1417. $ O  T. ]$ o- O, `5 }' V
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and" E1 W0 l( R& _$ D/ _
  1419. ; cleaned up by the garbage collection process.! P, H: V' C6 i, m
  1420. ; http://php.net/session.gc-maxlifetime
    ( ^# V* u0 v& o. E5 ?. Q
  1421. session.gc_maxlifetime = 1440
      I" L: C+ @6 ?

  1422. 2 F1 I& p5 W- i. m
  1423. ; NOTE: If you are using the subdirectory option for storing session files- T, M7 j3 S" ~4 T5 _4 |8 Z  ~9 R
  1424. ;       (see session.save_path above), then garbage collection does *not*
    ( g. z' |2 L; X' N/ ?3 k, u6 J
  1425. ;       happen automatically.  You will need to do your own garbage
    ) Y) b7 m( q- Y# H% ]5 J
  1426. ;       collection through a shell script, cron entry, or some other method.! g; b( T& l0 z+ i0 l9 @6 [9 u
  1427. ;       For example, the following script would is the equivalent of
    3 t( }  P- d; c5 r( Z  z
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ' y2 d* n: d( D8 K% o# J
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm- j( v/ X3 n; j& o# n  |* q( `# }
  1430. : R. K1 ~  @1 s0 E3 `
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ! F& c3 H0 J' _, F1 H- s& O
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    " E% ?* E! h  G4 s4 d7 |( f/ ]' L  Q
  1433. ; considered as valid.0 l. m% ~! B/ o, S  a
  1434. ; http://php.net/session.referer-check; I9 \9 Y) f2 X1 i) M
  1435. session.referer_check =4 p# x! Z( u9 ?1 H5 r; H

  1436. & W5 e8 l6 a5 N8 J- D- [1 j
  1437. ; How many bytes to read from the file.' i4 g! K* u/ X/ A3 f
  1438. ; http://php.net/session.entropy-length/ M1 p  v& g2 I3 K
  1439. ;session.entropy_length = 32
    / v( h4 P* o$ N1 u

  1440. . C) O7 T# ~$ ~, G+ u1 y
  1441. ; Specified here to create the session id.
    + C$ C; D/ n7 h2 h( k
  1442. ; http://php.net/session.entropy-file
    8 ^9 c9 [4 X6 K* i. D# R3 D
  1443. ; Defaults to /dev/urandom
    / M4 Q3 i2 Q9 d5 A6 d, R! K7 d
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ) r0 M& H) @" I5 W# w: F* b
  1445. ; If neither are found at compile time, the default is no entropy file.
    ! X0 V' N: C8 L1 U' r
  1446. ; On windows, setting the entropy_length setting will activate the3 r( l6 }6 H" t8 ^3 p
  1447. ; Windows random source (using the CryptoAPI)
    ( d0 I, |5 F7 L/ _4 h1 t4 a* d: R( \( q
  1448. ;session.entropy_file = /dev/urandom9 c, y  X4 l- s
  1449. 9 s( J% |5 [9 V7 M: K, ^/ C
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    6 N) H7 L" {, C' W- j/ F
  1451. ; or leave this empty to avoid sending anti-caching headers.  t: ]  Q3 l, z  S# i: `
  1452. ; http://php.net/session.cache-limiter, e) t2 H( `4 m7 S# c
  1453. session.cache_limiter = nocache6 |# v3 T" u! ?0 G7 ~+ x  B1 \: o: B
  1454. / u+ w6 Z6 J/ o. m. [; i
  1455. ; Document expires after n minutes.
    4 G2 i0 m! k4 n2 n
  1456. ; http://php.net/session.cache-expire
    8 T% v- O( w, W( f! @) f& K6 G/ R
  1457. session.cache_expire = 180, b5 f0 e( I) c( V) \/ c

  1458. ; L: C7 @" D) y" m
  1459. ; trans sid support is disabled by default.
    . u, q6 H9 G6 v+ Z! s6 Y' e
  1460. ; Use of trans sid may risk your users' security.- x: Y& n3 H' H
  1461. ; Use this option with caution.
    4 d7 O# F2 A* P0 B! P& b9 d. e5 u
  1462. ; - User may send URL contains active session ID
    % x. t" y! [1 q5 I0 v& S1 }
  1463. ;   to other person via. email/irc/etc.
    6 @0 b$ i" ^. S' q; M
  1464. ; - URL that contains active session ID may be stored  h3 ~% c4 P( E  G/ M+ ^, E" @" f
  1465. ;   in publicly accessible computer.4 b* U6 ]* s, U
  1466. ; - User may access your site with the same session ID
    5 s# Y  j6 o4 Z, y$ u/ A
  1467. ;   always using URL stored in browser's history or bookmarks." G$ R$ G% u- }2 |
  1468. ; http://php.net/session.use-trans-sid# ?$ G5 m3 |' a, O6 z3 l8 r
  1469. session.use_trans_sid = 07 n' e( u. v- D' G7 T$ J+ p, r

  1470. $ y) ?, J" e' ^" U5 X3 ]
  1471. ; Select a hash function for use in generating session ids.; T) S# E" B! Q2 J9 _- S
  1472. ; Possible Values7 b  o" e- |2 K6 f, O: w( `
  1473. ;   0  (MD5 128 bits)
    ! D2 u2 L' O& y( u4 q
  1474. ;   1  (SHA-1 160 bits)
    1 [5 ?, H& z% h7 Q
  1475. ; This option may also be set to the name of any hash function supported by) C) U0 I8 c' d, @8 Q
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()6 l5 X' v4 k" b, ~" f
  1477. ; function.
    5 B; {5 N; I; _
  1478. ; http://php.net/session.hash-function6 C  p% V; i" X6 w7 H" c( S6 ^
  1479. session.hash_function = 0* b" P$ f- R3 `5 H" l0 ?

  1480. . R# [4 q8 F( A' B  }: I
  1481. ; Define how many bits are stored in each character when converting' H$ p4 N* W3 Z3 K9 q; o
  1482. ; the binary hash data to something readable.
    ' [5 f5 g1 r% P; c
  1483. ; Possible values:  o5 s/ J, v7 T: \- j( S
  1484. ;   4  (4 bits: 0-9, a-f)
    3 C0 P+ T+ K2 m$ Y+ J7 b) [
  1485. ;   5  (5 bits: 0-9, a-v)' i9 t2 e& W) q: N$ u: @
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    % a3 ?( {3 s0 @6 V0 r# V6 W4 k
  1487. ; Default Value: 43 n1 t7 r" Z; K- M+ y! ]
  1488. ; Development Value: 5: L; O, z% v; j, X! Q
  1489. ; Production Value: 5
    * H2 G* Q) D) a$ t8 @: ^
  1490. ; http://php.net/session.hash-bits-per-character
    8 l/ c* u/ d. e. {8 D! ^1 K
  1491. session.hash_bits_per_character = 5
    $ Y: J9 |- f5 X3 s+ S3 e0 _

  1492. + E" d2 I( N& H- f" v
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    % u/ P# k. I1 q- a9 `( J
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    ! i9 a+ f3 f: \' D4 \; [
  1495. ; add a hidden <input> field with the info which is otherwise appended
    ' E; ~; G0 }% ~/ M- B) T
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ; e% E' @7 p, o0 A1 A$ U2 x
  1497. ; Note that all valid entries require a "=", even if no value follows.4 p3 R8 ?5 p" s5 p
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    % G  ]: w2 k/ d, V( ~5 R
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ x$ \+ X* `! f6 f% o1 a
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ @4 B/ J$ @4 m( o5 |$ H6 n
  1501. ; http://php.net/url-rewriter.tags4 Z6 F( U; t2 ]; C; i
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"$ }3 K6 J; O# o" H2 J

  1503. 5 L5 p' Y1 t. F
  1504. ; Enable upload progress tracking in $_SESSION6 o0 `8 J0 Y0 J/ J
  1505. ; Default Value: On
    1 h0 ]3 F# E& Y, V2 b: X, b9 g% A
  1506. ; Development Value: On
    3 t" R6 V: o2 L: s6 i! p* q
  1507. ; Production Value: On, M( U; [. `+ e2 b: \% x
  1508. ; http://php.net/session.upload-progress.enabled; V6 S" f  t1 ^, s9 u& s! N6 }/ S
  1509. ;session.upload_progress.enabled = On! m1 T) [( f0 C1 t: F
  1510. 7 V' H, r0 _; ]: v0 D# X% V
  1511. ; Cleanup the progress information as soon as all POST data has been read
    ' h8 R; X: q( A$ d% q
  1512. ; (i.e. upload completed).7 J0 v" U5 J  o4 K# G5 c4 Z' [
  1513. ; Default Value: On
    4 q0 s& D+ r9 l  s: b
  1514. ; Development Value: On
    $ y( O2 J% e2 j
  1515. ; Production Value: On; O& @9 ^+ X9 k5 b4 L: X1 t) c
  1516. ; http://php.net/session.upload-progress.cleanup6 B/ D, T: `+ v4 d( j% d9 g6 s
  1517. ;session.upload_progress.cleanup = On
    6 ~- y% w, |4 y, u% s7 d
  1518. ( T' J# `3 G, A; h) H
  1519. ; A prefix used for the upload progress key in $_SESSION+ j; w; |' Z4 ~- V( T
  1520. ; Default Value: "upload_progress_"5 m  @( ^% `5 y/ f  x/ A% ]( J
  1521. ; Development Value: "upload_progress_"
    ' c8 D3 U' ~1 A  c) y% q- ?/ @
  1522. ; Production Value: "upload_progress_"1 U) `" M" z9 Z( q  H" P/ e
  1523. ; http://php.net/session.upload-progress.prefix
    5 S  }0 G6 g9 ?. j
  1524. ;session.upload_progress.prefix = "upload_progress_"- b/ h& P' ?$ v+ d- V1 K
  1525. & I( e0 s' A0 e0 k3 L
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    4 V) ]- R8 Q6 y7 Q9 t* W
  1527. ; containing the upload progress information! g8 k( E3 Q0 b% I5 `
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"% e# g! ^7 j6 V( N7 p7 _
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    8 l& f! g# F- x
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , Z  h6 |: O% T2 {/ |7 G& {
  1531. ; http://php.net/session.upload-progress.name! G9 w; }" b  K- H  n0 L' F8 ^; v
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"( N# B; e# X, N

  1533. / a7 N& H; r" T3 P0 E
  1534. ; How frequently the upload progress should be updated.
    : j4 Y' d9 `$ U0 H
  1535. ; Given either in percentages (per-file), or in bytes
    / a" x2 Q5 p4 z, |% D! |0 @
  1536. ; Default Value: "1%". P6 R9 ^# R' q5 F" e% S4 T0 q- Z
  1537. ; Development Value: "1%"/ x! X% V+ q: e$ u. V
  1538. ; Production Value: "1%"" }9 Y, d) Y0 }; S2 q
  1539. ; http://php.net/session.upload-progress.freq' ]6 x& R! N, J5 [: m% m& j8 V
  1540. ;session.upload_progress.freq =  "1%"% k5 n$ h% c( u

  1541. - i/ c1 E. j3 v0 S* K, |0 q
  1542. ; The minimum delay between updates, in seconds5 v; G$ \. x9 D# `, u; s* W
  1543. ; Default Value: 1
    5 V4 z: ]6 R3 K  Z8 V) J
  1544. ; Development Value: 11 p5 B/ B% w! G4 ^
  1545. ; Production Value: 1
    3 E; j  x: b$ b; ~9 ^+ S3 }
  1546. ; http://php.net/session.upload-progress.min-freq1 Q: O# l" N4 l) E! a
  1547. ;session.upload_progress.min_freq = "1"5 l0 z0 B0 Y! h( ~. |

  1548. 4 w1 L8 }- R. G: h  o5 t& J; N8 M
  1549. ; Only write session data when session data is changed. Enabled by default.
    - U% E3 I& M0 Q* n6 x7 k
  1550. ; http://php.net/session.lazy-write
    ! F7 J+ e3 l& u0 L7 [
  1551. ;session.lazy_write = On
    , T; @2 I9 r- @

  1552. ! {. y" X, t( u; u6 E2 f  a' _
  1553. [Assertion]8 p/ P5 G, {, U; H
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)3 |3 [  n# i  Y7 x! o( i
  1555. ; -1: Do not compile at all, A) z% K/ Y3 o6 w8 |# I3 n& B; S& y
  1556. ;  0: Jump over assertion at run-time2 o; U% v( h8 G* Z2 H$ ?
  1557. ;  1: Execute assertions
    $ S8 K: i1 z% \  ]& s9 k* z; L
  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)
    * S8 R$ C6 B/ B: e  i& m" l
  1559. ; Default Value: 13 [$ p4 O; e! n# y" h& J- J2 h
  1560. ; Development Value: 1
    6 d1 }, [3 G. k/ w! h' C8 }5 R
  1561. ; Production Value: -1
    $ L0 a8 ?  b6 Z' ]. P1 l
  1562. ; http://php.net/zend.assertions
    2 |. w% D( i0 |: u
  1563. zend.assertions = -1
    % X; D, E# C; O/ ?9 R2 q+ \
  1564. " R. M% _: _7 O8 D
  1565. ; Assert(expr); active by default.- T+ o/ q7 p4 v3 z9 x) N
  1566. ; http://php.net/assert.active/ N: @$ J3 _! l# F
  1567. ;assert.active = On( V3 `: C' }& @: [
  1568. % X1 k+ Q" z: K0 a
  1569. ; Throw an AssertationException on failed assertions9 V0 [" d1 p9 e6 Z% R; u
  1570. ; http://php.net/assert.exception
    9 _: D$ W& G% X
  1571. ;assert.exception = On& I- Q/ [3 C3 h8 ^; ]' k& c
  1572.   B! f9 Y/ _, e4 C/ `; H" s
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    8 O' |  r7 o' N4 b0 n5 N: g* l  S) M
  1574. ; http://php.net/assert.warning
    6 f: V9 Y; m$ f; O) n( }3 ]
  1575. ;assert.warning = On4 [! j! r8 U, s  J; Z; |
  1576. : l6 k# \7 a2 c' e  `8 n; t4 ?; b
  1577. ; Don't bail out by default.
    # d& O8 U4 ]2 h8 U& z1 Q! c
  1578. ; http://php.net/assert.bail
    - A3 m# q0 `& a  ^! p! y! q# `1 f
  1579. ;assert.bail = Off6 k' P( ^* ], ]1 Z- x8 r
  1580. ' L7 [: D9 e5 e- ]. H
  1581. ; User-function to be called if an assertion fails.. p) r  {4 a/ F3 P
  1582. ; http://php.net/assert.callback8 z+ E. r  s/ o* K2 ^: i
  1583. ;assert.callback = 0$ i3 j& b) h. i
  1584. # B8 s  F1 m/ l7 @
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    8 i$ P% r+ U7 m2 U/ W, g3 t
  1586. ; error_reporting(0) around the eval().3 O& t7 Q/ A- }* u
  1587. ; http://php.net/assert.quiet-eval. m& l* B& v& P( L" ]( d8 F
  1588. ;assert.quiet_eval = 0
    6 K1 ~, B: E, \  A3 z" W0 j

  1589. 5 R( ^& b9 y7 i( h6 h
  1590. [COM]' o" p& X. P0 p& k( E5 i7 z
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs  j6 M; G0 ?- ?2 @! Z" W( B
  1592. ; http://php.net/com.typelib-file
    9 k# s9 I* q3 ^& R- x
  1593. ;com.typelib_file =
    4 O$ D) V5 W- x5 F6 E
  1594. # G- n% D  Y0 y1 {9 N" p+ ^
  1595. ; allow Distributed-COM calls5 l+ j! V% j4 m3 Z
  1596. ; http://php.net/com.allow-dcom# N  Z2 G" U& J) i' E8 b
  1597. ;com.allow_dcom = true
    ) l" D6 l# L9 N! u4 V) d! p3 w9 J  I: m

  1598. + V, m1 ^. d& m4 R# C  Q
  1599. ; autoregister constants of a components typlib on com_load()
    $ e1 b# Z1 ^) C3 m, D
  1600. ; http://php.net/com.autoregister-typelib
    2 X7 q6 U" a7 B- D" i3 [" F8 y
  1601. ;com.autoregister_typelib = true
    : m2 |  }3 L. x2 q5 A$ _! r

  1602. # _) ?, t8 a6 O8 z  H
  1603. ; register constants casesensitive- e+ r: H( C6 M* f0 l8 \: c* O
  1604. ; http://php.net/com.autoregister-casesensitive2 x3 _4 Z# \7 c' G4 m
  1605. ;com.autoregister_casesensitive = false
    5 f! o: i6 v; K3 V4 ~

  1606. : v7 c5 V3 E- x! t- E9 O
  1607. ; show warnings on duplicate constant registrations' P" N, Z  p+ E- l" w4 Y
  1608. ; http://php.net/com.autoregister-verbose
    7 d6 h  u: |  x' X9 r: B# ]
  1609. ;com.autoregister_verbose = true, ^3 Q, G: O0 s0 W) T+ V

  1610. ' n; A# `5 P8 _) G2 F
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    ' j% ]1 z4 x* v: u; a
  1612. ; Default: system ANSI code page9 |2 S* U( ?5 ?7 G/ h
  1613. ;com.code_page=
    ! z2 h' \& a9 R8 t3 d
  1614. 7 q& w& [  z2 a7 A
  1615. [mbstring]
    - J; Y" y" n8 Q9 a& T7 a  `5 V
  1616. ; language for internal character representation.2 Y5 b8 g# h: x! j+ w) O- Z
  1617. ; This affects mb_send_mail() and mbstring.detect_order.% N0 N# z  Z" c2 \7 ]
  1618. ; http://php.net/mbstring.language& l8 W' o" Y4 w' c- E
  1619. ;mbstring.language = Japanese# Y) C1 A+ u& u
  1620. , _9 P: }6 P" _. o& k" m
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    & _+ O) C5 P% k7 M6 Y
  1622. ; internal/script encoding.
    $ F9 j7 ]$ F+ X% Q8 ]- q1 s7 l
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)# L. b5 g, Q$ k5 B  H
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.% E9 m2 `9 u8 b) [$ V  D6 d
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    7 H5 i) X4 G( R0 ~) A7 Z, b  l* F
  1626. ;mbstring.internal_encoding =4 B/ J# b. E6 x1 a! p9 O; H9 ~- t, j
  1627. " ]/ u8 G/ G8 a) Y6 D9 T
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    0 e  L/ u+ I- J; N3 s4 C4 z
  1629. ; http input encoding.
    8 L" E& [8 @% m9 I
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.( n0 q9 K7 l( o# }. E4 ?
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ! u# J: R0 K9 ^: j/ h: {4 h
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input4 L7 I9 a9 w1 W8 a" j6 R1 Y
  1633. ; http://php.net/mbstring.http-input* v( J& Z6 R  G. h3 V* Y
  1634. ;mbstring.http_input =" D1 v( E/ c2 z1 t1 n$ R
  1635. 5 v4 ~6 V: K! L" ]
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    7 k3 U$ o: G1 O
  1637. ; http output encoding.  I# U) ?# y9 d1 G/ s
  1638. ; mb_output_handler must be registered as output buffer to function.
    / Z( M! f0 q' ?4 @: c3 Q
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.2 `& N+ l1 h% k. N' e, r$ C
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output' m/ O* x: D5 O# J
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    2 B+ ]" @4 x. @. p3 K* C) l6 G3 J
  1642. ; otherwise output encoding conversion cannot be performed.
    $ w% V6 m* ?  K4 j4 ^9 t/ s. G: Y
  1643. ; http://php.net/mbstring.http-output
    . h( r. P. A& x# [- L
  1644. ;mbstring.http_output =) F7 [& t2 V; B% y) ^* [

  1645. 8 O" x- F3 k# }
  1646. ; enable automatic encoding translation according to7 H( O' R' K( O) d
  1647. ; mbstring.internal_encoding setting. Input chars are
    " u5 B8 n2 A0 D  K- |( |( _
  1648. ; converted to internal encoding by setting this to On.
    . T) B! F( {, }# K5 U, q0 w) C  U9 I- @
  1649. ; Note: Do _not_ use automatic encoding translation for: a: w% w; {! q& S! C( n  r; e  d3 C
  1650. ;       portable libs/applications.8 T* t2 [; S( r8 d
  1651. ; http://php.net/mbstring.encoding-translation
    ' }* d3 Z9 k6 o1 P! k1 d( i
  1652. ;mbstring.encoding_translation = Off
      T! ~* P$ w# V+ ]# J4 N7 b
  1653. 3 d7 ?" ^: t% J+ d4 v
  1654. ; automatic encoding detection order.
    7 s' {/ X( M- t; L% V  f
  1655. ; "auto" detect order is changed according to mbstring.language( C# o" \) J/ e4 X2 |: X6 m6 j! a
  1656. ; http://php.net/mbstring.detect-order4 M! Y' L4 @  h( F4 X' u, v# a& b9 k+ T
  1657. ;mbstring.detect_order = auto9 e- P" w# G: \# ?3 D" {3 [7 q7 I( n& s$ N
  1658. ! ?8 T( h& o+ X* `' M5 v
  1659. ; substitute_character used when character cannot be converted- S# T5 g+ D- w& v
  1660. ; one from another
    # @6 ?& U4 O7 |1 H! j
  1661. ; http://php.net/mbstring.substitute-character0 k/ J8 x. ?2 N7 f' _
  1662. ;mbstring.substitute_character = none
    8 K7 p2 a2 \4 x/ I& q
  1663. : _8 L( n! i5 q! A% t; t" Q4 F
  1664. ; overload(replace) single byte functions by mbstring functions.
    0 L  w$ i. r8 D/ ]
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ' e- x9 ]. A( U; Z
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    , d  Y( X7 l  ]; T. x  }
  1667. ; For example, 7 for overload everything.
    - V6 ?& ]0 }$ F4 H7 k# `9 [3 S4 T& V
  1668. ; 0: No overload) u2 s. g7 K5 g% ?- D7 j
  1669. ; 1: Overload mail() function/ F, ~+ Y+ Y/ f% h: O
  1670. ; 2: Overload str*() functions' }) X# V: h, ^" t
  1671. ; 4: Overload ereg*() functions5 H' }. B! x: u9 O! r, P9 c
  1672. ; http://php.net/mbstring.func-overload
    6 a% \* U$ x: K- E1 L& R
  1673. ;mbstring.func_overload = 07 k+ j; D/ X$ m6 m* o6 M& g$ s0 s
  1674. 3 u2 `% u3 E( H: F& F9 R* V, ^
  1675. ; enable strict encoding detection.5 d9 u7 [% j* v1 i. {4 W/ @  u( H( z2 t
  1676. ; Default: Off
    6 s. F& Q6 s& Y4 }/ A: z7 l
  1677. ;mbstring.strict_detection = On
    ; w- [  b2 S" Q$ D  F! }' `
  1678. 2 o9 t% h9 r  m1 r3 \
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()! [) H) ?: J+ M1 i
  1680. ; is activated.
    0 u( {4 m$ e. \" Z- r, U
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    4 a6 ~6 X. k# o( u- G: d+ k
  1682. ;mbstring.http_output_conv_mimetype=1 Z" G3 v, e3 a- m+ ]& B7 z6 l
  1683. , `/ G7 V4 ~+ c8 V7 a9 U( a
  1684. [gd]
    2 T2 N/ w( u* A. p
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    # X' |. s& h( P5 g- s
  1686. ; a gd image. The warning will then be displayed as notices
    0 @1 X2 q% y  O3 u5 U/ l! F% Q- G
  1687. ; disabled by default
    5 x  u. u. }" z
  1688. ; http://php.net/gd.jpeg-ignore-warning; n' v$ {9 L# N; ?3 h" m8 d! |
  1689. ;gd.jpeg_ignore_warning = 0% N# ]3 ?1 c$ H8 T
  1690. / ^9 L/ P8 O6 B. A# E8 F1 T  K
  1691. [exif]
      t# ]% D& p. t7 [
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ! z6 t2 z; r& ~* O0 x" I3 y
  1693. ; With mbstring support this will automatically be converted into the encoding- T/ J' t% O2 X9 [# I7 e' M# h! O
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding" Y$ s) |) L, a, V
  1695. ; is used. For the decode settings you can distinguish between motorola and8 A; \& G5 ~, w7 b: f4 _( s2 z
  1696. ; intel byte order. A decode setting cannot be empty.; Y2 h2 r# [- U5 u+ R# |0 a# X
  1697. ; http://php.net/exif.encode-unicode
      U2 z  }* t  i, \/ c9 E
  1698. ;exif.encode_unicode = ISO-8859-15
    2 g: C( p, A7 u
  1699. 4 O; |$ j% F5 e' c! [  l& l
  1700. ; http://php.net/exif.decode-unicode-motorola
    : v5 i- D5 k* r" Y
  1701. ;exif.decode_unicode_motorola = UCS-2BE5 n* D6 F# A) F) Q( h
  1702. , u; A2 `+ J) Q( h+ M
  1703. ; http://php.net/exif.decode-unicode-intel
    - E9 m4 t) v2 G, B2 y. Z. s
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    2 {9 J  h: l, V" B

  1705. . r( C; _' O: m8 d
  1706. ; http://php.net/exif.encode-jis, g, I, W3 I0 d2 V- j/ c
  1707. ;exif.encode_jis =
    2 ?1 |0 c7 _+ L) U4 w$ S+ b7 @

  1708. 7 }  b. ^- Y0 Z/ K3 w
  1709. ; http://php.net/exif.decode-jis-motorola+ d$ Z7 }" A) q3 \- h
  1710. ;exif.decode_jis_motorola = JIS
    4 ^8 Q+ m5 I+ d6 H* c
  1711. ; a5 f6 M% h. @& g
  1712. ; http://php.net/exif.decode-jis-intel
    9 o0 _0 }8 _* ^8 l, i' B
  1713. ;exif.decode_jis_intel    = JIS
    ' \$ p+ @! ^, M2 K7 y

  1714. 9 s1 U, b* }1 C9 n0 ^3 u
  1715. [Tidy]
    9 ?  `4 j1 E  t5 {1 }
  1716. ; The path to a default tidy configuration file to use when using tidy
    7 t8 \" ~! f4 D" C- `
  1717. ; http://php.net/tidy.default-config
    0 P7 q& d4 r8 J8 u8 Q
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg0 K- D2 ^  I0 k% g& e6 r7 u

  1719. ( j0 s, G4 [) K+ B/ g& V
  1720. ; Should tidy clean and repair output automatically?3 G" V( _1 v2 Z) v) q& D
  1721. ; WARNING: Do not use this option if you are generating non-html content
    ! K$ u' @  J: t6 N3 \1 L
  1722. ; such as dynamic images
    0 x* ~. ~5 e* c1 J- D
  1723. ; http://php.net/tidy.clean-output5 t' j3 J9 J" L8 H1 N, T, K
  1724. tidy.clean_output = Off
      z7 O( J% r$ ^! x/ M

  1725. : u. \1 r! _7 v, x5 c: k5 D
  1726. [soap]
    7 e" A+ S/ G. h2 T& Y
  1727. ; Enables or disables WSDL caching feature.
    $ o5 Y. B) j" H8 }4 g; f. f
  1728. ; http://php.net/soap.wsdl-cache-enabled8 W4 ]5 v- H" p7 y1 Y' Q
  1729. soap.wsdl_cache_enabled=1
    , P) D; E4 s& w* G! S) K
  1730. - D- r0 k- [' M/ g
  1731. ; Sets the directory name where SOAP extension will put cache files.
    ' X( `$ Y7 r' S# Y
  1732. ; http://php.net/soap.wsdl-cache-dir
      }$ K7 V# d8 K0 I8 x6 K
  1733. soap.wsdl_cache_dir="/tmp"
    1 Z* a1 w( K0 y: j- @& y; l( `
  1734. 5 c! K* ?) `+ z$ S5 b6 T5 l
  1735. ; (time to live) Sets the number of second while cached file will be used
    ' o5 b' l" ?/ \: Y
  1736. ; instead of original one.
    . [6 U+ [- L$ C' r# s
  1737. ; http://php.net/soap.wsdl-cache-ttl
    ! Z; ~  B! q8 C: Q0 t, O* w
  1738. soap.wsdl_cache_ttl=86400
    1 z- D8 u( |# v0 b& [$ Z

  1739. 6 D* p( z& R# L$ Z( \# T; ^
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ! Q: O) c( L# r! y/ Q
  1741. soap.wsdl_cache_limit = 5- R" K4 E& ?; N; U% C' P8 e

  1742. 6 x  K# C& s% @$ v
  1743. [sysvshm]
    ) y( |, f2 K  A
  1744. ; A default size of the shared memory segment) ], T. @$ i/ l( S. b
  1745. ;sysvshm.init_mem = 10000
    9 s& e% T. _/ r

  1746. 1 a  n  Y/ b/ D- Y5 t
  1747. [ldap]
    5 j! A1 P! x1 H# i, M8 |% z. _; M
  1748. ; Sets the maximum number of open links or -1 for unlimited." e! z, `4 D$ Z- O* x6 s8 P& ?
  1749. ldap.max_links = -1
    & ^1 k" V: F9 z# ]/ p7 L

  1750. 7 v, k2 u' d: k( v1 B
  1751. [mcrypt]
    6 X2 x. x; p/ ~# k/ j7 d
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open+ t( W2 T' _# v8 Q5 T* u6 f

  1753. ' J4 K5 q4 o1 C8 A2 e& ]) Y" I
  1754. ; Directory where to load mcrypt algorithms$ ?$ R  S, l. v! Y* k
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ) K, Y- N) j( _& U' U, _
  1756. ;mcrypt.algorithms_dir=
    & C$ E& I% [  p) l; n6 J8 K

  1757. 4 C5 n7 I' z" R% N
  1758. ; Directory where to load mcrypt modes, e% j8 O  n1 m  O" H$ o) v
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)2 v8 k2 l9 g/ Y1 Q( t
  1760. ;mcrypt.modes_dir=
    " I$ m4 h, T2 \& S4 c
  1761. ( X; O9 b8 f6 L+ m  U$ Q
  1762. [dba]9 z% }; ]& b* ~) M$ H; w) |/ G
  1763. ;dba.default_handler=
    6 N; f0 r1 M6 j/ @
  1764. / }9 D  n/ r, w, C% l. D$ b4 z
  1765. [opcache]3 S# J4 A* O$ v+ R7 q1 ?
  1766. ; Determines if Zend OPCache is enabled0 l7 v) z8 ^9 m4 n+ g. \2 U
  1767. ;opcache.enable=0$ S0 A1 g6 i! i
  1768. 9 Q2 V% ~0 L- A3 I1 r' Z9 f
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    / w7 S" _1 [# o& c! l$ ]
  1770. ;opcache.enable_cli=0
    8 V+ H. {5 }' m) {: ^+ {

  1771. + n7 p2 T8 l1 h8 _1 u0 P; K# o
  1772. ; The OPcache shared memory storage size.
    7 V+ m$ v0 T; o. `3 d
  1773. ;opcache.memory_consumption=642 X3 Z5 T9 w' e( }, t

  1774. 5 D- x  o% `5 _
  1775. ; The amount of memory for interned strings in Mbytes.
    ; |5 \" d6 P9 ]/ ]3 U
  1776. ;opcache.interned_strings_buffer=4
    3 w: ~, t2 {+ r7 }

  1777. * |5 m: F$ B: p0 l! ]
  1778. ; The maximum number of keys (scripts) in the OPcache hash table., k/ B6 G' ?% D  A" b: J
  1779. ; Only numbers between 200 and 1000000 are allowed.- j! I, Q/ Y1 K9 O: n3 C- u
  1780. ;opcache.max_accelerated_files=2000
    + ^; z: G- R/ r( o4 l
  1781.   d& d0 ^; Q* s! @$ S
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    - s$ U% ~8 ~% {; J6 W* K2 M
  1783. ;opcache.max_wasted_percentage=5; k& \& T* K& Q
  1784. , r* U+ Z( l' v' D
  1785. ; When this directive is enabled, the OPcache appends the current working
    ( \! n1 f( p( ?# }
  1786. ; directory to the script key, thus eliminating possible collisions between6 e* j/ {" \* j" b) {
  1787. ; files with the same name (basename). Disabling the directive improves* d4 C: j( z8 x$ v
  1788. ; performance, but may break existing applications.
    ! G: y: r) j' x. p9 W- S/ P
  1789. ;opcache.use_cwd=1
      ?1 }% L# y1 v4 Y+ K9 d

  1790. & a4 b5 A) x- J; J& t" N1 Z4 E
  1791. ; When disabled, you must reset the OPcache manually or restart the
    + R5 l3 }, L* I/ p; a6 n
  1792. ; webserver for changes to the filesystem to take effect.
    0 v6 {/ ?# X0 T/ `
  1793. ;opcache.validate_timestamps=1" z, K) [& Y1 p3 b
  1794. * b3 u0 e6 C5 c8 L
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    3 Q/ v& i, R9 A& a& r( q0 Z  E
  1796. ; memory storage allocation. ("1" means validate once per second, but only7 W* \  |7 s+ Q8 f
  1797. ; once per request. "0" means always validate)) D9 _- {9 x5 g* j# d  x
  1798. ;opcache.revalidate_freq=22 Z+ _( \, J2 w

  1799. - s0 K" {: P( R* `* \
  1800. ; Enables or disables file search in include_path optimization
    ( y3 j) B: ~1 c# z5 F
  1801. ;opcache.revalidate_path=0! M1 S" i, o+ g0 D
  1802. / U) R0 w: d" ]
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    * W5 V. G6 h* y+ s4 S. ]0 F/ C3 d
  1804. ; size of the optimized code.6 y, e" T$ E& Z% [
  1805. ;opcache.save_comments=1
    0 W8 l: J, q0 B% q4 X, h5 {5 I* k

  1806. 3 l3 P. W: v2 m2 Q
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ) }7 y) B3 e! W& w1 N
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    1 t# k8 ]4 _/ z
  1809. ;opcache.fast_shutdown=0
    7 ~! c" B4 s1 \2 C3 t

  1810. : D2 a5 j# z% G- J
  1811. ; Allow file existence override (file_exists, etc.) performance feature.: G4 D7 L0 \; B, B8 J
  1812. ;opcache.enable_file_override=01 C, z" J+ t  h
  1813. ( v9 _' k1 G$ a
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    , S* {5 c# I) j8 B, l
  1815. ; passes) r. r5 A! s" F( a8 ]  Y3 [
  1816. ;opcache.optimization_level=0xffffffff9 ]+ k  i- F8 C4 f% G( I$ K% l

  1817. 3 j) X  B9 Y$ E+ V" M! C& t
  1818. ;opcache.inherited_hack=1* d: s) E: k1 [  c. X8 {5 P0 W# Q
  1819. ;opcache.dups_fix=0' C1 _& P; S* G# g: h; @

  1820. ) s8 R. {9 O9 h" I& T. N
  1821. ; The location of the OPcache blacklist file (wildcards allowed).- X) }8 O: ~& V% F# Y
  1822. ; Each OPcache blacklist file is a text file that holds the names of files5 m' u& ]1 k) V0 N4 ~8 F) z8 X2 `4 S2 z
  1823. ; that should not be accelerated. The file format is to add each filename
    * C& r' L7 ]% p: C( g2 T) A" @
  1824. ; to a new line. The filename may be a full path or just a file prefix: L! V& \0 }: B, K9 c
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www* Q2 Y' ]* ~# Y$ [$ b$ Q
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    7 ]7 [  ~) a8 B( v5 g; U
  1827. ;opcache.blacklist_filename=
    & {: l* ^; }* [$ C7 W
  1828. * x; I# o% Z) P9 D
  1829. ; Allows exclusion of large files from being cached. By default all files6 w5 Q( C0 I# a* X
  1830. ; are cached.
    ( t1 u" Y: Y- o3 a
  1831. ;opcache.max_file_size=0
    , n. {; Q! }; M- O2 |' \. g
  1832. ; Q. A7 r( J& @6 L( s% b
  1833. ; Check the cache checksum each N requests.
    " a) N+ R; }( M  Y" E
  1834. ; The default value of "0" means that the checks are disabled.
    " t3 P- D' x- ]3 d
  1835. ;opcache.consistency_checks=0
    4 i( @( Y+ ]* J; u
  1836. 2 {  D3 H) p8 c7 ]; p( T
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache2 c4 V: k' ]# c8 y" j, f) c
  1838. ; is not being accessed.% Z. ?# h. O5 \$ w4 c" h2 {  U
  1839. ;opcache.force_restart_timeout=180
    5 G5 R' `3 i' f7 ~' L
  1840. 6 |1 q0 ?# X# I5 ?
  1841. ; OPcache error_log file name. Empty string assumes "stderr".6 [) N1 m# a, `/ c  P% q) h
  1842. ;opcache.error_log=
    6 J6 c, Q2 A3 `2 O' c& y9 q' W
  1843. 3 M; Y6 T: u. Y/ E3 C
  1844. ; All OPcache errors go to the Web server log.0 g) X8 ~8 @" R8 m- ]  J! W
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    9 Y1 m. h$ j) S" U  C
  1846. ; You can also enable warnings (level 2), info messages (level 3) or8 A8 j  k4 P2 M: ?
  1847. ; debug messages (level 4).
    9 ]( X. }. r% d8 p7 H: A
  1848. ;opcache.log_verbosity_level=17 `! r& L( n+ @4 l
  1849. 8 b, o6 ?9 j& o: P! \6 `. J, Z
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide." f! c2 b& i- }" Y/ h6 ]5 V! @" q
  1851. ;opcache.preferred_memory_model=
    ; G. {/ a8 ~, A! \7 t
  1852. / H- ?. C( m) @0 n8 A
  1853. ; Protect the shared memory from unexpected writing during script execution.
    ' u2 |3 x2 D9 X1 G  m
  1854. ; Useful for internal debugging only.2 c( G' v3 j# N& U
  1855. ;opcache.protect_memory=0+ L; v8 g) ]) |7 {

  1856. ! k' ~/ d5 \# k6 i2 ]. G! w
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    4 H9 c1 v( r! _" I4 w
  1858. ; started from specified string. The default "" means no restriction
    & {4 T+ o. n; Y4 I) ~
  1859. ;opcache.restrict_api=
    7 M- x, ^+ o8 T% S, b5 c4 c2 ~
  1860. , s' }. |$ f8 z1 I" @# a' A
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP& R1 U# T6 I8 U) U  G
  1862. ; processes have to map shared memory into the same address space. This6 h& c$ M+ _+ ^# b8 F
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    * j5 V' \" W' d6 l" \# G3 \' u9 t
  1864. ; errors.
    : ]( P0 M% \1 D/ w% A
  1865. ;opcache.mmap_base=/ G) J+ o2 }$ B4 h& q

  1866. 5 V9 Q6 U. i$ p
  1867. ; Enables and sets the second level cache directory.
      o/ }/ x# v" P4 |+ U
  1868. ; It should improve performance when SHM memory is full, at server restart or0 U9 d# v/ p; H  s: q
  1869. ; SHM reset. The default "" disables file based caching.
    ( Z1 M* W5 C0 A5 k4 n. ^6 Z
  1870. ;opcache.file_cache=
    , U1 X' l1 o+ O( K8 E( k
  1871. ; X& ]3 \9 s! d; f
  1872. ; Enables or disables opcode caching in shared memory.
    + ^: }; P! D( m  t5 d( s9 _
  1873. ;opcache.file_cache_only=0
    * G; y% e- k+ I3 R/ q* u$ T0 O

  1874. 9 Z' i. _+ a+ c% s
  1875. ; Enables or disables checksum validation when script loaded from file cache.* W. G5 x8 j2 P# f8 A4 `- t5 V0 R* ~
  1876. ;opcache.file_cache_consistency_checks=1: G. S* n1 |$ s  H4 c5 i
  1877. / |4 J0 h6 Z/ b; c& Q7 c
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to  V2 O- g4 i! \  `$ b9 Q/ F
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file9 l0 I- L' k+ F! }2 P# ?% T2 q
  1880. ; cache is required.8 I3 s' j; R1 i
  1881. ;opcache.file_cache_fallback=13 V: N; E6 B3 {! ^2 u
  1882. ( d! O: o  Y3 j- z3 j3 g
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.6 Z- k9 E) A, ]2 ~6 Q) O; T0 F* g
  1884. ; This should improve performance, but requires appropriate OS configuration.
    ' G& n4 j8 K. u; t- v, Y0 a
  1885. ;opcache.huge_code_pages=1
    5 b) Z8 }( n9 p! @% U# H( e2 F
  1886. ! k2 j3 L+ n, S
  1887. ; Validate cached file permissions.! q( R5 x8 V8 y2 A% w8 J* A  o
  1888. ; opcache.validate_permission=05 W4 @9 z3 l+ p$ `, H! B

  1889. 5 D# S" K& |& ^. F
  1890. ; Prevent name collisions in chroot'ed environment.
    6 u+ S/ @, v# U* L0 M
  1891. ; opcache.validate_root=0
    1 @# Q0 f* X0 R3 ]

  1892. # {+ v3 D7 d# g1 c  _
  1893. [curl]
    # v% _3 z6 O2 E$ G( r
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an) I+ c4 h6 H! }5 O1 k
  1895. ; absolute path., j3 u  ~, m5 }% s; q
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ( Z1 d% C% B7 T% k
  1897. : ]& l8 b; ~; a/ ~0 E# I; K
  1898. [openssl]
    * _& t  I  K8 y/ x; z) W8 X. b& t
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem. M( @3 r! L6 l( Y; n% V9 K
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should0 p2 B6 P. W' C9 f  \! q# j6 y
  1901. ; not specify a value for this directive as PHP will attempt to use the
    ' j) e/ J" \7 w. ?
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    % P$ T2 l' [! i8 d0 {
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    2 z+ p6 ~* L. M8 K  M0 ?; p" y/ A
  1904. ; option.
    4 _9 g$ I" `5 x7 F0 \
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt# Q% C/ O5 s& ~) Y# W
  1906. " M# n1 k' |6 \8 y
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the) _% q& @/ C7 X3 s% ~* b) k
  1908. ; directory pointed to by openssl.capath is searched for a suitable4 ]! q9 U8 E) h8 y5 v
  1909. ; certificate. This value must be a correctly hashed certificate directory.6 U4 L4 Z# |9 i  Y9 o
  1910. ; Most users should not specify a value for this directive as PHP will
      ~# ^( c& ~& D. j  a. J3 W
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,5 `9 e  N( L& l7 @0 p3 q: M
  1912. ; this value may still be overridden on a per-stream basis via the "capath"' l7 b5 z# H$ I5 G
  1913. ; SSL stream context option.8 H9 l" \# Z: M! X- i
  1914. ;openssl.capath=4 W3 e& v0 F. h2 {
  1915. 6 v- h4 L% L2 G6 l* ^- s
  1916. ; Local Variables:! b2 Q; B: \8 a' B1 w. U
  1917. ; tab-width: 4
    6 I8 n4 m' m" f8 ?
  1918. ; End:" e* c9 K1 V$ N
  1919. + V* m" l( e4 z- E1 N
  1920. ;eaccelerator
    : _3 d' n3 B+ d. u# t9 C9 q! k& d% r" A

  1921. / u& D" c) {1 {/ c. Y
  1922. ;ionCube  x. h+ s  z( v* @  J) r/ a
  1923. 2 t) Y/ o  l6 k0 ], J! Y
  1924. ;opcache0 Z, L1 l  v# M" X& S$ f

  1925. / _; s8 P6 N2 |3 A
  1926. [Zend ZendGuard Loader]: d* p1 \; F$ ]1 j7 O
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    . M) D& N5 K/ @5 N# W1 N9 {" U
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so# j8 E2 U/ l6 I9 [9 S1 i9 o
  1929. ;zend_loader.enable=1
    # ~( H- H' q& ~" s, }; A
  1930. ;zend_loader.disable_licensing=07 q+ h7 W% X8 |7 Z
  1931. ;zend_loader.obfuscation_level_support=33 Q! o- h( ^$ D7 ]/ R: R* f3 F: |
  1932. ;zend_loader.license_path=9 C) Y$ K$ g; V% \" v/ x
  1933. 8 ^2 z$ T0 D7 [- \
  1934. ;xcache
    , A% {' w3 L1 F7 U8 I5 `
  1935. - f2 k/ `8 P- J+ ?( Z+ _) F% a
复制代码
0 J  |! x+ ~8 p) d

% h- a" M+ {3 ]' A( t( d8 _8 @* O: I! c( {* ~2 a
3 D; D+ @7 b/ [. B
9 T: `/ x, r3 _9 ~% i/ X

6 a5 |% ]9 b4 q% ~; C4 p- Z7 e( y4 \  q# J: o5 V
PHP5.6版本原始设置+ ^. Q  i. p  `& w) ^

! q0 ^( C9 O, p8 T+ g* j7 M' H
  1. [PHP]+ a% `8 b. k$ p# h$ F; b) }8 M% m
  2. ) B8 Y/ J# S9 K3 P3 I. s$ q- k* I
  3. ;;;;;;;;;;;;;;;;;;;
    ! T: s$ L: a: ~
  4. ; About php.ini   ;% @4 o8 Z) O- ]6 j+ I; b8 U
  5. ;;;;;;;;;;;;;;;;;;;
    9 \' k% j$ n, P1 |( V. b# d
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ; s, t6 T- u! [8 d: W9 ]. b
  7. ; configuring many of the aspects of PHP's behavior.
    . z# |/ N+ C3 B5 d; J) q
  8. * T6 Q  H, a, w
  9. ; PHP attempts to find and load this configuration from a number of locations.; z8 E" M& C. W( L+ U
  10. ; The following is a summary of its search order:
    3 y! S* k( H, t
  11. ; 1. SAPI module specific location.# z6 N) N: z2 H: k5 |5 M/ V: P
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)6 U4 A) ?  M8 s( P. `2 x" q
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    + Z4 F6 ~9 w1 ], N0 G
  14. ; 4. Current working directory (except CLI)
    : K' h& k4 x7 P+ [
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    # o4 Z0 {+ f+ q: a
  16. ; (otherwise in Windows)
    : I; X5 n: F* C2 [' A. e& K# F* w
  17. ; 6. The directory from the --with-config-file-path compile time option, or the) ~2 N/ x  i6 a( G2 v* Q
  18. ; Windows directory (C:\windows or C:\winnt)9 r/ |# i: E$ I) j$ z$ d
  19. ; See the PHP docs for more specific information.
    6 a6 i4 R! Z" M- a$ C6 R7 p
  20. ; http://php.net/configuration.file
    9 ]6 g* o1 ^+ l( V

  21. % Z0 ]5 @% Z$ H& \- G* A  }8 G
  22. ; The syntax of the file is extremely simple.  Whitespace and lines' q$ n4 h$ j4 H: r8 [- ~& v7 q/ E
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)., `' f0 \. b- ~
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though/ Z2 Z$ A! i+ t* o! c- [3 B  }- B
  25. ; they might mean something in the future.# L7 |* G) s) R' v) r

  26. & z/ b. `: B9 u. I: X3 _# v2 t
  27. ; Directives following the section heading [PATH=/www/mysite] only
    6 ~/ V) a  t0 C" T9 d9 q5 |1 v2 a
  28. ; apply to PHP files in the /www/mysite directory.  Directives& _) Y/ W1 R4 s# ^: k
  29. ; following the section heading [HOST=www.example.com] only apply to  ^. ]9 x. n$ L
  30. ; PHP files served from www.example.com.  Directives set in these
    3 A; R7 C; e+ ~8 u
  31. ; special sections cannot be overridden by user-defined INI files or$ I; x: F7 ?& \  A3 i
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under$ C* T( E0 t& `
  33. ; CGI/FastCGI.
    " d3 m% o. @8 w: T$ |+ Q
  34. ; http://php.net/ini.sections5 o- g$ }5 b( W& z, J+ o" y+ T- I

  35. 4 D4 z! g$ ?) x' ]6 g
  36. ; Directives are specified using the following syntax:' W+ f7 _; C. R  t- R
  37. ; directive = value
    - C5 Q- E2 z, n9 A& U: @* v5 R2 a$ U4 p
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.9 B1 k( w: j: m1 j" q9 a1 e4 r0 e
  39. ; Directives are variables used to configure PHP or PHP extensions.2 L* n- ^2 _! Q/ V- E4 ~
  40. ; There is no name validation.  If PHP can't find an expected
    ! X% ^; H* V. P( b
  41. ; directive because it is not set or is mistyped, a default value will be used.+ ]7 `" K/ z9 P& N3 @" L

  42. + t5 K- a+ @$ j3 E! S( c) p
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ; {( H2 J! E! |) u" ~/ T- B; ~  w
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression" Y9 Q" a3 A' ~4 `
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a" c3 h* c5 |5 _) N6 m. k8 ~6 M
  46. ; previously set variable or directive (e.g. ${foo})
    ' }: s' C1 _/ H+ ?( @
  47. ! O* v% z$ \! f: b: C: [# ^  K
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    : J( ^) L9 u: ?* j6 l; a
  49. ; |  bitwise OR
    " E" `+ n/ E( N) J3 C
  50. ; ^  bitwise XOR
    / }# i  Y+ |" e& N0 b
  51. ; &  bitwise AND7 d$ B4 Q3 x2 K
  52. ; ~  bitwise NOT
    8 X- V+ K# p6 w: Z2 d4 B- U" g! J
  53. ; !  boolean NOT
    $ Z8 a9 ]6 Z& `  f7 s) p

  54. 4 R) V+ X  g2 |1 A2 a
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    5 A. [. F4 I7 U( f
  56. ; They can be turned off using the values 0, Off, False or No.7 X" y  k. H! T) ^5 n5 a

  57. ; G3 u1 x( A0 [8 z& p
  58. ; An empty string can be denoted by simply not writing anything after the equal
    3 I& s  u6 B& A- t" {1 Z
  59. ; sign, or by using the None keyword:" `* N: |4 k! h& g/ P8 Y: [; G

  60. * W$ |, y( F& s; H1 E" g
  61. ;  foo =         ; sets foo to an empty string% t+ F4 v5 J0 l" }, ^' B# ]$ b
  62. ;  foo = None    ; sets foo to an empty string: e* E6 F- L7 l( U
  63. ;  foo = "None"  ; sets foo to the string 'None'' C& i" T" n6 {+ ]# b$ {+ V; n1 D- w
  64. ; n# k3 q8 V2 A7 C$ D2 C
  65. ; If you use constants in your value, and these constants belong to a
    8 m% {5 E% r+ u+ T" Q1 r
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    . j. X2 d: B) S5 a) G4 x$ T
  67. ; you may only use these constants *after* the line that loads the extension.
    , P  Q, Z, X) R2 Y9 d) X" v
  68. % Y5 w1 Z1 `/ L% e' W9 x: ?2 m" v
  69. ;;;;;;;;;;;;;;;;;;;
    4 u5 i/ _( \! e$ u: h  `. y
  70. ; About this file ;
    7 ^. Y. o6 t! O
  71. ;;;;;;;;;;;;;;;;;;;) }. s4 k2 p  U6 I  ], H
  72. ; PHP comes packaged with two INI files. One that is recommended to be used1 s7 d4 N* L* o( ?
  73. ; in production environments and one that is recommended to be used in  K" v! k$ l* R* S
  74. ; development environments.
    ! o1 K- e0 H; l3 a6 A# g
  75. 6 H3 Z3 _3 V6 O* ^4 F
  76. ; php.ini-production contains settings which hold security, performance and- p! k7 ~# A, t" `( R/ t: S
  77. ; best practices at its core. But please be aware, these settings may break
    $ F5 n% ^- Q" P* j( b
  78. ; compatibility with older or less security conscience applications. We5 n9 z+ j- ]) X7 k  v
  79. ; recommending using the production ini in production and testing environments.
    8 Y. h" e1 Q4 p, [! f* u: G8 a

  80. + j4 s1 D, Y; _3 W4 }
  81. ; php.ini-development is very similar to its production variant, except it is
    + G, Z- O; I: N) `9 l9 m9 O/ K
  82. ; much more verbose when it comes to errors. We recommend using the" \2 f* u6 N" b' f
  83. ; development version only in development environments, as errors shown to
    4 ?- S+ b8 b& J; f1 D/ B% L
  84. ; application users can inadvertently leak otherwise secure information.. h% P0 d# B3 s( R# _' t

  85. 4 I- n3 ~$ A! z  {" v$ P( x
  86. ; This is php.ini-production INI file.6 ~: X* @/ e: L/ G
  87. 6 b9 ]# L; Y" h  i/ M* F! L
  88. ;;;;;;;;;;;;;;;;;;;8 z. Q/ i, N# m# F# L
  89. ; Quick Reference ;
    5 q2 n% D0 [4 l; v
  90. ;;;;;;;;;;;;;;;;;;;
    & K5 q0 y2 G, C) k9 r8 n) B
  91. ; The following are all the settings which are different in either the production5 n  [# M$ x# n# ?
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    7 h/ V3 ?9 ]6 E; [; e' Q+ t
  93. ; Please see the actual settings later in the document for more details as to why- L7 p7 Q4 i5 a4 [  ]7 J
  94. ; we recommend these changes in PHP's behavior., p+ s$ n3 e& M$ S: m
  95. 6 J  K$ Q0 u$ I. ]; G
  96. ; display_errors$ j% j7 d3 _8 t" ^7 N9 l8 Z
  97. ;   Default Value: On& U3 Z* m8 b8 p6 @; w4 D2 q" k+ S
  98. ;   Development Value: On
    6 s" d1 @, C, T0 i1 Z( Q$ c; }( i5 H
  99. ;   Production Value: Off
    , U) v1 g. a. [1 N; j4 h
  100. 1 J1 Y+ j8 o2 I6 y% E
  101. ; display_startup_errors
    ( a0 H$ Z& t* j4 ]: ?
  102. ;   Default Value: Off
    7 N& N3 `  q; f3 W5 j( v
  103. ;   Development Value: On
    , ?, y, U* F" r
  104. ;   Production Value: Off
    ) {5 H1 Y) |$ D' G; }' t" |
  105. 5 U( ^9 D: `$ V* A4 K7 p
  106. ; error_reporting
    $ N) L, f, O/ ?
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    % K/ x' L0 j8 l" X4 b
  108. ;   Development Value: E_ALL
    : R1 ]9 x- R  u7 K+ P
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT; y7 f, |1 V7 o" ?+ w+ A1 v: ?
  110. & _% p( s  v' [9 Q$ x, \6 d
  111. ; html_errors; x% S2 K7 j+ Y* k8 z1 h
  112. ;   Default Value: On
    . Q( U0 f. _6 Q( _
  113. ;   Development Value: On
    * t  i1 Z2 J7 ^
  114. ;   Production value: On
    ; A- t- F6 w3 ~3 `3 P) n: l6 [* m
  115. , r, y7 w/ C3 K% m* M6 p
  116. ; log_errors) d( I0 k& a. }/ D0 ~5 O0 {3 y
  117. ;   Default Value: Off
    # m0 ~# R6 b9 H) T9 w! E; |8 Z
  118. ;   Development Value: On8 Z- P  I/ @; H, ]. C
  119. ;   Production Value: On6 i3 I: z5 Y! q5 y* H, g( y" @' a

  120. 2 i3 i( [/ m" X7 V
  121. ; max_input_time
    : z; w: `" I! T% i0 ^
  122. ;   Default Value: -1 (Unlimited)1 i& c9 e, j: K: C  n
  123. ;   Development Value: 60 (60 seconds)
    8 L; G- b% B" w" Z3 x! {  w6 J
  124. ;   Production Value: 60 (60 seconds)/ X7 u& |4 h8 }

  125. 8 W% o7 c& S9 `' n3 a: U  J3 t
  126. ; output_buffering
    1 U2 J9 B- p2 c# E
  127. ;   Default Value: Off4 s- T* t2 B% d; I' f3 c+ B8 f
  128. ;   Development Value: 40967 w  l2 S3 X; X6 b! S3 G$ C
  129. ;   Production Value: 4096
    ! b" B0 P$ a/ F( z3 ~# u

  130. ( |7 z. d' Z4 D9 g" f  l
  131. ; register_argc_argv5 T3 {" [2 Q$ ~' x4 S7 ]* B! x
  132. ;   Default Value: On" p2 [1 x. M% @* ?
  133. ;   Development Value: Off
    0 W6 I: m' u/ m# P) m, M" Q( K/ {
  134. ;   Production Value: Off* |: c; ?" p4 p3 ~9 |
  135. 1 T- E/ u3 ~5 d' R: _9 e
  136. ; request_order& z" F8 x( K( y( d7 d0 l
  137. ;   Default Value: None
    9 g2 C9 P5 a. P# z, P  R2 j
  138. ;   Development Value: "GP"
    ' \/ E6 a7 `( W
  139. ;   Production Value: "GP") a) C+ W% q( p/ d8 [3 U
  140. ) l$ ^2 b1 n5 |* K* }# ~
  141. ; session.gc_divisor
    5 e- w% k- p$ m& E6 f+ O# J2 E
  142. ;   Default Value: 1002 D5 U( W# |* F/ O, \6 j% j
  143. ;   Development Value: 1000
    3 C4 U2 h: |5 n2 }" M0 j* t$ @$ t
  144. ;   Production Value: 1000& Y' |3 @. m' L3 ]

  145. / ]' M# e: R, s) u3 \4 _( {
  146. ; session.hash_bits_per_character* K& _8 N: `8 E% {
  147. ;   Default Value: 4
    * y2 ^& m+ @# O+ g8 F6 K, V6 Q* d
  148. ;   Development Value: 5  ^& d* U# N) a7 F( @2 z" F
  149. ;   Production Value: 5
    - T3 t: f; ^1 f6 Q. M' Q* u

  150. 1 H4 H. E  h0 L' P1 J- C
  151. ; short_open_tag
    , b; Q$ m/ x* W% Y. a
  152. ;   Default Value: On; t- O) S' H' H2 F. v  i+ r
  153. ;   Development Value: Off3 f& s$ ~, g, [& e5 P- F+ q( M% ^% u
  154. ;   Production Value: Off0 g& w. U! q; d3 j& ^
  155. % l3 }( \# j1 V8 @
  156. ; track_errors  o! s* ~( L, `5 B( |6 d& [
  157. ;   Default Value: Off
    4 ]3 X" Y! {+ v( D, i7 Z& E( v& P
  158. ;   Development Value: On
    7 a# X. G9 j5 }& U9 Q9 S% J
  159. ;   Production Value: Off% d7 P/ w. `6 i# Z2 v
  160. ( Q, g5 p; x4 i# u
  161. ; url_rewriter.tags
      F$ k' \( R' n& L, y( _% Q+ y# ]
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ' T; _; @' T2 [; b: y( a, E
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"; U: m* Z2 b3 G; J7 w$ V/ l
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - @+ {2 E) E+ W0 `  w
  165. " B- n' x1 q6 j- A
  166. ; variables_order) \  l9 T" Z# y$ J0 f* U. m
  167. ;   Default Value: "EGPCS"
    2 b& z5 p6 [* B/ w) @2 m& h8 n
  168. ;   Development Value: "GPCS"
    $ V' E; v; \( z$ H2 K" h
  169. ;   Production Value: "GPCS"
    8 D4 o3 ]& W7 M* w4 u) p
  170. $ F% X8 [, e6 H4 d4 N  M- H  e
  171. ;;;;;;;;;;;;;;;;;;;;0 n! ^$ F! S2 g
  172. ; php.ini Options  ;
    * e! A6 @& b) b" _$ e' V1 p
  173. ;;;;;;;;;;;;;;;;;;;;1 b& m" |/ d/ s0 @0 x
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    + u, P# ?. o- n8 t& o- C/ \
  175. ;user_ini.filename = ".user.ini"
    " b4 e  h# z' q9 o, |, D
  176. 9 P5 g8 {  [1 k: e) O5 X
  177. ; To disable this feature set this option to empty value# l* u$ R& _2 D+ t5 x$ ]
  178. ;user_ini.filename =4 `, `# ^* ?* O2 G$ @, l/ g1 b4 E
  179. * B$ i1 v  I3 k* j- f
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)& F2 S  e2 j$ d" q
  181. ;user_ini.cache_ttl = 300
    & `- T+ Q( S4 V/ D7 n4 @

  182. 4 M- F4 p  D0 a0 W
  183. ;;;;;;;;;;;;;;;;;;;;
    * j2 [1 S* z$ k) L: e! |5 e0 O
  184. ; Language Options ;
    ( Z3 q0 U" J, l9 G- Z2 M( T1 z
  185. ;;;;;;;;;;;;;;;;;;;;
    7 k, U; \6 I  y- c& {
  186. ' m5 X" I5 v- L- G, f" P1 c; `4 O
  187. ; Enable the PHP scripting language engine under Apache.! X' ^( H6 I5 @! F: ]# g0 y
  188. ; http://php.net/engine% |& y  G# d* }
  189. engine = On( O+ X7 ?2 r. R- ~; o& R% u9 |, Z
  190. * F$ P! @3 w! ^- [; B
  191. ; This directive determines whether or not PHP will recognize code between; o0 S( [& O% i/ l: N6 s
  192. ; <? and ?> tags as PHP source which should be processed as such. It is. d. Y% g% z0 ~: J
  193. ; generally recommended that <?php and ?> should be used and that this feature
    # T+ M8 f6 ]( y. d! ]) \
  194. ; should be disabled, as enabling it may result in issues when generating XML
    , D9 A5 V0 i8 N: b" L' D' h
  195. ; documents, however this remains supported for backward compatibility reasons.
    , s4 H3 h* _7 M0 I
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    . {1 l( e, u4 Y0 Q/ n. p, b! e7 B* J
  197. ; used regardless of this directive.
    $ g6 m) v" T, o- H
  198. ; Default Value: On! |8 M. j, d- c- b2 U) s6 W
  199. ; Development Value: Off# W" S$ z' ?, s3 P, y3 h9 _
  200. ; Production Value: Off8 R( g2 h2 n# v7 x+ M( @! E9 _" O# v
  201. ; http://php.net/short-open-tag
    ; i- F9 U( T1 q9 @: ?9 S
  202. short_open_tag = On
    , q! b: l) S1 l% u) J. g6 r9 W

  203. 9 Q; l7 b# \! b
  204. ; Allow ASP-style <% %> tags.
    6 ?8 j$ n9 n& {1 `6 _
  205. ; http://php.net/asp-tags
    . g& C6 u% r+ s
  206. asp_tags = Off
    9 n' b- W' h8 \% }

  207. 9 T7 Z, c3 a0 u
  208. ; The number of significant digits displayed in floating point numbers./ ]$ d' V, L3 @  V  U2 o: Z9 d' \
  209. ; http://php.net/precision
    4 e$ V0 ^# e6 V1 {$ r; L
  210. precision = 14
    ; G0 Q: \; x, b: z) L0 d

  211. 4 b1 ]& k7 }9 h/ j2 b0 K$ J+ A" j
  212. ; Output buffering is a mechanism for controlling how much output data5 G2 i/ r+ t2 X: n4 {( I3 M, e* O
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that6 |' D  B. `. w+ A8 Y: t
  214. ; data to the client. If your application's output exceeds this setting, PHP% {& T' n* r7 B% k/ v# b/ Y
  215. ; will send that data in chunks of roughly the size you specify.
    3 Q- ?: K2 G2 @% K% V# d4 B4 y. Z
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    . i9 o- k1 g3 R$ U
  217. ; interesting side-effects depending on your application and web server.4 z' L/ r! g  e, V- S3 F
  218. ; You may be able to send headers and cookies after you've already sent output
    - r2 P7 k3 O4 }5 N
  219. ; through print or echo. You also may see performance benefits if your server is
    + e* I2 g$ r* D/ V" F3 e, H
  220. ; emitting less packets due to buffered output versus PHP streaming the output3 d- k( V- A7 _: z* {5 S; G3 G( d
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    % G% D5 q2 D, j3 [  i
  222. ; reasons.1 g5 W- Y$ i* N- r1 {2 J( v
  223. ; Note: Output buffering can also be controlled via Output Buffering Control8 t5 B* p% O  J
  224. ;   functions.3 r7 W0 }: {, s
  225. ; Possible Values:
      ^/ ]% V; [# e% w
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    - W6 q9 j. N/ j* e- v
  227. ;   Off = Disabled' ]% C, ^) l! k6 g5 J% x' j1 K
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    6 j% k3 v9 A% w) E
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI6 V/ J7 W$ z* H9 o  ~  X
  230. ; Default Value: Off
    5 ~+ H5 R2 X4 {0 W& i
  231. ; Development Value: 4096" W" D. c& s$ h9 U2 i) v% S# ~
  232. ; Production Value: 40963 v% M7 }0 M- j4 l) E8 l. E
  233. ; http://php.net/output-buffering
    . I- x4 l5 B' [* ]: ^# v0 j; E+ @
  234. output_buffering = 4096
    5 z( Z; x0 \+ h* }) t+ Y* M
  235. " \8 T" Y3 Y/ N% N" H$ ?
  236. ; You can redirect all of the output of your scripts to a function.  For
    ' G4 v* W) Y4 J- u) t+ ~4 X
  237. ; example, if you set output_handler to "mb_output_handler", character
    : B2 f  j/ p/ W+ B* @
  238. ; encoding will be transparently converted to the specified encoding.4 N* D) R! r7 V* C
  239. ; Setting any output handler automatically turns on output buffering.
    7 {: P3 A9 m; o! m, D  F' N: }
  240. ; Note: People who wrote portable scripts should not depend on this ini$ S1 |5 C8 c% w# O1 }, I) W
  241. ;   directive. Instead, explicitly set the output handler using ob_start().) p, f/ }/ B' N
  242. ;   Using this ini directive may cause problems unless you know what script  f4 y# N+ z3 ?, Y; T8 H
  243. ;   is doing.
    / k) l/ |% U/ |
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    2 c3 Z# f9 W! G2 z5 P- C
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    4 [; W) @2 ?, v' F/ `) @6 P
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    * w' m3 B7 z1 x! ]
  247. ;   Instead you must use zlib.output_handler.
    # z, n8 H; t! _. H
  248. ; http://php.net/output-handler
    9 _' K. H* H! r0 S$ i, r7 E2 _
  249. ;output_handler =" k' P4 Q$ b  Q  b

  250. 8 [; O5 j: f0 u
  251. ; Transparent output compression using the zlib library
    : x) U! ^6 U( T) ^
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    % T  M* I7 _* U! p' ]/ p5 k7 b
  253. ; to be used for compression (default is 4KB)
    % n& M; B$ M- S. _4 k- a
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    8 ?' R! K: o7 d- s/ Y
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    + p  G# X! ?6 F$ ?; C
  256. ;   compression. If you prefer a larger chunk size for better, }& `; T1 S$ D) D4 g# L
  257. ;   performance, enable output_buffering in addition.
    : c* l0 ]2 G+ Z0 a7 \# S, r
  258. ; Note: You need to use zlib.output_handler instead of the standard
    # z& ?1 D/ M7 [' S* i9 s
  259. ;   output_handler, or otherwise the output will be corrupted.7 n6 z& z2 H0 d7 \+ D; G
  260. ; http://php.net/zlib.output-compression2 a  s, h' m7 O2 y* Z4 X5 Q* s
  261. zlib.output_compression = Off
    ) z! ^9 X* y/ y% T" i  W

  262. ! K$ n8 o% R( E2 B8 N* T0 W
  263. ; http://php.net/zlib.output-compression-level% d& S- C4 k* p: t* H6 a5 ?9 T7 B) {
  264. ;zlib.output_compression_level = -1
    5 t# F5 R# c4 @9 |$ d

  265. 6 B8 Q2 U- ]; G! J  o
  266. ; You cannot specify additional output handlers if zlib.output_compression
    ) ~, Q- D6 K, F3 [/ x6 M" ~
  267. ; is activated here. This setting does the same as output_handler but in
    * S* |' s" A3 R0 I1 T6 V7 _" L
  268. ; a different order.. M* ?# F# G+ a! _* |
  269. ; http://php.net/zlib.output-handler
    * }6 A# Y" U- G$ x! f3 r% F: z
  270. ;zlib.output_handler =
    * p6 l$ o* A1 |# F- x

  271. ! b0 c: v4 U; O) l0 b( O
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    # F% o: j# T) [. f! k& V
  273. ; automatically after every output block.  This is equivalent to calling the8 s) @$ q" L& J( S
  274. ; PHP function flush() after each and every call to print() or echo() and each
    % s' D5 w' ~4 u8 {/ \8 f
  275. ; and every HTML block.  Turning this option on has serious performance+ n/ g( E  T5 y4 l# s( p
  276. ; implications and is generally recommended for debugging purposes only.; d# \" e0 E$ U7 ?0 t( V
  277. ; http://php.net/implicit-flush
    2 E! J% E2 C5 F8 K) k
  278. ; Note: This directive is hardcoded to On for the CLI SAPI0 T7 f8 @3 U( n4 S6 j; @7 B
  279. implicit_flush = Off4 s. ]. C( @. Y5 t% H! H6 j
  280. , h+ R/ [5 j1 z  @0 `3 W9 K
  281. ; The unserialize callback function will be called (with the undefined class'# ?0 F! x" w, v  Y- L
  282. ; name as parameter), if the unserializer finds an undefined class; a5 T' `: m- J' c- c4 V
  283. ; which should be instantiated. A warning appears if the specified function is8 q% D/ [/ u, L! t3 @0 k4 G
  284. ; not defined, or if the function doesn't include/implement the missing class.
    " ]- V) S0 g  t0 }6 B' Y$ \
  285. ; So only set this entry, if you really want to implement such a* O' t4 a6 s. @0 M) ?0 Z, u
  286. ; callback-function.: m) C) U: q+ N3 Y" `
  287. unserialize_callback_func =( [4 \( D3 H( _4 j/ _- @6 {. U

  288. 5 j  Q4 _5 h1 O
  289. ; When floats & doubles are serialized store serialize_precision significant$ s- }+ I* i7 y/ Q
  290. ; digits after the floating point. The default value ensures that when floats
    ( H, m: S8 \/ Z) z; O3 B, W
  291. ; are decoded with unserialize, the data will remain the same.: I; t; @* ^" D4 L# `: M
  292. serialize_precision = 178 K+ D5 [+ Y2 p0 k$ d
  293. ! k6 N; }( r2 r5 A& m( c0 Q
  294. ; open_basedir, if set, limits all file operations to the defined directory0 L! ~* M' q) i8 d+ d/ K
  295. ; and below.  This directive makes most sense if used in a per-directory& b9 m" K8 {% P9 J! ~# m5 _
  296. ; or per-virtualhost web server configuration file.. T# r' m7 C/ m) z
  297. ; http://php.net/open-basedir5 _) G4 H) s# \
  298. ;open_basedir =
    / N: J4 X( E; ]7 [1 v9 R+ `
  299. # j# i4 \2 \5 }, }, B
  300. ; This directive allows you to disable certain functions for security reasons.
    8 V6 U/ D) Z: I, i; s
  301. ; It receives a comma-delimited list of function names.; e9 y& D0 B  g; G6 D
  302. ; http://php.net/disable-functions5 t& u4 V3 N, e& G0 z
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    & Z3 i$ G& N8 d

  304. ( J4 o6 }( Y% H8 U. E$ r
  305. ; This directive allows you to disable certain classes for security reasons.: T* O! T9 w  J  T6 Z& a$ W
  306. ; It receives a comma-delimited list of class names.* G3 p0 G% ~9 t/ }8 r
  307. ; http://php.net/disable-classes  O; z0 O; M$ J) S' i
  308. disable_classes =
    , z. I2 \' ^2 A' t9 D+ |$ f, j/ h! ]

  309. 7 ^# X9 J7 }8 F( Z- H' z/ p
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ; g8 o5 \% ~* h4 r  R4 v
  311. ; <span style="color: ???????"> would work.
    ! {" z& D- t' x* c* q
  312. ; http://php.net/syntax-highlighting
    & o3 o& m# @; a6 y& ?
  313. ;highlight.string  = #DD0000
    5 ~2 X1 o( |( T8 a. @
  314. ;highlight.comment = #FF9900
    7 g( u# B" c; x+ g+ f
  315. ;highlight.keyword = #007700
    , A2 E3 r1 L8 S" K4 u$ j! l
  316. ;highlight.default = #0000BB7 f+ v3 P' k, U" Y# }, d% l
  317. ;highlight.html    = #000000
      I2 g; T: x  P' k
  318. % j+ T5 W3 S$ ]+ Y
  319. ; If enabled, the request will be allowed to complete even if the user aborts+ E$ E& ]  n+ X$ y* J
  320. ; the request. Consider enabling it if executing long requests, which may end up
    - g3 u/ V, F$ I4 w
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    / }" _0 W) ^; m
  322. ; is to disable this feature.
    8 U: W( Q1 d6 I+ X
  323. ; http://php.net/ignore-user-abort
    7 W: m! c, d' F1 q& u
  324. ;ignore_user_abort = On
    + C2 P* ?, q8 C& u6 _
  325. 2 H# H7 Y+ u/ B2 B" ~1 @
  326. ; Determines the size of the realpath cache to be used by PHP. This value should6 P& A9 }' {4 M/ @, y* }( y
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    ! |1 F+ R7 @9 Q" M
  328. ; the file operations performed.
    # s  U" D: {6 n( f/ U9 d0 \
  329. ; http://php.net/realpath-cache-size2 H& [# |7 H: s5 C+ p9 `8 F+ F  N
  330. ;realpath_cache_size = 16k3 v+ d* Y7 [  Y! W+ X* t
  331. 8 [1 P" u/ l: u, n
  332. ; Duration of time, in seconds for which to cache realpath information for a given8 R' `; r* @9 e3 f9 T
  333. ; file or directory. For systems with rarely changing files, consider increasing this1 e9 ~" M  n$ k; M: }/ q
  334. ; value.
    " h. K5 d" D; d+ \3 X9 _
  335. ; http://php.net/realpath-cache-ttl
    * `; p+ n' Q+ r( c
  336. ;realpath_cache_ttl = 120& K& {& @2 b/ d  M. k7 f

  337.   n: c9 [+ a4 t6 s+ l2 r/ V+ X
  338. ; Enables or disables the circular reference collector.
    " e' V9 Y7 K$ k. Z3 N0 w  _
  339. ; http://php.net/zend.enable-gc6 v3 m: b* `& [3 j
  340. zend.enable_gc = On
    ! Q2 _8 s4 j* p* H7 u6 @

  341. ! W1 H2 R; \, o/ \) `! ^1 r: D2 f
  342. ; If enabled, scripts may be written in encodings that are incompatible with* k5 h/ Y. r0 Z7 P- o
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ! B/ V4 ^( j- \3 q' m
  344. ; encodings.  To use this feature, mbstring extension must be enabled.  y4 `& F! G# e+ \/ ?" _4 i
  345. ; Default: Off
    7 _: X# ]  @+ f7 i. F: S6 s1 m/ X8 X
  346. ;zend.multibyte = Off
    : N2 h9 @7 |% h" n2 N

  347. " z/ g8 S, [. H; t* W5 S8 A
  348. ; Allows to set the default encoding for the scripts.  This value will be used2 a, f1 r1 v6 o% H$ g$ p- Y
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.+ J) D. }+ ~6 `6 z: v
  350. ; Only affects if zend.multibyte is set.- M( {4 a" d; Z& }
  351. ; Default: ""! ]/ t+ z1 W' j2 W3 y6 N* J" W- s
  352. ;zend.script_encoding =
    8 V- G4 ^0 \, S7 W6 u/ a
  353. ) A, p: ?% s! c
  354. ;;;;;;;;;;;;;;;;;' k  I2 Q" m) @. J* C
  355. ; Miscellaneous ;
    " [  G; D1 q; n: |4 j8 A9 m
  356. ;;;;;;;;;;;;;;;;;% C  j/ e: L" J7 w0 b, g+ U+ [
  357. ( X% l$ O& m: V
  358. ; Decides whether PHP may expose the fact that it is installed on the server$ {4 d: y* u* D# q
  359. ; (e.g. by adding its signature to the Web server header).  It is no security9 \: I% \; [9 b* m, v5 U
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    , R+ R- f: e: L' h: N
  361. ; on your server or not.% v  Y, T+ `/ g' s: _  U/ E
  362. ; http://php.net/expose-php2 ~2 g5 C8 g+ z1 U/ H$ e
  363. expose_php = On( j# n# s1 D  i9 a2 I$ n" c
  364. + i9 R* \8 T+ T: K( X2 d( c) K
  365. ;;;;;;;;;;;;;;;;;;;* Y* F: s7 v0 s* S
  366. ; Resource Limits ;: W% T% R- g% d/ V& R
  367. ;;;;;;;;;;;;;;;;;;;
    4 K7 ^, [# Y/ Z( M6 f3 _8 Q6 b
  368. $ @9 }1 }: a8 g% M7 {* _3 c
  369. ; Maximum execution time of each script, in seconds
    2 s2 i4 j/ J+ ]
  370. ; http://php.net/max-execution-time
    % i% u% Y- A# ~! ]; |' I
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI) _2 \* x! S" x' j9 j0 S
  372. max_execution_time = 300
    2 t! X* O, b, m5 G

  373. / F+ i- o& ]% [/ Z0 A+ I2 E# p0 ?
  374. ; Maximum amount of time each script may spend parsing request data. It's a good5 |. H# B/ E( c9 g# Z
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    # T. w$ O. h( q3 V3 b
  376. ; long running scripts.
    : {; `3 d% D# ^  F8 N" ~' a
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
      g0 [4 q3 w; {$ m/ i: T9 G7 J
  378. ; Default Value: -1 (Unlimited)0 f6 h5 A% k" q4 X; I, p. m
  379. ; Development Value: 60 (60 seconds)! V% Q# k0 n0 e' Q' T0 C. o+ z2 L
  380. ; Production Value: 60 (60 seconds)* k  J' N# Y1 W2 p. W
  381. ; http://php.net/max-input-time
    6 V& u+ F2 V  b; ~
  382. max_input_time = 60
    # k+ J+ i2 }! `
  383. 8 k$ r1 Q# H# s  {  U( s
  384. ; Maximum input variable nesting level' f$ V5 O3 t' b9 F$ R
  385. ; http://php.net/max-input-nesting-level2 z% f$ ^9 j! ~% G& U8 t& D
  386. ;max_input_nesting_level = 64
    9 E: i# @5 c5 G; I( B- s2 ]9 X

  387. : ^; n$ v+ y3 g  q* ~9 G
  388. ; How many GET/POST/COOKIE input variables may be accepted* D1 ], K* b8 Y, N/ @
  389. ; max_input_vars = 1000
    0 s5 g& V' w& r: f0 i2 n

  390. # z. Q0 \# S- v& g& X
  391. ; Maximum amount of memory a script may consume (128MB)5 G3 W  i& c! O. I* Z9 e! T+ I$ u
  392. ; http://php.net/memory-limit. W+ Z" i0 Q7 r# e: I, i
  393. memory_limit = 128M$ q. a8 c, v0 y% ^

  394. ! \3 y" n( O# j' O. t
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ' G( _+ |' S' |' I( p( K+ {' e
  396. ; Error handling and logging ;
    6 v. T' T8 d, K  X% [- b6 B
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8 L3 u+ \6 v8 D2 x% N! K9 \
  398. # l8 p: |2 m2 ^8 I5 @% g
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    1 @- C" \% z; p' y5 ~7 e" e; `; n
  400. ; it to take action for. The recommended way of setting values for this
    6 V9 v4 s1 l2 |& R2 v/ k
  401. ; directive is through the use of the error level constants and bitwise# T. N0 X& v5 w) `
  402. ; operators. The error level constants are below here for convenience as well as
    % @2 n, H0 g2 N5 Z( y
  403. ; some common settings and their meanings.
    # e, e3 p+ \, ^5 q3 t
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT! t+ K9 n8 b4 V9 `5 s, e' c1 x
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and4 V/ m- J6 p9 j" g
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    - v% m; C1 Z/ K
  407. ; recommend error reporting setting. Your production server shouldn't be wasting9 ]; R' z& v% z1 \; m) l
  408. ; resources complaining about best practices and coding standards. That's what
    ' R5 Y9 b) a8 f+ M3 I; \
  409. ; development servers and development settings are for.- P0 ]& P7 r: n7 A2 o  H- C
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
      u* N6 B: N5 ?/ C, K& [
  411. ; means it pretty much reports everything which is exactly what you want during
    + s9 Y7 C/ F( l9 a0 g: |& e3 I3 ]
  412. ; development and early testing.
    - F. L# F; j8 e5 d; j2 O/ X
  413. ;% A  {7 `8 k. Q6 _
  414. ; Error Level Constants:& {0 |, q( N: d( j
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    1 [4 m9 ?% U- ^+ b$ x) o* L& j0 d5 B
  416. ; E_ERROR           - fatal run-time errors& B% H, L; W  e% }: r+ i
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors$ v8 X  H; |' l8 l' U- x: {, k! s6 |
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    - h& y; t% Y# l* r: r+ o) \
  419. ; E_PARSE           - compile-time parse errors
    ; m( {: U1 u8 x- q+ \7 ]' C
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    ' ^2 Q% d+ f, ]; N
  421. ;                     from a bug in your code, but it's possible that it was# w& D/ r4 N6 f. g: h2 `
  422. ;                     intentional (e.g., using an uninitialized variable and; G+ x& a' n- v9 t; D! c
  423. ;                     relying on the fact it is automatically initialized to an& e6 Y! ~& m! X; }$ B: ~- @
  424. ;                     empty string)+ [( q! s, L" M
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes) |- ^  z6 I9 c" Q, Z: ]' ^
  426. ;                     to your code which will ensure the best interoperability
    . e$ v# x0 S8 i- i: S
  427. ;                     and forward compatibility of your code
    + R# J  s; M5 \. N* _
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup: Y) r8 ]5 z( o& S
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's8 @) R. K- [8 E) N# D* ~
  430. ;                     initial startup
    7 |: ^# m& m# b+ K: S1 p4 l9 _
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    $ X9 _! k; w9 h6 M4 a) E# n5 E
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ; K! a, }0 a4 u3 ^+ E3 x( ~( C
  433. ; E_USER_ERROR      - user-generated error message
    9 o3 u+ Q) {: E' ^8 N' D6 G
  434. ; E_USER_WARNING    - user-generated warning message. K3 Y9 U; s( F4 X3 H6 Z0 E6 @$ D
  435. ; E_USER_NOTICE     - user-generated notice message* v! N& f3 n" J$ }
  436. ; E_DEPRECATED      - warn about code that will not work in future versions) T# x: ]# f) a; G9 x: p
  437. ;                     of PHP
    2 h1 D& m6 ^* C4 r- ?4 E" W" c
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    $ o3 G& g/ q# U8 f! t
  439. ;0 O  d# f. h) X3 _5 K
  440. ; Common Values:
    6 v" m' e8 V- ^8 s+ `9 S" i
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)2 ~" k$ g+ p1 t7 i8 k) T
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    + T* ~$ y- t: F; J* ]9 a* x+ K
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    # S- U0 _' C0 u9 R# A! p! w+ `  D
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    : v- _9 R( T1 \/ a* c
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED8 ^8 u: Z, K9 C! x$ h: Z/ R$ R$ Y! Q
  446. ; Development Value: E_ALL
    0 q7 e  _3 U1 m
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    , D/ ^/ e0 G  O! _, A7 U  b
  448. ; http://php.net/error-reporting0 N4 \. i( f2 X+ A0 U  B
  449. error_reporting = E_ALL & ~E_NOTICE
    & E/ @7 _  P# Z
  450. 9 J: W2 m' J# h! j; J8 x
  451. ; This directive controls whether or not and where PHP will output errors,
      `, \# v! W" A6 [. r  }
  452. ; notices and warnings too. Error output is very useful during development, but. [: z' U, A- \
  453. ; it could be very dangerous in production environments. Depending on the code
    " [0 b+ e0 P" H& t7 c1 E: o
  454. ; which is triggering the error, sensitive information could potentially leak" b# p; e2 l% E; M- \
  455. ; out of your application such as database usernames and passwords or worse.
    : i; V5 N& Q$ W& G2 F! _3 c
  456. ; For production environments, we recommend logging errors rather than% M& K/ h) d6 `. S. Q
  457. ; sending them to STDOUT.
    1 i! o0 S5 \9 b
  458. ; Possible Values:4 [- Z  w' Z9 G& k+ A: o
  459. ;   Off = Do not display any errors& m5 k% F9 |0 [3 B
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ; K8 S+ n. A0 \0 x  I
  461. ;   On or stdout = Display errors to STDOUT4 f* a3 l/ I! u, A4 J& U
  462. ; Default Value: On
    8 u& D3 b$ y) R" I7 e
  463. ; Development Value: On9 L. t4 v, @* Z. i% c* P; \
  464. ; Production Value: Off
    " e- Z3 p- B: t, N
  465. ; http://php.net/display-errors
    ) G' V& ]3 ]: O* O3 w0 U8 u
  466. display_errors = On
    - {  r1 x5 M+ l) _. F5 u/ L0 N6 J
  467. 5 R& v/ J2 G# y( @/ p9 i
  468. ; The display of errors which occur during PHP's startup sequence are handled% Z) C4 A+ T& x# i
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    ( F5 E( @" p! B' ~! m2 K
  470. ; errors from clients. Turning the display of startup errors on can be useful in+ j3 ^$ G+ \. J/ ~* x/ E
  471. ; debugging configuration problems. We strongly recommend you/ i3 J3 y/ C* P; c( }
  472. ; set this to 'off' for production servers.
    1 x7 E0 B. k+ S) g- I
  473. ; Default Value: Off
    ) T! {% p7 p/ Y2 F+ \* N! N
  474. ; Development Value: On
    * w, p3 l8 W$ _/ y
  475. ; Production Value: Off, z' H  [5 }2 N9 [9 s
  476. ; http://php.net/display-startup-errors
    3 F3 j1 R9 l) N+ S; j- b
  477. display_startup_errors = Off
    ) h4 m" O- G! x" `: F

  478. ! A1 z; f. H# M( I$ P
  479. ; Besides displaying errors, PHP can also log errors to locations such as a3 @9 a+ w. S. k4 Y3 Y8 M8 l
  480. ; server-specific log, STDERR, or a location specified by the error_log0 y9 i8 v; Y4 V6 I7 V
  481. ; directive found below. While errors should not be displayed on productions
    $ k* u/ b5 s) H
  482. ; servers they should still be monitored and logging is a great way to do that.
    2 Q1 ], |$ \& [3 ~, ?
  483. ; Default Value: Off
    ; [4 z  A: ~" N' F$ f' R7 c& m
  484. ; Development Value: On) \8 v3 Y9 s, ?. [3 U; o
  485. ; Production Value: On+ t1 P' s4 ?, {( ?! E, u1 n
  486. ; http://php.net/log-errors
    9 m% d) H( S8 p' n, t: W( j3 G0 s
  487. log_errors = On
    , D3 W8 e0 P, A- `

  488. 5 q1 m/ _" M. c; P4 W( Y0 j
  489. ; Set maximum length of log_errors. In error_log information about the source is8 A+ G$ G0 E+ T4 M: w0 k  y
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    / D% k- i$ e9 w4 G7 M# l1 G2 v
  491. ; http://php.net/log-errors-max-len# }- x. J& U/ Y# P) `
  492. log_errors_max_len = 1024
    ( x9 H1 @9 Y$ Z' [+ Q/ b6 O

  493. 9 X5 W. T/ C# \/ d3 h3 `
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ; S6 d6 o+ ?: ~' y6 J4 w
  495. ; line unless ignore_repeated_source is set true.% b* ^/ x  F. Q- \
  496. ; http://php.net/ignore-repeated-errors" s; f* B  H  x- z& o
  497. ignore_repeated_errors = Off
    5 M  B' `1 r: A( V9 T: e1 A

  498. 2 x5 b7 {% W/ `! a& ]2 f; {
  499. ; Ignore source of message when ignoring repeated messages. When this setting/ R' d1 v0 Z" C3 V- V" X
  500. ; is On you will not log errors with repeated messages from different files or
    , |3 M1 r4 T0 Z: ]( S7 R8 H6 v3 o
  501. ; source lines.6 a, ?' v) [( g" b
  502. ; http://php.net/ignore-repeated-source
    ' p2 s$ |. H' x
  503. ignore_repeated_source = Off
    , f! \6 _# i/ T

  504. / p8 M( W6 Z! J# w
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on8 @0 N& T2 `$ A
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    0 n! C5 {3 ~  ]$ y
  507. ; error reporting includes E_WARNING in the allowed list5 k: ~. r0 N3 k1 t7 q# c
  508. ; http://php.net/report-memleaks% Z9 \! Y5 b  N% @0 u
  509. report_memleaks = On
    & ?( l  D" K7 Z3 H
  510. " t8 M7 ^+ |% w0 g: Y
  511. ; This setting is on by default.$ Y) B2 s* A" O! V
  512. ;report_zend_debug = 0" [& U* M! y1 M/ y+ E* f

  513. * k8 k8 b. X* X2 f: D
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value7 t/ n$ [) n! v( G
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    0 h3 n# l" g4 P
  516. ; however be disabled on production servers.
    5 o2 z. _2 i: \* \0 n6 f$ m6 V1 Z
  517. ; Default Value: Off
    ( c# `7 Z1 B8 H% p) l
  518. ; Development Value: On
    8 ~  t' O" @/ `, {% s$ Q& d
  519. ; Production Value: Off
    6 a) T; C9 x! ?1 l' o
  520. ; http://php.net/track-errors
    + Y6 G! [* u$ L: d# U
  521. track_errors = Off6 Y9 X& g5 w6 |

  522. 5 g' e- }- H6 r. f8 |' g3 H
  523. ; Turn off normal error reporting and emit XML-RPC error XML1 O6 ^. F/ K" J9 e2 }
  524. ; http://php.net/xmlrpc-errors
    * L/ V' ?; D0 o  @
  525. ;xmlrpc_errors = 0
    . G+ P/ `" Y0 e( d' D7 I3 T

  526. ! Y6 N" N- d* {, y# \* }+ k- z6 ~2 M
  527. ; An XML-RPC faultCode
    3 r$ E, B8 B( f# L* h
  528. ;xmlrpc_error_number = 0
    " r! D4 B7 h) i# W1 q% c

  529. 1 ^* _& |7 Z. T" b+ O" n( v7 f
  530. ; When PHP displays or logs an error, it has the capability of formatting the8 E0 ~" h6 l6 K5 Z' n
  531. ; error message as HTML for easier reading. This directive controls whether
    9 y  t) ^& I1 l# q4 a4 D, S; E& T
  532. ; the error message is formatted as HTML or not.
    " y7 q/ F4 B) o2 s
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI; m0 b) G7 f' p1 {
  534. ; Default Value: On
    1 Q4 Z& A/ L/ k, H4 o0 s9 l
  535. ; Development Value: On
    6 `' w% F9 u# h  a
  536. ; Production value: On  B! }2 U! R- C) p. P3 i8 s( c; i
  537. ; http://php.net/html-errors
    " ^+ v& A4 X7 T0 p" f
  538. html_errors = On
    6 ~# ?& W3 q. q9 V. e9 {

  539. . {1 ^/ t: }8 V7 [$ Q' Y
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP; {, `9 z$ y7 g' w, `
  541. ; produces clickable error messages that direct to a page describing the error
    ' F9 _& X; O# L( o$ l! _
  542. ; or function causing the error in detail.9 s7 j' _+ e( c$ C
  543. ; You can download a copy of the PHP manual from http://php.net/docs( x/ `9 y. a. }7 O/ F8 }  W
  544. ; and change docref_root to the base URL of your local copy including the
    " ?+ _0 j  k5 i& S- b7 W
  545. ; leading '/'. You must also specify the file extension being used including
    " S& {6 n. b2 U) E; p' }
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    # D# O# E4 p0 h, G; y
  547. ; case no links to documentation are generated.
    . ~& A2 k- S* c2 q$ P( S9 X* F- x
  548. ; Note: Never use this feature for production boxes.
    / k: T; m5 o. F, _0 J  R) P
  549. ; http://php.net/docref-root: f4 ~& }$ ]2 p, L$ y2 A0 K: \
  550. ; Examples1 \% Z6 S" m3 G% {
  551. ;docref_root = "/phpmanual/"
    3 g7 J* w3 D6 D3 t  _* P) }

  552. * |  K6 S! d9 E) m0 d! v+ a
  553. ; http://php.net/docref-ext0 _4 d7 c: ^) U2 y0 ^- J. E4 b- p) t7 T
  554. ;docref_ext = .html
    & q& a$ A. u" _0 B( D" k6 w
  555. $ [! R5 p% F6 T$ r$ C1 o- f
  556. ; String to output before an error message. PHP's default behavior is to leave
    6 c  a9 s4 O# x9 v5 K$ Q' [
  557. ; this setting blank.
    1 [) P4 ^5 |  i! f
  558. ; http://php.net/error-prepend-string
    , F. l( b7 w4 B) I, @& K
  559. ; Example:
    + ~7 D, g  o9 e8 U6 A- j' z
  560. ;error_prepend_string = "<span style='color: #ff0000'>") L- l& d6 l! m" B
  561.   S! Y; w. C3 a0 ]' R  c9 V; ^  ^
  562. ; String to output after an error message. PHP's default behavior is to leave
    9 k! I! R$ c6 r/ z4 B& x3 |
  563. ; this setting blank.* w# ?! j0 F* H! a
  564. ; http://php.net/error-append-string% \! K# o! S% x" |6 B  i' Z
  565. ; Example:
    9 v$ k4 j2 c* `; K
  566. ;error_append_string = "</span>"
    2 F7 W  f- p  W: X( ?) @* _
  567. 9 s1 \7 P' i9 ^( U
  568. ; Log errors to specified file. PHP's default behavior is to leave this value8 O& c3 D. E  z6 C" F; T$ h) f
  569. ; empty.
    % ^0 A4 U8 Y$ w# K4 E( F1 t! P4 j
  570. ; http://php.net/error-log
    4 \$ v, G4 Y; ?7 G4 b+ w
  571. ; Example:! ^; w( f" v5 A6 w* c( n# x+ Q& [
  572. ;error_log = php_errors.log, @1 y8 a/ j" l$ ]' o, _! A
  573. ; Log errors to syslog (Event Log on Windows).! S0 p1 J7 \$ R% j
  574. ;error_log = syslog
    9 K4 ~# o8 a& w; D
  575. ; s: P, V* g: s
  576. ;windows.show_crt_warning. U% P) B( P0 W% ^& ]8 T
  577. ; Default value: 0& Q. h! p5 H) w$ J2 ^4 M
  578. ; Development value: 0+ g1 l( a+ W3 A/ ]$ S
  579. ; Production value: 0
    7 y) n/ Q2 e) U

  580. 1 e, t9 x5 P9 N: K* E: Q& b
  581. ;;;;;;;;;;;;;;;;;
    ) u9 V+ j! C  c! E/ _: J6 B6 `4 ^
  582. ; Data Handling ;
    : L/ q. S0 U8 W" }! U6 v
  583. ;;;;;;;;;;;;;;;;;
    8 T! g0 K) u9 u' q1 j3 Z" k+ ?4 J

  584. / ~+ g4 J& n' q/ a
  585. ; The separator used in PHP generated URLs to separate arguments.
    3 `: F8 R* x' r1 Y) e
  586. ; PHP's default setting is "&".
    1 m( p2 w3 @! H' |* k+ G
  587. ; http://php.net/arg-separator.output
    % {$ M# f  C! A
  588. ; Example:' B9 j7 O3 v9 z
  589. ;arg_separator.output = "&amp;"
    % Q! A, ]- R$ @- g. c& Q

  590. " }5 O: T. u3 A# ^# g, p
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    % N/ l! ^. Q7 F6 ^6 B
  592. ; PHP's default setting is "&".) P' O/ p$ C% m# d9 h
  593. ; NOTE: Every character in this directive is considered as separator!! ~. E' {8 y' p; M, a* v. B  _
  594. ; http://php.net/arg-separator.input9 u( l/ }- S. D( ]
  595. ; Example:5 v8 _/ Y) m1 N
  596. ;arg_separator.input = ";&"
    5 s% [  E1 n# Q9 j# c* N) x+ k9 O

  597. / B; Z. j- T$ k  D
  598. ; This directive determines which super global arrays are registered when PHP
    ( `5 l  i" U1 i: t9 i' J
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super0 x, w5 u! L+ u8 u4 `
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty! s" p1 @$ {5 r* w4 f
  601. ; paid for the registration of these arrays and because ENV is not as commonly8 D+ a' a8 X, j  N* Y" U
  602. ; used as the others, ENV is not recommended on productions servers. You
    & E9 ^1 F+ R4 r4 i8 f: y( I
  603. ; can still get access to the environment variables through getenv() should you
    2 w& r1 d- [0 F" v
  604. ; need to.
    , D- M. w2 S( U1 L$ e; |- n
  605. ; Default Value: "EGPCS"
    ( q" [1 i) ~( Y& Z* n# }6 y& K
  606. ; Development Value: "GPCS"" u, V$ Y- k; s
  607. ; Production Value: "GPCS";2 z) T6 @8 @. k" g
  608. ; http://php.net/variables-order1 T$ m) e1 y) U. x; P0 o
  609. variables_order = "GPCS"
    $ t3 H3 X, O" c
  610. * I+ k/ I! s/ ^- {+ b+ U
  611. ; This directive determines which super global data (G,P & C) should be' _3 c( y% Z0 y
  612. ; registered into the super global array REQUEST. If so, it also determines; U% z6 N  c* m1 [5 }
  613. ; the order in which that data is registered. The values for this directive$ K3 `/ {7 l, Z* ^  Y& @
  614. ; are specified in the same manner as the variables_order directive,
      d. y( P5 h, s8 s
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
      V0 s- t) z! T, W& E* w+ Q
  616. ; in the variables_order directive. It does not mean it will leave the super% O' x& u. M6 }0 u6 w7 @% T' m
  617. ; globals array REQUEST empty.
    . C' R8 I- h2 C7 ]7 [! _
  618. ; Default Value: None. m. ?# G, s7 T0 [; D# k& j( ^
  619. ; Development Value: "GP"9 e! U$ G6 v$ w
  620. ; Production Value: "GP"
    5 D# S8 L/ E  F
  621. ; http://php.net/request-order* v- i/ G3 [$ [  i) G8 m
  622. request_order = "GP"3 c3 r6 }6 W5 E7 t
  623. " T3 M5 d+ G) p+ Z7 x
  624. ; This directive determines whether PHP registers $argv & $argc each time it+ m. B+ B' I2 l% g2 M
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script% a3 Y) t2 u! ^' @2 `$ Q4 d; V1 X
  626. ; is invoked. $argc contains an integer representing the number of arguments
    1 R1 H; O+ ^6 y* m# P8 v/ P: z- I" Y
  627. ; that were passed when the script was invoked. These arrays are extremely
    % @) s) Y) J7 k
  628. ; useful when running scripts from the command line. When this directive is$ \  m7 A% [- P0 v2 G8 |7 r: Z' X3 C
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    9 V; K3 b/ U9 n* }: |$ ^
  630. ; a script is executed. For performance reasons, this feature should be disabled5 S; Z' v1 j+ L7 w( q
  631. ; on production servers., L3 r& i/ O& }. P; i3 O
  632. ; Note: This directive is hardcoded to On for the CLI SAPI5 }9 t; o. C$ {9 @' d' D
  633. ; Default Value: On: w* N: R2 j1 r* I
  634. ; Development Value: Off
    7 d* D2 {6 M3 q5 {8 l1 U
  635. ; Production Value: Off
    2 ?) W- x' {* \8 A, g, ]: L5 B
  636. ; http://php.net/register-argc-argv
    $ ?" A; A, i6 k! y' E
  637. register_argc_argv = Off, q9 W! X  T- F+ M+ D; H. b& _3 L# z
  638. 9 C( w" F/ n* i) U
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're9 B$ F  o+ f7 ~
  640. ; first used (Just In Time) instead of when the script starts. If these+ s6 M8 }' z6 w
  641. ; variables are not used within a script, having this directive on will result4 M/ M: C- I. D# r1 D
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    3 l  s2 x7 A4 S  P6 C
  643. ; for this directive to have any affect.
    ; C2 Q' a& C. y! {
  644. ; http://php.net/auto-globals-jit, k, H* k# P. d9 j4 H) M
  645. auto_globals_jit = On
    7 ~! y$ c: e/ P6 f) b# [4 c% W7 ]

  646. ! s5 F- g/ ?9 _
  647. ; Whether PHP will read the POST data.: ~. G" ]2 n" D8 d; |
  648. ; This option is enabled by default.6 o+ @. ^* W9 P7 ^0 R$ N6 w% x& p
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    & w4 e# [$ L* I" r9 N+ l
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    ! t! t( o4 o9 K$ `7 N) s2 u
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    % G9 A) J) t* T
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.4 Y6 Z; o) b" c( G
  653. ; http://php.net/enable-post-data-reading& R( l- O5 C$ Q
  654. ;enable_post_data_reading = Off
    5 d. T% T3 G& r& B0 Q# S9 F6 T
  655. ; {, l. C% Q) ]0 E
  656. ; Maximum size of POST data that PHP will accept.
    ' x- M' r& H6 o) [- B
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading% `4 p5 C: I+ t5 ]8 F1 @
  658. ; is disabled through enable_post_data_reading.0 V; B8 K1 w* D, f. B
  659. ; http://php.net/post-max-size! z( A+ B% O& x: J
  660. post_max_size = 50M8 ^, j( Z3 W3 Y3 G) r* L# o$ v

  661. 2 F& o: R5 f& Q3 \: y% A- v3 R% Y
  662. ; Automatically add files before PHP document.# W+ U3 p7 `$ G2 o
  663. ; http://php.net/auto-prepend-file
      a: d7 g1 ]- o/ X1 P
  664. auto_prepend_file =& g  f9 k' x1 l2 x
  665. 6 b* J; d& q% \3 F4 t
  666. ; Automatically add files after PHP document.6 u, w& y5 j+ S) `! b
  667. ; http://php.net/auto-append-file
      b" p! _3 b( j8 C( \4 b4 b
  668. auto_append_file =
    3 v& _  j# I# F2 s6 ^) o

  669. ' l- y% a2 G" u* H0 P3 L4 [
  670. ; By default, PHP will output a media type using the Content-Type header. To
    $ m( g+ F" O3 g% O8 o# v7 M
  671. ; disable this, simply set it to be empty.
    . U7 |+ j2 z8 _/ E3 v8 U# ~
  672. ;' W5 R, j: X* O0 z5 l1 n5 J4 S! r
  673. ; PHP's built-in default media type is set to text/html.
    # @) C7 x. n) u
  674. ; http://php.net/default-mimetype1 O1 G! I3 T# k% R$ W3 G
  675. default_mimetype = "text/html"
    ) t; q6 ]2 ^  G5 V( R

  676. # }' k- o% j* @* x: x7 @* E5 w
  677. ; PHP's default character set is set to UTF-8.
    " v& O# |5 p. M3 x9 t; E
  678. ; http://php.net/default-charset
    7 h" r6 {+ x* A; p' p
  679. default_charset = "UTF-8"
    1 @# t7 g: b* \3 ?! }1 z! r. x9 y! j: I
  680. 0 z9 h0 h9 g- E
  681. ; PHP internal character encoding is set to empty.; H& p7 c$ Z! o, O! q. `
  682. ; If empty, default_charset is used.
    - I1 v7 H% g' L9 k$ u% L
  683. ; http://php.net/internal-encoding
    $ R+ D) o, \) X3 x2 c: `% \
  684. ;internal_encoding =+ N4 q7 l: m( j
  685. / u8 b; Y; l! I( ]6 v
  686. ; PHP input character encoding is set to empty.% S7 w/ N  }% k4 J1 T
  687. ; If empty, default_charset is used.) F: e# Z# o% D
  688. ; http://php.net/input-encoding
    " m( x% X' q. p' F- J) C
  689. ;input_encoding =. o) s! ]/ S' P! s, l  K

  690. ; A# [8 ~' q1 H
  691. ; PHP output character encoding is set to empty.
    7 W4 j5 s+ e5 h' \- K" s
  692. ; If empty, default_charset is used.5 }  `/ |& d: [, K- k) J, y( u
  693. ; See also output_buffer.8 y0 y1 L/ r" }# v& f
  694. ; http://php.net/output-encoding
    7 M# `* ?# D2 I% k
  695. ;output_encoding =0 y7 j" F' b) [  b

  696. - R( O% [7 x9 |0 W. m
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ; \5 j5 Q% G8 q3 p& {: ?7 r. l
  698. ; to disable this feature and it will be removed in a future version.
    * o, l  [) W6 {
  699. ; If post reading is disabled through enable_post_data_reading,2 L' ]9 y, w. V4 B
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    0 H" u  u" Y4 i) u
  701. ; http://php.net/always-populate-raw-post-data
    5 d/ F: e5 `( h; S
  702. ;always_populate_raw_post_data = -14 n& T/ V7 ^7 ?" j1 b

  703. ! }5 A) B7 U+ a# V0 r" U; s* [
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;% v; H/ t. }3 \; a
  705. ; Paths and Directories ;5 H, @3 g8 I0 E; _+ w6 x: j
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;* V" T& U% z2 }! ?! s% c1 _: W
  707. 9 |+ m- w* D) J7 F" Z% K/ D
  708. ; UNIX: "/path1:/path2"
    * z2 A7 @; n# g, p* M! f
  709. ;include_path = ".:/php/includes"% x: o! Z1 J; m7 F0 _* m
  710. ;
    2 f$ K( e' f* v% E
  711. ; Windows: "\path1;\path2"* t0 l- A0 q3 K0 [8 D1 F; }
  712. ;include_path = ".;c:\php\includes"0 x& ?0 S: p3 q( e% P4 L% f5 v
  713. ;
    ' L! ~/ l0 O) q! d
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"! E! m% C  S5 p0 Y& X1 H1 P. S4 ]
  715. ; http://php.net/include-path" p7 Q, A4 ]6 \6 T* `. A

  716.   E& K, l' a: S
  717. ; The root of the PHP pages, used only if nonempty.' Z) a5 ~- [9 c& D& n# K) Q
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root4 L1 ?5 w# ^& P6 F' T3 u/ l& w
  719. ; if you are running php as a CGI under any web server (other than IIS)9 N. D, l7 t% i
  720. ; see documentation for security issues.  The alternate is to use the
    7 j: j( F" `2 k+ z) M
  721. ; cgi.force_redirect configuration below
    ' z2 b: i* O1 w# `: Z
  722. ; http://php.net/doc-root  z/ K9 s7 K; b
  723. doc_root =4 }6 E- d- o$ ~1 D" M. P4 i

  724. * O) H& p5 p5 F
  725. ; The directory under which PHP opens the script using /~username used only
    " A4 Z7 ?3 l8 y% s' |7 _
  726. ; if nonempty.
    ) R$ H) v, ]  g  O1 E
  727. ; http://php.net/user-dir
    3 R$ N2 I% }- l9 J9 f/ B# u1 R
  728. user_dir =
    3 l' H/ @  o7 U# z& l4 U2 O9 w

  729. , N  O" e, V1 j5 s
  730. ; Directory in which the loadable extensions (modules) reside.9 J$ _& j( x4 A8 i0 Z
  731. ; http://php.net/extension-dir# Z& Q- M$ l1 F; B
  732. ; extension_dir = "./"
    0 N( X. Q; e1 Q& e. C
  733. ; On windows:4 T' M( P* @# \
  734. ; extension_dir = "ext"
    ' ^: g5 C" ]; [4 n- F& F8 \

  735. 5 e. F5 w6 q2 J, s, j4 j8 `
  736. ; Directory where the temporary files should be placed.- s& B$ n2 X5 g5 k
  737. ; Defaults to the system default (see sys_get_temp_dir)
    8 ^  T* a7 ]% o" Y
  738. ; sys_temp_dir = "/tmp"
    $ Q. K3 ^: h# D# f

  739. ; p  c4 m6 w; r0 F' e7 w9 D5 z
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ! Z5 z$ ]8 ~0 t
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically0 I& x. `: c' N& a' X( q4 A% Z# K
  742. ; disabled on them.
    ) v0 P" G8 x( E9 R- c: L# U
  743. ; http://php.net/enable-dl/ v: C+ G7 H) H. c
  744. enable_dl = Off/ I9 z* E+ m6 R+ F0 O6 ?1 r. ?
  745. ( D9 I& j0 ~3 r( H
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    8 H8 f1 a; l. s! O3 L4 H5 ]* u6 a, P
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    * E( _5 T2 A% L/ }6 _
  748. ; turn it off here AT YOUR OWN RISK
    , s% O4 ]$ K9 f/ S
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**/ d5 X0 u+ K8 C8 \  n9 |& _
  750. ; http://php.net/cgi.force-redirect& q2 ~  V2 h" w3 Q8 _
  751. ;cgi.force_redirect = 1
    + ?) o) r9 `6 \1 R% b  l

  752. " W& j4 j! ^+ i2 b7 I
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with' q8 o% I$ j" t) D6 F6 y
  754. ; every request. PHP's default behavior is to disable this feature.
    0 J8 n" J+ v  F: _# A! E, ^3 b8 w
  755. ;cgi.nph = 1
    5 _) q/ ^% |2 N6 o

  756. # V, L' r2 W, [: v
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape+ J  T0 K6 p5 d
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP- Y5 c' R+ V( a: I
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    0 x# B+ d4 }* I% w" X& N6 o
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST./ h8 J1 ]' o: n/ a  H
  761. ; http://php.net/cgi.redirect-status-env
    " o# C4 X! g5 n( z8 v, H5 T
  762. ;cgi.redirect_status_env =2 a' q7 v( s& Z6 l  I: {' K; d: u

  763. + a% \$ t8 _9 A0 R# b
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    & j; V4 X3 E9 w" A) }
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok. [" I3 Y* A- i1 R1 P4 n# h
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting/ W* Z; ]1 e/ ^3 o
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    - r" ^6 v; a3 Z8 H6 u
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts7 y5 R8 k  T9 e) `* f0 h, Y
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.5 k6 N) ?% a( o
  770. ; http://php.net/cgi.fix-pathinfo4 B& @' c% w4 ^* r+ k# X
  771. cgi.fix_pathinfo=18 o3 j  T( v3 B  n9 }

  772. # N; [( B$ Q% B7 m& A& z
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside& }0 n7 v) _2 D2 \! h, N5 F# }
  774. ; of the web tree and people will not be able to circumvent .htaccess security./ I/ l" F7 }7 P- n2 r- d  y: Z& _
  775. ; http://php.net/cgi.dicard-path
    . v% e8 J- O$ z- b
  776. ;cgi.discard_path=10 _# }& K( S6 ^, D

  777. ' c: K6 q) R  k! s% |
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate2 {6 u, x" ?3 E) D* z
  779. ; security tokens of the calling client.  This allows IIS to define the2 p$ b( a2 n9 S0 I
  780. ; security context that the request runs under.  mod_fastcgi under Apache' d2 i' M# e/ l6 ?- c
  781. ; does not currently support this feature (03/17/2002)" Y7 a9 `) B( C  _* E
  782. ; Set to 1 if running under IIS.  Default is zero.2 ^1 T& t2 X; L+ c
  783. ; http://php.net/fastcgi.impersonate
    : S; K& ]+ I; p5 |
  784. ;fastcgi.impersonate = 1: L0 D" o* e: c" N2 ~$ S5 f  w2 p
  785. % f, C% G* `- ^! e( `8 {
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable. Z2 d4 J  Z/ q, P2 x5 M
  787. ; this feature.
    1 D7 S; Y0 Z. F# ]4 V
  788. ;fastcgi.logging = 0) R: ~- D+ {! [8 F( F
  789. 2 Q& m3 Q$ E7 z. e: j
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to6 L6 t/ q# X! r3 H' ^8 Y
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    : B( b! \! q5 O5 ]- M: ~4 R+ P) k
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    . w& H- v7 H$ G/ N8 E
  793. ; RFC2616 compliant header.
    1 \1 K# g! }* d2 K) `& q8 w
  794. ; Default is zero.
    9 G4 b9 x+ f  X! C# s# n) \& y+ d
  795. ; http://php.net/cgi.rfc2616-headers* S+ ^, o0 a3 [$ @" n6 f. {
  796. ;cgi.rfc2616_headers = 0+ q" A, w# i9 M3 b7 ]

  797. ) n# z- [' l3 I
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!, {4 r, u6 y6 s, r1 X
  799. ; (shebang) at the top of the running script. This line might be needed if the/ N! ^  p) s6 j
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ( Y! V% J+ K' N
  801. ; mode skips this line and ignores its content if this directive is turned on.
    % c. b. {. r1 s
  802. ; http://php.net/cgi.check-shebang-line
    7 }9 Q3 ]7 s. V9 F
  803. ;cgi.check_shebang_line=1" x3 u3 ~9 T9 R6 A1 u( c

  804. ( k$ g+ H) l" @( Z( e$ I
  805. ;;;;;;;;;;;;;;;;0 H' L/ G( y3 [) b, f$ U  w2 L
  806. ; File Uploads ;1 T: J5 E8 Q0 F7 ?
  807. ;;;;;;;;;;;;;;;;* S. n4 ~; y9 S8 N
  808. * z0 b3 x6 m, a* m
  809. ; Whether to allow HTTP file uploads.7 z1 `# k8 W' o
  810. ; http://php.net/file-uploads
    4 J; J# }' K1 q% r* X
  811. file_uploads = On
    2 H% z# f- S& P6 U, @3 h
  812. : c" W9 I1 g  y. N! M' Y  n! C
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    , Z7 j- f4 W- v6 P1 m1 x
  814. ; specified).% Z; d4 O1 X; u7 f" p9 J
  815. ; http://php.net/upload-tmp-dir$ K2 F* {/ w, E/ _9 j$ A- w1 J; P( a
  816. ;upload_tmp_dir =& D1 C: C4 y1 d

  817. 9 ]  n. T: x* I/ {& u
  818. ; Maximum allowed size for uploaded files.4 g, W% W4 Y& a5 g" t" i0 F( T
  819. ; http://php.net/upload-max-filesize
    2 L; b3 b4 e2 D/ e3 y
  820. upload_max_filesize = 50M
    # H3 ]' E4 Y# N6 w; j5 Y8 S

  821. 6 j) ?' `- Y; I5 o! B9 a* p
  822. ; Maximum number of files that can be uploaded via a single request
    ' T1 [; C0 k- c5 |' ~2 ~
  823. max_file_uploads = 20
    6 J' n! k2 w8 r5 p
  824. . }/ M# d0 |5 _6 R  r
  825. ;;;;;;;;;;;;;;;;;;
    3 v/ f. i; f$ p: Q) O9 X  V  S  w
  826. ; Fopen wrappers ;
    ! L* f1 G+ D# h
  827. ;;;;;;;;;;;;;;;;;;
    5 X- Q9 o: {. D; J5 ~* ~* J8 l* k0 P
  828. * g: N9 P* R6 B  D! v) B
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    * F/ g% }. G! S1 |
  830. ; http://php.net/allow-url-fopen
    + R$ Z' R8 U+ U+ U( @# ?
  831. allow_url_fopen = On
    , \: P1 p( k9 ^, `- n3 E3 u' T& X
  832. ( v& |8 d( s+ H9 m3 K& b6 `; q$ K/ {
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    & s# B. Z5 ?* H8 }: I6 X
  834. ; http://php.net/allow-url-include
    6 E2 |" r5 B- O1 N: Z
  835. allow_url_include = Off
    5 v+ U  W, U2 K: N, p

  836. 6 Y+ T: [+ Z8 \( A" m$ S! W
  837. ; Define the anonymous ftp password (your email address). PHP's default setting/ i9 _$ ^, P! z# h
  838. ; for this is empty.
    & R0 b4 W5 l$ F# c* y' I7 r
  839. ; http://php.net/from; p0 ^+ K9 W2 O# ^
  840. ;from="john@doe.com"
    6 f( R2 O4 D( w1 A9 }* S# B3 {
  841. ! z3 S$ q# ^* [3 ?
  842. ; Define the User-Agent string. PHP's default setting for this is empty.: B2 Z" u- o2 w) B7 \3 V
  843. ; http://php.net/user-agent# B7 k' [# T. a' Z1 m8 L
  844. ;user_agent="PHP"
    7 c0 m- W+ `! ^
  845. , [) @/ U* F+ p0 S* F" Q7 M  m
  846. ; Default timeout for socket based streams (seconds)
    ! A' z7 S8 w$ h0 X
  847. ; http://php.net/default-socket-timeout
    * `& I- c& j8 e4 |6 [1 n2 u3 r
  848. default_socket_timeout = 60/ v, L1 W" [: ?% k) U

  849. # B% \& l: d1 k, Q- v% ^
  850. ; If your scripts have to deal with files from Macintosh systems,- D$ |% c) ?( k6 L
  851. ; or you are running on a Mac and need to deal with files from
    - |0 V& n/ G7 c$ F% V4 S3 r
  852. ; unix or win32 systems, setting this flag will cause PHP to
    1 H7 L. i, E/ c9 ], ~" H7 Y
  853. ; automatically detect the EOL character in those files so that
    4 ^6 a! a) M  v* h# Q$ C  R
  854. ; fgets() and file() will work regardless of the source of the file.
    $ I/ D6 f; H6 r$ l
  855. ; http://php.net/auto-detect-line-endings( d1 X$ J" q/ _, \+ m
  856. ;auto_detect_line_endings = Off( G7 n4 S3 m8 u9 {

  857. ' V/ F1 u( c/ t9 \$ a
  858. ;;;;;;;;;;;;;;;;;;;;;;
    + w# h$ I' g9 h  a
  859. ; Dynamic Extensions ;
    & B+ C+ Y- ]* t* {- I, J
  860. ;;;;;;;;;;;;;;;;;;;;;;
      H, j4 o/ o; V

  861. # A+ _# c$ o' Y. F. Y4 w
  862. ; If you wish to have an extension loaded automatically, use the following3 R9 S2 p: ?3 h; k) [
  863. ; syntax:4 A" E- X" ^+ `' q3 H3 b, a/ x- g
  864. ;
    7 \; w. C0 B3 y$ a. x  w* w% g
  865. ;   extension=modulename.extension
    & w+ _$ x! A  r* h) y7 e2 m
  866. ;9 Q& U8 ~9 g5 V9 {5 L
  867. ; For example, on Windows:% R6 N1 H3 f) J7 `' U
  868. ;
    % K7 x9 N) ?7 K) g' v
  869. ;   extension=msql.dll9 W& ?# A8 |$ z- K! P* a5 o
  870. ;. s4 ?. a7 ?5 @; j
  871. ; ... or under UNIX:, i8 A# `& e* n; Y* c: g# F; g
  872. ;
    ' d# y# v; ]+ A0 m# A. U
  873. ;   extension=msql.so# L$ R6 W/ P: m  o' o+ M
  874. ;( ]2 ^+ y1 ]' ~
  875. ; ... or with a path:; P' H" f( R) A5 b  u
  876. ;  G2 y. K7 s$ \; p2 f
  877. ;   extension=/path/to/extension/msql.so
    ! Q$ p0 X2 ^2 c0 q9 `* g3 D
  878. ;6 n7 i, q* I4 ?$ t. a2 K
  879. ; If you only provide the name of the extension, PHP will look for it in its
    - Y0 z; @$ \% Y% k* y
  880. ; default extension directory.
    1 Q  O0 p: P# y3 P! X6 Q
  881. ;
    7 Z6 I; X: k5 q2 Y  m
  882. ; Windows Extensions
    7 U% e8 [& ^* v9 P  p8 x$ O1 s
  883. ; Note that ODBC support is built in, so no dll is needed for it.; u8 m0 y# A5 x( x, l
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)" w6 r1 z) \( D
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    3 _! D3 C' H' g; {$ Q& J$ n3 {
  886. ; Be sure to appropriately set the extension_dir directive.
    3 w+ g; _& i* i* j- |/ M5 r
  887. ;1 h, V1 R5 ]( R4 g+ ?
  888. ;extension=php_bz2.dll
    " N1 U  k% l0 y. y7 K" U
  889. ;extension=php_curl.dll/ D) V$ g5 _; B) _4 F
  890. ;extension=php_fileinfo.dll/ a. T1 W! l4 L1 W0 `
  891. ;extension=php_gd2.dll* S$ o' B9 q6 `( u, a/ T
  892. ;extension=php_gettext.dll
    / o) a: G/ Z$ e" L+ Z
  893. ;extension=php_gmp.dll9 r: v7 c  D' h1 h# T2 I
  894. ;extension=php_intl.dll
    8 d) r# D+ M! `! z* E- p
  895. ;extension=php_imap.dll8 ^  v( q3 Q- `# L5 R5 A
  896. ;extension=php_interbase.dll) \3 _6 W, W. t3 T# p8 ]- t$ O
  897. ;extension=php_ldap.dll! p1 H* }& l  D7 ^" U
  898. ;extension=php_mbstring.dll5 l6 r5 O, d$ V) S3 Y3 o
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    3 O% N+ y5 G' ?
  900. ;extension=php_mysql.dll, J3 i; Y7 x, p1 @% v6 W
  901. ;extension=php_mysqli.dll
      F. z4 W8 |/ Y5 f% r! c, c8 |
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client, J& E% ^6 G( N+ j
  903. ;extension=php_openssl.dll
    , t* r: J7 K  q( B+ D# v
  904. ;extension=php_pdo_firebird.dll  V' e' ^: A" j. M& R) [( A, w; f
  905. ;extension=php_pdo_mysql.dll
    * l+ l4 }) |* E  N5 u/ c8 |0 `( o/ z
  906. ;extension=php_pdo_oci.dll
    ( |' R7 P7 n; X; A( P
  907. ;extension=php_pdo_odbc.dll" @) t. i; G; G) c2 Q/ Q. a
  908. ;extension=php_pdo_pgsql.dll; p/ D  x1 m% J0 R
  909. ;extension=php_pdo_sqlite.dll8 A6 u; Z1 V0 {$ F: A' _" w
  910. ;extension=php_pgsql.dll3 Y' V  n; m8 @! t% G
  911. ;extension=php_shmop.dll) g, p+ E8 [! k3 @
  912. & z5 r* b- @& @* |
  913. ; The MIBS data available in the PHP distribution must be installed. 4 ~, R  `; C7 q, B5 b# D( E2 b
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    & Q1 n& {! W/ K0 U; N; ~* K
  915. ;extension=php_snmp.dll0 H( |# \4 X+ W5 ~! e4 {, D0 w$ j3 W

  916. 5 U' h& }% }- X# f" ~# A
  917. ;extension=php_soap.dll- m0 N* @4 W' I) ?
  918. ;extension=php_sockets.dll
    % R7 r2 n' `- p, t5 t
  919. ;extension=php_sqlite3.dll) G# N5 k* z0 v7 T
  920. ;extension=php_sybase_ct.dll
    ) ^# {, V- e: ]" Q
  921. ;extension=php_tidy.dll: }' a1 |8 z- ]! G, u
  922. ;extension=php_xmlrpc.dll& j$ q) e3 M6 j7 T
  923. ;extension=php_xsl.dll
    / l( z, X! m, Z
  924. 3 P/ t; k0 g, m' `2 k
  925. ;;;;;;;;;;;;;;;;;;;7 U; _0 F. y- n- w/ H- Y
  926. ; Module Settings ;
    % h3 v* i& y! [  ^
  927. ;;;;;;;;;;;;;;;;;;;
    % G1 m. C6 ^8 H) P) p4 U% M4 B3 L4 E
  928. ( d* C" h# d& ^0 I7 O1 z6 o& v& G5 p
  929. [CLI Server]
    8 m2 r  J/ T0 h
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.: w+ `; M1 f6 p: n2 u# Z
  931. cli_server.color = On
    ! f+ m6 ^5 k$ A. `) @% y. Q
  932. / u4 _  }. G* W5 N& S
  933. [Date]
    * h; R' H( N0 v8 l. K
  934. ; Defines the default timezone used by the date functions
    ' E% a/ ^1 P3 B7 j* ^
  935. ; http://php.net/date.timezone6 u% }0 A( d4 i' f6 C$ s
  936. date.timezone = PRC! S. H3 t# [: k8 u

  937. 5 C2 q: L) P2 V( R2 S3 j
  938. ; http://php.net/date.default-latitude% J3 I5 N4 Y6 R3 u$ k3 l) H: m
  939. ;date.default_latitude = 31.76676 s$ R! ^; Z6 ~& E

  940. 1 ~7 L: y, n0 B
  941. ; http://php.net/date.default-longitude7 @* K% C" A: _
  942. ;date.default_longitude = 35.2333* r3 c# \- m! ]9 k1 Y. S
  943. 8 {/ O# A( F6 ?- C. z7 C; }
  944. ; http://php.net/date.sunrise-zenith
    . T, T4 m9 c6 \  H# r" u
  945. ;date.sunrise_zenith = 90.5833334 V1 ]0 U8 L* v2 ?3 m- {: I' W: u+ x
  946. # S2 _. M4 h. t
  947. ; http://php.net/date.sunset-zenith0 O: m4 O5 Q" E6 `& a5 d; A+ a, J% x
  948. ;date.sunset_zenith = 90.583333
    1 @3 p! G% V' u1 y0 ^" |( s
  949. 1 a' G& J2 d: e% t9 e0 @
  950. [filter]
    ! |4 C! |. }' e4 ~
  951. ; http://php.net/filter.default+ @; B5 d5 R; h' d$ r- r
  952. ;filter.default = unsafe_raw
    % X9 h3 l0 {- Q3 ^1 S) `

  953. : ?; ^! W* W& E: \! y. f2 r* a
  954. ; http://php.net/filter.default-flags* U" M7 e: X( N
  955. ;filter.default_flags =
    8 n8 z6 I* F. F. G$ J8 K% r6 [: y

  956. " A& z% E* Q1 H& w0 s3 T
  957. [iconv]% L" o1 v( _9 A& z  e4 I, G4 {
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    0 L. o8 ^6 r0 f3 K
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.2 u9 N' E% }/ v/ o
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding! o0 i$ G( j& R+ f1 @* z
  961. ;iconv.input_encoding =. V% {) v0 M1 [+ U

  962. ) H) B4 t4 t9 t
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    0 V, X3 O) d! x9 [9 @- |  a
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.: `. r2 O+ L& n% O( o* q  ~
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    " i7 z. Y: |6 ^- Y1 w
  966. ;iconv.internal_encoding =- D& Y% G  a7 {1 Q% O3 Z  I6 i2 a: l( ?

  967. / u% Q; a2 A. `( [* G9 h  p* J
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.8 H0 x0 B8 D# M: P
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ' u" s! ?/ }! C  R( N* a8 _, I
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding' m( |/ ?$ v4 F3 a! t) S3 L% M
  971. ; To use an output encoding conversion, iconv's output handler must be set
    1 o* [( y$ a4 p- X+ a
  972. ; otherwise output encoding conversion cannot be performed.
    ' k. E0 r5 v" X! u( o2 M
  973. ;iconv.output_encoding =
    " @5 C" V  _5 `5 N% q- {

  974. 4 N% _! W1 {7 i0 x) K- y. p
  975. [intl]
    9 y5 n6 L2 r2 Z' b! E6 c" g
  976. ;intl.default_locale =
    7 K, q" B2 n) y% ?
  977. ; This directive allows you to produce PHP errors when some error
      ]" k  C# g- [' k
  978. ; happens within intl functions. The value is the level of the error produced.. M3 F" x/ P: l2 z
  979. ; Default is 0, which does not produce any errors.
    ; [3 T1 |% H% a
  980. ;intl.error_level = E_WARNING( j+ s3 A2 f* Z2 G
  981. ;intl.use_exceptions = 00 a2 d0 c& q) |& X1 e' @7 a/ H

  982. % r$ r) o$ h0 A5 l5 t- q, K
  983. [sqlite3]# K( C1 z- \* A1 h* Q5 P; }$ l
  984. ;sqlite3.extension_dir =
    + C# o3 h6 y  ]9 J

  985. . i4 v2 }3 B2 U6 l# e5 c+ o& E
  986. [Pcre]
    $ G+ h. G- Z- t; H$ c
  987. ;PCRE library backtracking limit.: U7 _* \8 L* Q/ k* D) V- q
  988. ; http://php.net/pcre.backtrack-limit( d) @' P9 F) c2 ?) K6 t/ I- p
  989. ;pcre.backtrack_limit=100000% L: [  z+ r  ]

  990. 9 r' I$ [  y6 t
  991. ;PCRE library recursion limit.
    2 z# [0 k+ ]( M8 T7 j
  992. ;Please note that if you set this value to a high number you may consume all
    7 N6 L  B" ^' M/ a- h) S
  993. ;the available process stack and eventually crash PHP (due to reaching the& p$ n  s2 y; w3 m
  994. ;stack size limit imposed by the Operating System).2 p, Z) v+ T/ k, S% J9 j+ D/ U; v
  995. ; http://php.net/pcre.recursion-limit
    7 G1 w% }* e& `6 @) @( t
  996. ;pcre.recursion_limit=100000$ e0 C+ [5 v% D2 ~. w

  997. 9 [( }0 E* D# s! H0 |
  998. [Pdo]
    ! W% O  t$ F0 \
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ! |8 z' F8 l* f( R* \* B9 p6 l* c( a
  1000. ; http://php.net/pdo-odbc.connection-pooling
    " i& J9 ]. ^5 g7 w5 y
  1001. ;pdo_odbc.connection_pooling=strict6 J6 `8 d0 B( j. u( p8 H

  1002. * {; c  t: c1 w3 e# z) H4 _
  1003. ;pdo_odbc.db2_instance_name
    ; X4 j( d% u9 p) h# M9 Z. A, ~

  1004. 6 |6 r7 x' F) x% [0 w. O7 e( x
  1005. [Pdo_mysql]
    1 r4 w. Y- o- q/ p- q3 S2 `
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " d+ C2 g* ]9 O. Q0 v# u5 G; a
  1007. ; http://php.net/pdo_mysql.cache_size
    7 j9 f2 P4 S/ [" Y1 A# j
  1008. pdo_mysql.cache_size = 2000
    . f- P! A2 C6 x. |; z
  1009. , v, b9 p, E& x* i6 S3 y3 X
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ! }: y& j0 J" q7 t+ O6 F0 W
  1011. ; MySQL defaults.* P* o8 c" i5 S" v5 L/ d9 P
  1012. ; http://php.net/pdo_mysql.default-socket! q4 |7 y3 ]3 {4 w, X1 z8 \
  1013. pdo_mysql.default_socket=
    ( G5 c4 K) E" _& N8 m: w8 W- S
  1014. 3 n! _  T2 \, X0 h3 {0 V- }( Y5 G
  1015. [Phar]
    / X" {- |! b, {# j% ?/ F& I, i
  1016. ; http://php.net/phar.readonly
    8 K( G9 n& ?9 K5 Q3 b  g, x" a' H
  1017. ;phar.readonly = On2 p  \8 v0 }) u) m* s
  1018. 7 b1 i, W. f( N% ^3 w
  1019. ; http://php.net/phar.require-hash
    ! k/ U2 q* Y% K
  1020. ;phar.require_hash = On6 l# c5 g! f3 C0 _2 I. V5 x

  1021. 0 W4 G( O2 q3 k0 a& E) e( R
  1022. ;phar.cache_list =
    , s* G4 F4 ~7 K( a5 V; c* V! M) J  y
  1023. ( a' \4 M) J8 U1 B( o- N) v
  1024. [mail function]
    , i: O9 |5 g" x9 n& U
  1025. ; For Win32 only., w3 M5 v+ Z4 X
  1026. ; http://php.net/smtp. x8 U  i/ w, J$ r: t
  1027. SMTP = localhost
    ' @: R, c# o; d5 o1 ?
  1028. ; http://php.net/smtp-port
    # F& f0 Q7 E' Y& }1 f$ Q9 y
  1029. smtp_port = 25
    # o+ G4 D: Y2 Y8 I8 z. A4 a% y+ s
  1030. # j/ Y/ Z2 s, j. d& H
  1031. ; For Win32 only.
    0 z% u8 ^; ?& P# s
  1032. ; http://php.net/sendmail-from
    2 y) Z, Y! R! V0 C4 q
  1033. ;sendmail_from = me@example.com: T: E: w/ f6 G0 b: k
  1034. 4 V& H6 A( b1 {+ Y3 O
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").1 B' w; h" {0 q) `1 H
  1036. ; http://php.net/sendmail-path
    # H2 p$ |. I- O8 }0 K7 b! E
  1037. sendmail_path = /usr/sbin/sendmail -t -i% }! ~/ s- W% K

  1038. * B( ]! [  [- V1 K
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    8 I# x: g8 K3 `. l: C8 v  I
  1040. ; to the sendmail binary. These parameters will always replace the value of
    1 E, E* h& Q1 k0 k1 w) W: I
  1041. ; the 5th parameter to mail().
    5 r6 F. j1 S! p# r4 L3 ?
  1042. ;mail.force_extra_parameters =  w0 _& m( H$ _  u& W2 P# `  v

  1043. . ~" X( O  y9 J, C! O% ~! S
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    * D% ]4 |/ y4 a6 P1 h6 @
  1045. mail.add_x_header = On
    : q" v- ?& S; ]# V, q5 T

  1046. 5 C- O9 I( y8 d
  1047. ; The path to a log file that will log all mail() calls. Log entries include$ m2 z3 o# F6 Y
  1048. ; the full path of the script, line number, To address and headers.  s. K- l4 m' y5 a$ i1 V1 F. ]
  1049. ;mail.log =+ C% J. L$ U9 @! |0 l' v% f5 C( s1 Z
  1050. ; Log mail to syslog (Event Log on Windows).8 G' p" }" L. l/ @
  1051. ;mail.log = syslog
    7 O6 q: O* S7 K* v* _

  1052. 2 x9 `( U! v* Z
  1053. [SQL]6 }: A0 x/ {  w; R0 S& r
  1054. ; http://php.net/sql.safe-mode
    9 V4 R& R7 J' O. w, |
  1055. sql.safe_mode = Off( }$ n( E1 ]! x8 O

  1056. + c7 E6 ?# P, ~  `+ J; ?$ C
  1057. [ODBC]
    # X5 D- \+ o1 B; i/ L
  1058. ; http://php.net/odbc.default-db
    9 k0 f1 U# s5 @+ r# K
  1059. ;odbc.default_db    =  Not yet implemented+ Z6 y8 V! R( @
  1060. . Z) |: O+ C2 p% P7 b& J5 X
  1061. ; http://php.net/odbc.default-user+ U0 K0 }; G; Q' F8 F4 |9 X
  1062. ;odbc.default_user  =  Not yet implemented
    7 G- M) X  ]$ [& O2 u" C
  1063. 6 i0 q; h. s) a6 d# p: s6 W
  1064. ; http://php.net/odbc.default-pw4 N8 }4 u& c2 w/ Z) i
  1065. ;odbc.default_pw    =  Not yet implemented1 }, C$ X) c( p
  1066. 1 `! ]% @7 O4 x# g& P4 m1 ?3 M5 Y
  1067. ; Controls the ODBC cursor model.
    & [- W& ?) m, u  k; K
  1068. ; Default: SQL_CURSOR_STATIC (default).
    4 N9 S+ m3 K3 |! A
  1069. ;odbc.default_cursortype
    9 l% {: s8 A8 [, u6 n
  1070. 1 f8 C9 R% s9 U) T
  1071. ; Allow or prevent persistent links.0 ~8 w3 i/ b* ~6 L
  1072. ; http://php.net/odbc.allow-persistent
    ! z2 x- s) a( k2 P3 o
  1073. odbc.allow_persistent = On
      h8 j% p/ K* u& x  J$ E
  1074. 5 a/ B1 I8 l+ n  a# w" w
  1075. ; Check that a connection is still valid before reuse.
    " g2 H- w7 U( H5 }
  1076. ; http://php.net/odbc.check-persistent1 {4 @& W7 E) Y* j% W; {+ g
  1077. odbc.check_persistent = On
    4 D0 X' c! p# }$ h2 s

  1078. : a4 f( v7 c& b" }
  1079. ; Maximum number of persistent links.  -1 means no limit.
    / x; m3 y$ N1 z+ H1 `/ A5 X
  1080. ; http://php.net/odbc.max-persistent- R  S; D! t" l4 O
  1081. odbc.max_persistent = -1
    9 W+ C; j$ D, _( Q" R
  1082. ) X) {. _3 v' r2 o, Z- Q
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ' h7 D' F6 m9 P! y% M* }2 [1 y
  1084. ; http://php.net/odbc.max-links
    3 |9 V. a  D7 s! m; J
  1085. odbc.max_links = -1$ e- p4 i. b" \' D6 r. n
  1086. 0 H/ X* S: x; ~$ `) V2 y) L- q
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means" m2 ?/ b, |) h1 v
  1088. ; passthru.
    - g" N7 P7 H! C  |5 R
  1089. ; http://php.net/odbc.defaultlrl$ x1 `2 Y8 s2 D2 {
  1090. odbc.defaultlrl = 4096
    ! W; L/ o% ^( R! r; s; D6 {! A4 M3 s

  1091. ; Q* X" k: R2 F0 A+ l4 g- W5 K
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    6 s0 U* k9 A" {9 p0 s0 E
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    4 z+ K0 x8 c0 D7 W' L6 j- |
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ( a) j0 |. b- U4 w7 t
  1095. ; http://php.net/odbc.defaultbinmode
    # q+ s; T) x5 q: U( w- e, E
  1096. odbc.defaultbinmode = 18 b1 O- @3 g+ F* D. h, q( }. A+ ?9 j& R
  1097. 7 Z& p: o. e) ~$ i8 \) p9 R
  1098. ;birdstep.max_links = -1  M  h8 B, g, U- H6 R7 X1 L
  1099. - P, O- N+ R. q9 V1 l3 d8 s  k
  1100. [Interbase]2 u4 A2 \& [! T9 R# G
  1101. ; Allow or prevent persistent links.1 g  }9 @8 m$ z2 B) ]( A5 x1 {# h
  1102. ibase.allow_persistent = 1- P2 a4 [8 ?8 f6 @9 k7 u
  1103. : U9 n3 L& }3 ~2 s
  1104. ; Maximum number of persistent links.  -1 means no limit.0 z4 D: R! F, R0 q
  1105. ibase.max_persistent = -1
    % d1 O% [' e" f+ ]- |9 x
  1106. & U+ q2 `% \( c, h' f1 U* u7 @
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit., a' p4 o: v, O. W
  1108. ibase.max_links = -19 b- V2 u$ f+ B3 ]

  1109. 3 k- O6 v, ^' E- s& F( o; `
  1110. ; Default database name for ibase_connect().4 I3 W2 x& e+ N) j) `# {8 J; o
  1111. ;ibase.default_db =
    6 V4 r* ~9 _0 Z) L' N

  1112.   H* ]# `; G( e' d1 i; p
  1113. ; Default username for ibase_connect().: \+ T$ ~! w3 p; V1 V; w2 p- J
  1114. ;ibase.default_user =
    4 Z0 w$ k$ J9 I( |. D2 s9 u7 Q* I

  1115. & ^* ?; y) ]# ~" \+ D& d$ R9 C6 L
  1116. ; Default password for ibase_connect().3 o7 o5 d! C1 z
  1117. ;ibase.default_password =
    " h8 E7 A9 f" Y" x6 c
  1118. 7 T9 G' ?- `5 u6 r) H* c/ |! v
  1119. ; Default charset for ibase_connect().7 P$ ~& v) F! o: U
  1120. ;ibase.default_charset =" i: I& |; `# D& L5 q
  1121. ) ]* g6 X" ~7 E3 R+ W0 y3 i# b
  1122. ; Default timestamp format.: ]" D5 X8 d6 j8 \2 t4 W
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"9 v  ]! q0 K  ~: z8 Q
  1124. 8 r) M  B+ _9 O3 M+ g+ H$ |
  1125. ; Default date format.
    0 i5 \  G2 ~) l; P
  1126. ibase.dateformat = "%Y-%m-%d"
    ; q, c9 w" q" h9 j
  1127. 5 |0 k3 ?( A, x/ W
  1128. ; Default time format.8 m. e1 m. B  X
  1129. ibase.timeformat = "%H:%M:%S"
    8 P# H1 ~& T( K/ q0 c

  1130. 2 M. S/ p: o$ B4 `' V; n' ^8 l
  1131. [MySQL]9 l1 y. B. }8 x, D* n( S- w
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements+ p' q) v8 Q0 r4 l0 t$ `# l
  1133. ; http://php.net/mysql.allow_local_infile3 o# A( B  N3 o1 F. A1 f
  1134. mysql.allow_local_infile = On* B7 t  u' Z) ~& p! b" f: p: U

  1135. , q$ y9 x6 W% ^  S3 w
  1136. ; Allow or prevent persistent links.! z3 T0 e' K2 q- f, a
  1137. ; http://php.net/mysql.allow-persistent, j' w# s/ V* Z7 X$ t
  1138. mysql.allow_persistent = On
    . h5 \" ^4 Y- L$ N( n9 `

  1139. 7 @$ P* A8 q2 {5 g/ b7 O
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache2 y5 f4 h+ E* ^. Y
  1141. ; http://php.net/mysql.cache_size, y& l6 V! @& D9 T: b
  1142. mysql.cache_size = 2000
    * [# X  g! d" H+ {: M2 ^1 n

  1143. : _! W+ w" ^/ y/ O& y1 @6 e1 }
  1144. ; Maximum number of persistent links.  -1 means no limit.4 z: c, Q  v( v9 U6 k) [8 i
  1145. ; http://php.net/mysql.max-persistent
    - G- y: k# b3 z# L5 q7 u! Y
  1146. mysql.max_persistent = -12 A1 [" D& X; H" D( w/ h3 M0 d

  1147. 7 q) B( R; I* u+ |& o; [
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 Z+ N$ ]5 J4 |* T& c. p
  1149. ; http://php.net/mysql.max-links
    8 H  y- w: R; f
  1150. mysql.max_links = -15 A. f6 T' {7 E( E7 }

  1151. 4 M( ^8 Q+ \1 x1 k
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use" D1 X" `! t' j& `8 W( y4 i
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    % [& O+ O; t7 d
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    0 R0 B) E- T# }) p9 i- j
  1155. ; at MYSQL_PORT.; I6 o+ J8 i9 n, z
  1156. ; http://php.net/mysql.default-port
    $ @: j8 n' L2 f$ ?
  1157. mysql.default_port =
    2 H4 a7 f/ \1 F( S9 ^& d

  1158. # @! h- v& @7 L! S7 a
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in9 T2 C6 }( l( u8 A
  1160. ; MySQL defaults.
    + Z! B* o9 H2 [4 m/ o# h' u8 i6 _3 X
  1161. ; http://php.net/mysql.default-socket5 h- Y0 V% `/ e4 k& q$ W
  1162. mysql.default_socket =
    ( i$ j. \3 ]  C$ R$ l

  1163. - j8 H$ K+ B" q9 ]  O
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ' o" K# x5 }9 f7 T$ t; a) z
  1165. ; http://php.net/mysql.default-host
    8 ^  I/ f5 c# }2 ?& D( C
  1166. mysql.default_host =
    + B2 D. O  N" l0 r; V5 T9 F

  1167.   C5 a3 C9 V( U! `
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    0 a' _3 A: S  u. V/ f: G
  1169. ; http://php.net/mysql.default-user
    % B: U2 \  Z( [" j0 E
  1170. mysql.default_user =) H4 x5 x1 t1 Z$ `; N
  1171. 9 ~* f. N/ g* C8 p  O1 a" z" K
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    4 J# r7 }. d' n/ \" \7 d
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    , l# M3 \- T  N! ~8 H8 s) C
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    + l4 a& A% d; o
  1175. ; and reveal this password!  And of course, any users with read access to this+ t+ v- C+ [+ U. _! k, }4 J7 n# K
  1176. ; file will be able to reveal the password as well.
    ' k. ~$ {, A* W) s4 v; a& c+ x2 ]
  1177. ; http://php.net/mysql.default-password
    $ o1 d% n- V1 ~
  1178. mysql.default_password =
    ; d) G' |) T- q( d! o
  1179. ! Y0 ?  z2 i$ m: p8 |$ h1 W1 c6 o$ K" H
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    ' B7 x* U" D/ l: i6 t6 N  K4 l" {
  1181. ; http://php.net/mysql.connect-timeout8 k$ G# ^  Z) n, u4 I4 B
  1182. mysql.connect_timeout = 60
    2 x2 _# ^, _( s* q

  1183. ' i* F( G8 Y  F
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and1 p4 i  W: D6 F, n1 [7 j$ E
  1185. ; SQL-Errors will be displayed.
    - N! Z4 T5 ]/ Y7 L; R4 a$ L9 I
  1186. ; http://php.net/mysql.trace-mode
    ; t& y2 K/ y5 T1 @0 a
  1187. mysql.trace_mode = Off
    % F2 S6 _% g% t, q4 V
  1188.   F" c% n& p9 K
  1189. [MySQLi]
    7 U& y4 f' j; t( p1 A# g
  1190. 9 P  S$ e/ i; E+ D2 Z
  1191. ; Maximum number of persistent links.  -1 means no limit.6 R( g% \8 z, b8 ~$ j
  1192. ; http://php.net/mysqli.max-persistent  S% |. @) C* S3 i- Y  K$ h1 r. z
  1193. mysqli.max_persistent = -1
    % d9 M5 l# W- U7 I
  1194. ! G% i9 K% B) z8 U8 U
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    . Q( m. d. F6 N
  1196. ; http://php.net/mysqli.allow_local_infile
    ' ]' B3 R1 T$ Q9 w' O9 K
  1197. ;mysqli.allow_local_infile = On
    ! p( }( X+ [- O

  1198. 0 s. @) T( L8 N
  1199. ; Allow or prevent persistent links.$ N; K0 y1 v  v/ j
  1200. ; http://php.net/mysqli.allow-persistent
    % @9 o* k# p$ z9 @. C' S! ~
  1201. mysqli.allow_persistent = On
    6 W- p# m1 q( e1 m# Y  W# R
  1202. # ~& \7 _( K% P& O
  1203. ; Maximum number of links.  -1 means no limit.
    1 [: ^7 i8 v+ _4 Y2 F
  1204. ; http://php.net/mysqli.max-links
    6 X  I9 P) h- \1 \" q1 `
  1205. mysqli.max_links = -1
    9 D, W7 c; x) @
  1206. 2 S0 l, ]7 d5 ~5 N0 B( l
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache) c; x2 c( @. b! U* E
  1208. ; http://php.net/mysqli.cache_size, T  w8 k4 v5 h
  1209. mysqli.cache_size = 20000 z1 e/ I% m! [5 u8 V& P5 |4 v

  1210. 3 _8 g; A# T: n8 ~8 [6 {
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    1 m9 q2 F  \1 }/ p! [" o$ c
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    : v: S3 z* z( W
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look2 J; l# O& L- T, a4 ]$ ]/ {
  1214. ; at MYSQL_PORT.
    0 D, {( }& v1 ?7 Z% o
  1215. ; http://php.net/mysqli.default-port$ _# ~( H& d7 f: x5 I
  1216. mysqli.default_port = 3306
    ( b( t# t; Y( }: ?

  1217. 8 ~* w1 ^' R6 Z6 Z1 c/ F' n  B
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in) |- n! v0 m1 ^
  1219. ; MySQL defaults.9 S7 N7 d' i3 K- u3 y& k: t
  1220. ; http://php.net/mysqli.default-socket, t2 w' t# s: [8 c  d. E/ n, Y
  1221. mysqli.default_socket =8 z: T) W6 X! M$ f" R2 j" E
  1222. 5 ]+ O9 V& D7 x
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode)." x. E6 O( R" l
  1224. ; http://php.net/mysqli.default-host
    $ W% ^- H( X, c3 y3 b- u+ k, c
  1225. mysqli.default_host =
    ! O1 H& b3 Z7 @( h! H
  1226. ( J7 `% C4 O- R; K+ E) q1 u
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    " g6 D0 S) P5 k3 \1 Z. L# B" ^& \
  1228. ; http://php.net/mysqli.default-user& \! l* G( P! V
  1229. mysqli.default_user =
    - j6 g" v9 Z: q. @  ~
  1230. 8 e0 g5 R* @  {' P' R) e+ A
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).# _" a; W; S# U# u0 w0 V# k
  1232. ; Note that this is generally a *bad* idea to store passwords in this file./ x& }: a" C, h- Q
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    / B$ U9 \5 f9 p8 [" I' g. g
  1234. ; and reveal this password!  And of course, any users with read access to this5 z+ a" p$ |. f/ J5 s5 P5 h/ N
  1235. ; file will be able to reveal the password as well.) [; v& [9 R- {8 r: E+ E: l
  1236. ; http://php.net/mysqli.default-pw
    5 {9 }2 r) Y, [$ h7 J
  1237. mysqli.default_pw =
      D( {- R) X8 F
  1238. 6 ]! [" A( v8 r- x" N1 _
  1239. ; Allow or prevent reconnect; L: G; G3 X3 B# x( j% @" o
  1240. mysqli.reconnect = Off
    * E. r  z# Z( `
  1241. ! A, J, N( i8 G5 r
  1242. [mysqlnd]
    % C  q: y. ^2 [! D7 X, G
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    . y+ \- c# O4 _! Q3 E) [  f( q2 T
  1244. ; used to tune and monitor MySQL operations.5 `% \2 ]' m3 k& y4 ?
  1245. ; http://php.net/mysqlnd.collect_statistics
    0 P" o6 U& s" G
  1246. mysqlnd.collect_statistics = On
    - o1 _% y- K) I) C9 h

  1247. ' l$ U& G4 f+ K0 s* w
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    : f% D% m" f# H  m
  1249. ; used to tune and monitor MySQL operations.6 X- b. h/ U" Q* a
  1250. ; http://php.net/mysqlnd.collect_memory_statistics( {& z! w9 \$ F( x8 g3 ^
  1251. mysqlnd.collect_memory_statistics = Off
      T7 r5 d/ I: Z
  1252. 3 T1 M, c# Q% h, _# k$ }- ^/ x
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    - j  }. ~6 r2 t' m. j9 Z
  1254. ; file.3 N. O& j: q7 \& W6 g3 }# n
  1255. ; http://php.net/mysqlnd.debug
    1 a0 I6 R. Y- X; R% O4 y3 s6 W
  1256. ;mysqlnd.debug =
    - d6 P3 {7 O! B
  1257. 8 N' z. Z( v: ^# n5 z
  1258. ; Defines which queries will be logged.
    6 u: q; R# W' q! M/ @
  1259. ; http://php.net/mysqlnd.log_mask
    - F+ t7 m5 G2 ^. E4 ?1 r/ f
  1260. ;mysqlnd.log_mask = 0
    5 o! b  V0 H( v

  1261. + |; U/ m, l% R. e6 t  t
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.% A- A- `& g7 v  V5 s/ `  v6 U3 D( [
  1263. ; http://php.net/mysqlnd.mempool_default_size
    7 c: D/ b6 [( }: o* J8 G7 ]
  1264. ;mysqlnd.mempool_default_size = 16000" `# h, Z' n5 R+ G7 D
  1265. # z4 V- s4 j" m9 C
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.+ ]" u( A# x- y% @
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ! X' L$ w& o0 N& {; a" Y2 @) m3 O
  1268. ;mysqlnd.net_cmd_buffer_size = 20484 x/ h9 B4 l" D! ]' X9 i) z" ]4 k
  1269. & T8 q/ X4 S. _: D; Q% v+ u
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in7 r/ J3 J+ k& ~  I5 ]0 h
  1271. ; bytes.9 [! P1 F& B5 D+ ?$ v9 [
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    ! H6 L& R. ?+ J+ c
  1273. ;mysqlnd.net_read_buffer_size = 32768
    6 _: l" N  s3 y" B, z

  1274. 5 L) ~' L6 k2 k: L1 b4 R$ w+ ]
  1275. ; Timeout for network requests in seconds.
    * {  @$ ?* {8 o# K
  1276. ; http://php.net/mysqlnd.net_read_timeout
    5 s8 E) t+ ^  n, {- C+ M
  1277. ;mysqlnd.net_read_timeout = 31536000- W0 P6 x2 D* y. l4 [8 b. J( {
  1278. 1 ~. X" j! D' m1 p& ?; m
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    & e' F' D$ s) z
  1280. ; key.
    8 |) S0 e- A4 W
  1281. ; http://php.net/mysqlnd.sha256_server_public_key" w8 C. V, M5 e+ D) P+ K# x
  1282. ;mysqlnd.sha256_server_public_key =
    7 |; o+ y% B. L1 a! V
  1283. ; ~: Z- M3 M, f
  1284. [OCI8]
    ! n: s& d, }6 Z( {4 H* _; R6 P

  1285. 9 ?- R4 p9 ]$ f# k* T: ]
  1286. ; Connection: Enables privileged connections using external
    0 i! V2 c- Z8 L# R" ?
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    # ~  z9 o. x) k
  1288. ; http://php.net/oci8.privileged-connect8 t" r3 Y  R+ b0 s
  1289. ;oci8.privileged_connect = Off% q& ~0 ~+ L. D  \$ p9 p6 |9 S1 X

  1290. ; t7 @3 [( X: G( I9 y6 W
  1291. ; Connection: The maximum number of persistent OCI8 connections per, ~( w$ k; b2 G' W6 `+ K" R
  1292. ; process. Using -1 means no limit.. o; [* {' R9 A
  1293. ; http://php.net/oci8.max-persistent( U, K; g% {2 u7 x7 _
  1294. ;oci8.max_persistent = -1
    1 t, t- B4 C% J
  1295. ; H9 q1 j8 Z" r5 [& p
  1296. ; Connection: The maximum number of seconds a process is allowed to
    : D% O3 g  Q9 Q) A7 j8 ^& p. R7 k
  1297. ; maintain an idle persistent connection. Using -1 means idle% x0 [0 p$ L0 l  d9 x  v' X
  1298. ; persistent connections will be maintained forever.
    9 }: o% D# a6 B, _6 K. }7 P2 j
  1299. ; http://php.net/oci8.persistent-timeout
    $ }; x5 x7 J7 S1 n1 H
  1300. ;oci8.persistent_timeout = -10 ~/ r$ |: g( x" {# Q3 I0 x

  1301. - p6 I& x4 e0 _
  1302. ; Connection: The number of seconds that must pass before issuing a% r. l2 m6 E3 w7 e, d1 g' P
  1303. ; ping during oci_pconnect() to check the connection validity. When- l4 }& g% v- a' o
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables: @( d: o+ h( _
  1305. ; pings completely.
    4 J3 \1 S  T# f( @6 p5 |1 ~% T, J2 V+ M+ b
  1306. ; http://php.net/oci8.ping-interval3 x: _0 b, M( M' f8 t8 G
  1307. ;oci8.ping_interval = 605 [# p( {8 |! o; \- F9 ~0 C
  1308. ; c( E5 W% Q7 a8 r; |( s5 L' E5 m
  1309. ; Connection: Set this to a user chosen connection class to be used
    2 }' T" X6 `7 n0 C
  1310. ; for all pooled server requests with Oracle 11g Database Resident* x7 ?. n: @; {0 o8 c4 u4 _
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to7 }5 R; Y. _2 X  A2 {) \) C1 Q
  1312. ; the same string for all web servers running the same application,
    9 f8 {8 W* g! H- Z2 r2 p* j: s
  1313. ; the database pool must be configured, and the connection string must
    ! V0 y1 |; H: E, @: k
  1314. ; specify to use a pooled server.8 r3 g9 V1 U3 Q2 _% x. w2 G1 b" B
  1315. ;oci8.connection_class =6 d  k! Z; i: ?% @
  1316. . m/ E. _; Z: w! J' b0 u4 O
  1317. ; High Availability: Using On lets PHP receive Fast Application
    ( |% p1 P3 g) @, ]% j' H
  1318. ; Notification (FAN) events generated when a database node fails. The
    * ~0 G) S6 o# E$ U% J% K
  1319. ; database must also be configured to post FAN events.
    ' S+ E1 r( U1 B
  1320. ;oci8.events = Off
    : h8 A6 e$ t* R7 w/ e: q& \$ Z

  1321. + I; j0 {* h" A# O) `
  1322. ; Tuning: This option enables statement caching, and specifies how
    0 ?% p1 S' h$ H+ ^$ l* J
  1323. ; many statements to cache. Using 0 disables statement caching.
    4 u0 I3 d, X2 h) e* K- h; i* N& h/ g
  1324. ; http://php.net/oci8.statement-cache-size. }. P0 c6 p7 U/ r+ C0 t
  1325. ;oci8.statement_cache_size = 20( S7 d9 x% i) ?+ r4 X% [* x1 t

  1326. 8 b  B) t6 Y+ s3 x  E2 s5 C
  1327. ; Tuning: Enables statement prefetching and sets the default number of. N: E* P& ^) [$ e" [1 ~
  1328. ; rows that will be fetched automatically after statement execution.. L1 S& d3 R2 I( f4 h
  1329. ; http://php.net/oci8.default-prefetch+ R7 y5 q2 E  H3 d$ C8 }; @
  1330. ;oci8.default_prefetch = 1002 i5 {- x0 r# T( A. W" y/ o1 D
  1331. " @2 \/ M. p7 f3 C
  1332. ; Compatibility. Using On means oci_close() will not close
    5 d" g: C- U4 f7 D" A4 X
  1333. ; oci_connect() and oci_new_connect() connections.
    ; U5 b" N% N/ [0 K) F
  1334. ; http://php.net/oci8.old-oci-close-semantics) @( M; ~+ }% V5 s2 {; z
  1335. ;oci8.old_oci_close_semantics = Off
    ) x( Q$ t4 N7 ]% Z$ }/ A
  1336. # _/ Y! u" I4 t7 K  f
  1337. [PostgreSQL]
    + B8 m3 G, l3 C. J% i
  1338. ; Allow or prevent persistent links./ ^9 [' }: Y3 K, L) |
  1339. ; http://php.net/pgsql.allow-persistent
    1 v4 r- p* x) ]
  1340. pgsql.allow_persistent = On# t0 J. d: q! _& s! e

  1341. 1 D3 T% z. k. l6 w( P8 e4 j! s
  1342. ; Detect broken persistent links always with pg_pconnect().
    $ J3 _* H' L$ T
  1343. ; Auto reset feature requires a little overheads.1 J. l( o/ H5 q& D8 [' s0 V* S
  1344. ; http://php.net/pgsql.auto-reset-persistent* e- h* A& g" M. l- t. ]7 e
  1345. pgsql.auto_reset_persistent = Off8 O3 t) Z: Z  x
  1346. 0 M( L( ^4 h: ^& B5 z. V2 @1 Y
  1347. ; Maximum number of persistent links.  -1 means no limit.
    4 D* z! D1 I5 D; n: Y% c7 q, X
  1348. ; http://php.net/pgsql.max-persistent
    2 b% X: S; A* {5 D: [+ g
  1349. pgsql.max_persistent = -1& G" F  b% }( b; m+ v
  1350. ; c3 Z1 a$ g- N7 j8 u# m) z
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.! y" M$ n% ]) a# k% ]* u
  1352. ; http://php.net/pgsql.max-links# I5 b$ M! u0 j) T
  1353. pgsql.max_links = -1
    5 Z& C! O9 h! X/ S
  1354. ! c( a0 \. l6 ^2 S9 G
  1355. ; Ignore PostgreSQL backends Notice message or not.
    0 Z' Z9 g- o( j' `# C  _
  1356. ; Notice message logging require a little overheads.
    6 I+ |4 E+ Y8 A, m8 b; M
  1357. ; http://php.net/pgsql.ignore-notice! c1 V  D- Z8 {* t2 s" N# K
  1358. pgsql.ignore_notice = 0( [' K5 F0 z6 h# _

  1359. 5 _$ ?0 f/ i7 u$ p1 j* _) r
  1360. ; Log PostgreSQL backends Notice message or not.- U9 z3 s) o! S( U: \- v% j
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ) C7 y9 ?0 n2 K8 s7 i( R! [- W( R
  1362. ; http://php.net/pgsql.log-notice6 ~3 V! N2 T1 a  m
  1363. pgsql.log_notice = 0
    / k- U5 E. s* N

  1364. , a/ e8 c8 {; w
  1365. [Sybase-CT]; ^' |% x7 t8 q0 }- Z- h" [
  1366. ; Allow or prevent persistent links./ ]2 h9 g& r5 H. @
  1367. ; http://php.net/sybct.allow-persistent
    3 ]: C$ z5 E" ^) A7 v3 Q# E% S
  1368. sybct.allow_persistent = On
    $ y" ]  z6 m( p

  1369. ) ?( Q/ S4 S* b
  1370. ; Maximum number of persistent links.  -1 means no limit.
    . x- g5 V& }& C, Q# h+ Q- R. Q' E6 ~
  1371. ; http://php.net/sybct.max-persistent
    & G" j/ r, @1 j+ \, c$ i
  1372. sybct.max_persistent = -1. `; B5 ^8 I# k, a$ ~' C  L- n
  1373. ' i2 ~& s: g' k8 q8 [" l
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * D1 [  J. |" A! x
  1375. ; http://php.net/sybct.max-links
    ; Z/ ]/ L7 W- i! I( j) Y
  1376. sybct.max_links = -1
    6 V1 N/ L% P6 V

  1377. ) h& R! h5 S" e' v' h
  1378. ; Minimum server message severity to display.
    & q4 ^" m# W' b+ m& d; X7 Y
  1379. ; http://php.net/sybct.min-server-severity
    / z" F0 K# j  }* K! {% R  z. a
  1380. sybct.min_server_severity = 10- F) k' a. N+ s$ |% n
  1381. 9 E$ H' F3 u$ v2 O! X6 U
  1382. ; Minimum client message severity to display.6 E. d$ W0 z4 Q) J5 g
  1383. ; http://php.net/sybct.min-client-severity
    ! R0 R6 b: \. l; L  D* i
  1384. sybct.min_client_severity = 10
    . W! {- C1 w( _6 T7 [, c

  1385.   y$ f( @# u6 q4 ?
  1386. ; Set per-context timeout: z7 b" C  X" K' h9 n
  1387. ; http://php.net/sybct.timeout
    4 }; V& G0 c- F
  1388. ;sybct.timeout=( v! v# z9 L0 ]# D

  1389. * I' `0 g+ ]7 x& O
  1390. ;sybct.packet_size4 }" r) h" A* a& ~# N: }+ ?( O. s  \
  1391. * ]; T0 f; N- y
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    " w1 F  [1 i2 |" s; }7 w1 _- L- |
  1393. ; Default: one minute9 X9 H0 F. C! y0 S  q+ U; C7 @
  1394. ;sybct.login_timeout=* x( m. F$ ~1 L6 J+ y* _9 w
  1395. % Q% M9 @6 V6 J0 T
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.5 x% u* @; w$ X; Q6 k- S
  1397. ; Default: none
    ( Z% j& r3 u0 M! ?, Y
  1398. ;sybct.hostname=
    $ A& p' Q+ c# ~' b: y  ^

  1399. * n, Z4 m/ v6 v* U7 G& I) L8 A
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".# \( Q# b5 G5 N% Z+ Q6 }7 F' q
  1401. ; Default: 01 A- F1 \* P# f" C9 Q
  1402. ;sybct.deadlock_retry_count=) B: v& Q8 S& {/ u: ]5 }1 [) w+ ?) B; s

  1403. 1 W2 x1 n2 u- Y3 y1 A( d7 S
  1404. [bcmath]  u5 F* a: |, E  c* v- ]8 m
  1405. ; Number of decimal digits for all bcmath functions.* X0 y  s- w9 h; A8 Q4 o) m
  1406. ; http://php.net/bcmath.scale2 J+ E0 E9 Z: a! o) t4 T
  1407. bcmath.scale = 0
    $ q+ c+ n( C" `6 V
  1408. " S: Q% I9 x  F! w; o! `
  1409. [browscap]2 R  V; V+ X( o
  1410. ; http://php.net/browscap
    # u4 ~7 Z* o/ t) K. d
  1411. ;browscap = extra/browscap.ini
    3 ^0 N# [5 i# ^9 O

  1412. 8 X; G7 m# `6 s0 h, H) [
  1413. [Session]0 U3 d4 ~/ o' Y" b. e( K
  1414. ; Handler used to store/retrieve data.2 E  E+ I, R# ]/ R9 j
  1415. ; http://php.net/session.save-handler
    1 Y% b( \7 }, c$ D# p6 U0 I9 ^
  1416. session.save_handler = files
    $ c9 u9 K8 }' E/ Z# P* L

  1417. 6 N& c- o- o4 y- C7 h' n3 Z) x
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    % T0 m  _6 y' J% \) }9 W
  1419. ; where data files are stored. Note: Windows users have to change this( h; g+ {5 S2 i. t0 G
  1420. ; variable in order to use PHP's session functions.
    % [0 y) W  x: G5 B" P" ~- W
  1421. ;
    & D% n6 o+ V8 i7 j/ [; X
  1422. ; The path can be defined as:
    % I8 Q) N' K# `$ H1 Q/ b0 M
  1423. ;* t# m# T% K8 Y! N0 @  m( H: i
  1424. ;     session.save_path = "N;/path"
    5 g  a% e# I8 s
  1425. ;" a! |$ e, N8 S/ M0 a- n* u+ m( Z5 U
  1426. ; where N is an integer.  Instead of storing all the session files in6 d) C) U! B- U
  1427. ; /path, what this will do is use subdirectories N-levels deep, and* _) _! Y$ ]# w2 N1 ]
  1428. ; store the session data in those directories.  This is useful if9 ]/ l) [( }+ Z4 `% x: y
  1429. ; your OS has problems with many files in one directory, and is
    $ k- ?. V) s8 l/ Y" W0 I9 P
  1430. ; a more efficient layout for servers that handle many sessions.
    ' ^2 Y2 F* C" I9 T
  1431. ;* V& w0 H' r  |. y3 \+ l
  1432. ; NOTE 1: PHP will not create this directory structure automatically.: {- {, L5 z3 ?! c* s
  1433. ;         You can use the script in the ext/session dir for that purpose.
    5 F% U" K6 E4 r0 {2 h. i3 ~' `
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    5 z; t* \3 p2 V$ A
  1435. ;         use subdirectories for session storage
    . c  g, u' A9 a0 H/ P
  1436. ;
    / u/ c9 N; [: m
  1437. ; The file storage module creates files using mode 600 by default.
    - _( n6 o2 X6 J* l9 i/ ?7 ]
  1438. ; You can change that by using
    + F% l. w3 h& i( k" B
  1439. ;
    ! z9 l2 h% z% Y3 R
  1440. ;     session.save_path = "N;MODE;/path"
    % V& H' R4 _8 J0 @
  1441. ;7 q) i+ N# r- g6 p
  1442. ; where MODE is the octal representation of the mode. Note that this' u! C4 @) L; e5 J. C* K
  1443. ; does not overwrite the process's umask.$ P# @" I  @% y6 w
  1444. ; http://php.net/session.save-path- _; E$ p% t* w4 _
  1445. ;session.save_path = "/tmp"
    * R3 M* c4 x5 g  [9 e

  1446. 6 R& b1 E2 s; o
  1447. ; Whether to use strict session mode.6 [' F! ^( b+ c8 P0 L' p
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    5 ]. E% [6 w+ T+ H' d+ @
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects% y/ w" J8 k1 m* l& O, X
  1450. ; applications from session fixation via session adoption vulnerability. It is
    ; y# l% j7 P6 t9 e  B8 p0 k
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
      m8 l' `# k+ u9 J+ y: B
  1452. ; https://wiki.php.net/rfc/strict_sessions
    ; n5 p* E* ^: j2 `. Y& s5 k
  1453. session.use_strict_mode = 0
    , }+ S  D( @- k) v' L  |

  1454. 1 N$ x; j8 k, x5 D7 d
  1455. ; Whether to use cookies.+ j5 y8 I0 o% L: O- |
  1456. ; http://php.net/session.use-cookies
    2 X* R! f( W: z8 b- ?# o
  1457. session.use_cookies = 1
    " m0 t7 x) c, O2 T1 V
  1458. / F. b- R2 k( V) j
  1459. ; http://php.net/session.cookie-secure9 [; x1 p* e: o2 t7 F& O
  1460. ;session.cookie_secure =
    ; E* b; f& F6 W4 R3 j
  1461. ) G8 c$ m- y% j, k) Q9 a
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    5 T# N7 W) z: v, e8 ~, k; u3 }) n
  1463. ; the session id. We encourage this operation as it's very helpful in combating" s2 N- C0 j! g1 b
  1464. ; session hijacking when not specifying and managing your own session id. It is8 O" X0 s" ?3 ~  b( ~
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    # \/ u9 O# @5 v+ L: I
  1466. ; http://php.net/session.use-only-cookies
    3 @7 ?  ]) X4 G+ b
  1467. session.use_only_cookies = 1
    " K, _/ L4 o# _

  1468. : ^2 c* I9 T( s. P- S+ W2 O: H
  1469. ; Name of the session (used as cookie name).
    : h* t& N7 {7 t0 X
  1470. ; http://php.net/session.name
    " c* y4 Y" O1 e) S  r
  1471. session.name = PHPSESSID
    4 @/ S* x/ W; ^8 h% o1 _

  1472. # Q! l3 I; g/ h" r6 i: N
  1473. ; Initialize session on request startup.  `/ B) X8 e5 b/ ^- W
  1474. ; http://php.net/session.auto-start; k4 ~  S1 h0 C" Q
  1475. session.auto_start = 0: K$ A) h$ ^+ R3 f
  1476. 0 b7 x' L; {3 a1 p1 d( G
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    % U( |" Z' [4 Q3 [: j
  1478. ; http://php.net/session.cookie-lifetime
    ) E! h' j8 q! N% D  |- T4 ]3 K
  1479. session.cookie_lifetime = 0  U4 v0 E/ q- b( G: {5 n
  1480. 5 E1 f! W: q1 x- {
  1481. ; The path for which the cookie is valid.
    & Z0 w2 @4 j1 U# W
  1482. ; http://php.net/session.cookie-path, p% ]* d* \" ^. Z
  1483. session.cookie_path = /4 C- \, A7 m$ T' g; R8 u4 K
  1484. 8 C2 \5 q9 w# j, Q
  1485. ; The domain for which the cookie is valid.- A& R6 \* n, F0 L# L
  1486. ; http://php.net/session.cookie-domain; a& \- ^4 J' B0 O# c
  1487. session.cookie_domain =
    2 p- J, f& _5 \6 A8 u, d

  1488. 5 ?" [) o/ g1 n; T8 z" ]
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    % v1 Q6 z: R1 y5 M
  1490. ; http://php.net/session.cookie-httponly6 }( j7 P! _% A* Q8 ~. p3 W# A
  1491. session.cookie_httponly =" @8 S) V" W7 r6 x# R% f
  1492. - j8 n2 |! @0 N$ X* N- I
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ' `$ A' Z6 _# p& _* a' R
  1494. ; http://php.net/session.serialize-handler- N0 }0 d; H; z% ^* S6 n
  1495. session.serialize_handler = php
    3 t# q# d# q9 z2 g
  1496. % p9 s( i6 _5 n  _: t: w7 @" d: p
  1497. ; Defines the probability that the 'garbage collection' process is started0 k+ T& o$ |! x: I2 _. ]- u% y
  1498. ; on every session initialization. The probability is calculated by using
    # j# y! O9 M7 M/ a/ T/ \( x
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator$ T" S6 e. H2 x: N: t
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1) x7 H( l  E" S) K$ H: L- \) r. [
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance( Z4 G. \; t5 }# {# Z- d% u+ B( J
  1502. ; the gc will run on any give request.7 |7 Q! F9 K5 V  b/ |; O
  1503. ; Default Value: 1! t" a( v# C$ \& q1 k" w# Y
  1504. ; Development Value: 1/ h+ }7 b/ R" p; s4 Z
  1505. ; Production Value: 1
    5 Q4 P4 o* {: l0 S  T( S
  1506. ; http://php.net/session.gc-probability
    , Z: p: L; O; @. l  p# f5 {
  1507. session.gc_probability = 1
    ( g' [7 w; Q2 W' s; }9 r4 w
  1508. + e* d. H- S5 m# G' O3 j$ C: V! Q! k
  1509. ; Defines the probability that the 'garbage collection' process is started on every; ~& A" Z& U: A8 S" m! c* C5 u+ D
  1510. ; session initialization. The probability is calculated by using the following equation:: B1 _  B7 l& A& a
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    . ~5 [! g9 Q: w+ b9 _" g9 D
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1: ^* e8 ~/ z# m0 u  _( [7 f  g, J
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    / r/ F$ ]0 M+ ]8 F
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    4 ?8 I7 Q8 `/ v0 {) m! g
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,, M$ Z" X5 F4 j* T. I9 a
  1516. ; this is a more efficient approach." E! Q% Q7 W' M
  1517. ; Default Value: 100. v" C% W$ k0 c. L6 Y
  1518. ; Development Value: 10002 H) H6 e" M  q7 A. b" x# N
  1519. ; Production Value: 1000, x: N0 A' j$ c7 Y4 j  C7 g! ]2 V2 g- g
  1520. ; http://php.net/session.gc-divisor! Q/ }+ w6 t7 e8 e6 o+ a
  1521. session.gc_divisor = 1000
    ) y" G- N% s3 A
  1522. # i* K6 I: q% u& A( ^& p4 T$ e
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and3 I! y4 W2 }! J
  1524. ; cleaned up by the garbage collection process.* V- m4 q3 Z2 H2 ]* \
  1525. ; http://php.net/session.gc-maxlifetime
    ; G4 L% ^$ w" _$ r/ k  H9 y8 D
  1526. session.gc_maxlifetime = 1440) i( N* f4 ~5 v9 v) T

  1527. 7 A5 A% U) d" x
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    $ x0 G: D8 U) z1 q# P2 A# _
  1529. ;       (see session.save_path above), then garbage collection does *not*
    0 {. E8 x7 ?4 D* X2 |' v9 s
  1530. ;       happen automatically.  You will need to do your own garbage* }( A# x/ @$ d+ ^6 W4 q4 M
  1531. ;       collection through a shell script, cron entry, or some other method.
    ; S4 j' z) U& p3 @" f$ s
  1532. ;       For example, the following script would is the equivalent of$ h% C7 I: L8 q7 F
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):, g3 J8 ]! D) e- O- s' ?
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    0 \6 t+ z5 o2 b% @
  1535. 1 Y3 a1 F% I" H  }
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ; }2 Y4 ^! J# k) E  u9 K2 [6 G4 p5 x
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    # n! b. l' w! q
  1538. ; considered as valid.
    8 i& d/ _9 t7 r5 \9 Y1 o; h
  1539. ; http://php.net/session.referer-check
    / V0 N4 `$ ^/ V
  1540. session.referer_check =  k3 i5 f. R6 F7 h$ F
  1541. 1 e4 |; F$ I8 o
  1542. ; How many bytes to read from the file.8 D- P( w+ q7 x* t' _- i
  1543. ; http://php.net/session.entropy-length
    / n3 p5 B# N* }, ^. m( r
  1544. ;session.entropy_length = 32
    - d" K5 A. w9 y( ~6 L  M; h

  1545. : [: s* Z" @! m; [* M$ b" k# j
  1546. ; Specified here to create the session id.: g" C3 n: I7 c! @6 g6 c7 _( {
  1547. ; http://php.net/session.entropy-file2 S" B1 Z% h" F* g/ ]
  1548. ; Defaults to /dev/urandom
    & v+ ]7 y" L+ s# S. [" o5 z
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    % T  Q: I( Z8 k3 V( k$ _
  1550. ; If neither are found at compile time, the default is no entropy file.
    " @8 J% |& f# I
  1551. ; On windows, setting the entropy_length setting will activate the
    5 i; a/ e! H0 {4 b3 J
  1552. ; Windows random source (using the CryptoAPI)
    + j% v- D7 m+ E1 w
  1553. ;session.entropy_file = /dev/urandom
    * \& o+ J2 Q; X' z" P* n7 X! A7 D
  1554. ( v. ~+ n$ i( D3 p2 n. |
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    $ C5 X% C2 C* g1 u
  1556. ; or leave this empty to avoid sending anti-caching headers.& z) m( v* a7 |' I7 A
  1557. ; http://php.net/session.cache-limiter# J/ b5 S% a7 q3 ~( ?' r
  1558. session.cache_limiter = nocache. r/ d/ R# J6 e" }0 U# \1 j7 H
  1559. / ]% g: `+ ?$ |  l  U0 S- y
  1560. ; Document expires after n minutes., |2 c' q* r% e* O% H" S
  1561. ; http://php.net/session.cache-expire
    2 M. l4 f$ t* u% v
  1562. session.cache_expire = 180
    5 S$ _6 p9 d# v0 b

  1563. ' u, Y6 }- Y) X$ ?  n/ d
  1564. ; trans sid support is disabled by default.
    . v$ t, o* K9 @& ~, a
  1565. ; Use of trans sid may risk your users' security., G  v, u: ^6 X. o5 p& ?8 Y  G
  1566. ; Use this option with caution.
    3 r6 j  c7 v2 U+ b
  1567. ; - User may send URL contains active session ID
    ; e, W. L3 w$ ?& b: f) i
  1568. ;   to other person via. email/irc/etc.
    6 V7 f! I6 \9 O7 h: r, G7 c
  1569. ; - URL that contains active session ID may be stored
    ' v- y  z0 L3 T9 X, Y# l0 z+ p0 Q
  1570. ;   in publicly accessible computer.6 F  t7 |4 R& b: x8 n' p# d4 p. f
  1571. ; - User may access your site with the same session ID
    3 Q* j) i/ x9 C$ H5 n# P9 U
  1572. ;   always using URL stored in browser's history or bookmarks.
    - n. x, r5 u, J4 @; i; O
  1573. ; http://php.net/session.use-trans-sid
    $ D5 X% [9 m7 ]& w0 K1 E* j
  1574. session.use_trans_sid = 0
    # U5 l! z2 y& z  o

  1575. 7 k# ~% B6 Y6 E; w. Y" N. N
  1576. ; Select a hash function for use in generating session ids.# a: [5 C; @: \; m* X
  1577. ; Possible Values
    , O( F. A; c6 C( [: h# E
  1578. ;   0  (MD5 128 bits)2 q3 O, p3 ]- [7 y3 f
  1579. ;   1  (SHA-1 160 bits). c7 [5 B; N: G0 i7 k( q1 N1 W' }
  1580. ; This option may also be set to the name of any hash function supported by
    # j- ~9 z9 M  f+ y, N) P" F
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    * {" ]5 X% N, h3 b" I+ b
  1582. ; function.
    * W4 k( v! n" V. ^0 _
  1583. ; http://php.net/session.hash-function' P# t: d% g$ ?3 }- n: j+ \
  1584. session.hash_function = 09 q) G- R' g- T& [% ~

  1585. 9 c" a1 V, w6 F! U6 b) }0 c
  1586. ; Define how many bits are stored in each character when converting! f& q. ], j" C
  1587. ; the binary hash data to something readable.
    " q7 U/ \/ `7 H" D, f, u* A! n
  1588. ; Possible values:
    # I4 H2 q. k, z% p% _: r
  1589. ;   4  (4 bits: 0-9, a-f)5 w/ }5 u  L" a9 g6 k) C% c  X
  1590. ;   5  (5 bits: 0-9, a-v)
    , y+ Q6 _/ A) o" b1 b% x8 f* J% d4 x( |
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")7 Y) |& ]1 D9 A, h" ^. P! a) k
  1592. ; Default Value: 41 _* j/ V. l7 J! S4 J
  1593. ; Development Value: 5
    ' \$ K2 R! Z. m( g/ i
  1594. ; Production Value: 5
    2 [0 F, K  }8 W" A& D5 `* }
  1595. ; http://php.net/session.hash-bits-per-character
    1 U) |' l' ?% M; k( v: X  C
  1596. session.hash_bits_per_character = 5: U6 d/ F  [$ H$ @

  1597. 8 _1 ]( [5 {9 T: v
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    6 s" w# R- r- t" [$ Y! _& m  C
  1599. ; form/fieldset are special; if you include them here, the rewriter will1 G% e& o3 b0 m2 T$ a
  1600. ; add a hidden <input> field with the info which is otherwise appended( e* \, X0 F0 X1 p" j! v) E1 E
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.- G6 [9 N: f) \% _8 X
  1602. ; Note that all valid entries require a "=", even if no value follows.1 S. h$ H: m- {; y: y! k) @
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="( }; Z  r4 t# H0 v
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 u* c; ]9 H3 Z% v4 K. }# Q6 r
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 ^' h/ W. Z  F& A: y/ B8 p$ M' |0 N, d
  1606. ; http://php.net/url-rewriter.tags
    0 U0 {% h8 n: K- N
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) j  G3 Z3 G# A. W
  1608. + K6 O% c, ^7 G8 P: d/ I) O
  1609. ; Enable upload progress tracking in $_SESSION# B8 _: f1 @5 Y, j/ \# `! h% z2 }* @* T
  1610. ; Default Value: On
    5 P( M4 M4 \4 J$ ?
  1611. ; Development Value: On' q) h  m6 T6 M, `  y
  1612. ; Production Value: On
    ) B4 H$ a' K- y, j
  1613. ; http://php.net/session.upload-progress.enabled
    ; j# a& R0 Y' ]  n
  1614. ;session.upload_progress.enabled = On3 ~& M6 L% g  V; e3 ^: u
  1615. / d& g3 M+ w" b( \5 p
  1616. ; Cleanup the progress information as soon as all POST data has been read
    & x6 l& q1 n5 K
  1617. ; (i.e. upload completed).4 i( M2 A5 R+ Z) Z+ T  ?( x
  1618. ; Default Value: On
    ( E  e, x* J# A0 P/ j( q
  1619. ; Development Value: On
    ; v  D1 ?5 _; K& ?& `+ v* Q
  1620. ; Production Value: On
    5 X2 [. K- R+ Y3 a# w+ n8 F
  1621. ; http://php.net/session.upload-progress.cleanup1 k0 m7 m* b" H
  1622. ;session.upload_progress.cleanup = On' m6 [" U+ w" ^' K8 I  j5 C8 p

  1623. - |6 r* ~4 W; L# P0 V% R( r
  1624. ; A prefix used for the upload progress key in $_SESSION
    2 u' i0 Y1 e/ h1 O
  1625. ; Default Value: "upload_progress_"# `& k% n) _8 T6 u0 z1 S2 W2 E% o
  1626. ; Development Value: "upload_progress_"& e* ]. ~) w' r' @
  1627. ; Production Value: "upload_progress_"
    9 f9 O! `- Q3 Q1 u
  1628. ; http://php.net/session.upload-progress.prefix3 X7 Y0 v# R  F4 k; t
  1629. ;session.upload_progress.prefix = "upload_progress_"! g0 \- l& G; u" t! R5 M7 c$ ^
  1630. ( ]/ E% J" x* ^+ ], ~& b% q
  1631. ; The index name (concatenated with the prefix) in $_SESSION4 \4 @- U) f, I9 X& S. `# g
  1632. ; containing the upload progress information
    . I, y/ ]0 O3 o- S( i) k6 V
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 l, O5 q; G6 c) d
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    0 K( T( }  S3 w9 O$ F2 J, x' T
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"- P% c9 o4 ?9 ~; l# m" n. v% {; n( Z
  1636. ; http://php.net/session.upload-progress.name( J2 c$ m7 j- N$ u- h
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"& A: g, Y/ V; o4 u
  1638. + X. Q' Q/ _9 Z; Y
  1639. ; How frequently the upload progress should be updated.
    : [* w, C) r7 E' r
  1640. ; Given either in percentages (per-file), or in bytes
    + L* r# f+ U9 |! c5 H
  1641. ; Default Value: "1%"; O. l6 P5 \3 |( x2 c: c! {
  1642. ; Development Value: "1%"+ M, p0 \, [3 M+ ~4 t3 [6 @1 C
  1643. ; Production Value: "1%"" `- Q  c1 }/ Y
  1644. ; http://php.net/session.upload-progress.freq
    3 ?- K0 v) J" e6 y
  1645. ;session.upload_progress.freq =  "1%": @7 t* m* k' ?' Q
  1646. 5 s" Q+ j" U0 j7 G0 W
  1647. ; The minimum delay between updates, in seconds$ r6 \: a$ l  b! @
  1648. ; Default Value: 1
    " K% e2 Z/ ^1 Q$ n: o- d
  1649. ; Development Value: 1
    . _- e7 R% H2 C1 ?$ M
  1650. ; Production Value: 1: q" R9 ]1 r6 v; t$ V' @
  1651. ; http://php.net/session.upload-progress.min-freq1 P6 d! Z$ N* W: |8 S
  1652. ;session.upload_progress.min_freq = "1"" ?3 z5 P0 E0 ]6 [" K7 I* [) S
  1653. 4 b' W% H0 m% l4 t5 Y+ r  v
  1654. [MSSQL]% l# X9 f! p0 [1 b- C
  1655. ; Allow or prevent persistent links.
    3 i' N# V9 Q" a6 E2 w
  1656. mssql.allow_persistent = On
    1 ~5 F  I" N/ C% |' k$ y9 w* X
  1657. 0 |: H5 k" u& b/ ]' n% m$ w
  1658. ; Maximum number of persistent links.  -1 means no limit.
    ) U9 Z) Y2 t6 m# Y" Y5 N4 F# C
  1659. mssql.max_persistent = -10 U' L, F! g& x0 t

  1660. , J  J( v  o+ a- z
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    / N, s3 P: ^$ c/ N# R3 J
  1662. mssql.max_links = -15 y! W5 G& G0 i! T

  1663. / ?: E! b5 j$ I& x! [
  1664. ; Minimum error severity to display.; `+ q+ Z  Y: _) z( W8 W/ {/ [- }
  1665. mssql.min_error_severity = 100 {8 Z. t' [& C0 e" V+ ]
  1666. / E. b) |7 i, a8 u
  1667. ; Minimum message severity to display.
    : h* ^( K; N0 M
  1668. mssql.min_message_severity = 10; u9 p4 `8 I' d8 S6 ]% C5 D% B5 R
  1669. 0 @2 l5 c/ A( r1 c$ X/ b% |$ P" s
  1670. ; Compatibility mode with old versions of PHP 3.0.
    ! `% \6 V9 h; i4 z3 b
  1671. mssql.compatibility_mode = Off
    1 \6 j7 o. {( d
  1672. , Z1 k9 @, Q+ K( i4 \
  1673. ; Connect timeout1 s7 D/ p/ d4 b6 l
  1674. ;mssql.connect_timeout = 5
    3 K. F  J2 Q0 R) ?
  1675. % F( K' P# R8 ^% ?5 R
  1676. ; Query timeout
      E7 I& G# |; C6 ]
  1677. ;mssql.timeout = 60/ R  _( R# k$ m  A# z
  1678. 8 \, P' A7 b: A. ~; p
  1679. ; Valid range 0 - 2147483647.  Default = 4096.3 _5 {: _1 i* x8 `: e
  1680. ;mssql.textlimit = 4096( r$ U, m/ T, S

  1681. # V+ w) m5 I! X% ~' r" |
  1682. ; Valid range 0 - 2147483647.  Default = 4096.8 c. ^( u8 |' C- L
  1683. ;mssql.textsize = 4096
    : |. s3 M/ B0 h, a# v/ P
  1684. 4 w5 K$ k1 a& z# }( v4 A
  1685. ; Limits the number of records in each batch.  0 = all records in one batch., H! v1 ~1 H  k# N
  1686. ;mssql.batchsize = 0. ]- h- z4 m, z; `  Y, N
  1687. ) A4 k% h# \3 V: m: c) n/ P$ W
  1688. ; Specify how datetime and datetim4 columns are returned& f" H  l7 X/ H
  1689. ; On => Returns data converted to SQL server settings% ?9 p: W% w. P9 @2 N+ i1 {7 f
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    ! g1 k6 X8 P7 C  V# a
  1691. ;mssql.datetimeconvert = On
    . w+ b! R8 _, F" W

  1692. : }6 o0 x1 M- i+ o' A8 ^% ?
  1693. ; Use NT authentication when connecting to the server
    $ f2 o; b/ O" [+ a: O
  1694. mssql.secure_connection = Off+ d+ m- L# q' l

  1695. & r6 h6 z! y, G: K* w
  1696. ; Specify max number of processes. -1 = library default
    * u; t' J! S% t) Y. }
  1697. ; msdlib defaults to 25
    4 {3 N" J9 L# p/ j: x; I' X% x
  1698. ; FreeTDS defaults to 40960 ~6 x& E2 k  T) t1 i
  1699. ;mssql.max_procs = -1& y3 t9 H0 r; d7 r

  1700. & F! M* Q/ e) K
  1701. ; Specify client character set.
    9 ]6 e- ~" Q1 s2 m% M% t( \/ y
  1702. ; If empty or not set the client charset from freetds.conf is used
    0 r7 s( ]5 Q& m" y' z* N8 h/ f" Y1 k
  1703. ; This is only used when compiled with FreeTDS
    & f$ W* _4 j( |. X2 x
  1704. ;mssql.charset = "ISO-8859-1"; z8 r8 S& ?, p+ d, {, m8 t

  1705. ! U, S# ~7 @" d$ F; N# q* e9 e
  1706. [Assertion]
    8 C& u: D# s' r# N* e
  1707. ; Assert(expr); active by default.  _/ S4 B" B$ ^9 b1 w+ v2 U
  1708. ; http://php.net/assert.active
    , a6 h3 _, I5 j# h2 M
  1709. ;assert.active = On! Z& N# f0 l0 h( |7 k
  1710. 5 G/ y! G9 q# k( L0 T* H$ l  I
  1711. ; Issue a PHP warning for each failed assertion.0 _+ ~- D+ O0 n# W, \* u+ M
  1712. ; http://php.net/assert.warning
    # G4 l" U9 T, O$ L6 V: U& W
  1713. ;assert.warning = On
    ) P3 ^) w9 a& `6 \7 k8 ^
  1714. $ B  s. R. d6 f) Y& h# @# c
  1715. ; Don't bail out by default.
    ' R) C9 c1 {9 Z$ u8 L
  1716. ; http://php.net/assert.bail/ k: D" X9 a1 _  `7 I
  1717. ;assert.bail = Off% Q, H: D, A. K

  1718. ; `- S/ p) H, {; `/ f
  1719. ; User-function to be called if an assertion fails.
    9 t# |, O; @2 g/ g3 A
  1720. ; http://php.net/assert.callback9 Q* f/ D) g! k, E: K/ V: }
  1721. ;assert.callback = 0, j! z6 a- W: W( I7 y$ \

  1722. 4 W& w; g+ r: W3 m" t4 P& }
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    ; Y7 ?3 J1 _9 B5 J5 P
  1724. ; error_reporting(0) around the eval().3 ]1 X& y/ _4 p' b' O
  1725. ; http://php.net/assert.quiet-eval* B0 b1 u$ Q5 c' z
  1726. ;assert.quiet_eval = 0
      C9 q8 o( U: H  N6 E

  1727.   T; D8 ]- m# q+ ?5 g7 |4 z3 M+ @" H
  1728. [COM]
    0 C5 l1 T- `1 U4 k
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs# U# r  j. s& t4 b1 X
  1730. ; http://php.net/com.typelib-file
    1 x! a4 q9 t7 f9 s) G4 T2 t
  1731. ;com.typelib_file =
      J, w$ b2 x3 D, D

  1732. $ @8 ]7 Y% T0 N1 A7 T
  1733. ; allow Distributed-COM calls
    0 T# Q# q) Y. ?% C
  1734. ; http://php.net/com.allow-dcom' `, B0 R, Q" }) F
  1735. ;com.allow_dcom = true
    5 r; R+ e5 P$ R" O
  1736. ( J2 m8 h8 ^8 O3 N1 U( {$ Y. W! {- _% W
  1737. ; autoregister constants of a components typlib on com_load()+ m( x8 m$ r3 a6 ], G$ a6 l
  1738. ; http://php.net/com.autoregister-typelib3 q* p; Q. Y9 t% m/ Y
  1739. ;com.autoregister_typelib = true
    # z- k7 u0 @& K( B3 J5 v( H
  1740. 2 Q8 v- j# q0 @% _
  1741. ; register constants casesensitive
    - o4 c) J; a2 }8 \% O
  1742. ; http://php.net/com.autoregister-casesensitive
    & _0 A& D- [1 a; H$ i/ ]% {
  1743. ;com.autoregister_casesensitive = false1 X0 V% q8 l; W' U7 M4 Q: b' ]
  1744. 0 K+ g& V) ?# g2 o& q2 x. S' s
  1745. ; show warnings on duplicate constant registrations
    - F3 }& U/ h) ]7 e+ f" `; u
  1746. ; http://php.net/com.autoregister-verbose
    / `, i0 |+ l6 x
  1747. ;com.autoregister_verbose = true
    0 y7 \2 P& p$ ~$ \+ Y. z0 H
  1748. 1 ^* `5 \8 V# }' @6 W
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    + F  O$ v. p% Q) I
  1750. ; Default: system ANSI code page7 H! J$ O0 _# S
  1751. ;com.code_page=
    * Z6 G5 m# D$ U1 L# v8 `+ }' K
  1752. . b( n# r, ?- n' t  G8 {
  1753. [mbstring]
    , C' R2 X4 o2 q1 x
  1754. ; language for internal character representation.  r4 K8 h3 T6 v' c& O- w& k" ^
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.' C1 I+ E* l9 c
  1756. ; http://php.net/mbstring.language- Q) Z9 ]/ C- E. n, X- ~
  1757. ;mbstring.language = Japanese
    + k3 B7 d! m7 ~: j+ c& i* [' @

  1758. : H$ A/ u- [+ `% _; l; K! G5 i
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.6 n9 F% g. w! V! R5 V) {8 Z9 W8 V
  1760. ; internal/script encoding.. }9 K% Y4 a) h' b1 s
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    7 a) g1 P; C4 K& v1 C7 h0 v
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.  e' ^2 t. ?7 V
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding8 d1 d% z* x* d
  1764. ;mbstring.internal_encoding =
    5 F. Y! f+ B- e6 ?! p3 {/ v; j
  1765. & p& `3 [3 T$ x- G7 p/ y
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.- v  {- u, k( n) s: y
  1767. ; http input encoding.; B/ n1 t. n  h& `1 d) H
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.5 X! g( R* T; {% Z/ Y9 I
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.0 c: ?# R' O3 t
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input* \: g) Q9 T$ D+ i2 w$ q) ~; q8 p
  1771. ; http://php.net/mbstring.http-input: ]0 H0 J& e1 C; V
  1772. ;mbstring.http_input =& v. I+ @4 A) z2 L7 K' O5 Y1 i

  1773. ) W6 v1 L5 T7 c4 t: F8 C
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.2 v5 h. j1 Q4 @; H" I, H
  1775. ; http output encoding.( H5 v$ ]" L9 T. U2 T! W& I) N
  1776. ; mb_output_handler must be registered as output buffer to function.
    - w; F- C6 ^" h+ I4 o
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.1 e: p+ i) v2 t$ h: Q
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output- k7 U! S4 i. Y' n0 h; s
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    - D% f* y$ ?0 d" i, G6 N% M9 g
  1780. ; otherwise output encoding conversion cannot be performed.
    , W9 ]5 C- P' y/ r! h
  1781. ; http://php.net/mbstring.http-output/ @0 y& f8 R$ t. N
  1782. ;mbstring.http_output =
    2 |" e  o2 R2 p4 \

  1783. 7 Y" V$ P3 C* ]% _6 @3 }* i2 P! U) @
  1784. ; enable automatic encoding translation according to
    * m& ?  E6 d. U! W. f1 d) b. h
  1785. ; mbstring.internal_encoding setting. Input chars are
    / V! i5 S) F# }2 e7 ~
  1786. ; converted to internal encoding by setting this to On.; Y  i; p7 q2 I
  1787. ; Note: Do _not_ use automatic encoding translation for- I8 W# o1 ?% a& J- e5 V+ }
  1788. ;       portable libs/applications.
    . [0 X2 }* h' J; T+ u
  1789. ; http://php.net/mbstring.encoding-translation
    5 p. M' k5 u5 _7 B
  1790. ;mbstring.encoding_translation = Off
    . }. m6 G# F8 y3 V4 Y+ p! M; j

  1791. - V' V! P) A' F# n
  1792. ; automatic encoding detection order.
    4 V4 G0 C# C& w. ^6 T
  1793. ; "auto" detect order is changed according to mbstring.language# s+ m, k! w( t9 }" L0 P; w! g
  1794. ; http://php.net/mbstring.detect-order7 U- }( ]+ v* c- ?1 g$ h
  1795. ;mbstring.detect_order = auto
    3 X" S" c4 H" }' Y
  1796. 4 t& [4 X: D- x
  1797. ; substitute_character used when character cannot be converted# R0 K6 |8 l0 N
  1798. ; one from another
    6 z# y9 K* P7 ], [* n" O
  1799. ; http://php.net/mbstring.substitute-character
    : L# w& w: \' d' q
  1800. ;mbstring.substitute_character = none& ^8 W* P; V2 x

  1801. ( Y: w4 }3 p6 `3 H  T. M
  1802. ; overload(replace) single byte functions by mbstring functions.$ q1 a& G7 d# Q0 c
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    / j7 x5 G7 R4 |1 ~
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.8 I5 a- J! {; D' @* C$ H  p- F
  1805. ; For example, 7 for overload everything.! S: i5 `6 F. \: ^; t
  1806. ; 0: No overload
    ) n3 U1 E. ~- Z. l5 O
  1807. ; 1: Overload mail() function
    3 }/ |) s. X& O9 ?4 \
  1808. ; 2: Overload str*() functions: `3 y9 [* \5 E  a
  1809. ; 4: Overload ereg*() functions
    , a" h) A$ f& n
  1810. ; http://php.net/mbstring.func-overload7 ^+ b& u  a# x- S$ G
  1811. ;mbstring.func_overload = 0' f( ], q+ i: j2 O% h! O7 A# j! q( I

  1812. , V# k5 E3 @( J3 B0 J6 f3 J3 r
  1813. ; enable strict encoding detection.
    ! a- k2 l3 l& P/ ], Y# S" H6 G
  1814. ; Default: Off
    % l+ s1 b9 u& h# J5 t
  1815. ;mbstring.strict_detection = On4 v* W' s5 P6 w  \

  1816. ! v* x$ |& t( z# ~' |
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()' l* Q0 _7 l' s
  1818. ; is activated.
    ( a8 x( t0 I' i
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)4 }7 j6 f% l, U& ]( f  G! \
  1820. ;mbstring.http_output_conv_mimetype=
    3 z- W8 ?; y! J  h
  1821. - m! Q! i' e* @$ j
  1822. [gd]
    % n5 d  N  t- k9 e+ t
  1823. ; Tell the jpeg decode to ignore warnings and try to create$ l1 B0 ]! |0 Z' m2 U/ y# u
  1824. ; a gd image. The warning will then be displayed as notices
    , @+ ]0 `) R+ M! [! l7 `" w
  1825. ; disabled by default
    : h- ?# [8 h8 z) s) E0 m
  1826. ; http://php.net/gd.jpeg-ignore-warning
    9 w& G  C3 m& H
  1827. ;gd.jpeg_ignore_warning = 02 }& C" @' c: c) \* F8 W

  1828. - P# O0 Y: {: a- R4 z
  1829. [exif]) M( {9 A3 Q. i9 `6 V4 G5 R3 @$ F6 T
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.4 c5 t- w8 ?2 m/ i& C
  1831. ; With mbstring support this will automatically be converted into the encoding
    ; S3 O' [% D) N: ~- `
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    6 B* M3 t8 o& n, W& Q
  1833. ; is used. For the decode settings you can distinguish between motorola and- \0 y+ S4 n5 d" q) g2 b. w8 U
  1834. ; intel byte order. A decode setting cannot be empty.+ X/ ~1 R/ r9 n* @. U5 F( ^
  1835. ; http://php.net/exif.encode-unicode% T4 [- G  F! \5 b) H" R  @
  1836. ;exif.encode_unicode = ISO-8859-15$ Y' ]% j# E0 a$ `, H# D! L
  1837. " Q7 w) p5 c- E5 Z, w+ D! X
  1838. ; http://php.net/exif.decode-unicode-motorola, _: ^8 _3 I  a$ }
  1839. ;exif.decode_unicode_motorola = UCS-2BE9 R9 `0 \  Z# J2 [" W7 y
  1840. 0 P+ z# }+ x- ~! [- e. q' ]: H5 M+ d
  1841. ; http://php.net/exif.decode-unicode-intel
    5 x! F" s$ N- u: H
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    / `! J  u3 x& j- p

  1843. : @; g5 R" N1 u4 u/ \  w7 u
  1844. ; http://php.net/exif.encode-jis' Y1 {! D5 L- [  Z( e- r7 G
  1845. ;exif.encode_jis =
    ! O4 s, V# @" A" n( t3 K2 Y* k
  1846. 8 |, l; v9 }0 e! b; m
  1847. ; http://php.net/exif.decode-jis-motorola
    8 X! V3 \1 g2 ]; Z
  1848. ;exif.decode_jis_motorola = JIS5 H( F1 f) r: D
  1849. ) A7 }# ^2 M! a& {* G
  1850. ; http://php.net/exif.decode-jis-intel1 p5 Z$ g9 E. s8 ~; A! X
  1851. ;exif.decode_jis_intel    = JIS
    5 Q' s" L& j- @: l  z" U! F

  1852. 6 d* X2 j& ], \9 D
  1853. [Tidy]
    ( I' \; u0 C0 A% ?, j& {
  1854. ; The path to a default tidy configuration file to use when using tidy
    8 g( }9 W( ?! v9 K6 Z$ |4 T
  1855. ; http://php.net/tidy.default-config* c$ N# |2 a* l
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg$ H! f; z& Z) u# r7 q3 Z5 m
  1857. " |0 W- s6 w6 e6 L9 L
  1858. ; Should tidy clean and repair output automatically?
    ' _, N: O/ k9 L; A# F
  1859. ; WARNING: Do not use this option if you are generating non-html content& @* N) _' p1 H' Z7 @: T) {: I
  1860. ; such as dynamic images% x# J# s& q2 N+ r& }
  1861. ; http://php.net/tidy.clean-output  w* ?! w- r! {# I! b8 o5 }
  1862. tidy.clean_output = Off& V8 \+ k$ K8 g' }
  1863. - T1 \7 s/ N0 X9 Y* S% u2 X1 {5 K
  1864. [soap]. G! J5 E  p, n6 o! S1 ^8 s
  1865. ; Enables or disables WSDL caching feature.0 e4 `3 y  [- u! I& b" Y% b
  1866. ; http://php.net/soap.wsdl-cache-enabled9 w% ]: G2 X% P: m
  1867. soap.wsdl_cache_enabled=1
    ; [9 M) j: N, t$ l7 T# R  O
  1868. / t3 Y( ?- Z$ F& b  w0 |
  1869. ; Sets the directory name where SOAP extension will put cache files.: b( K2 ]( E# Y5 J6 p! h; X
  1870. ; http://php.net/soap.wsdl-cache-dir
    # \$ L# Z5 C9 h3 ^, d2 C! _2 n
  1871. soap.wsdl_cache_dir="/tmp"% w4 h" E! E7 l# v- S% n1 i0 G* ^
  1872. 4 R! t: t6 T. w4 w6 s  f! {
  1873. ; (time to live) Sets the number of second while cached file will be used
    ) e# P4 R  _3 ^+ C" w1 _
  1874. ; instead of original one.
    ) g3 d) x  a9 n  A# A
  1875. ; http://php.net/soap.wsdl-cache-ttl
    9 D/ C3 F- g* G$ ^$ t- K
  1876. soap.wsdl_cache_ttl=864002 Y3 ]$ I$ ?3 w; q- A
  1877. 1 A" q/ e+ J2 X: y1 t. J
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache): |( {' F8 G1 G. q8 L3 h+ C
  1879. soap.wsdl_cache_limit = 5
    + a0 l9 T& V6 Z+ b6 w
  1880. * y: z4 h5 F. j4 N' @
  1881. [sysvshm], o0 M# i8 f* {. ?$ K, _
  1882. ; A default size of the shared memory segment* C# o& K2 Y7 o; H3 l
  1883. ;sysvshm.init_mem = 10000
    6 _) H9 z8 ^& {9 P9 R
  1884. $ X& F8 c- [+ u
  1885. [ldap], D& h1 ~) z) S6 F
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    2 h& W  K) U9 h$ y2 S
  1887. ldap.max_links = -1) Z; t( \! v3 ^& z2 n: _

  1888. 6 z% K! j# S+ a6 B2 N
  1889. [mcrypt]
    9 L/ m* a' n% |' H0 C$ r
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open5 L/ f( a4 N7 @2 ?! j. n
  1891. $ F: j0 R5 I3 Z1 m
  1892. ; Directory where to load mcrypt algorithms! p: p3 |4 y2 _  j/ p: B
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)7 `6 d) m$ V3 N) H3 M* j9 g. Q" j
  1894. ;mcrypt.algorithms_dir=& w2 ?4 @! |7 c7 p

  1895. # {( t$ a& b. i
  1896. ; Directory where to load mcrypt modes
    ( ^, m0 h% G6 h! C+ C
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    : }. H0 i+ a# l. p
  1898. ;mcrypt.modes_dir=. w! @2 a3 Y) m- F. n7 s: l9 |
  1899. ( Q2 C7 b) z5 k, {1 w- [; o& A! L
  1900. [dba]" z3 c, U- i4 {/ l% \2 T1 U5 o3 }
  1901. ;dba.default_handler=6 v5 X9 r% K* l" j/ h6 K7 c
  1902. ) j+ P7 J4 y8 |' V6 r' ~, q* {6 H
  1903. [opcache]
      ~4 l2 a; l& w9 A3 h/ e
  1904. ; Determines if Zend OPCache is enabled6 k: t9 W; `) O
  1905. ;opcache.enable=0
    ' t( X3 i; g; i9 Y. c* p

  1906. , r$ Y: O9 n* p) r5 b+ L3 [( q
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    0 j$ G; J2 Y6 D0 s7 E: E# e
  1908. ;opcache.enable_cli=0
    - C8 N6 P. e/ V$ d, Y

  1909. ) l" f1 d* f) H7 H
  1910. ; The OPcache shared memory storage size.- _" f8 U( E) Q  ?2 ^* t
  1911. ;opcache.memory_consumption=64# y  c( |9 \: s1 g; n

  1912. 4 o% r0 M! I) t/ c( t/ B
  1913. ; The amount of memory for interned strings in Mbytes.$ y7 u: Z/ k3 g; d, `( E- ]2 Q
  1914. ;opcache.interned_strings_buffer=49 @) a7 o7 j7 n/ Z
  1915. ; Q( N& s9 u8 {  `9 ]
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    + y# ~; x( X4 A2 E
  1917. ; Only numbers between 200 and 100000 are allowed.
    ) A* B$ Z, d9 ^0 y4 r8 o, d
  1918. ;opcache.max_accelerated_files=20004 x# J! a- |) J+ a3 \
  1919. ( ~( C; W4 _: N5 T
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.  l' y5 h  m- \! o5 g
  1921. ;opcache.max_wasted_percentage=5
    * O9 X- ^% b3 ^; Z$ d

  1922. 5 ]# k+ @5 D, Y, |. }! ~  V0 r" j
  1923. ; When this directive is enabled, the OPcache appends the current working
    2 V. g" F, q- j5 H2 u4 R
  1924. ; directory to the script key, thus eliminating possible collisions between: s* [. T/ b* m  l& e! G: g
  1925. ; files with the same name (basename). Disabling the directive improves
    * t1 i% N$ E8 ^3 d
  1926. ; performance, but may break existing applications.
    & \3 i( A0 M* C6 \/ S5 I
  1927. ;opcache.use_cwd=1
    , Q2 c( F4 A$ s) A. [$ A; L. A
  1928. 5 k0 x4 a$ z! `& y
  1929. ; When disabled, you must reset the OPcache manually or restart the
    2 L, t; Q  d6 @9 a  ^  F
  1930. ; webserver for changes to the filesystem to take effect.
    & s; L7 S& S- A7 s2 d% w$ E: M
  1931. ;opcache.validate_timestamps=1
    ! v4 ~6 X# a9 r; b' a: K
  1932. % I6 |% S8 B# U8 G1 X
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    & t1 b& Y. ]9 f
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    $ U. x1 K8 v9 M9 C% }
  1935. ; once per request. "0" means always validate)
    2 k. L; n2 K; q! }
  1936. ;opcache.revalidate_freq=2; N( M1 [, {- T# ?
  1937. % _( Q* @9 `4 o( r2 P# u
  1938. ; Enables or disables file search in include_path optimization: `6 @6 E3 |' b" O+ v
  1939. ;opcache.revalidate_path=0
    ( h& K; y" A% w

  1940. 8 e5 t7 L, r/ k$ q  F6 W( H
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the5 v: u* p8 m3 W" N6 `- X0 S" {3 @
  1942. ; size of the optimized code.
    ' X% |( ^7 L5 R* H6 A# c
  1943. ;opcache.save_comments=1! _, N% U6 f+ h/ Y( C8 j  n
  1944. # w9 M% p7 ]) a/ F( x! ?: c
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    & r* k  H) J/ C# j# O
  1946. ; may be always stored (save_comments=1), but not loaded by applications1 s) h0 u- B, }4 x  z- Z
  1947. ; that don't need them anyway.
    , ^8 O$ m0 w* Y" ]! t
  1948. ;opcache.load_comments=14 b7 O' }0 ], V, n

  1949. & Y% D& y% v- q0 N7 |
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code2 C* H' N  {4 U( V6 x; z3 o
  1951. ;opcache.fast_shutdown=0/ e+ T" z1 x4 d
  1952. " K8 v, ]$ K' D* C: H9 f
  1953. ; Allow file existence override (file_exists, etc.) performance feature." e  x2 e' d. `, k0 r8 U, @
  1954. ;opcache.enable_file_override=0
    & P0 T' i* i& u' _. g5 V4 W

  1955. ; D$ U2 N- b# ~5 O. x
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ! h  l! z, m: v
  1957. ; passes
    % K0 a" ~1 ?* I/ d# r( _$ e5 ]& t$ `
  1958. ;opcache.optimization_level=0xffffffff
    : C' ]7 ^% M( T
  1959. 1 V6 \; a+ _" |& R
  1960. ;opcache.inherited_hack=1
    5 s- D! [( v/ O' [& k
  1961. ;opcache.dups_fix=0- s. x# K* @1 C# n5 L: e

  1962. , u8 O; g5 q$ h' f! P5 ?6 h
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    " J* E# [0 P: ^1 A/ _6 g
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    : j. M& s1 H: a! s
  1965. ; that should not be accelerated. The file format is to add each filename# X. h+ i  h9 W9 L( ~0 ?
  1966. ; to a new line. The filename may be a full path or just a file prefix
    + v! Y  o9 w) ~
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    / U3 t" V0 V% V! X7 P0 p
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).7 R2 B$ _* M5 T. i
  1969. ;opcache.blacklist_filename=  T  d+ P+ p+ J2 w, m+ g& D: l$ z9 @3 A

  1970. % H6 ?0 B8 f& d- r* ?+ G
  1971. ; Allows exclusion of large files from being cached. By default all files" s+ n8 t% w  V* I* M+ K
  1972. ; are cached.
    5 Z* {$ l9 h! R" P5 K( c
  1973. ;opcache.max_file_size=0
    $ f1 X6 |/ P) |" ^% H* S
  1974. 3 k4 ?0 B  T/ q$ O
  1975. ; Check the cache checksum each N requests." l" B2 b" S5 s9 F9 I
  1976. ; The default value of "0" means that the checks are disabled.) \% m% z( h, d5 V: R4 C
  1977. ;opcache.consistency_checks=05 M+ B  E$ `  V0 e
  1978. 0 a5 q% s5 `2 X8 V- x
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    8 }2 j1 Q3 c* F  Y
  1980. ; is not being accessed.% F* ^+ E1 m& M6 Z' {1 ^
  1981. ;opcache.force_restart_timeout=180/ Q1 {: }+ C6 N$ }/ e8 A
  1982. ! F! h9 z+ G" x# w  a* n* M0 d% ^
  1983. ; OPcache error_log file name. Empty string assumes "stderr".% J  m3 X& x, R# D
  1984. ;opcache.error_log=
    1 H0 f6 |6 g; I( R

  1985. / Z# x$ X5 g1 w6 P. k( W6 H- {
  1986. ; All OPcache errors go to the Web server log.7 |) ?' m/ J* W! |
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    0 ]$ F/ Z* L3 B' p1 P' q. T
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    & T9 J( L1 x$ a4 ]8 E# w7 ?
  1989. ; debug messages (level 4).
    ) }' @$ W, S$ V6 z+ ]1 N
  1990. ;opcache.log_verbosity_level=1
    2 A' y: s6 e0 u3 s
  1991. + T, s$ S+ ~6 X4 S% i* k' t+ ~) P
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
      n- X, N+ c% j& E
  1993. ;opcache.preferred_memory_model=
    5 ^' U3 [5 w- v9 S7 q1 G6 }
  1994. 0 }3 ^6 U( o. _0 }" ~
  1995. ; Protect the shared memory from unexpected writing during script execution., Z+ M) [7 o9 b1 y$ g* z
  1996. ; Useful for internal debugging only.! O! _. q! J2 x' f' c; S8 A
  1997. ;opcache.protect_memory=0: R/ L7 b6 S4 u! r

  1998. , Z% @6 H1 a: i1 p! V2 o2 n
  1999. ; Validate cached file permissions., q7 ^7 N% b  r- c
  2000. ; opcache.validate_permission=0
    & `- m, ~5 ?& h

  2001. 0 w2 b  ~* l, _) j; J0 b, t; o
  2002. ; Prevent name collisions in chroot'ed environment.* ~$ `9 ^8 D. m8 W
  2003. ; opcache.validate_root=0: t- y. n; N$ C& l

  2004. # e; Q6 g& g) u+ D. [7 a
  2005. [curl]! J4 f! q) L0 \6 I* o7 d! s
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    # M9 d, ^0 l2 G+ E7 M
  2007. ; absolute path.& c8 v0 S: p3 l+ w3 n
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ) E5 h& W% k" V3 C

  2009. . L2 Y+ z$ h  ^% `
  2010. [openssl]) ?4 z$ o8 l4 i! C
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    ( {- `, L# F: i# X+ u" X* C+ x
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should4 U! Z, b8 m8 h6 ~+ n% F$ }
  2013. ; not specify a value for this directive as PHP will attempt to use the" P; d  X" }( |$ r* O/ u4 }/ G
  2014. ; OS-managed cert stores in its absence. If specified, this value may still' `$ E6 Y$ J" ~, Q3 l% g& ^1 B& `1 @
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context7 o, r& g+ \0 N' T8 s4 f4 G
  2016. ; option.* q/ H1 h9 I, \8 [" s6 B
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    / b* M4 o7 G  `; b* i% A" d

  2018. . _" W. `& u* E& ~9 |. x+ X
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    + F. D' v. l1 D
  2020. ; directory pointed to by openssl.capath is searched for a suitable
      g2 k/ k4 f: Q4 u- g/ |1 P: }
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    " w  ?* ~2 g: K" s* v# t. M( |
  2022. ; Most users should not specify a value for this directive as PHP will( p' W: J% x' L) o( l; @' F2 m
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    / v) n& ^- k* J7 Q
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    0 I) f* Q; s9 k1 u' ?  d% \, o1 {
  2025. ; SSL stream context option.
    2 L2 C6 r+ f# k3 s9 f: `
  2026. ;openssl.capath=$ @+ N8 U# d: e

  2027. ' p( w0 y7 Q- @3 S6 R6 |
  2028. ; Local Variables:  ]& m* o  q. J- c4 _! U. h
  2029. ; tab-width: 4# L8 a) e9 k' }( }6 q
  2030. ; End:& E6 n. [! Z1 i+ m( H
  2031. 3 g! a, G' L$ v$ _: }2 f
  2032. ;eaccelerator' o& V) F* D# D! f% d
  2033. $ n! ]3 ?6 `# U) s
  2034. ;ionCube  _4 O# _6 f1 U% a; b( r( m8 ]
  2035. & L! F, I' s" ~. l/ s$ E
  2036. ;opcache' M& k" Z  h; Z( \* t) U
  2037. 7 j$ D. D! e& U5 j: Z  i/ y1 S
  2038. [Zend ZendGuard Loader]" k* A6 s8 L8 i
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so( P3 c" M) W( B. B- G( w% v/ s& [6 z
  2040. zend_loader.enable=1
    8 W  p, s. J) p5 C2 p& D# |
  2041. zend_loader.disable_licensing=0
    9 p3 W$ l8 P/ W3 Y' ~. J7 t) E  o
  2042. zend_loader.obfuscation_level_support=3" r2 X! Z& h3 f/ y
  2043. zend_loader.license_path=
    # W, O) H3 R- u% J9 `0 z2 \5 e# O3 Z3 ~
  2044. 0 d, V* b# f& [$ E0 _: V9 v
  2045. ;xcache
    * z& z! I& ?6 O8 f  f/ [% S/ W7 |
  2046. ! J% o* f% S; x( H. C: ~; f
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692& E% Y; p7 a! F2 ?
) E: Q6 J; a- i/ q$ w: @; e
2 Q. z1 T% q. I; T7 |, ^* l. _
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
. A" P4 T. d5 O1 B1 _) A8 \4 ~7 V, Y7 A0 L% p2 E
Discuz!程序版本选择:8 @1 Q0 E$ e9 J- W
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,1 @& w" ~3 t4 A
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
& ]) Y. v& c% fDiscuz!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。
2 C" k- i- R& A; r& q$ Z) S, i8 m; S: l4 X
Discuz!插件模板版本选择:
: t3 x6 N. p8 i0 r( c; e很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
3 \% c, h. D" c! J- w针对这个问题做个统一的普及:9 l0 B2 ~, l4 [! Q; t4 T
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。! m8 `' ~6 B5 T4 ~
+ B2 ~9 g" U9 w" P' l. C
所以( E# q5 ], C/ o! r% _6 k
适合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的二级域名。
+ Z" I" I" `) ]( T  ~7 P打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
3 M$ w" V) ^% H/ v" h注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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