分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.04 x. X  D6 z) u$ ]  d+ Q* |
6 g% K& f& @7 |: j
  1. [PHP]) @) }# g- c0 s- O/ f3 G0 x) S1 H) [

  2. - C; r$ ]  a9 p, A! q1 ]
  3. ;;;;;;;;;;;;;;;;;;;
    : \& D3 z2 c8 q' @. s+ M
  4. ; About php.ini   ;$ Q) e0 F0 t! V4 h
  5. ;;;;;;;;;;;;;;;;;;;3 T4 X8 S* g) C; c8 Y. Q
  6. ; PHP's initialization file, generally called php.ini, is responsible for  ?# B1 }4 g# ^( H) R
  7. ; configuring many of the aspects of PHP's behavior.+ O  H1 T# B$ Z# t8 {0 y+ d9 Q

  8. 7 e  h" i1 U- Y  l" w, x: h; y
  9. ; PHP attempts to find and load this configuration from a number of locations.1 Z1 r% A6 j) j
  10. ; The following is a summary of its search order:
    , W; L1 |( O) e' h
  11. ; 1. SAPI module specific location.
    ( @3 E  @! y" W& o2 a  b
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)2 z: W$ D. h  v2 U1 |! Q; v: C/ H
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)5 l' O( R8 M; p# [: e
  14. ; 4. Current working directory (except CLI)
    3 G( l% f, Y. I7 L+ Z
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    + B/ y$ ~" B* i0 N4 e
  16. ; (otherwise in Windows): H+ U$ I! X1 }5 ]- w4 X
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ; c+ w! B" |$ X/ K2 J
  18. ; Windows directory (C:\windows or C:\winnt)6 g9 O0 u9 I/ a8 Z
  19. ; See the PHP docs for more specific information.5 z6 \1 y! v; h
  20. ; http://php.net/configuration.file
    / m0 i2 T* p' F6 ~3 F% e
  21. 4 O6 e  p2 I" x0 i/ G* W8 d, L+ e; O
  22. ; The syntax of the file is extremely simple.  Whitespace and lines  a, {2 a$ v& X: j  B, _
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).# J$ i5 ]7 b: K- i' ]
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    . Y* L5 `2 V8 @8 r* F0 P5 }) e; N
  25. ; they might mean something in the future.8 e2 U3 Y8 ~: x6 s
  26. ) H9 [& V( l+ w6 r( ?
  27. ; Directives following the section heading [PATH=/www/mysite] only
    - r! }8 m% ]! y' R) n
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    5 q+ r/ i- a4 {
  29. ; following the section heading [HOST=www.example.com] only apply to
    % c8 K0 U8 C# @" V+ ?
  30. ; PHP files served from www.example.com.  Directives set in these  Z' Q- P0 l9 H
  31. ; special sections cannot be overridden by user-defined INI files or
    0 ?; R% Y- K$ Q& q+ n
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under2 |0 s1 d0 M0 P$ `/ U5 j
  33. ; CGI/FastCGI.- U7 i0 k* P, I4 |$ o
  34. ; http://php.net/ini.sections
    ; @6 m; A4 s. [+ G
  35. ' b7 l" m3 ?$ P6 c8 f
  36. ; Directives are specified using the following syntax:
    : s1 Q! ^- Y8 E4 l
  37. ; directive = value
    8 o5 U* H$ ~( c- T
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    9 u1 E* Y1 D$ l' |# @8 W" P
  39. ; Directives are variables used to configure PHP or PHP extensions.( A& O# G5 m! y* S
  40. ; There is no name validation.  If PHP can't find an expected7 z+ l$ p3 D9 V5 Z
  41. ; directive because it is not set or is mistyped, a default value will be used.
    $ r: e+ Y# P$ r# z( F9 ~/ a8 T

  42.   P2 l6 S6 y, L9 R; {" x8 V1 J
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    7 {  W) K4 R" }2 M
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    4 X* N( B) h" t/ V, `8 {4 W- R
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    5 {+ \0 l4 ^9 a$ n8 ?" R% w' j
  46. ; previously set variable or directive (e.g. ${foo})
    % K# {0 F  s# G

  47. / i, X" _2 O! o) i) Q5 i+ A
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    0 ^! X. y7 x0 ]# l9 W1 H
  49. ; |  bitwise OR7 j8 `5 f7 n# B6 v7 v0 o. I
  50. ; ^  bitwise XOR
    9 e' S: t, h5 ]( T3 q& @: V) K
  51. ; &  bitwise AND( s; |& `7 s4 h7 O9 c: C
  52. ; ~  bitwise NOT* p3 j; `3 l+ m5 u
  53. ; !  boolean NOT
    # b+ e( e, k. N: i3 D4 ^

  54. ) `" k4 f5 D! F% D
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    7 ?  S0 ]5 R5 I8 J5 u
  56. ; They can be turned off using the values 0, Off, False or No.
    : o9 ]( H/ o' K' [/ @. I6 K

  57. ! `* [8 {& v! W- a, u5 V6 Z7 P
  58. ; An empty string can be denoted by simply not writing anything after the equal
    - m4 \  o& S5 q6 t+ B
  59. ; sign, or by using the None keyword:" L: |2 @, g1 {9 o* ~! c& n6 Y

  60. 1 q$ B+ I7 M' y
  61. ;  foo =         ; sets foo to an empty string
      F) X9 Z, i  ~2 n9 u. J3 x* V
  62. ;  foo = None    ; sets foo to an empty string
    / l8 r7 b7 h( k) z! D" l% _
  63. ;  foo = "None"  ; sets foo to the string 'None'+ c; g0 }. j; u, Q# j

  64. , T1 x; E, K6 F* k/ j: s7 [5 O9 U
  65. ; If you use constants in your value, and these constants belong to a7 l0 b8 R- |5 |2 g7 `& `, s( e
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),6 g2 S1 \  w% q
  67. ; you may only use these constants *after* the line that loads the extension.. Z) E# m$ R$ C" D6 ^
  68. ' o* a- K1 T' B3 v, o6 a
  69. ;;;;;;;;;;;;;;;;;;;. h# y8 _3 ^6 n7 b" o( ^8 L
  70. ; About this file ;4 n# \4 m4 A4 I3 \. \7 e
  71. ;;;;;;;;;;;;;;;;;;;
    ; W, H6 T3 B% G2 I0 {
  72. ; PHP comes packaged with two INI files. One that is recommended to be used6 {$ B2 w0 X6 n! T
  73. ; in production environments and one that is recommended to be used in! i1 C) \  m( H$ Q( D
  74. ; development environments.
    ; I6 Z6 ]) v& S; @

  75. 6 n4 V2 P5 g' E. M
  76. ; php.ini-production contains settings which hold security, performance and
    4 x* }2 q0 D; ?" i* l
  77. ; best practices at its core. But please be aware, these settings may break
    : e$ v. a. h1 O- v7 Y- `* Z2 T
  78. ; compatibility with older or less security conscience applications. We, k( R& x, }; a5 A
  79. ; recommending using the production ini in production and testing environments.
    3 X$ u: y& x* o+ ?, `
  80. 6 j6 ^: }7 _( s% U; n
  81. ; php.ini-development is very similar to its production variant, except it is& `' `2 F6 z# y
  82. ; much more verbose when it comes to errors. We recommend using the, K2 S2 L1 l5 l  c: l2 J% F9 K
  83. ; development version only in development environments, as errors shown to: V( ], V0 e8 H( o% Q
  84. ; application users can inadvertently leak otherwise secure information.5 G, @6 S! E9 ~' _
  85. - K/ E( m. R% i/ g
  86. ; This is php.ini-production INI file.& T8 ?8 ~; j& x7 |6 c4 c4 G% m

  87. & _7 `" |" T" e- ]  O; b( Z0 D
  88. ;;;;;;;;;;;;;;;;;;;9 x- J: Y! V) v' }: y: ]
  89. ; Quick Reference ;  n5 o" L% l" H3 W: ?
  90. ;;;;;;;;;;;;;;;;;;;
    " U6 ~  d/ L9 o1 A3 P# L% ]
  91. ; The following are all the settings which are different in either the production
    3 I8 g2 P# h! R7 @4 c* I5 z
  92. ; or development versions of the INIs with respect to PHP's default behavior.1 v' O; V" t/ T8 F9 c
  93. ; Please see the actual settings later in the document for more details as to why
    : ~) J! q1 S+ _- T3 X% R' y
  94. ; we recommend these changes in PHP's behavior.
    : q( t) R3 U9 n& c5 t( E
  95. , z% Z' i* T# X$ C& L: M
  96. ; display_errors5 [# e8 R$ g- b$ k% E! Y
  97. ;   Default Value: On
    3 C' P! T) N( G6 I- E
  98. ;   Development Value: On8 f0 b  d/ G, c4 e/ [9 c+ W
  99. ;   Production Value: Off
    3 U9 l* R* o9 I* c: l3 w  \( ^
  100. 7 Q2 b, ^2 S$ n% \7 j4 [4 J( h# x1 B
  101. ; display_startup_errors% v) @- a; L! L/ }. R& t
  102. ;   Default Value: Off
    ' d& G  L4 [! g& Q: [; u
  103. ;   Development Value: On$ Q, y; f) E8 @" u
  104. ;   Production Value: Off
    1 x, b: w! M/ ]; Q
  105. 1 k+ x4 G" n+ G. C" L- H
  106. ; error_reporting
    , p% b% G7 k, V- p+ ~6 V" j
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
      r, I3 {" e% G+ U! c
  108. ;   Development Value: E_ALL
    4 ?+ T* H/ x. a: u: f. {/ c& l: L
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT2 a8 V7 A7 U9 i3 ]- f3 c
  110. + m& B1 b+ ~: w0 N* m$ D3 K
  111. ; html_errors
    & `& x! [# j6 }. H. w
  112. ;   Default Value: On
    * J: ~3 H+ U8 n' S' w
  113. ;   Development Value: On
    1 X9 v! K. J) Y6 A, g2 B# \
  114. ;   Production value: On
    8 V# E2 z4 M! z6 G' u

  115. * Y; H  |5 B" M; d2 W4 Y! X
  116. ; log_errors
    6 S+ J. ~: e% d+ F8 S  ~
  117. ;   Default Value: Off% c: h  o4 f! [, ?& }
  118. ;   Development Value: On
    0 {7 R; |+ h% v) ^2 [/ G" i8 S
  119. ;   Production Value: On! e/ b5 l" C2 e2 A) a' X. U& B
  120. 4 @/ \6 c4 C4 k. i$ L
  121. ; max_input_time  _, c; X+ Y. b* D2 H
  122. ;   Default Value: -1 (Unlimited)
    6 h; u6 P) \# g! a' O# Y0 o+ j
  123. ;   Development Value: 60 (60 seconds)
    ) M; }  @$ X' @2 o
  124. ;   Production Value: 60 (60 seconds)
      O+ n: k2 |6 y( h6 o
  125. * c5 O" y; r8 t# F" C
  126. ; output_buffering7 V; f9 j3 Q, D0 W5 _
  127. ;   Default Value: Off- r& m( N/ P- t
  128. ;   Development Value: 4096) w! G' G: Z# ?
  129. ;   Production Value: 4096
    " b: `9 W4 x/ q4 C; _) ?
  130. 9 \6 a: `4 F% l+ |$ V9 s7 s$ }* }3 ~
  131. ; register_argc_argv) ], L) m. I4 D5 t; L% l, H; j
  132. ;   Default Value: On, O& G* n0 M3 _$ k' _6 Y
  133. ;   Development Value: Off
    / N7 R( h6 s5 _) w3 f: o% ?
  134. ;   Production Value: Off" }! ?  u& ?8 I# K  V( c8 G% ~1 f
  135. ( a4 z. e( u' I/ j. p5 `
  136. ; request_order- B: h- l- n7 H' t5 L# [
  137. ;   Default Value: None
    * `# m" B4 R8 a
  138. ;   Development Value: "GP"3 c/ i+ S0 C1 [. w: [, y; Z3 ^' u9 N
  139. ;   Production Value: "GP"
    ; ~' K# O+ B( m5 P& _0 L

  140. / i  Y: ^# V3 _2 c
  141. ; session.gc_divisor; E. Y3 Y' v( s+ w2 q! g" G
  142. ;   Default Value: 100
    4 P, f: a; x& u7 k4 C/ C' t, G
  143. ;   Development Value: 1000# s. f$ T0 T0 t( z3 x* v) G
  144. ;   Production Value: 1000
    * u/ a$ K- m. U9 d  p4 P
  145. & }0 g3 E" X- ~3 R
  146. ; session.hash_bits_per_character
    ; i! a$ a6 Z( U
  147. ;   Default Value: 4
    * I( m, f& i1 X; j  o5 g- j8 I
  148. ;   Development Value: 5
    6 B3 B" e# k! G' p' z5 N' q
  149. ;   Production Value: 5
    + [$ W% R# Y4 S. Y; N* v, `, I) ~% r
  150. 7 m1 t+ p6 T) s8 e" g: W, {3 Z
  151. ; short_open_tag
    1 ^# D$ w/ B* R; L' Y* G& T9 y) q: E
  152. ;   Default Value: On
    2 ]- j0 b9 r& ~# T! f# w
  153. ;   Development Value: Off
    6 Z$ B# W- O& Y0 _8 C
  154. ;   Production Value: Off2 Z4 Z- l5 x) D- A

  155. 8 m- v$ L. V! K# ?7 u% E4 Y
  156. ; track_errors" U- R5 R% S) L1 R* f2 D# X
  157. ;   Default Value: Off4 B% H4 l$ h- Y& P8 a
  158. ;   Development Value: On
    1 @$ y+ y/ D& I* [3 s
  159. ;   Production Value: Off
    ) _" m. ^0 l0 h' _' G8 R$ z

  160. 8 V' Y7 B8 a% _/ b( ]# C- t
  161. ; url_rewriter.tags
    ) A0 D6 m: `1 ~4 ?
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="2 h+ n) U" \/ _
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# }. P4 ?# B. H( o
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ L$ b% ]( z- o7 \2 L7 ~5 D7 K/ \

  165. * A+ F0 E2 K  |
  166. ; variables_order
    , f: s& r' f0 x) O' u1 W% ]: k
  167. ;   Default Value: "EGPCS"4 F* `6 e. o7 c, ?# O3 y/ e
  168. ;   Development Value: "GPCS"4 N$ M, |" s9 B! e! Q7 g7 Z. S" u
  169. ;   Production Value: "GPCS"9 }  T" y. X; u0 Y% O( [- b' @* V

  170. " m* i( I9 k7 o+ W
  171. ;;;;;;;;;;;;;;;;;;;;
    , q) |  z8 u5 T
  172. ; php.ini Options  ;& H8 d; {4 A8 q
  173. ;;;;;;;;;;;;;;;;;;;;
    0 f7 N8 a% q- {9 L- @
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    % }" Z2 j; W; V. l8 J3 y3 h# x
  175. ;user_ini.filename = ".user.ini"
    . }5 g" H9 b8 |& Y; E
  176. ) d+ W% w" [( |
  177. ; To disable this feature set this option to empty value- k5 I( w6 X$ U9 ~1 A  ]5 g
  178. ;user_ini.filename =
    ' ?; |- k9 p+ e! _# H# q# M

  179. * s5 I* \) U. R' I: z' ~
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    + P- W4 ?, p' \$ j
  181. ;user_ini.cache_ttl = 300
    : o. Q1 q; y  l3 ?: T* x  x
  182. ( r9 ]$ G: e9 [! I/ c
  183. ;;;;;;;;;;;;;;;;;;;;
    * k  S* Z5 e' Y0 F& g7 n
  184. ; Language Options ;* Y, H; W) |! `; Z
  185. ;;;;;;;;;;;;;;;;;;;;
    , m' L8 h; a) x* X% L  t6 f

  186. 8 g. W6 }  ~' D! |4 i% f
  187. ; Enable the PHP scripting language engine under Apache.
    ( `# A! O9 ?9 j
  188. ; http://php.net/engine9 e; b$ t: Y5 E! ^- |
  189. engine = On! W! \8 q; t9 l4 I

  190. ' T9 [4 C9 H0 V9 P) X* Q" v% [
  191. ; This directive determines whether or not PHP will recognize code between. I# x1 s' \* }# Y; ^8 r
  192. ; <? and ?> tags as PHP source which should be processed as such. It is' X$ }  |' A9 J1 R6 k; e% j
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ! x  F9 |# i9 H, x6 \! `
  194. ; should be disabled, as enabling it may result in issues when generating XML/ {" f7 q! s; p2 I0 z8 Z+ {
  195. ; documents, however this remains supported for backward compatibility reasons.
    % _. I' y  B5 p% \4 L( i
  196. ; Note that this directive does not control the <?= shorthand tag, which can be( b$ p2 I3 `9 ^6 Q5 G3 I
  197. ; used regardless of this directive.9 A8 r; W7 N2 Z: J' Q
  198. ; Default Value: On
    $ C7 p) k' X1 ]# r
  199. ; Development Value: Off: t. X+ A" u+ K* V
  200. ; Production Value: Off
    5 L5 T- E4 [) m( r, G
  201. ; http://php.net/short-open-tag  a. w% p" D( a9 L
  202. short_open_tag = On
    ( {/ D6 O$ B" }( A! r# q' B; \
  203. ) x3 Z8 S, Z1 q8 B4 o5 g" R6 p
  204. ; The number of significant digits displayed in floating point numbers.
    1 n7 A  K3 L' _6 z+ u
  205. ; http://php.net/precision
    . E$ ^5 u$ ]6 [" E5 C
  206. precision = 14
    : q4 J% q0 p$ E1 N2 N. ]. C8 e) A& ], \
  207. * y) U  o7 ?& O/ R- ~( S
  208. ; Output buffering is a mechanism for controlling how much output data" F6 e) s5 j( N% z/ K0 x4 e
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ( L' B! ]  n$ K2 T. _9 w0 \" s2 M
  210. ; data to the client. If your application's output exceeds this setting, PHP
    * h( k) @* d' ?
  211. ; will send that data in chunks of roughly the size you specify.& A+ `. J3 A: t. ^1 ]
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    , m; _' I2 {! j9 [# E
  213. ; interesting side-effects depending on your application and web server.
    ; h; j; z2 Z3 x" o
  214. ; You may be able to send headers and cookies after you've already sent output% g7 F1 p5 h& N4 |% A
  215. ; through print or echo. You also may see performance benefits if your server is' l2 g& t' ^4 @4 b/ Y3 S! [
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    , O1 Q: U1 U0 z2 J# u' c
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance) p) \$ F& _5 T% k, t* v! \& k, M3 p
  218. ; reasons." Z1 l) H4 ^$ w0 N
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    5 M( K! e4 v6 c, y' X7 D. A+ x- `
  220. ;   functions.2 d, y# M3 d. g& a. ?* O0 p9 E8 }! d. }
  221. ; Possible Values:
    - w; u* G( r5 \  a) ]. @
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    1 G4 k  E! H4 a: Q) j( j
  223. ;   Off = Disabled
    1 e) H3 {; Q; L
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    / E3 m9 z; p$ N% r. {% B/ T
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI+ v7 e% b, r: z8 O) R
  226. ; Default Value: Off5 \( [( Z& e% Q  O: y
  227. ; Development Value: 40968 R% X5 B% @& ]. E7 C. F
  228. ; Production Value: 4096
    + [+ [3 r0 s3 u( I* X$ p
  229. ; http://php.net/output-buffering- C8 W) Z' e5 B
  230. output_buffering = 40965 m2 u9 H  p7 z' S, K) d
  231. 1 s4 \1 X" u7 X# o) k+ U3 z2 c
  232. ; You can redirect all of the output of your scripts to a function.  For4 K6 U; I$ N1 D8 Y; }5 S4 _
  233. ; example, if you set output_handler to "mb_output_handler", character
    7 Q9 M5 o9 O6 J$ ?% C- L
  234. ; encoding will be transparently converted to the specified encoding.
    ; x" H" _% {( v6 U6 P+ V. c
  235. ; Setting any output handler automatically turns on output buffering.% a) A/ i" q. i2 R) v# I8 P
  236. ; Note: People who wrote portable scripts should not depend on this ini
    $ h, ]* k) f4 m# h6 c6 [5 m; l
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    5 f% V2 U/ t6 h; Y1 y. z- w
  238. ;   Using this ini directive may cause problems unless you know what script% V3 q7 O" Z4 S. f1 R0 z+ Y) Z
  239. ;   is doing.1 {4 Y* @& u% s( a) s
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ( B! D* w) [+ t1 C0 }  Q/ [
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".' F! G6 `) K% g  E4 X- S. W5 e/ V
  242. ; Note: output_handler must be empty if this is set 'On' !!!!# ?* r+ l8 v/ H3 R. ~9 `6 J
  243. ;   Instead you must use zlib.output_handler.8 t. Z4 S1 {. {6 z9 f
  244. ; http://php.net/output-handler
    & V# {. @, U4 U& N* p4 N2 }3 e
  245. ;output_handler =
    , a4 B6 @  v2 L' x$ s4 Q
  246. # |- w$ O. o/ i3 p5 O
  247. ; Transparent output compression using the zlib library% R+ p; J; K/ ^4 {  ]/ G
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size8 e% P2 `9 M7 I& ~: e% o/ w
  249. ; to be used for compression (default is 4KB)
    ) |  ~7 t5 l# l4 H0 q
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP& _2 {( P" Y) N
  251. ;   outputs chunks that are few hundreds bytes each as a result of- h! I8 G* k8 N4 L) |" v' U9 P
  252. ;   compression. If you prefer a larger chunk size for better
    & q# T- S* Z# J9 y! X$ j/ N9 M
  253. ;   performance, enable output_buffering in addition.
    / c; j8 g' Z& R! R# A( V$ O; v* i
  254. ; Note: You need to use zlib.output_handler instead of the standard  I# f$ M9 l' X' V3 k8 {
  255. ;   output_handler, or otherwise the output will be corrupted." p1 E5 u3 r5 N8 `" G7 G# ~! ?
  256. ; http://php.net/zlib.output-compression
    4 s. t" s% r! ]
  257. zlib.output_compression = Off
    & E4 m: o( L- y+ z/ `: k

  258. 1 ^3 p: h, Y* W. S( I# k# X
  259. ; http://php.net/zlib.output-compression-level
    3 Q8 U5 j, X) I5 z1 g: M. X" F
  260. ;zlib.output_compression_level = -1
    # D- ~6 m- s7 c* T7 r; y

  261. ( _# B) i5 ^- A) l; o# q
  262. ; You cannot specify additional output handlers if zlib.output_compression
    + V$ |5 z6 B0 m6 \" p: o: A
  263. ; is activated here. This setting does the same as output_handler but in
    3 D# E+ v; v: d' Q# V- v
  264. ; a different order.2 l( Q8 j; W2 Z. @
  265. ; http://php.net/zlib.output-handler
    % m4 [8 j. k% @4 f; A
  266. ;zlib.output_handler =
    ' e! _% e  b+ v
  267. 5 p8 C# e% G& j
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    % f/ u3 d% @1 g# a. _; a
  269. ; automatically after every output block.  This is equivalent to calling the
    9 o( b7 T2 [  Z0 D' _4 z/ S4 e
  270. ; PHP function flush() after each and every call to print() or echo() and each; L- c' R9 s3 a/ E
  271. ; and every HTML block.  Turning this option on has serious performance( |7 R6 j* h5 ^" p4 e
  272. ; implications and is generally recommended for debugging purposes only.
    ; y: x9 _2 t: @' y' h3 l/ f2 L1 E
  273. ; http://php.net/implicit-flush- e$ s. }( Y+ y: `
  274. ; Note: This directive is hardcoded to On for the CLI SAPI5 r7 X' @; S2 y6 [
  275. implicit_flush = Off
    6 |' y7 L, m) [) t! @/ v
  276. 3 ]6 f6 @* y+ G" M5 d
  277. ; The unserialize callback function will be called (with the undefined class'( M0 c# X/ T3 T6 k7 ~: U* P
  278. ; name as parameter), if the unserializer finds an undefined class" a- ?- L4 y2 D1 U; ~( |
  279. ; which should be instantiated. A warning appears if the specified function is$ c3 M! P6 P9 t0 n: c; E  ^: A, [) C
  280. ; not defined, or if the function doesn't include/implement the missing class.: \& V; V6 |) K& f1 S' Z- X
  281. ; So only set this entry, if you really want to implement such a
      C2 ]; ~5 ~1 `; r
  282. ; callback-function.
    * m, Y5 T% P6 g
  283. unserialize_callback_func =
    " u3 [: }# k4 D/ V9 c1 L4 @' Q2 Q0 M

  284. : |# o: U5 Q  t, L
  285. ; When floats & doubles are serialized store serialize_precision significant% J, B0 H& x/ C* \6 x: M
  286. ; digits after the floating point. The default value ensures that when floats+ r9 O1 H7 M3 `' n; O7 i5 ]
  287. ; are decoded with unserialize, the data will remain the same.- o; \& n9 P5 y5 e: |% `
  288. serialize_precision = 17" y. x  y3 s5 z6 a4 q& ~, m& c$ y

  289. - o4 A1 }# K9 Y! u5 o
  290. ; open_basedir, if set, limits all file operations to the defined directory* B* Q5 ^1 K  B0 N" L, @
  291. ; and below.  This directive makes most sense if used in a per-directory" u) O- q5 H0 ]+ U+ L
  292. ; or per-virtualhost web server configuration file.
    8 c# ?; g5 t* g2 g9 B
  293. ; http://php.net/open-basedir6 m% D3 E1 a  V* v  G
  294. ;open_basedir =. U5 G, S$ C0 q: ?; K

  295. 2 H2 u: ]. g/ q
  296. ; This directive allows you to disable certain functions for security reasons.4 R* U* z7 Q- p$ @; W
  297. ; It receives a comma-delimited list of function names.
    . M7 P8 C; V* Q& s. G, g1 c& \4 Z5 l
  298. ; http://php.net/disable-functions
    ! ?- _1 z. ~* T
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    " G* A4 D1 f& L+ {
  300. # ~7 A) _, f5 I1 g% @
  301. ; This directive allows you to disable certain classes for security reasons.
    4 E+ u# @- |! U1 B
  302. ; It receives a comma-delimited list of class names.
    9 P! [% u0 i- o/ n7 n0 S
  303. ; http://php.net/disable-classes
    " c9 f0 @9 M1 ~9 u
  304. disable_classes =0 e( ^/ O" D( ~

  305. + B% D( G: q% {2 M/ |( V* P. D
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in/ `1 I* y/ H8 |( v$ y' w
  307. ; <span style="color: ???????"> would work.) L/ N/ o9 N  J9 I, P' t
  308. ; http://php.net/syntax-highlighting4 w+ ?& Y0 Z7 y  J9 ^+ w' M
  309. ;highlight.string  = #DD0000
    " j+ \* @% ]1 ?0 Z0 r# K0 O' D0 {
  310. ;highlight.comment = #FF9900: r4 v9 V9 w# n
  311. ;highlight.keyword = #007700
    ' S/ g4 Z- C# }* }* I
  312. ;highlight.default = #0000BB3 V. {3 D- q1 k, }) i! f  [1 n
  313. ;highlight.html    = #0000003 ^% u6 h3 b4 j3 o
  314. * S" s9 l- q  }/ m' M
  315. ; If enabled, the request will be allowed to complete even if the user aborts, C6 ?3 B) l8 a4 k  P
  316. ; the request. Consider enabling it if executing long requests, which may end up( r3 n1 \" }( C, e
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior8 x- p3 D6 h5 i' D4 Z
  318. ; is to disable this feature.
    ; \: p$ x- n* d6 P
  319. ; http://php.net/ignore-user-abort
    ! v8 @( V+ {0 `. k) [5 `& c' U
  320. ;ignore_user_abort = On
    3 X: \4 @4 |. i
  321. # L& Q4 ^" d8 Y9 K
  322. ; Determines the size of the realpath cache to be used by PHP. This value should5 }+ t6 b/ B: u$ S3 }8 ^5 S
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    6 A, b, d& R1 F2 c) H3 c, q
  324. ; the file operations performed.6 h  F  ^9 m+ j7 v/ J# K# n
  325. ; http://php.net/realpath-cache-size
      Y8 u+ I8 F/ S/ Z( w' L
  326. ;realpath_cache_size = 4096k- o! y/ f. f* K8 \7 a% J# e  L

  327. . F. B' R. ~; a( C+ ]& W, z
  328. ; Duration of time, in seconds for which to cache realpath information for a given
      d, M$ S4 s1 V+ r$ _+ {1 p
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    $ z; g3 }1 y7 ]1 T! w5 X/ F& S6 e
  330. ; value.
    - x! j' w& w3 ?
  331. ; http://php.net/realpath-cache-ttl
    / M( ~: S& w3 Q+ |
  332. ;realpath_cache_ttl = 120
    9 k# @# q! }+ C+ T( w

  333. % ~2 y# M5 ~8 i6 a
  334. ; Enables or disables the circular reference collector.
    6 i3 {! |8 l0 e. Y# M+ R! a
  335. ; http://php.net/zend.enable-gc, |& D0 B8 |3 ]6 ~& {- W* Q! g
  336. zend.enable_gc = On9 m6 [$ N5 G6 |

  337. , @1 \; W) R$ h
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    - Z! D6 g6 R2 F7 L
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such4 X2 r, m, h) |% W
  340. ; encodings.  To use this feature, mbstring extension must be enabled.( o. S. Z: E* H% z  r! B! b. I0 R
  341. ; Default: Off' G  e/ J$ B0 R) `& O# @
  342. ;zend.multibyte = Off' K+ I: C3 T  x- U
  343. 6 N; ]  @/ G) I
  344. ; Allows to set the default encoding for the scripts.  This value will be used/ w4 O1 Y7 o2 D5 M
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    : N9 t) g  h. y5 }! l! n. t7 d  D
  346. ; Only affects if zend.multibyte is set.
    , G7 A( F  r- \. @& n% O
  347. ; Default: ""6 o$ _! q. q+ m# g
  348. ;zend.script_encoding =
    ; R7 A& u4 @9 n( A- p2 `. u# S

  349. % b  {9 z7 i5 ^# Q$ H( U
  350. ;;;;;;;;;;;;;;;;;+ e- A5 U( D. V1 v( _
  351. ; Miscellaneous ;% z% e# E( |6 o$ Y
  352. ;;;;;;;;;;;;;;;;;: Q' O: V4 R7 ~3 Y1 @( C$ }

  353. 5 q9 q3 c7 X4 K0 O2 T
  354. ; Decides whether PHP may expose the fact that it is installed on the server* z$ }+ ?0 G0 e# r# |& d" w
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    - c" |" G8 h: C/ E5 g; t
  356. ; threat in any way, but it makes it possible to determine whether you use PHP  u/ a: x$ y$ g% h. G9 N/ n
  357. ; on your server or not.
    3 A: a: M6 i- l5 t( ^9 g
  358. ; http://php.net/expose-php
    4 k9 N1 o) O$ ^7 v0 x) ]1 _+ ^
  359. expose_php = On
    0 C+ w: @$ e. W* z% a

  360. & Z$ T# b/ ~3 `! {" v2 |
  361. ;;;;;;;;;;;;;;;;;;;
    4 O6 V! \  x! O( g6 U4 j
  362. ; Resource Limits ;
    + Q6 W- d- I8 d; ]
  363. ;;;;;;;;;;;;;;;;;;;
    ; e4 m! Y1 x( C. ]( z- ]1 W
  364. + n, E2 _. s+ H2 Y( x% M; ~$ _8 a
  365. ; Maximum execution time of each script, in seconds
    ! ?/ p- V7 c) R, s5 r
  366. ; http://php.net/max-execution-time
    1 ]6 d* B: `' g$ N8 L6 F8 Z
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    $ g: X3 q2 Y& Q8 L, j
  368. max_execution_time = 3001 f% t; Q: }9 f" n! _

  369. & L5 B$ d- B# }
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    + ^* b6 d5 O1 J# @- \# e' c. j
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    % X% e8 Q# I4 C/ m
  372. ; long running scripts.# a# l# R4 E7 \; o: k0 ~
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    " ]8 O' P! C* \2 }7 n4 s! y! |: m
  374. ; Default Value: -1 (Unlimited)1 u; t8 o5 j% d) `& O, k
  375. ; Development Value: 60 (60 seconds)
    . {( `. V# ~) {% U  n2 Z
  376. ; Production Value: 60 (60 seconds)# C) B& c5 {7 O6 I; R+ G
  377. ; http://php.net/max-input-time9 L- s( X2 _7 a: U/ u' y! y$ `
  378. max_input_time = 60
    2 K" b' j1 a  e) j- q
  379. + i# p& {' Y+ s: x' D
  380. ; Maximum input variable nesting level
    0 ~8 M6 _7 s- k. h7 T9 c
  381. ; http://php.net/max-input-nesting-level  g0 o! P8 Y3 f* S- E/ N0 _- R
  382. ;max_input_nesting_level = 64) g' ?: n& g8 d) I6 q( n
  383. 0 A3 _; N. l; f$ E2 N' o. p- l
  384. ; How many GET/POST/COOKIE input variables may be accepted
    1 O  O1 q# W, X" {7 M8 R; O
  385. ; max_input_vars = 1000
    2 [/ O8 ?4 n( p+ @

  386. 1 ~0 V8 }) g2 [
  387. ; Maximum amount of memory a script may consume (128MB)
    ' s& z, m/ g# i& w
  388. ; http://php.net/memory-limit" M# \/ N8 C" n3 J! \; L/ f) V
  389. memory_limit = 128M1 q! _4 [: d9 @. Z9 {0 G

  390. ! k, ]9 i, _) H2 `# q1 m+ ^  Y1 [
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8 J6 Y6 @. d, U" r
  392. ; Error handling and logging ;
    0 w8 o% i5 y1 `2 C/ X/ R9 ~' I
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    / |" h9 I) Z% j# T# y! g* v/ e
  394. 0 v. `' w+ o3 {9 X2 p- {8 _) ?
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    + Z( d" [/ {" F1 \; e
  396. ; it to take action for. The recommended way of setting values for this
    2 z! B/ W1 M) M4 d9 S" M
  397. ; directive is through the use of the error level constants and bitwise1 j8 V1 c( B0 o4 k
  398. ; operators. The error level constants are below here for convenience as well as% O1 f2 G2 v+ V! _& {
  399. ; some common settings and their meanings.- W: l' z; I3 A( E% f* D
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT* F7 H) ]% h$ H
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and& v- `- m1 {$ n& I2 ^
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    8 V) U9 e! S& _% p" p/ z
  403. ; recommend error reporting setting. Your production server shouldn't be wasting. _" O7 t5 d: e8 H8 M
  404. ; resources complaining about best practices and coding standards. That's what- j' Y7 ^) }) l! u4 M: E; I
  405. ; development servers and development settings are for.2 K8 \6 c, s1 H1 Y0 n, [% Q2 X
  406. ; Note: The php.ini-development file has this setting as E_ALL. This" d& B% E+ t* r: s' w2 f
  407. ; means it pretty much reports everything which is exactly what you want during
    0 P, c- M, H$ ~8 r$ R
  408. ; development and early testing.
    8 ]3 e+ ^/ J& k4 F: I2 L4 c' v% E
  409. ;
    - j" L. g0 T1 f/ n" A: e4 z
  410. ; Error Level Constants:
    - U- J; h0 l8 ?) H  i: b
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)9 g  H* {4 B( _
  412. ; E_ERROR           - fatal run-time errors. u5 [5 Q3 R% q9 p8 j3 t
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    7 A/ O( O8 F4 m0 w! [0 y+ a
  414. ; E_WARNING         - run-time warnings (non-fatal errors): W4 z% @( z! T% F/ a3 g; ]( u; y( a
  415. ; E_PARSE           - compile-time parse errors; q; h4 `* Q) ]; o
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    7 T# S; `; ^; ]6 I
  417. ;                     from a bug in your code, but it's possible that it was
    & B7 a2 G& v$ S4 M
  418. ;                     intentional (e.g., using an uninitialized variable and
    " t+ R) _5 m% G! S" Q
  419. ;                     relying on the fact it is automatically initialized to an
    4 o6 y3 H( h9 I5 U- n  V
  420. ;                     empty string)% k/ A0 R: ?; Z) Q6 E) T
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    1 `' ^5 y; ?( L. s  m" K( c. F
  422. ;                     to your code which will ensure the best interoperability
    6 }1 A" x# G! ~' G( ]5 t! i" P* M
  423. ;                     and forward compatibility of your code
    . ?: L" w- D4 }, `7 k& \
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    5 q- S6 v& }) u7 _6 C2 B0 J/ w
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's1 D/ ~' |- {: P/ U9 U; U
  426. ;                     initial startup& O) G0 W0 t! r
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    0 C+ C. z4 }4 }+ {* M+ ~1 G  }
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    , q5 R5 M: c7 [7 r9 P6 K
  429. ; E_USER_ERROR      - user-generated error message
    / Y3 L# e1 }! t4 b( P2 |) n5 q! z& y
  430. ; E_USER_WARNING    - user-generated warning message
    ' G9 K. U0 _& L: p! H
  431. ; E_USER_NOTICE     - user-generated notice message
    6 a: S8 V- E: A/ |6 m$ g
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    , b; A, w) d: d3 s& n8 H
  433. ;                     of PHP5 O. E; r0 a8 _) P
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings9 k- G# c  O' L: L6 E1 V+ u1 P
  435. ;
    3 d, m4 z0 o4 O$ f- [
  436. ; Common Values:) D9 D1 P* E# k' v5 ]8 b
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    8 q" _* D0 T* Z* j7 K/ V6 p
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)' L; O, C5 V; S; P) F$ |7 d5 v0 B
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)7 d, W/ s- }1 c# e5 [' r
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    0 c) {3 S. }: l9 x/ G
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED) @) j' ~- H+ E
  442. ; Development Value: E_ALL$ J% D( A  z4 a7 P
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT. Q1 l& ]4 o, u  v% p. n, x' o3 \/ c
  444. ; http://php.net/error-reporting
    - u  ^7 W+ E  h9 o! i
  445. error_reporting = E_ALL & ~E_NOTICE1 I; B* j. c$ _0 y! o$ o

  446. : [8 c8 @! ~) \- z4 q
  447. ; This directive controls whether or not and where PHP will output errors,4 K, w8 |6 {" D- ~6 M
  448. ; notices and warnings too. Error output is very useful during development, but
    * _. m" C) I2 f/ c) c) Y. B: T
  449. ; it could be very dangerous in production environments. Depending on the code4 {3 s$ K- K$ q( s- Y
  450. ; which is triggering the error, sensitive information could potentially leak- ?1 y3 C- N6 w  q
  451. ; out of your application such as database usernames and passwords or worse.
    7 |  E/ l; r4 t- R( G& A
  452. ; For production environments, we recommend logging errors rather than
    4 v4 D# n% _2 t5 C8 u7 R( q9 A
  453. ; sending them to STDOUT.5 N1 e, c, l1 M: A1 n9 D/ p
  454. ; Possible Values:
    * R" [" u3 b0 L$ R
  455. ;   Off = Do not display any errors1 W1 u) f! x' i1 A
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)3 i6 h  P- {0 K* ?
  457. ;   On or stdout = Display errors to STDOUT& c8 L+ k) \+ i! x& s
  458. ; Default Value: On
    ) n3 w- |  _6 D" t! s
  459. ; Development Value: On
    ( I, o# m; x* N4 K5 m
  460. ; Production Value: Off4 [! |+ Q8 G4 c' ?8 ?9 y
  461. ; http://php.net/display-errors) r( A' a2 I+ Z, \/ O$ x3 x
  462. display_errors = On
    ' U% O4 Q; @2 U: a( G4 W
  463. , p- O4 |! k  [& _( N/ T: v" y
  464. ; The display of errors which occur during PHP's startup sequence are handled
    4 M% N- J) p" i' @9 f' _% c
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    & ]+ G$ @% v+ i- @
  466. ; errors from clients. Turning the display of startup errors on can be useful in7 G6 G" o% q4 o" @3 l4 P
  467. ; debugging configuration problems. We strongly recommend you! u+ _: Z3 G) j6 `! E* j
  468. ; set this to 'off' for production servers.
    " X' N! \$ J8 O' U
  469. ; Default Value: Off
    8 k) L8 A  D) @  ?8 }8 R3 n/ P
  470. ; Development Value: On! e1 R) u  }& F/ @! x
  471. ; Production Value: Off1 q% t& Q$ M6 A& i4 d* a
  472. ; http://php.net/display-startup-errors' t+ _2 u3 P- W# }8 D
  473. display_startup_errors = Off
    ; R+ D' W2 x) n6 @2 J+ O% O7 G4 x
  474. 6 \. U. z$ E2 D/ m
  475. ; Besides displaying errors, PHP can also log errors to locations such as a3 w% `# h- }& t8 \- [7 e
  476. ; server-specific log, STDERR, or a location specified by the error_log
    4 ~; F! Q# @7 {5 t1 M- z( y
  477. ; directive found below. While errors should not be displayed on productions
    8 U4 |+ M* W& ?. t, r7 I3 q
  478. ; servers they should still be monitored and logging is a great way to do that.
    & |0 o% A/ B( k: W; \
  479. ; Default Value: Off1 Y8 y6 T% M9 ?8 d
  480. ; Development Value: On
    8 ], w' r$ f3 y+ a& @
  481. ; Production Value: On
    8 k/ T! C' D% a3 k; e- K4 m1 v3 I
  482. ; http://php.net/log-errors- b9 n$ d0 G0 A1 ?' E0 _+ B9 _
  483. log_errors = On* p$ c. b; h: t$ j  b# A' X/ q
  484. 1 q, r* [5 t. y: Q8 z
  485. ; Set maximum length of log_errors. In error_log information about the source is4 r: [4 |' j8 p& u5 t
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.. f0 c& h. h% B( O* {
  487. ; http://php.net/log-errors-max-len
    7 j/ W) D' t/ P
  488. log_errors_max_len = 1024# R. C3 r) v% z
  489. ' k; X7 Y0 y5 t/ }9 A
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ( V( J& C; d9 B  _4 \' A; S# W
  491. ; line unless ignore_repeated_source is set true.
    5 L% _: ^0 I2 A  W0 j; c
  492. ; http://php.net/ignore-repeated-errors
    : `4 B# ~; ]& R
  493. ignore_repeated_errors = Off
    : I$ W; V0 m0 F
  494. $ O( R9 a* X* m3 s4 x
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    8 t! i- G$ `! I( A
  496. ; is On you will not log errors with repeated messages from different files or0 R6 A& F5 v' |+ T
  497. ; source lines.
    " a4 E6 a5 B' i3 L8 F. j. b  o) b2 f
  498. ; http://php.net/ignore-repeated-source& V( D( v, ^- \0 b
  499. ignore_repeated_source = Off3 A! K! J; G$ C7 Y: @
  500. ! B! }) O( `/ E" ~1 v
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ( l9 H. a  n% r( q4 L2 W! C
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ) L8 C; n5 B. z0 M- l( `# o
  503. ; error reporting includes E_WARNING in the allowed list2 ~' T6 z/ }  B
  504. ; http://php.net/report-memleaks
    2 d: j$ G. H/ x, X* x( ^
  505. report_memleaks = On2 I! u' L# v7 P% A! u7 r) ~

  506. 2 s+ V/ [: x9 P; R. \
  507. ; This setting is on by default.
    + \5 }6 K8 Y$ w( |1 `" O
  508. ;report_zend_debug = 0# n1 P5 |6 f& u  J4 h5 {5 n9 I

  509. / z2 @0 H6 p# k
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ! p6 m) {  `, [
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    3 W+ K7 U, m+ f
  512. ; however be disabled on production servers.. s6 i0 K5 B1 y: _" x3 x
  513. ; Default Value: Off
      J" R5 e  ~. O
  514. ; Development Value: On9 y) ^2 G& j7 M
  515. ; Production Value: Off% a, K: Z  M0 n/ U( ^6 B: z
  516. ; http://php.net/track-errors9 n% T. p9 z2 g" Q  u( s3 X1 C
  517. track_errors = Off$ r3 |. j5 }3 o' y) Y+ d9 t' @

  518. / S& u) Z( L7 Q
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    5 ^0 s. [  f" q* \' N: I
  520. ; http://php.net/xmlrpc-errors
    " b: o4 C7 o; L: C  p# g
  521. ;xmlrpc_errors = 0
    0 C" Y2 l" w3 k* i
  522. ( t9 b& r! x7 @- M
  523. ; An XML-RPC faultCode
    ( n$ r5 u8 y' L, r8 g8 P! {
  524. ;xmlrpc_error_number = 01 S* N9 x1 g4 U  e. z  h, E

  525. * H- g$ x4 o8 _( F* Z3 ~" u; V4 r
  526. ; When PHP displays or logs an error, it has the capability of formatting the- W  _2 L- w6 @+ C& X
  527. ; error message as HTML for easier reading. This directive controls whether
    4 @, v4 |: L  Y* _6 C
  528. ; the error message is formatted as HTML or not." Y5 Z7 ^) \3 d7 i7 W7 J0 _; c
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI: M& |3 }+ w/ J5 H
  530. ; Default Value: On8 J/ H  Y6 v) `' }: X+ u
  531. ; Development Value: On+ v* u  B' N9 s9 j5 m1 v. a- @
  532. ; Production value: On' H! d* e# U2 M4 G% r7 [
  533. ; http://php.net/html-errors8 y( e. k6 B# `0 }8 \# o
  534. html_errors = On
    - q; E# x( _* Z" w( B, Y: n2 X

  535. ' ?; E' Y/ a' R8 D3 Q2 P
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ; t* o7 G" f" Q" c5 l
  537. ; produces clickable error messages that direct to a page describing the error) e9 p. N/ D5 ]& ]& y7 g3 V
  538. ; or function causing the error in detail.; g  Q! F% |% E) s3 `
  539. ; You can download a copy of the PHP manual from http://php.net/docs9 L5 D  D: W0 \: D" ^
  540. ; and change docref_root to the base URL of your local copy including the1 C3 C9 P8 y. V# n
  541. ; leading '/'. You must also specify the file extension being used including. C0 S# ?; M* K1 m6 ?1 C1 V
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    / _% S& f& e, o) A& W$ |
  543. ; case no links to documentation are generated.( b' ?4 U' e  F! \7 D, y
  544. ; Note: Never use this feature for production boxes.4 b, U% l7 u8 x5 p' U! @3 J
  545. ; http://php.net/docref-root5 {# _4 p1 N9 c" k9 `
  546. ; Examples
    ) R+ a2 }  S8 c  N0 o& ~
  547. ;docref_root = "/phpmanual/", \8 Q6 j' `+ w# }; Q

  548. " M% B( W" c0 }8 ?
  549. ; http://php.net/docref-ext' B3 O* j7 e1 z
  550. ;docref_ext = .html6 M, O6 C3 e% u2 J
  551. 2 k) B7 |  J* V9 l! A3 Z! G& Z
  552. ; String to output before an error message. PHP's default behavior is to leave
    8 m3 A7 j; z$ ]/ g+ P" A7 ?
  553. ; this setting blank.! G, ]/ e. x6 a% \( F
  554. ; http://php.net/error-prepend-string7 b$ v% ]! u, D7 D7 c! |9 ~
  555. ; Example:
    . s" [: w0 N6 M6 o4 q. E
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    ( c% P% D+ h; R' h8 [4 q1 T

  557. ) y3 W+ W1 x7 s5 d) A. B
  558. ; String to output after an error message. PHP's default behavior is to leave: T! t  ~6 v: C
  559. ; this setting blank.
    1 T  v4 K6 G) p. _6 i
  560. ; http://php.net/error-append-string
    . i) z6 O) m& |; T8 Q5 ^
  561. ; Example:
    9 z- D# P+ `8 @5 Z* W! k3 Z8 n
  562. ;error_append_string = "</span>"
    5 ~2 }4 |+ I* h

  563. ) w" {& R+ A, |* n. }; V2 i; p
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    / j3 U. e* m5 W/ ^) [% O
  565. ; empty.
    4 X5 ?! k) g  g8 z; e9 u0 ?
  566. ; http://php.net/error-log# r. B/ r* f3 l+ d* g  O, L* `5 y! Z: A
  567. ; Example:
    2 i3 B8 V( v3 U: H, _% v# U
  568. ;error_log = php_errors.log( `+ o) e9 B6 E- ?  t
  569. ; Log errors to syslog (Event Log on Windows).6 Y* F. a- Q6 j; o9 ^% [2 ]
  570. ;error_log = syslog2 o+ L2 r) L) C- y

  571. " K( D4 |  Q+ J* f
  572. ;windows.show_crt_warning
    3 z7 w) L2 a# n/ c* N: |3 }, ?
  573. ; Default value: 0
    6 s" P, z  G9 {; v" s3 {
  574. ; Development value: 0' }& [* E3 R4 T: X4 b; s
  575. ; Production value: 0! j% z6 F/ R4 g
  576. / |5 _9 S* f+ E# R3 G
  577. ;;;;;;;;;;;;;;;;;
    : k$ r& X- O  m3 ?  J
  578. ; Data Handling ;: z1 j/ i- W9 g: S4 z$ K
  579. ;;;;;;;;;;;;;;;;;
    + T* f7 {7 T1 o- D

  580. $ q8 V9 C; m% g; I/ a( ]; m
  581. ; The separator used in PHP generated URLs to separate arguments.1 O  [7 I8 z3 \" C/ i9 g0 x' \: f
  582. ; PHP's default setting is "&".5 n( N5 g9 V, Z. h' C, [' _. r
  583. ; http://php.net/arg-separator.output7 o6 O* z, e: a; B7 T& X
  584. ; Example:
    & A7 k$ W* _) _+ {! t
  585. ;arg_separator.output = "&"
    5 F+ L5 Y  A5 [2 Y6 p8 j

  586. , {7 n& c# Q+ ^9 J, ^9 n7 F; T8 t
  587. ; List of separator(s) used by PHP to parse input URLs into variables.9 ?( G/ D" S1 q" W. G9 F/ K
  588. ; PHP's default setting is "&".
    - d1 r! t) A% d0 N' j
  589. ; NOTE: Every character in this directive is considered as separator!8 }9 A  r! z( t  r$ ?
  590. ; http://php.net/arg-separator.input
    & Y2 Z% _( q2 o3 n- K6 i
  591. ; Example:
    6 U9 o. ]$ \- M$ c8 M4 J& B& ?
  592. ;arg_separator.input = ";&"
    4 \: t; y, e% J# k4 c
  593. ' n; h' ^3 n; S2 q
  594. ; This directive determines which super global arrays are registered when PHP% J, E) t) i0 }3 I6 Q4 z
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super8 v8 ^8 _% t8 c/ ~% X
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty; ^5 w1 m- ^# b
  597. ; paid for the registration of these arrays and because ENV is not as commonly0 P4 Z$ t  R  }. u7 j& W
  598. ; used as the others, ENV is not recommended on productions servers. You
    4 P9 x1 w2 m3 x/ V9 e: r) b; z
  599. ; can still get access to the environment variables through getenv() should you. ?, s, X# d6 E; v2 [& u( p
  600. ; need to.
    7 C5 h1 o/ k! p# c* A# g/ `2 F2 w
  601. ; Default Value: "EGPCS"
    3 S5 @  Z/ {6 \2 O. y( B+ _
  602. ; Development Value: "GPCS"
    4 U& L' X/ x& i1 J( i
  603. ; Production Value: "GPCS";
    2 X- m7 b" K' W' u" F! o
  604. ; http://php.net/variables-order
    ' w2 J0 r" \8 b# G$ f
  605. variables_order = "GPCS"
    : n! G& j- A6 b. {7 M3 b
  606. , A% h5 H0 A+ Z8 h
  607. ; This directive determines which super global data (G,P & C) should be8 y* K' J9 u4 T' r! O* |
  608. ; registered into the super global array REQUEST. If so, it also determines
    " X, w$ p  I% t
  609. ; the order in which that data is registered. The values for this directive; }; S3 e% R7 }' D5 Z1 R2 P5 \/ C) c
  610. ; are specified in the same manner as the variables_order directive,3 j1 @  p1 L) {/ r) T
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    7 s, y3 S  h9 ^4 W
  612. ; in the variables_order directive. It does not mean it will leave the super
    ! ]% `5 v8 k) }% s9 c8 l% E
  613. ; globals array REQUEST empty.
    ) t3 O% O6 X1 B5 I
  614. ; Default Value: None
    5 Y) ^7 D' e- @$ W7 B
  615. ; Development Value: "GP"
    : d6 j5 a$ G0 s0 F
  616. ; Production Value: "GP"
    . \3 I" W) J+ i: r% u
  617. ; http://php.net/request-order* X% B, |# G% G. d/ H
  618. request_order = "GP"0 K! |; |. h' |8 n3 s
  619. * i4 u0 R: {+ B8 v, i2 ~8 k
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    7 ]( g6 ]' v* y7 H, V+ {
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    , ?& M. k, d) B) V# |7 k# p. {$ }
  622. ; is invoked. $argc contains an integer representing the number of arguments
    1 ~+ M& \7 q7 E0 q( P8 T
  623. ; that were passed when the script was invoked. These arrays are extremely% h7 v6 H* t/ t! {
  624. ; useful when running scripts from the command line. When this directive is* J: z% {$ q( L! H+ \
  625. ; enabled, registering these variables consumes CPU cycles and memory each time8 [( J* c. z  O
  626. ; a script is executed. For performance reasons, this feature should be disabled
    7 Q5 F$ T- q1 i4 E
  627. ; on production servers.
    7 b" w. a. e4 j- d- J4 r* S4 n
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    * H, Q+ m/ |/ q) j, W1 e
  629. ; Default Value: On( A4 L/ ?8 Y1 E2 _7 `- e: n
  630. ; Development Value: Off
    # A$ M7 ]" \5 l/ N
  631. ; Production Value: Off
    # ~$ E: ~4 m$ A  G8 O. E1 j1 t5 F
  632. ; http://php.net/register-argc-argv. K& }4 C1 E( p; q. c: F
  633. register_argc_argv = Off
    7 a8 u. l0 v' H1 Q( g
  634. / I/ S" ?& [- m* ^; V
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    $ ~* Z1 ?" q- @1 U
  636. ; first used (Just In Time) instead of when the script starts. If these
    & O0 o) f* E" M# y
  637. ; variables are not used within a script, having this directive on will result
    4 a9 ^. z0 u( h* s
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    3 i; J% B3 T- m9 {; P7 X
  639. ; for this directive to have any affect.
    # C" X7 i3 L# e0 g) N* k) k
  640. ; http://php.net/auto-globals-jit
    % ~6 B( z7 m  @  T; Q
  641. auto_globals_jit = On( A3 V  r- y, n# A; d

  642. " x' f1 i- J/ x2 k% T
  643. ; Whether PHP will read the POST data.
    * l4 i& i1 z, C4 ]
  644. ; This option is enabled by default.+ i5 T+ _, ]& r" ?5 j- S) X5 ]
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST0 A+ s+ h% L3 i0 F
  646. ; and $_FILES to always be empty; the only way you will be able to read the  t/ B1 S( h8 X- W. V9 ?; ?! s) z
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    , z/ ^6 z. [- j- t
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.8 g' y  W, V2 _7 L% V5 ]" K. W/ z
  649. ; http://php.net/enable-post-data-reading0 }) d+ W0 V1 N8 b$ o
  650. ;enable_post_data_reading = Off
    - ?8 a4 s: b/ k% e9 g' p1 M3 j
  651. 1 k- n" @2 m7 ?1 G: m
  652. ; Maximum size of POST data that PHP will accept.
    6 {$ a3 y; p* s7 ?  A& e" s4 {
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading$ Z8 J/ E2 f  {; U1 z4 j4 z
  654. ; is disabled through enable_post_data_reading.
    - P# @( }' F2 I) m: l
  655. ; http://php.net/post-max-size
    2 ]6 `! ?. Y* H- m/ v- o: c
  656. post_max_size = 50M& ], B3 Q/ n# e3 x/ ~
  657. - @- g6 {, A2 z! F
  658. ; Automatically add files before PHP document.4 x' V3 h! l' {; w8 U$ w7 C
  659. ; http://php.net/auto-prepend-file% b& S; R6 B! p0 a
  660. auto_prepend_file =5 I5 q0 _2 ~# M1 _

  661. 0 V4 T9 N7 p9 T3 E
  662. ; Automatically add files after PHP document.
    ' w6 ~3 O9 _/ Y2 C$ f' Y9 v
  663. ; http://php.net/auto-append-file& O% [2 T3 U3 j+ }& k4 Z1 K& L
  664. auto_append_file =
    7 r7 A% @* b; p/ s3 A

  665. ; g9 R; b5 E7 [$ u
  666. ; By default, PHP will output a media type using the Content-Type header. To
    - }7 w9 }) s# ^* m0 ?
  667. ; disable this, simply set it to be empty.
    * R) c# Q# T$ |" M5 c9 i" F
  668. ;
    % _% @6 d9 E. h! k* _
  669. ; PHP's built-in default media type is set to text/html.
    " @- q) A7 ]( U$ s9 O
  670. ; http://php.net/default-mimetype( k& z% U  o1 @& A5 f: W9 f
  671. default_mimetype = "text/html"7 n0 n/ w( c9 i! q# A: F9 I, ]
  672. & q/ U3 E9 T! `! e& k
  673. ; PHP's default character set is set to UTF-8.
      y1 P6 u) h/ k
  674. ; http://php.net/default-charset
    : T9 P3 _( @- y3 P7 D3 f
  675. default_charset = "UTF-8"
    $ q2 n. B9 v5 U

  676. 5 ~& I1 x: |, ]9 p. g2 x$ h
  677. ; PHP internal character encoding is set to empty.
    ! W% A! L2 s1 h; w
  678. ; If empty, default_charset is used.
    0 M( F- Y, I8 l& Q/ N
  679. ; http://php.net/internal-encoding7 Q: D) B  t4 b$ C3 U
  680. ;internal_encoding =
    ' S0 J8 h+ M1 Z5 g
  681. 3 L0 A& N7 G* O- }
  682. ; PHP input character encoding is set to empty./ E- V( z! {* v& r7 y8 R
  683. ; If empty, default_charset is used.8 O% x0 v5 K8 Z) X3 F/ F, f! \
  684. ; http://php.net/input-encoding8 {5 k+ g7 ~) \  `$ c/ @/ U
  685. ;input_encoding =& V# I9 O* E) b
  686. & E8 `$ M% K% \1 b9 O
  687. ; PHP output character encoding is set to empty.
    2 t$ Z4 R" u" n" Q6 {
  688. ; If empty, default_charset is used., U. J/ ~  B8 U3 }
  689. ; See also output_buffer./ G: D4 p- P; J+ k
  690. ; http://php.net/output-encoding4 v. U' T; K0 ]/ T  R/ c+ i# K
  691. ;output_encoding =
    % f) Q' G7 ?# b2 H$ U- s$ L, [( W
  692. 9 Y7 t! L, Y6 ?& U
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;8 a8 L. z7 u8 F4 Y; T
  694. ; Paths and Directories ;3 b: X* l2 d6 c0 Q
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    2 c9 v: e7 B) O& Y) _
  696. , x; w, }. }6 r) T5 C
  697. ; UNIX: "/path1:/path2"& J8 j  j! t6 r9 W( Q. [
  698. ;include_path = ".:/php/includes"; f5 k) G' p$ S7 a5 Y$ l
  699. ;- b  }! @5 ^' r# f
  700. ; Windows: "\path1;\path2"9 Z; k, i3 P0 b  c9 O
  701. ;include_path = ".;c:\php\includes"
    ( [3 {! Y/ z( o0 ?+ c0 S) B
  702. ;9 b( y4 }1 B. S  z* y
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    + s& `  J5 d9 E
  704. ; http://php.net/include-path
    6 r3 l3 d0 R, {
  705. . @& [; F+ z% U
  706. ; The root of the PHP pages, used only if nonempty.- F; R# R% w. ~( s
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    2 f, z1 e5 _- Q4 B# {. t! X& I
  708. ; if you are running php as a CGI under any web server (other than IIS)2 Q6 S$ m9 k3 `1 n, u
  709. ; see documentation for security issues.  The alternate is to use the
    . G) A# }1 k* Y* Q
  710. ; cgi.force_redirect configuration below7 o! P7 O$ z# K2 i" ^9 \
  711. ; http://php.net/doc-root  X% t5 `7 K& f2 D3 E" h$ I) n
  712. doc_root =3 m, A( a$ a5 r1 u3 Z- m+ ]; m
  713. ! i& `7 E- D" e3 g1 `9 j
  714. ; The directory under which PHP opens the script using /~username used only" ?5 _9 f, ?, I6 u& t
  715. ; if nonempty.
    7 R6 Y4 e; Z6 x+ S0 O( }2 `1 r
  716. ; http://php.net/user-dir
    : c, B# d0 A1 c2 Y& t5 Y
  717. user_dir =. U  u" F8 H4 w( @

  718. " i. v$ {( E; Z( J6 G
  719. ; Directory in which the loadable extensions (modules) reside.2 |5 t  [; I" O6 b" W: i
  720. ; http://php.net/extension-dir
    ( c$ K, m/ W* I
  721. ; extension_dir = "./"
    & Q  u* r1 ^$ g9 ^9 q
  722. ; On windows:
      h6 I! v" b) W
  723. ; extension_dir = "ext"$ ~0 @1 Y! K; d

  724. 0 K: k4 H2 K1 K2 r
  725. ; Directory where the temporary files should be placed.- {3 v" S: k4 q) P& E/ T
  726. ; Defaults to the system default (see sys_get_temp_dir)+ j0 o6 x( p0 o0 g/ X, @
  727. ; sys_temp_dir = "/tmp"( A" h' N/ z' p' O- D: C4 S$ H

  728. # }, m$ W) O; W* ^( B: J( m
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work& ^; W# w5 I* \2 W
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    & l. d% w/ @6 X; W
  731. ; disabled on them.
    , y3 r' ]- o; u- N( n0 G4 _
  732. ; http://php.net/enable-dl7 |. F4 F, I* v
  733. enable_dl = Off+ y9 \1 ?  l, Z2 P/ [2 i1 u. W

  734. : ]9 Q( G' a$ \2 J' t& ?. {
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    3 K3 g9 m5 K9 ~( e6 y
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can' \# s# i; I/ z( r
  737. ; turn it off here AT YOUR OWN RISK( \: u( j2 [. F' `# w# {
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    8 P7 D# }& Q1 |1 u- P
  739. ; http://php.net/cgi.force-redirect
    $ S+ X7 i/ q% L5 `1 Y0 H' l
  740. ;cgi.force_redirect = 14 i( s1 e; v( v

  741. # Y7 s7 G& K4 S
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with: F# J6 ?6 B4 j. u: u$ u
  743. ; every request. PHP's default behavior is to disable this feature.0 Q: q+ u) Z4 ?& u( u8 L; s  K
  744. ;cgi.nph = 17 j5 A6 C# m) v! J+ f4 U6 H3 Z: E

  745. 8 }9 ~9 h, B  p' h
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    , F! o  t8 p, V. \" V% B
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    $ o3 m- P! }. O" j4 M* _
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY5 Z2 n' _% B+ f# C
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    9 k5 e* E) x/ w
  750. ; http://php.net/cgi.redirect-status-env
    8 H! ?# N) G& a
  751. ;cgi.redirect_status_env =
    5 d* B  Q! e) _- }$ U$ v
  752. ' h/ U  I- C0 `& @1 c
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    1 x& S; |' J8 V4 ~0 ?! q: X! e. y, a
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok" d" ~$ N- K3 U8 ?, P, E; u
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ! ~8 V. y( j  D. x; X9 [& N5 _. J' s
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    : o5 A* {! C6 y$ ~$ e' p6 p" ?
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts" y. G( q% T/ ?% H. M$ T' r
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.& w  {; k$ L' X6 c
  759. ; http://php.net/cgi.fix-pathinfo5 B0 C) Z$ R9 a4 R) G) t5 v
  760. cgi.fix_pathinfo=1
    / y( ~) i% d' m- x( ~+ L  t) i
  761. 2 n9 p) d& O8 r! p% h- l
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside5 T1 |' d4 A" g5 b/ k3 [
  763. ; of the web tree and people will not be able to circumvent .htaccess security.& L4 r7 t! Y% ^1 v' L% C. Y1 U1 m
  764. ; http://php.net/cgi.dicard-path
    " m- H. c- D; ^( S
  765. ;cgi.discard_path=19 z4 S9 K% e4 B+ M/ Q. L
  766. 0 k- Z3 T3 w# W" K' }
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate! w; T$ \# R7 b' b2 I& d
  768. ; security tokens of the calling client.  This allows IIS to define the: S( i8 l# Y& s8 n/ l
  769. ; security context that the request runs under.  mod_fastcgi under Apache2 L8 x& R1 I8 ~
  770. ; does not currently support this feature (03/17/2002)
    " }  c  b- E1 J( ~: l2 a8 A
  771. ; Set to 1 if running under IIS.  Default is zero.0 I! r* Q4 ?- I$ Q/ ~
  772. ; http://php.net/fastcgi.impersonate! y2 p9 S2 _! A5 o7 t. l
  773. ;fastcgi.impersonate = 12 z3 B3 b3 m  x* C% ?: t
  774. 1 K. ~: J2 W. d( F: @# L  b
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ' t0 r- d' y/ Q2 F3 y( H6 o. y. Y
  776. ; this feature.
    & I! U; n$ v; B8 r
  777. ;fastcgi.logging = 0! ?  ]1 O$ ]9 N$ e/ b$ J! u6 q

  778. " V7 U% m3 w" v) c! y
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to( P; @  X& T2 X- V" `: S
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that- e8 y* e! S- I: I& [8 U
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    / a( c, M; p/ q% e6 I
  782. ; RFC2616 compliant header.
    - {% B$ `) v: o& l* N* n
  783. ; Default is zero.8 C- Z+ m8 X7 I' X
  784. ; http://php.net/cgi.rfc2616-headers$ e, c1 v+ L; p7 j
  785. ;cgi.rfc2616_headers = 0  `  M5 @* c& F

  786. $ Y( a. h, m; v3 C
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!% z9 y( x7 {  `0 }: X3 k
  788. ; (shebang) at the top of the running script. This line might be needed if the4 @4 P' i) ^$ B
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    , J" o4 Z8 ?1 @* U) z% s3 H
  790. ; mode skips this line and ignores its content if this directive is turned on.0 q" l$ o# z$ ]. V. E9 t0 f- V
  791. ; http://php.net/cgi.check-shebang-line( l; ~' r( j+ M/ x" g& Q
  792. ;cgi.check_shebang_line=1
    0 I! P& F. f7 x! q$ b* s" n8 q: T

  793. ( n# s9 `- `6 V) H) z( q3 x
  794. ;;;;;;;;;;;;;;;;
      O" s6 Z. l' P2 v! z
  795. ; File Uploads ;
    , _% Y, Q( {* P9 u, ]4 [$ \
  796. ;;;;;;;;;;;;;;;;
    3 ?& a! n0 H# {0 v

  797. 5 {, m( b* ?4 k& _
  798. ; Whether to allow HTTP file uploads.* ?" U# L5 ^; s# W6 e, I
  799. ; http://php.net/file-uploads
    " q; o( Q1 X, ~: G
  800. file_uploads = On+ F: \/ Z  c  k7 x4 U2 s& e7 y

  801. + y0 x; B6 R& X6 G, y3 X
  802. ; Temporary directory for HTTP uploaded files (will use system default if not! R5 V/ }/ k3 @+ A& u4 u6 O
  803. ; specified).
    " V4 b4 k& X9 R( @
  804. ; http://php.net/upload-tmp-dir( m& A6 c( j: s# u. D" _
  805. ;upload_tmp_dir =) G9 \3 v4 Q8 w" b- E5 r
  806. 9 x; E# v, J, M
  807. ; Maximum allowed size for uploaded files.
    3 ]. p1 K$ u+ b: H
  808. ; http://php.net/upload-max-filesize. A9 S( }) h% r0 [$ B' ?
  809. upload_max_filesize = 50M1 Q$ K2 R9 }; A: z5 X1 V, x

  810. 5 C) K1 C$ ]. ?' c) F; D
  811. ; Maximum number of files that can be uploaded via a single request/ I& m/ x& D7 Z8 |  n
  812. max_file_uploads = 20
    ' `4 s2 N: n( C( R# Z- I/ E
  813. 7 Y3 F0 u7 u) s
  814. ;;;;;;;;;;;;;;;;;;( _) Z7 b7 c3 {3 D
  815. ; Fopen wrappers ;
    : q$ U3 E1 }" A
  816. ;;;;;;;;;;;;;;;;;;* s- C3 _0 i- f9 j; H$ U

  817. 8 }. m: {* R7 M( n+ U: S
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    0 Z% l) X8 S4 X: c: j
  819. ; http://php.net/allow-url-fopen% M- j$ }" Q( q  q- b- V" X
  820. allow_url_fopen = On' R% I3 \( S4 X+ P; n* D

  821. % l# V$ A; P& ^% V( `9 L
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    % C$ N4 B1 Y$ c7 O
  823. ; http://php.net/allow-url-include1 M5 T0 ~# y$ ^7 u
  824. allow_url_include = Off
    / Y- e+ B9 p( I, F) b& ^

  825. 7 N4 s2 J1 D$ ^8 r
  826. ; Define the anonymous ftp password (your email address). PHP's default setting0 Q& I1 i2 b+ q7 t, O
  827. ; for this is empty.4 q9 k4 l' e. B1 {) g
  828. ; http://php.net/from- F3 N- F$ C# ^7 u
  829. ;from="john@doe.com"
    ; L+ A5 z" n5 q  r# f' x
  830. 9 k  ~4 L& B" z; P9 r
  831. ; Define the User-Agent string. PHP's default setting for this is empty.2 m$ U: @9 `4 Y4 @5 g  ]
  832. ; http://php.net/user-agent
    3 j6 T/ X0 G+ n9 C) G" E+ S5 T
  833. ;user_agent="PHP"
    8 V7 y4 F" S% a- O7 i, [

  834. . J* ~$ B# o) Q
  835. ; Default timeout for socket based streams (seconds), R. |1 u9 _4 L0 e8 v
  836. ; http://php.net/default-socket-timeout
    6 L5 V: a: F. k/ o
  837. default_socket_timeout = 60: T$ v( l/ A4 m" e: l
  838. / }. A) H7 x7 h" d9 s
  839. ; If your scripts have to deal with files from Macintosh systems,
    . D- m; n* J1 V6 q8 T2 P
  840. ; or you are running on a Mac and need to deal with files from0 Y' A. t! h7 j2 Q2 c) C
  841. ; unix or win32 systems, setting this flag will cause PHP to+ r2 C1 B- n4 n$ M
  842. ; automatically detect the EOL character in those files so that1 b1 h5 X+ A5 A$ y2 N% P; t; O
  843. ; fgets() and file() will work regardless of the source of the file.1 b. T5 C1 l0 e* I0 J
  844. ; http://php.net/auto-detect-line-endings. q  I: m5 n" W0 i" J  |2 s
  845. ;auto_detect_line_endings = Off
    + q+ Q* e0 g4 v' l
  846. ; y2 N2 r& z% X8 L+ Y* j& k/ f
  847. ;;;;;;;;;;;;;;;;;;;;;;
    ) J/ w) U; q( F. ~1 u! E
  848. ; Dynamic Extensions ;: C! q, E- H9 C4 {
  849. ;;;;;;;;;;;;;;;;;;;;;;$ F' f8 _! g+ B# m9 M5 @* d1 R4 I; I
  850. 5 C0 b0 ^( m$ h) j  L
  851. ; If you wish to have an extension loaded automatically, use the following. `( W( [" H3 b# B9 B
  852. ; syntax:
    4 N3 P7 J. J6 X/ P
  853. ;8 c+ |0 b/ n2 _4 ?" g) [4 |
  854. ;   extension=modulename.extension
    9 X6 ]( f1 u) Y# J
  855. ;
    4 L4 T% {. S. v% M( h; g
  856. ; For example, on Windows:
    9 {- L) [. _4 T- l' |
  857. ;
    2 `' D( T( E, D: o( V3 A' H& i% h+ j
  858. ;   extension=msql.dll
    4 R! j9 s- K# D+ u0 f* a5 u
  859. ;
    $ S: T4 Q$ Q0 ?* C- C
  860. ; ... or under UNIX:1 J3 U/ S$ v2 _  Z' x+ z" `# d
  861. ;
    1 D. ]& C0 D& v% D" a  ~. N! s
  862. ;   extension=msql.so
    4 A, s2 \  u. l8 Q' r- r' M
  863. ;
    ; G2 P- X- a4 t4 _: U" W1 E* I
  864. ; ... or with a path:( w0 Z8 O1 K# f
  865. ;- \! C  ?+ z/ Z1 X* A" p3 u
  866. ;   extension=/path/to/extension/msql.so7 x. @* _* C# x/ Z
  867. ;
    8 W/ F. C4 g/ D9 f3 O8 p0 A
  868. ; If you only provide the name of the extension, PHP will look for it in its; j2 N* L  B) {6 ^
  869. ; default extension directory.9 I6 |- h; r: \0 \' a3 r" B
  870. ;
    ! ~7 J5 t6 s: o; [8 E, Y$ V
  871. ; Windows Extensions
    % N& K) b- r8 G. I$ |$ }
  872. ; Note that ODBC support is built in, so no dll is needed for it.: _6 q' R! t+ H* z7 w" g
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)- D2 J- I! Q: y0 X, m: [: g
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    2 f5 W6 ?0 X8 g1 V8 S: F
  875. ; Be sure to appropriately set the extension_dir directive." F7 c# t1 m& W. \
  876. ;
    % P* I" i8 l. B+ s  a
  877. ;extension=php_bz2.dll
    3 d5 p+ Z( s+ ~. i( A1 g2 I; X
  878. ;extension=php_curl.dll
      n6 x% v7 w& r" N' m5 C' G
  879. ;extension=php_fileinfo.dll
    ! W3 ?) }7 |, k3 i( T, L
  880. ;extension=php_ftp.dll- f$ o( {9 a( f
  881. ;extension=php_gd2.dll% w: X, V' v& f
  882. ;extension=php_gettext.dll" w" Z6 I) n  z. k3 C  [5 N
  883. ;extension=php_gmp.dll
    8 U7 V2 g9 C$ X/ I
  884. ;extension=php_intl.dll
    8 `7 Z0 K% B6 B3 }
  885. ;extension=php_imap.dll
    6 H+ J! `* o. H! n9 [+ [' Y1 A1 I
  886. ;extension=php_interbase.dll
    5 p  U: I; l$ C' D/ f
  887. ;extension=php_ldap.dll0 M' \2 r6 ~3 b; `5 b8 H9 L
  888. ;extension=php_mbstring.dll6 P: I+ c6 A9 O) o5 e
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    % [0 N2 [( [: d# g7 ^
  890. ;extension=php_mysqli.dll: Z, J$ M8 u; Z' K5 k/ A+ e
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ( R) L- V1 M9 k3 K' z
  892. ;extension=php_openssl.dll
    5 H, a( v9 T* J* E  G
  893. ;extension=php_pdo_firebird.dll
    7 K5 R7 e4 G$ m. \: L$ @! v
  894. ;extension=php_pdo_mysql.dll. H7 N# t9 ]" b, D0 O1 c
  895. ;extension=php_pdo_oci.dll
    # a0 j0 i( k  G% L1 I
  896. ;extension=php_pdo_odbc.dll
    6 T5 m9 U. G  C( D" [6 J# V4 Z
  897. ;extension=php_pdo_pgsql.dll
    7 I; E0 d( {* l
  898. ;extension=php_pdo_sqlite.dll  H9 M8 X, D  O4 T
  899. ;extension=php_pgsql.dll: l2 w- K% p) U# A. g
  900. ;extension=php_shmop.dll  c/ i9 F  z$ {8 U3 g

  901. % b4 t1 T! }  c* o9 y
  902. ; The MIBS data available in the PHP distribution must be installed.
    7 L4 _. K; z- }5 S* {+ Q/ s
  903. ; See http://www.php.net/manual/en/snmp.installation.php, K0 {/ Z* n8 T$ V7 m* O5 r
  904. ;extension=php_snmp.dll( l- O$ k- j/ G. }1 V3 M, l! ^

  905. & _: E- d3 h$ a
  906. ;extension=php_soap.dll
    / t7 e) s9 U) T) j* Y/ G. [
  907. ;extension=php_sockets.dll
    + f1 w* E2 B- k8 b% H
  908. ;extension=php_sqlite3.dll" }* ?5 G( r0 V
  909. ;extension=php_tidy.dll
    + o5 B7 x) s- G$ u
  910. ;extension=php_xmlrpc.dll
    4 ]4 [: h2 Z; x# P, ^1 @2 K
  911. ;extension=php_xsl.dll2 u3 q9 R: p) _# w

  912. ) l4 A4 Y6 x. a& [+ b
  913. ;;;;;;;;;;;;;;;;;;;6 V  S, P* ]# K! ?9 Q3 @' W4 j2 F
  914. ; Module Settings ;
    * ~1 Q& \! F: f4 i7 I8 ~2 _
  915. ;;;;;;;;;;;;;;;;;;;
    1 k, e; W: P" H6 E- n. P
  916. ! L9 f9 f  F( y- Y& ]
  917. [CLI Server]8 h" u9 ~2 w( b9 @0 P6 y
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    - \8 `' _  V5 o! ~2 i  D
  919. cli_server.color = On  E: q% w3 Y) y* }) k
  920. 8 Q: \. k  y! h! D" {' b; Q; x
  921. [Date]2 p9 |4 U: L7 I6 I6 G& \# |! V" w$ ]) ^
  922. ; Defines the default timezone used by the date functions$ q/ F. h$ i* ~; [
  923. ; http://php.net/date.timezone
    5 N3 e; t. H+ S) V5 _/ A3 m
  924. date.timezone = PRC" q/ K/ R" {7 I6 h  F
  925. 7 l7 u9 F0 [9 Y: C; p2 s- s
  926. ; http://php.net/date.default-latitude& r' s# J! A5 a7 k+ L! G8 h
  927. ;date.default_latitude = 31.76670 c# a# X* v  a4 J

  928. , u6 A3 D# |! Q4 m% B# [9 E1 c
  929. ; http://php.net/date.default-longitude! O) R) K' s' \: r! U
  930. ;date.default_longitude = 35.2333, E" y' @% Q8 _1 l% |" a2 N6 F

  931. % B% H, k. I/ {9 K, Q
  932. ; http://php.net/date.sunrise-zenith
    7 j8 K" E' S2 o- z7 [
  933. ;date.sunrise_zenith = 90.583333
    9 p; ^, @" P, V" h1 X
  934. 8 i7 j& }1 k. `0 F1 n
  935. ; http://php.net/date.sunset-zenith4 p2 x$ T, U" q% _& n
  936. ;date.sunset_zenith = 90.583333
    " R4 A* q6 k9 t% o
  937. ) v6 M4 N' X& S
  938. [filter]
    - u7 {3 i4 \: h3 }
  939. ; http://php.net/filter.default) c' @" S7 w, v# l  w" p9 }6 N
  940. ;filter.default = unsafe_raw+ e+ B- k$ e$ D  Z2 B- D7 R7 Y/ m- k
  941. ' i. G* z, J: j  [# y. V
  942. ; http://php.net/filter.default-flags
    * k! _; Z. L% u. U/ a
  943. ;filter.default_flags =
    # l# J6 L4 Q7 i/ ~% q1 |& u
  944. 7 G- g* M' P/ W& j" o
  945. [iconv]" G, a2 ^$ K* Y
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.5 Q/ d$ E" X8 ?1 N/ q' N5 V$ U1 L
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    + H- x6 @$ Q8 r' P9 k
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding7 q6 z; A# e/ J) f
  949. ;iconv.input_encoding =8 {9 t) |7 d4 R7 {" `

  950. & K" M4 C8 d1 c3 T2 r  x" w: Q, p3 N
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.3 g  B3 i7 [" \$ u  q/ }
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    0 [4 B2 r9 J$ ~3 b1 r3 }9 j
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding7 E! V+ G: ~/ V. d+ }$ W2 {, `' D5 T
  954. ;iconv.internal_encoding =4 s0 R- f: g3 N3 X
  955. ' X) g3 i0 f: Q2 N0 g
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    + T% y6 H5 G: Z3 I8 R( k. [
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    . ?7 Q; P1 w+ c: M  T
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
      q8 d. w2 l# M7 ~* a( [0 Y6 a# Z2 U( S% K
  959. ; To use an output encoding conversion, iconv's output handler must be set( Y2 l9 j3 p2 |7 Q) [9 c" |* g; Y
  960. ; otherwise output encoding conversion cannot be performed.! B3 v: a% k  y
  961. ;iconv.output_encoding =7 K8 T) ~  N0 o5 {6 P

  962. ; I* ?5 A% A/ Q* x7 m
  963. [intl]
    # F: _: B  O7 e1 w
  964. ;intl.default_locale =
    & U# Y: v; X3 y( H
  965. ; This directive allows you to produce PHP errors when some error) F: h# R, _, K2 |2 l9 F- c, q# b9 f
  966. ; happens within intl functions. The value is the level of the error produced.
    , `: ]  q8 E( Z4 P) c, R
  967. ; Default is 0, which does not produce any errors.
    - |3 r- d1 v+ P5 f9 V+ y- o  w
  968. ;intl.error_level = E_WARNING
    1 G6 {3 T: J, H) J4 w
  969. ;intl.use_exceptions = 00 @! H4 r: s. v6 I. c
  970. ! ^9 F1 n( x4 c
  971. [sqlite3]2 {) W5 f8 x5 n  m, H3 H
  972. ;sqlite3.extension_dir =
    " F; G3 l0 e: E' O7 X1 w  R

  973. 1 s( d$ i- B( f4 R# V8 l
  974. [Pcre]7 ~0 p4 N8 s- o6 O: ~5 A: w
  975. ;PCRE library backtracking limit.( G9 ]2 _) b! _: O' x+ x
  976. ; http://php.net/pcre.backtrack-limit; C  q/ t0 j8 p( P! J' i
  977. ;pcre.backtrack_limit=100000. h6 @6 Z! z+ l9 {: [( _3 k) j
  978. ! h5 s+ D8 V+ C( w, @: p
  979. ;PCRE library recursion limit.
    7 K( k; E# r' p3 _
  980. ;Please note that if you set this value to a high number you may consume all
    , U& L% V, A) f
  981. ;the available process stack and eventually crash PHP (due to reaching the
    0 ^$ J7 d& _2 j6 k
  982. ;stack size limit imposed by the Operating System).
    ) m" h2 \3 P: T. C
  983. ; http://php.net/pcre.recursion-limit) z1 p- @9 u; c: D. n
  984. ;pcre.recursion_limit=100000
    1 w" Y4 l7 d- Y% ]' Q9 ]- `2 Z& k

  985. , Y" a, g9 _; q* S: ^! S
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE0 b& q+ P" u2 f* N, `! ~
  987. ;library to be compiled with JIT support.* U: `  k0 B7 I* e2 _
  988. ;pcre.jit=1
    0 e+ Q! w' m$ C8 B4 i3 f+ i  a& o

  989. ' T  {. i% y0 F: r1 }
  990. [Pdo]- r. q6 ^. K0 x% B, I9 Z+ L7 U
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    % G  N- D  L+ I& O3 {
  992. ; http://php.net/pdo-odbc.connection-pooling
    9 _: m2 t! @, }& |* n' f: J6 u
  993. ;pdo_odbc.connection_pooling=strict+ _+ M8 h) y4 A: d6 |

  994. - g' M/ {, s/ M$ \. `
  995. ;pdo_odbc.db2_instance_name
    $ @# L0 h4 m4 W& ?" R3 N/ ~

  996. 1 I7 }, Q, V7 [. v6 D2 O
  997. [Pdo_mysql]
    % C! B, S& s2 ~8 o1 M/ S
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache0 Q% x9 [% R0 \& Y
  999. ; http://php.net/pdo_mysql.cache_size
    3 @6 G& n2 _8 C; {1 T
  1000. pdo_mysql.cache_size = 2000. `4 Y# \; y' s* [1 P: |
  1001. / G/ Z. d! G5 X% q1 i
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ; a& C) V( H. G+ R
  1003. ; MySQL defaults.
    5 ?# ?  ~5 h* t) H6 x, J! A- ~# `! G
  1004. ; http://php.net/pdo_mysql.default-socket* W4 ]5 _8 S  D, ?7 r( I
  1005. pdo_mysql.default_socket=
    8 c: ?: ?2 K; |! e

  1006. ( }6 d- Y, X9 j* s
  1007. [Phar]' u% u3 C+ c1 d
  1008. ; http://php.net/phar.readonly
    / X( R4 t) d# e
  1009. ;phar.readonly = On
    ) v& B; B3 q" o$ Z8 T
  1010. - G8 T0 P9 X  z# ]; C
  1011. ; http://php.net/phar.require-hash
    & g# U' Z; k+ R2 i' {5 M8 G, ^+ }
  1012. ;phar.require_hash = On  P! u: Z' S' e$ a: V/ x9 A

  1013. - ?0 G! @% c$ Q. k! I0 J; |! Q
  1014. ;phar.cache_list =, P' Q/ j. w% D1 p4 p. P, F( D
  1015. / g5 G) M' R$ V8 O
  1016. [mail function]
    $ S3 W" \) r/ Y: n8 C% |
  1017. ; For Win32 only.
    : a' |/ F9 Z, m& o' t
  1018. ; http://php.net/smtp8 c) l9 V6 C" C* w, M+ |' O
  1019. SMTP = localhost7 S4 f  x) b$ _: f7 x' V+ R
  1020. ; http://php.net/smtp-port& Q  D/ D5 Z0 h) u3 |; E+ W- w
  1021. smtp_port = 25
    " H0 i, Q/ _, W* _7 k2 K

  1022. ! ^7 [, H7 x) U% r+ X0 `1 G# n
  1023. ; For Win32 only.
    / A9 F9 Z2 z. o1 r
  1024. ; http://php.net/sendmail-from1 z) G5 X1 k7 o' R7 a7 ^. e
  1025. ;sendmail_from = me@example.com+ C/ Q+ n1 l4 q5 v! V  V0 r! z

  1026. 5 r& V# [( `! Z$ Q& m( G% I
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    . C  A7 M& n6 g, W$ D& J+ \
  1028. ; http://php.net/sendmail-path5 B0 W' C# x+ ~5 @) q( c7 `
  1029. sendmail_path = /usr/sbin/sendmail -t -i2 y' l' N- F/ Z% L

  1030. ! O/ ^5 Z8 \9 F  q
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    1 U+ Q& \' e5 f5 u) v  T$ y' G, {
  1032. ; to the sendmail binary. These parameters will always replace the value of
    9 ~0 k. k, ~: V4 c( z) S; b; i
  1033. ; the 5th parameter to mail()." |. C2 s/ j1 l! D
  1034. ;mail.force_extra_parameters =# ?8 b$ E0 F0 B- a. {
  1035. 7 L) h( h- a) u. G
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    $ O7 m- ^% S+ B( S
  1037. mail.add_x_header = On
    $ q$ Q! _6 `# S7 U& ]4 m0 R& K5 Y

  1038. # g8 H7 h) H4 y5 _! n
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    7 X' c6 g0 t9 c/ r
  1040. ; the full path of the script, line number, To address and headers.5 w$ j: ]/ L- [6 l5 a) C+ S
  1041. ;mail.log =$ Y- }. _% \5 K' {
  1042. ; Log mail to syslog (Event Log on Windows).6 ~" [+ l% x/ c3 O8 j
  1043. ;mail.log = syslog3 M. M1 i9 F/ f3 `

  1044. ) l4 }; ], ~  w6 e. g  s$ F
  1045. [SQL]) D2 r" U3 _/ K( ~! B
  1046. ; http://php.net/sql.safe-mode$ r' f  h  r8 y+ u
  1047. sql.safe_mode = Off
    4 r$ E: B8 G' j0 g

  1048. / I* A% O1 w) `
  1049. [ODBC]
    , t! m- b3 f$ f8 Z: M) n
  1050. ; http://php.net/odbc.default-db1 E; k% y, m$ z2 z: h0 g; @/ j, n
  1051. ;odbc.default_db    =  Not yet implemented$ C: n. T  z3 f- r  I- S
  1052. 4 F; I, o' W7 _" T* M
  1053. ; http://php.net/odbc.default-user
    ' i$ I  a' n6 x  _+ z% U. Q  L9 L
  1054. ;odbc.default_user  =  Not yet implemented
    . w" r1 f' m% J9 ?

  1055. . g) i* K% d1 m; m4 v
  1056. ; http://php.net/odbc.default-pw
    4 B" y. S6 o8 |4 b
  1057. ;odbc.default_pw    =  Not yet implemented
    1 x3 @+ @' N/ g9 F
  1058. " {" J9 `0 r; L! T5 u* E, D+ m/ Z
  1059. ; Controls the ODBC cursor model.
    % W+ v* a8 |) Z) R3 {" @
  1060. ; Default: SQL_CURSOR_STATIC (default).
    ) W. z& ^( I% I" n) q
  1061. ;odbc.default_cursortype3 v0 k9 ?+ S' M

  1062. 5 Q1 A  A2 n" G  ^2 ~
  1063. ; Allow or prevent persistent links.* B& a% m9 P* X. Y, b4 C
  1064. ; http://php.net/odbc.allow-persistent
    4 v8 ?4 G( T. S3 l3 f
  1065. odbc.allow_persistent = On
    ; S2 ]7 v& E, O' I3 V
  1066. 8 @" T+ v# n- Q# }1 f% {  e# }
  1067. ; Check that a connection is still valid before reuse.! M/ Q; e4 P! N( w& C3 |1 T. \4 z
  1068. ; http://php.net/odbc.check-persistent
    ; q0 W# O' R- \6 F8 D6 m
  1069. odbc.check_persistent = On
    & n2 h. o" v2 z. B$ o
  1070. 2 A& n/ \! S9 `" X+ y) C0 |, U% Y
  1071. ; Maximum number of persistent links.  -1 means no limit.
    3 G6 o/ Q5 L  h6 h3 ^3 \+ k- T2 _
  1072. ; http://php.net/odbc.max-persistent
    ( X4 K. n8 G( H$ O2 x* c0 r' I' ^/ @' T
  1073. odbc.max_persistent = -1
    3 ?" C9 ]) w) f3 V
  1074. ! y4 `9 l( s3 \; r7 ~2 N' Q
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.  x/ g3 [, J9 h4 P% \
  1076. ; http://php.net/odbc.max-links
    . {  I' R7 G1 [+ z4 U2 k# C
  1077. odbc.max_links = -1' M  B9 N% p7 \( @' B* Q- h4 P
  1078. 8 t0 M; g$ T: m9 Z
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    . @. p* u' Z/ b3 B. O' B0 Y
  1080. ; passthru.* r( j! ]* X8 Z8 n( j5 _
  1081. ; http://php.net/odbc.defaultlrl
    . b0 Q7 L: ]- d
  1082. odbc.defaultlrl = 4096
    ( V, n, |# l7 N, s% W' N% ^1 C
  1083. - R) |/ i0 J9 n" P& Y5 m+ ^
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.9 E; c1 e, H1 W) q8 s" u
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    # m  F4 T4 k8 a9 G3 e+ Z
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode  \! U; I- I: W, e, ], ^
  1087. ; http://php.net/odbc.defaultbinmode! h. X' U0 n" @$ f, ]
  1088. odbc.defaultbinmode = 1
    + l; u; F$ z6 H9 h; M8 b/ I* h

  1089. & \$ h( b1 Q3 [/ M
  1090. ;birdstep.max_links = -1" \$ r! a4 q( Q3 L

  1091. 6 T2 w4 {, n* }" _' a4 i
  1092. [Interbase]
    , S& Z- h& G# S
  1093. ; Allow or prevent persistent links.1 p' P0 G4 U7 `) n) y( ^- v
  1094. ibase.allow_persistent = 1; N" G. R4 y9 P$ c8 l3 |
  1095. / [. R& I/ K" D
  1096. ; Maximum number of persistent links.  -1 means no limit.3 e9 i$ q( p0 l  W7 p
  1097. ibase.max_persistent = -1
    - a! k- [! M( Y9 \3 h

  1098. " P& h; \9 Q' v' P0 q+ Z
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.3 U! H- f- v' B
  1100. ibase.max_links = -1
    , n/ @! E" o/ n; Y( P& k/ k1 F
  1101. ) d3 r- \: p! |( |0 H/ G% Y4 z% g" f4 W
  1102. ; Default database name for ibase_connect().
    3 \8 i+ p8 u; Q, }% N: p
  1103. ;ibase.default_db =0 o+ t& T! {, T% K

  1104. ; t7 M4 s  G  x/ H# B; u
  1105. ; Default username for ibase_connect().9 z$ D5 ?- j2 P1 D
  1106. ;ibase.default_user =- S. Z) V$ q! B$ S5 u" ~

  1107. 7 Y% P! |% e7 O6 g3 A2 f) g, x. l
  1108. ; Default password for ibase_connect().
    2 }; T8 E4 ^- D: b  @
  1109. ;ibase.default_password =% I3 _# a/ |6 c6 j# ~

  1110. 0 o9 _* Q$ M+ J- x1 {& r
  1111. ; Default charset for ibase_connect().+ }' W. Z% Z. k# x, U
  1112. ;ibase.default_charset =
    # ^9 m, |. F) u% X& l- q

  1113. : ]( q* U+ r6 c$ X
  1114. ; Default timestamp format.
    $ F5 u2 U$ ^5 e" d% j8 n& ~
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"$ ^1 ]/ P; O- i3 @5 R& o" F& X1 W

  1116. - v% T! h, d; P- t( I8 r
  1117. ; Default date format.
    / M- d0 o5 y2 W
  1118. ibase.dateformat = "%Y-%m-%d"( ~  c! `% e; V4 Z5 }

  1119. , a8 ?( V$ H0 r& C: n) |6 _
  1120. ; Default time format.
    6 ~" u/ {6 ~0 b1 C3 }: l
  1121. ibase.timeformat = "%H:%M:%S"4 c. \$ V4 t& O9 B0 B

  1122. ( B# H$ S- K0 n; B! b2 r; e& z
  1123. [MySQLi]
    # P9 r8 v7 L3 ]3 S$ r

  1124. ( e2 N* h/ E1 a0 O/ l6 T' E' q' J
  1125. ; Maximum number of persistent links.  -1 means no limit.
    1 h% W7 c  B) x" [+ a+ v8 }
  1126. ; http://php.net/mysqli.max-persistent& M" x9 [* g$ j0 s
  1127. mysqli.max_persistent = -1
    ; _3 v% A3 W6 l
  1128. + i6 K3 d% g. D$ P2 Y% ^
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements$ ^) [) H2 Z9 h
  1130. ; http://php.net/mysqli.allow_local_infile
    / I! |, }% m/ z- m: |
  1131. ;mysqli.allow_local_infile = On
    7 N/ f+ g$ n# y2 E
  1132. 2 w+ N: ~1 P# m6 h& \/ p
  1133. ; Allow or prevent persistent links.+ u  R/ M) x/ p4 b1 i
  1134. ; http://php.net/mysqli.allow-persistent
      Y4 o' ^9 E6 I# C
  1135. mysqli.allow_persistent = On
    / K( L- ^8 T3 P: J% N3 i  L( M$ p
  1136. - Q9 H! L: N4 U2 L$ I
  1137. ; Maximum number of links.  -1 means no limit.
    & E, n% L! u8 @7 r0 @9 C
  1138. ; http://php.net/mysqli.max-links( E! _: W/ T  h+ N. N+ n1 ?
  1139. mysqli.max_links = -1
    , H* t  z+ j7 @' w; a0 G
  1140. $ `. e: g  {! P: l$ A
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ' ]- e# B, z3 ~: B2 T& A
  1142. ; http://php.net/mysqli.cache_size
    ( {* E' b3 y2 j0 I
  1143. mysqli.cache_size = 20002 C1 |3 c0 \! W6 M% ]. Z3 Q
  1144. 0 X; `2 H8 A) o; k+ U9 N  g, O
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    # j) ]. d( N4 g/ A1 F
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the- h# O$ F) D2 {" \% U
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look; ?, b* n% t  O1 M
  1148. ; at MYSQL_PORT.# J: E7 ~2 _- E4 [- e" Y
  1149. ; http://php.net/mysqli.default-port/ g2 a' }. }3 Y9 g! G# N
  1150. mysqli.default_port = 3306
    3 I5 ~- R! t8 e, E6 q. Y1 b
  1151. 6 s- p" I' U+ N& H9 [! D: [9 w
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in; c6 X% @0 w9 L# p
  1153. ; MySQL defaults.
    ) y1 A2 X6 y' }
  1154. ; http://php.net/mysqli.default-socket
    3 Y9 `6 ]- a& E& F5 k
  1155. mysqli.default_socket =- x( t" K. r' q; i
  1156. & T. E9 u/ F- K7 x& z0 a
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).. v( d7 R& j# f) ?# ]
  1158. ; http://php.net/mysqli.default-host% n: L+ ^3 u: P+ y2 w5 x# J
  1159. mysqli.default_host =, a1 S, o% f$ P8 e
  1160. ) w5 p  ^. M1 ?/ _' ]$ p
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    8 P+ H- M# F! [* J; X7 `
  1162. ; http://php.net/mysqli.default-user0 E0 P  Z% E4 ?. J7 m# y! h$ A% h* `' U
  1163. mysqli.default_user =
    - N1 B! }3 I2 v" j9 B  A

  1164. # M5 g( g& Q- \. |# N
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).' Z) V* G9 p4 K  R1 ?; z8 c/ |
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    6 X& {6 A# q6 R1 m' x- z4 f
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ) R1 {" V9 L( _9 x
  1168. ; and reveal this password!  And of course, any users with read access to this
    8 U& M; ]0 s& U
  1169. ; file will be able to reveal the password as well.9 W. F. I9 R. U7 M
  1170. ; http://php.net/mysqli.default-pw" T. c, o6 x1 [4 \
  1171. mysqli.default_pw =
    1 y8 h8 D+ W2 A% |. U# F  u& ^

  1172. ; S9 b5 C9 s+ p, K/ z9 t( I/ l
  1173. ; Allow or prevent reconnect
    9 B, x& a8 l8 k/ k4 `& g! v
  1174. mysqli.reconnect = Off
    ( u. w/ o# Q/ p- E
  1175. 0 c' ^1 _# W5 ]4 L) E; M' a
  1176. [mysqlnd]- j2 _* p2 ]5 \4 q
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    6 e" p7 ^( P! a, z9 q  d& Q
  1178. ; used to tune and monitor MySQL operations.: ]0 @! Y# g9 O' V
  1179. ; http://php.net/mysqlnd.collect_statistics
    7 Y, z& X: L/ s: B2 I) \4 R' x, R
  1180. mysqlnd.collect_statistics = On
    ' i5 m: x3 [! I+ d2 p/ {

  1181. 1 R7 `+ g) |% ^3 L# L4 W/ O7 d4 `
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be- ]2 W+ o; j/ `# k. Y2 N1 t
  1183. ; used to tune and monitor MySQL operations.
    " R+ q, h, N7 V0 Y8 c
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    ( Z* l* C, T3 t: B( P
  1185. mysqlnd.collect_memory_statistics = Off
    4 g/ t8 Z6 Q4 q% E. }

  1186. 6 g8 `' O; F! u7 O8 w/ x
  1187. ; Records communication from all extensions using mysqlnd to the specified log8 D6 i% j" n  h1 U2 Y
  1188. ; file.1 V* }4 _* D0 x1 o" e$ M
  1189. ; http://php.net/mysqlnd.debug
    : Z% H# x) c+ L4 I. ^" Z7 T
  1190. ;mysqlnd.debug =
    2 c3 c0 I3 l: ]2 R

  1191. 2 c- G! S( Z# \
  1192. ; Defines which queries will be logged.& D3 p& C/ I$ T% n% u( B7 x
  1193. ; http://php.net/mysqlnd.log_mask
    ! w+ Z5 E3 c) p0 N; x, q0 R% z; N0 k
  1194. ;mysqlnd.log_mask = 0
    / N, i2 a: v. w
  1195. ( W/ l" e9 e3 w- S' [$ w# X6 z" ]
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.. A( [2 X0 M5 s( J& W
  1197. ; http://php.net/mysqlnd.mempool_default_size! _$ N  w: W0 ~' y' u$ F
  1198. ;mysqlnd.mempool_default_size = 16000
    ! n+ y2 ]6 B( n+ V# N" R# A  v' ?

  1199. . ]0 G6 R# d5 U5 w3 u4 [" n* E1 H
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.% R" F. P0 ^; s, i* t
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size9 C, K5 I& f; R; T6 U5 ?
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    # R0 A5 E% ~5 r- a

  1203. 1 `( O8 Z) w3 k
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in6 W+ W: o: B. _2 S1 ]' v
  1205. ; bytes.7 m! J' U' r( I$ h6 d
  1206. ; http://php.net/mysqlnd.net_read_buffer_size0 w( H+ R* P% K
  1207. ;mysqlnd.net_read_buffer_size = 32768, B. G# b' d8 u8 x" A

  1208. : B( Z( p% h: K$ g' y
  1209. ; Timeout for network requests in seconds., k& O3 e% g; M! ^
  1210. ; http://php.net/mysqlnd.net_read_timeout1 }9 U$ W7 @/ z' h6 C% e( i. }
  1211. ;mysqlnd.net_read_timeout = 31536000* W: D3 l! B" R3 w/ R
  1212. ' s; C  T4 K2 C  F  i
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA- N5 C* B3 `* ^+ s- A$ k) |8 M& \
  1214. ; key.% g# o, j# f3 V
  1215. ; http://php.net/mysqlnd.sha256_server_public_key/ Q+ C* M; P1 s
  1216. ;mysqlnd.sha256_server_public_key =1 y! s) B4 p+ E- ~
  1217. ' Q! d# V( l) b+ h
  1218. [OCI8]
    . D* ?  d2 {) _  u

  1219. $ I* t$ ?$ ~- x
  1220. ; Connection: Enables privileged connections using external
    ; ^: W3 j8 {* V2 I5 V  Y
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    6 c5 T/ ^& b$ z3 d  Q& Y
  1222. ; http://php.net/oci8.privileged-connect
    / L7 s+ A- p/ c. b+ W3 Y
  1223. ;oci8.privileged_connect = Off6 {3 o/ D: T. w
  1224. ) `1 i" P  G  j4 E
  1225. ; Connection: The maximum number of persistent OCI8 connections per
      J' I7 U; M8 V* y, w
  1226. ; process. Using -1 means no limit.( t% g# M3 Q$ C- Z4 U# k
  1227. ; http://php.net/oci8.max-persistent
    + P5 @3 X# w# X% D* ^! z
  1228. ;oci8.max_persistent = -1  D  ^  n2 j8 C$ G  G8 o) U9 _( ]" K
  1229. " D4 R0 F( W) l1 ^0 K1 }
  1230. ; Connection: The maximum number of seconds a process is allowed to  i3 e) N$ l1 j; w7 s1 @
  1231. ; maintain an idle persistent connection. Using -1 means idle
    , r( r: b  g) M9 o# |0 j
  1232. ; persistent connections will be maintained forever.5 c( a9 T% @$ x# m
  1233. ; http://php.net/oci8.persistent-timeout
    2 X, O0 s+ `1 r
  1234. ;oci8.persistent_timeout = -1
    3 w5 j# p9 Z( R& n" e
  1235. / N4 \6 T+ V: r, R
  1236. ; Connection: The number of seconds that must pass before issuing a
    ) F, h+ \' I5 ?7 J+ ]. ~
  1237. ; ping during oci_pconnect() to check the connection validity. When
    0 w1 w8 _5 c3 x4 S3 D# g
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables% N) @/ d/ Z6 e/ u2 c
  1239. ; pings completely.
    ' L* Z+ k+ p: i
  1240. ; http://php.net/oci8.ping-interval- l4 p9 z( f9 `" `/ \
  1241. ;oci8.ping_interval = 60
    # y7 N/ t; A8 r. }
  1242. * H, B: f, [# a
  1243. ; Connection: Set this to a user chosen connection class to be used* B% I+ O; W* k0 [  w
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    7 R! I& D4 t; k5 k. L  l& h) S
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to. t1 d2 j" N# J: |6 b% e* a1 Y
  1246. ; the same string for all web servers running the same application,
    ) d" Q# [: Q# `: v% r
  1247. ; the database pool must be configured, and the connection string must
    ) j; V; I8 t* |9 a9 |1 E
  1248. ; specify to use a pooled server.+ L. T5 v" j9 ]' T1 v* P
  1249. ;oci8.connection_class =; I' F# [- B. j! h9 y

  1250. ; I: H" z" J. H. C( k& R
  1251. ; High Availability: Using On lets PHP receive Fast Application9 A$ T$ u/ v* V/ m# c9 f
  1252. ; Notification (FAN) events generated when a database node fails. The
    6 f* Z3 S7 [' V5 u* Z6 }6 l
  1253. ; database must also be configured to post FAN events.' D; c  O( ?( w3 r8 v
  1254. ;oci8.events = Off& c- a1 k, ^" l, k# W+ p, v/ w0 o
  1255. 1 ^- M: g) R, V& |, V
  1256. ; Tuning: This option enables statement caching, and specifies how
    & j4 d4 i# p2 i1 {6 @( K7 Y. n
  1257. ; many statements to cache. Using 0 disables statement caching./ s' v4 P5 r: z$ M/ N0 Y$ o7 H
  1258. ; http://php.net/oci8.statement-cache-size
    ) O$ l4 m0 q. y; J
  1259. ;oci8.statement_cache_size = 20
    8 `- ]6 s" L/ C# \  {8 ?

  1260. " N3 t' u5 C* m( X7 I& ]% R
  1261. ; Tuning: Enables statement prefetching and sets the default number of( h& Q9 N2 g3 w
  1262. ; rows that will be fetched automatically after statement execution.
    ! J4 Z. d5 J: M
  1263. ; http://php.net/oci8.default-prefetch0 m0 e* t  ^* K3 n* T  T
  1264. ;oci8.default_prefetch = 100
      A7 s# |' g( H* n# G3 h$ ]6 p

  1265. * J' @3 V# f/ c- L2 A5 A/ u! e) F" m
  1266. ; Compatibility. Using On means oci_close() will not close+ z4 X6 x% @' s1 C; x' R
  1267. ; oci_connect() and oci_new_connect() connections.
    , T9 e3 V! ]0 |5 {! G1 P, C
  1268. ; http://php.net/oci8.old-oci-close-semantics
    $ L5 r8 ?6 W+ T4 S
  1269. ;oci8.old_oci_close_semantics = Off
    + `7 R$ Z3 C) G

  1270. * b; o: G$ K0 o2 P; A* ]
  1271. [PostgreSQL]3 N  e6 {0 s% `7 q6 n6 ?
  1272. ; Allow or prevent persistent links.
    6 Y  y6 `* s; o4 K- G
  1273. ; http://php.net/pgsql.allow-persistent8 {, R2 N9 ^/ L7 O/ H8 G
  1274. pgsql.allow_persistent = On
    1 M3 i3 Z6 D! V1 ?) o0 S
  1275. ) U' p; W4 j1 [3 E6 T
  1276. ; Detect broken persistent links always with pg_pconnect().
    ! F& L; o. X! s1 K
  1277. ; Auto reset feature requires a little overheads.4 ~7 V, X4 V2 s- N* g: F' l% F
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ! g1 C( |4 @# c" f  [5 T' H
  1279. pgsql.auto_reset_persistent = Off* o; p# P7 [0 E) n: ~7 G  B# |' m' i
  1280. 7 e3 {: c/ L5 E4 |# v8 [. u- J
  1281. ; Maximum number of persistent links.  -1 means no limit.
    : I  V: Q- {6 Y& J# u! O, A
  1282. ; http://php.net/pgsql.max-persistent# h# N& l; ^3 s8 a$ n
  1283. pgsql.max_persistent = -1/ K: y1 l, A  ]* ^. x
  1284. ' T$ W4 w/ f  ?
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    $ d: Q5 ?  R5 L9 j. E% Z
  1286. ; http://php.net/pgsql.max-links3 g) F) F8 c7 M, T
  1287. pgsql.max_links = -1
    9 c- `. x; w' {# N, n' G
  1288. 4 X0 c! s/ A: p0 i' t$ a
  1289. ; Ignore PostgreSQL backends Notice message or not.
    0 \& [: M' K& w0 \. X) G
  1290. ; Notice message logging require a little overheads.
    2 ?5 S6 Q: M% d
  1291. ; http://php.net/pgsql.ignore-notice, U$ V. x- f# A& w
  1292. pgsql.ignore_notice = 0
    , }9 j; v8 S5 c8 j2 j. @- _- Z

  1293. ) `, J0 X4 Z% Q+ p3 k! {# t5 @
  1294. ; Log PostgreSQL backends Notice message or not.* E& w6 u+ h1 \& {
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ( t2 f7 w0 @& l' T' t
  1296. ; http://php.net/pgsql.log-notice
    & E* q% r; Q" n* N3 u
  1297. pgsql.log_notice = 0/ F" s7 C3 X& K2 I
  1298. , i# N) X0 D' G& i, i
  1299. [bcmath]+ l& A3 T% i: B; [& S
  1300. ; Number of decimal digits for all bcmath functions.* j# I& D# }( C! Q5 n
  1301. ; http://php.net/bcmath.scale
    : r1 L/ H& ~8 h0 a; b
  1302. bcmath.scale = 0
      `& Y" k7 \9 |  u- q( ]( F% f
  1303. # F7 J- X; z- `) Z. Z' n( {
  1304. [browscap]
    7 G& k9 \9 m3 e: u1 M
  1305. ; http://php.net/browscap$ \  n' v! K6 \' r2 n; Z. B
  1306. ;browscap = extra/browscap.ini
    & V' u& _% n* N4 ]

  1307. 3 q' f0 Y5 p0 V# G: U' {
  1308. [Session]' k3 \& T3 s, G3 u) z5 E
  1309. ; Handler used to store/retrieve data.
    / Y$ R* d; @  J1 }- \# @+ F
  1310. ; http://php.net/session.save-handler" s1 }& C) M0 X, T
  1311. session.save_handler = files
    3 ?' o8 U& n7 K" q& t9 v
  1312. # f! G, k6 e" ]' i4 E
  1313. ; Argument passed to save_handler.  In the case of files, this is the path/ v/ }0 z6 t' O9 w' m4 D
  1314. ; where data files are stored. Note: Windows users have to change this( k$ h. l# B+ p! l: |$ M2 ?, w
  1315. ; variable in order to use PHP's session functions.3 ]& u9 y. R3 E4 m6 e/ V' `
  1316. ;2 L; e3 V5 j3 c9 Q; i
  1317. ; The path can be defined as:
    : b' [% _3 V( ]9 W
  1318. ;$ v6 T8 r, X2 w' u
  1319. ;     session.save_path = "N;/path"3 q- j7 x/ O7 W
  1320. ;3 e/ m& q8 B- |0 `
  1321. ; where N is an integer.  Instead of storing all the session files in
    6 o* h# c0 T5 _( i
  1322. ; /path, what this will do is use subdirectories N-levels deep, and& L& ?5 m8 q5 Z
  1323. ; store the session data in those directories.  This is useful if
    2 k: {2 v& x+ E5 ?4 Z0 ?
  1324. ; your OS has problems with many files in one directory, and is
    & r0 }+ M; M& K" v% f. p! P
  1325. ; a more efficient layout for servers that handle many sessions.& Q/ e, ~' h  @1 n/ `! V
  1326. ;
    1 L  L* ^( }, ]% V: G
  1327. ; NOTE 1: PHP will not create this directory structure automatically.( {6 h$ h' f, R& Q1 U
  1328. ;         You can use the script in the ext/session dir for that purpose.
    8 b- s2 C9 H0 U# }
  1329. ; NOTE 2: See the section on garbage collection below if you choose to8 U7 i/ t2 g/ ^- ]3 i. V' Y7 B; O
  1330. ;         use subdirectories for session storage& A# O9 ~: b- o5 ^. d
  1331. ;* S3 R( X: _0 {4 M0 w2 V6 M3 O
  1332. ; The file storage module creates files using mode 600 by default.8 T, T8 n$ u4 ?) K5 ]% a
  1333. ; You can change that by using
    3 L6 u  N+ q% R
  1334. ;1 m" N; [1 e% _% }' h+ _
  1335. ;     session.save_path = "N;MODE;/path"
    2 z" U+ p) u; _
  1336. ;
    ' }( m4 a7 t8 b$ ~$ k/ O
  1337. ; where MODE is the octal representation of the mode. Note that this
    7 u- k8 H3 Y6 c* R
  1338. ; does not overwrite the process's umask.. z/ j) B; u1 P+ m* S0 w
  1339. ; http://php.net/session.save-path" n% e7 f2 z- x7 ^2 a
  1340. ;session.save_path = "/tmp"
    ( F6 h) M4 `. a! w; z* l

  1341. $ Z  M. P1 \& e% a
  1342. ; Whether to use strict session mode.1 p' Y& o  V9 a, H6 ^
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate7 Z. l3 ~8 J) i: ]4 v  y* b
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects$ I, |/ P0 T- s5 a( U+ u
  1345. ; applications from session fixation via session adoption vulnerability. It is  m9 _8 U! O% L' U+ x
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.+ r* L& r& U6 K' n8 E: q( Y
  1347. ; https://wiki.php.net/rfc/strict_sessions% E) P1 {6 m3 ~6 S; Z+ c0 s  V
  1348. session.use_strict_mode = 0
    2 r' K% w1 N- n- L

  1349. / {1 B+ v6 m5 H4 K' n% H4 M
  1350. ; Whether to use cookies.
    3 ]& e. m5 ~2 }. q* n
  1351. ; http://php.net/session.use-cookies
      D) r/ L8 {' J# ?
  1352. session.use_cookies = 1
    0 G" R$ A9 r  E

  1353. ' @0 Z) E' T! F4 D  t) E) P
  1354. ; http://php.net/session.cookie-secure
    ! B, C* m$ B' |, y! A
  1355. ;session.cookie_secure =
    ; G- I% e# Q+ S! A  w" X
  1356. - |7 F1 k# b3 F: k
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining! s& d# |! ]- j9 T6 |
  1358. ; the session id. We encourage this operation as it's very helpful in combating( Z' }1 R; R2 F
  1359. ; session hijacking when not specifying and managing your own session id. It is
    ) w) ^9 S+ p4 m- x: C
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.2 |2 y. B' u* `, E' I
  1361. ; http://php.net/session.use-only-cookies
    * i, x$ t+ |/ F2 P- Y# @: R8 R: i
  1362. session.use_only_cookies = 1
    2 W9 j, P: c' b+ S( F

  1363. ; \$ J. W3 q! e7 D+ |" i8 t8 L
  1364. ; Name of the session (used as cookie name).8 W: I2 K. ]# k) c  F2 B
  1365. ; http://php.net/session.name
    ) |2 w5 d6 H0 r, d$ B6 k8 |( [
  1366. session.name = PHPSESSID8 O+ a) f7 T" B3 {  l4 I

  1367. 5 W: V! x8 E& @  ]% ?& Y
  1368. ; Initialize session on request startup.
    : _  m* R/ R* V, Q
  1369. ; http://php.net/session.auto-start( c: Z/ Z) S4 {5 Z9 {& p
  1370. session.auto_start = 0
    6 ~% l7 p. v1 K1 z& Z
  1371. 5 x7 ]3 Z3 d# i' a; S
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted., x  B# P, u' ^9 X" i
  1373. ; http://php.net/session.cookie-lifetime
    $ [% ?" d; f' s7 ]& ~! q
  1374. session.cookie_lifetime = 0! G8 N/ m! i. U1 j% P. S
  1375. + ]9 {4 d& t. m: w; @0 T, k
  1376. ; The path for which the cookie is valid.
    9 o: r, X# J% ~3 @
  1377. ; http://php.net/session.cookie-path# L! m  a: C7 |$ j- B; e
  1378. session.cookie_path = /9 |4 v8 t. d3 @0 q
  1379. 3 ~3 J7 b( b5 E/ B* U" S
  1380. ; The domain for which the cookie is valid.0 s6 B& r! }' D; i4 [
  1381. ; http://php.net/session.cookie-domain5 w  {) x, W) {' F
  1382. session.cookie_domain =& w- l6 D- e4 R0 c% y5 v3 Y

  1383. 7 c4 o( S6 E$ _# R/ g+ {+ x
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript., W! o/ w* \4 T% f: u7 ^: C
  1385. ; http://php.net/session.cookie-httponly
    $ i, D- V  N( g* a8 [5 ^1 C1 H
  1386. session.cookie_httponly =- X6 a, C; E$ z1 o" Q/ u1 H* V

  1387. 5 M5 h+ @* D5 ?6 |
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.2 H) F% P1 Y0 [, M
  1389. ; http://php.net/session.serialize-handler3 ]) G- C: k0 C
  1390. session.serialize_handler = php
    / P* K! y8 p! Y5 `  P0 A
  1391. 4 B" l* G8 P) y+ s: y# S4 ]" K
  1392. ; Defines the probability that the 'garbage collection' process is started
    4 v. c0 n" `6 H4 E6 v8 v5 |7 X
  1393. ; on every session initialization. The probability is calculated by using
    7 S; D9 |. ?6 @* ]
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator0 i& N, z" c4 w! e; k  h7 [. Q! L4 u
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 12 j8 K" S. w- Q- A9 t- M+ r* H5 A- y
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance$ [& F4 v. {6 _! ]8 }
  1397. ; the gc will run on any give request.
    2 ]2 ~. P+ N4 {2 Y" @) |: i
  1398. ; Default Value: 13 _% `8 C4 g" m' M1 f! a( y
  1399. ; Development Value: 1: _8 B$ h4 z6 h5 k$ y' @
  1400. ; Production Value: 1: h2 S; b# _4 X- v; ]) I% e
  1401. ; http://php.net/session.gc-probability
    ( Q" R! ~) R5 l; ^, t
  1402. session.gc_probability = 11 _2 b3 i& ?4 G5 N6 a, o; d

  1403. 6 B# S7 Z+ N' d
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    " x1 D$ G1 P2 O3 k
  1405. ; session initialization. The probability is calculated by using the following equation:
    , G' t( d2 W6 P9 \* f) N8 n
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and+ K1 x9 J. U, p6 _
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    1 Y5 q7 l. \3 }" \& [/ T% u% c
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    , D) g9 W: @; j  {7 ?
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    0 m3 `' g0 k9 e, `, X
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    % i8 u. N6 N1 B! _3 g
  1411. ; this is a more efficient approach.
    8 j, C+ [' [0 L# ~/ \6 ?0 z( d
  1412. ; Default Value: 1008 b  {) |2 x; b6 h! P9 c% D
  1413. ; Development Value: 10006 j8 V4 q: \* N% w5 {3 |/ b1 d) J
  1414. ; Production Value: 10003 ^. }: |! i8 s  d# }
  1415. ; http://php.net/session.gc-divisor
    & q0 v! {% Z0 X/ q( z
  1416. session.gc_divisor = 1000
    $ ~% f3 g( y' |, y$ ]
  1417. $ o& u6 j" J7 g( {: ^
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    2 q" z  w" q* j. x9 [9 ?$ L4 Y
  1419. ; cleaned up by the garbage collection process.
    , ^) G  X+ J0 A( G9 e
  1420. ; http://php.net/session.gc-maxlifetime
    # r2 I, U! ^0 k' u  l! }
  1421. session.gc_maxlifetime = 1440/ O4 Y: I+ v4 }7 Y7 {, e- C

  1422. # B1 H( m- w. T
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    * w4 a/ g2 x3 k5 I
  1424. ;       (see session.save_path above), then garbage collection does *not*
    2 I- R7 b* K4 c( S% p. u# z
  1425. ;       happen automatically.  You will need to do your own garbage. Z4 N, V( ]5 s  n# X
  1426. ;       collection through a shell script, cron entry, or some other method.5 S0 B' H2 w) Y1 E
  1427. ;       For example, the following script would is the equivalent of2 A7 M& W1 c* z
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    9 o3 z& e8 c9 f* \* Y! {6 Y# V9 a
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    9 H8 N( L5 ]( [% V% s7 g$ v4 |
  1430. + s: [4 X, o* f7 u  g
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    / L# F, z. R( ^; [4 j1 H7 r
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    5 S+ N, s$ |$ o
  1433. ; considered as valid.& A6 y" W( L( s
  1434. ; http://php.net/session.referer-check# e/ ?$ {& B' g. c" E4 A- v" `
  1435. session.referer_check =
    % q3 N& F! s8 ]% a- t0 Y" K7 @
  1436. 8 F2 t* I0 R" M- y& w
  1437. ; How many bytes to read from the file.) F) a# B1 o* e# B8 J5 H
  1438. ; http://php.net/session.entropy-length
    $ ?) y) Y2 ?+ {, Y
  1439. ;session.entropy_length = 32
    ' N4 j6 H& {7 |) Y5 z  |2 c# N2 g

  1440. / `8 G, M8 u& K( {' U  w2 j
  1441. ; Specified here to create the session id.
    & ]/ a( K! K5 s
  1442. ; http://php.net/session.entropy-file
    & a2 ]2 C: ~0 N& G" k3 \
  1443. ; Defaults to /dev/urandom8 j7 a$ s+ o/ d
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    $ V& J; b: L: e
  1445. ; If neither are found at compile time, the default is no entropy file.
    - K- P& \1 ~  E" L& k) T% Z0 c
  1446. ; On windows, setting the entropy_length setting will activate the
    / A& s! B+ W' U$ ]
  1447. ; Windows random source (using the CryptoAPI)7 U$ v0 ?1 }# L5 v: i2 Z9 t
  1448. ;session.entropy_file = /dev/urandom
    - [2 ?1 W$ q5 B5 W
  1449. 0 X$ c) X+ z0 ^- d1 ]7 v2 b! o
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    * l; ?1 X; T1 U  z2 T
  1451. ; or leave this empty to avoid sending anti-caching headers.. y" t' O- R5 {* v' f* G
  1452. ; http://php.net/session.cache-limiter9 s, L6 G4 a- `4 ^5 m
  1453. session.cache_limiter = nocache
    $ C3 f! O2 J) Z2 _1 k, x
  1454. 3 A" X5 H0 ]) L8 O+ r
  1455. ; Document expires after n minutes.2 x3 C0 H9 i, s" O
  1456. ; http://php.net/session.cache-expire
    8 m4 ?+ P+ c; J7 G$ n+ i
  1457. session.cache_expire = 180" V( e  e; W2 J
  1458. ! v" M$ T) ]) s1 J# X
  1459. ; trans sid support is disabled by default.
    8 z% C5 y7 w/ U5 u, r
  1460. ; Use of trans sid may risk your users' security." `* @8 F7 q& r) \
  1461. ; Use this option with caution.
    + o* X/ t% r1 K, _6 e' A. R9 s
  1462. ; - User may send URL contains active session ID
    8 A" W4 V% ^8 s7 [
  1463. ;   to other person via. email/irc/etc.
      G9 t9 G) S" {8 _% I% X, s0 o
  1464. ; - URL that contains active session ID may be stored
    # ~) ~6 g6 s" [. w8 V
  1465. ;   in publicly accessible computer.) _& H) B; W9 ]
  1466. ; - User may access your site with the same session ID+ H: p3 {" f; E. J& A' [
  1467. ;   always using URL stored in browser's history or bookmarks., \3 k2 R1 u+ ]* o
  1468. ; http://php.net/session.use-trans-sid
    ' D" C2 |/ j/ x# W9 P3 d
  1469. session.use_trans_sid = 0
    $ p) Y1 B! u, g) L" _8 R- W9 R
  1470.   |$ |( Y9 F& u
  1471. ; Select a hash function for use in generating session ids.
    , w, N0 ~+ P4 q
  1472. ; Possible Values
    $ B! a# e* Y* m+ T" t3 c/ H
  1473. ;   0  (MD5 128 bits)
    5 D9 l6 G! D2 S8 e/ q" ~
  1474. ;   1  (SHA-1 160 bits)
    ) |* X1 k1 b" W7 \5 u( t% E6 H
  1475. ; This option may also be set to the name of any hash function supported by
    . c  H3 p7 Q* h% N
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    5 \4 j+ r2 E, }: P/ Y8 y/ E7 M
  1477. ; function.& G( ]5 J. Y8 Q% r
  1478. ; http://php.net/session.hash-function
    2 a! b* |% W) T" @- M5 ?
  1479. session.hash_function = 0
    + Z+ a) \, L1 {& t
  1480. 5 ]  }, t( ?- d0 `
  1481. ; Define how many bits are stored in each character when converting
    / S4 M$ d& v5 j: C# c
  1482. ; the binary hash data to something readable.
    ; m! J4 i  j% I* u; j, ~
  1483. ; Possible values:: [+ u% a: {. V
  1484. ;   4  (4 bits: 0-9, a-f)0 e- |) Q" P: k" w3 y
  1485. ;   5  (5 bits: 0-9, a-v)6 x2 z1 A3 F0 `( N$ d
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ; b$ a& J) {" ?9 ~+ O
  1487. ; Default Value: 4
    , i% H4 ?/ z: k7 i7 L3 {
  1488. ; Development Value: 50 A9 f( b6 R; `: H( S5 m8 N
  1489. ; Production Value: 5
    : V" K. l, {( }) H, @1 f
  1490. ; http://php.net/session.hash-bits-per-character
    - @5 c/ H* G; B: a& Z
  1491. session.hash_bits_per_character = 5# f* o, J* k+ g) a

  1492. : N' s, k3 j1 q- C
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.4 [' @: L( V4 x4 ~" W; |
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    ( X+ Z/ l; k  H3 w, S: V
  1495. ; add a hidden <input> field with the info which is otherwise appended8 g6 P9 q% T! p& b# D$ F
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ; [# h8 {( e0 Z; Q# n6 a# O8 H
  1497. ; Note that all valid entries require a "=", even if no value follows.5 U+ y: O  K3 |4 s1 o( L
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="1 C3 r% b; Q: Q0 n/ V: y2 i% q
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ j" J& j4 ]3 E3 r& F5 H
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry": ?( m0 X! K) c' O6 D0 Q) H" H! M
  1501. ; http://php.net/url-rewriter.tags' z: u! p( C* v- E
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 j/ d; r; g/ s- s4 [' c- S2 G

  1503. : Z2 |$ M$ O5 ?) t3 [% i( C8 ]! s
  1504. ; Enable upload progress tracking in $_SESSION2 e$ e+ w% x! ~  h, s0 @5 P
  1505. ; Default Value: On5 b% H: P9 S4 Q
  1506. ; Development Value: On- F; @3 b& w7 Q; y$ \1 g2 f2 j
  1507. ; Production Value: On' r& X/ ^- \8 e; t2 W
  1508. ; http://php.net/session.upload-progress.enabled; o. [9 d# Y! ^! r: ?- D7 g
  1509. ;session.upload_progress.enabled = On
    4 o. T- x+ ^) E7 |1 i/ ]3 x4 }9 R
  1510.   V4 i8 L: }9 b
  1511. ; Cleanup the progress information as soon as all POST data has been read
    : d4 U. T# q- d
  1512. ; (i.e. upload completed).: _+ A$ p" ]% b9 k
  1513. ; Default Value: On
    * q" ~6 |) v$ C5 V) p: B; r8 b
  1514. ; Development Value: On
    - n8 q! l0 r& e7 z
  1515. ; Production Value: On% u# V  L! v3 W/ q( f  |6 O; d- r
  1516. ; http://php.net/session.upload-progress.cleanup
    7 J: W2 ]; B/ _+ ]7 ~
  1517. ;session.upload_progress.cleanup = On
    % b+ \1 Q8 E8 Z9 a2 L5 Q7 _

  1518. . ~( V) M  Y* L. j8 ]9 Z) e
  1519. ; A prefix used for the upload progress key in $_SESSION4 E, |% q, N+ m2 f  B. F2 d# N
  1520. ; Default Value: "upload_progress_"+ G  W9 F% `! N" E* G* S7 @
  1521. ; Development Value: "upload_progress_"4 C5 I: w& p) M
  1522. ; Production Value: "upload_progress_"6 ]: x6 O( x2 T& Z7 G7 ]% ]& ]/ d9 Q
  1523. ; http://php.net/session.upload-progress.prefix' u+ X" J+ l* w0 r* U' K2 a, p$ u
  1524. ;session.upload_progress.prefix = "upload_progress_"* Z( O$ S+ H9 `, W$ b

  1525. 2 ~3 O5 ]" T6 a. `
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    , A6 G3 U! f3 d/ A
  1527. ; containing the upload progress information+ [9 Q% m7 v: |9 m7 M& |3 {& k; x
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 n6 o! y6 |! @
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ' C" {  `5 I# n3 F; A, R
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"  D) _/ a- r; `+ K' J0 _( l- ]
  1531. ; http://php.net/session.upload-progress.name- [: m9 G* V) `; R# A4 \; q% }
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    0 L. P9 Y# ~# x8 s" v
  1533. + |' T: Q6 Q; H- [% y' H5 F/ j
  1534. ; How frequently the upload progress should be updated.
    - C. V( t; x& Q, w. {6 [+ z% C; r
  1535. ; Given either in percentages (per-file), or in bytes. U. a7 r, F( c: V0 g6 w
  1536. ; Default Value: "1%"/ W1 [3 @$ f3 T: u
  1537. ; Development Value: "1%"
    - m! v& X: P5 P
  1538. ; Production Value: "1%"
    : Y+ |- c" O+ W+ x1 Y+ P
  1539. ; http://php.net/session.upload-progress.freq
    7 @- k. g8 `! g0 J0 N6 f
  1540. ;session.upload_progress.freq =  "1%"7 {2 j% ~# H. w
  1541. ! V$ G3 U& U" N; S; x
  1542. ; The minimum delay between updates, in seconds
    4 h! L, T7 P2 i9 D+ J2 f, b
  1543. ; Default Value: 1
      |. u% t  y+ Q2 m' S: H) O; d+ `
  1544. ; Development Value: 1$ m& t* t1 n, Z# L. N5 q, c( y
  1545. ; Production Value: 1( J5 _6 y; Y4 G8 {' j
  1546. ; http://php.net/session.upload-progress.min-freq
      ^6 N; i- ?' ?' U6 z
  1547. ;session.upload_progress.min_freq = "1"
    . v  g9 P" n! \! T

  1548. & @5 A7 [" j$ G8 f/ s2 t9 M
  1549. ; Only write session data when session data is changed. Enabled by default.
    % h: M% _6 V) @( f; d
  1550. ; http://php.net/session.lazy-write
    , h2 p# d" z4 ~* l% F) S# A
  1551. ;session.lazy_write = On
    2 B9 X1 G7 j9 H

  1552. $ q+ Y: T- g+ b' w
  1553. [Assertion]
    ; c; {7 ^4 g' f* |3 N. w6 u
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)4 k0 h8 a" k. z# K# q: U* b! c
  1555. ; -1: Do not compile at all
    3 ~' Y; ~, D0 P' F! k# V
  1556. ;  0: Jump over assertion at run-time! Z9 }+ O+ C4 m8 `! G& D
  1557. ;  1: Execute assertions
    % `$ b3 a" H# \5 N# u
  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): c: q8 Z7 e+ p" u  C
  1559. ; Default Value: 14 F$ `! `3 [" ^( n
  1560. ; Development Value: 1
    % f3 P! l7 g8 q! m
  1561. ; Production Value: -1
    ; P; n0 t* n" Q* Y' ?3 N5 t# x
  1562. ; http://php.net/zend.assertions
    + f3 U; q% i* b/ `# }
  1563. zend.assertions = -18 j6 H- H, V& ~( x- l; p# v

  1564. 3 a8 U5 U8 `% _  g% B- y
  1565. ; Assert(expr); active by default.
    5 Q4 e6 l+ d: _, c. ^/ Z9 n
  1566. ; http://php.net/assert.active, k' Z5 {; j" Z6 o1 p! |2 e7 _
  1567. ;assert.active = On
    . g$ a2 f/ K( Y/ d" ?
  1568. ' _# V# K( R% B' }. f. ~1 I4 p
  1569. ; Throw an AssertationException on failed assertions
    4 C3 v. a' L1 S' u3 s
  1570. ; http://php.net/assert.exception% g! d6 U' g1 X
  1571. ;assert.exception = On4 Z, t5 Y! F- ?9 g& m: ~! _

  1572. : f! m. {! ]8 V" l
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    4 G. J& f, Y* ~4 E  o7 T
  1574. ; http://php.net/assert.warning
    8 R+ R% C6 }5 f8 c9 x
  1575. ;assert.warning = On3 {$ P, n2 H7 F
  1576. - ]3 b) F& ?4 X8 Q* [, q
  1577. ; Don't bail out by default.
    " s; f7 j) {+ V: {
  1578. ; http://php.net/assert.bail
    , z( z. y$ }- R1 g5 T7 K+ S
  1579. ;assert.bail = Off
    % a: y# M7 F: ~, i

  1580. . b" d8 k( v: \7 }' C, `; l
  1581. ; User-function to be called if an assertion fails.
    ) u- K" w2 x. C, l, j
  1582. ; http://php.net/assert.callback, s5 A7 S) e, ^- o! d! h
  1583. ;assert.callback = 0
      B2 w9 C+ ]7 e& r

  1584. $ z; |. m/ A8 \7 X" e
  1585. ; Eval the expression with current error_reporting().  Set to true if you want7 _1 z0 @; k0 s* Y& }, ~
  1586. ; error_reporting(0) around the eval().
    9 W% \8 B8 I& Y! C
  1587. ; http://php.net/assert.quiet-eval5 m2 G+ T$ ^" Z
  1588. ;assert.quiet_eval = 0
    . t) u( p7 e4 M; H  T

  1589. & ^1 Z8 v' @2 Q5 y" N- v
  1590. [COM]
    ! @6 x% W! Y+ x9 w1 J3 J' A& Z, R
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    8 x9 b) @6 t( o# A. |
  1592. ; http://php.net/com.typelib-file
    ; k* a8 @8 M" y+ `
  1593. ;com.typelib_file =( N( s/ ^; h* H* L% P. E  k; Z. T

  1594. 5 P( q, w7 R% Q0 N! z& L
  1595. ; allow Distributed-COM calls
    2 Z: L  y/ W6 A
  1596. ; http://php.net/com.allow-dcom
      g( `; X: [4 a& ?
  1597. ;com.allow_dcom = true1 g) j! o, s4 S8 B
  1598. " ?$ g4 A' a! i, M% y8 [2 j, U
  1599. ; autoregister constants of a components typlib on com_load()
    % s3 Y' F4 f5 Q$ p& z3 d
  1600. ; http://php.net/com.autoregister-typelib& L' \; _1 u& O6 J: M  ~
  1601. ;com.autoregister_typelib = true9 k/ Q: Z. k; O4 L1 N; l! P
  1602. ' R$ a+ z! r1 ]6 F. x
  1603. ; register constants casesensitive
    # w# i6 B2 r+ }& t; S
  1604. ; http://php.net/com.autoregister-casesensitive
    8 m; D; O1 |  X% z& ?, h
  1605. ;com.autoregister_casesensitive = false
    5 J2 z9 n$ W' [3 j- `( a

  1606. / T- D: B  o4 _
  1607. ; show warnings on duplicate constant registrations% N: Z& c4 z  j8 t& `) L& U
  1608. ; http://php.net/com.autoregister-verbose* @7 Y' w# G3 ?0 d7 ^8 @  c$ o0 C
  1609. ;com.autoregister_verbose = true' X5 t3 d; x& g, [; `. S
  1610. * k, L0 Q" J) h; }9 c
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    ( [# K; `5 U- a4 C9 B
  1612. ; Default: system ANSI code page
    8 |/ B4 H. @( Q( k
  1613. ;com.code_page=/ M( `! T& Q3 I# x
  1614. 8 i% C, w9 J2 E3 r1 l2 L5 E  P
  1615. [mbstring]7 G, u7 \/ q; ~0 H8 ?
  1616. ; language for internal character representation.
    , F" @: e% `( f) u
  1617. ; This affects mb_send_mail() and mbstring.detect_order.( w- L8 {8 W* E  Q5 ]
  1618. ; http://php.net/mbstring.language
    # O6 |% ]) a4 X3 d+ Z  `  ^, y+ X
  1619. ;mbstring.language = Japanese1 C# v) p, f$ s4 ]
  1620. % F8 q; i: H# m  p7 G9 {% {
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.; P3 A2 W0 ]. f) c4 d$ z
  1622. ; internal/script encoding.: N! h* q# t7 t9 u) b( G) B
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*): H* W5 j" l4 T3 V2 k
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.4 d7 Z; j1 |  E# l  W1 U; n
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding, F" y" @# k4 r9 R) r4 S
  1626. ;mbstring.internal_encoding =( B3 Z5 D" N5 l' n% n) Q
  1627. , X3 D, r4 x; q  Y/ J7 s  j8 S
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    . Z! m2 C) a) K3 a6 v
  1629. ; http input encoding.0 N" Y4 C! U8 H2 @) J4 \
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    8 S% ^% N  {: ]  a# B/ H
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.5 K& k5 T% Q8 W: P. p& A
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input* m* V+ Z7 u1 H! \3 P+ V+ G8 a
  1633. ; http://php.net/mbstring.http-input
    8 s% ?( p) P7 p0 [$ R
  1634. ;mbstring.http_input =
    ; Y9 d" G* \" ?. [7 u" |
  1635. 8 D" |; F" z% S0 d5 x, n& [  S! ?
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.0 y/ k; t: W4 _, j- y
  1637. ; http output encoding.
    , C7 D1 @5 v* g8 |, U& \. k
  1638. ; mb_output_handler must be registered as output buffer to function.
    ) H: z' l: j* W* J6 M
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.* L0 |4 r3 e5 z$ k- @8 E- p
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output6 w. X! a; \- E
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    1 Z! z' v9 {( F
  1642. ; otherwise output encoding conversion cannot be performed.: V- Q! [$ A$ F9 g8 \# R" G7 i
  1643. ; http://php.net/mbstring.http-output" v( S5 u& ^& D4 o
  1644. ;mbstring.http_output =
    0 q; N, Y& ~! H/ O5 o/ e

  1645. & f: \( }3 c- S! a6 @- h
  1646. ; enable automatic encoding translation according to
    8 a7 `/ N2 ~/ D1 b  u8 A* e" q0 |
  1647. ; mbstring.internal_encoding setting. Input chars are5 }0 K+ T$ A( N7 C% `% }) D
  1648. ; converted to internal encoding by setting this to On.
    # O- ~8 f. }" M$ i; N, h2 ^! @1 R
  1649. ; Note: Do _not_ use automatic encoding translation for
    4 ]' Z6 g! z$ j( ~; Q, Y1 D
  1650. ;       portable libs/applications.
    0 \$ r9 l$ ?) C/ I% M
  1651. ; http://php.net/mbstring.encoding-translation  J) _2 a: @% O: d# x
  1652. ;mbstring.encoding_translation = Off! j5 O6 |7 w( Z  V3 B' r6 ~

  1653. % B$ }* @5 v) w; a% b: _/ }, f
  1654. ; automatic encoding detection order.) R( l7 @# B1 y0 }" O
  1655. ; "auto" detect order is changed according to mbstring.language
    2 ^* L8 ^$ a' W! V' I6 J  [
  1656. ; http://php.net/mbstring.detect-order
    ! |6 }& y/ \# N9 W
  1657. ;mbstring.detect_order = auto
      d; X& f+ S. W' Q$ ]2 W
  1658. ! `$ u7 }* j' u$ p/ p/ e
  1659. ; substitute_character used when character cannot be converted
    / i% E; t( r8 x
  1660. ; one from another; S6 r: ~0 Y* ~! l) L7 `- Y
  1661. ; http://php.net/mbstring.substitute-character
    ( e- M# N' s$ X/ _0 C6 Z
  1662. ;mbstring.substitute_character = none# C/ D- J5 N" W1 G  G/ g' Y

  1663. + c2 g& C6 q- Y; Q2 R4 m
  1664. ; overload(replace) single byte functions by mbstring functions.- Z; v  K' y. S7 a. ~1 x1 G
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    % k. l# w/ D0 u+ J
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.1 D7 n* R, v9 @, d
  1667. ; For example, 7 for overload everything.0 N, A- {+ D# O; e% ?, O& u' H
  1668. ; 0: No overload
    & s' l) `# o6 d' t0 v
  1669. ; 1: Overload mail() function
    6 M8 c3 b" J. y$ a/ B
  1670. ; 2: Overload str*() functions
    ( A" G) I5 b7 L9 X3 [; \' K( C
  1671. ; 4: Overload ereg*() functions7 y3 w! e! V2 j; O
  1672. ; http://php.net/mbstring.func-overload! t4 a- A9 y0 U, ?# N! x
  1673. ;mbstring.func_overload = 0+ G3 R, M  {' G8 ^& f4 p7 Q6 z. A

  1674. 7 ^9 P( l: c; b# M  X
  1675. ; enable strict encoding detection.! \$ e1 P) R" O  |6 U3 e
  1676. ; Default: Off; ~* f# V3 g5 Y* Q) d) r/ {; [
  1677. ;mbstring.strict_detection = On8 Y9 t& J  K0 C1 B! s/ ^
  1678. 7 ^3 C3 A" w! c' Z& t- I& B
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    + n& q& k! X% f$ F5 a& `
  1680. ; is activated.* m- T; T* j0 x. k$ M# D$ K; v
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    2 c  `" @7 L) N1 T5 W& a/ M9 E) `
  1682. ;mbstring.http_output_conv_mimetype=7 @0 @$ h. S8 Z- o$ L
  1683. 4 `: n3 A9 x" F
  1684. [gd]) e. w8 E! G4 j% a4 [
  1685. ; Tell the jpeg decode to ignore warnings and try to create4 j' ^! L- ]9 A5 D+ u
  1686. ; a gd image. The warning will then be displayed as notices
    8 u% ?2 s9 K2 f$ q5 A
  1687. ; disabled by default% @1 o2 l. l. y  j4 e' x  C" O
  1688. ; http://php.net/gd.jpeg-ignore-warning1 P0 F/ w% v* Y+ _/ R
  1689. ;gd.jpeg_ignore_warning = 03 b' Z+ I" p: v9 n( B

  1690. 6 c! h3 G: |8 h; _( U/ [
  1691. [exif]
    " B$ ~! g6 ~! J2 N5 H
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    5 m, x9 Y/ t, k
  1693. ; With mbstring support this will automatically be converted into the encoding2 w. k$ K# G/ A
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    8 {# ~3 j! g  ~7 z* p$ W0 V5 [1 x
  1695. ; is used. For the decode settings you can distinguish between motorola and+ N1 q; @6 x* ]5 @+ C: T6 @
  1696. ; intel byte order. A decode setting cannot be empty.( ]& A0 q: N' _7 z; l
  1697. ; http://php.net/exif.encode-unicode% _; p9 D: E, V8 v6 P. a; E# |
  1698. ;exif.encode_unicode = ISO-8859-15+ {' k2 i; }3 p, U4 @

  1699. - {$ @( _: f: |, A0 \+ n! J/ a
  1700. ; http://php.net/exif.decode-unicode-motorola
    5 f$ g% z* i9 E, V7 O; T5 I# L: h
  1701. ;exif.decode_unicode_motorola = UCS-2BE! r- T# }. w5 u, A
  1702. % e2 s% u8 ~# J
  1703. ; http://php.net/exif.decode-unicode-intel
    , J' O8 I( O+ w8 g) P2 V
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    $ l# w4 T+ L6 a9 b! |8 i6 [$ Y' y

  1705. $ @$ i$ O. [8 J
  1706. ; http://php.net/exif.encode-jis
    2 a% l% F9 K0 [4 }$ ]8 m% ?; T! j( `
  1707. ;exif.encode_jis =, y: V) m/ v7 w; M2 n

  1708. 0 r* F8 ]8 ?  l3 s
  1709. ; http://php.net/exif.decode-jis-motorola
    / P5 v! o! k5 K( K& f
  1710. ;exif.decode_jis_motorola = JIS' @# x. T5 o* K4 p

  1711. , O( I) u5 A9 X; V( h
  1712. ; http://php.net/exif.decode-jis-intel
    + s8 s2 K, T4 J, M( C
  1713. ;exif.decode_jis_intel    = JIS
    ' T5 L6 L8 G1 ]! _! \2 z# u
  1714. 1 [  A: y, e1 R! w, Z
  1715. [Tidy]! }6 M6 o1 V8 W& E3 h- o
  1716. ; The path to a default tidy configuration file to use when using tidy* J" l. y. i$ z  K
  1717. ; http://php.net/tidy.default-config
    , m+ {2 U' i- L  ?* u2 E! }
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    2 q* Q- x0 a9 e2 o) ?& N) I: g
  1719. 1 ~! H0 @! P9 N. Z$ V; s, [
  1720. ; Should tidy clean and repair output automatically?+ q: [3 W) n2 N1 ~3 i
  1721. ; WARNING: Do not use this option if you are generating non-html content5 I. ~  y" O) D
  1722. ; such as dynamic images
    5 g2 Y( X0 D. z) c$ i& B+ X
  1723. ; http://php.net/tidy.clean-output
    6 _% a) w" Z0 ]8 X% X  B
  1724. tidy.clean_output = Off
    0 u6 c/ [; s" u$ Q7 ~
  1725. ; J% Q7 U1 {) s! L# s( U7 N
  1726. [soap]+ G9 l; u$ V1 ]) w, g
  1727. ; Enables or disables WSDL caching feature." f  R+ {! N# n
  1728. ; http://php.net/soap.wsdl-cache-enabled, X# B. r  g  ]
  1729. soap.wsdl_cache_enabled=14 p0 z9 \, `, a6 X. u# F0 H) D

  1730. 3 p- z" a+ Y5 A8 A& s6 u! a
  1731. ; Sets the directory name where SOAP extension will put cache files.) [* `1 Z' n+ r5 @4 V
  1732. ; http://php.net/soap.wsdl-cache-dir
    * z9 J6 v2 P7 E$ I, y: J
  1733. soap.wsdl_cache_dir="/tmp". l) E7 t) X7 w: O# |* G
  1734. 6 q  F, R1 r; w* ~
  1735. ; (time to live) Sets the number of second while cached file will be used* D; @6 ], j5 f* @% s# ^* m
  1736. ; instead of original one.
    6 Z5 ?7 w7 i8 e  E3 M! q
  1737. ; http://php.net/soap.wsdl-cache-ttl
    8 B; e8 e3 y( Z4 I0 M1 T6 B
  1738. soap.wsdl_cache_ttl=86400
    " {; o0 F* X/ Y" a8 R1 j& D/ O, N

  1739. 0 U4 N  a4 e7 w6 M4 J
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ' l- B! f; G9 y3 _: E. _  U4 x
  1741. soap.wsdl_cache_limit = 5
    ! S* L, {# J5 U: a/ ]+ i/ g

  1742. : y( N& G* o0 s3 b: C. Y/ O5 q& E
  1743. [sysvshm]  P5 J& K/ j, u
  1744. ; A default size of the shared memory segment7 n) b1 d" a: z. f/ e8 f7 d" u% h
  1745. ;sysvshm.init_mem = 10000. x+ o" J; @4 H4 K4 ]4 @; l
  1746. ' P, H1 x$ C: E
  1747. [ldap]
    : l! S2 ^! e; X) Y
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    - l7 A7 S0 m( `+ B+ Q4 r9 g: v/ x& D
  1749. ldap.max_links = -1% `& b. z; t  [( p3 H8 }
  1750. 3 U( E* I9 ?7 v# r) w
  1751. [mcrypt]
    4 s+ e* y( D2 L
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open' n8 z& }& N' H: a3 F- E! w
  1753. / Y" S. \4 H2 G8 k+ e# h
  1754. ; Directory where to load mcrypt algorithms$ E8 p, H& l* Q/ S9 R- N3 B8 d2 G
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
      O  R6 D! c8 e+ O2 C9 a
  1756. ;mcrypt.algorithms_dir=
    * T( e5 N: W% P' e

  1757.   U2 p- V, D7 V# R1 L0 v8 Q
  1758. ; Directory where to load mcrypt modes
    5 D1 v8 ~2 H; F& }# O
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt). I) p" M& A0 C; S
  1760. ;mcrypt.modes_dir=! m7 H" T+ X' L- Y

  1761. . x4 p) v% r& K+ O1 o
  1762. [dba]
    * e& {- W0 ]0 T
  1763. ;dba.default_handler=: @! n+ V$ U. X; {2 y
  1764. 6 T) s* B6 I2 S+ m" W3 `6 ?
  1765. [opcache]7 [) D  I3 A/ Z6 T; q
  1766. ; Determines if Zend OPCache is enabled# w2 M. m. L. I+ p# D, _
  1767. ;opcache.enable=06 q3 }% g0 `9 K3 `' T: `8 @

  1768. 5 d$ y7 V' f! W6 e
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    6 [1 l/ ~4 z. }  S4 a
  1770. ;opcache.enable_cli=0
    : F% X' E3 r* N* e. [# t

  1771. 8 G! ~6 X) Z( a% b
  1772. ; The OPcache shared memory storage size.
    : O( I1 b$ w9 @% J0 r  v( Z
  1773. ;opcache.memory_consumption=649 {6 `, a1 R8 @3 S8 h/ ?0 G

  1774. 8 j" b2 N4 f' k% }3 j3 P& y' {0 }
  1775. ; The amount of memory for interned strings in Mbytes.9 m4 O4 L7 P1 T% Z: ]
  1776. ;opcache.interned_strings_buffer=4
    ' Q$ J# v8 {# L3 O! f

  1777. 7 P. {, L) a8 q7 Z- W
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    4 x3 M2 b$ a" L7 E5 t7 p
  1779. ; Only numbers between 200 and 1000000 are allowed.+ M3 W5 g) g; s) e" E6 k
  1780. ;opcache.max_accelerated_files=2000$ G0 o: u6 C! |  W/ Y, {; J* q4 e; `

  1781. % o  l2 g8 j+ E0 K# }5 \
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.6 x* ~, ?$ o: x: @4 a9 Z+ t8 g0 Y0 l/ P
  1783. ;opcache.max_wasted_percentage=5; v8 c* J9 N6 w* v5 Z4 v

  1784. 9 ?* W' t# n& f9 U# d2 s" j* U3 s% t
  1785. ; When this directive is enabled, the OPcache appends the current working7 M% \; n+ s7 A% D) s
  1786. ; directory to the script key, thus eliminating possible collisions between2 b6 j) V- Y2 E4 z
  1787. ; files with the same name (basename). Disabling the directive improves
    7 z3 }( ]8 {8 l( }" x  A( M. B
  1788. ; performance, but may break existing applications.
    + X! c, ?+ K7 w# `$ N
  1789. ;opcache.use_cwd=1
    . {" w) w) g, s/ ]/ I% _

  1790. / j3 y. I" v. t- R+ c
  1791. ; When disabled, you must reset the OPcache manually or restart the& z8 {2 G3 {( S
  1792. ; webserver for changes to the filesystem to take effect.
    % E- G* {4 e1 {; Q) L9 s, e: T$ F
  1793. ;opcache.validate_timestamps=1
    " I) R0 J+ H$ ~1 h* B! ?, c
  1794. $ @: P+ L3 o3 P& D
  1795. ; How often (in seconds) to check file timestamps for changes to the shared8 Z" h, l" u: ^/ C! ?' J% [1 k( Z
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    4 F$ j3 p( ^: z+ w. J1 |$ |2 S
  1797. ; once per request. "0" means always validate)
    1 O4 j" X  D$ I  s% }% \
  1798. ;opcache.revalidate_freq=2
    , q5 ]* A* g; B2 _$ T6 p4 }
  1799. 5 C8 H3 H( S$ i; t( A3 |
  1800. ; Enables or disables file search in include_path optimization8 R# O/ M* y! `4 Q2 B
  1801. ;opcache.revalidate_path=08 l% Q+ D7 X4 o& z1 c

  1802.   I- y9 W6 ~- e
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    " v0 b5 ^9 r+ m! ?: L, [: _
  1804. ; size of the optimized code.  K+ U; m3 t2 y6 K. [$ s' b
  1805. ;opcache.save_comments=1( L( |1 x' |; A/ P& }5 X% m+ v

  1806. ! t& k/ c& y8 V% d0 j3 q; I
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code# d% L0 R) ?  `% `
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    & j9 M, \& E, W1 p0 A
  1809. ;opcache.fast_shutdown=0
    3 U0 G" D, s8 l3 c" R
  1810. 0 j* W  q! p! Q8 ]7 M, E+ ~
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    # y  f- X. ?0 z* g' r# q
  1812. ;opcache.enable_file_override=0+ h$ |3 I! P9 J( g! F# o( v
  1813. 6 N* \; J( s2 }+ K
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    - l8 m0 j! h4 \
  1815. ; passes
    * Z% y! l6 v$ W3 B7 Q7 A
  1816. ;opcache.optimization_level=0xffffffff" h, V& E* M, F1 H6 `: L( w
  1817. 3 L2 ]/ c. v% F$ N0 J
  1818. ;opcache.inherited_hack=13 y* m0 n' V/ e, V4 [1 h) R  p
  1819. ;opcache.dups_fix=0
    1 y5 }. C8 e+ {' I
  1820. : h- m0 c! I6 L( V
  1821. ; The location of the OPcache blacklist file (wildcards allowed).: O9 K$ \7 o/ r( w7 E5 N# |
  1822. ; Each OPcache blacklist file is a text file that holds the names of files6 i4 D. u% v  l
  1823. ; that should not be accelerated. The file format is to add each filename, F2 T, P2 l8 L" J5 C/ J
  1824. ; to a new line. The filename may be a full path or just a file prefix
    ; P, ~9 T) O8 O, S. M9 A, `
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www% s/ _! N# v1 n" A6 ^/ p; m( e
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).1 v5 D% x% w7 u2 G) \1 a
  1827. ;opcache.blacklist_filename=
    + o& x7 F: B$ X: U7 i; ?

  1828. * X0 T4 k8 F: p5 q# i
  1829. ; Allows exclusion of large files from being cached. By default all files
    8 ~2 [; N8 F, ^, {
  1830. ; are cached.2 A6 @. r  d  @$ [" p  d/ K3 ]
  1831. ;opcache.max_file_size=0
    8 f7 v3 e/ N  \

  1832. / `+ _+ M7 Q2 A- ]
  1833. ; Check the cache checksum each N requests.+ H* q9 g8 t" w, Y0 |
  1834. ; The default value of "0" means that the checks are disabled." \1 E. Y; o5 Z" c+ I' f
  1835. ;opcache.consistency_checks=0
    $ f9 y& V  b9 @* u3 {& [0 w
  1836. : ?3 w5 j1 [8 S/ i/ j& {! T
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache: |5 K% A1 Z3 V" D3 V* ~' F( P/ F& s
  1838. ; is not being accessed.
    $ z. E$ M, n; b: a1 Z$ l7 c: ~) G
  1839. ;opcache.force_restart_timeout=180! O! L5 m+ W/ H
  1840. 2 z8 l- C. `- E3 u1 C; s8 b
  1841. ; OPcache error_log file name. Empty string assumes "stderr".  c6 j2 z7 `  a7 a" n7 f/ s5 ~
  1842. ;opcache.error_log=
    * z1 O+ Z# Q  Y! ~" y& D$ ~

  1843. 0 r9 _+ j% Q2 i0 ]7 O' i( C/ y
  1844. ; All OPcache errors go to the Web server log.
    - ]0 p& o- I2 p% Z7 ?
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    3 l& B! [5 i4 R& H! n$ _; v0 L
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    - E3 e! {8 ~- C* {/ \
  1847. ; debug messages (level 4).
    6 X) p2 r# D) n% ?* r- Y
  1848. ;opcache.log_verbosity_level=14 ^( h, b9 u7 ^

  1849. + o- q0 l3 W/ a! B6 h% O
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.% W! h2 k% i1 Z% B1 n6 B
  1851. ;opcache.preferred_memory_model=( J( d  c8 m4 ^- x
  1852. . ~# W" I1 N: g6 D7 C; }4 y
  1853. ; Protect the shared memory from unexpected writing during script execution.$ i  B- h. V8 D  n. L# y: ?. y
  1854. ; Useful for internal debugging only.
    2 \# l$ a9 u/ b6 E( Q
  1855. ;opcache.protect_memory=0
    + Q0 o9 `# [# w! @7 Z
  1856. 7 p7 k" `$ _+ A( m
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is: e# L  M' a4 m
  1858. ; started from specified string. The default "" means no restriction! l/ X( R# f. T
  1859. ;opcache.restrict_api=
    ! }8 U3 \! s  ^& Y3 F. N" X* L0 T

  1860. ! t! L2 B0 b6 Y- {6 t. x; o
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    % j( u! L' Q$ I, A5 w
  1862. ; processes have to map shared memory into the same address space. This
    4 o( \9 [# f7 B0 `8 i1 {
  1863. ; directive allows to manually fix the "Unable to reattach to base address"& M# L/ h: E! s8 G) F$ S: l$ q
  1864. ; errors.
    - F  n- h1 X/ N! J& s6 N
  1865. ;opcache.mmap_base=. O! w' k( K9 ]; {

  1866. : y: m/ P  x' _- ]) C4 F/ H
  1867. ; Enables and sets the second level cache directory.( f8 i  r& g. L5 L# L# `8 s' i6 X) v
  1868. ; It should improve performance when SHM memory is full, at server restart or
    & \: B9 D# W. M! j" G, y
  1869. ; SHM reset. The default "" disables file based caching.
    ) _$ s, i5 U: B! X0 l6 A+ `
  1870. ;opcache.file_cache=& R5 P( O0 P5 t# j4 P* \& W
  1871. ! s! ?% t8 n# Y; [6 w# o; p
  1872. ; Enables or disables opcode caching in shared memory.
    - F, }4 i# t8 V9 T, |2 h+ N
  1873. ;opcache.file_cache_only=0
    ( T. R( L8 V) }6 ~7 M
  1874. , D4 X" l/ g+ M! P- V- |
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    / d/ ?: b' {- A
  1876. ;opcache.file_cache_consistency_checks=1
    0 O. O* a0 B+ Y* `# Z" `4 l
  1877. : }. ]$ v3 c/ L0 F! o
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    % t6 |$ |: J; k2 Z
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    : x/ t$ R2 _5 ^7 o" S! D  d% V
  1880. ; cache is required.5 g% m( K2 v4 v# V) U
  1881. ;opcache.file_cache_fallback=1
    3 C5 z! \3 w3 [7 u* g( `. Y# v
  1882. & S: O  [8 e+ u: t: |
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES., |& J5 ?, @& j. I, R- R6 g
  1884. ; This should improve performance, but requires appropriate OS configuration.
    # `! e; J" ~) `+ X+ ^! C9 q
  1885. ;opcache.huge_code_pages=18 c- b  v, l6 A! S4 U% V6 ^3 l
  1886. 4 u/ X" Y) u7 C: I8 u6 L
  1887. ; Validate cached file permissions." o6 r& y4 i7 `
  1888. ; opcache.validate_permission=02 s  s' }: ^/ \+ K1 _& R

  1889. % e/ B4 z6 Q. Z' H. q
  1890. ; Prevent name collisions in chroot'ed environment.7 M6 @, c* ]5 G! t4 V
  1891. ; opcache.validate_root=0$ L$ Y: N+ u2 G$ J4 d+ Q

  1892. ! Z; Q& B: y- l' E) C7 n
  1893. [curl]
    ! s$ _1 U% L, @3 ~0 m- ~% |9 J
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    1 U! E( s7 z+ y! J
  1895. ; absolute path.4 T5 D# t& L: N( ]# h* c8 P2 E1 |7 ?0 H# I
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt( J3 o" c' s5 I  d) v
  1897. 1 p6 V. x9 x' \4 f3 `4 C; s' [
  1898. [openssl]' W" s# W' r) K0 ?0 _+ E- Z2 [4 S
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem+ U* l! N5 n: E( w
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should: c+ ~1 c$ X0 S2 i7 P. v9 _
  1901. ; not specify a value for this directive as PHP will attempt to use the. w( l# {  A7 v+ U4 T
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    + ~/ x% K! k% {" r* [$ z( ]; F
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context0 P/ X/ a# |( g8 x7 J1 x5 V+ E
  1904. ; option.+ Y1 P' g" [- p/ x  L# b4 d
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt6 [( k" y4 U1 e9 D

  1906. * `/ J! M* L6 P' I" d7 R
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the, }5 |  e. m+ K* P* t
  1908. ; directory pointed to by openssl.capath is searched for a suitable" {6 B' h% s+ }, r
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    : P3 T, c" h  J! D5 l
  1910. ; Most users should not specify a value for this directive as PHP will& ]& S' |( z' f6 N3 W: S% k5 V
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    2 R# y) l1 x2 W
  1912. ; this value may still be overridden on a per-stream basis via the "capath"/ }* K  W8 X  h9 m" w6 p8 ]( S
  1913. ; SSL stream context option.
    , r: |% N! m3 c% w2 t
  1914. ;openssl.capath=# m3 l% L$ v7 ?  G% _) ^5 Q! ]

  1915. 3 R- v4 e3 v- U+ l7 s, N
  1916. ; Local Variables:6 ^/ |! i2 ?# N9 g* h7 ~6 y
  1917. ; tab-width: 4, i5 x" ?- f9 D
  1918. ; End:: |4 j( W" g/ G  K6 X% ?7 e
  1919. ; a1 Q4 m) m8 ?$ m* Q8 f
  1920. ;eaccelerator
    - A$ Y. A0 a7 d  O/ _
  1921. ( j1 i; j# d2 P; Q4 F3 u
  1922. ;ionCube
    / ^/ g6 \8 Z8 B- x

  1923. 7 L# h  i! J# P1 }5 J
  1924. ;opcache
    1 r! A" m: |  a2 d% k5 i
  1925. 0 l, `* W7 I; b5 z- e$ e9 G; e7 P
  1926. [Zend ZendGuard Loader]! T8 X1 {- }! O9 r
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.1 P% ~' Z- m; x; x2 z  {( w% v
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
      @1 B4 Y9 O- N9 B! i! b% T
  1929. ;zend_loader.enable=1: V# T. X) }5 P" D* L+ _, A
  1930. ;zend_loader.disable_licensing=05 P- H! D2 M  p4 j; w/ S8 M' Q
  1931. ;zend_loader.obfuscation_level_support=3
    ; ^4 U. ^3 f: U% P5 I' o! y$ e
  1932. ;zend_loader.license_path=
    4 v$ E) d3 m* g+ R, T  t& @; M

  1933. 6 S  w( P# ]4 L8 V
  1934. ;xcache
    ' I; J2 \3 {! s8 i" V; `
  1935. ( M$ O) M( f1 b' c* T: g
复制代码
! l9 \4 f! ?9 ]: f- X
- I9 D- O3 [, P$ S& o
: J" W# ^* S" S- X
0 b6 }& y! h6 z+ K  x# D$ _

9 R" R( M. J' c0 Q/ _# t% c4 B8 C  R

( R* r6 R1 U- H8 [& X1 wPHP5.6版本原始设置3 g. {1 {/ d% w: o8 l
& v" O2 i5 D6 l. o
  1. [PHP]+ P- K$ M" ]$ a2 o( V+ F- s+ J8 r

  2. ) I/ o' F2 s  C; n# Y. i9 q/ ^* N
  3. ;;;;;;;;;;;;;;;;;;;- b* h/ h6 c& o( j; t  r
  4. ; About php.ini   ;: w( c( y* K2 `& \
  5. ;;;;;;;;;;;;;;;;;;;
    0 i3 |; n2 \+ c: I9 L
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    5 r1 U, ~5 l( }: g! y
  7. ; configuring many of the aspects of PHP's behavior.
    , N7 o+ S3 O% Y4 j# u7 c

  8. ( T, M" ?' W' l* C
  9. ; PHP attempts to find and load this configuration from a number of locations.4 C2 x$ J7 }$ Y" {6 w; A4 t7 V5 }
  10. ; The following is a summary of its search order:
    " ?! Z: ?; W0 B2 [; C
  11. ; 1. SAPI module specific location.. N% G0 r, d# ~6 {5 }, w/ z! z
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    # g9 D3 B) ~( @1 S3 u" i+ B* i" j
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)" f$ h$ [9 g% _3 ]8 Y+ n
  14. ; 4. Current working directory (except CLI)
    ' Z6 ]! q. }4 \/ m* n4 h" @
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    + K9 O9 v1 o" L
  16. ; (otherwise in Windows)- c( ]6 F# Q! U' x8 U+ n+ `
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    " `; _. ?3 i# Y9 K. I$ q' J
  18. ; Windows directory (C:\windows or C:\winnt)" o+ Q. |. y. Z2 H; S" @5 k# \4 a
  19. ; See the PHP docs for more specific information.: a6 \3 L6 }: O  a: k! w7 E
  20. ; http://php.net/configuration.file
    ( Q- D# K# O, [3 O3 M# n- ?
  21. ' v* w3 N8 v8 K8 O* c( a
  22. ; The syntax of the file is extremely simple.  Whitespace and lines9 _1 k5 ]3 l; {' w
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).* E1 D, v5 ]$ `8 ~6 D9 b3 V9 x
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though: Q% u+ P9 q2 R# `# p& d: R0 R0 ~# i
  25. ; they might mean something in the future.2 m+ I. L1 C0 s; t' y+ q. h

  26. & `5 Z# w3 m6 f( a/ C7 e
  27. ; Directives following the section heading [PATH=/www/mysite] only
    0 m& Z7 j6 Q8 }2 J, j2 q
  28. ; apply to PHP files in the /www/mysite directory.  Directives) D$ F* }$ N6 ?; F( e' W. v
  29. ; following the section heading [HOST=www.example.com] only apply to
    + Z4 L  v5 p7 I
  30. ; PHP files served from www.example.com.  Directives set in these$ P: D/ t. B" ~" v" @4 s
  31. ; special sections cannot be overridden by user-defined INI files or
    8 E: S& [' y1 |  C$ F, \3 D# [
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under1 N4 x$ x. X6 c( q
  33. ; CGI/FastCGI.
    5 \) O. C1 e# Z- M5 X
  34. ; http://php.net/ini.sections
    $ z! C7 X4 i# x# X: }- x
  35. , N0 @1 u9 `# C+ f, q6 o* L+ P
  36. ; Directives are specified using the following syntax:
    1 g) [, e) ?3 a( Z
  37. ; directive = value- p% V0 h) p! ?; {
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ( z. m9 d$ b  M
  39. ; Directives are variables used to configure PHP or PHP extensions.
    5 |# ?% V% n* w
  40. ; There is no name validation.  If PHP can't find an expected
    9 \, m: \/ @  L& u+ ?
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ; X; h8 T/ o: y- J7 x4 u: s4 J
  42. : u& D4 Y1 f+ |$ C
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one2 C2 \, V2 p8 C4 B! f
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    5 M9 }7 i: S# I. L0 ^
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a" `1 p. V0 r% F
  46. ; previously set variable or directive (e.g. ${foo}). R( b8 Q/ s6 m9 D$ ^0 O
  47. ! x- P3 `4 g4 T/ E
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:6 j6 x7 T" x$ m; d" W
  49. ; |  bitwise OR
    6 L: `$ h% L# f8 k& s1 [0 d1 s
  50. ; ^  bitwise XOR% r/ e( ]0 V$ o6 F5 d+ b
  51. ; &  bitwise AND
    % r, m! |2 n/ |: e
  52. ; ~  bitwise NOT. O: |# g1 S+ j9 K( f" W8 L, V, N
  53. ; !  boolean NOT' Z3 v3 P: U! H7 u* _/ P

  54. ( f' }$ T- K( M* a# n: J1 u
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.4 T# j2 l: Q# D3 j8 |) L9 H( ?
  56. ; They can be turned off using the values 0, Off, False or No.
    ( z# M! G/ Q8 \

  57. / [* Z2 j1 a! K6 Y- I4 ?
  58. ; An empty string can be denoted by simply not writing anything after the equal6 K' G- W% I) X: {1 x: S
  59. ; sign, or by using the None keyword:
    % S1 a$ K5 v( u8 y( C9 u
  60. 2 S4 k8 u8 }+ x: i  Z
  61. ;  foo =         ; sets foo to an empty string
    : m8 @! w8 F1 H: G; a% z! c* b
  62. ;  foo = None    ; sets foo to an empty string" s0 L0 L' ?# m* z
  63. ;  foo = "None"  ; sets foo to the string 'None': T& E0 N' K+ j8 N

  64. 2 `2 ?7 V$ Y2 x8 n
  65. ; If you use constants in your value, and these constants belong to a) e4 {/ `; v/ }( T: V
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),2 y4 X( ?" T! f1 U* |2 v; @
  67. ; you may only use these constants *after* the line that loads the extension.$ w" j' h" N  e" w0 a
  68. 8 Q5 O  s3 ~* X
  69. ;;;;;;;;;;;;;;;;;;;) N: }7 h* B8 Q% ~# S
  70. ; About this file ;
    ' n, ?. H2 N+ D2 @# w
  71. ;;;;;;;;;;;;;;;;;;;% `  h+ q$ q: m' B
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    & \- ]( `7 N' O# E9 w& I9 I8 Z, L5 [
  73. ; in production environments and one that is recommended to be used in# g% j. k- B. @0 C, y
  74. ; development environments.
    8 f3 [* ?4 b2 G  U

  75. ) {1 y7 v! Q+ c+ a. {/ {- m/ R% b# @- {
  76. ; php.ini-production contains settings which hold security, performance and1 Q! {% r0 K4 I1 u
  77. ; best practices at its core. But please be aware, these settings may break$ G6 R7 ~; z" P- s# k4 {: Z3 X2 D" U" K
  78. ; compatibility with older or less security conscience applications. We! q: j" S5 P  u9 H: b' B
  79. ; recommending using the production ini in production and testing environments.2 ~' y& e0 X; d" }) F/ D; r6 _  L

  80. - Q5 O6 f" D* n7 v
  81. ; php.ini-development is very similar to its production variant, except it is! s# ^: _* h9 {7 O+ K0 Z- H
  82. ; much more verbose when it comes to errors. We recommend using the
    + D: q, }- Y8 w* T: e7 L
  83. ; development version only in development environments, as errors shown to
    5 v, g0 f$ s/ b
  84. ; application users can inadvertently leak otherwise secure information.2 L  a' v) E0 s& y. P# R3 D( o6 |
  85. ( G; K/ E' i; ~! `
  86. ; This is php.ini-production INI file.
    3 @" d: H# t0 d# D1 m
  87. & y+ E7 Q% E: z3 W9 c
  88. ;;;;;;;;;;;;;;;;;;;, F! b1 N4 @# J2 U
  89. ; Quick Reference ;0 u. W* F) I' i! Q2 z+ W
  90. ;;;;;;;;;;;;;;;;;;;$ n, x: ]. X$ u% \4 m) L9 N
  91. ; The following are all the settings which are different in either the production: ]' F* V. h, M
  92. ; or development versions of the INIs with respect to PHP's default behavior.& t7 d6 K; Q; c+ D
  93. ; Please see the actual settings later in the document for more details as to why
    6 o5 b) U* h: |) R
  94. ; we recommend these changes in PHP's behavior.$ m9 r+ z9 @1 A% }* s1 t

  95. 1 ^) V% s5 m8 b6 ~% n' K" _) A
  96. ; display_errors
    5 D' ^# p; q' R; k7 W
  97. ;   Default Value: On4 i' z, O0 p  j) y8 |) N
  98. ;   Development Value: On
    . J8 e8 K  K' x( k/ Y" S
  99. ;   Production Value: Off
    ! k# a0 f: p# @
  100. ' n6 _/ i( R1 f2 a: D5 y+ h
  101. ; display_startup_errors
    ( D5 R& |. g3 S) x% I
  102. ;   Default Value: Off
    ' V* D& \6 ?; D7 Z: _* k/ l( {
  103. ;   Development Value: On; `9 }' `- G3 ?1 w, N
  104. ;   Production Value: Off
    . |* J1 @" c2 w+ A0 q
  105. , c4 M$ J' k1 H; Z/ j) \- P0 J( v
  106. ; error_reporting2 O* U. f* k8 i, m; N4 a$ r% u: @) |
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    : O5 ]* {6 {( z  W. G
  108. ;   Development Value: E_ALL
    2 V4 O/ s$ p2 t# D, c
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 T. c0 u, B5 _3 ?( h$ p5 A

  110. " U- y* K0 g2 A# \/ u" I$ K
  111. ; html_errors1 q" s  f, [4 e1 V* b. X8 |! p
  112. ;   Default Value: On
    , J1 h/ Y9 _1 C: N7 n
  113. ;   Development Value: On
    6 O! L" H, M, i; L8 f: U2 e
  114. ;   Production value: On
    ! p" r/ a. V- Q' V
  115. $ y* Q1 D! X* o  d$ n) q+ F
  116. ; log_errors; L$ [6 w& ], j5 Y; u! U
  117. ;   Default Value: Off
    7 m2 E* f- N: B' G4 A
  118. ;   Development Value: On
    ; e7 H7 k$ m$ z( k8 F
  119. ;   Production Value: On  Y$ h$ f/ |8 |8 }( a

  120. / W3 t" K5 j* `* a
  121. ; max_input_time
    1 x+ G! y3 S1 z
  122. ;   Default Value: -1 (Unlimited)
    ( V2 F( f2 q' `& K; `- P( C) O
  123. ;   Development Value: 60 (60 seconds)
    # ^) z- j. H. ^6 O
  124. ;   Production Value: 60 (60 seconds)% u6 S. |8 t4 O+ |$ J

  125. 1 \6 J& P, ~% a1 r+ r6 P
  126. ; output_buffering
    0 H% F7 c- Q1 U8 I5 ~
  127. ;   Default Value: Off
    % i& k- ~: o; h' h$ x
  128. ;   Development Value: 4096
    % b( p7 D+ x  q& ]# _
  129. ;   Production Value: 4096, w# ~7 r" D( x. s
  130. . f/ C4 ^# i6 p, ]- P+ x! j
  131. ; register_argc_argv
    ) T  ?4 F5 v, J  Z' |; {" g" Q
  132. ;   Default Value: On% Y7 n5 G/ ~1 s$ _. i
  133. ;   Development Value: Off4 r. c+ T; I& s  E3 P0 X8 q
  134. ;   Production Value: Off5 }; L4 J1 P) \! ?
  135. * m4 _/ M, ^/ W6 h5 w* ?- C
  136. ; request_order/ w$ K  Y1 A  A0 M. `
  137. ;   Default Value: None) ]0 m! p# T! ?( j0 E. Z9 M
  138. ;   Development Value: "GP"/ z; S6 m, U% T0 r# V) ]  r
  139. ;   Production Value: "GP"" q7 y# H$ X- o( Q5 s+ r. x9 b! j$ n
  140. # E9 Y- K$ V' r3 A! h6 A2 Q( e
  141. ; session.gc_divisor% f1 i/ o5 E. T; V; P2 n! |* v
  142. ;   Default Value: 100' o$ X8 V7 o8 U. m
  143. ;   Development Value: 1000
    8 Z( E  S$ Z) T% Y) a9 p4 y
  144. ;   Production Value: 1000
    0 P% A$ t$ ?1 u. m. v
  145. ( N( a( o6 U& p. R- p, C5 d
  146. ; session.hash_bits_per_character
    0 i0 e! g4 ]0 A7 `6 U
  147. ;   Default Value: 4
    & S. [+ G# P$ o* g, t& M8 d6 }
  148. ;   Development Value: 53 v1 I. |2 w* m8 ~) Z2 J
  149. ;   Production Value: 5
    + s8 |2 L* q# E( q) M  G+ ~# h
  150. : q$ c( Q+ U7 [; V# `
  151. ; short_open_tag& ~" T. T7 y6 p% d
  152. ;   Default Value: On6 P: J9 b9 |$ N) ~2 D
  153. ;   Development Value: Off5 Z3 m% r7 l$ a  @) [
  154. ;   Production Value: Off
    ( s7 M5 w7 s$ c" ]3 q& l7 K; o8 j

  155. 1 k5 [6 a* w. r4 i5 M
  156. ; track_errors6 R  q3 ~8 a0 K4 {
  157. ;   Default Value: Off: h( X: k; l( [
  158. ;   Development Value: On
    3 p) Y& x, S' P  `8 T1 ~6 I9 r
  159. ;   Production Value: Off
    3 q1 v3 g: P1 Q
  160. 5 h( c, P; H' k% V9 ?# b
  161. ; url_rewriter.tags& C' l/ h' c9 ]% Q* W1 m! y
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="1 R' Q6 b3 c/ l9 z1 ^( ?, U
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ x, W9 ], Z8 Q' Z# Y* e) ^# c
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  C- `! F" |, q$ X& J

  165. 3 s# @3 `; s2 g" c4 k6 {5 O% d
  166. ; variables_order) O" c2 O8 J3 D& Q4 [
  167. ;   Default Value: "EGPCS"
    1 p5 p8 ?/ Z5 A2 G3 f+ b: |
  168. ;   Development Value: "GPCS"  g- H& E* ]9 e
  169. ;   Production Value: "GPCS"
    8 X- v9 o- |$ \8 J# }
  170. 9 n  s9 i# t4 l
  171. ;;;;;;;;;;;;;;;;;;;;5 r/ }  G/ E& `& R" E
  172. ; php.ini Options  ;
    + A, S5 l( y8 p
  173. ;;;;;;;;;;;;;;;;;;;;( J4 l( d1 o7 B
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini", z6 v7 K; q/ ?3 e0 ^! k" r4 W
  175. ;user_ini.filename = ".user.ini"
    # _+ t) ?4 j; q; E5 d1 |
  176. 8 K" H/ d/ `+ ^4 a% I
  177. ; To disable this feature set this option to empty value
    * |1 |) B4 ~( A" w9 @& V% E. B* e* S1 c
  178. ;user_ini.filename =
    2 r# b/ a/ y4 r) O1 L
  179. - l8 l4 Y; {: U% X
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)& n2 v, a( p# C/ y
  181. ;user_ini.cache_ttl = 3009 a7 ?" b5 V. c) k( W% x+ O6 e) _
  182. 7 x% I. v2 o' U' Z& a4 \
  183. ;;;;;;;;;;;;;;;;;;;;
    * F1 o1 r1 W9 n$ y
  184. ; Language Options ;
    ! |' }0 u* ]$ X  `4 @2 k
  185. ;;;;;;;;;;;;;;;;;;;;
    ) \$ o+ j# j( E, M, q& w6 u+ ~
  186.   A( P' H8 }7 V. @
  187. ; Enable the PHP scripting language engine under Apache.
    . J, C! |' j! L+ I) L9 q0 s+ n
  188. ; http://php.net/engine3 ^* h0 w+ r/ X. m0 n6 X
  189. engine = On
    ; D# k" k: `# g/ [
  190. * ]5 b) N* Z& T' }- r1 k. G( w! r
  191. ; This directive determines whether or not PHP will recognize code between+ A1 {6 \0 j7 B5 B5 b
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ) L& T" e( }& a5 X
  193. ; generally recommended that <?php and ?> should be used and that this feature3 j8 J2 ]9 y( F  N
  194. ; should be disabled, as enabling it may result in issues when generating XML3 }. O$ X: r1 S& `
  195. ; documents, however this remains supported for backward compatibility reasons.
    " O: E& {# J6 Y/ u  Z) M
  196. ; Note that this directive does not control the <?= shorthand tag, which can be2 A% s: @9 }- A' d! S
  197. ; used regardless of this directive.
    " B6 T# B  \# @+ y8 f& c
  198. ; Default Value: On
    7 ?% Y3 `( r4 e
  199. ; Development Value: Off( {; A) w6 K& Y8 G/ {. Y# z, x
  200. ; Production Value: Off
    " i4 b0 X# v5 F) T1 J0 a
  201. ; http://php.net/short-open-tag: L/ B3 T. G' c) ?/ u
  202. short_open_tag = On
    ; Q  Z3 D% P5 `
  203. 5 ]* V0 V% F( c, a: ^$ A
  204. ; Allow ASP-style <% %> tags.
    + o- o0 e6 l; I/ A! @3 ?% J+ B
  205. ; http://php.net/asp-tags& G( V8 c3 k2 |3 Y8 \3 @5 {
  206. asp_tags = Off
    " j+ b* j) C2 X; V! z0 F

  207. * d2 T* K) n- F
  208. ; The number of significant digits displayed in floating point numbers.
    : Y% {. C1 F. B4 b+ H# r
  209. ; http://php.net/precision
    7 m3 I, m$ ^$ [1 |0 h  v- a! l) E
  210. precision = 140 z& B% r7 t0 k- h8 z# M) z

  211. + p" H; @+ P7 L% t& W1 \/ l6 W
  212. ; Output buffering is a mechanism for controlling how much output data
    & g) t" u$ r. G
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that. }( n1 J, p# B' s  s
  214. ; data to the client. If your application's output exceeds this setting, PHP
    2 A0 K5 ?% d* b, [
  215. ; will send that data in chunks of roughly the size you specify.
    7 S8 D2 }3 B+ v
  216. ; Turning on this setting and managing its maximum buffer size can yield some$ k: \. N& u) A" \" T1 q
  217. ; interesting side-effects depending on your application and web server.
      s  f3 f8 U) ^: [* p" g8 ~8 `$ S8 _
  218. ; You may be able to send headers and cookies after you've already sent output
    3 u5 `& `+ r* F+ I9 k* Z- b
  219. ; through print or echo. You also may see performance benefits if your server is% O) T7 }5 b8 @  k3 O% x% c
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    , E. T4 v1 A0 z( N9 i
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    , l* [* l. k& ^9 z) i4 p
  222. ; reasons.
    % p6 t' W! t5 n9 C* s
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    3 O7 ^5 ~  S4 e0 b4 r/ H. [
  224. ;   functions.9 j8 a8 H# p. H+ _
  225. ; Possible Values:3 x3 E+ U' N5 r* y9 X3 q( F
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    $ D" W' a3 [" n/ `
  227. ;   Off = Disabled9 |3 J! i+ _; u7 C) R6 L
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes., G, l! |! V1 {# ?( L! }, f- ^
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI. T1 D' _& c) G/ B! H9 _; I2 \) P
  230. ; Default Value: Off+ d3 ]2 r. P$ I( ?, |. W7 u
  231. ; Development Value: 4096
    ; |8 K. _* t! f: {2 b8 l
  232. ; Production Value: 4096: k4 Q. u% K6 D# [$ C- M
  233. ; http://php.net/output-buffering$ W* d2 c4 F$ ^( K" w
  234. output_buffering = 4096' U9 v* z& `0 R/ M! i" S+ ]: Z

  235. # F  {3 ~) t; T6 h7 O" l" ^7 [  q$ z
  236. ; You can redirect all of the output of your scripts to a function.  For; y1 v# r4 Z/ i6 i! ]3 j$ X
  237. ; example, if you set output_handler to "mb_output_handler", character
    7 y' G2 A  b$ ?6 K+ L$ i; i
  238. ; encoding will be transparently converted to the specified encoding.
    % x6 V+ U/ d6 @# x# k) p& P
  239. ; Setting any output handler automatically turns on output buffering.
    / S$ o9 C8 G6 N( K. K- E/ {
  240. ; Note: People who wrote portable scripts should not depend on this ini
    % r% @& U, L2 z& D
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    ! `' m5 n, {" }& J
  242. ;   Using this ini directive may cause problems unless you know what script
    . Y: u& z2 M/ t0 B
  243. ;   is doing.
    5 e4 \; n# d3 A5 P2 o
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    7 @5 {+ I9 h6 d% d8 D$ p
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    5 d3 d& C2 ~0 ], y8 J
  246. ; Note: output_handler must be empty if this is set 'On' !!!!0 {! g9 m9 {0 E5 z. |) K6 B
  247. ;   Instead you must use zlib.output_handler.
    , J# A, ]0 Z' u8 ]6 _+ Q6 {1 x
  248. ; http://php.net/output-handler- j# [0 ^- {0 _4 _9 v: O( |$ w) k
  249. ;output_handler =# P( ]# }$ J- ?7 d5 S# }9 Q9 V$ @

  250. % u" q( Y8 V$ [& e
  251. ; Transparent output compression using the zlib library2 q, f7 l) e6 t" Y
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    $ s" D6 _. E+ |. h0 [
  253. ; to be used for compression (default is 4KB)* A. u" x- i8 C
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP3 S# @  Z5 \* T# w* `# v
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    + _  ^' Z9 a, Q% ?5 p9 E0 i: j
  256. ;   compression. If you prefer a larger chunk size for better/ J' o+ r8 [+ [2 F1 Z
  257. ;   performance, enable output_buffering in addition.
    7 m4 D3 s- s+ i1 G5 v1 j3 i
  258. ; Note: You need to use zlib.output_handler instead of the standard
    $ j. N1 B1 u. y
  259. ;   output_handler, or otherwise the output will be corrupted.
    7 Q. I7 X; J8 k' m- N0 L# z% a# r$ l% ~
  260. ; http://php.net/zlib.output-compression
    $ R. u% Y) |. o, z8 u
  261. zlib.output_compression = Off" Q# _; m- k, e/ G
  262. & l5 ]- h1 O% A
  263. ; http://php.net/zlib.output-compression-level5 W# x0 p/ L2 g
  264. ;zlib.output_compression_level = -15 F* _3 h( V1 Z$ c# k8 y" y. |

  265. ! T: S+ A0 `. g& ?
  266. ; You cannot specify additional output handlers if zlib.output_compression! D# ?6 S: y" a+ W( l+ N
  267. ; is activated here. This setting does the same as output_handler but in
    + }7 K( L' }  }, `* ~
  268. ; a different order.
    - Q$ a8 T. R& N0 l
  269. ; http://php.net/zlib.output-handler
    * W/ K7 U* M1 y7 B  X, Q9 m2 l, P* }$ l
  270. ;zlib.output_handler =
    % s% e4 z  ^! I( l! g5 n  Z7 o
  271. ! `& W! H6 n6 n- E9 I% ^
  272. ; Implicit flush tells PHP to tell the output layer to flush itself( Q+ @0 E3 ]! T( F: g
  273. ; automatically after every output block.  This is equivalent to calling the9 V' E7 L. I( R: O5 y
  274. ; PHP function flush() after each and every call to print() or echo() and each. i8 b* ?% `# T
  275. ; and every HTML block.  Turning this option on has serious performance
    ( Y" V, e2 D, y3 T' d6 a, c  o- C
  276. ; implications and is generally recommended for debugging purposes only.3 R0 @3 q, b4 h$ d
  277. ; http://php.net/implicit-flush) F/ A5 [: C7 h5 }
  278. ; Note: This directive is hardcoded to On for the CLI SAPI+ q/ y0 h" h5 S0 a
  279. implicit_flush = Off
    ! Y1 a2 {7 ]: k' X7 `5 u

  280. 2 p. U% Q# ?6 @2 Z. b1 l
  281. ; The unserialize callback function will be called (with the undefined class'$ H2 `, h. R5 e( P! ]2 P
  282. ; name as parameter), if the unserializer finds an undefined class3 w$ q& g* X/ _2 G) q6 z# a8 U5 U: z1 K
  283. ; which should be instantiated. A warning appears if the specified function is
    ! w" B" K& B$ s7 k. g/ W. }
  284. ; not defined, or if the function doesn't include/implement the missing class.4 h* ~1 H; t1 {- U
  285. ; So only set this entry, if you really want to implement such a
    . H8 S& W: E" H* a
  286. ; callback-function.3 Q0 a6 Y' g8 d0 O# G
  287. unserialize_callback_func =3 n& n- L2 l/ L2 v  f

  288. # R  @' E( R& }# V, m" W. D- \3 u, U4 E
  289. ; When floats & doubles are serialized store serialize_precision significant
    0 I* m; M; S! g! ^* G' U
  290. ; digits after the floating point. The default value ensures that when floats" Y& ]+ a3 |, `+ n" Y5 Z
  291. ; are decoded with unserialize, the data will remain the same.
    1 Y! w  h: ?, W, I7 u
  292. serialize_precision = 17  n* P6 b: b* C: x; ?* e( o
  293. 9 Q! U# F- t( T7 e' }% e) v
  294. ; open_basedir, if set, limits all file operations to the defined directory
    ) c/ K5 N# k* k- H; }  d8 Z
  295. ; and below.  This directive makes most sense if used in a per-directory, s3 D- o, ]$ J6 w7 V
  296. ; or per-virtualhost web server configuration file., V' D2 I% ~. ^! H4 J( u! w6 x( I8 }
  297. ; http://php.net/open-basedir% `/ N! {6 n% F
  298. ;open_basedir =
    3 ]' T' b& e- X$ k6 n" _
  299. 1 e* x! T8 \! j4 X' P- v
  300. ; This directive allows you to disable certain functions for security reasons.
    6 j/ L, r0 a2 N% J
  301. ; It receives a comma-delimited list of function names.
    , o! _/ x/ |6 z3 S7 k$ g
  302. ; http://php.net/disable-functions& |  j9 |/ W2 s; e  ~
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ) a* t- p4 V7 J2 z
  304.   u$ t5 ^; ^. S/ o3 l
  305. ; This directive allows you to disable certain classes for security reasons.9 f8 `1 ?2 r! [
  306. ; It receives a comma-delimited list of class names.
    : P: w4 Z9 W+ u$ `0 p
  307. ; http://php.net/disable-classes
    : }  x& N7 _4 K4 P' G
  308. disable_classes =4 t! d: w0 Z& W- q- ]
  309. ' r1 ~& ^% O% W. T/ ^: Z8 B& }- g
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in* w/ W5 k' |) O. _7 @
  311. ; <span style="color: ???????"> would work.
    ( U9 \8 M: h6 A: |1 R
  312. ; http://php.net/syntax-highlighting7 c) N0 m$ _0 h& p2 N
  313. ;highlight.string  = #DD0000
    / R$ k2 [/ |& ?: W6 S; }
  314. ;highlight.comment = #FF9900
    - j, v7 P# E3 m7 _! |6 \7 F
  315. ;highlight.keyword = #007700
    7 V. G9 z# f$ i1 c% X! [8 I( K
  316. ;highlight.default = #0000BB
    - U, ?  g$ V2 l4 U
  317. ;highlight.html    = #000000
    2 v  `! e* _6 g8 P& r* d$ F/ t

  318. ! y& |; h; I+ A# K! k/ s
  319. ; If enabled, the request will be allowed to complete even if the user aborts" F6 B- v3 i( V# e: k2 w
  320. ; the request. Consider enabling it if executing long requests, which may end up" @$ E5 L) s9 @$ g2 @
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    # F" ~# E2 p( d, w
  322. ; is to disable this feature.
    5 p5 Y( b) g9 q+ q4 \
  323. ; http://php.net/ignore-user-abort
    ( l  S- s# Q: u
  324. ;ignore_user_abort = On
    $ M9 D% Y2 r( q
  325. : _+ m0 n0 s4 i. f  Z: n  g) _1 k
  326. ; Determines the size of the realpath cache to be used by PHP. This value should& a& `2 A9 g/ n3 O$ b, y- ?
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    ) c) O8 [4 C4 b8 u* U1 H
  328. ; the file operations performed.4 u0 C5 Q6 x$ u- H
  329. ; http://php.net/realpath-cache-size
    ' v- E* F, ^+ `( y8 o5 x  G/ B
  330. ;realpath_cache_size = 16k$ v3 W. [6 b* d7 O* W8 a9 z
  331. 7 _- G) e$ F1 T* Y( G! Q
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    . R! S% V4 s2 I. E$ {' D: m/ g
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    + R! t) @7 K" _& L$ P
  334. ; value.- j" P" f1 X2 l, H& @$ b+ U
  335. ; http://php.net/realpath-cache-ttl
    ! c/ U6 w+ n3 s  N0 y; |
  336. ;realpath_cache_ttl = 120. @( a- h/ x# I9 o& V/ c% |

  337. 9 a3 ^/ m4 O& t9 @5 u1 i+ B! C) E
  338. ; Enables or disables the circular reference collector.
    : n1 j3 I/ U7 B9 `$ g
  339. ; http://php.net/zend.enable-gc4 Z. ]6 ]4 w/ _
  340. zend.enable_gc = On# q3 k" S# I/ W, |1 L

  341. - `  ^1 N( H  b% H# x6 u  H7 D, Y
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    , h3 O" L# K% }, f  {
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    . D" Z  _8 N" M- n7 |8 G2 a. h
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    . N! h- l+ ^6 i) R: E8 n( ]
  345. ; Default: Off
    & q  u5 B) D6 }
  346. ;zend.multibyte = Off" n6 ~" ?8 E& \: f1 U
  347. ' h# H4 n4 w8 t+ [  }
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    # w- I. V( ]0 B* [, q- j$ w4 [
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    1 Y. ^  A& u+ D7 U
  350. ; Only affects if zend.multibyte is set.
    8 v  i- k/ \* n( u0 T  h
  351. ; Default: ""+ c6 L! M8 d3 v. @0 W# M
  352. ;zend.script_encoding =  q) ]: ?, T* V8 t7 n

  353. . i& y' P+ D$ H3 G( I& f
  354. ;;;;;;;;;;;;;;;;;
    8 C' j3 A( a3 l5 v8 ^8 ^
  355. ; Miscellaneous ;
    ; s* I0 o! G; |( H4 R
  356. ;;;;;;;;;;;;;;;;;
    % Y4 E3 x* a4 o8 V4 U* \2 m

  357. 7 O# o$ W8 c) a& `) V5 T
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    7 y4 U: \+ ^+ l
  359. ; (e.g. by adding its signature to the Web server header).  It is no security1 M) F2 X+ `4 H  f6 U; L
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    " @+ ]( i: I& b. z- f& T. P: w
  361. ; on your server or not.( b9 [4 r! m" _3 B0 O
  362. ; http://php.net/expose-php$ e# G# P- O! F5 @
  363. expose_php = On. E8 L- [6 t; f6 Y
  364. ) L7 F' S7 ^, d; G) c7 |) N
  365. ;;;;;;;;;;;;;;;;;;;
    4 V" M! x, [8 K7 g
  366. ; Resource Limits ;
    7 d( J) E+ V1 A  W1 k# `7 V' V
  367. ;;;;;;;;;;;;;;;;;;;
    % u* W- w7 q: n  [$ w& u
  368. - a  v0 t9 w. A9 y' @( `
  369. ; Maximum execution time of each script, in seconds
    5 k$ D. l" {. W+ ?! {6 |( d% o
  370. ; http://php.net/max-execution-time
    " n6 A7 Q! z! ^' M8 C# ], W
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI# D: k) @0 n2 N' A+ S5 N! ^
  372. max_execution_time = 300; j2 |% L! a$ K4 B' J, L1 b6 C- x0 d

  373. ! r- z  E7 n! o" _, ^
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    ' X$ ^. D7 X% z9 C% R% G" ~
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ( E. m! W8 |1 v3 ^. m
  376. ; long running scripts.
    ) i  x% q, ]8 {8 g, {
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI2 |: k5 c* B( E) p+ q
  378. ; Default Value: -1 (Unlimited)$ X: Y7 W* O9 }; W
  379. ; Development Value: 60 (60 seconds)
    4 ]: b( q  `- k, |/ F, L6 a
  380. ; Production Value: 60 (60 seconds)
    ' v: @. [5 m% u! h1 U5 [* U4 ~; H
  381. ; http://php.net/max-input-time6 n; n* R# v$ R" ~& D
  382. max_input_time = 60
    + ?/ Y' o+ A4 r! L
  383. ' ]) S& p+ K) g- g# c
  384. ; Maximum input variable nesting level
    3 @" _8 {; C# C! W& w
  385. ; http://php.net/max-input-nesting-level
    + ]& H7 E& N* _# g- m
  386. ;max_input_nesting_level = 64
    ( A$ U- j) k/ b* V3 j
  387. , [& N. ]& O2 f
  388. ; How many GET/POST/COOKIE input variables may be accepted3 h4 b6 @. y. C9 J
  389. ; max_input_vars = 1000
    : ~% T2 G* ]1 d
  390. $ u. t  P% m4 @$ e
  391. ; Maximum amount of memory a script may consume (128MB)$ M* \- r5 t' g; ~
  392. ; http://php.net/memory-limit$ N0 m7 b) a3 ~5 g$ j
  393. memory_limit = 128M. V8 z( X! J6 n+ v( Y0 a8 i
  394. # L( H; z+ c0 ^/ F+ l0 G  s
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    $ Q: x! n. A* I  l3 M1 y
  396. ; Error handling and logging ;
    ( _- r2 r* F9 I* C
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    7 P6 B0 c. @/ p. b9 w" l0 I
  398. 5 e- N# [0 m* z; Y0 u# Z
  399. ; This directive informs PHP of which errors, warnings and notices you would like1 a' x3 [' j' c& b" J* A5 B
  400. ; it to take action for. The recommended way of setting values for this
    4 K$ {6 H( z0 ~( X3 e  b/ [
  401. ; directive is through the use of the error level constants and bitwise
    7 ]  F, i/ Z9 \. r' _
  402. ; operators. The error level constants are below here for convenience as well as
    # O$ G% N; c2 H
  403. ; some common settings and their meanings.
    9 c$ S' G+ |/ J# f2 G2 V( ?' a$ {$ @
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT  _0 g$ l7 }7 ~5 E1 X2 v) ^& `
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    3 j- t; p  f/ s  {- ?9 y* Z
  406. ; recommended coding standards in PHP. For performance reasons, this is the. j* o4 z7 m! C0 ~
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ; |7 o7 ]8 M" I: m
  408. ; resources complaining about best practices and coding standards. That's what# j: o+ `% }2 `* d1 U, v
  409. ; development servers and development settings are for.
    1 S  P8 L, }# q% C6 [8 r
  410. ; Note: The php.ini-development file has this setting as E_ALL. This6 I; n) \$ c/ H7 h4 ~6 H" k
  411. ; means it pretty much reports everything which is exactly what you want during3 y# \: p) o  `
  412. ; development and early testing.! P) U* ~% Y! z8 Q4 y; Y( I8 ?
  413. ;% `% y* D  }" H2 J( b6 b5 _- s
  414. ; Error Level Constants:
    3 I% |/ o9 o4 g8 s: e7 W& p) e
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    % W) j  k% J& W3 V8 ?% f) _* c! e5 o
  416. ; E_ERROR           - fatal run-time errors
    / I" r2 G2 _7 k; h9 A
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors! f- K2 I; |; C  X/ v0 U
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    & x9 P, c  S! h
  419. ; E_PARSE           - compile-time parse errors- n: Z6 J. N/ i0 H0 h
  420. ; E_NOTICE          - run-time notices (these are warnings which often result3 y' |. G- K9 A+ R
  421. ;                     from a bug in your code, but it's possible that it was
    ' R3 W7 s7 b" P
  422. ;                     intentional (e.g., using an uninitialized variable and
    ( Y% [" v" c2 ^; A9 J
  423. ;                     relying on the fact it is automatically initialized to an
    ; [2 B' g9 c, A& u9 |! N
  424. ;                     empty string)# ^7 O3 ]8 m% k( Q' }( ?0 c
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    + e" G3 o" S/ Y
  426. ;                     to your code which will ensure the best interoperability
    % f( k7 ^; W0 t9 }5 V
  427. ;                     and forward compatibility of your code) D5 T. Q! F& D2 F; d4 V5 i
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup$ G; Z8 X. t& t% @) l& K
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
      N' v0 V0 d( ^7 W5 P( v% l" p
  430. ;                     initial startup7 C: x. Y1 m3 ]: r1 @' \
  431. ; E_COMPILE_ERROR   - fatal compile-time errors; n5 O- _& L, u: U: d' u) l
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    " b3 g7 b" V2 l2 j" a
  433. ; E_USER_ERROR      - user-generated error message
    : g( U; [: C+ |) P2 E4 K6 z, Y
  434. ; E_USER_WARNING    - user-generated warning message/ J5 b9 n) \* Q7 y8 s! I/ r
  435. ; E_USER_NOTICE     - user-generated notice message7 E3 g6 p3 L- G3 P+ k4 j
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    5 i8 o- _8 S6 ~# E5 e& F& I
  437. ;                     of PHP
    ) f" E" V# J9 o) ]. f
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings0 o0 J) x# B: R7 a
  439. ;
    ' j: s8 `5 N1 S0 T- o
  440. ; Common Values:
    6 i' e4 A9 `# R) Y4 l
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    . v/ G4 B* a' T
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)' P0 X1 Z- n9 B" b3 f3 a! F
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    # ?6 p+ X- o) o8 k8 f2 H4 V
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)/ w3 V+ l) L3 q+ k  u
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED4 F# s! a4 X& Z/ e
  446. ; Development Value: E_ALL* s( o5 C1 E/ S8 f  R; F5 \+ }
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
      o3 R6 {1 R; Q
  448. ; http://php.net/error-reporting2 ^- p" H1 F' |4 D/ I: A5 H
  449. error_reporting = E_ALL & ~E_NOTICE
    0 N& |% @4 ~# Z0 r- E

  450. * }6 D. q* o3 V6 O' K' G& k8 G% Z* y
  451. ; This directive controls whether or not and where PHP will output errors,
    7 B% i2 ^# c: s% E5 e$ T' H6 ~
  452. ; notices and warnings too. Error output is very useful during development, but
    " Q% A+ E+ j. r: Q7 T
  453. ; it could be very dangerous in production environments. Depending on the code7 m$ `6 t7 [$ {' Y3 K( e* B0 ?
  454. ; which is triggering the error, sensitive information could potentially leak
    & `) d. `% ?8 y: A  W' H4 r
  455. ; out of your application such as database usernames and passwords or worse.4 q$ t- V, d9 l  J5 b
  456. ; For production environments, we recommend logging errors rather than
    4 G7 r/ W$ q: I5 i/ I" x4 q
  457. ; sending them to STDOUT.
    ( A1 [& E3 U+ E4 y5 q
  458. ; Possible Values:" H1 x, l+ d! {  K  C3 ^
  459. ;   Off = Do not display any errors4 z" c; w* _! l+ C& I
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    2 x( U# u& R' t3 C$ k5 f% z
  461. ;   On or stdout = Display errors to STDOUT4 `1 Q, i/ \9 b' l% a2 O3 q
  462. ; Default Value: On
    ' v+ i( ]6 ^' C
  463. ; Development Value: On1 s5 [% D) k" M+ S2 H2 R! k
  464. ; Production Value: Off* L. l# ]" V% g! p
  465. ; http://php.net/display-errors! e4 ?! t) n* b) P& b3 o2 {
  466. display_errors = On% M8 {8 c# A4 M! x

  467. + C1 u+ W7 Q& i# b. W
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ; N  D2 s" T/ |' `; x4 b6 t1 @
  469. ; separately from display_errors. PHP's default behavior is to suppress those$ N& z, ^3 e: r9 C0 H% `
  470. ; errors from clients. Turning the display of startup errors on can be useful in- [: \- C: ~5 o* G( H
  471. ; debugging configuration problems. We strongly recommend you
    0 {, ~! T# r# {# L
  472. ; set this to 'off' for production servers.; M9 R4 z6 c( p0 A
  473. ; Default Value: Off
    4 C. f% z6 q" r& E) A4 E" Z3 F
  474. ; Development Value: On
    : }9 M% Y+ M' T; M; z' b$ t
  475. ; Production Value: Off% }9 A6 h' |, w) j  `3 o' c
  476. ; http://php.net/display-startup-errors
    : q3 [) N9 v1 @7 p- m
  477. display_startup_errors = Off
    1 g0 S& F1 w$ r! H/ g3 @4 E

  478. . x2 o+ r( L5 V8 E- B9 g- x% e
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    - I( T; ]- v% }8 l2 o/ j
  480. ; server-specific log, STDERR, or a location specified by the error_log
    " H3 z! @3 O8 v
  481. ; directive found below. While errors should not be displayed on productions1 a! Y) z" G# N" `
  482. ; servers they should still be monitored and logging is a great way to do that.* X* I+ z1 T  L7 }0 @: h
  483. ; Default Value: Off
    " _  u" K6 e% O0 A: `
  484. ; Development Value: On. ^  g( K3 z1 V1 g& i1 P7 P
  485. ; Production Value: On
    7 ~9 J) u3 f9 n
  486. ; http://php.net/log-errors
    & g; b' H0 u+ c* m* C9 b) p$ Z
  487. log_errors = On: {' U6 ~: c* k  O
  488. % {5 F, L/ U4 N! p7 P
  489. ; Set maximum length of log_errors. In error_log information about the source is% |& J6 ?3 ~: H& t* S/ p! c
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.# i4 Y# t2 a1 l/ U5 H6 q8 E; ]
  491. ; http://php.net/log-errors-max-len: Y2 M" U( ~  F# c
  492. log_errors_max_len = 1024
    - |7 @* ]2 j+ R
  493. 3 _5 P  Y8 V3 X
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    + i- F. |5 Q4 B: Z2 {: M
  495. ; line unless ignore_repeated_source is set true.
    ' l9 T4 L2 ~& x+ k- ?: {
  496. ; http://php.net/ignore-repeated-errors0 Y/ a+ Y7 W4 w8 n
  497. ignore_repeated_errors = Off
    0 R- g* L1 O9 j4 j9 }

  498. & b# H8 I9 v! f% F1 H4 @
  499. ; Ignore source of message when ignoring repeated messages. When this setting6 x" C1 h5 v1 Z& F. N& ]+ w
  500. ; is On you will not log errors with repeated messages from different files or2 m- b# V  Y" ~# y
  501. ; source lines.
    # ?0 I. G. A# d
  502. ; http://php.net/ignore-repeated-source
    6 `: j$ ]) l. t$ c) }
  503. ignore_repeated_source = Off$ Y( b: u+ ]$ k( l9 T& u

  504. ; V: |# j2 p: ~: n! U+ G
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    1 @: m" V5 h! S6 A
  506. ; stdout or in the log). This has only effect in a debug compile, and if. o7 I6 ]8 X5 B: o
  507. ; error reporting includes E_WARNING in the allowed list6 s4 k4 M% _' {; c' G
  508. ; http://php.net/report-memleaks
    9 E/ r' a# h0 r3 p) N2 K% J5 _6 f6 P
  509. report_memleaks = On! ^6 m7 s1 c$ Q( i. S8 R& H" F9 x$ p/ c
  510. + U6 p7 F' q" i0 u1 G+ L8 p$ I0 ]
  511. ; This setting is on by default.
    3 y+ g, _3 q  ~7 M1 D; b' O# P
  512. ;report_zend_debug = 05 h+ g* a2 F$ g% x: p& S7 U

  513. 4 t( x! u  W9 v6 \& A& |  L
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    / E9 [: [* R% V
  515. ; to On can assist in debugging and is appropriate for development servers. It should- G% ]( q, z/ Q. ~7 P1 w0 a7 m8 A" c  ^
  516. ; however be disabled on production servers.0 Z" J1 u- c; v3 Y; x3 _
  517. ; Default Value: Off2 F( s' P( }+ g' B( @  I9 K* i% l; Z/ w
  518. ; Development Value: On
    8 q; X' i* Q4 d; ]
  519. ; Production Value: Off
    % g# M4 F  L" s& F( U1 T1 ?
  520. ; http://php.net/track-errors1 d3 ]6 n8 ~3 R
  521. track_errors = Off
    ' p. J2 ^) [6 g
  522. 8 Q1 k3 I5 x: z" k0 F! u& W
  523. ; Turn off normal error reporting and emit XML-RPC error XML# \% }3 D6 H8 i, L. u, R" y
  524. ; http://php.net/xmlrpc-errors
    8 m! L0 w6 B* E
  525. ;xmlrpc_errors = 0
    1 g2 W4 I2 b! w  h

  526. / n7 K- V6 K+ A6 H! v( [
  527. ; An XML-RPC faultCode
    6 V6 b: q, P) b$ o
  528. ;xmlrpc_error_number = 00 D% q) b* F0 \- m0 v0 N

  529. ) I2 P  l0 b7 u4 k
  530. ; When PHP displays or logs an error, it has the capability of formatting the7 ?! j  T) p. i
  531. ; error message as HTML for easier reading. This directive controls whether
    ! P/ B: Z" r2 u. \7 e
  532. ; the error message is formatted as HTML or not.  ^  L; ?+ _1 S. r
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    $ a; d8 W- D! {+ l! `+ r
  534. ; Default Value: On
    ! W7 G% I( ]2 U: |% M# k
  535. ; Development Value: On
    7 k1 q. L. y9 }
  536. ; Production value: On
    8 E- `0 h+ D/ p  D  S, `+ W
  537. ; http://php.net/html-errors  `6 W( y' q' ~5 y" e% P
  538. html_errors = On
    % p( G2 S# K: P/ C+ Q" c7 k+ B5 W

  539. * X6 c) n3 C) q/ N) |; a
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    & ~+ Y6 }  F$ O9 b# X
  541. ; produces clickable error messages that direct to a page describing the error) H; e, f4 \$ T8 l8 U* B. Y$ R  F* f
  542. ; or function causing the error in detail.
    - g  q: G, W6 \! ~+ T
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    8 q% x3 n6 m  R1 m$ D* O7 v
  544. ; and change docref_root to the base URL of your local copy including the8 S$ R5 x. @  @7 s7 g
  545. ; leading '/'. You must also specify the file extension being used including4 t: w* y3 T# g, i
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which/ E" _- |% N0 l/ Z* r2 F9 N
  547. ; case no links to documentation are generated.( T) i6 Q4 h4 {1 S
  548. ; Note: Never use this feature for production boxes.5 ?- O- ~! d8 U7 ?5 b1 @; ~
  549. ; http://php.net/docref-root
    3 q3 O  P) _/ z# c1 Q) a
  550. ; Examples
    9 `1 g# Y& Q' v% w
  551. ;docref_root = "/phpmanual/"
    " @) @7 F1 A+ G" o7 D" i

  552. " s( g/ J0 h& M0 i
  553. ; http://php.net/docref-ext  u/ f1 e# s* G& y4 P' @& s  `
  554. ;docref_ext = .html
    1 V* W  i) l, s1 `, X8 ]6 I
  555. & t( A- O( G) }
  556. ; String to output before an error message. PHP's default behavior is to leave5 e/ ?7 i  E- ?
  557. ; this setting blank.
    ! V$ n( M6 J0 `
  558. ; http://php.net/error-prepend-string5 t% `% A5 ~2 G& l3 [% V
  559. ; Example:
    ; J* ?: B) S7 g. c9 n
  560. ;error_prepend_string = "<span style='color: #ff0000'>"  J1 I3 K& Y3 }# C1 \! H+ B/ @6 ?

  561. # ~- V7 x/ ^7 }& O" h4 @& x9 Q
  562. ; String to output after an error message. PHP's default behavior is to leave3 h, X: a5 l( m
  563. ; this setting blank.3 s5 W8 s0 }. N" d) G
  564. ; http://php.net/error-append-string
    5 y! |5 \6 G3 e& _8 N! g
  565. ; Example:
    - _' o3 F/ S9 G  i, J
  566. ;error_append_string = "</span>". j" Q2 Y  k8 B+ G* w' \

  567. $ T1 l6 v! R) }/ B* M. j+ Q
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    $ L& W* B( L+ Q8 d! K, Q6 d
  569. ; empty.0 y' [( K  {# b. V' c; y$ ]
  570. ; http://php.net/error-log
    * H8 J5 C) d, O; ]6 o
  571. ; Example:% U7 }/ [) i. U" p8 Z) [
  572. ;error_log = php_errors.log
    - l, _8 B& F! P) D+ d
  573. ; Log errors to syslog (Event Log on Windows).* X: m9 X  F+ a8 ?2 `  B* ~
  574. ;error_log = syslog( f$ i: N6 Y+ F4 C" j& o
  575. ) W. I. K$ n8 k' `( O2 e
  576. ;windows.show_crt_warning" H) \* l, _% A5 o2 J" e1 E
  577. ; Default value: 0
    6 W& E6 _8 c+ k: y
  578. ; Development value: 0; }( W$ \7 `3 x* P7 M  p/ a
  579. ; Production value: 0$ I* ^1 W" B: T

  580. 8 r, p6 v, q% ?# {0 P: a2 @' B- c
  581. ;;;;;;;;;;;;;;;;;
    * v0 v% U3 \) a. s( z" l2 W6 G* l
  582. ; Data Handling ;; `, _# N  v6 l. l2 V" a* ~1 ~3 t2 p
  583. ;;;;;;;;;;;;;;;;;
    ! e7 S0 C, P  g! n3 K; I. H2 k% R
  584. 3 P: d7 t$ `6 T7 u
  585. ; The separator used in PHP generated URLs to separate arguments.( H( S- g& F! C" w, f
  586. ; PHP's default setting is "&".3 `: a" e8 @) ]. g
  587. ; http://php.net/arg-separator.output* C+ N  @0 R# Q( }* W# x$ P# a, M4 [
  588. ; Example:
    3 _. |  O7 p  p; e- \
  589. ;arg_separator.output = "&amp;"
    - \4 n1 X# L0 O: {7 J1 r
  590. % u: i; C- i. H
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    4 T4 T1 k8 v5 S% ]: q
  592. ; PHP's default setting is "&"., R- l7 V4 O* g
  593. ; NOTE: Every character in this directive is considered as separator!3 Q3 g4 e) J" g: d) F+ N
  594. ; http://php.net/arg-separator.input; A$ T: f5 c- T5 w
  595. ; Example:& U* ], |; J  j' I& b& ?# o
  596. ;arg_separator.input = ";&"7 {0 h2 g$ e! W+ W

  597. 7 V4 Z; v' p5 ]! Y; n) H) f
  598. ; This directive determines which super global arrays are registered when PHP
    : ^: v/ @5 D, \# n; |  g, Z( {$ x
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super- d8 v" D4 ~/ |$ w+ j: x1 I
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty0 ^0 h/ A( Y/ B) k1 Q# W5 B3 d
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    / c% l" q( {: g# m# `
  602. ; used as the others, ENV is not recommended on productions servers. You
    ; R4 h% Q8 C  V) c, A$ K2 ^6 ?* [
  603. ; can still get access to the environment variables through getenv() should you
    4 G0 q' l+ Y. ^) Y0 u/ D
  604. ; need to.1 ]$ J( G9 ]( ^0 a. q6 y3 q
  605. ; Default Value: "EGPCS", j! q' ~; u! `9 F7 T9 x
  606. ; Development Value: "GPCS"8 {) m4 s0 g# x& w9 G9 T( r5 J, o
  607. ; Production Value: "GPCS";0 w- o8 y% h( _+ U
  608. ; http://php.net/variables-order
    & H. o) p6 N, ~& u4 B
  609. variables_order = "GPCS"
    9 R9 }( _: x  g$ Y; |0 a6 ~# ]) r

  610. 8 Y: c' U0 X2 ]6 p/ T' `
  611. ; This directive determines which super global data (G,P & C) should be
    3 s, D9 ]! w: q' ~4 H
  612. ; registered into the super global array REQUEST. If so, it also determines$ {! N( J1 P% ?. ]
  613. ; the order in which that data is registered. The values for this directive
    . {8 C( e( ?. }  o; d
  614. ; are specified in the same manner as the variables_order directive,* u/ X5 A6 A0 G! `7 D! D5 E
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    : x6 j9 [/ B7 V) E9 u
  616. ; in the variables_order directive. It does not mean it will leave the super
    " ?0 k7 k- D( J6 t9 ?
  617. ; globals array REQUEST empty.
    % b% Y' v2 w! j1 H" J- g3 X  D
  618. ; Default Value: None
    5 U9 g2 W8 M5 n
  619. ; Development Value: "GP"
    ) `8 G3 m; R+ t" ~* K
  620. ; Production Value: "GP": x! |# B+ S9 K$ R, _- Y) F6 _
  621. ; http://php.net/request-order
    4 J  `: |% ]. z1 b" B5 H0 x, M
  622. request_order = "GP"
    5 L* E9 a2 `0 a4 [9 w$ @6 D8 i
  623. & M5 ?6 H2 N- y, x. @: [! e
  624. ; This directive determines whether PHP registers $argv & $argc each time it" b: Z- L' c$ ?* m5 M' \
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    & z; U# s: J! H% a
  626. ; is invoked. $argc contains an integer representing the number of arguments. p& i& y/ x( ^# p& H- {* S$ U* @# A
  627. ; that were passed when the script was invoked. These arrays are extremely$ ^) \" `8 x- B: B1 I0 E& n1 {
  628. ; useful when running scripts from the command line. When this directive is" A( C2 f. V' Q3 t; b5 `! N+ j( a
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    9 `5 d, l9 {3 G$ D
  630. ; a script is executed. For performance reasons, this feature should be disabled! L; I6 n7 |: ]9 U8 b6 o6 g
  631. ; on production servers.
    ) R, ]  D3 u9 }
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    1 E# p9 D5 A% z% e, j! K/ c1 b
  633. ; Default Value: On8 s1 C" o/ _, H$ ]. g6 V1 L- |
  634. ; Development Value: Off( A$ S. L# R$ ?
  635. ; Production Value: Off3 d- }6 }; R" J6 M6 w. w$ j
  636. ; http://php.net/register-argc-argv
    4 z: c6 }0 K: g1 [2 z
  637. register_argc_argv = Off
    - O) }. p/ v( v3 g  ]- u

  638. - v" h& F/ A: g2 D+ C4 G
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're* d( B) M2 `  c
  640. ; first used (Just In Time) instead of when the script starts. If these: w$ p# M% \- T
  641. ; variables are not used within a script, having this directive on will result4 I. U- z1 F4 r. \+ ]3 O8 v" h
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled, g! u/ ^; g& Q+ K
  643. ; for this directive to have any affect.
    5 ~) S9 t/ Y" C" [4 [) |
  644. ; http://php.net/auto-globals-jit0 w3 ^6 U0 ~! S  {$ ]8 J4 R, w5 @
  645. auto_globals_jit = On: ^9 q2 t- P5 h, S8 u" D& o

  646. ( j. Z+ f7 S/ `- L* ]+ V0 L" w
  647. ; Whether PHP will read the POST data.
      k# z4 {+ ?7 @- R, Y* J
  648. ; This option is enabled by default.. o/ o; {, w% t( {8 ?
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    . |% N4 ~1 F) i% H/ k0 p
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    8 j# i, w5 p" y3 N' ]! c8 u$ j
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    6 o" ~  L4 a! f* x7 I/ B( M9 L/ j
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ; A% E/ O' Q9 M; T- F
  653. ; http://php.net/enable-post-data-reading& @2 D' p; A3 [0 A" F" h
  654. ;enable_post_data_reading = Off2 e+ L* Q0 |& t1 C+ W7 w

  655. 9 o2 o0 p# @. T6 l
  656. ; Maximum size of POST data that PHP will accept.* W  }% g) z4 P, i) `* V  j
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    1 ^: X3 \3 H- L, t1 I! H$ D
  658. ; is disabled through enable_post_data_reading.' R( x1 `+ q: A9 U. k
  659. ; http://php.net/post-max-size8 f+ z/ B% Z$ h% @- ]5 D/ I" ~
  660. post_max_size = 50M& o- B. v: z5 f5 Q: v

  661. . u6 x, j' G, `- T! _
  662. ; Automatically add files before PHP document.
    / M/ d9 d. i& ^0 m2 s
  663. ; http://php.net/auto-prepend-file
    - K. M# M  b% R+ S
  664. auto_prepend_file =
    9 |2 A. Q  {( H9 K2 J9 t. X& Y6 w' ]
  665.   [1 J" |/ x* t) R8 h1 V
  666. ; Automatically add files after PHP document.
    " T+ v, Z4 @. n3 `; L
  667. ; http://php.net/auto-append-file
    7 k/ q0 ]" ^  }+ z* e
  668. auto_append_file =0 B/ A! p. S2 L" L9 o

  669. ! _9 {7 A" J9 c7 ~, P9 S7 U& \
  670. ; By default, PHP will output a media type using the Content-Type header. To
    , h, h. r& f( y8 e* O1 a- c( ^6 y
  671. ; disable this, simply set it to be empty.
    " i+ q: t) g3 W, c3 h$ ]5 N2 j# ?, q
  672. ;$ T6 |  z: |! {1 C+ `; J1 d
  673. ; PHP's built-in default media type is set to text/html.# @$ U) R; o9 s4 V
  674. ; http://php.net/default-mimetype
    9 \) t! \9 j& [
  675. default_mimetype = "text/html"
    9 \( K6 I2 f3 ?) ~) }5 L$ M' ~! v

  676. 9 h1 }' h/ j$ O) Z
  677. ; PHP's default character set is set to UTF-8.
    , q2 q" q# m$ E7 A$ d" }
  678. ; http://php.net/default-charset+ h  J4 N& u" p( |0 L  A
  679. default_charset = "UTF-8"
    " u' R8 A  ?1 C9 H  P/ V: R
  680. 0 q3 X) N8 n/ ]/ q3 w3 V
  681. ; PHP internal character encoding is set to empty.. `" S) p% m" Z, J/ T: r
  682. ; If empty, default_charset is used.
      g; Q7 Q; x% e
  683. ; http://php.net/internal-encoding6 H: E# J' e* F8 I
  684. ;internal_encoding =
    - S+ P+ c0 b; ^  T7 S
  685. ; a; r8 ]5 `: Q: T
  686. ; PHP input character encoding is set to empty.
    , C4 m  w5 L3 Q# Y* i4 h2 ?- h: w& U
  687. ; If empty, default_charset is used.
    : A/ `2 {$ H. w) }
  688. ; http://php.net/input-encoding7 H7 t5 l& j0 A
  689. ;input_encoding =& ?1 g/ K3 `- |7 x) M) x

  690. % v3 n+ R$ P& x) p: i6 W' z
  691. ; PHP output character encoding is set to empty., I+ z, I6 B" A  K& N
  692. ; If empty, default_charset is used.
    1 Y  l$ r8 c+ L% l
  693. ; See also output_buffer.
    9 g: A9 F- ?/ o4 c) z
  694. ; http://php.net/output-encoding
      M; _0 P" H) Z0 B: ?
  695. ;output_encoding =7 d- t" m. O" n  `
  696. , y3 `. q: _1 R: U* O/ w
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is2 T# q4 D/ R2 l8 ~
  698. ; to disable this feature and it will be removed in a future version., v& j3 a3 H% P; i* b
  699. ; If post reading is disabled through enable_post_data_reading,
    $ n7 L5 N3 @) U& G* g  U8 _
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    ) O5 {8 W7 ~# L8 B' s+ l+ U
  701. ; http://php.net/always-populate-raw-post-data0 k1 }, ^! Z; o% m5 _
  702. ;always_populate_raw_post_data = -1  Y* z" t- t8 s$ y9 |

  703. : G# B: g0 g6 l0 u' @8 y
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    : G, E2 T) a, K
  705. ; Paths and Directories ;
    7 r0 H  h0 w( x( q1 Z4 M. K
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    0 m. K$ w9 s: |' K- a2 p, R

  707. 9 J7 |9 C" W2 F5 e) c2 h% A3 o7 P
  708. ; UNIX: "/path1:/path2"
    4 H$ q6 v0 o* C8 L2 I
  709. ;include_path = ".:/php/includes"3 f+ Q" y. m0 b% q+ Q
  710. ;
    3 R( c# Q1 @, ~+ [$ l! Z
  711. ; Windows: "\path1;\path2") h# A9 J. A9 E# ?7 |. ~4 T6 A0 g
  712. ;include_path = ".;c:\php\includes": L' e. A9 {/ [/ U6 z3 r
  713. ;. J& W) W* X' s. X0 R! m
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"$ m- B! }( U0 s3 m! w7 Q4 y
  715. ; http://php.net/include-path
    - z! N- P' S: Z% k

  716. ) w. ^2 f  v0 Z$ R' b& X3 }) E: z
  717. ; The root of the PHP pages, used only if nonempty.* T0 x' d' i& X' \; ~
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root$ U6 E- U' g0 F6 Z
  719. ; if you are running php as a CGI under any web server (other than IIS)$ E9 r, A4 D  f. U2 ~
  720. ; see documentation for security issues.  The alternate is to use the
    / c4 r2 o8 h% r( a( E
  721. ; cgi.force_redirect configuration below
    & Q" E. x8 u/ c5 Y
  722. ; http://php.net/doc-root( h3 ~5 t2 u' s* [# M# B" l. J! u
  723. doc_root =( S2 x  z# k3 ^* J4 J: y

  724. ; V: i* p# x1 V! m: l  u1 W% x3 a
  725. ; The directory under which PHP opens the script using /~username used only1 j* R4 T" r  Y: z4 n
  726. ; if nonempty.4 z5 O+ b! p; s2 g
  727. ; http://php.net/user-dir
      |3 _( _5 \- v- Z5 T7 \6 d! A. G
  728. user_dir =
    1 M# C9 P3 B; D3 @" F9 x; _7 K
  729. & D  \& {7 X$ [/ X
  730. ; Directory in which the loadable extensions (modules) reside.
    9 a2 Y! l# Q4 P! i# `3 o
  731. ; http://php.net/extension-dir8 \1 l* p. A4 k
  732. ; extension_dir = "./"# @0 P4 A6 P* Y1 s
  733. ; On windows:7 m3 o/ {4 y% l, p
  734. ; extension_dir = "ext"
    ; O5 H  A+ Y/ T9 Y* t) D

  735. 5 v3 `4 |  M4 V$ f, p  o
  736. ; Directory where the temporary files should be placed.
    % ^0 u7 C/ J" s* d9 T; K! l
  737. ; Defaults to the system default (see sys_get_temp_dir)
    ( k0 V# s& K, B
  738. ; sys_temp_dir = "/tmp"5 }+ Z# J  h! {$ ?5 @8 _
  739. % m5 V7 B: L$ V( `1 x9 S
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ( Q! s" o) K3 m- [. K( j
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically4 @% R  k/ |* u( V) e
  742. ; disabled on them.
    0 L- v4 Q9 C/ D7 K. Q# e8 p
  743. ; http://php.net/enable-dl
    ) q, g7 V6 Y4 F1 v& w
  744. enable_dl = Off
    7 I6 U* o( z9 E3 w% e9 I
  745. 3 V- @( y7 L) Z
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under# B! G* ]( ^# C& Z: j' P
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    , n5 f! X/ ?3 _( M6 m( s# @
  748. ; turn it off here AT YOUR OWN RISK
    7 A* U8 P$ g' U, x2 h+ z; Q
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ( j( Y" w/ x( Q
  750. ; http://php.net/cgi.force-redirect
    # e; }9 s2 k9 j! k
  751. ;cgi.force_redirect = 1
    8 ]5 I5 ~: g2 n  W
  752. 8 B9 T  O, E0 y0 v
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with* N3 @5 L. W( F5 v  s
  754. ; every request. PHP's default behavior is to disable this feature.
      t. _7 m* H3 m! x7 M3 y( P/ F& e' m6 W
  755. ;cgi.nph = 1
    / c9 N. _/ _) [+ k* [: Z, E

  756. $ U( p. w6 ?9 \; r4 K8 s
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    3 b0 p7 |7 r- o0 r# h
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
      O" G' {2 E% o: m6 H$ w5 G
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY9 b3 m% n" Q4 ]3 a: Z& u
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.% p3 L% A* o3 K# Q0 p
  761. ; http://php.net/cgi.redirect-status-env0 [; T" f+ ], y) E& T
  762. ;cgi.redirect_status_env =' {1 u: Q7 c3 I4 G0 O

  763. % M6 ~! W2 q! y: s3 n
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    9 j. G' r8 p* ^8 j% v" I0 y8 W
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok0 `# w. w) ]; F. o
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting' h5 \* \' H! ]- E3 U. y3 O
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting, ?+ j& F7 m9 ^7 U, v1 G/ }
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    0 {3 K7 ?6 B; G6 @; \& C
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    $ f, `& K* p! N/ ]$ \
  770. ; http://php.net/cgi.fix-pathinfo/ L9 |7 Q! R9 p
  771. cgi.fix_pathinfo=1
    2 v* F. K9 H  t) m9 V

  772. 4 Z% J1 d% j; x% c$ Q2 R6 n
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    " U) ?1 I/ e) M3 J- a" y$ Y8 d( {9 o
  774. ; of the web tree and people will not be able to circumvent .htaccess security.  t, w; d# F% a/ P& o
  775. ; http://php.net/cgi.dicard-path
    , d9 a  G% E) ]
  776. ;cgi.discard_path=1
    5 J( F; {0 R: w6 w/ o4 }  I
  777. " _( a5 @; n& ?
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate  A6 {% L+ l' y1 o- q) j
  779. ; security tokens of the calling client.  This allows IIS to define the/ L) g# w; M! e8 r  y8 N( z# H9 q
  780. ; security context that the request runs under.  mod_fastcgi under Apache) {8 {5 m5 C* i( w9 i* P# e
  781. ; does not currently support this feature (03/17/2002)
    - I) n( X9 N0 p. B: g
  782. ; Set to 1 if running under IIS.  Default is zero.8 p% g: I) x* J2 x6 E$ O$ U: z
  783. ; http://php.net/fastcgi.impersonate
    : [' j" w1 K0 q1 R
  784. ;fastcgi.impersonate = 1
    + n/ O3 G( G" O  d, s0 F0 p
  785. 7 H) Y6 G1 e' j, K; {
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable( S& v& ^& x) c# u9 c9 P- G
  787. ; this feature.
    6 D6 p. K0 b8 d: P, q& I. e
  788. ;fastcgi.logging = 06 u: D3 {; e- ]# ?

  789. , X& i) @/ P( V/ g0 z3 A* Y! w
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    2 U6 {* ^5 J! c* f
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that/ x1 e. _7 [/ ^
  792. ; is supported by Apache. When this option is set to 1, PHP will send) `8 @+ [8 f2 `8 l6 n$ G1 a
  793. ; RFC2616 compliant header.- g8 f5 p+ B4 F" o$ o9 v
  794. ; Default is zero.: ]0 e! K- o# H" A: I, t+ p
  795. ; http://php.net/cgi.rfc2616-headers
    3 `" h, I  H- e0 i
  796. ;cgi.rfc2616_headers = 0
    : q1 d1 K( [0 ?7 }; d
  797. 1 u  O# j2 z# V% e; _! p- m( g5 C2 O
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    . j* n& |+ a/ o6 b
  799. ; (shebang) at the top of the running script. This line might be needed if the: z! q( W! g+ ]2 y0 ^5 p4 r/ u
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI0 U: B) r* X# n' t
  801. ; mode skips this line and ignores its content if this directive is turned on.
    5 M, w* u  g! N4 O: s& X
  802. ; http://php.net/cgi.check-shebang-line
    " A# L" k! q& y
  803. ;cgi.check_shebang_line=1
    4 }! q% @4 t. A) B
  804. $ Z2 G1 m1 ?7 i$ G
  805. ;;;;;;;;;;;;;;;;
    " u  T8 h5 ]/ n1 N7 g
  806. ; File Uploads ;
    , Q( q( o$ I( e: B! k
  807. ;;;;;;;;;;;;;;;;' E" B; G: O5 S; n7 s4 O% s3 @

  808. : x0 _2 c; f8 n5 n
  809. ; Whether to allow HTTP file uploads.' D! Z- M; v& }% p/ u
  810. ; http://php.net/file-uploads
    * K& d% b6 e( q$ ~
  811. file_uploads = On
    1 n( N8 {+ Y- P) [8 z2 }( F
  812. : T3 g  R" Q- B  {
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    & p% K% K, v1 d' h! ^! o1 |. ?
  814. ; specified).
    ; p* T6 n2 ?; Y
  815. ; http://php.net/upload-tmp-dir
    ! E, o0 \+ W1 f4 l" j
  816. ;upload_tmp_dir =; s, [$ r% T5 G2 D) J# u

  817. - x6 E/ ?3 S* h; p. e# ~
  818. ; Maximum allowed size for uploaded files.6 j+ A# A. Q0 ?
  819. ; http://php.net/upload-max-filesize
    - O' o, G" ^7 ]- n* M  t
  820. upload_max_filesize = 50M$ t/ A+ O' `" g. l% _

  821. ; G- c- _* v# `7 c
  822. ; Maximum number of files that can be uploaded via a single request
    ( y3 T: x% o. u! e6 H% W
  823. max_file_uploads = 20
    0 J/ k& x4 C* d& u# c

  824.   j! {2 b( ^- u* g+ O, b9 p6 t3 X
  825. ;;;;;;;;;;;;;;;;;;
    ' J: |# T: i4 O8 t
  826. ; Fopen wrappers ;* ]& d1 E6 b  d4 i
  827. ;;;;;;;;;;;;;;;;;;1 K$ {4 m& `" s, c

  828. 9 w# ^: k( ]: |: y# v' ]
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    7 s2 g  g9 w' ]7 x( S' o" e
  830. ; http://php.net/allow-url-fopen7 H) ]+ E# N' w2 a
  831. allow_url_fopen = On
    & k( O0 ]% u$ R9 ^3 `

  832. ( P2 Q) ~4 i2 m/ ~+ o, [
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    3 G5 A2 x4 d5 J) R
  834. ; http://php.net/allow-url-include, L& g, p% y; l5 q' g, p$ n
  835. allow_url_include = Off9 K1 N8 A) ~* c# D# f
  836. % U% l9 |) S4 d! L" z
  837. ; Define the anonymous ftp password (your email address). PHP's default setting  u3 L- R  ?% j! T
  838. ; for this is empty.% q1 C8 V" r. ^$ f  r
  839. ; http://php.net/from
    " M9 R! T7 d. _$ D1 x6 Q# e- V$ w$ K- Y
  840. ;from="john@doe.com"
    / Q. @3 A' k% t2 R0 b
  841. 4 P0 p7 _4 [6 f: E/ u7 s
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    - c* b4 d' q; ^8 c( C% C+ a/ V
  843. ; http://php.net/user-agent0 k5 a/ ^, t, ]* x7 a' {2 e
  844. ;user_agent="PHP"
    ' Y" j' l* l4 v* S9 i0 ]$ ?. K
  845. % m7 C, ?- M+ J0 K. X, E
  846. ; Default timeout for socket based streams (seconds)
    ; c" i, [6 o' |1 @* b: Q
  847. ; http://php.net/default-socket-timeout
    ( |: `; g: e6 p  j( `9 S
  848. default_socket_timeout = 607 Z# p, B4 n$ o* O- U

  849. / Y8 g6 E) p# P" _8 F7 Y# a: W
  850. ; If your scripts have to deal with files from Macintosh systems,/ s: k5 K" ^! Z& ?# J  j( u
  851. ; or you are running on a Mac and need to deal with files from
    8 v' F) J9 g1 f& x* \
  852. ; unix or win32 systems, setting this flag will cause PHP to5 _9 ?2 o( Y: F' S0 R& _% r
  853. ; automatically detect the EOL character in those files so that
    - r: s5 R) a5 [9 z) Q/ g
  854. ; fgets() and file() will work regardless of the source of the file.
    . _, p9 w8 g* y2 p* l. {8 i
  855. ; http://php.net/auto-detect-line-endings
    . x- E9 [; _. m/ t; @# A. j: y
  856. ;auto_detect_line_endings = Off$ _3 ?6 c. K$ C3 X% _6 L2 Z
  857. 1 {0 i4 o4 M0 i& m0 I3 M( j
  858. ;;;;;;;;;;;;;;;;;;;;;;
    , E4 e; ^6 ]- L1 y2 ^; Y1 ^
  859. ; Dynamic Extensions ;
    . U& K( R' L! `7 ~. Y. e' O# L
  860. ;;;;;;;;;;;;;;;;;;;;;;9 e1 [: Z5 C3 E) n% \6 S5 [  {

  861. . I6 n; G: `. O, B% ~% J
  862. ; If you wish to have an extension loaded automatically, use the following
    2 ^4 y  m! W; M( Y! F6 W4 _+ S. F
  863. ; syntax:
    " h: X  Q( ~+ s, Z
  864. ;
    5 V1 \. Z4 v) w3 v! _
  865. ;   extension=modulename.extension
    4 M3 Y( h* v8 F1 i: s1 Y; K
  866. ;$ H6 J# g) b) m! I: W7 B
  867. ; For example, on Windows:, l) |. J4 Q8 E
  868. ;
    : Q" \1 ]/ ?* L" [
  869. ;   extension=msql.dll1 p, {0 O) x7 P) I
  870. ;. j, k+ `, v# l0 j2 F
  871. ; ... or under UNIX:
    1 o' S( J% `- ^  C; W. L* `
  872. ;/ H4 u" M, `' E$ \1 p
  873. ;   extension=msql.so6 y% v, J1 y5 H, w' C
  874. ;
    $ o- o' v# ?" X+ A
  875. ; ... or with a path:! \! d& J" k& t
  876. ;) I  g! W- t7 M; X1 B
  877. ;   extension=/path/to/extension/msql.so
    5 U+ `, M1 F# N, \; h  S2 C
  878. ;# C5 W8 W, D" K9 n4 |5 J# x5 k1 D
  879. ; If you only provide the name of the extension, PHP will look for it in its
    ; |% h, L) ^. I4 Z7 V( K$ L' g
  880. ; default extension directory.7 L& K! V* Z! o7 G3 D
  881. ;
    4 P' z; S9 c( r2 R+ \) G: Y8 `
  882. ; Windows Extensions' }* \# l* |7 n& Z# U
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ) K# G$ e( h. O1 a( `# C; t
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)' g7 A* [8 W  f3 e8 ?. b
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    % G* U7 c  c4 Y& `
  886. ; Be sure to appropriately set the extension_dir directive.
    & Z% q. o2 E$ a
  887. ;
    ! \4 \3 T  X3 D' e! o6 [  d
  888. ;extension=php_bz2.dll
    5 D8 k' }, ?: K* w
  889. ;extension=php_curl.dll
    0 c5 A% V/ x0 K1 a
  890. ;extension=php_fileinfo.dll3 E) Z# V+ ~: u/ x+ ]( j. r
  891. ;extension=php_gd2.dll- Z3 l0 |, X6 k
  892. ;extension=php_gettext.dll
    & w# ^, y3 c/ R; E* @8 {
  893. ;extension=php_gmp.dll
    $ \! p5 f& t8 K! F8 P& ], A
  894. ;extension=php_intl.dll9 p% n5 M) r: v. ~& W2 X, d" X, M3 s
  895. ;extension=php_imap.dll
    & l6 }/ q. }& e# @$ S
  896. ;extension=php_interbase.dll
    : _5 l' c. P& e4 F5 I
  897. ;extension=php_ldap.dll7 O( |8 I# G: w
  898. ;extension=php_mbstring.dll
    ( C. O, B- g9 G: C7 G
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it6 A+ k4 g/ q, r: m1 r( P
  900. ;extension=php_mysql.dll
    & }- L# M! \! d; b+ E
  901. ;extension=php_mysqli.dll
    ) `) f9 T, v7 v7 X
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    9 T& ^1 \+ r4 {
  903. ;extension=php_openssl.dll4 r8 {" t# n# k+ r
  904. ;extension=php_pdo_firebird.dll! E& {) n9 G( P' H$ d" }) N
  905. ;extension=php_pdo_mysql.dll; Y* E0 R# j1 X" E8 O
  906. ;extension=php_pdo_oci.dll
    , a+ n9 N: X0 L9 V4 X
  907. ;extension=php_pdo_odbc.dll( \  U) F' z1 V
  908. ;extension=php_pdo_pgsql.dll+ c: i, u4 ]  C% n$ N
  909. ;extension=php_pdo_sqlite.dll$ \' n" G& x& w& X: {& A
  910. ;extension=php_pgsql.dll
    4 \4 R% Q! z$ h# x/ Q7 i
  911. ;extension=php_shmop.dll
    ( U; W; V0 @( U$ {
  912. : Q" m& a, {% ?9 U" [4 F3 G# U
  913. ; The MIBS data available in the PHP distribution must be installed. : S0 R9 R, G- P1 J& u% ^7 F6 }
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    4 z9 ?. \! f) r" X% k4 R8 ]1 G( u
  915. ;extension=php_snmp.dll$ Y& R. ^9 l+ V$ S3 A

  916. ) w  N! K. I6 f
  917. ;extension=php_soap.dll
    + e$ y- _$ f4 y" J' S( o2 l4 T
  918. ;extension=php_sockets.dll
    ' l2 Q+ _* _) \# L
  919. ;extension=php_sqlite3.dll( f9 C$ x: i- l: U) \: Q6 Q$ X
  920. ;extension=php_sybase_ct.dll# |' f  m- A6 h: R7 C) A" }
  921. ;extension=php_tidy.dll
    , f6 n& M, t5 q2 m. Q3 N) \. v$ y
  922. ;extension=php_xmlrpc.dll
    7 |7 S' C1 Q! B% r
  923. ;extension=php_xsl.dll( R/ O' @% \: E5 Q. D5 A5 f

  924. . Y2 s; R- C" E7 ^/ j8 x! z  b
  925. ;;;;;;;;;;;;;;;;;;;* q6 a  \) m9 ]+ `* H6 j
  926. ; Module Settings ;8 v- R2 f& N) ~$ v
  927. ;;;;;;;;;;;;;;;;;;;) ~, {1 N0 V# `4 _. n  O6 z

  928. . T4 d9 X  f! \* ?& ^+ U
  929. [CLI Server]# \% U! r5 n; N3 s+ k7 d9 s
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    7 S  ~; D( V: T6 }# P' s* B6 F! X
  931. cli_server.color = On4 t- o' ?+ S* Z- q, C+ }9 V+ J

  932. & n# z9 @5 W. x6 a, u& A* `9 |0 D, a
  933. [Date]" u8 n' H- d# e. ]/ P2 ~
  934. ; Defines the default timezone used by the date functions
    + s! P* W# I. E0 S7 ]
  935. ; http://php.net/date.timezone" x- B4 U2 X% I% V4 E- d+ Q1 R/ [
  936. date.timezone = PRC
    9 e+ p( [2 T9 E: l- p) t

  937. + k$ X5 z# f. N; V* t
  938. ; http://php.net/date.default-latitude& b9 w7 f' h5 j# n2 A5 ^$ x$ O/ z
  939. ;date.default_latitude = 31.76675 I3 o+ ?: j6 y6 y$ s" ~

  940. ) _( ]: p2 \, |
  941. ; http://php.net/date.default-longitude
    + x5 e8 c. V" N( x2 r
  942. ;date.default_longitude = 35.2333
    * f# C. K2 J. `; o+ g( `0 z

  943. $ N; _# I! s5 T. r. p% r
  944. ; http://php.net/date.sunrise-zenith
    6 N9 {: X; E, ?& }
  945. ;date.sunrise_zenith = 90.583333
    - n: d0 a6 E$ r, t3 N

  946. 4 f- t/ ^0 N( R1 T" @9 [0 ~0 x
  947. ; http://php.net/date.sunset-zenith3 C, u* ~% O& @; G( t/ B* u
  948. ;date.sunset_zenith = 90.583333/ w% `2 N5 M/ g" M+ y2 |& u

  949. / t0 @4 i3 O; ~  W  d% P5 U* `
  950. [filter]
    & e# E2 z" W" }5 t, |9 ^* E# l
  951. ; http://php.net/filter.default
    + _) F7 ?' T  s: |% I  x
  952. ;filter.default = unsafe_raw+ L" ?4 _- T# N0 E

  953. # e( O  F6 P: i, \2 Z2 T
  954. ; http://php.net/filter.default-flags, h/ T* x( i5 ^) m: a7 N0 W
  955. ;filter.default_flags =
    : L5 ?/ a" Y% {

  956. % B; @9 z8 ^( f7 t. l
  957. [iconv]3 \0 e  Q7 d. r$ c* d  [$ y6 n: w
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.; N+ O* r/ t4 @  n$ b6 K
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used./ L/ _. H& P9 t
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding! C4 o7 ~9 y9 N/ T# v
  961. ;iconv.input_encoding =% p( P6 b. h7 e# j5 j) K
  962. 7 q$ x9 C* o& H& _$ |% K' X" m
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.6 S2 l5 c& C; L! G, c
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    $ A# t$ E' z4 V
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    1 K9 [: s# |( p$ i
  966. ;iconv.internal_encoding =0 z3 \4 p; ^/ s9 {* T, V
  967. ' Q+ w) L7 _4 s+ z# `
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    2 p3 x  s" `' K) Z1 ^1 u# ]  d
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    / \- F% T' |# u- [% ?2 ?
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    1 X* I3 W8 w6 B- Q5 a
  971. ; To use an output encoding conversion, iconv's output handler must be set
    % t' y! F* a$ |' v( Q% P- q. q, u
  972. ; otherwise output encoding conversion cannot be performed.  n9 c1 h2 [* t$ w, x2 A& y
  973. ;iconv.output_encoding =4 A7 g4 D) J; g

  974. 9 E+ ?. {, _: ?& z/ i( r+ W3 w. m
  975. [intl]  p- H+ [, I& j7 `  g/ g& }
  976. ;intl.default_locale =$ R/ C0 c  }$ R0 b4 x8 g
  977. ; This directive allows you to produce PHP errors when some error% U2 N' N" l( ~8 h: G5 o6 _; P
  978. ; happens within intl functions. The value is the level of the error produced.
    3 Q& u, d- [: L1 B7 ^9 m
  979. ; Default is 0, which does not produce any errors.0 C3 O9 n  z! j, N1 M. e
  980. ;intl.error_level = E_WARNING
    % f. X( p1 y# |) J( I% x
  981. ;intl.use_exceptions = 0
    8 q& F3 t0 C* V. m

  982. ; w6 X3 T! z3 T! R5 b' B9 g3 W
  983. [sqlite3]- Z% t! E8 H' {$ B1 P" r
  984. ;sqlite3.extension_dir =
    3 b3 V0 X4 z2 b9 Y$ D( L

  985. ; ?7 g& w, v: w# m8 Z
  986. [Pcre]9 j  f/ f( u5 c; b
  987. ;PCRE library backtracking limit.: J8 B9 h% I9 Y# p
  988. ; http://php.net/pcre.backtrack-limit
    + H/ X6 n+ M; f1 P* p0 B
  989. ;pcre.backtrack_limit=100000
    3 q$ t& @+ C4 s- M5 ~9 ~6 q, D+ Q
  990. 0 K  Z6 O3 R4 L3 c
  991. ;PCRE library recursion limit.5 c( I6 R/ ^& J; n4 n7 f& A( A
  992. ;Please note that if you set this value to a high number you may consume all( R0 m8 ]& O" C  x
  993. ;the available process stack and eventually crash PHP (due to reaching the
    * G) [  E% l% z* }0 N3 G/ \
  994. ;stack size limit imposed by the Operating System).
    8 f/ x0 q' b8 H
  995. ; http://php.net/pcre.recursion-limit
    : s# I' |, Y; B) ^2 e7 D
  996. ;pcre.recursion_limit=1000005 l# {3 ]# @) c

  997. 4 U& K7 Q, V* v! z; @2 w/ g
  998. [Pdo]( m: L1 N, v8 L6 ?6 q
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"; I# c9 Q; l: z. y9 o! I; Z
  1000. ; http://php.net/pdo-odbc.connection-pooling
    + @* C3 a7 {3 `  B+ I
  1001. ;pdo_odbc.connection_pooling=strict4 J! i; g. H) V6 [' _
  1002. 4 Y5 k" [0 f4 A' S5 K, k
  1003. ;pdo_odbc.db2_instance_name
    . _2 T. @5 l3 u4 M

  1004. $ K, m6 N7 p1 j1 ?
  1005. [Pdo_mysql]8 {0 n' \8 Z. Z) H3 [
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache7 ~$ G( f" R1 s: ^! t; ?0 p# X
  1007. ; http://php.net/pdo_mysql.cache_size, I/ B9 p" ]  O. S( l2 V
  1008. pdo_mysql.cache_size = 20002 a* X# C  q8 @( u+ |
  1009. ; a5 y" s/ A6 ]+ ^' n; Q
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    8 w3 f, z3 t9 j
  1011. ; MySQL defaults.
    & A; G( Q  q9 D. e0 ]5 E2 {
  1012. ; http://php.net/pdo_mysql.default-socket
    # C3 Y: ~% b- E1 ^# f5 c
  1013. pdo_mysql.default_socket=
    ( m+ Q1 }) q& u4 b# f
  1014. & s9 g, {+ ^; M5 ^0 x& V9 E
  1015. [Phar]
    / _: z3 d% e8 _+ M# L
  1016. ; http://php.net/phar.readonly
    7 R5 f; _& J2 U. L3 J
  1017. ;phar.readonly = On
    ' V; {/ b% `$ o* t
  1018. / R* D2 S2 ]8 C. h8 r( G% f9 c
  1019. ; http://php.net/phar.require-hash. L$ G) z4 m6 i( k
  1020. ;phar.require_hash = On9 o" C8 A6 @; D! c9 k
  1021. . r1 z8 }5 r9 q8 F/ `5 V; j4 `
  1022. ;phar.cache_list =3 u* }' d% \- b3 S! H
  1023. + f1 I9 S7 H$ f4 ~
  1024. [mail function]
    & o7 ^" i$ B8 M# c9 |
  1025. ; For Win32 only.
    9 T6 D7 L% p. m/ w7 a& `# T4 t* I
  1026. ; http://php.net/smtp6 K# ^& T2 H5 C5 ?0 j9 m( a) k
  1027. SMTP = localhost
    0 ^# d9 C/ B  [, \6 p' @* ~
  1028. ; http://php.net/smtp-port! ?8 t: P# x  k/ a
  1029. smtp_port = 25
    : o3 \0 q& T, [) o

  1030. $ _5 n: H; P3 E' d- E/ R# G: ^' I8 s
  1031. ; For Win32 only.
    % u+ l# g7 o2 L; Q
  1032. ; http://php.net/sendmail-from
    1 P1 u# I+ O. K! P
  1033. ;sendmail_from = me@example.com
    8 g  a% b% i7 _# V5 y

  1034. 1 G  q8 S! z1 \8 }1 e7 K/ O
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ! p+ D1 h# f! P5 }7 C# o
  1036. ; http://php.net/sendmail-path: p9 q, X4 o% s' |& {
  1037. sendmail_path = /usr/sbin/sendmail -t -i' o# x# m; m) f& C" B5 b5 Q  @

  1038. 5 x1 G0 i. l7 C8 f8 D
  1039. ; Force the addition of the specified parameters to be passed as extra parameters  A( E, Y8 p- ~5 U5 S% s* A
  1040. ; to the sendmail binary. These parameters will always replace the value of: w, q2 R. [% F5 U0 N4 }
  1041. ; the 5th parameter to mail().
    : }6 |. y+ \' a3 I; q# e9 o
  1042. ;mail.force_extra_parameters =$ Z$ y2 G& v2 c3 v# i: L* J7 m5 K
  1043. & h" r4 w: o, ^3 l: A
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ) x: [6 N$ J% v. @3 r
  1045. mail.add_x_header = On, R4 k7 t: k6 O4 _% r& I7 u

  1046. 7 S# P- S$ x" M. Z
  1047. ; The path to a log file that will log all mail() calls. Log entries include: B5 V" P! ?: ?5 R* ^
  1048. ; the full path of the script, line number, To address and headers.
    & D% K& _5 k2 m) N1 v6 e
  1049. ;mail.log =
    1 a0 o/ [, ~, Q! E1 ~5 o
  1050. ; Log mail to syslog (Event Log on Windows).
    6 p' s4 p: o9 S' [% K* M, `
  1051. ;mail.log = syslog5 Q- W8 s! I8 l* l8 t8 \1 A
  1052. 5 e4 u5 ~$ n% E5 z- k
  1053. [SQL]/ y* m2 Q$ I- d* {
  1054. ; http://php.net/sql.safe-mode
    5 R& m# U- [( Z
  1055. sql.safe_mode = Off& E% L# C% t+ R7 D6 |

  1056. 9 A" H4 i; k6 o8 ^+ G
  1057. [ODBC]* d- q1 C3 I9 y5 U
  1058. ; http://php.net/odbc.default-db
    * n( V7 L+ E; t: k
  1059. ;odbc.default_db    =  Not yet implemented5 D% I! {' n7 q

  1060. , A! l& \" L4 @3 D9 q& E
  1061. ; http://php.net/odbc.default-user
    + d; f4 M9 e5 t4 p1 c! }6 p! J+ [
  1062. ;odbc.default_user  =  Not yet implemented
    " r) Y1 y* t% l, I7 c

  1063. 8 P+ D2 v. a0 s9 l7 e
  1064. ; http://php.net/odbc.default-pw- |/ _6 |4 L6 h: @! }6 _. ^
  1065. ;odbc.default_pw    =  Not yet implemented3 [# {" k* J' `9 \! L% \; Q

  1066. 7 M# Z; h+ k. u( A9 V( R  E  N
  1067. ; Controls the ODBC cursor model.* J( d4 a1 s% l2 l/ U7 G
  1068. ; Default: SQL_CURSOR_STATIC (default).
    : o# Y( ]4 \6 i3 X  @
  1069. ;odbc.default_cursortype
    . {8 m6 @/ _# V) a) C" k
  1070. & y* P  P3 Z- P! ^8 A' f
  1071. ; Allow or prevent persistent links.9 x: w; q7 m- z
  1072. ; http://php.net/odbc.allow-persistent2 C$ l- T4 u$ u$ Q/ u5 X; |  U
  1073. odbc.allow_persistent = On. }; y+ U9 R/ v3 {: u" G$ V
  1074. . ~7 J1 t' T! }" [0 l( ^
  1075. ; Check that a connection is still valid before reuse.
    & {+ B: v8 r4 z' \  q# h
  1076. ; http://php.net/odbc.check-persistent, s; |5 T4 l( `
  1077. odbc.check_persistent = On, ]9 j$ x6 l/ ^! g0 E# T" h0 b& `
  1078. 0 u2 }* ^' m- `' O, N- `% h
  1079. ; Maximum number of persistent links.  -1 means no limit.
    & y' w5 P+ Y% w" P
  1080. ; http://php.net/odbc.max-persistent
    9 g7 }2 ^6 H7 }3 L* Z$ n
  1081. odbc.max_persistent = -1
    ' h7 L+ ]' g+ c& F
  1082. 2 j* O4 z$ a$ Y% M0 U4 U
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    - P' x4 P" b, W+ u( Z
  1084. ; http://php.net/odbc.max-links6 m3 S5 |. b9 l) v% j3 C! S1 j
  1085. odbc.max_links = -1
    & B0 e" c' ?8 y. j( u# P$ ]+ T

  1086. 6 g/ U, |% C+ Y/ Q  t
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    , _- G# x7 W8 _% i  J" g
  1088. ; passthru.
    % z9 r" f( m5 T. A) B
  1089. ; http://php.net/odbc.defaultlrl
    8 d9 `  V; c4 {' B! i( L1 o2 u: J
  1090. odbc.defaultlrl = 40964 ?3 O2 o$ F) m
  1091. 0 m. Z- }# b1 S+ Q: s3 o/ o
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
      g6 N, }0 R, k
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation4 Y( n& C+ ~6 F& e' u% v) {
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    # s( Z5 U' }" Q
  1095. ; http://php.net/odbc.defaultbinmode
    2 G! p* ?+ P1 E( b+ K& r
  1096. odbc.defaultbinmode = 1$ h  S0 u; k, g& p) A# L+ p/ F

  1097.   y9 _" s* R, t& [" p
  1098. ;birdstep.max_links = -1& w# s: H% S  S1 l3 C

  1099. . h+ q# G( v) _" I* p+ `
  1100. [Interbase]4 v% O9 X( c/ d
  1101. ; Allow or prevent persistent links.3 l% L7 S$ P8 ^; m' W
  1102. ibase.allow_persistent = 17 I2 V- J/ ~4 W+ w  i

  1103. ! K5 [' t; h' _! S
  1104. ; Maximum number of persistent links.  -1 means no limit.
      P. s$ i: R' t5 L- Y+ B
  1105. ibase.max_persistent = -1
    4 f- H/ v; [3 b8 [8 c( |+ Q
  1106. 8 {8 e( Q- z4 d$ a, C2 m) A
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 L1 V7 [  a: W+ G( f% s/ o3 z( K8 {
  1108. ibase.max_links = -1
    3 w# ]5 ~2 E* ~( W: A+ @/ D) Z

  1109. 1 U$ L! u7 y) h' ^1 [3 M
  1110. ; Default database name for ibase_connect().
    3 p! \' W8 o9 B
  1111. ;ibase.default_db =
    & q, G, A8 m1 J4 ?% q, u
  1112. 0 W$ C3 f# p4 G  g1 \
  1113. ; Default username for ibase_connect().
    & |5 `6 [% C9 i% c% t5 D3 x/ H
  1114. ;ibase.default_user =4 j4 s' W2 Q' M( w

  1115. ) A" c* N1 I+ h2 t* d; G7 K
  1116. ; Default password for ibase_connect().
    6 a4 Q6 h+ B1 r! _8 ^
  1117. ;ibase.default_password =, _$ G- o$ O; M

  1118. # M' n7 f6 m+ E, `
  1119. ; Default charset for ibase_connect().
    4 `9 N. T4 j% y
  1120. ;ibase.default_charset =6 K  f3 L9 ]4 s1 A; l; z' k
  1121. , |& h- R" i+ h
  1122. ; Default timestamp format.5 m3 |3 T) J# Y5 Z3 I
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    : T) H: z7 K; W( V; j* D

  1124. + w+ S: w- W  Z4 }
  1125. ; Default date format.$ V4 k6 D0 W/ t- ^
  1126. ibase.dateformat = "%Y-%m-%d"- E, X7 O6 z3 N  K; U) s

  1127. , v% ^0 }9 P! o0 b% v6 S/ \
  1128. ; Default time format.
    ; [8 q9 P, i  }9 s% C# k& @0 F) A; p
  1129. ibase.timeformat = "%H:%M:%S"2 V3 N6 J( n; k, M2 b6 e
  1130. 5 E4 F, x- e: d
  1131. [MySQL]
    * E* ]9 ?3 x3 g' c+ i
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    6 }1 U/ D& Q$ o- @8 O, l
  1133. ; http://php.net/mysql.allow_local_infile# S; X+ U: v9 e% `) {  c3 ~. N
  1134. mysql.allow_local_infile = On# B( e( G" V& l  E5 U5 J0 M

  1135. % A- T+ e0 q9 S9 {
  1136. ; Allow or prevent persistent links.7 m& T. {0 u" L' |2 T5 i
  1137. ; http://php.net/mysql.allow-persistent
    + F4 M9 ~+ |3 x" |1 N# o
  1138. mysql.allow_persistent = On( s  }. O7 |- M# s' |

  1139. / y4 y; U7 |8 v
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " C/ w8 `' h9 Y- ]4 S5 q' D( I0 p+ T
  1141. ; http://php.net/mysql.cache_size8 y1 g7 W+ n* R8 i4 \2 ]
  1142. mysql.cache_size = 2000" F4 `6 L: W7 t4 L
  1143. 5 R2 }% z. ~0 Z
  1144. ; Maximum number of persistent links.  -1 means no limit.
    ; k0 w" e( d! K! v4 \" S
  1145. ; http://php.net/mysql.max-persistent
    + K4 _, `+ I* Q! Q7 a. z5 _& ]0 u
  1146. mysql.max_persistent = -1" j1 V) {' k/ h4 D& a2 t" X( l
  1147. 7 `0 F6 f) e' L7 K1 t
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* ^" @9 `8 C9 \0 V9 j
  1149. ; http://php.net/mysql.max-links7 j. w0 l( j7 I( Y3 v
  1150. mysql.max_links = -17 v, Q8 d- ^, v
  1151. # Y- ^) [" U, L; H
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    4 O) c7 ^$ Y2 k: z1 Q0 @. y
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    6 a2 ^6 M( W+ Z) ^1 E4 |8 `' n
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look1 X% Z* p" K5 ?7 O
  1155. ; at MYSQL_PORT.0 `" M, [( i4 i
  1156. ; http://php.net/mysql.default-port- v) c- i* c9 Y$ F" w; |+ d. B% i
  1157. mysql.default_port =6 j" ]/ y2 x! Z1 e  {. n$ D
  1158. 7 r2 i. ~3 ^( E% _
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in2 Y" M: ^/ i1 ^! k/ ~
  1160. ; MySQL defaults.
    ! \; D7 Z% I# ~- b$ Q! X9 J
  1161. ; http://php.net/mysql.default-socket$ e8 L5 f. J# ?! T& v. I. C
  1162. mysql.default_socket =0 U" |% N, B; ?9 g

  1163. - d3 T' w1 m- @. J
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).0 p; o* `  h2 E- `- u( h" r5 W
  1165. ; http://php.net/mysql.default-host* U4 `" F  v) y0 W* a& [8 b- W9 ?
  1166. mysql.default_host =, N6 F$ o, z. A% @

  1167. 2 ]" d3 k8 k: N5 k0 R7 v
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    + l% M. V# Z, t) ]4 N2 l
  1169. ; http://php.net/mysql.default-user% V/ A2 N$ _! u6 \, D
  1170. mysql.default_user =3 s* D" S( G4 [7 Y
  1171. 4 L+ Z3 |& j2 \/ v% G
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).# X, E" R9 o, }
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    $ y" A: G+ t9 }6 ~  m1 ?
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")( p# l' g$ q5 T
  1175. ; and reveal this password!  And of course, any users with read access to this3 q( u6 S% a& [( s$ T9 V5 p- L0 H
  1176. ; file will be able to reveal the password as well.) G* F3 Q  {* v& V9 j
  1177. ; http://php.net/mysql.default-password" t9 r, u* L5 I" ]. g0 C) L
  1178. mysql.default_password =
    3 T( V0 I& `3 H; J1 C) u
  1179. 9 v% V% d! X" x
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    ; e/ C; g6 h/ m) W  x& r
  1181. ; http://php.net/mysql.connect-timeout9 T" k1 l: p2 o- T) i1 a. O5 n. h
  1182. mysql.connect_timeout = 60& u) H1 T, Y" x& x( q

  1183. 6 Y- h3 l1 y- L6 ^" z. \. ?
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    , p2 ?9 g8 @+ [1 |( b, i1 `+ v
  1185. ; SQL-Errors will be displayed.8 \. ^% f' Z& p5 W: {
  1186. ; http://php.net/mysql.trace-mode9 |0 Z0 h* M' B9 n9 s
  1187. mysql.trace_mode = Off
    , L* H. X  K9 ^7 w1 S7 ~8 d

  1188. * A% H% I& F9 b9 I8 O
  1189. [MySQLi]
    5 b" h% Y$ y; [. w- i

  1190. 9 L' }2 Q5 J+ R
  1191. ; Maximum number of persistent links.  -1 means no limit.
    3 {' b7 t) Y1 G
  1192. ; http://php.net/mysqli.max-persistent) W- R. k9 {% X( @% R
  1193. mysqli.max_persistent = -1
    ; w# w0 z" W" a* O
  1194. * O% S: b# e. `  ?( O& V
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements% G* @% G3 z$ ?) N/ H& d9 M! i
  1196. ; http://php.net/mysqli.allow_local_infile9 i1 x' i' K3 E) C/ E# x( G. F8 n
  1197. ;mysqli.allow_local_infile = On
    ; M7 w5 B5 @$ k! Y" |" p6 ]

  1198. 2 n% I$ T3 y* \8 L9 r. w
  1199. ; Allow or prevent persistent links.. U. O8 W* x: G$ a" l
  1200. ; http://php.net/mysqli.allow-persistent
    " O, y! G# p0 t
  1201. mysqli.allow_persistent = On
    $ e$ D0 s- m; n$ e5 L$ S# y: z  o

  1202. . \( A! Q3 u4 @* e
  1203. ; Maximum number of links.  -1 means no limit.
    ! c. E% R* Q- ^
  1204. ; http://php.net/mysqli.max-links
    6 e5 P! k7 z5 s  ]0 b2 k! z
  1205. mysqli.max_links = -15 ]0 ?. J6 J) w5 j  _- j, H
  1206. " F1 {2 J" [/ U1 i$ @
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache* g5 `/ U* P5 t! g, D# T: i5 x
  1208. ; http://php.net/mysqli.cache_size+ v3 d. `$ e6 C' ~
  1209. mysqli.cache_size = 2000' U% p/ i) ~/ c5 H  P
  1210. 8 b6 Y; r) f, }5 R7 Q3 @
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    5 F2 l# L* ^7 i$ ?7 ~* t; z! }
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the4 X6 ?6 ~$ e: q. K; I5 I4 |4 V
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look& g3 ^( F' {5 S" s
  1214. ; at MYSQL_PORT.# j: l# h5 S' w* [! @
  1215. ; http://php.net/mysqli.default-port1 l. O6 t" l: D. P( n
  1216. mysqli.default_port = 3306( ^3 B! X4 M2 n9 A

  1217. & u. a& ~. _# }
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in" ~; {' P# R9 W1 r
  1219. ; MySQL defaults.7 F: e/ ?6 R' S$ g' s, m' G( u% g1 s0 y
  1220. ; http://php.net/mysqli.default-socket5 l; Q/ p$ ^( z5 K* R4 H9 A7 u
  1221. mysqli.default_socket =
    : ?) o$ E+ n3 g/ a5 s: X3 m
  1222. 0 k" d8 o- G" ~
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).7 U+ z7 G# f* V  ]$ X1 \' Y, f
  1224. ; http://php.net/mysqli.default-host' u$ C: z  ]9 U4 t
  1225. mysqli.default_host =
    2 J! a& R  J- j3 G0 w7 u

  1226. " j  c; n& s: |* n
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    , Y* x1 I  Z2 d* ^
  1228. ; http://php.net/mysqli.default-user
    4 }4 F. Z! e2 o# o; s6 f
  1229. mysqli.default_user =6 i3 P& q. Y7 c4 J  {9 S+ H; P1 l+ L
  1230. 1 N9 ]7 p0 r: h  n9 K4 t! z5 Y2 W; p
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    1 h! o4 f( @& b/ s
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.5 E0 ~/ D; _" _1 B8 B2 B
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")4 D5 f. C2 v& y" A* t) T
  1234. ; and reveal this password!  And of course, any users with read access to this9 H8 O0 Z8 O1 `  d4 s, G
  1235. ; file will be able to reveal the password as well.# }; |7 X; S& g% f
  1236. ; http://php.net/mysqli.default-pw) F& k4 k# `7 ^  j+ t. O) f  q
  1237. mysqli.default_pw =+ T6 m5 g6 u9 I1 c; X
  1238. . k5 }' e- L1 {# S8 ?- k  a
  1239. ; Allow or prevent reconnect
    # G( f! h) w# _4 {3 p$ j' Y2 n
  1240. mysqli.reconnect = Off
    * Z) ]" V! r( v( S
  1241. 4 @: p; }1 I. _* U3 p% ], Q
  1242. [mysqlnd]
    1 w! M. j# o1 c$ _0 \
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    8 X0 m3 D4 T& z  h6 r
  1244. ; used to tune and monitor MySQL operations.
    , C: j# f3 b! R2 T9 P. V. M" d
  1245. ; http://php.net/mysqlnd.collect_statistics) E5 d( \9 `+ `$ z% e2 O* Q
  1246. mysqlnd.collect_statistics = On
    " l( U) U+ F, c! K6 G# f; P

  1247. 8 Y; V+ w/ \  x9 `
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    % B9 o# c7 ~8 U; G! ^
  1249. ; used to tune and monitor MySQL operations.: b. W$ U% |; v3 B0 p9 w% o
  1250. ; http://php.net/mysqlnd.collect_memory_statistics5 E9 g- m4 x3 b, v4 v2 _
  1251. mysqlnd.collect_memory_statistics = Off
    ) {  Z7 c! `7 G0 _9 |) f

  1252. 9 ^5 o1 ]) H/ A% n2 k& d6 H
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    8 `* B0 e7 J- u& ]
  1254. ; file.
    ' P9 p3 l, L* x  C* o2 L" T( a" z- h1 ]
  1255. ; http://php.net/mysqlnd.debug9 u, B' R+ W$ X4 u& ~, ^5 x; u
  1256. ;mysqlnd.debug =
    3 u' a: w) I/ |! l8 X

  1257. 1 k$ ]. T2 {1 I5 s) S+ U/ c
  1258. ; Defines which queries will be logged.6 |8 B, S3 J/ l0 }4 M
  1259. ; http://php.net/mysqlnd.log_mask
    ; t& r+ j  q9 K
  1260. ;mysqlnd.log_mask = 0
    5 B, J5 a; h2 L! x5 C' e

  1261. % ~; M4 a- ]4 @, ]  `1 s$ j+ `
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    * S2 E! x2 |! O0 Q+ W2 ~0 K
  1263. ; http://php.net/mysqlnd.mempool_default_size1 I+ Y2 T% W% y7 T' n# x6 f* G
  1264. ;mysqlnd.mempool_default_size = 16000* J. j; q+ g# C6 u. O% d, o/ ?2 e+ q
  1265. ) M1 ~" o2 r, ]  C+ X
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.9 o. \. z# {3 N7 J! [. C
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size* J* `! s  h# i# a* F" b" f
  1268. ;mysqlnd.net_cmd_buffer_size = 20488 Z. J* I; E3 i* Q% Z

  1269. * _6 s( `1 ]; ]; I" H
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    5 L5 w' ~7 y. z% D* ~" H, S
  1271. ; bytes.& X9 D. ]' v& y8 [( [3 u" Z
  1272. ; http://php.net/mysqlnd.net_read_buffer_size# k9 |- \3 I+ p: }. L7 I  Q3 Y
  1273. ;mysqlnd.net_read_buffer_size = 32768
    : C/ s: o1 D4 ?% v: ~
  1274. - c! ]7 s- `! B4 p: D
  1275. ; Timeout for network requests in seconds.- K' e* z- B0 l. ?1 C2 V& F
  1276. ; http://php.net/mysqlnd.net_read_timeout
    - Q8 O' F' p; y% m( g" R
  1277. ;mysqlnd.net_read_timeout = 315360004 c9 P. w! A1 _3 A2 E: X/ k

  1278. ( r! A. v' {2 A7 v4 }2 O! K8 O' H
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA/ Y! l! ^1 Q( F6 @8 _3 Q
  1280. ; key.
    2 U, ^$ t) ?7 `) U
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    2 U7 ~, {0 S7 g+ ~2 L
  1282. ;mysqlnd.sha256_server_public_key =7 s4 }/ v/ `* g2 e: s

  1283. 5 e3 M% V% ~6 F1 |
  1284. [OCI8]* {5 Q1 [0 l2 f  @" h+ i
  1285. / `/ N( _1 v+ U; g, y
  1286. ; Connection: Enables privileged connections using external7 e: A* d6 w+ D
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    " f' m: z# G! D
  1288. ; http://php.net/oci8.privileged-connect# ]- C, F5 L1 `0 O
  1289. ;oci8.privileged_connect = Off
    * A; O# r; ]6 X+ P5 l

  1290. 7 v* H& _9 w: P' I0 `/ q
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    ; _) o+ F, Y: e! q1 I# W% k; l
  1292. ; process. Using -1 means no limit.
    * I  L( y. l; A5 F
  1293. ; http://php.net/oci8.max-persistent
    2 v8 ~0 b5 T" b8 P8 L9 D+ Z5 d$ v! [
  1294. ;oci8.max_persistent = -1  b5 J5 t) Q7 \* }4 x
  1295. 4 f) Y9 S* L7 {9 ~" z( o
  1296. ; Connection: The maximum number of seconds a process is allowed to( a, O$ |+ n' K  Z+ j4 w1 O, E$ h
  1297. ; maintain an idle persistent connection. Using -1 means idle8 u! f3 J( @$ k: x! }
  1298. ; persistent connections will be maintained forever.# L: T- v! w  u7 ]
  1299. ; http://php.net/oci8.persistent-timeout/ I% O7 U0 |* c5 h  s
  1300. ;oci8.persistent_timeout = -1
    ( E" J6 \# {( H* h3 W3 G

  1301. - j. x2 M  ^  r; i8 T% \& t
  1302. ; Connection: The number of seconds that must pass before issuing a* \, i+ M: a' V
  1303. ; ping during oci_pconnect() to check the connection validity. When% K) G6 y# }6 k' B& c. n# n; k* p
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    + c' }' x7 \: n, Q: U* D7 h2 j
  1305. ; pings completely.
    ' H7 `* B: ], k! H
  1306. ; http://php.net/oci8.ping-interval
    % n) B+ Z+ K2 _" C+ i
  1307. ;oci8.ping_interval = 60( i% ]. E. T5 v' k- {) _

  1308.   W% e4 K" A/ t# j1 d( q4 E0 @, Z3 L
  1309. ; Connection: Set this to a user chosen connection class to be used
    * U# s( }! A) K# d* B
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    ! n( q$ C2 z4 K' ?: F2 Y5 b
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    + T6 G* h- [& I  F% L3 O" R
  1312. ; the same string for all web servers running the same application,9 U6 n1 k' d5 n5 J  ?
  1313. ; the database pool must be configured, and the connection string must$ h$ J; x6 x: x6 s. a
  1314. ; specify to use a pooled server.
    ! P/ D( I  x# h6 X% Y" X
  1315. ;oci8.connection_class =
    * n1 P3 A9 s* h6 P7 v* r
  1316. + X/ i/ V2 k6 a% P- ]2 v
  1317. ; High Availability: Using On lets PHP receive Fast Application" [8 e2 d: \: W  B1 N: K9 Q6 o
  1318. ; Notification (FAN) events generated when a database node fails. The
    5 u' e. b0 V+ W/ |0 @! k
  1319. ; database must also be configured to post FAN events.5 q% C+ Y4 O" C& d8 n% y3 Z
  1320. ;oci8.events = Off. _' \3 h: ^& `- X0 V8 v
  1321. + O* w9 T  ]. m4 n+ h
  1322. ; Tuning: This option enables statement caching, and specifies how
    * L9 z' W7 g9 X! A4 `
  1323. ; many statements to cache. Using 0 disables statement caching.
    2 i1 v/ ~& m- O" a
  1324. ; http://php.net/oci8.statement-cache-size2 V+ t" C) L' B- G+ I+ G
  1325. ;oci8.statement_cache_size = 20
    / \/ H* V8 S" Q) ?8 D) I
  1326. , V6 G' y( L+ W  K
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    ) x6 |0 _  r8 t4 k' G" r
  1328. ; rows that will be fetched automatically after statement execution.
    / }0 u/ k2 @/ w4 [
  1329. ; http://php.net/oci8.default-prefetch
    - {/ O# M: Q! U* P! j* A
  1330. ;oci8.default_prefetch = 1009 h* V% O4 ~$ m( W& i- k
  1331. " n- |, u$ V0 V! l
  1332. ; Compatibility. Using On means oci_close() will not close1 I2 T7 Y# T1 X0 _
  1333. ; oci_connect() and oci_new_connect() connections./ }1 E# m2 t8 I- W* H* ^, B+ S/ g. ?! g
  1334. ; http://php.net/oci8.old-oci-close-semantics# j, I% z" f) b8 h  v( D
  1335. ;oci8.old_oci_close_semantics = Off  Q3 T/ P  @4 f/ H2 P6 S( _" r
  1336. " t: e0 f3 L2 M% ]
  1337. [PostgreSQL], o4 r1 ]6 ^' G4 I: @
  1338. ; Allow or prevent persistent links.
    6 C) @$ q$ D, Z) K+ [( K
  1339. ; http://php.net/pgsql.allow-persistent
    $ ]" L" l, @' p8 @1 U) i
  1340. pgsql.allow_persistent = On6 O  ]! A" B9 ]
  1341. ) n4 r: `$ z' m
  1342. ; Detect broken persistent links always with pg_pconnect()." |. e! _7 M# |5 @6 p" R+ w9 ?
  1343. ; Auto reset feature requires a little overheads.
    # @& E7 z7 P6 d8 b% f( [
  1344. ; http://php.net/pgsql.auto-reset-persistent
    2 Y* m# e- ~; G% {
  1345. pgsql.auto_reset_persistent = Off/ o; I: Y" o0 I/ Q/ |1 b0 z5 [9 s

  1346. # p" |9 k4 Z: k% u+ Q
  1347. ; Maximum number of persistent links.  -1 means no limit.
    % o, e7 c$ F7 O: Y5 k! v
  1348. ; http://php.net/pgsql.max-persistent
    ' b! g3 I* R- U; B4 l" F8 Z. z* d
  1349. pgsql.max_persistent = -1
    $ G/ i3 s0 Y( E; p1 K
  1350. 4 P. c' Q! k' Z' |; E
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    - i& F) `/ O& `! B% g, o
  1352. ; http://php.net/pgsql.max-links
    2 c* d4 `1 W7 \
  1353. pgsql.max_links = -1$ k6 p, ~0 N, T" o5 b- C, C

  1354. - |7 ?% v, I# j# ?5 o# q- P! o2 {: @
  1355. ; Ignore PostgreSQL backends Notice message or not.
    9 u4 V5 p( r4 Q& V+ L  c6 U
  1356. ; Notice message logging require a little overheads.
    ' ?1 Y+ t4 B# B# M1 E# a3 B$ a
  1357. ; http://php.net/pgsql.ignore-notice/ _- s0 l* B7 {9 g
  1358. pgsql.ignore_notice = 0# v0 y- v! I/ c

  1359. ' a0 O3 C8 f1 E
  1360. ; Log PostgreSQL backends Notice message or not.
      S" _, b1 ^- K
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.) o% N: p5 e% H$ _+ @
  1362. ; http://php.net/pgsql.log-notice
    ! N4 E: Q" {& V4 d
  1363. pgsql.log_notice = 0
    9 K6 J$ [/ H8 o1 @( m* [
  1364. 7 q& d7 k; ~7 n" G* u& |
  1365. [Sybase-CT]
      V$ K+ w: x% j) y4 V3 a
  1366. ; Allow or prevent persistent links.
    6 q* _4 X$ b5 K3 j# n9 P  i
  1367. ; http://php.net/sybct.allow-persistent5 U( t, z( P0 f% D
  1368. sybct.allow_persistent = On' H+ T7 f4 E4 {& z; |, h  z7 Y4 z, {

  1369. 2 h. z* ~2 o. [. i) i
  1370. ; Maximum number of persistent links.  -1 means no limit.
    $ P4 Y- z8 w: U
  1371. ; http://php.net/sybct.max-persistent" B# \* O9 V  o- r2 ]
  1372. sybct.max_persistent = -1! q' J: L: B# Q: t( V
  1373. 6 l2 S0 x. L: p' T  [
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    " ~% ^; B$ W% ]9 S
  1375. ; http://php.net/sybct.max-links! X, E6 M+ b8 y/ O3 S' t1 J- C. l
  1376. sybct.max_links = -1  z- E7 m/ Z( I' x: n, c7 t) \

  1377. 6 H* h6 o5 }5 l: [& K' {
  1378. ; Minimum server message severity to display.
    + h& i! u9 }% ]2 T6 W+ ^
  1379. ; http://php.net/sybct.min-server-severity
    2 L) P, S' x* m8 k! K* T# r5 A
  1380. sybct.min_server_severity = 10
    : i: t( Y, C7 E4 p+ w2 t8 h
  1381. * N* m  K0 j5 B% g! a8 {
  1382. ; Minimum client message severity to display.: g7 I! t  K, X: \4 K3 i- v) \
  1383. ; http://php.net/sybct.min-client-severity
      w( r) u# f0 f7 Q. j
  1384. sybct.min_client_severity = 10. o0 d' f0 W0 s$ p
  1385. % p: a# o" R: _
  1386. ; Set per-context timeout
    0 v; R) Z# D% h9 x8 V
  1387. ; http://php.net/sybct.timeout7 t( M1 |% x, j4 Z& Z
  1388. ;sybct.timeout=( ^$ o( M" S+ g

  1389. % s2 q. P8 e* U' ?) K* T
  1390. ;sybct.packet_size, c+ Y, o+ p# k$ j. N, O

  1391. * L2 ~" p3 ]# |
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.5 r& ]5 j% O5 |. e0 |
  1393. ; Default: one minute
    * q5 f1 P5 H0 l! {
  1394. ;sybct.login_timeout=# f, V1 d% v) s. \, D( r
  1395.   \, q& f' e0 u' q
  1396. ; The name of the host you claim to be connecting from, for display by sp_who./ {8 X  G; X* _) o" D7 s
  1397. ; Default: none. @- E- B& x" \# S- S
  1398. ;sybct.hostname=
    2 {" T% j7 Z6 |! y* i$ f" X

  1399. 1 Y5 e( `- t4 o* m1 C7 y" D7 x
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".6 l+ S& `  O- P3 I( [' d4 `$ U4 A
  1401. ; Default: 0
    2 S$ C- ~, |  z( F
  1402. ;sybct.deadlock_retry_count=' r+ F; F7 R, Q3 n9 v( k3 S

  1403. & T; D9 k5 k0 c( z; Y: Y1 g
  1404. [bcmath]
    $ e7 X- U# P8 a; V' J5 W! P+ f3 V
  1405. ; Number of decimal digits for all bcmath functions.' j+ i" z  V3 H- _  Y# V* `: I1 w
  1406. ; http://php.net/bcmath.scale( I" S# k" \, V" o
  1407. bcmath.scale = 0/ Q# K& Q: y# D' E! x5 Q
  1408. : Y- k2 @4 [1 j4 @0 o- Y7 r* g
  1409. [browscap]
    / X$ p5 q# z8 J; x( J
  1410. ; http://php.net/browscap  m6 s; q$ k# G. Z: [
  1411. ;browscap = extra/browscap.ini8 _5 i, v; G* E- y
  1412.   f- H  T+ I7 U2 a
  1413. [Session]. {7 A0 l$ S/ j
  1414. ; Handler used to store/retrieve data.0 |# S% W9 ^/ q% O; w4 L
  1415. ; http://php.net/session.save-handler
    7 l6 L, j8 O3 \. T
  1416. session.save_handler = files% W8 H- }  i6 c

  1417. 4 L  J8 ]  ]" r' n% ~
  1418. ; Argument passed to save_handler.  In the case of files, this is the path7 S/ k" Y8 v7 |
  1419. ; where data files are stored. Note: Windows users have to change this: R' _8 ]$ P1 r7 z/ \# r
  1420. ; variable in order to use PHP's session functions.3 Q. m& [5 @) u; e: z
  1421. ;
    , Z+ i! v" X; o2 H
  1422. ; The path can be defined as:( ^# ]5 Y6 E9 |. [) M  K- C/ D3 o, T: t' W
  1423. ;
    7 w' q8 G) a" T4 ^! p6 n( E) R
  1424. ;     session.save_path = "N;/path"
    & R- T0 i/ Y0 \7 E8 ]
  1425. ;
    . ^: H+ O8 f3 y5 b/ n
  1426. ; where N is an integer.  Instead of storing all the session files in
    - h) }+ {- m: j1 S$ o% i7 B
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    & c5 |5 a+ n9 L2 b3 @
  1428. ; store the session data in those directories.  This is useful if1 f" m  I1 Y  h) x+ W4 a. y0 L
  1429. ; your OS has problems with many files in one directory, and is  ^/ L: N6 _2 k# ?  J# g2 l$ Q1 g6 H
  1430. ; a more efficient layout for servers that handle many sessions.
    1 i$ ^/ U) i" l; F  X5 X( y
  1431. ;
    $ K9 r& |9 }  S  `. O9 ]8 T$ {
  1432. ; NOTE 1: PHP will not create this directory structure automatically.. B1 k* @& N( M6 a9 S
  1433. ;         You can use the script in the ext/session dir for that purpose.
    ' i# |% G1 h% W3 S* o! E
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    0 C9 ]  n0 i* S5 R6 ]8 l
  1435. ;         use subdirectories for session storage, w+ o0 P" k4 f! `
  1436. ;
    : I! H% m0 f& g$ m/ p
  1437. ; The file storage module creates files using mode 600 by default.
    1 F4 ?1 e3 w  o
  1438. ; You can change that by using/ y3 Z0 b1 ?3 A# M9 ]
  1439. ;: b/ q. {  i8 ]* g" `- u% e
  1440. ;     session.save_path = "N;MODE;/path"! p; I6 F% ?9 {! z* a" y
  1441. ;
    ) q) j& ~  [! S
  1442. ; where MODE is the octal representation of the mode. Note that this6 k; H" p* s9 i; b2 W' s
  1443. ; does not overwrite the process's umask.
    # Q0 y6 W, M+ T$ d8 x" Y
  1444. ; http://php.net/session.save-path
    : W; ]& R3 ]( c
  1445. ;session.save_path = "/tmp"
    : ~0 ~7 U- z& n

  1446. 7 y+ Z  i5 D( {2 W: ]8 v
  1447. ; Whether to use strict session mode.  z; k% ^8 L* Y, e4 O8 Z6 R
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    5 `2 i# g  G) |* Z* z7 [, }7 q
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects% ~  f* A$ Z* Z  @3 ?; l/ J; Q
  1450. ; applications from session fixation via session adoption vulnerability. It is
    ) P- r: z3 c* p; E
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ; _: D$ U; K7 G& R) G
  1452. ; https://wiki.php.net/rfc/strict_sessions/ Y* x' ]0 w: W; M$ H
  1453. session.use_strict_mode = 0) v- U" S) V7 J/ @) i0 ~7 @

  1454. 5 a4 _' l- t2 Y( `& E
  1455. ; Whether to use cookies.6 d% S! j1 a! O
  1456. ; http://php.net/session.use-cookies" k+ \& A7 b' X7 S
  1457. session.use_cookies = 1
    ! d2 `2 ?* A( N7 i

  1458. ' I4 u' }+ Z+ _# g/ Y+ }0 D% }
  1459. ; http://php.net/session.cookie-secure
    2 j8 P7 b% ]+ h: K1 C
  1460. ;session.cookie_secure =9 s0 N" U% v* Y# a( Q+ O7 ]+ M, y
  1461. ( O3 c4 A5 n; l5 f) N2 h0 |
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining# p6 r0 v4 O1 n9 K% n' h. q
  1463. ; the session id. We encourage this operation as it's very helpful in combating9 y( R/ @: f5 a  ^% Z8 M. A4 U1 P
  1464. ; session hijacking when not specifying and managing your own session id. It is2 D# B3 n8 \" ]6 b
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    , l, n' N( Y# o1 K2 }
  1466. ; http://php.net/session.use-only-cookies
    3 s$ P9 C* G7 x  ^$ ~) d' b/ Y
  1467. session.use_only_cookies = 1
    7 Z% P* ~5 \* T; I/ U1 y
  1468. & S. c) |! ]/ s3 I- R& l4 Y
  1469. ; Name of the session (used as cookie name).
      n& p5 @7 n- s& v: {) `( Z% U
  1470. ; http://php.net/session.name
      V2 A' v1 T$ S4 Y* @- {
  1471. session.name = PHPSESSID
    ! ?1 i) b( `5 P6 i$ M- g1 {

  1472. , Q/ x/ B2 N$ x( ?
  1473. ; Initialize session on request startup.# r5 U, H- y: [' {
  1474. ; http://php.net/session.auto-start
      ]! p- k, ~! O1 W% }
  1475. session.auto_start = 0  c5 B* a( Y0 N8 e3 f' g( Z
  1476. $ _2 v2 i* G+ z  Z
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.8 F! Y4 m. o$ n7 h% A" g* b; r" ]
  1478. ; http://php.net/session.cookie-lifetime
    : _( X& b& [  X+ R: a& n) D% G
  1479. session.cookie_lifetime = 05 A+ [% J; y) x& W; s" {

  1480. 7 [1 Z' G, s6 x, z- K2 c
  1481. ; The path for which the cookie is valid.
    8 n7 v) q4 o4 S2 V& m
  1482. ; http://php.net/session.cookie-path1 S' o6 n9 d: d' V* F
  1483. session.cookie_path = /
    ) |1 s1 O# o0 K& b5 J1 a) O& w; j9 I

  1484. ) k/ V8 t/ O+ y# t; U
  1485. ; The domain for which the cookie is valid.
    4 h: @& P5 N9 U& [# i/ y; e! n5 e
  1486. ; http://php.net/session.cookie-domain
    9 W* Y' |) c' L* d! V$ \
  1487. session.cookie_domain =! H$ e8 k, r+ x% ?4 c

  1488. % l* Z- b% m" M. c' l" r0 h: }
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.( n" }5 ]& _* a: f% r/ e
  1490. ; http://php.net/session.cookie-httponly! ]! K; @+ @, ?+ q  I# O3 J
  1491. session.cookie_httponly =- G8 t7 a  y6 |- \5 A9 r9 I9 m
  1492. + t% r6 a6 y8 b5 ?" r, |
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP., e1 R+ A+ G8 k3 p* P" [+ K5 a
  1494. ; http://php.net/session.serialize-handler
    % X# Q& B* l8 E" o/ C2 ^* o
  1495. session.serialize_handler = php
    2 P" F7 w0 K. L+ Z7 ~5 E2 @3 u/ j
  1496. 8 c  ?5 G! `/ v5 [( w/ U* o
  1497. ; Defines the probability that the 'garbage collection' process is started/ n5 F$ v+ O; b
  1498. ; on every session initialization. The probability is calculated by using! _4 L# `" N+ g% H& H* X9 s
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator! ]) _& u1 V2 r5 N$ x% Z) x$ r
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
      a2 N4 ^5 ?3 R7 B9 [
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance$ G. ~1 c/ \" R8 ~% x
  1502. ; the gc will run on any give request.9 B& |6 f- X# @1 J' J1 ~, U# r, q
  1503. ; Default Value: 1
    ; K  M" A' h  L7 b
  1504. ; Development Value: 1
    7 r/ o% q( ^! j' }0 ^
  1505. ; Production Value: 1
    - \0 w. z0 X3 `1 i
  1506. ; http://php.net/session.gc-probability
    % e8 _" j2 |; ]- N2 \6 }
  1507. session.gc_probability = 1
    , w$ `+ F" @: i8 h1 l
  1508. ; h( P  n% f- J) m3 Z  R
  1509. ; Defines the probability that the 'garbage collection' process is started on every% a" w, }1 W0 ]" z/ H; ?5 k2 K! j
  1510. ; session initialization. The probability is calculated by using the following equation:
    / t  ]6 D/ H2 v9 [9 {" ?0 j3 E0 j
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and6 Z" a, D5 D  V3 ^7 m( Q; a5 ^/ Z
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 12 [2 m: |/ Y! [+ Y3 }
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ( \+ C  f% h% x" {5 `
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    : k( j2 V$ L# n
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,! L7 c7 f8 t  N
  1516. ; this is a more efficient approach." p9 D$ P( n, M/ j, L
  1517. ; Default Value: 100
    9 @! \4 G: p$ j+ |
  1518. ; Development Value: 1000- s0 {9 {- m/ F! \; w
  1519. ; Production Value: 10009 H" ^& Z7 o9 F& w* P
  1520. ; http://php.net/session.gc-divisor
    8 m1 E% ~7 b; ~. D- f+ G% c
  1521. session.gc_divisor = 1000
    * d# Z, b- n- E7 z

  1522. 2 ]3 g7 H7 M0 r$ O% ~3 u
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    ) k; D+ u  F2 t4 |. C' }% L" T
  1524. ; cleaned up by the garbage collection process.
    % Z7 {' j" s% M% R
  1525. ; http://php.net/session.gc-maxlifetime4 Q4 k" c/ t( K9 Y* \7 V2 ?( v
  1526. session.gc_maxlifetime = 1440
    ! H: y+ F, a  `

  1527. 1 L- W7 S* u- t' U6 Q, i' F
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    - |( V3 d4 t0 y  z
  1529. ;       (see session.save_path above), then garbage collection does *not*
    2 J# u. k. B) u: J' `0 P
  1530. ;       happen automatically.  You will need to do your own garbage- H6 f0 [* e  d2 l0 n$ M
  1531. ;       collection through a shell script, cron entry, or some other method.
    7 ]1 S/ n) Q, q4 `1 y# q
  1532. ;       For example, the following script would is the equivalent of* k- t+ G1 ]  M7 w% \; |# a
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):+ Q  c5 R" `6 G0 |- ^5 o
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    . x" o/ C9 P7 V; M. \' h7 [  g

  1535. 0 N4 f5 P8 Y. C4 N6 y/ M
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.0 {0 J* ?- g- ^0 M. H
  1537. ; HTTP_REFERER has to contain this substring for the session to be, R* Y# i; O$ K2 F3 J6 `8 ?% u* C: Y
  1538. ; considered as valid.) j2 Y: q5 O* q4 J+ [' v
  1539. ; http://php.net/session.referer-check3 \; B% }( ^; z( {6 l) a5 ~7 U
  1540. session.referer_check =$ L) X  M( a. S1 s: f
  1541. 1 W- k$ A1 E) B! D, }9 @
  1542. ; How many bytes to read from the file.! q6 A7 v" K7 ^$ e3 d9 q
  1543. ; http://php.net/session.entropy-length8 E* y% ]0 Z  Y! b6 G
  1544. ;session.entropy_length = 32
    7 z. {1 O2 K8 i8 H

  1545. , c- b+ r$ Q: m: j% H  |
  1546. ; Specified here to create the session id.
    7 X, }/ I0 f+ w4 R/ ]
  1547. ; http://php.net/session.entropy-file
    3 h9 \9 E. n, J; V8 D3 c5 P8 o9 B5 Q3 W
  1548. ; Defaults to /dev/urandom
    # V: a7 D+ H5 i; w
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom* n: ~; ~3 i1 Y+ ]! {$ @1 X4 d0 K
  1550. ; If neither are found at compile time, the default is no entropy file." ~; F, s8 e5 R& t5 @
  1551. ; On windows, setting the entropy_length setting will activate the
    " H* C) @) H# g9 x5 a. Z
  1552. ; Windows random source (using the CryptoAPI)
    ( p; Q  _/ j4 y7 L6 F0 B- g
  1553. ;session.entropy_file = /dev/urandom2 M3 F) j* [+ H
  1554. ) g' t0 }# L3 D/ d2 M
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects( a" z' X" S) U' h2 F. m1 ~9 [
  1556. ; or leave this empty to avoid sending anti-caching headers.
    $ S! m' S! G. w3 f5 j% t4 w
  1557. ; http://php.net/session.cache-limiter5 L' g/ S3 O+ u0 z- p& e
  1558. session.cache_limiter = nocache
    . k: N, Y  P" [4 I1 x8 g5 d! R- r

  1559. $ T8 c- y/ k& l1 u; H& E- v
  1560. ; Document expires after n minutes.
    1 M* g' |6 k0 E4 H0 o  q4 O$ e
  1561. ; http://php.net/session.cache-expire
    9 ^4 W: l& W1 K( i8 A1 V: T  ~
  1562. session.cache_expire = 180
    : M" @9 B, j' u9 `% W
  1563. - M& D$ d- p: U' w! Q0 f" M, G
  1564. ; trans sid support is disabled by default.
    0 p' [' q' V5 D5 J/ h  l0 }  x, h, w6 b
  1565. ; Use of trans sid may risk your users' security.2 g6 G  Z4 R; m% k# G4 M
  1566. ; Use this option with caution.3 E) D4 T' Q  V
  1567. ; - User may send URL contains active session ID
    4 S6 B: |1 s0 \, }
  1568. ;   to other person via. email/irc/etc.
    6 I$ j4 R- p- L
  1569. ; - URL that contains active session ID may be stored
      ?/ l+ q' @* W
  1570. ;   in publicly accessible computer.
    9 N2 F8 n5 d- \+ I* G& J0 L1 K: K3 R
  1571. ; - User may access your site with the same session ID
    6 J0 E5 r3 e- h) g- W
  1572. ;   always using URL stored in browser's history or bookmarks.  N0 h. x2 S. e0 V  e3 n4 L
  1573. ; http://php.net/session.use-trans-sid
    " \/ R* W2 j/ Q+ F0 B, `
  1574. session.use_trans_sid = 0& [# G1 l; I! T+ r7 O# E

  1575. % W- F) `" @4 N: Q
  1576. ; Select a hash function for use in generating session ids.! o' \# d9 J8 a9 K
  1577. ; Possible Values
    + r) D: z& b& V" X- R9 h  j
  1578. ;   0  (MD5 128 bits)  p$ F# S! U/ B) A: x; w& T3 ?
  1579. ;   1  (SHA-1 160 bits)
    6 k# W4 M% a. t/ f7 s
  1580. ; This option may also be set to the name of any hash function supported by$ M2 F" V$ Y9 Q1 G$ U
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    % Q" J7 E1 T# C: e7 W$ P$ e
  1582. ; function.% _5 @1 K4 i$ l. ^' L/ F
  1583. ; http://php.net/session.hash-function. w3 H% W; `" t3 |3 ~6 r
  1584. session.hash_function = 0
    , a( `' `) @, ]4 j
  1585. 3 F. o4 [: ]4 ?' A
  1586. ; Define how many bits are stored in each character when converting
    5 k* t  w$ e4 Q2 Q
  1587. ; the binary hash data to something readable.
      i% U, x$ X% j' Q. e, W0 ]& {5 {
  1588. ; Possible values:7 R* n0 k5 F) \4 U* I. [) O6 Q7 T! }/ J
  1589. ;   4  (4 bits: 0-9, a-f)
    4 O' ^6 a9 j' u. Q, p* a
  1590. ;   5  (5 bits: 0-9, a-v)9 u* {/ I6 s, t5 D5 ]4 Q0 g
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")( @: E- J, g  Y6 q# m: Q; h" `
  1592. ; Default Value: 48 f0 s5 U6 Z0 ~+ c5 U
  1593. ; Development Value: 5
    9 x0 q7 \( }0 F1 i8 G0 ]- H: J0 I
  1594. ; Production Value: 5$ ^5 ?( M' F+ P( J- i$ w
  1595. ; http://php.net/session.hash-bits-per-character+ q2 r. j5 ~9 k' n3 ~
  1596. session.hash_bits_per_character = 5
    - s9 i, h7 Q- `1 P/ I

  1597. 1 r+ |/ n/ U2 C% v% c( _- @
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    2 d7 S$ n  _- C) A2 L1 Q1 b
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    8 X8 Q$ ]6 E5 G) S
  1600. ; add a hidden <input> field with the info which is otherwise appended4 @7 C! s# c1 b9 W
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ' N- w2 i! w8 T/ r& `4 t
  1602. ; Note that all valid entries require a "=", even if no value follows.% n4 A) P' [3 V- s; F9 I
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    6 l2 h, }) p! d" Y8 J% @/ f  s
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry", m" C8 |! Q  T* ]* j
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! B1 w. ~% ]" d) F
  1606. ; http://php.net/url-rewriter.tags
      Z% r* B/ @/ I" c# Q5 b
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    & S* L( i) u1 r

  1608. 8 X, f7 g9 H! l0 c$ q2 B7 J+ x
  1609. ; Enable upload progress tracking in $_SESSION
    1 I; `: d5 w. Y; _- q+ g
  1610. ; Default Value: On
    9 D) U  |# W" s' V2 q5 B6 r
  1611. ; Development Value: On; d/ P! N  ~  ?( t
  1612. ; Production Value: On! o4 ]9 F8 _) s4 `8 S
  1613. ; http://php.net/session.upload-progress.enabled
    1 z' y/ s: X. ^; L
  1614. ;session.upload_progress.enabled = On: o/ J/ {* V/ u" u+ t
  1615. # N- Z% H9 t, A/ B7 g$ l: j
  1616. ; Cleanup the progress information as soon as all POST data has been read/ M5 y! A& m# Z$ Y! Z. r
  1617. ; (i.e. upload completed).
    ! o4 T3 Z* G, x# D" B, a3 W' g/ ^
  1618. ; Default Value: On
    7 P% _3 n5 \# V$ b
  1619. ; Development Value: On
    8 X$ I& A4 W0 Q5 N: R7 |
  1620. ; Production Value: On
    ; T& z6 e3 }6 o# l* e3 J7 B6 ]
  1621. ; http://php.net/session.upload-progress.cleanup
    1 d' \! O& D5 L; o% X
  1622. ;session.upload_progress.cleanup = On
    7 w  e: J# K9 M5 t0 l5 }" @& v. q
  1623. ; L. r' f4 j# z
  1624. ; A prefix used for the upload progress key in $_SESSION& N4 R3 k0 r* k' q- T
  1625. ; Default Value: "upload_progress_", M" T# w. y6 I+ R, [9 q) ~0 L: L! d
  1626. ; Development Value: "upload_progress_"
    2 s  L3 e6 Y. v; z1 H* a. P
  1627. ; Production Value: "upload_progress_"
    3 J2 [$ h, J& x( ~% v4 _
  1628. ; http://php.net/session.upload-progress.prefix# x: J; n7 i: u9 F3 \
  1629. ;session.upload_progress.prefix = "upload_progress_"# T# T2 X0 Z# Z3 F, q
  1630. 0 p: p9 @  R# h, X3 E
  1631. ; The index name (concatenated with the prefix) in $_SESSION. g2 \$ H$ o2 m' i+ S
  1632. ; containing the upload progress information
    $ {1 n0 w# i2 Z5 [
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! @* d& f3 i4 B- z
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : {. B6 v0 d7 T+ R2 q/ G
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    8 R! I& _2 Z: @" X" c- f1 ?% `- Q$ r
  1636. ; http://php.net/session.upload-progress.name
    + W( a* o8 |8 J$ {; A8 O
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"' {! M- m" C3 |  n' W

  1638. ; n: @' P0 L" H! v; |' \
  1639. ; How frequently the upload progress should be updated.
    1 w9 k: V, M& W+ W  K6 K* z5 L: z/ A
  1640. ; Given either in percentages (per-file), or in bytes
    9 a* M/ Z0 y# @) H
  1641. ; Default Value: "1%"
    $ B! y6 B) t! V& D
  1642. ; Development Value: "1%"
    / B/ ]- z5 E! l, u
  1643. ; Production Value: "1%"
    * C7 {' z  [4 W! R" t( n  L* F- L5 `) O( t
  1644. ; http://php.net/session.upload-progress.freq9 G# i/ w$ `! i' Y# j
  1645. ;session.upload_progress.freq =  "1%"4 G3 Q8 J1 m) K! ~6 S0 `
  1646. . Z' b; U" V4 Q8 {  e; g6 O
  1647. ; The minimum delay between updates, in seconds
    " m9 q* {( d8 o4 ~1 I1 X& C
  1648. ; Default Value: 1# _, Q/ o( p0 N9 o
  1649. ; Development Value: 1
    9 b6 E% g+ \" [& X; `: k. ?
  1650. ; Production Value: 1
    ; p. x8 D+ A9 W6 y& W
  1651. ; http://php.net/session.upload-progress.min-freq
    & Q2 m. \: j, S* C; r& w9 b
  1652. ;session.upload_progress.min_freq = "1"1 `) m; {0 J3 n" a% ~1 R

  1653. , C1 L; ]$ K" t8 q5 `1 w
  1654. [MSSQL]
    / K3 |% }* d5 k
  1655. ; Allow or prevent persistent links.5 H3 K- |8 q5 D: J  o) ~
  1656. mssql.allow_persistent = On6 ?8 `* ^3 ~3 o
  1657. ' D7 P' Z3 m+ H' Z0 @
  1658. ; Maximum number of persistent links.  -1 means no limit.% p/ _4 p9 _) G) G" t2 S2 e
  1659. mssql.max_persistent = -1' q: m2 S5 _2 M
  1660. 6 |4 ~# ^0 Y; @& }: M
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.# _9 r9 F- U2 q) s: T
  1662. mssql.max_links = -19 I/ i9 M  s/ @1 `- p4 e

  1663. 4 D1 i+ n3 s  O9 I8 A4 w
  1664. ; Minimum error severity to display." ^, E- N- o+ I% k1 ?
  1665. mssql.min_error_severity = 10
    0 [; h0 @2 W. Q1 [) t3 E8 S% A, |
  1666. # E' b4 v5 g& d' F+ C. \0 P5 @( o* w
  1667. ; Minimum message severity to display.
    4 I9 R( x9 T( D8 L( L! B/ \
  1668. mssql.min_message_severity = 10
    " F" K: H; b5 q( u6 g
  1669. ( J9 w) I3 f1 ]- O
  1670. ; Compatibility mode with old versions of PHP 3.0.1 [; `/ O# e6 C  N
  1671. mssql.compatibility_mode = Off' ]$ N4 q# y2 c6 }2 e
  1672. 6 K/ L$ e& r1 m/ [
  1673. ; Connect timeout$ p6 r0 ?& v3 P. Z  f
  1674. ;mssql.connect_timeout = 50 j# `2 y5 s1 E& D! P9 p% C
  1675. " n: u8 B7 M+ \8 r7 |4 i( b
  1676. ; Query timeout
    4 b6 A! \) h% `! o1 X) T  k
  1677. ;mssql.timeout = 60
    ( Z# Y; u7 L' ~
  1678. ( \. Y5 |$ s  i0 Q6 i
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    0 U$ X; ^9 @: ^1 W& e
  1680. ;mssql.textlimit = 40960 ?/ N4 J, a3 W% p

  1681. ! {5 b6 h4 n  O6 B8 A% E+ ?
  1682. ; Valid range 0 - 2147483647.  Default = 4096.3 Y" t* S7 p( q' h0 ?/ `! \
  1683. ;mssql.textsize = 4096# K* T9 `: Q6 R/ N# z) @1 `
  1684. 8 R% Q& J" O) D0 e/ a: b' W1 [7 V
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.$ X  j9 W' \# y/ U4 y+ \
  1686. ;mssql.batchsize = 0
    5 Y9 w4 T: I# ?& k8 ~+ x

  1687. - M) S* A5 c; f# l; m1 I
  1688. ; Specify how datetime and datetim4 columns are returned
    , f- v' o4 D9 z1 V( _( i, H
  1689. ; On => Returns data converted to SQL server settings
    ) ?& u. Y8 P) {* _% e; O% c( o9 c, K0 T
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss6 ?$ m. R7 B0 H3 h! e
  1691. ;mssql.datetimeconvert = On6 w* \# ?+ F% E- O2 W; x

  1692. ! t' t2 g: d$ j; K
  1693. ; Use NT authentication when connecting to the server- O' m, k3 X! {3 s8 @* ~$ o
  1694. mssql.secure_connection = Off8 a' Z4 {' p8 i
  1695. 3 C4 `4 k! O/ t; R: b! y
  1696. ; Specify max number of processes. -1 = library default
    8 F8 h/ G3 _  V# x4 @
  1697. ; msdlib defaults to 258 l, A% |3 M5 A2 _4 N) V9 P3 ?
  1698. ; FreeTDS defaults to 40964 c! o6 F% D2 L% `, `- H* \, ?
  1699. ;mssql.max_procs = -1
    ; |9 q7 M5 ]% U( c
  1700. ' B$ P" v+ A( Z! M
  1701. ; Specify client character set.1 O; Y, t  T6 n8 P1 D
  1702. ; If empty or not set the client charset from freetds.conf is used0 O6 E3 ]* a' `( I0 R
  1703. ; This is only used when compiled with FreeTDS" r5 F; v6 F& [" t/ j" W
  1704. ;mssql.charset = "ISO-8859-1"7 D3 R4 z( A2 _. A
  1705. ( e2 g6 L# b% l
  1706. [Assertion]
    0 h3 X3 P" ]; {; E
  1707. ; Assert(expr); active by default.1 U6 \% N7 U' v+ n: w! \3 s+ n
  1708. ; http://php.net/assert.active
    ( T: a0 A3 N7 t7 V
  1709. ;assert.active = On* m$ k) F" p8 n! v% F7 ~9 b

  1710. & W# W: N/ E. u8 O* W5 s+ E3 w) e8 t0 [& U
  1711. ; Issue a PHP warning for each failed assertion.
    - D. F+ `0 M5 V
  1712. ; http://php.net/assert.warning
    ) G. H4 t' f, o- ]& F4 |
  1713. ;assert.warning = On3 |* r2 {! M3 [$ l$ x7 [( f

  1714. , c/ d3 q" T! J( H1 Z9 I& V7 _
  1715. ; Don't bail out by default.7 {( T7 ^% z9 |$ w
  1716. ; http://php.net/assert.bail
    6 x; J2 a0 i' ?; V" N
  1717. ;assert.bail = Off
      y% o- u: K5 ]. x

  1718. 2 a# c0 a: v# t
  1719. ; User-function to be called if an assertion fails.0 H9 V" {. t) N1 O9 X# a
  1720. ; http://php.net/assert.callback9 i! |/ \- G) ]" T! c5 Q. X  o
  1721. ;assert.callback = 07 W& t8 T: W2 r7 f) W9 \8 m
  1722. 6 j. h5 g) f0 y4 e0 t& X/ u. g
  1723. ; Eval the expression with current error_reporting().  Set to true if you want% R. C6 _- P) x
  1724. ; error_reporting(0) around the eval().6 |! C( I2 l* \( R
  1725. ; http://php.net/assert.quiet-eval
    * p5 c# r9 S! [
  1726. ;assert.quiet_eval = 0
    ) z& V! D) B0 I9 i7 R
  1727. ; g% m! |9 L4 S& L; y
  1728. [COM]
    + \1 w- f! L/ w
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs& W7 y/ s; u* q3 ~, J, o
  1730. ; http://php.net/com.typelib-file
    - h5 A$ W1 g& W' e
  1731. ;com.typelib_file =
    5 j1 j& j; |1 T0 r; c) P* U
  1732. - q$ q  H* ?, i& Y! N% m6 p# \
  1733. ; allow Distributed-COM calls9 N. ?3 S' ?3 ]$ N* i
  1734. ; http://php.net/com.allow-dcom
    , n# W3 W4 P8 _  A1 k
  1735. ;com.allow_dcom = true5 g2 _% I8 R$ a- I0 l
  1736. . V- a2 m8 ~" V% Y
  1737. ; autoregister constants of a components typlib on com_load()
    6 o2 D" C- \: P
  1738. ; http://php.net/com.autoregister-typelib
    4 c$ H7 N5 n+ f4 v, i5 h
  1739. ;com.autoregister_typelib = true$ m) b- v6 Q% I

  1740. # {& p9 t8 ~2 ^9 ^: G: [& h
  1741. ; register constants casesensitive
    8 L3 c1 }$ L' \
  1742. ; http://php.net/com.autoregister-casesensitive
    $ t: L4 g* {' X, m( j. L3 ]/ I
  1743. ;com.autoregister_casesensitive = false9 o+ Z8 s( L/ K) d0 R
  1744. 2 ^* p& T8 r& t8 }) s2 m, m. M
  1745. ; show warnings on duplicate constant registrations3 ]* o) Q( y; M, {/ {' N
  1746. ; http://php.net/com.autoregister-verbose% I- a4 i6 c* Y+ J6 T. v, q
  1747. ;com.autoregister_verbose = true
    7 k/ b/ i  ~# z
  1748. 8 t: z. l  @$ l( d" J
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    ) w- f2 m$ y" f! w) d4 u" J) i
  1750. ; Default: system ANSI code page
    ; T' |  E6 U' \4 p" Q7 [/ a
  1751. ;com.code_page=
    ( v1 q1 [4 j6 K* Y' u- e+ |

  1752. 5 g- e- f' Y& L" ^5 I, ]
  1753. [mbstring]* J- _$ ]! C4 `! ?" R9 T! d1 u' r# V+ b
  1754. ; language for internal character representation.
    % A* b6 K* u2 ^$ B  r
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
      T3 ]- e' y: x/ s4 k0 P
  1756. ; http://php.net/mbstring.language
    2 w0 q- S$ c3 ]% o1 f
  1757. ;mbstring.language = Japanese
    + O4 L. W: O/ k- F

  1758. 5 `( L. j7 E6 T3 F% @
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    : a2 m) J, @$ `" A7 ^
  1760. ; internal/script encoding.# G- C5 R( w  k) |( _* c& z& W/ k  ^
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)! Z* Y" L8 J. N/ v, F
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 F; G/ R! j0 d7 H$ Y, ]6 l
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    8 M5 r+ a( X# s) [0 v
  1764. ;mbstring.internal_encoding =
    " U" n# B1 f2 t! U& Q9 M# ^

  1765. 7 p3 ?& V' e% g3 S3 _
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.7 ?9 x& G- N* t# e. S
  1767. ; http input encoding.
    . {6 M; [& e& p: C8 }5 C1 Y
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    * G- Q, |! [, G. l& P
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.- x. A% \: m3 ~+ F
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input, \" q7 p! E+ m/ [  w
  1771. ; http://php.net/mbstring.http-input
    : G; r5 X. {: G
  1772. ;mbstring.http_input =% I5 z: B5 u2 b9 f0 u1 G, _6 x2 W
  1773. ( R9 Q" y2 e8 x/ J- u1 i  {
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    5 T! s- z) |3 h
  1775. ; http output encoding.
    ( ]2 A$ d# W* C: ]2 x' h
  1776. ; mb_output_handler must be registered as output buffer to function.$ o9 F% e# P9 ^
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.' j! \4 `6 p7 g$ m: L* p4 k
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ; ?  u6 u, `( r: _* w/ Q) ], D
  1779. ; To use an output encoding conversion, mbstring's output handler must be set- a! t+ e, j/ y9 \9 |, f3 G( Q
  1780. ; otherwise output encoding conversion cannot be performed.: ?7 [# C* C. J4 T0 B: H# g/ `
  1781. ; http://php.net/mbstring.http-output
    & Q& }; E  y4 q+ ~9 S0 }2 l6 Q
  1782. ;mbstring.http_output =3 ?5 g' Y. i; ~3 v: n
  1783. + p; S& A- p5 M8 @
  1784. ; enable automatic encoding translation according to
    : ]4 W1 @% k7 u- [* E$ f1 y! G5 ~
  1785. ; mbstring.internal_encoding setting. Input chars are
    3 F& ]& M# i! n- `" x! P# u: l
  1786. ; converted to internal encoding by setting this to On.! Q/ f# l5 `+ v9 _" f3 A- H- `
  1787. ; Note: Do _not_ use automatic encoding translation for
    ) }# [2 l! D* t. y+ K/ h. q7 Y
  1788. ;       portable libs/applications.; I* b. ?' ~( S' D3 e+ ]
  1789. ; http://php.net/mbstring.encoding-translation# P% w9 C  ], i; j7 A9 h
  1790. ;mbstring.encoding_translation = Off
      m) ?+ T$ [5 u
  1791. 9 i, `8 e& G3 P, n( ~/ F
  1792. ; automatic encoding detection order.0 \1 S! T- H3 X0 }( @$ J
  1793. ; "auto" detect order is changed according to mbstring.language4 g4 I+ |" D& j, N& P
  1794. ; http://php.net/mbstring.detect-order
    4 y5 ~* _5 |. K+ _4 m' p
  1795. ;mbstring.detect_order = auto0 N# O  l! |1 A& p
  1796. ! W, w, T+ Y; R5 I/ W; f
  1797. ; substitute_character used when character cannot be converted
    6 R, x6 M+ C6 g, J8 \* t
  1798. ; one from another3 C5 g4 Y( i/ U9 d2 I
  1799. ; http://php.net/mbstring.substitute-character  u3 m8 O; C3 ?' ]
  1800. ;mbstring.substitute_character = none' Q0 u: n4 U% \2 w+ G
  1801. % m8 Y# H' ~- a# S7 |
  1802. ; overload(replace) single byte functions by mbstring functions.: H$ {/ a  R! V* Z! L6 @
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),0 k2 e$ `6 w  d+ k' ^9 i2 X
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.1 U$ o; O6 I# |( f
  1805. ; For example, 7 for overload everything.
    . X4 u% ^* h/ g; C- a% }
  1806. ; 0: No overload
    : d, }3 u, t9 P8 h! ]9 m0 K' j" J
  1807. ; 1: Overload mail() function
    2 D* C$ v: h/ C( A5 g& b
  1808. ; 2: Overload str*() functions' C( u3 p6 G8 w3 s) y8 O
  1809. ; 4: Overload ereg*() functions: z! L7 k; P4 Q$ R& L
  1810. ; http://php.net/mbstring.func-overload
    9 q8 y+ s4 @4 ]  Q4 g* J( _
  1811. ;mbstring.func_overload = 0
    7 j  f4 k" r, }, ?7 e

  1812. ! U  E2 |5 ]6 y! B( ~. @* b) m
  1813. ; enable strict encoding detection.& \0 {. }- L" m% i
  1814. ; Default: Off
    8 _  P( D: D2 ^
  1815. ;mbstring.strict_detection = On
    4 w9 d, I4 F4 K

  1816. " b+ J7 ^6 P3 k3 [' F
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()1 o. n- U! ^' h- R
  1818. ; is activated." C9 _( I- N! O. ~( C- l5 O( R: g3 A
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)3 D! D  s" S: x* C
  1820. ;mbstring.http_output_conv_mimetype=* {9 v6 h+ V5 s  W
  1821. ; f/ H  D( S' b' F1 s* h$ P5 W
  1822. [gd]9 @# m1 H' b7 x8 D  G8 Q
  1823. ; Tell the jpeg decode to ignore warnings and try to create
      `8 n6 z* I, ~3 E
  1824. ; a gd image. The warning will then be displayed as notices6 u& O  m$ ^) }2 a
  1825. ; disabled by default
    0 r% Z9 P3 Q, t0 C- c
  1826. ; http://php.net/gd.jpeg-ignore-warning
    5 Y2 D, G/ ?/ q; E
  1827. ;gd.jpeg_ignore_warning = 0
    * s% v7 B% x: \+ v! i

  1828. . Z; M' R9 W6 @" p3 G% [+ c/ ]
  1829. [exif]2 m  V7 `1 o& T9 w6 i. F
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    / v3 w( `* i+ n7 w; y
  1831. ; With mbstring support this will automatically be converted into the encoding) J% c% b" ^4 C/ I# V# ^
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding# ~  ~$ i# U! @- G
  1833. ; is used. For the decode settings you can distinguish between motorola and8 O) r8 H. C0 J5 V. f  d, u
  1834. ; intel byte order. A decode setting cannot be empty.
    3 A& k; E& g% G5 H
  1835. ; http://php.net/exif.encode-unicode
    7 D2 M- P7 p5 P5 j. I
  1836. ;exif.encode_unicode = ISO-8859-15
    9 g5 ^  R2 D8 y1 A) R6 N  X% {
  1837. ! E% T4 _5 j6 }1 H9 O5 S- F9 d
  1838. ; http://php.net/exif.decode-unicode-motorola
    5 }# p* R' m2 v
  1839. ;exif.decode_unicode_motorola = UCS-2BE( y3 X5 T  E; H- k$ L3 g

  1840. . J/ t# ?2 H+ T! W1 F1 ~
  1841. ; http://php.net/exif.decode-unicode-intel# Y3 D4 Z- E4 A- a, R5 |7 c
  1842. ;exif.decode_unicode_intel    = UCS-2LE" ?) e2 |" }9 Z1 U$ o& x: v2 I
  1843. ) f4 W1 E# M  u0 A1 W2 \8 c
  1844. ; http://php.net/exif.encode-jis/ q& y8 ]* f7 @4 A- i( L4 [' K) w
  1845. ;exif.encode_jis =6 U4 P1 f! w& j1 U1 V3 g
  1846.   j: O  F& w* y; }0 o. K
  1847. ; http://php.net/exif.decode-jis-motorola
    4 B8 f% ~; w& E3 o! U
  1848. ;exif.decode_jis_motorola = JIS
    ) `: L! E. S  S# k9 B5 D' h  v5 O1 ]

  1849. 0 N# o- J8 G; B  X2 I8 E
  1850. ; http://php.net/exif.decode-jis-intel
    $ p, G2 A1 n$ r  {( K
  1851. ;exif.decode_jis_intel    = JIS5 d2 p% ]* C, J8 G! O
  1852. 3 J; ^" X' _+ B) _5 P  }, |  \
  1853. [Tidy]
    ! l+ m9 n+ G. C5 [6 \2 q# q9 }
  1854. ; The path to a default tidy configuration file to use when using tidy
    & d8 M+ y) H  I* q/ y
  1855. ; http://php.net/tidy.default-config
    / _: @6 M4 B; O, I! e* y
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    , J7 a& g6 K  G
  1857. % ^: N( h9 H  b; d  E
  1858. ; Should tidy clean and repair output automatically?
    % X) r- e& M) j( g
  1859. ; WARNING: Do not use this option if you are generating non-html content
    / u7 K6 Z- B9 c
  1860. ; such as dynamic images
    6 Z4 o7 q. |0 h6 N5 W4 r" S
  1861. ; http://php.net/tidy.clean-output
    ' c) j) Q. s, _! M
  1862. tidy.clean_output = Off
    1 \+ T7 D$ C* C# x8 D0 L% X

  1863. 8 ]5 x3 o9 x1 Y8 \: _
  1864. [soap]3 |' S. X) W$ t( C( M" L! S
  1865. ; Enables or disables WSDL caching feature.5 b6 j. C! q, x5 |+ c2 l
  1866. ; http://php.net/soap.wsdl-cache-enabled$ t3 t- e6 ]( G. F$ O- j
  1867. soap.wsdl_cache_enabled=1* L. l, L: ?' O( r) l/ X& n

  1868. 1 U: {0 f, B5 [. k
  1869. ; Sets the directory name where SOAP extension will put cache files.; k& Z! k, Q! {/ |; h1 Q) {
  1870. ; http://php.net/soap.wsdl-cache-dir, n9 ~: x* I% b% X' F
  1871. soap.wsdl_cache_dir="/tmp"0 g  ^$ y; t7 ?, e5 ~
  1872. 5 x# |' a+ \5 @: k1 u. [
  1873. ; (time to live) Sets the number of second while cached file will be used! T" e  A1 j/ e* i$ F
  1874. ; instead of original one.
    & h* A3 s0 ?, c8 M4 b' M
  1875. ; http://php.net/soap.wsdl-cache-ttl
    2 G) g2 [- ?8 s  A* d) m
  1876. soap.wsdl_cache_ttl=86400) \/ L, ~' Q5 c: B2 V0 [/ d* C) N

  1877. , q8 o5 T/ W8 v
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    : [8 {3 n: c, }, L% L
  1879. soap.wsdl_cache_limit = 5
    % w" i4 v9 L  j
  1880. ; V$ r7 C; o: }& F1 u
  1881. [sysvshm], v' c3 o8 }- n
  1882. ; A default size of the shared memory segment' U: N! @8 g4 e6 d
  1883. ;sysvshm.init_mem = 10000/ z7 g$ i5 E% D$ [) a2 K. [8 Q5 `
  1884. ( X! v( m+ r+ s& n* {" o
  1885. [ldap]
    ; n' b9 }4 R& s( P! K( n/ S. @
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    . n9 G& F- s& X. W# O- v' I. c
  1887. ldap.max_links = -1% ~" H. M) y  e- U5 y# F3 K$ F

  1888. " k7 y0 J1 g% w0 b) f/ i" x
  1889. [mcrypt]# U& J* b% q/ j
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    3 h# d" l/ Z* l+ n8 C2 W/ i6 `

  1891. ( `9 a4 J% k3 U8 w" m$ {4 P
  1892. ; Directory where to load mcrypt algorithms5 p. N7 {) P$ _" C$ C" F# r& ~8 `& U
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    " Q$ D2 w  B. f) T! G8 p1 g
  1894. ;mcrypt.algorithms_dir=
    : f$ k+ q$ H4 n

  1895. & F& C8 G+ K* q
  1896. ; Directory where to load mcrypt modes
    ) L2 L6 F, H6 s& p/ c+ O
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    & [. p! \0 T+ e
  1898. ;mcrypt.modes_dir=
    ( A8 _* }0 |0 e9 K  d- `( s% H9 [# ~
  1899. ; b( S0 G9 f4 `
  1900. [dba]
    - U9 E' Q0 C- Z# A& }+ H
  1901. ;dba.default_handler=
    $ E- r5 g. w, i" b5 t4 l1 {

  1902. ; m+ Y# r  S/ \$ M7 j
  1903. [opcache]* K% N6 C$ u9 B) Y
  1904. ; Determines if Zend OPCache is enabled4 P+ w! k9 W4 q9 z
  1905. ;opcache.enable=03 D$ q- P. F; J3 J

  1906. 8 z: x0 D( G3 B/ C0 Y2 b
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP% o( p# B4 i. I2 E6 h' _8 C
  1908. ;opcache.enable_cli=05 H, Q/ O6 B4 O" x/ a
  1909.   ?0 q" b0 v0 |3 M' k8 V7 t- o
  1910. ; The OPcache shared memory storage size.! I1 F' p! |) X1 j+ E8 Z# E. K
  1911. ;opcache.memory_consumption=64
    4 h+ V% Y; j( O; ~8 X( c7 ?/ u2 B

  1912. ) q4 I. S2 l8 W; K+ M* c8 ]  A8 `
  1913. ; The amount of memory for interned strings in Mbytes.+ R9 v& J6 D6 c( U- b0 {
  1914. ;opcache.interned_strings_buffer=4# T% p. ]9 j* y

  1915. / \9 t9 M1 K9 z! ]2 T# b. t! X$ A
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    & u- n/ D, i( H+ y9 T4 v
  1917. ; Only numbers between 200 and 100000 are allowed.
    # t, @3 v2 G; o
  1918. ;opcache.max_accelerated_files=2000
    3 a7 m  ]9 q1 U9 t

  1919. 1 _; a, o, p: K
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    1 |' y" A( _4 ?: y) k4 j
  1921. ;opcache.max_wasted_percentage=5( z! {8 {: l- t
  1922. * n$ l" e( I+ Z2 S" L  A+ Q
  1923. ; When this directive is enabled, the OPcache appends the current working# Z. s, s; H9 a. t  \4 D6 n& z9 j
  1924. ; directory to the script key, thus eliminating possible collisions between5 b/ K% M! w. E
  1925. ; files with the same name (basename). Disabling the directive improves
    $ R: x9 }* i3 [$ U% m
  1926. ; performance, but may break existing applications.0 A$ m, _- g8 O3 |" {% h/ y
  1927. ;opcache.use_cwd=13 }5 Y- X# w( W+ g! p4 i
  1928. ! s+ x  r. Y' t" N. u- B9 [
  1929. ; When disabled, you must reset the OPcache manually or restart the! F7 ^. w: w! }4 F
  1930. ; webserver for changes to the filesystem to take effect.
    # r! {% f( A$ _0 a- P5 c
  1931. ;opcache.validate_timestamps=1
    - D8 ?: h) y0 o" e3 x" c

  1932. " C: C2 U( x: t, D
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    8 U' l4 Q0 v7 H$ Z3 f! i
  1934. ; memory storage allocation. ("1" means validate once per second, but only- A* q# c5 w. @! a5 Z  D) U
  1935. ; once per request. "0" means always validate)
    . i% q" `" s" U% x
  1936. ;opcache.revalidate_freq=25 H9 L8 ]9 K6 V0 p& D4 y  `8 l

  1937. 1 H* [$ D* }2 q/ J
  1938. ; Enables or disables file search in include_path optimization+ p( X0 I! I% P1 |. H* F5 p5 L
  1939. ;opcache.revalidate_path=00 n; L7 U1 T/ n# e& i
  1940. ( Y  V" W* p3 x6 M' X
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    * f8 z) y* f) K) P
  1942. ; size of the optimized code./ ~7 g9 V5 z' z. x% A5 Z
  1943. ;opcache.save_comments=12 e6 ~5 |$ b1 Y. C, o, z
  1944. # Y, d! p9 _0 x7 G% |
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"* R! N3 F) n  n/ _5 x
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    * i: L9 i% k- W3 {. |
  1947. ; that don't need them anyway.
    3 }( u- S: F9 e3 \; j8 U  N0 J
  1948. ;opcache.load_comments=17 Q% g' O0 m- ^( }
  1949. . f7 w* g" n* U; C
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code' U* x5 X6 |5 F. U: p# S" y9 R
  1951. ;opcache.fast_shutdown=0" Y9 F" @, r6 r* y0 Z  Y

  1952. - S6 ?1 f  @4 Y" t
  1953. ; Allow file existence override (file_exists, etc.) performance feature.  w) {; t4 L5 T8 P5 T2 k+ |5 s5 s
  1954. ;opcache.enable_file_override=06 Z  N" G7 c/ n& I! |4 |1 a% ^) l
  1955. 9 e. V: a- u5 ?( e6 ?
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache: H9 f3 `5 W9 i# h4 D" [: Z
  1957. ; passes) t, `4 m, |+ t
  1958. ;opcache.optimization_level=0xffffffff
    + g' {. k- W, \+ M6 [' J& U8 h

  1959. 7 ^6 a. m3 n! G9 H3 |
  1960. ;opcache.inherited_hack=1
    1 n8 o: f8 u6 A4 h) a7 l' P
  1961. ;opcache.dups_fix=0/ m5 I' V8 a2 @  }7 g- x) }/ T9 g# u* _

  1962. " C( ^9 m+ w$ j
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    " D( y- ]$ }( p" \# b
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    % ^9 P% k5 ~; p6 m! X. E
  1965. ; that should not be accelerated. The file format is to add each filename% Z8 y/ y! e. M. n: m7 D, v& P) A
  1966. ; to a new line. The filename may be a full path or just a file prefix* c0 L3 N; h' q& F
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ; @% s4 k1 s. Y$ ]0 u$ T& Q
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).: d# ]8 q  g) a4 _6 Y; u- a; z5 i
  1969. ;opcache.blacklist_filename=
    * }* ]# }' `2 T& d7 l4 C( I

  1970. * u. D; f) T6 `4 J, j% h
  1971. ; Allows exclusion of large files from being cached. By default all files
    5 T4 ?' W. s- N8 \2 A- `( s3 C
  1972. ; are cached.$ w: f) U$ a$ g; r% t3 |) b
  1973. ;opcache.max_file_size=0; e  ~' t; {9 }4 k3 `# X5 ]& g$ A

  1974. 8 A1 B4 o$ B; Q, P1 r  D3 J( o+ K
  1975. ; Check the cache checksum each N requests.4 e3 c! h( v! ]7 D& }, D  r# H% w
  1976. ; The default value of "0" means that the checks are disabled.
    . u: {6 x- X" c& a
  1977. ;opcache.consistency_checks=0
    & ?3 l7 d# n1 a. c8 }. f' Y7 Z6 J! W

  1978. , d( l4 |8 h5 ^
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    . m. E3 U0 h& C2 x! G; i
  1980. ; is not being accessed.
    + H5 O  c6 `  h7 k' c
  1981. ;opcache.force_restart_timeout=1802 u; c# S$ ~. A$ O0 r/ G

  1982. - ?2 m. ]; f+ ~) ~+ f. l1 N4 l
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    * u1 o( Q- `" z4 X: i3 {
  1984. ;opcache.error_log=
    5 L, r& J( K7 n6 I
  1985. : D" f' B$ L5 {9 ?
  1986. ; All OPcache errors go to the Web server log.: g' V4 z( u( B+ L" {
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    . |( h5 n/ _" R! g6 {
  1988. ; You can also enable warnings (level 2), info messages (level 3) or& z, ^! {! W' K$ I3 y
  1989. ; debug messages (level 4).
    ; D7 p4 `3 Q2 Q! Q9 ?7 F3 `
  1990. ;opcache.log_verbosity_level=1
    - u1 W7 H8 J  R" ^& w

  1991. % @' S/ p; r% {! F6 t
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ( x) J, i& V8 Y( o& o! U/ U6 Q4 i
  1993. ;opcache.preferred_memory_model=
    . J9 C. D. B* S% D6 n9 v
  1994. ) @, g$ d/ U7 Y' e
  1995. ; Protect the shared memory from unexpected writing during script execution.
    4 }; F$ U$ Z9 V. i0 F  f* X0 I
  1996. ; Useful for internal debugging only.: l+ Y7 Z1 {, B9 b. b' k
  1997. ;opcache.protect_memory=0
    + e  K1 i6 M/ b! g% k0 |
  1998. - R; Q# Y( T1 F8 ^6 |
  1999. ; Validate cached file permissions.% K$ t+ S8 p7 M2 b% b+ C
  2000. ; opcache.validate_permission=0
    " V8 X  b( P9 O, d. N* I& `

  2001. 8 O7 ~; d4 L! r
  2002. ; Prevent name collisions in chroot'ed environment.
      p8 U% @3 c3 g, s/ W; c1 F
  2003. ; opcache.validate_root=04 s) n; D" h9 L  @

  2004. 3 \7 Q: E8 j3 Q3 \" S" g6 O
  2005. [curl]
    1 }  J+ a6 N5 l) I% P
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    " P$ S/ P4 d" z, i
  2007. ; absolute path.# V' J. I, |6 ?5 H6 N/ f* Q
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    . g$ `" K2 K9 K+ _

  2009. * B/ f- Q  S6 a& n  s
  2010. [openssl]
    $ |# A6 [: Z3 J+ Q. e' [
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    % O# N$ S2 u+ ^. F( ]" M
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ( R# x9 N, q0 d  _; a) \
  2013. ; not specify a value for this directive as PHP will attempt to use the
    % M7 {2 \6 k1 A7 l" w7 j: M
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    ! _$ w5 u3 |) p0 i
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ; m/ q: X8 n' U; ]! R& C4 j
  2016. ; option.
    - u& }& B: t9 J) o% z
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ( a0 d3 A0 Y1 j$ |

  2018. % y& C  j: @: a# L- ]- E
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the+ G( X3 w4 s& t$ X% q, z7 ]. S8 ^
  2020. ; directory pointed to by openssl.capath is searched for a suitable; g1 k/ o/ M' P8 c) N6 \6 g) T
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    ) j+ o, f( P  B7 Z, k# Y; g0 q% v
  2022. ; Most users should not specify a value for this directive as PHP will' v/ {% _9 r5 f( k* M$ o' T! x
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,3 p0 A, b8 r! ?4 t( n. |3 n
  2024. ; this value may still be overridden on a per-stream basis via the "capath"1 V; e: v6 D8 ]8 [0 @
  2025. ; SSL stream context option." K1 G: y$ {) [# o4 p. D5 l
  2026. ;openssl.capath=
    : B5 t3 |$ |( Z* D( p0 Q9 O% [) ^
  2027. 5 w$ L  l) x$ z% _' `
  2028. ; Local Variables:
    ( y7 x0 D3 \$ }
  2029. ; tab-width: 4
    & k0 S! t$ F4 W
  2030. ; End:
    ) I& `3 M% W8 T( I

  2031. $ v8 Q7 w/ ?- p7 `. m6 n" i6 H5 \3 t
  2032. ;eaccelerator6 _' U6 c; S: K" D6 r$ m! W0 G
  2033. ) L3 y' x. r5 U
  2034. ;ionCube( |- n: J! D+ l, B# D

  2035. . y. ?3 Q# t, n& X! b' R) ]
  2036. ;opcache; J) I$ R! M1 B1 G6 [. q
  2037. # B3 s4 p  f; }& L3 H
  2038. [Zend ZendGuard Loader]/ A( j5 n! a/ q& L- O; ?# ?1 b
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    ( t: f  h# p+ H
  2040. zend_loader.enable=1
    $ g' U. @. O+ P5 n6 |' ?
  2041. zend_loader.disable_licensing=0
    2 m+ D# j( T9 C8 l' v$ a" u
  2042. zend_loader.obfuscation_level_support=3
    # U, V0 a9 o5 e$ \: d5 e
  2043. zend_loader.license_path=
    1 R! j+ D3 T1 f  u

  2044. ) e7 U* a+ c7 T, W9 {  a7 v& X
  2045. ;xcache! _0 s3 V& {: f; {
  2046. * r' I* h! Q' y2 C
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146928 _2 Y/ Z9 p) L+ W; I  y
! ?$ K+ v- Q6 m* {$ ?

8 M0 H# J) d% _- L4 Y: hDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,- G( I$ N- E# a$ i

  ?4 ]5 u% m+ uDiscuz!程序版本选择:
( H9 V# ~3 S% a" h7 K站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
) l& B  b8 ?( `, l  J( M不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
5 @7 w, s+ F5 _7 K4 vDiscuz!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。
! o! |$ R. f  K+ x
  b1 x* k* @: E' N' c% |  cDiscuz!插件模板版本选择:
$ n3 z% p! t$ O很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
6 ]! M( _5 R7 m/ V( v2 E2 s针对这个问题做个统一的普及:
( O! U) K9 R& R# Q" ]8 nX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。- W9 W) ~9 Q. T" P( e2 A4 S  b# F

, s% b& _) n" L, j( E7 q- p所以0 d9 k9 x) `6 Q, v. Y7 O& _
适合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的二级域名。
- x5 o5 b! r' M9 q1 ^6 F打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
+ u$ d8 @1 _# j3 P: V" z4 F8 l, T注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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