分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
, e2 ^4 Y) l' K; {4 l
) p7 B# e0 A& x
  1. [PHP]
    6 N( Q5 Q- y. P% G# o

  2. - ^$ I2 G5 y( h1 b
  3. ;;;;;;;;;;;;;;;;;;;
    . o& V$ e5 ?; g3 |- J4 J! X
  4. ; About php.ini   ;
    ) W9 j- W* D7 H& t
  5. ;;;;;;;;;;;;;;;;;;;
    9 P8 B6 K1 X' t2 {& ]* P5 j
  6. ; PHP's initialization file, generally called php.ini, is responsible for2 c& F- l1 u' t
  7. ; configuring many of the aspects of PHP's behavior.
    2 ^9 Z/ L- X3 ?- B! V  y: {
  8. $ G( i- e! ?2 Z: `
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ' T' t6 F& W5 e  a- x9 e8 ^
  10. ; The following is a summary of its search order:, j7 X1 g& [9 K9 Z) _. x% `
  11. ; 1. SAPI module specific location.* U; R8 O# S+ a$ c2 {
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    1 o+ D$ k6 V  T  c4 z8 J6 m
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)- `- W/ f, V: L' n
  14. ; 4. Current working directory (except CLI)3 i/ ]+ C/ Q- u; J' E) u( J
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP3 d5 Z) q( D5 k% g$ X* U3 a
  16. ; (otherwise in Windows)
    9 \2 R( l, P9 w) x6 Q
  17. ; 6. The directory from the --with-config-file-path compile time option, or the1 @; @5 T+ b' d  F5 R2 ]/ s
  18. ; Windows directory (C:\windows or C:\winnt)
    3 ~, P, s3 F* C. y$ d# p7 A
  19. ; See the PHP docs for more specific information.) Y; n- _4 M# g" z  |, }- C! n
  20. ; http://php.net/configuration.file7 n/ j3 F2 D0 b8 Y' t$ D

  21. 6 ~" J7 H* K9 Y  u5 F
  22. ; The syntax of the file is extremely simple.  Whitespace and lines1 w4 z/ {9 a0 {: |" {# H! E
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    1 p! T9 Q" J) |. }$ q
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    % u* ?, ^' X# b( R2 }0 C& @
  25. ; they might mean something in the future.& y, }! V, h) q4 t: E6 E1 c8 r

  26. $ r: v5 E- K+ e
  27. ; Directives following the section heading [PATH=/www/mysite] only
    - M. H2 }: I" `+ t
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ; A! X: o% W# s/ s
  29. ; following the section heading [HOST=www.example.com] only apply to
    & U# g: q+ {& m2 k7 Z& b+ Y
  30. ; PHP files served from www.example.com.  Directives set in these
    % {4 V: h  f) l; z" b* A8 N) n
  31. ; special sections cannot be overridden by user-defined INI files or
    " c. Q3 q. w: L0 c, b' O1 d
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under: y: F& p  h; M& R8 e
  33. ; CGI/FastCGI.. s9 U- e/ Z) u$ G4 l
  34. ; http://php.net/ini.sections' Q8 v8 v* a+ y

  35. 4 c# _4 i% ~! p; p; ^- O
  36. ; Directives are specified using the following syntax:: c' b+ ?0 y1 D. Z3 H
  37. ; directive = value/ N( Y2 Q2 k+ w5 u- l
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    % f* W7 `! q2 b8 M" B7 a) V2 y
  39. ; Directives are variables used to configure PHP or PHP extensions.
    6 j3 U: w/ Y4 j9 t3 M. n2 h
  40. ; There is no name validation.  If PHP can't find an expected
    $ D. C6 H/ u' M- P# I/ v! _" |
  41. ; directive because it is not set or is mistyped, a default value will be used.
    $ c( T7 S. e, i# J

  42. * v8 H7 T6 L2 l8 O1 k% g
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one; Q9 `6 ]& H5 t% b
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ; E2 x& J6 `) u* \* q' o
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a; _7 `) ~& H5 F3 S2 Z- n! P
  46. ; previously set variable or directive (e.g. ${foo})
    & p' Y) L6 u2 M) a0 \8 u0 B

  47. ( e0 v# e  u+ d5 K! H! a# f
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:" g4 U+ e$ E2 `6 g; `
  49. ; |  bitwise OR2 H2 d. f3 p% y
  50. ; ^  bitwise XOR& e; V6 ]- ^5 s+ a* g) }
  51. ; &  bitwise AND
    9 q- ]# q! R$ r# E! Z8 r# W
  52. ; ~  bitwise NOT% C' C- d* j$ s" E* j
  53. ; !  boolean NOT$ r# c7 x* E6 D# U) A
  54. 2 z  L  Z- U: N1 Q& c- J! f$ X
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    4 ^: N) T" G1 J& e
  56. ; They can be turned off using the values 0, Off, False or No.  h7 U& |+ A5 d
  57. 9 U" [2 v9 r' n6 H1 {, s
  58. ; An empty string can be denoted by simply not writing anything after the equal$ [# J) X* s. c0 i
  59. ; sign, or by using the None keyword:
    ' y4 Z% g0 v; F8 x4 S4 |8 F1 l& u
  60. # \4 F& M* I& A  M
  61. ;  foo =         ; sets foo to an empty string6 d: f1 a7 V/ M- `" |, f( u! r
  62. ;  foo = None    ; sets foo to an empty string4 Y4 j' s0 F' v* N
  63. ;  foo = "None"  ; sets foo to the string 'None'& y% O+ C4 |  F% a+ w1 M2 {

  64. * E1 m' l4 j' a3 _) h
  65. ; If you use constants in your value, and these constants belong to a9 C6 w3 ?* K3 l
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    / r6 O0 D7 e/ g! R' P
  67. ; you may only use these constants *after* the line that loads the extension.2 j9 p8 D8 V; a' h. ^/ _: k4 E

  68. / Q) a# a1 w7 y' |* Y/ J& C! a
  69. ;;;;;;;;;;;;;;;;;;;
    8 M  C0 I3 L" h1 M/ F
  70. ; About this file ;
    7 P! T9 i6 O2 T
  71. ;;;;;;;;;;;;;;;;;;;. a  D2 p2 I+ @/ s- ~( d
  72. ; PHP comes packaged with two INI files. One that is recommended to be used  I! b; K5 O6 z) _8 F
  73. ; in production environments and one that is recommended to be used in
    " I9 z. `, |+ G( ~; q, E; Z
  74. ; development environments.8 J* \9 U, a8 l1 O

  75. 6 X1 W/ _' E* E8 I
  76. ; php.ini-production contains settings which hold security, performance and
    7 A2 P# V( Y: _  H
  77. ; best practices at its core. But please be aware, these settings may break
    # F7 k+ b) [% _
  78. ; compatibility with older or less security conscience applications. We
    7 O  @( T2 }; z, x) K& p/ k  r
  79. ; recommending using the production ini in production and testing environments., T, U9 m* D# q: N; F
  80. + P- W; X; {3 H2 {. u  f
  81. ; php.ini-development is very similar to its production variant, except it is$ z* C" a2 i2 c6 o/ X6 V4 [
  82. ; much more verbose when it comes to errors. We recommend using the
    9 q0 l( m0 M2 D; G
  83. ; development version only in development environments, as errors shown to+ F9 t3 G* w" S' X
  84. ; application users can inadvertently leak otherwise secure information.9 w+ [; w+ I0 Y( r0 T* G7 L
  85. ! @! A* z; d7 {
  86. ; This is php.ini-production INI file.
    ) ]7 P) k, `* v% g; B5 ~% a
  87. % j2 u* P+ \1 K, b2 L
  88. ;;;;;;;;;;;;;;;;;;;' U" _( z( @2 D8 s4 g% A
  89. ; Quick Reference ;6 W6 t1 B) E: L# x8 ]
  90. ;;;;;;;;;;;;;;;;;;;! e% s! U$ p2 f& x: P' _$ ^
  91. ; The following are all the settings which are different in either the production
    * {  t; ]2 |" ]/ k! \
  92. ; or development versions of the INIs with respect to PHP's default behavior.
      t: ?0 Y  [3 r0 E( T0 D0 O
  93. ; Please see the actual settings later in the document for more details as to why2 H$ u  c; y1 D. q, H
  94. ; we recommend these changes in PHP's behavior.  P. w& }$ d8 ?9 D& R
  95. 3 q# y6 G6 x" {) `
  96. ; display_errors
    % @7 {" Q0 I3 k7 H) O, N- |. u; s
  97. ;   Default Value: On7 L: D) B$ {) P# Q8 `
  98. ;   Development Value: On
    - Z' z" U, G7 H
  99. ;   Production Value: Off! |- D, h1 d6 B/ u2 [7 N
  100. 0 `+ H/ {2 ]% }  p. }6 U
  101. ; display_startup_errors) @9 B! F* Z$ E6 y% f6 D
  102. ;   Default Value: Off
    $ r! Z1 p; H  Q6 |6 [
  103. ;   Development Value: On  w7 b* }. ^4 ^. }+ j7 W2 [
  104. ;   Production Value: Off4 T$ n( F* x* Q' b
  105. ) A  V' Y" d1 n5 Y. Q0 b, c
  106. ; error_reporting$ j. Y' V$ C: [% Q- J
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED* X, O; m( C; a# K
  108. ;   Development Value: E_ALL
    $ `- w* O, ~  G$ o- ?4 i
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    6 |0 o+ l8 g2 @/ ?# B
  110. ' X" J+ b8 F" z* w
  111. ; html_errors
    + u& D$ W" T/ f, V- S) I/ E
  112. ;   Default Value: On
    * h* O1 G8 ?/ u6 a" n) |
  113. ;   Development Value: On
    # p6 R0 m1 G! ^+ I9 C! ?" o, E
  114. ;   Production value: On/ E5 D% m: o8 _
  115. ' ?. S: B: s6 y/ _) `
  116. ; log_errors! p, Q  S6 W- |! B# s3 `
  117. ;   Default Value: Off( P3 q3 W& G; P
  118. ;   Development Value: On
    2 t3 l7 w8 m9 l1 X$ ]5 U8 V
  119. ;   Production Value: On
    ) O3 t9 v: W7 ~! H  m: H9 n
  120. 8 b; U. Q  y6 M3 ?, ]1 g
  121. ; max_input_time
    9 A/ v( s; [1 a0 ]
  122. ;   Default Value: -1 (Unlimited)
    , v2 X6 J' b1 s1 T
  123. ;   Development Value: 60 (60 seconds)
    % G  H5 t4 Y/ o# I1 O* ~6 [+ \
  124. ;   Production Value: 60 (60 seconds). j$ C" h. w6 h8 j; h

  125. ) r4 D- e4 c/ a0 e9 O0 L+ I7 j' R1 x
  126. ; output_buffering( u! B# p) P7 S; r
  127. ;   Default Value: Off0 b5 t2 W( m8 j5 l$ R3 P% d
  128. ;   Development Value: 4096" k9 |+ |  v/ O+ f. d
  129. ;   Production Value: 4096
    " m* `4 _6 n, W/ @$ A

  130. + X% t1 z7 g$ V" T, q9 y1 b, C* E9 W
  131. ; register_argc_argv
    ( E# Q2 C- {; |# z7 D
  132. ;   Default Value: On
    ( a0 V8 ~. m& p& [& Z% \& n, }9 q, ~
  133. ;   Development Value: Off! _$ T6 \$ h8 g. S$ U$ e
  134. ;   Production Value: Off
    / _  C4 {- U- ]( F3 u# J" ]

  135. ! {4 l  u* w! O- R+ S" N; W
  136. ; request_order+ G% b7 P% O$ k8 j* C4 f: r
  137. ;   Default Value: None  u0 p% {! J$ R: N
  138. ;   Development Value: "GP"/ f# K" B# S, W; G8 m1 @8 E
  139. ;   Production Value: "GP"7 b' R2 n* M5 G  u9 I& S3 P

  140. ( {! w; A$ n5 [6 L) c, L! @
  141. ; session.gc_divisor6 h1 J/ [, \/ O7 w
  142. ;   Default Value: 1005 G% B  @3 v3 K) e$ @: `5 Q
  143. ;   Development Value: 1000% e/ x+ r3 Z# z
  144. ;   Production Value: 1000& D4 F; Y  c/ h8 i
  145. $ W/ T3 L) j" d) j& P" b
  146. ; session.hash_bits_per_character+ l- @' `+ K3 R: _9 D% z& c
  147. ;   Default Value: 41 H# L7 |2 \/ Q1 B7 r1 @
  148. ;   Development Value: 58 J, ^  I5 _8 |& ^, H
  149. ;   Production Value: 5* X8 n2 u. F) v& ?6 y

  150. ( T# w1 c3 m) `" P1 @8 J) a3 c
  151. ; short_open_tag
    5 L  {0 ?& ~8 W- y$ L3 _" B
  152. ;   Default Value: On/ s5 H7 c4 _) E& Z
  153. ;   Development Value: Off* }6 J7 I2 t: n8 n
  154. ;   Production Value: Off+ J- f: _. {- Z; i+ z3 E" }

  155. 8 ]8 q' J9 N/ G$ n' |7 `& j; u
  156. ; track_errors+ t# q* P$ g5 r$ l
  157. ;   Default Value: Off
    + C/ P) d$ j, F- Q+ D2 g, M- @( W
  158. ;   Development Value: On
    0 {, y7 L& G; k" m
  159. ;   Production Value: Off
    7 u) m' z# M+ Q0 M. R+ ?8 o7 d
  160. * N/ ~6 T( B7 M& U0 O
  161. ; url_rewriter.tags
    6 R  t4 S7 x! e9 u
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=") Y3 d  C2 x/ v' j2 B* @% ^
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ S2 J# X" P: m1 H, |
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % ^( {7 E5 S  {1 ?/ i
  165. / p/ }* d6 f  q$ t! E' V; f
  166. ; variables_order$ {3 k/ F$ ]( B) i
  167. ;   Default Value: "EGPCS". m0 p6 B; Y# A" e& X, }
  168. ;   Development Value: "GPCS"
    + E4 ^" \% k, g3 {
  169. ;   Production Value: "GPCS"7 Y* d$ ^+ ~& D4 r' Y
  170. + Y, m# H2 Z" d# m' _
  171. ;;;;;;;;;;;;;;;;;;;;
    6 F% Y* x8 J( [! a+ I
  172. ; php.ini Options  ;4 S7 ?4 ~0 j# q! o) x9 T( y# T' z' v
  173. ;;;;;;;;;;;;;;;;;;;;
    , E2 x, U9 Q+ u& @
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    . }& z( ^% b8 |# Y5 e2 V
  175. ;user_ini.filename = ".user.ini"
    ) g3 S- V% Q* s0 }- i. y

  176. & _0 J& [9 |8 m% o& [; C
  177. ; To disable this feature set this option to empty value2 I' l% p( U; i. g8 N
  178. ;user_ini.filename =
    9 K" V/ s0 _& o1 D
  179. ! G& \/ N% X/ R7 g+ l3 Y. K3 s
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    0 g7 ^9 N6 _) [! S& k4 i
  181. ;user_ini.cache_ttl = 300
    4 `7 \9 e# {) f/ h; x

  182. 8 ^: b2 _& t1 _% ~& b3 q
  183. ;;;;;;;;;;;;;;;;;;;;
    $ O, S3 }: G, K
  184. ; Language Options ;) ?. k, ]+ g9 o+ ~! N$ U0 r
  185. ;;;;;;;;;;;;;;;;;;;;
    6 L& I. {& X. x9 k8 |% N
  186. : I; N* Z( K/ P8 v
  187. ; Enable the PHP scripting language engine under Apache.5 l: |2 t# U/ F' m" m
  188. ; http://php.net/engine# O; Z- b) ~- V6 ]
  189. engine = On+ A5 y: [& W0 ?
  190. $ u! h6 T( v- Z0 `( g, q* F
  191. ; This directive determines whether or not PHP will recognize code between
    6 ?0 c* ~5 B, M  i
  192. ; <? and ?> tags as PHP source which should be processed as such. It is6 d1 n  X7 M5 r
  193. ; generally recommended that <?php and ?> should be used and that this feature
    % C8 Z; j) Q. g$ Y9 j
  194. ; should be disabled, as enabling it may result in issues when generating XML
      ~- E9 \7 L& e2 o! y) O" J* Q' s
  195. ; documents, however this remains supported for backward compatibility reasons.
    $ w& u5 s9 l2 C9 h! v; W
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    : S' ]! R/ N) {' N6 |$ ^
  197. ; used regardless of this directive.0 _; d1 g) I+ }' s1 e& ~: D1 }# i
  198. ; Default Value: On
    8 j8 L# y0 |1 Y; U" j) b
  199. ; Development Value: Off
    9 q2 c. c9 |/ v5 C0 e5 N) @
  200. ; Production Value: Off
    " {5 n; \4 ^6 X1 i4 g2 E+ K" u0 Z
  201. ; http://php.net/short-open-tag
    ( ]+ x' q5 K6 x4 O
  202. short_open_tag = On# r& L# r* F8 a, H' J

  203. 9 s4 H- s# o. _( d: ?
  204. ; The number of significant digits displayed in floating point numbers.
    ! C' u& a( u- t, L; }! O, S. ]; E1 V
  205. ; http://php.net/precision) ?7 A& q- t; t0 [2 {) Q
  206. precision = 14
    4 M: r! M' i2 [$ v4 y
  207. 8 P0 j! t. J  _- d3 l  K
  208. ; Output buffering is a mechanism for controlling how much output data/ F. {' T( ~# y' a9 ]0 ]# n, Y
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    5 F  V# X3 H+ @; X" L4 X4 u
  210. ; data to the client. If your application's output exceeds this setting, PHP' k1 R2 y6 C) C6 Z; Z
  211. ; will send that data in chunks of roughly the size you specify.
    . p, T! x, B3 }
  212. ; Turning on this setting and managing its maximum buffer size can yield some# _6 W0 s( e9 e% \6 o! b9 q
  213. ; interesting side-effects depending on your application and web server.
    $ i8 N3 o& o+ p2 [/ {
  214. ; You may be able to send headers and cookies after you've already sent output# @. M; |3 A7 @% v  p  c( ]
  215. ; through print or echo. You also may see performance benefits if your server is
    $ t3 A+ X! ]; K  W3 l
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    * y3 R  W2 E! K0 L5 Z7 E1 {" C. q9 `
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance/ h2 w' W7 ?: p+ I. e0 U6 L% P! n0 T8 b
  218. ; reasons.
    4 v1 f' [! \( X# O! l6 w5 f  s" n
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    ; V! C1 M( i7 i
  220. ;   functions.
    * @2 a0 Y6 T  A
  221. ; Possible Values:  p& r: B- O* ?: T* u+ y! ^
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)8 w5 p6 e4 h6 E% {9 s8 c
  223. ;   Off = Disabled
    7 p, ?8 ?# ?; P9 V2 n
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.5 z, b' x' z/ B1 C. i3 p
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ) d: J  v0 r* I+ Y8 X9 K) d& }0 k
  226. ; Default Value: Off
    $ R& H0 _$ F. v7 k+ |
  227. ; Development Value: 4096
    & ]8 F, A; q9 U3 ^4 c* J- ], u
  228. ; Production Value: 4096
    1 S4 \7 D7 h! {' h' W* l
  229. ; http://php.net/output-buffering
    $ s' ?6 j0 ^' E9 w1 L
  230. output_buffering = 4096
    2 n* X& M* v- {9 N1 B7 b' [
  231. ) n+ t  @( L& \2 e" H
  232. ; You can redirect all of the output of your scripts to a function.  For2 }9 }/ P* o/ a1 u
  233. ; example, if you set output_handler to "mb_output_handler", character$ U% b& x" ^3 }/ e. W4 i& G  V4 ^
  234. ; encoding will be transparently converted to the specified encoding.* W0 X% T( Z8 N. z# W$ ~$ u
  235. ; Setting any output handler automatically turns on output buffering.0 t  M% d- Z9 J& y4 Z2 G* x8 {
  236. ; Note: People who wrote portable scripts should not depend on this ini4 ?; q2 i( k# i$ z0 n) N* [
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    9 c% X3 H( c6 |( F% y" j; w) E( u
  238. ;   Using this ini directive may cause problems unless you know what script
    % G6 T6 f; g2 u
  239. ;   is doing." y8 f6 j: ]& [9 S$ B; f
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    # E! ^0 C8 |/ F6 s1 M) j, \& D
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ' L/ V4 Z" ]7 I& C6 s1 ]; c
  242. ; Note: output_handler must be empty if this is set 'On' !!!!' d$ c5 W$ d+ ]
  243. ;   Instead you must use zlib.output_handler.
    # i/ P: F. z* n, n
  244. ; http://php.net/output-handler
    & Z, v( q9 B$ ^4 B( F
  245. ;output_handler =" R; G7 f4 ^5 S- J. ~
  246. % \8 E6 q/ |) w8 H4 M8 Y
  247. ; Transparent output compression using the zlib library
    : t  v9 Z, W+ @6 }  b, F
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    1 K' Y! O  D5 [! X
  249. ; to be used for compression (default is 4KB)
    , H0 C/ d  P$ H$ n' g. ^
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    6 P6 D' \( W  R% d+ r; i0 h% ]
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    ) O" x  F: Y/ J  |: d
  252. ;   compression. If you prefer a larger chunk size for better
    % R# }5 f0 o; l- u3 k
  253. ;   performance, enable output_buffering in addition.5 D4 A! b) c$ s/ K/ A
  254. ; Note: You need to use zlib.output_handler instead of the standard' |) R. [9 V" t; S) r
  255. ;   output_handler, or otherwise the output will be corrupted.
    ! _- c( ]* T* F; ^! S$ |4 A! H9 X
  256. ; http://php.net/zlib.output-compression
    , C# H/ r) j& L2 i+ S
  257. zlib.output_compression = Off
    # O- e; n& |+ ~

  258. . C! _9 N9 \" X# P9 Y/ @5 }
  259. ; http://php.net/zlib.output-compression-level
    : U6 `" j' F) v, D! x& B0 @
  260. ;zlib.output_compression_level = -1
    8 Y5 O) G% V& y5 u

  261. 2 |, [4 ]0 s3 V! ^
  262. ; You cannot specify additional output handlers if zlib.output_compression
    % f6 E  T* w0 W6 [  p
  263. ; is activated here. This setting does the same as output_handler but in6 E5 H- K3 J/ `) |: K4 t
  264. ; a different order.
    1 {4 z7 u. a5 ~( ]" t
  265. ; http://php.net/zlib.output-handler
    8 x* i* e$ O( c$ f6 k
  266. ;zlib.output_handler =
    , G: r% X3 p! `; U. p* b- L+ z4 F% }
  267. 5 x( V, P, {( d  q% }6 I1 S5 n- C9 f, M
  268. ; Implicit flush tells PHP to tell the output layer to flush itself& n% U2 n2 Q9 H6 e
  269. ; automatically after every output block.  This is equivalent to calling the
    0 H! d5 p6 F! q6 ^
  270. ; PHP function flush() after each and every call to print() or echo() and each
    2 M/ V* ~, |9 B4 M+ }. U: \
  271. ; and every HTML block.  Turning this option on has serious performance
    + W  h4 _" H8 c8 C0 {9 X
  272. ; implications and is generally recommended for debugging purposes only." X+ d2 Z$ i, S3 Q, Y$ K
  273. ; http://php.net/implicit-flush
    + u, v, U& @: C% Q3 ?) G, i8 `5 j
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    5 ?+ n6 v! E) @9 F
  275. implicit_flush = Off$ T% ^8 m' o0 `9 _0 F
  276. # J( \( P' `* E. x
  277. ; The unserialize callback function will be called (with the undefined class'
      M" r- K; n2 }; W7 E2 y% V6 [6 I9 [* |
  278. ; name as parameter), if the unserializer finds an undefined class* @  q8 X# Z0 o' t$ o8 {0 P+ _: i
  279. ; which should be instantiated. A warning appears if the specified function is
    $ m( m* T% _! C* Q1 [
  280. ; not defined, or if the function doesn't include/implement the missing class.6 T" p6 y7 q+ r, U0 q
  281. ; So only set this entry, if you really want to implement such a
    ! V  @. H5 a  t2 H! Y
  282. ; callback-function.
    4 Z# e4 j# B* J6 }6 C
  283. unserialize_callback_func =) u) E' Z# m, h( {( Q- P
  284. 6 j# s, D  B8 C% t! y
  285. ; When floats & doubles are serialized store serialize_precision significant
    ' {' g: V( i/ A6 j" R; T' Z  Y
  286. ; digits after the floating point. The default value ensures that when floats" _1 {! p, ^1 T; z7 C( @, r: d/ f/ P; L
  287. ; are decoded with unserialize, the data will remain the same.9 F/ m/ t$ l% w
  288. serialize_precision = 17
      e2 ]' D3 i. L' B/ q3 Q0 {, Z0 y

  289. * n% e4 g4 ~, t: J
  290. ; open_basedir, if set, limits all file operations to the defined directory! f. ^; P3 s9 y7 L
  291. ; and below.  This directive makes most sense if used in a per-directory. ?8 O" Q* M: f' I, L- O# v
  292. ; or per-virtualhost web server configuration file.
    $ ^# x( m* ^, s7 ]  c$ M
  293. ; http://php.net/open-basedir
    ) J2 e) [$ R4 m9 |  J
  294. ;open_basedir =
    4 x* Z  e' O/ z( V+ N' g( x

  295. 2 u1 C/ c5 {' p3 _# M1 q: o: s; B
  296. ; This directive allows you to disable certain functions for security reasons.
    ) L# h$ G1 G  c; F' {& Y
  297. ; It receives a comma-delimited list of function names.
    - N' Y% x1 l6 F4 C. k6 x& \
  298. ; http://php.net/disable-functions. g/ G5 J2 A* K, E; L
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    1 z/ P4 L1 d* X4 @5 b
  300. 4 c) ]9 A9 c7 i( {  Z, L. E/ v
  301. ; This directive allows you to disable certain classes for security reasons.4 @  Q! U! c6 E, n$ n) m
  302. ; It receives a comma-delimited list of class names.
    % h1 {: V! W" h0 P
  303. ; http://php.net/disable-classes
    1 X  r; W& \, c9 X
  304. disable_classes =
    8 |* p8 }, a$ Q% _- {3 G

  305. * G& ]1 Q5 J% f5 l- {5 L
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    + |+ g4 o6 }: L: P; \8 V# b' {* O
  307. ; <span style="color: ???????"> would work.; [( D9 }" k+ B, }$ T$ g4 W
  308. ; http://php.net/syntax-highlighting
    3 a& V6 `  A4 ~/ U
  309. ;highlight.string  = #DD0000
    9 s  Y5 @' [* c: N/ a' y
  310. ;highlight.comment = #FF99005 E5 [6 ~6 n8 ?5 U' G7 Q% P; B9 k
  311. ;highlight.keyword = #007700
    . `0 _2 s3 e7 }9 ~# N* |6 t. F
  312. ;highlight.default = #0000BB
    / i) ?5 _" b% ?$ f3 t+ _
  313. ;highlight.html    = #000000
    # t, X- ?) F1 b  @% A

  314. 2 ^; C& i! W4 K8 V+ p
  315. ; If enabled, the request will be allowed to complete even if the user aborts- ]) B5 c5 o; Q% \3 z: a# Y; H- o
  316. ; the request. Consider enabling it if executing long requests, which may end up
    ( o# r* r# D5 l4 Y3 P$ I) I
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    6 Q6 D* {' \6 R3 ]
  318. ; is to disable this feature.$ V6 J# t# E  ^2 ?( m
  319. ; http://php.net/ignore-user-abort
    - E  x9 B5 v+ P) Q( p
  320. ;ignore_user_abort = On
    1 P. W, Q- ?* r! ?) S: p
  321. / P, K% F, G* X8 E, H1 o- D
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    + B5 u" C* J$ E& k
  323. ; be increased on systems where PHP opens many files to reflect the quantity of; f9 m6 P7 L4 w4 M5 R7 I8 R8 k
  324. ; the file operations performed.6 a3 g$ z  X9 v' A! R0 [
  325. ; http://php.net/realpath-cache-size
    8 }3 N: b# M5 T2 ^. }
  326. ;realpath_cache_size = 4096k
    + Y, Z% h7 A' p* n& Q
  327. / q2 d* @5 s' b  I* @7 u2 N4 Y
  328. ; Duration of time, in seconds for which to cache realpath information for a given" ?& [$ I3 ?- ?7 N1 L! C
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    % w0 V! S  v* K3 B! ~! d
  330. ; value.
    2 h' P# g: ]. }
  331. ; http://php.net/realpath-cache-ttl
    : d+ f  a3 J4 B* ~6 k, G+ k: X7 i% s( S
  332. ;realpath_cache_ttl = 120
    7 i4 f: g0 u$ M8 v
  333. $ x( V6 `, p  c  w
  334. ; Enables or disables the circular reference collector., Y, C- L7 |) E
  335. ; http://php.net/zend.enable-gc! f7 _# u( b) m7 q
  336. zend.enable_gc = On: E8 P9 C9 r5 t# U, m

  337.   t9 k% c0 J1 X( P+ ?- u
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ' Y) y% l2 l; C
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    " h  D5 d7 u7 P( ?' S
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    " S: H. g3 Y$ M* u7 y
  341. ; Default: Off' ?5 _1 A1 I1 i4 f, l
  342. ;zend.multibyte = Off
    & y  L. @+ `3 Y8 T

  343. ) L1 t$ v4 U6 {
  344. ; Allows to set the default encoding for the scripts.  This value will be used" U! @) s# d) C9 T  F5 z3 h  j4 N
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    " ]3 X8 a2 q0 k% `( p. Y
  346. ; Only affects if zend.multibyte is set.
    : j4 i4 g1 N7 m  i& o; q
  347. ; Default: ""7 L; n. H9 ?, W0 w2 l5 J  S
  348. ;zend.script_encoding =3 a7 W* U" k. C7 a

  349. 6 A' u" G2 J( w- x: x
  350. ;;;;;;;;;;;;;;;;;
    5 s) l" C9 a& x& [
  351. ; Miscellaneous ;0 S" @- {( \& e- o- N! d- b
  352. ;;;;;;;;;;;;;;;;;
    / F1 x. Z" l  E/ Q9 C0 d

  353. $ B& r9 ?& x4 A9 T
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    5 a7 l1 q  O* B( Y* g
  355. ; (e.g. by adding its signature to the Web server header).  It is no security! R# f1 A7 a6 b- z; V$ A+ D
  356. ; threat in any way, but it makes it possible to determine whether you use PHP/ |7 g0 F" G: Z1 Y1 q3 M
  357. ; on your server or not.
      @0 G. q$ s- z1 }
  358. ; http://php.net/expose-php
    * C0 K* u# h4 ]
  359. expose_php = On
    ! _! E  D: E" E# g

  360. # U! c' d; d0 X) P) Q( `5 s9 V
  361. ;;;;;;;;;;;;;;;;;;;
    - J3 {8 e9 W6 g3 E
  362. ; Resource Limits ;$ [* L9 N( r2 q6 C; O$ H1 D
  363. ;;;;;;;;;;;;;;;;;;;* \8 J# S* J/ ^$ P
  364. / {! n. f+ T# W$ i) [' p0 j
  365. ; Maximum execution time of each script, in seconds6 X0 {5 Q6 t- z5 ~: T
  366. ; http://php.net/max-execution-time
    # \) D7 t. d+ c/ J
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI  m( D+ i# K, _! ]) h
  368. max_execution_time = 300
    & f- R( Y# L5 I( h# [0 @  m- Q% D
  369. 8 b" {$ b" p, g: j
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    - V, R" `& l  I% E( i2 ?. Z" w1 m
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    $ j7 @; r! T# k# t& E+ `
  372. ; long running scripts.
      U7 _  a3 i9 y; Z4 c
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    % t8 v' Z; i* C8 l6 Q9 P
  374. ; Default Value: -1 (Unlimited)
    " v( S, I5 b+ ?# ~
  375. ; Development Value: 60 (60 seconds)
    4 Q' Z$ Z2 P4 d( v. k& C  U
  376. ; Production Value: 60 (60 seconds)
    9 W4 `& n7 C8 b8 Q5 k1 I9 h
  377. ; http://php.net/max-input-time! j1 W. x" F5 Q' R3 ~* x1 K7 C
  378. max_input_time = 604 s4 q1 o2 J9 Z1 K0 A% \3 p8 v

  379. ; T# P% \) K: u8 E+ q
  380. ; Maximum input variable nesting level0 H' |/ q; p( z& I& g
  381. ; http://php.net/max-input-nesting-level
    " f( {+ ?4 ?* o3 y: n5 P3 Q) ^
  382. ;max_input_nesting_level = 64! E, r9 @& D) W- K# c

  383. / B1 j( ^4 R8 E% p# i1 j
  384. ; How many GET/POST/COOKIE input variables may be accepted
    # v, U* Q3 V) n" B
  385. ; max_input_vars = 1000
    7 l0 h; I& L% p8 k0 d! @
  386. - t% J( x# [* ]7 P- k6 k8 i  v
  387. ; Maximum amount of memory a script may consume (128MB)
    " D- V; [9 ?0 z$ t; ]; D; \9 a
  388. ; http://php.net/memory-limit: U6 k% F+ E  m
  389. memory_limit = 128M
    . ~# b: T$ ?2 T* K9 O
  390. 8 u- k0 ]2 |. ?, b+ B2 \0 y8 K( s
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ( k/ Z/ s6 Q4 j; ?8 @; e. }4 E
  392. ; Error handling and logging ;
      N. B0 g/ ~; h( R  J: ~! n. O& w/ H
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    $ {* N& Q( t* ?0 b3 M8 V
  394. ; w6 h2 L, T4 J/ O$ J- o" o
  395. ; This directive informs PHP of which errors, warnings and notices you would like0 q, M" T! x' [
  396. ; it to take action for. The recommended way of setting values for this
    9 Z3 G- X4 p) n" d9 @5 Z7 w
  397. ; directive is through the use of the error level constants and bitwise0 q& a/ y- B8 t5 u, \8 d5 \. W
  398. ; operators. The error level constants are below here for convenience as well as0 c. r$ C4 W. ^
  399. ; some common settings and their meanings.% m. S) h- I: b8 K6 i* a; D3 w+ R
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT- `) w3 p$ K! z9 Z
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and1 g/ H' A- y, C. n
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    9 K5 P8 `5 V' K2 ^% @  r
  403. ; recommend error reporting setting. Your production server shouldn't be wasting; T5 P! n$ O) ~5 |2 |" f
  404. ; resources complaining about best practices and coding standards. That's what9 G* k* z( F3 e+ u$ Q
  405. ; development servers and development settings are for.+ r! l9 z3 w: r3 |8 C
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    $ G6 y3 g8 o3 @( a" u3 M
  407. ; means it pretty much reports everything which is exactly what you want during! K# f' D5 d* M/ d& z
  408. ; development and early testing.
    5 Y: E3 w8 `! D' ~
  409. ;! ?6 t, |, y5 i% H& E. X
  410. ; Error Level Constants:
    & z0 _6 w3 V. d/ `# E
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0): y6 |6 ^2 D) ^8 r1 x
  412. ; E_ERROR           - fatal run-time errors) v- ?5 n+ L& |9 m9 e: I" ~
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    / o7 J* X' L0 Z% V
  414. ; E_WARNING         - run-time warnings (non-fatal errors)* R2 r1 n% g7 [
  415. ; E_PARSE           - compile-time parse errors6 M" Q4 ~0 p* l. b
  416. ; E_NOTICE          - run-time notices (these are warnings which often result" w8 I; i! a' }8 r; Y! D4 U
  417. ;                     from a bug in your code, but it's possible that it was0 d; L& n" n& V0 {" S) D
  418. ;                     intentional (e.g., using an uninitialized variable and
    2 V9 C% [. w8 X8 z1 m' O- [' v
  419. ;                     relying on the fact it is automatically initialized to an/ O/ l) @! X) [  X% z: ~
  420. ;                     empty string)3 x7 u3 i, ]7 N5 ?/ q; u, ?
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    8 @  H' q: v) [2 _' |6 _, j0 H" h
  422. ;                     to your code which will ensure the best interoperability3 ?5 f0 m1 r# N4 R: S; Y4 p+ X
  423. ;                     and forward compatibility of your code
    5 i5 }1 }" D8 A. h9 l
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    6 Z$ @- ]1 O7 b' A8 C# ]
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    7 G; q, V5 [  ~9 ~2 e% a% x
  426. ;                     initial startup
    * ~0 A+ Q, L8 v5 G# u/ A
  427. ; E_COMPILE_ERROR   - fatal compile-time errors5 A. O9 ?" X0 F; H
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    * Z7 R! k1 y' F* g
  429. ; E_USER_ERROR      - user-generated error message; F) J( b  r& v
  430. ; E_USER_WARNING    - user-generated warning message4 j# m  j# Z) y
  431. ; E_USER_NOTICE     - user-generated notice message
    " e. R) z" F; C/ c
  432. ; E_DEPRECATED      - warn about code that will not work in future versions1 w' A& v! F7 p( I" X
  433. ;                     of PHP# y6 f, h4 N& G5 Y4 c% X, |$ f
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings3 A6 P; D7 L6 T" c
  435. ;
    , C0 W7 C  `. B  z
  436. ; Common Values:% t% b0 W3 I! L5 [, t
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)5 Y: i5 H" C( I: }, R0 ^( O3 @9 x
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    6 w/ z0 j' h' R  Y! d5 o
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)6 c$ ^  [+ A" P! R$ l. h
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
      ~) M2 v: }9 ]1 J. v
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED, O  c* j4 D/ O2 o$ |! ~- e
  442. ; Development Value: E_ALL
    , S4 R! G3 z7 o% v  z6 y/ c' w
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 j' y5 {, N9 j( T1 {
  444. ; http://php.net/error-reporting
    * P$ j' P% @, O; Q$ A: `) a* L- d4 h
  445. error_reporting = E_ALL & ~E_NOTICE
    , I& s3 N8 B* k  O' d( U; S& Y

  446. ) c' Q5 X$ S8 M3 x" ?8 g; P, W+ `. |
  447. ; This directive controls whether or not and where PHP will output errors,) D6 z" d, Q, n$ G( l0 M, |
  448. ; notices and warnings too. Error output is very useful during development, but
    * h; t' Q$ b" L& G
  449. ; it could be very dangerous in production environments. Depending on the code: ]9 d$ F5 W8 j
  450. ; which is triggering the error, sensitive information could potentially leak
    & z' O7 |9 i: I4 M0 o8 X
  451. ; out of your application such as database usernames and passwords or worse./ _3 _) t" u' r7 Y5 U2 U
  452. ; For production environments, we recommend logging errors rather than
    % k9 ]7 L6 C+ B2 h1 z% L
  453. ; sending them to STDOUT.
    3 I) k% @8 n- r  L7 ?. v# z: f
  454. ; Possible Values:
    6 G+ r( Y  P; @6 c3 L; C
  455. ;   Off = Do not display any errors! B% Q3 ~8 p" d0 q9 ~
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)$ Q/ R( o% \; g& h, V
  457. ;   On or stdout = Display errors to STDOUT/ m/ y8 g( a" Q' d* r
  458. ; Default Value: On
    " b: P" t: N' r2 s
  459. ; Development Value: On4 f: a4 b6 r) F. {$ p
  460. ; Production Value: Off( S* `2 D/ d% ~% O+ ]7 M
  461. ; http://php.net/display-errors
    ( W3 m1 w3 }5 e! Q5 L5 j7 m
  462. display_errors = On5 L8 e* N$ A" a# w8 Q; Q
  463. 6 U" M3 }/ `* J9 Q" p5 N" W% ]
  464. ; The display of errors which occur during PHP's startup sequence are handled
    3 T$ _' ^* d7 I( X& _
  465. ; separately from display_errors. PHP's default behavior is to suppress those5 K" a, \2 ^  I2 w# C, p+ v9 U0 b
  466. ; errors from clients. Turning the display of startup errors on can be useful in$ V: R4 R# |# |  M! M/ e6 T
  467. ; debugging configuration problems. We strongly recommend you6 y4 V4 \  W/ ^5 u' z4 J
  468. ; set this to 'off' for production servers.
    / U2 U6 I" @) M9 @7 {6 H. c
  469. ; Default Value: Off( \: q7 Y: n0 R2 @9 r
  470. ; Development Value: On
    2 P) g& S& X* n5 ]) ?" x: r7 Q
  471. ; Production Value: Off
    : n+ b- ?5 w- P& d' e( D* P- u
  472. ; http://php.net/display-startup-errors
    7 `. s; d& M) m% ^% H2 {- A- ^  Z
  473. display_startup_errors = Off: ?" P; S% Y- @5 A

  474. & d. R3 T* x9 e
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    ; Y) X/ B- J; F5 ~2 n& R0 }) a
  476. ; server-specific log, STDERR, or a location specified by the error_log) d8 A/ W/ A8 u' m- {
  477. ; directive found below. While errors should not be displayed on productions" M: c$ h$ f% i" q
  478. ; servers they should still be monitored and logging is a great way to do that.9 ^) d) p" P. }1 S" s. `
  479. ; Default Value: Off0 o2 ^9 B; z  [6 ]6 X
  480. ; Development Value: On
    % e1 i8 M$ s1 w
  481. ; Production Value: On6 X, l" }! `" P9 n
  482. ; http://php.net/log-errors
    ) w' u  z( y/ K. O8 E+ {2 S8 a
  483. log_errors = On
      x  B* j/ @" F( u7 N7 l0 \
  484. ( P- I1 D8 ^) Y- S% P
  485. ; Set maximum length of log_errors. In error_log information about the source is1 C2 L, f: Q4 D7 _# x) k
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.  M  ^# V; D* F7 l4 U
  487. ; http://php.net/log-errors-max-len
    3 i, v: _$ g9 F. B- q" I
  488. log_errors_max_len = 1024
    : m, v8 C0 H3 [0 X
  489. + Y7 ^  p+ B' a6 A( f5 q4 W
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same: X9 n  B' R. v. J$ i0 U
  491. ; line unless ignore_repeated_source is set true.$ j" N" b) q3 ]; x. m% `
  492. ; http://php.net/ignore-repeated-errors! }. d% [$ u8 w
  493. ignore_repeated_errors = Off1 U  l1 Q2 t* c1 c) i

  494. , W1 E( F4 }/ ^% R8 ]8 Q
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    : Y+ D  Z2 X, _  P/ Q, Q0 C
  496. ; is On you will not log errors with repeated messages from different files or
    , R/ n5 |/ O$ q/ L% J4 B1 k& j
  497. ; source lines.
    1 @" m: A4 F7 _" m3 a/ ~, J3 Q, C
  498. ; http://php.net/ignore-repeated-source1 v* d+ _4 u  Y7 C7 [; D1 s
  499. ignore_repeated_source = Off
    1 Z/ V1 J6 X3 v7 B5 V3 r9 l
  500. 3 R4 u! G6 u8 C
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    * |7 C: I0 J5 [3 @: k
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ; u: a6 z1 u; t
  503. ; error reporting includes E_WARNING in the allowed list
    5 W* g6 u# H$ [/ G+ Z7 J
  504. ; http://php.net/report-memleaks2 E2 k9 X5 |$ l4 X
  505. report_memleaks = On9 O( ^8 [( a$ R. M( b& |
  506. ' v& @- ]+ Y  i# q( z
  507. ; This setting is on by default.5 }$ p6 U( u; P6 }% q! L
  508. ;report_zend_debug = 0$ ]3 K' G; M+ m/ w0 x0 U& n( }

  509. ) [' k( T7 o1 E: b
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value5 L6 Q% m3 z8 {( T: B
  511. ; to On can assist in debugging and is appropriate for development servers. It should& p- ?/ j6 R4 w* ]' O) K6 g: c
  512. ; however be disabled on production servers.
    / B5 T% R& u$ @. S' Q
  513. ; Default Value: Off
    3 _/ ]8 z1 {7 @' N5 h
  514. ; Development Value: On8 H* O. R* b- ]1 D/ o
  515. ; Production Value: Off
    # c1 D# [, o  t2 G  Q( {' d2 M4 x
  516. ; http://php.net/track-errors" i1 p1 F# k# F( n
  517. track_errors = Off0 R0 _1 N) b4 a6 y0 C
  518. / ]% s8 T0 o0 H% f. o
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    * g+ M4 P! o) J/ a9 A7 t
  520. ; http://php.net/xmlrpc-errors
    1 t$ F( Y  I5 ^$ _- I. O1 ^* _9 Z
  521. ;xmlrpc_errors = 0& K1 I  k! k4 C
  522. 5 G. N- e5 t3 {& h* V2 F
  523. ; An XML-RPC faultCode3 S/ w. V6 o1 F! q
  524. ;xmlrpc_error_number = 0
      Z6 @7 z  C2 {# o( M' E3 w

  525.   [0 x; k' n% K. ?* d
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    $ P( L% N3 s1 H/ F% I1 G. w' _6 q3 j
  527. ; error message as HTML for easier reading. This directive controls whether6 ?9 L' P8 u' z, t: W2 r
  528. ; the error message is formatted as HTML or not.8 A5 m9 Y  {/ W- m) J4 Q
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI0 b2 s. \. M8 D  ]% q
  530. ; Default Value: On
    ( O& S8 U9 }1 W/ B+ h
  531. ; Development Value: On
    , k+ |2 i/ k; b( |, @5 P
  532. ; Production value: On4 ~1 \* A: C. I9 {* _# x( f
  533. ; http://php.net/html-errors
    5 I7 N* L; |; C  }$ E
  534. html_errors = On5 f1 [# H8 u& T) x4 W# N

  535. ! J  o. K) M" A
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    8 Y1 e6 K' _3 `) I
  537. ; produces clickable error messages that direct to a page describing the error7 X0 l' i% ^- M5 ]$ C, S9 S
  538. ; or function causing the error in detail.
    3 G( `, e/ {' G: V# F! @
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    ! n5 {/ p1 F9 q1 m" u
  540. ; and change docref_root to the base URL of your local copy including the' Y; K- S/ \% t# Y8 Q
  541. ; leading '/'. You must also specify the file extension being used including
    / e: k: ^) y! O) K1 ^3 p" e. W
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which/ E4 b, r0 t8 _
  543. ; case no links to documentation are generated.  ]8 t+ m: ?* c) K+ e2 \% _
  544. ; Note: Never use this feature for production boxes.
    * a: @6 D! ^2 Z. C
  545. ; http://php.net/docref-root/ }7 n5 ?' P3 p: S9 ?4 X
  546. ; Examples* u. e9 z$ [: a- J
  547. ;docref_root = "/phpmanual/"2 e0 W8 C( a$ q. u
  548. 5 R4 k2 v- ]) ]% v* o  w2 ?( n8 d
  549. ; http://php.net/docref-ext# U  d+ j4 E. _% `  m/ P7 k
  550. ;docref_ext = .html
      C8 t: l4 K; m) P* t( D+ B

  551. & g0 a' L; _4 Q6 K: ~8 j0 {6 `
  552. ; String to output before an error message. PHP's default behavior is to leave
    ! g# v- `$ V3 x1 L$ z. ~
  553. ; this setting blank.
    8 I' }3 ?8 e$ b9 g: W9 E# e& W: Q
  554. ; http://php.net/error-prepend-string
    ) t+ |7 A1 Z6 |7 D' D1 @5 D% D3 _' ^
  555. ; Example:
    * B, v' w7 r8 d/ Z/ P6 r
  556. ;error_prepend_string = "<span style='color: #ff0000'>"% T7 D& ]8 ~/ ]7 Q# ?7 z. ~
  557. 1 U" N! B0 d& M) V$ k1 X: E' R
  558. ; String to output after an error message. PHP's default behavior is to leave
    4 T1 u9 G' O8 x2 x" h
  559. ; this setting blank.
    8 P3 o6 D6 C9 |8 ~5 |$ T5 N% q# q
  560. ; http://php.net/error-append-string7 |3 x) {% f  `8 r5 z
  561. ; Example:3 {0 e  Z2 F" S. a" t# B) E1 D7 m% c
  562. ;error_append_string = "</span>"$ M, h7 d" i5 z4 p

  563. . U3 r8 M  e, D  P& W+ O0 W2 p9 L
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    9 Z2 M( t: t* b" I% ?& K6 Z
  565. ; empty.
    6 O# P) |* N1 t1 a- L
  566. ; http://php.net/error-log
    6 w& b4 \$ S2 C* @
  567. ; Example:" c+ q1 g0 v! i6 p  k
  568. ;error_log = php_errors.log
    3 O+ n6 I/ W% o5 ]1 H* e
  569. ; Log errors to syslog (Event Log on Windows).
    - v( l/ p  t4 n2 A2 {& x
  570. ;error_log = syslog
    5 k/ g" z% _, l" O

  571. ; X' |) l$ |$ }' z' O
  572. ;windows.show_crt_warning( @. ~- s- J( R( Y9 c0 O" K7 `+ w# |
  573. ; Default value: 07 t/ O' I8 p& J- A! V
  574. ; Development value: 0
      v! W3 z: R& R7 o0 t' I- D
  575. ; Production value: 0
    # L. z% F5 A) \4 ~  R

  576. # I: @; ]3 M% Y* m# @
  577. ;;;;;;;;;;;;;;;;;
    9 t" B% {# t! Z
  578. ; Data Handling ;
    / Q3 S; S7 D" P& V
  579. ;;;;;;;;;;;;;;;;;& A+ m: |4 V7 `( s' K

  580. 9 h8 m! q0 D/ n: C+ [4 l% y
  581. ; The separator used in PHP generated URLs to separate arguments.# p' [& x" M( f; m/ n
  582. ; PHP's default setting is "&".
    ( t3 p( d5 m, I7 S1 m: s
  583. ; http://php.net/arg-separator.output
    " @- Z6 h. S+ X5 f. L( u& j  x
  584. ; Example:
    . D7 i( v9 e, Y/ H& {. B
  585. ;arg_separator.output = "&". V: \5 Z# C# U/ V/ h

  586. . J. k5 W- [! L9 G
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    2 i% L% j0 w/ L
  588. ; PHP's default setting is "&".
    0 W' v, J2 ~" A# g5 @
  589. ; NOTE: Every character in this directive is considered as separator!) f5 w7 H: H6 B8 B
  590. ; http://php.net/arg-separator.input: a" Y+ e4 D% W* i6 O6 o
  591. ; Example:
    3 S2 _8 y& Z8 K! U- p
  592. ;arg_separator.input = ";&"
    : q( N* ?' {  [1 C$ C

  593. " U& l- C; @1 F, _2 X& Q0 f& l2 Z
  594. ; This directive determines which super global arrays are registered when PHP
    # j+ a0 j. }6 v( S  j
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    & V$ ~: x3 u2 Y9 O$ M0 x
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty% J0 Z' A) M& v# b! G  b, l6 o/ m4 v
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    9 \2 y0 U3 X2 c- ~6 B& v0 N: V) ?
  598. ; used as the others, ENV is not recommended on productions servers. You
    & e4 B" `, v2 V% |, u& i
  599. ; can still get access to the environment variables through getenv() should you! E) \: b6 b8 |6 b; A& s
  600. ; need to.
    1 X: ^( R& v, I) R7 e7 w9 ^
  601. ; Default Value: "EGPCS"- a+ |, z' O9 t: H0 O3 B
  602. ; Development Value: "GPCS"
    4 o# N! S( y( c# e: N
  603. ; Production Value: "GPCS";" P$ I/ P7 w- E! E
  604. ; http://php.net/variables-order/ F  o6 Q; t, ^1 B+ U9 E
  605. variables_order = "GPCS"0 e+ B- I* S( ~6 X

  606. 3 T# z7 Q2 S9 A. @
  607. ; This directive determines which super global data (G,P & C) should be
      \# f3 E% K3 b% U9 B" G4 o: Y. q
  608. ; registered into the super global array REQUEST. If so, it also determines
    * t9 p% J/ q& ~+ A) g
  609. ; the order in which that data is registered. The values for this directive6 l# P0 b# O' b2 n5 e( ?9 `  Q* k
  610. ; are specified in the same manner as the variables_order directive,- y) N) V- J- U# d0 m  e/ a
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set5 T+ Z2 l% l% N7 |6 F
  612. ; in the variables_order directive. It does not mean it will leave the super+ C; A" D# K( _4 a
  613. ; globals array REQUEST empty.1 b6 Z3 ?5 e- _" V1 l
  614. ; Default Value: None( m5 O* t7 S! F0 R+ T
  615. ; Development Value: "GP"! V# j* q2 B8 G+ _: f) r
  616. ; Production Value: "GP"
    6 i$ W& V  h4 W+ I
  617. ; http://php.net/request-order
    - l4 v- H/ f4 f4 C% o
  618. request_order = "GP"
      p! R* w8 V* s. c8 b/ i/ j

  619. ; N% c' o# }  L7 T9 l; G$ z
  620. ; This directive determines whether PHP registers $argv & $argc each time it4 g, A8 ]" w$ A9 h7 e( H
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    * s) f& F- t) L- ?6 y9 ~
  622. ; is invoked. $argc contains an integer representing the number of arguments
    0 J* g3 P! t" v- q
  623. ; that were passed when the script was invoked. These arrays are extremely  f/ I, J- D( T$ }
  624. ; useful when running scripts from the command line. When this directive is
    4 {" ~! P/ x' U4 O2 {
  625. ; enabled, registering these variables consumes CPU cycles and memory each time! S# s1 @/ @) r# S" K
  626. ; a script is executed. For performance reasons, this feature should be disabled6 s" ~! Y7 `5 `* d' G
  627. ; on production servers.# v. x# ^$ f3 X2 e" d: g
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    # h+ m  r2 {$ z% C7 h0 B- S& N
  629. ; Default Value: On
    3 {7 H4 M# [7 L$ ]8 h) L
  630. ; Development Value: Off) o/ t& W: {4 h0 f' m
  631. ; Production Value: Off
      E% V  }( \+ }( P- h2 P
  632. ; http://php.net/register-argc-argv
    ) C( z8 @& q/ c
  633. register_argc_argv = Off. O8 a2 p* S0 n1 i: G
  634. ; K' i; k" p: W! {# W1 H5 B$ u7 ^8 M
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're. K  z0 k; k# J' l' |" j8 ~5 X
  636. ; first used (Just In Time) instead of when the script starts. If these
    * {0 V$ |- w/ s+ U) ?7 X
  637. ; variables are not used within a script, having this directive on will result
    3 l0 t! N" ]! h. B/ k' x
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    % W9 ~8 ^% _1 j& U  O6 b1 A
  639. ; for this directive to have any affect.
    ; ]$ r6 v+ u3 H3 g( Z) h
  640. ; http://php.net/auto-globals-jit5 h$ }, g$ w7 _2 {* U) g& v
  641. auto_globals_jit = On
    * E8 ^* _$ g, M" E. {3 b

  642. . o6 b- q6 I, O, V6 D( o( @
  643. ; Whether PHP will read the POST data.
    # j9 I, _8 R0 ~0 H+ T5 v
  644. ; This option is enabled by default.
    / z9 B0 t, R9 E( @
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST! k9 a( z4 w3 @
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    . o2 S: Z1 x- B  J, c* D6 [
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    8 C  }5 h: I! v& n8 L* p) w( R$ [
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    / M+ x" J& H9 P/ r' K& |
  649. ; http://php.net/enable-post-data-reading- Z, z9 ^9 l- Q6 n; m+ j! Y
  650. ;enable_post_data_reading = Off7 k7 d4 {! N. ], z8 v/ j* W9 z
  651. 4 \* Q% k. i9 i- }
  652. ; Maximum size of POST data that PHP will accept.+ e/ R  i% E3 T+ U: b$ Y+ D1 G; X
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    6 }0 G0 ?6 G* Q  K8 |/ k5 m2 ~- @1 O
  654. ; is disabled through enable_post_data_reading.1 y# D. f( t' M, R; d
  655. ; http://php.net/post-max-size3 E) t. u3 {. k: ~) U% J
  656. post_max_size = 50M7 ^0 {/ x+ b3 I7 E

  657. 5 O$ B! [( B, X6 p6 |1 P
  658. ; Automatically add files before PHP document.& K8 m: w3 D1 Z' o
  659. ; http://php.net/auto-prepend-file
    6 {+ Y& l& q6 P" C  ?6 V
  660. auto_prepend_file =
    % _( A, X$ ]% q$ m8 z7 V+ Y

  661. " I4 \5 Q/ P" z( j9 y/ @0 ~) w, }
  662. ; Automatically add files after PHP document.2 i: q* W* H) ~  R2 C4 b8 H
  663. ; http://php.net/auto-append-file0 e# G; b/ n" y  k" j
  664. auto_append_file =# G9 R" X/ p# _6 M' x9 D; s( j4 ^

  665. * O( c& r7 t% H- J/ G/ T/ k
  666. ; By default, PHP will output a media type using the Content-Type header. To! ^/ o# J1 W: u: X3 T* [
  667. ; disable this, simply set it to be empty.
    " h. A$ u& i9 Z. ]& o. a! I
  668. ;+ p7 C5 [& _' h9 I1 g5 |! `
  669. ; PHP's built-in default media type is set to text/html.0 o. T) ^; D, Z, Y, E
  670. ; http://php.net/default-mimetype
    5 {: v9 g! V: }3 y( Q0 S
  671. default_mimetype = "text/html"
    1 P& D# `7 g6 t7 }& ]0 B
  672. 9 N" Z2 v0 `2 M0 H* L; s/ Y
  673. ; PHP's default character set is set to UTF-8.5 E/ a/ \; a: O
  674. ; http://php.net/default-charset
    - Z  E- L; b) @3 }; u
  675. default_charset = "UTF-8"
    0 S- d  {5 ]  D% f- O& T% g- \5 B: z) H
  676. & [! @8 B  T* L7 d  N9 r" e
  677. ; PHP internal character encoding is set to empty.7 J, D" h* l& R4 n7 f" _- N
  678. ; If empty, default_charset is used.- G! \- N& v% J1 q6 {7 C6 N
  679. ; http://php.net/internal-encoding/ T! p7 f4 D4 R# e4 o, x
  680. ;internal_encoding =
    9 P( I" S# @9 K) I$ j; D# _+ L

  681. 4 D) d% [+ [2 ^) m3 U  A$ `
  682. ; PHP input character encoding is set to empty.5 B8 |# ~% i! d
  683. ; If empty, default_charset is used.
    & T( v( R4 \( T
  684. ; http://php.net/input-encoding
    ) k% r0 K/ h5 L) Z3 o9 f
  685. ;input_encoding =4 N/ H% M, L0 O2 x( [
  686. + ^0 v0 F2 W' f. `" }0 G% }2 W# \0 y
  687. ; PHP output character encoding is set to empty., {7 ?& t5 C& I( j" H8 k& |5 ?
  688. ; If empty, default_charset is used.6 A! w4 S3 k- d: }4 c3 T
  689. ; See also output_buffer.6 r: v0 W3 m0 q
  690. ; http://php.net/output-encoding) p9 A6 ?; ^7 A. \7 Z. O# o
  691. ;output_encoding =; x* V2 L7 G0 d- Z! @8 {

  692. 6 [1 ]0 A. n( y( k
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ) j9 F# A6 r5 H4 k: H7 H
  694. ; Paths and Directories ;2 K% z) L+ d. O+ M/ s, ]
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;- f$ q5 b, [0 ^2 ?

  696. 5 ]) ~9 r" c" ?" U
  697. ; UNIX: "/path1:/path2"+ C9 D9 j8 C7 t
  698. ;include_path = ".:/php/includes"- C5 Z2 y# y* s. G* ^* v
  699. ;
    3 q3 g5 `5 M0 r2 M) N  I
  700. ; Windows: "\path1;\path2"$ x% l) L7 f; A  G
  701. ;include_path = ".;c:\php\includes"4 f+ Z+ `6 p1 l0 t: r4 i
  702. ;' a. i# w% N. I
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"/ c& W4 w5 a' C) Z5 y
  704. ; http://php.net/include-path' I3 ^# |- Z" M( M* B; H

  705. 5 D" a, b4 V* X# U( a6 ^2 P' R4 R0 T
  706. ; The root of the PHP pages, used only if nonempty.
    - p1 k+ S; }$ i
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root' |( C# ^1 i3 T8 r
  708. ; if you are running php as a CGI under any web server (other than IIS). N3 k! K6 o2 ^0 m
  709. ; see documentation for security issues.  The alternate is to use the
    2 U2 X+ z3 ~5 G# n: x( |+ v6 L
  710. ; cgi.force_redirect configuration below
    ! M7 m9 U# p7 o7 ^* s6 Y, R
  711. ; http://php.net/doc-root
    4 T2 O3 C- r0 i
  712. doc_root =
    # J# h" B. m$ d& f
  713. 0 D& m' Z; H1 h8 M3 }3 e
  714. ; The directory under which PHP opens the script using /~username used only
    0 n) o; t5 ~. M3 T+ ~) h
  715. ; if nonempty.1 z. @. q+ K, G  D5 I
  716. ; http://php.net/user-dir2 w) q# {& \7 H# T$ u6 v+ Z
  717. user_dir =
    ' w- w: v6 e$ k; ]) v8 M

  718. ; D' J& K! }, Y
  719. ; Directory in which the loadable extensions (modules) reside.
    : K4 i. |  X$ a% o- m# j) m. H
  720. ; http://php.net/extension-dir
    8 E  Z+ E$ e; _) Y
  721. ; extension_dir = "./"& l6 [7 d3 b7 ]2 V
  722. ; On windows:
    7 Q1 i2 `, N' X+ b- s
  723. ; extension_dir = "ext"
    7 w& @* m" n& S
  724. ! m" R+ |7 ~* f4 Q, M1 w; ^
  725. ; Directory where the temporary files should be placed.- Y) l+ C/ X' ^: F  d/ |  s4 S) x
  726. ; Defaults to the system default (see sys_get_temp_dir)
    0 F( @: F, ]5 m
  727. ; sys_temp_dir = "/tmp"
    6 \% Z" j' w) w2 s' F
  728. " `. K% ?% o3 [. y/ N0 ?
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work+ u' N2 ?& j. y, r9 H" v
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically- K) T8 C6 r1 k  `- P6 T- C! s/ W
  731. ; disabled on them.
    ) Y0 k) X, ^/ d& z* Q3 y4 L
  732. ; http://php.net/enable-dl
    ; K$ x" G( t' e: g
  733. enable_dl = Off" J9 ]$ |4 `8 q' P" A8 f9 z0 B# h
  734. ( e7 y" X& W# D/ l) O4 L
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under0 U+ o$ }' M, s
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    3 @6 H5 x( H% U9 L0 z4 Z" z1 Q( E  [
  737. ; turn it off here AT YOUR OWN RISK
    5 R$ t4 C% Y( x. ^
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**: E( Y8 D+ V* v% f, B' i+ T  I7 B
  739. ; http://php.net/cgi.force-redirect, v4 Y- a& O: n
  740. ;cgi.force_redirect = 1
    , T1 w3 f" ~: x) T6 T; Y
  741. 6 Z6 t& D  c' ^- u
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with5 v7 \. c& z6 Q
  743. ; every request. PHP's default behavior is to disable this feature.7 O; F: b6 u/ Y$ }! j. `
  744. ;cgi.nph = 1, I2 f! c4 b; B+ g
  745. 4 c. `: n0 k( S+ l. x, T- w8 c# m
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    * g4 C' `+ `. I* _* ~( _
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    * A9 U2 U" P5 k, @
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY2 O7 s' B, \+ V: `% d# u
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.) H5 R5 p% Z! a" r8 e
  750. ; http://php.net/cgi.redirect-status-env" h  T# }1 ]5 E) z
  751. ;cgi.redirect_status_env =4 G; D* v5 H( e' k& k
  752. ' ?) G# h/ J: \0 b+ t
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's) z5 G7 u/ D9 T2 T4 H
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok- Z* p( ^4 Q  i' D. W5 a7 i
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    & b; o" [! y* F3 B' y# K- S- c& I1 M' c
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting, O5 X& O% r& g- K
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ( I. v6 j( D" l" Q
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.$ ~+ W5 D/ S' x6 o" |1 q# A
  759. ; http://php.net/cgi.fix-pathinfo( ~8 Q( d: A) R9 x/ t
  760. cgi.fix_pathinfo=1
    1 T2 j2 j" Q8 l$ H+ `
  761. ! g( J2 c  e) P! j8 S" Z7 p; ^
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside/ c( [' c  n9 J8 y- w; G# M
  763. ; of the web tree and people will not be able to circumvent .htaccess security.3 b# F8 D7 c8 ^: k; o8 u& l8 E
  764. ; http://php.net/cgi.dicard-path' i! H+ }& A$ s: r
  765. ;cgi.discard_path=1
    2 m6 y9 B& k8 U. g) \' v) n
  766. : u& W" q7 P0 @4 f7 |: ^, O) _; x
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate1 n- X1 Y  K# Z4 Y
  768. ; security tokens of the calling client.  This allows IIS to define the
    % @6 T# C$ F6 F" u
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    % d9 l, V# y$ [- n
  770. ; does not currently support this feature (03/17/2002)% I+ d/ {2 [) y8 s
  771. ; Set to 1 if running under IIS.  Default is zero.! c; S7 T  N: D8 D2 c' H
  772. ; http://php.net/fastcgi.impersonate- m( ~0 u3 F( ]: k$ O3 v: l8 Y
  773. ;fastcgi.impersonate = 1
    9 n9 x2 K) v5 h
  774. 2 l9 l9 U6 O- b& b; b
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    3 B$ F% t' {& @9 h
  776. ; this feature.
      f6 |2 n' l) k5 n" m
  777. ;fastcgi.logging = 0/ X: B$ V: ~0 T4 ]/ o! A
  778. % u" M% `1 T) q  `0 ^) {( w6 m
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to1 y- ?( j, n6 a! q5 }, C5 J: g
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    . w# r& y, ~: A: m9 k% {, X/ y1 q
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    % N7 \5 x  f0 u! k- i) w( w3 N
  782. ; RFC2616 compliant header.0 k) t) g; r. ^8 R$ ?) g
  783. ; Default is zero.
    1 P- j$ M- s, h: v! _6 V: E  T- A" u- z! @
  784. ; http://php.net/cgi.rfc2616-headers
    6 z* `( |' ^& E5 s& s& g
  785. ;cgi.rfc2616_headers = 0
    " z% f  p8 N  F  Z! C

  786. 4 k4 p- S+ |1 C" w5 r' w
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!& H" ]( `; _+ p& }! A6 Y- |. M- Q
  788. ; (shebang) at the top of the running script. This line might be needed if the; X1 Z: C7 T! b1 H
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI) O, z+ X- t) N, e7 ~. b
  790. ; mode skips this line and ignores its content if this directive is turned on.' Q8 T) c* l) G/ E
  791. ; http://php.net/cgi.check-shebang-line
    7 v, i- b( W1 G! [+ k+ @
  792. ;cgi.check_shebang_line=1* J* T% N# W. x8 X2 ?

  793. ) t! r/ H$ U" N8 D$ y
  794. ;;;;;;;;;;;;;;;;, W5 s, B) m' h2 }( |
  795. ; File Uploads ;
    " D  }' E, D2 R6 k7 s
  796. ;;;;;;;;;;;;;;;;  c, U1 _1 {/ `1 O* h# ?" |0 h

  797. 0 D3 I! w$ `0 N5 Y+ w5 g' W
  798. ; Whether to allow HTTP file uploads.
    5 S- H: n3 e. A" m$ G1 s
  799. ; http://php.net/file-uploads
      G2 [9 A* t9 _. {/ Y
  800. file_uploads = On
      l7 m! B0 \- g; S( o2 B( A. [
  801. 8 _& h7 C! z  s1 V
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    ' U3 M( _9 ^0 x5 T( M* a
  803. ; specified).
    2 f: _0 o3 g3 i( k! i
  804. ; http://php.net/upload-tmp-dir; w+ W+ G# ?. l, I- O: B/ e
  805. ;upload_tmp_dir =
    8 A6 {: l% J0 C- i; f
  806. & F1 h) g5 ~/ d6 m: l; X, W
  807. ; Maximum allowed size for uploaded files.
    ' `+ [5 M1 d# H4 Y( g3 U1 F
  808. ; http://php.net/upload-max-filesize) D) P: [" g1 v7 Q7 s4 C
  809. upload_max_filesize = 50M( Y/ R6 r$ b) [. \5 }* @8 J3 L
  810. + i/ q6 F1 b1 k( p
  811. ; Maximum number of files that can be uploaded via a single request9 }" Z) N% [0 F! }6 r+ P8 }' g
  812. max_file_uploads = 20
    5 N# {  r( h9 E" Y; l5 `

  813. ' i! e  c8 @  b# f2 `6 I. Z7 ^7 X
  814. ;;;;;;;;;;;;;;;;;;
    & @8 H% Z, A" F9 q, e- b
  815. ; Fopen wrappers ;
    - f# c: R7 p$ R* Y
  816. ;;;;;;;;;;;;;;;;;;
    0 t3 t+ Z! O! d; t8 S1 C& Z

  817. + E" h  h9 ~3 K$ p! H' e; F+ F
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    # f6 F5 D  o- ]. P
  819. ; http://php.net/allow-url-fopen' x6 ^0 ]0 b5 C# T, I
  820. allow_url_fopen = On
    ; u; D: w; c; m5 u
  821. ( W0 }7 g5 `( P( B4 Y6 ?
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.  g9 C; @- D  w
  823. ; http://php.net/allow-url-include
    # ]% b5 r6 S0 i* p
  824. allow_url_include = Off0 D( K/ |  J- f, V  P% U8 o

  825. . K$ a. {% ?, V6 n+ q1 q( t5 |0 v
  826. ; Define the anonymous ftp password (your email address). PHP's default setting6 {' K6 c6 K+ q! n5 a
  827. ; for this is empty.; j5 e$ t3 k. E# C6 J
  828. ; http://php.net/from1 {8 l+ o, Q" h2 C/ N
  829. ;from="john@doe.com"
    " \$ h. h) ]4 j. k& X+ J0 ^3 R
  830. & G& E. N5 I$ M3 b5 O
  831. ; Define the User-Agent string. PHP's default setting for this is empty.: k9 X' i: U$ b4 F% t
  832. ; http://php.net/user-agent
    1 s6 j8 ~/ A7 j
  833. ;user_agent="PHP"
    # \2 i: h) J# b, }$ P3 o
  834. : v9 }( j5 ?# I+ j; I6 M0 E/ v
  835. ; Default timeout for socket based streams (seconds)
    2 b, g9 [: G' o" J) {9 m
  836. ; http://php.net/default-socket-timeout) u* k7 x) W6 O+ @
  837. default_socket_timeout = 60
    1 |% ?; C) n0 R, |
  838. % \4 D" _( t7 u/ S2 W
  839. ; If your scripts have to deal with files from Macintosh systems,% k6 |3 @# z0 ?/ y- w
  840. ; or you are running on a Mac and need to deal with files from
      }$ D' y9 [9 l1 o: N
  841. ; unix or win32 systems, setting this flag will cause PHP to+ d/ }3 |5 L! u3 A- t
  842. ; automatically detect the EOL character in those files so that: G- p. @# s0 L. T2 I) _9 o
  843. ; fgets() and file() will work regardless of the source of the file.' M5 _8 z, _6 H. S# n3 C) R! m
  844. ; http://php.net/auto-detect-line-endings
    4 R2 n( \  ~  J0 ^. J, y
  845. ;auto_detect_line_endings = Off
    5 \+ T$ V/ w+ C: q" W: M1 s9 J
  846. & E% T/ M" |) F7 r
  847. ;;;;;;;;;;;;;;;;;;;;;;3 j; F' ~. K9 G# ^+ Z0 c! Y
  848. ; Dynamic Extensions ;
    8 H5 R3 x+ P% j5 {
  849. ;;;;;;;;;;;;;;;;;;;;;;
    7 l% l0 F+ \- X& y2 s# }; U
  850. # F& M1 K$ h7 U2 v  \4 v
  851. ; If you wish to have an extension loaded automatically, use the following
    ( o3 S, t7 L; l3 @/ m9 R
  852. ; syntax:" x  y  f* U% n; H* {1 w; E1 g
  853. ;6 K  p+ z, g: L
  854. ;   extension=modulename.extension
    1 c2 e3 L" I1 B
  855. ;
    1 ]! o) g" O8 h7 ?# p7 a  v) U
  856. ; For example, on Windows:
    ( ^9 z/ C/ s$ i8 u3 g9 I
  857. ;
    ' m" R5 _! E- y8 i# f
  858. ;   extension=msql.dll- g- u6 z; z* D; f+ b* z5 g! V
  859. ;
    5 j0 \0 c. Y  [5 n/ p( m- o& x
  860. ; ... or under UNIX:) \6 L* o. q# U7 u, F# [+ D
  861. ;
    % a, V5 N, b  ~2 M& \, _
  862. ;   extension=msql.so$ F9 N  {% w8 p: u* J( ^& V5 U
  863. ;
    1 [5 c& J7 m4 G3 p, N; e* i
  864. ; ... or with a path:
    + B2 f) O1 L' X
  865. ;
    $ V7 O" P# t1 o8 z$ Q+ Y% S
  866. ;   extension=/path/to/extension/msql.so
      h' Y% A6 ^* q! N- K, L
  867. ;
    5 [. [$ b  F/ h2 d7 w; g
  868. ; If you only provide the name of the extension, PHP will look for it in its$ ~9 p0 @* g) p1 N3 F9 M1 x: _0 I; L
  869. ; default extension directory.
    * J! i) r# A3 u( G5 o7 O& T
  870. ;  K% u! J5 s% b) v: Q! |2 ^
  871. ; Windows Extensions' V  j; Q% _, U
  872. ; Note that ODBC support is built in, so no dll is needed for it.. ^# |/ M6 r. Q, n
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    4 o% w4 ]1 L: ^: a
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    & J. }) d" B+ e5 Q+ V* q
  875. ; Be sure to appropriately set the extension_dir directive.
    # z# P2 j4 N; P" l; Q3 B( `6 o
  876. ;
    + ^8 B, j- M1 I; O7 F0 b, G; Y
  877. ;extension=php_bz2.dll
    ! K- ]% w, k1 ^5 |2 v
  878. ;extension=php_curl.dll' ?  n2 O% w+ B# ]9 V7 N
  879. ;extension=php_fileinfo.dll) b9 }( G; c0 f* x6 R
  880. ;extension=php_ftp.dll
    9 i7 P, L; l/ P  ~
  881. ;extension=php_gd2.dll
    + g. U# s# q0 T0 e3 j
  882. ;extension=php_gettext.dll( Q9 a# L) n0 `2 Q
  883. ;extension=php_gmp.dll% ]+ Z0 k4 R, m5 f
  884. ;extension=php_intl.dll6 o8 ~4 J" }8 G" w
  885. ;extension=php_imap.dll
    3 V0 M* Q! P) e# c9 Q# N
  886. ;extension=php_interbase.dll+ C7 S0 I' w( Q# n2 K, T: T1 ]  D
  887. ;extension=php_ldap.dll1 f2 {. \. x- Q% l- P  l. j: f
  888. ;extension=php_mbstring.dll7 r5 D: D. K$ L8 X1 C0 x
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it$ C- w" c7 X$ u9 k
  890. ;extension=php_mysqli.dll( i! }4 Z# g$ k1 N* u
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    , T( {, F- ~7 ?8 K4 ^1 p3 X! k( [& `
  892. ;extension=php_openssl.dll1 {& N; Z0 `, B( K1 P5 E: S! s
  893. ;extension=php_pdo_firebird.dll3 w7 E: l7 [& P5 [7 V. ?: u: _8 x
  894. ;extension=php_pdo_mysql.dll6 t1 K6 |  j6 g) v3 L- W  ^" H1 B5 g
  895. ;extension=php_pdo_oci.dll1 U! ^5 r6 w1 y* }
  896. ;extension=php_pdo_odbc.dll) @2 c( p- u' U0 i, J' q' J, [& j
  897. ;extension=php_pdo_pgsql.dll
    7 A- Z" F6 f' ]5 w/ {& h9 b5 V
  898. ;extension=php_pdo_sqlite.dll( B: i( `# o" H- M7 Z4 x
  899. ;extension=php_pgsql.dll
    8 M" f0 U: y' P$ T1 S! [
  900. ;extension=php_shmop.dll. v% R! _0 y7 Y( ?+ ?
  901. : P- v; A7 W5 @  @! O
  902. ; The MIBS data available in the PHP distribution must be installed.
    : ^% J7 x- U. c9 N6 t# H
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    ( ^0 _2 K# X8 w7 ~! z5 O% R7 V
  904. ;extension=php_snmp.dll
    8 @4 `5 R% {/ n0 j0 X" F4 N' y7 ^

  905. . j" f$ e2 @( ?4 p% M
  906. ;extension=php_soap.dll; k3 L7 V; o6 k* Y/ D- K- b
  907. ;extension=php_sockets.dll
    - y! q% b) f: I
  908. ;extension=php_sqlite3.dll7 _/ J: o% b0 t
  909. ;extension=php_tidy.dll
    ( [$ i. u2 z0 [0 x& `
  910. ;extension=php_xmlrpc.dll* M3 [: E+ Y7 i: x" |
  911. ;extension=php_xsl.dll
    9 V7 H  l  M# \
  912. 1 @8 S" e) J+ h4 p& ~
  913. ;;;;;;;;;;;;;;;;;;;( l4 |, F$ i: ?
  914. ; Module Settings ;
    + p1 M- `; \/ j( m
  915. ;;;;;;;;;;;;;;;;;;;! h- Z8 \1 E6 m4 l9 Z% {

  916. ; A$ `( m* N9 s9 P7 U8 m
  917. [CLI Server]
    , j  h' U0 b/ x" S
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    7 i. C! X, u/ M
  919. cli_server.color = On
    1 @  P6 g$ I" J; `5 H( Q3 P' R

  920. 2 _8 ?& x! s& d! q3 ?) N
  921. [Date]
    ; w# s! D: A8 H$ {4 e4 o2 R! ?
  922. ; Defines the default timezone used by the date functions% S# W0 b8 O! F7 n
  923. ; http://php.net/date.timezone
    - S7 Z7 T( I9 ^$ \5 y5 A" P
  924. date.timezone = PRC4 B/ l5 Q. `% b2 L4 V

  925. ) b0 Z/ \$ u. Y, ]/ ~  e  v
  926. ; http://php.net/date.default-latitude4 z6 P. e& @4 P2 Y
  927. ;date.default_latitude = 31.7667
    6 n; g0 q/ J. n
  928. : F% e6 G: U+ i( m' V$ C1 g7 a+ z) f
  929. ; http://php.net/date.default-longitude
    + E9 ?+ [4 s- q$ v
  930. ;date.default_longitude = 35.2333
    " l, b- B8 a0 r( W4 v4 d- _* g
  931. ( g' _3 _8 n* u4 X- W: a4 k% i( C
  932. ; http://php.net/date.sunrise-zenith9 G2 H$ H$ j% B/ t
  933. ;date.sunrise_zenith = 90.583333% K" I5 }, Z1 Y- u% l7 \. T; ]
  934. 0 W# P* H% P: ]  L- F+ f
  935. ; http://php.net/date.sunset-zenith
    , Y" K- m8 p6 u5 P
  936. ;date.sunset_zenith = 90.5833334 D$ p6 q; l( B. b4 }
  937. ( m, U+ u* b" J0 V0 t" D: [. d4 W
  938. [filter]4 }8 _' G9 S- G: A- h- Y
  939. ; http://php.net/filter.default
      m4 P* I) ^) X, E- S5 l5 H
  940. ;filter.default = unsafe_raw% I2 g9 v  R( n" {' n; W  Q
  941. 4 {, y: e3 M9 ^$ H! {. O
  942. ; http://php.net/filter.default-flags
    ; W8 r1 K' x  r1 P( f
  943. ;filter.default_flags =
    ! J4 ?6 S7 U. t( z# d) r; V8 A
  944. ( ~6 ^: l3 l8 Q0 O
  945. [iconv], y' J+ ~: D! D
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.# c8 h4 u7 x. ]0 V0 }
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    # W$ l. F+ X. i- Z
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    $ Q" k. a0 g" k
  949. ;iconv.input_encoding =
    & ?5 d$ s. o9 H3 G

  950. . i$ E, h" S$ G- c
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.# z) |* e8 k- f) `7 o! e
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
      X6 ~; y& [1 C( |
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
      T' Z& u5 R/ [. h/ K
  954. ;iconv.internal_encoding =; y3 C& u6 P. T! A+ e
  955. " k/ {! W3 r# i1 K$ F3 d' x' |
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.2 R; s6 b2 m9 D1 C3 j+ x3 R
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.1 ?! N2 @" ?! Q. n! S
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    - M3 s; N: M& F; Y" R% e
  959. ; To use an output encoding conversion, iconv's output handler must be set
    8 V# [5 Y; O6 ]* L
  960. ; otherwise output encoding conversion cannot be performed.
    $ a# Y5 b1 P4 V
  961. ;iconv.output_encoding =
    9 j& V+ R% U+ G0 D( k
  962. / d4 j/ L( Y( x. |, s; x
  963. [intl]
    $ K; j8 P2 Y' B" G/ D* Z
  964. ;intl.default_locale =9 f! o( w- j, [6 o( c' }
  965. ; This directive allows you to produce PHP errors when some error& @. g; v6 a; l$ q# v
  966. ; happens within intl functions. The value is the level of the error produced.
    2 c. ?* f% H: V. F3 [
  967. ; Default is 0, which does not produce any errors.
    ( ?: p' k/ r$ L
  968. ;intl.error_level = E_WARNING
    0 D# V/ E5 ?' \$ Q. @0 ~/ k, i/ o
  969. ;intl.use_exceptions = 05 a7 E1 x) ]* C+ U5 h
  970. 2 C5 U9 E, |1 G: ~% H
  971. [sqlite3]
    ; {! b; B+ H: v& }: s$ A  B) _( ?0 |
  972. ;sqlite3.extension_dir =
    , @) y& t2 d+ a: \

  973. # N! [0 A+ p; M; N
  974. [Pcre]
    + v3 m& S, w' g6 }# A
  975. ;PCRE library backtracking limit.! j4 w! f# b- W& P+ `2 M) B
  976. ; http://php.net/pcre.backtrack-limit
    7 P$ l; m, g! ~/ G
  977. ;pcre.backtrack_limit=1000004 H. [0 {' [) `/ H

  978. 1 u1 A& D, r' D6 i5 {
  979. ;PCRE library recursion limit.) ^7 n7 o5 d: ?
  980. ;Please note that if you set this value to a high number you may consume all
    - Z+ d+ ]& s4 L
  981. ;the available process stack and eventually crash PHP (due to reaching the
    # ]0 {# i+ j. K+ @" O
  982. ;stack size limit imposed by the Operating System).- l* C- U6 j# C
  983. ; http://php.net/pcre.recursion-limit
    " E' t+ }% U0 O8 P4 v) W
  984. ;pcre.recursion_limit=1000000 }+ x9 K3 G) Y9 X+ `
  985. 2 f. H, i; K# H+ s$ R5 n
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE) d. P# H3 Y4 d6 ^# G/ i
  987. ;library to be compiled with JIT support.1 G. h1 x, W# l
  988. ;pcre.jit=1
    8 M$ ?/ G9 J) A8 m. v

  989. ' K# X0 [$ H3 Y( O4 h7 X0 O( u
  990. [Pdo]% O! k* s4 x- ?; S  ~6 g5 ~2 J
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"6 \4 u; l7 p* {7 W7 Y
  992. ; http://php.net/pdo-odbc.connection-pooling
    ! j4 N, n/ N. t- l+ ^# [2 h6 }) g* G
  993. ;pdo_odbc.connection_pooling=strict
    0 Z4 J9 `: C  X! a4 L

  994. . }; x6 \5 j4 s- e1 _$ o
  995. ;pdo_odbc.db2_instance_name
    0 x" Q  T# o! |& [7 L
  996. " o8 }! b8 h+ u9 @8 X
  997. [Pdo_mysql]
    % X3 T: `0 s) l
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    0 d% r' p. U2 ?9 y, P+ r9 P
  999. ; http://php.net/pdo_mysql.cache_size
    7 \8 Y/ J7 ^7 X( G( s1 Q! f6 l6 m
  1000. pdo_mysql.cache_size = 2000; A! k2 K3 ^7 T, Q: ?; B  S( |2 u

  1001. 5 P, _0 V6 Y* `4 D4 h0 L1 s. C( {
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    & V' H( E& F" r# ]8 |. d0 ^
  1003. ; MySQL defaults.
    6 q: H7 P- Z  u/ Y: E. v7 g4 S
  1004. ; http://php.net/pdo_mysql.default-socket8 T( D+ ?3 U# M0 H4 w7 @( J" f
  1005. pdo_mysql.default_socket=
    1 n+ a7 z9 Q! U% Z
  1006. + Z9 ~2 D$ x$ W7 d, T3 n  N
  1007. [Phar]! J2 L$ }' s0 G( \( O" N, _  e3 D1 ?
  1008. ; http://php.net/phar.readonly
    ! D1 P9 G. v+ O5 q  k& o$ ]
  1009. ;phar.readonly = On0 `' h6 q% }" l

  1010. 6 J2 \# Z3 _( b/ R# o
  1011. ; http://php.net/phar.require-hash  P! W/ Q# H* {9 O; ]4 D0 a
  1012. ;phar.require_hash = On& e& o6 h/ i" S) M* C
  1013. 4 z0 r+ b  ?  ~% A+ g# `% j( X
  1014. ;phar.cache_list =
    ' j* V. ]9 Q  [. R1 |' r% N

  1015. : n2 ]! v& L6 K, I. n( W- Y
  1016. [mail function]
    , h5 S7 C. ]0 y% D; x
  1017. ; For Win32 only.
    ( S* ]; T2 S0 x, K
  1018. ; http://php.net/smtp
    - W0 u: @1 b4 u  B; m
  1019. SMTP = localhost1 I$ ^' r& N8 m4 `; B" a
  1020. ; http://php.net/smtp-port+ s1 Z; d& W. G; ~+ d1 M8 S
  1021. smtp_port = 259 R& ~1 I- N- r: x
  1022. - w% R1 u( E3 H0 Q" q  _8 _
  1023. ; For Win32 only.
    / u$ m! C, P# b# T' |5 d
  1024. ; http://php.net/sendmail-from
      s/ Y3 x$ b+ E% H  a2 I* _
  1025. ;sendmail_from = me@example.com
    0 B0 L9 ?5 q5 W' a1 ?' P/ x3 F

  1026. ! S& j4 ~& S  ^3 H) \
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    " s/ P( z: Z+ A, A. W
  1028. ; http://php.net/sendmail-path
    6 `* Q  Q* z0 a) L2 h/ o! ^8 n4 z
  1029. sendmail_path = /usr/sbin/sendmail -t -i" {2 D: `: t! H& w' [! Q5 k

  1030. : L' P" N3 w2 [+ {- {
  1031. ; Force the addition of the specified parameters to be passed as extra parameters, {, A/ |) d2 e, m4 Z5 Z+ U; p. o
  1032. ; to the sendmail binary. These parameters will always replace the value of
    ' m) H! @3 \! z2 L
  1033. ; the 5th parameter to mail().
    ! O7 g. ]+ P4 E( s0 U/ O$ g8 x, ^
  1034. ;mail.force_extra_parameters =* B$ n" W% C+ ]* B: v

  1035. - l& S, z7 o0 U! \+ H
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    , w. j, w% e( M/ H& g4 }" l$ u& \
  1037. mail.add_x_header = On
    6 `( R2 X( C7 h& E% V

  1038. / `: z; M: f5 j1 u  _! k
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    " E: f! g0 k5 K& B8 W3 w9 x
  1040. ; the full path of the script, line number, To address and headers.8 E, Z& w) P2 f
  1041. ;mail.log =
    + N& I$ e8 N5 e0 _
  1042. ; Log mail to syslog (Event Log on Windows).
    ; H7 [8 O1 z. D* @
  1043. ;mail.log = syslog
    5 P; a" S7 D- ]( ^$ N: O/ ^% E
  1044. * T4 v6 |) ]' X# L
  1045. [SQL]
    * @0 A( n# I8 Z- O' i
  1046. ; http://php.net/sql.safe-mode
    ! U5 {, C' |4 o7 q% Z5 f
  1047. sql.safe_mode = Off2 p* z9 a6 @- b
  1048. $ p! a+ E* U3 k# y& K
  1049. [ODBC]7 J. N7 b+ k5 `% E- m' G& g2 Z
  1050. ; http://php.net/odbc.default-db$ C6 B1 L9 N5 h% _, [& M" n# E
  1051. ;odbc.default_db    =  Not yet implemented. c8 h( W/ c" L! k$ n
  1052. $ |7 [6 L+ p2 T" g) M
  1053. ; http://php.net/odbc.default-user
    6 D/ C8 {& u1 G: p7 s
  1054. ;odbc.default_user  =  Not yet implemented
    3 R: Q3 a8 ?: b- i% y$ A. z

  1055. ( X3 w! Q, ?; {6 o6 `6 y- ]
  1056. ; http://php.net/odbc.default-pw
    * A( D1 z* o' q+ ]) x
  1057. ;odbc.default_pw    =  Not yet implemented( w+ i) O2 o) a6 e: J
  1058. 8 V) H* B( g4 B$ L4 Q
  1059. ; Controls the ODBC cursor model.- I' Q* L6 q- W! L  J  I$ ]" U7 Z; J
  1060. ; Default: SQL_CURSOR_STATIC (default).# s5 [' h4 E6 e3 ^* d
  1061. ;odbc.default_cursortype% ?  }9 [1 R+ N
  1062. - F1 ?4 O8 L+ d5 f8 Q  r
  1063. ; Allow or prevent persistent links.; G3 B+ N$ K6 u0 S$ u9 j+ ~+ e. u
  1064. ; http://php.net/odbc.allow-persistent4 z, Q) @0 v; v6 i# X1 t
  1065. odbc.allow_persistent = On6 d* N* A; u( I& Y" r7 \3 ^6 ^
  1066. * d: \0 B1 z! _6 m7 m
  1067. ; Check that a connection is still valid before reuse.
    7 d$ T" q3 c0 C: ?
  1068. ; http://php.net/odbc.check-persistent3 t) ~4 H' k( l4 N
  1069. odbc.check_persistent = On1 h7 P1 e! U5 h* U# R; ?0 {

  1070. ) Q1 I, o; E6 V( t
  1071. ; Maximum number of persistent links.  -1 means no limit.
    8 s. _, r' U2 E5 G" m
  1072. ; http://php.net/odbc.max-persistent
    - n8 p; @8 p' e- A/ l/ N8 x9 Q  t
  1073. odbc.max_persistent = -1$ r( N6 O. N  d/ G6 I! p- @4 F
  1074. - I% A0 A* _* s7 G
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ o% V2 M! G# `' l. [7 L
  1076. ; http://php.net/odbc.max-links
    9 X2 r: X! P7 n- `
  1077. odbc.max_links = -1
    & m( ?1 Q1 [# j/ }7 ~% K' x8 g
  1078. 2 ^, X# ]% F: k7 A6 o
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    " |8 k. e3 d3 q
  1080. ; passthru.. z2 A: k5 J+ r% m9 r3 b6 v1 q
  1081. ; http://php.net/odbc.defaultlrl
    7 e( E/ {4 c' W' A4 \
  1082. odbc.defaultlrl = 4096
    ! O$ ]5 D' k$ G
  1083. 8 U, L* d1 m) j  _, p! v. E
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    4 w4 j9 ?  t& A0 }# w$ e
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    2 z& u" l- D" B1 X- F
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode9 q0 s  P* q' }
  1087. ; http://php.net/odbc.defaultbinmode
    5 `% q+ W! p6 b4 A! s# z! u
  1088. odbc.defaultbinmode = 1. |  V$ \( i1 u" F& w% t" B

  1089. - t9 m2 h& G1 _% O  R
  1090. ;birdstep.max_links = -1
    ! e  S  a) }& N. H  y

  1091. 0 y7 a6 ^& y6 d0 ?0 [% y/ ~4 Y
  1092. [Interbase]
    / T7 Q1 o( _$ L1 ?3 g
  1093. ; Allow or prevent persistent links.
    0 i8 {% ~$ m# M* r  _
  1094. ibase.allow_persistent = 13 O; T' Q- `/ z' x3 c. B6 S7 u

  1095. # Q: w; M5 D( c0 K
  1096. ; Maximum number of persistent links.  -1 means no limit.
    " I3 p  a1 w: W2 K8 u
  1097. ibase.max_persistent = -15 h  T- \' z# U  d' h0 |
  1098. $ u& v- w; b6 @8 p& H3 ?7 A
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    7 c$ x* ]( y, O/ Z. ]( K# m
  1100. ibase.max_links = -1
    ! w3 \5 C% P0 H% E+ a6 ?2 ~* M

  1101. 1 E% E( J# I# `# R7 @
  1102. ; Default database name for ibase_connect().* v/ r6 p) S) C( U! h" U% j
  1103. ;ibase.default_db =4 E) M7 i+ ]2 C- B

  1104. * V5 ~& Q. U  I" d* P
  1105. ; Default username for ibase_connect().5 y8 M, p  W# ~! [3 B  Z6 e, w
  1106. ;ibase.default_user =
    2 W& ?9 Y5 l. v8 h% Z+ l- b" ^# O
  1107. 9 R" }) c7 o" l' K1 [
  1108. ; Default password for ibase_connect().
    ) h  u! `) j- P
  1109. ;ibase.default_password =
    ! z# }# h; D. {

  1110. ) q' n5 M7 p, ^. T
  1111. ; Default charset for ibase_connect().0 y% M/ w8 I4 I6 K  S
  1112. ;ibase.default_charset =8 ]: `' U, c, x& u3 _: o6 F1 }

  1113.   d. H( [* c) Q) N
  1114. ; Default timestamp format.
    3 g# U$ }0 p! ^  \9 l
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    " T  A' L# L+ d

  1116. * g  M7 l' N8 P' }& P1 U$ q
  1117. ; Default date format.
    3 b7 Z+ c9 g% L' f' t
  1118. ibase.dateformat = "%Y-%m-%d"$ k9 `0 K4 Y& {# V0 |, R

  1119. ! S5 E. u2 p9 _$ S2 E6 F3 Q' a, a
  1120. ; Default time format.
    8 o) Y( i& E: ~* L4 e3 Y' V
  1121. ibase.timeformat = "%H:%M:%S"6 w' u( [$ [; m. |2 v1 J

  1122. 0 Y6 _1 N+ q& y! p/ \- S- @0 g) s2 `- k! d
  1123. [MySQLi]
    + N" e7 B" O( t3 t
  1124. 0 n, J* s' W5 A8 P: z
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ) \' |8 p! M  h2 f
  1126. ; http://php.net/mysqli.max-persistent+ S% o  m3 F( B( K+ M
  1127. mysqli.max_persistent = -1- a$ W5 \8 K% {; Z' m& s0 ^

  1128. 9 k& Z" W3 R; U5 X
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ( [8 u/ N# h- f3 z/ l) j, m3 V% \
  1130. ; http://php.net/mysqli.allow_local_infile- Y4 l0 }7 _, w1 \
  1131. ;mysqli.allow_local_infile = On# ~" ]. w0 a$ G1 h$ ?* z* a

  1132. " N& O+ i7 A- v' g2 P' s
  1133. ; Allow or prevent persistent links.
    , B9 s$ [7 H: B7 x- J" y  H
  1134. ; http://php.net/mysqli.allow-persistent4 J% U; C+ l) e/ F( }3 J
  1135. mysqli.allow_persistent = On
    . c- \# _% y$ E$ t, {& J
  1136. - o- z8 I' w; }4 N, q
  1137. ; Maximum number of links.  -1 means no limit.3 x* B0 w# @4 p$ s) X
  1138. ; http://php.net/mysqli.max-links4 ^- ?$ n1 {: b7 y/ i# B
  1139. mysqli.max_links = -1
    9 W6 H+ w( W. w. H2 |" U* K" U3 i1 A
  1140. 3 ^9 q( s8 q" O3 y
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    6 l. j  X; i4 q
  1142. ; http://php.net/mysqli.cache_size
    2 q8 L1 R3 f" U" y
  1143. mysqli.cache_size = 2000
    ' y+ u8 f' @6 G) D7 h3 U  O
  1144. # q  ]0 y3 n5 |; Q, s* H
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use6 Q. @6 E' d% r6 r1 E: R& T
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    : l5 I4 m  }# ^2 c' _
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look1 H  s' C" X2 m9 B" ^
  1148. ; at MYSQL_PORT.$ _5 ]0 c$ W$ L$ ^! p; M
  1149. ; http://php.net/mysqli.default-port9 t+ o& E( N) ~; A. T' @
  1150. mysqli.default_port = 33065 c4 ~: |3 E: I- j* P' s* ?, Y5 v
  1151. & F8 S# T6 k# x6 V8 W
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    2 C7 L2 J0 A3 l2 v1 i, z
  1153. ; MySQL defaults.$ g/ P. i6 A- N+ N* j& L' i1 G
  1154. ; http://php.net/mysqli.default-socket
    + W; m! Q. W. _2 Y9 W2 u( J6 H
  1155. mysqli.default_socket =
    ( d& P9 n# r4 [1 G5 o
  1156. & N' m' J" @" X, g& B. X2 @! m
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    2 d6 q' b7 T% z) F" w
  1158. ; http://php.net/mysqli.default-host7 z2 Z  c. n, N, [
  1159. mysqli.default_host =# R6 F6 [( ], s$ Z

  1160. : z! ^. k; Q% ~5 e& _$ A
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode)./ x5 g( |. V- }
  1162. ; http://php.net/mysqli.default-user
    ; X3 m: \' H6 d
  1163. mysqli.default_user =
    2 F; l4 {( |0 d' Y

  1164. 5 s$ Y6 n2 Q3 T
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).; {. ~6 E5 m% N# {% @$ ~+ W
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    7 F/ e3 e" X4 I( {1 f5 K
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    , I8 Z+ @" `/ A( r
  1168. ; and reveal this password!  And of course, any users with read access to this* i5 ^% R4 h5 _1 a. _8 d; Q# z% [
  1169. ; file will be able to reveal the password as well.0 B& h2 f5 F- _" g% [2 a
  1170. ; http://php.net/mysqli.default-pw
    8 F$ S  G1 w5 ~, `1 v4 z
  1171. mysqli.default_pw =  b0 h) }2 E& m9 ]1 M

  1172. % ~: }9 j) ?8 `! _& V
  1173. ; Allow or prevent reconnect
    ' x5 y) S9 [% C  i) |- D
  1174. mysqli.reconnect = Off/ b+ x6 m+ X' n& M- K7 D+ ~  l

  1175. ! F* b' }9 i9 K" m. O; d, m
  1176. [mysqlnd]. L0 y6 Q) `) B. B7 g- O( b9 P
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
      G$ y! C' o" D' ?
  1178. ; used to tune and monitor MySQL operations.; U# T1 H6 n  E
  1179. ; http://php.net/mysqlnd.collect_statistics
    , F+ w+ k  z3 I! B6 B7 y3 V! ^4 M
  1180. mysqlnd.collect_statistics = On6 _5 Z6 q4 v- R- [' X5 A

  1181. ) u+ D% V7 M7 v3 l
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    3 Z) b5 I+ d& n6 B( J6 \! p7 l
  1183. ; used to tune and monitor MySQL operations.3 t  _6 n3 l5 \0 z9 [; ~- x
  1184. ; http://php.net/mysqlnd.collect_memory_statistics  @4 v$ c* Y0 |, d
  1185. mysqlnd.collect_memory_statistics = Off8 B1 J* ~! u; F( S# `7 B% Y) A* ~
  1186. ; e2 X- |% M0 w
  1187. ; Records communication from all extensions using mysqlnd to the specified log) ?$ h/ L7 z+ b( a: x% d
  1188. ; file.& l" @- Y1 Z& u1 m6 P
  1189. ; http://php.net/mysqlnd.debug! c: g) t4 L0 T1 f. L! r/ ~9 B5 p; `$ f& I
  1190. ;mysqlnd.debug =1 Z' |. `, e8 Y* a% p( s

  1191. 8 m/ k% H! o6 v1 s
  1192. ; Defines which queries will be logged.
    8 X/ g9 P5 [' \
  1193. ; http://php.net/mysqlnd.log_mask) x, U& y9 X7 q- L! U- u
  1194. ;mysqlnd.log_mask = 0
    . }6 I( ^0 r% |6 L% W& `. z! \
  1195. ) V3 T3 X6 I; V
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.! L, }( `3 u! X
  1197. ; http://php.net/mysqlnd.mempool_default_size6 l% m+ i$ @% Q- q! p8 s/ w3 `
  1198. ;mysqlnd.mempool_default_size = 160002 a: Y$ l7 Y# h7 U6 F5 S
  1199. 0 k, x4 f! z+ p4 E
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.5 s% n; d% s! p- K' t" h
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size- H4 d, i" u7 t+ r2 ]4 K5 B) g1 F
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    ( u) k7 W6 E# K' B: {( D1 s0 A

  1203. $ I6 c' l5 K- d2 W# \& p
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ! h5 k0 v: C- j/ G& `5 D
  1205. ; bytes.
    . d9 W0 a% A% I  E. M2 t( V9 w
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    4 j* j  C3 `7 D. [1 M' O
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ) C' E) V1 w; z* a& x
  1208. / W1 h! y" k! I: \
  1209. ; Timeout for network requests in seconds." k0 @' E# R) p3 V1 ~
  1210. ; http://php.net/mysqlnd.net_read_timeout% U4 i; U/ @0 J$ Z3 B/ x
  1211. ;mysqlnd.net_read_timeout = 31536000
    ) F% \  `! h4 \
  1212. % Z, s7 e& j. w& j
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    , w( A5 A9 T- x
  1214. ; key.
    8 a5 V" x' n  K6 x5 w6 N
  1215. ; http://php.net/mysqlnd.sha256_server_public_key( @0 S, b) u6 R  q
  1216. ;mysqlnd.sha256_server_public_key =) a$ o" g9 d0 B! \8 c6 v7 I% n
  1217. * s: R5 b5 g4 b7 N9 g2 a! ~5 x0 m
  1218. [OCI8]
    ( q8 \$ y+ L! d$ V  E$ [' p4 I" v

  1219. * ]: B% |$ ?4 S% b
  1220. ; Connection: Enables privileged connections using external' U) o+ M0 a6 A: }2 U4 `
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)) H) t2 J; S/ \% `
  1222. ; http://php.net/oci8.privileged-connect
    : G5 T% ]; f/ [$ C% L' O. a2 g$ Y
  1223. ;oci8.privileged_connect = Off: |6 a3 [; g' N! d* ^
  1224. 1 q& S" d. F$ ?5 ?  i/ n
  1225. ; Connection: The maximum number of persistent OCI8 connections per4 M1 D1 k+ I, O5 A! b
  1226. ; process. Using -1 means no limit.
    ) M" ]+ M; x/ M' s- O
  1227. ; http://php.net/oci8.max-persistent/ y) O+ O- w) U' j
  1228. ;oci8.max_persistent = -19 ~* d7 v3 D  j$ W5 O; G/ b
  1229. $ V7 E/ r- N* T7 J! ^, |# P7 ^
  1230. ; Connection: The maximum number of seconds a process is allowed to
    $ ^1 d6 g8 ]. O) f( m
  1231. ; maintain an idle persistent connection. Using -1 means idle2 ?1 C5 s+ l1 [+ q/ ?- ?
  1232. ; persistent connections will be maintained forever.
    ' Q0 c1 s/ O2 m  m% z( N( r
  1233. ; http://php.net/oci8.persistent-timeout# I1 q8 j. J7 q9 m6 \# x5 B
  1234. ;oci8.persistent_timeout = -1! z0 ^7 x% O7 @% T9 O5 h

  1235. % n/ Y: F: k; X- L0 y+ X
  1236. ; Connection: The number of seconds that must pass before issuing a1 A7 w, c, {; p" M' O8 N5 u1 U
  1237. ; ping during oci_pconnect() to check the connection validity. When
    : Y# f7 Z+ T% R) Y8 h
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables* P- \# J$ h: ]& m/ ~0 B
  1239. ; pings completely.
    3 M( m; O: ]5 h- w7 l4 q9 F! I
  1240. ; http://php.net/oci8.ping-interval
    - H# w# H9 t* {/ v: |5 k
  1241. ;oci8.ping_interval = 60
    ! i) X  @" P" p, I0 _

  1242. ) A9 _) [* L0 S
  1243. ; Connection: Set this to a user chosen connection class to be used
    # F$ Y5 |4 b3 m: M* F
  1244. ; for all pooled server requests with Oracle 11g Database Resident7 M6 M, F3 j. s+ Z
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    8 }: H  ~7 I* Y7 K& G4 ~: T
  1246. ; the same string for all web servers running the same application,4 l& j; D% l7 j% C2 I; e* u2 {! b
  1247. ; the database pool must be configured, and the connection string must& }. {2 `4 {" ^. {- h& n: \
  1248. ; specify to use a pooled server.6 ~- l, v; ^; j/ @' c
  1249. ;oci8.connection_class =+ w1 A' q' Q0 r# p1 L5 l7 M( U6 e! L
  1250. ' d1 T4 K; o) s
  1251. ; High Availability: Using On lets PHP receive Fast Application  I3 t! |' R/ n3 e
  1252. ; Notification (FAN) events generated when a database node fails. The
    3 ]6 t) L" ]: _7 L( Q- C  _+ t
  1253. ; database must also be configured to post FAN events." w6 k) b* {) j* n+ F1 y0 i: P8 }" _# [
  1254. ;oci8.events = Off
    : X# J4 b  r; f/ L5 g& d4 c! D1 p7 `

  1255. : ^* T  f/ j7 y
  1256. ; Tuning: This option enables statement caching, and specifies how
    1 z6 q2 J5 [/ k1 I
  1257. ; many statements to cache. Using 0 disables statement caching.
    * J5 P. y3 `: W1 v6 m% Y/ z7 m4 u
  1258. ; http://php.net/oci8.statement-cache-size
    ! l4 O% y. j6 I9 q6 M  _  ?7 W
  1259. ;oci8.statement_cache_size = 20
    - i3 a( }% l& P9 D) r) o, \
  1260. 0 f' o3 I, E$ u( q  ^! {+ F" y9 x% ^
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    % u$ [) F! j. D: P
  1262. ; rows that will be fetched automatically after statement execution.% G: @: ]7 I6 ]+ B' [1 e
  1263. ; http://php.net/oci8.default-prefetch" f5 d* [- `5 u$ i
  1264. ;oci8.default_prefetch = 100
    ' H' ?- {/ s& H: U, G# k

  1265. 8 [2 h7 m0 h$ E" H
  1266. ; Compatibility. Using On means oci_close() will not close# l( z- Z4 f  y6 t$ A; b0 z, s% p
  1267. ; oci_connect() and oci_new_connect() connections.
    0 J- q# v/ X$ A! V2 K/ ?. H
  1268. ; http://php.net/oci8.old-oci-close-semantics
    ! f9 {$ s7 Q* J# J8 ]: \
  1269. ;oci8.old_oci_close_semantics = Off
    % B3 P6 K/ a4 i# [$ G

  1270. 9 k5 W5 _8 B) D: `
  1271. [PostgreSQL]
    7 ^' ?( ~1 Q5 l; Q% Q4 v
  1272. ; Allow or prevent persistent links.- c4 _' m' d( |6 O  Y( i
  1273. ; http://php.net/pgsql.allow-persistent
    # b4 k4 H/ U' d! V
  1274. pgsql.allow_persistent = On
    * _6 v# C9 C4 A. |

  1275. * x2 M: H4 p& N' C5 K3 r' G
  1276. ; Detect broken persistent links always with pg_pconnect().
    2 V' c  ?3 N5 X/ A/ ^: G3 u  ^3 Q
  1277. ; Auto reset feature requires a little overheads.
    , d1 y+ b  }3 F
  1278. ; http://php.net/pgsql.auto-reset-persistent
    2 o* f2 ]" i3 [! E) ~
  1279. pgsql.auto_reset_persistent = Off
    . \* w0 Y: S$ f  X) P
  1280. / w% q- ?% [- g; B( p
  1281. ; Maximum number of persistent links.  -1 means no limit.
    3 P5 S5 C( W  b8 F* X! }( y8 W- U
  1282. ; http://php.net/pgsql.max-persistent# {/ A4 |- f/ U8 w0 c+ w
  1283. pgsql.max_persistent = -1
    8 K9 m) m4 m* o% E, v

  1284.   |3 D& X* A$ x$ ]8 k
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
      a  |; O" o' t2 C2 m8 d! `* Q! N
  1286. ; http://php.net/pgsql.max-links
    ' R6 x7 o- W) @+ }
  1287. pgsql.max_links = -1% E- m& x5 B7 u  {/ f: G& c7 z4 Q* d

  1288. & F7 \& m+ m6 `+ Y# N5 c
  1289. ; Ignore PostgreSQL backends Notice message or not.
    8 B( q! i4 {' c- T/ h% d# D3 z
  1290. ; Notice message logging require a little overheads.$ j% |: s% i' I3 E+ }: @
  1291. ; http://php.net/pgsql.ignore-notice3 p+ p& a! `: h7 R6 B
  1292. pgsql.ignore_notice = 0
    $ J3 i$ J; @- @  @% i# c6 B

  1293. 9 y! K- _* ]  {) V( C( }
  1294. ; Log PostgreSQL backends Notice message or not.+ V5 P+ P+ ?% N5 Q
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ( ~( u9 m; R! O+ I$ z! j
  1296. ; http://php.net/pgsql.log-notice
    3 g/ y: v( n( _1 K5 |! L5 }
  1297. pgsql.log_notice = 0/ x* ]2 V1 b8 X3 O7 g

  1298. + C6 D! W3 U" `9 w) `' u% F. E
  1299. [bcmath]
    6 b! Y. O' B8 C+ n3 I3 e
  1300. ; Number of decimal digits for all bcmath functions.3 E, r& r$ W  Y3 i$ o8 ]. h8 m: c2 \5 w
  1301. ; http://php.net/bcmath.scale/ o( k' v: {1 l
  1302. bcmath.scale = 0( E6 R. Q6 h' F; |2 x+ z' T# V
  1303. 0 ~: x0 [; ]& b9 e; f3 @$ Y
  1304. [browscap]
    ' A8 g/ S. m# J  N# l+ r$ I
  1305. ; http://php.net/browscap% t- c; r4 ~0 u. f* Y9 T$ o+ f
  1306. ;browscap = extra/browscap.ini1 n/ \' e" X) u7 L# b7 `
  1307.   |1 x9 B/ f6 i( c
  1308. [Session]
    ) K3 K# Y4 b- K+ s( \0 E
  1309. ; Handler used to store/retrieve data.# V2 G+ e1 e% K$ q
  1310. ; http://php.net/session.save-handler( V8 U$ @7 P$ O% H; ~+ o9 D
  1311. session.save_handler = files; q2 e7 D. S, A% d1 z
  1312.   T9 K, I" M% _% f) ?' c
  1313. ; Argument passed to save_handler.  In the case of files, this is the path4 T3 ?! z  @* S% V- a
  1314. ; where data files are stored. Note: Windows users have to change this# I5 j: Q: `7 E1 K% l! i
  1315. ; variable in order to use PHP's session functions.
    / d1 K& x7 p# L' y0 Y
  1316. ;
    # _- I; E1 Y1 j) t) s, @
  1317. ; The path can be defined as:
    5 q8 w  z# Z8 V! Z9 p# X
  1318. ;
    + @/ ]( x  ~$ R, `+ F+ A* Y7 A
  1319. ;     session.save_path = "N;/path"
    # Y0 j5 G0 I" |+ m" T, s7 H1 u$ W
  1320. ;
    % A6 d. z  y. B+ r; X- M" F
  1321. ; where N is an integer.  Instead of storing all the session files in' z' U7 @3 y# s' k, q; p& r" G. m
  1322. ; /path, what this will do is use subdirectories N-levels deep, and6 X% M3 C( w0 j  E
  1323. ; store the session data in those directories.  This is useful if
    - n; t6 f2 I* y
  1324. ; your OS has problems with many files in one directory, and is
    3 Q9 Z1 ~+ E( N/ t
  1325. ; a more efficient layout for servers that handle many sessions.
    ; D. y, D) v; F" C: i. k, c9 D4 ?/ m
  1326. ;, q, m" u, @6 l$ m
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    ) c2 }' n! d9 h
  1328. ;         You can use the script in the ext/session dir for that purpose.
    % r9 r4 n/ y" _6 D  T5 }
  1329. ; NOTE 2: See the section on garbage collection below if you choose to4 y( [6 u' R7 d+ v
  1330. ;         use subdirectories for session storage
    ) A0 K. X/ q; F, U: o0 x7 A! B
  1331. ;
    ; U5 {& }  a/ r  A$ u' P
  1332. ; The file storage module creates files using mode 600 by default.
    + H8 C8 e6 x6 ?, O* e
  1333. ; You can change that by using
    ! [7 I8 z5 n" d# p! K. G8 d; c
  1334. ;
    . Y% G1 o. I( c9 w: ~, a* R4 k
  1335. ;     session.save_path = "N;MODE;/path"
    : w, c2 e6 j- u1 j7 v2 b% x
  1336. ;  t. K( j' f8 ]3 f" W
  1337. ; where MODE is the octal representation of the mode. Note that this0 [; q% U7 e/ V3 E( m4 C$ ^4 M8 m* O
  1338. ; does not overwrite the process's umask.
    . @- T/ f( q# M. _
  1339. ; http://php.net/session.save-path
    & Y, l6 |/ O/ a* {
  1340. ;session.save_path = "/tmp"4 L% o/ b0 M" C! |. h, k

  1341. % n! [# Z0 v) M* i
  1342. ; Whether to use strict session mode.
    # J9 u. r- v* ^7 H$ O) _
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    $ y, z3 T5 A! [" s
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects" c* d5 D, Q: w: P* h
  1345. ; applications from session fixation via session adoption vulnerability. It is% ?# ?1 B' G1 C$ A5 Q! ?! L
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged./ Y9 A- `  @, A/ H# e: x2 g, A
  1347. ; https://wiki.php.net/rfc/strict_sessions
    : W" d: b% g! ~7 I! h" p4 @: t
  1348. session.use_strict_mode = 0& Y  m4 A: u2 [/ l/ W  U. ]

  1349. 4 b* E' X* ?8 B/ \' e; o
  1350. ; Whether to use cookies.1 Q) u( _/ q0 g( I; E  t! N& V, L; C
  1351. ; http://php.net/session.use-cookies
    / _$ q  M2 u' A
  1352. session.use_cookies = 1
    . q- l3 t& S# j* x# T
  1353. 3 \, M4 r% c  w4 Y+ i  w, O8 [' J
  1354. ; http://php.net/session.cookie-secure9 E& ?; O2 w; w! q. ?5 e
  1355. ;session.cookie_secure =/ W  m/ S- ?3 g% n/ I

  1356. 3 ]3 a& `  `% i5 X# ?3 m, ?
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining  d) R& m. [2 J. U9 M* A; C
  1358. ; the session id. We encourage this operation as it's very helpful in combating9 h+ b7 f' y# _  Q! H/ q4 |7 B* F
  1359. ; session hijacking when not specifying and managing your own session id. It is7 ^6 v* s8 j0 M3 H
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ! C8 r0 p4 I' t
  1361. ; http://php.net/session.use-only-cookies
    . u' u. j1 E& w; M* ^. G3 Z
  1362. session.use_only_cookies = 13 Y9 @8 L5 p+ Y+ e+ c$ {

  1363. ) q- y( _6 }( D5 v9 {
  1364. ; Name of the session (used as cookie name).) b/ I4 s3 }1 ^) Z5 J  l9 P2 T* Z
  1365. ; http://php.net/session.name
    & u  k( q' b) F9 S
  1366. session.name = PHPSESSID
    & `: k% _4 S! E* i$ H6 V8 u( n: e" s+ P

  1367. : H, h: G7 _( z, O3 E4 i
  1368. ; Initialize session on request startup.: s) e0 Z/ S2 n3 ?! L/ z2 w' s
  1369. ; http://php.net/session.auto-start$ s2 e7 I7 L. S/ C
  1370. session.auto_start = 0
    ( b+ T0 m3 w) D* ?( E

  1371. ! }3 Y; k' f  ~) ~8 A/ k& ^
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
      b$ O2 v5 L- J/ {' P
  1373. ; http://php.net/session.cookie-lifetime
      [1 L. w/ \2 V$ q) U) r
  1374. session.cookie_lifetime = 0. |. S3 A$ p8 ^

  1375. 2 G3 L% j5 Q' ^  t; ^
  1376. ; The path for which the cookie is valid.: C, E+ x. Y+ }2 Q+ A7 h- M  c" V
  1377. ; http://php.net/session.cookie-path
    7 N/ I) v+ L7 G% y# ]9 ]& Z
  1378. session.cookie_path = /
    ( P% V' j+ f1 C. ~* n9 M

  1379. - j& W6 c# Q9 d
  1380. ; The domain for which the cookie is valid.
    5 o  A1 W4 z8 f" F( ]! v
  1381. ; http://php.net/session.cookie-domain' Y3 x% Z2 ^; H6 B- V
  1382. session.cookie_domain =. O# h7 k) f5 F' I
  1383. . j0 z% ?1 N2 l, h  P+ n) ~4 u' Z
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ) f) \3 a$ a+ q0 [
  1385. ; http://php.net/session.cookie-httponly$ E+ r6 P4 Y% G4 S1 V$ k' I: m# {
  1386. session.cookie_httponly =
    * r8 W1 K) _) w

  1387. ; Q4 I0 M! j! c+ `2 K
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP." A7 ]7 }0 o8 c
  1389. ; http://php.net/session.serialize-handler
    6 m, l3 `+ }, V1 G$ t1 [( {
  1390. session.serialize_handler = php1 V7 c! ^3 \6 P% P, |/ O9 V

  1391. 1 N1 ~. y! g, Y: L$ t, [( i
  1392. ; Defines the probability that the 'garbage collection' process is started
    ' }) c! }5 m# t  m+ N/ [+ @4 z
  1393. ; on every session initialization. The probability is calculated by using
    ) @* B+ v; j' [& w9 }0 S
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator2 c) v+ x4 ~, l( y" u6 m
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1; B* i* K8 D/ ~9 z
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    3 D3 M/ b$ C8 }2 ]0 A( N
  1397. ; the gc will run on any give request.4 a( h/ C. d  x/ S, ?$ P9 ~
  1398. ; Default Value: 1
    " S( c/ o# X& z1 b" Y2 e/ d
  1399. ; Development Value: 1, v) E/ N- H" r5 _& i4 |
  1400. ; Production Value: 1& K5 n) H& r2 C; R1 t+ O
  1401. ; http://php.net/session.gc-probability
    9 V$ o$ x4 r: ]( h9 E
  1402. session.gc_probability = 1
    9 A( t1 P$ [2 p) c6 d0 _
  1403. . L. O: A. d% o; r7 r' H
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    % _1 N& Z& \) s- I( _
  1405. ; session initialization. The probability is calculated by using the following equation:' T& y* ^# N, d) U3 x
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ' ]) D% Z) v; G* [1 i
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ' g7 p3 b( Q* F, b* p1 p- I1 [: T
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance( J0 c3 T* T3 F  |( f6 Z4 ?* }
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you5 ]' B8 D- b, I' a! O
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,1 H& E  {/ i1 p) {# {: ^
  1411. ; this is a more efficient approach.
    5 A# w5 E- W$ z/ q2 T
  1412. ; Default Value: 100, [3 C" a. E# a( Z$ D
  1413. ; Development Value: 10004 x' {1 A7 e# U9 x& {
  1414. ; Production Value: 1000
    + [. s* c7 e/ X, f' q
  1415. ; http://php.net/session.gc-divisor0 ]9 [# ?  G6 L; f" _$ @
  1416. session.gc_divisor = 1000
    6 c0 P/ z0 U) V$ H1 {- h& z

  1417. ! }; t+ l- H/ P1 E( {+ c
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    ) n; q- Q8 C0 K! R% x6 f
  1419. ; cleaned up by the garbage collection process.
    9 {8 _1 t4 R/ v" R
  1420. ; http://php.net/session.gc-maxlifetime* v; `$ O6 i: Q8 Y3 s
  1421. session.gc_maxlifetime = 1440
    2 @# }# x7 a2 W

  1422. ' a9 ^4 ?" W' l* t& f
  1423. ; NOTE: If you are using the subdirectory option for storing session files5 f& E6 D1 b; _4 y* y
  1424. ;       (see session.save_path above), then garbage collection does *not*: V+ Z) S9 J8 j$ M, D( S  a
  1425. ;       happen automatically.  You will need to do your own garbage$ [6 A: R! F9 L) J: r& B6 N
  1426. ;       collection through a shell script, cron entry, or some other method.9 ^8 e- h8 P& [8 e, _
  1427. ;       For example, the following script would is the equivalent of- s0 s$ B' y& M) R. e
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):" d: a3 ]- f" _; E) h& h# C; Z' ]
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm9 ?+ z8 A' W# [: s
  1430. & S/ _+ e* B. l; w
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    . B4 f' m6 m! ?( q& _3 E: o5 Z/ M! i
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    ( I3 M) R% }: `; m2 Z4 _
  1433. ; considered as valid.. C. M: }9 W8 i% E$ x
  1434. ; http://php.net/session.referer-check
    / J& H- u! T! A! f) c# H
  1435. session.referer_check =
    ) E, E6 \+ J) r2 T

  1436. $ a/ k4 {9 j! s( i; g. ~+ a
  1437. ; How many bytes to read from the file.* L9 q! M; }* C) t" T. N
  1438. ; http://php.net/session.entropy-length
    : p/ y* Y4 Y2 Q- o& q4 u
  1439. ;session.entropy_length = 323 c7 L/ Z& k, p0 W  M

  1440. , H- M0 g7 T8 M
  1441. ; Specified here to create the session id.
    : g  ?  _* _  S0 L
  1442. ; http://php.net/session.entropy-file* _9 ^1 O6 s; H& u6 A( c% E
  1443. ; Defaults to /dev/urandom- Z2 D( b* C$ f9 B  m3 L2 Z; x
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom  ~- F  ^3 o/ \- F
  1445. ; If neither are found at compile time, the default is no entropy file.2 I% [0 B! K- A' X2 X
  1446. ; On windows, setting the entropy_length setting will activate the
    8 b+ F3 M# o  W9 i
  1447. ; Windows random source (using the CryptoAPI)9 o# \7 y% K4 c2 P
  1448. ;session.entropy_file = /dev/urandom
    + p. w. c+ X* E2 }, L, R: [! o  p2 N
  1449. ' L; B/ s/ \1 I8 T9 ?5 ~9 g
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    * `0 v% i% [0 Z' m. a6 p4 B
  1451. ; or leave this empty to avoid sending anti-caching headers.) X+ a  U4 B: T& n8 o# ?4 ~% w
  1452. ; http://php.net/session.cache-limiter8 `+ T+ ^* C3 g9 y* ?. |
  1453. session.cache_limiter = nocache
    - m7 d  s1 Z6 x8 A) H3 U1 j
  1454. . _: f- r. p. e! P- M
  1455. ; Document expires after n minutes.
    5 d, `7 K9 G* t6 I5 m7 G
  1456. ; http://php.net/session.cache-expire1 x3 V. v4 @9 L! H3 u+ q9 K! V
  1457. session.cache_expire = 180
    5 H: O8 v) w1 K& K- R/ a
  1458. 5 x) e/ M: p8 D0 q- z/ O: R
  1459. ; trans sid support is disabled by default.
      b7 C( |  j8 ]) V0 N! T* }
  1460. ; Use of trans sid may risk your users' security.1 ?9 x" W& E1 K0 j, T
  1461. ; Use this option with caution.
    9 X" w( t1 [0 L; B* j
  1462. ; - User may send URL contains active session ID" Y1 q9 d3 L& j6 ?" Z! K6 v  _
  1463. ;   to other person via. email/irc/etc.6 }) w+ |  S! h
  1464. ; - URL that contains active session ID may be stored) j: H1 p# ]3 T- y
  1465. ;   in publicly accessible computer.
    : T9 |& k' ~0 V# r; P
  1466. ; - User may access your site with the same session ID
    8 T6 V: ~2 v+ W) H
  1467. ;   always using URL stored in browser's history or bookmarks.
    9 E/ k# J  X! R6 S* }+ I+ n/ O1 ?
  1468. ; http://php.net/session.use-trans-sid9 F8 P+ c  l# j3 C+ @! ^' g
  1469. session.use_trans_sid = 0
    3 ~4 m  I! e' `

  1470. 9 y& p4 c2 B. z5 V9 U8 H( q
  1471. ; Select a hash function for use in generating session ids.
    8 Z! Y. H$ p& l3 u( D& X' F
  1472. ; Possible Values4 x1 H- }, _1 g2 U: ?% P
  1473. ;   0  (MD5 128 bits)
    9 `6 o4 Y6 X0 O# c
  1474. ;   1  (SHA-1 160 bits); `8 _, i' L8 y+ c
  1475. ; This option may also be set to the name of any hash function supported by2 P6 r" k1 H$ F
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()0 f% z4 K/ j6 M$ N8 O
  1477. ; function.
    0 ~9 z: j8 [5 p( u
  1478. ; http://php.net/session.hash-function' ], j# ?1 X* I5 x' \
  1479. session.hash_function = 0* X) V4 s7 |% q0 g: c
  1480. % Q0 n& m9 G! s# f
  1481. ; Define how many bits are stored in each character when converting
    8 D7 b0 _6 k: A& J3 L
  1482. ; the binary hash data to something readable.0 Y8 N- N$ i/ y2 \' Y
  1483. ; Possible values:2 F- B9 o1 \* M9 C9 ?
  1484. ;   4  (4 bits: 0-9, a-f)# E2 @: m6 b$ o. T) x! ~. {) F
  1485. ;   5  (5 bits: 0-9, a-v)
    ; K# Z7 U" L2 x
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")( n2 ~3 U7 y+ s3 p' s( Y" Z
  1487. ; Default Value: 4
    ! I* y; j0 k3 m
  1488. ; Development Value: 5, L! Q- N# P( g$ M9 d9 X  p
  1489. ; Production Value: 5
    * p9 M  a8 C* a: j: o2 H
  1490. ; http://php.net/session.hash-bits-per-character" f9 q0 L3 _0 H4 Z8 k! b
  1491. session.hash_bits_per_character = 5
    + o+ u8 F; [9 K
  1492. : t: x) M2 x9 t' Z. d
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.! k3 w& Y9 L+ w; P1 P
  1494. ; form/fieldset are special; if you include them here, the rewriter will0 A$ ]" k: R& T9 Z3 g, I
  1495. ; add a hidden <input> field with the info which is otherwise appended( s* g8 Q4 M9 X$ T
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    6 Z: C$ |/ q' v' H) x8 Z2 O! e
  1497. ; Note that all valid entries require a "=", even if no value follows.( ]5 M0 K& s" H; c; d3 W( v
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    * b: c; T2 Q3 g- n  v
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : m9 W' b' z$ T, k$ M7 `
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    , ~' X# W3 I, ^; w9 V3 H
  1501. ; http://php.net/url-rewriter.tags* O6 ]# a' @9 Z5 p) I& R
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    , T4 ^- j4 X0 V1 j

  1503. 8 v1 p, ?: r1 y) ?5 Y& {( M5 s
  1504. ; Enable upload progress tracking in $_SESSION9 u! M/ _# E5 w2 b6 X' b: N$ u$ `) Y; j
  1505. ; Default Value: On
    6 B! Z! f4 |% P1 J6 G/ {; m; j9 H% V
  1506. ; Development Value: On7 b) W8 d$ G- T+ ]3 D6 S
  1507. ; Production Value: On
      ?' Z8 s" q$ ?8 ]  a8 c7 \" \3 n% X1 |
  1508. ; http://php.net/session.upload-progress.enabled
    + o" k8 u, y) \2 q% j: L- _
  1509. ;session.upload_progress.enabled = On
    2 o$ |' h9 h/ R7 W
  1510. + _/ P$ z# m) Q% Z8 W: O5 m4 X: n  O2 ~3 g
  1511. ; Cleanup the progress information as soon as all POST data has been read, f4 o/ |; B5 n3 t
  1512. ; (i.e. upload completed).+ {& e, f7 @  p9 h! n4 B9 Z
  1513. ; Default Value: On
    7 s, V) q4 `2 Z4 |0 ]  u2 S* X. ^
  1514. ; Development Value: On
    0 I( K' F" X6 t3 z. f* I" K  y
  1515. ; Production Value: On
    6 d# @) y  \: E, U4 o! j
  1516. ; http://php.net/session.upload-progress.cleanup
    8 W: f, H% Z# t; r- ^
  1517. ;session.upload_progress.cleanup = On/ g2 D3 U* {6 r: X

  1518. 6 z; t1 s/ j/ B4 [
  1519. ; A prefix used for the upload progress key in $_SESSION5 A3 x% O7 y: w7 u7 T
  1520. ; Default Value: "upload_progress_"; l( Q" k& D( o: n, ?4 K; X
  1521. ; Development Value: "upload_progress_"
    # K) f( W, o1 l' \
  1522. ; Production Value: "upload_progress_"
    ! [3 z. f0 o; y0 t8 R
  1523. ; http://php.net/session.upload-progress.prefix9 |1 _6 h! T, ^6 H; l( j% a
  1524. ;session.upload_progress.prefix = "upload_progress_"' e7 l: ?* j" q! h% R

  1525. 6 c# j0 Q6 E# |
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    $ X5 J9 K" h$ @* ^* |' Z
  1527. ; containing the upload progress information; l7 u1 j6 {6 c/ U( J9 X+ J
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"3 h3 @! V+ c- {
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    / [" g. Q2 G  f
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    0 X* Y) x7 x/ B5 B8 g. E8 o0 G2 O
  1531. ; http://php.net/session.upload-progress.name
    9 R* C6 p6 Q9 l9 x  J- p' }0 Z+ c
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"; Q6 n: B% K' i& B. ^; x/ c
  1533. ' {6 b8 L/ z) x$ }
  1534. ; How frequently the upload progress should be updated., b2 H/ A4 ~' w- s) i& P( u5 [
  1535. ; Given either in percentages (per-file), or in bytes
    / j) v# A! L+ d* T5 N
  1536. ; Default Value: "1%"
    ' H5 H+ ?+ m! `/ F# J- j  e+ z5 A' P
  1537. ; Development Value: "1%"
    , _; j8 l$ L( c4 \. W
  1538. ; Production Value: "1%"
    : ^9 u$ R7 Q" b' D! M( \, `% x
  1539. ; http://php.net/session.upload-progress.freq
    0 D' T# w7 X# G- H7 f* N/ A
  1540. ;session.upload_progress.freq =  "1%"' A. {, E8 z$ u% m3 Y: \8 H

  1541. ) [  v3 [  r0 b* E& j  H& }- A
  1542. ; The minimum delay between updates, in seconds
    9 C& Z4 j, O4 a. ]# L3 Q0 K6 X
  1543. ; Default Value: 1
    $ j4 S  X) A, a7 p
  1544. ; Development Value: 13 \* X2 y( \' j8 a8 r6 ?! Q$ ?& z
  1545. ; Production Value: 1
    2 {3 G: r1 M0 [; v) H, ^8 F
  1546. ; http://php.net/session.upload-progress.min-freq& v2 Q% _0 V& w* j+ j
  1547. ;session.upload_progress.min_freq = "1"
    # }/ W+ n9 M9 ?* n+ G

  1548. & W7 j# M+ I( a- A: g" ?7 `
  1549. ; Only write session data when session data is changed. Enabled by default.4 _' ~$ u# Z- S7 t
  1550. ; http://php.net/session.lazy-write
    * h6 j5 E; b9 D2 r) W9 u+ L
  1551. ;session.lazy_write = On
    ! J8 E3 ?# Q7 T/ ~1 B4 \9 Q

  1552. 9 B# j9 P1 d& Q, e
  1553. [Assertion]
    3 q8 i. v, |! Q( e, B2 F
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)" T! L0 {. A% D! n9 Q  Z! v
  1555. ; -1: Do not compile at all* E( V  @- `& X. ~
  1556. ;  0: Jump over assertion at run-time7 e: }; c7 N& i; N9 |
  1557. ;  1: Execute assertions; B* d% w- Y* Q' @: r3 D
  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)1 ?3 W* H8 B. l- F: v
  1559. ; Default Value: 1  N  O* `1 ~' n
  1560. ; Development Value: 1: L% ~8 E. S1 Q% O+ z& O. H2 b
  1561. ; Production Value: -1
    % w. m3 [. V1 g" L7 Z5 P+ u" f
  1562. ; http://php.net/zend.assertions  ^2 \7 \# \. y3 z/ T, o
  1563. zend.assertions = -1
    " a3 q9 U; C. y" R; K# q$ \5 Z. o
  1564. 6 F$ n7 k1 Y- d- w% J% i
  1565. ; Assert(expr); active by default.( o7 W) t/ ~4 p) W: Z
  1566. ; http://php.net/assert.active6 G* d8 \( r3 ]
  1567. ;assert.active = On
    . v. u$ ~5 C/ G* Q

  1568. ! \! U4 O5 }- d- n
  1569. ; Throw an AssertationException on failed assertions  F: E1 W" c* C' Z
  1570. ; http://php.net/assert.exception
    % \9 ~! f* b. x9 X  _
  1571. ;assert.exception = On3 T/ y2 n& W+ |
  1572. - @, Q) M: v6 }" u
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)* N  |7 D0 T* x9 f
  1574. ; http://php.net/assert.warning
    + R6 ?: O4 D5 p
  1575. ;assert.warning = On) M' r: g1 ?4 E" c) k
  1576. / N* ~0 E: M, Z8 [; b
  1577. ; Don't bail out by default.7 G7 S: e9 @  J0 ^0 M
  1578. ; http://php.net/assert.bail+ J3 Y/ D* L0 |4 f5 A
  1579. ;assert.bail = Off1 b3 F5 Z$ t, Q# c2 D
  1580. . q8 j% J+ }6 t: P" ]7 @2 u
  1581. ; User-function to be called if an assertion fails.
    & j3 U3 I- g9 u8 ]5 T- X9 y
  1582. ; http://php.net/assert.callback
    - g+ w; h1 c2 l3 f8 C
  1583. ;assert.callback = 01 Y8 R+ J2 q, F

  1584. $ l4 P4 Z  v; k) M7 @
  1585. ; Eval the expression with current error_reporting().  Set to true if you want0 g2 d9 D, L, Q: s$ d7 Z5 q  c8 m2 k
  1586. ; error_reporting(0) around the eval().
    7 a$ y& t- Q1 r+ J  x
  1587. ; http://php.net/assert.quiet-eval
      b3 C8 f* m2 t/ c; [
  1588. ;assert.quiet_eval = 0
    - B6 L) U' m* t; E
  1589. ; O) Z" V- k' ], H) M3 H
  1590. [COM]
    4 z( q# l/ H; |3 y
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs4 ]! r( B" x$ _" [9 z7 V& L
  1592. ; http://php.net/com.typelib-file, k5 A! y6 h2 b& v* C6 d
  1593. ;com.typelib_file =
    2 N: N( G5 D, k8 @3 [% {6 a/ s. j
  1594.   @* u  h, D/ X5 y8 {  }9 `5 u
  1595. ; allow Distributed-COM calls
    , z/ }; R2 Z; O* t/ v+ g! Y
  1596. ; http://php.net/com.allow-dcom
    0 B6 c( E4 w, T$ O( z
  1597. ;com.allow_dcom = true
    * H# p' |. J# L: F  S

  1598. 1 y! z8 k4 W$ M- ?0 T: f
  1599. ; autoregister constants of a components typlib on com_load()2 e! Y- j6 Y7 q7 e4 E
  1600. ; http://php.net/com.autoregister-typelib
    4 j' g" ?6 r, `) f" D6 H6 Q
  1601. ;com.autoregister_typelib = true
    0 l$ e; A' L* r( D" q7 Z1 C# M
  1602.   N0 J: ~1 c$ G1 J$ g2 T( x
  1603. ; register constants casesensitive% I  u# V( ^+ [+ S- S
  1604. ; http://php.net/com.autoregister-casesensitive  w) b7 t4 @6 p) k7 m
  1605. ;com.autoregister_casesensitive = false
    3 u  A8 U0 {' d8 H  J. V5 Z
  1606. ; b" N! X1 \: ~5 N9 M& C: ~  m
  1607. ; show warnings on duplicate constant registrations
    . t- s+ k5 F3 L- z& ~
  1608. ; http://php.net/com.autoregister-verbose
    / ~% J( H/ q1 d  X
  1609. ;com.autoregister_verbose = true6 S' z* G, N# n  ]" V

  1610. 1 }& @* t& p5 N) i7 H% o) I# D6 m
  1611. ; The default character set code-page to use when passing strings to and from COM objects.1 D& U/ w5 j$ T. p  Q
  1612. ; Default: system ANSI code page
    8 S4 D! u6 V4 b& M
  1613. ;com.code_page=
    . t5 O) x- U5 t
  1614. . q/ X( G. ]+ z* w3 C, t
  1615. [mbstring]
    ( J: t! V+ y# o/ b2 D; _
  1616. ; language for internal character representation.8 {- j( l( _! M% a, u
  1617. ; This affects mb_send_mail() and mbstring.detect_order.1 g( `. z' t9 b3 x- Q
  1618. ; http://php.net/mbstring.language
    , t) j$ s" y9 l5 ?
  1619. ;mbstring.language = Japanese
    , _9 Y& X1 g9 \5 T  E3 A! S
  1620. ' D0 y( Y: c. k& a' ^+ i6 [- R
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    : t( U1 P8 U& r
  1622. ; internal/script encoding.
    ! g2 D  y: M/ p
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    3 N' _0 M+ F. r
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used., U# e' N; Z3 x  L; f8 w
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
      _/ u$ |! ^; w2 X
  1626. ;mbstring.internal_encoding =
    # \0 A8 O/ m* A9 R$ V/ L) ~
  1627. - f, J: O) U$ L/ {- n* V0 _' O, M3 M) Q
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.+ b7 M, ^# |+ r5 W4 E# [( g# \
  1629. ; http input encoding.) V+ I# s9 ]3 t
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ) D5 m0 q: {7 L6 G# }( L7 P$ K
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.; I; P" {+ Q0 e1 P& A
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input5 u7 `' M. R$ g" A- y$ i  L
  1633. ; http://php.net/mbstring.http-input
    # x! Z! \2 x+ Q, d! G8 S7 W1 p1 i& @
  1634. ;mbstring.http_input =7 v  Z4 _5 v3 O! t

  1635. 9 y. }3 o, N3 `# w( E
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.; I/ g' J& ?8 o3 [( K
  1637. ; http output encoding.5 X; ~: d3 I8 W& r3 ]
  1638. ; mb_output_handler must be registered as output buffer to function.
    $ J5 F" c! I2 p: e8 p( o
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    1 l8 X: q4 }+ s8 f
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    + F6 ^/ G: P+ H& |. f6 q
  1641. ; To use an output encoding conversion, mbstring's output handler must be set) ^% x2 G- q1 E! w& C6 [
  1642. ; otherwise output encoding conversion cannot be performed.# S0 t/ d' o+ E6 B4 Q) L/ R
  1643. ; http://php.net/mbstring.http-output
    - R" {# ]0 y8 ~& Q. g4 V
  1644. ;mbstring.http_output =
    - m% D% X6 t: U5 G* Z+ J
  1645. , s; g! [4 |5 I4 D
  1646. ; enable automatic encoding translation according to
    5 P& Z9 Q3 |% U' w0 x% i
  1647. ; mbstring.internal_encoding setting. Input chars are% t: x- y) k1 B* H2 u4 g+ F& H% I/ ]
  1648. ; converted to internal encoding by setting this to On.: Q' B/ `" \6 J- J: h- ^4 ]
  1649. ; Note: Do _not_ use automatic encoding translation for
    4 N5 {# ^: c1 H
  1650. ;       portable libs/applications.
    ' @. s! T2 h0 s6 X+ B1 [4 V( X
  1651. ; http://php.net/mbstring.encoding-translation2 G4 X: N4 \' o  r8 Y
  1652. ;mbstring.encoding_translation = Off: K, H: T5 g, ]# a5 w: C9 x- y

  1653. ! s6 d1 y2 J: U+ d+ y- G
  1654. ; automatic encoding detection order.
      H0 }/ |+ p. v4 ]4 j" [* m  h0 R
  1655. ; "auto" detect order is changed according to mbstring.language
    9 Y4 C1 [7 s4 h* x' ^. [' i
  1656. ; http://php.net/mbstring.detect-order
    * \! i' d! P' H$ s; |- O' m
  1657. ;mbstring.detect_order = auto
    1 I6 v# a* _7 A# b" i/ O
  1658. + L" B! r% N9 U' e
  1659. ; substitute_character used when character cannot be converted' J. C' m1 _; l, c! }) @
  1660. ; one from another( u2 S/ @, T' ~( `5 d9 ?' I
  1661. ; http://php.net/mbstring.substitute-character
    % f6 n/ `2 r0 ?1 d4 ~) B9 m
  1662. ;mbstring.substitute_character = none6 L' g1 f9 T* S6 }* l0 X

  1663. 4 ~3 n) _9 f% l8 |  S
  1664. ; overload(replace) single byte functions by mbstring functions.* v1 d. u# W" X1 [- [' k
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    * f; ]" c2 z! J& T/ W, C  U4 y
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.& Q3 \% }4 b: }$ t2 ]
  1667. ; For example, 7 for overload everything.
    " T/ |4 ^# b  }8 M9 _. G& s4 N  }4 `
  1668. ; 0: No overload
    ( g( o' j6 I! B; l6 u
  1669. ; 1: Overload mail() function
    / D: l7 I6 c  R4 @0 {/ x: O5 E- I
  1670. ; 2: Overload str*() functions
    ; z4 j' d) K5 W: B* ]$ k
  1671. ; 4: Overload ereg*() functions
      D$ M1 o8 B3 i+ K: S. l+ q
  1672. ; http://php.net/mbstring.func-overload
    4 T$ y' c' S4 [2 P( h7 W, }) X( e
  1673. ;mbstring.func_overload = 0, f2 `  Q: D% ^. Q5 S9 o8 k: L/ v

  1674. 0 x9 ]: {% P- G
  1675. ; enable strict encoding detection.: B( C. I8 v7 j
  1676. ; Default: Off
    0 H* Z) L9 U; U7 `" @5 A+ I
  1677. ;mbstring.strict_detection = On
    6 ~. b  k- m* d- Y3 {
  1678. ! V8 X; ~8 V: ^- ]2 [
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    5 N2 _& [0 Z* k" d
  1680. ; is activated.
    8 |7 i% p; `; u2 r" V7 q
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml); H5 h; D; O: e0 ^
  1682. ;mbstring.http_output_conv_mimetype=" j9 c0 O0 B5 ^
  1683. 0 ?9 U  q: B1 ?" l/ H8 h
  1684. [gd]$ R4 h" u5 J1 Y6 e+ Y* c2 L
  1685. ; Tell the jpeg decode to ignore warnings and try to create/ `3 _8 V( P- ~3 a$ u
  1686. ; a gd image. The warning will then be displayed as notices
    ' p# M' J/ _6 E# D; y0 D* J
  1687. ; disabled by default% [5 u$ l: F3 G/ m+ T3 t' y3 r
  1688. ; http://php.net/gd.jpeg-ignore-warning# p) Z0 Q* K8 O8 x8 ?9 V
  1689. ;gd.jpeg_ignore_warning = 0
    ( U/ y5 b# [4 g- ?6 H; L
  1690. " ?8 r. O7 O7 o  w
  1691. [exif]
    " H4 I# K7 N$ Y4 f6 b2 ]
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.: e- I$ e4 L, W5 }
  1693. ; With mbstring support this will automatically be converted into the encoding. c, |" @* X/ \$ A4 j$ w# V1 P
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    % O5 w; i7 l9 v& v- K1 T, Q: X
  1695. ; is used. For the decode settings you can distinguish between motorola and0 ?# P* S! Y1 }2 L1 W8 @. d
  1696. ; intel byte order. A decode setting cannot be empty.
    + J/ P1 }& G9 y
  1697. ; http://php.net/exif.encode-unicode
    0 q% G  K- r/ B5 p
  1698. ;exif.encode_unicode = ISO-8859-151 G" M) V0 n* q% V5 W# h

  1699. ( M, e  i& _" \2 z
  1700. ; http://php.net/exif.decode-unicode-motorola9 d0 c: f  E* E$ z( q3 R
  1701. ;exif.decode_unicode_motorola = UCS-2BE- q3 Y  G" k( ?+ w$ R3 D! B
  1702. 1 i$ `' W4 \: e6 E- f
  1703. ; http://php.net/exif.decode-unicode-intel5 Z' s" S( w3 b& C) v/ V6 S/ D
  1704. ;exif.decode_unicode_intel    = UCS-2LE" p" v! C; [' c6 M) d( `

  1705.   b- E1 W1 c, p9 }/ P
  1706. ; http://php.net/exif.encode-jis$ d9 v. Q" M! f$ p, |
  1707. ;exif.encode_jis =" J0 I2 J1 Y# D

  1708. 9 V+ E( L( s( A2 r8 w9 X
  1709. ; http://php.net/exif.decode-jis-motorola
    : S& q  d6 R. h
  1710. ;exif.decode_jis_motorola = JIS
    6 ?0 h0 \% I1 q2 [; @
  1711. ) R. U) |9 b$ }4 O) E& L+ C$ H
  1712. ; http://php.net/exif.decode-jis-intel
    $ N2 L# \! j* I2 K# w# W
  1713. ;exif.decode_jis_intel    = JIS
    : O! P$ F- n% Z+ q2 m5 v

  1714. & I0 S7 Z' B3 @2 S
  1715. [Tidy]
    9 ]. `+ _9 g; J, @% n* ?
  1716. ; The path to a default tidy configuration file to use when using tidy
    0 C6 v) P5 i0 a% c" U7 P0 u
  1717. ; http://php.net/tidy.default-config
    2 N, E- d. D! o, k; K
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    : |. ~8 a" C) G7 @% ]1 @1 C9 H

  1719. 3 {! h' U) I6 F. w
  1720. ; Should tidy clean and repair output automatically?
    ) q* e+ _2 P2 {( J
  1721. ; WARNING: Do not use this option if you are generating non-html content
    , h% t% I; g, @8 w( Q  k
  1722. ; such as dynamic images
    % g5 W; `0 n1 I$ J- `7 m* N
  1723. ; http://php.net/tidy.clean-output% T8 f* B4 ?- }
  1724. tidy.clean_output = Off2 T  q. v, J% o& i' E6 L  v
  1725. $ r$ S. X' {6 I, c
  1726. [soap]! ~, `* L: U! A/ n+ J# h: S
  1727. ; Enables or disables WSDL caching feature.- R  D, Y9 R8 f1 d8 K6 C4 c4 O
  1728. ; http://php.net/soap.wsdl-cache-enabled
    / h7 {0 d% Z( r/ B
  1729. soap.wsdl_cache_enabled=1
    8 j/ _; X+ X* f% ]

  1730. , X# J5 v4 P  ^& h# q
  1731. ; Sets the directory name where SOAP extension will put cache files.+ f) O$ x8 Z9 R
  1732. ; http://php.net/soap.wsdl-cache-dir
    5 H3 Q/ e% Y# I4 z
  1733. soap.wsdl_cache_dir="/tmp"2 N" C1 N/ P$ T0 a% U! a7 Q7 ]; o

  1734. # \* o, |* Z' `* }" d& F# X
  1735. ; (time to live) Sets the number of second while cached file will be used
    / E( J+ H9 q# E/ I1 E
  1736. ; instead of original one.1 G, h- A) N, i; y% e
  1737. ; http://php.net/soap.wsdl-cache-ttl
    0 ^8 g3 l2 ?7 M
  1738. soap.wsdl_cache_ttl=86400
      s: t+ A8 O4 o& H' {% \6 A

  1739. 7 e. I- ^, e+ @+ T& w
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)/ S* p  r( l( s; a! |
  1741. soap.wsdl_cache_limit = 5
    ; t( D+ I- z" I. B% q: I

  1742. " R3 a: a& j% s  j& O3 B) K
  1743. [sysvshm]# {1 q  M7 E* F
  1744. ; A default size of the shared memory segment: k+ G  _4 |" H
  1745. ;sysvshm.init_mem = 10000' c# I4 s0 z$ @; ]" d
  1746. 2 j8 y% @1 [6 X' E
  1747. [ldap]
    ( o$ i' r6 u. M: s$ d
  1748. ; Sets the maximum number of open links or -1 for unlimited.2 J$ M6 \) j. {/ B' b& K; ^' \2 k
  1749. ldap.max_links = -13 t% y! E' j" g% l7 h& |

  1750. 6 T: N  @" c- g
  1751. [mcrypt]
    2 f5 G* v2 L" H' J
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ! z, P2 E5 @7 ?5 Z  n+ d7 ?
  1753. 9 J) D6 }/ N, h4 R
  1754. ; Directory where to load mcrypt algorithms
    * ?% C% n/ k0 ^" F9 Y& j, L
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)5 Q) {7 {1 R" H4 b8 X2 O  Y
  1756. ;mcrypt.algorithms_dir=
    ; R. ^* v; {8 x2 R$ e# y

  1757. + f# A; c6 b2 |+ C
  1758. ; Directory where to load mcrypt modes
    5 ?  j" y; Q/ \) h# b
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    3 B" b% I- o% h/ _' r8 c9 u
  1760. ;mcrypt.modes_dir=$ Z% O% q) T8 ~( `: g5 X3 R
  1761. , A0 Q8 R% B: I7 r" g- ~$ ]7 y- \
  1762. [dba]- p$ C4 I& h! X7 I
  1763. ;dba.default_handler=
    ! b$ y9 {- Y. ]7 v# I, c/ ], B9 n
  1764. & p6 c5 B1 r" b+ q
  1765. [opcache]5 W8 w8 E. |% G4 [% x
  1766. ; Determines if Zend OPCache is enabled' R" S' f4 x' t
  1767. ;opcache.enable=0
    . T7 p8 g9 v- v* i7 S# K! Z, `/ L
  1768. 6 C8 B  A& I& P) f1 s& P9 @
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    * L1 K8 i7 {. o7 t
  1770. ;opcache.enable_cli=0) m3 J% J3 c  d- A- i9 o4 C

  1771. 5 x0 K9 y2 p( \) r: E# {' ^5 M* }, P! m
  1772. ; The OPcache shared memory storage size.8 w. M5 Y2 q: I( H% W
  1773. ;opcache.memory_consumption=64" d& I/ P: [/ h4 z9 q
  1774. 5 D* T; u; Z2 F" [( d; ], F; k, m
  1775. ; The amount of memory for interned strings in Mbytes.  e/ G; n5 k$ o$ T
  1776. ;opcache.interned_strings_buffer=4
    ( T+ h, Z) A9 m6 G  [

  1777. ( v2 Z4 X3 B1 S1 R7 j1 k9 M
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.7 m- |" z. t% r  z6 b8 S. u) k
  1779. ; Only numbers between 200 and 1000000 are allowed.
    ' r, Y( k2 R  o
  1780. ;opcache.max_accelerated_files=2000
    . j9 B; q$ ^* o5 u' m( m9 n6 [

  1781. , o  B$ R2 D2 m6 i) a% y4 Q
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    " W" J. p" N4 S) a7 o' A
  1783. ;opcache.max_wasted_percentage=5
    9 ^2 f3 F1 P  p
  1784. 0 c/ C1 W' ]+ \/ V! O. D) j
  1785. ; When this directive is enabled, the OPcache appends the current working5 L+ B2 u1 O+ _* F
  1786. ; directory to the script key, thus eliminating possible collisions between6 N- x' {9 v; v0 U" r/ y& u4 C
  1787. ; files with the same name (basename). Disabling the directive improves
    7 I# v+ `3 O' f
  1788. ; performance, but may break existing applications.: Q5 o. ?0 Y, J7 d, O, t1 O
  1789. ;opcache.use_cwd=1( A% U1 @! s- X% Y- r9 [
  1790. * F, Y- I+ Y9 X8 h% K- F& l  M6 h
  1791. ; When disabled, you must reset the OPcache manually or restart the" Q( H( ?0 K$ u6 ~8 _: e6 x
  1792. ; webserver for changes to the filesystem to take effect.
    ( W+ a" Y7 Z% O' H+ ?/ j4 Z, E& S
  1793. ;opcache.validate_timestamps=1
    + A8 b6 q& ^* H. b

  1794. 5 V3 P- z4 s$ K# d7 b
  1795. ; How often (in seconds) to check file timestamps for changes to the shared( e3 d5 |, \) g+ G
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    & A! ?1 T$ l" d( d% ^6 K# O% D
  1797. ; once per request. "0" means always validate)
    3 S5 M- J2 W) G: i0 @
  1798. ;opcache.revalidate_freq=2/ {$ O2 c! G+ m. U9 M& r
  1799. / j1 u- f8 K" o2 _/ s1 \, g: P8 i- J
  1800. ; Enables or disables file search in include_path optimization
    * \' t; I. z3 K' \9 d& d
  1801. ;opcache.revalidate_path=0% z  x) d( t; W/ G/ n. y# v1 A$ n3 Q% T

  1802. 8 i- ?( Y2 n6 H( l9 u2 B) ?) Y
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the: c, ], k* U4 `  k8 ?  i$ q  ^
  1804. ; size of the optimized code.
    8 I0 a+ k* w8 _
  1805. ;opcache.save_comments=10 }" Z$ z  }3 ?( u1 V

  1806. % F5 h! ~3 t9 r6 ?( o
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code; N" o+ Z& B* S) h0 A) T5 A
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.$ Y3 s* T' J$ W1 @$ @" J1 x
  1809. ;opcache.fast_shutdown=0
    % E8 l: ]1 ]! ], h

  1810. 4 t( q) b& I7 i# D( G, a2 _
  1811. ; Allow file existence override (file_exists, etc.) performance feature.5 q6 F" Z! y3 L3 a4 S8 w6 p  p
  1812. ;opcache.enable_file_override=0
    : L( z/ D# q! }( C

  1813.   }  j( M! r& Y, R
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
      N+ ]' A6 t* i
  1815. ; passes
    - ~9 h" l% _1 ?4 Z! S
  1816. ;opcache.optimization_level=0xffffffff% ]% o8 J. q, a* ^1 N- y) ^- x/ z
  1817. / @  V+ |* H( T  O& @' P8 C
  1818. ;opcache.inherited_hack=1* V! ~, w1 n4 M( F6 S; t- ^, M
  1819. ;opcache.dups_fix=0
    / W8 R% g# |' U
  1820. 8 ^# Q0 Z: y- a
  1821. ; The location of the OPcache blacklist file (wildcards allowed).$ _1 Q9 p0 k) Y8 {1 d$ f4 u
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    $ c8 d% Q/ x3 l! `
  1823. ; that should not be accelerated. The file format is to add each filename( o7 w( [, }' B( _+ ?4 ?7 w5 j
  1824. ; to a new line. The filename may be a full path or just a file prefix
    - G. ^, a  _0 E2 K* @
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www/ w& k1 c. D5 v$ d
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).- m6 O9 ^& G* s/ W" f
  1827. ;opcache.blacklist_filename=3 o1 K& }' M/ \5 {3 b/ U

  1828. ! ]% r* U. O5 P( I7 s: C
  1829. ; Allows exclusion of large files from being cached. By default all files
    . E/ `+ I9 U' E6 e* K* P0 ]+ I0 n6 @
  1830. ; are cached.
    8 o0 M6 n6 F5 D7 n
  1831. ;opcache.max_file_size=0
    ! H) K" ?4 G! `2 U# E* ^8 v
  1832. * k+ K. u) a7 M' \; P
  1833. ; Check the cache checksum each N requests.
    & R* C! W' [9 d# u! [
  1834. ; The default value of "0" means that the checks are disabled.* X- b3 \7 O$ p) A8 Z0 |; F
  1835. ;opcache.consistency_checks=0
    ' v( D3 L3 _' f. q, D6 y

  1836. 4 \. [9 Y+ F" Z+ z$ @
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache% Z) Y5 Y" ]8 c( K
  1838. ; is not being accessed.; W: v9 e2 \. D  z
  1839. ;opcache.force_restart_timeout=1802 Q$ l9 m* }. f4 X

  1840. + L! E+ i3 y3 }
  1841. ; OPcache error_log file name. Empty string assumes "stderr".8 n' }0 z; F- t8 J. }1 d
  1842. ;opcache.error_log=& N6 g7 z& ~+ r8 U' O
  1843. ' A/ c* y& x! u5 ~
  1844. ; All OPcache errors go to the Web server log.
    : J) S# @( O$ \5 i7 G0 K" Y* r
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.+ r+ G" z% ^( _
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    - k1 n, d6 U2 }6 l* G
  1847. ; debug messages (level 4).2 P6 m. A# B2 J4 L( _# m
  1848. ;opcache.log_verbosity_level=1' m. A7 n/ j) g" @9 y/ r1 q
  1849. , X/ @+ F" O# k7 |
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    3 a3 a1 k  t" l9 J
  1851. ;opcache.preferred_memory_model=5 v; n  C; g4 `( I& K
  1852. $ u! w6 ]: Y$ B; c8 ^- l
  1853. ; Protect the shared memory from unexpected writing during script execution.# T( t0 l1 `0 \7 {) t
  1854. ; Useful for internal debugging only.: I2 N! G  A6 v/ E/ `6 `1 \9 M- p
  1855. ;opcache.protect_memory=0/ g3 f7 |/ j# K6 q  g' E, }7 u  W8 c4 W

  1856. 3 Z+ W$ \9 H& V
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is( C  T+ Z6 F' A& A
  1858. ; started from specified string. The default "" means no restriction
    : R& }! @# ~1 h7 B
  1859. ;opcache.restrict_api=
    4 w; ^( N% z9 x5 _3 E
  1860. 9 B+ h/ P8 x0 ?* P$ f/ [
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    7 U; I2 F5 h5 b. w$ T; u4 F
  1862. ; processes have to map shared memory into the same address space. This
      A% M1 r4 g  }
  1863. ; directive allows to manually fix the "Unable to reattach to base address"7 h  g' V- m5 b! h; e
  1864. ; errors.: \5 o8 @9 [( W2 h- J' j, w5 ]+ |0 B/ b, c
  1865. ;opcache.mmap_base=
    9 R( s- N& A. P4 y3 \: ?; S

  1866. 0 S& ~' R9 C5 _# f' _8 r7 r
  1867. ; Enables and sets the second level cache directory.( Q3 u" h! s* M' E6 i1 q9 Q
  1868. ; It should improve performance when SHM memory is full, at server restart or
    + m# r7 A# u% I8 I* V& k
  1869. ; SHM reset. The default "" disables file based caching.
    6 o/ g. a) H; ?- d
  1870. ;opcache.file_cache=
    ) J# L. B! K. z( T

  1871. 4 j3 g2 o* o# M* \8 [5 U4 r
  1872. ; Enables or disables opcode caching in shared memory.
    : P# s5 T' T( |! x
  1873. ;opcache.file_cache_only=0( ]! b5 }# w% Y* f/ t4 q: ~% V
  1874. 2 t0 p$ K2 y1 [, @
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    ' P5 f% A" R* R! |
  1876. ;opcache.file_cache_consistency_checks=1, |* |* E3 x9 P9 Z6 s4 j" }; u) C
  1877. - \& }* m0 i9 _
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    7 z8 G, }8 I2 V, V
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    8 z. J: W0 j+ T0 R8 I; D2 q
  1880. ; cache is required.
    , ^+ ]2 E! ?! n! Q
  1881. ;opcache.file_cache_fallback=1# H, j& g0 J: R* `7 b4 ?
  1882. " E: l3 l% C6 t8 I
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.3 H8 }" I. F: i+ F$ W3 ^3 U
  1884. ; This should improve performance, but requires appropriate OS configuration.4 n9 }* A* ]7 [7 m: Y
  1885. ;opcache.huge_code_pages=1# z1 |0 ~5 p1 R) F, X1 _

  1886.   M" p& \+ a) X. ~8 x! ?
  1887. ; Validate cached file permissions.
    : y" c3 U2 O; i& E: O- z
  1888. ; opcache.validate_permission=0
    7 J: G2 o- I2 k# r1 M1 Y
  1889. & @. ~% O0 C' _2 ~  D4 ?; x
  1890. ; Prevent name collisions in chroot'ed environment.! V' L' D$ k5 G, h9 e! v
  1891. ; opcache.validate_root=0
    9 N4 W  j4 G& e$ g% R. a( V

  1892. ' `, @4 v9 g. V  ^  g3 n
  1893. [curl]
    : |  V" ]/ O% O' F; F6 ?! N
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    0 [, U2 {' l3 Y+ y. [- Z6 t1 g; m
  1895. ; absolute path.. f* k$ \; A! R( Y( `; ~
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    1 l2 {3 D: H0 t# k) ?7 ^
  1897. 2 b! @: d2 E: I3 W" `( U
  1898. [openssl]+ A- V+ j0 M# y: y  ^
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem* w! M6 z% I: Z9 m$ m
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    " z9 g3 z. Y3 S) {% y0 e* _; y
  1901. ; not specify a value for this directive as PHP will attempt to use the
    ) Z3 S; _7 U+ d+ w  J
  1902. ; OS-managed cert stores in its absence. If specified, this value may still  f& r, C! |5 E2 h5 B$ F
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context3 \( _. F1 I3 k0 S; U
  1904. ; option.
      S- z1 N3 `. f( H0 [9 ?# p
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt0 N& U3 L  q8 X5 [8 V
  1906. - j) ~1 I0 T( I5 ]
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the# ?0 h0 X" g3 O7 \! B
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    0 U) J  o5 F% y& O/ I
  1909. ; certificate. This value must be a correctly hashed certificate directory.3 k5 |3 B8 L% W: U& H3 y) g" M
  1910. ; Most users should not specify a value for this directive as PHP will
    " M. a/ {( n+ N5 H+ F1 e& ^
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ( u$ r$ d! u" y, w" L, B
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ! q  {' M6 f% Z. J& T7 V- ~- z
  1913. ; SSL stream context option.$ \4 D4 j1 J  {5 r
  1914. ;openssl.capath=
    : ?% r- V. P0 x4 Q" y7 f! z

  1915. * l. w# A/ ^7 K6 m/ J2 d% E
  1916. ; Local Variables:8 Z7 T" Y$ W) p
  1917. ; tab-width: 4
    5 x! |0 _* l$ _" N, l0 {: |8 N
  1918. ; End:! A/ Y7 k: ]; \! X1 Y
  1919. 0 y2 _' X+ x3 z8 |
  1920. ;eaccelerator
    3 M8 T" W8 `  Q& n3 [: y3 m: B' J

  1921. 7 d0 n) v, P5 R) _' n- D
  1922. ;ionCube; {7 E7 ~1 {" ^! q& I& d. e
  1923. 5 @2 d1 o  X8 r) l# n
  1924. ;opcache
    : u) B% ]1 W% K! z8 F/ l

  1925. 0 t" j/ X- [9 K8 [: c5 h& y# F* z' T
  1926. [Zend ZendGuard Loader]
    2 [5 T/ W0 W# W. v
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.2 F+ v: S  ~) u4 p3 Z
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    + m9 X: S+ r$ N7 g! [
  1929. ;zend_loader.enable=12 d$ p: B4 N; N* r# }4 k( Z
  1930. ;zend_loader.disable_licensing=0
    $ y! h4 x: h: n+ l4 V
  1931. ;zend_loader.obfuscation_level_support=3
    + B3 A! J' }/ v3 z- q
  1932. ;zend_loader.license_path=/ V- p5 J3 [: B0 d* t) @0 g

  1933. 2 k4 }' O+ h2 |: |: ]: a
  1934. ;xcache* P8 O; K9 ~6 U$ C, b
  1935. 1 A/ v1 r% T; G1 H
复制代码
6 f/ X7 L4 [  i5 K: ?
. J% I. O! M* M. d, r2 D: A: x

' E6 }# ~6 x0 ]; q' o, Y
- o; x0 E# x. d! E; G7 k/ b: W4 Y
1 P( t) }" N* q2 w# j7 z+ c2 s$ v$ l9 P  K2 ~5 ^& f

) U1 @) @* A1 [0 S, {PHP5.6版本原始设置
, S  {0 ]8 G  \
/ `5 _& S6 K% E" P$ m" K
  1. [PHP]$ s8 v" T5 p; P

  2. 6 F/ C: h) X) l8 p; ^( I' O
  3. ;;;;;;;;;;;;;;;;;;;! h/ C& [) T8 q* p1 Y
  4. ; About php.ini   ;
    4 f  i$ n2 n7 _
  5. ;;;;;;;;;;;;;;;;;;;& u( R% U7 r9 `) C( H3 o
  6. ; PHP's initialization file, generally called php.ini, is responsible for+ @9 B3 Q/ O5 e( ^. l  o. b
  7. ; configuring many of the aspects of PHP's behavior.
      S2 \6 a7 d8 Q! |
  8. 8 P2 x" d" z+ }
  9. ; PHP attempts to find and load this configuration from a number of locations.
    8 N  H. K. h: m( u: p
  10. ; The following is a summary of its search order:$ k6 r' O  P: D4 g  n8 z2 W
  11. ; 1. SAPI module specific location.. s( [) E# _* E
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0). Y% O1 T' _6 F, h7 |2 k
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    3 A0 N( e8 j4 }; _7 U) u1 W
  14. ; 4. Current working directory (except CLI)
    8 g% ]9 B+ Q! R
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    7 d* n* Q% ~- i5 k6 Y# H
  16. ; (otherwise in Windows)' f! U2 }; x. C8 i6 V: q4 n2 c
  17. ; 6. The directory from the --with-config-file-path compile time option, or the) W  [  B+ U! d6 o5 k/ |) w
  18. ; Windows directory (C:\windows or C:\winnt)1 X1 N/ Z* K/ C! U; a+ {3 r7 Z  W
  19. ; See the PHP docs for more specific information.1 I$ \, y) W, B2 T5 ~' @
  20. ; http://php.net/configuration.file) V& ?  ]' F4 B) y& t% I  ?! \

  21. & x" U! R6 ~' q$ B1 u8 C* o' m8 z+ u
  22. ; The syntax of the file is extremely simple.  Whitespace and lines5 Y  F6 `; q- V6 U% k
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    - P. \2 ~/ [, c/ J4 C- K
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    7 j! m6 }8 e3 g2 g$ y
  25. ; they might mean something in the future." s/ r: S* p+ F' l6 T: d# \& ]
  26. % D4 R' [& F# [+ q0 _4 v5 S& w7 E% B
  27. ; Directives following the section heading [PATH=/www/mysite] only7 v- E' D3 ^! w$ M1 P% S8 x# T& _% ~
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    # n3 S' m4 N/ K. i8 Z8 B
  29. ; following the section heading [HOST=www.example.com] only apply to. Y  H$ J9 c' L4 r
  30. ; PHP files served from www.example.com.  Directives set in these; ^) h* \6 P  f' ?
  31. ; special sections cannot be overridden by user-defined INI files or
    / p* I/ {" R% h& Y) j
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    & W' \/ D2 C" I7 y* c
  33. ; CGI/FastCGI.. c) Q% A/ K/ D0 G2 }% R0 w* p
  34. ; http://php.net/ini.sections* h& n" m( W0 c. g7 [
  35. 8 j% C. u3 I. w$ {2 F; T
  36. ; Directives are specified using the following syntax:! S7 m5 ]- U6 W6 j& V6 D
  37. ; directive = value
    2 a+ E  S( A. k  d# G$ H! f
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    , a0 I0 B1 e+ w, m6 ?2 K  e
  39. ; Directives are variables used to configure PHP or PHP extensions.
    7 z% W1 W: I2 R$ X
  40. ; There is no name validation.  If PHP can't find an expected
      c, S" N3 Z$ F7 r" ^1 o
  41. ; directive because it is not set or is mistyped, a default value will be used.
    8 l! E. h7 d6 l& r: d' Z
  42. # N7 F1 [1 W4 Z9 p! I7 v8 V7 I! c
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one* t6 r2 E  [8 p4 N
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    * @. [9 l$ X4 t! ?( c
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    4 @1 `' e3 v; d
  46. ; previously set variable or directive (e.g. ${foo})
      N; L0 j3 y4 ]
  47. 6 |; ^2 O* b) [+ \7 B1 \& \
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    0 T- z/ ^- c5 i& _9 ?5 G5 W% o
  49. ; |  bitwise OR
    & H) M1 ^: U& k  V
  50. ; ^  bitwise XOR
    * i, A! i* j5 [# V/ b
  51. ; &  bitwise AND
    % F0 i' s) K7 r: g
  52. ; ~  bitwise NOT
    ( _4 W; f7 k3 K7 R) r: ^9 A
  53. ; !  boolean NOT7 j) A9 I: y, E0 H. k

  54. ) l) }5 k! K, y& ^& c" }
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ) z6 H1 f6 N( l6 l0 f
  56. ; They can be turned off using the values 0, Off, False or No.' c% L, r+ n; }$ i7 ~5 N3 q

  57. * ^2 I- A- D, t& Z; k. I
  58. ; An empty string can be denoted by simply not writing anything after the equal$ K4 D. T! ~& i; C. g- K3 w; n
  59. ; sign, or by using the None keyword:
    ! }9 U8 P0 g& K7 j

  60. 3 Y) `# G" i: p! N/ @! L. ^8 j
  61. ;  foo =         ; sets foo to an empty string
    8 A7 v( x! a0 q3 e! E
  62. ;  foo = None    ; sets foo to an empty string
    + H2 ^3 `/ J# g' S. _( v# g+ _5 q
  63. ;  foo = "None"  ; sets foo to the string 'None'  ^  X) {* c) D: B8 g
  64. 9 H/ a1 T  p8 S% f
  65. ; If you use constants in your value, and these constants belong to a
    , d: e' V5 r- }( y$ S! W1 r
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    0 F: _+ R  U: r% e
  67. ; you may only use these constants *after* the line that loads the extension.. ~" p; Y& \% D3 R) S9 t

  68. / I( J5 X8 i% F7 _& ~7 x
  69. ;;;;;;;;;;;;;;;;;;;
    : U0 {' A& _0 P" L9 v+ T  `! x
  70. ; About this file ;+ b8 E; Y) M+ E; }8 v9 {" j
  71. ;;;;;;;;;;;;;;;;;;;" W  r1 a* K# f
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    " m$ w' x3 o: e3 A" J
  73. ; in production environments and one that is recommended to be used in
    ' c) p; y' s" |# v7 m
  74. ; development environments.4 x$ a' C. Z  `; P7 \$ N

  75. & _+ S. C1 W2 S/ A- V* N/ `
  76. ; php.ini-production contains settings which hold security, performance and% r4 j5 h, ?$ M% z+ S! G4 B
  77. ; best practices at its core. But please be aware, these settings may break
    + j' f% v% c3 C: Q
  78. ; compatibility with older or less security conscience applications. We
    ' t* N" }/ d/ C( a
  79. ; recommending using the production ini in production and testing environments.1 }3 ]) D7 a' I( P% P" }% C
  80. ! j9 m& T% }4 v2 W! J
  81. ; php.ini-development is very similar to its production variant, except it is
    $ Y3 T8 {# m$ G+ U; D
  82. ; much more verbose when it comes to errors. We recommend using the( n4 p1 z( x9 l$ T
  83. ; development version only in development environments, as errors shown to5 ?( z2 s( C* b; w3 S3 N
  84. ; application users can inadvertently leak otherwise secure information.0 ]+ V# r- L0 D. [+ K/ d  c9 }3 H
  85. 5 b' }3 S3 m% ~" _# R( D/ |& s
  86. ; This is php.ini-production INI file.$ m, y7 J) O4 n' n: g

  87. ' d4 h  j  H) {1 y& F$ R
  88. ;;;;;;;;;;;;;;;;;;;, l1 L* F5 D( C: `" W2 w
  89. ; Quick Reference ;6 I/ P( L9 ]; k
  90. ;;;;;;;;;;;;;;;;;;;
    3 C$ g. t! p$ F1 k0 I& Y( x
  91. ; The following are all the settings which are different in either the production; w& }/ v7 W9 s) }4 K1 K& i
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ; [* N5 N! Q) v4 N3 k" m) Y
  93. ; Please see the actual settings later in the document for more details as to why5 H  T* N" k" ~! a7 B& h; t7 q
  94. ; we recommend these changes in PHP's behavior.$ R6 Q4 ^& c  A% @0 `. w/ U. J

  95. + E: Y7 ?6 s  p5 B" K: v
  96. ; display_errors
    / W9 p6 V& G7 [/ L- }
  97. ;   Default Value: On3 C, S% D' q& [3 o  A" j) |9 @
  98. ;   Development Value: On
    , b3 O" `1 U- Q* `! }$ U3 R- ?1 G$ |% }
  99. ;   Production Value: Off: w  t  |8 M' ?3 ?1 ^* ^3 |5 [) N
  100. . ]/ j7 |0 h# X
  101. ; display_startup_errors8 L9 o- V( n; a
  102. ;   Default Value: Off! a- X6 K! W8 |
  103. ;   Development Value: On
    ( r; j: v$ \8 n, u
  104. ;   Production Value: Off! L+ q+ o; Z4 i) |
  105. # J. \& j0 c+ g4 Y0 l& X, b% Y
  106. ; error_reporting
      Y7 _9 Y& s3 s2 C6 {8 ^6 I; z9 y
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED8 b' K" I" j+ u9 a) `& q+ X! e
  108. ;   Development Value: E_ALL
    ( f  R4 t6 ^1 e0 C$ k/ k1 }, _
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT7 a2 y* e' J) T" f0 Y1 s( ^/ g
  110. - @/ Z5 |9 b) R  ?! g) B* B
  111. ; html_errors6 c3 s! R. r0 g
  112. ;   Default Value: On
    # A, {# e! c' M- O! M
  113. ;   Development Value: On
    $ `# O1 f- B9 g' }
  114. ;   Production value: On
    2 c1 t3 f, d, z& y
  115. . S$ c; e' S; B5 [
  116. ; log_errors1 [2 V8 G4 ?. Q) N( c4 O9 X0 x
  117. ;   Default Value: Off
    & P* a. N0 S9 K3 n- U+ K* [
  118. ;   Development Value: On
    % l" r: I1 b$ j
  119. ;   Production Value: On! M% w' s3 X8 W( Z! e8 U
  120. " f3 H9 p+ o' Z, q5 Q& G# I. [
  121. ; max_input_time- s! N! l  B( _4 `0 w
  122. ;   Default Value: -1 (Unlimited)
    9 k! I4 |, S: r, R1 h
  123. ;   Development Value: 60 (60 seconds). @1 Z5 {$ F7 r2 o/ [
  124. ;   Production Value: 60 (60 seconds)1 O5 q( d8 y' J6 L( Z* J

  125. , E3 b% h: I/ N  u0 d( k9 q
  126. ; output_buffering
    ! \0 ]* Q1 w  H6 B, t
  127. ;   Default Value: Off% Q; T; O- O$ P
  128. ;   Development Value: 40968 E- N& b# W2 I
  129. ;   Production Value: 4096+ h% i, Q6 x* ]" u# X/ [
  130. ) x/ B2 P; o; C) |# H- `& n
  131. ; register_argc_argv( B9 e$ n3 X% X; o
  132. ;   Default Value: On( R  j, G( [& L& R1 D) \0 Z
  133. ;   Development Value: Off
    3 j. K0 G' C9 ]3 C' L1 C6 Y* `
  134. ;   Production Value: Off" `6 A4 s) n3 g. e
  135. 1 T' \" u! }6 K5 C
  136. ; request_order% v: N2 f, f9 l* N1 J; |
  137. ;   Default Value: None: Z+ G; @! k8 Y' t  b2 v
  138. ;   Development Value: "GP"0 H- ?0 [" ]' {3 i4 m
  139. ;   Production Value: "GP"- J" Q1 j( ~# [9 C* n
  140. 4 L, j, c$ M# \& {: v
  141. ; session.gc_divisor  z: |5 e0 C/ N  {/ s: `
  142. ;   Default Value: 100" ]; F  D) \7 |9 l5 Z* h7 H1 ~
  143. ;   Development Value: 1000: p' q/ v- a( k5 L9 f: P
  144. ;   Production Value: 1000
    * D6 H' P. w" ]7 I2 ]
  145. % V0 w( n$ p# F# Q- |5 i' ^* c: f0 V% ~6 Q
  146. ; session.hash_bits_per_character
    5 M- ^; D" A+ y8 s+ S
  147. ;   Default Value: 4! P0 t2 J3 B7 ?  O" x! M
  148. ;   Development Value: 57 u9 E. d9 p' y9 v( t7 z( x
  149. ;   Production Value: 5; V! ?0 E+ k# m2 a) _

  150. 2 M; X  I* s. B3 L6 |: g
  151. ; short_open_tag
    , [6 F0 x: h3 p* h' s" D
  152. ;   Default Value: On
    8 F6 J  f, |; ?2 o" I9 [+ i
  153. ;   Development Value: Off; {$ b' {" g# z. W$ u; R
  154. ;   Production Value: Off$ m6 _1 o. F, M/ d4 r' l

  155. % X# J5 J$ {* @, |3 Q2 x
  156. ; track_errors
    ' Q* V# C& ^. X+ |$ p
  157. ;   Default Value: Off
    2 r( a# E3 Q  a) K
  158. ;   Development Value: On
    ; u) h* K, E* x9 r0 e; _: F
  159. ;   Production Value: Off
    % T( ]  Z: R* y6 l
  160. 2 V) A6 w5 f- [5 m2 i6 Q
  161. ; url_rewriter.tags
    + G  B0 {/ t; n; M: \# U! s9 d; C0 m- J
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    1 m# T3 X/ i# R
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 Z/ X) f+ n: P/ l* w( T2 W
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! z3 l# g) v! c9 I/ p+ X
  165. 0 k6 ?" q' Q# C( R- g  m2 v
  166. ; variables_order
    4 O" H, K3 @7 x8 ?; F
  167. ;   Default Value: "EGPCS"
    ; `6 q1 ~$ r9 I, v7 l
  168. ;   Development Value: "GPCS"! V0 X) {5 Y% e2 }6 W( p8 [
  169. ;   Production Value: "GPCS"7 G' A  J/ U5 z. H$ k6 w6 V- L6 @

  170. 6 I1 l2 F- [! n( ~8 j
  171. ;;;;;;;;;;;;;;;;;;;;! k! _% [* K1 [1 B  k: k
  172. ; php.ini Options  ;
    & j, T% V. f  L$ h* Q* c* u
  173. ;;;;;;;;;;;;;;;;;;;;, F) e( X2 P8 `
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"! y# l5 J6 o, a; {' h1 o: ~
  175. ;user_ini.filename = ".user.ini"/ x. h8 X0 F6 X% R+ c* N

  176. & c9 s) f1 E: Z7 @; s0 `" Q
  177. ; To disable this feature set this option to empty value
    0 F% N0 P9 Z+ E) u. c
  178. ;user_ini.filename =
    8 |/ L2 N1 B; M3 J; |! w5 E
  179.   q* C6 v6 F  k( c- M9 t
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)! D! v" S% L7 O7 Z5 T/ a. N& Z
  181. ;user_ini.cache_ttl = 300
    0 T# G2 R% ?( E; b" t$ R

  182. - o! O1 {& F: i; x/ v
  183. ;;;;;;;;;;;;;;;;;;;;
    & B( b5 V) R% x' N+ I5 s
  184. ; Language Options ;3 H: s" O% m* G: U
  185. ;;;;;;;;;;;;;;;;;;;;  ?) t3 K6 q3 O

  186. 5 O, g6 z% z  f" h& |8 E
  187. ; Enable the PHP scripting language engine under Apache.7 K% E- a) s/ C5 r* ^! J
  188. ; http://php.net/engine/ j/ c' }% J* c5 m* x& ~
  189. engine = On, W: G% H, p5 m: b; V8 M- z

  190. + [% Z6 a" I. Z4 W/ N
  191. ; This directive determines whether or not PHP will recognize code between
    * Q2 Z4 f) |4 h2 V$ t
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    + f$ v! F( ~9 A9 _
  193. ; generally recommended that <?php and ?> should be used and that this feature+ Y9 S! d2 b5 C$ {$ b+ L1 {
  194. ; should be disabled, as enabling it may result in issues when generating XML" A3 r+ R; y' r, w: `2 v
  195. ; documents, however this remains supported for backward compatibility reasons.
    - i; u% r* L! f1 Z8 A; j
  196. ; Note that this directive does not control the <?= shorthand tag, which can be9 ]% R* u# L5 E+ I8 o" w
  197. ; used regardless of this directive.; Z# a9 ]3 w0 j+ U2 [
  198. ; Default Value: On
    . F( s, t% d, m$ F- K
  199. ; Development Value: Off. v- ~5 c+ \2 U
  200. ; Production Value: Off  {' m% z& @4 }0 \$ X, ]
  201. ; http://php.net/short-open-tag; G! [" A3 C9 ~5 [# S2 N
  202. short_open_tag = On; N5 v9 t4 w9 }& \. j0 D) I) c6 {1 g

  203. , e1 s+ l" Z3 \- d; U( o
  204. ; Allow ASP-style <% %> tags.8 M( a4 q; _+ R6 \4 }: y. c1 H
  205. ; http://php.net/asp-tags
    * x! ^3 k' b" C% i
  206. asp_tags = Off' }. |! ^2 A3 r% M7 g, d7 Z7 h
  207. ; |, o$ k, j; L6 u! s
  208. ; The number of significant digits displayed in floating point numbers.! k* ^2 K. W- t# v2 \
  209. ; http://php.net/precision
    / t* m) R- ^) ^( K  J
  210. precision = 14
    + g, J/ u  W& ^' W
  211. 1 k0 S/ a: W! v) e; h3 }# b
  212. ; Output buffering is a mechanism for controlling how much output data
    9 Z0 M8 m; r- H
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that, m; f( E& o- `* q
  214. ; data to the client. If your application's output exceeds this setting, PHP4 `7 Z# N5 L) g" F
  215. ; will send that data in chunks of roughly the size you specify.3 h( u1 S4 k8 w
  216. ; Turning on this setting and managing its maximum buffer size can yield some3 t" v* v# {* s( c1 e5 G
  217. ; interesting side-effects depending on your application and web server.8 J, s: ~8 \, Z7 N" _% z
  218. ; You may be able to send headers and cookies after you've already sent output
    ! Z5 _0 M+ m7 o3 y* X
  219. ; through print or echo. You also may see performance benefits if your server is: W% s  e  Z& z/ N. C" b! y
  220. ; emitting less packets due to buffered output versus PHP streaming the output$ c: d2 n* r1 A, v9 u5 @! V/ v
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    7 W4 w. P/ e( ]. M! Y( K
  222. ; reasons.
    ( h& J) o& z' ?# q) c$ }
  223. ; Note: Output buffering can also be controlled via Output Buffering Control3 F, c" [, U( @: A
  224. ;   functions.( b, Z# v& Y0 u3 J  O7 }
  225. ; Possible Values:
    # W: ?0 q4 f9 I1 @' {9 r, W
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
      A4 X& F( ]. t7 i6 J8 B* E  K
  227. ;   Off = Disabled
    ' D) B& G6 f+ h" B
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.6 I8 U5 e( F  z% n! U  o
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ! T% E1 T# K2 }6 x2 y
  230. ; Default Value: Off
    + ~  K9 e! u8 P( e# \
  231. ; Development Value: 4096
    & i: {" b- ?$ v; ^
  232. ; Production Value: 4096
    5 A% ]* z9 F! I/ ?% i, k8 w- }2 j
  233. ; http://php.net/output-buffering
    1 Q8 V( z. U7 }8 g
  234. output_buffering = 4096
      y" I( w, T) U) l; }. b' c

  235. 7 h' y- U- K) K; p9 Q2 m
  236. ; You can redirect all of the output of your scripts to a function.  For
    ' B- c$ A4 D) X: R' I5 T' `
  237. ; example, if you set output_handler to "mb_output_handler", character
    ) q7 }5 c) ?5 Q/ N: k
  238. ; encoding will be transparently converted to the specified encoding.  r7 i. a9 H$ v: I# `
  239. ; Setting any output handler automatically turns on output buffering.
    4 ^2 `' j4 T- b6 L. Z. N
  240. ; Note: People who wrote portable scripts should not depend on this ini9 Z0 Y( q- p' X1 c$ F' p8 [4 [( G
  241. ;   directive. Instead, explicitly set the output handler using ob_start().* I$ ^9 e, P: I  \( S
  242. ;   Using this ini directive may cause problems unless you know what script
    ! }  T. ~, F9 x4 H! t0 @
  243. ;   is doing.
    5 F; O; }6 W$ @6 ^% }% `' H
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ) |% k( p  ~* f# R; A3 P
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".; G- q6 i$ h% |( M/ [- R7 c4 O
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    ) T* w% ~+ ]5 ?* V8 M
  247. ;   Instead you must use zlib.output_handler.$ y; ~/ ^# Y; Y  i
  248. ; http://php.net/output-handler
    % u, k+ `- s+ `' B8 M
  249. ;output_handler =
    / K! m4 w$ ]) P! B7 t
  250. ) q$ z0 {+ _2 V9 G: K
  251. ; Transparent output compression using the zlib library9 ?5 @  V2 A4 _+ T8 f
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    + x! t+ p$ q4 ^- y. h, D
  253. ; to be used for compression (default is 4KB)" L1 P/ u) Y% D, q( e# s6 H
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP1 @+ T3 [: R  h5 ]. R# G; A* a
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    + e( |2 K0 }# L# b
  256. ;   compression. If you prefer a larger chunk size for better5 W9 r! f/ L' f1 R  X
  257. ;   performance, enable output_buffering in addition.
    6 Z# J2 J' u; @+ f3 u3 y+ u
  258. ; Note: You need to use zlib.output_handler instead of the standard
    + d' Q& `- D% S0 [
  259. ;   output_handler, or otherwise the output will be corrupted.
    ! U1 L0 B0 g( f4 J# D: i) n$ r4 d
  260. ; http://php.net/zlib.output-compression9 f1 p8 E' ~% Z2 @9 S6 Z& C
  261. zlib.output_compression = Off8 B" x& Z! }8 r# `3 w8 |" K
  262. 5 ~( L+ T" C8 Z, d3 t* K, |' q
  263. ; http://php.net/zlib.output-compression-level7 ~9 D2 d& a% x6 G0 A
  264. ;zlib.output_compression_level = -1
    * U/ b) u8 O$ E5 u

  265. , ~+ p- x* V+ x6 B' Q
  266. ; You cannot specify additional output handlers if zlib.output_compression
    - m  B/ v! f1 r0 e/ w
  267. ; is activated here. This setting does the same as output_handler but in
    / `4 d! T; m5 e' ?8 D% k
  268. ; a different order.0 }$ d* l- x8 ]) v5 c
  269. ; http://php.net/zlib.output-handler1 Z) n/ D% b% D8 e0 e
  270. ;zlib.output_handler =0 V) ^9 w; G1 q( U

  271. % `6 ^+ L; _# g0 s) |
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    4 }8 u' S- y; S3 Y
  273. ; automatically after every output block.  This is equivalent to calling the
    - m/ F- B  d9 g' _1 _9 b: y
  274. ; PHP function flush() after each and every call to print() or echo() and each5 {# o; n" {1 k" s) Y! P) K
  275. ; and every HTML block.  Turning this option on has serious performance3 B. R6 |3 p+ r( f- o7 T8 V
  276. ; implications and is generally recommended for debugging purposes only.' l6 C4 k1 |% `0 S6 f7 P
  277. ; http://php.net/implicit-flush3 y1 p0 h, E9 w0 s9 E
  278. ; Note: This directive is hardcoded to On for the CLI SAPI$ g3 |" A0 N6 H" Y/ y. y( A7 L4 s
  279. implicit_flush = Off
    * W& \- C4 H% r
  280. / ?& _* S$ J* o/ }! x/ e
  281. ; The unserialize callback function will be called (with the undefined class'! s$ s& }  X8 p( I) [- o$ H* z; r4 d
  282. ; name as parameter), if the unserializer finds an undefined class
    ! S$ @; M8 ~: ]3 o
  283. ; which should be instantiated. A warning appears if the specified function is
    5 @. o9 n$ |0 {/ D- _3 }
  284. ; not defined, or if the function doesn't include/implement the missing class.# `& }4 y. o/ Y& O% E5 f
  285. ; So only set this entry, if you really want to implement such a
    2 a9 s5 C3 e/ W% S
  286. ; callback-function.# l* R* `) l' o/ J/ V/ @( o
  287. unserialize_callback_func =+ x5 n. a- \8 j% W3 b1 [0 L. M
  288. ( U$ k% v$ {  k  @
  289. ; When floats & doubles are serialized store serialize_precision significant
    , [# C  d2 }1 T
  290. ; digits after the floating point. The default value ensures that when floats
      u, o! D) Z! {/ [
  291. ; are decoded with unserialize, the data will remain the same.
    / H: a) {/ u  s1 `. L6 J
  292. serialize_precision = 17/ @  R1 N1 y  m* \# e3 `9 ~( v3 P& M

  293. & ^$ x! k2 n: b- }) C0 Y
  294. ; open_basedir, if set, limits all file operations to the defined directory
    ; @$ i  R7 r$ v3 K9 ]6 I" |  t# V
  295. ; and below.  This directive makes most sense if used in a per-directory
      c% A" M' @, \
  296. ; or per-virtualhost web server configuration file.! b4 L2 G# T5 l. r( u9 D' `4 T
  297. ; http://php.net/open-basedir: r8 u+ i! [% H9 Y4 i+ }
  298. ;open_basedir =
    , ?0 L8 t3 L: ~6 ?" c: C5 m

  299. + ]+ E6 s, N( _3 G6 o- m
  300. ; This directive allows you to disable certain functions for security reasons.; H$ `: u0 a: d' k' P
  301. ; It receives a comma-delimited list of function names.
    , K0 ?( o9 p) B# F* B
  302. ; http://php.net/disable-functions$ B1 x  Z8 J/ s- W
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    - ]' t- L" O" y/ K: s" c( R

  304. * C3 H5 J9 p( z" F1 u  m4 Q
  305. ; This directive allows you to disable certain classes for security reasons.
    1 a) Z1 b" N- ^, |) b
  306. ; It receives a comma-delimited list of class names.* w% F' `( M% X' D2 I( n
  307. ; http://php.net/disable-classes
    + d0 a3 ?& K( j) c
  308. disable_classes =
    * B, R0 |, p& K- Q
  309. ) ^' m- K; `; }, _
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in8 S. W) O0 a4 [1 P: p2 E1 ?- x
  311. ; <span style="color: ???????"> would work.
    % O4 t! l4 V9 m: n( `  P
  312. ; http://php.net/syntax-highlighting9 Y6 a+ J: \) q+ J7 T& K/ q+ |! x
  313. ;highlight.string  = #DD00003 ^  s& D. Q( K* |  d
  314. ;highlight.comment = #FF99009 r- ?8 A, v# N5 i( x$ G' k4 y
  315. ;highlight.keyword = #007700
    ) |; m- N/ s0 `9 v/ ]
  316. ;highlight.default = #0000BB
    ' C) K- j6 j* N7 [8 l
  317. ;highlight.html    = #0000005 U0 R% ~$ A. U6 a# j
  318. 8 H4 L6 t# h. g7 Q2 P
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    ; ^# f  i$ F* d( b% U
  320. ; the request. Consider enabling it if executing long requests, which may end up  v7 J+ h( y/ r& Y
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior5 C  F) {% u3 Z& x* B. _
  322. ; is to disable this feature.
    8 @" w8 H8 @* D* p
  323. ; http://php.net/ignore-user-abort& o$ G$ Z' }( j& X
  324. ;ignore_user_abort = On) q7 U( g$ l; a! r  H& L% E- P9 |

  325. , m' Q2 g* H+ ^5 U8 X9 \7 I
  326. ; Determines the size of the realpath cache to be used by PHP. This value should% c2 B) z) l, X0 x+ P
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    1 n+ _4 }' _- v1 q% B' Y
  328. ; the file operations performed.
    7 i; j& ?/ L( y
  329. ; http://php.net/realpath-cache-size4 o' T6 C. X9 {7 w/ e
  330. ;realpath_cache_size = 16k& Z/ o+ [1 O1 L* }# e/ z& P) v

  331. $ i. g* I  o/ e1 ~: O! ?" ^
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    5 Q" s: @) B+ S. E* k6 k& ~+ r
  333. ; file or directory. For systems with rarely changing files, consider increasing this8 N* g9 i* Z, X0 l) _- w
  334. ; value.% W3 Q  f. Y9 e( V% s( k' O! L  }; B% a
  335. ; http://php.net/realpath-cache-ttl
    , P: Q/ B) V9 E0 x0 Z, {
  336. ;realpath_cache_ttl = 120
    . a# I0 b2 a8 a

  337. 4 J. Z* T( U2 e8 U% U
  338. ; Enables or disables the circular reference collector.
    7 V6 Y, ~! q1 t* u
  339. ; http://php.net/zend.enable-gc6 }& ?, K' [! o5 r; Z
  340. zend.enable_gc = On
    5 W& e2 Z: W( L7 z  h6 B* W: [

  341. 1 N/ U& i8 J7 ^/ U- ?' f* F
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    8 z' A3 a" F1 w' E
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    7 N' a4 \2 X/ u9 h, a
  344. ; encodings.  To use this feature, mbstring extension must be enabled.0 I" g2 m. p3 v3 K2 d
  345. ; Default: Off
    4 b$ _: @( k4 g4 [
  346. ;zend.multibyte = Off
    3 j/ c7 V! y/ m1 I0 N' v

  347. 2 n. U# R$ s- t  r
  348. ; Allows to set the default encoding for the scripts.  This value will be used0 R  z+ _' \+ d8 Q
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    2 Y. D2 I5 W9 q$ m) h1 T
  350. ; Only affects if zend.multibyte is set.
    0 ]0 N5 G% ^4 U6 y, m6 {2 x% w7 y
  351. ; Default: ""! K0 O7 ^( N% i2 w( R7 r
  352. ;zend.script_encoding =# i% P! e! X% S" N7 l

  353. / o, N$ I# w( X6 w, i( S
  354. ;;;;;;;;;;;;;;;;;7 T7 J5 K& G1 c. c7 _3 C  c
  355. ; Miscellaneous ;
    2 [8 l1 q! d$ _& x0 u! [5 y; Y
  356. ;;;;;;;;;;;;;;;;;
    4 {7 U$ R3 k+ D1 C* P
  357.   E9 \( A+ p% P
  358. ; Decides whether PHP may expose the fact that it is installed on the server7 [0 P% R7 q, d/ L
  359. ; (e.g. by adding its signature to the Web server header).  It is no security( N/ G7 V/ A, c0 ~
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    ' t3 I! j7 C% ~; }
  361. ; on your server or not.
    $ t- w5 T) R9 d* P$ t) [
  362. ; http://php.net/expose-php9 v7 }9 p( F  y5 Y& ]
  363. expose_php = On' [5 u/ C1 U2 K! y, t

  364.   J+ r" ~, C7 h9 ~; l
  365. ;;;;;;;;;;;;;;;;;;;# O7 p, N/ i- @  n' O8 |; {
  366. ; Resource Limits ;
    6 g+ R( ~  `& U, @8 h! A
  367. ;;;;;;;;;;;;;;;;;;;3 J; O4 K( b7 R: e8 W: q2 w
  368. 5 w6 T3 y7 ?9 t. D0 Z2 j+ b! x
  369. ; Maximum execution time of each script, in seconds
    # y7 S7 E( w. v' B
  370. ; http://php.net/max-execution-time9 C; Z3 j8 O# F% o3 R+ q4 I
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI3 u, ]% C' u# C8 @" {6 d  y9 y: b
  372. max_execution_time = 300
    * f$ J3 u4 ?1 k. a: J: t: V
  373. ! z* q7 ^9 }4 o9 ], g3 s6 ^( R" Q
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    # Z6 \  M9 _- B9 }
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    / T4 _; v7 o3 u. k' b$ U
  376. ; long running scripts.
    - l! T- {2 K; Y6 G
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI! t( \. G/ j' [. b2 ]
  378. ; Default Value: -1 (Unlimited): C. D) K9 e" U! C
  379. ; Development Value: 60 (60 seconds)
    9 [5 ~; O# R: Y6 c  c! c
  380. ; Production Value: 60 (60 seconds)
    2 @& h9 f  t. q2 [
  381. ; http://php.net/max-input-time! Z4 _, b. ~8 a, m6 c
  382. max_input_time = 60
    5 T. B; H5 t: j" Q
  383. ; I" ^5 s& B* ]# n* ]# O* ]
  384. ; Maximum input variable nesting level
    9 r  E9 w- G' [* N# l
  385. ; http://php.net/max-input-nesting-level
    0 x- O* @, B) {' H# M  x
  386. ;max_input_nesting_level = 64( @  ?% n% W, w8 r
  387. 2 |! |7 x, }* Q1 h) [) @
  388. ; How many GET/POST/COOKIE input variables may be accepted* C# z& {. {# |( G: }& N1 _! e
  389. ; max_input_vars = 1000
    0 _, `; W# K  T; p  T
  390. 9 o" Q: k$ V; ?. L3 o+ C$ S
  391. ; Maximum amount of memory a script may consume (128MB)
    & ]7 Q* I4 ^& p7 ]: M
  392. ; http://php.net/memory-limit+ a( l, U; T( ^( ^3 B! o/ v
  393. memory_limit = 128M1 w" w& b( a: k" |% m. t1 O

  394. 6 @1 M1 Q# Q3 b* ~; U8 Z7 l5 E
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7 J5 d& e3 p! T8 X# Q5 ]0 q' [
  396. ; Error handling and logging ;
    7 Z# _4 ?/ P2 F; c
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;' ~( M& l2 K% U8 w' b

  398. 5 A( k0 L6 d4 b( A. X
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    2 a7 ]; c5 U0 \- b6 n
  400. ; it to take action for. The recommended way of setting values for this) o" m9 G0 j$ G
  401. ; directive is through the use of the error level constants and bitwise% k1 j! y" q3 T/ F8 o- c! q. r7 j
  402. ; operators. The error level constants are below here for convenience as well as; h  w' k$ J3 t( I
  403. ; some common settings and their meanings.1 u. _, m. H3 q" o$ v, K% @
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT: w+ m* ^5 O/ i& D
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    3 f9 L; W1 N4 H4 q7 O# d
  406. ; recommended coding standards in PHP. For performance reasons, this is the7 G0 A; G8 v0 v  n% x
  407. ; recommend error reporting setting. Your production server shouldn't be wasting3 Z5 b& u# B( V
  408. ; resources complaining about best practices and coding standards. That's what% `$ H- Y2 n: |8 g2 y0 D
  409. ; development servers and development settings are for.
    # z4 _( _" o2 y) d% p" ~: ^
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    + F0 c; L+ s- j- z. B- e0 k- N6 d
  411. ; means it pretty much reports everything which is exactly what you want during2 C. K7 v# {, l1 B. B1 O4 n9 W
  412. ; development and early testing.
    $ Y1 ~  b+ [! h1 y
  413. ;
    + [( S* L6 O% }
  414. ; Error Level Constants:7 M7 C8 W$ e+ U& H- O7 D2 S
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)/ |( }+ ?+ z4 M3 S3 Q- O
  416. ; E_ERROR           - fatal run-time errors0 H& Y0 s" ?+ r6 f
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors- a  h& n: ^- K, ?
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    $ @- P2 h" ~; r" }: V0 O4 |
  419. ; E_PARSE           - compile-time parse errors8 U9 P* X8 T; `) D8 c& s8 P3 [
  420. ; E_NOTICE          - run-time notices (these are warnings which often result7 @5 f6 R& ^# Q% s/ F  X4 \& q
  421. ;                     from a bug in your code, but it's possible that it was
    ) }$ V7 ~& m2 O: \7 R7 D1 @
  422. ;                     intentional (e.g., using an uninitialized variable and
    ) Q+ z" b9 e5 k4 A* u+ m
  423. ;                     relying on the fact it is automatically initialized to an" I, i, s' s& `2 K# L
  424. ;                     empty string)
    " d) k* J& `7 d0 d6 [2 P
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes4 Z/ x3 i, I, c
  426. ;                     to your code which will ensure the best interoperability$ D$ o8 u( L, a! m; E! o
  427. ;                     and forward compatibility of your code
    3 H7 V; {8 C- _- o" w
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup7 R( h) S: r- y) {9 B6 p' E
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    / ]' |8 {- p$ o2 ~# }( t. e$ s
  430. ;                     initial startup
    : f9 A. b+ q+ l# \7 d
  431. ; E_COMPILE_ERROR   - fatal compile-time errors5 l, \# o; B1 K3 n/ @* o% Q7 B
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ( P4 w1 B8 T  R' G6 O# M4 X" Q
  433. ; E_USER_ERROR      - user-generated error message
    4 g  e; m6 v9 @6 b$ H! ^
  434. ; E_USER_WARNING    - user-generated warning message
    : C! N+ j' K7 L+ |* A5 X
  435. ; E_USER_NOTICE     - user-generated notice message& W2 p1 y! o; m3 M  z) q9 G
  436. ; E_DEPRECATED      - warn about code that will not work in future versions1 i2 C3 W2 U4 \& e
  437. ;                     of PHP  v+ |! I% Q- A& f
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings# r9 ]0 }5 t0 ?* [- T' s+ S4 e
  439. ;
    8 i) [" l9 I- X) s/ z" ~* d
  440. ; Common Values:( Z. G9 h1 @" F' C6 F4 A
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    $ f/ ~, P, u/ k' G/ G/ P
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)9 K- x# V) M4 \
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ! L# Q! g' n6 Y/ L- E- p- E  b+ s
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    % \3 b$ i& v6 Q5 c% j
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    * M1 L' L- Z  b! ^
  446. ; Development Value: E_ALL8 e6 [, _# A8 Y0 j
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ) t% ]' x( ^. X# u
  448. ; http://php.net/error-reporting
    * }% U1 }: e: F7 A
  449. error_reporting = E_ALL & ~E_NOTICE
    & P9 l- J& C6 b& ?1 G0 T

  450. , c# h, S5 ]- y: u4 |
  451. ; This directive controls whether or not and where PHP will output errors,& D0 f% O6 `2 X+ i
  452. ; notices and warnings too. Error output is very useful during development, but; E& c9 V3 n  d6 }/ L. Q1 K4 N. Q
  453. ; it could be very dangerous in production environments. Depending on the code
    2 f  p  E2 n2 X. `
  454. ; which is triggering the error, sensitive information could potentially leak: V) _+ D0 x; L8 a
  455. ; out of your application such as database usernames and passwords or worse.
    9 F) K9 A9 Y+ g& _8 @
  456. ; For production environments, we recommend logging errors rather than
    3 `3 J. U. o) Z* z3 R1 W
  457. ; sending them to STDOUT., b  S: s: q# |  }4 T7 {) ^
  458. ; Possible Values:
    * s' }% H- F$ o. }& O0 @' ?
  459. ;   Off = Do not display any errors) j; R/ m. |. Q1 R9 K5 G: e8 f
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    5 m/ c" N) b* ^9 }! W$ a6 d
  461. ;   On or stdout = Display errors to STDOUT4 C" S+ }7 I  v4 F" r8 m
  462. ; Default Value: On
    4 M2 |  o6 E8 }% F0 |
  463. ; Development Value: On, [# W& ]/ S+ k6 j
  464. ; Production Value: Off
    5 D; U  T. v, L: K* h) ?! n
  465. ; http://php.net/display-errors
    # w. V" u, a8 N5 q
  466. display_errors = On
    : J; d' a- `, S& ^) @* O
  467. : h7 l) s; A! r, c
  468. ; The display of errors which occur during PHP's startup sequence are handled3 R( J: i% v  ?! N
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    8 q5 D1 P, o+ x
  470. ; errors from clients. Turning the display of startup errors on can be useful in/ h0 S! B. K7 z% o1 M8 `
  471. ; debugging configuration problems. We strongly recommend you6 H: E' M, M: r$ i
  472. ; set this to 'off' for production servers." a) u" Y6 H; n) h1 k3 F  K" f
  473. ; Default Value: Off) N2 u2 p- K3 i
  474. ; Development Value: On+ Y, W" l) {) o) \6 F/ ^& }
  475. ; Production Value: Off
    + s. e( R9 R2 D' `9 Y
  476. ; http://php.net/display-startup-errors
    + ~" B. D, I% O2 O
  477. display_startup_errors = Off
    * O- l! d. c$ ~; q  X2 p4 x# S

  478. 8 [' ?7 y6 Z1 S( D/ T, m
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    & r% H# Y" [$ h6 {4 u! T
  480. ; server-specific log, STDERR, or a location specified by the error_log0 m( H4 `7 q2 |, l
  481. ; directive found below. While errors should not be displayed on productions
    & [7 N1 r& }4 \) Y$ y( l8 I
  482. ; servers they should still be monitored and logging is a great way to do that.
    & B, ?: [4 k& _  F* _0 Z
  483. ; Default Value: Off  {, B6 s9 J  x- y3 k' M% s
  484. ; Development Value: On' M* k3 w6 T3 {  v
  485. ; Production Value: On, p% x  n2 [, ?* J9 g8 H4 F' {
  486. ; http://php.net/log-errors
    5 e: C5 W6 `2 [2 Y% j- \
  487. log_errors = On
    9 f6 @, G! Q6 y/ L" x1 H. m7 d

  488. $ a  H% {3 B& G
  489. ; Set maximum length of log_errors. In error_log information about the source is
    " m) K4 W/ M& n& ^  G# B; @: Z
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all." C5 X4 Q6 E$ B6 a
  491. ; http://php.net/log-errors-max-len
    2 ^1 S* M' r) P
  492. log_errors_max_len = 1024
    % w5 C1 U( q# ^' ~) g

  493. : W+ W. v5 h9 n) b
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ; J9 e1 `9 s+ V- _8 E: E. |* c, ]
  495. ; line unless ignore_repeated_source is set true.' k3 D( s7 s7 T! d
  496. ; http://php.net/ignore-repeated-errors- l! A! h8 C, j: @
  497. ignore_repeated_errors = Off
    - \. N1 O2 J! a6 ?3 T5 x+ Q
  498. 5 k& P4 K% A! ?  k8 r8 X3 j
  499. ; Ignore source of message when ignoring repeated messages. When this setting) T! ?! a% w) i: ^- x! q
  500. ; is On you will not log errors with repeated messages from different files or
    % a0 v) S2 {0 v5 s9 |1 H5 O
  501. ; source lines.
    * V3 w  L1 W# }& Q6 i3 O
  502. ; http://php.net/ignore-repeated-source% J+ c1 o# p, H6 L  b3 M. B
  503. ignore_repeated_source = Off
    $ j2 p/ q2 c3 S% x# j% Q

  504. 1 P0 Q2 b- f8 o# z3 k
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on2 D& y* K- {/ `
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    ) J8 z1 G3 W" C  s2 a+ ?! U5 @, {
  507. ; error reporting includes E_WARNING in the allowed list& h' o/ d# G. ~' n8 E
  508. ; http://php.net/report-memleaks
    ( D  \4 u! L' B+ Q
  509. report_memleaks = On6 \3 K$ k1 c( l+ v9 ]( M4 `

  510. + u) M: h( W7 v$ U9 d) N; Q# y7 j
  511. ; This setting is on by default.
    ) F5 X5 @- h$ g: {/ o' r' a
  512. ;report_zend_debug = 0# w* b# Q  Q& q
  513. : S- F5 J' N# o$ B8 [: J4 v! K
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ; [, h9 f7 n' i. g6 B; {$ p+ |
  515. ; to On can assist in debugging and is appropriate for development servers. It should" J& c8 {* q0 x6 x' k
  516. ; however be disabled on production servers.
    + K1 K* ]) }4 m4 I( X3 }# `
  517. ; Default Value: Off
    $ y1 }7 S6 V+ z
  518. ; Development Value: On
    ' M% j: ?" K8 P1 c- u6 m
  519. ; Production Value: Off: T: n+ ~+ @( G( ?
  520. ; http://php.net/track-errors1 D  o5 }/ m, [
  521. track_errors = Off7 X- Z3 A: W, {) h' w
  522.   A2 H. ^9 ]% ]4 h+ w
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    1 U. f' f/ ^- G! m. K
  524. ; http://php.net/xmlrpc-errors, d# {! a( E4 a. o/ i' ~
  525. ;xmlrpc_errors = 0  a4 u# {+ {* p  w; p
  526. ; |' G: r) w& k" \8 R$ S, M
  527. ; An XML-RPC faultCode
    8 g2 G2 [5 E. R4 n' @  y0 ?
  528. ;xmlrpc_error_number = 05 _: U+ W% F4 X
  529. $ o6 h5 |3 _8 Q! {
  530. ; When PHP displays or logs an error, it has the capability of formatting the% K. m$ r2 N% C( V: ^8 O& Y! m% ]  T
  531. ; error message as HTML for easier reading. This directive controls whether
    $ ], ^8 ?( L5 H% H& A0 C
  532. ; the error message is formatted as HTML or not.3 z" P4 T! L2 a& d- x6 J1 A
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    6 w& G. o5 W& Z! l' `
  534. ; Default Value: On9 z3 P# C7 B! ^. X1 \) w8 c
  535. ; Development Value: On* F1 ?. U- L' U  E9 d
  536. ; Production value: On. u" \7 V0 e- T) g
  537. ; http://php.net/html-errors4 {4 M8 l+ [$ {8 H
  538. html_errors = On
    $ e+ g- A3 n+ L" p& m

  539. 6 S! s1 y5 Z9 }0 N! j0 V4 T
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    : m4 q% F4 ^+ z
  541. ; produces clickable error messages that direct to a page describing the error
    ( S; u  P8 y  q& [6 f' I
  542. ; or function causing the error in detail.
    1 k( U3 F- n3 [. A; j. ^4 ]
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    4 x. |7 z" D. e7 d% l/ V
  544. ; and change docref_root to the base URL of your local copy including the
    4 D' a% b7 ~& e& Q& _
  545. ; leading '/'. You must also specify the file extension being used including
    ( m" L6 g- {6 k( h6 U$ z  |
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    + P; U! u1 K6 H0 P2 U; H4 k/ M
  547. ; case no links to documentation are generated.8 s( b% }% Q% B. R/ n4 [. ]
  548. ; Note: Never use this feature for production boxes.
    " K* P! h1 \- I( R1 o9 C' Z
  549. ; http://php.net/docref-root
    * Q/ ~! x' V/ j: Z3 x/ K9 }
  550. ; Examples- l  z8 g$ a+ D' g! a
  551. ;docref_root = "/phpmanual/"
    9 `$ e3 U' t7 v6 e
  552. : J( v7 z1 U  S- E
  553. ; http://php.net/docref-ext7 a4 n1 U4 ?4 D, N+ l
  554. ;docref_ext = .html# Z3 H* K/ c4 p, z, R

  555. 4 h! w- w+ g8 v- U; I, C. E+ y
  556. ; String to output before an error message. PHP's default behavior is to leave9 |( M4 Q; m! o& T
  557. ; this setting blank.
    3 Q4 P* F2 _7 ]4 ?
  558. ; http://php.net/error-prepend-string
    5 T# o. s% A6 Y" ?6 `, E! R; E
  559. ; Example:
    6 L; Q8 E+ d( D$ Y3 l
  560. ;error_prepend_string = "<span style='color: #ff0000'>"9 t& |# I1 T" D  x* K( C; j$ @2 v
  561. . ]5 b! p$ \/ R$ Z
  562. ; String to output after an error message. PHP's default behavior is to leave& l6 @. f7 N4 H9 p; d, h
  563. ; this setting blank.
    # r( D. l3 i0 y: M
  564. ; http://php.net/error-append-string
    2 H+ P5 o2 U3 v8 l
  565. ; Example:- U, v! N3 Y, B$ C$ \
  566. ;error_append_string = "</span>"
    ) {7 }+ F" i$ w
  567. + f1 O- ?4 k6 Y# n9 K+ \
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    # g6 ?/ `" [7 E( \3 n1 K" |
  569. ; empty.9 o# @+ b6 G( c9 P3 U6 f/ W% R
  570. ; http://php.net/error-log# Z- K* w  b4 F: g. W
  571. ; Example:. [2 J: i$ \; x5 L7 h# M
  572. ;error_log = php_errors.log
    * h. j4 ]6 t! X, \# @) S0 Y0 S
  573. ; Log errors to syslog (Event Log on Windows).
    2 t$ C0 E/ I5 {0 r6 X! {! l+ ?
  574. ;error_log = syslog6 R- x3 `, n" S- w& K
  575. & n& \. [+ a& M5 Q# e
  576. ;windows.show_crt_warning! z7 b  c5 v$ q6 ~
  577. ; Default value: 0
    - z6 J% n5 b. C8 u
  578. ; Development value: 0
    # S1 n' k. Z8 e5 d
  579. ; Production value: 0
    2 {- q0 @$ w" h7 C! o
  580. 6 r' `5 n7 h6 A# p- g8 l$ J
  581. ;;;;;;;;;;;;;;;;;. v+ ^5 b+ w, v1 _) ^
  582. ; Data Handling ;# X$ y; O4 I9 W; T2 S
  583. ;;;;;;;;;;;;;;;;;5 M+ a! L3 E2 q/ Y5 ?

  584. ) ^1 `  h) @% i! M
  585. ; The separator used in PHP generated URLs to separate arguments.
    % O6 `; e6 w9 [( D) T3 O
  586. ; PHP's default setting is "&".
    6 t; \% T+ _+ H6 F4 W5 U
  587. ; http://php.net/arg-separator.output
    5 y. R) ^1 ?0 f' t
  588. ; Example:3 r1 K! R/ D4 z2 @
  589. ;arg_separator.output = "&amp;"
    2 n1 V7 f0 y7 V' P, Z

  590. 5 X6 O2 t- a& O3 j
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    . L& u: I+ h1 V. H, D- W
  592. ; PHP's default setting is "&".
    % s& O8 \$ W8 Z4 w  Q
  593. ; NOTE: Every character in this directive is considered as separator!- ?" R( k3 v$ V( [( k0 j
  594. ; http://php.net/arg-separator.input
    5 f. N) ~% _8 m2 B4 f
  595. ; Example:
    4 j$ c0 s$ W5 U& D) {
  596. ;arg_separator.input = ";&"
    1 I# K- F# y2 S8 N5 }  ]# b
  597. 1 A; W; \1 H! \! I- a: Q
  598. ; This directive determines which super global arrays are registered when PHP, N# o; B7 {" z& [  l
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    6 {4 Z$ F* c5 S1 ?" w8 ^( q
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    / G; c7 k) V* d7 [; r
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    9 w4 i1 f# `0 X9 m+ q: x( B
  602. ; used as the others, ENV is not recommended on productions servers. You
      s8 j- g, o( w" o5 C
  603. ; can still get access to the environment variables through getenv() should you
    ; G3 D3 k0 t& _# x* r( P8 F8 R1 s
  604. ; need to.
    3 }: [3 m& m, x6 t6 D
  605. ; Default Value: "EGPCS", R  T9 M# Z0 n* J/ ?" {
  606. ; Development Value: "GPCS"6 K0 j% @! f; @9 \( s: _
  607. ; Production Value: "GPCS";$ c2 I: s# j: U+ L* s
  608. ; http://php.net/variables-order
      E# H  g4 k4 j) R
  609. variables_order = "GPCS"
    0 p  z0 Q3 y- P8 Z' |- l3 I

  610. 6 A7 W7 l: ?' h+ j
  611. ; This directive determines which super global data (G,P & C) should be4 K+ r- k9 m+ R% k# D5 c2 E
  612. ; registered into the super global array REQUEST. If so, it also determines8 v! |4 _" ?; [7 c" }( Y6 b6 Q* N
  613. ; the order in which that data is registered. The values for this directive% H9 I1 [+ g+ m3 u
  614. ; are specified in the same manner as the variables_order directive,
    1 b% X" r( e9 F
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set- J- e6 ~4 i2 D3 c% E6 K0 h
  616. ; in the variables_order directive. It does not mean it will leave the super7 e' J' h1 u9 ]* g
  617. ; globals array REQUEST empty.
      u& d/ e, S2 S8 c
  618. ; Default Value: None/ J2 O7 J3 l5 |  b
  619. ; Development Value: "GP"
    , P7 N' Y: \" k' J8 `1 K
  620. ; Production Value: "GP". M1 t0 `; q1 [. b3 Q
  621. ; http://php.net/request-order* @% u) D0 z: S4 \! B2 ]. I7 c
  622. request_order = "GP"3 l9 s' q6 D. v- i9 c
  623. + x4 r  z  V  k" N: @, s% J
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    2 I4 q+ g3 U: D& @( w
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script" H' k9 _4 x9 K: O5 v2 N3 F
  626. ; is invoked. $argc contains an integer representing the number of arguments
    7 S0 @. @/ |6 E2 F2 j
  627. ; that were passed when the script was invoked. These arrays are extremely
    4 h" H( }$ Z! e$ _7 z
  628. ; useful when running scripts from the command line. When this directive is/ ^- p7 M) q; h" i/ _: a
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    # {3 Y( w5 m' Y( F  H& n
  630. ; a script is executed. For performance reasons, this feature should be disabled8 ~) o2 v' T0 z% S
  631. ; on production servers.$ |  H& Y9 c' Q) \) g2 p+ n
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    + h3 W. [! x/ J6 W0 ^% y. o& f
  633. ; Default Value: On
    5 g' w- G# G" Z
  634. ; Development Value: Off
    0 u3 @" o5 J" Y& c9 Q" b
  635. ; Production Value: Off- `7 s; `7 ~* f3 Y6 w/ w8 W' G& W# E
  636. ; http://php.net/register-argc-argv9 ]1 p0 a; s* n8 e/ m( Q
  637. register_argc_argv = Off1 ^* S- I* C# n3 f5 X7 j) M. {
  638. $ D6 w5 A. I1 {: U+ ~
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    1 r7 F) k$ k. Z- q' F+ @
  640. ; first used (Just In Time) instead of when the script starts. If these
    1 q: I+ q9 _# s2 }+ ^. C* l1 w
  641. ; variables are not used within a script, having this directive on will result7 x% Q! F5 t* c# ~
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled# W4 e. |  `% V: ^/ t5 y, ?
  643. ; for this directive to have any affect.: n7 F" G/ u2 a* U" g$ a
  644. ; http://php.net/auto-globals-jit- @. i( J# w; ]
  645. auto_globals_jit = On
    ) G5 N; ?, b2 h0 ^9 t: d3 Q
  646. % R  [- y5 D! o/ e6 L! |* E$ j
  647. ; Whether PHP will read the POST data.0 m3 |' w5 @: a
  648. ; This option is enabled by default.
    4 ], M& Q$ _# U8 J3 F( o
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST! O. D4 W* t  }* ?0 j( r& ^" p
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    1 M( Q' c4 v6 v2 X; ^6 D+ \
  651. ; POST data will be through the php://input stream wrapper. This can be useful& p! L) A5 C" `  o8 _3 F; K
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.$ @' |9 n, l- e3 M% ?( I! w* E( [
  653. ; http://php.net/enable-post-data-reading
    1 h( T* U" J4 j% _0 s, o) y
  654. ;enable_post_data_reading = Off8 ~& n' y* G" K0 s- G3 D. e# {

  655. 1 ?8 d) n5 W- ~; ]) v4 x/ Q
  656. ; Maximum size of POST data that PHP will accept.' ?) F8 h( s7 E7 c  S, t" d
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading9 j+ o) n, ^9 Y5 ~$ O- \
  658. ; is disabled through enable_post_data_reading.
    7 a+ n3 w8 q6 x4 \! b- c2 @! {' W' W
  659. ; http://php.net/post-max-size
    " I; o- {0 u+ M& \8 l
  660. post_max_size = 50M
    % v/ W: L! y; T* f( g8 y/ _

  661. # @- m: `3 h( g6 n
  662. ; Automatically add files before PHP document.
    / `' |1 ?- ?6 P; @7 z
  663. ; http://php.net/auto-prepend-file" m3 h+ ]) @6 _5 _0 a' f) o+ `
  664. auto_prepend_file =
    % j6 x4 ]! Z" Z( M: o4 o9 E

  665. % \4 J$ L8 c0 Q# X
  666. ; Automatically add files after PHP document.' E7 ~  w' p' U2 M
  667. ; http://php.net/auto-append-file6 U( D' X7 ?6 I
  668. auto_append_file =
    % O9 S' x) K8 r& q

  669. 0 ^$ g. l2 }5 G: Q  q2 W
  670. ; By default, PHP will output a media type using the Content-Type header. To! Y/ ^9 J# I! |& x/ b
  671. ; disable this, simply set it to be empty.4 D0 c$ j$ Y  |7 I
  672. ;
    4 s( }4 k3 F9 p) {
  673. ; PHP's built-in default media type is set to text/html.
    8 X7 R! Q/ w9 H7 D2 F+ j
  674. ; http://php.net/default-mimetype
    ! s/ I1 k3 M: y& S  L
  675. default_mimetype = "text/html"% E" r6 G4 E1 i/ r
  676. 8 D; y! _' g. T% Y3 y1 g1 t  q9 O0 D
  677. ; PHP's default character set is set to UTF-8.
    & s7 R+ [. u2 M8 M" t! M) z
  678. ; http://php.net/default-charset
    4 u0 n6 s" m% q
  679. default_charset = "UTF-8") {) J9 J6 l5 y. r. W) }. I$ r' [9 h
  680. ; H7 W% O6 h  s- v2 v
  681. ; PHP internal character encoding is set to empty.
    " k: A6 r4 z& ]$ [9 n+ H
  682. ; If empty, default_charset is used.
    : x, U; \9 S' }  T# w
  683. ; http://php.net/internal-encoding: P+ l, L5 |3 {
  684. ;internal_encoding =
    : ~4 H+ u: }3 m6 \+ R" S$ i8 ?( T2 e

  685. * l2 P/ i: \1 v4 U( C
  686. ; PHP input character encoding is set to empty.6 J! k1 I" `9 |# r) A
  687. ; If empty, default_charset is used.: a0 [8 ]& G6 X: {4 }7 `; t# |6 f
  688. ; http://php.net/input-encoding
    9 o; z' W% y: ]* z
  689. ;input_encoding =0 I" e# j7 [( j8 X+ H
  690. - \, m4 C. I: n" f" p8 e; L
  691. ; PHP output character encoding is set to empty.
    ; u( \. r2 O  j' Y9 f- J
  692. ; If empty, default_charset is used.: K, |0 _9 L& \( X$ `
  693. ; See also output_buffer.
    6 a1 r# w1 A" ]2 l+ G
  694. ; http://php.net/output-encoding/ g: f: k, X1 {" R  P
  695. ;output_encoding =; i7 V2 |2 y; \" @
  696. 0 g; ]" A1 a1 v7 B. S: }4 G9 R
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is+ l! g2 l/ z7 a4 q1 }& l
  698. ; to disable this feature and it will be removed in a future version.
      V. i4 d( A. C$ d% c/ W$ y3 S
  699. ; If post reading is disabled through enable_post_data_reading,& q  r# t3 ~9 T7 e' I1 `
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    # g( {- S6 j* R! w- i
  701. ; http://php.net/always-populate-raw-post-data
    / ?9 w- ~% v+ Z: [3 }+ @' l
  702. ;always_populate_raw_post_data = -17 l6 c- L1 G' A
  703. ' ]7 V6 f& M: U- p, ^
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;8 S: o7 H+ [# \: q6 t, b5 g
  705. ; Paths and Directories ;
    2 k# P' @% }6 ]" ]) X
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ) c. u' m# A2 ?$ u3 T/ D6 x

  707. * Q5 Y9 v9 H4 [, @; Y
  708. ; UNIX: "/path1:/path2"* Q! L  r" m/ w6 x. n  c( r
  709. ;include_path = ".:/php/includes"7 ^( b+ N6 P- `" I& k+ k& f
  710. ;
    , I  h! O- |* k7 o+ {
  711. ; Windows: "\path1;\path2"
    ; o9 j4 S& i4 s9 t+ C+ d, y# _  [
  712. ;include_path = ".;c:\php\includes"
    ) E. ?" M9 K3 b, u, x0 L
  713. ;$ W4 P* y2 }7 w) d. U
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    / I1 Z- p7 p  s# l
  715. ; http://php.net/include-path1 z3 B2 m3 ~5 P+ Q1 F* k& z

  716. 0 Y, a6 @* c% }0 e/ Z$ w% [# y& C
  717. ; The root of the PHP pages, used only if nonempty.
      ^. c$ w1 }0 l! Y4 M. D
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root2 w* o9 e5 o4 X. e: ?
  719. ; if you are running php as a CGI under any web server (other than IIS): m0 v: t! S9 S  P& q
  720. ; see documentation for security issues.  The alternate is to use the* z9 N% |; s: u8 R! ?: [9 ?
  721. ; cgi.force_redirect configuration below
    ; e% J4 N' v) ?
  722. ; http://php.net/doc-root$ o, a8 Y7 c& F8 R. ?
  723. doc_root =8 ~, V# b, q& s

  724. ( [* [1 A& `0 w, o# h2 E3 g' b4 L
  725. ; The directory under which PHP opens the script using /~username used only# U& V/ g2 y/ p0 _
  726. ; if nonempty.
    ; _1 p, ^. [  }2 N" T* C
  727. ; http://php.net/user-dir8 N; N3 d9 e  F4 B" K5 Z
  728. user_dir =
    0 S3 c6 ?& q- F( H" t: p9 a- J, M% n2 x
  729. 2 v- r  u8 w* r: Q8 N% r, Z
  730. ; Directory in which the loadable extensions (modules) reside.* W# a; D+ [/ ]
  731. ; http://php.net/extension-dir" l! u: m1 u: G" O6 i; h
  732. ; extension_dir = "./"
      E8 M( o$ n+ W/ j- J
  733. ; On windows:# G2 _5 _- r) F' ^; u$ c
  734. ; extension_dir = "ext": z3 Q. G' b8 f4 Z

  735. # w" b( |0 H& F- ~
  736. ; Directory where the temporary files should be placed.; I# v1 T8 `( v- D9 c
  737. ; Defaults to the system default (see sys_get_temp_dir)3 S4 r5 V2 Q; L$ Y
  738. ; sys_temp_dir = "/tmp"0 x1 u3 a' T3 e* t4 M
  739. % U/ z! [/ |( h5 v3 o
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work8 t2 _3 z7 T, h' j' k8 f
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    % d8 |+ I7 p% [" X! j. @. y
  742. ; disabled on them.
    1 s+ q4 J; M* ~8 Y2 q1 T
  743. ; http://php.net/enable-dl
    . G6 i7 l. w( O0 ]2 s
  744. enable_dl = Off
    " V) f; F3 I- Y! M- o
  745. % R. y% Q9 u4 f0 G3 S
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under- T3 j/ _+ I/ l/ L% [6 h9 H! f
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can2 t0 `0 p0 D( W7 Q4 ?+ L
  748. ; turn it off here AT YOUR OWN RISK
    " U8 c5 N6 h- L9 W* f
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    * c& R' Y% J2 U& _; Q- N& |
  750. ; http://php.net/cgi.force-redirect( p( p# T- b2 E# v" G
  751. ;cgi.force_redirect = 1$ E3 f6 E- x0 V- q

  752. , m; q  P/ X5 M0 o2 R8 N
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with& ^$ Y6 T2 f8 k  {% X% |$ w
  754. ; every request. PHP's default behavior is to disable this feature.1 X# f1 u/ V8 z1 B/ p
  755. ;cgi.nph = 1
    - t* `6 ?# t: x! ~' ~+ }8 g9 O" C

  756. ' n: K! u4 c+ i  t3 d
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape3 r1 A3 V/ F! S! F1 S6 {
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    8 d) @( k9 n3 h5 `8 g0 N% [
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY1 H2 X/ `3 u7 j7 |" M. t
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.$ I  j$ E, }# B  U
  761. ; http://php.net/cgi.redirect-status-env
    2 E0 b. H: U" K4 [, e
  762. ;cgi.redirect_status_env =, O" u  K4 L3 R% p/ O1 D$ c
  763. 6 B  ]8 d( f& _; D  A
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ' e* y4 e9 N& P4 R) P6 A! x
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok2 y* y9 u" n- A5 P$ @" n0 H
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    5 w- |; J3 t! }+ @4 s5 s- [2 |
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    / ]0 D% l  S( z; K3 F8 M" t
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts9 _" M9 r$ `0 y" Z; w
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.: D* e4 }. r+ i7 e. }% }
  770. ; http://php.net/cgi.fix-pathinfo
    : o( ~, ~# w6 ?5 e* t. O
  771. cgi.fix_pathinfo=1
    - h: P- D. r8 ^& R
  772. 0 B$ E5 c+ `9 G$ m
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    7 h4 r4 g) }% [3 `4 C( I% D' Q) v( o
  774. ; of the web tree and people will not be able to circumvent .htaccess security.+ n2 h  z, m0 m9 j9 Y
  775. ; http://php.net/cgi.dicard-path1 _. Q" J0 k+ f  Y
  776. ;cgi.discard_path=1
    ( S% R. ?9 v( o/ f

  777. 3 u5 c3 o) e4 h/ @6 `$ \- u4 q' l
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate; N  L5 C) |/ P6 K1 k
  779. ; security tokens of the calling client.  This allows IIS to define the
    9 ~6 B# d' K& Q, z# u) X
  780. ; security context that the request runs under.  mod_fastcgi under Apache# S0 T( J% u) H9 C0 ^, \& N, U
  781. ; does not currently support this feature (03/17/2002)9 |8 f5 c  L) W5 V% F* P
  782. ; Set to 1 if running under IIS.  Default is zero.! s4 [& w& _/ h  }$ P, }# {
  783. ; http://php.net/fastcgi.impersonate# H+ Q( }/ g) R  U
  784. ;fastcgi.impersonate = 1
    ( A* g  B6 s" ]9 P" t" I: q1 v9 z! t

  785. $ _' X! d7 o1 k/ |4 ^
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable1 b6 w. J  M1 V% }" n6 }* l7 q0 j
  787. ; this feature.
    1 k4 Z! X& {- J! v) \6 i9 |
  788. ;fastcgi.logging = 0' `# c. `( c+ [9 U. Z

  789. ) d- u+ C5 `$ L. j0 K
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to. L  r$ }# h. f- b* e9 y* k
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that8 G: B' P- T2 @8 p0 M/ u
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    ! n) S# o5 K& k6 p
  793. ; RFC2616 compliant header.
    1 M7 A* D, R( {& v
  794. ; Default is zero.
    : q9 K% M% }0 y* w, j
  795. ; http://php.net/cgi.rfc2616-headers& l+ P) C4 z8 D/ t( a( M
  796. ;cgi.rfc2616_headers = 0% x6 O; f" D, v5 q: m3 o
  797. " {( C4 n7 V2 l4 K1 w
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!, s# C% C/ \5 H
  799. ; (shebang) at the top of the running script. This line might be needed if the
    * P+ ~) ?8 p1 r  M8 R) M/ }
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI# T9 t  G& H' ~
  801. ; mode skips this line and ignores its content if this directive is turned on.- `- b3 \7 t* U; O
  802. ; http://php.net/cgi.check-shebang-line
    + ^6 t, o9 b2 A2 e5 ]# g" O/ m. q
  803. ;cgi.check_shebang_line=1/ v, U% W; M" S% p0 p, @
  804. 1 A8 B% ^2 }2 H8 ]  I3 r
  805. ;;;;;;;;;;;;;;;;
    ( x7 ~& {4 h5 @$ V+ g) R
  806. ; File Uploads ;
    1 o1 _- b1 c+ C8 j
  807. ;;;;;;;;;;;;;;;;9 z& P# I3 O* W
  808.   S/ m" h0 W4 a' l8 l1 }
  809. ; Whether to allow HTTP file uploads.
    1 ?6 q! d# ], C. K5 x8 C% @! \6 u
  810. ; http://php.net/file-uploads' u3 x, u) u) u9 o: c/ \1 q  ?
  811. file_uploads = On, T3 i$ U+ F1 h( R# B

  812. $ a% {% }" d& H) k+ N# \4 [
  813. ; Temporary directory for HTTP uploaded files (will use system default if not* z8 p$ ^7 P6 J9 K* t7 `
  814. ; specified)./ c5 r+ r# X" R% N! Z0 r
  815. ; http://php.net/upload-tmp-dir
    # v/ B3 n' Y9 t! @8 g+ q" X- ?
  816. ;upload_tmp_dir =2 |1 l- ~" I0 ~/ d
  817. / q/ U9 A  S/ j
  818. ; Maximum allowed size for uploaded files.
    4 e) V' w% J2 f' A% |
  819. ; http://php.net/upload-max-filesize8 C: v; R6 V! d% w! X$ G
  820. upload_max_filesize = 50M
    # _- R: Q! j0 z' U2 b- K- D' G0 j

  821. * g2 R% e# I# L% b  m: j  n
  822. ; Maximum number of files that can be uploaded via a single request% }! j7 r* `' W! l& c
  823. max_file_uploads = 20
    - C' ~* m9 |, S( E& @& c- V1 D6 U

  824. : g) Z8 C& l. ]# ]
  825. ;;;;;;;;;;;;;;;;;;
    . J$ U; F# B0 }: @( N6 n* o
  826. ; Fopen wrappers ;3 @  b7 k  [" e4 K; v8 [/ M
  827. ;;;;;;;;;;;;;;;;;;$ k& N) ~3 A$ l% T# @3 M
  828. $ e( ^$ b4 y: _% R& F
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    6 L+ L! m( h% Y( t* y0 a
  830. ; http://php.net/allow-url-fopen
    , I) o, i; `" }; J) H, \/ H2 x
  831. allow_url_fopen = On
    + U! x% o- z3 h, x/ g( R1 ]* J1 N+ G% Q1 G

  832. " G8 \: N% S% N! J
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    5 J$ E" t8 G; }3 i% @/ J2 c
  834. ; http://php.net/allow-url-include
    , X3 w4 d, F/ t3 Q5 l/ K" c0 |
  835. allow_url_include = Off: z8 M( Y& ~$ b- @
  836. % P$ v" R5 E% F$ ~8 @. l
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
      }0 l$ A' {9 ?: ]2 ~- {8 T
  838. ; for this is empty.6 F$ _. _/ i1 y! q
  839. ; http://php.net/from
    9 c2 o1 _" J. K* u  k
  840. ;from="john@doe.com"
    * T. i. @' q; W% @4 ~( N

  841. ; T$ ]0 n3 C7 d  Z3 `
  842. ; Define the User-Agent string. PHP's default setting for this is empty.. R8 F; a( x) Z! I
  843. ; http://php.net/user-agent
    6 e9 Y& F& p% ^& [5 w6 i
  844. ;user_agent="PHP"
    5 x# c* l3 I) S' `8 K4 G
  845. ( H' E) `0 {# a: K8 t$ o5 g
  846. ; Default timeout for socket based streams (seconds). i4 J3 ]8 g' c6 Y( _8 F0 P2 s
  847. ; http://php.net/default-socket-timeout# Z0 u% A% ?8 v
  848. default_socket_timeout = 60
    ' g& ]9 G9 S# r3 v" @2 s" y
  849. 0 O0 F5 _! W: s# b; \% w9 }: ?% ^
  850. ; If your scripts have to deal with files from Macintosh systems,
    + c" a1 W* F7 P3 p1 {9 X: o! V& p
  851. ; or you are running on a Mac and need to deal with files from
    ! b6 h" \$ s3 d/ R, S. D
  852. ; unix or win32 systems, setting this flag will cause PHP to
      u2 k+ n9 \/ q/ O9 V2 Z/ S
  853. ; automatically detect the EOL character in those files so that
    6 Y  B0 D" c/ B
  854. ; fgets() and file() will work regardless of the source of the file.7 z! {/ d+ x  J8 @; y
  855. ; http://php.net/auto-detect-line-endings4 f6 P, f4 F/ Q$ a. o" O
  856. ;auto_detect_line_endings = Off
    ; ^. n; D6 z3 r" x" E

  857. # }$ N& @! j: d* {0 n
  858. ;;;;;;;;;;;;;;;;;;;;;;
    + l; j" r) t( f
  859. ; Dynamic Extensions ;
    + T! e* a: o2 t& v. q. a
  860. ;;;;;;;;;;;;;;;;;;;;;;. ?7 J6 L5 i0 N$ U  Q' u4 M( q1 i
  861. " u- I- U4 F/ `
  862. ; If you wish to have an extension loaded automatically, use the following1 o9 O$ v; B2 ^% V( c" K* C
  863. ; syntax:
    8 @) H- Z  R7 U
  864. ;
    # U6 J" q3 l: @; W! ]: \: l5 \
  865. ;   extension=modulename.extension5 g: s$ f, `! g( ~0 `8 k2 n# h5 A
  866. ;
    & @4 l0 [6 Q4 d/ a; S
  867. ; For example, on Windows:0 J" ^, T3 z; u4 ~( q3 N$ h& l8 G
  868. ;& [7 u1 c* u% i3 I1 v, |
  869. ;   extension=msql.dll6 D& o) Z4 W% ]) F
  870. ;" I  D9 ]5 ^: h" G, o1 d
  871. ; ... or under UNIX:  a. z4 A- L9 d3 u7 S1 a6 Q/ T
  872. ;
    ! u/ U8 Z2 H! U
  873. ;   extension=msql.so! W' E- U, F, R) P, V
  874. ;% ]1 b& y& B$ W) I4 ?
  875. ; ... or with a path:9 f8 H7 e2 O8 A+ t7 N! i
  876. ;
    * @; }8 U$ l) J0 ]5 B
  877. ;   extension=/path/to/extension/msql.so) N: ]( B5 s# Z
  878. ;
    3 V" l  s3 u6 o4 e
  879. ; If you only provide the name of the extension, PHP will look for it in its; v- V! Y7 m* p4 j0 C
  880. ; default extension directory.
    7 S! v1 E) m  p7 d$ t' i! O
  881. ;
    ' ~8 h1 E. ]+ s0 U. d6 D# y
  882. ; Windows Extensions* Z3 \* T$ a; E+ y# \7 ]
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ( \% Z2 J& r7 I, t
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    0 ^4 _+ {- B& L  v# F& @
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    $ y% |' r# `# e% i1 f. Z) e
  886. ; Be sure to appropriately set the extension_dir directive.
    : ?' A+ @2 S, |; u/ j& S: x' e
  887. ;7 q: n/ V8 v4 X3 U* {/ C, y
  888. ;extension=php_bz2.dll4 y! v% G+ N) t
  889. ;extension=php_curl.dll1 y' v! Z. w& Y$ p6 K4 K2 d
  890. ;extension=php_fileinfo.dll
    , a* o& W" z5 R) [/ m9 q
  891. ;extension=php_gd2.dll
    + l3 q/ T' a2 c7 J& Q
  892. ;extension=php_gettext.dll
    : e8 b4 w, d# _2 `
  893. ;extension=php_gmp.dll
    + i' D% x' F: s% p: Z, \+ q; B. I; ~$ _
  894. ;extension=php_intl.dll0 U. U6 z4 u' O$ a+ r2 |
  895. ;extension=php_imap.dll
    / d8 d3 Y; ?& u4 x* r
  896. ;extension=php_interbase.dll
    3 t* I: W6 ]- U% t2 O7 a
  897. ;extension=php_ldap.dll; ]' A* m7 D# O% o
  898. ;extension=php_mbstring.dll5 R8 t9 U/ S6 C* u' x8 V
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    . ^! [7 s; r# o- R% o
  900. ;extension=php_mysql.dll* F$ e2 y) R' l# P+ T
  901. ;extension=php_mysqli.dll1 J- D/ [8 T4 \/ e
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    8 ?) ]) _" |) t* \& ?+ B1 V
  903. ;extension=php_openssl.dll
    ! o0 C9 \# \0 a' n
  904. ;extension=php_pdo_firebird.dll
    . c) D  S2 |% w, m' E! o
  905. ;extension=php_pdo_mysql.dll3 J: ^: Z3 P( Y3 A  z
  906. ;extension=php_pdo_oci.dll
    ; ~0 f% D! x, n
  907. ;extension=php_pdo_odbc.dll
    7 G+ m2 [8 ~7 W* ^" ~
  908. ;extension=php_pdo_pgsql.dll' r, a) h% Y0 B- S
  909. ;extension=php_pdo_sqlite.dll
    6 Q- Y& q& q3 ?5 l; v
  910. ;extension=php_pgsql.dll' t5 b, q% Z% O- f4 h' t' t
  911. ;extension=php_shmop.dll) J8 q; {! P4 I- [, W: `

  912. , h% c" h! d( {5 i# }# V
  913. ; The MIBS data available in the PHP distribution must be installed.
    0 d2 m, {$ |* L
  914. ; See http://www.php.net/manual/en/snmp.installation.php / n  V& P/ \' a9 s2 K  E
  915. ;extension=php_snmp.dll
    1 q+ K: G7 Y! x" D9 f7 q. O
  916. 6 M7 f. R- P* i) e
  917. ;extension=php_soap.dll
    6 [; O: y, ^" H* G1 l/ F/ T! q
  918. ;extension=php_sockets.dll
    8 r. {, m1 o* C1 g$ _2 F
  919. ;extension=php_sqlite3.dll8 Y% Y7 f# p4 |. F/ I$ C2 v6 D
  920. ;extension=php_sybase_ct.dll
    * }" p# W4 \$ _/ R. Z" _( [
  921. ;extension=php_tidy.dll" z& k* o' u+ Z/ Y, \! y
  922. ;extension=php_xmlrpc.dll
    $ F+ I$ B8 v  `7 Q7 X, K
  923. ;extension=php_xsl.dll
    % @" L0 o! {2 }& H9 W

  924. 7 ]9 {6 x5 a6 H9 z, M
  925. ;;;;;;;;;;;;;;;;;;;
    . y0 P0 v' y' \  S
  926. ; Module Settings ;
    ( n9 @! T) N: y
  927. ;;;;;;;;;;;;;;;;;;;' d% J4 o8 {' {! k- S& x$ ^: o
  928. 6 d8 z) W  W5 S; n
  929. [CLI Server]
    6 L! H, d! g$ v6 u. f
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.3 ^' o. V$ r' p' \
  931. cli_server.color = On
    0 X; l  I8 H% \0 W) }# z/ }
  932. % ^; B1 U9 Q" P) ~6 L+ _) i
  933. [Date]4 o9 Y+ q: o# t2 U9 l
  934. ; Defines the default timezone used by the date functions+ D8 m/ C2 Z. A
  935. ; http://php.net/date.timezone  T- ]8 n9 r* I' z. g
  936. date.timezone = PRC
    4 h6 w3 p; a& ]: O. I' O. g% z
  937. ( _- _, G2 X% x$ z$ B$ @) c
  938. ; http://php.net/date.default-latitude
    6 A2 o2 V' V/ {
  939. ;date.default_latitude = 31.76674 u' {& R( P$ R5 a5 c
  940. 2 \  d) }# a: \# ]5 U
  941. ; http://php.net/date.default-longitude4 |5 `5 C6 O# g, M9 G$ j* d9 {/ c, s
  942. ;date.default_longitude = 35.2333
    4 O4 u8 U4 b- p# W

  943. * [& _& N& U" H4 n+ Z
  944. ; http://php.net/date.sunrise-zenith1 f+ W( @" l5 X: A
  945. ;date.sunrise_zenith = 90.583333
      Q" D4 B4 t  s/ d9 A* ~
  946.   J: ?  F: O* @9 D0 s/ f
  947. ; http://php.net/date.sunset-zenith  _* k$ M6 i& e9 @
  948. ;date.sunset_zenith = 90.583333* j. M! X" I+ S/ e

  949. - v1 t; H% H) v' V0 j0 k
  950. [filter]
    1 G: A  X9 J4 _! N8 ]7 C3 z$ }
  951. ; http://php.net/filter.default
      W* V) |4 Z+ [
  952. ;filter.default = unsafe_raw; }9 q% D* h# d

  953. ) h+ J+ [2 \- p: V  m
  954. ; http://php.net/filter.default-flags+ k, G, L( ?) i( F. k4 }$ E5 G
  955. ;filter.default_flags =2 A- W3 |' m+ E# F$ s8 }/ v' n

  956. / P( w  y$ w- g1 E, z
  957. [iconv]
    , y9 E! j7 ^: a  W( C# A9 g2 s
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ; s) T) T, w0 Q+ H7 z8 ^
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.( G; Q0 ?" _$ x; ^0 s0 h
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
      W+ c0 q- r- Y( ]( C) E
  961. ;iconv.input_encoding =" q0 \3 t' G. m  I
  962. 3 S8 X8 P3 Y$ f; f+ _# f: D
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    - h. a2 u( X2 `: r+ K* W5 o
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.! E& o. r3 l- u4 d& j- h  ~
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    $ ~4 c3 D5 @* n6 W5 l. P
  966. ;iconv.internal_encoding =" A) q* C9 u1 k. s/ A
  967. ( u$ R+ E* U  [3 ^) M+ r9 Q0 k! g' R  c7 ~
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.2 y7 _: h8 l0 a! @3 Q
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    2 y/ k% H) u* y
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    0 C  `" L2 l$ \+ P( J" R
  971. ; To use an output encoding conversion, iconv's output handler must be set! j' g& ]# ?  |" Q% r  `
  972. ; otherwise output encoding conversion cannot be performed.; Z# @5 }4 @. s: j/ D) l
  973. ;iconv.output_encoding =
    % H/ s" `6 I2 Q5 [
  974. + L% ~. |# s! R+ D
  975. [intl]4 u) s! E& b3 N. R$ b6 {, B
  976. ;intl.default_locale =9 @4 @+ t8 {. y
  977. ; This directive allows you to produce PHP errors when some error* c) t+ {4 T0 @8 R  h. b# m
  978. ; happens within intl functions. The value is the level of the error produced./ v) W/ R3 ]' i6 p: l$ \4 z
  979. ; Default is 0, which does not produce any errors.
    ) K  i6 M' g, \* A4 h7 T
  980. ;intl.error_level = E_WARNING
    : }3 P# s9 q5 S8 t8 m
  981. ;intl.use_exceptions = 0; k3 j2 S, t1 z  Q8 r0 Z  R; f! G8 [

  982. / T. p( J# U) ~9 m; `$ c* D- O5 P9 P8 R
  983. [sqlite3]! N' [, [; r8 M/ L' B# \
  984. ;sqlite3.extension_dir =% E$ u$ t( `/ M5 t  X
  985. 5 t" e3 g9 s: ]. s# W" `* B+ K
  986. [Pcre]
      s: h( j! [8 O, H; k* o
  987. ;PCRE library backtracking limit.
      w6 v# n' v5 N% g/ A0 r. D/ J
  988. ; http://php.net/pcre.backtrack-limit$ ^6 S% \( Q! @/ j  Y
  989. ;pcre.backtrack_limit=100000" L8 _3 f8 i1 s& u2 z$ i

  990. # z& i8 S9 q( q8 ~. [" x
  991. ;PCRE library recursion limit./ ]+ o3 h7 q% {' x  N7 Y) q6 u
  992. ;Please note that if you set this value to a high number you may consume all
    1 \- Q1 Z' C" k9 Y4 t
  993. ;the available process stack and eventually crash PHP (due to reaching the+ h) P1 X! {$ X4 v6 C8 K: ]4 U
  994. ;stack size limit imposed by the Operating System).8 ]0 U3 \; Y) B. M7 Z
  995. ; http://php.net/pcre.recursion-limit, r- s2 U2 M' \
  996. ;pcre.recursion_limit=100000$ w, |9 ~) h, S$ D5 U
  997. 6 Z! u, [) q4 w: ~& P; G9 V
  998. [Pdo]
    3 i6 v; L" n5 Z/ u- u% P
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"$ G/ B  H5 T8 q6 a
  1000. ; http://php.net/pdo-odbc.connection-pooling
    : x! h/ K& s& j2 q! }2 c
  1001. ;pdo_odbc.connection_pooling=strict4 Z+ ^; c2 E, D/ J) B- M
  1002. ' L% i; R$ L. Y  f5 v; y. ?
  1003. ;pdo_odbc.db2_instance_name+ E. r' w; v$ B, M: w& C- W# r
  1004. 4 V; z) @- D8 S0 D7 I, @
  1005. [Pdo_mysql]+ @+ ]% e8 y0 k) X% w, W
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache6 l. k9 |& k, d1 e
  1007. ; http://php.net/pdo_mysql.cache_size7 k. s; e% [3 \$ t& q
  1008. pdo_mysql.cache_size = 2000
    + t  _+ X& c* |: g5 l( H
  1009. 3 Q3 l# Z7 v& l' F2 s6 Q& z4 D! Y
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    6 a& [9 _) E; S# y
  1011. ; MySQL defaults.
    9 u9 J: v1 Y3 b- g) _
  1012. ; http://php.net/pdo_mysql.default-socket: j+ ^3 o  A& ~* Q8 o
  1013. pdo_mysql.default_socket=% x: H( }, ^; D1 M$ i
  1014. & q; n8 Y& v# o' B- N7 l: I
  1015. [Phar]
    , v$ a/ `: q$ t2 L
  1016. ; http://php.net/phar.readonly. Q/ I7 d0 h' x& U/ F2 K! |: C5 W! h
  1017. ;phar.readonly = On: Z; j" ?$ B# l2 k9 o- Z

  1018. # y  _2 l) X4 C5 h$ t6 I
  1019. ; http://php.net/phar.require-hash) f1 y3 ^/ q1 ^3 a
  1020. ;phar.require_hash = On; V# L; Q9 C6 m2 t3 X- j
  1021. ; l2 @9 s9 X2 b" z2 W% l! m# U
  1022. ;phar.cache_list =, d) V  r& J1 P% ^7 v% t

  1023. 4 V/ p# G) A$ B( {$ J0 X  U
  1024. [mail function]
    2 s1 @! w" r4 w! t% }' B
  1025. ; For Win32 only.8 R  n" Y$ b% x" ]' m( a6 t
  1026. ; http://php.net/smtp; V9 D( l" X( [  P; u
  1027. SMTP = localhost
    : E9 @7 U6 P9 C: [% i8 p" O
  1028. ; http://php.net/smtp-port6 C, p$ \# ^5 p& u: V, g5 J
  1029. smtp_port = 25
    ! h+ L0 c1 a7 P& i: E1 Z- |5 ?1 o
  1030. 4 e4 r2 u! R- G; E! V
  1031. ; For Win32 only.
    : }' N! f1 X6 S
  1032. ; http://php.net/sendmail-from! ~- ~& W" \0 A8 n' H* l, ]. b
  1033. ;sendmail_from = me@example.com
    0 d1 J0 ^1 w$ D* h/ R  ^' ?

  1034. + `' o( {! C$ B9 @6 C- t( w8 L
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    $ ]8 F: E. ?5 k, W  o& P
  1036. ; http://php.net/sendmail-path
    2 z  x! _  n: [, s% P  W
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    + j' F* g' {6 \$ L; F
  1038. 1 I! X5 K( Y& w& i' `: p3 x
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    ! |! _0 A" b7 j5 b
  1040. ; to the sendmail binary. These parameters will always replace the value of
    : {: p& Q1 E+ R& t, V) Q! ~  z
  1041. ; the 5th parameter to mail().6 V. Q$ a6 n3 o/ M8 O0 D' O
  1042. ;mail.force_extra_parameters =# w2 [3 m2 l* F+ @3 B6 y% r$ b2 G

  1043. & @9 j' Y6 x; q6 H( u
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename; L3 f2 M- v& x1 k$ [8 W
  1045. mail.add_x_header = On( D& \+ d2 g% S& @% ?& n' L8 u, d5 s+ m

  1046. # P5 f3 L% l  T/ ~$ C. j! Q9 m
  1047. ; The path to a log file that will log all mail() calls. Log entries include) W( v6 P, H! B' j9 M
  1048. ; the full path of the script, line number, To address and headers.1 t; x. z3 w3 @; F
  1049. ;mail.log =
    # y9 R# h- H) `/ Q
  1050. ; Log mail to syslog (Event Log on Windows).
    3 f( Q: v+ O# G7 ]% e
  1051. ;mail.log = syslog2 r1 I6 \4 P! F6 c
  1052. " ^% {3 c& r0 ^1 |+ a# Y2 P7 D- t
  1053. [SQL]' T) S8 n: ?( D2 e
  1054. ; http://php.net/sql.safe-mode
    ) q. K+ u' R7 t3 ~
  1055. sql.safe_mode = Off
    5 j. L* J# r1 E! ~$ {
  1056. " B8 Z" g+ y1 ?7 [! Q7 x
  1057. [ODBC]
    3 [5 M. K, ]  m  \2 A# t* ~
  1058. ; http://php.net/odbc.default-db
    ( h3 P/ @! G/ O" P
  1059. ;odbc.default_db    =  Not yet implemented3 J7 [5 @8 Z* Z1 o5 n4 M8 \
  1060. 5 z1 G- G( N7 G7 V
  1061. ; http://php.net/odbc.default-user
    % f: W: {7 o$ e9 k( r9 B( x: C
  1062. ;odbc.default_user  =  Not yet implemented
    % c7 t3 }6 b8 O$ K+ \0 j

  1063. 1 \, s% r& R9 Z" k0 a
  1064. ; http://php.net/odbc.default-pw
    : r3 n' h+ v* v' L, M, r4 I
  1065. ;odbc.default_pw    =  Not yet implemented: k9 t- P  K+ e1 B$ H% e! c4 V

  1066. ) e# b* A3 @5 ^1 K' }9 F
  1067. ; Controls the ODBC cursor model.
    . P4 g4 m0 }; t: L  `! y
  1068. ; Default: SQL_CURSOR_STATIC (default).! I6 n& b3 r# H# d6 L) u) x! R
  1069. ;odbc.default_cursortype: X% u; R# L) O
  1070. ; M% |2 B0 t1 t" b
  1071. ; Allow or prevent persistent links.8 M! a/ j5 _. @; B. F! a
  1072. ; http://php.net/odbc.allow-persistent
    $ a. Z% N3 d  D& y0 S; }$ P0 a6 U5 ^
  1073. odbc.allow_persistent = On
    " n- l! }! |$ m4 R' L0 C
  1074. % n8 F& Q+ b, a) [8 x" L, e4 J+ i
  1075. ; Check that a connection is still valid before reuse.
    - E: Y: I6 e  P+ ~8 c+ p) r
  1076. ; http://php.net/odbc.check-persistent
    ) Z( H( b' i4 ~5 U0 ?: t: M
  1077. odbc.check_persistent = On5 Y' v2 d3 k4 o9 W- m; i2 t. [
  1078. ! o# T: m/ K6 b% ?1 \7 R8 E
  1079. ; Maximum number of persistent links.  -1 means no limit.5 b: w/ B1 k9 N
  1080. ; http://php.net/odbc.max-persistent* Y6 y  j2 m; }, z  |0 C
  1081. odbc.max_persistent = -19 R4 m: W4 ~: ?9 m0 u3 }  v

  1082. # Z& h5 J! Y* G$ ^" p
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 g4 s( ]' h, z& J; l: I0 Z5 H
  1084. ; http://php.net/odbc.max-links' \+ H& X' X% Y; j; b6 f1 |
  1085. odbc.max_links = -1: i+ @  a" m0 Y# q

  1086. * \) }+ [. h, ^+ @8 H
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means  I& k3 m. ]- m+ r* [
  1088. ; passthru.
    7 H% B9 t  S" r
  1089. ; http://php.net/odbc.defaultlrl
    2 c* M! g' ]# k3 U  F, R- n) x
  1090. odbc.defaultlrl = 4096- z; A' e, a3 d/ ]% J8 g1 g! k3 S
  1091. 8 v" {  {, e0 f$ L% ~# i$ `
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.* E. Y7 Q9 v' }* L" Y/ u
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    : B1 r4 i1 ]( ]0 N  c8 s
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode1 U0 Y# P1 h4 b+ t3 j# y( l/ d
  1095. ; http://php.net/odbc.defaultbinmode
    . ]3 z* i& h" I/ u  o
  1096. odbc.defaultbinmode = 1
    + Z* ?# h( ]3 k4 l- r
  1097. 3 O* R. H1 A: M( e! Z
  1098. ;birdstep.max_links = -1( t' P+ V+ _, Q
  1099. 7 g8 T4 Y, J$ v' }$ H  y# M
  1100. [Interbase]
    ( G7 l  K/ B$ m1 n
  1101. ; Allow or prevent persistent links.
    6 D) C4 x+ Z' C/ _; f( |
  1102. ibase.allow_persistent = 1
    # `. t/ x4 B9 c0 J4 X
  1103. : f% R1 z/ A( j- g; v
  1104. ; Maximum number of persistent links.  -1 means no limit.6 B- |/ t* o' s
  1105. ibase.max_persistent = -15 \  m+ f* L" K8 h

  1106. 9 F+ K+ @6 S7 a: _$ I8 O8 J3 N$ @
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) e" X3 S# k$ V  }: |+ L  t
  1108. ibase.max_links = -1
    / `+ x* j( P  f4 z3 x7 P! g
  1109. 9 n$ W. @+ G# s. G! [
  1110. ; Default database name for ibase_connect().9 M- M- N% B! P; r- b+ p
  1111. ;ibase.default_db =
    9 b, ?5 R9 i4 V) ]

  1112. $ d, r2 K/ ?: G/ o9 n+ E& n3 n
  1113. ; Default username for ibase_connect().
    $ a; u! q3 r. W. V' W- T
  1114. ;ibase.default_user =
    9 Q" I; {7 E, |7 [( y6 a
  1115. * V7 V# b5 o' I/ a( x
  1116. ; Default password for ibase_connect().( E% N! K% r1 f$ G5 E" r3 m/ m
  1117. ;ibase.default_password =9 P1 M4 D5 _; z9 r
  1118. 5 O; m/ F, p, r1 q5 f; o7 n
  1119. ; Default charset for ibase_connect().
    $ f3 P7 s2 r2 I' d
  1120. ;ibase.default_charset =
    # t7 H/ R# W4 R

  1121. 1 p" j% C% h, g
  1122. ; Default timestamp format.! ^6 |: P8 O9 m8 Z4 N' ?, u
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    $ I1 @7 [9 a8 x8 [" j

  1124. 8 b. y/ h/ |/ h- Z8 {
  1125. ; Default date format.
    9 G4 c$ m4 X6 F& C$ B) W
  1126. ibase.dateformat = "%Y-%m-%d"
    % U# K( Z0 t& k7 M

  1127. 6 q* m, e2 }* K; O' v
  1128. ; Default time format.
    2 t/ o$ d3 D- H7 ]* J' l
  1129. ibase.timeformat = "%H:%M:%S"' w) k9 {& ~! L
  1130. 3 z* X" o, r  ~5 r6 c# J  E
  1131. [MySQL]
    : \( o# Y$ L+ b- o
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements$ d0 s& N) m" g/ P) ]6 s
  1133. ; http://php.net/mysql.allow_local_infile
      N5 A! F$ [8 H" W5 r8 J$ o; [
  1134. mysql.allow_local_infile = On& L6 ^8 v/ l. o6 w
  1135. 9 Z; {* M! s+ G) u  }% _
  1136. ; Allow or prevent persistent links.
    5 U2 e0 d9 i; a& Q8 N
  1137. ; http://php.net/mysql.allow-persistent
    $ J2 j5 y" D$ A; j5 \
  1138. mysql.allow_persistent = On- [; a8 ?2 w9 m3 P6 Z

  1139. 5 Z+ q( |" s: w1 u" m% |4 y
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    5 r5 |6 t+ x2 h% ~' N: P
  1141. ; http://php.net/mysql.cache_size
    : }0 _1 L# H& X  |/ r
  1142. mysql.cache_size = 2000
    : G( u# E, B$ X! F" O# t

  1143. : A; s5 {7 o( K! a1 {8 F2 s2 Z
  1144. ; Maximum number of persistent links.  -1 means no limit.
    ) O( D3 j2 I. i3 P& |3 U
  1145. ; http://php.net/mysql.max-persistent/ L9 z' ^- ]$ \- f+ v1 r+ f
  1146. mysql.max_persistent = -19 Y9 q" D3 m2 g7 b. H6 X  L9 L
  1147. # M7 ^9 \- E: {
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 a" T4 K9 E, M& l
  1149. ; http://php.net/mysql.max-links
    5 x7 _6 i( b6 A/ |) h
  1150. mysql.max_links = -1
    % l6 h  r5 t6 a4 U
  1151. $ r, i% r7 ]* L3 o; x& }0 |" }; W+ s
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use6 G6 j- X& w& {; F' f
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the$ h7 G+ Q1 |7 {8 d
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    9 P- M: N3 s3 ^+ J% k% K
  1155. ; at MYSQL_PORT.
    ( m2 q. V, Q8 ]$ |5 @. D
  1156. ; http://php.net/mysql.default-port
    & N5 T9 l6 c3 _, t  {  |/ t
  1157. mysql.default_port =
    8 {3 Y) d9 E' M1 m

  1158. $ X9 e) T# c  m' q; E" ?
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    2 m: o- w" B. F# ^$ T
  1160. ; MySQL defaults.2 ^- j" u# j- ?$ c
  1161. ; http://php.net/mysql.default-socket
      ~+ c0 E- ]$ S- H3 W% W, X
  1162. mysql.default_socket =8 j* p6 R% ?0 {. w8 C8 I
  1163. 2 C" ]/ [$ O1 {* ?
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).- _" i: x) O5 t! V+ l0 s$ v
  1165. ; http://php.net/mysql.default-host
    - v5 H$ O) K. r/ F
  1166. mysql.default_host =1 \' h# g6 g& W

  1167. ; F/ }3 i8 p  m7 P, H, E
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    $ H+ x' C1 E7 T8 x: N/ e" {( }) k; c% B
  1169. ; http://php.net/mysql.default-user
    1 c$ ~% C9 Z! g1 \) I0 V$ u) R
  1170. mysql.default_user =5 h8 [1 u+ Z# V2 i& S' i
  1171. , i% d) c2 x1 N
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).: p, T9 n1 h% t. Z) a6 N
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.- i+ W- d1 v8 s% Q
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    6 H9 j4 K7 F9 d9 J$ v" a
  1175. ; and reveal this password!  And of course, any users with read access to this
      {* U9 d( M# z  g4 Y! m- y$ ]
  1176. ; file will be able to reveal the password as well.2 ~1 _2 x2 s% k5 C! o& g( r
  1177. ; http://php.net/mysql.default-password5 T7 H+ A& s0 f, H" [  V' b
  1178. mysql.default_password =( E2 k; u6 w. r  K& a3 l8 W% M

  1179.   z; C- ?0 p% ]  i
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit9 `# v2 Z: ~) \0 r: L3 |1 v$ l
  1181. ; http://php.net/mysql.connect-timeout
    ; X# d$ T* G! o  I
  1182. mysql.connect_timeout = 60( p6 H/ m4 q1 E; O$ H
  1183. ; [8 g: u) g7 X
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and; I8 J5 t  R4 q3 a5 l% q; w5 f
  1185. ; SQL-Errors will be displayed.# Q: t4 g7 [3 ]) _+ \1 T6 D
  1186. ; http://php.net/mysql.trace-mode- d( U4 X' @+ ?" p* i+ j" A' d1 Q
  1187. mysql.trace_mode = Off7 v* n) P8 _8 V) o; ?% J/ P  o

  1188. + Q. \* l9 Q' w0 W) x- @4 ?
  1189. [MySQLi]- I6 c! Q8 T! I( n2 b) P
  1190. 0 m% J- E+ F4 J9 d& }
  1191. ; Maximum number of persistent links.  -1 means no limit.) a, H( p- T) W; }6 k2 U. H1 R
  1192. ; http://php.net/mysqli.max-persistent
    ' e3 O  `2 n2 i
  1193. mysqli.max_persistent = -10 p, ~6 Y8 W/ {% r

  1194. ! R( G+ A6 Z' {, b  [- _5 d
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements/ `4 E8 @9 L3 \1 O
  1196. ; http://php.net/mysqli.allow_local_infile
    / s3 W% K- Q* m8 K6 F
  1197. ;mysqli.allow_local_infile = On
    ( Z3 L/ c; o( p) R2 c1 {

  1198. # E" o% K3 k% ^: o% {% C
  1199. ; Allow or prevent persistent links.# p0 Y% |) ~& z4 _0 w7 B
  1200. ; http://php.net/mysqli.allow-persistent
    ) U3 l- p/ Z$ ^. M. f' w* T( M
  1201. mysqli.allow_persistent = On
    - t* I1 m  H1 n/ t
  1202. " H& {/ Y. Y7 v- z% ~
  1203. ; Maximum number of links.  -1 means no limit.( X$ d" Q9 q% m8 R
  1204. ; http://php.net/mysqli.max-links
    * L$ _3 U- f+ N$ c* d
  1205. mysqli.max_links = -1
    7 O1 h9 Q+ w- [: q# C* H$ Z& R/ v' D
  1206. ; n7 y) A+ I) n3 j. D% m! M* O; A& i
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache% o6 `% W. `$ W
  1208. ; http://php.net/mysqli.cache_size( H, `: [& G9 E' j3 [4 c7 a3 p8 |
  1209. mysqli.cache_size = 2000) v5 l3 T, c" Z) Z0 H

  1210. " ~% D) D% C( x  k2 D. ]
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use# `2 R/ ^1 R2 C) l# C2 h: [( u0 ~2 \
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    8 {( B: D) I, |  [% G4 `
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    2 |/ {: p+ E* d/ k
  1214. ; at MYSQL_PORT.
    6 U. W) {9 f+ Y- \: G1 \) q7 ^
  1215. ; http://php.net/mysqli.default-port
    " A- ?& \5 ~. @9 v; d
  1216. mysqli.default_port = 3306
    * H8 L) @4 d; @
  1217. # ]: h7 j$ O, L6 i# u
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in8 O% @2 K$ ]9 p/ r9 u  O
  1219. ; MySQL defaults.
    % u" e+ p- o1 `8 T: c9 g" ?' \1 t
  1220. ; http://php.net/mysqli.default-socket
    + `' U  ^0 T- k  D
  1221. mysqli.default_socket =
    1 p/ Z8 F3 I" V8 Y1 j
  1222. - i5 r3 y9 `# I6 [0 o* N- q" y
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).5 i) ~4 o+ ^! j' b8 J: H1 c# N
  1224. ; http://php.net/mysqli.default-host
    ( Y+ v. O9 ^! @* L- l) e
  1225. mysqli.default_host =/ ?3 \8 x7 C8 l

  1226. : T$ z: S8 H( d  b( V( z
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).3 D; s! v9 f/ N! K3 I
  1228. ; http://php.net/mysqli.default-user4 {7 g8 m6 t8 ^4 Y; L* g4 M
  1229. mysqli.default_user =( k- f+ u( W& g- u; E  ?
  1230. 9 o! K# R+ N- r( A0 j0 V
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    1 ?# I) {$ C. B$ p6 E3 ^& T
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    . y* {7 Q& `" J* E7 C3 C0 e
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")4 v" H7 f( E, w! `
  1234. ; and reveal this password!  And of course, any users with read access to this
    ) C; \. v1 H1 ~; M3 Z6 G, r
  1235. ; file will be able to reveal the password as well.# e8 o" V# O- |' Y8 Y! @
  1236. ; http://php.net/mysqli.default-pw! q9 w5 x$ g! X$ s, U/ Y
  1237. mysqli.default_pw =
    ( }& n: A2 ^& T5 W  i7 X- C
  1238. & [; s& Y8 M3 ]% W- J2 Y. D
  1239. ; Allow or prevent reconnect
    , U5 k9 C' t  x) O
  1240. mysqli.reconnect = Off
    % Q$ N( w( m0 S$ |5 g
  1241. 4 v' f" X8 q/ v. w
  1242. [mysqlnd]
    4 I% n( T, {3 y8 [6 g: F7 Z
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be/ ?3 G8 T- e( U% e
  1244. ; used to tune and monitor MySQL operations.  p' V3 g2 F2 j6 s; x
  1245. ; http://php.net/mysqlnd.collect_statistics. j! k, S0 L0 ?! ^3 U* `
  1246. mysqlnd.collect_statistics = On
    : O5 f1 Y% W, V6 }# S
  1247. 8 Y* x+ K+ |$ g$ o/ Z5 J" a  T
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be0 @6 Y3 A% ^$ i, y5 G! p8 V
  1249. ; used to tune and monitor MySQL operations.
    ( B5 B1 \6 B: u7 o' ^- A
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    5 M, n, A- s& U( x, X! {% U
  1251. mysqlnd.collect_memory_statistics = Off
    3 ~+ z( A7 U2 y

  1252. 6 O! L, ?2 J2 z) C
  1253. ; Records communication from all extensions using mysqlnd to the specified log5 J: s* }4 ~! D2 ?) A
  1254. ; file.4 @* z4 R3 \" o9 ^; A
  1255. ; http://php.net/mysqlnd.debug
    + J) {9 P( ]) h" N' X- G
  1256. ;mysqlnd.debug =
    & C- O* F& O. z( m* t4 N
  1257.   V& w  |# x+ T! n& X! z& e# Y
  1258. ; Defines which queries will be logged.
    - Z3 ~) U( g6 N- q) g
  1259. ; http://php.net/mysqlnd.log_mask
    2 w# ?% W( s) z6 d- U; P( j
  1260. ;mysqlnd.log_mask = 0
    4 G* `8 U+ O( R

  1261. 2 ?9 c# a2 g( s) e
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.! Y' f$ w! |8 d) O
  1263. ; http://php.net/mysqlnd.mempool_default_size
    # g$ s  G/ F- E  J5 ?' q) {
  1264. ;mysqlnd.mempool_default_size = 16000
    9 K# h. d2 E2 A8 L

  1265. & Y+ w/ c. H, D2 Z+ ]
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.& r$ r1 r" Q' |' ^! {/ ^
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size* ^- |9 M/ F% T+ X, z
  1268. ;mysqlnd.net_cmd_buffer_size = 20480 @% [. V) ~/ L3 e+ r

  1269. 9 D' ~! S" m4 X( V% c
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in; |5 a8 O. I8 K9 k0 f
  1271. ; bytes.
    ( D. w' s, `) b1 i
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    ) m) A+ N- O+ M' I# w) _4 F5 K
  1273. ;mysqlnd.net_read_buffer_size = 327683 |+ G% L3 N6 S- k

  1274. * B. h3 h# n  _7 W4 C' E4 C
  1275. ; Timeout for network requests in seconds., T: U6 p& c1 Y0 O7 P" l% a
  1276. ; http://php.net/mysqlnd.net_read_timeout9 A. |7 V+ ?  W! s( r% ]
  1277. ;mysqlnd.net_read_timeout = 31536000; S, ]1 E; s4 s

  1278. - J2 a+ I: @6 g1 L; m# Q( ~! m
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ( h; m5 N8 \2 N# u. [
  1280. ; key.# K) I1 ]5 g0 S: u
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    1 t+ K  j2 S. R+ @
  1282. ;mysqlnd.sha256_server_public_key =
    ( U8 A, @. P. e' T. z5 I
  1283. 7 J, L, L% X$ U# Q! Z
  1284. [OCI8]
    1 }2 A. T8 o% @4 n- y' E# T  b

  1285. # ~5 c4 B& B, N8 _1 r3 }
  1286. ; Connection: Enables privileged connections using external3 i' ?: v# e1 o" j
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    . B, Z$ f0 R7 m2 ?$ c: H" Q
  1288. ; http://php.net/oci8.privileged-connect2 B; Q8 u; s7 E. i
  1289. ;oci8.privileged_connect = Off& ~) X$ P  q0 M# b6 X
  1290. - n" k0 c9 {% D
  1291. ; Connection: The maximum number of persistent OCI8 connections per  U, x, g5 C9 F( |$ V' {% L
  1292. ; process. Using -1 means no limit.
    ( c  m1 F0 I1 s- g6 R( U( `9 Q
  1293. ; http://php.net/oci8.max-persistent
    # \& r8 @- B. B& b3 [9 v9 l
  1294. ;oci8.max_persistent = -1
    5 H# J; |6 V0 V9 ^0 Y8 W9 M7 u9 ^

  1295. / U, v& r9 Q( n! F* q+ i* f
  1296. ; Connection: The maximum number of seconds a process is allowed to
    2 _( ~7 `) O! e9 \( q( K1 A
  1297. ; maintain an idle persistent connection. Using -1 means idle
    ; U: _7 P. Z+ J' X
  1298. ; persistent connections will be maintained forever.
    ( i5 S3 W/ P: Q& Q
  1299. ; http://php.net/oci8.persistent-timeout
    + f; T+ [2 S% }5 {$ i) I* W
  1300. ;oci8.persistent_timeout = -1
    2 h7 e( w) t$ @2 L* a

  1301.   U6 D" a( i4 A0 D
  1302. ; Connection: The number of seconds that must pass before issuing a  n6 W9 l' B1 N- u+ S3 [
  1303. ; ping during oci_pconnect() to check the connection validity. When
    ! x% S& V% l# R' K
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables1 e, a* a1 Q5 v8 e) L" E$ f. m- z! {
  1305. ; pings completely.. U5 B: c1 c& O
  1306. ; http://php.net/oci8.ping-interval2 @$ j' H9 R. e1 h( w  n
  1307. ;oci8.ping_interval = 600 ~. u8 Q. n3 Z+ l! H4 M
  1308. ) A% I. {+ M& \
  1309. ; Connection: Set this to a user chosen connection class to be used2 Z- E) J( l: w1 x) F' ~* ~/ X8 n0 [
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    $ o$ R' q. S# J4 t
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to  |, M5 D! r8 E3 X1 x
  1312. ; the same string for all web servers running the same application,
    1 y9 ]6 A' g4 m
  1313. ; the database pool must be configured, and the connection string must
    + o: J; l" P+ a
  1314. ; specify to use a pooled server.
    ; f' P: }4 K1 l
  1315. ;oci8.connection_class =6 q! h, n) D+ A8 D8 m* v

  1316. / i! a5 ]+ ]/ `/ M( L: W6 v
  1317. ; High Availability: Using On lets PHP receive Fast Application
    % q; d0 M$ }8 t/ z7 a7 H/ h
  1318. ; Notification (FAN) events generated when a database node fails. The
    4 i3 H) E8 o4 i0 T6 l
  1319. ; database must also be configured to post FAN events.1 k1 a# a0 j% i
  1320. ;oci8.events = Off
    " R! B- K" P4 d$ s
  1321. : f# K* n6 X1 W" E
  1322. ; Tuning: This option enables statement caching, and specifies how
    ; b7 \$ T5 u% p8 I: B7 J3 w
  1323. ; many statements to cache. Using 0 disables statement caching.
    : {  J  J5 t4 |) S$ a- A
  1324. ; http://php.net/oci8.statement-cache-size% s- |* }8 z! k$ L3 P/ |/ s; b0 U" z" @
  1325. ;oci8.statement_cache_size = 20
    1 ]+ X' d* l5 K7 k

  1326. 4 E" ^% ]) Z& ^
  1327. ; Tuning: Enables statement prefetching and sets the default number of* t1 Q% F( X0 ^, K% x
  1328. ; rows that will be fetched automatically after statement execution.
    4 h9 h: v9 i7 j& r& V
  1329. ; http://php.net/oci8.default-prefetch) ?% p" c4 b- q( F+ W: }8 h0 X
  1330. ;oci8.default_prefetch = 100, d! q2 g7 F! H+ p4 F

  1331. . A: c" V1 D: P  O' {
  1332. ; Compatibility. Using On means oci_close() will not close) S1 T+ _" o( K7 |' @
  1333. ; oci_connect() and oci_new_connect() connections.. w! c; L5 O# i& U5 T
  1334. ; http://php.net/oci8.old-oci-close-semantics
    , q; `# d" N" Y, E8 z
  1335. ;oci8.old_oci_close_semantics = Off, u4 j( a6 _5 f. w* L$ y* y

  1336. / U; I- ~8 F: Y/ X8 @6 V# R" G, i3 e  u
  1337. [PostgreSQL]6 t0 x0 W  W6 \4 ?" |
  1338. ; Allow or prevent persistent links.
    - @. q$ g, g) |9 u" p4 l, p6 F' k. R1 A
  1339. ; http://php.net/pgsql.allow-persistent7 {9 |: ~5 M' U
  1340. pgsql.allow_persistent = On
    ) {9 Q, w& }3 C8 W3 F7 |; j8 x6 m( w. V

  1341. . Z6 g# y' V% K; Z7 P
  1342. ; Detect broken persistent links always with pg_pconnect().0 _6 q* I, D8 @! z8 I/ w
  1343. ; Auto reset feature requires a little overheads.
    ( d7 N( s5 O) I' g
  1344. ; http://php.net/pgsql.auto-reset-persistent! W! r/ c( x1 T' {5 ]! @, e
  1345. pgsql.auto_reset_persistent = Off
    4 r) o) _* j  ]9 o, f# t
  1346. " A+ E% B# {" l
  1347. ; Maximum number of persistent links.  -1 means no limit.
    + _% }, t- Y9 ~0 W7 b+ F2 B3 B
  1348. ; http://php.net/pgsql.max-persistent
    1 K% e8 V! K, l
  1349. pgsql.max_persistent = -1
    8 E6 \* F( Y0 O" S
  1350. ' k2 ]8 j) o3 o
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    3 f  p) }  N: }# m
  1352. ; http://php.net/pgsql.max-links
    0 y9 ]3 s- ]3 m
  1353. pgsql.max_links = -1$ e: g! f' S) L1 t. Y$ d
  1354. 0 Y/ u  f: a# M. `7 c7 r& _
  1355. ; Ignore PostgreSQL backends Notice message or not.
    ; O- v" g$ l. M/ i8 h- `& L! I- }
  1356. ; Notice message logging require a little overheads.* }6 V+ G! L# A  l: s
  1357. ; http://php.net/pgsql.ignore-notice; G( y' V6 f' C5 l" r; W  B2 z
  1358. pgsql.ignore_notice = 0( o2 N/ Z- V& s! Q+ E+ e* Y- ]

  1359. ' V/ k1 t4 m7 c, K2 T4 t6 D
  1360. ; Log PostgreSQL backends Notice message or not.
      k2 m5 P& a' V8 M' o9 y
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.6 W( Q+ ?0 W2 f( \: @) p6 L
  1362. ; http://php.net/pgsql.log-notice3 M& x8 t" h/ j6 m4 y
  1363. pgsql.log_notice = 0
    2 z8 J3 E- \5 T! z2 @# f

  1364. / i/ n. m7 R2 V3 _/ s
  1365. [Sybase-CT]
    + ]6 x! d) I* ~3 Z/ U  j- N3 b9 Z
  1366. ; Allow or prevent persistent links.1 i* Q4 m2 f- t8 [. R( `# [
  1367. ; http://php.net/sybct.allow-persistent9 L: h5 s3 k5 N* `
  1368. sybct.allow_persistent = On+ d! Y' t3 q$ p2 e
  1369. ' G1 S# S: _; D6 a$ _( J
  1370. ; Maximum number of persistent links.  -1 means no limit.
    4 A) i0 R6 Z* j" F
  1371. ; http://php.net/sybct.max-persistent; X% ^, x# i: D; J; M7 N  n7 G
  1372. sybct.max_persistent = -1+ D& T6 e) v6 @- u

  1373. 9 l) E* _6 \3 Z
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.4 J7 Q( Q- H, h' {4 d9 u! V% E
  1375. ; http://php.net/sybct.max-links' K) h  u) u6 q; S
  1376. sybct.max_links = -1
    6 z0 I$ b& u# {

  1377. / b* K4 Z3 V# d1 A0 B+ _5 Y  Y
  1378. ; Minimum server message severity to display.
    * ~/ G# p/ R& e3 [
  1379. ; http://php.net/sybct.min-server-severity7 o+ B* a* [" J# i
  1380. sybct.min_server_severity = 108 t. Y/ \7 [  g, s" l% R( R1 q
  1381. , {6 `* Q3 P5 Q1 K
  1382. ; Minimum client message severity to display.; T2 j! @* y8 X# g$ D+ U! m
  1383. ; http://php.net/sybct.min-client-severity8 Z/ g  s5 _- ^; g
  1384. sybct.min_client_severity = 10
    7 _1 H  A+ |, H% g
  1385. 3 u+ k% K2 w# Q7 c6 D) L" D# ~
  1386. ; Set per-context timeout$ k# f: Y1 A4 s& }/ i; P/ ?: m
  1387. ; http://php.net/sybct.timeout' Y  z9 v, d2 h0 w- X; ^
  1388. ;sybct.timeout=$ P$ B4 \- J( c3 z+ t
  1389. ; ~+ X' ]2 }' v" B
  1390. ;sybct.packet_size
    8 g0 |% Q5 X- u' f3 p3 S: W7 I
  1391. * ~& g$ B" q0 s  G0 n6 ]' E$ G! g1 m
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    0 r; h1 r# C8 e9 G9 B
  1393. ; Default: one minute
    5 {$ i* Q- E( Y# U" ^, W4 H
  1394. ;sybct.login_timeout=
    5 h7 C5 ^7 M% n: P1 Z
  1395. 5 d3 T: b+ j0 M
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    % ?: Y4 A. v; ?8 U8 l; Q
  1397. ; Default: none
    & E2 U1 ]+ L/ k$ j; @! J
  1398. ;sybct.hostname=1 H' D$ f/ t% u, {0 z! D

  1399. & x0 @& \6 D: H+ k8 d' R2 P* @# F
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    ! m: K5 \5 B# ^! ^( o
  1401. ; Default: 0
    5 h! q4 a3 F$ ^
  1402. ;sybct.deadlock_retry_count=
    ' c! r: X" W8 r' k5 C  N+ {- h  _

  1403. 2 w  ]; v( @$ c* b, Y
  1404. [bcmath]
    / t! Y, T" B3 o6 n1 S# D* ~" P
  1405. ; Number of decimal digits for all bcmath functions.- \. c' S0 K! [6 `' _; b' K
  1406. ; http://php.net/bcmath.scale( w& q# A2 g& v# ~' S
  1407. bcmath.scale = 0
    ( F- a0 ]# J0 O4 z0 c( C" t+ ~1 [* I2 r

  1408. " f3 x! D% P2 T" d
  1409. [browscap]1 K8 {: v  ^3 y  @5 y
  1410. ; http://php.net/browscap4 g+ ^. }7 p) M) R! \
  1411. ;browscap = extra/browscap.ini$ X$ R* b, J8 d; Y& j; g
  1412. $ i4 F/ r- p$ V0 T5 p! O" G
  1413. [Session]9 h  E: g: ^( o" `
  1414. ; Handler used to store/retrieve data.+ ]" P7 i6 I$ [2 b
  1415. ; http://php.net/session.save-handler
    ' Q  ^% Q- i. x+ F0 s( W
  1416. session.save_handler = files. r) x! x) @6 `1 f- D

  1417. ! ]6 R/ U# p1 ~. W8 \+ A4 ^/ D
  1418. ; Argument passed to save_handler.  In the case of files, this is the path) I/ ?$ ?% f2 s( U3 M
  1419. ; where data files are stored. Note: Windows users have to change this
    ) o( j% W$ m: j( ~0 D
  1420. ; variable in order to use PHP's session functions.1 l% W" B  q/ o" B- ^/ H7 w
  1421. ;
    . B) J! A& q/ ^( r; `
  1422. ; The path can be defined as:- M8 |1 \, R9 c4 f$ N$ o& b
  1423. ;* t" W8 q4 w# C% T- v* S2 T* z
  1424. ;     session.save_path = "N;/path"
    9 d: ?9 k8 N) O. B1 t
  1425. ;
    - ^: H+ M; X$ H! i. N. v
  1426. ; where N is an integer.  Instead of storing all the session files in5 C. q# m) X( g/ m
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    " n( j9 i3 L1 _
  1428. ; store the session data in those directories.  This is useful if
    - C1 y, ~1 M& b/ b5 a# S
  1429. ; your OS has problems with many files in one directory, and is+ {( S7 _0 l2 W0 e) |) D4 [
  1430. ; a more efficient layout for servers that handle many sessions.
    , R! n8 U; W/ G# X$ \+ x7 }
  1431. ;
    " `* m  o/ f4 k  N
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    7 B! \9 Z7 i' r
  1433. ;         You can use the script in the ext/session dir for that purpose.4 h9 t" v2 o. \+ ~% z. k. g3 J
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    . f  \. {% n6 d
  1435. ;         use subdirectories for session storage/ D5 ?3 T7 ?9 q6 V0 {! W$ e; d
  1436. ;
    : {% h( T1 g4 E, u. e" ~
  1437. ; The file storage module creates files using mode 600 by default.0 l) q1 `0 n$ R; l# f  o
  1438. ; You can change that by using( B: ^6 z8 M" C. U9 f
  1439. ;
    , M( n6 z- M5 U
  1440. ;     session.save_path = "N;MODE;/path"
    ; N8 E4 Z) P. k4 q9 ^
  1441. ;
    " Y& I5 Z1 x8 D
  1442. ; where MODE is the octal representation of the mode. Note that this
      J& i- C, C& e
  1443. ; does not overwrite the process's umask.
    + K! W( z' I& q: v  M
  1444. ; http://php.net/session.save-path
    ! M* |* z* H0 e6 c* D1 l4 w
  1445. ;session.save_path = "/tmp"
    1 `0 Q' W  e$ _; E" M
  1446. 3 s* E" n0 B$ E4 ?; G
  1447. ; Whether to use strict session mode.
    " e# F0 M# Y- L( {
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate' M) s' H% @) q. ^/ R& [' ]
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects+ p" H/ r# o6 O
  1450. ; applications from session fixation via session adoption vulnerability. It is7 x* [# |9 l) P4 o7 p
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ) j- x3 @4 t/ W# a# m% t# F' C4 n
  1452. ; https://wiki.php.net/rfc/strict_sessions
    % c( a- D, K8 Q7 H6 g* d  F" Q9 _
  1453. session.use_strict_mode = 0
    ! L/ s+ G  u1 f+ K% ~# A( R

  1454. 9 I5 d# V; M. B3 m6 t
  1455. ; Whether to use cookies.
    1 J* v  M: H" O$ D! P
  1456. ; http://php.net/session.use-cookies
    3 B! R, N, q8 C5 O0 p* Q* F" U
  1457. session.use_cookies = 1
    3 m7 `; u( c8 h; w. l! `
  1458. ) Y8 b) K0 Y! h3 ^( C5 M
  1459. ; http://php.net/session.cookie-secure: w) e0 {3 |9 G$ \0 U
  1460. ;session.cookie_secure =
    $ ]0 C6 ?8 Y9 Q& d" c
  1461. ! l0 C; c/ |5 `' i! {, u- p4 @
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    / z4 n! A& F2 |( g. B* x0 l
  1463. ; the session id. We encourage this operation as it's very helpful in combating9 v) M4 V' o5 A( D" s
  1464. ; session hijacking when not specifying and managing your own session id. It is
    * e' c+ }' C4 P4 S$ R& w
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    9 s4 i- L4 g  ?
  1466. ; http://php.net/session.use-only-cookies# ~; H5 n- g+ T) B# i( v$ v9 ]6 l
  1467. session.use_only_cookies = 1& w  g2 |* q, J9 n5 N

  1468. " F6 m% ^% z& w% u5 G
  1469. ; Name of the session (used as cookie name)." G- V( |* ?: x& D8 \
  1470. ; http://php.net/session.name
    . ~4 `7 E- k& O! j, M: O8 v+ K
  1471. session.name = PHPSESSID
    . Z, }- k  ~4 \7 {) B0 q( T

  1472. ! y& A9 p0 S9 `5 X% ?5 P$ B4 z4 O" d
  1473. ; Initialize session on request startup.
    * R; u0 h9 W& B9 L  M- ?/ U+ {' d
  1474. ; http://php.net/session.auto-start* F1 Y8 @7 w: m+ U: ?! w' @
  1475. session.auto_start = 0
    : U0 k  B' Z/ Y
  1476. 8 \, J4 Y' m) E$ }3 O
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.% ~1 ^9 Q' d, T# i$ N
  1478. ; http://php.net/session.cookie-lifetime
    0 _* b! p( e9 V, H; V* m4 r0 C  s
  1479. session.cookie_lifetime = 0
      F: w3 r0 i2 I. ~3 e
  1480. + f# ?. t2 _6 D1 N
  1481. ; The path for which the cookie is valid.2 H3 q- E5 {+ q& {$ L
  1482. ; http://php.net/session.cookie-path
    6 {6 @) k& s$ L; p! @
  1483. session.cookie_path = /
    $ y& f* k. M6 t3 o6 J7 M

  1484. 2 D6 C: d2 l, U  J$ e
  1485. ; The domain for which the cookie is valid.$ x& y& [6 q- M1 t3 e# }
  1486. ; http://php.net/session.cookie-domain
    % t9 A% m: e( E$ z8 }
  1487. session.cookie_domain =
    ) x+ i& ^$ j" f- A. X

  1488. 8 p, \' J" V0 i* e
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    . f2 s# Q9 K; Y
  1490. ; http://php.net/session.cookie-httponly
    7 {, B1 j0 E) t2 H5 M0 \2 k
  1491. session.cookie_httponly =
    * K* R6 Q; h/ P1 i* ?3 A' v% r& a, R

  1492. - a4 [* k. X$ K
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    # ?6 v. w% a% E, B5 ]
  1494. ; http://php.net/session.serialize-handler. K# h- e* N; g6 }+ h4 ^+ w' T" \& j* j
  1495. session.serialize_handler = php
    . E6 `0 u( t5 `& k9 L; ~2 [

  1496. - _6 P" ^! x% c2 X2 W1 j
  1497. ; Defines the probability that the 'garbage collection' process is started
    + h. o) z6 I% b+ Q$ D7 N/ z& V
  1498. ; on every session initialization. The probability is calculated by using7 }% C! S9 C. F1 y
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    8 W3 u0 y# u$ S+ s- e
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ; f0 L$ M" j% W2 E- b2 I& E) E
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    0 w8 Z* Z" Z, k. Q, [* `
  1502. ; the gc will run on any give request.
    6 D3 \2 k, z4 ]( T- s: l" X1 K# Z
  1503. ; Default Value: 1" U2 _: R) P4 h8 i
  1504. ; Development Value: 12 B. L6 H7 N9 M5 o! O  x
  1505. ; Production Value: 1
    8 M$ J3 e. X7 }; e
  1506. ; http://php.net/session.gc-probability0 K" @3 @' T+ R% R# A
  1507. session.gc_probability = 1$ F8 m$ Y$ z9 E0 U' w

  1508. & |8 z& Y: ]; c: Y6 e
  1509. ; Defines the probability that the 'garbage collection' process is started on every' X6 ~1 J$ |8 j2 r3 x6 q# h
  1510. ; session initialization. The probability is calculated by using the following equation:
    # I! w3 o" n0 W: U6 n) `
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    * Q$ U7 W; n$ C& R
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    - ?* T* a. p: X% t
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    & B+ R+ o. H, e8 g  {1 z$ z
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    + e$ u5 W1 F  H& `+ |  B1 r3 b
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    + Z6 O* C6 F5 y: u/ `8 u8 H) a
  1516. ; this is a more efficient approach.
    , y5 m$ @3 v' |; t2 A; a
  1517. ; Default Value: 100) D$ W7 h. Q$ ]6 l
  1518. ; Development Value: 10005 A4 v5 d7 j, R1 r
  1519. ; Production Value: 1000
    1 v. {+ O! s) A
  1520. ; http://php.net/session.gc-divisor
    / U% {$ N7 M. z1 }% q# i& V; c
  1521. session.gc_divisor = 1000
    3 R5 H- ^% q0 B

  1522. % V& ^6 g8 l; n  {* a, P
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and1 \. z; e3 u* P: H1 C3 G! n
  1524. ; cleaned up by the garbage collection process.
    / u# I4 C: k' T
  1525. ; http://php.net/session.gc-maxlifetime! y- k" }/ X0 z! ]4 l; E7 T/ Y! X
  1526. session.gc_maxlifetime = 14406 J4 k: D% d5 }4 O; [, a

  1527. & v: I: M7 @! u4 M9 X7 G
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    * r7 z" S4 p/ {$ P4 k
  1529. ;       (see session.save_path above), then garbage collection does *not*5 E7 z" P* `$ T2 x. g. `
  1530. ;       happen automatically.  You will need to do your own garbage# O8 V( D9 ^. n4 w7 F
  1531. ;       collection through a shell script, cron entry, or some other method.2 f5 n6 N0 A/ S' Z
  1532. ;       For example, the following script would is the equivalent of
    ( n, x  K7 `! A. {  q
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):3 y# s6 D2 e! z( d/ N1 a) Z6 _
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm% x& o" F8 P+ G6 P) L2 S
  1535. + P4 ~8 Z, J5 H; o8 u$ V2 Y6 D
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    6 p, r8 V% b7 X& \% u4 e
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    : @3 U6 _% u  |! _
  1538. ; considered as valid.
    & n9 U) U  k/ t
  1539. ; http://php.net/session.referer-check
    1 K- _1 |, x4 Q8 N+ ]$ v% w
  1540. session.referer_check =
    8 J* {+ D& h+ T0 k' x) Z8 p: P
  1541. 8 K% b' ~0 g: M& L) k2 |
  1542. ; How many bytes to read from the file.
    3 [1 w6 B! {0 @+ |$ y
  1543. ; http://php.net/session.entropy-length
    % J( d& P- N  V* z
  1544. ;session.entropy_length = 32
    1 {5 R$ Z+ O; b" @$ _, b: m
  1545. & o5 Y- F, n6 X7 E9 X
  1546. ; Specified here to create the session id.
    ! B- E0 E. f) [% A2 c
  1547. ; http://php.net/session.entropy-file" _, b$ L4 w" |& G4 v1 o  w  A7 Q
  1548. ; Defaults to /dev/urandom
    5 I& N" J7 Z7 y% U% Q; m
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom( |1 k7 Y2 {' e
  1550. ; If neither are found at compile time, the default is no entropy file./ L* u: y6 ]" a- j% Z4 z7 g: a( @, [1 F1 K
  1551. ; On windows, setting the entropy_length setting will activate the: @; \" i# Y% C  X: \: c
  1552. ; Windows random source (using the CryptoAPI)
    5 g% t( {/ a/ m& J$ P
  1553. ;session.entropy_file = /dev/urandom
    & \  t' Y5 |9 P! a' U0 M

  1554. 3 Q% s6 P( d$ t
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    , V1 j+ q, v, p
  1556. ; or leave this empty to avoid sending anti-caching headers.
    ; v4 M7 w% |# ?$ Q
  1557. ; http://php.net/session.cache-limiter
    : V! I5 L+ |% S7 Q3 o$ [( n1 J3 J
  1558. session.cache_limiter = nocache- F! ?5 S, [# c& G; f& ?3 B
  1559. * i% ?& a, k3 H4 ?% d& a
  1560. ; Document expires after n minutes.
    8 \( o" M2 _2 I* e+ O& t* I# ?5 n8 M
  1561. ; http://php.net/session.cache-expire# R' ]5 c; s5 }% J8 O3 J( ~
  1562. session.cache_expire = 180% V# p; T9 b; D) A
  1563. + l' }% Q8 S- E; x, Y, G
  1564. ; trans sid support is disabled by default.
    : b: a1 A( v8 D# W, l3 f8 m+ ?
  1565. ; Use of trans sid may risk your users' security.
    , w8 H5 A* n9 E3 o8 m9 Q
  1566. ; Use this option with caution.3 m* r, Y1 v6 L) W/ E$ z+ J0 q
  1567. ; - User may send URL contains active session ID% @. ?& H! i; _1 z. S* l# K8 _9 O
  1568. ;   to other person via. email/irc/etc.5 A0 C, V8 n& z1 B2 ~5 i9 j2 P! @  `
  1569. ; - URL that contains active session ID may be stored
    8 w5 l1 s8 G$ U0 E* j% {; I
  1570. ;   in publicly accessible computer.: O2 ]& r6 U- m" r) ~
  1571. ; - User may access your site with the same session ID
    # Y- h) w3 Q: V; {
  1572. ;   always using URL stored in browser's history or bookmarks.
    9 y0 L$ i: T+ o! P2 d
  1573. ; http://php.net/session.use-trans-sid
    , O4 L1 n' K  ]2 q
  1574. session.use_trans_sid = 0# n$ Y' X& [! x2 x5 J. O3 k7 D2 `
  1575. ' k9 o: X4 X+ t4 m  @8 H+ v
  1576. ; Select a hash function for use in generating session ids.
    % X" D1 j# x9 B: l3 k( V
  1577. ; Possible Values) p$ g. B, u$ ]5 z  t' ?4 T6 P# D
  1578. ;   0  (MD5 128 bits)7 A4 ]/ V0 ~. K0 ^& W! ?
  1579. ;   1  (SHA-1 160 bits)* L- [# ~+ A9 \
  1580. ; This option may also be set to the name of any hash function supported by3 [; p  u& M% R3 b
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos(), b" f; P7 ~6 P, [
  1582. ; function.
    + @7 q& k3 d: ]
  1583. ; http://php.net/session.hash-function! ^( n( S3 G8 E
  1584. session.hash_function = 0
    " q# ^4 x6 C% v/ ?4 `% {1 b7 t; _

  1585. & u$ h3 D+ R$ P3 d+ A
  1586. ; Define how many bits are stored in each character when converting
    8 d. ^. m0 d1 f9 C" P
  1587. ; the binary hash data to something readable.; N! T* }5 C# w. {  Q( N" t, p' t' ^
  1588. ; Possible values:
    5 e, _1 {+ l( b$ K) \. v/ m
  1589. ;   4  (4 bits: 0-9, a-f)
    ) D* v; [4 Z( f: A, @: @( V
  1590. ;   5  (5 bits: 0-9, a-v)# D9 y+ a" }6 O& ]1 n" U
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    0 S" t. X7 _8 o- r
  1592. ; Default Value: 4
    . Q, D( G2 Z! w/ @& p6 M
  1593. ; Development Value: 5' v& _3 `7 ]# Q
  1594. ; Production Value: 5
    ' q/ X. t0 ], @- F
  1595. ; http://php.net/session.hash-bits-per-character
    5 L9 j4 W& k! S2 y5 l
  1596. session.hash_bits_per_character = 55 j0 [1 H  T+ B+ b- B9 Y5 z4 x
  1597. / A9 ?. \' E- W' `1 d
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.% C" Z0 }% H/ x1 H
  1599. ; form/fieldset are special; if you include them here, the rewriter will$ v9 U, W* b4 S- v+ \; p
  1600. ; add a hidden <input> field with the info which is otherwise appended0 z2 b# q2 G% S7 B( G4 p
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry." ~# B% v( J  w" @  X
  1602. ; Note that all valid entries require a "=", even if no value follows.
    - Z2 x7 T0 ?& h9 a
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="4 i  o$ c: \0 S
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : M3 a! h) n. D1 z- g1 L/ \
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# X$ Z% \' P- J5 n! F
  1606. ; http://php.net/url-rewriter.tags, m+ H! V4 @, v
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 {! F# _$ U, O7 ?

  1608. 9 M* d. B( n4 X; z- A) c/ ^
  1609. ; Enable upload progress tracking in $_SESSION) Y: s$ f) y; F9 \* l3 e
  1610. ; Default Value: On
    $ Q& @- t% w/ [6 j! J, l4 }
  1611. ; Development Value: On. f- ~  e" B8 z+ [8 B9 `
  1612. ; Production Value: On( b5 x5 z+ H4 S) w
  1613. ; http://php.net/session.upload-progress.enabled6 o& _9 N: e& Z
  1614. ;session.upload_progress.enabled = On
    8 T1 T1 d4 o& c' Q2 H; l! a6 @7 h
  1615. , R/ |0 N) y* V/ y# u
  1616. ; Cleanup the progress information as soon as all POST data has been read
    $ Z6 `/ s5 d1 X& d: n; p- G
  1617. ; (i.e. upload completed).* p" Z2 ?% ^! A% i0 F' R( B: i
  1618. ; Default Value: On7 ^, E/ p: ~( B1 E; _7 m. x
  1619. ; Development Value: On
    & u" _5 I2 C  q4 J4 z( ]
  1620. ; Production Value: On
    " F7 u# O- r. l+ I: z
  1621. ; http://php.net/session.upload-progress.cleanup6 M( x2 I+ D. s/ E6 s) b7 G8 I0 \
  1622. ;session.upload_progress.cleanup = On
    $ K' `5 |# x# X; z4 D5 V. ?
  1623. . }5 f7 B/ Y( w$ y; s/ i9 i% d+ X
  1624. ; A prefix used for the upload progress key in $_SESSION
    , S# p1 }5 F  @$ g# {/ |
  1625. ; Default Value: "upload_progress_"
    + l" j$ C' w$ }/ k6 ]0 ~0 _2 J7 c
  1626. ; Development Value: "upload_progress_"2 }9 w! H9 u* k- o
  1627. ; Production Value: "upload_progress_". m5 F2 P2 C  M6 T& l/ a5 ^2 P
  1628. ; http://php.net/session.upload-progress.prefix2 V2 O+ B1 c4 z1 R
  1629. ;session.upload_progress.prefix = "upload_progress_"
    * h1 E' Z  H  Z' Z2 `- \  H
  1630. ' S' g5 [/ K0 T
  1631. ; The index name (concatenated with the prefix) in $_SESSION+ ~5 Y! Y& Y+ d! Y, C' S
  1632. ; containing the upload progress information
    2 m  h8 \# I+ n" x9 k4 ~, `
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . }8 ~4 O- U5 z- v# Z) K% ^: \; |
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"0 z4 O5 k5 B' j" z
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) c( \, }. {2 R6 g+ E2 F, r0 B, }; Q
  1636. ; http://php.net/session.upload-progress.name
    - n7 B* W) p  B! J
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
      O- I7 @& B) |; y* v
  1638. , l  }6 {) z- o) X/ x
  1639. ; How frequently the upload progress should be updated.
    ( }% E4 c8 }& B8 _: b4 y$ l5 j
  1640. ; Given either in percentages (per-file), or in bytes
    ' J; a: g; @" ~% g; j2 H( r; z: j' j+ q
  1641. ; Default Value: "1%"0 t' p9 d" U' h+ @$ Q8 ~
  1642. ; Development Value: "1%"$ q9 U% \" H" z
  1643. ; Production Value: "1%"
    * [. r. J* q) P+ V
  1644. ; http://php.net/session.upload-progress.freq( C: I0 {; l9 x
  1645. ;session.upload_progress.freq =  "1%", ~8 c' s: s$ O  Q
  1646. 5 E" T7 u8 Q7 l2 j: O9 {
  1647. ; The minimum delay between updates, in seconds# }% Q) A/ v" d$ n. o; V2 U# n: C2 `
  1648. ; Default Value: 1
    # d+ E. ?- B+ f- n$ h( a
  1649. ; Development Value: 1
    8 x8 q; ?, r6 K* g0 W; t
  1650. ; Production Value: 14 f7 L  A- d' |/ }( \: N7 n% h
  1651. ; http://php.net/session.upload-progress.min-freq8 n. e4 t+ `4 F+ {3 e
  1652. ;session.upload_progress.min_freq = "1"
    8 z4 q( K! ?0 z/ h' r4 g1 B

  1653. 4 l1 E& B- Q3 s7 O# y' @6 [- O( m
  1654. [MSSQL]; J, d8 p6 P" G- @" W5 q# |
  1655. ; Allow or prevent persistent links.  O2 }* o* P; h$ Q5 U! }  W5 ]
  1656. mssql.allow_persistent = On' z0 S4 m6 V0 E) t

  1657. , y6 w' C4 S" Z+ A- A7 t
  1658. ; Maximum number of persistent links.  -1 means no limit.7 C+ B/ _1 V' b8 a. H8 @
  1659. mssql.max_persistent = -1. p" r; r* T6 W! [; Y/ @9 a3 J

  1660. & I% D9 w6 D4 o9 G* I' X
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    9 r5 ]& k0 |2 Q4 i
  1662. mssql.max_links = -1& A( R5 A' {- N, K- x8 Q  V

  1663. / t9 Y1 n% _- w, O6 v
  1664. ; Minimum error severity to display.$ h1 }$ c# g$ F
  1665. mssql.min_error_severity = 10
    . g; |8 a) I; F* v8 o0 W
  1666. & A) X  n; b$ S6 Z- M1 y
  1667. ; Minimum message severity to display.9 T. Y# Q6 v6 p) z# E
  1668. mssql.min_message_severity = 10
    , i2 W' ^3 r2 j! v

  1669. # L. \3 k( O4 f
  1670. ; Compatibility mode with old versions of PHP 3.0.* i- E4 H1 K1 f5 r
  1671. mssql.compatibility_mode = Off! x% N$ G6 }. T5 F+ g

  1672. 0 ]3 k+ _7 s" X  c
  1673. ; Connect timeout" b, h1 v  ~1 R8 I( b5 m
  1674. ;mssql.connect_timeout = 5
    6 Z) g8 O& I! [# S- U0 g' h
  1675. 4 f* I/ o# E! c' g, ^7 j
  1676. ; Query timeout
    " x; ], z& R7 i, _* ?1 V; s
  1677. ;mssql.timeout = 604 n  F5 \' I4 P

  1678. 9 ~% }6 g5 I/ \1 K( A/ s. I; T
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    6 `4 P7 S8 [* W; I: A( q, o' z
  1680. ;mssql.textlimit = 40967 @% V+ {. w# `/ j' \

  1681. , g. U" @& x) N& E& G* m- C
  1682. ; Valid range 0 - 2147483647.  Default = 4096.+ A# a: m  F* j5 b
  1683. ;mssql.textsize = 4096
    : h! T( h; C9 |' y1 @# G2 ^' j
  1684. ) i" b8 p2 S8 j
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    + `# }8 m# r" m/ F' V3 j
  1686. ;mssql.batchsize = 05 }# s0 W+ i$ e& E* I) t

  1687. 9 T4 ~6 O/ M( W: M
  1688. ; Specify how datetime and datetim4 columns are returned- w5 g/ w' s" @  a
  1689. ; On => Returns data converted to SQL server settings4 o( c; X9 m) |) s
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss7 z2 W# k, t$ u
  1691. ;mssql.datetimeconvert = On! ?* D9 c4 I& }, S7 A2 b' K
  1692. & e. W" K' W% ?) K
  1693. ; Use NT authentication when connecting to the server
    ; b2 E+ l: f2 l( H1 e* N: Q! g
  1694. mssql.secure_connection = Off
    5 M1 M/ E* s8 F( {2 F2 a
  1695. 9 v0 a* V: b4 z0 k* k+ i4 e
  1696. ; Specify max number of processes. -1 = library default
    , p: z, C9 q. M( ~  Q
  1697. ; msdlib defaults to 25
    - H( r; e8 x/ E- Z+ r! m; H
  1698. ; FreeTDS defaults to 4096& g0 G# k5 y3 Q
  1699. ;mssql.max_procs = -15 I0 G" V; X4 S  j; T
  1700. * T7 z5 H# k) w3 l# r- d6 l
  1701. ; Specify client character set.
    5 X; j: h0 y; s  c' q
  1702. ; If empty or not set the client charset from freetds.conf is used
    2 C$ ^  ?) ?- O( I
  1703. ; This is only used when compiled with FreeTDS  _" u. \8 `8 n* J
  1704. ;mssql.charset = "ISO-8859-1"
    $ t% X8 Q+ n1 M! ~

  1705. 3 ^8 H8 p: g% }; S% q) j& a: M
  1706. [Assertion]
    / J$ w2 h4 z9 h9 B. Q9 f8 }; F! S6 n
  1707. ; Assert(expr); active by default.
    # d1 ]% d$ O$ X
  1708. ; http://php.net/assert.active
    : S. T  ]1 l  C
  1709. ;assert.active = On
    0 K1 M& G! A( B# S! S# K

  1710. * D* W( b% ~3 ?, @! ^1 B
  1711. ; Issue a PHP warning for each failed assertion.9 v, p5 P8 j# N8 i( g1 ]& D4 \4 B
  1712. ; http://php.net/assert.warning
    9 j0 Q/ P# w0 O9 H  c5 S
  1713. ;assert.warning = On$ A+ h' C  X& u* Q3 j2 y9 ~- Z( E
  1714. + t0 C, ~# s& ~& \0 C' v
  1715. ; Don't bail out by default.  _' Z2 }' G! {; {8 t! G
  1716. ; http://php.net/assert.bail) ~: d2 L8 h) y) ]+ b7 S; t
  1717. ;assert.bail = Off
    % _) G3 |* f* W+ l5 Y1 K1 R+ l* A) s

  1718. 0 \; u% M6 U$ o: r$ [0 i& y
  1719. ; User-function to be called if an assertion fails.) X. \0 {1 ?& J0 `* u
  1720. ; http://php.net/assert.callback/ {4 Z# \6 o, H1 @
  1721. ;assert.callback = 0" I5 \9 k! I; v2 F6 S
  1722. % q2 h8 F* a  \8 F+ \8 U' V
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    ! f) O7 y! E' J6 F) K0 K: D
  1724. ; error_reporting(0) around the eval().
    0 W; I: j5 b: v( k. J9 N; |
  1725. ; http://php.net/assert.quiet-eval, e; w5 S. |. w0 T* ^6 a/ p2 ^
  1726. ;assert.quiet_eval = 0& M4 w; l7 g- w/ P/ T
  1727. / R$ a* k0 c, b+ o
  1728. [COM]- F) Q' ~7 w2 ~1 J# Y8 `; N9 V
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs5 p, `/ o* Z& f/ w. h* ?' @1 ~
  1730. ; http://php.net/com.typelib-file* C% S8 R! p! i# ?9 r' d
  1731. ;com.typelib_file =
    3 R! f, I- h& ~0 a- o
  1732. $ v! X' E$ V5 b% [& J- H& l* L
  1733. ; allow Distributed-COM calls
    / M) q! O) N3 d
  1734. ; http://php.net/com.allow-dcom/ h; f7 I' j( M: U1 K% Q
  1735. ;com.allow_dcom = true( w) y1 w+ U# c: {

  1736. 9 |4 c3 |0 F# U& Q
  1737. ; autoregister constants of a components typlib on com_load()2 z0 r* h. y2 S
  1738. ; http://php.net/com.autoregister-typelib
    - S9 P. t4 e9 ?6 e! U  @
  1739. ;com.autoregister_typelib = true
    / ^' l8 C- s* p5 x  T' X
  1740. : a+ ~) a* _/ ^' }0 a, s
  1741. ; register constants casesensitive% y3 W' E5 D) w0 l4 X
  1742. ; http://php.net/com.autoregister-casesensitive
    7 R$ V6 {" r# ?' d
  1743. ;com.autoregister_casesensitive = false
    % M" L& A- {1 [) o$ o9 q

  1744. ( d5 B. j2 G5 l* ^( j# O
  1745. ; show warnings on duplicate constant registrations0 K) ~7 c* k( n2 v+ R. I0 l
  1746. ; http://php.net/com.autoregister-verbose
    1 A7 {; r. u# y* }5 l* [0 `
  1747. ;com.autoregister_verbose = true
    : o* p( t3 @: [/ l. G2 a% m

  1748.   m/ {8 Y  R9 Y8 S5 S
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    ) a4 y3 {& y( B7 W; H. a
  1750. ; Default: system ANSI code page
    8 ]* d6 j% H1 g# U2 b0 D, o
  1751. ;com.code_page=' k7 X9 A) ?) L. E7 R! h- v
  1752. " |: `! m8 X% R% \$ _; F; C$ @
  1753. [mbstring]
    2 s/ d5 N2 {9 ^5 V7 I5 T$ W. K
  1754. ; language for internal character representation.' k$ A6 ?% o5 Z0 T
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    % K; Y8 F0 e7 D$ a  I
  1756. ; http://php.net/mbstring.language6 L; T0 |5 f2 z  H7 z3 N. {# k
  1757. ;mbstring.language = Japanese
    & e5 A0 n8 C( y+ Y) A. p6 z
  1758. / C9 R: z* v( V8 H4 E
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.$ t- p6 E( E2 `: C( G9 S
  1760. ; internal/script encoding.
    0 ^5 O4 b5 w9 E
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*). u( _" \  W& R: y
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.0 v" J; |3 W2 R" A% _: V0 A2 ]
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding% m7 V' c6 r6 f4 h
  1764. ;mbstring.internal_encoding =1 Q9 t. T8 h& j+ w5 X3 A

  1765. , O2 h" L( @4 k, T# `% U
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    : Y. h( T" z# L$ [6 c0 c  }+ D
  1767. ; http input encoding.
    % R- C) e, a" \1 V; b9 ^# n* d  T' t
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.9 c# m' V2 c( O9 @4 A- b" ?# {9 o
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.! k  d. b3 T. {
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input( E" P8 [$ @. r
  1771. ; http://php.net/mbstring.http-input+ n" o: w. ^' E0 @$ ~2 Q, Z7 `( \
  1772. ;mbstring.http_input =8 Q, @2 i1 x( R7 M# V$ l

  1773. 2 q1 u# W. w! V7 j7 D
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ' K3 `) x5 r. B" I' G7 Y( x
  1775. ; http output encoding.# k# d; a  F* j2 s  ?# s( m* P
  1776. ; mb_output_handler must be registered as output buffer to function.
    7 O5 D$ w1 p2 W$ X  v3 l
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    7 z0 [6 t# M5 B
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output. R' [; _' r; Y2 R" H+ p
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    0 v) Y! ^7 v6 @9 }
  1780. ; otherwise output encoding conversion cannot be performed.9 [3 p5 X0 \9 p1 f2 G
  1781. ; http://php.net/mbstring.http-output# W: o: [& x5 q! F- g) K
  1782. ;mbstring.http_output =. Z% |; a5 b% m$ k: G- }$ w. T# m
  1783. 3 X) k$ b! _' C
  1784. ; enable automatic encoding translation according to: Y- D! r1 l+ x! n+ w* k& l
  1785. ; mbstring.internal_encoding setting. Input chars are# S1 z6 Z3 {, F/ V+ ^% x: i
  1786. ; converted to internal encoding by setting this to On.* R$ m" C. s' d, U# w
  1787. ; Note: Do _not_ use automatic encoding translation for2 T  x2 g- B- |0 A& @. }4 k
  1788. ;       portable libs/applications.8 n0 F8 Y0 h: ^: {& G2 K2 i% C
  1789. ; http://php.net/mbstring.encoding-translation
    , e% m* `9 ^. a: V6 Z0 e* d- P6 U
  1790. ;mbstring.encoding_translation = Off
    ) s" A) D" {! ^
  1791. 1 K* z) v2 f! i2 ]+ c( t% i9 [* w
  1792. ; automatic encoding detection order.! d. W2 V+ s( g# ]! [. S& g
  1793. ; "auto" detect order is changed according to mbstring.language+ {0 l1 V6 V* H1 Z/ D
  1794. ; http://php.net/mbstring.detect-order7 \+ T" B5 g( b9 n$ w  f
  1795. ;mbstring.detect_order = auto6 x8 `* i! e/ C& L* S, y1 \1 t

  1796. . L" _8 X0 k4 U
  1797. ; substitute_character used when character cannot be converted
    ! J: Q6 t# X# n; a4 Y
  1798. ; one from another
    8 V. _( X' J8 w$ U8 M1 k8 {
  1799. ; http://php.net/mbstring.substitute-character% E9 m+ N8 N8 v4 {
  1800. ;mbstring.substitute_character = none
    - [# v  u9 E* ^4 c

  1801. % \% }7 k- ^3 x. H+ L$ z2 @
  1802. ; overload(replace) single byte functions by mbstring functions.
    8 {0 R3 x, E7 b1 m& i' C5 I9 f
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),2 r* A9 [( a9 C+ [% u+ t
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.6 \9 N$ C! E+ {  @! d
  1805. ; For example, 7 for overload everything.
    , u( T0 G4 j; K- I/ y9 }3 s! B* C
  1806. ; 0: No overload6 }& N0 }) O6 k0 A
  1807. ; 1: Overload mail() function
    2 F( m, F, _4 y
  1808. ; 2: Overload str*() functions
    % A1 S; v7 c5 ^0 }, V
  1809. ; 4: Overload ereg*() functions
    8 f# }& k3 Q* E& k: j
  1810. ; http://php.net/mbstring.func-overload1 T" |5 }0 Z5 ], S+ U: S, r
  1811. ;mbstring.func_overload = 0
    1 C& C% m% v& P5 S! W) W
  1812. ; Y6 w! g0 t6 s6 w
  1813. ; enable strict encoding detection.
    $ f8 I8 }& Z, I: X* f6 l; v
  1814. ; Default: Off# P3 G( R  h! s- V5 f- ^; v* p. I
  1815. ;mbstring.strict_detection = On
    ' C$ |# Y6 Y2 G3 u& v
  1816. * q$ j) Y6 h) Y' v
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    % O' q" @" H# r. y; l0 J& w0 ]
  1818. ; is activated.
    8 d5 K9 C) W. i) H# M
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    2 Y* q- f% K/ I9 c& [5 P5 B
  1820. ;mbstring.http_output_conv_mimetype=8 q8 H0 p4 G/ g9 t! d; k9 u

  1821. * Z0 l2 X. i% y3 g
  1822. [gd]
    $ w& q* O: Y* ]8 E3 f- c& P: W6 [6 t- D
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    * J7 P* ?% M/ H% a
  1824. ; a gd image. The warning will then be displayed as notices
    5 a6 I* y7 D8 @4 v5 `- W
  1825. ; disabled by default2 d2 m# ]& F1 C: V
  1826. ; http://php.net/gd.jpeg-ignore-warning6 T& w, o- z) V8 I: c: y
  1827. ;gd.jpeg_ignore_warning = 0
    5 d# B2 W5 l6 o+ g% m

  1828. * i3 d/ i5 l7 K
  1829. [exif]
    4 l7 H8 i; h3 O/ n
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.( h, B8 c, H+ ?; y$ e( ]$ w3 d
  1831. ; With mbstring support this will automatically be converted into the encoding/ N: C5 j# k7 g! d+ J# L+ I
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding0 j7 Z/ A" t$ \! ~' N5 ~( h
  1833. ; is used. For the decode settings you can distinguish between motorola and  i7 ^- T% |, a) R6 A$ l, I8 w
  1834. ; intel byte order. A decode setting cannot be empty.
    . k& r& t: V' M/ ?$ G2 o1 B
  1835. ; http://php.net/exif.encode-unicode
    % t) H) ^: b% [2 D( ?; e* x
  1836. ;exif.encode_unicode = ISO-8859-15
    % z5 y$ l: @) @! B& \& O5 x

  1837. 0 n' k0 @3 `$ F9 ]
  1838. ; http://php.net/exif.decode-unicode-motorola
      e* h* D- Q! Y7 T
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    - b+ |3 ]6 D  F& z3 j4 |

  1840. & [) r: W) m& t3 H: F& {
  1841. ; http://php.net/exif.decode-unicode-intel$ Z! A- R- D0 V! i
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    # ^: C) f7 P% i6 c7 [+ D4 e+ o
  1843. ; f' t. F+ E% O& ?  ]: n; w- A
  1844. ; http://php.net/exif.encode-jis0 z' u4 U$ |1 l
  1845. ;exif.encode_jis =
    ' W* A# T; z- r+ z/ q

  1846. / f2 a. A6 J9 y  a
  1847. ; http://php.net/exif.decode-jis-motorola' H: a5 T: Z+ L, R6 O9 a
  1848. ;exif.decode_jis_motorola = JIS7 s. n  v0 N& Z  F2 l

  1849. $ l3 N. q4 x1 C5 W! y9 N
  1850. ; http://php.net/exif.decode-jis-intel
    & J, t* h" B- I4 N1 x0 V
  1851. ;exif.decode_jis_intel    = JIS5 i+ B9 X' q$ `: D" o

  1852. * Q, Q5 r4 |+ y  l0 j
  1853. [Tidy]
    5 c6 i1 @+ r) g
  1854. ; The path to a default tidy configuration file to use when using tidy
    2 R. b# H* I$ L: B% F7 }
  1855. ; http://php.net/tidy.default-config
    9 ?% _# N7 P9 ]! n; l; r
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    0 D% N  N* a: W- b
  1857. * u) t3 P8 R; y: [! d! A
  1858. ; Should tidy clean and repair output automatically?
    9 v1 c: N' b, q* J2 g/ Z% @; v/ z
  1859. ; WARNING: Do not use this option if you are generating non-html content4 S1 ^/ A$ M$ C+ S
  1860. ; such as dynamic images4 Q! [: E- g7 q% R" {; Z) D! N5 N9 g
  1861. ; http://php.net/tidy.clean-output6 j, d$ y+ t3 B
  1862. tidy.clean_output = Off- Q& a; Q/ G  l0 E  [6 ]

  1863. ' n: S7 u! B3 n" |4 b; _+ r! Z
  1864. [soap]3 T. N5 @  Y) O* @
  1865. ; Enables or disables WSDL caching feature.
    ( V& T" v$ |( E0 s$ ?+ ~, y
  1866. ; http://php.net/soap.wsdl-cache-enabled
    ; B4 N# C4 r  r/ Y# D
  1867. soap.wsdl_cache_enabled=18 D& Z  w) R: S. T: K5 `5 C

  1868.   z5 @; M7 j4 |9 L2 M% O
  1869. ; Sets the directory name where SOAP extension will put cache files.6 g  G* B" Q2 ~+ W$ s
  1870. ; http://php.net/soap.wsdl-cache-dir
    + {2 M3 Y" r) T, y4 G
  1871. soap.wsdl_cache_dir="/tmp"
    4 a/ i& S/ v) \) G) z
  1872. - w, E4 Z$ w+ a$ S0 c
  1873. ; (time to live) Sets the number of second while cached file will be used
    ' O' o4 q9 S$ `, J7 u
  1874. ; instead of original one.
    " l6 U6 v0 ~0 j7 f; [
  1875. ; http://php.net/soap.wsdl-cache-ttl
    ' Y9 `4 o# v) q3 @! A, k
  1876. soap.wsdl_cache_ttl=864006 n* ^/ N6 q- s6 x, x1 e
  1877. ' F6 h1 S/ p, E) L
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)- E( B; G6 ]! i% X; X$ r
  1879. soap.wsdl_cache_limit = 5& v6 a9 D( x/ K- t# {
  1880. ( e. u$ z4 Y, h/ S- J3 N
  1881. [sysvshm]
    " X( B* J, h( V
  1882. ; A default size of the shared memory segment
    / x4 s( r2 a& t: C% `6 q
  1883. ;sysvshm.init_mem = 10000
    " o1 w/ |" x' C' f" H+ {
  1884. - t+ b( L3 V& k0 t: |5 o! k
  1885. [ldap]9 ]7 h% _1 C4 j2 a8 C
  1886. ; Sets the maximum number of open links or -1 for unlimited.9 a5 E* y: l% z8 t7 T  [
  1887. ldap.max_links = -1
    + U6 ]1 K+ F$ E, |, B

  1888.   k2 r+ W- O, @# m0 D: W. c' g
  1889. [mcrypt]; F% S0 y0 g9 e
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    / ]! u& ?. c- S
  1891. ) q% s5 w3 Z% H
  1892. ; Directory where to load mcrypt algorithms
    5 X, Y- m. M. f3 \' |# h5 O# H% @
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)& u( m% X6 L6 X& R  v& s
  1894. ;mcrypt.algorithms_dir=% h5 `/ _4 h) T
  1895. ! d! g' S% u, V. I, D
  1896. ; Directory where to load mcrypt modes' E( D& K- B- f# R
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)2 @9 A" s6 s  ~! T
  1898. ;mcrypt.modes_dir=
    : `/ \8 s0 i+ P: ^$ R) H

  1899. % e0 Z9 ^! N) m" M' A+ o1 ]% B" v
  1900. [dba]& R# u9 `& i2 S/ r7 b* {+ b! Y
  1901. ;dba.default_handler=
    & P8 W2 E( J4 U/ W% V! G

  1902. 3 Z8 e6 a1 v& h0 k
  1903. [opcache]
    " N; P' I$ O8 s- h
  1904. ; Determines if Zend OPCache is enabled
    9 I1 w1 ?% z& b3 |# o) s+ i$ t+ U
  1905. ;opcache.enable=0
    ( }: M1 p- r. h3 C
  1906. 1 s' k* q3 X% |0 \
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    + |0 X! r8 `" u. L
  1908. ;opcache.enable_cli=0
    6 P' n4 J9 `& H4 q  X

  1909. 6 Z% |) x3 q0 m/ T
  1910. ; The OPcache shared memory storage size.
    . ]8 ]5 U+ l) ^) c5 f7 m
  1911. ;opcache.memory_consumption=64
    7 K9 k" K, l; i& J: m5 F  F* w, @

  1912. 8 [2 L8 s. X! {- v! w+ X; F) C
  1913. ; The amount of memory for interned strings in Mbytes.
    ! c9 U, F9 k6 F1 x# A9 x
  1914. ;opcache.interned_strings_buffer=4
    , W" c. K' ~% W& U/ K1 P  C
  1915. & k0 `5 I! p: D9 w( t5 R6 l
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.+ O5 `/ D( y, Z; _
  1917. ; Only numbers between 200 and 100000 are allowed.6 F% x. _' ]1 x( S' g  E
  1918. ;opcache.max_accelerated_files=2000# S; h4 L( k" i
  1919. 9 K8 N; Z- [# e
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    " \- v) T4 D, u# k# J% F4 \
  1921. ;opcache.max_wasted_percentage=5- k/ w/ a! x: B3 E4 D" x

  1922. ( s& G, s( L9 p$ i6 c
  1923. ; When this directive is enabled, the OPcache appends the current working; P) o3 A7 [' W+ ^. t
  1924. ; directory to the script key, thus eliminating possible collisions between9 Y0 u+ S0 _% E# p  A) e) u8 h7 s
  1925. ; files with the same name (basename). Disabling the directive improves6 l+ H6 E1 I  r3 O2 M
  1926. ; performance, but may break existing applications.
    ) ]; e2 _) g" c
  1927. ;opcache.use_cwd=1
    # u* M, M7 c8 Y* `

  1928. " s9 d& e0 h( W" S! B$ B% J, u
  1929. ; When disabled, you must reset the OPcache manually or restart the
    8 d# C- f7 R( {. w7 o# O
  1930. ; webserver for changes to the filesystem to take effect.
    $ T6 M7 G# ]9 f* h- B7 }2 U$ a
  1931. ;opcache.validate_timestamps=11 R/ \& ^; P+ R+ _$ q

  1932. 2 M. O( G; k0 Q. k$ p1 K
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    9 T+ z0 U* f& x" l9 [2 Q
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    3 K# j$ E  e$ k5 F" A) [
  1935. ; once per request. "0" means always validate)" G) z  s+ \8 u4 N' D- f
  1936. ;opcache.revalidate_freq=2
    9 q. M* V( J, W+ T7 g. }! W7 }

  1937. & c6 Z/ G8 u+ {) N+ a. @: ]1 I
  1938. ; Enables or disables file search in include_path optimization9 K+ M1 Z8 x2 d8 y+ v  u* M- C
  1939. ;opcache.revalidate_path=0
    $ i6 O$ `1 {) x$ S3 R( v
  1940. 8 N7 y% ]/ d5 J2 g6 X+ y5 f- p
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the5 X* I- Z' M1 {: h
  1942. ; size of the optimized code.
    ; v( Q1 E' e3 s" p9 x
  1943. ;opcache.save_comments=1/ F0 U  O7 g& }0 \5 e+ j8 @& B) j
  1944. # `  G% n! s: D) e# z
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    ; ^0 i7 t: y$ p- ]( K9 I! T3 z4 t
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    , K: O8 d7 s# Y" f0 K0 g/ v  E
  1947. ; that don't need them anyway.
    3 Z  ^8 A3 [/ u$ ]! }
  1948. ;opcache.load_comments=1
    9 [  _. B+ F# x$ N; H% `" {. f

  1949. " k# y# {/ A# T3 J. v* M
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code. M/ X3 p7 V& a) v  s, L6 K2 b
  1951. ;opcache.fast_shutdown=0
    $ ~& G1 o8 Z4 Z2 |  e

  1952. 9 c, c$ G  z" q/ A7 w4 H
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    1 z* L/ ^" @9 z5 @
  1954. ;opcache.enable_file_override=0
    ' N( D8 ?! x2 o9 U' r; H+ U

  1955. ( v2 u. ^4 N  b
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    6 g) K% T& m4 H2 M4 \1 r: V5 R
  1957. ; passes& E) }- }) X! X% N9 m- J% z
  1958. ;opcache.optimization_level=0xffffffff; w( ^+ T6 \- `% z1 n0 O

  1959. 7 f5 g4 h0 u* f3 J$ Y7 a, P* R
  1960. ;opcache.inherited_hack=17 b' a* ^8 t: Y0 A6 I, C2 w: c
  1961. ;opcache.dups_fix=02 U9 _* T  F0 T- R. q; I: x0 I

  1962. ( j0 D# q: O# N3 E  O3 Z( C
  1963. ; The location of the OPcache blacklist file (wildcards allowed).! o; U  l2 V) j0 S" w
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    ) C" c" H0 C( c: G6 i9 k! |" ~# W: y- |
  1965. ; that should not be accelerated. The file format is to add each filename
    $ `# M; j. p" a2 Y( u9 K
  1966. ; to a new line. The filename may be a full path or just a file prefix$ J9 _- @1 O8 B% y+ P
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    . e8 b" h/ y8 g
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).1 O% A! h1 k( q
  1969. ;opcache.blacklist_filename=/ `9 y  W7 g# m# b" j, o

  1970. ! Y1 J' ^$ K8 b- u7 Q
  1971. ; Allows exclusion of large files from being cached. By default all files4 A6 P3 u/ ~( F3 C
  1972. ; are cached.# V; T6 x* i& C* `) l$ x
  1973. ;opcache.max_file_size=0  D6 G/ v! J- G

  1974. 1 k. w9 Q* _: R, j+ x+ ^
  1975. ; Check the cache checksum each N requests.8 o9 T, q" u6 V( V2 P/ s
  1976. ; The default value of "0" means that the checks are disabled.
    ) B; K/ ~! ^" D9 b7 o
  1977. ;opcache.consistency_checks=0
    ) s2 Q5 x. o# E+ e: ^$ ^& K) i" r

  1978. , ?0 J; Y0 k2 f. Z
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache* H. m+ n1 p( G* A/ u9 V
  1980. ; is not being accessed.
    ( k: ]$ A$ y8 L
  1981. ;opcache.force_restart_timeout=180. [- a5 w1 k. ?' k
  1982. 2 p6 P6 C3 b; w5 X, S
  1983. ; OPcache error_log file name. Empty string assumes "stderr".: ], C0 `  ]  ?" G1 k
  1984. ;opcache.error_log=
    $ e0 p  ~; \  |6 Y0 m+ f
  1985. ) s- U; L( e* R& I
  1986. ; All OPcache errors go to the Web server log.
    ; L9 ?2 V! n! C( c! f$ u, m
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
      e( G! o2 _  E/ j8 d8 I! C4 z' Y: \
  1988. ; You can also enable warnings (level 2), info messages (level 3) or, L' d5 h- w5 e, ?) J
  1989. ; debug messages (level 4).. l3 a: n: q3 |6 I
  1990. ;opcache.log_verbosity_level=1, U" ~6 p6 X0 T
  1991. ; ~5 x8 F1 d& f+ {
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ) v# a+ l7 O  _) l4 r
  1993. ;opcache.preferred_memory_model=
    ! y+ K% F$ _& ]6 C4 z$ J3 l
  1994. % u& z" I6 F) b. |" A
  1995. ; Protect the shared memory from unexpected writing during script execution.
      ]! r* l. F. P7 i+ n; [! j5 u
  1996. ; Useful for internal debugging only.
    - E; E0 ]& I" r& d' H
  1997. ;opcache.protect_memory=0
    ' {6 K: S; n5 x% p, Q3 l8 j% V; ^
  1998. 8 f: q; m$ N; Q9 d5 s% n
  1999. ; Validate cached file permissions.
    ) O/ J: p( Z2 j; K0 m( L0 V0 c. s
  2000. ; opcache.validate_permission=0
    0 s" Q/ ~* x% J' e% i" {

  2001. . P: ^; M( [) E9 i9 w: ^( p
  2002. ; Prevent name collisions in chroot'ed environment.- \' F& K6 X# O5 I2 h
  2003. ; opcache.validate_root=0: k- q9 E; X% l& Z& Q
  2004. 6 J. ~- e: P! a' e
  2005. [curl]0 H1 K/ y3 o' W- K
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    $ X/ G8 W4 ^1 ^; W& d1 w
  2007. ; absolute path.
    0 c! [& i; l+ J: _3 P$ k
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    9 t! d6 ^: J0 I
  2009. & z) }9 x4 }3 L! @8 q5 C
  2010. [openssl]7 s- [3 P5 ^0 ]5 N4 L
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem: y# t* u* T8 Q
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    & @1 N  Q9 `* k1 \4 j1 v- ^
  2013. ; not specify a value for this directive as PHP will attempt to use the2 X! k/ W4 l4 D5 K. X) e  V
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    1 D9 O* ]. }) w" w( o/ |
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ; v$ P# [% }/ E4 ]& R# D
  2016. ; option.
    9 t/ z1 n. ?! s' ?: B
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt. F9 R6 T# f: C. {& J# z/ c

  2018. 5 m- }. B; c% p' g1 a$ C! `7 ]
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    9 z8 f# D9 r3 b0 `4 a0 _, x
  2020. ; directory pointed to by openssl.capath is searched for a suitable$ A$ Z0 [4 H' n! `) ]; B/ S
  2021. ; certificate. This value must be a correctly hashed certificate directory.) {, n5 U' D5 a% S( u- }
  2022. ; Most users should not specify a value for this directive as PHP will
    6 p# i2 H! M4 j9 E
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    . |1 q2 ]  e5 X: h& o: E
  2024. ; this value may still be overridden on a per-stream basis via the "capath"0 z) e& l9 \$ Z' S6 x1 B  f
  2025. ; SSL stream context option.2 \! @! L1 S" Q7 w( A& Y# |& U: e
  2026. ;openssl.capath=: a5 d" T9 a4 a! Y( @
  2027. ' T% P. Z5 h/ o" v& v
  2028. ; Local Variables:
    8 A. |  l4 x" V
  2029. ; tab-width: 4
    2 u3 @$ i2 u7 r
  2030. ; End:$ a( [/ U7 M# Y+ a3 ~+ h$ }6 ?

  2031. - y# p; g2 y6 S1 D) l
  2032. ;eaccelerator
    " j! M. X4 U+ i) Z$ V

  2033. & Z# W3 j$ d# [2 V& F7 x
  2034. ;ionCube
    ; E' J4 B/ b+ F, K& ]7 O  n% g& Y

  2035. / T8 {% `1 D! S1 X- T
  2036. ;opcache
    ( _* v& ?2 P! [4 V- O

  2037. - X4 u1 F  ^; k: u) N% X8 @9 U
  2038. [Zend ZendGuard Loader]
    % D. w- w; ?$ Y, \& ?; V+ l2 c2 U
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    ) I- {, K: L( {1 h% j! T$ R* `2 Q
  2040. zend_loader.enable=11 S! @. f6 _. j. o: B9 t
  2041. zend_loader.disable_licensing=0+ p; y" s; f, J+ g) k
  2042. zend_loader.obfuscation_level_support=35 I+ W  |: }& m9 E) A) E% J
  2043. zend_loader.license_path=9 T" n! v. n$ X  d5 u3 {: R& r5 l* V
  2044.   t& G2 O3 B* d, Y5 [. O$ ^
  2045. ;xcache
    ; M8 p1 I, ?, y) N
  2046. 0 }+ c3 F- ]( i# W
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
$ k# l$ \: ]5 g4 S" L% ^3 f( p/ y) [# T2 G

2 X/ U. `- l" Z" D+ r: u2 g; ?Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
! I" s  T: m6 \0 u) e8 W4 ]% i) _( I/ M
Discuz!程序版本选择:  c, h+ R' @/ u0 C
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
& L5 C# d( H( }2 x. m2 I8 i不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:5 K" f. u6 u5 G* l( d  t
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。
. G8 C3 u/ g- ?# C5 d8 N) h/ M- m* s" m8 k( G
Discuz!插件模板版本选择:
0 Y6 |) R) w+ T8 C( ]0 o  \3 _. f很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
( c6 h+ F+ L8 G8 o$ T4 B6 A0 U针对这个问题做个统一的普及:
% b" m" u% c3 H& N  ?X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。+ S( |+ @6 ?* {" G
8 p$ Q/ g6 X* n. l9 _6 J7 z
所以
! ]8 C3 m% s  U3 M适合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的二级域名。, |- H/ Y; h2 j( w+ w! K
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
9 K6 q+ H4 m# W$ u注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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