分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0( Y. l6 y' }7 B8 H) z9 i1 K

8 a: o( D  I; H" r
  1. [PHP]
    # `! \; _: T5 a3 a

  2. 0 ~, k# Y) {, I" @3 f: o% Y! r
  3. ;;;;;;;;;;;;;;;;;;;
    ) c5 G; t' U& ^8 I8 G
  4. ; About php.ini   ;
    0 k  K* O; W3 c) X
  5. ;;;;;;;;;;;;;;;;;;;
    + L* J4 {4 N7 P: p6 O6 Z
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    % U: g4 W$ M8 [+ ?- c
  7. ; configuring many of the aspects of PHP's behavior.# d/ q; O0 r# d% ~
  8. 0 i( x! M& a7 ]$ `! d' Z: {
  9. ; PHP attempts to find and load this configuration from a number of locations.
    2 i6 [" A' d+ `! r# m5 w
  10. ; The following is a summary of its search order:
    3 a2 g/ b* f9 Q. [. D9 O5 ~4 y% \
  11. ; 1. SAPI module specific location.
    2 T4 a2 q! ?. d# Q/ `% J( v6 k
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)$ G3 _. }$ R; n+ t: I9 N& q# v
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)* N. \+ V; v* k
  14. ; 4. Current working directory (except CLI)
    7 U' B/ h. M8 L0 [7 m, |4 A
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP3 z2 o& F" I. M8 @% P- w
  16. ; (otherwise in Windows)1 E  m5 i$ {% n' p# M* N
  17. ; 6. The directory from the --with-config-file-path compile time option, or the/ e% M+ }( d# p2 Q/ f
  18. ; Windows directory (C:\windows or C:\winnt)
    1 S, _) E2 h; }0 j0 [! X
  19. ; See the PHP docs for more specific information.
    2 K* c5 h9 M2 f( G4 \9 ]1 [  r
  20. ; http://php.net/configuration.file9 C  U1 H) Q( {# R0 C
  21. 6 O) R  b, i- H! q3 i" Q1 I
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ( _, u( H+ q( S8 d
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ! o0 ?/ u# l8 J% e$ h7 m
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though5 r5 B1 ]2 b) m6 ]
  25. ; they might mean something in the future.7 |! ]9 S; u9 [( P$ z+ c& D
  26. $ c/ V9 t) }4 A. ?3 h9 M7 C' o
  27. ; Directives following the section heading [PATH=/www/mysite] only2 y3 C8 A: y% _( C0 H# V- p6 m
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ' f" y# l1 R* o& z4 f/ Z" X
  29. ; following the section heading [HOST=www.example.com] only apply to
    - {" m8 j4 O3 v! p/ \, ?4 n
  30. ; PHP files served from www.example.com.  Directives set in these
    & t. ~) n$ ^; X. [1 Y' p6 w2 I
  31. ; special sections cannot be overridden by user-defined INI files or7 x% f+ S9 k4 ?; B7 z( t; W$ x
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under( g, G4 D4 L" d* z5 q' D; x- Z
  33. ; CGI/FastCGI.# H5 M+ s5 A6 z; Z* R- K
  34. ; http://php.net/ini.sections, E$ X) C0 k; Z8 o# a3 p

  35. ! R( B5 a3 p9 B* x
  36. ; Directives are specified using the following syntax:
    0 o6 I9 A* X2 Z1 ^! A& {* z
  37. ; directive = value
    . ^' Z* J# `8 `+ t  d
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.# l6 m+ z3 g' M, [+ y9 c5 z, n
  39. ; Directives are variables used to configure PHP or PHP extensions.7 a5 t0 b, o0 E( r& g; y
  40. ; There is no name validation.  If PHP can't find an expected. B( h  p& d9 J. X, g; J
  41. ; directive because it is not set or is mistyped, a default value will be used.' i6 a2 u5 {# {% [. x5 E
  42. 5 O* V+ g7 u0 c7 Q" a: `1 q6 B
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one3 c8 X8 n4 K) R2 r/ X
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    3 T7 ?: k+ M0 D. u4 n/ Q5 X& v+ }
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    3 K& p3 R' k9 Y6 d4 C7 J
  46. ; previously set variable or directive (e.g. ${foo})* |' ?1 r, O7 u" T& t

  47. & @+ Z& m( j  o% K
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    7 S6 b  m( _7 w0 ~
  49. ; |  bitwise OR# D3 E  S4 s: V
  50. ; ^  bitwise XOR
    2 Z& c$ d9 Z' e& e3 O: ^
  51. ; &  bitwise AND
    + B* G3 W& a/ P/ M! i* k
  52. ; ~  bitwise NOT
      x) C- O2 D+ n% L
  53. ; !  boolean NOT
    5 _4 |: p. j+ y
  54. 4 d& s% ?- J# @0 d2 Y2 \% p! m
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    3 \  o- H, W! ]. E. h
  56. ; They can be turned off using the values 0, Off, False or No.5 Y  t3 p( K; ~' e- P* {3 O
  57.   M. I* y2 t* U% `0 g) k
  58. ; An empty string can be denoted by simply not writing anything after the equal
    + G% g2 X7 N8 ?; p0 u
  59. ; sign, or by using the None keyword:
    6 C, z! ~3 ?( g/ {, a! E: N
  60. 1 c. V* z( M; L6 ^4 f- a2 ^
  61. ;  foo =         ; sets foo to an empty string, L4 N. ~$ J1 e( V- R, [1 {
  62. ;  foo = None    ; sets foo to an empty string
    " i; j4 m9 v1 J: H( E
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ) k& G4 X# \1 k. ^6 Y
  64. 7 c4 S1 W, |0 T' D5 _7 G/ e
  65. ; If you use constants in your value, and these constants belong to a
    " Z6 o/ z7 }1 L1 C
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    % M; R7 b* \: K+ c4 ]0 ~) T& y
  67. ; you may only use these constants *after* the line that loads the extension.
    3 d  t) P. T# x$ ~+ t: D6 e

  68. 7 u1 V& R1 S4 s! Y: j
  69. ;;;;;;;;;;;;;;;;;;;
    3 c& R+ L; u: U  z1 }4 M+ c
  70. ; About this file ;
    : x4 v' U. ]' M* @) ^0 y5 P
  71. ;;;;;;;;;;;;;;;;;;;7 t" x9 z) `0 c6 }$ Q0 ~: s
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    9 X4 _% d* V/ |& d
  73. ; in production environments and one that is recommended to be used in, t5 \& E- K) Y
  74. ; development environments.
    . l. u  ]8 e5 @# h! @, c  z

  75. 1 r+ }& K5 \; R
  76. ; php.ini-production contains settings which hold security, performance and" G1 F8 A# Y( E4 y8 v
  77. ; best practices at its core. But please be aware, these settings may break+ }, z, {$ H1 Z6 |8 V$ ?# m% O
  78. ; compatibility with older or less security conscience applications. We, A  S0 t3 ?$ Q
  79. ; recommending using the production ini in production and testing environments.) K) {& z! i/ S, i* G) O
  80.   j/ L# }: P/ w* I7 }, O
  81. ; php.ini-development is very similar to its production variant, except it is
    8 H3 C  |( E9 ^
  82. ; much more verbose when it comes to errors. We recommend using the2 O4 r* I: E8 m' X+ l1 y
  83. ; development version only in development environments, as errors shown to, f' S0 e, K9 M$ y# K" a2 Q
  84. ; application users can inadvertently leak otherwise secure information.! B$ b0 F4 V+ b  k) I2 R

  85.   `. p: u  n1 D- U& V, N
  86. ; This is php.ini-production INI file.
    ; M' S2 b2 s* n7 [

  87. " q* f. H/ J% ~
  88. ;;;;;;;;;;;;;;;;;;;( q$ C0 J. q6 g6 k$ f8 U! a
  89. ; Quick Reference ;2 L. B% Z8 I5 ~0 I: X  {
  90. ;;;;;;;;;;;;;;;;;;;
    4 y1 m* H: w& X% }
  91. ; The following are all the settings which are different in either the production1 M/ v  M0 j0 b/ f: k" E: H+ v8 f
  92. ; or development versions of the INIs with respect to PHP's default behavior.* f* F' @8 n1 H+ z+ i& N3 @7 h
  93. ; Please see the actual settings later in the document for more details as to why: m. o  Y, ]: @9 L. I3 `
  94. ; we recommend these changes in PHP's behavior.0 e) V$ D3 v, O, o0 v5 j4 u

  95. - O  C) S3 U4 R  T2 ?! V) b$ m
  96. ; display_errors2 G7 y- O5 {$ I+ o9 ?0 C( H
  97. ;   Default Value: On
    9 N6 B5 s' P+ @7 d2 i3 x+ B
  98. ;   Development Value: On
    , n3 }! l# `8 ~- i5 M- x- i
  99. ;   Production Value: Off
    ' R- y% `0 S5 S0 p

  100. 6 H& k0 X- U4 Z# D4 y) O7 C* n3 @
  101. ; display_startup_errors& h; R6 @/ C% L  f8 O" O" B7 n7 x
  102. ;   Default Value: Off, V+ a' c+ f* u: ]& b6 v
  103. ;   Development Value: On
    * L$ r2 \  m- L% X, ~* {5 U
  104. ;   Production Value: Off/ \( G* i; o4 E5 C" i
  105. 9 {. t/ ]5 ]: C: }& v% M0 c
  106. ; error_reporting, z6 b: s* B5 F. J1 h; g/ w+ s
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED2 E6 I( l2 U  i) G2 ?% d1 O  f
  108. ;   Development Value: E_ALL
    + L: F, B9 T' L2 f1 V( l$ S! Z
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    8 v: j, o" b+ @

  110. ' B9 j+ U5 g' C/ y4 q2 W
  111. ; html_errors% g0 z; d6 J) Y2 U
  112. ;   Default Value: On
    / ]$ O8 t& c1 Y7 J$ L, S7 D% ?
  113. ;   Development Value: On
    % u9 _" J7 K$ @" L- J3 M
  114. ;   Production value: On: V! z' R- x5 e6 m
  115. 1 U( l$ x( j+ J" n" P3 \2 v' b' l
  116. ; log_errors
    $ Q$ a' _9 y8 D) f
  117. ;   Default Value: Off
    8 B( Q( n' ~; I5 h2 r, i1 i
  118. ;   Development Value: On  C: m1 C  Z2 W  T& f8 Y  r
  119. ;   Production Value: On
    ' a7 A8 G+ Z  f  Z, [/ L( V5 u
  120. 5 d5 ~3 d% j9 B! v  I0 `
  121. ; max_input_time
    + F" G2 s- w1 U' l' I( [5 z4 p
  122. ;   Default Value: -1 (Unlimited), d; P3 n' ?( X1 e
  123. ;   Development Value: 60 (60 seconds)4 S0 \  N% g  e7 ]0 w
  124. ;   Production Value: 60 (60 seconds)
    : W, V6 r! ?" s4 G/ R; J) D' z2 k1 e
  125. % i0 T8 O4 h7 U2 N5 s
  126. ; output_buffering
    4 t4 Q+ V4 l5 b( R0 u+ S% m* p4 s! R
  127. ;   Default Value: Off
    / k0 G1 D7 O3 v8 B$ E6 R, k
  128. ;   Development Value: 40969 Q  O# m) _& B  H% h3 G2 c9 A
  129. ;   Production Value: 4096% d; c- S0 i# Q" F
  130. * G! B0 _: r2 w
  131. ; register_argc_argv/ c* _3 {7 ]: \
  132. ;   Default Value: On
    / q, X+ z  N6 Z* n/ L
  133. ;   Development Value: Off
    2 L7 ^8 @( \' e( \& Z3 d$ {% ^0 j- T( ]
  134. ;   Production Value: Off' a) K" e9 S1 x; P6 y1 F3 b

  135. ; ~1 s& x0 J& z' N. _
  136. ; request_order
    , c) U- g, S7 @8 o, S  P' M
  137. ;   Default Value: None2 m& p# _. {. @
  138. ;   Development Value: "GP"
    1 O7 c1 g/ v0 G. q; v4 F
  139. ;   Production Value: "GP"
      p1 v# c9 j8 e0 |
  140. . n3 p$ }. |) J6 S7 F) Q  n$ S& w: ?  \
  141. ; session.gc_divisor
    & p; \1 _& Y2 w1 c) P
  142. ;   Default Value: 100
    1 E& ]; w- |, v8 c. l% w1 a9 ?) P
  143. ;   Development Value: 10008 B9 l0 k9 L7 ?  n% O" |) B
  144. ;   Production Value: 1000* I! M' d6 w% B( P+ q* ~$ O

  145. ; A. b1 _4 f& f) z
  146. ; session.hash_bits_per_character4 }; t3 r- N4 ^% \1 n5 v
  147. ;   Default Value: 4
    8 _( o2 [5 h2 F' k# x
  148. ;   Development Value: 5
    8 @( b! w+ i: C  a* j
  149. ;   Production Value: 5
    & I/ Y. J" C* B
  150.   L- o; q- D* R+ x% ]4 Y
  151. ; short_open_tag5 ~2 J. t3 d! n1 R, G  O& c
  152. ;   Default Value: On
    ( `* L% ~  ?- n; t+ C4 T
  153. ;   Development Value: Off  r1 @5 h1 h. K& p" [& g( g
  154. ;   Production Value: Off
    ' U' h& d$ c* [; ?) E% j' P, I

  155. 7 Z8 F1 b' \! ]% o) ]
  156. ; track_errors
    8 O! z5 L/ e1 a7 b1 Q& y1 k% n
  157. ;   Default Value: Off
    ( n" @! C! V' z' J+ L' ]
  158. ;   Development Value: On6 o/ f% x$ Q4 ]& r
  159. ;   Production Value: Off
    $ j% z: d( R# W5 m

  160. : @7 M! H! B* B* e5 ]7 @8 W3 T
  161. ; url_rewriter.tags# @# J& q: d. [
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="' O  M) O% x* A% d  D
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - m% F6 p3 d# _0 {; }% S% F) b& _/ s- e
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 x" o) q. _. m- T) P
  165. ' ^' q# a3 j5 k- |( X3 C% |9 c3 P
  166. ; variables_order
    6 l- F* Z  i# d
  167. ;   Default Value: "EGPCS"$ m1 ]" s$ ?7 F+ c
  168. ;   Development Value: "GPCS"/ ^; T! X. S3 N; O7 {
  169. ;   Production Value: "GPCS"
    4 Q% M& K3 o% T
  170. # h  N. |+ g$ g' N# ~
  171. ;;;;;;;;;;;;;;;;;;;;! U- X, J0 g7 P  t9 z
  172. ; php.ini Options  ;, _5 P6 p) {8 n
  173. ;;;;;;;;;;;;;;;;;;;;: k, A$ a4 D1 @/ I0 S
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"1 h* G. A+ y* d5 L+ W( D' l' Y
  175. ;user_ini.filename = ".user.ini"4 ~0 |" x* ]5 a2 x

  176. 5 h" Y" i( h' m
  177. ; To disable this feature set this option to empty value
    * |) i. Z1 l! H% U; c8 u  y. v
  178. ;user_ini.filename =1 D! i& J* s8 y/ b
  179. / v; J# L! i) s% g+ N, g
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)$ v+ \! e1 [+ h" R  y
  181. ;user_ini.cache_ttl = 3009 n8 b$ S0 G7 e5 k

  182. / B; c1 g7 q; i. H% ~
  183. ;;;;;;;;;;;;;;;;;;;;
    $ E% d1 F" T: ]( V- i- H6 j
  184. ; Language Options ;7 G- G  g  @# D( x' C7 y/ u
  185. ;;;;;;;;;;;;;;;;;;;;
    4 j1 D* r# i$ |3 n* f" L: W! Q
  186. 4 ?% a) V- b- B* r
  187. ; Enable the PHP scripting language engine under Apache.
    1 I# I) R' T6 L) Z$ V
  188. ; http://php.net/engine
    2 ?5 Y; q. y* Y6 |7 G3 Q
  189. engine = On  g4 N: a% r0 X! R/ M
  190. * ^, y) Q! h! p% x6 ?/ v9 L0 P
  191. ; This directive determines whether or not PHP will recognize code between
    1 x  i1 A) k7 s  M# K
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
      j" u8 R- @, X6 d: F7 v; O: N
  193. ; generally recommended that <?php and ?> should be used and that this feature2 l2 s9 f; q4 H7 ], e) H1 _8 n
  194. ; should be disabled, as enabling it may result in issues when generating XML
    3 s2 a( }; n2 ?5 \
  195. ; documents, however this remains supported for backward compatibility reasons.
    4 D' T9 w1 w3 P
  196. ; Note that this directive does not control the <?= shorthand tag, which can be% g; j* u# U) ]2 ?8 s$ R
  197. ; used regardless of this directive.
    * J( _+ F( W1 P# F
  198. ; Default Value: On; s$ z8 ~, T" h" I, F: ^
  199. ; Development Value: Off
    , g4 a: q- I  F# ?) c
  200. ; Production Value: Off8 |5 K  e2 S1 T. i- e- ^8 x7 p
  201. ; http://php.net/short-open-tag# I: I* r  d' `: ?$ X7 Z
  202. short_open_tag = On
    * |5 H; p/ q2 [0 H1 W
  203. 3 _4 A5 @3 g6 T0 h7 c: X8 O9 N
  204. ; The number of significant digits displayed in floating point numbers.
    ; J3 L% h: u/ E" _' c/ g2 A/ u9 |; r
  205. ; http://php.net/precision# y3 b; K0 V  O
  206. precision = 14% _( ^; q! y: T# B) G$ ^# W1 j
  207. ( o$ s8 i, ^! t  G1 W: k
  208. ; Output buffering is a mechanism for controlling how much output data% a" c$ i; W1 @
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that. M3 o* m5 U" \4 ?; x1 ^) ?
  210. ; data to the client. If your application's output exceeds this setting, PHP1 J" o- c1 p9 H/ p) K7 a' q
  211. ; will send that data in chunks of roughly the size you specify.
    ( T; z% w& Y# k+ |8 w2 L# ]( a, i
  212. ; Turning on this setting and managing its maximum buffer size can yield some: M5 c6 k( A; I7 r+ U# S
  213. ; interesting side-effects depending on your application and web server.' u3 R4 u5 M. Y$ ^+ _
  214. ; You may be able to send headers and cookies after you've already sent output% ~7 C# I( C4 H0 z
  215. ; through print or echo. You also may see performance benefits if your server is
    % n: \/ o( j6 `: l+ A: p
  216. ; emitting less packets due to buffered output versus PHP streaming the output7 }* u/ U2 [8 A3 |# W
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    & z( j- j, _/ D
  218. ; reasons.
    $ R- n% w: L) P5 E; S/ p
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    3 ]& B. n# s# u
  220. ;   functions.
    & l5 F0 W  x( z' P$ f/ z1 t2 Z
  221. ; Possible Values:
    " _+ h: j! x7 v7 m
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)7 K# z0 r, ?* n' N
  223. ;   Off = Disabled
    ; s3 h; K4 a# N  E* i4 `! @
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    . h" M2 p. M: ]# S1 A% q
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI# ?" S! ?1 D4 [" d) u' z
  226. ; Default Value: Off
    , L6 j2 J0 D/ T' C8 T/ v
  227. ; Development Value: 4096
    * D8 r  Q% G/ f, _( M% J- V
  228. ; Production Value: 4096
    ; e, |  i" s* a; \; c# `8 R
  229. ; http://php.net/output-buffering5 [, H: {* o: @5 [7 n+ `
  230. output_buffering = 40965 u- k) ~. z! V9 H  ]
  231. % g. O6 w( b$ C% c7 X2 {% }% Q6 k
  232. ; You can redirect all of the output of your scripts to a function.  For( c! o: l% `3 t' Y) C9 N8 X0 Z; n, Z
  233. ; example, if you set output_handler to "mb_output_handler", character
    # z! ?. e) w9 s1 w2 c0 B- h
  234. ; encoding will be transparently converted to the specified encoding.: y1 k" Q2 N/ _/ d+ A7 x
  235. ; Setting any output handler automatically turns on output buffering.
    7 b2 S: w" b. N7 b/ t
  236. ; Note: People who wrote portable scripts should not depend on this ini- a+ [" L6 A. }
  237. ;   directive. Instead, explicitly set the output handler using ob_start().5 N& S% Y* J8 C7 C0 ]! u; _
  238. ;   Using this ini directive may cause problems unless you know what script# e  P- g* s& x3 J4 v% K
  239. ;   is doing.
    6 Q% g2 c. X3 ~* c/ M" n
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"5 a& w* v! O8 w; X! M; }" r
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ) k7 s; [, ^% U
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    $ t! V5 b% n% u7 I
  243. ;   Instead you must use zlib.output_handler.
    $ B. U( w  X& }9 J0 l
  244. ; http://php.net/output-handler5 ~& E0 _$ j. a$ t0 a; x7 H9 W- H
  245. ;output_handler =5 F- K4 |. \' n% `" P
  246. - _0 ^0 s) D* f
  247. ; Transparent output compression using the zlib library0 R' P. A: E/ O. ]0 A' c  T+ g
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size2 ?9 m& ~$ C! x0 H8 J* [  k8 u, R) o
  249. ; to be used for compression (default is 4KB)
    0 F6 \1 X9 L5 I6 H
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    6 q6 p/ P+ |, Y" X+ J: E" ^
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    3 O: _4 P# H4 [' ?/ ~+ U8 z' _  [
  252. ;   compression. If you prefer a larger chunk size for better5 Y3 o9 |  d. ^( X0 M' k2 I2 q
  253. ;   performance, enable output_buffering in addition.4 q9 l( d5 D; R
  254. ; Note: You need to use zlib.output_handler instead of the standard# S+ C8 ^5 M# J
  255. ;   output_handler, or otherwise the output will be corrupted.% V9 N  K; S# D, F
  256. ; http://php.net/zlib.output-compression2 t- `+ _8 {9 G$ d; J
  257. zlib.output_compression = Off
    8 s- v% F2 G' u" u

  258. 3 j$ r; @/ k/ K. @$ b( P
  259. ; http://php.net/zlib.output-compression-level  d$ c8 h" x, Y6 Q
  260. ;zlib.output_compression_level = -1' }) o! \) B6 F4 v5 n" ?
  261. 0 |( c) b5 E3 m
  262. ; You cannot specify additional output handlers if zlib.output_compression
    / Q% d' @0 X$ ?) r" V) `$ P: b/ D
  263. ; is activated here. This setting does the same as output_handler but in& A$ w5 b9 Y- H" x" W3 m" U
  264. ; a different order.9 [* G9 m2 o1 f
  265. ; http://php.net/zlib.output-handler4 Q4 L9 z( i- a# b$ C  r
  266. ;zlib.output_handler =
    # Q3 w0 `  P6 ~0 g: M; I  X

  267. 5 V$ t& W6 {. h: K% }; g' Z
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    1 U& w' l0 t3 L
  269. ; automatically after every output block.  This is equivalent to calling the
    + b; Q: B( B8 R; T
  270. ; PHP function flush() after each and every call to print() or echo() and each3 l& f1 k: k- [
  271. ; and every HTML block.  Turning this option on has serious performance1 u' n5 `$ o0 o# |' G+ J% X
  272. ; implications and is generally recommended for debugging purposes only.
    " r7 X7 X5 S" P% S( ]3 m
  273. ; http://php.net/implicit-flush
    ; i* V$ v- T2 a
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    $ M2 p# h1 n. j0 C3 m2 O
  275. implicit_flush = Off, T% Q% X/ x/ _4 l# p2 z

  276. . v1 g0 L- q7 |# o/ Q) a/ H5 C
  277. ; The unserialize callback function will be called (with the undefined class'  Z( \' k4 P/ k
  278. ; name as parameter), if the unserializer finds an undefined class& i) O, m5 a4 V2 K
  279. ; which should be instantiated. A warning appears if the specified function is
    ) J# [6 C" y2 D
  280. ; not defined, or if the function doesn't include/implement the missing class.
    % I9 d& `6 X  F) i7 ?$ [
  281. ; So only set this entry, if you really want to implement such a
      C! u7 _/ h# S! j* b
  282. ; callback-function.
    * K' \* u' Z0 m6 b3 Q
  283. unserialize_callback_func =' G3 Z7 h) s' S* K# A: Y1 W5 R

  284. - O) `' o# z* ]( ?" f
  285. ; When floats & doubles are serialized store serialize_precision significant4 ]5 d  K8 f9 ^7 e9 s  H6 d
  286. ; digits after the floating point. The default value ensures that when floats
    7 h7 J# V7 h: V1 w) b1 n
  287. ; are decoded with unserialize, the data will remain the same., b- J* E- q/ j, z. e
  288. serialize_precision = 17
    + w" t: r, e9 q2 y2 Z. e
  289. 9 d' E: L9 f6 t- S0 \2 _
  290. ; open_basedir, if set, limits all file operations to the defined directory
    9 O0 ?1 F& ?; \' [
  291. ; and below.  This directive makes most sense if used in a per-directory; |  S7 T2 v( _4 B1 [% N, S2 ?
  292. ; or per-virtualhost web server configuration file.5 N& p- D$ ]& N+ t, Y
  293. ; http://php.net/open-basedir
    1 Y8 [- J) G' r5 y5 `3 ?0 @
  294. ;open_basedir =+ C4 [) [& |$ l, ^' @
  295. - d$ f, O" B% A8 ?1 o0 y9 x
  296. ; This directive allows you to disable certain functions for security reasons.5 i  E5 D5 _& d9 m8 N: `
  297. ; It receives a comma-delimited list of function names.
    ! H8 g$ B+ t5 P" z/ E+ E
  298. ; http://php.net/disable-functions
    ; H7 E# }0 i; S2 q* j  N* s/ ]0 g8 [
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ' S/ x! Y. R* K# c' h% k- h3 K
  300. / b& o/ j5 K2 p: q4 F: K
  301. ; This directive allows you to disable certain classes for security reasons.
    + t; i. A; _# }, e
  302. ; It receives a comma-delimited list of class names.
    . ?$ |+ \& q% ^0 I
  303. ; http://php.net/disable-classes+ v' G0 L1 w! p5 L: [) L3 ?& M) p
  304. disable_classes =! h6 `3 L9 A2 e. c# D) h. y5 @; A

  305. 3 O  u, ]/ u* G; X- W
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in! ]; l# x% q' l. S
  307. ; <span style="color: ???????"> would work.5 W) K2 O& }+ R
  308. ; http://php.net/syntax-highlighting8 ]0 @8 [( ?, N( q
  309. ;highlight.string  = #DD0000
    9 D/ n) {  c' ?% j' G+ _% U) O, w
  310. ;highlight.comment = #FF9900
    : {6 V0 ~  w, _& c  R3 m& w
  311. ;highlight.keyword = #007700, V# Y+ h1 C0 ^. d; j# Z
  312. ;highlight.default = #0000BB( w1 s0 I! m6 }
  313. ;highlight.html    = #0000005 q" u+ N; [" k! d. H5 @
  314. ' X: R! ?- \3 a& `
  315. ; If enabled, the request will be allowed to complete even if the user aborts: A  Y- X, j/ L3 D7 H
  316. ; the request. Consider enabling it if executing long requests, which may end up: r& Y; E. Y7 _( Q
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    & e  ~6 r# V8 f
  318. ; is to disable this feature.
    % g, M& G6 O( @( a
  319. ; http://php.net/ignore-user-abort$ T1 w5 n: a4 `0 |# O* G
  320. ;ignore_user_abort = On9 h0 p+ M6 @* D8 Z
  321. ' a8 Y7 T. Y8 L
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    ' t7 V; |6 C: ?' G1 A9 D0 k
  323. ; be increased on systems where PHP opens many files to reflect the quantity of4 k0 j+ L' z) g
  324. ; the file operations performed.5 y; z  Y# s4 H! V/ y! q. I
  325. ; http://php.net/realpath-cache-size
    : A, Y$ Q3 D2 w) K8 e
  326. ;realpath_cache_size = 4096k
    . {: U) N, N3 R5 V5 _- \' X
  327. / ]9 v6 G( e  G/ [4 |* F) A7 e
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    " k/ Y$ [9 k  D1 J6 g4 x% S
  329. ; file or directory. For systems with rarely changing files, consider increasing this% r+ v( y/ k$ V. d) F; {4 x
  330. ; value.0 c5 p* x4 N" [5 E5 k2 t9 G6 j. y
  331. ; http://php.net/realpath-cache-ttl
    6 m, E1 H. v% J9 D3 i3 v
  332. ;realpath_cache_ttl = 120
    $ h1 _9 o1 k3 W% U7 A/ N
  333. - z- V. b! u& b0 ^8 F" ~1 H0 d4 L- F
  334. ; Enables or disables the circular reference collector.+ \( j; q' N* \" L: I3 Y7 V8 r& G
  335. ; http://php.net/zend.enable-gc# @- L7 a$ x- F+ e
  336. zend.enable_gc = On, \9 {6 j8 P$ H0 U+ p, L6 @8 w
  337.   F8 K, g2 J9 b; O% I
  338. ; If enabled, scripts may be written in encodings that are incompatible with" i& A5 r+ j2 x8 u& H
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ! D5 S! F1 f6 }
  340. ; encodings.  To use this feature, mbstring extension must be enabled.6 t6 s3 m$ z$ J1 H# K
  341. ; Default: Off
    : G2 Q  Z! R) ?  _
  342. ;zend.multibyte = Off
    + j4 u+ Y  z7 \3 d( y' B7 E8 S% ?: P

  343. # Q2 H8 e1 s* }# a( c" d% e& B  b6 t
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    ' g' {! ^" e: t
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    / J$ i& x8 M* Z
  346. ; Only affects if zend.multibyte is set.
    , {/ X( k# C2 }4 v) r6 a
  347. ; Default: """ @0 j8 U! k& v( y' k
  348. ;zend.script_encoding =
    - D- z5 ]8 u4 n: Z' c
  349. 8 D, V5 H- a2 N. d1 `/ X8 b
  350. ;;;;;;;;;;;;;;;;;
    % V5 |  P# L. m  _0 D
  351. ; Miscellaneous ;" S& b) G7 J/ \! a" s  Z& B/ C
  352. ;;;;;;;;;;;;;;;;;. E8 j" W; c# n* y
  353. 1 q9 o4 ?/ s0 G# g
  354. ; Decides whether PHP may expose the fact that it is installed on the server  V  r( h" g) o% {
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    ! e. ?5 h5 C8 \8 E) x
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    7 z3 Q! `& b6 f
  357. ; on your server or not.2 r$ \/ F" f9 I$ ?
  358. ; http://php.net/expose-php
    # k! [7 g0 m5 M7 M5 e
  359. expose_php = On
    0 `, l8 J% z1 w2 {! F, `

  360. # o  J% D1 ~/ @7 t% C
  361. ;;;;;;;;;;;;;;;;;;;
    - H5 `) m& X! p* ]' ^
  362. ; Resource Limits ;2 p& N" g) `) d, x6 d
  363. ;;;;;;;;;;;;;;;;;;;
    ) w% U8 x. d0 M( @" Y! j! V* c
  364. 8 X" w" _' Z6 I2 ~: {4 e. N* K
  365. ; Maximum execution time of each script, in seconds
    0 n6 a# z5 c# [
  366. ; http://php.net/max-execution-time3 b9 z5 D5 w/ H2 }
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    3 c& B- C! C# j- R! K! v" }
  368. max_execution_time = 3001 _' [0 @: g( I) h7 B; d
  369. ( u% D6 Y: y" M, I3 s
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    , B7 p  o7 U$ u3 f( m
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    6 j4 s7 }9 p# p6 m% l8 S
  372. ; long running scripts." a' r$ q' G7 H4 f0 q$ i
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI! Q) M! O: k+ k
  374. ; Default Value: -1 (Unlimited)
    & x4 j/ A% w# ^9 i8 d2 o( i
  375. ; Development Value: 60 (60 seconds); T/ h. W: S% y. e) B5 r2 x
  376. ; Production Value: 60 (60 seconds)
    " X9 e" w4 g) V+ i( H. q
  377. ; http://php.net/max-input-time2 H2 l1 X) s4 S* u9 R- G) a: P! m; u
  378. max_input_time = 60* N3 I: \0 Y/ l" V" q; }
  379. 1 b$ R) y( u0 O7 r7 R
  380. ; Maximum input variable nesting level
    ! S' S" U) X9 k$ q7 ^9 j
  381. ; http://php.net/max-input-nesting-level
    : J4 G  w" Y) n6 C$ }8 c
  382. ;max_input_nesting_level = 64
    : L& h% x3 F# t

  383. 0 Y4 Y  N) b2 @. C1 k
  384. ; How many GET/POST/COOKIE input variables may be accepted
    6 t: O0 a: N+ R2 c: V# b4 d/ R
  385. ; max_input_vars = 1000
    ! y" I3 x$ x, I( i
  386. + w$ f. [/ M' f& Y
  387. ; Maximum amount of memory a script may consume (128MB)6 z/ R" ]! E* T. }% [! l
  388. ; http://php.net/memory-limit2 g- U9 b* Q9 K  E- z2 Y% `  I7 i
  389. memory_limit = 128M! A% \! x0 L& X- ?
  390. % j# C+ H( i( ^
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
      C5 p1 N( @9 V. {* `6 ]( I( b
  392. ; Error handling and logging ;7 G/ ?7 d% {  ^) Z0 t* H
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;- _% g, }3 J" M* }& ^

  394. 5 s( ]- f# X$ a; ~0 u* ~- f  V
  395. ; This directive informs PHP of which errors, warnings and notices you would like8 @2 f, O# M0 V; M, E2 Z7 U
  396. ; it to take action for. The recommended way of setting values for this( N% j6 K* P5 I; x
  397. ; directive is through the use of the error level constants and bitwise
    # }, T( Z; {# T. L, g2 `
  398. ; operators. The error level constants are below here for convenience as well as
    5 _" `- v% |  d( d* X& ]5 H
  399. ; some common settings and their meanings.& [; I) D$ e6 a6 x8 p  H" j
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT! K! u7 l1 R# e+ }, F
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and* n' N7 R& {/ Z# I0 ^, i
  402. ; recommended coding standards in PHP. For performance reasons, this is the' ^# I! V# y! d, u5 |& W: i
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    8 l: G5 o* r- D+ D6 U
  404. ; resources complaining about best practices and coding standards. That's what
    & g7 {% v8 Y  p! @6 `) i/ ^
  405. ; development servers and development settings are for.
    ! a( S5 M. t/ E6 E# E
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    * c8 J9 h( Q$ c& Q+ [! r* O$ r
  407. ; means it pretty much reports everything which is exactly what you want during
    ( X8 ?2 h/ S3 b& [1 I$ t  Z
  408. ; development and early testing." b9 ~/ H. Q9 w% ?" b! n+ Q
  409. ;7 ?$ E5 U" l: g! E7 m( U
  410. ; Error Level Constants:5 \1 u8 g+ c4 ~8 p# r+ D2 Z
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    : M% a- k0 Y- O
  412. ; E_ERROR           - fatal run-time errors6 O3 v7 J9 p: u% s. Z8 @: Z+ w
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    3 Y+ u. Z% Z; i* m2 Y
  414. ; E_WARNING         - run-time warnings (non-fatal errors)$ u" J% H) _# C2 g% H3 H+ A
  415. ; E_PARSE           - compile-time parse errors
    " ^& B: Q8 D; U. ]' t6 s0 W" e0 H
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    + R( q1 F. b0 N: B7 x
  417. ;                     from a bug in your code, but it's possible that it was  c6 w2 O4 E0 N9 \$ Z3 N$ j( j2 O
  418. ;                     intentional (e.g., using an uninitialized variable and; a1 x3 W! A. l1 v* k
  419. ;                     relying on the fact it is automatically initialized to an+ {. K# K* N- P8 m! Q# T
  420. ;                     empty string)
    , ~" V$ f% g0 U. P; c! g
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    * P$ n! X/ ]& m
  422. ;                     to your code which will ensure the best interoperability% A" F( e* P" {4 F
  423. ;                     and forward compatibility of your code! q* i2 P5 @4 o# |
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup( T) {; a( I: z3 G3 X$ C8 @  n
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    , z+ s3 x4 g3 {' W
  426. ;                     initial startup
    ( ^' Q! ]  O& O: X2 P7 P; ]+ ]! g9 z
  427. ; E_COMPILE_ERROR   - fatal compile-time errors6 U$ X$ h# G( _- ]
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    % K! u4 N0 [$ Q8 c3 T
  429. ; E_USER_ERROR      - user-generated error message
    2 M& J4 j2 _4 {+ \
  430. ; E_USER_WARNING    - user-generated warning message* m' b3 X, M% \! L5 f1 e% \
  431. ; E_USER_NOTICE     - user-generated notice message
    2 n: I5 }) F. c8 G# T* z# Z: C/ {
  432. ; E_DEPRECATED      - warn about code that will not work in future versions( b% T8 t. L. a" c% w+ V
  433. ;                     of PHP
    6 W; K! s- j8 B& I7 x- c0 I
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings' C* U3 [. G) l, I
  435. ;# |. f: S; L3 P# p7 @; X, o
  436. ; Common Values:" s2 e( F$ G- \0 @$ ~
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    3 l8 c1 [* Y; Y, b% r) [
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)+ n1 ^; }& @# {/ J( n! i
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    3 U4 n3 s  \  @7 H# R- Z
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ' f7 m2 l# @) ~0 |
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ' U. j6 C# f3 E
  442. ; Development Value: E_ALL0 K" V2 ~+ G9 P6 i0 h
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT# _! z4 c; A3 U
  444. ; http://php.net/error-reporting
    $ n% d6 o1 f5 Q6 Y% Z; F4 k6 ?4 p
  445. error_reporting = E_ALL & ~E_NOTICE7 u; H* Z0 j, y$ I8 }0 q
  446. ' K! L% L$ o' b, y
  447. ; This directive controls whether or not and where PHP will output errors,
    9 V0 U; E7 W* p
  448. ; notices and warnings too. Error output is very useful during development, but
    - p* q! c6 `$ i4 e
  449. ; it could be very dangerous in production environments. Depending on the code
    . u/ s4 g$ N6 x7 g; Q
  450. ; which is triggering the error, sensitive information could potentially leak
    $ g1 Y! X  i! i, s
  451. ; out of your application such as database usernames and passwords or worse.
    6 W% R3 x5 J% l1 E- ?2 ?
  452. ; For production environments, we recommend logging errors rather than
    0 C/ |/ C0 z1 x! A! }) l
  453. ; sending them to STDOUT.# c7 J8 }9 y3 p* E
  454. ; Possible Values:
    % U9 }7 P3 S# b) [" ?
  455. ;   Off = Do not display any errors
    2 e; B! L) k" e8 J9 ?- t: b; \' Q  ^" K
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)& e/ ~/ x( k; D: P$ W4 b6 ]7 r
  457. ;   On or stdout = Display errors to STDOUT* A! b6 I  g' s4 B5 `8 f3 }# w( l  d
  458. ; Default Value: On
    # m# X1 e% _1 M/ N3 [
  459. ; Development Value: On5 R7 @! m2 t. |  [% \" d$ u
  460. ; Production Value: Off
    " w+ i# Q0 p1 _  v
  461. ; http://php.net/display-errors3 V/ A4 G& i# s  {) C; N
  462. display_errors = On
    . e& I5 D- s& ~

  463. 6 R3 [6 C  {+ ~' l) h. ^
  464. ; The display of errors which occur during PHP's startup sequence are handled
    ) }- {* o0 N( [' J- j8 A. t$ m
  465. ; separately from display_errors. PHP's default behavior is to suppress those1 S! S3 U  ^% e! {. d1 H8 K0 y. Q
  466. ; errors from clients. Turning the display of startup errors on can be useful in  U2 g8 M. ?% e* L) s* W
  467. ; debugging configuration problems. We strongly recommend you
    ; s$ w) C( C' l1 L
  468. ; set this to 'off' for production servers.
    ) v" j. j  J7 @  \+ k( w, S
  469. ; Default Value: Off
    - ~, ^1 W5 N: L4 X: D5 E3 d1 {
  470. ; Development Value: On& Z% q1 ~; |' z' o2 b8 j
  471. ; Production Value: Off
    ! z( j6 i0 Y* ~. {6 k, [5 U: O
  472. ; http://php.net/display-startup-errors7 D% a  o3 T' h
  473. display_startup_errors = Off  U. ~8 X' u, ^3 P# R) m  c
  474. - f6 u. ^- x& w
  475. ; Besides displaying errors, PHP can also log errors to locations such as a* v( \) n: H+ h: S2 `$ R! X
  476. ; server-specific log, STDERR, or a location specified by the error_log& Q( o! l! ^1 y( g: [7 o0 }  B* @
  477. ; directive found below. While errors should not be displayed on productions
    - D& g+ t  E2 S( F
  478. ; servers they should still be monitored and logging is a great way to do that.$ G; }, D& L& X6 e
  479. ; Default Value: Off3 x6 V8 z( t& P: O. E
  480. ; Development Value: On) }5 H7 Z1 g& S
  481. ; Production Value: On
    % s: ]: s; [; C5 K8 m8 O( ^# |
  482. ; http://php.net/log-errors
    , ~) n( Y! \% b  [, ?: M, {* i/ a5 g% L
  483. log_errors = On
    0 c9 B- t# C- _; V2 Z6 o& D3 W
  484. $ K2 x& ]3 v0 k+ @( j
  485. ; Set maximum length of log_errors. In error_log information about the source is
    - t) x7 ^0 J2 D$ V
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    , C9 g5 U' b2 G( \0 {! g
  487. ; http://php.net/log-errors-max-len4 O2 C" }( l$ j4 v5 S
  488. log_errors_max_len = 10245 q3 C  Z3 z3 Y2 G! d1 [, k6 Z+ ?

  489. % N  ^4 P- q# p0 [, N, O1 {
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same9 B1 m4 K& `( j; j4 k/ g: M
  491. ; line unless ignore_repeated_source is set true." D3 E& i# z0 W+ a
  492. ; http://php.net/ignore-repeated-errors% t2 k* E" q6 }( p; p
  493. ignore_repeated_errors = Off7 [& v! C: r4 C( q# J; G7 T
  494. 8 h* p( u( ~9 A9 f* O2 q
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    5 I7 t; y3 a9 V0 b; t) s$ ^. m0 }
  496. ; is On you will not log errors with repeated messages from different files or
      C# [5 Q' n$ F  E( U6 H
  497. ; source lines.' g, j) ]/ Y# t* H2 V4 ?
  498. ; http://php.net/ignore-repeated-source
    # ~+ d0 E3 \% R+ ~
  499. ignore_repeated_source = Off) e' \; W: e+ B: ]2 I4 T
  500. 7 _* E7 f" H, T' y2 L: U
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on/ s' h# P* |% E1 l" w5 J+ d
  502. ; stdout or in the log). This has only effect in a debug compile, and if9 r0 k9 R. ?$ l$ G7 h
  503. ; error reporting includes E_WARNING in the allowed list: I$ ~3 P" N- B0 h3 K5 U3 F- M
  504. ; http://php.net/report-memleaks
    # J$ |1 M/ @- P2 W8 \. ^, B
  505. report_memleaks = On' k# h" J+ g# @1 W: Z
  506. " D3 b" _. k# k
  507. ; This setting is on by default.
    : G# J5 N: Q; Z* Q- f* c0 s* k  }6 x/ L3 @
  508. ;report_zend_debug = 0
    7 S- v* y5 N7 r; A

  509. % v  M/ ~% n0 Q/ _
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value  `0 g( C6 E% ~0 M
  511. ; to On can assist in debugging and is appropriate for development servers. It should; Z( M1 @# k' L- M0 U7 L6 I
  512. ; however be disabled on production servers.
    : f4 y2 ~# y& @9 M# U& D
  513. ; Default Value: Off
    : v+ q1 _) g) A9 z
  514. ; Development Value: On2 J% a/ ~' s$ J' H$ x" P# ?5 }" L
  515. ; Production Value: Off
    1 C$ a+ O7 u% c+ [7 R; d) V
  516. ; http://php.net/track-errors( e8 U; c* e% O- v; W
  517. track_errors = Off
    1 c2 i& o3 H: W+ {8 G! @" V, h
  518. + [# Z5 w5 m4 N' U7 o5 l
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    ! F2 h6 N. `& a' ^$ _# \
  520. ; http://php.net/xmlrpc-errors
    - M" K6 V7 t& ?1 R2 w' [
  521. ;xmlrpc_errors = 00 d. O" {9 j( C9 j: F+ _! X8 p# w

  522. 1 K& M2 z. f( K: X
  523. ; An XML-RPC faultCode
    % P- _6 g5 l) r" X; A3 b2 E
  524. ;xmlrpc_error_number = 0- A: Z0 S/ Q/ E) c

  525. 0 c# ?5 o/ l/ {
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    : X; a: k+ ?( s& X& `7 v3 q: m
  527. ; error message as HTML for easier reading. This directive controls whether' r  b0 {: b& I6 B( L' }) K
  528. ; the error message is formatted as HTML or not.( L4 t8 s+ h2 f0 z" D2 ?
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI/ E/ W: y" P4 O
  530. ; Default Value: On
    5 Y5 p% X8 x1 u  x8 _
  531. ; Development Value: On& S4 V5 U) z& t. i
  532. ; Production value: On4 ~" ^! X  ]& V
  533. ; http://php.net/html-errors
    , |6 E% V: n8 \) F
  534. html_errors = On. u) H/ b& S  F* b

  535. * a, S8 b3 n# z- V4 X4 @
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    1 ?* P2 M* b; S5 P2 ]# O
  537. ; produces clickable error messages that direct to a page describing the error5 N4 {8 z4 F* B3 T/ B7 w
  538. ; or function causing the error in detail.
    - l1 B! u$ @, [8 m+ `, H
  539. ; You can download a copy of the PHP manual from http://php.net/docs- n6 Q6 s+ I: A0 e1 B$ `
  540. ; and change docref_root to the base URL of your local copy including the
    * G  U) M7 y1 R5 K5 P
  541. ; leading '/'. You must also specify the file extension being used including
    : N  \  X" _1 P* ^9 m! i& f1 i0 L
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which5 ?  |5 T' x* ]7 B
  543. ; case no links to documentation are generated.
    3 u: H& S! E1 v* \0 u) U- e
  544. ; Note: Never use this feature for production boxes.  F( ]& Y( y& ~% _: T$ P6 j& a* [
  545. ; http://php.net/docref-root, u9 V; ]4 f+ ?) Y9 d# S8 p
  546. ; Examples0 Q6 ~. ~+ B& T+ e
  547. ;docref_root = "/phpmanual/"
    3 ^+ A) X% [- T; P5 \2 `* M) _

  548. 7 Z7 \* k' s" T( T* V
  549. ; http://php.net/docref-ext4 Y( i2 y- J7 q+ h
  550. ;docref_ext = .html
    6 h+ D+ f* n* b4 j( R3 T

  551. 8 N1 a6 [8 d$ J/ T" P
  552. ; String to output before an error message. PHP's default behavior is to leave
    % b  J& `5 U3 P% y3 M& G
  553. ; this setting blank.
    " V! \( _, o3 ~% ^
  554. ; http://php.net/error-prepend-string
    8 E) m- V/ f: D) t- {) ?. L
  555. ; Example:
    ! C$ D0 n0 t5 O$ {
  556. ;error_prepend_string = "<span style='color: #ff0000'>"/ `. y" d5 W- M, e& E& ^

  557.   G! Z  m6 Y1 A" w
  558. ; String to output after an error message. PHP's default behavior is to leave
    ( q- J: X# s1 D+ n% m! k- w
  559. ; this setting blank.
    $ Y- B( |4 C9 F" K! \
  560. ; http://php.net/error-append-string
    7 m) i  x9 U! {4 t2 F
  561. ; Example:
    & c. h4 O8 T8 U! j5 N2 o
  562. ;error_append_string = "</span>"; t* u3 ^) N: f: k1 m

  563. 1 ?: P0 W; W& P( D
  564. ; Log errors to specified file. PHP's default behavior is to leave this value& J6 Y- P3 f0 V9 ~
  565. ; empty.6 p" G& v2 ~4 l6 V
  566. ; http://php.net/error-log! W% p  ^# s" J; M6 V
  567. ; Example:
    ! k& L3 k; o0 ]
  568. ;error_log = php_errors.log; c) p) B6 F7 G
  569. ; Log errors to syslog (Event Log on Windows).
    , Y/ y8 `9 l' O! j
  570. ;error_log = syslog) f0 p& u# `. [3 [( ~$ l& G

  571. - [5 K6 G, @# Z7 l% i( G
  572. ;windows.show_crt_warning( y, m; w+ i+ f2 ?+ }7 v
  573. ; Default value: 0
    8 c( v6 p" v' k6 m8 a$ K
  574. ; Development value: 0( A% T& A1 t0 H: n6 m  k+ Z7 \/ Z
  575. ; Production value: 09 I+ s% d. P* g7 [2 c( o9 ]" m0 x7 D
  576. - [; k6 {- }% `' V
  577. ;;;;;;;;;;;;;;;;;  E3 m) M" G0 ~3 W
  578. ; Data Handling ;
    ; x% ], D8 Y' `3 m4 q- S$ L, p
  579. ;;;;;;;;;;;;;;;;;
    * }+ d$ }$ M& {3 d$ s7 y0 b
  580. 1 ~" X5 _7 _: P: \
  581. ; The separator used in PHP generated URLs to separate arguments.
    # A; G7 _. y0 c3 x6 o+ v& P7 g8 m
  582. ; PHP's default setting is "&".
    , F" J$ S, B8 j: v2 i5 _
  583. ; http://php.net/arg-separator.output
    ; l4 |2 x. h, C6 Y
  584. ; Example:
    " p5 E! b/ k2 j
  585. ;arg_separator.output = "&"
    ( k* z3 O6 T0 c* h2 F. O3 X

  586. ( j4 i' p9 A* U* M  u+ V
  587. ; List of separator(s) used by PHP to parse input URLs into variables.8 q4 l% v4 M7 H6 }" l% L
  588. ; PHP's default setting is "&".
    1 V: e! `8 Y$ K! Y3 Q7 |0 W+ C
  589. ; NOTE: Every character in this directive is considered as separator!# G. d. g' J' e. b+ u5 ^
  590. ; http://php.net/arg-separator.input
    * P, f+ d; n/ b1 w$ V  a
  591. ; Example:& |% J1 V, P+ {, }6 L
  592. ;arg_separator.input = ";&"
    & Y) }6 D+ x( K8 r/ K0 h4 [

  593. $ L8 D5 j  K6 W: T& |, r6 _- t& |
  594. ; This directive determines which super global arrays are registered when PHP+ |  Y8 e2 [8 `0 F4 i. a) ~  ?
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super- n4 [  u5 l, f1 E5 ~) M
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    - j% K5 Q3 F4 F% x6 |' ^
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    6 _7 `$ a# L. \" x/ y
  598. ; used as the others, ENV is not recommended on productions servers. You; S' u9 J; `) Y$ P
  599. ; can still get access to the environment variables through getenv() should you
    5 V9 x8 u- q, C
  600. ; need to./ ]$ \8 g/ ^4 A9 \$ X, R' N
  601. ; Default Value: "EGPCS"; Z% I6 s6 H; V
  602. ; Development Value: "GPCS"
    + k4 }& E7 E  Q
  603. ; Production Value: "GPCS";
    . z3 F- v2 b; ~- r: {* L" I# p
  604. ; http://php.net/variables-order
    # V' B; \6 I) g/ ?
  605. variables_order = "GPCS"
    9 C# f! J" C( K
  606. 3 D$ R  u0 x$ B5 r) ^0 G$ x# k/ @
  607. ; This directive determines which super global data (G,P & C) should be/ u; ], q6 U4 U
  608. ; registered into the super global array REQUEST. If so, it also determines
    : N5 O4 t( E- H5 L! b1 \4 n
  609. ; the order in which that data is registered. The values for this directive
    9 }8 ?$ H$ m, i1 q  T+ W: J" @
  610. ; are specified in the same manner as the variables_order directive,0 X. H4 n) N- y7 i5 W! v1 d
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set4 o- w) R% u% `* \8 _5 S
  612. ; in the variables_order directive. It does not mean it will leave the super: B$ @, ~$ d8 b, B# I3 l* \
  613. ; globals array REQUEST empty.
    3 ?) o7 a% h; z: ]! ], X
  614. ; Default Value: None
    ) b& n9 b5 [! l9 c7 b
  615. ; Development Value: "GP"
    0 w; |$ W* ]2 d3 g
  616. ; Production Value: "GP"
    & ~% N- k; G% T( @0 k$ b
  617. ; http://php.net/request-order
    1 r$ p2 Y  A8 f; a: R
  618. request_order = "GP"
    5 S# p6 K  A5 {' `3 a

  619. 0 s* N2 L$ T% t: c
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    ( x9 D5 O; R3 J/ G. _
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script; L4 u" D0 y9 n( ]
  622. ; is invoked. $argc contains an integer representing the number of arguments$ _- e; }2 x5 t% r1 B( {, E
  623. ; that were passed when the script was invoked. These arrays are extremely/ ]  R' O  @/ {7 r
  624. ; useful when running scripts from the command line. When this directive is
    # c/ u% H" P4 S4 b) {, N
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    * b2 b) P8 M1 t& L5 x
  626. ; a script is executed. For performance reasons, this feature should be disabled
    ' K7 g- u2 J; b( G
  627. ; on production servers.1 K  ]2 V, i6 @6 ^' \5 {
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    ' x1 C" x% C; Q" P5 ^
  629. ; Default Value: On
    7 d: T& A5 f$ o* e0 C( T* O
  630. ; Development Value: Off' f6 L, _' q" s
  631. ; Production Value: Off/ @; }1 ^/ p) m+ D
  632. ; http://php.net/register-argc-argv
    9 r* y+ x! k4 @2 M! x
  633. register_argc_argv = Off
    4 P/ s" `2 O! Z* n3 ]* E

  634. & A. o$ Q4 R; p/ m) P; q$ g
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're7 j8 S* b" a( Z1 N# r
  636. ; first used (Just In Time) instead of when the script starts. If these2 r7 D: |. G9 \, |
  637. ; variables are not used within a script, having this directive on will result
    9 J+ e, n6 M. p# u& ^: @1 b" [; y
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled+ Q3 y+ m7 ^1 L  v+ {* r0 V5 z% t
  639. ; for this directive to have any affect.9 B; N) v! }. e
  640. ; http://php.net/auto-globals-jit
    ( K' {2 ]% I% s5 F- f
  641. auto_globals_jit = On
    ' |) G3 e3 i; ~6 b

  642.   A$ h1 `- A% Q  [3 u% J  c- n
  643. ; Whether PHP will read the POST data.1 @8 G  |! ]  U. l1 \0 s
  644. ; This option is enabled by default.
    % ^# B" b+ V/ @6 c3 x6 Y# A1 a
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST2 l; M# A- J- N
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    3 w) h7 T) Y2 Y* G
  647. ; POST data will be through the php://input stream wrapper. This can be useful. U2 O) a2 j/ y- k+ ?3 {
  648. ; to proxy requests or to process the POST data in a memory efficient fashion." {# q* {  _; z1 O
  649. ; http://php.net/enable-post-data-reading
    $ J& F) O0 r7 u* Q- Z
  650. ;enable_post_data_reading = Off
    - q8 U8 p% E5 i9 y7 P  `1 n5 _
  651.   g& s% `9 l* o4 k& a
  652. ; Maximum size of POST data that PHP will accept.
    & w1 v+ g% N4 O* s. N0 q: K
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading7 \/ K  B8 n. K
  654. ; is disabled through enable_post_data_reading.: Q. @- U3 X8 \" X# }
  655. ; http://php.net/post-max-size
    8 V9 o* z& ?! E' K
  656. post_max_size = 50M/ ]  e+ S; M& i# G  H  ]

  657. 4 |5 t6 v. D8 Q8 f' U  W( Q4 |' J$ \
  658. ; Automatically add files before PHP document.9 c$ H& j4 A/ r" b! h2 r/ M. `! f2 K
  659. ; http://php.net/auto-prepend-file9 @% T  P- H5 I4 {) J0 Z
  660. auto_prepend_file =+ A# t  C& _6 s- f7 p
  661. % \2 x8 Q, A+ C! O
  662. ; Automatically add files after PHP document.  e. \# ?: i0 c" f  S2 l
  663. ; http://php.net/auto-append-file" J! c% }6 x  o2 i0 \* m+ y9 a
  664. auto_append_file =: u& K, y9 u5 w! F

  665. ; _! Q1 p# U% n
  666. ; By default, PHP will output a media type using the Content-Type header. To0 R+ V1 c+ l/ S" l- z4 ?  Q
  667. ; disable this, simply set it to be empty.
    3 L; L) Z: q1 o) `* F5 g4 x$ B
  668. ;
    4 e3 ^" R! k' S; O- K+ m0 ]
  669. ; PHP's built-in default media type is set to text/html.( v* J0 b1 @& m0 p( l, k- h5 e
  670. ; http://php.net/default-mimetype
    9 ]& W4 n& R5 {3 q
  671. default_mimetype = "text/html"
    ) R1 r5 U+ {1 p! [+ z: m8 ~# U
  672. # ^4 w& K9 p( _; @8 X
  673. ; PHP's default character set is set to UTF-8., j7 W8 f7 c: t+ H# Q3 E" q
  674. ; http://php.net/default-charset
    5 k0 G* ~+ v. L3 ^
  675. default_charset = "UTF-8"
    - B) @5 ]/ W2 A. A# f0 Y6 g

  676. % l/ ]0 x! v! ]3 C1 G$ d
  677. ; PHP internal character encoding is set to empty.
    + z" I# H6 ]8 A5 V$ i
  678. ; If empty, default_charset is used.
    * @* H; p7 r7 ?$ ?# u1 p
  679. ; http://php.net/internal-encoding
    " r* \2 \. j0 l% s
  680. ;internal_encoding =
    & f. z9 ^' m, N7 B- @' A+ w; D0 X
  681. / u3 g  x5 `$ r0 Q: B# v9 |; h
  682. ; PHP input character encoding is set to empty.
    ! }" X7 D; a" y4 U. P# _* u. y9 r
  683. ; If empty, default_charset is used.4 J( h6 j! k& \6 c, H1 W
  684. ; http://php.net/input-encoding" _$ W: k+ F7 Y6 M2 m: ~
  685. ;input_encoding =; Y( P# a' e* S' f7 y2 K& S
  686. . s& A* N0 S: |4 M
  687. ; PHP output character encoding is set to empty.
    7 h: @' ]7 i0 R, v! G
  688. ; If empty, default_charset is used.
    6 i$ R9 l) `1 |5 N' d' \3 \! D
  689. ; See also output_buffer.- C( C  y  T$ c
  690. ; http://php.net/output-encoding" y. I) p4 G. N! m7 G
  691. ;output_encoding =2 N( m" W: I! {2 s5 w! i; o( S. N

  692. ' `) B& d+ Z! d3 F3 k9 O6 f
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ) M! f% K( |% m1 n0 L( N5 c
  694. ; Paths and Directories ;3 N4 M* {6 C* O; Z
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    / D* l4 v3 x9 |: R/ c* g3 e  \
  696. $ j! f' |$ t# r& V0 R" T. n# X0 R
  697. ; UNIX: "/path1:/path2"* P! a3 Q/ H& W) N
  698. ;include_path = ".:/php/includes"
    . C7 U# f- r, W- P2 O+ T
  699. ;7 O$ ?  [. ?, W+ X# X& ]: ?! n
  700. ; Windows: "\path1;\path2"
    8 s# _2 o) x2 _; u
  701. ;include_path = ".;c:\php\includes"% ~3 Z- U  w& _1 m: @1 T
  702. ;
    5 }5 v: ]2 y# s- Z( j
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"* |4 G9 S0 P7 Y, Z; ]2 i: ]- K1 ~
  704. ; http://php.net/include-path- {5 R7 J: \1 W9 |9 J
  705. * M. l# P0 s) T% w( I
  706. ; The root of the PHP pages, used only if nonempty.' P+ a8 I5 r5 Q
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    % P( p* d9 ^( M3 W& S; {
  708. ; if you are running php as a CGI under any web server (other than IIS)% {* l1 _4 r/ |) Q# @! a
  709. ; see documentation for security issues.  The alternate is to use the
    - Z7 t* e' ^3 y
  710. ; cgi.force_redirect configuration below& l& W, s' z1 ]% u
  711. ; http://php.net/doc-root
    4 |! Q& V8 w' I4 z
  712. doc_root =* T0 t+ v. X2 ]5 S4 ^, o; u6 f
  713. ' v' D# }; S: |, `% I& C
  714. ; The directory under which PHP opens the script using /~username used only
    ! w6 @! d  O7 |9 g( {, C7 R
  715. ; if nonempty.
    ; w' w$ u5 n6 \% J
  716. ; http://php.net/user-dir
    : ^  b2 ~  W' t% ^( E! \
  717. user_dir =& I; `! e) G8 r7 x6 x

  718. ; Z$ V1 O0 ]" W0 c
  719. ; Directory in which the loadable extensions (modules) reside.+ m7 r4 [# K- C# B. m! D
  720. ; http://php.net/extension-dir
    5 o" Y! Q1 V8 M- ~+ q" Q
  721. ; extension_dir = "./"
    4 D" o- x7 `: q# z6 [- N
  722. ; On windows:
    " a1 x: {! H5 q! |2 ^& L
  723. ; extension_dir = "ext"
    $ \0 A! r# j" k4 D+ }
  724. 4 B  i8 J- C( e2 c( X7 c
  725. ; Directory where the temporary files should be placed.
    $ L$ _, E8 S8 J% Q- ^
  726. ; Defaults to the system default (see sys_get_temp_dir)6 v2 D9 b; H: q4 I; c
  727. ; sys_temp_dir = "/tmp"" k) d) T$ \1 k* ^
  728. ) l+ B7 l: b" b- T9 P
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work/ T$ e0 ]1 }+ Q$ ?; A/ Z0 S
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    4 z, _7 B2 m8 Y% ?
  731. ; disabled on them.2 A+ O% ~) s2 O" ^+ Z- Q
  732. ; http://php.net/enable-dl% Z: y) k4 a2 R
  733. enable_dl = Off
    - q, ?$ C3 M9 s7 h3 S
  734. + K$ A2 o4 y' U5 w& P7 z- O; l' x
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    $ T" [6 q& }/ o2 B1 m- D
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can$ @6 ^, r8 _5 k
  737. ; turn it off here AT YOUR OWN RISK
    6 V* g& V0 C8 \% A
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**, [# l" I* |* v8 ?3 f5 ?) Z
  739. ; http://php.net/cgi.force-redirect, L) ?* Q# N3 I) Q
  740. ;cgi.force_redirect = 19 D0 j) x6 x3 s) f: f4 e

  741. 0 \& f. o: j4 t
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with& |( b' x4 ^8 X+ X* j! n+ J
  743. ; every request. PHP's default behavior is to disable this feature./ |8 p% T2 N5 D7 c
  744. ;cgi.nph = 1: l) g% y8 @0 w" \) T  O% j
  745. 5 S, F+ I: f4 r: ~
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    2 T8 I7 ]1 n; M& I
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP+ C( J; h4 n+ K. q) o/ c3 H7 h
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    " r' r' J- @9 B- J5 Q9 _2 R- N
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    3 o& l! u$ b* t/ ~
  750. ; http://php.net/cgi.redirect-status-env8 m$ T0 K* P& V
  751. ;cgi.redirect_status_env =) R# f5 J, m0 w4 l( m, V+ x

  752. $ u" p: X& b0 M% d! \% ^
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's, w# }: p; t' m8 B3 i1 @% a# X
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ( r# e3 Q7 A5 {" ^9 G) Z1 e1 D) v
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting" K* f* P. l: m' M
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    / G  ~5 ~; e( A
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    , h' V. C% X2 F/ w" u
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    / {7 p( Y* ?. A( K
  759. ; http://php.net/cgi.fix-pathinfo! j9 v- A9 r" y7 B
  760. cgi.fix_pathinfo=17 g5 ~( m- T1 Z8 e5 {/ j

  761. & f2 C3 C% a: }9 z! d" u
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    9 b# ?, {9 @+ o, Y+ V' Y9 Z7 U5 w
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    " C1 y& A, k9 e, o& w1 _" U
  764. ; http://php.net/cgi.dicard-path
    * f. {. Q" R* ]0 Z: H( d7 v
  765. ;cgi.discard_path=12 \% q% c0 F. C/ Q( e: T

  766. 5 j+ [+ I! B4 j, |4 b$ I. [9 p
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    # X$ q; Q* j2 s  ]& X8 J, E
  768. ; security tokens of the calling client.  This allows IIS to define the
    2 k& d& j9 r( N3 N/ Z* h6 N6 Q( A, I, v
  769. ; security context that the request runs under.  mod_fastcgi under Apache* k; [3 E" f7 e' ~5 g* C1 ~
  770. ; does not currently support this feature (03/17/2002)) m. o6 A  P- M' r
  771. ; Set to 1 if running under IIS.  Default is zero.
    8 i3 @' h6 Q* V
  772. ; http://php.net/fastcgi.impersonate. ^$ X+ w9 }7 m6 }
  773. ;fastcgi.impersonate = 11 r$ \" d* |& u' ~( l6 ~7 P( e

  774. # ?/ h/ n8 G1 M9 ~  R
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable4 p2 f& M% e/ O" |8 w) j+ x
  776. ; this feature.% ?* T! }0 _; S% @! T/ v5 |8 ~
  777. ;fastcgi.logging = 0
    ( c4 ~- y( d8 y9 h2 ]8 `2 L1 y# h

  778. % o4 G4 F* q9 J* l  v
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ' G) Z  Y7 m& d6 `. O) n( \) `3 Z
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that4 n; ~, c/ D! |, S2 Y
  781. ; is supported by Apache. When this option is set to 1, PHP will send/ X' X( R* _2 L- \  ^5 O8 l
  782. ; RFC2616 compliant header.
    " j6 O% {2 ]- o
  783. ; Default is zero.* j3 `. |6 T  P8 C- Z& N
  784. ; http://php.net/cgi.rfc2616-headers7 Y  ~  t. p8 Y$ y
  785. ;cgi.rfc2616_headers = 0
    9 P/ a. l, ^5 ^" q% b
  786. 1 m3 v& P# R$ W/ E1 v) G( ~- `
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    " T( {; {8 R5 R! m9 Y& w
  788. ; (shebang) at the top of the running script. This line might be needed if the- _. T/ ~7 y  O) w$ S& l- X9 ]
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    $ o& ]) y6 _) C) l3 k
  790. ; mode skips this line and ignores its content if this directive is turned on.
    7 Y/ C, d8 ?# m% q7 Y6 o
  791. ; http://php.net/cgi.check-shebang-line
    / L2 T# O7 w3 b# s
  792. ;cgi.check_shebang_line=1
    0 }' y( C) P, V+ `! _1 z( a) V
  793. 9 d" C) k) {1 P! f# L
  794. ;;;;;;;;;;;;;;;;2 Z& |% z; o$ p  f- p) J
  795. ; File Uploads ;
    2 F9 G4 n$ C" w4 ~
  796. ;;;;;;;;;;;;;;;;
    3 ^/ n7 o$ y% J7 E. p

  797. 0 M1 I1 u! A1 q1 G
  798. ; Whether to allow HTTP file uploads.0 m% U; V+ V) R) {" _4 I: c
  799. ; http://php.net/file-uploads! |( d! E3 f5 Y) W9 w/ A+ U6 w
  800. file_uploads = On0 y5 n) J7 ^4 z& K; Q

  801. 2 S$ B  ~' b) x$ T9 G; S
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    4 L7 H# R* n, y3 h  R# d1 j
  803. ; specified).
    8 k8 H1 h; W/ D' t- g( F
  804. ; http://php.net/upload-tmp-dir
    % b, k; N) z8 T/ X. J
  805. ;upload_tmp_dir =. j4 |: [( b* s2 _
  806. ) u% r' O& }' _! M
  807. ; Maximum allowed size for uploaded files.
    2 o+ n/ C) a$ t. v& g2 B% j
  808. ; http://php.net/upload-max-filesize
    6 P. ~! Y1 K% b# R: w1 u8 p3 h
  809. upload_max_filesize = 50M
    : {+ D: n  B3 f: ]

  810. $ A' J9 v$ ?0 Z9 O8 m8 f
  811. ; Maximum number of files that can be uploaded via a single request
    ! L& O- c+ T. u% L8 ?
  812. max_file_uploads = 209 f! ?; }: e: c9 J

  813. $ A- s  P, S' u' w, D
  814. ;;;;;;;;;;;;;;;;;;- B; }4 W  f9 B
  815. ; Fopen wrappers ;
    " W& h* |' ]8 t/ A* ]
  816. ;;;;;;;;;;;;;;;;;;# r! r' r7 I$ F# c+ s. V: ^* W* E

  817. 2 m, I) ]3 v  i2 f$ N
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    : h$ N4 V! q5 G. A, x) ^
  819. ; http://php.net/allow-url-fopen
    . P. s9 @; I! Z( l! I6 ?
  820. allow_url_fopen = On
    - \' ]+ N5 m! W* d
  821. ' W6 P  O- x. V: i& v$ P
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    " S, w+ l9 M7 i5 A6 N9 P; m1 [
  823. ; http://php.net/allow-url-include
    # a- |; s. c1 D: d, ^9 O; X. W9 S6 Q
  824. allow_url_include = Off2 [8 v: ~8 b' Z
  825. 1 f' X+ K9 D0 j! W" W, e1 O
  826. ; Define the anonymous ftp password (your email address). PHP's default setting# R  @0 q# ~' A/ a4 @7 h* ]; u4 s4 z. W+ a
  827. ; for this is empty.
    0 `# V8 q0 B+ Q
  828. ; http://php.net/from
    ; F7 v! ~7 w# C" u0 e' G
  829. ;from="john@doe.com"
    # J' w5 E6 u" l0 ^$ f
  830. + q2 H0 O: c& i/ G3 S$ r5 H+ z2 o
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    3 e8 e+ d9 S3 {6 Q! L0 D9 k/ v" l
  832. ; http://php.net/user-agent
    : z& z" w" S7 q4 K& R
  833. ;user_agent="PHP"$ o% ^5 L8 c  K8 q% ^: i- S8 H" n+ d
  834. ! u. D9 _6 ~; S) h9 o  z
  835. ; Default timeout for socket based streams (seconds)
    & G0 y3 E+ n  [$ Q
  836. ; http://php.net/default-socket-timeout
    1 }$ m1 {: |2 Z0 p  x
  837. default_socket_timeout = 60
    ; J& D9 A& \% v% h" A$ q* L6 y

  838. ' t9 R2 L6 C) Y6 b
  839. ; If your scripts have to deal with files from Macintosh systems,
    9 h2 N4 ^8 b% j$ F9 a' L
  840. ; or you are running on a Mac and need to deal with files from$ x% W; p7 ~! x7 `4 Q' m8 N
  841. ; unix or win32 systems, setting this flag will cause PHP to. |1 \& v+ ~# J
  842. ; automatically detect the EOL character in those files so that/ x# k0 V/ s9 S8 A7 a3 C* r2 [
  843. ; fgets() and file() will work regardless of the source of the file.7 z9 N. f3 r, u8 ^
  844. ; http://php.net/auto-detect-line-endings
    ' `! R$ f; u, L, V$ c0 ~4 H
  845. ;auto_detect_line_endings = Off
    $ Z, \7 K, s: W
  846. ( i/ [" ?) d3 e* g3 c; S
  847. ;;;;;;;;;;;;;;;;;;;;;;) K4 G8 U! |- z/ t: @+ v. g
  848. ; Dynamic Extensions ;" ~9 r" {5 A' b
  849. ;;;;;;;;;;;;;;;;;;;;;;
    2 y* B- Z: o( ~- \" P* w

  850. $ y& [1 y8 ^3 ]1 e* N  N$ ]5 J
  851. ; If you wish to have an extension loaded automatically, use the following
    ; Z1 ?) u3 w- q2 w- U. o5 U
  852. ; syntax:
    ) l+ A3 A5 X( t& E
  853. ;7 ~% q( ~! ~6 m& t' S' X9 w
  854. ;   extension=modulename.extension
    9 E  J( M' W, S; b3 e! ]) V: q
  855. ;
    8 x) c) ^' K5 E
  856. ; For example, on Windows:( F+ C' Z, x3 z+ Q1 x
  857. ;6 O( T' ]0 u. X1 i* ~7 |
  858. ;   extension=msql.dll* k  L/ M! L7 T
  859. ;
      t- C& D$ P( h- J0 Q: _) I
  860. ; ... or under UNIX:7 l: L/ k0 e4 e2 q( {/ Z
  861. ;
    - a- `! x7 A! T1 ?4 T# K1 X
  862. ;   extension=msql.so
    3 l8 S2 Z, B2 V& P- }2 {
  863. ;+ a4 \% J" B6 z8 G
  864. ; ... or with a path:
    ; j. ]: |3 d5 j% `6 H
  865. ;
    , i+ V( l: ^% f
  866. ;   extension=/path/to/extension/msql.so
    9 n, z; c( {; Y% L
  867. ;
    6 K8 w: h9 Z7 z6 ~. c9 F6 `
  868. ; If you only provide the name of the extension, PHP will look for it in its
    ; b2 K/ G* z. ~* A7 v, O, U
  869. ; default extension directory.1 Z; S8 c1 y0 i5 N$ r5 f0 Y# e
  870. ;
    . d+ E$ p' {% W" s+ H" F7 p: {3 o
  871. ; Windows Extensions" Z. _( x$ t' q( V) m
  872. ; Note that ODBC support is built in, so no dll is needed for it.+ J. `( e8 T6 x0 h; ?3 P* ]/ u) Z6 Z% o
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)9 h: E# p0 }$ b5 O" u. l
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    ) `" W; D& |1 \
  875. ; Be sure to appropriately set the extension_dir directive.) c0 J; N$ q3 v5 Q. ^
  876. ;
      `5 l8 W# `5 {% E
  877. ;extension=php_bz2.dll# Q' F! s1 ?8 ~  e4 y
  878. ;extension=php_curl.dll! V# e5 u7 E2 W* z, j4 ~
  879. ;extension=php_fileinfo.dll
    3 R. w. E, B+ u7 s/ d3 `
  880. ;extension=php_ftp.dll5 c6 J9 a/ {5 o1 L) P5 v9 ?
  881. ;extension=php_gd2.dll
    / p7 i( q: z: f3 W
  882. ;extension=php_gettext.dll
    * r2 S( U% c6 x* u) ~
  883. ;extension=php_gmp.dll
    9 U* Y1 q2 C' i9 W( u, y
  884. ;extension=php_intl.dll9 F5 l: l9 L. _1 f
  885. ;extension=php_imap.dll
    * _+ y0 @, r" l. @; @: B$ ~
  886. ;extension=php_interbase.dll+ Z& M7 `- R' T# r( P7 r4 b
  887. ;extension=php_ldap.dll# U+ j* w* @8 `8 S* O8 ?
  888. ;extension=php_mbstring.dll" {2 w/ ]  \" I4 Q- A
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it) _+ G- p, A: E8 u+ _4 c
  890. ;extension=php_mysqli.dll' c( t" @" v5 e( ?
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    1 n* S( ]- _3 P: M! _- ?/ E! ?8 u
  892. ;extension=php_openssl.dll
    5 Y3 n+ C0 e: T: K# K
  893. ;extension=php_pdo_firebird.dll
    $ K( D; e% D% Q" `5 r
  894. ;extension=php_pdo_mysql.dll
    ; }0 {/ d  A( |9 s6 O
  895. ;extension=php_pdo_oci.dll
    : {5 N0 }* v9 A& J5 |1 D: l( t3 h
  896. ;extension=php_pdo_odbc.dll
    ; u0 ]" z* v7 j- @, O
  897. ;extension=php_pdo_pgsql.dll- c" n0 X" g& u3 |5 ]' P
  898. ;extension=php_pdo_sqlite.dll$ a8 n, G# i, Z* |" e1 a
  899. ;extension=php_pgsql.dll- Y) b7 c0 Y4 {) _, l/ y
  900. ;extension=php_shmop.dll
    ( {: y; q9 c0 w( m* u

  901. + O# k7 h" I7 X2 X3 V
  902. ; The MIBS data available in the PHP distribution must be installed.. o3 y$ B8 V& ?5 {( X6 l8 m1 X
  903. ; See http://www.php.net/manual/en/snmp.installation.php& W( `- J+ v; |0 R! E% M, v& n5 g
  904. ;extension=php_snmp.dll3 w' c2 m' o8 a0 N1 o) J

  905. 0 r/ O% s# b/ u. B% l
  906. ;extension=php_soap.dll8 L4 |$ j/ Y8 J* C
  907. ;extension=php_sockets.dll* @" s) s5 T  E  _9 X! M. @; H
  908. ;extension=php_sqlite3.dll
    7 M0 T1 `( A0 d+ U" j/ U( Z
  909. ;extension=php_tidy.dll
    : `  _! N$ J! l( m  Q& j, \
  910. ;extension=php_xmlrpc.dll* R" h9 H  C/ w4 f. c1 C5 Z
  911. ;extension=php_xsl.dll( J3 B4 v, f+ K$ `/ ^( U. s4 @" k# b
  912. 9 l/ w5 a( }: B3 P8 A
  913. ;;;;;;;;;;;;;;;;;;;1 F" O3 \( {0 G( @& x: S
  914. ; Module Settings ;2 @/ ]2 G2 w' R. V6 c
  915. ;;;;;;;;;;;;;;;;;;;
    9 g, u) h: }; C" i
  916. ) |: R  ~4 G. }. M- k
  917. [CLI Server]
    # s* i; ^" L2 X9 m! \
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output." N5 K& a/ d2 X
  919. cli_server.color = On
    2 ]& T/ a! u3 E& c7 \1 j
  920. 9 W. `6 o) R5 `: p% `
  921. [Date]
    / B; M, ~5 H& Y
  922. ; Defines the default timezone used by the date functions
    ; O$ c" u' q0 ~: O; [0 \
  923. ; http://php.net/date.timezone, E0 q7 B9 d3 \1 G
  924. date.timezone = PRC: D& f# Z- a. ?; z7 O
  925. # C' z6 p# H) J8 J3 V
  926. ; http://php.net/date.default-latitude- S4 d9 C6 @/ F
  927. ;date.default_latitude = 31.76670 F% A7 ]0 n. P6 k3 l6 H
  928. ) v% Q" y7 P5 k. j: C2 u4 o
  929. ; http://php.net/date.default-longitude
    * e5 v0 u" t; e4 g8 Q
  930. ;date.default_longitude = 35.2333! p1 r9 \+ E9 a4 c# `

  931.   v9 h  v: N/ l
  932. ; http://php.net/date.sunrise-zenith
    / o* t5 t$ ^  E+ P( ?% L# d
  933. ;date.sunrise_zenith = 90.5833339 L3 b# o+ E+ j. _/ k6 z1 I. W
  934. , }: R! \( s  d1 _. D
  935. ; http://php.net/date.sunset-zenith
    % t8 {0 c. w5 b3 z
  936. ;date.sunset_zenith = 90.583333
    ' A4 H+ Q) g: o0 U

  937. & P* r, S. V) p1 r  c
  938. [filter]
    % C- U: O* l7 a
  939. ; http://php.net/filter.default; Z0 w- e) H! ?# f* P6 h2 y: |
  940. ;filter.default = unsafe_raw' a+ H7 L. F- f  V( i+ l
  941.   d/ x: O, E% e
  942. ; http://php.net/filter.default-flags1 `2 S- n4 o1 a5 s/ o6 E* I- r' z
  943. ;filter.default_flags =( K: {1 W# X9 c' t0 a8 O* u+ d
  944. # q7 T% ?: @7 D( ?$ w
  945. [iconv]6 Z0 Q/ H/ H( i9 R& C( K
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    5 B" |7 p; S- h: l, A0 x
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    $ Q  a; c: c4 l+ p
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding7 N4 @0 A9 r& u' [
  949. ;iconv.input_encoding =
    + v% h0 v4 l: Y: L
  950. % i; r! ^  o. f, E, W: g
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.. l5 h# z! H3 R
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.& }4 r; c6 @3 `
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    + Q4 J* D% t3 g- Q' Z. E5 x
  954. ;iconv.internal_encoding =# z; ]% u! _# H5 @4 ^6 h* c& L

  955. 9 I( r  s7 q' l: g) g- }* ^; e
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    1 ?' x+ B6 j+ `% z
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    9 ]; `' Z0 q$ Y: D8 _
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    # S! K# N# I& G: F: j
  959. ; To use an output encoding conversion, iconv's output handler must be set
    : m; ~3 b) l. O/ P/ n3 R. w
  960. ; otherwise output encoding conversion cannot be performed.+ P1 I& j  s; v
  961. ;iconv.output_encoding =
    ) e0 x# Y* ]: l. J! x& y- L$ z7 U

  962. ; j9 X# n5 q: r; [# b; O
  963. [intl]. V! S* g) ?# m& p0 L3 `
  964. ;intl.default_locale =
    1 K: u9 }; m! N! \
  965. ; This directive allows you to produce PHP errors when some error
    " Y* l* d) `! l" L! E+ X+ Q( ~- Y5 {
  966. ; happens within intl functions. The value is the level of the error produced.- R$ q% e: L  @
  967. ; Default is 0, which does not produce any errors.
    0 \& T7 G' {/ _. u: v' U. U4 i1 w
  968. ;intl.error_level = E_WARNING
    4 \, C) l& \5 |* p5 |4 M  @; O
  969. ;intl.use_exceptions = 0
    $ R' L  T- p5 r& y
  970. 5 g" I# p6 Y% P- h0 o+ k
  971. [sqlite3]9 \% u5 I) g( ]) k% {
  972. ;sqlite3.extension_dir =0 d% w# ~/ ]" v" a6 C  E

  973. , P, I$ j5 v) O; R
  974. [Pcre]
    ; ]8 y, \% w, X% T) i& a/ X
  975. ;PCRE library backtracking limit.% X2 i, M# ?) b. h
  976. ; http://php.net/pcre.backtrack-limit7 G. |, [* D2 F2 E/ b- ]5 ~
  977. ;pcre.backtrack_limit=100000
    1 V5 l+ @, R  n6 W0 F6 A, `

  978. 2 y" E) B' j$ ?5 `7 [
  979. ;PCRE library recursion limit.6 Y1 ]7 B, A9 b! J
  980. ;Please note that if you set this value to a high number you may consume all
    0 y3 k( R' w, u
  981. ;the available process stack and eventually crash PHP (due to reaching the2 i: @& ]9 ?: a2 p5 k1 b
  982. ;stack size limit imposed by the Operating System).* ^; U/ Z6 B# p
  983. ; http://php.net/pcre.recursion-limit. u/ k( V  i+ C9 O
  984. ;pcre.recursion_limit=100000- o5 }- _" K" |' Z, v5 P8 F3 E

  985. . I+ Z0 s6 q( F" b2 O( ^! k
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    6 B) I' R& |9 N8 E
  987. ;library to be compiled with JIT support.5 T: Q) r0 N7 r4 [# O  h5 ^' q
  988. ;pcre.jit=1# P* r' T3 {" K' [0 j& o) o. D
  989. 1 [6 `% l: ~. T) A% s" z' O
  990. [Pdo]" A- y0 [/ R4 r* i
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"9 ?0 X1 }2 G# c" T
  992. ; http://php.net/pdo-odbc.connection-pooling
    . u! i( F6 d& m7 x8 s+ W
  993. ;pdo_odbc.connection_pooling=strict
    0 K7 ^- E7 B( T6 _/ R: Y

  994. * d* ~) @/ `7 R! _+ a) ]; _; [
  995. ;pdo_odbc.db2_instance_name7 z0 ^) n5 o4 f3 K
  996. 5 Z/ S6 b! g% K% m( C
  997. [Pdo_mysql]% u- V' k6 B. T; o
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache9 \" G: U% _1 t
  999. ; http://php.net/pdo_mysql.cache_size2 W8 @! R, u% H3 l: x
  1000. pdo_mysql.cache_size = 20003 W8 K. [: c; R% }# i2 l: L
  1001. * W- I1 I4 N* ?0 n; M
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in$ `+ `2 [& d. T: f2 Z& |# w1 b  }
  1003. ; MySQL defaults.
    * r0 v2 X, }! L: e8 I
  1004. ; http://php.net/pdo_mysql.default-socket
    ; \; j% p5 {, Z! Q! P
  1005. pdo_mysql.default_socket=
    5 C6 }- m# R3 t( u6 I% y7 M  L
  1006. 1 a2 j. M7 `% ?1 w0 g! a% c' G
  1007. [Phar]( [  b+ D# R. L* Z/ U1 H
  1008. ; http://php.net/phar.readonly$ V* J* G$ T( T% B$ ~% }3 [
  1009. ;phar.readonly = On
    - F7 O1 q" O# L: b8 A/ O: s/ D
  1010. ' B; V) Q, x# A3 a$ g6 k% p' J
  1011. ; http://php.net/phar.require-hash
    6 [1 d, j! n7 u2 Q' ~
  1012. ;phar.require_hash = On8 u7 p) H5 L! m4 h4 @
  1013. ; c7 k3 _, V% o
  1014. ;phar.cache_list =
    1 J3 b! G6 t9 C2 o; n2 p& W5 r

  1015. ) }1 C' b4 o) K  P2 e, i/ [1 g
  1016. [mail function]+ k  V) J% g4 s
  1017. ; For Win32 only.7 N+ L0 l/ [; C, ^
  1018. ; http://php.net/smtp2 F! O. q% G* U1 h! f, p
  1019. SMTP = localhost
    0 {  D( w4 s7 m# `; P
  1020. ; http://php.net/smtp-port
    # J/ T; p2 m( Q& P" v: C
  1021. smtp_port = 254 t- S7 @( e5 @* H: {5 v( G
  1022. 1 P% u5 m! t* H
  1023. ; For Win32 only.1 _0 p9 u$ P! v
  1024. ; http://php.net/sendmail-from
    ( s7 _) s" x0 n
  1025. ;sendmail_from = me@example.com4 f: r, Q5 ~5 r+ T( P

  1026.   C9 n! ~9 z: O
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
      E  c' V- S% @- z  k5 H1 m$ U6 Q
  1028. ; http://php.net/sendmail-path$ Y$ C2 o: A  a3 Y  V
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    * H$ u+ `; g5 i5 \' z2 _) R) e
  1030. ; i% V3 u9 F7 O. t% Z# K! \' g2 e
  1031. ; Force the addition of the specified parameters to be passed as extra parameters: d! f( T6 G3 N  s8 x
  1032. ; to the sendmail binary. These parameters will always replace the value of
    7 d8 [0 k8 R. p+ f9 x% p
  1033. ; the 5th parameter to mail().' }* j( [: f/ i" o* C+ F
  1034. ;mail.force_extra_parameters =9 o. G9 N! x0 a% _7 g6 h7 b- ?/ m
  1035. - n  L: ~4 {, {; O/ ~
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    # |) o- d& S+ \7 n# n' V
  1037. mail.add_x_header = On# x/ z$ H  J2 ~" L9 q/ L
  1038. 4 a9 y! M3 Y% H+ |; X. Y. y9 n1 M
  1039. ; The path to a log file that will log all mail() calls. Log entries include4 P2 b% F1 B- j" i; K; g) {2 q
  1040. ; the full path of the script, line number, To address and headers.
    : j8 G' U' j' Y1 U
  1041. ;mail.log =
    8 U+ x" Q3 s1 M/ {
  1042. ; Log mail to syslog (Event Log on Windows).! Z2 ~4 s9 |+ l  \
  1043. ;mail.log = syslog! D( R' S7 v6 Z/ V' _
  1044. 3 F" K) G1 Z) U
  1045. [SQL]  r. ~6 @/ t* e
  1046. ; http://php.net/sql.safe-mode5 ]' K' x! x% ~
  1047. sql.safe_mode = Off
    - d2 v( Q; x  \- J& E( H
  1048. : c# t; E  l' {
  1049. [ODBC]
    6 p% v& ?  n1 S) x
  1050. ; http://php.net/odbc.default-db+ a7 C% E# s( `  u3 t8 N! ~7 [
  1051. ;odbc.default_db    =  Not yet implemented+ i, C, @3 f! F, z
  1052. : _1 |7 A, k3 `# e
  1053. ; http://php.net/odbc.default-user- |. e2 t, |9 w" z: x2 ]5 M
  1054. ;odbc.default_user  =  Not yet implemented! x; A4 T. s" j) a2 o2 b! z0 ~
  1055. ! d$ E; ~/ r; `& ?+ j
  1056. ; http://php.net/odbc.default-pw
    * @. a2 B& S7 w3 R3 b* r2 m. M) V
  1057. ;odbc.default_pw    =  Not yet implemented
      l- o4 Z3 f. k& q; }. g" f
  1058.   d- `2 g+ ^& Z, S# p
  1059. ; Controls the ODBC cursor model.
    - E8 {5 K* y, G7 ^5 h
  1060. ; Default: SQL_CURSOR_STATIC (default).$ ?' ^* z8 V/ D, N
  1061. ;odbc.default_cursortype2 L3 |( _- {; x
  1062. 3 r& b4 d8 r" D$ `  t; L9 e
  1063. ; Allow or prevent persistent links./ o- m5 w3 U- X5 x* I( U) P6 c, Z
  1064. ; http://php.net/odbc.allow-persistent' ?  H) j. t* c$ i
  1065. odbc.allow_persistent = On' o7 d! _+ [( ~* g; z
  1066. 8 M9 F5 O# i) H2 M6 }, ?
  1067. ; Check that a connection is still valid before reuse.3 D% t( n& J- G) }2 B& f
  1068. ; http://php.net/odbc.check-persistent
    ; s$ @  z' ~9 q+ c& H
  1069. odbc.check_persistent = On
    ' ]( I3 B6 o, p# Y, q: X; N& _/ r5 R
  1070. & t2 ~6 n! M7 K) u: n
  1071. ; Maximum number of persistent links.  -1 means no limit.
    - c. ~8 ]! [. F$ W9 `# a4 \: m
  1072. ; http://php.net/odbc.max-persistent6 ?! s4 r% V1 u' ?
  1073. odbc.max_persistent = -1
    ' d2 J( i  ?+ A& r0 i6 n5 m

  1074. ; q: F  k  P& \5 w
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* ?5 z6 [9 y# e0 u8 W: L
  1076. ; http://php.net/odbc.max-links
    ! c. S- p, A. B# k. o
  1077. odbc.max_links = -1
    ( [  Y9 z0 H- g& w

  1078. # q" E5 P. T& p3 X6 m
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means5 F8 |& L+ c  s& E9 w! N* P
  1080. ; passthru.
    1 i+ g" z9 E7 a9 ~% B* \% p
  1081. ; http://php.net/odbc.defaultlrl) k4 Z; V. v) a, Z: v
  1082. odbc.defaultlrl = 4096
    ) D- F9 R5 R. W9 j
  1083. % x" n  G% |( |" H8 v
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    # `# t# i! L/ ^9 C/ N! C1 e" @
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    4 @* m. H, W8 ~/ L1 n
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    * |: K$ A6 c0 R" K! W4 o: ]
  1087. ; http://php.net/odbc.defaultbinmode
    & O3 {% U; f6 h5 A4 B1 S4 D/ j
  1088. odbc.defaultbinmode = 1" O( ^- U( _) h( I

  1089.   u/ ~$ [: G7 N3 q
  1090. ;birdstep.max_links = -1
    / |6 w2 C2 h" O/ e

  1091. ( ]5 t9 n" o! S7 i
  1092. [Interbase]
    $ r# c. k2 M; m) d3 @: t* O
  1093. ; Allow or prevent persistent links.: C1 G, ~1 z' ~
  1094. ibase.allow_persistent = 17 o1 Q# B/ M9 a( r
  1095. 7 `" a* A8 r" A4 B+ o5 u
  1096. ; Maximum number of persistent links.  -1 means no limit.0 u& m7 K3 j$ O
  1097. ibase.max_persistent = -1' K* M% Q$ Z3 t: _8 h9 l6 V5 B

  1098. , ]+ R. q" L9 u$ A
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.& I: X1 J1 c* }* h8 O4 v
  1100. ibase.max_links = -1
    ) I' q# M' S& ^* s) `% }
  1101. ; e9 B, ~& C2 e( ~* d5 h" v) {, c8 P
  1102. ; Default database name for ibase_connect().  j6 N. d" l/ W+ F
  1103. ;ibase.default_db =# t- S; j- L. T5 @2 B

  1104. , v/ E6 \$ Q7 |5 |+ Y( W/ x
  1105. ; Default username for ibase_connect().
    " @) G6 U0 x% m/ N1 b. J5 N
  1106. ;ibase.default_user =3 D% l: ~0 q$ q2 ?
  1107. 8 U$ A' N( {; B& n6 k$ d
  1108. ; Default password for ibase_connect().5 g; c( G  h- b$ l  p; z
  1109. ;ibase.default_password =( A: d" F. k: i0 W9 L; ~; t+ ~
  1110. 0 M2 ~$ T  M- _  v! e! j1 _" G
  1111. ; Default charset for ibase_connect().
    , E4 F+ h# t2 b
  1112. ;ibase.default_charset =
    + Z! s6 v2 y  {9 K$ P" l

  1113. 5 U: W/ [$ ^2 E$ v& n, B# m
  1114. ; Default timestamp format.
    ) z' R2 {; n2 C  M1 r+ c
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    : y$ m* C3 n! Q( X  P& w
  1116. % j7 N/ M- e5 S& R$ m6 h* p! D
  1117. ; Default date format.! O1 E- t; I) V  P6 a* c. O; p# O7 H  y$ I
  1118. ibase.dateformat = "%Y-%m-%d"
    : e8 P) b: V  R$ g# H) R4 U

  1119. & Q7 p$ n1 ^; u4 D! \1 m. O- u
  1120. ; Default time format.
    + o5 D$ r( L; ?) S" c8 l% x: t9 i! U
  1121. ibase.timeformat = "%H:%M:%S"7 U. @' X1 o: M& Z* d- ~  |8 d

  1122. 8 s( F" e# Q. q& L) ?0 E5 f% b; k& D
  1123. [MySQLi]
    7 g9 B, B- n4 C! ~3 Z3 t
  1124. - h- |+ g/ P( L9 {9 f/ l
  1125. ; Maximum number of persistent links.  -1 means no limit.4 {& S5 h% W/ s% \+ Z, x
  1126. ; http://php.net/mysqli.max-persistent: S$ v9 P7 n# i6 K
  1127. mysqli.max_persistent = -1
    4 o. Q4 [  C$ f0 ], @8 A! y$ v; G

  1128. " p, Z7 A7 \/ J4 M
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
      }% C9 r+ R$ G. r2 P
  1130. ; http://php.net/mysqli.allow_local_infile" E- R0 O: f" s! r
  1131. ;mysqli.allow_local_infile = On4 @0 j7 v* |! L  ^0 |
  1132. ; \- U- q; k0 ?6 t% q
  1133. ; Allow or prevent persistent links.
    . [. M# `- j! p2 k; M% ~
  1134. ; http://php.net/mysqli.allow-persistent
    5 T' G' D* @7 ^, B
  1135. mysqli.allow_persistent = On( z+ Q& b. ?7 X

  1136. # L; C* J- S2 Y* u- k9 x( n
  1137. ; Maximum number of links.  -1 means no limit.# J8 d( c8 y# o- \% T/ ]! `4 K  g8 T
  1138. ; http://php.net/mysqli.max-links1 L' f% z) V( W* ~
  1139. mysqli.max_links = -1$ n4 c0 ]  v. l

  1140. ! U* r, R; r9 i: n
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache3 l5 d& D9 r/ L# D. z" I3 {* r2 m
  1142. ; http://php.net/mysqli.cache_size
    1 P9 `6 u2 N( |* z2 N
  1143. mysqli.cache_size = 20003 |/ W: i/ ~) o
  1144. & o7 s# m  _( C& l- a; d- _
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use4 u4 k: r8 B1 K5 b. Z0 C
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the9 J- q1 c" @- m& D2 z
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    $ B- y  l% t/ q! R* R
  1148. ; at MYSQL_PORT.1 b/ y2 d3 U, C1 Z2 C/ S1 g6 _
  1149. ; http://php.net/mysqli.default-port
    8 {2 V7 b) V9 c" n, n8 b3 a$ L
  1150. mysqli.default_port = 3306
    . H1 U7 E2 q% @2 t* F" R

  1151. " ?1 ~0 E0 \$ K  v0 l
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      |6 ~% x' o: j, q6 W4 u0 t
  1153. ; MySQL defaults.
    8 u% v% H* v7 E9 X  Y# n" t* i# T
  1154. ; http://php.net/mysqli.default-socket
    7 m( _# i: t8 q9 S! N4 d; |3 [
  1155. mysqli.default_socket =
    8 K& D/ d- x8 }$ ~  B
  1156. 4 x& j* J  g" R! Q3 w6 k+ y* i& b
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).& e. p$ R  L3 s
  1158. ; http://php.net/mysqli.default-host
    , g" d' b7 y2 [
  1159. mysqli.default_host =
    # D1 S, O& t" @# T
  1160. ( [- J0 y9 F7 y8 j' s
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).- d: N( r. r, F* k
  1162. ; http://php.net/mysqli.default-user
    : l% x3 F. {3 X" z, P1 [4 V- e
  1163. mysqli.default_user =2 l) V9 x4 o# `1 l5 ]9 ?# z1 u, Y# }
  1164. ; Q: h8 U7 t- j: I: ]8 Q
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).4 F$ |+ r$ l4 w: o. [0 r* p
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.0 R* Z! T, F: U! r6 Y
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")+ @% N1 I9 f* G9 s5 _  r* p& L
  1168. ; and reveal this password!  And of course, any users with read access to this, P7 Z6 N9 {6 |7 n! Z- u9 f
  1169. ; file will be able to reveal the password as well.
    " A* S% E9 D' n
  1170. ; http://php.net/mysqli.default-pw; ~! }# V+ c# m0 [- a$ I$ W/ g9 E
  1171. mysqli.default_pw =8 A6 ]/ n1 `5 K% U# O% d# d, B
  1172. $ b4 D+ |+ F' p: M5 l/ _0 l
  1173. ; Allow or prevent reconnect4 J& B! t4 A6 n
  1174. mysqli.reconnect = Off2 c! b5 e1 w! p/ d

  1175. " G/ j+ v# u2 S; d- P7 w& A* i
  1176. [mysqlnd]
    & A+ i6 @* u8 r% f$ O  `
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be" l$ k  e: r7 x6 m3 T* E
  1178. ; used to tune and monitor MySQL operations.
    ) _2 w" ~& F6 P( n; `
  1179. ; http://php.net/mysqlnd.collect_statistics! m! F, F" W. B5 j5 e: N2 O
  1180. mysqlnd.collect_statistics = On9 A) `, _# T( Z! f+ ~* L" u. Z

  1181. 8 ?8 k2 }* Q4 V: l& f
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be3 B( e5 J6 L7 ^$ B& Z
  1183. ; used to tune and monitor MySQL operations.
    3 V7 ^0 }% X! O
  1184. ; http://php.net/mysqlnd.collect_memory_statistics, H* h  M! V, |8 w! \7 A
  1185. mysqlnd.collect_memory_statistics = Off* C; C8 m4 W0 x" S

  1186. 6 u' ?5 r8 p8 N& ~7 k$ U
  1187. ; Records communication from all extensions using mysqlnd to the specified log+ x% K: Z! }. Y" f0 [: f$ I
  1188. ; file.' l: e) R$ d/ H
  1189. ; http://php.net/mysqlnd.debug
    : I$ z. o* e& n1 N" k8 {, p8 ]
  1190. ;mysqlnd.debug =
    & x6 {! X; x1 h1 [+ q8 }

  1191. 8 T- A" k+ r: X
  1192. ; Defines which queries will be logged.
    3 x7 G/ P: n9 h  c: I' }  ~# N9 W
  1193. ; http://php.net/mysqlnd.log_mask
    ! F( M0 R$ U7 f3 x$ ^# d2 E3 ^
  1194. ;mysqlnd.log_mask = 0
    % I8 @: R/ G4 d( E
  1195. 4 P6 T' C. t6 F
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.8 @4 P0 Y3 }' w" k1 u! ?: e
  1197. ; http://php.net/mysqlnd.mempool_default_size! k6 \0 \, q# L: w+ X0 S% q2 H8 e( f
  1198. ;mysqlnd.mempool_default_size = 16000
    - Q& @7 [6 b8 Y5 @; J) d. K
  1199. * \, N( Z. H1 g( q2 v& G$ a  V
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes./ r4 P9 m, I9 B( n4 c
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    * Z5 {! ?) E. U$ ?! E& A
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    9 `/ x0 s4 }+ h; t: e7 }# N

  1203. 0 V4 Z  X( c/ T: I3 H3 J
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    1 _  A$ v/ n' K+ g' n& h
  1205. ; bytes.* ~/ A9 l2 A. Q$ S1 `) \3 V7 F
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    * c3 R5 F" ~- F* v
  1207. ;mysqlnd.net_read_buffer_size = 327681 r2 ~- q  H+ x7 X# j

  1208. $ h" e4 S  t0 M3 J1 A
  1209. ; Timeout for network requests in seconds.
    , {& @" n0 w, u0 [# ^
  1210. ; http://php.net/mysqlnd.net_read_timeout+ W+ x( J% ^1 p' R
  1211. ;mysqlnd.net_read_timeout = 31536000
    3 I' @' e9 I- {

  1212. # ~' s5 f2 Q+ @" T- B* G/ q
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    4 a8 C* f+ ], b
  1214. ; key., ], ^1 b7 O/ j
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    / K! N1 F- v! ~7 ]/ f( }. v9 c
  1216. ;mysqlnd.sha256_server_public_key =
    $ [; ?! ?& W1 L" M$ v

  1217. 8 y! {* g6 v8 o3 O3 ]
  1218. [OCI8]6 t, {5 K( R7 A( B' G0 ?( M

  1219. % _" y8 G/ c+ ?. k
  1220. ; Connection: Enables privileged connections using external
    1 L) `4 i; t  \+ O
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    : V9 W- u- p+ R8 ^1 J  h
  1222. ; http://php.net/oci8.privileged-connect
    2 Q$ [- I4 w& N
  1223. ;oci8.privileged_connect = Off4 Q" F! Y  j9 ]: f' F
  1224. & |+ D' Z3 s! b/ V  u
  1225. ; Connection: The maximum number of persistent OCI8 connections per' n) n( A5 n' \' Y3 U5 k
  1226. ; process. Using -1 means no limit.( A+ E& Q' l# U% k# x. T0 X7 k
  1227. ; http://php.net/oci8.max-persistent. A: v+ O* {3 O  }6 d& _
  1228. ;oci8.max_persistent = -1. C; F* o- A7 V. \$ e
  1229. : q7 b2 L) B- g% |( Z
  1230. ; Connection: The maximum number of seconds a process is allowed to% @* w% I# {  L! q
  1231. ; maintain an idle persistent connection. Using -1 means idle
    ! q( x% w- g( d& L
  1232. ; persistent connections will be maintained forever.
    $ u9 s! `( H1 u$ N
  1233. ; http://php.net/oci8.persistent-timeout
    , a* _" C; w- X$ W" p
  1234. ;oci8.persistent_timeout = -1
    7 P2 C6 m. a8 D
  1235. ) }+ Y/ q# V/ [8 x' F
  1236. ; Connection: The number of seconds that must pass before issuing a0 S) b6 V9 k  O( O2 p
  1237. ; ping during oci_pconnect() to check the connection validity. When6 t9 k$ C" o) l# p4 {
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ( y( {; p7 q4 I5 j
  1239. ; pings completely.
    2 O( C+ j- {2 ?6 q
  1240. ; http://php.net/oci8.ping-interval
    2 l" e( d- O8 W
  1241. ;oci8.ping_interval = 60
    1 }, j( d' L+ b
  1242. % R- _* v6 c  t8 L/ ]
  1243. ; Connection: Set this to a user chosen connection class to be used
    , k  d* @6 G5 M7 U# B, U, ^
  1244. ; for all pooled server requests with Oracle 11g Database Resident3 j& E" z7 X4 _* S! K" h8 s. n
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to6 Q- D: m  m7 m- ]# [
  1246. ; the same string for all web servers running the same application,% @4 c- P# x& L4 u: \4 f
  1247. ; the database pool must be configured, and the connection string must* V( u7 s% R3 L
  1248. ; specify to use a pooled server.
    - d: |; i1 j! _! W
  1249. ;oci8.connection_class =( i+ R9 [7 {3 s+ _/ d

  1250. + o4 e' f  K4 e) @9 b# t0 C
  1251. ; High Availability: Using On lets PHP receive Fast Application
    1 o4 G( K  g" m, ]1 b2 X) e( y
  1252. ; Notification (FAN) events generated when a database node fails. The% w' _7 t2 `5 h
  1253. ; database must also be configured to post FAN events.' G5 b, Y; C8 w- |' J  M
  1254. ;oci8.events = Off9 c+ h( G' }7 P7 q# t- T2 g7 B
  1255. $ i7 q* w9 |4 S; g
  1256. ; Tuning: This option enables statement caching, and specifies how# g* k2 V* L1 ^6 l" V& q% y
  1257. ; many statements to cache. Using 0 disables statement caching.
    - a9 W: R" B% z7 c
  1258. ; http://php.net/oci8.statement-cache-size
    ; q& P$ K& I2 X! }
  1259. ;oci8.statement_cache_size = 208 e# u  I$ r5 w4 d7 E! T
  1260. # G% B8 m# D9 T$ f. H+ j! p
  1261. ; Tuning: Enables statement prefetching and sets the default number of- M. i; R6 I2 [, H5 m3 j& Z- ]
  1262. ; rows that will be fetched automatically after statement execution.3 M7 i- S7 D! N- R8 i: N
  1263. ; http://php.net/oci8.default-prefetch7 S9 P) D( G- N, V
  1264. ;oci8.default_prefetch = 100; P( T  T2 ?6 {+ S% C+ G
  1265. , F' U2 x% g. @
  1266. ; Compatibility. Using On means oci_close() will not close
    , a/ P8 T: d. j2 f
  1267. ; oci_connect() and oci_new_connect() connections.
    ) I/ r8 r0 i6 {- R
  1268. ; http://php.net/oci8.old-oci-close-semantics
    ' A( {. P1 `$ b5 K, E* q4 S" S+ F
  1269. ;oci8.old_oci_close_semantics = Off
    % o: W0 [9 c* k% G6 u4 Y0 E
  1270. 9 v9 @1 h) m, I$ X* T/ _0 Y, c/ G2 k1 b
  1271. [PostgreSQL]5 F7 {, h* v* Y6 h1 x
  1272. ; Allow or prevent persistent links.: w1 ]5 P" w) h3 I/ }
  1273. ; http://php.net/pgsql.allow-persistent2 |) z  i, k+ j/ Z8 z8 ?
  1274. pgsql.allow_persistent = On
    ) Q, D5 E7 H3 k; B

  1275. ; `6 P9 t! i, R# H  d1 I+ Z9 x
  1276. ; Detect broken persistent links always with pg_pconnect().% L6 I% }- Z9 I8 j$ j7 ^
  1277. ; Auto reset feature requires a little overheads.
    1 V$ \! {$ {& t2 ?6 |4 A: I8 J5 Y
  1278. ; http://php.net/pgsql.auto-reset-persistent
    7 J" t% h+ D& K5 D5 t3 O
  1279. pgsql.auto_reset_persistent = Off
    % S2 D; x% {/ B  y. t

  1280. / ?7 T, r/ G& Z6 a9 T& u! @# q
  1281. ; Maximum number of persistent links.  -1 means no limit.
    # _  v' a$ ~) M! j
  1282. ; http://php.net/pgsql.max-persistent
    . F' S- e/ }  \$ O& `6 {2 f
  1283. pgsql.max_persistent = -1
    8 ^- g* [, U; E8 @+ o7 a7 P0 b8 V
  1284. % [4 K( q. _$ w! c( ?. x
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    & w& S1 \% {1 z# H( j7 b/ a
  1286. ; http://php.net/pgsql.max-links  S0 q0 S+ [, g& T# o( d4 a
  1287. pgsql.max_links = -12 }: Z% u# I$ [. F0 }( p) \

  1288. - U7 Y0 ~: `) S
  1289. ; Ignore PostgreSQL backends Notice message or not.
    2 e, \! X; H- F+ U* T
  1290. ; Notice message logging require a little overheads.
    ' O3 i! Y5 S& A" G; ?8 ]; v% J
  1291. ; http://php.net/pgsql.ignore-notice2 w" [6 G: I2 g8 a7 W( q
  1292. pgsql.ignore_notice = 0+ m7 m' x/ i! x$ ?
  1293. 5 V0 P! X: b- q9 Z& M
  1294. ; Log PostgreSQL backends Notice message or not.
    7 W) L! \7 p' B$ H
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.3 A& L* M4 s- D! S! w* E
  1296. ; http://php.net/pgsql.log-notice
    ; }/ \8 ~) E3 V/ o! I: S
  1297. pgsql.log_notice = 0' m% f* {% ^, O
  1298. " u) }# B& J5 d6 P% T% U  b. J( d
  1299. [bcmath]
    # |  R- B3 h: r6 r2 ~
  1300. ; Number of decimal digits for all bcmath functions.. l$ u* T+ S! |
  1301. ; http://php.net/bcmath.scale
    2 H) v" U9 e( L6 V1 |3 O5 g; l
  1302. bcmath.scale = 0( o1 C* X5 m: i7 w4 U+ y6 J( C

  1303. * d+ T, x' O! f3 K
  1304. [browscap], I) j' ^0 D, F2 r6 m
  1305. ; http://php.net/browscap: U( ?1 \- L- c" Y/ h. E8 p% M
  1306. ;browscap = extra/browscap.ini
    8 }/ H( b5 ?3 a* W5 u4 u

  1307. " n& Z9 C# u- z- o4 b
  1308. [Session]
    " ]0 r2 \( W& `, C# ^% K
  1309. ; Handler used to store/retrieve data.9 {* U  S' F2 ?& w% F( ^- o
  1310. ; http://php.net/session.save-handler
    * ~3 H. t% O9 b; \
  1311. session.save_handler = files
    + {7 u- y+ c$ e0 J5 V5 `% B' R
  1312. 4 Y1 `) _+ e2 y- s4 P
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    # n) J4 S0 L% I/ O: Q6 F/ W
  1314. ; where data files are stored. Note: Windows users have to change this
    : n% t' {4 \2 N
  1315. ; variable in order to use PHP's session functions., H/ f* w8 L6 ^" L
  1316. ;
    . d* `( j) C. O% C
  1317. ; The path can be defined as:' g1 D3 F8 w+ O$ ^
  1318. ;
    2 w+ }% g) ?6 g, t7 A
  1319. ;     session.save_path = "N;/path"" R4 Y# b" A3 W' H) t
  1320. ;
    - i( D1 X- I: A% z2 \; K. X
  1321. ; where N is an integer.  Instead of storing all the session files in4 q2 K9 Z. c, a& s/ m
  1322. ; /path, what this will do is use subdirectories N-levels deep, and" ~1 i6 z; S$ B( g
  1323. ; store the session data in those directories.  This is useful if) W+ H/ @2 p- L$ a
  1324. ; your OS has problems with many files in one directory, and is
    4 m, @; A  k) y. a
  1325. ; a more efficient layout for servers that handle many sessions.
    6 \3 u' q/ U/ S* J' P8 v6 A; c
  1326. ;( \0 S$ g8 K* A# z
  1327. ; NOTE 1: PHP will not create this directory structure automatically.0 o4 J3 H' u3 r6 J1 ^% E! G
  1328. ;         You can use the script in the ext/session dir for that purpose.+ u9 ^4 J* {; P1 D
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    . [% e6 P' F3 g* ^3 p
  1330. ;         use subdirectories for session storage
    5 _& P: S' [8 E
  1331. ;
    3 c6 Q6 p# s- s, \4 _4 e
  1332. ; The file storage module creates files using mode 600 by default.& l/ I% R$ L+ c, J4 L
  1333. ; You can change that by using
    % q& R5 Q5 ^' A! F& u
  1334. ;4 D; q7 f' F6 v1 d& d# V0 a
  1335. ;     session.save_path = "N;MODE;/path"/ c- k7 y7 w0 ?6 a
  1336. ;( p0 u( o0 M6 v" G9 S" A
  1337. ; where MODE is the octal representation of the mode. Note that this
    8 G% r! R/ O: _
  1338. ; does not overwrite the process's umask.! a" R( I7 V( N' I& L, W2 }8 ]7 |% R2 j
  1339. ; http://php.net/session.save-path
      U1 S+ E/ H  u  ]
  1340. ;session.save_path = "/tmp"
    ) X5 D: E! w. R) P9 G7 e
  1341. 5 V% F  _0 N3 B" l3 I
  1342. ; Whether to use strict session mode.
    * s, g' I  H+ e% g- r+ u" X
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate3 `, P' F3 e  P( {4 Q  L4 r6 E
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects3 z; R; w2 X: ?
  1345. ; applications from session fixation via session adoption vulnerability. It is* ?0 I* @/ K1 Y- I6 Y' F. P
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged./ Z2 u8 O/ `, X0 y1 v
  1347. ; https://wiki.php.net/rfc/strict_sessions6 S( q1 V* H" U+ _
  1348. session.use_strict_mode = 0
    " t& f6 q. z) C* }, I

  1349. ; r6 C) C8 P3 K
  1350. ; Whether to use cookies.5 Q( U3 _; H/ R4 f. U  ?
  1351. ; http://php.net/session.use-cookies# e# ?) n' u; r, N6 p# B$ P& S
  1352. session.use_cookies = 1
    ( g0 r: Y9 y8 D* {) M5 Y

  1353. 5 g# |& C- d: O
  1354. ; http://php.net/session.cookie-secure9 R* K: z4 h2 i9 F2 h9 \3 t4 u. _
  1355. ;session.cookie_secure =" n$ N/ i  `# q1 h4 a: {% z1 i
  1356. % \. P9 k6 w! j' k( V4 S) v
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    1 @  y; V! ]+ O5 T1 Y
  1358. ; the session id. We encourage this operation as it's very helpful in combating3 h' }: ~) @$ V
  1359. ; session hijacking when not specifying and managing your own session id. It is
    6 C; |- x: x$ |2 I: Y3 h& l: s
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    5 e6 ]& o* J0 V
  1361. ; http://php.net/session.use-only-cookies- ]2 ^' ?3 Z3 [3 T# x
  1362. session.use_only_cookies = 1! D8 l: s/ t( A9 b" c& K4 V  w
  1363. 4 y5 R( u' O3 g/ f# N: k
  1364. ; Name of the session (used as cookie name).( q+ {) c* k- Y# |, h0 Y
  1365. ; http://php.net/session.name5 \- s4 N2 n  D- d7 |$ D* Y
  1366. session.name = PHPSESSID
    4 h5 ]+ q; \/ ~0 f1 S$ `2 J8 Y# A
  1367. - \% y5 d+ R% c, r9 l
  1368. ; Initialize session on request startup." _0 [4 j" ^8 ?2 b4 P$ @
  1369. ; http://php.net/session.auto-start0 `! H" W. |( E8 x
  1370. session.auto_start = 08 |( q$ O; U+ L  c8 O8 C% i
  1371. 8 P% [. O6 V- F0 s- q/ g9 W
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.6 t2 x! R/ M! i( ~4 n. _7 X3 @
  1373. ; http://php.net/session.cookie-lifetime
    * N6 Q: v* G0 r- S
  1374. session.cookie_lifetime = 0
    9 V2 T- w2 l% I7 g  G" h  h6 g3 H

  1375.   Y8 X4 Q6 Q, L+ H1 K/ y) h& N
  1376. ; The path for which the cookie is valid.
    + |$ V4 j# A  h
  1377. ; http://php.net/session.cookie-path
    9 x8 }" q% t7 Q* f. A; ~2 x; }
  1378. session.cookie_path = /
    ' C  @( \" k4 e+ H

  1379. ; T, b. @4 w: h5 i" V; j* V! f& v- ^2 P
  1380. ; The domain for which the cookie is valid.% ~% _( H4 o, \$ p$ I, c6 h- l
  1381. ; http://php.net/session.cookie-domain8 P% b$ m1 X3 `* ?9 h- T
  1382. session.cookie_domain =
    $ r, f9 [4 f. I0 Z! G, k) _

  1383. 9 t1 U. H* O' V. i& k, x
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    8 u  C( {3 L9 p3 E( i8 x
  1385. ; http://php.net/session.cookie-httponly
    9 a8 B" b6 P9 k, o( \
  1386. session.cookie_httponly =
    ' W! O/ D! P9 g

  1387. 7 j0 \7 @# M+ d& A1 l; W
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    1 d) v5 b% n% j4 V
  1389. ; http://php.net/session.serialize-handler
    5 b/ j0 l( O, a( F, o8 \! ^
  1390. session.serialize_handler = php1 q/ G) I2 u' x( j* C$ g, a
  1391. ' N1 f! A- D9 ^. a
  1392. ; Defines the probability that the 'garbage collection' process is started4 }0 f: K" t% K! W1 G3 N
  1393. ; on every session initialization. The probability is calculated by using
    6 k: i: \, @9 k) ~- ]
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator! l1 h+ M/ e; s0 N' J9 T4 w
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    $ i& [/ c6 w/ J2 |
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance( U2 B5 `, ]! w) s, P% A
  1397. ; the gc will run on any give request.& A' ^$ S, \# f2 O. Q7 d
  1398. ; Default Value: 1
    $ B7 p* p) o0 o& D1 E  m" }, f
  1399. ; Development Value: 1
    ( r9 v, n- D4 |# E8 W; E+ E) Y2 Z
  1400. ; Production Value: 17 I1 |& L) l* L  ]
  1401. ; http://php.net/session.gc-probability: Y9 w. a+ l% x7 _! r
  1402. session.gc_probability = 15 u& M* K: h- u! R) C" h" g: e$ H

  1403. & A- N' L2 y& E7 E4 q4 T
  1404. ; Defines the probability that the 'garbage collection' process is started on every0 Z. w/ t9 Q& T/ _, g3 B+ [
  1405. ; session initialization. The probability is calculated by using the following equation:/ o' s. v& [' m
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and; t2 t& {# `* |& ?3 ?
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    8 q6 {# Q* R2 E9 i0 _! c% v1 w! j
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance2 ^  y+ ~8 F0 k7 o5 q- @# R
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    / |; c$ g2 v- |6 C1 S- G4 h- W
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    * E5 w1 H' W. R. ]7 }: ^4 t) A
  1411. ; this is a more efficient approach.& P5 K4 N/ S7 Q
  1412. ; Default Value: 100
    5 L9 e/ _4 d. V$ ?* L
  1413. ; Development Value: 1000* q# i/ P5 h- K+ ]% ~! H  P. c6 R
  1414. ; Production Value: 1000  y+ e8 a5 v. _8 D! {! B  \0 b
  1415. ; http://php.net/session.gc-divisor: ]/ ]  v  O- N$ G6 D
  1416. session.gc_divisor = 10004 |% m" r7 @. }8 f

  1417. 1 J  U1 q2 [  C0 _2 U. M6 B
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and+ \. T# f. e  d8 c
  1419. ; cleaned up by the garbage collection process.
    2 P# }9 _# `0 t2 T, Y( ~! ^; D" ?% h
  1420. ; http://php.net/session.gc-maxlifetime6 C+ b& p- e0 s. ~
  1421. session.gc_maxlifetime = 1440$ Y9 H% E; a( c% }* U

  1422. ' L6 K( m6 j$ u
  1423. ; NOTE: If you are using the subdirectory option for storing session files( w* ^$ b" b9 a* S) ^+ ?4 R
  1424. ;       (see session.save_path above), then garbage collection does *not*
    ; {5 V, T6 Z4 A/ c' J5 ]+ i- g; M# I
  1425. ;       happen automatically.  You will need to do your own garbage$ Q2 M2 m8 _) i7 n) E) t. F7 Y8 g
  1426. ;       collection through a shell script, cron entry, or some other method.. o1 p" ~0 D+ b+ _: O
  1427. ;       For example, the following script would is the equivalent of
    7 [! ]/ H# p6 G, i4 t0 o" r
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):9 Y2 Q- g9 P. P$ Y/ K
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm3 L( i& L+ U, q+ s, a! d8 c

  1430. 4 V6 M$ P+ A* a4 F5 ?
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.) t: p% Q( Y: V. r% K$ r8 T9 N
  1432. ; HTTP_REFERER has to contain this substring for the session to be$ F6 ]& }. U6 B+ G' N6 R3 W, X4 U9 X
  1433. ; considered as valid.) z' h' w" ]# H% D, t
  1434. ; http://php.net/session.referer-check" d5 J' }4 O/ s7 H  y5 Z  k. j/ t
  1435. session.referer_check =7 A: ]+ m5 D1 d

  1436. 9 Q6 Q% g4 `2 C- a' v) C6 E
  1437. ; How many bytes to read from the file.
    . |: z' W- h4 Z! t5 w
  1438. ; http://php.net/session.entropy-length/ y( \$ c; l* X3 m1 j
  1439. ;session.entropy_length = 32
    7 {4 z$ `4 U! u: r/ |% M
  1440. ; A, ?5 d2 d5 x3 }8 e1 o, r
  1441. ; Specified here to create the session id.
    2 M. M( j/ W0 M' Y; p$ I: n
  1442. ; http://php.net/session.entropy-file
      o9 Y, v/ N5 G& v6 t
  1443. ; Defaults to /dev/urandom
    6 [  [7 _0 ^- Y0 i# T
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    9 P1 S" g9 L( D3 r& }. Q2 d
  1445. ; If neither are found at compile time, the default is no entropy file.
    : E$ [- c: j$ ^2 T, u
  1446. ; On windows, setting the entropy_length setting will activate the
    ( s1 Z$ n+ q% `$ D( r
  1447. ; Windows random source (using the CryptoAPI)
    5 y0 T3 A  D  B. Z
  1448. ;session.entropy_file = /dev/urandom# h: c  S9 p9 G' m4 C; O

  1449. + a8 O7 U  E* V8 g" P; L
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects2 I* D3 y- ^  e4 c' a6 C+ T& W/ K, P
  1451. ; or leave this empty to avoid sending anti-caching headers.( @% [) H% J, n, d2 D2 q
  1452. ; http://php.net/session.cache-limiter
    % Y) \% A% u; M6 r# L9 r
  1453. session.cache_limiter = nocache- O. V$ e$ D. `: K: r
  1454. 1 X2 H* Q( V1 M! l6 z
  1455. ; Document expires after n minutes.7 U' X! O1 b$ @: h3 i2 Z, l! Y
  1456. ; http://php.net/session.cache-expire! l1 E- j( t, |; _* u' A) P
  1457. session.cache_expire = 180. z. \4 h. U9 m

  1458. . Z) `1 j) K2 |
  1459. ; trans sid support is disabled by default.# S3 u% ]0 r: G
  1460. ; Use of trans sid may risk your users' security./ u2 C* ?5 H2 |- L3 o
  1461. ; Use this option with caution.
    / w: u3 f9 C+ t0 A& P9 f
  1462. ; - User may send URL contains active session ID
    & B  x- h& F$ g# X
  1463. ;   to other person via. email/irc/etc.! W6 o4 m- ~$ q! G
  1464. ; - URL that contains active session ID may be stored5 i* n4 f6 a3 N+ x2 W
  1465. ;   in publicly accessible computer.
    - Y6 d3 t) F" V9 @3 [: y
  1466. ; - User may access your site with the same session ID
    - l) j0 {1 ]9 o" Y  A
  1467. ;   always using URL stored in browser's history or bookmarks.# n# H: [0 W+ [# @
  1468. ; http://php.net/session.use-trans-sid0 Q7 h& P- o5 F  T8 V
  1469. session.use_trans_sid = 0' H1 C  @3 }9 K$ i, R/ V
  1470. 0 J; j; f2 P8 U$ D! c7 _4 r# ]& \
  1471. ; Select a hash function for use in generating session ids.
    9 F9 p, Q& L* ?  `( x$ E# U; M
  1472. ; Possible Values
    5 e" m' A6 x7 R4 L0 @- ?' M
  1473. ;   0  (MD5 128 bits)+ D0 r1 @# E+ B8 a
  1474. ;   1  (SHA-1 160 bits)
    - h. W# V6 s  r" Z. _9 C1 R
  1475. ; This option may also be set to the name of any hash function supported by7 R- f* i! H+ j0 @! I
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ) C) L4 h: e1 k3 m6 L
  1477. ; function.
    ) m* D" P: H3 M) g5 J2 o4 h* F, R
  1478. ; http://php.net/session.hash-function7 o/ Z9 ^! g9 F7 T
  1479. session.hash_function = 0
    # K3 ~; R. @# J, P: u% ~: z5 u

  1480. ( |& f; z4 V3 S( v' [% B8 `
  1481. ; Define how many bits are stored in each character when converting
    $ H& c) h9 a7 d2 U  B& x
  1482. ; the binary hash data to something readable.' g9 M4 i6 Y1 n8 T- |
  1483. ; Possible values:2 O/ Q0 H5 @9 r; d- ]
  1484. ;   4  (4 bits: 0-9, a-f)
    0 d1 u5 T4 V" N& W/ @( \
  1485. ;   5  (5 bits: 0-9, a-v)
    ! K1 p( ^( y7 D& L
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","); T3 }% y7 b" d$ O# e
  1487. ; Default Value: 4
    ! N( s8 I- N2 O" N4 `8 J- p
  1488. ; Development Value: 55 Q* p  X/ H  M( ]
  1489. ; Production Value: 5
    ; _& d! K3 u" |7 P
  1490. ; http://php.net/session.hash-bits-per-character& k6 l/ Z% _2 t2 X8 p
  1491. session.hash_bits_per_character = 5
    - v' U. T$ v6 i* Z0 a
  1492. / i' `; H% q) q3 a
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.' [3 Z8 Z  r6 ~, p6 F, V8 V" ]( q
  1494. ; form/fieldset are special; if you include them here, the rewriter will, M# B+ ?# j; \* W3 z* m7 e
  1495. ; add a hidden <input> field with the info which is otherwise appended8 B& g; [6 }! o; W2 E
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ) p; u  v3 Z! r. T
  1497. ; Note that all valid entries require a "=", even if no value follows.
    - C3 [: ~6 O, O, ?, O/ V# g
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    5 }) }$ S8 ^' _" N- S: k" O+ c
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 W& o3 V! n: v1 y
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  P5 a9 X9 k" N: w7 h8 H
  1501. ; http://php.net/url-rewriter.tags. w& W4 O% [. a
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    + i+ z( q9 _" E1 F
  1503. 3 i: [$ X$ p# r( W% k9 `) W
  1504. ; Enable upload progress tracking in $_SESSION+ f! ?3 K9 |1 _4 K
  1505. ; Default Value: On$ j; Z: O# `0 U3 P
  1506. ; Development Value: On' R9 V! t4 [- z2 a1 a2 F; C
  1507. ; Production Value: On# Y* U) @, l3 i5 z
  1508. ; http://php.net/session.upload-progress.enabled/ y5 v. g0 e9 ~" C
  1509. ;session.upload_progress.enabled = On( b4 B6 C& m  n9 _0 ~3 ?5 h

  1510. 6 z* B( H- M# S7 K4 g9 p: }) L! ^
  1511. ; Cleanup the progress information as soon as all POST data has been read' n7 ]4 ^9 _. {* X
  1512. ; (i.e. upload completed).1 c4 F2 D3 X, f; Y
  1513. ; Default Value: On
    7 {# H# g; J/ O# R
  1514. ; Development Value: On( w( Q( z2 K" r. s
  1515. ; Production Value: On/ B" I0 c8 F8 z; A( x( }+ m  o- k
  1516. ; http://php.net/session.upload-progress.cleanup
    $ D5 p3 H! |8 C' ~. L0 C- h
  1517. ;session.upload_progress.cleanup = On1 U3 k# q: T! G2 Y7 s4 ?

  1518. 4 H  N5 _, ?, `/ O- U
  1519. ; A prefix used for the upload progress key in $_SESSION
    - r* \9 N. B4 l+ L! ^3 S
  1520. ; Default Value: "upload_progress_"
    % \/ P7 Z" R8 v) {  u6 N& b$ @
  1521. ; Development Value: "upload_progress_"3 W( I/ i1 e; @! \9 ?# [7 L3 m0 b
  1522. ; Production Value: "upload_progress_"
    9 E# h1 c5 ^) S
  1523. ; http://php.net/session.upload-progress.prefix2 J( m9 f$ F# F' v
  1524. ;session.upload_progress.prefix = "upload_progress_"
    5 P& x7 A" Q5 ~9 M% G
  1525. 6 |) Q$ b7 w1 b# ^3 j+ y4 z0 o9 {
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ) t) @/ D% l0 \: c6 S
  1527. ; containing the upload progress information
    8 U' P+ U. e+ h
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"& ^- c! o/ j7 V* w: T4 X2 V
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 q$ @' o; m) q  v' t
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"9 @8 O0 O* ]7 ?( z
  1531. ; http://php.net/session.upload-progress.name  R" K2 {+ P$ X" }1 A% P+ y
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"2 k: `* }4 Q# i# Q( }& a3 q

  1533. 9 o2 Z1 ~4 B. S) U' }4 E* u/ F
  1534. ; How frequently the upload progress should be updated.
    9 k! w5 D0 O3 g( K/ o6 n7 T) `
  1535. ; Given either in percentages (per-file), or in bytes
    8 Z9 n+ M% a8 k6 {" M/ j6 s
  1536. ; Default Value: "1%"" C4 b2 y: [. b/ g( g0 C1 Z* K
  1537. ; Development Value: "1%"7 B6 {0 {: _( V1 d* A  R
  1538. ; Production Value: "1%"
      H! m2 \. r% C8 k6 x
  1539. ; http://php.net/session.upload-progress.freq1 ~( T$ g% S; W+ A- j( v
  1540. ;session.upload_progress.freq =  "1%"
    0 J$ S  @0 q5 ^$ `* t% o$ }

  1541.   P" a- b' v9 H$ n$ z1 Q% }
  1542. ; The minimum delay between updates, in seconds0 w1 Z  u0 L9 `/ L2 ]
  1543. ; Default Value: 1
    7 N$ p4 z* x1 u( j& ~7 P. u
  1544. ; Development Value: 1
    ; _5 x0 ^4 x7 @
  1545. ; Production Value: 1
    - z" H: I% n* R# J; @2 A; V
  1546. ; http://php.net/session.upload-progress.min-freq, n2 B& ]/ X: K' m3 t5 k* r
  1547. ;session.upload_progress.min_freq = "1"
    " l: V# e2 Q* F4 B

  1548. ' w/ z" {6 k( a7 d1 O& g
  1549. ; Only write session data when session data is changed. Enabled by default.
    * i$ M2 \  Q1 e1 _: @; T
  1550. ; http://php.net/session.lazy-write( S1 |: |$ L* z& K- ^4 l
  1551. ;session.lazy_write = On3 M; w2 S: g8 n0 x& q! O5 d2 r* Y! D
  1552. . t2 Q* c  o7 D# [
  1553. [Assertion]9 b; i. y* y5 A. D0 Y: s
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    & V! \0 U% e3 R7 b- [5 K
  1555. ; -1: Do not compile at all
    4 u! I- e8 t! ]+ m# C
  1556. ;  0: Jump over assertion at run-time0 p: }' A$ [/ a5 d9 U
  1557. ;  1: Execute assertions
    - R2 D' ^+ H7 I. j
  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)2 m; x& s; v+ {& G& ~
  1559. ; Default Value: 1
    6 o( }( l& E& N- X( M
  1560. ; Development Value: 1
    : B0 H9 x0 ]! t' U
  1561. ; Production Value: -1
    & [! w" T0 ]4 y* t, e& E' q) w2 y  f3 R
  1562. ; http://php.net/zend.assertions
    ! E! W- R% }& b
  1563. zend.assertions = -1/ X2 l4 V! ^: ?

  1564. 8 C; j. ]0 ~; R* `2 M1 R* G. t
  1565. ; Assert(expr); active by default.
    # z* O- u* N, r+ d; t
  1566. ; http://php.net/assert.active
    # W" d  S# y" Z! v0 C
  1567. ;assert.active = On' ?% A2 \& o! e  H) `
  1568. # B# x- E. k# W& b0 U- l
  1569. ; Throw an AssertationException on failed assertions
    0 [& @; x) o5 Y; S2 u+ M+ u7 ~
  1570. ; http://php.net/assert.exception
    + l. ]! z, y8 m! F! `! k5 \, B
  1571. ;assert.exception = On( r2 E6 F% k. o5 l/ ]. _$ j
  1572. 5 O, o6 w' a" {6 [
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
      F5 @- V3 O8 L
  1574. ; http://php.net/assert.warning+ [* \; U) N$ X6 L# n
  1575. ;assert.warning = On
    2 m# Q! a4 k3 u7 n7 C
  1576. # T7 }' M. a1 ?/ z0 C$ L
  1577. ; Don't bail out by default.5 b* z% v9 F" z8 A
  1578. ; http://php.net/assert.bail
    + p: n" J& \2 i. F
  1579. ;assert.bail = Off
    / h+ A. v& ?( O9 `. i  Q" B8 g
  1580. $ {  E8 N7 o. H/ n& @- i7 b
  1581. ; User-function to be called if an assertion fails.
    7 ^; n, B1 {) J, j3 T9 o
  1582. ; http://php.net/assert.callback
    7 J% k) Z6 F2 @6 D
  1583. ;assert.callback = 0
    & B3 w  B2 D+ H9 Z. D/ D% A( u: R+ J
  1584. # _9 t$ g' H2 h) M) _  v. R
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    . y9 k+ \, c: ?. X# U) t
  1586. ; error_reporting(0) around the eval().. Z8 h2 i- |1 n% v7 d: K$ l
  1587. ; http://php.net/assert.quiet-eval2 t9 d/ z* ?+ U6 G
  1588. ;assert.quiet_eval = 0  m. T; a: s5 p

  1589. ) J4 \4 i) ^6 u. a6 Q+ t, A
  1590. [COM]
    & q8 y% l5 C  I3 {% n/ u
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    : w7 H9 [+ d3 q3 p/ |, s: ]
  1592. ; http://php.net/com.typelib-file
    ; I! n+ X- u4 v5 }' k* g) ]0 i
  1593. ;com.typelib_file =
    8 P' H$ X8 b0 E# l  A" y

  1594. 6 j- C: g" a2 m1 t  L2 C. R
  1595. ; allow Distributed-COM calls
    8 S, A/ c# ^: ~/ x2 t1 l
  1596. ; http://php.net/com.allow-dcom
    6 `. g5 {! z% Q* ^+ o1 c4 z- ]4 x
  1597. ;com.allow_dcom = true* s. b1 y' A2 y8 K$ e# l5 v
  1598. 5 O) w: d6 M  g3 Q& N# X0 {
  1599. ; autoregister constants of a components typlib on com_load()% H! y" N: `) r6 F5 [
  1600. ; http://php.net/com.autoregister-typelib* \; G: b) b2 ~) s* Z) ?: u
  1601. ;com.autoregister_typelib = true- [  D# B  G- }* t; U2 Y# W, {& Y
  1602. . R" d9 U1 G1 |- ]! v2 D, Z6 i; \
  1603. ; register constants casesensitive
    : a; f1 ^0 s- h- v
  1604. ; http://php.net/com.autoregister-casesensitive
    7 y* Y+ p* o7 U0 E4 C0 O/ c
  1605. ;com.autoregister_casesensitive = false
    " p8 ^6 G0 J- s8 g" @& X! P' Y# Z

  1606. . B1 G1 T0 T4 ~
  1607. ; show warnings on duplicate constant registrations
    ) r- H3 W* z& O4 W1 ~
  1608. ; http://php.net/com.autoregister-verbose/ W1 T8 |/ P6 y
  1609. ;com.autoregister_verbose = true+ T2 z0 f; X7 Y& A) Y

  1610. 4 i5 g) ?6 B5 a5 H" }& F
  1611. ; The default character set code-page to use when passing strings to and from COM objects.9 ~2 Y- J9 e; [5 B1 F- h
  1612. ; Default: system ANSI code page
    $ g, }; ~' K( Z, B/ o
  1613. ;com.code_page=" z' K) Y- j7 T7 n/ o# P% ~
  1614. ! z: t7 |" B1 }' ]: z& V" K/ B9 L! {
  1615. [mbstring]3 ^# n! y4 d. W1 A
  1616. ; language for internal character representation.$ ?7 L! X7 I5 ~3 v
  1617. ; This affects mb_send_mail() and mbstring.detect_order./ o/ E* s4 u; V$ M, G" V
  1618. ; http://php.net/mbstring.language
    3 n  Z2 K! ]5 z7 [
  1619. ;mbstring.language = Japanese* V- L2 h6 e# o  o7 f
  1620. 4 _! g; z9 [& M8 q8 B5 D% i" A
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    . ~/ y2 o. q) I
  1622. ; internal/script encoding.
    & W  S8 c0 e% d7 S4 v% C  d; s2 a
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)2 {: o( N  V( f' b. o
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    - x7 a2 R/ F% w' R1 ?
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding+ N( V" i5 S. G
  1626. ;mbstring.internal_encoding =0 J* W1 _) c: T+ q& C: C3 q! p
  1627. ' J% H* Q! @$ b9 u' x+ f. d
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ) I8 P: t6 X( S. u+ \8 a: j& D: C
  1629. ; http input encoding.7 w& C2 r: C$ F9 U
  1630. ; mbstring.encoding_traslation = On is needed to use this setting." C5 z+ r2 c) a
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ) h. [# R) Y$ x- p" t0 W
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input6 ?) W# D5 m% {- Q; z. z6 w
  1633. ; http://php.net/mbstring.http-input
    ) a2 F2 f- M8 \6 @8 Q) Q5 x, J
  1634. ;mbstring.http_input =% ^$ \6 M( [* P" k
  1635. ; k: v/ S1 H& S+ ?- z
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ! E! \! V0 r3 _8 V
  1637. ; http output encoding.
    ) D) c, d# V( b# m% p
  1638. ; mb_output_handler must be registered as output buffer to function.
    ! k1 u* l5 U/ h2 b
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    - ]3 l2 @2 ^1 Y. o! z8 ]. q. R. ^
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    9 _3 l% z8 G; y6 E  ~
  1641. ; To use an output encoding conversion, mbstring's output handler must be set/ B& @5 O; g7 x! t& t  p
  1642. ; otherwise output encoding conversion cannot be performed." Q! V* N! v! P! k# M5 q
  1643. ; http://php.net/mbstring.http-output+ P2 C' p6 |0 \
  1644. ;mbstring.http_output =
    6 J8 v/ J& S6 o
  1645. : I, q. p3 `% m; ?5 N& q
  1646. ; enable automatic encoding translation according to9 L  y0 W  e' y( G4 S
  1647. ; mbstring.internal_encoding setting. Input chars are4 P' o% q) }- r9 S7 l6 D
  1648. ; converted to internal encoding by setting this to On.+ y% @* z2 R- a6 g8 e
  1649. ; Note: Do _not_ use automatic encoding translation for
    " n: {( ]% y- L$ w% x
  1650. ;       portable libs/applications.+ @2 G. r$ @& k1 n' g" k
  1651. ; http://php.net/mbstring.encoding-translation# M  B5 ?4 l! e# z4 S6 h( Y  C
  1652. ;mbstring.encoding_translation = Off
    ! k! E: g, {6 g/ p/ D' \

  1653. , V$ Y$ u8 a' p( M( _7 \+ B: j1 A! }
  1654. ; automatic encoding detection order.
    7 R8 K' L* O+ N
  1655. ; "auto" detect order is changed according to mbstring.language/ }5 f3 m' m" ^/ j
  1656. ; http://php.net/mbstring.detect-order# p8 l& l( |' l
  1657. ;mbstring.detect_order = auto0 u2 Z, o; a5 I# X

  1658. ; H( Q# R/ j# P, T! m
  1659. ; substitute_character used when character cannot be converted
    8 ~; L! j$ W$ `4 E" @' D& m0 B* @( P
  1660. ; one from another
    ; B9 h8 M* [8 {' ?7 ]3 M1 E6 d
  1661. ; http://php.net/mbstring.substitute-character# s( z: t! ^+ d  q6 M- q' C: |0 o  n
  1662. ;mbstring.substitute_character = none
    ( c* z5 H4 _. }' N, ?) i; L. k) g2 a, Q

  1663. 2 l, C+ y5 L* s% L( e. f7 |
  1664. ; overload(replace) single byte functions by mbstring functions.+ v( R" N" Q; o7 X9 Y- T
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
      K/ ^% n. M5 ^
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    " q$ g1 n2 G1 @2 g' n# g$ s
  1667. ; For example, 7 for overload everything.
    $ v. @; i3 f+ e6 O; C
  1668. ; 0: No overload
    7 Q$ m/ Z/ k  v$ ~9 Q  J% Y
  1669. ; 1: Overload mail() function
    2 u1 U& a/ u: }1 {6 a' r1 W& D" N
  1670. ; 2: Overload str*() functions
    7 S, d) g- v  |& M/ Y
  1671. ; 4: Overload ereg*() functions1 e& B! o, ?& w7 S, y- p; X- j
  1672. ; http://php.net/mbstring.func-overload
    $ r, _4 p* o5 X% a+ @% w
  1673. ;mbstring.func_overload = 05 J. N* r8 }! v
  1674. 8 ~; u) k* [: [5 P3 P3 q
  1675. ; enable strict encoding detection.
    9 r7 e; O7 \/ [6 K  ^2 c, j. i
  1676. ; Default: Off
    - L2 k9 @+ D( f" ]2 e. {9 o  {+ e/ Q" Q
  1677. ;mbstring.strict_detection = On5 v( e5 W- `2 \% R/ X: L2 X: z
  1678. ! [) v0 g' Q: D
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()5 X$ @- |) M2 {. @+ Q: u2 C
  1680. ; is activated.
    ' i+ M" q  P$ e( F$ }- W
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)1 I2 g( P7 d) {9 a" ]" a
  1682. ;mbstring.http_output_conv_mimetype=
    9 }0 V) O2 J2 S

  1683. . B- D3 K; c" M* C9 v
  1684. [gd]
    6 d) n$ i% @& v- s( `
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    4 Q  n; @0 t. X
  1686. ; a gd image. The warning will then be displayed as notices
    * k9 t' N& J; ]' E" c
  1687. ; disabled by default- X4 U& L' x+ U' a$ L, G
  1688. ; http://php.net/gd.jpeg-ignore-warning# a7 Y! J! r- Z0 Z$ m& a
  1689. ;gd.jpeg_ignore_warning = 03 A4 t' J) A; }- E

  1690. : z# @2 q* h4 S# @2 J% @: V$ L
  1691. [exif]5 h; o. W( s$ u" r- G
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.8 I% s5 w6 m8 j5 s
  1693. ; With mbstring support this will automatically be converted into the encoding3 G" \+ z" x) _8 W* `. Q
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    3 J$ x, c/ u- q, d- b. N
  1695. ; is used. For the decode settings you can distinguish between motorola and' y" w3 [/ Y' C2 D; ^$ }% y
  1696. ; intel byte order. A decode setting cannot be empty.
    . ^0 f- @( E$ x$ t7 N' N4 [
  1697. ; http://php.net/exif.encode-unicode
    & G. a, G6 ?' H" s8 |' v
  1698. ;exif.encode_unicode = ISO-8859-15' |+ q2 |, b. ^) ~' |7 n
  1699. % I* p! o) O6 x/ |
  1700. ; http://php.net/exif.decode-unicode-motorola3 T; f2 r* j3 o8 e
  1701. ;exif.decode_unicode_motorola = UCS-2BE/ S, L# D+ h" [) H+ k0 h5 w
  1702. # T" L* J4 k& ]. B" E/ F9 ^
  1703. ; http://php.net/exif.decode-unicode-intel9 t0 y8 @8 P, v) a+ X4 t0 l; m
  1704. ;exif.decode_unicode_intel    = UCS-2LE" R1 n/ |: u* L

  1705. 3 y, K# ^. n4 S- Q/ C7 M; ~
  1706. ; http://php.net/exif.encode-jis# r& E0 Z! z) ^3 R: d
  1707. ;exif.encode_jis =
    ; P3 y# j2 E" v9 |

  1708. : F  o# I9 V, O0 S
  1709. ; http://php.net/exif.decode-jis-motorola
    % g2 t  H7 W. A! E2 u$ w
  1710. ;exif.decode_jis_motorola = JIS+ ~, i/ y5 H5 F
  1711. , M! S& D6 P7 _4 _3 n
  1712. ; http://php.net/exif.decode-jis-intel
    . q3 U0 P& c4 q: r  N
  1713. ;exif.decode_jis_intel    = JIS  x# e6 B# E- ]& I. Y2 Z

  1714. . g0 C* k- p+ H( K
  1715. [Tidy]! U: v/ `1 X4 L0 J1 Y
  1716. ; The path to a default tidy configuration file to use when using tidy
    & ^# N% U0 e) k' v: `
  1717. ; http://php.net/tidy.default-config/ |/ Q! o0 r2 D) U
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    0 |9 p4 v% i: i
  1719. ! K7 U+ e/ @3 S# ]: _: L
  1720. ; Should tidy clean and repair output automatically?
    $ L9 D0 g$ _2 F/ H3 L; ~9 S
  1721. ; WARNING: Do not use this option if you are generating non-html content+ c7 d" R! i0 o" R7 [6 q3 V
  1722. ; such as dynamic images
    + [+ ?5 I1 W3 f  `
  1723. ; http://php.net/tidy.clean-output; G( i; B2 }4 E8 r( ]- K
  1724. tidy.clean_output = Off
    . p9 I# t0 g$ e+ a  N) R

  1725. 5 ^0 B' t7 y$ |$ ^$ z
  1726. [soap]
    4 E' U) t: h' J6 N
  1727. ; Enables or disables WSDL caching feature.
    * F% I% X; x6 H5 ~5 `" a
  1728. ; http://php.net/soap.wsdl-cache-enabled
    7 z9 B8 m9 Q- h  X! l+ i
  1729. soap.wsdl_cache_enabled=1
    % V9 b6 M: x$ Z" Q+ _, y

  1730. 5 Z; a, U1 t% F* I2 z
  1731. ; Sets the directory name where SOAP extension will put cache files.& Q7 X: H; Q- G5 A/ l2 x9 w
  1732. ; http://php.net/soap.wsdl-cache-dir! G3 ?9 `' x6 k1 n5 W9 ?3 _: v
  1733. soap.wsdl_cache_dir="/tmp"
    " V' E+ s0 o+ W0 t/ \& B

  1734. , w; |& _6 ], f% s
  1735. ; (time to live) Sets the number of second while cached file will be used
    7 L+ R; _  y" @! W+ [5 c, @- j) ?
  1736. ; instead of original one.
    ' i. e' w/ x7 H) S
  1737. ; http://php.net/soap.wsdl-cache-ttl, ^9 Z% e7 j8 R3 w, s; L( B
  1738. soap.wsdl_cache_ttl=86400( S1 r# {& s% d) V9 H$ T% Y7 q3 n5 V

  1739. & I5 S3 L  Y. L: n3 o
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    8 X2 F6 m+ Q1 }$ y! _+ E: u
  1741. soap.wsdl_cache_limit = 50 c' X' ]. O2 M) ?
  1742. $ Z! n3 P6 h  [4 m" |9 Z
  1743. [sysvshm]: m7 ^2 q8 g! a* i6 L2 p
  1744. ; A default size of the shared memory segment
    1 S( d3 w& ~6 o8 j3 H
  1745. ;sysvshm.init_mem = 10000
    1 H- G8 C0 M1 _' s$ C. F

  1746. ( x3 u( ~/ M* |' T# q4 h
  1747. [ldap]
    ( J6 p) w: {! h
  1748. ; Sets the maximum number of open links or -1 for unlimited.+ s- e; o' T0 p! _
  1749. ldap.max_links = -1& @  z+ Y: N! T$ f8 n  O
  1750. ) N: r* M1 M. v" S& C' s( P9 H5 Q7 H& t
  1751. [mcrypt], D3 G5 n. Y5 V7 d: V
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open" F7 D( E* }' Y4 Q. \; j- Y

  1753. 8 u& f5 K( D" ^" g0 _8 V9 ]/ L; E
  1754. ; Directory where to load mcrypt algorithms
      `) z3 F. h% Y; P; V- ?. F
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    / C; X: X0 i8 m% A) H3 I
  1756. ;mcrypt.algorithms_dir=7 {. s, ~. D4 x4 V8 T

  1757. + A9 {; F' b& x5 y3 U& D7 c! a8 e  \1 a
  1758. ; Directory where to load mcrypt modes( v* P6 H. Y7 t/ E7 ]0 M
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)* M9 @5 q  U+ x/ J) J8 K# X
  1760. ;mcrypt.modes_dir=$ k( u! I/ H6 I1 r

  1761. % g7 j1 U# U8 }2 |
  1762. [dba]5 x# s7 U, L1 r
  1763. ;dba.default_handler=
    " ^' K6 l9 a$ r$ T, }

  1764. + `; ~8 q/ v3 i* B5 H
  1765. [opcache]
    ' H3 ?" |$ N; b! h8 Z, T7 M) D
  1766. ; Determines if Zend OPCache is enabled
    0 ~6 f) b, h9 N. U5 m1 r: x
  1767. ;opcache.enable=0
    5 O+ l( n& p  [
  1768. : P" D+ I: l. w# B
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP; e1 D7 M6 N1 q. v" N- h( D
  1770. ;opcache.enable_cli=0
    1 T9 }/ q4 o; e! J0 }5 T
  1771. 0 O; ?1 C' Q% |$ d9 J0 v7 P
  1772. ; The OPcache shared memory storage size.
    - W/ ]! _5 Q/ d- d* C3 o* V
  1773. ;opcache.memory_consumption=64
    5 N  E" R- B9 y* g- h  U% q

  1774. - d' D! v% C/ x
  1775. ; The amount of memory for interned strings in Mbytes.7 r6 o- M+ y6 |5 M
  1776. ;opcache.interned_strings_buffer=4
    9 f# ?2 L7 F8 k$ h
  1777.   w' N! M5 V5 L! s$ d, j
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
      P; D1 l5 C0 ~3 m; e0 y, B! j
  1779. ; Only numbers between 200 and 1000000 are allowed.
    ) ^5 _' q$ p* R3 t  \
  1780. ;opcache.max_accelerated_files=20009 D( v6 A) U! \

  1781. 2 I9 e. B+ A; G4 Y, A/ T2 v; r
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.  f4 @# U; F  h& \) X. r4 `) O
  1783. ;opcache.max_wasted_percentage=5
    & {0 M/ v5 `% l& M5 F1 n7 {3 O
  1784. 6 n: V+ m) i0 }; n5 \' g- z" g
  1785. ; When this directive is enabled, the OPcache appends the current working
    ) G' I" Z8 V8 }! [/ A9 C- ]1 L
  1786. ; directory to the script key, thus eliminating possible collisions between* F' q5 l8 ~0 E9 l/ Y
  1787. ; files with the same name (basename). Disabling the directive improves4 X+ k9 J( F: c: b  ]
  1788. ; performance, but may break existing applications.$ U: s# g* D. X) E' G3 a
  1789. ;opcache.use_cwd=1% [1 p4 A; E9 A1 p+ Y
  1790. ! x% n' D5 @. W: @; f+ R
  1791. ; When disabled, you must reset the OPcache manually or restart the
    ) I& {2 y2 ]* E# n/ z
  1792. ; webserver for changes to the filesystem to take effect.
    2 K5 I1 H' P% n  I
  1793. ;opcache.validate_timestamps=1
    7 U8 i" i" a6 H/ g" T6 J

  1794. " Q8 c+ H! I! o% {3 v+ G5 N) [
  1795. ; How often (in seconds) to check file timestamps for changes to the shared% s- w# Y8 F5 q+ W7 M7 `
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    " K1 g7 h& K% m
  1797. ; once per request. "0" means always validate)
    / \6 u; s1 O1 e
  1798. ;opcache.revalidate_freq=25 X/ ^- Q9 A3 ^5 u

  1799. 3 }8 f% G, H# @( b0 z; F& t5 B
  1800. ; Enables or disables file search in include_path optimization
    2 K2 E- @. W: b& Q  r& ^
  1801. ;opcache.revalidate_path=0
    # U9 {0 J3 J# B- E$ e6 h4 E$ N

  1802. , g" q) R8 O, ?+ o
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    # h8 K: Z! \/ N- |0 r2 v$ M0 `2 Q) _7 s
  1804. ; size of the optimized code.5 @# j" G6 M. i4 e: `/ t) d
  1805. ;opcache.save_comments=1
    6 s: |' Z# u  b0 n, U7 _
  1806. * T0 E+ u, q! c; |; M) N& Z
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code  c! h# P! q( g! o% V
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    - q9 B2 ]. p! t- w/ h3 B7 T% j$ ?
  1809. ;opcache.fast_shutdown=0
    6 Y2 f% L! o" J/ Y. L, H, g
  1810. * o7 t! \) u, @) d2 V8 d" \/ M5 D, V7 b
  1811. ; Allow file existence override (file_exists, etc.) performance feature.: J: M6 ~$ v  C. F7 A/ ?
  1812. ;opcache.enable_file_override=0
    5 o$ Y# Q3 v: O8 X0 E* X
  1813. ) a1 g3 F) K1 d" j; n
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache+ ~8 n( ^7 T* q
  1815. ; passes
    ' i* O' z; K' I- t8 H, ]0 ?
  1816. ;opcache.optimization_level=0xffffffff
    ! ^  K) C; U3 j# L3 @
  1817. : i% ~' v/ w2 B2 E9 }/ G! v, Z! H
  1818. ;opcache.inherited_hack=1$ V$ w4 u7 e+ [6 r) c
  1819. ;opcache.dups_fix=0
    4 E' b7 W6 x7 M- ?& z7 X+ b
  1820. 3 V& C/ r% ~; V' A3 R' b) u+ f
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    " s: O) A" ~; g( b( d
  1822. ; Each OPcache blacklist file is a text file that holds the names of files+ U+ ~9 `' X5 I; ~; f/ k: ?
  1823. ; that should not be accelerated. The file format is to add each filename
    ' _; {# B# @$ d. s) Q9 S
  1824. ; to a new line. The filename may be a full path or just a file prefix
    ) L+ Z/ s7 ]/ X, O' f! K5 w8 Y1 P" j
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www" H" Q( J9 }  G6 S0 {
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
      X2 q8 W( c% F2 ]. N( n  P6 O  U
  1827. ;opcache.blacklist_filename=
    9 _; ]) @, Y$ w* d$ f

  1828. . H4 a2 [! c# C1 H6 h+ g8 s  k
  1829. ; Allows exclusion of large files from being cached. By default all files
    ) j  E  P# q. A) N- Q# \. p
  1830. ; are cached.
    $ u+ a. X. t, [9 m: W
  1831. ;opcache.max_file_size=0
    ; q3 O% H! t; p2 Z; _# u

  1832. 5 [+ K" [! {4 }1 A3 o( K' T
  1833. ; Check the cache checksum each N requests.
    4 }9 W$ W! u2 r1 y4 C. t" D/ U) K4 B
  1834. ; The default value of "0" means that the checks are disabled./ B8 j- U4 `" w+ T5 z, r
  1835. ;opcache.consistency_checks=0; \, j3 f' x3 M* V

  1836. ! m- X0 [. r( q/ K7 J  ]# R3 C2 d
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache; s7 J8 ?& G' i+ o
  1838. ; is not being accessed./ Z5 U- T- b1 e2 h
  1839. ;opcache.force_restart_timeout=180, s/ b. `; f9 M0 O$ C2 a! E

  1840. ' y; r2 c. k! ?# v! v. d7 u$ R9 b
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    ; b, f: z, v, z: M( t
  1842. ;opcache.error_log=& `. B: Z) @* [0 k

  1843. ' T4 K9 j3 @+ U
  1844. ; All OPcache errors go to the Web server log.9 S3 D8 d# j  p
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    : ^7 H5 g+ `9 N7 e: M' f
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    ! ^0 r! Z6 L. s/ r. a
  1847. ; debug messages (level 4).4 t; r+ k! \2 D- e: W+ V+ L
  1848. ;opcache.log_verbosity_level=1
    5 y- K; c" e  e2 D

  1849. & u( i; A: S: ~% ]: G& I6 G
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.- o. Y) }7 b0 l: B# Q- b# m, i. L: {
  1851. ;opcache.preferred_memory_model=
    . m8 X, c- S$ D. z

  1852. 8 b( ]/ b  J4 r# x' ~7 x7 t  J
  1853. ; Protect the shared memory from unexpected writing during script execution.: ?! o9 ^4 l& d/ G2 P9 _0 K+ b
  1854. ; Useful for internal debugging only.
    " _% X8 _, Z9 p: r- H3 }  U) _
  1855. ;opcache.protect_memory=0% d- N- Q9 l; [7 N, X6 C& b
  1856. ' N0 e  G3 c( N" `  }  P
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    " J3 V- ^+ G! k/ c
  1858. ; started from specified string. The default "" means no restriction; L/ D5 e: C- b0 G' i  T" B
  1859. ;opcache.restrict_api=
    ( o2 J2 V+ q: q6 {/ A8 a
  1860. 2 ?+ S3 g- l# o
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    . y2 k+ J, d% L* B
  1862. ; processes have to map shared memory into the same address space. This
    ! L3 c$ R8 h0 Y5 k/ u
  1863. ; directive allows to manually fix the "Unable to reattach to base address"/ H, t4 f. [7 E% V" h1 v% W3 C
  1864. ; errors.. n8 N& w, M- s3 |. n
  1865. ;opcache.mmap_base=
    + X3 S, Q+ b* C. z) V6 T! O' s0 z, F
  1866. 3 j9 A$ u/ o+ ]: d! S
  1867. ; Enables and sets the second level cache directory." v4 ]1 L" d# M, L. O4 h
  1868. ; It should improve performance when SHM memory is full, at server restart or: x3 t" R9 a: ~9 {" E' e
  1869. ; SHM reset. The default "" disables file based caching.
    ' x& s" V; K' J, p9 G
  1870. ;opcache.file_cache=
    8 V  b! W- T# r* H  Q# ~; o3 V
  1871. $ H' j( [4 G+ ?2 \8 p
  1872. ; Enables or disables opcode caching in shared memory.4 H" b# K" \$ w6 h; \+ u
  1873. ;opcache.file_cache_only=0
    % y: \0 J1 k$ m7 U( s
  1874. . H5 B3 W, J& y+ t% J
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    ) Y3 k- K  s' F# x! S+ [
  1876. ;opcache.file_cache_consistency_checks=1
    % Y4 `7 [. B& i1 d2 D9 Q5 U1 B6 J; t

  1877. - \* Q$ C. N0 o$ H6 f9 v
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to% g( u2 j, {& a7 B: u$ ]& [
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    ) O8 r" V, F2 P& R
  1880. ; cache is required.  t9 [7 }+ n7 R0 v1 S
  1881. ;opcache.file_cache_fallback=1
      B6 H1 p  _  L% r
  1882. " `/ s, U4 j( ]3 B7 y8 w* n
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    / A& f. Z# w4 r; K
  1884. ; This should improve performance, but requires appropriate OS configuration.8 Y+ j2 F- X# n
  1885. ;opcache.huge_code_pages=1
    $ }7 h( n9 J- J$ ^5 r) G' e* X0 E
  1886. 4 o6 G2 x$ i! _. g( r" d
  1887. ; Validate cached file permissions.- e  G6 A+ T$ ~' r- r( s+ e6 {
  1888. ; opcache.validate_permission=0$ I0 g; O, m; ^" x8 h3 {! k! F

  1889. $ Q! _% B3 q4 h( Q: P
  1890. ; Prevent name collisions in chroot'ed environment.
    1 e' B1 J6 V; \, q
  1891. ; opcache.validate_root=0
    . q" E0 ]" i7 S; T5 J2 s

  1892. , m, [. c- I6 d. f
  1893. [curl]
    & r- h. _2 a& w
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an) {; t: L, q- S4 D8 _
  1895. ; absolute path.
    / w8 z5 C! U# Z* @' H  `
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt4 `$ n- M/ H) M% j
  1897. " C! c. J5 G+ V: f1 q
  1898. [openssl]& d; ?2 H/ @4 W5 I6 E6 h
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    . S( X' O- Z' @1 m: y
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    7 {7 K' A& H& [( y+ @
  1901. ; not specify a value for this directive as PHP will attempt to use the
    4 S$ D$ N/ D, Y' T4 m
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    ( v" n' b2 \* {  @' l! p
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context; {, y# N% x. h* J
  1904. ; option.
      _4 k) z0 L8 W! X
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt9 Q# L/ M) v2 z+ H
  1906. : |0 u" N3 U' c4 |# |% d. _
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the% s9 D# J# Y9 D. N. Z; f- O
  1908. ; directory pointed to by openssl.capath is searched for a suitable; d( p3 N3 I$ F" d. ]2 h
  1909. ; certificate. This value must be a correctly hashed certificate directory.* S; P# Z" m: A0 }" q
  1910. ; Most users should not specify a value for this directive as PHP will
    9 h4 w* o, C. L0 O2 |+ E3 |
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    / L/ K& m9 u  P9 P1 S; W
  1912. ; this value may still be overridden on a per-stream basis via the "capath"" f: H5 z5 v" l* L5 R
  1913. ; SSL stream context option.7 ]7 P- S( P$ p8 v9 ]7 p2 L) D0 D
  1914. ;openssl.capath=' n# A) Q& g1 ~0 M# h; W( e9 {
  1915. " Z( S; W& l5 A5 t0 w8 Z9 w7 N
  1916. ; Local Variables:
    " x  A5 f( Z; f$ ]5 [; P
  1917. ; tab-width: 4
    3 O: M/ w' g$ x( ^5 V0 ^$ V
  1918. ; End:
    3 ?  w4 _1 N/ t- M

  1919. 4 r2 ~( v2 A% s2 `
  1920. ;eaccelerator  c' q9 Q" U% J' g( R3 o* [
  1921. . J% H( @" w4 v+ u6 k- u
  1922. ;ionCube
    % A8 u5 C( U& k1 D4 E

  1923. . D0 R+ |/ K6 k
  1924. ;opcache1 z5 N' k/ B% E8 L9 y+ s. N; |  Q) M
  1925. 8 ]8 \$ D! F+ V3 s/ n, ~; `
  1926. [Zend ZendGuard Loader]) W) D7 X+ t0 M1 m
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    6 U) ^( }+ J1 T2 g5 O, d) C
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so6 ]4 Y/ G* C, m& X
  1929. ;zend_loader.enable=1
    7 x. g8 X) |: }3 _1 L* {
  1930. ;zend_loader.disable_licensing=00 a! O+ g0 q  C: P+ e4 g
  1931. ;zend_loader.obfuscation_level_support=3
    3 D) N- v& p, w$ K& i
  1932. ;zend_loader.license_path=; u  z& h$ g/ ~
  1933. * R7 X) K0 m: f, `" Y+ `
  1934. ;xcache
    # ]$ k7 M0 l, w5 N

  1935. + V; X- b3 u2 W- G2 Y) t
复制代码

* X$ I) ]( o- ]) _/ {9 J+ R
6 d9 \9 G% B5 x/ ?0 a7 r! |' o) f
: G6 H+ S4 f& z  s* S2 Q, n! Q+ t; ~: r; r. M0 v
* t9 ]+ K. x1 Q& P; U5 f' e
2 G3 g! U: Q' u( E% L
, e' v' ]3 `! Q- |7 B% D
PHP5.6版本原始设置7 _! B& v2 r8 V* s% p; E# C# Q

! j+ g( U) i$ A! q1 }
  1. [PHP]
    9 X2 J1 I+ j+ n( \  n: d/ B8 ^

  2.   F) {9 A9 d. f
  3. ;;;;;;;;;;;;;;;;;;;6 z: |& x5 ?) y4 g
  4. ; About php.ini   ;1 b' s! a/ A5 I8 c! I0 k6 N# \
  5. ;;;;;;;;;;;;;;;;;;;  k$ }8 B6 V3 i6 a$ S1 Y* q; ]
  6. ; PHP's initialization file, generally called php.ini, is responsible for
      ?$ [  \& ?' N( W$ X. H! m' S
  7. ; configuring many of the aspects of PHP's behavior.+ F; k: _$ T3 b6 i% |5 ^  F2 F
  8. 6 ~. M5 H8 I2 |: Q
  9. ; PHP attempts to find and load this configuration from a number of locations.
    - a) @$ l# N6 F* T5 f
  10. ; The following is a summary of its search order:: W/ V6 ?8 H& Y6 u! c
  11. ; 1. SAPI module specific location.
    & X. p8 E. s# B  e
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)5 h) A7 }8 h0 l/ x% H, w" I
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0); W& `9 z6 G4 f' G3 z- G
  14. ; 4. Current working directory (except CLI)
    % Y, Q! h9 @, T8 E6 y* x. ~5 y
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    & ?- L' W' E/ v+ _/ X# j
  16. ; (otherwise in Windows)
    : R% q. y. L9 _8 A3 m8 T" j: P; f
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    9 \' o2 l* _; t* d
  18. ; Windows directory (C:\windows or C:\winnt)+ n# X) r0 N3 `* ]+ F1 @# Q1 z4 r
  19. ; See the PHP docs for more specific information.1 Z7 F' T. j* ?( e+ v: x6 q3 \
  20. ; http://php.net/configuration.file
    $ ^( s! Z: X9 V8 l  h' w5 h2 {* a
  21. 8 I2 d# M) l' Z: `" [
  22. ; The syntax of the file is extremely simple.  Whitespace and lines" i- o* `7 v9 r  w1 S8 U6 h
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    , V& U0 x6 m5 m, I5 j0 q
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though4 x. o; `) v# F% @3 O- |# o. `
  25. ; they might mean something in the future.5 W7 k: I. ]& Z4 P. {% Z8 m6 i

  26. 7 |4 g7 _5 L$ P$ u7 Z+ F
  27. ; Directives following the section heading [PATH=/www/mysite] only6 C5 S8 P2 M7 d. x
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    9 I  M& b9 U* L, T
  29. ; following the section heading [HOST=www.example.com] only apply to& `2 T! R7 K' E" _# u' N% a
  30. ; PHP files served from www.example.com.  Directives set in these3 ]) r9 m' S. ^+ w
  31. ; special sections cannot be overridden by user-defined INI files or
    6 X' Q2 H4 M3 o3 S! C
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under6 V$ M) E+ c0 [3 e
  33. ; CGI/FastCGI.
    + I8 q' e6 D+ g, a9 h  ~! Y
  34. ; http://php.net/ini.sections
    ( G" c% F6 ^+ l; A1 p! p: q
  35. 8 Q( F' T5 o; Z7 g
  36. ; Directives are specified using the following syntax:
    # g3 D, o- o4 c8 U* @9 g
  37. ; directive = value. J& o, Q6 J( W" e. i
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.. A6 }7 r1 o: @. B( n* u
  39. ; Directives are variables used to configure PHP or PHP extensions.
    1 n- @2 H; B4 b
  40. ; There is no name validation.  If PHP can't find an expected; q' |- W; c/ ]8 Z- v) w
  41. ; directive because it is not set or is mistyped, a default value will be used.' m2 M8 ]) e' i$ e5 g
  42. 7 Z$ s5 N; @& z7 j# i' x
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one1 k0 @- Q5 w3 Q. }0 K
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
      }! h+ ~; {7 J/ G
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ' s9 b' C! Z+ S* U5 s
  46. ; previously set variable or directive (e.g. ${foo})- m, E2 L& [4 }$ \

  47. * R5 _: T; x2 l5 S
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:+ p2 X1 U" o, F2 |
  49. ; |  bitwise OR
    2 A  a4 d% S/ u* n0 b
  50. ; ^  bitwise XOR0 [0 U  G: r( [9 V% w8 w% B1 x
  51. ; &  bitwise AND
    5 a  z- i; Q) G
  52. ; ~  bitwise NOT8 M. Z: `, [' B
  53. ; !  boolean NOT& G% p/ w. `- K7 I

  54. 9 O8 H, j5 M. L1 U
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.! B& V( z1 Z1 p% U" P
  56. ; They can be turned off using the values 0, Off, False or No.
    + i6 P2 G; v' z
  57. ! F/ }7 k, ?9 P: I9 K7 ^/ C
  58. ; An empty string can be denoted by simply not writing anything after the equal( F; M) y: v! Q) U0 K3 r2 A, s; G' P. K7 R
  59. ; sign, or by using the None keyword:- C  k5 T! g1 t4 g

  60. " o- ]; w4 o4 H& j3 s
  61. ;  foo =         ; sets foo to an empty string5 s5 T, K6 S' i
  62. ;  foo = None    ; sets foo to an empty string/ {5 X0 W# J' u+ Y4 V
  63. ;  foo = "None"  ; sets foo to the string 'None'
    . Z: m+ w, s0 p8 ~/ p
  64. ( ^/ W- y( z- J( ~5 d! [
  65. ; If you use constants in your value, and these constants belong to a+ x+ Z7 I7 k4 F" l2 c0 X
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    7 ?9 W! a: N: d/ G3 d- @$ @
  67. ; you may only use these constants *after* the line that loads the extension.
    . h8 j$ v3 A6 R$ Z- v" W( C" u. x

  68. , g# k6 ?/ v) }: Z& T0 f! |% `
  69. ;;;;;;;;;;;;;;;;;;;
    2 ^+ j0 K$ Q! r5 _  ^& T  j- p( a- ]
  70. ; About this file ;
    " I1 [( Z! F- }* W. k; n9 u0 C
  71. ;;;;;;;;;;;;;;;;;;;
    $ `' {/ K" M2 }6 U0 R4 }, D5 k
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    : I1 Z! @' x$ d
  73. ; in production environments and one that is recommended to be used in$ B6 q. t$ t( \; H" v2 P3 T
  74. ; development environments.- M" S) m3 X$ i

  75. 2 @: j" z9 S' d  _7 k/ ?$ G" b
  76. ; php.ini-production contains settings which hold security, performance and
    ! O  J. W5 n* o& T. Q7 o
  77. ; best practices at its core. But please be aware, these settings may break6 |+ |9 m2 u( Z/ T# S5 n; N
  78. ; compatibility with older or less security conscience applications. We; W, Y" s& e& ?1 h) ~" j- C
  79. ; recommending using the production ini in production and testing environments.1 e- L5 Q: w! k- E/ q# ~0 X2 Y

  80. 6 m. v; `" @4 w* @% N
  81. ; php.ini-development is very similar to its production variant, except it is
    8 h3 Z& _: x- m7 J; e; o& l  w7 B
  82. ; much more verbose when it comes to errors. We recommend using the, {7 e" f- N9 h' l: Y- v
  83. ; development version only in development environments, as errors shown to
    ! f% L9 R) N4 T! A; G
  84. ; application users can inadvertently leak otherwise secure information.
    % }9 G: G9 r" Y+ w

  85. 6 q) \! W* U% ~- W/ ]! x9 G# o% N* |
  86. ; This is php.ini-production INI file.
    / ?6 _) S3 r4 ~

  87. ! Z7 M8 d6 D1 Z) |) B
  88. ;;;;;;;;;;;;;;;;;;;6 v: s, ?2 U! h- I/ k
  89. ; Quick Reference ;5 o9 o* P3 Q; O9 I
  90. ;;;;;;;;;;;;;;;;;;;
    - Z. C) s1 ^) w$ D  X3 g; B
  91. ; The following are all the settings which are different in either the production
    : u  A: D, M  J+ x! X: o
  92. ; or development versions of the INIs with respect to PHP's default behavior.; g8 X6 l1 V7 T# u
  93. ; Please see the actual settings later in the document for more details as to why: r; n9 w" _$ J. G9 o* z
  94. ; we recommend these changes in PHP's behavior.
    / j5 x; K* I4 x" S# T4 Y

  95. 4 r( m7 ?) X$ u" I4 `8 f
  96. ; display_errors1 B2 [, f5 d$ t4 l5 }3 m
  97. ;   Default Value: On' x9 R; V- p/ T$ q, g
  98. ;   Development Value: On
    & ^* W: L* [+ j9 h
  99. ;   Production Value: Off- S! r" Q: l& J4 ]

  100. 7 D# a  }; [+ e9 Y4 K$ D3 |3 |6 e& c
  101. ; display_startup_errors
    : ?, d- A! p9 p) `: Y2 ?4 T" R8 {
  102. ;   Default Value: Off8 x. }. T' u7 v+ `
  103. ;   Development Value: On; @0 U* h% _- C  Y; k. k% g4 @2 t
  104. ;   Production Value: Off: r( e( @- H: _+ H, U

  105.   C7 c3 Z# [: `" E
  106. ; error_reporting) _; k$ \' X5 u/ n# I. G  h6 \
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED8 e" R! T8 ^, e( T
  108. ;   Development Value: E_ALL1 d+ u$ w" W0 ~9 U: L
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ; z0 u' Q" L% K$ P+ Q

  110. 1 x( P( e8 A2 Q9 Y
  111. ; html_errors4 K' T' f; }/ {: O: U, c
  112. ;   Default Value: On  `7 I+ J% G1 @8 h' m2 T
  113. ;   Development Value: On
    0 {# Y8 r4 m. ~5 B$ B
  114. ;   Production value: On; n# M: s- v/ a' o5 X$ {' l
  115. + ?# k6 Z4 a( Q' B
  116. ; log_errors; Q8 w! ]3 e% k2 k, }/ C
  117. ;   Default Value: Off
    $ o! s5 t2 Z1 R/ F
  118. ;   Development Value: On
    2 U8 B3 t, h/ t# R7 u
  119. ;   Production Value: On0 w7 }2 O0 t1 ?) J/ H& g5 Z

  120. * S. z9 V* h& [, r
  121. ; max_input_time
    , R; x& E- p' z$ ^1 w  T/ ?- `
  122. ;   Default Value: -1 (Unlimited)& |3 F9 f: [( a3 C8 ]
  123. ;   Development Value: 60 (60 seconds)) J. v* c7 {- u9 K3 b
  124. ;   Production Value: 60 (60 seconds)7 ]. J8 ]( _# T# J; M  Q

  125. 4 n! j* U) m, ~3 x
  126. ; output_buffering
    5 Q( l9 j( f# {
  127. ;   Default Value: Off
    0 u: A' k% U( W
  128. ;   Development Value: 4096* k1 B4 s6 {! h3 V
  129. ;   Production Value: 4096. @  {( U. f( C( k+ C1 `5 @) d! c$ t

  130. ( c4 ^2 z) Z- W5 R5 L
  131. ; register_argc_argv
    6 o: }0 B, Y8 O% f# ?  {- v; y( G
  132. ;   Default Value: On9 F; r( U0 |# N* d/ V
  133. ;   Development Value: Off, Q* P$ M6 e. ^
  134. ;   Production Value: Off
    , Q0 v5 D$ d* ^' w

  135. - @+ I$ H% _' S- x; N
  136. ; request_order
    4 _+ n1 K' _9 \2 O
  137. ;   Default Value: None
    , Q9 H  n1 w3 r: Q
  138. ;   Development Value: "GP"
    3 \* X: P6 ]. _' e* L: p# m, k. r
  139. ;   Production Value: "GP"; r" q  x, B- K& c

  140. ' X8 n& F/ Z( e3 J
  141. ; session.gc_divisor
    ( I" ], x2 c# E0 K5 r% U) w$ Q$ l
  142. ;   Default Value: 100: m) `% H+ u$ L2 ^* G+ ]
  143. ;   Development Value: 1000: t( L6 p" W+ N) W/ f# y
  144. ;   Production Value: 1000
    ( U  v% C2 ^  i# ^8 U+ L

  145. * d; l; a2 D  i0 `* U7 c+ f- @- g
  146. ; session.hash_bits_per_character9 x) m! m! a6 C  o; n* w. t
  147. ;   Default Value: 4
    - {% u$ Q' s" g4 B
  148. ;   Development Value: 56 c6 w/ B: B- W
  149. ;   Production Value: 5' K, l& U, m6 K' F, S  T7 d& e' N! ?

  150. # x: K; r, v0 @1 K! }1 c& ^1 g
  151. ; short_open_tag
    ) b. ^& K; Y* z- W, {$ s
  152. ;   Default Value: On
    ' M- {5 K; A# J
  153. ;   Development Value: Off
    % W4 V1 x$ d# |) f% o# l
  154. ;   Production Value: Off
    3 R1 K/ T) m0 \/ L
  155. % |  @1 ^# @) X( v9 c
  156. ; track_errors
    6 k) t( @4 g% `; E6 _6 ~$ b; c  M
  157. ;   Default Value: Off
    ! D; j# I2 P( M6 O+ G+ P
  158. ;   Development Value: On
    $ M  d! d3 x% j
  159. ;   Production Value: Off
    7 P5 \( O* L! J4 x: r9 M5 d4 I+ E
  160. 1 m$ h; y' C  w$ q
  161. ; url_rewriter.tags
    + u) \: d6 C3 M  c& s
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=": O9 u! n- r% z" F3 t  T, R; [
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* N! {0 J( _& e" m; f9 d0 J
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      m: ~- t8 K+ _' d6 H

  165. , a4 Q2 Z5 h4 V
  166. ; variables_order* X* }# k) H8 y) \1 ~4 y3 t
  167. ;   Default Value: "EGPCS"* \: t, N: f. v8 g5 `- K- E
  168. ;   Development Value: "GPCS"4 `  h. ?- N1 ~4 b( \
  169. ;   Production Value: "GPCS"  M* N5 Y. S( L* [/ ~# E' d- N

  170. $ x3 I) }9 \9 f
  171. ;;;;;;;;;;;;;;;;;;;;
    9 t/ R+ h3 C! \: r) {9 j
  172. ; php.ini Options  ;) x2 f3 I* _7 H' G/ y! q! \
  173. ;;;;;;;;;;;;;;;;;;;;: o' x- B! t* G0 N4 y# K
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    7 L' L7 B7 M0 X) Z$ V. g
  175. ;user_ini.filename = ".user.ini"
    : s5 c4 n2 ^9 U

  176. 3 Q) l: }) @3 ~; `7 F5 u
  177. ; To disable this feature set this option to empty value
    . F: `* f7 r; T. [. W. q9 {" N3 K
  178. ;user_ini.filename =
    7 x  ~# T3 R* |5 h

  179. 8 H0 B8 e% A  r% k8 x
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    & a2 Y% K, l, q- k' ^& ~
  181. ;user_ini.cache_ttl = 300/ |  {# L- C  ?3 J' z- T* ]
  182. 1 C% t$ S; g) Z$ ]
  183. ;;;;;;;;;;;;;;;;;;;;
    7 y: ?- r" e* o6 Q+ S
  184. ; Language Options ;
    & O1 H; y: A5 J5 Q" B
  185. ;;;;;;;;;;;;;;;;;;;;8 A& d% I  Y1 f( f; T# y/ \) m

  186. : k6 L$ v3 L: Z- r
  187. ; Enable the PHP scripting language engine under Apache.
    7 N" k7 y9 d1 l% m, N0 F1 z* I( R
  188. ; http://php.net/engine0 J/ U+ ^5 p# E4 x+ F, e
  189. engine = On
    % i3 G% J/ J1 a& W% ?( \8 y  l' K& N. G
  190. ! y0 ~* e% p% {' A+ d; |! j- b9 Q' J
  191. ; This directive determines whether or not PHP will recognize code between
    - ]6 {  L$ y. a; b; r# p
  192. ; <? and ?> tags as PHP source which should be processed as such. It is& o  ]9 F# f; ?' {8 M
  193. ; generally recommended that <?php and ?> should be used and that this feature* y9 d3 l2 L5 R$ L, Y$ J4 {9 k
  194. ; should be disabled, as enabling it may result in issues when generating XML
    # N  O5 G8 N) j* u+ }
  195. ; documents, however this remains supported for backward compatibility reasons.
    0 O9 k3 h- F3 v
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    5 v& E& T1 b4 m! Q$ ?% ~
  197. ; used regardless of this directive.
    # C0 `2 o+ N( M( q6 S
  198. ; Default Value: On% M7 p& `0 P0 d3 U% m" l( O
  199. ; Development Value: Off" x/ o/ d& V6 k) E/ Y: n$ O
  200. ; Production Value: Off* u" @) s: l, E7 \2 v, A5 o( A
  201. ; http://php.net/short-open-tag
      h) q/ T; D$ i  T$ s5 G+ T: R$ s3 E
  202. short_open_tag = On' ~7 O5 Y8 \- q  J3 [

  203. " [0 [0 E- U9 C) P
  204. ; Allow ASP-style <% %> tags.
    0 I; m& d! c  r* Z
  205. ; http://php.net/asp-tags
    - f; Z; e) ]* f0 M" K
  206. asp_tags = Off3 [! F  b1 g# D8 x1 g( v
  207. 9 `8 S2 R1 ?- Z+ o) J8 S  w: z
  208. ; The number of significant digits displayed in floating point numbers.. \+ @' X7 ]* Q1 i7 Z2 A+ l6 o
  209. ; http://php.net/precision! f7 x2 i. R& r( I- \6 C& h
  210. precision = 14, b1 J* u  u. e; I
  211. 2 j. X% k" \; }8 H- t
  212. ; Output buffering is a mechanism for controlling how much output data
    * n( l) v1 @6 g* o1 T* b' e! Q% y$ T
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ; m8 t) q6 {6 r" U- p* R
  214. ; data to the client. If your application's output exceeds this setting, PHP
      {+ }% q# \) u
  215. ; will send that data in chunks of roughly the size you specify.
    0 r8 U6 f$ f  k+ N! ?
  216. ; Turning on this setting and managing its maximum buffer size can yield some+ p* a# J8 H4 N% \" }2 W/ S  @
  217. ; interesting side-effects depending on your application and web server.
    ; X& P! v' F. E1 e: {, }
  218. ; You may be able to send headers and cookies after you've already sent output% A" u, c1 R' ?
  219. ; through print or echo. You also may see performance benefits if your server is3 q2 g; y% E8 _& G$ R
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    # \. J# b7 A8 c5 p
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance2 p+ ]  ]# c( s9 }$ t. Y
  222. ; reasons.) Y" X5 D8 ?* Y. X, `
  223. ; Note: Output buffering can also be controlled via Output Buffering Control% l# s  i  L, L* E( ~: \
  224. ;   functions.4 N( A! O, b3 ?- u- C9 C8 L
  225. ; Possible Values:# c0 K) J" X2 o5 c2 |
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    . ?5 W7 I9 _8 {  N" I
  227. ;   Off = Disabled
    ' H6 ~$ w( v9 x% v, W3 U
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    * t- S* @, j- g+ P0 \/ {+ p- R7 ?
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    / S  u" w  u8 C; {: C8 {4 P5 G
  230. ; Default Value: Off8 R$ y" h# E. X9 F
  231. ; Development Value: 40967 C9 f2 M, A0 {; u9 |# `7 R
  232. ; Production Value: 4096
    2 M7 U- \: e$ T* R8 ?% B: y
  233. ; http://php.net/output-buffering/ h! q, M6 Y& Z/ ]  w
  234. output_buffering = 4096! `* h& V5 U. `; `# q3 s
  235. # f" L. s# p0 q
  236. ; You can redirect all of the output of your scripts to a function.  For$ _6 M% @) i4 Z6 o; a
  237. ; example, if you set output_handler to "mb_output_handler", character
    % D" B4 U& A! O
  238. ; encoding will be transparently converted to the specified encoding.
    6 ]1 h: @0 f- |6 B- E6 H/ p
  239. ; Setting any output handler automatically turns on output buffering.
    ' [( P" Q4 S# A1 A9 H
  240. ; Note: People who wrote portable scripts should not depend on this ini8 h, P0 t  {- U7 g; b
  241. ;   directive. Instead, explicitly set the output handler using ob_start()./ {0 |2 z# K/ f- N8 F
  242. ;   Using this ini directive may cause problems unless you know what script. V' p& T: K0 s, M; t
  243. ;   is doing.
    8 N5 Q4 z- A; j3 K+ ~  _& q
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"+ m. C7 r$ T) X5 v& g
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".( Z: z& d3 \( ]% U( Q6 I
  246. ; Note: output_handler must be empty if this is set 'On' !!!!& `. f/ L  E3 Q: o7 [7 Z
  247. ;   Instead you must use zlib.output_handler.* s* o5 c, Z7 _. e: ]
  248. ; http://php.net/output-handler
    1 }- p; R1 q$ f8 |! x( @  A; M
  249. ;output_handler =
    5 }' ^& J  {' ?  N- I( \

  250. 1 q( O' a2 g- q7 w
  251. ; Transparent output compression using the zlib library' d  u& W9 D/ O0 ^% h
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    + e' A, v( q  ~7 t
  253. ; to be used for compression (default is 4KB)5 g+ L; F; d8 t# c- l* e
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ' y+ J" p4 i/ k4 a/ l( g8 e
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    4 t9 x4 G) Z* K3 ?+ f0 T' C  ?0 `* u
  256. ;   compression. If you prefer a larger chunk size for better  f# f0 p0 d( Y+ t
  257. ;   performance, enable output_buffering in addition.
    4 c$ Y; u4 ?8 A! t' f9 H& x& R
  258. ; Note: You need to use zlib.output_handler instead of the standard; ^8 \% I+ O& j6 p
  259. ;   output_handler, or otherwise the output will be corrupted.
    + e1 K; l) y- i. C
  260. ; http://php.net/zlib.output-compression; ]# b! d4 i9 v' a2 n% K& P$ Z
  261. zlib.output_compression = Off
    4 x* c+ [; R# I
  262.   K# r1 @3 j3 _6 z# H  J& r
  263. ; http://php.net/zlib.output-compression-level0 r5 N4 E/ A* d; z, h% h/ U
  264. ;zlib.output_compression_level = -1
    9 c8 H! L( ^2 ^+ R' X6 M
  265.   J6 K- u) w  O0 |
  266. ; You cannot specify additional output handlers if zlib.output_compression
    1 @$ R# M- ?9 r6 F5 Z* D
  267. ; is activated here. This setting does the same as output_handler but in; y7 ~+ c* f, Z7 a$ G
  268. ; a different order.
    $ o' t. {2 R+ [, x) R
  269. ; http://php.net/zlib.output-handler# l  }1 ~! o% ]
  270. ;zlib.output_handler =7 T" Z6 G$ L$ U5 J' s* V. I% P8 v
  271. 9 ]& J' e1 x: C* V( [4 ^3 }% K# P
  272. ; Implicit flush tells PHP to tell the output layer to flush itself- g. V5 [: E- V: |5 [: H8 U* h
  273. ; automatically after every output block.  This is equivalent to calling the
    * z5 Y( M6 M1 }
  274. ; PHP function flush() after each and every call to print() or echo() and each8 y- T* C' T% X5 R) x) b. l
  275. ; and every HTML block.  Turning this option on has serious performance9 ~2 n9 u  q8 X$ I% t" @
  276. ; implications and is generally recommended for debugging purposes only.
    ( S0 Q' h; y3 G; z9 z) I  P8 S- \9 z7 W
  277. ; http://php.net/implicit-flush
    & `1 h  |1 J# Z$ K5 U
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    , q' c1 O. D' Z$ {& N
  279. implicit_flush = Off  r3 ?, t8 F! a$ A# U% D
  280. ) {% f) a! |6 o! d
  281. ; The unserialize callback function will be called (with the undefined class'
    9 f' q; ], y" Z: O
  282. ; name as parameter), if the unserializer finds an undefined class  {2 e* i8 K* |5 @* G& r
  283. ; which should be instantiated. A warning appears if the specified function is7 j, f' u" V  q5 @5 g3 W
  284. ; not defined, or if the function doesn't include/implement the missing class.; y* C2 U$ B* y+ {+ o% z8 ^
  285. ; So only set this entry, if you really want to implement such a+ A& d% q: E9 ]3 @8 _, \- |8 a
  286. ; callback-function.) q/ U, O$ H5 z) n6 `3 Z. ~- D
  287. unserialize_callback_func =' m! C1 j, ~% Y( r

  288. 1 T( I) H, ]- _% A( P
  289. ; When floats & doubles are serialized store serialize_precision significant
    2 I# c% q: Q( ?
  290. ; digits after the floating point. The default value ensures that when floats
    0 W; [3 s( X8 v7 {& z
  291. ; are decoded with unserialize, the data will remain the same.
    - _- M" j7 f" q% ]7 O
  292. serialize_precision = 17- {  D% S2 y' l- _
  293. 7 K; i( t* ~! P) Y6 s4 ]
  294. ; open_basedir, if set, limits all file operations to the defined directory
    + m. A4 I$ a0 p& Y
  295. ; and below.  This directive makes most sense if used in a per-directory
    $ [4 b1 C9 k! R' ~" n
  296. ; or per-virtualhost web server configuration file.3 j/ k! c) D- `! e  i& V2 d
  297. ; http://php.net/open-basedir# u3 N0 c5 R1 p' J: `
  298. ;open_basedir =# d6 I  U1 }, g4 L. i, y) a
  299. - z, v/ Y! d0 h; ~9 _
  300. ; This directive allows you to disable certain functions for security reasons.
    1 l2 Q. Y0 q- d0 o
  301. ; It receives a comma-delimited list of function names.; c5 H2 z8 e% G' G& t1 O4 |) g
  302. ; http://php.net/disable-functions
    % o8 X, a7 [8 {+ o1 K4 }
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru& B% |, d4 o  I. Y% q

  304. 4 U) J. o- b$ w' W7 T, N3 z
  305. ; This directive allows you to disable certain classes for security reasons.
    ; @. s1 S6 U- c
  306. ; It receives a comma-delimited list of class names.
    ! \/ T& e7 Z7 F& l- {
  307. ; http://php.net/disable-classes' k7 z  h  d5 `! g+ u
  308. disable_classes =
    / e/ ~6 _8 K- e2 V
  309. , Z6 ^5 R' O/ ~3 ~8 t# D$ p
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in. d# Y) S' _( g% E. W* `
  311. ; <span style="color: ???????"> would work.
    + Y8 c  u/ x5 T, w  ?1 s1 L0 O
  312. ; http://php.net/syntax-highlighting
    : n, U+ p1 P9 s3 W( r
  313. ;highlight.string  = #DD0000
    ( k4 P& K- D% A) I/ H
  314. ;highlight.comment = #FF9900" _' ]5 \5 N! T, U& i' x
  315. ;highlight.keyword = #007700/ s" g4 Y/ y; ^
  316. ;highlight.default = #0000BB
    3 Q0 `: t0 n; W. {6 ~7 H* I
  317. ;highlight.html    = #000000% p0 y  @3 |; S

  318. 7 w4 b% t' s. o9 s+ K# o
  319. ; If enabled, the request will be allowed to complete even if the user aborts' y" B% O8 x' H
  320. ; the request. Consider enabling it if executing long requests, which may end up
    ; V' D& Q0 T& u; W3 i) r) w' q
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior; g" ^* R% z  Y
  322. ; is to disable this feature.
    8 A) g, ?" e( ~
  323. ; http://php.net/ignore-user-abort+ J2 u/ x% T0 c" G3 ~' L) ~
  324. ;ignore_user_abort = On/ i" ]. t/ o9 }4 Y% q5 V9 X
  325. 7 X) D/ f0 R9 C9 p
  326. ; Determines the size of the realpath cache to be used by PHP. This value should8 |+ H# h' k8 N/ G. ]
  327. ; be increased on systems where PHP opens many files to reflect the quantity of6 t3 S3 h2 e  n% I& T: \% }7 @! W
  328. ; the file operations performed.
    8 a, ~9 d7 {3 G- H4 G1 K
  329. ; http://php.net/realpath-cache-size
    1 D6 i2 w! t) r/ U
  330. ;realpath_cache_size = 16k/ d( o3 T, c9 |3 r
  331. 8 V" Q' s8 f; E/ o: O3 K  Y
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    : k" y9 l5 r# e% S& o  H* y4 W7 s
  333. ; file or directory. For systems with rarely changing files, consider increasing this9 e/ [/ l& [' U8 `4 s) d5 {
  334. ; value.
    8 ?$ O3 O; i& k
  335. ; http://php.net/realpath-cache-ttl* h! E, m5 z/ X' N0 g1 b
  336. ;realpath_cache_ttl = 120
    . y2 R, ^. F3 \2 j
  337. ; W& `9 p3 n0 r7 B
  338. ; Enables or disables the circular reference collector.1 q) H  d* Y: r  H# }+ P
  339. ; http://php.net/zend.enable-gc$ m- T  Y) d3 o4 x
  340. zend.enable_gc = On/ w' _$ p* X, H4 I5 D7 o# ]" A
  341. 1 H" {) K! [6 d* p
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    7 Z$ ~$ V$ D) q4 r2 R
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such7 I& o: _* r8 e6 P8 z3 @. u6 E
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    $ N5 A; m) o( T: J. W
  345. ; Default: Off
    0 Y$ `) V0 ?" |- X. ~1 G5 A9 E% C/ z
  346. ;zend.multibyte = Off. n1 s3 M! p9 h: l6 Q/ Z$ I' A- `
  347. ' B' Q6 k' ]2 g4 V
  348. ; Allows to set the default encoding for the scripts.  This value will be used, X$ J+ I* `- y% p# P' _* k9 U
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    * S& j) `2 j0 V2 K6 m& `% H  F
  350. ; Only affects if zend.multibyte is set.8 M$ a% H& q* Z% Z0 n6 D
  351. ; Default: ""  n5 P" M2 V+ C) k0 L  p
  352. ;zend.script_encoding =. s' g7 F6 X4 N* d, o

  353. - G. D& b+ r- @3 ~
  354. ;;;;;;;;;;;;;;;;;- V; ?3 m* F; R4 Y2 ]+ C; ]1 V
  355. ; Miscellaneous ;
    / P. j2 M* z3 u; U+ \
  356. ;;;;;;;;;;;;;;;;;1 l" |9 R" O2 q
  357. 3 r( l" h, Z+ {, E) k# w4 ]
  358. ; Decides whether PHP may expose the fact that it is installed on the server0 F; p9 L6 E( S
  359. ; (e.g. by adding its signature to the Web server header).  It is no security5 C/ j& o5 @3 H/ f( h; @
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    / O6 @+ o% H8 G, a
  361. ; on your server or not.
    & [4 n1 ?% D4 c, `3 z% a
  362. ; http://php.net/expose-php
    7 }3 b! B3 Y8 j0 a0 i2 j; V
  363. expose_php = On2 ^# G% I4 V# r" R: o- W
  364. 6 Q1 P  \2 w  W& d
  365. ;;;;;;;;;;;;;;;;;;;
    ) J" ?  {2 m1 T
  366. ; Resource Limits ;
    1 I/ J' K" J# D: Z" s
  367. ;;;;;;;;;;;;;;;;;;;0 N5 f% f0 d- N) q3 z; N

  368. % F, ?; s! x' z: V6 n% P. I
  369. ; Maximum execution time of each script, in seconds
    + l( z9 ~7 r0 k# ~& j% r
  370. ; http://php.net/max-execution-time
    8 Y6 n6 [8 R& a2 v, O" v( g
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI6 p' O( g; t6 V  m: d6 G8 h" `' T# K
  372. max_execution_time = 300
    & j$ i) G7 j5 s
  373. % u- Y2 h: v7 f& M, x4 _, \
  374. ; Maximum amount of time each script may spend parsing request data. It's a good  F& J3 j. B9 p" U
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    . }9 D1 k# a/ @- e- c4 y, T
  376. ; long running scripts.
    & Q* y$ `1 L5 d
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI; N' F- h2 E7 K/ z# G  |; P
  378. ; Default Value: -1 (Unlimited)
    9 j/ k; O& D6 e' B8 K) N
  379. ; Development Value: 60 (60 seconds)
    $ G$ |+ w; g8 D
  380. ; Production Value: 60 (60 seconds)% K" y4 o/ v! g. e' V: C0 q
  381. ; http://php.net/max-input-time
    ! w# ^: n; P! x. O, K2 Z7 V. N7 @
  382. max_input_time = 60
    . Z  _4 |- {5 J3 c2 s

  383. + O2 q' z1 G; {: `  L
  384. ; Maximum input variable nesting level
    ( n# ?7 }: j: x
  385. ; http://php.net/max-input-nesting-level
    # K! ?0 a. V# Y+ y0 U4 y
  386. ;max_input_nesting_level = 64
    8 z0 b4 t9 s& [
  387. 4 _( |7 u: Z# A' a2 q% r. t. g7 D* h
  388. ; How many GET/POST/COOKIE input variables may be accepted5 H+ p; C1 o( `# s
  389. ; max_input_vars = 1000
    4 ?4 |, B9 Y7 [8 a$ l1 t
  390. 9 G1 v3 O4 D( b6 x( i5 d+ q  W
  391. ; Maximum amount of memory a script may consume (128MB)7 \$ O2 X  B9 ~7 k: e3 `
  392. ; http://php.net/memory-limit
    ; b6 \1 ~' E% h3 }
  393. memory_limit = 128M
    2 q; \" s) N; E. B

  394. * c7 A' H3 D9 M4 Q2 \; r
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2 e6 X- ?% H7 i0 T, _: c
  396. ; Error handling and logging ;
    , s' x2 K5 e6 {' b
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;$ p  s7 h+ w8 P) V8 e- V
  398. ! g2 v+ V" n. a9 {& N$ U
  399. ; This directive informs PHP of which errors, warnings and notices you would like. M/ x+ j5 @) ^
  400. ; it to take action for. The recommended way of setting values for this) d# e4 p" R9 \1 u1 C: u  Y, P6 w6 ~
  401. ; directive is through the use of the error level constants and bitwise3 H9 P' b3 M$ F
  402. ; operators. The error level constants are below here for convenience as well as2 U5 s' L" }2 C) K/ ^
  403. ; some common settings and their meanings.' n/ {: m% Q8 p4 O9 c9 G! M) s9 U" G2 C
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    8 @3 ^2 d* e1 S- m4 ^' }# ]
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and; @  j8 U/ \7 A$ {& s
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    8 [& e- m3 Z: G$ C
  407. ; recommend error reporting setting. Your production server shouldn't be wasting# W3 N( j- C" a7 g9 Z
  408. ; resources complaining about best practices and coding standards. That's what
    2 D4 Y" D, N- _+ T( p  x" o- V
  409. ; development servers and development settings are for.4 X: Q: [! q% y, l
  410. ; Note: The php.ini-development file has this setting as E_ALL. This* `/ Q5 K$ T" s2 I; G0 y4 l5 M
  411. ; means it pretty much reports everything which is exactly what you want during
    6 ?8 a, R/ x. r7 O8 {' }0 C
  412. ; development and early testing.! Y% b$ v* Q- x6 Q& p' G& c1 _
  413. ;
    & U, L1 i1 l8 R' h5 k
  414. ; Error Level Constants:/ Q# c: h% o( N  o' l1 w& \
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ! _% O3 o# }( S/ `5 Z
  416. ; E_ERROR           - fatal run-time errors
    7 b' l9 P2 j6 `+ ~9 c2 u
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    & }1 }! J" ~' o& b% |0 x
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    6 f7 U& b; w' b8 S; m5 u
  419. ; E_PARSE           - compile-time parse errors
    8 I9 e  P8 X8 `9 h% G; i8 z
  420. ; E_NOTICE          - run-time notices (these are warnings which often result, z! S2 W0 }+ x4 z& T9 C: \
  421. ;                     from a bug in your code, but it's possible that it was! n6 i- ]8 z: w! O' n2 G
  422. ;                     intentional (e.g., using an uninitialized variable and3 t5 |/ N5 V2 ?
  423. ;                     relying on the fact it is automatically initialized to an
    ( k5 p) Z3 U6 T
  424. ;                     empty string)
    ( n! ?3 S: E, O  w. d
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    8 x$ g  }# o9 e; r# T# Z4 o2 X
  426. ;                     to your code which will ensure the best interoperability
    ; ?# V* F- k. s' ]* h
  427. ;                     and forward compatibility of your code
    & J3 i9 u% ~( I1 {
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup& E# X6 H! i& x+ J7 E. G
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's5 E( Y% p9 H" R" l- c
  430. ;                     initial startup) |8 A5 d; y6 l7 }0 B; P
  431. ; E_COMPILE_ERROR   - fatal compile-time errors7 h. I4 u4 m5 T( i4 ]% @
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)! p: Y" U4 c2 J6 P" B
  433. ; E_USER_ERROR      - user-generated error message7 p( d' I# y8 O  }
  434. ; E_USER_WARNING    - user-generated warning message
    $ q$ d5 b/ w! Y. @7 I( u+ u
  435. ; E_USER_NOTICE     - user-generated notice message) K% q/ D6 s4 ]3 i  E2 ^
  436. ; E_DEPRECATED      - warn about code that will not work in future versions0 h  z9 H- b. j" J% h& H
  437. ;                     of PHP. B+ R6 m* }* u( j4 J- ^
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings& o3 H0 m4 d, S8 f$ e! t8 v
  439. ;
    & n" M+ z5 j9 x" q5 O. o, Q
  440. ; Common Values:. g0 X" O; O8 T: h8 y
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)9 f" [6 P' V5 i9 f
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    / [' G; V7 F0 B$ D! `( z* M
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)  c- Z; e" j- p( F5 `
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    , k* k, B! c' q' s
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED, D$ Q7 G: ^3 e( E# x# a; c9 T
  446. ; Development Value: E_ALL# l' Y: t, n/ x2 g* R  m; x, a. i
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ) G# F# U3 o" M
  448. ; http://php.net/error-reporting
    8 s7 b6 W' ~5 {. s5 U( ^) U
  449. error_reporting = E_ALL & ~E_NOTICE
    4 ?" v. x$ {$ ]1 D' _" e

  450. . V! O) W4 S1 o4 u3 {
  451. ; This directive controls whether or not and where PHP will output errors,
    ; ?. Z6 f1 r7 e, W% y
  452. ; notices and warnings too. Error output is very useful during development, but5 P4 [% H& F" u$ n; Q5 Z
  453. ; it could be very dangerous in production environments. Depending on the code/ G5 q1 ~: K8 d2 h7 N7 \: T; O
  454. ; which is triggering the error, sensitive information could potentially leak; b  ^& L  L' b
  455. ; out of your application such as database usernames and passwords or worse.5 E& V% t, l; x0 i8 N; q
  456. ; For production environments, we recommend logging errors rather than0 P  D8 _7 ?6 n
  457. ; sending them to STDOUT.
    " d1 p& g( d; J( D1 i$ z( t1 d
  458. ; Possible Values:3 |7 E/ Z" V# |" N
  459. ;   Off = Do not display any errors5 C& j3 Y, D9 X- j* ]; v, A1 T
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    # M; G; B6 y3 X5 \6 E( q' w
  461. ;   On or stdout = Display errors to STDOUT
    7 ^/ C; x% ?+ Z; a9 w* j
  462. ; Default Value: On. [  C3 D3 l) V! V# T5 Y7 l4 C. o
  463. ; Development Value: On
    4 z5 _+ q* H. E4 x
  464. ; Production Value: Off6 o( y7 U1 D+ i; H! X! p1 X% i# p
  465. ; http://php.net/display-errors
    ( l3 M" T3 L. V
  466. display_errors = On
    2 X  i8 f# n: R& p" }* R

  467. 8 S$ w! ~- `7 }$ z9 X: r) g
  468. ; The display of errors which occur during PHP's startup sequence are handled0 G& R: V$ Y3 J! @: F% o8 r
  469. ; separately from display_errors. PHP's default behavior is to suppress those6 q& O9 h9 E0 Y$ n1 ?
  470. ; errors from clients. Turning the display of startup errors on can be useful in% G5 t% l; [) k& h
  471. ; debugging configuration problems. We strongly recommend you
    # E" w) n) u/ o3 V4 o
  472. ; set this to 'off' for production servers.
    ! a9 C3 l) {- ^" J# X
  473. ; Default Value: Off
    ! k- c* P9 H2 r/ ^3 N0 u& e8 \
  474. ; Development Value: On
    & u! ]( U1 g$ K9 s
  475. ; Production Value: Off1 W& t4 F3 r% `# [
  476. ; http://php.net/display-startup-errors/ G# @* D- O- t* j. M
  477. display_startup_errors = Off
    * g% j% L+ L! U' P) ^; C4 z2 G

  478. ) y  D0 b& W; h) J! |
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    ' i/ P- V) h) T: O* a
  480. ; server-specific log, STDERR, or a location specified by the error_log
    + d+ G2 b% g7 t. K# |
  481. ; directive found below. While errors should not be displayed on productions
    2 \8 x! z; X8 \  E8 s- o2 b1 p
  482. ; servers they should still be monitored and logging is a great way to do that.; c$ X& X  ?5 P- c7 Z( v) \
  483. ; Default Value: Off% D' Q( j+ l) K0 ~
  484. ; Development Value: On
    ! ~2 k  B( r/ s1 O  \% f! `( ]
  485. ; Production Value: On3 b3 B0 j1 g7 x* B
  486. ; http://php.net/log-errors3 n+ m9 o4 c+ a) p( b7 y
  487. log_errors = On
    9 ?% k; T* |% D: ?( c, v3 V
  488. " r, @% r! A- `& s# {
  489. ; Set maximum length of log_errors. In error_log information about the source is# k2 @/ M' Z1 B! e
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.7 s" u/ ]* F1 Z5 n* g
  491. ; http://php.net/log-errors-max-len& `. {! z% n5 x% Y0 `" ^& }$ S
  492. log_errors_max_len = 1024
    & D0 u. s" F% P. ^. T

  493. * k) t7 M2 q5 u: m; o9 F
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    - g1 W! P1 Y# Y+ H( y
  495. ; line unless ignore_repeated_source is set true.
    % C: j3 U& x1 l, r, C5 W# H7 ^
  496. ; http://php.net/ignore-repeated-errors
    - C* x% `4 H4 |% d' [
  497. ignore_repeated_errors = Off- T6 ?& J8 h' |+ o; ?: M; I

  498. 6 o+ A- K2 S7 Z9 l5 g7 D1 M& B
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    / I4 U8 k: {2 C3 F  R
  500. ; is On you will not log errors with repeated messages from different files or
    * W+ s0 M( X3 I) V; X3 @# {* X9 L0 L
  501. ; source lines.
    * A- ^& B7 D! Y$ ~
  502. ; http://php.net/ignore-repeated-source
    9 e' P. k* M* s0 ^
  503. ignore_repeated_source = Off5 v. H0 e& V, B2 c7 v

  504. 2 A0 W' B2 D: V+ u; b
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on$ _$ n, G& A8 Z5 f
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    . O/ D0 I! p3 ~% v7 }- m5 g* r7 O
  507. ; error reporting includes E_WARNING in the allowed list
    5 e1 E. E; g% B  t& h2 U7 l
  508. ; http://php.net/report-memleaks
    $ H6 a. N- K+ a+ ~- @+ M* h
  509. report_memleaks = On1 ~$ B% }5 O# C' `0 d! ?  n

  510. 5 Z3 @: u; o; [# \3 D8 `) ]8 I
  511. ; This setting is on by default.
    7 X' N% V7 P- W0 W3 P
  512. ;report_zend_debug = 00 h/ M  z  S8 k2 x9 K" `& G

  513. : H6 h0 e* l  X3 T) j" ~
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value8 c+ f9 D" U- k* _! z0 ^
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    2 ~9 p8 h  r( A/ p5 m( r. d+ l
  516. ; however be disabled on production servers.
    2 I' s: V# I! X) I8 D
  517. ; Default Value: Off5 R, e% y5 x3 }5 @2 ^; z0 `! ]
  518. ; Development Value: On! h* m" y- a: W7 b4 s0 v- i$ w
  519. ; Production Value: Off
    6 [! N2 I$ A7 ^( @
  520. ; http://php.net/track-errors+ h, Q  V1 g+ d- ?! ^
  521. track_errors = Off
    . ^# P  v% e% @3 E1 c7 x: E

  522. $ l' w  c% E  h' g! |8 D
  523. ; Turn off normal error reporting and emit XML-RPC error XML! r. n4 G  q+ V' V% N2 ^$ @) o; q
  524. ; http://php.net/xmlrpc-errors8 P: }# e% q: J3 ~. i) L1 l9 p& {
  525. ;xmlrpc_errors = 0
    ) ]' ?( s) h* R

  526. 4 x# W- _2 X- P  w9 S6 H
  527. ; An XML-RPC faultCode
    7 s# }5 l) ~9 |" F" ?* D1 X, _4 R
  528. ;xmlrpc_error_number = 0
    : e8 c- Y3 t1 P; V% F7 F
  529. 7 e8 F7 E0 [" _7 S$ \( `# T
  530. ; When PHP displays or logs an error, it has the capability of formatting the; ~+ Z8 e1 A" C+ f9 S- a5 `* ?' m! }
  531. ; error message as HTML for easier reading. This directive controls whether3 x: F( m1 ^) r# k6 `: m( x! n
  532. ; the error message is formatted as HTML or not.
    6 _# L2 [0 E( e3 u: E5 C4 N* z
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI. {; g5 t$ b$ q& @3 U( ~
  534. ; Default Value: On
    1 w8 N) r) L  M  j' [: q
  535. ; Development Value: On3 p+ I4 I( f2 i' T- x9 a4 g
  536. ; Production value: On5 S7 ?9 i$ E, J; |6 E+ U
  537. ; http://php.net/html-errors& V( b. p7 F  r7 ?# d: ~: Z# K3 L
  538. html_errors = On
    # n; `( N; O& ^$ _6 g$ k. t5 R
  539. 8 ]& r0 M5 a$ s6 I# u( [) G: s& x+ \
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    2 P/ Y* h9 n3 {8 ^. s# }
  541. ; produces clickable error messages that direct to a page describing the error
    4 G, _# [) F, E) d
  542. ; or function causing the error in detail.% U+ z7 f4 D2 R
  543. ; You can download a copy of the PHP manual from http://php.net/docs0 i; C+ D5 p; {# t) }' T2 e
  544. ; and change docref_root to the base URL of your local copy including the
    $ Z) G% E' ], o$ S! E1 i, I8 I
  545. ; leading '/'. You must also specify the file extension being used including; t& t& \/ E. r8 s$ Y
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which3 [4 ^2 x# L, X, T& U" s, S
  547. ; case no links to documentation are generated.+ T, b  L* q/ B$ x$ f6 Z
  548. ; Note: Never use this feature for production boxes.  J0 a; w9 R1 b
  549. ; http://php.net/docref-root6 I" {$ Y- Y7 @* a" f7 n
  550. ; Examples& I# X, i( p+ ~- D1 Y, z
  551. ;docref_root = "/phpmanual/") i4 O# }* J9 P- \' {; D5 p
  552. 5 R: U0 a' b, K, q- V
  553. ; http://php.net/docref-ext
    ! Q* c9 _0 [" t$ r- L' U0 K* }; H
  554. ;docref_ext = .html7 V4 v5 q1 W8 n% \3 z3 U5 }$ r- u4 b6 v

  555. " v6 G/ ?0 y; ?
  556. ; String to output before an error message. PHP's default behavior is to leave
    7 k6 W3 m, W: t& Y- A! v6 C
  557. ; this setting blank.+ X& h+ d2 r6 W( ]) o* V( k
  558. ; http://php.net/error-prepend-string4 ]0 q' J5 Q5 g' u  f# C
  559. ; Example:5 x& {& W. i& n3 p
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    ! u8 j/ ^2 |; V7 m

  561. % c& A7 r! z% V# s& J: D2 o
  562. ; String to output after an error message. PHP's default behavior is to leave5 x% m; l% Q- m
  563. ; this setting blank.% Y! r: _: f- Z" h/ H3 i
  564. ; http://php.net/error-append-string
    9 b" E( G; k6 o% k" @$ W: ]* {
  565. ; Example:
    3 J! `- m4 b6 y, V6 }) h$ ~
  566. ;error_append_string = "</span>"( B, [* B. f& b
  567. ! R( {( ^* i8 g7 g# ?
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    , ?2 u4 k  A' R) p2 h4 c: g. Z
  569. ; empty.
    6 i# ^: i0 A* b# |8 x
  570. ; http://php.net/error-log
    9 X) B) x+ b/ [, j1 R& C9 s6 ~8 x4 i
  571. ; Example:
    6 k' i! d! M& B& u* D2 a
  572. ;error_log = php_errors.log) ?% u9 h2 T9 i( j3 o* A
  573. ; Log errors to syslog (Event Log on Windows).  k5 q) V$ ~2 x3 v/ _6 y
  574. ;error_log = syslog
    * v9 b! c$ H, B# X  ?. Y
  575.   R. Q" h- {1 m  D, l4 J
  576. ;windows.show_crt_warning
    , k4 J& w" _) }% z
  577. ; Default value: 07 z' m3 t0 F  ?0 T& S, ]
  578. ; Development value: 0( ~  U5 b: k: Q- ^0 S! L
  579. ; Production value: 0* i% c; p4 E4 F, T) D2 y0 c3 C* X/ m! \

  580.   a. _3 n/ |; Q& U  u6 _5 O' a' L
  581. ;;;;;;;;;;;;;;;;;
    - }& k5 G1 h. f& T6 t2 d
  582. ; Data Handling ;3 |1 a6 O4 }7 R. u3 }
  583. ;;;;;;;;;;;;;;;;;
    / J+ o1 X7 F) o! r

  584. 8 }9 }3 x4 H2 h9 Q! F
  585. ; The separator used in PHP generated URLs to separate arguments.
    / z7 E1 Q4 X8 [' H/ B/ L+ c  I
  586. ; PHP's default setting is "&".. z! N% W* B" J& \4 D7 M- `
  587. ; http://php.net/arg-separator.output6 M8 ^1 `+ u7 U* M/ [6 h4 ?; [
  588. ; Example:
    7 {8 h* w6 X. p9 X# _$ w
  589. ;arg_separator.output = "&amp;"7 z# _* q* ^( w6 l) x# _+ i
  590. 6 r/ a% M0 t, N
  591. ; List of separator(s) used by PHP to parse input URLs into variables.* n7 q% X3 ~; Z: x
  592. ; PHP's default setting is "&".: [- b$ `) U, y# _
  593. ; NOTE: Every character in this directive is considered as separator!- d' ^% v( j3 }$ V% a
  594. ; http://php.net/arg-separator.input4 c& D8 H2 C! E/ n$ p
  595. ; Example:
    0 q/ k! `. q& a; q
  596. ;arg_separator.input = ";&"
      H) P3 M8 y. g0 O2 M

  597. $ n, P7 }0 ~3 l) \' _0 |; [8 u; ~
  598. ; This directive determines which super global arrays are registered when PHP
    $ @" m& Z. C% h5 ]& C1 l; R
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super) W; R/ o% O, \- \' q' t  C
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    $ [/ [  c8 k. ~& W0 z4 q' `4 `1 b
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    3 G( R3 i# ~2 F) w1 G
  602. ; used as the others, ENV is not recommended on productions servers. You
    ' i) W* c; t" E
  603. ; can still get access to the environment variables through getenv() should you3 X6 S* s+ z) W. }( U# U
  604. ; need to.
    . y. K( u5 g4 M& @
  605. ; Default Value: "EGPCS", a( |/ Z4 E  l  t2 w9 p
  606. ; Development Value: "GPCS"
    4 o; Z) B& d8 g
  607. ; Production Value: "GPCS";
    " e+ \+ O. ~* W
  608. ; http://php.net/variables-order
    8 W9 r, o* z" E* W, p" r5 q
  609. variables_order = "GPCS"
    % Q% s. @8 }* n" v& e/ X4 Q
  610. ) U, X3 D  H  d( c4 P
  611. ; This directive determines which super global data (G,P & C) should be
    * `$ Y' R5 B9 ~1 a$ x
  612. ; registered into the super global array REQUEST. If so, it also determines; Z+ f/ p* V- M( E: ]- T/ y6 e# ?
  613. ; the order in which that data is registered. The values for this directive
    6 w. `2 t0 q: y+ f0 r, w7 P
  614. ; are specified in the same manner as the variables_order directive,
    4 `6 j, ~! x# R& y2 A7 p6 Y
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set' X" Y, p# k: e2 k, U
  616. ; in the variables_order directive. It does not mean it will leave the super
    5 @/ X" c* W  W9 p
  617. ; globals array REQUEST empty.2 x2 b( y1 ~' q% u
  618. ; Default Value: None
    . t5 A) S) c9 v. m" v% A2 J* C8 a
  619. ; Development Value: "GP", A5 X' P/ N; ^, o" ?
  620. ; Production Value: "GP"8 f  @& V# `  x  f& A
  621. ; http://php.net/request-order
    8 i. g- }9 K- K. w- E5 L- L7 E6 s
  622. request_order = "GP"5 n8 B" t: y7 E! A; d
  623. ! v5 y/ F6 r1 W! [
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    7 P" X! u9 U$ c
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script# \6 _5 z# M3 U: o  o
  626. ; is invoked. $argc contains an integer representing the number of arguments3 c# f. k! A1 z& U* v1 _# X
  627. ; that were passed when the script was invoked. These arrays are extremely! I% D& r2 G! w
  628. ; useful when running scripts from the command line. When this directive is# N3 ]2 h& l" i( I' ~0 S6 |$ C. ?
  629. ; enabled, registering these variables consumes CPU cycles and memory each time/ t" N9 ~" a1 R5 Z0 W9 s9 \) K
  630. ; a script is executed. For performance reasons, this feature should be disabled
    $ N" ^: X6 \9 _4 n* U
  631. ; on production servers.
    & {2 i% a8 u5 P) e' n/ r/ A* u
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
      L9 }3 e- ]9 f
  633. ; Default Value: On
    $ J" `( {* T+ ~2 v# i2 e
  634. ; Development Value: Off
    # d6 n" C- M- A" c
  635. ; Production Value: Off% u8 y9 e2 j+ H2 i" R* S8 P
  636. ; http://php.net/register-argc-argv
    4 E3 q2 s! r1 {5 v) {
  637. register_argc_argv = Off
    . Y' V1 U; e: M9 }, i: T
  638. 2 h1 k" T, q0 v
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    . v$ C# e" ^% N* d& P. Y
  640. ; first used (Just In Time) instead of when the script starts. If these
    ! G/ s8 ^% d' L& y% A6 y
  641. ; variables are not used within a script, having this directive on will result: _" D1 z' l* H, q- G/ N
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled2 d* F! {- \( w' n, S- B
  643. ; for this directive to have any affect.
    3 ~. V& h5 o/ m6 k
  644. ; http://php.net/auto-globals-jit
    ; r9 k: O( o% y) w! y$ O
  645. auto_globals_jit = On
    * E% [9 A5 c0 e4 X; F3 E
  646. 6 e7 k" `: \3 u" T. [, `* ?
  647. ; Whether PHP will read the POST data.) ~4 k' i3 `1 w" B& o
  648. ; This option is enabled by default.+ i; C* m0 |' O6 `
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    3 S* L  r) b" O3 R
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    ' O: B, `' i& s) t- Z* Q% E
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    7 Q0 g; c1 g# O; b
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.. t  n' j# Y/ T
  653. ; http://php.net/enable-post-data-reading0 v/ T! h3 X2 d5 [
  654. ;enable_post_data_reading = Off
    ( \6 x1 B( m& z0 P  h
  655. % u' _! o7 o  Z" r; o: ^" R* i
  656. ; Maximum size of POST data that PHP will accept.. s2 M( v6 I. S* }# j
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading/ p3 i' C1 V- J* V$ z; g9 k( ^
  658. ; is disabled through enable_post_data_reading.  P- a# J9 d, X/ a/ H
  659. ; http://php.net/post-max-size4 L; t5 u. O8 V- d2 [
  660. post_max_size = 50M
    ' Q/ |# ^* }5 ~& y3 {
  661. ; |; w3 R7 V$ g4 N, P
  662. ; Automatically add files before PHP document.( u, N4 b$ N$ B& R+ F* H$ }
  663. ; http://php.net/auto-prepend-file" B2 o5 ~2 A1 |) `$ j
  664. auto_prepend_file =4 J- p  \% D6 \1 B' Y( I. [
  665. 0 c2 f% N, k* R  M
  666. ; Automatically add files after PHP document.- q0 L" x) W# f( t* A5 g
  667. ; http://php.net/auto-append-file
    ) T7 A; H4 L6 a: H
  668. auto_append_file =
      V; g/ M3 E# R4 ^

  669. 2 A8 A5 }+ B8 y1 K
  670. ; By default, PHP will output a media type using the Content-Type header. To
      G8 N( {. k& {* R; n( y+ P. `
  671. ; disable this, simply set it to be empty.& a- R/ _) H* E- l
  672. ;9 j5 d, X) X" @+ b& ~
  673. ; PHP's built-in default media type is set to text/html.
    + f9 f9 W% X: g) o0 c* l
  674. ; http://php.net/default-mimetype* @+ j* o' e  g: p
  675. default_mimetype = "text/html"
    * y: r1 H* u3 F9 I/ a! @) g& b; Z8 ?
  676. . N6 F" n! _* W' Y: X6 e
  677. ; PHP's default character set is set to UTF-8.: j, \7 l% Q. C$ g* ~$ D/ z
  678. ; http://php.net/default-charset
    1 q6 x: e5 B4 _7 B. M- A
  679. default_charset = "UTF-8"
    ( d8 T) ?+ W6 P0 G% h
  680. " u; L+ y$ |' I% {
  681. ; PHP internal character encoding is set to empty.  r% d( ^2 x! E' c2 f
  682. ; If empty, default_charset is used.
    ) B3 E4 V) c. X& J/ s2 b1 ~
  683. ; http://php.net/internal-encoding* O& s) v. M0 [* \8 \" u. n
  684. ;internal_encoding =
    6 E5 r2 e6 z4 F# x0 }- A
  685. ) E" P9 v8 ?$ U- E9 b  Z! K1 T1 z
  686. ; PHP input character encoding is set to empty.
    ; C; Z7 T8 S+ C' Q; @7 Z0 a( D
  687. ; If empty, default_charset is used.
    $ w- p2 p. O: \
  688. ; http://php.net/input-encoding
    1 V) }$ R5 v6 G7 H, D
  689. ;input_encoding =
    8 M, {5 Y  z" ^: F1 l

  690. 7 _8 M  t+ s4 z0 Y" j& r) M+ a
  691. ; PHP output character encoding is set to empty.  V* ~0 [2 R5 e0 Z( n
  692. ; If empty, default_charset is used.* w( Z+ S' f& H* \7 O
  693. ; See also output_buffer.1 B8 c& N1 X$ u) P% F0 k- r* |( X
  694. ; http://php.net/output-encoding
    , }0 L1 l5 i4 l" M
  695. ;output_encoding =
    + T6 J" {" K; V  d  O1 ?8 ]
  696. 7 x" m( m) K7 R* r
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is' o- \9 z# S1 \/ m
  698. ; to disable this feature and it will be removed in a future version.9 W4 X8 U- r& A  ~' d4 R
  699. ; If post reading is disabled through enable_post_data_reading,
    - M1 ~) b0 o# L- v" u  C/ ?7 o
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    % s0 v0 C% n1 m0 n
  701. ; http://php.net/always-populate-raw-post-data
    6 {( x' ]% J2 }4 U+ r
  702. ;always_populate_raw_post_data = -1
    6 s* _! s& K$ N' z
  703. & b! O8 }9 N  m
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;( Q: |; S+ ]# a* {1 O
  705. ; Paths and Directories ;. K- H6 r2 T9 d" C  o7 Z
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;% M+ W, u) f! H8 E* b8 O* S& E
  707. 0 j/ D& v% N& L# E7 Q- \
  708. ; UNIX: "/path1:/path2"& F* D& n5 V6 s% Q; y: X
  709. ;include_path = ".:/php/includes"6 w( ]% `- O$ }# Q  L
  710. ;* t& G8 e4 R7 T! J- Q
  711. ; Windows: "\path1;\path2"
    & }- ~* O2 x, Y, a# m
  712. ;include_path = ".;c:\php\includes"
    & m6 d) s  ?- q1 b, K9 |
  713. ;
    : q, T' n2 J/ Q! F8 l: ]
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear". J) m% e3 e* Z+ f! K
  715. ; http://php.net/include-path
    : ?6 N4 {5 `8 I8 I

  716. # s9 u( B7 G( r) m2 @
  717. ; The root of the PHP pages, used only if nonempty.' S2 p5 [& L) d4 j7 }: U
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    3 Y0 \, D- u$ ?; O7 ?* B/ V. ^
  719. ; if you are running php as a CGI under any web server (other than IIS)
    + d( I0 X) Y" V# O% S. a+ a: m
  720. ; see documentation for security issues.  The alternate is to use the
    + R7 S* U& o9 A6 C9 k# L
  721. ; cgi.force_redirect configuration below
    6 s; b; t$ m; j9 m! I
  722. ; http://php.net/doc-root4 O6 I5 V4 ]; e) I1 ]- _
  723. doc_root =% ~0 G! n0 b3 z5 G4 R$ g& k7 F
  724. . n; e' f* Y; n9 w2 m
  725. ; The directory under which PHP opens the script using /~username used only5 v! |& H+ C% t
  726. ; if nonempty.
    6 _' t6 n# A) Y" F# j& r
  727. ; http://php.net/user-dir: A; F/ ~2 [# {+ R% @: _
  728. user_dir =
    / s0 M' _+ y# s/ n

  729. ! w8 V% g. F" J1 v/ C
  730. ; Directory in which the loadable extensions (modules) reside." ^# U* y- T3 L  V8 n2 a1 ~
  731. ; http://php.net/extension-dir( v( R- w$ K2 q% ~: h& K4 y% l! M) t
  732. ; extension_dir = "./"  [0 b: Y4 R; N: B- G6 q
  733. ; On windows:. e0 `4 V2 D" P3 `9 w5 g5 I* }
  734. ; extension_dir = "ext"
    % O' ^. `' a' V& k2 i# U
  735. ) [  _+ V+ ]7 p% g; T
  736. ; Directory where the temporary files should be placed.0 V) j7 ~; j# ]/ b  ], e& X6 k3 B
  737. ; Defaults to the system default (see sys_get_temp_dir)+ u. R# ^  F! D, [+ a# c
  738. ; sys_temp_dir = "/tmp"
    % j& l6 [( S( w/ F* }

  739. . ]. l( W5 v% T& N2 ]
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    4 b0 h( B0 J6 M: i( @
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ; Z& M+ f+ U. g; P
  742. ; disabled on them.
    2 y$ R$ |& O1 A7 _
  743. ; http://php.net/enable-dl
    3 N0 E" y# }$ l2 D
  744. enable_dl = Off/ J# `0 i- u. u! k+ s. L
  745. : B% V) Q6 U- q4 `; v
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    " Q# x% N) p0 E& h# _
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    0 |  d/ C1 G2 f+ d
  748. ; turn it off here AT YOUR OWN RISK/ q9 R! H. Y* }. ?; r& s& s
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**6 n. Z/ F  h" \
  750. ; http://php.net/cgi.force-redirect
    6 h+ Q1 ?" r9 z! m
  751. ;cgi.force_redirect = 1% s+ z$ v6 t1 B, O0 r# b$ x9 r" f
  752. ' L* N0 F3 `' u
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    * o* l9 N" m, e+ _) `. X
  754. ; every request. PHP's default behavior is to disable this feature.
    % f5 _; c5 a+ V: ^4 z2 }- e
  755. ;cgi.nph = 11 }' ]) q' N8 M8 M
  756. & m) `3 D( N7 j+ i$ K
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ' k* \8 [6 a7 S
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP+ `- B/ g' W0 j
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY' t4 L4 D/ x8 Y
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.! j0 E" U1 J1 J0 c; y8 O7 L! Q1 l
  761. ; http://php.net/cgi.redirect-status-env
    4 A/ o$ H0 S, j
  762. ;cgi.redirect_status_env =+ p$ e' G+ n9 }' r; r- z  v) x
  763. , r( x9 i/ J( w; g' F
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    # @2 Z6 x: e/ ?! ^6 W
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    6 W6 T. h: n3 @+ O9 e. |
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting6 q5 A+ F4 y9 p: }+ Z
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    9 F+ T9 j, F% |1 Z
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts, L2 s7 R) h7 F3 ~. Y
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.8 T* H+ \  A2 Y5 B4 g5 c# D& U* H
  770. ; http://php.net/cgi.fix-pathinfo
    ; G1 x; Q4 z' R2 |  T
  771. cgi.fix_pathinfo=1: v& r0 \% J& N. t
  772. 5 b: F: }% m, k* h4 \8 }
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    5 d5 Z+ n$ J7 x3 Z5 J
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    ! U  D. ~2 y! M
  775. ; http://php.net/cgi.dicard-path
    $ t$ n+ f1 L$ |9 @/ l8 j
  776. ;cgi.discard_path=1
    ' a+ a# {2 _: {* Y7 E, i8 v! v

  777. ) Z3 }$ u6 r: _
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    & `$ b# B2 `! i; Z( f, L, b6 F
  779. ; security tokens of the calling client.  This allows IIS to define the
    / T- @. W* e8 V9 i$ T" I
  780. ; security context that the request runs under.  mod_fastcgi under Apache2 s0 A/ |, \, u& L0 L( x
  781. ; does not currently support this feature (03/17/2002)" v9 Y, \% H% }) j! q2 i
  782. ; Set to 1 if running under IIS.  Default is zero.
    ) [! _8 m  c3 x+ x9 W
  783. ; http://php.net/fastcgi.impersonate& e0 \, g* t0 P: w! _
  784. ;fastcgi.impersonate = 1; f2 y1 r6 y7 _. z6 x! b

  785.   I% Y0 E  P8 d2 Q. A+ |/ H. r
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable# v4 S! N4 x' K, j9 M; i; s
  787. ; this feature.  ?, m! E' q2 x5 [# \
  788. ;fastcgi.logging = 0  O8 R2 v# w' A
  789. . i5 Q# l5 B0 M
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    # Z6 J$ w7 K, K0 l1 A0 j
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that+ h& p  [  H9 a3 u0 p8 L: m
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    & q  Y, E8 i8 ~! |! z5 N" s
  793. ; RFC2616 compliant header.
    / X. ^& w) }+ u; ?8 T8 j
  794. ; Default is zero.
    8 ]# j4 K# h/ x( M; e
  795. ; http://php.net/cgi.rfc2616-headers
    % c  i' c- t, q$ @
  796. ;cgi.rfc2616_headers = 0) Z: K/ B7 f% ~3 i! f
  797. , y$ _, R9 D% o/ c
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!1 j, F$ |. z) Q+ D" P/ }
  799. ; (shebang) at the top of the running script. This line might be needed if the
    - C1 J- T# B7 q9 |7 w+ u7 E
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    6 v& K! v5 j- i  s3 L
  801. ; mode skips this line and ignores its content if this directive is turned on.
    5 ~! E, Z& w  `$ h. E- k* p7 l: i
  802. ; http://php.net/cgi.check-shebang-line% S  v1 X1 P' p) M/ T
  803. ;cgi.check_shebang_line=12 r) k" ^- i: U) G4 y

  804. . m* C' h2 A) G& M# ]+ w. A' H
  805. ;;;;;;;;;;;;;;;;5 Q# d9 }3 X6 N. V% `
  806. ; File Uploads ;
    5 E9 h- @, B. L" G8 b! o
  807. ;;;;;;;;;;;;;;;;
    1 d0 i7 `" B0 U& n: M# x% e9 L
  808. $ E$ e4 `/ S: ~9 t: E& x
  809. ; Whether to allow HTTP file uploads.
    " R: g0 D9 m6 P8 y3 i$ @
  810. ; http://php.net/file-uploads: N* y9 Q" V* ^) t
  811. file_uploads = On' X( o" }% }9 r
  812. ' Q1 Z* C0 U' y; p
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    $ V/ V) t$ g; k' N5 }- b
  814. ; specified).$ d7 Q# w! F$ Z$ W# V
  815. ; http://php.net/upload-tmp-dir* W5 `$ v( l7 ]4 W; s( c4 l3 ?
  816. ;upload_tmp_dir =. Q  k% M% U, O% W" u1 N

  817. 7 K+ O, g; n4 C! P; b
  818. ; Maximum allowed size for uploaded files.
    + B9 X4 R" e/ H0 ]7 C6 p, `( q
  819. ; http://php.net/upload-max-filesize
    ( Y" v* w( u$ |+ r1 j$ l( X
  820. upload_max_filesize = 50M" P' ]7 W6 W+ R# h8 k* D
  821. " k# y3 U7 ~6 T: t
  822. ; Maximum number of files that can be uploaded via a single request6 F% U2 V  Q' G9 m# ?6 \3 W$ f2 H
  823. max_file_uploads = 205 y  h" A) ^: \& O
  824. 7 V+ V( ^* X$ V8 }$ i9 s  w3 \
  825. ;;;;;;;;;;;;;;;;;;3 N7 C  e$ y: e- m. Z  v# J( g
  826. ; Fopen wrappers ;/ p3 c& [8 K7 E5 {9 p+ i3 L
  827. ;;;;;;;;;;;;;;;;;;0 Q( M5 C2 }  D
  828. 0 I; g8 _  F& z) k' b
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    1 a* w( y: x3 G0 h1 B$ f: p2 v
  830. ; http://php.net/allow-url-fopen: w! |1 J. g" ^* c3 N  \2 ?9 d. t+ K
  831. allow_url_fopen = On  h8 z& I& t; |) m3 x+ X: m( Y$ H

  832. 0 c. G. K* G! F
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.. }5 O$ ?$ X5 [# F
  834. ; http://php.net/allow-url-include- r) p6 L, r$ ^4 \- g
  835. allow_url_include = Off1 X* j1 W$ _1 h# e  t
  836. 7 o- P6 J/ a% R( {' p
  837. ; Define the anonymous ftp password (your email address). PHP's default setting8 q8 S6 L' U+ f- T: l- [9 E( P! d
  838. ; for this is empty.
    ! @$ v" A' \% y4 h" |
  839. ; http://php.net/from. g5 \9 F0 i( h# F" A: ?2 o) `
  840. ;from="john@doe.com"$ P' G8 m$ b* x* O  |

  841. / z/ H* j5 M! T7 l2 ?
  842. ; Define the User-Agent string. PHP's default setting for this is empty.5 M+ n* W9 [4 M% J; b: n& i
  843. ; http://php.net/user-agent( Y* ]7 @8 _7 S% S/ {
  844. ;user_agent="PHP"/ K" c! K/ y( `& B1 p" E

  845.   O8 Y0 f: Q- K
  846. ; Default timeout for socket based streams (seconds)
    ! U. N6 `& x) @, S8 O$ y
  847. ; http://php.net/default-socket-timeout! v; n0 d1 w8 P) K
  848. default_socket_timeout = 60
    ) I" R: R7 C: D0 V+ X) F' i
  849. - m& \2 T8 T$ e! s2 n
  850. ; If your scripts have to deal with files from Macintosh systems,4 B3 i7 K+ w* _) F9 Y2 ^; L0 o
  851. ; or you are running on a Mac and need to deal with files from
    6 s+ m, O1 H' |  y6 l! J: ?
  852. ; unix or win32 systems, setting this flag will cause PHP to/ R- Y+ v7 y4 I% C: I
  853. ; automatically detect the EOL character in those files so that/ ?# E3 c& m4 o' h
  854. ; fgets() and file() will work regardless of the source of the file.
    ! Z( @5 _- w6 s9 s$ G
  855. ; http://php.net/auto-detect-line-endings
    2 w6 |( f. |8 j( U: A, ~
  856. ;auto_detect_line_endings = Off
    ) W) j+ _9 w/ ^3 [9 g' |: ]! y$ ~

  857. ! s5 B0 W4 e$ I1 w
  858. ;;;;;;;;;;;;;;;;;;;;;;( l+ n4 B* J" s8 M& L
  859. ; Dynamic Extensions ;+ j$ ?3 C7 {# K8 s  X3 N* z9 z
  860. ;;;;;;;;;;;;;;;;;;;;;;
    , N7 ^. X8 U$ ?2 L% F

  861. 2 H7 k7 Y+ G: f7 G  P$ l
  862. ; If you wish to have an extension loaded automatically, use the following+ f5 E- _. f& ?5 D1 }, ?
  863. ; syntax:
    ; h, S7 i! {0 ?" a$ F' @, k
  864. ;# S2 v9 Y8 l: d. o5 L
  865. ;   extension=modulename.extension
    . l* _2 u0 E1 P' s' e. G, _
  866. ;6 b/ X4 t) R: K9 x+ z: a
  867. ; For example, on Windows:" |- [) {& V3 o5 k* n+ J
  868. ;
    + r1 q1 S0 m/ m* i
  869. ;   extension=msql.dll0 t* P, J) ?  a$ |' C' f
  870. ;
    & ]) o4 U5 o% E4 A  D# x3 w
  871. ; ... or under UNIX:
    " b5 r& W" E/ f, D; P
  872. ;, Q: _  E, S& l
  873. ;   extension=msql.so* F/ M/ s9 w$ k# q, W  c
  874. ;
    : {+ j3 Z8 J8 m! ?- I: @$ @
  875. ; ... or with a path:5 {2 H/ D8 F0 G' c, v* S
  876. ;
    " i1 s* d0 o  H- `. _. C/ f5 ^# s
  877. ;   extension=/path/to/extension/msql.so7 y! m4 {8 q9 r6 P* e& T" z$ `
  878. ;
    8 R) i. I# Z% K) E
  879. ; If you only provide the name of the extension, PHP will look for it in its
    2 q% [8 T8 Y& z0 l
  880. ; default extension directory.: \# _7 J& m% Q, X5 D
  881. ;
    / Z4 {* K$ L4 w) s3 F
  882. ; Windows Extensions; y7 y5 M& }* _: Z! w; B
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    2 C. o* s6 s0 s
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)( o, {; S; m1 D2 E6 o* r
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
      q6 U2 ^; b2 K+ C# k- c
  886. ; Be sure to appropriately set the extension_dir directive.
    $ ~  Z9 C: h1 K# B* d
  887. ;0 A" I8 e* c7 h
  888. ;extension=php_bz2.dll# m  u/ C0 B6 r! N8 |
  889. ;extension=php_curl.dll4 o5 a& l# v6 O+ ~5 p
  890. ;extension=php_fileinfo.dll
    ( m# o  l7 T; Y( I
  891. ;extension=php_gd2.dll; s4 F' x4 l1 c8 I) |# j  J; {7 W
  892. ;extension=php_gettext.dll, q' ]  J) h3 C+ m* d9 O# m+ h
  893. ;extension=php_gmp.dll0 R# T- \* P. B. i* F
  894. ;extension=php_intl.dll
    . `" a' b; {! q& t) A5 o' O! f
  895. ;extension=php_imap.dll/ L" c4 g5 P9 Z7 |
  896. ;extension=php_interbase.dll
    9 v2 F& n& {( k( E; f+ }1 J
  897. ;extension=php_ldap.dll9 N% P4 q8 K6 s
  898. ;extension=php_mbstring.dll
    ' f. L3 J* r- B$ r
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    7 {* t) E( U) i% P& r' G. {
  900. ;extension=php_mysql.dll1 n" B# Y( }6 L5 g* V
  901. ;extension=php_mysqli.dll
    & E5 L+ M2 O2 g/ k- X/ r
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    / D/ A2 T- {- F+ g, h: @" @$ z  x
  903. ;extension=php_openssl.dll
    * K* d9 U) X2 J5 Z2 T/ _+ l" N2 h
  904. ;extension=php_pdo_firebird.dll
    % Y. O# M! \2 x; |( a7 W
  905. ;extension=php_pdo_mysql.dll' ^0 V# x; _1 Z
  906. ;extension=php_pdo_oci.dll
    : x* R! f# E- A! n2 }
  907. ;extension=php_pdo_odbc.dll
    ) V, `8 f2 Z7 ~
  908. ;extension=php_pdo_pgsql.dll" y. c# A( B, Z- G' ~! Q
  909. ;extension=php_pdo_sqlite.dll
    ( d9 m9 {; H% @6 I* S7 w( B, A
  910. ;extension=php_pgsql.dll
    4 Y+ M$ r/ g5 q8 C7 K8 n" t2 t2 P
  911. ;extension=php_shmop.dll
    ! n4 t; f! }, t! X

  912.   O8 r5 w9 D8 w1 X! W! v
  913. ; The MIBS data available in the PHP distribution must be installed.
    ' M+ n4 |  a6 O% x
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    3 n, P' M+ y* i8 c/ ^6 w8 q( B
  915. ;extension=php_snmp.dll! z# y) `2 q! [

  916. : r$ A+ A$ ?: @1 D9 ]
  917. ;extension=php_soap.dll3 ^- @+ P) N9 [( T$ W9 @; {/ m
  918. ;extension=php_sockets.dll
    ; W$ E$ n, r8 ?; e8 c; ?) A
  919. ;extension=php_sqlite3.dll
    6 y# I2 P  Z" P3 _
  920. ;extension=php_sybase_ct.dll7 P; X/ {6 y% y" D
  921. ;extension=php_tidy.dll# `, r. G0 S9 c" J7 u+ X
  922. ;extension=php_xmlrpc.dll
    + c/ [4 ?) X0 w7 c( U' S, y
  923. ;extension=php_xsl.dll- S7 ^- v; b3 N. ]' \

  924. ! n" L7 o$ f* N/ M; o
  925. ;;;;;;;;;;;;;;;;;;;$ @) u- `- e+ A* }2 l/ F' B
  926. ; Module Settings ;/ t. x5 W) j; Q1 b: _. M7 z
  927. ;;;;;;;;;;;;;;;;;;;% L0 {- _, L8 {7 G

  928. 3 v# e/ Z" k& x1 `
  929. [CLI Server]
    * a) q9 G, K8 o
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output./ n' ~7 }4 u; @6 V2 @0 l; Z
  931. cli_server.color = On
    % q+ T/ I  R8 \$ ?# M1 V

  932. " E3 C) b9 Z' m( ]
  933. [Date]
    ! w9 o' R- |& r9 M2 R$ {& P
  934. ; Defines the default timezone used by the date functions. v7 c2 V  p& i4 r1 Y
  935. ; http://php.net/date.timezone: M& `7 c1 }6 F" a  S: c; `' B6 g
  936. date.timezone = PRC
    4 O" n; V. J  n0 g2 y
  937. " ?% i* T! ~; Q- n% e
  938. ; http://php.net/date.default-latitude
    1 k! |8 X% L$ M
  939. ;date.default_latitude = 31.7667: ]3 ]0 f, _: u. R2 f
  940. 0 |( p4 _! X9 r. h- o
  941. ; http://php.net/date.default-longitude
    + F* [" k- z( |( [! ?
  942. ;date.default_longitude = 35.2333
    ' u5 I* M5 V8 i+ e! [- T7 r! u
  943. 7 Q4 L# l- R+ T% c
  944. ; http://php.net/date.sunrise-zenith, T- j3 R/ H% W4 R) v1 o  L
  945. ;date.sunrise_zenith = 90.5833339 |, s1 @2 D( t+ c. x+ j

  946. 3 }: Y  z/ ^! ]+ J1 {
  947. ; http://php.net/date.sunset-zenith. N/ Z8 _# _5 v. j0 E" F0 x
  948. ;date.sunset_zenith = 90.583333
    ( z( @6 X% F' Q! q. x' L

  949. : c$ D+ I$ L, y8 k) E6 Y+ f
  950. [filter]
    . z( u: N  o/ X# j; ^1 p, o
  951. ; http://php.net/filter.default/ `0 T/ z( R) S( H- {4 T8 J
  952. ;filter.default = unsafe_raw
    ; B* ]# W+ _' H+ Q
  953. " `0 \" {4 U& C4 ^3 P' H* ]( j6 `
  954. ; http://php.net/filter.default-flags
    / |) \" |! }3 U2 J4 ~  I0 q
  955. ;filter.default_flags =6 y7 f" X) J+ y5 ~: Y6 A: r

  956. ! L) y) }; |% j+ E5 [
  957. [iconv]& `! \& Y1 Y& M" F$ D" s
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.3 v6 _: l+ i! S2 k3 e
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.7 }- X4 u8 x6 {8 v1 f
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    # X5 h; J( J  o& h- X
  961. ;iconv.input_encoding =; a. z4 r; [$ K, a
  962. ; ^6 P. A4 H0 T) u
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ( C* a' h( W" x
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.8 _3 ~' m5 {5 Z
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    . Q! ]9 ~0 G7 U
  966. ;iconv.internal_encoding =
    ' `3 ~# Z. {* U9 j5 e9 N$ u9 m3 }9 e
  967. + ?0 @/ S6 Y9 W5 h2 v" f
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.2 B: |1 w5 c/ c( Q8 |, l$ |) E' k
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    - m) m0 C5 l. s( G0 h$ ?$ E
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ( \% U+ s5 ~7 U; t! }0 `5 Z
  971. ; To use an output encoding conversion, iconv's output handler must be set
    ( ~8 T( \; d/ U3 ], }- @; p
  972. ; otherwise output encoding conversion cannot be performed.
    2 f% D$ d6 l8 M9 s. @
  973. ;iconv.output_encoding =2 q& \1 i% ^1 u: E' v) v. B$ W
  974. ! k' P7 K9 M  t& @8 _6 u( `6 I
  975. [intl]$ C5 L( U1 T4 ~% X6 B. o9 {
  976. ;intl.default_locale =
    ( y- g' |9 }. O: W4 ]; f
  977. ; This directive allows you to produce PHP errors when some error
    ) T  H' t. V, Y& V9 Q
  978. ; happens within intl functions. The value is the level of the error produced.
    # ^5 p3 I1 A3 F
  979. ; Default is 0, which does not produce any errors.7 U6 j- J7 q6 c+ y
  980. ;intl.error_level = E_WARNING
    5 D1 R. N0 D  D- K" \
  981. ;intl.use_exceptions = 0
    3 K6 u# {+ a4 k  H# H

  982. ! @5 p/ a' X; O" j5 s
  983. [sqlite3]
    - Y" l8 x: |2 n$ n1 d( o; j7 v
  984. ;sqlite3.extension_dir =
    1 ^+ ?; O& F  v

  985. ( s5 ^5 u( Q5 [' d* Q# S3 R
  986. [Pcre]
    2 I% C0 L. w. o* q: ~
  987. ;PCRE library backtracking limit.
    - s7 ^  j9 [0 t- \' i2 p5 G
  988. ; http://php.net/pcre.backtrack-limit' _$ L+ ^+ ?- ~/ H: j7 X
  989. ;pcre.backtrack_limit=100000/ r4 l% s$ p8 e( `: L: u" x7 z2 \

  990. & _, W4 A+ Q% O, V; M. h
  991. ;PCRE library recursion limit.
    ' f: q2 z: U& u) `6 @
  992. ;Please note that if you set this value to a high number you may consume all
      u$ N' n, B0 O( p& D0 Q$ q
  993. ;the available process stack and eventually crash PHP (due to reaching the3 f& k3 r( v! J/ O' a
  994. ;stack size limit imposed by the Operating System).- [- o( p' m! l' B
  995. ; http://php.net/pcre.recursion-limit
    6 W  h9 }& }* j! \* R2 \
  996. ;pcre.recursion_limit=100000* J# N2 U7 L: N6 N+ [" E7 {

  997. 4 y$ _# s+ Z% Z  c9 A% |. Z" h( i
  998. [Pdo]! t4 F& o$ [5 g  x2 J: J
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"; _& o( d: L7 f2 o, M% {
  1000. ; http://php.net/pdo-odbc.connection-pooling: u3 Q( u. l+ t2 H
  1001. ;pdo_odbc.connection_pooling=strict
    / ^; j2 F  i7 y( _% B5 n4 X
  1002. 3 Y  ?( H3 D. f( N
  1003. ;pdo_odbc.db2_instance_name9 O) J) D' S  Y2 ?" H

  1004. ) v9 m7 y( b, e( I
  1005. [Pdo_mysql]  ~. S/ D( S( ^5 x# r) B% d/ G7 {
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / l- i5 y' \, Q/ b' X
  1007. ; http://php.net/pdo_mysql.cache_size* d& N5 |6 N3 `; G1 D8 p
  1008. pdo_mysql.cache_size = 2000, h, Q# c- o8 p5 F/ t8 w+ \  i
  1009. * F* g. T' d7 F, B/ {9 k
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in* J0 A# Z- i7 a/ t
  1011. ; MySQL defaults.
    1 ?& x' u$ ^$ \; ]1 {3 s
  1012. ; http://php.net/pdo_mysql.default-socket
    9 [* a6 _; E8 g* f- K
  1013. pdo_mysql.default_socket=
    6 K4 Y2 e$ H% S) P) ~. N

  1014. 1 F6 ]9 G6 e$ F% N! B
  1015. [Phar]
    6 c, S7 w( K- a& }5 ]2 g9 m
  1016. ; http://php.net/phar.readonly
    & W9 V- z+ n6 w$ v+ B
  1017. ;phar.readonly = On: ^+ n% D7 Z7 d+ s. V! n* l& w
  1018. - k; _+ \! u5 ?" U; Z
  1019. ; http://php.net/phar.require-hash4 l; l: D* @7 d$ h3 G' l9 D
  1020. ;phar.require_hash = On. o' P. x2 b) U6 z

  1021. 4 G5 }( {0 x+ g8 L
  1022. ;phar.cache_list =
    ( F& k$ j% G+ }# e/ Y( b

  1023. $ H2 e* t" Z( d! X* [- R7 S! O6 K
  1024. [mail function]9 G/ d$ q. n6 v4 m
  1025. ; For Win32 only.+ ~4 h- P5 @( I' t' \( u7 ^
  1026. ; http://php.net/smtp" J: h( S5 Y8 r0 l+ j
  1027. SMTP = localhost
    # K9 R) {! g5 o+ Z$ R1 l- `
  1028. ; http://php.net/smtp-port
    ) s/ L  W. W4 s2 z- S' |0 K4 u
  1029. smtp_port = 25
    0 B# u* r2 e- {: u
  1030. 0 i8 ~- |# u) J$ Q2 J
  1031. ; For Win32 only.3 J& `: K1 }, F1 F; z
  1032. ; http://php.net/sendmail-from
    ) P3 ?+ F5 X" b7 [+ H6 z$ y
  1033. ;sendmail_from = me@example.com
    & N0 I! ~, b: N2 i: ?2 |1 J
  1034. 7 p6 ~- l3 o: p3 S* I8 d
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").$ I/ J5 G5 Z: _
  1036. ; http://php.net/sendmail-path
    1 f5 i7 O1 C# w6 h3 m, L, A& o) d
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    $ `3 x2 D  W9 X& i, u5 K
  1038. 5 G" p) l3 \  \7 J, h6 Z* e, m& _8 \
  1039. ; Force the addition of the specified parameters to be passed as extra parameters: z8 ~1 ^" s9 ?- `% |5 x
  1040. ; to the sendmail binary. These parameters will always replace the value of
    $ W4 H4 ~* g( ~+ ~) g8 V* b+ d
  1041. ; the 5th parameter to mail().( n% f+ L( t! a) c4 G! C
  1042. ;mail.force_extra_parameters =' J( T6 @7 ]% T
  1043. + C7 u* [  ?( M/ e& F7 W" J" t0 |
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    - [: x5 L) U- Y% h8 {- K
  1045. mail.add_x_header = On' p* p0 U  B' c$ \3 Q* ]$ d

  1046. 0 {4 q) u3 j9 i6 n' g' {+ n
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    9 o  P( c$ }9 X/ U7 Q( S
  1048. ; the full path of the script, line number, To address and headers./ v. q3 W$ x7 K9 U1 Y4 U6 n( H7 \$ w8 |
  1049. ;mail.log =) [2 w! `* W6 p( T- l- k- a
  1050. ; Log mail to syslog (Event Log on Windows).
    ) [$ U$ [5 z# W9 x9 g# y) b5 g
  1051. ;mail.log = syslog( h) Z2 m) g2 N  N' C" q; e

  1052. & l8 L# k4 Q+ K) T
  1053. [SQL]
    , j$ w2 D5 [' x; B
  1054. ; http://php.net/sql.safe-mode
    . d. M$ D7 k$ I* Q  x8 j% f
  1055. sql.safe_mode = Off8 [. y1 N; L2 {2 f" @( Z
  1056. 1 d0 w3 p$ e$ _5 C3 Z
  1057. [ODBC]
    3 n+ E; N9 y. ~; m3 Y, b# c
  1058. ; http://php.net/odbc.default-db) B" o: {7 H$ Y  |5 n2 i* t# m3 H
  1059. ;odbc.default_db    =  Not yet implemented7 W( _: B7 O$ x! c1 j5 p
  1060. ; G+ z6 H* N& P
  1061. ; http://php.net/odbc.default-user- O! M+ x4 [4 K" z+ q$ @: [
  1062. ;odbc.default_user  =  Not yet implemented# _5 d+ L; N6 P3 Q

  1063. # y% r) K1 M/ }$ v, K2 O% g
  1064. ; http://php.net/odbc.default-pw
    - K8 V9 E$ p- \% E" |; {+ v$ O
  1065. ;odbc.default_pw    =  Not yet implemented
    - {1 [, H0 V1 V# ]% i6 L
  1066. " b7 N+ ^/ ?6 k: T/ C5 W6 K  Y8 T
  1067. ; Controls the ODBC cursor model.% Z$ U" S8 h# o
  1068. ; Default: SQL_CURSOR_STATIC (default).$ S7 F1 n* E0 ?3 }6 j7 [5 f5 @, x7 V: |
  1069. ;odbc.default_cursortype8 W% R) ^, _0 n. ^, ^: }

  1070. , C+ H& c4 q9 E; e# {0 b
  1071. ; Allow or prevent persistent links.
    ' l' S7 s3 I; x' R( o- B, o
  1072. ; http://php.net/odbc.allow-persistent
    % F1 @5 H# P+ k4 ?6 C: d, ?2 H
  1073. odbc.allow_persistent = On- h* `6 T9 |( E1 A/ V4 M7 B

  1074. : ~  }3 ^, o) P
  1075. ; Check that a connection is still valid before reuse.
    : ?) z2 F- R' M4 w  X- t
  1076. ; http://php.net/odbc.check-persistent5 T$ D- P3 J+ U* e  D& V5 h' U3 q; O
  1077. odbc.check_persistent = On- Q6 ]" e( y, T2 h+ k) x& G
  1078. ' l# i- v7 H4 v( H
  1079. ; Maximum number of persistent links.  -1 means no limit." z7 s/ n6 j! u& f9 O
  1080. ; http://php.net/odbc.max-persistent+ u2 @4 O5 ~- c7 p8 u! ]1 e* h
  1081. odbc.max_persistent = -1
      K! F4 z. }, ^! s2 X, z9 Y/ y

  1082. 5 W, B' J/ J, U6 `- y/ L
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      B: b0 r* [- C( Y# [
  1084. ; http://php.net/odbc.max-links
      L3 J& E/ a1 l6 P  ?1 i# O
  1085. odbc.max_links = -17 V% b1 M& N1 I' g4 G
  1086. 4 E; D7 o3 j1 J
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ! Y4 A. U' q9 d0 a2 C
  1088. ; passthru." u0 m# s- |, F7 x) g' @1 I
  1089. ; http://php.net/odbc.defaultlrl
    8 U* m  I( H1 ^4 C
  1090. odbc.defaultlrl = 4096
    ( N/ m1 b0 k) G/ Q; l
  1091. / I2 a- e; Q! {7 @3 h2 T
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    0 c6 Z+ G! ^: Y0 I- a( z
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    / C% G1 }2 J7 Z: b
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
      M4 x. R# ?7 n3 ~
  1095. ; http://php.net/odbc.defaultbinmode" Y. c( z# O# d; A3 j+ j: f
  1096. odbc.defaultbinmode = 1
    2 U1 N, B' |4 Y( Q/ O

  1097. 8 w" i1 C  j% _& N. w3 t
  1098. ;birdstep.max_links = -1
    . y$ m% l/ z% F0 M$ _; o7 Q/ k( i8 S
  1099. 9 L, E) H$ W2 T/ i! F& P$ A
  1100. [Interbase]
    - W. }' r# p( t5 w/ a" G
  1101. ; Allow or prevent persistent links.
    2 b( e* j5 K& |! P6 d8 e
  1102. ibase.allow_persistent = 1
    $ D2 }- P5 r; m# a! ?+ t
  1103. " G6 t6 t$ w: b' V
  1104. ; Maximum number of persistent links.  -1 means no limit.* {" C# w. U, X' z9 H7 K
  1105. ibase.max_persistent = -17 G7 G5 Q% g: Y, [. u5 }+ x
  1106. / G. @4 `6 ]4 E+ F* }2 s3 _1 ^& e# P
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! s; J" q! _- L! W
  1108. ibase.max_links = -1
    ) p" D% W8 n5 Q  h( H2 R* y
  1109. " y! W, Q' ?) q* O7 k
  1110. ; Default database name for ibase_connect().9 r* a; y6 d% c1 X
  1111. ;ibase.default_db =1 G- k1 k, |1 L. F

  1112. % k! l$ N, i- L7 I
  1113. ; Default username for ibase_connect().- h( T/ m$ ~' b' m8 g: E
  1114. ;ibase.default_user =
    / Q0 B5 e6 g( N) x  x5 ?

  1115. 6 b  Q7 U/ ?# B3 D* F7 i
  1116. ; Default password for ibase_connect().6 y, Q9 \4 T9 r, X! A' X* Z' ~
  1117. ;ibase.default_password =
    2 `3 v& x7 f, a4 U

  1118. ; t+ g0 t6 X/ Z! @( K
  1119. ; Default charset for ibase_connect().
    , d+ R; R; V6 ?0 N7 D
  1120. ;ibase.default_charset =# ^; B! h/ S( x' M. A2 C  g' u
  1121. 1 b3 H* L  i( l4 i# d9 B' t
  1122. ; Default timestamp format.
    7 @5 |. m% I' J
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ) F: \& V4 [+ T. Y' m+ c
  1124. " L3 ~) W* W3 N, {+ G
  1125. ; Default date format.
    ; Q% W. j1 T4 s' M
  1126. ibase.dateformat = "%Y-%m-%d"- b+ z% o/ i4 a% @- p2 m

  1127. + i6 G% c/ s& r4 P- h' s+ _4 Z7 r
  1128. ; Default time format.! f& O) B+ V( x# ]4 r
  1129. ibase.timeformat = "%H:%M:%S"' t: d0 f( [3 `( G

  1130. & }7 e* X) M+ [! _
  1131. [MySQL]
    0 \- d% \( M1 l2 S
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    , T5 k6 r7 E. f' V( H5 Z# i
  1133. ; http://php.net/mysql.allow_local_infile0 o" O2 {6 w2 V' V" w& n# s
  1134. mysql.allow_local_infile = On
    $ Z% c& w+ K; q" C" Z6 {6 z% o
  1135. ) r& A5 ~" H$ j- }
  1136. ; Allow or prevent persistent links.
    . u4 e% D6 q+ V& [( z0 U
  1137. ; http://php.net/mysql.allow-persistent: D) g% l( x8 R: ]
  1138. mysql.allow_persistent = On# X: g( Z/ B4 Y, V& h0 m9 r0 \

  1139. " P: w5 O: K6 ~. R5 B
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    3 ^$ ~4 y, d! v# V- `- ^% [
  1141. ; http://php.net/mysql.cache_size
    ; |0 a# Z! y! [9 h" i
  1142. mysql.cache_size = 20006 R/ D" i* b! F* I, S0 }
  1143. ; E# s; U$ N9 ?9 b8 ^0 z, k) L
  1144. ; Maximum number of persistent links.  -1 means no limit.: O( B; ]* l1 o7 P$ o
  1145. ; http://php.net/mysql.max-persistent
    0 [' {- r, K$ W
  1146. mysql.max_persistent = -17 D' _) m* X7 u* a: H
  1147. ( K" h3 |3 u# e; L# I2 C
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.- t8 b+ B. G( ?2 k# H) s7 h# L. i
  1149. ; http://php.net/mysql.max-links
    1 c$ X/ C6 C) Y$ u' r
  1150. mysql.max_links = -1
    9 Q2 c, d! A* w

  1151. 1 s4 ]! T- ^% S% T; K7 }9 V
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use, p9 M3 G+ w+ ^8 y; \
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ' V' |6 E# x/ P( E+ e" y
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look  W2 g5 v8 X# B9 R3 G  d5 C0 S
  1155. ; at MYSQL_PORT.0 \. M: J* w7 o4 p2 Q! L
  1156. ; http://php.net/mysql.default-port
    + z7 H2 p9 e% P! ^. D* {
  1157. mysql.default_port =
    4 D& n7 U! |+ M6 ~# m

  1158. 2 x  y) ~5 G9 o  C( `6 u4 `% Z( f9 A
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in+ c2 W/ G8 a" ~# z) q. l7 p
  1160. ; MySQL defaults.
    7 b: ?/ u( A2 \
  1161. ; http://php.net/mysql.default-socket8 X9 Q* T5 n, }4 p9 ~1 X
  1162. mysql.default_socket =5 X' t6 }6 r6 r6 d7 ~
  1163. ; [. i+ i$ }8 {3 C7 ]
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).( N4 K) J& Y  ~! n9 g% |
  1165. ; http://php.net/mysql.default-host
      J; l) Y3 u5 C) X# p! M5 i
  1166. mysql.default_host =3 [3 B8 k6 i! [6 \; T4 z. ^9 h
  1167. " @+ Y6 Z" C9 o2 R% y' p1 J+ f  p
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).& \% ^* Z6 d6 O+ }/ `/ J8 t
  1169. ; http://php.net/mysql.default-user8 H" l+ q" H* J2 F
  1170. mysql.default_user =& G2 d% d% c1 ^) K3 w* [$ w
  1171. 2 U' P% y) c, v  X( W- Z# u
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    7 [- D% t' w5 q
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.; e- O, |% |" p; O5 h4 D3 e
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    8 l( x' S: H& \
  1175. ; and reveal this password!  And of course, any users with read access to this" y$ D* S. J* b9 J
  1176. ; file will be able to reveal the password as well.$ J: E  L0 H+ |5 t5 ?& w
  1177. ; http://php.net/mysql.default-password3 f! ^! e" w) e& ]! O9 x
  1178. mysql.default_password =
    9 K$ @& n7 P$ X5 v' n) l  I

  1179. 1 J* Z) M+ H. i" m3 S" L
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit  Z- T" E: c- s- w0 u3 D6 T. R
  1181. ; http://php.net/mysql.connect-timeout
    . T2 ~8 c7 l/ F4 R& J9 E. U) {
  1182. mysql.connect_timeout = 60& l, M7 f7 D3 a! {$ x; E
  1183. 7 x( N3 D: m- E: @# T4 ^
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    1 T' s) f" L# g' _+ O8 y! G
  1185. ; SQL-Errors will be displayed.* u: f6 r% Y+ C$ c1 N6 R0 l, \
  1186. ; http://php.net/mysql.trace-mode
    ( v# T% ^3 r& x1 C$ s0 X
  1187. mysql.trace_mode = Off
    / q( q- H5 w8 g+ \. p" f
  1188. $ k( x1 c' w+ F0 V# D3 U
  1189. [MySQLi]
    * X' P: b/ a/ m9 z' K

  1190. ' n) Y$ n' j% p& c2 v
  1191. ; Maximum number of persistent links.  -1 means no limit.
    ! n$ b8 K3 k$ J! D; x
  1192. ; http://php.net/mysqli.max-persistent
    6 L7 m2 I: x; l0 r# p
  1193. mysqli.max_persistent = -1
    ( Q7 A2 R# Z, G  Q7 i, M8 K& r8 Q% B
  1194. 2 B  F% D8 G1 J  d, v9 L7 y
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements; U* n9 {! o( c' H+ U
  1196. ; http://php.net/mysqli.allow_local_infile
    " h; _3 X# r  u/ Q& h9 C  s
  1197. ;mysqli.allow_local_infile = On
    0 Y3 V8 z  n2 ]' e$ `

  1198. % {: p" L* e% [" g4 `! ~4 t7 z
  1199. ; Allow or prevent persistent links.
      B, ]8 _  _) |; C( s% ~5 l
  1200. ; http://php.net/mysqli.allow-persistent
    % l+ B8 ]+ A: ]
  1201. mysqli.allow_persistent = On
    4 j# d" D5 n8 ~8 ?3 }

  1202. 3 C- f3 U# |- l! p0 V
  1203. ; Maximum number of links.  -1 means no limit.
    " f: Z+ L& _+ h; `5 z6 L9 {7 H; v+ H
  1204. ; http://php.net/mysqli.max-links& Z3 s8 F, e9 R/ U5 T
  1205. mysqli.max_links = -1
    * G' o: b, j( U: P" F$ I+ q
  1206.   g6 h$ t9 Z+ M1 ?. X2 q2 D
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    0 L  Z+ j/ E7 E) z1 m
  1208. ; http://php.net/mysqli.cache_size
    * Q: D8 n) B/ r9 G7 g* X
  1209. mysqli.cache_size = 2000
    $ n5 }1 a  v% F% A5 \! J
  1210. , `7 ]' j1 ]4 r' b' {; N
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use' ~8 E% A- q+ Y$ s
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    3 Y" q2 x6 z+ i) a. H  @6 _( l' ^
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    % Q0 y* X) ~) q! [
  1214. ; at MYSQL_PORT.+ B& ~4 {- D* ^- Y6 d
  1215. ; http://php.net/mysqli.default-port
    9 k; k" H$ q8 ^$ D0 h
  1216. mysqli.default_port = 3306
    9 D+ L# a1 \0 x& K- S
  1217. - g4 d+ y9 v" P) _( \4 k
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    9 m/ @9 L' L, q6 r
  1219. ; MySQL defaults.% X7 P& }0 J! V0 P# ]+ j
  1220. ; http://php.net/mysqli.default-socket8 N/ c& u2 e9 k
  1221. mysqli.default_socket =  B( p+ \4 l# S8 }
  1222. & W% G( ~/ r7 H0 {# |
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).% y% R4 ^* F' P0 b; A$ R
  1224. ; http://php.net/mysqli.default-host
    8 b' k; g$ P6 m0 c
  1225. mysqli.default_host =; k4 e! m4 e0 ]

  1226. " j9 z" y4 `* ?# j) d
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).  s$ j4 l2 Q: F* H4 D5 k. ]. l
  1228. ; http://php.net/mysqli.default-user" ~0 z7 G5 a4 u5 \) [
  1229. mysqli.default_user =/ \$ t& s/ q" S

  1230. - z' \( p& j" }+ K2 W; A
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).0 L) m2 M8 E4 j& r+ U4 s! ?, h- }
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.5 H5 k$ A# b* h2 b9 I
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    1 I9 ~$ x$ g) u7 }, E
  1234. ; and reveal this password!  And of course, any users with read access to this$ \6 q* X! b0 J. J) \
  1235. ; file will be able to reveal the password as well.6 B$ c9 T3 i: g- e0 ^' H5 g
  1236. ; http://php.net/mysqli.default-pw8 z2 c" e" M/ K' D' }( Y
  1237. mysqli.default_pw =  R  `* F/ P2 @/ w) z

  1238. $ z8 R) E7 g6 k. q* W! L1 |
  1239. ; Allow or prevent reconnect
    7 A$ H5 o, e3 e2 E5 k
  1240. mysqli.reconnect = Off0 w) X5 g2 Z! |. y; g

  1241. 7 A$ |" i5 O6 p/ E5 B% D2 F
  1242. [mysqlnd]
    ' z: B  p# s1 \- Z" x4 w7 C
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    . ^7 ?" K2 E4 s) X: [( B, g
  1244. ; used to tune and monitor MySQL operations.
    ( o% }6 ^" M% J
  1245. ; http://php.net/mysqlnd.collect_statistics3 t0 S. Q& Q9 W; }$ w2 h
  1246. mysqlnd.collect_statistics = On
    ! U3 l/ A' [# D8 A) D4 v+ K
  1247. ; a5 k" [3 Z) a. L0 Y) a
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    9 A$ z7 W2 _# A3 V+ z8 K  p
  1249. ; used to tune and monitor MySQL operations." p: \, d2 T) v, |1 `
  1250. ; http://php.net/mysqlnd.collect_memory_statistics+ g2 ~1 h* V5 o2 O+ ]& D' Z0 u) e
  1251. mysqlnd.collect_memory_statistics = Off
    ( c8 |, X  h# v* D/ r) I
  1252. 0 c6 ]& g6 x7 c4 U0 v+ q
  1253. ; Records communication from all extensions using mysqlnd to the specified log1 a3 P( j% [7 l3 z8 z
  1254. ; file.  a# E; c& x6 b3 M* W- r% _
  1255. ; http://php.net/mysqlnd.debug: F2 {7 i/ D+ c3 q- `9 N( V1 ?1 `
  1256. ;mysqlnd.debug =
    $ v3 O( j. d, Z# J2 s+ g0 S( f

  1257. % q1 }' M, b. Q6 C7 a
  1258. ; Defines which queries will be logged.5 A) \5 ]9 _8 G8 Q8 Q
  1259. ; http://php.net/mysqlnd.log_mask
    ( U8 N" K9 H1 A( O9 j
  1260. ;mysqlnd.log_mask = 0. k. x) d+ b  u9 `

  1261. 9 J/ Z; h! @' h- ~
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets., v% ~+ ~" c# t# ]! m# v! \4 v1 C; P% W
  1263. ; http://php.net/mysqlnd.mempool_default_size
    ' [0 {/ ^* ]& g: `
  1264. ;mysqlnd.mempool_default_size = 16000# z, c  t6 j2 r( E+ Y$ v2 n  f

  1265. # Z! H- ]* Q9 U+ h" k# f
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.# O) _" x& F/ g1 j; B9 j# R% W
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    + Y' b1 u( r& D
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    6 @. y0 I4 f' L
  1269. 1 i, }& Q5 p- g& A
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    % Q4 \8 r! L- I: k
  1271. ; bytes.
    - R# t/ G& K( \2 y; B/ S
  1272. ; http://php.net/mysqlnd.net_read_buffer_size, j( m1 i0 J+ B- r$ M+ Y$ Q
  1273. ;mysqlnd.net_read_buffer_size = 32768
    0 n, y/ o4 h2 P# p, d5 m/ j
  1274. & k/ G, I( S2 r- ]. o
  1275. ; Timeout for network requests in seconds.) n/ |  Y; D7 p, a% v
  1276. ; http://php.net/mysqlnd.net_read_timeout
    ! i% K) g" X8 f4 R/ M: b3 `
  1277. ;mysqlnd.net_read_timeout = 31536000) z  ^8 a+ I/ A, B2 p3 d# \
  1278. 9 I6 r9 e& D9 X, i9 v
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    4 W2 F! S$ Y; _: n, r1 ^/ M( S
  1280. ; key.
    & U0 k" U! P* L/ C' V; ?. Z
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    ! _% Y( K; L3 S
  1282. ;mysqlnd.sha256_server_public_key =
    ' S3 Q5 I9 p+ t: l5 r; `9 |

  1283. ( Y. m, ~! w  w1 V5 s8 P
  1284. [OCI8]. W  ?% J% c; e2 m* a

  1285. 6 v5 j: o) L& w9 T: u
  1286. ; Connection: Enables privileged connections using external! h. `$ e5 \, Q
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)* Q2 t3 _6 Z+ W3 t' y% Y
  1288. ; http://php.net/oci8.privileged-connect  D  Y+ P, X+ _1 M
  1289. ;oci8.privileged_connect = Off
    ' o$ j7 x  Q1 z; I# a( K" l, t

  1290. $ U# W3 y8 W+ s( a: r$ ?
  1291. ; Connection: The maximum number of persistent OCI8 connections per% K9 C4 F4 ?' F8 V' J; ]) ~
  1292. ; process. Using -1 means no limit.  r% {# L- N" H
  1293. ; http://php.net/oci8.max-persistent  X+ @& t- E, q6 H$ B1 y* R4 S
  1294. ;oci8.max_persistent = -1
    3 t# D  a6 R' }, T
  1295. , j# r+ ]# o7 K2 m* ^8 b1 d- S
  1296. ; Connection: The maximum number of seconds a process is allowed to3 H3 ]6 Z7 Q# ~" y4 p2 P
  1297. ; maintain an idle persistent connection. Using -1 means idle/ B3 \5 m$ j9 v* `3 n) F! G
  1298. ; persistent connections will be maintained forever.
    , G2 ^3 D& ^# r8 z# M! u4 e
  1299. ; http://php.net/oci8.persistent-timeout  S  o) Z: R  t; j' @
  1300. ;oci8.persistent_timeout = -12 e% M6 W3 X6 t: R1 c6 K
  1301. 5 d5 i- ^/ M6 N/ R4 x: k
  1302. ; Connection: The number of seconds that must pass before issuing a  O8 K5 s9 i3 N7 w
  1303. ; ping during oci_pconnect() to check the connection validity. When2 e" }* Z: X! c0 _) l) B) N: M9 H* b
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables$ h* P' W0 ]5 _6 q0 y6 @; `
  1305. ; pings completely.1 h/ }& T, M  ]; ~% `5 W$ l
  1306. ; http://php.net/oci8.ping-interval
    9 l) r6 d$ r( l* z1 k5 [
  1307. ;oci8.ping_interval = 60
    : ~2 Q9 v6 k; h6 R

  1308. ' I$ a4 Z9 P# Y9 M' C
  1309. ; Connection: Set this to a user chosen connection class to be used
    / [  Y; D) R3 V- g* r' E. ^
  1310. ; for all pooled server requests with Oracle 11g Database Resident# H4 Y& R! L" S  g
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    5 Z6 v# o& B( ~1 W
  1312. ; the same string for all web servers running the same application,6 U) h2 l1 m* S# i7 X6 b
  1313. ; the database pool must be configured, and the connection string must
    ' s9 r. E8 G0 R3 z7 Z; M8 w3 [- X1 A
  1314. ; specify to use a pooled server.
    ) a" q5 x" C: }7 M$ C, ?9 v, f
  1315. ;oci8.connection_class =
    6 O8 B. Y4 H) u( ?

  1316. / d" \0 W7 N2 d6 y
  1317. ; High Availability: Using On lets PHP receive Fast Application- O+ ^" V# |/ G4 B. H4 i
  1318. ; Notification (FAN) events generated when a database node fails. The6 @2 t7 Q9 m2 }5 X- H
  1319. ; database must also be configured to post FAN events.
    ' Z% a0 a$ Q! l$ }' T
  1320. ;oci8.events = Off- g9 H) ^9 D  F: X8 p
  1321. 7 F3 Z( s6 v; r5 q; m: K" ~
  1322. ; Tuning: This option enables statement caching, and specifies how, b" D9 G4 e8 b! d
  1323. ; many statements to cache. Using 0 disables statement caching.& }9 c& j& R) J. Q7 |0 S5 C/ E3 Q
  1324. ; http://php.net/oci8.statement-cache-size& u+ X% p5 e& v) }
  1325. ;oci8.statement_cache_size = 20
    # s0 f" m- R% ?
  1326. 7 R7 v/ }+ c: G% A- X
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    4 ~1 N+ L% l$ _6 B" E; N+ a
  1328. ; rows that will be fetched automatically after statement execution.7 v4 ~% r4 ~+ z. P0 k& W) ~
  1329. ; http://php.net/oci8.default-prefetch
    ( e; C9 ^) r7 v% s) r
  1330. ;oci8.default_prefetch = 1008 J2 K' J  l( L! U: d5 L
  1331. 3 Z- \& i; ~% e* o
  1332. ; Compatibility. Using On means oci_close() will not close( G0 v' N6 }  V% t
  1333. ; oci_connect() and oci_new_connect() connections.- Y0 p6 u) E" g6 {
  1334. ; http://php.net/oci8.old-oci-close-semantics2 ]6 l6 f, A5 E7 ^
  1335. ;oci8.old_oci_close_semantics = Off! J# j9 c. T! B1 B6 X& b

  1336. ) R, c) I8 W2 _7 w! G, u- K: _
  1337. [PostgreSQL]8 v0 Q- L& c, P, w7 F# v  |
  1338. ; Allow or prevent persistent links." w* F% Q# b7 ]# Z0 f
  1339. ; http://php.net/pgsql.allow-persistent
    ! m9 Q6 [- N/ ^( k
  1340. pgsql.allow_persistent = On
    # b  I; v; v$ i0 ~5 q8 h
  1341. : V1 y& L8 [3 T3 i3 g7 c( `
  1342. ; Detect broken persistent links always with pg_pconnect()." L* N% \, P  j, ]! w, c
  1343. ; Auto reset feature requires a little overheads.
    0 R% C% F& D' f2 a9 U( J: H" P
  1344. ; http://php.net/pgsql.auto-reset-persistent1 `/ R' I2 r& R1 S3 l6 W9 e2 O
  1345. pgsql.auto_reset_persistent = Off
    2 O9 A7 \# n' x0 V+ R
  1346. * a& h9 x( \# V% r; [. q
  1347. ; Maximum number of persistent links.  -1 means no limit.+ i) K" O. v4 `
  1348. ; http://php.net/pgsql.max-persistent
    # Q8 J# n8 `, M6 o3 _
  1349. pgsql.max_persistent = -1% E" p7 R7 \& \  X- M
  1350. % c4 u% K2 H" H/ `
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.( L+ Q3 G: V  E
  1352. ; http://php.net/pgsql.max-links7 B- ?% m  @& M) _% ]6 P( k
  1353. pgsql.max_links = -1
    : Z* z8 c, F9 h+ n

  1354. 9 X) X8 Y, N1 R/ p* _  ~. Z
  1355. ; Ignore PostgreSQL backends Notice message or not.
    9 b; U5 @# Z1 t1 V. d, v
  1356. ; Notice message logging require a little overheads.2 J6 t8 n0 t' [
  1357. ; http://php.net/pgsql.ignore-notice
    + X9 ~) ?1 Y$ t/ w- S
  1358. pgsql.ignore_notice = 07 g; b. o! ?- s( G/ k8 w  L/ K

  1359. " Z) p% K) M. k' L, r' V5 Q
  1360. ; Log PostgreSQL backends Notice message or not.
    ( Q3 w7 f& F7 S: a6 X% g  G  H& x
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    / f# {# l9 }8 ~9 o# b0 d! @# }7 f' |
  1362. ; http://php.net/pgsql.log-notice
      L" t% ~( B0 ^% ~$ w- g/ t
  1363. pgsql.log_notice = 05 l7 r% [+ t; H. t2 L* d
  1364. 0 l9 {& E! I' j8 S$ a7 l1 d% ~1 h
  1365. [Sybase-CT]
    ' w) X0 U! w# S  J
  1366. ; Allow or prevent persistent links.' O, N0 I! O- Y9 d
  1367. ; http://php.net/sybct.allow-persistent: s# ]% k; L4 w& A. m1 V
  1368. sybct.allow_persistent = On/ _3 m/ y' ]/ m% w8 K$ G0 d4 U

  1369. 5 F8 p, x) I; {5 W! }; E: S
  1370. ; Maximum number of persistent links.  -1 means no limit.
    ' @6 j9 p8 J5 i  Z; D4 l) z7 r1 x) n
  1371. ; http://php.net/sybct.max-persistent7 B( S  I( A% O/ D# k3 C7 v
  1372. sybct.max_persistent = -1& w3 [7 K0 H9 G/ E  F) j

  1373. 6 u2 c/ j2 G/ p8 B: G% T
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 b$ L+ J' U( c3 w
  1375. ; http://php.net/sybct.max-links: |' j, x" f, v6 K$ i3 t
  1376. sybct.max_links = -1
    % ~& }8 r+ R" _. ~7 _" P3 k; I

  1377. 4 p! v- z( D! j4 x2 G# N* S
  1378. ; Minimum server message severity to display.
    3 J" w. V& d/ n. m4 X* a; @3 X
  1379. ; http://php.net/sybct.min-server-severity3 a7 R# M& Q' |( o7 Z# |' o
  1380. sybct.min_server_severity = 10
    1 r, Q& `, h8 \" i( D/ L

  1381. / [6 a( p6 r+ f2 X. D' ^( q! N- z6 t
  1382. ; Minimum client message severity to display.
    9 n# H% g8 J* d( ^4 z( c2 I( {
  1383. ; http://php.net/sybct.min-client-severity
    ; H  C6 H/ G- M! t9 l$ e: P
  1384. sybct.min_client_severity = 10: y, d$ \" P5 q. u( R8 T
  1385. & H3 R$ J7 i( j/ e+ ~
  1386. ; Set per-context timeout' H4 Y/ z" c# U
  1387. ; http://php.net/sybct.timeout
    ' X3 E8 G5 z& N5 [/ J
  1388. ;sybct.timeout=) W$ D  s2 u9 c: C7 ^

  1389. 3 q8 w$ f* S9 u5 ?
  1390. ;sybct.packet_size
    1 M& H* n+ j+ g. Z4 j
  1391. 9 A8 `$ w3 g& b& Z  t5 ?
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure." P4 I# O4 |* r  [7 w6 A( W
  1393. ; Default: one minute
    ; a. N+ V& q, ?5 L; N, O
  1394. ;sybct.login_timeout=# T, n6 U  M0 S+ ?

  1395. 8 a" K/ V# ]+ }+ L
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.) Z& s- l2 [" Q6 z  P
  1397. ; Default: none
    8 m8 A3 Q9 h# {, `  t1 M' ?
  1398. ;sybct.hostname=9 E! Z0 u( P* \8 k  g5 W7 @

  1399. ( p" j5 e7 ?* P! M, k, R7 T+ d/ e
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    $ q5 T8 e. a: t) R  u  I7 o2 A9 s
  1401. ; Default: 0  E$ Y/ ^* v- b; i1 V& S4 \/ c2 @
  1402. ;sybct.deadlock_retry_count=. U; h) a/ ^+ i7 K
  1403. ! k. w, @0 g% E, n- Z
  1404. [bcmath]
    , }, e4 Q" a# H- S
  1405. ; Number of decimal digits for all bcmath functions.
    1 y2 X6 g7 R6 e. T7 N: ]% r3 j
  1406. ; http://php.net/bcmath.scale' t7 O2 O+ K2 e: j+ l
  1407. bcmath.scale = 0# o, b3 P: A6 Z$ s6 M) v' `2 x/ i
  1408. * |# f# H+ b( Z
  1409. [browscap], h5 q3 w1 s! K$ x  D
  1410. ; http://php.net/browscap
    6 i  M# d* V1 `# H) O
  1411. ;browscap = extra/browscap.ini
    0 P. x# d: P$ Y9 P3 S

  1412. % i7 {# ]2 j3 B% ]+ w" w$ ?
  1413. [Session]
    % x* [0 F9 R8 v+ U
  1414. ; Handler used to store/retrieve data.4 o* p2 S) k2 ~! F% k
  1415. ; http://php.net/session.save-handler
    3 h2 v9 q8 Q5 J! x% u' q
  1416. session.save_handler = files4 a* v% q) B. G2 Q7 {* K. G7 s
  1417. , I" A) h8 f8 O; t% j
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    4 S( K1 M$ h" I8 e# `, Y% E& c* ]
  1419. ; where data files are stored. Note: Windows users have to change this
    ; u1 j9 e7 D9 }# i. w0 w
  1420. ; variable in order to use PHP's session functions.+ l" I) F$ b. h
  1421. ;
      V' r3 N" r, Y- p6 `+ ?
  1422. ; The path can be defined as:
    ; K$ m5 S' X& C* p) v
  1423. ;
    . q% x* s$ I$ l4 d! }: F
  1424. ;     session.save_path = "N;/path"
    " o) F  c2 |/ i
  1425. ;+ F" G5 ?# ?, h& v' }
  1426. ; where N is an integer.  Instead of storing all the session files in
    4 k" Q# m/ o# j. Q" O% i2 K5 M
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    + t4 [$ T* f5 m6 `# J1 q& Q
  1428. ; store the session data in those directories.  This is useful if% C- J' G9 W- e
  1429. ; your OS has problems with many files in one directory, and is
    - F/ G( r* J; }1 W/ |+ e/ s, Y
  1430. ; a more efficient layout for servers that handle many sessions.
    - j" O/ j) H3 u; b' n+ V2 ^( z
  1431. ;- o; i& l" ?5 b, `4 X" X8 ^; Q, h' U
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    3 ~3 Z9 v: m9 }! I6 V* F
  1433. ;         You can use the script in the ext/session dir for that purpose.9 X! S% R% p4 ]8 e6 R6 e
  1434. ; NOTE 2: See the section on garbage collection below if you choose to$ j1 y$ O- L' ~9 {) Y! m
  1435. ;         use subdirectories for session storage0 @: d" b6 B! y( ?' X+ n
  1436. ;. L5 e5 H2 S9 A2 s: V6 X/ D& b& }, V  V
  1437. ; The file storage module creates files using mode 600 by default.
    - t7 P7 D  P7 l* D
  1438. ; You can change that by using
    ; e2 J- O9 R) j* {' ]# T* u
  1439. ;
    ; [* ~& V9 Q, T' C+ y/ [
  1440. ;     session.save_path = "N;MODE;/path"
    " T' b3 _' E0 O+ S% P% `
  1441. ;
    " S9 ~( O, U% J( r
  1442. ; where MODE is the octal representation of the mode. Note that this6 I% S8 I7 W. x
  1443. ; does not overwrite the process's umask.
    ! \% f, y8 l' b6 w7 N$ Z2 \
  1444. ; http://php.net/session.save-path
    6 V- g4 A+ }( e$ H% e8 e! ?  V% s
  1445. ;session.save_path = "/tmp"( {; g/ P4 Y$ T! \! C

  1446. ; w% v3 i8 P  T$ m4 U
  1447. ; Whether to use strict session mode.) ]7 [3 I, D5 y) d  t0 m; m+ w
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate' h1 M. D; x: q9 M, G
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects. Q: ]' g# z, l8 t9 a; r% W
  1450. ; applications from session fixation via session adoption vulnerability. It is& [0 r7 X8 |0 O; n" u
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    4 {$ i: }% r; {7 U7 y' V
  1452. ; https://wiki.php.net/rfc/strict_sessions
    - V7 h, |; s8 j" k
  1453. session.use_strict_mode = 0
    ! o! X+ Z% |" x2 J' d

  1454. 9 l+ _# `( v4 F. j6 b
  1455. ; Whether to use cookies.
    ( W" Y1 V/ r, O  I: h
  1456. ; http://php.net/session.use-cookies
    6 y% }  h( q" v% s
  1457. session.use_cookies = 1: I; V, A/ n8 u; q2 U

  1458. 3 ]% l6 _4 `7 g' j+ Q) A+ P$ L
  1459. ; http://php.net/session.cookie-secure
    , N6 |, p& l9 o  x
  1460. ;session.cookie_secure =" O: d- ?4 Q1 `% J! p

  1461. + q* w: K& f, n7 j" V) ~! ]8 C/ f
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ' q7 X; h& L7 {0 H4 D2 g9 U: c8 C
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    & R& }- a6 k1 C8 t, ~
  1464. ; session hijacking when not specifying and managing your own session id. It is* K. c% {. W" V1 y7 ^
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start., A: ^- t4 q/ B) Z
  1466. ; http://php.net/session.use-only-cookies* a) S) e+ j/ [6 c: i
  1467. session.use_only_cookies = 1; n* K$ c" n5 a9 S& ^
  1468. 9 X2 I) o* Z: y/ {, S
  1469. ; Name of the session (used as cookie name).
    - ^' O+ D) G7 u2 t" H# I) L9 e+ ^
  1470. ; http://php.net/session.name
      \0 w9 w9 Z4 j0 T" A- G0 S/ F7 `
  1471. session.name = PHPSESSID0 M. y3 b* Y$ s6 y7 x& }

  1472. $ _# Z1 c- S2 x/ e  ?
  1473. ; Initialize session on request startup.
    , X% n. W4 k+ ]* B% p
  1474. ; http://php.net/session.auto-start8 F$ m# J( L- O% C) P6 s4 Q
  1475. session.auto_start = 0/ c% M, j: e1 K8 @. Z6 T, l

  1476. 1 G) J( X+ g9 Y$ ~
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.) n2 z1 H$ q) y2 ^4 S4 f' t
  1478. ; http://php.net/session.cookie-lifetime
    # [+ {7 @# }9 z) H7 [9 ?
  1479. session.cookie_lifetime = 0
    " D" ]+ b! ~9 f* A
  1480. % T' m8 {( h% i9 s. X# c! b
  1481. ; The path for which the cookie is valid.% U! f! L5 B3 \3 a
  1482. ; http://php.net/session.cookie-path% a8 e% C4 o6 v
  1483. session.cookie_path = /1 S5 @1 @' K% C# r! y& y. i0 Q8 \: s

  1484. ' G  |0 C+ \0 H3 `
  1485. ; The domain for which the cookie is valid.
    5 p7 ~$ j4 E8 h: e0 ]0 s& h
  1486. ; http://php.net/session.cookie-domain
    . B9 _& f2 S4 k+ f: }
  1487. session.cookie_domain =
    # l4 @- B) a6 i) c+ M* ?
  1488. 4 Y2 C) t8 |6 ~7 [- F7 K
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.+ D! p2 w- i( n# l
  1490. ; http://php.net/session.cookie-httponly
    0 e) R5 C; G% {7 a" n1 @% O  k
  1491. session.cookie_httponly =) ?. _+ D7 P( m9 C& P# \/ u3 }) H4 X

  1492. ' l1 u- a/ ?; G- i  w5 k6 x* @
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.  l% d. t' q9 Q9 m& _
  1494. ; http://php.net/session.serialize-handler6 A) |; z7 b; g- U
  1495. session.serialize_handler = php& ]4 a4 |% C* ]  Q; m; j
  1496. 7 U( U8 \- t% ~4 c- ~  X
  1497. ; Defines the probability that the 'garbage collection' process is started+ z. d/ f- f* z3 a
  1498. ; on every session initialization. The probability is calculated by using+ f( b/ h% r! R' s$ i& E( {: ]3 z# g" x
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator5 s8 Z3 s, U3 r& D
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1" @6 ?- M% D& b- q, f' a: J
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    , p0 G/ u* y1 v- [+ B
  1502. ; the gc will run on any give request.) y2 e" w" q! C3 K7 j
  1503. ; Default Value: 16 f* f9 o+ \+ N6 \) H7 O7 T) W
  1504. ; Development Value: 1
    ! M2 y; P  z: E% n1 T
  1505. ; Production Value: 1
    0 s! ?$ I! n% [, F; O$ w. K
  1506. ; http://php.net/session.gc-probability
    1 Q2 O! d: Y% q8 c+ J  N: `
  1507. session.gc_probability = 16 X  v3 t7 K6 a4 O
  1508. , d! [. ~2 i8 }* u5 s( W, Y
  1509. ; Defines the probability that the 'garbage collection' process is started on every: }" P4 y  F+ l8 P: j, H9 F$ h
  1510. ; session initialization. The probability is calculated by using the following equation:3 K1 e; {, K: Q) A. V* f
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ' J, L' C5 z% ^, R9 n) H- @
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1! y1 N# b/ a/ `; m& z: j; j
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    - l9 Y; M' N1 N' V: i
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you: C% u6 L3 K9 @, S. d3 D6 m. F. |
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    / q: M; X- B; f- s- j4 z# A$ x
  1516. ; this is a more efficient approach.
    6 k4 e7 e0 ^  J0 b
  1517. ; Default Value: 100
    $ w. `2 q1 o1 ]' H6 }
  1518. ; Development Value: 1000
    + _, ]! K& w, R. O2 u% L
  1519. ; Production Value: 1000  M' G( q3 D! }. Z4 m  Y! P& K4 c
  1520. ; http://php.net/session.gc-divisor
    ( }4 [. W8 a( P" C" e: `
  1521. session.gc_divisor = 10003 t* g9 e  n0 R; B) h& y

  1522. 1 ]0 {0 X3 V# F/ |0 d1 r/ g
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    7 E  _  I+ w/ x, W
  1524. ; cleaned up by the garbage collection process.
    + }! y9 _: F) C  D/ I) h
  1525. ; http://php.net/session.gc-maxlifetime2 [, c) m6 S- h( a4 J" U7 i
  1526. session.gc_maxlifetime = 14407 g# y) e+ `; R* d% [* y
  1527. / O. Q( a$ X% i, R
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    6 i6 D3 v/ ~; w
  1529. ;       (see session.save_path above), then garbage collection does *not*
    % d+ X% P0 o5 O8 k7 u9 `( B2 x
  1530. ;       happen automatically.  You will need to do your own garbage; x; C* v9 p/ |& k9 [
  1531. ;       collection through a shell script, cron entry, or some other method.
    ! L! k5 @: \: F5 l- ]& b
  1532. ;       For example, the following script would is the equivalent of1 j. A6 z# R8 D0 K9 H2 Q$ N
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):3 W2 O( b4 t7 O
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm9 n5 a0 S1 T0 {  @
  1535. 0 z  [# b9 d# c& C' s, O
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    2 U' _3 P0 r* c/ x
  1537. ; HTTP_REFERER has to contain this substring for the session to be( b/ _, [' W: C; u' U5 n* ]9 e' f. n
  1538. ; considered as valid.5 W; W7 c9 ^! s, Z
  1539. ; http://php.net/session.referer-check
    * ?4 a; o! A, R
  1540. session.referer_check =5 i. o% _2 V8 {0 C, l; y8 P
  1541. % j9 h  a0 N* e5 J" g9 p
  1542. ; How many bytes to read from the file.
    . Z( @8 o7 R: A: ^6 s
  1543. ; http://php.net/session.entropy-length
    # N( p) \+ {; _9 f! }* y
  1544. ;session.entropy_length = 32
    2 ^2 p, E. S" U& ~0 `8 K( c) x

  1545. $ a8 n7 t" P! l2 C5 i
  1546. ; Specified here to create the session id.4 F  b: z6 \3 y* E  D
  1547. ; http://php.net/session.entropy-file% W7 s# [6 [' ?; @
  1548. ; Defaults to /dev/urandom. X, E& g$ w. n/ R; ]
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ' f# `* d2 X1 v! J/ L" J" D: [$ l
  1550. ; If neither are found at compile time, the default is no entropy file.1 L& I! [1 {$ b1 j
  1551. ; On windows, setting the entropy_length setting will activate the
    0 o5 T# k8 u  \3 C2 j* B2 E
  1552. ; Windows random source (using the CryptoAPI)
      V* O. H! e: u5 F1 F3 {
  1553. ;session.entropy_file = /dev/urandom1 H6 }  C( }! R
  1554. 0 ?. n, K8 v7 c# N0 t  w2 c
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    " Y, ~  _' [$ j
  1556. ; or leave this empty to avoid sending anti-caching headers.
    & z9 y  z+ h4 I. ^) k4 g
  1557. ; http://php.net/session.cache-limiter
    , d! C0 W" X# Q  Y
  1558. session.cache_limiter = nocache
    8 }( J! [3 Z7 A* S: o" I2 y& [

  1559. ( G% D) h% W' g, H' r$ w7 B
  1560. ; Document expires after n minutes.
    + R! C# M  H! A4 |6 z
  1561. ; http://php.net/session.cache-expire
    6 p: W. q$ {, q% z- V
  1562. session.cache_expire = 180
    8 p5 p& B8 L, [$ B# v6 F
  1563. & H% j/ |) B! u* \& m
  1564. ; trans sid support is disabled by default.! t$ q; f1 ^* A6 T2 W
  1565. ; Use of trans sid may risk your users' security.- l, t) y; u& P
  1566. ; Use this option with caution.
    ' R1 j* K: w6 Y# z3 @* l/ k
  1567. ; - User may send URL contains active session ID
    6 G- [+ J4 U9 O  K* |' K1 X% M; ?
  1568. ;   to other person via. email/irc/etc." Q- G* y  w6 X- j
  1569. ; - URL that contains active session ID may be stored9 ?( {. B: r) i9 y, R! S" s6 q( c
  1570. ;   in publicly accessible computer.3 c/ ?% @# k; B$ F% W
  1571. ; - User may access your site with the same session ID: P; c) G0 W5 t& M4 G% @
  1572. ;   always using URL stored in browser's history or bookmarks.
    7 m1 u5 X/ }; L9 L
  1573. ; http://php.net/session.use-trans-sid: l& p) w$ D& k
  1574. session.use_trans_sid = 0. _! C; W5 w2 a$ q( ?) ]" w

  1575. % ~) g& Q7 {% r2 N) x/ M
  1576. ; Select a hash function for use in generating session ids.* _/ N# C% p/ w/ ^; i- M" w
  1577. ; Possible Values
    0 Z% J! i. `% X- g
  1578. ;   0  (MD5 128 bits)6 T% D- M8 r  q+ `4 `; l' `  e. E
  1579. ;   1  (SHA-1 160 bits)& B, `9 B' \- A; O) s1 N1 _4 C
  1580. ; This option may also be set to the name of any hash function supported by, B; a8 t( o2 z- w5 [% K
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    + `) F! H4 d! O3 f* |
  1582. ; function.( c1 Q% q+ T9 ?: @# c0 T- a
  1583. ; http://php.net/session.hash-function
    ) k1 U6 U+ Q' ]& g, e0 M4 L
  1584. session.hash_function = 0
    1 e+ P# g$ M. O- x) g& I& ]: x, p

  1585. 2 x% V6 h9 @6 k, w6 t+ n
  1586. ; Define how many bits are stored in each character when converting
    # H; ^( q3 p; F6 b1 G
  1587. ; the binary hash data to something readable.
    + R! V. h0 r" ^7 R- C6 l
  1588. ; Possible values:* R2 X! m& B/ \
  1589. ;   4  (4 bits: 0-9, a-f)
      P9 {& s. H# Y2 o
  1590. ;   5  (5 bits: 0-9, a-v)6 c4 ^8 L* \' A" m" }  d8 h
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")3 Z  n8 ]: I- c/ d
  1592. ; Default Value: 4+ M3 ~3 C5 x' l$ p  R8 G) }
  1593. ; Development Value: 5
    0 P; t. ?5 u# w8 B- a4 _7 _
  1594. ; Production Value: 5% l# p7 ?1 x- a+ o( y4 \8 R' i
  1595. ; http://php.net/session.hash-bits-per-character
    8 R, ^. o# q7 Z! J5 z8 }" }
  1596. session.hash_bits_per_character = 5
    5 [/ @. ?! ]& W8 x

  1597. 6 C9 i4 y4 k: }" u9 y  w! {+ x
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.6 D3 H6 `7 x; l$ o4 g
  1599. ; form/fieldset are special; if you include them here, the rewriter will3 R. k$ A+ A- V5 n9 w- g4 a
  1600. ; add a hidden <input> field with the info which is otherwise appended
    1 \9 l* H' C, V1 d6 q9 p8 M! K
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    5 ], x5 `: d2 I
  1602. ; Note that all valid entries require a "=", even if no value follows.
    9 j: ?8 i! c- ?/ ?) D8 D. |
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ( I+ C7 v, T" D! m
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : P: h- ?  O: l$ @
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 D# r9 `- c" i4 _; t$ U
  1606. ; http://php.net/url-rewriter.tags
    4 z7 g* Y$ I$ k5 r7 ?% l
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"4 J5 |$ ~1 U8 K- z$ }

  1608. 0 n# [) a% x& c1 }9 a! f( @& S
  1609. ; Enable upload progress tracking in $_SESSION1 i* I) z) x2 N
  1610. ; Default Value: On
    7 `" \2 k& {/ @: S0 s. v
  1611. ; Development Value: On( s5 O$ W( O9 R, U8 m+ X+ x2 w
  1612. ; Production Value: On! w' T5 D9 S8 S. ]
  1613. ; http://php.net/session.upload-progress.enabled
    . z( |7 B: A' x: Z7 t2 Y- E
  1614. ;session.upload_progress.enabled = On' N6 O/ `9 [0 f4 _) C9 f1 Q
  1615. + F; B2 A- ~  J- m% W- _
  1616. ; Cleanup the progress information as soon as all POST data has been read" W- o8 H7 ~" E5 F7 E9 ]
  1617. ; (i.e. upload completed).
    9 M) S7 p( {& @5 Y/ {
  1618. ; Default Value: On
    6 G. y1 e8 D1 F  X" J
  1619. ; Development Value: On
    - i) T8 A/ l1 P  }8 s, W: @0 ^
  1620. ; Production Value: On
      K2 Z& E# g) {; }
  1621. ; http://php.net/session.upload-progress.cleanup% u% @" P. w# o' c  ]4 ^
  1622. ;session.upload_progress.cleanup = On1 w; S# g# @( y5 T
  1623. 9 l  V  C/ Z  I3 X$ U$ i
  1624. ; A prefix used for the upload progress key in $_SESSION5 A; O) j8 f! L
  1625. ; Default Value: "upload_progress_"
    . E, W% ]$ ^1 N& }( o
  1626. ; Development Value: "upload_progress_"
    # B6 W: g5 s  F, a. w& ]& g5 Y
  1627. ; Production Value: "upload_progress_"
    ; ?* Y5 W+ Z. {% y2 @
  1628. ; http://php.net/session.upload-progress.prefix! _2 f7 l6 R( w3 c/ Y& B! Z1 x
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ' I6 p1 c! T# [% u1 R
  1630. ( ~& T1 L1 I- ~) B+ U4 ~
  1631. ; The index name (concatenated with the prefix) in $_SESSION: {- X. H3 b1 M
  1632. ; containing the upload progress information
    9 C% F" I2 ^# }' m' \6 E" ?  ?6 Q
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"2 y+ a7 C8 d% i, `' w3 V: T
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ' j; P* ~. V3 ]7 X
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    2 r8 d( Q. u: v" `6 k
  1636. ; http://php.net/session.upload-progress.name
    + q6 y+ S. Q6 f" y: B8 f6 [( \
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    # o% V" ^2 m' f, e# N. v

  1638. # w& i4 m6 z- T& E
  1639. ; How frequently the upload progress should be updated.
    , q: `; I( ?$ _  ]6 Q' d5 l* @  B
  1640. ; Given either in percentages (per-file), or in bytes
    5 |: P1 {; X0 w% S+ n. }
  1641. ; Default Value: "1%"' r  p. L5 ]% S- b4 L6 I$ R6 z' P
  1642. ; Development Value: "1%"' ~, B. O* ]# S1 V7 V
  1643. ; Production Value: "1%". ?0 k" ?2 _- c& {  m; N" J
  1644. ; http://php.net/session.upload-progress.freq
    6 k% |1 b% _6 ~6 N' Y
  1645. ;session.upload_progress.freq =  "1%"
    / G- q% {' T9 a5 ^- o2 i3 f' h7 o+ v
  1646. ' s+ s# y! D% r8 C% j
  1647. ; The minimum delay between updates, in seconds+ C- W2 H! y3 d6 ^  ^% B
  1648. ; Default Value: 1
    9 G7 l  ]7 Y0 F) X& S! [; `
  1649. ; Development Value: 1
    & j* p$ W- }) x
  1650. ; Production Value: 14 T" z/ j) V: h( F& w# Q* A" N: Q0 d
  1651. ; http://php.net/session.upload-progress.min-freq
    ) ~& q# V$ u( \4 V0 O, e
  1652. ;session.upload_progress.min_freq = "1"
    $ z( u" f  I& Z& k+ ]
  1653. 7 c4 h5 e1 a& @5 p
  1654. [MSSQL]
    - v; s( ^6 Q- k/ G- C" \
  1655. ; Allow or prevent persistent links.6 f3 [* p4 I5 R2 L6 h' |5 m& e# X) g& H
  1656. mssql.allow_persistent = On" w1 ~; \! i% A4 W$ J

  1657. # \: ?5 h/ }2 x) t
  1658. ; Maximum number of persistent links.  -1 means no limit., C, i# K0 I& E2 W/ e) i, W
  1659. mssql.max_persistent = -1  w0 i9 E+ e( S

  1660. . u, a( ?' E3 [4 u% ~2 j; j. X& @2 i
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit./ t) q* R! K; g3 E
  1662. mssql.max_links = -16 k7 M/ ?- k) _6 z0 [" c: A

  1663. 2 E- k/ Z/ S/ T1 [% l2 h! A
  1664. ; Minimum error severity to display.
    - }" Q% |2 X& k: B7 h! M0 z4 M
  1665. mssql.min_error_severity = 10
    6 H, A. j* M4 Z2 d) K: V

  1666. 5 z- \! N: Z8 v! c7 ^
  1667. ; Minimum message severity to display.1 r; j/ g3 U/ J: ], v/ \: i# _
  1668. mssql.min_message_severity = 10' u# G! s" E2 M' g  i+ t! W

  1669. ! o- ^6 o; ^$ ]' j4 {+ c8 k+ k
  1670. ; Compatibility mode with old versions of PHP 3.0.0 F' w$ }  N) m/ J; M  n( q; T9 B
  1671. mssql.compatibility_mode = Off+ S: i% J8 R. C+ G8 O
  1672. ; Y. q( I; t+ Q, c% |9 \
  1673. ; Connect timeout+ h6 O6 R  w* o1 t; E
  1674. ;mssql.connect_timeout = 5# @& v, s2 ?/ r' _6 ^
  1675. ) D3 o3 c0 N8 R0 E0 m) j% ]8 i
  1676. ; Query timeout
    9 r1 U5 f$ l; a) b$ R/ J
  1677. ;mssql.timeout = 609 H# u( H0 }7 F9 n+ A( e

  1678. ; @1 v6 Q; G0 z
  1679. ; Valid range 0 - 2147483647.  Default = 4096.8 i- a! W% m' E# o5 g2 r9 _% w% u, u
  1680. ;mssql.textlimit = 4096: r6 d4 U: W5 }

  1681. 6 e. c' G% O2 |( r; H" @0 K! U
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    ' d* |8 I  T4 R, A8 U
  1683. ;mssql.textsize = 4096
    % q8 \7 m+ s! ]" J0 E9 R: p8 i
  1684. ; L# @3 I7 Q0 @
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.. A5 L: M, p0 o0 F$ B: Z# t8 ?, H, s
  1686. ;mssql.batchsize = 04 ^# c6 |: D3 N' k7 F+ U1 Z$ s
  1687. - }/ o8 o! \' x# Z
  1688. ; Specify how datetime and datetim4 columns are returned0 W' N: H5 i. k  A' x
  1689. ; On => Returns data converted to SQL server settings
    ( I8 R( \8 v4 Z1 D7 [
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    3 ~9 r0 q! Q- D2 u
  1691. ;mssql.datetimeconvert = On
    " X# t; Z4 P2 `& c3 e7 C' `, r  ?
  1692. 8 `3 C! ?, x: v# i# z
  1693. ; Use NT authentication when connecting to the server, a0 {, i3 U" p
  1694. mssql.secure_connection = Off
    , X) F, \/ Y; F7 p- M! Y

  1695. * J$ T! h+ H& C0 c+ [
  1696. ; Specify max number of processes. -1 = library default# v4 H3 T! O* ~% {: M! _
  1697. ; msdlib defaults to 25
    $ s: _1 l. J2 H+ ]3 Z1 C
  1698. ; FreeTDS defaults to 4096
    9 M! _: {- {( f# ~7 N( H
  1699. ;mssql.max_procs = -1
    $ @1 d% R" K! D+ ~- w. Q" a

  1700. 8 d+ J; c9 F0 k5 u6 F' p- j, S+ p( k2 @
  1701. ; Specify client character set.
    1 w% a6 t5 {) h  F8 q
  1702. ; If empty or not set the client charset from freetds.conf is used
    8 j" D. ?6 T! n
  1703. ; This is only used when compiled with FreeTDS& B, D8 V7 [- y* C; I) t& \3 N
  1704. ;mssql.charset = "ISO-8859-1"
    # H* Y/ ?% T/ P) a+ p! L5 y

  1705.   P3 k2 N0 G" `8 `; j, Y
  1706. [Assertion]
    / Z  {, {% g3 ]9 @3 G
  1707. ; Assert(expr); active by default.
    * F& ^! @  n( N/ ^  v
  1708. ; http://php.net/assert.active! P, `# x! F% o3 ]2 y
  1709. ;assert.active = On1 p& h2 j; r! k3 ~8 F1 e7 H

  1710. / p$ K7 O9 e# a( o# m$ m' k2 K- ]# b! Q* \
  1711. ; Issue a PHP warning for each failed assertion.
    * ?! s7 B) l/ ~6 Y
  1712. ; http://php.net/assert.warning
    & {: A! J% Q" K) [
  1713. ;assert.warning = On: u; B$ M- t( Y) P# ~  ]
  1714. 8 T' n9 Q, G( G' M
  1715. ; Don't bail out by default.& k4 p! E  U( p( E1 Q
  1716. ; http://php.net/assert.bail6 n/ m! |! D' |! P! |
  1717. ;assert.bail = Off
    1 r4 H; H: w8 g/ d: P
  1718. * u" }  `1 w1 j* G$ g% [7 G6 Q/ f  m
  1719. ; User-function to be called if an assertion fails." b' C. n1 x+ }  ?' D: V- v. h" q
  1720. ; http://php.net/assert.callback% \: l' _) U5 x. a2 p
  1721. ;assert.callback = 0
    0 h: f( M1 q# h# u3 E0 E

  1722. & A$ x2 Z" K: q; J& n' H0 V. ]
  1723. ; Eval the expression with current error_reporting().  Set to true if you want7 d, A5 e* s% m; N
  1724. ; error_reporting(0) around the eval().
    4 C0 X7 D3 d/ [% t$ V1 c
  1725. ; http://php.net/assert.quiet-eval
    - Z( n0 J5 V: f6 d/ ?- |6 p" g/ b/ J# }: e
  1726. ;assert.quiet_eval = 0
    5 u1 R% r! K. z! u$ A1 l/ ~+ Q

  1727. ' T" `7 w$ r5 s& S2 \8 E! x8 r! c
  1728. [COM]2 _, o+ H" Z5 K1 h7 j
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    % M& I) }  |7 R, Y0 u
  1730. ; http://php.net/com.typelib-file2 l+ z6 @' G7 z
  1731. ;com.typelib_file =
    ; b) M0 ]5 A! w6 p
  1732. % P# }  V. E1 X: ?7 n0 t" |
  1733. ; allow Distributed-COM calls
    6 A% l$ b) p9 g6 _% E( P" v
  1734. ; http://php.net/com.allow-dcom
    ; |8 z- u( \% g" j
  1735. ;com.allow_dcom = true
    + i( m1 N7 @5 J
  1736. 0 X+ f) E) B  L5 c; Z& k
  1737. ; autoregister constants of a components typlib on com_load()% I/ J" A' M2 K0 q# o# }# l
  1738. ; http://php.net/com.autoregister-typelib; A% t( T9 u* y. c4 m. j
  1739. ;com.autoregister_typelib = true
    2 q# M- V1 R3 Y4 K& w( _
  1740. 0 H8 p& k; b: `$ [
  1741. ; register constants casesensitive4 ^6 q2 q# ~: `) l6 R9 \$ y
  1742. ; http://php.net/com.autoregister-casesensitive
    ( K9 I- D' T/ m2 N# h! K+ `
  1743. ;com.autoregister_casesensitive = false
    / W* T4 n3 b& T6 H- U1 o! c5 |$ a

  1744. ; l6 w, o" p7 w2 J, r, |2 ?7 G" l
  1745. ; show warnings on duplicate constant registrations
    8 R, w$ R9 p; Y8 e: r
  1746. ; http://php.net/com.autoregister-verbose
    9 z. q9 }0 p/ D3 r, @
  1747. ;com.autoregister_verbose = true) K3 A; }3 x7 A2 \" c
  1748. + n3 r) A/ I2 A2 k3 c. x
  1749. ; The default character set code-page to use when passing strings to and from COM objects., B. H" A# {& Y( ]/ P: R- S" \
  1750. ; Default: system ANSI code page3 F; O6 C! H5 x2 \( T6 S$ P
  1751. ;com.code_page=
    " C  ~" p! e* o: D
  1752. 4 c  G! ]/ ~6 ]* T% z
  1753. [mbstring]
    ( r$ ~) N  }2 g0 Q5 f& W5 u+ u
  1754. ; language for internal character representation.# Z; X" s; E4 [- X- o* I) o
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    - M1 U* b6 L7 p/ n5 o
  1756. ; http://php.net/mbstring.language+ C7 }1 Y$ j4 r1 L
  1757. ;mbstring.language = Japanese
    ; W% P; B  o  ]

  1758. 8 t# q* f3 N: {% Z- m
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.) Z2 x1 t+ h+ W3 s- i) a4 T
  1760. ; internal/script encoding.
    ) v6 V0 B! C5 j- {  T% t, C
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    8 V% Z5 v. H* K+ l
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    . W9 L1 B  P7 T+ H- r- J
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ' ^) E' p1 v" y( a
  1764. ;mbstring.internal_encoding =
    $ G, i0 z$ m* X

  1765. ; d* g, Y3 h# X; g+ u
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.2 [) ]( A* d0 c- m
  1767. ; http input encoding.4 ]0 b2 [7 ^# G# `- r4 p  C/ y+ G
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.- o% M# U" E7 K8 B& l' E
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.# k5 R* @" y1 z
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input# N! ]/ I4 I' A( A+ k! z
  1771. ; http://php.net/mbstring.http-input7 h7 a( n# D5 i
  1772. ;mbstring.http_input =
    ; R" |7 P6 m9 t' d. Z! E$ c' B

  1773. / S( n) l: O4 ~7 A
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.) U% p! a1 D" Y) q' Z$ O7 D+ e  b
  1775. ; http output encoding.- M+ B- s+ r: f$ a" M5 V
  1776. ; mb_output_handler must be registered as output buffer to function.
    8 m2 n6 @9 ^' A& J6 k$ M$ l
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    " e& Y5 j- G% R& `# D" R6 y# \7 D4 `2 y
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    4 d0 q) k, v) s6 \& R. o+ z
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    2 z6 `* M. S- H3 y
  1780. ; otherwise output encoding conversion cannot be performed.
    + A9 i8 j4 Y- x- m
  1781. ; http://php.net/mbstring.http-output7 a4 ^. U) ^) E) ?2 x8 d
  1782. ;mbstring.http_output =
    " P% N8 C; b5 l4 ^3 p' F
  1783. ) s- C" h* q4 v0 R: M' d5 d1 ?
  1784. ; enable automatic encoding translation according to
    + v0 x! ]- W2 U3 w. `, {: s
  1785. ; mbstring.internal_encoding setting. Input chars are4 s, Y" p: k# R, n+ c0 U1 t
  1786. ; converted to internal encoding by setting this to On.- Z- _4 J* M* ~; q8 @- f
  1787. ; Note: Do _not_ use automatic encoding translation for! r3 C1 N3 N3 ^1 a" ~/ b7 z& h
  1788. ;       portable libs/applications.
    # {  b8 b0 s7 K& [% }$ O
  1789. ; http://php.net/mbstring.encoding-translation
    & k. P" N0 x, m% m) x7 J
  1790. ;mbstring.encoding_translation = Off' z- q/ Q7 P) n- d5 @7 t7 Q; U
  1791. : B. q+ J5 ~/ t6 w5 M# c- i
  1792. ; automatic encoding detection order.; w3 Z7 M! T, G' [. }4 E- g$ G0 M
  1793. ; "auto" detect order is changed according to mbstring.language
    6 G6 y( W2 g4 h' Z# p( }
  1794. ; http://php.net/mbstring.detect-order
    1 F/ o: @! x! `0 R# l  B  H7 }
  1795. ;mbstring.detect_order = auto! s, v6 I& [. B# M; V* Y4 j
  1796. $ n' [! H  |. s0 Y& H/ X( O8 D
  1797. ; substitute_character used when character cannot be converted. b# y* H; P- O, E1 _
  1798. ; one from another! l* ]1 }, F/ B" s# ?7 k, d
  1799. ; http://php.net/mbstring.substitute-character
    4 f3 M- q7 l, u
  1800. ;mbstring.substitute_character = none
    3 e6 k. B' X; G& u' d) a0 v
  1801. 6 w6 Q' T2 S  S1 v6 i* R0 z5 j0 z3 z
  1802. ; overload(replace) single byte functions by mbstring functions.- g- p" l( O# z5 `5 ~
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),* v; K7 @' l. W" `/ i- R- I
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.9 U$ [  s* y5 k4 w( k
  1805. ; For example, 7 for overload everything.
    1 k5 g$ e7 }2 L0 d
  1806. ; 0: No overload
    6 Q( g8 y, V! p+ X+ u
  1807. ; 1: Overload mail() function" p' y9 e: G9 f
  1808. ; 2: Overload str*() functions% a: a' r4 }7 v) D# a* y" A
  1809. ; 4: Overload ereg*() functions0 d- d* D+ e) m1 g* b1 P" P
  1810. ; http://php.net/mbstring.func-overload
    & K2 P# }7 y- c
  1811. ;mbstring.func_overload = 0
    5 G8 w3 o. r4 `; H/ N# t" Q+ Y
  1812. ) x6 V/ }2 F( R6 V: D$ ~
  1813. ; enable strict encoding detection.
    2 A/ M3 ?6 N* s8 {  e4 {
  1814. ; Default: Off
    & Q" H' M  K) n$ X" f9 @( s. |* m
  1815. ;mbstring.strict_detection = On
    ) G# \& `7 p3 @' C" P
  1816. 5 l1 h: {) O- K% h4 z
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ' ?2 n! S9 T! h, c7 ?2 m
  1818. ; is activated.3 L4 T8 t$ s  ^* k; V
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    7 C# l* @8 x% \6 d" e  m, \
  1820. ;mbstring.http_output_conv_mimetype=# b! q1 x& O, C4 K2 x

  1821. 4 \! G' A2 D0 F5 C" k
  1822. [gd]
    0 j5 y8 Q0 F: I& K
  1823. ; Tell the jpeg decode to ignore warnings and try to create) G* \+ o. L& k. v  {
  1824. ; a gd image. The warning will then be displayed as notices: e+ t4 p) ]* [7 d2 Q/ U% Y
  1825. ; disabled by default
    6 I! Z) u; g( Z
  1826. ; http://php.net/gd.jpeg-ignore-warning
    3 Y* u3 {# E9 e7 `. O
  1827. ;gd.jpeg_ignore_warning = 0$ @' R1 j2 `2 h4 ^% f
  1828. ( k3 B7 d. i( h& y4 r
  1829. [exif]
    & @8 [8 l( I9 N7 ?
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.2 [+ }" F. ^1 F% C7 m8 a
  1831. ; With mbstring support this will automatically be converted into the encoding+ k- R' K8 T" Q! J
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding) A5 d  X& l2 ~5 G  @: {3 K
  1833. ; is used. For the decode settings you can distinguish between motorola and9 r+ C4 p0 u4 y9 a+ j3 F: k
  1834. ; intel byte order. A decode setting cannot be empty., m* O8 S+ q3 ~1 W7 s; K& @1 P2 d6 j
  1835. ; http://php.net/exif.encode-unicode
    $ C* v" R  H* w0 Y& F, x; \
  1836. ;exif.encode_unicode = ISO-8859-15
      @3 Q* u. h1 b" G( j! {0 o

  1837. ! U' _3 _4 T0 x
  1838. ; http://php.net/exif.decode-unicode-motorola. ]5 v$ `2 s2 K: r
  1839. ;exif.decode_unicode_motorola = UCS-2BE7 j. x$ l* M: S
  1840. : N, F) i" x6 o: m& K9 A6 x
  1841. ; http://php.net/exif.decode-unicode-intel5 Q* ?) ^- o/ L" g9 S
  1842. ;exif.decode_unicode_intel    = UCS-2LE' j$ S( D- n, d- l3 _, K! r# [2 G

  1843. 8 |! S  S& A% u5 G
  1844. ; http://php.net/exif.encode-jis
    . o: T0 v/ o( e0 \, m
  1845. ;exif.encode_jis =$ H8 `: X. D. }, y6 D9 O" d/ l6 m! x

  1846. # [) Y: f: Y" x! i/ u" f5 Y
  1847. ; http://php.net/exif.decode-jis-motorola- h3 [$ X3 m' w  Y  j6 `& G+ l! d2 ?
  1848. ;exif.decode_jis_motorola = JIS6 s8 l! |+ ?" @# {+ U
  1849. 6 V; y  k; ^  ]5 V; N# n$ k- ~
  1850. ; http://php.net/exif.decode-jis-intel$ M" h: O9 B' R$ k
  1851. ;exif.decode_jis_intel    = JIS
    . s. G& n0 ]7 l
  1852. . ?6 y. Q; Q% j' i9 {+ L, e9 p
  1853. [Tidy]' T$ A: Y  z- }6 T6 }( Y/ i1 V
  1854. ; The path to a default tidy configuration file to use when using tidy
    ) p$ l) y9 v+ ~; ?4 c  R
  1855. ; http://php.net/tidy.default-config
    * Q- `$ `2 s! E9 o; ^9 _1 D
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg/ D/ V8 W  C5 A# S6 F7 u- H
  1857. ; J9 w) p$ O) G
  1858. ; Should tidy clean and repair output automatically?, S4 P( z, @  C- }. D% p: d
  1859. ; WARNING: Do not use this option if you are generating non-html content
    ( b2 U  I' S$ T, L+ v" a
  1860. ; such as dynamic images
    6 A$ C* B3 X+ w( x3 O
  1861. ; http://php.net/tidy.clean-output
    ( v/ A( E* d; F
  1862. tidy.clean_output = Off
    ) n* b" ]- u) D% v" ^) K  \4 T

  1863. / x! @/ A* ]7 ]& z, m
  1864. [soap]
    / D4 x: \+ K2 x, F7 R+ N( Y  D8 u
  1865. ; Enables or disables WSDL caching feature.
    ( @, A0 d( Z( G9 T+ ]
  1866. ; http://php.net/soap.wsdl-cache-enabled9 S0 w" t- B  L' {! i
  1867. soap.wsdl_cache_enabled=1
    % E( I- \4 r+ A6 w8 }* o! S
  1868. / v% f1 K' e% C  m3 U. ]
  1869. ; Sets the directory name where SOAP extension will put cache files." j3 e% E9 d) S
  1870. ; http://php.net/soap.wsdl-cache-dir9 |2 Z) M4 U9 F5 i6 K
  1871. soap.wsdl_cache_dir="/tmp"  H2 E2 Y/ K0 j8 R
  1872. & F/ P; }6 D2 r  ]! ?! D
  1873. ; (time to live) Sets the number of second while cached file will be used* V5 c- q! T: {) O
  1874. ; instead of original one.$ P* D1 e( b4 z
  1875. ; http://php.net/soap.wsdl-cache-ttl
    % h* y. P! z& u" X$ D
  1876. soap.wsdl_cache_ttl=86400- i% G/ n+ W( [2 z& U0 ~

  1877. 2 S4 y( s# D0 z( ?' g& ]) n
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache): A2 c( q' Q$ j! v" b; e# W6 Z
  1879. soap.wsdl_cache_limit = 5
    & J4 g9 X" D+ T3 K. ]( {* D
  1880. 3 t1 _' ^9 C' {8 a3 K( W9 m
  1881. [sysvshm]
    3 f: p* }. [9 E0 q+ K& P! u
  1882. ; A default size of the shared memory segment
    * K# P2 h# @6 R, @
  1883. ;sysvshm.init_mem = 100003 M/ Q7 I0 P" E+ w- @5 T9 G

  1884. ; Y4 l% @/ L, O; F! j' s0 ~: |
  1885. [ldap]
    6 C$ X& R) F, A' f6 y% i
  1886. ; Sets the maximum number of open links or -1 for unlimited.8 h* S1 B2 X* n1 D
  1887. ldap.max_links = -1  ]$ R0 H$ T1 ^" W! R5 I- S! @$ \

  1888. 1 t: O' W% ^4 v- D6 O" u2 x
  1889. [mcrypt]
    / D8 ~3 P4 Q7 L# m
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open# e& h- H! d& A. S7 _

  1891. 8 h1 ^4 H8 E, n3 B' Y9 {
  1892. ; Directory where to load mcrypt algorithms
    & k. K* R8 e$ u7 H; U
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)7 _: t3 V/ t( z! e8 Z' ?9 N9 o$ ^
  1894. ;mcrypt.algorithms_dir=" A% ~+ m7 n) I2 y, }: k9 _
  1895. . b' V  }6 K* X8 {! E8 U9 ?
  1896. ; Directory where to load mcrypt modes
    ) p9 L7 G( y: h
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    2 x  M1 z( R1 Y: ]2 G
  1898. ;mcrypt.modes_dir=
    , e8 b& Y$ \* S4 a. Y- L

  1899. % e4 ~' |  r5 C4 Q
  1900. [dba]7 r* F. e' \9 I, s4 _( t9 o
  1901. ;dba.default_handler=
    $ w' ^, I: t( Y4 [" `  T% d

  1902. 7 v9 Y* M( d# ]% t( W9 @' W
  1903. [opcache]
    8 c8 b5 l- P' i. V: n
  1904. ; Determines if Zend OPCache is enabled
    1 I& K- P( H  A0 b& W  @
  1905. ;opcache.enable=0
    . E  s' ^6 y* ^5 f4 E
  1906. 6 P, s4 ^  _" V( c2 @' m5 q$ W
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    2 t: Q+ _* k& k8 \6 t/ f
  1908. ;opcache.enable_cli=0# t0 U! X3 b2 t  U$ f
  1909. ' T2 z2 ~' n$ [! G. F
  1910. ; The OPcache shared memory storage size.
    2 g3 I5 v# t3 z2 m, X
  1911. ;opcache.memory_consumption=64% B% g; Y& d2 Q9 Z# r9 u
  1912. 4 t4 G$ _, o0 X6 o0 |: r# j9 U
  1913. ; The amount of memory for interned strings in Mbytes.
    8 l# t& U" F  \& b/ Y
  1914. ;opcache.interned_strings_buffer=41 M. s2 n5 C2 z% K" j! {; ~

  1915. ( z" M+ B8 c6 I1 J3 s$ o
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.7 F* a" B/ {% j) K
  1917. ; Only numbers between 200 and 100000 are allowed.
    7 x: J' ^+ o2 m5 i5 C$ q
  1918. ;opcache.max_accelerated_files=2000
    " `% t  o; k# c

  1919. 3 t: L- I' ]/ x. X: f
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.) b3 R' d* k3 X+ Z
  1921. ;opcache.max_wasted_percentage=5* A* b/ F- g+ a9 z% i, H

  1922. ' ?9 C# k; R, k1 j
  1923. ; When this directive is enabled, the OPcache appends the current working
    1 ]5 E* f; J3 F( `- B0 @/ |
  1924. ; directory to the script key, thus eliminating possible collisions between
    * t4 W4 h/ y' V9 ~' Q
  1925. ; files with the same name (basename). Disabling the directive improves6 N4 y6 T/ z4 ~. \+ I( x
  1926. ; performance, but may break existing applications.8 k8 ~# A/ ^- a, R! t
  1927. ;opcache.use_cwd=1
    - E0 y6 B+ `6 l- b) h2 Z

  1928. / @$ a% `- x  Y0 J$ D2 W6 p' h
  1929. ; When disabled, you must reset the OPcache manually or restart the# s8 a7 j2 D" U9 G
  1930. ; webserver for changes to the filesystem to take effect.
    - K/ [2 q1 n% B$ S7 E
  1931. ;opcache.validate_timestamps=1! N# O3 d. a0 a% C

  1932.   L$ \0 k! `4 c) Q; x( ^
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    1 A' N( ?; \% P
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    4 g# v4 O% U4 B
  1935. ; once per request. "0" means always validate)
    , k, @% F" j4 U4 z$ @
  1936. ;opcache.revalidate_freq=28 q5 Z4 P) j, i& }! m

  1937. 5 h8 K" j9 U* x6 _" l
  1938. ; Enables or disables file search in include_path optimization. _9 j! s2 U$ c' m2 E
  1939. ;opcache.revalidate_path=0
    ( G" V. b% x4 F, T3 ]; C5 O

  1940. 5 I6 q: H8 z& i6 V" f* s
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the, c7 f- |4 L/ i5 Z
  1942. ; size of the optimized code.
    : X' @7 p( [) `
  1943. ;opcache.save_comments=1: d7 E, [- l1 N& _" q# ]" p
  1944. , M  ?$ ~! |9 q: k. N+ U
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    . L! V- b$ C( O" e% ^* e
  1946. ; may be always stored (save_comments=1), but not loaded by applications3 y. X0 _, ]9 `5 n; ~
  1947. ; that don't need them anyway.4 Y/ {* c$ r) ?3 S4 y
  1948. ;opcache.load_comments=1
    / ]/ s( u% I. n1 X

  1949. 2 E5 I+ R: M5 L% }
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    + P8 U/ k; z5 |& c
  1951. ;opcache.fast_shutdown=0
      Y/ l' c  d: F1 X  t( m$ ^6 C

  1952. , r# P& B2 {% y
  1953. ; Allow file existence override (file_exists, etc.) performance feature.! r' s$ q8 l0 Y& K7 |
  1954. ;opcache.enable_file_override=0
    / x$ c! ^& `' ?( t, r

  1955. . t+ {3 c( ?3 s0 R0 I( g8 ^
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache8 c  @8 v% g+ I; y; v0 `
  1957. ; passes+ C; b4 V& e; q. d5 B+ `+ H+ r8 K9 T
  1958. ;opcache.optimization_level=0xffffffff- e: @' _: _1 G' d/ z, B# y8 p* [

  1959. & L6 }' [1 S8 m' E6 K' A+ Y
  1960. ;opcache.inherited_hack=1
    + L* ^( l3 b# `- i2 d: e4 i# n# }
  1961. ;opcache.dups_fix=0
    . }( e) g; L: I2 i) R7 ^

  1962. # n4 u/ Z3 o6 K
  1963. ; The location of the OPcache blacklist file (wildcards allowed).5 u+ s; p: O. B( C0 g
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    & {7 A* S8 ^9 j2 K% K
  1965. ; that should not be accelerated. The file format is to add each filename
      ]( ]& G. a9 o, ]# e) r
  1966. ; to a new line. The filename may be a full path or just a file prefix
    1 \5 j+ c3 i7 C4 [. K8 D- P# n
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    / a+ S- @' a$ I1 R/ e( {0 x
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ; d# U* }1 |, |& ^
  1969. ;opcache.blacklist_filename=4 _, k/ V+ x' b6 A* [

  1970. * D0 Z4 ^+ _& d
  1971. ; Allows exclusion of large files from being cached. By default all files
    7 l2 H9 M* j5 b! H+ B7 G7 ~
  1972. ; are cached.
    / ]" _$ \7 l/ `5 q, i8 P+ J
  1973. ;opcache.max_file_size=0
    2 {8 O( Z" s* ^# ]4 Y- ^
  1974. : U. H( t* W$ W
  1975. ; Check the cache checksum each N requests./ M+ T; i5 w( R. o2 A! a! P
  1976. ; The default value of "0" means that the checks are disabled.
    3 B! s; o3 w" Y  y
  1977. ;opcache.consistency_checks=0" g* Z1 ~6 ^' J( P5 W* M4 O

  1978. / k: [6 T- T' L- Z6 X
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache& U/ h  `8 P+ Q- @& u+ w* \
  1980. ; is not being accessed.4 m- G' T3 s0 _
  1981. ;opcache.force_restart_timeout=180
    2 T+ h9 L3 @# f6 X& X' R6 J
  1982. ! Y0 X9 a# A9 L) }7 \
  1983. ; OPcache error_log file name. Empty string assumes "stderr".; V: I2 v! D8 V" f3 @7 U
  1984. ;opcache.error_log=
      {+ Q  y, D2 ~

  1985. ( V8 a0 @6 N6 ~0 i
  1986. ; All OPcache errors go to the Web server log.
    , L8 q6 c+ @3 r* g, R+ p
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.9 _6 g5 s7 G  w) {% ^7 K3 T
  1988. ; You can also enable warnings (level 2), info messages (level 3) or) C& s# {- p. S: s
  1989. ; debug messages (level 4).
    ( H; T, ], B3 ~
  1990. ;opcache.log_verbosity_level=1& Q5 d$ X! Z- J0 t% Z2 C0 m/ K" {
  1991. ) J: H' v' m. f% y  s) N
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ; B6 v7 E$ U3 M# @! \
  1993. ;opcache.preferred_memory_model=
    ) s7 a4 @% u8 r8 E2 I# A9 l: [% R
  1994.   i  y  j. F3 z
  1995. ; Protect the shared memory from unexpected writing during script execution.& D( O% B# q7 {/ G3 m
  1996. ; Useful for internal debugging only.
    5 Z; T. f2 b4 c* Q$ L# o9 M
  1997. ;opcache.protect_memory=0. L, ^& U7 C% m: ^' D' t+ V- c
  1998. 1 |, e# Q' n2 n% f9 ~+ X
  1999. ; Validate cached file permissions.
    6 o  g% ?& D! s; r1 o5 j, K. V8 `
  2000. ; opcache.validate_permission=0
    8 y- A- x7 a0 G( ], W2 ?% w
  2001.   W1 `/ ?4 w. s6 T5 ^
  2002. ; Prevent name collisions in chroot'ed environment.* ?5 m" J! K$ @/ V! R( G
  2003. ; opcache.validate_root=07 s* I! b& l# x. n

  2004. 7 G0 x% l2 @4 u; ^
  2005. [curl]
    / c; G) L4 o7 |+ n4 D$ |( e
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an9 y' H( t3 A9 P) {" o" P
  2007. ; absolute path., Y+ a- S9 ^+ ~
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ( p7 Z: s. B1 r4 i5 n
  2009. 3 [6 J, r) A4 f* h2 Z5 Q
  2010. [openssl]
    . q' Z( I6 F; a9 |6 {
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem2 O, @) w; d8 \" ~5 F
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    % ~: X" |1 b* p" B
  2013. ; not specify a value for this directive as PHP will attempt to use the
    7 N" }( U; Y' Q6 O. p( y6 I4 h- h/ X+ z
  2014. ; OS-managed cert stores in its absence. If specified, this value may still' T& b4 p8 ~, O& K
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context0 R8 b" _0 C; Q2 ~$ X
  2016. ; option.
    " {1 O% K! g# U# `
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    6 i- i( b" T, p1 t

  2018. ; Z/ c! y/ u+ S" j+ a- d' Q8 s$ h
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    . j6 t8 X' R. A# m. g" ~5 H
  2020. ; directory pointed to by openssl.capath is searched for a suitable# w3 z0 ?, o+ N5 v2 r; G+ c
  2021. ; certificate. This value must be a correctly hashed certificate directory.# {7 h4 w% d/ L' p3 E+ [" ^9 R
  2022. ; Most users should not specify a value for this directive as PHP will0 V; B% B# B: X9 s/ W
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,& K/ w1 r0 ^  t0 p" ^" s7 V' f( K
  2024. ; this value may still be overridden on a per-stream basis via the "capath"3 r$ |" U" }% i" c5 }# g
  2025. ; SSL stream context option." @# `& @/ z& R* Y6 ?( r
  2026. ;openssl.capath=" {' e2 C. A5 f/ o, Z% ]: ^

  2027. $ L6 S0 y" X' o, n; Y/ c8 A, h" F
  2028. ; Local Variables:
    . K8 h0 m* |& n3 J: q
  2029. ; tab-width: 49 o) Y# G: M9 T1 U& h
  2030. ; End:& g% A, k1 T/ v' g/ K0 A6 f/ y

  2031. 7 p0 R3 @$ S. W
  2032. ;eaccelerator* x- [- T- z; R3 w. R. D& t6 Q

  2033. : J- Q2 j% ^- w+ q+ }3 Y
  2034. ;ionCube
    6 F+ t, |. z2 p0 h" F
  2035. ! T/ _, U% x3 F8 K) D
  2036. ;opcache
    : |$ {& _4 \- ]" f8 d5 J
  2037. & ^- j4 a# ?8 O8 P. h
  2038. [Zend ZendGuard Loader]+ _2 I% J  s& H/ D- k, ?7 H
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so; i. y# ?, c% F2 q+ k" Q. I( Z
  2040. zend_loader.enable=1
    $ M. a  K1 W, r; B
  2041. zend_loader.disable_licensing=0
    / t. s6 \  @8 R
  2042. zend_loader.obfuscation_level_support=3/ Z) t$ O8 |3 P) `! D% u8 I: K
  2043. zend_loader.license_path=# C  k& l  |) u) P# R* M9 J

  2044. 8 V0 y1 o) w8 i" a/ m' Y7 U, I
  2045. ;xcache
    $ ~* S7 r% P/ A

  2046. % K0 k" R: ^# L5 u7 a4 }* i! n1 H& V* \
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692. [1 c; S% h' d% T* h6 n$ ~
# W$ C* L$ t  L0 L

/ ~+ n1 Y2 ?( H% U0 ?Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
4 `/ r0 d3 O) a- J) C7 H& j
( u; M4 C2 B4 q6 N1 Y: vDiscuz!程序版本选择:& X  p! k3 R8 j1 h
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
& L' B# W  `6 n0 _( ?% x不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:8 q1 p/ u$ l8 F) I6 g
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。
! K4 D0 f( I* T5 P5 s
" l, n; R# M- i/ _1 ~Discuz!插件模板版本选择:* B" x$ ~' N( r8 R7 f: c5 \  I
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,+ R7 W, y3 j* s* ^3 G
针对这个问题做个统一的普及:& @/ A% I2 F( O7 k
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。* S8 s* O) I/ W. s. P
! y5 O' @9 Y9 c8 \* f* U
所以3 \6 t7 s) r) i. Z' ?1 \
适合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的二级域名。7 r% p7 W1 }; M5 Q' |+ O1 s) o1 @
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。& H: X: W: u, m$ N
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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