分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
; a; I7 ]+ B9 `  b: {: X4 U" K6 g* K: B
  1. [PHP]  x6 V" c. n% e- N0 A; Y

  2. ; S8 y; e2 b. K, L$ Y
  3. ;;;;;;;;;;;;;;;;;;;
    - S/ K$ C$ c0 W
  4. ; About php.ini   ;, P& w. w/ }9 Q
  5. ;;;;;;;;;;;;;;;;;;;0 n% I/ T( P$ d2 @, N/ x, K% D$ x
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    * w$ c  J# _6 v7 m
  7. ; configuring many of the aspects of PHP's behavior.* Q* O1 U7 l8 T- L6 L7 w6 }( Y6 Z

  8. 7 N7 U8 g* z6 M; z" N1 c  w" z; X
  9. ; PHP attempts to find and load this configuration from a number of locations.! O1 ~+ ^) |" s9 t/ r
  10. ; The following is a summary of its search order:. W$ r1 N' p4 E! M+ L6 t" v
  11. ; 1. SAPI module specific location.
    " C- a7 }! C  B' I
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)5 |: c& x( H( q- \) u. h! _
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)! ?- Q# K3 C0 ], `5 o: i/ w
  14. ; 4. Current working directory (except CLI)
    : z4 J& A) T& S9 e, T& @. W) y
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    0 ]/ b' h) J: Y8 S9 w9 a, H$ j
  16. ; (otherwise in Windows): X: U/ h* S# `2 b/ ?4 [
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
      Z, O5 N8 y! s" a$ ]/ {( M
  18. ; Windows directory (C:\windows or C:\winnt)
    8 I( C1 U/ U1 _2 ^$ Z; u5 Q  B* n
  19. ; See the PHP docs for more specific information.
    / h+ a: a& I" ]( j- b2 z) y" D
  20. ; http://php.net/configuration.file, _0 ^1 R+ B' @( `4 {; ]5 G) x
  21. - O) o1 P$ H; q, n
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    & U3 U( z" n- ]3 d) o. S0 s2 P7 M8 R
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    1 \0 e. j! _, _  q0 w4 G1 @, g
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    3 ?& |3 D. |1 U, t- N
  25. ; they might mean something in the future.
    ( i! n0 K+ F# U
  26. ' |3 R; W5 g' m! {
  27. ; Directives following the section heading [PATH=/www/mysite] only: e" \, w  A' t5 J! h8 c" b
  28. ; apply to PHP files in the /www/mysite directory.  Directives% A. S. i* K' Y0 T5 O/ r
  29. ; following the section heading [HOST=www.example.com] only apply to1 d( P7 E8 }, ]# ?( b/ g* M  f# G
  30. ; PHP files served from www.example.com.  Directives set in these/ F/ S5 C9 T! e+ E* j
  31. ; special sections cannot be overridden by user-defined INI files or0 S* @* ^3 b: ~
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    " n" W3 @* k4 j6 P0 w
  33. ; CGI/FastCGI.
    0 X! W; Q1 A* x8 F# C
  34. ; http://php.net/ini.sections
    2 [( k6 q7 @) G2 t! l+ Z- K6 Y1 F

  35. / b# w5 }0 b" M& u* P% ~
  36. ; Directives are specified using the following syntax:0 D7 f9 H4 P! @; `" u7 i
  37. ; directive = value
    $ y# e" B  l) D1 w3 l  ^/ q
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ' R3 F1 P5 N" J( Q% g
  39. ; Directives are variables used to configure PHP or PHP extensions.$ [6 T1 P! V; f
  40. ; There is no name validation.  If PHP can't find an expected
    . i$ h1 V4 U- R+ m; v1 r  O+ K
  41. ; directive because it is not set or is mistyped, a default value will be used.
    2 O3 [( {3 |3 O/ M

  42. ! P0 o$ S+ ]1 W# f5 k  x$ z# E
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one0 n$ X6 W/ `% f+ e3 g$ k. a) S. j
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression/ _/ f- u" W' o
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    " ^7 @( o/ A; B; ]: @  s: E! ?
  46. ; previously set variable or directive (e.g. ${foo})! q7 _1 z* x$ r9 |5 @- V

  47. ) d$ q: o7 L2 Y0 y& ^9 K
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:, N: v' A. d( A6 i1 q7 \1 M" f
  49. ; |  bitwise OR
    ( w' ?! X4 W  S
  50. ; ^  bitwise XOR+ v& N  m- S# c& e& I& o
  51. ; &  bitwise AND* u! [( V( S4 e5 K" k: q' K2 X
  52. ; ~  bitwise NOT# c( n" g1 z7 |2 C/ B
  53. ; !  boolean NOT
    ! q1 T4 B/ E1 p0 h3 N' Q5 r: j
  54. . V1 i. }; Z+ d$ F# t
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.  {0 S7 o1 p  B. w; X: e8 J' N
  56. ; They can be turned off using the values 0, Off, False or No.4 z9 t, [0 N. D+ e7 X1 U

  57. ' t" d3 A# {* A7 G' ^
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ; r  x" [8 M' K; p+ x
  59. ; sign, or by using the None keyword:
    6 p2 ^4 j. x: V( a& ]5 M; [" k6 O' @

  60. * B. W" w% k- g8 r# R
  61. ;  foo =         ; sets foo to an empty string
    " T0 q6 ^) s* V6 _% \
  62. ;  foo = None    ; sets foo to an empty string
      U, A$ T& m. c( F
  63. ;  foo = "None"  ; sets foo to the string 'None'
    / p; A* d. ~' G/ `1 U) R- R

  64. $ A, ^5 L$ `( Q( t6 W
  65. ; If you use constants in your value, and these constants belong to a( v0 H% ?# d' i& e
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    , \8 Q5 }* j. j! c- W4 A
  67. ; you may only use these constants *after* the line that loads the extension.
    1 U, b! d2 r4 Z
  68. ) B/ Q+ A; p7 _9 x/ V
  69. ;;;;;;;;;;;;;;;;;;;" i2 u" |- ?& J* i2 i
  70. ; About this file ;
    ( R' g) q4 _/ K% ~, Y) `" G
  71. ;;;;;;;;;;;;;;;;;;;
    / L* H& s: F' G  c
  72. ; PHP comes packaged with two INI files. One that is recommended to be used$ e5 U; U+ u" ?8 Y$ }# u
  73. ; in production environments and one that is recommended to be used in
    $ z6 |1 k1 c' o
  74. ; development environments.
    6 v, }" o/ `/ s+ d
  75. / R/ \. n* P; k  Q6 k
  76. ; php.ini-production contains settings which hold security, performance and
    7 X5 [! X6 a. ]0 s
  77. ; best practices at its core. But please be aware, these settings may break0 w, T& B9 ^! X7 P9 [) ]
  78. ; compatibility with older or less security conscience applications. We; {! c& s7 ?9 L2 V) m* [+ N! b, n
  79. ; recommending using the production ini in production and testing environments.
    , L. O) ^8 B/ P! O2 m5 O" v# t

  80. 1 O0 V5 Z+ `6 r) r
  81. ; php.ini-development is very similar to its production variant, except it is
    % Q/ N5 g- ^- E1 Q8 Z4 H$ l
  82. ; much more verbose when it comes to errors. We recommend using the
    4 C4 K- |. L. x$ U3 d/ a
  83. ; development version only in development environments, as errors shown to% }# ?, W7 t9 t; x! _/ U
  84. ; application users can inadvertently leak otherwise secure information.
    3 Z$ F. a# Q2 M. a6 y; w
  85. 7 r7 u& V: X7 r* h7 Z8 X
  86. ; This is php.ini-production INI file.
      T; c4 ]8 a# T# \! s, [. g: ?

  87. # x/ q# i. F# P, t2 n/ Q6 H
  88. ;;;;;;;;;;;;;;;;;;;
    ) ]) R6 \% Z+ q+ y, S3 o  z( j
  89. ; Quick Reference ;
    2 h, V& a  `3 D0 u4 O6 a. O
  90. ;;;;;;;;;;;;;;;;;;;
    ; A. t7 h# p5 H1 [' B
  91. ; The following are all the settings which are different in either the production
    + r8 ]' X3 a9 t
  92. ; or development versions of the INIs with respect to PHP's default behavior.$ ?7 }/ R- x9 i
  93. ; Please see the actual settings later in the document for more details as to why
    * S- e1 a" z- X
  94. ; we recommend these changes in PHP's behavior.
    ' F  w3 N* P: J& t" l  f

  95. $ y+ j1 n+ K" g  E  S/ p7 P
  96. ; display_errors9 V0 ^5 \. ~$ v) Q$ g
  97. ;   Default Value: On+ I& q6 x  K* u
  98. ;   Development Value: On
    * ~- c8 l. B' ^0 X% O2 u( g
  99. ;   Production Value: Off
    ( h# s* e! }( ^% T( U  j, u+ N) I- g- \/ p

  100. 9 P8 y0 y1 ~3 I, x  p0 [( n% e7 f
  101. ; display_startup_errors1 G8 m4 B( P. Q& y! }$ _
  102. ;   Default Value: Off, J9 J9 J+ r  V+ J% i0 q
  103. ;   Development Value: On
    " z% C4 j' T/ }$ g* }' Y* O! ?% e
  104. ;   Production Value: Off; K0 r/ j! r7 Z6 z3 N
  105. 8 S8 g3 b4 X+ c2 W  K0 d* h
  106. ; error_reporting) o5 R3 J( L% ]/ P9 b' t
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED- k- n  w; w7 Z$ p) x4 W% t6 \7 T
  108. ;   Development Value: E_ALL; c& f8 n1 f% X. s8 V6 j" H0 ~
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 E6 Q. {9 _  o8 U9 a

  110. * @8 b% D7 C- T' p4 C! |
  111. ; html_errors1 X( R5 L5 G% p2 Q
  112. ;   Default Value: On
    8 a3 h+ p! C$ ?, @  i
  113. ;   Development Value: On
    , g8 a3 u- U. P- w5 j/ T9 x2 b5 }
  114. ;   Production value: On
    + l' c. c) F1 p  s; g7 c9 K  D
  115. & [# a  T' F9 N8 G% z  X
  116. ; log_errors
    4 z" v( I  t- Q, @% g
  117. ;   Default Value: Off, d  `7 P3 W- s1 w, }
  118. ;   Development Value: On
    ) O, I; L! _- {
  119. ;   Production Value: On
    % |' \/ P- T/ r. r; d0 ^* K; x
  120. - _& ?: V, u8 n% s2 n
  121. ; max_input_time
    $ J+ ?, v! O! p2 K% |4 a' q
  122. ;   Default Value: -1 (Unlimited)
    * ~& J% e/ T" u0 N9 ~
  123. ;   Development Value: 60 (60 seconds)9 x: x$ F. h0 }
  124. ;   Production Value: 60 (60 seconds)1 s# V9 j- d; o. n; q+ C7 j

  125. ( P8 \6 k4 N5 s7 I& {7 f
  126. ; output_buffering2 E4 [0 d- U# S* B3 ]
  127. ;   Default Value: Off
    # j1 E% W* M" L" R% N
  128. ;   Development Value: 4096
    + ]: _6 N+ C5 V+ c% X8 q! G
  129. ;   Production Value: 4096* l' m  Y3 d8 ]  n- `

  130. ( y# Y% |" v& p- K' o2 ]/ f
  131. ; register_argc_argv
    8 V4 ]1 w$ R- r3 G
  132. ;   Default Value: On
    6 k- Z+ l5 L7 e  g  B/ d
  133. ;   Development Value: Off
    4 c, ~3 I" `* K7 p4 v
  134. ;   Production Value: Off
    2 d& E* R# Z1 n( F7 y$ l: O

  135. 8 [7 j% P; k" a* k5 Q
  136. ; request_order
    8 c6 i- |; F$ W4 P% M7 {
  137. ;   Default Value: None
    * E5 F5 n0 b1 j# ~! `5 D( _
  138. ;   Development Value: "GP"& t' @( i* Z* I5 u' c
  139. ;   Production Value: "GP"* w; \6 H3 h: e3 m

  140. ' L/ }/ v8 T# s2 ?7 o+ O. K
  141. ; session.gc_divisor
    ; H+ _4 Q% L* G+ J- a: E* B- I- z5 i
  142. ;   Default Value: 1003 v3 @6 {/ J, K4 x$ c
  143. ;   Development Value: 1000
    5 A  ?$ P$ @9 e- b
  144. ;   Production Value: 1000# |! @- W2 F  c
  145. 1 w: n+ }/ }; F, [( i7 E# q- \
  146. ; session.hash_bits_per_character& y% f5 y6 |; d
  147. ;   Default Value: 4' ~& l# x! ]7 R4 Z' X4 u
  148. ;   Development Value: 5
    " N1 a7 C$ F, I& O: }/ x1 k7 {7 O
  149. ;   Production Value: 5
    * u( w/ ?% f& x& W
  150. 1 V3 E4 E2 I6 F2 F3 R. W  F
  151. ; short_open_tag! k. \# G4 {6 B9 N
  152. ;   Default Value: On2 Y* T2 _5 q+ _1 L; Z9 A7 X: S
  153. ;   Development Value: Off
    9 [$ v0 n2 d' f1 G
  154. ;   Production Value: Off4 I- R- U- t9 r# m6 u3 y! O' p8 x% I

  155. " [/ ]! S+ b7 f$ ?' l7 ?
  156. ; track_errors4 k  N% g7 [* q# ^( y' V- f& b* V
  157. ;   Default Value: Off" r! j' f* r" _6 [6 n6 ]
  158. ;   Development Value: On' p. S+ ?* S% Q/ W4 Q
  159. ;   Production Value: Off+ c. P( u% S' ]+ _
  160. 3 K, M( v( f! f) A) n3 m9 [' Q! {
  161. ; url_rewriter.tags
    * L" n: D+ H9 \8 m$ F  u& c! E
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="4 u' Q: L# Z; V& N
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 s2 R/ a! o9 j+ U/ v
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 {5 N1 {% h! Y0 O/ J
  165. / L9 Q: w4 d* K( {
  166. ; variables_order
    2 T7 b/ P. l1 [' z& V0 M( t8 u
  167. ;   Default Value: "EGPCS"6 Z8 \+ W# g' m8 m) ^
  168. ;   Development Value: "GPCS"" D$ @1 o" K1 S- Y# W
  169. ;   Production Value: "GPCS"# j) ~" S. `0 }% H; ]! O! `

  170. 6 {, h( s: C8 J
  171. ;;;;;;;;;;;;;;;;;;;;
    ; L: R3 D: c0 |* ]9 N
  172. ; php.ini Options  ;
    $ \# O* W7 y3 M* C- o
  173. ;;;;;;;;;;;;;;;;;;;;
    , |# w- U! f- s8 W1 e
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    & {, n# [: X* b1 V
  175. ;user_ini.filename = ".user.ini"2 h3 `0 T# z) W5 |/ @3 S% Z% _
  176. , V5 ?; Y6 Y' Y! N- T. @5 p
  177. ; To disable this feature set this option to empty value
    + p$ L' r  R' _1 I3 {
  178. ;user_ini.filename =% d  G4 N% q3 l9 N3 w( [& B
  179. + d2 a. X$ y& N' E7 E: @2 ]/ b
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    8 j  x9 J9 Q& k* j5 y( c1 N
  181. ;user_ini.cache_ttl = 300' |; h; \2 n; q, B6 C

  182. - b: D2 F% g, ^4 i4 v
  183. ;;;;;;;;;;;;;;;;;;;;* ~9 G; w/ G/ W. B
  184. ; Language Options ;( b( @5 P9 F; c% Q6 A! S
  185. ;;;;;;;;;;;;;;;;;;;;% J, c5 Z  W! J6 A

  186. # w, w1 n; R. X& T- p
  187. ; Enable the PHP scripting language engine under Apache.
    ! s! {! c3 @' n/ U6 [- L2 l
  188. ; http://php.net/engine: c9 R2 I# v5 l* U% q. K# a  J3 x: H5 T
  189. engine = On
    " {7 J' W6 K5 F8 B

  190. 7 E- r# Z' T% \+ b
  191. ; This directive determines whether or not PHP will recognize code between
    ; q1 L: L3 B& t
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    . V* n# {5 @" \3 h( E4 q+ q
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ' V  P6 \* P. f/ L" o8 r
  194. ; should be disabled, as enabling it may result in issues when generating XML. s% _# A# V) q5 E! c6 }
  195. ; documents, however this remains supported for backward compatibility reasons.
    * n  J& G; G  z+ V5 ~
  196. ; Note that this directive does not control the <?= shorthand tag, which can be! d/ o6 U& O; ]3 g$ A
  197. ; used regardless of this directive.
    ; O$ r7 ?% Q4 j" q9 x5 y- |
  198. ; Default Value: On
    6 }6 _- x) M$ z, D; `6 t
  199. ; Development Value: Off
    ! |" ?  n/ a; [2 f4 O3 G9 a4 m/ N
  200. ; Production Value: Off+ o" [1 M0 X  z0 f8 d: B# h7 ~3 a) C
  201. ; http://php.net/short-open-tag+ v3 A; z6 D3 V2 B+ E
  202. short_open_tag = On
    + S" B' |2 `! C, t7 x+ R
  203. 5 {0 T8 M5 o8 _7 ~" X' A; x" ~
  204. ; The number of significant digits displayed in floating point numbers.
    5 n! M+ ~; _3 Y7 n3 ?" Y8 ~) Q# M
  205. ; http://php.net/precision
    + y- N5 H+ R6 S; i
  206. precision = 145 h! f8 r# _7 y/ o0 H

  207. * Y3 u3 l% n; _+ B) j% ^: A, w
  208. ; Output buffering is a mechanism for controlling how much output data; {" ]8 V4 i) b% ]- ^% h; _
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that5 C) v6 x! u* L$ H, ?: H9 {8 U
  210. ; data to the client. If your application's output exceeds this setting, PHP
    ; Q. D( l6 R: \
  211. ; will send that data in chunks of roughly the size you specify.
    6 ]3 H/ V  I4 w6 L3 l8 s
  212. ; Turning on this setting and managing its maximum buffer size can yield some" W7 E4 b7 I! f4 F$ l
  213. ; interesting side-effects depending on your application and web server.
    2 y% b  {  |+ M% O
  214. ; You may be able to send headers and cookies after you've already sent output/ [( P) E3 o( N5 @) A+ F. {
  215. ; through print or echo. You also may see performance benefits if your server is
    ( Q6 ~, K- {6 U1 y8 U
  216. ; emitting less packets due to buffered output versus PHP streaming the output; ]) ~- \" C! D$ ]. p
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    4 M/ ~- L$ f) n) P: ?" ~
  218. ; reasons.
    ! ^3 k& P# m! C& J+ Z; _) j
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    3 v) ?2 O; u2 Z: f
  220. ;   functions., ~8 s+ n: p9 o
  221. ; Possible Values:' n4 ~4 [4 L; l/ r- o1 b
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    7 _( z, j  Y+ I( c4 ~2 i8 @
  223. ;   Off = Disabled
      p( S6 w5 ?9 j6 ^9 Z  u: O/ l
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.9 o9 j! n( P1 }4 D; J/ q: `: G
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI3 ^* M, O+ _( ?: f" V# R& ]
  226. ; Default Value: Off
    7 F& O2 z; i/ B
  227. ; Development Value: 4096/ X( f/ G' W# k; J
  228. ; Production Value: 4096; g" a0 Q3 n: Q3 M0 Z6 S8 H
  229. ; http://php.net/output-buffering
    2 V! L" X! j. r$ e4 N" g
  230. output_buffering = 4096
    # Q7 p( a- R& M( W

  231. % k) S0 G! C- }
  232. ; You can redirect all of the output of your scripts to a function.  For5 \9 d9 ~* E2 B0 a5 W2 A. J9 T
  233. ; example, if you set output_handler to "mb_output_handler", character
    . V2 G0 ^/ g$ o* A+ k- Q9 u
  234. ; encoding will be transparently converted to the specified encoding.+ D( E1 ]0 }# I5 e7 N
  235. ; Setting any output handler automatically turns on output buffering.5 q; N$ H6 X7 l; }7 R3 a
  236. ; Note: People who wrote portable scripts should not depend on this ini
    7 ]8 [2 @- z# O! C
  237. ;   directive. Instead, explicitly set the output handler using ob_start().9 F/ [. n; u2 X3 a+ {& l; r
  238. ;   Using this ini directive may cause problems unless you know what script
    9 A5 O6 T( J2 G/ P# X; h
  239. ;   is doing.' P' s# o+ Q' Q' \8 V3 C  o' [  K
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    1 g9 }; B; d; @
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    7 M+ t+ o* e) g; y
  242. ; Note: output_handler must be empty if this is set 'On' !!!!+ M$ v3 u* d8 d" b
  243. ;   Instead you must use zlib.output_handler.' Z1 ]) }- T, e# o
  244. ; http://php.net/output-handler
    5 B1 |: m$ H! v  G6 f
  245. ;output_handler =7 n& s+ x! }$ v; d( R  j4 B  B# m7 O
  246. + s% z5 l$ n0 D; V
  247. ; Transparent output compression using the zlib library
    4 F: J  e! T* g: g1 Y$ d
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    . m3 s" [+ D" s  K4 U
  249. ; to be used for compression (default is 4KB)
    ; \+ U5 k( C: B, F/ `4 R! @; v
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    2 B3 D( B6 U. @3 q) T
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    ! U: X. d  N1 |; E4 U
  252. ;   compression. If you prefer a larger chunk size for better
    4 Y* z- v3 a5 C4 D; J- m
  253. ;   performance, enable output_buffering in addition.5 m9 w$ C* n* c6 d* r8 e
  254. ; Note: You need to use zlib.output_handler instead of the standard
    6 f7 [( }; h* h  m: j/ L
  255. ;   output_handler, or otherwise the output will be corrupted.* e6 ?0 _% Z9 k
  256. ; http://php.net/zlib.output-compression
    ! {) `* J% ]( z3 T+ ?8 R
  257. zlib.output_compression = Off: a, ?# n' q+ w) X+ k

  258. - H, L2 R0 {* x' y& ?
  259. ; http://php.net/zlib.output-compression-level
    ! z& o  j3 I8 y0 _
  260. ;zlib.output_compression_level = -1
    # |3 M2 v$ s8 t  t. g  j

  261. : W& R- [) K. x" \
  262. ; You cannot specify additional output handlers if zlib.output_compression
    : Z3 W: i9 f3 G/ ^, [
  263. ; is activated here. This setting does the same as output_handler but in# n; Q. F( F; ~) Y/ X. T
  264. ; a different order.5 E7 \8 p: }$ ]% J) {
  265. ; http://php.net/zlib.output-handler) |8 U; Z4 I0 D' R* m6 F/ |7 f
  266. ;zlib.output_handler =4 V# E8 ^! c4 b! K/ P2 _

  267.   e5 N1 s! F1 ^+ p" N
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    ) O2 ~; J5 w/ m+ @/ S# y. d
  269. ; automatically after every output block.  This is equivalent to calling the$ E9 u% P; D8 d. u: v# }' a2 |: ?; g
  270. ; PHP function flush() after each and every call to print() or echo() and each
    6 P1 W9 B' `( O) F- w8 |1 P
  271. ; and every HTML block.  Turning this option on has serious performance9 N8 r3 |6 n- ]* M
  272. ; implications and is generally recommended for debugging purposes only.
    ( C% V3 n9 B: v; |9 L2 t
  273. ; http://php.net/implicit-flush% c: `* m: x. m" U1 s  N
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    3 R" b, C  K: f- _7 y1 \
  275. implicit_flush = Off0 e' B% o$ D3 `1 D- b3 h

  276. 8 F* w9 b' k1 U
  277. ; The unserialize callback function will be called (with the undefined class'1 e* `, }) y" H% ?' y
  278. ; name as parameter), if the unserializer finds an undefined class
    3 O3 O1 X" x6 e, A' G2 `& b8 p
  279. ; which should be instantiated. A warning appears if the specified function is
    ) E7 k. J" w5 e% H0 ?9 B
  280. ; not defined, or if the function doesn't include/implement the missing class.
    7 I% @/ v3 m6 m; s" }$ m  K/ Z( G
  281. ; So only set this entry, if you really want to implement such a
    4 x9 q0 K* T/ d8 |, z
  282. ; callback-function.
    " [0 R" |6 x" y! e
  283. unserialize_callback_func =
    4 L& i6 B: `: }/ ]5 f% x# M. U1 |

  284.   E( {7 X- U% ^% c
  285. ; When floats & doubles are serialized store serialize_precision significant7 Z: L8 }& r9 n4 ~0 Q* y6 U) z
  286. ; digits after the floating point. The default value ensures that when floats" l: c- ]6 `5 |+ D# _
  287. ; are decoded with unserialize, the data will remain the same.  Z& k$ _/ J( R: t0 S! ]
  288. serialize_precision = 17
    & X+ E" x8 R5 q0 n" d8 B0 I! e
  289. ; c( G) U& q( {/ U
  290. ; open_basedir, if set, limits all file operations to the defined directory' i- c8 f. _. _; {4 e# @( N
  291. ; and below.  This directive makes most sense if used in a per-directory
    8 L* x9 \8 ?# w, \. B. ~8 t8 r4 I
  292. ; or per-virtualhost web server configuration file.6 l1 g2 m: q! T( d
  293. ; http://php.net/open-basedir4 M; d) C  ?+ r
  294. ;open_basedir =# u$ n& k# g, w' {* L

  295. 2 l6 `5 V) H0 Z9 R: P4 n( `
  296. ; This directive allows you to disable certain functions for security reasons.
    % \' y# x" D8 H3 j) Q9 p/ Q$ W
  297. ; It receives a comma-delimited list of function names.% [# U; i( x4 w3 d- T- r& A
  298. ; http://php.net/disable-functions7 Z5 [; G5 H  o) H- E" d
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru; l0 C6 \$ t+ M* P, B$ c8 P; K
  300. ) L5 G; s9 V; i1 ~* o# H
  301. ; This directive allows you to disable certain classes for security reasons.1 _: j" {* |" w9 ~/ H; p4 J0 _
  302. ; It receives a comma-delimited list of class names.
    5 d8 f& i! I2 ]7 L1 F8 v1 i! A
  303. ; http://php.net/disable-classes
    # ^7 y/ q- h2 s2 K. O
  304. disable_classes =
    1 Q' Y& v' G$ j# s! ~

  305. ! d; j# h( ~# U1 z0 {
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    / k7 [: x' n/ Z) |& v
  307. ; <span style="color: ???????"> would work.
    + C9 o0 E) y2 s6 i, Q/ ^- f/ }; N% m
  308. ; http://php.net/syntax-highlighting. P2 I' y; ^7 y
  309. ;highlight.string  = #DD0000* y  |$ m# p0 L0 }1 W* Z
  310. ;highlight.comment = #FF9900! c$ u( l6 e& Z& w
  311. ;highlight.keyword = #007700
    - d/ }8 @# u# |8 \
  312. ;highlight.default = #0000BB
    7 i  I. A, z# S7 ^$ H% ?
  313. ;highlight.html    = #000000* Y$ h4 D5 x5 B1 b1 A* B
  314. * M7 F& L# t: J
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    ! z; q7 a4 _& ^. {% [9 m' ^& N
  316. ; the request. Consider enabling it if executing long requests, which may end up
    / J! P8 G7 p) S3 T& ~* W
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior1 Y: Z/ Z. A; g- [) j1 E8 |+ g' T
  318. ; is to disable this feature.* F% j) x  e/ {$ w  @# H) ?
  319. ; http://php.net/ignore-user-abort. J' f" B6 c" v/ D4 ^9 o7 E
  320. ;ignore_user_abort = On
    . A$ F# G5 H) m

  321. 0 J! d4 M! _4 G* {; E
  322. ; Determines the size of the realpath cache to be used by PHP. This value should* M) d7 O& |# l" n3 |
  323. ; be increased on systems where PHP opens many files to reflect the quantity of# u2 u8 I2 |& E7 u  q4 G
  324. ; the file operations performed.
    * _  A1 m1 p( t0 r/ a( B* t7 u
  325. ; http://php.net/realpath-cache-size
    + e1 F; G8 K7 V( _2 a& a: p$ u
  326. ;realpath_cache_size = 4096k
    % ]/ q% a2 @" O* [$ v
  327. - s  K$ g$ p) J6 s, {$ }# i+ {
  328. ; Duration of time, in seconds for which to cache realpath information for a given5 b/ s4 j0 u# m/ ]6 C4 ]
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    : I) u- t+ a% E* @
  330. ; value.
    ; W/ r( E! g* [& I' O: \/ U% j5 d6 Q
  331. ; http://php.net/realpath-cache-ttl2 W: [$ h& N# A0 W, I
  332. ;realpath_cache_ttl = 120
    % s# K* c% ?3 p7 \( Z

  333. $ O( z" [/ _2 t. G$ ~0 m- }
  334. ; Enables or disables the circular reference collector.
    # v: b1 i# }3 l% d; Z/ _3 a
  335. ; http://php.net/zend.enable-gc
    : Q! q1 e, z( B; l8 w" a
  336. zend.enable_gc = On
    , G; P4 g, y) a2 Z6 W# I, F# y% y

  337. 8 a5 \9 {: u' O+ o8 ?+ h/ {8 }
  338. ; If enabled, scripts may be written in encodings that are incompatible with9 U& s% i6 u0 k+ C
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such3 m% }9 g' ]: _/ u3 }6 b
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ! Y# z* T. |% H' i; F( E' M: ?
  341. ; Default: Off% v; k* Z6 U$ b
  342. ;zend.multibyte = Off! I: x3 x2 _4 w* i! i5 H- B7 ?
  343. & {- L% o& X+ l  U9 L
  344. ; Allows to set the default encoding for the scripts.  This value will be used3 q) p% k, R; Y1 M! ~, v0 ?5 m
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ( |; C/ C; Q( N8 |
  346. ; Only affects if zend.multibyte is set.' g0 t4 v$ Z2 J. r$ z
  347. ; Default: ""
    - s0 [1 J) R7 L% S
  348. ;zend.script_encoding =6 h/ i$ E5 g+ K6 L, h
  349. 4 Z8 Z$ E$ A9 J/ i3 N3 ?. g
  350. ;;;;;;;;;;;;;;;;;
    6 X+ X# I! L; `6 b* D" h  D5 D& V
  351. ; Miscellaneous ;
    9 r+ O: S2 b8 h+ G% X, G
  352. ;;;;;;;;;;;;;;;;;5 {4 {7 t% J% J% g" i& K" b

  353. 7 h% |( b) f' g' g
  354. ; Decides whether PHP may expose the fact that it is installed on the server: {$ _$ S6 L- a. q) J1 ]2 p; Q
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    % c. v9 D, p' u0 F: F
  356. ; threat in any way, but it makes it possible to determine whether you use PHP( [$ o3 d" c8 V; U1 s
  357. ; on your server or not.- ?; n5 I6 }) M* S  l
  358. ; http://php.net/expose-php
    6 M2 U7 y8 K+ ~0 x
  359. expose_php = On, W% e' n0 ]* a7 z' ~  V

  360. 1 R9 l' E1 C8 n8 C8 J2 n* z5 ^
  361. ;;;;;;;;;;;;;;;;;;;$ P, D4 D: A* x& e: {0 B8 M- p! H
  362. ; Resource Limits ;
    6 Z9 ]4 n" u, j- k& o) B
  363. ;;;;;;;;;;;;;;;;;;;9 ^! |4 B5 ?, `
  364. . h) E3 p# e$ T1 r- P
  365. ; Maximum execution time of each script, in seconds
    8 J$ R: t9 ^" |2 }5 f
  366. ; http://php.net/max-execution-time+ y' o0 }0 \7 n& y, S/ E. O
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    7 W# ~* `  t8 t. F$ p9 C% k7 \
  368. max_execution_time = 300
    ' ]- R- z8 l2 K' Y/ R4 I
  369. " i; j1 |5 b% `( H) y8 G
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    % o- M9 s, d- g  y5 V0 S" y. b
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly: U1 C' L8 Y+ @( G* H6 a
  372. ; long running scripts.7 m" k9 M6 \5 \, y: Z
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI) @0 F0 w, P. \; R/ R& [
  374. ; Default Value: -1 (Unlimited)% L8 U% ^  N3 y
  375. ; Development Value: 60 (60 seconds)
    6 E- S0 K- w& l* H. k; G
  376. ; Production Value: 60 (60 seconds)
    4 y3 r! O3 T  g% E+ k
  377. ; http://php.net/max-input-time
      y1 D: I0 m7 e/ C+ }
  378. max_input_time = 60
    : K4 j3 s5 y6 U! z- L" v' t: S

  379. , H; e* v$ ^2 O/ J2 y
  380. ; Maximum input variable nesting level8 p+ K  @) ^: W$ B3 ~6 m- E6 n
  381. ; http://php.net/max-input-nesting-level
    7 b! g( i/ }" N6 b9 ^
  382. ;max_input_nesting_level = 64  Z3 F# P9 z5 U( X

  383. 9 s7 n' @+ f6 [% c! M0 E
  384. ; How many GET/POST/COOKIE input variables may be accepted
    " |3 a9 g- @+ n, {  ^+ `
  385. ; max_input_vars = 1000! k9 H/ V9 m* K) x9 t

  386. , C; f; [* u: ^
  387. ; Maximum amount of memory a script may consume (128MB)9 d' F3 M2 b, p* i
  388. ; http://php.net/memory-limit
    % U- i3 {; k& r- y5 g! @, N9 o
  389. memory_limit = 128M
    9 q% h! S7 E: B. s& ^/ {7 b

  390. * N9 v4 X" `$ ^" l6 r" V; E
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    8 K7 Y1 o: D8 j. ~
  392. ; Error handling and logging ;
    + l$ d5 }# u9 U  r' R: Z1 A8 f" J
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;  }3 M4 i- P# h0 k8 H3 n" i

  394. 0 |- ]3 L$ M: F; m, i% t$ d  |
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    $ H' E5 z9 n; o+ v2 w
  396. ; it to take action for. The recommended way of setting values for this6 H/ \" v( d% n6 ~: F) J* y
  397. ; directive is through the use of the error level constants and bitwise& c. _$ K1 C/ t
  398. ; operators. The error level constants are below here for convenience as well as
    6 M/ b2 `  [4 e
  399. ; some common settings and their meanings.
    , f, U; o8 R3 o; ?4 L( ~
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    " t5 C& R/ V9 F
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and' F4 t0 M( q5 G( v! J$ W
  402. ; recommended coding standards in PHP. For performance reasons, this is the7 j0 l4 R( H5 ~! T
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    ! p6 m/ k* B# t( D, I$ }/ h$ r
  404. ; resources complaining about best practices and coding standards. That's what
    $ g* J, V+ `4 I# n
  405. ; development servers and development settings are for.
    ) L, N- u  d2 W" d6 [0 M- T
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ; l8 w' {+ U7 \& T5 |1 y# ]
  407. ; means it pretty much reports everything which is exactly what you want during
    6 n1 b6 _% w* |# m& [  u
  408. ; development and early testing.6 s9 x, J/ f7 p2 a5 h+ B
  409. ;
    % |9 }5 s" p4 W3 V2 M0 }
  410. ; Error Level Constants:
    8 x" f+ ?8 O8 v
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ! }) f6 N8 T) ]( q% O% x/ c0 r% F
  412. ; E_ERROR           - fatal run-time errors9 Z8 q' u# ~0 M: X: n: ]
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors5 `/ P. \$ p% P
  414. ; E_WARNING         - run-time warnings (non-fatal errors)( q7 O7 S, L/ C# ]  i
  415. ; E_PARSE           - compile-time parse errors
    ; g& \9 t( W& Y  g  \4 X8 W
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    ' Q  b4 {5 Q2 ~2 s7 _  b! E
  417. ;                     from a bug in your code, but it's possible that it was; J+ G' k8 Q2 Z" g# k; X, F
  418. ;                     intentional (e.g., using an uninitialized variable and$ {9 R5 B0 x2 F) v% V5 W! W* J
  419. ;                     relying on the fact it is automatically initialized to an% B# N3 x7 q' k. S
  420. ;                     empty string)) o. @( b$ @* Q! Y
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    + ~" v! D9 N( ^1 n
  422. ;                     to your code which will ensure the best interoperability3 M# z' i0 _& t6 V# ^' r% W3 o
  423. ;                     and forward compatibility of your code
    * \# E" j7 N! M3 d4 [
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup7 M3 i0 Q" j$ @
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    % A) p: `4 d2 U% y0 z+ u$ J0 F
  426. ;                     initial startup/ H$ R3 w% m7 Y8 b
  427. ; E_COMPILE_ERROR   - fatal compile-time errors! [& \4 l# `. K3 l; M. p
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
      U- E( @5 B( u. D; \: ]4 z
  429. ; E_USER_ERROR      - user-generated error message
    1 I8 ^& K4 l+ c; g+ b$ O8 H- f
  430. ; E_USER_WARNING    - user-generated warning message
    # U' W: r- a3 F$ r
  431. ; E_USER_NOTICE     - user-generated notice message
    + M: U0 c1 q" y+ q
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    5 y4 s) t/ f8 w5 M+ e
  433. ;                     of PHP# X9 n& O* C9 Y% @1 l! u9 S
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    " E6 o3 Z9 s2 z3 A; l! s" b
  435. ;
    . a9 p; N/ v! c# M
  436. ; Common Values:  A# }+ `7 m9 J5 a( l
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    4 N" T- l- `/ x  w+ E; Z
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)1 I8 R6 I+ [, F) q! U
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    6 \3 @7 S& U! E5 [; [
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
      m. s& I! M, `+ R6 c3 W/ R' @
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED9 q( O: C) q; w$ U; y) Z
  442. ; Development Value: E_ALL* z/ j* p2 @0 a: E# b/ [
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT. t9 g+ Y  u" [; ~  L
  444. ; http://php.net/error-reporting& N! j  k" m1 H, P$ {$ x
  445. error_reporting = E_ALL & ~E_NOTICE8 U3 b* `4 P. a8 I6 S

  446. . c2 A& b$ I9 D9 G" A: X4 R
  447. ; This directive controls whether or not and where PHP will output errors,
    / m, a' R( B+ U) G
  448. ; notices and warnings too. Error output is very useful during development, but! k) j7 G9 F+ T/ m
  449. ; it could be very dangerous in production environments. Depending on the code$ F6 k/ @. E% a" V  w
  450. ; which is triggering the error, sensitive information could potentially leak
    * T2 \; y- b9 P
  451. ; out of your application such as database usernames and passwords or worse.$ x# f3 [) G! A7 b
  452. ; For production environments, we recommend logging errors rather than
    6 n8 _/ m: Y1 D4 J
  453. ; sending them to STDOUT.5 z( \  ]* }% J0 c5 J- J
  454. ; Possible Values:+ O7 W2 c2 Y8 C) A& E3 i- `
  455. ;   Off = Do not display any errors
    # `, |# _7 X3 e! E. U- B4 p& R6 y
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    8 U$ u. }& S2 t9 @8 @
  457. ;   On or stdout = Display errors to STDOUT
    ( `3 ?$ j/ [* a' k% x1 @- A
  458. ; Default Value: On
    ; _" o* {! `6 F7 e/ G
  459. ; Development Value: On
    , o1 b" U* C4 s9 V$ k3 a- F/ G" P
  460. ; Production Value: Off
    ) y" w( U5 f( B- E
  461. ; http://php.net/display-errors
    9 m9 j$ u: m% ]3 x1 j# N
  462. display_errors = On/ q9 _/ h: b; ^" `& D
  463. & u3 ~' W" Q" p9 n( q
  464. ; The display of errors which occur during PHP's startup sequence are handled
    ; W  g# C' s3 W; p! `* J
  465. ; separately from display_errors. PHP's default behavior is to suppress those) S' D) \2 {+ `$ J- X6 k) E" a
  466. ; errors from clients. Turning the display of startup errors on can be useful in, B. I7 g8 J$ U3 C+ g
  467. ; debugging configuration problems. We strongly recommend you' ]: z  _& U& o2 [/ O
  468. ; set this to 'off' for production servers.. z' K$ a. s- f2 |
  469. ; Default Value: Off
    + Y. s! e- S. r+ ^
  470. ; Development Value: On
    5 k7 F! @( Z# l6 i1 P
  471. ; Production Value: Off
    6 M+ Z$ Z3 o* a  W" r0 b0 P  i
  472. ; http://php.net/display-startup-errors' l: A* ?) ]) S9 J. W* z
  473. display_startup_errors = Off6 c8 c0 I$ S% n( n6 t

  474. $ D" p9 i% W2 s- R2 q( o" B
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    . u- G. g$ Q1 P3 C9 [
  476. ; server-specific log, STDERR, or a location specified by the error_log( S8 r7 H1 x% S
  477. ; directive found below. While errors should not be displayed on productions
    * ^: N! e. i6 R* S0 ^% ~& L
  478. ; servers they should still be monitored and logging is a great way to do that.6 D3 J. r$ N1 N$ |, w
  479. ; Default Value: Off
    & {8 K/ b9 ?2 `! B- ^( ]# t
  480. ; Development Value: On, B) r$ V% ^# q5 n3 Y# T0 p% P
  481. ; Production Value: On
    ) W% o% Y! b8 ~7 C; k7 v
  482. ; http://php.net/log-errors% K" z) h) t3 N
  483. log_errors = On
    3 }( f/ t3 H! Q
  484. & K# R) i' `" j: v; ]
  485. ; Set maximum length of log_errors. In error_log information about the source is4 h, E; H5 B) W+ l$ j0 i- R
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    # s/ y# B0 a' D3 N+ @
  487. ; http://php.net/log-errors-max-len
    ; n! M( ^3 q0 k9 p" Q
  488. log_errors_max_len = 1024/ {( x2 p! C( Y' h

  489. ! \9 Q& k+ y0 P* l
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same- g) ~+ z" G0 \
  491. ; line unless ignore_repeated_source is set true.
    $ f' }; }) a! ?
  492. ; http://php.net/ignore-repeated-errors
    7 U; O) G. i0 F& l' @, i
  493. ignore_repeated_errors = Off
    ! s) {" ?$ g" A" y! J
  494. 3 ?$ |/ m8 k2 c6 o* a
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    3 ^+ T' C: }) \4 f# t8 `0 w/ q1 |
  496. ; is On you will not log errors with repeated messages from different files or, \( |3 [! T, c6 Q( C3 h9 f8 |
  497. ; source lines.9 O* u/ Q8 A" J' s: B
  498. ; http://php.net/ignore-repeated-source
    ( ?: u' @+ `4 b, w* e
  499. ignore_repeated_source = Off2 h+ Q. I# [+ c/ D6 y
  500.   Y% K& p6 d# u5 C! \
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    + u# ~+ r9 `- X5 L* G' @# m! a
  502. ; stdout or in the log). This has only effect in a debug compile, and if8 i: S/ g, L0 q" E) e* P9 R0 J
  503. ; error reporting includes E_WARNING in the allowed list* d9 q5 q. i$ E* Y
  504. ; http://php.net/report-memleaks/ |' W& D' n. G' S1 s5 y
  505. report_memleaks = On+ x# I# S& t* n3 ~0 s! M8 ~
  506. " E0 C' W" r  W8 I
  507. ; This setting is on by default.1 \) j, H. k5 Y# o  S/ U) C
  508. ;report_zend_debug = 0
    2 i+ |! `, w# W  C4 s4 s

  509. 5 ~  P# W% h2 _% V; d- N
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value6 `0 W4 Y7 l6 R" Q% H; P9 f1 Z5 W/ ?
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    8 b7 y3 L; O, W0 n# ~1 @4 z2 O
  512. ; however be disabled on production servers./ l% v% d" y0 }! |
  513. ; Default Value: Off
    6 D8 g; {, g7 v0 f3 C% ]: N+ ~
  514. ; Development Value: On4 V' e) n: ^5 `% j8 G! r/ J9 H% @
  515. ; Production Value: Off0 q" e' ]7 `1 [$ Q: R, {2 C" K
  516. ; http://php.net/track-errors* j% }- o7 Y" }. X+ \
  517. track_errors = Off) g' \& ?. p' I: _7 I9 X! N
  518. 9 Q! m; K2 Y5 z; _  f
  519. ; Turn off normal error reporting and emit XML-RPC error XML9 y$ M. u; A$ K" x$ y0 t% x
  520. ; http://php.net/xmlrpc-errors4 M  o" Z2 d% t( ]1 p. N: Y5 z
  521. ;xmlrpc_errors = 0, V# w' p  J6 K' f' C+ }2 M; d# O# Y1 i
  522. ( m' v% J. ?9 O6 S
  523. ; An XML-RPC faultCode
    , v6 x# f& B$ s3 b; R1 l; S4 [
  524. ;xmlrpc_error_number = 00 Z, g  i; U% Z  X6 K
  525. , a7 ~+ P) ^. Q! W" y& d
  526. ; When PHP displays or logs an error, it has the capability of formatting the6 H1 l; u. [0 [; P8 ]
  527. ; error message as HTML for easier reading. This directive controls whether# \# ^$ h* u* X% w$ ^% ]
  528. ; the error message is formatted as HTML or not.
    2 d) K( x0 X. B9 c: O
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    2 _9 J/ K5 q1 i. R
  530. ; Default Value: On
    " D. v% n! W& z) H
  531. ; Development Value: On# S+ |3 v1 S+ r* p+ Q& d0 L8 u5 s
  532. ; Production value: On
    $ f+ a8 o  ?0 U* d! j& |; ?
  533. ; http://php.net/html-errors
    ! A/ b. ]( G1 P3 Y8 {5 `/ [8 ^
  534. html_errors = On- ^/ d: c; i* D2 }
  535. - [# @& {% z  `  ~) B
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    " Q' b" ~# A& B( `. i. x+ n* }- E
  537. ; produces clickable error messages that direct to a page describing the error
    4 u9 k" f! m2 e2 O! H. C
  538. ; or function causing the error in detail.  e7 j- f. c7 ~& }. F
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    . A4 k1 V' f  s, Q9 o2 m: K
  540. ; and change docref_root to the base URL of your local copy including the; Y* @/ o$ |$ [) a* D9 M+ L, s9 q* l
  541. ; leading '/'. You must also specify the file extension being used including1 p9 V! v( W, s6 d9 g
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ) M: h  q6 O( `# ]6 U+ N6 F$ H7 |; P
  543. ; case no links to documentation are generated.
    + a! R  D. W/ v, V( R. M/ w
  544. ; Note: Never use this feature for production boxes.: }# E% Q: ]9 G: o4 g& Q
  545. ; http://php.net/docref-root
    $ Q# Y/ J' G% k# i# @
  546. ; Examples6 R- U- I) S" X3 D% J
  547. ;docref_root = "/phpmanual/"
    2 w$ {' G  \; |
  548. ! [4 m8 k# i& U7 N: A; L# Z5 A
  549. ; http://php.net/docref-ext
    5 I: d) f% V6 n( u' b
  550. ;docref_ext = .html
    5 p$ ]# t( A9 H$ r/ l
  551. - l' l* S& J: t8 v, }' y
  552. ; String to output before an error message. PHP's default behavior is to leave2 O! C; Z: u  a" o3 H4 _- u+ e
  553. ; this setting blank.
    1 \$ H6 A: M- z; c) Z
  554. ; http://php.net/error-prepend-string
    7 @$ ^- Y4 y8 S; g+ l2 @
  555. ; Example:: t* m* w& |( [6 g, H4 ]6 P
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    1 H" @! z3 Z, V8 a" T2 O
  557. * Z2 h/ r1 B4 V/ W' B% ?. D  @
  558. ; String to output after an error message. PHP's default behavior is to leave) s) l% V# d; z. s1 x( e; b- |
  559. ; this setting blank./ `2 r  O2 L7 ~( M  O6 y  T! e
  560. ; http://php.net/error-append-string
    ) a& u2 A' v* m: n
  561. ; Example:3 B( p% t: Y2 w0 ?% }7 l. S& E
  562. ;error_append_string = "</span>") w. k: T: C/ \3 N# F7 Y. g

  563. 0 u$ C" u9 D& b, X& N
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    $ j4 ?. W6 V5 ?# T# J5 n: ~6 B
  565. ; empty.
    & I0 W) V$ l( D9 l  b" M# _
  566. ; http://php.net/error-log" _. ~: ~/ A5 p3 \& v2 t/ A% \
  567. ; Example:* Q* N  L3 L7 l& d6 W2 U% j0 l% U
  568. ;error_log = php_errors.log
    , R8 r! u5 m* N) f, {
  569. ; Log errors to syslog (Event Log on Windows).. ?3 r: x. X/ H- x
  570. ;error_log = syslog
    $ @- X6 K' h" @! F  [* X
  571. 5 i5 Q: J; [% k: |; S- B
  572. ;windows.show_crt_warning  w  e) A  G: z# T# W1 |6 h$ L9 X0 R$ @0 z
  573. ; Default value: 06 L! \" j  `) ~
  574. ; Development value: 0
    7 q  q/ c2 U9 ^4 P, J
  575. ; Production value: 0. H4 l/ S4 t7 ^  @- {, i/ a
  576. 3 f, y1 d& {! `# E$ ^) o1 t
  577. ;;;;;;;;;;;;;;;;;9 ?  j$ h2 Q- D5 v' T+ s
  578. ; Data Handling ;# i) H: l$ o/ {1 Q1 t
  579. ;;;;;;;;;;;;;;;;;/ `7 A5 [4 R7 |5 C2 q
  580. * j3 D" c& k) d
  581. ; The separator used in PHP generated URLs to separate arguments.
    . |" a8 O6 K  S. x% [# a( Y. r) u
  582. ; PHP's default setting is "&".# A5 c+ q, T" @. q3 P
  583. ; http://php.net/arg-separator.output  w4 }8 ~+ D' y6 r8 N
  584. ; Example:4 U% B* a3 [  n
  585. ;arg_separator.output = "&"
    4 D& v2 P+ q* _5 H& T

  586. $ E  K3 i0 Y/ C5 T, m: j5 y) h
  587. ; List of separator(s) used by PHP to parse input URLs into variables.1 d  b9 x' S9 \/ e- {* \6 C9 Q: H
  588. ; PHP's default setting is "&".
    & s9 W7 f. C# X1 Z# \6 E+ [
  589. ; NOTE: Every character in this directive is considered as separator!
    7 w; U+ y% o/ R4 s  j& Z, m
  590. ; http://php.net/arg-separator.input
    % E6 o" b8 v5 b( Z
  591. ; Example:
    3 K0 @; t# G8 ]% M6 e  b
  592. ;arg_separator.input = ";&"
    7 b" c* J2 A" L# ]  U
  593. : J# n* v* S- ^' T& ~# z
  594. ; This directive determines which super global arrays are registered when PHP
    " X7 P+ K; Z+ o1 y# R# G' R
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    0 \* Q$ _/ r. [4 P( E% Y2 U9 h4 i/ w
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty" e( D3 u. y4 e! T
  597. ; paid for the registration of these arrays and because ENV is not as commonly! e8 m* g( B; e; {
  598. ; used as the others, ENV is not recommended on productions servers. You
    ; ^, s  ^- U9 P0 t$ I
  599. ; can still get access to the environment variables through getenv() should you
    ; M$ L* |4 C# j, |3 ?0 [
  600. ; need to.
    $ k. r3 K3 k+ D8 a( k5 y
  601. ; Default Value: "EGPCS"2 Y5 G9 D& W" v( b9 D. Y5 a- b
  602. ; Development Value: "GPCS"6 v# z, W& U# F$ d
  603. ; Production Value: "GPCS";9 r0 ^6 ]0 p4 {, u7 W
  604. ; http://php.net/variables-order
    0 y8 F* B) X- r. C6 G; e
  605. variables_order = "GPCS"
    ' R4 c+ k9 }* q% |- K
  606. : H# ]/ }" ^& Q  O" ~* _  T9 S% Z
  607. ; This directive determines which super global data (G,P & C) should be: x8 _5 d. ]5 s  X6 b* Y/ m0 C
  608. ; registered into the super global array REQUEST. If so, it also determines
    * l8 z5 F* r, N$ ]6 S- R7 {
  609. ; the order in which that data is registered. The values for this directive+ g' [: a, u8 f4 P: F* i
  610. ; are specified in the same manner as the variables_order directive,7 P# G( X" O# O/ E* i
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set, i0 q: T1 i/ f& [: [' v% g4 M
  612. ; in the variables_order directive. It does not mean it will leave the super
    - X  E4 z: _" K9 u; X/ O* h0 }
  613. ; globals array REQUEST empty.; U! C0 }. p: b& l9 p; U
  614. ; Default Value: None
    , [2 {# y$ u, k
  615. ; Development Value: "GP"
    7 r; {$ [/ Y2 g9 s
  616. ; Production Value: "GP"
    5 ^4 J- h7 V- o% K- V. m
  617. ; http://php.net/request-order
    ( `* T1 ^% G6 ^/ H' Y
  618. request_order = "GP"9 s8 |6 y; U$ m, q/ K7 z9 ^
  619. / A5 C, w# u' s7 v# h
  620. ; This directive determines whether PHP registers $argv & $argc each time it+ K, S- \: k6 c% O
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script: l0 J" F4 F+ [% Y" K. O* K
  622. ; is invoked. $argc contains an integer representing the number of arguments
    " q" |2 h1 \5 J1 }& d* ^2 A
  623. ; that were passed when the script was invoked. These arrays are extremely
    4 o4 G: [1 `, `+ _( t  n) s. Q* S5 A
  624. ; useful when running scripts from the command line. When this directive is3 U; t2 }2 E+ @% b. ~: y6 \! e
  625. ; enabled, registering these variables consumes CPU cycles and memory each time: f% T# ~+ ]6 E8 a, h  S! x
  626. ; a script is executed. For performance reasons, this feature should be disabled8 ?: }7 ?* F- H+ T* |* D% a) F
  627. ; on production servers.
    4 C7 Z" l. \6 K
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    ; Z2 {: a% t& Z- O
  629. ; Default Value: On
    8 L: A- N% E/ y* ]5 C
  630. ; Development Value: Off
    8 F& ?" d* R! L  B' D+ [
  631. ; Production Value: Off1 d" T2 L2 \! w  i. W
  632. ; http://php.net/register-argc-argv- O3 s$ f* g6 S& D; [. L
  633. register_argc_argv = Off3 X8 H# I+ P  b+ Z3 R
  634. 5 x. D$ u5 n8 A, q7 z" O: M
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    , q5 i! o3 G+ y) f+ L8 \. f/ c9 ^
  636. ; first used (Just In Time) instead of when the script starts. If these+ t# a1 n; L" A& h3 z. X! ~+ r! [
  637. ; variables are not used within a script, having this directive on will result
    + y' ^8 x. B0 ]; s7 W; ~
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled. F2 l9 p, f; H% O% S+ ~0 x6 s: f
  639. ; for this directive to have any affect./ t, |2 ^$ b' K6 L
  640. ; http://php.net/auto-globals-jit
      y& z$ F. i+ a+ P
  641. auto_globals_jit = On
    ' e1 y4 O" X  v$ R1 d4 A

  642. % T" H  r0 a4 j# L3 o+ X
  643. ; Whether PHP will read the POST data.
    8 c: n3 u* G+ r
  644. ; This option is enabled by default.
    % A; W9 \% A2 [5 o
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
      |2 _6 ?+ d2 x( j5 Q& d
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    4 m8 J5 k+ U( l: d% Q) b1 Q$ c
  647. ; POST data will be through the php://input stream wrapper. This can be useful7 B) M5 p! j, F0 a) O9 a
  648. ; to proxy requests or to process the POST data in a memory efficient fashion." g' C8 `. O: M) i5 ?; l
  649. ; http://php.net/enable-post-data-reading
    4 h7 t4 M3 g0 {6 r
  650. ;enable_post_data_reading = Off
    * ~, {& D$ y4 V( m) {) l

  651. 3 ]6 _$ J, E% B6 S! s
  652. ; Maximum size of POST data that PHP will accept.
    ) B* `$ k. [2 {+ j% |# `
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    / Q) l: J4 H$ `- O  h
  654. ; is disabled through enable_post_data_reading.
    " v$ `4 J) M* T; f2 o; ~9 V& c
  655. ; http://php.net/post-max-size* Z  @: j9 h/ J' |
  656. post_max_size = 50M3 m/ n1 \! f; D0 F8 `9 ~0 H% y% J

  657. 3 c" X  B5 _) y: B- P: r8 `
  658. ; Automatically add files before PHP document.
    " W- b$ Z0 w+ [& H* v" C* T
  659. ; http://php.net/auto-prepend-file
    1 X. `& d4 B2 c5 J
  660. auto_prepend_file =
    8 [/ a5 o; p' X3 A) M

  661. # }+ K5 l) M0 {& O8 Z
  662. ; Automatically add files after PHP document." ^4 h! t6 b# \/ ~: _* u0 O& V
  663. ; http://php.net/auto-append-file, ]# x( S4 c/ u: k. r# _) m) u
  664. auto_append_file =9 g6 b  h* I$ \' x% X

  665.   x: [" `. Q3 C; ]1 F
  666. ; By default, PHP will output a media type using the Content-Type header. To2 V( q1 O6 [7 _% [* [4 P+ J  M# S
  667. ; disable this, simply set it to be empty.7 g9 R" b/ w" B3 E1 _5 H0 `+ [
  668. ;
    , k3 u* y* b. S9 ^, J
  669. ; PHP's built-in default media type is set to text/html.1 }5 x) G  u; {5 f: w: z1 ~
  670. ; http://php.net/default-mimetype0 n$ s% j9 ]: h' S8 Q/ @
  671. default_mimetype = "text/html"  y# e7 h  ]" E
  672. # D  u4 Z% c, v4 q! r
  673. ; PHP's default character set is set to UTF-8.- `  r( A) @5 n: l' Z( ^5 p
  674. ; http://php.net/default-charset
    / e4 g6 E# Q' t
  675. default_charset = "UTF-8"
    : a( n: @+ B/ e9 N" U" P

  676. + M) V; O" }5 R2 M$ x8 n' v
  677. ; PHP internal character encoding is set to empty.
    ' i6 J" H+ u" M8 U: B6 H3 E' `$ \
  678. ; If empty, default_charset is used.
    + I6 S+ f4 S9 h/ Z* c
  679. ; http://php.net/internal-encoding
    6 O+ h: [7 ?, O8 }
  680. ;internal_encoding =$ c& g: \4 P7 Q! h
  681. ) C  @0 }: c" p8 r
  682. ; PHP input character encoding is set to empty.
    ) `9 |' K& I' R0 K; T6 ~
  683. ; If empty, default_charset is used.
    2 w3 {7 `5 R; y& R! ^
  684. ; http://php.net/input-encoding
    5 ?  A' y  _7 T' D
  685. ;input_encoding =" L- B: N( H' B/ K

  686. # t! [; A3 e* f! O& S+ Z7 R
  687. ; PHP output character encoding is set to empty., N- ?- q( P5 K' t( F! g3 |% I* i
  688. ; If empty, default_charset is used.. z) ?$ t2 A) c! u
  689. ; See also output_buffer.7 T2 O# t/ g1 j$ e) Z+ n
  690. ; http://php.net/output-encoding* M# X! |7 d# X7 {8 F( R' Q2 q+ ~
  691. ;output_encoding =& }& o( r9 p7 z& T# O) F- p, i  A
  692.   z- m! A1 P( Z4 J3 e! O
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;2 |5 q% r+ h4 Y3 Q0 s! T& D
  694. ; Paths and Directories ;- B1 B$ `& T$ l' W1 Q- m4 P- |+ U' ~
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    1 ^0 r/ e! x1 S4 m4 `0 W4 l! b' ]

  696. : _: H. \5 x+ S( q& V
  697. ; UNIX: "/path1:/path2"
    3 F. T4 k* S3 W; N6 _
  698. ;include_path = ".:/php/includes"
    9 D1 f+ Y, t0 }% j1 M8 M; d
  699. ;
    9 P/ f2 c7 X# n# }. q, i7 F
  700. ; Windows: "\path1;\path2"
    ! u# o5 X' z/ e+ f8 @$ ?
  701. ;include_path = ".;c:\php\includes"0 a' ]- O+ A5 M. X2 d7 J2 |
  702. ;
    6 K4 J- Z. A& R" o' ]9 {
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"7 o% I  s, B; A6 ^
  704. ; http://php.net/include-path# k' p1 \; C7 R# {+ e

  705. 0 @) S9 \3 k# S2 F2 g! }+ }) V* B
  706. ; The root of the PHP pages, used only if nonempty.1 s' D' m3 m1 k# T. d
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ; h% ^1 n1 f% M5 f( ~
  708. ; if you are running php as a CGI under any web server (other than IIS)1 M6 B7 m$ ]4 c2 t# k! _
  709. ; see documentation for security issues.  The alternate is to use the. y3 A& ?8 f* c5 C4 e
  710. ; cgi.force_redirect configuration below
    5 A, H& Y4 t* v7 `& I8 g& V
  711. ; http://php.net/doc-root9 D' ]( W) w4 H7 e) Q- _/ C9 o
  712. doc_root =+ @) R6 z) Z+ r: `: k- O' R

  713. % a+ z$ {/ _3 _& _7 F+ a
  714. ; The directory under which PHP opens the script using /~username used only
    3 t5 x7 u. W1 c7 [
  715. ; if nonempty.
    # b+ v: T3 q7 D- W0 V" M
  716. ; http://php.net/user-dir1 N0 \/ Q+ K0 W7 R) ~+ O
  717. user_dir =
    $ A) T* D" _% J; B  L6 m
  718. # T( y, P6 g2 r" D0 S
  719. ; Directory in which the loadable extensions (modules) reside./ [7 x0 ~2 l  U. g0 c! i
  720. ; http://php.net/extension-dir! f$ _% C9 F7 O
  721. ; extension_dir = "./"
    3 x3 o! l  w8 ]6 I, O( l- n+ E. k
  722. ; On windows:
    " |' _( }$ e9 {7 n) H- O
  723. ; extension_dir = "ext"* t& z. K% t, `9 _( Q

  724. & B+ I7 ^. [" o: @& w
  725. ; Directory where the temporary files should be placed.! v  k) H/ r+ `/ p6 b
  726. ; Defaults to the system default (see sys_get_temp_dir)
    1 p" R' \7 V6 U3 C& @
  727. ; sys_temp_dir = "/tmp"; G- C+ w7 Q1 m" z! t5 d

  728. 4 S2 \/ w  |8 L. f  \! X
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work9 ~. B# v4 j/ F. R* W! p/ O
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically& c2 [% z% n) u0 w# f. s
  731. ; disabled on them.8 Y- P/ @/ |! z  C: {
  732. ; http://php.net/enable-dl. H. O. l1 O  D% v- Q
  733. enable_dl = Off
    / m6 C4 f5 a( i
  734. 8 z7 d4 ?3 E4 y9 m7 H- e' `2 T
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under; h# T: @8 |" T. w# }/ N7 [
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can5 @% f7 c: B% T( a4 I9 J! z7 {
  737. ; turn it off here AT YOUR OWN RISK
    8 K/ p1 \5 I, V8 c) ]
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ) S- `; s1 P# H" A  S4 }, w8 _) L7 A
  739. ; http://php.net/cgi.force-redirect$ P  j2 r. }4 Y( w7 p9 W
  740. ;cgi.force_redirect = 1
    # }- r! d- i3 N% }; A

  741. - _8 [' U! A* w# J. i# c
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    2 M* P7 f7 n7 R
  743. ; every request. PHP's default behavior is to disable this feature.
    ( `. h& G6 p4 B) e, C3 [( ]" M
  744. ;cgi.nph = 16 J9 W& i( B  X0 j* B. w

  745. # X0 U6 r) `1 K; n! }6 }  ~
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    % V; V* }  G$ @+ _( w6 p/ i
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    3 S6 T" U9 M2 y7 ?
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY' o6 N) k/ a  e; o3 e! j! c8 @
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.3 i0 w5 B# m) t- g, N
  750. ; http://php.net/cgi.redirect-status-env1 O0 t: ~# x, c
  751. ;cgi.redirect_status_env =+ @# o1 R$ g! T8 }# _. R
  752. 2 u0 W' m& j6 m5 _! F8 d# X
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    , u1 I% v' e! }3 j
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok) O( L6 y/ Q; t% [6 M4 T0 I. d) t
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ; e0 B% [! b. @
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting. b9 i5 S3 i6 X% N) G
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    6 q2 M' @6 F* d5 Z
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    9 r( @8 y* A0 S* R; Y( G# w
  759. ; http://php.net/cgi.fix-pathinfo8 t  O) {; N  p  e7 b. N
  760. cgi.fix_pathinfo=1$ a4 ^; q4 B" R

  761. ; o' R# h& G& E" Q6 g+ n1 a
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside( I# [0 `# o: v' f& M+ Z8 v
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    % R3 g$ v6 T6 ]' C$ ^/ {- f
  764. ; http://php.net/cgi.dicard-path' S) H6 K: E7 n  O+ j) k
  765. ;cgi.discard_path=1
    % C  ~- u& z3 h5 C, x0 E! x* [

  766. . _: A; N4 ~1 T; y& E/ \
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate% C: F1 R0 o! R% E* P8 l
  768. ; security tokens of the calling client.  This allows IIS to define the
    1 B7 @7 X. P5 F
  769. ; security context that the request runs under.  mod_fastcgi under Apache& N! Y) g* r* Z+ f
  770. ; does not currently support this feature (03/17/2002)
    $ I; q: D# W5 o% Y
  771. ; Set to 1 if running under IIS.  Default is zero.* ~" e: W' f* B" u
  772. ; http://php.net/fastcgi.impersonate
    , ?+ @, q- t9 T
  773. ;fastcgi.impersonate = 12 d3 f6 l0 q6 Q, k
  774. ' ~# O; f* q+ d4 B9 p& d
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    5 f0 |3 [) ~4 Z" `
  776. ; this feature.6 K+ J9 Z$ g6 W) w% r! s
  777. ;fastcgi.logging = 0
    1 W8 V: A, ~5 L1 N

  778. % j, K' j- [" e3 t1 R; i
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    , }) t, x9 d/ N( s& s, ]
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    $ p# ^' c- T: M
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    ) @, a% Q; l% j- I
  782. ; RFC2616 compliant header.
    & b9 \; g7 J: i4 B6 d
  783. ; Default is zero.
    , [& ^9 W3 D3 }* v" _' |
  784. ; http://php.net/cgi.rfc2616-headers( Z! Z9 u$ Z8 J9 ?1 a8 o
  785. ;cgi.rfc2616_headers = 0) S4 H; z% c/ R/ {4 D" ^% K+ w
  786. / i4 y! U: C$ P& c2 c& x
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!, s# m& p9 b$ T2 {+ f7 z
  788. ; (shebang) at the top of the running script. This line might be needed if the
    3 T2 _* @! u! B0 a/ x9 u
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI; r6 p% [. h2 e+ B  e
  790. ; mode skips this line and ignores its content if this directive is turned on.
    2 Z2 D5 M' V$ s. Z- U
  791. ; http://php.net/cgi.check-shebang-line0 K5 _: L% [" k) u2 X& x
  792. ;cgi.check_shebang_line=1
    ! C  a  `5 l( U2 z2 f6 L
  793. : R3 W7 Z, A) t0 v9 `9 L
  794. ;;;;;;;;;;;;;;;;3 a+ v% O7 D1 `7 u. V5 U4 ^- r
  795. ; File Uploads ;; G* |! v: O9 y- d* I
  796. ;;;;;;;;;;;;;;;;' L/ ^3 Z+ K$ u* ]

  797. 5 b/ r5 p: b7 {% b: g
  798. ; Whether to allow HTTP file uploads.
    7 y) S# t# L9 Z- g0 _5 u
  799. ; http://php.net/file-uploads
    * E- Z) K1 w6 _' ^4 K/ F8 g
  800. file_uploads = On
      n. z, C! V* _6 Y6 [( o
  801. / C; S2 I) {2 {
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    1 e+ E$ E2 M$ U/ _; F5 J
  803. ; specified).
    6 p) E0 l. g" Q+ x! \
  804. ; http://php.net/upload-tmp-dir
    & q7 a9 H% q/ A. X* f- P$ d
  805. ;upload_tmp_dir =
    . @. Z* p) q7 ^

  806. 5 m! `/ k5 {& ^0 s, E+ [
  807. ; Maximum allowed size for uploaded files.! ~( ]# |2 r4 m" ]
  808. ; http://php.net/upload-max-filesize: m5 u/ x& z& R' p( d/ ^- J, W
  809. upload_max_filesize = 50M9 ]  w. T$ i7 e4 w
  810. : N2 O  l+ E& p! j
  811. ; Maximum number of files that can be uploaded via a single request3 c) V9 Z# i/ E7 M, D3 k; d
  812. max_file_uploads = 20
    7 A+ r: V, I- y  O: m( O
  813. 5 ]. V( P5 }+ d6 |& l+ i1 N
  814. ;;;;;;;;;;;;;;;;;;
    ' }! J, c/ W0 a
  815. ; Fopen wrappers ;
    ) u$ F$ |6 y& T7 Y& ^& }0 s1 ]
  816. ;;;;;;;;;;;;;;;;;;
    0 X  _3 _, U" o8 D, ]
  817. 6 ?* h6 g& |: ?1 A0 n% B# {
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.3 p1 T4 i1 P5 Z$ I) @1 }
  819. ; http://php.net/allow-url-fopen2 q* l  h4 O8 H" x: d4 f. i
  820. allow_url_fopen = On
    ' j" K% [  D9 K6 v7 X0 f- o: U' g
  821. " g1 k. Y. \0 }3 p, D5 z
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ' J" G5 C2 i  A7 t5 a& l
  823. ; http://php.net/allow-url-include, K4 d5 Q, I; S# @8 w0 A/ k. @! G
  824. allow_url_include = Off
    ( o" K& g4 k9 X8 ]2 Y) l2 ?2 r
  825. . K) ]8 a0 _3 C, \7 ~; n4 G* J* q
  826. ; Define the anonymous ftp password (your email address). PHP's default setting/ r$ y& f8 P0 X. ^2 S( r( r- @
  827. ; for this is empty.( e' h2 X  R4 R% s3 C0 t7 `0 y$ O2 i
  828. ; http://php.net/from0 I% l$ I4 W1 Z0 r+ W- a
  829. ;from="john@doe.com"
    + [# O3 P- k4 f, \6 I, j2 N: K
  830. 7 C" x: f" r# j; q' U
  831. ; Define the User-Agent string. PHP's default setting for this is empty.* S& j: ?4 p  I1 E
  832. ; http://php.net/user-agent
    + G6 f+ a. F) J
  833. ;user_agent="PHP"' [/ I7 y- _" W" Z$ o- x) h
  834. 1 d& W1 T% b8 n, j
  835. ; Default timeout for socket based streams (seconds)  G' C) \6 d0 ?6 N0 S4 Z# L- M
  836. ; http://php.net/default-socket-timeout
    * o% D2 f* q( l, f# b$ u
  837. default_socket_timeout = 60
    % g) M4 P2 l3 x9 |# E+ h

  838. % ]$ G3 h$ d5 }3 K! [: p
  839. ; If your scripts have to deal with files from Macintosh systems,1 X. s5 T  K" W7 Q/ [% e- t
  840. ; or you are running on a Mac and need to deal with files from: I+ J8 A1 C* W
  841. ; unix or win32 systems, setting this flag will cause PHP to' F3 A  H, \- F$ M
  842. ; automatically detect the EOL character in those files so that. T5 T; t7 N0 j
  843. ; fgets() and file() will work regardless of the source of the file.
    # }: y& a& j& O6 E4 `/ l- f. k6 v
  844. ; http://php.net/auto-detect-line-endings) W3 o9 Z( {$ J6 E3 Y/ C
  845. ;auto_detect_line_endings = Off
    7 V) ~  c2 k+ C- x/ o/ I

  846. 6 H( R! Y7 [( @# _( T6 W* W
  847. ;;;;;;;;;;;;;;;;;;;;;;
    , G5 `. [/ T8 l) W6 R3 u' N
  848. ; Dynamic Extensions ;! w( F! N* F# W" _. t; W% p
  849. ;;;;;;;;;;;;;;;;;;;;;;4 i  B; d8 L1 r7 Q& y; _

  850. 9 ~4 @. w0 j, c5 [9 q' \
  851. ; If you wish to have an extension loaded automatically, use the following7 a2 R. s2 `5 Y7 b; a* C
  852. ; syntax:
    + b' r; K$ ~+ M: E: F5 O5 [
  853. ;* k6 f( H. i2 y9 U4 B$ c- E/ \
  854. ;   extension=modulename.extension+ W  x: r: B+ G5 f, O2 R$ T& H) l
  855. ;
    9 X0 ~" J# g, z  I6 ~% C
  856. ; For example, on Windows:1 V# l3 c- V% D: l( G' M5 x
  857. ;
    4 Y: k( k8 @* D& @" W8 \9 t- ]
  858. ;   extension=msql.dll9 \6 s- w5 d6 A; n4 e# w5 d5 _
  859. ;  z" L7 V6 h) p' R; z2 `
  860. ; ... or under UNIX:
    , H5 ?9 L" j2 k+ M! v5 n
  861. ;# G& x$ v4 r% G
  862. ;   extension=msql.so" K  E' [& }" J
  863. ;
    3 i4 Q! W2 m: L9 T5 x8 L; ?  {
  864. ; ... or with a path:- n- Z# K% i  o  {8 m& Q4 S
  865. ;2 p; O$ w& {. M7 ]5 O- B7 Y% Y! n
  866. ;   extension=/path/to/extension/msql.so
    ) O1 i! p% v* s! [5 S
  867. ;
    & s8 D$ Q2 s; [. v3 f
  868. ; If you only provide the name of the extension, PHP will look for it in its% _( `3 g' u9 v
  869. ; default extension directory.
    ! J( E& q5 K* }  s" t! w
  870. ;: x- S" ?/ M0 [
  871. ; Windows Extensions( ^% x. o: C$ X) c8 W2 O
  872. ; Note that ODBC support is built in, so no dll is needed for it.) _, y- `! r6 ^3 I
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)" ~- s+ K0 I- I$ _
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).; n9 g- F( p9 R1 T! C1 A
  875. ; Be sure to appropriately set the extension_dir directive./ y& v" V; @' o; w5 e' U' L  g" P
  876. ;
    0 w# Q0 c' X2 f- ]( y
  877. ;extension=php_bz2.dll; Q7 y! O3 E/ V" M8 v/ E- w: m
  878. ;extension=php_curl.dll. [. c& j* `2 G( ^* x4 ~
  879. ;extension=php_fileinfo.dll) x! w' M* M6 v1 @. R6 T, b0 \
  880. ;extension=php_ftp.dll7 L1 Y5 `4 f/ p8 |9 X
  881. ;extension=php_gd2.dll
    8 Z1 w0 H& D4 ~% I: [7 w* e( {9 L. s
  882. ;extension=php_gettext.dll
    " ^7 x. M7 Z# p4 X3 r* `
  883. ;extension=php_gmp.dll5 R" {) c# }9 v7 X/ R7 s" l
  884. ;extension=php_intl.dll8 t* o6 G& l. ]. i4 p3 {' x) r
  885. ;extension=php_imap.dll
    2 u% i- }# a+ P2 A; F
  886. ;extension=php_interbase.dll, ]; G: u& c5 W4 ^* X( F! L
  887. ;extension=php_ldap.dll
    ( p; _( o* r4 U
  888. ;extension=php_mbstring.dll
    ( R' Z! Q* T2 x' r6 D+ u. ^# T' i9 ?
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ) Q$ e' S2 v8 j
  890. ;extension=php_mysqli.dll6 |$ A. M4 A7 x: s
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    0 U: K1 D) n4 l2 u# I. ?
  892. ;extension=php_openssl.dll" y1 Z: B+ x' s3 l9 d2 ]5 M! Z; b6 W
  893. ;extension=php_pdo_firebird.dll
    * }5 @, j+ @1 Q0 _" `
  894. ;extension=php_pdo_mysql.dll
    0 L/ A* |3 z* d( o% E$ D
  895. ;extension=php_pdo_oci.dll
    6 j1 W9 h; m; f7 j+ o1 u
  896. ;extension=php_pdo_odbc.dll
    / n+ o3 Q% g* {  O! H3 r. v& {
  897. ;extension=php_pdo_pgsql.dll' ?5 p1 n8 Y' Y3 g1 A3 E
  898. ;extension=php_pdo_sqlite.dll9 O' U/ s. L" R5 T
  899. ;extension=php_pgsql.dll
    2 l4 H" A/ T* t+ g* q
  900. ;extension=php_shmop.dll
    6 O, m: S' L3 @* F) l& k
  901. 9 s, i" ?; Q) t4 V0 }0 o/ z7 [
  902. ; The MIBS data available in the PHP distribution must be installed.3 m: N* [9 z! R* q5 c2 d  S9 C
  903. ; See http://www.php.net/manual/en/snmp.installation.php; r( e5 f7 X! ~% j& v
  904. ;extension=php_snmp.dll
    - o# ^. z0 [$ r/ m

  905. ) r/ c6 X* Z5 _/ G) V" `
  906. ;extension=php_soap.dll5 C  I+ t9 q" P3 V. G
  907. ;extension=php_sockets.dll
    & T7 A  h5 Z' B
  908. ;extension=php_sqlite3.dll: a0 l4 [2 H' C
  909. ;extension=php_tidy.dll* C9 d- `' u+ h- D; z& k1 {
  910. ;extension=php_xmlrpc.dll* C1 i) q% f5 n7 _" C
  911. ;extension=php_xsl.dll
    / _, q" L2 N  Q' }7 y

  912. 2 T( |& V! b: x5 }- ?0 u
  913. ;;;;;;;;;;;;;;;;;;;
    - ^5 u- t# d% N/ L/ G" j& L8 u$ r
  914. ; Module Settings ;" T% f# y+ _  ~4 M- s' E3 p
  915. ;;;;;;;;;;;;;;;;;;;
    # b' Z1 D. i) a. t" _5 n3 Z2 o. M: m% w

  916. + d: g5 N. y6 K. i: e
  917. [CLI Server]
    4 _- V' ^: y3 }  @, K3 y7 l  |
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.$ x9 j8 v0 b1 J1 J/ t. W8 A4 Y3 K
  919. cli_server.color = On
    0 o9 F* k- S8 T" Q6 \
  920. 1 l) v2 ?( J1 [3 J$ b; i4 B" C2 \
  921. [Date]
    ! j0 ^; n+ p/ c% v3 B, f
  922. ; Defines the default timezone used by the date functions' R' c" O4 o& C. G* ?6 Y% A! k
  923. ; http://php.net/date.timezone
    9 {5 r" m3 \  r3 t0 z' M
  924. date.timezone = PRC8 V5 B5 V* E2 Z+ Q1 Y8 C5 G; t0 A; w+ b* y* y

  925. : h, V) z# R4 }9 q
  926. ; http://php.net/date.default-latitude! i! w, b- w* R3 h, O" Z2 q' u
  927. ;date.default_latitude = 31.7667+ V) {9 T5 n( Y$ ^4 g4 e
  928. 0 Q$ U" A7 R  [; x- @! _( u+ ~
  929. ; http://php.net/date.default-longitude' v* V8 O$ z3 q# Q' z
  930. ;date.default_longitude = 35.2333
    4 K7 _& N) I: r' b1 W* M5 T4 U

  931. 4 v& v4 w" G( Z$ x- ~0 S! D
  932. ; http://php.net/date.sunrise-zenith/ n0 j. E8 c' l+ W
  933. ;date.sunrise_zenith = 90.583333
      B- B4 n: F/ g- X/ L

  934. 0 j' a$ Z. J3 c4 x3 }4 \/ ~
  935. ; http://php.net/date.sunset-zenith
    : v# ~+ ~, A3 z1 Y/ r2 C7 _
  936. ;date.sunset_zenith = 90.5833330 _: e3 ?9 [* K: O5 t0 M* d) ^
  937. 7 R. G3 D! t7 ~1 i* S; V2 P
  938. [filter]6 q4 @! t; k7 M1 t* T; U: U
  939. ; http://php.net/filter.default0 c  q( n' g9 o' X1 V
  940. ;filter.default = unsafe_raw# F' d$ S* G) h3 S

  941. # J* s9 p3 N8 l# ?* y
  942. ; http://php.net/filter.default-flags
    / R, a1 A% }8 ]5 A" X
  943. ;filter.default_flags =* u& g0 ]) k/ K
  944. ) _6 S! c- n; O- {1 E
  945. [iconv]
    ! ~, D+ r; K  m) ]7 s9 G; Q! W: U
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.5 q( e2 ~8 _# s; @7 w: O9 `; O
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used./ @% Y2 s4 o0 {" i* i$ X
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding* `/ u$ n3 K/ B5 H
  949. ;iconv.input_encoding =3 `' j8 {2 S, z5 _- @+ Z9 Y9 B3 M

  950. 1 I# L" d" {, w% D% e" z0 K0 |
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ( r- n+ r. t( |' ~7 M
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.2 r) s% H6 j: x$ [" o% v6 Y! J
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    , Y. W3 ?8 t. _# G+ j# d7 F2 Q) \
  954. ;iconv.internal_encoding =
    * E* R% F9 h+ v4 t
  955. $ A3 r) h9 p4 F2 E: U  s1 f
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    5 e# K; o7 S/ Z/ q5 f/ \/ _
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    0 H/ M( N9 z. B$ n$ _
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ; q2 A$ u/ }* G1 g8 Y& f+ h
  959. ; To use an output encoding conversion, iconv's output handler must be set
    3 B' G* v' G' b. U/ A9 z7 p
  960. ; otherwise output encoding conversion cannot be performed.
    5 K$ x  H- u% a  e
  961. ;iconv.output_encoding =" ]( y9 ]' f8 L+ F) u. j% T' x7 x

  962. ; J0 l0 u4 J* X1 l9 e
  963. [intl]
    " P3 Q& J. F8 u* x5 p' Q
  964. ;intl.default_locale =1 T0 j7 }! g  L5 G8 w
  965. ; This directive allows you to produce PHP errors when some error+ j; B4 `( d7 `* M$ O
  966. ; happens within intl functions. The value is the level of the error produced.3 _) M3 R0 |, S, |! x
  967. ; Default is 0, which does not produce any errors.1 [0 y0 B  P& {! Z) `% n) N
  968. ;intl.error_level = E_WARNING
    ! ^$ V0 q6 ~! w
  969. ;intl.use_exceptions = 0
    7 K$ B9 @$ `* V8 l5 y* t

  970. 4 v2 c: v7 ], @! O- v
  971. [sqlite3]3 U* K- P; Y) W
  972. ;sqlite3.extension_dir =& t- W6 ~  b' N1 |- g4 J" k% ^1 T

  973. * E) n1 O! Q4 |; D3 ?& F! V9 j% D& X
  974. [Pcre]
    3 S0 {$ U' a3 ?  v  o
  975. ;PCRE library backtracking limit.$ U; c* p- S+ X  V/ W
  976. ; http://php.net/pcre.backtrack-limit* G' y; K2 m3 s; N2 }9 J+ D
  977. ;pcre.backtrack_limit=1000000 R3 Z  i7 _/ O# W" Z

  978. 0 }# l# m6 }& K0 u$ @
  979. ;PCRE library recursion limit.
    5 e/ }+ f7 \1 b# P7 W9 E2 T
  980. ;Please note that if you set this value to a high number you may consume all
    . U, M9 D+ R- L, V+ A& o! w1 U
  981. ;the available process stack and eventually crash PHP (due to reaching the
    5 b! i7 f% s* L+ l4 w
  982. ;stack size limit imposed by the Operating System)., V6 z; Q- @8 u$ g9 ?( V% s  r
  983. ; http://php.net/pcre.recursion-limit' ^1 d4 M7 @7 }3 T
  984. ;pcre.recursion_limit=1000001 U5 @8 A; i7 E- \/ U, ~, g' e# c
  985. ' M2 V2 u7 K8 c( A$ s: M9 {
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE- u: ^$ j( h- V+ W% J: w
  987. ;library to be compiled with JIT support.
    9 ?' a" T7 |. L7 F0 P6 S0 _. x
  988. ;pcre.jit=1  m! r1 e8 v' m( B

  989. ( _: u- T) O1 v3 T1 D
  990. [Pdo]
      B5 S; {9 X& m. e
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ) x3 G) N1 S& a
  992. ; http://php.net/pdo-odbc.connection-pooling7 |6 x% @0 d2 w0 y
  993. ;pdo_odbc.connection_pooling=strict2 |2 N; @" d4 Z4 f+ e- P% K+ Z* T

  994. ) r1 f) v  f8 K! ?8 @' \
  995. ;pdo_odbc.db2_instance_name* p" B5 s5 [4 G" u" o) Z/ G' D; s

  996. ( M' E$ |( ~# r
  997. [Pdo_mysql]
    * U: X' S, q7 i; X6 D- H, P
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    6 A7 A7 j- D3 K+ G& g9 {7 c
  999. ; http://php.net/pdo_mysql.cache_size
    $ X8 O0 t# B0 A, T; O8 \1 h
  1000. pdo_mysql.cache_size = 2000& B- R+ i# t0 J( Q+ o2 c$ y
  1001. / b6 T/ H4 W$ _; Z2 z' N' L) m
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * e- w/ g0 v. k- ^# D0 _" _
  1003. ; MySQL defaults.
      u- q% g0 r& @) C: S4 I1 B
  1004. ; http://php.net/pdo_mysql.default-socket
    " \# s5 v! k  x5 y# n, \1 w1 j4 a
  1005. pdo_mysql.default_socket=
    / l; ]) g+ m+ Z' A0 R& o1 W% s  w

  1006. " |" E8 P& V3 M, l) ~% v
  1007. [Phar]
    + k8 q1 k9 N) u- M* I: X9 {
  1008. ; http://php.net/phar.readonly* ~6 ]2 I9 `0 y' B% s5 q
  1009. ;phar.readonly = On
    & y- O" ^6 G$ n

  1010. 4 s3 F/ @+ `; J* G' V# |0 n: e
  1011. ; http://php.net/phar.require-hash
    / i$ ^3 \: p/ i  t# d
  1012. ;phar.require_hash = On
    ) T! \7 Z. Y1 o& O  p. I

  1013. 6 Y4 @8 q: _8 B+ W
  1014. ;phar.cache_list =
    ! r& ?+ [2 `( `# t4 I) Z5 A, ?( _) v0 |

  1015. ! S$ S" H7 Z* J: s
  1016. [mail function]
    8 J$ p7 \3 \6 g( ?8 h
  1017. ; For Win32 only." z, t( h: l9 y, ]7 a4 {
  1018. ; http://php.net/smtp
    $ a( x: H% l: z  K% |  b9 W; @) `
  1019. SMTP = localhost5 a: r( K9 q* W" E% L3 p2 @1 r7 _1 c
  1020. ; http://php.net/smtp-port; Z- }4 f$ z, @, e- h5 P1 p; a
  1021. smtp_port = 25
    1 j2 e, e* J) n; g! {

  1022. ( s2 l7 v' N% O; j
  1023. ; For Win32 only.8 n8 Q, O: ~& h" f  Y& T' H# r
  1024. ; http://php.net/sendmail-from( X2 h2 K. t2 r& S3 y& P
  1025. ;sendmail_from = me@example.com
    " z1 n) \# G) F
  1026.   @& y  D& t( D; V( p- w& e6 f
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    8 p0 k- `7 Y# W* `4 t: x
  1028. ; http://php.net/sendmail-path
    ' n5 r+ {: \4 U5 U8 a' [' X  h  i
  1029. sendmail_path = /usr/sbin/sendmail -t -i/ U# K9 ]; y  r. n  l9 k

  1030. 3 i- j; t) H5 U5 D8 }1 o5 ^
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    : i  [9 ~' @" `# ~8 `+ [
  1032. ; to the sendmail binary. These parameters will always replace the value of
    4 u/ g4 k# W3 ~; E
  1033. ; the 5th parameter to mail()." f/ V$ l# a7 X- ^
  1034. ;mail.force_extra_parameters =
    + A* b( A- }! H% U, C
  1035. * R- q9 e2 M2 v+ {
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    $ a- a/ t  d3 {& m; r1 k+ S. r
  1037. mail.add_x_header = On3 f- O: K9 E& n- C4 T6 ^0 R

  1038. 6 w2 M1 @' C- g# g1 G6 ?# @7 R
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    / |" B8 O3 i- a1 c9 b) |
  1040. ; the full path of the script, line number, To address and headers.
    ' b5 Q! E8 W) W" u- K
  1041. ;mail.log =* `! }- j9 B5 N' x; M! m
  1042. ; Log mail to syslog (Event Log on Windows).
    ' p7 B2 o+ J$ E  b" Y) j
  1043. ;mail.log = syslog" b( y7 [/ J" c; A/ K; k

  1044.   P$ s: S' t" W7 P) j$ V3 N& g- x/ O
  1045. [SQL]. G3 p3 Q% J% V: j
  1046. ; http://php.net/sql.safe-mode0 ?" \0 p  c- J) E: v4 }" U; r. a$ `
  1047. sql.safe_mode = Off8 I/ {/ j/ _6 S7 D) _5 X

  1048. 5 r% L& A2 G* z+ I: ^
  1049. [ODBC]
    * y  l: D3 Y& ~
  1050. ; http://php.net/odbc.default-db
    ; X' |2 @# I+ U- F( b& Z* w. ^
  1051. ;odbc.default_db    =  Not yet implemented9 V) Q! ~1 D7 ?5 I8 F

  1052. 4 G- m: K3 r1 s1 S
  1053. ; http://php.net/odbc.default-user7 r( w6 w+ @  a) W' ~6 o) G- w! `
  1054. ;odbc.default_user  =  Not yet implemented5 o0 E' R% L" r, l
  1055. " q7 w) F. V5 n  [8 T+ w0 `9 G/ N5 [
  1056. ; http://php.net/odbc.default-pw) m* l: g0 Q, ^9 c1 \+ e
  1057. ;odbc.default_pw    =  Not yet implemented
    0 ^; w8 U& K- L( m' h# @% @( e

  1058. 7 Q1 O6 m: A" w$ Q( Q! Y! d
  1059. ; Controls the ODBC cursor model.( {' ^* b; j+ u; ]. h9 D
  1060. ; Default: SQL_CURSOR_STATIC (default).9 z/ s; P( X" q# Q  A
  1061. ;odbc.default_cursortype6 B# q4 J% E) {0 s8 u
  1062. " X" Z+ u# N  |6 J* Z
  1063. ; Allow or prevent persistent links.
    ' N$ \6 ~+ O; h% N! w1 [+ |
  1064. ; http://php.net/odbc.allow-persistent6 F: @9 V, o8 Y' {
  1065. odbc.allow_persistent = On
    2 _; d6 T" r0 ?# S( R4 ]+ T- n) g( n
  1066. + ?" b. D5 B/ J/ B5 e' F8 X) Q
  1067. ; Check that a connection is still valid before reuse.
    9 @# g" F8 {$ ]1 D% L0 l) s
  1068. ; http://php.net/odbc.check-persistent# U0 e1 V. m! M
  1069. odbc.check_persistent = On& B: F9 f, a* u0 C

  1070. 4 |' ^. P' U# J& ]' K
  1071. ; Maximum number of persistent links.  -1 means no limit.. S- Z, `8 T$ r/ B
  1072. ; http://php.net/odbc.max-persistent7 k/ c" b! L  {  s; w" t; X
  1073. odbc.max_persistent = -1: ]& S1 I: R, @% H0 L0 D

  1074. 7 W. D: Z9 e( ]0 H
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    , n! m- l- {9 f  S* U& G2 t0 \
  1076. ; http://php.net/odbc.max-links
    6 ?. ~0 U( G$ b3 [3 u, U. X
  1077. odbc.max_links = -1/ k# R4 ^- t; R- E7 H0 n

  1078. 0 \/ L$ K5 O* M; D. o
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means" m6 E+ d1 Y; x) m" R$ ]& h
  1080. ; passthru.
    ( i! i) H% @1 a  a5 J
  1081. ; http://php.net/odbc.defaultlrl
    * g2 e. E5 w/ g( q' T1 X
  1082. odbc.defaultlrl = 4096
    + ?0 G2 |' `$ U( n2 H
  1083. 3 r$ s$ d/ B  H  }* r$ I6 a
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.' u& J# |% r" Z1 b
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation% e, B5 i5 S) X
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode4 o( P- S# x2 Z, h$ a' c4 Y
  1087. ; http://php.net/odbc.defaultbinmode" r+ O* M  s0 y, l8 [. c; s& i
  1088. odbc.defaultbinmode = 18 \: i& |1 Y9 v0 d
  1089. , k9 y) @) e# _6 D! e
  1090. ;birdstep.max_links = -1# F8 A4 [2 V# C5 m* s9 X  _* o

  1091. ) y, n$ u  k) c( ]' D- F! Z% [4 w
  1092. [Interbase]
    ; S$ {0 @' l! i7 k2 ^$ d. s
  1093. ; Allow or prevent persistent links.
    . C/ a; _9 L9 Z3 I+ d
  1094. ibase.allow_persistent = 1" L* e& w+ j# Y5 Q$ _8 x
  1095. ) p) n* H7 c  W8 |6 Q9 _; s
  1096. ; Maximum number of persistent links.  -1 means no limit.% T/ V; d* l! }" y7 p. e! T
  1097. ibase.max_persistent = -1" ?7 f5 T% w7 O6 N
  1098. # Q9 D3 U. \. O1 [% ~* r& T) Z
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    # S, v/ u/ c9 z7 d. B1 l
  1100. ibase.max_links = -1
    ' P8 }( L# ~: J8 v4 p* h" F
  1101. / V' K+ Z$ i  Z1 u
  1102. ; Default database name for ibase_connect().) Z2 h& D% f3 l
  1103. ;ibase.default_db =
    ) Q4 H: H+ C- Y0 N( e. _

  1104. 8 h# v. Q4 i1 _# v7 ^4 k8 p  S$ w
  1105. ; Default username for ibase_connect().! R0 k; E. G. l: o
  1106. ;ibase.default_user =
    " h% Y9 P; Z! h, F, v
  1107. . O% q8 u! {4 ~! L; C# L( A
  1108. ; Default password for ibase_connect().
    + {" y6 ]2 S# x4 q8 Z
  1109. ;ibase.default_password =% _" F8 o; ]$ M, p; ~

  1110. / u: M) ?3 }0 E1 D
  1111. ; Default charset for ibase_connect().
    9 K: {4 D  B9 w
  1112. ;ibase.default_charset =
    9 O9 k' ?; [: g1 w
  1113. 0 v- H  i) }5 S3 d1 V  J3 W
  1114. ; Default timestamp format./ A7 Z" v, M* F5 R1 s5 S: T
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"+ t0 M8 J/ |3 y( {* h

  1116. # I* O1 B9 H/ f( f2 \
  1117. ; Default date format.* ~, h- I6 I! \; R7 l- p
  1118. ibase.dateformat = "%Y-%m-%d"" T5 k# j: ]- p

  1119. ) c1 e0 @  P6 a$ F1 k
  1120. ; Default time format.+ y( b: y; u4 q8 q+ h) ]. l
  1121. ibase.timeformat = "%H:%M:%S"+ A6 R3 {/ g6 R3 O. \$ p) ]) d

  1122. ; v' I- u: W: B
  1123. [MySQLi]
    ; ]: G: Y& P5 L" \0 H1 {1 D- D9 m' @2 s

  1124. , f" Q4 c  h# `, |1 j: v, n: @* B
  1125. ; Maximum number of persistent links.  -1 means no limit.
    4 [5 T2 g8 `! }- A' Z
  1126. ; http://php.net/mysqli.max-persistent
    4 ?$ b: h: \6 j( g. t0 k  L5 x
  1127. mysqli.max_persistent = -1
    + c' w( L5 C* t# |9 c
  1128. 4 Y# N$ s: T8 z: _2 b
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements( M. ]" O; d) }2 O: z2 ?
  1130. ; http://php.net/mysqli.allow_local_infile+ U) K, A3 M, y- v4 }
  1131. ;mysqli.allow_local_infile = On
    $ K) n  \4 u% P# t! ^: [* r

  1132. 7 M4 x. Z) P: a8 y
  1133. ; Allow or prevent persistent links.4 R3 G0 t  u. {- a
  1134. ; http://php.net/mysqli.allow-persistent
    % ]! j( Y4 k3 y% L# _) J
  1135. mysqli.allow_persistent = On4 f3 n5 Z$ E' a0 |4 S7 O7 U( a2 k( h

  1136. % \# N  p! g) Q+ t. G8 P! `3 v: d, m
  1137. ; Maximum number of links.  -1 means no limit.
    4 D  O7 b5 r& u. C
  1138. ; http://php.net/mysqli.max-links
    ! p  R# v" @  w' @- I2 ~
  1139. mysqli.max_links = -13 e  n5 \9 f* f. e5 }  E
  1140. # {* R* L6 I# [* \# F; C& t% F
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + ?. P& ^% m1 U
  1142. ; http://php.net/mysqli.cache_size
    ) K& e. U  H, `; ]- C
  1143. mysqli.cache_size = 2000( a: d6 j( U9 \+ B" y/ y7 w

  1144. 0 }: ^% p: G' @* I% Q8 ^0 \: X
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    9 V  ?: j# b% T; u
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the$ @. [2 ~5 B' M- ^
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    2 h, [5 j# K4 r8 \3 x% e7 ^( T# [/ l
  1148. ; at MYSQL_PORT.
    & F9 |0 s8 a: N
  1149. ; http://php.net/mysqli.default-port
    ! c+ i) |& Y- ^4 J8 |  ^* `3 R: y1 N7 k
  1150. mysqli.default_port = 3306" f/ Y3 U; N4 u7 G

  1151. 2 Y% U, q' K" R0 E4 @! ~6 G/ u' }
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    0 E1 i+ H7 m8 y  H3 v2 r0 t
  1153. ; MySQL defaults.4 ^9 g' V( j+ g) T# ]4 L
  1154. ; http://php.net/mysqli.default-socket2 _, P$ `1 q  Y; M* N
  1155. mysqli.default_socket =
    8 m  o: o; q  R0 H, B$ Z1 e; N

  1156.   X( V) [0 ~, P% b: L6 d
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).9 X+ q  p+ m4 f. }- M
  1158. ; http://php.net/mysqli.default-host9 I  S" U& I) N: s/ o! {% }' D1 T
  1159. mysqli.default_host =
    $ i/ f7 v( d, k5 P" q, Y; G) |4 w

  1160. ; _$ H% ?0 A  S& m4 G# _7 _* y
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).( R) N  l$ Q) q
  1162. ; http://php.net/mysqli.default-user
    ) h" O# T( ?+ u: j) X$ `8 K4 n3 q
  1163. mysqli.default_user =
    , E4 c8 H4 n/ j3 p) Q5 W- L8 j: I

  1164. 2 V' y! u7 h' w, h2 i! K
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).! d3 m" i- ~1 n' k/ L% S( p' w+ v
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    : s) L! H2 r- k9 }) r2 P1 z  p
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    4 ~. j, u' ]3 D2 ]! ]! W8 p
  1168. ; and reveal this password!  And of course, any users with read access to this
    9 R- |( w9 p% T& q& o
  1169. ; file will be able to reveal the password as well.& Z# l( }! U; ~3 i# ]3 m
  1170. ; http://php.net/mysqli.default-pw) q9 e7 M! `" u7 e0 |7 n' b) S
  1171. mysqli.default_pw =  r1 F; i0 }' g' [8 p
  1172. ! u6 @1 P5 N9 E5 A
  1173. ; Allow or prevent reconnect: Q- Q% r; L+ s8 U& t
  1174. mysqli.reconnect = Off
    1 z3 ^: f& ~( R: e, Z# t- M0 A) ~+ ?
  1175. 4 A4 O' f* B1 }2 Z8 @* h, }
  1176. [mysqlnd]
    1 x, Y# s: f, j9 `8 T& g) k6 N% Y
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be) B% Z& t0 I0 p# x
  1178. ; used to tune and monitor MySQL operations.
    % `. m# V- d+ Y' K3 G& y
  1179. ; http://php.net/mysqlnd.collect_statistics
    : A8 h! s  h5 ^5 q. O) V
  1180. mysqlnd.collect_statistics = On
    " K3 Q% j! }, P7 P3 p
  1181. + X# d) [/ c, f+ K  E8 i
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be( X% @1 t& `! _$ k8 {' W* U
  1183. ; used to tune and monitor MySQL operations.
    6 u2 r* ?" }& ~
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    2 A; `1 i& D3 I2 A1 t7 G# P0 E9 F
  1185. mysqlnd.collect_memory_statistics = Off0 I9 u9 k: n$ Y: ^& `
  1186. & d" a& Y6 R) c( c" X1 ^1 e
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    ; s, d5 q$ Q  t6 k7 d/ x
  1188. ; file.
    , i. x) \  l9 |6 L$ W# v
  1189. ; http://php.net/mysqlnd.debug  R; p' I! n3 [) j- n6 B1 |9 V/ d
  1190. ;mysqlnd.debug =, c/ T0 i, |: e

  1191. 7 `2 g8 L4 z3 ^6 L6 o6 z2 X" X) P
  1192. ; Defines which queries will be logged.* p: F, I* n  |& ], a
  1193. ; http://php.net/mysqlnd.log_mask
    1 b5 g, [: f$ Y5 U
  1194. ;mysqlnd.log_mask = 0
    / n& x( a4 f1 Q& S9 |

  1195. 8 E4 D! N+ \. d/ s* z9 h- F
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.7 l* ~: z/ F1 ^; j, W7 a& H8 Y9 _1 i
  1197. ; http://php.net/mysqlnd.mempool_default_size8 a) M* ]  |, S/ x6 t7 X5 x- {
  1198. ;mysqlnd.mempool_default_size = 160003 w& Y, C# R9 n7 P
  1199. ( [6 T1 l' }9 V5 j
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    7 P( D- R+ \6 ?5 Q
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
      C$ G& v8 h+ ~+ d+ ^
  1202. ;mysqlnd.net_cmd_buffer_size = 20483 c* I" W0 C9 R8 i
  1203. % F- {* ]% l- _& q
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    # @6 T! `5 J* O# x" T; [2 w
  1205. ; bytes.
    4 M! |3 H  t  a5 `
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    ; n' F. F( s% m9 m! C$ F; z8 `
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ' K# L' h+ ~, v7 p& P: t

  1208. . o3 Z, f2 q$ n2 l9 K+ y
  1209. ; Timeout for network requests in seconds.
    % ~1 r! M1 E! p5 p5 F7 r& r6 @0 G. K
  1210. ; http://php.net/mysqlnd.net_read_timeout
    ) l- P% j& t, z8 b$ k
  1211. ;mysqlnd.net_read_timeout = 31536000; @4 @, ^2 M4 W9 y' ^* j$ @
  1212. + [# o+ l. N7 G9 ^
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA) M& r4 }; {% M3 c2 E
  1214. ; key.; L1 m) Q6 x% v! J( a
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    . R2 O; V3 N7 L. E' K
  1216. ;mysqlnd.sha256_server_public_key =
    " t, }0 t" ]& z+ D0 `7 L( m  d* O
  1217. & U: J: v+ I" K
  1218. [OCI8]8 q- X" [: J, o2 t7 g

  1219. ( ~( Z5 T* r$ Z" Y
  1220. ; Connection: Enables privileged connections using external7 X& F7 D  r. o* `- n  w* a! ~
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    4 ?$ ~8 \4 U  v9 ^" V5 p
  1222. ; http://php.net/oci8.privileged-connect2 |+ o* o; @' ~4 Q9 Z
  1223. ;oci8.privileged_connect = Off
    9 z1 _2 b! ]/ F, o. ^
  1224. 6 n3 d. I6 K5 a! E  V7 G
  1225. ; Connection: The maximum number of persistent OCI8 connections per& l  D4 e. S7 `4 o1 r) N' i- ]  _
  1226. ; process. Using -1 means no limit., ~) _2 b  y  m  W
  1227. ; http://php.net/oci8.max-persistent) k5 Z4 k4 \) [4 ]/ w
  1228. ;oci8.max_persistent = -1
    & t) ?$ a+ Z& T* }
  1229. & O4 z& s  U+ O5 x
  1230. ; Connection: The maximum number of seconds a process is allowed to
    - o. s- \# n% K9 p: O
  1231. ; maintain an idle persistent connection. Using -1 means idle. `- ~5 f3 {/ i7 H2 D6 F
  1232. ; persistent connections will be maintained forever.2 k2 F3 j, Z) F3 _
  1233. ; http://php.net/oci8.persistent-timeout/ e' u: k3 l8 c% l3 n4 G
  1234. ;oci8.persistent_timeout = -15 Y/ y; L* b# e4 F
  1235. * {" [: w2 A# W( }. d: K" ]0 O/ _
  1236. ; Connection: The number of seconds that must pass before issuing a
    4 `. c* ]- v5 a
  1237. ; ping during oci_pconnect() to check the connection validity. When
    ; z' b0 Z7 u* x- H' r7 _7 R
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    " P" p; }6 a) X' c/ N% V
  1239. ; pings completely.6 _+ p+ r( A* Y& \7 [8 F" \: e
  1240. ; http://php.net/oci8.ping-interval/ N" a& U/ c" @. o
  1241. ;oci8.ping_interval = 60
    ' v$ a' Q3 C: l% }0 W/ i5 i
  1242. : ]  B! j  p% n5 h# r
  1243. ; Connection: Set this to a user chosen connection class to be used
    2 W( j5 D! ^( |& K1 O- f
  1244. ; for all pooled server requests with Oracle 11g Database Resident: l# l( Y' l3 d
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to. q- c+ R& K, A+ }
  1246. ; the same string for all web servers running the same application,$ R9 J# d/ d3 w9 `3 _, Y
  1247. ; the database pool must be configured, and the connection string must+ U- W' A+ e1 x  Z2 ~: `  S* ]- Q
  1248. ; specify to use a pooled server.0 r! M. o/ b3 G3 \
  1249. ;oci8.connection_class =  X  M) S! y# A: T/ x8 c

  1250. ; u$ L9 B3 b: ^' l" Q
  1251. ; High Availability: Using On lets PHP receive Fast Application
    ! L; U: A+ I! V9 c. Q
  1252. ; Notification (FAN) events generated when a database node fails. The; t: P- h# u+ M1 m3 K; c
  1253. ; database must also be configured to post FAN events.6 ^0 M( a" Y8 c
  1254. ;oci8.events = Off. i; V9 w( Q; n/ O. ~
  1255. 1 Z. q! ~* s; _& s3 d) L; a5 U. q
  1256. ; Tuning: This option enables statement caching, and specifies how! y! t2 T/ _2 Z
  1257. ; many statements to cache. Using 0 disables statement caching.& H* x3 [! T& b  f$ g4 A8 w, C  P
  1258. ; http://php.net/oci8.statement-cache-size
    % W, X4 k4 ?; Q) e7 g# x, d' x6 x
  1259. ;oci8.statement_cache_size = 20. N$ V1 H$ w! `2 {* N% n$ F

  1260. 9 f# D: L  e$ E5 I
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    . }# g+ p6 D7 F8 s6 r3 E# V
  1262. ; rows that will be fetched automatically after statement execution.
    2 ^1 R/ K) C1 k0 }. C. R' }, H. R/ y
  1263. ; http://php.net/oci8.default-prefetch9 T$ `6 o' W( v
  1264. ;oci8.default_prefetch = 100
    $ G  K  i) f  M# Z6 r& Z3 ~

  1265. " W8 G/ l, ?! n0 @% j) R, Q
  1266. ; Compatibility. Using On means oci_close() will not close
    / m0 X1 @  y' u' k% j
  1267. ; oci_connect() and oci_new_connect() connections.3 j& n7 x+ U+ P& R5 t3 z& j; `9 `
  1268. ; http://php.net/oci8.old-oci-close-semantics
    8 u2 [# }+ {! n4 c/ ~/ `
  1269. ;oci8.old_oci_close_semantics = Off
    ( \/ Z4 H; U' r3 t- L

  1270. 3 z0 B4 ^% c& R7 c
  1271. [PostgreSQL], Z7 {7 c+ \0 t9 w/ c
  1272. ; Allow or prevent persistent links.2 ?$ O- T" i% P" g3 ]* t
  1273. ; http://php.net/pgsql.allow-persistent3 W6 j/ K8 Z1 O- Q/ ]; X8 b
  1274. pgsql.allow_persistent = On. d1 w" Q2 r8 `
  1275. 5 g4 U3 S% H' c' H
  1276. ; Detect broken persistent links always with pg_pconnect().! ~0 J6 C) D) \, _" S* y9 t
  1277. ; Auto reset feature requires a little overheads.3 y2 z& h" n2 E2 x! o& ^8 f& C1 D
  1278. ; http://php.net/pgsql.auto-reset-persistent7 d6 V% a1 D2 \7 v2 Q3 ]8 T; h
  1279. pgsql.auto_reset_persistent = Off- U6 n. Z6 D: @& s

  1280. # \# c# A5 X) w# m: c/ _
  1281. ; Maximum number of persistent links.  -1 means no limit.
    7 k& j2 r8 J9 D) o) {: e* }
  1282. ; http://php.net/pgsql.max-persistent9 l$ p- X$ r4 ]" e
  1283. pgsql.max_persistent = -1
      r+ Z9 \2 a  c* R& @5 }

  1284. & ]3 E0 g5 b- r2 Z# `+ B9 ?
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.; y8 X" V$ U8 m0 S6 Z7 F$ h
  1286. ; http://php.net/pgsql.max-links
      P' ]+ }. e& ~& L
  1287. pgsql.max_links = -16 t$ T1 X$ U; ^$ o. S1 i

  1288. 7 ^. U# Q6 p% u4 J/ B
  1289. ; Ignore PostgreSQL backends Notice message or not.
    & _3 n' R( q2 u
  1290. ; Notice message logging require a little overheads.
    4 q% d, R, U7 o
  1291. ; http://php.net/pgsql.ignore-notice" S# C& r, ~/ o0 u2 j; ^
  1292. pgsql.ignore_notice = 0! [, ^+ \  J$ C1 m1 O6 I, Z

  1293. ; ]* J' h3 G$ R& e) T) F0 v7 q2 _
  1294. ; Log PostgreSQL backends Notice message or not.6 Z% M3 D1 i' h. R! [( e
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.) U2 v% B# b" {. d4 ?; r0 H2 D
  1296. ; http://php.net/pgsql.log-notice
    4 H( h. V3 m; Y! w
  1297. pgsql.log_notice = 0
    ' q! l* [- m) U0 D) N3 f, y! m# w
  1298. 0 l& e  S5 @6 i
  1299. [bcmath]6 W0 L) l* F# T/ k' G. ^
  1300. ; Number of decimal digits for all bcmath functions.9 S7 U8 i0 h( r& A" Q# }
  1301. ; http://php.net/bcmath.scale
    + k( }5 Q2 F  {
  1302. bcmath.scale = 02 b4 s% e/ {( l6 _! F0 {# p+ r

  1303. & ~- R; W- k  e# S8 _  f2 ]
  1304. [browscap]% m! u2 L5 w4 S% {' n& A* r" Q
  1305. ; http://php.net/browscap
    5 L1 M; S' N5 m" D; F6 I
  1306. ;browscap = extra/browscap.ini5 A; X" D+ {6 L

  1307. ! Y* o2 R+ E& ]: @
  1308. [Session]
    2 g3 u' l' F9 t/ }. x6 K
  1309. ; Handler used to store/retrieve data.8 l% |' L/ f; @9 I4 k
  1310. ; http://php.net/session.save-handler9 {! A. s2 |- j: J( l" I
  1311. session.save_handler = files2 d0 l7 v: [) i' q5 A, O6 d

  1312. / I0 `: e% U* V7 |
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    1 @* p) S# o: I/ f0 k: W
  1314. ; where data files are stored. Note: Windows users have to change this2 e/ Y2 W, ^2 G( F
  1315. ; variable in order to use PHP's session functions.
    . V+ L$ y6 d' y' E" u7 S* J6 }3 L  p
  1316. ;4 |% S+ i7 y; p4 v" k/ u( g  f/ W
  1317. ; The path can be defined as:
    , t3 n# j8 o( u$ A
  1318. ;7 b" v' l  j  U- [& G5 D, P
  1319. ;     session.save_path = "N;/path"( i: \0 w: E! ^! \: J
  1320. ;
    / o" T1 Z/ l  ?9 @
  1321. ; where N is an integer.  Instead of storing all the session files in
    & O: ~- s/ ^+ P  \3 r$ E9 O) e
  1322. ; /path, what this will do is use subdirectories N-levels deep, and' {$ k# e; o: a8 K
  1323. ; store the session data in those directories.  This is useful if
    * \. |2 j! V5 b2 q! J  t6 W& O
  1324. ; your OS has problems with many files in one directory, and is& P( B4 t! N0 N
  1325. ; a more efficient layout for servers that handle many sessions.
    5 A* I2 t; k6 F2 O
  1326. ;
    9 w. W) a  ?1 |, Z8 h$ W! U! r
  1327. ; NOTE 1: PHP will not create this directory structure automatically.8 e5 _7 w+ o2 ]. h6 W! b6 E$ T- l
  1328. ;         You can use the script in the ext/session dir for that purpose.
    % u, {1 G9 @2 Q  v& {
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    ' T; C2 Y/ e+ w- P- B. u
  1330. ;         use subdirectories for session storage5 y9 H# A, D6 l# a
  1331. ;' H+ w: i* g# [7 h8 f2 C
  1332. ; The file storage module creates files using mode 600 by default.; k" U6 V: S4 W5 _& t" X' r
  1333. ; You can change that by using" n& X; r, G% e& U; A/ a& I
  1334. ;8 a3 ?0 y2 Y4 s
  1335. ;     session.save_path = "N;MODE;/path"0 U( [; z  ^8 H( G( m7 @  D- {1 h
  1336. ;! c. `; {; C* Y# t
  1337. ; where MODE is the octal representation of the mode. Note that this5 X- k- f* ~7 V' ^) f  c8 r0 B2 h4 |
  1338. ; does not overwrite the process's umask.
    % n; R/ ?- ?. R
  1339. ; http://php.net/session.save-path
    & |$ k, F! I0 A8 {# x- R' K, e: y
  1340. ;session.save_path = "/tmp"* V+ J! |8 ~$ Q) e# O6 S
  1341. & l# S# E- F3 M
  1342. ; Whether to use strict session mode.
    : |# L" ^) D' ?; p
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
      O  E' H2 h- Y( o9 g: `
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects$ h* I1 G2 l! k2 z
  1345. ; applications from session fixation via session adoption vulnerability. It is) S3 }9 r  s! n  w) ]) e% b
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    2 C# ~, Z* }, a' ~5 G
  1347. ; https://wiki.php.net/rfc/strict_sessions
    % `& p' ]# Q% T% x. N) Y2 f! I
  1348. session.use_strict_mode = 0/ ]* N" f& s8 l+ Y6 Z0 P3 `

  1349. ' s. H$ R$ z3 h
  1350. ; Whether to use cookies.8 m3 j9 B+ s9 v) I  X, E2 ?: N
  1351. ; http://php.net/session.use-cookies4 t- i1 X  A4 F2 W
  1352. session.use_cookies = 1+ ~0 H2 H# Y6 j; L/ Z& N: i
  1353. " C2 i- W; c' d2 @  g# n4 u+ Z
  1354. ; http://php.net/session.cookie-secure
    , k" z# b0 Z( x7 G. _* Z" U% F. q
  1355. ;session.cookie_secure =% {- O8 |$ P8 ^2 y/ X

  1356. + |2 e+ X; U6 n( `
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining8 M: B8 u2 H# ^% \! M
  1358. ; the session id. We encourage this operation as it's very helpful in combating) z5 G; r: N9 C. M0 D
  1359. ; session hijacking when not specifying and managing your own session id. It is8 a  D7 _5 r% G
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ' b1 Q) \( Q* A- i+ o  O0 B
  1361. ; http://php.net/session.use-only-cookies+ `8 q5 R& P8 b0 ?6 i( s
  1362. session.use_only_cookies = 1
    $ v. P( B. x6 j) g! g; ~

  1363. ) m4 Q, e) [" \3 J# T+ t
  1364. ; Name of the session (used as cookie name).
    ) P1 y: M3 A. O- Z
  1365. ; http://php.net/session.name
    # n" \; G3 y; }3 q
  1366. session.name = PHPSESSID
    ! v6 e& D- a$ c7 [) Z, Y

  1367. * b$ U1 \; f% M& {
  1368. ; Initialize session on request startup.
    1 U0 u  N4 T! d% O* d/ @7 i' j4 f
  1369. ; http://php.net/session.auto-start
    , ~: t+ R( ]+ l2 ]* G. H; I
  1370. session.auto_start = 0. j& j) k. f% J5 u2 u
  1371. " g. e2 y9 y- x3 C+ ?8 f& C, T5 e
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    2 L: q; }, }0 k- @2 s0 g
  1373. ; http://php.net/session.cookie-lifetime% ^  S6 D; {! ]4 q) o7 O
  1374. session.cookie_lifetime = 0
    : y: g( V- a9 M  P9 U# V) l4 J

  1375. # w9 W+ B' e% g7 [, O6 b. p
  1376. ; The path for which the cookie is valid.
    , X% M2 V1 h2 ?. |
  1377. ; http://php.net/session.cookie-path
    $ n! r0 x, l5 A( _: l( U$ {; ^
  1378. session.cookie_path = /: J& c) Q, T$ x% e& ]3 A$ v
  1379. - g) ]2 }- K0 N! {$ S0 u4 p1 j" W
  1380. ; The domain for which the cookie is valid.
    1 e: G# X) G9 o  J2 l  |
  1381. ; http://php.net/session.cookie-domain6 A" B7 H3 X* J! e
  1382. session.cookie_domain =* W4 v' o$ M7 D6 u
  1383. + w( |$ `- `# u- o$ B6 W
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.& h# n4 X+ U  Y6 w' Y- C
  1385. ; http://php.net/session.cookie-httponly; O3 o; w9 d& S7 b
  1386. session.cookie_httponly =% [4 m  V4 f( L, ]8 A

  1387. & o5 H: u( g  m' ^$ j6 }- Y; ]/ |1 B
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP." p, P% O8 f4 k& `2 s  |
  1389. ; http://php.net/session.serialize-handler
    ; O! ~  x! U3 k, Y7 z
  1390. session.serialize_handler = php$ A7 F/ u( |+ }4 i+ g
  1391. 6 _8 `. I) S; @! R! a% p
  1392. ; Defines the probability that the 'garbage collection' process is started9 |; c3 @% Q1 T' G0 ]3 b
  1393. ; on every session initialization. The probability is calculated by using
    - A) e( Y* ^$ p. P, Z7 n
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator1 u- E) u" ]% c8 H! ]
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    0 B4 t1 t* Z5 O9 @) K6 `4 k
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    / O* x: h4 b) P. P. Y& |/ L, f
  1397. ; the gc will run on any give request.
    5 [/ `8 @8 a2 g- Z0 I3 h! }
  1398. ; Default Value: 1! E/ I1 U9 Y  p' V: R! ]
  1399. ; Development Value: 1
    ' \) H2 @% L3 B1 [/ G) b
  1400. ; Production Value: 1; I& [2 R. P. ]& g9 F! v8 |
  1401. ; http://php.net/session.gc-probability
    0 G% W1 i% n. \/ M$ ^7 y
  1402. session.gc_probability = 1
    2 X# ~' y! ^' a
  1403. 4 u5 i4 }8 |) n
  1404. ; Defines the probability that the 'garbage collection' process is started on every! p. @( f7 N3 {1 u
  1405. ; session initialization. The probability is calculated by using the following equation:" {4 m3 t" I( j6 _: a  |' R
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    . O4 ^5 a! j5 j" T# v( ]
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1% }' L* }$ R% c0 s
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance4 K3 t8 X  b# q( F+ _* U3 r' a
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you5 K) Y6 B, f- ^
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,% k0 o' J1 B# U* x) \2 d
  1411. ; this is a more efficient approach.
    9 g: q$ u3 }, b; i1 V" i  X( @9 d
  1412. ; Default Value: 100
    ( r, V$ |, I7 r( u" P+ ?# A9 ~
  1413. ; Development Value: 10007 }- @' ~( I0 h3 Q
  1414. ; Production Value: 10000 w& r6 J# S8 ^2 `4 Q. a
  1415. ; http://php.net/session.gc-divisor5 m# c5 D* W- B3 F: S0 i! w
  1416. session.gc_divisor = 10009 Q0 I' H: f8 {- f
  1417. ) j0 Y* }1 p: T1 j
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    # e( o8 S2 ]3 L
  1419. ; cleaned up by the garbage collection process.( X1 {0 |0 e4 ]
  1420. ; http://php.net/session.gc-maxlifetime
    6 L$ I8 |" h6 n# a+ y* g" @$ e- ^
  1421. session.gc_maxlifetime = 1440; F3 W9 A2 F) D' x% O3 G: Y; M* G# \! T

  1422. . }+ i0 M+ _3 ?# R! H) o& R% A
  1423. ; NOTE: If you are using the subdirectory option for storing session files" w1 _2 x) h+ m, n
  1424. ;       (see session.save_path above), then garbage collection does *not*
    / K/ t1 T! k# e' o' @% f8 U5 f& e
  1425. ;       happen automatically.  You will need to do your own garbage
    " N" ]+ ~9 y$ Z2 ~3 b
  1426. ;       collection through a shell script, cron entry, or some other method.
    ; Y. W" Z: O5 H- n8 x" ^
  1427. ;       For example, the following script would is the equivalent of1 e6 ?6 d9 R7 P4 R* t" G4 [0 [
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    : v- g* x$ T: O% t4 n3 D! }3 Z9 A
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    9 C1 m3 ^. K; e, d3 T
  1430.   _- P/ w1 l- R; G" j) w
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    4 y, J. B; K) B) K: P* K: q7 a, b
  1432. ; HTTP_REFERER has to contain this substring for the session to be# \& _% l% K& a# o6 a9 T" k; @
  1433. ; considered as valid.6 h1 G/ z' q0 v& o; `6 G  W2 w
  1434. ; http://php.net/session.referer-check9 q8 x& B! c  P/ u
  1435. session.referer_check =
    4 S1 M+ d# D4 }5 C" \6 k; \
  1436. # u+ v' D7 R8 h' ^) I% x
  1437. ; How many bytes to read from the file.+ |& t5 m/ M: C8 H
  1438. ; http://php.net/session.entropy-length3 E6 b, ^/ c' v% v9 B: K; [6 T
  1439. ;session.entropy_length = 32
    7 ?# l5 O0 U" M$ e( r

  1440. 2 N) g7 u/ o: S3 L
  1441. ; Specified here to create the session id.! ]3 p+ C" }" j
  1442. ; http://php.net/session.entropy-file( F6 }  d$ X" x
  1443. ; Defaults to /dev/urandom' J' V3 ~* e7 Q
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom" ]! d$ P, y+ p' {0 T0 k  ]3 p3 D
  1445. ; If neither are found at compile time, the default is no entropy file.
    0 ?; y3 n  K) K0 h7 T
  1446. ; On windows, setting the entropy_length setting will activate the% G4 Q% r/ J6 h" r% i/ z" P4 r# R
  1447. ; Windows random source (using the CryptoAPI)
    : j6 `) q+ y3 j( r, [1 |
  1448. ;session.entropy_file = /dev/urandom
    5 J7 L7 V3 D; V2 C

  1449. - V3 T" k" ]* |# x5 u4 r: u
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects6 F8 _+ P6 n$ j) L- n
  1451. ; or leave this empty to avoid sending anti-caching headers.
    4 ]* }3 k2 r* H
  1452. ; http://php.net/session.cache-limiter* ?) N* `: ^* V9 R% W0 B# e, x8 I
  1453. session.cache_limiter = nocache
    - @: D4 g9 C" g  V* [; t

  1454. 9 @8 @& w0 i0 m
  1455. ; Document expires after n minutes.1 g) O5 p1 [  ?& l; E# ]; T7 u
  1456. ; http://php.net/session.cache-expire7 ^7 s1 F! `; k3 T0 w: R& |. J/ d
  1457. session.cache_expire = 180' ^( E5 [# T* ?4 C; r" n7 ^6 |
  1458. $ `4 p: x7 `- D% H' w3 K  C, ~8 G
  1459. ; trans sid support is disabled by default.
    + S  Y4 I& W: M( j- G$ Y
  1460. ; Use of trans sid may risk your users' security." `1 o7 W0 m& y- P0 G3 C" t
  1461. ; Use this option with caution.
    - p. E# ]" v2 @# n$ T0 f/ L
  1462. ; - User may send URL contains active session ID
    - L4 @0 o# X! e5 b) E
  1463. ;   to other person via. email/irc/etc.
    * f  j7 [! Y* j  z  X4 I* J) H; q
  1464. ; - URL that contains active session ID may be stored
    ; M( F1 X' g0 T2 x2 R6 P2 q
  1465. ;   in publicly accessible computer.' u# e. G. b8 p9 K
  1466. ; - User may access your site with the same session ID
    ; i( Q5 U/ V6 z8 j6 ^' E  a
  1467. ;   always using URL stored in browser's history or bookmarks.
    & V% J$ p4 x+ W1 f2 c3 _3 q1 s
  1468. ; http://php.net/session.use-trans-sid
    7 H( r: M+ y4 Y9 q* x
  1469. session.use_trans_sid = 07 D! a9 f, X4 o+ Z# v

  1470. ! {1 }, {8 Z, g2 Q) D
  1471. ; Select a hash function for use in generating session ids.( F3 G% h% [" q8 k3 j' t; |" t
  1472. ; Possible Values
    + Y/ c4 I1 x1 C/ I
  1473. ;   0  (MD5 128 bits); A2 A; G' h* x3 F( G! Y# d( f" }! o
  1474. ;   1  (SHA-1 160 bits)
    ) ?1 p; c7 p, w( U: ?
  1475. ; This option may also be set to the name of any hash function supported by- m& m9 V$ u* S
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()5 b2 a0 R* `( X! [/ m  ]
  1477. ; function.: q5 \6 N: W$ \, a% z' _
  1478. ; http://php.net/session.hash-function
    ( m/ H8 K0 g8 f7 P
  1479. session.hash_function = 0
    , E" T* |7 e' u
  1480. $ c, R- n9 O  }( t/ F7 U
  1481. ; Define how many bits are stored in each character when converting* q! R( X1 P/ h$ H3 l; R3 \
  1482. ; the binary hash data to something readable.
    ' K; J% _& Q: S/ l; G+ z
  1483. ; Possible values:
    ' U; @$ _0 X) v" ~8 q) O
  1484. ;   4  (4 bits: 0-9, a-f)
    ) J+ B: W7 T8 }# w. A+ H1 b% y9 x
  1485. ;   5  (5 bits: 0-9, a-v)' q, C" Q) d! F1 g
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")% d3 C; Q) w9 z. {) ]' w& N9 Z( s$ [
  1487. ; Default Value: 49 D# a& f/ V( Q2 d9 b$ F
  1488. ; Development Value: 5# ^+ h1 x* n- l+ d( `% {
  1489. ; Production Value: 57 Z! Y$ n( a1 j  Q: K
  1490. ; http://php.net/session.hash-bits-per-character( b2 `9 v; w2 o4 p5 r0 t  [
  1491. session.hash_bits_per_character = 5
    ; W& B- j; g+ h8 X3 r' n1 w% Z2 Q% ], ?
  1492. 3 q, p" s) p, r% D" B1 d4 ?
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.7 x% Z" v  [: h, s* `3 v
  1494. ; form/fieldset are special; if you include them here, the rewriter will3 X* E1 j. J. }3 i8 ~' k
  1495. ; add a hidden <input> field with the info which is otherwise appended
    % G# L* ?. P7 R/ d; o9 Q
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.0 l" Y9 I" \- d6 c8 |& {+ l
  1497. ; Note that all valid entries require a "=", even if no value follows.
    $ P7 O& M7 W& [9 {2 R$ O
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ( _, z& r. H: W4 L: W
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 E# M" y& h$ A! f
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; M8 K3 u9 g  u4 k6 Y0 E
  1501. ; http://php.net/url-rewriter.tags
    6 C2 M6 W9 s$ V, }
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 ~5 K+ B: P9 F* M/ m
  1503. 3 H- k5 k3 ^5 j4 A% `; o- S
  1504. ; Enable upload progress tracking in $_SESSION# p8 l2 O7 K5 M3 X, @1 _. b: s" ]
  1505. ; Default Value: On" q" r- p7 ~0 z3 |
  1506. ; Development Value: On% k: G  l2 o0 b! B# h; J
  1507. ; Production Value: On
    " I7 Y: b; e. L) r& \1 N( H( J7 u
  1508. ; http://php.net/session.upload-progress.enabled
    1 G9 e% \- ^2 t' N6 P& ~  t
  1509. ;session.upload_progress.enabled = On
      o! h4 k, x9 i6 T; k- [
  1510. & w6 O: J& n% n' Y; r: Q1 Y
  1511. ; Cleanup the progress information as soon as all POST data has been read
    $ f8 x9 j1 H! A+ T
  1512. ; (i.e. upload completed).4 ~+ A; q- r' r- l! J( p+ s
  1513. ; Default Value: On- `% G: K, y! h6 g
  1514. ; Development Value: On: K) \( w) t' l# m
  1515. ; Production Value: On8 v0 d( F( h/ I) ]4 |
  1516. ; http://php.net/session.upload-progress.cleanup3 x! X6 z! L  |) f
  1517. ;session.upload_progress.cleanup = On
    7 f, c4 Z- U9 u
  1518. 6 u( R5 I! m6 k( `! B3 H8 g
  1519. ; A prefix used for the upload progress key in $_SESSION
    " e0 [8 D+ o! v+ y
  1520. ; Default Value: "upload_progress_"
    & J7 a* h0 o0 Y" S6 c+ K8 K
  1521. ; Development Value: "upload_progress_"% T4 x2 f- E# {* d
  1522. ; Production Value: "upload_progress_"! j5 H0 i7 i0 x( C, o, \3 d" Y
  1523. ; http://php.net/session.upload-progress.prefix
    0 m$ Y  t  S+ ?( ^& o4 F
  1524. ;session.upload_progress.prefix = "upload_progress_"& B5 i- z8 N6 Z4 E: M% b- V
  1525. 0 A+ I+ ?& n6 r# `! G, P+ ~
  1526. ; The index name (concatenated with the prefix) in $_SESSION3 g9 ?# |1 Y( y
  1527. ; containing the upload progress information3 E* U. x  w4 @. F& t# p/ ~' E
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    1 O4 |" |2 l$ [
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ }6 [: g0 p' _7 O5 v' B1 @" S
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"5 V' n- U2 j- R0 u/ \/ [& A
  1531. ; http://php.net/session.upload-progress.name
      v# j! x: w  v
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    - [7 F, j& b% E# U- X! o* e

  1533. 4 z1 s4 U6 S  o' Z- G3 t$ u
  1534. ; How frequently the upload progress should be updated.
    $ F5 l8 p4 @3 s* J6 Y4 d0 M
  1535. ; Given either in percentages (per-file), or in bytes( j" E, @3 ~/ J. E+ X
  1536. ; Default Value: "1%"3 b& B' _2 k( }( }. e
  1537. ; Development Value: "1%"
    $ K4 }2 F5 H% p! j/ k2 e+ i
  1538. ; Production Value: "1%"
    5 E/ V' Z4 r! |, Q% M' C
  1539. ; http://php.net/session.upload-progress.freq1 Z6 k1 [* A( M9 B2 H
  1540. ;session.upload_progress.freq =  "1%"3 w- H6 {4 z- U/ d$ ]9 D
  1541. / {% S- Q) h; m# P/ b: d3 X$ |' D
  1542. ; The minimum delay between updates, in seconds
    , ^! m$ y& b$ k0 m4 C
  1543. ; Default Value: 1; b$ o1 T4 x# t; V6 I, \" J; a/ p. m
  1544. ; Development Value: 1* m; j% |8 }9 h. _0 n6 ]
  1545. ; Production Value: 1
    6 D6 `. Z8 K+ t/ w$ k  ~
  1546. ; http://php.net/session.upload-progress.min-freq# H( I1 I5 X( Q9 p' v
  1547. ;session.upload_progress.min_freq = "1"
    % \3 w2 g4 a! j& W# _3 f
  1548. 4 r- e" X( r. \
  1549. ; Only write session data when session data is changed. Enabled by default.
    1 ~$ U5 a; ^) R- v0 h# t% M
  1550. ; http://php.net/session.lazy-write* ?" A' D& n/ L9 u
  1551. ;session.lazy_write = On+ ?, q6 ?3 l! \2 t! \: @! F

  1552. : O" F$ O1 u6 p$ o8 a% {1 C- a/ m
  1553. [Assertion]6 n6 x, f+ l6 O8 ^5 k
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    8 Z2 Q- _$ f5 }
  1555. ; -1: Do not compile at all
    ( s: a/ |$ ]+ g7 |
  1556. ;  0: Jump over assertion at run-time+ r/ f! n: M* o
  1557. ;  1: Execute assertions
    + }7 A; C7 o0 _; Q; E! g) m
  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)
    4 ^% K5 X" Q; }8 R
  1559. ; Default Value: 17 {3 d- t' e( R$ a  G+ n% W! A- T
  1560. ; Development Value: 15 \+ H" [- H5 y6 p9 W# w/ G$ J
  1561. ; Production Value: -12 y( f2 `8 f1 H7 z  N6 D
  1562. ; http://php.net/zend.assertions1 P1 W3 T& \" ~
  1563. zend.assertions = -16 C( p; m. L" x7 m; }

  1564. ( C9 _; c6 p; _$ p
  1565. ; Assert(expr); active by default.1 r: f- G5 \, v- ~; S! T
  1566. ; http://php.net/assert.active, r( k+ _# _9 l3 d  b0 E
  1567. ;assert.active = On" |8 ]* k/ w7 W# E
  1568. : E* t3 {) o! t+ T
  1569. ; Throw an AssertationException on failed assertions
    ! F4 h; }- D. K0 [: C" s  n
  1570. ; http://php.net/assert.exception
    5 t: R8 `- u; m$ ~
  1571. ;assert.exception = On
    , P6 O* S, y' q$ r" n5 p

  1572. 6 R( E8 O5 o( u" X: R0 [
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)9 ^* g2 q7 M/ b% {* _1 a
  1574. ; http://php.net/assert.warning
    " ~/ |7 a& p& l8 H( Y" ]" W
  1575. ;assert.warning = On
    / M6 _& d+ P. B" V# d4 b$ {0 M8 |
  1576. 7 q4 g  L3 [7 I/ \% q
  1577. ; Don't bail out by default.
    * J6 r4 }" Q! c( r/ @. M1 t
  1578. ; http://php.net/assert.bail* E5 d9 [2 t; i0 p, A1 A+ A4 H
  1579. ;assert.bail = Off1 d. X; [' N% H1 _

  1580. - k# c, M3 I+ \9 u0 c  ~1 B" g
  1581. ; User-function to be called if an assertion fails.
    * B- Y  B, n8 s9 s  {
  1582. ; http://php.net/assert.callback9 c2 o& P/ |: P4 m( ?
  1583. ;assert.callback = 0
    6 S& _, O0 x) ^! O6 {

  1584. ! B% B. V! M" ^! D2 \
  1585. ; Eval the expression with current error_reporting().  Set to true if you want8 M( @, d3 [8 J$ o6 i
  1586. ; error_reporting(0) around the eval().
    , d+ Z. c; F2 }+ z8 n
  1587. ; http://php.net/assert.quiet-eval+ h, N) \2 ^% s4 A
  1588. ;assert.quiet_eval = 0. g2 {5 Q2 L$ ]3 z9 w2 z
  1589. 2 Z. W* q' G* g& |$ x% T, X
  1590. [COM]8 a6 o1 O3 x, J4 ]: b. O
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ! }; @( e/ |: Y+ V1 _" M2 U
  1592. ; http://php.net/com.typelib-file
    5 \+ f0 `: ~5 H: j$ P% B3 U( k
  1593. ;com.typelib_file =
    6 w0 C: F( R2 @! q) ^; s- o
  1594. 9 |: @+ ?! w' _7 a
  1595. ; allow Distributed-COM calls
    7 f" @) v6 F$ }  {3 o, [
  1596. ; http://php.net/com.allow-dcom
    / X% d* o. g6 P, V- k( t. J
  1597. ;com.allow_dcom = true7 v( K- A$ c$ C1 X6 v- @. d

  1598. ) }) |8 H* [( q$ o: ^6 m
  1599. ; autoregister constants of a components typlib on com_load()
    1 q/ |5 `8 I* o( K* r% A# V( e
  1600. ; http://php.net/com.autoregister-typelib- |6 S  f( ?: m3 s. s! L7 D( b) L! D
  1601. ;com.autoregister_typelib = true( t# A' q5 f- z3 i3 B
  1602. - V+ L2 B: ]* ^- f  u
  1603. ; register constants casesensitive
    9 W& Q7 \! ^6 ^  P: H
  1604. ; http://php.net/com.autoregister-casesensitive/ j% ]' P/ r5 W5 x3 @# w
  1605. ;com.autoregister_casesensitive = false6 g9 s5 I7 m3 s9 a
  1606. : x% g# \! W$ T/ A
  1607. ; show warnings on duplicate constant registrations
    : {& y" j5 l+ k' y: M- \& t: I
  1608. ; http://php.net/com.autoregister-verbose
    ( J$ @, X. k0 j' r3 D
  1609. ;com.autoregister_verbose = true. S7 m; u# N8 O& l8 p
  1610. 3 x3 E9 n% b$ B& u9 t4 a' d
  1611. ; The default character set code-page to use when passing strings to and from COM objects.# m/ f% N  e; ~0 c9 B3 n
  1612. ; Default: system ANSI code page
    6 q4 b4 s7 J; Y1 _; L
  1613. ;com.code_page=
    1 h) @. G' S, ~7 G, `: z* I
  1614. / K  [) o1 y7 k' c8 {3 u
  1615. [mbstring]$ S, x! A* L* e7 X, ~" C
  1616. ; language for internal character representation.; A2 H* s( e! [6 ^' R
  1617. ; This affects mb_send_mail() and mbstring.detect_order.: B, q& A, |: w/ n1 D0 X
  1618. ; http://php.net/mbstring.language
    4 W& r0 |: ]" x1 f! x; z: C8 B
  1619. ;mbstring.language = Japanese
    ' |+ {) n) B& \9 ~' F

  1620. 5 ?+ s- w8 g2 t
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.# G! a5 l) R5 ^/ o9 g1 N5 L2 t
  1622. ; internal/script encoding.
    2 w/ r5 ?8 L- f; j( ?9 ^
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    8 |3 o1 h+ i+ v3 V" c* _
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.& ^+ }: L4 e- F7 L/ F* V/ h
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    " w# U, S1 ~6 M+ T
  1626. ;mbstring.internal_encoding =" E, t* P/ b& G9 a# u

  1627. 9 V$ `6 G  Q3 B7 ^
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    $ Y/ @) u; w$ [8 g1 P+ t7 U+ V7 |
  1629. ; http input encoding.
    2 `7 K6 O3 E& ^  Y9 H! u3 a# L
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.! D# w( U5 u# `9 j. q7 j& {; F
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    0 f' R/ F; v/ m! y5 \6 z/ ~. l
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    5 ]8 T9 d# W5 e, _; Z) U' S% K4 E  L; e
  1633. ; http://php.net/mbstring.http-input
    " O9 S* q! R) F' ]0 b+ }
  1634. ;mbstring.http_input =
    & B, D% ?# h0 x: D1 I
  1635. ; n5 ~$ D" }' `: J7 b
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.' V, n5 c* K5 U/ y- |& i
  1637. ; http output encoding.2 b: ~' B7 _. O& L
  1638. ; mb_output_handler must be registered as output buffer to function." N0 t5 \" a% A8 w7 T
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used./ [7 y% O7 d: t  \) ?
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output' @; s. k& U; w
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ' d& C/ \- i& @9 ~' w
  1642. ; otherwise output encoding conversion cannot be performed./ n' Z& W, j, v4 z4 u, X  i. ^
  1643. ; http://php.net/mbstring.http-output
    ! r6 R6 `* \+ Q6 |, A
  1644. ;mbstring.http_output =
    ( [* {$ v# d* O
  1645. 7 ^# h, A/ t: J# N& L5 l
  1646. ; enable automatic encoding translation according to8 X6 O8 ~  j9 I: p* J6 N# t! N
  1647. ; mbstring.internal_encoding setting. Input chars are
    ; s- P1 g# B3 Y% [- |8 g  _
  1648. ; converted to internal encoding by setting this to On.
    & O8 u' v& W1 Y, P
  1649. ; Note: Do _not_ use automatic encoding translation for1 Y) b5 K# {" u7 r) e/ k
  1650. ;       portable libs/applications.6 n" q8 W9 U" x7 t- u/ o, q" j
  1651. ; http://php.net/mbstring.encoding-translation" U+ v9 B) }  t& O
  1652. ;mbstring.encoding_translation = Off/ A- s: P5 e+ Q( j( v
  1653. * d9 u2 O, r; F. e7 y1 t" n
  1654. ; automatic encoding detection order.9 i# [- ^! x/ S8 C8 t
  1655. ; "auto" detect order is changed according to mbstring.language% k* a( g: n: w
  1656. ; http://php.net/mbstring.detect-order
    7 B( W* _, X! C0 w
  1657. ;mbstring.detect_order = auto* r5 j( T# o& H& C7 d# S6 a
  1658. ! [- Q6 X  `' z9 _+ a7 }' D7 Q
  1659. ; substitute_character used when character cannot be converted) t$ r* Q3 ]1 E7 b+ O9 ~
  1660. ; one from another
    * Z5 {6 c' x* G, b
  1661. ; http://php.net/mbstring.substitute-character. u7 H  l6 X7 s; n
  1662. ;mbstring.substitute_character = none$ V5 j. y2 m3 b4 O$ c! {, G% b
  1663. : m  F* j, W: ?9 S) y4 U3 ?
  1664. ; overload(replace) single byte functions by mbstring functions.+ A" M' y; J; C9 V8 q
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    $ u9 D! \' y; p' r- R% p( F7 d
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    . p9 A7 Z- t7 S1 m' D) g
  1667. ; For example, 7 for overload everything.
    ( U5 R) I) Q3 [9 a8 \$ Q! ]
  1668. ; 0: No overload1 a. w" ?& B$ |- p3 _0 _
  1669. ; 1: Overload mail() function
    * ?3 C% x- _( L& E1 a: P' l
  1670. ; 2: Overload str*() functions! ^: {- r! j( o8 c
  1671. ; 4: Overload ereg*() functions
      _* Q" R0 |9 i4 A/ Q( U: ?$ N) s
  1672. ; http://php.net/mbstring.func-overload
    : C( K8 `; ]" ~& Q( ]! X
  1673. ;mbstring.func_overload = 0
    : P; f5 G2 y( j, \5 |9 I$ h: r( I

  1674. - b6 V" z, `9 ~* B- X
  1675. ; enable strict encoding detection.
    5 D3 x0 I0 N/ {- B2 n6 Q/ a
  1676. ; Default: Off* ~# c( m4 |# h
  1677. ;mbstring.strict_detection = On
    ' [. ^/ F' M: f, p6 a

  1678. 3 k+ h3 x$ u! V( J4 ^- h9 X5 _) z
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    : ~. [- L2 ?/ [/ ~4 \4 q
  1680. ; is activated.+ w7 w7 O& F& x+ j1 h' v
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    7 p6 ~$ w, \* A$ i
  1682. ;mbstring.http_output_conv_mimetype=
    : O: P3 P9 K% o& ^3 Z; h. ^

  1683. 0 w" f* i' w) y$ T7 B
  1684. [gd], h7 L: I, s1 U
  1685. ; Tell the jpeg decode to ignore warnings and try to create( ~% Q, V. z3 a* O& D1 J
  1686. ; a gd image. The warning will then be displayed as notices8 _* l  n! e# }5 C5 j8 ]: G
  1687. ; disabled by default' @% E& ~0 k8 G* r5 {
  1688. ; http://php.net/gd.jpeg-ignore-warning
    * A. i  g( \4 y4 \8 x
  1689. ;gd.jpeg_ignore_warning = 0
    + }  v) H% M; T1 m/ P

  1690. . S0 {, h3 t2 J' o- G2 G) h" N0 f
  1691. [exif]7 N2 U7 w% [9 K
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    7 i, S$ K7 ]3 _- a  J1 l0 Q
  1693. ; With mbstring support this will automatically be converted into the encoding8 Z/ f1 f& _2 I
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding& v8 _# X# d7 R4 q6 a  ~' d
  1695. ; is used. For the decode settings you can distinguish between motorola and
    , ~4 ~4 N9 a0 D' ~5 ]
  1696. ; intel byte order. A decode setting cannot be empty.2 Y& s0 y$ X7 p1 _% ~
  1697. ; http://php.net/exif.encode-unicode2 B7 o. |: Y0 x# _
  1698. ;exif.encode_unicode = ISO-8859-15; [! `( g* t4 ^& b  T" f

  1699. ' s0 J, O" T- t  z( N9 B
  1700. ; http://php.net/exif.decode-unicode-motorola
    & V8 Z% O! D& C+ O. O6 R( P( i
  1701. ;exif.decode_unicode_motorola = UCS-2BE- N( Y( v" W) _7 E9 u

  1702. 1 u% `- c, D& d. \& R+ p
  1703. ; http://php.net/exif.decode-unicode-intel. t4 W, z: @$ M3 m* N8 B8 J
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    6 w' {* [, [! m( }  D# C

  1705. 2 v& Y9 L- N' o9 R+ s
  1706. ; http://php.net/exif.encode-jis
    - q+ \& N. n# s2 K/ c$ y' F
  1707. ;exif.encode_jis =- D$ H7 W3 |$ x) w) G

  1708. " ]: {( K6 `) {  P( V
  1709. ; http://php.net/exif.decode-jis-motorola  P% C0 n6 X) |  C; ^
  1710. ;exif.decode_jis_motorola = JIS  @2 ?+ J# d+ ^

  1711. - r0 W- ^" j# q
  1712. ; http://php.net/exif.decode-jis-intel
    # ]0 |+ h' t5 Q" ~+ K: D9 d5 e
  1713. ;exif.decode_jis_intel    = JIS
    ! a( A7 l# i# @3 h' a. x- {

  1714.   q5 g6 a3 `6 q6 ?, k+ S
  1715. [Tidy]
    # q. c, U* D) F% O7 {
  1716. ; The path to a default tidy configuration file to use when using tidy
    ) h8 ^0 n0 y/ n) |9 t# e; e, Y
  1717. ; http://php.net/tidy.default-config' O" h/ ?. u# x& d# n, h7 A
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg) L4 r8 ?8 G7 |1 c

  1719. # |: I3 \2 [! X! Z) o5 g
  1720. ; Should tidy clean and repair output automatically?4 O% {! }5 c5 ?: R
  1721. ; WARNING: Do not use this option if you are generating non-html content( j& H# t1 x$ |0 m% s, `, u
  1722. ; such as dynamic images7 q5 b% L# ]" E; }! d  a
  1723. ; http://php.net/tidy.clean-output
    , w1 r7 n9 f6 S6 v- o* q* F- j: Q
  1724. tidy.clean_output = Off
    - H: r  E' }+ j9 L* Q" W( C/ h) y1 b

  1725. 2 N% T3 e- U6 i9 h2 H
  1726. [soap]. X( [7 e/ ?/ D
  1727. ; Enables or disables WSDL caching feature.
    - F& K8 d* c- V' t
  1728. ; http://php.net/soap.wsdl-cache-enabled) {* m! x$ {3 P# Z
  1729. soap.wsdl_cache_enabled=1- S; {( \/ l9 f/ A' ?

  1730. % ~* _' }5 q. `2 u
  1731. ; Sets the directory name where SOAP extension will put cache files.
    , n6 x1 G* c% b
  1732. ; http://php.net/soap.wsdl-cache-dir& H7 g) r3 z) j) y
  1733. soap.wsdl_cache_dir="/tmp"
    * I, q+ m3 n3 O* g1 i  K% v
  1734. ; k+ b2 E; @: v
  1735. ; (time to live) Sets the number of second while cached file will be used1 Z. x" Q% f7 c- p4 F& H0 v
  1736. ; instead of original one.* l2 M! i& n  x. H/ ^
  1737. ; http://php.net/soap.wsdl-cache-ttl
    4 F3 o" }* R# j7 S  {
  1738. soap.wsdl_cache_ttl=864001 S6 _! }  }' ^1 Y2 R: t

  1739. ( q8 E. m  [4 c' ?
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    . o/ o9 ^: `4 g) G- ^0 R
  1741. soap.wsdl_cache_limit = 50 x  t+ d! s( t" \; d
  1742. ) K+ D+ o4 |: U3 R8 D7 p% c; f
  1743. [sysvshm]
    * R- B9 l% e* g6 H4 V/ S5 \1 d
  1744. ; A default size of the shared memory segment& U3 o, M' n; b* D
  1745. ;sysvshm.init_mem = 10000
    % \+ N; Q" N5 [( b4 }. d9 u# s+ o" Y
  1746. . v+ d1 Z; E( o+ u% q) l
  1747. [ldap]
    8 N- J, O! `$ g7 @
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    3 z  n' a" r" D+ z8 t5 h
  1749. ldap.max_links = -1' U) ^4 y8 M" k" a6 v6 l$ {6 N

  1750. & k8 Y+ }# m! V& A
  1751. [mcrypt]3 [9 B6 W/ x& w6 }7 @
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open7 N, h* u. ~8 S1 f: F  x
  1753. 9 o3 M9 a+ i) }0 E8 E
  1754. ; Directory where to load mcrypt algorithms; c( a' u$ x( d% L# B4 u
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    2 o0 t# G: v% N* }
  1756. ;mcrypt.algorithms_dir=
    1 e3 @2 z% h. n5 ]; X

  1757. ! x. G3 j$ [5 k* m: y
  1758. ; Directory where to load mcrypt modes
    ' n+ |3 m1 y7 [# a8 |, t# l3 s
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    # s5 S5 K9 B" f% O
  1760. ;mcrypt.modes_dir=  N- j9 j) R2 T; \

  1761. : p8 K' |. n% N2 X% x
  1762. [dba]0 e$ c. z& T/ C& p
  1763. ;dba.default_handler=
    + t) y; A+ I1 K1 D
  1764. 6 c* G  h/ i$ W: |4 G5 ^, W( ^
  1765. [opcache]
    + v  B9 p) S7 s1 v
  1766. ; Determines if Zend OPCache is enabled
    + p. j. B* O3 ]* g7 T- O0 {" Z, }
  1767. ;opcache.enable=0
    4 S7 Y' M( B" T' h0 J

  1768. , E5 [1 a, m( E$ o# q
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP. `3 B0 W* X+ ]; G
  1770. ;opcache.enable_cli=0
    ' L! z4 R4 ?+ }' R$ p3 u
  1771. . X8 ~! Z! B; e( u7 j% O6 g
  1772. ; The OPcache shared memory storage size.
    ; B* A& i5 O2 o0 V
  1773. ;opcache.memory_consumption=641 s' z0 h/ p' z; E2 n
  1774. . J9 m; U0 |' y* u
  1775. ; The amount of memory for interned strings in Mbytes.& N* o8 Q  I) H# l  x0 g
  1776. ;opcache.interned_strings_buffer=4
    " A% d1 u' P# U/ K6 K8 p; v
  1777. 8 a1 t$ `4 o6 i2 ~& w4 G
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    ) J" L$ c0 V) }, S; {
  1779. ; Only numbers between 200 and 1000000 are allowed.! S6 @# ?0 h8 ^
  1780. ;opcache.max_accelerated_files=2000
    1 m$ @2 c# X+ {# p  x9 b. n
  1781. 3 s0 Q" O9 v( [0 p, |, i) t
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.# t7 Z0 ?4 s* l
  1783. ;opcache.max_wasted_percentage=5
    8 R, p# r$ z6 X2 X4 C$ s* |
  1784. : J. y7 {, u! }5 Q% E& t. W
  1785. ; When this directive is enabled, the OPcache appends the current working
    0 ~8 m1 K/ V& K5 g- @4 |! a
  1786. ; directory to the script key, thus eliminating possible collisions between
    ( X# V& |! }' i& {
  1787. ; files with the same name (basename). Disabling the directive improves
    2 N7 k( W  V$ V4 A1 }$ |: q) K& E8 ?
  1788. ; performance, but may break existing applications.
    : I9 u1 h$ ^% R2 q
  1789. ;opcache.use_cwd=1* p6 b6 P0 c' U; G, q
  1790. $ T+ Q7 ?4 a3 |/ z: }' F. G6 S
  1791. ; When disabled, you must reset the OPcache manually or restart the! V" `5 G% g) E$ m
  1792. ; webserver for changes to the filesystem to take effect.
    , W0 w- q, g  v! ]/ B; W
  1793. ;opcache.validate_timestamps=1
    " {" v6 e+ H: t

  1794. 5 n9 }$ P  p6 p! Z: L5 l
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    8 q  ?( w  j8 _. s
  1796. ; memory storage allocation. ("1" means validate once per second, but only2 ^4 B3 W5 Z9 i# E7 N' H
  1797. ; once per request. "0" means always validate)
    & r1 Y4 Z4 [2 B/ \/ i/ z
  1798. ;opcache.revalidate_freq=2. L# X1 r6 c# r+ ?0 j7 K
  1799. $ t1 `, ?) O  _7 r* G. R
  1800. ; Enables or disables file search in include_path optimization* X$ @; J# }6 I, `4 P
  1801. ;opcache.revalidate_path=0
    1 W8 f; U; b4 O4 T/ E& A

  1802. , ^0 J8 Q$ y  a2 }% q3 B3 k
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the8 v/ G) f# ^' X0 ?
  1804. ; size of the optimized code." [0 B# K0 A) y  h5 Q
  1805. ;opcache.save_comments=1
    ; Q' @0 b0 [2 V  l0 n( V# ]
  1806. 3 X* e5 r* q: u. S" ~- G' \
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    0 O5 L1 R: E7 `& `0 @2 g
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    5 h' k( ^# K$ w2 y8 L: N
  1809. ;opcache.fast_shutdown=0: J# c. ~- A- W8 @! w- V2 I

  1810. 2 {& n& c5 f& W! M/ D( ]4 V9 v/ |" h
  1811. ; Allow file existence override (file_exists, etc.) performance feature./ ]- E% B/ X" S1 A
  1812. ;opcache.enable_file_override=0
    3 t6 n2 n+ V+ _/ ^' l  y  c( W
  1813. . M, `4 n! L5 B. c1 ?6 K5 O' `. R
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    6 a( r0 G6 ^0 G
  1815. ; passes
    & S3 u1 L. h) _- K" u' y
  1816. ;opcache.optimization_level=0xffffffff
    - R! D/ |* Z+ k+ K" W7 y! s; H1 r
  1817. ! }/ W4 B) o  e+ w3 f( y, j
  1818. ;opcache.inherited_hack=1
    5 ?- P. d3 w5 L' L2 X
  1819. ;opcache.dups_fix=00 D# L0 i, A' H4 k' i  j5 V
  1820. - L1 o" ^# L2 m1 O# J1 E* [, K2 V( [
  1821. ; The location of the OPcache blacklist file (wildcards allowed).! H! k7 X* j# j! o# h
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    ; Z  Y# O# u  _9 G( l: P9 H
  1823. ; that should not be accelerated. The file format is to add each filename
    : S6 d' P) F, Z1 g* w; p8 T; X
  1824. ; to a new line. The filename may be a full path or just a file prefix
    * {  S! p7 c5 ]% ?; o+ Y! b
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    6 g- {0 z1 X) ]1 J* l& @! I) D$ N
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    + X: ?; P0 _6 `7 `$ O6 m
  1827. ;opcache.blacklist_filename=
    0 `6 S! f0 u  f3 U
  1828. - E( N( y: d0 u: T  D  G  D
  1829. ; Allows exclusion of large files from being cached. By default all files
    0 J8 ]3 d$ P) G9 `" v  j' d) `8 |. L
  1830. ; are cached.
    : d- c; H) L* |' [1 b5 W* |% E0 X
  1831. ;opcache.max_file_size=00 h4 W! Y+ B2 a# w# G

  1832. 7 Y4 t4 ?: V6 _$ H! `2 w5 m! l5 _7 F
  1833. ; Check the cache checksum each N requests.2 M3 I" }/ Y% ?/ `$ R1 k
  1834. ; The default value of "0" means that the checks are disabled.' o( r5 r. Q3 q1 h+ e7 z9 [  f
  1835. ;opcache.consistency_checks=05 O3 Z7 f# t4 p% b
  1836. ! Y$ {0 `" ~9 F  k7 D
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    & f6 B' W  }, a$ w$ C
  1838. ; is not being accessed.6 `, U9 u3 y" ?/ U
  1839. ;opcache.force_restart_timeout=180
    . N! e9 e% B' b, Y- g
  1840. ' [* J  I% g. `, E
  1841. ; OPcache error_log file name. Empty string assumes "stderr".9 f. F9 B3 T- W' k; d4 @
  1842. ;opcache.error_log=
    5 U4 A  D( p2 l1 f- w) C7 d) X

  1843. + S  Q' N4 c9 n" j) O/ u0 C9 Z8 t
  1844. ; All OPcache errors go to the Web server log.
    3 K6 X6 P. O7 z% }
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.5 j7 N3 z% e+ q% ~
  1846. ; You can also enable warnings (level 2), info messages (level 3) or9 f7 F: U" X3 }) `8 N) w) P
  1847. ; debug messages (level 4)." w5 v3 j8 c9 p
  1848. ;opcache.log_verbosity_level=1. o: ]# p9 @- J1 J" ~. G
  1849.   s  @, i, s& q, [1 j  X# r" o" V
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    - {$ ~$ S! l9 w
  1851. ;opcache.preferred_memory_model=
    , K  H! k* l, ?( D6 S  k
  1852. $ a; N( @3 q4 K
  1853. ; Protect the shared memory from unexpected writing during script execution.& J- x; E  L: W. t4 _
  1854. ; Useful for internal debugging only.
    6 s+ C5 c9 U- J+ N, n6 D
  1855. ;opcache.protect_memory=0
    9 @+ Z' }2 }) U5 E6 Y
  1856.   g3 y. C7 e. y2 ]' {# g( w
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    ' D7 `- H1 L0 a2 f8 _" Y" [( P
  1858. ; started from specified string. The default "" means no restriction
      |, @' W$ `' Q, \$ Z1 i) @7 }
  1859. ;opcache.restrict_api=1 s. i9 L5 ]- `7 |
  1860. % N9 i% A. Q7 h" h. Q
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    + a2 V7 ?/ \& o4 [: ?4 S# K
  1862. ; processes have to map shared memory into the same address space. This$ y+ T& B! Y# w- U5 f6 M  ~  ]
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    - t+ u" g- N0 O6 ^5 B. o# F' q6 y
  1864. ; errors.9 J3 c0 i9 X0 G5 K! [1 s
  1865. ;opcache.mmap_base=
    . [4 I- Z5 K1 w8 k, o

  1866. / x- {3 c% ]+ g( H6 ?8 B
  1867. ; Enables and sets the second level cache directory.
    5 w. b' r5 b$ [9 p
  1868. ; It should improve performance when SHM memory is full, at server restart or! w1 ?  E, n/ t) X% p* G+ Q6 w
  1869. ; SHM reset. The default "" disables file based caching.
      p8 N; e7 V. Q, g# J
  1870. ;opcache.file_cache=  q8 T  N! f9 d' W; W5 K0 w

  1871. ' Z& B( {( x: ]" ]: n/ f8 M. l* Y
  1872. ; Enables or disables opcode caching in shared memory./ H# Q  y8 s, R1 `  Y) \
  1873. ;opcache.file_cache_only=08 B' X. o4 U- E% G
  1874. ! E3 Q' N: @1 l# C
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    $ ^4 ?. b7 o, l, s4 v; z
  1876. ;opcache.file_cache_consistency_checks=1
    ; N) P: Z- {* p/ {* W( e( H: J
  1877. . H+ F5 k) n* D
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    * Q9 t) Q( o: l: N$ q+ D2 b$ b
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file" H) n. ?8 K1 W$ n
  1880. ; cache is required.0 e5 H% O+ C& w* ?
  1881. ;opcache.file_cache_fallback=1
    4 N( ~9 b6 ?2 o( Y7 ~- W- t

  1882. . y/ S$ B1 b2 U1 S; C
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.  c, M' o/ f! ]" G& J0 s+ o6 G" k
  1884. ; This should improve performance, but requires appropriate OS configuration.  x/ E" b) R+ j: C* C- h
  1885. ;opcache.huge_code_pages=1; d. N& R# E& t* T2 \* F

  1886. , `; N; T4 Y9 v7 |2 s2 H5 E) ^; N
  1887. ; Validate cached file permissions.
    , r8 s5 L% ~* T5 j0 Q; _" F' M
  1888. ; opcache.validate_permission=0) t+ ?# o& A# {& Y
  1889. # g) e/ X( S+ t4 @, Y, ^5 q. i. t5 J
  1890. ; Prevent name collisions in chroot'ed environment.
    $ L; }' K, w! J& E/ c; E6 D
  1891. ; opcache.validate_root=0
    ' P8 E  Z, b9 D; ~

  1892. 1 _4 f* k+ {9 K% N5 k
  1893. [curl]1 l$ R# W" ]. }# Q0 l
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    * p8 E, F) ?$ P
  1895. ; absolute path.6 q6 y( Z& s0 m  ?  j1 \
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt  e& e' `! D; N9 q5 j( G3 ]: ]

  1897. , P  ?/ B) U( U: P
  1898. [openssl]
    ' g( P" M* `, h. p$ B4 a+ m" k; s
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
      v. n- U6 E! p3 R
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should  q3 G8 k3 W; B
  1901. ; not specify a value for this directive as PHP will attempt to use the
      v, P) _2 [9 T2 a4 K& I& v
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    % o8 j( V9 l- E5 b
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    5 y  {$ R, v" q4 h" I; h) M
  1904. ; option." a# _# p: T& O/ r9 }0 m; y
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    8 w2 [8 h/ ?& W& Y7 K; F2 I
  1906. * c! w( X) d8 O
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    8 ?$ E5 z3 ]5 ^* i# V
  1908. ; directory pointed to by openssl.capath is searched for a suitable5 U( O! U, s3 b" w
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    1 u3 I; K1 i+ t0 C$ z8 I. x! R
  1910. ; Most users should not specify a value for this directive as PHP will# S. T" b" b. x8 M, h
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,1 Q- }6 I& D) O3 G6 J! u: h. H6 r, V
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    8 p# N: E: F* F( e% F( P
  1913. ; SSL stream context option.. r8 F! `+ @% X  A7 ^
  1914. ;openssl.capath=
    ( n% S. y4 @! b9 [7 t$ `: u& U" |4 C
  1915. " v. U; z& T# q: Y( [
  1916. ; Local Variables:! c8 o4 ~. L! I/ v+ s
  1917. ; tab-width: 4. u' g  q) F* q" P: O
  1918. ; End:
    2 [! Q7 W- w6 Y9 O. P$ U7 t0 Z( W9 Z
  1919. + {/ C* {1 M8 {% b
  1920. ;eaccelerator% Y. f; G2 [& B
  1921. # J: n* \6 ^& @. y
  1922. ;ionCube% C+ O; q& r* i0 c- `: \

  1923. * K1 j) B/ t& g2 M
  1924. ;opcache
    5 g7 h/ o6 ~2 t" r) z2 E: j1 z

  1925. 9 @" q0 e, ]0 K; E: X9 U1 S5 P& m
  1926. [Zend ZendGuard Loader]" \0 b# t% h0 Y3 P& o3 f. U
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.8 P. M8 ~6 g+ A7 `! T5 {% A
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    ! m( i" @' q/ [
  1929. ;zend_loader.enable=1
    ! |0 A& O6 [- e6 h3 b0 M
  1930. ;zend_loader.disable_licensing=0! u( h" k# i# f8 J9 k
  1931. ;zend_loader.obfuscation_level_support=3/ v; u, ?+ t' t1 @- W, K
  1932. ;zend_loader.license_path=
    7 O2 B& w6 M8 L! T

  1933. 1 i8 u; Y: V; c. r+ U. }# J
  1934. ;xcache
    . T) i& R  ^* F% n' `, m% f
  1935. 4 d* [7 G% h# z& Q5 N, _
复制代码

9 Z( i) `" I1 l0 ~/ `3 k+ F" g6 N  b6 O$ Z* s1 H* K9 V

) M% S& r, X3 s$ s1 f
+ T9 f( z) T) u$ q
& p9 q& L" \; K1 o
, S; }& f- X" G( {
4 o2 ?- P% z% u! v8 F% d* o4 RPHP5.6版本原始设置* n% b* E8 G! P! ~
9 I) S, G2 D3 b2 S5 y3 x4 R; d' R+ u
  1. [PHP]
    * V! P* L; ]# F! M# c

  2. ) P3 @9 S% d' K5 b0 O2 z* w
  3. ;;;;;;;;;;;;;;;;;;;' Q; ~, c! c, s# k. ^0 [
  4. ; About php.ini   ;7 e7 `1 H- _/ e1 @# k) i" U
  5. ;;;;;;;;;;;;;;;;;;;
    . e# I9 L, K# f2 w% [& N4 p
  6. ; PHP's initialization file, generally called php.ini, is responsible for- x; j* ?/ b( k+ ~! a& m$ t
  7. ; configuring many of the aspects of PHP's behavior.1 K! S* }/ l/ y, O, E+ u4 W
  8. : J& d1 w$ k' V3 T4 T: ~5 e: P2 {% h5 K
  9. ; PHP attempts to find and load this configuration from a number of locations.; X6 p8 F) S" Z* H- R6 g1 E" P# ~
  10. ; The following is a summary of its search order:
    4 z: s! ?& q" H* s1 Z: I! f) H
  11. ; 1. SAPI module specific location.3 ~7 @* [7 v( P6 s% T
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0); R- B5 E- }# z1 t6 l; `
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    8 j, c) {. a+ N& d# S- j
  14. ; 4. Current working directory (except CLI)/ ^0 O+ S; J. W4 I$ I# |* w5 }3 V- E
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP- U# ~7 o4 u; o$ K
  16. ; (otherwise in Windows). ~2 _6 f% Q8 U- W& p
  17. ; 6. The directory from the --with-config-file-path compile time option, or the2 k/ k) R6 y3 H: D2 }  d
  18. ; Windows directory (C:\windows or C:\winnt)& a2 `; Y4 A, s9 O: C
  19. ; See the PHP docs for more specific information.1 J2 o4 v3 ^0 ^8 T6 Q0 H6 v
  20. ; http://php.net/configuration.file& i8 [+ B- D& s

  21. & X: i/ O/ j7 \4 s& U. @, k
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    * }; F5 E: d# w3 r* \
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).2 m( e2 X) L: }1 z
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    0 G2 C& z& D0 y; W
  25. ; they might mean something in the future.  G# J# H( u. n7 A7 L3 _
  26. & w8 b8 Y$ b6 `' d3 U4 I
  27. ; Directives following the section heading [PATH=/www/mysite] only: d3 P# B& |& `9 ~  }4 H' O3 c/ {
  28. ; apply to PHP files in the /www/mysite directory.  Directives. S0 J/ \; \# }" h$ E/ o
  29. ; following the section heading [HOST=www.example.com] only apply to
    - v! k# F) B+ ?  Q4 G4 l1 Z+ x
  30. ; PHP files served from www.example.com.  Directives set in these" o6 e3 x( B, R2 e0 p5 W9 S! e$ P/ p
  31. ; special sections cannot be overridden by user-defined INI files or
    . {0 W3 D; p) T: l
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ; k, x2 @7 ?# k* h2 c4 O
  33. ; CGI/FastCGI.
    0 w$ L5 S) r' E, y2 J8 ?1 ]: j) j
  34. ; http://php.net/ini.sections
    ; x$ Y' n8 R: _- L

  35. $ d% r" T, r: y6 l
  36. ; Directives are specified using the following syntax:# G  }& ]9 M% d$ Y
  37. ; directive = value- \" H9 h% e1 s" h; y. I
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.8 P4 g- U- b  \) x
  39. ; Directives are variables used to configure PHP or PHP extensions., Q4 U6 k5 k0 J0 s# L  h
  40. ; There is no name validation.  If PHP can't find an expected
    2 T" M) F' y; `
  41. ; directive because it is not set or is mistyped, a default value will be used.! n5 V- q, C8 w

  42. # r' f0 @. E; K* g. v+ A1 D2 u! R
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    1 W0 D( g1 S4 X2 M7 ]' I" j
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    2 W! e* ~$ B" l2 l
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    " k8 N6 \/ p4 B+ ^& J" D- K( ~
  46. ; previously set variable or directive (e.g. ${foo})1 k0 ]1 m' L3 [5 H- ]
  47. 1 ]9 k+ T1 M( j) j
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:( L' H  @) R! B0 a: t/ X5 q' v
  49. ; |  bitwise OR
    # B+ Y& ~% Z9 T6 X( Z
  50. ; ^  bitwise XOR
    ( v# R8 b1 v# [+ z
  51. ; &  bitwise AND* r( S  ~7 u" d5 G9 D
  52. ; ~  bitwise NOT4 l0 J: F7 y$ ^. D% _3 y3 Y" ?
  53. ; !  boolean NOT: R- E$ U' h) X

  54. 5 }5 ]% Z9 A( }# V* k& y4 E
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.. x0 l2 n! Q' w' X% L8 g
  56. ; They can be turned off using the values 0, Off, False or No.8 j* c* F: m& _0 I
  57. 0 P2 P/ T, P! Z
  58. ; An empty string can be denoted by simply not writing anything after the equal
    5 c) _& a! J) I2 n  T9 j6 f
  59. ; sign, or by using the None keyword:
    ' I9 R# k& t, E0 l- f) q
  60. 8 x0 O0 V3 b& o2 _7 v0 d: V
  61. ;  foo =         ; sets foo to an empty string
    ( K8 a3 c( ?7 T8 i
  62. ;  foo = None    ; sets foo to an empty string
    ) Z, L: N  P& _. P3 j% f
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ) Y- c: J) F2 U
  64. ' d' w( }) ]7 i7 o2 `
  65. ; If you use constants in your value, and these constants belong to a. E! ]5 s6 a/ ?) J0 G
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    2 R+ u5 \  y* c& {$ Z/ J5 Z) J, W# u
  67. ; you may only use these constants *after* the line that loads the extension.
    5 D9 E* h" |  e) C
  68. + t$ ]$ A' o  T' o$ ]3 Y
  69. ;;;;;;;;;;;;;;;;;;;
    . [$ b' _- h6 S' I$ d. ?
  70. ; About this file ;: L. o7 o8 ?6 x& f
  71. ;;;;;;;;;;;;;;;;;;;
    & \4 u# d% t$ z
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    / a% Y# U$ }: s: K# ]
  73. ; in production environments and one that is recommended to be used in
    / ^( ~, c& J: Z# e) o. u* U
  74. ; development environments.
    4 _% ^4 K! Z5 [& Z# Q' o

  75. " T6 L5 C/ [8 Y, _, z( v
  76. ; php.ini-production contains settings which hold security, performance and
    7 q% y; h1 n: m0 r) s; r. k, N* Z
  77. ; best practices at its core. But please be aware, these settings may break" J  _7 |; K& y1 z9 V1 x7 k0 H6 L8 B
  78. ; compatibility with older or less security conscience applications. We( Y0 n  H3 E- x3 s+ v
  79. ; recommending using the production ini in production and testing environments.
    / i6 `* L- b3 g4 W- k
  80. 4 }3 I+ R) \8 G
  81. ; php.ini-development is very similar to its production variant, except it is0 h5 |' L2 Q# `: H' E* H
  82. ; much more verbose when it comes to errors. We recommend using the3 @7 z' u8 r/ O1 q8 i( [
  83. ; development version only in development environments, as errors shown to
    6 o, ~+ d1 ~& L7 t
  84. ; application users can inadvertently leak otherwise secure information.# W+ Y7 @# [0 A" }  U) a. A5 g

  85. * a; ]6 P8 ]8 {
  86. ; This is php.ini-production INI file." z: @/ k- h6 H- l- y

  87. 5 v) A3 C' d! @
  88. ;;;;;;;;;;;;;;;;;;;
    : J+ O. _( o: |; T- P; g
  89. ; Quick Reference ;
    . N5 m, a# n. P9 s  M( E
  90. ;;;;;;;;;;;;;;;;;;;
    ) u$ {) ]& E! [1 w, x: _' ?' Y
  91. ; The following are all the settings which are different in either the production! f1 f: P8 s; m' I/ ]1 j. V1 m
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    % ^; d; b7 Q; O/ D$ Y2 c% ^) Y
  93. ; Please see the actual settings later in the document for more details as to why
    6 }! W5 }7 Z+ I' Y
  94. ; we recommend these changes in PHP's behavior.
    , \, z3 `% L* F2 M3 v$ D

  95. , n' l/ \+ L% o6 m  N; U
  96. ; display_errors
    . i& W! v0 s! h' {; P* ^) k+ ^, @
  97. ;   Default Value: On
    * k6 _2 B6 }) U* b% X7 v
  98. ;   Development Value: On  U, A: b6 K7 k8 g3 Z/ p
  99. ;   Production Value: Off
    2 ^: r* X& N5 D) x* S6 U" a  U
  100. , m1 y7 p* t5 y! I
  101. ; display_startup_errors! f4 ]* |% A- V  `5 O% ?
  102. ;   Default Value: Off
    % s% a% Z; s" J. M! v9 Z9 }7 ^
  103. ;   Development Value: On
    ! _2 e) |. q/ @) K% M
  104. ;   Production Value: Off
    5 x0 s) z% h; q' B) M$ i2 ?( d

  105. 2 H" ~$ I) G% u9 I' g- E9 q4 t0 m/ j' a
  106. ; error_reporting% T0 R& s: y2 @
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED: L1 D7 D! h& ~" L' y
  108. ;   Development Value: E_ALL
    , \5 d% u  `/ _1 e
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    , I+ f. r; \8 u; h! V
  110. 1 E" h4 U8 H5 N" g7 t
  111. ; html_errors
    3 V4 x& n: k# g% m- M* c
  112. ;   Default Value: On
    4 n% \! T8 n9 I0 _" l" h, ~
  113. ;   Development Value: On
    , H' b: Y% k; @; O& p$ I6 M1 {
  114. ;   Production value: On3 w& J8 ]* D: Y( R8 g
  115. % p5 ^6 U* P0 |9 P( p1 p7 X
  116. ; log_errors  w/ X* f1 z2 x/ z+ H# T8 B
  117. ;   Default Value: Off. P% C) `; d8 u: ]4 n# |! D  _
  118. ;   Development Value: On& \# z* v. Q1 ?+ E, B+ `. S0 @: |
  119. ;   Production Value: On" D/ A7 d7 R! g9 n3 L2 }

  120. 2 R" g) ~; J3 H7 Y9 [) L
  121. ; max_input_time
    1 d5 a5 h# w9 R! t
  122. ;   Default Value: -1 (Unlimited)
    - P" R! k# ?9 U  {
  123. ;   Development Value: 60 (60 seconds)
    2 e5 x7 z) B7 V" T$ t# {
  124. ;   Production Value: 60 (60 seconds)
    8 V' Z% z  p( R( v& D* e3 c% r+ K
  125. 3 N9 }" i5 O4 a) z* z
  126. ; output_buffering9 C, T' b$ m" W: y, ~
  127. ;   Default Value: Off. k4 D- S- Z8 z0 i2 @5 y
  128. ;   Development Value: 4096
    ( B7 \4 |7 ^& g5 W; ?& l. y
  129. ;   Production Value: 4096( h/ z+ a, G$ Y0 P1 Q- c

  130. ( p4 Y+ V& Y, d
  131. ; register_argc_argv" T. A6 U) b; k  i9 X7 n
  132. ;   Default Value: On
    : w) ]) K. x3 O: I7 F9 |, s( @
  133. ;   Development Value: Off
    , N5 M% i7 J: I" i
  134. ;   Production Value: Off& d3 G/ B0 _. E2 U' q3 e/ Q
  135. " f+ k  I) n/ j5 P, B
  136. ; request_order2 \9 i9 j3 ~! R) _: M; {# p* z6 I, ^. d
  137. ;   Default Value: None" E& M1 O* K4 n# t
  138. ;   Development Value: "GP"( O4 Z/ c9 j/ B; J* L; K1 r# ?
  139. ;   Production Value: "GP"
    - p: R3 @6 H# Z5 S2 g* T/ ~

  140. - l2 q) w7 x2 C, z  }/ ?$ t5 f9 h
  141. ; session.gc_divisor
    7 C' s7 G/ E, j
  142. ;   Default Value: 100
    ; H4 ]0 H% m+ i5 c9 N
  143. ;   Development Value: 1000
    8 W( _) w! ]+ {1 [3 k
  144. ;   Production Value: 1000
    ; }. a4 s% s' ^

  145. 8 C) v+ D2 J' |+ E# p2 Q$ v
  146. ; session.hash_bits_per_character
    / B' d% G. m; L) N
  147. ;   Default Value: 4
    3 B7 j4 m+ Z5 \; Z  k
  148. ;   Development Value: 5
    8 G% R% N8 T# j( y* h
  149. ;   Production Value: 5
    4 s" U7 ]" ~# _' s9 u# f

  150. ( X$ n7 o0 x, l. `
  151. ; short_open_tag
    ( }# P& I  t- Q; {
  152. ;   Default Value: On+ r: o2 g5 p' F
  153. ;   Development Value: Off0 N+ [7 [* @- X* Z* q( h0 v
  154. ;   Production Value: Off+ L" \+ j* ~" p& C& G' {
  155. : H% _, E$ C% Q
  156. ; track_errors
    : z- x4 U9 X4 d# H7 m% L' I4 T/ b) ~
  157. ;   Default Value: Off  \# W2 \+ d4 @6 S8 c# D2 }1 h7 z
  158. ;   Development Value: On* D- l) y1 w5 e9 k
  159. ;   Production Value: Off" D, J3 a/ m. D
  160. 3 v( R, T8 |) \1 q8 l' Q1 p, M
  161. ; url_rewriter.tags) z/ X" O" d" g4 [
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    - _( X( A# P9 {+ n
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  M2 k/ g& H. l: [
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 M/ Y( A' K  [* x' F4 W
  165. ( ~/ [+ k7 a  b9 R6 O. Q* y
  166. ; variables_order/ q) z0 g8 }3 S. K* s9 I5 f8 Z) Z
  167. ;   Default Value: "EGPCS"4 T- f$ c' H/ r7 E4 M1 y6 K' }
  168. ;   Development Value: "GPCS"; |+ i  s1 I- X7 W; V% _: h! D; P6 n
  169. ;   Production Value: "GPCS"$ k0 V4 G! w& Q* h5 c! {
  170. / m: a/ ^) x, d6 m( P
  171. ;;;;;;;;;;;;;;;;;;;;; v* m0 a+ G; ?# h; s" x1 X$ `
  172. ; php.ini Options  ;( R0 U2 A8 n- t: t  t0 k
  173. ;;;;;;;;;;;;;;;;;;;;
    0 Q9 L/ h4 _5 h2 Y) ]6 P4 I- a
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"9 Q: u2 [: d% u: ?# G5 U. h: q! l
  175. ;user_ini.filename = ".user.ini"
    . q* I: V5 D' z: H; M

  176. 3 m1 Y1 r3 K% c- N/ V3 f4 H
  177. ; To disable this feature set this option to empty value6 w) r1 D# t$ j6 }
  178. ;user_ini.filename =% F; U: I1 c- v+ P9 |

  179. $ N' y& p* j4 z! d$ F9 R
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)- A/ r$ G  t& S9 G* g* L+ ^  d
  181. ;user_ini.cache_ttl = 3002 r4 [  E$ P" {" T* n
  182. 3 g; j# `9 S+ k, [4 h
  183. ;;;;;;;;;;;;;;;;;;;;
    : J! G2 ^+ B4 e: a; w2 X0 K
  184. ; Language Options ;
    2 d$ ~9 }3 c6 Y3 M
  185. ;;;;;;;;;;;;;;;;;;;;$ E0 x, U# M! b6 E0 C8 x2 j9 Y

  186. ) e$ A8 e7 M4 w. u9 d$ V
  187. ; Enable the PHP scripting language engine under Apache.0 X$ }4 L, S6 t% r, L, x2 X
  188. ; http://php.net/engine
    * j8 O: q) Y) F$ F- u3 h! k8 s3 J
  189. engine = On
    3 U& a% Q. j5 ~# r$ ?/ |0 V/ j8 o

  190. + F1 r( A' U( @# E. g& ?, o
  191. ; This directive determines whether or not PHP will recognize code between8 T% ~) {. I' o9 W4 x  O' @
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    8 B& ~$ b5 @6 m* u3 H4 D3 s. [
  193. ; generally recommended that <?php and ?> should be used and that this feature6 F& y' z9 E7 z- T8 w0 f  P
  194. ; should be disabled, as enabling it may result in issues when generating XML  l8 d( Q9 ~/ m6 E
  195. ; documents, however this remains supported for backward compatibility reasons.' }: }3 I! H( W# H; {% e" t
  196. ; Note that this directive does not control the <?= shorthand tag, which can be+ j3 W: ?: N- r4 V
  197. ; used regardless of this directive./ U$ o6 Z& X6 N+ m, v5 F4 g1 D% Z$ F
  198. ; Default Value: On: |$ {" Y+ S5 M% R7 c  E* Q) h
  199. ; Development Value: Off
      V, o; ?5 z2 h/ T5 z
  200. ; Production Value: Off
    # Y. L; A* x0 X' x: M  n4 z. Y9 v1 m/ H
  201. ; http://php.net/short-open-tag: C- l9 J% B# b% @
  202. short_open_tag = On
    - C& ?) D0 X) e2 Y! s+ i5 Z
  203. 2 S" |+ a, Q4 g9 U
  204. ; Allow ASP-style <% %> tags.* L7 R+ N  M7 \$ {( Z4 X6 g) ~
  205. ; http://php.net/asp-tags) Z0 |1 x5 M* ~) q* @$ G
  206. asp_tags = Off/ H- |2 y0 A2 x# c' F" D
  207. $ Z4 l: M6 c0 r, v; Y9 A
  208. ; The number of significant digits displayed in floating point numbers.
    " M+ ^- c( ^! b, \1 U
  209. ; http://php.net/precision
    6 y  P9 Q' R; d7 a
  210. precision = 14
    ; U) n  l& |, m- f4 E

  211. 8 V7 U$ j& N1 z. w2 E
  212. ; Output buffering is a mechanism for controlling how much output data
    ; s, x/ e; C. y/ d6 k0 J
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that9 p6 I5 k; I9 Q; ~% C
  214. ; data to the client. If your application's output exceeds this setting, PHP. @( l6 d( j) k, X& a! |
  215. ; will send that data in chunks of roughly the size you specify.
    : c8 W1 E0 H/ z& R; {- ^3 V$ t7 s
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    3 U; c$ y& |, c( p9 Y# T2 L2 K
  217. ; interesting side-effects depending on your application and web server.
    ( E% S+ e- o! _0 p, M2 C8 e5 e9 U
  218. ; You may be able to send headers and cookies after you've already sent output
    0 y! |* i6 T. E: W
  219. ; through print or echo. You also may see performance benefits if your server is! Z' }/ [4 M6 U* ]* i/ X
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    # X& t" U) f. r' H
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
      R) `  U* T, V: ~
  222. ; reasons.- n$ J2 L, J$ @7 W' e4 w. e
  223. ; Note: Output buffering can also be controlled via Output Buffering Control! j/ L4 M( s! t# W
  224. ;   functions.% o) @" P! Y3 `, S
  225. ; Possible Values:5 A9 g3 O6 S, `( a+ b
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    2 ~+ a4 P. ~+ Q8 q
  227. ;   Off = Disabled
    ( U* K( W3 Y; @# g
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.  r5 |7 w9 j9 [  ~
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    - ~. z; r5 U! B: f" W/ l
  230. ; Default Value: Off8 S, T* v, F$ W" O8 G
  231. ; Development Value: 4096
    * G; o9 m* l% ]' ?$ `
  232. ; Production Value: 40967 n3 J% j3 T+ N2 j
  233. ; http://php.net/output-buffering
    0 S# S" r' b8 d( S
  234. output_buffering = 4096
    7 }2 z0 \* l, ?4 H% @4 @5 p
  235. / g8 D( c0 H8 v
  236. ; You can redirect all of the output of your scripts to a function.  For$ u4 u' D* @6 T# b8 V
  237. ; example, if you set output_handler to "mb_output_handler", character+ C7 B5 |3 p: f* @2 A! R
  238. ; encoding will be transparently converted to the specified encoding.5 A! z. S7 [5 a# L% A% w3 O
  239. ; Setting any output handler automatically turns on output buffering.+ y) k; I& W/ H
  240. ; Note: People who wrote portable scripts should not depend on this ini
    ' T: M- }  D% g$ _4 ^
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    - M: j* C/ f- [+ O' p5 O3 V
  242. ;   Using this ini directive may cause problems unless you know what script+ M. G9 \9 F. @) X! d( W' d8 v" p4 }
  243. ;   is doing.
    1 {$ m  |( C. t4 `4 s# q' D
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"# x" c/ G2 S: p$ ?! Z2 C+ {
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".) w8 t+ F0 P4 p! M; }
  246. ; Note: output_handler must be empty if this is set 'On' !!!!, U6 z: p$ N2 N: e4 }6 F
  247. ;   Instead you must use zlib.output_handler.5 O- n5 w; }9 E& K
  248. ; http://php.net/output-handler2 F" k" h$ l. ~& M% j# e
  249. ;output_handler =
    + E# h7 _# U4 A1 f) ]$ W! q. _
  250. ! J7 Y; |, ^% o% R+ O
  251. ; Transparent output compression using the zlib library) A, j  A# a8 b$ U- d9 e, q
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    + Q) V% H5 v3 a7 V
  253. ; to be used for compression (default is 4KB)
    6 @, N% P/ E3 D" D
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    - E- w9 l" }, H* h
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    $ V# p  U' F7 b
  256. ;   compression. If you prefer a larger chunk size for better
    5 C# }1 Q" M( R, \% s: X
  257. ;   performance, enable output_buffering in addition./ c4 ~4 u! Y) N0 L+ {' ~+ d0 F
  258. ; Note: You need to use zlib.output_handler instead of the standard# I( l- P, [, F. p: f. ~/ R
  259. ;   output_handler, or otherwise the output will be corrupted.
    " j) u% p$ Z' Z5 ?
  260. ; http://php.net/zlib.output-compression
    . V# Y  x) g8 p& \& z4 x
  261. zlib.output_compression = Off4 S/ o7 r( T/ D+ C
  262. 5 V% c: E( x; \( z5 }3 P8 F
  263. ; http://php.net/zlib.output-compression-level
    # [+ }5 U) |7 W$ i
  264. ;zlib.output_compression_level = -1' c# M5 \, G3 D; R

  265. 9 {& V2 i5 g$ T% z" r7 P' ^
  266. ; You cannot specify additional output handlers if zlib.output_compression6 D4 _1 e' c5 T' s  q
  267. ; is activated here. This setting does the same as output_handler but in
    ! `- N6 g7 q& {0 C& _
  268. ; a different order.
    % R+ ]7 j2 N7 ?" ]4 x1 x1 k
  269. ; http://php.net/zlib.output-handler
    5 ]2 z5 `/ h$ l
  270. ;zlib.output_handler =8 h  G! {% e0 x) z

  271. 1 i8 d- F0 P; h" I8 o" e% ^+ ^
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    9 C) H$ R' L7 M8 o3 M: w. a
  273. ; automatically after every output block.  This is equivalent to calling the
    8 ]+ a- I) i. \
  274. ; PHP function flush() after each and every call to print() or echo() and each& c  a+ O2 P$ s' {
  275. ; and every HTML block.  Turning this option on has serious performance
    ! r1 q# b( A" ^. y+ M3 T3 _) `
  276. ; implications and is generally recommended for debugging purposes only.
    # E8 A" [" b& {) I  s, Y5 c
  277. ; http://php.net/implicit-flush1 Y* H. s9 G+ i3 F; }7 c4 `
  278. ; Note: This directive is hardcoded to On for the CLI SAPI2 A7 |" N/ ?4 ?! C
  279. implicit_flush = Off: z) V, y. J; }7 ?
  280. 3 K! V6 z( N' ?* W
  281. ; The unserialize callback function will be called (with the undefined class'! v$ n6 G6 m' k, Q* p* i: x
  282. ; name as parameter), if the unserializer finds an undefined class
    ) t8 q; T5 ]5 F1 ?. M; ]) @8 t
  283. ; which should be instantiated. A warning appears if the specified function is
    $ ^) T7 n% W. z; W: K
  284. ; not defined, or if the function doesn't include/implement the missing class.
    2 u9 N3 v! y1 O$ F
  285. ; So only set this entry, if you really want to implement such a
    2 r0 C9 ~; R! [4 A. U" |3 x
  286. ; callback-function.4 b* a5 [3 H5 t/ G
  287. unserialize_callback_func =( {5 G5 ^) n/ e! T* S* Y) r

  288. * f0 [% n9 z- V% x
  289. ; When floats & doubles are serialized store serialize_precision significant6 C, @  G. M+ N- H: n! W. {& R' l3 \
  290. ; digits after the floating point. The default value ensures that when floats
    , ~3 Z# @" `1 x- C9 n
  291. ; are decoded with unserialize, the data will remain the same.5 c" }2 E. u* z6 Y1 @
  292. serialize_precision = 17
    + K6 K# q3 ?- j8 X7 V
  293. / F1 A7 T7 c/ P# c* P
  294. ; open_basedir, if set, limits all file operations to the defined directory
    % T( n, [) A; |
  295. ; and below.  This directive makes most sense if used in a per-directory% K8 R( K4 ]. N! G
  296. ; or per-virtualhost web server configuration file.9 t- A* G% n$ z" R$ A+ R
  297. ; http://php.net/open-basedir) V" t/ x! u7 d% ?# o0 `3 J6 J
  298. ;open_basedir =
    : A3 `* e) B" C" B

  299. ( p' {5 f  c& p  B+ Z
  300. ; This directive allows you to disable certain functions for security reasons.
    , E6 Q5 w( W7 Y$ Q/ S: z" N8 j( H
  301. ; It receives a comma-delimited list of function names.
    + H9 }& r; L$ a6 A$ B  L* c
  302. ; http://php.net/disable-functions
    ' ~3 ~' {& S' U* ?4 P! \9 i
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    8 s6 R* F" z6 f" g9 _6 Q' G

  304. 7 d" I( W, {3 X& Y- x
  305. ; This directive allows you to disable certain classes for security reasons.8 P. ~5 {* B8 H# H
  306. ; It receives a comma-delimited list of class names.; Y7 s' G# S& d( v' \7 r: i& t
  307. ; http://php.net/disable-classes
    4 x% K& p& Y7 b+ `# ^" P' T3 z
  308. disable_classes =% Y: I1 P$ ]2 f1 {

  309. ( [* t6 h0 f/ H9 U6 M
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in7 ~0 X/ X* o8 \
  311. ; <span style="color: ???????"> would work.* P6 H7 C* p- h# c' Y/ F
  312. ; http://php.net/syntax-highlighting
    - a( X) P, g: x  M
  313. ;highlight.string  = #DD0000
      h: P4 V. b, z$ w( d) r
  314. ;highlight.comment = #FF9900
    , R* X; n1 T$ b1 k
  315. ;highlight.keyword = #007700
    1 [! G9 ]( q# x
  316. ;highlight.default = #0000BB
    & ~) l- @: `* m5 P: v& P
  317. ;highlight.html    = #000000
    % p5 ?" ]& Q- z0 a

  318. - [+ x% Y( P! [$ `8 w" q8 o
  319. ; If enabled, the request will be allowed to complete even if the user aborts2 ^- I  \9 E  V9 g/ U) I! C5 U6 R
  320. ; the request. Consider enabling it if executing long requests, which may end up, ]' d' B/ j! R4 \
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    8 w; K/ _$ O* ^# y+ z  Q
  322. ; is to disable this feature.
      K9 i+ p8 ^4 P! C, e! Q6 l: @$ Y- z
  323. ; http://php.net/ignore-user-abort8 L: G! \+ G" E0 ~# q4 Q* f
  324. ;ignore_user_abort = On! [' t  }$ @* {5 o0 d; \3 p

  325. & v* v7 u) f- |
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    1 w+ a, Q3 H4 B& t. b' Q
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    2 Y, U* x; v$ I& |8 X2 p% l
  328. ; the file operations performed.
    " ~& _# C+ b# V- ~
  329. ; http://php.net/realpath-cache-size
    - A8 `" D8 u( v6 }& e
  330. ;realpath_cache_size = 16k% r0 s  |) d& Z6 d
  331. / q$ k  r8 a$ {
  332. ; Duration of time, in seconds for which to cache realpath information for a given, A, L5 Z' C0 V# ]9 l
  333. ; file or directory. For systems with rarely changing files, consider increasing this4 L2 t/ Z" P0 F! D2 C4 U4 M; ?, R
  334. ; value.* n: F6 N! h9 X, ]; I7 h! }  \: S2 U
  335. ; http://php.net/realpath-cache-ttl: n, ]! Q' z( X2 d' L
  336. ;realpath_cache_ttl = 120
    9 T  R. n0 Z: w& ?  j9 h5 W( ?; L2 o1 R

  337. ' s) T7 f8 r" J* C) `$ F
  338. ; Enables or disables the circular reference collector.
    & }1 s6 R' H8 b" i/ M% M( O( s- q
  339. ; http://php.net/zend.enable-gc9 K% ?. q) q; l; V. C' J
  340. zend.enable_gc = On9 s% C  w8 h0 k  ?1 L7 L5 [, A
  341. 6 F! T$ S* Y# D6 [* G, I2 F4 x
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    6 `' e2 r. j! c) P( i( K
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such( A+ L/ `' S# G  k; g" G; @2 h
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    5 J! N1 |3 r5 O* q# C" s# ~
  345. ; Default: Off
    # f8 \' j: L$ w6 q. a# M- H
  346. ;zend.multibyte = Off
    ( W% p$ P: z, Y" R* M

  347. 6 X+ P* a/ \5 d: i9 ?, [: F1 e/ g. o& l% \
  348. ; Allows to set the default encoding for the scripts.  This value will be used! e) l$ z. R8 a7 F' {% u/ @. S
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.7 _! b7 O! ?: f! S, q
  350. ; Only affects if zend.multibyte is set.
    4 W0 W( G0 a9 S- l0 b
  351. ; Default: "") {# |! J9 f- o$ N1 |* x
  352. ;zend.script_encoding =
    4 \2 l9 p; Z- f
  353. ! D2 E! t( p  Y' m3 `
  354. ;;;;;;;;;;;;;;;;;
    - b. E" i# _8 _7 |
  355. ; Miscellaneous ;
    1 E: A# _7 L4 q
  356. ;;;;;;;;;;;;;;;;;, q; o  w* m* ~! C( P
  357. % n- b7 _+ A. a% y5 w- `. B- N
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    9 ?! e+ p$ I+ C9 k* J: r/ e
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    + p9 R) M1 S9 z
  360. ; threat in any way, but it makes it possible to determine whether you use PHP( s1 v4 D4 c  d; t$ z5 O$ h
  361. ; on your server or not.
    ; h! c6 f9 R: O' N
  362. ; http://php.net/expose-php/ H! \6 G' c7 e  H( q# T
  363. expose_php = On
    - G3 b5 W6 @% k7 Z7 |
  364. / }3 D7 |8 t5 v7 |
  365. ;;;;;;;;;;;;;;;;;;;9 ~; g& e: a2 Q% i- C6 ~
  366. ; Resource Limits ;% o" T+ o5 ~$ S+ ]" E, N- t. j
  367. ;;;;;;;;;;;;;;;;;;;( _. w) c1 X! p; h( P1 b3 T, y

  368. 0 M3 R0 X' d% T. V: h
  369. ; Maximum execution time of each script, in seconds) ~3 o' y1 @0 T1 Z& w3 W$ r) v1 W
  370. ; http://php.net/max-execution-time) R3 W- q5 G0 E7 i$ y4 I
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI- X7 l" b& W& p
  372. max_execution_time = 3005 o, L0 N; b+ D4 b/ S) d
  373. % S2 u+ O, v8 `! B
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    - p; u/ l) y9 x; P( D1 ?/ p
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    $ k& |! w8 S% D, q, K
  376. ; long running scripts.' F& s1 L( ~: }# E$ y) N& H
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI* S5 O+ w- P, ]- B! {
  378. ; Default Value: -1 (Unlimited)
    ' J* Z1 o' k  x2 V. `1 e8 D+ N
  379. ; Development Value: 60 (60 seconds)
    ! z% ^" _; b: R+ ~& b
  380. ; Production Value: 60 (60 seconds)
    ( w) i; Q# D$ J2 H0 n& S
  381. ; http://php.net/max-input-time8 \* b; L) B5 O% [
  382. max_input_time = 607 h( g+ o7 x$ q

  383. ( k  L! b' A/ d5 T$ @' Z
  384. ; Maximum input variable nesting level; p$ k( X: |' Y3 K# `  S6 q6 ~6 K
  385. ; http://php.net/max-input-nesting-level9 G' F: m! `& }5 b' D. E5 M: ~
  386. ;max_input_nesting_level = 64
    : F5 j3 o  j- n- K: [9 V

  387. , L7 e: n/ _6 q$ P! [! y' U! D+ z8 y
  388. ; How many GET/POST/COOKIE input variables may be accepted4 z) G6 L9 h1 {; M: W0 ]8 h$ w, P
  389. ; max_input_vars = 1000
    7 W3 o2 J3 S: F1 s
  390. - z: O2 E' q8 g" z- ]: d
  391. ; Maximum amount of memory a script may consume (128MB)% H& x& T( R% x$ T
  392. ; http://php.net/memory-limit8 {0 s3 f1 h1 w( B8 M7 t
  393. memory_limit = 128M- i7 L- z* g5 {. s9 b+ `% i
  394. 9 U. A5 Z) H, y& N6 p. \, s& L
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0 K3 P  ]4 D8 t, o
  396. ; Error handling and logging ;
    & a+ y8 P6 \' b/ O; @! Q  |
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+ R- v; J/ x8 n) N2 E2 l$ c

  398. ' |5 j. T: r2 o1 F. H5 }  t3 x
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    2 K+ B. T$ L: U& R- `
  400. ; it to take action for. The recommended way of setting values for this& ]9 n* d! j% a4 e  N  O0 s/ p
  401. ; directive is through the use of the error level constants and bitwise
    + ~+ t* f8 S, L7 M" Z3 P
  402. ; operators. The error level constants are below here for convenience as well as2 z( g- s( C/ l- S) G9 L
  403. ; some common settings and their meanings.
    2 E+ b8 T6 n: F4 @
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT7 }9 Y7 J' `! ]& ?4 t
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and3 _' u2 {+ d* S% S1 c0 Q
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    ) G* u8 O  `4 c* }, q
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    - [, M& f: q; s) x
  408. ; resources complaining about best practices and coding standards. That's what. n" a# |1 G: `& k/ P
  409. ; development servers and development settings are for.
    2 k1 j! h/ G- U0 c. X
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    & b: W: s) k3 @: C& }
  411. ; means it pretty much reports everything which is exactly what you want during
    / O2 V) s+ {# T7 l1 [7 ~# _
  412. ; development and early testing.
    ! |4 H: n) }% [
  413. ;
    % G- g, V: @2 Q
  414. ; Error Level Constants:
    : g- C2 a' {$ r0 ?
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    6 ~4 U4 Z. R: A
  416. ; E_ERROR           - fatal run-time errors( E& O7 A5 g( U" d
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    , d% Q& ]6 B# u' O+ ?) `
  418. ; E_WARNING         - run-time warnings (non-fatal errors)2 A- Z; l& G3 s7 v8 ]
  419. ; E_PARSE           - compile-time parse errors
    % t  B: w/ D& v5 e
  420. ; E_NOTICE          - run-time notices (these are warnings which often result7 I% l; c# a* c( L  T+ V! T
  421. ;                     from a bug in your code, but it's possible that it was
    % O; {& \5 h6 h# g1 e0 S' K
  422. ;                     intentional (e.g., using an uninitialized variable and; }* h4 |3 c2 P1 y, h& V* N
  423. ;                     relying on the fact it is automatically initialized to an
    - {# c1 R$ |4 z2 h; o
  424. ;                     empty string)
    $ }7 Q9 s; V& z
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    , I8 m5 n4 Q& o% r4 n9 o
  426. ;                     to your code which will ensure the best interoperability; [) r" q( h6 ^0 b
  427. ;                     and forward compatibility of your code7 [0 d3 g$ T: {, c
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    8 i! u: g$ \7 g( {" x: J$ H$ q& ^
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ! i# e7 Q2 n# D, h. T; @# T0 ?
  430. ;                     initial startup0 l* k& \3 u$ i# c# K
  431. ; E_COMPILE_ERROR   - fatal compile-time errors+ K' i# k) z5 x, I' ~
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    . v9 V0 C" `) c6 C9 I2 L0 e+ a
  433. ; E_USER_ERROR      - user-generated error message
    1 O4 x0 p$ I( r
  434. ; E_USER_WARNING    - user-generated warning message% n  v& h( V  v
  435. ; E_USER_NOTICE     - user-generated notice message
    + F) s: H' S& F' G, J$ ^
  436. ; E_DEPRECATED      - warn about code that will not work in future versions7 m6 A+ K) n2 D) f
  437. ;                     of PHP
    3 c* Z. i! s' ]- S! ^0 h0 [( ]
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    1 B, e9 t* V; y  W% \* A
  439. ;
    # \# i7 f$ _, l* U( Z
  440. ; Common Values:. k$ ^5 X4 f% \: f
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)* @4 H6 X# @+ k; a# V8 P
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)' H( e5 h9 @7 F* i; e: ]* G
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    # ^$ ^( T0 _6 m
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)/ c. Q& ]" l$ P
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED) {9 ]4 G( a- f+ T9 j; e$ A6 B4 e
  446. ; Development Value: E_ALL
    6 p* a" M1 `5 ]+ q" z, o8 s
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT2 r, g/ t# ]( r, r9 O
  448. ; http://php.net/error-reporting! C/ _2 Y. I' D, s9 _* K
  449. error_reporting = E_ALL & ~E_NOTICE3 s: Q: ^$ [4 S- q
  450. : X7 L2 P' T7 ?0 O' v  Q( r
  451. ; This directive controls whether or not and where PHP will output errors,# e( J- D  f. N4 D; E; j2 B8 s
  452. ; notices and warnings too. Error output is very useful during development, but
    ; M% V- q2 u# I6 c2 [, }
  453. ; it could be very dangerous in production environments. Depending on the code" W8 C1 V* L0 C0 V0 e2 D& U( m4 G
  454. ; which is triggering the error, sensitive information could potentially leak
    7 i% B: {" d# P; P8 V
  455. ; out of your application such as database usernames and passwords or worse.
    % R% G( R8 A0 I  x, V8 L: ^7 [
  456. ; For production environments, we recommend logging errors rather than
    5 j* S" t% p5 J5 j' f7 Z
  457. ; sending them to STDOUT.
    ' g0 K; X2 a- [! M) S' k" [
  458. ; Possible Values:
    , m8 [. Y& S% c7 M
  459. ;   Off = Do not display any errors
    % T6 Y+ ]- |3 }1 v
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)( }6 `, k& @3 z) Q% Z
  461. ;   On or stdout = Display errors to STDOUT" ^4 `7 z# y' d# o- L
  462. ; Default Value: On5 }+ Y/ h0 w( L8 c- Z' _, {
  463. ; Development Value: On
    $ }& }+ n! n  C6 g7 O& `8 _) r$ c" e
  464. ; Production Value: Off
    7 U1 ]/ \% {4 X5 j! e: ?
  465. ; http://php.net/display-errors7 F3 C. E9 M4 o, g
  466. display_errors = On
    ) R0 u! F6 H+ f5 A7 F( z
  467. 9 }" k: V( }/ w& P
  468. ; The display of errors which occur during PHP's startup sequence are handled) B5 [; i* Q% P  D: D( [+ V. J
  469. ; separately from display_errors. PHP's default behavior is to suppress those6 h1 ?, h( ?" r: S
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    & E; A4 @7 v6 [/ g; p. e
  471. ; debugging configuration problems. We strongly recommend you
    ; T) K. j3 A+ V$ }
  472. ; set this to 'off' for production servers.0 {: ^' S2 Q6 F& ?7 X
  473. ; Default Value: Off. U% Z7 B/ g  D' F  H& \- g7 \" B
  474. ; Development Value: On
    ( n7 M& Q  T+ ?* [
  475. ; Production Value: Off
    4 G' `: y3 M7 a0 W4 K6 H7 P8 ^' s
  476. ; http://php.net/display-startup-errors$ |) `8 k* P: k7 a) M; G$ ?
  477. display_startup_errors = Off
    9 j& A- t2 w6 L" M! H
  478. 9 {- g1 \5 Q, P
  479. ; Besides displaying errors, PHP can also log errors to locations such as a2 y# g( L6 M" E$ \6 B* r
  480. ; server-specific log, STDERR, or a location specified by the error_log
    ' i1 `+ J/ B8 x6 m; h2 h! K
  481. ; directive found below. While errors should not be displayed on productions
    ' C( O. \! e# v* l3 D
  482. ; servers they should still be monitored and logging is a great way to do that.4 h2 m4 M: o4 x; W5 \: _9 Z6 l
  483. ; Default Value: Off) C1 a2 Y! O! a" C
  484. ; Development Value: On
    " Q+ `5 y3 p5 t) m  r5 b* B) S
  485. ; Production Value: On: y9 m& V* @( ]8 E8 M, O+ P
  486. ; http://php.net/log-errors9 g1 A( W) D, b+ Z  O
  487. log_errors = On0 M6 d1 N( G6 P& u- t' @+ w5 s( j$ K

  488. $ T! S  D1 c% F2 f$ V2 p, r
  489. ; Set maximum length of log_errors. In error_log information about the source is) v- ?( w0 |: f
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.. B+ [+ p1 C# {  ?; Z) x1 S
  491. ; http://php.net/log-errors-max-len
    8 [, m5 ]5 e+ K
  492. log_errors_max_len = 1024  ^8 g" C- `2 h1 l5 l  z# z

  493. $ P) u) s7 H" u. K
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    6 p: g; r" o# x+ e4 _' d, H  S2 G7 J
  495. ; line unless ignore_repeated_source is set true.
    " Y) h6 w) \, g+ ?+ y: L
  496. ; http://php.net/ignore-repeated-errors3 B) d, W6 z9 t. U2 v. z) Z( e  E! E
  497. ignore_repeated_errors = Off
    0 r4 y' F. Z2 R2 {( l* M

  498. 2 W; Z9 x' a- X! Y+ K- y2 |' G
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    : U7 F7 T- Q- z4 l# `
  500. ; is On you will not log errors with repeated messages from different files or
    - a+ s" l# ~0 F0 T; t
  501. ; source lines.
    ; @0 G( h7 @' e1 e, F9 E5 p
  502. ; http://php.net/ignore-repeated-source
    4 o$ o6 q+ F, K7 a
  503. ignore_repeated_source = Off
    * e9 M0 ?* d9 C* a4 ^

  504. 2 E& ~2 j  o! G  v8 x9 J& O1 @
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on% W+ n3 L  c" ]7 j
  506. ; stdout or in the log). This has only effect in a debug compile, and if. m5 w) j/ u1 y8 t
  507. ; error reporting includes E_WARNING in the allowed list' ^4 Y4 H7 R, M  Y
  508. ; http://php.net/report-memleaks
    ( O2 M. X% o. R) k0 W2 q
  509. report_memleaks = On- K5 d  e4 L  l! e$ M! i

  510. ' }: Q+ k* Y7 i
  511. ; This setting is on by default.9 N9 J, B7 \4 A% z5 [8 F" L
  512. ;report_zend_debug = 0) U6 v0 ]7 f* z& k) W5 P  u
  513. 4 Y% u1 v( ~" V5 ^" o: j5 Z
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value8 a  \& w. v' J% i0 n+ F9 z
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    2 m$ B& i+ Q% H' O- n5 Q
  516. ; however be disabled on production servers.
    % n% Q( p7 y1 M$ @- N
  517. ; Default Value: Off
    ; {4 b$ g0 Q% u  m
  518. ; Development Value: On
    ; }) B" C5 ?1 W7 J
  519. ; Production Value: Off
    ) k" k" n  T. g0 k' ?
  520. ; http://php.net/track-errors" t: p6 ?' m' w8 n
  521. track_errors = Off! W, r( q' J- _8 k

  522. 7 P2 k! c! r) R# L  d
  523. ; Turn off normal error reporting and emit XML-RPC error XML9 ?0 R' X+ Q, I4 o5 Q
  524. ; http://php.net/xmlrpc-errors
    . A8 g' A: U4 e4 P2 u# N
  525. ;xmlrpc_errors = 00 Y- _$ H) C' `7 h9 j+ v6 K* c7 G

  526. 7 Y, g3 O. L5 i3 n
  527. ; An XML-RPC faultCode
    8 s, J6 y7 _2 G) R  c) A* h. v
  528. ;xmlrpc_error_number = 0" y# n3 j- z8 i
  529. 4 K+ Z5 }% s; V; [
  530. ; When PHP displays or logs an error, it has the capability of formatting the" _( d4 T# f. d& T& {6 j; S
  531. ; error message as HTML for easier reading. This directive controls whether+ e5 @9 y' f, b3 m$ z6 R4 V9 o
  532. ; the error message is formatted as HTML or not., @& t: M$ _7 i$ g. @' y* ~% _  @  A
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI8 i, h$ e  q# }& ^' F! T
  534. ; Default Value: On6 P* H# A$ h- K* r+ X
  535. ; Development Value: On
    ' k# N% R1 `, ~9 a# m; f& U
  536. ; Production value: On8 X2 ]9 O  q. c) F+ m
  537. ; http://php.net/html-errors* H% ^7 |. K# f% C0 h9 [- i0 q5 q
  538. html_errors = On
    . |; H) S/ Q0 k2 B

  539. 4 i6 B3 r0 S( v* n5 T
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP  d: B, K( ?0 q- u* @0 O
  541. ; produces clickable error messages that direct to a page describing the error
    5 j6 t4 j8 @0 R% N5 F
  542. ; or function causing the error in detail.# X7 Z6 D. T" f  \/ V( n
  543. ; You can download a copy of the PHP manual from http://php.net/docs% m9 u2 Y9 n9 E1 y+ B% i
  544. ; and change docref_root to the base URL of your local copy including the
    ; F7 G5 m: A9 h, O) r
  545. ; leading '/'. You must also specify the file extension being used including
    6 A  ?4 }0 N: w0 z3 y+ P# Y) E. {
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which1 M; I# |1 w4 H& o2 U+ u
  547. ; case no links to documentation are generated.' I. m  M5 Q' j- Y/ U
  548. ; Note: Never use this feature for production boxes.
    ( T! C: c) m5 ?4 A  I  L1 e+ j7 D1 T
  549. ; http://php.net/docref-root
    ' t5 [8 z  J' [$ j
  550. ; Examples) `. A) M! U; v3 v. d7 M* q
  551. ;docref_root = "/phpmanual/"+ [; Z9 W: Z1 S3 {
  552. / F. F7 x  V- H) X9 k& e4 l7 A
  553. ; http://php.net/docref-ext$ U; d& ^6 d4 Q1 q0 _
  554. ;docref_ext = .html
    : K+ }* |3 ?! h
  555. . \6 f# m7 r$ u% l
  556. ; String to output before an error message. PHP's default behavior is to leave
    + ~" t1 j. e& {# Q1 o1 d
  557. ; this setting blank.! [3 C8 @9 A5 H4 |+ Z
  558. ; http://php.net/error-prepend-string
    3 j+ @+ ~! e# j/ ~; W/ M* N! e/ `# `
  559. ; Example:1 S8 T2 H: k, P9 j  K
  560. ;error_prepend_string = "<span style='color: #ff0000'>"  U+ ]" G/ G4 D. `

  561. * n3 v' n8 `) s
  562. ; String to output after an error message. PHP's default behavior is to leave- J% h' U; r& F4 ~) B  H7 f
  563. ; this setting blank.. c6 ^8 X( h. L% M* A( o2 [
  564. ; http://php.net/error-append-string
    - r  h3 v" B- ?+ R" I8 ^" a% H
  565. ; Example:
    ! Q" n# o3 y2 L/ Q$ ~8 O1 ~
  566. ;error_append_string = "</span>"
    $ M8 d0 Q4 m) J8 F+ A4 t$ H0 g

  567. " c: x, i& ]& z3 @7 c9 H$ T
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    ( [( f  f( l; {! U
  569. ; empty.
    , q6 M! Q7 c& Y& j5 Y: d
  570. ; http://php.net/error-log
    ; Q5 J: |, o, b( f
  571. ; Example:
    ; h7 ~$ y; r8 n/ n% O2 m
  572. ;error_log = php_errors.log" d1 T- u, n, t# ^; ]
  573. ; Log errors to syslog (Event Log on Windows).4 j6 m, E+ j! o7 v2 S2 B( c
  574. ;error_log = syslog5 D* \3 h# z. c* f7 W3 n- H. K
  575. 7 X% L. r- H: V  q/ @9 s
  576. ;windows.show_crt_warning7 P( c7 M1 C  g, H  q
  577. ; Default value: 0
    ) G6 ]: ]( A: G  N, s
  578. ; Development value: 0
    ) y5 ~% F0 Y8 b. [
  579. ; Production value: 0
    6 y# l/ G& N. r, ~* k# h
  580. " G% N0 p& F+ c. H- X2 L  K* G; @
  581. ;;;;;;;;;;;;;;;;;
    : G* C4 `' V% O  r- M
  582. ; Data Handling ;
    ! y. r6 K$ t) c9 V: L2 B
  583. ;;;;;;;;;;;;;;;;;& J$ m# v% q) d! t; j2 ?- I
  584. 9 V) l  b3 I( ]# @
  585. ; The separator used in PHP generated URLs to separate arguments.
    + E% R5 V5 b" P2 c# f. T/ B
  586. ; PHP's default setting is "&".$ F* G  _: b, W4 ^3 J9 n- o' n
  587. ; http://php.net/arg-separator.output
    7 Z% v" n: ^5 j& v4 ]  ~
  588. ; Example:
    0 J3 y9 n, V5 z, a. M! K! K4 S
  589. ;arg_separator.output = "&amp;"
    6 `: O8 ]. w4 g; W) G1 c" q+ a. x

  590. : S2 X- X, L1 t: Z* W6 N0 n* A
  591. ; List of separator(s) used by PHP to parse input URLs into variables.3 _% w2 M% [1 I
  592. ; PHP's default setting is "&".
    % }  M/ ]: \6 h: I# X- t1 D
  593. ; NOTE: Every character in this directive is considered as separator!
    % B  z% G# ^& j5 J
  594. ; http://php.net/arg-separator.input% c/ I# O5 I+ K" ~
  595. ; Example:8 M6 E6 [# V! S: U
  596. ;arg_separator.input = ";&"; Z; P4 ^: J4 p( A

  597. ! ^  o  B4 s0 D6 k1 {, B
  598. ; This directive determines which super global arrays are registered when PHP: c* r5 d3 H2 }; n( m" q
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super( x! M: d/ ?1 }; e1 h! G
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty! E: E9 g4 p5 p) m" F$ r2 H
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    ' U$ ^1 Z) A1 z8 E9 C9 y
  602. ; used as the others, ENV is not recommended on productions servers. You
    : w0 g0 Z  h) L3 X" c
  603. ; can still get access to the environment variables through getenv() should you
    7 ?$ a, C* H2 P
  604. ; need to.6 A! k( `  x0 c8 g7 z
  605. ; Default Value: "EGPCS"
      U7 g! n5 g9 l' |: W
  606. ; Development Value: "GPCS", @4 Q5 x" [6 w3 b
  607. ; Production Value: "GPCS";
    % W5 b7 [; u& C1 |1 \9 P  j3 Y; B
  608. ; http://php.net/variables-order/ \/ _1 E8 z6 ]
  609. variables_order = "GPCS"
    6 A, H# C6 C; P
  610. 0 {4 a4 [. Y2 u) w
  611. ; This directive determines which super global data (G,P & C) should be6 s& e) w! }6 C) n, C9 W# u. w; @; D
  612. ; registered into the super global array REQUEST. If so, it also determines
    0 r$ E5 W: \. m* t) a
  613. ; the order in which that data is registered. The values for this directive% Y& ?% [$ A- g- g
  614. ; are specified in the same manner as the variables_order directive,7 P0 C4 E, _  F: u% m
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    $ ~) n  ~5 ?" i2 ?! K* q" m
  616. ; in the variables_order directive. It does not mean it will leave the super
    % k; M" p2 R# ~& G: Z& m+ O3 m
  617. ; globals array REQUEST empty.
    9 T! g. m, C; ^: Y: I1 j+ @9 p
  618. ; Default Value: None9 _% G1 }. A: D$ W( C
  619. ; Development Value: "GP"
    & g: S1 ?$ u6 `
  620. ; Production Value: "GP"& W: q, \- @8 g' E$ N1 @& r
  621. ; http://php.net/request-order# ]. k. q. F* @* S6 U$ a
  622. request_order = "GP"
    ; s" [2 C4 I/ o" i

  623. ' E6 O0 s8 c: `% d' x8 p
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    - l4 P7 H0 C$ K& V8 S- \
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script5 i, |' y- h' T! Q" `+ y4 P
  626. ; is invoked. $argc contains an integer representing the number of arguments$ P3 c+ x- ]/ m4 m
  627. ; that were passed when the script was invoked. These arrays are extremely* b+ }1 x: \( D% [; d
  628. ; useful when running scripts from the command line. When this directive is
    ' W( ?) B; I( A/ Y) E9 R9 |
  629. ; enabled, registering these variables consumes CPU cycles and memory each time9 F) s( t: K, k- ~
  630. ; a script is executed. For performance reasons, this feature should be disabled
    ; g1 k& v5 M/ a, k+ ?7 N! |+ G. s
  631. ; on production servers.& g' f' y+ D5 L5 {% ^+ i
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    ( }2 U1 I4 @0 K/ j, E# Z- ^
  633. ; Default Value: On
    3 D5 X/ K  M7 S* B" ?
  634. ; Development Value: Off
    & u+ c$ Q9 H9 w& _$ a$ d
  635. ; Production Value: Off
    5 Y- K( ]4 {" F. l$ I/ a1 d2 C$ w
  636. ; http://php.net/register-argc-argv& z" s* L( p1 H$ C7 t8 Z
  637. register_argc_argv = Off
    ( g8 p; r& V6 A5 k9 N& T

  638. ; x: z  z  G+ M$ K' h3 f
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    * e* x$ Q0 f1 T2 E
  640. ; first used (Just In Time) instead of when the script starts. If these# x! j( M6 u: m' V7 v+ |$ ^
  641. ; variables are not used within a script, having this directive on will result
    - E6 ~/ E: L+ E7 J8 E
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled# [- R1 B& B* }& u
  643. ; for this directive to have any affect.6 Q4 ?0 _7 f6 z# `: r4 j
  644. ; http://php.net/auto-globals-jit
    0 ?: D/ \: _5 H7 Q% p0 V$ `$ S
  645. auto_globals_jit = On
    0 Q$ V2 f$ X! U' e
  646. 9 g$ x* |2 \1 l
  647. ; Whether PHP will read the POST data.; G& w" C' M1 E* m7 t/ y% }( C- e% j
  648. ; This option is enabled by default.
    : ?4 \; r+ s" N' ?' z0 i$ z1 @8 P: s
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST" O& V' d9 H2 l$ u  G; I
  650. ; and $_FILES to always be empty; the only way you will be able to read the: [) ]3 f6 {0 n/ r2 R8 ^# @
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    / x& _( p% D  z- Y2 z
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.4 Z9 @+ P; o: S; K, U, N7 ?
  653. ; http://php.net/enable-post-data-reading  v9 a# B, p6 A0 B
  654. ;enable_post_data_reading = Off' t0 X: ?  Y/ M# c
  655. 1 `/ W6 e4 F: ^3 o% r
  656. ; Maximum size of POST data that PHP will accept." s6 U. m$ ?$ q6 c3 Z$ }2 x
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading  T' p% y. t: ^# M
  658. ; is disabled through enable_post_data_reading.. `6 ^! Z" N" U
  659. ; http://php.net/post-max-size8 u- [6 H7 B4 H2 L$ F, U% B
  660. post_max_size = 50M
    - K8 M* W& i% k# A2 ^5 _

  661. 9 `9 U  _% C$ N* M0 \
  662. ; Automatically add files before PHP document.) Z# S' r# L& F$ V) H4 F' e
  663. ; http://php.net/auto-prepend-file
    ! O- N3 r1 d" Y" v6 @5 G# Y) t
  664. auto_prepend_file =6 E6 u' O0 s0 G9 o+ ^1 @3 |

  665. 7 P. k( H" I6 M, K9 K1 V: j
  666. ; Automatically add files after PHP document.
    7 a/ A- c3 [4 n  w9 ]1 @5 x* |
  667. ; http://php.net/auto-append-file
    7 U3 N" b* D( O# ]" s% \
  668. auto_append_file =9 i8 L( W* x" K+ f+ i: c; ~) A

  669. 2 f* G* S+ Z. T; p4 N
  670. ; By default, PHP will output a media type using the Content-Type header. To9 |! u7 p9 _% {1 O% u/ V- [/ G
  671. ; disable this, simply set it to be empty.
    , L6 k5 u9 P0 D1 X+ x+ y& e
  672. ;
    " B9 V! c' B' ^
  673. ; PHP's built-in default media type is set to text/html.
    3 l7 M  N7 W  x! A; n$ n* }0 o
  674. ; http://php.net/default-mimetype3 C* d' n0 y) [/ c- k! Y0 l1 U
  675. default_mimetype = "text/html"4 o1 W# n, U  f
  676. - F" Z% H6 Q4 i2 ~6 ~5 ]
  677. ; PHP's default character set is set to UTF-8.3 T- g* {* _8 J/ p" l+ P; \  _$ w
  678. ; http://php.net/default-charset2 \, Q; }8 p" S: c& t; D% x
  679. default_charset = "UTF-8"
    - M5 D% C, W* m5 Q/ _! P
  680. 6 \% M' e  a" v3 y+ Q- u
  681. ; PHP internal character encoding is set to empty.  b$ W1 r) b* P: o9 S" e; A
  682. ; If empty, default_charset is used.; Z! ^$ N8 ^* @4 b* I, L
  683. ; http://php.net/internal-encoding; S0 n2 ^. v) U6 i( [
  684. ;internal_encoding =
    1 }' X5 k1 `0 \. w
  685. ! F/ Z- m6 |* {5 A! @, z; N' [
  686. ; PHP input character encoding is set to empty.
    ) e4 Q1 T. e" s+ c6 @; C
  687. ; If empty, default_charset is used.4 w( |5 O6 P4 R7 c1 b
  688. ; http://php.net/input-encoding) c. I9 A& q# m6 r4 |
  689. ;input_encoding =; P$ h6 M! {9 s, k% O

  690. 1 b: I& Y. ~9 u3 U0 N
  691. ; PHP output character encoding is set to empty.8 J  H1 S- }+ e5 Q
  692. ; If empty, default_charset is used.
    8 c* R4 J6 N) q0 }1 G
  693. ; See also output_buffer.
    ; q& z0 y, y$ A4 b
  694. ; http://php.net/output-encoding3 r* Z4 F- X9 C. [& m6 T
  695. ;output_encoding =
    6 v7 q" r  M# m( e9 E* \$ t8 E

  696. 2 j" m" ?4 s: `/ r& }
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    / A4 R5 _& \) g3 h2 D
  698. ; to disable this feature and it will be removed in a future version.
    ( @- z1 z$ v; E0 T, F
  699. ; If post reading is disabled through enable_post_data_reading,* w$ v6 B. }' J+ P
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.' `6 i# N* a; Q, M8 L) Z
  701. ; http://php.net/always-populate-raw-post-data
    ' L/ P6 ]# ~  E( w: j
  702. ;always_populate_raw_post_data = -1
    * W7 {3 {4 Q% p' [& A- a0 a
  703. 3 _+ y9 }. F, f  L% b) G6 v, f* l$ O
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;9 w. M4 Q0 i4 Y" y: U1 b
  705. ; Paths and Directories ;/ ?$ g# t% S$ R" z4 x
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ) i+ Z% d7 o( ^6 o1 g* k
  707. 4 u+ k9 E0 W4 V& A) L0 Y* b
  708. ; UNIX: "/path1:/path2"9 W8 u) z4 Y3 M" W1 |, f
  709. ;include_path = ".:/php/includes"
    4 \1 u, g$ A1 s2 v8 p" [
  710. ;
    / Z8 G1 Q; x! b+ h5 |3 H' J
  711. ; Windows: "\path1;\path2"/ f6 R' L( P* Y0 w
  712. ;include_path = ".;c:\php\includes"
    ' l! E( C: ~1 h/ w2 [/ j
  713. ;
    ; ]- J' g- o0 c; W+ ?8 c' m
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    2 C) i, K( c0 ]% O' X' y' W
  715. ; http://php.net/include-path5 E4 T6 B# e6 R

  716. / Q) o9 x- B- I
  717. ; The root of the PHP pages, used only if nonempty.
    3 H+ y0 R. j; u* C. {
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root' S' w" Y0 Y0 N; x
  719. ; if you are running php as a CGI under any web server (other than IIS)4 g4 g6 H( L/ w, s. @8 C
  720. ; see documentation for security issues.  The alternate is to use the
    " `# Y, Y* y0 a; X
  721. ; cgi.force_redirect configuration below& u) m0 w9 G1 A7 t& q& C/ D
  722. ; http://php.net/doc-root
    * U! B  x8 \& Y# s. ^+ ]
  723. doc_root =
    7 ^4 B* {) z4 {6 S0 z

  724. ! C  f& \) x! P3 I: d, ^
  725. ; The directory under which PHP opens the script using /~username used only
    5 R$ t5 s/ q& C1 a! x
  726. ; if nonempty.
    ; M5 q7 q4 I; x3 @2 A7 ?. g5 h
  727. ; http://php.net/user-dir
    ! _. ]3 s2 H8 N( ]' {$ N4 s( v
  728. user_dir =. e# o' Z5 y7 |; d

  729. ! ]2 \8 x  U! l1 K9 a3 J
  730. ; Directory in which the loadable extensions (modules) reside.
    ' ~) w7 A/ X* U3 v$ {) e8 I" o) j+ O
  731. ; http://php.net/extension-dir3 \& o. [1 v: U( `9 K" S+ z( f
  732. ; extension_dir = "./"
    - i' G% I7 P& ]
  733. ; On windows:
    ; _: u9 P; ?* X' }$ E0 F
  734. ; extension_dir = "ext"" d1 u6 u4 y( I1 {9 b! R# U% Q& W0 V& y/ S

  735. 1 p% j$ u! D$ y1 _" c
  736. ; Directory where the temporary files should be placed.
    0 G) L4 N1 Q# `2 b# B9 w: u4 P
  737. ; Defaults to the system default (see sys_get_temp_dir)3 a. ~2 y5 A& B0 {
  738. ; sys_temp_dir = "/tmp"
    3 z/ b  ]  `# a& z
  739. * [9 O8 W* z& u# `) b# }
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    2 n6 j  x9 g5 o
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    - x) E) `3 \$ B9 E6 f
  742. ; disabled on them.
    4 G8 x# r) i2 l2 _; E4 @
  743. ; http://php.net/enable-dl
    . l- [9 Q2 [+ `' {& e
  744. enable_dl = Off) ?, q7 ~2 n0 M$ }, P6 I! M" X( l' h

  745. 0 H' W5 J5 r3 {" \; q- N0 T  Q
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    2 H/ b0 B0 K& A+ A* G( j
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can( k0 |$ \- j- A; z
  748. ; turn it off here AT YOUR OWN RISK
    + z. Y- N) v% U
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    0 W0 D- l5 P6 c
  750. ; http://php.net/cgi.force-redirect
    - f# O, a; Q. o# B; t7 V8 o1 d) Y; R
  751. ;cgi.force_redirect = 1
    ( ^- C: o1 I' s7 A, D0 A2 O! v3 {
  752. 8 X/ X; K/ j& @8 B
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ( l' U3 l) g( d+ _+ d
  754. ; every request. PHP's default behavior is to disable this feature.
    & C5 N, Q- W! d' C* F
  755. ;cgi.nph = 1* y) e' p( _+ d4 u. B6 i- E: B
  756. 8 F: @) T  h- E& y) ]
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    / b# h! n" Q$ d+ _
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    1 _2 Q% r" ?& t) O6 ^+ \
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY: Z% p# Z  w- c
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.7 f9 D$ v2 t* x6 W4 Q/ X' f2 ]
  761. ; http://php.net/cgi.redirect-status-env% H3 o+ ^, r2 U8 C/ U, D8 z
  762. ;cgi.redirect_status_env =
    5 i* T$ ~) b0 [' D  r) @; T. N

  763. + Q  F+ r: n$ b3 G% H' ?5 b+ s
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's; H7 V! |7 }$ J( i
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok. N# b7 ~" t& v5 c
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting! J) M: Q/ j' Z8 i
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting5 L, m" a; ~* y, P+ T2 o
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    8 N' |5 J0 Q- G0 a2 @, w9 S: O
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    & j& V( Z+ x8 C, c: s4 y% n
  770. ; http://php.net/cgi.fix-pathinfo) D6 O, e( a) p0 ?0 B% Z
  771. cgi.fix_pathinfo=17 F2 j1 A2 r+ {" x) A( @

  772. # ~; w' x$ ~7 s, d
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside; I% ~6 f7 U! S
  774. ; of the web tree and people will not be able to circumvent .htaccess security.& j7 }$ C: @. d" k  Y
  775. ; http://php.net/cgi.dicard-path
    % h7 h2 J- _/ h  B- j) U8 H9 {
  776. ;cgi.discard_path=1% w  C) {/ [$ {( P6 c
  777. 5 D$ _5 ~7 \- [3 z- o, A* F& C
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate' o7 N1 q8 d; e0 Z! @* N
  779. ; security tokens of the calling client.  This allows IIS to define the9 r. d2 a) s: V* C0 M) y3 b
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    ( t* K4 E3 Y% E9 n
  781. ; does not currently support this feature (03/17/2002)
    - `0 T, \/ y' ^' p
  782. ; Set to 1 if running under IIS.  Default is zero.
    ; B$ B8 {  ^4 W, Y
  783. ; http://php.net/fastcgi.impersonate
    $ w3 U5 U1 S9 {
  784. ;fastcgi.impersonate = 1
    6 O1 ]3 c' E3 \7 x7 H
  785. 2 C3 \2 C9 L5 S3 _5 T9 a5 p
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable/ s# i8 W6 Q4 Y/ O1 S
  787. ; this feature.
    * d6 i# H. P$ ^6 d9 c. q
  788. ;fastcgi.logging = 0
    $ f3 n. {7 @" p) i; S
  789. 3 p! r6 C" K" U) V1 m0 C
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    & E; r. ?: ?) ?9 I! D
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ( a) k3 v6 \1 l1 ^2 ^5 s+ n7 j. U
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    9 i% y  F- W+ ]3 m. n3 [5 M
  793. ; RFC2616 compliant header.0 z3 c( t- {6 d8 B
  794. ; Default is zero.
    4 k5 W, r- C' C
  795. ; http://php.net/cgi.rfc2616-headers
    ( P$ C$ T% s$ j+ t4 y2 \
  796. ;cgi.rfc2616_headers = 0
    $ H* B) d0 ?& H  T8 A
  797. : s8 \7 F; D. M, O2 S7 n, y
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ) ~& a4 K9 P' j* I5 a5 f
  799. ; (shebang) at the top of the running script. This line might be needed if the3 d4 ]: H. d  J' F: g) `2 c0 q
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI8 U/ _9 a# p2 M1 o
  801. ; mode skips this line and ignores its content if this directive is turned on.
    ; u9 H& M% m4 ]1 O/ k5 q. r
  802. ; http://php.net/cgi.check-shebang-line) k- M# f7 z* `# R5 W" L' L
  803. ;cgi.check_shebang_line=1
    7 P) a! D+ U( }+ B( N( e& }
  804. ) N  F; {& H9 \  a3 f5 X
  805. ;;;;;;;;;;;;;;;;
    ; N+ p) x! f* E- C
  806. ; File Uploads ;# E1 W: C- j% ^, j
  807. ;;;;;;;;;;;;;;;;+ j2 S8 O, v  g, w( t9 O4 v, A

  808. . |* u5 r, c  L4 b& x
  809. ; Whether to allow HTTP file uploads.5 {1 w+ v1 x4 O% y. c+ O* c
  810. ; http://php.net/file-uploads' {$ n6 b3 x- t* f1 D3 S
  811. file_uploads = On
    6 W- p3 c2 O( ^2 S. B8 r/ e

  812.   p. ]8 |2 I5 t
  813. ; Temporary directory for HTTP uploaded files (will use system default if not- L- ?3 B4 b/ E8 ~
  814. ; specified).
    , n0 D9 b: C& D0 f, w; }, K7 j! U
  815. ; http://php.net/upload-tmp-dir+ }* N3 `( L- |' U- O' S4 d3 q+ E
  816. ;upload_tmp_dir =
    5 v' K  i! e7 t: o. ?' \/ `

  817. 6 _( t! o+ f0 b0 R
  818. ; Maximum allowed size for uploaded files.3 G6 M+ t4 W8 X+ v: {
  819. ; http://php.net/upload-max-filesize
    3 _7 J7 \% _$ ~% k5 I$ E. J; y
  820. upload_max_filesize = 50M
    9 v4 K4 x: j6 {
  821. ! o. F! n  A+ G2 y1 y1 @) r% B
  822. ; Maximum number of files that can be uploaded via a single request5 d9 Z1 D7 ]2 D9 O  f: K0 U
  823. max_file_uploads = 20
    9 v& Q( J  c3 {; \8 g3 T3 `
  824. : z8 r9 Y' J, Q/ [. L
  825. ;;;;;;;;;;;;;;;;;;
    + {9 l' j9 W0 G# A: h+ i
  826. ; Fopen wrappers ;& p+ b2 }/ ~. s/ X" S
  827. ;;;;;;;;;;;;;;;;;;
    & A4 v& l) a1 }( b; v

  828. 9 C& U/ t( i7 P: {! M0 a
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.: l% h) I; l4 M* i* O
  830. ; http://php.net/allow-url-fopen
    . h( K1 b) H  Z# f
  831. allow_url_fopen = On
    3 _+ S  @+ N! f, z! r0 `
  832. - P7 o$ i7 }% b
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    8 o7 w: t8 q; T
  834. ; http://php.net/allow-url-include
    2 q" m  [+ y, ~  M- J/ {9 n
  835. allow_url_include = Off
    / ?% o4 W( _8 u; \: P( K

  836. 9 V( S. b  }/ b+ `
  837. ; Define the anonymous ftp password (your email address). PHP's default setting, k+ R3 o% ^) a1 R( K. c
  838. ; for this is empty.- L  U( u. Q0 `# X; E
  839. ; http://php.net/from$ j8 ^9 V9 c* _' i
  840. ;from="john@doe.com"
    ) t) F8 E* {# M. u

  841. ' K. x3 k2 L* o5 }# a$ K% M0 G  m9 U
  842. ; Define the User-Agent string. PHP's default setting for this is empty.7 @( M$ V/ K% w% H, o4 y( U& Y
  843. ; http://php.net/user-agent# t' o! s. m; {" x- `9 a6 G5 ~
  844. ;user_agent="PHP"- y( f" I4 Q; R8 A7 o3 |' s; V

  845. 2 x2 P5 G. s2 v
  846. ; Default timeout for socket based streams (seconds)0 @) s. R, O: `7 p/ a" @! r
  847. ; http://php.net/default-socket-timeout# {* Q9 G& D; }' `6 S& y
  848. default_socket_timeout = 60$ B2 l5 X& q, q3 U* [  O2 i0 N

  849. . v% [# D- f" v+ r  j  j
  850. ; If your scripts have to deal with files from Macintosh systems,
    - F$ r7 r& Z" l
  851. ; or you are running on a Mac and need to deal with files from+ J, n/ z: m$ z/ k& s! b
  852. ; unix or win32 systems, setting this flag will cause PHP to! W7 `5 M9 k, _6 T
  853. ; automatically detect the EOL character in those files so that
    . Y* _+ h, h; }
  854. ; fgets() and file() will work regardless of the source of the file.# S; Z3 F5 c* F
  855. ; http://php.net/auto-detect-line-endings' Z  C! G4 D/ N& ?. }
  856. ;auto_detect_line_endings = Off! ~  n  t4 f' L& |. Y7 o

  857. 4 ^' G' q. V7 c- l9 s
  858. ;;;;;;;;;;;;;;;;;;;;;;! ]# \3 ~4 J" W9 @$ E# r$ \) H
  859. ; Dynamic Extensions ;
    ( p+ ~  @* r' ]" V& R4 a
  860. ;;;;;;;;;;;;;;;;;;;;;;" g0 z% ~/ o; t; U5 t" {

  861. 8 m5 D& X  r* n* u' d" k
  862. ; If you wish to have an extension loaded automatically, use the following
    9 ~, y, ]  m( j- e" L; d2 S  O6 e
  863. ; syntax:9 Q8 R% z/ G; L. ]9 y: [
  864. ;
    ! B/ _* t# }* @$ U* X
  865. ;   extension=modulename.extension
    ( R" y  \9 ^. ~
  866. ;6 H5 w: @6 q: K9 k6 n' n& |1 N" z
  867. ; For example, on Windows:( ?3 E$ ^( u  O2 i
  868. ;; g# A+ B( W$ s/ A$ f3 N; t
  869. ;   extension=msql.dll
    ; E; ]9 Q6 f) @/ f
  870. ;
    6 @4 U( n- J' @
  871. ; ... or under UNIX:
    6 ?+ v1 G  ]0 @8 ?* z# Q+ ]
  872. ;
    6 e. a1 C! M( x7 {. o
  873. ;   extension=msql.so
    ' [- g# l/ c. r1 k) p( S6 P
  874. ;; ~) x, R9 {' ?5 H" ~8 [3 j) {
  875. ; ... or with a path:
    8 ?, ~6 ^, S; }6 O; P$ ^5 I- U
  876. ;( e- G8 c3 y! y( F+ [" n! T7 g
  877. ;   extension=/path/to/extension/msql.so4 W; G5 u' Y+ o3 P
  878. ;
    , h& O' P; g3 C2 K) z1 a/ v
  879. ; If you only provide the name of the extension, PHP will look for it in its
    , j. o( H! I6 d. B- E0 r! L
  880. ; default extension directory.- s, |4 x) _( i* f$ }" o
  881. ;
    1 }  `7 _: c8 }# L: p# F% z
  882. ; Windows Extensions4 f3 I5 W! j3 v; E
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    2 Y! n; N& i1 X8 Y
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)+ [. a: ^3 D. r* i( y) g" k# _" z
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    5 }( {- x* [; K' v0 F
  886. ; Be sure to appropriately set the extension_dir directive.
    * v7 }- Q/ J5 f; i$ A" T8 m6 s
  887. ;
    6 _- f/ g& |' a" w
  888. ;extension=php_bz2.dll- p' n4 o" {- J7 u& F% B$ L3 V$ \
  889. ;extension=php_curl.dll
    0 y6 ^2 _, s0 {( S6 a* W6 f
  890. ;extension=php_fileinfo.dll* `* p* m+ @8 w2 p0 p, m2 V" u
  891. ;extension=php_gd2.dll; s/ f! b, {' _/ K4 s3 s$ I" |8 V
  892. ;extension=php_gettext.dll
    ! v) S4 t  {$ @7 Z
  893. ;extension=php_gmp.dll3 J! `! ]+ r$ v
  894. ;extension=php_intl.dll: _4 U% P2 ~4 W/ ~) P
  895. ;extension=php_imap.dll+ c( n# r  T$ i) g% i% }
  896. ;extension=php_interbase.dll
    % @* S& k$ }' h) O% l
  897. ;extension=php_ldap.dll
    : v: P7 Z2 N; `. P8 Z* q: J% \+ D
  898. ;extension=php_mbstring.dll
    7 i) z+ t; T8 X9 A4 ]8 c! ^
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it1 A& U+ ]" c! Z% u" B+ _
  900. ;extension=php_mysql.dll
    1 W0 l* r. c# l& u: g3 u0 Z6 H( U
  901. ;extension=php_mysqli.dll
    % j8 a) V( x* c; V
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    " ^- D$ x. {& w+ w
  903. ;extension=php_openssl.dll: J1 j# o6 y3 j8 p: F6 |
  904. ;extension=php_pdo_firebird.dll
    ( c# t1 L: w/ |" z) w& @# M
  905. ;extension=php_pdo_mysql.dll) Q% R; A. N% R0 @/ r8 X/ e5 A2 h
  906. ;extension=php_pdo_oci.dll! a5 s  h. N! D% J4 \! a
  907. ;extension=php_pdo_odbc.dll- \: n0 I( k8 W% X9 o, z) j
  908. ;extension=php_pdo_pgsql.dll
    & u2 m+ G& K% c& O: H1 b. F% W
  909. ;extension=php_pdo_sqlite.dll! {% E, \; b6 U
  910. ;extension=php_pgsql.dll9 P* Z: a% e$ f1 J  z
  911. ;extension=php_shmop.dll
    2 z$ |- q8 O% P& K  Z
  912. + z+ J9 o% N# [' n- Z2 t; s
  913. ; The MIBS data available in the PHP distribution must be installed. & w( J0 |# M+ w" v# Y
  914. ; See http://www.php.net/manual/en/snmp.installation.php ' J% ^5 G. J- }+ h: D
  915. ;extension=php_snmp.dll
    ! s& _5 k* n7 W0 S, e& `+ j

  916. . X% {) a3 L# x. o) S
  917. ;extension=php_soap.dll
    ! g0 p! H7 C% d  ]' f
  918. ;extension=php_sockets.dll1 m( T6 @% D" v0 S# r8 Q7 ^. _
  919. ;extension=php_sqlite3.dll/ q) x/ }; ?; q( v3 T% j1 G$ j/ q
  920. ;extension=php_sybase_ct.dll
    8 o6 [8 A& f. k7 W) i. y* x. e
  921. ;extension=php_tidy.dll7 q4 s- o/ n' x* F
  922. ;extension=php_xmlrpc.dll
    ) \$ p/ z* X- {9 Y) ?6 ~: |
  923. ;extension=php_xsl.dll
    1 {6 t+ \9 z0 q1 S6 w) A
  924. ; M3 e5 o8 a" E3 `9 Z2 H
  925. ;;;;;;;;;;;;;;;;;;;4 r/ [' _1 d% ]
  926. ; Module Settings ;4 M, n# t* ?9 @5 ?" T# F5 s" l* Z
  927. ;;;;;;;;;;;;;;;;;;;) ^% V, A  V9 P  @' ?. b# A$ ?' u, c

  928. 5 \. _1 {. `8 m# M! |5 D
  929. [CLI Server]/ n, [+ |* i6 w
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output." y, d% s, i" _& u& W+ N& U' ^
  931. cli_server.color = On8 _4 J) ^* F  Y9 V; R
  932. - w9 Z# M8 s' u
  933. [Date]
    ! X( t  e2 [. J, E1 K
  934. ; Defines the default timezone used by the date functions
    - U( g* a8 Z$ W8 K, U- W% a2 R
  935. ; http://php.net/date.timezone' Z! t( S4 k, O
  936. date.timezone = PRC
    ) ?6 I: ]6 X& c0 L9 t

  937. ( t3 p  W. L2 |1 k* G* K! r$ n
  938. ; http://php.net/date.default-latitude
    " ]2 W- t$ `! p  b
  939. ;date.default_latitude = 31.7667, T2 z5 f; p( \- N& l
  940. - R0 l1 s5 q( b  |3 z& c
  941. ; http://php.net/date.default-longitude
    , V7 I1 ]3 L" T/ a6 r: P7 J
  942. ;date.default_longitude = 35.2333! R' `6 @3 I4 r/ A, X) }1 ~
  943. * X, T. n, @5 m! f
  944. ; http://php.net/date.sunrise-zenith  i0 T3 O5 f) z& u& _) `
  945. ;date.sunrise_zenith = 90.583333- {2 ]. o% G( \! a
  946. - q# o: P/ S( E) \1 H7 c
  947. ; http://php.net/date.sunset-zenith* `2 F8 {. i0 J  F& z; s9 V- @7 n
  948. ;date.sunset_zenith = 90.583333
    $ L  }) Q% l6 J! m8 n: ^
  949.   m, l7 z! u6 R; m$ \4 y
  950. [filter]1 ^: n4 I' v# Y# }3 e3 ^1 c" c1 U& D
  951. ; http://php.net/filter.default% F+ }' W- a: T2 c
  952. ;filter.default = unsafe_raw" ]5 d5 i. b& v# W; ]
  953. 8 i4 `4 R. M: R4 H' U
  954. ; http://php.net/filter.default-flags/ o2 b& f: g' _) y- I2 ]
  955. ;filter.default_flags =& K5 l! X& `9 A, g6 P0 ]5 n1 r8 d
  956. 4 B/ T/ ~0 C+ N/ D
  957. [iconv]8 s8 K! T0 J4 A, k( Q" z. K% a, _
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.5 `( `8 @# k$ n" }) ?/ v0 N  D
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    6 t; K2 z- f0 E- e. @
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding% ^: f: A& V! m1 t! D) n
  961. ;iconv.input_encoding =
    - g4 u( T9 j) M$ `& K! r
  962. ) v/ J5 U6 `8 Y# g; {  V
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.8 K, ~: `6 @% [1 K' g0 p2 I
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    2 D3 u' ^5 i0 h
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding/ R; P/ r% J# W8 T0 U" K' O
  966. ;iconv.internal_encoding =  P( W" I1 b7 Y6 b4 S5 Q

  967. ) X! X) `. L; l5 V4 G5 x; C; T; X
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.; e' l/ [$ S3 P' B9 I
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.4 p) _% ^! V2 }3 m& e' G% [- w4 [  M0 B
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding6 h' [; l5 p& U, c  }. D- {% C
  971. ; To use an output encoding conversion, iconv's output handler must be set
    6 t8 O2 h) _( Q% u, s( F1 M
  972. ; otherwise output encoding conversion cannot be performed./ Q& ~! q4 }4 m7 n# X
  973. ;iconv.output_encoding =! ?& n- r. D% M

  974. 0 U$ i1 T9 w  e# A* G) c1 ]
  975. [intl]# C: O- e8 }$ n' H+ {4 Y0 Q. \
  976. ;intl.default_locale =
    / E- `7 |3 H3 n+ D) M% F. J
  977. ; This directive allows you to produce PHP errors when some error
    ) [- R& h8 S+ a7 Q* ~: U
  978. ; happens within intl functions. The value is the level of the error produced.( V7 _4 e. h' G/ V& z. N. h; K
  979. ; Default is 0, which does not produce any errors.
    ; y0 l% R( q8 C' V8 L- F% C
  980. ;intl.error_level = E_WARNING. d" Y0 e7 K( j  H( ^
  981. ;intl.use_exceptions = 0$ \" S# M7 p3 B. K# R% _0 Z5 B9 P

  982. # v6 G, k0 ^5 k& U! `
  983. [sqlite3]
    7 h5 x- \) Q) l# l  j
  984. ;sqlite3.extension_dir =, E' A$ V+ n7 Z* r, m+ r' x
  985. - c& _. m1 p1 B
  986. [Pcre]
    ) E0 |  E, }& u8 u0 e) o
  987. ;PCRE library backtracking limit.
    ' P, I/ A; G7 Q! M6 `; b& M& m
  988. ; http://php.net/pcre.backtrack-limit# J0 p, x1 Z+ N$ l
  989. ;pcre.backtrack_limit=1000006 Y4 y4 u8 Q! ]2 G# n" E
  990. 1 @6 X$ A: {7 Z
  991. ;PCRE library recursion limit.: R  Z& v6 m  |. M; `5 k" M( ]0 j
  992. ;Please note that if you set this value to a high number you may consume all: A9 \; e7 w. r# g% L( C- W: ]
  993. ;the available process stack and eventually crash PHP (due to reaching the) i& Q3 k, i& r, S& g0 `
  994. ;stack size limit imposed by the Operating System).
    6 @- Z) g! O6 U9 V: J
  995. ; http://php.net/pcre.recursion-limit+ }0 j# F+ p% O+ b) ^
  996. ;pcre.recursion_limit=100000
    " M# E; h7 C$ T, f( F& p$ R

  997. $ z( P0 G- ]$ q* x9 R
  998. [Pdo]& ]# J- n) A8 s
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    7 J- C1 P! M6 W0 I% a# z
  1000. ; http://php.net/pdo-odbc.connection-pooling0 I) B8 \8 C+ w/ A
  1001. ;pdo_odbc.connection_pooling=strict
    " g  U+ ^* F! P+ [3 D* e
  1002. & C+ F4 J5 e% s
  1003. ;pdo_odbc.db2_instance_name. c8 w2 w; c& s

  1004. 9 \3 m& `* Q! _2 M- v1 o
  1005. [Pdo_mysql]; n0 m  O% S8 z7 _, d/ W
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / [9 I7 B+ P( W- @
  1007. ; http://php.net/pdo_mysql.cache_size( j7 Q( C$ K0 W( R6 v2 o% V1 X6 Z
  1008. pdo_mysql.cache_size = 2000
    ' t; w' g. T# @5 y' m4 A* @
  1009. ) X) x) D9 [: X
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in8 Y% F9 B9 U/ K9 K8 w" N% Y
  1011. ; MySQL defaults.  S6 G$ Z! ]8 J3 Z0 h7 w8 T2 e
  1012. ; http://php.net/pdo_mysql.default-socket
    8 P) Q$ b* S( f  g+ P
  1013. pdo_mysql.default_socket=
    ) ~& v' `% [; ?! v+ o, {
  1014. " t6 _- T) e9 ^0 p+ [8 k* \4 @
  1015. [Phar]) W/ z, C) y& e7 B0 T
  1016. ; http://php.net/phar.readonly
    4 ^  e1 Y6 C4 N8 F6 w0 o4 Y  x
  1017. ;phar.readonly = On2 [$ `' ?" m" C

  1018. 5 D, s% D# d5 h) T$ J5 x" ?. ^
  1019. ; http://php.net/phar.require-hash* v% s& _1 F: T4 P& [& ?3 q( J' ~
  1020. ;phar.require_hash = On
    : @/ t7 h9 [) a7 f

  1021. 1 {( ]' I! e3 x0 N$ R, e% [' b/ H
  1022. ;phar.cache_list =
    ) N0 f$ Z2 V( W6 Z$ l

  1023. 0 c; _/ t0 y4 C$ ~9 {2 I" u' u
  1024. [mail function]6 L1 d0 `; h" a2 @. V( F
  1025. ; For Win32 only.
    0 u$ B7 z) H6 s: u" {+ K6 c# O# z
  1026. ; http://php.net/smtp
      ^6 e2 M% }# O! j0 t2 E
  1027. SMTP = localhost
    + A/ V& q+ U- h( {( M6 ^4 E
  1028. ; http://php.net/smtp-port
    * Z6 W2 \2 |& D' r; `) v8 k
  1029. smtp_port = 25
    3 _$ @% G3 o4 c, e
  1030. # m5 T0 F6 q9 k5 K1 \0 C
  1031. ; For Win32 only.
    1 V/ t: {; w0 [0 H% ]$ N1 y
  1032. ; http://php.net/sendmail-from
    8 z" N9 l, w9 k3 m& M( j
  1033. ;sendmail_from = me@example.com$ v0 ]5 s  j8 m8 ]5 _% [  b8 f
  1034. 4 F5 J( N, [! x5 V0 N/ S
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ) t8 @) |3 j- w* w, Z- }/ `
  1036. ; http://php.net/sendmail-path
    - X# @2 k5 R, O: Q' c1 c3 Z8 p5 J
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    6 ~9 E% I# \: G* h9 X

  1038. # x8 W1 r% E  O
  1039. ; Force the addition of the specified parameters to be passed as extra parameters# S1 Z' w8 C6 b$ Y8 n5 r
  1040. ; to the sendmail binary. These parameters will always replace the value of
    . V3 J( E# Z# S4 h- ?1 h1 p% ]
  1041. ; the 5th parameter to mail().
      t* m6 k4 d$ u2 I# Z# W  ^
  1042. ;mail.force_extra_parameters =
    1 D% O* j5 o! o7 x' \; s

  1043. * N+ G1 `9 L5 f% J5 M+ h5 V
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename& k- P. a! d0 g+ E
  1045. mail.add_x_header = On& n( X8 r$ A6 I

  1046. . C9 a9 d+ ?. t& Z1 J
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    ; ^) N. _- q! q. Y, C
  1048. ; the full path of the script, line number, To address and headers.
    6 _# H! Q9 [( E! U) f% B
  1049. ;mail.log =
    7 w! G- J3 I8 z" ]8 }/ ~
  1050. ; Log mail to syslog (Event Log on Windows).
    ! R) s, D( a" e8 a7 b2 }
  1051. ;mail.log = syslog
    1 o- t" U! [/ g3 A9 j
  1052. / L& ]' T! P3 F
  1053. [SQL]4 m! O2 A& C3 P$ c1 G( |( x
  1054. ; http://php.net/sql.safe-mode
    " {2 s! e, i$ [" p2 v/ O
  1055. sql.safe_mode = Off
    , `" |% t; Q; v' L+ D- M

  1056. + i, |  s* Z/ @3 u
  1057. [ODBC]' F/ d5 r5 b  k1 ^
  1058. ; http://php.net/odbc.default-db, J7 e' x& U  S0 N) S
  1059. ;odbc.default_db    =  Not yet implemented
    . g" Z+ f. I+ U6 b' R; d
  1060. 3 e9 ?8 m1 H$ F9 G
  1061. ; http://php.net/odbc.default-user
    $ }9 B- p" `3 j. N& {: ~' o
  1062. ;odbc.default_user  =  Not yet implemented4 _% J  {" F1 J: e8 P6 G3 H' L6 z/ D
  1063.   ?+ M/ V) h6 Q2 f! l( B# Z5 @
  1064. ; http://php.net/odbc.default-pw' y# x1 u: i+ P- ?4 Z- W2 @
  1065. ;odbc.default_pw    =  Not yet implemented
    ) ^5 M4 Q8 v0 A  [: A9 [

  1066. 8 ~# i. g9 D! n+ C/ g/ a
  1067. ; Controls the ODBC cursor model.
    & n, y' I: i9 p1 R4 S$ i2 N( G
  1068. ; Default: SQL_CURSOR_STATIC (default).
    9 U1 y% p  ?0 J) a! \0 `
  1069. ;odbc.default_cursortype
    7 r' `  I, K4 H5 s

  1070. ( n8 b% s, |; q5 t( f! p! D
  1071. ; Allow or prevent persistent links.
    4 Q0 A8 H4 y( R: @2 M8 U
  1072. ; http://php.net/odbc.allow-persistent
    / J) k* q6 d  L- J3 B
  1073. odbc.allow_persistent = On
    9 S7 y, X. F' D& I* f% z, k1 L) ^

  1074. , ]+ ~+ ~. W9 l. f, m, Q
  1075. ; Check that a connection is still valid before reuse.2 N% a1 h  V. R, Q6 h
  1076. ; http://php.net/odbc.check-persistent
    ! n6 y7 R& @2 P: `" f! e
  1077. odbc.check_persistent = On7 c( B- z  a1 F5 ]/ g  g  M

  1078. . u% w' B- m5 q: l6 d% K
  1079. ; Maximum number of persistent links.  -1 means no limit.
    3 W: D2 m% q0 F. ^0 ~
  1080. ; http://php.net/odbc.max-persistent  F7 q% O! V3 W9 P
  1081. odbc.max_persistent = -1
    9 q, C# W. R6 U
  1082. 9 A6 ^6 H+ q8 x, `& d" y) ?
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 V) a3 k1 `3 d: u# P: m
  1084. ; http://php.net/odbc.max-links$ c/ |/ F  C2 q4 A& P5 b* q
  1085. odbc.max_links = -1
    / ~+ P5 r8 c8 _/ |
  1086. 8 b* h; a# z+ s7 B* O
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means% I$ A# a; ^* c$ O$ K
  1088. ; passthru.
    9 Q0 z6 W- K. l! S3 q
  1089. ; http://php.net/odbc.defaultlrl
    * S' R6 b# P  P9 b9 @* e
  1090. odbc.defaultlrl = 40961 E) X2 X6 |1 d+ v$ @
  1091. 7 J* [( X' F+ F: F! o9 w
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    # L& q% y8 u5 l8 @" F
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    $ a2 ^' p/ {/ x2 B+ h
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
      g2 w) e- \! g/ w, ?4 f. J! a
  1095. ; http://php.net/odbc.defaultbinmode
    ( J0 i- b- ]3 m4 W
  1096. odbc.defaultbinmode = 1. w% E; N# ?: X& F# [
  1097. 5 T  q( H! \  e5 X
  1098. ;birdstep.max_links = -1/ ?5 ?: h: C* }# x
  1099. 8 [9 D: D2 V# q( y( r( w% V
  1100. [Interbase]: T, b; w* T* k7 r/ A( q/ P
  1101. ; Allow or prevent persistent links.0 F3 r6 t0 a1 F( S0 t
  1102. ibase.allow_persistent = 19 E. V9 }, ~, y2 U
  1103. / C/ Y# ]0 G/ A0 T! d* d( g
  1104. ; Maximum number of persistent links.  -1 means no limit.
    5 F! [7 g/ J2 ~# e9 P
  1105. ibase.max_persistent = -1
    $ b/ E7 Y8 m# J1 g9 }9 q

  1106. ( f, ]8 J0 e5 K! \; w) R
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    & {: }+ z8 g. Z8 o% }$ x0 B/ v4 S9 I' z
  1108. ibase.max_links = -15 D; u, ~1 v4 I* F9 w

  1109. ! Q( [4 X2 @: Q' b- E  B2 u
  1110. ; Default database name for ibase_connect().
    8 K! j/ u3 _- k) N3 Q8 C4 y8 r
  1111. ;ibase.default_db =
      Z( H* H' D0 [' O

  1112. 7 O; o0 d) m) c) i/ M
  1113. ; Default username for ibase_connect().! [5 h1 b# w  D) }0 w
  1114. ;ibase.default_user =- B7 q% x9 W% E. W

  1115. + R) n; f3 d* W! \5 U% a6 t' @
  1116. ; Default password for ibase_connect().
    ) d# ], `/ E8 l4 |  y
  1117. ;ibase.default_password =; Q7 I6 z5 ~- `6 M. `2 C' X

  1118. . |! V3 x  j# ~' l$ N+ a
  1119. ; Default charset for ibase_connect().
    ! S+ v. |7 \+ [
  1120. ;ibase.default_charset =( q5 D! q! Y, U7 }$ u
  1121. 0 i4 p8 [' e" I( l5 w% `
  1122. ; Default timestamp format.2 c9 ^" ?  o2 q; Z6 N
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    - `5 H8 b+ C$ M/ G" D6 z' R  q
  1124. " ^2 [' W6 R8 x9 u6 M+ [0 k$ v
  1125. ; Default date format.' h5 ]- r1 ~' ~# b
  1126. ibase.dateformat = "%Y-%m-%d"
    ! E  B/ ^* R- \, R

  1127. 6 v7 }) T2 d7 L
  1128. ; Default time format.
    + |( j; ~  B; p6 Q) M, w
  1129. ibase.timeformat = "%H:%M:%S"! y1 n: H: Q( v- l2 Y  p+ d5 S
  1130. " w& z, f, |& n
  1131. [MySQL]
    $ i( V5 h7 R1 Z7 w# |9 @2 z3 E
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements* [/ H! m( R/ {/ {5 n* m0 q9 ?! D/ ~
  1133. ; http://php.net/mysql.allow_local_infile
    6 _7 Z& l4 B8 W, |) N% U5 n
  1134. mysql.allow_local_infile = On- n2 C( [; `3 y+ Q% O3 y+ @" w; e
  1135.   I4 F. ?7 P3 \/ L2 P
  1136. ; Allow or prevent persistent links.
    . f$ u: A# Z& {
  1137. ; http://php.net/mysql.allow-persistent
    9 c1 n0 f5 E6 ~/ O6 R* `0 o% X
  1138. mysql.allow_persistent = On
    # y) n" N& y/ ?  @. l
  1139. ) ]5 z$ ?) |% [0 h. H
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache0 c$ z. l( R! E* E+ T' X3 g1 b. J
  1141. ; http://php.net/mysql.cache_size
    0 y3 S# Z, N# F$ b) r
  1142. mysql.cache_size = 2000
    2 X/ @, f# X9 J$ j) m& n% o7 T  k
  1143. ; P0 H9 j7 U/ G' w
  1144. ; Maximum number of persistent links.  -1 means no limit.
    # d& L4 z9 R: N. u! i6 m( C
  1145. ; http://php.net/mysql.max-persistent; r. S7 b+ W& h9 B4 w$ A
  1146. mysql.max_persistent = -13 S+ k: h" b; ]4 a4 l7 H/ j- K

  1147. ; {" l' _3 C/ X# ]: J/ {7 \* a
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    $ T1 l) F) I! [1 `- |' Z
  1149. ; http://php.net/mysql.max-links
    9 @8 F2 `6 G7 @8 T4 z- l
  1150. mysql.max_links = -1
    , t# ~8 ?* C" \2 G( N
  1151. . h# v  s& s* E$ \
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    . K$ ]* h2 g6 x$ d  J5 |
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the0 Y7 e' y/ y3 A) k! D3 N
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look( w8 z, q' T# u" J- F9 g3 o
  1155. ; at MYSQL_PORT.
    5 M7 m6 W  B9 z2 X4 Q' |
  1156. ; http://php.net/mysql.default-port3 @6 V; A$ R6 U  V( q
  1157. mysql.default_port =
    1 B3 T% N( u8 X1 t1 z

  1158. 5 H9 `% W/ j6 y! W' ]  S
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    , U: i. D3 D  m% o1 `+ L4 m
  1160. ; MySQL defaults.
    ! {: M) G2 V9 I& J
  1161. ; http://php.net/mysql.default-socket  q6 _+ R* P4 J* z6 U$ W
  1162. mysql.default_socket =% y# E0 R( J' o) k" q
  1163. $ B1 l/ F0 M3 x- u; O6 J
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    $ O; @# E5 U: W7 q* w1 ^$ @
  1165. ; http://php.net/mysql.default-host8 ]6 R5 [# u2 e6 u# r/ a6 z
  1166. mysql.default_host =
    4 T$ V4 f9 A' s# P: y2 P

  1167. 4 G. T7 }  N9 I' |
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    # b6 c1 }) ?  w+ I  b& \2 @
  1169. ; http://php.net/mysql.default-user
    % ?, ^' J6 m0 z$ E5 J  F
  1170. mysql.default_user =
    9 M7 x3 K% Q( B0 \

  1171. - w; C! o; g- f! e- y2 W
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).) Y4 F3 @7 e+ R1 @) V8 e- x# h6 ]
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    * |- n. b) l2 e/ O6 \
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    1 Q$ e0 a. K1 M
  1175. ; and reveal this password!  And of course, any users with read access to this
    + r1 G/ k& }+ p& _
  1176. ; file will be able to reveal the password as well.
    . F/ Y2 H! G/ d# w  L! a. D  l
  1177. ; http://php.net/mysql.default-password
    & k" e8 T5 S/ I- n# M1 G/ Y
  1178. mysql.default_password =
    1 J) H6 |( e8 g" N
  1179. + C" T4 p: P# U, Y% y' ~
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
      S/ L; Q2 `' \: D
  1181. ; http://php.net/mysql.connect-timeout: Y+ W. [( r+ q8 m
  1182. mysql.connect_timeout = 60+ F# E& K+ \2 C+ L- `" Z9 L- C

  1183. 4 q7 O- }/ R: K3 d$ X* i' Y7 b1 Y
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and5 e' H# \5 |# A) X
  1185. ; SQL-Errors will be displayed.
    $ k. z  J2 K1 q) g; a/ J# _" y
  1186. ; http://php.net/mysql.trace-mode: x. I" Y8 W% A- W, _9 L; q
  1187. mysql.trace_mode = Off
    % _/ q9 _$ t) A, S8 f) U" K. v+ m: F
  1188. ) P/ I; R6 u+ e$ J
  1189. [MySQLi]
    9 l" s" i2 m0 `6 P' X% S7 ?0 T" E

  1190. 4 T& d1 |  W4 `4 O% p' `0 I
  1191. ; Maximum number of persistent links.  -1 means no limit.
    / y( y3 h  Q, }4 Q6 g3 D1 V4 I) Z5 u
  1192. ; http://php.net/mysqli.max-persistent9 \: N; Q0 G4 x, L/ k5 h9 @& J
  1193. mysqli.max_persistent = -10 A1 ^7 P3 k6 U) h

  1194. ' v4 w9 [! `% O5 Y9 k) X
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    . ]' x. l/ U: U$ }/ _
  1196. ; http://php.net/mysqli.allow_local_infile; H9 `; {: O8 H8 k5 j
  1197. ;mysqli.allow_local_infile = On3 I" Y- N8 a( m; Q% x& K
  1198. , r% `+ J4 Y& y6 d4 o
  1199. ; Allow or prevent persistent links.
    " X% a8 l9 |! V. k7 t- Z4 X1 ~1 Q" Q- \
  1200. ; http://php.net/mysqli.allow-persistent
    5 Q" b5 {5 K8 E/ I
  1201. mysqli.allow_persistent = On/ m' P6 \" T6 ]
  1202. 7 U5 o. s1 c5 @6 b# r2 P
  1203. ; Maximum number of links.  -1 means no limit.0 H: j) r& j/ P) y! Z
  1204. ; http://php.net/mysqli.max-links5 G8 g/ {$ T6 [& A4 P
  1205. mysqli.max_links = -15 }  x! `9 Q# E8 c5 n% O# c

  1206. % N1 b4 F+ I' O$ k' g% ^+ G. `/ M
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( {* i7 O+ j6 y  Y' T
  1208. ; http://php.net/mysqli.cache_size
    5 |9 l' F' m# l. f
  1209. mysqli.cache_size = 2000* m+ Q8 T+ v# _2 j8 C9 w6 \7 s% I
  1210. 0 o' C9 K  `  B% ~7 t* H
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use" @: i- a/ o0 x1 Y. l' F; [' _. l
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    $ b$ E) P1 i' A6 W! a# q7 t
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look6 k- X+ |  A3 Z. @1 q+ N
  1214. ; at MYSQL_PORT.
    " i0 F, P. G& Y. E$ Q3 s
  1215. ; http://php.net/mysqli.default-port
    8 I/ _3 m% M2 R$ ?$ g; n) I
  1216. mysqli.default_port = 33062 A/ G9 W$ O; ?/ _- v/ v* e( h8 ]8 a  Q- t

  1217. ( |6 H( H/ u, w' D6 @0 ^
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    $ S1 l8 y7 l' P& J$ E  [
  1219. ; MySQL defaults.% n) @# `6 \9 x: x5 Z/ ^6 [
  1220. ; http://php.net/mysqli.default-socket
    ' w! ^+ V; T0 C7 F  S  |
  1221. mysqli.default_socket =' |* P; I$ l3 m( E: o
  1222. - {( \5 K6 J7 j' T: |6 g% I7 q
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode)./ K* }. K2 i* |% c9 j" i) {! `
  1224. ; http://php.net/mysqli.default-host7 n* \9 U1 D# D( s3 }7 r
  1225. mysqli.default_host =
    ' U$ Z. M7 M5 r7 M, _0 T
  1226. $ z3 Y3 x( R% k8 k/ [4 J
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    . S$ ^( s9 g) ?0 q" P* V
  1228. ; http://php.net/mysqli.default-user
    ) Y6 q/ L! @  m9 v! c) _
  1229. mysqli.default_user =
    ) [6 _! O' j. W* `0 ?
  1230. + }) _& o5 L& W+ {/ k! q
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    3 P, {- k$ z2 {8 D9 O
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    + V/ x" Y/ x& n1 v4 S+ [/ d
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")6 J" k  p# a  E! F( N2 o- O
  1234. ; and reveal this password!  And of course, any users with read access to this
    # h4 Y9 _3 q0 ?# ]) o
  1235. ; file will be able to reveal the password as well.
    " F* n) G7 O' v+ D$ \3 J; u) |
  1236. ; http://php.net/mysqli.default-pw
    ' n' i% e5 \# c8 E
  1237. mysqli.default_pw =: M- h# {) Z; ^
  1238. & D( V0 V, b/ A6 S
  1239. ; Allow or prevent reconnect
    6 i9 {1 N, F, I% |7 _( z
  1240. mysqli.reconnect = Off& Q: o' s, j' W  ]  u9 `) |# L
  1241. 4 f5 Z0 \+ s: w6 z8 f6 T
  1242. [mysqlnd]  b* Z3 F# ~& C4 \4 z
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    % q  H5 f2 |* Q: z8 a) A8 i
  1244. ; used to tune and monitor MySQL operations.8 k' x3 k" V& h$ U
  1245. ; http://php.net/mysqlnd.collect_statistics% e( D% q( j# U% s$ H# ~
  1246. mysqlnd.collect_statistics = On, Q& H: _3 c* h4 C
  1247. ( C4 D& I% ]$ n$ x9 [
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be8 s, J. s/ S, n7 P5 X3 Z0 c6 r+ q
  1249. ; used to tune and monitor MySQL operations.
    1 X. f7 }+ C4 j! p
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    ; n. C5 D- A5 R9 C! L
  1251. mysqlnd.collect_memory_statistics = Off2 D; F% K7 r' M% |

  1252. 8 y% R, L/ t9 Y  ]3 a- l$ v3 E; Z5 d8 i2 r
  1253. ; Records communication from all extensions using mysqlnd to the specified log. ~6 {+ D8 u2 D6 U2 h  {" V1 H
  1254. ; file.
    $ u9 J9 d' f% a8 ~4 L, a& E* y
  1255. ; http://php.net/mysqlnd.debug
    * Y, I4 f: S+ J: q( r7 W7 d# r
  1256. ;mysqlnd.debug =) |" L2 P0 a. E6 A
  1257. 1 Q, U6 t( u# }  O8 U6 X
  1258. ; Defines which queries will be logged.
    % q2 w& q$ F, @$ i2 u1 E
  1259. ; http://php.net/mysqlnd.log_mask1 t9 f$ E6 ]+ U0 u! O
  1260. ;mysqlnd.log_mask = 0& h( E! _/ I& d# ~

  1261. - a- w# ^! |0 e  Q- P& M3 c
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.4 S5 D3 b/ m1 O- E# g! |% D; V
  1263. ; http://php.net/mysqlnd.mempool_default_size- g5 ?) b) d. K, b. Y, `  U, u
  1264. ;mysqlnd.mempool_default_size = 16000
    9 i1 C* w$ q1 X9 ?% X: |3 v
  1265. & G2 F& R+ L" L8 u2 }" M) @
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.; B5 ~3 G0 o* i/ Q8 R
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size% [2 @2 r6 K; Y- V
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    ) O) @+ g7 x1 Z, R
  1269. 6 `2 u& B2 e. v9 _3 \7 O
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in8 d" M* d; S) s
  1271. ; bytes.+ ?6 U. b$ q/ H& q% p
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    $ _/ N8 d& T+ q- \$ J% S
  1273. ;mysqlnd.net_read_buffer_size = 32768. t! n8 l! {' w) g1 V" f
  1274. , ~; V  E/ {- `' U) z
  1275. ; Timeout for network requests in seconds.
    3 h$ ~- V$ X& x# S7 M% t
  1276. ; http://php.net/mysqlnd.net_read_timeout
    $ o0 {5 ]4 c7 N# r- {! W
  1277. ;mysqlnd.net_read_timeout = 31536000: a. j/ U$ q$ f3 Y0 \/ ^
  1278. 1 I7 k- M# I4 {9 e2 ]# d; r
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    / c% X; x  L4 R6 X7 c* G
  1280. ; key.
    9 g7 z+ w5 f6 u0 ]* S$ q
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    : v" h5 `/ Q* I! ?
  1282. ;mysqlnd.sha256_server_public_key =! i: i+ y7 o- f7 j) Y3 ]% I+ R

  1283. . p5 n$ \- q2 g( R) }8 j
  1284. [OCI8]
      D' r& h3 O" x5 \& z
  1285. , |' Y' v% ?, J1 d
  1286. ; Connection: Enables privileged connections using external5 q9 n, q, `* T: e# w
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)8 s, J+ U. S* ?/ }( q
  1288. ; http://php.net/oci8.privileged-connect) }+ u2 I$ ^- ~& P" e8 f
  1289. ;oci8.privileged_connect = Off
    8 k. c! ]  g5 e; e( e6 C+ ~7 P: m% J

  1290. 1 J- r& W- c% }/ p9 r
  1291. ; Connection: The maximum number of persistent OCI8 connections per  R4 N, C# J0 }7 E
  1292. ; process. Using -1 means no limit.( ]* w( q! @4 F* W% g2 i! ?
  1293. ; http://php.net/oci8.max-persistent
    1 w, Q% Y( ]: e- t
  1294. ;oci8.max_persistent = -1
    ' Z( E: D$ D9 a( \/ [

  1295. 4 J2 O# y. l' x$ }
  1296. ; Connection: The maximum number of seconds a process is allowed to
    , b* u5 F, j, I/ K2 B
  1297. ; maintain an idle persistent connection. Using -1 means idle
    + N" i6 w/ ?! b- v# @
  1298. ; persistent connections will be maintained forever.( W) Y% f! I; T! D$ S) ]7 I
  1299. ; http://php.net/oci8.persistent-timeout
    $ U4 p+ t/ k4 l! X
  1300. ;oci8.persistent_timeout = -1
    - D! E" R3 A* a* J  }
  1301. ( k! U5 }! {$ Z# b0 q2 D, R( r
  1302. ; Connection: The number of seconds that must pass before issuing a
    5 D: c- C  Q! k; @7 @% J
  1303. ; ping during oci_pconnect() to check the connection validity. When8 {: U- d% R  J1 Y
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables% \: {$ w9 {+ _, t3 k
  1305. ; pings completely.4 I# u7 C$ n: r) D' E( }+ A
  1306. ; http://php.net/oci8.ping-interval8 a# }8 ~" E( N* i1 }
  1307. ;oci8.ping_interval = 60; e8 q4 T6 K; Z
  1308. $ M# f$ F4 K0 [3 i' }2 S, _' R
  1309. ; Connection: Set this to a user chosen connection class to be used
    ' [8 c8 ]+ [, ~- |* ~: _' k4 ]  b/ ?
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    . n4 e* M6 [* l# R7 [
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to' [4 ?8 t5 S" X/ p
  1312. ; the same string for all web servers running the same application,, t$ x- d8 m5 K$ g9 i* b! e
  1313. ; the database pool must be configured, and the connection string must
    2 H  r3 J/ j# z" I4 E) c
  1314. ; specify to use a pooled server./ N+ B1 X- ^4 Z
  1315. ;oci8.connection_class =9 p* D% y' a8 L. ?3 A2 C
  1316. 1 J1 Q. k" C$ H1 R
  1317. ; High Availability: Using On lets PHP receive Fast Application! }! }; Q8 U% z' L. ?8 g
  1318. ; Notification (FAN) events generated when a database node fails. The
    4 x  x5 e6 T/ I" F1 D/ U
  1319. ; database must also be configured to post FAN events.: q* w) F6 Z' H6 {' [! G
  1320. ;oci8.events = Off
    5 K% l+ X1 E) R0 p7 N
  1321. $ l/ q( x7 L- ]# J# _& a* P
  1322. ; Tuning: This option enables statement caching, and specifies how: Q8 c$ `. B+ W% @
  1323. ; many statements to cache. Using 0 disables statement caching.
    * ~# m% i0 ^6 P' Z% S. E
  1324. ; http://php.net/oci8.statement-cache-size+ V# Q( D4 p$ q5 b- h4 `
  1325. ;oci8.statement_cache_size = 20
    . J4 W& L, e$ J3 w3 Z
  1326. ; Q% ]4 ?: S; s# a
  1327. ; Tuning: Enables statement prefetching and sets the default number of& s  n1 f1 b2 B
  1328. ; rows that will be fetched automatically after statement execution.
    . d' s: j: m: R: e3 Q3 V
  1329. ; http://php.net/oci8.default-prefetch/ P, ~; E6 E, ~& _% t* L5 \
  1330. ;oci8.default_prefetch = 100
      ^* _  ~: N  V% d- g

  1331. , `9 A: Q; K: S2 C% e; ^
  1332. ; Compatibility. Using On means oci_close() will not close
    6 _2 H5 R) G4 ?3 {6 s9 ?
  1333. ; oci_connect() and oci_new_connect() connections.4 m6 \5 P7 U* t
  1334. ; http://php.net/oci8.old-oci-close-semantics/ @" g0 U. @! I, u# B& }
  1335. ;oci8.old_oci_close_semantics = Off$ b$ k! i7 K- V, R

  1336. ' u1 G% J5 o. H( U' e$ z5 `
  1337. [PostgreSQL]
    , E, c& g  P' l4 w
  1338. ; Allow or prevent persistent links.. Q' K# j$ H5 o; f9 A/ L) D
  1339. ; http://php.net/pgsql.allow-persistent" I$ l6 H* b% J; y% }
  1340. pgsql.allow_persistent = On
    ! i0 f% n( f; a- u
  1341. . f2 ?6 U" r, e' [  n3 v' K
  1342. ; Detect broken persistent links always with pg_pconnect().
    8 [1 q3 b+ Q% Q6 h
  1343. ; Auto reset feature requires a little overheads.% N6 w4 y, U* \2 s% L9 R( {5 U
  1344. ; http://php.net/pgsql.auto-reset-persistent
    6 m/ {. D" S8 v" u. X/ X; C
  1345. pgsql.auto_reset_persistent = Off
    ! P  c0 w# E% o/ V+ Z

  1346. 4 |# {. e6 ^6 B3 C! H0 C
  1347. ; Maximum number of persistent links.  -1 means no limit.) [, o* _& `) a- ~3 d. Q
  1348. ; http://php.net/pgsql.max-persistent! C" Z" r! i; b
  1349. pgsql.max_persistent = -1
    0 w8 N5 [$ J+ F& f
  1350. $ P) q) k/ c" L5 V. e
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.! u# Z1 A- y% k9 f- T2 k
  1352. ; http://php.net/pgsql.max-links* d( e3 m* v- \9 z" W" L( O  y
  1353. pgsql.max_links = -1
    3 |/ A2 L4 t. w2 W5 c
  1354. 0 w9 Z$ X/ k3 R3 [* z: t4 d# G
  1355. ; Ignore PostgreSQL backends Notice message or not.6 p( w# ]  q9 K% a: u
  1356. ; Notice message logging require a little overheads." k8 K2 |* ~" @5 ^3 f3 I
  1357. ; http://php.net/pgsql.ignore-notice
    8 z" e, F7 s6 b; E
  1358. pgsql.ignore_notice = 0! C. H: _5 ~1 f6 e  A; ]
  1359. 3 y/ q3 _8 E. y$ M( ~4 b1 H. \4 @$ _
  1360. ; Log PostgreSQL backends Notice message or not.
    - P+ i  l+ ^1 S) k  o
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.$ }. x- \5 A" a& C* W  ]9 n
  1362. ; http://php.net/pgsql.log-notice9 S/ V+ c. M# [6 ~4 H" Z6 H
  1363. pgsql.log_notice = 0+ u0 _  ^) u5 c1 r$ f% p
  1364. 1 R$ I: [7 o# h5 L" F
  1365. [Sybase-CT]
    . O4 [8 s' n7 |9 V; _) ?
  1366. ; Allow or prevent persistent links./ q( C* P, R" e$ T- ?- Q
  1367. ; http://php.net/sybct.allow-persistent
    2 R! r/ w3 u6 z, W0 F. c% Y# f
  1368. sybct.allow_persistent = On
    - x. p& n2 }5 _1 X) d8 M  G* h1 j) `% H7 H
  1369. , e  @2 u7 ^% G/ ?9 c! S0 e
  1370. ; Maximum number of persistent links.  -1 means no limit.
    + q$ ]) _# C3 k* A, H' v
  1371. ; http://php.net/sybct.max-persistent# N0 `6 f3 n2 n: p/ u4 ]  ?
  1372. sybct.max_persistent = -1* C1 A1 a/ j5 A8 }% d* t0 K

  1373. 2 }% ^; G: a2 e1 S. E3 u% O+ q
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.; v+ m5 k8 r2 T' r' i/ a  i, [+ O1 E
  1375. ; http://php.net/sybct.max-links& q8 N' }% F! E9 N
  1376. sybct.max_links = -1
    0 J3 x  D# d) L
  1377. . d$ s# r4 O) t  ^6 _% E! A
  1378. ; Minimum server message severity to display.1 _$ s$ T3 d/ d2 b9 i9 }5 D1 \
  1379. ; http://php.net/sybct.min-server-severity
    ! }6 O, ]3 v8 n/ x5 n2 `
  1380. sybct.min_server_severity = 102 t& C! P% ?4 V; \5 C( c( s, M( r

  1381. % D8 I- B) |0 f: ^, R& P5 @7 p
  1382. ; Minimum client message severity to display.
    ' A7 m! x0 K3 h! ?( J) w
  1383. ; http://php.net/sybct.min-client-severity
    6 H( ?2 x) p: h) A8 K, Q9 m& s- I# l
  1384. sybct.min_client_severity = 10
    5 i2 `) W. {% S$ F. x7 P+ t& o
  1385. ; M8 `1 _1 Z, H0 m4 p* u
  1386. ; Set per-context timeout6 @4 }! b  c% \' h; H" D
  1387. ; http://php.net/sybct.timeout
    # u. U2 Z6 l6 K$ [( j
  1388. ;sybct.timeout=
    + n, \" N% b* u5 B1 ~6 F! M) h" g
  1389. , r7 Q2 V1 |* H9 l% P: R. _
  1390. ;sybct.packet_size
    % m9 O. E3 X! m! z) z/ ?$ u
  1391. ; T, Y' y4 C" w
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.! c/ Z  y% W; Y! b9 T
  1393. ; Default: one minute
    ! E. w6 b. `9 j
  1394. ;sybct.login_timeout=
    * u5 j/ \" e" A
  1395. : s1 ?4 s6 n1 ]6 j
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    4 t2 h& O) b4 ^3 L5 r' @# [- l
  1397. ; Default: none: }7 E/ q! y: K2 m: v3 t% u6 K
  1398. ;sybct.hostname=* n: g6 Y8 Q* f3 g, @

  1399. 9 |8 H) F( }  C, X6 I! [( w% P
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".8 o: E6 g/ D7 D) V0 C3 Q& o" [
  1401. ; Default: 0$ m& a3 s& g7 L. K4 P# ~
  1402. ;sybct.deadlock_retry_count=$ ?, {8 u. _- A5 M
  1403. # ?( X; w( P" v! e' }- F+ B6 {
  1404. [bcmath]
    6 Z% a$ L  f. C7 M
  1405. ; Number of decimal digits for all bcmath functions.
    " l& V  s: {$ q6 e. I
  1406. ; http://php.net/bcmath.scale8 {2 l9 q( G2 G8 M
  1407. bcmath.scale = 0
    0 G4 E% D" c2 @

  1408. + A( R2 ^( U" L2 D' z0 g
  1409. [browscap]
      Z6 ]  F6 ^& n( w
  1410. ; http://php.net/browscap
    ; e! {% r- M$ }$ o- ?; H) W3 O
  1411. ;browscap = extra/browscap.ini
    3 ^! h1 `$ m* b, \
  1412. - h- A' W! K9 s9 E' k3 X7 Q
  1413. [Session]) n/ O, k* |3 `. ]
  1414. ; Handler used to store/retrieve data.: w- z1 }& R" w) \# w/ x
  1415. ; http://php.net/session.save-handler
    1 e0 j- `7 c. }8 f+ k$ \( m$ j! Y2 @
  1416. session.save_handler = files1 n1 j& f7 B" C$ {9 _
  1417. : s" v* Y# T  ^* ?
  1418. ; Argument passed to save_handler.  In the case of files, this is the path! g% m' C/ Q! i' _$ F% c' L' N8 B
  1419. ; where data files are stored. Note: Windows users have to change this
    & h/ ~  v& [6 t& a3 e2 P
  1420. ; variable in order to use PHP's session functions.
    0 ?* x3 t4 W3 a1 P/ u. V
  1421. ;
    ( ~+ H4 K- e$ M0 ?# ?* [
  1422. ; The path can be defined as:
    " T$ d- d7 a7 G2 j8 \& o
  1423. ;
    3 B$ }+ z+ J4 u0 O0 f' W
  1424. ;     session.save_path = "N;/path"- t1 D6 i# X% P) Z5 t9 t$ S* J: B
  1425. ;
    - u' z3 g5 L' I- F
  1426. ; where N is an integer.  Instead of storing all the session files in
    4 A' @8 D# y5 v/ o! T+ b+ a* h
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    6 G( s6 _0 \0 G( B8 T
  1428. ; store the session data in those directories.  This is useful if
    % D& D# S3 _2 f# G% ]9 V
  1429. ; your OS has problems with many files in one directory, and is+ ?/ h& k# F* E# V8 B
  1430. ; a more efficient layout for servers that handle many sessions.
    ' a' u; [9 h9 F! Z% @/ K
  1431. ;
    4 C& Z+ ~. w8 n8 q" T( b  e- |
  1432. ; NOTE 1: PHP will not create this directory structure automatically., L* D4 Q* [9 C9 {# _
  1433. ;         You can use the script in the ext/session dir for that purpose.& w2 ]+ S( D* \, u" a4 m5 l
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    5 H  P6 _& J' x( Y; t# p9 m
  1435. ;         use subdirectories for session storage
    ! w, d" Q- k6 _9 a3 O, k
  1436. ;2 e+ v2 `, i) m4 L, f5 \
  1437. ; The file storage module creates files using mode 600 by default.7 O, n# k3 ^, K* D6 F* ^4 N$ b
  1438. ; You can change that by using/ u) Z3 Z! r# q+ \
  1439. ;$ f2 |, _( F8 l- _% C
  1440. ;     session.save_path = "N;MODE;/path"- Y' V1 j! }, u- g! T0 [- p0 j# l
  1441. ;
    " n% Q: ~% A5 W& o& ^+ Y/ F
  1442. ; where MODE is the octal representation of the mode. Note that this
    4 a. q/ g  n0 W6 N, q
  1443. ; does not overwrite the process's umask.
    7 b( v( x, c* L, V, |
  1444. ; http://php.net/session.save-path) Q( T! s: h3 N
  1445. ;session.save_path = "/tmp"5 I; P( J* a0 p

  1446. 9 \$ S+ a2 t6 S9 H" j
  1447. ; Whether to use strict session mode.
    ) w1 }; l% g# K9 Z
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate/ ]5 n/ x% {+ c) A! ^- R* r* \
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    * A* W/ z' ?* b5 w
  1450. ; applications from session fixation via session adoption vulnerability. It is
    / }% C, g$ V5 N: W# K  h
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    9 o: E& z0 _" h+ L
  1452. ; https://wiki.php.net/rfc/strict_sessions9 Q; Q, W5 {' G; }# R3 T4 B+ O
  1453. session.use_strict_mode = 0$ W, b& Z, A# h/ B! @* X( [

  1454. 7 H  D! [. ^  I2 h/ n% _( `3 k' l
  1455. ; Whether to use cookies." c( _' G& z1 P* a
  1456. ; http://php.net/session.use-cookies
    9 l" ~$ W2 j/ Q+ R2 y; W) }5 _! Q
  1457. session.use_cookies = 1
    * B! c; h( C- Z6 _: V! D: P! y
  1458. $ J: g- H- ]# i/ c; V. _
  1459. ; http://php.net/session.cookie-secure
    ! k6 \2 [; q! `; }
  1460. ;session.cookie_secure =7 n" ]* C# r4 R: n9 g

  1461. 6 l0 \9 W" s$ `4 g+ N5 h
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining3 `# H1 o6 p. {: r! H* W; |
  1463. ; the session id. We encourage this operation as it's very helpful in combating+ T% T; t3 Z- @) l- g; n" B6 k6 v
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ! ]3 s; [) S. }4 D% D! H5 M
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    9 f: I4 C, m$ o% w
  1466. ; http://php.net/session.use-only-cookies. y! ?' m' b1 b* x  ]* Q+ f0 _7 P6 K
  1467. session.use_only_cookies = 1
    2 U1 A6 [4 S& q! |( v3 e6 D: _9 G( r
  1468. ' d0 P+ c7 m& t" m
  1469. ; Name of the session (used as cookie name).) m+ W1 l0 {- K4 P
  1470. ; http://php.net/session.name$ q/ Y$ f  y# z; U* C, b
  1471. session.name = PHPSESSID
    + F. e: N4 G" D$ k  j  w3 b$ h

  1472. * i+ o! I/ b& E3 `
  1473. ; Initialize session on request startup.
    8 P1 Q; S4 Q, K9 p2 {( }
  1474. ; http://php.net/session.auto-start+ T$ r5 C! E5 B) h. T& ]% o
  1475. session.auto_start = 0
    $ _7 C  s0 B2 \" R" _) x

  1476. + }# o- P$ ]$ f2 ]$ W
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ) v" d- f' G2 `6 |: F8 j
  1478. ; http://php.net/session.cookie-lifetime
    . C9 C+ ~% I( j3 A
  1479. session.cookie_lifetime = 0
    8 c6 ?6 ?, a) \2 j! y# z% }+ v/ \

  1480. + C, _) P+ _5 K
  1481. ; The path for which the cookie is valid." ?/ H6 Q( |9 A
  1482. ; http://php.net/session.cookie-path+ q; D/ b5 T7 u( Q* s
  1483. session.cookie_path = /
    9 a( C9 }$ J& t1 q

  1484. 4 ^3 _% H+ _4 y
  1485. ; The domain for which the cookie is valid.
    8 a& f( M. H( y. w/ ?; Q- t
  1486. ; http://php.net/session.cookie-domain7 T. _+ ~! i9 L7 H7 x( }
  1487. session.cookie_domain =- x! v, P" i# f# W& Z- `
  1488. 2 E( A7 i' W' ^2 m
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.5 F! O3 C0 U" a# u! s( M7 }) \
  1490. ; http://php.net/session.cookie-httponly7 ~: T" F8 x  d; j5 a* e
  1491. session.cookie_httponly =
      P# z2 [0 v0 q0 o7 O9 X0 p6 a: |

  1492. 4 F" B! a; l& b7 r/ K4 A
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    & A% O9 a* w3 k/ s! ^# }- p
  1494. ; http://php.net/session.serialize-handler
    , v; J% K# j& |. [6 l2 u; h  |. Z9 s
  1495. session.serialize_handler = php( R; A; f- `7 t" g; W
  1496. ) a2 {2 T) X) E- m6 @% o
  1497. ; Defines the probability that the 'garbage collection' process is started3 a* L! |( T3 W+ _0 {( G0 R9 H+ @
  1498. ; on every session initialization. The probability is calculated by using# I; a$ b  l! P4 Q
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator* ]$ z8 H/ M/ _
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
      F- I- Y! u: I' f* _, ~- Z
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    - s7 t, B0 g3 o4 i& G! m
  1502. ; the gc will run on any give request.! l6 b( J8 P- ?3 @) C% {, m6 x
  1503. ; Default Value: 1
    1 F  U# f4 e# `4 c
  1504. ; Development Value: 1' Y1 M* t* g* a" ^, j' n
  1505. ; Production Value: 1
    . E" I) n# ~3 k4 b( ]
  1506. ; http://php.net/session.gc-probability
    9 Y+ z. ]$ G: r+ P0 F6 h
  1507. session.gc_probability = 1
    " g9 O7 Z9 e: m; `

  1508. ( w1 k( t  K- Z0 b  b1 r
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    " Y& h6 X% v1 C0 Q8 V/ V% I3 y$ _
  1510. ; session initialization. The probability is calculated by using the following equation:
    / [3 s/ |; g9 S5 i. E. i
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and4 \1 d' U% ~/ Y) o* x( A" I/ ?
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    4 h3 u1 [" N: G+ n4 ]: ~
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance! j- t8 x9 m& M- O/ U. ?8 c0 \  g
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you$ [  `4 y" Y" B& T- h
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    # ^; X% ~' w+ J6 v; _
  1516. ; this is a more efficient approach.
      F& V8 g. G6 l! Z6 m
  1517. ; Default Value: 100" p3 U9 M. ~* C8 y. a4 G- X( U: X
  1518. ; Development Value: 1000+ s3 M3 M! B. B( e# I4 p: v
  1519. ; Production Value: 10002 ?) [- E& l! s( s
  1520. ; http://php.net/session.gc-divisor- @6 b# @* K% R6 l) H
  1521. session.gc_divisor = 1000
    , h! o+ c; d% S- F0 i; J

  1522. " K- n# \2 j# ^2 X9 U5 S- }
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and) Q& ~3 s( d. O2 ]8 }. D+ M/ X
  1524. ; cleaned up by the garbage collection process." @% z3 k/ k: z( I- s
  1525. ; http://php.net/session.gc-maxlifetime
    # P8 w+ Y2 K* ^' D" d* ^  U. {; f+ m% B
  1526. session.gc_maxlifetime = 14404 x5 }( `4 }: `& d0 Q$ r! i6 y
  1527. - L8 p3 j6 d5 ?2 P
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    5 O) I" d; T& X5 k$ D
  1529. ;       (see session.save_path above), then garbage collection does *not*5 z7 r9 s  R! [  O% Y
  1530. ;       happen automatically.  You will need to do your own garbage: l" y/ L7 x$ a' D4 {
  1531. ;       collection through a shell script, cron entry, or some other method.  a8 a( E& E+ ~  k( \4 N" }) D
  1532. ;       For example, the following script would is the equivalent of4 v0 y3 V6 S2 g
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):! e6 k- T( L* P# u
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm% y9 c4 c% Q$ Q4 I+ W, y. w, k

  1535. " F( |1 y7 `+ g& v  u; G; L
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    * h/ P' i% X" R1 _
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    ; j/ Z2 ~* E8 e8 [; d6 @
  1538. ; considered as valid.  G4 D' ]$ _4 [- D, h' v
  1539. ; http://php.net/session.referer-check
    2 M2 L3 y% a, o2 m2 z. N% v$ r  e
  1540. session.referer_check =7 v4 I$ {6 \) U
  1541. ; E: L/ o4 g# G& _' V. B. s
  1542. ; How many bytes to read from the file.
    : {4 S2 h6 _/ F  y
  1543. ; http://php.net/session.entropy-length( l5 ]) ]8 q* N% T
  1544. ;session.entropy_length = 32( A; k9 Z% e4 j% z/ S

  1545. - M1 u9 i( g! c4 }& D
  1546. ; Specified here to create the session id.! L7 l2 X7 p. N' [' V! u
  1547. ; http://php.net/session.entropy-file8 q2 L* a1 U. E2 W" f
  1548. ; Defaults to /dev/urandom" s: O* F: Q7 F8 v$ J$ {; M
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    # b( D1 B* j9 g: ?* F0 Q+ U. K( O: v
  1550. ; If neither are found at compile time, the default is no entropy file.& J* V# o3 J4 F* h( `
  1551. ; On windows, setting the entropy_length setting will activate the
    - L( h  \3 f$ ~$ `$ C4 K
  1552. ; Windows random source (using the CryptoAPI)' _: b8 [& j9 d6 Y- Z$ k( M
  1553. ;session.entropy_file = /dev/urandom: a0 U3 {) ]8 `) ~' a8 A
  1554. / J" c; p% S- b$ `1 Z  `2 \) X  x4 {
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    : U, \7 S9 i' i- ^+ e
  1556. ; or leave this empty to avoid sending anti-caching headers.$ q3 O1 s" h/ `# [3 d& {
  1557. ; http://php.net/session.cache-limiter
    5 t4 ^" M7 A" d+ ]( X6 i1 J
  1558. session.cache_limiter = nocache
    ) p# c+ {; Y8 q2 C( v2 E) D; O8 z
  1559. ! e& @0 P* M/ C6 F& y
  1560. ; Document expires after n minutes.
    2 K' s9 p7 s1 I0 L$ m+ ]4 I
  1561. ; http://php.net/session.cache-expire
    , H! t0 n1 ?5 k, F* U4 s
  1562. session.cache_expire = 180( W+ o; }3 S, q4 w* m# K7 J0 ?2 o

  1563. ; s$ V# Y! H" z8 X
  1564. ; trans sid support is disabled by default.
    0 c+ \! v( y: `) @5 M7 ?7 |2 o
  1565. ; Use of trans sid may risk your users' security.
    2 c+ L2 @, w* |! b) u- @) g" N( r7 h
  1566. ; Use this option with caution.
    ( k1 x# g& r9 P: R5 E- l
  1567. ; - User may send URL contains active session ID
    ' t, u7 U+ T) _, ~2 R3 C* f6 K) ]
  1568. ;   to other person via. email/irc/etc.
    % Y5 X* S- S3 C) G& }- T
  1569. ; - URL that contains active session ID may be stored  o( b0 k6 p1 }4 {1 L
  1570. ;   in publicly accessible computer.9 }" ], J; E5 H4 C
  1571. ; - User may access your site with the same session ID
    " d" x+ g: l- L7 |3 q4 k7 u( ?
  1572. ;   always using URL stored in browser's history or bookmarks.# h4 T7 q5 B! [- A6 N
  1573. ; http://php.net/session.use-trans-sid
    7 @" G8 C0 Z) s* @) M$ j" M& X
  1574. session.use_trans_sid = 0
    ' q: H" w* p: }, ~% Q

  1575. 9 T$ a4 k4 o  @& n. O0 F7 Z' @
  1576. ; Select a hash function for use in generating session ids.
    - V9 x! d8 Q; l& i3 o
  1577. ; Possible Values
    5 A$ |1 q1 g8 H9 }) `0 O) p
  1578. ;   0  (MD5 128 bits)$ z: G2 g, v, o
  1579. ;   1  (SHA-1 160 bits)8 o4 s- w8 W' U6 q( ]4 a
  1580. ; This option may also be set to the name of any hash function supported by1 @& s. ~) R) x
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()6 r8 ^$ I  C" D# b7 e
  1582. ; function.
    , f  x5 }0 s5 I( W7 O
  1583. ; http://php.net/session.hash-function
    % H  W6 w$ k( J$ ^: Q  q9 ^% s9 T
  1584. session.hash_function = 0
    / C" _1 u! D5 G0 J4 z

  1585. + {6 v3 x2 F! ]9 A( [! P$ W
  1586. ; Define how many bits are stored in each character when converting
    # l8 s2 ?5 r1 }5 \, \3 `& E, @
  1587. ; the binary hash data to something readable.* a3 w! ~9 |+ b; d! _
  1588. ; Possible values:
    $ i( B' f: y# W# B' U% I0 m
  1589. ;   4  (4 bits: 0-9, a-f)6 h% `6 f* h- w5 D
  1590. ;   5  (5 bits: 0-9, a-v)7 |9 t9 u9 g! U: B* a0 e
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")7 X# `1 O$ K7 c. @
  1592. ; Default Value: 45 z0 c4 d% z; W2 b8 b* w- p4 B/ _+ z2 O
  1593. ; Development Value: 5; |" e1 K# b8 X1 E# H
  1594. ; Production Value: 5
    ) M* y1 H: n& J5 y" }
  1595. ; http://php.net/session.hash-bits-per-character
    / o) _8 V4 o$ }- Z0 }* z9 y1 `
  1596. session.hash_bits_per_character = 5% N* s" _- k* z6 ?% I

  1597. ( W$ M& o9 u4 i. [' D
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    & V' U$ l  V5 H+ p6 D+ F9 h  N
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    ! Y- m" W! B/ t! y
  1600. ; add a hidden <input> field with the info which is otherwise appended/ k5 o# k# f' d4 L! C. P( X: X
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.1 G/ A/ }0 v# K7 W4 C9 G8 u
  1602. ; Note that all valid entries require a "=", even if no value follows.
    & g9 v2 q% p; f0 {+ B7 }
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="* _2 x- F5 Z1 t5 E
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ g' ?1 f( _+ E, M# W) S0 L  A
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"5 ?. u$ P0 Q/ ^6 q5 J" m
  1606. ; http://php.net/url-rewriter.tags& E+ ]3 u2 O' }2 W9 u( B
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"% }4 W- F7 J$ y+ V# C8 A- W) J% Q) Y+ V# G
  1608. # p/ G/ E$ d. e( a3 k6 a
  1609. ; Enable upload progress tracking in $_SESSION
    4 T9 O" G/ y0 h
  1610. ; Default Value: On) F* I4 a/ _3 x  j; t/ N
  1611. ; Development Value: On% X- c) t! Y! h) H6 e9 `2 v0 I, J
  1612. ; Production Value: On
    4 r  G2 ?' l' w! b, L
  1613. ; http://php.net/session.upload-progress.enabled
    4 M/ I4 J" q+ B  w7 Q
  1614. ;session.upload_progress.enabled = On, F! Z2 ?. `5 x5 S2 Y
  1615. . x: H6 m2 `7 j# K, L+ l, D
  1616. ; Cleanup the progress information as soon as all POST data has been read! A4 A: y2 c$ h' e; }- y
  1617. ; (i.e. upload completed).  I% Y, `& k0 e1 m8 q- N
  1618. ; Default Value: On
    1 }4 J0 o6 g- D" Z2 F6 f
  1619. ; Development Value: On% ~- i5 p& J/ o% K( _/ d0 |
  1620. ; Production Value: On
    : j6 k3 I; `1 S" @5 X
  1621. ; http://php.net/session.upload-progress.cleanup
    6 n- P) J, g! c
  1622. ;session.upload_progress.cleanup = On
    # l) K( N7 P. d0 A

  1623. 0 y; `& a" e. i. k  l
  1624. ; A prefix used for the upload progress key in $_SESSION
      W+ y& {: x% g! ]$ ^  p: j+ y* i
  1625. ; Default Value: "upload_progress_"
    - ]5 P- B- P& u
  1626. ; Development Value: "upload_progress_"2 p* Y$ Y& {3 u: A% b- W% m% N
  1627. ; Production Value: "upload_progress_"3 Y2 D) M3 A( K. g2 p$ X
  1628. ; http://php.net/session.upload-progress.prefix
    2 F. \4 {6 S3 J8 W
  1629. ;session.upload_progress.prefix = "upload_progress_"
    : v! x  f: E' \
  1630. $ V$ u5 z& p& ?3 w  T! [
  1631. ; The index name (concatenated with the prefix) in $_SESSION: N& b: g. X* X. e' B0 V0 u
  1632. ; containing the upload progress information
    # W1 K- |. R6 v1 }+ B  i  [4 o
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    * |3 P' o3 X. @
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"# C: {# I+ m" w  G6 F) `% J
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS": V# s( @& ^$ h
  1636. ; http://php.net/session.upload-progress.name$ d* Z; N, _7 d5 Q
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"0 ^2 l" m1 l$ l# g
  1638. ; d3 }/ V  D' i+ f
  1639. ; How frequently the upload progress should be updated., l; l( O" f/ m. p) N- j
  1640. ; Given either in percentages (per-file), or in bytes
    ( E( i: D5 @. d: m( t
  1641. ; Default Value: "1%"0 z7 X  A' ?- m( k& s
  1642. ; Development Value: "1%") N8 J2 ^  C, H$ `; F
  1643. ; Production Value: "1%"& U* B% o% A. V9 J8 k
  1644. ; http://php.net/session.upload-progress.freq
    3 q$ N$ @4 \6 I7 L
  1645. ;session.upload_progress.freq =  "1%") y" ~4 o+ X* q/ I6 h% D' D4 i2 v5 Q

  1646. 8 D' q4 W( z# C% t
  1647. ; The minimum delay between updates, in seconds
    * T& C+ l. X0 k4 ^0 @# @
  1648. ; Default Value: 1, R4 ~8 n- Q+ [. p* G" g) D# K
  1649. ; Development Value: 1( \8 ~6 L; @* i$ w  ^, B$ m
  1650. ; Production Value: 1
    3 @: c$ X- a/ y0 d3 ~" q
  1651. ; http://php.net/session.upload-progress.min-freq
    , M$ G5 G  a5 u, q& d) K
  1652. ;session.upload_progress.min_freq = "1": {- {3 p' [/ N  l: r

  1653. 2 I5 I- M2 B$ F$ [0 h
  1654. [MSSQL]
    , l7 ^; E3 Q2 X! g
  1655. ; Allow or prevent persistent links.
    , f6 n* \& }; s1 ^) e: c
  1656. mssql.allow_persistent = On
    : N0 d" ^8 y; k2 I2 K0 U! E: N. O
  1657. & H8 }" m& T6 ^) Y
  1658. ; Maximum number of persistent links.  -1 means no limit.* J$ G) W2 b' V' @) V0 i' d5 g
  1659. mssql.max_persistent = -1
    8 W9 C1 C7 `7 E& J0 E' p
  1660. . x, P! Q6 C) J$ m; }
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.: l% L- Y  K/ p( v) ^9 L
  1662. mssql.max_links = -1
    3 L1 E, ]; E' U2 ?
  1663. 3 V6 [: J1 V/ Y6 }1 @
  1664. ; Minimum error severity to display.7 l; B; ~3 H+ }8 e% D/ G- `' A4 |5 g
  1665. mssql.min_error_severity = 10
    * R9 ^7 C, T& J* A% i2 D+ c7 q! }

  1666. , E( A* Z+ C1 H" b, V1 M$ {) w. P
  1667. ; Minimum message severity to display.  {$ H# E  A% D
  1668. mssql.min_message_severity = 10
    0 P8 O1 y, [9 b" r

  1669. ; }4 H3 T. l, N2 X
  1670. ; Compatibility mode with old versions of PHP 3.0.
    8 |9 \* W7 p! U( \
  1671. mssql.compatibility_mode = Off& O2 N& C) {' P+ q
  1672. 0 z2 e+ ]6 \6 X0 W2 h8 j
  1673. ; Connect timeout
    1 ^/ N- B+ u) ~$ l  T6 F
  1674. ;mssql.connect_timeout = 5
    4 ]/ a8 l' W3 d8 i: K8 M1 ^

  1675. * E9 t& E* H$ V
  1676. ; Query timeout
    # \# v' z' z' S7 x
  1677. ;mssql.timeout = 60) B' ~  I5 D/ x. e" \. l' F% L
  1678. # y9 k' p6 t; ?* p. ]
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    6 E1 A, B! x6 r5 k
  1680. ;mssql.textlimit = 4096
    & \' U7 b& |" x/ ?' \
  1681. $ K9 h: e0 u; H! G
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    : E3 X. W  S, B- @4 Z" Q
  1683. ;mssql.textsize = 4096
    6 n- T- p" h3 ?

  1684. % h0 T5 E  s7 y4 N, J. c' j
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    3 G* ~0 X0 o  u/ H. `
  1686. ;mssql.batchsize = 0' g  R& }8 v5 [( M
  1687. ! _# h- j& a2 u- u* j: V% `7 G
  1688. ; Specify how datetime and datetim4 columns are returned) U1 g6 {3 z' {; I% g/ p
  1689. ; On => Returns data converted to SQL server settings
    . z6 E* c& A5 z% ]0 Q  b. H
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss: q3 E( k+ s, ]3 |" H6 c2 L
  1691. ;mssql.datetimeconvert = On# t+ y) p, A- c8 q
  1692. + r! M, P' Y9 b
  1693. ; Use NT authentication when connecting to the server5 v3 T$ Q& S8 _  u0 L
  1694. mssql.secure_connection = Off: u6 Y2 A6 ~/ u  \1 b

  1695. 8 J  k/ x& t8 z; ~1 z. V; o
  1696. ; Specify max number of processes. -1 = library default; D0 s0 y* [  B) ]; P; t
  1697. ; msdlib defaults to 25
    ( G$ e; {0 ]( B
  1698. ; FreeTDS defaults to 4096
    * {( z. \0 y  v* R
  1699. ;mssql.max_procs = -19 l* F1 T: k2 n# i% n2 B
  1700. ' |& K* Y- y! v( T! ]3 x$ W
  1701. ; Specify client character set.% w5 l3 @3 ~! c8 n
  1702. ; If empty or not set the client charset from freetds.conf is used& \! i6 U, S% G8 V! ^, _" {
  1703. ; This is only used when compiled with FreeTDS
    - {3 n" A3 b: ?
  1704. ;mssql.charset = "ISO-8859-1"0 j4 V6 R3 a; I4 P& V
  1705. 2 d/ I+ d8 W5 {; M4 U: X7 C; B* D
  1706. [Assertion]
    8 a  i4 A4 U0 }
  1707. ; Assert(expr); active by default." e- V; n, t9 n! d  B: b
  1708. ; http://php.net/assert.active
    + e) f" S3 S$ @% |- h% y
  1709. ;assert.active = On
    / t4 ~# {, |4 T

  1710. . [/ b2 O1 V. n  ?2 b5 z/ b3 n
  1711. ; Issue a PHP warning for each failed assertion." F" A( J3 x( T+ H1 e) g
  1712. ; http://php.net/assert.warning
    # ]4 s7 L+ u& W! F
  1713. ;assert.warning = On9 y2 v( X$ d( I- _4 O7 u8 e

  1714. * F" I; ^% \! Y2 _
  1715. ; Don't bail out by default.& k, v' z8 @( W, S: O$ N; |% Z
  1716. ; http://php.net/assert.bail; r! [' e3 y9 ]+ r# O) O
  1717. ;assert.bail = Off) I  V- R( s4 c) B  B: U1 W8 I
  1718. 7 X; D5 |- i% @$ H- c
  1719. ; User-function to be called if an assertion fails.
    ! f% |) y( ?2 o/ P
  1720. ; http://php.net/assert.callback8 U( m- R6 Z/ [' }# l
  1721. ;assert.callback = 04 H- O7 M& S2 [  E
  1722. - y0 e. X% k% E5 @* M7 m
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    ! X8 l, E, ~# z
  1724. ; error_reporting(0) around the eval().
    ; T% ]( f6 d1 b6 I7 a
  1725. ; http://php.net/assert.quiet-eval
    4 i6 V" L# Q$ k' a: O) ^
  1726. ;assert.quiet_eval = 0* n! D! E6 h# p9 I

  1727. % {4 Y1 e" L1 x) @- U
  1728. [COM]8 O8 v  V7 V- n8 x
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    8 |) M( c2 \! B9 g& d$ V0 s
  1730. ; http://php.net/com.typelib-file
    1 e5 L- L  A: f+ x& o2 a* Z
  1731. ;com.typelib_file =1 n4 `0 E  a; t6 \
  1732. 8 n2 N9 {. X3 q3 Q: h$ D
  1733. ; allow Distributed-COM calls9 E7 T& ?7 ^, Z5 x, L
  1734. ; http://php.net/com.allow-dcom8 z) e& W  t5 K0 w
  1735. ;com.allow_dcom = true
    2 O4 o3 x" ?# T4 C: l2 S: _7 J

  1736. 9 `; }1 F) Y' A& z; A! }5 D) D7 |
  1737. ; autoregister constants of a components typlib on com_load()
    " R% t/ D: a! {
  1738. ; http://php.net/com.autoregister-typelib
    1 m6 ?. ]) q5 `* n) z8 g
  1739. ;com.autoregister_typelib = true
    4 O1 N4 Z. R( y5 Y( s6 ]

  1740. 9 A" `% |: C9 N
  1741. ; register constants casesensitive. }7 s/ P6 o+ H# T: u
  1742. ; http://php.net/com.autoregister-casesensitive" r' w9 \: j8 \5 r2 d+ n
  1743. ;com.autoregister_casesensitive = false2 v* b# {/ Z! F  s; P  C
  1744. 5 ?- ?7 k, }% P
  1745. ; show warnings on duplicate constant registrations0 Z2 d( q) r) g, }& P
  1746. ; http://php.net/com.autoregister-verbose6 m, n) c9 `: A7 s2 \
  1747. ;com.autoregister_verbose = true' I' m, D6 Z0 e. q
  1748. " x9 e: n  D& r2 D1 S% g
  1749. ; The default character set code-page to use when passing strings to and from COM objects." I5 s& k- l4 u  ^
  1750. ; Default: system ANSI code page
    # }9 Q, Z5 K* i1 C+ r3 m, o
  1751. ;com.code_page=
    " T8 \  P5 i9 u8 Z3 R& x$ b

  1752. % R' Q/ }" [& ~0 f9 ?
  1753. [mbstring]! v$ E2 n2 K2 m, E5 l8 x
  1754. ; language for internal character representation.& M9 `# S1 ]  G2 P; H# S6 N3 T
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.2 d% {( U% {$ n  G- u( b
  1756. ; http://php.net/mbstring.language
    6 ~8 K5 s$ M! X) U, t& d
  1757. ;mbstring.language = Japanese
    ! {; f- o1 ~/ ^- H4 |. y) W% G% C/ O

  1758. 9 ]4 Z' v) {6 d2 P& D5 W; o% m$ `5 L
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.5 t5 X$ L7 W# P* m2 w! O. \
  1760. ; internal/script encoding.1 r( @- t; p; T0 a
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ! S6 q4 P+ k* h* w
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    & ?6 [; W% H( f3 J2 L4 P
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    / u6 D8 X7 o& @, Y0 C: F
  1764. ;mbstring.internal_encoding =
    - M! N8 |4 Q) J

  1765. 4 f4 A4 b9 n2 x# ?+ D. A3 T
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.2 q0 g( L# @0 K5 S: Z* W
  1767. ; http input encoding.( D( b8 d* v9 u9 n( Y' T
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    : g6 H1 ~  U+ G4 g2 M" ^) T
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    " W8 h* _  M) N: F6 ^
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input3 r- d9 C; j6 l: y: f
  1771. ; http://php.net/mbstring.http-input
    ( a* Q. p1 f% o/ S: {* R
  1772. ;mbstring.http_input =; a* A  Q9 L* Q$ p  d5 c' Z1 T
  1773. ; o- `+ p) B9 M( l
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.! `6 n! U7 C8 M3 I5 F* c
  1775. ; http output encoding.
    ) e5 j$ U" f$ f8 a' n$ u# L( |. x
  1776. ; mb_output_handler must be registered as output buffer to function.
    ! Y6 O/ l3 \( Z6 u) k# o+ H
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
      D4 Z# z9 z0 p5 K# C, q# N
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output  E/ [6 c4 m$ F) }/ j1 U1 h
  1779. ; To use an output encoding conversion, mbstring's output handler must be set4 `" l" S/ g9 D3 \
  1780. ; otherwise output encoding conversion cannot be performed.
    3 H% u5 Z3 X4 e
  1781. ; http://php.net/mbstring.http-output
    & s! J8 {% q, H# l
  1782. ;mbstring.http_output =& P" i0 V7 [& h; R1 F

  1783. / n& h& S$ J0 r3 w' D7 P. ~
  1784. ; enable automatic encoding translation according to2 M' _' y% G# x% Z1 D/ L
  1785. ; mbstring.internal_encoding setting. Input chars are* V) L) j& B4 R3 ~1 r  P5 R
  1786. ; converted to internal encoding by setting this to On.3 ^  Y$ k: _1 B7 S* d4 H( S- S3 Z! O
  1787. ; Note: Do _not_ use automatic encoding translation for. C4 |, j; i# m! U3 i
  1788. ;       portable libs/applications.! F3 g3 {$ R8 c5 T1 F4 z1 E! ]
  1789. ; http://php.net/mbstring.encoding-translation" F0 L" B5 }: p
  1790. ;mbstring.encoding_translation = Off/ D' @* v! c/ ?0 u/ U1 n! [8 L

  1791. 3 ^8 h+ `; k: y' }
  1792. ; automatic encoding detection order.
    ' J8 r1 V, E$ G$ c
  1793. ; "auto" detect order is changed according to mbstring.language
    % Q" D: D+ q) W# b( {% j
  1794. ; http://php.net/mbstring.detect-order
    & r2 J) T% q5 b) y) P4 b- e7 l5 Y- \
  1795. ;mbstring.detect_order = auto! e. u4 n" K6 K; H( b  P, N
  1796. " Q( d3 V. B8 g+ s5 B8 o
  1797. ; substitute_character used when character cannot be converted2 a/ A. K: o( ]2 T9 K) ?! c+ N
  1798. ; one from another
    4 n7 l2 @8 {" X0 m
  1799. ; http://php.net/mbstring.substitute-character
    " N( q5 |3 W( p( W, ~
  1800. ;mbstring.substitute_character = none
    $ r: Q; }% o+ {5 P- K$ b

  1801. 0 s# |5 n9 o$ K2 _' L: g) G% A
  1802. ; overload(replace) single byte functions by mbstring functions.
      G/ E& y0 \8 F- s$ X( K+ W8 H  W
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    . L  R+ \& L* t7 B6 \! Y8 r: m/ o
  1804. ; etc. Possible values are 0,1,2,4 or combination of them., P; X7 S- |' i; Z; b7 O8 ?( k
  1805. ; For example, 7 for overload everything.% Y; U% X) c( |1 m8 M- ~# y
  1806. ; 0: No overload( I$ T9 C. u2 w
  1807. ; 1: Overload mail() function
    + `. \7 ?8 e. i: L& I' n
  1808. ; 2: Overload str*() functions
    ! \, p; q' Z2 [& ^' l/ `
  1809. ; 4: Overload ereg*() functions
    * r& G9 V- b3 {
  1810. ; http://php.net/mbstring.func-overload
    - ?3 V/ K8 c4 u9 N
  1811. ;mbstring.func_overload = 07 T9 K8 O/ |/ l9 y4 J7 C' g

  1812. + r# @* t3 K3 p, i
  1813. ; enable strict encoding detection.: T8 `% e; M# @- m- S: Y
  1814. ; Default: Off
    ! T8 A4 _; ]* L0 l; k3 s- Q& x
  1815. ;mbstring.strict_detection = On& s) H* Q2 d& C$ ?2 h

  1816. + Y! E/ |; X+ o$ u- d8 v* s6 @
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()! e+ r7 d* A+ S& _7 z  h6 i
  1818. ; is activated.
    4 ?) Y; N0 u& G" V6 s
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    : J0 u% ~4 ]( K$ N* B8 o; }
  1820. ;mbstring.http_output_conv_mimetype=) T2 a# X0 [. g6 J" y

  1821. & L: g4 R; Y" h8 n" U
  1822. [gd]
    5 E- W- C$ I& P6 x6 y$ k3 U
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    6 p" }' a3 `: L: M
  1824. ; a gd image. The warning will then be displayed as notices
    ( a! W  C3 d$ l" b3 b9 y
  1825. ; disabled by default0 m$ a8 t0 b# X8 |2 L* [  u) f* m$ n; }
  1826. ; http://php.net/gd.jpeg-ignore-warning+ p! ^. \; W; U1 O9 F# u
  1827. ;gd.jpeg_ignore_warning = 0
    5 P% ]1 ]: O/ k) `
  1828. 6 `2 J& c* \7 \. X( n  t
  1829. [exif]- R! P% S% P4 Q6 q9 S  \: x0 w( c
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    & e8 T2 o9 G" ?; ]' f, ~4 j
  1831. ; With mbstring support this will automatically be converted into the encoding
    & P3 l- k2 s+ z- M0 K0 ]( ^
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding5 C4 i) F! w% p& L  |% {" {6 `
  1833. ; is used. For the decode settings you can distinguish between motorola and6 ~- i! s  `4 e
  1834. ; intel byte order. A decode setting cannot be empty.
    6 c( P, p( G5 ^
  1835. ; http://php.net/exif.encode-unicode
    , |4 h0 T2 G% |/ h2 q- z1 @
  1836. ;exif.encode_unicode = ISO-8859-15
    7 c8 t' J* m9 |7 I
  1837. 6 `& `5 T- Y6 q, X9 v2 j4 M
  1838. ; http://php.net/exif.decode-unicode-motorola
    " y, c) l9 T7 g' t
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    $ c% |8 E6 E4 R6 m$ c: D

  1840. % W7 |3 [: k' ^- G/ H/ R
  1841. ; http://php.net/exif.decode-unicode-intel# U# M/ |9 _, ^6 {( w/ m6 o
  1842. ;exif.decode_unicode_intel    = UCS-2LE# l3 w9 M8 O- Q5 D

  1843. 7 t3 n) Q7 D1 e6 A
  1844. ; http://php.net/exif.encode-jis) v# p7 i5 g1 ~! ^$ O) h
  1845. ;exif.encode_jis =, \2 D$ G# G3 `# ]6 N1 E4 ^

  1846. 2 E& o  `0 Z+ C6 j5 ~
  1847. ; http://php.net/exif.decode-jis-motorola
      ^4 b8 v; R9 e  R5 \2 z: g
  1848. ;exif.decode_jis_motorola = JIS
      y' a$ F6 R. f' i: x" [0 V8 u
  1849. 9 \% Y7 p" L/ I* @# p2 {& x" r4 u
  1850. ; http://php.net/exif.decode-jis-intel
    5 |2 Q8 F/ r) D. ?, `' O' t
  1851. ;exif.decode_jis_intel    = JIS
    % _) _  m6 L  `3 ?

  1852. ! P1 W' s3 Q: Z
  1853. [Tidy]. j0 p8 s8 n- J: T4 P) D5 M+ l
  1854. ; The path to a default tidy configuration file to use when using tidy
    5 E6 t$ Y0 |3 L4 d; [' X- I0 S; n
  1855. ; http://php.net/tidy.default-config7 q3 q1 N) Q6 n, C# I
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    0 A  D" {4 a3 f# f0 R' U

  1857. * N# r, ]9 Y1 [9 H; I, Y5 a
  1858. ; Should tidy clean and repair output automatically?! O# y' i4 b; b- i1 u, g
  1859. ; WARNING: Do not use this option if you are generating non-html content  X0 q# i1 X* O( n8 z$ H
  1860. ; such as dynamic images/ e. T+ d# B0 S/ S+ D- Y* \7 |
  1861. ; http://php.net/tidy.clean-output6 b) l$ w  f5 g9 A, @$ G
  1862. tidy.clean_output = Off
    9 r3 C; V1 v8 s
  1863. 4 w. k& M& ]# B% y
  1864. [soap]
    / n4 A0 O1 ]& a/ f3 |
  1865. ; Enables or disables WSDL caching feature.. D& t0 X; C) T4 g! O
  1866. ; http://php.net/soap.wsdl-cache-enabled9 Y6 |" e( R" {5 g
  1867. soap.wsdl_cache_enabled=1
    ; b+ ]' l3 b3 l6 J3 o  l

  1868. ; ?$ j" C0 _' J/ c" j8 g2 T% |
  1869. ; Sets the directory name where SOAP extension will put cache files.
    . g( I; N. @7 x( E' b9 i+ d1 O2 N5 w
  1870. ; http://php.net/soap.wsdl-cache-dir
    $ M; z/ T" J9 I6 J7 S* C) Q
  1871. soap.wsdl_cache_dir="/tmp"
    . ^; a9 r4 d9 ]+ H

  1872. + ^& a# L2 ^" [, S5 ~
  1873. ; (time to live) Sets the number of second while cached file will be used
    7 u* h* ?) J' G* s, C% y) m% `
  1874. ; instead of original one.+ g2 C6 n6 T2 u# b( b. z$ G
  1875. ; http://php.net/soap.wsdl-cache-ttl. w" x2 x- ?/ u& m4 R- {3 a6 b( a- k
  1876. soap.wsdl_cache_ttl=86400/ ?; U6 W% P" ~, ?- \

  1877. - ^! \$ R; v8 O4 A. T: S( Q& T: |
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    3 |) z; p1 ]8 s
  1879. soap.wsdl_cache_limit = 5
    . o0 c. F5 C* y; E( L7 a* j5 Y# H, m
  1880. 3 Y7 \! F5 V. U/ _' b$ L. i  k
  1881. [sysvshm]: }* h/ j( x/ r: Y6 H, c
  1882. ; A default size of the shared memory segment4 f/ Z+ K) x1 H8 x, b
  1883. ;sysvshm.init_mem = 10000+ W1 \/ k- Y8 h, j# F
  1884. ' c9 `: l* k4 [2 u0 [/ W; T. q
  1885. [ldap]6 }7 w6 ?8 q% g$ v% @
  1886. ; Sets the maximum number of open links or -1 for unlimited.$ C6 m9 q, y, O, J
  1887. ldap.max_links = -1* h+ z" L5 L8 Z6 a- N

  1888. / i+ l( Q, ~) q6 P/ J6 B" }
  1889. [mcrypt]
    9 y# p! t6 W% i& `5 }  y- e# q
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    & M1 ~5 J; ~5 L3 x# R# n
  1891. 1 A+ H3 G0 X; r  s4 |4 h1 S: C
  1892. ; Directory where to load mcrypt algorithms% w- |5 q; n+ V/ M  \" J
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    # ?  G$ g; J6 O, X. q* Z& o" P
  1894. ;mcrypt.algorithms_dir=
    - E/ B7 R# B- Y
  1895. 6 }* J# t4 k' R9 v) I, c' S
  1896. ; Directory where to load mcrypt modes2 ^8 g! k& G( H- o
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)6 H: ~: D1 q9 e& g9 k0 t3 ~" \
  1898. ;mcrypt.modes_dir=
    : H( ?% L8 `1 j
  1899. + P9 o3 u# ^  B: k8 ?
  1900. [dba]
    " }$ _2 k. I! m0 s! J
  1901. ;dba.default_handler=
    : ]+ l: |4 \: i) y$ e4 A

  1902. % H. @9 d* @3 y
  1903. [opcache]7 f3 H. p9 k6 F+ v, J: G
  1904. ; Determines if Zend OPCache is enabled/ x: `: Z( u) I. `
  1905. ;opcache.enable=0
    + j8 {% }$ j# S+ X
  1906.   F, d7 r1 Q! Y) I2 P
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP" {+ L/ `, S* Q" U# x0 Q
  1908. ;opcache.enable_cli=0' j* {1 h! T# \2 c

  1909. 9 c7 ~! ]7 \; i+ F
  1910. ; The OPcache shared memory storage size.
    . J1 |% Z; ^, S& p' w1 g
  1911. ;opcache.memory_consumption=644 h* G/ `7 L7 U* L/ u7 F; G

  1912. $ \: u! v9 a4 |4 v( D3 k5 A+ R  t
  1913. ; The amount of memory for interned strings in Mbytes.* S2 V9 K/ V" r6 y
  1914. ;opcache.interned_strings_buffer=4
    ( M1 h1 `8 o: L4 M5 m) w$ S
  1915. : l7 y0 T$ \! W
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.- [! U7 g" F, ]/ \0 P8 f
  1917. ; Only numbers between 200 and 100000 are allowed.
    0 [1 ^% c2 a1 ?' R8 q# p( H. n# l6 \
  1918. ;opcache.max_accelerated_files=2000
    * z5 j7 ?  S$ Z3 }5 O! A

  1919.   P  O3 h, \$ A6 _
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    4 [) k4 ?0 u: c- p$ L2 L
  1921. ;opcache.max_wasted_percentage=58 Y! G0 J% X5 Q
  1922. " P$ [. U0 E- i7 a0 ^$ Z, `
  1923. ; When this directive is enabled, the OPcache appends the current working
    4 m( b" T0 s+ ~) @( e! s
  1924. ; directory to the script key, thus eliminating possible collisions between
    4 _8 e+ J" H3 z7 G
  1925. ; files with the same name (basename). Disabling the directive improves! ~: @: `( V8 ~; v4 a
  1926. ; performance, but may break existing applications.
    4 ~: @, Y& C0 c$ @9 m& y# N: s
  1927. ;opcache.use_cwd=1
    7 O8 j8 J$ O/ l2 R1 J

  1928. # w1 Q/ E7 V; E- J* S2 U5 h8 K% i! _
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ( U/ B5 ]' h# z( G3 L* ?
  1930. ; webserver for changes to the filesystem to take effect.
    1 s+ E7 J8 H7 i, N" E  c
  1931. ;opcache.validate_timestamps=1, h* E+ d7 K7 k/ @1 L- y$ T" r
  1932. 1 L" I. S5 H. A
  1933. ; How often (in seconds) to check file timestamps for changes to the shared2 C( t* Q1 Z* d/ f. S# I( a* r
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    : N9 z: d2 e: Q6 Q# t$ H/ k2 @
  1935. ; once per request. "0" means always validate)7 ^2 [' L" `1 }. S$ w9 I
  1936. ;opcache.revalidate_freq=25 B, q+ j0 h0 _
  1937. $ E- d) P6 W% ?
  1938. ; Enables or disables file search in include_path optimization
      k  \9 f5 ]( k8 V; U' ]9 o
  1939. ;opcache.revalidate_path=06 N/ Z) {$ v; e; ?- T  N

  1940. 4 |. Q5 }+ I( {( D- H* g
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the, o" H# u" m* T. w* P
  1942. ; size of the optimized code.8 e& z9 X& k- w; L% ^8 ?
  1943. ;opcache.save_comments=18 ~) U( R( o, u

  1944. 8 `) D( g+ c% M! g" a% W
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"4 m* g) ^. g! e% F3 b' ]: Z( c
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    / B  {4 d6 P+ `6 S3 b
  1947. ; that don't need them anyway.% x# S7 z4 [# ?
  1948. ;opcache.load_comments=10 }6 Z0 |" [; Q0 B, t# y8 O

  1949. 1 u+ J# c# ]2 ~7 D) O( F& I
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code1 m  u6 E4 @! j' V+ y
  1951. ;opcache.fast_shutdown=0
    + }- i+ n  F( S3 I4 ?
  1952. * t* \0 a7 |, y; F/ z$ b9 N9 h
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    ' b3 i  ], r- a% t$ J& p3 v: M
  1954. ;opcache.enable_file_override=0& J* M. L& p- e" B, g# F: z

  1955. ( v6 Y+ R! s' Q$ U6 @/ D- E, x
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    * T5 [/ F2 G! Y. _7 |8 I* A
  1957. ; passes# {  Z8 n% ~8 v2 U
  1958. ;opcache.optimization_level=0xffffffff
    ) a! R: m0 D- r) h+ v, P

  1959. 9 d" v, R6 j. w/ @+ S5 [3 G
  1960. ;opcache.inherited_hack=1
    0 [& M% x" q5 S! }2 _
  1961. ;opcache.dups_fix=0* n8 z: y& e% T( l, ]4 ?) i8 ^

  1962. / v! V0 a4 o: Z3 u
  1963. ; The location of the OPcache blacklist file (wildcards allowed).# Q) b5 \* t" l3 y' A( d0 I. T
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    5 K  r+ Q; X0 N- }$ M. O
  1965. ; that should not be accelerated. The file format is to add each filename/ z$ r7 U; w8 z. n3 k
  1966. ; to a new line. The filename may be a full path or just a file prefix
    % U# z- Y, F( R* @$ L+ t8 c
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    % e/ Y" f% W  N7 A
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).- P4 `0 r1 c' y% {% r
  1969. ;opcache.blacklist_filename=  J/ @" v4 U, v! C
  1970. 4 k6 L! I& n: u9 A* b3 a) m
  1971. ; Allows exclusion of large files from being cached. By default all files
    " \$ w1 G' I- o/ @% w- d
  1972. ; are cached.& e6 A1 p0 `0 n3 {5 j% l
  1973. ;opcache.max_file_size=0# J- [$ r3 X& _

  1974. & ~4 _/ ?! O0 I& n
  1975. ; Check the cache checksum each N requests.6 w' N( Q) n" H  d
  1976. ; The default value of "0" means that the checks are disabled.
    ) {& W( ?$ K$ |2 o9 ?  J( X
  1977. ;opcache.consistency_checks=05 F5 b) {  ?8 q1 r/ P' t7 W, [% @. b
  1978. # z' {8 q3 r( F  a
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache' [1 F6 d) s2 I# T
  1980. ; is not being accessed.
    8 i# ~% N2 ~% @3 _
  1981. ;opcache.force_restart_timeout=180
    # _, c, W6 s2 i1 C4 z, Y

  1982. 8 W6 X7 ~3 X( i: N- u$ d, f
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    8 g8 u6 X$ q6 s. u% C: C1 T3 C
  1984. ;opcache.error_log=
    * [2 L$ }0 C/ Z9 {& ]  q9 h
  1985. 0 H0 b7 m2 k$ z7 h: d
  1986. ; All OPcache errors go to the Web server log.* _! ?, s0 W1 i; S; A
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.5 V: u( @# e; |' @. c
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    + M; z6 N. O& u) v
  1989. ; debug messages (level 4).6 ^4 [( r9 [1 i( W$ E( B
  1990. ;opcache.log_verbosity_level=19 }0 g  a. I4 {! |* W5 w% y) [& v
  1991. . _  l6 M3 ]2 E2 `4 I2 n+ Y1 F$ z
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.9 S4 Q0 e* \4 ^) n; [3 b
  1993. ;opcache.preferred_memory_model=
    2 M% W$ _" [4 e1 ~" a4 ]

  1994. - `! ]( o* d0 H5 I
  1995. ; Protect the shared memory from unexpected writing during script execution.
    - D0 H6 b1 W5 [- y1 H& }- g( e
  1996. ; Useful for internal debugging only.
    $ j' s5 W0 D5 ?
  1997. ;opcache.protect_memory=0  O0 t: }' s8 i/ }7 e

  1998. * J" g% Y2 H  B" g  P5 v% G# ~
  1999. ; Validate cached file permissions.9 X  J0 A$ A. O5 a# m  r1 C
  2000. ; opcache.validate_permission=0
    . Y# ?0 |5 G  n# ~0 o
  2001. 0 [* W9 [; I/ z
  2002. ; Prevent name collisions in chroot'ed environment.  z! {( J# |1 m; {% F4 A
  2003. ; opcache.validate_root=0  b" ?4 q% a# w$ ^( w

  2004. 3 I% I  ~/ N1 Z/ u0 y& G  ]
  2005. [curl]
    - e: G, \1 d+ q0 Y$ j
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an5 |' l, ^3 {9 i% f- }
  2007. ; absolute path.; }3 U6 l2 G9 A% e9 ?3 g4 u  [
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    / T, |' W4 z0 u: n6 y
  2009. ; R$ J7 u' |0 f$ m: F& v
  2010. [openssl]
    6 D& K0 T1 t4 U: s+ r( k- }
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    ; T- U' M- e! \0 j0 ?
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should# k1 d3 ?# J4 H# r3 E$ i9 [. S/ \
  2013. ; not specify a value for this directive as PHP will attempt to use the! w; i7 k! g3 V6 A; A
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    2 ?* |! o& b" h" g5 S" e
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ( o& Q% e4 j" ], R; b4 ]
  2016. ; option.  M7 k* Z; L( ~7 e/ G$ {/ k- c
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ' l9 T% H- ~; K3 u. q/ V
  2018. ' n& t& L! |$ }1 Q8 T
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    $ p7 J- N8 D8 N. o' A
  2020. ; directory pointed to by openssl.capath is searched for a suitable1 Y: J& v+ z& s9 L+ ^! |( j
  2021. ; certificate. This value must be a correctly hashed certificate directory.0 g% j7 ?: r, S/ B* ^- ^# d+ t. Q
  2022. ; Most users should not specify a value for this directive as PHP will
    9 E) N, y# j+ M! B9 M+ R4 ^6 c
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    & I! o$ G; x7 V
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    ) M3 d1 F4 ^* X2 S# _
  2025. ; SSL stream context option.
    9 b- F+ p5 ^& K$ m- T: E
  2026. ;openssl.capath=1 l3 p+ M0 P, \& q+ n
  2027. 8 v4 H: t. I4 [. d" K/ Z
  2028. ; Local Variables:
    $ }7 w& P7 a( E, T' w- X: N
  2029. ; tab-width: 4
    0 `0 t: F. h+ c) ^- |) R9 k# X
  2030. ; End:+ @7 M; T3 j. x. `

  2031. & h  Q: S, j5 T* @1 ?1 P1 a5 {0 h
  2032. ;eaccelerator) M& y4 b1 t. ~; S# \) J

  2033. 2 d& B3 l7 n# p3 ]9 ^6 R& `
  2034. ;ionCube
    & ]$ N' R9 V. m& n, w
  2035. % ?* C" o5 h* J5 G
  2036. ;opcache: w/ @8 i; y& G$ z% A
  2037. ( W% g' J# L' Z) W8 M
  2038. [Zend ZendGuard Loader]
    / c# \7 I: i+ H+ `( ?" b
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so% g/ a" u9 ~$ M8 P
  2040. zend_loader.enable=1
    " G  u& j; Z4 B0 n2 I
  2041. zend_loader.disable_licensing=0
    ' B& m! ?+ j0 Q- B% J) V' R4 J8 f
  2042. zend_loader.obfuscation_level_support=3
    4 \3 }+ y! M  `( y$ p: s. _
  2043. zend_loader.license_path=8 Y! Z# y0 x. @, C- V) c, a0 o

  2044. % Y! V+ y+ G" ]  G' j4 ^
  2045. ;xcache( C9 A. B7 t- @

  2046. $ i* c2 F* c& L# X3 ~6 t; K" T5 z2 A
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692# ?: \' x8 k! s9 q* c
  z& U4 B" o* [9 i! C) H
5 ~7 F2 W0 h2 M: M5 F
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,9 D3 s# |0 X9 A. y

: F- h& M# ?: M( O- B. J3 R# ?Discuz!程序版本选择:
$ V0 D7 g, h, L: F2 q7 {, e* f3 k' e站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
  ^9 x1 u! [6 i/ d5 B/ b' y% {3 c1 w不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
1 ]! P5 x' ?8 `) A! n8 {9 n" Y. j- l! HDiscuz!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。
) d. Q  Y0 g% H. A
3 d! [7 P& l: u1 SDiscuz!插件模板版本选择:
* ^7 Z# Z) @4 D很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,) j4 y6 m/ a$ ^/ t! j& S( g/ C
针对这个问题做个统一的普及:
) E8 y8 k' F- y6 _+ d  |. y' v0 [# ~X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。* E) A/ J: j# h# M$ c2 q

, L0 N) w, B6 C2 L, }/ [所以1 v: D- |# C9 z) z: `
适合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的二级域名。
# a( m9 Q1 y% S# I& M! W$ N% v8 ^打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。& k8 t" Z# a& U: E4 C3 }8 A
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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