分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.01 F4 p( x5 `. M4 A4 N6 u

, H% `3 P$ |+ \( l& I7 \7 u& v1 A
  1. [PHP]+ g" X4 ]$ Z: Y) J0 b

  2.   D. e0 ^$ P: U% V! J
  3. ;;;;;;;;;;;;;;;;;;;
    , s1 J4 O! k3 W& C: o
  4. ; About php.ini   ;1 ~. j- a% O1 r7 Z2 Z
  5. ;;;;;;;;;;;;;;;;;;;
    9 \+ d  Q5 i6 d
  6. ; PHP's initialization file, generally called php.ini, is responsible for' [- c6 ~. H1 [( N$ ^
  7. ; configuring many of the aspects of PHP's behavior.
    . W/ |+ r# k  h0 @7 E! h  K

  8. ( o; P: T7 ]1 ?3 S) ]: l
  9. ; PHP attempts to find and load this configuration from a number of locations.
    - ^: [7 f' X  C2 V; `0 k* N- [5 U3 b0 Z
  10. ; The following is a summary of its search order:
    7 [0 k5 o( Z5 \
  11. ; 1. SAPI module specific location.; i& h9 }6 y% r; q
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)0 Y8 y' @# V9 n/ p
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0): ]5 z1 G5 F3 A/ w( i# w- a: `6 X* m
  14. ; 4. Current working directory (except CLI), H% I: O7 O4 F  O; |0 F
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP3 t0 ]& z  l4 G* {
  16. ; (otherwise in Windows)$ I* y" Z3 I; l! _
  17. ; 6. The directory from the --with-config-file-path compile time option, or the  q1 M# J; q+ c1 _+ z* [, A' y
  18. ; Windows directory (C:\windows or C:\winnt)" c: N& V- j- ^- N5 t5 v2 h/ C6 V% i
  19. ; See the PHP docs for more specific information.* a! L, V0 X. j6 ^; O
  20. ; http://php.net/configuration.file
    5 t8 @! v7 X* E! f% G
  21. 8 r6 e7 q; f% r0 i7 }3 ]9 G
  22. ; The syntax of the file is extremely simple.  Whitespace and lines# t+ O, }# j4 B# k; g5 y
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).. q' E! }9 @1 R9 ~
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ; i5 P  v  `8 h6 S4 c% ~
  25. ; they might mean something in the future.
    ! y! a7 M' c( Q6 D8 f2 m& w8 K
  26. 7 G3 J! u# {& j! K2 D
  27. ; Directives following the section heading [PATH=/www/mysite] only
    6 M6 }0 O3 ]8 e( j$ U5 O, t
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ' g$ g7 O, Y2 |; x5 R8 T5 D
  29. ; following the section heading [HOST=www.example.com] only apply to- G1 F: w  o$ k/ |3 Z
  30. ; PHP files served from www.example.com.  Directives set in these& S) ]8 Q! ~: P+ p- z4 d
  31. ; special sections cannot be overridden by user-defined INI files or
    - p- ~. o$ b( D! x
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under* ]1 H, r) D' W* D9 A
  33. ; CGI/FastCGI.
    8 ^: o1 P! L& z7 ?3 J. H7 o
  34. ; http://php.net/ini.sections
    * |1 Q1 b+ f+ U1 B

  35. 7 b, b4 O; x- U' |9 j
  36. ; Directives are specified using the following syntax:
    # K6 {5 Y2 [0 V' P' k
  37. ; directive = value
    8 d3 `/ r7 d/ b0 u' N  O
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.: A1 A% ?- ~4 b8 i5 U8 i
  39. ; Directives are variables used to configure PHP or PHP extensions.( ?! Q" a. [7 v7 L' k9 ~/ ]
  40. ; There is no name validation.  If PHP can't find an expected* N2 k! u, X: a0 q
  41. ; directive because it is not set or is mistyped, a default value will be used.' j( A8 E& r1 P: d1 ]! q

  42. 8 W6 L0 Z. f% I( ?. n2 U6 ^8 l
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
      r2 N, }4 a6 Q9 S: ~
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ( L6 b- B2 t4 n3 K0 d: w8 ]
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a+ ~3 C  ]6 X/ n: q5 Z. |" Z
  46. ; previously set variable or directive (e.g. ${foo})
    4 o( K  Y$ J" ?: }" I6 ~
  47. , t  u# ?$ k8 u: M5 Z+ e6 t* A! Z  }( ~
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:8 k# X  a. \( d) t
  49. ; |  bitwise OR& t& T% B  i3 f7 q% G9 r! r
  50. ; ^  bitwise XOR" \6 }; s' t- V3 P
  51. ; &  bitwise AND. c5 i: v% V1 R6 }9 X& e3 h0 a
  52. ; ~  bitwise NOT- G+ j/ m& u5 q. F/ Z3 J- w$ t
  53. ; !  boolean NOT
    , n  b/ _5 H5 b

  54. : ]* G& f8 S& R7 D  y$ {8 G; v' q
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.  M* _3 D% ^+ P- y! O/ p
  56. ; They can be turned off using the values 0, Off, False or No.
    * G! [) V9 r) p

  57. + G/ m. [* ~$ B7 G4 p0 m
  58. ; An empty string can be denoted by simply not writing anything after the equal
    + A8 V2 x) ?1 `( _6 w
  59. ; sign, or by using the None keyword:- l6 _2 r; n7 N. B; ^

  60. ) E- G3 A' d+ P
  61. ;  foo =         ; sets foo to an empty string0 m/ z) w  @! W' J- Y
  62. ;  foo = None    ; sets foo to an empty string5 h0 R: [3 {+ G, ^9 `) r
  63. ;  foo = "None"  ; sets foo to the string 'None'6 K# l& H8 u9 g. M5 d
  64. 4 o9 s" Y3 \4 t: G% @% h% K
  65. ; If you use constants in your value, and these constants belong to a
    - _8 o& R- f+ z4 |* g: `* S
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),1 O' [- E8 V5 n
  67. ; you may only use these constants *after* the line that loads the extension./ x% e5 e0 k. }# H7 ]

  68. ' l3 E8 s( O6 Z: m2 ]. f2 ~0 ]; @+ P
  69. ;;;;;;;;;;;;;;;;;;;+ ?- P: P. M. j; }8 b/ W
  70. ; About this file ;- B$ [  e$ a9 X% T/ t' p: w6 Y
  71. ;;;;;;;;;;;;;;;;;;;
    ; M. P$ @4 p8 S( N6 ~1 C
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ) W7 o: b' ]4 F4 ~: g2 d
  73. ; in production environments and one that is recommended to be used in( K* J) s- H  X% D' u
  74. ; development environments.4 m! B- w# z+ x9 r) M

  75. * I4 v* ?0 o( U; V) F4 w2 y1 g
  76. ; php.ini-production contains settings which hold security, performance and+ P3 y# A& b$ e- }& v
  77. ; best practices at its core. But please be aware, these settings may break8 N0 C# x/ ^' Q$ g5 }
  78. ; compatibility with older or less security conscience applications. We) A- C+ y! n! @& X2 `
  79. ; recommending using the production ini in production and testing environments.$ s( f6 t& W0 Y( M4 I
  80. ' m$ c* D9 K4 A" t# B5 X6 I/ k" q
  81. ; php.ini-development is very similar to its production variant, except it is
    + [& D3 _! }9 t2 u
  82. ; much more verbose when it comes to errors. We recommend using the! w1 J! P3 D4 k0 j- i! L7 z
  83. ; development version only in development environments, as errors shown to
    ; g: S# q, C# N% p+ F8 h; @) e
  84. ; application users can inadvertently leak otherwise secure information.
    9 b4 G! {" L5 t( ?
  85. ! A; \( G# y- [8 L& }& P( ^5 k
  86. ; This is php.ini-production INI file.. g6 B$ \( |2 W$ \' M4 n( l
  87. - `7 F" e# O: `4 ^0 f
  88. ;;;;;;;;;;;;;;;;;;;
      m" g: M6 J& n1 m6 c8 U9 z
  89. ; Quick Reference ;4 h4 s! Q5 _6 {
  90. ;;;;;;;;;;;;;;;;;;;1 A7 c- N0 y4 i' W
  91. ; The following are all the settings which are different in either the production. K% [: R) J* d+ f) M
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ' x* s2 [- `. o' e, X+ D: F
  93. ; Please see the actual settings later in the document for more details as to why
    ( d) [) M$ h0 E1 Z
  94. ; we recommend these changes in PHP's behavior.8 \" ~5 G# y  H5 Z) d- e# E  w
  95. * D. s1 I& ]0 t7 U- Z9 i
  96. ; display_errors
    . ?7 [( ], [/ G3 m* {
  97. ;   Default Value: On
    5 R% o0 L! ^& [4 t# P6 b
  98. ;   Development Value: On
    ' r$ \/ L. [% m5 q/ Z
  99. ;   Production Value: Off, V7 S+ B1 c) ?+ S" a7 A3 q. g
  100. " L9 T9 O: ~$ C% ?3 j; D
  101. ; display_startup_errors/ ~; A; K7 t1 m- S, N& U; D
  102. ;   Default Value: Off9 ~' D9 `$ m; V- j6 \
  103. ;   Development Value: On, A7 A6 d9 p. e
  104. ;   Production Value: Off8 G; s8 j: F$ ^9 G* a
  105. * W1 B& c: z: h& J2 ?/ i8 T
  106. ; error_reporting
    : Z/ i7 _  m: |
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED8 G" C4 `/ N  A2 \* B# P
  108. ;   Development Value: E_ALL
    ( ~0 [2 W5 m2 {9 x( A
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT1 b6 ?0 H; r8 }. h! k0 x6 m# N6 j

  110. 0 b/ H, M0 F# m! H7 u
  111. ; html_errors
    ( G7 m9 K" v0 C8 T! D& n& y# j
  112. ;   Default Value: On3 p) \% p7 x& z, D1 U- ]& N
  113. ;   Development Value: On4 ~& M  X# |0 w' R' q2 ?; [9 o
  114. ;   Production value: On
    * ]0 |* Y; z, e* m- Q+ e

  115. , r% [+ [, i: A
  116. ; log_errors- l6 p5 T) d! @  _, X
  117. ;   Default Value: Off
    : Y5 v* ]  V9 L. C0 k! s
  118. ;   Development Value: On. D+ K. l. A4 W& a4 f* o# j
  119. ;   Production Value: On
    , z% Z7 }: j; Y  y8 P

  120. 5 z6 z. n6 s/ J
  121. ; max_input_time4 J7 W( R; M# I! R3 I
  122. ;   Default Value: -1 (Unlimited)9 a- q) }3 E+ @5 y  B4 ~/ x
  123. ;   Development Value: 60 (60 seconds)0 z' x/ X2 ]0 G1 a- m7 P
  124. ;   Production Value: 60 (60 seconds)
    1 q1 O2 ]/ Q& h) U1 c  f) L
  125. # a5 q) X" S3 G' h. X
  126. ; output_buffering' Q$ C2 g* q$ d" \) i; D" n) i/ l) ~
  127. ;   Default Value: Off
    ) m" S- z) \4 x2 Y( C, k! G8 p
  128. ;   Development Value: 4096, W& ~2 C" ^) G7 r! U
  129. ;   Production Value: 40964 D; F1 V( N- \* L9 y& N

  130. / l; Y+ s+ e+ M5 P5 O; p6 d/ Z
  131. ; register_argc_argv
    4 u8 q/ i+ @( ~  E+ K/ e+ I1 X8 K
  132. ;   Default Value: On5 r* q3 x# `( c' D) W4 {) J
  133. ;   Development Value: Off
    # @9 Z0 K, d; B2 W) u/ L
  134. ;   Production Value: Off, u2 m1 r! x- g! g$ d- b6 B) G! L- u3 H

  135. ' J/ d$ D; F; c2 S% d! x
  136. ; request_order
    0 m, {! i9 u% K3 d
  137. ;   Default Value: None) w6 e; |( P9 C/ b
  138. ;   Development Value: "GP"
    0 B- M* D" U$ I1 F" x, E, @0 [
  139. ;   Production Value: "GP"$ h( X# b+ A. x) K( o6 E( H) U" @

  140. 0 k. \7 Q# Z; D* N# L# S
  141. ; session.gc_divisor  A# t4 L% h; G" s# G4 [4 y' ], _8 }
  142. ;   Default Value: 100
    3 x' I. n3 A3 J4 P/ u8 {( p
  143. ;   Development Value: 1000
    8 ^) l. V; w- ]' A
  144. ;   Production Value: 1000( R( Y0 I) t3 N$ k. y' i1 K  N

  145. ( Y/ y) \: a2 u. i5 }
  146. ; session.hash_bits_per_character# s# n# ^: D; l/ k7 l; H. J8 y
  147. ;   Default Value: 4
    ) c! M3 H% _. \4 _% S2 `+ P) ^, V
  148. ;   Development Value: 50 B4 g0 e) e9 x8 K
  149. ;   Production Value: 5. a% `# Q( t+ h8 \
  150. 4 S7 G  D& {6 V; c$ K5 q
  151. ; short_open_tag
    ( g3 T( B/ @) x: _& r: a
  152. ;   Default Value: On
    * A( K( L' d- @8 P6 M( K/ u4 C; y
  153. ;   Development Value: Off' d. @+ v2 K9 x( C- ~2 W- p
  154. ;   Production Value: Off
    3 B7 R& d6 m1 v3 }

  155. / z+ v- L6 Z' m3 y
  156. ; track_errors
    ' Q$ a3 H. s; U) N# f" @( j( d
  157. ;   Default Value: Off
    9 A, N2 L9 D6 Y/ }  Z
  158. ;   Development Value: On: c% e' v, [- P4 G7 B" E# t' C
  159. ;   Production Value: Off% |" ~: k# ]' v! [1 y2 Q2 z  y
  160. 9 z  }0 x& R% h
  161. ; url_rewriter.tags
    . g3 S( k' S# f* O7 g
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="0 F. E4 S/ \# V' a3 T  s
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry": `9 q# P) Z, ~3 ~# N/ ?1 V6 L
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; l6 A1 O" Z. M( J: ]
  165. 9 W) X' X0 d: S; C
  166. ; variables_order
    7 o" l4 h. h0 e4 r7 D  \
  167. ;   Default Value: "EGPCS"
    # _5 r; r1 ?+ h) J: q
  168. ;   Development Value: "GPCS"
    4 ~# {$ R. p: O9 K' W* v; A1 _
  169. ;   Production Value: "GPCS"
    - b; i7 R; T  a+ N+ P* B: L* X1 d9 ?, n

  170. " C, M  c  v9 |% s! M4 B8 L3 S# I
  171. ;;;;;;;;;;;;;;;;;;;;
    ; D$ I) \& Q& P( t6 b
  172. ; php.ini Options  ;
    " s6 G$ h$ {7 d0 z2 K/ N
  173. ;;;;;;;;;;;;;;;;;;;;
    % Q* l+ Q: f0 R
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ) |, T7 W5 i  q5 [# @
  175. ;user_ini.filename = ".user.ini"
      W  w. c' m/ _4 x

  176. & q9 _# D: k& a' X3 A2 _, l
  177. ; To disable this feature set this option to empty value
    5 b3 \& i3 @0 n  j4 x: S1 I
  178. ;user_ini.filename =& J; _$ U* I# V) N3 H

  179. 0 I+ X' o: o- L' x/ @, c
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)9 N. M8 y& e% Z% S" X
  181. ;user_ini.cache_ttl = 300
    $ j6 f2 n5 ^8 i5 a
  182. 2 O5 f/ z. j, p' P( p4 }; \* D
  183. ;;;;;;;;;;;;;;;;;;;;
    ' M7 ]& g1 ^, E  D) O8 Z! `7 \
  184. ; Language Options ;$ k2 R- u9 x8 X4 k. g$ C. f/ X
  185. ;;;;;;;;;;;;;;;;;;;;: ^  k8 f+ z: ?5 g+ b1 |" l

  186. $ q7 L. x+ `! D$ q. q* T! ~, F0 e. o
  187. ; Enable the PHP scripting language engine under Apache.- n' D% P3 M" ]$ }
  188. ; http://php.net/engine- A4 N% X  D+ W7 b
  189. engine = On! E5 b0 ?4 T6 i! D' B' }5 ~
  190. ( k+ m& @, `. Y" K+ t* Z% K  ^& e
  191. ; This directive determines whether or not PHP will recognize code between- ]  Q5 o' [1 e2 z% }5 D
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    / z: \3 O$ i1 J, v3 F! w3 @0 w6 w
  193. ; generally recommended that <?php and ?> should be used and that this feature7 ^! W: }/ Y# z- _9 |8 j; a. D
  194. ; should be disabled, as enabling it may result in issues when generating XML
    % y) ^+ L% E2 X; }3 U1 N
  195. ; documents, however this remains supported for backward compatibility reasons.
    ( u2 q; K! ^- r2 L- h
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    " ~4 V) L0 Q' M$ P
  197. ; used regardless of this directive.) O6 W. M( b9 f2 j# }
  198. ; Default Value: On
    # h3 R  O, ^  I8 a8 G# \) D
  199. ; Development Value: Off
    ; o# v: W0 e  _: d% o
  200. ; Production Value: Off
    ! ^* Q; k% A; `0 s3 h0 X
  201. ; http://php.net/short-open-tag# S# e) V. M( }: [- f* y, M5 t
  202. short_open_tag = On
    5 H# Z$ \' N4 l1 V- c- [  T# b

  203. % B1 G: T  }0 i' l7 ^0 K4 L; f/ Z
  204. ; The number of significant digits displayed in floating point numbers.
    $ ~' a4 a% O5 p7 \' g6 O) D! q: R
  205. ; http://php.net/precision
    / Q$ t( {/ ~* I8 N
  206. precision = 14
    " W  }0 J* U& V9 }* B$ t
  207. % |# E  j& c& K
  208. ; Output buffering is a mechanism for controlling how much output data
    % f$ G) w0 }7 ]' w7 j! J
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that  B$ W/ }: V, @6 d
  210. ; data to the client. If your application's output exceeds this setting, PHP, k9 ?2 L7 I$ F+ V1 t8 C
  211. ; will send that data in chunks of roughly the size you specify.
    " Z4 Z8 c1 h' M( B, w
  212. ; Turning on this setting and managing its maximum buffer size can yield some! b  _) l2 y+ b9 z. S
  213. ; interesting side-effects depending on your application and web server.( Z/ u# Q  ?# y  K
  214. ; You may be able to send headers and cookies after you've already sent output
    4 @  H  }3 t. T9 {) K  y
  215. ; through print or echo. You also may see performance benefits if your server is
    : H" I8 d5 S" U; h6 f, c
  216. ; emitting less packets due to buffered output versus PHP streaming the output  {4 j, |) _& B) g9 a" G3 |1 R
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    % m% `( I* K" o! ~; z. ^
  218. ; reasons.- v+ H, L# i! Z% x. V8 M; d
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    0 V2 J1 H1 G9 W0 X3 o7 A: r
  220. ;   functions.- h; k( p& v- t# r' K
  221. ; Possible Values:8 B5 V$ ]! v; E( U7 ]: x) b
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    1 z1 V) M3 O  B+ M
  223. ;   Off = Disabled
    ) q) r" L* h3 ^) r6 Y
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.+ X& O) J" l0 U8 n5 U
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI: Y! h7 j# a& b" M8 ?# H( _
  226. ; Default Value: Off& e3 ^# M5 ^6 U/ q9 |, E( h) n' v" B; s
  227. ; Development Value: 4096
    + L2 y$ Z$ I: w0 u; _( ^
  228. ; Production Value: 4096- ?& h3 r* i  ]% I' M" \
  229. ; http://php.net/output-buffering4 W5 h2 ^5 A- `7 j8 b
  230. output_buffering = 4096
    ! ]+ J8 m$ Y3 `+ e7 i

  231. , V1 ~6 }' t" ^+ n
  232. ; You can redirect all of the output of your scripts to a function.  For% X. l. f& e3 P6 q& \2 {! ]
  233. ; example, if you set output_handler to "mb_output_handler", character
    $ |. G: c, P  }6 _
  234. ; encoding will be transparently converted to the specified encoding.
    + n" V# W3 I3 Q( L. e+ l
  235. ; Setting any output handler automatically turns on output buffering.
    / C0 V/ }$ Q" ^; O3 w5 {
  236. ; Note: People who wrote portable scripts should not depend on this ini8 ?0 k5 K# S9 L. t% c( `1 K2 f; A
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    . W' s: c1 L6 ?: B' {$ l0 h: u
  238. ;   Using this ini directive may cause problems unless you know what script0 Y5 X5 G: k$ ~: J$ t6 J
  239. ;   is doing.
    ' l4 c2 B: s; F* v1 U
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"/ \" @3 Z; \5 D
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".. C" B( y+ n/ H
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    - h0 ?1 ?9 X8 V& o  R: y# t
  243. ;   Instead you must use zlib.output_handler.
    ( C5 }# m+ U% ~
  244. ; http://php.net/output-handler2 d( o$ v9 }' M, i" @* a
  245. ;output_handler =( ~; E5 p% L) L5 O- T8 k8 ?( L

  246. ' C, p0 a- w5 O' j
  247. ; Transparent output compression using the zlib library
    & m' s2 h; _0 @7 H- G+ t- W
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    0 u5 ~# k5 ]5 h7 E: z
  249. ; to be used for compression (default is 4KB)
    : z; E3 j* S: W+ a  F6 [
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP& Y- D% e5 u9 H# u3 R* W  U
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    * H# d' t' o. Y
  252. ;   compression. If you prefer a larger chunk size for better$ a) ]9 X6 O& ?' i* p* [: K
  253. ;   performance, enable output_buffering in addition.
    & t; D6 H3 V8 m6 E# K
  254. ; Note: You need to use zlib.output_handler instead of the standard% G' z) u  h* R4 }- A# N* d
  255. ;   output_handler, or otherwise the output will be corrupted.
    6 t4 {1 q- O1 h
  256. ; http://php.net/zlib.output-compression6 Z& L: }3 A3 C: p; X- S2 e
  257. zlib.output_compression = Off3 y5 B' r1 R5 r' |, U0 \2 d
  258. ! V2 f; d# \0 X0 j$ [2 a  R' Y
  259. ; http://php.net/zlib.output-compression-level
    ) m9 w: y. V; a1 r  p9 h6 w  X
  260. ;zlib.output_compression_level = -1" Y8 Q/ K% M& \) L
  261. 6 t) Y  B) q* Z! Y$ W4 s. d
  262. ; You cannot specify additional output handlers if zlib.output_compression8 o: R2 X6 _6 ?- o
  263. ; is activated here. This setting does the same as output_handler but in4 A# {! h3 o8 l' s: ?6 _" M
  264. ; a different order.* }- @4 C% e) g# K1 t7 m% C
  265. ; http://php.net/zlib.output-handler4 |- ~/ k: }3 P" d8 T
  266. ;zlib.output_handler =
    # k) t0 m' z# k% ~* k4 \1 e( v

  267. 1 R; u( x1 M2 z: G3 f
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    * [$ H- d. D0 q. I, i2 c" o# l
  269. ; automatically after every output block.  This is equivalent to calling the
    3 ~8 }1 d3 V/ u, N* `, W5 x( U4 b. T0 y
  270. ; PHP function flush() after each and every call to print() or echo() and each
    8 z4 t. @; p. B8 h8 T
  271. ; and every HTML block.  Turning this option on has serious performance
    , m$ `  c8 t1 Y5 A2 z
  272. ; implications and is generally recommended for debugging purposes only.) N% H" B' _% Z, I8 `. O; q
  273. ; http://php.net/implicit-flush
    ( L! u& m0 e$ Z: w" V
  274. ; Note: This directive is hardcoded to On for the CLI SAPI4 I9 u. {" e! t" S5 }8 D
  275. implicit_flush = Off6 O( \2 b1 m7 q& `# d- Z
  276. . f) ~+ ~6 F( E4 D4 I! p
  277. ; The unserialize callback function will be called (with the undefined class'
    9 Q3 x2 C7 x, i
  278. ; name as parameter), if the unserializer finds an undefined class5 o& i. H' k+ z' b
  279. ; which should be instantiated. A warning appears if the specified function is. B/ l6 T1 k; X4 _/ U% r; p# C+ f8 s
  280. ; not defined, or if the function doesn't include/implement the missing class.7 @) E9 o: L* L& o0 j$ E( I
  281. ; So only set this entry, if you really want to implement such a
    / X8 K+ T& C8 g7 y
  282. ; callback-function.
    + _! K! B* t4 `4 i6 f( |7 r. ^
  283. unserialize_callback_func =5 _* W% u! S% p8 d. y* _8 j
  284. % Y+ g& `3 |+ n' A& Q
  285. ; When floats & doubles are serialized store serialize_precision significant2 ?/ i' j# K7 {5 g2 H# l" g  p
  286. ; digits after the floating point. The default value ensures that when floats2 P) m& J: n, U. I* J
  287. ; are decoded with unserialize, the data will remain the same.! d& E( @  }6 B" T0 `
  288. serialize_precision = 17& S: L3 J! K+ m
  289. 9 a/ l* _+ |' P# N' T
  290. ; open_basedir, if set, limits all file operations to the defined directory
    : G" E, h6 q3 F: ]2 W
  291. ; and below.  This directive makes most sense if used in a per-directory
    ( @) ~+ v4 W7 Z0 \4 ^" ?
  292. ; or per-virtualhost web server configuration file.
    $ T$ `1 U3 f/ Y1 c+ l
  293. ; http://php.net/open-basedir
    4 e6 e, m8 e5 ]( t; c6 @( K
  294. ;open_basedir =
    , T. ]! }8 m' ^/ D/ f7 Z

  295. " D- ?7 x- i! t' i
  296. ; This directive allows you to disable certain functions for security reasons.( l- V  M' ~: c1 M' b5 i5 _) t' R
  297. ; It receives a comma-delimited list of function names.
    1 b& M( k7 m4 ^, |) B2 h9 G7 s
  298. ; http://php.net/disable-functions
    % k* N$ S4 z) ]# r: k
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    & u6 @3 f7 |1 Y; h$ u
  300. & w) p$ T( N6 D) Z$ Z4 W" z
  301. ; This directive allows you to disable certain classes for security reasons.! s, Y: Y6 B% {+ ~5 z) ~7 D, S
  302. ; It receives a comma-delimited list of class names.
    2 w4 V' c& e7 A; }/ k: K
  303. ; http://php.net/disable-classes. T0 i, p' b# J; l! s" I
  304. disable_classes =; E- g: n2 e+ b5 {, ?

  305. ; g5 p, k3 T% R; l3 k% ?
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ; e1 n# i0 p2 Z1 y( H# a6 V
  307. ; <span style="color: ???????"> would work.
    , ]& ?" @% u$ E* m2 l
  308. ; http://php.net/syntax-highlighting
    4 T: d7 {6 C1 r1 {  r! ^
  309. ;highlight.string  = #DD00003 x2 c/ x# O# F9 E9 T
  310. ;highlight.comment = #FF99003 w- Y* F4 G% E. t0 k
  311. ;highlight.keyword = #007700
    0 y( K5 Z, E2 Z! P, u5 H8 k
  312. ;highlight.default = #0000BB
    6 T. ^$ p) r# [+ s
  313. ;highlight.html    = #000000  r3 X  ?' z3 ?( V, C
  314. 2 D+ V- s0 g" a6 Y7 K
  315. ; If enabled, the request will be allowed to complete even if the user aborts. G: |: _# j% `/ G
  316. ; the request. Consider enabling it if executing long requests, which may end up
    1 k* V4 M5 _/ W+ z* }
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    : ?8 V. d7 O+ e' @  A1 B
  318. ; is to disable this feature.0 j9 \, g. Y, m9 D7 }
  319. ; http://php.net/ignore-user-abort0 p0 I& q' g  m# N) u. ]. X
  320. ;ignore_user_abort = On# _0 [  R1 U! Z

  321. 9 F! M. A4 ~% n  U* F! l* E5 Q
  322. ; Determines the size of the realpath cache to be used by PHP. This value should- W6 ^/ N1 `8 J* d) c' N  j& ?' J
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    , d* K) T, x* w9 W
  324. ; the file operations performed.! z6 ]% Y/ S6 N6 @
  325. ; http://php.net/realpath-cache-size% H- W! `/ P1 f0 w- ~2 Q, u
  326. ;realpath_cache_size = 4096k
    3 _, @! h& u9 i' _5 l$ ?! ~7 H

  327. 6 x6 ]8 c/ @4 R: Z/ Y
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    . x0 v+ ]  e8 e# y6 z" m! y
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    % e3 r+ |# t& c9 w! ]( u8 [. Z" ^% o
  330. ; value.
    3 h* I( v( ^0 y* B  G
  331. ; http://php.net/realpath-cache-ttl: B$ D4 e6 A  m; `# Q5 t7 b
  332. ;realpath_cache_ttl = 120
    ( o" O7 [# @  j' Z9 i0 e: C8 v

  333. + A4 {( T( a1 T3 M
  334. ; Enables or disables the circular reference collector.8 }: q  I* f9 y5 ]( I6 |
  335. ; http://php.net/zend.enable-gc
    3 d9 t# `& J0 l; s3 \
  336. zend.enable_gc = On
    6 b4 @$ M& l" z7 w+ U6 G6 I

  337. 4 o' D! x# ?9 y' j7 A
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ( b5 {4 t1 T+ Y$ i; m# |6 D% a
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such- ]2 h: E* `- V% n, T0 Q
  340. ; encodings.  To use this feature, mbstring extension must be enabled.$ U% R' l, P% j2 p! k: I: y5 H
  341. ; Default: Off
    4 V# B$ I1 _3 h! W
  342. ;zend.multibyte = Off! P& O  s  Z5 E4 y
  343. 7 M/ \6 a2 p4 }0 x, d8 Z( H3 A  X
  344. ; Allows to set the default encoding for the scripts.  This value will be used' Y6 F9 U3 f1 T) y1 F* \
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.) S# _& I, l5 X4 q* i% K
  346. ; Only affects if zend.multibyte is set.* R$ d; ]0 H1 q% {
  347. ; Default: ""
    % Q  @) \0 L6 U) G* h
  348. ;zend.script_encoding =
    7 ~# H0 v! q7 E; X. v

  349. " m$ N/ G9 L5 s+ x
  350. ;;;;;;;;;;;;;;;;;, f. o  M$ G7 S0 x$ G. p/ R
  351. ; Miscellaneous ;
    ' o6 X3 p/ k5 h7 l
  352. ;;;;;;;;;;;;;;;;;; |1 m# S: ?; M3 \  f

  353. # K2 G4 V: f7 n& L+ i' z9 I' C! m
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    & G, a1 I7 [3 C
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    2 _8 \, h3 H8 v& s' X) c8 ~' E  j
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    7 v% \( J  G  V. ?( c, b. x
  357. ; on your server or not.
    " X( ]4 |0 E- |! h$ R
  358. ; http://php.net/expose-php; k5 O: h" Y+ S9 Q' P
  359. expose_php = On3 S  a. A# ]; s1 p; I
  360. 7 @8 i9 n. j  ]
  361. ;;;;;;;;;;;;;;;;;;;
    ; q, A* U6 N; `3 T( l$ q- B
  362. ; Resource Limits ;2 {1 l# n2 [* a+ L, Q$ d3 A1 y8 f
  363. ;;;;;;;;;;;;;;;;;;;$ Z/ V$ |0 j7 h3 J: j- U

  364. 8 O! T$ R0 \. k5 w7 t
  365. ; Maximum execution time of each script, in seconds
    % h7 ^# g) A& [; b# n$ L
  366. ; http://php.net/max-execution-time3 E$ h+ S5 f- `* V6 l# A
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    6 o, B) |$ f0 K6 K) T
  368. max_execution_time = 300; r. ~( a/ t. D! l: {% @

  369. - L0 C  R6 I* E9 x4 f7 a
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    $ G/ A. C( g4 x/ n+ Q# x7 O$ b, Z
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly- K; d# x( k8 O* A
  372. ; long running scripts.6 d1 N# M0 q& Z4 r# f
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI) S" t5 S6 `  t
  374. ; Default Value: -1 (Unlimited)! A! }0 A+ j* U
  375. ; Development Value: 60 (60 seconds)
    2 A4 `6 }% a- j9 C, Z& r
  376. ; Production Value: 60 (60 seconds)
    $ S' ~3 g; J! c* W/ m
  377. ; http://php.net/max-input-time3 s! y! B/ I% A/ P# f% N9 C; n
  378. max_input_time = 60: W8 `- [4 D# V5 w
  379. 1 k+ D9 w# C* r6 Z
  380. ; Maximum input variable nesting level; `! Z: b+ w8 V$ c; x+ l& |
  381. ; http://php.net/max-input-nesting-level
    7 A/ Z6 U5 p1 K% e
  382. ;max_input_nesting_level = 64
    " U; @% V8 j* G8 [& Y+ r

  383. * T' X; p, @( A# U
  384. ; How many GET/POST/COOKIE input variables may be accepted* D+ ~% r! `9 ~6 n7 o
  385. ; max_input_vars = 10003 {4 ]$ S; {9 ~  s1 \) j% z

  386. 4 l$ r  S& i" K( g( y0 E  o" v* H
  387. ; Maximum amount of memory a script may consume (128MB)
    5 x) Y( u; g, o2 y" l3 N2 z
  388. ; http://php.net/memory-limit
    9 p7 Y9 Y7 \+ ^; D) p
  389. memory_limit = 128M. u7 u4 H/ Z' x  g- h9 }

  390. " g0 {0 h, Z' \
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0 h; q6 ~4 H7 H# T8 k; [$ p
  392. ; Error handling and logging ;, e# E' S: ]" L; R3 v6 F
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    1 h  F$ S! F, Q- {) l3 @
  394. : H2 E5 g: _/ ?2 m$ C# L! m1 v: O
  395. ; This directive informs PHP of which errors, warnings and notices you would like! H3 Z. _% i: K4 y- d
  396. ; it to take action for. The recommended way of setting values for this$ j/ G- ^" I! Z: ~& }8 E
  397. ; directive is through the use of the error level constants and bitwise7 v2 [6 h1 G# o5 b3 `
  398. ; operators. The error level constants are below here for convenience as well as
    ; @2 {0 R8 B, u+ m% F1 j
  399. ; some common settings and their meanings.
    / ]0 g: Y0 o- g5 x- B/ h
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT: P% v! u& E2 g
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and! y! ?# G; E% l* J1 A
  402. ; recommended coding standards in PHP. For performance reasons, this is the7 ~0 J; K5 I$ p3 p4 \: V
  403. ; recommend error reporting setting. Your production server shouldn't be wasting% [1 a. ^0 X) k& }$ }, J. s  D
  404. ; resources complaining about best practices and coding standards. That's what
    8 A; f/ M) j! {  e. p
  405. ; development servers and development settings are for.6 a. I- [2 s$ h: V% O( J
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ! Q4 u. t1 E4 |! [7 D8 R: m+ t/ ^
  407. ; means it pretty much reports everything which is exactly what you want during
    4 N7 @0 s4 o/ L1 i2 w
  408. ; development and early testing.
    & T# o: |' e) M1 `
  409. ;' x) u7 G* C2 X7 ?5 [+ P
  410. ; Error Level Constants:
    / K% {2 g  V( f
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)* k2 A: }/ |% r
  412. ; E_ERROR           - fatal run-time errors
    4 G& c2 W5 v  O& d
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    , a) D' ^% N0 v) O8 j: I  J: G# o& G
  414. ; E_WARNING         - run-time warnings (non-fatal errors)0 [$ b6 X, P+ {
  415. ; E_PARSE           - compile-time parse errors
    ' ~8 K. v+ V) @. n; H  Z( h- }/ D* _
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    8 v; d7 m, c/ \/ x
  417. ;                     from a bug in your code, but it's possible that it was9 T+ ?% A; F0 ?  H
  418. ;                     intentional (e.g., using an uninitialized variable and8 ^* Q8 D( N& Z3 c# ?- O
  419. ;                     relying on the fact it is automatically initialized to an
    1 q" c% f" a; h4 Y4 x3 n
  420. ;                     empty string)5 ]! [3 x; G& Z& B: v; S; c0 m- l$ Z
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes# X' Z6 M$ z$ X& U" Y& q
  422. ;                     to your code which will ensure the best interoperability# b3 @  S0 m8 Z" s
  423. ;                     and forward compatibility of your code" X' S# w2 L* x5 M1 _% E, |
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup& A! @4 _; B. E6 J& D# `" G
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    + R7 W; b5 s2 p4 h. E( Q5 ^9 K
  426. ;                     initial startup8 L' w  }* w/ W  f% @1 y
  427. ; E_COMPILE_ERROR   - fatal compile-time errors0 X; z; _2 `7 W
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)$ m/ L7 t' K2 {) P/ e
  429. ; E_USER_ERROR      - user-generated error message
    ' [7 Q. t. r1 E" c( ~
  430. ; E_USER_WARNING    - user-generated warning message& X1 x$ f3 H0 Z. }# `! p% N1 M
  431. ; E_USER_NOTICE     - user-generated notice message, _( S: `+ l! N- E  f% Q
  432. ; E_DEPRECATED      - warn about code that will not work in future versions( ^" B- @' z# c5 p
  433. ;                     of PHP
    ) L" _. F# n7 Z8 @# H6 ]6 {1 \( K6 m
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings6 f: @3 z& ~) ~# r) G- W9 M
  435. ;5 N# h$ y# }' \5 V+ j; X  w0 g! V, H
  436. ; Common Values:; v2 K/ M; j5 b2 n, N3 Z- V
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.), l# H3 L- L( K$ u3 ?8 X1 a- }5 c
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)* K5 `# Z! c4 p6 L  [
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    / [3 f' i, x& q
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)' @  B& y3 f' j4 z0 J& c% ?
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , @: O8 G0 |# h: v; ]
  442. ; Development Value: E_ALL" n$ }7 o3 b8 [( d& c
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    * z' D( }" N/ X& ]
  444. ; http://php.net/error-reporting5 _$ [+ a8 Z. O) I# p  M& n
  445. error_reporting = E_ALL & ~E_NOTICE$ O! y3 J8 n5 G9 A& j9 o- d

  446. 7 ~3 \7 K  Y9 n  Z2 N3 x; x
  447. ; This directive controls whether or not and where PHP will output errors,* W$ n5 F" L3 w
  448. ; notices and warnings too. Error output is very useful during development, but$ T1 b- O; m+ `( c# \* n
  449. ; it could be very dangerous in production environments. Depending on the code
    8 t' x9 r2 r: S1 s
  450. ; which is triggering the error, sensitive information could potentially leak
    5 m. _% O) I" a2 j
  451. ; out of your application such as database usernames and passwords or worse.
    1 P6 i+ o; }. G* q: y, v
  452. ; For production environments, we recommend logging errors rather than2 l, J5 J8 L2 w, `
  453. ; sending them to STDOUT.
    3 Z  ?9 l3 s' H( q
  454. ; Possible Values:5 l9 K- i3 T9 e+ x
  455. ;   Off = Do not display any errors
    " p: g- H6 {, T' B0 _- K
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    $ x4 w2 b4 m% e
  457. ;   On or stdout = Display errors to STDOUT- j8 x4 v; C  P' D" w# B* h' C; S6 v
  458. ; Default Value: On
    % C+ Z4 t/ C# {6 n  ?, L$ B
  459. ; Development Value: On
    ( T% E; j9 C, l
  460. ; Production Value: Off
    / ?( G! h# T3 ]9 O! m+ c2 w
  461. ; http://php.net/display-errors4 I! Z' d% J2 a5 W$ T
  462. display_errors = On, N9 l+ J+ |! P5 R7 [2 o' o5 R) d/ {1 m
  463. * U* ^/ J# F! _- y
  464. ; The display of errors which occur during PHP's startup sequence are handled
    ' O  A0 m+ Y3 j/ V3 A' {
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    ( r1 O9 p$ Q- R
  466. ; errors from clients. Turning the display of startup errors on can be useful in7 U6 C# f2 i: K" E0 F+ ~. }- ^, a
  467. ; debugging configuration problems. We strongly recommend you" @0 i! j  ~- v& |
  468. ; set this to 'off' for production servers.8 B' _3 x4 Z. {0 g1 ?( G
  469. ; Default Value: Off( i8 J  [% N2 [1 ^: B
  470. ; Development Value: On* Y# c, C0 n6 e2 A8 B/ l
  471. ; Production Value: Off
      ?, o# \- w4 e
  472. ; http://php.net/display-startup-errors* }" B4 S/ y1 {" X' {  w# t
  473. display_startup_errors = Off: D& _+ k, l, F# b  `

  474. 9 r. g  E% A# l  g7 ~) @4 ~- ^
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    + f. N, ^# Z. e6 j' `. M% N
  476. ; server-specific log, STDERR, or a location specified by the error_log
    ) ]; b1 ?" I# u# q8 M% j
  477. ; directive found below. While errors should not be displayed on productions  z6 m+ o# ~% P+ }* |
  478. ; servers they should still be monitored and logging is a great way to do that./ M  Z0 R3 w- O7 p. ^
  479. ; Default Value: Off9 G; u" O2 \2 w/ _/ Z, S/ x/ g
  480. ; Development Value: On
    ( r2 c4 ]7 o* J
  481. ; Production Value: On
    , ~; i7 h3 k$ I
  482. ; http://php.net/log-errors
    * O2 n& C# |7 K+ j, g3 y  z0 I2 F
  483. log_errors = On
    , k* t0 s/ a% l& I0 C% u

  484. & q; K. H  {7 Z
  485. ; Set maximum length of log_errors. In error_log information about the source is  n  H! I2 R7 Q3 Y1 |8 o1 X
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.. d% s0 ?( p  Q& q$ M
  487. ; http://php.net/log-errors-max-len; {0 J4 o* l* Q* ]
  488. log_errors_max_len = 1024/ x5 v- H7 Y, D4 l) Z% l

  489. 5 W: B' d% I1 s* h+ e' D
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    6 y8 C0 F% \1 K! s/ ~2 U5 D
  491. ; line unless ignore_repeated_source is set true.
    " J. j+ D' i) P6 T; M
  492. ; http://php.net/ignore-repeated-errors
    + x9 H5 l/ H( p6 }5 i# E! H
  493. ignore_repeated_errors = Off
    # Z/ H* @# |8 W  i/ B  D
  494. " L% B. g& ?. [2 |
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    ! H* A1 C; b. L  D( q- P( s$ B; T, H
  496. ; is On you will not log errors with repeated messages from different files or9 Q" b+ t8 K  J1 L
  497. ; source lines.
    0 ], K1 S) Z0 ]$ C' `" x
  498. ; http://php.net/ignore-repeated-source: M% `2 G5 I. h7 L
  499. ignore_repeated_source = Off
    ' }, L& o2 g! B- j* x

  500. ) m# @* B# s- H! {
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on/ W; H9 \5 p3 b' q/ g; h; t0 h# P  Q
  502. ; stdout or in the log). This has only effect in a debug compile, and if9 x* A1 b1 B( ^
  503. ; error reporting includes E_WARNING in the allowed list
    / ?/ ^4 @" |: I! k1 L$ I
  504. ; http://php.net/report-memleaks
    ; K7 q9 V# f# x' F; F
  505. report_memleaks = On9 F) U# H: r0 @

  506. 3 Q& Z$ d% H$ @+ K4 I) X5 @+ c
  507. ; This setting is on by default.
    # R6 i# B1 s8 P# d, I4 W+ U9 n* t
  508. ;report_zend_debug = 0
    5 v5 l5 H) |) h% r# T8 d( l2 i
  509. 5 i- M" k. R$ _. |8 e* R
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value+ M" {3 T/ i/ q- ^( V2 W
  511. ; to On can assist in debugging and is appropriate for development servers. It should. K1 L8 }/ x' j, t  W& i1 R6 E
  512. ; however be disabled on production servers.
    3 r' `) e- K0 X
  513. ; Default Value: Off7 U1 A; m  U) }8 C. X- t* \
  514. ; Development Value: On: P7 I1 D; E% h/ v1 D* C
  515. ; Production Value: Off! v. d- s: M5 \4 ^, g
  516. ; http://php.net/track-errors
    ' L4 s0 N9 v) o  W1 w/ z- T
  517. track_errors = Off
    , t; v6 W2 V% q+ h4 j

  518. 4 c" C# |1 V7 j! ^* I
  519. ; Turn off normal error reporting and emit XML-RPC error XML7 n  U& j% S2 R4 j2 h$ |
  520. ; http://php.net/xmlrpc-errors
    0 O/ _; [$ m' C( w1 N
  521. ;xmlrpc_errors = 0" j9 x. t0 F1 X+ X. i

  522. ' r& ^* A3 q7 v' N7 T( u
  523. ; An XML-RPC faultCode
    ; n0 {; {& Z3 x
  524. ;xmlrpc_error_number = 0
    - S3 ^6 P3 H7 d% C! L

  525. 5 _. Y# r/ P  x- Z
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    . d' \' R# k5 t
  527. ; error message as HTML for easier reading. This directive controls whether
    $ N3 s9 ~9 C( ^6 `+ Y
  528. ; the error message is formatted as HTML or not.' ^1 Y5 k7 j0 b* t; d
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    3 W7 D3 D. b) K) T. j& D# h+ a
  530. ; Default Value: On8 J4 y1 j; E% }+ q
  531. ; Development Value: On$ S! S5 I* c# m) o6 j0 [
  532. ; Production value: On
    6 x/ w. g2 a( ^( Z
  533. ; http://php.net/html-errors
    - `1 r  y3 J8 x4 r  o3 e  }
  534. html_errors = On
    ! d) v3 e7 L; s' w7 ?
  535. % p6 c( l: R" Y9 }/ \5 {
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ; |; X6 L; D" n5 x, e% N
  537. ; produces clickable error messages that direct to a page describing the error
    3 O; F' s5 i) w- r* P$ h& J
  538. ; or function causing the error in detail.
    . @! [- N* e3 |5 F2 Z# ?
  539. ; You can download a copy of the PHP manual from http://php.net/docs" ~0 ^2 x! J  {9 g/ ]& }4 V& V' K
  540. ; and change docref_root to the base URL of your local copy including the
    , k8 a$ ?/ R% w! b# P5 |/ U
  541. ; leading '/'. You must also specify the file extension being used including* W5 k+ `6 z' F. _' @$ `& _
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
      C3 M$ ^& z- H
  543. ; case no links to documentation are generated.
    ( l+ B2 d  U* r$ @6 B4 O1 P7 {
  544. ; Note: Never use this feature for production boxes.6 N- Q4 H( Q: S( O
  545. ; http://php.net/docref-root9 J, _6 M& y% i. X4 s& w* j1 F
  546. ; Examples" D; S1 ?  I, T+ i. l
  547. ;docref_root = "/phpmanual/"
    # B+ x! t, i  s) C. S  J

  548. 6 g. e& o0 p8 d4 F- o  d
  549. ; http://php.net/docref-ext$ X4 Q0 p& @* T; g. v! V
  550. ;docref_ext = .html, n& D+ [. s1 a3 o# \, n

  551. ) j! a# w0 C# N# y0 r
  552. ; String to output before an error message. PHP's default behavior is to leave
    / H$ v# l& t0 N( Y1 E+ Q  o/ k! R( {
  553. ; this setting blank.
    0 w# S. Q% b6 v% [' y
  554. ; http://php.net/error-prepend-string
    2 B4 s! j3 |4 ?; J& W$ d) J4 a
  555. ; Example:) M& u! S' \9 u) T; K4 a( Y7 w/ f
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    7 q- H6 c8 v7 @  E- x
  557. ' @! K* f9 ?3 {2 M  q
  558. ; String to output after an error message. PHP's default behavior is to leave
    ( E" ^0 S* ]! Y9 ?
  559. ; this setting blank.
    # `/ v8 g; F8 f
  560. ; http://php.net/error-append-string6 |" A' |7 h- P7 G7 ~
  561. ; Example:2 L7 n5 J5 U$ `3 `) ^5 z3 ^" N3 A
  562. ;error_append_string = "</span>"
    3 V! z' H2 Z& O4 R

  563. ! q- w2 Y2 f' M; P7 I! O2 J
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    5 m( K; j. T# K; x& Q
  565. ; empty.
    / B8 T/ u$ r5 |- p. I% s2 ]: J
  566. ; http://php.net/error-log* g: _* j- n: m: U
  567. ; Example:
    ; a4 z$ b* _9 ]+ G( |
  568. ;error_log = php_errors.log, E( ]' T4 m7 s4 b( n7 G( Q
  569. ; Log errors to syslog (Event Log on Windows).. Z' G0 a: d) O  u" n' V" d  T) X& o
  570. ;error_log = syslog
    $ w$ i4 |. k1 c/ @

  571. 0 E# i3 Z6 @3 I
  572. ;windows.show_crt_warning+ m) o1 A5 ]/ K  g* [% A; n) a
  573. ; Default value: 0  y" w, q$ O, w. W
  574. ; Development value: 0& q6 h% d! q( p) u5 D0 s
  575. ; Production value: 0& k# C% a; V8 @; Y9 {# |+ N3 u

  576. 4 o, d; c% P1 x& s  j
  577. ;;;;;;;;;;;;;;;;;
    9 e; W( R# V3 u$ k( v
  578. ; Data Handling ;
    9 ?! ?# K" T. B. \; Y( o. E
  579. ;;;;;;;;;;;;;;;;;
    " f5 I$ O) C% F: U1 s7 L" j

  580. 5 c+ v4 i$ k* @6 p
  581. ; The separator used in PHP generated URLs to separate arguments.7 ]2 ^2 T- `+ H1 ~" v* h
  582. ; PHP's default setting is "&".
    ( J" Q' }* e7 p* c
  583. ; http://php.net/arg-separator.output
    0 u! u4 H" Q1 A* w3 k
  584. ; Example:
    & a+ V7 J. A# v) q4 `
  585. ;arg_separator.output = "&"3 T# @8 ^$ Z9 H: U% G
  586. 1 f' q) ~7 G7 J+ Z& y; K% A( P* ~
  587. ; List of separator(s) used by PHP to parse input URLs into variables.  g% k. s5 z7 O* A( L5 x3 _
  588. ; PHP's default setting is "&".3 A* M: D1 ^& |% U- V( }+ @3 o
  589. ; NOTE: Every character in this directive is considered as separator!' x" d) A8 w; B8 e* o( w2 r) A) u
  590. ; http://php.net/arg-separator.input
    * t' m+ T# J1 J: `) t  d% |+ c( E) S* s
  591. ; Example:7 Y/ ?/ y9 P) ]+ ^
  592. ;arg_separator.input = ";&"
    ; y" x7 K7 a; q: V+ B* s* M- o" W
  593. ' [  A/ u6 z5 u2 |2 F( H% r- s
  594. ; This directive determines which super global arrays are registered when PHP  w+ s% l* w+ F4 R; ?0 e" V( K
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super8 x% m2 G+ |( j: K* l- _4 ^
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty  p% r  V( i, H0 J: w
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    & D$ j; K9 V; ^  a
  598. ; used as the others, ENV is not recommended on productions servers. You4 B1 o. E% u/ m- A8 R& _+ f
  599. ; can still get access to the environment variables through getenv() should you
    ( ^1 ^2 T0 D3 y$ p
  600. ; need to.
    ! c* W  w, I* g3 N/ h! `
  601. ; Default Value: "EGPCS"# ]+ I( F% H2 F# K
  602. ; Development Value: "GPCS"
    + }$ I* _  }' v6 [3 H
  603. ; Production Value: "GPCS";+ J. m$ f* w5 U9 U" i3 @) V
  604. ; http://php.net/variables-order* l& |) B2 e1 m! j- j# h8 c
  605. variables_order = "GPCS"
    ; W/ }2 o  V9 d$ Y# C0 V7 O# F
  606. 7 [& G8 N5 S4 |  y# M: e! w
  607. ; This directive determines which super global data (G,P & C) should be
    ' b, ]% M6 c4 z5 X
  608. ; registered into the super global array REQUEST. If so, it also determines; P% Y, m6 z6 b& a' [
  609. ; the order in which that data is registered. The values for this directive2 Z4 V) O, P+ ]3 p! o" @% p& v9 I
  610. ; are specified in the same manner as the variables_order directive,
    7 Z* L' ~# M- u$ G/ ?) H
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    & G9 ?" i7 z8 }- ^/ f7 X9 e9 O9 j
  612. ; in the variables_order directive. It does not mean it will leave the super
    4 ?+ a+ k/ c' i7 |/ ?) v
  613. ; globals array REQUEST empty.2 P6 e7 l) m. C, C5 _/ J! t# \
  614. ; Default Value: None
    / z- n# J/ A: b3 H7 S# G6 ~$ c( D
  615. ; Development Value: "GP"- J+ ~2 B2 T! k, b; Q
  616. ; Production Value: "GP"
    2 e8 q5 @  U  N0 X$ k. H
  617. ; http://php.net/request-order
    2 t! K, R. R& ], V# c5 O# M
  618. request_order = "GP"
    5 d9 r& B; f) w9 i2 N
  619. 6 g8 Q9 L# h6 W* Z2 x
  620. ; This directive determines whether PHP registers $argv & $argc each time it+ x3 I9 d' Q+ w# u3 s- ~. Y  f9 B" H
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ( D4 t- I' r9 v- {
  622. ; is invoked. $argc contains an integer representing the number of arguments0 V4 y9 p$ Y# [) q' ^4 q
  623. ; that were passed when the script was invoked. These arrays are extremely. h5 K; f! r6 v% |% C
  624. ; useful when running scripts from the command line. When this directive is8 `- U( g- `( ^
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    - {2 v4 Z+ n1 ^7 h
  626. ; a script is executed. For performance reasons, this feature should be disabled
    3 f* I, O; w  ~7 e/ c0 Y0 X/ _6 L
  627. ; on production servers.
    / N/ O9 Y! J" p/ _: m0 [
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    5 T3 k8 y+ F& P8 V
  629. ; Default Value: On# S, d! H  M5 s+ k! V5 h
  630. ; Development Value: Off1 r5 V9 `$ ^' D/ W4 R
  631. ; Production Value: Off- N8 Z. `' ], M$ c6 w  Q
  632. ; http://php.net/register-argc-argv# Z7 C7 x# D  O+ A7 p( e
  633. register_argc_argv = Off
      _: n; ~, _' g7 z

  634. 5 W8 V0 [* {/ t" b
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    : `- `+ R+ g5 t6 P% g; P( D
  636. ; first used (Just In Time) instead of when the script starts. If these
    6 P  m8 L0 C' }7 c3 P
  637. ; variables are not used within a script, having this directive on will result3 e& Z0 }/ }) R0 H
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled: _$ x" Z: k1 C" |) r9 j
  639. ; for this directive to have any affect.; Z' f$ E' E' t. E7 S  m& P& T
  640. ; http://php.net/auto-globals-jit2 Z, w% C0 Y8 W$ H; Z9 H; ~
  641. auto_globals_jit = On
    - }$ L% C8 ?. A6 E0 E, }9 Y, Z
  642. 1 U9 }0 b* Z- k. k6 z6 Q3 @
  643. ; Whether PHP will read the POST data.: O( [5 S4 ~& l0 x
  644. ; This option is enabled by default.$ v* A, t; r# g$ @
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST4 O9 L* N* V. v$ f6 {( t
  646. ; and $_FILES to always be empty; the only way you will be able to read the8 `. Q+ }) l1 ~" m
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    & W/ k- z, W- r3 y3 q+ [2 t
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.3 u: x7 N/ E4 p+ A% R3 B
  649. ; http://php.net/enable-post-data-reading# ?2 [- B- B) T) x$ u, R; Z
  650. ;enable_post_data_reading = Off
    * }; O3 `  f; Y& B( V

  651. 2 o2 A3 R0 J/ l
  652. ; Maximum size of POST data that PHP will accept.
    % W% _* t* C" I
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading: k6 v. ^# L- y8 E. L8 U6 l
  654. ; is disabled through enable_post_data_reading.7 Z- g3 J5 n4 @
  655. ; http://php.net/post-max-size, Y0 x" N9 |. S9 o
  656. post_max_size = 50M
    3 R& G0 `: D' U# h# [4 d
  657. 5 Q  L- N6 q6 R- |3 J; T
  658. ; Automatically add files before PHP document.' _+ V. [, c# E' {2 L$ q& @
  659. ; http://php.net/auto-prepend-file
    9 K; K% l( B; J. f7 o
  660. auto_prepend_file =
    9 q2 b# Q$ p: Z' }4 I1 Q' T3 C0 O
  661. 0 R+ F$ Q. q: W. I! j7 Q  H
  662. ; Automatically add files after PHP document.
    , A, p' A  a: h& Q. J. R
  663. ; http://php.net/auto-append-file
      M+ j7 N5 V3 Y; K3 e6 k; F# P
  664. auto_append_file =
    ' [! i  _9 h& d7 F/ g
  665. ) T7 }% c0 O9 u, G
  666. ; By default, PHP will output a media type using the Content-Type header. To
    5 M  K$ T3 ?4 o( b! S* M& e
  667. ; disable this, simply set it to be empty.
    5 n$ g+ p4 q! V4 O' H
  668. ;
    ; {8 z' S: P, r
  669. ; PHP's built-in default media type is set to text/html.
    / x0 S# \( \+ i5 B% f2 z0 V4 \
  670. ; http://php.net/default-mimetype
    8 V: g6 d, H; L, r
  671. default_mimetype = "text/html"
    : A7 x$ R% i: ^6 B: _" Z8 F

  672. ' S; G4 x; N$ ^* Z* B
  673. ; PHP's default character set is set to UTF-8.
    : Q( c7 ?* ?+ q( a  P2 C# K
  674. ; http://php.net/default-charset6 W2 U2 A- R2 Y
  675. default_charset = "UTF-8"6 L( O5 L9 G- N+ A) w, _# t0 H# u5 Q
  676. 3 b  M7 \. t; y2 [7 Z
  677. ; PHP internal character encoding is set to empty.
    * z& X9 n5 r4 _+ U3 R) N5 I
  678. ; If empty, default_charset is used.& D" m; U" F2 P$ h; ]" a6 i* e4 f7 ~
  679. ; http://php.net/internal-encoding
    " ^1 U( n# z1 E3 D9 ]5 S/ W
  680. ;internal_encoding =( B% k1 R: A" U/ m5 G& _: B/ q3 P) v

  681. / z1 N' Y" L+ U5 e' P0 c" X3 A
  682. ; PHP input character encoding is set to empty., b( I2 D  {/ f- P! p! Y  E- o
  683. ; If empty, default_charset is used.
    ( O' y8 J0 v' e; A8 R
  684. ; http://php.net/input-encoding' t# U9 M  a9 V+ b1 r% B7 b/ X
  685. ;input_encoding =3 i' q  \) o& @! d* m, Z0 P

  686. ) A; g- g6 Z+ P1 \  k
  687. ; PHP output character encoding is set to empty.
    . L, \9 b  q8 p
  688. ; If empty, default_charset is used.
    3 O  h6 J8 o9 m0 Z* F
  689. ; See also output_buffer.
    , |- n: u( _4 j) _3 d! w: ^' U
  690. ; http://php.net/output-encoding, ]) \+ R5 Z5 Y9 q. J* q; V
  691. ;output_encoding =
    . A3 n  J3 T. X) ^( g
  692. % S. U% b; X9 B, W) k
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    , N+ \$ [6 N* R! a# t
  694. ; Paths and Directories ;
    / O6 h: k; l' w1 |5 H7 z0 D8 a
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; ]4 R& K2 H/ M1 p

  696. 7 L, z; ?7 ~" q* f" u& g
  697. ; UNIX: "/path1:/path2"
    & y' F& N# R! t4 J
  698. ;include_path = ".:/php/includes"+ G. J0 j9 z+ V/ F" a2 o
  699. ;. Z# F7 i$ q( g. G5 P7 p
  700. ; Windows: "\path1;\path2"
    * F, [8 F6 e4 S7 L
  701. ;include_path = ".;c:\php\includes"8 T8 n: E- d. _  U
  702. ;) y6 f. k+ l% [) W/ F$ [0 `% g4 a
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"& d2 f4 b8 C. h* t
  704. ; http://php.net/include-path
    6 A: @" G6 |: h& i, j$ ]( p6 d$ L
  705. , d& D9 J* [' g
  706. ; The root of the PHP pages, used only if nonempty.8 o+ u* s6 B$ l3 N- z& Z; [
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root/ K; P3 J) W" l. k' c
  708. ; if you are running php as a CGI under any web server (other than IIS)
    ! [7 C3 o. j7 y: t$ e+ ]' j8 Q
  709. ; see documentation for security issues.  The alternate is to use the3 B; U- [6 C0 [
  710. ; cgi.force_redirect configuration below
    ' c+ p  f; q( K0 B' V1 ^  j
  711. ; http://php.net/doc-root
    4 d. f! C  e7 }1 J2 j: D
  712. doc_root =
    ! ]5 s1 m1 K) S0 q+ M2 G+ X4 y

  713. % g/ A! |# H3 b- c& D$ |
  714. ; The directory under which PHP opens the script using /~username used only
    5 E3 Y3 H/ r1 O2 r1 x
  715. ; if nonempty.  G9 g5 h+ ]; o$ K! `3 E7 U
  716. ; http://php.net/user-dir2 Q/ y, {9 Y! [/ j" t8 [
  717. user_dir =
      v1 W  ^7 _+ v4 q2 e0 m, D3 Q
  718. , m5 Z! ]5 W- _4 E" [1 U
  719. ; Directory in which the loadable extensions (modules) reside.
    , \, `  N% e1 M4 \5 l$ U; y  x# X4 \3 q
  720. ; http://php.net/extension-dir
    , K5 S6 a6 J7 G% G3 }: H- U" G0 [
  721. ; extension_dir = "./"
    ' v# r; p+ O! O9 H: q5 j- k
  722. ; On windows:
    * m+ e- F8 g# l4 M
  723. ; extension_dir = "ext"
    % h- F5 j% P6 Q

  724. , I3 V( y% }% y: K/ C
  725. ; Directory where the temporary files should be placed.( Y. f+ ^' z) y+ j
  726. ; Defaults to the system default (see sys_get_temp_dir)
    ! @- \6 ~! r% m3 v
  727. ; sys_temp_dir = "/tmp"# t/ [% H2 b/ c* H' N) t& [
  728. 4 w% q. n' e& |( t+ P4 {
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work3 X2 ?) S% M8 r; r& m
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    - y; S# j4 Y5 y
  731. ; disabled on them.
    ! X0 h9 u" Y; Z6 A
  732. ; http://php.net/enable-dl. s# ?0 ]7 a% y5 }
  733. enable_dl = Off* p5 h. ?& i) k1 u6 u) s
  734. - E" t+ Z7 {; O" |
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    8 s; z% G; y, G5 j8 t& h, S
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    9 f6 U! _" |# z4 {) }7 X+ R. U* P
  737. ; turn it off here AT YOUR OWN RISK
    4 N3 @. P9 k+ J$ h" ?
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**$ d9 f3 b9 w: v/ S9 y# @+ r
  739. ; http://php.net/cgi.force-redirect! w' p0 g; _! g
  740. ;cgi.force_redirect = 1
    ; s2 f' K# x% A) m
  741. * ^5 ?) r4 f) D& }8 d+ C4 O
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    " k# i  N8 c1 x. D7 X
  743. ; every request. PHP's default behavior is to disable this feature.
    ; z' X& b! ]% K% M. ~
  744. ;cgi.nph = 1
    - A2 l6 g+ S5 d. @& b7 h* U
  745. $ E& Z, e: C  I3 r! J! i+ M4 a/ V
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    " P4 i) q; B1 |- A6 I
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    " c/ W! Q9 ]) @$ h/ J& _4 T2 p
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    , i, F) w: j: f- H6 }9 `" D8 w
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    % d* }; R3 i: C% ]  I
  750. ; http://php.net/cgi.redirect-status-env
    . R. G0 {* X* F6 s4 M
  751. ;cgi.redirect_status_env =6 Q- e) p- G" z# |7 X9 A
  752. 9 O5 Y# _4 |" c( O
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    - K6 G( d( k5 W, W1 p
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok$ I9 H( c2 T6 t& A
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting* n) s- w3 v: c- a0 n
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    $ ]# Z0 r8 u' t: u. r
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts  G. D4 _, R3 g$ |
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.+ f5 j$ J. u+ ~, y+ Q
  759. ; http://php.net/cgi.fix-pathinfo
      J; z  ?: q( S9 u3 `0 P) F
  760. cgi.fix_pathinfo=1$ [+ |' f1 k, ~. B$ X3 E; \' q& J

  761. & ?. X) k) {  d: S& j
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside; d) Z/ D6 l. q  O
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    6 D% X% J/ D6 U- k  o% x/ f
  764. ; http://php.net/cgi.dicard-path% h, g- \) B5 i
  765. ;cgi.discard_path=1) C; {& F; r  Y
  766. 0 K- g( X  q+ s5 A! ?' Z; [& m; h
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate9 F9 g- `8 e8 W
  768. ; security tokens of the calling client.  This allows IIS to define the7 |: t) X' t) L% T' Z: a1 f
  769. ; security context that the request runs under.  mod_fastcgi under Apache0 a: [- w- \& o$ f+ ?  F
  770. ; does not currently support this feature (03/17/2002)+ \9 j5 D# k/ v: S! y& j
  771. ; Set to 1 if running under IIS.  Default is zero.) l: X6 I% W; R% |# p
  772. ; http://php.net/fastcgi.impersonate
    5 r# u7 B. Y: z) u- S/ N
  773. ;fastcgi.impersonate = 13 u. S2 m0 r; m. B$ t- p

  774. $ e; Y& M2 J. `. D$ c3 k2 ?
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ) w* m8 w- }# H+ J( k2 e8 Y
  776. ; this feature.
    9 k# A4 c8 [/ z8 E
  777. ;fastcgi.logging = 0$ S  y. M" e/ ?, @

  778. : s/ c$ o; t( M$ j- F2 B( A7 G+ z
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    $ h6 C+ _' M% q6 a
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that5 m+ g# f7 I$ E( f2 L5 w' S$ a8 E
  781. ; is supported by Apache. When this option is set to 1, PHP will send. H& ^, [3 N# |, {2 x! k  B
  782. ; RFC2616 compliant header.# E( b( g/ V  E" @- e0 x; a
  783. ; Default is zero.# f$ D& Z6 W- j: j3 ?1 X0 O9 ]
  784. ; http://php.net/cgi.rfc2616-headers
    " h  |! J6 v2 X5 r' {
  785. ;cgi.rfc2616_headers = 0( H3 f; \2 l! O5 v3 l
  786. . R5 U/ @9 l/ l8 y" \$ w6 M$ }
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    6 s+ `3 R* v2 E# S$ a. J! k: K
  788. ; (shebang) at the top of the running script. This line might be needed if the
    % N/ W" }1 ]/ @
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    8 n& w  u* N! ?0 H5 q% D
  790. ; mode skips this line and ignores its content if this directive is turned on.3 Q: H2 U: u. Y, |: d# {1 ]
  791. ; http://php.net/cgi.check-shebang-line
      _! {2 Y3 Z$ b) s( b
  792. ;cgi.check_shebang_line=1& j8 V, Q1 Z( f2 [# g
  793. 8 w, \  R1 l) h
  794. ;;;;;;;;;;;;;;;;
    ) x. Y) b- `( D, {, t% \8 g
  795. ; File Uploads ;
    1 S: x; R# a- r5 ~7 c
  796. ;;;;;;;;;;;;;;;;& `& C8 M7 d0 f  E  J
  797. ' Y  [( F$ d+ U! L
  798. ; Whether to allow HTTP file uploads.) Q' r1 U2 @. p7 C
  799. ; http://php.net/file-uploads
    1 Z) V6 [6 G# T* |0 ?
  800. file_uploads = On: j4 G4 F) H9 {  t8 B
  801. $ _( t5 L; h1 U0 D/ a% z1 X
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    0 e  I  q- w6 Z! s. W4 D
  803. ; specified).0 K" ^, d  h' W
  804. ; http://php.net/upload-tmp-dir7 u6 o& L% I" p% h% V2 f4 X, k( o
  805. ;upload_tmp_dir =$ C- W! B. O  ]
  806. 7 W; p- D! ]; j* m% x) F
  807. ; Maximum allowed size for uploaded files.
    + I+ N$ ?' P/ e; g3 b3 L
  808. ; http://php.net/upload-max-filesize8 s  s9 K8 @5 T/ ^5 ~1 k
  809. upload_max_filesize = 50M2 S/ s- n# K' _0 a1 @

  810. $ I+ l# _5 a1 u9 i8 ^3 B4 X
  811. ; Maximum number of files that can be uploaded via a single request' [5 V' E! z: U& N# X. n. E3 i
  812. max_file_uploads = 20
    % H  A1 D) T  ^6 t' X% X- O: Q3 Z$ q2 S
  813. # _! B: o& F9 R2 M8 X& ?3 L
  814. ;;;;;;;;;;;;;;;;;;% Y6 F- ?# `% w& @
  815. ; Fopen wrappers ;- O5 D2 ^& J! y# Y- y4 t
  816. ;;;;;;;;;;;;;;;;;;
    2 B' x3 V3 m2 K' F& q$ a; Z9 N6 J
  817. 1 U+ T& G: N3 O4 s1 z1 ]2 b
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.7 n" n4 j  A1 _# l
  819. ; http://php.net/allow-url-fopen9 T2 B5 \: K) L  r( D7 \% O2 X
  820. allow_url_fopen = On
    0 E; D$ }, N, t

  821. + K/ ~! o8 W# \2 v
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
      F4 E; o0 ]2 N) s% H/ N8 }
  823. ; http://php.net/allow-url-include
    # M* s9 X8 ~- S9 z5 W; a0 w) O
  824. allow_url_include = Off! t+ y- G8 k# c# y/ u. @
  825. 0 [7 ]; C- I) D) [' Q1 `& c, @! q
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    ) n) e" |; f+ g- s
  827. ; for this is empty.6 ~- [$ r) i( a1 ]3 U- s' L( E
  828. ; http://php.net/from
    ! E# q# C. I# G
  829. ;from="john@doe.com"2 N% l* s3 n2 ^; `( ]. w

  830. " S: E' g: u- |9 S2 ~
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    1 T. ^# u4 K+ i( E$ H  C% l
  832. ; http://php.net/user-agent
    : F; ]8 y2 S7 {. ^" ]- R! v! p- h
  833. ;user_agent="PHP"! P. F3 u7 N9 k

  834. / R3 L, e3 D& O5 H$ H/ y% |& R  ~5 C
  835. ; Default timeout for socket based streams (seconds)
    ! `- N/ v7 E* U3 `
  836. ; http://php.net/default-socket-timeout
    : y9 Q' E$ U' C; t: l: z
  837. default_socket_timeout = 603 {- ~, A0 J  m. x/ ~5 [# C  `

  838. 9 {0 F: m( h! U0 n8 Q
  839. ; If your scripts have to deal with files from Macintosh systems,9 @4 V( i: R6 U3 y5 `
  840. ; or you are running on a Mac and need to deal with files from  i% A  H1 z! ?4 d
  841. ; unix or win32 systems, setting this flag will cause PHP to/ l, c! e. I) a, z
  842. ; automatically detect the EOL character in those files so that5 f+ A+ `. e/ e6 ?1 y" }% D# P
  843. ; fgets() and file() will work regardless of the source of the file.
    ' G5 c, r: [7 w: L
  844. ; http://php.net/auto-detect-line-endings
    ' W2 w: t+ X1 C; O9 ?
  845. ;auto_detect_line_endings = Off
    + _' I  a8 y* j/ R- R, y5 v
  846. 2 w5 i% K: h1 }+ d  S7 R& ]
  847. ;;;;;;;;;;;;;;;;;;;;;;
    : ?! x( U# E0 l: }8 f! L+ V
  848. ; Dynamic Extensions ;
    ' O1 g" N+ G: J9 Z! R! B; {
  849. ;;;;;;;;;;;;;;;;;;;;;;& q- E$ a: p% P# H$ A9 I. B* [/ x
  850. ( M# y  [' E3 u& p$ p: p$ A/ ?# l" P
  851. ; If you wish to have an extension loaded automatically, use the following
    7 K- w. D$ u: k# d, n4 U
  852. ; syntax:
    ' P' |- I! ^" f& Z* @
  853. ;6 V- D! ]6 w" o, f- {* A' U
  854. ;   extension=modulename.extension: c+ z5 d9 B, W0 ]/ w9 \5 r
  855. ;
    1 n$ s, {% ]  t5 I
  856. ; For example, on Windows:
    - E0 O- w8 Y6 i
  857. ;$ s' w5 F+ m' @8 m
  858. ;   extension=msql.dll2 M' h3 o' X6 P( I4 ]/ r
  859. ;
    1 Z$ N+ t, F# q. b, B
  860. ; ... or under UNIX:
    4 i% @- H& [. R# |, d
  861. ;
    ' ~; Q- Z0 q* `3 a' b0 @  J
  862. ;   extension=msql.so, m* u* o( e4 @+ r* @8 w
  863. ;
    8 D5 L* D1 k+ N8 P2 t. ~6 z
  864. ; ... or with a path:
    ! H4 B8 `- g! u
  865. ;
    % [3 ]8 U& p; f+ c, [
  866. ;   extension=/path/to/extension/msql.so
    " \( v0 d3 M' D0 r
  867. ;& v# s1 K8 K& y4 A% W2 L/ A0 K  m! ?
  868. ; If you only provide the name of the extension, PHP will look for it in its9 l9 r" M3 x- Q( u. T  Q; [! t8 L( m
  869. ; default extension directory.
    ' ^; w' O4 E! B0 {) b$ n7 k2 t
  870. ;1 ?- Z  B- g0 [& [- l, q
  871. ; Windows Extensions- V% k& B8 H" x
  872. ; Note that ODBC support is built in, so no dll is needed for it.. u5 F+ q& ^. U( o- P( I" T
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    * u+ f% D; _, N3 @0 l9 T
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    8 K+ d7 }3 x+ s; R% e
  875. ; Be sure to appropriately set the extension_dir directive.
    5 B# ?" A: A6 ]' i" Q! t% t
  876. ;3 O( ]! c7 F3 r3 l2 _" r8 x
  877. ;extension=php_bz2.dll' j+ y  |1 N9 h& l( T. b; }( h
  878. ;extension=php_curl.dll, G" d# B. O. a) T/ X$ I) A; R
  879. ;extension=php_fileinfo.dll
      r8 t. j- d' _+ `
  880. ;extension=php_ftp.dll
    + Z# s" u" F4 _$ o) `0 O7 U7 _. |
  881. ;extension=php_gd2.dll: T4 C% B' O. }7 t% _& j
  882. ;extension=php_gettext.dll
    2 C$ f# Q7 J# f
  883. ;extension=php_gmp.dll4 m8 v% Q. f, L7 N7 ~
  884. ;extension=php_intl.dll0 U% M0 Z9 ~: k0 ^0 F
  885. ;extension=php_imap.dll( f0 w0 p0 W$ x3 Z: W7 Z2 W2 P+ h
  886. ;extension=php_interbase.dll
    & ?. Q! z# d( S2 S% i* o5 n
  887. ;extension=php_ldap.dll3 f2 N% U7 D3 E4 G9 g' P5 S
  888. ;extension=php_mbstring.dll
    2 M! p) N- F) g9 L1 g6 L( B' \
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    # N8 g# Y/ ]2 N# j, `4 {5 {# k5 s
  890. ;extension=php_mysqli.dll
    2 C& k4 Y! t: A, }
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client5 z& p: h: c  Y) }1 H& _+ C$ D
  892. ;extension=php_openssl.dll0 x8 t% |% h* o" ^- z
  893. ;extension=php_pdo_firebird.dll
    : H2 a( r& t0 p& h9 G
  894. ;extension=php_pdo_mysql.dll, k+ u/ K% ]! S) P' G5 ~( O" z  y
  895. ;extension=php_pdo_oci.dll
    ( S3 d: ^! q6 f7 u& W
  896. ;extension=php_pdo_odbc.dll# @  o- n* f+ o; t: y# ]
  897. ;extension=php_pdo_pgsql.dll: ^4 r6 l+ n& ~3 W+ W, p
  898. ;extension=php_pdo_sqlite.dll2 z* f* ^! S+ |8 N+ z2 }) }
  899. ;extension=php_pgsql.dll
    % {4 D6 Y5 {6 y/ s
  900. ;extension=php_shmop.dll' X7 Z8 X/ a1 o  @/ u$ w

  901. " n( q8 D, ?+ [' |: Z2 Q5 `
  902. ; The MIBS data available in the PHP distribution must be installed.' M, i3 l3 w8 B5 u- A( p
  903. ; See http://www.php.net/manual/en/snmp.installation.php) ?1 I1 b4 S8 X3 p  @+ C) ^: ]/ x- T
  904. ;extension=php_snmp.dll, y, G# v5 p0 B7 o) y/ S2 U# s
  905. $ u, f0 j9 e( P1 t- g1 C; W
  906. ;extension=php_soap.dll
    2 [" j4 U: U7 m# F, b4 s
  907. ;extension=php_sockets.dll7 G' G! B. P# [) _
  908. ;extension=php_sqlite3.dll
    1 K, A2 u: ~, b7 y8 S+ g
  909. ;extension=php_tidy.dll
    ; j7 v0 ?) w% _5 h
  910. ;extension=php_xmlrpc.dll
    " ]' c0 S7 Z5 B' [! }- B1 [; \( I3 ]
  911. ;extension=php_xsl.dll: b) `& c9 D1 J- O& o/ [% J, J

  912. 9 g9 A) {6 W( `$ y+ A$ q1 {3 m0 j
  913. ;;;;;;;;;;;;;;;;;;;9 X& G  k9 a' C( C: ]
  914. ; Module Settings ;9 i" g9 f" X# X- R$ ?
  915. ;;;;;;;;;;;;;;;;;;;
      [' [) X8 T7 I0 v3 e" Z) v( ?: ]
  916. " i# S% u' ^/ ?$ e2 p: X2 |& S
  917. [CLI Server]
    5 Q" _9 Y+ {8 @9 ]$ s( ^
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.+ o1 Z) ~5 O2 [+ Y+ Q5 k+ J/ E7 N
  919. cli_server.color = On8 n6 P# u: A4 ~7 _9 N) J# x
  920. $ z# `1 Q, i3 m9 d4 Y% I9 q
  921. [Date]
    , v6 F5 j+ h; ]: U; c' g1 C$ ?
  922. ; Defines the default timezone used by the date functions# @) I# j3 T2 i# R3 _
  923. ; http://php.net/date.timezone0 Z  T6 ^5 n- t  S4 g! L
  924. date.timezone = PRC7 Z2 B, D7 l+ N+ X3 [
  925. 2 _6 A+ k8 H- S. k- V5 x
  926. ; http://php.net/date.default-latitude2 ]- U3 p5 P! B. E
  927. ;date.default_latitude = 31.7667
    9 N9 u3 F: h' l: g# ]1 @

  928. $ p  z: }& W/ s, P! A  t
  929. ; http://php.net/date.default-longitude6 x. Y( }4 c, S) H# ~  l) [& ]
  930. ;date.default_longitude = 35.2333
    - T  n+ ~" C0 d: m

  931. ! M& w% s/ _" M* M9 v
  932. ; http://php.net/date.sunrise-zenith- t% b. ^# h0 v$ [1 t
  933. ;date.sunrise_zenith = 90.583333
    * {) c' a8 a1 i# i: A& j" w

  934. " z# X( ~, D2 \9 G, {% d  q7 b
  935. ; http://php.net/date.sunset-zenith
    . f" b# {, ~" W: k% A! v
  936. ;date.sunset_zenith = 90.5833339 q9 n) B! J, u
  937. ( f( ]7 r; D+ i4 `4 R% E
  938. [filter], k0 w- |  j+ a1 l3 S  ?
  939. ; http://php.net/filter.default0 t  v+ i9 r7 x5 ]
  940. ;filter.default = unsafe_raw
    ; T9 v( x  [* T8 F  {

  941. ! K  f# K6 R6 }6 @7 z6 ?
  942. ; http://php.net/filter.default-flags
    8 P4 G8 g3 N( Z
  943. ;filter.default_flags =5 h" N1 }( p5 I5 y, Y+ M4 o5 T

  944. / }% t6 _* l- o$ d
  945. [iconv]; @+ d4 V' i( ?, ^8 S* h
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    2 l+ L% v9 s& E* F! d
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    $ I, X+ {# `0 S
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    6 O7 l: j5 G: V) k. y6 ^
  949. ;iconv.input_encoding =$ Z- h4 R% M: N" N: W

  950. , B% x" O( e" e- ?# T
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
      ]4 T7 t1 e/ o. v3 e
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.  O5 s% G5 ^) S, l! _/ N
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    . r( t" R7 B/ {7 F
  954. ;iconv.internal_encoding =
    7 n% X! x. a1 E& F  ^* S$ k

  955. ' m) k1 K; M) H! e- C) ?
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    4 J1 D" v" Z3 y
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.& e$ V  u  d3 n' e( L( c
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    : y3 T' T: n# V- y: L5 j
  959. ; To use an output encoding conversion, iconv's output handler must be set" R. j' ]) E# `# a. F
  960. ; otherwise output encoding conversion cannot be performed.
    5 `" i7 w, s0 @- H8 w9 h2 u4 {  P
  961. ;iconv.output_encoding =
    % F# B% D3 w- d# n  J% w! F& T
  962. 0 F3 C9 ~  g6 m0 O5 g. U7 {  T
  963. [intl]
    / W6 G; t/ ?& \4 L- a1 f
  964. ;intl.default_locale =$ {) Y1 k! y6 C1 O8 Z+ V) M& w+ T
  965. ; This directive allows you to produce PHP errors when some error
    ! ?% Z. f* a; E# l
  966. ; happens within intl functions. The value is the level of the error produced.
    - b# d. x/ z. Y: s
  967. ; Default is 0, which does not produce any errors.$ P5 R3 p1 j! C6 s, H- G
  968. ;intl.error_level = E_WARNING6 m, T# J0 R& g. |
  969. ;intl.use_exceptions = 0! \4 g6 t: k  H: w( c( j. z7 G. g
  970. 7 Q+ Q0 U+ x# J2 C/ T: @
  971. [sqlite3]
    & U7 M. `* z4 [9 u; c* @
  972. ;sqlite3.extension_dir =
    " Y/ |' w/ E+ p, `# ]* h  y
  973.   W! M; n1 _- z4 ~7 O0 z' w
  974. [Pcre]5 y' }/ _, \- }; T0 Y( p
  975. ;PCRE library backtracking limit.
    " u% \( D5 c$ t# j% ?
  976. ; http://php.net/pcre.backtrack-limit9 J) Z0 V; D$ [; d8 y2 a% D2 R: u$ F# l
  977. ;pcre.backtrack_limit=1000002 M2 `& `  c* u0 N" h4 H# l
  978.   ~. }; \. o/ l, d
  979. ;PCRE library recursion limit.
    ) J* o) c, @) ]8 j0 P8 F
  980. ;Please note that if you set this value to a high number you may consume all
    8 m/ C1 z0 q( j2 h0 s! b8 N
  981. ;the available process stack and eventually crash PHP (due to reaching the
    3 d8 D5 `( h8 y6 ^8 L' N
  982. ;stack size limit imposed by the Operating System).0 e! K! q. s; Q* Y; x; K
  983. ; http://php.net/pcre.recursion-limit! i% h, T+ J  Q% H+ F3 g8 c2 K
  984. ;pcre.recursion_limit=100000) g; ?  ]6 o) M: L5 n& b
  985. 5 p( E; R/ T, T( h8 w' T# o0 _
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    2 L( y7 o3 b9 g: o9 t
  987. ;library to be compiled with JIT support.( y9 O! P8 f; X( V  y
  988. ;pcre.jit=1
    & c( V% d! O. B' e6 L+ s  {0 ]6 z" S6 U

  989. ! ]. \8 I% _$ J3 _: f9 O
  990. [Pdo]% d7 i) _/ m6 E, \  e
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ; d' b9 ~. L4 |
  992. ; http://php.net/pdo-odbc.connection-pooling( h( H1 u1 M0 ~* @
  993. ;pdo_odbc.connection_pooling=strict
    + r* Q/ i5 g* Y( z' X, }- h
  994. 5 {3 @8 c3 p/ I) X
  995. ;pdo_odbc.db2_instance_name8 `: G/ r7 N( Y( m, ^* D& [& N

  996. ) |# w3 z6 `9 {9 d
  997. [Pdo_mysql]
    ( \: S. ?- c3 R1 s
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache! Q3 z! R9 k/ g' d& f( y- ?" j
  999. ; http://php.net/pdo_mysql.cache_size. Y7 C( k/ J* n- `" Y/ @* U1 u
  1000. pdo_mysql.cache_size = 20001 c+ m8 J  {/ A9 T) W

  1001. * M# |6 w; J' I1 M* y! L
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ F$ U7 @. l. I  F5 v) W. X
  1003. ; MySQL defaults.3 ]0 n$ A9 A! @+ V: `( t' N3 _2 K1 [
  1004. ; http://php.net/pdo_mysql.default-socket& b% w/ F4 J$ I2 p* o9 v( H" f
  1005. pdo_mysql.default_socket=5 x8 F& F4 X3 s# l

  1006. 2 Q! g2 D6 z* F, N6 R! u8 O
  1007. [Phar]- v% R' Q4 y: R
  1008. ; http://php.net/phar.readonly
    5 r5 E5 z+ p1 s# w7 c6 }  W
  1009. ;phar.readonly = On2 |- N, }6 s3 L- a

  1010. 3 w/ X: n& U* V) n2 F/ W* w
  1011. ; http://php.net/phar.require-hash
    ; v$ {5 q3 O: D7 P  g9 F' w
  1012. ;phar.require_hash = On6 ]6 K" P* Z( n5 a

  1013. / W: r% @3 w7 v
  1014. ;phar.cache_list =' k( u% k6 a7 n; _8 b
  1015. & v1 U' |% Z6 [
  1016. [mail function]
    8 P6 T, Y6 W- n# {
  1017. ; For Win32 only.
    . B1 e+ M5 Q- g  K2 D, ^
  1018. ; http://php.net/smtp
    9 O" x3 j/ D! n! }" o4 b
  1019. SMTP = localhost
    8 s7 ~  Z, f( H- ]
  1020. ; http://php.net/smtp-port
    4 c  J2 F! t/ {" x7 C8 w- L, Q/ N
  1021. smtp_port = 25
    8 Y% M  Q/ K7 G! _
  1022. 7 Z+ \' n5 c) S0 Z6 c
  1023. ; For Win32 only.
    , s. l7 q, D: [1 h, `, Z/ y4 d& h
  1024. ; http://php.net/sendmail-from1 W, Y' t( O9 f' Y% e
  1025. ;sendmail_from = me@example.com
    / _6 f0 Y) o0 g# Q4 o
  1026. / y# s2 Z+ z* b: z* j: C) \6 X
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    / g* Z6 c% s5 a6 a2 l# a
  1028. ; http://php.net/sendmail-path
    / c( U4 ]: X* t& ~3 [
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    ( T5 S$ S( w6 x6 a- U8 z
  1030. % U- T/ p  }( J
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    ! o/ \6 s) k& Y$ ~9 _
  1032. ; to the sendmail binary. These parameters will always replace the value of
    % o; A, A3 j) d  ]- ?  F- M
  1033. ; the 5th parameter to mail().
    3 T, c9 q( _$ {- D- l. J4 X: ?
  1034. ;mail.force_extra_parameters =, n; S; n5 Z& [6 `, B' _
  1035. 3 f, f5 C6 w3 F
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename( V; J- ^0 R4 r6 }* k
  1037. mail.add_x_header = On! n- I1 U2 B/ D( @" F
  1038. 9 k4 \" L9 n9 q: T) V+ @% w
  1039. ; The path to a log file that will log all mail() calls. Log entries include# d( r% ^& F- e  z- G3 g
  1040. ; the full path of the script, line number, To address and headers.! W  v9 y9 ]8 z. F1 ~- N
  1041. ;mail.log =
    - j! b+ u" U  L
  1042. ; Log mail to syslog (Event Log on Windows).
    9 s' V  \. M5 u9 U$ G
  1043. ;mail.log = syslog  {) ?3 ]' |2 k) e. @4 _

  1044. 1 h& ]4 O* s' o3 Q
  1045. [SQL]
    ( W7 o$ D) G, K6 f+ n. t
  1046. ; http://php.net/sql.safe-mode  @0 L( X, o3 b' ]( r. B5 _$ G7 p, [
  1047. sql.safe_mode = Off4 y1 k2 ^5 q6 h- \+ B& U

  1048. , ]) ^! G/ B' z+ M8 ^* G* a
  1049. [ODBC]
    & e4 H+ g5 K4 c- \
  1050. ; http://php.net/odbc.default-db
    " y" }8 M$ [# e' v! V1 F
  1051. ;odbc.default_db    =  Not yet implemented& j' s/ Y& V$ ~" Z& g: ?2 H* n" ]

  1052. ' O6 s) y7 @! _* r7 H
  1053. ; http://php.net/odbc.default-user
    ( p* V/ Z: F, {! L. M6 \7 j" Z. B
  1054. ;odbc.default_user  =  Not yet implemented$ B' A! k+ S# p2 L3 C2 b: a
  1055. * R" n0 l% A7 I( f' N' l, M+ I1 z
  1056. ; http://php.net/odbc.default-pw  R3 H; g- V! ?- m$ z; W- V
  1057. ;odbc.default_pw    =  Not yet implemented1 [/ C- J& g8 R2 |
  1058. 4 |" k& t: A. a5 n. B/ p) y( n# @
  1059. ; Controls the ODBC cursor model.' p  l! V" ?! I3 @6 ?7 ]% q" W
  1060. ; Default: SQL_CURSOR_STATIC (default).
    1 \3 z& B) r! l( j- p6 Q
  1061. ;odbc.default_cursortype
    & s% @! W  J8 }8 L' {0 P1 S

  1062. ' Y* M6 S' H3 i7 \7 g% `6 F& j7 _3 w
  1063. ; Allow or prevent persistent links.
    * D9 O* y, ?# Z  E, F$ E; a
  1064. ; http://php.net/odbc.allow-persistent% w# @9 J' N0 O: U& w0 \9 Y$ @
  1065. odbc.allow_persistent = On
    1 ?* c- D6 K; u

  1066. ) a" @, r0 W$ u
  1067. ; Check that a connection is still valid before reuse.
    $ S5 D, ~# n, \, Q) q! d
  1068. ; http://php.net/odbc.check-persistent8 ?' b1 Y% ^5 `% `
  1069. odbc.check_persistent = On
    5 A, h8 O7 x' B0 s% o, b6 Q

  1070. + |; u& b+ P# t5 @) K( T+ G
  1071. ; Maximum number of persistent links.  -1 means no limit.
    5 M' u( W( v# E/ }+ J8 O
  1072. ; http://php.net/odbc.max-persistent9 k! a  t% v1 l8 {6 b# ~3 J# u( m
  1073. odbc.max_persistent = -1
    + |  G  g+ h# B8 O

  1074. # k) S8 ~0 w) N8 D2 I" E& X: \
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 \5 x, e0 X: E! |& n- y
  1076. ; http://php.net/odbc.max-links
    7 l; V3 |3 [7 V4 I; \
  1077. odbc.max_links = -1' l5 N# W0 d* [, w0 U# c% D

  1078. . W: C" r- p; Z7 H! U* Y
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ( I  W! w: ~" H9 [' |' c* N& |
  1080. ; passthru.  d+ I0 P* @) Q4 R1 C; @
  1081. ; http://php.net/odbc.defaultlrl
    % |8 H: a) i; L
  1082. odbc.defaultlrl = 4096
    0 n: {3 H  S7 r
  1083.   L+ H0 F9 m4 V- \2 ]5 n+ f! ~
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    # g5 y  I9 i+ u3 K
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation  R4 j- e! i& t3 M" V5 A
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
      e  w) q' z: _# Q7 p' j6 Q
  1087. ; http://php.net/odbc.defaultbinmode4 g  Z# E7 V& \
  1088. odbc.defaultbinmode = 1
    . }, F4 t1 C' Y7 p2 H
  1089. 0 e- Q/ E* s2 j& ~3 j4 f2 E
  1090. ;birdstep.max_links = -1
    ' d( D' }3 g8 `9 G7 A2 f) Y( E0 z

  1091. $ h4 e* y: F* e  w7 W1 C% f" i
  1092. [Interbase]+ u5 {4 ?7 A6 d. {5 ]: H8 @
  1093. ; Allow or prevent persistent links.% ~7 u+ ?6 H* H' b5 O) _4 `5 @
  1094. ibase.allow_persistent = 1
    5 z3 U* [8 f/ T- I  p5 ]
  1095. % G& O$ ~$ k: b- r, F
  1096. ; Maximum number of persistent links.  -1 means no limit.' `9 l& h. \7 i  [. e8 ?4 a# `
  1097. ibase.max_persistent = -10 ?% q$ e/ N# z* B( g* _. i
  1098. + J3 J1 o) ^9 C( R
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    $ G0 U9 C. n3 z+ V0 _2 k7 r8 k
  1100. ibase.max_links = -1/ y% ~8 M1 P' l, x  J* f

  1101. 8 Z# N4 H- t5 t8 Y* i  v
  1102. ; Default database name for ibase_connect().! @; B! k9 R9 l. ~/ W. k7 d
  1103. ;ibase.default_db =8 a; \. Y1 Q  v4 @

  1104. : k6 i. r4 M5 z7 _' @% m
  1105. ; Default username for ibase_connect().6 H  y/ d! K$ M
  1106. ;ibase.default_user =
    4 Y" u& U! Q  {7 C

  1107. , B. ^3 V1 T/ w, J* Y
  1108. ; Default password for ibase_connect().
    : D+ v" q+ t9 N% a! K6 [1 `& V0 |3 a, M
  1109. ;ibase.default_password =' l* b8 r( _; M9 @/ K5 k; J% \

  1110. , \4 }# `0 M, K
  1111. ; Default charset for ibase_connect().
    : s9 @* Q  s7 s9 M/ T; x
  1112. ;ibase.default_charset =2 a4 v$ t. @: X# h7 x& l

  1113. 0 a. K/ x: ~/ J+ k# C  w! `. D
  1114. ; Default timestamp format.  G/ |5 P1 v) ?2 y
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    % e& S& {- W: A% v& R1 |% H# ^
  1116. * X/ A4 B3 r! R" T; Q& h) _
  1117. ; Default date format./ E( G& K) L' p! a/ f/ X5 O3 k5 G
  1118. ibase.dateformat = "%Y-%m-%d"6 P0 }, p# R/ i% u7 ]) j1 n
  1119. & Q& Q% |. b/ Q% I: W& m; V$ J2 V4 {$ E
  1120. ; Default time format.
    + A) o; H0 M9 |: G# a  N
  1121. ibase.timeformat = "%H:%M:%S"
    + o/ h0 k* C3 Q, ]6 u
  1122. 7 L- ~, S1 R- |9 y6 I) A' T
  1123. [MySQLi]1 `2 b9 |/ b, X: t1 a
  1124. ' \' o3 N4 X8 F& r4 i) F1 P, D3 X
  1125. ; Maximum number of persistent links.  -1 means no limit.0 n2 Z" B" l! |3 u" f4 v) ?
  1126. ; http://php.net/mysqli.max-persistent  N2 [1 S* o0 y( T( }$ O1 T0 i- @
  1127. mysqli.max_persistent = -10 T( f; D/ @& B( [- _( t
  1128. ! }+ y) g, z, i9 h1 Q
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements! d1 ?- W0 A# x0 R$ G. Q& V
  1130. ; http://php.net/mysqli.allow_local_infile
    2 E, d' _6 ~, r* w% l% A% U4 d
  1131. ;mysqli.allow_local_infile = On6 k, }3 T- j% }. m
  1132. * T" D2 o' X6 r6 k- y
  1133. ; Allow or prevent persistent links.- m4 G9 \% J  v: w  S; a
  1134. ; http://php.net/mysqli.allow-persistent/ v" u/ u* N" }* c# S
  1135. mysqli.allow_persistent = On
    3 @# E; @3 ], g7 O4 S7 K! Q
  1136. 3 ~/ U8 I9 ]' C
  1137. ; Maximum number of links.  -1 means no limit.& V* z8 y; f6 l- u4 `" c3 |- ^
  1138. ; http://php.net/mysqli.max-links" z' G( g# g5 _) n3 c+ u9 e
  1139. mysqli.max_links = -1
    * W. j4 G& i$ P" O. w
  1140. / W% q# V1 \6 g+ Y: q9 s' Q
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache5 b5 ~" J! ?* v9 Q* E3 l
  1142. ; http://php.net/mysqli.cache_size
    1 |+ k! @$ ?' T* }4 z1 Q
  1143. mysqli.cache_size = 2000
    5 U- V# g, P8 V0 ?' w% N

  1144. : R7 g$ G& r. z
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use' Z' v' \/ @0 _/ f3 w0 f
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the2 i% B7 b4 F. g# H/ m$ J# i7 [; }5 \
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look2 a2 m, w$ F3 D1 b" _
  1148. ; at MYSQL_PORT.
    / l# B# O$ t( n
  1149. ; http://php.net/mysqli.default-port' p8 V. [1 f9 T" W- `+ i7 J
  1150. mysqli.default_port = 3306
    $ B# b; b7 D. }, E: U
  1151. - H' B# F+ q! `1 r  W5 |
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in' ]: b( f  _, ^) w
  1153. ; MySQL defaults.
    . L! ^6 ]+ Z' e
  1154. ; http://php.net/mysqli.default-socket
    3 d9 i5 a6 i, B) \( F8 S
  1155. mysqli.default_socket =& ]5 R  ~4 E  f2 W; _/ E
  1156. 0 {( q8 E" P& k+ i' ~' P
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).) A3 \' M0 \* {0 h
  1158. ; http://php.net/mysqli.default-host6 E: Z6 C) v1 D3 }- z9 V. |3 Z
  1159. mysqli.default_host =
    3 U- d( j( `. {% b

  1160. , ]$ n- k7 u8 z" Y9 g
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).1 D: N1 W9 l  U& Z/ Y6 r) I3 G* {
  1162. ; http://php.net/mysqli.default-user: }% u- b/ Y2 \2 M1 {. i
  1163. mysqli.default_user =# E$ Q8 J) i6 z- W% s& M" ^+ q
  1164. : p% U2 D) F6 x- R% {
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    3 R9 s- R; Z! z7 l3 v
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.9 f& N5 ]8 U! v, i
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    $ t5 V7 e3 O( \; ^6 J3 I5 g& Y2 T
  1168. ; and reveal this password!  And of course, any users with read access to this( f9 W% Z+ h$ P; Z% Y2 l9 K
  1169. ; file will be able to reveal the password as well.# J0 O! q7 o+ z0 g6 c3 I$ Y
  1170. ; http://php.net/mysqli.default-pw
    ! J* Q, v: i) \0 w3 `9 k
  1171. mysqli.default_pw =3 o; M6 h" [; j& r

  1172. ! [$ V( K8 J& H8 N( p
  1173. ; Allow or prevent reconnect
    : @& r& j1 _4 A; [% M0 C6 z8 N
  1174. mysqli.reconnect = Off6 k% L2 n. W, J% c5 j
  1175. 3 d  b% N' Q: y+ }% J' v' l) L- k
  1176. [mysqlnd]  Q8 w2 h) h% m
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    2 q4 m5 g# f4 y3 q- q
  1178. ; used to tune and monitor MySQL operations.
    3 l4 |; G4 \5 Q* m7 ]
  1179. ; http://php.net/mysqlnd.collect_statistics
    8 a8 B/ {4 h) U0 e8 G9 E
  1180. mysqlnd.collect_statistics = On& s: J& Z/ Y7 R) n
  1181. : q4 m5 k; G, k& `+ X
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be+ L  D' B: o' h- L) X- X
  1183. ; used to tune and monitor MySQL operations.% ^! p* G( _- R' {9 h
  1184. ; http://php.net/mysqlnd.collect_memory_statistics. f) f, T. w/ p
  1185. mysqlnd.collect_memory_statistics = Off5 W( P4 l- {% T; S! Z
  1186. 7 y* `) M5 N. i0 m7 p
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    9 ?7 A& ~, h1 O/ W8 N
  1188. ; file.
    6 H  s0 Z% W* `5 ]0 Z
  1189. ; http://php.net/mysqlnd.debug& g. _3 X' q1 z6 ^3 Q1 O/ Q/ ^
  1190. ;mysqlnd.debug =
    : H/ N# A7 @9 _1 [4 L
  1191. - O# D( r6 V( E, L$ ^* `
  1192. ; Defines which queries will be logged.7 H( M6 r5 q3 f  ~0 l1 j2 H
  1193. ; http://php.net/mysqlnd.log_mask/ _, G, H' `  f. t# W+ G2 T3 B
  1194. ;mysqlnd.log_mask = 08 _1 ]% X2 s' ^
  1195. 2 ?/ V: i, B/ [6 L
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.5 H1 Q  R! h9 E( C. }
  1197. ; http://php.net/mysqlnd.mempool_default_size* m) {; @; @( H# z  T
  1198. ;mysqlnd.mempool_default_size = 16000, ]+ k* B7 d' D7 f, `
  1199. ; o# a( q% }1 G5 `0 D
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    / O- R, K0 e) D" Z
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ! L; R( D) W. U3 h! y% f. O
  1202. ;mysqlnd.net_cmd_buffer_size = 20486 U& [: f/ U2 U  b5 r
  1203. % n; }& m( m& K/ Z
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in5 h% s0 G& z! c4 u
  1205. ; bytes.. m3 J) r7 i5 ]; d4 s
  1206. ; http://php.net/mysqlnd.net_read_buffer_size4 `) n6 C8 _: {# b5 V' ]
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ' v% W' B) h" n  X7 X2 T* l

  1208. 3 C& _* o. L5 R; }" h. W6 y
  1209. ; Timeout for network requests in seconds.3 w$ `% Q* N. ~( {: B5 v& e
  1210. ; http://php.net/mysqlnd.net_read_timeout
    : e( _: g" X+ k; I$ o
  1211. ;mysqlnd.net_read_timeout = 31536000
    ! n6 h& H8 G% x0 [5 h; O6 t

  1212. + R$ A  ?7 \6 F  ^( I; _
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA* T; Y+ j: P$ E' Y1 \7 g
  1214. ; key.! m5 V, a4 d# n3 x. V
  1215. ; http://php.net/mysqlnd.sha256_server_public_key% \" n9 q) g4 o2 }. @5 K
  1216. ;mysqlnd.sha256_server_public_key =
    7 b2 D% k* \* c$ J
  1217. 4 e- @/ t, v* a7 k7 G! f2 C
  1218. [OCI8]
    5 G9 u6 Y( B; T( r

  1219. 4 V( }$ A* I7 _8 N3 {& T
  1220. ; Connection: Enables privileged connections using external6 D8 l$ l. l% \( q' k
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    - _( }7 f' Q& `/ T
  1222. ; http://php.net/oci8.privileged-connect
    5 Y9 w( Z) N) C8 O5 p8 z9 R
  1223. ;oci8.privileged_connect = Off: v4 F2 q* H5 Z% G
  1224. 1 R9 n) p+ _: _1 W* q3 U' ~) _! o
  1225. ; Connection: The maximum number of persistent OCI8 connections per* t! B) T9 b, H# z* T/ }
  1226. ; process. Using -1 means no limit.$ h$ j: Y* o. ]/ W' r2 E+ s9 B
  1227. ; http://php.net/oci8.max-persistent- b& ~3 R, y) L. {) t# K( K& {
  1228. ;oci8.max_persistent = -1
    - u% W$ o( t/ b# I& |' E: F

  1229.   \; w; H/ V( O9 U# ?' G" E( ], l( R
  1230. ; Connection: The maximum number of seconds a process is allowed to0 K& T* G. h3 N0 b: T
  1231. ; maintain an idle persistent connection. Using -1 means idle
    5 T6 k# j4 v6 c/ \
  1232. ; persistent connections will be maintained forever.
    % N# H: r3 L9 Z/ r0 Q' [
  1233. ; http://php.net/oci8.persistent-timeout
    * l+ B& j( ^' h$ M9 L- ]; j5 R( H
  1234. ;oci8.persistent_timeout = -15 c/ @8 F" j5 a) P7 O1 [
  1235. ) y9 T8 R4 Y% y/ e$ _# `' u3 w
  1236. ; Connection: The number of seconds that must pass before issuing a4 S8 g0 h5 B9 F4 }8 O+ R/ w
  1237. ; ping during oci_pconnect() to check the connection validity. When
    & ^% y' j1 g5 m' o: v
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    , e& ~7 r* m2 i
  1239. ; pings completely./ m1 w% Y+ n  p
  1240. ; http://php.net/oci8.ping-interval5 ]; D- k8 s% G6 C
  1241. ;oci8.ping_interval = 608 f' J/ E* [2 M' s- u! n
  1242. ; i% r2 I- N5 ^
  1243. ; Connection: Set this to a user chosen connection class to be used
    $ c" S9 S$ E- d7 C% g
  1244. ; for all pooled server requests with Oracle 11g Database Resident1 @/ q5 o9 F# ^( f2 R. i, b. e
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    2 ]$ w/ B5 `, y
  1246. ; the same string for all web servers running the same application,
    $ ^- A2 I; y' i) Q, @
  1247. ; the database pool must be configured, and the connection string must) r' M# A2 W& E* D; I5 k+ U
  1248. ; specify to use a pooled server.: J% [* T6 f1 b! D7 z$ j
  1249. ;oci8.connection_class =$ ?. Z: x' _7 \! ]: j
  1250. 9 ~( D. H  |+ T: ?" A% y
  1251. ; High Availability: Using On lets PHP receive Fast Application
    ! h6 O2 o6 B. W% b
  1252. ; Notification (FAN) events generated when a database node fails. The
    3 v& ^3 ?5 n  F* }( n- Q) D
  1253. ; database must also be configured to post FAN events." i; h) c1 ^* t" I
  1254. ;oci8.events = Off: G! Z0 d$ `7 Q+ e7 I6 K

  1255. & s% ?8 g( f/ }+ H" a9 }* g
  1256. ; Tuning: This option enables statement caching, and specifies how. C9 k, F: U! q, ^5 A; U
  1257. ; many statements to cache. Using 0 disables statement caching.
    4 j, i9 ?6 B* g
  1258. ; http://php.net/oci8.statement-cache-size5 y& c4 w3 E- b% c2 i
  1259. ;oci8.statement_cache_size = 209 R8 L4 Q) g; z( |, S

  1260. + L+ o2 s3 M/ U8 {, P
  1261. ; Tuning: Enables statement prefetching and sets the default number of  q; G( |" `; S7 m4 R. F6 A
  1262. ; rows that will be fetched automatically after statement execution.
    , m' P2 E) J5 s/ _
  1263. ; http://php.net/oci8.default-prefetch9 x, D7 S8 ?( C9 q6 q- K$ z
  1264. ;oci8.default_prefetch = 1001 p: `0 g$ ~+ r" y
  1265.   T8 S0 H2 ]; n8 L  b5 r/ I4 ?
  1266. ; Compatibility. Using On means oci_close() will not close0 `8 s& C$ E3 ^5 B, p4 H
  1267. ; oci_connect() and oci_new_connect() connections.
    ( w0 J5 K  h! b
  1268. ; http://php.net/oci8.old-oci-close-semantics' o# ^5 v' \- X
  1269. ;oci8.old_oci_close_semantics = Off
    8 ^3 D* \. f1 O" b1 z8 P& s) m! U$ ]
  1270. - _9 ?" i7 [1 `0 ?+ p! T) I+ E
  1271. [PostgreSQL]
      ^+ N7 U$ f" Q1 Y$ `9 D
  1272. ; Allow or prevent persistent links.
    4 ^; E4 y- Q# ]# `: l' i  e: {% b) U) _
  1273. ; http://php.net/pgsql.allow-persistent
    % [+ ], j! M: C8 K
  1274. pgsql.allow_persistent = On
    - X: I  ?+ e2 a4 W

  1275. * V! @% Z9 {8 ~. s, X  n' C
  1276. ; Detect broken persistent links always with pg_pconnect().
      ]4 N2 \# t5 m' }+ R0 H
  1277. ; Auto reset feature requires a little overheads.& k' ~5 r# E) w1 r4 C% ]3 z' x
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ! h7 P; ]* W$ {& U
  1279. pgsql.auto_reset_persistent = Off! Y0 d! c9 _8 t% u! B
  1280. & ~2 w% ~1 k, B
  1281. ; Maximum number of persistent links.  -1 means no limit.
    ! |3 {% D  U# M8 Y0 e
  1282. ; http://php.net/pgsql.max-persistent
    , D4 A# y2 c$ B. k% @) O
  1283. pgsql.max_persistent = -1
    9 s% f2 T$ B3 M' e' a! D9 \8 Y" z6 o* }

  1284. 3 Q2 G' _: y5 F; o+ C7 \1 }
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    $ N0 H) v; {+ N3 M: i$ \4 u  v+ V
  1286. ; http://php.net/pgsql.max-links
    ( I1 h8 d/ z6 m' _) G
  1287. pgsql.max_links = -1- v( v2 t1 T4 P: e: U$ s

  1288. " c0 E0 s5 M+ b2 \+ R
  1289. ; Ignore PostgreSQL backends Notice message or not./ g4 X7 \- Y8 J' M
  1290. ; Notice message logging require a little overheads.8 q( R: F+ ?  V; w. \$ H
  1291. ; http://php.net/pgsql.ignore-notice
      A" B4 B9 y  V( _6 b
  1292. pgsql.ignore_notice = 0
    0 l9 `: x7 I6 W% t) F- E! y6 |
  1293. 0 ^% S5 V5 y+ S4 X
  1294. ; Log PostgreSQL backends Notice message or not.
    9 y# x. F8 g& }7 @* U7 O' l
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message." y3 n" y) k. y1 H/ Q$ ?. N
  1296. ; http://php.net/pgsql.log-notice
    $ ]  v' ]9 W  v/ k5 C
  1297. pgsql.log_notice = 0
    ! @, f* u7 v9 A" D  I/ `; L

  1298. / U% R" c* O- P5 B( s# Q( C' x- `
  1299. [bcmath]
    & e, O- M9 h, u( D% E  C3 }6 `
  1300. ; Number of decimal digits for all bcmath functions.# b. l3 j8 Y0 G& e
  1301. ; http://php.net/bcmath.scale
    6 z: H6 W/ B  E2 m; X6 T8 |
  1302. bcmath.scale = 0' V5 f$ a$ _$ J) w7 E9 E4 n
  1303. + ]3 F- P: t/ i( b! H( b* S
  1304. [browscap]+ Z( {' ~' I+ h  l% K2 `
  1305. ; http://php.net/browscap. }2 D" T* j* j: n
  1306. ;browscap = extra/browscap.ini
    % W. C2 |/ d0 V

  1307. 6 U5 |' }7 P: M7 r3 F$ N
  1308. [Session]
    1 u+ B7 u- T# h& i5 r' o& M
  1309. ; Handler used to store/retrieve data.1 U6 D$ I! w% B) N% L/ W6 R
  1310. ; http://php.net/session.save-handler, k0 x* q& u! f4 T2 L
  1311. session.save_handler = files9 o3 P! P: p5 Q" l
  1312. ' k) p! E. k" F8 c  J
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
      {1 {: U, P; @0 @, S6 Z
  1314. ; where data files are stored. Note: Windows users have to change this
    - L; q+ _' u* b7 X1 b- x, S
  1315. ; variable in order to use PHP's session functions.# y% ~8 Z$ X1 |' p+ @9 Q8 u# M
  1316. ;
    # {* r! q7 e9 |  E' s  k
  1317. ; The path can be defined as:
    / J4 {6 I6 M  F5 d! u2 Y2 X
  1318. ;# C+ i8 S0 D1 V1 t" V+ O
  1319. ;     session.save_path = "N;/path"  y  m- |# O5 g% ~
  1320. ;* \  Q" c& u" ^' B% _/ r- D# t# W
  1321. ; where N is an integer.  Instead of storing all the session files in0 y$ o! T' A' R' [9 [
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    0 W, U0 v5 L, j1 o& d
  1323. ; store the session data in those directories.  This is useful if( t/ X1 q  T+ m1 d
  1324. ; your OS has problems with many files in one directory, and is1 U5 `2 B9 T) `" L
  1325. ; a more efficient layout for servers that handle many sessions.
    " Y) m* M  z) [. u- t
  1326. ;" X1 q+ l  Z* y8 M* S
  1327. ; NOTE 1: PHP will not create this directory structure automatically.) u8 i8 O6 l  W# L3 j4 U
  1328. ;         You can use the script in the ext/session dir for that purpose.# s3 l/ `# C3 Z7 q0 x( H; W! |2 P
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    5 V+ h7 j- E( Z+ L, L7 b
  1330. ;         use subdirectories for session storage
    3 P8 Q3 R+ ~! P
  1331. ;5 i1 S7 ]& E7 v9 X
  1332. ; The file storage module creates files using mode 600 by default.
      o8 S  b* ?7 r4 F
  1333. ; You can change that by using
    4 _; M- G" ?( M" _
  1334. ;0 k7 t; k% e' d. e# Y
  1335. ;     session.save_path = "N;MODE;/path". E& c4 K: x0 k; S: |, E
  1336. ;
    + X- I# o; c% b  h2 m
  1337. ; where MODE is the octal representation of the mode. Note that this# ~/ q; [- r/ g1 V. M; B# I
  1338. ; does not overwrite the process's umask.
    0 g/ s2 o8 r* {2 U5 }8 ?
  1339. ; http://php.net/session.save-path% @& q. ~; q0 A$ |+ M
  1340. ;session.save_path = "/tmp"
      B; F' F; ]" b
  1341. * u0 q- g' F# ^" Y( W5 V: {
  1342. ; Whether to use strict session mode.' ]& f7 Z" P9 @! X
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    ; n1 T% g4 \6 i& `. }) V* M
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    2 }1 V5 A% i, n: Z, q7 |
  1345. ; applications from session fixation via session adoption vulnerability. It is
    % g2 g" K9 X3 X
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.  H% f8 H/ V% f5 @7 X: t1 G- C
  1347. ; https://wiki.php.net/rfc/strict_sessions
    5 }1 f# L3 L* i' {) i
  1348. session.use_strict_mode = 0
    # A0 {+ L- [' E% n( A( P

  1349. " n% @2 R; G+ h4 K# ~( h' v
  1350. ; Whether to use cookies., w$ b, u6 y/ q7 Q- A9 [' D4 I) [
  1351. ; http://php.net/session.use-cookies! q# d5 m8 T/ ^: i8 k2 @6 L
  1352. session.use_cookies = 1
    3 Z6 n. ]- @8 ^" x/ a
  1353. 8 \5 H" K6 s. G) B, W
  1354. ; http://php.net/session.cookie-secure" d4 M  g% U* _+ q
  1355. ;session.cookie_secure =
    ) [" Y6 B1 n$ a0 z
  1356. ! y( T; D+ Z- g( R& Z/ c( z
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining' g- g. v' ~9 r# w8 @6 {. H7 B
  1358. ; the session id. We encourage this operation as it's very helpful in combating8 o, N" @6 l1 v- @, J
  1359. ; session hijacking when not specifying and managing your own session id. It is5 C1 \4 G/ T0 h
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    4 Z/ W4 \. ?2 O6 i: m! \+ I
  1361. ; http://php.net/session.use-only-cookies* O9 c6 f8 C: }2 z- p' y
  1362. session.use_only_cookies = 12 @* z$ e/ C3 C  M

  1363. & g6 H/ _0 R( m' E
  1364. ; Name of the session (used as cookie name).
    . M+ Q4 j& I4 \: |5 N
  1365. ; http://php.net/session.name( }8 B2 I& w9 G; L
  1366. session.name = PHPSESSID& K) _3 _! F& Z8 x; d

  1367. $ e! u1 W2 ?1 R2 w- Y9 `
  1368. ; Initialize session on request startup.9 f1 v! \4 O( u6 e- a* u+ z. I) N9 y# v
  1369. ; http://php.net/session.auto-start2 b; S% H# \+ k! i# b
  1370. session.auto_start = 0
    ( o' P" F1 G# z: `6 g

  1371. 9 L' v$ i0 q6 P: F
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    6 k# ]5 _- x! ~0 L) I* O
  1373. ; http://php.net/session.cookie-lifetime
    + z' ~( k2 N  n4 [1 j9 i
  1374. session.cookie_lifetime = 00 G, W3 n3 D( r, Q
  1375. ' D. r. J* V7 h
  1376. ; The path for which the cookie is valid.
    ! y1 u) j! m# }3 t! H! U
  1377. ; http://php.net/session.cookie-path
    % I# l. e) J: A/ u9 k% ^# z
  1378. session.cookie_path = /
    8 y! I' w* b+ R2 D' v+ ]" C" c2 O

  1379. 0 X; e0 _, |; q0 ]+ F- q
  1380. ; The domain for which the cookie is valid.& _6 a, p5 u4 G
  1381. ; http://php.net/session.cookie-domain  @" t, o8 R) K8 e! @9 ?1 W
  1382. session.cookie_domain =
    6 f- T3 K5 _6 U5 z1 k- b
  1383. 7 }/ c+ K! u6 T" P. q
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.7 d" `- g/ h' r5 U3 N
  1385. ; http://php.net/session.cookie-httponly
    ) g' t1 k) t* x  q9 t1 v$ ]  F
  1386. session.cookie_httponly =
    ' o. O& [) J1 G
  1387. 2 K! v1 Y$ V( s9 V+ s( |* o2 R
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    6 m1 W  O) X1 M+ W7 y) p6 w( `
  1389. ; http://php.net/session.serialize-handler% |: N0 J8 O) q3 O% ]9 Q
  1390. session.serialize_handler = php
    ) y2 ^5 r3 O% Z- n- W' J9 P' I

  1391. 1 ^! |& t$ f, s: H7 D) W
  1392. ; Defines the probability that the 'garbage collection' process is started! m7 c' W0 E/ R4 y2 x" E
  1393. ; on every session initialization. The probability is calculated by using
    3 F. V: M6 h* A4 d
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator  p0 D* H  w8 @+ a* v) a9 F$ g
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    * V7 c9 e& y# X7 y3 A9 P% I1 P8 z
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance' B8 m, a- c5 {3 p9 i. L( a
  1397. ; the gc will run on any give request.7 z- f: ?- Z/ X  L) o( ]
  1398. ; Default Value: 17 p/ d5 }; o+ y" ~# r# ?3 K  }, H
  1399. ; Development Value: 1
    + Y: U; I+ r  \; L$ n* b( O
  1400. ; Production Value: 16 r. E1 G$ }$ b( c  M$ F
  1401. ; http://php.net/session.gc-probability# c% U; _" C5 f8 N! W0 x
  1402. session.gc_probability = 1+ w, E- N6 ]( T

  1403. 7 j! s5 N8 [5 }
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    4 n- t6 F( A& a0 M& v
  1405. ; session initialization. The probability is calculated by using the following equation:1 i1 Y# ], u; U, [4 D  A
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and+ o6 P1 P/ @1 g- |  s
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 17 F  t7 [; x- i+ m: N" z
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance! G- z1 j3 {- Y0 \2 E
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you5 r- Q0 J# ~& P, |) @
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    9 s5 B1 j: d3 Z
  1411. ; this is a more efficient approach.
    . R9 C# B8 ^. B8 b5 Q
  1412. ; Default Value: 100
      W4 T2 x( e- P; c% T) \
  1413. ; Development Value: 1000
    % w; r$ \- F) }: }+ h7 x9 Z
  1414. ; Production Value: 1000$ H6 V5 v6 Q) z
  1415. ; http://php.net/session.gc-divisor
    ; t0 Z$ g0 p3 }8 t; V7 O
  1416. session.gc_divisor = 10002 ~) z: E! W9 |1 ?1 ?
  1417. ; r/ g; V5 V/ {: V) a' B
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and; Q! R6 m" ?& o5 t# i
  1419. ; cleaned up by the garbage collection process.
    . ?& L, v0 ]3 _) J4 ~
  1420. ; http://php.net/session.gc-maxlifetime
    3 F$ s- ]: j( a  k" f; V8 n
  1421. session.gc_maxlifetime = 1440
    2 t. v% l8 B- W; y& b
  1422. " a4 I/ k3 K0 v8 k
  1423. ; NOTE: If you are using the subdirectory option for storing session files$ i$ m4 Z  t  `- }
  1424. ;       (see session.save_path above), then garbage collection does *not*
    ) g6 V$ p/ U6 _# U/ U- }
  1425. ;       happen automatically.  You will need to do your own garbage; t3 y& |4 m2 S: Z2 Z' O# r
  1426. ;       collection through a shell script, cron entry, or some other method.& P, p" s! \& m2 d. Z
  1427. ;       For example, the following script would is the equivalent of. T9 H3 t( K" x+ Y8 F
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    . _  {: Q8 w6 _  h  L# }
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm) x; y+ ^2 o, ?" `9 m6 p1 J

  1430. ) v4 d/ s/ }) n3 a) c
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    4 f+ U% b' s1 X
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    ! R$ [& A2 S% b7 z; L- c6 O4 y
  1433. ; considered as valid.
    ) F- ]. {$ v+ n7 T2 [+ \
  1434. ; http://php.net/session.referer-check& @! ~& F2 x% U) X. `6 ~. @
  1435. session.referer_check =
    0 Q! G/ U" o. Z7 S) s1 F3 ], @
  1436. , ]5 S( r+ w7 Q/ j" k7 D
  1437. ; How many bytes to read from the file.
    . }8 M0 p6 g0 Z% w! [
  1438. ; http://php.net/session.entropy-length
    + o0 ~& P; d* h' I
  1439. ;session.entropy_length = 32
    ! t9 @; R/ N8 m1 h( l* T0 ?: K/ k

  1440. 9 t' t( ?" f; x$ K
  1441. ; Specified here to create the session id.
    ; A6 l+ N' e" Y& w5 Y) d. X* E+ h1 [
  1442. ; http://php.net/session.entropy-file; e9 \2 g: g9 c, D! k7 _
  1443. ; Defaults to /dev/urandom' n2 k- c6 R2 _( |
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom: G% ]  a- E; z1 e
  1445. ; If neither are found at compile time, the default is no entropy file.
    6 m) b6 a6 f$ }8 j2 s& z
  1446. ; On windows, setting the entropy_length setting will activate the$ A9 {+ b# N( ?# \( u4 t
  1447. ; Windows random source (using the CryptoAPI)1 M& [: O* Q8 M) V5 X! n2 ^/ F! d
  1448. ;session.entropy_file = /dev/urandom/ |# s0 R& A3 K2 P  }- n

  1449. 7 S4 U  R9 b  z% |4 f3 G. p
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ) K' b2 i. @- Y
  1451. ; or leave this empty to avoid sending anti-caching headers.% g4 f8 W' o( O( }7 m
  1452. ; http://php.net/session.cache-limiter
    ( L# P4 y0 \# X9 N
  1453. session.cache_limiter = nocache, ^8 ]1 Y: P  c7 ?. A8 `; c* {# V5 p/ v
  1454. " c* w# H( G$ Y- T& W
  1455. ; Document expires after n minutes.# ~( r8 G1 v  L5 n" X$ X
  1456. ; http://php.net/session.cache-expire4 b% ^' C2 v6 t
  1457. session.cache_expire = 180- B4 r4 M; L: h6 ~
  1458. ) k; q& p: x6 _+ `  e( u
  1459. ; trans sid support is disabled by default.
    0 N( g. h% x, }+ c5 b' N
  1460. ; Use of trans sid may risk your users' security.
    2 m! c) n- I5 O, G
  1461. ; Use this option with caution.4 R# ~; [" N' z6 D/ K3 d: @. r& [
  1462. ; - User may send URL contains active session ID; G9 Q$ m. _- y9 X/ ^
  1463. ;   to other person via. email/irc/etc.! K$ q9 b% O# \- n
  1464. ; - URL that contains active session ID may be stored
    4 g% H3 i. o- o+ h+ x
  1465. ;   in publicly accessible computer.' L5 P3 \3 V, Q
  1466. ; - User may access your site with the same session ID3 J9 f. Y, i( g9 B1 D: @
  1467. ;   always using URL stored in browser's history or bookmarks.% `  r9 P7 r2 W0 W
  1468. ; http://php.net/session.use-trans-sid
    " S& A# F6 @* E! D5 n6 K
  1469. session.use_trans_sid = 05 C. j4 S/ Y5 E) I

  1470. / s, s. l  J9 X8 A0 e, c, N7 A
  1471. ; Select a hash function for use in generating session ids.
    0 p  x( l, ]5 M9 c* q' C7 C$ N- [% c
  1472. ; Possible Values, f6 x, N. w. n
  1473. ;   0  (MD5 128 bits)2 L( `% X) g# f. g9 _7 m
  1474. ;   1  (SHA-1 160 bits)! |# }" v  x5 w$ ^
  1475. ; This option may also be set to the name of any hash function supported by' z! y6 i' D$ v6 K; c- t
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
      s1 V9 S; L5 x5 t7 [% R. T6 d# d
  1477. ; function.
    ) {7 G9 {2 I& q
  1478. ; http://php.net/session.hash-function
    0 t; N: ?, q6 W# b0 c: \" x
  1479. session.hash_function = 0; F1 i* a& G0 U, F- ?
  1480. ' p( Z0 r$ B0 i
  1481. ; Define how many bits are stored in each character when converting, i: M, T* [, m  Y
  1482. ; the binary hash data to something readable.
    1 X9 e( A+ |- v4 ?
  1483. ; Possible values:+ B9 g7 t! c( C+ Z& t
  1484. ;   4  (4 bits: 0-9, a-f)* L5 K7 R3 E# R4 `2 c+ x
  1485. ;   5  (5 bits: 0-9, a-v)
    2 W6 x) e% T- o
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")5 g  v8 c% o1 B; m
  1487. ; Default Value: 4
    ' i4 x1 J; d3 Y8 j+ I
  1488. ; Development Value: 5
    " @% y* [. Z, W$ E
  1489. ; Production Value: 5
    % w3 ~3 R, k/ ]$ U5 q+ B! B& U
  1490. ; http://php.net/session.hash-bits-per-character
    % g1 X2 ]8 u! Y% B
  1491. session.hash_bits_per_character = 5
    6 ^( o: j- u/ S) H$ f& o

  1492. ; P' w0 Z* F7 T, T7 Q/ e
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ' h: d( G( Q" S( m
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    ) @# Z- d0 [0 t0 Q; n' J
  1495. ; add a hidden <input> field with the info which is otherwise appended2 K- ^2 I$ {9 i. g% y  i
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    5 F/ a) J/ m" I5 t# y, k
  1497. ; Note that all valid entries require a "=", even if no value follows.* s( Q5 L& M% r! ?/ ^
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="! a+ Z/ e& `; [! T" R8 t" U3 V
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % B* E4 R, V/ s( o! K, r4 ~$ A; x
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% j6 s1 a0 F  m- u/ E
  1501. ; http://php.net/url-rewriter.tags1 `) M7 e) w6 z4 M7 Y: s  d
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"  B4 P% H3 \- P- B
  1503. " ?* [7 h% [4 s8 \
  1504. ; Enable upload progress tracking in $_SESSION
    9 i) k# ^  H/ f4 x/ G
  1505. ; Default Value: On# P) J2 T7 s- S/ L
  1506. ; Development Value: On: z/ V/ d% Q' F  l' w
  1507. ; Production Value: On! C6 @: e$ B/ n( Q
  1508. ; http://php.net/session.upload-progress.enabled# ?. j. J  P- U8 L! G$ O) V
  1509. ;session.upload_progress.enabled = On4 T; B8 v5 S+ H  h) P7 K1 N
  1510. , f7 U7 T3 N$ d) K" {0 N
  1511. ; Cleanup the progress information as soon as all POST data has been read/ a7 z! o$ J( e* m$ y$ [# m# _
  1512. ; (i.e. upload completed).
    2 }! u& j5 ~) O
  1513. ; Default Value: On
    % ]+ Q3 a$ W. T% P" U: z
  1514. ; Development Value: On
    $ @/ s- o* D, ^( G& ~% G5 D( W
  1515. ; Production Value: On$ v4 l: M) F% }: ]
  1516. ; http://php.net/session.upload-progress.cleanup/ M6 }, n' F5 w( T) q6 Q( |
  1517. ;session.upload_progress.cleanup = On. o7 k, ~8 Q% z; W
  1518. " u  d) c( j) V
  1519. ; A prefix used for the upload progress key in $_SESSION
    $ H' V% Q% E9 ?
  1520. ; Default Value: "upload_progress_"
    % t0 u3 |& I: i7 m" i( h8 O6 F5 h2 `( I
  1521. ; Development Value: "upload_progress_"
    ; V) K  }, b; D: u( Q$ f6 J
  1522. ; Production Value: "upload_progress_") u: @& o. G0 r0 p. {) W
  1523. ; http://php.net/session.upload-progress.prefix6 z0 G! n- S& O2 g( }$ {7 j8 a& K
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ) u5 c( H4 O8 B- B' v. Y1 n# B

  1525. - X8 t/ f$ `3 E5 X* g
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    , M3 m7 ]; Z) C. b4 J8 G
  1527. ; containing the upload progress information% D# ]( t- g! |. G9 x7 o, K5 j
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) F$ y& v2 Y- y0 I0 w7 \1 o( g
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : E$ k. I5 c9 b; e3 C0 x( }
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : |0 S% U2 l) |/ J  Z
  1531. ; http://php.net/session.upload-progress.name
    8 A/ O5 ]4 R) }. d+ Z
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"- z+ |& F; K3 w9 ^# X

  1533. , V; I3 y0 A- a0 O3 g
  1534. ; How frequently the upload progress should be updated.7 E* |; [. b" Q$ f/ D. |5 z! {
  1535. ; Given either in percentages (per-file), or in bytes( r$ H& r: V4 j0 ^" G9 K
  1536. ; Default Value: "1%"
    # l% }3 t: O$ o
  1537. ; Development Value: "1%"; I9 H% y! l& g' w( v$ j3 K
  1538. ; Production Value: "1%"
    / R% Y6 z  S% o* D/ i
  1539. ; http://php.net/session.upload-progress.freq9 W2 i" \; d6 `- \% ?
  1540. ;session.upload_progress.freq =  "1%"
    / ?$ M2 a; A5 h+ I" s

  1541. 5 W0 o' O2 v8 _# a
  1542. ; The minimum delay between updates, in seconds
    / j% s/ |5 r8 b; c
  1543. ; Default Value: 1' M0 ]: H2 B' u! y# Q+ v7 T" x) n
  1544. ; Development Value: 1
    4 ]* U: ]1 f- m9 K1 U
  1545. ; Production Value: 1# `. \+ _/ y4 \4 d7 G) ^# c
  1546. ; http://php.net/session.upload-progress.min-freq
    8 b* ?' u/ d* h) S* Z) S
  1547. ;session.upload_progress.min_freq = "1"
    - N* [7 Q1 Q! j
  1548. 9 @) L- j; ?* O5 |' @
  1549. ; Only write session data when session data is changed. Enabled by default.
    ( k! C# X: R( h
  1550. ; http://php.net/session.lazy-write
    7 j5 |5 N* t! d8 K1 H3 w  D4 e
  1551. ;session.lazy_write = On5 b% F; H2 P' W* m/ _9 k' L

  1552. : B' V) m& D8 t# w( a
  1553. [Assertion]/ i8 E, H, f4 `2 |
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)+ m% s3 F7 R8 U% y% u: N
  1555. ; -1: Do not compile at all+ b% n4 a6 V, c) \' D  V
  1556. ;  0: Jump over assertion at run-time
    ) N" `" i% k2 I2 U0 \# P
  1557. ;  1: Execute assertions
    0 ]5 e( D% U% S
  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). o. C6 V, Z; V
  1559. ; Default Value: 1: @# A7 }+ P4 g+ s
  1560. ; Development Value: 1
    ( N+ Y. |2 F: M( U6 B6 L0 g! f7 {
  1561. ; Production Value: -1% F' z* W$ S5 E/ L. e9 R* B+ O
  1562. ; http://php.net/zend.assertions+ }' n: s8 t  m0 V# h: k
  1563. zend.assertions = -1
    9 q; ^# `9 P3 j/ u7 a; [
  1564. & _' M% Z" k/ o" [# z' T
  1565. ; Assert(expr); active by default.) ^2 L8 \$ G, q0 X. d0 x, l9 z
  1566. ; http://php.net/assert.active
    3 u: t* ]( J+ B6 L6 l
  1567. ;assert.active = On
    ( \: T7 S* `8 u! H, Y
  1568. # J/ @8 I% Q  _$ }
  1569. ; Throw an AssertationException on failed assertions
    8 ~" l7 p( G1 o
  1570. ; http://php.net/assert.exception
    4 u, f9 f1 o5 F3 w8 g
  1571. ;assert.exception = On' s0 ^1 `1 G& _+ V$ H
  1572. 3 R: L/ O+ F, s, K* l3 L1 `
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active): W, Y( Y; O& a% ]* m4 t; V
  1574. ; http://php.net/assert.warning
    0 N% H$ N2 V0 l0 D
  1575. ;assert.warning = On
    9 y& e; {5 D6 G

  1576. 4 ?( o- U0 X+ o( E. T; k8 P( o9 h
  1577. ; Don't bail out by default.- O  E* m$ l2 W/ n  r
  1578. ; http://php.net/assert.bail
    0 h% Q+ h- q4 w2 ~
  1579. ;assert.bail = Off% l0 y$ |9 j* {, N7 T6 s

  1580. 8 S8 _1 H2 U1 r
  1581. ; User-function to be called if an assertion fails.
    ) Q: Q+ ?3 o5 p" r- G2 r- m
  1582. ; http://php.net/assert.callback- z0 c, ^$ M( j. S0 U
  1583. ;assert.callback = 00 ~5 _: v9 m: ?' c5 j
  1584. , \% d7 ]+ M# X
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    8 `7 b2 `6 }# J5 C$ {. p4 }7 y. c" ]0 Q
  1586. ; error_reporting(0) around the eval().
    " Z/ C9 G5 x* w& ~2 c
  1587. ; http://php.net/assert.quiet-eval9 J+ P, o0 Q! G* Y/ T; V
  1588. ;assert.quiet_eval = 0
    3 |+ w6 d; J1 j- A# ~! ?1 P- I
  1589. 8 o2 S1 z/ }% P2 i+ `9 U
  1590. [COM]* r0 v6 d, a& i0 J! \, b/ i
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs/ N: N6 B* O; b- W& H8 W% y
  1592. ; http://php.net/com.typelib-file
    # B4 u0 M' ]: ^5 R& N
  1593. ;com.typelib_file =8 Z+ _+ i' v( Q6 C6 _" t

  1594. ( |) I4 Q  B" S4 p; h5 A7 T
  1595. ; allow Distributed-COM calls0 v1 Q3 j0 V1 {- a$ q
  1596. ; http://php.net/com.allow-dcom3 e* [- Z# @# x) W$ r
  1597. ;com.allow_dcom = true( U( F# ^& p6 {
  1598. 2 r, F. v/ ^: o$ \
  1599. ; autoregister constants of a components typlib on com_load()% \; q  s7 e- E. T/ G
  1600. ; http://php.net/com.autoregister-typelib
    " }, i: s: [, J, m4 u/ Q: i" i
  1601. ;com.autoregister_typelib = true
      k5 n+ B; p& b4 W& `1 e: x

  1602. ; e$ Y3 `( k2 |) Q( ]- w  \' m
  1603. ; register constants casesensitive
    - |1 ~/ ^# I5 D7 `& P
  1604. ; http://php.net/com.autoregister-casesensitive$ U3 T2 s9 f) e+ z
  1605. ;com.autoregister_casesensitive = false" K8 t  x* y1 ^3 T  l& R* x6 ]
  1606. / s9 K1 N6 ?5 D
  1607. ; show warnings on duplicate constant registrations
    * N; H  X, A  c/ G7 A
  1608. ; http://php.net/com.autoregister-verbose* D4 N! u7 @7 V; P4 Q9 Y/ \" a
  1609. ;com.autoregister_verbose = true) i( l& c( Q4 d( `* o8 K5 d1 |

  1610. 0 V  F9 V9 _  g' n
  1611. ; The default character set code-page to use when passing strings to and from COM objects.# c; @9 \; }) Z3 h. N# s
  1612. ; Default: system ANSI code page
    3 A4 ?7 |2 ~4 l! r7 @+ l
  1613. ;com.code_page=
    4 z6 b% A% X* a1 \* x
  1614. ( ^0 B# ^6 m/ ^( t" t# n. n
  1615. [mbstring]
    9 [0 i& d+ l) {9 t- C. {+ t
  1616. ; language for internal character representation.
    * W* p0 N) @; K+ Y# u) T
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    ) R3 ]. i& Z& u+ G7 W
  1618. ; http://php.net/mbstring.language  o+ X/ Y9 ?: _6 I
  1619. ;mbstring.language = Japanese
    , F1 g" {# t" h& D) {

  1620. ' d/ r- ?$ `6 j2 @! O
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.3 ]7 A$ M' _" T+ _4 N
  1622. ; internal/script encoding.) X9 ~8 ]  Q" [: l4 U5 z* s
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)) U& Y) Z, y! K) v& B
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    # a7 C* a4 l+ H5 ]1 C
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    " M' ?2 S7 f1 ]
  1626. ;mbstring.internal_encoding =) e( f# W( ~7 G) }
  1627.   n  w1 N2 z6 d
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.6 P. t) a/ M$ G' \7 R
  1629. ; http input encoding.) v8 I$ C% ]. B& ?
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    # b( P* j2 y; W+ x/ Y5 T, s
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    0 N% t# X, _, L4 B# j; m* ?
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    3 z) _( x) W' {  U( H% W6 z
  1633. ; http://php.net/mbstring.http-input
    * i. {" B& ^; K
  1634. ;mbstring.http_input =
    7 H* B6 o; O$ }& g( o* K
  1635. 8 O* v/ U0 a/ v# j5 ]# x: ]8 j
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    : p' B6 }& ?; c1 V
  1637. ; http output encoding.
    3 Z4 m% y# `! }; \% P5 [
  1638. ; mb_output_handler must be registered as output buffer to function.' u$ h2 U: B$ k1 a% N5 P2 G
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.8 ^$ X, F, G  m9 Q- V/ _5 T/ @  R  K- ]5 h
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ( t6 j( e% s4 j# v+ K, D3 }
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    : c1 A/ u0 i+ b7 F
  1642. ; otherwise output encoding conversion cannot be performed.+ k9 K# _7 `5 m1 ^
  1643. ; http://php.net/mbstring.http-output
    1 {' L5 Z. S/ {: o% P2 E: z
  1644. ;mbstring.http_output =% E/ f( H- {7 T" L0 w+ m+ ^* G, e
  1645. * S) x6 A* ]* R
  1646. ; enable automatic encoding translation according to+ c5 i: k+ G3 p8 s) u4 {! z% ]7 P
  1647. ; mbstring.internal_encoding setting. Input chars are
    5 E6 l8 W9 m* w
  1648. ; converted to internal encoding by setting this to On.
    5 b  k3 A7 `# ~2 {% m4 g) g
  1649. ; Note: Do _not_ use automatic encoding translation for
    1 @7 N- i7 i! g/ J( W% N6 s3 ^3 R
  1650. ;       portable libs/applications.7 }; {0 ^8 l" T2 N
  1651. ; http://php.net/mbstring.encoding-translation: B% n; X5 C6 _; f7 H) m  T, G
  1652. ;mbstring.encoding_translation = Off/ _+ c9 i: F. V2 E0 m

  1653. 6 d8 l! c/ `. V( q/ q4 c
  1654. ; automatic encoding detection order.
    ! x# v3 Q$ T5 Y- W+ S
  1655. ; "auto" detect order is changed according to mbstring.language
    1 N& r  a- z1 K( Y
  1656. ; http://php.net/mbstring.detect-order0 B( }4 g- g$ H& X
  1657. ;mbstring.detect_order = auto
    ! o/ @* H2 s4 Y# Z
  1658. % g2 b" O$ G$ s5 @0 y
  1659. ; substitute_character used when character cannot be converted
      ^5 _) ~% `! }* [
  1660. ; one from another
    - a, s1 g$ c: l& K% g  A. ]( f  c
  1661. ; http://php.net/mbstring.substitute-character
    3 b3 o! b, n& L- P* L
  1662. ;mbstring.substitute_character = none
    % i) x! Z; E2 m* k

  1663. ! ~2 S' _2 Q1 Z* D( R; Q# g
  1664. ; overload(replace) single byte functions by mbstring functions.! L9 Y+ m# G3 P
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    4 {/ F7 J4 G- o& P9 H7 Y- e+ q/ a: B  G
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.6 I' C, l. H  o# z! u
  1667. ; For example, 7 for overload everything.5 L( U4 \' q; f% u9 U3 {
  1668. ; 0: No overload
    7 K7 \, P4 l, d
  1669. ; 1: Overload mail() function  s7 W+ X4 ?7 h3 X4 }3 E. ?0 m
  1670. ; 2: Overload str*() functions4 E8 ~# e  B5 {2 j1 O( v
  1671. ; 4: Overload ereg*() functions
    9 F: T" n9 _! c! u# l" `5 A
  1672. ; http://php.net/mbstring.func-overload
    # W. v7 Z5 }4 P0 L# L
  1673. ;mbstring.func_overload = 0* \, K! u0 O* G
  1674. 5 S) W1 c9 j) ?  e  N) \) x. ^; Q
  1675. ; enable strict encoding detection.; O% e7 ~* g/ L6 Y: }
  1676. ; Default: Off) Z9 R( J" b, Q1 _+ w2 n' B: X
  1677. ;mbstring.strict_detection = On( k6 p- Z  q& x+ ]
  1678. 3 o& I1 W7 N' [6 n: X
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()" O6 P; ]/ ~$ p' }
  1680. ; is activated.
    + z5 A3 e) {; b7 C' q4 K
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    5 u2 H* C1 X8 }' C4 q6 v7 [& m
  1682. ;mbstring.http_output_conv_mimetype=) }' x* T) M. Y: l

  1683. - B  [* k  y+ g4 H5 m
  1684. [gd]1 ^' k* y( e. y" N3 a8 q, I
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    ; C5 k3 U& }% A2 O$ t% w
  1686. ; a gd image. The warning will then be displayed as notices
    ! J1 S% P- y" ]& m
  1687. ; disabled by default) a# k" A% O: ~. r' `8 ^
  1688. ; http://php.net/gd.jpeg-ignore-warning
    $ x7 {- a# A- G
  1689. ;gd.jpeg_ignore_warning = 00 Z# P, q5 m( |8 ^' n+ l0 c2 }6 @
  1690. " o$ t4 T3 W) }! q
  1691. [exif]
    ( q- P" G% W6 j2 Q% v
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.% `+ `; ]$ h) X9 N
  1693. ; With mbstring support this will automatically be converted into the encoding  I& b2 R* p# j" |3 Q4 o1 i
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    2 J8 W" y/ E* P! @% I" [* p
  1695. ; is used. For the decode settings you can distinguish between motorola and: H7 Y8 F, `+ R. J& c$ e/ h0 s0 }
  1696. ; intel byte order. A decode setting cannot be empty.' J+ I5 N$ ?) o6 B& }9 r: M$ L7 k
  1697. ; http://php.net/exif.encode-unicode
    ! t  y6 a; L/ S; j5 ^
  1698. ;exif.encode_unicode = ISO-8859-15
    % E1 l2 e, f( N2 M( u8 Z* k
  1699. 1 C4 h/ m" y# N- M& v& [( A/ `5 z
  1700. ; http://php.net/exif.decode-unicode-motorola5 ]. M* _5 B3 B
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    3 O& o  J0 J1 G7 J  }. F
  1702. # a9 T! s& J9 a. [$ m
  1703. ; http://php.net/exif.decode-unicode-intel- j  G! }4 j7 i: V8 i
  1704. ;exif.decode_unicode_intel    = UCS-2LE. S& i5 @7 C* C" _
  1705. 9 N- x9 A2 y& d" O8 p, E) I
  1706. ; http://php.net/exif.encode-jis3 W% F9 p2 i7 O" s) \8 b8 M
  1707. ;exif.encode_jis =
    $ G0 P+ J1 U3 y5 r
  1708. / b3 ]! P8 f7 o. i: H3 w& ?% F9 n
  1709. ; http://php.net/exif.decode-jis-motorola' ?, t8 D1 y6 F( O2 v  `# e# X
  1710. ;exif.decode_jis_motorola = JIS
    % p% a, R& c5 ]' o$ ^
  1711. 1 z* A) ~- _2 L- E. X) |3 J) c, R. c  D
  1712. ; http://php.net/exif.decode-jis-intel
    9 S* n6 v, D7 t. E2 c: D1 @% I, q( d
  1713. ;exif.decode_jis_intel    = JIS
    7 g' g9 M; V" Q! \1 O7 ?8 s
  1714. + V4 h1 d* |. ~3 Y- k5 w. r, S
  1715. [Tidy]
    6 T; Z7 z2 i/ F% a
  1716. ; The path to a default tidy configuration file to use when using tidy0 c) l% w. q) Q0 P' j) r$ Z
  1717. ; http://php.net/tidy.default-config6 M% C+ r) h2 I
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg8 u6 E" @) B8 C& I$ x9 i2 i5 Y. V3 M

  1719. - y5 U. P- W$ k8 L) K5 m& ?
  1720. ; Should tidy clean and repair output automatically?' i" S, k' L0 t& P: d( R9 E; l
  1721. ; WARNING: Do not use this option if you are generating non-html content
    & A# Z# U! v6 h3 c; W3 r4 q
  1722. ; such as dynamic images& S" K: l# o. a  l
  1723. ; http://php.net/tidy.clean-output- G, [6 F4 {. L% k' q) P
  1724. tidy.clean_output = Off8 W1 O1 C! j) x; L
  1725.   z, w! T8 o1 z3 a& ?( {
  1726. [soap]# q" L, U- v6 I; U0 e4 D  K
  1727. ; Enables or disables WSDL caching feature.. t( }# y" j) V  X9 J1 n. @% g
  1728. ; http://php.net/soap.wsdl-cache-enabled
    ( ~2 E$ E7 ?9 S. r, Z
  1729. soap.wsdl_cache_enabled=1
    9 P' p5 q! m+ r+ J: ~5 c4 r. V

  1730. 7 t- P( G/ P3 _* n1 u0 ]
  1731. ; Sets the directory name where SOAP extension will put cache files.4 X7 f& Q  u/ L$ `/ Q  @
  1732. ; http://php.net/soap.wsdl-cache-dir  U4 t7 w+ c+ V0 Q5 W
  1733. soap.wsdl_cache_dir="/tmp"* L; J; w9 Z5 x% o: V$ P0 p
  1734. 4 ]; ^: ]9 X2 t- n+ q& R
  1735. ; (time to live) Sets the number of second while cached file will be used
    $ u9 B, j) K4 ~& g
  1736. ; instead of original one.' e; o9 a, d& v# v7 ~* f
  1737. ; http://php.net/soap.wsdl-cache-ttl
    7 u' p  z; L4 w6 G" s" K- [$ \
  1738. soap.wsdl_cache_ttl=86400. c  m/ V, W8 ?  b' v/ C6 O

  1739. 5 |' ^8 C. k9 h0 z1 r
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache), f4 n' B' K7 z$ a, y. ]; h
  1741. soap.wsdl_cache_limit = 56 ~; u- D# O) @' h+ k: ~( p: _

  1742. # q( R1 i2 q1 }2 `( ]8 ~4 F. y- C
  1743. [sysvshm]
    + C2 n7 W! d$ X! m9 U7 n! p
  1744. ; A default size of the shared memory segment
    : t8 Q* |' B; L" N* w1 T
  1745. ;sysvshm.init_mem = 10000
    2 g" c: R$ ?, O: I

  1746. ( C2 B4 f, u8 a
  1747. [ldap]
    ! W1 D( ]3 Z9 n, r
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    ! {" Z5 Y7 q0 n; u" c
  1749. ldap.max_links = -19 h( }- m  B' D4 T% l8 A

  1750. ( n* ~7 v+ W4 U3 G% Q' k
  1751. [mcrypt]# v& l" d* v" f* ]
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    9 [1 z2 w3 c0 S0 y& C2 Z

  1753. 8 ]1 y/ ?) b! D& a/ y9 l. j' d
  1754. ; Directory where to load mcrypt algorithms
    9 w* X# u& ?" k. N" l5 {
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)5 K3 p  D+ j; g: {
  1756. ;mcrypt.algorithms_dir=% `' F! F' Q, v6 w/ R+ i
  1757. 9 D3 ]! {) \5 C/ @
  1758. ; Directory where to load mcrypt modes
    4 V! ~/ j. \. v, P! s* F; G
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    2 b5 [3 d9 z- b6 K8 \, @
  1760. ;mcrypt.modes_dir=' P# w* S3 `  A1 V+ G

  1761. $ [% H1 E% X& q0 |
  1762. [dba]
    3 E' j& W5 p/ n3 D5 M
  1763. ;dba.default_handler=, o. n# \( h$ g

  1764. 0 I# V$ i. ~7 b! Y! L3 |: b
  1765. [opcache]
    ) ^  Q  o# W7 `) l% K& q9 \9 w. }( H
  1766. ; Determines if Zend OPCache is enabled
    & `3 m" t! ], T4 n$ T
  1767. ;opcache.enable=0: M9 o. V- ^3 X2 R0 u6 H5 w

  1768. , h0 g# W# _' |6 _5 {
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP, r1 @& ~8 l- \; c1 Y( ~5 U/ h. f
  1770. ;opcache.enable_cli=0
    9 J& v9 ~; k0 g

  1771. ( F+ t. j+ t" t% l
  1772. ; The OPcache shared memory storage size.
    # b1 X; V2 k7 f2 J8 n6 o9 K
  1773. ;opcache.memory_consumption=64' E7 ]" Z7 c6 [& E+ I
  1774. . Q8 ^( _/ q, m8 K. ]  @/ s- A
  1775. ; The amount of memory for interned strings in Mbytes.4 V9 b  y% ?5 |( b$ n
  1776. ;opcache.interned_strings_buffer=4
    ! \$ K0 z( Q/ O! N1 r0 j9 w

  1777. * j; F" L: u4 `8 A, |5 v
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    ( M; P% y8 @+ S( c, @0 h
  1779. ; Only numbers between 200 and 1000000 are allowed.) ], g6 h; M. P; v
  1780. ;opcache.max_accelerated_files=2000$ U4 V5 J! M: h3 c

  1781. $ r  J) U0 S7 ~1 j2 h
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.: a2 }1 `% k$ k* e' H8 {& {
  1783. ;opcache.max_wasted_percentage=5. Z, X; T0 r, t. A

  1784. 7 V# s5 M2 \3 @2 R
  1785. ; When this directive is enabled, the OPcache appends the current working; `. p6 U  _/ b2 ^* O5 t0 Y
  1786. ; directory to the script key, thus eliminating possible collisions between: C6 L1 E2 i/ ]0 }8 q* U
  1787. ; files with the same name (basename). Disabling the directive improves! t% Y0 q$ E/ u: k3 v4 T* o
  1788. ; performance, but may break existing applications.
    2 p2 X5 H5 q5 E9 K- @- @! Z1 a0 @( h- G
  1789. ;opcache.use_cwd=1: Q& y0 v! Q: c1 K
  1790. / e" o: M5 h  m9 [
  1791. ; When disabled, you must reset the OPcache manually or restart the' A$ E$ h" C( V9 I) E
  1792. ; webserver for changes to the filesystem to take effect.
    : u/ i7 V$ b! S# |) u  v, ]# Z
  1793. ;opcache.validate_timestamps=1: w, q5 Z& V8 n# m) s

  1794. 7 h% ^, c0 ?* {) e" W
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    $ u! }* N9 c& V; t
  1796. ; memory storage allocation. ("1" means validate once per second, but only1 H) b' N: a' c% S
  1797. ; once per request. "0" means always validate). K! W% [9 K# f& i
  1798. ;opcache.revalidate_freq=22 I' s- }% L  [9 \9 O

  1799. . o! {4 S) w: V1 \: g; z7 A2 C4 E
  1800. ; Enables or disables file search in include_path optimization
    " N6 ^: D$ V7 |, Y
  1801. ;opcache.revalidate_path=0
    7 d% t( h# e9 F: e, G5 P3 I

  1802. ! v2 h4 x0 w3 U2 F! w
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the4 b6 d/ _- r( q3 Y- X* w* D
  1804. ; size of the optimized code.1 S/ g  t+ D) t% q+ ?# b: E
  1805. ;opcache.save_comments=15 X: X5 B# p0 j

  1806. 0 |9 w" r+ [* s/ a3 A
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code3 e9 E7 q5 z5 n4 B/ Z
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    6 N$ L3 _) w% r4 T' N- _) Z/ K3 b
  1809. ;opcache.fast_shutdown=0! G0 B, Y' c# C, d6 @8 G0 y

  1810. " r! N7 \0 Q$ N- D7 a  g& D
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    & Y4 ?) ~, {3 p6 B! J9 _7 U* J
  1812. ;opcache.enable_file_override=0
    ( Q4 y& x7 @* \# T
  1813. 1 z' t5 T. P! P0 {0 p% g4 c
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache* f0 h4 H: L% m7 p! X
  1815. ; passes& c2 c6 g  d: J5 C
  1816. ;opcache.optimization_level=0xffffffff- E6 P3 N4 J* O( D8 o

  1817. 0 W% Z# O$ q, U- ?1 }" ^8 F
  1818. ;opcache.inherited_hack=1: ^6 i" q5 i+ [! M8 C
  1819. ;opcache.dups_fix=0' }' p; G' _6 W
  1820. 4 ^  C5 z# d6 o! l( ?, y5 Y
  1821. ; The location of the OPcache blacklist file (wildcards allowed).: b5 h* ?4 W( U- X, y
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    . C( f1 ~4 j9 I  u7 o1 I1 x
  1823. ; that should not be accelerated. The file format is to add each filename5 H. w3 h  w7 r
  1824. ; to a new line. The filename may be a full path or just a file prefix
    ! p; X0 H" N; \4 a. L- q
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www3 C+ C6 G' H7 G( W. b3 k* X9 D
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ; I5 D- Q! o, e/ K3 L
  1827. ;opcache.blacklist_filename=1 Q/ g; g* [3 n# W
  1828. 5 O- R: G: z2 @& `6 r
  1829. ; Allows exclusion of large files from being cached. By default all files
    $ D6 h1 F: B2 U4 t7 j
  1830. ; are cached.6 H  |- N( z2 @( W8 d' x
  1831. ;opcache.max_file_size=0& V, N4 l" I9 Z' }! e' O$ X; \/ B

  1832. 3 n0 ?4 j) B* `
  1833. ; Check the cache checksum each N requests.
    6 U# n! `5 C, {
  1834. ; The default value of "0" means that the checks are disabled.
    % \: K8 S1 l8 J- K/ J4 i
  1835. ;opcache.consistency_checks=0
    4 e$ d" q: c: g& g( f- M

  1836.   ?2 {% `: N- q+ a
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache8 v/ w" Y. H/ O/ C2 Z
  1838. ; is not being accessed.9 L, x+ |  g8 W% o/ n
  1839. ;opcache.force_restart_timeout=180
    ) A- u2 q7 d9 g, f1 p

  1840. 9 Q* M2 `3 h2 b3 p
  1841. ; OPcache error_log file name. Empty string assumes "stderr"., g" ?" I( B8 M4 Q4 F  a# z' h
  1842. ;opcache.error_log=
    8 p1 n+ ~. U$ U( x7 G

  1843. 3 S; n2 o% C& k: ~
  1844. ; All OPcache errors go to the Web server log.
    3 t$ l! j7 F3 _# _/ E! F
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged./ s( Z( }3 g# T5 r) `
  1846. ; You can also enable warnings (level 2), info messages (level 3) or8 O% g/ d* @. f) Y
  1847. ; debug messages (level 4).7 ~+ l2 L0 w1 l; N/ R/ o; ^
  1848. ;opcache.log_verbosity_level=1
    % r* m' ]( g2 W1 j( n- `3 f
  1849. ' {* v# M7 w2 e# w' `
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    . x3 k' h  i$ x% l* R" f: f3 G9 B
  1851. ;opcache.preferred_memory_model=
    ( a/ Q, z9 e5 `4 s7 [/ \7 ]

  1852. 2 @* ^8 k) e, s( C. _% T  b1 Q
  1853. ; Protect the shared memory from unexpected writing during script execution.
    : d2 q' ]* }% a
  1854. ; Useful for internal debugging only.
    ) k  w8 c) j! [2 @1 W
  1855. ;opcache.protect_memory=0- f! t7 \  o" |- ~7 q# E
  1856. 6 t1 @) S7 u, b* f) w
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    & X% ^& v0 D6 \
  1858. ; started from specified string. The default "" means no restriction
    1 v# q1 {  B! q: i& j
  1859. ;opcache.restrict_api=3 g) S! n3 h6 ?+ o2 u" c

  1860. ; ^5 @7 Y' s8 x, H. B9 m1 c
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP' a" n3 d( o0 n' Z6 k/ Q6 I
  1862. ; processes have to map shared memory into the same address space. This
    ! A. h/ x4 x3 Q: r+ N" f
  1863. ; directive allows to manually fix the "Unable to reattach to base address"- m" t  H# f( J; m# C  s8 `
  1864. ; errors.% {0 [/ }' W) Z( s% C* W( A0 h- S
  1865. ;opcache.mmap_base=6 u) I: r' W9 k  W8 W! A
  1866. . A% i3 ^) k; P2 m. D( c$ ?- [
  1867. ; Enables and sets the second level cache directory.
    $ t5 M8 }9 v1 \0 }+ o4 h1 }
  1868. ; It should improve performance when SHM memory is full, at server restart or8 I+ E% g, M0 R7 v/ ~
  1869. ; SHM reset. The default "" disables file based caching.  |$ M/ o+ b2 C/ H
  1870. ;opcache.file_cache=
    ' K+ }1 ]' N0 _& K9 E% }, B; y/ T

  1871. 6 c0 i6 }6 J  p4 T5 \
  1872. ; Enables or disables opcode caching in shared memory.
    * W6 {( ?) r( @  K* @
  1873. ;opcache.file_cache_only=0! t9 B$ z" Q( D1 Q3 ?, K

  1874. 6 m$ f7 F9 \* [+ [- \" c
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    / I2 N- d  c$ E0 I4 m2 n
  1876. ;opcache.file_cache_consistency_checks=16 [9 V- l% f$ L: q

  1877. , \" F3 Z; Z* I. L7 z8 s& e  w: t
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
      g9 N- o9 l, T) K& ?4 G
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    2 X# S& J- V8 T3 R; K4 n- O4 Q0 Q
  1880. ; cache is required.
    ! p; |# i% o& s% \' C$ ~
  1881. ;opcache.file_cache_fallback=1
      }) z: ~  y& S5 t0 ^1 F9 r; W. I

  1882. ( `; _7 X" O  |; g
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    / v% p* s3 r& Y6 B" a4 v  c! F
  1884. ; This should improve performance, but requires appropriate OS configuration.
    4 b7 z% X% W: M. Q; L9 u- {/ w' D
  1885. ;opcache.huge_code_pages=1
    * W; O0 v$ p8 s9 Q- I6 ?
  1886. ( E, W' s1 ]! L0 T8 @. v
  1887. ; Validate cached file permissions.
    ; d6 N4 T# g4 ~. W
  1888. ; opcache.validate_permission=03 {- t9 }& t: R# t
  1889. ) c1 d+ T3 u) e6 f+ h
  1890. ; Prevent name collisions in chroot'ed environment.
    % K3 r5 @5 r& M' U! U' z# c
  1891. ; opcache.validate_root=0/ p( R, n) Q; m+ L6 b
  1892. ( A) r9 L; y4 R6 S
  1893. [curl]
    & c( S8 h8 E9 l
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ' K3 }. y; \0 A* f
  1895. ; absolute path.
    % u: w0 m6 r/ @( i4 V
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    & b, ~1 R7 w: A: L3 @( G

  1897. $ N; h3 G% V" a+ v  t4 n* n* w
  1898. [openssl]/ t6 M0 z" @' ~/ ^) I
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem9 ?3 L$ X/ w. \0 Q. t
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should4 ]  n5 @* W$ m' J% ]# t  O# a
  1901. ; not specify a value for this directive as PHP will attempt to use the
    : Y3 P6 w5 m7 M7 g% \) o4 ^
  1902. ; OS-managed cert stores in its absence. If specified, this value may still' E5 H5 ?8 C3 c/ X
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    . p+ @% ?- j0 A# t
  1904. ; option.& _+ `) p$ I- `8 R
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt9 ]# h  I# u8 e) ]
  1906. $ [; Q+ J2 L. [3 y
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the$ W" q  G, p0 c: Y6 F- z2 d9 _
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    $ ?. d/ P' {& Q1 o: Q
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    5 {. J. f2 m. w7 @# y! ^, F' _
  1910. ; Most users should not specify a value for this directive as PHP will$ f% R7 k" p. a$ v& K
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,7 }  W; ^$ F7 n" a) I9 J7 h( c. U+ f
  1912. ; this value may still be overridden on a per-stream basis via the "capath", u8 R) P) }5 J' a- q1 S
  1913. ; SSL stream context option.
      N2 m- [6 e9 i% x( X
  1914. ;openssl.capath=2 `1 |" _; `& F  J; \

  1915. 1 i+ A6 B9 V0 C, B6 `2 t
  1916. ; Local Variables:" R' d+ m# f) `7 P6 N
  1917. ; tab-width: 4% ~1 t2 t/ n$ Z5 [
  1918. ; End:
    5 @* Y- |; i7 m$ k' b

  1919. % @7 _. f+ }, ^5 X. f* g4 B* S
  1920. ;eaccelerator5 |2 w1 m. z% i" p* u/ }4 K+ z1 Y2 L
  1921. # {5 `; A+ Q( d6 |) |& A
  1922. ;ionCube
    2 q! Q, a" v4 _7 X/ T( p. s

  1923. 5 n- w/ e; d! j# ^5 d& A0 x$ \
  1924. ;opcache
    + o' t4 G  }& O/ u8 Z, R
  1925.   x  V5 |1 O! e: T/ H7 _3 K
  1926. [Zend ZendGuard Loader]6 Y. g+ C' P5 O! R4 X; o+ i
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.  o, C# B! i- A. W$ k2 U4 r
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    5 v; M/ z" Z$ T2 s9 ^2 J
  1929. ;zend_loader.enable=1$ ^' `+ F5 r. [; q- h! z
  1930. ;zend_loader.disable_licensing=0
    & O, E; P2 _. y0 I* w3 c& ~: o
  1931. ;zend_loader.obfuscation_level_support=3& Y) S  G6 N( G$ `
  1932. ;zend_loader.license_path=+ M# v% E6 H, C) G1 L1 k/ ^+ E

  1933. , E# ?- p. s) n
  1934. ;xcache
    3 c4 k5 J/ M# R2 x6 e

  1935.   y( W4 n% a* s: J. B7 M, l6 n
复制代码

' s% j+ M  W% l2 |0 ^' J+ r- ^9 e7 D. d& N0 \, q1 z1 N: e1 P( p

) Z( L* \; g' }( b" r  o& Z7 h( q  v# y* f
  K, a+ {+ |( s' u' b
" Y$ j4 a" w9 z* H  @
$ Q+ m$ [+ B7 g6 d& V5 f
PHP5.6版本原始设置$ p  v* o# g9 v* O4 l. P& z

, C" J4 Y/ u2 g$ O8 k" S' a2 w
  1. [PHP]
      ^- z  y- y2 c$ \9 O7 S0 m) ^

  2. ' p& U- m$ @) d; B5 |
  3. ;;;;;;;;;;;;;;;;;;;
    . ^$ {" A& P3 d5 }' E% f3 `
  4. ; About php.ini   ;
    0 V) O  d3 {$ p2 @1 S$ [% `
  5. ;;;;;;;;;;;;;;;;;;;
    8 j" [% G& y5 N" l1 F: [% s, h- Z' x
  6. ; PHP's initialization file, generally called php.ini, is responsible for! j, k1 c9 K3 a( L) r2 d: n
  7. ; configuring many of the aspects of PHP's behavior.
    $ S* {; @2 _! ]/ _
  8. + P% t1 `+ I7 `
  9. ; PHP attempts to find and load this configuration from a number of locations.
    , J% d  H, l3 v! p0 H
  10. ; The following is a summary of its search order:
    , ~! R% S$ ^) [  v/ a8 w8 l9 ]# d/ c" n
  11. ; 1. SAPI module specific location.
    & G4 l0 T8 x, b" ^
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    0 _, v0 ]$ a) b' }+ \
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)# l. f  K* A" v) D" F
  14. ; 4. Current working directory (except CLI)
    6 G; o* o; R( h* Y( N
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP' w& O1 N+ K  c0 ~
  16. ; (otherwise in Windows)* e& \0 @/ n1 ~1 K* Z
  17. ; 6. The directory from the --with-config-file-path compile time option, or the; l0 ^. C, x  ?  y
  18. ; Windows directory (C:\windows or C:\winnt)* v7 q) T( o2 {5 |2 `3 n! c1 U2 N1 b
  19. ; See the PHP docs for more specific information.0 }/ r$ N/ N$ w0 L1 b4 X3 |8 ~
  20. ; http://php.net/configuration.file
      w" {. Z( P6 z& }

  21.   ]1 T- J- L) ~/ W" I2 e" z
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    8 s% i; Q8 I. N$ q
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    1 w. X# X$ C' Z& k3 T% f
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though# r6 l- H) _% H( c$ N/ q
  25. ; they might mean something in the future.  w9 A, t/ K- L) k8 F0 ]* `# f

  26. % T  i& d/ s6 O$ ~' y+ _. r
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ; T$ t' A' G( w! J2 Q, ]& w
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    % j9 ^& C  D3 f# @
  29. ; following the section heading [HOST=www.example.com] only apply to; m( i+ t! F8 m; V  |& ~  I( D( E" [
  30. ; PHP files served from www.example.com.  Directives set in these, `, ^. q1 b- ~1 h% _# D
  31. ; special sections cannot be overridden by user-defined INI files or
    & o& k  y  I- ]7 k1 S, t
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under$ D9 C9 q; [6 r1 n. Y
  33. ; CGI/FastCGI.
    & I9 |& B8 c4 n
  34. ; http://php.net/ini.sections' X$ t4 Z7 ]' S- T
  35. $ D8 H# L& a" B8 ~* w# E- [
  36. ; Directives are specified using the following syntax:) g, K, k7 k; a8 g' X* @0 @6 \& Y
  37. ; directive = value
    ) A" H2 V3 ^, b" s5 U# S
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.; V% S/ E) y9 y  k/ p9 E
  39. ; Directives are variables used to configure PHP or PHP extensions.' r8 a, B% L) a5 \! S) a
  40. ; There is no name validation.  If PHP can't find an expected. g: v1 E' Q- B+ P/ @. i$ ?
  41. ; directive because it is not set or is mistyped, a default value will be used.3 Y, B5 @# o$ z* D- O

  42. 0 l+ j2 O1 i7 b9 a  e
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one3 V' ]$ ^; r. i& q9 p
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression8 k% T& }' Z$ H% r
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a3 F! c0 f' `5 v
  46. ; previously set variable or directive (e.g. ${foo})
    0 A, ]+ `% a6 h9 d7 y2 c
  47. ( [* ]! c/ \6 |, I& |3 G
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ! B- o% o: k4 G/ P3 p  A5 @
  49. ; |  bitwise OR" u3 ^/ ]* D. l5 `
  50. ; ^  bitwise XOR
    ) r* k# [* K2 [' s4 I) D
  51. ; &  bitwise AND
      x5 h+ U( r% [/ G. Q& K6 l
  52. ; ~  bitwise NOT8 j8 i6 S- n/ q% a9 z8 O
  53. ; !  boolean NOT# J7 F) a, E! ?! e: K% L

  54. # ~1 p. u$ o9 j
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.0 W& \) [% T. W' S
  56. ; They can be turned off using the values 0, Off, False or No.9 C: V9 \: m; L# z7 ]& ~
  57. * ~$ I1 q4 ~0 [  [0 j# U
  58. ; An empty string can be denoted by simply not writing anything after the equal! v- o0 i7 V2 y' |4 H
  59. ; sign, or by using the None keyword:" v3 u3 b6 ?/ D) F
  60. 9 e1 Y, F, b5 M% l+ b
  61. ;  foo =         ; sets foo to an empty string
    " D$ ~: H, d; i/ n/ n6 ~+ ^1 w
  62. ;  foo = None    ; sets foo to an empty string* ?  A% ], D$ Y
  63. ;  foo = "None"  ; sets foo to the string 'None'8 ~0 }# H( X% U

  64. * f3 S3 m4 x3 r
  65. ; If you use constants in your value, and these constants belong to a6 i  e" g6 E' W
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),3 a$ C6 z( A; u, C
  67. ; you may only use these constants *after* the line that loads the extension.7 k  r$ C" I: O; A) C4 x

  68. : U, a9 [; r3 \# q, b
  69. ;;;;;;;;;;;;;;;;;;;
    + T) J! v6 `9 a8 Q9 Q
  70. ; About this file ;
    4 [0 _& z7 K  O7 }
  71. ;;;;;;;;;;;;;;;;;;;
    2 h: F2 R# ^  [* f. a, v7 ~
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ! D$ r! ~/ {8 R& P" J2 @; }; i
  73. ; in production environments and one that is recommended to be used in
    3 _7 n" H4 v' o) `# {; b2 U
  74. ; development environments.+ O2 E# {! r( a6 Q
  75. - d( k' N( E' G
  76. ; php.ini-production contains settings which hold security, performance and
    1 C4 a* c0 Z. K) w) N
  77. ; best practices at its core. But please be aware, these settings may break! R# l" N$ B0 }3 f, C
  78. ; compatibility with older or less security conscience applications. We! e, q. p0 o( ?% D0 i. C  J
  79. ; recommending using the production ini in production and testing environments.
    ) P  O# Z2 ~/ ^) ~0 H; d- _8 F
  80. * ]7 ^  n5 v! o/ [4 X
  81. ; php.ini-development is very similar to its production variant, except it is
    , V2 T- i8 ?: v9 e6 E5 G0 S5 f/ j
  82. ; much more verbose when it comes to errors. We recommend using the
    * Y( r* [4 Z( U3 k5 L" Z+ w' Q
  83. ; development version only in development environments, as errors shown to9 _( m& |+ A) W( f* x: K9 R# i0 H
  84. ; application users can inadvertently leak otherwise secure information.; ~2 G4 J+ X8 K/ U0 H8 `& `) {1 J+ |
  85. 8 d8 |9 _4 A5 o7 X7 m3 x4 ?
  86. ; This is php.ini-production INI file.
    ; ?+ c$ s5 h" r" [1 z
  87. 3 h1 ~8 _) @% k) R# ~
  88. ;;;;;;;;;;;;;;;;;;;
    / P, r$ G! `* g8 E* w- J5 n
  89. ; Quick Reference ;- X! T8 p6 v. D) n2 h. Q$ V
  90. ;;;;;;;;;;;;;;;;;;;+ I0 }1 S7 y% j0 ~  P& |2 L
  91. ; The following are all the settings which are different in either the production6 N/ ?1 d; q& Z- F' w) [5 w
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    # E& c: y$ W( j5 Y
  93. ; Please see the actual settings later in the document for more details as to why0 S6 ?& W. U% m4 J
  94. ; we recommend these changes in PHP's behavior.: ?& s# m# s: }* ~  G$ k6 g

  95. % R9 T* I/ _# W' B/ m8 u
  96. ; display_errors- e7 G1 k) B8 j/ y6 Z
  97. ;   Default Value: On
    * D( `. u) z' S3 j0 z8 S
  98. ;   Development Value: On
    8 ?% S' r$ \  k6 {* Q
  99. ;   Production Value: Off3 M5 }$ P  w# c7 s4 {- A# \

  100. ) p# B. `7 ^7 Y. M
  101. ; display_startup_errors
    / ^3 s/ I4 q% M$ V7 e, x
  102. ;   Default Value: Off; {! n3 ~# H- r5 G
  103. ;   Development Value: On
    ; }0 j( Y/ g  x2 i5 N
  104. ;   Production Value: Off
    9 Z( @$ `7 {( E; s! a
  105. + n3 b' b/ J) l* ^1 T) l, D
  106. ; error_reporting! j! r5 i( L/ k5 O1 I4 K- |
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED9 C+ {0 N( `0 q
  108. ;   Development Value: E_ALL
    ' N0 h+ I7 I: h" f+ Y
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT1 v. K1 ]- e8 e9 v& G
  110. 9 |9 {, b/ T0 _
  111. ; html_errors
    0 K- N. w0 A5 M% T5 S/ [0 d) M
  112. ;   Default Value: On: x, h7 R, u6 r6 S, n$ X8 _
  113. ;   Development Value: On+ ]3 N/ C* o' ^2 S8 P
  114. ;   Production value: On! x7 X) I9 d8 L# Y

  115. & I: c, |- J: Z9 k8 N5 A/ e
  116. ; log_errors" O& q/ {0 O- {
  117. ;   Default Value: Off
    2 N* R  F8 g$ M; F, L8 O
  118. ;   Development Value: On: I! G8 p+ R7 w% l$ W8 M
  119. ;   Production Value: On( D- f% N4 Y6 H/ ]  j" C
  120. 4 c; W0 g) f! Z. Y/ N2 R* v
  121. ; max_input_time* G7 }# F4 |  Z+ N) u! }! Y9 w$ V% x
  122. ;   Default Value: -1 (Unlimited): k6 C* w2 X7 a
  123. ;   Development Value: 60 (60 seconds)9 N5 y1 ?4 a& I/ Q, b# }
  124. ;   Production Value: 60 (60 seconds)
    % w% W1 }; C0 H& `$ N  `
  125. 3 Y$ r  J3 P  J4 T( ]
  126. ; output_buffering7 b: {' d, x6 H, x5 J
  127. ;   Default Value: Off
    8 \' q6 X8 \2 P# V, g. P
  128. ;   Development Value: 4096
    . n5 e7 B: M) f
  129. ;   Production Value: 4096
    - B# f' H7 a& Y
  130. 2 f( d) \5 d4 J% j' {  \8 C* M. M
  131. ; register_argc_argv
    ! }; N5 a# T4 n# V" ?. c, ]
  132. ;   Default Value: On
    " b6 y7 r0 E. X# t9 K" C) P3 Y
  133. ;   Development Value: Off
    * |. Q5 \0 x" \8 _1 \9 `' l
  134. ;   Production Value: Off7 ?, o5 p9 C& z% N: ~
  135. ) g0 P5 k0 @5 w2 {
  136. ; request_order2 s. R1 z. N# F" A0 x; C
  137. ;   Default Value: None$ q  R3 I9 E. d6 N7 ]+ t6 B
  138. ;   Development Value: "GP"
    9 f( d+ g. v' I' C$ \
  139. ;   Production Value: "GP"
    ) I) H, \) c, r7 u9 D! v- w" I
  140. # E% B& C+ l  g/ O9 l* {) G
  141. ; session.gc_divisor
    ! d$ q' q3 M2 _) p
  142. ;   Default Value: 100
    ) o: |3 m0 r( L" O# \3 F! P
  143. ;   Development Value: 1000& E! k- a" P2 L4 W! T3 ~7 w
  144. ;   Production Value: 1000* Q/ y, g% e- S: B/ r/ R
  145. + G. k9 g3 E1 @1 @" o# C
  146. ; session.hash_bits_per_character- P+ a. L; x* j6 N4 r2 A6 K
  147. ;   Default Value: 43 o/ a& A/ X) Q5 W& I
  148. ;   Development Value: 5
    9 M0 y# C, \( L% V( _* d5 P2 M
  149. ;   Production Value: 5
    8 |, f9 V8 r. B# f2 v( {7 l5 O1 n

  150. . {  s' U+ z% e8 F$ I- Q
  151. ; short_open_tag: [- P) S5 ]) U. O
  152. ;   Default Value: On; C* x0 ]) N- H) p1 q5 I, |
  153. ;   Development Value: Off+ D- J; A4 ~, z& Q: W
  154. ;   Production Value: Off, G8 y2 e/ _9 V9 j
  155. * i' k$ H( Z4 K# }8 ^* j
  156. ; track_errors6 E. e/ v+ @. C5 A: i7 i
  157. ;   Default Value: Off* b: \/ p+ l( u& m
  158. ;   Development Value: On: C- Y' t9 F3 u4 ~# k. U
  159. ;   Production Value: Off
    6 S7 ~1 n9 D/ i& m5 m( j; @* B

  160. . ?1 `) ], }- k/ e; W& c
  161. ; url_rewriter.tags$ n- w, E; P/ r$ h, y( j2 D5 m. p
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="6 \6 m1 c; ~8 Y- X$ w7 s: H
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 ^+ x4 E) ], L- O
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; K: K0 S3 ?8 l9 ^) `* z" u

  165. 0 [' S+ b/ w2 S) q1 D$ R' z
  166. ; variables_order/ n0 ~  x7 M- S
  167. ;   Default Value: "EGPCS"3 E8 F$ a; o( a8 S
  168. ;   Development Value: "GPCS"
    . k# d6 r/ D3 D% F) A
  169. ;   Production Value: "GPCS"
    $ m2 A! t" K3 r% y; r6 B% q, s* C2 I
  170. ' }# j7 c* F# W/ k
  171. ;;;;;;;;;;;;;;;;;;;;" R# @# ~( j, m4 ~* V
  172. ; php.ini Options  ;
    $ s6 M! a3 P2 \; ?) b. q" X' g
  173. ;;;;;;;;;;;;;;;;;;;;
    ; h6 x* y! T; V* w- l
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    % _, j& N  Z0 w1 y6 y
  175. ;user_ini.filename = ".user.ini"
    . d9 r( |2 B, I4 U; U4 z0 \4 ?
  176. 1 ^) s4 |4 W: r& b( p- B0 r
  177. ; To disable this feature set this option to empty value7 L$ J4 v$ _! K& q
  178. ;user_ini.filename =
    3 u2 N3 X/ e& [5 @+ b+ D$ Z& }$ }
  179. + h. `/ V5 `+ N
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    " c) F/ ?7 Y5 R+ N5 r
  181. ;user_ini.cache_ttl = 3003 m$ |8 S( y  L

  182. ! o' {* K9 i: j7 J( ~
  183. ;;;;;;;;;;;;;;;;;;;;/ ]" I. ]3 Q6 s8 x9 z6 J" V
  184. ; Language Options ;; N' o9 V) S( M! a6 D) `
  185. ;;;;;;;;;;;;;;;;;;;;, e" A  [( a4 f, A7 o0 F

  186. 4 R0 e$ {! i) x7 ^4 e( K
  187. ; Enable the PHP scripting language engine under Apache.
    * o4 P' [! s* C' l
  188. ; http://php.net/engine5 s: w$ f3 e  a
  189. engine = On
    - V0 X" [: r. r7 m. G( M! g

  190. 9 V1 R* L% I# _$ W, h7 b
  191. ; This directive determines whether or not PHP will recognize code between
    9 Q! X4 K  \" x5 ]5 Y' n: h, m
  192. ; <? and ?> tags as PHP source which should be processed as such. It is  ]+ t& a0 x. |7 I* Q! f
  193. ; generally recommended that <?php and ?> should be used and that this feature; ^* T6 p5 ]" r; X
  194. ; should be disabled, as enabling it may result in issues when generating XML$ F7 [" ]3 M; X& P1 [! F$ N
  195. ; documents, however this remains supported for backward compatibility reasons.
    3 v+ g& \, k" l- e7 S8 |" P1 [1 n" ]0 Z
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    5 Q% P: H* L' d4 _6 i0 J
  197. ; used regardless of this directive.$ {4 N. l$ {/ L5 O7 j# l% i& Z
  198. ; Default Value: On" W  k4 t9 `5 o# q& i2 A
  199. ; Development Value: Off
    % w* L4 w7 z2 K: [5 g8 A* b/ i
  200. ; Production Value: Off. J  N% H" B5 g2 x
  201. ; http://php.net/short-open-tag
    ; H# p7 s! _& \8 t& c  g5 q" K
  202. short_open_tag = On
    5 z% S8 L3 x5 n

  203. 4 [8 U3 P0 ]8 J9 i
  204. ; Allow ASP-style <% %> tags.  \/ x, P) w* C8 x: T8 ?
  205. ; http://php.net/asp-tags9 J& V# W' i: v: F
  206. asp_tags = Off
    : u8 k" `) G7 K0 l3 h, `

  207. 6 S; m: N/ x1 L. X& m* m, Q4 O
  208. ; The number of significant digits displayed in floating point numbers.$ E5 C! a3 @$ I& l, u2 V
  209. ; http://php.net/precision
    8 X+ W: I# K' }7 q. \9 L) C" @
  210. precision = 14# I6 b9 l' Q2 o  U* e1 M

  211. ) l+ d. C1 T+ B# K9 c1 c
  212. ; Output buffering is a mechanism for controlling how much output data( `* u: f7 p$ o! m# w4 \* M3 t
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    , [( X5 R5 ?& p' g4 F! ~; y$ g
  214. ; data to the client. If your application's output exceeds this setting, PHP- K. r, n0 x% d! b8 j! c! Y) f1 R
  215. ; will send that data in chunks of roughly the size you specify.# p0 q  u+ M. l
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    3 Y6 B' j$ u) b6 {' V
  217. ; interesting side-effects depending on your application and web server.! u0 u6 R- R- [
  218. ; You may be able to send headers and cookies after you've already sent output
    , s( C/ T% F, c& n+ Z$ ~" D
  219. ; through print or echo. You also may see performance benefits if your server is$ G* o3 J% B, n
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    3 T- x) \- [- @
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    , [. d1 J' m- o' C7 e7 a" I, J- ^+ n
  222. ; reasons.
    - @- ~! _) S# Q0 d) ?3 h# R
  223. ; Note: Output buffering can also be controlled via Output Buffering Control4 _! H1 ]1 q/ V3 x" E4 [
  224. ;   functions.
    $ ^# e9 v& Z5 M1 U& l9 @
  225. ; Possible Values:
    8 B4 @2 m+ l1 N
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    6 |+ T" l" x7 L+ O  \; _
  227. ;   Off = Disabled
    & D7 h6 w; V" y( y- S# G' t6 _
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.) x+ u5 f1 Z. K" ^  ?* U; Y+ a) A
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI/ G8 \7 d  }- \+ W  o" z
  230. ; Default Value: Off
    ' ~! K$ ?& u, \1 T: g8 y% }' _, b
  231. ; Development Value: 4096
      J  i7 ~: F; w! q1 Q# J
  232. ; Production Value: 4096, [! i! o3 J) q9 c2 W* q. r) l
  233. ; http://php.net/output-buffering
    . j2 \$ G2 D5 }
  234. output_buffering = 4096  j  W' Z" V$ \

  235. * ?4 n5 i+ ]4 I
  236. ; You can redirect all of the output of your scripts to a function.  For% x  G- @  L( g5 p* ?1 v3 t4 ^
  237. ; example, if you set output_handler to "mb_output_handler", character3 W$ p5 `& f) z4 P
  238. ; encoding will be transparently converted to the specified encoding.# u+ R( a5 ~- T1 B4 F3 T
  239. ; Setting any output handler automatically turns on output buffering.
    ! q8 M) Z2 \: [" l; g9 m
  240. ; Note: People who wrote portable scripts should not depend on this ini# g: _8 [8 o6 q7 V
  241. ;   directive. Instead, explicitly set the output handler using ob_start().4 c, m3 o  _2 B7 h) |- Y7 F
  242. ;   Using this ini directive may cause problems unless you know what script
    8 a. b& _6 m$ ^8 D; o0 l
  243. ;   is doing.
    0 |* A6 D' I, Q! H" r- w' q
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler". ]: L- ~! }" {) v4 _
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".2 L! F7 _+ m4 Y  ~- [$ L
  246. ; Note: output_handler must be empty if this is set 'On' !!!!4 D0 ^* l: b* ~* s. |) W
  247. ;   Instead you must use zlib.output_handler.
    - V  p# w2 E( I- i9 j
  248. ; http://php.net/output-handler
    3 n3 o& _$ a. J# ?% d% h! ^% f
  249. ;output_handler =
    ( u$ E, u# N7 A4 m$ C. F, _
  250. 1 S0 ?5 C9 I- l
  251. ; Transparent output compression using the zlib library
    - e% t1 ?. t7 }! l7 M, ]
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    3 k! p6 f# v* M/ Z, h: S* b
  253. ; to be used for compression (default is 4KB)
    ; o+ z; N4 A/ T5 j& p; n
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ! J) W! m2 t9 f  l/ Y. ^
  255. ;   outputs chunks that are few hundreds bytes each as a result of. r0 ~4 F, }$ h7 a6 a( p7 K
  256. ;   compression. If you prefer a larger chunk size for better6 ]# d" r. w9 t' m! |) [
  257. ;   performance, enable output_buffering in addition.
    2 J- g# D# f6 a; Y
  258. ; Note: You need to use zlib.output_handler instead of the standard
    $ m' `. t4 ?) Q0 F; J# Q
  259. ;   output_handler, or otherwise the output will be corrupted.
    8 J6 N3 N3 ]. y8 t: `8 e- h
  260. ; http://php.net/zlib.output-compression$ R9 C& I1 ]2 d& U+ e9 X+ \, V
  261. zlib.output_compression = Off/ I& F# p0 e- ?6 M; c
  262. 0 K! M/ T# t& L2 F% K* Y! q
  263. ; http://php.net/zlib.output-compression-level
    4 `6 ?$ b+ `, O
  264. ;zlib.output_compression_level = -1
    ' t4 I! I% w8 ^, @! M8 h

  265. ' H: _  F% G# }1 Z& d7 e" u3 a
  266. ; You cannot specify additional output handlers if zlib.output_compression* h6 j0 D1 q8 C8 B! {
  267. ; is activated here. This setting does the same as output_handler but in/ P2 g! I; S5 l" \3 c" z+ g0 L
  268. ; a different order.. t- Z6 X) g9 G! m! p
  269. ; http://php.net/zlib.output-handler
    % ?+ }$ ]% w$ ^9 ]5 B4 K
  270. ;zlib.output_handler =
      S* I; o+ _. Z+ j
  271. - J! z; I* b3 t4 b
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    8 _) g- N" R9 M1 S4 V: J1 s/ |* M6 Y
  273. ; automatically after every output block.  This is equivalent to calling the2 A) ^9 U$ v) o$ w% Q
  274. ; PHP function flush() after each and every call to print() or echo() and each
    / p+ W6 P. G* W! z
  275. ; and every HTML block.  Turning this option on has serious performance
    " f. K8 ^$ Z4 t# M, Y& M, Y
  276. ; implications and is generally recommended for debugging purposes only.+ d$ W: j; t6 g' L/ O* {+ w* s" A
  277. ; http://php.net/implicit-flush
    - s. F1 F1 M2 w( p) o: t$ i
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    , p5 b- X* P' B2 J! _6 h9 q
  279. implicit_flush = Off' ?) @5 M! b- _5 T3 Y: w
  280. $ v: M# Q, n5 ~
  281. ; The unserialize callback function will be called (with the undefined class', S0 h/ F$ o4 N4 \
  282. ; name as parameter), if the unserializer finds an undefined class, n) D! o( @! J' v! j0 ?/ r
  283. ; which should be instantiated. A warning appears if the specified function is
    : P5 n% s4 m6 k; c& [5 n6 z
  284. ; not defined, or if the function doesn't include/implement the missing class./ J' j; |: }- L3 B; v6 q
  285. ; So only set this entry, if you really want to implement such a, d# P7 |- f8 Z4 {% U" a
  286. ; callback-function.
    3 u, }& b4 z4 i3 ^' A: |
  287. unserialize_callback_func =. {" w6 y: q) g) P+ `4 ~9 b- G
  288. 0 `( o( t; I  ?3 i5 x- o
  289. ; When floats & doubles are serialized store serialize_precision significant
    + Z4 {; l3 n/ W) R" V% o# z# G
  290. ; digits after the floating point. The default value ensures that when floats
    ' d9 [0 T9 J; a  r+ N
  291. ; are decoded with unserialize, the data will remain the same.
    * S1 z  z! C( c2 I% N8 [; {* G
  292. serialize_precision = 17% y; |' v7 Q0 s! L7 h
  293. " s8 A" s3 [& H( a- q
  294. ; open_basedir, if set, limits all file operations to the defined directory; T$ K2 _7 U+ c+ ]: y/ U
  295. ; and below.  This directive makes most sense if used in a per-directory" L! G0 X* |9 a9 M* ]) s5 j
  296. ; or per-virtualhost web server configuration file.7 b5 t, H. h: j! E( h) a
  297. ; http://php.net/open-basedir% `3 `" q% }- @/ c9 k
  298. ;open_basedir =
    % G9 b* l" w$ {

  299. 1 @' G; F( @/ e/ R& U% ^- B$ F! Y% c
  300. ; This directive allows you to disable certain functions for security reasons.( c  P) J! I' j
  301. ; It receives a comma-delimited list of function names.+ O; k/ V: R5 X+ X! \
  302. ; http://php.net/disable-functions% ?( S4 ]! d, G8 X0 {+ Y& W
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    7 d+ Q$ B4 s5 A4 }( F; ]; j% d

  304. 5 ~* B  W" ^0 m. {$ [5 E  M) j7 U; q
  305. ; This directive allows you to disable certain classes for security reasons.4 q/ g9 h9 y1 J  ]; ]9 `0 i7 ~
  306. ; It receives a comma-delimited list of class names.
    $ J! D. q3 O+ B( T4 Y
  307. ; http://php.net/disable-classes9 P& o+ |0 L: O7 M9 u
  308. disable_classes =% J  l+ j% q8 G, M& h
  309. 8 m6 V8 ?$ X( b1 u: u$ ^
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ! z5 O1 F  A; o9 s( g
  311. ; <span style="color: ???????"> would work.$ q: B  g+ ]" w' f. y
  312. ; http://php.net/syntax-highlighting
    " O( N+ V1 _/ t; V- ^% p2 R3 L
  313. ;highlight.string  = #DD0000" k8 c2 c: |1 Z: m
  314. ;highlight.comment = #FF9900
    " C% n4 W5 k5 o9 @" M; J
  315. ;highlight.keyword = #007700
    $ H! a, E" `* D) j- l/ ~! B/ Z
  316. ;highlight.default = #0000BB
    $ D" r& b' u) l( o
  317. ;highlight.html    = #000000
    8 j" E. R$ e- J6 b& E
  318. & q9 B& _( L. ~  R5 ]: n8 w6 B
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    . s- G0 a0 L2 I4 y! I$ E9 c$ L
  320. ; the request. Consider enabling it if executing long requests, which may end up0 s- d* D# N, z2 t0 z
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior4 c3 \# x  _* z# O- f
  322. ; is to disable this feature.$ G6 w* L4 w' c, S' [
  323. ; http://php.net/ignore-user-abort
    , q8 s% r, n& i% u+ F0 s8 R4 h
  324. ;ignore_user_abort = On
    - @" I% {5 _# {

  325. 6 `; F; J- a* O/ `% w
  326. ; Determines the size of the realpath cache to be used by PHP. This value should. ]& V0 w' _% U5 N3 t4 c
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    ( w, R& I2 {; @. b- f- k
  328. ; the file operations performed.
    ) d& a' j' X  W) [
  329. ; http://php.net/realpath-cache-size$ D: |7 k# s) p0 a7 ^) Q
  330. ;realpath_cache_size = 16k/ M) E" ]8 o5 a6 o% \6 p' f

  331. 6 [, E+ C  V1 ]7 D$ @4 c& |
  332. ; Duration of time, in seconds for which to cache realpath information for a given8 N! P6 A! F6 G' a
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    1 ]) l$ c5 |4 u1 I+ o
  334. ; value./ `- T/ [' z5 q6 \, J% e  }
  335. ; http://php.net/realpath-cache-ttl* A* n2 e, N; p" C8 |
  336. ;realpath_cache_ttl = 120( E% U; T1 b( `9 z+ C

  337. + F4 @: T& j: C; u* a+ t2 h- j. D- p& R
  338. ; Enables or disables the circular reference collector.
    ' ^. [# t/ O4 ^0 \" _$ l0 t, }6 Y
  339. ; http://php.net/zend.enable-gc* g6 i8 p* a" V( X
  340. zend.enable_gc = On. ]. S' k% @% @; d
  341. * t5 i1 ^! x% Q) p
  342. ; If enabled, scripts may be written in encodings that are incompatible with0 L2 n& b- T/ b
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such5 i/ o  ?9 h* W
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    3 q0 ^' R7 h# B2 c! V# I
  345. ; Default: Off% E, x2 o: i( r1 ^8 |
  346. ;zend.multibyte = Off
    + S9 l" B  w6 g* F$ q
  347. % A2 c+ z1 B- [
  348. ; Allows to set the default encoding for the scripts.  This value will be used% F; {. X$ J& a
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.% s2 g  \& `1 F" b
  350. ; Only affects if zend.multibyte is set.
    7 t, e. q  g# n9 L( N; h
  351. ; Default: ""3 x5 u+ s# h6 G5 G0 a" W
  352. ;zend.script_encoding =6 A* X! v( b' l9 B+ ^/ U
  353. ' P) c# e0 f1 \1 C% h
  354. ;;;;;;;;;;;;;;;;;$ k  |, _5 g8 A# m0 m8 C5 ?
  355. ; Miscellaneous ;4 G! w1 s5 v$ ^  n
  356. ;;;;;;;;;;;;;;;;;
    0 V8 u: S6 V' S$ h$ J* i" H
  357. , K. `) p8 [2 d
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    0 u2 g! U. d; D
  359. ; (e.g. by adding its signature to the Web server header).  It is no security, n" K8 L# r0 L' ~4 H$ ]
  360. ; threat in any way, but it makes it possible to determine whether you use PHP' `7 r5 }. ^5 Q1 i. U+ M
  361. ; on your server or not.; ^; `) n0 K% ~5 I  q
  362. ; http://php.net/expose-php
    ' }  K/ F# y4 d6 _; x* a) B
  363. expose_php = On
    + a$ w2 @: o2 M7 y% u' O0 e5 e, P
  364. 3 W1 T1 e/ y' v+ O  Q% i) r
  365. ;;;;;;;;;;;;;;;;;;;
    - H: S2 P1 d8 R& P
  366. ; Resource Limits ;* q$ ]7 R* ?6 v1 o6 J+ M' h" ?0 o
  367. ;;;;;;;;;;;;;;;;;;;
    ' x9 V, a, O* {* K' g0 K' k& @

  368. 2 w! S- d& p0 {6 u! G% y: ^
  369. ; Maximum execution time of each script, in seconds
    & y$ ^- X' O/ j
  370. ; http://php.net/max-execution-time0 o" e% ?- B7 ~+ }7 V
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI) ?0 w9 t( D3 W* U
  372. max_execution_time = 300% I5 D' `3 E. p- L/ h" u# e0 l

  373. ) B1 _7 T+ r( g; p) D
  374. ; Maximum amount of time each script may spend parsing request data. It's a good& o" U, ^- k; M* f' z
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    $ O. v, H& H) U& o, Q1 e
  376. ; long running scripts.
    1 a$ e7 K( n5 c- p
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI! F- N, o8 d: f4 [  a! H2 n
  378. ; Default Value: -1 (Unlimited)
    4 Z' [  z; d% G0 R- f* u8 [0 M
  379. ; Development Value: 60 (60 seconds)3 ?) _# W$ i+ G1 R) h
  380. ; Production Value: 60 (60 seconds)
    ; Q  d- F" q$ S! j' @
  381. ; http://php.net/max-input-time
    - G& [7 b4 [2 x7 i/ @: t% d
  382. max_input_time = 60% ^' T/ z+ J1 V; `0 m1 y# R, j
  383. ! f# Y3 z0 _9 p/ o8 F
  384. ; Maximum input variable nesting level" v) Q, ?% E1 E! ?# g1 d
  385. ; http://php.net/max-input-nesting-level( J( Y3 n" b& q! k' C- E6 o
  386. ;max_input_nesting_level = 648 E& i6 o% m+ l7 \* L$ O8 X
  387. 8 F9 s4 Y/ ~+ Q# m3 X+ _/ t
  388. ; How many GET/POST/COOKIE input variables may be accepted) d& o6 J* B+ }( j
  389. ; max_input_vars = 1000  ~: X# }- b# R7 f

  390. 9 \( g' x5 N* c) |: v- o
  391. ; Maximum amount of memory a script may consume (128MB)! z& |& z, U* ~2 C
  392. ; http://php.net/memory-limit
    ) h9 C3 ^; U3 `2 u
  393. memory_limit = 128M
    + q8 C. P& M4 p3 t
  394. 3 B# _' ^* t4 r' O7 S! j
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    . J( z4 X0 ]9 ^0 c, k5 O  |. s
  396. ; Error handling and logging ;
    5 d% P. M: A# Y. g, \$ ~- j0 Y
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;# V3 k' k9 e( Z
  398.   ?, ^. F) [$ H3 K
  399. ; This directive informs PHP of which errors, warnings and notices you would like( I) z, J! Q% t5 Q
  400. ; it to take action for. The recommended way of setting values for this8 }2 T/ A: |8 S  a) K  M
  401. ; directive is through the use of the error level constants and bitwise. d+ Q/ M7 f0 f& K
  402. ; operators. The error level constants are below here for convenience as well as
    8 |) w+ P5 Q5 K$ ]) a' U0 b" g: A
  403. ; some common settings and their meanings.1 ?6 O  X& s# @0 d% \" |* `
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    * v. @& K4 {/ q0 I% {8 Z
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    - @; `2 m* D: d) G) P& K
  406. ; recommended coding standards in PHP. For performance reasons, this is the' {6 b4 U) p2 R
  407. ; recommend error reporting setting. Your production server shouldn't be wasting; Q/ _1 j2 S; p' K8 N
  408. ; resources complaining about best practices and coding standards. That's what% L1 S# U  W: }+ ~0 z8 l2 n
  409. ; development servers and development settings are for.3 m- {3 a; E1 V$ t
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    0 {* f' @, x; G. j6 r
  411. ; means it pretty much reports everything which is exactly what you want during; ^% \0 @, u) B# F* B
  412. ; development and early testing.$ q  [+ _# M' |$ s9 t- i
  413. ;
    3 V, G" P0 N* T$ F: w
  414. ; Error Level Constants:3 t4 Z! g0 u- |% r2 a/ m
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    3 o/ R. Z- N+ J* T0 I- d
  416. ; E_ERROR           - fatal run-time errors$ M( I4 u# ]+ s+ {
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors5 O$ P. \0 Y3 X- @" I. L
  418. ; E_WARNING         - run-time warnings (non-fatal errors)% T& \+ H6 d7 n2 L. p3 l
  419. ; E_PARSE           - compile-time parse errors
    1 I4 \" M' c" F1 T
  420. ; E_NOTICE          - run-time notices (these are warnings which often result$ L$ g9 _) U8 H0 `
  421. ;                     from a bug in your code, but it's possible that it was
    3 }+ _1 H7 w1 V: M- @" n( g
  422. ;                     intentional (e.g., using an uninitialized variable and6 ?7 |! s5 E, S. B, W7 D7 _
  423. ;                     relying on the fact it is automatically initialized to an. i2 J( S: F1 J3 W, m* n
  424. ;                     empty string)
    3 C2 M: R- g0 |, `
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    : s% A3 B1 @- r0 [
  426. ;                     to your code which will ensure the best interoperability
    + A5 w" O/ a+ }+ O+ _
  427. ;                     and forward compatibility of your code* |: s& [- w/ K1 N
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    1 r" U- f  U9 E6 E' G
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's6 a/ F0 B, k2 f0 U, {
  430. ;                     initial startup2 V6 O$ t; s* y% G; x, ^
  431. ; E_COMPILE_ERROR   - fatal compile-time errors1 P; f: B+ |8 X- }) O* j
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)- y0 n* q7 b/ B3 Y
  433. ; E_USER_ERROR      - user-generated error message
    % H( e- t2 g% b% J6 ~& j
  434. ; E_USER_WARNING    - user-generated warning message
    # p- y2 K/ y- a3 |& H2 j
  435. ; E_USER_NOTICE     - user-generated notice message, s1 D) a1 ?- c  [
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    : Y& Q+ W. G7 d5 U( u4 K/ s
  437. ;                     of PHP
    7 v; S+ L7 O6 X' ?
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings% J* d/ J2 M' |  O. ~) w
  439. ;
    ! I2 c/ ^6 N( {& H( d5 G
  440. ; Common Values:
    * u  D/ D# g0 E5 h* w' T3 \
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ( J" W- z! q# q( [% U3 h0 x' N
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    : {: v- _8 }9 J5 c
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    4 M% h, M, c, r, n
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    , S, S2 o) I8 F  ~6 F* f- y% i
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    0 @, m" }2 D: _* |
  446. ; Development Value: E_ALL
    ( k% |# Z# ?$ q! P. D
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    7 j& J- _' a6 d+ k: ]4 X+ Q% \3 s
  448. ; http://php.net/error-reporting
    ' x( I' T: T# T* D. k5 N- T0 ^
  449. error_reporting = E_ALL & ~E_NOTICE. b6 ?6 Z: o( A9 e
  450. 9 \! M6 V4 q. J* ?
  451. ; This directive controls whether or not and where PHP will output errors,
    # |" e2 {: z: _, |. o5 N
  452. ; notices and warnings too. Error output is very useful during development, but; z5 D. ]* S$ {: Q9 v; F
  453. ; it could be very dangerous in production environments. Depending on the code
    4 [. Y: I+ n: F, |- q$ f. ?- H
  454. ; which is triggering the error, sensitive information could potentially leak
    3 b3 L8 }7 W& R' s3 r0 X/ A" f
  455. ; out of your application such as database usernames and passwords or worse.; v; N+ T' H) x
  456. ; For production environments, we recommend logging errors rather than, M/ z, e/ z7 [5 ^* |. j
  457. ; sending them to STDOUT.! n  u! G: [; n& {1 `1 |
  458. ; Possible Values:
    3 Y+ T7 a8 z- F2 J0 G) W
  459. ;   Off = Do not display any errors/ B' j/ {) L% H! w- F  H& r
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    4 b, I9 N  ]6 |0 C: Z
  461. ;   On or stdout = Display errors to STDOUT
    3 V( o* s) L3 v- X) Q$ w
  462. ; Default Value: On! ^, ^* \7 n0 A
  463. ; Development Value: On$ u% c7 u/ u  y1 \
  464. ; Production Value: Off9 d9 t. b2 y) C! m
  465. ; http://php.net/display-errors
    8 q2 f2 V3 J: z
  466. display_errors = On+ X' K+ a. E0 l: a$ ?8 i

  467. ! x* j* Z! p; ^! s, W$ P5 I4 b* M
  468. ; The display of errors which occur during PHP's startup sequence are handled& R$ a! _6 w& V7 B% s# Z! {. Q
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    # y5 w; H* `/ B- j
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    0 @" Z& ?7 J, _
  471. ; debugging configuration problems. We strongly recommend you
    2 q+ d( U$ ~! y
  472. ; set this to 'off' for production servers.! M2 D1 b9 v  ^2 X$ L5 ]$ p
  473. ; Default Value: Off; \3 k# a# t, |& p/ [
  474. ; Development Value: On
    6 u8 ?4 S% _5 M
  475. ; Production Value: Off4 [# E' I: h; _8 i
  476. ; http://php.net/display-startup-errors
    2 @7 M5 A8 |% t) D" E  H5 r
  477. display_startup_errors = Off
    , m! c) k; z, L! W2 D- c+ t

  478. 3 c, `. i4 E( W9 G
  479. ; Besides displaying errors, PHP can also log errors to locations such as a2 T7 ]( ]8 }# V! @8 D4 W( w
  480. ; server-specific log, STDERR, or a location specified by the error_log
    7 F' ^3 K1 k( h2 H, o3 j4 ?( @
  481. ; directive found below. While errors should not be displayed on productions$ q2 U  T# K# }1 \3 ?+ j
  482. ; servers they should still be monitored and logging is a great way to do that.! Q6 R% T* f( j0 m- Y$ `6 i2 O5 i
  483. ; Default Value: Off+ w6 h  _8 p! S. c
  484. ; Development Value: On) `, u6 L0 U) c6 [0 V
  485. ; Production Value: On
    . Y* p& Z( D8 x1 A4 u' j: U
  486. ; http://php.net/log-errors
    ' G8 G( I6 q2 Q9 j/ R+ V; Z
  487. log_errors = On* @6 m( r" W! ~; `
  488. ( P' ~. Q7 ]- B# C; [' {
  489. ; Set maximum length of log_errors. In error_log information about the source is
    * o3 `$ n. }3 f! f: U( G; V
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.4 J# h  p; m8 H& ]
  491. ; http://php.net/log-errors-max-len
    6 E, h4 }$ K+ S" U  o! T
  492. log_errors_max_len = 1024
    1 W1 h' C. u4 ~5 V) o

  493. $ a* x8 a2 p7 h& c& k# N
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    , m6 X4 p* ]+ d( T# c$ K2 [1 ]
  495. ; line unless ignore_repeated_source is set true., [; S# L9 C6 ^, u
  496. ; http://php.net/ignore-repeated-errors- N8 Z; m4 V2 y' m9 }) [9 a0 F, P5 A
  497. ignore_repeated_errors = Off
    - g7 R4 U; P4 X, h% l. R

  498. 9 B/ `9 F- U5 `* B' y+ `
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    . M- i7 L1 H2 E. b8 W  Z: C! o
  500. ; is On you will not log errors with repeated messages from different files or
      Y$ ~* d# b, l2 S- ?" P
  501. ; source lines.
    ! r1 G; _! _, k/ R) f4 p
  502. ; http://php.net/ignore-repeated-source* p" ~0 w3 B/ S7 m
  503. ignore_repeated_source = Off6 `* X1 W0 l" z4 I

  504. ) D+ f, j) l2 q7 g( u
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    : L$ d: ~" t5 w8 s" u
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    5 l" y. y' g2 A# @+ m8 g
  507. ; error reporting includes E_WARNING in the allowed list
    ) B' |- v% y2 B9 M* M9 w) Z
  508. ; http://php.net/report-memleaks
    ; Q- y% n* d/ T
  509. report_memleaks = On
    8 d1 }  `9 p, w* k
  510. ) W9 N5 b" W) L$ ?$ J* j6 {
  511. ; This setting is on by default.
    + Q% c, d1 |0 n
  512. ;report_zend_debug = 0
    * F2 T1 r' y8 f

  513. / d4 s/ D5 j' f
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    " s% m% `: y' ~) s( M% @
  515. ; to On can assist in debugging and is appropriate for development servers. It should5 V, h. A1 h1 ?9 G
  516. ; however be disabled on production servers.
    7 ]$ w- `0 ]- ]6 N) I5 l- s0 e
  517. ; Default Value: Off
    # o+ q/ N, a6 N+ M1 F) P, b
  518. ; Development Value: On
    : k8 t; X0 m4 f6 X
  519. ; Production Value: Off
    . ?1 _& q: Q2 w' c$ B
  520. ; http://php.net/track-errors
    6 r' q+ |4 _  ~, i) {: C9 W1 N
  521. track_errors = Off
    . d1 \8 A# \# a; f- D3 T/ u3 H1 T

  522. + X/ f( e( l: g8 V  V  d, T
  523. ; Turn off normal error reporting and emit XML-RPC error XML; m$ {4 i1 z" }9 R. m+ p
  524. ; http://php.net/xmlrpc-errors
    0 J) G, s( X/ U3 @* X) g# K2 [5 a+ V
  525. ;xmlrpc_errors = 0) n  M! L5 l3 E* f
  526. ) V2 c3 P. v8 B- S  e
  527. ; An XML-RPC faultCode6 C4 ?7 Y+ r' D
  528. ;xmlrpc_error_number = 0
    $ A- I% D- S8 c* J$ B* t5 Q9 b
  529. & k5 Y5 e( z8 |
  530. ; When PHP displays or logs an error, it has the capability of formatting the# W% @8 n  J& O" Y# r/ K
  531. ; error message as HTML for easier reading. This directive controls whether1 K  _+ F+ ^& o3 o% E
  532. ; the error message is formatted as HTML or not.
    ' y9 I6 d, M( f- b; H. c
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    # U& {# Q1 M1 S" j7 i: D+ Q
  534. ; Default Value: On7 |& h/ g9 B- m# x
  535. ; Development Value: On. ]; x8 b: X5 _, e% y
  536. ; Production value: On
    3 w* l0 l5 `) z4 |  _
  537. ; http://php.net/html-errors
    ) D8 f. Z. ]" b. r" V8 ]/ T) ]
  538. html_errors = On6 ~* \* I, g! }
  539. 4 P( e& P2 s3 f! R
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP$ A8 ^5 t" |- r  t
  541. ; produces clickable error messages that direct to a page describing the error
    8 d7 m5 o/ Z% v& t
  542. ; or function causing the error in detail.
    , A  ?7 F) ]2 L% B+ b
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    1 t% U$ Q4 r: f# I0 d5 x% b- y" c
  544. ; and change docref_root to the base URL of your local copy including the) D& Q) B! R0 _- b& u. C. W
  545. ; leading '/'. You must also specify the file extension being used including
    ! x3 c5 w# o) S3 }2 _7 S) N
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which; u  A9 E% S! e  T
  547. ; case no links to documentation are generated.4 w; \% S3 P9 Y/ ]! D: t; E
  548. ; Note: Never use this feature for production boxes.) K: s! l! `% S/ w* [; E
  549. ; http://php.net/docref-root
    5 W. p  g) g0 H: X; b9 j
  550. ; Examples4 X/ Y. f9 B1 c0 p. y, L# q1 ~
  551. ;docref_root = "/phpmanual/"" R: r3 ]0 p9 [
  552. % ]$ h/ [. p. ^, R; f+ c6 d
  553. ; http://php.net/docref-ext' b0 @9 Y! o+ D: W
  554. ;docref_ext = .html
    + w; ~; Z' j! x: a7 q

  555. # S9 w7 e8 a3 e- D& C$ E
  556. ; String to output before an error message. PHP's default behavior is to leave
    ) _% p  X$ T6 x* F
  557. ; this setting blank.
    / h8 I& m0 g6 D- l  y9 \5 M, n
  558. ; http://php.net/error-prepend-string  K% M& P: X5 W  t
  559. ; Example:
    3 q. ~8 p1 Y4 j# y4 j
  560. ;error_prepend_string = "<span style='color: #ff0000'>") K( q2 `. ^2 o7 `; \
  561. 2 B: a  w+ F/ U3 H( m+ t% \6 o
  562. ; String to output after an error message. PHP's default behavior is to leave* l! g& V7 A( B% F- X# k' [1 R4 L) q
  563. ; this setting blank.
    3 x7 `2 T3 b: h% R+ G' Z/ ^% C7 g
  564. ; http://php.net/error-append-string
    , s- W! `( }: w0 f6 @8 d7 T3 x7 S, s
  565. ; Example:/ U! r' \" {; k% K0 [& X
  566. ;error_append_string = "</span>"' n/ p" T& z' g2 U  w6 P1 k2 B
  567. 4 F" C* |, s- _- r/ K
  568. ; Log errors to specified file. PHP's default behavior is to leave this value5 J8 Y# p1 \/ b7 t) U
  569. ; empty.8 d- r! \. U+ p, k" H' `# P4 S
  570. ; http://php.net/error-log: Q1 a5 Q, K( a* B8 U6 M
  571. ; Example:
    8 ~4 Q8 O' @6 a; J: a2 l$ w
  572. ;error_log = php_errors.log- ]; [/ g4 u1 Y( S  G. v+ [, G
  573. ; Log errors to syslog (Event Log on Windows).9 ^* u% |0 K$ i$ H. z, z
  574. ;error_log = syslog
    - A6 q+ a+ v9 q) X5 _0 {! s
  575. - a% }! c: C1 @' {
  576. ;windows.show_crt_warning
    / l% Z9 n, R! E
  577. ; Default value: 0) ?  m/ y1 V( Q, ~$ x) |) |% x2 ?
  578. ; Development value: 0' z: M* v" _( n# i
  579. ; Production value: 0
    & G8 S. U6 R$ s

  580. # ?6 ~5 ]6 N4 y# A
  581. ;;;;;;;;;;;;;;;;;
    ( x2 X2 R! W4 _4 A5 r1 ?
  582. ; Data Handling ;
    7 P: B: u! t% R9 T/ o' M" S7 }
  583. ;;;;;;;;;;;;;;;;;# y8 _+ P; m+ B) n/ l/ ~8 T; k6 m0 {
  584. ) {. A9 v' [+ l
  585. ; The separator used in PHP generated URLs to separate arguments.  E" b: T- j( W) g) o
  586. ; PHP's default setting is "&".
    ! A& Z9 [( o9 W- Y3 K) e- J, `; v6 S
  587. ; http://php.net/arg-separator.output
    ' x2 M+ E' H! @% K# `( }! t9 C" l$ N
  588. ; Example:; N% [/ \, \' |. z! o5 Q3 H* c
  589. ;arg_separator.output = "&amp;"$ {( f  v; M4 c* ^) n0 A

  590. 4 P7 J, T( A/ Y1 u
  591. ; List of separator(s) used by PHP to parse input URLs into variables.6 n5 E3 h+ j$ B1 d( ?* e
  592. ; PHP's default setting is "&".
      t3 y  S1 o3 ^% b/ }
  593. ; NOTE: Every character in this directive is considered as separator!4 X* b* w$ F' p( ?8 H$ F* S- \
  594. ; http://php.net/arg-separator.input; c2 i  @' i4 m1 p1 P6 {
  595. ; Example:
    4 _2 _) ?: E  h/ p
  596. ;arg_separator.input = ";&"$ M. x& V* W2 I& r  y0 x
  597. 9 M8 K* J) _2 J( {( T  J
  598. ; This directive determines which super global arrays are registered when PHP/ Z6 W5 [) b/ I8 G% N5 t9 Z/ N
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super9 h* @2 b2 G$ Z. Z5 r
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    3 y, R# j0 V4 d# e
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    + [7 ^4 K& {& u' M- r
  602. ; used as the others, ENV is not recommended on productions servers. You
    # r, E; w% z2 B& X) n4 k- k& \
  603. ; can still get access to the environment variables through getenv() should you
    ' n* x* G! G9 N: P( Y
  604. ; need to.) x! P) M0 o/ W  c4 h! Q/ \
  605. ; Default Value: "EGPCS"0 o. f4 `/ P% t5 h% M. j  r
  606. ; Development Value: "GPCS"
    : }( v6 J8 ]  z. m9 |
  607. ; Production Value: "GPCS";0 o* {  D# k' V( c- ?9 L6 v8 \
  608. ; http://php.net/variables-order) F' l9 H# ^. s# T. E' W
  609. variables_order = "GPCS"0 X5 U" U* M$ n: R+ m

  610. / O( w+ P$ ~/ s- i! A# A
  611. ; This directive determines which super global data (G,P & C) should be
    9 `% j0 Y; _3 P1 t$ ~; T
  612. ; registered into the super global array REQUEST. If so, it also determines
    ) L9 E  Q9 s9 Q7 {' \  W
  613. ; the order in which that data is registered. The values for this directive
    - e: v- P9 o( o% U* U: @$ ]( M
  614. ; are specified in the same manner as the variables_order directive,& i! ]( Y  z  o* ]+ ]3 ^
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ; _7 A$ W  d2 R7 ?$ r- K
  616. ; in the variables_order directive. It does not mean it will leave the super
    & a+ |0 L& a# `: I) A
  617. ; globals array REQUEST empty.
    ) ?4 f  J5 B+ k
  618. ; Default Value: None
    8 M* \( {& `6 p3 ~2 g' v- H
  619. ; Development Value: "GP"
    5 k% i$ w- w  N5 X6 i$ }
  620. ; Production Value: "GP"
    - u/ w: \8 z% z9 v& u; c
  621. ; http://php.net/request-order/ j1 T( L1 f" f: Y. u0 j( J
  622. request_order = "GP"
    ! B: F: E4 {! r2 q! H7 a7 k8 w
  623. 3 S, e+ W1 h2 k. d# i8 T
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    0 D6 x# H- E6 Q; E" a  V% }
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ) E4 ~6 U$ \3 k7 E
  626. ; is invoked. $argc contains an integer representing the number of arguments3 M, p( E* [2 M, W$ P
  627. ; that were passed when the script was invoked. These arrays are extremely
    2 X$ D3 o, l& @' s
  628. ; useful when running scripts from the command line. When this directive is5 Z4 H) ?% ^/ @/ ~: F+ f( X6 H
  629. ; enabled, registering these variables consumes CPU cycles and memory each time- B9 h/ z- y: N: l* j* j) b- ~& x9 H
  630. ; a script is executed. For performance reasons, this feature should be disabled. w7 o, Q0 V8 E$ K+ ?2 U, n: o5 R
  631. ; on production servers.3 w" |3 o, U, N1 r& t" h  }8 e
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    7 |# `5 R1 p0 G( n/ j. S
  633. ; Default Value: On/ Z! q$ q8 u" f1 i5 x0 }2 Y! _
  634. ; Development Value: Off
    ( h8 h5 ~$ V# j# t2 [4 y
  635. ; Production Value: Off; b& O2 A+ d3 Y/ W2 L, n# @
  636. ; http://php.net/register-argc-argv) W' L/ S# M4 u' ?% r/ @
  637. register_argc_argv = Off
    & @' s0 e5 X+ z. X0 E

  638. 8 m- Y2 N  q7 E0 T. o
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    0 n; R; G/ Y, Q8 [& A6 l0 g: ?
  640. ; first used (Just In Time) instead of when the script starts. If these: N+ I% o  T3 l6 M- Z3 o* Z
  641. ; variables are not used within a script, having this directive on will result
    - {6 z# y5 X; p3 Y
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled- a$ V+ @* y2 b0 X
  643. ; for this directive to have any affect.; P+ ^: ~2 A3 b3 r' l/ k
  644. ; http://php.net/auto-globals-jit
    & D7 `# E! V; z$ }% R
  645. auto_globals_jit = On
    1 h  r$ B. \4 Z8 k

  646. 7 X2 u: m3 e$ I6 @' u1 t- Z+ R
  647. ; Whether PHP will read the POST data.  y2 d9 u6 N9 }; }$ S
  648. ; This option is enabled by default.
    ; Y, W; e2 i" i  e9 a3 s7 m  N) k
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST7 r0 x7 H* C3 ]1 N/ \
  650. ; and $_FILES to always be empty; the only way you will be able to read the. F4 y5 A8 }- n7 t
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    7 g- p/ `/ f9 J4 B; I, d
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.6 k6 G/ W/ L3 K: r, a) K+ J5 S
  653. ; http://php.net/enable-post-data-reading& F& t/ i9 A0 K! {
  654. ;enable_post_data_reading = Off
    5 D, j, j7 o9 @5 @% U( L
  655. + r$ k, J4 h$ Z% x. f3 q, _
  656. ; Maximum size of POST data that PHP will accept.
    ! i: m5 f* p) w* G6 ~+ Z, z8 x
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
      G5 p' R0 o7 I7 B. x9 _7 w
  658. ; is disabled through enable_post_data_reading.2 n/ l1 o2 _! i+ E
  659. ; http://php.net/post-max-size
    " K: u: `6 b9 t1 o
  660. post_max_size = 50M
    9 o, k! L/ X7 Q! r9 e3 f$ W

  661. 2 s0 J! x8 q1 ~" r7 p( J
  662. ; Automatically add files before PHP document., N, U# E) R8 s: ^% U
  663. ; http://php.net/auto-prepend-file
    ; w5 `$ d* k5 E9 `2 P
  664. auto_prepend_file =
    , D% Q5 s7 `) f6 I3 B' ?# ~% y

  665. * o9 M% z& V. z6 c
  666. ; Automatically add files after PHP document.
    ) l' y, x/ k, W7 y7 W8 U) t
  667. ; http://php.net/auto-append-file* h- Z) M% u4 b- T
  668. auto_append_file =- b& `$ ]: z* l6 n  d' G

  669. ( N. V6 e: K8 M' W0 G
  670. ; By default, PHP will output a media type using the Content-Type header. To
    % }3 h" ^9 m- P* k6 p5 e1 B
  671. ; disable this, simply set it to be empty.- d  S0 y9 y7 M) q4 j
  672. ;
    . p. O* l7 a/ y9 T  E4 D
  673. ; PHP's built-in default media type is set to text/html.. f7 B8 F/ a4 R) g* b0 V! j. }
  674. ; http://php.net/default-mimetype
    . H6 E1 E! T2 R  z" h
  675. default_mimetype = "text/html"
    # w" K- o8 X% S7 c* F, L9 k

  676. 2 i# T. M) a2 z, d5 t* Z% R
  677. ; PHP's default character set is set to UTF-8.
    # d0 J) n$ b8 }7 J
  678. ; http://php.net/default-charset
    6 X/ A! d; ~9 f
  679. default_charset = "UTF-8"/ W2 R, k1 M" m3 m8 f
  680. $ F0 z, O& X- @" x! m
  681. ; PHP internal character encoding is set to empty.4 ?* q" V3 U. s0 z7 r" G
  682. ; If empty, default_charset is used.
    , C7 x; o( v: N4 `* a/ W- y; v
  683. ; http://php.net/internal-encoding& Z" C. ^" Y4 ]0 p: z+ P- g* p
  684. ;internal_encoding =( S# M$ z" @) i( M
  685. ; n8 B7 H* r  y/ @3 r( _% N
  686. ; PHP input character encoding is set to empty.' l# ^" s% T$ |8 N. H1 ~4 P, _% L
  687. ; If empty, default_charset is used.
    * f% m) \% S5 E7 c( G# C$ N  W
  688. ; http://php.net/input-encoding
      b, Q$ ^6 p6 F. K4 Q
  689. ;input_encoding =* D. E6 P7 @3 U1 E" `
  690. ) N1 W+ g* r1 }$ ?% d
  691. ; PHP output character encoding is set to empty.+ v2 J2 Z- Y1 w9 T% S* n
  692. ; If empty, default_charset is used.$ `! {8 r' U& C) G
  693. ; See also output_buffer., C' k3 M& C0 h9 u% i2 S: m3 X
  694. ; http://php.net/output-encoding
    . W! N* y3 F$ h% G
  695. ;output_encoding =
    * O( E' E# M. Y
  696. $ j9 k! R, W; M
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is6 n) ?  V7 q7 T; e6 H9 H1 r
  698. ; to disable this feature and it will be removed in a future version.
    6 N& ^% v! N( B" A  T6 s
  699. ; If post reading is disabled through enable_post_data_reading,
    - u/ h% E2 g9 z3 u! P
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.7 z/ d5 l% i3 l6 ?
  701. ; http://php.net/always-populate-raw-post-data: ^- g' n4 D  }1 |' n# |5 A
  702. ;always_populate_raw_post_data = -1: r8 l) V$ s8 f! g; z

  703. 7 x, F% K9 D6 k8 c2 h; W5 n
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    7 P9 j" d- p! _8 ?
  705. ; Paths and Directories ;
    6 F, O6 t2 ^0 P( |& K/ Z& ^2 S3 {
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    $ i6 ]3 q7 I" |' U2 b, o

  707. 2 {# d( l( }* D) l  H; G
  708. ; UNIX: "/path1:/path2"9 b- t' a. m5 `4 Y
  709. ;include_path = ".:/php/includes"
    1 r2 u0 ~* Q7 `5 N% y$ h
  710. ;0 s% o0 e/ o1 q% G
  711. ; Windows: "\path1;\path2") [; h' m% S' \4 e% j. ~
  712. ;include_path = ".;c:\php\includes"
    . M5 y- N. y: S
  713. ;6 S* J: V: S7 M9 J5 o# O+ X
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    + H# p! a  q0 J6 V! n' j5 F
  715. ; http://php.net/include-path
    $ o" P, h  M" V- l! L# \, m: C
  716. - F* Q6 a0 p2 ]$ h+ _2 G
  717. ; The root of the PHP pages, used only if nonempty.
    0 ^5 E: R/ ~* W  _* m  Q; {
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    % n0 y/ L7 z2 ~. u. k3 E6 n
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ! s! S3 X, x5 t, z
  720. ; see documentation for security issues.  The alternate is to use the
    . a( ], h& S; ?4 P4 `5 p' ^
  721. ; cgi.force_redirect configuration below
    8 i( y. ^! U" Q! |3 d& _
  722. ; http://php.net/doc-root5 r! y( c6 C1 F; m( R& s
  723. doc_root =
    2 x: M5 `/ Q0 {7 D2 y
  724. 0 H3 J+ _0 T8 L: ~  |% p; Y; `: b
  725. ; The directory under which PHP opens the script using /~username used only
    " L( n1 |1 `3 u
  726. ; if nonempty.
    3 C: N" G3 ?# O, S2 k/ n
  727. ; http://php.net/user-dir) f# O  S$ G& M7 o/ y
  728. user_dir =
      r2 `  v8 Y! i  _
  729. 4 k% i2 F  i6 h( p; \. k4 p# ?2 v+ o+ I
  730. ; Directory in which the loadable extensions (modules) reside.- }; Y7 c7 v* J: G1 A% O) O
  731. ; http://php.net/extension-dir  e- a7 H- k" r+ e& K, M% u, m5 Y" E
  732. ; extension_dir = "./"
    ; b! C0 D3 D5 @
  733. ; On windows:
    ) J; X# D$ i; x) \1 e
  734. ; extension_dir = "ext"- O/ U& d0 W" j! H# G3 o' }+ t
  735. ! u- v. A1 p& L' _" r! a
  736. ; Directory where the temporary files should be placed.
    $ V3 W9 D( G, E5 z$ p5 C8 J# R
  737. ; Defaults to the system default (see sys_get_temp_dir)
    0 H. w& J/ j  B/ f& ]/ f
  738. ; sys_temp_dir = "/tmp"4 `' j8 {% k0 ]3 }  l% w% t8 O+ H4 K

  739. # t. a. U5 P0 u! d8 L& o, c( d9 t# \
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work, S6 g5 g7 r. q5 K* j
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    8 s8 ~  f& C2 q8 Y: H
  742. ; disabled on them.
    2 Z* Z' v1 b- E( y
  743. ; http://php.net/enable-dl
    3 O( [* t- F% }4 u; i+ W
  744. enable_dl = Off/ [5 I" m6 P. C( ~7 V- Z! \: Y

  745. / l3 [1 Y$ }2 R9 \
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ) R7 R7 x# W- t% j* V7 a3 i7 K
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can/ {, w. _( v' V; J5 z/ |1 c& g1 N
  748. ; turn it off here AT YOUR OWN RISK
    % K% w- z6 S$ L2 v* ~
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    + R$ e! G0 {% h; @: @
  750. ; http://php.net/cgi.force-redirect: }$ u2 h$ V0 i; D
  751. ;cgi.force_redirect = 1
    # `' J. D3 V4 F3 s
  752. % J& o, d/ |- N
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ( ], e" A) u" R6 @
  754. ; every request. PHP's default behavior is to disable this feature.
    $ i7 ?( l/ S. }
  755. ;cgi.nph = 1
    $ |* k. m9 O' B, z# s0 p; `
  756. . m7 ^; p' ~! B" a$ I. x: @% ]4 y4 q
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    9 w8 e4 c+ [: g5 R! s
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
      Y  `+ K) F2 {5 C) Y0 B8 O2 {
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY. e4 L; A( m- ~+ {3 |* f0 A
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.. W' I! ^5 l0 D/ T, r4 u, W- P
  761. ; http://php.net/cgi.redirect-status-env3 \4 Q5 Y  u' g- g7 D. I2 h" ~
  762. ;cgi.redirect_status_env =% k2 m0 D4 y, S0 t( Z- b
  763. * C3 g6 B0 M2 b- ~+ D; {* d: u! U
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    $ ^0 u6 p% j0 N
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ) @! N+ v( B: E: E
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    " P5 @4 w# i- S* P7 Q6 e# g4 ?7 O! Y
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting* O3 J# Q; z0 J7 P$ L( v0 O) O& p
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts8 n4 ^( l1 p0 B/ h# p
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.* D( x" F9 t8 C2 `* e6 y, S
  770. ; http://php.net/cgi.fix-pathinfo+ \' Z+ r$ Z+ ?' Z( \, w2 x
  771. cgi.fix_pathinfo=1
    0 y2 p% m& q1 F: c; e

  772. , f, V; C7 |5 g5 B3 j
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside3 H* p! b% o) }! ~1 T0 b
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    / b# O4 k; v/ c3 `- g- O5 n
  775. ; http://php.net/cgi.dicard-path  v. m; @9 A, J, A
  776. ;cgi.discard_path=1
    ! G: F( a% ~3 `; M; ^

  777. , c$ u: X, l8 k$ Q6 g1 H4 v1 m
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ! Y* a: f3 G6 `! k* j
  779. ; security tokens of the calling client.  This allows IIS to define the- D( L% c1 z% ?( S; F3 M
  780. ; security context that the request runs under.  mod_fastcgi under Apache  n7 ]6 E8 |$ z
  781. ; does not currently support this feature (03/17/2002)
    3 n6 C8 A$ N1 Y2 U* ?
  782. ; Set to 1 if running under IIS.  Default is zero.* o) ?5 |* g& S7 e7 ]! `
  783. ; http://php.net/fastcgi.impersonate0 Q- o# @8 |! Z& K- j! P6 W3 P
  784. ;fastcgi.impersonate = 1
    - s6 v- I7 j) `4 F, I) ^
  785. ( t" \" m5 T- ]& v5 I# @- I9 n
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable9 n8 P4 v9 L( I3 x6 P5 l/ n1 E
  787. ; this feature.
    : q, _: d+ L& W5 c- W. D* P7 z1 i
  788. ;fastcgi.logging = 0( V$ x+ b5 ?# V1 \

  789. 2 h6 k% I5 I/ h% j' O
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ) f( s7 t" q" r3 M- R3 a
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ; M4 F5 C7 g% ^9 f1 m! x
  792. ; is supported by Apache. When this option is set to 1, PHP will send4 [) U) q8 O: {, |$ q% Y, H
  793. ; RFC2616 compliant header.
    1 t7 @1 m7 b. V
  794. ; Default is zero.; l# b4 ]1 J* ]8 E" m$ C
  795. ; http://php.net/cgi.rfc2616-headers: f  C" |  I: q0 z
  796. ;cgi.rfc2616_headers = 0
    * X2 q, w$ J/ z- O8 T+ x. W
  797. 8 d+ [4 |. |; F2 \1 ?2 S
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    & u* ^8 {  `9 H$ w) o5 N
  799. ; (shebang) at the top of the running script. This line might be needed if the* W8 p' N) ~' D" `; w% q
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    " U/ ^+ C+ y) U3 X  m
  801. ; mode skips this line and ignores its content if this directive is turned on.+ `5 u% O& W5 i3 c3 f! N! \+ I
  802. ; http://php.net/cgi.check-shebang-line+ y/ q" H( V6 b& v4 p" Q6 R$ m
  803. ;cgi.check_shebang_line=1
    % @1 N$ c' E2 L4 V4 {8 H# q4 _
  804. % C* @$ a5 B6 {5 ]
  805. ;;;;;;;;;;;;;;;;
      [9 [+ y# H* ?$ H& ^7 Z
  806. ; File Uploads ;6 [3 |; K( b0 v- h' ^
  807. ;;;;;;;;;;;;;;;;
    % j' i) g, U7 T( o" x, D5 e( E

  808. ( u- d4 t/ f0 s7 M) }
  809. ; Whether to allow HTTP file uploads.
    - Y1 m7 ]; D* F+ W" V; }; A
  810. ; http://php.net/file-uploads* \& C5 q2 g3 Y
  811. file_uploads = On
    + D: @& P8 I" u: l, _

  812. 0 e; l9 W* {2 C; T! C
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    3 ]6 {* D, H- l
  814. ; specified).! t/ p3 D3 Z; r
  815. ; http://php.net/upload-tmp-dir
    ; t& ?* [7 X: {% ~; K4 _0 C/ m
  816. ;upload_tmp_dir =
    7 G3 ^+ w6 v4 v) H
  817. ! s* I+ M" s, a% L5 U5 Q7 w
  818. ; Maximum allowed size for uploaded files.+ O( W' K) w+ F) j
  819. ; http://php.net/upload-max-filesize
    & s! l3 V7 x  e1 l' T
  820. upload_max_filesize = 50M  b0 z9 @4 ]6 A! k+ a1 K! e) m

  821. 7 C8 h: i% l2 c/ S- U6 \
  822. ; Maximum number of files that can be uploaded via a single request" D- V3 [  ?8 Q; i
  823. max_file_uploads = 20
    ' ]* z* Q2 G2 c! v" c2 x, I' r% [

  824. ) Q8 G! p1 V) O! j  }
  825. ;;;;;;;;;;;;;;;;;;# B7 |: e( c- t/ C+ s6 u, q( V
  826. ; Fopen wrappers ;
    + S( p- h; E  e6 K( `2 A
  827. ;;;;;;;;;;;;;;;;;;5 F  D1 \$ ?4 ]3 k9 {) P$ P
  828. . ~$ s9 h$ p+ f. U/ S
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.& ]6 v5 ]# b4 U5 ?
  830. ; http://php.net/allow-url-fopen
    3 W- q. w9 `$ O: s. s; c
  831. allow_url_fopen = On1 O! M% G, k& w! I0 y
  832. ) |% Z1 T! e- z: P5 ?5 f3 g
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.$ B/ o5 B" P! v3 O: y; z5 S+ e
  834. ; http://php.net/allow-url-include" T3 ]; c/ V! j  ~$ m- I7 z; x
  835. allow_url_include = Off; W7 _8 I: h$ J
  836. * v& k& Z5 |2 N" |2 P/ i7 o/ e
  837. ; Define the anonymous ftp password (your email address). PHP's default setting2 O* ~/ w2 v% c- |4 \# {, A
  838. ; for this is empty.
    * l* t0 R% s  h
  839. ; http://php.net/from4 o$ M) E( _/ W! M7 G1 S
  840. ;from="john@doe.com"2 q$ }  _2 _% g" I5 _

  841. + F# O$ C( W9 m: a
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    $ V9 A; C4 y* I
  843. ; http://php.net/user-agent
      [& c3 Y' O- F# g1 H2 T
  844. ;user_agent="PHP"1 f& d: `+ {! c3 L( E# k& a1 f

  845. - Q8 a/ n3 p$ \- x; \+ f2 x- L
  846. ; Default timeout for socket based streams (seconds)
    . E6 F$ l9 u" Z) D  Y% {& W6 ~7 |; N
  847. ; http://php.net/default-socket-timeout
    & t# f9 d) i4 e2 @
  848. default_socket_timeout = 60# H0 \3 S5 K% N: u% E
  849. " ?3 f- u, ]2 q* p0 D
  850. ; If your scripts have to deal with files from Macintosh systems,
      c' @0 u1 U1 ]6 K( q
  851. ; or you are running on a Mac and need to deal with files from, {+ A9 ~8 F: A. i6 l2 `/ H  M
  852. ; unix or win32 systems, setting this flag will cause PHP to5 Y: `" _& A# a$ |' r5 s7 Z3 G
  853. ; automatically detect the EOL character in those files so that9 |$ }: |! `* W/ \( O2 V- S! ]* E
  854. ; fgets() and file() will work regardless of the source of the file.5 S7 u7 ], e/ T7 L
  855. ; http://php.net/auto-detect-line-endings
      o, S; W. K, R% ^9 L
  856. ;auto_detect_line_endings = Off4 c" u/ l# o) U9 k7 Z0 ^3 i" h! p& ^

  857. 9 ^6 H  s) k2 I9 ]* u1 I
  858. ;;;;;;;;;;;;;;;;;;;;;;* |# V! n1 S8 h  G- `  x
  859. ; Dynamic Extensions ;, O( ?4 }$ }. p2 d
  860. ;;;;;;;;;;;;;;;;;;;;;;2 _5 U, y6 |% c; ]3 m! O" f2 Z
  861. $ ^$ i* w2 w, m6 u( f
  862. ; If you wish to have an extension loaded automatically, use the following! m! |3 T. C7 w
  863. ; syntax:) P+ J+ A5 P7 S6 f0 F) B
  864. ;3 U0 r  [; M5 s
  865. ;   extension=modulename.extension
    * [' J' }6 x! d& H9 v4 G, }4 v) f, T1 x
  866. ;' J5 G. o9 q  M
  867. ; For example, on Windows:
    ; p2 \" A; j, q% H) w$ T
  868. ;1 b% W/ O/ K$ G/ M; i$ T
  869. ;   extension=msql.dll
    4 N( |" j3 |& \* k
  870. ;( a1 @: p# j. V) N0 R2 p# m
  871. ; ... or under UNIX:8 A  R7 l* b; J4 N0 r! ]( D, F
  872. ;2 R( r. i/ ^4 H; r8 S% h2 o
  873. ;   extension=msql.so
    7 K+ p& M6 v$ K9 T8 ^9 p
  874. ;) |) r, L$ f4 [3 d  X' w
  875. ; ... or with a path:
    0 ?! f! S9 z- g& `# A( h. k
  876. ;
    ! Y$ N# M6 |" b( t: S% V/ G+ x! @+ s
  877. ;   extension=/path/to/extension/msql.so5 X# {: T. |: M( E3 P6 |7 j" X
  878. ;
    , q/ M3 A' c; t! H& u
  879. ; If you only provide the name of the extension, PHP will look for it in its6 o9 {5 ^: q6 N1 }
  880. ; default extension directory.
    + ~, b( b- M! x0 ^& |
  881. ;4 d1 a" i- `/ l% P7 k
  882. ; Windows Extensions' `( K6 K4 o" Z9 b
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    6 @/ h$ J* J0 E1 u8 e3 u
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    - y, M7 E, k( J; `. K
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).7 j# ^# J, Q. q, v9 K5 ?
  886. ; Be sure to appropriately set the extension_dir directive.( i, F% ]. Z; q" [6 c3 o! P3 g
  887. ;" u  }6 C! S% s/ }0 M2 }
  888. ;extension=php_bz2.dll
    ' v5 e$ T, f, ^% o+ c
  889. ;extension=php_curl.dll
    , K6 N" J2 k3 x3 Q
  890. ;extension=php_fileinfo.dll
    . r! p# P5 t8 X7 v! W
  891. ;extension=php_gd2.dll6 U- t, h  _6 T) Y( [6 s
  892. ;extension=php_gettext.dll
    ; W# S2 [) `$ Y( A, s; l
  893. ;extension=php_gmp.dll% \2 B! |% x. {6 h. O1 a
  894. ;extension=php_intl.dll. U- T2 I6 y6 P9 e: V
  895. ;extension=php_imap.dll
    2 E4 v9 |: {! W, y0 `
  896. ;extension=php_interbase.dll2 I. v) H9 @/ g# G; @
  897. ;extension=php_ldap.dll* A5 ?8 f/ h/ M! m5 U/ G
  898. ;extension=php_mbstring.dll
    + m' g: I3 K- w; t4 m# T& j8 ^
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it  z) h# V; G5 X8 Y  R' T
  900. ;extension=php_mysql.dll
      \0 Q! n7 \9 Y* L
  901. ;extension=php_mysqli.dll9 E2 G$ |: o. E
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client' x# I$ Q, x$ C7 p
  903. ;extension=php_openssl.dll
    7 }6 u  f: u. }! P. x7 D
  904. ;extension=php_pdo_firebird.dll
    . Q9 k: g' r6 z- d4 P
  905. ;extension=php_pdo_mysql.dll* U/ {( x4 U( W6 k" e7 A- x
  906. ;extension=php_pdo_oci.dll
    ; d3 a* |  z- D# t3 _
  907. ;extension=php_pdo_odbc.dll
    / `. t( M  ^9 y; `6 W' v" r: a
  908. ;extension=php_pdo_pgsql.dll
    . r8 C# U5 L% A  r
  909. ;extension=php_pdo_sqlite.dll! {0 b" R5 {8 s; q! ^, z# d' J
  910. ;extension=php_pgsql.dll
    + V5 K7 a" }4 V& o% f
  911. ;extension=php_shmop.dll$ V1 p, Q( N7 c' r! `
  912. 5 k8 a% \  E) o, W& }/ d6 k2 w
  913. ; The MIBS data available in the PHP distribution must be installed.
    ' ^. W" m7 |. e, _* u9 P6 x
  914. ; See http://www.php.net/manual/en/snmp.installation.php . r: P9 x. k% e$ o! j3 g7 B
  915. ;extension=php_snmp.dll
    & m& w* q4 |8 o4 `/ G& Q

  916. " L& ]2 B8 Z/ }/ R: y8 C& ]
  917. ;extension=php_soap.dll* F9 x5 g+ E, v' h
  918. ;extension=php_sockets.dll
    & F9 S7 q1 J9 t1 [. m* S- @
  919. ;extension=php_sqlite3.dll
    7 |+ U, H6 A2 Q9 x7 D  g3 y, x- Z
  920. ;extension=php_sybase_ct.dll: _3 P1 f5 S6 i0 h4 D
  921. ;extension=php_tidy.dll& [# w0 f) m7 e. D$ U. A
  922. ;extension=php_xmlrpc.dll6 O5 H- V, H6 q/ H1 f, ?4 o
  923. ;extension=php_xsl.dll3 t; H% l8 I; I0 O; g) v0 v* ~: s

  924. 3 U' E7 S3 g1 d/ \9 E' {
  925. ;;;;;;;;;;;;;;;;;;;! G1 x0 [4 g( H+ j. T
  926. ; Module Settings ;( L! Y, \$ Y& Z7 d5 w
  927. ;;;;;;;;;;;;;;;;;;;! v- Z1 X4 D9 x$ C8 }8 |4 H
  928. ) t; a7 v2 t4 _8 B' j
  929. [CLI Server]* @, S+ E7 U9 N9 A! `
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output./ z$ H! A& l0 q, g
  931. cli_server.color = On6 `3 r. F4 G! @5 @9 i# m% D
  932. 5 i0 d& o6 }3 ~0 k( a
  933. [Date]
    - \# p( ~+ l8 ^$ A7 O. g
  934. ; Defines the default timezone used by the date functions4 F( d. c: ~% Q  {5 S
  935. ; http://php.net/date.timezone2 q9 T5 o- O/ V2 M/ x; t' P/ }9 }
  936. date.timezone = PRC
    6 R( a* m- h( Y8 f

  937. 8 c2 q& ?' t/ P2 H8 I0 \
  938. ; http://php.net/date.default-latitude6 P2 i" k% Z6 u
  939. ;date.default_latitude = 31.76670 o) c% [; f1 u+ r8 c

  940.   A+ o% F& b( Y! x  y
  941. ; http://php.net/date.default-longitude+ o! [) Z* t4 p
  942. ;date.default_longitude = 35.23330 z  k( d9 A8 H/ ~3 @; m5 k
  943. 3 o5 ^2 p+ l. B: k, h
  944. ; http://php.net/date.sunrise-zenith; _1 U% B1 N: W6 f7 l8 w4 ?( \
  945. ;date.sunrise_zenith = 90.5833330 v: r) D9 r* l1 S- L9 G0 `
  946. 8 U( I2 X( ^# D# e8 R+ ?  o
  947. ; http://php.net/date.sunset-zenith
    8 n6 T  E+ ~: c# _$ k* P; Q
  948. ;date.sunset_zenith = 90.583333
    # x3 d6 F, Y. P: g# w0 k( W* W' {

  949. 8 g- ?) J6 ~9 V( G$ ?( K
  950. [filter]
    0 d6 k+ k( w% ?  [' J& m! J! J
  951. ; http://php.net/filter.default
    ) M$ R  }9 I  R& {. d+ O6 B$ O+ H
  952. ;filter.default = unsafe_raw! @4 F, R8 [. \

  953. 4 U1 L& p$ U( N3 J9 |- J
  954. ; http://php.net/filter.default-flags
    6 y: y3 ^" e$ u
  955. ;filter.default_flags =
    & G! M* `9 u, R' I% F7 I. h  S

  956. 2 ~0 x/ I- w, Z1 ]( d
  957. [iconv]" ^% \3 O# J. C$ c3 w) O" U
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    0 K+ |% c; A8 {* O
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    1 W+ z- `0 v  k. y& x" r, i+ b9 Z
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding, |0 j* x; g! p0 e" o0 q5 \
  961. ;iconv.input_encoding =
    6 {  y% l9 J1 O
  962.   B! t& ]4 b/ j
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    / E7 {7 I0 z- d: |: Z% M" H2 W
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.4 S3 y: d* p' v) O4 B7 r3 \7 ^4 [1 m
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    2 E: b, e" e! q3 {  U0 q/ Y
  966. ;iconv.internal_encoding =
    " l" M, n' x6 y1 N) I- }, B. V5 z
  967. 0 H. ]9 Q; H4 n% F, K
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    % W; J5 ?" Y1 C
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used./ U5 c% W1 t: D% {5 ?2 J
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    1 Y$ M3 J! R" l& ]
  971. ; To use an output encoding conversion, iconv's output handler must be set
    * e( P, `0 U: y# Q' @
  972. ; otherwise output encoding conversion cannot be performed.
    ) g7 p5 h! n; j- g4 ]
  973. ;iconv.output_encoding =
    0 p& {2 h' b* ~& x7 E0 a# h8 H. V4 L+ G

  974. ( U2 ?( |7 J: k( g% n* S
  975. [intl]* M" H' R. r. {
  976. ;intl.default_locale =4 ]% c3 G0 {% p6 z5 P
  977. ; This directive allows you to produce PHP errors when some error- R4 H7 [* w: w: a0 V8 M
  978. ; happens within intl functions. The value is the level of the error produced.6 T0 t; O! h/ z+ E
  979. ; Default is 0, which does not produce any errors.
    7 t; P5 R2 [6 v5 `1 o! |5 F
  980. ;intl.error_level = E_WARNING8 q' j; m& J  [0 i; Y/ h
  981. ;intl.use_exceptions = 0
    ! {. {) \" z# R0 Y" O% F
  982. ) ]1 s/ ?1 N: c, `5 g
  983. [sqlite3]) ]5 k' l' T2 T  P7 w
  984. ;sqlite3.extension_dir =8 a0 d! o0 q+ y0 k/ I! i

  985. 9 R' \7 L5 c  X$ C
  986. [Pcre]) R" l$ B& {5 t% M0 G/ o- c
  987. ;PCRE library backtracking limit., f4 U/ Z1 ?. h$ V0 M' T( `5 s* H  D. l
  988. ; http://php.net/pcre.backtrack-limit
    1 v; Q( X. p, {4 a3 W
  989. ;pcre.backtrack_limit=1000004 Y- U/ p  k/ J$ V  X( C7 @' s( G
  990. $ k5 s1 T8 h0 F5 z
  991. ;PCRE library recursion limit.6 v8 D) B* L5 F' K) x" V
  992. ;Please note that if you set this value to a high number you may consume all) E* x8 V& x! v: i2 U% {
  993. ;the available process stack and eventually crash PHP (due to reaching the6 `; L2 \. u2 a3 ]
  994. ;stack size limit imposed by the Operating System).
    # h3 @. f& ^% ~  }
  995. ; http://php.net/pcre.recursion-limit
    & X3 S) h5 o. T
  996. ;pcre.recursion_limit=1000003 I8 W4 v( F# m
  997. ' ?' {  G0 T9 g, e
  998. [Pdo]6 M  H* ^# x. m  _+ b2 `: {$ N
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ; K# L% S1 q; `+ y. x" S
  1000. ; http://php.net/pdo-odbc.connection-pooling; J6 x5 L+ @' w% }7 H
  1001. ;pdo_odbc.connection_pooling=strict
    . S7 o. _* P/ c! Y+ ^

  1002. ) O% \: |! X' z7 ?! z
  1003. ;pdo_odbc.db2_instance_name
    / ]8 m& n# W" \; J8 _- z& C5 R
  1004. ) O1 a* n; p8 |5 G7 Z1 ~7 B
  1005. [Pdo_mysql]; I8 K0 f, F5 c
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache# m) l9 v) }+ z; g/ E( M
  1007. ; http://php.net/pdo_mysql.cache_size9 X1 u" \$ c- i  Y& R9 ]* N& I
  1008. pdo_mysql.cache_size = 2000
    6 _9 ?" {0 K7 l/ o; a
  1009. ' Y4 D* ]: i+ c% P
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    " ^* s. g9 R6 _1 `
  1011. ; MySQL defaults.& i/ R* H  x( X
  1012. ; http://php.net/pdo_mysql.default-socket
    ; D( P! t$ m2 ?$ H  d! x3 F
  1013. pdo_mysql.default_socket=( t: P1 U! q2 ^  l4 A- v- f
  1014. - D* B' T: D7 S, J
  1015. [Phar]
    - B- i8 s! e4 x( J4 z( k9 d
  1016. ; http://php.net/phar.readonly
    ( U  S& Y+ K* \9 ]& k4 c- k8 W
  1017. ;phar.readonly = On
      Q" S. ?& O) \2 h, f/ T' a2 G
  1018. + v9 d* c; g9 h2 ^% F! |% N  z6 Q
  1019. ; http://php.net/phar.require-hash
    4 b7 G# L0 C1 |- G  U
  1020. ;phar.require_hash = On3 k5 A2 `: S6 z) d9 e
  1021. % q) ?' k4 `  r% a/ }. o9 J4 u
  1022. ;phar.cache_list =9 D. D$ U" X& ], M
  1023. ! T: m$ `6 I% u
  1024. [mail function]$ m, T# L# p' l5 S! {
  1025. ; For Win32 only.8 f6 F% e5 R. c/ Q2 b! x( D1 M0 z
  1026. ; http://php.net/smtp" u" s( u# I: K! {
  1027. SMTP = localhost
    6 U. b' t  ?9 {! P
  1028. ; http://php.net/smtp-port( ^' v$ y0 O1 I  d) a1 ]
  1029. smtp_port = 25
    - k; `, I, Z- j) c2 c

  1030. 9 U* P. [& B, d" U* V  l( P8 C) b
  1031. ; For Win32 only.
    8 J  E, y2 v+ u- [( v( T7 g( J
  1032. ; http://php.net/sendmail-from" A, I4 q, [! u; B
  1033. ;sendmail_from = me@example.com
    , g* @5 C# @' e4 y* e, x

  1034. % w- D' S+ Z0 r8 y! j, w# x1 N* g
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").. o* l* a# v% B8 r" k: A. O
  1036. ; http://php.net/sendmail-path2 }/ ]5 a5 s% C* W6 X# Y
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    7 l' e: E1 ^- {- z$ a% s
  1038. ' q( s  x9 o* K5 `/ p$ d/ ^% i
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    # W5 @* q) J' i; o7 S. W2 f
  1040. ; to the sendmail binary. These parameters will always replace the value of& p. m% }6 k& y0 J) _# q1 [
  1041. ; the 5th parameter to mail().
    # C( Q' f1 U0 N1 j% G
  1042. ;mail.force_extra_parameters =
    ; ^% l% t# c* Z1 ?' A  s4 U% F4 X

  1043. ; N$ x4 P: Z* `7 O! ]; o& p
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename% b( V) A& C$ ~; `: k
  1045. mail.add_x_header = On5 J2 [1 p) `5 u  f; X5 w

  1046. 9 B: o- m  }* n
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    1 K. h8 }* E- n; R" V
  1048. ; the full path of the script, line number, To address and headers.6 E* R# ]$ g8 B5 S: H7 Z
  1049. ;mail.log =. F" Z7 b7 k6 b
  1050. ; Log mail to syslog (Event Log on Windows).% z, |# {3 u- [/ U# F  Z" F" Z) r
  1051. ;mail.log = syslog
    / W' P- @6 f# U- F$ v
  1052. + W9 Y, R+ \& x( f# _
  1053. [SQL]9 C8 G) q7 A$ n& t
  1054. ; http://php.net/sql.safe-mode# W3 q  k5 i* \9 o- K3 v; v4 i7 G
  1055. sql.safe_mode = Off
    0 o5 P) o3 s- w7 s
  1056. + h4 E' j. F+ Z' l
  1057. [ODBC]
    / u9 L. H0 J( Y- }
  1058. ; http://php.net/odbc.default-db& ~2 f" r* [* d2 b7 L, B
  1059. ;odbc.default_db    =  Not yet implemented. R" p. W3 a: P; `: |
  1060. : V: q' I2 I7 M
  1061. ; http://php.net/odbc.default-user4 G- k) y" V) _% g
  1062. ;odbc.default_user  =  Not yet implemented" w# g0 A7 O5 h$ e4 |

  1063. ; ~2 Y* A5 A# ~/ c1 w/ z8 g
  1064. ; http://php.net/odbc.default-pw/ T9 n) \2 F% |. X2 {0 M1 F
  1065. ;odbc.default_pw    =  Not yet implemented
    . ?- ]* E4 J* D- `5 g0 o

  1066. ( }1 b) D$ k# K* e- ?: @3 R
  1067. ; Controls the ODBC cursor model.
    6 S  e: x8 [, b
  1068. ; Default: SQL_CURSOR_STATIC (default)./ w. }4 ^+ G9 D  M" N
  1069. ;odbc.default_cursortype
    " ?  M1 w" j3 j' Y- T( Q
  1070. ( B4 L% M6 s! y- N# t- F1 @
  1071. ; Allow or prevent persistent links.
    : V. L, K$ S& a& \2 p6 G7 f
  1072. ; http://php.net/odbc.allow-persistent
    6 z& o  h; N# R7 [# Z  P
  1073. odbc.allow_persistent = On2 q1 }& ^) X# y$ ?" P5 x
  1074. " s9 r/ {" ^& s' Z
  1075. ; Check that a connection is still valid before reuse.
    . r% \  p; u* R# k% A
  1076. ; http://php.net/odbc.check-persistent
    7 o  g3 @. j& K
  1077. odbc.check_persistent = On
    & c4 Q8 I% Y+ X7 @
  1078. $ @2 M" A! m0 n6 C# k% h) g
  1079. ; Maximum number of persistent links.  -1 means no limit.
    3 T4 g/ S  U/ A) e; C1 d* [
  1080. ; http://php.net/odbc.max-persistent3 n$ [5 K# u. L3 v$ _& Q
  1081. odbc.max_persistent = -1* W  p: [4 d% O, g: w
  1082. 4 P; d) Q, A4 f! y2 T- j# J
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) ^1 Q3 M! F1 T4 h2 B2 j% E8 e1 ?+ |
  1084. ; http://php.net/odbc.max-links' O# s1 G: Y& P
  1085. odbc.max_links = -1: l4 l; k) g8 Q: [5 Z" b

  1086. 8 A# ^' S5 a! D9 {( l
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    - a2 t& w4 n9 P- D0 h1 C0 s* _9 H
  1088. ; passthru.
    * d; O, {: A5 n  o  k2 c) K
  1089. ; http://php.net/odbc.defaultlrl
    0 t* p0 Q/ @3 Y- @, J4 n3 u
  1090. odbc.defaultlrl = 4096
      f0 [6 V, j  A: ^  N. u& l$ z+ H

  1091. & e8 R, o' l% `
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.0 A# V* l3 J) W2 X' F' i
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    # p: ~, V) y: [+ m" D$ ^
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode/ S6 o: ?# u2 g1 @" k* G: B
  1095. ; http://php.net/odbc.defaultbinmode! e& b  D8 l3 G7 l1 h
  1096. odbc.defaultbinmode = 1
    ( L+ o. a7 s( y' w0 r5 W# ?
  1097. 4 b: [3 ^" I0 E. n" z
  1098. ;birdstep.max_links = -1
    8 S$ c5 R1 X; @1 @0 B( H

  1099. 7 H: Q5 @# U. R7 ]0 Q) f/ H6 o
  1100. [Interbase]* Z9 Z3 S5 o4 z* r, w, E6 P
  1101. ; Allow or prevent persistent links.
    3 x% W+ a( K! a
  1102. ibase.allow_persistent = 1( U2 T6 a  U. A$ g+ S# v
  1103. ; z6 O  |& l. V+ w0 A3 u8 F0 ?: u
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ' m5 L& D6 j! `. e# b
  1105. ibase.max_persistent = -1$ x, B- [6 H+ l5 ]; a' @# v

  1106. 7 ]- F: n3 z( ?2 d
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    & z: B4 U6 }9 X( s
  1108. ibase.max_links = -1
    6 x/ P3 Q, w$ t5 G4 p- N- E- F
  1109. $ L8 C; b+ R: \% _
  1110. ; Default database name for ibase_connect().* B  I% ?- v, x+ d
  1111. ;ibase.default_db =( Y+ _- O7 Y  [( E; ]5 P% a" {# e& G
  1112. # l+ z0 y% ?5 i; i9 ~
  1113. ; Default username for ibase_connect().+ i) K3 Q5 Z1 m9 L$ u8 m; L0 B
  1114. ;ibase.default_user =
    5 N9 _4 p! w: Y0 a5 Y0 y

  1115. 1 _+ ]! M# s, y: }, r( ~
  1116. ; Default password for ibase_connect().
    & O6 ?6 V# b. m1 b2 {" T
  1117. ;ibase.default_password =4 M5 |3 M% ?- w6 v$ ]( V+ s

  1118. + S+ [: [$ T4 P& e# @
  1119. ; Default charset for ibase_connect().6 z1 G& F' ]& ^
  1120. ;ibase.default_charset =7 f9 {) O1 D  a. S8 Q/ b1 i
  1121. . J6 w& t: K" C" [; k
  1122. ; Default timestamp format.4 S2 X3 z& @$ G$ ~$ C  f/ b$ O  P. C
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
      N; d# f, d4 i; w) b. `% I
  1124. 3 x: v% Y& Q3 X
  1125. ; Default date format.
    & C- T) J( K' C% C- ^' g
  1126. ibase.dateformat = "%Y-%m-%d"/ Q* x8 P+ ^8 F3 ~% b# O

  1127. + I1 [; ~. J6 p- z* p
  1128. ; Default time format.
    2 Y2 O' j& X  @/ w+ T/ v
  1129. ibase.timeformat = "%H:%M:%S"9 h" u! `  R/ g

  1130. 8 P5 z, ~/ _1 C5 P) f
  1131. [MySQL]
    * c3 ?, O5 t4 m% m
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ' L# S/ _5 Q6 q' {
  1133. ; http://php.net/mysql.allow_local_infile
    9 X3 ]  q  R. e( R, [2 ~
  1134. mysql.allow_local_infile = On* i5 K; U, ]; p3 J6 D/ G' ~

  1135. 9 e. ~' J( @* b! P' o. E
  1136. ; Allow or prevent persistent links.( q. R: g! }8 n7 _% ]; w
  1137. ; http://php.net/mysql.allow-persistent
    % O* b' G4 d, L2 a8 C3 O/ N
  1138. mysql.allow_persistent = On5 F1 |. Q7 s+ w" e

  1139. " i/ S1 G, X# v
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache6 m' M) L- [$ U; ~' `7 z& Q/ B
  1141. ; http://php.net/mysql.cache_size1 m  h2 M- [) I
  1142. mysql.cache_size = 2000
    - j% h/ N5 E& ?0 v% l, v, F
  1143.   |& h8 P7 G1 n/ U4 z" _) L$ t3 n; S6 V4 Y1 C
  1144. ; Maximum number of persistent links.  -1 means no limit.+ b  y% B8 d2 e( V: }/ I, A$ z
  1145. ; http://php.net/mysql.max-persistent
    " U5 m+ J& Y( ]! a7 s' e) ?7 @
  1146. mysql.max_persistent = -1
    2 h- W) z4 J3 i9 e  x
  1147. " C1 e8 Y- [: p5 I+ T8 I( }
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * `0 n+ U0 I! ]0 y5 ^& b' }9 G
  1149. ; http://php.net/mysql.max-links/ ~- E" h) `! n/ e8 _6 \
  1150. mysql.max_links = -1
    : D  n4 y- `  E
  1151. * t4 W: C4 W: ~' d+ r
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    9 T: L; r1 R! m6 m, w
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    5 s( ^$ S+ T+ r# H+ r6 R
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    / L, ]. {* U& h: P  H/ N- T8 e- ^
  1155. ; at MYSQL_PORT.
    2 {( J$ a+ [4 _( ~, k# i  B/ x
  1156. ; http://php.net/mysql.default-port9 p3 d/ j2 c" d# w/ K; _, [: O
  1157. mysql.default_port =: b8 n4 _$ w) o9 }1 b1 e+ [& I
  1158. 8 e  X" r2 x% v* E7 ?
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in9 d: S2 L( Z" v' Z1 o
  1160. ; MySQL defaults.
    6 l/ [3 Z. ?# ~! d) Y! }9 y' G( i* C
  1161. ; http://php.net/mysql.default-socket6 k4 I7 y' p+ k# k5 u" D! \. W
  1162. mysql.default_socket =
    ( |1 b4 e/ q* \6 e
  1163. + U0 K- c: d7 W1 k: H+ O+ [
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).$ H) z! Z' v; R. M8 W
  1165. ; http://php.net/mysql.default-host6 c  e9 z, |- j4 d) i
  1166. mysql.default_host =
    5 C( r0 c1 l2 l  T9 Z
  1167.   q8 H# [8 O* d1 \3 p3 e
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    - J9 ]" z+ Z& X7 ^
  1169. ; http://php.net/mysql.default-user" A; g) n' |) r4 |& z
  1170. mysql.default_user =1 X+ v0 k' \- ~( u
  1171. + o) ]% R7 t- @3 C
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).- G+ c* l/ W/ {  T9 G0 e. Q; P
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.6 N, e" p/ m( {9 c; m+ t& Y
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    : \" Q  Q  H7 S* V* {: n2 k0 b6 c
  1175. ; and reveal this password!  And of course, any users with read access to this
    ) i1 \3 V- H! [
  1176. ; file will be able to reveal the password as well.5 I) j6 `4 ]8 }
  1177. ; http://php.net/mysql.default-password
    7 \1 p9 U. b* ~5 M+ ~- j# W  x
  1178. mysql.default_password =
    8 S9 B- ^) _/ K+ V  L( n5 o5 j

  1179. & I3 P+ M6 y$ h; i8 W7 p# E
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit% c# i2 `4 s, Y" |+ g
  1181. ; http://php.net/mysql.connect-timeout3 e# {8 ?0 p, [' ?& \" C' q
  1182. mysql.connect_timeout = 60% s; k7 p$ ^) _5 T' E! H
  1183. 8 n/ R, v$ s  V; q+ n" d6 Q
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and4 j* I/ {# {& h8 ^8 j6 x
  1185. ; SQL-Errors will be displayed.
    / }0 k! e- Y/ ]" P, T
  1186. ; http://php.net/mysql.trace-mode4 |& J) u, h+ u2 G* ?; h- a( C
  1187. mysql.trace_mode = Off
      n! r& i! }& Z
  1188. 5 l, [% M" G7 i9 X- D
  1189. [MySQLi]
    . C, ^+ S" M' b; C& t8 o. R
  1190. " p8 w4 _3 D, \) z$ X/ }' r
  1191. ; Maximum number of persistent links.  -1 means no limit.
    5 i! d! O% w! S# I" X. ~1 u) `
  1192. ; http://php.net/mysqli.max-persistent
    / Y6 b# M& @$ M. w& F# W( k
  1193. mysqli.max_persistent = -1, t" z* I* P3 O
  1194. 3 H; @3 ^. Z# |5 T: N% {# t" X
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ) W: q  x: U2 g  \! N. R9 v+ R$ C
  1196. ; http://php.net/mysqli.allow_local_infile2 d  D0 t7 q0 A5 f# I2 f; Y
  1197. ;mysqli.allow_local_infile = On; g% R* p# J# J3 e! @
  1198. + r1 K, m: B$ E# ?
  1199. ; Allow or prevent persistent links.
    - r3 A4 W5 z% ^3 l. e, v
  1200. ; http://php.net/mysqli.allow-persistent3 [1 b1 C' q" ]' ?4 K% y
  1201. mysqli.allow_persistent = On5 j+ w7 l  T& u% M4 J
  1202. 8 ^& P9 j) l! C, c# }8 m
  1203. ; Maximum number of links.  -1 means no limit.
    ) |" V) G" d! d- s& ]- H, }
  1204. ; http://php.net/mysqli.max-links( ^7 A, y% h5 f0 N: X3 p( m
  1205. mysqli.max_links = -1
    ; F7 b: C4 n5 ]0 O5 H* X; @

  1206. . c; K/ T. D9 F1 c& D) o: A& p  u/ Q
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + b4 j; _% N- A
  1208. ; http://php.net/mysqli.cache_size
    ( Q- q7 }& `1 O9 b# B
  1209. mysqli.cache_size = 2000
      j3 a6 @* U" t2 U  u. {

  1210. ( c4 K, `5 n$ J) n
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    1 w6 c2 V7 F! D' q" J
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the4 M: G) {0 a- C& z( v" O
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look* a6 i4 q% b+ j; U+ N# W& m! Y- A
  1214. ; at MYSQL_PORT.
    / i# F4 W  Z% C; X
  1215. ; http://php.net/mysqli.default-port* A# }! d( R1 ?5 a, h! z4 ]
  1216. mysqli.default_port = 3306( E: f, Y4 U# f- I6 B" }, k5 R: W% P

  1217. 6 F5 S3 g- u  z' _7 j& `
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / W' ]( E7 t8 W5 H3 c* F( f
  1219. ; MySQL defaults.
    . g5 B. a  M  d4 w- a* h: R' x1 I
  1220. ; http://php.net/mysqli.default-socket! |' z0 H! T5 p2 v
  1221. mysqli.default_socket =& N! o! X4 q9 {/ [, c. e

  1222. # A7 a. \3 F5 z9 u5 m
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    % X! Z0 F6 `/ p' k  _
  1224. ; http://php.net/mysqli.default-host8 c) D: u& j' F1 ]' S/ ]- T' H/ h
  1225. mysqli.default_host =6 P3 i" O( G, ^  }

  1226. " J, g# c% S0 C/ h/ X4 c8 [
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    / f5 R) {: R9 n5 l1 ?
  1228. ; http://php.net/mysqli.default-user* c8 C# H5 N: K( e7 u; }; \
  1229. mysqli.default_user =) O" J7 b% x* a, \, ?9 p

  1230. / p# c2 i9 O9 V3 I; ~/ H# t; r
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    " g7 c: X9 ~& ?1 t
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    & G2 y* p6 L' q' O5 B% J# _3 c
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")6 z: ]$ m7 y2 Y# C) [; Q* a
  1234. ; and reveal this password!  And of course, any users with read access to this4 L8 c; P7 I) y+ k9 v
  1235. ; file will be able to reveal the password as well.5 w2 b( ]  G/ p2 U6 e/ l, c
  1236. ; http://php.net/mysqli.default-pw7 \% N/ z1 N7 G1 L1 N# j9 t$ L" D5 I
  1237. mysqli.default_pw =$ X% m8 ]: j" x9 I% ^" N& _0 X5 x6 O
  1238. ! o0 l8 d# g3 D
  1239. ; Allow or prevent reconnect! g. U8 p/ C# w+ K; C
  1240. mysqli.reconnect = Off% U* }- v& n+ W" `( W: p. F2 c$ p
  1241. . P" O( N) _$ M" c1 x* o( Z  }
  1242. [mysqlnd]
    - L- w( W0 L7 U, c* y3 _
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be/ Q6 X. f2 J. x5 ]/ N4 j- \
  1244. ; used to tune and monitor MySQL operations.
    - v8 m- n* Y* B4 D) M+ }
  1245. ; http://php.net/mysqlnd.collect_statistics
    ' X! a, r  ]; L' i! F
  1246. mysqlnd.collect_statistics = On
    + I4 C5 Z8 P3 U8 M
  1247. 1 ]1 z2 E  F, D- B, G- e# d
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    3 ~7 l! v6 _) j% P; \7 k5 I; E2 j( q
  1249. ; used to tune and monitor MySQL operations.
    2 g/ [8 b1 V% \4 B
  1250. ; http://php.net/mysqlnd.collect_memory_statistics3 d! Y, V. }4 h. m+ Q$ j' W
  1251. mysqlnd.collect_memory_statistics = Off
    / I1 |; \3 Q( [6 a- a+ \& d: O
  1252. 6 V$ A) c2 M$ l, w
  1253. ; Records communication from all extensions using mysqlnd to the specified log8 j% l5 Y- K8 h4 B
  1254. ; file.
    % A- ~3 P) J4 F/ ?4 H9 `
  1255. ; http://php.net/mysqlnd.debug
    + g, A/ ?+ F! }0 H+ i
  1256. ;mysqlnd.debug =
    - u* q+ A5 s' @* u! P/ S7 m  J

  1257. 2 P3 M9 g" a& e" ]9 A8 j
  1258. ; Defines which queries will be logged.
    0 s. p9 S, |; w6 o
  1259. ; http://php.net/mysqlnd.log_mask! r5 v4 P. g* q$ i; X
  1260. ;mysqlnd.log_mask = 0
    / l2 e* X$ a# J; C0 t) Q9 U
  1261. $ E) T: ~' q% m" z: C, L
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    1 j5 q# c* h; o! K& \; E
  1263. ; http://php.net/mysqlnd.mempool_default_size, T; {6 b, ^- F
  1264. ;mysqlnd.mempool_default_size = 16000
    3 z7 Q9 d1 e+ K7 B
  1265. + s# e( ?& f; x9 H
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes./ [' W+ P* B3 ?' S$ x
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    , n$ V9 ?% z' C" l4 R2 m6 T
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    ; H; }1 p9 q) q) {: E
  1269. / f2 L' I' f3 M) f
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in( s6 f; G9 ~: Z9 `
  1271. ; bytes.
    + U- p2 w; W! g4 }
  1272. ; http://php.net/mysqlnd.net_read_buffer_size. |: P3 Z9 w% Q! Y
  1273. ;mysqlnd.net_read_buffer_size = 32768
    . K* k2 _8 K: Z0 ?

  1274.   w4 |9 v/ }9 H4 x% s  P. ?6 f
  1275. ; Timeout for network requests in seconds.- p( @, E6 D- a9 N4 `1 E) o
  1276. ; http://php.net/mysqlnd.net_read_timeout
    ! M+ s/ Z: ?# p, q; r% L# B
  1277. ;mysqlnd.net_read_timeout = 31536000) P: h0 p$ N# f1 K
  1278. ( r. g, [) Z, d# J1 I1 k. d" b: ^
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA6 t( |+ F$ ?6 p. L' O
  1280. ; key.! u8 ?" N4 d  P5 S1 F( \7 k1 C
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    % k; |0 B2 Y; ?: q9 Q
  1282. ;mysqlnd.sha256_server_public_key =
    9 G( L4 [) T$ g2 n+ M# ^  P
  1283. 4 n1 ~6 n# S8 X! U
  1284. [OCI8]& U- W9 r( r9 g

  1285. / y" I3 P1 F' Q. T7 m
  1286. ; Connection: Enables privileged connections using external& I9 T9 K7 o4 G1 t, H6 L8 g
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    , L; J* S. D3 u6 M
  1288. ; http://php.net/oci8.privileged-connect
    9 _  b, ?# Z+ @; X6 P& e
  1289. ;oci8.privileged_connect = Off
    2 K9 ^# z3 ?) x. }$ a
  1290. $ f( ~! m8 l3 e- f
  1291. ; Connection: The maximum number of persistent OCI8 connections per. D% b3 |" r0 H" ~
  1292. ; process. Using -1 means no limit.5 b" J% X$ ~( B" S( \6 w) u
  1293. ; http://php.net/oci8.max-persistent
    9 e7 q: T# A2 }8 O) F- l) c% `
  1294. ;oci8.max_persistent = -1) O6 L5 b3 ?/ N
  1295. 5 D* m: n( @* [/ o) Q/ i: U1 Q, j0 C
  1296. ; Connection: The maximum number of seconds a process is allowed to( c5 P# ]/ `* Q) V
  1297. ; maintain an idle persistent connection. Using -1 means idle
    & z( h) r/ t, @- n* Z' d
  1298. ; persistent connections will be maintained forever.9 ^; ~4 {% N2 a: K7 w
  1299. ; http://php.net/oci8.persistent-timeout
    4 H/ c* O& D0 Z3 v8 E
  1300. ;oci8.persistent_timeout = -1# T" c" x( `$ ?; e
  1301. , {; `8 c# o4 e! u. C, f
  1302. ; Connection: The number of seconds that must pass before issuing a
    ' g4 d8 w: l& C1 m' O9 S
  1303. ; ping during oci_pconnect() to check the connection validity. When
    5 y9 z  x6 v5 ~" _" a& z- l7 g
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ; ~6 D4 z7 l% f9 I0 ?9 p  b& f9 v/ q+ V
  1305. ; pings completely.% v/ k# a$ F6 x' m+ F
  1306. ; http://php.net/oci8.ping-interval
    ( V) x0 H+ L3 t$ T( j
  1307. ;oci8.ping_interval = 60, a- P* Q( u0 ?9 T6 R# a
  1308. 2 O! X' x; m5 Y! [2 V" `
  1309. ; Connection: Set this to a user chosen connection class to be used' Y* O/ t6 {# y% `# ]
  1310. ; for all pooled server requests with Oracle 11g Database Resident: z3 z7 M" `( J( Z; e& p: A5 ~+ E
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    * ]$ q( J( e& s$ E! Q
  1312. ; the same string for all web servers running the same application,# V5 ]( _2 I  W, p! @' Z
  1313. ; the database pool must be configured, and the connection string must
    - m/ J+ E7 g; o* @2 Y0 e: E8 g, |0 }
  1314. ; specify to use a pooled server.( _9 f0 A; B: T" b
  1315. ;oci8.connection_class =2 V- n. T1 Y' v6 P2 j$ A2 P

  1316. ' [: W( _% [5 ]: `
  1317. ; High Availability: Using On lets PHP receive Fast Application) L$ ^% p: A7 N- i/ s/ m
  1318. ; Notification (FAN) events generated when a database node fails. The
    6 p, ~8 Z# e7 l0 \7 m
  1319. ; database must also be configured to post FAN events.
    , Z/ e  J9 Q! U% f- |3 C2 n
  1320. ;oci8.events = Off# p) h8 w& Z, s; A' M* u

  1321. 1 o8 H* V' x! v+ s9 q! ~0 h
  1322. ; Tuning: This option enables statement caching, and specifies how
    . h" j1 S3 q+ k: k. i
  1323. ; many statements to cache. Using 0 disables statement caching.4 ?! W8 k5 I7 K
  1324. ; http://php.net/oci8.statement-cache-size( k3 U$ m& e7 I% E2 O
  1325. ;oci8.statement_cache_size = 207 `3 c3 P. }# i! h6 F
  1326. : A! t/ J- p$ J( [6 @
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    3 }  P# B1 g: D, ?$ m
  1328. ; rows that will be fetched automatically after statement execution.( T5 i3 |4 l6 j5 u
  1329. ; http://php.net/oci8.default-prefetch) h6 T* ?. m! m( N
  1330. ;oci8.default_prefetch = 1002 f2 U' _; a$ p2 b# T9 }

  1331. + j/ g& m8 j! V1 u7 p
  1332. ; Compatibility. Using On means oci_close() will not close
    ( a% G: o* G8 i( y# r( A  R" p9 ?( x
  1333. ; oci_connect() and oci_new_connect() connections.; {$ C' o4 B: z2 h( S; n9 @
  1334. ; http://php.net/oci8.old-oci-close-semantics7 J. k7 r* \0 W6 F: _
  1335. ;oci8.old_oci_close_semantics = Off! ]& `8 U( P' B: J

  1336. # N# @6 }2 ^$ ?7 }! i
  1337. [PostgreSQL]
    5 D4 v2 ?- k% |& F. C; n
  1338. ; Allow or prevent persistent links.
    3 ~+ F( g( X8 ?) m! p: i% k
  1339. ; http://php.net/pgsql.allow-persistent: q* D. G4 L( n, W
  1340. pgsql.allow_persistent = On' }9 b; u/ P3 T9 E) L; y

  1341. 4 c- F+ x2 p+ W1 F$ j% [$ G
  1342. ; Detect broken persistent links always with pg_pconnect().1 r% L0 j8 P. P7 h# s
  1343. ; Auto reset feature requires a little overheads.
    9 B7 e8 [. Z0 p' I7 M
  1344. ; http://php.net/pgsql.auto-reset-persistent5 f" A0 u1 F; b1 w8 e
  1345. pgsql.auto_reset_persistent = Off
    3 k, \( R9 L" d2 n4 \& A

  1346. & n( |# r9 {& P# ~4 O# G
  1347. ; Maximum number of persistent links.  -1 means no limit.) }0 C  r5 B3 A8 O$ H4 X9 D
  1348. ; http://php.net/pgsql.max-persistent
    # \4 w" y: H5 J9 H8 P; Q! [
  1349. pgsql.max_persistent = -1
    9 k# B% Y. ?( I7 f+ ]

  1350. 0 i, f7 @/ l/ u+ y# w! ]
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.7 I; u4 E" Y* z, u9 x9 t
  1352. ; http://php.net/pgsql.max-links
      V' v7 R" I) D; V
  1353. pgsql.max_links = -1" M8 U) X$ r6 E3 g+ e7 K

  1354. 9 P6 h1 S8 b# h. |$ n( O
  1355. ; Ignore PostgreSQL backends Notice message or not.' M$ Z- z- W& s6 ^
  1356. ; Notice message logging require a little overheads.$ e/ a; m- _9 A( V
  1357. ; http://php.net/pgsql.ignore-notice
      P, k) I& @2 K5 A
  1358. pgsql.ignore_notice = 0! I* t# O1 Q) [7 Q* J7 p/ U
  1359. ; d% X  p$ @8 O! w+ c
  1360. ; Log PostgreSQL backends Notice message or not.& H( v  c. K8 v3 r
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ; N$ \3 V& Q0 e! Q& W" i
  1362. ; http://php.net/pgsql.log-notice; Q6 \/ `; U! `/ J) Q
  1363. pgsql.log_notice = 0* s# b( x$ I9 A; \
  1364. 9 L  H, ^" B0 D6 g. I1 i
  1365. [Sybase-CT]# v% G7 ~, U! n
  1366. ; Allow or prevent persistent links.
    % y% k9 P8 O7 o) t" B# ^; ]
  1367. ; http://php.net/sybct.allow-persistent
    - D3 O  X/ A$ g# J9 v3 w& }# `
  1368. sybct.allow_persistent = On: W3 v% S) D4 K, y$ I1 b  ^
  1369. 6 o& ]! a- T6 v7 M/ N9 i2 j
  1370. ; Maximum number of persistent links.  -1 means no limit.4 ~9 P2 B" B: U+ v# k. _& q
  1371. ; http://php.net/sybct.max-persistent5 t0 i  ?7 F+ c( s6 Q) F; m
  1372. sybct.max_persistent = -1
    # l- Z$ S- e; ?& w) p) U

  1373. . J0 R, R- ]* l
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 n1 X* n: o1 P: F
  1375. ; http://php.net/sybct.max-links
    1 _4 ]& \5 b: ^
  1376. sybct.max_links = -1
    ; C: g9 f8 E3 l3 c
  1377. / \  I( I) W( Y& c5 N/ @
  1378. ; Minimum server message severity to display.8 L# _4 J- }  @  m$ C* F) E; g
  1379. ; http://php.net/sybct.min-server-severity
    8 ]( v5 N) Z+ Q9 Y$ q3 ]/ D
  1380. sybct.min_server_severity = 107 ^% Q1 M  D2 I3 [0 Q8 D
  1381. * i) R* ?+ S, F9 C2 U) b3 S, |. a
  1382. ; Minimum client message severity to display.
    6 B. u, z- @" Q6 _3 A* L/ ]
  1383. ; http://php.net/sybct.min-client-severity- ?& }9 J4 j- ^* L, p9 |" ?% g
  1384. sybct.min_client_severity = 10
    ( S# @4 B7 \" r; _, u
  1385. 0 L! j" _+ w9 o- W
  1386. ; Set per-context timeout+ H7 m7 z" y# S+ V4 a2 S+ h( U
  1387. ; http://php.net/sybct.timeout
    * l+ B' U$ B+ m! a# ?( v
  1388. ;sybct.timeout=
    9 W* k& ]/ g: _! |; x" l
  1389. ( [: N- I# _! p2 R; `
  1390. ;sybct.packet_size$ H* j- a8 |+ z/ |% ^$ G  U  w. [

  1391. / B8 x2 [- Q& @! [
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    3 A# ~* J2 @/ p
  1393. ; Default: one minute
      X, Y3 ?$ n- y  A. b+ Z
  1394. ;sybct.login_timeout=
    ( L  e0 ^& H+ t0 p% u2 Y( g- v* x
  1395. ) l, K1 a) t. A# y8 w& U# _- c
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    ' t. j$ Z- Q* ^8 y( M3 W( l
  1397. ; Default: none+ l, h5 V. S6 `* j' f. Z
  1398. ;sybct.hostname=
    ( h0 z, q8 c0 L

  1399. / k8 D! M9 [! z4 S4 K+ s( y
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    1 c: u1 l) ^6 J1 [2 s8 H
  1401. ; Default: 05 q4 f- g" ]: R; Z" i& w3 l) u' z- ?
  1402. ;sybct.deadlock_retry_count=( h) J8 k+ u" X. V6 J4 @$ r+ J7 S3 y
  1403. 2 X; c) }5 F9 c2 [# [5 i
  1404. [bcmath], ?/ U/ w; P) L1 `3 U  ]) t" O
  1405. ; Number of decimal digits for all bcmath functions.9 m; k. }$ i+ }9 p4 @) H1 \
  1406. ; http://php.net/bcmath.scale
    3 R! [8 @7 Y' s6 w
  1407. bcmath.scale = 0
    * Q* @% p/ C+ Z, C" N
  1408. 9 G# i- r. m# \8 Z
  1409. [browscap]
    7 V1 S) W4 d3 x
  1410. ; http://php.net/browscap+ H7 v4 @% X5 t# ^6 S7 G! z
  1411. ;browscap = extra/browscap.ini
    3 k3 M( x, J+ b0 W1 D: B
  1412. - e1 B3 o5 }' K6 f% A6 f; S
  1413. [Session]
    8 o  }$ G! J- ]+ ]& Q6 ^# L1 Y7 D8 c
  1414. ; Handler used to store/retrieve data.
    9 Q% T% X* D4 K' [) n9 h; m* Y- l
  1415. ; http://php.net/session.save-handler
    " S6 D" K" a. S1 P9 l1 ^
  1416. session.save_handler = files( e. W, W% i4 T8 ?& a" m+ o( m
  1417. % V/ e$ O" y3 Q9 x/ V
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    4 [4 n* g8 x" D% ~2 x7 |8 D
  1419. ; where data files are stored. Note: Windows users have to change this6 c+ u/ T+ ^  L$ V- r
  1420. ; variable in order to use PHP's session functions.
    7 G) ]/ q% L8 e* [) f
  1421. ;
    1 Z/ P) l# w) z7 y- y
  1422. ; The path can be defined as:
    ' P) `$ @* b( d# C5 }5 S
  1423. ;
    7 U( D0 N3 g3 n7 c& L, @, N4 M* _
  1424. ;     session.save_path = "N;/path"( i# ], T. x# U) O& |9 u2 R& k
  1425. ;
    / w' Z( r, W; L7 H: I
  1426. ; where N is an integer.  Instead of storing all the session files in  _4 `: L& R) v. R6 ^1 Q
  1427. ; /path, what this will do is use subdirectories N-levels deep, and# Y7 L8 Z5 L8 o7 _4 @
  1428. ; store the session data in those directories.  This is useful if
    + _$ g- I" h; L1 J* M3 Q4 Y0 S
  1429. ; your OS has problems with many files in one directory, and is
    / `& f& L+ c$ Z3 D, @. z0 }+ A
  1430. ; a more efficient layout for servers that handle many sessions.
    8 L( P( K6 [/ ~- Z* r# v+ x) J
  1431. ;/ I5 o' o* B( l7 p0 y
  1432. ; NOTE 1: PHP will not create this directory structure automatically.# L8 o* Z; e+ P' b! ?
  1433. ;         You can use the script in the ext/session dir for that purpose.
    ; Z  {) M( Y0 }4 c2 s, L
  1434. ; NOTE 2: See the section on garbage collection below if you choose to# X4 ~6 V1 @) \/ u
  1435. ;         use subdirectories for session storage
    4 `2 c% p$ ?# P1 S: }$ J0 {$ q
  1436. ;
    ! @7 v0 Y, R2 m6 Q( E5 J1 n7 v0 U
  1437. ; The file storage module creates files using mode 600 by default.  B+ B$ |- S) M; Z: u6 D7 b
  1438. ; You can change that by using, `2 I9 H5 J' V6 a
  1439. ;
    ! I7 i7 L! j4 S" g# L2 i5 b+ F
  1440. ;     session.save_path = "N;MODE;/path", p; o* O/ i( F1 M
  1441. ;% ^0 z# C5 t# M; L; o  G" A
  1442. ; where MODE is the octal representation of the mode. Note that this
    # y# K7 f1 X+ S+ P: P" f: A
  1443. ; does not overwrite the process's umask.
    ) _! p* n* g+ A9 g9 W! Q3 ^% Q, e
  1444. ; http://php.net/session.save-path! h8 P3 i+ z  I' ?0 ~. P% y
  1445. ;session.save_path = "/tmp"
    ' v' i7 H' f% w& Y0 {0 g, v+ \

  1446. / Z3 G" [! T, E; r& \
  1447. ; Whether to use strict session mode.
    * n9 y0 v- j: {
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    2 w. Z8 \, h: E1 ~& K
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    4 I& W' \7 w  e: ]; h+ S
  1450. ; applications from session fixation via session adoption vulnerability. It is) I& C: X: c& k1 w9 ]  w0 z! M
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.  [) k) z' R- E5 j0 C
  1452. ; https://wiki.php.net/rfc/strict_sessions2 Q4 G; r0 ~2 o. J4 t, M
  1453. session.use_strict_mode = 0# \3 ^0 {6 W4 R  H' T

  1454. # D1 c, D1 ^0 m5 z  G6 f
  1455. ; Whether to use cookies.
    ; B$ |" N. R6 |# h- u- [" E
  1456. ; http://php.net/session.use-cookies# j' V2 |3 H1 Y$ i0 ~0 k
  1457. session.use_cookies = 12 Q5 g7 i7 r4 j& n& y8 g: G6 y

  1458. ' G2 ^. g+ P% T4 v5 _. U' I
  1459. ; http://php.net/session.cookie-secure
    ; U: u1 Z5 f! C# d. J
  1460. ;session.cookie_secure =7 Y: k4 T( l! r7 w& ]2 Z9 \

  1461. 1 H0 L1 ^  @& R8 U9 N' Y7 v9 W8 E$ A
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining' |/ L% `4 H% ~& G
  1463. ; the session id. We encourage this operation as it's very helpful in combating. I4 d& D3 _/ \( _2 Q7 j! {& U
  1464. ; session hijacking when not specifying and managing your own session id. It is8 Z, C! u- @/ B0 I; m2 |, W
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ! i, N6 R! e5 d) Q' W. q
  1466. ; http://php.net/session.use-only-cookies6 l3 r" T6 u) A1 Y4 x# O+ z1 |
  1467. session.use_only_cookies = 1
    $ U% f$ M6 X% D% @7 k! f' x
  1468. ) B2 k$ I, g) L* {1 K/ P
  1469. ; Name of the session (used as cookie name).% x/ w$ r+ \) Z$ T. h+ G+ R, u! y$ g
  1470. ; http://php.net/session.name
    / ?; g8 X' G& B1 l; @9 J
  1471. session.name = PHPSESSID0 {7 E, U0 e/ M

  1472. * e8 c. g, o) E# s" G4 E9 s
  1473. ; Initialize session on request startup.( M- a, S' E5 c9 p- v4 f: B5 T
  1474. ; http://php.net/session.auto-start
    ( o: n; H9 D4 c
  1475. session.auto_start = 0
    2 c, p) j: \, t4 r, Y
  1476. $ Y# \! b1 c# }! Z' R1 W1 @
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    + L) C4 |. |8 q7 |5 G
  1478. ; http://php.net/session.cookie-lifetime2 k1 j0 y0 E* r1 o/ q2 A' P
  1479. session.cookie_lifetime = 0) V$ d& E- [$ M5 o' a

  1480. $ \! W: V& C% `) A$ f& H
  1481. ; The path for which the cookie is valid.
      |# C6 f& U1 R7 Q3 I. Z
  1482. ; http://php.net/session.cookie-path# t' |  o$ |4 z" U4 r
  1483. session.cookie_path = /# {  U# G; |% f+ U/ C5 d

  1484. ) W, ]+ b* Z# [1 E
  1485. ; The domain for which the cookie is valid.
    ; ^6 F" m  B( ^: T5 l5 _) O
  1486. ; http://php.net/session.cookie-domain
    . [0 O- `+ Z! q; n5 b& V' E4 f
  1487. session.cookie_domain =
      X) u8 _  @, ^

  1488. ! [+ }- f1 i/ g, G2 u1 g
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    & h& X3 U* P1 c- L. C
  1490. ; http://php.net/session.cookie-httponly
    + s6 Y  {' D" N7 ~
  1491. session.cookie_httponly =
    6 x* u1 X% f( B( a1 [9 O- K

  1492. 5 r3 s% Y( H5 I0 H+ n4 z! L
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.% e* R" ?4 N$ z/ P+ H& B, R; r
  1494. ; http://php.net/session.serialize-handler
      H( n$ V/ u# ?' a, H9 p' D
  1495. session.serialize_handler = php5 r) I. T9 u  g% @- D- r
  1496. 5 C# v' P  ~4 f- o. a
  1497. ; Defines the probability that the 'garbage collection' process is started
    ( X& I& I0 n9 m# ?, g! @/ `
  1498. ; on every session initialization. The probability is calculated by using
    & L' S/ P1 F6 Z. c+ E- Y
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    : p3 j; \- B) O+ H7 L) A6 M
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    4 O# f' k) _+ Z  O7 z
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance; P' ~, w" L, v/ l1 T! @5 X
  1502. ; the gc will run on any give request.# X7 v8 V* r+ [2 d7 o+ D
  1503. ; Default Value: 1
    * n# P4 C: Y! O: z4 m
  1504. ; Development Value: 1
    * }- S* ]- V0 y9 b# p5 Z
  1505. ; Production Value: 10 T% t# _, U- V0 \
  1506. ; http://php.net/session.gc-probability1 }+ e" ^: `3 K" ^! @3 j
  1507. session.gc_probability = 1: C" }4 s5 a) m3 Y/ A4 P
  1508. 5 ~& `. S% J! U/ s  @& C0 Q# W! u
  1509. ; Defines the probability that the 'garbage collection' process is started on every! h# d5 @+ U* t! S! \+ ?
  1510. ; session initialization. The probability is calculated by using the following equation:
    5 m2 F* @2 }. E8 g  [& r. q' L
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    1 u* R! Y2 F6 \) _% V
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 14 m, G' _& X) e" `
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    $ p7 |# j! t. X  d9 P4 q% G
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you( N+ E. f: c! F1 L7 [
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,' j3 P+ a4 |! ]+ v  R* n. C$ a
  1516. ; this is a more efficient approach.  E) i) t. ?1 f) z1 V
  1517. ; Default Value: 100& q7 T0 }" n* o/ U$ o; k% K
  1518. ; Development Value: 10005 c# k0 e$ Z8 \; n, m; s! A
  1519. ; Production Value: 10002 J& f0 C4 \6 r; u: t6 M
  1520. ; http://php.net/session.gc-divisor' q$ s0 J3 V6 g+ c+ E
  1521. session.gc_divisor = 1000
    9 m* d# c2 Z- L
  1522. & W8 ]" ]9 P0 I. p
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    ) G6 e: \$ x$ ]) M
  1524. ; cleaned up by the garbage collection process.
    ( ]5 Y3 W0 u: X* B$ D3 r4 r
  1525. ; http://php.net/session.gc-maxlifetime
    7 o+ m1 }- u; u1 L/ I# h
  1526. session.gc_maxlifetime = 1440
      i9 o8 }7 n% L  \
  1527. : |# x# i# M# t# d9 n
  1528. ; NOTE: If you are using the subdirectory option for storing session files. `; U' U0 Q* n: d
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ! o9 w( b: f, i( K
  1530. ;       happen automatically.  You will need to do your own garbage
    : K+ C# r, p6 m3 O! b/ o5 V
  1531. ;       collection through a shell script, cron entry, or some other method.
    7 I: s  U' ^' k9 a6 J+ G/ {
  1532. ;       For example, the following script would is the equivalent of
    ) c3 K; L5 ~- d, f& {) C; t
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ) }6 Q1 k; Z, E* L- W; W. [
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm# [9 m+ d" n8 U7 v5 A; \
  1535. ) T- b3 n" R" X/ B4 e1 K
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    9 C: V6 W' x9 n5 h4 p( [9 E
  1537. ; HTTP_REFERER has to contain this substring for the session to be$ a, m6 F8 n  X+ W, b1 Y) ~% X* l. \
  1538. ; considered as valid., E4 G5 y( Z" f7 X7 O/ T
  1539. ; http://php.net/session.referer-check- G; G$ _3 k  P
  1540. session.referer_check =
      i; c7 b. {0 ^* q! t

  1541. 9 Z; R: D# z8 E
  1542. ; How many bytes to read from the file.+ `: _7 V; G3 {' t7 S
  1543. ; http://php.net/session.entropy-length
    + K3 A$ Y% g) T/ r
  1544. ;session.entropy_length = 32- d3 b/ e# @% P: s* k& v2 ]

  1545. 0 S3 `. @, B2 z4 l; N
  1546. ; Specified here to create the session id.' l9 X4 f! b% l; n+ h
  1547. ; http://php.net/session.entropy-file# W* u' v8 r7 {' \& @) `% T+ n" S
  1548. ; Defaults to /dev/urandom9 ?0 D+ o) T2 U1 C- s$ n% J. [. P
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    9 p# \4 d% T2 m7 e% a
  1550. ; If neither are found at compile time, the default is no entropy file.
    - r' ^* s& b# W9 N+ t4 f
  1551. ; On windows, setting the entropy_length setting will activate the5 i" B& J6 F* X3 [0 \" }8 c2 `
  1552. ; Windows random source (using the CryptoAPI), N: X. [2 {/ R9 j
  1553. ;session.entropy_file = /dev/urandom
      Y6 M" [# v5 x9 y- n2 k
  1554. & f9 }- t/ ^0 c3 {
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects/ @$ P# T4 }; S- b
  1556. ; or leave this empty to avoid sending anti-caching headers.
    * v9 q7 E) s9 b! a$ R" f; y9 T1 H
  1557. ; http://php.net/session.cache-limiter
    * i. f1 m( Z- G% o* U( f# x
  1558. session.cache_limiter = nocache6 q, s3 C8 f% r

  1559. 0 F' F& m! R* h; o' h7 U6 e7 y
  1560. ; Document expires after n minutes.5 i4 J! t  f% ~
  1561. ; http://php.net/session.cache-expire+ \. d# q1 C: O% _, P2 M
  1562. session.cache_expire = 180
    ) {! \9 d0 Y- e' x; n

  1563. 8 l& }0 l. I7 Z2 _1 D
  1564. ; trans sid support is disabled by default.
      w1 h7 D9 V1 w$ d
  1565. ; Use of trans sid may risk your users' security.
    2 J% T! j$ |/ m; x; P
  1566. ; Use this option with caution.
    ; T& ]6 L1 O  C$ f7 H3 T
  1567. ; - User may send URL contains active session ID/ L% y: z) i$ k% j; u
  1568. ;   to other person via. email/irc/etc.+ z9 Z/ U" c0 [$ d8 E
  1569. ; - URL that contains active session ID may be stored
    - W$ g/ {4 J2 [; m
  1570. ;   in publicly accessible computer.
    ! w! }8 V: m' i! ^& ^6 U: c- v! Z
  1571. ; - User may access your site with the same session ID
    , M& i/ U0 y: S* H7 u5 |
  1572. ;   always using URL stored in browser's history or bookmarks.* z/ B7 L0 T( P5 [- d2 W
  1573. ; http://php.net/session.use-trans-sid2 @( I) B0 H' d; b& I: r, L
  1574. session.use_trans_sid = 0
    : a5 [# E8 g9 m! t

  1575. 7 C9 c9 O  Q  |. M9 u0 B% d
  1576. ; Select a hash function for use in generating session ids.. i+ n+ U1 M/ v& F$ {& U6 P
  1577. ; Possible Values
    + P6 Y2 t( ?" ~4 x" b" u
  1578. ;   0  (MD5 128 bits)) |! z; ?  q3 o9 C
  1579. ;   1  (SHA-1 160 bits)0 T. ^$ O& W6 X, n- a6 |
  1580. ; This option may also be set to the name of any hash function supported by( O* x3 C: U7 P# e- e% {
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()  t  i7 Y( B4 T; M7 _& l
  1582. ; function.
    ( y& T/ [6 Z3 X( K
  1583. ; http://php.net/session.hash-function' i" A- v5 D0 J+ U, s( r
  1584. session.hash_function = 0
      Z& z5 H6 S- s

  1585. 8 W  c/ ?4 i& t1 Z7 L0 j9 f
  1586. ; Define how many bits are stored in each character when converting
    5 I& A) x, T! }2 c* T5 [3 X7 [
  1587. ; the binary hash data to something readable.
    2 X4 C. R/ o7 j/ s% e
  1588. ; Possible values:, D' \$ \1 t& T6 V9 C1 C
  1589. ;   4  (4 bits: 0-9, a-f)
    0 N" U- D, g: U8 l3 |' q6 {
  1590. ;   5  (5 bits: 0-9, a-v)5 Z/ o* D& `; O. C' J. N
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")( E% l. h3 ?3 \& D1 d1 [( q3 c
  1592. ; Default Value: 4
    ' a, N, g$ P5 O. b% R% |3 ^
  1593. ; Development Value: 5
    ( k" j; K& D- K! i% \. d7 x
  1594. ; Production Value: 5
    : f  l" b# j0 B# \% `
  1595. ; http://php.net/session.hash-bits-per-character
    3 a0 W& u( _, y0 n
  1596. session.hash_bits_per_character = 5. q, r( e: t9 }! `& b9 A1 O9 `) D; @

  1597. 8 S7 A7 T7 g+ f  X; S+ u  N
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.# ]& j8 G# C& P1 H3 @! E8 i
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    " I* |# l( h" q! o1 S7 }4 M
  1600. ; add a hidden <input> field with the info which is otherwise appended- I5 c# S+ k, r; _$ U# H" r
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.0 U# ?: P* N" ~5 p) _
  1602. ; Note that all valid entries require a "=", even if no value follows.* i+ k, H$ n5 }8 q7 w
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="1 ^% h7 H  b3 s
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"5 @- g& Q  a8 O4 i
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ e) |& r! I7 U6 x: y, K& H
  1606. ; http://php.net/url-rewriter.tags
    1 k8 i7 V6 F, d8 D& _7 z
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry") m  @2 P$ a& i% d  E. R2 O

  1608. 9 l) `" y' Y, O! ^
  1609. ; Enable upload progress tracking in $_SESSION
    4 e3 d+ `* z# X, h1 C0 @
  1610. ; Default Value: On
    3 k4 {# U, u5 Y: _4 R: w$ `! \
  1611. ; Development Value: On: ~: i0 U, b( i* l6 z
  1612. ; Production Value: On& ?$ V- P6 W2 Q: r
  1613. ; http://php.net/session.upload-progress.enabled) {3 z% F9 e! ?6 s  }! h
  1614. ;session.upload_progress.enabled = On
    5 g7 @( b4 u1 U
  1615. & N; t4 f# m  l8 f' G
  1616. ; Cleanup the progress information as soon as all POST data has been read2 o, e& n8 r: B
  1617. ; (i.e. upload completed)." Z" z# a3 v% F8 g6 R
  1618. ; Default Value: On
    3 j* {# B$ R. e
  1619. ; Development Value: On' U5 Q; T) F$ L) U. ?: c* V2 m" @+ S
  1620. ; Production Value: On+ `0 P$ x8 x+ r- g( J0 g
  1621. ; http://php.net/session.upload-progress.cleanup; @7 T- y# K2 L4 B3 k0 G6 N
  1622. ;session.upload_progress.cleanup = On
    ) U9 A# E1 Y( ~! A6 C/ t1 [2 o

  1623. : d; ^+ K, H' d+ n5 y
  1624. ; A prefix used for the upload progress key in $_SESSION
    " l4 l1 _7 w7 D0 k4 d2 f- ]
  1625. ; Default Value: "upload_progress_"8 c+ \4 N6 _  [: j( ^5 w+ q
  1626. ; Development Value: "upload_progress_"# F% A% X0 K9 b6 G2 v. g8 s
  1627. ; Production Value: "upload_progress_"
    . b0 M; V# p$ m6 `) g: m7 G
  1628. ; http://php.net/session.upload-progress.prefix
    * Y% [" m/ s$ e. X. R
  1629. ;session.upload_progress.prefix = "upload_progress_"
    # @. ]* n! [7 U9 N( {$ H

  1630.   ]+ [% h( B' X) a! Z8 L! c
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    . V% o/ Q7 P% q$ ^5 L) }0 i& t
  1632. ; containing the upload progress information8 M! m9 O  O9 l
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"8 D0 X) F- l+ {5 {5 F/ P
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    - T, a. j6 a2 j; I+ r" j" ?% \. X
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"& W  {1 y* [( l( g$ l' `% \9 ~
  1636. ; http://php.net/session.upload-progress.name* D0 y6 E+ f' G8 O
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    " H/ b" }* H$ f, n% ~; j
  1638. + H% U( H& X, X, V- N, s6 n
  1639. ; How frequently the upload progress should be updated.1 p$ C' I8 e1 p2 y% N( d4 r5 s
  1640. ; Given either in percentages (per-file), or in bytes0 K! S6 {+ \7 z7 O, o$ X
  1641. ; Default Value: "1%"7 }( T! l# G9 d, \+ c
  1642. ; Development Value: "1%"
    . [% q: o, H/ b3 E' D& u! E
  1643. ; Production Value: "1%"/ Q' @  ]! B: q% J! w
  1644. ; http://php.net/session.upload-progress.freq
    1 `% H8 m3 G( X, x8 J
  1645. ;session.upload_progress.freq =  "1%"
    . h5 u* g. o* N  q

  1646. ; g5 x: H( n3 ?8 d# r
  1647. ; The minimum delay between updates, in seconds
    1 Y) d& i1 D* K: \$ l( G
  1648. ; Default Value: 1
    * e, b6 \! l/ g" n; L  m4 p
  1649. ; Development Value: 16 c. R6 K5 }* Z% ~
  1650. ; Production Value: 1
    * f* v: [2 I0 @1 B4 N0 l
  1651. ; http://php.net/session.upload-progress.min-freq
    0 |# v) K3 V( ^
  1652. ;session.upload_progress.min_freq = "1"/ M% n4 c5 }! ]9 b4 M) t; z: t

  1653. : n/ f; ~9 I/ Y% F8 r
  1654. [MSSQL]2 B- u  t; U, T! S5 I
  1655. ; Allow or prevent persistent links.5 v& e1 D4 U& v& H
  1656. mssql.allow_persistent = On: c  ~# y2 h9 g
  1657. 7 u& V4 q  [) ?+ n4 L8 d3 m: i3 U' H
  1658. ; Maximum number of persistent links.  -1 means no limit.
    * ?4 T+ f4 L. v# i
  1659. mssql.max_persistent = -18 }  V& @9 \* u

  1660. ( \* S1 \6 y, p9 x% t
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.9 J' i; t3 R) m  {9 ^0 b
  1662. mssql.max_links = -1  ~, f) C. u$ Y! |# \: R9 {# H
  1663. ) s( u$ u. B* F6 i& [4 Q3 J
  1664. ; Minimum error severity to display.
    3 B5 L  H! w- Z0 D, \. I9 `
  1665. mssql.min_error_severity = 10* {' S/ u1 R% S8 Q* g

  1666. ' o% |( V& k' k" h1 W* g
  1667. ; Minimum message severity to display.; {7 z" _0 c# ?& W$ v& z- t
  1668. mssql.min_message_severity = 10
    5 S! |9 D" f: C& D+ B% k
  1669. 8 [( {7 D. p# Y; V$ Y
  1670. ; Compatibility mode with old versions of PHP 3.0.  T# s" \7 z+ H/ A( F& G4 F$ b; n0 U
  1671. mssql.compatibility_mode = Off& S5 m0 R# C6 H, b" K

  1672. ) o" J4 a6 A  M1 s
  1673. ; Connect timeout
    % k% Z$ @) H9 I4 E1 v
  1674. ;mssql.connect_timeout = 5
    ( j" l$ ~: T) K( l: w* |3 n! b

  1675. ; l% ~5 T' C- X( c; U2 J0 @9 u
  1676. ; Query timeout, a5 m7 W( o* }6 u
  1677. ;mssql.timeout = 602 h* t% c( _* t, i
  1678. " s' _7 z+ _. O
  1679. ; Valid range 0 - 2147483647.  Default = 4096.( e2 R5 E- f, M$ G8 c$ L
  1680. ;mssql.textlimit = 4096# x; a5 T4 ?& H5 R& I
  1681. * I& X" F0 e6 w2 M# n
  1682. ; Valid range 0 - 2147483647.  Default = 4096." ^- R$ G) X* g# p8 u6 e- s, O1 k3 B
  1683. ;mssql.textsize = 4096
    ( K" p+ p% Q: K' |' T

  1684. . S5 Q) O8 [' \+ {! ^/ K0 u
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    2 G9 C  M! y' b! c; S: G9 ^( n
  1686. ;mssql.batchsize = 0
    1 c7 J) E+ y' c
  1687. ( }- \2 g, X: N4 ~: C
  1688. ; Specify how datetime and datetim4 columns are returned
    : m- n' ^$ n8 s/ o  l' R
  1689. ; On => Returns data converted to SQL server settings. s1 j! W" T. I- \5 D
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss8 R' Z. L) d( \& `) o
  1691. ;mssql.datetimeconvert = On
    & ]; o0 s$ K( d0 _! D

  1692. 2 Y$ T/ S9 f+ Z# q, \$ T; i
  1693. ; Use NT authentication when connecting to the server
    1 ], m1 s+ a; C# e% j- F% [
  1694. mssql.secure_connection = Off* u' y9 ]/ |( k1 r

  1695. $ W% f' {' O: {* a9 [3 S
  1696. ; Specify max number of processes. -1 = library default3 b& \: b! o5 A) M) K  s
  1697. ; msdlib defaults to 25
    6 G7 D. R/ A. N# V" G/ v; w5 j8 z: Z
  1698. ; FreeTDS defaults to 4096
    ) A7 G7 e$ `% D8 g( Z- {/ m
  1699. ;mssql.max_procs = -1, N) D9 Q# y$ j7 }

  1700. - `2 p0 s; w- I2 c/ i; t  O
  1701. ; Specify client character set.9 E/ Z' V$ N1 a& S( X
  1702. ; If empty or not set the client charset from freetds.conf is used
    # E% h( c8 J1 `+ K% a; J( T7 W4 j
  1703. ; This is only used when compiled with FreeTDS
    0 P0 M* I4 @4 a, W- l  t& u+ c
  1704. ;mssql.charset = "ISO-8859-1"
    3 D' O1 O# [& ^  c5 T& H

  1705. ) b, c* D; H& m$ \$ K# ]. X0 A6 `$ r
  1706. [Assertion]
    " g& Y# w( g# P# w
  1707. ; Assert(expr); active by default.
    1 g/ b# M. j" p3 H4 W
  1708. ; http://php.net/assert.active5 y* T4 J9 t3 D+ Z2 J
  1709. ;assert.active = On" v  w; D3 y& W1 O( b

  1710. 5 ]- E% H# R2 h
  1711. ; Issue a PHP warning for each failed assertion.% ~3 P0 [* T5 D; w# O9 S
  1712. ; http://php.net/assert.warning: ?- w( c" w) G& R( @+ ?
  1713. ;assert.warning = On
    3 [3 T; j" E# ?6 }( {& h
  1714. ( B+ S) Q/ F& }8 u& e4 r) ?
  1715. ; Don't bail out by default.
    0 ~2 ]0 d0 u$ G: g# }5 e! e6 T- O
  1716. ; http://php.net/assert.bail
    ' N% P, y0 `. C% Y! {# A
  1717. ;assert.bail = Off) O, A/ ^  [9 [2 s% J) W% z
  1718. ) b/ H: G; T: O2 ~, h  U3 D
  1719. ; User-function to be called if an assertion fails.
    & J6 V6 `. F0 Y4 D, k# P# _
  1720. ; http://php.net/assert.callback
    $ l( H" R* H& p3 Y- ?' u: P
  1721. ;assert.callback = 06 I; S  F( S# D

  1722.   ]8 b% i- ]  s& c2 ^# h. v. D
  1723. ; Eval the expression with current error_reporting().  Set to true if you want: `+ b: R( n4 [' v, X& }9 y6 z+ P
  1724. ; error_reporting(0) around the eval().
    . L9 g( p; E7 J" X3 ?
  1725. ; http://php.net/assert.quiet-eval
    8 c+ C& F$ y) O3 {. d
  1726. ;assert.quiet_eval = 0, b2 u3 V; }7 }8 i! |: l( t! G# Q

  1727. 2 I9 p! n; j% L" F, }+ M
  1728. [COM]
    3 s# h% d: {, ?* m  Z! i8 ~( H0 A
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    0 K; z5 s0 ]* I( W4 y6 I* r
  1730. ; http://php.net/com.typelib-file
    8 x8 B& x( R/ z& S0 \" H
  1731. ;com.typelib_file =
    0 @. X" P1 y. z; {# h! k; ^  e
  1732. ; U' |7 {3 }+ e
  1733. ; allow Distributed-COM calls
    & F6 ?- y# d$ j! ?% p) Z
  1734. ; http://php.net/com.allow-dcom- k# c. j; x! f5 i. L1 M4 N9 z
  1735. ;com.allow_dcom = true
    8 i( p* q* m3 j7 m5 G
  1736. 8 w  b. n( ]$ M  i0 B" a4 G
  1737. ; autoregister constants of a components typlib on com_load()% K' u2 E3 N- K2 l1 [8 p7 g
  1738. ; http://php.net/com.autoregister-typelib7 }. M1 j6 X2 I7 S* K* E/ Y
  1739. ;com.autoregister_typelib = true- x6 C0 G; T- }+ V  _- _

  1740. 8 c6 c: s% u$ t& j1 C% r# a
  1741. ; register constants casesensitive) [, O6 E8 X- C/ i( ?+ {- H
  1742. ; http://php.net/com.autoregister-casesensitive, G8 y2 `9 k* Y6 M. d* ~  [
  1743. ;com.autoregister_casesensitive = false, [  \% U- _! T) ?

  1744. # M9 Q0 m2 J; E- u! g" X
  1745. ; show warnings on duplicate constant registrations3 Z& |1 n/ b3 m" S! B
  1746. ; http://php.net/com.autoregister-verbose
    9 Q! z/ O0 v$ n1 K# R3 ~- \  H
  1747. ;com.autoregister_verbose = true
    & s$ z" L4 {( Y; R& P, ?
  1748. 1 e2 T7 h, O) G; y; f& A
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    ; N; a1 x" L  a! g" H) X1 G
  1750. ; Default: system ANSI code page
    3 `) @8 k" u# S
  1751. ;com.code_page=# O1 i$ Z0 s! A& M

  1752. ! _5 a$ ]3 Z$ C, m
  1753. [mbstring]  g- E5 Z8 g: a/ u* w
  1754. ; language for internal character representation.
    ! g$ W5 u' Z6 E' O. _* j. [1 W) ^
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.9 Q" v0 Q4 ]! O3 J# E! H, f- f6 ]
  1756. ; http://php.net/mbstring.language
    - e; W) }8 H2 O* M% h! [3 q3 n! A6 g
  1757. ;mbstring.language = Japanese
    , h; U3 L# h$ `

  1758. ' A/ ^& t( l# y) m
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    # P  O7 f8 [0 M# P4 x: O- N
  1760. ; internal/script encoding.
    , h* W$ {% y+ X/ s9 i3 }8 q  S
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)) T: D0 z4 Y8 r% K8 Z1 d
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.: ^/ P% A$ C  R
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding3 ?3 \/ _1 t* e9 {5 A* z
  1764. ;mbstring.internal_encoding =
    4 B9 z2 P/ Y! h' Q4 U

  1765. ' D. H2 S$ A( v+ Z" c# _
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.0 [' h6 q( n! X- r* M3 ]
  1767. ; http input encoding.
      W; e) S2 C  N- C* d+ s9 w2 c
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.) X. m9 c- r2 S) Z2 x. ]) l
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.& ~& P5 C! J$ c6 j$ X+ `
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input9 O' Q, @$ R2 A) E1 L
  1771. ; http://php.net/mbstring.http-input, h/ n, `- g7 x, r) {  ]- o' @
  1772. ;mbstring.http_input =2 ~) b. s( g/ x
  1773. 6 Q5 \& W( b0 {! r1 D. Z
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.$ F9 z0 @& t1 U( b. D* d
  1775. ; http output encoding.5 Q6 v! N' Y6 {8 e
  1776. ; mb_output_handler must be registered as output buffer to function.4 i# G' ?2 I9 I" e3 W: S' N: n
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.( V/ P& Y: M. N" M; X, s
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output! t  p5 W/ z  U( z: l% u& H; _( H/ g
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    * X9 u6 w; B3 W
  1780. ; otherwise output encoding conversion cannot be performed.0 v9 p! Y4 j  N+ |% ?
  1781. ; http://php.net/mbstring.http-output
    4 y* \% s" A6 y5 j, c; ]. ~' r
  1782. ;mbstring.http_output =
    3 C! k% ?1 C6 x
  1783. + B' Q3 d1 j" t# n* D- ]# U7 G
  1784. ; enable automatic encoding translation according to" p4 L5 Q8 N4 ]# N' D4 Y
  1785. ; mbstring.internal_encoding setting. Input chars are1 e6 Q/ j; [4 G
  1786. ; converted to internal encoding by setting this to On.
    5 l4 S* a1 w* V5 E  \
  1787. ; Note: Do _not_ use automatic encoding translation for! v5 L% ]! C) a; \% h* J) {
  1788. ;       portable libs/applications.+ p! Q; h) p+ W; ^
  1789. ; http://php.net/mbstring.encoding-translation
    6 q; [, F3 _% M0 S# F  N1 k8 g: R
  1790. ;mbstring.encoding_translation = Off
    ' j& N. X4 c% {2 c1 p* B+ H; @" m9 L
  1791. 4 R7 o- `$ |; P+ l
  1792. ; automatic encoding detection order.) [' N4 \! e  J0 s
  1793. ; "auto" detect order is changed according to mbstring.language" J# y  A8 q8 h2 q- P5 C- S* S
  1794. ; http://php.net/mbstring.detect-order) }: Z% G/ r4 k: n
  1795. ;mbstring.detect_order = auto
    1 x2 g6 y9 W1 {3 C. y9 ]

  1796. 1 ~4 u3 s7 Y! B# F' }- E/ l
  1797. ; substitute_character used when character cannot be converted- X( ?$ N% j5 O1 p: z6 N* I' t* ^0 c7 P
  1798. ; one from another
    7 X7 R3 p0 I# m7 ^- I& q. z* l
  1799. ; http://php.net/mbstring.substitute-character2 i$ p3 w, e9 C0 c+ q5 P' \
  1800. ;mbstring.substitute_character = none
      m  y8 B% U/ {/ Z4 I- c- Z

  1801. $ P/ m. I! O9 ~* _4 p
  1802. ; overload(replace) single byte functions by mbstring functions.
    5 s4 S% V4 I2 P7 l# C1 G9 I
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),, N# Y/ W4 M" z! o
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.$ l2 u2 [0 C# W: w' Y+ u
  1805. ; For example, 7 for overload everything.( }& n! B& L$ m9 ]
  1806. ; 0: No overload
    ) k3 l: E! K6 [
  1807. ; 1: Overload mail() function, d& U8 O9 A. y3 o# J" w3 d
  1808. ; 2: Overload str*() functions- Q* V  ^" e5 k" N7 T* `
  1809. ; 4: Overload ereg*() functions
    % V4 ~! S) O! R  u
  1810. ; http://php.net/mbstring.func-overload$ g# f5 U* o" }+ r- ]/ ]' S8 x
  1811. ;mbstring.func_overload = 00 R3 o3 h# R6 B7 t# ]

  1812. 5 T% {8 R( @; q& n/ W6 j% \
  1813. ; enable strict encoding detection.. [1 p3 g; g  i7 j7 o7 ~
  1814. ; Default: Off! l7 u) E4 y$ w; D4 x+ N+ b: e
  1815. ;mbstring.strict_detection = On( m- f9 H8 g# H" s  t
  1816. & `% I' Y/ [, Y# N; n+ u
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()' ], \# ?+ `  Z
  1818. ; is activated.9 ~+ m! H- T8 x0 c
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ; J2 e# m$ X4 g  e) A5 i2 x+ \6 D
  1820. ;mbstring.http_output_conv_mimetype=
    ! w6 S9 f6 i- Z0 j$ S0 Z

  1821. * O8 r. |. S6 ~9 P/ Z$ s
  1822. [gd]: b% |" M9 x/ M8 t6 `- _( M% V
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    $ ?% j) z- n# `
  1824. ; a gd image. The warning will then be displayed as notices
    ( M! w6 s$ u  Q# K% T  T
  1825. ; disabled by default
    ! {- d; x; a% z5 d
  1826. ; http://php.net/gd.jpeg-ignore-warning3 s2 B: h2 b, A: u2 n3 i7 r
  1827. ;gd.jpeg_ignore_warning = 0. P) V/ H4 [2 N! \
  1828. & ?, Y' T" ^" \7 B7 U# o
  1829. [exif]/ ]4 N7 ~$ n# y
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.1 }7 s. N/ K4 c. B% Z6 W! G
  1831. ; With mbstring support this will automatically be converted into the encoding# e6 T! N# D5 I0 K) b9 |' {9 G
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    & D; q& K$ ]! m& L% l; _8 o6 k
  1833. ; is used. For the decode settings you can distinguish between motorola and! ~/ C& L2 J4 C
  1834. ; intel byte order. A decode setting cannot be empty.
    " W9 T( L$ p' C( e3 {% o
  1835. ; http://php.net/exif.encode-unicode
    & n/ r- y* V& U7 ], w
  1836. ;exif.encode_unicode = ISO-8859-15
    . Y5 Z/ ?3 ]& @1 K& K3 c2 p4 V

  1837. 6 j+ z# @! S) _
  1838. ; http://php.net/exif.decode-unicode-motorola
    $ Q& G$ Z: d8 r1 [$ U
  1839. ;exif.decode_unicode_motorola = UCS-2BE8 H( c0 ]6 Z9 D: O
  1840. : B3 j5 g& S. @& M1 G3 O
  1841. ; http://php.net/exif.decode-unicode-intel
    0 X' R% k. D- J" v/ J, w+ L
  1842. ;exif.decode_unicode_intel    = UCS-2LE9 d1 p2 I" P( P$ k4 S
  1843. 3 l; T1 v* y+ U
  1844. ; http://php.net/exif.encode-jis
    ) K. ]0 _* i& @
  1845. ;exif.encode_jis =9 Z. o# K- Z% |
  1846. # e' y  c0 y* y' z  L7 u0 ?/ g
  1847. ; http://php.net/exif.decode-jis-motorola
    # v" f' f5 A$ {3 L8 a
  1848. ;exif.decode_jis_motorola = JIS" n+ M# j! z8 Z
  1849. " G# F0 C- i6 H( k
  1850. ; http://php.net/exif.decode-jis-intel. |" M% h, U  w% f1 }/ }
  1851. ;exif.decode_jis_intel    = JIS/ b9 X8 {0 ]/ U& n: `3 A: ^" e
  1852. 3 _$ H& X; R/ ?& K- ^) q2 U+ O5 [6 V
  1853. [Tidy]
    " Q" H, S. Y* v! X
  1854. ; The path to a default tidy configuration file to use when using tidy. J! `& w3 Q8 x( y, p
  1855. ; http://php.net/tidy.default-config. j& v# ~6 @' Z/ }, D8 F, B
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    " Q( e1 y4 a: U7 k  B6 V1 m

  1857. # T: o8 |+ {: p+ k8 a- N" V  l
  1858. ; Should tidy clean and repair output automatically?1 k2 ~; w6 ]3 ^6 G8 K/ B: [
  1859. ; WARNING: Do not use this option if you are generating non-html content
    # S  S" ^1 S, I
  1860. ; such as dynamic images
    ! T" u8 x3 h& G3 x& I# X! l% ?" u
  1861. ; http://php.net/tidy.clean-output
    + G9 C8 ?% F/ P7 V
  1862. tidy.clean_output = Off
    8 @" [% {- l' S8 M; w

  1863. % f6 L  o( w- G2 R: z
  1864. [soap]
    ( s' l5 ~2 T2 z" w4 \' p0 Z2 X
  1865. ; Enables or disables WSDL caching feature., H% Q/ i3 p& n! P5 I
  1866. ; http://php.net/soap.wsdl-cache-enabled  w7 C7 o7 S% {6 F2 n
  1867. soap.wsdl_cache_enabled=1
    7 ~' U- ]0 Y1 L% N' A  A  K

  1868. 1 E$ L0 r3 I  b8 e- }- k) V
  1869. ; Sets the directory name where SOAP extension will put cache files.. G0 b) b0 u9 x5 ]& Q0 B' e
  1870. ; http://php.net/soap.wsdl-cache-dir, N/ k) l7 _: a0 l
  1871. soap.wsdl_cache_dir="/tmp"8 z$ K$ ?4 V* W& m- t. d& j
  1872. + S+ a: I- b; ?' F* X
  1873. ; (time to live) Sets the number of second while cached file will be used
      ]+ r2 c$ A$ X8 o) ~1 M) H
  1874. ; instead of original one.
    / |6 v( a, O2 y0 d) m  |7 C! U
  1875. ; http://php.net/soap.wsdl-cache-ttl2 d1 Q: X( u. |3 ]$ h2 {" c4 Y
  1876. soap.wsdl_cache_ttl=864004 @& q2 u" }+ t* {  P
  1877. 6 `' w3 e  Q5 F! I
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)0 u2 Z* |; O/ c
  1879. soap.wsdl_cache_limit = 5
    2 X- @4 R/ K) T; [3 a8 e2 o% _; x
  1880. $ z1 U; {! ^  F" c
  1881. [sysvshm]
    1 w2 w3 e' a( S) I; ?$ m, J2 `- M6 h, O/ F
  1882. ; A default size of the shared memory segment. ?& k) {! r8 c; D
  1883. ;sysvshm.init_mem = 10000& G' k1 ^  q2 {) O6 x

  1884. 4 `! E8 m/ c$ {5 \0 _
  1885. [ldap]
    ( l' Q: J7 o9 \& ^2 h, \0 D2 E
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    ( [0 A6 k4 \8 ~6 s+ L
  1887. ldap.max_links = -1$ D0 P+ y. R/ M
  1888. ; |! B8 Y0 x, f1 H& c5 Z  v
  1889. [mcrypt]0 |( s' V4 J& L% r% {' m( V5 [! z
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    8 G+ Y5 L7 G+ X* l* P6 E3 [3 N* X
  1891. % ~9 K' Y  O7 y, J
  1892. ; Directory where to load mcrypt algorithms
    ; g) L; ^4 I, G* x' K, o
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)8 w* E# V% {( z+ J' a" M9 H# A, t: B
  1894. ;mcrypt.algorithms_dir=
    * h1 B- x1 O; u+ e' {0 D
  1895. 8 W5 m! s. e0 X- t" H3 j
  1896. ; Directory where to load mcrypt modes0 v* w  f" {  n" S- h
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ; U) q$ _/ z4 b3 y+ z2 r
  1898. ;mcrypt.modes_dir=
    / F% j* ]8 Y# y: K

  1899. ) `% m; a# Z  N: R# m
  1900. [dba]1 i& H% [$ c7 n) ~; E
  1901. ;dba.default_handler=
    : E2 K5 |' L; V
  1902. 0 k: ?, r$ i1 S
  1903. [opcache]
    * _6 n0 N& A/ ^
  1904. ; Determines if Zend OPCache is enabled* R0 A3 U8 B6 W; @9 }6 L
  1905. ;opcache.enable=08 F2 S$ i$ u6 e' Y" T1 p2 p9 b

  1906. ! z$ ?3 H/ u( C# n% k
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP3 i, ^" F$ h! ?4 G+ p8 L: f
  1908. ;opcache.enable_cli=0
    ) E2 m0 r. E3 n, s

  1909. ! \+ G9 e8 p2 f4 r/ t
  1910. ; The OPcache shared memory storage size.
    " E3 d  S$ @3 n
  1911. ;opcache.memory_consumption=64: @* G( w8 c, ]# ~/ S: Y! ?1 H1 c

  1912. 7 P) g( u- a7 ^: g
  1913. ; The amount of memory for interned strings in Mbytes.( e/ u6 t7 P% K0 R- t
  1914. ;opcache.interned_strings_buffer=4; a* \0 x3 ?  `% q

  1915. ! g: C! n7 K4 r7 ?
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.: l# }# q" Z$ {9 b! M
  1917. ; Only numbers between 200 and 100000 are allowed.7 E6 |$ s$ h$ `- {
  1918. ;opcache.max_accelerated_files=2000
    9 e" T2 @7 ?9 V) F3 t3 t
  1919. $ n! ^( M( K+ T0 o1 [- u
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    . d  |) V, t" W5 Y' e
  1921. ;opcache.max_wasted_percentage=5
    . i( M: C1 ?8 x$ h1 Z, C

  1922. 6 p3 Q! [5 S; E6 v8 P
  1923. ; When this directive is enabled, the OPcache appends the current working
    , l% J- H, V% i- f, @4 r( i. u' ~1 {
  1924. ; directory to the script key, thus eliminating possible collisions between0 J3 J* n* w3 ^7 X3 D( i! o" ?  ~
  1925. ; files with the same name (basename). Disabling the directive improves: U0 D5 w$ q9 q( t4 N
  1926. ; performance, but may break existing applications.5 V4 u$ n4 l& d% l! f
  1927. ;opcache.use_cwd=1
    4 m  q/ M8 g8 R: ~( z

  1928. & T" x/ Y/ |) L, \5 k, L3 u
  1929. ; When disabled, you must reset the OPcache manually or restart the( H+ _9 b8 j% d0 b' X
  1930. ; webserver for changes to the filesystem to take effect.1 g7 m% K0 S/ W9 K) D# r8 R" B7 Z
  1931. ;opcache.validate_timestamps=1
    3 n% m( i7 h9 m/ f! x
  1932. + i! ^9 N! K$ f" H
  1933. ; How often (in seconds) to check file timestamps for changes to the shared) _# l0 c% p9 T  _2 k
  1934. ; memory storage allocation. ("1" means validate once per second, but only6 b( V0 M, p! D2 y( |: k
  1935. ; once per request. "0" means always validate)
      e- |; T+ n% N$ V+ y$ i
  1936. ;opcache.revalidate_freq=2
    . }' C# ]* ?$ F& ^, t) M0 p

  1937. 7 ~' l& M" ^8 }1 N& B
  1938. ; Enables or disables file search in include_path optimization) ^  c) W0 @3 k' _
  1939. ;opcache.revalidate_path=0! j; @# ]0 D8 I( e

  1940. " ]# }* J. _; \. z/ m
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the/ z% n0 a3 @( J9 E* W
  1942. ; size of the optimized code.4 A" d' {, o$ }4 D
  1943. ;opcache.save_comments=1
    ' ^% `" Z4 x, q; x4 [
  1944. 3 ^' H* d) F1 R3 n+ A) g
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments". o) M2 M4 s* z. V/ E! b8 c
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    5 A3 a& e, k& ]* O4 b
  1947. ; that don't need them anyway.
    + y5 E; v8 o& v+ g# ~$ `$ R
  1948. ;opcache.load_comments=1! x) n2 h3 s0 Y* D+ Q* e

  1949. 7 Q  I  }5 V' P7 S
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    . o' u6 x0 @( U! a, N: l$ m' O
  1951. ;opcache.fast_shutdown=0
    1 u: ~; r2 n" X; a* |- M

  1952. 5 F! v5 X4 }4 \( T; O3 l8 f
  1953. ; Allow file existence override (file_exists, etc.) performance feature.# U$ r9 i. k+ V
  1954. ;opcache.enable_file_override=0
    2 j: Q/ {( z: ^( ?" ^5 o

  1955. * d  H" r4 Z5 I) \7 E9 ^! W' Z
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache* E5 W7 E# |, m6 {# p* |" `
  1957. ; passes" t9 h" q# G* Y" V- J
  1958. ;opcache.optimization_level=0xffffffff7 D9 |5 y8 ~. C1 B: L" L
  1959. ) `$ s& w0 K# y7 G# d8 C( c
  1960. ;opcache.inherited_hack=15 B! h0 J: v/ b
  1961. ;opcache.dups_fix=0
    7 ^0 O+ v0 a5 G+ q

  1962. 4 j# k. Q6 u% P9 V! z% r0 w! V& p
  1963. ; The location of the OPcache blacklist file (wildcards allowed).3 j" z7 A+ u- Y
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    " \7 f, H) ?. c" P2 E
  1965. ; that should not be accelerated. The file format is to add each filename
    ! Z7 V# {1 m6 M5 A3 t  L4 V2 g
  1966. ; to a new line. The filename may be a full path or just a file prefix
    : g, b" B: ]5 e
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www( G* I$ E/ O, P* h! I( q
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ( E0 y, u% B% ^
  1969. ;opcache.blacklist_filename=
    6 a! w( f) I6 N2 P, Y. V
  1970. % R  t2 e% O7 v" v! C
  1971. ; Allows exclusion of large files from being cached. By default all files4 u3 H) {% Z# T2 m
  1972. ; are cached.
    ! Q. A/ x  E& M1 T6 F5 W( H
  1973. ;opcache.max_file_size=0
    % h. Q' L* }. p8 i1 i
  1974. . |- D8 \2 _2 ^. M: C
  1975. ; Check the cache checksum each N requests.
    + Q4 ]0 w0 O1 o0 I. Q& ?
  1976. ; The default value of "0" means that the checks are disabled.
    + Z. X1 ~" o* e/ g' K
  1977. ;opcache.consistency_checks=0* g" N; h3 e; [2 e& [2 o$ I

  1978. * B% L- q5 {8 o! Y6 c9 h
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ' ~* D# l" F) Z) `+ k) G9 k3 y
  1980. ; is not being accessed.( r9 i/ f. C0 j% [
  1981. ;opcache.force_restart_timeout=180
    ) i. y+ F! S4 t  i7 l5 A7 G" z
  1982. 8 @' n$ A, F, t3 s7 h
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    * r6 _$ x3 @' M3 H6 a# |9 u6 R
  1984. ;opcache.error_log=
    $ a/ A0 p8 g7 [" W( S& N9 r. w
  1985. + O6 l3 k) C7 Y, L
  1986. ; All OPcache errors go to the Web server log.
    8 ?4 y1 S% G6 R5 b" i# @7 w
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    % T5 g( H4 v' j8 G+ W5 Y
  1988. ; You can also enable warnings (level 2), info messages (level 3) or5 f+ f& Z  X# C7 h
  1989. ; debug messages (level 4).
    ' ?( q- y' }" p, _: y4 |
  1990. ;opcache.log_verbosity_level=1
    ; |  I1 f4 b7 J6 q( D& P8 b
  1991. 4 [; `* i- E( s5 z( z( L
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ' w1 p$ @* p7 V2 Q( Z9 d
  1993. ;opcache.preferred_memory_model=; X7 |  u  f/ D: u5 x3 x* _2 S. R

  1994. # H' y  l$ j$ N( `! B5 e6 E& D
  1995. ; Protect the shared memory from unexpected writing during script execution.# M: A$ ~% a$ }7 p/ u
  1996. ; Useful for internal debugging only." h+ R. O$ B) B  ^
  1997. ;opcache.protect_memory=0
    ' C% b" @5 ~+ |/ C; l& t- T
  1998. : e4 A8 a% V, c! q
  1999. ; Validate cached file permissions.; ^* b  t6 `9 g( d. p8 c
  2000. ; opcache.validate_permission=0
    * R* v+ j) w, a

  2001. # J! l( V$ |! N. C% V7 O1 L7 |
  2002. ; Prevent name collisions in chroot'ed environment.: R& @  N  I; ]+ z
  2003. ; opcache.validate_root=0$ }" o$ W6 B6 Z( t3 s
  2004. + z8 f5 R5 M6 H- W7 @
  2005. [curl]( [* L( d, T, K5 u
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    4 W' U4 Q, E5 U. c
  2007. ; absolute path.% ^/ H' v: Z& H9 y: p
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
      n: d' e, ~, R6 D9 I
  2009. 3 ^' \, q0 C+ r6 \/ a7 r, j
  2010. [openssl]
    2 w- _: z& q: h, v7 C- a  V
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    - h+ Y6 B! K& p- Y: d; U
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    # k7 a; ^1 {( l' }: A# U- v; A6 c
  2013. ; not specify a value for this directive as PHP will attempt to use the: C! P5 Z7 N! i" d3 x
  2014. ; OS-managed cert stores in its absence. If specified, this value may still0 D7 C) _4 |9 G5 k
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context% M, M, A& F/ `0 I0 X
  2016. ; option.
    0 A( a* H& n1 D$ n9 c( |
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt/ c, X2 ?  Q5 p+ y
  2018.   {0 Q# h+ n5 ^% @$ Y
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    . o" N& @. a# h* [
  2020. ; directory pointed to by openssl.capath is searched for a suitable! m# k$ \' w/ _4 c( h! k1 r
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    & g2 B; t$ R* L+ k- O- c
  2022. ; Most users should not specify a value for this directive as PHP will' E. j& j: q9 T/ r  B
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    7 p  U; B7 n* w- F/ ^/ t2 g% f1 k
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    " u0 G8 j; ~1 ]$ ?
  2025. ; SSL stream context option.
    7 T. I  \+ N. N8 _5 N# I+ Z, U
  2026. ;openssl.capath=  o1 B' S! V+ H! b8 J  K6 n
  2027. 0 a0 C) p# S) e* |/ a  m
  2028. ; Local Variables:
    0 `& J* ?3 m4 a  q) w! q: C
  2029. ; tab-width: 48 d0 w* D' T5 `3 q- f9 ?( V
  2030. ; End:& u+ g3 B. N1 c6 w& ^

  2031. - @) _% a: R4 f& n5 a4 o) t  d
  2032. ;eaccelerator
    5 y9 x! B" @/ h4 I; d
  2033. . w$ O/ a" d. a; b! c; J1 v
  2034. ;ionCube
    * v" c! }! I- c$ L5 R

  2035. 1 E3 @$ K9 o& C
  2036. ;opcache
    0 A. q9 q5 W# W8 E

  2037. / |0 Q: m, F4 C  x8 [  L) Y( @% i
  2038. [Zend ZendGuard Loader]
    # V0 `$ A  i- d" F$ @0 i
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so; r/ @8 a$ R& B6 y! q+ d+ {
  2040. zend_loader.enable=1
    % H5 U, ~7 J  U1 \& x  s( v% m
  2041. zend_loader.disable_licensing=0
    4 U+ `. s. t6 `" z
  2042. zend_loader.obfuscation_level_support=3
    ! z" N8 \: ~8 }8 E& d
  2043. zend_loader.license_path=1 O( S7 R5 z, p  e% F3 d! I5 A
  2044. 2 E* \" D0 K9 i/ e+ p! v
  2045. ;xcache
    7 [6 H2 c' c6 a$ @- l* B" h( L

  2046. 9 z) `7 J$ F6 m' T6 m0 @
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692' p# d/ z$ H! D- f: g
6 L& M: @* P  P! c1 d" Y

& S; E$ C: z: MDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
2 W$ G) k. [3 I# W0 r
/ {% J' Q3 W0 y3 v) u0 D2 X* s# NDiscuz!程序版本选择:) K# S' d$ _6 o
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,4 R3 t, r. F' z) {* l1 ]% X0 c7 B5 H& s
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:% q1 h; a6 w; q3 P
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。9 y: U* U( [: g1 i5 p! F( U  r0 g
) s( b4 U# s. A% o9 c8 d7 f, |0 Y
Discuz!插件模板版本选择:
8 c4 F$ ^4 `: g8 g' T, l+ W: a很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
# M6 d- u; O, s( O8 ]$ Q, E" s针对这个问题做个统一的普及:
) H  m" P. Z2 J9 ~9 IX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。- e- s6 d* z' Q0 a$ l- A2 q, M* N
: M! [0 w6 N+ L, o6 j: \, t
所以  ^8 c2 S5 D' H& ]) k# D% N
适合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的二级域名。
  `# D8 N( J7 j; h5 a3 |- g打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。: a/ Z4 q: o7 N$ {1 m
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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