分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0! @# D* g2 u- ]( C6 n
" \/ |( e! D  w  y2 V2 s
  1. [PHP]8 @) d( i  k0 V( D

  2. % ]: U7 ^5 e2 a+ A
  3. ;;;;;;;;;;;;;;;;;;;  y9 C! V9 p4 u/ T. ~
  4. ; About php.ini   ;
    2 Z  o9 I5 n5 X9 \; X& f* C
  5. ;;;;;;;;;;;;;;;;;;;
    ) s8 a- J; x7 t% `
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    3 J# X, L+ u1 X& h$ ^8 S! @
  7. ; configuring many of the aspects of PHP's behavior.. K+ z3 B4 I0 o+ L. F

  8. 0 o: ~9 b2 P7 C, b9 I- f
  9. ; PHP attempts to find and load this configuration from a number of locations.2 R8 N, S# X) v, a6 S  ]% q: v+ }
  10. ; The following is a summary of its search order:6 p3 t' C& Z! [1 i. t! g
  11. ; 1. SAPI module specific location.
    - @" V1 v, Q  [! u8 s) B# w7 v7 j
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    6 g' Y9 d7 ^5 D
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)7 Y; b* z% m$ C" |2 f
  14. ; 4. Current working directory (except CLI)2 o$ y. O. N* k  a" Y$ K. Y
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    0 f' w  T+ h) g3 f  D  E3 r3 R
  16. ; (otherwise in Windows)# ]" X% o& [" E0 l8 r, F. W' y& d! N
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    1 u& a) M+ v/ `- k
  18. ; Windows directory (C:\windows or C:\winnt)0 |3 i& [" e) x, v( ~% z
  19. ; See the PHP docs for more specific information.
    - e5 D* @9 ]7 g( o/ b, t0 }: a
  20. ; http://php.net/configuration.file% z* c# ?+ `7 k& N- M
  21. : ^7 f, X  |( ~6 E
  22. ; The syntax of the file is extremely simple.  Whitespace and lines5 F8 ?, z( h3 @& ?1 @; p1 z
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).0 I9 \% _3 S5 N3 h
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though9 X* g$ y% J/ ]3 r- a, L7 ]
  25. ; they might mean something in the future.( m- F; z& F* C1 W; `0 o% G

  26. + \" o. {  K/ \
  27. ; Directives following the section heading [PATH=/www/mysite] only3 I. A( b% T$ U& B
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    6 e+ f, |* _% K1 N- L3 Q
  29. ; following the section heading [HOST=www.example.com] only apply to
    ; \$ e* B% `- X( K8 C% s. r
  30. ; PHP files served from www.example.com.  Directives set in these
    * l" V0 M6 C7 a# Z
  31. ; special sections cannot be overridden by user-defined INI files or
    , n4 S! u8 t1 R" k# N
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under. Y0 Z5 y" Q7 L$ d& D
  33. ; CGI/FastCGI.
    / \' D9 O$ m3 e
  34. ; http://php.net/ini.sections5 Q8 D# K* Q" T2 X; c4 J

  35. # D* ?! o! {7 k
  36. ; Directives are specified using the following syntax:7 L, m: W! X. t0 p( m( \9 x
  37. ; directive = value% u3 P$ z( d( H- c+ j3 d, E) ?3 D& l
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    4 i) G9 E* a. K: s/ O) u! a
  39. ; Directives are variables used to configure PHP or PHP extensions.& g! o& o4 M: m1 X. b2 I4 j
  40. ; There is no name validation.  If PHP can't find an expected5 w! Q; R2 W1 r1 n) O2 J5 H
  41. ; directive because it is not set or is mistyped, a default value will be used.
    5 o! B6 N7 J7 J# X; U' h
  42. ; M5 X1 _& k7 x& s( G3 L
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one" {) y& u& ?1 R: F# O" A" v! n
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    1 |- N; k6 N. ?
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a1 f: T" `& w! g  E! U4 G
  46. ; previously set variable or directive (e.g. ${foo})
    % ^$ U) ]" F, J  A2 S- s* g

  47. 7 S$ E6 i, O  e! M
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ! B' |+ l) [# e9 p2 }0 R
  49. ; |  bitwise OR; f  T. H, F& G. }
  50. ; ^  bitwise XOR
    6 z  ~0 T- v5 B4 G
  51. ; &  bitwise AND6 \& R5 r4 e" z  D, W! d0 O- d
  52. ; ~  bitwise NOT
    ' H$ o0 n% }3 K; O% x4 m$ Y
  53. ; !  boolean NOT
    7 c* }4 g4 U/ \7 ^! {- j

  54. 0 o8 L! _* c! p+ [9 d1 m% S2 t3 V
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    $ m, h3 Q- a! r8 P
  56. ; They can be turned off using the values 0, Off, False or No.
    0 y5 q, M+ U$ \! Y) k( c

  57. ( c7 X/ ]& |% U, U' M) c
  58. ; An empty string can be denoted by simply not writing anything after the equal
    & |( h+ B' ]: D
  59. ; sign, or by using the None keyword:$ J1 ]: A' ]" K3 f; v, V& ]: {1 f
  60. 8 z9 ~/ _: j( B" h( ]0 l0 @
  61. ;  foo =         ; sets foo to an empty string1 e" h2 K' g$ g  b1 H. \# Z( j: K
  62. ;  foo = None    ; sets foo to an empty string9 M5 S3 ^3 S# Z* v. \8 \' O
  63. ;  foo = "None"  ; sets foo to the string 'None'. \$ r- i- D& E: {8 V& J

  64. ( g$ Z: w* u' |
  65. ; If you use constants in your value, and these constants belong to a
    8 y( r1 x( s0 |8 P
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    5 Z' ?6 `  U7 G: O8 h
  67. ; you may only use these constants *after* the line that loads the extension.3 @6 ^& `" ?7 ~/ N& b" \& C

  68. + x; e6 l+ ^- j/ b% g' @$ m. q
  69. ;;;;;;;;;;;;;;;;;;;0 a- z+ t8 L& _+ y' i( f4 R) V
  70. ; About this file ;
    & M: V" a! u4 c8 Q9 m  n  J" P9 L
  71. ;;;;;;;;;;;;;;;;;;;
    ) E7 }$ }# H) U3 S9 M
  72. ; PHP comes packaged with two INI files. One that is recommended to be used6 m5 ~. y6 n: g5 K7 i
  73. ; in production environments and one that is recommended to be used in
    : _+ L  |/ p6 v6 a6 j1 O# s, v8 m5 U& q
  74. ; development environments.
    " A, Y' b/ _1 T  r+ [1 G+ \

  75. 1 Z3 a, Z5 t+ P5 X7 Y7 `
  76. ; php.ini-production contains settings which hold security, performance and: \) S& w) F3 t* W' `4 ^
  77. ; best practices at its core. But please be aware, these settings may break
    9 c1 t7 X8 Y) K& x5 L2 q
  78. ; compatibility with older or less security conscience applications. We
    ( C5 y) C# ~% J: A% }% X0 h
  79. ; recommending using the production ini in production and testing environments.
    / ]6 {0 l3 r3 L/ \2 ~+ \  B
  80. 3 r2 i' U  O9 ~( \8 n4 A8 i4 P9 s
  81. ; php.ini-development is very similar to its production variant, except it is
    2 X/ e, e5 b) `8 D) f6 e
  82. ; much more verbose when it comes to errors. We recommend using the5 P, F1 Y6 M) H& n3 {
  83. ; development version only in development environments, as errors shown to
    : |5 _7 e0 T9 i1 t( F, \0 M# S
  84. ; application users can inadvertently leak otherwise secure information.0 ^! `+ X2 \! ~) Y& ^( }, c
  85. ( U" W" [- [( V" c9 I- n$ E
  86. ; This is php.ini-production INI file.( R& Y6 p- Z% Q" h$ I0 @, f
  87. # Z  C2 ]" e  S- s" F
  88. ;;;;;;;;;;;;;;;;;;;
    7 u' S# L; g8 B' Z" p
  89. ; Quick Reference ;0 r& Y! X: L2 R# g
  90. ;;;;;;;;;;;;;;;;;;;
    , Q4 j! l1 p& W
  91. ; The following are all the settings which are different in either the production5 n, O* l* Q; g% j( S/ w7 n
  92. ; or development versions of the INIs with respect to PHP's default behavior., y1 Y; l8 r+ `
  93. ; Please see the actual settings later in the document for more details as to why
    ' k6 m: E4 x# F0 h4 w
  94. ; we recommend these changes in PHP's behavior.1 h7 B3 m- n1 i- ]7 o
  95. 5 W# _2 q7 _5 a3 j$ B
  96. ; display_errors3 q/ d; X9 r1 D: Y0 W, d
  97. ;   Default Value: On
    0 {6 ]& y4 N9 w8 x/ `0 v: U
  98. ;   Development Value: On% ^2 `4 F+ D2 P2 i% B
  99. ;   Production Value: Off
    4 a7 P8 _1 g" |5 ^, Q7 b; S0 F
  100. 7 U' }$ X) J' D) U# `  X) w. x4 A
  101. ; display_startup_errors# x: b* h* E. B7 U
  102. ;   Default Value: Off: F0 H, n& V6 ^- I
  103. ;   Development Value: On! v) z7 @( e4 |# t
  104. ;   Production Value: Off! X" _) }* q4 t) W, z
  105. 1 b- d$ u: h1 e$ A' u4 N# P
  106. ; error_reporting" |- t0 [; X( L0 P. c  m; c! `
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    1 h# o4 M- u; l% p) b$ F
  108. ;   Development Value: E_ALL
    ; I. K+ V3 F  a  A: ^4 t, E
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    % L: x( b* y2 l# f. S
  110. ' }) h: h& M: s- U" I7 W" g
  111. ; html_errors" w4 ^9 [/ h4 W1 {; J6 V# G
  112. ;   Default Value: On7 N3 ?1 s/ k7 y# [
  113. ;   Development Value: On8 A* J& F5 A3 {
  114. ;   Production value: On
    - X8 s5 `0 f9 R5 l7 V( f* P
  115. 5 @6 p: j# q. J
  116. ; log_errors
    7 s0 s% P1 H6 ~- b; C7 M
  117. ;   Default Value: Off
    ' B0 X( _  h2 \( a0 C+ v
  118. ;   Development Value: On
    4 ?' E9 T8 [! ?% T9 W- z
  119. ;   Production Value: On; V1 |, K( T$ @( K- K  |) E  j

  120. ( U( q. s+ k( R0 P0 {  o- g
  121. ; max_input_time
    9 u2 i, z7 n9 D: V+ y/ K9 Y
  122. ;   Default Value: -1 (Unlimited)' c# f7 A: S9 |5 C' n
  123. ;   Development Value: 60 (60 seconds)
    7 \! t9 [; ^; F  i" M
  124. ;   Production Value: 60 (60 seconds)
    1 O' d3 P0 B3 R, b: Y7 A5 r

  125. . o7 h* e7 E% k  s
  126. ; output_buffering4 r. S; a1 z3 r
  127. ;   Default Value: Off0 r/ h8 D1 z9 T+ ^: {9 w
  128. ;   Development Value: 4096
      q7 `9 Y7 i& a8 Z3 f
  129. ;   Production Value: 4096
    5 ^" Y# N1 E8 v$ y6 Y

  130. 8 i/ i; O5 ~% U: [8 t+ P
  131. ; register_argc_argv
    ( y8 w% L0 ?1 z- z3 N
  132. ;   Default Value: On' p! s5 P; n$ e+ s6 \/ W
  133. ;   Development Value: Off$ i% b  M! e& J# M9 V) @
  134. ;   Production Value: Off
    7 O# C5 B5 a5 c! v4 k, R7 u& u

  135. * j2 [! g$ f5 a5 T
  136. ; request_order
    & Y- r0 @7 Q1 s5 \
  137. ;   Default Value: None
    2 @- v6 N, m2 q0 q( O
  138. ;   Development Value: "GP"1 _+ I9 B9 C  O& }& ~" G( J
  139. ;   Production Value: "GP"
    % N/ f/ u7 C6 t; H3 _

  140. 6 W3 |0 F( N5 w6 [9 E, t
  141. ; session.gc_divisor
    3 |9 N& V, y+ T2 i+ T
  142. ;   Default Value: 1009 u' R( I6 }6 s. V
  143. ;   Development Value: 1000
    5 {8 X, v% T: f) i, {5 ^3 ~* j
  144. ;   Production Value: 1000
    & `  Y1 \1 L, a# N2 U- a* c: Z2 }5 E
  145. + c/ ~  v  x, G2 w' A9 d4 ?
  146. ; session.hash_bits_per_character
    % {" M& }8 E+ l  M
  147. ;   Default Value: 4
    ' i2 c5 F$ V. P% _. s" i0 {" v6 O
  148. ;   Development Value: 5
    6 ]% w. o4 u* c1 f
  149. ;   Production Value: 5+ i% V& g' i7 Y- ?

  150. - j) A$ x! v' M+ r$ B' D& }
  151. ; short_open_tag
    9 H0 O/ m0 i5 [2 G2 |
  152. ;   Default Value: On  P( U; R2 \8 P; J+ {$ A
  153. ;   Development Value: Off( z0 s7 s* p1 Y% X5 w, c) K
  154. ;   Production Value: Off+ x4 Q* M3 ?4 c9 m, s$ n+ d

  155. - P- b4 B( m5 I4 S
  156. ; track_errors
    " M0 H' S8 g- x; h0 D! E8 q
  157. ;   Default Value: Off& ~; l9 B8 B: T) U/ k
  158. ;   Development Value: On
    + g0 K! N; t0 s  R3 p" g
  159. ;   Production Value: Off8 _, J  F+ z7 y) I# r2 U$ G

  160. ) P2 t: B& T6 q# P7 o
  161. ; url_rewriter.tags
    4 l5 i$ r1 |* N; ?8 ^6 @: L
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="' y2 u8 X- R0 t- ]) U
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 W% K$ w: J1 n  T6 h
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 @- B, j) W* r! d7 P- H

  165. & V. }: J. Y: s
  166. ; variables_order
    9 X3 K& d, b# r0 h1 i: c7 ?
  167. ;   Default Value: "EGPCS"9 k- W5 K, W% S: F; V- ]" t
  168. ;   Development Value: "GPCS"0 ?0 @. T* E! @  W, H
  169. ;   Production Value: "GPCS"
    5 s: d5 |8 D2 P1 [* |0 r. N, H
  170. ( \& H! p! j5 w9 p% {* D
  171. ;;;;;;;;;;;;;;;;;;;;: ?" |3 z. [4 t* N
  172. ; php.ini Options  ;
    4 K' \  f7 s+ _. B1 x: L% U
  173. ;;;;;;;;;;;;;;;;;;;;
    % }0 ?* [9 k& O/ V1 n2 v. c
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    , H# d& H1 Z! P1 u# v! W+ ]
  175. ;user_ini.filename = ".user.ini"
    ) u! }2 _; D% A' L" F/ ^9 n8 }

  176. 0 D9 F" H4 ]0 [4 i( T
  177. ; To disable this feature set this option to empty value
    # z  B/ }+ I- u( ?' b# e- R
  178. ;user_ini.filename =
    7 ^, @: z* M. O6 g8 B3 b9 H
  179. ! F, K0 X; @! m1 C. y, p
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    7 v8 \3 k  s7 ?* e' r) r' A
  181. ;user_ini.cache_ttl = 3003 h* ~8 H/ u. V+ `
  182. 8 n. O) O' {) \+ j* T
  183. ;;;;;;;;;;;;;;;;;;;;
    7 w9 |# s% w$ E- b) B- P0 v! ^
  184. ; Language Options ;+ E, f  {, V. J7 B! o
  185. ;;;;;;;;;;;;;;;;;;;;! w. |% i! X; D9 C
  186. 7 B3 X3 A: h5 u4 k/ Z+ `
  187. ; Enable the PHP scripting language engine under Apache.
    1 j5 ~# B3 l5 ~6 r
  188. ; http://php.net/engine
    ( V+ d2 U3 A, n) D/ Z9 I( m
  189. engine = On" ^1 c8 @- n0 c6 q& D8 y; U& W& B/ K
  190. , @, j/ O1 n# ^6 m3 }/ E' |1 t
  191. ; This directive determines whether or not PHP will recognize code between
    " S% u: H, |3 s8 P0 X. Y7 E
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    9 j1 \* W" _1 A1 a9 u! T
  193. ; generally recommended that <?php and ?> should be used and that this feature
    8 q3 f, g, X4 u! T) s" O
  194. ; should be disabled, as enabling it may result in issues when generating XML
    9 O2 W6 Y* g# |$ b( C
  195. ; documents, however this remains supported for backward compatibility reasons.+ ]) f( z, w' E1 ~/ h; v+ z4 b
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    7 Z  e" G" D, J5 O- n
  197. ; used regardless of this directive.
    . ~" D" `3 x" ~8 b8 _
  198. ; Default Value: On
    7 X' T! ~& N2 ?5 G. \5 S
  199. ; Development Value: Off
    + s4 [# P* ~# b) k
  200. ; Production Value: Off, z0 b* a: {: g, M3 r" S$ p& D
  201. ; http://php.net/short-open-tag
    ( s) Y) s( e7 z' _; T5 \
  202. short_open_tag = On9 ^3 K8 `& u) Q* O* D3 l

  203. # g- R. J$ G3 U4 N: O3 H+ t
  204. ; The number of significant digits displayed in floating point numbers.
    , V' R2 V' a' L
  205. ; http://php.net/precision7 ]. s/ ?! Q3 r
  206. precision = 148 E- t5 n- Y$ _9 _1 Y1 g" p
  207. ! d0 r1 ~, `1 T# `& Y( T  W/ W
  208. ; Output buffering is a mechanism for controlling how much output data
    ! E7 g8 K% |4 L8 M3 ]; V6 u
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that7 c! h6 v3 `! o, d
  210. ; data to the client. If your application's output exceeds this setting, PHP$ w( [4 y3 B) M4 i4 l, h, w, @2 O
  211. ; will send that data in chunks of roughly the size you specify.6 E. V- f6 K1 ~& w
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    ' b/ |# ?' J7 Z: ^; Y+ P5 s
  213. ; interesting side-effects depending on your application and web server.
    & n# a0 b( [/ y: b2 Z( I
  214. ; You may be able to send headers and cookies after you've already sent output
    7 y1 X  G3 [& @. g) Z' N" o" a9 P7 [
  215. ; through print or echo. You also may see performance benefits if your server is, H- I4 s7 z& w( a2 Z+ L! m
  216. ; emitting less packets due to buffered output versus PHP streaming the output$ w0 d1 U0 h% N  N& U8 ]$ V6 Y( S
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance: Z5 H3 N! ]# t
  218. ; reasons.7 p- ]5 i7 ~8 i6 R$ b5 C
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    % d+ O/ `* z  e3 {! C
  220. ;   functions.
    : j! W- H% l5 q8 R( E( O/ l
  221. ; Possible Values:
    6 R6 S( a, e' k* p6 F
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    1 e, M" S/ o/ {- s% J6 @
  223. ;   Off = Disabled) v: R5 G2 B9 ~# q3 V
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.& R# ]$ X; W. ~/ K2 S. J& @
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI$ p# H$ W7 _6 Y2 d# u% E
  226. ; Default Value: Off. U3 H  D$ b: `9 F) e- S) s
  227. ; Development Value: 40960 G* k: u7 j( @' P
  228. ; Production Value: 4096
    6 e: e  z7 \) n9 z1 w. Z' D1 \3 M4 P- `
  229. ; http://php.net/output-buffering
    ) b0 d7 r& k. ]* i+ ]. H" A2 B
  230. output_buffering = 4096
    3 p! ?9 p2 b+ Q7 @/ b( T8 y( f

  231. 9 l' ~5 G- n5 F. [) I
  232. ; You can redirect all of the output of your scripts to a function.  For2 U: {* d, _6 Z" ?/ `/ x- t# _
  233. ; example, if you set output_handler to "mb_output_handler", character
    - g( m8 v/ i6 I$ j9 @8 B
  234. ; encoding will be transparently converted to the specified encoding.
    5 `- E5 e6 W) m" ]5 L# \5 \, F
  235. ; Setting any output handler automatically turns on output buffering.7 z2 {; T$ `; R+ @; {
  236. ; Note: People who wrote portable scripts should not depend on this ini
    2 I5 Y" m, n" d. R
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    2 Z' _7 C9 p/ F+ ~
  238. ;   Using this ini directive may cause problems unless you know what script
    " ~/ V+ ~7 S, m. V8 f
  239. ;   is doing.( \+ i. F3 C& V1 K
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"+ n5 O( ~" m% {9 c( [$ D9 ?
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".7 M2 `% q" F" j2 k" q! o: f1 u
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    ; [& u: q  ~* \, [
  243. ;   Instead you must use zlib.output_handler.* Z: J7 r1 J$ {3 q3 y
  244. ; http://php.net/output-handler
    " K# T: o' p; m/ T
  245. ;output_handler =2 |, U) E- x- x: Z! E; y

  246. + P" x& }# A7 ]
  247. ; Transparent output compression using the zlib library, R" S: O4 }, H& P1 t. K
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size- N! f  C/ z; A5 B$ s
  249. ; to be used for compression (default is 4KB)+ E8 ^9 Y3 A3 }2 S: u3 |# m
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP6 m# c1 I+ S8 K% J: ~* Z8 O
  251. ;   outputs chunks that are few hundreds bytes each as a result of2 J  X7 r  Z0 z$ y7 I
  252. ;   compression. If you prefer a larger chunk size for better
    4 ?+ {4 R2 P$ y3 W
  253. ;   performance, enable output_buffering in addition.
    . L# z+ W1 E6 n/ S7 n. C, @
  254. ; Note: You need to use zlib.output_handler instead of the standard
    4 b. }# ]% P* G0 f" k
  255. ;   output_handler, or otherwise the output will be corrupted.2 `" o4 [7 [; \$ f$ s) M) z
  256. ; http://php.net/zlib.output-compression
    8 e8 g( g- H- e/ _+ |4 I
  257. zlib.output_compression = Off
    ' v+ y$ L: Z7 P# M4 l9 e1 l

  258. # ^$ L( @: u& ~' I8 M* i
  259. ; http://php.net/zlib.output-compression-level
    6 A0 Q/ ]9 Q6 P! ~, q- S
  260. ;zlib.output_compression_level = -1) U5 i, u0 Z( n  S

  261.   t3 _/ P7 }4 N! {: \
  262. ; You cannot specify additional output handlers if zlib.output_compression
    7 L* U  N5 J/ w
  263. ; is activated here. This setting does the same as output_handler but in# \! g+ e2 r- T3 ?. d
  264. ; a different order.
    2 e6 b7 y7 L8 ~& p6 ?+ s
  265. ; http://php.net/zlib.output-handler9 N; J( j2 {: @+ {  `2 |
  266. ;zlib.output_handler =' h5 i& C8 @+ ?* A; _" j! w
  267. ( ^% }, [, `2 l$ b9 z
  268. ; Implicit flush tells PHP to tell the output layer to flush itself1 ~0 l2 }. B, S5 s! K. Y$ r/ n: k
  269. ; automatically after every output block.  This is equivalent to calling the
    ( A+ M% z& i/ ^% }. p1 c. m8 r4 M
  270. ; PHP function flush() after each and every call to print() or echo() and each3 C2 z" |6 t2 ^& \: U$ @+ O) O+ @' K
  271. ; and every HTML block.  Turning this option on has serious performance3 m! @! @  O9 |% l8 Y
  272. ; implications and is generally recommended for debugging purposes only.
    3 u/ @  Q- h- y
  273. ; http://php.net/implicit-flush$ K6 H/ L5 X& V" J
  274. ; Note: This directive is hardcoded to On for the CLI SAPI- b# @) A+ F, D, A3 X% q
  275. implicit_flush = Off( U6 ]7 j. T6 c6 S. |

  276. " J) n; f/ o6 ~. f9 l
  277. ; The unserialize callback function will be called (with the undefined class'
    % P: \. V; G. ~# D( J/ S# b; b, o2 }$ c
  278. ; name as parameter), if the unserializer finds an undefined class
    5 z4 i4 p, H6 B0 p2 Y6 B) p+ }
  279. ; which should be instantiated. A warning appears if the specified function is
    ' G4 z  e# S. e$ a5 @! [
  280. ; not defined, or if the function doesn't include/implement the missing class.
    $ J" j9 |5 R9 D+ [7 [
  281. ; So only set this entry, if you really want to implement such a
    1 D6 ~) k/ }( ~" J2 I' r, J
  282. ; callback-function.: h6 _" j* D. ?- M
  283. unserialize_callback_func =6 W) ^+ v- C8 s3 O  a# Y( d
  284. - t9 Z# i1 g) m6 r3 n! V1 k
  285. ; When floats & doubles are serialized store serialize_precision significant8 Z+ {3 C# R5 h- i# h# {
  286. ; digits after the floating point. The default value ensures that when floats7 S! B5 x, s0 Z: N
  287. ; are decoded with unserialize, the data will remain the same.
    : s/ f9 B% [  |) \; F7 Y2 F" S) y
  288. serialize_precision = 17
    ( d5 U! [4 \6 `9 N% [4 C
  289. $ ?' Q1 ?9 x& F8 V0 c
  290. ; open_basedir, if set, limits all file operations to the defined directory
    ; O+ g# ]# W/ f9 w6 c+ v
  291. ; and below.  This directive makes most sense if used in a per-directory
    ; {1 T% m2 a8 h' t* b5 A6 m( C
  292. ; or per-virtualhost web server configuration file.
    / H) z- u: F# E# g: N% W* k
  293. ; http://php.net/open-basedir6 x% X1 c4 E/ ^; @& T; p0 D0 }
  294. ;open_basedir =
    4 l5 z5 w9 t' m  z" k+ d

  295. % L' _7 Z. C+ `( X* D3 w0 b" b
  296. ; This directive allows you to disable certain functions for security reasons.
    , J! B1 W; ~4 @+ Z
  297. ; It receives a comma-delimited list of function names.  o" m7 V( y1 X4 G/ `+ M) r5 V
  298. ; http://php.net/disable-functions2 B9 [/ m! m& P
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    9 g% E1 B; |7 `

  300. * Y$ N, _, D+ J3 d; h, X1 a
  301. ; This directive allows you to disable certain classes for security reasons.7 ~$ t8 E8 Q) z6 y
  302. ; It receives a comma-delimited list of class names.2 I* |$ }6 p. k
  303. ; http://php.net/disable-classes/ f7 p2 I0 d! s4 m* U- s# T3 E
  304. disable_classes =
    & H- s3 s! e! ]& S. v
  305. % u- A0 J& D- v! j3 i# A
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in' R. o5 q/ t' O; h0 _* ~: D
  307. ; <span style="color: ???????"> would work./ J/ S, i, M0 q. a+ a
  308. ; http://php.net/syntax-highlighting
    ) r: l6 O, z/ Z
  309. ;highlight.string  = #DD0000
    ; L, O, g, j/ X0 N: ^' {; |
  310. ;highlight.comment = #FF9900( H$ a9 C+ K; C9 ]
  311. ;highlight.keyword = #007700
    # J& `/ z. N0 t  F* Y% A
  312. ;highlight.default = #0000BB
    ; t2 s( I4 u0 X3 H! E5 }( v9 g
  313. ;highlight.html    = #0000000 x* o" T  u- N* d

  314. , \7 _+ E7 ?5 M" b. ]
  315. ; If enabled, the request will be allowed to complete even if the user aborts' v' H+ m# b9 b
  316. ; the request. Consider enabling it if executing long requests, which may end up# X) y( ^) K9 G  G% V, K
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    / {& N! R0 }4 U2 X" }
  318. ; is to disable this feature.
    # b+ N0 D5 X( s$ H2 k
  319. ; http://php.net/ignore-user-abort; W0 k0 L, N7 \9 \; r
  320. ;ignore_user_abort = On
      ^3 p8 V+ x) X1 c% D
  321. 2 F1 B* o3 n% Y5 v6 F
  322. ; Determines the size of the realpath cache to be used by PHP. This value should% S4 M/ W6 d: W+ Z, M
  323. ; be increased on systems where PHP opens many files to reflect the quantity of& e0 E4 [5 I" A# X1 S
  324. ; the file operations performed.
    7 u6 b6 j6 f4 b" U& b) |
  325. ; http://php.net/realpath-cache-size
    + H( C9 @, W3 X8 K1 |7 u/ b
  326. ;realpath_cache_size = 4096k
    8 |2 u$ n. s. U- Z6 B- O9 k3 P
  327. 3 M  U( p6 c& m; m2 `
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    ! e0 H/ _* z" H& g' l, i" y
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    ' D, x# ?) a- d
  330. ; value.
    : H- B+ ^) ~2 b! }+ h8 X" _
  331. ; http://php.net/realpath-cache-ttl( D! c- k1 r( e; `; J1 ~* R; E
  332. ;realpath_cache_ttl = 120
    ) T: Z4 n0 q# @+ w0 {$ e( O. ~
  333. " l- G* s( Y  x; Q& ~
  334. ; Enables or disables the circular reference collector.
    4 _+ x/ A9 A0 j; B1 ^1 B, H' A! X
  335. ; http://php.net/zend.enable-gc
    9 E5 {; J# A+ B: _* w4 D
  336. zend.enable_gc = On
    - q5 q9 i+ c4 n  B

  337. 4 X3 }/ U- L: e4 O
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    / F7 G+ X7 v$ f' o6 D' Q+ w' K
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such! c! ]; U1 U& [7 k# N$ k2 {$ G. c( k0 u
  340. ; encodings.  To use this feature, mbstring extension must be enabled.. G" F& {2 ?9 n) G# j; r3 ~
  341. ; Default: Off9 ?: w7 _- ^7 l/ N
  342. ;zend.multibyte = Off
    ; @7 T) Z6 ?  v$ e6 I
  343. % t, k3 }' \3 ~4 p2 w+ W8 Z
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    , L6 y8 Z" m4 l
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    9 ?$ C" A/ a" |8 D( e8 z" l
  346. ; Only affects if zend.multibyte is set.
    % H9 e, L, Z2 u$ d5 _% ]
  347. ; Default: ""
    ( ?* r7 H/ o5 b! g! e5 l
  348. ;zend.script_encoding =- i5 D: b8 L4 \; `3 t4 _; _
  349. - ?9 t" Q2 h0 N4 f3 R2 T  F" A
  350. ;;;;;;;;;;;;;;;;;
    ' s2 |8 @. e# t& A0 ]
  351. ; Miscellaneous ;# K2 `6 k& L" `: T/ j! Q- a
  352. ;;;;;;;;;;;;;;;;;
    ! X! z) @. l5 ^  M% J# Y5 {$ h

  353. ! `+ [. L3 g" _5 p
  354. ; Decides whether PHP may expose the fact that it is installed on the server5 O, n) f1 @$ |  F" @4 N. O9 J
  355. ; (e.g. by adding its signature to the Web server header).  It is no security# f) J0 d2 s7 x
  356. ; threat in any way, but it makes it possible to determine whether you use PHP8 f. Q/ F$ V0 \  X! |- D
  357. ; on your server or not.
    2 X: Y, C# L# w% ~( X! D" k3 F4 q
  358. ; http://php.net/expose-php, K1 G: w0 {: x2 {  k7 R
  359. expose_php = On# [' ]+ V' S* G9 g! S
  360. & `" ?3 E2 l8 u, S; b2 _
  361. ;;;;;;;;;;;;;;;;;;;% i& s3 Q: i& G* C
  362. ; Resource Limits ;1 c$ g+ d# l9 I
  363. ;;;;;;;;;;;;;;;;;;;
    . f9 J- X. ~& L* A2 f+ I' V; F

  364. * S5 ~7 i8 I3 g+ X
  365. ; Maximum execution time of each script, in seconds9 h3 L! R9 j* k' E0 ~$ P1 ^+ Q
  366. ; http://php.net/max-execution-time
    ! Q% W  n' U; l
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI' F) ?$ l5 l3 m7 `
  368. max_execution_time = 300
    / R5 `0 p3 A  J% }: R
  369. 8 f. ~/ l: F: u7 |
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    " o6 M% a4 B7 t% w! A8 L6 t
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    % L5 Q' l2 Z0 ]8 p
  372. ; long running scripts.9 G, L& B2 l! U# L" N  F. K
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    " A5 ^1 M2 J) l4 N% N
  374. ; Default Value: -1 (Unlimited)  a# C+ E2 ~! [2 R( t
  375. ; Development Value: 60 (60 seconds)$ ]: P5 o% Q; Y$ o% F/ A6 n
  376. ; Production Value: 60 (60 seconds)
    - y6 L/ E0 C4 w4 d, X( j/ T; ?
  377. ; http://php.net/max-input-time
    # Y& D+ ~$ G7 q4 `9 q. G
  378. max_input_time = 60$ c; K( S$ J' Q2 U3 J8 E
  379. 0 ]! M7 y4 t) M8 x3 `
  380. ; Maximum input variable nesting level( u0 e( \/ _" N' J# |9 ]* M( f
  381. ; http://php.net/max-input-nesting-level
    * |, e! P; P0 O" B3 n  U; C1 o7 e
  382. ;max_input_nesting_level = 64
    ( g3 ^1 D( m- M) z0 v* W

  383. , ?/ e$ `! h% Z5 |1 _
  384. ; How many GET/POST/COOKIE input variables may be accepted
    : r) m. r: T: Q: O
  385. ; max_input_vars = 1000- ^8 P+ ^% R4 a: O

  386. 6 r% X  O7 X. l
  387. ; Maximum amount of memory a script may consume (128MB)
    1 ^: N( L1 H+ K8 _7 q: D
  388. ; http://php.net/memory-limit
    % Q1 {" |' }) |% k$ }
  389. memory_limit = 128M+ V  u. ]: g: H8 i; y

  390. $ \4 u" H/ a0 A1 V9 q
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;  t. Z+ r3 }4 e+ \
  392. ; Error handling and logging ;
    & K  c1 V/ N( I+ T! [
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+ a' A9 O7 I1 V2 b8 h& r; J5 {* F

  394. ) i& H+ V4 q5 y' l$ j
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    + D# W3 j" S" l& m
  396. ; it to take action for. The recommended way of setting values for this
    ' c+ C' d0 M3 z& p
  397. ; directive is through the use of the error level constants and bitwise
    1 k; C/ U# k/ n5 D2 c0 v2 k" ?
  398. ; operators. The error level constants are below here for convenience as well as
    ! K" ^; [, D+ A" R( d; K
  399. ; some common settings and their meanings.8 D! a* {8 z8 J5 S' X
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT7 C! E3 y3 ]2 S2 f- B, b: A* w
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    " M! U) Z& o+ ]: E( L2 u. ^% y
  402. ; recommended coding standards in PHP. For performance reasons, this is the- A4 w$ t0 {7 H+ b! z) T* U
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    , k: g+ z  S2 I: W/ [- k2 F7 Z; f  j
  404. ; resources complaining about best practices and coding standards. That's what
    6 v1 o; ~( [/ n7 }+ A
  405. ; development servers and development settings are for.% w  l: E6 q7 ~
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    4 U) d/ A5 _2 ]5 Q8 p" |* Z8 j
  407. ; means it pretty much reports everything which is exactly what you want during& `, h0 Y1 f+ D; m
  408. ; development and early testing.
    , c1 T$ [$ T: e; D
  409. ;6 A; C5 j* |8 C! T8 r
  410. ; Error Level Constants:, p/ x% A, |6 |/ I( ]8 l
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)2 w- A# k$ w  _3 e1 o
  412. ; E_ERROR           - fatal run-time errors
    ' V( K4 x8 N) {% G8 X# T* [
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    % h% Q7 V1 k: c: d  j4 e
  414. ; E_WARNING         - run-time warnings (non-fatal errors)$ }& |  ]" a8 d+ p; I+ x; z! K
  415. ; E_PARSE           - compile-time parse errors
    * J3 _# g( v4 z$ K" I3 `* r! O
  416. ; E_NOTICE          - run-time notices (these are warnings which often result" ^& @2 ?$ ?- b' |" F2 D3 ?- i
  417. ;                     from a bug in your code, but it's possible that it was# D1 R+ k2 i8 _- x) m. V3 d# z
  418. ;                     intentional (e.g., using an uninitialized variable and
    / L- O. ]: F2 ^7 A7 v6 n& N
  419. ;                     relying on the fact it is automatically initialized to an( i* ~6 i* X6 h
  420. ;                     empty string)5 |2 ]3 S( d8 K. J1 X4 j' B
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes9 d2 E  @* K4 ]) Q# m
  422. ;                     to your code which will ensure the best interoperability0 j3 J* R; n9 @, n
  423. ;                     and forward compatibility of your code8 H& _1 k* H% w9 z- x
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    - f, O1 U5 Y; Y) ~0 D& }) X' G
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ! q* ], A7 p$ a( n6 h) `) Q5 \& Q: Y
  426. ;                     initial startup: l6 E, W! m; N( x+ X8 C; a. k
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    " ^: G5 ?0 e. A  V! R4 G* J
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    5 |- l9 O: w2 |* D7 }
  429. ; E_USER_ERROR      - user-generated error message8 ~3 s  C$ Q7 ^6 j+ f/ z+ C
  430. ; E_USER_WARNING    - user-generated warning message
    5 \9 x, ~) o+ e: S
  431. ; E_USER_NOTICE     - user-generated notice message) l. D  Z! L# V# q8 t, I9 p
  432. ; E_DEPRECATED      - warn about code that will not work in future versions. w- x+ I' B+ ^9 z( E6 s
  433. ;                     of PHP
    & K$ G& n/ S: H  b. h$ f, O
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ; J5 K7 @' S$ g
  435. ;
    : b. Y" k3 q+ {1 G  @' V; V
  436. ; Common Values:
    " ?4 [% {  `% M+ A. H* \7 K# I
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)! o  i0 F) Q# n. a+ N& a  k9 y
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)$ w) ?( t+ B! c- |
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)* y8 P. }- i9 H( C2 ^
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    / V, f+ z. ?& X- P- X
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED$ \3 n3 Q" k# v/ e) S- g3 l
  442. ; Development Value: E_ALL" A: p7 m3 i& f) k" p) f5 q
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    : n9 k3 j' k0 ?0 d2 ]1 [- |
  444. ; http://php.net/error-reporting
    ( o/ [$ P9 C) \6 E' B" ^: ?; O! x9 H
  445. error_reporting = E_ALL & ~E_NOTICE
    $ |/ K; H/ b& y% a; C. W& _* [0 r

  446. ) K+ k2 c' M( `! U. @- E$ o% p* l
  447. ; This directive controls whether or not and where PHP will output errors,
    ) g. E: _9 b3 z3 D" D7 a
  448. ; notices and warnings too. Error output is very useful during development, but
    # s4 ^0 z' m  v% G: k- U/ i
  449. ; it could be very dangerous in production environments. Depending on the code3 ~% X* `) L* N0 b% q* n
  450. ; which is triggering the error, sensitive information could potentially leak
    . [  Q/ j8 `/ v! M" ?! a3 U
  451. ; out of your application such as database usernames and passwords or worse.
    7 {3 ^2 m& w' ~7 K2 }
  452. ; For production environments, we recommend logging errors rather than
    3 g& e" X) e! j& {
  453. ; sending them to STDOUT.
    ' {, c6 f3 z: }% b
  454. ; Possible Values:9 b9 a% W, r: ~
  455. ;   Off = Do not display any errors( N% q9 \' |5 _* e: Z) w2 G
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)' Z5 P/ a' ], o  o1 I
  457. ;   On or stdout = Display errors to STDOUT
    7 c6 i- A6 k* `/ q+ @" d/ }
  458. ; Default Value: On
    0 J+ y5 ?5 p  W, n* ?4 V: _
  459. ; Development Value: On
    & t8 C* |" l3 E5 E
  460. ; Production Value: Off: y. H2 O; k" V- F  Z
  461. ; http://php.net/display-errors7 t" W5 V& d$ K) N$ U2 O; D3 H
  462. display_errors = On' A7 h! J0 j' r0 ~

  463. 5 C/ H  W- L0 ~# O' l6 K; q, I8 v
  464. ; The display of errors which occur during PHP's startup sequence are handled
    7 A4 w8 z4 `- e: [8 g( v
  465. ; separately from display_errors. PHP's default behavior is to suppress those2 E( h0 ~! C" U, N- u- B" t
  466. ; errors from clients. Turning the display of startup errors on can be useful in" Z% g5 t2 d* s& o+ c
  467. ; debugging configuration problems. We strongly recommend you. t5 p( |6 E4 p: L) X
  468. ; set this to 'off' for production servers.
    1 `' i: f5 A0 n- ?- A* d: e
  469. ; Default Value: Off
    0 I9 W, N& V, \( d3 F6 \
  470. ; Development Value: On
    ! R$ H1 J6 H; k7 s& N
  471. ; Production Value: Off
    4 o6 v1 W/ F: n1 p- ?& U' {
  472. ; http://php.net/display-startup-errors; M$ }% ^: S7 f
  473. display_startup_errors = Off
    ) W( v) `& q1 j! u4 t) Q
  474. : P3 {. K' j6 F0 p* L0 @  w+ `
  475. ; Besides displaying errors, PHP can also log errors to locations such as a  P: Q6 C. ?  Y6 P- D
  476. ; server-specific log, STDERR, or a location specified by the error_log
    - w" G* X, P9 f4 W: u
  477. ; directive found below. While errors should not be displayed on productions
    ; l9 O: h8 s+ ^; {  q
  478. ; servers they should still be monitored and logging is a great way to do that.
    / x6 ]) e# C+ e3 ~9 S8 {% k7 b
  479. ; Default Value: Off
    ! K' z0 c# `5 G- j* ]( g
  480. ; Development Value: On% L* |& ^6 k, S" g' _
  481. ; Production Value: On1 S& `8 R& u0 ?
  482. ; http://php.net/log-errors1 B5 a# ^& o5 H9 ?- I9 R
  483. log_errors = On
    9 S! o" |5 i/ Z4 |+ u) f- V0 m
  484. % T' O% `8 e3 @
  485. ; Set maximum length of log_errors. In error_log information about the source is( }# I, O- [( \
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    + _1 {- l$ _7 c! y; W6 f/ R
  487. ; http://php.net/log-errors-max-len6 o) r$ T* [" [2 n
  488. log_errors_max_len = 10247 E* k7 r& t9 T5 u

  489. ! _% f9 I4 R  }3 ]! [8 ]
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same* t( A5 M% B1 I% Z% R9 r$ w- p4 k9 ?
  491. ; line unless ignore_repeated_source is set true.' w6 U4 O1 Z3 N$ A6 t
  492. ; http://php.net/ignore-repeated-errors6 @0 l8 m/ y, M+ ~
  493. ignore_repeated_errors = Off' D2 n2 T' ]7 e( y% e7 s9 o
  494. ! c: f! b& O/ @
  495. ; Ignore source of message when ignoring repeated messages. When this setting8 S6 s8 ]' h% X2 }; R3 T. e4 l8 o& y
  496. ; is On you will not log errors with repeated messages from different files or6 S- Z' w/ z( O. \+ c
  497. ; source lines.
    1 w, h" a7 z0 b* E4 I
  498. ; http://php.net/ignore-repeated-source. Q. _; J  O1 @& c, N
  499. ignore_repeated_source = Off
    3 S, ~2 b: h0 `  h( Y* M

  500. - w& S6 ?4 [& x/ Z
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on. Y5 m" \+ G' x
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    - g. e! W% w, i- g
  503. ; error reporting includes E_WARNING in the allowed list
    2 P2 H" b9 H- Y5 O8 _! s7 p
  504. ; http://php.net/report-memleaks
    - v. q- B2 K4 U! y  [6 E; U
  505. report_memleaks = On, y. r7 [) E" `" T( Y
  506. ; w& i0 ?! O9 S
  507. ; This setting is on by default.8 T& y% s0 z7 i& Y& q- X
  508. ;report_zend_debug = 0
    1 h# {0 H8 ?1 A: K8 D2 \

  509. 8 l, T7 K/ H9 J& Q7 p' K# u
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ' ^  t! A1 V+ r2 A1 L5 c
  511. ; to On can assist in debugging and is appropriate for development servers. It should. E* ?: h6 m$ }) j5 ~* ~- E& @$ u! e
  512. ; however be disabled on production servers.
    $ o1 {4 |1 `# v& i+ B$ X
  513. ; Default Value: Off% O) P& J1 g2 @! P9 L
  514. ; Development Value: On
    # X& Q) G8 m# g; O
  515. ; Production Value: Off
    4 d' i5 t7 @% v+ Q
  516. ; http://php.net/track-errors- Y5 S$ O, t6 U2 O
  517. track_errors = Off
    9 f3 n' Y4 @! {
  518. / W' s9 V5 @) G; z# @
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    0 T1 `* V3 ~* v. M5 {, t
  520. ; http://php.net/xmlrpc-errors
    8 N/ j. Z/ L0 {; p( @
  521. ;xmlrpc_errors = 07 ?8 V' `& s0 `+ Y0 R1 v/ f

  522. " w9 O! G) y. j  v/ S" x. E
  523. ; An XML-RPC faultCode
    4 S+ n3 B* m. M) M. d4 \6 ]& g
  524. ;xmlrpc_error_number = 0; n5 r, Y; e' b. P

  525. ) o2 q6 @: U# r( ~4 [: Q& ?
  526. ; When PHP displays or logs an error, it has the capability of formatting the) b0 U2 L* s& k2 \
  527. ; error message as HTML for easier reading. This directive controls whether8 X( V$ t0 ~" o" F& j7 x# c; l
  528. ; the error message is formatted as HTML or not.
    ) |! m0 {; |, }: ~: ?3 z' ]
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
      p' ~* L) K& F3 F3 |) _* t4 a, `- \
  530. ; Default Value: On
    5 n5 v9 H) b2 Z& [) @" H3 G; Y
  531. ; Development Value: On/ v; W8 H" {4 y2 k. @; z4 Q
  532. ; Production value: On6 A' a- c4 B3 }5 ^
  533. ; http://php.net/html-errors
    8 a/ M; d) g5 x4 \
  534. html_errors = On; m- \# s4 Z! a$ L% ?1 M

  535. 1 ~8 v' D. D5 V
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    : s! O; I4 K/ J$ n) S0 f
  537. ; produces clickable error messages that direct to a page describing the error8 J, \/ _! }# X7 S. E8 f$ R- u( Q! h5 d
  538. ; or function causing the error in detail.6 M& j% G5 }9 h8 R
  539. ; You can download a copy of the PHP manual from http://php.net/docs$ M) X9 j1 S% }# n$ {/ I$ l7 J
  540. ; and change docref_root to the base URL of your local copy including the. g4 I2 ^! X8 q" Q8 h% Q& }
  541. ; leading '/'. You must also specify the file extension being used including& Y$ {0 F: l: [2 y2 t
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which, ?0 P5 g1 }; q! D: c8 m% Q
  543. ; case no links to documentation are generated.
    5 I7 n0 I) l7 w- X
  544. ; Note: Never use this feature for production boxes.
    3 S' k- ?3 ?/ D4 z; h# I: ]6 w
  545. ; http://php.net/docref-root
    " K6 h) b4 X% k" O& a0 U; r
  546. ; Examples
    9 \# H5 L7 T- d' N! W4 B$ m% H; d
  547. ;docref_root = "/phpmanual/"3 A  x4 M- M, P5 L: k
  548. 2 y; A2 I  g+ e6 W% k
  549. ; http://php.net/docref-ext
    : A- e, W) s: W! J5 h4 P
  550. ;docref_ext = .html
    % M& @. w! L; @4 Y

  551. ( U% v! v% G5 N: W
  552. ; String to output before an error message. PHP's default behavior is to leave
    1 t1 M9 F0 }; C5 W8 F# W
  553. ; this setting blank.
    - y2 |3 {( |5 _" p! W5 E' A
  554. ; http://php.net/error-prepend-string
    - u2 I$ c8 Q, d2 u
  555. ; Example:
    * h$ n3 ?6 u: j% n
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    # }$ p$ M* J1 d. ?5 N# a& d- d8 x1 I

  557. / K4 l' |: t% z2 G# O. H7 w
  558. ; String to output after an error message. PHP's default behavior is to leave! E; [! D9 M. c8 Z
  559. ; this setting blank.* R1 y6 Y8 z" m0 ]5 r/ ?: ?% x
  560. ; http://php.net/error-append-string
    / o* N4 O( ~% K' v; X5 m5 D6 _) }( o
  561. ; Example:
    8 B. u- `: `5 E) i
  562. ;error_append_string = "</span>"0 ^+ e0 S2 p1 E4 l+ q
  563. . L4 N6 I3 _4 l8 A/ N2 I8 k, z+ j
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    " H4 ?: R) }1 c. f4 }
  565. ; empty.
      R) m8 ^$ G, k- r7 _& F# F
  566. ; http://php.net/error-log
    8 c: l  l8 L! M% Q- {
  567. ; Example:
    . W+ o) F- B6 w& X
  568. ;error_log = php_errors.log) s. s6 Q; h' [- c* \/ e' D
  569. ; Log errors to syslog (Event Log on Windows).: S( W9 w+ v* r
  570. ;error_log = syslog
      W- B/ K" X# w) H- o9 S

  571. * ]$ V# U! m# ^% }% R/ Z9 \9 s
  572. ;windows.show_crt_warning6 R/ X1 x% }% d/ K2 x, |. d9 z
  573. ; Default value: 0: u$ {" c4 `# x1 {; Y1 A
  574. ; Development value: 0- p0 O& R3 P# H- D$ i
  575. ; Production value: 0
    ) v. b/ H" i; \) S, M2 B

  576. 4 N5 q- g0 s" ?3 H6 C& ^; p
  577. ;;;;;;;;;;;;;;;;;
    + x4 ]5 g* I* Q6 G
  578. ; Data Handling ;
    7 i( k5 A1 U1 @% [' `, L0 Q
  579. ;;;;;;;;;;;;;;;;;6 Z& {8 E, x7 b
  580. , S1 Q; S- b8 ?1 p- s
  581. ; The separator used in PHP generated URLs to separate arguments.' |9 S- F; x& r/ m7 l. L& L
  582. ; PHP's default setting is "&".
    2 x; K6 T' ~$ y2 T8 ~: a
  583. ; http://php.net/arg-separator.output6 p. `( ^2 d) e- M" @# Z+ @( `
  584. ; Example:% F" ^$ n1 o. \
  585. ;arg_separator.output = "&"
    2 f& F9 R2 w, T' ?% {1 T5 U5 T
  586. 2 I; z7 a' Y. O  i9 M' N  e5 |: o
  587. ; List of separator(s) used by PHP to parse input URLs into variables.' w! x( s& H) q- y  _- i
  588. ; PHP's default setting is "&".
    5 S5 o* Y( f' u( E2 e
  589. ; NOTE: Every character in this directive is considered as separator!5 R/ n6 K! e5 }7 J1 e
  590. ; http://php.net/arg-separator.input7 ^2 R3 E, G  N0 C1 d
  591. ; Example:4 [& T$ P% f: P2 P+ q
  592. ;arg_separator.input = ";&"
    5 T8 N  N$ C3 d% L
  593. % A" m7 `$ f5 t' x) D& V& z4 a
  594. ; This directive determines which super global arrays are registered when PHP
    : i, m! }7 G- \1 c5 G
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    5 {: p, K! x, n) K! j
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty; k4 A6 ]" R  L) r) e  Z3 i
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    9 m5 Z& Z- m" j3 g$ q' a% Q& r
  598. ; used as the others, ENV is not recommended on productions servers. You& a* M% `- E7 F
  599. ; can still get access to the environment variables through getenv() should you. m  w/ B6 \$ ], }6 w  T
  600. ; need to.+ @/ L8 @8 o! y, H7 m
  601. ; Default Value: "EGPCS". J; g# z4 _. E. s8 |2 C
  602. ; Development Value: "GPCS"  b3 N1 a3 P5 ^. K+ Z: l% ]$ f. T
  603. ; Production Value: "GPCS";
    8 h3 P; l& M4 X
  604. ; http://php.net/variables-order
    6 O( I3 O5 _+ [+ \& V( n
  605. variables_order = "GPCS"
    : W6 C( ^" C, |$ C! N
  606. 1 q1 {- b* U6 B8 p6 R
  607. ; This directive determines which super global data (G,P & C) should be
    - v% b! T( y1 ~1 q8 C
  608. ; registered into the super global array REQUEST. If so, it also determines& w+ S6 W5 D3 A0 [
  609. ; the order in which that data is registered. The values for this directive* |; _+ }# [6 X. D" ]- y/ F* R) u
  610. ; are specified in the same manner as the variables_order directive,' X* z' i* q3 u) [( d
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    9 o' v, g- r* u+ Y7 b
  612. ; in the variables_order directive. It does not mean it will leave the super' k" n- l4 s. G6 g& F; f6 d" e- A
  613. ; globals array REQUEST empty.: W3 L7 ~& ~. ~6 w
  614. ; Default Value: None& p# ?8 }  S0 W/ {" T
  615. ; Development Value: "GP"
    * p8 y' [6 ~+ s( d/ ^/ X' B1 B. P
  616. ; Production Value: "GP"
    6 H, o' \1 B' b0 g- _! b
  617. ; http://php.net/request-order2 n- z4 R! k; k9 g/ F- h
  618. request_order = "GP"
    & l+ R. J# G8 d$ D- p7 M. z- E  f
  619. & a: H5 \+ I/ r, l2 k3 ?% \+ s
  620. ; This directive determines whether PHP registers $argv & $argc each time it+ u4 v. v$ J7 k' T& ?/ [
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script3 S' J" a; t" J$ M4 U7 q4 u
  622. ; is invoked. $argc contains an integer representing the number of arguments6 e; \" u; u! K' {' q
  623. ; that were passed when the script was invoked. These arrays are extremely
    3 X; o5 U; |' _) G
  624. ; useful when running scripts from the command line. When this directive is
    ' d  A7 b2 h% m+ U; s
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    - X/ h- {" p) p; B7 ^: j
  626. ; a script is executed. For performance reasons, this feature should be disabled  k1 G+ Y& }; a) U
  627. ; on production servers.
    # a6 t, V4 b! L7 J
  628. ; Note: This directive is hardcoded to On for the CLI SAPI! C8 ^4 M' N" }0 ]; O
  629. ; Default Value: On$ m) r' m, X% Q! S; L3 {
  630. ; Development Value: Off& a" J. q* \( {
  631. ; Production Value: Off
    ( c' @4 F/ M! H: @
  632. ; http://php.net/register-argc-argv
    ) g$ d. M: `! P
  633. register_argc_argv = Off" H! ^6 `: S% K0 j1 \+ z: D

  634. 1 x% j( Q: G! D2 A, O4 a
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're/ ]5 j7 |  G# I- M' z
  636. ; first used (Just In Time) instead of when the script starts. If these
    8 G& c* q. x/ I
  637. ; variables are not used within a script, having this directive on will result
    $ |, w( z( S7 }3 N
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    # |0 Q+ e1 B& L6 x1 v
  639. ; for this directive to have any affect.* z# p8 |  P# A& n# h
  640. ; http://php.net/auto-globals-jit% w: d8 A3 i) O) c  f* `3 `
  641. auto_globals_jit = On5 X( ?2 A8 o3 P4 n0 c# ~# R8 f
  642. ' b+ j5 m1 B; d1 x8 W  X( E6 [2 J
  643. ; Whether PHP will read the POST data.
    0 g' g7 ], e+ p8 ]8 m3 U
  644. ; This option is enabled by default.: M% h# u& h: L# _) H! F: _3 w
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST9 W9 w8 S9 j2 ^/ @5 ~/ z2 B
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    ! P( \. V* C# s6 F+ m0 g* o( D# O
  647. ; POST data will be through the php://input stream wrapper. This can be useful7 d. N. o% r0 z8 U* H: T
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.) f( ?, t1 k& J* g$ C4 `
  649. ; http://php.net/enable-post-data-reading* C. N3 q" y7 G: L
  650. ;enable_post_data_reading = Off2 K0 |; V& F! m8 l5 P+ n% F
  651.   J! H! L5 R/ ?0 d5 B1 j
  652. ; Maximum size of POST data that PHP will accept.5 `# k7 q9 h3 R4 x
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    " F4 w" {' O  P% C
  654. ; is disabled through enable_post_data_reading.: v: |) s" N& x8 W: g" w& J
  655. ; http://php.net/post-max-size3 |$ M, L8 W" l7 a# Q
  656. post_max_size = 50M
    4 w3 L/ ?  K9 k7 e: n
  657. ; m6 G8 g# @) j/ G
  658. ; Automatically add files before PHP document.* o7 s7 L1 a" ?- z( ?. Q- F
  659. ; http://php.net/auto-prepend-file
      m" r! K4 X! _# F; J
  660. auto_prepend_file =
    ' r+ o! l2 m) j8 E9 u
  661. 3 e0 v5 A+ r- O+ K4 [& E! Z3 t
  662. ; Automatically add files after PHP document.2 @6 @" C/ _  X+ @1 V/ i' f" E3 }
  663. ; http://php.net/auto-append-file
    5 e% K+ F4 T1 D2 @6 K
  664. auto_append_file =& v$ r- j6 W8 \

  665. ) D( A% b7 t; ^6 M
  666. ; By default, PHP will output a media type using the Content-Type header. To' p$ ~( P6 [& P0 a
  667. ; disable this, simply set it to be empty.
    , Y. p: k5 `2 y4 B" t0 ^
  668. ;6 x  q  u/ N; R* L
  669. ; PHP's built-in default media type is set to text/html.- J* Y$ @# \$ {6 p6 i
  670. ; http://php.net/default-mimetype$ H4 ~" p. f  x4 v  V- j& R
  671. default_mimetype = "text/html"- V" }4 K9 w' P' O
  672. & |1 \$ T  ]3 o. w" I: p% Q
  673. ; PHP's default character set is set to UTF-8.
    + m  O1 ~3 |. u
  674. ; http://php.net/default-charset/ Y& ~$ N( w" T& _9 o6 A
  675. default_charset = "UTF-8"
    % O/ @3 O0 V$ _: s4 l, B
  676. ! @2 l7 ]/ O. B
  677. ; PHP internal character encoding is set to empty.
    . ?# @/ y& F6 M. ~: g( O7 ]; a
  678. ; If empty, default_charset is used.
    ' _7 Q8 V5 ~, g) O2 q4 c3 o& `
  679. ; http://php.net/internal-encoding
    ( W4 }) ^6 ]/ n$ H; ^
  680. ;internal_encoding =7 ^, w0 g4 O* s

  681. 4 J- {) M0 M: R
  682. ; PHP input character encoding is set to empty.# q! z8 _+ o& L& E- J% V
  683. ; If empty, default_charset is used.3 M& j* A0 }% `0 Y
  684. ; http://php.net/input-encoding
    ( r: U+ h' c7 ^, t
  685. ;input_encoding =
    ' J# D# |* N7 d0 J

  686. % o6 i$ r! T, p# `
  687. ; PHP output character encoding is set to empty.
    4 W& K, o( q; v; Z* y
  688. ; If empty, default_charset is used.
    / t7 s4 N- o) m1 O
  689. ; See also output_buffer." S5 X) e0 z! d- V# A! n
  690. ; http://php.net/output-encoding
    9 H( P0 c8 W( z5 D$ s
  691. ;output_encoding =
    + _  x% Z5 L$ H) T: R) C

  692. 9 r( l# ?: q/ D* J
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;  S, y4 l( J  l& N5 Q8 o5 `( V. u3 E- G
  694. ; Paths and Directories ;+ j) c7 ?: U& j' T
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;" r" q7 ~! N+ N( `6 ~- {6 t
  696. 2 s' z7 A# x2 |/ w9 o6 M( e2 ~- y
  697. ; UNIX: "/path1:/path2"
    7 z# C* H+ y( P5 o5 Y
  698. ;include_path = ".:/php/includes"# L- Y4 j$ |! [: W& D
  699. ;
    " y7 m' `3 Q* |3 k8 \' ^! r2 p) \
  700. ; Windows: "\path1;\path2"5 |5 p1 B) _& d$ Y" [
  701. ;include_path = ".;c:\php\includes"
    7 f  q% `% d+ y+ t' J/ V4 B
  702. ;
    ! \/ W& V! `* r/ n' O# p* [# b. g
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"1 O' l( ~# G2 r, K
  704. ; http://php.net/include-path' R. H( {5 V, u4 J
  705. 4 K4 F. r( K. ]. s8 q  q
  706. ; The root of the PHP pages, used only if nonempty.! O, |4 W9 D/ q) N
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root6 @$ V: {& A' Y" |, c" A4 S4 F
  708. ; if you are running php as a CGI under any web server (other than IIS)
    ' ^7 {* H" a3 \& q4 x$ k
  709. ; see documentation for security issues.  The alternate is to use the
    % H  B4 o3 l' @5 v# ^* x2 E
  710. ; cgi.force_redirect configuration below7 v) ]5 T3 N4 f% m* n* J
  711. ; http://php.net/doc-root
    ( K, ]" m3 f! l. `8 D; P3 x+ j
  712. doc_root =
    # d. D$ E. V+ h, D( x$ d
  713. # g- c9 f9 j6 g. ^
  714. ; The directory under which PHP opens the script using /~username used only
    # i8 c, w( r  `6 F4 s! i5 B' K
  715. ; if nonempty.4 V1 \7 T6 p( A, K
  716. ; http://php.net/user-dir
    , `- X7 ?) S$ |) S
  717. user_dir =! `! ~; N) S. l: Q- S9 Q$ i8 r+ U

  718. - v: ~/ O, i4 C; p+ r/ g" P' v
  719. ; Directory in which the loadable extensions (modules) reside.9 ~9 P, A7 a% ], Y
  720. ; http://php.net/extension-dir
    / `  B/ y3 G' R) F: y# f
  721. ; extension_dir = "./"% v* J: @/ P8 \: P; u, h: ~6 Z
  722. ; On windows:
    8 T) y5 \3 {; ~
  723. ; extension_dir = "ext"
    ' Y5 o9 d; _- F& Y
  724. : e: _/ x9 x# l4 J3 o
  725. ; Directory where the temporary files should be placed.
    7 O+ j3 u  N& J0 u9 h
  726. ; Defaults to the system default (see sys_get_temp_dir)
    ( H4 w3 g/ T  a
  727. ; sys_temp_dir = "/tmp"1 o# B- r& T' E" `/ L! e
  728. 9 W# x3 h, F0 @  _
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work0 n) F' k% i$ [/ v7 h3 M3 R' H
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    2 h( _: L- I# `8 X2 x" m; @
  731. ; disabled on them., w' A3 F# R( U1 D6 E. V
  732. ; http://php.net/enable-dl
    8 C: G- P' R/ I( N3 z+ i
  733. enable_dl = Off
    9 m* ~! m% }* i; m2 G4 f; g" J
  734. ' ~# v4 R' C4 q8 L9 T; ^
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under4 w( u! f) p( x: I' d2 b1 p( q& d
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can! I: D4 c+ W* U: V" Z4 e& @
  737. ; turn it off here AT YOUR OWN RISK
    # M& h8 @( n) g; I
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    + ^4 ]# j. I- p+ Y' x" r2 q# C0 e1 [
  739. ; http://php.net/cgi.force-redirect  Q' j! I4 t2 C5 f
  740. ;cgi.force_redirect = 1! ^; y* \" g; _  H. J2 E
  741. ' m# ?0 ~, V* z8 a' {  d
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with) b& G  A9 O* Q- T+ k6 u2 T
  743. ; every request. PHP's default behavior is to disable this feature.
    , Z1 n( z& b9 B* Q' O- Z" ?0 ]
  744. ;cgi.nph = 1
    % a! h+ [! M+ |
  745. ) t2 P( X6 [4 e! F4 o
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ! v1 ]# r/ g  K+ W
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP( M) h3 F/ ]; S/ ^. R7 x  v
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ) `9 G2 X1 c# J% d1 h* s8 K1 b& ?, P
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.) K  b& F5 W% c
  750. ; http://php.net/cgi.redirect-status-env0 z/ {8 X+ J! H0 l- S+ m
  751. ;cgi.redirect_status_env =* \( ]. N5 ^! p6 m2 u1 C& h( m

  752. & V- c, \* ?3 E( j5 u
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    2 W; w# H" f* J; E+ d  j! ]% M8 C+ N
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    / Q" }  D, R0 f& ]1 t
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    % W' n( X: I& Z* D3 c  ~
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting0 C6 c$ Z7 J, X3 [$ ^* [1 {
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts% D, o9 l+ F8 R
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    $ {( k9 E6 A+ m
  759. ; http://php.net/cgi.fix-pathinfo! H% O. j# A* `0 R8 L! R
  760. cgi.fix_pathinfo=1: G2 K- G  i9 p

  761. 7 Y( w" Y# Z- }& c: u/ q
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    / _/ h+ \$ `" ~7 F, f$ ^! x
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    + G' T4 @; G5 q' M2 h3 D
  764. ; http://php.net/cgi.dicard-path
    8 F/ a% p  C) g$ F: Q
  765. ;cgi.discard_path=15 _& {7 S: P/ I! h/ a- @+ n+ h

  766. ' w4 i4 H: m* J. z4 a  j" z6 k% ~) D
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate% L' p- m: l& \# B+ r# S: R
  768. ; security tokens of the calling client.  This allows IIS to define the
    4 o7 M* B9 k: [$ u" \
  769. ; security context that the request runs under.  mod_fastcgi under Apache2 q9 [1 }* I5 X- w' H; B- `/ {
  770. ; does not currently support this feature (03/17/2002)
    6 W, v  k  S8 m5 A
  771. ; Set to 1 if running under IIS.  Default is zero.0 d) h2 n6 C! W1 f" }6 e4 ]; j
  772. ; http://php.net/fastcgi.impersonate+ \! s$ o5 A8 ^( Q7 p2 }
  773. ;fastcgi.impersonate = 1# e: E5 o3 L' l+ y; \
  774. , C( u5 n2 [2 h
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    + O; I  d# d& O+ e. L
  776. ; this feature.
    6 B6 n3 N$ N5 P: h+ o. L; y! Q
  777. ;fastcgi.logging = 0
    $ }, T2 \2 Z0 e

  778. & b5 ]9 F3 L( f' @% ]5 S
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to9 T- z5 f. }% y) W' s
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    / W7 m0 b0 G5 @# B- s
  781. ; is supported by Apache. When this option is set to 1, PHP will send) w' W+ I0 W/ G: `* m3 `# x
  782. ; RFC2616 compliant header.) T- ]" I* `" k3 A
  783. ; Default is zero.$ [, i% y$ I7 b. U1 H; O# f
  784. ; http://php.net/cgi.rfc2616-headers
    ' l5 F+ i* n. n4 G1 h# f/ e
  785. ;cgi.rfc2616_headers = 0
    3 i/ c+ o6 g2 w# z+ K& {

  786. ( K$ _8 k2 k) y; o
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!2 L) E7 c1 Y; D, a
  788. ; (shebang) at the top of the running script. This line might be needed if the9 t" k' g' l) G8 q: Q* o6 u
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI! n7 `* u9 b0 _) H# P
  790. ; mode skips this line and ignores its content if this directive is turned on.4 E' {& m# N0 W( b
  791. ; http://php.net/cgi.check-shebang-line
    + B+ i* |3 U& ?) b" {1 g0 v
  792. ;cgi.check_shebang_line=1
    2 X6 o, {$ e  s  G! J) W

  793. * V! O; F) Y) V* D. m- P
  794. ;;;;;;;;;;;;;;;;; j+ c, \, l3 O$ k8 T! v
  795. ; File Uploads ;
    : @& {9 Q4 _& x) X
  796. ;;;;;;;;;;;;;;;;
    8 I/ q$ l+ [) }0 Q2 V

  797. " `6 P& L$ l1 S( |
  798. ; Whether to allow HTTP file uploads.# n/ k& d' m8 T- W- @, _7 J
  799. ; http://php.net/file-uploads
    + U' Y0 C, ]5 W8 U
  800. file_uploads = On% q( p( F" H/ X; W7 L
  801. % ^7 @: ~# C9 _, m
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    , J$ h; o- {1 V& }! a
  803. ; specified).
    # O8 A/ Y/ Z9 j+ h) q& \' u  F4 a
  804. ; http://php.net/upload-tmp-dir
    ; {% C1 ~! v: z% t. Z$ }+ g, R
  805. ;upload_tmp_dir =7 O  Y5 f: V5 w

  806. 9 L  B: i( ^3 d: o! L  q( c5 ~9 i0 B
  807. ; Maximum allowed size for uploaded files.3 B( i% {- R, x
  808. ; http://php.net/upload-max-filesize
    2 h$ c5 D8 P5 z5 K
  809. upload_max_filesize = 50M
    $ {2 w$ m2 r( a
  810. * M, O" M8 W7 D. z" B' x- r
  811. ; Maximum number of files that can be uploaded via a single request( Z8 \3 C" l4 c; _* p
  812. max_file_uploads = 20
    0 M/ {; ]: y. v+ W
  813. 8 x9 _5 b. O8 f7 h( h/ j
  814. ;;;;;;;;;;;;;;;;;;
    6 x$ u1 z3 d3 T4 M7 ~2 t8 r
  815. ; Fopen wrappers ;
    ! A( B6 H. i1 ?/ D5 l  ]0 r
  816. ;;;;;;;;;;;;;;;;;;* H% E/ b9 A8 h- s2 p7 h
  817. 9 u7 x' N* N! |) `! M* S3 r. N
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    0 I, a9 V" y7 ~$ \
  819. ; http://php.net/allow-url-fopen
    9 X4 a. S" J5 u" e1 ^& J1 a
  820. allow_url_fopen = On
    5 A3 I: V& |; K5 A/ C/ y

  821. : l% M' a( N; k/ J- Q
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.; S# u3 V* V/ }5 Y$ z0 K2 X0 z
  823. ; http://php.net/allow-url-include
    - u  ]- _, ^( \2 [0 M
  824. allow_url_include = Off/ I. X( |7 @5 ~2 y+ R

  825. ) F; i* ^% `+ ^$ Y: G
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    % m: O; E# e; F. B! C) M3 |
  827. ; for this is empty.+ W7 s  v, E# N9 B: J4 E
  828. ; http://php.net/from
    - e/ p: L; E5 q( P7 o! d8 I- ?
  829. ;from="john@doe.com"
    " i0 v" |5 P; `6 M* [

  830.   B* ?+ h6 _; O; e) b" J* ?
  831. ; Define the User-Agent string. PHP's default setting for this is empty.' f: J) L; _: r! w+ V# Z
  832. ; http://php.net/user-agent$ q1 K1 A) m4 B( S# b5 E& |! F* |2 [
  833. ;user_agent="PHP"
    " G- i3 V2 ]2 ~# {
  834. 0 u4 Q6 i" c3 X- h! a) J; i
  835. ; Default timeout for socket based streams (seconds)- o& S: e8 t5 O$ j0 b
  836. ; http://php.net/default-socket-timeout
    : ]; H0 K& I9 M8 ]3 A2 X& b
  837. default_socket_timeout = 609 h* k2 y6 I# P, [

  838. 1 X8 C) n$ b+ w2 d( s+ k& ~
  839. ; If your scripts have to deal with files from Macintosh systems,7 [9 R, j, i* o% H
  840. ; or you are running on a Mac and need to deal with files from
    ' u, H* S' b* [0 o7 U$ {: Y
  841. ; unix or win32 systems, setting this flag will cause PHP to( l. L: r$ F1 G, G
  842. ; automatically detect the EOL character in those files so that
    , }% _9 S# k- v9 J# k( n6 w
  843. ; fgets() and file() will work regardless of the source of the file.! [* G! }5 X1 I; ]
  844. ; http://php.net/auto-detect-line-endings
    8 I- ?6 G8 _* S% v) M& L
  845. ;auto_detect_line_endings = Off  a2 l# w6 K; q3 n) i% y9 t

  846. , n! i$ R1 Y# i; _: {1 O7 A
  847. ;;;;;;;;;;;;;;;;;;;;;;! q4 Q2 J! i  E. Y- |" F/ V
  848. ; Dynamic Extensions ;
    $ W. @1 j1 J( g/ {% K+ w
  849. ;;;;;;;;;;;;;;;;;;;;;;
    1 p% _/ d6 w( T! E9 e
  850. 0 }0 `, @: m& c& K- x2 B
  851. ; If you wish to have an extension loaded automatically, use the following3 Z! ^3 s+ Z+ A# I. ?; ^+ ?( X
  852. ; syntax:* f3 p4 l+ x( }4 w) `$ r
  853. ;
    5 Y0 \+ b' L. E: _+ \+ y3 L3 h6 F
  854. ;   extension=modulename.extension4 I& x( E% X: b0 V
  855. ;
    $ A$ L; t* s  {# N
  856. ; For example, on Windows:
    # w% Y8 \! v! Q# N- t" r/ B, X) `
  857. ;
    7 W6 T' O  p$ o4 y
  858. ;   extension=msql.dll
    " ?2 V* E5 _. C. D1 T
  859. ;
    ! Z( P7 O% E! y. A' U8 O
  860. ; ... or under UNIX:( ]$ q' l" G7 Q" k
  861. ;
    % r! d# _" z: k* x
  862. ;   extension=msql.so8 i  d: z- _; D1 V, J7 G
  863. ;# T& o$ B/ n9 Q+ k- A' [% i
  864. ; ... or with a path:( I4 ]- U  ~/ [# W; ]: X8 o
  865. ;
    6 B8 ]# ?7 i: g6 D4 R# D" Q- i
  866. ;   extension=/path/to/extension/msql.so4 ]% n* B$ j6 X5 _, f4 f
  867. ;
    ' y7 p: W8 ~: C1 J3 f7 C
  868. ; If you only provide the name of the extension, PHP will look for it in its
    4 Y0 B' |( f& V3 X0 R
  869. ; default extension directory.
    2 c9 S7 Q9 e! j  k2 N! D+ a) V
  870. ;2 O2 p0 ~4 K) J5 C9 o3 ?
  871. ; Windows Extensions0 ~/ |" O9 V9 ~4 K/ j' h1 c1 V+ U
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    $ T! J% n" ]* t- }6 l( w/ S
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    - x$ b; c5 o2 r8 k* A" S
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    7 I+ Z8 [4 e  y) A& j5 X
  875. ; Be sure to appropriately set the extension_dir directive.
    " ]  y7 G; B$ ^3 U+ }
  876. ;
    ( u2 l; `! U) `" M
  877. ;extension=php_bz2.dll
    : t# m+ R& e; r4 H+ K5 a
  878. ;extension=php_curl.dll
    : O+ {" ]. ?% N  W
  879. ;extension=php_fileinfo.dll2 M- O4 @$ ?$ L) P$ y: ^9 g9 _/ U; ^
  880. ;extension=php_ftp.dll
    " b) S6 R) n3 [. i- p
  881. ;extension=php_gd2.dll
    3 d) v. J  k8 i3 g% a* ]
  882. ;extension=php_gettext.dll. X7 w& w7 k, m& r$ Z
  883. ;extension=php_gmp.dll
    ) ^$ {4 i$ l7 S" x" ^9 ?2 v1 o
  884. ;extension=php_intl.dll% B. g3 U* r7 {; I% n- a
  885. ;extension=php_imap.dll8 N- ~4 x, w6 G" x0 E1 M
  886. ;extension=php_interbase.dll
    2 N! O2 E3 W" ?; J5 X1 y4 P; p
  887. ;extension=php_ldap.dll
    7 w: _1 @0 K# S( y7 n) L9 D1 v
  888. ;extension=php_mbstring.dll- r) P+ ~- V; E3 e# e5 p& J
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it+ o6 \% h$ `, N/ h; p  O/ i3 b5 y5 w
  890. ;extension=php_mysqli.dll
      x: Z9 ]: h7 D2 m5 b9 X
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client5 C3 |1 o% @* R- }
  892. ;extension=php_openssl.dll& M: R$ h" e$ l! ~/ s
  893. ;extension=php_pdo_firebird.dll
    * [, E0 C! t& }- q
  894. ;extension=php_pdo_mysql.dll
    8 O; k$ [; ]& n+ s5 J, k  c
  895. ;extension=php_pdo_oci.dll2 Y  ]6 ^* U, ~: B# @& m
  896. ;extension=php_pdo_odbc.dll! `8 [0 U) M  M. D: b
  897. ;extension=php_pdo_pgsql.dll
    6 o# r7 R$ ?$ O8 v" d  |
  898. ;extension=php_pdo_sqlite.dll
    , m/ J1 W# C5 y, L
  899. ;extension=php_pgsql.dll
    8 u! J* v6 f6 A7 w7 c
  900. ;extension=php_shmop.dll
    ( H3 i3 a' D8 S! Q2 A% l9 ]

  901. 3 A/ ~3 }- J  U
  902. ; The MIBS data available in the PHP distribution must be installed.0 \' J% b- N5 N7 o3 Y8 \
  903. ; See http://www.php.net/manual/en/snmp.installation.php- e3 e+ y- |$ k. i$ y
  904. ;extension=php_snmp.dll$ W0 T- C" |4 k, o. D# t: |
  905. ! ^0 C3 P1 x' d
  906. ;extension=php_soap.dll: C. N$ x  \3 A; R8 x6 r$ O8 [
  907. ;extension=php_sockets.dll
    : R( q! q9 L2 H( m
  908. ;extension=php_sqlite3.dll
      ~% x2 z5 s, v% ~
  909. ;extension=php_tidy.dll
    . O0 Z: \- x& A2 q
  910. ;extension=php_xmlrpc.dll
    % K/ j7 h/ |- `4 J  y. X" G
  911. ;extension=php_xsl.dll
    5 h8 L0 ~" Y# [' _6 y
  912. ' A! Z/ [" r4 D& C1 o/ B
  913. ;;;;;;;;;;;;;;;;;;;
      K" T2 H- ~- z5 y+ t; E# K2 h' h2 f
  914. ; Module Settings ;9 j) i. U2 f1 s( H% w
  915. ;;;;;;;;;;;;;;;;;;;
    8 w: D# t# c4 f
  916. " Z( n1 Z* }/ F
  917. [CLI Server]
    3 @8 u; V5 x# T& {. }$ L
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.7 u. h, x4 R6 j1 L% r
  919. cli_server.color = On; Z8 [5 @4 T+ ^8 P7 s& f& t

  920. ) h$ q9 R  O8 M& m0 C/ J9 [+ \! f
  921. [Date]
    5 }) g0 O1 k! D3 O; c
  922. ; Defines the default timezone used by the date functions
    * w! R  q$ B% ~# g5 d9 W
  923. ; http://php.net/date.timezone1 c7 [" s, q4 C$ M7 O: R0 |1 R1 [
  924. date.timezone = PRC' u; y  }1 U2 K1 M$ f
  925. % i7 |! l* S2 _6 H! c5 @
  926. ; http://php.net/date.default-latitude
    , J% c, e3 H: P5 ]
  927. ;date.default_latitude = 31.7667
    $ T5 H+ Y0 ^" @8 e2 B9 D

  928. ) Y8 Y8 P4 `. |1 G. R% A
  929. ; http://php.net/date.default-longitude7 ^( M# {+ q2 M6 M' C9 K6 Q( g3 @  F
  930. ;date.default_longitude = 35.23333 x; U- I6 h& `6 Q7 ^
  931. 7 D- o. z1 Y, Z/ c  o6 F
  932. ; http://php.net/date.sunrise-zenith
    % m: L+ q6 s: R/ a& G( T7 {# p
  933. ;date.sunrise_zenith = 90.583333# l' Q! f3 E7 ]9 a0 j$ z
  934. & f+ u, @# i* ^9 J/ `
  935. ; http://php.net/date.sunset-zenith8 R5 k3 Y- i+ r; x% q
  936. ;date.sunset_zenith = 90.583333- f2 L: S# U- M1 O
  937. : v( O( v* @; l2 @; M" ^% P" L
  938. [filter]
    - L* `* o& L& B" [  b$ e  Q
  939. ; http://php.net/filter.default4 U4 \5 {0 j  K' c! I- A; F
  940. ;filter.default = unsafe_raw% R* d+ I, U3 R* ~5 }  u

  941. : _& [4 K8 L9 M6 N% n
  942. ; http://php.net/filter.default-flags
    + v5 @- @' O4 H3 A- w
  943. ;filter.default_flags =0 X6 G4 k. p; ^( d2 ^0 s- Q; c
  944. + a  V" ]0 b- `- o1 n
  945. [iconv]8 f* Q; Q9 z4 w9 h; k! _# C; \! i/ s
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    / G4 t$ K; e5 s8 e: `2 m) T; p
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.% D: T1 }$ Z0 _% u4 ~
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding% f* i% s- _2 B
  949. ;iconv.input_encoding =# y- z9 ^, z) `: g6 G- e" o% I

  950. 7 _9 N* ?5 s5 h8 f9 j$ |5 A% P( i4 s8 V
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    4 A* j- v# ^% E; o1 d/ f
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    $ g8 r, K3 B8 r- V8 l$ t
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding0 e5 ~) H) r/ h+ @! z  Q- a8 c
  954. ;iconv.internal_encoding =" z3 A  I. q. T) U: z$ n
  955. # a2 p; u7 a. `5 Q1 u
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    - I1 `! B0 n) V
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.# n8 {* I3 `0 Y# C1 p; B
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    & O, X  l( }% X/ |+ Q( p) j7 _9 ?
  959. ; To use an output encoding conversion, iconv's output handler must be set( C5 k  }' D: r+ ?7 b) O
  960. ; otherwise output encoding conversion cannot be performed.
    4 o* X! G# }1 Z3 T& j
  961. ;iconv.output_encoding =
    4 C2 T+ J7 z+ A" M4 c5 l

  962. ! F  U  |; S1 {" c, B3 W5 Y; {
  963. [intl]
    : u6 @2 b7 i3 @1 v* r' |' F
  964. ;intl.default_locale =
    3 v8 h0 n+ x) v( ]
  965. ; This directive allows you to produce PHP errors when some error$ B+ X: G: v6 J' E) f) p9 H
  966. ; happens within intl functions. The value is the level of the error produced.
    6 M7 T2 _3 D; C8 c1 G; _" `
  967. ; Default is 0, which does not produce any errors.. p9 n3 K" a' ]0 X" W
  968. ;intl.error_level = E_WARNING
    4 t& k/ G' T/ p! E8 I7 P8 }; w. a8 [
  969. ;intl.use_exceptions = 0- f3 p8 ~' Q+ Y& x6 F
  970.   z7 _2 o& j4 {6 [: [( {
  971. [sqlite3]* k! H; B% b/ Y4 l; F2 \
  972. ;sqlite3.extension_dir =
    2 I& J2 s9 Z; z, }9 E- X4 ]& H4 B

  973. + A3 }/ A) e1 q' ^) J+ z& X
  974. [Pcre]
    : c) r1 {, A/ L/ W' O  D- a
  975. ;PCRE library backtracking limit.+ h9 {8 n* ]  P) l( W# n, @
  976. ; http://php.net/pcre.backtrack-limit2 o1 n1 t' l/ L6 u6 n
  977. ;pcre.backtrack_limit=1000005 f5 u2 f) V5 k  c

  978. 3 V4 n$ g/ }1 d/ q
  979. ;PCRE library recursion limit.
    . d" Y4 f2 D4 A
  980. ;Please note that if you set this value to a high number you may consume all$ v0 d& X( B3 |
  981. ;the available process stack and eventually crash PHP (due to reaching the+ O% M/ N/ O3 {, r* R3 I
  982. ;stack size limit imposed by the Operating System).
    8 d1 Z6 m* W1 p' [6 j" @
  983. ; http://php.net/pcre.recursion-limit
    6 g2 |# |* `7 o2 A1 I( L
  984. ;pcre.recursion_limit=100000
    3 X. {3 B6 @- U7 k4 m! H3 P
  985. 6 O4 Z- r0 `* J# w
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE2 v$ b5 J/ P0 h8 ]
  987. ;library to be compiled with JIT support.
    ( ]: e2 T. e& \* N. ?
  988. ;pcre.jit=1
    : M. d. U& ~% M7 J. m" q

  989. ; |" z  W1 \( j( m$ s4 K3 K
  990. [Pdo]( O! K- W4 E  G) X8 R6 F5 `& N
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"/ z5 z1 K$ H2 h% w. ?3 \
  992. ; http://php.net/pdo-odbc.connection-pooling
    0 f/ s: m1 M' j7 Z" p+ w3 i
  993. ;pdo_odbc.connection_pooling=strict
    ( \$ [7 {5 y/ @# C4 @! ]5 C) z
  994. * N) k5 t# g5 {& r# T+ V
  995. ;pdo_odbc.db2_instance_name
    - J* p% X- [$ Z, h1 i, m* K+ V
  996. # `% h- H; r4 F& w0 f6 z: y
  997. [Pdo_mysql]
    - M1 k5 S' K- l/ e$ U
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache# l0 t" f( m3 W9 Z; |
  999. ; http://php.net/pdo_mysql.cache_size; o# I8 O! V) e+ ?4 N, q# P$ l
  1000. pdo_mysql.cache_size = 2000, E- p7 [0 W: C. r6 t5 H
  1001. 9 p# v! ^( w8 U7 B' M. w" K
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in* ~) n/ I: ~. m. G! }8 ^2 X" ^
  1003. ; MySQL defaults.6 s, g2 u. j4 }
  1004. ; http://php.net/pdo_mysql.default-socket
    ! r$ m, L$ I( R9 K5 z) \% U% @
  1005. pdo_mysql.default_socket=# M+ {6 x3 C' B
  1006. 4 g) e2 M1 I$ Q) g' x3 x
  1007. [Phar]
      h, y4 c/ _& m
  1008. ; http://php.net/phar.readonly2 d9 I- u" [$ u" P
  1009. ;phar.readonly = On4 a2 N( M: K& `

  1010. 3 S2 ]; a! |* N
  1011. ; http://php.net/phar.require-hash
    1 j4 i& z, h) L6 n( V
  1012. ;phar.require_hash = On
      n: Y' {9 P! f) L/ o$ O1 X. T) E: ~
  1013. 0 Y( C- d4 z/ h6 e1 Q! [
  1014. ;phar.cache_list =8 _6 H8 g% ]% g; i/ T

  1015. , T5 b! X* E( V1 f0 R
  1016. [mail function]1 d% h. {0 Y" m2 f* T1 t/ e
  1017. ; For Win32 only.
    ' T! v- c0 U4 r% X, B
  1018. ; http://php.net/smtp
    7 B: Y& `5 |8 n* D% U
  1019. SMTP = localhost
    % G# k$ g6 \. E
  1020. ; http://php.net/smtp-port3 D1 }  R% V: k4 r2 q
  1021. smtp_port = 25" l5 Z4 q: ~4 X. _; F& l" G
  1022. ) q) y4 x. k6 h& B, l" }  S
  1023. ; For Win32 only.6 `: `* k0 ~4 B. k0 {# \
  1024. ; http://php.net/sendmail-from
    ! g, ]4 j8 I/ Z; s: ^" _
  1025. ;sendmail_from = me@example.com+ I; K8 l" Z( P, P* n8 W) [

  1026.   I& D2 y2 v5 L& x$ v5 d7 R$ T
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").9 S5 D' }, N" U7 x3 f8 h
  1028. ; http://php.net/sendmail-path
    ( {  b7 X( {' J& _& T
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    $ ?8 _7 p/ r; c* A; y3 ?9 a5 }: N

  1030. ; J+ e4 F% \- ]2 L; R' A
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    / w# m3 G6 Z& g' H
  1032. ; to the sendmail binary. These parameters will always replace the value of
    4 \4 w$ _! E$ @$ E  w& K
  1033. ; the 5th parameter to mail().
    # C$ K) [) ^( l" x3 Y
  1034. ;mail.force_extra_parameters =4 }7 n' T. \) {
  1035. . g+ S" ^- y/ d' M9 D* M
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename& {2 ]& W& t2 b1 ^
  1037. mail.add_x_header = On
    $ U" s( a7 f6 ]( g, O7 Z
  1038. " ?2 v  l' _9 \
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    ( E$ M& l) x2 u  V
  1040. ; the full path of the script, line number, To address and headers.
    $ {+ P. k' U$ |$ Z) N9 h. u
  1041. ;mail.log =# z2 {  E4 S8 m/ g7 v7 t- L
  1042. ; Log mail to syslog (Event Log on Windows).% F/ P# v# M9 u. `- Q: ~. {" i1 y
  1043. ;mail.log = syslog; B/ a6 @: v! C7 H: j2 X" w

  1044. + f2 k' P/ P' z4 i4 ?, D3 b5 \3 Q- V
  1045. [SQL]
    7 G- X; ~: `. b$ [( M
  1046. ; http://php.net/sql.safe-mode* O: `9 B3 `& }3 N
  1047. sql.safe_mode = Off# z6 s  |: ?6 [2 y7 F$ M
  1048. 9 t7 W8 v, w& A3 R5 Q
  1049. [ODBC]8 e4 m$ k/ ]& z/ C
  1050. ; http://php.net/odbc.default-db
    , y* ?3 K$ f* _9 z  @9 d
  1051. ;odbc.default_db    =  Not yet implemented
    $ h" x5 R+ B; c& P, @, X2 o

  1052.   e2 J3 ~& F% l' \3 Y* U
  1053. ; http://php.net/odbc.default-user
    + D( A9 Y" Y" d8 S
  1054. ;odbc.default_user  =  Not yet implemented  N* Y8 O0 b; Z' |- A, Q. m

  1055. - B2 ]0 o3 g, j5 L# k* y2 N
  1056. ; http://php.net/odbc.default-pw
    ! L% N% |% X) t9 N5 X
  1057. ;odbc.default_pw    =  Not yet implemented6 \" n  b( X  V9 l/ v
  1058. 6 I; E. K$ N2 L: A
  1059. ; Controls the ODBC cursor model.4 W( S" p* c! M& J$ p4 d, N
  1060. ; Default: SQL_CURSOR_STATIC (default).
    " `4 Y0 M! M$ S8 |# J  Y
  1061. ;odbc.default_cursortype
    # ]& g' V; w! V

  1062. " v+ E/ h' v4 d/ X% }/ @, r, L  x4 z2 ]
  1063. ; Allow or prevent persistent links.* i( i# r9 ^8 G6 x% m) P- o; W  I  J
  1064. ; http://php.net/odbc.allow-persistent
    9 [, ]' R- J1 t* W# j) M9 S- i
  1065. odbc.allow_persistent = On7 {8 A1 l7 c2 k
  1066. 7 s9 o  @1 `1 X) ]& L. c0 W* m
  1067. ; Check that a connection is still valid before reuse.2 N% @# _- B- n
  1068. ; http://php.net/odbc.check-persistent# A6 c/ G9 B& @  U# Y
  1069. odbc.check_persistent = On
    . J# ]( a0 j7 p' t" X2 r4 L4 j7 e

  1070. # C' \& \7 l2 |' |+ f& z4 P, z
  1071. ; Maximum number of persistent links.  -1 means no limit.8 D+ z: H# g  x
  1072. ; http://php.net/odbc.max-persistent. `# V* @+ z4 o- N  U- J( }
  1073. odbc.max_persistent = -1
    6 H5 |$ g- l( T7 e, K
  1074. 4 L- [' b+ K2 l7 n. r, a& ^6 h
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 B' d* i2 w: s9 F! q' v) e  e
  1076. ; http://php.net/odbc.max-links
    8 R' |8 f' d3 Y  o1 v, _
  1077. odbc.max_links = -1* O: j" |, z& L0 f7 I

  1078. # ]3 m, c3 {: m/ T! n
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means% ~+ [+ p$ l: x9 \
  1080. ; passthru.- \2 J( L$ Z0 F, _
  1081. ; http://php.net/odbc.defaultlrl
    3 {. C& g6 U# A# O7 a4 y. U
  1082. odbc.defaultlrl = 4096
    4 t0 l& _# c# }, K  l- Y: k

  1083. 8 ^' z) M, }3 U5 q- m- o
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    , b0 W8 _# {$ A  o
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation+ U  m" P# o( `+ `# Z+ s. t
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode8 r! k2 s7 z4 |/ h1 S8 C% {6 h
  1087. ; http://php.net/odbc.defaultbinmode
    " S& S9 c  L7 s% y6 a! a0 j" ^) y) ?
  1088. odbc.defaultbinmode = 13 z' H* q* h6 ^7 d7 w4 Z; D

  1089. ' I& S; I4 D" @. ^. I" T$ a! R' Q/ ~
  1090. ;birdstep.max_links = -1# w6 v* D9 }8 f" v4 w8 ?6 R

  1091. 2 b; n" X2 G3 d9 ^4 q& ]
  1092. [Interbase], @7 `; i( `8 r- Y; r  q
  1093. ; Allow or prevent persistent links.7 m2 ?# P( g+ S7 a
  1094. ibase.allow_persistent = 1
    3 P/ W, E# I/ _7 Y

  1095. - o2 |4 m) M% s4 l  w
  1096. ; Maximum number of persistent links.  -1 means no limit.
    ( W+ j: E$ a6 V1 I2 g
  1097. ibase.max_persistent = -1" e4 @5 e; b& k" R# I9 t! H

  1098. 5 q: Q4 h; l- A7 h* ^. a8 [4 Z) A; B
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    # ]+ \- V5 h0 o8 |! |
  1100. ibase.max_links = -1
    . V4 C  N; G2 ^: f' B( a% O. U( Y: ~

  1101. / Z+ h- q( p( k+ N& v
  1102. ; Default database name for ibase_connect().* J" K3 T0 f# K$ V/ y- k  M: @/ O" `
  1103. ;ibase.default_db =
    / m: a! Y! _! _8 C, O: `7 f
  1104. 3 z9 G' k0 g& B) E! I+ A. \$ |0 }
  1105. ; Default username for ibase_connect().6 I: H/ j. U: A
  1106. ;ibase.default_user =# q* T+ t: r( M( l2 S& e$ X8 t" `
  1107. - K2 A% R( V! ~% ?
  1108. ; Default password for ibase_connect().2 _1 M5 \) ]: \. f
  1109. ;ibase.default_password =% R  \% c, C! u5 l8 h

  1110. 4 Q9 u2 a& T$ E- z4 [# k5 v6 ?
  1111. ; Default charset for ibase_connect().
    4 v* Z* n% X- Z$ S4 P* D; Q
  1112. ;ibase.default_charset =
    4 S& _' A' z4 X: V7 G' C/ X
  1113. , _( D; X* z! ?* m( B
  1114. ; Default timestamp format.
    ' D1 V3 x9 N7 x( Z" i- K9 z0 Z
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S": i" H; g7 w! @' D& f4 ]: a* b
  1116. % h/ ~# K* G6 P! S3 H
  1117. ; Default date format.
    & O! l5 w7 {8 ?( z0 v5 x# M, d9 O; R
  1118. ibase.dateformat = "%Y-%m-%d"
    # q; ?/ P8 F0 P+ p/ I' V

  1119. / W% W( N% ~/ z" T1 @1 v9 }
  1120. ; Default time format.5 m+ b; Y* M- M) S4 t4 L" R
  1121. ibase.timeformat = "%H:%M:%S"# B' [  Y! F+ u! S9 v6 B7 s
  1122. 0 t9 R; X0 l. e
  1123. [MySQLi]
    " T* `  ]: L1 [0 L! X2 H

  1124.   _8 n9 H- U; j& [% ^3 H! S0 b" @4 }
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ! T3 I  q. i$ a. X  J. s1 E- n
  1126. ; http://php.net/mysqli.max-persistent9 G# S8 y# p5 O% U7 ]
  1127. mysqli.max_persistent = -1
    0 p0 @2 k" l  k2 i5 s
  1128. 4 W! a2 K9 M  z" O, ?& O
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    , j  ?1 n9 p+ U. g
  1130. ; http://php.net/mysqli.allow_local_infile' v* L, p, s- O9 k% F& a% C
  1131. ;mysqli.allow_local_infile = On
    * A  Z$ _( L5 M2 I" w! e
  1132. ) C- B0 N* \6 ?0 q; H
  1133. ; Allow or prevent persistent links.
    $ L& c5 D; Z; {% Y0 S/ }
  1134. ; http://php.net/mysqli.allow-persistent
    : K8 {7 V  N( O( r
  1135. mysqli.allow_persistent = On. [8 B3 K6 X  V3 w4 u7 _- l) Q

  1136. 4 w7 P+ }: |. t/ |+ d
  1137. ; Maximum number of links.  -1 means no limit.
    " ]1 F# p! r' y
  1138. ; http://php.net/mysqli.max-links
    1 Q/ e; J/ \9 z; k
  1139. mysqli.max_links = -16 z( h0 Z" l2 L' G; l) |

  1140. 2 H. H: ?- |/ u4 }2 i( T
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    7 m, h( |) J  \; ~4 q6 p4 |9 J
  1142. ; http://php.net/mysqli.cache_size" m. f/ Q- v% Z% [8 K. |
  1143. mysqli.cache_size = 2000$ X. u, u+ t* `  i

  1144. ) g9 p3 s, f4 [, Y
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use5 g4 ]$ B1 o4 j5 u9 M' B
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the9 A5 Q% [7 C( q& O" K
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    0 R, J% |0 k- Y9 Z
  1148. ; at MYSQL_PORT.& A. i$ }7 I; N0 }* H
  1149. ; http://php.net/mysqli.default-port
    0 a% X( z( T3 x: b* c8 i
  1150. mysqli.default_port = 3306# L# K5 G2 u6 Y; H% y8 u

  1151. 1 z( R/ l' e3 M5 \; s
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ x$ U" d' _, P0 t8 B, R  d
  1153. ; MySQL defaults.% Z1 J% d' H/ i# m$ N1 o
  1154. ; http://php.net/mysqli.default-socket
    * j/ I0 ~# q3 T
  1155. mysqli.default_socket =
    1 Y! O% q/ ~: l7 [6 _$ B, c1 S4 v
  1156. 3 L0 ~/ W% q& k
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    $ N* O- I. k, D% d$ D4 ?
  1158. ; http://php.net/mysqli.default-host8 c7 m9 ^/ }5 d% J' m) i9 m/ H
  1159. mysqli.default_host =$ i* {7 L/ I3 A; e
  1160. . R* S+ T$ m5 i0 h+ s: d: R7 Z& s
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    9 N$ t: x* E, L' b( C! H
  1162. ; http://php.net/mysqli.default-user& x4 o; D% l) A( {3 {: X
  1163. mysqli.default_user =6 H5 E7 ]% N  e; E/ O. i" D; [" B
  1164. ( H, |, b6 ~4 c5 r; ~6 a4 }
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).1 j( j8 N4 Q  f( p9 M* ^
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    6 ]2 x8 K& m: N# U; N/ V0 \
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")0 H- I1 k0 r  s6 g
  1168. ; and reveal this password!  And of course, any users with read access to this% r+ y3 ^4 v9 t7 `, I
  1169. ; file will be able to reveal the password as well.3 w; H9 I7 x1 Y
  1170. ; http://php.net/mysqli.default-pw
    % e5 s$ p4 \0 O0 ^6 h
  1171. mysqli.default_pw =
    / |' |$ L# }2 k/ Q

  1172. ' i# E) W: R) ]% B3 i
  1173. ; Allow or prevent reconnect" f  K$ m5 I* Z$ h/ i: R* `
  1174. mysqli.reconnect = Off
    . {) F" f' A3 n
  1175.   j: A/ m/ J& `
  1176. [mysqlnd]
    . j. u; O, i4 Z$ `- K( P8 Y  ~6 [
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be/ b; u& H5 S# |3 \+ W
  1178. ; used to tune and monitor MySQL operations.4 @: {- X0 k5 W
  1179. ; http://php.net/mysqlnd.collect_statistics
    ! e4 Z. B. z4 \. m+ d! x
  1180. mysqlnd.collect_statistics = On9 R* c: r* E; t$ a& V6 j
  1181. . [! F1 q8 b4 ~( [
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    6 Q# ^3 C3 A0 v' F1 J/ {8 M
  1183. ; used to tune and monitor MySQL operations.3 _4 N8 ~# w0 ^6 {
  1184. ; http://php.net/mysqlnd.collect_memory_statistics. S/ C" ^: ]: G' }; q- i1 b9 k
  1185. mysqlnd.collect_memory_statistics = Off$ q& _, D$ H) y- \; K- X3 R
  1186. 9 D6 ~& d9 @' ^) X. u' p
  1187. ; Records communication from all extensions using mysqlnd to the specified log" l% B3 {' |6 n7 M% V" r" |
  1188. ; file.2 u/ B/ t& Z8 |4 v
  1189. ; http://php.net/mysqlnd.debug- T' |& c. C2 E+ `. D4 `) y
  1190. ;mysqlnd.debug =
    2 L# V! f( ^9 S' q" T' [

  1191. ( P* `4 q3 A8 `; X$ u' T- ~
  1192. ; Defines which queries will be logged.
    ! c- u- _( c# I% g% i' _
  1193. ; http://php.net/mysqlnd.log_mask
    8 d1 K7 Z* H% p' t* y/ F1 @
  1194. ;mysqlnd.log_mask = 0
    2 o& k. ?. e. s4 j) E& c; S" j% T

  1195. / I$ D: s# C+ G0 X8 W: t9 W
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    / E, O* m# B* \1 J2 q4 q$ w4 X4 J
  1197. ; http://php.net/mysqlnd.mempool_default_size# u, _; D/ E/ ~$ K" c
  1198. ;mysqlnd.mempool_default_size = 16000) |' G: J9 l0 I+ [! l# X) o& v

  1199. ' y. i# S% n/ v
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
      x% }1 ]& }0 f1 `
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    2 d% A7 p/ b+ E5 O/ F, G( W
  1202. ;mysqlnd.net_cmd_buffer_size = 2048, a$ X* `4 Y; f, F( I  w8 X
  1203. ; Q4 y; k' }' o$ h' X
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in- P8 M3 \2 n8 u2 ~5 J8 x% A
  1205. ; bytes.
    0 I& X- ]9 U* j! {7 c
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    $ I/ [5 f  ^+ U. K+ C7 T
  1207. ;mysqlnd.net_read_buffer_size = 327683 B) k1 x2 {2 l, p. M& f
  1208. $ r: @6 y& R  s+ u
  1209. ; Timeout for network requests in seconds.
    ( j2 H9 `" I0 d: T# u; l7 s6 [, f
  1210. ; http://php.net/mysqlnd.net_read_timeout
    % `# V1 F( Q  C0 ]* i0 R* r
  1211. ;mysqlnd.net_read_timeout = 31536000
    / q  _; Z- k) n4 C$ R/ I  y
  1212. # |3 }0 Q0 j6 A" p6 G  w
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    4 r+ W( H; o! T. i$ A
  1214. ; key.9 X0 d; U$ F' W2 H5 h: a% t
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    ! p: ~- M1 J# z
  1216. ;mysqlnd.sha256_server_public_key =
    " h& n/ ?; h" ]: h5 T
  1217. ( P; D: j1 l/ @% [1 i) t2 f" [
  1218. [OCI8]
    3 x  |& D: e+ S- E! |+ M7 D
  1219. * d( }' X0 n& Z, Z
  1220. ; Connection: Enables privileged connections using external
    + |: s+ O5 l# }9 d2 z5 z
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    1 Z* H( P- B* f0 D( l5 x5 t
  1222. ; http://php.net/oci8.privileged-connect
    : S' A9 j$ f5 P) m( P& c) ^) Q3 W
  1223. ;oci8.privileged_connect = Off4 V  q) K2 \" D' H7 M. }: s

  1224. # E7 {4 O' ]$ ?7 |. M' {
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    5 z) c4 f8 E; t+ m7 z
  1226. ; process. Using -1 means no limit.
    & Z/ G/ v7 _4 d- r& |: I2 N
  1227. ; http://php.net/oci8.max-persistent
    " `& @& v, t& p  r7 P% T* N% h; ^
  1228. ;oci8.max_persistent = -1
    ) K$ v" X5 N( h/ u
  1229. 8 A8 L2 V+ U$ J$ [, ~/ z" \/ q
  1230. ; Connection: The maximum number of seconds a process is allowed to
    ! d' i- y; O8 w& E3 y% _8 X$ J$ w
  1231. ; maintain an idle persistent connection. Using -1 means idle# \! L3 S, X/ n" Y, c- c! |
  1232. ; persistent connections will be maintained forever.! j) |$ b5 Y' G2 Z3 k1 @2 Z
  1233. ; http://php.net/oci8.persistent-timeout# n+ v, ]+ Q' ~" W, \4 y
  1234. ;oci8.persistent_timeout = -1
    & L# A, B) p4 U" k: Q
  1235. $ M( z8 `1 }8 b; s
  1236. ; Connection: The number of seconds that must pass before issuing a
    $ }5 a1 X$ ~9 J" [
  1237. ; ping during oci_pconnect() to check the connection validity. When, b! P; P: J5 v. x/ S% h# a
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ( r* g9 R" M9 v% A+ r
  1239. ; pings completely.$ c$ x8 c+ C" G; i" j, G: H
  1240. ; http://php.net/oci8.ping-interval
    4 i1 z; R; t  ~% W) `6 L" a- r
  1241. ;oci8.ping_interval = 60
    1 ^' i" n! J- T5 W. G+ K4 j
  1242. " {4 f. J& B  f3 d/ ^- R
  1243. ; Connection: Set this to a user chosen connection class to be used% O. h7 }( J& s$ X- E3 O) O. ~
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    6 x# A& W$ L) p4 S8 S/ [( |
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to/ d) r+ o, p$ O; k9 J- u
  1246. ; the same string for all web servers running the same application,
    % h  {0 R! A( ?* M) H* V
  1247. ; the database pool must be configured, and the connection string must, ^+ Q) P5 X7 a
  1248. ; specify to use a pooled server.
    2 A/ t: T3 L; q& a! `
  1249. ;oci8.connection_class =
    ' q3 p% U0 T7 m4 q6 u- _6 h; s6 x

  1250. - D. T* s, }9 H, C; a
  1251. ; High Availability: Using On lets PHP receive Fast Application" K! t" w. E" s. t
  1252. ; Notification (FAN) events generated when a database node fails. The" Z* t9 k) u% a- J
  1253. ; database must also be configured to post FAN events.
    * V/ o% ?0 D( n7 `
  1254. ;oci8.events = Off# U( D  t5 n( b, C% q/ _5 v

  1255.   F+ Y/ p. z1 o" A: }8 b4 a
  1256. ; Tuning: This option enables statement caching, and specifies how
    - v, J& c* M( @1 z1 o, X) B
  1257. ; many statements to cache. Using 0 disables statement caching.* M# P2 F! \% ]* p& a4 S2 ~, u
  1258. ; http://php.net/oci8.statement-cache-size- K" z4 ^6 X9 d- a
  1259. ;oci8.statement_cache_size = 20
    ' O0 H1 k. N) B! y  z

  1260. , Y* h+ B; H. Q, Z
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    ( H: `4 N- Y6 i' z4 R: v/ j& N6 c4 \
  1262. ; rows that will be fetched automatically after statement execution.
    & ]- ^& `8 s, R) {3 ~/ E. ?5 N
  1263. ; http://php.net/oci8.default-prefetch
    & N7 d% A' _3 r6 o) `- D+ _
  1264. ;oci8.default_prefetch = 1008 ]. I& w9 e, L* }
  1265. 6 M/ g$ Q( Y# f/ k& x
  1266. ; Compatibility. Using On means oci_close() will not close
    . _! ?0 r- p- L
  1267. ; oci_connect() and oci_new_connect() connections.
    ; H( y- h  D6 r- O8 b9 c; l
  1268. ; http://php.net/oci8.old-oci-close-semantics
    4 g3 \/ y- C3 }( W, \$ \
  1269. ;oci8.old_oci_close_semantics = Off# Z$ z8 X" ^- K+ p) _: {- }

  1270.   |- k1 x% J- O# N* D* P
  1271. [PostgreSQL]) W" x% b- z) g! v8 l/ G
  1272. ; Allow or prevent persistent links.$ t$ W7 P& b  b8 \/ {0 ^' h1 ?
  1273. ; http://php.net/pgsql.allow-persistent
    , e# p5 e8 l& W0 y
  1274. pgsql.allow_persistent = On
    , Z7 Y# z0 |2 ?! n& D
  1275. , s8 w9 [' H# b3 s
  1276. ; Detect broken persistent links always with pg_pconnect().9 h3 ?3 k" {& Z$ K9 M2 S* P
  1277. ; Auto reset feature requires a little overheads.( r3 N4 l$ D9 d; n' H7 X8 P0 W
  1278. ; http://php.net/pgsql.auto-reset-persistent
    7 i! S3 z9 J/ T( `3 \
  1279. pgsql.auto_reset_persistent = Off/ n, J! ~0 f- o% t% ~" w
  1280. 0 @7 r- w, C4 @' {
  1281. ; Maximum number of persistent links.  -1 means no limit.3 N# t# U: O5 [+ O# D# `: \
  1282. ; http://php.net/pgsql.max-persistent% P* O/ ]; ^: i
  1283. pgsql.max_persistent = -1
    ' P9 h2 e  T, |0 v) y

  1284. * z+ P. r- O; x. Z. ]- [& f" ^
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.9 W: g4 r- C, _2 i! B) Y
  1286. ; http://php.net/pgsql.max-links
    # I3 `& o# K$ [# G. @$ {4 D- A
  1287. pgsql.max_links = -1" x; S5 ^. A- F# O% {3 G

  1288. 8 E% o7 |1 `# X* [3 J3 z% I
  1289. ; Ignore PostgreSQL backends Notice message or not.- N4 @  \+ L5 f( g, O4 `  t
  1290. ; Notice message logging require a little overheads.- G; M' \4 A5 l6 M+ [
  1291. ; http://php.net/pgsql.ignore-notice9 T& Y8 R8 K- C% Q# p1 X. z
  1292. pgsql.ignore_notice = 08 C  q. M; J, k9 R* n( w* T" P6 X
  1293. 2 q# l( i0 ^4 G) R% h
  1294. ; Log PostgreSQL backends Notice message or not.: w% S: n4 c8 I
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    0 t- ^9 n6 ^! R! A5 s
  1296. ; http://php.net/pgsql.log-notice; ]& H8 h  j9 o* ]% h* y
  1297. pgsql.log_notice = 0& [7 p) n2 `" M+ q" B1 E4 |4 ~

  1298. 9 T: h  u) Y; [( A* M5 w- N
  1299. [bcmath]
    & }) m) q- F0 t4 [
  1300. ; Number of decimal digits for all bcmath functions.
    $ M) `& b3 |$ A. G- y. P# ?- Y
  1301. ; http://php.net/bcmath.scale5 d4 |, W2 q* _* f
  1302. bcmath.scale = 0
    ! \4 y7 i: V7 l6 i" _
  1303. & H  ?% q1 o+ W  e& \" z
  1304. [browscap]8 h  Q) l( @; r  b! q( O& _
  1305. ; http://php.net/browscap
    ! P- I! T) L/ t! D8 _' _
  1306. ;browscap = extra/browscap.ini
    4 w0 v" j7 R( t# f
  1307.   U- w* r+ N, y0 T4 X
  1308. [Session]
    4 O( w: q6 v: K8 N- s
  1309. ; Handler used to store/retrieve data.
    / K1 c0 W* J* n4 U6 ]( ]# R& j# A
  1310. ; http://php.net/session.save-handler' ~+ E6 C  k0 T8 D  R
  1311. session.save_handler = files3 i, P6 p1 ^) e' V: j
  1312. ! L6 l# U) S! J3 J
  1313. ; Argument passed to save_handler.  In the case of files, this is the path; V; l, w2 F# X5 p1 t4 }& F0 \# E
  1314. ; where data files are stored. Note: Windows users have to change this5 M' a  z6 f% B' [$ H
  1315. ; variable in order to use PHP's session functions.9 b3 b7 o6 w3 f3 }7 n5 C: ?! F, U
  1316. ;* \, {" B' |& q
  1317. ; The path can be defined as:
    ! g/ w8 w5 L, c6 f; i- X
  1318. ;& U6 O. e2 R) M( v" `  g
  1319. ;     session.save_path = "N;/path"
    ; l+ c- i7 _! \/ d& X' {  q0 Z
  1320. ;
    * T" R. I5 K+ b
  1321. ; where N is an integer.  Instead of storing all the session files in& |  W1 T8 D, q" Q/ O
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    ' U) ]* D# v0 L( A$ H
  1323. ; store the session data in those directories.  This is useful if0 P$ U& {/ c3 E4 a' R7 e
  1324. ; your OS has problems with many files in one directory, and is
    - E& ]# b0 O. \0 }8 D1 v
  1325. ; a more efficient layout for servers that handle many sessions., D/ z) K0 d  y! H  l) G! `9 B
  1326. ;5 I+ N6 |- \/ u- E: l% l
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    " P( o: l0 h3 ^  h4 u( j, q4 c' M- Q
  1328. ;         You can use the script in the ext/session dir for that purpose.
    9 Y+ ~: J* a, Z$ G/ \
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    " e$ \! a: ]" N
  1330. ;         use subdirectories for session storage
    & t% {% F. g1 h% [- B6 ~0 }4 n
  1331. ;9 ?, _% z7 e9 l; B9 D/ H
  1332. ; The file storage module creates files using mode 600 by default.
    ) S" g7 v$ Q9 r+ I" R( E4 \
  1333. ; You can change that by using  \. M- h/ A5 C, ?* a
  1334. ;4 P/ a$ C& A) v( B) B( |* D
  1335. ;     session.save_path = "N;MODE;/path"
      r+ \, s0 {; w" y6 c+ b: N
  1336. ;
    3 P  N* ]$ g5 Y; }6 A6 l- H
  1337. ; where MODE is the octal representation of the mode. Note that this
    / ^$ L' _0 ^; ^' i9 D
  1338. ; does not overwrite the process's umask.' e% H- f: Q8 |% s
  1339. ; http://php.net/session.save-path$ a- |6 u" s0 d" P6 V9 d
  1340. ;session.save_path = "/tmp"
    7 |6 f2 w: J1 _, |+ e8 d1 c
  1341. 1 q/ b, p% Q2 L! c
  1342. ; Whether to use strict session mode.
    ; ?. z2 f% G- E! o& _& ?( y. A
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate5 s0 _1 K8 T2 w# ~
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    7 O" E6 j: ^. {4 N) f
  1345. ; applications from session fixation via session adoption vulnerability. It is& o: \: k4 W9 C$ ~$ p% P8 V( r6 u
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    1 m" r7 ~: u# j: K, {
  1347. ; https://wiki.php.net/rfc/strict_sessions2 v4 L/ x% p' L+ ?" Z* V
  1348. session.use_strict_mode = 0
    1 ~+ q! ?" l) V! L  B9 x& @
  1349. " c8 V: Z0 V: ~2 P% s( W7 n" t
  1350. ; Whether to use cookies.
    + ~- U% @7 u, y1 ]
  1351. ; http://php.net/session.use-cookies0 k- G+ w! l0 D
  1352. session.use_cookies = 1
    + C8 A5 g5 |# w7 W! B: @

  1353. 5 z( @3 z- e% Z$ [% K- c
  1354. ; http://php.net/session.cookie-secure1 c' \4 d2 a" `7 \) w+ l2 d% h
  1355. ;session.cookie_secure =! O8 m1 V- h$ W- u$ M- I) ]) z
  1356. % T' s, r1 G5 |: L
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining" m+ K7 ^5 Q( T, {# h- F/ A
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    1 m- g2 X* o8 ~' @( S8 [
  1359. ; session hijacking when not specifying and managing your own session id. It is
    2 N) ~) y  X3 K1 z+ @0 o: w- i
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    4 d( I. `" I; A5 }% M- U
  1361. ; http://php.net/session.use-only-cookies! c. ^7 k( }4 k" Q- y0 k
  1362. session.use_only_cookies = 1
    ) b. [, m& G  B) I. o

  1363. ; t. z- I. v, {5 G0 n
  1364. ; Name of the session (used as cookie name).4 A' N4 s* X9 c
  1365. ; http://php.net/session.name
    # P. W/ m0 @- V
  1366. session.name = PHPSESSID, R: t4 C- U/ w1 T
  1367. # H% n. X7 ~( C" c- K  q
  1368. ; Initialize session on request startup.4 s( `& S8 d$ C0 o/ G9 b
  1369. ; http://php.net/session.auto-start
    6 j& f. U5 [, r
  1370. session.auto_start = 0$ ^' m6 A% z) e) ^% S# |

  1371. . d; {$ Q2 A) \6 M2 o
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.& t2 j, K1 H8 n& k- W  y' o& E, W
  1373. ; http://php.net/session.cookie-lifetime
    - |1 r% @0 d' I+ u4 N, i( V
  1374. session.cookie_lifetime = 0& D# _: \% F; r/ M- f

  1375. ' ~8 U" N$ _# ~
  1376. ; The path for which the cookie is valid.
    " \6 Y0 ?7 ~1 p: z  j0 y3 v" I
  1377. ; http://php.net/session.cookie-path
    5 r$ y% F) @( U9 E* q
  1378. session.cookie_path = /
    , I, i. b( N/ b* E  Q* v# O

  1379. / {4 `$ V. U. N  I
  1380. ; The domain for which the cookie is valid.
    6 v9 N2 N$ T& G- P7 M
  1381. ; http://php.net/session.cookie-domain
    % A4 ^- v0 I  Z+ V3 C
  1382. session.cookie_domain =* e) h: k: T8 R- z, Y% W# y
  1383. / i# `! O" x. e' W% z! `
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript., D: P' w- }# e8 x, O
  1385. ; http://php.net/session.cookie-httponly! G, c- U+ |$ h, Z3 r+ m! L
  1386. session.cookie_httponly =
    ) {  _) w0 W* h
  1387. 2 a* B+ \" ]0 x: d5 g' C. m/ u9 T
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.9 L& U! \  I) ]
  1389. ; http://php.net/session.serialize-handler( b- n2 Q# ~8 q. f0 |3 n) |
  1390. session.serialize_handler = php" A) [- _9 f7 B

  1391. $ S+ F5 u; V0 m# ^, d) v1 v
  1392. ; Defines the probability that the 'garbage collection' process is started! d0 Y- e3 |& F
  1393. ; on every session initialization. The probability is calculated by using( w- B1 W/ q+ e; u! }
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
      `; Q$ d4 C2 N9 ^( K8 Y
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 18 b% Z3 E$ V% Q3 |3 q- \
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    " Q, z( P0 C9 d. x1 @9 v
  1397. ; the gc will run on any give request.
    0 m6 I6 [2 z& y& A
  1398. ; Default Value: 1
    4 t# P/ M1 e* m, g
  1399. ; Development Value: 1+ a7 F2 `9 l+ A0 Y5 D
  1400. ; Production Value: 1
    5 M6 I* l& x" r
  1401. ; http://php.net/session.gc-probability  E+ M% Q6 ~. d5 ?% ~
  1402. session.gc_probability = 10 }/ X: }+ K- H2 U+ H
  1403. $ K$ {; O# l( N6 p& ^% k
  1404. ; Defines the probability that the 'garbage collection' process is started on every. A4 m, P3 x) K! S  p/ B( u
  1405. ; session initialization. The probability is calculated by using the following equation:5 h: W$ M9 J+ d3 B/ J. E) Q
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and- L) k" l# ]# [8 ]! b. ?0 z* a
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    - f* }8 _/ _& n+ w1 S0 G
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance4 k% O& N. X7 M
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you: w$ X3 X5 `/ o8 Q) B3 F) k
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    $ ]: g* p, u/ E  C* m
  1411. ; this is a more efficient approach.+ _- h9 K( V9 q
  1412. ; Default Value: 100
    ' h* \; a( ^8 J! {# ?  C
  1413. ; Development Value: 1000
    1 F% v6 n/ u! r7 `8 [
  1414. ; Production Value: 1000& F8 Z1 Q% C5 P# f, ?! X* L
  1415. ; http://php.net/session.gc-divisor
    - O! e% Q; e" P0 ~$ I; N
  1416. session.gc_divisor = 1000: D; I3 w5 m2 j

  1417. , @; X/ h0 Y& A" F/ @
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and9 Q) P5 o3 Z# j  N& c
  1419. ; cleaned up by the garbage collection process.. C8 h0 E. x% l& c4 w  p
  1420. ; http://php.net/session.gc-maxlifetime
    + j  A' \4 a" [8 C* k, m
  1421. session.gc_maxlifetime = 1440
    * D# A  q) r( a' L- g7 f7 {/ K  D& t

  1422. , u/ @! E- e6 S3 T& w* i' F2 ]5 R% U
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    + a) c7 z: B6 S9 b$ v# e0 x' H
  1424. ;       (see session.save_path above), then garbage collection does *not*
    ) r2 F* g5 ?% }
  1425. ;       happen automatically.  You will need to do your own garbage
    0 e5 y% ?3 @3 r3 B) L8 q2 W! e
  1426. ;       collection through a shell script, cron entry, or some other method.  R/ M: n  G" X  N% C. m
  1427. ;       For example, the following script would is the equivalent of
    3 e* E1 D- s1 b/ l+ Q
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    0 H  |2 N1 Q6 `" U
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm9 `! r# O6 k, ^% v" r. i

  1430. # N# [" e/ q' F" o. P: l- @! x/ S
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    % v# p- ~8 ^7 F5 i
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    3 O5 ~8 ^0 n6 R
  1433. ; considered as valid.
    7 I3 ~/ ~7 w* m
  1434. ; http://php.net/session.referer-check
    6 O/ p2 Q- O# p0 p' s, e0 {" ~
  1435. session.referer_check =# p* z  _1 k; K, m  o: g: V4 L
  1436. . E: i5 B0 @4 Y( j1 R
  1437. ; How many bytes to read from the file.
    * q5 v  u% @' Y1 g+ w
  1438. ; http://php.net/session.entropy-length, D/ Q3 ?9 \' V
  1439. ;session.entropy_length = 32; C( B' _6 }3 U
  1440. + k  v' k6 ]+ z# u* U- r* v7 ]: i3 ^2 q
  1441. ; Specified here to create the session id.$ f% o$ v) r8 K4 T9 M  [- y3 V
  1442. ; http://php.net/session.entropy-file3 Y$ w. E4 M- h2 Y9 {) A; I9 T3 A" q
  1443. ; Defaults to /dev/urandom
    - |- Z$ ~0 `, T* ^5 p3 ^7 |
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom0 d; A6 I: w- S" ]) c: k& O# g
  1445. ; If neither are found at compile time, the default is no entropy file.
    ) H  Q( |4 Q5 ~( Y
  1446. ; On windows, setting the entropy_length setting will activate the  d) E9 v* S* v) X, n
  1447. ; Windows random source (using the CryptoAPI)0 V  t# A$ D" q
  1448. ;session.entropy_file = /dev/urandom/ L* b* ~1 ~- q+ `/ x( }. Z" i

  1449. ( o) P- q1 ^4 X# I) U
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ) O  V$ z- M6 t9 @+ |% A
  1451. ; or leave this empty to avoid sending anti-caching headers.
    5 `) Z/ d9 _4 U, Z) G; `8 z. i
  1452. ; http://php.net/session.cache-limiter' F% a$ o$ v& k9 W  Z1 r/ C
  1453. session.cache_limiter = nocache
    ) e6 Y- B1 V. m( D
  1454. - E6 U  ~6 |7 J
  1455. ; Document expires after n minutes.7 I, a0 e8 ~. S9 x
  1456. ; http://php.net/session.cache-expire  X3 g: n  V2 n6 h% w0 N& V
  1457. session.cache_expire = 180
    ; {0 f4 F: V) o1 \, X, u- a# A3 [

  1458. / C/ t0 d9 m+ T1 b* d9 p
  1459. ; trans sid support is disabled by default.  D6 E8 @5 R0 C' `* M4 u
  1460. ; Use of trans sid may risk your users' security." [4 ?5 H' }' u# x" J* L( c
  1461. ; Use this option with caution.
    4 X4 y, a8 h! @. [; @, @! S
  1462. ; - User may send URL contains active session ID( M! V5 ^, j3 j2 ^- r  K8 X" P
  1463. ;   to other person via. email/irc/etc.9 f% P0 Q4 s& ^+ K# L" q5 b% g
  1464. ; - URL that contains active session ID may be stored
    $ w2 ?9 ]9 ^1 d- O/ q
  1465. ;   in publicly accessible computer.$ \0 i5 v. K/ H
  1466. ; - User may access your site with the same session ID/ }; s7 ~* D; Q7 \; y
  1467. ;   always using URL stored in browser's history or bookmarks.
    ! ]# D: V1 W! j, s6 f) e8 C$ K
  1468. ; http://php.net/session.use-trans-sid
    : ~" I. _6 Z5 W+ c
  1469. session.use_trans_sid = 0- _! A7 }) n% a) C  ?/ o

  1470. " D- J) m4 f( N+ t/ O) L
  1471. ; Select a hash function for use in generating session ids.
    6 Q) m$ F$ [2 M# t& V
  1472. ; Possible Values
    & m  w) A9 }4 V- Q; z8 j
  1473. ;   0  (MD5 128 bits)- }* \! ?7 D  G5 y" O
  1474. ;   1  (SHA-1 160 bits)
    4 f/ A6 Z& R! e+ `( t* g" k
  1475. ; This option may also be set to the name of any hash function supported by* N# _7 N0 n% n8 t' x
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()& r- ?$ K; X4 \, N
  1477. ; function.0 v& U; d: H9 w. @( Z. Y& d
  1478. ; http://php.net/session.hash-function& s2 g- f/ ], D6 W: H8 m  d
  1479. session.hash_function = 0& ?7 a$ j+ v, M% J8 Q8 o! q9 Q1 w
  1480. % J& {1 A7 V5 V
  1481. ; Define how many bits are stored in each character when converting
      r( p9 W5 s! O& X
  1482. ; the binary hash data to something readable.1 i. U( `* t' ?+ [1 ?3 O4 \2 s+ u7 @7 K
  1483. ; Possible values:
    + U5 q/ T/ m1 B! V: ?+ H4 }- s: s
  1484. ;   4  (4 bits: 0-9, a-f)* e0 a6 D; X% Z$ b% N9 y: a- Q( U
  1485. ;   5  (5 bits: 0-9, a-v)
      l- U/ D6 U2 _+ ^0 p2 A
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")* L0 ~/ H) d2 X7 @8 N' e2 M
  1487. ; Default Value: 40 D: E- \$ D/ }) A: @
  1488. ; Development Value: 5
    3 ~' R* V& A1 j* j2 u& F2 r: L; Y
  1489. ; Production Value: 5
    6 V2 j% l. f- u$ y0 @, K, B
  1490. ; http://php.net/session.hash-bits-per-character
    3 s5 v5 z/ v- L! @* w7 w* L! I
  1491. session.hash_bits_per_character = 5
    + s8 o' J+ Q. ]- W# Y1 Q- Y

  1492. . l7 m) I/ o" {8 e
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    5 K9 A, _$ V, R1 n! a" Y4 O; @5 Z
  1494. ; form/fieldset are special; if you include them here, the rewriter will3 k$ f' z% r7 O7 Q
  1495. ; add a hidden <input> field with the info which is otherwise appended
    4 M! N2 c3 l' W) J
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    # U% L' V1 ~- h$ o. z
  1497. ; Note that all valid entries require a "=", even if no value follows.
    5 N0 S' X+ A+ {  q9 ~
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    $ o3 a$ a: O9 O7 M. m
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    , \0 S6 Q! q( u6 k; |
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    " r  S6 }: z9 W
  1501. ; http://php.net/url-rewriter.tags
    ' f. M0 t  e3 R/ L9 b
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) I9 X7 j7 x/ R. P$ ?  E7 E

  1503. ; l- ]9 J) E0 N( [
  1504. ; Enable upload progress tracking in $_SESSION& q* F" q9 g. v! E) C
  1505. ; Default Value: On
    3 R% t! e! ]; A+ F$ q
  1506. ; Development Value: On
    # u3 w8 ^7 K8 U* l- T. Z$ [2 P: C
  1507. ; Production Value: On3 d3 j% c3 E  m5 K( u; c# s  D
  1508. ; http://php.net/session.upload-progress.enabled/ E- e6 A. B- a! J) B( W$ i
  1509. ;session.upload_progress.enabled = On; I9 G, N; f; F. N1 e

  1510. ) O. v  x; O5 }. W
  1511. ; Cleanup the progress information as soon as all POST data has been read
    & Z8 C0 _& f. d7 D& u  o
  1512. ; (i.e. upload completed).
    * M& P6 U+ D$ P1 _2 g- a" z
  1513. ; Default Value: On
    ' P& C2 Z, q6 b& @; \
  1514. ; Development Value: On
    0 m  q0 K4 I' S3 [* H1 I! ]
  1515. ; Production Value: On+ {% |% C' m% N* f' `& Y: A. f( ~8 m( |
  1516. ; http://php.net/session.upload-progress.cleanup6 l; Y: k+ `5 j7 l( ~) a' u0 d
  1517. ;session.upload_progress.cleanup = On
    ) V3 L$ ^0 b1 o: \2 i

  1518. 2 u6 I: A" I! N' ?7 M
  1519. ; A prefix used for the upload progress key in $_SESSION
    # D" c. P7 }  B" b& N
  1520. ; Default Value: "upload_progress_"& R+ R# j/ u9 F) I
  1521. ; Development Value: "upload_progress_"
    $ B# l& r- l& g7 o( W! u
  1522. ; Production Value: "upload_progress_"
    / n, h, c7 r, `
  1523. ; http://php.net/session.upload-progress.prefix7 ?( {6 ~% a& d8 F  a" o$ `
  1524. ;session.upload_progress.prefix = "upload_progress_", g9 |- q, C# K" n! a  d- h

  1525. 1 g; {# W, N' H6 t! n; K- ^
  1526. ; The index name (concatenated with the prefix) in $_SESSION$ j9 N+ X% G; p6 Z. T( D
  1527. ; containing the upload progress information
    1 V+ R) g! p; }- e4 J2 }) R3 j- Z
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS", n1 Y' _. R! r2 `3 c
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . [% }1 h! y  x
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    6 R9 K. M2 l- z
  1531. ; http://php.net/session.upload-progress.name
    , e1 Y, j9 \/ L8 D
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    / B) y2 k  r/ i" W9 ~
  1533. - d$ g) O+ o9 v. n/ C9 F
  1534. ; How frequently the upload progress should be updated.) |$ ?) ^4 I) c+ v% Y  ?/ e1 \
  1535. ; Given either in percentages (per-file), or in bytes
    " |+ }/ \, I: Y8 o
  1536. ; Default Value: "1%"! v7 w. X) R) v( Z. k& Y
  1537. ; Development Value: "1%"
    ! [. e: B6 u8 _& L  m+ T
  1538. ; Production Value: "1%"1 x- l3 c" e5 m6 p$ z
  1539. ; http://php.net/session.upload-progress.freq2 |- h# m. D* L6 k8 p: z/ M
  1540. ;session.upload_progress.freq =  "1%"* y; M8 F2 ?* |  T- V9 w

  1541. % ], B( E' O" s/ `. ]
  1542. ; The minimum delay between updates, in seconds
    1 l4 B0 L7 j( |0 ]
  1543. ; Default Value: 17 P' T8 O' Y% `8 S; I( Y9 k0 |
  1544. ; Development Value: 10 O, X5 m1 m0 W3 ?
  1545. ; Production Value: 16 |( Q6 h& i5 s. Y" ?. n
  1546. ; http://php.net/session.upload-progress.min-freq0 H- S  d% m$ N% F% Q$ k
  1547. ;session.upload_progress.min_freq = "1"
    % C6 K# T9 P' E& a2 {" y

  1548. . d: p& ^% E+ U- z
  1549. ; Only write session data when session data is changed. Enabled by default.
      _  a% Y. o1 \
  1550. ; http://php.net/session.lazy-write) i) Y. O' {" _( T4 Y0 W: [
  1551. ;session.lazy_write = On" g, O4 s& U! t3 r0 o* @

  1552. : U" h- S7 D$ T1 Q) q, u. \
  1553. [Assertion]0 B1 X2 p1 _( c1 T# H) M
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)# O3 {: O! y8 Z+ p! L" ^
  1555. ; -1: Do not compile at all* _4 Q4 \' J0 a* K/ x+ q8 k
  1556. ;  0: Jump over assertion at run-time4 y0 X; I6 W% [5 ]& u8 P
  1557. ;  1: Execute assertions# }# B6 i6 L. {8 ~* A5 L. R- H
  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)
    0 w$ v7 W- g1 l& ?
  1559. ; Default Value: 1; O- b) l" R2 u3 S7 F
  1560. ; Development Value: 1
    . X6 G$ C$ P8 G# E. M$ \' }5 j9 v
  1561. ; Production Value: -1
    / A# s& }0 Q. a9 N0 g# L( E$ {
  1562. ; http://php.net/zend.assertions
    6 ^3 H4 s4 U) v3 f) x5 P
  1563. zend.assertions = -11 z# A3 G, b# t
  1564. # C) U6 S: M! v3 E; K. G
  1565. ; Assert(expr); active by default.
    4 V& o8 P4 n  q1 O
  1566. ; http://php.net/assert.active
    5 e+ Q0 i8 r9 i: t
  1567. ;assert.active = On8 N5 a! {7 m2 Y# e  B' M! I/ e
  1568. * ?& S, ^& g: |* V: c
  1569. ; Throw an AssertationException on failed assertions' d% }) @/ _/ }( K: e
  1570. ; http://php.net/assert.exception0 _/ v& p* F& ]( H3 G: E/ k3 e" k
  1571. ;assert.exception = On
    : D5 ?8 |$ e/ T) |8 c

  1572. ! X; U7 J! L- D
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)' n, J3 t* [8 h1 w* }
  1574. ; http://php.net/assert.warning5 d( I( Y' n" z4 a1 t% c1 c3 }
  1575. ;assert.warning = On4 k# x6 s5 G( C% z/ X7 G
  1576. ' v1 O/ l, ?) d$ }
  1577. ; Don't bail out by default.
    : n' |3 p( g5 z) h. u  `5 a
  1578. ; http://php.net/assert.bail
    ( m! W! _( B& d; W/ T
  1579. ;assert.bail = Off
    5 Y; ?5 T, r: h0 f2 S7 D
  1580. & `) ~% c- X# @: E( p% m* Q) U
  1581. ; User-function to be called if an assertion fails.
    % }& B% F  l! I/ J4 d( j9 U4 x
  1582. ; http://php.net/assert.callback
    9 H7 M, S3 m8 s" B) A
  1583. ;assert.callback = 02 @/ K7 _7 e: {7 `) r7 i  x
  1584. 2 j) Y- d; L+ u$ R) E$ F
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    , K7 r1 v% q% f( \5 F5 Y" _
  1586. ; error_reporting(0) around the eval().
    / A& W6 R+ `4 z9 H, [* y% y
  1587. ; http://php.net/assert.quiet-eval+ ~5 q# j! J5 l2 [4 W1 L
  1588. ;assert.quiet_eval = 0
    1 ]4 ~& P4 ~2 Q0 f4 U
  1589. - a8 c/ z8 Z; `# K' X! |  m$ w
  1590. [COM]! m) c, ~7 t. H% f
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    - q: V- X3 P7 E, i0 {; Y- ]
  1592. ; http://php.net/com.typelib-file& O) C2 j" ?; V% M. _
  1593. ;com.typelib_file =
    # Y6 m* R- j% y. \
  1594. 6 F- G" ?1 \) K3 J* m" |/ I/ f
  1595. ; allow Distributed-COM calls
    " R0 q1 ^9 r. W
  1596. ; http://php.net/com.allow-dcom
    ( q, j4 Z1 x; j; @
  1597. ;com.allow_dcom = true
    ; S2 e$ g8 N/ x6 P* F: `6 J; b3 B  G# D

  1598. " A, \7 J5 J, P) o$ D' {, `  k
  1599. ; autoregister constants of a components typlib on com_load()8 p2 n9 |  {0 Q* j3 c
  1600. ; http://php.net/com.autoregister-typelib" |7 O* a9 D2 p4 @7 q) d
  1601. ;com.autoregister_typelib = true
      O2 X4 K! ]! i6 k3 O
  1602. 8 q! r. Y& h  j8 X+ P5 o6 p" }( g
  1603. ; register constants casesensitive; h4 g5 U0 z, l! q' @/ V! _
  1604. ; http://php.net/com.autoregister-casesensitive, g5 ~' o- C+ J7 ^0 U8 b
  1605. ;com.autoregister_casesensitive = false
    ' x" L, K! i/ x  A& x; M# d3 c

  1606. - L2 P% P- Y* y; F6 ^! ?
  1607. ; show warnings on duplicate constant registrations
    " C6 K' X6 N" l5 {
  1608. ; http://php.net/com.autoregister-verbose
    0 U& k1 s, L1 s3 S: e0 X5 m
  1609. ;com.autoregister_verbose = true0 o" v# h7 b. A# P% z3 E6 @& X
  1610. 7 e# X( G$ G2 E# ^' s6 i6 G  P
  1611. ; The default character set code-page to use when passing strings to and from COM objects.; |: Q$ [/ J/ ~/ z/ L4 T
  1612. ; Default: system ANSI code page$ H; {+ o8 i% B1 r: W' C4 Z( H
  1613. ;com.code_page=/ X. W9 }6 J0 ^: ?* v6 r4 ^$ Y( u# r

  1614. 2 N' f- H7 v! v
  1615. [mbstring]
    4 n' Q: r( g4 d/ c. y
  1616. ; language for internal character representation.
    8 }% K& z+ Q, F0 N8 [
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    7 o# o) ^) B6 F2 c% D0 v
  1618. ; http://php.net/mbstring.language4 U3 w6 A+ J% Y6 Y* g# f( r
  1619. ;mbstring.language = Japanese
    1 T$ q3 [& ^4 v; \8 W  ?

  1620. ( z: o+ u5 L5 B( O7 ]# |+ O" S. c
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    . ]/ H$ l: B0 W! a( |6 Z# o) Q
  1622. ; internal/script encoding.
    8 N' I' r  N% n/ E
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)- H8 A4 ?8 j1 g$ Z9 p: s) E: a
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ( {& y4 ]* a- J' j1 i
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding+ o" K, X$ H! Y5 |7 _( y8 G
  1626. ;mbstring.internal_encoding =' S9 U  Z/ V% @  O1 G) f
  1627. ; F8 S+ ~4 \# `
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.% L" q" G, ~1 Q7 x5 N
  1629. ; http input encoding.3 R2 c5 o( J7 A. e& E
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.# `" T9 g* [6 k$ ?; Q- J
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    1 y  r1 Q& i& c# T; c5 f! f' @2 f
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input. W6 h0 [1 [) Y% j  z/ n% Z
  1633. ; http://php.net/mbstring.http-input
    ; Q1 Y3 m( a3 Y
  1634. ;mbstring.http_input =
    " y4 e/ Y( K% H8 q' Z$ Y
  1635. 4 p# j2 y0 G# O- N% {3 ~
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.3 [* d. B; n3 W4 x4 R3 c" q
  1637. ; http output encoding.  S" \8 x) y( ~0 K
  1638. ; mb_output_handler must be registered as output buffer to function.2 n4 ~8 L) t+ ~4 z2 t( X, e
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.* }2 V! u7 D7 h. @
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output' z& Z4 O  A2 ^9 {/ w6 V
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    . Q! D& U3 Q  |, ^
  1642. ; otherwise output encoding conversion cannot be performed.! ?2 M" u& T. W0 n- k. P4 Y
  1643. ; http://php.net/mbstring.http-output. U) K2 U8 K) N% G: ]6 {, n/ P
  1644. ;mbstring.http_output =
    4 w. B6 l9 }3 s- p9 `( ^

  1645. ) n0 A6 Y+ i9 I7 J
  1646. ; enable automatic encoding translation according to: q( P1 A6 u7 T& K0 {
  1647. ; mbstring.internal_encoding setting. Input chars are' q) K8 v2 ^1 x0 w# M1 ^2 k
  1648. ; converted to internal encoding by setting this to On.9 \8 h+ h& I5 X
  1649. ; Note: Do _not_ use automatic encoding translation for- O/ ]& l- u5 h2 i/ i! k
  1650. ;       portable libs/applications.; z& a. |$ S) j+ x% E
  1651. ; http://php.net/mbstring.encoding-translation
    ; T; F4 Z# p0 q) e6 z' `
  1652. ;mbstring.encoding_translation = Off
    7 S9 U# y% G$ N$ l' U5 J' d/ M+ M
  1653. . t. }! d; s( A  s+ [
  1654. ; automatic encoding detection order.
    7 Z5 n9 h3 Y* b; F" M
  1655. ; "auto" detect order is changed according to mbstring.language, P' I# f  {' _
  1656. ; http://php.net/mbstring.detect-order( B/ M# A7 V+ Z3 @; r0 e
  1657. ;mbstring.detect_order = auto
    % s! f0 e5 d5 b# y0 P1 F; q

  1658. $ G9 F+ S7 |& [+ b4 _5 A4 {
  1659. ; substitute_character used when character cannot be converted6 O  u. Y/ }( g+ V
  1660. ; one from another: S2 W$ S, R4 U" l0 W
  1661. ; http://php.net/mbstring.substitute-character/ K& S5 p- {% A& }/ |2 N, |
  1662. ;mbstring.substitute_character = none  ]2 K- ^2 z% ~+ _

  1663. ! J, t* L" o/ {$ d! F4 r
  1664. ; overload(replace) single byte functions by mbstring functions.
    6 h4 j! N! y2 x5 \: ~
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),0 w) h$ Y$ K5 j# A6 X2 S) R' @* j
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    . V/ V1 v, ]2 }0 w4 Y5 A% V: u
  1667. ; For example, 7 for overload everything.* ]0 w. H) u; m2 P: \& t
  1668. ; 0: No overload
    . l2 @4 f( M- d* P3 ^
  1669. ; 1: Overload mail() function
    $ }9 F8 U1 O0 \: r* D6 u
  1670. ; 2: Overload str*() functions( e" i0 A. t8 W8 [/ I
  1671. ; 4: Overload ereg*() functions
    8 W5 |3 K- W- V; H9 t
  1672. ; http://php.net/mbstring.func-overload
    ! p: \& [4 o+ D9 ?& E1 G; \
  1673. ;mbstring.func_overload = 0
    . x- Q" K+ r* Y. G5 N9 t0 Z

  1674. . A) r/ l5 ?, P! ~* {
  1675. ; enable strict encoding detection.
    * D1 G) J& D! ^
  1676. ; Default: Off2 y  X5 @3 @8 L9 K3 o
  1677. ;mbstring.strict_detection = On
    $ k. C, @$ n  X3 F+ A7 |
  1678. * F8 ^- [0 b  V7 Z1 u. m; B2 Z
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()  u: I8 I" Q7 H* }7 t8 X; ]0 Z  Z
  1680. ; is activated.8 N4 E/ K( R( `
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)( C& E7 X9 F/ j
  1682. ;mbstring.http_output_conv_mimetype=4 U" h( S' _$ r& e- N" P' `6 g; o9 l

  1683. " N7 B0 A+ B. K1 E) v3 W
  1684. [gd]
    ( w) _8 l9 V8 m
  1685. ; Tell the jpeg decode to ignore warnings and try to create; O3 G0 B5 w0 \0 k( o  p- W
  1686. ; a gd image. The warning will then be displayed as notices
    * W1 L. `5 n4 a& W" K4 a- l
  1687. ; disabled by default
    % p+ y. [  {1 J. W; N2 J0 I
  1688. ; http://php.net/gd.jpeg-ignore-warning
    5 K9 w7 [' ^  E" m$ j6 @
  1689. ;gd.jpeg_ignore_warning = 09 W' P7 J& |" E# Z0 {

  1690. 0 L, w3 A' ^& H+ \( ?
  1691. [exif]5 p& w( X3 @. l$ U* K9 c, \
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    $ D' u/ Y( w; r* i' z% V
  1693. ; With mbstring support this will automatically be converted into the encoding; u4 O$ f" w0 J5 d9 D  @
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    2 Q* o! Z% x% c2 n  m
  1695. ; is used. For the decode settings you can distinguish between motorola and
    4 [6 v2 r  ?: d1 ?9 P7 M
  1696. ; intel byte order. A decode setting cannot be empty./ R  O: B. O1 r9 i
  1697. ; http://php.net/exif.encode-unicode
    $ G& D! W  `. A4 f& m5 O
  1698. ;exif.encode_unicode = ISO-8859-15
    6 {/ ~: i  [$ j# C+ Y* i# l
  1699. & [3 o8 B" D9 l' D8 p
  1700. ; http://php.net/exif.decode-unicode-motorola, [& z8 k2 c0 L9 r8 t, P
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    . `% L# B( w  t
  1702. ! Y  r, ?& Q* S  @8 g& G- ^# N
  1703. ; http://php.net/exif.decode-unicode-intel
    - V$ i' b& f. ?# j% y# ~
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    7 H& _  g3 c) ~+ w

  1705. # k) z& m  y0 [6 x! g
  1706. ; http://php.net/exif.encode-jis
    . _7 e1 B; F3 E+ m( ~+ d
  1707. ;exif.encode_jis =& |: x( C% _3 E  o2 m! u5 e% j

  1708. 0 z/ t* y" T% ]5 [$ T
  1709. ; http://php.net/exif.decode-jis-motorola
    : k: e) n! o, c* Z- }& ]
  1710. ;exif.decode_jis_motorola = JIS7 P5 f# a  z/ B. H: C- D

  1711. 3 z- g9 o( Q8 S2 W/ a
  1712. ; http://php.net/exif.decode-jis-intel
    # H' Q5 l8 B: y; \" R
  1713. ;exif.decode_jis_intel    = JIS
    : M8 j$ |5 S# J3 K- y3 ?

  1714. 1 y0 W2 d, m9 H, z4 B0 X- n
  1715. [Tidy]
    7 x" P: f, t8 j8 P3 p" i
  1716. ; The path to a default tidy configuration file to use when using tidy  D' D* j  }$ S8 m
  1717. ; http://php.net/tidy.default-config
    8 ]9 T! q: O/ J+ q8 X5 i( G
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg& ^. ]: [3 z2 P  B/ _- z- W0 @% [

  1719. & n- L: b. j/ K) }" \
  1720. ; Should tidy clean and repair output automatically?
    ' w3 \' b, p4 u1 v
  1721. ; WARNING: Do not use this option if you are generating non-html content
    + v/ f1 N, |4 `4 e$ N' v5 m
  1722. ; such as dynamic images  L# y+ D% _  {4 U4 t
  1723. ; http://php.net/tidy.clean-output
    - c# `; K& }+ S8 P
  1724. tidy.clean_output = Off2 ]2 U0 E- b! a% o

  1725. $ S% k0 O0 s& S9 L  d( ]2 W
  1726. [soap]
    2 _' C- m1 G2 ^% o$ w
  1727. ; Enables or disables WSDL caching feature.
    % o; G0 i* U8 Y8 @
  1728. ; http://php.net/soap.wsdl-cache-enabled
    1 @3 Z' R( F' P, v: b
  1729. soap.wsdl_cache_enabled=1# D2 f: f  f0 G# r; U
  1730. - x# ?# e+ [: }, U5 n- J: l
  1731. ; Sets the directory name where SOAP extension will put cache files.& s) C5 u/ ^# B, \/ ]
  1732. ; http://php.net/soap.wsdl-cache-dir. I9 P& h0 M, q: t  F: k
  1733. soap.wsdl_cache_dir="/tmp"& l6 Z/ v8 V2 H! t( ^
  1734. ' r! l2 k! @1 Y: _
  1735. ; (time to live) Sets the number of second while cached file will be used( |. l6 O% T5 W- t+ ~9 E! c
  1736. ; instead of original one.
    ! h: L& ]$ s! i8 T0 `: {
  1737. ; http://php.net/soap.wsdl-cache-ttl' h& V+ ^* z& K
  1738. soap.wsdl_cache_ttl=86400- e& t; G6 ], A4 e6 l2 Y. u8 }

  1739. 6 p; p5 V& y$ M7 p4 N, X7 h6 O  Z
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    : ^' x5 e" R+ C  W% b9 p# g7 L- E
  1741. soap.wsdl_cache_limit = 51 @( P% q' d- k
  1742. . P  L/ N& U) d, Z) K" |* a& r! Y
  1743. [sysvshm]
    7 w+ [* O! Z) h$ }8 `
  1744. ; A default size of the shared memory segment7 W5 T$ N' B! W# _8 U' y
  1745. ;sysvshm.init_mem = 10000% o7 b7 W7 \. U) Y) l

  1746. $ V8 P1 b# R* S; C3 V8 W
  1747. [ldap]; A) j6 H0 L8 J/ u: G9 ^
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    5 z  ^% a2 ~/ k3 ?
  1749. ldap.max_links = -1' K+ c5 G5 |) ?9 _! N: M! B
  1750. * {+ l! c& x' s5 |5 m  l, ?
  1751. [mcrypt]
    / Y: `+ C" E3 z) o1 \4 H/ Y
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    1 \! S' \; c4 f; p
  1753. + z3 Y( D1 p1 [1 P' E$ H
  1754. ; Directory where to load mcrypt algorithms
    8 i) i2 y6 x! c/ ]$ u3 z
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)/ `0 |+ P2 D9 d
  1756. ;mcrypt.algorithms_dir=
    : R( b+ e  s* q2 V6 }  b

  1757. 1 I" r. k+ n; F% d1 z" K
  1758. ; Directory where to load mcrypt modes
    7 v5 Z, U( T0 v
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt): s; ?* {6 U& k: y! C3 b7 S
  1760. ;mcrypt.modes_dir=
    6 \% H7 m" V( _* t8 {

  1761. / O9 i# h: t. }/ F
  1762. [dba]
    & x) q8 S; r0 h) J9 U- r+ V# \
  1763. ;dba.default_handler=
    5 ?5 ~: b! v2 H4 P+ V/ c* M

  1764. % \. a$ i3 e8 S- [
  1765. [opcache]
    - L7 J+ S4 M3 j: i, v+ V
  1766. ; Determines if Zend OPCache is enabled
    7 n& V8 ^* _+ |! t
  1767. ;opcache.enable=0( R  x* l  R2 ]0 x
  1768. . }9 O# b( z, @9 u
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    1 |( F: n0 ]5 u7 e# Q2 d
  1770. ;opcache.enable_cli=00 i. t+ e. P7 l9 N. N/ [
  1771. : ~* J* ~& }' c
  1772. ; The OPcache shared memory storage size.0 s. V# W. P- U* ]% R  g8 }
  1773. ;opcache.memory_consumption=64
    4 P! Y2 \1 a1 _# L- ?
  1774. 3 c8 ?$ W2 ]2 R: _+ c' `7 }
  1775. ; The amount of memory for interned strings in Mbytes.
    : ~' r! o# H$ w. }0 h
  1776. ;opcache.interned_strings_buffer=4) S  Z1 F) f$ _% |" V6 k
  1777. % [4 e9 C. @0 G+ V
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.; r/ a! o( G& @& Z$ Z4 g
  1779. ; Only numbers between 200 and 1000000 are allowed.
    7 b" u! u! q4 y( e/ q
  1780. ;opcache.max_accelerated_files=2000; i6 v, U, w! k) e+ ?7 E3 T
  1781. + h# l* Q7 t* I+ m7 r
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled." o9 N7 B1 N$ p( e" a% }, j9 B) e9 Q
  1783. ;opcache.max_wasted_percentage=51 X3 k" z, ~9 h1 p8 U8 ?
  1784. 3 X/ O5 A3 L. O. r
  1785. ; When this directive is enabled, the OPcache appends the current working
    : v" L3 b! \7 O+ p% s
  1786. ; directory to the script key, thus eliminating possible collisions between: }3 r, P, v  j7 D6 M
  1787. ; files with the same name (basename). Disabling the directive improves
    : p5 F2 P! Z+ R, y# p3 D
  1788. ; performance, but may break existing applications.* s% f1 O4 N8 U
  1789. ;opcache.use_cwd=1
    7 [& F! h; y  @+ r, [

  1790. ' ^4 b3 C1 u) v! v
  1791. ; When disabled, you must reset the OPcache manually or restart the
    5 \3 R1 c6 S9 S# ]8 ]
  1792. ; webserver for changes to the filesystem to take effect.( K" u: i3 k8 ^$ P- m, t) i3 C8 Q
  1793. ;opcache.validate_timestamps=17 H' I. D1 d! }7 s* p. k

  1794. 2 _, O# f# b0 f0 e
  1795. ; How often (in seconds) to check file timestamps for changes to the shared  ~- t8 b; k7 Q3 P* y2 Z
  1796. ; memory storage allocation. ("1" means validate once per second, but only1 k/ b+ s/ `- O& Y
  1797. ; once per request. "0" means always validate)& n& Z1 _* V; w" I) c, K, K) H' y, x
  1798. ;opcache.revalidate_freq=2$ z* o! x  c2 f3 n- y

  1799. 1 Z5 Y9 q- v" B& W; f: p
  1800. ; Enables or disables file search in include_path optimization
    4 ?5 Q! A$ Y" ?- a& A
  1801. ;opcache.revalidate_path=0
    ) A% N% T, e% ~. P. s
  1802. * S6 d7 l$ n, N) b7 ^. l
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    # l4 l# _" N% O. ?# J% G* n5 x
  1804. ; size of the optimized code.% ^( \' C6 p. M. D" F' z
  1805. ;opcache.save_comments=1/ M6 @, V9 \- G) r  h

  1806. , O3 L3 l$ Z, G' h0 I% z8 R
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ( y* d& J) L6 L( C% M: i9 z4 r
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    : o( ], H& M, C! t
  1809. ;opcache.fast_shutdown=0
    + L* M- V: Z' ^7 u- B3 V  B0 a( z7 O/ z! P
  1810. & y" S$ E2 H. Z- T; c3 k
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    $ ]" R4 E8 I( Y/ q
  1812. ;opcache.enable_file_override=0' t0 m5 @3 h* v( {. P, F

  1813. 4 |0 `, l  Z$ r6 D0 D7 U
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache& w. A9 X# ^& q3 a8 D
  1815. ; passes& r& a$ }! ?; Y- Y$ e( s
  1816. ;opcache.optimization_level=0xffffffff
    5 `9 f  L3 l  \% l
  1817. 7 K2 Q  G  _# y& u% i
  1818. ;opcache.inherited_hack=1
    1 ^0 h% D% ~* m( X/ L
  1819. ;opcache.dups_fix=0
    . e: x3 {7 a2 O* t
  1820. ; A4 ^; j' Y0 E' V( l
  1821. ; The location of the OPcache blacklist file (wildcards allowed).$ X0 u% V& E! g1 m& p/ Q
  1822. ; Each OPcache blacklist file is a text file that holds the names of files: A3 j8 O3 B* u: t
  1823. ; that should not be accelerated. The file format is to add each filename
    * V* I' _6 K; Q: l  k& n  H7 g
  1824. ; to a new line. The filename may be a full path or just a file prefix
    , G& {, S/ c/ e6 ~2 s* S# p
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    + E$ y( e0 M6 w$ r
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    4 Q/ K3 |' V( u. ^
  1827. ;opcache.blacklist_filename=
    5 d+ t" `0 a$ q' g# U1 C6 T
  1828. 6 x, j% g& q4 D" G  [$ g& k" R0 ?! q! G
  1829. ; Allows exclusion of large files from being cached. By default all files
    ( R. Q* q$ U" K9 W5 s* `4 |
  1830. ; are cached.0 f0 Q; k/ \0 B9 E: t: N
  1831. ;opcache.max_file_size=0- [" D- ^* t! T8 D

  1832. 0 d& i0 ~; g! t% ~: U
  1833. ; Check the cache checksum each N requests.9 G( j0 m! R6 p  U* G9 n
  1834. ; The default value of "0" means that the checks are disabled.
      R) |5 e1 z4 Y$ e6 ~
  1835. ;opcache.consistency_checks=0* N$ f! K7 W0 N) G: u( C

  1836. 7 r: x' h2 X  y* w# d$ i  W# i
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache+ y9 R. W! e( W/ @9 _
  1838. ; is not being accessed.
    1 m. E  a; i& I( o6 m
  1839. ;opcache.force_restart_timeout=180
    ) Z# a0 ^: W4 p; H* a( q

  1840. 0 I! L" f% m! s3 i7 _
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    ) ~8 }; A0 B0 J
  1842. ;opcache.error_log=
    5 G( ]1 N# g, H7 R' _% q) i
  1843. / K4 S* ~7 A/ ^; U; j! B
  1844. ; All OPcache errors go to the Web server log.
    3 g& U  j4 Q& G2 @/ ^9 y( F, X+ j
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    / q. E! w8 s0 s$ T9 a+ B
  1846. ; You can also enable warnings (level 2), info messages (level 3) or2 K0 n- ?5 t: @! G" Q
  1847. ; debug messages (level 4).; [7 |! w, `2 g, c# v
  1848. ;opcache.log_verbosity_level=1, a. y! T& K! R7 t
  1849. : R% C# x  c0 p  S* D
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    0 O' p" v3 ^9 h3 |
  1851. ;opcache.preferred_memory_model=- J' h$ o; l! k9 U' e

  1852. . a- R8 I2 O. w0 e7 S7 e: U& m
  1853. ; Protect the shared memory from unexpected writing during script execution.
    " ]5 o/ X7 }1 O2 s
  1854. ; Useful for internal debugging only.
    $ ~* b; P9 {8 H/ w( q5 R2 s9 u$ a3 v' o
  1855. ;opcache.protect_memory=0
    ; s( Z  C* a7 g! T) w$ F
  1856. + c9 E9 ~3 Y6 f/ A! [5 {0 u
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is3 J) X8 O: q: |
  1858. ; started from specified string. The default "" means no restriction8 b) V% m7 ^8 m3 N8 X
  1859. ;opcache.restrict_api=
    5 F# y* w+ V! x4 `0 }, q8 T  n3 ]

  1860. ' N* R6 C* y& y' b) B
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP' }" s* n6 B. y
  1862. ; processes have to map shared memory into the same address space. This& l- ?% F! O, a; Q) q
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    0 d* a+ M) r9 I& j* f
  1864. ; errors.
    ) e1 [# c" E, {6 h4 U1 h1 ^
  1865. ;opcache.mmap_base=
    " b+ M; R( m+ L6 ]

  1866. 0 N# y2 L. |/ c* I( K5 G  `7 {0 r
  1867. ; Enables and sets the second level cache directory.
    # o" M% `7 \/ Q/ r7 S
  1868. ; It should improve performance when SHM memory is full, at server restart or
    6 {5 B, A9 o0 E  p# t/ `5 z& p
  1869. ; SHM reset. The default "" disables file based caching.$ o" Q. r/ D+ P
  1870. ;opcache.file_cache=' n/ C* O/ v! e# e
  1871. - u' {: R- h2 [( \' K5 P
  1872. ; Enables or disables opcode caching in shared memory.& ]  L6 }- f- U- D1 s, R
  1873. ;opcache.file_cache_only=0: f3 P+ C. ~7 K6 {8 ~) z- F
  1874.   ]4 o4 \1 E2 e- i5 X
  1875. ; Enables or disables checksum validation when script loaded from file cache." o" K8 K" d- M: X
  1876. ;opcache.file_cache_consistency_checks=12 d3 R- d9 r5 I, y1 x

  1877. 9 u0 ^, ^4 X* ]. s* W
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to. h6 c( ]; b% S9 c& F2 ]6 H
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    * |0 Z0 t* j+ C5 o6 ]
  1880. ; cache is required.
      r1 O2 e! q* ?( \+ W: r' [/ I
  1881. ;opcache.file_cache_fallback=1- L8 A5 R8 A: `) @, W

  1882. ; M% z4 V2 x4 @( q
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES./ B* o8 Z; T  a: B
  1884. ; This should improve performance, but requires appropriate OS configuration.
    / g* \; \1 s. O9 ~8 {7 Q% g' s% o' T
  1885. ;opcache.huge_code_pages=17 Y  B2 V  |2 n3 P- r

  1886. , |. r. T! n: T6 G
  1887. ; Validate cached file permissions.' |, k, ~2 |. G7 O- A" }* ?% S
  1888. ; opcache.validate_permission=0
    ( |& W" @9 c8 d/ v; a

  1889. ; R4 |) W, K" X# F- t
  1890. ; Prevent name collisions in chroot'ed environment.+ V9 H8 @" Z% U& H
  1891. ; opcache.validate_root=05 b8 j. K9 L- x; h, z4 J3 a% k

  1892. # B3 [7 o: l! x7 w- b* y! l
  1893. [curl]1 i% @* r2 F( J% |
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an6 \& A$ i( b( f% s' H  [  k: H
  1895. ; absolute path." H& r8 `' v# d0 C( g! V
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    $ l- O* Z0 _6 z. ]8 `+ I2 f5 H

  1897. + o8 ^( s( {7 H5 h
  1898. [openssl]
    6 t" s) c8 U( k2 a/ H/ g+ B5 q; ~' `
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem. R2 {; a+ B) L1 \
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should; c0 K/ |& x5 p2 H0 k- M' Y
  1901. ; not specify a value for this directive as PHP will attempt to use the
    3 O& [( G' T2 j0 p0 D2 U) v6 k
  1902. ; OS-managed cert stores in its absence. If specified, this value may still0 P+ ^* M- G4 Y- f8 E7 w
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    - b2 t0 Z. U. z* r$ i
  1904. ; option.
    5 q8 Y) A$ p6 H7 m; E3 `$ v  S
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    * s5 C& O* ?; O$ l# f
  1906. % D; P  W$ h' ^3 W1 k' H) u. w  o
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    $ o2 a$ h8 o6 p+ e; w- S
  1908. ; directory pointed to by openssl.capath is searched for a suitable
      X1 f, N" U% ?2 v, F
  1909. ; certificate. This value must be a correctly hashed certificate directory.; ~) H2 @) }2 P" s
  1910. ; Most users should not specify a value for this directive as PHP will
    $ b% q" Q: B$ ?2 w, t) ~
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,+ I- ^1 }% T$ B1 A; I* Y
  1912. ; this value may still be overridden on a per-stream basis via the "capath"; ~* {2 O! T6 u. Y
  1913. ; SSL stream context option." u4 v7 U7 t. J2 l7 m: U+ J3 O
  1914. ;openssl.capath=  e& O3 f! r# R) h* c# g
  1915. 2 Y6 c3 H9 b# j
  1916. ; Local Variables:' C9 i' p/ n( }& F6 b, J
  1917. ; tab-width: 4, E- E3 d2 E2 W  M, k
  1918. ; End:# D" M2 F4 T: O' H2 R5 p

  1919. ; h, N$ Y) x8 ^. G' y- s% ^6 b/ E; m
  1920. ;eaccelerator
    ; _6 Z4 G# i/ ^& U2 Q; ^& j4 `; \
  1921. " A" D* I% x+ r" G0 w
  1922. ;ionCube% n5 r( y& w$ w: E: z
  1923. ( b0 B: @. D; [
  1924. ;opcache8 X; s7 \4 [/ f9 z8 U+ b) T7 I
  1925. 5 }- }/ q7 S. i9 Z  e' H6 H8 @
  1926. [Zend ZendGuard Loader], M4 E4 W1 X4 v+ `' V: ~0 J+ G
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    : b( s. m6 ^9 q$ [* ]3 s
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so# N+ ~/ f/ a' V# X6 r0 A; W
  1929. ;zend_loader.enable=12 h$ t& P" m0 Z4 C5 l( E
  1930. ;zend_loader.disable_licensing=0& r: w2 H8 E- }7 ]
  1931. ;zend_loader.obfuscation_level_support=3
    & D8 ?9 Y2 ]* N; m  f4 S6 B3 @
  1932. ;zend_loader.license_path=
    : ?/ L, \6 s/ y* e8 n* |% I
  1933. " j1 j' q/ u& |; ~$ t$ @
  1934. ;xcache
    3 N8 `5 T2 \* N2 T
  1935. : j  ]' i: M& f" l  k
复制代码
- q& A9 ?+ w! q, [$ q

2 m4 u: V* _! w% A: e0 \7 R  g, c* n1 l7 i
2 H, Q5 H7 @1 ^: P1 d

! s& _: u3 ^9 @/ g9 j$ {  V$ U6 P% _

3 }; X  K: a7 g2 S" BPHP5.6版本原始设置6 T& g# G8 G/ b* i& t/ i" D

) g* W! A' c9 W  E
  1. [PHP]
    ! @% r0 p0 f: U
  2. 7 Z0 M7 _) {3 ~  E
  3. ;;;;;;;;;;;;;;;;;;;
    1 W# Q! e+ U( q# ^; j
  4. ; About php.ini   ;% u) @" Z2 }, m7 i, p6 s
  5. ;;;;;;;;;;;;;;;;;;;" W* c. J3 O( ^/ B$ G
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    $ Q: S9 F9 n2 A+ p8 h. U
  7. ; configuring many of the aspects of PHP's behavior.
    $ u% j" U, T. P& F1 J; Q; m8 h

  8. 6 W# I! a- a) G4 o- k
  9. ; PHP attempts to find and load this configuration from a number of locations.% F7 q7 }7 T/ R
  10. ; The following is a summary of its search order:8 t+ y- T3 L* W- `
  11. ; 1. SAPI module specific location.# j: A1 D2 P$ {. \& ?5 s! Z
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)# K( k4 d* j  d. s1 J
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    " n- m8 F/ J! ~8 \9 ?+ ]$ X
  14. ; 4. Current working directory (except CLI); `) Y* q) a$ N, O+ c
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    & S2 k0 t  }4 H& t
  16. ; (otherwise in Windows)
    ) T% B; g& I% G/ N
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    3 W( i! [8 E; B  F4 J9 b
  18. ; Windows directory (C:\windows or C:\winnt)
    9 X1 y+ \) n7 j. u$ q
  19. ; See the PHP docs for more specific information.
    ( L% {8 G! E5 h1 U  h; s
  20. ; http://php.net/configuration.file0 i# {, t. y/ J% a/ o+ z- W3 i
  21. & {$ y* g2 Y) x
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    - A0 z- U  e7 l% W
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).6 ~2 k6 X3 _; w% e
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though9 B: n# a: h; ^9 q4 ~8 V/ s
  25. ; they might mean something in the future.: w  w, e+ U6 V

  26. . k; m' A+ ?1 K. n- }# H& o* U+ F
  27. ; Directives following the section heading [PATH=/www/mysite] only# J5 e+ Q: M6 ^' D& p
  28. ; apply to PHP files in the /www/mysite directory.  Directives; D' H* v$ A% O7 I( E/ J6 {& q% M$ X
  29. ; following the section heading [HOST=www.example.com] only apply to) [. f2 k  D9 [: {
  30. ; PHP files served from www.example.com.  Directives set in these
    - m  B1 _; h; e
  31. ; special sections cannot be overridden by user-defined INI files or
    $ _6 w  u6 e8 K+ y4 O* ~
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under( ], O0 ], r$ I
  33. ; CGI/FastCGI.
    8 \7 V% r# o+ f
  34. ; http://php.net/ini.sections
    8 A- z& ^; c' Q+ c+ x  E
  35. / T7 B' S" V$ P
  36. ; Directives are specified using the following syntax:
    - O" v- ^" Y1 f  V
  37. ; directive = value; L# A  X$ b/ k6 x$ f0 F
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    & D/ ~" D1 [9 Z+ x4 f0 U0 C$ _
  39. ; Directives are variables used to configure PHP or PHP extensions.9 R4 T* m  e% C
  40. ; There is no name validation.  If PHP can't find an expected
    / @1 R' z& i& y5 @; ?
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ; B* M3 q- v5 m/ b7 B6 c1 Z
  42. 7 W6 L1 b6 X7 R% a: n7 y& y
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    : p- b+ X4 f* {, m( t' Z5 u, x
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression3 U, k/ F9 j( s- R) N1 L5 [" T
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
      ^- j/ q; G, V
  46. ; previously set variable or directive (e.g. ${foo})
    9 G& o( @2 L0 g
  47. 0 Q! U5 H7 f0 M5 O, q) x$ u
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    " [4 l' e) s% D+ t4 ]; q0 {" j
  49. ; |  bitwise OR
    $ ~, e. M- k7 n4 }9 e- }' Y$ D
  50. ; ^  bitwise XOR2 l2 n3 S$ o5 b  z/ S; c0 a
  51. ; &  bitwise AND
    ' ?; m& ]# f' q7 s6 ?2 P
  52. ; ~  bitwise NOT6 T& p, @2 j! S$ i, Q! h7 H
  53. ; !  boolean NOT0 W7 r: N& U' j6 V) E+ F1 @
  54. $ n  m) S+ N3 J3 G; j
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    * i% T3 t- ~  X) `
  56. ; They can be turned off using the values 0, Off, False or No.
    4 W" q, U9 I4 }: V( ~# b+ O

  57. 0 b: T' g& [2 l, ~( H3 t
  58. ; An empty string can be denoted by simply not writing anything after the equal3 Z( s- g3 v: G
  59. ; sign, or by using the None keyword:
    ( V' @3 H7 C, g

  60. ! W; l, x0 u. L8 L0 m( p
  61. ;  foo =         ; sets foo to an empty string. }' j7 \% t/ @
  62. ;  foo = None    ; sets foo to an empty string
    ; J; o. G/ H. {  Z- w
  63. ;  foo = "None"  ; sets foo to the string 'None'! V  A. r: @6 x' Y4 M4 X- j

  64. ; Y9 i4 p" z. |
  65. ; If you use constants in your value, and these constants belong to a5 N0 u0 T3 ~# |: ^# Z5 Z& x
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),8 p3 g( S: E- w# M. V6 [) D0 L3 a. ]
  67. ; you may only use these constants *after* the line that loads the extension.2 J: g+ V# ^* _+ i! n

  68. % h+ `6 O3 C* w, |0 c
  69. ;;;;;;;;;;;;;;;;;;;# I+ U6 N- r/ U% v8 F' g! x( p
  70. ; About this file ;+ G" j) H0 l+ |# T, x5 c
  71. ;;;;;;;;;;;;;;;;;;;
    % c  X, ?, |6 s3 D8 E
  72. ; PHP comes packaged with two INI files. One that is recommended to be used; x4 ~. Q2 o& `4 w
  73. ; in production environments and one that is recommended to be used in7 a* O% T! O; H% C. {- K
  74. ; development environments.
    & W; e7 c# K3 h! x

  75. & ^2 g) R4 ?" Q/ e4 ~
  76. ; php.ini-production contains settings which hold security, performance and
    ( H$ F, Z) b5 t% i$ `
  77. ; best practices at its core. But please be aware, these settings may break
    2 r0 A. U" {, ?/ G4 t- F# Z- C
  78. ; compatibility with older or less security conscience applications. We
    8 \1 q! u/ G( ?$ s) |% l2 I) I
  79. ; recommending using the production ini in production and testing environments.; }5 v' D! z. s$ f3 V6 I
  80. * O1 N( F1 P: B
  81. ; php.ini-development is very similar to its production variant, except it is
    ( b5 X" {5 c% `0 d$ e" |
  82. ; much more verbose when it comes to errors. We recommend using the& J! e- n2 L: `6 K+ O, `
  83. ; development version only in development environments, as errors shown to4 Z: T; ^5 Q; ?$ J  k
  84. ; application users can inadvertently leak otherwise secure information.
    " g8 n5 M: M0 b: n/ H/ _2 q
  85. 7 d8 G4 q- D) m" X9 ~  _
  86. ; This is php.ini-production INI file.
    # ]% X, Z) u8 |7 X
  87. 3 p" o$ Q+ i  i/ ~  I% O
  88. ;;;;;;;;;;;;;;;;;;;
    ! ]6 [$ m2 Q, N$ M
  89. ; Quick Reference ;
    5 n) k  L8 \/ J! J0 d: F
  90. ;;;;;;;;;;;;;;;;;;;5 y% k! [2 Z; v
  91. ; The following are all the settings which are different in either the production% H! u) T! X3 {4 b
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ' p- V5 f% \* l+ z+ ~% y% P
  93. ; Please see the actual settings later in the document for more details as to why
    8 H0 r, p; {. _# H1 \2 Y& c
  94. ; we recommend these changes in PHP's behavior.
    & w' O' j5 _: R9 E( w
  95.   I! `& W7 J: D/ @
  96. ; display_errors$ e' u6 ?+ @- \- G5 r- L) `' T3 {
  97. ;   Default Value: On
    % o9 Z( [$ x; y8 q9 z
  98. ;   Development Value: On' K- b+ N! V8 Y7 {# H6 Y) m
  99. ;   Production Value: Off
    4 t# Q9 x- I" C: [7 D1 {3 j8 ^
  100. 4 X+ j! Y9 {6 e
  101. ; display_startup_errors6 @# j# W0 y% ?1 K+ Q5 Z$ m9 F
  102. ;   Default Value: Off/ ~+ @' w) A  q  I8 u
  103. ;   Development Value: On
    : f+ x$ s& s' J% I
  104. ;   Production Value: Off
    / k6 \8 b) X; V% m, L  o/ }  o4 P

  105. 5 A1 z( e; |- U, E9 J+ j
  106. ; error_reporting6 s. `% b0 I3 y" T5 E
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    + i7 j1 o2 }" P1 h4 m" x* @
  108. ;   Development Value: E_ALL
    4 \/ p( L7 F4 @2 P" H
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT+ k; r! m: O: b+ k; L

  110. & c: ^7 `) @" C% |" }
  111. ; html_errors
    ! H+ k8 Z; M5 e# y6 d7 f: o! b
  112. ;   Default Value: On& g7 z3 E1 ?1 k0 ?- i! Y
  113. ;   Development Value: On
    $ f. J' |* C! W8 @+ ]0 O5 L. _
  114. ;   Production value: On
    8 g. f. H- @) |) F% l7 [" [; F

  115. 1 S% G6 e2 Q, y7 P
  116. ; log_errors1 F0 w( K. ~8 D$ i; e( P
  117. ;   Default Value: Off( I- c2 t* s9 R2 K
  118. ;   Development Value: On1 R9 N* _- i9 k, F4 q% }. M$ k: h% n
  119. ;   Production Value: On
      f' K2 W" L% ]

  120. 6 B$ t2 f9 c& N% l; @
  121. ; max_input_time, j7 K7 y% }8 A8 h
  122. ;   Default Value: -1 (Unlimited)- ?4 U1 }* a" @7 P
  123. ;   Development Value: 60 (60 seconds)
    3 f3 P. f/ |' z6 i" o/ _
  124. ;   Production Value: 60 (60 seconds)! }& {" F9 T5 q3 a  X( [
  125. . l! U: w7 s6 ~
  126. ; output_buffering
    ' n1 ^3 d* q3 M' g0 g: J+ `8 G
  127. ;   Default Value: Off
    4 ~/ |. O! @8 ~/ t. E
  128. ;   Development Value: 4096% R$ B& |5 ]0 a! K( `" c
  129. ;   Production Value: 4096
    ; @- v" V4 U  W% y" T

  130. 0 Y8 A1 y/ T8 m
  131. ; register_argc_argv
    / E% t4 [. ]; w
  132. ;   Default Value: On
    , [. l) h6 d9 D3 t" l& N
  133. ;   Development Value: Off" O+ E/ D: k+ ^- [
  134. ;   Production Value: Off+ [! K& u7 |+ H4 `8 t: F' m% C

  135. 8 \- `: O( ~/ D5 p! E; n3 D
  136. ; request_order
    & ~/ e9 H! g9 b
  137. ;   Default Value: None9 l( u1 Q- W/ _
  138. ;   Development Value: "GP"4 z8 a$ g2 K1 a: L* H% b
  139. ;   Production Value: "GP"" n; h# y) o: c: O  f
  140. + i6 Y) w  J  U7 d" J  }' d0 \6 m* R
  141. ; session.gc_divisor
    - D8 h6 k" T+ D  i, {
  142. ;   Default Value: 100
    3 \9 u( @5 Z+ ]- X$ j
  143. ;   Development Value: 1000& R9 B" ~) `- p* g
  144. ;   Production Value: 1000
    ) |" c4 l3 K7 m

  145. , e% v; I1 {% p4 b4 u4 p
  146. ; session.hash_bits_per_character, s3 \0 l9 h( a
  147. ;   Default Value: 49 o) U' n3 `  b3 Y- x) B% X5 g
  148. ;   Development Value: 5
    9 m; Q: |$ j9 D1 x4 y. g
  149. ;   Production Value: 5
    * \* [4 e, e8 `/ D- K6 c# ^
  150. & {* j- a  e; F* n1 v; D
  151. ; short_open_tag( H# t, x9 g  p5 ^+ `1 J; r
  152. ;   Default Value: On, o3 |; @; a& b% `' d
  153. ;   Development Value: Off$ g# U! {  x+ d: Q
  154. ;   Production Value: Off+ @0 f4 M: w) q  J2 T
  155. : C; k: p  b* Z* @& }
  156. ; track_errors
    " }* p; r( l. z8 L- }
  157. ;   Default Value: Off9 b% r8 U7 w4 V
  158. ;   Development Value: On
    % k4 {+ d+ t* o) S  _# W: q4 g* ]
  159. ;   Production Value: Off" T, g! k* c# F4 i
  160. 1 ^4 V8 n1 f6 v) u) \& C" g
  161. ; url_rewriter.tags2 l* c! p" O2 e! V9 ?. p
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    $ z( h+ i9 f+ f( V
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry", y& |8 u' q- f: e2 F
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' O, M- S9 f: ^$ ~

  165. * H- a  A/ X( f) H0 ?% d% {$ N
  166. ; variables_order
    ' O8 r. U# T6 D% `
  167. ;   Default Value: "EGPCS"
    1 l# c! K- E: k! q- c
  168. ;   Development Value: "GPCS"8 O0 V6 O) @4 C
  169. ;   Production Value: "GPCS"8 q3 Z6 F7 l: K8 \
  170. ) L/ K" X8 I$ e2 p; O
  171. ;;;;;;;;;;;;;;;;;;;;
    , Z! A, Q6 @9 R, @7 K  U
  172. ; php.ini Options  ;
    5 \  Q  C& J1 A$ N
  173. ;;;;;;;;;;;;;;;;;;;;
    : G, l) X! }. K, T! R
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"5 ?' T: [4 s0 ^5 g
  175. ;user_ini.filename = ".user.ini"7 _: F; L7 H' }( D! C

  176. ) q# A# |" F) Z3 Y) p9 w% v
  177. ; To disable this feature set this option to empty value
    7 ]4 [! q4 M9 Q( u! L
  178. ;user_ini.filename =
    2 A6 u( Z0 b2 v& g" o7 {

  179. . }0 h8 y& ?" V4 a3 l: k
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes): [; |5 G; F1 [: b
  181. ;user_ini.cache_ttl = 3008 I. _) p5 G% u0 }* ~7 i

  182. 5 V: g0 w0 ~- h2 c/ B/ ?$ F
  183. ;;;;;;;;;;;;;;;;;;;;1 K/ X: F0 x! M  d5 F
  184. ; Language Options ;
    8 g. J) N, n' d3 {; O+ V9 n/ y
  185. ;;;;;;;;;;;;;;;;;;;;
    * `& ~% w+ ]: @0 F* H& E8 Y- C
  186. ! o, N. p/ t: m* g! G- J, @" a
  187. ; Enable the PHP scripting language engine under Apache.6 @) b! G- R# w& P+ k
  188. ; http://php.net/engine" z9 I: n. Q- w6 I7 g' @) g7 h
  189. engine = On
    / Z. v- C! L- [/ R0 |7 @
  190. . e7 d; x4 G. d* |3 Q" I# t
  191. ; This directive determines whether or not PHP will recognize code between
    7 z: A& b1 G1 A
  192. ; <? and ?> tags as PHP source which should be processed as such. It is. z' O, `" p( K5 N
  193. ; generally recommended that <?php and ?> should be used and that this feature* n* S9 R' _7 S8 g2 q
  194. ; should be disabled, as enabling it may result in issues when generating XML
    & u3 V# {& F& @, @
  195. ; documents, however this remains supported for backward compatibility reasons.( F6 L( @: n% \' q: D- A% t+ r
  196. ; Note that this directive does not control the <?= shorthand tag, which can be7 J9 j. j9 s( _  I' V# _& i1 w
  197. ; used regardless of this directive.6 T) G" v/ k1 `' u
  198. ; Default Value: On6 ]. e" p) f; _/ E7 I' P' g
  199. ; Development Value: Off
      o  s) I- [9 T9 A% ~
  200. ; Production Value: Off
    ) A6 x8 k# I* c% ?  a" f
  201. ; http://php.net/short-open-tag
    7 e* t2 N( F9 s$ \5 [
  202. short_open_tag = On3 ?# m3 O* u5 X% x) X" {: Q

  203. ; H0 z! p0 `. \5 L# C
  204. ; Allow ASP-style <% %> tags.8 q9 R- Y, Q1 w4 b# X
  205. ; http://php.net/asp-tags6 U2 l) W( ]; I! D: X: e: j/ r. ]
  206. asp_tags = Off
      |$ U6 p! }8 I* i% X

  207. 7 x: z6 f+ t5 K! f+ ?% s) D
  208. ; The number of significant digits displayed in floating point numbers./ P, b6 g& K- s# L) P- Q
  209. ; http://php.net/precision
    / K" R. t6 h. q% ~7 e, Z; p
  210. precision = 14
    3 N' ^; p3 }# U; J

  211. . u+ r2 s+ c0 u1 Z7 {2 H
  212. ; Output buffering is a mechanism for controlling how much output data7 E: x0 j- M" z
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ! @) ]6 ^3 ?5 Z1 m5 F( u, J: m8 c
  214. ; data to the client. If your application's output exceeds this setting, PHP
    9 `* ?& e% N8 T7 S8 d
  215. ; will send that data in chunks of roughly the size you specify.; |3 v3 }, f. d
  216. ; Turning on this setting and managing its maximum buffer size can yield some0 \' L' s! v- x+ ]% T2 U
  217. ; interesting side-effects depending on your application and web server.. Z1 W3 C" O9 v% r/ o0 ~
  218. ; You may be able to send headers and cookies after you've already sent output0 e  _2 Q3 f& ?- M6 m
  219. ; through print or echo. You also may see performance benefits if your server is9 r$ Q" M7 o, m3 M  ^( g( V. J
  220. ; emitting less packets due to buffered output versus PHP streaming the output1 H! Z) L5 ], B1 _0 `. ^3 D
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    $ J& K2 |( ^1 H9 h* q
  222. ; reasons.
    $ J0 i' R0 V% M2 I& _
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    4 e  a6 x% o" G* J
  224. ;   functions.5 O3 g% _' T, y6 f# W! w
  225. ; Possible Values:& |8 @5 g! s/ A0 `8 u/ D. C
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)& [- J0 `' Q( N2 o! ^" }
  227. ;   Off = Disabled
    & K2 H5 i; E. b5 ^6 q$ P
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    8 `4 C- D# N4 P' v
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI, q& U8 t( {- ^- G1 V, t2 z
  230. ; Default Value: Off
    ! p, b9 |5 v) ~3 {1 f
  231. ; Development Value: 40968 R: o4 _7 g5 E& P1 y
  232. ; Production Value: 4096
    ) z( L6 K; ]1 W5 D
  233. ; http://php.net/output-buffering
    ) b' K1 i9 N3 N: W7 Q# C# h  v
  234. output_buffering = 4096
    , i. L1 G, Q* O) x- e
  235. $ ]4 Q3 b4 q; n
  236. ; You can redirect all of the output of your scripts to a function.  For( g5 M' h# G' S) o
  237. ; example, if you set output_handler to "mb_output_handler", character" X+ j; o9 `1 m9 U
  238. ; encoding will be transparently converted to the specified encoding.9 ]- S/ Q, n4 |
  239. ; Setting any output handler automatically turns on output buffering." a) b. k5 @8 F2 @# ^
  240. ; Note: People who wrote portable scripts should not depend on this ini& I  p0 b+ W9 @  C& ?; H
  241. ;   directive. Instead, explicitly set the output handler using ob_start().7 m: m- c% k( ]% D, x# \( |0 a
  242. ;   Using this ini directive may cause problems unless you know what script
    7 L& X; e' e/ f! }! ]& e
  243. ;   is doing.
    $ R/ v  G1 b9 K. Y) L7 g
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"5 \" V: X+ F' g5 `8 Y, F
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".  P; B3 P' R8 e* h. b! e+ Z  d! N& a
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    - i% [2 N$ n. ?. J& I6 [$ K4 z
  247. ;   Instead you must use zlib.output_handler.
    8 f8 l, s5 o1 L% `2 ]- Z+ f
  248. ; http://php.net/output-handler
    6 D( v% `% M* p3 g
  249. ;output_handler =
    0 `: X0 @$ @  {3 @" q: ]; N* M& z

  250. ( i! e/ n' _1 x$ A
  251. ; Transparent output compression using the zlib library
    / X$ n, n1 ~3 e% o% P! U2 {$ h
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    , D; k; M4 B' @. Y+ J& A; H
  253. ; to be used for compression (default is 4KB): w! @; _  c/ K1 ~% [; {% |/ B
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP8 X+ x5 ?) J$ M! x' n( {0 }4 L
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    6 H6 @  s  i5 w2 G& V8 o2 n
  256. ;   compression. If you prefer a larger chunk size for better
    5 @- V! I9 q# N1 h* m- P) A7 A
  257. ;   performance, enable output_buffering in addition.
    2 V" p) S" p' @4 q5 t
  258. ; Note: You need to use zlib.output_handler instead of the standard
    / T) G& V8 _" ?: K
  259. ;   output_handler, or otherwise the output will be corrupted.
    , [- ], s) i5 n
  260. ; http://php.net/zlib.output-compression$ K- u! g7 ]3 q2 g  N
  261. zlib.output_compression = Off
    # f8 E$ @. q1 K, }( \

  262. / I( c4 l8 i- b4 [
  263. ; http://php.net/zlib.output-compression-level, D. [" h- @. D0 {
  264. ;zlib.output_compression_level = -1
    $ R2 b$ ?3 z+ u' }

  265. + _1 |+ \; U" {- \9 ?
  266. ; You cannot specify additional output handlers if zlib.output_compression& V# Y  T% o# P% i- \5 S
  267. ; is activated here. This setting does the same as output_handler but in
    / w6 Z3 k5 z2 a
  268. ; a different order.+ Y; \$ c0 ?% \1 p  F) |
  269. ; http://php.net/zlib.output-handler
    * ]; p$ B  [" G, O: \* b& Q' z
  270. ;zlib.output_handler =* {4 @5 j, j* p& ~- x

  271. 3 Y/ ^! B% U$ q7 A# ^6 J
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    $ x! U6 u% d* w* Z. t% V; Y
  273. ; automatically after every output block.  This is equivalent to calling the1 k; ^" o% F2 p3 W  `9 s, x
  274. ; PHP function flush() after each and every call to print() or echo() and each
    0 A, Q+ W; r) {. f2 O5 p8 H+ U
  275. ; and every HTML block.  Turning this option on has serious performance
    6 r/ ~1 I! x. N2 N3 m6 k
  276. ; implications and is generally recommended for debugging purposes only.
    + u, |  ?1 ^1 ^$ ~  X& t6 W; F
  277. ; http://php.net/implicit-flush9 L$ Q2 T* o, j  U$ i2 _( X4 D
  278. ; Note: This directive is hardcoded to On for the CLI SAPI; m2 _( c. l) A$ U6 w$ N
  279. implicit_flush = Off
    2 R8 j) _. Q& ^& [+ d
  280. , v% C% K+ j' u! ~
  281. ; The unserialize callback function will be called (with the undefined class'
    ) S' h' h# @. n0 h3 U0 P, @- d
  282. ; name as parameter), if the unserializer finds an undefined class
    / C7 G; V$ p6 C$ B/ o& r
  283. ; which should be instantiated. A warning appears if the specified function is% y  a+ A  H( {+ B9 C
  284. ; not defined, or if the function doesn't include/implement the missing class.  D3 Q# j" y7 M. |' D6 r7 U( ^
  285. ; So only set this entry, if you really want to implement such a, i: D, r* i; c+ a  x5 D
  286. ; callback-function.0 L/ Y4 b6 g' J+ `
  287. unserialize_callback_func =
    2 H4 \" M" K6 e: ^- F) i

  288. 6 r7 o. @' X: G) D
  289. ; When floats & doubles are serialized store serialize_precision significant
    : Y, u8 R$ T5 s$ @
  290. ; digits after the floating point. The default value ensures that when floats, l3 @2 g0 i8 r% g8 T
  291. ; are decoded with unserialize, the data will remain the same.- i- T# d0 ^9 z# O
  292. serialize_precision = 17
    - L: x& p/ e! g; |6 r& I6 Z- {
  293. 6 |+ P5 k( q& Q) _' a! c
  294. ; open_basedir, if set, limits all file operations to the defined directory8 m* G2 u9 W: A' f% \9 C8 l" z' {" C
  295. ; and below.  This directive makes most sense if used in a per-directory
    - Y, V) z$ N2 t! P$ j1 P4 B
  296. ; or per-virtualhost web server configuration file.
    $ S# \  A) i# }: k; D: D4 B# {/ l
  297. ; http://php.net/open-basedir
    / u4 J1 H8 o& i( n$ ]1 J
  298. ;open_basedir =
    0 o3 k+ L* X0 X# e! L
  299. + P4 h7 Y1 l2 `  n2 c% t) C8 W$ b
  300. ; This directive allows you to disable certain functions for security reasons.
    ) t& L/ L) @3 ]( N: G6 f
  301. ; It receives a comma-delimited list of function names.
    # [; _- X! u' S; {! i  A3 K
  302. ; http://php.net/disable-functions5 U' |) ]/ y3 g6 M1 k0 z( ?$ ?
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    5 ^0 w+ H; c- M
  304. 9 a9 K( B" k4 k6 T8 u) G5 i
  305. ; This directive allows you to disable certain classes for security reasons.
    : }7 I  y, L0 a$ K% V
  306. ; It receives a comma-delimited list of class names.
    / B% D) v% h! }. g
  307. ; http://php.net/disable-classes
    4 O! U0 S( f, G7 i# R$ e
  308. disable_classes =& B6 k% d$ o, C" U

  309. / o5 |) ?' s6 q7 M) g: Z* N; V# j
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in4 R4 @. D* o: q+ s; m/ S, H6 y
  311. ; <span style="color: ???????"> would work.  v$ z4 S$ e3 q' P5 W0 v3 g3 Z9 ?
  312. ; http://php.net/syntax-highlighting
    5 c9 p' J; ]2 Y
  313. ;highlight.string  = #DD00008 @; a! I$ d. `3 a
  314. ;highlight.comment = #FF9900% |$ O2 @: a: i; @$ f' k( F9 K
  315. ;highlight.keyword = #007700( ~: {) ?; Q) U- h% X3 K; U3 _
  316. ;highlight.default = #0000BB, ?4 \* d* [# v
  317. ;highlight.html    = #0000001 L! ?6 o" R* T1 m: }1 U* h9 b) R$ q$ h

  318. 1 v, S0 Y3 i0 I5 I; ?7 s8 N2 Q7 O/ Y0 v
  319. ; If enabled, the request will be allowed to complete even if the user aborts% |9 w0 V) M  ?' S9 a1 r# T; h
  320. ; the request. Consider enabling it if executing long requests, which may end up
    % q5 r# j% M: |0 y
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    2 P3 c8 \0 V! Z) j
  322. ; is to disable this feature.
    % m/ g- {7 E1 e8 y  U" {8 j% z# W" B
  323. ; http://php.net/ignore-user-abort- H: H  \, {. i1 b9 S9 _8 `
  324. ;ignore_user_abort = On
    , Y/ }5 V! X3 ~

  325. 2 b( p' |0 X) Z  q1 a; c$ p2 R- H
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    / S6 j3 T) C# f' P1 @4 g
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    - r1 b. {2 o: e2 Z
  328. ; the file operations performed.* Q( W: Q8 E1 R: u/ |% o
  329. ; http://php.net/realpath-cache-size8 ?/ {. a! u- I6 |: \
  330. ;realpath_cache_size = 16k
    & s! T; P. Y7 e3 ~. D7 S
  331. 7 R- {0 M/ L3 L; `. y+ o
  332. ; Duration of time, in seconds for which to cache realpath information for a given4 h" U" i2 F/ s& i7 a- |! O
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    & T- C7 q$ [& R3 }  A5 ~
  334. ; value.
    % p6 G- V% r1 G3 W' `; r* E
  335. ; http://php.net/realpath-cache-ttl
    % L: n' V5 ~" E% x8 {. `+ X  x
  336. ;realpath_cache_ttl = 120
    9 w" I: w4 E# T/ y+ F
  337. + t4 h# G- n8 Q
  338. ; Enables or disables the circular reference collector.
    5 j/ W' L8 j* |; M
  339. ; http://php.net/zend.enable-gc& k3 G2 {# q2 W! A* B/ d
  340. zend.enable_gc = On
    4 `( B- t2 ^8 f0 T4 i0 J

  341. % s; v  i/ u. _# l6 l9 ~
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    9 P$ q% ]  W! `9 m: m
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such0 U% x1 c0 H! g' T4 m
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    : l+ c: o- u  s/ M
  345. ; Default: Off
    # N6 J6 F- M/ ]+ K. s
  346. ;zend.multibyte = Off
    & x% V; S8 j4 g% d3 C% c

  347. 4 }+ z% a/ J9 R  U0 x9 U
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    % N. A2 O# F8 h5 t
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.5 ?3 H3 u! L; H) ?' @7 X
  350. ; Only affects if zend.multibyte is set.# A& r2 X9 s9 k
  351. ; Default: """ U1 ^  x$ Z0 z" A0 S! N
  352. ;zend.script_encoding =
    ) I/ d  c, U! c' I$ ~' ?! X
  353. ) E7 Q/ b& b* |$ c
  354. ;;;;;;;;;;;;;;;;;; [" W6 z! x* {% ^4 y$ L: e
  355. ; Miscellaneous ;: V: v$ [8 k$ h9 c6 p% Q0 B
  356. ;;;;;;;;;;;;;;;;;
    ) r3 M* d. o$ }
  357. # N, O/ m3 c8 @; ~
  358. ; Decides whether PHP may expose the fact that it is installed on the server/ w1 \) u# L, S: j* m7 c7 o$ `
  359. ; (e.g. by adding its signature to the Web server header).  It is no security. W8 f5 ^; w8 r9 o9 ^
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    & O3 G% K) L2 L
  361. ; on your server or not.0 E- W; ]4 Y& N, t+ }8 P
  362. ; http://php.net/expose-php
    5 i3 ?8 e5 U  \8 ?% R+ J4 `9 u' C
  363. expose_php = On1 g" H. ~7 z. w: a& p
  364. & m3 N+ \0 K+ j( `, d
  365. ;;;;;;;;;;;;;;;;;;;0 J7 P7 e& }# ~% Y1 j% @
  366. ; Resource Limits ;
    7 G( ]2 X" A& ~
  367. ;;;;;;;;;;;;;;;;;;;
    * e  U7 _: l8 y4 W' |: B* u) Z0 w
  368. 3 c% O9 P# n& @& x$ V8 z# P$ k
  369. ; Maximum execution time of each script, in seconds
    2 c( [% z1 w3 `  U% U3 O
  370. ; http://php.net/max-execution-time
    ! e' S0 i$ ?; c
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    $ I8 u2 U& \6 m$ i7 P
  372. max_execution_time = 300
    # s* l5 d' ^# C  R# C2 S, |
  373. 5 Y& V3 C' I6 j7 g5 P9 l0 B
  374. ; Maximum amount of time each script may spend parsing request data. It's a good) @8 d0 T6 U! f
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly$ j& R; I) V4 w; z. y. L/ ]* I
  376. ; long running scripts." {7 S6 U# E5 B7 B/ ~) J
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI/ T9 E- B- ~  ]0 I5 g
  378. ; Default Value: -1 (Unlimited)
    ; c( n5 f' D+ h- t, M& W
  379. ; Development Value: 60 (60 seconds)
    ! w+ G8 q& q7 t- s. t! p  {
  380. ; Production Value: 60 (60 seconds)$ r4 H* ]" y! @2 T! r8 U# W- d+ Z6 ~
  381. ; http://php.net/max-input-time. f3 \4 n, x& O( n/ K
  382. max_input_time = 60
    . f* @! k, l5 Z+ i: j) L/ |
  383. , }* ~) t' D; n( `* \% @/ a/ Z
  384. ; Maximum input variable nesting level
    3 |8 q) s8 f5 h" \! S# r
  385. ; http://php.net/max-input-nesting-level( }1 P" S1 u5 d  ]3 W3 \
  386. ;max_input_nesting_level = 645 q4 x" w; Q% h2 R& |- _/ e/ Z" \% A

  387. 4 l# |' C/ Y7 \$ z0 W. `% ^5 q7 r- M& N
  388. ; How many GET/POST/COOKIE input variables may be accepted
    4 v5 I# [2 ~- _& h6 r: `8 A$ }+ n
  389. ; max_input_vars = 10006 _, t* X& q' X. y

  390. * Z, J7 b  E% x- H
  391. ; Maximum amount of memory a script may consume (128MB). r6 ~$ e" m' U  Y  g$ p
  392. ; http://php.net/memory-limit
    * C# E2 d( J0 `2 e5 [& e2 Y, F' |
  393. memory_limit = 128M4 x% y; d$ u$ P  I" G+ z3 s

  394. 5 ?1 m7 c& i" x" T7 @
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;- B& b" F  q4 X! I& [
  396. ; Error handling and logging ;
    : v/ w% w8 L  `0 s( y) R( O
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    / [1 H* x0 \/ M: V- Z4 `

  398. 3 `( Y/ |: ^; H1 o
  399. ; This directive informs PHP of which errors, warnings and notices you would like' X& ^( z$ v- Z9 @( Q
  400. ; it to take action for. The recommended way of setting values for this
      M3 r( p3 ^' V! V# d
  401. ; directive is through the use of the error level constants and bitwise
    " B/ Q, R( F7 f
  402. ; operators. The error level constants are below here for convenience as well as
    8 u+ G& c! P( A& h
  403. ; some common settings and their meanings.
    % s# P4 \) V" b* W# C
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ' H$ O( I- m+ ]( Y9 A& f
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and6 V8 }6 Y2 H5 f3 {6 g
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    $ _& q( S9 s1 M" K. ~' H
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    , _# x* W4 O: L# ?' T! |! x$ i% p
  408. ; resources complaining about best practices and coding standards. That's what) n0 k. b1 e1 Z, O! j% D
  409. ; development servers and development settings are for.% ^- _1 U, ]2 y+ V
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    2 K! w7 D9 s; Y1 X7 ?4 {+ M3 |
  411. ; means it pretty much reports everything which is exactly what you want during
    " M2 O2 P- t. d% C0 p8 \
  412. ; development and early testing.
    ) X+ N" g% ]% U9 g
  413. ;+ d* C+ n1 b4 ~( W
  414. ; Error Level Constants:
    - L  T0 G9 P; H# O5 A% d9 S
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    2 F# z& V2 b/ n0 Z4 S: v8 N
  416. ; E_ERROR           - fatal run-time errors
    6 g7 v" P. F$ L' E( C# t) `8 ]
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ; j0 V# t4 y! L- B' |
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    6 K/ |5 p  ?7 ]; c# }  F
  419. ; E_PARSE           - compile-time parse errors
    ; C/ s7 W% F% \) g
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    ' C' q4 i! X0 d# K3 f8 N
  421. ;                     from a bug in your code, but it's possible that it was+ y: M' G1 W1 ^. G+ Z
  422. ;                     intentional (e.g., using an uninitialized variable and# p  z5 m7 m* c) r. I
  423. ;                     relying on the fact it is automatically initialized to an
    4 Z1 ~( e' z6 c1 j3 ^
  424. ;                     empty string)9 g' a6 L  S( u# ^* p/ \
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes0 ~3 K! W0 a1 I; O4 h0 l6 T* Q4 N
  426. ;                     to your code which will ensure the best interoperability  H! B* b7 Z' `8 m
  427. ;                     and forward compatibility of your code6 D/ ?3 {' H0 Y+ ]+ F
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    0 B3 v9 e) B; @% ]% U& W: ]- F
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's. a" |! w# k% z8 X  I
  430. ;                     initial startup/ M0 Z0 R9 R9 a/ i/ [' N
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    ) F# T, Z' p/ S* Y( n
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)5 d9 ^3 J; E1 a$ s4 o7 `. I
  433. ; E_USER_ERROR      - user-generated error message" l& a; H* x1 @- v+ h8 i
  434. ; E_USER_WARNING    - user-generated warning message5 L5 c0 A' c$ v5 y/ f
  435. ; E_USER_NOTICE     - user-generated notice message( A  B1 y! [; C+ A: d6 @4 k0 e! t
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    3 i. _* A- w* ]" u) M# O( A8 v
  437. ;                     of PHP$ r$ D" b- g  F  T* h$ J3 e$ i; z
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    0 `8 H$ E% |* C$ X6 O+ U
  439. ;
    5 i: Y% v  p( j, f8 K. c* ]
  440. ; Common Values:, n" h9 R5 |3 ]# u
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)9 T! a% M! a5 I; K* ~
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)  ?, E8 N2 M2 z5 }
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ! V3 o) g3 s" S8 K8 b
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ) a2 k  S0 I( E% x! \& Y
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ( h" i# w: y! ^. a( X1 _, F
  446. ; Development Value: E_ALL9 }( w4 S  M& r/ s) w- C- t
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT/ m0 T8 ^: Q: J- j7 N% b
  448. ; http://php.net/error-reporting
    & N. q! l. i. p, N3 t1 e' a
  449. error_reporting = E_ALL & ~E_NOTICE4 U+ f( `, n1 o, \* y, y& P

  450. ) F; V0 q1 C) s' L2 A
  451. ; This directive controls whether or not and where PHP will output errors,0 E# Y# i8 t$ R4 {; [3 C/ l
  452. ; notices and warnings too. Error output is very useful during development, but7 ?) O. f  u. v3 u
  453. ; it could be very dangerous in production environments. Depending on the code
    ' F1 ~% r2 I/ ~; X: `( C( y6 I
  454. ; which is triggering the error, sensitive information could potentially leak
    ( ~: t9 [" n3 c0 e6 E; a
  455. ; out of your application such as database usernames and passwords or worse.
    8 u2 y: Q8 n8 P6 a1 m. ]9 g. Z
  456. ; For production environments, we recommend logging errors rather than
    1 P& R# f: s" [0 y, b/ X) }" X
  457. ; sending them to STDOUT.
    : J! |8 j1 ?. [3 x- G
  458. ; Possible Values:
    8 W: i: e# x- x5 o3 y) @
  459. ;   Off = Do not display any errors: G! V  C( K. W- _* u
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)5 I# R9 U4 w! p2 c$ r6 ?: M7 L/ l
  461. ;   On or stdout = Display errors to STDOUT
    / T% N$ a2 @: x/ K. H- m
  462. ; Default Value: On2 z1 Y4 u8 T; [  I5 u& t4 b
  463. ; Development Value: On
    # X5 v2 Z8 c$ p, F
  464. ; Production Value: Off
    # I6 J9 b0 S" W# C! t0 A
  465. ; http://php.net/display-errors, o/ m/ x9 N0 `( F
  466. display_errors = On
      y$ s# ?" Q. q% B, x8 ?

  467. + J; E$ q0 }; R* s
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ' {7 ]3 P* R. b( p* N! A$ V
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    7 r9 X8 h# j$ n
  470. ; errors from clients. Turning the display of startup errors on can be useful in  K: J5 W6 W5 ~( O2 {2 q& E
  471. ; debugging configuration problems. We strongly recommend you% L0 N& I( u; G
  472. ; set this to 'off' for production servers." H+ o5 n. @8 K. y, r9 `, T7 f
  473. ; Default Value: Off
    $ N$ u- }. j( Z8 w0 Y( _0 Q
  474. ; Development Value: On" `. x+ I$ g: _$ ?0 O0 X8 m3 @
  475. ; Production Value: Off& w4 m, }  ?" K7 ?& U
  476. ; http://php.net/display-startup-errors  v( A: C0 Z* t# @7 M( F
  477. display_startup_errors = Off
    ' y6 d, c2 x% Z- Z& [. d1 V# s7 P

  478. 7 R* s: q: z( e; F  y2 c; F
  479. ; Besides displaying errors, PHP can also log errors to locations such as a( i) |. Z0 _1 X: x
  480. ; server-specific log, STDERR, or a location specified by the error_log1 H! i! v/ B$ [' r- K
  481. ; directive found below. While errors should not be displayed on productions
    : M6 z8 }: X5 C! P/ }. P" Q
  482. ; servers they should still be monitored and logging is a great way to do that.+ O/ |$ |# ^9 _  Y/ h) R( f
  483. ; Default Value: Off( `; Y- v( i$ a3 i* h  r
  484. ; Development Value: On
    ; }2 M4 y& V* ~9 [
  485. ; Production Value: On
    ( q& S+ I. ~/ s  f" Y5 k
  486. ; http://php.net/log-errors  P- T7 t, C0 k1 {
  487. log_errors = On3 O. F0 ]9 G1 ~+ V  n) h
  488. 9 q6 z9 A5 E; h! `
  489. ; Set maximum length of log_errors. In error_log information about the source is  B/ y  K* b, r7 k
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.  s2 w3 }$ ~* L- j! o1 v$ }
  491. ; http://php.net/log-errors-max-len
    + S" X+ f; U2 e( j9 v
  492. log_errors_max_len = 1024
    " b  m8 T! i3 `! R3 Y; Z0 u' _: `2 n
  493. 4 Z: t/ y9 [' ?8 `
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same8 E6 x( Y+ Y- G* [( g+ B7 \1 Z& Z
  495. ; line unless ignore_repeated_source is set true.
    " D; o+ x! z* d1 J
  496. ; http://php.net/ignore-repeated-errors
    $ @4 B0 F8 K9 O
  497. ignore_repeated_errors = Off
    3 Q( E" |" C: J$ s; V
  498. # H, g0 g8 P) R! F; I# e
  499. ; Ignore source of message when ignoring repeated messages. When this setting
      A" `" Y; N3 z3 Z. t
  500. ; is On you will not log errors with repeated messages from different files or# N  _. R3 d( f: q+ I* d+ _
  501. ; source lines.
    - M# v, G' Z  c7 J
  502. ; http://php.net/ignore-repeated-source0 v+ t: i" Q) q" ?% z( D5 r) B8 d. `+ A
  503. ignore_repeated_source = Off* M5 [* Q5 d3 r0 X" L% Z0 I' j4 L- n
  504. 1 @7 J3 f0 e' F9 M1 T+ R, Y! K1 W
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on4 X# H3 X1 h4 p
  506. ; stdout or in the log). This has only effect in a debug compile, and if3 X# j0 k1 W) `( D
  507. ; error reporting includes E_WARNING in the allowed list
    + a4 p4 h+ H* h4 p/ [& Z4 `
  508. ; http://php.net/report-memleaks& h4 `3 L6 i- L2 b) u
  509. report_memleaks = On* n0 [# d+ c8 u* k
  510. ' Q: B2 g% {6 U' Q9 P& H8 D
  511. ; This setting is on by default.2 V" s! u+ B2 z5 l' ]5 k* i
  512. ;report_zend_debug = 01 E" Q6 i! n) K

  513. * L0 O* w8 F' B; P
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value- ^9 e* E. u1 f& P) T/ b, a4 n+ C$ {
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    6 y% T3 u7 j9 K2 J9 O% b
  516. ; however be disabled on production servers.* h* U0 u  c# x8 `5 {
  517. ; Default Value: Off
    5 v, n- C1 X! V5 g1 \
  518. ; Development Value: On
    % K/ N) m! A3 }9 y
  519. ; Production Value: Off$ v- N$ X! |4 B  ~/ g
  520. ; http://php.net/track-errors4 u9 e! j4 u6 h& H
  521. track_errors = Off6 V# ?5 b/ ^! s
  522. 4 b( K$ w8 z$ j4 E$ u) }
  523. ; Turn off normal error reporting and emit XML-RPC error XML7 P$ N% @# m' W' m
  524. ; http://php.net/xmlrpc-errors
    $ `0 I1 p! W4 G
  525. ;xmlrpc_errors = 0
    * y" F  \9 E7 y* e& E, p

  526. 9 N0 E4 K2 B0 W4 D5 i
  527. ; An XML-RPC faultCode
    8 y: k3 u  f7 z  W7 r; b
  528. ;xmlrpc_error_number = 0
    . [8 H& R2 m& D0 M. L  _
  529. 0 |3 R- t6 c* d7 |; H+ T2 w! H
  530. ; When PHP displays or logs an error, it has the capability of formatting the0 s$ a: V" H. ~- [; G1 L
  531. ; error message as HTML for easier reading. This directive controls whether9 l) m1 y- d) \
  532. ; the error message is formatted as HTML or not.
    0 ~0 r& o7 h1 m2 e8 O4 T; E
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI# K7 B9 l5 Q* c: p) @- A+ Z
  534. ; Default Value: On$ b% j* g  j) y! r0 _, m, }
  535. ; Development Value: On5 @9 U* M' y; q
  536. ; Production value: On
    # g& f" P/ o3 D+ t0 W' B
  537. ; http://php.net/html-errors
    ! C% t" y* k& Z5 O* W' `
  538. html_errors = On  W6 ]$ y: m. `2 ]6 J/ a$ }
  539. " f" \  i  J- d( V% Q7 c
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP9 P/ [) O. P+ J: V1 I
  541. ; produces clickable error messages that direct to a page describing the error: M0 Y: Y& m  Z# q- t
  542. ; or function causing the error in detail.: n# @- t9 O1 I5 d$ d
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    0 N1 U8 V/ j; v+ t
  544. ; and change docref_root to the base URL of your local copy including the* K! T: U0 r& t+ b: y
  545. ; leading '/'. You must also specify the file extension being used including/ E, E  S1 b  L- C
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which4 J% Z# U3 s- F% y  @
  547. ; case no links to documentation are generated.! }4 _/ z4 u: S0 s# I+ \: ^
  548. ; Note: Never use this feature for production boxes.
    # f4 d1 S* b4 h. v; P& n3 H0 g
  549. ; http://php.net/docref-root* n% z' F) {5 J4 b) x$ Q" g
  550. ; Examples
    4 G0 G/ e& D$ P0 \2 z7 q7 Z& \% x; q' s2 w$ n
  551. ;docref_root = "/phpmanual/", V* ?; Q4 M) p( O4 I
  552. : I4 }* A( h: ?' S# C
  553. ; http://php.net/docref-ext
    , `7 v/ |( n4 w+ h; w. h8 N, A
  554. ;docref_ext = .html
    ! E* X( v0 Z$ ]9 Z7 n4 o
  555. 0 x7 Q  }& d, N
  556. ; String to output before an error message. PHP's default behavior is to leave
    1 h2 \1 Y. E2 F1 I" q8 J
  557. ; this setting blank., m5 E+ O* e* U8 b3 A# [# a
  558. ; http://php.net/error-prepend-string
    3 x9 n5 Y& n. N5 K4 ?( ?/ t
  559. ; Example:+ Y5 z0 V8 ^5 M- Y- \
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    + [! i/ Y+ S% _! U6 {

  561. 2 Q- O6 Q) {  ]8 F' z# l* F
  562. ; String to output after an error message. PHP's default behavior is to leave3 f, g! m5 `3 w( s5 F! q
  563. ; this setting blank.
    $ _$ @. o' V. C1 L7 v
  564. ; http://php.net/error-append-string
    7 z- G6 d0 ]. x  a5 l4 |5 B
  565. ; Example:. r' l  E8 i$ e, ^
  566. ;error_append_string = "</span>"& A$ O# b; k+ E4 q& O

  567. 9 t. c/ Z# c# v$ j. a( o
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    5 ^7 W, Q7 b5 \) y4 L
  569. ; empty.  d* u/ {2 f. O0 b% u4 r
  570. ; http://php.net/error-log8 ?' k( V5 _7 A  ]# ^
  571. ; Example:( V1 i& d+ }; d7 J
  572. ;error_log = php_errors.log
    0 w. d  f+ @1 s& q! Y% [
  573. ; Log errors to syslog (Event Log on Windows)., T& E# m% S+ S  e: _! v
  574. ;error_log = syslog. z/ A& \" w6 W
  575. + l7 o9 F" Q8 z3 h/ S' M7 ^
  576. ;windows.show_crt_warning/ M4 p+ ]. m- f9 d
  577. ; Default value: 0
    : _/ @2 o, D  e/ S$ ?* }9 D
  578. ; Development value: 05 w% T4 M1 y& q& E
  579. ; Production value: 0) {0 O( w# w6 E% |+ [
  580. - G2 K7 Q+ R, q' T9 d
  581. ;;;;;;;;;;;;;;;;;
    ' W: h* T$ }: `2 S/ v
  582. ; Data Handling ;& }2 N# C4 ^6 Q2 x& L8 ~8 m$ O9 R
  583. ;;;;;;;;;;;;;;;;;9 d' S: o5 e0 R1 E3 H& Q9 A

  584. - g" i5 o8 z) q/ F7 {; o
  585. ; The separator used in PHP generated URLs to separate arguments.
    % c* H0 K: D( \( {5 ]; U' }5 `  O/ e
  586. ; PHP's default setting is "&".
    + h  B3 `: o4 u: A$ h( c- a5 S
  587. ; http://php.net/arg-separator.output5 S1 E  \; [# j" O
  588. ; Example:
    : T+ W# _* c" ^! x
  589. ;arg_separator.output = "&amp;"' P- `8 G0 x$ t2 V1 `/ B; z5 M- i
  590. 4 n- k$ a  @7 M+ x! r0 L
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    ; D& M& C% ]- @/ p/ G+ t- J
  592. ; PHP's default setting is "&".
    * O' ~% f1 k7 n3 y' e
  593. ; NOTE: Every character in this directive is considered as separator!" N3 _  b% B% }: L, D; a% d/ \
  594. ; http://php.net/arg-separator.input2 }4 m5 q) L" J6 X
  595. ; Example:+ ~" [7 e0 i8 q! c8 L- T
  596. ;arg_separator.input = ";&"
    ) O" Y( b* o! Z: }+ ]- }. l

  597. & t: A: {( U0 U1 A; Y! h7 {' S2 s
  598. ; This directive determines which super global arrays are registered when PHP! X+ v" k0 Q" {) d! r' ?
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    % l/ n& Y) z# {: p! c
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty* x- I4 R7 [3 T2 r% u: z; d
  601. ; paid for the registration of these arrays and because ENV is not as commonly* @9 v8 K! w$ D9 O$ j! k( d5 v5 H
  602. ; used as the others, ENV is not recommended on productions servers. You& X- V% P6 R0 j. K6 j
  603. ; can still get access to the environment variables through getenv() should you% o* h* k+ O- W; r( `) D( O
  604. ; need to.
    # K/ a7 y7 [% n7 Z$ {/ s5 t
  605. ; Default Value: "EGPCS"$ L0 u2 n! s& m! a8 ^
  606. ; Development Value: "GPCS"6 ~4 |* F  q2 l4 s; F
  607. ; Production Value: "GPCS";+ a+ i5 Q/ P/ T* v( I2 R; {
  608. ; http://php.net/variables-order
    ; F2 ^7 j2 m& U* c* q4 T
  609. variables_order = "GPCS"7 \  }% u. A# }- G, |# n

  610. # I5 P0 g# ?0 H9 D+ p% d" E; k3 e
  611. ; This directive determines which super global data (G,P & C) should be
    0 P5 `) X% E( a& j9 H
  612. ; registered into the super global array REQUEST. If so, it also determines
    : [  ]3 F6 i6 W7 A6 d, c' z
  613. ; the order in which that data is registered. The values for this directive
    , d9 a5 O7 D- [/ n1 I/ l
  614. ; are specified in the same manner as the variables_order directive,/ W3 `( a# n$ T7 U. _) e: J
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set) u, [4 t7 G- p, m! w- i
  616. ; in the variables_order directive. It does not mean it will leave the super9 P; n. w8 H/ U3 L
  617. ; globals array REQUEST empty.
    / a1 k1 `8 v: s$ r. e3 Q
  618. ; Default Value: None! a. G# A& O) i7 J  U6 Q2 Z* B
  619. ; Development Value: "GP"
    + N/ ?! c( N5 t, n( E+ k% p6 A& o
  620. ; Production Value: "GP"
    4 C9 C6 ]( K, `7 ^( d* f/ w
  621. ; http://php.net/request-order1 s& a. g! m6 {' W$ N; {+ q
  622. request_order = "GP"
    ; Q% m1 y( i6 y* t3 h$ r

  623. ) F+ S( |1 M' a7 z1 b! P4 m' H6 W: @
  624. ; This directive determines whether PHP registers $argv & $argc each time it8 V9 q7 N5 \" C: b" x2 H
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script" P9 f4 p9 t) A' Y. z( v
  626. ; is invoked. $argc contains an integer representing the number of arguments
    , R+ r0 W# m. D% g* ?
  627. ; that were passed when the script was invoked. These arrays are extremely
    ! p6 @2 z) F. H+ E
  628. ; useful when running scripts from the command line. When this directive is
    3 I7 \, }% I# O' b
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    $ F4 s' [+ ]) r8 w/ G
  630. ; a script is executed. For performance reasons, this feature should be disabled, A$ m& @, `% L# U
  631. ; on production servers.6 t2 ^# t9 r* e$ Z4 P' b
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    9 m* w8 q8 Y5 ^& N  X& Z" K
  633. ; Default Value: On* `& W  y* K' q
  634. ; Development Value: Off1 O  b4 ^0 j# Y  K3 u* D% v
  635. ; Production Value: Off
    ( x9 s5 O7 z" C5 r
  636. ; http://php.net/register-argc-argv
    : S9 F8 Y, `! t, z$ K8 l
  637. register_argc_argv = Off2 r7 F( J% l# v0 F8 _5 Z
  638. 2 S. ^) X. }8 l
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    5 k5 m" E/ g  E8 S) p  i
  640. ; first used (Just In Time) instead of when the script starts. If these
    3 w8 J" N3 t! ~* ]
  641. ; variables are not used within a script, having this directive on will result3 l, k6 z& d9 Y# o+ u0 D0 Y
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled, c+ `2 Z" K! `: a  J5 f
  643. ; for this directive to have any affect.
    % l3 a1 q+ ?1 }$ s) G+ N
  644. ; http://php.net/auto-globals-jit
    * W8 b8 A! e" z4 U2 {
  645. auto_globals_jit = On# {/ V2 l% j; h: v3 [5 L
  646. $ p1 N2 D5 U3 i9 Q- e/ z
  647. ; Whether PHP will read the POST data.
    " L# P5 j% @" m# G$ N, M# W; s3 |. ^
  648. ; This option is enabled by default.1 T" D) s& s1 f3 F5 B# @% [7 Z
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    6 ?9 J6 U9 B/ |2 @: S$ w) v# z7 k7 X
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    7 Q0 a) o1 j* m5 s# {9 `
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    : R5 \$ G' h% g: w
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    / e3 S( a; T) Y. g3 D0 v' t
  653. ; http://php.net/enable-post-data-reading
    3 L# O) k0 R% x( ~* m* n, V
  654. ;enable_post_data_reading = Off
    0 b# N; O# m( I5 l% _9 Z8 W4 v) `/ H
  655. ! X' K. [5 m% c- |- Z
  656. ; Maximum size of POST data that PHP will accept.+ M* I, o0 C: _+ Q9 x, Z
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    7 s* Y/ E3 T* L
  658. ; is disabled through enable_post_data_reading.
    . N/ ^/ C( i: u
  659. ; http://php.net/post-max-size  e* Z/ Q4 k0 G* m+ V
  660. post_max_size = 50M' t7 y! y; T9 M& u/ k. ~( T& E8 n

  661. 8 I1 s4 @) o7 u- ^
  662. ; Automatically add files before PHP document.
    3 p  o/ [2 q0 m! ]2 p
  663. ; http://php.net/auto-prepend-file7 [4 C& m* K: t
  664. auto_prepend_file =
    + H3 C6 R) T1 \. F- c. w- I$ d! V7 ^

  665. 9 H6 T  h6 d3 Y" {4 E( A2 c
  666. ; Automatically add files after PHP document.# s" K) S& [8 j6 Y9 e# U# \6 f
  667. ; http://php.net/auto-append-file, T* ^; _5 ]" N: B" G; P
  668. auto_append_file =4 }: J& G- B* E) W& H
  669. 2 y! c9 z  D$ s1 k$ l8 ~
  670. ; By default, PHP will output a media type using the Content-Type header. To0 s& f! D+ d! N+ t1 `3 c
  671. ; disable this, simply set it to be empty.1 A+ J( C( Q  q8 C$ R% B9 [# g; v* x0 \
  672. ;, R1 w; P3 G$ Q9 k
  673. ; PHP's built-in default media type is set to text/html.
    * X- A6 N: b  p" C3 x
  674. ; http://php.net/default-mimetype
    : L" I- {  I2 A4 D! K# u
  675. default_mimetype = "text/html"5 Q0 x5 J0 Z/ T

  676. ; g% E4 n) |6 G2 [+ ?" L/ r
  677. ; PHP's default character set is set to UTF-8.. v# ~: K2 a6 G
  678. ; http://php.net/default-charset( I: Z$ @9 `" d# {$ Z7 z8 @& ^
  679. default_charset = "UTF-8"9 h% {0 x' Q7 ?0 t$ g- w5 \( o
  680. * H% N+ M; j, Y5 K) s3 S$ i* ?
  681. ; PHP internal character encoding is set to empty.8 L( k5 e6 ]- A& n/ t
  682. ; If empty, default_charset is used.- u3 s' |, b% e1 S& D& J
  683. ; http://php.net/internal-encoding
    + J- O/ i: `3 [3 O3 N/ B
  684. ;internal_encoding =
    - g" q4 K6 Q9 ^& i1 L8 k

  685. * R3 D; d  |3 d1 v
  686. ; PHP input character encoding is set to empty.1 B% _7 p5 H5 V4 I7 C* D9 H
  687. ; If empty, default_charset is used.
    ' A: f, N+ v* d, N* n
  688. ; http://php.net/input-encoding
    9 I2 Q! ?$ r' f" D4 G0 R5 `+ E4 R
  689. ;input_encoding =- G  f  i. k, |

  690. 1 @* R; t# K- w; j& w; e' Z' G0 n$ u. x
  691. ; PHP output character encoding is set to empty.6 D' n, N8 L0 s
  692. ; If empty, default_charset is used.
    1 e( i; m1 b+ n) M5 f
  693. ; See also output_buffer.
    : e9 _  K, N0 e2 G
  694. ; http://php.net/output-encoding% p: ~0 w' W' u0 S/ O0 k
  695. ;output_encoding =) M* ^$ w' _  g; G1 N

  696. : O# e; H1 O- ?$ X  t/ d
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    # N3 j+ n8 t/ t
  698. ; to disable this feature and it will be removed in a future version.
    / g( U. t8 {/ k
  699. ; If post reading is disabled through enable_post_data_reading,
    0 J' u4 P6 w  y1 z3 K8 c! l
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.: B% Y! o  z: [5 }! U2 v+ H5 ~. r
  701. ; http://php.net/always-populate-raw-post-data' |! m) s; W5 h3 e
  702. ;always_populate_raw_post_data = -1
    ! z+ ]6 J# {; y/ d! U" s) x
  703. 8 ~" B3 m  x( t4 l/ O9 B
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;- _5 S: r, e9 \; s
  705. ; Paths and Directories ;7 z, h1 N3 g1 j3 a, I6 Y( r
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    0 @, H/ j+ b5 c- r" h& Z- `. ]; P

  707. ) y! y- l9 ~! v% V2 l
  708. ; UNIX: "/path1:/path2"4 E" I. T: A, t3 q
  709. ;include_path = ".:/php/includes"% Q+ f; J# v6 K2 g& Q! J/ D3 o
  710. ;  B* j# [) R' ~; N; T1 R5 O
  711. ; Windows: "\path1;\path2"5 l5 e9 W1 o% U+ ]
  712. ;include_path = ".;c:\php\includes"
    # o+ q1 d* P; i/ e
  713. ;
    ! r2 r, v1 l4 {" \8 b
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"+ J$ _" P8 }1 F+ H* {
  715. ; http://php.net/include-path
    1 \! ]+ x5 H% I" I1 {# t: y

  716. 7 @( W0 ?; \- J$ z4 b
  717. ; The root of the PHP pages, used only if nonempty.
    1 a$ C2 T- X3 Q% b9 D  S, j
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    . ?$ h* S, ~& L0 I+ i# v4 O7 {
  719. ; if you are running php as a CGI under any web server (other than IIS)/ b0 G$ T1 u2 J  U1 c& M  X
  720. ; see documentation for security issues.  The alternate is to use the
    ( h4 d! J& i& {
  721. ; cgi.force_redirect configuration below
    1 x3 J- {# \8 P2 k$ f0 R6 w
  722. ; http://php.net/doc-root; o$ M& S: q" B( C* Y# e
  723. doc_root =
    . n2 z! c: a0 x* K
  724. ; g2 L" p3 K/ P; V  X& m2 K0 p- A
  725. ; The directory under which PHP opens the script using /~username used only
    . V  B$ N8 ], e. j2 I
  726. ; if nonempty.+ a9 m& p- f" e, P4 \7 ], }
  727. ; http://php.net/user-dir% x' @$ o- N2 \9 p7 Q0 T5 s
  728. user_dir =
    3 S% j  ?5 A6 B1 p/ y7 v" K# _/ k( p
  729. / h! D  V/ t" T9 @  a5 }. b
  730. ; Directory in which the loadable extensions (modules) reside.7 s3 Y# |% `) U0 \; X( i
  731. ; http://php.net/extension-dir: v- s$ }/ G( G" i- E+ S2 K
  732. ; extension_dir = "./"
    / {! n8 S0 o1 P
  733. ; On windows:
    , }5 T4 B8 i- H1 a
  734. ; extension_dir = "ext"0 \! [2 E  x7 p. t
  735. 9 G! ~: f0 w/ G! D
  736. ; Directory where the temporary files should be placed.3 h, J$ x1 E; P8 b# ~
  737. ; Defaults to the system default (see sys_get_temp_dir)
    5 x5 k; w+ h: [, O0 V8 T% G% K, G- e
  738. ; sys_temp_dir = "/tmp"- {1 M6 |* B, x/ ~7 G* v* F
  739. - d1 ^# @# W( A% j
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    5 ~3 B* C  w# j- _
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically7 S5 x, L( _% b0 T) ?% v$ A) r# D
  742. ; disabled on them.4 D; z8 M: t( |4 K! y- L7 n5 U- }
  743. ; http://php.net/enable-dl
    7 J' j! j0 W% k4 l7 F7 k) N
  744. enable_dl = Off8 Z! X3 y5 I$ r4 H( ~

  745. 4 m: }) N, O/ C3 m" e
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    5 H/ ~( T* {& T2 Z
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    $ w  K* T( ]" z9 ]6 z5 Y, r
  748. ; turn it off here AT YOUR OWN RISK& r, q/ c9 t0 z: \: _  z4 O* I0 h
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**% `- I$ `0 p; B2 W3 w+ {
  750. ; http://php.net/cgi.force-redirect: w' ~) m# x0 j  G. Y
  751. ;cgi.force_redirect = 1# L* E: @; P: O, Q! }

  752. * A: O, g) L9 N. K0 {7 c' J! r
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    $ c' I6 j" e9 @. N& H+ @- y
  754. ; every request. PHP's default behavior is to disable this feature., X: h0 _# b6 `, g4 S
  755. ;cgi.nph = 1
    8 d3 s* K1 M2 ]( O  w4 H# ~

  756. % d3 `2 x( {- z
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ! O7 H  x4 F$ R
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    9 }  g% F7 k" k
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY* B  H2 i  g. b* j) |
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.) O+ h% V" e7 B! h
  761. ; http://php.net/cgi.redirect-status-env7 E# L+ k, h0 G/ I4 l, a, e
  762. ;cgi.redirect_status_env =
      Y/ U2 E5 {8 x; ?* H/ O! d0 p
  763. ! [- r- @5 l" Y4 x7 w! E! P" n
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    . N- t; u( O* V1 i# A$ L2 g7 ^
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    * y7 p; f8 ?8 |8 l
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting' D) S! \4 s0 x& P- O% }# ~
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    $ P% U7 P+ v! u0 A2 h
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts9 A, C8 [% z5 D4 X
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    0 e$ ^* i2 i( A0 |! f6 U) K
  770. ; http://php.net/cgi.fix-pathinfo
      C7 ^1 \+ s6 B
  771. cgi.fix_pathinfo=1$ R# d/ C* |: c& I) L
  772. 0 h8 m7 h; D4 c
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    - l3 u8 X" V/ Y* n( \2 K0 I6 N* z
  774. ; of the web tree and people will not be able to circumvent .htaccess security.9 v8 u5 L( U7 ?/ x$ k% z# o1 Q
  775. ; http://php.net/cgi.dicard-path
    ! v& c# U0 `+ T2 U2 X7 W1 t  h
  776. ;cgi.discard_path=1/ U) ~  m/ Z7 u! T' t( P( X
  777. 9 X5 G3 M0 ~! b; l( `
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    4 I/ w3 _1 Z/ W6 M& d6 }( z4 f
  779. ; security tokens of the calling client.  This allows IIS to define the
    & i& P+ x9 @# P" E8 d) H4 E
  780. ; security context that the request runs under.  mod_fastcgi under Apache9 b8 \$ C. q8 u7 G3 K
  781. ; does not currently support this feature (03/17/2002)
    5 Q: s1 Y7 ]5 w( |, _# d
  782. ; Set to 1 if running under IIS.  Default is zero.
    $ ?8 i+ b( h! ~! r9 ]
  783. ; http://php.net/fastcgi.impersonate" A0 J7 J; E/ [1 _# f, E
  784. ;fastcgi.impersonate = 1
    ; R# N8 c1 g0 f" Q: K  t3 a. c6 u

  785. 3 b7 Y4 H+ e. R" ^0 W& j4 p
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable( z; S" ~- W7 p0 }3 d! w( h
  787. ; this feature.
    6 ^. a2 l" w" M$ g8 Q. i% D
  788. ;fastcgi.logging = 0
    ; m8 v3 s. ^' X

  789. " M) {. ~( N4 L: {+ O. W/ h
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    % [$ A/ p% `4 ^
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that( C$ X6 |' F( y
  792. ; is supported by Apache. When this option is set to 1, PHP will send& M$ z: f- O% |( h+ r" O
  793. ; RFC2616 compliant header.+ k2 n$ Y- x, ~4 l: a9 F0 ]& o
  794. ; Default is zero.
    * x8 ?. K' F- N, a$ n( v, Z. K
  795. ; http://php.net/cgi.rfc2616-headers
    # n) L4 L/ w8 s
  796. ;cgi.rfc2616_headers = 0
    / P  b: R# q" a
  797. 2 Z6 I6 A; I5 Q) _7 H! k
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    0 Q( e# f3 h$ Q/ O9 g0 y+ Y! y% J
  799. ; (shebang) at the top of the running script. This line might be needed if the
    3 E8 z) b& H* {5 f; ?; E7 s/ ]9 k
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI% h* a4 ?, V7 A% @0 m
  801. ; mode skips this line and ignores its content if this directive is turned on.
    ) L0 N" l5 i5 S
  802. ; http://php.net/cgi.check-shebang-line+ [) q& g, B* k: a4 {
  803. ;cgi.check_shebang_line=1
    ' r; y- [( k% L

  804. 9 ?  Q8 N5 E8 q0 g0 p; q* W
  805. ;;;;;;;;;;;;;;;;4 N, `! Q, @$ S& ?/ D4 c( }; z6 T
  806. ; File Uploads ;
    % C& L, P4 a7 L9 U% ~
  807. ;;;;;;;;;;;;;;;;
    - L: y  }6 p! ]; B7 _# H

  808. # f0 D2 @; [, S4 r, s" _
  809. ; Whether to allow HTTP file uploads.
    & X. H" O) \$ o3 ?  i5 `) ]; t
  810. ; http://php.net/file-uploads
      L( [. w1 B- q' X
  811. file_uploads = On
    , F- T! x- H, }* {

  812. 4 R. Y; q' R( f( {
  813. ; Temporary directory for HTTP uploaded files (will use system default if not) S5 c( K' B/ z) m9 R6 D- l& v
  814. ; specified).% m2 g: d' Q1 p" s
  815. ; http://php.net/upload-tmp-dir+ n% ~2 I3 ]  [9 x+ H* C! `
  816. ;upload_tmp_dir =
    & O' O$ U% P. v, O( u! w' G

  817. ( |: D' o+ j2 O
  818. ; Maximum allowed size for uploaded files.
    9 o" |" Q0 B) w1 R
  819. ; http://php.net/upload-max-filesize
    * a' v0 n: K; e. M8 v
  820. upload_max_filesize = 50M
    6 o; R1 U1 S3 A. J
  821. ! a$ O- r/ t, v) H6 {$ v' x
  822. ; Maximum number of files that can be uploaded via a single request
    % I8 A; ^# k. R$ p! C& W+ J
  823. max_file_uploads = 20" o" I: @* ]. }0 ^5 v! m
  824. 2 Q* K- m1 Y7 A
  825. ;;;;;;;;;;;;;;;;;;5 }/ O9 k8 e; c* y4 N
  826. ; Fopen wrappers ;7 j+ @, N+ R/ U) U- H0 Q, L2 x3 k6 z
  827. ;;;;;;;;;;;;;;;;;;
    & B( ]3 ^. C6 I: p0 M
  828. . x0 N8 b8 U& \0 M
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.2 t' L. R0 l. J, b0 K, ]
  830. ; http://php.net/allow-url-fopen
    + {/ A4 ?1 c7 c- \* q
  831. allow_url_fopen = On: N" j! t. I3 ^  Y. E# {& T* B

  832. % Y7 t8 {! o" f, Z& X$ ~' ?2 h% m
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    7 C/ s/ G5 ~; X' n  e* h
  834. ; http://php.net/allow-url-include
    * h0 X9 L! ~8 L$ T6 d! `, L
  835. allow_url_include = Off# y- Q7 k6 `. q' E% B) u/ l6 l

  836.   y3 Z! o% o9 d) E, F: z, Q+ H
  837. ; Define the anonymous ftp password (your email address). PHP's default setting; ]: z* ]$ v- L- v( K" ]' r
  838. ; for this is empty.
    / n9 {" ?5 u& K, ]
  839. ; http://php.net/from2 K6 p6 g5 c2 G8 S, x2 b
  840. ;from="john@doe.com"
    : d9 O8 `/ E% U* P' i. p( l
  841.   r6 k3 m1 s, d, u" B; c- @
  842. ; Define the User-Agent string. PHP's default setting for this is empty.  n9 N* \3 I2 s- i
  843. ; http://php.net/user-agent$ M) I. m6 h7 M
  844. ;user_agent="PHP"# Q& H( R" T+ I% }/ _/ z- @
  845. , S' G8 e; `. K
  846. ; Default timeout for socket based streams (seconds)3 [, W8 p8 I- i  m$ G( f
  847. ; http://php.net/default-socket-timeout& ]' l4 ~7 R$ Z: e3 }
  848. default_socket_timeout = 608 M; z" A: H/ S, l

  849. - M4 X' |" t7 [
  850. ; If your scripts have to deal with files from Macintosh systems,
    ) w8 ?8 x; _! f
  851. ; or you are running on a Mac and need to deal with files from6 p) A8 c" ~2 D# T; Q! K
  852. ; unix or win32 systems, setting this flag will cause PHP to! \2 Z. r$ o# d- _+ G6 B6 Q5 B
  853. ; automatically detect the EOL character in those files so that
    ! P$ E& y0 F; _* y' L
  854. ; fgets() and file() will work regardless of the source of the file.* e; D3 [4 P) z* r) o: f
  855. ; http://php.net/auto-detect-line-endings
    0 u" s3 X2 Y1 e& z3 M
  856. ;auto_detect_line_endings = Off
      w: d: R$ ]2 j* K5 c5 ~

  857. % E- C' _4 c  ~( ~: _3 u
  858. ;;;;;;;;;;;;;;;;;;;;;;
    ' q. `3 ^3 [1 ^
  859. ; Dynamic Extensions ;4 c' z) K* l$ Z  w  C% l
  860. ;;;;;;;;;;;;;;;;;;;;;;
    . ], N& x4 f5 t4 C
  861. ( O4 N8 V% A& N  Z# H
  862. ; If you wish to have an extension loaded automatically, use the following
    & `9 r+ k8 M" Y. Q) C
  863. ; syntax:
    0 \* N$ S* q! o5 o
  864. ;
    & \4 ]1 R% `) z. m* W
  865. ;   extension=modulename.extension
    4 t& k0 \) E/ S  |8 r' ]1 Y
  866. ;* o. u! e4 ~' Z! L
  867. ; For example, on Windows:
    : f$ d0 R& C) w$ X0 w
  868. ;$ k! [: O' Z, z
  869. ;   extension=msql.dll3 [+ I* K9 P# Y
  870. ;
    : T1 h9 L; E7 k8 D1 X. k
  871. ; ... or under UNIX:( E* V- P+ k3 r6 x0 R( _0 C  b
  872. ;
    9 H! A# m0 O1 |0 G
  873. ;   extension=msql.so
    . _9 ^9 T+ k" H, U
  874. ;
    * U$ N/ r. S" M' n  t  I, {) u7 V
  875. ; ... or with a path:
    & H* r$ q3 w9 v) V) D7 \
  876. ;; P! T3 Y/ l/ T
  877. ;   extension=/path/to/extension/msql.so
    3 o- Q& P2 a& K2 O
  878. ;$ x* c/ o7 z# ^8 w  o# H
  879. ; If you only provide the name of the extension, PHP will look for it in its* Q. {& x8 V* `; [& j" K3 u2 J
  880. ; default extension directory.
    / L" x  m3 Q: F2 V
  881. ;
    : Y* R/ U! m. l$ v8 t0 s% l$ S
  882. ; Windows Extensions
      _. T5 O5 R/ T" |: G. U
  883. ; Note that ODBC support is built in, so no dll is needed for it./ `0 G" W6 \* F1 h0 r6 ~
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    6 U: j7 k7 X  {! G+ v1 \1 G
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    % X: H& k, b/ x+ \; Z
  886. ; Be sure to appropriately set the extension_dir directive.% M( {3 E" J, X: M- X
  887. ;2 p" r0 J8 C8 v0 f
  888. ;extension=php_bz2.dll$ n# e) h6 X" z1 m
  889. ;extension=php_curl.dll# _' H3 W5 E- r1 E( E
  890. ;extension=php_fileinfo.dll
    2 o# Q8 P; K/ W8 W- O7 V
  891. ;extension=php_gd2.dll! d9 E. R2 s- P* ^5 L! H6 ?2 ^) }* f
  892. ;extension=php_gettext.dll: \+ J" t2 E7 @, B( D' v! Q
  893. ;extension=php_gmp.dll5 ?& b* y: r/ q- v' |8 a
  894. ;extension=php_intl.dll
    ( `" L6 p" A( E2 j! \  ?) O9 d: z
  895. ;extension=php_imap.dll0 r. H4 U/ H6 ^$ {- p
  896. ;extension=php_interbase.dll9 h" t% A1 H/ L& N9 ]
  897. ;extension=php_ldap.dll: \1 f0 F7 `: c  ?# \9 E' X
  898. ;extension=php_mbstring.dll: _( {) q  Q# ]6 r/ M  v
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it1 V3 y) G0 Q. u" D5 e+ C
  900. ;extension=php_mysql.dll
    : _4 j( J. D: p( o, l
  901. ;extension=php_mysqli.dll5 A3 |2 z6 j1 O. l2 m& s
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    - w. o- b1 z- i2 g8 h8 }
  903. ;extension=php_openssl.dll
    ' Y' R+ Z  D2 k& c2 Q1 _2 y! a5 N
  904. ;extension=php_pdo_firebird.dll" J5 Z( Y, l$ s# d0 H# f5 J* ~
  905. ;extension=php_pdo_mysql.dll7 x* |7 j  X2 X" }: V! t
  906. ;extension=php_pdo_oci.dll! L/ x" G) ~' F9 e' M
  907. ;extension=php_pdo_odbc.dll
    7 ~  i! K, A1 X- g8 I
  908. ;extension=php_pdo_pgsql.dll: Y+ |$ }' I- P3 z7 p
  909. ;extension=php_pdo_sqlite.dll
    ( _2 A" a1 @6 K! m9 A5 x
  910. ;extension=php_pgsql.dll
    4 \* n: O1 G, Y- S
  911. ;extension=php_shmop.dll
    0 f. Z2 K; ^$ O3 Y. f& e
  912. % g2 ]3 A. N  s/ q# _6 s0 `
  913. ; The MIBS data available in the PHP distribution must be installed.
    - d* P. I2 |; A6 e4 J
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    ' r5 L+ y* X% H
  915. ;extension=php_snmp.dll: A2 n6 U0 t+ O. I* K! q
  916. ; x! p# W2 |; w# k0 I. v
  917. ;extension=php_soap.dll
    3 W4 ^3 Q5 S4 B" B/ B
  918. ;extension=php_sockets.dll
    4 R7 _2 V# X; Q/ i8 W
  919. ;extension=php_sqlite3.dll
    2 i2 a" x# d0 a8 b- Y, n1 e0 [0 h% L
  920. ;extension=php_sybase_ct.dll
    & ?% i6 M+ G% z+ y( J
  921. ;extension=php_tidy.dll. T# Y# a) d& [- ]; y$ D4 ]
  922. ;extension=php_xmlrpc.dll
    : b- x6 L( h8 R
  923. ;extension=php_xsl.dll
    * D4 T! j! Y; W% T+ Y

  924. % w( V3 v6 h8 N: ~7 P$ W
  925. ;;;;;;;;;;;;;;;;;;;0 ^3 b* ~7 C+ u  `3 I+ }) w
  926. ; Module Settings ;
    5 L8 K$ G' I, @) J7 I
  927. ;;;;;;;;;;;;;;;;;;;
    + y: N) O1 [/ |

  928. $ z: R7 b" c) z* F2 }
  929. [CLI Server]
    0 T" V% t4 m2 ^4 e6 k
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.4 g2 k, O  W2 ^1 T; r% _# x
  931. cli_server.color = On
    : i1 Q+ R2 Q* |1 Z& ~
  932. - p" j, \8 m7 b6 J( q7 r8 V; L
  933. [Date]+ H$ y# J$ F2 `  s7 _; r# |4 P
  934. ; Defines the default timezone used by the date functions
    6 r* b& F  p2 U' F& l8 u
  935. ; http://php.net/date.timezone
    9 f+ K1 [" P! z6 n
  936. date.timezone = PRC
    4 L$ R5 P$ H" i1 S* y

  937. ) H. G8 U7 l- y1 n
  938. ; http://php.net/date.default-latitude8 E+ G* I& A% e' G6 E
  939. ;date.default_latitude = 31.7667
    - {. H5 g  O: @2 |
  940. 6 i" V6 T3 R, T' a- P( J
  941. ; http://php.net/date.default-longitude
    ' [2 h  _2 S' B. D4 J
  942. ;date.default_longitude = 35.23333 `1 o* H7 h8 M' r; ~
  943. 2 a( \/ I5 O; F" n* S
  944. ; http://php.net/date.sunrise-zenith1 |5 }/ @7 e  y0 S
  945. ;date.sunrise_zenith = 90.583333* M% M0 i& ]$ w" T4 I: {" ~- d8 v

  946. 7 A: i! t5 T8 P1 ~# K
  947. ; http://php.net/date.sunset-zenith2 B8 t& r2 B% p0 |$ @% i# j
  948. ;date.sunset_zenith = 90.583333* V# U. E6 `  e- s! a& I

  949. 9 C  C( }0 ^8 R
  950. [filter]5 k7 F) q( {+ i
  951. ; http://php.net/filter.default7 m8 {; a9 k* I: z7 A
  952. ;filter.default = unsafe_raw
    6 x) D' {* |, @% L  k6 i

  953. " `# Y# a3 O/ n! w
  954. ; http://php.net/filter.default-flags" S& \! f* o+ i  q/ M* }
  955. ;filter.default_flags =+ Z8 y) q6 ~( z2 t% q

  956. . s5 K4 d3 Y/ J  }2 u# @) p
  957. [iconv]
      X3 y6 Y0 M4 g. b$ Z; n  o2 g6 s
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    9 `6 n& _. J) u9 L- l9 D
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    3 T+ I3 P9 ~7 a
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    % Y5 f. y; t+ }4 r: ~! U' P7 a3 M
  961. ;iconv.input_encoding =1 \$ u% i) m; R$ ]$ e/ e+ V
  962. . p' F% I6 s4 Q! i: n8 q) l3 R
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    " V9 U/ S3 M+ d5 r. h% C1 o
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.& _1 K. m  F  ~* v2 b
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    , n, D$ x8 E) u* w
  966. ;iconv.internal_encoding =( G. Q2 h3 v$ I& K

  967. ! `! c# q5 ^( e% X
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ; h& H% ?) J( M( L! ]" g" J3 y
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.* P. \6 z  I: k- h  |* p2 u5 V( U/ i
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    6 g# [) {# Z- n8 }0 w+ f6 [
  971. ; To use an output encoding conversion, iconv's output handler must be set
    2 G. P0 E7 g- I& T4 q" F9 V5 \
  972. ; otherwise output encoding conversion cannot be performed.. C/ @( N; Q! v) {
  973. ;iconv.output_encoding =: G0 X2 \& |( V6 v0 Z

  974. 6 c8 |+ Z6 P# x
  975. [intl]* ~5 E& |0 M$ w* h% f* n
  976. ;intl.default_locale =3 |9 B% X6 Q( i4 D; Z% ^% @) o
  977. ; This directive allows you to produce PHP errors when some error+ R, y. O8 V# v# \& ?
  978. ; happens within intl functions. The value is the level of the error produced.
    2 o; u0 q& A  l+ \$ j- B
  979. ; Default is 0, which does not produce any errors.* Y. \* k. A* s! L8 e
  980. ;intl.error_level = E_WARNING' U. S( k" k1 i) w
  981. ;intl.use_exceptions = 0( a3 p1 J1 T( c# Z

  982. + L# D! J9 {  S6 w7 d/ q
  983. [sqlite3]& n7 Q6 l5 \# ~' M
  984. ;sqlite3.extension_dir =3 H' a$ P& o, W
  985. & t4 |! s0 k0 r$ k) n8 X7 m2 T1 S3 I
  986. [Pcre]. }" c! q: x0 x) J3 u" R: ~
  987. ;PCRE library backtracking limit.+ G' l# {. a! B% \4 N
  988. ; http://php.net/pcre.backtrack-limit8 A3 [# r! f  C/ o$ G4 B
  989. ;pcre.backtrack_limit=100000
    2 A: h5 \8 ?4 y

  990. 6 c# h' _- V8 Y& ?7 W5 E8 A
  991. ;PCRE library recursion limit.8 w6 i6 ?! J6 a7 J
  992. ;Please note that if you set this value to a high number you may consume all
    - M1 M- l7 Z( `/ B' P
  993. ;the available process stack and eventually crash PHP (due to reaching the( g# ]" C" ?3 ]) I
  994. ;stack size limit imposed by the Operating System).
    - B' D9 f: X; s5 g* x7 h! k
  995. ; http://php.net/pcre.recursion-limit) H. K9 I$ j! j( _
  996. ;pcre.recursion_limit=100000
    $ x$ q( h2 v0 Q4 G) Q2 N
  997. ) f) |9 i8 p( k: r* R2 d
  998. [Pdo]
    " r  y6 Q, ?6 V. |4 Y0 z
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off": O5 a. F9 Q' ]
  1000. ; http://php.net/pdo-odbc.connection-pooling% W, p, |  x' {# N' d: Y  n
  1001. ;pdo_odbc.connection_pooling=strict! ]: ?2 Q# B' i/ ~) l

  1002. # H" K, e# \2 T6 p- E
  1003. ;pdo_odbc.db2_instance_name4 j- W) Z5 U* d8 Q  p- x3 n& Q& L- |

  1004. 1 a6 n/ t# u) J0 X
  1005. [Pdo_mysql]* s; W+ Y! S& b8 B0 \+ N4 L
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache! N0 X+ `- o/ e9 C% k3 u8 z) U
  1007. ; http://php.net/pdo_mysql.cache_size4 \2 k0 K, R# p1 H8 ]
  1008. pdo_mysql.cache_size = 2000  j, t; x( w1 u2 p1 r) C7 J

  1009. ( H  u$ O/ l7 X6 ]7 H+ N6 @
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in' t( ]  y/ b2 _+ m, b
  1011. ; MySQL defaults.
    4 H+ D0 ^) |1 r
  1012. ; http://php.net/pdo_mysql.default-socket
    / Z! W& O& g9 M9 l3 h1 k5 h) h; g
  1013. pdo_mysql.default_socket=
    * P; o$ q1 C6 N9 k
  1014. ! y; ]* a( C0 |. t) j5 W
  1015. [Phar]$ ~8 R3 O$ H8 ~3 c$ K5 R9 H' @. d
  1016. ; http://php.net/phar.readonly7 c: A# t6 P0 K2 J0 V  G
  1017. ;phar.readonly = On
    ! V3 _* d4 j0 N7 J5 y7 ^

  1018. 6 v/ |( I- [% o; R5 V+ `8 ^
  1019. ; http://php.net/phar.require-hash7 u+ S  i- a/ M
  1020. ;phar.require_hash = On
    : Y% I9 O7 d& l

  1021. / o& x* u  `3 @
  1022. ;phar.cache_list =
    # o8 G2 g- m" }4 }
  1023. 5 W  G& @' F  |5 P
  1024. [mail function]
      s1 _; h" |2 n  \9 r+ D0 x
  1025. ; For Win32 only.2 H1 X  X4 P& x9 x8 f7 \7 U
  1026. ; http://php.net/smtp
    8 U+ m; o) z2 b# _$ S7 V0 t
  1027. SMTP = localhost
    ! \) g( _$ F# O1 f7 w/ H) d2 Z
  1028. ; http://php.net/smtp-port
    3 J4 J3 Q% V0 W/ s
  1029. smtp_port = 25( P* D2 @2 a5 j5 t3 ]. T
  1030. * r# Y  H( f# T" F
  1031. ; For Win32 only.8 ~# K# A# m# U9 G; Z$ L
  1032. ; http://php.net/sendmail-from
    3 r3 m0 j8 d& @' Q$ ]9 l7 [1 q- @
  1033. ;sendmail_from = me@example.com3 ]  O( j& c: T

  1034. 5 S7 V7 n; G; g4 N- c; }! p
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    " y7 L$ x6 }3 O) j+ e
  1036. ; http://php.net/sendmail-path
    " C& e' e0 m' E' _3 w* j9 P
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    ; B. }$ a' i. B9 n0 b9 J8 [

  1038.   d7 l$ `  [9 B. \: [
  1039. ; Force the addition of the specified parameters to be passed as extra parameters) Z% y- p# d/ e# H
  1040. ; to the sendmail binary. These parameters will always replace the value of
    . @' L8 b8 G7 j+ B* o& k. i
  1041. ; the 5th parameter to mail().* \0 A1 P) y9 Z1 e: k' ^9 H. F
  1042. ;mail.force_extra_parameters =
    2 K2 Q  {6 Y. }7 i; ^

  1043. 7 ]0 l8 q! o" F8 h: b
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename: a) ~+ c% X7 D' p+ ~. t
  1045. mail.add_x_header = On& P4 Z! X/ _& m- B; f
  1046. / w; o3 D5 V: r
  1047. ; The path to a log file that will log all mail() calls. Log entries include: K- S9 u( x( T, d" ?& u* u
  1048. ; the full path of the script, line number, To address and headers., _0 t. w  }8 ^9 H
  1049. ;mail.log =
    4 g+ h7 ^9 o5 t
  1050. ; Log mail to syslog (Event Log on Windows).$ H0 x; i/ \4 Y8 p# Z* [" U
  1051. ;mail.log = syslog% T) t" K7 k; g* l) C5 E

  1052.   J+ n1 p8 A4 k$ U: x
  1053. [SQL]; r& {# N- ]( b- {. k
  1054. ; http://php.net/sql.safe-mode! `' r& V; B3 M1 [$ G8 ?0 i
  1055. sql.safe_mode = Off% h; U5 t' H. S

  1056. & D4 J- A* F$ O; ], U2 L! D8 x+ M
  1057. [ODBC]( _; B3 T8 n9 O1 D
  1058. ; http://php.net/odbc.default-db
    ( O0 H* E: S- x& z, {" {  R3 g
  1059. ;odbc.default_db    =  Not yet implemented
    4 I# n) F9 l2 v9 B
  1060. , M( N  D6 b" i. ~
  1061. ; http://php.net/odbc.default-user( f+ m- r$ b$ ~
  1062. ;odbc.default_user  =  Not yet implemented0 t" R# A6 h/ o. L# c

  1063. 6 Z) }2 o- }$ S% z' g7 ]+ b
  1064. ; http://php.net/odbc.default-pw
    / `6 ~. ?& G" h2 `
  1065. ;odbc.default_pw    =  Not yet implemented
    ! }% T; x6 f  C( ]" n

  1066. 7 |7 G. o$ u% O2 c$ ?5 i& W
  1067. ; Controls the ODBC cursor model.
      N) W7 h% o# w& T8 y* @
  1068. ; Default: SQL_CURSOR_STATIC (default).6 A( A+ b# ^3 e+ E, \  T% D
  1069. ;odbc.default_cursortype+ ^* G3 _) X0 T. i

  1070. 5 p' F. O5 l, u1 i+ E! X) @3 G
  1071. ; Allow or prevent persistent links.
    5 \1 P) E, t6 V0 [' v; a
  1072. ; http://php.net/odbc.allow-persistent0 }* K2 ?6 G6 q. S4 ]/ O0 i4 b
  1073. odbc.allow_persistent = On
    : i/ @! [& B& g0 D

  1074. + O0 C' ], h9 j
  1075. ; Check that a connection is still valid before reuse.
    # _" I9 ~, r* r7 J
  1076. ; http://php.net/odbc.check-persistent: N2 j6 U/ D, j% o5 v8 z
  1077. odbc.check_persistent = On( D1 K9 a) n( y8 F, ?& q

  1078. ; M) z. P* l' H9 z1 }& c. A
  1079. ; Maximum number of persistent links.  -1 means no limit.
    # g; s+ k" T( o% x: v$ d; J0 S
  1080. ; http://php.net/odbc.max-persistent
    4 G% T5 R0 B$ ^. V
  1081. odbc.max_persistent = -1
    : d1 W1 v# S3 H+ ]
  1082. & x2 k7 H. f3 l' o5 i* `* [1 X& {
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) ]1 {+ @8 d# E. P9 B0 [1 \
  1084. ; http://php.net/odbc.max-links6 e* v2 A( G) X, c+ K8 L* e
  1085. odbc.max_links = -1
    1 U4 c) h0 Y# e( I. c

  1086. 3 C! k6 G3 g& e' D/ p1 r% X/ C
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    " c6 {9 a& G% y8 S- o8 D& A
  1088. ; passthru.1 y1 O# e" Q$ a' H2 u! `2 K
  1089. ; http://php.net/odbc.defaultlrl
    - s! N- Q2 Z9 o
  1090. odbc.defaultlrl = 40969 Y) I9 `- p) j- p4 [3 O

  1091. ; q  B! J+ m% F; p& {4 j
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ) v# U0 e8 ^* S1 K
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation- i$ V5 l" Z* }2 n! ^( h
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    3 n* @& {1 w! j. t4 Z; R
  1095. ; http://php.net/odbc.defaultbinmode
    5 h' h& U. c/ n. J+ ^& n
  1096. odbc.defaultbinmode = 16 s! J- W- t. D! U

  1097. * f) l7 X; V: K: Y
  1098. ;birdstep.max_links = -1
    * b& R" h% f2 I2 e+ |

  1099. : Q. [/ x; P) \
  1100. [Interbase]
    6 v9 `, _# U* X
  1101. ; Allow or prevent persistent links.
    6 C. P7 ?7 {% B9 r
  1102. ibase.allow_persistent = 1
    7 C) G- v0 u- d" e3 c
  1103. # A7 Q& i: U. C7 K  l  `
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ( D4 z0 Q! X! R+ r9 U/ J( D
  1105. ibase.max_persistent = -1
    . M* q6 r0 ?- T1 |6 X/ ^

  1106. , a2 a( u( [# s) B
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ; w0 {" k$ U8 g+ h
  1108. ibase.max_links = -1. h2 f* T3 |0 A( S$ H* ~

  1109. " S5 a( k( e& R& q0 K9 T
  1110. ; Default database name for ibase_connect().$ s9 {- ]/ r8 a% _. r( V
  1111. ;ibase.default_db =
    . k  Y/ D. V+ c3 L5 F8 v

  1112. 3 [* i) z; ~4 J0 r4 _+ U7 C
  1113. ; Default username for ibase_connect().
    9 D/ O2 g% o2 K2 b' {
  1114. ;ibase.default_user =
    . v. u! z& O8 v5 ^# W
  1115. 7 _0 d5 S$ P2 d+ T7 k
  1116. ; Default password for ibase_connect().
    6 v6 A2 ?7 T" V
  1117. ;ibase.default_password =8 @" u4 _! B' u( H
  1118. ! O$ [$ ?  u+ ~3 f. X9 f
  1119. ; Default charset for ibase_connect().
    : M0 e/ r% k5 |! y/ q# x9 c
  1120. ;ibase.default_charset =
    + c2 G9 g" u# v7 E$ m: T, X/ F2 m; W

  1121. / ^+ g$ S9 f) T( w0 y8 Q5 E
  1122. ; Default timestamp format.
    + E. n$ A3 `6 n
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    5 u. B. r; g' M' M. e
  1124. ' c4 {+ q% L" B
  1125. ; Default date format.2 a1 t# V, t+ G+ s- Z. o
  1126. ibase.dateformat = "%Y-%m-%d": F/ o9 K5 V, @7 x: C9 Q. W0 K, i

  1127. 6 ~5 h% o4 C3 a  Y
  1128. ; Default time format.
    3 s# _- ?4 B- ^& E/ g9 W$ N
  1129. ibase.timeformat = "%H:%M:%S"
    1 M1 k2 L$ n! {" I0 @5 i

  1130. 8 r: J, g8 d" ~; M5 F) s
  1131. [MySQL]
      }/ W0 m! a" F
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements! W! {$ C" J  R6 ^0 v
  1133. ; http://php.net/mysql.allow_local_infile
    5 E! s6 g+ f1 l0 u7 M. [
  1134. mysql.allow_local_infile = On& O, b; Y% u1 r* R1 H6 _4 e# o
  1135. + G. c1 b8 K+ ?( [/ k# I0 |4 |
  1136. ; Allow or prevent persistent links.' t7 P! c/ y5 h, ?
  1137. ; http://php.net/mysql.allow-persistent+ j0 f( b# A1 g$ d" R( M
  1138. mysql.allow_persistent = On
    7 W( p7 @& n8 e1 v
  1139.   r. U) v: ]7 S- L
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ) G$ a! X- g+ S8 r
  1141. ; http://php.net/mysql.cache_size5 x7 s- l* p$ u" e( b
  1142. mysql.cache_size = 2000% e: h6 H, o5 w: C, B5 _, i; O% v

  1143. 2 P6 M3 b5 p+ f  Y2 J
  1144. ; Maximum number of persistent links.  -1 means no limit./ g/ n+ o# J8 ?/ w6 ?
  1145. ; http://php.net/mysql.max-persistent
    ' ]$ T7 b" A7 v4 ^+ p0 c# o) o
  1146. mysql.max_persistent = -12 m5 c  ]5 Y9 Q. i! l- r( ~
  1147. / e* ]: r3 V% C" _
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! H! C( N, G8 h, j* O5 r5 B7 z& \
  1149. ; http://php.net/mysql.max-links2 K2 t! `; U! g# c& ?* g* g
  1150. mysql.max_links = -1
    , D4 v2 P! C1 d/ j3 S8 V

  1151. ( S7 V7 k) |5 Q0 K6 ~
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    ' m3 T+ V" q# J$ d+ M
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the7 J% ^# Y: F; x3 x5 E; e
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look) ~) E" b; w$ {( n
  1155. ; at MYSQL_PORT.
    . z( Q+ ~8 g: ]6 g
  1156. ; http://php.net/mysql.default-port5 o+ h5 g) k/ F" ]$ {- k& N
  1157. mysql.default_port =
      K; @2 `; B- _) A* i

  1158. ' ^2 [! W3 k$ g! S0 }& |1 v9 |. C
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + ~0 b# ]1 {3 D9 ~. B
  1160. ; MySQL defaults.
    ' [$ N3 u8 f* D+ U6 h9 m
  1161. ; http://php.net/mysql.default-socket
    6 V( C& E  t! x, `+ u+ t
  1162. mysql.default_socket =
    4 Q$ n# x1 E2 X1 v/ C

  1163. " c# s! Q. C6 ^$ P
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).+ M' a" B, b" B
  1165. ; http://php.net/mysql.default-host* B7 K' N& o0 l4 u
  1166. mysql.default_host =
    . t) T. B& J% G9 a$ `" ?

  1167. 2 |% ^9 s8 Z) @; i
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).2 O% m/ ^; m: _7 `2 c' N4 g. a
  1169. ; http://php.net/mysql.default-user; @/ l% c- `9 P% \" |# E! D7 J
  1170. mysql.default_user =
    / J7 Y. C% G2 T( _% x

  1171. ' A2 i. [! N3 k, H7 B6 Q
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    # M6 |. w! l% s
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.: ^7 X4 v) Z9 G9 T6 v" ?, T' Z
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")  z7 q. w5 G$ m/ u
  1175. ; and reveal this password!  And of course, any users with read access to this( C# B1 w" ]( ^9 g- E5 Z% z. u' q7 K: g
  1176. ; file will be able to reveal the password as well.
    * |0 V$ I" E: \# w' V
  1177. ; http://php.net/mysql.default-password. e, R8 a. `; L) ?) D! S: @
  1178. mysql.default_password =
    " b) p7 C; \) N: F

  1179. # ~  K; D$ Q% V" K  z* c, |* N# n
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    2 a% {5 J# \9 Q& n$ @
  1181. ; http://php.net/mysql.connect-timeout
    : J8 X9 [4 F+ M8 I
  1182. mysql.connect_timeout = 60
    ( k- k0 }" h* n+ a' {6 }( X

  1183. ( Y1 g8 H# @1 a
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and5 [$ ], G$ o- K4 i! b% a8 A4 {
  1185. ; SQL-Errors will be displayed.
    . G- {! q" M; L
  1186. ; http://php.net/mysql.trace-mode! @: @: ?8 G" x& z7 G2 _
  1187. mysql.trace_mode = Off
    % o& w$ y0 l+ V* f4 x: H
  1188. ! K' w- o1 S' n- e
  1189. [MySQLi]
    + c3 n3 D4 c: k

  1190. 2 h7 y7 x4 w% V9 X9 T0 S8 K( m. F
  1191. ; Maximum number of persistent links.  -1 means no limit." v/ @2 v; N7 `, g) Q- c
  1192. ; http://php.net/mysqli.max-persistent4 }& e! B/ J' n& c0 e
  1193. mysqli.max_persistent = -18 v% y% V3 \" a/ O0 }) j
  1194. 6 a% l; q8 O8 b% J- M8 ]8 [. I
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    8 z$ i5 ]- X. i4 R& U' k' C2 Q
  1196. ; http://php.net/mysqli.allow_local_infile
    8 Q0 {) X, A( `# A
  1197. ;mysqli.allow_local_infile = On
    ' T7 [) w7 {, x& j2 [; H
  1198. . B" S1 ?5 v5 x: r5 B9 Y
  1199. ; Allow or prevent persistent links.
    8 G1 N+ B; H' J
  1200. ; http://php.net/mysqli.allow-persistent
    . M/ C$ Y+ v4 Y+ V# H
  1201. mysqli.allow_persistent = On
    8 A2 Q4 L6 `% A- }$ H
  1202. 8 O: ]9 \& s  x4 k# l
  1203. ; Maximum number of links.  -1 means no limit.
    ; H) V) _) `! e9 h# Q
  1204. ; http://php.net/mysqli.max-links
    8 d! p' \. C' R4 H9 H0 t
  1205. mysqli.max_links = -1
    / W# A3 p% ^* i
  1206. 2 y% y% u; K3 K& z8 L+ N
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache9 o; W2 {6 U2 _/ C6 l
  1208. ; http://php.net/mysqli.cache_size  k8 N6 c7 i2 r& M, ~, f1 R
  1209. mysqli.cache_size = 20004 d! ?- u; ^) U' i1 U' y

  1210. 2 x: y" h3 `) P9 f1 E
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use  v1 E% E% {/ }$ S3 m
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the/ ^6 a" |7 n- r7 |& M3 X+ b& J
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    " A4 @6 Y+ ]& |7 A
  1214. ; at MYSQL_PORT.
    1 W5 A1 I! Y# p7 ~  `
  1215. ; http://php.net/mysqli.default-port
    - l6 c; y& y+ b; R( P
  1216. mysqli.default_port = 33063 D& T) Q+ K: I2 |' d$ B! m

  1217. : k, Q8 z! ?8 S1 T* S# ^( N
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in. K; X+ f0 Y& E- P
  1219. ; MySQL defaults.
    * Z. F( j$ ^8 R0 k- Y2 z6 ?
  1220. ; http://php.net/mysqli.default-socket
    4 t! q& q* \! Q1 B
  1221. mysqli.default_socket =
    ) h& ]1 q  |  M) E

  1222. 7 k/ {) D$ V0 _+ e4 f
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    . t7 @- S4 |2 e4 @7 L
  1224. ; http://php.net/mysqli.default-host) M4 |; E9 Z2 O4 W4 S& C9 u
  1225. mysqli.default_host =
    3 y0 M; Z6 O" c5 s: B" W- ^& `5 k
  1226. & U( d% ?8 j+ A: f1 ?5 f" |
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode)." o( C' O! Q; H( L
  1228. ; http://php.net/mysqli.default-user" `# [2 @9 t3 P8 N: x1 j7 u$ }% I! E
  1229. mysqli.default_user =' \8 r% I, E5 v( J
  1230. 9 h/ L" Z5 M7 i, E# m7 ^. k8 O
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    * `6 Y, K' g; z* @  }/ v5 u3 P$ R
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    " x3 F! ^0 G* n7 G% h
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")$ u6 a0 h2 I: T+ j% O
  1234. ; and reveal this password!  And of course, any users with read access to this2 J/ k3 `; t- l$ U0 \
  1235. ; file will be able to reveal the password as well.' c! }8 F: ]/ S& d- N4 c* q
  1236. ; http://php.net/mysqli.default-pw
    9 ?8 c- L6 y; I  X5 A3 k6 t
  1237. mysqli.default_pw =
    6 i3 q( Q* y2 m- t

  1238. ' I- o1 q; P3 e
  1239. ; Allow or prevent reconnect8 F& s/ R5 z1 X+ B8 D
  1240. mysqli.reconnect = Off
    " T; q8 ]! Z) E/ A

  1241. ! a2 g7 k, ]7 m" b
  1242. [mysqlnd]! Q" f0 f! h6 W( J. u1 \0 Z( e. p
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    5 S0 C) ]4 ]# d! E+ P
  1244. ; used to tune and monitor MySQL operations.
    4 m' R) V6 C2 R! _1 A7 d2 k8 \
  1245. ; http://php.net/mysqlnd.collect_statistics; j: b  V. V! A! i, j! s% m
  1246. mysqlnd.collect_statistics = On# g2 K" G  [, C* M5 u7 X2 u1 H

  1247. . _3 T5 Y0 U/ {" d
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be# `. Z( u0 @1 g8 r
  1249. ; used to tune and monitor MySQL operations.1 G1 K+ p' ^, l4 [5 T: s
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    9 n( f' \* O* o& K- p3 {# C
  1251. mysqlnd.collect_memory_statistics = Off, I- n  O6 w- h
  1252. + g2 T5 M& d: `/ t; ?/ a
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    : }$ f7 X+ q) t& s3 }" f& B- K. {
  1254. ; file.
    * p* V- U. {+ ^* x
  1255. ; http://php.net/mysqlnd.debug0 k. l" j; c$ T
  1256. ;mysqlnd.debug =) d  T  t- w+ E# I& S8 i0 T5 b
  1257. 8 ?7 |. E2 E6 a3 f3 K
  1258. ; Defines which queries will be logged.+ ]1 G" @" E& s  e1 K) b7 L
  1259. ; http://php.net/mysqlnd.log_mask
    + h6 _: H# W+ \
  1260. ;mysqlnd.log_mask = 0
    ) J! o# K: p, u7 n% T
  1261. 7 }5 W% ^8 b% g7 ~( U" C
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    7 e" l/ g$ d  Z2 @+ b+ T5 p: C; _* }
  1263. ; http://php.net/mysqlnd.mempool_default_size6 `7 z7 z7 Z+ ]8 i; A0 W
  1264. ;mysqlnd.mempool_default_size = 16000
    0 U/ x+ H+ Q  c+ n7 l  `

  1265. 0 t$ q8 Q# r0 h( S) l, S0 J3 H2 v
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.# L9 Z- \8 l3 i6 h# G' J
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size9 g. h) \" `4 [3 V4 h7 T1 U2 R
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    - h" u  D/ K& S+ ~! S( U
  1269. 6 {- |5 c, G+ u7 G, }& J# X7 h
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    # S1 \1 {7 ~+ t0 R0 M
  1271. ; bytes.
    * F5 t4 a+ ^* |5 P8 c! ^
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    ( p7 t. r/ O) Z2 W
  1273. ;mysqlnd.net_read_buffer_size = 32768" ?$ Y- W; d6 b, ]) H
  1274.   }0 p/ x  q7 {, X) W9 D3 m' _% H8 }
  1275. ; Timeout for network requests in seconds.
    + |  I4 U- X* {7 B5 l
  1276. ; http://php.net/mysqlnd.net_read_timeout& `4 k) b8 O3 `8 A& ~! K$ R
  1277. ;mysqlnd.net_read_timeout = 31536000
    ) f0 M* l7 N" ?* s5 r2 W
  1278. 9 e  P2 X$ u, I% q% e" A
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA5 N4 ~! a# x, }2 Y4 ^
  1280. ; key.- _% b; D2 A# {' B+ P/ q4 w
  1281. ; http://php.net/mysqlnd.sha256_server_public_key/ |( z$ ~/ S8 b7 Q7 a5 O
  1282. ;mysqlnd.sha256_server_public_key =0 E0 a( {; ~" N% h( ?0 X' D
  1283. + t  n. n* H' l& G2 h- n
  1284. [OCI8]
    & ]7 H* Q  \- ~- [1 |# T; k. w
  1285. 2 b; d2 i+ h9 s  E
  1286. ; Connection: Enables privileged connections using external' Z) Z7 U8 H' G6 E
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ( @2 M' I- m% g
  1288. ; http://php.net/oci8.privileged-connect& N% U; A2 m: d! h1 ?0 `0 E
  1289. ;oci8.privileged_connect = Off/ `0 R0 V9 U, ~
  1290. : ?. Y# @' d7 {6 c# I4 }' J
  1291. ; Connection: The maximum number of persistent OCI8 connections per% t$ P. z+ C/ d( u2 @4 E8 s* S
  1292. ; process. Using -1 means no limit.
    3 R9 e- ~4 T; ~- J0 M
  1293. ; http://php.net/oci8.max-persistent
    ) u3 W' @/ Y. v0 {9 F% @7 @* f
  1294. ;oci8.max_persistent = -1
    ) O' X/ r! r2 B9 e5 S3 Y
  1295. ! c$ o& }& |9 m/ u9 k) ], G6 N0 O
  1296. ; Connection: The maximum number of seconds a process is allowed to
    2 k/ O2 Z% L) y% u4 c( O/ z: ?
  1297. ; maintain an idle persistent connection. Using -1 means idle
    1 i0 Z; g9 z- G7 G
  1298. ; persistent connections will be maintained forever.
    % Q: d% s8 p; C
  1299. ; http://php.net/oci8.persistent-timeout( z! J3 x* ]3 ]; u5 ]5 F
  1300. ;oci8.persistent_timeout = -1
      Z- P9 ~; j! O9 @7 j" z! b' w
  1301. % D; a4 n$ Q, e* Q- A, ^( V' n: a
  1302. ; Connection: The number of seconds that must pass before issuing a
    5 j! z# g& A& g7 k. M& Y/ p7 J$ O
  1303. ; ping during oci_pconnect() to check the connection validity. When
    3 Q) l& |* |& O6 m% @* `; N8 ~, `2 e
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables3 E- U% {9 I9 v1 a" u7 p3 u
  1305. ; pings completely.  |# L& a( Y% o
  1306. ; http://php.net/oci8.ping-interval0 q1 x' i" f  ^* }( ?( O9 d; x
  1307. ;oci8.ping_interval = 60; a5 X6 G" ~% l& l

  1308. 1 u  v& a: ]" C- d& ?" P
  1309. ; Connection: Set this to a user chosen connection class to be used
    7 a9 m# n9 f: a9 ]4 S
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    0 f; a, ^0 U; s* I& h6 H
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
      t1 I; X' w) x% ^; x' b, Y) Y
  1312. ; the same string for all web servers running the same application,
    3 \' l+ P& \! j& I
  1313. ; the database pool must be configured, and the connection string must
    , b; _( N/ Q0 n3 r. _- ]5 U$ }
  1314. ; specify to use a pooled server.
    1 X3 W4 ^* r+ Y( \, k% B
  1315. ;oci8.connection_class =! E' [1 N! [; V1 V' B4 _
  1316.   F1 H) t* A" l9 J2 a0 N
  1317. ; High Availability: Using On lets PHP receive Fast Application
    % W- W; O+ H* ^) f$ R
  1318. ; Notification (FAN) events generated when a database node fails. The
    " x8 }: c# s7 Z% N
  1319. ; database must also be configured to post FAN events.
    * H: C' ]* F: U  T
  1320. ;oci8.events = Off, w/ ]# m0 A* k) ]) S
  1321. & C" s' ?2 B  j- x  C/ M0 D' x; l
  1322. ; Tuning: This option enables statement caching, and specifies how
    ! s7 H/ O+ }9 e7 q
  1323. ; many statements to cache. Using 0 disables statement caching.
    , A, d  G, L/ `
  1324. ; http://php.net/oci8.statement-cache-size
      F4 L: }6 H' G! {; ?
  1325. ;oci8.statement_cache_size = 20
    ' Q& i) Q3 p. F2 d3 W; A; l3 P. g

  1326. , Q: c2 `# Q: j8 H1 h) M5 b
  1327. ; Tuning: Enables statement prefetching and sets the default number of3 G6 q% {  E9 h1 R# a7 g; j, d8 r) E
  1328. ; rows that will be fetched automatically after statement execution.
    + u- P9 a8 G. q- ?3 x$ Z! L
  1329. ; http://php.net/oci8.default-prefetch9 O0 m2 H9 ~6 {# b
  1330. ;oci8.default_prefetch = 100
    * B- l3 x# N( |' |0 a0 E

  1331. % V* E$ W! s+ G3 O+ t. t8 O
  1332. ; Compatibility. Using On means oci_close() will not close
    " l1 G! T7 e2 Y+ w1 F5 j! l
  1333. ; oci_connect() and oci_new_connect() connections.) a+ E, D: e. _: J0 @& Z
  1334. ; http://php.net/oci8.old-oci-close-semantics1 h5 c$ C- s9 y& J( f9 k4 c$ i8 M! v2 j
  1335. ;oci8.old_oci_close_semantics = Off5 v# {; t. H+ K3 P( q: |
  1336. 5 ]3 L# a% j; ]
  1337. [PostgreSQL]
    " }, J5 c/ K# r% |( x0 M- g
  1338. ; Allow or prevent persistent links.
    ; u' b0 v' w! J: d+ o2 Y
  1339. ; http://php.net/pgsql.allow-persistent
    / U1 g* }( j$ b  J4 j0 f
  1340. pgsql.allow_persistent = On% M3 b3 P  c" t. C! z7 U: r6 t
  1341. 7 V! j% i  e( s$ M
  1342. ; Detect broken persistent links always with pg_pconnect().
    3 R1 b4 Q  S8 n7 u3 O5 K; K# E
  1343. ; Auto reset feature requires a little overheads.
    # k4 c, F, z7 H5 W: I- c9 l/ O0 t
  1344. ; http://php.net/pgsql.auto-reset-persistent
    # h) L7 ~6 _6 v
  1345. pgsql.auto_reset_persistent = Off% B5 v  A( D1 w# v7 C& y  z

  1346. 0 W# k  m" l# O5 _$ A9 R
  1347. ; Maximum number of persistent links.  -1 means no limit.
    & B! W& C7 d: b) @6 T  D$ c- g7 S
  1348. ; http://php.net/pgsql.max-persistent
    3 |- T; M* R7 T, T' c! o# [
  1349. pgsql.max_persistent = -1: i- W! q. z2 C) O

  1350. ( ~8 Q( x: O+ D9 g
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.: c" s. S  m) M0 a7 |. B
  1352. ; http://php.net/pgsql.max-links
      F' v0 P; z  r! B7 ^2 T8 n+ m) l1 s
  1353. pgsql.max_links = -17 d8 @$ J* g2 w8 ?2 ]
  1354. 7 T/ v6 Z# a' x" M$ ~# V- F; Q, s# W
  1355. ; Ignore PostgreSQL backends Notice message or not." E7 ^6 n, v* G1 _- q
  1356. ; Notice message logging require a little overheads.
    & M! K7 A/ ~  @; P9 f+ A, b7 |
  1357. ; http://php.net/pgsql.ignore-notice5 y1 w& W6 m1 ]1 n" ^
  1358. pgsql.ignore_notice = 0) X: n4 B. M5 H9 j
  1359. ( n; x8 l1 O- S% u& k
  1360. ; Log PostgreSQL backends Notice message or not.
    3 v" `2 O1 f# [) r
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.# P; F6 W2 ?; J! ~/ y3 P
  1362. ; http://php.net/pgsql.log-notice% R% o9 ^2 r' `2 p
  1363. pgsql.log_notice = 03 Z; ~! S5 e& k  g' G
  1364. 8 W: Q% w: K; K! O) w, v6 b
  1365. [Sybase-CT]
    6 N% L9 \2 x3 p; Q' n1 K
  1366. ; Allow or prevent persistent links.' Y$ \* j4 \$ I
  1367. ; http://php.net/sybct.allow-persistent# f# k4 I  v7 e+ a6 o+ D
  1368. sybct.allow_persistent = On
    2 s7 u! ^2 |1 I0 H0 ]) C8 M! R
  1369. # m. F" O  P% d& a0 x) X
  1370. ; Maximum number of persistent links.  -1 means no limit.
    0 {) v" h$ H0 V' }
  1371. ; http://php.net/sybct.max-persistent' S, P# X8 K0 a
  1372. sybct.max_persistent = -17 Y. B! ?( |0 i) W

  1373. # Q# @# z! @% K' }+ d$ k6 T
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) n3 Y: q( T" D; s
  1375. ; http://php.net/sybct.max-links9 s8 W! [" z  h
  1376. sybct.max_links = -12 w, D7 }$ R$ e( _
  1377. ' z7 o& B: F6 l( i# k
  1378. ; Minimum server message severity to display.
    0 \1 _* e1 a5 H# v1 Z) K8 Q: n) v
  1379. ; http://php.net/sybct.min-server-severity
    & g& N1 B! }1 a
  1380. sybct.min_server_severity = 10* N' o* {' q6 x& i7 Q1 a8 T4 a
  1381. & M4 i( b. j# ^7 J9 Q
  1382. ; Minimum client message severity to display.! ?7 Q1 i' Y8 [/ @
  1383. ; http://php.net/sybct.min-client-severity+ D) y* w$ H9 Y8 S- u* F; V9 @
  1384. sybct.min_client_severity = 10( p0 _# b+ `; A# ?4 B
  1385. . _( M  B3 }2 m1 s0 N- Y
  1386. ; Set per-context timeout
    8 _  a6 S$ I( M' ~4 M! J
  1387. ; http://php.net/sybct.timeout* ~, g. ^' Y* X
  1388. ;sybct.timeout=
    2 V' j5 g& v2 [3 ]$ A' ^

  1389. 7 I6 I4 k: R5 o) f
  1390. ;sybct.packet_size" d* V! R# x3 f- X
  1391. 4 z6 r8 [% M' K% x8 R. ?8 G5 H
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
      b! q$ B- N4 m6 c' m' a9 w
  1393. ; Default: one minute
    - z. i% T9 {9 F: {& @; ~9 G
  1394. ;sybct.login_timeout=
    " |+ B# p# r4 y) O! Q2 Z! H

  1395. : V% ^& g4 E; |
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.. B) U! |( w! l1 Z
  1397. ; Default: none5 L9 Y2 O" ?) v
  1398. ;sybct.hostname=
    % `+ ^8 j3 o& B2 F$ `
  1399. : s4 V2 o) N( m
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".; C# K% i/ I8 t! y2 I
  1401. ; Default: 0! [/ G; G  X$ ~0 q
  1402. ;sybct.deadlock_retry_count=8 L9 z" m" c( V  d* r5 X! d

  1403. / m# [1 n! d) K7 A$ |( o& _
  1404. [bcmath]% D0 k; e& z7 X8 o. u
  1405. ; Number of decimal digits for all bcmath functions.6 n) [* E( P5 i3 T4 R
  1406. ; http://php.net/bcmath.scale5 t- f  G; B9 H" i& E
  1407. bcmath.scale = 02 |/ L0 @' E  ~  {3 l" w
  1408. ! d6 W2 I& D, p) v9 v0 p8 j5 b( E
  1409. [browscap]
    4 ]6 S8 v6 o2 F% e
  1410. ; http://php.net/browscap0 k* @* E9 _" [: h0 v0 [- }* L+ w
  1411. ;browscap = extra/browscap.ini# O% X, `! h( d

  1412. 7 @: j% e# t5 I7 c3 `/ G( o
  1413. [Session]
    7 T; O0 G) B  e! o2 I. }3 @
  1414. ; Handler used to store/retrieve data.
    7 N; @' w( m$ }; n' F
  1415. ; http://php.net/session.save-handler
    : z% f+ p; i% @& E5 y! r0 Q# U. @
  1416. session.save_handler = files
    6 e# Q& p4 X& J" J
  1417. 4 y' k# N$ j, V7 A# j9 P) m
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    5 Z8 }: C- U& ^
  1419. ; where data files are stored. Note: Windows users have to change this) [7 @8 N" o' e! r1 r  C7 X  Y
  1420. ; variable in order to use PHP's session functions.
    $ e! A, m9 y& ?! {  i7 @% R
  1421. ;. M1 A1 D. c) a1 m8 S
  1422. ; The path can be defined as:
      [2 L1 c0 s+ g: y5 ?( E
  1423. ;: e- y6 s; N" i: d4 ]$ J2 w) i( g- n% M
  1424. ;     session.save_path = "N;/path"6 s' C% |5 t: o4 [  _4 E  t
  1425. ;6 m; H6 Y5 ?# a( C% ?
  1426. ; where N is an integer.  Instead of storing all the session files in5 M- Y% n' a8 k% [
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    " @: \  G3 Y7 R" U: S- ~
  1428. ; store the session data in those directories.  This is useful if
    % m- W+ [2 y$ b4 Y2 H& F
  1429. ; your OS has problems with many files in one directory, and is3 _$ J& Z2 M, H- B; H
  1430. ; a more efficient layout for servers that handle many sessions.
    7 Z; `* l1 ~" v% ~" t  A
  1431. ;
    ; X1 t. n( U1 q9 U' o7 v9 ~
  1432. ; NOTE 1: PHP will not create this directory structure automatically.- j3 {& W% }4 C& v# U
  1433. ;         You can use the script in the ext/session dir for that purpose.
    ( ^5 K4 a* f( c: L  D6 D
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    + H2 X5 K4 _: \$ X; O4 E
  1435. ;         use subdirectories for session storage& b) \7 |* `' Z" V  N
  1436. ;' R$ g0 n  q4 T. s: b
  1437. ; The file storage module creates files using mode 600 by default.
    " o& z3 E) a, G3 G2 P9 }
  1438. ; You can change that by using1 S3 P( {7 ~' i: u/ o9 ^
  1439. ;, K$ V4 y( l7 E5 h, m8 U7 ]
  1440. ;     session.save_path = "N;MODE;/path"1 T* J8 ^  M7 s. K$ f" P
  1441. ;2 J& P9 X8 J  Y5 [, a, x2 W
  1442. ; where MODE is the octal representation of the mode. Note that this/ ~0 A) H+ c! o; A- z1 e2 y2 x
  1443. ; does not overwrite the process's umask.1 }7 w  L4 W  g/ h! s
  1444. ; http://php.net/session.save-path0 p+ i7 a: v9 }, g5 k4 e
  1445. ;session.save_path = "/tmp"8 Q$ P& H% b& o* s; N( _& Q8 [

  1446. ( i' c% ^2 W/ \1 ^5 T9 k, z8 y7 n
  1447. ; Whether to use strict session mode.0 u3 F3 W4 j0 i$ V! P# y
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate2 Q1 [+ _* L$ G; T& ^
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    % o5 U* `- z) |  X
  1450. ; applications from session fixation via session adoption vulnerability. It is
    . W3 t- U: n3 f5 d6 C) z
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    + R: |& }8 e! e: n6 J$ v. j" o
  1452. ; https://wiki.php.net/rfc/strict_sessions
    - s! t: R7 O3 ^) X
  1453. session.use_strict_mode = 00 ?( E0 z6 |6 O- p) M! N
  1454. 2 [; n7 T, x" A( t6 |6 H
  1455. ; Whether to use cookies.
    / n/ Z5 H4 K, F/ i2 T1 k! n# M5 i& Y
  1456. ; http://php.net/session.use-cookies
    2 @7 u4 {( y+ e+ n2 N
  1457. session.use_cookies = 1/ I: P0 F" w9 P/ d& ]  y4 M3 ^

  1458. ) y/ P2 d0 v' J; [3 R( @
  1459. ; http://php.net/session.cookie-secure; O2 _" [5 X* R
  1460. ;session.cookie_secure =
    9 v' s0 ]( X' f6 u
  1461. 7 ^! ?# W/ z; n+ l6 M& _
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining( u+ r7 i  P. ^) b+ @
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    # d  T3 ^2 j7 j0 t4 B* Z
  1464. ; session hijacking when not specifying and managing your own session id. It is* H2 O+ S' L7 N! A7 l
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.! T. ]' X+ x0 g5 o  \# G
  1466. ; http://php.net/session.use-only-cookies% t  l* |% @5 B6 {
  1467. session.use_only_cookies = 14 Q3 Z# E7 z8 z" f' R  l7 H
  1468. ! g' u" W. }0 C) u) U# t
  1469. ; Name of the session (used as cookie name).
    ; T, W" L+ G" J' K7 b
  1470. ; http://php.net/session.name
      a# Q) R2 E4 t' i! a
  1471. session.name = PHPSESSID
    " b. m4 P7 {5 `" o7 @2 ~* l) o
  1472. & s3 G1 J  E) P6 T$ A4 A
  1473. ; Initialize session on request startup.3 M6 r; q" I/ u/ B: [
  1474. ; http://php.net/session.auto-start/ N% V2 g, D7 j3 q- u" t
  1475. session.auto_start = 0; C5 \) z! z/ K8 V. z( y. r9 w

  1476. ' y) i( T# @) j, l: C
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    % t& k$ f+ r9 j/ m
  1478. ; http://php.net/session.cookie-lifetime
    9 b. D2 o; `7 z' T# T, F
  1479. session.cookie_lifetime = 0
    & `$ Q3 B& v0 q. |+ u* [8 j3 k
  1480. + F0 }+ y6 \7 N
  1481. ; The path for which the cookie is valid.; z5 U, z$ K: `# Y
  1482. ; http://php.net/session.cookie-path
    * F$ u3 ~5 e* `9 e% \
  1483. session.cookie_path = /+ {# V* Y3 J1 k7 S" T* R8 j# v  }
  1484. , b9 Q% c- {% I) I: s$ B/ f3 c
  1485. ; The domain for which the cookie is valid.
    , c- x5 S! M% |6 ^9 I0 C1 ~
  1486. ; http://php.net/session.cookie-domain, j, I9 A3 k/ f8 {& L. a
  1487. session.cookie_domain =9 ?, t* \) H, V3 W- y1 a

  1488. ( B0 w6 ^! O( t  c. s& x
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    % P( g0 \9 B7 b4 @* `; b& p
  1490. ; http://php.net/session.cookie-httponly
    # V0 ]7 a0 O% j2 ?  G/ @* U
  1491. session.cookie_httponly =
    ) Z1 b# b7 L/ r, ]% P& q

  1492. 6 K9 z: u8 b9 ]7 d
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    3 C9 o7 h' M: [* r
  1494. ; http://php.net/session.serialize-handler
    * ^1 e: |) k# w' m. M' P
  1495. session.serialize_handler = php
    4 @+ S  x2 p) l
  1496. 8 S* U9 B2 C. `: e0 b) n
  1497. ; Defines the probability that the 'garbage collection' process is started
    ' Z) V& ^2 ~( j/ u$ G8 }
  1498. ; on every session initialization. The probability is calculated by using2 ?& E, J# A/ ~6 x. c
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ' d5 @, z' X3 h" y) P
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 11 n2 E8 n8 R# v: E3 o% D/ `, k) T) l
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    " }3 k3 s2 N+ Q+ p# }) i
  1502. ; the gc will run on any give request.
    9 R+ I% A- u# _: R! [, b- n: d9 S' v
  1503. ; Default Value: 1
    6 U. }# g9 Z# U, y
  1504. ; Development Value: 1
    , y3 n4 ?' m4 K& V. w: k( p
  1505. ; Production Value: 1% U7 ~, T: o. ]
  1506. ; http://php.net/session.gc-probability8 F6 b4 z  s- K5 [2 [7 N
  1507. session.gc_probability = 1' w' N# ~; a1 i8 g* Z9 S

  1508. # \  N. l# S$ m1 a' O
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    9 R, I: P: j. T$ @5 `9 d" C3 H! ]
  1510. ; session initialization. The probability is calculated by using the following equation:
    ( C0 i" W3 |( c7 o& _
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    # h/ N. F) K# c' ~! f. q! q+ k
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1$ C) G9 X: w! E  A$ d  h9 G
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance6 N8 \5 w  ?; D4 n. i
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you. V( o) ~" Y. R$ ^( S  j
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ' y/ v1 X. y- R8 P
  1516. ; this is a more efficient approach.0 z, ~2 N7 |8 m5 a! e
  1517. ; Default Value: 100( ]4 i1 W0 r1 ~+ Z# e4 n: S2 `' r
  1518. ; Development Value: 1000
    4 Z6 k" R+ U! t5 A
  1519. ; Production Value: 1000) v0 p( _3 ~( t4 H* K: r
  1520. ; http://php.net/session.gc-divisor
    4 n$ @; V2 L8 D% a
  1521. session.gc_divisor = 10003 t/ m! ^$ i! E/ P! q( |
  1522. : }1 S$ K* a" _
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and, N& m3 e$ O8 s/ [7 h8 {
  1524. ; cleaned up by the garbage collection process.
    # s" j) ^% Y! p& A$ ^8 ]! \
  1525. ; http://php.net/session.gc-maxlifetime
    8 S5 s. ^! `0 \8 a5 y2 P
  1526. session.gc_maxlifetime = 1440
    $ Z. P& `+ O# J% i

  1527. 4 I/ @6 z( n; b. O" `- e; E
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    . `+ ^; R( R! J; K1 v% y/ x
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ! O+ ]# G+ U: W5 w0 ^) O
  1530. ;       happen automatically.  You will need to do your own garbage
    5 H: f' n2 k, }8 T1 [5 p& n
  1531. ;       collection through a shell script, cron entry, or some other method.& e9 \  \+ i5 Z( C7 }3 m
  1532. ;       For example, the following script would is the equivalent of  @+ m( c7 G: S; w/ n, P+ ]9 k
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):( a/ K  s- y/ J
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    * Y) X) a5 j+ g' q: y! K- [
  1535. # z# ~( {7 A0 l
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.% d5 [9 a) ~0 }: \' m) ~/ C
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    0 f  W- b( s* a( t/ c
  1538. ; considered as valid.- E! r; g% Y3 v) {5 E7 N1 [% x( r
  1539. ; http://php.net/session.referer-check
    , d( k( x! T1 b7 r* R
  1540. session.referer_check =0 i/ B8 Q, z" e) N

  1541. 2 }5 c4 C' e0 ]8 [* \2 s2 A3 g
  1542. ; How many bytes to read from the file.
    2 T. O4 M2 k1 \$ j
  1543. ; http://php.net/session.entropy-length0 ^) w" p* T8 e
  1544. ;session.entropy_length = 32" h0 e8 I# o3 i5 M  p% r

  1545. , V) f" U, |+ K: D! X
  1546. ; Specified here to create the session id.
    " }. X, _4 p/ m/ e" y* j
  1547. ; http://php.net/session.entropy-file) g* H! d0 T! q, p3 V2 r% T! ^: d
  1548. ; Defaults to /dev/urandom
    ( N# S# X$ {& ]. y" g
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom1 ]' A* ?2 K9 @
  1550. ; If neither are found at compile time, the default is no entropy file.
    9 n5 `+ U: C8 Y, n  A
  1551. ; On windows, setting the entropy_length setting will activate the, _0 z/ q/ ?' f! M4 d# j: A
  1552. ; Windows random source (using the CryptoAPI)
    " g/ j, ]8 }, t2 e1 u
  1553. ;session.entropy_file = /dev/urandom5 P% x/ Q3 R7 K0 G; c" u
  1554. 4 L# @3 D" g! P# n
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    9 U: v/ ?' G0 S# L# G" A# B* v4 d
  1556. ; or leave this empty to avoid sending anti-caching headers.
    ! f. ^% `# y. @+ B( ?
  1557. ; http://php.net/session.cache-limiter
    8 @1 D/ V" {7 s9 A% y
  1558. session.cache_limiter = nocache" F& Z& `5 R/ m0 h5 a
  1559. 3 A8 `7 N5 t/ p9 u+ }6 j( i3 X
  1560. ; Document expires after n minutes.2 Y5 A( ]: \8 I( ~
  1561. ; http://php.net/session.cache-expire* `/ O2 s" h& V+ ]
  1562. session.cache_expire = 1808 m/ Y& W" Z6 n# ^& N
  1563. ) I( _7 f* o, r( G" G" O! M8 I6 R
  1564. ; trans sid support is disabled by default.0 ^" w# e2 A6 p1 k( ^) o: A2 b4 B
  1565. ; Use of trans sid may risk your users' security.+ j9 N/ K! T0 u9 u9 I
  1566. ; Use this option with caution.
    # g8 }" O3 D5 P' C
  1567. ; - User may send URL contains active session ID% W+ p$ M2 W) `1 B1 a6 ?# N
  1568. ;   to other person via. email/irc/etc.4 _4 W, P8 z% O4 ]
  1569. ; - URL that contains active session ID may be stored( |; }: H- K* |- I$ a
  1570. ;   in publicly accessible computer.9 ^4 P3 m7 N0 N" ^
  1571. ; - User may access your site with the same session ID
    ! x6 T+ C$ m$ M4 C) T% ?1 h7 j
  1572. ;   always using URL stored in browser's history or bookmarks.
    2 @3 }- S# N: U" C  Q
  1573. ; http://php.net/session.use-trans-sid1 C0 C' c  `! _# Q1 t: m7 T2 k
  1574. session.use_trans_sid = 0
    6 d3 \9 n: R8 ]- H
  1575. 9 _8 N& F: Q" D$ y
  1576. ; Select a hash function for use in generating session ids.
    ! F$ E: K' ~" U% z  i6 {- u6 ]
  1577. ; Possible Values5 `2 c5 D- P5 L4 X! ]- f) M
  1578. ;   0  (MD5 128 bits)8 N6 K7 p" p4 C2 l
  1579. ;   1  (SHA-1 160 bits)
    ' p. I8 v) l/ U) P6 B% y
  1580. ; This option may also be set to the name of any hash function supported by" N3 C& L$ f* F% G. G3 X4 @+ N
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()$ O1 F  N4 P! U; ~* m
  1582. ; function.
    * G) H& m" d( K4 `8 h) K
  1583. ; http://php.net/session.hash-function
    . U8 w) B+ o1 N; k7 n
  1584. session.hash_function = 0
    , a+ A6 m5 [# K$ w" H* O" ?3 Y
  1585. 9 Q. c$ r1 ^6 r3 F6 l: W% e
  1586. ; Define how many bits are stored in each character when converting7 J3 Q0 y2 \8 u
  1587. ; the binary hash data to something readable.
    ) ]4 q# ]1 o- o3 l
  1588. ; Possible values:6 c0 n: s7 p4 U. m) `9 ^7 C& m
  1589. ;   4  (4 bits: 0-9, a-f)& H0 t0 s9 T% u3 t
  1590. ;   5  (5 bits: 0-9, a-v)2 Y3 }+ i9 u5 H& Y
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")2 C# \% o6 K& L2 G
  1592. ; Default Value: 4, p% Q, M1 O4 Q1 L- B
  1593. ; Development Value: 5
    ( B" W1 X( g+ k" ^
  1594. ; Production Value: 57 c" _) g" p7 B
  1595. ; http://php.net/session.hash-bits-per-character
    6 [. D( N3 D7 [. e/ `8 W
  1596. session.hash_bits_per_character = 5
    ) o, k: q& b8 n6 e
  1597. : d# {2 }' W& C) n4 i3 v" J6 W
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    5 L4 Q9 e; ?8 `7 b: v. A% W. o- |
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    , _( q# {  h- o  `$ `2 A
  1600. ; add a hidden <input> field with the info which is otherwise appended* c2 p+ S/ L$ @1 ]2 d. j
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.& N7 O/ @0 ~2 B; H6 L
  1602. ; Note that all valid entries require a "=", even if no value follows., E, v6 g0 f7 j* ?, @# ~$ A0 S
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    0 {1 F1 ?0 L7 ?3 L# j8 d5 i
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      h* `& z& \3 \, R
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % X& i! A2 M8 \- \0 w
  1606. ; http://php.net/url-rewriter.tags$ N5 A" `1 O7 b. u9 F
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"/ r5 q1 P- R8 B( r

  1608. 1 V5 F2 E0 z% ]' F' K- G" L  A2 V
  1609. ; Enable upload progress tracking in $_SESSION
    ' R& r. I( }# }! M3 w- \( l  F4 b
  1610. ; Default Value: On) J, l7 g3 k/ c' g9 W* z+ Q
  1611. ; Development Value: On& F- t/ N9 c3 B9 B( T" H
  1612. ; Production Value: On3 w" d0 l) _  _8 O: r2 t3 Z9 t
  1613. ; http://php.net/session.upload-progress.enabled
    : A" ]+ H" X7 P" p; u1 }
  1614. ;session.upload_progress.enabled = On9 b( j# M8 h& D/ f" G/ Y/ l! I
  1615. " u9 y: d* ?3 `4 I
  1616. ; Cleanup the progress information as soon as all POST data has been read
    : W- N/ X" _1 h
  1617. ; (i.e. upload completed).
      \% i. y1 E: E, f% `0 I, t
  1618. ; Default Value: On
    4 p  x/ Y7 T" n" K- |( o6 p
  1619. ; Development Value: On0 N/ f7 A. R$ }* F6 S3 m2 }
  1620. ; Production Value: On
    9 R1 w5 e, f  i( G, X6 ^: ^0 m
  1621. ; http://php.net/session.upload-progress.cleanup! I' t6 U6 s2 W
  1622. ;session.upload_progress.cleanup = On
    ) W2 X3 n9 V4 k
  1623. 3 P' @) r  [! O- h2 H. q
  1624. ; A prefix used for the upload progress key in $_SESSION
    % I! t4 W$ m0 X' U, j$ l! i
  1625. ; Default Value: "upload_progress_"* {1 c& \+ p) C$ t
  1626. ; Development Value: "upload_progress_"
    . C- p7 r/ E# o7 h2 C
  1627. ; Production Value: "upload_progress_"( ]& a6 B( U2 d3 f5 y
  1628. ; http://php.net/session.upload-progress.prefix
    , H: X! ^3 T6 ^3 Y/ ]! }: t
  1629. ;session.upload_progress.prefix = "upload_progress_"
    + c4 ~, V: I! P) y: ~/ \+ B; s

  1630. ' X" k8 m( `6 R7 M- f9 O
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    6 T& b0 e. @" D. z" t
  1632. ; containing the upload progress information
    + g3 P) p9 \/ Z- b, X0 f; t: h
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"8 {- A! I- Q( S& ~: _, }
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : v6 K6 `. `6 N1 b8 A9 ~5 b
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"1 w; E1 Y9 X+ n, {: `* h4 B5 i' L
  1636. ; http://php.net/session.upload-progress.name; {, w! _$ O6 v/ C6 i4 i
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    * m1 Y, c8 b6 S) r
  1638. " }" }. a4 [- M. J0 b
  1639. ; How frequently the upload progress should be updated./ M; F# ^6 t, G. [
  1640. ; Given either in percentages (per-file), or in bytes
    , b8 E2 Q. u# b6 z% q+ a
  1641. ; Default Value: "1%"
    ' k: X  z3 y" @, p$ _
  1642. ; Development Value: "1%"2 t& g! X: b; I
  1643. ; Production Value: "1%"
    2 }: P6 N; G/ Z( `5 n; r
  1644. ; http://php.net/session.upload-progress.freq
    & N% }8 m9 H! F  {+ h5 A
  1645. ;session.upload_progress.freq =  "1%"2 F/ `' d6 D: P: }

  1646. : d1 T3 X" o( W  D& g+ |, r
  1647. ; The minimum delay between updates, in seconds5 w- b2 D" n( K7 s+ @7 h
  1648. ; Default Value: 13 S% x  g0 k! G% A" {. H& N1 M
  1649. ; Development Value: 19 F( j: v* k  j5 R3 u
  1650. ; Production Value: 1
    ) h, D+ O% h) i' o& m6 O
  1651. ; http://php.net/session.upload-progress.min-freq
      D! ]7 F0 i  b/ a
  1652. ;session.upload_progress.min_freq = "1"
    5 E# F5 B- i/ r, _7 H: v( ~

  1653. ; a/ i4 w8 U' e0 d# [: [7 [
  1654. [MSSQL]2 G) n7 f. j6 F$ q( i; N' k
  1655. ; Allow or prevent persistent links.
    ' W. I  L9 k2 f9 P4 r" w8 Y
  1656. mssql.allow_persistent = On; R0 l7 f/ X7 F
  1657. * H/ }0 v3 O! x; ~$ R6 N' f
  1658. ; Maximum number of persistent links.  -1 means no limit.6 V' ?+ l: _7 B
  1659. mssql.max_persistent = -1
    $ V. P& W; e3 e1 B6 O

  1660. % s; `- J# H8 b
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ' H+ W/ W4 u$ r! f% H! W+ l
  1662. mssql.max_links = -1
    " Q& D; u; ^1 @3 m* \
  1663. 0 W, J# v8 }# I1 q& I
  1664. ; Minimum error severity to display.
    " e% b# {6 y/ C- y6 ]% u
  1665. mssql.min_error_severity = 10; g' H( D4 L8 W

  1666. 4 d" ^: V5 o4 U) d3 D
  1667. ; Minimum message severity to display., E- D" n4 w# j( m* n
  1668. mssql.min_message_severity = 10
    ) ~: s0 a, w$ A- M1 K
  1669. 9 T, ?& r' B9 M
  1670. ; Compatibility mode with old versions of PHP 3.0.- a0 J4 l+ e* }1 R& q) T. j( j  [
  1671. mssql.compatibility_mode = Off
    % m; Z& U" h2 _4 N, p7 z9 e4 J

  1672. : ^6 C9 T  ~5 }$ A! a/ w) p( t$ Z
  1673. ; Connect timeout
    7 p( }* ?! }; h$ m$ Y. |% n
  1674. ;mssql.connect_timeout = 5
    $ {9 d$ A* }$ q) i
  1675. 5 c0 n$ _6 {, S1 L6 d
  1676. ; Query timeout$ P8 c3 Z( x1 F" `' E" `
  1677. ;mssql.timeout = 60
    + e) Y% W6 {% M$ E' B

  1678. 8 X* _# N+ N- y4 |  ^) L5 G
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    8 e6 I7 ^* p0 G' c$ \
  1680. ;mssql.textlimit = 40964 c- }3 U6 `$ ]* y6 N0 x5 A
  1681. 7 ]& X! V/ T9 H& Z! V, j
  1682. ; Valid range 0 - 2147483647.  Default = 4096., e" h4 c7 j. W$ @/ x
  1683. ;mssql.textsize = 4096
    ( d3 q5 {, V" q9 \# M5 I

  1684. 8 d& E8 ?$ e6 X3 H2 P: }
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.7 z% g  h" |& Y/ E
  1686. ;mssql.batchsize = 0
    ( E  }* I% e) c$ z1 B2 R: b/ F

  1687. ( c5 j2 f! b6 Q7 Z8 _; f3 L
  1688. ; Specify how datetime and datetim4 columns are returned
    " z+ O( @4 C1 j8 M
  1689. ; On => Returns data converted to SQL server settings
    9 ~$ F3 ?- _* l1 `+ n
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss3 o7 U2 o* H" T
  1691. ;mssql.datetimeconvert = On
    8 A# M+ z) m5 k: O/ \4 W9 {

  1692. ( |8 u) z# d2 p
  1693. ; Use NT authentication when connecting to the server
    % {! S( k9 ]! R6 k$ z4 b! H
  1694. mssql.secure_connection = Off
    ; ^" ]: j  H" N; M4 i& o8 r& Y5 N. s, n

  1695. 6 l' J$ a7 S) N
  1696. ; Specify max number of processes. -1 = library default" D0 M# Q8 l( A- a5 W% [
  1697. ; msdlib defaults to 25& f( V1 N7 ?8 x3 g9 t
  1698. ; FreeTDS defaults to 4096  X& z* L5 U% }- A; A7 b0 C
  1699. ;mssql.max_procs = -1& V( S7 u: G/ g% ~

  1700. * w7 s2 m! j$ }- v: M; k; |
  1701. ; Specify client character set.+ y! m, O5 R7 g; V! s) U. i! }
  1702. ; If empty or not set the client charset from freetds.conf is used
    1 g2 Z7 d3 I* W7 E
  1703. ; This is only used when compiled with FreeTDS5 d  b$ [# K) A& P4 d' r( A  P
  1704. ;mssql.charset = "ISO-8859-1"
    . s( a0 `+ p) W( j

  1705. - H6 |/ g. p8 _; v3 r
  1706. [Assertion]' A" {* w9 d4 \' ^5 x& W- R5 Q) a
  1707. ; Assert(expr); active by default.* O% O1 a6 Y% `, `' L( f. C
  1708. ; http://php.net/assert.active
    / u) m) k/ A7 k  J# n
  1709. ;assert.active = On' ?- A5 G7 H: c+ ?

  1710. 6 \& P" m4 E  `! O6 U
  1711. ; Issue a PHP warning for each failed assertion.
    3 Q! {1 _2 A4 s. o' F% V0 K7 @! z
  1712. ; http://php.net/assert.warning
    " P5 X  }! \$ D: }: r  j& R6 u6 f
  1713. ;assert.warning = On% O/ N% k) @1 Z) d' e, c0 W

  1714. 3 L* u, c7 _: b* \% u5 }, ?4 ?
  1715. ; Don't bail out by default.* K+ S7 T& W" t3 p
  1716. ; http://php.net/assert.bail! N2 s4 X. |3 u% C" a: G' c
  1717. ;assert.bail = Off7 G2 O6 h4 u7 w  M' z
  1718. ! h9 S, a7 M' \# h5 F5 j
  1719. ; User-function to be called if an assertion fails.
    3 m# N6 h) r! x* s) |' I
  1720. ; http://php.net/assert.callback; S, u$ f: |% g- C, ]
  1721. ;assert.callback = 0- r, r0 C$ L3 k0 X7 D" p
  1722. $ {& F. O. S1 A. b5 H) s
  1723. ; Eval the expression with current error_reporting().  Set to true if you want" v+ J6 t; V& Z6 T9 q
  1724. ; error_reporting(0) around the eval().+ h$ ~  ^8 B% U, M9 A
  1725. ; http://php.net/assert.quiet-eval
    * G# i6 ^; Z' S$ {
  1726. ;assert.quiet_eval = 0. S: O. `2 v& v9 t! r

  1727. 4 O# y/ w3 B# q% E; o
  1728. [COM]4 k/ s3 o1 i0 a0 l5 Y
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    - x' C# b7 `4 v, I% G/ k* w
  1730. ; http://php.net/com.typelib-file
    / e  d# V+ x, U3 I. @7 W
  1731. ;com.typelib_file =
    ' P1 }* N3 k2 n! [; Z
  1732. 8 W: s4 t( Y- k/ n
  1733. ; allow Distributed-COM calls) Y) O' @, ]$ ]5 N
  1734. ; http://php.net/com.allow-dcom
    4 r5 I$ `4 _+ H, I- Y. }
  1735. ;com.allow_dcom = true
    & E' b" C+ e! J* V+ T2 J

  1736. 6 |# \$ R3 y, |  P8 i9 N" s
  1737. ; autoregister constants of a components typlib on com_load()1 `6 G5 {- K% x/ a  n/ c
  1738. ; http://php.net/com.autoregister-typelib( B' x: t6 N* D
  1739. ;com.autoregister_typelib = true
    $ R  Y: _/ Q1 k& S. b0 w
  1740. / N7 d. k. d* {! G8 V
  1741. ; register constants casesensitive
    - H; U3 @0 }  m; C1 e
  1742. ; http://php.net/com.autoregister-casesensitive  t7 j3 P  W0 u2 {! |
  1743. ;com.autoregister_casesensitive = false& j: E* p% S# ?' ?  r1 f' P5 F- a7 t

  1744. ' X. o! u" w# `4 Z, r' U
  1745. ; show warnings on duplicate constant registrations7 a0 k0 k- {' j$ V1 _+ c# i
  1746. ; http://php.net/com.autoregister-verbose
    - I) I6 F4 Q% g7 a" j& X
  1747. ;com.autoregister_verbose = true5 S3 m3 n! t1 }2 p/ _
  1748. " t" p1 v3 e" B
  1749. ; The default character set code-page to use when passing strings to and from COM objects.0 l  U6 a" i9 q1 ?8 {
  1750. ; Default: system ANSI code page# w: w/ @8 e* M" `! f5 d
  1751. ;com.code_page=- Z7 w6 t4 Y1 S0 _  ]3 z, Q: q
  1752. 2 d2 u" w. N/ ^8 S8 _% p% E; g: u
  1753. [mbstring]8 H4 H9 a  K, d: N
  1754. ; language for internal character representation." a  U4 V8 L  G, L
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.) F6 n6 h  R8 P  @" Q/ k5 M
  1756. ; http://php.net/mbstring.language
    ; J. g+ P$ d/ A- D: ^& b" p
  1757. ;mbstring.language = Japanese
    1 D* C! t, p9 Z% [+ j

  1758. ' M" m1 f7 V2 w
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    6 i- S" r! h: @/ ?* t8 ]+ A
  1760. ; internal/script encoding.
    % g) c& U7 o: O2 Z) p' Z
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)+ _! r, ~0 ^9 I$ e* Z; h% s
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.5 D4 r. {% Z8 ^0 B" U) O
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    & h- _7 r9 r% c& F" {4 d: n0 h0 U
  1764. ;mbstring.internal_encoding =6 p/ y% Q4 j& R" Y6 W& F: e
  1765. 8 U/ U% @7 Q: M4 r/ y1 P
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.8 Q! E( U. D* p1 s
  1767. ; http input encoding.. C4 G+ Z1 Y6 T, m7 o3 c3 E2 c
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    ! R# v$ X( y) o! z& q5 K$ e" L! A
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.0 W, K8 m4 P+ a! K& B( w  \
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ! s( D7 i, q- b6 d- ^& ?
  1771. ; http://php.net/mbstring.http-input3 M3 S4 L$ x0 K0 d6 R/ w3 d
  1772. ;mbstring.http_input =
    5 N) V: E7 |0 e! L$ |0 k

  1773. ! V( O4 L) j( ^) g) E  Q2 o: K
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.% b# m8 x" f+ B* _( U! R1 W
  1775. ; http output encoding.
      z- d- n( _, r5 N4 X
  1776. ; mb_output_handler must be registered as output buffer to function.( H. E5 v2 R/ q
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
      y. F; G, S7 D3 {$ b
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ) s1 n) Z2 @7 g3 L- \, J
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    " O6 x( Z3 V" r
  1780. ; otherwise output encoding conversion cannot be performed.' C6 Z/ ~% a. J) z5 n$ \( k
  1781. ; http://php.net/mbstring.http-output
    / h& B6 w7 D2 T* K+ b
  1782. ;mbstring.http_output =
    + t1 m; p  Y" v/ [- ~

  1783. : F  ?0 @) a7 a/ p. i
  1784. ; enable automatic encoding translation according to  d+ d/ t5 @8 ^! Z, b* V8 B
  1785. ; mbstring.internal_encoding setting. Input chars are8 V4 L2 ]7 N! |/ |
  1786. ; converted to internal encoding by setting this to On." t$ `! X0 z5 r. C5 I: m! J! ]
  1787. ; Note: Do _not_ use automatic encoding translation for
    : h0 E* R6 Z& w# m- r& t7 z
  1788. ;       portable libs/applications.2 o+ ~$ Z, i. E& L. V
  1789. ; http://php.net/mbstring.encoding-translation2 O. d: V+ ]( ^1 x
  1790. ;mbstring.encoding_translation = Off
    3 q$ ]: z9 z2 w6 D
  1791. 8 r2 x6 t& [* h, @3 _  ]% t6 f
  1792. ; automatic encoding detection order.) R- ^/ L( F, J9 c+ U, T( Q) _3 o
  1793. ; "auto" detect order is changed according to mbstring.language
    $ r6 R% A, W% t- Z* y
  1794. ; http://php.net/mbstring.detect-order
    + B9 o/ A" f7 \; C% d# b
  1795. ;mbstring.detect_order = auto
    : T) y( q9 C7 |5 t/ G, h: i$ T

  1796. ! I  i# g; b, x+ v5 H
  1797. ; substitute_character used when character cannot be converted
    " g0 R/ f" S2 f- u
  1798. ; one from another! w+ s5 s1 t$ ^3 b, s
  1799. ; http://php.net/mbstring.substitute-character& e7 R# d# z2 C: j' Y' u6 a
  1800. ;mbstring.substitute_character = none
    $ J1 M7 ?" K2 f0 J& q
  1801. + o/ m/ R  L' F& b! ]% D5 w
  1802. ; overload(replace) single byte functions by mbstring functions.
    0 t) h9 |) n, }1 E) Z( F
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    7 j: I- l( z  i0 e0 J( s
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    0 y' S" H  J2 }
  1805. ; For example, 7 for overload everything.
    " E* g) O% M( K: B- z3 q& M
  1806. ; 0: No overload
    ) g3 \3 ^3 f2 P0 G
  1807. ; 1: Overload mail() function. Q4 J/ l/ b9 H: D
  1808. ; 2: Overload str*() functions9 S+ g! g# y& ]; T$ I' H2 ~
  1809. ; 4: Overload ereg*() functions9 g6 a5 n' b1 H( Y" M/ M4 g, p
  1810. ; http://php.net/mbstring.func-overload& E& X0 n/ r* G+ ?- C3 n) z
  1811. ;mbstring.func_overload = 0
    " z! N9 l7 J* N1 Q

  1812. ) ^% |- U! o! ]6 a' @) n
  1813. ; enable strict encoding detection.
    0 ~/ q( ^: _! e5 t3 L# r1 |8 `7 }
  1814. ; Default: Off+ w( T. g* b1 W: a! \
  1815. ;mbstring.strict_detection = On
    ' e/ W3 q2 F4 X8 M3 N3 d* R6 U6 u
  1816. - j! j6 B3 y, D. O* m8 f2 H
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    - Z( _# z( s+ _: c
  1818. ; is activated.6 G3 @% T9 l. I0 R. H7 E
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)2 g9 U8 \; p/ n; ]! f5 \9 F
  1820. ;mbstring.http_output_conv_mimetype=
    - C$ \' r& K  C4 A4 \0 S
  1821. , l( }2 w9 `! e3 _
  1822. [gd]
    7 ^# f( R9 b0 e( ]! z
  1823. ; Tell the jpeg decode to ignore warnings and try to create- V* `# o/ O- b$ v: j& P
  1824. ; a gd image. The warning will then be displayed as notices
    + X. I. _# K: |' h1 v
  1825. ; disabled by default
    1 I+ W1 k; {5 ?* _5 _- S  q
  1826. ; http://php.net/gd.jpeg-ignore-warning% Z) D; x5 H3 P6 F) q3 r
  1827. ;gd.jpeg_ignore_warning = 0% k2 W  d, [0 l9 I; m/ B
  1828. * s( `1 ]3 p" K9 g" @( p
  1829. [exif]
    * ^! ?$ y+ p8 L5 G6 n6 P
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.( [0 m+ Q, f9 {4 n
  1831. ; With mbstring support this will automatically be converted into the encoding
    % y9 R0 x0 e4 |4 d9 A
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding2 {- W& q& H$ M0 h2 P' u
  1833. ; is used. For the decode settings you can distinguish between motorola and, ^3 w- U/ J5 c1 ~2 s/ T( t- Q$ n
  1834. ; intel byte order. A decode setting cannot be empty.
    ; f( r& Z% ]: _6 Q6 h3 m! X
  1835. ; http://php.net/exif.encode-unicode  P4 K# A7 d- E: z) h8 J, X' b
  1836. ;exif.encode_unicode = ISO-8859-150 Y) n6 G4 @7 G7 l8 R! S
  1837. / T, n' X! m/ l& y% @
  1838. ; http://php.net/exif.decode-unicode-motorola
    + m0 }. n3 E3 R7 Y
  1839. ;exif.decode_unicode_motorola = UCS-2BE( E, N/ B8 N3 P' J4 ?" s- x
  1840. $ }8 n2 \1 q+ q6 \, Z; J* ~; c
  1841. ; http://php.net/exif.decode-unicode-intel- D) @" g, `6 p- o9 k! T
  1842. ;exif.decode_unicode_intel    = UCS-2LE! Q7 D0 V! a9 W. t" b% J" @
  1843. " {, p& q; ]$ p2 p: X( d
  1844. ; http://php.net/exif.encode-jis3 h: O  k8 G* m9 t- \" G
  1845. ;exif.encode_jis =3 v) |9 |3 ?2 j2 K2 V. \; Q* n
  1846. : K; i9 X% t" U" \' p/ X( c
  1847. ; http://php.net/exif.decode-jis-motorola
    ) _8 u! ^+ h6 d2 c
  1848. ;exif.decode_jis_motorola = JIS
    7 o/ `5 E3 p' W  R! [
  1849. % h( {: P: X$ M# Y0 g4 o1 D
  1850. ; http://php.net/exif.decode-jis-intel
    * j1 {  p8 e9 t' z4 u& Z9 T9 K
  1851. ;exif.decode_jis_intel    = JIS2 T3 m+ b  M$ _$ ^
  1852. 3 z! s8 @9 c0 Z  n
  1853. [Tidy]7 G2 |9 Z! N- \6 H, h: W$ x: @. j/ }
  1854. ; The path to a default tidy configuration file to use when using tidy4 f+ ?6 N( T9 Y* ?5 ^
  1855. ; http://php.net/tidy.default-config& [9 {$ m* f6 T2 {8 h- Z
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    " ]. k4 \4 X3 g
  1857. & y7 n( ~% @: \0 O1 q' v
  1858. ; Should tidy clean and repair output automatically?* }: Q. g# i/ \( Z- Y1 Y
  1859. ; WARNING: Do not use this option if you are generating non-html content
    & {2 ^# G: y  V7 X$ j9 W4 W6 T. A
  1860. ; such as dynamic images5 q( V5 T/ E/ s5 v: M% D
  1861. ; http://php.net/tidy.clean-output& c8 L% a  J4 Z+ `" b5 O+ p: N" ]
  1862. tidy.clean_output = Off/ {/ f" }8 z- s. U9 Z' ]/ |

  1863. 1 t; S# U% q, X, l* b- F% c2 B
  1864. [soap]/ W, }3 @5 H2 {
  1865. ; Enables or disables WSDL caching feature.
    ( {  u7 j+ g; C5 V5 U( E
  1866. ; http://php.net/soap.wsdl-cache-enabled6 G) Q/ o2 R; f1 _8 V
  1867. soap.wsdl_cache_enabled=1! s( p- O" G) L' D6 m0 m

  1868. . r8 i) `, w* V7 _1 J
  1869. ; Sets the directory name where SOAP extension will put cache files.
    : l, _) ^8 e, h! `. J
  1870. ; http://php.net/soap.wsdl-cache-dir
    8 i5 L5 S$ y: i5 q1 d
  1871. soap.wsdl_cache_dir="/tmp"0 S& X& f  V  k2 [9 v. U6 p
  1872. % }' x# Q  b. M" b, B" K
  1873. ; (time to live) Sets the number of second while cached file will be used
    ' I9 j2 o, G  V: v4 u- \' w
  1874. ; instead of original one.. `% |" O$ _0 k9 |6 j% N
  1875. ; http://php.net/soap.wsdl-cache-ttl5 N3 [* l8 Q6 V4 p: Z
  1876. soap.wsdl_cache_ttl=86400
    * I" M9 k$ C1 s. R: B4 n$ G# v; S

  1877. * k3 `; \" a" w: R
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)) O8 W: u* L) ], O0 Z7 [9 E
  1879. soap.wsdl_cache_limit = 53 B* T) `+ A8 m1 U+ v

  1880. + x; [) U- d8 e$ i: z8 ?- s
  1881. [sysvshm]' k1 [( a1 D; F4 a% j5 [6 y7 L
  1882. ; A default size of the shared memory segment
    2 I1 t. ^! {7 V' J
  1883. ;sysvshm.init_mem = 100001 y1 @9 a2 |6 v
  1884. 4 V) K$ k' Z7 ~7 c/ E7 h9 s
  1885. [ldap]
    " J4 A. |' W$ m& x0 }# M
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    6 t1 d4 n$ J: ~5 p  ?
  1887. ldap.max_links = -1  R# S9 i: D4 P% }4 |
  1888. * ~* |/ g( l# p3 `' ~
  1889. [mcrypt]5 {# L, g* U% s( m; F9 Y9 C
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open. [6 \' N* J# S3 T+ X3 [- c" P
  1891. % {% Y0 s) a& |3 t" k" @
  1892. ; Directory where to load mcrypt algorithms5 J+ a7 L. V7 d1 n5 e
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)7 c1 I- P$ b, Y6 |% D5 q
  1894. ;mcrypt.algorithms_dir=5 B: R% U( k9 \* |$ W: V" {: L
  1895. , i: s) w; q/ g* ]/ `0 Q9 J5 c
  1896. ; Directory where to load mcrypt modes
    0 V8 @# q9 C  ^
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ) A: t0 K" }( P& Z2 q& b, G/ n% `8 \8 O. k
  1898. ;mcrypt.modes_dir=% E' e, H1 }1 f# n, y
  1899. 4 [- x* N/ u) T; k1 X" d7 J
  1900. [dba]+ N8 k$ l. n: L- K$ W2 E
  1901. ;dba.default_handler=3 U+ `6 _) Y4 w1 s
  1902. * D6 w6 o8 F. U/ j  p
  1903. [opcache]
    * h2 D9 i1 b) {7 t9 {- y% S8 @
  1904. ; Determines if Zend OPCache is enabled+ C$ T* {7 Q( M% l  |! f$ ?- q: _
  1905. ;opcache.enable=05 E# H$ A9 m! }* `* n, ^4 b

  1906. 8 q3 p3 s4 t* Q) \! S* l: n4 K6 x
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    . {1 l: w9 M- q  f& x
  1908. ;opcache.enable_cli=0
    " {# N) {. |' J

  1909. 9 b& e6 Q& G7 y0 O
  1910. ; The OPcache shared memory storage size.
    % Q- P: J, `+ |7 c! x
  1911. ;opcache.memory_consumption=64
    7 k3 s* m2 E0 i( d0 f

  1912. : l8 U0 V6 M" B. \2 r
  1913. ; The amount of memory for interned strings in Mbytes.% f- D/ v, K/ \. P  d: m  q
  1914. ;opcache.interned_strings_buffer=40 v9 G8 y5 L( Q/ b& ]
  1915. 5 |8 J; r" |; O' E( a
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.! S) K' O, w: S
  1917. ; Only numbers between 200 and 100000 are allowed.$ ?8 @- G0 q- ^2 ]
  1918. ;opcache.max_accelerated_files=2000
    1 Y. x; [7 A  R& T5 T

  1919. ! R1 s& D$ P5 i3 ~/ z
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    9 H+ V. a4 V3 G% ]
  1921. ;opcache.max_wasted_percentage=56 ~- S! P( g) o* T$ ?! S: c: ^$ P
  1922. + H# Y: _# K( |, Q' C4 T9 o
  1923. ; When this directive is enabled, the OPcache appends the current working) }* p" H7 y: O0 T
  1924. ; directory to the script key, thus eliminating possible collisions between. o; T4 R% T9 e0 J
  1925. ; files with the same name (basename). Disabling the directive improves' N5 M6 J  Z' n; A+ W3 o2 U3 d
  1926. ; performance, but may break existing applications.
    5 Y4 _, L; y3 p& w# T+ T
  1927. ;opcache.use_cwd=1% H- r" ]" c' [8 \0 R( t  M

  1928. # c- A8 J3 O3 ?0 x* T6 v
  1929. ; When disabled, you must reset the OPcache manually or restart the
    9 D- J% u6 A/ [& x" Y
  1930. ; webserver for changes to the filesystem to take effect.
    : I& C0 k& s2 [& f- O; ~
  1931. ;opcache.validate_timestamps=1
    % _/ m( {4 b2 x; b7 g$ O3 y: [

  1932. * A# w$ a2 _) p- a* W! R+ D
  1933. ; How often (in seconds) to check file timestamps for changes to the shared. ?! O; Q$ `6 ]! j3 Y! V
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    / F" }" N4 f# Z9 ~' J/ t
  1935. ; once per request. "0" means always validate); E2 `% W7 r  ~
  1936. ;opcache.revalidate_freq=2
    $ ~3 o; u4 E( N$ O8 `" k% X
  1937. " M  @! Z* r0 X- b! n! H8 Z
  1938. ; Enables or disables file search in include_path optimization
    ) |8 l: M5 s( j$ n6 \; B$ l
  1939. ;opcache.revalidate_path=0
    , D. ]/ n# J: U5 G' w

  1940. * n4 W. o! d3 k
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the2 C# J$ _6 @% B6 H# t
  1942. ; size of the optimized code.
    9 h) \7 w& M0 Z, u
  1943. ;opcache.save_comments=17 H) p# M5 G# D6 c

  1944. & ]& v# _4 f0 D) J
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"  ?/ v- A' M! r6 d* I* d9 D* _
  1946. ; may be always stored (save_comments=1), but not loaded by applications/ k% n# x( |" `6 i4 s
  1947. ; that don't need them anyway.
    8 j, Z* ^( q1 G2 I; Z5 n: j- M& J6 J
  1948. ;opcache.load_comments=1! u/ \/ f% T! O% i7 {/ a% V
  1949. - ?4 f& D# j2 z( S9 v1 ?- c; d& d$ q
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    2 h0 J( s+ d4 u1 U; b
  1951. ;opcache.fast_shutdown=0
    + [* C! z' ?  A, B- X) M
  1952. , K# t% X; z7 u3 k* @
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    $ h9 f6 J( Q# x  |: _, L) @
  1954. ;opcache.enable_file_override=0
    , k$ m9 E) e" `9 K: m
  1955. / k# ^8 [: {% I
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache1 M/ ^+ i7 M3 ^7 \+ {
  1957. ; passes
    3 W0 \" Y3 E4 C- |+ i, z/ ?% i
  1958. ;opcache.optimization_level=0xffffffff
    0 _3 e) S" h; B1 w: M
  1959. 1 E6 O) g$ c5 C* B" A
  1960. ;opcache.inherited_hack=1
    ; {1 @7 q0 g: X# s6 p
  1961. ;opcache.dups_fix=09 @8 j& M# e( Q8 T9 F. O. ^
  1962. 7 S9 ^. o3 `5 H* R* w
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    ! m* |4 Q; @$ b5 _  L4 l
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    ) w, H2 X0 c8 H
  1965. ; that should not be accelerated. The file format is to add each filename4 ]( f$ e% z/ r' D
  1966. ; to a new line. The filename may be a full path or just a file prefix
    ; E$ ?6 C4 r, A
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www6 }; C8 F6 h" t: R  x
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    6 Y: c3 K3 @& L! L
  1969. ;opcache.blacklist_filename=; R3 I& e. I3 {
  1970. 3 ~8 t7 a$ w5 b- [& l
  1971. ; Allows exclusion of large files from being cached. By default all files" L$ H; t$ i0 R& z
  1972. ; are cached.
    1 U4 K2 ?8 L) ]. I) D+ t
  1973. ;opcache.max_file_size=0
    6 q0 v+ z( Z9 h3 I: p3 J; \3 ]( l5 F

  1974. ) m! f+ c) b! I& E* R3 ^: x
  1975. ; Check the cache checksum each N requests.
    7 w) B3 c3 B0 A, U
  1976. ; The default value of "0" means that the checks are disabled.7 q9 A2 W5 ^& U
  1977. ;opcache.consistency_checks=0/ N" Q$ {8 b2 M3 N/ Y, j/ x7 j+ S1 w# P
  1978. % q- U" |9 W2 j  `& h- W1 T2 C
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache/ o- c8 I0 E( ?; Q/ T* K* z; f2 ~8 ~
  1980. ; is not being accessed.' G* x  O! m/ D# Z" x+ x" S
  1981. ;opcache.force_restart_timeout=180
    9 o, E& w3 U9 I; F0 S  o

  1982. - p/ i  d/ t$ h; {0 e6 _% g
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    5 I9 B" X8 Y, x
  1984. ;opcache.error_log=* @+ |) y" f( o4 H5 ?% u7 e

  1985. # o6 A7 T( e) Q' H% C3 F) ^+ P/ ^2 N; i
  1986. ; All OPcache errors go to the Web server log.
    0 ?8 v  v( [' Y
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    % K5 R+ C: C$ k- S* [+ D# }/ D8 o. f& v5 }
  1988. ; You can also enable warnings (level 2), info messages (level 3) or8 L$ V  |; H3 a+ S- a
  1989. ; debug messages (level 4)., m! C& R5 ~9 s' K
  1990. ;opcache.log_verbosity_level=1' B' ]5 ]" ~& e% m

  1991. 2 h' Q) k2 G) p! Q9 g. i: x
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    6 f$ F: f. }0 y2 K7 e. j  T& o
  1993. ;opcache.preferred_memory_model=& {7 o8 u$ K* ]; y5 ?4 ]" x

  1994. 8 H! a. B+ T! m' c
  1995. ; Protect the shared memory from unexpected writing during script execution.. d7 ^6 x2 @6 s
  1996. ; Useful for internal debugging only.
    9 a, U2 u/ T- E+ o. g4 B2 }+ P
  1997. ;opcache.protect_memory=0
    : A, ^) W. Z, L/ t6 v0 M

  1998. ; Q1 R( G& |. @
  1999. ; Validate cached file permissions.
      n' m3 H$ x2 K6 H# ?6 ?+ ]! F
  2000. ; opcache.validate_permission=0! d+ L9 p! M" H8 f8 Z- D
  2001. : \2 C* @, I, N! U
  2002. ; Prevent name collisions in chroot'ed environment.
    $ ~5 r) Z$ V  u5 d" b
  2003. ; opcache.validate_root=05 u) n  y' b0 R& l& r# `; x
  2004. ) @4 z- f% |* b. z9 q+ v; Q
  2005. [curl]
    1 k6 S" o4 O3 \$ d- G+ D
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ' n& }$ u$ a% l2 ^& m8 C; _! _
  2007. ; absolute path.
    1 ?! L- O2 O( ~8 w: U9 i: j
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    6 t8 w: T& a# g' Y9 `

  2009. " n5 x# Q& A# l' `" r
  2010. [openssl]
    + Y8 |- P, V8 ^- b$ |+ Y. N$ u& @' e9 W
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    8 t" u  r6 i9 ^' b& I5 ?% Z
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    . F/ j9 W6 _" ?( x; B  a
  2013. ; not specify a value for this directive as PHP will attempt to use the* @6 `5 Z8 ]/ y8 @1 \
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    6 z& x! E& ~0 x1 I3 P
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context% o7 [) B, }1 `0 ?. g! L
  2016. ; option.
    1 c: G& f4 h- F1 K( b( U/ W
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt9 K; `& W. B: E

  2018. " N+ f: B% V% b
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    4 Z7 I* f- H0 x4 D
  2020. ; directory pointed to by openssl.capath is searched for a suitable$ e9 F; |5 \. d7 m7 M
  2021. ; certificate. This value must be a correctly hashed certificate directory.; z3 W( G5 T8 N/ k2 r) |, ?
  2022. ; Most users should not specify a value for this directive as PHP will
    ) o* X( N# }3 f+ J, K/ b
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,8 [" e# e6 A+ R1 T
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    " n+ O0 Z/ t# C8 U1 g: N( \) V
  2025. ; SSL stream context option.- p# K) _1 O) ?; U: r  `' [: m
  2026. ;openssl.capath=9 C% w7 B4 D. W7 ~% G
  2027.   Y- j/ p: a% H$ \
  2028. ; Local Variables:
      v4 |) G/ L& t4 m
  2029. ; tab-width: 4/ k+ q- x' i8 ~1 R
  2030. ; End:
    0 A5 z0 |( ^# Q% L* n
  2031. + z1 o, Y% R. F  ^  ^2 a5 f* g# ^
  2032. ;eaccelerator; o* G' {6 [* s7 q  G' [3 f

  2033. & L' ~# U0 S5 G; T
  2034. ;ionCube
    % e' {7 X% E  ~1 p, `+ \, v+ M

  2035. 4 q( Z5 F& Q& O/ d
  2036. ;opcache
    0 P* m  M; {, j

  2037. 1 j, M. C( B& v' I" B0 j; Q. P# _' o
  2038. [Zend ZendGuard Loader]
    5 T3 r" j8 @4 j; C! w  V
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    8 }: o, l- R# M4 N% A
  2040. zend_loader.enable=1% D8 d3 d( w6 G1 D
  2041. zend_loader.disable_licensing=03 S1 t1 u' A( U& Y6 i0 p
  2042. zend_loader.obfuscation_level_support=3
    ! m, R6 V3 ?$ D# ?9 A
  2043. zend_loader.license_path=
    9 n8 P9 S" e0 ^+ p6 o& {
  2044. , d: B3 e5 h7 d4 ~8 r8 ]: A0 y& I
  2045. ;xcache
    0 T3 |. q7 v1 Z. r* E1 n; A
  2046. + K. @( N# q; Q& ~* I
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
" ?. @0 B4 w+ Y2 i# |4 G# K8 B
: z1 ~( `7 r; Q5 a  E8 n* a, q# [* b: c: u2 L$ {1 e2 [. v6 c
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,& k# v5 L* B! w6 G' n1 A5 Q- J

; u9 D2 x/ }2 j3 w* ?, q6 E# IDiscuz!程序版本选择:
, O+ e! D0 a+ h2 s/ g/ D; \4 v站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见," n% t) d- p( G0 m; ]7 `- L. C
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
1 X# e* u6 D/ r* t6 E: l2 nDiscuz!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。$ y# h5 s1 \# c& p7 L8 V- ~
2 n2 F5 [8 [; y6 C) }$ }: K  S& ~& O
Discuz!插件模板版本选择:
1 N! T8 M; o) x) |很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
" y5 {& i  n. k8 p5 ~% K7 D' t3 m针对这个问题做个统一的普及:, g; D! y: u3 P" m( }: [
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
9 l( G/ F. I" w2 B8 ~. f. ]2 C- z% y( k+ e) |
所以
7 M0 A  B$ Y4 d' L适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。
2 z0 q9 P. T8 F打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。, I5 Y; Q0 _. G6 v  T
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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