分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.07 T: u; r0 l6 Q0 ~- k
' L/ \1 M9 b& Q( v/ Q2 ^6 H
  1. [PHP]2 h" L" C3 `9 \  C; j7 l( E) z
  2. 2 W/ x5 v2 s& U3 b7 R
  3. ;;;;;;;;;;;;;;;;;;;3 s# E3 z  F: C( x
  4. ; About php.ini   ;
    + V1 `5 P) W) T3 j0 W* ~9 h  b6 y/ y
  5. ;;;;;;;;;;;;;;;;;;;
    $ I4 a5 Y' s7 f, p
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    6 ^: W. a" `) }& k5 y1 e8 ~
  7. ; configuring many of the aspects of PHP's behavior.6 }1 ?; c2 |0 L2 I
  8. ) S# X4 n2 a' r. k; c
  9. ; PHP attempts to find and load this configuration from a number of locations.
    2 `7 o3 t, W' F# W" }
  10. ; The following is a summary of its search order:+ ?5 |7 _2 y: y5 j; v4 y
  11. ; 1. SAPI module specific location.  [; @' ]  `8 y8 F1 H6 `* n- G
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)' C* C( s1 ~3 X! J$ ^, H5 l" }
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    3 W6 v2 R6 H7 d/ O
  14. ; 4. Current working directory (except CLI)/ u- m7 T- K; L: Z1 s
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP+ q3 k; M4 L* |( u6 g
  16. ; (otherwise in Windows); V  G1 V+ d  b) r) W& k( @
  17. ; 6. The directory from the --with-config-file-path compile time option, or the% v  t+ c0 I  D* O7 G# Y5 O
  18. ; Windows directory (C:\windows or C:\winnt)
    * B' `( Y3 |& _
  19. ; See the PHP docs for more specific information.
    , X9 L/ B. \! S7 f) R3 {
  20. ; http://php.net/configuration.file
    - j  ~- O5 y& F% U# R+ l
  21. : V+ J1 _; z1 j; `' u5 d; C* E
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ) z9 [4 K6 E  P- l% e- q; W
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    + B% P* D3 _3 M, P2 ?
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though+ T1 D9 x! _8 M* b: a7 x& H
  25. ; they might mean something in the future.0 _  \' g8 ?! S  k& `
  26. 6 |- I; A1 p5 {. n8 D; M( o) Y
  27. ; Directives following the section heading [PATH=/www/mysite] only
      _3 ]6 U; j- p! w' n
  28. ; apply to PHP files in the /www/mysite directory.  Directives6 p; J" ?9 f7 D) @, f: Q5 o$ K; w
  29. ; following the section heading [HOST=www.example.com] only apply to
    4 V. W5 @( A/ K+ ]' r4 s) ]
  30. ; PHP files served from www.example.com.  Directives set in these
    9 }: T7 F1 J9 N( v+ P
  31. ; special sections cannot be overridden by user-defined INI files or
    6 [8 J% I: n: M6 T% W% V
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    . k3 L& D/ {9 r% R7 F
  33. ; CGI/FastCGI.
    : W2 n* h8 c5 o0 A2 m8 s. s
  34. ; http://php.net/ini.sections" {( y! H. t4 Y) x" P. A; ?6 a

  35. ! V: O/ I) B2 l: _; Q
  36. ; Directives are specified using the following syntax:- ]; u8 n4 M7 N5 z
  37. ; directive = value
    ! \0 I' }4 @& W; R" K2 z
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    9 v0 P) h# a: u& t8 y. H' }
  39. ; Directives are variables used to configure PHP or PHP extensions.$ d5 i5 Z3 [1 i" L
  40. ; There is no name validation.  If PHP can't find an expected" w* S7 j* t7 \) q
  41. ; directive because it is not set or is mistyped, a default value will be used.5 \* w# \: c4 p
  42. ' [* \( d9 }* H4 Z9 N" V5 p
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    1 o. ^1 _9 u& w& s) S
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ; y2 _# D1 I, ^: K1 m4 k0 S4 w
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a4 @4 W0 ]" T& @% \: O
  46. ; previously set variable or directive (e.g. ${foo})% y: ^" ^$ v2 V! ^$ Y
  47. : x% q, W. p0 K- x+ ~9 g7 T
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    8 r% e' z) j- Y/ |: G3 h
  49. ; |  bitwise OR8 q2 U$ M; x  _' W  G
  50. ; ^  bitwise XOR- n1 c# d3 ^4 h( @  I% F2 Q
  51. ; &  bitwise AND# k3 p/ _3 b1 O7 ]7 L
  52. ; ~  bitwise NOT
    $ |) y. y4 e# X% w# w
  53. ; !  boolean NOT
    / Q3 T  J, V* @) z9 q

  54. 0 l) Q& \$ A! w( M8 ^( C) Y* f
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.1 ^8 z  L1 `# F  p
  56. ; They can be turned off using the values 0, Off, False or No.% G/ o6 ]$ C4 l* R7 y  {. _$ Q
  57. 0 Q5 j/ ^1 _! Z" C" Z4 D! z
  58. ; An empty string can be denoted by simply not writing anything after the equal- \/ V" K- {9 Z1 p( {
  59. ; sign, or by using the None keyword:
    2 J8 n8 ?+ v: @7 \+ X1 C) f
  60. & C  n. t% {, {7 `7 c
  61. ;  foo =         ; sets foo to an empty string8 ^/ g0 N" Q. C) C0 c+ R
  62. ;  foo = None    ; sets foo to an empty string
    - r: a5 n5 w5 L$ x+ a! p
  63. ;  foo = "None"  ; sets foo to the string 'None'
      m6 f1 c1 P  b4 q/ a

  64. $ }1 b* I& z. T3 U/ }! P- y
  65. ; If you use constants in your value, and these constants belong to a
    * M1 J6 k- R  J7 [% {
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),7 ~4 |# L' p9 ?9 j) D' _3 u
  67. ; you may only use these constants *after* the line that loads the extension.) S$ m1 ?+ Y' ^/ b  ~
  68. ( M; H" G, z. b7 J; K; Z
  69. ;;;;;;;;;;;;;;;;;;;
    + t+ c* u! O" W) u3 y' e
  70. ; About this file ;2 @* J$ ]- K' t0 x# C9 E: v
  71. ;;;;;;;;;;;;;;;;;;;
    & T7 m, D' K) x; H, x# _7 C2 z- b: \
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ! f7 \7 O; d) N1 ^: M) L
  73. ; in production environments and one that is recommended to be used in+ G* F, ?5 M: n* k- Z9 j/ M8 b: ~; D
  74. ; development environments.
    , M9 g! K" O# C) u+ L. k7 R5 e  q' U
  75. 3 K) k. @5 E! s: A6 M( \
  76. ; php.ini-production contains settings which hold security, performance and( z' G4 U" l2 J3 C" r2 W( Y' K
  77. ; best practices at its core. But please be aware, these settings may break8 z! V# ~: j/ t5 \! J4 d: a# D6 ^
  78. ; compatibility with older or less security conscience applications. We
    $ S$ ~8 G) Z- j  ?7 V3 B
  79. ; recommending using the production ini in production and testing environments.- z- R* @2 e# g& g  B
  80. " j) w/ k9 W2 i( e2 x2 o7 h% b$ a- N
  81. ; php.ini-development is very similar to its production variant, except it is' y( l9 C" ?7 z
  82. ; much more verbose when it comes to errors. We recommend using the$ b3 ?/ S, \& @# i/ d
  83. ; development version only in development environments, as errors shown to
    / \- f( k  `5 K! o
  84. ; application users can inadvertently leak otherwise secure information.- s+ B& ~# B1 O& d6 T8 g
  85. 0 o# W4 c9 @; ?4 z+ l( }
  86. ; This is php.ini-production INI file.
    5 M6 b( {( \$ x3 L2 D' M+ a

  87. / [: \4 m' ]4 P! r( q8 ^: m
  88. ;;;;;;;;;;;;;;;;;;;: E! A# a0 z( ~- \
  89. ; Quick Reference ;" h* j% p- c5 }. D, ~
  90. ;;;;;;;;;;;;;;;;;;;( |* z: o0 n  D8 r, U9 v* d
  91. ; The following are all the settings which are different in either the production
      M+ q" ]( z$ V' a: r. T
  92. ; or development versions of the INIs with respect to PHP's default behavior.; b3 S- Y! T& z% i
  93. ; Please see the actual settings later in the document for more details as to why
    8 G4 s, j8 f9 w$ r# ]1 L$ x
  94. ; we recommend these changes in PHP's behavior.
    " R7 n- `9 w/ `7 `' Q
  95. ' ]2 ~8 Z7 T6 q; d
  96. ; display_errors
    9 H6 ]! P9 W/ q% ]& O1 L
  97. ;   Default Value: On
    - I, Z) ?# b( [! p/ J
  98. ;   Development Value: On
    8 \: L1 m+ t% b
  99. ;   Production Value: Off
    + ~: O( h, h& X" f2 g5 m
  100. 6 |2 ^% }$ w* g: e7 V4 ]5 d% J
  101. ; display_startup_errors
    . i) M6 C3 ^3 o! {
  102. ;   Default Value: Off
    ( j& v4 Q+ H, N9 Q$ ?; `( a
  103. ;   Development Value: On
    7 S5 Z/ E; {$ ^
  104. ;   Production Value: Off3 l2 P8 K0 G  m& n9 v* z1 R
  105. ' Q- Y5 G4 u% F( s! o6 d
  106. ; error_reporting
    1 v. e* C* A* Z& y, }+ P( M
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ; s$ e5 P' L8 B+ W* ^. n
  108. ;   Development Value: E_ALL. Y% n% z; w% Q  ~3 [/ g4 D
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT% O% ~8 [% `$ f& K
  110. ! s& M5 O! E/ R) I" N1 l5 V2 x
  111. ; html_errors0 M, ]1 }+ O+ k3 m8 b
  112. ;   Default Value: On! F9 U$ Y( b9 m
  113. ;   Development Value: On
    # W% v9 l/ w# l
  114. ;   Production value: On
    " r, h" a5 [2 @$ P# _0 ^' L  G
  115. 3 i8 {6 h1 G4 X8 P( O) |( w1 A
  116. ; log_errors  j* m7 l! W* [8 M6 U
  117. ;   Default Value: Off
    1 p% e( y; z4 d6 _7 C9 E2 [
  118. ;   Development Value: On, F5 f7 A3 d& s1 {5 v/ J  L' A
  119. ;   Production Value: On% U# U2 m+ }3 C2 X) [* B7 ~+ Z$ B
  120. + V' z) l: W9 a3 q: y: [
  121. ; max_input_time( F& v* q9 f' O9 N0 x
  122. ;   Default Value: -1 (Unlimited)6 [; t9 T0 H  V. w" v! C. U3 ^+ N$ g
  123. ;   Development Value: 60 (60 seconds)
    , S+ P1 {6 \) ?5 u0 W
  124. ;   Production Value: 60 (60 seconds)
    / R8 |4 U: s  x

  125. ( b/ G3 [# t) ~6 s5 x$ ]8 H) I
  126. ; output_buffering4 H% H& H  m0 G
  127. ;   Default Value: Off
    . I' l' [- T$ G4 ^9 e6 V
  128. ;   Development Value: 4096- }) y5 U6 }1 O) n' m
  129. ;   Production Value: 40962 `0 i# J. F- S( L* G
  130. + C  P4 a- m2 Z& k& ?6 l: A
  131. ; register_argc_argv2 Z6 r" i) d. E8 X' t  z# S
  132. ;   Default Value: On8 t' n5 K! V& J. d3 a% M! i* D
  133. ;   Development Value: Off
    7 p; C. v% j& D- u) y
  134. ;   Production Value: Off
    - V. h7 B+ n3 O! t/ H* v0 L
  135. - r" \1 j6 [2 d1 R
  136. ; request_order
    / m: X4 L: l9 U* O  q' M
  137. ;   Default Value: None
    0 O/ w1 {/ i5 J' G
  138. ;   Development Value: "GP"
    6 V* `6 N. U! M& B' C, C
  139. ;   Production Value: "GP"
    9 J8 }4 b2 O! Q9 r; n
  140. + j5 r8 g% V' T
  141. ; session.gc_divisor- d& O  z! P' p
  142. ;   Default Value: 100
    : O; [; H: G/ V& w; C6 d8 d
  143. ;   Development Value: 1000/ W  H& Q  u$ F" c. x/ V; r3 P: L
  144. ;   Production Value: 1000
    ) Y8 ]. |% I% N. H
  145. 4 Z7 X1 q" b- i' ~  D) t
  146. ; session.hash_bits_per_character
    % ?, G2 B* h% o- K! N
  147. ;   Default Value: 4
    4 K* ]1 i! O/ H, L4 c( X. }. }& o( C
  148. ;   Development Value: 5
    $ [/ C5 O  e. @3 m
  149. ;   Production Value: 5
    9 ^5 g: F! ^# A! h
  150. : j5 g& k' K5 E* }6 f# b1 w$ R. s  e5 a
  151. ; short_open_tag
    ( w# Q0 S6 {( R2 W5 {. A
  152. ;   Default Value: On; L* u6 a6 \6 ^8 `6 w( m
  153. ;   Development Value: Off
    4 C: O' M! @. k# O
  154. ;   Production Value: Off
    ) ]$ C, `9 l3 ^* [1 V. c% N

  155. : R+ m# o2 l' ]/ Y/ H
  156. ; track_errors4 J) @) t+ k- V9 R) r; }
  157. ;   Default Value: Off% E* q# g/ f/ V4 H( C- V% x$ d
  158. ;   Development Value: On, w+ ^/ `# X3 z( p, p& C
  159. ;   Production Value: Off
    4 _& t. ?. `6 J% H9 O4 r

  160. . g5 X1 M9 R9 u3 o& F& ]
  161. ; url_rewriter.tags
    : ]( k- e5 a7 Y2 R" y' n! D
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="% `4 S' q9 E; Y) o
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! A2 y, `9 K/ i$ @! i; l2 E+ c
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"7 |! {7 a) x5 p! N' _9 K# z
  165.   S% F( q5 `: Y8 u0 j' A% f, N
  166. ; variables_order7 f$ c$ ]5 L: M
  167. ;   Default Value: "EGPCS"
    ; g8 X" |# B- Y! U
  168. ;   Development Value: "GPCS"' y% v* V% u# a& z' W4 b7 o+ N; l! F
  169. ;   Production Value: "GPCS"
    4 O: T2 ~) y0 b$ Y

  170. $ t$ ^. A6 y" T, u* k
  171. ;;;;;;;;;;;;;;;;;;;;5 z4 U. m" w- j* J3 I/ s
  172. ; php.ini Options  ;* w* U1 f6 N; B% r- l& B
  173. ;;;;;;;;;;;;;;;;;;;;
    $ k- U# y5 p/ e. s( ]  I
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini") U! d6 Y* q- r# T% f( G* {
  175. ;user_ini.filename = ".user.ini"
    , v5 R1 C* Q: d7 H
  176. 7 c4 H# `6 v( Y" a
  177. ; To disable this feature set this option to empty value9 W6 V3 h3 P7 m% ^
  178. ;user_ini.filename =& V, A0 e6 `* g: h% c& q
  179. - x# ]- p  e4 d4 z$ M: N8 J
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ) U& J' r  C% |4 g  {
  181. ;user_ini.cache_ttl = 300! t0 A2 L) ]. I7 Y/ h

  182. 9 Z5 f# `2 ^8 F' A1 s
  183. ;;;;;;;;;;;;;;;;;;;;. X/ f, f4 W# _* B! \
  184. ; Language Options ;
    & K$ R$ J, n& g- y+ k  N; {
  185. ;;;;;;;;;;;;;;;;;;;;
    . J0 A& S; Y8 V4 ]1 B

  186. * M- Q! m6 U& s* G/ M
  187. ; Enable the PHP scripting language engine under Apache.! I1 W3 _  a9 |4 ~3 p
  188. ; http://php.net/engine7 G5 S, D, ~) Y, J6 F- {
  189. engine = On
    0 f7 R& N% J3 b: t  q; H

  190. 6 Y* i! h/ V" W" j  j
  191. ; This directive determines whether or not PHP will recognize code between
    + R7 j. Z. [, o$ G# L+ G( B
  192. ; <? and ?> tags as PHP source which should be processed as such. It is; \5 M  C5 A; ^3 e3 M
  193. ; generally recommended that <?php and ?> should be used and that this feature: ^/ ?- K+ Y7 H- z
  194. ; should be disabled, as enabling it may result in issues when generating XML
    : W8 P1 M7 c1 Y. H$ F  n
  195. ; documents, however this remains supported for backward compatibility reasons.  {' Q: k# s' {- @
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    - n) R6 e- C9 k# [" v1 T3 ^% w
  197. ; used regardless of this directive.
    6 S- H5 w  y5 V+ s( ]; L. x
  198. ; Default Value: On  O4 C" R: o" @* j) A7 L
  199. ; Development Value: Off4 M. A! j- r# N0 s, ^5 R3 b
  200. ; Production Value: Off
    1 m4 n/ Z+ C( h& d  y( r
  201. ; http://php.net/short-open-tag4 j4 S, _0 k3 A9 G: q
  202. short_open_tag = On& Q( o8 O2 U; a3 m" j2 y+ V

  203. . S2 Q* p. J0 K, E% [- p2 |  F
  204. ; The number of significant digits displayed in floating point numbers.
    6 B& R" K4 s0 A% a* U
  205. ; http://php.net/precision# T4 v9 h) R1 n  L; b
  206. precision = 14
    : t7 L" t' I( t* h
  207. : U$ X% M. c7 u2 }4 N( `
  208. ; Output buffering is a mechanism for controlling how much output data2 ]6 M- E0 }/ L
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that+ O) `. I' N5 e, w
  210. ; data to the client. If your application's output exceeds this setting, PHP
    " y6 k4 X! V* i- @
  211. ; will send that data in chunks of roughly the size you specify.
    + O% P3 t* N  Q+ s- c& @, e/ _
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    , j$ ]4 j. p. E: j
  213. ; interesting side-effects depending on your application and web server." H$ v8 d, R8 k, o& y* u# W
  214. ; You may be able to send headers and cookies after you've already sent output
    # |' X2 Z  M3 B8 K2 H
  215. ; through print or echo. You also may see performance benefits if your server is+ g) p( I3 u. ?
  216. ; emitting less packets due to buffered output versus PHP streaming the output% {  c/ E0 N( \
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    3 b3 j6 F1 ^' I$ W8 h7 z
  218. ; reasons.& s9 c8 a  G9 _2 _+ H: T
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    6 @, P" k0 L, N" T; S  i- U
  220. ;   functions.; I. S7 S  B$ g0 X9 g& r  T
  221. ; Possible Values:
    * d  {. F. }8 D* a* B5 {5 R& D! c
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    $ F8 t/ c4 R& @
  223. ;   Off = Disabled
    ( W+ f- y6 f8 k0 X
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    : I3 t4 J3 u$ \' L% z4 S% j
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    9 J2 |  B$ z: U/ g: J* }
  226. ; Default Value: Off
    : N8 y" b. U4 q9 `0 n; E* ^) X5 H
  227. ; Development Value: 4096
    4 `4 E( Q; {: Z4 \% k) S/ B+ @7 M) f
  228. ; Production Value: 4096
    ' ], e6 ]3 \; t6 b
  229. ; http://php.net/output-buffering' h1 t5 ^4 R8 q/ D. y/ f9 v9 c( _
  230. output_buffering = 4096
    % [  j8 g  v6 G& U

  231. , m1 l3 I% a9 G4 h
  232. ; You can redirect all of the output of your scripts to a function.  For
    / d( l% X/ a* c) L# u! e. a" D5 F
  233. ; example, if you set output_handler to "mb_output_handler", character
    ; `. T: E: w0 k5 s
  234. ; encoding will be transparently converted to the specified encoding.+ @7 M  \$ w0 q5 a
  235. ; Setting any output handler automatically turns on output buffering.
    . \+ z) C, u; m! B9 H# [
  236. ; Note: People who wrote portable scripts should not depend on this ini' W/ h6 V+ `# [3 t# K1 x) m
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
      Q) ^5 b/ N, o7 o& G+ Y! e0 |" D8 X
  238. ;   Using this ini directive may cause problems unless you know what script
    & e$ f6 {# ?: _! H3 _
  239. ;   is doing.
    4 H6 I" B( ?$ U/ O- M& R( e$ o+ X
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ) M6 x* ?9 H# }$ e% F- \# y4 R
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".# M5 z& r3 J1 |  @/ ^# |
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    " s6 n& m" P- A" X! K$ Y
  243. ;   Instead you must use zlib.output_handler.
    & N" n' Q$ _3 H. y7 E
  244. ; http://php.net/output-handler
    1 M7 z0 _% y7 B; @3 U) c
  245. ;output_handler =0 q* \' J1 }1 W  P

  246. + M/ n) [! j1 o
  247. ; Transparent output compression using the zlib library' ~' A2 Q8 D% s, Q: n5 q5 B
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    - z6 u& N$ ?7 b3 z0 X" [  ]
  249. ; to be used for compression (default is 4KB)) d9 Q1 Z+ R  [7 W
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    1 D6 {8 ?. X  Y4 [9 U$ L6 X
  251. ;   outputs chunks that are few hundreds bytes each as a result of/ L5 D+ |; w- C, o
  252. ;   compression. If you prefer a larger chunk size for better
    8 T( }! M2 p# P/ `# v
  253. ;   performance, enable output_buffering in addition.
    2 P6 M/ f* x2 ~( {. }
  254. ; Note: You need to use zlib.output_handler instead of the standard% M5 g# m" n! ~9 t3 q
  255. ;   output_handler, or otherwise the output will be corrupted.& G! M9 l0 i' Q3 P: r& k$ d
  256. ; http://php.net/zlib.output-compression% X9 M( L2 X8 v; u( V1 P8 p* |
  257. zlib.output_compression = Off9 R/ c' ~, k/ n0 ~

  258. 1 r* C! m7 V/ Z6 T; d* x
  259. ; http://php.net/zlib.output-compression-level% r# h$ S1 H' d) N
  260. ;zlib.output_compression_level = -1
    # b8 W1 ]8 l  C8 ~- _

  261. , t7 A" D4 G$ E$ T7 Z
  262. ; You cannot specify additional output handlers if zlib.output_compression" C; n" X( j/ L
  263. ; is activated here. This setting does the same as output_handler but in* t, E- f+ m8 t  O' Y3 I+ y
  264. ; a different order.
    9 O' U" E2 t9 N+ r' i
  265. ; http://php.net/zlib.output-handler
      A# x* c9 Z; P
  266. ;zlib.output_handler =
    4 K/ l  @$ ]0 f4 r$ Q

  267. # [# e' r4 @) J' {" ?2 }
  268. ; Implicit flush tells PHP to tell the output layer to flush itself( U: n" z2 L: ^* V" B8 y, W
  269. ; automatically after every output block.  This is equivalent to calling the7 n& @) J# a$ C4 o
  270. ; PHP function flush() after each and every call to print() or echo() and each
    + m6 j' F: @6 c! ^0 @
  271. ; and every HTML block.  Turning this option on has serious performance( @: H; ]3 c+ p( {$ k2 W0 Y
  272. ; implications and is generally recommended for debugging purposes only.
    . {/ M$ z8 Y9 Q+ T/ |, q
  273. ; http://php.net/implicit-flush% [) e5 I" \: w  z1 e% x
  274. ; Note: This directive is hardcoded to On for the CLI SAPI7 W+ k1 x7 u7 u' b+ C+ d8 {3 N$ y
  275. implicit_flush = Off
    0 y) ?& s  ^7 s' t$ {% @

  276. , q% w: P7 c5 P9 {* _
  277. ; The unserialize callback function will be called (with the undefined class'
      w6 `3 u5 j- Q4 G, u0 d
  278. ; name as parameter), if the unserializer finds an undefined class
    + @, ~3 l  G5 h: F9 k2 g( y
  279. ; which should be instantiated. A warning appears if the specified function is
    + z  {, R& c: n
  280. ; not defined, or if the function doesn't include/implement the missing class.
    2 D1 Y+ \* l$ ?) m5 ]' Y# Y, S) q1 k
  281. ; So only set this entry, if you really want to implement such a
    # |/ |- ]9 W% X7 p5 y, t
  282. ; callback-function.
    7 }% P6 P8 P# @' `* P/ c/ N7 D4 B% c
  283. unserialize_callback_func =* o$ y" [5 g9 ~$ f+ m/ v

  284. 4 d- Q7 X) J. v- z) [& I
  285. ; When floats & doubles are serialized store serialize_precision significant- b7 E! J9 v- j  w
  286. ; digits after the floating point. The default value ensures that when floats8 V" F* R; y2 B; t
  287. ; are decoded with unserialize, the data will remain the same.  I4 X* o: ^" G+ W' H6 t# i# U
  288. serialize_precision = 17# T, p! y9 V( B# f3 {* k* U

  289. ) P3 f  K+ J+ O
  290. ; open_basedir, if set, limits all file operations to the defined directory, }" z# g7 i9 |' J' T4 x
  291. ; and below.  This directive makes most sense if used in a per-directory
    - l+ e1 A) r; {
  292. ; or per-virtualhost web server configuration file.4 [9 o2 u8 t/ x& k3 n: p
  293. ; http://php.net/open-basedir5 V1 I, x6 H: `
  294. ;open_basedir =* S$ k! [0 O* A; R; L
  295. # Q5 D6 |* u* r+ V* D
  296. ; This directive allows you to disable certain functions for security reasons.
    - [* o2 p5 t1 h' W; c+ ]
  297. ; It receives a comma-delimited list of function names.
    ! K% L) B+ y. J& B! C. c; c$ h* ~
  298. ; http://php.net/disable-functions
    4 x3 }! Q1 r2 f4 G) Z
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru. {! S2 E5 [' ]

  300. 0 ]* [/ Z9 L( i
  301. ; This directive allows you to disable certain classes for security reasons.
    $ H: s5 n2 k- t
  302. ; It receives a comma-delimited list of class names.
    " }& W' B5 I2 Y* Z0 p! R* W
  303. ; http://php.net/disable-classes( L( I3 U) ^! X& @
  304. disable_classes =% Y: B8 i1 y/ b4 g

  305. / P0 [' k4 w3 F3 C7 |: B% g. c
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in6 v# K: Y* j+ Q
  307. ; <span style="color: ???????"> would work.! @, e+ @' t+ a& q$ d
  308. ; http://php.net/syntax-highlighting
    % m2 z" H! L/ ]+ c* X$ G. q( d( K4 [7 }
  309. ;highlight.string  = #DD0000
    8 r' S, w5 o  |- J: N
  310. ;highlight.comment = #FF9900
    ! f+ X* A& L: t" l* r6 `/ l3 F
  311. ;highlight.keyword = #0077003 y0 o9 n- w  o  x
  312. ;highlight.default = #0000BB
    $ a6 ^3 E4 U& U( G
  313. ;highlight.html    = #000000# X9 }4 d* l0 l! h

  314. 5 D; F. \3 j  y7 Y. _  m9 h
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    8 l, p6 U" {1 _: K& c" ?1 b
  316. ; the request. Consider enabling it if executing long requests, which may end up
    - H9 l+ L# c* H- L6 d  b$ t' Y" |
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    3 k6 d3 N' \$ d: S; \- I
  318. ; is to disable this feature.
    6 {6 E8 X" ^. m- d/ I3 o
  319. ; http://php.net/ignore-user-abort0 z2 d7 u5 L, x. l" Q& B" v
  320. ;ignore_user_abort = On
    ! k8 j/ \( y3 s5 O+ w# t/ s

  321. - w) u. q, ]% `6 G, `
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    ; m6 H+ k' y; K- K2 G0 s2 K0 }0 f
  323. ; be increased on systems where PHP opens many files to reflect the quantity of0 l' p0 z6 @# P/ T% ]6 I4 Y
  324. ; the file operations performed.
    % V+ R1 P# D% a
  325. ; http://php.net/realpath-cache-size7 p0 P' m0 o3 s1 x' q
  326. ;realpath_cache_size = 4096k1 E1 N* k5 |. G3 a; q  y( V- r$ W

  327. $ p6 P7 F; i$ x1 d9 H. \
  328. ; Duration of time, in seconds for which to cache realpath information for a given3 ?) B' M% b* R8 H& E# h. |0 m
  329. ; file or directory. For systems with rarely changing files, consider increasing this  h: C% d5 ^( H+ |4 _# B
  330. ; value.
    , l1 K' E; k9 y1 m
  331. ; http://php.net/realpath-cache-ttl) _( h9 N  p# Y3 f/ Z
  332. ;realpath_cache_ttl = 120
    : _: o/ S' v2 t

  333. 9 C. k! [  o$ V* z$ U7 U/ g
  334. ; Enables or disables the circular reference collector.; }/ J& y+ ]$ g9 [- E
  335. ; http://php.net/zend.enable-gc" ^3 w+ O! u+ ?; S0 ?) y
  336. zend.enable_gc = On9 D: l  s. M) R
  337. ( K# C* y1 }3 b; u$ o4 R
  338. ; If enabled, scripts may be written in encodings that are incompatible with* T1 s$ H# Z( n
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such/ `0 X* [% ?9 R7 n: `  T
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    " Z5 u& V+ \8 N9 E; v9 f
  341. ; Default: Off3 K$ L- P$ |! N* n
  342. ;zend.multibyte = Off
    ' t$ g1 r7 [$ z2 p' S

  343. # i/ p6 Q5 a: J& G2 N* X# I
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    8 O, z' [& t! D: G; E& ?, Z% X
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.: t9 }8 `$ u) A! e( P& m! v
  346. ; Only affects if zend.multibyte is set." Z/ A8 U' k! @
  347. ; Default: ""& C# t- B5 \3 I7 ^  o& J' ?
  348. ;zend.script_encoding =7 N$ ^0 y# x9 ?) h; I2 b
  349.   U% Y% t3 T5 D
  350. ;;;;;;;;;;;;;;;;;
    6 X% n+ V3 h9 _1 R& Z4 s
  351. ; Miscellaneous ;: T& V4 m  i& |' \4 L
  352. ;;;;;;;;;;;;;;;;;
    6 C- q9 Q3 q0 P* u$ q* P7 l7 G$ Q

  353. % a) d/ O0 \2 Q' z' J) C
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    & @" Q% z/ T. }* D  B6 H. ?6 p
  355. ; (e.g. by adding its signature to the Web server header).  It is no security' o! E% S4 |* \4 u; O
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    " a+ `9 k+ _0 Y% M# n  ~! ~
  357. ; on your server or not.5 ~, a! T! l4 b- F2 U+ ^: F* I/ [0 Y
  358. ; http://php.net/expose-php
    ) z5 t' A  w# ^5 `) F  y
  359. expose_php = On
    : ]8 n/ {$ m0 O% Q- ]
  360. - k" H' a& M: g& [, y
  361. ;;;;;;;;;;;;;;;;;;;, i3 }: k0 A& K- B8 w. N) \: |
  362. ; Resource Limits ;
    / z- e, s) h: [4 Y$ c; q% b) r
  363. ;;;;;;;;;;;;;;;;;;;
    7 {, v4 z+ r. I9 e& ]% K% R1 \3 [% m

  364. * j* w* z% y2 u7 ~
  365. ; Maximum execution time of each script, in seconds
    , h* C1 ?2 N8 \9 B) j" i# B6 K& Y& N
  366. ; http://php.net/max-execution-time
    % W! ?7 v/ T5 G0 T
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ( E) E% {# v: Y7 j
  368. max_execution_time = 3003 ~. ?' C& Z$ ?1 M
  369. 4 _+ v. E8 L/ H. R# t8 K2 I) x
  370. ; Maximum amount of time each script may spend parsing request data. It's a good' C1 H+ ]8 Z; U7 c
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    % A  W! A0 l+ r) j+ ~6 ^
  372. ; long running scripts.' [0 U7 O" F/ O1 j5 E
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    3 m; Y% R* w! P8 n$ p  m
  374. ; Default Value: -1 (Unlimited)
    , F6 r6 {9 f# @' f. r8 {# x4 K
  375. ; Development Value: 60 (60 seconds)
    & W: m7 q2 {- k4 D: K* u
  376. ; Production Value: 60 (60 seconds)0 z4 J& G! a3 f" ~
  377. ; http://php.net/max-input-time
    2 o! o) s  [0 F% M1 b
  378. max_input_time = 60
    0 S8 G0 o7 w1 y5 d) C

  379. 2 T5 Z" ]4 `* h; }' ]
  380. ; Maximum input variable nesting level
    ) \  Z5 Q8 n8 j  @" F
  381. ; http://php.net/max-input-nesting-level
    / @2 l  [- ^! @
  382. ;max_input_nesting_level = 64
    5 h3 N1 V6 \7 F, H0 _6 W  J0 D0 j
  383. 1 ]8 y1 y2 t! L, R
  384. ; How many GET/POST/COOKIE input variables may be accepted
    7 O; ^; k9 B5 n& t3 W) @
  385. ; max_input_vars = 1000
    # ?/ `. _# P' T7 l* C  Z9 c
  386. : j1 Q& |. c( j4 J$ c5 ^
  387. ; Maximum amount of memory a script may consume (128MB)
      g% y2 A5 G: M# I# b0 A
  388. ; http://php.net/memory-limit
    * L3 w# C0 \; @& f3 p3 ?8 x
  389. memory_limit = 128M
    6 e  Y5 F0 S  {; `7 O! c( f3 j
  390. $ J/ y1 B4 P! K$ ?9 H" V$ y
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    - Z3 X+ n' t: h
  392. ; Error handling and logging ;
    , D8 s. N2 g3 v1 w$ k% @# H
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;# X# I) E/ f: L9 H8 w) f( _
  394.   N9 x% t0 C6 W  x1 _
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    - P- ^' M- r, J! A
  396. ; it to take action for. The recommended way of setting values for this5 z0 j8 |2 s# Z; W
  397. ; directive is through the use of the error level constants and bitwise
    8 ~2 e- x# O8 `! g& r3 d
  398. ; operators. The error level constants are below here for convenience as well as
    : X2 X( o3 Q7 a7 m* \4 F" |
  399. ; some common settings and their meanings.; |; z7 y' O. R  J: ^! _1 t' {) D
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    % X4 K' r( P% `$ E0 D% A
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    $ ~9 z% s( \! C' _
  402. ; recommended coding standards in PHP. For performance reasons, this is the9 X* W& \1 _+ Q+ x- E0 M4 V4 w
  403. ; recommend error reporting setting. Your production server shouldn't be wasting1 ^# H- a3 v4 w; ]8 Q! Y
  404. ; resources complaining about best practices and coding standards. That's what
    - V) [0 S8 k6 O( K2 Y9 ^8 J# c
  405. ; development servers and development settings are for.! Z& _& C# f; H% ~
  406. ; Note: The php.ini-development file has this setting as E_ALL. This0 V9 |) w- [7 z$ B5 }7 g
  407. ; means it pretty much reports everything which is exactly what you want during- l0 \6 {7 ]+ A$ c8 s+ i+ t
  408. ; development and early testing.1 q: p0 ?$ ~  R/ d  C1 n
  409. ;
      w/ [/ s: J: n  h( l- X
  410. ; Error Level Constants:: }1 }4 I! N# ~9 l+ M9 g
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    6 k( O! L6 ^: }
  412. ; E_ERROR           - fatal run-time errors1 g& t  l3 d2 w! z
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    . R" Z1 q, R8 |# [% R4 u- r, R
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    8 s$ n  h" p1 O2 h
  415. ; E_PARSE           - compile-time parse errors8 H7 Z9 f# B  I5 h' G
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    * Q' V- U$ o: j1 R! u1 z1 Y; x% |
  417. ;                     from a bug in your code, but it's possible that it was
    ( l8 h3 }# U3 P$ B
  418. ;                     intentional (e.g., using an uninitialized variable and
    - y% j7 C; R7 _
  419. ;                     relying on the fact it is automatically initialized to an% h7 T7 J) G* A& H* Z- G
  420. ;                     empty string). |* D( p. ^0 j# g5 w) q" ^
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes* k# @) y& ]! o3 H) D+ w
  422. ;                     to your code which will ensure the best interoperability
    5 a% p2 r: {$ w; x6 i2 N1 a
  423. ;                     and forward compatibility of your code* `% _6 l9 U! O: A6 }
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup+ `9 o) u' ~. L' `4 G  ]% ?
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    " Y. j7 g; h1 E
  426. ;                     initial startup
      z' S. V8 b" V
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    * m1 w& d/ }  F5 t9 ^
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ( }6 W' ?2 }$ p9 `
  429. ; E_USER_ERROR      - user-generated error message4 U  k9 G. v  d5 \' k: q% U3 Z
  430. ; E_USER_WARNING    - user-generated warning message" B5 {! h9 T! r/ u0 p+ e9 v. t$ J3 I
  431. ; E_USER_NOTICE     - user-generated notice message
    * |, s! t2 i' T
  432. ; E_DEPRECATED      - warn about code that will not work in future versions; M& T: M2 q; V
  433. ;                     of PHP
    , _  Y6 n  @3 q% S2 V
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    / N2 \$ ?5 U# h# O4 B1 R$ \7 {
  435. ;: D( l# u: M3 _  [% n& Q+ S) t
  436. ; Common Values:
    0 S" g" Y" F4 {1 D
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)) f3 g2 [# ^. W: f
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ' r( n+ G  m2 i
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)4 a5 T! N- p! I* z
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    $ `  R$ e* T" ?+ W+ `
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED! Y9 [0 k- A: p) ~
  442. ; Development Value: E_ALL; W/ ]$ I1 d5 B+ a% W+ j4 u
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    3 H0 e6 @# @3 I# `! |
  444. ; http://php.net/error-reporting
    2 d4 `7 B1 L, u7 i3 {* F& @
  445. error_reporting = E_ALL & ~E_NOTICE
    " j4 H, o( Y! g

  446. % G  z* L% e0 D3 u
  447. ; This directive controls whether or not and where PHP will output errors,4 o; G: i1 q% h; f5 \3 q" _
  448. ; notices and warnings too. Error output is very useful during development, but9 o* e1 d7 u9 z  p) T! R0 T
  449. ; it could be very dangerous in production environments. Depending on the code8 C4 U: e; s% ^! i  X2 B1 d' B
  450. ; which is triggering the error, sensitive information could potentially leak8 a: _5 a+ B/ X
  451. ; out of your application such as database usernames and passwords or worse.7 F0 ^7 h) |, k3 {# V  b9 m8 W  u7 S
  452. ; For production environments, we recommend logging errors rather than# l0 D! a5 C5 J+ o
  453. ; sending them to STDOUT.1 W9 m  d! ]' y  a4 C& b6 S
  454. ; Possible Values:  ]7 {* S3 d+ g
  455. ;   Off = Do not display any errors
    & o) X9 U* b  P9 U- _
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)" \2 O6 M0 L% k
  457. ;   On or stdout = Display errors to STDOUT
    ! O2 ]( V+ C5 a
  458. ; Default Value: On
    & o8 S6 i9 d% s# K8 x
  459. ; Development Value: On! p% x- g! C& G- M; F$ K
  460. ; Production Value: Off
      a: G( b: M# y% ]+ y4 d& k8 ^9 k1 n
  461. ; http://php.net/display-errors- ?% x4 a4 L7 |% x' W" I
  462. display_errors = On8 f! K! I2 A( }# X7 a. D9 r6 U! h

  463. ; \9 M7 O& }* Z' [
  464. ; The display of errors which occur during PHP's startup sequence are handled
    7 F6 ~' K; P) B7 l$ Y) q( Q
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    % E- f" c6 f5 S0 M
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    + T5 h) @0 H; C! h
  467. ; debugging configuration problems. We strongly recommend you9 c( l, L' ?$ ]4 Y+ L8 t# |
  468. ; set this to 'off' for production servers.3 E3 s* ?- q# `& f
  469. ; Default Value: Off
    2 M7 h( l* T2 A& h7 V
  470. ; Development Value: On. w3 k+ F! B" _; w/ R3 Q; ?1 p! q% A- G
  471. ; Production Value: Off
    $ w8 [& e. t, G7 l! @/ Q- I
  472. ; http://php.net/display-startup-errors
    % S- {9 Z  P( f- @8 q
  473. display_startup_errors = Off
    8 }7 J2 r/ z  J( b9 f

  474. 5 r3 l! c5 \6 x
  475. ; Besides displaying errors, PHP can also log errors to locations such as a) v1 n5 [4 a0 Q# [$ i+ U& q
  476. ; server-specific log, STDERR, or a location specified by the error_log
    5 o! N8 o1 D7 P
  477. ; directive found below. While errors should not be displayed on productions
    ! A+ M$ N% p. [7 ?1 A
  478. ; servers they should still be monitored and logging is a great way to do that./ q$ W5 C+ A( ?" D$ X7 y  t
  479. ; Default Value: Off
    ' J3 k6 i1 S7 S; a! d! @' Q
  480. ; Development Value: On
    ! g8 Y4 |+ A6 w
  481. ; Production Value: On
    8 L2 ~" x. I2 y) h
  482. ; http://php.net/log-errors' Q1 z) P$ m; `3 H
  483. log_errors = On
    1 u" a8 [* C; w- b

  484. & t% W3 Y6 P8 U0 @6 `
  485. ; Set maximum length of log_errors. In error_log information about the source is4 X, Y% A) M7 V. B) Y
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.) E" {! H# H9 {2 U9 i  x+ ^
  487. ; http://php.net/log-errors-max-len
    4 x. _3 `* x5 A* [: E4 x
  488. log_errors_max_len = 1024
    0 B) ~% Q, V2 t+ n

  489. " m* f( s6 _/ _% r  m1 O
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same' N. D$ c7 H8 X% r, v
  491. ; line unless ignore_repeated_source is set true.
    % U3 i" e# e5 L* y& A/ a$ x# O; ^
  492. ; http://php.net/ignore-repeated-errors, E+ b0 f* Q# r! G
  493. ignore_repeated_errors = Off
    ) e6 i) W3 X1 o' {+ C7 O: z/ s! b
  494. 4 @; u; Y% e% B2 x: F4 `1 O. ~6 t
  495. ; Ignore source of message when ignoring repeated messages. When this setting/ b" j! z; g. a
  496. ; is On you will not log errors with repeated messages from different files or
      x  \2 {9 e5 v: Q/ ~: B
  497. ; source lines.
    ) L2 W; J1 }$ ~# v  s
  498. ; http://php.net/ignore-repeated-source
    9 K7 k: l8 c' {5 R# b
  499. ignore_repeated_source = Off7 d9 k; m  b' L9 L( h& ^( }) d7 c

  500. # V' q" W: Y+ y. h  l2 [7 W6 l5 Z' Y( O
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    , W  Q0 Z6 \# E9 E
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    5 q8 F( `4 F  @+ W3 w6 N8 J+ K
  503. ; error reporting includes E_WARNING in the allowed list; g% J  @* |+ c2 v. ^# Y8 R
  504. ; http://php.net/report-memleaks
    8 q! K7 t8 a9 o) M- A2 H
  505. report_memleaks = On3 V) U$ e& U2 S5 b0 p; I
  506. ' b2 t# Q4 {. [; g7 P0 y' r9 @& z
  507. ; This setting is on by default.
    - y$ x$ N' g; D* R* r% R# N7 i+ E. A3 h
  508. ;report_zend_debug = 0' v. A5 _% ?) U- n  _3 Q4 I

  509. - [9 ^7 [. Z- t" Q2 D
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value) q7 a( g  p  n. x8 [5 A- Q# Y
  511. ; to On can assist in debugging and is appropriate for development servers. It should" @% ?! G# b/ [( ]: D
  512. ; however be disabled on production servers.
    ' N0 P& A7 B; @" ]; W
  513. ; Default Value: Off5 K! ~. Y4 {$ A9 O9 q" q* [$ N
  514. ; Development Value: On/ G5 n$ l4 q0 s* B! M( G" L
  515. ; Production Value: Off
    0 P/ K9 g4 j: G5 n% s) h
  516. ; http://php.net/track-errors
    8 ^) i1 A, O. H: S) c
  517. track_errors = Off
    6 h8 i5 n( E) o0 R- l
  518. 4 U0 r6 S8 e2 }' h8 \, ^
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    ) k9 n1 J& |/ o) B, d4 V+ a7 r9 m
  520. ; http://php.net/xmlrpc-errors
    " g- O7 m: J+ q0 Q" d7 @; D
  521. ;xmlrpc_errors = 0. a+ k+ j! ^! \6 B' c2 u1 Z. @/ K
  522. ) B( v- `2 d% M5 I- l9 d- q/ x2 [
  523. ; An XML-RPC faultCode
    1 g, `, k+ X+ u! D
  524. ;xmlrpc_error_number = 09 q+ v  j- D+ ]. O; f  z
  525. $ ]" B' M: @/ R! S
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    ! g: M, f! ^9 T
  527. ; error message as HTML for easier reading. This directive controls whether/ K. C* h0 K; K
  528. ; the error message is formatted as HTML or not.+ m) y7 F! c& Z% v2 H
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI: c* w& l+ q. u  l1 m( J
  530. ; Default Value: On1 ^8 p2 A8 }3 z
  531. ; Development Value: On( A. Q7 P2 A0 p9 E3 |, j
  532. ; Production value: On9 G) t" l' F! S9 R+ \- V# \' i6 x
  533. ; http://php.net/html-errors
    7 G' p9 ]+ [+ ^# W1 g8 g+ p
  534. html_errors = On
      _! f0 b0 }* B4 E. ?. h# g  U
  535. : l* U8 L# q9 r4 L1 f8 N: P
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP3 v/ w! |6 a' u* \( e
  537. ; produces clickable error messages that direct to a page describing the error" p+ g  H9 w- w" j
  538. ; or function causing the error in detail.
    * F8 z( ~' V1 \0 ]8 w4 I% W# l1 N
  539. ; You can download a copy of the PHP manual from http://php.net/docs8 v) @; K) |7 U% o& p$ s4 E
  540. ; and change docref_root to the base URL of your local copy including the
    2 W; M3 j  y( f) ]& q
  541. ; leading '/'. You must also specify the file extension being used including
    ; Q7 d7 O, G) j" K3 D4 Y/ d# \4 e
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which- ]; U& U4 J( \& b$ u" H" L
  543. ; case no links to documentation are generated.
    + }- A6 }$ `) _5 R. X3 H3 L
  544. ; Note: Never use this feature for production boxes.3 v) X! u! e3 n8 O( f& c
  545. ; http://php.net/docref-root
    1 R3 X5 \: h$ L: D" O: g
  546. ; Examples: e  h4 v6 J( a& q% A) G; v' |
  547. ;docref_root = "/phpmanual/"6 l9 E8 l. S: f8 M6 Y
  548. % U6 b, p& X5 @
  549. ; http://php.net/docref-ext
    " h) V, e$ o' D4 I* \% b* |& ?
  550. ;docref_ext = .html0 q* ?1 q* k/ n: q7 M( z" A
  551. $ P" K9 t$ H' a
  552. ; String to output before an error message. PHP's default behavior is to leave( ~# L* Y( t, j- W3 u: x$ i
  553. ; this setting blank.
    2 }* s) v/ f2 k! ?) }6 t
  554. ; http://php.net/error-prepend-string. l3 T# L& ?2 a, R
  555. ; Example:
    6 ^9 w7 W& L: _! O' d% B9 e0 S
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    + M3 K! L. i5 J
  557. - A: w* p0 k+ a# z: q
  558. ; String to output after an error message. PHP's default behavior is to leave
    4 q' N/ U- z. K* P& V9 w) y9 I0 F9 D
  559. ; this setting blank.) z' J! B: X+ ^! ^4 m6 U0 L
  560. ; http://php.net/error-append-string
    2 e8 l5 G; x: W1 w) i& c7 Z1 v; C1 J% I
  561. ; Example:
    5 r# d: a+ [) w4 d6 q
  562. ;error_append_string = "</span>"& C0 t; o  V! q! w9 O0 G: M3 Q( ]/ _

  563. + B% I9 w$ R8 y# m2 \
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    - p& d- F: b% x# c7 g8 N! }
  565. ; empty.
    ' W& \; i) ?+ `3 O
  566. ; http://php.net/error-log0 @. L( X2 M. `% Y. s( ?5 }8 ~3 }
  567. ; Example:  S- G- H$ G! w) o, N$ Y% l, R5 [
  568. ;error_log = php_errors.log7 W( c8 @2 K! x# L  f, c
  569. ; Log errors to syslog (Event Log on Windows).8 p" L/ q) d2 o
  570. ;error_log = syslog( k7 {# V: ]$ R: F! ~6 O+ Q$ k1 w/ x6 s

  571.   x7 {9 W1 q9 E5 _- T% T& r
  572. ;windows.show_crt_warning
    * W8 [/ n4 k  d
  573. ; Default value: 0
    0 e- {" y0 C) h
  574. ; Development value: 0  a  e& ^- a: h9 }2 Q
  575. ; Production value: 0
    ' v+ t3 J. T% }' Y" o/ r2 A

  576. . l6 {# E' p; E) m; P. x
  577. ;;;;;;;;;;;;;;;;;
    ( g- u" U3 ?1 E0 A* }
  578. ; Data Handling ;; p1 D9 @' d9 `0 [* b& _0 y. P; Z
  579. ;;;;;;;;;;;;;;;;;! o+ B0 }' \- o! D. S7 Y. }
  580. 6 d- Q+ S. O# t2 D" |3 S- t
  581. ; The separator used in PHP generated URLs to separate arguments.
    , n, e- F6 h- P0 v/ \1 V) }! l1 V
  582. ; PHP's default setting is "&".1 V+ p# W  [; f# G8 ]9 f$ |/ r
  583. ; http://php.net/arg-separator.output
    ) p% m, V* b) l
  584. ; Example:
    6 P% [& A" \1 H9 W) P0 q
  585. ;arg_separator.output = "&"6 s) f+ j5 p- M/ Q1 S, f) d' M

  586. , A2 [4 x9 Q1 \5 M, W+ ]. r7 R' L
  587. ; List of separator(s) used by PHP to parse input URLs into variables.; C- K6 ^/ f8 x5 j4 G/ v1 |
  588. ; PHP's default setting is "&".9 K& D- t6 n/ h6 k/ R
  589. ; NOTE: Every character in this directive is considered as separator!+ m% v# `8 [+ E4 I% s. Q
  590. ; http://php.net/arg-separator.input
    9 B" |2 F5 c9 I3 Q
  591. ; Example:/ e' a  \) J7 H# u
  592. ;arg_separator.input = ";&"
    " i% l+ u; s; J$ U3 R

  593. 0 H" x+ K$ h, u
  594. ; This directive determines which super global arrays are registered when PHP" U+ B, l5 U# K2 ]; P9 x/ s
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super+ n( t9 ]' q! w' @$ @4 V6 ?' ?' z
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    - ?! [+ @0 d- d; H5 n. i7 J' _
  597. ; paid for the registration of these arrays and because ENV is not as commonly* y3 o" v2 i+ G+ Y% _' E
  598. ; used as the others, ENV is not recommended on productions servers. You% l* `, d! v! Z0 p0 l, w
  599. ; can still get access to the environment variables through getenv() should you
    1 z4 J6 }5 o9 L
  600. ; need to.% d4 G0 j. H2 X
  601. ; Default Value: "EGPCS"3 C- h4 |- M4 ?  `
  602. ; Development Value: "GPCS"
    1 M% k' [' ]1 q3 Q' [$ k+ X
  603. ; Production Value: "GPCS";! d8 H* s, z  j7 ?8 I2 a4 T
  604. ; http://php.net/variables-order! f. t5 e9 C* Z- ^, N3 E$ |% v
  605. variables_order = "GPCS"3 G5 X( Q% M  }; H" D8 f" }2 f

  606. 5 K1 H1 \3 _- M- i
  607. ; This directive determines which super global data (G,P & C) should be
    4 f3 ]  X4 K5 G* [& N) `) R' f
  608. ; registered into the super global array REQUEST. If so, it also determines
    0 j8 Y/ D& g+ j3 B
  609. ; the order in which that data is registered. The values for this directive/ Z1 P6 u5 A: Z7 N9 k+ U0 L
  610. ; are specified in the same manner as the variables_order directive,6 b1 h$ j7 A& P6 J  x+ u
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    6 O, P3 t  |& @# i* B
  612. ; in the variables_order directive. It does not mean it will leave the super& {( ^4 g/ W* V$ a1 l# L/ z# Z
  613. ; globals array REQUEST empty.
    : S+ i" q0 _: y$ i# T. k: W2 r
  614. ; Default Value: None
    1 Y% n6 q* K) q, ?+ b* a/ ^
  615. ; Development Value: "GP") m* [1 @+ v: q$ g2 R, m
  616. ; Production Value: "GP"
    ; s7 x4 u9 _+ X% [$ T
  617. ; http://php.net/request-order
    % N5 l3 _. O; N  b/ _2 u
  618. request_order = "GP"
    & f$ J+ _* Q9 @
  619. ( f$ L& Q" j) `8 \: ]0 q
  620. ; This directive determines whether PHP registers $argv & $argc each time it1 Q0 ?1 C2 q6 E4 h( D! t
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script# h; c0 J$ E4 s3 T
  622. ; is invoked. $argc contains an integer representing the number of arguments5 ?2 \9 `. i7 N+ H  ^
  623. ; that were passed when the script was invoked. These arrays are extremely5 R" A8 L& I+ Y0 P( Y5 F) v
  624. ; useful when running scripts from the command line. When this directive is0 R. ^  n* ~/ L  r
  625. ; enabled, registering these variables consumes CPU cycles and memory each time/ }6 Z6 Q% |& k, B+ R! T
  626. ; a script is executed. For performance reasons, this feature should be disabled
    ' U1 O+ O' V/ g3 v5 b. |# J
  627. ; on production servers.
    + u+ c# G: }' J1 G: S9 I3 A
  628. ; Note: This directive is hardcoded to On for the CLI SAPI7 u4 R; q2 F" D/ [
  629. ; Default Value: On
    " x6 V+ Q- X* @+ M; b8 c
  630. ; Development Value: Off
    # ~8 n/ ]6 {0 e1 q
  631. ; Production Value: Off
    ' b! g5 i9 j+ a" g; [7 H6 ~
  632. ; http://php.net/register-argc-argv
    : u+ \  ^0 s0 I8 O( i# a) @
  633. register_argc_argv = Off- i: u2 x/ h# U, {; r3 _+ K1 ^
  634. 2 B3 f- W# ^5 b- x& m1 `9 I" L3 C+ x
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    5 A' j+ C8 A& K6 m
  636. ; first used (Just In Time) instead of when the script starts. If these
    . l, K/ A% j0 P, V, I  C
  637. ; variables are not used within a script, having this directive on will result
    $ C6 m" U& N: q& f8 h/ I! j* [% P# @
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    , C3 ]1 ]3 B- o* L: F2 D
  639. ; for this directive to have any affect.0 Z  c# A+ R3 t/ w
  640. ; http://php.net/auto-globals-jit
    5 f4 b' a2 Y& X8 {0 Y
  641. auto_globals_jit = On
    ' O6 `' z9 N. T8 I; _# _
  642. 9 n$ u" }/ q, e$ m* A8 \
  643. ; Whether PHP will read the POST data.  ]; ]" K* A& h5 x3 \4 u
  644. ; This option is enabled by default.
    : l* \' g- O8 ]) _2 M
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    " T5 r  m* Z& ^9 N" H- T9 L
  646. ; and $_FILES to always be empty; the only way you will be able to read the8 A/ N  K/ m" P( U8 T
  647. ; POST data will be through the php://input stream wrapper. This can be useful- ~7 }; H1 o7 d5 x5 ]( A' A
  648. ; to proxy requests or to process the POST data in a memory efficient fashion." B5 `5 F# U4 N# ?5 ^
  649. ; http://php.net/enable-post-data-reading* _( p* Z- n" Q3 x/ {2 }
  650. ;enable_post_data_reading = Off
    ) s$ c6 R0 p$ G- r, |0 r/ _* s2 x$ g
  651. 7 d1 n; a5 u6 H7 F( S* n  ^
  652. ; Maximum size of POST data that PHP will accept.
    ! I5 |* S3 P, }- }0 J: J( V+ j
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading+ l0 p- G, S1 B! L# ^: F: |
  654. ; is disabled through enable_post_data_reading.
    8 k& ?$ V3 U0 u* }) C( q
  655. ; http://php.net/post-max-size
    7 P( Q$ M" d* z; u, w/ t; j1 }; q4 ~
  656. post_max_size = 50M
    8 }# t# E( k/ m# m$ q9 ^3 q$ {6 L
  657. - l% B' c- i& M' ?
  658. ; Automatically add files before PHP document.5 \& `* W! j3 ?# d  u" b
  659. ; http://php.net/auto-prepend-file. Z0 H5 [! m2 C/ m' u; O" J! L
  660. auto_prepend_file =
    6 T3 W& Z8 l& h2 r
  661. # {- B0 V# Q. l
  662. ; Automatically add files after PHP document.6 S) u! o4 h5 Q! q. O
  663. ; http://php.net/auto-append-file
    2 M- \8 p; Q3 c9 n3 S
  664. auto_append_file =5 a# q% _& U. Y
  665. * @; c& V- a  z. p
  666. ; By default, PHP will output a media type using the Content-Type header. To
    . s- n1 C* j( n7 P8 n, S
  667. ; disable this, simply set it to be empty.
    . o8 |6 L$ X. ?& {7 `6 a8 j
  668. ;8 w1 _1 Z9 P) K
  669. ; PHP's built-in default media type is set to text/html.
    - F  U2 x6 f9 [6 e+ p
  670. ; http://php.net/default-mimetype
    5 ?6 d) T7 D7 t5 S/ C/ Y2 G
  671. default_mimetype = "text/html"
    5 s. n6 x: B% ]7 d

  672. , b, j+ J/ n. [; q, C
  673. ; PHP's default character set is set to UTF-8.# }' j1 y/ @+ Z  [. ?
  674. ; http://php.net/default-charset
      `) L" [7 L, |/ Z, {" f# k
  675. default_charset = "UTF-8"3 \4 @6 r9 q! R1 w- D2 b- T
  676.   X( ^, t; u  {; E* X& J, {
  677. ; PHP internal character encoding is set to empty.
    7 g5 j% ?, O8 R# D" E2 Z
  678. ; If empty, default_charset is used.
    - f$ h5 n3 _2 \' e) t( q/ c& y
  679. ; http://php.net/internal-encoding4 Y3 X. e" M( g- j4 Y8 k% y6 W) t
  680. ;internal_encoding =
    7 k. i  ^4 z, Y0 @% G2 S

  681. - n8 b+ m/ ^% D3 u- I. v/ Y
  682. ; PHP input character encoding is set to empty.
    2 E: }! Y+ t0 Y* r; c9 m
  683. ; If empty, default_charset is used.
    7 D3 P; |3 f0 D! y( E- n. U* L
  684. ; http://php.net/input-encoding
    % g$ d+ H' w% L" A, t
  685. ;input_encoding =) M( q0 ^- C  T0 D% \0 ]: A, v
  686. ( A. p; w9 Y4 O  J/ X2 c
  687. ; PHP output character encoding is set to empty.
    4 `7 C5 o6 y  a
  688. ; If empty, default_charset is used.
    & Q6 ^" P- A+ C* \- |& h
  689. ; See also output_buffer.+ D+ a8 `6 v; D1 g! {
  690. ; http://php.net/output-encoding" H# J/ r- E, m" S' u' R
  691. ;output_encoding =8 l/ d9 ~- N7 g8 A

  692. . P- w  E4 Q2 {) N9 v  C0 ?
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;& c- w" L9 t  I* p3 e
  694. ; Paths and Directories ;! t! a) K$ |2 ?/ r* `4 a+ b
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;3 w6 z1 b  F% t) ?- Q. E

  696. " d+ O- L2 u. B" E$ I9 T1 U
  697. ; UNIX: "/path1:/path2"
    ' _% R4 R& @6 ^# z! K
  698. ;include_path = ".:/php/includes"' B. b" I- E0 b
  699. ;6 L  P* V% c0 a) M% ?
  700. ; Windows: "\path1;\path2"
    3 m+ |8 }' U5 g1 W3 K0 u
  701. ;include_path = ".;c:\php\includes") s" k! X" E- p0 f& N4 K
  702. ;
    . t+ c3 P+ A" n  ^
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    # l" X" d! M6 @2 u) u4 P
  704. ; http://php.net/include-path
    7 h) [' P6 n$ @; H& n

  705. ' I$ V$ Y- M5 J2 Y9 }# x
  706. ; The root of the PHP pages, used only if nonempty.. o# [6 m$ }) P2 P, H
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root, W2 X& u. L5 v1 V+ y* O
  708. ; if you are running php as a CGI under any web server (other than IIS)6 a7 a5 d/ K7 D/ I. S# `6 Y
  709. ; see documentation for security issues.  The alternate is to use the
    ) g' M+ V( X! t
  710. ; cgi.force_redirect configuration below8 F. [: e  [; [$ g# q
  711. ; http://php.net/doc-root
    / t1 i( @! B& _
  712. doc_root =  }3 J0 ~, e& P
  713. ( m+ \; q; N! o* I
  714. ; The directory under which PHP opens the script using /~username used only
    4 l4 O7 E" f. t' W/ M
  715. ; if nonempty.
    " y" r! K+ O! G; `
  716. ; http://php.net/user-dir
    5 a$ z+ G& E" ^2 D/ p
  717. user_dir =: _! \# A* a! h4 A( t$ T

  718. : F. P- J3 u8 ^% K# L
  719. ; Directory in which the loadable extensions (modules) reside.; D4 Z$ ]& k7 t# @6 `
  720. ; http://php.net/extension-dir
    % i. n! E: A$ D8 G: F: \
  721. ; extension_dir = "./"
    7 T+ v7 p6 X$ y
  722. ; On windows:% V. H, @5 S0 m; H% O6 e. Z
  723. ; extension_dir = "ext"
    8 ]8 V) h3 o+ `# i7 @
  724. ( J- @8 E3 {5 q. u! D7 e
  725. ; Directory where the temporary files should be placed.7 E. W) u$ T5 X0 x6 L. k
  726. ; Defaults to the system default (see sys_get_temp_dir)
    . Y$ H& X  m2 K* P2 O- P
  727. ; sys_temp_dir = "/tmp"
    $ k. w  X) ?* _; {: L* ]& r, J' |* u: b

  728. . l. [3 m5 S  _6 x3 r
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    . N* }0 z, y! Z- }" C
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically. l8 a' I4 C$ i/ t
  731. ; disabled on them.( ?" t3 w# [9 \- v
  732. ; http://php.net/enable-dl. c$ t  n6 O8 `' x$ c. N/ I7 C
  733. enable_dl = Off) E& F3 @5 r8 R) G9 ]  M  C

  734. $ |0 R* j2 T5 U$ B: _
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ' [4 J  B' G3 Y& A4 d
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    & H/ C% R7 C8 ~( f
  737. ; turn it off here AT YOUR OWN RISK
    ' @4 s& z3 d( G7 h0 N
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**8 r1 \% h5 b6 C. ]( {
  739. ; http://php.net/cgi.force-redirect
      ~& S- T9 V* }# P( q1 Y
  740. ;cgi.force_redirect = 1% R( _' j/ Q: r3 k7 U* U
  741. 3 v* B( U+ J' K: e7 j7 t% K
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with' A* C" s- g! }& p; M6 B
  743. ; every request. PHP's default behavior is to disable this feature.
    8 X6 }% c- C8 ]
  744. ;cgi.nph = 1$ N, r3 l5 ~6 m
  745. $ @# ~# _* [, c( f8 J+ n- w' a
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape# z/ N: P  j' v4 n3 ?+ q' q
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ; ]' p1 S2 o& h# E% x* I. _
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    0 I  _) p' c6 W' X0 Y" k
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ! Y  A! n, }7 j0 G7 \) y% w
  750. ; http://php.net/cgi.redirect-status-env' M7 H" F+ K+ J8 ~- f% p$ c
  751. ;cgi.redirect_status_env =
    . D, J3 G/ F. l$ t

  752. , V. J0 I$ m8 C" H3 @& R" g
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's6 Y1 J; T3 A2 {( J
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ' v; X2 [& E) k* x6 P
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting  {2 n: {4 {5 U% D5 x% V% N- L
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting9 W1 R7 h$ x( e
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    + j' v" G) C7 G
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.0 S$ a' H$ O- t3 ~% v# n
  759. ; http://php.net/cgi.fix-pathinfo/ c0 V" {8 V& a+ J
  760. cgi.fix_pathinfo=1+ U7 h3 ~; U. j( a# H: G
  761. + }5 R7 ~1 q0 z7 P2 R: M9 Y
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    ( h7 Z* w9 c, J  n+ V: L3 ]; }& U
  763. ; of the web tree and people will not be able to circumvent .htaccess security.' q9 H& k+ ~* S7 P/ b% Y) F. A
  764. ; http://php.net/cgi.dicard-path
    ; d" T- W* M7 y  s
  765. ;cgi.discard_path=1" r9 U1 e& B  \! t  ~
  766. / U6 M- [* z7 x$ _1 q5 m  T5 ^& H
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate4 H) s; l; C+ `6 q' ]1 G9 J
  768. ; security tokens of the calling client.  This allows IIS to define the6 C( `& D+ Y$ B/ k; {0 U
  769. ; security context that the request runs under.  mod_fastcgi under Apache) \1 N& T8 Y$ Z( S" H: C: |2 ]
  770. ; does not currently support this feature (03/17/2002)
    % V3 p, V  m! `6 W
  771. ; Set to 1 if running under IIS.  Default is zero.
    : H- X) q5 c  V+ h5 C5 E; r( M$ ^
  772. ; http://php.net/fastcgi.impersonate! G$ n8 c8 L- h5 P: I$ s
  773. ;fastcgi.impersonate = 1* t# z( C) ^1 E/ d: D. @

  774. - l1 Y9 D9 l( A% l% R) G
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ) _  T, C' m& w
  776. ; this feature.
    9 E3 \% ~, o( B
  777. ;fastcgi.logging = 0
    , |. B/ |7 v  R9 b, }" [

  778. 1 s# Z& k# a; f; ?
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    : D5 Z% m2 r8 P4 H+ c7 \
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that& u' r1 _$ Y; S
  781. ; is supported by Apache. When this option is set to 1, PHP will send$ C" C% Q. c. [
  782. ; RFC2616 compliant header.3 ~+ U. R" u2 q
  783. ; Default is zero.
    ) f1 I) s' v: R$ Z1 |/ j, p6 L  \
  784. ; http://php.net/cgi.rfc2616-headers
    - J0 K2 P- B* b% D5 d# u" p# g
  785. ;cgi.rfc2616_headers = 0. V5 P9 p% l- u5 Y- S" H

  786.   G" ?3 v- N  ?
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!4 L( X' ]1 n9 l- n- A
  788. ; (shebang) at the top of the running script. This line might be needed if the
    $ c) i$ S, P0 @+ Z/ z! c
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI3 X3 U( k8 Z# ]7 K1 C" a9 y
  790. ; mode skips this line and ignores its content if this directive is turned on./ J! T! [$ e- ^& w5 F
  791. ; http://php.net/cgi.check-shebang-line
    9 }. O  K  B3 e5 [4 I
  792. ;cgi.check_shebang_line=1- x6 f- r+ s/ Q3 S
  793. 6 a) L& t( e! M/ \" ?& y& D
  794. ;;;;;;;;;;;;;;;;
    & R  M- y2 T1 E: e2 d+ r. U3 o& M5 N
  795. ; File Uploads ;0 Z4 ~; T' e6 y) @8 e9 J
  796. ;;;;;;;;;;;;;;;;" N1 B1 {, A& X6 h/ Z5 R

  797. 1 K* ?+ y) N; T- \6 j* k' F' ^# z! \
  798. ; Whether to allow HTTP file uploads.
    2 i- y4 U5 |- D9 C/ o- |
  799. ; http://php.net/file-uploads
    % I7 g0 A- Z! a; w
  800. file_uploads = On
    1 f* k  p: a1 y" e4 T

  801. ! C! A% v3 \" f  J1 F, m) _
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    2 n' P, E5 O8 U- ~# E/ m: q
  803. ; specified).
    . p& j8 o( H! ~" Z- {
  804. ; http://php.net/upload-tmp-dir
    0 a- _9 n: ]- ~
  805. ;upload_tmp_dir =! `- `+ B  s7 [+ o+ @4 G

  806. 6 C# i: m! D* K7 N+ E
  807. ; Maximum allowed size for uploaded files.
    4 [5 G4 y7 F. g* u1 P- {2 m: K
  808. ; http://php.net/upload-max-filesize; G. U3 ~! L7 Z# U# N' _
  809. upload_max_filesize = 50M
    ( P$ V/ m# K' c/ w- [: I; f# q0 [
  810. 4 f+ ]0 ^2 z8 Z
  811. ; Maximum number of files that can be uploaded via a single request3 g# j+ G: g: D3 I8 Q6 X; J
  812. max_file_uploads = 20
    , j) Q$ r4 M: U! L+ H+ T

  813. % U3 U1 w5 h% e
  814. ;;;;;;;;;;;;;;;;;;
    ; F/ P# b) V( ~; k! J% {% ~
  815. ; Fopen wrappers ;
    1 G- a7 J% s8 H4 [* a5 ?) m
  816. ;;;;;;;;;;;;;;;;;;6 s# C) R7 Y# w! q# x4 R

  817. 8 f4 J; e8 s. o. ?: T0 x, U, J
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files., f; x. M2 w6 f6 ?+ I1 E
  819. ; http://php.net/allow-url-fopen3 P9 O! f( T. A; k, o/ ?
  820. allow_url_fopen = On3 ]# R; d, T8 p7 c

  821. $ s: d+ G( T% N) U* E. `
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    * D) H( h" p+ R2 g
  823. ; http://php.net/allow-url-include
    % f5 \7 h. U0 }0 b4 ?' \+ u. K
  824. allow_url_include = Off
    / H; M( k* ^# u' {0 B

  825. . P  w2 K5 M) M0 v/ @
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
      G) M$ H! P' Z2 N1 H3 A
  827. ; for this is empty.
    ) U; }5 C7 i1 G- p- w7 V
  828. ; http://php.net/from
    7 Y7 _$ a4 P) A0 I
  829. ;from="john@doe.com"/ f3 k0 {+ L3 ^+ f& [

  830. 4 i* {$ t! x( o% ^
  831. ; Define the User-Agent string. PHP's default setting for this is empty.2 P& D, v! |! q5 V, b
  832. ; http://php.net/user-agent
    / w- R3 F" Z9 @5 Z* X5 u
  833. ;user_agent="PHP"
    ( r+ j' V) g1 x- C. [# y9 K
  834. ! V3 l" X  H9 D  Q
  835. ; Default timeout for socket based streams (seconds)7 u* I2 f, H, p1 A
  836. ; http://php.net/default-socket-timeout
    # M/ P% K# i" x/ R! a/ o' N5 k
  837. default_socket_timeout = 607 ~$ A# G( t* ~1 e$ f2 h

  838. * O0 G5 O. G: T; y  e, U
  839. ; If your scripts have to deal with files from Macintosh systems,4 }1 K- F6 ^  Y
  840. ; or you are running on a Mac and need to deal with files from
    $ [9 p: \! E$ b. Q/ l5 E, H: [4 q8 s7 G
  841. ; unix or win32 systems, setting this flag will cause PHP to
    / g* T9 c0 L# D
  842. ; automatically detect the EOL character in those files so that
    * x6 w9 @, y8 H3 b  }' _1 T
  843. ; fgets() and file() will work regardless of the source of the file.: [6 F/ h- T1 E( `
  844. ; http://php.net/auto-detect-line-endings
    : w* V7 G$ @3 E, a. @3 N% g# O1 a
  845. ;auto_detect_line_endings = Off  K9 B  m( g0 r- e: J
  846. 0 K3 o7 [2 V* m
  847. ;;;;;;;;;;;;;;;;;;;;;;
    5 N1 h, C5 g7 U+ ]( n! F* d0 @
  848. ; Dynamic Extensions ;1 L! L! g5 E" ^2 l# B) p* q, e8 E' P( p
  849. ;;;;;;;;;;;;;;;;;;;;;;+ _- ^- V6 ^" u1 q; F; \7 O2 \- J
  850. ' ~$ K3 W( W, ?: G- }+ q
  851. ; If you wish to have an extension loaded automatically, use the following& s: _4 \" ?% J/ k
  852. ; syntax:
    9 G8 k' C- O9 x/ |
  853. ;3 P. t  b* I' \- t' S- t9 I
  854. ;   extension=modulename.extension1 y2 A1 x/ `2 o1 P/ m
  855. ;" z1 E/ S" x# A( o9 [
  856. ; For example, on Windows:
    5 P8 z! A* ^2 E  s. U- T
  857. ;4 U% d0 x& {, M
  858. ;   extension=msql.dll9 w- j5 O, i% R+ {1 m
  859. ;
    , ]( Q; A8 A8 @+ d$ a5 G# n$ _( Z
  860. ; ... or under UNIX:
    8 x) s9 w$ {+ F+ q6 v
  861. ;
    & H2 p/ _/ A7 D  y: _
  862. ;   extension=msql.so% M# H" u5 Z: I
  863. ;
    . t( \- s/ j. c& n: T. d
  864. ; ... or with a path:( y* w7 Z5 o* C. y
  865. ;
    * B) E( x- m" R4 e4 ^& H
  866. ;   extension=/path/to/extension/msql.so1 w; F: B9 x; W' k- o& l
  867. ;
    4 O# C' P( w6 U' S7 F+ o
  868. ; If you only provide the name of the extension, PHP will look for it in its
    4 {8 u- @! \0 H9 g, A- t
  869. ; default extension directory.7 L3 }, D$ [# j. @$ P
  870. ;/ X* f- r; H0 Y* j
  871. ; Windows Extensions
    / U0 g, M. I" _
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    6 F2 C3 L2 q1 N% T
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)( W% Y: K0 _9 g9 G, L, H! F
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).0 L& l5 E7 m. N9 F& H% [2 D( J5 L
  875. ; Be sure to appropriately set the extension_dir directive.' u8 F7 |! K+ X* n3 M$ \7 c3 S7 t
  876. ;$ ]; p/ @+ h) a' i9 L
  877. ;extension=php_bz2.dll
    " ]: F6 q3 c* @" s, f& Q
  878. ;extension=php_curl.dll
    ' }) |8 J* _( Q5 c
  879. ;extension=php_fileinfo.dll$ Q3 U4 {( V8 j6 l. ~
  880. ;extension=php_ftp.dll" f* P: t4 [: D4 r! z8 V
  881. ;extension=php_gd2.dll) }# ~! A; f& X, V4 f' R9 x5 n# ]
  882. ;extension=php_gettext.dll8 l9 l8 R1 G' @1 i$ i
  883. ;extension=php_gmp.dll
    5 Y& T+ ~# v" ]* ^$ h, U
  884. ;extension=php_intl.dll* ]3 N. ^- }# O6 O
  885. ;extension=php_imap.dll% ]' ~  Q( A, e9 h2 n, I1 R5 M
  886. ;extension=php_interbase.dll5 r- t/ q9 p+ i+ \7 H' d7 _  r
  887. ;extension=php_ldap.dll+ X5 P# [: e8 K1 p2 S6 }/ I
  888. ;extension=php_mbstring.dll/ |0 ]  Z# b8 U: T6 d
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it. w5 y7 r* ?0 S; x7 n
  890. ;extension=php_mysqli.dll
    ! f  V2 n2 W9 N; A2 r
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client% ?9 n. n$ P7 j3 {
  892. ;extension=php_openssl.dll
    4 X! T  Y# [) Z4 U+ x: H
  893. ;extension=php_pdo_firebird.dll$ Z! _' J( @# c
  894. ;extension=php_pdo_mysql.dll
    ! F8 h$ m" v$ b4 ~; Y
  895. ;extension=php_pdo_oci.dll3 r% `2 o9 n! h& s. `8 {
  896. ;extension=php_pdo_odbc.dll
    9 \; i! x8 o$ F7 d
  897. ;extension=php_pdo_pgsql.dll4 o, [0 Z# _, u% J1 H* _; Y
  898. ;extension=php_pdo_sqlite.dll3 D/ x% r; r: v
  899. ;extension=php_pgsql.dll
    ( x! q% _* {/ g
  900. ;extension=php_shmop.dll! X( ?* {0 x+ j& `! _

  901. ) h$ P6 l& m- H0 F; }$ J
  902. ; The MIBS data available in the PHP distribution must be installed.
    / Q3 q, O6 l; l- P) H8 Y' H* w
  903. ; See http://www.php.net/manual/en/snmp.installation.php. [7 x( b# y4 P9 ]: v
  904. ;extension=php_snmp.dll' E4 ^7 S$ ~2 v& {! t% M! T! l; H

  905. $ \* W+ F  v* d* [
  906. ;extension=php_soap.dll
    $ o4 o5 z+ o) r0 e8 w- X# G( x0 j
  907. ;extension=php_sockets.dll) F  X0 k: a7 y6 y' {
  908. ;extension=php_sqlite3.dll
    9 q! ^# [- R+ e8 X$ p- u- u
  909. ;extension=php_tidy.dll
    & {% @9 ^. l* J
  910. ;extension=php_xmlrpc.dll9 H/ ~+ w# C- c* q& A
  911. ;extension=php_xsl.dll
    - ~* z6 t( H6 q, v# C" }5 F2 S8 H

  912. , x3 u% A8 O0 A# H
  913. ;;;;;;;;;;;;;;;;;;;' |0 \* {) o6 Q) M( ^% @
  914. ; Module Settings ;
    6 P8 q1 y; S1 U* h
  915. ;;;;;;;;;;;;;;;;;;;  b' h( X# H; h7 d) M4 }
  916. + j4 J- `1 a1 t6 I  t. }* f8 i
  917. [CLI Server]* l" V4 f( L4 m% F
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    1 H2 O; ]& F0 F4 r( y
  919. cli_server.color = On; x& }$ \7 t: j' Z2 m

  920. # m( a8 E' L. s1 @) V, Q
  921. [Date]8 q, j& a3 V  H! o3 E6 P! R
  922. ; Defines the default timezone used by the date functions. U, C5 J# `7 v+ ^
  923. ; http://php.net/date.timezone
    # Y5 r0 v; T: j" r7 H0 K
  924. date.timezone = PRC
    2 {* t$ D4 r( n4 q& L
  925. " k% H% J3 k& V8 }( D
  926. ; http://php.net/date.default-latitude
    ; Y) P; Q: p: m! q# R% }3 ~" x; a
  927. ;date.default_latitude = 31.7667
    6 c& Q+ }& \8 z0 f; H

  928. $ f  O% u! V0 |0 S
  929. ; http://php.net/date.default-longitude& h. ]# |! g- O2 F  R6 W: I
  930. ;date.default_longitude = 35.23336 W5 M1 U+ H0 R, v1 @. E

  931. / `9 o6 V) N) [- \0 [: V
  932. ; http://php.net/date.sunrise-zenith
    ! J9 Q: v& c, p8 W& @
  933. ;date.sunrise_zenith = 90.583333
    . S" W  C) M. A9 {+ H

  934. ) y" F3 |: {! ]* u
  935. ; http://php.net/date.sunset-zenith
    4 x% s7 O, Y1 f3 J- W% X
  936. ;date.sunset_zenith = 90.5833338 n/ ]' P) [3 ?8 g
  937. , T8 D4 {# a( q+ l+ y
  938. [filter]  c$ ^8 c1 i) D0 z: A9 A
  939. ; http://php.net/filter.default
    3 J9 a7 _0 [& B/ G( h
  940. ;filter.default = unsafe_raw- Z8 \. P7 Q, v: C. v; L% |

  941. 6 g9 e$ Q. _, W, h+ M$ _
  942. ; http://php.net/filter.default-flags& n9 M4 A: t8 h, C( T4 I4 p( U% x
  943. ;filter.default_flags =& o5 P/ x* Z, w- _. m3 W' u
  944. 1 j$ W+ |$ d! Z5 p/ _3 ~
  945. [iconv]
    ' E* j  x+ x9 f" y* y- V
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ; Q) t9 i1 W- _
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.) T) V5 {/ z2 M/ K: m
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ! y7 o- j2 D5 k( |; O7 x( c3 X
  949. ;iconv.input_encoding =$ F% v5 O: H! N0 x0 {6 Y
  950. 8 O- H$ k+ N: X% _% Z$ ^7 L5 Y
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    , O8 k% i' s3 H) U8 K! G
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
      `! q, E$ ^. p  D2 O8 c
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ' p9 U5 \' e( b: G3 q  v! F
  954. ;iconv.internal_encoding =
    $ t" m6 Z- A/ K

  955. - ~* R% \9 M' k2 y- C+ B6 }0 g
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    / Y2 r. v7 n- X, H
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.9 o) P1 }% B1 l7 ]/ f6 t- a
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    / B3 s/ O/ b! ~( A% w6 t
  959. ; To use an output encoding conversion, iconv's output handler must be set- E, T: y" R/ j! @& J
  960. ; otherwise output encoding conversion cannot be performed.
    ( l" c. t. H* b: u
  961. ;iconv.output_encoding =
    ( q- z2 J: S/ ]  w& n( v2 S
  962. : J3 l; e, k# }$ U
  963. [intl]9 \6 r/ R$ K4 E, ^
  964. ;intl.default_locale =! B( |9 e. c3 `# K
  965. ; This directive allows you to produce PHP errors when some error  n( V  t9 X. b6 d: _- i
  966. ; happens within intl functions. The value is the level of the error produced.: j4 T, O+ _# {2 n" U
  967. ; Default is 0, which does not produce any errors.
    ! ^* [; k$ }) Z/ F
  968. ;intl.error_level = E_WARNING
    1 F( n  s9 v' i3 w
  969. ;intl.use_exceptions = 09 N' {$ j! \, W

  970. $ s8 ^% N3 g: D! [: l; v; Z* L7 }
  971. [sqlite3]
    & `8 c/ g5 l2 M8 E8 J
  972. ;sqlite3.extension_dir =( b& J2 [7 A5 ]1 t; L2 G0 Z
  973. - m" m' P; W( W" C0 s; E( ~) i8 n" h
  974. [Pcre]/ t4 X! x9 W  R
  975. ;PCRE library backtracking limit.$ x$ b1 T3 N  @9 @) ^6 j
  976. ; http://php.net/pcre.backtrack-limit$ K+ m5 {. J( f; n
  977. ;pcre.backtrack_limit=100000
    + e3 |0 g9 V$ n9 e& U# L
  978. ; k" c% z0 t) v# P$ z0 _! r; s7 a
  979. ;PCRE library recursion limit.
    * N& `. ?* |: b" l1 v$ J
  980. ;Please note that if you set this value to a high number you may consume all) m) n9 M: h( [/ y& H" x" n1 Z/ ?0 X
  981. ;the available process stack and eventually crash PHP (due to reaching the
    + i2 K  f$ _$ t. \
  982. ;stack size limit imposed by the Operating System).; ]# ^: z! C& A( ^% A6 f
  983. ; http://php.net/pcre.recursion-limit- Z9 z2 D, X; S) ?* }+ k
  984. ;pcre.recursion_limit=100000
    5 ]- v$ o% h$ j0 S6 }8 D4 H# s" T8 j
  985. - U# [, @! I" _
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    : R- I8 N- U; k- A8 F
  987. ;library to be compiled with JIT support.3 Y' V. e/ i" [4 X
  988. ;pcre.jit=1
    ' {; [0 G8 h% B! m9 k& @# I
  989. % T. `$ Q5 b! ^* h/ A
  990. [Pdo]
    0 C* Z' g& O2 @
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"3 K7 e' N- |) p# E$ ~
  992. ; http://php.net/pdo-odbc.connection-pooling
    7 {5 ^# w: e4 d: B
  993. ;pdo_odbc.connection_pooling=strict# s9 q  V" H6 [

  994. % F) D( x9 ^4 ]: ]
  995. ;pdo_odbc.db2_instance_name% {: s) `7 z# @
  996. ; z# R' a" z0 h8 ~2 U1 v
  997. [Pdo_mysql]
    8 W+ p5 d) H( `% k" g/ @/ @4 j, s
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache5 X4 [% L( I/ c) F+ N2 K- n
  999. ; http://php.net/pdo_mysql.cache_size
    * M( [8 h  @: m8 d. T. `3 e4 Y: G9 w
  1000. pdo_mysql.cache_size = 2000
    2 o  b/ D( {* X) g
  1001. 5 v5 z9 P$ g& P) [
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in% r8 l4 Y5 T, C
  1003. ; MySQL defaults.
    & W; Y8 k. g$ t! |1 S& c% Q0 p0 f
  1004. ; http://php.net/pdo_mysql.default-socket
    + d9 |9 j& X, Y4 f& n, g2 s
  1005. pdo_mysql.default_socket=
    5 n; s- V: X2 Y" p. Y. G

  1006. - x5 P8 H; K7 Z7 ~, @6 N
  1007. [Phar]! c2 `; F% m$ ]5 r) C( F9 v, k5 A
  1008. ; http://php.net/phar.readonly  O6 T. ]) A9 ]
  1009. ;phar.readonly = On* Q% o0 s" F3 N' O5 g; y' x

  1010. ' o3 i0 _, c4 b7 y/ F2 s+ w7 N: ?
  1011. ; http://php.net/phar.require-hash. l2 v& b, V; V, {7 e& O
  1012. ;phar.require_hash = On7 V  ?: b4 C3 n- g* n0 L; G" a

  1013. / G! P% r2 s6 }- \$ x9 L$ E
  1014. ;phar.cache_list =5 ?* a2 W5 O# o3 M% }
  1015. ; S( W' b7 k2 F: k
  1016. [mail function]1 t; s1 J. z( ~: v7 w" a, _3 T1 s) R/ L
  1017. ; For Win32 only.+ m6 g- r5 ^: M- |- k* h! I
  1018. ; http://php.net/smtp) j# ?. q( K2 x6 D) ^5 u% ], [
  1019. SMTP = localhost! K6 P$ t( z% [4 i) r$ i6 @. t
  1020. ; http://php.net/smtp-port
    2 U4 W) i" g7 b3 ^! t
  1021. smtp_port = 25
    4 I1 e% ~; c1 S

  1022. ; b( W! ?5 V: n; Y% L
  1023. ; For Win32 only.2 s- p& x, X1 f' A
  1024. ; http://php.net/sendmail-from
    ) |5 E1 G* [7 ]8 B6 d5 r
  1025. ;sendmail_from = me@example.com
    * x' K$ W% |; n9 X( @9 ?

  1026. 9 Y2 r7 ^& ^6 N7 r( ^2 I! i" `$ j: `
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ; Q/ v7 N  U" `* E! C# j
  1028. ; http://php.net/sendmail-path
    5 `% _+ h; S4 Q4 f5 M1 M$ [
  1029. sendmail_path = /usr/sbin/sendmail -t -i6 ]6 Q) ~( J$ \3 E) Y0 i  R# ~. Z9 |/ I
  1030. ( @1 I, F* x- R& @: H/ r; k( e
  1031. ; Force the addition of the specified parameters to be passed as extra parameters9 d" t0 ?0 x5 a3 v4 Z2 H
  1032. ; to the sendmail binary. These parameters will always replace the value of8 d: A$ Z% m  r" a# u7 @
  1033. ; the 5th parameter to mail().
      o  R% a- h, A
  1034. ;mail.force_extra_parameters =
    4 }8 ]1 r0 O6 A) _3 n

  1035. 5 o0 _, \7 g  v* g5 r' g8 f2 ]& S
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    4 M, z, B, ^9 u" Z! m( @. i
  1037. mail.add_x_header = On
    ) J) J/ u; `" }+ Q6 |4 o1 ?
  1038. " \4 g* q/ T& D# ~. J! C0 _
  1039. ; The path to a log file that will log all mail() calls. Log entries include1 F# N; W/ g/ k, @+ B
  1040. ; the full path of the script, line number, To address and headers.
    # e8 _( f% q- D5 c" i6 _, M% ^
  1041. ;mail.log =+ L1 B, a6 p! i( H3 x
  1042. ; Log mail to syslog (Event Log on Windows).1 B8 H- E# `. m+ v5 t5 F
  1043. ;mail.log = syslog
    ' l. `0 N3 f5 ?; N  E0 ~0 U. P

  1044. , U! ^1 x2 J. n" P- W2 [& R1 z8 _/ C
  1045. [SQL]
    ; m% f4 a# w& v. j$ D& x
  1046. ; http://php.net/sql.safe-mode
    $ h/ e6 V% c4 O3 m! }
  1047. sql.safe_mode = Off
    8 P5 D) h: G2 G( X
  1048. 1 P" {+ w7 S2 b0 k
  1049. [ODBC]2 r3 Q& G0 x2 F; N' c* F
  1050. ; http://php.net/odbc.default-db
    ; B) y( w* v; ?$ ]
  1051. ;odbc.default_db    =  Not yet implemented
    7 {3 }+ Y# E7 i( V
  1052. / ?8 P- ^& H6 m- F. L3 P5 ~
  1053. ; http://php.net/odbc.default-user) _! C* t4 `( ^, u5 l5 t6 U/ h9 r" N
  1054. ;odbc.default_user  =  Not yet implemented; M$ n+ S  r* d- v9 E% l! r0 z" r

  1055. ( c+ s: Z) Z1 E0 V2 {
  1056. ; http://php.net/odbc.default-pw3 O, ^/ p" j! n9 P* t4 O
  1057. ;odbc.default_pw    =  Not yet implemented
    . q0 `- c3 I% M2 z1 m

  1058. 1 f% B$ r. L0 }
  1059. ; Controls the ODBC cursor model.
    & J' h6 G# @" ]8 O/ t* V
  1060. ; Default: SQL_CURSOR_STATIC (default).
    6 c: C7 b$ X2 H' h& f0 c
  1061. ;odbc.default_cursortype
    ' g" p8 g# s, g" |$ K( \* f

  1062. . V* {. D1 T9 ?6 p( H3 V
  1063. ; Allow or prevent persistent links.! M% [$ D% ?, q) o0 I8 F
  1064. ; http://php.net/odbc.allow-persistent3 |+ k3 H7 ?, Q6 o, ?/ r' \
  1065. odbc.allow_persistent = On
    8 u% r* c7 s3 O. |$ T
  1066. ) o4 t6 y  X! ^
  1067. ; Check that a connection is still valid before reuse.8 o( P) N8 A' ~& n# i4 g  t
  1068. ; http://php.net/odbc.check-persistent# o) u* m7 X3 }
  1069. odbc.check_persistent = On/ L7 [, Y6 Z: P2 H/ x) j0 _2 E
  1070. 7 ]7 P, v8 e$ C2 Z
  1071. ; Maximum number of persistent links.  -1 means no limit.! c3 t0 e3 R9 E8 X$ ~& |
  1072. ; http://php.net/odbc.max-persistent
    3 Z" ~3 |1 B$ d) e! ]( B
  1073. odbc.max_persistent = -1
    " r$ g  z0 E1 C& K2 P4 D* G2 y" l

  1074. ! f$ P- {* [9 l3 h% w
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    , f6 c: r" b3 r9 c; v
  1076. ; http://php.net/odbc.max-links
    ; ]* Z: k  S% f
  1077. odbc.max_links = -1
    $ B- ?* N3 Q- X. m- Z
  1078. 1 a- j9 U2 h* _/ R/ v1 t5 ~
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means: f  d0 k9 u# y$ U
  1080. ; passthru.
    5 q/ X) {, K  }2 @) d$ e) y
  1081. ; http://php.net/odbc.defaultlrl
    ; Y& t! G) p& w; I" r  L# T# R
  1082. odbc.defaultlrl = 4096
    ! g. N5 u& N, B5 R" L$ w7 w6 j
  1083. ' W. _7 j* ^' z. q
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    9 q/ T' h* K& e2 _  I" C
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    , R6 L& B7 R3 v0 ?3 Q) e' L( i
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    - b4 Z2 M  |) e! Q
  1087. ; http://php.net/odbc.defaultbinmode( p& s9 V3 i# B: q9 O4 |% u
  1088. odbc.defaultbinmode = 1* q! n5 O) Z) a, Q2 r' p: z

  1089. * N1 q5 t6 ?9 U* n8 \
  1090. ;birdstep.max_links = -1' K+ y2 m! \1 [) l# d1 x+ _% m9 b
  1091. - J. j3 t# X  c$ {
  1092. [Interbase]
    5 a6 M0 L- h  k6 B1 J2 ?, A
  1093. ; Allow or prevent persistent links.
    3 [' u8 H; k! C8 c5 Y9 Y! X; B
  1094. ibase.allow_persistent = 1- K: t4 s- ?  ?. E, O. }
  1095. 3 A  W- n. U3 q
  1096. ; Maximum number of persistent links.  -1 means no limit.
    / q; F! K  W0 ?' q( Q  \
  1097. ibase.max_persistent = -1
    * @$ w2 z8 M* x
  1098. 9 Z) [$ [* m% X* F6 ~5 s
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.7 D  X, n5 j! g* {1 x& a
  1100. ibase.max_links = -1# N/ C! q: _5 z' V. v  I

  1101. % \. s/ q  B  i: I+ T- X
  1102. ; Default database name for ibase_connect().
    4 @0 ]5 d1 u7 W* y7 f2 R
  1103. ;ibase.default_db =% m. J3 y2 K/ c8 o* K) J8 H% K
  1104. 6 |! S$ V; A5 p+ j, C
  1105. ; Default username for ibase_connect().
    8 ^1 u9 B( w; M" Z8 F6 z' z) ^2 h
  1106. ;ibase.default_user =
    " T  w% f3 Q: f9 ~
  1107. * T3 e: l# y4 Y+ m3 b& ]; x
  1108. ; Default password for ibase_connect().
    7 T* W/ ~! s' |3 t) M+ b# }
  1109. ;ibase.default_password =' w4 K) e0 `5 K6 s

  1110. - \% m, f# l! f
  1111. ; Default charset for ibase_connect().
    4 W% ]0 i3 X; ^$ H  K+ |2 a
  1112. ;ibase.default_charset =
      v6 H! y: |! F
  1113. , j/ {+ V! \$ {$ W; u- u* [9 W
  1114. ; Default timestamp format.0 J. w, N4 _- Y
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    . W5 G1 k1 y4 g8 v4 a* i) m# ~1 c
  1116. 3 ~/ R) s- ]/ L+ ~; i
  1117. ; Default date format.
    : i  `5 v7 a# W3 W7 h/ j5 {( U
  1118. ibase.dateformat = "%Y-%m-%d"- Z6 _6 k- k+ V. Z

  1119. 0 S/ V8 G$ m, n$ _9 a: W
  1120. ; Default time format.6 \; X+ e8 X1 E! `
  1121. ibase.timeformat = "%H:%M:%S"% ]4 ~) o0 n5 h+ m; _7 `) S

  1122. ) P+ C# u( U3 h" D7 F
  1123. [MySQLi]
    5 I$ v1 y* a) ?% M" k% o( j7 l! c
  1124.   N% S, q4 h: d9 ~; e7 F- G
  1125. ; Maximum number of persistent links.  -1 means no limit.
    : m/ x" Y  K9 q& w
  1126. ; http://php.net/mysqli.max-persistent
    ( t0 r) i3 E& J/ R. s# }  ~
  1127. mysqli.max_persistent = -1
    % b7 u" K0 R! Q0 I" V* T2 O% G

  1128. 1 l: i* I& ?) F: Z5 K5 e& A3 d
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements* O+ r% }9 n! |$ W0 o9 y: G' y
  1130. ; http://php.net/mysqli.allow_local_infile& H/ {+ a6 t% R! X) x
  1131. ;mysqli.allow_local_infile = On* F  P; g% L& u8 C& q# Q4 X/ }; |! [

  1132. 9 N+ M  S7 d8 W5 R2 l
  1133. ; Allow or prevent persistent links.
    ! j* e# r  p& j  s4 s! E; E
  1134. ; http://php.net/mysqli.allow-persistent
    6 ^$ q. `* S% Q
  1135. mysqli.allow_persistent = On* m$ U4 y, y  S5 _1 z
  1136. 7 S6 u% w# E  A1 h0 r* d5 {
  1137. ; Maximum number of links.  -1 means no limit.) }) r1 ~& Y) Z% C" c% `0 k4 F
  1138. ; http://php.net/mysqli.max-links
    7 R& }& x  _% q, b" i
  1139. mysqli.max_links = -1
    , }" x7 e: q5 A% t* G- T# T" `3 k
  1140. 1 Y  \7 U* }" i% e0 E6 s' \
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    4 B% `+ F! a- P1 k- H
  1142. ; http://php.net/mysqli.cache_size
    5 m; ^! a" Z0 I" {/ g% y+ q
  1143. mysqli.cache_size = 2000
    & r, g) U7 Q3 }' y  p3 y9 o& F
  1144. % j& {4 d% y7 X# ^
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use8 o* d" [, ~0 e- X$ f
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ( L' }: n+ B- \2 I% H
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    . M. C& J3 A8 M% ^& Z) q9 C" D4 }
  1148. ; at MYSQL_PORT.
    : H0 F( [; H% V! D
  1149. ; http://php.net/mysqli.default-port2 h( C1 a0 }- Y6 D2 z
  1150. mysqli.default_port = 33061 y" u6 t* K& ]

  1151. 3 Y( B6 y% r8 K9 s  r
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    2 f. n+ f) w' C2 G+ [- z/ b  m* a
  1153. ; MySQL defaults.
    4 q$ i  i$ A7 f" J/ `
  1154. ; http://php.net/mysqli.default-socket2 H' `9 D3 @" [. i( w
  1155. mysqli.default_socket =
    3 O7 n: s2 L1 N# j4 C
  1156. , [! N4 }/ A& M
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    * S2 q; R% o$ {# t( e9 [
  1158. ; http://php.net/mysqli.default-host& j0 t! d8 n/ y0 @- A
  1159. mysqli.default_host =) ?* X) h" {2 D; P
  1160. / g4 s5 r. E9 n$ P
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    " H$ ]1 v$ R  |5 S  g3 o
  1162. ; http://php.net/mysqli.default-user
    9 L" [# [% K7 \' K% r; J- I
  1163. mysqli.default_user =' t  d8 |- e* l% n

  1164. 4 |3 [0 {3 T! @. }# o8 a+ P
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    : Y( B0 F& k3 ~) Z+ B
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    4 J2 r2 ]/ l# r+ S
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    " P" F0 I* G% I* u6 n/ z
  1168. ; and reveal this password!  And of course, any users with read access to this, Q  `  E9 j, @7 @* x9 R
  1169. ; file will be able to reveal the password as well.
    7 r/ @$ _! m$ a" M! Y
  1170. ; http://php.net/mysqli.default-pw
      |' ~% q7 j8 S' `" B& _3 c" F
  1171. mysqli.default_pw =
    6 K- _# I+ A" V0 Z
  1172. & A, K1 z$ i6 d) E4 f$ n
  1173. ; Allow or prevent reconnect# \, H& N6 o; R" q3 P/ U
  1174. mysqli.reconnect = Off
    - j5 Z( R  F2 |# Q3 c) i5 A

  1175. ' d) R( D* |, p7 k2 R, b2 f9 n
  1176. [mysqlnd], D% m+ N; s0 k! \1 @* m- u
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be" ~: k+ J5 M6 l" ~3 v# m7 i
  1178. ; used to tune and monitor MySQL operations.# ^# j, w% a5 {$ N, p, A
  1179. ; http://php.net/mysqlnd.collect_statistics
    / D) `1 @! ~- ]
  1180. mysqlnd.collect_statistics = On( M, L. }: T: J8 y9 q
  1181. ' Y* o# t  @9 i; F- K
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be0 i/ J; P! B- Z5 i7 I3 _! ]1 w
  1183. ; used to tune and monitor MySQL operations.3 ]+ u% u4 N5 w+ v
  1184. ; http://php.net/mysqlnd.collect_memory_statistics9 i9 E! k& d2 u* W
  1185. mysqlnd.collect_memory_statistics = Off
    + ?  |; J  |, k

  1186. - |7 y$ O2 {0 D( o, [
  1187. ; Records communication from all extensions using mysqlnd to the specified log7 _% |) B/ L& o) B0 r, @- N' g1 {
  1188. ; file.0 W# `' A  c7 s; m
  1189. ; http://php.net/mysqlnd.debug
    $ M# ?' z* A. F  ]/ A! T
  1190. ;mysqlnd.debug =
    3 X2 O7 f5 Z7 c0 |( Y
  1191. 2 Q) j" {/ R1 p7 U' @* t
  1192. ; Defines which queries will be logged.
    # K" {+ k' K3 w$ i2 B  }
  1193. ; http://php.net/mysqlnd.log_mask6 h4 L; Q% `' R  B+ I
  1194. ;mysqlnd.log_mask = 0% D. p; E4 W. m. J' v" }# @+ k
  1195. 3 M* M0 r) A3 l
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ; N# n0 ^# p$ z, W$ e  ?
  1197. ; http://php.net/mysqlnd.mempool_default_size# j' ^& h# x& j
  1198. ;mysqlnd.mempool_default_size = 16000& S  N2 F0 A- Y- T) N) B

  1199. # d" g' t+ F& U1 I9 W+ Z9 n% \! o
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.6 B+ v- q# n3 x  U
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ! I  S6 V) g2 Q, K/ y0 h
  1202. ;mysqlnd.net_cmd_buffer_size = 2048/ F. ]9 h/ c" M% M% G

  1203. + I, \0 |% x3 ^% b3 ]
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    0 ^( O9 A; A6 `! T9 W" I
  1205. ; bytes.. B  a( v) R* @! H7 V! R4 O0 v8 {7 d4 B
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    8 |# X/ B+ }7 S: u( {! A2 w3 b
  1207. ;mysqlnd.net_read_buffer_size = 32768
    # E: g. r: R7 x, I

  1208. ' g4 W7 w' a$ }- |3 D% O
  1209. ; Timeout for network requests in seconds.
    ! \- B) I6 ^) V! f8 g
  1210. ; http://php.net/mysqlnd.net_read_timeout
    - t1 f) t+ I5 ~5 y* |3 V
  1211. ;mysqlnd.net_read_timeout = 31536000
    6 D# a3 R3 z9 J! \( O7 M! P. e
  1212. ' `  d0 O5 d% X7 B( f! d0 m
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA: A9 g$ W1 G5 M$ q
  1214. ; key.: h+ k7 k1 O  z. k
  1215. ; http://php.net/mysqlnd.sha256_server_public_key0 B; I) |) i5 y$ A/ ]% b$ P
  1216. ;mysqlnd.sha256_server_public_key =. j3 {( N% T+ ^2 W# p
  1217. : ?1 C4 o8 a) B
  1218. [OCI8]; W" D& A( J1 {
  1219. $ X& W9 R0 Y+ f" E! V; C$ z
  1220. ; Connection: Enables privileged connections using external
    / \5 @+ l/ M8 R9 N  n1 Z
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    4 c" {; W1 k4 c; }) w
  1222. ; http://php.net/oci8.privileged-connect* W( O( B4 R$ {) M4 |& A- j
  1223. ;oci8.privileged_connect = Off
    # N, p8 q9 z0 h# `

  1224. 2 }' G8 b) U/ X
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    % l& v& N0 F8 U4 }% x
  1226. ; process. Using -1 means no limit.
    & N. P5 J# I+ X7 q
  1227. ; http://php.net/oci8.max-persistent
    ) J' L/ N/ v1 U/ C# A- V9 ^- w
  1228. ;oci8.max_persistent = -10 `* z- @, @) \

  1229. ! r+ V1 S9 B7 m, v9 D% F' y$ ]
  1230. ; Connection: The maximum number of seconds a process is allowed to
    / j7 ^* w% M' ~2 v0 E1 _) M: R: V
  1231. ; maintain an idle persistent connection. Using -1 means idle8 f1 |' O$ @/ k. Q6 m3 q4 p
  1232. ; persistent connections will be maintained forever.  L+ A3 j7 K+ g) U: F; m! a# g
  1233. ; http://php.net/oci8.persistent-timeout" Z  z  q  s1 m) T: x
  1234. ;oci8.persistent_timeout = -1( x5 J* ~/ m3 ~
  1235. 1 ~8 X1 }, a% l) T. E- y% N
  1236. ; Connection: The number of seconds that must pass before issuing a
    / S) u' M2 N9 {; E- K" }' I/ ^
  1237. ; ping during oci_pconnect() to check the connection validity. When  [" g% ^: v! i
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables+ T8 b% b+ B$ o8 O7 E' b
  1239. ; pings completely.( }6 @: {) Q- L! c
  1240. ; http://php.net/oci8.ping-interval
    5 ^  o& e) n& m0 o0 |+ _; N, M
  1241. ;oci8.ping_interval = 60
    * N9 c% c  R& A! x" S' d

  1242. 4 G! {) i# m  w4 D5 g) w: p
  1243. ; Connection: Set this to a user chosen connection class to be used( k; e# @. ^- k5 K- u  U/ p
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    ' Q' a9 u. ~. N  h
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ' l# j7 \+ J- e4 Z& \+ {
  1246. ; the same string for all web servers running the same application,
    0 Q' }5 w( f( e7 J+ e
  1247. ; the database pool must be configured, and the connection string must
    7 r* ]3 C$ m4 D4 }2 E( q7 E
  1248. ; specify to use a pooled server.& a/ U: Z7 k7 M" V
  1249. ;oci8.connection_class =
    ' ^3 Q; `$ b3 ]7 s$ n
  1250. 8 q( {" R) o. X4 _
  1251. ; High Availability: Using On lets PHP receive Fast Application% |& Y: ]( D& U' x; }6 B
  1252. ; Notification (FAN) events generated when a database node fails. The" e: ]$ Q$ D8 c, j
  1253. ; database must also be configured to post FAN events.- h  K. Q2 x! H
  1254. ;oci8.events = Off0 }3 N5 I- b' K' J0 b
  1255. # C& n6 k- ?& m# `' D! `
  1256. ; Tuning: This option enables statement caching, and specifies how
    * K, k0 d' \- h0 Q
  1257. ; many statements to cache. Using 0 disables statement caching.
    1 p9 H3 \$ J4 R$ o( o7 z
  1258. ; http://php.net/oci8.statement-cache-size; M% V! x: n- y
  1259. ;oci8.statement_cache_size = 20/ y2 y7 K; J- D4 j

  1260. + v1 ]! z/ G" @4 _
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    6 J  I- [8 E8 L% Q) i
  1262. ; rows that will be fetched automatically after statement execution.
    $ @3 ]$ ]( d/ T) v2 i4 ^0 i" S+ g; r) h- n
  1263. ; http://php.net/oci8.default-prefetch
    . e( }8 n4 j3 O: k0 l: y! R
  1264. ;oci8.default_prefetch = 1007 c6 T/ `( D3 ~7 u6 J# P& N# T" b
  1265. 5 p7 p1 Y2 o5 G- |& q
  1266. ; Compatibility. Using On means oci_close() will not close
    ' ?- R  S& h4 E3 G2 ?' x9 v8 L
  1267. ; oci_connect() and oci_new_connect() connections.
    8 O+ C% a6 I2 [( C, i' d$ d
  1268. ; http://php.net/oci8.old-oci-close-semantics# V7 n1 {8 J+ ^, |7 d! T) m2 V
  1269. ;oci8.old_oci_close_semantics = Off
    , f. j/ l) u* \5 l) m+ I/ y1 S

  1270. ; z+ |* x. M4 S# {
  1271. [PostgreSQL]
    " O3 ~9 y4 h" z7 M' f+ V
  1272. ; Allow or prevent persistent links.
    . Q% ^# g4 y+ G5 w( {- _- ^( }
  1273. ; http://php.net/pgsql.allow-persistent
    1 Y) a3 C" V, z, b% J" V
  1274. pgsql.allow_persistent = On1 k5 Q$ J! W- \

  1275. 8 c/ Y! i1 O! O7 {( _& U
  1276. ; Detect broken persistent links always with pg_pconnect().4 G8 a! g' D7 G0 \* a$ J4 s
  1277. ; Auto reset feature requires a little overheads.
    " A4 b- {% f7 u% u+ ~# U$ B; F# |
  1278. ; http://php.net/pgsql.auto-reset-persistent- f) Q1 P* h8 M9 S- M- `3 b2 [
  1279. pgsql.auto_reset_persistent = Off, |1 q  _7 P( Y6 ?* `4 j' y' n
  1280. 9 E* B3 @% `  f5 ~9 d) }3 H) R
  1281. ; Maximum number of persistent links.  -1 means no limit.
    # K. W+ q2 E) `8 n. a9 Z( I$ V( `
  1282. ; http://php.net/pgsql.max-persistent% U# K4 P& B- m" ~
  1283. pgsql.max_persistent = -11 p2 s% U* g$ m( z

  1284. ! y0 Z2 O" V" ~: x  \; {3 K8 d
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit." m; c7 f. w% N) c: s
  1286. ; http://php.net/pgsql.max-links' L- R2 H& t$ J7 M
  1287. pgsql.max_links = -16 z* \8 P; M. @" k: Z+ O/ B
  1288. % {. ~4 ^2 e1 @/ ]. O7 G- n
  1289. ; Ignore PostgreSQL backends Notice message or not.
    ( T: R* l3 E3 P1 k8 I4 s( q
  1290. ; Notice message logging require a little overheads.( U- U7 [7 `% b5 Z" W
  1291. ; http://php.net/pgsql.ignore-notice: `( e% m* F9 h& D. l+ G
  1292. pgsql.ignore_notice = 0
    1 Q- t0 s5 A6 D2 }
  1293. + T! ?8 U( P2 ^/ T
  1294. ; Log PostgreSQL backends Notice message or not.5 N/ C* P4 w; r8 q" Y( w$ j
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    % B- p: }0 `) ]; C
  1296. ; http://php.net/pgsql.log-notice, S9 P7 L" K$ u6 d. x$ J& x6 n" D% C
  1297. pgsql.log_notice = 0
    & q9 x( |0 U7 F! m

  1298. . N8 v/ Z! w% f9 Z. L3 k0 O
  1299. [bcmath]' W4 u& o; M) C$ z; P
  1300. ; Number of decimal digits for all bcmath functions.  E& \! Z/ f" b/ T. p9 Q* O* B
  1301. ; http://php.net/bcmath.scale% y; G9 I5 `' K3 t
  1302. bcmath.scale = 05 E, v0 E9 k! D  q& b+ k$ a- m

  1303. ) y" u3 P- ^8 _1 p/ ]: ~" F
  1304. [browscap]
    , G* o5 w& E  o: i% u' O1 M1 Y
  1305. ; http://php.net/browscap
    + z- t- f/ L) r1 m
  1306. ;browscap = extra/browscap.ini
    - f' j; \8 t/ j( A: L  @7 l

  1307. 2 H! S. R) ~* t
  1308. [Session]
    ; a. I; d- @' I! m) I
  1309. ; Handler used to store/retrieve data.; V7 a  E# p2 F
  1310. ; http://php.net/session.save-handler# k  B. U, W# O; {8 L7 ~: T
  1311. session.save_handler = files  x* a5 S1 R* p% M" Z9 A

  1312. ; z  q1 u- m* [# p: N
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    " @% h; E9 T, S! |7 t
  1314. ; where data files are stored. Note: Windows users have to change this
    3 i, P0 I" T# P( t4 _
  1315. ; variable in order to use PHP's session functions.
    " _# j: h" R) a) y
  1316. ;1 g* F  m' h4 q5 G
  1317. ; The path can be defined as:0 G7 x" _$ R5 F% k6 W4 h
  1318. ;
    * x  B& ~9 o+ _5 N. _) }
  1319. ;     session.save_path = "N;/path"3 U- w- p6 _7 W& G5 k# v
  1320. ;
    1 W& A, d* K, y; I% R4 S
  1321. ; where N is an integer.  Instead of storing all the session files in
    9 ^1 `" n& s& Y9 Q/ ]  o, F
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    " v# p, h' _/ P& w$ M$ ~* f
  1323. ; store the session data in those directories.  This is useful if1 ]4 ^2 z: g' E1 i% n: d2 W) x
  1324. ; your OS has problems with many files in one directory, and is$ J/ e& u" c( ?4 R' Y1 o# K
  1325. ; a more efficient layout for servers that handle many sessions.
    1 z, Y7 ^6 m/ n( Y0 V! ^0 b9 l; `
  1326. ;
    % o; l3 |+ a! h9 y% T
  1327. ; NOTE 1: PHP will not create this directory structure automatically.* W+ a8 e% \$ F) ~* N2 \7 O9 W) \
  1328. ;         You can use the script in the ext/session dir for that purpose.
    ) \, C% k) a2 b9 U& h' j
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    - v  m* K( ^/ _: r0 t- N
  1330. ;         use subdirectories for session storage
    5 z/ Q, g% t; X4 N: T# |1 _5 s, E
  1331. ;, g7 m0 i2 z& e% D* |" S
  1332. ; The file storage module creates files using mode 600 by default.
    , b* `9 b& V( v% a0 h% E3 l- Z
  1333. ; You can change that by using
    - Z  ?; x8 N9 A; @; J5 R" Q
  1334. ;
      [3 |) u4 m- v/ |1 a6 W
  1335. ;     session.save_path = "N;MODE;/path"
    0 E! H* p5 z' |1 p7 L  I& V0 S
  1336. ;3 \" R; Y- \& w6 q
  1337. ; where MODE is the octal representation of the mode. Note that this, |% o1 b" c8 O* h* {
  1338. ; does not overwrite the process's umask.$ k% F4 m& p, x9 ^
  1339. ; http://php.net/session.save-path
    0 u+ L# S8 z" h0 ?. _4 K
  1340. ;session.save_path = "/tmp"
    , o- f* Q, L. {" T0 t5 i
  1341. ; e) s* D8 X' x$ o. [( A: T+ N' f; [
  1342. ; Whether to use strict session mode.7 h# m" i- S7 _: C3 o/ b
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate1 _. @  w" l- X/ L
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    . f- {# r! Z' Q4 [/ W1 C+ q# @6 Y
  1345. ; applications from session fixation via session adoption vulnerability. It is
    2 n0 D  G' J5 w3 Z6 j# Y
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.2 M: N: W# ^% c2 b$ V
  1347. ; https://wiki.php.net/rfc/strict_sessions- Y" x0 Q6 `" [+ B8 D
  1348. session.use_strict_mode = 0& C# E( B, K8 ^3 _0 X5 O

  1349. 5 s% N, d) p. V, V9 G
  1350. ; Whether to use cookies.+ E! s) k' A% Y, [* M3 \7 x
  1351. ; http://php.net/session.use-cookies
    8 Y. M8 k4 O$ w0 L3 D3 d/ O, F
  1352. session.use_cookies = 1
    7 e( @/ t5 {8 X9 E1 V5 k4 N$ K9 d
  1353. 7 _8 Y4 Q+ L& A! T/ @
  1354. ; http://php.net/session.cookie-secure1 f& [2 r) m+ C' ?4 O: Q
  1355. ;session.cookie_secure =8 J" |9 _6 V, L9 _

  1356. ! u/ }# ~* {1 B: l
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining- G  b  U# ^' j
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    ( V1 @3 W2 p- m7 p( h% Z+ Y
  1359. ; session hijacking when not specifying and managing your own session id. It is
    9 I# P# k/ _2 V" K
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ! F& C# ^+ F: e. T' d! I) M- u
  1361. ; http://php.net/session.use-only-cookies
    % Q" p) o) `1 ^% u/ `( v
  1362. session.use_only_cookies = 13 |8 M, L2 }5 x# M; ?: e

  1363. % x3 g) y  {9 {5 Z2 z: w% v
  1364. ; Name of the session (used as cookie name).
    * y7 D1 ^8 ~% E3 C3 L  S
  1365. ; http://php.net/session.name$ ^+ f+ A+ r3 Q0 j& J
  1366. session.name = PHPSESSID
    . `# r1 {: u7 y4 q, x/ `

  1367. ' p- S* R- Y; S, Y, L1 G) I
  1368. ; Initialize session on request startup.
    / f# \; J9 z# F  R3 f( R+ F
  1369. ; http://php.net/session.auto-start
    % d, v- u, A$ |3 e
  1370. session.auto_start = 03 k5 V/ w& p2 D* {

  1371. 2 W5 q6 M  b8 `$ {7 x
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    2 W5 `- G4 q2 y4 k
  1373. ; http://php.net/session.cookie-lifetime
    1 c: Y& D7 C/ n% B1 [
  1374. session.cookie_lifetime = 0% p. L8 A3 \% Q* H  D

  1375. # N) `; h; [7 \& K& W0 c
  1376. ; The path for which the cookie is valid., C- Y" i; y% N4 U
  1377. ; http://php.net/session.cookie-path
    . L1 h- g# u% U6 C3 S- ]
  1378. session.cookie_path = /" T9 S9 P. k2 Q, ]% p7 C% Q

  1379. . M2 L) X- E/ Z$ g9 Q- u
  1380. ; The domain for which the cookie is valid.- j' H/ x. J5 [! Y4 {$ O
  1381. ; http://php.net/session.cookie-domain
    5 E8 o6 l1 r6 [1 B& N
  1382. session.cookie_domain =2 [: Z: S" h' D; ~3 k
  1383. 4 h8 X1 i. s* b- E0 P8 @( A4 u8 z8 d
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.! Y% ^) g: L6 O; P
  1385. ; http://php.net/session.cookie-httponly# y. ~$ z7 W4 d8 j0 O
  1386. session.cookie_httponly =3 R  |/ ], M5 B8 _

  1387. , F; x& D4 L! O! l2 g
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    : y& V, F7 b) O# [' a- v5 i- ?2 o
  1389. ; http://php.net/session.serialize-handler
    # U4 I+ Q, C  i$ S' c# X
  1390. session.serialize_handler = php
    " H, f( r6 Q6 J4 ~

  1391. 3 v6 Q2 B; R; g* O+ y6 p4 k
  1392. ; Defines the probability that the 'garbage collection' process is started
    5 v4 s0 Z& v5 {; ~  e' A9 Q
  1393. ; on every session initialization. The probability is calculated by using
    0 L" I1 N, i4 B. Q" s
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator. n; W; x1 W- I. V$ ^# ?6 k) z% \% Q
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    $ Z& p9 @9 i0 U; r6 y5 h# X0 r" T
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ; E- \! }! h) V0 W# j
  1397. ; the gc will run on any give request.
    1 ^  n  \% t0 J# K: @" o: m' J( s; `
  1398. ; Default Value: 1
    ' F4 `4 C4 e6 O( z7 ?$ m
  1399. ; Development Value: 1
    2 E4 [  x% F5 [! E6 `/ w
  1400. ; Production Value: 1
    + Z! ?: v) S! I- `0 \
  1401. ; http://php.net/session.gc-probability% N8 e" E: @8 @$ I+ H9 K0 U/ x
  1402. session.gc_probability = 1- c% k8 K5 }! n$ ~$ g% @& X

  1403. 7 ~6 k& d1 f  O
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    ' L9 e: w" V1 |
  1405. ; session initialization. The probability is calculated by using the following equation:1 l+ T0 |* C6 \
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    3 U7 Q& K0 a5 `" o5 [: `1 a
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1; F) b: G7 l) E- G3 g) l. o
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    7 c4 g4 g+ \1 U2 B+ U; L6 ]+ @
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you3 I6 X" H2 K* k& @" e* c
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    $ ^( C5 I( Z  `- `
  1411. ; this is a more efficient approach.
    ' R: W4 [  x/ ^# `  N5 h# S4 `+ o
  1412. ; Default Value: 100
    7 D: D- k. l% B/ J
  1413. ; Development Value: 1000* l) p3 W, Q" s2 s3 X
  1414. ; Production Value: 1000
    9 E5 r# @' W. f& T
  1415. ; http://php.net/session.gc-divisor
    2 ^! T( n; G: P5 j' `9 [
  1416. session.gc_divisor = 1000
    2 ?# J5 n) t; ~9 Y# ]. I7 g9 k! c

  1417. % S0 e0 n# V: ^: z
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    / v2 w' P5 y) j  S
  1419. ; cleaned up by the garbage collection process.
    6 l- L1 ^0 S9 B" s1 ^/ m1 U
  1420. ; http://php.net/session.gc-maxlifetime; b  e0 P( i& U- q, P0 d. H7 U
  1421. session.gc_maxlifetime = 1440
      U( R' s3 M" Z# S: x/ r1 C5 W
  1422. ; P7 W0 R+ `/ Y% h5 P8 w
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    * m  Y. h( T% y2 e$ ^
  1424. ;       (see session.save_path above), then garbage collection does *not*
    " P$ G' ^$ d1 @7 o$ s# q' B2 c
  1425. ;       happen automatically.  You will need to do your own garbage+ V5 B& y  N: c. h# A* q7 G
  1426. ;       collection through a shell script, cron entry, or some other method.  P3 x: F( |) f) }& V
  1427. ;       For example, the following script would is the equivalent of
    $ V# C6 u- H$ ^: M
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):  m/ r. r0 z& d! s+ h6 G
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    - A- a- P: Q# w. r8 {+ u( y( P. F

  1430. $ ~$ J  w5 C! L
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.3 m8 S( g. o4 Y6 k; x2 ~
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    - S" T# R! |# k
  1433. ; considered as valid.
    . y6 O) [" [1 s- O  X3 ^) ~
  1434. ; http://php.net/session.referer-check9 u! `$ r: N' ]4 a
  1435. session.referer_check =5 d/ g9 p' o: U7 e2 c$ {

  1436. ; K; j" p6 f& d. o" b
  1437. ; How many bytes to read from the file.
    4 F3 y8 j  W& ^5 p
  1438. ; http://php.net/session.entropy-length! _% O, P* m: o3 g) H) e
  1439. ;session.entropy_length = 32  Y- P3 p3 z* G

  1440. ) u+ x% w) d8 E# _& \
  1441. ; Specified here to create the session id.7 r  c( @7 i1 B- Q
  1442. ; http://php.net/session.entropy-file
      N- u0 f. G; K) |) H
  1443. ; Defaults to /dev/urandom$ O- g/ {6 v0 j6 N1 ]7 y0 h+ j
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom" W0 D' }1 h! L' |
  1445. ; If neither are found at compile time, the default is no entropy file.- [2 I2 F& a6 C& T( E+ h
  1446. ; On windows, setting the entropy_length setting will activate the
    2 s5 y4 q' }. ~7 Q  Z
  1447. ; Windows random source (using the CryptoAPI)6 n- g  o2 Q7 L$ z9 P5 e' M" ~
  1448. ;session.entropy_file = /dev/urandom- e7 g  G7 o+ I* H, P

  1449. ( r; l$ z( V" X! r8 J
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects0 W/ n+ Y$ p" l, _+ v; d3 H5 z; `
  1451. ; or leave this empty to avoid sending anti-caching headers.6 d8 }3 v( Y2 c1 b" G5 J* k6 H
  1452. ; http://php.net/session.cache-limiter# ^( d" [+ w" M' l0 D# O3 O0 S& p
  1453. session.cache_limiter = nocache
    % O* X$ |. O: r4 H: p  W( f* ]
  1454. 9 x6 x* V( P* X( R; r# y
  1455. ; Document expires after n minutes.
    & H8 Q3 l2 ]$ h! I
  1456. ; http://php.net/session.cache-expire. c! C4 p( J. f. q+ R8 B
  1457. session.cache_expire = 180
    4 _4 ]" v( w7 @0 }5 F9 u
  1458. ( G9 R: e& C: w8 }5 T6 W
  1459. ; trans sid support is disabled by default.! b, q, ]! f; L+ O$ a
  1460. ; Use of trans sid may risk your users' security.
      O$ s3 G" y! R: ]6 P; D! c
  1461. ; Use this option with caution.
    * [' \6 O: W  I8 P' }
  1462. ; - User may send URL contains active session ID; z( q' d5 i0 @& B) m" l3 s
  1463. ;   to other person via. email/irc/etc.
    # B6 ^& x+ E) e
  1464. ; - URL that contains active session ID may be stored
    ( c+ B, H% w' N3 S5 j1 p
  1465. ;   in publicly accessible computer./ h2 a# z" ~+ ~4 [* o0 M) v! r6 y5 L
  1466. ; - User may access your site with the same session ID2 f: I  A' W# A- m+ v* H
  1467. ;   always using URL stored in browser's history or bookmarks.
    5 n; C  T( o  t6 E2 D$ P6 U$ C3 }& h
  1468. ; http://php.net/session.use-trans-sid$ b6 V1 G) A3 C
  1469. session.use_trans_sid = 09 b) p  a/ s  E4 O. ?2 ^. d* J, A1 a7 b
  1470. 8 v# f8 D$ ^$ N! J/ p0 z) n
  1471. ; Select a hash function for use in generating session ids.- u" o3 E3 z  r8 A5 C! F3 c
  1472. ; Possible Values
    $ a* d8 ]+ u( s! Z
  1473. ;   0  (MD5 128 bits)6 y5 o7 i& v+ H1 p5 D3 V. Y
  1474. ;   1  (SHA-1 160 bits)
    8 Y; s# w0 h+ D* B0 B5 a
  1475. ; This option may also be set to the name of any hash function supported by
    8 R- |. o+ j  w0 u3 W
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    9 |. h* W0 k( d$ l
  1477. ; function.
    * H  d6 e/ k4 G
  1478. ; http://php.net/session.hash-function
      K7 X2 j1 o" l5 P0 G) \
  1479. session.hash_function = 05 z' D7 S- @' x5 J9 v6 U; v5 b

  1480. # p8 o" P8 s0 l6 L+ }! ^
  1481. ; Define how many bits are stored in each character when converting
    ' j( w% d" d$ P5 y- Q; D" W
  1482. ; the binary hash data to something readable.
    : U: c9 p0 j4 E2 F' k0 a. j
  1483. ; Possible values:
    ( w" h$ W' C/ w# `0 W
  1484. ;   4  (4 bits: 0-9, a-f)
    . P, u3 v8 F* _' p( U7 `1 @2 o
  1485. ;   5  (5 bits: 0-9, a-v)
    ( e. o, ]5 _2 ^$ f: n
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")/ S7 m! A/ K2 E4 i
  1487. ; Default Value: 4+ U* t- C, p6 P" g3 `5 X9 C
  1488. ; Development Value: 5
    - C8 [7 H9 `$ y2 U5 t
  1489. ; Production Value: 5
    2 b9 M. x2 b" w; Y
  1490. ; http://php.net/session.hash-bits-per-character
    & e+ ?0 y8 V9 _
  1491. session.hash_bits_per_character = 5
    2 t" v5 U" p6 E6 |. I/ D: l

  1492. 5 [8 V, G' V9 l) n* k3 v5 W
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ' p9 z5 a" |% ?! T8 X
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    & D; `, i2 J7 m+ Y5 `5 A( t
  1495. ; add a hidden <input> field with the info which is otherwise appended
    5 K/ V9 A9 e0 o1 V+ C
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.8 O  q1 t: D! ~+ S" a: Q
  1497. ; Note that all valid entries require a "=", even if no value follows./ n' {1 P3 @, B0 x- |5 F
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="' `9 |; Z$ q& T3 A  p; c
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 P' r9 G6 ~0 t* S. q! M7 {' @
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 D0 r" a6 S8 }3 t
  1501. ; http://php.net/url-rewriter.tags
    ; g. Q5 D" g% M# v' q: m$ W1 o$ J
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 r, J7 V: N& J% ?" V; {
  1503. ) M2 Q/ Y$ Q; A+ ~) @! A, P: t
  1504. ; Enable upload progress tracking in $_SESSION4 e% U9 [0 W6 n
  1505. ; Default Value: On
    , d+ v) L2 `0 x
  1506. ; Development Value: On+ m8 o( p: @' j9 W9 w% t/ Z
  1507. ; Production Value: On
    ( D) s& w$ }8 R9 w
  1508. ; http://php.net/session.upload-progress.enabled. G, x) m  ~7 h, l  O! i2 k0 T
  1509. ;session.upload_progress.enabled = On
    * A+ f! l2 X" e, O/ K. s1 j

  1510. 8 Q3 ^* K  `  Z/ q. I% [3 C
  1511. ; Cleanup the progress information as soon as all POST data has been read0 f, ~7 n: d/ S- N! K: m
  1512. ; (i.e. upload completed).
    4 b1 V0 B! p, A
  1513. ; Default Value: On
    * N" ~1 ]- v$ C1 [1 y% ~4 p
  1514. ; Development Value: On
    ; f6 L( Y( T) U0 N8 m4 F- d
  1515. ; Production Value: On' K+ U$ Y1 b* F7 I2 O" Z8 E8 Y
  1516. ; http://php.net/session.upload-progress.cleanup) o6 m7 O8 Y! E. {: C
  1517. ;session.upload_progress.cleanup = On
    5 v( T) }& w3 u6 P* g
  1518. / d+ z- T  |9 v6 X  ^" V( W
  1519. ; A prefix used for the upload progress key in $_SESSION6 S% I/ W1 w4 Y7 a1 k9 \' [8 F
  1520. ; Default Value: "upload_progress_"9 D  E0 o' x0 ]! X" y  j
  1521. ; Development Value: "upload_progress_"
    ( K8 c5 t4 G, L/ a* [* ]6 O# d
  1522. ; Production Value: "upload_progress_"! p3 R, e: c. f! S1 k( N2 z4 k
  1523. ; http://php.net/session.upload-progress.prefix5 N2 ^& k2 W5 `9 Q
  1524. ;session.upload_progress.prefix = "upload_progress_"/ m  U( `- g$ w/ j
  1525. & ]( H. W2 C6 p- q* o
  1526. ; The index name (concatenated with the prefix) in $_SESSION) {) G! a/ [. q1 l
  1527. ; containing the upload progress information4 `- z- ~4 F( m
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    0 r7 E8 U4 a* c9 K& f( `! ?' A# @3 E
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ( a/ f+ {: n9 v/ W
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS", N' k* ?/ ^' h
  1531. ; http://php.net/session.upload-progress.name
    9 H( m# f) T6 `. r
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"% D3 f8 \" u% g" |4 Y
  1533. 1 f( _* X( l( t
  1534. ; How frequently the upload progress should be updated.. N0 j4 s/ G# M1 G; F3 r2 D% }
  1535. ; Given either in percentages (per-file), or in bytes
    & O2 ?8 s; k; n' v2 N0 o! x
  1536. ; Default Value: "1%"
    8 N* L+ G! C5 b( T$ I. c
  1537. ; Development Value: "1%"
    4 _2 T3 p) a* Q5 q' n/ r
  1538. ; Production Value: "1%"
    * g2 b& j4 B" A2 W2 N+ `
  1539. ; http://php.net/session.upload-progress.freq
    ' d  c' [. H/ m& E
  1540. ;session.upload_progress.freq =  "1%"0 h# `; a6 O0 l2 B. k; g, A2 i( u

  1541. ! [7 ^" @7 }: w8 r1 j
  1542. ; The minimum delay between updates, in seconds3 a2 F1 R; _2 ^: ^5 u" o; H; d2 |
  1543. ; Default Value: 1
    1 v+ v/ F6 y0 e, \7 @7 F
  1544. ; Development Value: 1, O' ^% A. P3 m- n- k; S
  1545. ; Production Value: 18 u7 M: Q9 z! ^; R- ], P0 b
  1546. ; http://php.net/session.upload-progress.min-freq, F' b: J" \6 i& T+ R4 U" [4 U
  1547. ;session.upload_progress.min_freq = "1"
      D7 ^: ]: T6 d' Q6 J) G: N
  1548. . d/ j5 ]7 o6 C! t  f' {$ c; K7 f
  1549. ; Only write session data when session data is changed. Enabled by default.
    " d9 u# Z9 X( x9 q. V
  1550. ; http://php.net/session.lazy-write6 U! @- ]! W% \0 [
  1551. ;session.lazy_write = On
    0 V! v0 ~, U# Y( V& V

  1552. ' w' m$ _4 ^2 m+ h8 G" ^
  1553. [Assertion]% X+ z; ?* L5 r' ^8 B3 X, j- T
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)  k2 @% L% u& U* @& L
  1555. ; -1: Do not compile at all
    2 B6 l/ i5 t7 f: e9 `; F0 x
  1556. ;  0: Jump over assertion at run-time
    - L) F) R$ |7 H; n, j7 ^- |& E
  1557. ;  1: Execute assertions
    % V  k. p, f, C6 ?- 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)
    , u2 A! O) t7 X, v- n, @
  1559. ; Default Value: 11 `5 Y) V2 i6 {7 U$ |& `, b
  1560. ; Development Value: 1- _) d2 e( f1 Q$ i9 C. \& f
  1561. ; Production Value: -1
    & I* h( {7 T: m  p. D
  1562. ; http://php.net/zend.assertions3 ^( M# x) w  r0 Z  Z$ D
  1563. zend.assertions = -1: m* A/ l& t- D+ V- M7 w) K

  1564.   N% P& |. n/ m" r
  1565. ; Assert(expr); active by default.
    8 o! T1 b" B- `; O9 y7 ]$ P
  1566. ; http://php.net/assert.active
    & U* H" V# K2 X# t. Z3 h5 S
  1567. ;assert.active = On0 m$ s4 Y7 M2 L0 a# m/ s- G1 h% l
  1568.   O# s0 \9 O' O" r- H) J9 D; V; ~
  1569. ; Throw an AssertationException on failed assertions6 a! C0 U6 A* V2 x# Y
  1570. ; http://php.net/assert.exception% ]9 r; b6 L" C+ j6 i) b0 z
  1571. ;assert.exception = On
    " p/ m1 m3 d+ Z7 O% I0 k

  1572. 7 @; Z8 [! g9 Q3 d+ ?1 E
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)% I8 @& {9 g# s, a( {7 Q3 R! ?8 _
  1574. ; http://php.net/assert.warning5 [1 Z  k3 ?/ k# E
  1575. ;assert.warning = On
    + u. O& X! L- r

  1576. ( H  c# A* r; |# o, }" q: p; J
  1577. ; Don't bail out by default.! d+ o2 G% g# Y  J
  1578. ; http://php.net/assert.bail
    ' V; f3 n, l' C# L: n
  1579. ;assert.bail = Off( q$ Q; z! Q4 L9 b7 }* h

  1580. 5 _" A, d; i2 K9 z% U, `
  1581. ; User-function to be called if an assertion fails.3 P# w, K8 L4 o* e, h6 o" B# z
  1582. ; http://php.net/assert.callback9 g$ A$ o' x, \1 k. t5 u1 x
  1583. ;assert.callback = 0
    : i" b. {1 j1 t, I" O/ I& y
  1584. % w8 p/ j6 y- ~, j8 A2 l
  1585. ; Eval the expression with current error_reporting().  Set to true if you want" ~$ D( N2 K( v5 C: v/ @
  1586. ; error_reporting(0) around the eval().
    1 q$ B5 t1 M. j6 ^& v2 E
  1587. ; http://php.net/assert.quiet-eval
    - l$ I1 q4 }5 Q1 ]0 y# M4 [4 i
  1588. ;assert.quiet_eval = 0; t( k: r. S/ z
  1589. : {+ x* J4 O5 x4 l
  1590. [COM]% R- n( [& {* B) M- F" e; ^
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ) _& a- B/ o7 D" u4 m) P
  1592. ; http://php.net/com.typelib-file
    : f) g2 B; W% Q, P
  1593. ;com.typelib_file =% h* \3 j# H2 E% d0 H
  1594. " Z& }0 _7 Y/ U
  1595. ; allow Distributed-COM calls
    0 B5 q7 @6 c. g7 G3 p, m
  1596. ; http://php.net/com.allow-dcom% |# `# j7 }% T  F! s8 {- U8 ~
  1597. ;com.allow_dcom = true  M' i/ L1 z/ p& u; O
  1598. 8 S# ]/ M# `, ]( ?. m
  1599. ; autoregister constants of a components typlib on com_load()) ?- ]; T, h7 p9 A0 |0 c
  1600. ; http://php.net/com.autoregister-typelib6 l' Z3 V% }& E) n# j. O
  1601. ;com.autoregister_typelib = true
    3 e* C8 L7 Z- s1 Y. b/ `7 F
  1602. 0 c( n! t: o8 e6 |' B+ K
  1603. ; register constants casesensitive3 `" e) i) a# Y" t5 {& ]
  1604. ; http://php.net/com.autoregister-casesensitive- t  O) A$ s9 Y( R% g
  1605. ;com.autoregister_casesensitive = false
    ( V  l2 f7 `7 p9 |1 Z

  1606. 5 ?! l! Y2 |- A6 ]% H& y
  1607. ; show warnings on duplicate constant registrations
    7 m" j( \! V) c" A- t
  1608. ; http://php.net/com.autoregister-verbose& r& ]- y* r" z5 \* ^3 R
  1609. ;com.autoregister_verbose = true
    , r  f. c$ C0 n

  1610. 6 B- F# U$ e$ C9 N; N
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    - ^/ \! \5 q6 F4 b2 T
  1612. ; Default: system ANSI code page
    ! ^$ X7 A0 r6 d
  1613. ;com.code_page=' W6 a, Q, r' ]/ U/ e

  1614. 4 e7 ~8 _4 h/ |& \
  1615. [mbstring]
    $ F) t9 H6 i# C1 I
  1616. ; language for internal character representation.
    / Q# J9 j4 e6 E! Y8 F* K" G7 ~
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    ( l$ M7 u6 M: [- Z& ?6 ]9 z7 G
  1618. ; http://php.net/mbstring.language
    1 M9 u) q* P, k) y' l) ]: _
  1619. ;mbstring.language = Japanese; W3 H' W1 Y% K9 x  Q
  1620. ; J- J( m3 e' X' F
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.# `9 B6 {( K9 L/ Q1 x
  1622. ; internal/script encoding.
    4 O7 X8 p& w- j+ R* _( y7 G
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    9 V/ C2 N3 s+ A" j
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    . @/ z+ o" N, U5 t3 |% Y4 Y
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ) x* ?$ s7 y& Q
  1626. ;mbstring.internal_encoding =, P2 q1 Z6 _9 J7 T" T1 \/ Q
  1627. ) a3 M7 N1 f" _& o9 `
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    . k. z, k: g' l- Y
  1629. ; http input encoding.0 E& r' K3 T; T  D6 R
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.  ~2 m5 F0 b; y+ c: B5 d. Z
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.- b1 @9 }" o6 }7 e  h; F
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input6 b, g1 Q) d3 c5 G
  1633. ; http://php.net/mbstring.http-input
      X) |% r8 B9 d! n
  1634. ;mbstring.http_input =1 d- H) ~: w' q5 H) u
  1635. / w4 i  c% P! I4 _
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ) M7 a4 q9 I; T+ v
  1637. ; http output encoding.* l& G3 `$ w# k* w+ s( u4 h$ L" I
  1638. ; mb_output_handler must be registered as output buffer to function.* A" i! `) d/ @  S& F& V: E6 h! U
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used." U/ f! [5 j4 N6 ?
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    , W# \& l$ S( K9 @$ T! G
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
      x/ p/ V) f  Y* O' S5 @0 |2 J
  1642. ; otherwise output encoding conversion cannot be performed.
    # a$ H) L8 k: L) i4 q# d
  1643. ; http://php.net/mbstring.http-output- A. h( A- U$ y4 G9 `/ G. w
  1644. ;mbstring.http_output =
    ) j. K$ U& ~8 ]# r- Y. G
  1645. 1 c: a$ P2 g' N2 }: c2 E
  1646. ; enable automatic encoding translation according to: e) x% V' a4 w7 T+ u; L5 e
  1647. ; mbstring.internal_encoding setting. Input chars are2 y6 B# P$ _) n7 F7 v
  1648. ; converted to internal encoding by setting this to On.
    5 V3 J2 j- x' [$ Q8 u0 X: D1 A3 z0 l
  1649. ; Note: Do _not_ use automatic encoding translation for* P" @0 k  W  k. O! f2 X+ V
  1650. ;       portable libs/applications.1 E7 B& B, o. \7 E( X
  1651. ; http://php.net/mbstring.encoding-translation
    , B/ B; ]+ e% _9 {/ p
  1652. ;mbstring.encoding_translation = Off3 g! `7 V' \5 u0 X
  1653. ; S2 [+ O3 \# U, k
  1654. ; automatic encoding detection order.9 I' ^  o' b& S  x1 v7 x
  1655. ; "auto" detect order is changed according to mbstring.language: l# D+ A. j3 c8 X
  1656. ; http://php.net/mbstring.detect-order
    / j- Z& ~  x) l8 x4 g5 ^
  1657. ;mbstring.detect_order = auto% i! ~* l* k& \3 Y5 y
  1658. ' n: _4 w- ]+ s& C- y
  1659. ; substitute_character used when character cannot be converted5 h# R( E4 |* ~; r& l5 t; A9 Q* w  M
  1660. ; one from another
    6 @; g& ]$ S; {7 E2 F
  1661. ; http://php.net/mbstring.substitute-character
    , U( C4 \& s- f1 T  B" G  E
  1662. ;mbstring.substitute_character = none0 l' ^& E( z* r+ _; ^: }, ]
  1663. 6 w1 F& F+ C3 H
  1664. ; overload(replace) single byte functions by mbstring functions.  Y. x( q4 x& q$ u' f) Y7 s2 `
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),  I! \3 g; A2 i8 u$ @8 G
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.' f1 A7 V, {6 Y% w% p
  1667. ; For example, 7 for overload everything.
    - Y: y# p5 V/ E8 N* i
  1668. ; 0: No overload0 e, |* s/ c( C1 L
  1669. ; 1: Overload mail() function
    ; a# h5 Y1 }, x/ ]+ X
  1670. ; 2: Overload str*() functions4 [( h/ Z$ }0 u9 u, ^
  1671. ; 4: Overload ereg*() functions, I9 @! l; P6 r$ h
  1672. ; http://php.net/mbstring.func-overload
    ( J4 J6 X, L  C1 I( F( R: ?/ f
  1673. ;mbstring.func_overload = 08 J# W4 z, ?0 ?6 w1 X- ^
  1674. 3 ^) R% P7 B8 ~% o3 g5 r# \
  1675. ; enable strict encoding detection.+ {0 W% b3 z0 E0 G- f& B% F* k
  1676. ; Default: Off
    % g6 f+ ?* ~4 i, \, Y1 A, K: ~1 X
  1677. ;mbstring.strict_detection = On) U0 e+ U) L3 M: x+ q2 a

  1678. : L# X/ ~4 X8 X  P9 p; d; ^! K
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler(), q9 h0 {8 {# ~" a1 n, l
  1680. ; is activated.- }0 K4 s- v9 [+ r! P5 ]+ ]- d* @
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    " f6 ~! |# A& K6 n! L* Z
  1682. ;mbstring.http_output_conv_mimetype=
    : P2 i9 f/ M3 b  J8 s5 l: \2 {0 x
  1683. $ p2 F. H9 e) w0 E5 h) G
  1684. [gd]
    & k# E1 z4 \* S( L4 V' y6 H! R
  1685. ; Tell the jpeg decode to ignore warnings and try to create1 V2 U0 t! y' Y0 P
  1686. ; a gd image. The warning will then be displayed as notices- x/ m) ~; R, Q1 r3 S
  1687. ; disabled by default- e& q0 {$ P: C: [8 f
  1688. ; http://php.net/gd.jpeg-ignore-warning8 ]; b% X/ K& o6 [$ D# K# m
  1689. ;gd.jpeg_ignore_warning = 0
    6 a9 |7 J- r- L$ V$ p$ y
  1690. 2 _! [: S8 B) P5 U& ^! z1 r: u) F
  1691. [exif]
    3 y& U8 K7 A" L# k6 g
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.& k$ P$ @1 o" W  `3 ~
  1693. ; With mbstring support this will automatically be converted into the encoding
      t4 B1 y: t6 Z( r; e
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding5 g4 `. j6 c0 `5 j3 [
  1695. ; is used. For the decode settings you can distinguish between motorola and
    * x: D5 e8 |9 @1 ^% B* w. p; r
  1696. ; intel byte order. A decode setting cannot be empty.5 {" M1 F8 |  B3 o" Q  Y/ i: `
  1697. ; http://php.net/exif.encode-unicode: V# H. d% Z8 m2 q; _9 r6 c: `
  1698. ;exif.encode_unicode = ISO-8859-15( X2 V9 [( _! s* \( s
  1699. 3 E/ P" @5 R6 v% ^4 k  `
  1700. ; http://php.net/exif.decode-unicode-motorola
    ! t$ x4 q; \" K! h  T: D8 L5 g& _
  1701. ;exif.decode_unicode_motorola = UCS-2BE4 G1 O3 i$ e2 h# y. H: V
  1702. ! m1 T; k2 X1 s+ H- b3 ^
  1703. ; http://php.net/exif.decode-unicode-intel
    1 P$ s# U$ q9 R7 C% g5 c- T% i+ w( ]
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    : s& k5 W1 {3 ]# t  a7 I

  1705. # {6 r0 _$ x- O/ V" `
  1706. ; http://php.net/exif.encode-jis1 G+ {1 C8 [3 G! @+ v4 m
  1707. ;exif.encode_jis =- i" ~+ `5 ?4 p$ o% O6 X; \. q

  1708. ) Z9 P  f# C! J, i; T" u
  1709. ; http://php.net/exif.decode-jis-motorola9 }, c/ M/ d: h7 k$ C8 {! f3 v
  1710. ;exif.decode_jis_motorola = JIS( u7 ^! v5 f& S" v5 m5 t
  1711. ; P+ j: [3 \1 h7 {
  1712. ; http://php.net/exif.decode-jis-intel
    $ X+ z% d- @, g8 z# n$ _( I
  1713. ;exif.decode_jis_intel    = JIS$ J$ K6 D  B8 w* K& B- R

  1714. : w0 }. g' R. d7 [. @4 K
  1715. [Tidy]/ V/ T- I' [6 |2 P% l4 V
  1716. ; The path to a default tidy configuration file to use when using tidy" p" q" O% k" s3 I: u% G) I) ^0 Y
  1717. ; http://php.net/tidy.default-config  [6 Q8 k8 M$ ^8 j: Z% i
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg( C, G' A3 ~/ C$ n, L) v% f8 L5 J

  1719. ' |7 c$ z$ c5 `1 X$ m9 O: b
  1720. ; Should tidy clean and repair output automatically?3 G5 A; I8 B3 h, b$ P7 v9 a
  1721. ; WARNING: Do not use this option if you are generating non-html content
    1 e1 y" E* M) _9 B9 V
  1722. ; such as dynamic images
    ( W& r3 j$ k) Y, F# p: q$ ~
  1723. ; http://php.net/tidy.clean-output
    : ]  W+ ^( O0 }- a# y$ k1 ^4 F! L- F
  1724. tidy.clean_output = Off
    # V8 m: \+ r) a/ g2 X

  1725. # g3 o* H6 z8 i  l  i' G
  1726. [soap]) ~7 Q/ k9 t$ y! d6 t9 ~
  1727. ; Enables or disables WSDL caching feature.5 B8 ?! {7 w+ F  e  v8 m7 w0 G" G
  1728. ; http://php.net/soap.wsdl-cache-enabled
    1 w( {0 {8 [: T
  1729. soap.wsdl_cache_enabled=1% W7 @  x6 n- \' P8 y- Y1 H0 H* S

  1730. & u/ g7 j5 o% V! s4 ]
  1731. ; Sets the directory name where SOAP extension will put cache files.+ Z  a$ }0 c1 Z- p
  1732. ; http://php.net/soap.wsdl-cache-dir
    ; j3 y& k5 `* S' g8 s4 l: [. E3 z: p
  1733. soap.wsdl_cache_dir="/tmp"* b3 q( J) M: W) }- D1 K8 t9 A  |

  1734. ; i3 Y3 e" i7 ?4 n3 J' w# Y
  1735. ; (time to live) Sets the number of second while cached file will be used
    $ e+ P' C5 K6 t
  1736. ; instead of original one.& j% H* u, `8 K3 r! ~# R; r! }4 r
  1737. ; http://php.net/soap.wsdl-cache-ttl8 {" W' l/ m; O9 b' q" f: D
  1738. soap.wsdl_cache_ttl=86400
    . _( [/ R1 }$ j, U+ `
  1739. ) k8 J8 p2 F5 J4 T6 ]$ x
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache): U. u3 O2 x5 g& g- P
  1741. soap.wsdl_cache_limit = 5; h, I% o2 w) `' Y2 Y/ N4 A

  1742. & f$ Z* }8 c8 t" f, n& b1 q
  1743. [sysvshm]2 h. m) O9 ]5 }' ?
  1744. ; A default size of the shared memory segment
    2 _+ W! b$ n; U: L4 q: g! u; E
  1745. ;sysvshm.init_mem = 100003 V) h) Z  S# A" ?( V

  1746. : F1 j* Q1 K4 Q" }/ s6 ^2 p6 U
  1747. [ldap]
    ) Z( V' M2 _0 d( n
  1748. ; Sets the maximum number of open links or -1 for unlimited.5 f: u+ I2 J) s1 ?. l8 Q  d1 I" P
  1749. ldap.max_links = -1
    & H( L+ _* A8 v8 l! U/ N; r

  1750.   X( p9 D$ f9 B0 n
  1751. [mcrypt]
    & g5 h% X# p( w
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ' F7 L6 @  q6 o6 q7 s" i
  1753. 8 F" H/ J+ R) Y+ v. t* I: }
  1754. ; Directory where to load mcrypt algorithms( p* q) z) U; ]; G4 }. G
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    7 w# h+ s" q, Z; d. w
  1756. ;mcrypt.algorithms_dir=0 j( Q- {# O0 }( g; \) i. t

  1757. 5 t+ X+ M. V+ G; `6 D  I# S
  1758. ; Directory where to load mcrypt modes  Z) ^; d/ W; V- X9 p, ]& z5 }
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ) I. A7 R; g& Q. M4 Z# o5 Y; m. F
  1760. ;mcrypt.modes_dir=& m6 \" m& A3 Z& ^) w1 z

  1761. ' I0 l( Q1 x# i+ K$ r. A
  1762. [dba]: K: |/ ?2 `% E) U# g, t
  1763. ;dba.default_handler=
    % F) T/ s) m- b) y& {* S# d- K

  1764. % s0 {' `( y) @7 f" J
  1765. [opcache]9 h0 @. c; Q" W
  1766. ; Determines if Zend OPCache is enabled* B' ?. i. D, h+ }0 i; y7 G
  1767. ;opcache.enable=0+ s5 \6 Y, S  p/ r# X( B! s
  1768. 8 Y* b1 V5 T2 I3 j0 V
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    & \, b: [- Q+ c1 W
  1770. ;opcache.enable_cli=0
    7 z1 L2 f. G6 r
  1771. # V5 J! |9 |4 N
  1772. ; The OPcache shared memory storage size.
    " m! K$ v6 r% G) Z5 z$ k" \
  1773. ;opcache.memory_consumption=641 w2 `. q/ O) C$ c) j4 W3 w
  1774. 1 I( e8 k4 A. O! v
  1775. ; The amount of memory for interned strings in Mbytes.
    5 L: P) T8 v  N! ~" L8 d
  1776. ;opcache.interned_strings_buffer=43 p# W" l6 G  J; o
  1777. ' ^, n9 K7 M1 \& m
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.' h) V& d( z7 ^% Z: U% e
  1779. ; Only numbers between 200 and 1000000 are allowed.
    ( V* ?9 ]8 S) L' F3 d+ e- W
  1780. ;opcache.max_accelerated_files=2000" P; v3 T/ W% |

  1781. , v5 e) `& s# P6 }
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled." k: [1 [/ z# R* K9 G" `- J
  1783. ;opcache.max_wasted_percentage=5( K* c3 X5 C5 J

  1784. 0 K9 A1 K: K$ X
  1785. ; When this directive is enabled, the OPcache appends the current working5 C6 ~3 N5 N# Q8 F' ?- H
  1786. ; directory to the script key, thus eliminating possible collisions between
    ; ?& {, Z* s! Z/ W, R2 C
  1787. ; files with the same name (basename). Disabling the directive improves
    " d" s8 Z7 ?4 ^7 ?, S4 Z: u
  1788. ; performance, but may break existing applications.5 D0 q( N; a4 n6 b9 z( ~2 G) f  ]! c
  1789. ;opcache.use_cwd=1# A, d* k+ G( ^# Q: P6 q$ p6 i- F

  1790. ( p3 Y) ^7 z2 r( q! e5 [7 g
  1791. ; When disabled, you must reset the OPcache manually or restart the
    7 _" z/ i  ]3 D8 I
  1792. ; webserver for changes to the filesystem to take effect.
    ' G, E8 W% z* _. e) k
  1793. ;opcache.validate_timestamps=1
    1 `  Y# D: l, p
  1794. # I8 }# u2 U9 y6 s/ F) k
  1795. ; How often (in seconds) to check file timestamps for changes to the shared& _  I4 Y5 s& v) |& V
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    + }$ p# k7 ~$ I# e# r
  1797. ; once per request. "0" means always validate)
    - U7 f3 C: _/ |7 r  ]! O
  1798. ;opcache.revalidate_freq=2+ Q8 R. z4 _" g" d  |" X

  1799. 7 o+ q- @! S7 X) d/ g7 z9 R
  1800. ; Enables or disables file search in include_path optimization; S+ O7 O4 n3 D# T4 j( {
  1801. ;opcache.revalidate_path=0
      V9 h. `. l$ |2 Z3 b

  1802. ) Q) Q9 }/ V' l# R- F
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    % \- L/ Z# f8 H1 S( X
  1804. ; size of the optimized code.; c, T3 U# i" z6 `2 O3 u
  1805. ;opcache.save_comments=1
    1 m$ m- h! B8 B4 d: d

  1806. % I& n1 S* P; U! n- `
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    " Q; p0 b6 n2 a; [5 y
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    / I) h: y7 c, f/ H. x
  1809. ;opcache.fast_shutdown=0
    * _3 S: B) `( W

  1810. 5 G8 o4 }- h; h/ e, e9 K3 o
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    : ?6 w' y. n# W$ e! ~
  1812. ;opcache.enable_file_override=0! ^& j9 C+ a9 A+ G2 I1 p9 H& ]
  1813. & a9 @, ?. [2 j/ R7 [' T# M) W
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    9 x' p( y  [* b6 o$ h
  1815. ; passes$ _9 {! L+ ^4 n7 ?& M5 f/ D
  1816. ;opcache.optimization_level=0xffffffff. @/ t$ f, |, ~7 h' r7 s7 N
  1817. 4 C. W1 c- M& z; U( v0 `
  1818. ;opcache.inherited_hack=19 Z% F$ P4 [2 J! @( g7 A
  1819. ;opcache.dups_fix=0: N% h* S- D/ O* K

  1820. 7 n* g3 m$ Q# ]8 L
  1821. ; The location of the OPcache blacklist file (wildcards allowed).! }. m1 {  m/ ~7 v! N1 q1 ^+ J9 i
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    & J% p4 w2 E( N& T5 d3 B
  1823. ; that should not be accelerated. The file format is to add each filename
    3 }. c% \3 J$ k+ p- l
  1824. ; to a new line. The filename may be a full path or just a file prefix
    5 l, u$ Y1 G1 B
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www% T7 N) N, X5 C2 c( p7 |- h
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).9 n% S$ o7 _2 h8 X
  1827. ;opcache.blacklist_filename=) e! z: u" {: u/ [7 l% x

  1828.   G, c  e7 ]: \
  1829. ; Allows exclusion of large files from being cached. By default all files5 g! n4 I4 n$ @5 j; D! U6 R5 r
  1830. ; are cached.7 z/ ]" ]! M3 W9 K) Y+ z& f
  1831. ;opcache.max_file_size=0
    . J/ o1 O. D1 v. @1 h7 l

  1832. 7 N$ k7 a* ~; y" N  ]9 e: m
  1833. ; Check the cache checksum each N requests.
    * C- W$ P0 ~! q6 K" b
  1834. ; The default value of "0" means that the checks are disabled." j1 ?. y8 a3 g% F  N2 H+ `
  1835. ;opcache.consistency_checks=0$ v6 X( w) m& f& X) h# a% Y
  1836. % N$ c3 A1 ~( N: p' w
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    + g/ I' h  r6 D3 @: z" D" O( y
  1838. ; is not being accessed.9 g& }& D, R5 \/ S
  1839. ;opcache.force_restart_timeout=180
    2 s) `$ f% L$ L* Z& n
  1840. : _0 u2 g% W! @& x% T1 t! j; ?
  1841. ; OPcache error_log file name. Empty string assumes "stderr".$ `5 v* u0 J$ w! P6 w  ]# {
  1842. ;opcache.error_log=
    4 @3 h7 b$ i6 x! Z

  1843. 4 J5 _; ^& u* Z* d5 {7 \
  1844. ; All OPcache errors go to the Web server log.
    5 r2 Z- v9 k- F! a2 m5 B) c
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    7 A% k/ g3 i- P2 t/ q) B) P
  1846. ; You can also enable warnings (level 2), info messages (level 3) or4 N( e) }& }% v* w2 F
  1847. ; debug messages (level 4).6 E  |7 \" [- F, z6 W
  1848. ;opcache.log_verbosity_level=1
    ! N# y" g7 c) w9 V. C6 Q/ A( p* I9 |
  1849. - K; F  S5 @  }/ o7 `8 z
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide." W& H% p0 Y& u
  1851. ;opcache.preferred_memory_model=$ j5 M  l9 W: i# D

  1852. / s1 a1 W2 @: T/ Z
  1853. ; Protect the shared memory from unexpected writing during script execution.9 a3 j1 e) p& A$ s7 E! N& l
  1854. ; Useful for internal debugging only.
    " D9 J+ C  q4 e. u$ ?0 M
  1855. ;opcache.protect_memory=03 y! u  U7 n- k
  1856. ) {7 J% _2 C$ }# \  h& I
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is8 o2 D- i/ Q& ^4 j# ]( a/ C, t
  1858. ; started from specified string. The default "" means no restriction
    - V/ c) q6 D2 ]( y5 _) z
  1859. ;opcache.restrict_api=+ K! m# O1 x4 g$ F; ^
  1860. 9 i4 p# P# C; N$ Z+ ~
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    / B! l5 X: T; l1 r, f
  1862. ; processes have to map shared memory into the same address space. This
    ' ]& ^! V% Z7 @' T: m- [$ B& R# e& B
  1863. ; directive allows to manually fix the "Unable to reattach to base address"( G7 d/ r! x# j( F/ t$ x$ h8 V
  1864. ; errors.: v1 s2 {3 }9 S8 _
  1865. ;opcache.mmap_base=9 V/ I( Z& [) M- y" x- c0 W& H' E
  1866. 1 u* z8 u! L& H: y2 J  n! F* F& o
  1867. ; Enables and sets the second level cache directory.
    2 ]1 j3 ?' ~3 G% Q: N/ w9 A# V
  1868. ; It should improve performance when SHM memory is full, at server restart or6 J# Y" e3 e  P* A1 n; o
  1869. ; SHM reset. The default "" disables file based caching.
    & U. z( d, }9 @' o) o* F) Z! Y
  1870. ;opcache.file_cache=! }. P9 T! r) j

  1871. 7 c! k% R# R- H. ]& R' B" c
  1872. ; Enables or disables opcode caching in shared memory.  z  K- F! X# q# n4 U- o
  1873. ;opcache.file_cache_only=0
    ( {, k9 O1 a" w$ Z

  1874. - w5 H0 w, y* c' u+ x1 i1 p
  1875. ; Enables or disables checksum validation when script loaded from file cache.: }4 l4 @/ S4 s: a  G, H+ j7 F
  1876. ;opcache.file_cache_consistency_checks=1: ~# n, Q/ F: U8 p! R
  1877. 7 N- @! {% v! X. a( k0 \/ H9 `
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    , e2 X+ v" _; ^  {- k: a( `
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    . r+ D2 k4 P5 w% }4 {+ j0 m0 P
  1880. ; cache is required.
    6 d7 d: m6 p' I% ]" x6 O: m
  1881. ;opcache.file_cache_fallback=1
    ( P! }7 D7 V/ e6 V9 x3 p8 }

  1882. ; Z+ S) [0 x& q, G5 H( q3 F/ Q  E
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.! H! N; ?8 t0 r" j. d5 H  e1 F
  1884. ; This should improve performance, but requires appropriate OS configuration.- x& k) E" U; N. y5 @
  1885. ;opcache.huge_code_pages=1
    ) R6 \' F# L+ n$ C! D( H9 n
  1886. 1 L; ^. k& W/ H. i) _: ~
  1887. ; Validate cached file permissions.
    ; G1 t) d- j0 h/ j& `$ M* @5 I: y) ^
  1888. ; opcache.validate_permission=0
    + O! Y# t# C5 b: F

  1889. 9 ~6 ~3 P% l& M7 ?* V  Z, W8 E
  1890. ; Prevent name collisions in chroot'ed environment.
    & {; c1 e, }, S. h- b# |$ g' d
  1891. ; opcache.validate_root=09 i6 e3 n" I' ?7 \2 E3 k# q
  1892. 1 _3 V( C1 V: U: S
  1893. [curl]4 r0 W' G$ `% N( e3 n
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    5 X' w/ T$ _8 W
  1895. ; absolute path.
    $ d$ W! d) L: K2 m
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    . u  O$ f* e, @# t1 j* L

  1897. : `8 K8 E4 |: I) ?4 A$ b$ M1 W
  1898. [openssl]2 d8 Z6 F& b% }1 O6 W- }3 [
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem1 r$ x! h# L( T, q, I0 [/ H2 u
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    5 G& b7 D. u& {* W- U3 h2 h
  1901. ; not specify a value for this directive as PHP will attempt to use the
    % D* A. ?+ X6 F; h& j, m
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    5 _* u7 [! O* u8 `+ O4 \
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context# y& r. P- C# k2 D
  1904. ; option.
    5 x. c" V0 i2 n* d+ U& a
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt  F% A' c: b1 c
  1906. 1 ]7 X5 n: y+ G6 w# k$ ^+ u
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the$ c7 }: b9 k- x9 O& \
  1908. ; directory pointed to by openssl.capath is searched for a suitable0 E3 q; ~7 ?6 M  [
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    $ o" R) X2 R" I1 k6 x
  1910. ; Most users should not specify a value for this directive as PHP will' X0 f# \3 R6 L1 G
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ! z# c2 H* G* V8 r. G; m: S
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    2 |1 n* F: w6 I: j
  1913. ; SSL stream context option.( S7 u6 q: E8 b$ E% @5 U
  1914. ;openssl.capath=
      R: c$ k- c/ U7 x0 w' W$ v7 x
  1915. 2 y9 n. V- H# n/ t. U
  1916. ; Local Variables:
    5 L( K* l7 t% M" D9 K/ u, [7 T
  1917. ; tab-width: 4" S2 r9 c, e( z# U* q* F* k
  1918. ; End:
    ' J/ q% {7 z. U" Y* {/ D

  1919. . G# C! [2 s, T
  1920. ;eaccelerator& R* S1 ^1 q9 [  I* M
  1921. 0 v5 ^6 O8 h5 o, P4 z
  1922. ;ionCube3 x9 L3 s- [, j+ t; D

  1923. ( y4 _: d' d9 v) W0 I
  1924. ;opcache
    ! E* q) B2 K0 d3 Z
  1925. # l  S4 D% V5 n; A4 c! d
  1926. [Zend ZendGuard Loader]8 c' z4 s9 z5 t- ?5 x
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    6 a& g2 v8 F$ G/ B! ]* r
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so- p! E) K- V3 I0 V/ N# W) M% _9 W* p
  1929. ;zend_loader.enable=1
    ; l; J% P, Q4 m7 X
  1930. ;zend_loader.disable_licensing=03 U# r' g4 L' K! O$ n7 ^% j
  1931. ;zend_loader.obfuscation_level_support=3
    0 A8 N9 Y2 b' S$ d2 z& W9 v3 \
  1932. ;zend_loader.license_path=
    * Z8 f2 h0 K% W! y5 _( q9 v

  1933. ' U. O% w6 w( O; j
  1934. ;xcache
    " L, z& Z/ p5 h% M" A: j& v0 V

  1935. ! C/ \4 `6 V/ G/ L
复制代码
( i" X1 M5 A' D% V
; t. z. C* C3 j- b2 T1 t  |1 U8 y
6 ^" @7 v8 {  y, z
; T/ ^4 V3 J3 h& P7 w& ?

( s. k% U% J/ }" S& c% c1 J& J. W: g! I( S$ [# W1 s
( L1 e" z* [( X$ ]0 E" u$ C
PHP5.6版本原始设置
- x* Z" K& D) n' G- K- s( ^, M) i0 D. P: E
  1. [PHP]5 ?3 {2 A" X# G, w8 Z9 O
  2. 2 Z, Q. H1 H: m" t7 q0 g
  3. ;;;;;;;;;;;;;;;;;;;
    5 ~) m+ Z5 a- M
  4. ; About php.ini   ;
    5 f) z$ `$ f4 L  g. Z" B
  5. ;;;;;;;;;;;;;;;;;;;
    $ }+ G! u, f, d' |2 j' k
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    8 j2 w  v* R7 T* V
  7. ; configuring many of the aspects of PHP's behavior.# `6 C  Y4 a0 @4 j4 i9 h
  8. 3 K- P& Z9 Q$ N% t1 f
  9. ; PHP attempts to find and load this configuration from a number of locations.# B" T1 v+ S) g7 {4 X( o
  10. ; The following is a summary of its search order:0 \0 }) p' O$ o: [' a3 L
  11. ; 1. SAPI module specific location.
      ~$ F  N# Y2 y7 C/ ^3 d
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)3 |( x+ O4 U1 f" {
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    / v' z  k' R1 H. g9 `  M) Z9 s
  14. ; 4. Current working directory (except CLI)
    - W: Z' |# \, E3 L2 |
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    8 g1 p9 h4 c9 i0 h# D7 b0 X# F
  16. ; (otherwise in Windows)  `" I; S3 B. T  m; I1 g
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    & F. M) X/ D* \
  18. ; Windows directory (C:\windows or C:\winnt)
    / f, L! e9 Z  B" |& X
  19. ; See the PHP docs for more specific information.+ b  g& \# l9 n& \' Y7 t- ~
  20. ; http://php.net/configuration.file
    ; s1 r& v1 i3 J$ i% j
  21. " }2 c8 Z0 I" C2 r: A7 P( }
  22. ; The syntax of the file is extremely simple.  Whitespace and lines9 u: a' \; D% z; `
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    1 l1 F3 k( ?9 Z2 S, y, e" S
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though6 F+ h4 W  f8 Q9 Q  }9 W2 a
  25. ; they might mean something in the future." n. S0 X) }2 v" h7 ]/ E
  26. . f, X/ G$ p% _* I
  27. ; Directives following the section heading [PATH=/www/mysite] only# l+ ^( X. d/ o
  28. ; apply to PHP files in the /www/mysite directory.  Directives& z; G! ?7 `4 e/ P, m( N% m
  29. ; following the section heading [HOST=www.example.com] only apply to  k; {# {5 A. w* U, Q5 y7 d
  30. ; PHP files served from www.example.com.  Directives set in these4 L. q9 l/ p, j" d3 o/ {8 v
  31. ; special sections cannot be overridden by user-defined INI files or
    3 ^: k2 s6 a; @) ]9 A" l1 H
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under0 M; G  U, m& Z: L/ V( o7 u
  33. ; CGI/FastCGI.) N0 O/ o3 D' k6 U
  34. ; http://php.net/ini.sections" ~/ a3 N, a; [% T! T

  35. 3 R8 k; E) N6 x
  36. ; Directives are specified using the following syntax:6 @! C" |' M3 {6 D1 t* G
  37. ; directive = value3 @6 O, T& T5 `9 V4 m
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ' z" x# w: s& p. x9 }( u$ O
  39. ; Directives are variables used to configure PHP or PHP extensions.+ Q8 M+ P* p4 I4 v8 Y  S; U
  40. ; There is no name validation.  If PHP can't find an expected; @! P+ c. Q" m# u' L5 a: t( k3 H1 C
  41. ; directive because it is not set or is mistyped, a default value will be used.9 R9 {/ V8 Q3 R9 y

  42. 0 e6 G- \5 k1 d7 C
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    % }3 f* X4 s1 p* P- U0 k1 B; B
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    / x" D" m  q: E( `
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a6 F9 E* T7 a# a+ {" Z
  46. ; previously set variable or directive (e.g. ${foo})
    + [, S% j" G3 v" ^) g/ `9 c

  47. " i& z6 S& @+ C4 H! a6 t, E% ]/ {
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ) G' F" ?0 _, g0 K
  49. ; |  bitwise OR1 r1 {" P6 @# X4 T' F; T
  50. ; ^  bitwise XOR3 H1 f6 t9 u; q( m5 p: h, o
  51. ; &  bitwise AND
    . f& d% ~. v( U# L- x$ C
  52. ; ~  bitwise NOT
    7 h% Z- _9 m+ l" j
  53. ; !  boolean NOT$ n4 e8 N0 r/ G% F; t, [$ c

  54. ' x- Z3 N( r5 ~' Y+ A% L: X
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.6 U2 S7 h: P# F7 U$ r6 ?; @
  56. ; They can be turned off using the values 0, Off, False or No.
    , R; \( i" W2 t5 f! a
  57. % E) A; P4 m$ P# R1 l8 D) q
  58. ; An empty string can be denoted by simply not writing anything after the equal
    $ L4 @) R2 b# O4 Q4 W
  59. ; sign, or by using the None keyword:
      z  _1 c9 ]5 v( m. @

  60. , B9 d( ?) U2 @* v) e  m- V) J4 ]
  61. ;  foo =         ; sets foo to an empty string
    " m* B) g7 ^# G( b$ S: d
  62. ;  foo = None    ; sets foo to an empty string
    4 r8 Y* a& R5 p4 N, D& d$ N$ h
  63. ;  foo = "None"  ; sets foo to the string 'None'8 U& N3 n# W: _+ t" W/ }
  64. ! q, p+ n; R0 @  z
  65. ; If you use constants in your value, and these constants belong to a
    2 P1 H5 N) |8 w* {
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    6 f( |* c. o; }- _6 F
  67. ; you may only use these constants *after* the line that loads the extension.8 ]6 H* Y9 I5 h2 [
  68. ; G; L) D2 ~, _' W! ]
  69. ;;;;;;;;;;;;;;;;;;;
    * M  n" l# A/ T- n' I
  70. ; About this file ;# a3 H5 }/ }' [0 e' `: J
  71. ;;;;;;;;;;;;;;;;;;;
    - |' n7 N  \5 l2 o# v+ l9 y4 t) T
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    1 }, b" o% ?2 ]
  73. ; in production environments and one that is recommended to be used in7 m2 f6 T2 H4 G: `
  74. ; development environments.4 M) H6 _2 V! {0 \
  75. & X. T, m3 e# J" F+ O, V; T
  76. ; php.ini-production contains settings which hold security, performance and
    2 b8 x( p5 `. Y
  77. ; best practices at its core. But please be aware, these settings may break
    8 ]3 F4 X% E5 c# b# L8 p9 ~( b
  78. ; compatibility with older or less security conscience applications. We8 ?- x3 K. u# l" {
  79. ; recommending using the production ini in production and testing environments.
    9 \, B4 U" g$ g8 Q* B8 d

  80. . Y1 R8 z8 h5 S
  81. ; php.ini-development is very similar to its production variant, except it is
    : O1 i' B6 @/ Q& T; }
  82. ; much more verbose when it comes to errors. We recommend using the3 O; k2 ?/ M& {: g9 ?
  83. ; development version only in development environments, as errors shown to3 Q! H' ?# g1 ^) p
  84. ; application users can inadvertently leak otherwise secure information.
    - V1 p/ e. i  t/ X5 z; k  d

  85. 6 ?( N9 v  T. U6 u/ r# J, C( j
  86. ; This is php.ini-production INI file.
    9 B7 y7 Q* j1 l

  87. 5 p: c; Y0 @9 Y7 f8 q  i) U" a
  88. ;;;;;;;;;;;;;;;;;;;3 c1 Y9 G" L6 a7 i6 h; y+ ?
  89. ; Quick Reference ;# p: _- V# W5 o, D  L$ Q2 r2 [
  90. ;;;;;;;;;;;;;;;;;;;* o7 o3 ?9 @  w$ \% i8 y
  91. ; The following are all the settings which are different in either the production
    ! L+ t# `& _9 L$ f9 K$ Q( S  g
  92. ; or development versions of the INIs with respect to PHP's default behavior.4 m9 f, y4 f, w. u$ L; w3 ]5 e* K2 p
  93. ; Please see the actual settings later in the document for more details as to why
    / X. g6 T& ]' S9 ]7 [" j
  94. ; we recommend these changes in PHP's behavior.3 x5 v3 N5 ^1 v. G' h$ v
  95. & c; d% b$ {- ]: R0 E* m
  96. ; display_errors
    % F+ n, S/ j/ E0 ?9 Y3 R4 ]
  97. ;   Default Value: On
    & E1 c6 a( v5 f, F/ p
  98. ;   Development Value: On
    ' V, J4 _8 u' J/ M3 l" Y# M
  99. ;   Production Value: Off
    3 `! V! f4 V7 X' M7 z# A" E
  100. 5 j' Z2 [* t+ i8 t- r. m( @- f
  101. ; display_startup_errors- x) s: ]( E) `
  102. ;   Default Value: Off
    3 ?5 ]- `% Y; [3 w4 m! ]" L
  103. ;   Development Value: On$ E& D" w! v( g5 ^' X
  104. ;   Production Value: Off+ S+ c  T% o4 B1 |" \

  105.   v* P6 B3 B' I* j8 m( m2 ]
  106. ; error_reporting
    8 w: t5 y; @- k' c$ K9 g
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED8 b. z5 j/ Y  E8 _
  108. ;   Development Value: E_ALL
    2 d! Q3 s, G2 U. z
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ) O7 K- G* j' {7 c* p; `5 S
  110. : K* {6 ?3 H. K' p. ]
  111. ; html_errors
    4 l. H8 k2 a- f5 n' W
  112. ;   Default Value: On
    3 Q9 x- ?& Q% Z
  113. ;   Development Value: On
    5 V5 E* _- f* G) E6 y
  114. ;   Production value: On
    ) l7 `7 R* b9 \2 ]% D
  115. & L$ I/ [$ I2 p- P5 t2 y
  116. ; log_errors" c8 `) b+ a" t
  117. ;   Default Value: Off
    & v" b* I: g3 H7 N% m9 [
  118. ;   Development Value: On2 f1 t5 \) D% @0 w, X. [
  119. ;   Production Value: On
    ' p  R9 [! i6 r1 a" O

  120. ! g* {( S. x7 Z' \' x
  121. ; max_input_time
    5 K! G" l& h8 L6 i3 s8 J
  122. ;   Default Value: -1 (Unlimited)' K! }, l& k9 K
  123. ;   Development Value: 60 (60 seconds)
    $ J' [% c% t, p# T* b
  124. ;   Production Value: 60 (60 seconds)
    ; d# s) n. D( I

  125. % m  Z4 d( _1 [) O3 g9 x
  126. ; output_buffering7 J4 E8 h5 M; G6 _6 p5 I
  127. ;   Default Value: Off/ j) `- A5 Y3 p4 ?
  128. ;   Development Value: 4096& }# a, h5 a2 |2 \& h$ `8 p
  129. ;   Production Value: 4096
    0 f; f% k% H) J+ \+ _7 O
  130. 1 B! L2 e: C, Y) `
  131. ; register_argc_argv- b3 s8 g  O; O+ {; j
  132. ;   Default Value: On7 h& V6 a- J) ?$ H
  133. ;   Development Value: Off/ z) J1 `* e+ ]9 U
  134. ;   Production Value: Off$ o; {/ }  }  {) b" F3 f

  135. # \8 G4 `8 m9 F' Z0 @% g
  136. ; request_order
    & g3 M. D' ?2 c6 `4 A1 c6 J
  137. ;   Default Value: None
    4 S2 |! r& \' V* ?
  138. ;   Development Value: "GP"( T5 b" [- T/ v+ k- g) k  x/ f
  139. ;   Production Value: "GP"
    9 M* L1 ]" u7 H5 v. J( q- l2 |
  140. ' I+ w2 [/ D0 Z' u6 t# A
  141. ; session.gc_divisor
    # I' x0 o6 U( y9 \) ]- V) k
  142. ;   Default Value: 100
    2 L; |& x) f6 \8 M1 D4 h
  143. ;   Development Value: 10006 e6 ^5 y$ e3 k* ^
  144. ;   Production Value: 1000
    * e* s4 l* N8 E& z. D9 B3 v% P
  145. + X; q' `$ x5 h" s9 x
  146. ; session.hash_bits_per_character2 g% ~" D$ L2 K) F3 D
  147. ;   Default Value: 4
    : l' ]. K9 @0 L9 i9 a: ]% o9 Z
  148. ;   Development Value: 5
    ; E9 J2 m% i2 Y2 E7 H) p4 }
  149. ;   Production Value: 53 g5 L5 q9 b, q

  150. / {( Q% a$ y8 y0 F7 ^: |9 a/ A
  151. ; short_open_tag
    3 c& {0 j# m! K2 i6 P
  152. ;   Default Value: On
    8 e$ M5 \. U* I  w( m  A1 I% t
  153. ;   Development Value: Off: Y- Y! O' d4 ^( u! {4 }8 y( V
  154. ;   Production Value: Off2 V( s1 _& {$ G& N
  155. 9 X( |4 Y/ t& ^  Q
  156. ; track_errors
    ; |0 O' t6 D, I+ s! a9 _! t
  157. ;   Default Value: Off
    ; K( C) l. T; @5 |. D
  158. ;   Development Value: On
    2 q, _0 I- J* a8 B; u# N+ Q! Q; f
  159. ;   Production Value: Off% G3 I- o3 q* l& M0 y6 p# Z

  160. ; w( j8 _# l' e
  161. ; url_rewriter.tags
    / k  X0 j4 o+ ^& D, h
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="" {' V; q1 t4 u
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- L: d7 k5 K0 n( }* A
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"7 K2 C' K& [8 f  s2 i3 Y
  165. : {* g3 G, N! C" h. k+ F
  166. ; variables_order
    # Y; t  \. k! w/ C8 I
  167. ;   Default Value: "EGPCS"
    9 H) x" O, C/ \2 s3 q
  168. ;   Development Value: "GPCS"
    7 x- l2 E+ x: j" F6 \
  169. ;   Production Value: "GPCS"
    / }: @4 k0 F5 U( F+ B8 H# s  O

  170. % O% J! X. \; W. K6 y
  171. ;;;;;;;;;;;;;;;;;;;;
    + e3 ~1 h9 i! L* O
  172. ; php.ini Options  ;3 R* a4 W6 \, m8 H6 u/ P
  173. ;;;;;;;;;;;;;;;;;;;;0 C5 P# Q# m! R* T% c$ L8 t
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"# c, P& m3 d; Y5 u  A& _
  175. ;user_ini.filename = ".user.ini"
      u4 E5 J) L. h& j; a( A
  176. ( w7 E" I# R' _1 {
  177. ; To disable this feature set this option to empty value  @& I, h. t/ m8 Z. [
  178. ;user_ini.filename =
    : c  q/ Z) X* L3 x/ }

  179. ( e0 b7 Y5 w4 j$ n# r- d
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    . L4 {) a  K& V7 T! X$ x
  181. ;user_ini.cache_ttl = 300- L" }0 d6 O: n7 V& ?# l3 p
  182. + T& m. l" h3 B$ J, M
  183. ;;;;;;;;;;;;;;;;;;;;
    + N( T! w% G1 r
  184. ; Language Options ;
      x1 v( C6 ~( C, [8 G' P
  185. ;;;;;;;;;;;;;;;;;;;;4 s- ^3 i: G& o
  186. 4 M* r4 ~# q' C( {* f+ ]; K
  187. ; Enable the PHP scripting language engine under Apache.
    " [' P( C; M3 M* w
  188. ; http://php.net/engine
    * i$ o  H4 }7 n% I- u
  189. engine = On% a3 y/ ?& r% r! s9 E
  190. + }0 h% ^0 A7 \2 T! _/ J
  191. ; This directive determines whether or not PHP will recognize code between
      a) J# `% h- {  j/ Y& o3 Y2 i
  192. ; <? and ?> tags as PHP source which should be processed as such. It is  [0 {( S8 G& u) \6 a0 _6 j
  193. ; generally recommended that <?php and ?> should be used and that this feature5 l7 x9 t+ Q! e3 D
  194. ; should be disabled, as enabling it may result in issues when generating XML! g8 N6 R9 C3 I0 s/ B+ y
  195. ; documents, however this remains supported for backward compatibility reasons.( S0 t/ o5 M2 l1 ]7 e0 f7 M$ J
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ; M* Y  v7 m& C: C# y, W7 `+ D# U# p
  197. ; used regardless of this directive.
    + Z# W# q, X+ I+ B  _2 ?2 m0 p
  198. ; Default Value: On6 _0 M" y- y3 U  U$ t" |0 n. E
  199. ; Development Value: Off
    ; J' [7 L0 ]$ k* f) b
  200. ; Production Value: Off
    : `  i! ~2 a& q: P) v0 G
  201. ; http://php.net/short-open-tag
    4 t5 C* K$ Q/ u0 M5 P0 F% B* I
  202. short_open_tag = On
    ' c/ r. p, P5 x) P, P; p) }( b
  203. + _# g% S& n1 F6 z
  204. ; Allow ASP-style <% %> tags.
    : w5 K  L8 z, X4 m, o5 o2 ^
  205. ; http://php.net/asp-tags5 K* h- E7 A; Z" }$ {) S3 v/ i4 T
  206. asp_tags = Off* C: Z& J# Y$ {( i
  207. , K2 J. ^: @5 y" z' |
  208. ; The number of significant digits displayed in floating point numbers.% q8 C% `3 Q. k8 ]1 b% o
  209. ; http://php.net/precision- [, O) K3 o% T2 V
  210. precision = 14$ P, G. W3 Z1 n3 F

  211. + o, _/ P4 E% R' V
  212. ; Output buffering is a mechanism for controlling how much output data
    8 c+ D% Y/ P3 t
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    % ]0 E; \! N$ I1 b: |: v! {
  214. ; data to the client. If your application's output exceeds this setting, PHP! y. r, R! p+ i
  215. ; will send that data in chunks of roughly the size you specify.
    + t- g) i4 q6 H2 \4 E" m( L  F+ S
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    / s* H2 Y( V8 W9 A0 t* ]" ?
  217. ; interesting side-effects depending on your application and web server.8 v2 n2 Z0 A/ N
  218. ; You may be able to send headers and cookies after you've already sent output
    2 @/ c) }3 d: m4 Q( J* e7 G
  219. ; through print or echo. You also may see performance benefits if your server is
    & c6 c& N# o$ B' w  F1 f  ?
  220. ; emitting less packets due to buffered output versus PHP streaming the output; d9 z/ Z$ V5 E' R
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    6 H* |  \2 T; b  W2 ~) g6 d* k3 l
  222. ; reasons.
    * v4 s2 z( F! T+ U
  223. ; Note: Output buffering can also be controlled via Output Buffering Control) i& |# o  ~- }# H/ @4 \. H
  224. ;   functions.# J7 }$ |( |9 n0 J
  225. ; Possible Values:
    0 U. j$ K% R$ ^% F* U: i
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    - T2 Z8 r5 p9 k, E' L
  227. ;   Off = Disabled
    ! }+ J4 |& X8 t5 u
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.8 T* e+ X+ d" F, }8 U) m/ A
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI+ Z9 Z; l- L! J
  230. ; Default Value: Off9 ~& v4 T) C% o9 z
  231. ; Development Value: 4096
    * B" l. T& G+ k/ o
  232. ; Production Value: 4096
    : `% N3 d% |7 I  }
  233. ; http://php.net/output-buffering1 @/ i7 Z* h( c; S7 b# R- z
  234. output_buffering = 4096' I3 L) [* V. Z2 l$ S
  235. & }! t* g4 a  p5 |. f* A8 c& a
  236. ; You can redirect all of the output of your scripts to a function.  For
    9 Z7 T: Z8 @; |# w! v8 d
  237. ; example, if you set output_handler to "mb_output_handler", character
    * ?0 m0 e. X2 ^- d. t- m( q5 x
  238. ; encoding will be transparently converted to the specified encoding.
    8 |/ I, Z% g5 K3 {- g
  239. ; Setting any output handler automatically turns on output buffering.
    6 B) l0 @/ O) N2 S! y$ _" L
  240. ; Note: People who wrote portable scripts should not depend on this ini7 Z- e6 \3 ]: y' c0 H" A2 m
  241. ;   directive. Instead, explicitly set the output handler using ob_start().1 a1 X; w3 |% p/ P/ a( S: W
  242. ;   Using this ini directive may cause problems unless you know what script
    ( @0 z# ]$ ^1 Z1 G1 K! m
  243. ;   is doing.! Y- z* c4 r/ |9 @1 Z1 C% b, V' C
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"5 T& B, [$ E, ^8 S1 V3 E5 L
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".- o( w7 C) }) H, S9 ~" W2 P$ r
  246. ; Note: output_handler must be empty if this is set 'On' !!!!4 @' {9 h- ~. p7 q
  247. ;   Instead you must use zlib.output_handler.
    % z# M0 m; v' F0 ]
  248. ; http://php.net/output-handler
    1 ?4 S$ w3 G, D2 k" p( c: ^5 j: ]
  249. ;output_handler =, g+ B7 D- X; h! `1 {% L" w

  250. # k. p5 }) l# M
  251. ; Transparent output compression using the zlib library
    : h3 o; q7 p. q
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size4 ^# ]* L6 Y  P' U. m0 [+ w
  253. ; to be used for compression (default is 4KB)! A( u( w. P2 k6 M$ f2 r
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ) z8 J9 ?3 q6 L9 O% ?$ Y
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    ! Z( K+ p- m5 U( O& C, O9 @
  256. ;   compression. If you prefer a larger chunk size for better. |" e' }- S1 f8 V
  257. ;   performance, enable output_buffering in addition.
    , _9 M! N' Z# T# \  s
  258. ; Note: You need to use zlib.output_handler instead of the standard
    ! N0 b5 V  S6 a1 X  S1 `5 d
  259. ;   output_handler, or otherwise the output will be corrupted.* h+ b5 O& `' S; f- M4 G/ F) i, _
  260. ; http://php.net/zlib.output-compression/ M$ x* S) O- o0 d
  261. zlib.output_compression = Off& Y6 L$ s: r) \. `& q( ~( V
  262. 2 I9 K# q9 Z1 t+ \$ S9 u0 E
  263. ; http://php.net/zlib.output-compression-level
    " C( k5 E/ K! b  C# s+ }  }3 _
  264. ;zlib.output_compression_level = -1% x* n8 Y  `7 r/ ?6 o6 {( Y
  265. * a( k( E1 x; y9 Y3 k  F  Y+ ?
  266. ; You cannot specify additional output handlers if zlib.output_compression) Q6 O; K2 g: x* g" {- k
  267. ; is activated here. This setting does the same as output_handler but in
    # J- g/ L% w. X1 Z8 A) {* S  W7 _
  268. ; a different order.' F( E6 }) n% s' ~5 o
  269. ; http://php.net/zlib.output-handler+ A! S" e. t) V. Y
  270. ;zlib.output_handler =
    ( ^! {0 h" O: [, F9 ?
  271. , |" ]/ n0 `9 T2 ~
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    7 v6 @) n! b2 ^9 k# G
  273. ; automatically after every output block.  This is equivalent to calling the" B( i; m# L: p9 E0 U2 J
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ( v  z, c. N' r) N$ e/ B1 f% ^
  275. ; and every HTML block.  Turning this option on has serious performance
    ; Y8 y1 z# ^: f) w( s. X! c6 A
  276. ; implications and is generally recommended for debugging purposes only.- f3 K. Z" N8 d" A8 |( y; z
  277. ; http://php.net/implicit-flush& {) ^; Q# @0 r9 C9 G- z$ b
  278. ; Note: This directive is hardcoded to On for the CLI SAPI" F3 x* X, a2 t9 m( m9 t
  279. implicit_flush = Off+ @% `" |3 y! [! D, ?+ K
  280. ) B9 g. ~  _* o% [  X, w
  281. ; The unserialize callback function will be called (with the undefined class'
    % {8 c( H1 E0 o) N
  282. ; name as parameter), if the unserializer finds an undefined class
    4 \1 K, V7 C) I" N' }) O
  283. ; which should be instantiated. A warning appears if the specified function is
    4 M# ?0 \' Z5 j6 t
  284. ; not defined, or if the function doesn't include/implement the missing class.
    4 Z" V+ }3 c5 D
  285. ; So only set this entry, if you really want to implement such a
    % ?- r. B6 d5 E, A: D
  286. ; callback-function.
    . R9 A) e" v" |6 X! G5 W
  287. unserialize_callback_func =
    " j/ ]4 S  D+ N; i' q- q1 ]- ], h
  288. / t8 y2 U( j" j! |( |6 X$ G
  289. ; When floats & doubles are serialized store serialize_precision significant
    % _+ I9 f2 y. F. E" {2 a
  290. ; digits after the floating point. The default value ensures that when floats# h% k. W* I7 Y0 r, d1 Y! y
  291. ; are decoded with unserialize, the data will remain the same.5 w" z) |0 g- }. L# T
  292. serialize_precision = 17" v/ |: Q% P- G: [+ K) A

  293. . G2 I9 [0 Q& t9 c( g. o4 E
  294. ; open_basedir, if set, limits all file operations to the defined directory
    / [2 @' J4 s; ^( r2 c
  295. ; and below.  This directive makes most sense if used in a per-directory
    # t# `: r1 I( P1 j
  296. ; or per-virtualhost web server configuration file.% l% c3 e+ I$ G% r
  297. ; http://php.net/open-basedir
    # R3 K7 x$ f+ X" \( N0 m
  298. ;open_basedir =# ^9 E- ?0 c( [: o" y- E7 p( b

  299. & `" l5 {; E* E+ G" a0 T- E+ L
  300. ; This directive allows you to disable certain functions for security reasons.0 \$ I$ d* S6 u8 y2 t
  301. ; It receives a comma-delimited list of function names.( J. z) `' ]9 O0 |& f  p
  302. ; http://php.net/disable-functions* Z2 q0 }8 `& i* N- l0 D
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    # ^9 j( n% H- @7 L
  304. ; }/ P. n2 l: J' Y
  305. ; This directive allows you to disable certain classes for security reasons./ J/ ^$ j( \$ {* X5 I: l
  306. ; It receives a comma-delimited list of class names.
    2 z+ I$ v) m9 a2 d4 R
  307. ; http://php.net/disable-classes  z; h9 I/ F/ z
  308. disable_classes =; L: I5 ]. ^8 N2 F

  309. 1 F2 y- u0 q2 Q
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ' X' B! q7 \. N. f/ Z
  311. ; <span style="color: ???????"> would work.
    $ N$ \. f  P/ h" m. @/ k! Q
  312. ; http://php.net/syntax-highlighting
    ; C+ L+ p7 w8 c% R% l
  313. ;highlight.string  = #DD0000
    4 t' \; n/ H& u7 Z& C) |
  314. ;highlight.comment = #FF99001 h2 O- x" F7 J% a0 u
  315. ;highlight.keyword = #0077002 u1 D* a6 D/ G, G
  316. ;highlight.default = #0000BB! B7 \, |& R. {2 J2 n* u9 b
  317. ;highlight.html    = #000000
    " _( V4 ~9 R% c+ ?7 R0 X

  318. * T* E7 F4 o# Z( a7 d% z' Q- m
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    6 X2 E' O& @- e, m, c
  320. ; the request. Consider enabling it if executing long requests, which may end up1 M% K$ w, _2 V5 t. W4 r/ v% x
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior& j' d7 S# O; Z& e
  322. ; is to disable this feature.3 a6 O; W; x# D! C- j1 H$ y2 e
  323. ; http://php.net/ignore-user-abort+ ]" s9 C6 n4 a
  324. ;ignore_user_abort = On
    : e' ?1 E' x' V
  325. " ^, U3 m. I# \' V1 B( @" m
  326. ; Determines the size of the realpath cache to be used by PHP. This value should# \" x( ^4 q  V% f. D! \
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    . v, V; g* r6 L3 N3 L; v
  328. ; the file operations performed.
    5 @3 h1 ?/ Q0 u- C
  329. ; http://php.net/realpath-cache-size5 k( m; I6 B! U: j
  330. ;realpath_cache_size = 16k
    * a# b8 _0 o. T
  331. ! S2 {7 t) |0 P. y# X
  332. ; Duration of time, in seconds for which to cache realpath information for a given" t% m( j0 G9 U5 t1 F2 v, J
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    7 O& t, S  d5 L7 R4 v# H8 C: b
  334. ; value.$ E4 [1 Z) W/ R* \+ E; y
  335. ; http://php.net/realpath-cache-ttl
      j6 N$ f, G8 I; W2 [
  336. ;realpath_cache_ttl = 120
    / I  X0 A, j, i0 K8 ]$ P8 ^, D( f
  337. ( Y( d$ P- J0 V5 j
  338. ; Enables or disables the circular reference collector.
    : k2 u6 @% l! b/ ?9 I9 N) H. E9 g
  339. ; http://php.net/zend.enable-gc* `9 K6 Q' B4 b' N& z
  340. zend.enable_gc = On
    2 I/ `$ e' O9 Z2 w' y, A( ?8 `
  341. 5 F& W) ~3 I3 i; w) N0 j: g0 w
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    $ b& `- p- G" r: K; b# I9 ~
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ; W/ B9 L) h3 d) j- [% z
  344. ; encodings.  To use this feature, mbstring extension must be enabled.- K* P6 I3 S* M5 H$ l
  345. ; Default: Off7 c& t5 C: `/ c$ ?
  346. ;zend.multibyte = Off
    ' _  d$ Z+ L. t& s, N
  347. 5 ^3 h% `6 E$ b
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    " b2 [. m9 Q) u( ~* x6 h
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.) p! I, m+ E0 U2 P9 T
  350. ; Only affects if zend.multibyte is set.- l! e! G$ A0 f  o+ ]" `- i+ S" B
  351. ; Default: ""
    3 B" D: e' Q4 s
  352. ;zend.script_encoding =# p! N7 U" y! F% v, W6 t4 T* j0 `
  353. 2 d# R; ?* \9 n) P: N6 M
  354. ;;;;;;;;;;;;;;;;;
    / z4 O3 Z/ j0 _2 L3 {& S
  355. ; Miscellaneous ;
    $ h2 `: l9 {* g
  356. ;;;;;;;;;;;;;;;;;" F- {# s4 [3 h. I

  357. 3 O& b# ]% _* m- q7 [8 @6 [1 I
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    9 x4 S9 l% U3 z& Y
  359. ; (e.g. by adding its signature to the Web server header).  It is no security7 n) A) q9 q9 ?& [
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    + x- P4 V6 H4 d, f; u% H/ [; d
  361. ; on your server or not./ |/ c0 z6 C' C3 g
  362. ; http://php.net/expose-php; y- V9 X5 a  j8 O1 p: m+ r
  363. expose_php = On
    / A- ?8 z1 m' L  n
  364. - D/ s+ u9 X5 m* U! V! ?
  365. ;;;;;;;;;;;;;;;;;;;" D0 P& q2 N# y; R
  366. ; Resource Limits ;% c6 y- S9 b* S6 D7 ?
  367. ;;;;;;;;;;;;;;;;;;;# X; X" l& x% Q0 _
  368.   e/ i/ p$ V' D6 m" W
  369. ; Maximum execution time of each script, in seconds6 A0 M, r2 b" n
  370. ; http://php.net/max-execution-time
    / X: t: K; r/ }5 Y* |
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI3 x" S) Q  f3 X9 z
  372. max_execution_time = 3009 ^$ b7 G) Y7 A3 ]8 p0 P

  373. + ^1 N$ o8 [+ S; ?( X  L
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    % ~3 b+ ?; U& V3 {+ ?) w3 O6 K8 |. _
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    * A7 ]- x; h  }% D( M- m* W
  376. ; long running scripts.
    / y2 l- M1 d6 Z2 k) l
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    , Q- n, N$ P4 W* A, H" c" a; b
  378. ; Default Value: -1 (Unlimited), N+ x9 r# Q& D
  379. ; Development Value: 60 (60 seconds)
    , w7 i3 i, ]0 L6 T( A2 `( x
  380. ; Production Value: 60 (60 seconds): \/ _7 }' A0 ], e1 R& z3 ?& m
  381. ; http://php.net/max-input-time
    + Y' |. T" c. Z" V! F1 J, ~' Y% q
  382. max_input_time = 60+ Y! Q1 B+ T" N8 K

  383. , [; o8 T# A' u" A
  384. ; Maximum input variable nesting level) l- s9 C/ j0 O% z8 N, I! F- [
  385. ; http://php.net/max-input-nesting-level
    - K+ L/ T) t3 s4 g( e  A
  386. ;max_input_nesting_level = 64
    6 V3 A" Y3 e  C, u  T: h, L% E

  387. $ r; E( j. U; A) h1 [; {' ?
  388. ; How many GET/POST/COOKIE input variables may be accepted
    ! H* ?. x6 _! D9 e3 A1 d
  389. ; max_input_vars = 1000
    , R* t1 Z% y6 c" |
  390. * [$ ?$ H9 g( m% s: U# t. I. z
  391. ; Maximum amount of memory a script may consume (128MB)
    : J$ C5 h$ ^  H; G$ W7 H
  392. ; http://php.net/memory-limit! _  m- Q7 K1 L/ h/ \
  393. memory_limit = 128M
    ' s) z9 r6 J6 ?9 \( U8 y

  394. 2 X9 }1 h  w! u. ^
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;/ @! {  M" U9 r' p) G1 \
  396. ; Error handling and logging ;
    ' I1 d- ]$ E) D" F2 t
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    : \# [5 ~# g$ o3 u# U' M8 M% C9 c. m

  398. . x. g- k) n2 I4 {9 C# |0 t
  399. ; This directive informs PHP of which errors, warnings and notices you would like5 {, `$ u: B" |2 i% I
  400. ; it to take action for. The recommended way of setting values for this
    " V. e, B% {7 k
  401. ; directive is through the use of the error level constants and bitwise
    , W0 H% }8 j+ y
  402. ; operators. The error level constants are below here for convenience as well as  z4 J, x7 f7 B$ b
  403. ; some common settings and their meanings.7 w, I* A: J5 a6 }+ |
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT% T) s. f1 v( k7 D" C. _
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    / ^% s+ u. m! Y  ^+ v( j
  406. ; recommended coding standards in PHP. For performance reasons, this is the" y' h. b' ^( v% l
  407. ; recommend error reporting setting. Your production server shouldn't be wasting! S  n2 y- v5 [$ {
  408. ; resources complaining about best practices and coding standards. That's what
    / s. Y( \# C9 U7 r, W! B# }
  409. ; development servers and development settings are for.) z' a0 B; ]/ N1 ]9 Z
  410. ; Note: The php.ini-development file has this setting as E_ALL. This& ]5 f; ~+ G- X1 c+ [  n& }
  411. ; means it pretty much reports everything which is exactly what you want during% Z( p5 p+ X; s9 ]
  412. ; development and early testing., T% R  a" Q/ y+ I! Q- w; z
  413. ;
    ) h# a- C: z+ |# K  k
  414. ; Error Level Constants:; X3 l/ E# \( N7 ]3 X* Y: O
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0); |7 e& O( P5 T4 T7 Q& A" U6 j  n) h
  416. ; E_ERROR           - fatal run-time errors
    ! \* S/ A. B0 H$ @
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    " f1 q; g1 ~5 t9 V
  418. ; E_WARNING         - run-time warnings (non-fatal errors)( j9 i/ M9 h9 r# v- `* q- [
  419. ; E_PARSE           - compile-time parse errors
    + {. u+ ?" \" u; |) B* q
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    & x7 y0 [( k2 h9 _* W
  421. ;                     from a bug in your code, but it's possible that it was
    8 R% l/ X2 I! W' m' S$ G$ h1 F1 q
  422. ;                     intentional (e.g., using an uninitialized variable and
    $ r6 s) ^. c! n$ ]& b# R
  423. ;                     relying on the fact it is automatically initialized to an
    # b% B8 E7 j0 `# y7 R. j0 C4 ~
  424. ;                     empty string)
    2 o4 \, _2 g3 W: k
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ' ^8 C9 ~" ^! g5 b2 [8 R6 u* w7 [
  426. ;                     to your code which will ensure the best interoperability5 D3 z- H9 ?5 C, Z& r% I8 r8 e; E
  427. ;                     and forward compatibility of your code
    ! i0 _# F; z8 R- D
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup8 u) w9 H# b, [, b
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    . W' x# S9 Q% K" }1 a) h; @
  430. ;                     initial startup
    ( E" S$ ?2 q( d
  431. ; E_COMPILE_ERROR   - fatal compile-time errors7 F0 M! y/ w; k) _: Z1 N
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)0 Q+ L7 L& c4 J0 b' D% x- d5 ]
  433. ; E_USER_ERROR      - user-generated error message
    0 n* k: j2 g, Y# m/ i
  434. ; E_USER_WARNING    - user-generated warning message: c/ Q, \+ N, }# [
  435. ; E_USER_NOTICE     - user-generated notice message
    # ]1 W/ v9 A* e4 M
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    & v1 }$ u! c5 q; b
  437. ;                     of PHP/ C2 J1 U: w/ y& \( F
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings% w" R3 A5 i, I& m# w2 l5 E
  439. ;8 n% E" d4 @3 q4 J& g$ l* A% v5 \; O
  440. ; Common Values:
    1 B" |/ V+ ]* F. B3 a. b
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
      O4 E4 C& U4 L* p) {: k' Q" T& T. D
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    : H8 M/ C4 F3 j8 M8 ]
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)6 Q9 W1 X% f3 U0 Q1 h3 Q3 l
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)6 z  h9 [- v) @+ |+ g
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED, x& ~9 _6 k' \' s1 E6 E- m1 `1 p
  446. ; Development Value: E_ALL$ R$ P- n& g" ]& S' A
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT/ p: h0 y2 N# m) b5 W
  448. ; http://php.net/error-reporting
    $ @0 H, q. \5 |7 P* v
  449. error_reporting = E_ALL & ~E_NOTICE! f' k0 R# }! X( P8 A2 P# a

  450. " X' S" W/ S9 L9 H- ?" j
  451. ; This directive controls whether or not and where PHP will output errors,
    5 d  T& y; g8 J7 g" d1 u0 \7 k
  452. ; notices and warnings too. Error output is very useful during development, but
      x. ]& A5 O2 z
  453. ; it could be very dangerous in production environments. Depending on the code
    " h% `! x  R0 u* o$ \: Q
  454. ; which is triggering the error, sensitive information could potentially leak& L) N/ d: G% d) b# B/ B
  455. ; out of your application such as database usernames and passwords or worse.. Z' q9 W3 m- g# v% |3 }9 l
  456. ; For production environments, we recommend logging errors rather than
    % Z7 F! A9 z# \# p0 G; ~7 s
  457. ; sending them to STDOUT.+ u! J4 _" J( l$ m( ]
  458. ; Possible Values:2 q3 n7 P! t0 f! B% A
  459. ;   Off = Do not display any errors% x' x3 p# N4 F0 ]1 e' S! F; ^
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)  I, \# P  K+ O4 q2 N0 K1 X; t
  461. ;   On or stdout = Display errors to STDOUT; R" D: V4 b, L
  462. ; Default Value: On
    : l- F$ m/ O, e: F4 t
  463. ; Development Value: On5 `5 _7 Q  V$ p" U$ s  u
  464. ; Production Value: Off. Q+ B7 }6 X- l" T& ~# C& P
  465. ; http://php.net/display-errors# V8 Y$ G( H% a5 `0 k' S
  466. display_errors = On: i; Z, \  R! a8 s" N; e; ~

  467. $ H% f) Y0 e9 e! W& F
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ) H% J- f6 w( b' c7 a) Q
  469. ; separately from display_errors. PHP's default behavior is to suppress those) x$ O# D3 J$ ^- U& b  F9 X0 u
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    7 h: j# k6 D" N8 G3 M' \8 j
  471. ; debugging configuration problems. We strongly recommend you
    3 U8 T$ c. r! E
  472. ; set this to 'off' for production servers.* d! ?) H/ @: T
  473. ; Default Value: Off1 N: U) X# _6 V5 U
  474. ; Development Value: On7 ~* T7 ^8 V6 t0 G4 Q
  475. ; Production Value: Off
    0 ]! R7 `( d* `; e/ M2 C8 s
  476. ; http://php.net/display-startup-errors
    8 @  [- ^, H+ x* l; S
  477. display_startup_errors = Off5 u6 i' r  w( }; [* T

  478. 6 V2 [( f7 _' r  k% [' c; m: V' i
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    0 {5 h; B' Y" X9 w, {
  480. ; server-specific log, STDERR, or a location specified by the error_log
    + d3 p6 v+ B" ?( w
  481. ; directive found below. While errors should not be displayed on productions
    - w' h/ {$ |, K( I/ W' S
  482. ; servers they should still be monitored and logging is a great way to do that.
    - e/ Y: ]3 |) g/ s8 r' M& ?5 [
  483. ; Default Value: Off
    ; f8 }: e. h/ u  {
  484. ; Development Value: On8 {+ a% `9 q# u
  485. ; Production Value: On% G8 S$ A9 U4 E$ ~6 h1 X
  486. ; http://php.net/log-errors4 Y5 a! ?0 X& q8 x( V
  487. log_errors = On
    0 Q# O5 y( k8 K) A# ]% t
  488. / s% Q5 _7 X  o8 G7 [: O2 E4 Q
  489. ; Set maximum length of log_errors. In error_log information about the source is/ \$ l4 x  v5 {
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    / ~0 {0 U& d" v7 b
  491. ; http://php.net/log-errors-max-len  `* _4 r9 u( h, J
  492. log_errors_max_len = 1024. ?* V2 I" D3 c! W& r/ f# M
  493. 0 u6 @" s4 ~7 K4 Q8 o: o
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ' K5 b6 d8 `' V- C- R  J
  495. ; line unless ignore_repeated_source is set true." V% b! C0 j1 }) k0 j  i, ^& q6 d+ j
  496. ; http://php.net/ignore-repeated-errors8 `. a: ]3 l! w# {, r2 h5 C
  497. ignore_repeated_errors = Off9 q+ A4 _" S0 B7 Z2 B9 ~3 }
  498. / J: i  J' g0 r2 i. s$ d$ d0 T  a
  499. ; Ignore source of message when ignoring repeated messages. When this setting+ m5 M( R3 |5 _( p, |7 F$ `, p7 I" r
  500. ; is On you will not log errors with repeated messages from different files or! k; r+ K; r$ c, D. G
  501. ; source lines.
      Y$ V/ I' h5 O6 ]
  502. ; http://php.net/ignore-repeated-source
    0 D5 M0 U5 _& o! r, ~  j
  503. ignore_repeated_source = Off% ]% s+ r' y; a& f/ ^9 |( D1 I& v
  504.   w% M; |5 @6 Z
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on" I, ?$ P8 _* V
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    $ M1 X/ Z5 ~7 p' {# c
  507. ; error reporting includes E_WARNING in the allowed list. {9 Y, T/ f8 J) m3 k
  508. ; http://php.net/report-memleaks7 Y/ n7 Z2 l: h
  509. report_memleaks = On1 P0 s4 c8 h- @* {; ^/ |
  510. 5 h6 g  j5 O+ R4 s7 _
  511. ; This setting is on by default.( N; `; l" V( w3 X5 {0 l
  512. ;report_zend_debug = 0
    . L# i( Z/ `. \& `& R

  513. 0 ~; ~& S8 p4 s* K' l0 I
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    9 C7 _6 d/ L0 e# i! ^7 L: w
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    $ R  _3 r/ F! l5 [7 |
  516. ; however be disabled on production servers.
    ( ]8 O0 k$ i* J/ [4 y. m- B" D
  517. ; Default Value: Off, N$ ]7 r/ w2 I/ E. C- t: Y# e- l% e
  518. ; Development Value: On
    / y) v" i( E5 w5 k* I
  519. ; Production Value: Off
    / I1 y6 K9 q2 K0 y
  520. ; http://php.net/track-errors
    . u, p. {7 w8 q: w2 @: J; D
  521. track_errors = Off
    ) n' r/ e' \) Z" P& ?1 [

  522. $ _* V1 q8 \0 q7 z4 R
  523. ; Turn off normal error reporting and emit XML-RPC error XML% E9 q+ Z) [9 A+ u, w- J
  524. ; http://php.net/xmlrpc-errors, S3 y+ |" G- u5 _" U: c' k
  525. ;xmlrpc_errors = 0
    $ o) }6 D' ?7 D8 d' G" W

  526. * i: E3 X3 I& i: Q) [  E
  527. ; An XML-RPC faultCode; D2 o$ v$ I) l, ^: y$ ~" {
  528. ;xmlrpc_error_number = 0; P7 ?/ Y# l, i- l
  529. . J8 b. f# R: ~, W) T. s
  530. ; When PHP displays or logs an error, it has the capability of formatting the, a1 S5 s3 M* w8 l$ `4 I% d
  531. ; error message as HTML for easier reading. This directive controls whether
    # P' U) u  V* ~7 n
  532. ; the error message is formatted as HTML or not.  X3 x0 p" ~5 Y+ O0 W, g4 a3 n
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI: X0 N; m" L+ u- M1 z
  534. ; Default Value: On
    ( d; z4 G5 X) }' h5 b7 d; Q
  535. ; Development Value: On
    3 b8 m$ Q2 r: L# c' U' \7 p
  536. ; Production value: On/ p. k9 h% J8 z* ~9 x$ p: R# P' _" i
  537. ; http://php.net/html-errors
      p1 I+ ~. R; d- i- ?
  538. html_errors = On
    0 T  |* m# @) T# X, V& i" ^, [
  539. 6 {4 A8 r/ N" D% S3 c9 R
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    % a8 z' @" I4 k/ X; ]9 \7 c* @0 @. I
  541. ; produces clickable error messages that direct to a page describing the error
    ! b+ d: Q- U, E5 o
  542. ; or function causing the error in detail.
    0 j3 o  G8 s1 t8 T5 H" X
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    2 p) }8 _! F. M- d( Y
  544. ; and change docref_root to the base URL of your local copy including the/ I( E2 X$ L) E* }) N4 b0 Z( w: B
  545. ; leading '/'. You must also specify the file extension being used including
    + n0 h) Y, Z$ g1 x1 `$ H$ U
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    & Z1 \9 j9 Q9 b0 X( [! J1 ]
  547. ; case no links to documentation are generated.
    7 p  r2 T7 c5 i, P4 {
  548. ; Note: Never use this feature for production boxes.) r$ j# j) M7 K: z# q
  549. ; http://php.net/docref-root) P3 ~0 E2 ~, e
  550. ; Examples. m3 T8 o) ~6 O0 R! _( e
  551. ;docref_root = "/phpmanual/"
    . U8 S. x$ Q4 y# V  K# `! ~

  552. % o7 L: N2 v' q. g+ B: A( y. p5 f
  553. ; http://php.net/docref-ext4 b: R$ w' c0 y& [# ?* X  J, o
  554. ;docref_ext = .html
    9 }! i2 V. w$ ]2 {+ D

  555. . }  X$ G5 h! T9 c7 q% B* e
  556. ; String to output before an error message. PHP's default behavior is to leave
    0 O3 [1 R7 o9 @5 X- o! V
  557. ; this setting blank.
    ( [' j, G8 A# Z: d
  558. ; http://php.net/error-prepend-string3 E/ ?; l0 Q& k( c
  559. ; Example:
    ( d/ A9 ~6 Z' ~! m( h# E6 S
  560. ;error_prepend_string = "<span style='color: #ff0000'>"" N8 K5 v8 k" b: l5 `5 {
  561. 6 ~' u( v9 x6 {9 V/ H' N
  562. ; String to output after an error message. PHP's default behavior is to leave
    ; W3 Y2 i. q. a- ^. `6 j% ~
  563. ; this setting blank." E# F( ^' u+ ], t( d
  564. ; http://php.net/error-append-string
    " A. D1 m& U2 j8 V0 }( X
  565. ; Example:; n; o! L" v) @% L7 U# `- ^
  566. ;error_append_string = "</span>"
    9 f1 J( P1 r# M
  567. + S" z3 |/ k& P, D
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    8 w2 L: c& e* _2 R" W
  569. ; empty., q9 s7 u0 E+ B/ X
  570. ; http://php.net/error-log, V% v# [1 f6 Z1 l8 u; r9 N5 C
  571. ; Example:, T  E+ D6 e( W+ y+ r: A; R
  572. ;error_log = php_errors.log
    / U; `* z+ E! T) o, Z2 r  ?
  573. ; Log errors to syslog (Event Log on Windows).5 W7 {3 g7 a8 l
  574. ;error_log = syslog
    7 g' w) H6 z' O9 ^( C  K

  575. 9 |6 d- }9 k" S& {1 l
  576. ;windows.show_crt_warning
    ; s4 h0 o0 p9 N1 j- I
  577. ; Default value: 0
    ; F/ G9 v" Y& I! o1 m. @5 ~
  578. ; Development value: 07 p/ v( B# L; K$ i2 h* k3 [
  579. ; Production value: 0
    / T2 M) u2 B2 X* S* d7 p

  580. , u7 R- c5 |7 ~! N2 A
  581. ;;;;;;;;;;;;;;;;;
    1 p& `, }  [: O: C6 J# J
  582. ; Data Handling ;- X; v; S* `) i; g4 u2 \& c: S
  583. ;;;;;;;;;;;;;;;;;) l3 z4 \! D1 n" j. s& A

  584. 1 O  e# @1 u5 f; ]. J
  585. ; The separator used in PHP generated URLs to separate arguments.# X$ R. s. u# P5 U
  586. ; PHP's default setting is "&".
    ; C8 B* h# E+ d1 |% P# Y/ V7 f/ M
  587. ; http://php.net/arg-separator.output
    8 L' J* G' T8 \: o* ^
  588. ; Example:
    1 j# a: u) w3 T4 l% G2 K3 t& v. t! O
  589. ;arg_separator.output = "&amp;") p/ c$ k% a3 ^6 Y

  590. # h# `: H: k$ V0 k- T% G. {
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    + \7 S) \* B. g! _7 H, z
  592. ; PHP's default setting is "&".
    7 c, u/ r$ l% g
  593. ; NOTE: Every character in this directive is considered as separator!4 D; a5 T6 ]/ t8 H
  594. ; http://php.net/arg-separator.input
    8 I# d) D* b$ j6 @/ Q! T- h
  595. ; Example:
    : c8 n+ R; m  T) ~2 ^' ~& W2 {
  596. ;arg_separator.input = ";&"$ l8 b) y- D- ~/ W2 M7 X5 s
  597. 9 L, y$ P( n+ c! a+ _. E
  598. ; This directive determines which super global arrays are registered when PHP- [3 ]. F5 W$ j. @! W9 h+ z
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super0 _+ {& T5 K. Q  ?8 Q
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    " H8 A4 u9 N' J
  601. ; paid for the registration of these arrays and because ENV is not as commonly' o# A, H* e% Q/ }
  602. ; used as the others, ENV is not recommended on productions servers. You
    & G! \/ a7 G7 B* {0 n) a/ l: x3 }9 Z
  603. ; can still get access to the environment variables through getenv() should you
    ; J% ~' F0 n2 }9 K/ u; ]  ?; @/ S
  604. ; need to.
    ' K+ F8 W) N* g6 |+ S
  605. ; Default Value: "EGPCS"
    2 r' z+ s- _; `
  606. ; Development Value: "GPCS"
    3 G7 @3 Y( `# ?: e  T" }
  607. ; Production Value: "GPCS";
    ) C9 z) p, P# {# e
  608. ; http://php.net/variables-order
    8 o: Q1 c9 B8 C
  609. variables_order = "GPCS"
    % p2 G0 V% @9 d: b3 s! F
  610. 6 d, p2 H+ r$ v( q2 B& C7 C
  611. ; This directive determines which super global data (G,P & C) should be' z8 Z$ y( o1 X% g* T& I, A. z
  612. ; registered into the super global array REQUEST. If so, it also determines+ V0 q+ ?4 X3 ]1 _' W
  613. ; the order in which that data is registered. The values for this directive8 l3 {! g* U6 Y0 ~% S
  614. ; are specified in the same manner as the variables_order directive,
    + Z9 s1 X# y' B
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set0 W4 P  Q0 A% J. l! v( w7 c
  616. ; in the variables_order directive. It does not mean it will leave the super8 `5 s; Z* a3 M. i+ l7 a$ Q
  617. ; globals array REQUEST empty.9 V9 ~4 o8 Y* Q# {% L
  618. ; Default Value: None8 Z% u4 i9 K  Y; Z* f9 Y& [4 n
  619. ; Development Value: "GP"
    * T" F) ?/ c& E7 K! n! b- ?
  620. ; Production Value: "GP"
    : J6 \7 q' j6 i
  621. ; http://php.net/request-order9 h- p" P; v+ k+ t+ z
  622. request_order = "GP"
    * v7 }* g/ f' C. b- W. q
  623. , ]+ X6 {7 d; z# _4 k8 I7 I
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    + ~' ?) G% [# U
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ! p3 o( ~1 }6 _" o6 X
  626. ; is invoked. $argc contains an integer representing the number of arguments3 V& [; }3 r) y" S. E
  627. ; that were passed when the script was invoked. These arrays are extremely3 A3 u; U6 \  y
  628. ; useful when running scripts from the command line. When this directive is
    * S' ~. W; ^5 R6 Q+ F6 Y0 _+ e
  629. ; enabled, registering these variables consumes CPU cycles and memory each time$ l& M( m/ ?4 }$ |9 ~  T2 f
  630. ; a script is executed. For performance reasons, this feature should be disabled0 f8 k. j) R" i' @* R* F* Z. o
  631. ; on production servers.
    ' F) A9 R' T0 }
  632. ; Note: This directive is hardcoded to On for the CLI SAPI/ N3 N4 y1 M7 p' e0 k
  633. ; Default Value: On
    . m3 I# `4 y" \  z. Q( W2 K
  634. ; Development Value: Off
    / t- y1 B! _$ o' q
  635. ; Production Value: Off) H9 h5 ?& O8 n/ L( Q
  636. ; http://php.net/register-argc-argv' P0 R  N( _9 o# c9 l! l% H
  637. register_argc_argv = Off1 ^2 H  d8 q; ^4 O: Z* M+ T: ~
  638. + B$ G8 c7 ?- \# `2 y- f/ ^: N4 q
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    " F7 ]3 c! ~$ ]5 }* q0 `
  640. ; first used (Just In Time) instead of when the script starts. If these, N" R  Q/ K; @6 }0 B4 Z
  641. ; variables are not used within a script, having this directive on will result
    - n& c6 W5 @0 i3 F. M4 y  r
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ) l1 F5 _( ^. Y/ [8 g8 D* t
  643. ; for this directive to have any affect.; Y. M8 X0 R" N" [1 L0 d5 a: ^! c
  644. ; http://php.net/auto-globals-jit
    2 S$ x% B, B! X7 ]
  645. auto_globals_jit = On8 ^) T; C4 q6 M1 J% a/ U& e
  646. 0 n+ c- e3 T1 y4 t! L
  647. ; Whether PHP will read the POST data.5 k1 @" Y; y9 Z
  648. ; This option is enabled by default.
    5 n2 y6 ]1 x9 [+ V! ?. c! [
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST- v% a* E& Y. k
  650. ; and $_FILES to always be empty; the only way you will be able to read the6 e0 P4 ~0 d9 @+ i7 L0 ^+ j8 e: R
  651. ; POST data will be through the php://input stream wrapper. This can be useful0 d/ |. u3 S% B; ]
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    0 ]# ^/ I6 F/ s# h' ~: f
  653. ; http://php.net/enable-post-data-reading
    ' J0 \! _2 C# O. I$ r; H  v
  654. ;enable_post_data_reading = Off
    5 G- [9 J7 C) ?0 y
  655. % d$ V- t1 S7 J# \. }
  656. ; Maximum size of POST data that PHP will accept.
    3 s. v& m9 Y3 q" h( A  y
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ( }! |2 b3 M3 p) [) [/ X
  658. ; is disabled through enable_post_data_reading.4 r6 Q% I2 ]+ R6 Y6 w. J
  659. ; http://php.net/post-max-size
    " z  a5 ~$ z! [+ q
  660. post_max_size = 50M9 h4 M" g& @1 C* M  ]- U
  661. 6 N; ]5 e( Y- O* {" C
  662. ; Automatically add files before PHP document.
    + f' ]+ p6 z- l7 Z! j) \( Z
  663. ; http://php.net/auto-prepend-file
    4 I5 V0 ?8 [' {0 k
  664. auto_prepend_file =* I+ y% L) N/ ]& u+ [+ `! x

  665. & B. ^1 v6 c& A9 M* ^! \" N6 Q
  666. ; Automatically add files after PHP document.
    2 E0 [2 ^% t: r; Y( Y2 P" C6 T
  667. ; http://php.net/auto-append-file+ I! Z1 _' f+ h: S
  668. auto_append_file =% N8 k5 z7 S) ?, c- M/ {
  669. ) l! Z* D9 y4 r6 P" C  T
  670. ; By default, PHP will output a media type using the Content-Type header. To: ^3 f7 [: @5 \1 d! o7 J
  671. ; disable this, simply set it to be empty.
    ! y$ A7 C; E0 q" R) y3 ]/ K
  672. ;% p  Y& Q/ b9 ~) V  J9 N* Y0 h
  673. ; PHP's built-in default media type is set to text/html.
    ! s# b# v5 Y; s  L* K9 p2 S& o) p
  674. ; http://php.net/default-mimetype% }4 i/ \" N4 I! c- {; n
  675. default_mimetype = "text/html"9 k. ~0 S2 z& x6 A; |$ y  R! I7 s
  676.   D( a& t/ G* q8 @' K  c
  677. ; PHP's default character set is set to UTF-8.3 `( R  d9 U5 v
  678. ; http://php.net/default-charset6 `+ m4 ]# \1 \, \8 i/ b
  679. default_charset = "UTF-8"
    0 h' j- l, c  B! s* b
  680. 9 H/ p/ e% p, Y* v$ m, d1 b$ X) d
  681. ; PHP internal character encoding is set to empty.7 o$ ^" e5 j, F4 l: \" z, t6 S( k
  682. ; If empty, default_charset is used.
    - K9 o. T# s% M" o
  683. ; http://php.net/internal-encoding$ E( S- ^9 p! q( ~
  684. ;internal_encoding =
    $ c7 z& k2 U& E( B
  685. * a( @$ m7 K4 h+ _
  686. ; PHP input character encoding is set to empty.- r0 M) {* \" U, I) e4 c
  687. ; If empty, default_charset is used.
    ! q5 N5 c0 q/ h
  688. ; http://php.net/input-encoding# V+ Q; w0 T  j( W. Q
  689. ;input_encoding =
    + X, O- M/ Z9 O0 B1 b/ L
  690. " }2 Q4 O. F! a+ s
  691. ; PHP output character encoding is set to empty.
    + O0 [$ c: s, Y; Q
  692. ; If empty, default_charset is used.
    / X8 i/ v! N; E
  693. ; See also output_buffer.& C; P# v. j5 w0 N: F$ ^1 ]
  694. ; http://php.net/output-encoding
    0 `$ K; G: n' h& F& p7 |
  695. ;output_encoding =
    # B/ Z/ c& P- F7 R9 M
  696. 4 j4 b& M8 u$ f/ A3 R7 n* A
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    # p. g$ p* {: q! z
  698. ; to disable this feature and it will be removed in a future version.# c8 u$ F3 T  J+ I
  699. ; If post reading is disabled through enable_post_data_reading,  @8 ?( e2 j. d2 l3 O& L" i
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.  ^2 j( {, L  m1 }3 w" s
  701. ; http://php.net/always-populate-raw-post-data
    ) i* H  P" J4 j4 a: \. u
  702. ;always_populate_raw_post_data = -1" V2 A- g" P$ h8 V5 Y
  703. . d( B6 L4 [% l
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    3 P# z, Q  Y4 P$ E9 C9 ^2 \
  705. ; Paths and Directories ;  r% L" N7 P! L5 @5 h* A
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    3 e/ Z' K. K* c8 s; q5 H
  707. # [4 A; ]0 R7 ?
  708. ; UNIX: "/path1:/path2"' _# {; ~- I) S) J/ C
  709. ;include_path = ".:/php/includes"# M/ l) L% a4 m; ~2 J8 a0 R* ^  B
  710. ;5 h' \1 b$ \9 ]3 ]
  711. ; Windows: "\path1;\path2"
    & Y6 u+ W. E  w+ y8 Y
  712. ;include_path = ".;c:\php\includes"9 h4 {" v3 w! K6 i' S3 u; e
  713. ;
    $ ^& |% b# q& C( T# x& B, b- k
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"4 `, X: q+ k+ C. G3 k0 K
  715. ; http://php.net/include-path  K  {5 [8 J# j8 E& {7 ~. H
  716. * _6 r  C3 w$ [  K; ?
  717. ; The root of the PHP pages, used only if nonempty.8 `) y. ^) p5 t$ P0 z
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root5 Q/ g# h7 U- `6 [
  719. ; if you are running php as a CGI under any web server (other than IIS). U( _9 j- ?6 ~8 R3 d7 Q+ {4 k! y
  720. ; see documentation for security issues.  The alternate is to use the6 ^( B: |( c- A/ n: @6 Y
  721. ; cgi.force_redirect configuration below
    : k' E: v" k. k' Q  }
  722. ; http://php.net/doc-root
    " ?4 r" X; ~. Y5 [, a% x
  723. doc_root =9 i! k% [) f' w+ r# `% [, `

  724. 1 K/ Y4 ?  Q/ E- d6 s! Q4 ]' f  S
  725. ; The directory under which PHP opens the script using /~username used only! p; Y, P5 Y( n$ t2 S0 ?
  726. ; if nonempty.
    & v/ f3 F! o+ v' W* W* @
  727. ; http://php.net/user-dir. m  f% Q: q; F6 k$ `2 g
  728. user_dir =
    8 x  v% p) D1 Q' V2 f' M
  729. 6 N4 H7 d2 q. S  p( v+ D5 S
  730. ; Directory in which the loadable extensions (modules) reside.
    ) _2 S7 p. t2 ]8 z. _+ \  u( V+ w+ M
  731. ; http://php.net/extension-dir" Y3 e3 _1 H) K. I; T5 b# |! ~
  732. ; extension_dir = "./"& d# S4 m6 l+ c. D
  733. ; On windows:2 @- B! ?9 \( K' p0 d: u2 z
  734. ; extension_dir = "ext"% Z' C/ F* k% J4 u+ @$ m
  735. ( y6 o6 A7 Q2 Y. H4 p! W$ L' s9 l
  736. ; Directory where the temporary files should be placed.# l) w2 Y. V- V2 c  [* ~: Q
  737. ; Defaults to the system default (see sys_get_temp_dir)
    $ `2 I: p  c7 h, c* M" J9 `  o
  738. ; sys_temp_dir = "/tmp"
    * @7 {$ f. e) A* u% F
  739. 9 Y. y: z: ?, K1 B" F8 b, ]
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ! D- m, C  q. U* m  s/ L2 c
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    , h6 Z. l5 N* P! f9 x7 f
  742. ; disabled on them.
    ) x: M( f* B3 ~- i6 J
  743. ; http://php.net/enable-dl
    % g8 g9 d) B% d( e- |
  744. enable_dl = Off  O- A( w- y1 ]3 T' W8 o

  745. ( }( r5 n& w6 W! t5 V
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    9 B6 `6 f. L( Q$ ]: k
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ) a/ W5 i1 T; N
  748. ; turn it off here AT YOUR OWN RISK5 }6 B: I: ?8 y/ ^! i, j4 [
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**) q: o+ \$ |; Q6 Y, H, t
  750. ; http://php.net/cgi.force-redirect) i( S! w4 C, a7 X: ]
  751. ;cgi.force_redirect = 1
    / R0 W* b; P+ w& c; R& [2 B
  752. ( |5 P9 O% V% u+ n# ?1 @
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with, I( o" O9 |4 ~, x
  754. ; every request. PHP's default behavior is to disable this feature.& j/ R; ]$ P9 T  K- k
  755. ;cgi.nph = 1$ ]/ U! ?2 J* O& V; o7 Y7 M
  756. ; X. a1 I$ C; \3 j0 m: V
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    7 p2 n4 Y6 o4 g1 {- n: f
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP) l9 {9 n9 l  Y
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY* u  G% D% p1 |: ]- I2 Z  \
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.3 p9 x$ N) p6 o7 ^! M, G0 T7 Z
  761. ; http://php.net/cgi.redirect-status-env- o9 C( D: U- M! P7 k( {! U5 T
  762. ;cgi.redirect_status_env =
    3 m4 M& `1 k+ g& W
  763. 4 V5 }. [: r  ^4 A' A9 n6 u* ~$ C" S
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    + m' N* U1 l* k( ~
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok- S1 K  n. P0 R2 w& K
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ; R- G; S; p- p: [" J* j) b
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting- T5 t9 f3 Y- e( b+ c5 _( y; k* t
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    . U# Z7 P3 B& V4 q5 A  P
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.8 ^# Q- J- U  H2 O
  770. ; http://php.net/cgi.fix-pathinfo
    5 N; q9 Y$ m9 U1 n- t
  771. cgi.fix_pathinfo=1
    $ v2 I% h0 T% w2 j. {

  772. 1 ]5 Z' E1 D5 G$ A
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside9 h# m& r% x, O1 u$ E, A* J. D6 D; i
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    6 w4 `, X: F+ U: x3 p! x, a
  775. ; http://php.net/cgi.dicard-path
    6 L& F# {# I" N
  776. ;cgi.discard_path=1
      U0 p# C) m' b) u3 T$ e

  777. ( O5 }$ V- T. h9 e% R
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate/ d( I7 D! B/ s0 `
  779. ; security tokens of the calling client.  This allows IIS to define the
      ?. M& C( T7 P. l
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    3 n3 R% U9 z; F$ }9 U! N
  781. ; does not currently support this feature (03/17/2002)
    7 C# }$ L' e- W. J3 Z$ \( t( O% l& f
  782. ; Set to 1 if running under IIS.  Default is zero.6 O0 h# g3 z4 ^6 V& D
  783. ; http://php.net/fastcgi.impersonate' [; }' D2 i, L7 B1 t
  784. ;fastcgi.impersonate = 1) \) f3 v# @* ?4 P. ^3 H) m" B
  785. $ ?' o3 N+ V2 e7 F
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable8 P3 b  c/ v+ {! i; |% [
  787. ; this feature.% M) C; G* o; f- b& g8 r
  788. ;fastcgi.logging = 0
    1 C/ ]" Y3 R; l1 H. `  |4 M5 d

  789. 6 y$ ^4 ?7 ]* T+ |! O9 Q+ ?; ]( ?2 L
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    . d" l% \7 p, E: H+ t4 s- D# r. H
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    $ r! n* }- [9 b' g9 Q) U4 \8 I% g# t
  792. ; is supported by Apache. When this option is set to 1, PHP will send7 K# H/ m1 r* w- }, }& i  Z
  793. ; RFC2616 compliant header.
    $ V, `; E6 D6 l0 @  {$ c* X
  794. ; Default is zero.
    % Q: x4 k4 O3 Q; V: M1 c; }
  795. ; http://php.net/cgi.rfc2616-headers; ?) t2 p- B, O
  796. ;cgi.rfc2616_headers = 0
    7 s1 [- a+ G6 Z% U; a

  797. * [  f! L; c( c9 D. L; y& B
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    / B+ g3 e$ {$ {& w# q
  799. ; (shebang) at the top of the running script. This line might be needed if the/ x) P; {6 t8 v. `2 N
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    1 d7 M4 n  ]% N( n- y9 k; G3 M
  801. ; mode skips this line and ignores its content if this directive is turned on.
      l# L; r5 [& o/ I5 O
  802. ; http://php.net/cgi.check-shebang-line
    / j5 o, f$ g2 O* q6 G
  803. ;cgi.check_shebang_line=15 U. M! e. }0 f& D

  804. 4 p4 C3 M( J: |; Z/ ?
  805. ;;;;;;;;;;;;;;;;. |/ P& U# p" \4 w9 o' P4 e
  806. ; File Uploads ;
    ' F6 i# E. S' d* [. i% b- j
  807. ;;;;;;;;;;;;;;;;5 y6 ?" y4 h& }, _9 P
  808. ' ^2 ^6 Z+ R/ }
  809. ; Whether to allow HTTP file uploads.
    0 R* W" c( Z- a
  810. ; http://php.net/file-uploads; Q4 y. S; E7 K" t
  811. file_uploads = On
    8 R! v+ i  o. V# }+ `

  812. , C! U1 B' W4 }' w6 y, y: _
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    $ p) F4 `( }2 w! S  l: C
  814. ; specified).: O# V9 h( N2 J+ A5 |& j9 e. r* d
  815. ; http://php.net/upload-tmp-dir
    ) J9 Q9 [' R4 r0 d  F: {5 R
  816. ;upload_tmp_dir =
    7 r8 P, K8 F8 b0 W; Q* M
  817. ( o  X+ s: q7 T5 Z* y
  818. ; Maximum allowed size for uploaded files.0 u$ B* J6 z2 B* W- U
  819. ; http://php.net/upload-max-filesize3 G9 |* u9 U4 l8 h- v- ?( `9 g* \
  820. upload_max_filesize = 50M
    , |) q4 v2 _" Z" j

  821. , x; Y" D, w& U3 v5 j! U8 @5 e0 ^
  822. ; Maximum number of files that can be uploaded via a single request: X3 l; F+ z& t( k3 P3 Q
  823. max_file_uploads = 20
    " x4 P! ^% `; w: w3 |

  824. " r. k6 J: [4 ]% Z7 @
  825. ;;;;;;;;;;;;;;;;;;
    ( ?. ]1 g* j0 y7 ?. l
  826. ; Fopen wrappers ;# v3 n$ `4 O1 n. |
  827. ;;;;;;;;;;;;;;;;;;  i9 A/ E# q7 E) v+ I
  828. 9 D$ f4 j' Z# z  n3 ]: X4 G# R
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.$ U* S0 {6 y5 G$ c% Q( [6 M
  830. ; http://php.net/allow-url-fopen
    8 A' X" |4 Q2 Q( n. g4 ]' u
  831. allow_url_fopen = On: s( _" }, v4 [6 @, C5 [

  832. # N0 d6 p0 D8 {& t/ g
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    & T, d. r7 v1 ?' J
  834. ; http://php.net/allow-url-include* {6 a; ^2 N/ _. b
  835. allow_url_include = Off
    6 J) C* [2 k6 f

  836. . c, }. Y( d8 i) R/ {1 U$ {+ m! `9 b: X
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    . P# h, T# ?. m' z- o' B
  838. ; for this is empty.; I3 X, r; X* h5 |% T
  839. ; http://php.net/from) f" w' p3 f! G* d& E. i
  840. ;from="john@doe.com"
    ' B+ A* A3 p- L
  841. ( a' k( f8 r2 o3 H) K
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    " O2 N3 ?& O7 A% p( P. G- P
  843. ; http://php.net/user-agent4 {) A: T7 p( H& u
  844. ;user_agent="PHP"
    & I9 d4 {) g6 m7 U

  845. ) W7 s9 a4 J( B' j8 D
  846. ; Default timeout for socket based streams (seconds)+ b% R) E9 a5 i; ?) _3 K/ }$ h
  847. ; http://php.net/default-socket-timeout
    8 a, W0 i% I5 \/ z) t
  848. default_socket_timeout = 60/ ~1 ^; y  o/ L+ D& y. z, O

  849. % Z/ L( K+ V) _. K5 |
  850. ; If your scripts have to deal with files from Macintosh systems,/ m' O5 w/ _# B3 k7 b
  851. ; or you are running on a Mac and need to deal with files from) p" S3 i+ o) V4 O+ P
  852. ; unix or win32 systems, setting this flag will cause PHP to
    % _" @+ L, p* z7 L
  853. ; automatically detect the EOL character in those files so that* G# x! [7 \: M) y" s) V, C
  854. ; fgets() and file() will work regardless of the source of the file.5 ]+ s/ Y6 d5 F+ P
  855. ; http://php.net/auto-detect-line-endings
    / v/ l) Z, B5 Z& ^! Q
  856. ;auto_detect_line_endings = Off
    * g' t3 y" b% b# P; r; K5 M# f

  857. ( H% s3 e2 H  W( i7 l7 Q2 g( S
  858. ;;;;;;;;;;;;;;;;;;;;;;& G5 |, u$ ~  [% Q
  859. ; Dynamic Extensions ;* f5 n% o" \/ x6 [4 Y* u4 q( p
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ; {2 b. F' O: i" N
  861. ! }2 y& @: J) B) S5 d
  862. ; If you wish to have an extension loaded automatically, use the following
    4 P- u) B% I, b1 E0 X. m
  863. ; syntax:4 y5 t( J2 i9 K' a) Q& N
  864. ;
    # y. V1 |+ j: W1 x- q; k
  865. ;   extension=modulename.extension
    " t5 X; N6 u/ c! S- D  @) m- F
  866. ;, D$ W  q$ `0 a  `
  867. ; For example, on Windows:
    , @  B* Q3 L4 F% l/ ~
  868. ;: b' {+ d  @3 m6 ]
  869. ;   extension=msql.dll" t: M% W$ P9 q8 J# U( I) x3 ~
  870. ;4 _3 O' C3 f# h6 p$ `2 v) Q
  871. ; ... or under UNIX:
    ; D: f7 y( [/ m% {4 s" K
  872. ;
    0 Q+ e' E* ]- J
  873. ;   extension=msql.so( S# p: K+ \# w7 [( ]- `
  874. ;
    5 L) d. Y6 |- F, H& N/ n' T: @+ W
  875. ; ... or with a path:
    2 b6 K7 G. E0 D+ j& K
  876. ;
    . c* n% t- X4 U: X' U7 g
  877. ;   extension=/path/to/extension/msql.so
    9 N+ M! W! D) p, L8 V
  878. ;& p: H8 q& A! N4 R
  879. ; If you only provide the name of the extension, PHP will look for it in its) x( @& w( l9 n. E/ N; t( P
  880. ; default extension directory.
    5 Y6 q, @- Z; E7 e$ T( {
  881. ;
    & I; B0 u8 |! R+ y3 Z' x
  882. ; Windows Extensions
    " w( ?$ x& |& y* ]/ D$ m+ }; e
  883. ; Note that ODBC support is built in, so no dll is needed for it., h0 `: J( R( q& J9 y+ S5 K/ Y
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    + ^: Y/ e4 x' |# a
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).* @# `1 W' C( G5 w& p2 N/ T5 d3 f5 g+ q
  886. ; Be sure to appropriately set the extension_dir directive.2 T7 c/ V  `$ P% w# T& {0 s9 w
  887. ;
    6 E3 V8 P% y1 V! F% g# [7 N) @
  888. ;extension=php_bz2.dll3 f) q% z9 k/ F" i: r/ ?
  889. ;extension=php_curl.dll
    1 ]# |1 k& i! z  F: h
  890. ;extension=php_fileinfo.dll
    9 X$ q4 q5 [1 Y5 @" E; v
  891. ;extension=php_gd2.dll
    3 k6 `% h) t' J; B( z0 V4 r" e# n) U
  892. ;extension=php_gettext.dll, q* g' V$ c, Y+ [% n
  893. ;extension=php_gmp.dll
    + c4 S( n" T2 D  A5 x% m
  894. ;extension=php_intl.dll1 o) I( d6 i$ C; M! R
  895. ;extension=php_imap.dll2 ^/ }7 m2 V. M' l6 ~" x
  896. ;extension=php_interbase.dll) p$ ~* D: v6 |9 X
  897. ;extension=php_ldap.dll
    " H1 l* F7 F, A$ N" m5 ~
  898. ;extension=php_mbstring.dll
    ; W9 K- e: ~& L5 ]* v
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it; x, {; x5 Q- L# N$ x( u# G
  900. ;extension=php_mysql.dll0 g: b0 \, s( d6 q
  901. ;extension=php_mysqli.dll
    5 w" K2 N+ P7 b0 ]
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client* E- b. k% V2 t& g: Q, h
  903. ;extension=php_openssl.dll; e5 _$ V2 k* G
  904. ;extension=php_pdo_firebird.dll
    / g3 r7 L* }! K
  905. ;extension=php_pdo_mysql.dll
      [: P& ], H1 v8 N5 C/ J0 c& j
  906. ;extension=php_pdo_oci.dll
    1 N) u8 w( e  H' S: `' N) F
  907. ;extension=php_pdo_odbc.dll; z4 V! v+ b% x
  908. ;extension=php_pdo_pgsql.dll# U- ^) x6 W; H: n; I
  909. ;extension=php_pdo_sqlite.dll
    0 Q. t" V  j- j
  910. ;extension=php_pgsql.dll5 }4 o( Z1 o/ ]
  911. ;extension=php_shmop.dll5 g( \1 {8 c2 O0 D0 j6 v
  912. # O+ \# s: s+ s4 I+ O# q. z5 k/ s5 c
  913. ; The MIBS data available in the PHP distribution must be installed.
    # f' O9 ]5 p0 M& G% p5 `& c
  914. ; See http://www.php.net/manual/en/snmp.installation.php # t- H' u% P! L7 Z1 c' W
  915. ;extension=php_snmp.dll/ A. e- K% y6 X( G. j
  916. , ~7 V4 g/ e' A& ^$ L$ w
  917. ;extension=php_soap.dll/ y8 o" a' F9 |
  918. ;extension=php_sockets.dll3 B% r" ]* z2 h
  919. ;extension=php_sqlite3.dll
    ; Q7 {% q9 N2 e/ A( y: S0 P
  920. ;extension=php_sybase_ct.dll- O$ S/ v8 g( R9 l
  921. ;extension=php_tidy.dll0 A1 s; Z& H' k+ z% R
  922. ;extension=php_xmlrpc.dll
    4 `" r6 `/ Y; ?
  923. ;extension=php_xsl.dll& u7 b' D+ s. _/ O1 F

  924. 6 X3 P) }" C3 g5 p0 x
  925. ;;;;;;;;;;;;;;;;;;;; M+ k7 g  s+ h# A9 D
  926. ; Module Settings ;
    4 v! |' `: f! {  z, g' x
  927. ;;;;;;;;;;;;;;;;;;;
    % R% _% K0 U( }

  928. 4 E  K1 \) Y. }) Z! g
  929. [CLI Server]
    + w& \* |# c: d( i& @3 n
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.8 a4 j/ h2 a- l! r9 J" N
  931. cli_server.color = On9 W* h6 M; J* \4 S# G( z( \
  932. 4 k+ T1 _8 F4 w$ P- U  L
  933. [Date]% B1 [& n; `' P( V+ C8 ~8 _- n
  934. ; Defines the default timezone used by the date functions* w2 W' o+ Y" d
  935. ; http://php.net/date.timezone
    4 u& k. c7 C2 |+ {
  936. date.timezone = PRC+ \8 o; [6 T- z# S' M+ n  e
  937. ( L+ A+ [6 y1 D! A: @* ?8 G! g* H3 U! X
  938. ; http://php.net/date.default-latitude
      G' @2 _9 n4 T$ P  z9 l, k
  939. ;date.default_latitude = 31.7667
    # L9 ^3 @7 o4 y; K( A3 B: b* J, r

  940. ! q: [9 |3 ^9 U9 J" ^
  941. ; http://php.net/date.default-longitude- t+ F7 p# e- K% {0 ?
  942. ;date.default_longitude = 35.23336 j4 r; C0 p4 F; s
  943. 2 O$ i: b$ I! h$ |) O: U6 P% ?
  944. ; http://php.net/date.sunrise-zenith1 C+ b; S2 K# P0 {$ q& |8 E
  945. ;date.sunrise_zenith = 90.583333
    7 w# r% C8 H6 f3 P
  946. 5 p: C( t0 \, D8 q: G% `
  947. ; http://php.net/date.sunset-zenith
    * X- c9 u, [) B/ b4 l/ B) H
  948. ;date.sunset_zenith = 90.583333% E/ D! I2 H) W/ Z+ W

  949. 9 i) B- q! w. v
  950. [filter]
    7 Q2 |2 |4 n7 b$ Z% Q5 q. d
  951. ; http://php.net/filter.default
    , ^. |& f3 b7 h0 {2 r" \% r# s2 h9 p
  952. ;filter.default = unsafe_raw
    / z; g+ w2 H) a; q
  953. 9 Q, Z3 S' l0 l1 ]& t' f$ l
  954. ; http://php.net/filter.default-flags
    ( Z' T6 U3 P1 e* ?- C! ]
  955. ;filter.default_flags =
    ) C8 K3 f* \* x3 Z, B6 P

  956. . M- \+ Q- c3 o: z
  957. [iconv]
    " G- ^) v  I/ z% ?) a0 N, b
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
      q' ]8 ~( N3 F# d' L! O
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.  x0 B# x' \! M/ Z* b$ E
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding" i9 y9 g/ u# s1 v
  961. ;iconv.input_encoding =' L' t. B* O/ A5 u! c4 e
  962. ' K# i0 F3 P( r2 w. K% ]- q5 O
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    - a% e8 p3 P( I& S% g) r
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.+ F1 W/ J- H3 b9 ?* _5 D  h
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    0 ]! f* G6 M. Y5 h- j
  966. ;iconv.internal_encoding =
    8 q6 F: ^8 E8 m% V* D7 c
  967. 4 I7 D& V4 O0 S
  968. ; Use of this INI entry is deprecated, use global output_encoding instead./ K5 X  C) P4 W* C  w
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.; y' Q0 j* I+ J  }- ^- ~5 }: D0 X1 d' z
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    6 ]2 E# ]7 k: a
  971. ; To use an output encoding conversion, iconv's output handler must be set
    $ m8 [* A0 X  K8 O
  972. ; otherwise output encoding conversion cannot be performed.3 n+ e& W. d' F
  973. ;iconv.output_encoding =  f' B3 p5 Y# O. u. j' y: d! \9 N

  974. - \1 M' g$ h+ L: C' D
  975. [intl]7 k6 d5 \8 s* o6 w; a3 i( t
  976. ;intl.default_locale =
    0 `7 @3 @) ?6 N) v
  977. ; This directive allows you to produce PHP errors when some error+ g3 }" E  l& Q' c- k3 T1 v
  978. ; happens within intl functions. The value is the level of the error produced.
    ' o2 ]8 \; [0 Y
  979. ; Default is 0, which does not produce any errors." \# \& R" A& Z( {; C* ^
  980. ;intl.error_level = E_WARNING
    # [1 L7 c2 n6 Q2 Q  ?, Z* D
  981. ;intl.use_exceptions = 00 A: |) ^, o# J$ ?: v1 [3 @3 ~
  982. ; A5 p1 h# G' E, l; \) e8 Z
  983. [sqlite3]
    5 {% r- n% {$ T
  984. ;sqlite3.extension_dir =  O1 G, s' O" J# O  k( A

  985. + L0 T* @- L: n/ f# L& x" k
  986. [Pcre]
    ! L! w, K  Q" P; ^  O. j+ {7 ?
  987. ;PCRE library backtracking limit.5 o1 c! P3 ]) a1 v9 z
  988. ; http://php.net/pcre.backtrack-limit: x  b& b* \$ H7 i  M, V/ l
  989. ;pcre.backtrack_limit=100000$ K% _$ H, _7 U. V- E/ v' @/ ~

  990. & v( h+ S2 s+ o# b3 s+ v
  991. ;PCRE library recursion limit.  g5 |) W; P( p0 {  j
  992. ;Please note that if you set this value to a high number you may consume all9 _' b$ B) o# r, O3 k
  993. ;the available process stack and eventually crash PHP (due to reaching the, \$ }, o* g- G) C1 t* U" J3 T2 P
  994. ;stack size limit imposed by the Operating System).0 B; k0 N0 i' `3 |
  995. ; http://php.net/pcre.recursion-limit% L0 p) g* I6 X) e" W
  996. ;pcre.recursion_limit=100000- ^/ g- H& c; U7 \9 ^* T' U- o. \
  997. " B( R" B( V$ G% Y
  998. [Pdo]
    * e& T8 o7 N5 h8 h
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ' {3 Y# U% B; M5 G9 y  }( i
  1000. ; http://php.net/pdo-odbc.connection-pooling3 g0 T  n/ J6 H# @3 c
  1001. ;pdo_odbc.connection_pooling=strict# Q# m/ I0 h6 [" ~

  1002. . J1 {9 `  Z9 f; [
  1003. ;pdo_odbc.db2_instance_name  s! D# s3 x. J% e! Q9 f7 P+ M
  1004. ! d9 E5 D$ w* [  d
  1005. [Pdo_mysql]
    $ S0 z! c/ g- X# z, u
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache) q1 x, x4 Z2 E3 z9 X- M6 L( `
  1007. ; http://php.net/pdo_mysql.cache_size
    - @: @- X, L3 r3 C: C0 g0 H7 y, i
  1008. pdo_mysql.cache_size = 20002 e! V! |( L8 ~& W% v

  1009. 6 W7 C, D& Q  D6 G& Y0 P/ Z* _- \
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ; j- r- G# e& ^7 e$ i: ~* O
  1011. ; MySQL defaults.
    ) [. C+ ?, ?0 s/ y0 Q1 P
  1012. ; http://php.net/pdo_mysql.default-socket2 H8 r+ c' H: B+ B8 Q4 ?3 n
  1013. pdo_mysql.default_socket=. j& O  [8 X  |& N5 F( s; C
  1014. 2 ]8 Y( q/ p2 D/ `& d! _
  1015. [Phar]
    0 k7 [5 T  F, B0 d: Q
  1016. ; http://php.net/phar.readonly& f- ~& y3 m2 P
  1017. ;phar.readonly = On8 s; ]5 L0 F, Y

  1018. 6 A5 G2 x5 @3 b% J, a  Q+ F
  1019. ; http://php.net/phar.require-hash
    $ l$ R$ {% e3 T( S, n8 v& F
  1020. ;phar.require_hash = On
    5 {# N# D8 ^( e; i
  1021. ) a. k9 Y" E  r2 h: r
  1022. ;phar.cache_list =7 [$ Z; s- K, U. _: V, c7 H2 p

  1023. ) F' c  l* g; M0 I# Q9 n8 Q
  1024. [mail function]
    * ]& W) [7 x: i
  1025. ; For Win32 only.& v! ^! ]# J# X# l
  1026. ; http://php.net/smtp
    . W5 Z# u1 W$ [" U8 k% q
  1027. SMTP = localhost' [1 F7 Q. ?" n: |' t1 v
  1028. ; http://php.net/smtp-port
    6 @' O6 P# _8 B" v+ G0 ?
  1029. smtp_port = 25! k0 ?: `9 W& u" S- Z2 ?$ C

  1030. 1 F/ ~8 G1 d* E1 B3 {
  1031. ; For Win32 only.$ n) A2 @6 q: j: e
  1032. ; http://php.net/sendmail-from
      V! t# \$ K$ k$ p% l: R
  1033. ;sendmail_from = me@example.com/ m6 R% U) l  N3 N3 c! }6 F( H0 P

  1034. : X1 I! T% o/ ]
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    # j8 l4 J3 K4 [% Y3 V1 |
  1036. ; http://php.net/sendmail-path
    " u3 ]. h' m# L9 C. [" p. {
  1037. sendmail_path = /usr/sbin/sendmail -t -i) ^% A4 v! `6 {6 R$ E$ z" y

  1038. . A' ~( N0 L. w  t
  1039. ; Force the addition of the specified parameters to be passed as extra parameters5 W; H3 ?2 |9 F8 k4 k) T* F
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ( q( e1 x4 J: Y
  1041. ; the 5th parameter to mail()./ n/ c  L! |$ @2 t
  1042. ;mail.force_extra_parameters =
    * J: ^& s) V6 m8 K

  1043. ' ~2 E9 t/ Z# ?0 J1 E3 ]
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename7 S$ b' t+ o: X3 Q5 Q; p
  1045. mail.add_x_header = On
    ! j5 \* ^* R  q) T  ]  S
  1046. . ^7 T$ t# a3 O' `) F
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    / ?3 s1 K- N2 a$ ~& I! h/ f0 |
  1048. ; the full path of the script, line number, To address and headers.
    % i" Y5 j0 Q3 U; J4 y8 h1 a/ E
  1049. ;mail.log =
    ( k5 K; c% Q- w
  1050. ; Log mail to syslog (Event Log on Windows).  f. E* w: G9 b" X  b$ q: S1 U
  1051. ;mail.log = syslog8 z, o9 W/ M3 d/ L* W8 X; t' m8 t

  1052. - ]+ b; s- t, d! c! V. s% ]
  1053. [SQL]
    9 P3 G6 D' d( L0 }0 q/ q6 V" H. F
  1054. ; http://php.net/sql.safe-mode6 ]) L7 B% v; }
  1055. sql.safe_mode = Off' H& S: u7 W" b! U. v
  1056. ! ^8 W! d( K" {
  1057. [ODBC]
    . |" f# e8 f" ?. {6 W6 A* a: e
  1058. ; http://php.net/odbc.default-db: t1 ^/ W, c/ J
  1059. ;odbc.default_db    =  Not yet implemented& q' @# Y2 T' D/ O9 L

  1060. - v5 M- V- x$ s* B: a( Y( z; L9 Q
  1061. ; http://php.net/odbc.default-user: i: B8 ?! x$ i
  1062. ;odbc.default_user  =  Not yet implemented
    ; l9 U( Y; M3 k9 D: t
  1063. 2 E, w7 |( o  z* c
  1064. ; http://php.net/odbc.default-pw
    . C4 n* p- D9 [3 r( Z
  1065. ;odbc.default_pw    =  Not yet implemented8 F; Q  j3 f% |5 N5 h8 k, s

  1066. 1 `/ s. P- [+ X7 i; z) T
  1067. ; Controls the ODBC cursor model.
    1 q6 u* K1 y. b, ?/ t- E/ t
  1068. ; Default: SQL_CURSOR_STATIC (default).3 R* |& g( `1 @$ {7 c7 l
  1069. ;odbc.default_cursortype
    % R$ H  A: b) G) f1 N/ u( r; m
  1070. & V3 |1 l/ w2 o3 C, G; I
  1071. ; Allow or prevent persistent links.
    " S# o8 @( D" x" a
  1072. ; http://php.net/odbc.allow-persistent6 X$ k: i7 H2 J( g. \9 j5 I& ]% V
  1073. odbc.allow_persistent = On
    ' G5 p/ J" m% M$ Q( o: _
  1074. 7 M9 f* n) d* N
  1075. ; Check that a connection is still valid before reuse.
      z) u5 p: V* R8 S. a1 b  [
  1076. ; http://php.net/odbc.check-persistent9 Q" ^1 Z1 [) ^$ J  r! v
  1077. odbc.check_persistent = On% p" {: k. }' H1 c; x
  1078. * r- {/ n, d. G/ p
  1079. ; Maximum number of persistent links.  -1 means no limit.
    ( R! f4 v9 i9 R6 N
  1080. ; http://php.net/odbc.max-persistent5 g8 n, B8 W1 B6 R7 q' ^, b8 N
  1081. odbc.max_persistent = -12 `0 j, g& s, _* x8 g* a

  1082. : }! j; ^% t2 m' O* t9 m% G) O
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * h) W1 L2 L' V0 z5 ~
  1084. ; http://php.net/odbc.max-links. [/ i  g" G/ I, t- H
  1085. odbc.max_links = -13 b3 t% s- ^0 q2 M. \

  1086.   v. o' {5 `" L; n/ k" q9 O% N
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means. \7 ~' h( ~2 V5 U' e$ G
  1088. ; passthru.
    9 x1 Y- ~, i% s; {
  1089. ; http://php.net/odbc.defaultlrl
    1 y$ a) k6 O1 t1 ^* f, R  i
  1090. odbc.defaultlrl = 40964 r" ^: \/ v( ~5 Z
  1091. . a! p1 L. ]" ^$ f, l
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.  C7 q$ v8 v' T$ K) Y  Z
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ) k# x6 f3 a! {$ l  y5 P  \0 u8 L
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    4 D  u0 E: o/ h3 m( ^
  1095. ; http://php.net/odbc.defaultbinmode3 [2 G& w& N: m% s+ I9 u
  1096. odbc.defaultbinmode = 1
    ! L; j& e/ j: k% W0 T
  1097. - T6 h5 m* j/ V( J% s
  1098. ;birdstep.max_links = -18 x8 y; z  w  K3 O) t7 I5 C, K
  1099. / T3 p0 b* h$ B( V: e3 `5 T
  1100. [Interbase]" @: h1 E1 j( \6 o+ u
  1101. ; Allow or prevent persistent links.4 n6 P* f4 }8 v  Y
  1102. ibase.allow_persistent = 1
    8 c$ Y$ e+ ]# R7 V2 Y$ L
  1103. 9 n$ l2 V+ V' d/ H+ v3 e
  1104. ; Maximum number of persistent links.  -1 means no limit.8 D  z+ ?6 L) `# `! v4 {5 h+ @7 e8 K
  1105. ibase.max_persistent = -1
    7 F8 ?7 V: p3 c4 o2 g
  1106. $ b% a: W' K2 a! m1 I+ \9 f! D
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 L. o5 u0 U7 m8 v- w6 h
  1108. ibase.max_links = -11 ?7 I6 W& N3 B4 b6 T
  1109. ; Z3 j0 x- k8 X
  1110. ; Default database name for ibase_connect().
    : J! \" u. P% p0 h: o
  1111. ;ibase.default_db =& t& g2 K" H4 K5 b1 O% ^
  1112. 7 f+ J( ?% d- O6 a; o
  1113. ; Default username for ibase_connect().
    , \5 u  ^; v2 R: h0 z4 W' W* f
  1114. ;ibase.default_user =0 ]6 _, ]; S& Q5 M. X

  1115. 3 i1 G. T& O) X0 ^
  1116. ; Default password for ibase_connect().9 C/ N" O$ n! n9 N8 |3 |) _
  1117. ;ibase.default_password =
    8 y+ A  U) \  U6 J

  1118. 9 Y* ^/ n+ M* \4 y2 Y" V- n
  1119. ; Default charset for ibase_connect().8 A+ h1 ~. R: P; H$ `9 S- U$ ~6 H3 F
  1120. ;ibase.default_charset =
    2 S: H' w  K6 E; K% O2 \. _

  1121. ; [/ R7 c! i' a+ w7 Z
  1122. ; Default timestamp format.) C  N* Z( I: o$ V
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ; [  S' Z  U2 S7 p4 \3 |
  1124. ( Q; L0 n+ A# ?
  1125. ; Default date format.
    9 v% _+ J; R( ~- [3 A6 S+ J
  1126. ibase.dateformat = "%Y-%m-%d") N: h- `  G/ r3 Q2 c2 R
  1127. ; l+ g7 F% I. n, r- x
  1128. ; Default time format.. O7 |% U$ s0 `. @2 x/ {
  1129. ibase.timeformat = "%H:%M:%S"
    * U4 c, \( p' w8 X

  1130. * Y, H: M& K- n: I+ M& s5 C# h
  1131. [MySQL]
    , T+ Q' s' ^$ X9 w* Q! [
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements/ c/ z$ G4 L0 h. `9 E
  1133. ; http://php.net/mysql.allow_local_infile5 M" i5 {( y4 @$ }
  1134. mysql.allow_local_infile = On
    . k( K1 H. _+ e; t) g: m. g* N

  1135. 6 f, K9 ]5 o+ W, S
  1136. ; Allow or prevent persistent links.
    : r8 o3 d. N1 @3 x# J& e
  1137. ; http://php.net/mysql.allow-persistent
    % C* [) ^% }, E
  1138. mysql.allow_persistent = On
    ' W. \8 Y2 i( F0 |* O7 V1 F8 y  [

  1139. & I! E: n! w) a. N2 Z& q( y% ]7 y
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache* x2 g4 d+ d- W4 h/ q
  1141. ; http://php.net/mysql.cache_size
    % m% P- [+ `0 {& ^" v; E1 L0 h% e, u0 m% [
  1142. mysql.cache_size = 2000
    3 ^4 b0 I- V4 w
  1143. $ i2 ]6 Q' V' K2 ?; k+ K
  1144. ; Maximum number of persistent links.  -1 means no limit.
    $ B: x- C9 h! C. l5 Y- w0 P
  1145. ; http://php.net/mysql.max-persistent
    ! k  ~6 L% F% V9 ]% {8 c
  1146. mysql.max_persistent = -1
    ' k- j8 `8 O8 D& O4 Z: w3 v7 ]; e
  1147. ' w6 h; |/ a$ ^5 A, W' ]8 H3 ~$ v
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 x: ~2 z6 s; ]6 n
  1149. ; http://php.net/mysql.max-links
    : `4 F/ ]0 t( U: n6 V
  1150. mysql.max_links = -1
    . c  G. C1 V% y% c" g/ s
  1151. ' K+ K8 n  G0 X5 L0 N! v! g
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    , \3 c2 [6 j% e9 M/ G9 [5 M* [; x
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the$ G; S( q# A5 G: B& H+ n1 H2 L
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look, \4 i$ r8 c8 b, e, E6 V
  1155. ; at MYSQL_PORT.
    6 D0 w0 I3 q8 }2 A2 I8 p/ ^
  1156. ; http://php.net/mysql.default-port: p( y$ }8 c% a* V' V
  1157. mysql.default_port =2 P& i6 e) i0 x$ L2 n8 k7 o; K

  1158. / N: @7 g$ X3 Y, z1 |2 \
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in; @1 G' b3 B, U
  1160. ; MySQL defaults.5 A, }2 ~, x3 i5 ^4 C& _
  1161. ; http://php.net/mysql.default-socket
    # f0 x4 C/ d7 r0 {
  1162. mysql.default_socket =$ M# h5 G' l8 f/ d7 I/ |; L

  1163. + t6 d9 E9 c1 a2 K& b' a
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).3 O, l1 O, f, p- J
  1165. ; http://php.net/mysql.default-host. i. h3 |) Q+ ^0 x, N6 B: ]0 ?6 O
  1166. mysql.default_host =% p9 i. T) R4 M1 k$ M' o

  1167. $ w$ C6 `# c+ V0 `
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).+ y0 ^& `; m, b. L+ }% K
  1169. ; http://php.net/mysql.default-user
    ( }* ^8 h% u& R& P
  1170. mysql.default_user =1 X! m. P  t# Q
  1171. 9 _* f; v! O' s1 s! V* o
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).3 r* W. E7 M% C% b) ^
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.+ j) v4 z- |% `6 l. k
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    9 n% Z2 [; |/ c& q3 _% K- L0 X
  1175. ; and reveal this password!  And of course, any users with read access to this
    " ]: K9 z7 H8 v% H" B. N) I
  1176. ; file will be able to reveal the password as well.% L1 p$ x- ?2 ~5 [$ p) m# j* S
  1177. ; http://php.net/mysql.default-password, M: W. j$ f! n1 S4 ]
  1178. mysql.default_password =% ?" g" L/ N/ u0 D+ R

  1179. ! q+ l$ X# P, M9 W1 H, \
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit, G5 x) }- X+ J+ X; q5 c0 W
  1181. ; http://php.net/mysql.connect-timeout) m3 x* x' A7 k( ]; u; t2 F& `
  1182. mysql.connect_timeout = 60
    5 c& w# b1 K$ J! x/ L2 G) V
  1183. 4 v. i5 k1 [9 v, D. E
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and' n0 Z% T4 O; a# S1 T
  1185. ; SQL-Errors will be displayed.
    2 x% ]; @2 O* F, g
  1186. ; http://php.net/mysql.trace-mode: B! N' v$ L6 B4 Q
  1187. mysql.trace_mode = Off3 g# w! ^  j7 Z' |9 o

  1188. 4 D, T) q* E! i& m" I
  1189. [MySQLi]
    ! m) A) D# u6 n! B, |
  1190. , c, n; Y/ p& X$ l; A8 V2 f
  1191. ; Maximum number of persistent links.  -1 means no limit.$ {4 \& g3 c  [
  1192. ; http://php.net/mysqli.max-persistent4 [! o% D" O! i1 d  D
  1193. mysqli.max_persistent = -1/ m0 ~6 [' b7 a( i) n, t7 a

  1194. . b( @9 I9 S! l" e
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements2 c$ ~" C" i- `2 E7 _
  1196. ; http://php.net/mysqli.allow_local_infile) ?8 B( K' B" O4 m5 T5 E
  1197. ;mysqli.allow_local_infile = On+ `1 a7 F% j( ?: n0 @% D  e% o$ T9 w
  1198.   S! V' T+ W8 N4 x
  1199. ; Allow or prevent persistent links.
    : j+ R5 S2 @% _6 o6 z! p4 ]8 ^8 E, ]
  1200. ; http://php.net/mysqli.allow-persistent. Z! C0 `7 r: S8 C4 z+ I! [
  1201. mysqli.allow_persistent = On
    ( b( R  R. ?2 `* o

  1202. ! n3 q# l7 ^4 A+ i5 B0 g0 k
  1203. ; Maximum number of links.  -1 means no limit.
    ' `# B- U5 N: A8 P. g, m! C
  1204. ; http://php.net/mysqli.max-links- p: R" [) O, {1 u, S
  1205. mysqli.max_links = -1' b# g; a/ c0 d! \) g

  1206. ' N  C/ C" x4 t7 C1 i3 \
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache, H1 W- S9 Z) p( c7 X$ X5 d; X% E5 `
  1208. ; http://php.net/mysqli.cache_size
    0 \7 y0 ]! C- i% V, O. \
  1209. mysqli.cache_size = 2000
    & W; T, `3 n- p; ^
  1210. 8 m- ^( X# r, m3 t' M
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use4 ?" {* B& i, b$ v
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    " Q0 o& P1 A! F) q9 C; S/ `
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ' ~+ Q8 l5 V# [( u) O1 Q" S
  1214. ; at MYSQL_PORT.( _) {* u" J0 N3 ?3 J* U; l6 U' x" n
  1215. ; http://php.net/mysqli.default-port5 C+ T# D# X0 P; ^# u
  1216. mysqli.default_port = 3306
    ' P$ s4 \! E9 i  S7 |  k3 D+ @
  1217. 2 @9 U) h' t% t/ f/ r& }1 P
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in* U1 d6 S4 t( A0 O# d, {
  1219. ; MySQL defaults.
    . D  b' O: n/ S+ X; @
  1220. ; http://php.net/mysqli.default-socket
    - r" m' F. w- p# D' }  H
  1221. mysqli.default_socket =0 k/ ?  @/ s; Y" b) c

  1222. 4 b6 I8 A: O: ~. Y" Y# r- ]
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    8 O3 D8 c( u: G& S+ r" `9 i
  1224. ; http://php.net/mysqli.default-host; e9 Y/ c( k3 l  q( ?8 |2 U
  1225. mysqli.default_host =
    3 d8 u' Z- q' Q5 u7 U
  1226. & D  L' R, |+ L6 n+ G. O
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).) ^5 v5 m* M) B' U. I
  1228. ; http://php.net/mysqli.default-user
    8 Z0 B7 r6 b& u9 L
  1229. mysqli.default_user =% Y0 C! b6 E9 D- y9 S

  1230. ( N  r% X; j- C" D+ w* Q- N
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).% N7 Z. _: }+ O6 C& V* x" R  W; c
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.' B5 J2 t1 e9 N) c6 ~' Y- A
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    5 {: {8 K7 y: V5 I: L
  1234. ; and reveal this password!  And of course, any users with read access to this7 t0 s0 A' }3 P9 t% I; o; g
  1235. ; file will be able to reveal the password as well.4 g' \  L( H4 p
  1236. ; http://php.net/mysqli.default-pw; h7 k) c* T' J; A* A
  1237. mysqli.default_pw =% Y# C  q# c! P3 U
  1238. ) b" @( M3 q8 m6 }5 U( I0 @) u
  1239. ; Allow or prevent reconnect1 `8 R' T+ i* K4 ^
  1240. mysqli.reconnect = Off
    / h9 h6 s- d' m2 x# V8 F4 S
  1241. ' q5 o; W* x' l6 P" @
  1242. [mysqlnd]2 o) h( K1 a0 Z* |
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be) @# O7 V0 e; [, }
  1244. ; used to tune and monitor MySQL operations.
    ' X5 G. E3 w" f1 S% J9 p- l5 a
  1245. ; http://php.net/mysqlnd.collect_statistics& b9 j, w( Z* w. T+ }
  1246. mysqlnd.collect_statistics = On* m) |, b8 T3 k3 ]* Q+ c: Q

  1247. 5 w/ \& n1 U, @/ u' R/ V
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    9 s+ h$ q* h# K: f& {* v4 D/ x
  1249. ; used to tune and monitor MySQL operations.6 y4 o8 ?& g. t* b' q1 ?, H0 K8 z
  1250. ; http://php.net/mysqlnd.collect_memory_statistics4 n% P5 H4 w8 b1 q. z( T) e+ @
  1251. mysqlnd.collect_memory_statistics = Off0 a, b: ], r9 ~7 O% M

  1252. , j$ S$ }  t$ e8 P( E
  1253. ; Records communication from all extensions using mysqlnd to the specified log8 |0 b& D% ~2 u/ G
  1254. ; file.* w' h" l# n, k& i& o5 C1 v
  1255. ; http://php.net/mysqlnd.debug
    * x" v# E! {$ \  T0 d! y
  1256. ;mysqlnd.debug =! [# h. o$ f8 {

  1257. 9 U/ H" i  [# w6 t  |2 E6 a5 }
  1258. ; Defines which queries will be logged.
    1 k8 ^% G2 |0 m6 Z
  1259. ; http://php.net/mysqlnd.log_mask* \  x$ C, Z% G5 l. J
  1260. ;mysqlnd.log_mask = 0! u; J- ^3 r6 G, C
  1261. 6 n2 Z9 _: [1 n2 X) W
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ; M% [7 Q1 p5 m/ s6 P2 A
  1263. ; http://php.net/mysqlnd.mempool_default_size
    8 O  q& B- O, b) ^* i5 H4 _9 I
  1264. ;mysqlnd.mempool_default_size = 16000  ]8 T$ U5 G6 {- {$ T$ J1 `2 Y
  1265. 3 o7 b1 u! S  O2 J! L3 O
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ' l# V2 u0 H& p; s% ^1 Q
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    3 j0 ^* V- M# s" Z, t) n8 q9 Q
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    + ?7 M6 C1 b% M9 Z0 \( V

  1269. 0 r9 I9 t! g4 V# U
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in2 n# P/ i0 y2 u) {/ w
  1271. ; bytes.
    3 `( a5 c7 S  p5 {
  1272. ; http://php.net/mysqlnd.net_read_buffer_size4 ~7 |, d# D- E( ^8 L. ]7 N; r
  1273. ;mysqlnd.net_read_buffer_size = 32768: X! |6 w- ]7 e" e5 C* i

  1274. ( Z! Q7 ~% Q$ K9 l/ Y
  1275. ; Timeout for network requests in seconds.
    ! Z; o# q' X% z* _6 H& P
  1276. ; http://php.net/mysqlnd.net_read_timeout: q6 \- K( D( Q  h. j  [4 c4 j
  1277. ;mysqlnd.net_read_timeout = 31536000
    6 ~; x7 X2 p  p& W
  1278. 4 I* Z$ O/ b$ |( J$ k1 x$ E
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    8 {! J* s5 C, \/ ^
  1280. ; key./ s9 S  I& y& u' B2 k
  1281. ; http://php.net/mysqlnd.sha256_server_public_key$ r/ w( ?; R% [6 Z& R( C* W/ h; S
  1282. ;mysqlnd.sha256_server_public_key =( R' m' E% A1 I& u! q
  1283. 6 n% h- q8 l. ]8 i: q# M3 ?% h
  1284. [OCI8]$ P' B5 n; M$ [( p! |+ K

  1285. ; u- V/ v9 S% y$ i- k
  1286. ; Connection: Enables privileged connections using external
    8 S# |: O! b/ }# y
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)1 p# U' F) d' g
  1288. ; http://php.net/oci8.privileged-connect
    7 M3 R; K" R; s: m- _/ J
  1289. ;oci8.privileged_connect = Off. r1 g$ b0 F, R- I) H/ {$ R

  1290. # B% g. R% ~3 w; \5 z+ Y5 T
  1291. ; Connection: The maximum number of persistent OCI8 connections per; J7 P& [# o2 G( ?) Z: t
  1292. ; process. Using -1 means no limit.
    ) X8 B, V) M2 @1 Z, a) n( L
  1293. ; http://php.net/oci8.max-persistent
    . |, A9 e. O1 _0 {0 r: E
  1294. ;oci8.max_persistent = -1
    0 b5 f* F) y& ~, T

  1295. ( `) X7 m& ?) H; d: Y
  1296. ; Connection: The maximum number of seconds a process is allowed to
    . @4 d7 |" d7 ?
  1297. ; maintain an idle persistent connection. Using -1 means idle
    7 J8 {: |& H( P/ r% I. H2 X
  1298. ; persistent connections will be maintained forever.' `  U9 v: u% l
  1299. ; http://php.net/oci8.persistent-timeout
    ( ]' R0 |2 Z- a/ l' \/ o  F
  1300. ;oci8.persistent_timeout = -10 ^9 Y% v6 l3 o. o4 Y8 V" ?* q
  1301. " L) D8 F: K7 ]
  1302. ; Connection: The number of seconds that must pass before issuing a
    1 u$ ?" J. Q9 _# ~' `+ R- C
  1303. ; ping during oci_pconnect() to check the connection validity. When
    - l  f  }& W. S& E4 Y, Z
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables- j5 x+ B% j" l! T4 r, T
  1305. ; pings completely.
    : Y2 D" M+ m( _$ e! a
  1306. ; http://php.net/oci8.ping-interval- e8 n- k# a- E+ N/ E' {& Q. D
  1307. ;oci8.ping_interval = 60
    9 q9 I% e7 ?* T# q- j

  1308. * C) q1 Q9 ~! K- E5 @/ n0 M' b
  1309. ; Connection: Set this to a user chosen connection class to be used
    3 D0 S/ v% q- W- }3 c3 o2 g( a" @
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    9 P: V) w5 P1 t0 Q( f. }7 j1 [* a. f
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to2 d( S6 L9 r% I6 {6 Y
  1312. ; the same string for all web servers running the same application,
    " T0 w- H& ?. ]8 s: ^
  1313. ; the database pool must be configured, and the connection string must) j. e! T$ H; ^' U+ _4 I# W
  1314. ; specify to use a pooled server.
    8 u- s1 q# x) g7 N9 D6 K$ i
  1315. ;oci8.connection_class =7 t0 [' |, C; N) ^' O8 k5 [+ o

  1316. % f4 Y1 V$ c2 R" v+ \# K3 Q
  1317. ; High Availability: Using On lets PHP receive Fast Application: U( F9 L0 N: p8 T' c6 c2 N7 O
  1318. ; Notification (FAN) events generated when a database node fails. The
    # D3 j$ I1 M+ }5 z. |* o6 E* V
  1319. ; database must also be configured to post FAN events.6 T, A( v+ \$ @& a: J8 X
  1320. ;oci8.events = Off
    2 K" I  l6 Z" c1 S

  1321. 5 j* f* b3 T5 o- n. ]" I
  1322. ; Tuning: This option enables statement caching, and specifies how
    9 ~, c' w9 w% Q; f( l7 h, \
  1323. ; many statements to cache. Using 0 disables statement caching.* D; q5 Q1 D( d
  1324. ; http://php.net/oci8.statement-cache-size. q4 l' B% m# J+ u% `
  1325. ;oci8.statement_cache_size = 20
    + h0 _+ l- U9 y8 m6 s4 Z

  1326. . ]& Q5 _4 Q) _. ?2 |
  1327. ; Tuning: Enables statement prefetching and sets the default number of3 I) I5 q( v( ^  J
  1328. ; rows that will be fetched automatically after statement execution.
    6 o5 l1 q2 n1 r( m
  1329. ; http://php.net/oci8.default-prefetch
    ; Q$ j7 }+ w  d
  1330. ;oci8.default_prefetch = 100
    ! |% q) c. U3 q4 O, g6 i
  1331. ' E# M! ^- d8 y, d
  1332. ; Compatibility. Using On means oci_close() will not close
    5 p0 a0 x$ |  l" T4 a
  1333. ; oci_connect() and oci_new_connect() connections.4 q2 V6 q! R# F  |
  1334. ; http://php.net/oci8.old-oci-close-semantics
    ! M& \3 I: d# T5 [9 \, i' d- z
  1335. ;oci8.old_oci_close_semantics = Off
    1 c4 F6 \( p4 L( Q6 Y
  1336. * `6 p6 c  d& R) `
  1337. [PostgreSQL]) S3 |( R% x5 [* G& u( j1 y9 o3 q
  1338. ; Allow or prevent persistent links.
    ) J6 J# J5 w& M0 M; Q
  1339. ; http://php.net/pgsql.allow-persistent
    $ y% `& {: t* X
  1340. pgsql.allow_persistent = On* s' |) o! M- j* b( g7 v! g
  1341. - z+ @0 w5 F5 m2 _  K4 {
  1342. ; Detect broken persistent links always with pg_pconnect().
    # ]* }: l. S$ d; n  {
  1343. ; Auto reset feature requires a little overheads.
    1 D( F- q$ [9 s/ V2 Q$ e" {
  1344. ; http://php.net/pgsql.auto-reset-persistent6 ~  A4 n2 G: \* ^
  1345. pgsql.auto_reset_persistent = Off4 N0 H6 ]" Z+ u1 C& G- ?4 p2 m8 V

  1346. ) b& S9 u8 s# x8 W  l( r/ |/ X
  1347. ; Maximum number of persistent links.  -1 means no limit.
    " S2 N8 H5 w6 x) q( F9 C, g
  1348. ; http://php.net/pgsql.max-persistent6 [% N: B1 E5 k- Y8 M4 N
  1349. pgsql.max_persistent = -1, r: A) Y5 t: r7 q( n3 t

  1350. + S. s8 g; v3 \
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    * S1 O- ~6 g; \. j$ \' B* D
  1352. ; http://php.net/pgsql.max-links' k) I$ Z, J9 L: T
  1353. pgsql.max_links = -1
    8 z# F, j  G4 P: {5 s

  1354. 7 W: i- Z9 }- J0 G% Y  h
  1355. ; Ignore PostgreSQL backends Notice message or not.+ b- M  C; o9 w" }
  1356. ; Notice message logging require a little overheads.; O, N* Z" \% i; q
  1357. ; http://php.net/pgsql.ignore-notice
    3 l/ [8 [9 o7 c: {
  1358. pgsql.ignore_notice = 0: v% a, |' R  N& w8 o0 m. k. `
  1359. 8 L" n3 P; i6 a: w' g
  1360. ; Log PostgreSQL backends Notice message or not.8 S2 T( W7 N) D% g' Q
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message./ F0 C0 h- W* O. H0 m% u
  1362. ; http://php.net/pgsql.log-notice
      p- k( ^4 K" z# o
  1363. pgsql.log_notice = 0
      C6 w" q6 q8 d& O' K4 N1 Q$ F

  1364. 1 @6 O4 _, A; ?% L5 @
  1365. [Sybase-CT]# v. |9 E/ [/ K: L+ K1 U% u- p
  1366. ; Allow or prevent persistent links.
    ! y# H7 n1 N# M  G8 U; u  i
  1367. ; http://php.net/sybct.allow-persistent0 e! a0 d: @: ~3 f0 x# Q: M3 z0 s
  1368. sybct.allow_persistent = On
    2 _' u8 G. X" C! ?2 S: l# W* _2 T

  1369.   E4 z/ o8 t) U
  1370. ; Maximum number of persistent links.  -1 means no limit.
    : j. O( O; N4 k* [: b9 Q1 J2 x' {( L
  1371. ; http://php.net/sybct.max-persistent
    7 y% _; q4 [) s
  1372. sybct.max_persistent = -1
    ' X5 S' j& f0 W- I* ^6 y

  1373. ! i9 t- V3 y4 p1 H5 S) t7 s+ F
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    " f7 I, J8 ?, @$ B8 t5 {; P8 C
  1375. ; http://php.net/sybct.max-links
    1 J+ G- |. C5 u7 u( _+ D
  1376. sybct.max_links = -1, g( b, T1 I1 a3 |! w+ e6 f

  1377. " n" G$ _# `: e9 Z
  1378. ; Minimum server message severity to display.7 Z- k" t  r4 X( @
  1379. ; http://php.net/sybct.min-server-severity1 i" T4 w# c! |# [+ |
  1380. sybct.min_server_severity = 10
    6 x' e/ M( G2 L4 k9 Y: [

  1381. 8 m4 i: m$ k/ g7 L- ?) @
  1382. ; Minimum client message severity to display.
    # f7 ]$ T' e# Q) {$ }+ Z+ x; J
  1383. ; http://php.net/sybct.min-client-severity$ t4 z- t" C$ h: m# q/ x
  1384. sybct.min_client_severity = 10. X; c! j8 d9 J' \; c/ l

  1385. ( s5 ]2 B% D2 j
  1386. ; Set per-context timeout
    ) z+ G# k: |. x) ~: x7 X" j8 {
  1387. ; http://php.net/sybct.timeout4 z. F' p6 K6 H8 T
  1388. ;sybct.timeout=. c+ _5 {; g2 C0 W8 s
  1389. " a' I( @( A$ v3 B
  1390. ;sybct.packet_size  `2 ]7 D5 q6 U

  1391. * V' H9 N. ?+ p+ L* T
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.0 ^- C6 X. D5 Q" r8 N5 P
  1393. ; Default: one minute5 p  ^5 n; N3 J  W2 P- [: H# {
  1394. ;sybct.login_timeout=4 [' s; U4 E7 h
  1395. 9 R: [( f7 c& B5 N% J! p
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    5 S" n0 S  @. S
  1397. ; Default: none  E8 P+ U) k) j+ t% `+ D
  1398. ;sybct.hostname=
    $ w4 A- M* j1 b
  1399. " @, ^; T0 M; }
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    ! ]/ C) g8 u# ?9 @' y9 q
  1401. ; Default: 0, R' \5 {( n% c9 m) q
  1402. ;sybct.deadlock_retry_count=
    # V9 U) c. J. }0 a" G: B# v' y; B
  1403. ) {; t( J8 P6 F# @& U# A/ W
  1404. [bcmath]- M, o7 D7 T( {$ Q* a9 Z) n0 l
  1405. ; Number of decimal digits for all bcmath functions.$ d+ g8 {  z" W0 K: ?2 x& z
  1406. ; http://php.net/bcmath.scale+ G  \) L, d1 K! a* X
  1407. bcmath.scale = 03 u3 ]9 \# P! d
  1408. ( p% V2 _+ @/ n: _
  1409. [browscap]
      k. I2 j. T& z& y! I
  1410. ; http://php.net/browscap
    ; ^. ?+ t* b5 D: `& l
  1411. ;browscap = extra/browscap.ini
    + F$ ~% a& ~9 t! a/ [

  1412. 1 M% K4 S" y0 T6 W5 v5 j
  1413. [Session]; F: I" P) q0 S, A9 `1 l
  1414. ; Handler used to store/retrieve data./ O+ d& I& S9 Y. X2 l1 a% j; h
  1415. ; http://php.net/session.save-handler* `9 R" b- n2 D7 J0 W! e
  1416. session.save_handler = files
    9 a, X, s6 |) k# U1 n* r# k

  1417. / R7 k! n0 V+ S# A! n" e/ a
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    / z: B+ r2 a& [
  1419. ; where data files are stored. Note: Windows users have to change this
    9 L1 _; H. t* G% |/ d
  1420. ; variable in order to use PHP's session functions.2 n6 _/ s& ~8 i7 O! G2 j8 u
  1421. ;0 l+ J/ D( d- r6 P* Y
  1422. ; The path can be defined as:
    8 ]- k: k  c3 D
  1423. ;
    3 R( p1 w5 P7 \1 O( a' W
  1424. ;     session.save_path = "N;/path"  V5 e5 \0 y! p( d
  1425. ;
    1 e6 V5 [: o% L2 }1 x) w3 _
  1426. ; where N is an integer.  Instead of storing all the session files in
    $ T3 @3 d7 p, g
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    / W4 h- @+ b% e) @
  1428. ; store the session data in those directories.  This is useful if
    / E) Y7 ]6 M7 D
  1429. ; your OS has problems with many files in one directory, and is
    3 f9 s8 r3 m; f! p
  1430. ; a more efficient layout for servers that handle many sessions.! @# }! u/ a: \8 X: x
  1431. ;
    ' t9 n/ I" f5 R; I8 k* q
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    : u: A2 w. l1 u5 R/ ^' `5 w  ^6 ~0 ~" Q$ h
  1433. ;         You can use the script in the ext/session dir for that purpose.6 C" S8 v/ I2 ]* S+ E- N
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    , E) u) k, r0 U. A
  1435. ;         use subdirectories for session storage* B( D. f/ h; i" T3 z& ]
  1436. ;( }$ I' n" a- ]
  1437. ; The file storage module creates files using mode 600 by default.3 z$ K: O3 O6 x0 n$ i7 F
  1438. ; You can change that by using
    ! F; @4 v' m) e, ^! S$ ?- q
  1439. ;" v. G' n0 s/ |$ D0 Q" n
  1440. ;     session.save_path = "N;MODE;/path"
    ! V& H7 I7 Z" m, q
  1441. ;, }4 R2 a/ y! L, m" M8 M
  1442. ; where MODE is the octal representation of the mode. Note that this
    ' S' m$ G1 W% K0 {6 L. D
  1443. ; does not overwrite the process's umask.
    - a' P$ Z1 C$ N) W2 X" d' N
  1444. ; http://php.net/session.save-path4 q1 b# O8 L. Q5 a! v  x! [* @
  1445. ;session.save_path = "/tmp"! g! D) A  ?4 U

  1446. % X$ h% Q* d) X3 B7 p: ]0 p
  1447. ; Whether to use strict session mode.) H7 p4 m" O- J  c
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    # I( {* e) Z( l8 T2 n, p: \4 b
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    7 s2 y* h. t1 d. w/ p) T9 F0 g% X
  1450. ; applications from session fixation via session adoption vulnerability. It is6 [0 b( Q  Z" U1 N$ i
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ) n* @; h. h7 u( t
  1452. ; https://wiki.php.net/rfc/strict_sessions
    ; T$ D" ?0 N* Q, n
  1453. session.use_strict_mode = 0
    ! b" f, Q2 o0 N3 ^" }3 Y. `

  1454. ( q# x! r4 f$ W3 |
  1455. ; Whether to use cookies.
    : U* {5 d8 A) Q; p- d0 Z
  1456. ; http://php.net/session.use-cookies
    / R' h1 M4 K" \( d+ C; k1 z
  1457. session.use_cookies = 18 `5 `2 d& ?1 k( u

  1458. 5 x3 R: L5 F5 f/ K
  1459. ; http://php.net/session.cookie-secure
    2 [9 l0 c! i( {3 q0 K6 @
  1460. ;session.cookie_secure =3 T+ \! q- [& a2 l, v4 x
  1461.   ^: m4 v% j7 C' M
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    , Q7 T( B% v- a$ m
  1463. ; the session id. We encourage this operation as it's very helpful in combating& M0 Q2 ^$ r$ g* X% ], I
  1464. ; session hijacking when not specifying and managing your own session id. It is* ?  p8 l' H5 Q' w! @/ U$ D: v4 w
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.$ N! u. v3 E: `- y0 q+ w
  1466. ; http://php.net/session.use-only-cookies# `, _# q) V6 O( v* }
  1467. session.use_only_cookies = 13 k7 E5 i+ k- u+ i2 i) }* R

  1468. : A6 b' }* [6 A7 D4 h9 ^
  1469. ; Name of the session (used as cookie name).) J1 ^+ _' }) x7 v
  1470. ; http://php.net/session.name
    , c: F* W' a/ w$ B# ?
  1471. session.name = PHPSESSID
    ( ^$ v- h! M5 b$ U( _

  1472. 7 a2 W$ y9 O" z; y) z8 T
  1473. ; Initialize session on request startup.
    & g+ d# S  C8 P  l. e
  1474. ; http://php.net/session.auto-start
    : N8 u+ R/ J9 m9 v" k3 O  _" W, k2 x
  1475. session.auto_start = 0! X0 ^( t5 G6 q: g; x5 u: Q8 G
  1476. ) H' f8 x( F+ v$ @& A
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted." U" E0 X! X- L9 u0 R
  1478. ; http://php.net/session.cookie-lifetime
    3 [: m/ L% A6 q9 |  C' P
  1479. session.cookie_lifetime = 0
    9 a: G) [3 Y, z# g9 f
  1480. . F! ^: l6 w" d8 h2 G: j
  1481. ; The path for which the cookie is valid.2 N# Y# g( n5 \5 k) s2 K5 D& c1 D
  1482. ; http://php.net/session.cookie-path
    8 H# f6 q! o9 c/ @! \
  1483. session.cookie_path = // V+ c+ q1 @- m$ p! h- u, \) X
  1484. 7 A( K9 k; G) [8 V7 ^- \( N5 R, ^1 m$ p
  1485. ; The domain for which the cookie is valid." ?/ d$ _# U$ [# _
  1486. ; http://php.net/session.cookie-domain
    + f+ A, s' c3 w2 N8 w1 m* E3 w2 y
  1487. session.cookie_domain =
    $ T, g2 |- d# t

  1488. 5 [1 O1 G. M1 a: P6 _
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    4 N6 w* `& ]: w# o
  1490. ; http://php.net/session.cookie-httponly
    $ P3 T$ z* W9 ~0 c1 }2 |& U
  1491. session.cookie_httponly =5 y3 ]9 f: K  @+ C/ y6 c

  1492. ; n3 u2 x( V) r1 K& l2 [7 J
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.! G0 P2 V+ c& |8 E5 l* w
  1494. ; http://php.net/session.serialize-handler* u( a* E" A4 O& q! B
  1495. session.serialize_handler = php0 f4 c; l$ ], r+ Q
  1496. " P0 B9 f' z; N$ w: m2 t
  1497. ; Defines the probability that the 'garbage collection' process is started9 E- L/ u* `  r7 W
  1498. ; on every session initialization. The probability is calculated by using' D+ g9 d# i- b9 A. _# b
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    5 A2 ]. w. X0 o) ^  D! l
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1- [- a* m+ p7 I/ Z/ {3 y7 T
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
      g; v8 q. Z5 v
  1502. ; the gc will run on any give request.
    ) f; u/ V/ w" N  ^
  1503. ; Default Value: 1- T: M2 |% g5 S" D" M! O! A
  1504. ; Development Value: 13 R8 [/ g5 X$ Y7 ^% `7 X
  1505. ; Production Value: 1
    ( E. ]2 z/ f! P+ U# x+ y
  1506. ; http://php.net/session.gc-probability
    6 B+ i  `& ]' F$ i. s
  1507. session.gc_probability = 1
    7 a$ u2 I) i8 @5 j
  1508. % e8 ]: C, y: Q
  1509. ; Defines the probability that the 'garbage collection' process is started on every7 ^+ d$ p& m# M- n
  1510. ; session initialization. The probability is calculated by using the following equation:
    ; X& O0 G& p; H8 C
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ' f$ _7 ~, Z5 w9 P) _4 |- ]8 w
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 13 S: m1 B4 O0 N$ [1 i' Z
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 q& j" h7 B, ?% Y: Z& Q, w4 J
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    % x5 f, E+ Q/ }& T4 v
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    5 m9 S: {- r7 H4 b; l% u
  1516. ; this is a more efficient approach.7 M$ }, {* e! A5 w) C% F
  1517. ; Default Value: 100
    ! D- q3 c* F2 R* s" v9 i/ h) |3 N
  1518. ; Development Value: 1000( p; B+ K& t  o' ?
  1519. ; Production Value: 1000
    & T5 i& h& T' F/ J$ v" P3 C5 n
  1520. ; http://php.net/session.gc-divisor" z% I- [4 X) Y7 v' D: p. `
  1521. session.gc_divisor = 1000
    # v0 t# H9 c$ U+ m) P* ?* y$ [# P  G
  1522. ( d7 V  P# Q+ }
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    # i7 }" o9 g5 }6 v& `& S' _5 y' D/ V
  1524. ; cleaned up by the garbage collection process.
    , K0 n4 f/ \+ S* u; w& v' \- o
  1525. ; http://php.net/session.gc-maxlifetime( T  R4 A8 i9 s7 e% e( l8 k4 i/ X
  1526. session.gc_maxlifetime = 1440
    $ }$ P9 e( F6 a: ?1 |: H# J5 B

  1527. 8 \% G  R0 i& ], e) M' N: Q
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    + P- J; L# }, c
  1529. ;       (see session.save_path above), then garbage collection does *not*5 g/ I" M: V$ I0 H$ b
  1530. ;       happen automatically.  You will need to do your own garbage5 y+ C! P- e: K; k  t( H
  1531. ;       collection through a shell script, cron entry, or some other method.
    + t# r, n, W  r4 J- f
  1532. ;       For example, the following script would is the equivalent of
    - W0 o- P5 p  ?9 [5 n* N
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):3 _; K6 N/ T+ j7 d! P: I1 w
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    6 ^+ Z; ]0 S$ u  v% S! Y

  1535. : |+ ^8 n. g" s6 H7 o8 @
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ; Z' {; q9 v2 Q$ F" s' W
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    ! O3 E; V" {' x$ D+ i9 P4 B
  1538. ; considered as valid.
    ( m8 r# p; V& Z+ [
  1539. ; http://php.net/session.referer-check$ J0 o; {$ c4 y# w
  1540. session.referer_check =
    % ]4 B) _9 @0 Z3 U' b/ j# @

  1541. . a, ~2 O" V2 T, V# e+ N2 i
  1542. ; How many bytes to read from the file., c0 c4 B' @! m9 r  d
  1543. ; http://php.net/session.entropy-length4 o- P: }5 a# G5 S3 {
  1544. ;session.entropy_length = 32
    - o9 P* `4 _* R5 E: H7 C
  1545. " M$ E# F) s+ e9 B1 ]( m; \
  1546. ; Specified here to create the session id." a' v/ k$ a: u0 R  @6 m
  1547. ; http://php.net/session.entropy-file6 h. n1 X; H0 [& E/ E2 E& j4 E
  1548. ; Defaults to /dev/urandom  L! H+ E! X8 C8 x7 m
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    : Z; {" B/ h- r$ \+ Z
  1550. ; If neither are found at compile time, the default is no entropy file.
    $ ^! }; |3 g: _2 E1 l
  1551. ; On windows, setting the entropy_length setting will activate the( G; T, s& p" }5 U& {3 w: v8 A. C0 u
  1552. ; Windows random source (using the CryptoAPI); u, w* `3 V6 C6 ^# j
  1553. ;session.entropy_file = /dev/urandom
    % F/ J4 K$ G: J1 {) D9 o: P

  1554. 1 ?/ P* U/ g9 `! d: ~
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects' F: Q' }5 h, [/ i& u
  1556. ; or leave this empty to avoid sending anti-caching headers.
    9 i; O1 K% B' b. O) J5 A
  1557. ; http://php.net/session.cache-limiter/ V- n0 W/ T. u3 u7 U* Z
  1558. session.cache_limiter = nocache
    * a9 Z/ R+ }) F* T: V2 J! E

  1559. / W" a- o# t4 q$ Z
  1560. ; Document expires after n minutes.
    % j4 h  t2 Y4 H6 x
  1561. ; http://php.net/session.cache-expire
    9 G0 S9 \: @0 ^) D+ Q
  1562. session.cache_expire = 180
    $ C5 g, J% R- }- |
  1563. 6 E7 n" g: O$ E; z; w! Y  k% d/ v
  1564. ; trans sid support is disabled by default.) z3 c! J  f4 J* R9 T2 g/ L8 Z6 ?0 C5 ?
  1565. ; Use of trans sid may risk your users' security.
    % o  E1 W% E' b' f( m8 ~& s
  1566. ; Use this option with caution.
    # g3 Q. s* }. Q( V( k8 I7 p- f
  1567. ; - User may send URL contains active session ID  M/ ?8 n0 W0 r  p+ A; a- L- ?
  1568. ;   to other person via. email/irc/etc.5 q! ^" `" B3 F! e+ [
  1569. ; - URL that contains active session ID may be stored2 i$ J$ v# s* f/ y" W& U' y
  1570. ;   in publicly accessible computer.
    $ R+ m! Y1 j) L% o8 A7 g
  1571. ; - User may access your site with the same session ID) z& R( j0 w5 T% I$ R% i  w
  1572. ;   always using URL stored in browser's history or bookmarks.! d" b4 X) g$ A4 f
  1573. ; http://php.net/session.use-trans-sid3 f9 M7 r, r3 ?5 l! I0 ~2 V
  1574. session.use_trans_sid = 0. C1 T+ [' q" S& J4 p

  1575. + H  c& ~7 U: |1 m8 Y
  1576. ; Select a hash function for use in generating session ids.
    : Z4 h* K- X0 W+ v/ S0 m
  1577. ; Possible Values8 _4 n8 M6 O' U2 \$ W: F; l
  1578. ;   0  (MD5 128 bits)
    ! g0 w  Q8 E" Z% O8 T( {+ J" z$ v
  1579. ;   1  (SHA-1 160 bits)
    ! Z5 o) v: H7 I# v
  1580. ; This option may also be set to the name of any hash function supported by
    % s% g" ]! P+ o& N; }/ b
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    % B( _5 U. ]7 o
  1582. ; function.0 u) y$ i4 D; }; k
  1583. ; http://php.net/session.hash-function3 A# \" x1 g. X
  1584. session.hash_function = 0
      c& T3 C$ ^# o- b8 J/ j

  1585. 8 Q# V( ]5 o3 F; e/ A+ Q& ~
  1586. ; Define how many bits are stored in each character when converting6 b$ y0 I7 ^" E. z6 H; Y$ C6 n
  1587. ; the binary hash data to something readable.: S' x% {: J" A2 T# W0 x$ F5 V
  1588. ; Possible values:
    % d+ w9 i, [; ^6 @" \
  1589. ;   4  (4 bits: 0-9, a-f)
    6 T) E" Z0 \! ?# x2 S
  1590. ;   5  (5 bits: 0-9, a-v)  ^1 ]7 K, E" X1 D8 e3 y0 ]
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    # w6 t" S( a( t5 \# T
  1592. ; Default Value: 4# x  Q" a4 C- t. X& U- D
  1593. ; Development Value: 5/ o5 K! f) c  {# e
  1594. ; Production Value: 5
    , d, L# g; ]4 C4 k) v7 C
  1595. ; http://php.net/session.hash-bits-per-character2 O! F. Y" ^3 m0 j3 T! j9 v' d
  1596. session.hash_bits_per_character = 5
    * N* s$ Q3 \# L7 a8 Q

  1597. 3 ~6 `: R$ O  K# Q
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.1 r5 k3 ^/ ~2 |* j8 ~( S
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    , V$ j5 E$ Q2 @" J; \5 n
  1600. ; add a hidden <input> field with the info which is otherwise appended
      ?7 H; E2 Y, n0 w4 S1 [, Y
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    2 U7 A: a# d! r4 S8 f$ N8 b% Z
  1602. ; Note that all valid entries require a "=", even if no value follows.: ~8 P+ W+ r0 t+ f: C, ^
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    * @/ ]: Z1 v# y5 n6 r/ q' v
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry") O9 u/ N2 G# j" `& p
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    , {( v$ ]6 K, d0 p9 I% x& W3 R
  1606. ; http://php.net/url-rewriter.tags
    ( Q1 z/ |+ p' b* G2 r
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 e( S  I/ |( B0 Y( l

  1608. 4 W% c+ ]9 z7 i' P4 r
  1609. ; Enable upload progress tracking in $_SESSION5 D) Y2 f3 d& r( M
  1610. ; Default Value: On. _9 W; T4 q6 A
  1611. ; Development Value: On2 H# V  c& t" g/ Q; w: t3 u( o: i
  1612. ; Production Value: On
    ( H0 C; o0 P* s/ a5 |
  1613. ; http://php.net/session.upload-progress.enabled
    : ]" P1 D: @  W1 ~0 \; ]
  1614. ;session.upload_progress.enabled = On$ a3 Y* k6 Y" _

  1615. 3 E5 N& E, \$ {1 r: u9 C6 Y
  1616. ; Cleanup the progress information as soon as all POST data has been read
      S$ U& g: \$ f+ Y  w; |9 a  J# X
  1617. ; (i.e. upload completed).
    ! G- N' v$ c  j5 Q3 f# V) ]" K
  1618. ; Default Value: On
      r4 N' G. X* Z7 i% l! t! S
  1619. ; Development Value: On
    6 x9 [9 w) ^- ]  \- t$ B& }3 f# z3 |5 E& l
  1620. ; Production Value: On0 w' G: d) a% ?! |- z0 k
  1621. ; http://php.net/session.upload-progress.cleanup
      @" o  I  }9 e( V( F* N
  1622. ;session.upload_progress.cleanup = On
    $ e8 e, u! }. _- E& m  i: I& r, N( s

  1623. # \  L  |, Q5 d; T3 V3 b
  1624. ; A prefix used for the upload progress key in $_SESSION
    6 R. `: d6 S& _% u1 ~5 ~
  1625. ; Default Value: "upload_progress_"
    6 n1 r2 h7 l7 e# ~. a
  1626. ; Development Value: "upload_progress_"
    3 b: S+ D! Y; ?
  1627. ; Production Value: "upload_progress_"
    3 j; K* R# _! l' d" s5 Z  s( A! Z
  1628. ; http://php.net/session.upload-progress.prefix5 V6 i- w: y! m! L
  1629. ;session.upload_progress.prefix = "upload_progress_"
    2 {1 e) a( A$ q" v5 o+ X2 S
  1630. $ T. _3 G1 P0 o
  1631. ; The index name (concatenated with the prefix) in $_SESSION6 e) l7 V) w. w+ f- _$ }
  1632. ; containing the upload progress information' o$ H3 [5 {: |" F; f  V
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
      C- M& ]- ~7 e5 K# E
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"2 G5 N# ^8 t6 M" R
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"% n" K: I4 J7 {1 T" `
  1636. ; http://php.net/session.upload-progress.name
    ; W' @# n+ X; d4 A8 k7 k/ i
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    2 M. t1 W% C7 {! K$ v9 z$ e% i

  1638. ' K9 O% a" {: S: x9 z9 |
  1639. ; How frequently the upload progress should be updated.! F: }% C0 d& @  \7 d
  1640. ; Given either in percentages (per-file), or in bytes  T0 ]+ M9 f9 `8 K3 d/ V
  1641. ; Default Value: "1%"
    # @* ]. b9 s0 n, Q
  1642. ; Development Value: "1%"0 Z! r4 E) Y- P4 q
  1643. ; Production Value: "1%"
    5 p- E7 A/ B- ~. Q: S( M
  1644. ; http://php.net/session.upload-progress.freq% h& h7 J5 ~5 D" h0 I" Y+ O
  1645. ;session.upload_progress.freq =  "1%"
    , ~! ^" R1 d7 V; H

  1646. 9 ?$ ?; S' c( K' A- e% P3 k) j
  1647. ; The minimum delay between updates, in seconds
    4 K! d% `2 r4 y- o, n$ ~7 k5 ^
  1648. ; Default Value: 1& C" W0 r$ Z7 C- ~7 ]: [
  1649. ; Development Value: 1
    8 G0 j2 n; S! n4 }. e  L* G" v: T
  1650. ; Production Value: 1
    ) O8 A4 b. T) l% L3 o/ \3 I
  1651. ; http://php.net/session.upload-progress.min-freq
    " J* Q. P! D0 {  b
  1652. ;session.upload_progress.min_freq = "1"
    2 S: j! z2 C* E- [. u) O; m* t

  1653. ' Q5 [) p. a5 o2 w3 n2 V4 z
  1654. [MSSQL]
    $ w0 t" j7 l' w( P5 v3 k
  1655. ; Allow or prevent persistent links.
    ! H7 {0 _- G* Z- N
  1656. mssql.allow_persistent = On
    , ?) a  r6 R4 @0 n+ R+ `
  1657. . R; h; {/ L: m9 _, z  v3 i3 a
  1658. ; Maximum number of persistent links.  -1 means no limit.
    ' @4 w" `; Z- g6 q& m
  1659. mssql.max_persistent = -1* O% k9 C/ p( g+ q. ^

  1660. 7 _8 H& _, Y: O* e1 e
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.& J$ q) ~7 t: n1 k
  1662. mssql.max_links = -1/ }* w4 E0 e1 L
  1663. ; _# }6 Q: Q+ f' A* i
  1664. ; Minimum error severity to display.
    1 J2 q5 l+ p" j( l7 B/ H
  1665. mssql.min_error_severity = 10& a! R5 ~4 W' h/ s. I
  1666. - Z& f/ k8 {$ d- T) ~  j
  1667. ; Minimum message severity to display.  H  l" H( x) w
  1668. mssql.min_message_severity = 10
    * c: m( V+ N% }, g) v) s
  1669. - b' T5 ?5 _- e* _; M
  1670. ; Compatibility mode with old versions of PHP 3.0.9 |8 v; K% X) R2 q9 j4 e
  1671. mssql.compatibility_mode = Off- {% M# Q( j8 \* N7 {/ x) r5 Q
  1672. ) ?8 [% _; k% h5 @% C2 G
  1673. ; Connect timeout
    7 b% q" D4 b! X' b8 }$ n
  1674. ;mssql.connect_timeout = 54 ~# @5 C2 J. ]6 H
  1675. , l' |: b/ A, [( y7 R1 l. m$ ]
  1676. ; Query timeout  c# ?* Y3 ]: V4 H
  1677. ;mssql.timeout = 604 z: j  o* \2 M, Z2 D% d
  1678. 5 m" g" W# J- N/ j. g4 e5 _
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    * c+ Q# g, ?- u
  1680. ;mssql.textlimit = 4096
    & Z7 @1 V* O" q7 ?4 X3 m) P
  1681. ( M& y+ x- b2 N: M1 m& `+ y
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    , P' O1 }/ [9 V4 y
  1683. ;mssql.textsize = 4096
    8 d9 x6 K; U( F% K5 j, V. a5 O; h
  1684. 0 |+ u+ Q) I; B6 O7 k  s
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    1 s+ r) g8 G' M2 \0 c
  1686. ;mssql.batchsize = 0( N  n2 [+ B$ X& z" H

  1687. 0 C5 o2 C- p# `& ~, `/ z
  1688. ; Specify how datetime and datetim4 columns are returned
    . S! ]% q3 H( I. W/ J
  1689. ; On => Returns data converted to SQL server settings& i* L8 |" Q  G# E4 b1 t) W
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss/ A& s3 q! P5 E, P2 s3 R" u
  1691. ;mssql.datetimeconvert = On
    - [6 p: [  K( e
  1692. 8 q7 i* l7 Q* N/ w* a
  1693. ; Use NT authentication when connecting to the server
    ! ^+ S8 N; r; i- e! y, ~6 r- u
  1694. mssql.secure_connection = Off
    ! w0 c/ r* [# n( z4 V
  1695. 8 b6 j! w4 U  y% [5 p: o$ O/ D
  1696. ; Specify max number of processes. -1 = library default) ~2 A$ w6 J/ N4 O0 I
  1697. ; msdlib defaults to 25
    6 D# R5 l7 N5 {4 I6 L) [1 N1 m
  1698. ; FreeTDS defaults to 4096
    % s' M# u9 v7 @
  1699. ;mssql.max_procs = -14 Y4 {( Q* T2 w/ \" x8 c5 Q
  1700. * {: C  l& M( @7 j) c
  1701. ; Specify client character set.
    ; `+ Q2 z0 w0 t- D
  1702. ; If empty or not set the client charset from freetds.conf is used
    * ^( w. z* e7 P: l5 X( O
  1703. ; This is only used when compiled with FreeTDS3 A( `) C& h& c1 T" l4 \8 Q
  1704. ;mssql.charset = "ISO-8859-1"
    3 o9 T3 O! h( b1 H
  1705. ( f  S! J. x. L# K, l) p4 m
  1706. [Assertion]
    % N; F+ h7 ?6 q5 r9 C
  1707. ; Assert(expr); active by default./ V& }* Z5 p$ P- w1 I
  1708. ; http://php.net/assert.active, j/ g# O1 a) a
  1709. ;assert.active = On
      f$ n: _3 s9 [+ O- S

  1710. 9 g5 @  p* V" c" U3 k5 R4 J
  1711. ; Issue a PHP warning for each failed assertion./ K. ?$ @0 \# J; [
  1712. ; http://php.net/assert.warning
    , z1 s; u1 n4 l  [
  1713. ;assert.warning = On% `/ e$ ~& T5 \6 N" |
  1714. ( l; u: v. u4 c: M: Z
  1715. ; Don't bail out by default.. Z* a; u1 m( B4 I
  1716. ; http://php.net/assert.bail! `7 D( P2 w, q/ o1 K* {0 P
  1717. ;assert.bail = Off
    ' \3 c$ y' L( i
  1718. ; B8 l8 G+ K4 J* k; F4 l6 a* R9 b
  1719. ; User-function to be called if an assertion fails.8 u0 |7 k$ f8 }3 v+ o; S
  1720. ; http://php.net/assert.callback
    % O( u, Z6 T* N: M/ D; U+ @4 T
  1721. ;assert.callback = 07 G) k: {. ~5 S
  1722. $ m) \) o* l4 f0 D7 y4 h
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    . _! ?, O" S. O' U5 r1 H
  1724. ; error_reporting(0) around the eval().
    5 \) j1 S8 i; |2 d
  1725. ; http://php.net/assert.quiet-eval
    & Q; `6 F' w+ G4 Z
  1726. ;assert.quiet_eval = 0
    ' R$ A0 [  v7 v* }- C# k4 Y

  1727. 8 P# m) E2 }. t8 h' \" L
  1728. [COM]" f4 Y' _) s/ f% n  m2 @" h
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs2 e9 L0 L) K+ M) _* A
  1730. ; http://php.net/com.typelib-file
    , c, p7 j! w' p
  1731. ;com.typelib_file =
    ( w3 l9 A9 }+ k5 K- ~& G

  1732. : T- H$ i1 n( ^, j/ j
  1733. ; allow Distributed-COM calls
    7 X6 `, |$ j- {1 U8 i
  1734. ; http://php.net/com.allow-dcom* X$ R+ v6 x: L, j% l; T5 H
  1735. ;com.allow_dcom = true* r  X3 u8 y/ u! j
  1736. ; g0 b* Y& C1 q0 D
  1737. ; autoregister constants of a components typlib on com_load(); c1 k% Q  A5 S2 P) U0 s- ^+ z7 n. \
  1738. ; http://php.net/com.autoregister-typelib
    8 s- f9 c5 s! S$ K' ]4 w
  1739. ;com.autoregister_typelib = true9 _4 k; V' \5 u0 \

  1740. , J6 ?7 T! C, k- f$ z
  1741. ; register constants casesensitive# B- |6 W1 u" {/ B0 V5 l! G
  1742. ; http://php.net/com.autoregister-casesensitive
    4 t# Y  d: R7 g* t' v) S6 m
  1743. ;com.autoregister_casesensitive = false: E; R& @: Z8 a2 z# }/ T
  1744. : ^: g5 ^  h9 U) S+ y0 I5 o
  1745. ; show warnings on duplicate constant registrations& T$ v7 s! i% g: l! c7 P9 n' n
  1746. ; http://php.net/com.autoregister-verbose: \3 p: W( [% I
  1747. ;com.autoregister_verbose = true
    6 t9 O1 h' P7 c9 j0 v+ @8 l
  1748. 5 e/ q+ q9 m% t7 Z5 b
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    4 B& ~! O1 c5 m1 x4 k
  1750. ; Default: system ANSI code page
    / n, q6 p2 N2 M4 n+ n
  1751. ;com.code_page=
    8 p7 R+ P9 o: k" i: Z

  1752. , w. F6 z( H% \
  1753. [mbstring]
    % E( w/ R. }8 E) }' ~
  1754. ; language for internal character representation.
    # o) K: s& K" D. H/ d" C/ Q
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.1 n# w$ g9 v; U
  1756. ; http://php.net/mbstring.language# e8 B( I$ s- n/ M  I+ J
  1757. ;mbstring.language = Japanese0 |5 G' D- ~2 O0 B7 D+ T/ B( \! ?

  1758. 1 j9 ^" ~: i7 \+ A$ e. x. y3 C$ L
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.7 B5 y5 ]. i5 _' R2 J" G
  1760. ; internal/script encoding.
    + h' J& |( A3 J$ b1 k: T
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    9 c) n% v) H) T" J& V: s
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.4 A, e8 c/ w8 ^. q# r
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    6 h$ y( E8 I1 M1 d  ^
  1764. ;mbstring.internal_encoding =
      t. o# w2 _& O# ?: Z- k( l
  1765. ) s! f8 i- G% Q9 T
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    8 K0 a8 P' y9 U; S
  1767. ; http input encoding.
    * o; @2 V7 s( H
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.8 m0 G5 g$ t) r
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used./ |/ _* w7 L! `  f+ I
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    9 o) c/ f* l: {' w* I, g+ d9 |9 y
  1771. ; http://php.net/mbstring.http-input8 b$ U7 A# B2 f5 p
  1772. ;mbstring.http_input =
    ' z6 Y6 ]' t5 b9 M9 }" ]2 h. e

  1773. $ @) o: }9 }7 e
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead./ K9 [0 c7 }% }; _( d
  1775. ; http output encoding.
    ' T/ F0 E: V( D8 v4 o
  1776. ; mb_output_handler must be registered as output buffer to function.9 \0 q1 m4 P* ^9 G- X' i
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ; K7 a# {5 Z2 M) C
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    9 D6 {+ l* p8 e* M$ t9 Q
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    4 _3 L* C1 a' J( X" s: z
  1780. ; otherwise output encoding conversion cannot be performed.' w" l9 V& Y6 u
  1781. ; http://php.net/mbstring.http-output
    - l4 |! d! \" A0 p0 h9 K
  1782. ;mbstring.http_output =9 A( i' m& b) b* S# t+ t0 A1 S. k
  1783. ; p+ u5 p, K0 Z2 u9 I
  1784. ; enable automatic encoding translation according to. I+ `) ^& j. y7 p" D) z" z
  1785. ; mbstring.internal_encoding setting. Input chars are- @4 p+ W. V; \# ]8 |
  1786. ; converted to internal encoding by setting this to On.
    ' n7 _  u/ T7 n$ V
  1787. ; Note: Do _not_ use automatic encoding translation for
    " l6 J) ]# ?+ J/ U) p
  1788. ;       portable libs/applications.; N3 t% t& n0 C; G- [5 ?
  1789. ; http://php.net/mbstring.encoding-translation
    # h9 K; V1 T- q; I
  1790. ;mbstring.encoding_translation = Off8 U% R6 M4 @! Z( u, g
  1791.   z" v1 l2 {: u, o  C* q) o
  1792. ; automatic encoding detection order.
    1 O: A8 s- _0 @1 b0 @- n$ L' q
  1793. ; "auto" detect order is changed according to mbstring.language; |' ?) Y+ {- N4 J* T4 i
  1794. ; http://php.net/mbstring.detect-order
    9 Y/ Q  o9 s# e
  1795. ;mbstring.detect_order = auto4 D+ p) `1 ^4 |  G' e( T" J

  1796. ) G& {) q6 ~1 X8 x  q
  1797. ; substitute_character used when character cannot be converted! f% J: S7 Z+ I& c
  1798. ; one from another
    4 F" `: l% m* g% n$ @2 m
  1799. ; http://php.net/mbstring.substitute-character
    % x, N9 e7 @2 e: F: G
  1800. ;mbstring.substitute_character = none* z* r  c7 y: m4 t
  1801. ' X" L3 ?* s# h0 }
  1802. ; overload(replace) single byte functions by mbstring functions.
    - i$ `: P/ C: ^! J& P1 G- I
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    0 U9 V; e: i: V. w
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.2 F5 m1 g; S; N/ D, g. B3 y9 b
  1805. ; For example, 7 for overload everything.
    ) I3 i5 {% Q' `4 |; |7 d
  1806. ; 0: No overload
    # V/ k1 n  }+ S( H1 R4 t
  1807. ; 1: Overload mail() function/ F' l! u, ^! S: A  H# R5 G
  1808. ; 2: Overload str*() functions4 f" N: k, ]* L
  1809. ; 4: Overload ereg*() functions; n, x" M& p; [
  1810. ; http://php.net/mbstring.func-overload
    1 P: ], |7 n$ C* ]! ?- Q- m
  1811. ;mbstring.func_overload = 02 w7 L) Z# Y4 Z, M: S8 R
  1812. ! @4 M9 G9 s( V* ?6 n
  1813. ; enable strict encoding detection.
    1 z% k* _9 u2 P' F% ?
  1814. ; Default: Off
    ( K" y5 L/ `. |# a" I" u
  1815. ;mbstring.strict_detection = On$ n3 ]" X$ t9 |) j
  1816. : ~) H. G/ [! ?. u/ W9 U" ]
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    1 A. a2 H! s+ m+ ~$ w
  1818. ; is activated.
    4 R) n! C; \% N2 ]; R9 {' c
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    9 |; ~6 U: W0 X4 [5 {1 B* h6 t
  1820. ;mbstring.http_output_conv_mimetype=
    & x. o6 M0 Q. @7 Y: O7 k' D" X

  1821. % z  G# S7 m1 U1 P3 o
  1822. [gd]% I) G/ e+ e& @4 P" ^: \! h4 k
  1823. ; Tell the jpeg decode to ignore warnings and try to create3 ^1 t! m" K. P4 `' s1 Y
  1824. ; a gd image. The warning will then be displayed as notices
    7 g2 v4 @; G( y" ]! z" s$ ^. E
  1825. ; disabled by default
    + i8 p) ?% O" H+ A% u' p6 S0 @, F- B
  1826. ; http://php.net/gd.jpeg-ignore-warning1 B$ N  R' s, [0 P6 ?) e! w3 N% C+ N
  1827. ;gd.jpeg_ignore_warning = 0
      q& y7 ]+ e( y6 k1 h! N
  1828.   O6 o$ P2 j# ]- n5 t
  1829. [exif]4 f, ]* v" F8 ~6 n' Z! C
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    7 _4 [( X: W8 M! k1 X
  1831. ; With mbstring support this will automatically be converted into the encoding) T; E) I: T/ _
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding% E2 z4 Y& l/ l5 D3 R# C
  1833. ; is used. For the decode settings you can distinguish between motorola and
    6 m7 P% P% L: j( J
  1834. ; intel byte order. A decode setting cannot be empty.7 }, w+ G) _& w# N3 O  I
  1835. ; http://php.net/exif.encode-unicode3 T: J5 ?" @+ p
  1836. ;exif.encode_unicode = ISO-8859-15
    5 v, b) g4 k; z2 n. Z1 Z+ W
  1837. 0 N& k( U5 V- d3 p
  1838. ; http://php.net/exif.decode-unicode-motorola. ^+ ?1 H; {7 P+ q) s5 \
  1839. ;exif.decode_unicode_motorola = UCS-2BE$ j5 w) {/ ^3 g, k8 ^) r
  1840. - S* ]2 u4 W) n& a
  1841. ; http://php.net/exif.decode-unicode-intel
    ) f& K. W" l: Y) z
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    0 Q1 p' c+ R0 i9 R+ }4 R5 R/ N* D! x
  1843. " C8 V! B( D. S- @% h$ P+ z
  1844. ; http://php.net/exif.encode-jis* ]* t8 `; X( r, p( v; Y; t
  1845. ;exif.encode_jis =' Y. R, U0 ]  Y0 g% C

  1846. ! u  Z4 h, {. L1 o9 u
  1847. ; http://php.net/exif.decode-jis-motorola0 M# G/ t) k* D5 e7 z
  1848. ;exif.decode_jis_motorola = JIS' N9 r2 o; R: p

  1849. $ E1 j/ A3 I  S( V6 u
  1850. ; http://php.net/exif.decode-jis-intel
    / o! @! P4 V% c7 K. p0 C4 u
  1851. ;exif.decode_jis_intel    = JIS
    ; _% J, G/ ~8 h5 @: G4 K
  1852. / H6 `) j/ ?7 I6 k  G
  1853. [Tidy]
    0 r( U% T4 V( p, ]3 C
  1854. ; The path to a default tidy configuration file to use when using tidy- |/ U- F# Y4 K  N
  1855. ; http://php.net/tidy.default-config3 R' Z. s0 b6 e/ c9 N$ e
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg; G+ x+ r4 P1 A! ?/ [; C) ]% B
  1857.   N2 J' o9 g+ g/ F% e4 M
  1858. ; Should tidy clean and repair output automatically?
    ' i5 h& D! B) `7 C5 I' e
  1859. ; WARNING: Do not use this option if you are generating non-html content
    2 u" E1 }) T7 `
  1860. ; such as dynamic images; l4 m5 Q0 I( C5 ?4 n
  1861. ; http://php.net/tidy.clean-output
    5 K; e$ q7 q0 h/ V* B
  1862. tidy.clean_output = Off& U7 @+ I, w; m6 i  }9 D$ Y
  1863. ' ?; O- H) ]8 @
  1864. [soap]9 Z/ k8 r9 p* @) I- p
  1865. ; Enables or disables WSDL caching feature.4 S% }( I( l/ e  Y' d7 v
  1866. ; http://php.net/soap.wsdl-cache-enabled
    - ]2 o* S0 f/ h0 s3 G  L6 n, }/ T4 l
  1867. soap.wsdl_cache_enabled=1
    0 t: \7 }4 }9 r. P* |4 ~4 A* y3 h
  1868. + @+ d+ g/ s! q
  1869. ; Sets the directory name where SOAP extension will put cache files.; w% i: F5 Y3 o0 e
  1870. ; http://php.net/soap.wsdl-cache-dir& |/ g5 ]' q1 f
  1871. soap.wsdl_cache_dir="/tmp"
    1 S7 J# f+ r% \3 z' N: ^
  1872. % |( f/ w9 f5 A# A/ A, P: F
  1873. ; (time to live) Sets the number of second while cached file will be used2 n8 x' l& [* R+ W
  1874. ; instead of original one.
    5 o0 k& |: X, ^2 `
  1875. ; http://php.net/soap.wsdl-cache-ttl) V% M8 T$ g1 y8 \- t& c  F
  1876. soap.wsdl_cache_ttl=86400
    7 g. q$ m0 [8 q: U

  1877. 3 {' `5 J2 T0 |6 s% ~& }, u
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)& a6 x- [* [( d# P! d6 g8 ~) y
  1879. soap.wsdl_cache_limit = 5
    . A8 W- h8 K' n
  1880. , M. ^6 a/ F0 d  i) Y9 o
  1881. [sysvshm]
    $ X" Q: e0 I3 ~$ [9 @$ O1 x
  1882. ; A default size of the shared memory segment. i; {8 ~7 Z- _) ], |
  1883. ;sysvshm.init_mem = 100006 c7 W, e- X; R- j1 [4 W" t
  1884. - c1 P4 m6 r( S& t4 x$ w1 W% D
  1885. [ldap]8 g4 ]" a" z: |, T$ u6 z. S
  1886. ; Sets the maximum number of open links or -1 for unlimited./ @* H( b8 `& Q5 {) [. C
  1887. ldap.max_links = -1. ]  o3 A2 `4 p, n( n
  1888. 2 W3 s* ?+ }# Q/ B  V
  1889. [mcrypt]
    " N8 w9 D2 o4 N9 n2 Q
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    , d! q# U3 `0 I$ T! |2 B3 G0 j

  1891. / T9 ~- X% \7 \" c. Q$ A, o
  1892. ; Directory where to load mcrypt algorithms
    0 J& L+ p$ l: }
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)  I  v- Y/ z- F0 A1 }- o
  1894. ;mcrypt.algorithms_dir=
      ]3 W7 s' _5 ]* D" C7 c

  1895. * k. q9 ]3 c& @* z1 F! H& F
  1896. ; Directory where to load mcrypt modes. g: }8 l0 I8 H& W, f
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)$ ~  |! ?) E! z2 }0 |
  1898. ;mcrypt.modes_dir=
    3 Q, O0 j/ V2 W7 Q% w

  1899. / b' k" u* M' w
  1900. [dba]
    ) N) `; ^& v; n4 V5 ?) Q
  1901. ;dba.default_handler=6 n4 x1 [; @" u3 o. N$ ]. r

  1902. 0 _% t2 h  h  X' p  F+ ]
  1903. [opcache]; o$ X+ M3 N0 Q" z8 G9 L' M
  1904. ; Determines if Zend OPCache is enabled
    + L/ w4 Y1 M9 f( T" S8 V
  1905. ;opcache.enable=06 d& ]+ y* r+ l: v. o4 Z, B/ o! P
  1906. ) P5 E0 ?2 s( v+ `& E. h
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP: A2 y* C! H" ^' z" o* @
  1908. ;opcache.enable_cli=0
    7 y+ K" X9 p5 u/ E  G! B6 C
  1909. 5 c- K# \" u/ {, {, Y& s1 i
  1910. ; The OPcache shared memory storage size.
    2 O" G; Y3 [" H8 P. S8 f3 @
  1911. ;opcache.memory_consumption=64
    + ?/ }3 b) g/ I5 N# Q

  1912. ! M8 q! _# P; j% u0 U. {
  1913. ; The amount of memory for interned strings in Mbytes.
    ; W8 _7 M* L+ G7 p. d, Z
  1914. ;opcache.interned_strings_buffer=4
    : x3 h9 G! V5 ~, }9 g
  1915. , }' c' a3 a: I% z, m
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    * N- ~# S  }6 W
  1917. ; Only numbers between 200 and 100000 are allowed.' j3 |" X' g& n3 E0 a: O
  1918. ;opcache.max_accelerated_files=2000
    3 u/ ^! O- {/ n) x

  1919. - A" a* O& J/ I' x( t6 L/ B6 O% j
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.% |9 ?6 v- w+ f: x' B9 m) R, \: G
  1921. ;opcache.max_wasted_percentage=5* y7 R# y3 J2 j. N$ @

  1922. ; i8 z7 h" p, z' \; k. G! b9 V7 R
  1923. ; When this directive is enabled, the OPcache appends the current working
    7 D8 @, v& O8 G$ O
  1924. ; directory to the script key, thus eliminating possible collisions between
    ! ^4 i; s' ^' ^2 c7 y1 B
  1925. ; files with the same name (basename). Disabling the directive improves2 a. C6 B* M/ w1 H3 }& ^
  1926. ; performance, but may break existing applications./ v, e( G  F9 ?! e
  1927. ;opcache.use_cwd=1! K* K7 j0 _; O+ l0 {8 C' A

  1928. . }& A+ n) J& C- l
  1929. ; When disabled, you must reset the OPcache manually or restart the
    / C) z" ^2 d5 A8 C
  1930. ; webserver for changes to the filesystem to take effect.
    $ a) F2 q. f" q( }
  1931. ;opcache.validate_timestamps=1: [, D: _6 K+ z/ s% n' m
  1932. - D7 f' B; J1 P7 z2 V& w1 b, |, v
  1933. ; How often (in seconds) to check file timestamps for changes to the shared9 Y- S) u2 u" f. m% U7 O$ q
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    4 X3 Z6 M+ o5 q! H6 m
  1935. ; once per request. "0" means always validate)% f( {0 a# @' M( b$ \5 u. \
  1936. ;opcache.revalidate_freq=2$ B; x' I0 }$ z7 |* T; U! c8 h

  1937.   P) [0 T' O; c! q2 q1 s' U; N
  1938. ; Enables or disables file search in include_path optimization
    6 z% A" i+ F1 C$ p5 g1 l
  1939. ;opcache.revalidate_path=03 @4 P2 Z* [% J3 r1 e" N& F, v1 }

  1940. % y8 b7 x6 a, u1 ^9 f; X
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the1 p  k7 {8 j( {4 n' M# R
  1942. ; size of the optimized code.: [" {$ }4 m# o; t6 N  [0 V# g
  1943. ;opcache.save_comments=1
    / Z; o% p) |$ H5 b/ T0 o

  1944. # S$ K2 A1 J2 v. r8 C0 i9 h" n5 v
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
      M5 Y1 h# f/ A/ p
  1946. ; may be always stored (save_comments=1), but not loaded by applications! f/ K& y% P; h' {1 K# U9 ]2 `
  1947. ; that don't need them anyway.
    ) N- ~: ?! p  h- J$ d. F. y
  1948. ;opcache.load_comments=1
      o. |7 \, e! I  @

  1949. ( s! O$ a7 q( y" {1 j6 [0 `
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    3 Q& L4 H5 [; D' e3 t
  1951. ;opcache.fast_shutdown=0
    8 M2 L* k/ u; K) v6 D

  1952. % U, F" y. H# ~  k3 Q/ X! ^: \
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    * s( N% G+ y5 `1 n2 ?8 k" X
  1954. ;opcache.enable_file_override=0
      d! e/ S( l/ _# Q5 b' G$ _9 M: j

  1955. " z, \+ u% i0 G: M9 P- W  P
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ' y' L7 g. J6 O! Y8 c  @8 ]* Z* P+ |
  1957. ; passes
    . d3 b# W( P( {$ ~1 Q
  1958. ;opcache.optimization_level=0xffffffff
    6 B8 \+ ^+ s, o2 ?! q; d
  1959. 8 C/ s5 {9 Y( ?6 S$ d
  1960. ;opcache.inherited_hack=1, f3 l; t; Y/ t  e
  1961. ;opcache.dups_fix=06 y: ?4 l. S' I% W6 N0 Z5 @

  1962. ( x' S0 K1 H" }7 |# E# I( T' u! z% }
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    $ [! B9 F' t/ S
  1964. ; Each OPcache blacklist file is a text file that holds the names of files% ^9 c/ N  y' b+ }; s, m
  1965. ; that should not be accelerated. The file format is to add each filename
    + b* ]) g  |) I& [+ N3 E1 L4 U
  1966. ; to a new line. The filename may be a full path or just a file prefix
    ' Z& o6 d6 ?) N5 y- }
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    , Q/ a9 ]# C2 Z
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ; s, v6 j! y  n9 S/ [
  1969. ;opcache.blacklist_filename=
    . S% g  d0 \/ y0 y' m% z- U

  1970. & S0 I4 ]" r$ S% y1 C, S/ R  E
  1971. ; Allows exclusion of large files from being cached. By default all files
    & m3 Q* h  n0 U& K0 ]' H; F. K
  1972. ; are cached., F' u9 N  h: W
  1973. ;opcache.max_file_size=0# R- C/ N9 N3 K2 l; O

  1974. 7 @' i! x2 ?: J& z8 [
  1975. ; Check the cache checksum each N requests.* h! o. ?8 s% a: v9 f- j
  1976. ; The default value of "0" means that the checks are disabled.
    6 v$ a5 i* `* t5 r0 m0 c( c. Y
  1977. ;opcache.consistency_checks=0
    9 D- |. b7 I" y3 H% Q, v

  1978. 0 F9 g; c9 T. E# ?: y6 P( ~
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache1 I9 f( ?; H$ X
  1980. ; is not being accessed." T4 N3 u/ V1 j
  1981. ;opcache.force_restart_timeout=1806 H' o* c1 f. K+ c- X
  1982. " Z" _; R% n7 v! }9 H
  1983. ; OPcache error_log file name. Empty string assumes "stderr".0 W- h9 F6 E& \" o/ c, R
  1984. ;opcache.error_log=1 J$ R  S2 }  t# J8 d

  1985. # z- h; Y  u6 W1 B' U
  1986. ; All OPcache errors go to the Web server log.
    ! X* y8 j' m3 z
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.7 H* H% t2 d/ J! _& b9 M5 R& X
  1988. ; You can also enable warnings (level 2), info messages (level 3) or, T4 w& u6 U) m, F
  1989. ; debug messages (level 4).
    ) e, A1 _+ ~' u3 _6 `4 o+ O9 |4 z, X
  1990. ;opcache.log_verbosity_level=1
    8 [: w/ [8 ]) _. O8 b
  1991. $ R6 E$ x7 S+ \1 ?8 ?: {
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    5 H" n7 g. Z1 S! ]: T# H7 n
  1993. ;opcache.preferred_memory_model=
    7 w8 _3 l/ Y" d, v8 Z
  1994. & k4 R& z7 @' t$ j5 `/ h
  1995. ; Protect the shared memory from unexpected writing during script execution.( M, Y+ o4 c6 b7 `  ]% f) u* u; |
  1996. ; Useful for internal debugging only.
    % W$ u5 p4 I5 V
  1997. ;opcache.protect_memory=0. x% \/ l+ E: {0 W

  1998. ) {4 C4 V% t- J$ t# L+ a8 H3 a
  1999. ; Validate cached file permissions.
    7 _: W* d+ T% D
  2000. ; opcache.validate_permission=0  N( t% Z5 D6 u

  2001. % W8 J! h+ k1 ?$ d; e! {
  2002. ; Prevent name collisions in chroot'ed environment.
    " N3 W2 J% g% j0 @8 }* Y
  2003. ; opcache.validate_root=0
    5 d# a6 _# L+ I) L5 G

  2004. ! Y- T7 F3 W* x- ?1 q( _
  2005. [curl]3 M9 S- M1 E5 {& [# b( L, J' K1 ?
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an% ~6 ^- {/ W- q
  2007. ; absolute path.5 p9 T% Q; A- f1 m
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt1 _" O# ?; ^" o* O# l  }! C

  2009. 9 C* G5 M! V; F: k) g, I
  2010. [openssl]
    $ {, n: k7 \( o, n2 z; z
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem2 c5 v4 Z( D7 j+ c. T7 W
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should$ M1 s6 Y3 j/ ^3 P( }2 l1 H
  2013. ; not specify a value for this directive as PHP will attempt to use the
    0 y3 ~% A3 f3 ^3 U/ h& T8 e
  2014. ; OS-managed cert stores in its absence. If specified, this value may still- m5 s2 r( c5 U- h
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context: Y( Z1 p/ F4 g: d" s8 K3 _" ~
  2016. ; option.; _9 T9 G; f& L0 l/ M+ l' F% [
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt' R% F& d" k7 e% G

  2018. # |3 s1 L5 M7 L5 p) ^: k
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the# l% {) O, Y) e  A
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    - ?% t8 K0 w+ ]8 c0 h9 f. W
  2021. ; certificate. This value must be a correctly hashed certificate directory.) J$ Y" t+ v9 I7 Y7 T: c  `, U
  2022. ; Most users should not specify a value for this directive as PHP will
    & r. U2 ]8 Q: O+ m1 q% I  J4 F
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,# L" z+ F! E% ?- a
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    . b# l; L( B/ |% z5 C. u% }
  2025. ; SSL stream context option.
    ( p9 W- B9 {7 W& p" l* m
  2026. ;openssl.capath=
    7 \# h  O' n& Q: l" O) E) Y  j

  2027. 8 a4 F7 a% ?) t$ B# Y+ C+ x% `
  2028. ; Local Variables:
    % Y; \( ]2 ]" U3 m
  2029. ; tab-width: 4
    4 P; _# d& x1 T4 \: V$ i
  2030. ; End:
    8 C% \) e0 E. d) A; m8 x

  2031. 2 r3 X- Y* t+ J. E  P) _7 B% e
  2032. ;eaccelerator
    6 ]8 {% E/ A2 d: `# e9 j' G" }
  2033. 3 }' m, j; ?$ Q; M! o; \
  2034. ;ionCube  n; _9 O, t6 U2 g& r; i

  2035. ) k5 f; m# Q5 T, ^
  2036. ;opcache
    ( D. A) u6 M( C9 \7 V" B6 L5 v/ Q8 g

  2037. : T( Q+ }' b- x6 w1 H
  2038. [Zend ZendGuard Loader]
    0 J0 }; S7 }: t* Y; c5 [
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    , Q4 i7 Z" d/ a" r! ?
  2040. zend_loader.enable=1! Q3 u: x# a: D9 ~
  2041. zend_loader.disable_licensing=08 u/ U+ k8 W0 h/ ]" z* d2 w
  2042. zend_loader.obfuscation_level_support=3# ~" c, h% M) G9 |* w/ O# N
  2043. zend_loader.license_path=
    5 d( X0 [2 Y7 b
  2044. ( n2 }' y; p. A; [4 r7 t: z
  2045. ;xcache+ T. m- z, H, y- ~+ w, N% s5 Y5 q" d9 W" Z
  2046. 5 [& X4 {" @$ C' x# `' B0 ]* O
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
* e( w& A  d, P' H- ]
3 Q$ |$ c- r& ~8 E/ T( Z/ j2 e5 W  H/ v  c( j+ B7 ^. O; L
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
% g) W9 H# e$ l0 @1 F/ r8 j: ^4 Z3 H# G. a: c
Discuz!程序版本选择:
% @' ~8 e0 u% H) B站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见," o! V. [0 Z  ?9 u! z( {( ?4 g$ `
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
. ~* E( L! H2 v. t0 BDiscuz!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。9 i. ?* J3 x) h  \/ t- q  S5 p6 g
0 r( h1 a# ^6 e+ F2 ~7 s( x0 v$ X
Discuz!插件模板版本选择:
6 Y) W$ o# t* W很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,! {; ~: L% r9 r& j& x0 n
针对这个问题做个统一的普及:
/ V' j, V7 l" a* `% bX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。) G* Z% T3 }2 |" D7 C0 |- |

( w! c/ n# i7 l7 q5 E所以
5 l8 {6 ]3 ~1 C! x1 r适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。
% @5 X! m% ?1 Y% U) D( ^0 ~打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
  T) }* r: W% L/ ^) _  g注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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