分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
. U: X7 ^4 V7 S' X$ T1 l3 p8 {
2 U6 F* q! q4 j& L9 C* H
  1. [PHP], B0 F" M8 y3 X2 f
  2. & a& \6 i; x# _& m: P( W
  3. ;;;;;;;;;;;;;;;;;;;
    8 y) d; X  ^$ i6 Q
  4. ; About php.ini   ;/ }# s; y( ]( A
  5. ;;;;;;;;;;;;;;;;;;;
    3 B( ~1 N6 c: r  G3 C0 G" M9 f7 y
  6. ; PHP's initialization file, generally called php.ini, is responsible for8 A% t$ @& @  j% E2 V
  7. ; configuring many of the aspects of PHP's behavior.
    ' F. I1 v' v# e# J8 t1 |  D' r6 J  x
  8. " H( t# a8 n; J( P$ t; A
  9. ; PHP attempts to find and load this configuration from a number of locations.: U# T4 T# S9 B# b- y/ d: F8 T/ j
  10. ; The following is a summary of its search order:$ [" ]' \# T4 i% ^- {+ w
  11. ; 1. SAPI module specific location.
    4 E1 r- ?) B- |% @! T2 }
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)- e) D+ {+ l  F
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0), p% i+ [8 U% y% l+ D2 Q5 \+ B
  14. ; 4. Current working directory (except CLI)4 j9 z. C) I" `' E, x0 s
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP4 D& ^) W& r9 j: u6 w. q' V
  16. ; (otherwise in Windows)( ]: f( P. ~" A  ~1 F  K
  17. ; 6. The directory from the --with-config-file-path compile time option, or the" \4 {7 B* \% K+ R8 C' T
  18. ; Windows directory (C:\windows or C:\winnt)7 p) b$ x5 n2 _# r
  19. ; See the PHP docs for more specific information.
    8 i8 ~# u5 ], F: Y7 Z% k+ y; [
  20. ; http://php.net/configuration.file4 P* @: G6 H, e: N

  21. 0 O# n4 x# A* z, E; C! J3 ^. o
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ) O. J) P# w" _5 u$ d9 x
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).! u4 u/ c; \3 ~2 _
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though! b/ O4 e- b3 {$ B
  25. ; they might mean something in the future.
    6 u0 v  d; I; b

  26. $ _8 {6 I7 G+ g( p" j
  27. ; Directives following the section heading [PATH=/www/mysite] only0 |6 L! \+ U0 I9 m) S9 b
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    1 N) O1 [# e7 D, d5 B6 ?
  29. ; following the section heading [HOST=www.example.com] only apply to7 m" K  Q' m- R$ |
  30. ; PHP files served from www.example.com.  Directives set in these
    ' s2 \  c0 \* _& k5 X
  31. ; special sections cannot be overridden by user-defined INI files or8 E, V6 K: |; P% k' d
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under9 O& W. j3 t/ E3 w0 R$ r
  33. ; CGI/FastCGI.
    4 [3 t& ~5 Z" U4 z9 n
  34. ; http://php.net/ini.sections1 O. A8 i2 C/ V7 K' @
  35. 5 {( X+ n( D6 G, `7 u- G0 X$ A
  36. ; Directives are specified using the following syntax:9 B6 U5 c: w) B/ g1 |4 p
  37. ; directive = value: N! X7 h( R9 u) J1 B: s/ U3 M% k
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    & l, X4 q+ I) B& Z. Q9 O. X- J
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ! }7 J( }9 H( e8 ]* S! ^/ i3 @7 B/ K
  40. ; There is no name validation.  If PHP can't find an expected
    ( J) K5 O$ v# a7 M# q. O+ L9 l
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ! ?: c) S/ l8 T1 I, ?( b* m8 Z

  42. " _1 n8 b  X5 t$ f: B% V4 a8 H
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one* F9 n7 Z6 x0 A2 w8 b
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
      g9 h: q6 o; E4 v' E- x& o: Z
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    8 x( ~$ M0 l6 }- A" G5 X
  46. ; previously set variable or directive (e.g. ${foo})
    : Z: g" D" e! a1 q+ w
  47. 5 T, ^  a0 Q; z3 v0 a# C( C
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:) k4 C  A) a8 V) x! {1 H* A$ v
  49. ; |  bitwise OR* O1 R9 E9 y( X5 ~0 ^* d
  50. ; ^  bitwise XOR
    ; t) u- b! O  j. ?( g% g
  51. ; &  bitwise AND
    # k$ B( j) w4 S) t' F9 A& @. G
  52. ; ~  bitwise NOT# G) a" Y/ ]' C
  53. ; !  boolean NOT4 |( z8 h1 x- _; F% G* l4 X

  54. 9 w. I; s" z0 H1 s3 M
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.  d9 I2 L9 a- @* H3 ~, Y
  56. ; They can be turned off using the values 0, Off, False or No.9 z" y+ a* {: i3 C8 E% R

  57. 5 ]. d" j1 X) N1 l/ U# m9 C
  58. ; An empty string can be denoted by simply not writing anything after the equal3 t* t" @% i0 T" W2 E2 A/ T6 U' i
  59. ; sign, or by using the None keyword:
    / x* q' r$ `; [/ I/ G$ _$ x, n
  60. + D, C0 l/ V! d+ |
  61. ;  foo =         ; sets foo to an empty string
    ! k6 i- n5 `: \% x* F
  62. ;  foo = None    ; sets foo to an empty string+ z, p0 v$ b' j- n) u; _+ R- }* \5 s1 n
  63. ;  foo = "None"  ; sets foo to the string 'None'% u0 C# V) I: d6 r

  64. 8 L8 [6 |5 i! T+ h8 |2 E
  65. ; If you use constants in your value, and these constants belong to a) |, l: M: E; ^: \; t
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    / \" s: B' b& s4 A. g/ J* j
  67. ; you may only use these constants *after* the line that loads the extension.
    : l* o  o) \8 d% A! E" e, l
  68. # s1 L, S1 s" @& j
  69. ;;;;;;;;;;;;;;;;;;;
    , D8 j2 H- F" M6 F1 k
  70. ; About this file ;
    3 @3 Z7 m: R2 m- g/ t7 x  L
  71. ;;;;;;;;;;;;;;;;;;;
    0 k: l: S/ ]) j# v) G$ _" q8 b  v
  72. ; PHP comes packaged with two INI files. One that is recommended to be used3 r; t7 T# I; S- Z, `* o
  73. ; in production environments and one that is recommended to be used in4 v& H1 _( t# m- O
  74. ; development environments./ N0 c. \! I# h5 w' l! W
  75. / E; h7 w3 T! Z. O4 P: V
  76. ; php.ini-production contains settings which hold security, performance and' i1 p; t6 N& `( ]# {
  77. ; best practices at its core. But please be aware, these settings may break
    % s+ X: n! u. v+ g; t
  78. ; compatibility with older or less security conscience applications. We/ i5 Q; V1 }3 A  ~9 I: ~, ?
  79. ; recommending using the production ini in production and testing environments.- V9 y2 G& m+ x
  80. # E, X) c2 C+ K+ c1 l: v6 U
  81. ; php.ini-development is very similar to its production variant, except it is
    / }* u( d: X. J4 |
  82. ; much more verbose when it comes to errors. We recommend using the$ J6 z5 g7 w' n4 H8 k6 {; K! b
  83. ; development version only in development environments, as errors shown to1 @5 C' o  J8 k3 U# `6 Z
  84. ; application users can inadvertently leak otherwise secure information.
    ( p3 w* v3 v9 N' V2 \
  85. * e% U8 u5 L! I4 m- `
  86. ; This is php.ini-production INI file.
    & K# Y8 I! g3 z* ]2 W

  87. - b" A5 I' k: I
  88. ;;;;;;;;;;;;;;;;;;;
    3 p  J! ?* H# G  ?/ }; l
  89. ; Quick Reference ;
    ' ~0 \9 \8 j$ C' b# e; k
  90. ;;;;;;;;;;;;;;;;;;;3 H+ \  I" p! p, p% N
  91. ; The following are all the settings which are different in either the production
    & \& v  G) A$ q# l
  92. ; or development versions of the INIs with respect to PHP's default behavior.6 T( l; n3 G9 F+ |. b( r
  93. ; Please see the actual settings later in the document for more details as to why
    ; T" h3 _: H8 [8 }; N6 D
  94. ; we recommend these changes in PHP's behavior.
    ! {9 {. ~* |" v+ D* W+ W& t5 {
  95. ! p! Y. d0 R. E
  96. ; display_errors3 _/ L, l* w0 [6 Z
  97. ;   Default Value: On
    3 t% h0 a5 A8 U2 o: M
  98. ;   Development Value: On
    & W, G: h( r# h8 A) ]2 s
  99. ;   Production Value: Off
    & W  x' f# |9 C  G5 z$ k& O! I

  100. # p3 r. n) F+ w7 r& K" h0 j( l# w
  101. ; display_startup_errors: ~% C9 P4 z3 @' z2 m4 d; y
  102. ;   Default Value: Off
    3 r- G, j, N  b8 K+ c" {. |
  103. ;   Development Value: On
    ( G4 h* L, N. E) d
  104. ;   Production Value: Off
      h& r& p6 W, O' a
  105. ! C- \5 I  v' {
  106. ; error_reporting1 z' A6 V! f/ @: X
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    1 {, y: a# d( ^- x* B
  108. ;   Development Value: E_ALL) _2 ^8 }4 M) n+ p/ L( J3 c3 I, t
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    2 `5 W2 |4 L0 l! c- n# W
  110. 6 v% {$ E' m6 N) ~) }9 o" i
  111. ; html_errors. Y/ j# h0 l% n/ X# a9 _; g
  112. ;   Default Value: On, N" l4 t1 @5 h, r! g
  113. ;   Development Value: On2 G% C, k! ?& {9 X5 [% F+ h' h
  114. ;   Production value: On
    , Q! O& ]+ n, x$ S) d6 U
  115. 9 l0 y& }( [$ X/ f
  116. ; log_errors
    , t2 K; C& B9 y0 z4 k
  117. ;   Default Value: Off4 v3 r/ t% P$ c) q
  118. ;   Development Value: On
    % d, Y4 C  P2 ~8 ]3 w# ~* a
  119. ;   Production Value: On! _) j: a; L( b0 f. n

  120. * k$ P. l6 o! h- P0 P
  121. ; max_input_time
    : ]$ B' u5 u$ p, Y) s
  122. ;   Default Value: -1 (Unlimited)
    2 t3 ]( n$ t* m
  123. ;   Development Value: 60 (60 seconds)
    2 J. r) H& Y, z7 B
  124. ;   Production Value: 60 (60 seconds)* c- u: `$ l5 _% ?( w& R
  125. # J* V! r! b. B6 ^7 w4 o9 y1 p. r
  126. ; output_buffering3 d9 N0 h: T# p0 H: j1 V+ J5 Y' q
  127. ;   Default Value: Off* w+ G5 U0 x) F" i0 G7 u
  128. ;   Development Value: 4096* q- }+ z( A' t
  129. ;   Production Value: 4096$ @( e, L) t  Z
  130. 7 O( J: ?! X; X! b$ F& J
  131. ; register_argc_argv
    0 R. L, [: C7 k1 H' w5 e9 G* A+ V
  132. ;   Default Value: On( [1 H7 D" A9 P3 }" h& p, Z0 `; Y
  133. ;   Development Value: Off7 X, U8 ~0 H& d  A; Q. b
  134. ;   Production Value: Off# j/ j$ }0 ^- w

  135. : Q+ @. C8 c$ [8 m. C7 {
  136. ; request_order
    1 _5 `. V5 |. O0 v3 h: E
  137. ;   Default Value: None
    & r- M1 d* G- C+ q, {
  138. ;   Development Value: "GP"! K# v, k- ~; L5 v
  139. ;   Production Value: "GP"
    * w% |1 v$ t5 V& ~. V
  140. ) h! y1 Y! C7 o
  141. ; session.gc_divisor( s4 u" m+ e$ Y0 R8 h
  142. ;   Default Value: 100
      t! z8 z4 D7 N- n" H9 U
  143. ;   Development Value: 1000
    0 d* a* o' e, Q5 E. e
  144. ;   Production Value: 1000
    + r% u9 G# a) \0 C8 Q# b
  145. ( c2 R" w( B. z
  146. ; session.hash_bits_per_character
    - H( ~8 d  Z4 ^" ]
  147. ;   Default Value: 4. U7 a9 x1 P# b7 f( w. s
  148. ;   Development Value: 5
    % ~7 M% v* \# W. b) S. O4 X
  149. ;   Production Value: 5
    & j. {. R, A1 ~; A% {

  150. . J- t% e$ w& o( V
  151. ; short_open_tag& A) E- u  v/ }& E- C- h# A
  152. ;   Default Value: On3 B, T6 _* y' @# N* u& ?
  153. ;   Development Value: Off. D3 [& ]) i3 w
  154. ;   Production Value: Off" E) {+ e; N2 P! ~3 m" R) _5 G. o
  155. 5 ?4 B' a* y/ ]1 k. I
  156. ; track_errors
    / {5 D( r2 b8 C- R0 x
  157. ;   Default Value: Off
    7 g' U1 h; y& R- a4 m) A1 X, v
  158. ;   Development Value: On
    6 U# b1 E- N. U. }8 L
  159. ;   Production Value: Off8 @: Z, J' @1 Y7 v; E1 [3 u

  160. ! h; [/ _- A2 b9 @9 W+ r5 o: R+ @( b
  161. ; url_rewriter.tags- Z6 n, y3 d1 i* E$ ]; ~
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
      e# r2 K) U* {0 g! q6 ^  s
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 a* u- D! k1 ^( i1 e; o0 T
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% V6 ~5 G) D7 Z

  165. / o: |% Q+ I: Q9 E
  166. ; variables_order
    ) s$ {+ Y+ |1 b" _! J. b
  167. ;   Default Value: "EGPCS"
    3 s, _7 o7 K" e: {( F6 X- f0 `
  168. ;   Development Value: "GPCS"/ e7 r- o( h- x3 V
  169. ;   Production Value: "GPCS"
    1 H. c5 N3 ]  V$ t8 |# K
  170. , V, ]2 {+ {  ?2 q( h
  171. ;;;;;;;;;;;;;;;;;;;;
    & g2 a$ l/ Q- W# ?2 L
  172. ; php.ini Options  ;
    ' Z" b: D3 N5 W( \9 k4 Q5 Q3 C
  173. ;;;;;;;;;;;;;;;;;;;;
    2 N$ j, X( A1 V  T- t4 J' h
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    : k5 A: l7 |1 m: X6 z/ f" [
  175. ;user_ini.filename = ".user.ini"
    ' K* z" G9 L) @+ U

  176. 4 f( W$ ^) q& t# S
  177. ; To disable this feature set this option to empty value: q$ p7 s- [& A# z* l
  178. ;user_ini.filename =
    " f. C5 L9 d1 C$ r# F9 x/ C# [

  179. 8 \$ Y% }0 l$ e0 L7 j
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ) ?8 K: Y; ~7 w, d4 v
  181. ;user_ini.cache_ttl = 300
    8 r# g# o( d, q* X

  182. - K  E3 y3 L# ]
  183. ;;;;;;;;;;;;;;;;;;;;  B+ V* d4 k  x/ z' t8 b7 e
  184. ; Language Options ;
    # c0 t" R* d- h) F1 f) \" h) ^
  185. ;;;;;;;;;;;;;;;;;;;;! Q) I; Q8 A, t# \+ t

  186. 1 B/ J3 ?' m1 \- s  w. h& X
  187. ; Enable the PHP scripting language engine under Apache.9 f6 u7 [4 [6 q- p4 s0 D+ k) M0 p3 }* y( C
  188. ; http://php.net/engine7 T5 L) d* Q: d2 F" _' y! F
  189. engine = On: ], B9 O3 n# |7 p$ \' D
  190.   k0 d* R( ^0 N% L  y4 }* q5 X; X0 B
  191. ; This directive determines whether or not PHP will recognize code between8 o$ Y* o$ P7 t# o- C
  192. ; <? and ?> tags as PHP source which should be processed as such. It is; J3 L. Q# {! O
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ' ^4 g- E+ g' k; \' H! G  X
  194. ; should be disabled, as enabling it may result in issues when generating XML6 R. H/ b2 V1 f) M5 i8 u1 U
  195. ; documents, however this remains supported for backward compatibility reasons.
    0 r9 T' C+ J) _+ m$ E: w$ n
  196. ; Note that this directive does not control the <?= shorthand tag, which can be8 m; B) L$ X2 c
  197. ; used regardless of this directive.# j( ?& p( C  J1 B
  198. ; Default Value: On
    # p  q" s! \$ Y/ s7 }% W( ^
  199. ; Development Value: Off
    " ?- s' f5 g' \4 l2 b- g
  200. ; Production Value: Off8 z% ]3 n) i3 H, M8 F
  201. ; http://php.net/short-open-tag
    6 q1 w- B$ G0 p& p: N1 C1 F
  202. short_open_tag = On
    % o5 B- v, S1 ~* I5 r
  203. 3 I0 C- L3 Q# `  G
  204. ; The number of significant digits displayed in floating point numbers., w+ Y1 f% F3 O! H9 Y) a  f9 Q+ h0 q& y
  205. ; http://php.net/precision
    , [8 y2 K6 ?+ x' Y3 l+ n" V
  206. precision = 14
    * d$ }0 B% m1 L+ c, z8 c9 C. X
  207. , ]+ _) i1 b' \; W) w, A! R
  208. ; Output buffering is a mechanism for controlling how much output data2 @& t! b& i' n, Y* P! n
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that* M& ?% v! p) z
  210. ; data to the client. If your application's output exceeds this setting, PHP
    ; r! B+ T8 R6 \% j
  211. ; will send that data in chunks of roughly the size you specify.* U2 g! _/ u2 V/ ^
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    4 L0 E2 V6 P! |) Z) k% ]9 m2 N. j
  213. ; interesting side-effects depending on your application and web server.
    / Y' J/ _2 i7 l0 h2 z2 c7 ~' _
  214. ; You may be able to send headers and cookies after you've already sent output
    & Z" ~6 I. C( y$ }( m# i' u
  215. ; through print or echo. You also may see performance benefits if your server is
    & q- g5 j! s4 |
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    , D: A$ ~$ |5 q! l6 I% F
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    6 i7 V4 w6 ]0 [. m) t# H: f! E" W
  218. ; reasons.
    7 [; Y+ D$ w( N- q
  219. ; Note: Output buffering can also be controlled via Output Buffering Control' }1 ^. C1 ?4 y1 ?9 A, v
  220. ;   functions.
    ( I- m1 c" g( L$ Y
  221. ; Possible Values:, t+ N+ u. A3 u% v" y
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    : M: w. J5 e$ C) f8 r; @
  223. ;   Off = Disabled! V# V( k4 |) F2 `
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    + R% a+ |: j$ M. r/ o8 F0 |6 y- w
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI, y$ _  q. C" N' d3 w: L/ O
  226. ; Default Value: Off5 S- L* w% s0 ?& M7 B
  227. ; Development Value: 4096
    ; j3 d6 f+ N- X- H
  228. ; Production Value: 4096
    ! e) T) s5 v# X8 M6 y$ V
  229. ; http://php.net/output-buffering
    ( n) Z1 I0 S/ I+ q; q+ X5 Z" `! U. {
  230. output_buffering = 4096( ]& Z' S/ [) R2 w9 q
  231. 4 @% G! c$ b- W7 R+ Z+ U
  232. ; You can redirect all of the output of your scripts to a function.  For
    ( C' S5 L) M7 K8 o- c+ p0 `0 u
  233. ; example, if you set output_handler to "mb_output_handler", character
      i. a% |( M# N7 A- `
  234. ; encoding will be transparently converted to the specified encoding./ S" P$ t+ s* F6 ^9 a+ N3 V; O
  235. ; Setting any output handler automatically turns on output buffering.
    $ }1 B0 i7 D) ]& {
  236. ; Note: People who wrote portable scripts should not depend on this ini) s, ^2 [+ B6 j1 `
  237. ;   directive. Instead, explicitly set the output handler using ob_start().' a# _' `7 y% A" J9 T: A
  238. ;   Using this ini directive may cause problems unless you know what script9 M$ F  O/ I( t: O3 |, g8 A
  239. ;   is doing.1 ?( F2 T9 O0 A8 [1 P
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    & @4 q9 b- s6 E* X& Q) Q
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".) F  ?* M) Z( b
  242. ; Note: output_handler must be empty if this is set 'On' !!!!! d. J- V) A' B3 p$ n2 r# I
  243. ;   Instead you must use zlib.output_handler.
    ! e& c9 h8 G+ ]
  244. ; http://php.net/output-handler/ b+ p3 }- w, M
  245. ;output_handler =: ?5 q4 _: L6 K& r2 |; q( i

  246. * {) Y* j& i% }; W6 s+ M7 b
  247. ; Transparent output compression using the zlib library
    4 q" M& c7 h$ ~/ s# M1 p  u0 h
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size  R! c% m3 ?! R9 o
  249. ; to be used for compression (default is 4KB)
    ) E8 n( _- [! c' S  d: F
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ' a' s5 o6 {" h& c% v# l9 Y. W
  251. ;   outputs chunks that are few hundreds bytes each as a result of3 z5 j8 w1 b/ z0 }2 \8 e
  252. ;   compression. If you prefer a larger chunk size for better
    * r5 [" L, l( K8 y8 m
  253. ;   performance, enable output_buffering in addition.: `: v3 @# b- m. X
  254. ; Note: You need to use zlib.output_handler instead of the standard6 v2 F9 l( m$ W" J& A
  255. ;   output_handler, or otherwise the output will be corrupted.
    2 j0 e$ |+ r% |) V* W5 @' `
  256. ; http://php.net/zlib.output-compression. |3 M# ?2 h7 ]2 g7 z0 M
  257. zlib.output_compression = Off
    $ c3 i0 h; w, S! U  Z6 I
  258. 8 v: x% U7 `" ~4 U$ o( k- C
  259. ; http://php.net/zlib.output-compression-level
    ! q- }$ D" W! t/ C1 w2 ~
  260. ;zlib.output_compression_level = -1
    % }( t6 p/ q& E/ p" k% r
  261. ) D; _3 i; E) g% u$ Y( l/ I0 n
  262. ; You cannot specify additional output handlers if zlib.output_compression# ?4 S- h  _! y, U$ u( u
  263. ; is activated here. This setting does the same as output_handler but in4 ]" ]1 w8 X! H, W2 [$ I
  264. ; a different order.
    7 D& U- @  h' ?
  265. ; http://php.net/zlib.output-handler1 ^9 X& x  Q- E7 G  C: Q
  266. ;zlib.output_handler =2 A0 d6 a8 R- ?. I1 a

  267. ) {. L  K0 }& t' Q
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    6 \% [/ @/ a7 b! O1 F
  269. ; automatically after every output block.  This is equivalent to calling the
    ( m! U) N% l6 v8 \
  270. ; PHP function flush() after each and every call to print() or echo() and each
    1 h  j' G6 U" _' m& N" o
  271. ; and every HTML block.  Turning this option on has serious performance
    3 i8 v) H& m2 O, ?/ i  g. @
  272. ; implications and is generally recommended for debugging purposes only.
    1 A, g" ^- m3 l1 Z- p
  273. ; http://php.net/implicit-flush+ Y: u8 R" `8 l1 J3 k- G
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    3 X$ A) p# P4 G8 f
  275. implicit_flush = Off6 q" \' {( ~+ j
  276. , i2 S0 f; T" r6 L# F
  277. ; The unserialize callback function will be called (with the undefined class'
    8 j) r( S- h$ I/ \( q2 M$ o
  278. ; name as parameter), if the unserializer finds an undefined class  w! F5 y% }3 z& E, U% r
  279. ; which should be instantiated. A warning appears if the specified function is
    6 L4 [( v, k; ?+ N! {# A8 d# a
  280. ; not defined, or if the function doesn't include/implement the missing class.5 I0 L- f$ `1 K' V: n, N6 U
  281. ; So only set this entry, if you really want to implement such a4 B, r: X9 |5 Z- n, F
  282. ; callback-function.9 q! ?, e& G; K& W: @# A" V
  283. unserialize_callback_func =
    & a; {. l" [8 D" U
  284. # R$ p( ]. L$ f- w* y3 C
  285. ; When floats & doubles are serialized store serialize_precision significant
    , ]7 \) r& |4 R$ }/ [7 {
  286. ; digits after the floating point. The default value ensures that when floats
    % Z% @) d) C2 N+ n& ~4 o3 L5 ?
  287. ; are decoded with unserialize, the data will remain the same.4 y! y0 H( N& |! \- B8 X# @1 F7 K+ ~; A
  288. serialize_precision = 178 x) R, f3 ]+ l; b
  289. 4 A' T: Z- W( n4 h( p+ a
  290. ; open_basedir, if set, limits all file operations to the defined directory
    * z: m: C( e  s  C
  291. ; and below.  This directive makes most sense if used in a per-directory
    1 q& F5 ^) ]+ p  s; v  b0 B# N
  292. ; or per-virtualhost web server configuration file.* A: A; K( e  \4 i& D
  293. ; http://php.net/open-basedir
    0 z/ X' y/ b8 k% z
  294. ;open_basedir =; F. M6 Z7 Y1 t! R2 r
  295. , [5 g6 X& K( A1 M% w+ w
  296. ; This directive allows you to disable certain functions for security reasons.
    - L/ z1 v* n% H- w& n& d
  297. ; It receives a comma-delimited list of function names.( \8 b( u# z/ Z1 o% _  u' _. h
  298. ; http://php.net/disable-functions7 I, n- |( ^( M& D* ]6 o8 y$ x0 k% i3 T
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru0 Y6 J- b8 W- V; d) Z, c

  300. * ~+ M& ~1 z+ F- Y" u8 T( T- r7 ^$ |$ O
  301. ; This directive allows you to disable certain classes for security reasons.3 B1 [8 S6 K: J: ]+ A
  302. ; It receives a comma-delimited list of class names.
    ' Q' r: n& Z( x' U7 F3 F
  303. ; http://php.net/disable-classes( }- }7 o7 R* N; O4 H% ?
  304. disable_classes =
    0 D' x7 A8 P# E1 i

  305. 2 c0 ]" q1 G- B7 n' x4 j
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in; B, g" }% i5 V7 X
  307. ; <span style="color: ???????"> would work.# \6 n% @: @+ b8 Z# g2 D7 F
  308. ; http://php.net/syntax-highlighting
    & a0 @# e5 E, o& }) X! ~9 b
  309. ;highlight.string  = #DD00009 K8 P4 L1 X, h* ?: B: f( p- \
  310. ;highlight.comment = #FF99007 a' D/ x& e+ Y. m) U0 P
  311. ;highlight.keyword = #007700% K# H; |1 l0 Z$ Q
  312. ;highlight.default = #0000BB
    1 @# w3 c: ^' r, c6 ~1 h: d/ u
  313. ;highlight.html    = #000000
    " I3 n( R: J9 W( O$ K% D: }/ d/ o
  314. , P1 [5 I/ V0 c: g/ {9 X/ ^
  315. ; If enabled, the request will be allowed to complete even if the user aborts0 l4 [' s) `  J4 O' M% r
  316. ; the request. Consider enabling it if executing long requests, which may end up- |; O) R! _* O2 Q0 H
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior2 \7 ^( U% b8 B, _( V
  318. ; is to disable this feature.) C8 `) y+ \6 ?0 W
  319. ; http://php.net/ignore-user-abort
    . v9 R) g/ v4 H, q
  320. ;ignore_user_abort = On
    % h/ N. N# H% X* [$ e2 Q0 |
  321. , k& K* ?: F8 W( }' c- t
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    2 P# B3 q& g/ n/ q% a" H9 X+ j
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    - ^9 G8 V7 f4 d4 l' Y
  324. ; the file operations performed.4 U1 ~* j" J9 ?% q% ^
  325. ; http://php.net/realpath-cache-size; {# V5 I. E" _; D
  326. ;realpath_cache_size = 4096k
    . s  B8 ?& F3 }1 _" J7 C
  327. ' ?4 x. `4 G6 v  I' k9 [6 s
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    2 D& D) _9 o. `1 A5 m' [* s  [
  329. ; file or directory. For systems with rarely changing files, consider increasing this* D2 T; a& V- ^, Z
  330. ; value.
    . p8 W' a, L! C' A
  331. ; http://php.net/realpath-cache-ttl8 Q4 B" k$ h* n( p" Y& K
  332. ;realpath_cache_ttl = 1200 E, s. _% D; |6 ~4 q

  333. - x  f* @5 s# n" B0 W, N1 k) i
  334. ; Enables or disables the circular reference collector.
    ) u  h2 l, o+ Y0 O2 s. M+ ^
  335. ; http://php.net/zend.enable-gc
    ( s5 k8 s1 Y) C" T
  336. zend.enable_gc = On. s# S: F& U# z5 ]+ V

  337. 8 L  z# e4 k+ @2 ~' J3 R( e
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ' v  U1 A% i( w% b, H) k& V. I
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such- W) X% ^( Z) A, c
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    4 G3 |* j; P0 T+ d' m! h
  341. ; Default: Off
    6 g+ }( J% x- p/ H6 u' x) \/ p+ ~
  342. ;zend.multibyte = Off
    ) M: u; y; [: f/ ], v- T  `, t

  343. " v, a$ z. \! w' }! w( t
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    $ E: U4 _$ ^  X3 U
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.3 V1 a6 _# v; ^* H) M* Z
  346. ; Only affects if zend.multibyte is set.+ t8 l6 A" R+ k( Z
  347. ; Default: ""& g. V; T% P! Q) E* S9 w2 }
  348. ;zend.script_encoding =! r  z0 N2 R  n5 t  W5 O+ b
  349. - I7 r7 Z7 b8 \  J- v" W
  350. ;;;;;;;;;;;;;;;;;
    7 T( m0 m9 S% Z) a3 z( q
  351. ; Miscellaneous ;
    5 D( F- i5 S$ }$ i
  352. ;;;;;;;;;;;;;;;;;
    * L% K8 H/ i7 Y5 ]; A; T
  353. , P5 S! h$ ?5 G8 l+ A
  354. ; Decides whether PHP may expose the fact that it is installed on the server. N: Y! U4 }. J+ Y; W2 ~: K
  355. ; (e.g. by adding its signature to the Web server header).  It is no security; S8 J4 [2 ?$ s1 k- ?' r! o
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    & W0 k: n9 v+ O" v! p+ m
  357. ; on your server or not.
    , U6 |% D& m2 G- j" }" s
  358. ; http://php.net/expose-php
    7 F+ p8 b0 Z+ W: D. o6 x9 }
  359. expose_php = On1 D3 w" p  ~2 V/ H! J

  360. 1 y5 W2 P* F! ~7 ~8 c. [, _
  361. ;;;;;;;;;;;;;;;;;;;
    ; Y! \- {1 S. G& w# z
  362. ; Resource Limits ;+ g) u& X( T* ?4 R/ L2 ^) n
  363. ;;;;;;;;;;;;;;;;;;;, j1 a% V) V5 p# U

  364. , A% o* u. ?+ s6 G2 j' I9 \3 r) e
  365. ; Maximum execution time of each script, in seconds% C/ S5 N: v% @) ?# e) \4 `
  366. ; http://php.net/max-execution-time2 M; U2 I7 g6 r7 K
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    , m' K0 B: W2 X8 Y
  368. max_execution_time = 300! @% F6 H9 L) C7 T7 @
  369. - y8 n) I0 O7 n. e5 B
  370. ; Maximum amount of time each script may spend parsing request data. It's a good- {/ c9 H  s4 C! ]
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ! U2 Z# a, c$ y. `% q5 z
  372. ; long running scripts.
    3 a3 L& k6 F5 x, ?9 M
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI5 i; M6 W- G1 Q! y  W& a. {
  374. ; Default Value: -1 (Unlimited)
    9 ?  f) M6 l& r& v) `
  375. ; Development Value: 60 (60 seconds)4 n- @+ L* o9 J% ]6 k
  376. ; Production Value: 60 (60 seconds)
    6 b- s5 L5 S& X  s' ?
  377. ; http://php.net/max-input-time- O- U% m7 u7 \( Z( m; I
  378. max_input_time = 601 f4 K( i8 u! \1 l
  379.   q* }. j& a1 Y. @9 b* @/ p5 q+ P
  380. ; Maximum input variable nesting level: C0 z9 I$ K* F) A. r
  381. ; http://php.net/max-input-nesting-level
    ! y. Z% t& V# H$ e  ]
  382. ;max_input_nesting_level = 64
    6 m, W7 ~- b6 G0 |

  383. * t4 k  F) o$ Q
  384. ; How many GET/POST/COOKIE input variables may be accepted
    3 D  }" r8 l: S7 J9 L% ?. Q
  385. ; max_input_vars = 1000
    3 t+ Q7 ^( F9 v4 q
  386. 6 z" H- k: b* L( p% v
  387. ; Maximum amount of memory a script may consume (128MB)/ N; R; f, s  t! J+ `3 l" K
  388. ; http://php.net/memory-limit% k! H3 R" `: ]0 Y
  389. memory_limit = 128M. `1 M' U" U, b% I

  390. ' @. K4 C% c  X+ F4 @. G9 w
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 i2 x  c- S9 J9 p; I( K
  392. ; Error handling and logging ;7 T8 y/ Q6 P. M5 f
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6 z7 s  f0 c& H# ?& N

  394. : G) A! ^* h9 r6 P6 R& O
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    6 v( h7 {$ T5 I! ~5 w! m! F" M* A
  396. ; it to take action for. The recommended way of setting values for this
    / L* F, m: l9 r5 O
  397. ; directive is through the use of the error level constants and bitwise+ A. I( D- ]( l4 M9 I
  398. ; operators. The error level constants are below here for convenience as well as9 |" @* A9 L6 E/ [6 ?: z/ I# d" v& t
  399. ; some common settings and their meanings.
      `. z0 T5 n1 {. ?
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    3 {4 w! I3 }+ G; l6 X/ y
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ( u4 V2 d& T8 e1 ^6 }! V% r" I
  402. ; recommended coding standards in PHP. For performance reasons, this is the7 I* l5 O0 u2 e* u0 l
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    * l7 V5 h7 W) h& G
  404. ; resources complaining about best practices and coding standards. That's what
    9 U$ [: B7 m6 p
  405. ; development servers and development settings are for.
    & t7 @: A# Y% |, @) b2 w
  406. ; Note: The php.ini-development file has this setting as E_ALL. This! }" o1 k% \9 W8 N" o' k9 m+ o
  407. ; means it pretty much reports everything which is exactly what you want during
    + J* x/ x3 o5 d
  408. ; development and early testing.
    2 ?* ~$ a0 m0 v& b
  409. ;7 o1 [3 U5 n" m4 @8 Y
  410. ; Error Level Constants:
    . ~- i! }/ w1 w' J& ]8 Z
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)" ^, [2 l2 n% ~' S, W
  412. ; E_ERROR           - fatal run-time errors3 F& a4 ^  M  k# W' R! y4 g7 ?
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors- a$ {) S, k7 r
  414. ; E_WARNING         - run-time warnings (non-fatal errors)/ g( Q5 {( @2 l1 t, b! K
  415. ; E_PARSE           - compile-time parse errors
    " B9 M' n0 Z! c3 x
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    ) W) u0 W: @; N: Y2 ~
  417. ;                     from a bug in your code, but it's possible that it was9 _1 s( g1 y4 I; G, l) G2 t
  418. ;                     intentional (e.g., using an uninitialized variable and  G% H+ w/ ^( l* ]; w: g' M, l' P( G
  419. ;                     relying on the fact it is automatically initialized to an4 T3 S$ J8 X* C0 E( @0 f/ w4 J
  420. ;                     empty string)( v' a+ Q0 V& ~; S0 c1 z
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    0 m3 r1 }1 ~2 D5 G
  422. ;                     to your code which will ensure the best interoperability
    9 Q- C# y3 e' o8 K/ ~5 b* f
  423. ;                     and forward compatibility of your code
    % @* I/ _1 G+ L, i# N, a1 q
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    0 h8 R/ f1 ]5 @; r% b3 o) i
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's2 Q3 N- a$ P5 m/ I" ]. q6 K
  426. ;                     initial startup1 T# C2 b" {) v! i1 U# O
  427. ; E_COMPILE_ERROR   - fatal compile-time errors# b) X8 `& C! H9 e1 q: [1 p  ^/ L
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ( o* ]' P3 d2 c
  429. ; E_USER_ERROR      - user-generated error message
    6 j/ L- b* ], J' \. Q/ l
  430. ; E_USER_WARNING    - user-generated warning message
    # h  E$ F) ]* q4 x" y  x
  431. ; E_USER_NOTICE     - user-generated notice message
    5 }/ z+ F  t, }4 b$ h( F  q% Z3 {
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    4 A$ S, T" P2 s  }* ^
  433. ;                     of PHP
    7 B/ u0 @' f& Q! }0 K" Y; p' |+ i
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ) p5 C: P2 N/ B7 e1 q
  435. ;% q4 K# [6 }1 R" V- X
  436. ; Common Values:- l+ K' p+ b# q/ f7 r' x. ]' J
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    & m: O: ?6 j) q9 `' g% {
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)2 J- ^+ P( r4 R# |) ?  W# |
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.), D( {4 W7 [) M9 k. ?/ P
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    , R$ ?3 M3 s$ M- Q
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED& H& f% X" w2 T: s3 E. U
  442. ; Development Value: E_ALL
    ) m4 S1 q7 y9 K/ S6 j3 e- o  h
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT/ n( H. k' r  A6 z8 j' W2 T
  444. ; http://php.net/error-reporting* e: Q/ w2 J  t9 R, J' g! w3 d8 e
  445. error_reporting = E_ALL & ~E_NOTICE3 z  v, t; E8 M4 i, }; t

  446. - I8 |$ V. `' k4 T1 P' a  }1 ]
  447. ; This directive controls whether or not and where PHP will output errors,
    ! j) D/ G. E# G( G8 `
  448. ; notices and warnings too. Error output is very useful during development, but" ~* x; j5 d+ `4 j7 {
  449. ; it could be very dangerous in production environments. Depending on the code5 J+ H/ F. U' u/ \9 m
  450. ; which is triggering the error, sensitive information could potentially leak
    . g/ \9 Y3 H+ u2 N" c
  451. ; out of your application such as database usernames and passwords or worse.
    ! \/ B, q" U" d  l
  452. ; For production environments, we recommend logging errors rather than8 S" V# f  U; G& k! Y( Y
  453. ; sending them to STDOUT.
    . [) H# |5 a* M4 `
  454. ; Possible Values:/ C- o& ]0 B5 K- P. u4 L/ s; z- \
  455. ;   Off = Do not display any errors
    * o9 b$ J. _; |  n! n7 G- ^
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    3 p& N+ d7 }. ^' ~
  457. ;   On or stdout = Display errors to STDOUT
    ' p: x! z4 v1 A8 c! v
  458. ; Default Value: On
    ! a8 |; _% J) M
  459. ; Development Value: On
    % W- t7 ^% ]) \
  460. ; Production Value: Off# [& j; A7 _/ P4 B; T* r
  461. ; http://php.net/display-errors0 ^* |& q$ K3 h
  462. display_errors = On
    " [/ h9 ?) P6 J( }- ?. I
  463. ) ~, T5 P" B5 k( Q! K" A
  464. ; The display of errors which occur during PHP's startup sequence are handled
    6 l& r+ B( K' `( \$ j2 T3 |
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    7 i$ I/ ]' J1 m/ I7 R7 M
  466. ; errors from clients. Turning the display of startup errors on can be useful in3 i$ q  C+ W* s7 C
  467. ; debugging configuration problems. We strongly recommend you1 {, [) G. d% D' t  N' R
  468. ; set this to 'off' for production servers.
    2 H7 ~: A% j! u. K, u
  469. ; Default Value: Off. H: c9 D9 e" e2 z0 M3 e
  470. ; Development Value: On+ C* q" P" [8 ^6 p- B
  471. ; Production Value: Off
      c3 G, X1 Y! j, m9 F
  472. ; http://php.net/display-startup-errors
    . H- f+ R. A2 D5 n) ]. Z( h
  473. display_startup_errors = Off
    % _: d6 U2 k! h
  474. 6 s% ]( w: A; o. c6 \3 u
  475. ; Besides displaying errors, PHP can also log errors to locations such as a( N* y, c; F; ^2 S
  476. ; server-specific log, STDERR, or a location specified by the error_log( b' L2 m( H) k& C: @" B3 S0 Q7 g
  477. ; directive found below. While errors should not be displayed on productions
    ( t! d& a1 t  x, p& n3 |9 \
  478. ; servers they should still be monitored and logging is a great way to do that.
    : D6 h8 T, p$ ?
  479. ; Default Value: Off
    7 B% t9 D! \; ^# q# M) h
  480. ; Development Value: On
    1 M% q# K8 q$ Z: P( I7 `9 ^: j
  481. ; Production Value: On
    & _* n0 R1 f' @9 l
  482. ; http://php.net/log-errors
    % `0 J) V3 z3 Q! f) X1 V
  483. log_errors = On6 g% a& R8 e7 S9 P! k" W
  484. 4 ]& i- z/ j/ Z% ?, j
  485. ; Set maximum length of log_errors. In error_log information about the source is$ i3 S; W/ y( Z9 o$ b& P8 b* G
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.8 K4 h' m1 o* t. g% A
  487. ; http://php.net/log-errors-max-len/ @* C' X# R" c& _
  488. log_errors_max_len = 1024
    & C+ a+ p6 n6 U  l5 O% V
  489. 3 r. f& h# L/ J1 @
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same2 d+ ^5 `2 N) M- E& ~
  491. ; line unless ignore_repeated_source is set true.
    , |: L9 X7 g, d$ z
  492. ; http://php.net/ignore-repeated-errors
    8 ?* B7 M0 n2 m0 O/ b9 D$ Y8 k) f
  493. ignore_repeated_errors = Off( f+ `+ C2 q9 x" p

  494. ! P) d  b9 j6 s% F5 U
  495. ; Ignore source of message when ignoring repeated messages. When this setting6 n* t$ J1 N- A
  496. ; is On you will not log errors with repeated messages from different files or* i( ?1 A: d0 {/ ]( I9 I( v! l% ?# D
  497. ; source lines.
    % s% A  ?) f5 o4 `( {& E
  498. ; http://php.net/ignore-repeated-source
    ; [2 n# _" j2 o- A% g; j
  499. ignore_repeated_source = Off
    4 U$ {8 h% R0 H' p! Y, U8 T0 D
  500. & Q( J1 v! F$ U4 h' c
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on. y% f1 k2 x9 x2 T
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    7 g/ f1 Y1 L0 k! W: Y
  503. ; error reporting includes E_WARNING in the allowed list# y: i  @$ a7 M2 n+ V2 j8 j
  504. ; http://php.net/report-memleaks8 ~) s% `1 s* u: f# L
  505. report_memleaks = On
    ' X+ }# x' v* ^8 k* R8 @$ @( k  a

  506. 9 R+ _1 v0 v( `  P; x; f( o
  507. ; This setting is on by default.5 A. F/ s& q) O3 n- O: |: L
  508. ;report_zend_debug = 0* w& \" O$ u6 J1 f6 t

  509. . O9 O9 }; ^2 D; M* y
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    * q) H5 p% A2 Q& b
  511. ; to On can assist in debugging and is appropriate for development servers. It should/ `7 U* s2 u1 t$ l! v: O
  512. ; however be disabled on production servers.
    1 B* Z  q) e% ~: t6 J( ]
  513. ; Default Value: Off  p% j- X# f0 t
  514. ; Development Value: On- d6 g) z& A- v- C# u0 J6 X5 \
  515. ; Production Value: Off
    9 b& Y( w1 ^9 M+ z  j( y. p  K
  516. ; http://php.net/track-errors
    : X& I1 Y/ ^  ~9 D5 Q
  517. track_errors = Off! {5 p& t+ c4 x: `
  518. # i' X6 X- G* e3 c* u" ?! G  L
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    7 @5 z8 ~1 j1 N1 N' V* B* {! B' l
  520. ; http://php.net/xmlrpc-errors4 G  E) {' B! ^6 I4 E; }' u
  521. ;xmlrpc_errors = 0
    " Q, X4 T9 y6 ^4 y9 Z7 y7 D
  522. 6 r8 |9 f* F4 R/ r6 S1 b" I
  523. ; An XML-RPC faultCode
    7 [# ]( B8 w, G  o5 e
  524. ;xmlrpc_error_number = 0
    5 K: ^  M7 _9 W3 d4 s: z! B) A4 y: B
  525. 6 X) ~8 U' l7 \0 L
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    ( e7 C7 c. g- V. ?
  527. ; error message as HTML for easier reading. This directive controls whether# p. l  T7 `  |
  528. ; the error message is formatted as HTML or not.
    - u. [6 V8 P/ b; w
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI7 Y7 _2 I# y+ O+ B0 E
  530. ; Default Value: On
    1 T# T1 |2 x% t% }) \
  531. ; Development Value: On
    " ~0 t" |& w8 T. P/ |  L3 G; U. F
  532. ; Production value: On& O" [4 Y4 B/ W: G8 P5 G
  533. ; http://php.net/html-errors
    8 N: H5 H& z7 c; f  X& k
  534. html_errors = On
    # E* V. v! Z% r" X, z/ n$ q* `

  535. 7 f$ E* J4 }& Y
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    $ a( N7 @) ]1 h5 Z( f8 D
  537. ; produces clickable error messages that direct to a page describing the error
    ' M! [+ V: a' a9 u4 n' B
  538. ; or function causing the error in detail., S: M( L' b/ v3 a+ O' J
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    ; `. P/ i9 T5 p  a& K
  540. ; and change docref_root to the base URL of your local copy including the3 [! ^7 s, R- p' _+ m6 P
  541. ; leading '/'. You must also specify the file extension being used including  u" i' [/ O# l+ w9 `8 d
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which* S7 B: B% C8 L" Z# G
  543. ; case no links to documentation are generated.
    * F: a* s$ i; p+ r
  544. ; Note: Never use this feature for production boxes.& a- i6 A- N( Q2 I
  545. ; http://php.net/docref-root) y1 l/ H8 u8 F3 I9 K, }
  546. ; Examples
    % r: _; l* [7 o- z- ~
  547. ;docref_root = "/phpmanual/"
    1 [" X: g" h% M3 L% f
  548. # z. c% n+ j, d/ o, G: v9 F. g
  549. ; http://php.net/docref-ext# R4 [7 p4 O& \( x
  550. ;docref_ext = .html: e" s% H4 N+ o  n

  551. 5 _' y4 t0 ?6 z0 u# u8 s
  552. ; String to output before an error message. PHP's default behavior is to leave$ v: q2 U+ m: T, D9 V$ H$ X9 I
  553. ; this setting blank.
    3 e( D+ P% f! c" ~# [
  554. ; http://php.net/error-prepend-string. B: V+ R1 l! H* s6 X
  555. ; Example:7 T1 L- m3 n# X6 Z' _! j
  556. ;error_prepend_string = "<span style='color: #ff0000'>"& T; Z  ^- I6 v+ W, l- z. ~1 o
  557. 1 k: A. g6 A% e* J. _1 B" X9 P
  558. ; String to output after an error message. PHP's default behavior is to leave0 i9 z# `+ {& s* l$ U+ n
  559. ; this setting blank.
    , d: V1 m( P# ^( V$ f! m
  560. ; http://php.net/error-append-string0 ]$ }$ Q- M3 Z* n0 L
  561. ; Example:* ?7 k/ ~' ]% ?* I8 r
  562. ;error_append_string = "</span>"6 y: w" b* y8 t, t

  563. 6 X1 J7 q3 g2 \8 v% s/ a
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    / o2 r1 E1 B4 a/ D- K" d, A7 J
  565. ; empty.
    1 @; e  {+ F$ a; U& |1 i
  566. ; http://php.net/error-log& ~( S4 U8 z; D5 p+ x
  567. ; Example:$ }7 |6 w; w8 ]- P# t6 p! V6 g! U
  568. ;error_log = php_errors.log
    ( p* I+ I$ l$ K7 l# D6 A
  569. ; Log errors to syslog (Event Log on Windows).
    . X' Y: _+ P: @% Q7 I
  570. ;error_log = syslog  ?/ q1 y% p& u* r; ?# M

  571. % q6 R: W, K! D3 J( G
  572. ;windows.show_crt_warning
    1 B2 W8 `9 b9 P+ q- V$ o6 W% t
  573. ; Default value: 0( m& M8 V  h7 f( F+ z
  574. ; Development value: 0
    ' H/ ?2 g, s+ L* U2 r1 q& l. D
  575. ; Production value: 0" M% r9 v) S4 g2 U  b+ g

  576. " H# B, A8 [' B0 u6 t5 `6 ~
  577. ;;;;;;;;;;;;;;;;;
    ; c, w: L3 r5 t$ d+ n. ^
  578. ; Data Handling ;% v6 X2 @% c. b9 t" G8 j" r5 n
  579. ;;;;;;;;;;;;;;;;;
    ) W4 W" \7 P' e& I9 m5 Q

  580. ) ?! H9 m; x" w
  581. ; The separator used in PHP generated URLs to separate arguments.
    & f! G7 t; w8 ~- n% t$ ]
  582. ; PHP's default setting is "&".8 E% N: {0 }$ h8 I
  583. ; http://php.net/arg-separator.output
    ) l0 P% m- H' t& ?& _( F  }7 ^
  584. ; Example:
    - [  v" N, n$ c/ R! J
  585. ;arg_separator.output = "&") I6 E5 r- H) u2 O7 E$ a9 W' h) I
  586. , a% |5 u5 y( z& Q8 O
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    , s  z: W" R- ^5 s
  588. ; PHP's default setting is "&".
    & n5 e& @3 r" \" `
  589. ; NOTE: Every character in this directive is considered as separator!
    . R8 F) V% M6 @9 M8 ]. K# v4 Y- u* }
  590. ; http://php.net/arg-separator.input
    5 \( |. b- a( M+ r) J; ~
  591. ; Example:
    - ^* f4 j7 `% p% a- ?6 k  {' |
  592. ;arg_separator.input = ";&"
    / `0 ^9 W$ l, y" [0 Q. I
  593. ! S8 o2 w2 X- d& c8 b
  594. ; This directive determines which super global arrays are registered when PHP! Q# s( }/ u2 y/ o8 ?$ d, E2 b; w
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    6 D& }2 T" ~9 t3 y3 F9 ]
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty7 s5 B3 J+ l) q8 @2 k
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    + C: t- g" A! m  X* W# t$ _
  598. ; used as the others, ENV is not recommended on productions servers. You$ o  h( A% q7 F$ h* [0 i4 v
  599. ; can still get access to the environment variables through getenv() should you# Q$ p6 ^( z$ p
  600. ; need to.
    ! V- s5 `" u1 b0 @, {, e. a: G" k8 n
  601. ; Default Value: "EGPCS"
    8 o# s: v5 }1 M
  602. ; Development Value: "GPCS"
    ; y  r7 z: ^4 B/ ?& M
  603. ; Production Value: "GPCS";
    ' ?( M, j4 L! q, e+ o8 l# @: x/ l/ g
  604. ; http://php.net/variables-order1 y: N* Q' F# m2 [; ]. Z2 k
  605. variables_order = "GPCS"
    3 o! [2 v  _. j/ E

  606. ( L0 G% y+ ~/ V+ y+ E8 B
  607. ; This directive determines which super global data (G,P & C) should be* G, D$ }1 X: Y- ?8 h7 \- r
  608. ; registered into the super global array REQUEST. If so, it also determines
    - F8 |8 k. r. E: _/ M
  609. ; the order in which that data is registered. The values for this directive7 k2 q' j5 R  i
  610. ; are specified in the same manner as the variables_order directive,
    1 C" G) }  h6 n& X- P& L
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set" w; E& x$ m2 r
  612. ; in the variables_order directive. It does not mean it will leave the super5 z5 R/ K" W4 Q0 X4 @3 e
  613. ; globals array REQUEST empty.- F( J2 d0 T# t( B& k& X2 p
  614. ; Default Value: None
    9 a% R- c5 X. T1 n- ~
  615. ; Development Value: "GP"5 a  I9 [, t9 `* |  C' i
  616. ; Production Value: "GP"2 P. Y1 H0 ~2 V9 c8 A
  617. ; http://php.net/request-order
    5 \) F, P6 N1 {6 d
  618. request_order = "GP"+ e( C8 p4 L! }
  619. 6 U8 l- A4 b5 p. D, l7 H6 j
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    - z% M; S# O& G7 l2 c9 `6 y; C  }; f
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
      A/ D, i" u6 {
  622. ; is invoked. $argc contains an integer representing the number of arguments
    0 ?- g1 e$ A! |5 K' ?& ], G  F$ f
  623. ; that were passed when the script was invoked. These arrays are extremely8 ^8 p8 d( X9 J5 w. P4 u
  624. ; useful when running scripts from the command line. When this directive is
    5 i8 p. l% I1 {: {
  625. ; enabled, registering these variables consumes CPU cycles and memory each time9 y. y  i9 @7 \% |
  626. ; a script is executed. For performance reasons, this feature should be disabled& m& }, L" N+ Y2 R0 S) l" J& ]
  627. ; on production servers.
    % M1 |+ r1 D5 p3 S/ O8 `9 B
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    6 g- e; x- }! \' e, k1 v5 {
  629. ; Default Value: On. _3 Q; \9 t9 x6 S. j
  630. ; Development Value: Off
    " v; t" l7 }3 E3 M8 p; ^
  631. ; Production Value: Off# U& {: _' _0 r( g0 ?8 @8 f
  632. ; http://php.net/register-argc-argv; _& t  Q3 E; L( h! H0 s- \, T
  633. register_argc_argv = Off
    9 e" ?% _+ P( q6 U5 f4 K/ S

  634. , J* P) O. ^5 |+ P( i
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    8 n7 A( |+ t$ H9 k, Z% m) }' }
  636. ; first used (Just In Time) instead of when the script starts. If these5 w9 U9 x( {$ ?: U% }; u7 \
  637. ; variables are not used within a script, having this directive on will result
    ( i8 I4 E& s3 \) D
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    1 r8 U6 G9 U4 Z/ _; d
  639. ; for this directive to have any affect.
    1 t# ?( S  p3 s
  640. ; http://php.net/auto-globals-jit
    % M# I( f4 j6 c3 ~3 V( z4 q8 A
  641. auto_globals_jit = On+ J4 a2 D1 z( \! ~
  642. * w6 e: _& x' y* E2 o
  643. ; Whether PHP will read the POST data.
    # [& ]; c0 A& {7 [0 K
  644. ; This option is enabled by default.
    / z# t# U; O% ?, g9 P4 C$ @- `
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST  E" B- S4 S; G( w7 P, C
  646. ; and $_FILES to always be empty; the only way you will be able to read the$ l3 L- a- `( c7 Q9 @
  647. ; POST data will be through the php://input stream wrapper. This can be useful& m) F' b/ D& L0 l! x
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.: e' \5 ]3 [- E
  649. ; http://php.net/enable-post-data-reading1 I4 q( G7 p6 q8 D5 x8 C' P1 a7 E, T' D
  650. ;enable_post_data_reading = Off
      e9 v5 c. a: @& c% w, [

  651. ) B. u: q4 e) U2 t  a1 s
  652. ; Maximum size of POST data that PHP will accept.9 `) S: ~+ G( ?
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
      H" g) j+ s1 }4 O4 ]/ i. t
  654. ; is disabled through enable_post_data_reading.$ q0 _! L& P! |# u! L6 U
  655. ; http://php.net/post-max-size
    + @! e# e! f7 l4 f7 {
  656. post_max_size = 50M
    % z9 H$ f. D8 `. ?6 ~% s8 v

  657. ! m% {% Y  N" I/ M$ F( }# ~1 A
  658. ; Automatically add files before PHP document.
    $ `# O  _' U( N
  659. ; http://php.net/auto-prepend-file8 Y' c* o0 r' s. ]% a
  660. auto_prepend_file =7 R1 j3 H9 m& L7 Z/ [
  661. * ?' s- D  c+ i
  662. ; Automatically add files after PHP document.' W* L  E$ ~" Q3 E5 t! ^: \
  663. ; http://php.net/auto-append-file
    : F- H9 W2 s3 d: P, M% y
  664. auto_append_file =$ K1 r" X1 j4 N3 q8 D7 s: j# Q

  665. 4 O( G7 v& Y$ U- ~7 O2 \2 M. L7 I1 ^
  666. ; By default, PHP will output a media type using the Content-Type header. To
    7 y6 i" Q; U. e7 ]4 l: x
  667. ; disable this, simply set it to be empty." X8 }3 S- f6 p/ a& x% v
  668. ;
    0 {  t9 k: B: p) Q  q) Y0 X4 x
  669. ; PHP's built-in default media type is set to text/html.2 x! ?( G( I) t5 O. G
  670. ; http://php.net/default-mimetype
    & ?- s) |4 {& R' Z3 K
  671. default_mimetype = "text/html". J' x' |0 A5 H9 [: O, C7 }& {
  672. 3 K. \  S8 Y$ d! R
  673. ; PHP's default character set is set to UTF-8.& y( h2 u0 ~2 N1 d" G) c
  674. ; http://php.net/default-charset
    3 I7 C( D' \  F* z9 r1 \
  675. default_charset = "UTF-8"
    % f& r$ j5 h* J( M
  676. ' i! O2 w' R/ x; D" R) \
  677. ; PHP internal character encoding is set to empty.
    ! }; t1 v+ N! e- D6 _8 u) W. m% p
  678. ; If empty, default_charset is used.$ B8 d, [& o1 {* N
  679. ; http://php.net/internal-encoding
    6 z. n0 L1 C1 j+ C
  680. ;internal_encoding =
    $ N+ [0 q4 \4 E8 i! T2 a

  681. ( ^, Q3 t1 v% n/ U% l( G6 @
  682. ; PHP input character encoding is set to empty.  z2 V2 A  a6 ]0 F: l9 w% V( J0 R
  683. ; If empty, default_charset is used.! ?+ Z. V! L, y2 q' j( Q( `5 b
  684. ; http://php.net/input-encoding
    ( g* G% D) `1 r# d/ e/ a& \& T/ U
  685. ;input_encoding =
    ) Q$ H6 Z7 E; l8 F6 u
  686. # S8 v" t+ J* C9 y- [( e
  687. ; PHP output character encoding is set to empty.* d! w: B( S4 ^* f% C, S" u5 ~
  688. ; If empty, default_charset is used.1 h; C- [; {8 |5 i) a# h
  689. ; See also output_buffer." ?# w' e& c# o* Q0 A
  690. ; http://php.net/output-encoding
    : G5 ?6 J' w% D# k5 s
  691. ;output_encoding =3 k' R, \/ [: M  \# s8 A
  692. . A. v, P, b( a: q" s; o3 Z
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;; i7 f: A0 ?; J& R9 M0 t
  694. ; Paths and Directories ;8 a; F8 I* d: b0 K% o: H  C/ {$ ^
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;. S* o7 B* B" {3 C6 N
  696. 2 M# c- E8 \3 k# Z, t; J8 k
  697. ; UNIX: "/path1:/path2"
    % E( h0 d. A1 ^7 z
  698. ;include_path = ".:/php/includes"
    5 H7 s! W$ n! D% u" t, q' I. o
  699. ;
    ; K! g* d) l: n, G& e
  700. ; Windows: "\path1;\path2"
    # w) _  C/ N; q' Q& ^6 J
  701. ;include_path = ".;c:\php\includes"
    $ o6 f/ d3 A% G9 _
  702. ;
    * J- _5 a. K! ^  d1 D
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ' K4 p4 H0 z: G
  704. ; http://php.net/include-path
    * N/ U9 ]* s& W/ y

  705. 5 N, d7 h: g9 s# D
  706. ; The root of the PHP pages, used only if nonempty.
    - R' [5 @1 {  }, p. r* n' N" b0 _! d
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    - C. R8 m: `  ~# U3 q" e; M
  708. ; if you are running php as a CGI under any web server (other than IIS)- U, |2 K" v& J: {2 g
  709. ; see documentation for security issues.  The alternate is to use the
    8 t! F1 e6 M( L6 z* |
  710. ; cgi.force_redirect configuration below
    8 ?$ M/ `9 K8 p) j. G/ o; B2 c, _& H
  711. ; http://php.net/doc-root& s% j# T  b; o, z* {! {
  712. doc_root =
    8 R: Q' T- @. [( l$ C7 D1 A3 z

  713. & q: b2 Z9 c/ v& e+ R" s& [' k
  714. ; The directory under which PHP opens the script using /~username used only
    7 n$ Y, D* ]$ M; X) _3 v' ~
  715. ; if nonempty.( P" A4 r; Q* n7 u) S
  716. ; http://php.net/user-dir
    / ~$ M% l# w0 h9 n# a; G/ c: Q
  717. user_dir =
    , i$ R( M' ^. W/ f1 u5 m
  718. ; k2 Q0 Y3 I1 T" P5 h* @: m
  719. ; Directory in which the loadable extensions (modules) reside., ]% b2 h. n" [; }6 M
  720. ; http://php.net/extension-dir
    & N6 U+ b- ?0 r! |5 v1 L4 }' F; e
  721. ; extension_dir = "./"
    ! c5 x/ m. p7 ^" x
  722. ; On windows:( W! u* s2 h) _0 G8 R' r! p* x
  723. ; extension_dir = "ext"
    # t8 T' d1 I+ s6 m% U7 J, d
  724. + r0 o5 y; e# o0 R3 r
  725. ; Directory where the temporary files should be placed.' I" O0 Z0 C# c
  726. ; Defaults to the system default (see sys_get_temp_dir)& {% H, }2 H. M; @9 _& W  p: Y
  727. ; sys_temp_dir = "/tmp"
    4 n3 V' q0 _! s2 x! o
  728.   D& P/ b- G& b  r/ W
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    6 c" d# f# m) l& Q  v& J+ c4 ^
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically* `% N% e9 H1 [! N0 w) I
  731. ; disabled on them.
    0 w+ \) z2 D) [0 p8 X" @
  732. ; http://php.net/enable-dl
    - ~# |. B4 _# t/ S8 H' V) r; I8 A
  733. enable_dl = Off( A; \* P# J; S/ F7 B( i

  734. : o7 M4 u4 y9 V1 n% x
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ) R2 l/ r. Y8 h. N
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can! b. f  k4 }5 P  r
  737. ; turn it off here AT YOUR OWN RISK
    ( G; ^9 Q# p, ~) R; h2 d
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    & o7 E/ I" `2 y0 y& n" j
  739. ; http://php.net/cgi.force-redirect
    ! t$ v( P1 v. z
  740. ;cgi.force_redirect = 1' a: W) g' q/ U6 E* l# T+ |: `2 u5 l

  741. . J5 U7 R" k" t2 h$ G
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with5 L" C0 ?2 i  I2 d3 l) N
  743. ; every request. PHP's default behavior is to disable this feature.
    : V2 C; `7 }1 _. m
  744. ;cgi.nph = 1- e% X  T/ M  l: J6 M( c0 \" d
  745. 5 n% Y8 n2 U" s7 g2 @6 T. ^6 A
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape0 Z8 c& V3 s- W+ Z  U" c
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP9 Z* g. H9 f$ ~( l7 i( E
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
      S/ I3 C# Y/ T/ h. K. T- X4 Y- \
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    . z; k5 I. ?/ C' l; Z4 M! j; \! Y
  750. ; http://php.net/cgi.redirect-status-env; q4 d5 j- s4 Q" f# Z8 G, \9 j- T+ {* k
  751. ;cgi.redirect_status_env =' J0 O, X# a6 C8 G

  752. / K. W7 |2 Z  B* D* o* P' ~
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's7 @8 r4 ]. _8 t, Q8 A7 \5 V* E
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok+ W* I5 n6 b5 t6 P  N
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting7 m, U3 h9 {; G6 e
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    : B% ?  S$ m8 [8 B- ~: k0 P6 R
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts$ m" `2 N) ~; N0 V/ K3 n
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    4 U% t8 Z1 ?- v: E- `
  759. ; http://php.net/cgi.fix-pathinfo1 g1 h1 a. C5 K6 ]9 V, ~- e% F9 e7 Y; }
  760. cgi.fix_pathinfo=1, t' K- N# g( i. S- [3 G0 T% K/ z

  761. 1 m: T5 }5 k7 S5 {- ^: b
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside2 }* P( p/ o7 M: h8 A- T; A
  763. ; of the web tree and people will not be able to circumvent .htaccess security.: N' Z5 `4 y& s: z
  764. ; http://php.net/cgi.dicard-path
    ' m" X$ Y3 Z  h8 }. J0 @7 e
  765. ;cgi.discard_path=1% L, o: J( ^9 ?* r
  766. # T, ^2 f/ q. o, \) H  t
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    : A) h' ]+ p5 a6 z. l4 g
  768. ; security tokens of the calling client.  This allows IIS to define the
    ' j8 V2 k( }# ~" E8 l
  769. ; security context that the request runs under.  mod_fastcgi under Apache  q' q. B4 {8 J, G6 U3 ]' }" U
  770. ; does not currently support this feature (03/17/2002)$ v6 p" H+ K- Q
  771. ; Set to 1 if running under IIS.  Default is zero.
    : m; M& b6 i+ w
  772. ; http://php.net/fastcgi.impersonate
    ; r4 N4 U; ?2 n7 N8 v
  773. ;fastcgi.impersonate = 1
    8 ^3 s8 \. @/ n- C. Z3 G/ V$ l$ Y

  774. 6 h; z2 J1 d$ f$ z9 t
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ) N8 {( H6 K/ p
  776. ; this feature.
    / T) f/ m$ p( G' C0 G
  777. ;fastcgi.logging = 0
    ) h8 x  N) P( P! o* K
  778. , j& g; l' |* Z9 [- ]0 L
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to) R& C; D" c+ Z+ ^& N( G& `, h
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that' |( [3 \: @% {
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    + e  S- R, F  _: V+ Q: b
  782. ; RFC2616 compliant header.. b5 n; `" S% y4 Z( \
  783. ; Default is zero.
    9 _9 {( ~& W: u- M4 v
  784. ; http://php.net/cgi.rfc2616-headers0 [- M' H) F. G  d. H- \, U
  785. ;cgi.rfc2616_headers = 07 D) W/ G1 ?6 s/ z# P0 s: s) H1 f

  786. 6 U- [, q4 b: j3 U
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    6 Q/ S5 r4 c9 L7 w& m! k
  788. ; (shebang) at the top of the running script. This line might be needed if the; z- e+ w+ r$ y6 O; Z* Q. [
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI7 g# x% ]- L& t3 `# U, z
  790. ; mode skips this line and ignores its content if this directive is turned on.& g) ^* j$ D7 n9 a, r" P6 c
  791. ; http://php.net/cgi.check-shebang-line
    1 q/ P& \5 t& ^7 ^' |( H( M9 n
  792. ;cgi.check_shebang_line=1
    2 b1 X' [# X. F

  793. " p7 h$ n$ I9 L0 V8 ?, \
  794. ;;;;;;;;;;;;;;;;
    0 M- ?6 Q. g2 N. \7 _: e2 q
  795. ; File Uploads ;+ w6 |& [* l) ~& x
  796. ;;;;;;;;;;;;;;;;
    , Q  x9 @( S$ a6 J) }

  797. $ X" \! K) `5 K& c7 c3 j; V
  798. ; Whether to allow HTTP file uploads.
    ; u  {  z0 ^# d, ~$ k# ?2 G
  799. ; http://php.net/file-uploads
    ' V5 H* }* J, A) f$ i% P. g/ W
  800. file_uploads = On
    # U" t, A+ L7 k7 {& I

  801. 8 P" n  f( c+ K
  802. ; Temporary directory for HTTP uploaded files (will use system default if not/ N! Y( X; I6 Q
  803. ; specified).
    % p6 M4 ~0 u) _4 b) w
  804. ; http://php.net/upload-tmp-dir( i/ m- k& n2 V# R7 l- b
  805. ;upload_tmp_dir =
    % Q5 B8 q' ^8 Q( k( G0 o) ]

  806. 7 i5 r/ R8 J2 u6 Q$ v" ^- N
  807. ; Maximum allowed size for uploaded files.7 Z3 k9 z9 Y2 Z/ l8 U' W
  808. ; http://php.net/upload-max-filesize
    ' }+ C% L/ P! P7 W+ j
  809. upload_max_filesize = 50M  h8 c1 L! W& I1 C# {9 M8 O1 |9 F

  810. ( K. o2 n1 o1 V- s
  811. ; Maximum number of files that can be uploaded via a single request
    9 B. `9 A* u/ {$ ]: k% }
  812. max_file_uploads = 20
    : d5 U3 n! ?: N8 [" P
  813. / s0 f/ e( R. l* |3 H6 Z" q
  814. ;;;;;;;;;;;;;;;;;;
    , m; u- H1 t1 l$ `" _; w2 K1 |
  815. ; Fopen wrappers ;, N5 A) r* {0 D5 q; K
  816. ;;;;;;;;;;;;;;;;;;; g" H2 [5 Z/ g1 x( I9 Z3 |; d7 M; X

  817. , |  f3 n0 U$ S" O; I- a
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.# |0 K0 @$ {/ j* h
  819. ; http://php.net/allow-url-fopen
    " U: j# S- p: y7 I1 Y6 ?- t3 k1 u  _
  820. allow_url_fopen = On
    7 X% D! a1 [: W) w3 w
  821. 1 i$ m' b! C+ h: v- L) G& f6 e
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ; |  ~/ l/ p6 }8 o# p# Q
  823. ; http://php.net/allow-url-include
    / z) @8 T6 E9 E! k
  824. allow_url_include = Off
    2 t4 j* A1 f0 R: O: Q" x  j) l% {

  825. " H) J( ~" j% c9 s
  826. ; Define the anonymous ftp password (your email address). PHP's default setting& h$ m2 a2 [9 k. }$ c1 y
  827. ; for this is empty.
    + A& y0 A5 T2 C/ D" w8 d& J  h5 z. g, A
  828. ; http://php.net/from
    ) _$ V) r+ d' E
  829. ;from="john@doe.com"
    0 P7 P8 y: \4 @2 B+ P/ q

  830. 6 ]. ]; p/ I0 n( b+ @7 x! ]5 w
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    & M% `/ D$ T( W0 Y1 w+ t
  832. ; http://php.net/user-agent+ F' ~9 F- B/ T5 f, z% w2 ]
  833. ;user_agent="PHP"
    9 ~! p, l: t1 x9 T  H/ m

  834. % x  x2 W4 M3 y% W/ R( \; ]4 |6 {
  835. ; Default timeout for socket based streams (seconds)
    ( N) }2 Y; V' Y/ h& E
  836. ; http://php.net/default-socket-timeout
    2 H, M6 R/ f: Q0 O( X! g! |
  837. default_socket_timeout = 60
    ! G7 E9 z! ~  ?/ H, u8 N
  838. * q7 J: x  S; b' ], x
  839. ; If your scripts have to deal with files from Macintosh systems,  Q, t9 x/ P# H$ w$ ?4 K
  840. ; or you are running on a Mac and need to deal with files from) g# k. i2 N7 A' F8 ~
  841. ; unix or win32 systems, setting this flag will cause PHP to% Z6 }+ h7 {) s1 A) i
  842. ; automatically detect the EOL character in those files so that
    7 _3 |1 ^1 p+ z7 J7 B/ X
  843. ; fgets() and file() will work regardless of the source of the file.
    ( n3 R+ x0 R( W7 f
  844. ; http://php.net/auto-detect-line-endings
    - ^) C( b5 l/ _' x0 b, {3 t/ S
  845. ;auto_detect_line_endings = Off, Q) U( ]8 s! u9 F
  846. ! y! L" S; i! B3 s- ^' b/ D, n
  847. ;;;;;;;;;;;;;;;;;;;;;;. g0 U3 ~, O. p# j
  848. ; Dynamic Extensions ;) ?$ s# o! m4 D% |" W
  849. ;;;;;;;;;;;;;;;;;;;;;;' v4 X" Z3 p, U7 k$ T$ U

  850. " j! ~6 A4 A9 y% V: v
  851. ; If you wish to have an extension loaded automatically, use the following
    0 ~7 v, h, H! X! }
  852. ; syntax:
    % S, t3 n7 {4 T( ?) w* J0 J
  853. ;
    7 Z% G5 Y2 T& o0 U1 v# \" Z+ d* g
  854. ;   extension=modulename.extension7 w7 _, u: S7 @$ i7 g4 m1 m
  855. ;
    1 h6 U, V; f8 ?- ~. W" c3 P
  856. ; For example, on Windows:' Z3 u2 \$ C6 K! j
  857. ;
    . ?* C8 G3 T+ \& v" \
  858. ;   extension=msql.dll* t( W# D, s+ W1 L
  859. ;# F+ j6 c. p0 G+ I3 ]3 t3 j
  860. ; ... or under UNIX:! o" K0 O" y" x# a, L
  861. ;8 M4 d/ k% K0 h" W6 P
  862. ;   extension=msql.so% k& Q  r- m* d# i
  863. ;
    ' R9 y2 Y0 |- x& P
  864. ; ... or with a path:- W- u# `  z2 T- h8 K3 h
  865. ;4 U( R+ ^2 p3 |
  866. ;   extension=/path/to/extension/msql.so( M* ~& K- {' ?2 J% r
  867. ;
    , a. p% V6 e  q
  868. ; If you only provide the name of the extension, PHP will look for it in its
    ' G4 z$ g3 v4 v$ q
  869. ; default extension directory.% q+ f- U) Y6 B
  870. ;
    : h/ L: Y1 X; `# J1 d2 Q- _
  871. ; Windows Extensions
    1 J9 k' C5 d1 d% P* r7 r6 X
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    9 D& f0 Q. z" p+ L1 t7 N
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)7 O6 E* W0 A' G, f9 B; n& N
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).5 c) o( ~! p- h2 C& Y, r1 J5 n8 E
  875. ; Be sure to appropriately set the extension_dir directive.
    4 Z& @) ]3 W3 H6 t% \! c
  876. ;
    % U$ z8 C7 n! I# D5 U9 m& Q( b
  877. ;extension=php_bz2.dll, z- ^$ c7 x! a8 Y0 k; ?% x# D) h
  878. ;extension=php_curl.dll5 M% Q: R' R& Q; r& ^0 g+ p
  879. ;extension=php_fileinfo.dll) Y0 B3 R* C% m9 h* t9 p% F5 Y% |
  880. ;extension=php_ftp.dll0 N* J" A  j( I. c( |$ h0 a
  881. ;extension=php_gd2.dll
    4 t7 l" V. N# P9 R6 ^
  882. ;extension=php_gettext.dll
      `! ]3 T/ |, S+ V( v' X% t
  883. ;extension=php_gmp.dll
    ) c& r0 H! R3 @; z" V" t
  884. ;extension=php_intl.dll
    5 o; ?$ Y/ E4 n
  885. ;extension=php_imap.dll3 `) E# ]' t, c* U
  886. ;extension=php_interbase.dll
    $ Y* {- S) G8 q
  887. ;extension=php_ldap.dll
    6 X6 |$ \# ]( i. p
  888. ;extension=php_mbstring.dll
    ' d+ i7 A) X5 c1 P( @: k
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it" G  a/ c' S5 A* W+ r6 D
  890. ;extension=php_mysqli.dll% s& s5 p6 R2 \
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    8 U6 i/ P1 q; t: U9 A- z6 q+ g
  892. ;extension=php_openssl.dll7 N1 u; F/ d4 E# |4 ^. D/ r. d
  893. ;extension=php_pdo_firebird.dll5 _: L2 U9 ~9 U* }( v7 U  I/ d
  894. ;extension=php_pdo_mysql.dll
    * A6 A: j1 ]2 t1 }8 I' `& }& S  Q
  895. ;extension=php_pdo_oci.dll
    5 @/ p  Y/ q$ L
  896. ;extension=php_pdo_odbc.dll6 L4 Z* g) v; N  b5 D
  897. ;extension=php_pdo_pgsql.dll$ h: D. B- v3 @9 ]/ @/ `+ Q
  898. ;extension=php_pdo_sqlite.dll
    % _7 b& n  q0 `- U
  899. ;extension=php_pgsql.dll
    0 d; q# C& q5 {2 U1 F1 |7 l
  900. ;extension=php_shmop.dll2 ?! ^: d, U! ?6 d  Y; V" b" @
  901. ) A7 ~% \3 K: c) c- i5 U' J; w
  902. ; The MIBS data available in the PHP distribution must be installed.
    # q; S8 O' S" Q) R
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    % S8 c  S" F' R. t; H) I
  904. ;extension=php_snmp.dll2 N6 z( K) j2 ]$ S
  905. ' ^: b" m; R3 b: H7 g
  906. ;extension=php_soap.dll
    $ O3 K( L5 n5 [1 d! X; y) w6 y
  907. ;extension=php_sockets.dll. }! m$ s; v7 h  S6 C: ?! C- [0 O
  908. ;extension=php_sqlite3.dll3 a8 y! c: \) U0 f& d* S0 E$ B( p! _
  909. ;extension=php_tidy.dll
    " m4 E9 R( [/ C+ D8 h
  910. ;extension=php_xmlrpc.dll) \: l7 Z6 ^2 b, ?6 Y; b& G  e+ T
  911. ;extension=php_xsl.dll
    3 C* n  y$ [8 }: q, Z( G. C2 @
  912. : q! K! N2 A0 x$ j
  913. ;;;;;;;;;;;;;;;;;;;: S- p# S" X, l: P" p+ E, D! _
  914. ; Module Settings ;. F7 X; V+ ^1 F" t4 l! {
  915. ;;;;;;;;;;;;;;;;;;;
    & q- W) u  t4 ?0 b. ]! g7 j

  916. ! y( x$ U' @( D! c- z: q
  917. [CLI Server]: c- W" e4 G6 O- R
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.3 N+ Y% X/ L) ]+ ?' Q3 u( j6 u
  919. cli_server.color = On
    8 g, N' q  t3 z; r7 J6 N0 J

  920. % Y/ B6 M0 O% e) S2 @( A
  921. [Date]
    1 l& \8 g# y4 |9 V9 e3 @
  922. ; Defines the default timezone used by the date functions. ^5 y5 Z9 ?8 N
  923. ; http://php.net/date.timezone
    ! @+ z2 C- e, S9 j# i0 d2 \
  924. date.timezone = PRC+ b5 @, c1 \9 M0 i( s8 ~4 f  O
  925. / D% Q/ F1 t! O7 n
  926. ; http://php.net/date.default-latitude# M* W% h- Q/ y' u; w5 c
  927. ;date.default_latitude = 31.7667! |5 y! m0 C$ @$ u
  928. . v' {. k, \( ^, R& T5 H/ E+ l
  929. ; http://php.net/date.default-longitude/ e) F; v, \: d* [
  930. ;date.default_longitude = 35.2333
    6 K$ H+ k7 e" K# K

  931. 0 d* z- }8 c3 b4 |) z
  932. ; http://php.net/date.sunrise-zenith
    , C% j3 v. h0 ?- Y/ g+ D) O
  933. ;date.sunrise_zenith = 90.5833338 ?' i- \" e6 r' d
  934. 5 ^' ]$ i: b9 I, ~  M
  935. ; http://php.net/date.sunset-zenith
    0 k/ u, X) E2 \( }) E
  936. ;date.sunset_zenith = 90.583333
    * W, v8 T% U: Y0 o3 |' B
  937. # ]' h% z9 p4 [6 {# u/ m  A
  938. [filter]0 t. ?( L. P: t* S# L+ n5 J  k
  939. ; http://php.net/filter.default! [6 o' E9 q" C2 j! v6 b. g. g& m: `
  940. ;filter.default = unsafe_raw
    0 h/ E7 b% a" j+ {+ c

  941. / A6 l# L$ V7 V- `" }4 ^. g
  942. ; http://php.net/filter.default-flags# |5 \3 }4 t# k) _( b4 S
  943. ;filter.default_flags =
    & Y" L$ q5 S* C- @2 ?2 ?9 d. N
  944. + {# \3 h+ q9 V" G9 \
  945. [iconv]( ^# ~3 G/ T% H
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    * W5 C  y0 [/ B* o+ d
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    7 z* Z- S6 M( D1 ^% c
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding: Y: |% Q. y0 D% V1 G
  949. ;iconv.input_encoding =
    % W( o2 E* A5 ~& w, C! T9 S9 E

  950. 1 G" P4 v/ Z" k! h
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    3 f# i* i* n- M8 L
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    % p7 E, z3 r/ B) N2 z  a
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding1 Q: E# {( o' ~/ J
  954. ;iconv.internal_encoding =
    , R( g$ k* @# I  r* D
  955. - T! T7 t9 |# b
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ! g8 k  f7 T3 T+ M
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.1 {5 q; U1 u  \1 n! O0 R
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding7 @' p2 i1 Q2 Y* L- ?, V: r, T
  959. ; To use an output encoding conversion, iconv's output handler must be set" C( ^6 z* p: D1 E/ \, v
  960. ; otherwise output encoding conversion cannot be performed.
    ! ]3 T& t: h. e- N5 C( Q) P
  961. ;iconv.output_encoding =
    ; L5 h+ T% J3 k. H& T# S
  962. : |6 Y9 T; J- w2 p
  963. [intl]
    , `/ k$ E, b7 {7 e5 y" j. ]
  964. ;intl.default_locale =
    6 D/ J1 ?$ d# R2 X9 T% a& X" O7 ~
  965. ; This directive allows you to produce PHP errors when some error4 U& q; v  W; i9 S7 Y
  966. ; happens within intl functions. The value is the level of the error produced.
    7 d6 W4 J! l5 V  p
  967. ; Default is 0, which does not produce any errors.& b& ^! D7 ^+ l5 U
  968. ;intl.error_level = E_WARNING5 P0 R+ L+ L+ Z
  969. ;intl.use_exceptions = 02 x6 k8 C! n4 h  F4 G; {2 G4 N* f% c
  970. ; ~) G) h2 ^7 B3 B3 c: T% r6 U
  971. [sqlite3]
    - q9 x+ k' x0 @. Y$ E3 [' y
  972. ;sqlite3.extension_dir =
    % Y! M; {# G  B  v+ e

  973. ! {9 B* k+ g& G6 T$ ^
  974. [Pcre]
    8 |6 D3 p& ^/ w
  975. ;PCRE library backtracking limit.
    ( R9 A: Q9 U( B+ Z; K) z
  976. ; http://php.net/pcre.backtrack-limit$ g6 L" t$ i" U: X/ T1 |
  977. ;pcre.backtrack_limit=100000
    9 v2 Y# Q6 U3 I
  978. 3 w* K' o$ C% c1 R
  979. ;PCRE library recursion limit.- a: A3 P2 t$ V, F
  980. ;Please note that if you set this value to a high number you may consume all
    # U: l& U1 u: W
  981. ;the available process stack and eventually crash PHP (due to reaching the0 }# Z- Y' d) g) X6 Q
  982. ;stack size limit imposed by the Operating System).
    , [- C' Z' e0 I+ [3 k% o
  983. ; http://php.net/pcre.recursion-limit
      c  h4 T  |5 C6 }
  984. ;pcre.recursion_limit=100000
    2 z% {6 q, [- l, h
  985. 4 d: x5 @8 k$ i3 n8 D
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE9 b3 n" ]$ m' F- R+ M
  987. ;library to be compiled with JIT support.
    ; N$ k, R3 w& p) n7 r) {9 ?1 W# D
  988. ;pcre.jit=1
    ) f* X0 Q0 d1 O. s( F% N7 K6 `; H

  989. & g+ G# A: [1 P7 m, M1 |) W
  990. [Pdo]. e5 @; o; N& B
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ' [: b" r  `- s2 W6 e
  992. ; http://php.net/pdo-odbc.connection-pooling
    7 J7 J0 ?6 n: ~: k# Z& Q: {
  993. ;pdo_odbc.connection_pooling=strict( y. [/ w/ h" F/ U9 v

  994. % S1 b' d+ U  @
  995. ;pdo_odbc.db2_instance_name
    . G! Y3 O% |2 n7 I
  996. ( y8 r1 v' E0 x* L- A: [, W# O: I
  997. [Pdo_mysql]
    . v: S1 e' j5 U, q( M
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache* E3 Q2 p  {- h' y( @
  999. ; http://php.net/pdo_mysql.cache_size
    3 c( E" x' R$ J: t, T  S; [: |
  1000. pdo_mysql.cache_size = 2000
    6 y3 t8 W4 ~, D
  1001. 3 o& m! d# U% ?
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in; |  o+ z- y8 y: m
  1003. ; MySQL defaults./ Q0 W( |* L, X# N. O
  1004. ; http://php.net/pdo_mysql.default-socket
    $ y" }. b% n- ]
  1005. pdo_mysql.default_socket=. i$ [4 e3 m4 X* X- Q) W

  1006. 9 h! y3 a1 v0 E5 h
  1007. [Phar], e2 F" s' J- _+ S+ N/ C. P
  1008. ; http://php.net/phar.readonly3 _" `* ]) Z3 {* C( b0 M
  1009. ;phar.readonly = On
    & L) A* J; a  H. o3 |; T1 K0 I
  1010. ( g5 ]5 ^. U9 u1 [7 H  P* s
  1011. ; http://php.net/phar.require-hash. ]- D4 D4 h0 K6 H
  1012. ;phar.require_hash = On8 @7 D1 ?+ ?8 k6 W. A$ l

  1013. 5 D# R% p! Q- `$ x8 N! s
  1014. ;phar.cache_list =
    1 y" n; j- m1 r7 W
  1015. 1 }0 o( \6 ?/ \6 o3 D! l
  1016. [mail function]
    ) u! a- U  M/ h) @$ \8 w
  1017. ; For Win32 only.
    " S- v3 e3 N0 x& t5 J
  1018. ; http://php.net/smtp1 o: |2 Q6 A, i4 e+ b
  1019. SMTP = localhost+ a5 V) p6 u/ `- h$ i# E
  1020. ; http://php.net/smtp-port
    ( `% V9 E, r2 R% s# v! ?
  1021. smtp_port = 25) S6 {" h: ^9 A7 Z' T2 N

  1022. 4 V, [) f  f+ ~" Z2 P
  1023. ; For Win32 only.
    / \6 l0 f" ^" r+ y/ f
  1024. ; http://php.net/sendmail-from! c5 C+ q1 e: I0 a
  1025. ;sendmail_from = me@example.com  w9 H0 {1 C% e3 H2 K3 J
  1026. & G9 p- h0 ^- o+ ]' X6 j" U, t; B) r
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").( p( Q6 F9 z! X
  1028. ; http://php.net/sendmail-path
    6 b" U' n) V8 q
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    ; l1 d& n# k. T

  1030. + M! {8 G" t( ^$ V9 [* U: n8 w9 {  p
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    ' c& X% @3 Z1 g. Q5 Y/ o
  1032. ; to the sendmail binary. These parameters will always replace the value of
    1 v# l5 q1 N( N( \
  1033. ; the 5th parameter to mail().; P2 i7 w5 k4 [* ~2 h
  1034. ;mail.force_extra_parameters =, ?* ?5 @) M' X5 k) n/ f
  1035. 7 M* g; W) Y# ^% v4 @4 w$ i
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    7 F" M+ q2 q0 _7 J" l3 |! c% l" @& j
  1037. mail.add_x_header = On* h% U: E. X5 k7 B, c- I: @

  1038. 4 O$ o+ R- W3 T
  1039. ; The path to a log file that will log all mail() calls. Log entries include4 k  `7 N- ~! q* s; o5 W
  1040. ; the full path of the script, line number, To address and headers.
    7 e* \/ O4 R5 o% L+ b8 p
  1041. ;mail.log =' _6 e' P- a5 i# a; ?: z
  1042. ; Log mail to syslog (Event Log on Windows).* f+ Z  y+ Z/ b5 M
  1043. ;mail.log = syslog7 ~( j) g7 w8 G9 g5 H. `$ k

  1044. 9 b1 Z% @% P% {+ L0 a5 d
  1045. [SQL]
    / n, b  {; n( X  ]& l5 w0 J
  1046. ; http://php.net/sql.safe-mode3 Z6 Y1 i2 p! l1 R
  1047. sql.safe_mode = Off& [( R/ A( J" l; {* o8 g! Y0 x

  1048. . ?- n- O7 o( I5 f; I+ r! t
  1049. [ODBC]9 _' S3 C  r: ^/ j! @' w1 R
  1050. ; http://php.net/odbc.default-db3 z# y' u6 E' ?+ f8 U- @% t* r
  1051. ;odbc.default_db    =  Not yet implemented
    & U0 x+ A+ L* O5 `: b

  1052. & p% y* ~" E/ }& `: h' U0 f
  1053. ; http://php.net/odbc.default-user
    7 s7 g( M/ I) [) G8 I% _/ t& x
  1054. ;odbc.default_user  =  Not yet implemented) B( H6 l$ k$ {1 [3 Q: W8 S

  1055. ! l+ Z% C; t+ M( `" X3 o
  1056. ; http://php.net/odbc.default-pw) n0 T/ ^4 i6 j* r/ K" E. ?
  1057. ;odbc.default_pw    =  Not yet implemented$ s1 l0 s: }9 B/ d
  1058. 5 K7 g/ G! {* L8 R, F$ x
  1059. ; Controls the ODBC cursor model.
    + j: q; I0 D2 [$ i* N: Q, Q. U8 c
  1060. ; Default: SQL_CURSOR_STATIC (default).
    $ F$ J/ t' F: `4 c4 P7 Q% Q/ z
  1061. ;odbc.default_cursortype
    8 u( D2 d8 T0 k2 q" c

  1062. 2 M8 ]% O+ v; N/ r/ ~6 p' D3 V$ \  B* c
  1063. ; Allow or prevent persistent links.
    8 m; r- {" d  x! k5 @' ?* q. b
  1064. ; http://php.net/odbc.allow-persistent
    6 ^1 r( q, l0 J+ u! V/ d# T
  1065. odbc.allow_persistent = On
    3 T/ n& \0 g: i" e7 J0 Q

  1066. . P! z- E# W7 p/ x6 z5 S, s
  1067. ; Check that a connection is still valid before reuse.) j; w3 Q: O; _) S4 c2 T
  1068. ; http://php.net/odbc.check-persistent/ `5 h  T$ A; v
  1069. odbc.check_persistent = On
    " A3 N0 r# E9 w# t& f* z% V& K# S: k
  1070. . r, W* S( i: a
  1071. ; Maximum number of persistent links.  -1 means no limit.  D7 J+ x6 a& S! i* G/ M
  1072. ; http://php.net/odbc.max-persistent$ k; ?9 j: f. b9 s( V. ]
  1073. odbc.max_persistent = -18 ?/ ]9 o3 y" p# m, j
  1074. 2 Y% u, V# n* H5 I* g( a% H
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.$ j4 q/ P  }# B& {: J( @5 p
  1076. ; http://php.net/odbc.max-links2 p/ O, b* _/ p# \& s: A: }. i
  1077. odbc.max_links = -1+ Z6 O, b  Y3 f+ f& R6 B! e! N* I
  1078. 0 _3 Q3 \; k# n' Y0 ^3 M5 E! b7 n
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means  V( G0 U9 T- F8 g8 ?( T; f
  1080. ; passthru.; `4 E: m* w7 v' Q
  1081. ; http://php.net/odbc.defaultlrl
    ) |% {& W8 X% @' R
  1082. odbc.defaultlrl = 40969 c; W" y" n2 l/ }
  1083. * X% A9 P7 M) Z2 c" H7 @9 f
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.+ p. O8 x" i& d( d- E8 T% W" @+ ?% h8 h
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    7 D6 O7 n- K  @* j& U
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode+ z( i/ M5 @$ Z4 K2 N  \; I
  1087. ; http://php.net/odbc.defaultbinmode
    7 o# \) e& b8 r' ^/ c
  1088. odbc.defaultbinmode = 1
    ; {6 x  T+ R+ r  k0 E

  1089. 8 O( B/ Z7 F+ F$ j4 o! t- G. [: ^, f
  1090. ;birdstep.max_links = -1
    1 r  P1 [2 }1 L  Q3 g7 z- v/ l3 C; L

  1091. ' a1 F+ Q7 r, b: p# a+ M% H
  1092. [Interbase]
    2 {9 i8 B2 @/ I; g
  1093. ; Allow or prevent persistent links.1 P9 H+ ^# M$ r% Q, E. B2 x+ h& h
  1094. ibase.allow_persistent = 1! C4 P* A1 x8 O3 e! l# S- v
  1095. 2 {1 p! q$ [$ _" G
  1096. ; Maximum number of persistent links.  -1 means no limit.
    / m6 N0 H4 q: Q4 a' T/ `1 ^
  1097. ibase.max_persistent = -12 ?1 w! E8 y- |1 Y0 M. u$ s7 ~

  1098. 3 V0 d  k) A# t$ Z' N
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.+ k+ A5 U5 J! W) E, c4 Y% X
  1100. ibase.max_links = -1) K3 Q5 C5 F5 Q3 ?1 x0 D

  1101. ' {; N, ]* b2 O$ e, p
  1102. ; Default database name for ibase_connect().# \6 L6 Y( o" ]
  1103. ;ibase.default_db =1 I6 ^) L, d3 R
  1104. ' @3 g+ P. l# F, v( X# U! F3 N
  1105. ; Default username for ibase_connect().
    $ _$ W4 l, Q' r: L
  1106. ;ibase.default_user =
    % x. L& R6 W0 a. c: c

  1107. & I3 W( @- g6 n$ q: ~! }+ p
  1108. ; Default password for ibase_connect().. j! s! L! z% ?9 L
  1109. ;ibase.default_password =
    5 s) \: L% Z2 X# n% i, J
  1110. ( k2 m( K+ v2 x! [5 ?
  1111. ; Default charset for ibase_connect().
    ( v8 |$ t9 k* O" R( |
  1112. ;ibase.default_charset =
    ' f6 k* q, l9 i% M  G

  1113. , K" C" s7 ^+ J; P, p6 B$ O- p
  1114. ; Default timestamp format.
    6 c8 w' o0 V9 B
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"6 \. H0 m5 l& t1 C: x

  1116. . A# h, n& f8 G6 x
  1117. ; Default date format.! g, D; Y3 x' y/ o
  1118. ibase.dateformat = "%Y-%m-%d"' a. F; D$ C, n1 X3 `4 o2 K* g2 H

  1119. 2 _3 {! I" `8 ~3 O
  1120. ; Default time format.- j9 f; S) k5 r( G- [
  1121. ibase.timeformat = "%H:%M:%S"
    - ^7 }3 ]$ Q8 \* Q/ e
  1122. 9 ]: `. E! {5 C6 }) e9 [* E
  1123. [MySQLi]
    & z, ]" l/ f$ L5 W, O8 L* A" d

  1124. + v; }: E( }# Z! f2 W+ @  E, ~
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ) b: ~% R* R. k3 R
  1126. ; http://php.net/mysqli.max-persistent) }; w! a$ _7 q0 K
  1127. mysqli.max_persistent = -1
    8 F: V) c5 s- y* r3 `" I
  1128. 1 r* }- e3 i* v
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    " d( q/ P' k, O
  1130. ; http://php.net/mysqli.allow_local_infile
      C* I; t' o1 U5 a; Q3 {4 ~
  1131. ;mysqli.allow_local_infile = On; u, E, W; p! G' B

  1132. # J$ i7 U. N7 q2 J) n  e7 \6 R
  1133. ; Allow or prevent persistent links.2 C8 B+ L# w. s% j
  1134. ; http://php.net/mysqli.allow-persistent: S/ E4 O: J$ z5 X, |
  1135. mysqli.allow_persistent = On# E& p) m/ {* O$ ?& n& a4 {' e

  1136. 2 o# U- i# P/ L. q1 g' Q
  1137. ; Maximum number of links.  -1 means no limit.( a; E; q) u4 Q) R: P
  1138. ; http://php.net/mysqli.max-links' R: ]" c6 C; X- n0 ?9 E! S
  1139. mysqli.max_links = -1
    ; S6 U5 Q% h* ]& |; E) a
  1140. 9 ]8 s% P+ B8 ^2 y+ \6 `
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    . S+ D& o7 W0 t$ A; M( r; p* }
  1142. ; http://php.net/mysqli.cache_size# h: @# C% Y* g/ S3 H
  1143. mysqli.cache_size = 2000- k" y) I" }# |$ @2 {# s

  1144. - i9 i5 @" k/ d$ f: X! T! K
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    + n4 A3 c% G3 Z  ?
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the" g9 w/ ~& w" D( C! E% M1 j) m) ~7 j
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
      @4 Z' u  Y- M, m, O* `3 [
  1148. ; at MYSQL_PORT.$ x$ V# R3 V/ C
  1149. ; http://php.net/mysqli.default-port
    8 o5 N: C. M# p5 {' T: }
  1150. mysqli.default_port = 33066 ~* E2 S% P7 p4 f1 c

  1151. 1 @' {: t1 e; `8 M2 y
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    % ~9 u" _1 Y0 H: q
  1153. ; MySQL defaults.9 g, M, x6 R3 C, H/ y: d+ z
  1154. ; http://php.net/mysqli.default-socket
    7 i7 e# G, |& d1 d4 j! |% @
  1155. mysqli.default_socket =1 x+ w: R  c: `9 E' O

  1156. ' w; ~* |! k- V  L
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).+ F1 _$ @3 ]+ s
  1158. ; http://php.net/mysqli.default-host4 c4 C5 }$ J( ^- B
  1159. mysqli.default_host =# D5 c% A/ i& [( }- Q" L& u3 N
  1160. 1 K5 I. d; P9 B/ C
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode)." ?, g# }/ m3 {# S
  1162. ; http://php.net/mysqli.default-user% v) x% l* {' J
  1163. mysqli.default_user =2 h7 q. q4 ~5 |5 z/ z. q' J/ K

  1164. " l5 @5 K" p2 ^
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    2 f6 t& g8 z2 S
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.4 I  H, Y2 c' ?: d( C
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")" x/ Z6 v5 Z. A3 _! ^" r
  1168. ; and reveal this password!  And of course, any users with read access to this( q% h; Q4 F, U# }
  1169. ; file will be able to reveal the password as well.
    ( ^2 v: o% d  n0 g6 U" f9 o& U
  1170. ; http://php.net/mysqli.default-pw, h2 C1 n, |$ o7 y- h6 A
  1171. mysqli.default_pw =4 ], C6 c$ f! |0 M9 |
  1172. . E; k: e" {. t3 N  J- K! g
  1173. ; Allow or prevent reconnect
    9 K$ _& {$ \4 x2 p" C' [
  1174. mysqli.reconnect = Off7 ]/ y9 u& |, T2 [1 ]" K5 g
  1175. " ^3 Y+ V0 y. h% V  J! L. u7 X, s$ J5 c* M
  1176. [mysqlnd]
    9 o5 A& P' L* N, @0 B+ m$ P
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    7 T( i5 t7 N& }& g! ~; p
  1178. ; used to tune and monitor MySQL operations.+ g. V/ t9 o: E6 y. o
  1179. ; http://php.net/mysqlnd.collect_statistics
    . m# Y. ?! M0 x/ T% V" G
  1180. mysqlnd.collect_statistics = On
    3 G" V- ^% N/ A  C. p+ ?1 ~" S

  1181. $ T* E- H! F$ V  A9 j! I. t
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be' _3 b- ^; n9 }  a0 R6 A# B
  1183. ; used to tune and monitor MySQL operations.
    , h! A; T# Z% c
  1184. ; http://php.net/mysqlnd.collect_memory_statistics: x, d% Y, I2 u0 I- l3 r/ I* X
  1185. mysqlnd.collect_memory_statistics = Off& T" L8 e0 g* ~7 t. n0 F: b
  1186. $ w8 z4 d7 L) w, ?! c" R8 x. G
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    4 x, s9 |% c& ?- I
  1188. ; file.
    1 L8 a9 U, s% h0 x6 v4 x' N
  1189. ; http://php.net/mysqlnd.debug9 l, m3 |, s% X) v0 J" r+ t
  1190. ;mysqlnd.debug =! Y, o% n* X( t1 F$ Y! m
  1191. # i. u; f# |' [& b  N
  1192. ; Defines which queries will be logged.
    ( h2 z' _6 x* t3 u3 Q: G
  1193. ; http://php.net/mysqlnd.log_mask
    8 T) f- E. F# v3 j( g
  1194. ;mysqlnd.log_mask = 0/ `$ t1 m/ ~: H1 V
  1195. 1 K' h! C. b4 }) B
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    , h. v: g; W- y; |& Q& g
  1197. ; http://php.net/mysqlnd.mempool_default_size
    9 D8 t6 p6 P- L) G7 v+ }! }9 r- i
  1198. ;mysqlnd.mempool_default_size = 16000
    5 D4 [( `9 D( i- F8 K% R

  1199. ) b) G% m$ G7 f& x/ K
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    1 M+ L0 i1 _" d! A' [7 a
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size3 j% v& j6 _5 A; z7 B5 x
  1202. ;mysqlnd.net_cmd_buffer_size = 2048- m" ?/ N/ ~. `4 y7 K/ h

  1203. & P3 o9 E1 g$ b# A- k5 Y
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    , a6 k+ Y5 E: u6 l& g7 X9 O6 m
  1205. ; bytes.2 m& j+ ~2 }& N
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    : u% F* l: J  W2 I$ y. Z7 x2 I
  1207. ;mysqlnd.net_read_buffer_size = 32768
    & H. o- H& H( ^

  1208. " |+ S8 y) u% Z) e
  1209. ; Timeout for network requests in seconds.3 Q! q% k1 C4 Q
  1210. ; http://php.net/mysqlnd.net_read_timeout
    $ K& ^# i/ d# @6 V  n# z7 ?: X
  1211. ;mysqlnd.net_read_timeout = 31536000) @( J7 o# L* R5 Q6 R4 Y

  1212. + O( h, w5 n; z" r8 Q! [
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    9 u7 m  \6 x+ j
  1214. ; key.1 L; b1 r8 h( ~7 Z  q! [& Z
  1215. ; http://php.net/mysqlnd.sha256_server_public_key% f! u( D$ |' x# u% l! X
  1216. ;mysqlnd.sha256_server_public_key =7 I3 D* F7 T+ {

  1217. 6 [3 B& f: I, A# k; H4 A
  1218. [OCI8]
    ! j) D- _0 c. e& }% @
  1219. 7 a3 Q  g/ Q8 I- d2 k% I8 t7 Q5 E
  1220. ; Connection: Enables privileged connections using external
    : g0 \& b) H. N  ]
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA): @" g$ u( ?3 V
  1222. ; http://php.net/oci8.privileged-connect
    . _% k- s; L1 o6 v; H
  1223. ;oci8.privileged_connect = Off
    6 n( @" ?2 J+ F. Y$ B

  1224. 5 S% e" f6 ?# k# d' ?* L
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    5 Y. c" Q+ U0 k
  1226. ; process. Using -1 means no limit.0 |; N' G& |) |% b5 B2 E8 Q
  1227. ; http://php.net/oci8.max-persistent
    $ i' W" S( |' ^. H# x. @3 \0 m6 w7 k
  1228. ;oci8.max_persistent = -1
    % Y6 m* w2 \  w; m. P5 h" F
  1229. 2 j; q% b  A5 L+ L
  1230. ; Connection: The maximum number of seconds a process is allowed to5 w( K* t9 T6 B
  1231. ; maintain an idle persistent connection. Using -1 means idle: y) Q% ^* P# D* H& k. R
  1232. ; persistent connections will be maintained forever.- B# `* v7 r6 P% d" o( H% I0 p
  1233. ; http://php.net/oci8.persistent-timeout
    ; _/ {" H! y" R, H
  1234. ;oci8.persistent_timeout = -11 b+ p& r6 R0 a" ]( l" K" E
  1235. % \$ o# g1 R3 e8 a9 ^% r
  1236. ; Connection: The number of seconds that must pass before issuing a
    ' s) S& P' C/ r5 U! l: _
  1237. ; ping during oci_pconnect() to check the connection validity. When
    " I% B  ?0 E. H: S1 `" }& Y9 y5 r
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables- U$ p$ J( ^, U) V) ~
  1239. ; pings completely.7 k) \6 j. v5 }2 r7 h; d9 f
  1240. ; http://php.net/oci8.ping-interval1 T  B/ F4 k" O2 J9 v- f. I
  1241. ;oci8.ping_interval = 60+ c4 r' [. j" Y6 E* U

  1242. 7 W4 J2 i" L0 t( ], j0 r- y" g3 ]
  1243. ; Connection: Set this to a user chosen connection class to be used5 ]( e( h4 _" ^8 I+ `% o0 b% r
  1244. ; for all pooled server requests with Oracle 11g Database Resident- b- X2 E& J8 [) r. [+ Z( @
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    8 y, Y: x$ g" {0 j
  1246. ; the same string for all web servers running the same application,) X/ x7 j' r; N. o6 [. N* N
  1247. ; the database pool must be configured, and the connection string must& r/ i0 @3 n7 p( m$ G
  1248. ; specify to use a pooled server.+ |6 X5 }; }4 X
  1249. ;oci8.connection_class =  Y6 U2 P( ?/ |1 v  J3 r

  1250. ' c5 F2 Z4 U7 d! b
  1251. ; High Availability: Using On lets PHP receive Fast Application
    ) ^' K5 q5 P. a- n, R! D1 N
  1252. ; Notification (FAN) events generated when a database node fails. The0 _. M5 P9 M0 }3 f5 A
  1253. ; database must also be configured to post FAN events.$ s0 |' |" w% ~$ ^0 N2 a8 a1 s: ?
  1254. ;oci8.events = Off8 ~9 B. P& U0 o; c8 l+ _( C

  1255. / ^$ h1 q6 n4 I: s, `
  1256. ; Tuning: This option enables statement caching, and specifies how
    * X& B# [4 f9 p( P" z# h
  1257. ; many statements to cache. Using 0 disables statement caching.% V2 U5 o2 d7 s+ L; i
  1258. ; http://php.net/oci8.statement-cache-size! V) l* E! c+ Q8 r2 O  P7 r
  1259. ;oci8.statement_cache_size = 205 f: h; e; t5 K3 z/ t

  1260. % h$ Z, M$ ]! t2 u! e
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    8 i+ f3 a* x; G
  1262. ; rows that will be fetched automatically after statement execution.
    8 t) B9 S. w2 o8 }- @* c/ G
  1263. ; http://php.net/oci8.default-prefetch
    , C0 N; |/ E1 w. ]
  1264. ;oci8.default_prefetch = 1005 z- T! s; c* L- ~/ N: Q! x

  1265. : j2 u3 |9 ~4 ~" E5 ]/ Z1 b: s
  1266. ; Compatibility. Using On means oci_close() will not close9 I: \0 X) {; p/ @5 P+ }0 \
  1267. ; oci_connect() and oci_new_connect() connections.
    # U- T. M" d* d- c- A
  1268. ; http://php.net/oci8.old-oci-close-semantics
    6 B; r3 U. f: f# B0 ?
  1269. ;oci8.old_oci_close_semantics = Off8 \9 {7 w" Y# A( r3 J; s

  1270. " B! x- B9 E1 ?, H
  1271. [PostgreSQL]
    " _0 h& c0 Q+ w( L3 x- E
  1272. ; Allow or prevent persistent links.- k5 |( z+ m# J; }& ^9 x
  1273. ; http://php.net/pgsql.allow-persistent
    ' b! `; o8 c) k$ Z6 a. T
  1274. pgsql.allow_persistent = On% a& V( M) b/ K6 \0 e, l: |& B$ A
  1275. 4 ?7 @5 f* ]' N
  1276. ; Detect broken persistent links always with pg_pconnect().
    % R. r0 A6 e. ]0 B# @
  1277. ; Auto reset feature requires a little overheads.2 I% F8 z5 d9 w: ^) j  S4 D+ Z
  1278. ; http://php.net/pgsql.auto-reset-persistent( j/ v- J3 m" H) U" N: ^. g" d
  1279. pgsql.auto_reset_persistent = Off. w% D/ z+ r  D& H, M

  1280. 8 S, M; |! k0 h' H- v: }' u4 q
  1281. ; Maximum number of persistent links.  -1 means no limit.
    ( `, Z; n- x4 m# n# r7 {
  1282. ; http://php.net/pgsql.max-persistent
      R1 L. O$ d3 z; m
  1283. pgsql.max_persistent = -19 @( r: ]% e# d1 |+ {  Y7 B

  1284. 0 s9 P6 o  f7 z6 Q! ?8 `( r
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    - E+ R$ d( X; t4 f
  1286. ; http://php.net/pgsql.max-links
    & R: F0 {9 U2 n
  1287. pgsql.max_links = -1  H% q, _. x2 M% O+ x
  1288. ! h0 M6 r8 K9 T
  1289. ; Ignore PostgreSQL backends Notice message or not.% G9 |/ ]7 t( S
  1290. ; Notice message logging require a little overheads.1 u$ u6 l; k% S1 o4 C! `4 A5 G
  1291. ; http://php.net/pgsql.ignore-notice2 h6 E6 F/ q2 ?% N; b
  1292. pgsql.ignore_notice = 0
    8 @: {  d, F, p0 N+ b' b! d
  1293. ' p3 s0 ~2 u+ s
  1294. ; Log PostgreSQL backends Notice message or not.) \% d) I% E8 k" u# g
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.$ N6 L" Y% B6 q( F4 F0 v, {. j
  1296. ; http://php.net/pgsql.log-notice
    + v) H/ f' N: b) u+ j; {; r6 x: T
  1297. pgsql.log_notice = 0
    0 M0 [  W9 {6 s8 X1 f
  1298. 2 E) c6 R* d4 [2 b9 a
  1299. [bcmath]6 [8 H( Q# s+ H  x9 f+ H
  1300. ; Number of decimal digits for all bcmath functions.4 C- ?! H# \, o7 Y# D2 q
  1301. ; http://php.net/bcmath.scale. y+ U7 x" d# ^: D$ `
  1302. bcmath.scale = 0& g6 q3 ~- B% b7 @9 Q7 I" L

  1303. 9 m9 F: h1 \- `& J3 J" w
  1304. [browscap]: [4 [( g6 D. W* B. @, B
  1305. ; http://php.net/browscap
    0 f* L, n6 d5 I, C! @0 }! x
  1306. ;browscap = extra/browscap.ini3 i( |" [4 ~) K# H1 H2 C4 p

  1307. / Q( R7 s# N0 u
  1308. [Session]5 B" P% [* a, Z4 ~, c1 x
  1309. ; Handler used to store/retrieve data.
    ( T" [: n, C5 t' y) s. k. g
  1310. ; http://php.net/session.save-handler
    ; F  X! z. _( o
  1311. session.save_handler = files
    - a' G( j, p: m  X" Q6 k

  1312. ) f; c- m- k: H: Q
  1313. ; Argument passed to save_handler.  In the case of files, this is the path2 M/ ^+ [3 \! `. J7 h
  1314. ; where data files are stored. Note: Windows users have to change this
    1 Q9 v: y" s4 C! G
  1315. ; variable in order to use PHP's session functions.
    8 Q3 I9 z' x) b7 t
  1316. ;" i& s/ o) h5 H
  1317. ; The path can be defined as:
    * h. X3 r0 K9 ^; D+ @
  1318. ;. T7 `* y8 |9 n' T& n/ A
  1319. ;     session.save_path = "N;/path"
    ( a9 e8 u. k: T2 |! y
  1320. ;2 [# M5 @. V3 ~7 ]6 ]7 Q* R$ o
  1321. ; where N is an integer.  Instead of storing all the session files in
    4 p; Z; _* e' p0 C& R( {5 d. N/ y
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    ; W2 R6 v7 m. d& r
  1323. ; store the session data in those directories.  This is useful if
    - L, m  F; v* \/ J) J7 w
  1324. ; your OS has problems with many files in one directory, and is
    7 n+ _7 N5 I8 l" \: A
  1325. ; a more efficient layout for servers that handle many sessions.
    : d$ t1 }5 X* h  ~4 A& d( ~
  1326. ;
    $ ?+ ]: ^0 [: Y
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    ; |. h1 w3 r  J" R. S3 G
  1328. ;         You can use the script in the ext/session dir for that purpose., X( N8 s* t5 g$ z
  1329. ; NOTE 2: See the section on garbage collection below if you choose to; R" s" j$ C% y/ O2 s6 {
  1330. ;         use subdirectories for session storage) P; f- G8 v. i; \' [
  1331. ;+ r: l$ R0 c3 c" \3 W8 ]5 S' c
  1332. ; The file storage module creates files using mode 600 by default.& e9 S1 k/ W' ~2 ?; b1 P$ l- Q
  1333. ; You can change that by using
    ( e9 v/ P( h0 E
  1334. ;% l8 Q0 X) ?. t! X9 }7 s1 ]5 ?  n
  1335. ;     session.save_path = "N;MODE;/path"5 s9 i: X! E% x. r/ |( b- c
  1336. ;; A/ k6 ?" _$ v# K
  1337. ; where MODE is the octal representation of the mode. Note that this
    9 z! {4 ]# q" X' x
  1338. ; does not overwrite the process's umask.
    / Z+ x/ H3 @" z5 f5 `! }  a$ x3 C, g
  1339. ; http://php.net/session.save-path
    3 R% l; v4 U. \9 i- B
  1340. ;session.save_path = "/tmp"
    7 D# o7 t, o" {2 k$ i5 @9 s7 Y
  1341. 9 d2 B0 ]+ G7 t! m  z
  1342. ; Whether to use strict session mode.# j& |, q. ~, E9 C
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate4 y, x) G4 n$ U7 a' p# [( ~
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects! c0 F1 C* }! ~- b
  1345. ; applications from session fixation via session adoption vulnerability. It is
    % D( a5 `; s& G0 W
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.+ {$ M5 h' j9 r
  1347. ; https://wiki.php.net/rfc/strict_sessions9 S5 A6 e7 A; c1 m' S
  1348. session.use_strict_mode = 0
    , a; f$ Z0 E. {  W, J

  1349. 4 ^$ H; ]7 H6 i
  1350. ; Whether to use cookies.
    % I+ {6 k7 s0 }; n. ]
  1351. ; http://php.net/session.use-cookies
    ! W* q" \$ a3 `) ], |# G* }9 u) C
  1352. session.use_cookies = 1
    ; B* V. H, T: h

  1353. 1 g* F7 [( v4 B' `6 c/ }2 v! C
  1354. ; http://php.net/session.cookie-secure
    ) E: B/ x) e; Y; x% r% Q
  1355. ;session.cookie_secure =
    + B7 ^$ w# F# M$ Y
  1356. 6 h" D) q9 M4 Y% ^5 s# f5 Z
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    8 R1 F; o8 [% g4 l: [6 o
  1358. ; the session id. We encourage this operation as it's very helpful in combating1 U3 J) t; t5 `) `* M2 Z
  1359. ; session hijacking when not specifying and managing your own session id. It is
    $ @8 g& M- b$ H+ u
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    8 }+ ?+ o1 O% Y+ q3 d
  1361. ; http://php.net/session.use-only-cookies
    " V: h- j7 X& e7 m3 ?8 K$ f5 u
  1362. session.use_only_cookies = 18 Q: d9 j( P; ~! J
  1363. , _# J" @( k; s5 W. `  m/ Q; @
  1364. ; Name of the session (used as cookie name).
    8 U9 `# z: [4 R: A" z$ ?9 T4 Z
  1365. ; http://php.net/session.name
    & P* f4 j; p# M& `2 s
  1366. session.name = PHPSESSID9 N6 X4 a! s0 C. y$ g% F2 L
  1367. * c$ d) I! r  g1 D( c5 A$ w0 W
  1368. ; Initialize session on request startup.- G" ]- `) m* j7 e9 u/ j
  1369. ; http://php.net/session.auto-start' Y. V: q9 Q! X
  1370. session.auto_start = 0
    ( V8 [* D, Q) Q" i" X" v1 }; t
  1371. , Z% l9 w2 }0 @- L4 V& E4 L9 x, @
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.. Y* d& H# _% R6 k2 F* F' m
  1373. ; http://php.net/session.cookie-lifetime0 C" E+ l; c* R
  1374. session.cookie_lifetime = 02 ]. g2 u. ?3 ], `
  1375. / F# U; ~& y% f
  1376. ; The path for which the cookie is valid.
    $ F) w7 }  D/ N* S4 D" o  }
  1377. ; http://php.net/session.cookie-path/ O$ u5 K4 {3 P9 i2 r8 u$ ?
  1378. session.cookie_path = /
    5 U4 @7 U5 n3 |( [- e1 s
  1379. ) I; m) j0 o" F! g3 l+ |$ g( a. V
  1380. ; The domain for which the cookie is valid.
    . d" @" P" }+ _
  1381. ; http://php.net/session.cookie-domain
    ) W( k; v8 `/ h& U( A& \/ L
  1382. session.cookie_domain =3 Y0 p& t& x: W5 F9 t% U
  1383. ! i2 X& E( }% o
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.* T, G5 Y" @' s8 B9 P% r1 D
  1385. ; http://php.net/session.cookie-httponly
      \) }% H* D# y( ?4 w8 d3 y
  1386. session.cookie_httponly =: ~' m$ ?% g, i4 }/ s
  1387. 9 a$ n. J# o% S6 E3 b
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    6 L/ b' J' H: Z9 m- w. S* b
  1389. ; http://php.net/session.serialize-handler
    5 S& A8 A2 D7 u9 Q
  1390. session.serialize_handler = php
    8 h0 ], Z5 T6 |
  1391. 5 \# X4 ], {8 G: W! `. M9 ~
  1392. ; Defines the probability that the 'garbage collection' process is started( o8 h& N" e6 {8 Y7 E
  1393. ; on every session initialization. The probability is calculated by using7 @/ l, Y0 S& @4 k" N( [
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    & n$ u  U7 ~1 w0 D
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    0 R8 I7 h( ]# ?* Q' C; O- z
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    + [1 ~  p* d) d- T
  1397. ; the gc will run on any give request.2 q# W2 y" y" T, R
  1398. ; Default Value: 10 i( L. I# s) F
  1399. ; Development Value: 1  z1 ~; |; d. P( `
  1400. ; Production Value: 1/ `, J, |. F) d4 t9 |
  1401. ; http://php.net/session.gc-probability, ?: V& r, _* q: Z# s. v
  1402. session.gc_probability = 1
    8 N, p( X; w* ?7 w, ^% n
  1403. & n  f. q  u  W  }. @. n
  1404. ; Defines the probability that the 'garbage collection' process is started on every, f) `4 Y1 r" K
  1405. ; session initialization. The probability is calculated by using the following equation:
    # O! o; x2 b+ g  A+ w; u( `% y
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and( e& r, S# `+ y6 p( w  L
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 19 u& T' r+ X5 e) I
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    , ~- b9 D/ {" O2 e
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you$ ^; m+ E# A" D3 M0 V
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ! d1 |% c5 b' D: [: v& [' L+ ]
  1411. ; this is a more efficient approach.
    8 R+ J) t2 i1 h7 G& M+ J" T8 J* r
  1412. ; Default Value: 100
    9 @% Q0 G) C$ h' u
  1413. ; Development Value: 1000+ S9 [4 F3 ^( P' Z- B/ b) O
  1414. ; Production Value: 1000
    2 Q" T- R+ P# w) g
  1415. ; http://php.net/session.gc-divisor
    - ?* D) B0 E5 Y3 ]: M
  1416. session.gc_divisor = 1000- P; y5 ?1 y" @6 Z7 `6 a

  1417. 6 T, p# o0 c2 k; E
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    ( B8 ~3 Y' V/ L
  1419. ; cleaned up by the garbage collection process.( v, L. |" S* t7 s
  1420. ; http://php.net/session.gc-maxlifetime
    + _' l9 C1 ^. |: W7 K& E2 b
  1421. session.gc_maxlifetime = 1440& R; Q: H# O9 w6 j" i* U
  1422. 4 a% W  L3 X, O6 m: _1 h+ |
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    3 F+ F1 J! H7 o+ \, t; z& X9 U% Z
  1424. ;       (see session.save_path above), then garbage collection does *not*
    9 [% i1 h% n) ^: y! R# @
  1425. ;       happen automatically.  You will need to do your own garbage& y" S, B9 D2 N) d; Y) ~' G& p: ]
  1426. ;       collection through a shell script, cron entry, or some other method.# H3 s. R, C4 B, @& w$ e
  1427. ;       For example, the following script would is the equivalent of7 Y  A  @4 M1 w8 r1 I/ Y
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):, R- d% T5 q. X- |
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    5 R; g) V! |5 O3 t( o5 M4 `

  1430.   M1 Y5 ^. E4 H- P* h6 }* n
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    : V- W) W1 N$ h" }, l. h3 s3 u
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    1 z! }) x3 Y$ u; p
  1433. ; considered as valid.
    / {! N' O! ?) @; A
  1434. ; http://php.net/session.referer-check
    : O/ _: k2 p" o% {2 q# h) L
  1435. session.referer_check =2 }( k8 P, `! ~# m8 K

  1436. / s* ~; W0 g. F5 [' s3 k
  1437. ; How many bytes to read from the file.
    # D$ }# T6 }, H/ L
  1438. ; http://php.net/session.entropy-length
    1 ^3 p  c0 H% h7 f# q2 b
  1439. ;session.entropy_length = 32+ B. Q+ d. C. `6 U% H  s+ j: t
  1440. & Y& d/ U; |7 Y' m% m
  1441. ; Specified here to create the session id./ v7 C! T+ J6 [* W1 h7 }
  1442. ; http://php.net/session.entropy-file
    : h" W+ r/ G& D- n6 _7 j+ F) X0 o
  1443. ; Defaults to /dev/urandom
    + R4 B5 {+ v% A( c* Z( E# w& }5 [6 x
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    9 r8 R5 y+ q2 L/ e! H1 Y  S
  1445. ; If neither are found at compile time, the default is no entropy file.
    0 S% A/ @1 W5 x; J, ~
  1446. ; On windows, setting the entropy_length setting will activate the* |9 x/ h6 Z1 E( M! Q& d* x* q
  1447. ; Windows random source (using the CryptoAPI)
    8 O/ Q$ f. B( i# x' F
  1448. ;session.entropy_file = /dev/urandom
    * Z* m' [4 o. d% N
  1449. ' x2 k  u2 V3 w& P9 U" K' ]# {4 I8 {
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects) L0 f) X$ O& _* B5 t
  1451. ; or leave this empty to avoid sending anti-caching headers.+ H, m# f% i/ }1 w7 B
  1452. ; http://php.net/session.cache-limiter
    * L! a& c2 ]5 T# F
  1453. session.cache_limiter = nocache5 X6 I1 O% l, K! x  g' J
  1454. 7 ^! L9 p! H" ^, W( ]' J
  1455. ; Document expires after n minutes.
    + ?7 F. H; h, Q& f- p
  1456. ; http://php.net/session.cache-expire
    $ u# J" g  ]' C  f
  1457. session.cache_expire = 180
    8 I3 g' v0 J# Q7 X$ i0 x
  1458. ! Y6 _/ B0 T. _: F  c7 u$ d* m
  1459. ; trans sid support is disabled by default.
    % w8 D  O; v0 ?
  1460. ; Use of trans sid may risk your users' security.4 K  i; ~) u; ]5 W
  1461. ; Use this option with caution.
    / A4 Z& D! e0 q1 K
  1462. ; - User may send URL contains active session ID# ^+ S) x4 Y% [
  1463. ;   to other person via. email/irc/etc.& I7 u# V3 @+ I* H5 b
  1464. ; - URL that contains active session ID may be stored/ n0 V" Z$ T$ y8 X+ W1 r
  1465. ;   in publicly accessible computer.
    & a( v8 |$ c: G; V. z5 I
  1466. ; - User may access your site with the same session ID
      G) U! [, q! X: B- y
  1467. ;   always using URL stored in browser's history or bookmarks.) \6 }  [7 N. M$ y- N1 V3 C9 R
  1468. ; http://php.net/session.use-trans-sid
      d* [% V: K5 V6 d$ R
  1469. session.use_trans_sid = 0
    ! ?$ P( ~7 Q5 K/ M- h

  1470. ! ^) W9 `4 D6 h9 I+ W5 q. [
  1471. ; Select a hash function for use in generating session ids.
    ) [3 _* z( t! K1 f, Z
  1472. ; Possible Values
    ! |4 E; d# f7 e) C
  1473. ;   0  (MD5 128 bits). a' z7 n9 l7 m0 ~4 g; @" `
  1474. ;   1  (SHA-1 160 bits)
    6 N- \" c2 ~1 X# R1 Y9 Y+ u
  1475. ; This option may also be set to the name of any hash function supported by2 q, j; `4 v# S6 F: {
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    / w9 R; P! E2 i1 n" ~$ J/ ?) b
  1477. ; function.# w  `$ d: d# w, Y+ v
  1478. ; http://php.net/session.hash-function
    * ^7 z6 [+ `2 l% B# w* h. G: f6 `; U# n
  1479. session.hash_function = 0
    ) H5 b8 C, D7 f9 S
  1480. # B2 b0 M" Q3 [- \9 L. H
  1481. ; Define how many bits are stored in each character when converting
      R3 C5 _5 x  S7 D! y. S3 G
  1482. ; the binary hash data to something readable.
    % |( ~- i6 Z$ L6 J
  1483. ; Possible values:1 U; B/ z" \( g
  1484. ;   4  (4 bits: 0-9, a-f)
    1 y( H6 R; V# _6 Y; i
  1485. ;   5  (5 bits: 0-9, a-v)
    7 @0 C. c( B+ V; g$ k* E% I0 o
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ; ?4 n+ i; g; H& C
  1487. ; Default Value: 4
    ' g9 b, @1 B' f- ~5 T
  1488. ; Development Value: 5" ^0 M& S9 Z, A6 y1 n
  1489. ; Production Value: 5
      T1 \9 ]# c0 p! v# c" m' e, K
  1490. ; http://php.net/session.hash-bits-per-character4 c* {/ j& R. k" O+ N1 b
  1491. session.hash_bits_per_character = 5! W0 R, E$ \0 ]; A+ ?) R
  1492. . j3 _! S  i" ^" K: s+ N! l" I+ X
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.; x9 F/ Y# x  x( t5 t  M, r
  1494. ; form/fieldset are special; if you include them here, the rewriter will  }( o) e/ K+ ^2 T1 b% d# X- T& n, l
  1495. ; add a hidden <input> field with the info which is otherwise appended
    " z6 K# C) l7 `
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    & d) J( S% ^  o2 u- G( B
  1497. ; Note that all valid entries require a "=", even if no value follows.; ~" U$ {4 f; Z0 f+ x5 b
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=". x  L1 p0 Y- ^9 h1 D5 P$ C# i/ P7 C
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # v+ Z( B+ x% X7 G( d5 D( K2 \
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 S8 V9 }4 W8 q0 b/ v8 @
  1501. ; http://php.net/url-rewriter.tags
      O$ s; `. p- u6 [- {
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"9 }- q, C9 n/ e7 k, S6 V

  1503. . v* Y, X% O1 v
  1504. ; Enable upload progress tracking in $_SESSION
    " m2 N! y8 G3 r
  1505. ; Default Value: On7 k3 R( J) |" M$ H' U; \, c/ L& E
  1506. ; Development Value: On
    & C; C! D# T' y
  1507. ; Production Value: On
    . ?: R% _; N# ^* }3 j
  1508. ; http://php.net/session.upload-progress.enabled
    - P/ @/ C8 d8 e% ]( d, s4 ~
  1509. ;session.upload_progress.enabled = On2 o5 ?0 R) s( m7 o; w# i0 [

  1510. 8 F: D7 y1 s$ s' i; i. Z* r
  1511. ; Cleanup the progress information as soon as all POST data has been read
    - o) g1 t1 @, P/ k3 }1 b( m
  1512. ; (i.e. upload completed).
    ! C) w  {! t! D4 V/ r
  1513. ; Default Value: On* G, ^, i7 o5 T# q! [' M; I9 @' p. `
  1514. ; Development Value: On
    6 [$ i2 g2 ?$ d" a
  1515. ; Production Value: On3 A- T6 b' |' P# B: v
  1516. ; http://php.net/session.upload-progress.cleanup
    ( K/ W& Y' i" f+ E% e* I
  1517. ;session.upload_progress.cleanup = On
    2 w  h- g* b" S: S6 g
  1518. : ?% J0 ^$ @, |8 w' Q
  1519. ; A prefix used for the upload progress key in $_SESSION* G- a' f& T/ V+ e- A( R# q6 T
  1520. ; Default Value: "upload_progress_"
    2 U6 M( h" V8 l6 F' `2 G
  1521. ; Development Value: "upload_progress_"
    - F1 H3 ]$ q) C/ `  `+ t' [
  1522. ; Production Value: "upload_progress_"
    9 Q( J7 s. f3 U3 s9 J7 ?" c
  1523. ; http://php.net/session.upload-progress.prefix
    ' [( \1 ~0 O" b; A
  1524. ;session.upload_progress.prefix = "upload_progress_"
    + C: z2 [/ \: b: ^9 a

  1525. ( _) V* Q+ p8 P
  1526. ; The index name (concatenated with the prefix) in $_SESSION- _1 `( E4 I$ R  U
  1527. ; containing the upload progress information. `: c; U/ N, y! D) P
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ' G0 W0 W6 N* }# P
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ u1 [5 s0 y# n8 \4 U. b7 u( p
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : K0 d- h; B3 w! @
  1531. ; http://php.net/session.upload-progress.name7 }% x6 b* `8 M& z6 S% A
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ; `  W! e0 H7 y( U% W

  1533. ) w0 ~+ h& ?/ ~) F
  1534. ; How frequently the upload progress should be updated.
    3 }  R3 F2 c* @/ s$ q
  1535. ; Given either in percentages (per-file), or in bytes3 w. F7 C; ]" m$ {( S( f0 B. W; u4 q
  1536. ; Default Value: "1%"
    . r! H# V1 j' {1 A' e
  1537. ; Development Value: "1%"
    & ?9 [& j" B  I2 x, m& B5 B2 J9 h1 k# y
  1538. ; Production Value: "1%"& ]" C( Z; e+ Q) ]1 z
  1539. ; http://php.net/session.upload-progress.freq
    0 c5 Q+ p; B. D2 ~2 L9 d0 L6 q
  1540. ;session.upload_progress.freq =  "1%"! i) k2 N* `6 \" r4 A3 o

  1541. 7 O+ l8 H# k6 J
  1542. ; The minimum delay between updates, in seconds1 I0 u3 M1 R( h2 v
  1543. ; Default Value: 1
    8 y1 s6 Y- A, W: W4 j
  1544. ; Development Value: 1( g8 t. A  g4 P# i: ]
  1545. ; Production Value: 1: M7 i* n+ S; p! D( c
  1546. ; http://php.net/session.upload-progress.min-freq
    , j' R' ~# S, D7 g( y
  1547. ;session.upload_progress.min_freq = "1"# p4 `3 D# T- x# U! [5 h+ W# y
  1548. 0 q( u- t5 o3 i5 }: y3 v- S' z
  1549. ; Only write session data when session data is changed. Enabled by default.$ D4 f  g! O- V4 M+ X
  1550. ; http://php.net/session.lazy-write
    : g6 m) C! A# a, ?9 c
  1551. ;session.lazy_write = On* f. M3 ^' g) r) t- v
  1552. " n& h5 g( ?+ y
  1553. [Assertion]
    : L7 V- `5 r/ k/ p$ @9 P8 @
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    & g4 E/ s: e, C. u
  1555. ; -1: Do not compile at all
    # T, X) A4 W1 H+ j* `4 h; x
  1556. ;  0: Jump over assertion at run-time+ F( n# r  S/ {
  1557. ;  1: Execute assertions
    3 H! Q/ D, @8 p5 c+ `7 I+ C" {1 A
  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)
    + T% R2 ]) D- N  E  T& v: U
  1559. ; Default Value: 15 p1 |% e. b6 U
  1560. ; Development Value: 1
    8 Q4 p. j/ x/ p5 s/ W; u+ U0 g1 q
  1561. ; Production Value: -1
    6 m, k3 @# M+ O2 H4 M
  1562. ; http://php.net/zend.assertions
    2 x* V0 m% H6 }/ ~
  1563. zend.assertions = -1( ]. @+ _% G$ e5 D
  1564. : D) L8 }" y, I
  1565. ; Assert(expr); active by default.
    " F$ x: b  ]# K
  1566. ; http://php.net/assert.active
    . i) U# P( w+ D" {! x* E
  1567. ;assert.active = On2 S% G2 U, b% E
  1568. 9 P; c: w0 k) W; E( v- T
  1569. ; Throw an AssertationException on failed assertions
    * h5 O. A1 B1 a
  1570. ; http://php.net/assert.exception
    $ Z& R: J; \- j- ~% R
  1571. ;assert.exception = On4 W& u  x# W  B: y

  1572. : G1 A( M: \6 ~! |7 N
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)8 G( T" @4 ^: F9 e
  1574. ; http://php.net/assert.warning
    3 [  W8 X0 u' v! f3 R- W0 G
  1575. ;assert.warning = On) Y# |, d, z+ o% w# Q0 p2 x
  1576. 2 Y8 N# O& N& r* M2 [) B
  1577. ; Don't bail out by default.
    9 I7 F; e4 \$ t. d6 p4 Q
  1578. ; http://php.net/assert.bail
    4 L! V* L0 x+ [
  1579. ;assert.bail = Off
    ' E; p4 a* y" E3 ?" B: T

  1580. / v* L) e) q: i. ^; e
  1581. ; User-function to be called if an assertion fails.% ~4 I. E/ [% ^' b3 l* l: Q
  1582. ; http://php.net/assert.callback* J( H: D) O/ Z$ R
  1583. ;assert.callback = 0
    7 k* B& M6 D) d- x; g4 U5 e5 s! ~

  1584. : m3 H3 I/ d9 C# Z7 a1 Q; ^% H
  1585. ; Eval the expression with current error_reporting().  Set to true if you want" _( Y+ n# j5 R& R
  1586. ; error_reporting(0) around the eval().0 i8 |" [3 I6 k/ H, Q/ v
  1587. ; http://php.net/assert.quiet-eval
    ( G/ d% P6 [: q2 q6 b5 X. b$ \
  1588. ;assert.quiet_eval = 0
      C1 F/ E7 i" Z3 l) X% m
  1589. 8 u& B% r6 I9 K) `( d3 K5 w4 |% O* Q
  1590. [COM]$ X7 K: B, \% {  f" X  d7 }3 }
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs; |8 J" g' H* x9 z
  1592. ; http://php.net/com.typelib-file
    $ E8 l( j. @" d
  1593. ;com.typelib_file =
    ' i1 ]) T+ w" s6 Z5 t# G

  1594. & }, i- G. G1 o! U' G  w
  1595. ; allow Distributed-COM calls
    : x& C0 s# v; s  E4 C  o
  1596. ; http://php.net/com.allow-dcom! f1 c# I' s4 R4 w9 J6 V# a
  1597. ;com.allow_dcom = true
    , [  ~- ]) [% s- J7 j
  1598. ; @7 N; u6 }" l
  1599. ; autoregister constants of a components typlib on com_load()& O8 a* M3 [3 \# O/ Q+ V! i
  1600. ; http://php.net/com.autoregister-typelib7 B8 G" a/ @: L/ h; m+ Q5 D
  1601. ;com.autoregister_typelib = true
    ; p: o' M9 H& }5 J2 O* D7 c; z' l3 z  ?
  1602. 7 _  ~2 w) B: a$ U6 V
  1603. ; register constants casesensitive1 w; w% P& ^  h
  1604. ; http://php.net/com.autoregister-casesensitive8 f# W; r1 s" k$ w8 a" r8 C
  1605. ;com.autoregister_casesensitive = false
    # B% x: H* @6 c. y6 ?' C: ~- {, O+ x0 m

  1606. ' Q, j: V. e5 |2 H1 f
  1607. ; show warnings on duplicate constant registrations
    / o$ c, p/ U& J6 Y3 z. a* M6 ?/ }
  1608. ; http://php.net/com.autoregister-verbose, G9 j" _/ W" n$ m+ Q3 y$ r
  1609. ;com.autoregister_verbose = true; @' o0 N5 U- x
  1610. 7 h. r, A4 a( t3 ?+ V' J+ d0 f# D  n
  1611. ; The default character set code-page to use when passing strings to and from COM objects.# I. j/ D9 m* g$ X
  1612. ; Default: system ANSI code page# [1 v$ u! N, e; ]8 m
  1613. ;com.code_page=
    + X( ~; \& t; R- I# I# I

  1614. ! r. T) V+ y3 H, o' H5 u" a9 H
  1615. [mbstring]; E& J2 L  o/ L1 K  n2 ]4 B
  1616. ; language for internal character representation.
    6 R: a$ K6 H  O$ T- q- u8 X9 n
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    " `1 U/ U* q  M+ t6 q
  1618. ; http://php.net/mbstring.language: x0 m% k: S& z3 b0 }" g0 ^
  1619. ;mbstring.language = Japanese: e& x! l4 M4 U0 L
  1620. ) N0 \0 ^' U* Z5 a
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.5 f  w2 L# f: f, J6 |
  1622. ; internal/script encoding.
    " t' |& [" K4 I+ M
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*). y/ L; @8 C) ]6 i4 L6 p
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.% f  S' t) z  w/ z; q9 I
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding+ N4 k% r0 d/ ]
  1626. ;mbstring.internal_encoding =
    ) `+ `& \) V2 ~1 \. P* u7 D- |
  1627. % ~, Q1 z. w, D; u3 ^3 U! j
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    5 q% B1 E8 [8 [
  1629. ; http input encoding., |+ z7 A* @" n0 F  W7 N1 U
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    5 n( T2 p0 i0 W+ N1 A# l! |
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    9 r' v/ u& C5 Y! }$ x
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    4 R. v1 x4 ^6 t6 m
  1633. ; http://php.net/mbstring.http-input
    # Q; l: }: j7 S5 L% G, z
  1634. ;mbstring.http_input =- q! r, d1 G% s( I
  1635. 3 s3 [5 I; r6 d# [
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ' F) _# c9 F: G
  1637. ; http output encoding.
    % d* I6 F: Z5 ^+ J# Y0 p
  1638. ; mb_output_handler must be registered as output buffer to function.
    4 f; S- _* L1 g( ?
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    6 S, Z( n3 K5 I* W# ^
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output, M, n, v" \/ m0 `
  1641. ; To use an output encoding conversion, mbstring's output handler must be set6 {/ m, L! F( n* W' S; G
  1642. ; otherwise output encoding conversion cannot be performed.
    + @! w4 Z! W* A/ v8 `6 |. W
  1643. ; http://php.net/mbstring.http-output+ P6 K. {5 k9 J2 R" v3 u6 [
  1644. ;mbstring.http_output =2 ^! x" J3 u2 F  Y  ^

  1645. 0 ~8 W$ x" V  c/ U
  1646. ; enable automatic encoding translation according to& B- h8 k& L& C# q/ t' E
  1647. ; mbstring.internal_encoding setting. Input chars are3 s8 Q6 N5 O. j- x3 N; }3 z
  1648. ; converted to internal encoding by setting this to On.! P+ P+ U0 L& Z. m7 ^0 h$ j: B
  1649. ; Note: Do _not_ use automatic encoding translation for
    5 Q% I# Q. Y4 L  k
  1650. ;       portable libs/applications.
    / V) u5 e$ J: ^* G" _: q
  1651. ; http://php.net/mbstring.encoding-translation
    , {( O* b2 w- w: [" t* e  i
  1652. ;mbstring.encoding_translation = Off
      n4 C- h* m, B9 N
  1653. ; Y. X7 I. X! q- |% r/ P
  1654. ; automatic encoding detection order.
    + c( ]7 O0 d. V3 ~
  1655. ; "auto" detect order is changed according to mbstring.language; U, o4 o; [  ^- L0 A
  1656. ; http://php.net/mbstring.detect-order
    2 ~/ s/ E  D- W' W+ `" t0 P3 l9 S
  1657. ;mbstring.detect_order = auto
    - v" j& d) C+ B7 z4 q0 x
  1658. - H% z( e" `3 _* o- p0 d& p
  1659. ; substitute_character used when character cannot be converted. @+ Y: n0 |7 f: y
  1660. ; one from another
    . T2 ^- J% m% ]
  1661. ; http://php.net/mbstring.substitute-character
    $ A2 h" A. S- s' B% L
  1662. ;mbstring.substitute_character = none2 L1 B& g/ o; l/ ]* O. j6 N5 l
  1663. 6 k% a. P; {  N" f% \  m3 J9 h
  1664. ; overload(replace) single byte functions by mbstring functions.4 [8 m* ?! A# w
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    9 q) \% @! E3 i5 x$ Y% v
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.  H+ r9 ?' z" ?( M( n) @2 P
  1667. ; For example, 7 for overload everything.
    0 b4 s0 r. v' [6 b) H
  1668. ; 0: No overload6 V1 v6 c# r% X/ O% I% t- L
  1669. ; 1: Overload mail() function
    9 L% g1 b! Z6 I+ P3 k+ X. C: G  a% ?
  1670. ; 2: Overload str*() functions0 ]9 x7 I0 }( M5 ?: J. T$ g
  1671. ; 4: Overload ereg*() functions( H% \1 }" S6 i% E& A0 k, v2 o" N
  1672. ; http://php.net/mbstring.func-overload6 S1 ?$ U# \7 ~' J( a  z
  1673. ;mbstring.func_overload = 0
    , C7 r& V3 D, ?9 [; V

  1674.   ?' l% e( y" i" f; @& L2 l& ^
  1675. ; enable strict encoding detection." ~0 E/ V  X7 o. `. w1 y& d
  1676. ; Default: Off* f( a3 s; v8 ^$ x' @$ N
  1677. ;mbstring.strict_detection = On
    3 k) F* t5 l! i$ L0 i" P2 I

  1678. & D; ~2 v" C0 c9 u' M7 J! B
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()6 T4 X+ L6 I+ |, @. _/ n+ I! ^3 u+ D
  1680. ; is activated.3 s, M6 d% s/ V
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)4 G! q# ^* \; z6 D5 c/ x
  1682. ;mbstring.http_output_conv_mimetype=
      z$ ?, S8 _% Y  k- R
  1683. 2 Y' {3 }! S, w# Y- z- f5 M
  1684. [gd]! ?! [% ^3 v3 r( T. ]! _
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    : P& E$ n, X( O% ?8 @5 r8 [
  1686. ; a gd image. The warning will then be displayed as notices
    + Q7 e- i; Z5 {+ ?
  1687. ; disabled by default! T4 C- O7 ~7 h) y1 d8 m# S
  1688. ; http://php.net/gd.jpeg-ignore-warning& Z9 E; h7 O1 A7 m
  1689. ;gd.jpeg_ignore_warning = 0
    3 X  R3 E1 U1 _- }0 l1 z
  1690. ! E1 n/ @+ X+ ~$ W. q% x# p; d+ P: L) Q
  1691. [exif]
    ) r+ D( T4 u& Y+ B+ i
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    8 O* Z( n5 [  U* [/ J8 C
  1693. ; With mbstring support this will automatically be converted into the encoding
    $ P9 a" _7 U5 ?% g
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    * \# S  D7 b; `+ }& e: u) m6 W6 m
  1695. ; is used. For the decode settings you can distinguish between motorola and) B. q7 E8 w+ B, {9 c# r' ?) `
  1696. ; intel byte order. A decode setting cannot be empty.2 B5 v' z! a# y& `/ V
  1697. ; http://php.net/exif.encode-unicode2 q  F" E: x8 G
  1698. ;exif.encode_unicode = ISO-8859-15
    , E5 o* X; \9 X
  1699. ! l8 t/ }6 f+ f* X& G$ R
  1700. ; http://php.net/exif.decode-unicode-motorola
    0 g% S7 E  |  o. q
  1701. ;exif.decode_unicode_motorola = UCS-2BE1 {2 ]/ G5 t& Y. s# ~

  1702. ( S& G* t6 ?& X) K
  1703. ; http://php.net/exif.decode-unicode-intel/ y  j9 I3 v' Q# p3 \! t
  1704. ;exif.decode_unicode_intel    = UCS-2LE1 |) A. R8 q0 b
  1705. + w8 h/ c/ L5 \& a/ ^& g& w
  1706. ; http://php.net/exif.encode-jis
    0 e2 v/ `8 V0 t, C& C5 m: Z7 l
  1707. ;exif.encode_jis =: u! e) O6 X) p% |! W9 L

  1708. - e1 j+ ?. t' w
  1709. ; http://php.net/exif.decode-jis-motorola
    ) e- c5 \& s% f# [6 R- O( W
  1710. ;exif.decode_jis_motorola = JIS/ }2 X. G# S) I% C( s

  1711. ' F/ Z0 h* i) G
  1712. ; http://php.net/exif.decode-jis-intel. [5 N3 p/ v4 @3 |7 d
  1713. ;exif.decode_jis_intel    = JIS4 n/ }) G5 Z' X* H' _

  1714. & _" M7 G* D- w% a3 x7 {% L0 ?
  1715. [Tidy]1 U# j5 e3 _. j; r- f/ p; M) x1 M
  1716. ; The path to a default tidy configuration file to use when using tidy; t; E6 a4 D$ t" n1 E3 z' d
  1717. ; http://php.net/tidy.default-config
    4 H8 x2 c; e' u
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    2 T, U, }. a- T. i+ ^) g% y7 b! F
  1719. " y. q% `. O, {: b  R- F
  1720. ; Should tidy clean and repair output automatically?( @/ H: i4 X) l# F0 d: M
  1721. ; WARNING: Do not use this option if you are generating non-html content
    ! V; U- x* B9 L: ^" {
  1722. ; such as dynamic images/ V6 _0 @- l, E+ O# g3 `/ h9 k* m# |
  1723. ; http://php.net/tidy.clean-output
    % S, b. Y9 E$ g: L! I7 C( [
  1724. tidy.clean_output = Off
    # c  \- ]- _5 ?/ X) d

  1725. * Q& F* w) V9 g
  1726. [soap]
    ; B$ D1 l! I& M3 \! I. p0 z/ |
  1727. ; Enables or disables WSDL caching feature.
    # _% s! L8 y" l. E1 Q
  1728. ; http://php.net/soap.wsdl-cache-enabled" d! I2 ^& l" K, S: J$ M8 e- H6 @* Y
  1729. soap.wsdl_cache_enabled=1
    : |  U# U8 C7 Q/ M& V

  1730. 3 p( H4 `4 \1 n. y( b+ D
  1731. ; Sets the directory name where SOAP extension will put cache files.# z4 w9 }3 ], H
  1732. ; http://php.net/soap.wsdl-cache-dir% w& N' x. {- A, y/ g5 F; k% y
  1733. soap.wsdl_cache_dir="/tmp"  p9 _0 v" n6 V
  1734. 1 d, X0 \2 j! U0 g
  1735. ; (time to live) Sets the number of second while cached file will be used' W+ \% r& I- B- G3 i
  1736. ; instead of original one.* J5 L* i- L" d4 p
  1737. ; http://php.net/soap.wsdl-cache-ttl4 G  o+ n  y( R7 k- d
  1738. soap.wsdl_cache_ttl=86400" }* J& q: N$ b5 h; Q, c

  1739. 5 c* R; c; z- s
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)6 f! H! G# Q) y; C! g  V
  1741. soap.wsdl_cache_limit = 5
    $ J1 s. _- ?" h: I4 v$ Z
  1742. ! M" _1 o# d) ]$ q; v3 K  @1 V
  1743. [sysvshm]
    " z7 i2 x3 b2 X/ \9 e
  1744. ; A default size of the shared memory segment1 z9 F* `( U2 ~5 V
  1745. ;sysvshm.init_mem = 10000
    5 o7 [5 i: I. J( p( p! X
  1746. - ^. U6 c# D' v1 b
  1747. [ldap]) R7 R2 O7 |+ {& i% u9 Q* R
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    5 k4 |) j; Y# f9 F
  1749. ldap.max_links = -1
    2 z) \% n3 H6 p+ T0 b2 X8 m& m

  1750. 4 e  g/ k$ {5 ~4 q
  1751. [mcrypt]
    " ]" g0 O& C' o! x2 ]% q; a
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ! N6 c+ v, j$ |4 \1 l! ~3 f/ ^1 m3 A

  1753. 4 n' A8 r5 t  F& ]; @% |# R
  1754. ; Directory where to load mcrypt algorithms+ S: |2 L! J$ z% H
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)" X0 D! |6 b, G  B& g) Q
  1756. ;mcrypt.algorithms_dir=
    5 W/ }3 ?* N/ {8 V7 e

  1757. * ?  v: ]- w+ O: b# X' U/ |
  1758. ; Directory where to load mcrypt modes
    , U4 `$ Q0 I: B5 E; m
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)4 r# J/ m, U: ^! X8 ]# W/ G  p
  1760. ;mcrypt.modes_dir=
    ! b9 C( E4 @' H- v

  1761. ( a: j6 A: U2 F. @# O* @. M
  1762. [dba]1 ?% l1 S1 @6 p# Q# y0 `$ T
  1763. ;dba.default_handler=7 {0 W) ~% s  C6 M

  1764. , D  s) C. D" T! G, c& E
  1765. [opcache]
    * b2 p& g' c9 o6 G  @
  1766. ; Determines if Zend OPCache is enabled* h9 b7 K6 n; f# q- p$ _# C1 h- R
  1767. ;opcache.enable=08 r. F7 N8 ]. J2 |
  1768. 4 L1 Z) K# s9 u9 a! @' A
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    5 }! S) h; l& @
  1770. ;opcache.enable_cli=0
    / R( v5 t; n4 P1 _( U
  1771. 3 M6 f+ C4 d% o6 t
  1772. ; The OPcache shared memory storage size.
    . E. P9 ^6 q+ a8 M, F
  1773. ;opcache.memory_consumption=64* D3 n4 Z+ T6 e+ V0 ?( P+ E0 h

  1774. 9 C. j- |( v4 {. u; y+ `: v
  1775. ; The amount of memory for interned strings in Mbytes.( R  S, |/ }/ i1 }4 |; N' y& a+ F9 v
  1776. ;opcache.interned_strings_buffer=42 x: b( F, T4 n( n
  1777. 3 r$ R: b: A" y8 h- i* {% r
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    . C4 S5 {8 V$ E- |! P1 Z
  1779. ; Only numbers between 200 and 1000000 are allowed.+ F; M1 a" V5 I1 k5 i+ ^: C# \
  1780. ;opcache.max_accelerated_files=2000' U9 y4 w6 p/ ^, c. m

  1781. ( |4 i3 N- H& e5 @0 b
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    / c8 L4 I+ M- |/ w9 h! U9 `
  1783. ;opcache.max_wasted_percentage=5* J; _9 X  k/ Z5 d/ U# a

  1784. 7 M6 a% B, J3 T  ~4 E
  1785. ; When this directive is enabled, the OPcache appends the current working
    - {7 X+ H0 R3 H% k) {9 F- X! a: X
  1786. ; directory to the script key, thus eliminating possible collisions between# a+ D4 R4 D( l  w* h
  1787. ; files with the same name (basename). Disabling the directive improves
    ' U4 m1 G* E9 p7 O" ~8 i# T
  1788. ; performance, but may break existing applications.& P( ?- P6 w, a# T: u4 L3 b
  1789. ;opcache.use_cwd=1; M: i% I# l) v6 V9 ^7 ~

  1790. $ ^' [  W7 B, |. z3 B
  1791. ; When disabled, you must reset the OPcache manually or restart the
    ) b' @, S5 Y) {# N
  1792. ; webserver for changes to the filesystem to take effect.
    3 h( ]7 c4 v3 q: H
  1793. ;opcache.validate_timestamps=19 ^' w4 F2 w- B. J; ~

  1794. 3 p8 L2 ~) h, ?7 {
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    3 f  `; E. j, v6 h
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    6 q1 r; M* h- D, U% U  p0 _
  1797. ; once per request. "0" means always validate)+ R* B8 Z. N, a; X& u4 _
  1798. ;opcache.revalidate_freq=20 x1 G' ?1 B/ k; \: c" |
  1799. 5 a2 H' j/ M9 w1 n7 ~" s2 _3 w
  1800. ; Enables or disables file search in include_path optimization- p6 g8 B1 E$ J4 S6 S
  1801. ;opcache.revalidate_path=0
    ' D0 G0 G. s" \3 [

  1802. - w. D6 ], i: ?+ |3 S& x1 H. f8 ~
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    . i) L5 O5 G" x/ w
  1804. ; size of the optimized code.
    9 U# o! }+ L/ [7 v
  1805. ;opcache.save_comments=1
    . J( f/ z( R% h
  1806. 7 i& d4 Q8 e8 Y! f  I4 J
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code% o5 H# ~' v" }
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    ! O* v+ w. v" L) K) y6 b; A3 Q/ s
  1809. ;opcache.fast_shutdown=0
    0 s% c/ z$ n) G9 J. E9 ]
  1810.   j/ `) E% ^1 e& [+ s. B0 I
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    ' t: X1 m0 E9 ]7 ~2 @9 u1 W* U, s5 V
  1812. ;opcache.enable_file_override=0
    1 b. G, ?& [4 u7 u. ~

  1813. & ~1 {3 W0 p0 o3 _; _
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    9 p4 Q/ n  f( N! {4 Y+ o
  1815. ; passes0 w* {9 z2 ^. v# ^7 z8 I
  1816. ;opcache.optimization_level=0xffffffff# q/ c7 H2 }, ?; [6 O0 j
  1817. : p! O' p) [8 F- t5 c
  1818. ;opcache.inherited_hack=11 j+ F8 J6 s3 k. |
  1819. ;opcache.dups_fix=0% |- {& C+ E" D5 i6 H
  1820. ( ^& t! R$ b5 y' B- Z' x
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    $ ^; C. N  X) F1 j
  1822. ; Each OPcache blacklist file is a text file that holds the names of files, e1 r' v3 n( H0 ?/ d" G3 `) l& q
  1823. ; that should not be accelerated. The file format is to add each filename/ K% e( ?; n/ F1 J. |" P" H4 q
  1824. ; to a new line. The filename may be a full path or just a file prefix
    # V3 M5 o; Z* h6 [& _* L
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www3 \4 ~% e/ g" F3 j
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ! U! O* F6 i  U+ s) L4 \" e- u
  1827. ;opcache.blacklist_filename=
    2 ]  L9 s. q7 h- r
  1828. 7 B5 k3 k; B8 V3 ^
  1829. ; Allows exclusion of large files from being cached. By default all files
    9 k& I- `+ `) K8 i- W+ q. \: t+ j
  1830. ; are cached.
    0 i3 U: D8 ^. J. h, x2 u3 y$ \
  1831. ;opcache.max_file_size=0
    ' h1 s( u+ \' T8 u/ B% K$ G" s& L" {

  1832. 1 r( j1 K$ V4 g
  1833. ; Check the cache checksum each N requests.# w/ V+ M( o' ?1 c+ G4 ?
  1834. ; The default value of "0" means that the checks are disabled./ J; @( q7 g2 @# ~: Y' e* g
  1835. ;opcache.consistency_checks=0
    : n3 W' K/ u  q$ n
  1836. 2 u4 r  }7 \1 ~: t
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache8 E) H* j6 ^, p6 f3 N2 Z/ a5 m1 S
  1838. ; is not being accessed.
    - v% J* |' `8 ~
  1839. ;opcache.force_restart_timeout=1805 O2 F' B% d; n

  1840. 3 G) I/ f; t3 W8 U1 k/ G
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    # A, ^3 M* j$ S8 }  K! g' P
  1842. ;opcache.error_log=& F+ ]+ x. \5 _/ C

  1843. ! l4 o6 {& V5 D! k# [/ H8 z- q
  1844. ; All OPcache errors go to the Web server log.4 \3 }6 a  V0 Z& ^5 a! U' s
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    * Q7 q& F! h& y9 {% E
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    9 i" i6 ^' q# r
  1847. ; debug messages (level 4).# S- w; j+ r7 w& M& ?* H1 v
  1848. ;opcache.log_verbosity_level=1
    7 N/ I$ _" j- ^9 D) J  t! @4 _% @

  1849. 1 E, w4 C3 s5 @0 B9 }
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.1 e9 D0 u# L% t; q2 [' j0 B+ s
  1851. ;opcache.preferred_memory_model=
    + i8 k( V& ?0 h* s
  1852. $ R* ~, o. f9 [+ O$ n% o% `
  1853. ; Protect the shared memory from unexpected writing during script execution.
    4 k8 W$ c4 N/ l( Z. K
  1854. ; Useful for internal debugging only.8 m4 e9 \& ^3 H" C8 J% F) z
  1855. ;opcache.protect_memory=0! T" u4 |) Z1 r1 i3 q
  1856. 6 I7 t* q; w6 h
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is) o) F9 b# N+ q9 `
  1858. ; started from specified string. The default "" means no restriction
    ; _9 @1 E& f! Q8 y' z
  1859. ;opcache.restrict_api=$ z6 j+ R& u/ o) g  ]& R8 M( f
  1860. 7 ?. z- j0 t1 S$ X6 M
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP: a2 S1 Q. P0 R1 m3 C7 t
  1862. ; processes have to map shared memory into the same address space. This
    ; L; @8 @. D; p
  1863. ; directive allows to manually fix the "Unable to reattach to base address"3 N3 e9 ^8 S) `# j! g" J) s
  1864. ; errors.- a5 K5 V8 D" K4 B' y& }3 ^
  1865. ;opcache.mmap_base=
    ) v) Z, I# s$ P( r% e' _% g2 N
  1866. 3 g; G+ Q3 p2 B7 X6 u% y( V$ `
  1867. ; Enables and sets the second level cache directory.
    " `! m8 L2 C% Y1 G$ ]
  1868. ; It should improve performance when SHM memory is full, at server restart or5 O; B0 _  N! V+ t- Y7 X" K) S/ r
  1869. ; SHM reset. The default "" disables file based caching.
    8 o9 n8 Q" U7 ]4 I7 ~1 [! l& ~
  1870. ;opcache.file_cache=5 W% w! c: j* w& e: Z
  1871. . E% i. j8 @1 ]5 Z
  1872. ; Enables or disables opcode caching in shared memory.. P/ B9 J8 _5 B1 Q
  1873. ;opcache.file_cache_only=0
    ! }# c; w: u0 |* L* n

  1874. - C  O$ \, b7 ~7 @( R  c
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    2 c/ c- X4 s0 U3 d$ G0 Z
  1876. ;opcache.file_cache_consistency_checks=1. W8 n' H  ?9 F1 @% L( \/ R7 D9 J; }

  1877. " D. N* s' }6 G& p
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to4 K9 g$ X6 X) i0 K
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file; M! ~$ ^. R) ~. K! C
  1880. ; cache is required.
    8 g" I# B7 W- T. B
  1881. ;opcache.file_cache_fallback=10 U( j3 j* k2 `8 J: V% \1 f' U0 y
  1882. 0 B$ n7 O$ f: R4 x; n. ]( U
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.* P: v9 T4 B  z4 i! `% r, M( u3 o' D
  1884. ; This should improve performance, but requires appropriate OS configuration., U" o+ [$ F. k4 j- d
  1885. ;opcache.huge_code_pages=10 [$ h* i! p% F
  1886. * Z; e2 \9 \$ j8 l+ z7 s
  1887. ; Validate cached file permissions.2 c* t# d9 }; @6 k+ g
  1888. ; opcache.validate_permission=0
    3 Z( q7 G' O4 }2 C, C2 e

  1889. & v) _2 N' u, e# v) H7 q
  1890. ; Prevent name collisions in chroot'ed environment.
    6 W3 M1 _, Z( F. v$ A
  1891. ; opcache.validate_root=08 i- I" P1 c. I: r6 ~. R; ?3 Y
  1892.   P* \# `% S2 x0 o
  1893. [curl]9 r0 B& Y( R/ h
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    # H' e: k7 [5 z( k9 j: y3 H3 f/ g
  1895. ; absolute path., V! S2 M/ M; l. a5 J/ e
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    $ q, J  B' K8 u' p6 U
  1897. ) v9 X/ V8 O1 x, K3 j2 e
  1898. [openssl]
    ; C+ Q5 W8 J, I, {6 x
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    2 a1 k2 ]8 ]: `6 b
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should' D7 j0 Z8 C( O
  1901. ; not specify a value for this directive as PHP will attempt to use the. i' l8 v5 ~- ~8 y- x
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    1 Y3 s- m6 I% f0 j6 |
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    2 Z$ p* k0 m- s5 ^4 g7 K
  1904. ; option.
    ( J* ~! ~, B* o6 I. K1 Y$ G( d' n
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt3 N% E' c+ d1 ^4 w8 g

  1906. 9 E  a- r8 O5 N' d; x& l
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the  X/ d* F8 Y1 S8 `
  1908. ; directory pointed to by openssl.capath is searched for a suitable' @0 p0 [; e0 H5 j& c
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    $ x: m! Y+ d" s2 K
  1910. ; Most users should not specify a value for this directive as PHP will! }( c/ p( G. `
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,+ n" {1 K! M8 A- Y- T+ X
  1912. ; this value may still be overridden on a per-stream basis via the "capath"+ ^# P6 N9 n: O# x
  1913. ; SSL stream context option.
    / r1 b0 B: [( D$ w
  1914. ;openssl.capath=+ ?  P- F" E# g$ r: U

  1915. 5 {/ F# z& N7 B, j; T4 a  `, _
  1916. ; Local Variables:% D3 ]9 E& B6 i- E% i/ o
  1917. ; tab-width: 4. L+ w( `5 |; D2 L( x
  1918. ; End:
    9 C% ?5 S/ `+ g7 g2 ]

  1919. 0 l5 @* ?2 w" a. X
  1920. ;eaccelerator  d- b3 i1 |+ R- P1 Q" u
  1921. # X+ U& _# b- p; I! J
  1922. ;ionCube
    . y; X! f, p0 m$ W( ]5 b& E
  1923. + w$ ~3 Y) L* \( k, Z$ ?0 s) ~
  1924. ;opcache& G/ ]+ Q, V, G' Q; m
  1925. # d" {" b# k# B+ N/ D
  1926. [Zend ZendGuard Loader]
    7 o" _  Q4 z0 r+ s" _3 g- @& P) i) @
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    " h" G. v  I% d
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so# h9 ]* l+ D/ e' ?
  1929. ;zend_loader.enable=1
    ' `; @( w! m6 I6 P; b8 H& h& D
  1930. ;zend_loader.disable_licensing=0  F7 @4 o+ e; D5 R: |' k$ u
  1931. ;zend_loader.obfuscation_level_support=3/ e. g& G0 K' K8 x; \
  1932. ;zend_loader.license_path=, `8 F, B$ y. h+ A4 z! \

  1933. ' A/ N* D0 e( C! l6 V: {+ G2 H
  1934. ;xcache+ ]& ]1 c& H% Y9 C% k

  1935. 8 m4 d( Z- ?% Y* c" \
复制代码
; K/ J1 b1 Y/ m( e! x  L
4 J; R6 U$ m* \- j

6 {( G* @: D$ `$ W) r
2 K' V( r. k' h/ I$ e: {' a' o
1 \  ^0 e0 E2 o
# p, {9 u$ t; y5 [  s" _1 U$ V/ l6 g7 P+ z5 e' P! Y. c0 b* p
PHP5.6版本原始设置
/ C( ?7 l5 k$ w5 N, x1 b. g2 N9 s9 Q0 p( p7 @) [5 w# h& H
  1. [PHP]
    * E6 \# @' }/ t

  2. & I- ~, u2 a2 ^+ R) I
  3. ;;;;;;;;;;;;;;;;;;;1 ~6 L% x3 ~' C# G
  4. ; About php.ini   ;9 `3 n6 q% V/ Z4 p/ e
  5. ;;;;;;;;;;;;;;;;;;;
    1 X8 {: x6 ?, A1 q/ \9 {5 W. B
  6. ; PHP's initialization file, generally called php.ini, is responsible for6 _. A" \8 C' `0 B
  7. ; configuring many of the aspects of PHP's behavior.
    / Y4 w; U" [; G: ?9 j
  8. + b( C& x9 d# k7 d
  9. ; PHP attempts to find and load this configuration from a number of locations.( U! z# O4 ?/ J4 C# S% {$ o$ ^
  10. ; The following is a summary of its search order:
    ' F# m6 R# X4 l- E0 H
  11. ; 1. SAPI module specific location.- p$ l6 J- b! l- X) q, R
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0); d8 t& C! l* l4 L$ b) H# L$ ]- L
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)! w# y" @" J2 j
  14. ; 4. Current working directory (except CLI)2 T" ^4 I7 s2 [5 f1 U" t
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ! ^! B1 {8 I; o7 u2 P. x
  16. ; (otherwise in Windows)2 h: V, P" u. w+ J" b  Z
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ( |/ t7 q1 w" F6 J, n& f3 W
  18. ; Windows directory (C:\windows or C:\winnt)
    2 P' d1 d+ P( X9 Z& \% s8 z
  19. ; See the PHP docs for more specific information.. `8 p( _, E$ b" M1 u  @
  20. ; http://php.net/configuration.file. L# F. R0 j, H  P

  21. ) b7 K' ~, T& S# X
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ; I  c: j5 o1 N2 ^9 `4 Y  a
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)., z) G6 H% l' @, F, |
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though( j" p+ |. G* G* S- X) {' l  u
  25. ; they might mean something in the future.$ a# s/ f/ H$ Q2 i; Z  c
  26. 1 n6 j' Q- n; I( p
  27. ; Directives following the section heading [PATH=/www/mysite] only8 A. o6 Z( z: `; D& S
  28. ; apply to PHP files in the /www/mysite directory.  Directives! o% S, z3 _) Z" y$ I- V+ Q1 @
  29. ; following the section heading [HOST=www.example.com] only apply to
    ' J2 a, Y# Y( a& }9 @7 ?: t
  30. ; PHP files served from www.example.com.  Directives set in these
    4 A4 v  t: O) _, T/ X
  31. ; special sections cannot be overridden by user-defined INI files or+ f* s/ m1 z* F+ Z$ L3 T/ V) U
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under# {2 ~( H6 l2 ?7 E( Z( B
  33. ; CGI/FastCGI.3 {6 h4 l4 [) Y
  34. ; http://php.net/ini.sections% l8 ^! l9 w, x' D

  35. & |' _' p7 M: f5 V
  36. ; Directives are specified using the following syntax:
    $ r# K( {( O) r- {+ }
  37. ; directive = value
      r; H2 q1 N- ], v1 `, \
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.- U: K0 Z6 T8 |
  39. ; Directives are variables used to configure PHP or PHP extensions.! B! L8 C0 x# b
  40. ; There is no name validation.  If PHP can't find an expected
    $ ]/ y: g. m( `; y/ D, p8 A
  41. ; directive because it is not set or is mistyped, a default value will be used.
    $ p) I- e* J5 k) H- z* \8 [
  42. - l3 [5 C- T& ~: T" R& W9 f
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one* n, F2 S# W/ K3 H$ e
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    2 j: G$ G: w) q9 F( A  k/ u8 G+ u
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a6 ~. g% J/ d) e6 z* `( Y1 x8 ?
  46. ; previously set variable or directive (e.g. ${foo})6 l5 G9 m6 q" x" A# ]
  47. # n* ~* E: Y, G& u
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:2 ^* D8 ]1 Q& g: F
  49. ; |  bitwise OR" M! w4 M3 ^- f' I
  50. ; ^  bitwise XOR
    9 ?1 R( ~; X: Z! L( o/ T" T
  51. ; &  bitwise AND
    9 }6 f% h& U2 ~7 Y. r+ [' @
  52. ; ~  bitwise NOT/ q0 g% w3 S# C5 Y
  53. ; !  boolean NOT
    " d& G7 n2 h0 Z% W
  54. ' `; z$ \" O+ ~
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.6 |+ V" `) y& |4 z7 I
  56. ; They can be turned off using the values 0, Off, False or No.) @5 G! K$ X- C% L" O/ s! H
  57. # j; n7 a; G+ Z, n9 e, S3 E8 e
  58. ; An empty string can be denoted by simply not writing anything after the equal) s6 X; f* }3 u* ]# K
  59. ; sign, or by using the None keyword:
    # c0 f* m- e  D' g& p6 D0 X& o

  60. + Y* C6 B# ], F" o* H' G+ |
  61. ;  foo =         ; sets foo to an empty string
    / @% n3 S( u4 o
  62. ;  foo = None    ; sets foo to an empty string- `# m7 @, P8 d. h  z
  63. ;  foo = "None"  ; sets foo to the string 'None'4 m5 r) \& V) e3 k5 X

  64. % R0 x) X* N# P, h7 ?! n, e& D- o
  65. ; If you use constants in your value, and these constants belong to a+ q5 @" w$ V# R
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    - Q* ?. q7 C# W
  67. ; you may only use these constants *after* the line that loads the extension.
    * |5 f4 i: C* T( S! O$ c
  68. 6 Q# g+ ~1 j6 B: l
  69. ;;;;;;;;;;;;;;;;;;;/ Z( L, T- q+ }$ g/ {
  70. ; About this file ;% [7 o2 c! J9 Z( b$ F# z
  71. ;;;;;;;;;;;;;;;;;;;
    8 n" ~  l2 _4 ~8 Z7 n
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ' j) q, w# Y4 Q- s) h( o$ K
  73. ; in production environments and one that is recommended to be used in* b0 q- y. L% V# G3 m, p; l# M
  74. ; development environments.; n1 {) m5 @( h3 I/ c

  75. : k2 `5 S2 T5 |3 W& K  N
  76. ; php.ini-production contains settings which hold security, performance and6 e9 _/ O: T! K% K2 p! t4 \0 o
  77. ; best practices at its core. But please be aware, these settings may break
    * Y, x- E) _& E" N/ u) o
  78. ; compatibility with older or less security conscience applications. We
    9 u, x" b& l3 v+ f7 o" ~
  79. ; recommending using the production ini in production and testing environments.+ L1 ?8 J1 y# f. w
  80. . h4 K) c4 h& d0 v
  81. ; php.ini-development is very similar to its production variant, except it is: `' H( z4 a$ b3 Q
  82. ; much more verbose when it comes to errors. We recommend using the1 X% M0 U3 c( O1 t
  83. ; development version only in development environments, as errors shown to
    ! e& d2 J) h! L0 X$ |
  84. ; application users can inadvertently leak otherwise secure information.9 N( M0 V# x* h" A5 B% J

  85. . |' k8 C$ z2 s* @2 {5 b+ _* s7 y
  86. ; This is php.ini-production INI file.
    ; r! n5 w/ U4 A5 d" T

  87. # l: N6 `! V8 v: A2 c
  88. ;;;;;;;;;;;;;;;;;;;# o0 D7 p/ ^7 b7 H
  89. ; Quick Reference ;5 A! e3 Q: {3 J0 x, Z- W
  90. ;;;;;;;;;;;;;;;;;;;
    / q; r9 v7 Q' d0 _- R* j" S5 D
  91. ; The following are all the settings which are different in either the production
    6 J3 U( E. i8 J, i8 b: s
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    - ~9 p) q  P8 p2 ?+ q' F" q
  93. ; Please see the actual settings later in the document for more details as to why' \8 u7 @, n+ K( a
  94. ; we recommend these changes in PHP's behavior.' e, t* W, l+ H) G0 q( a3 s; R7 k
  95. : p8 y& ^0 M7 K& a* H8 K
  96. ; display_errors. W; b0 p3 [2 t! h$ q& s6 b
  97. ;   Default Value: On
    2 v# v8 E7 h; M! _
  98. ;   Development Value: On
    % k1 O: c  P" |# N' Z& x' A+ s
  99. ;   Production Value: Off$ V  e# T- d! Z! P. e+ F" _6 x% {

  100. ; ]/ Q! O3 U7 ~% _) {3 \
  101. ; display_startup_errors' R+ ]3 Z- D# r2 c7 h
  102. ;   Default Value: Off+ L5 H" X' |& L  V- `" P* L5 a' \: v. v
  103. ;   Development Value: On
    - o1 i3 W1 P: ?
  104. ;   Production Value: Off4 i; p3 S8 z4 G8 y
  105. 1 N% ]: X* Y0 I  v
  106. ; error_reporting
    . C7 t3 H4 |; P" s0 V3 t6 b
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ' D0 I% _6 M9 }: H, g
  108. ;   Development Value: E_ALL! s' z7 f% T, k, C1 e
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    - ^0 J/ |' _4 b, B$ k
  110. 4 M9 v3 d+ Q; y5 w4 }
  111. ; html_errors
    9 w- A5 u* V% l& \
  112. ;   Default Value: On5 F) N  r. i! G9 k5 p, Q3 j
  113. ;   Development Value: On2 K! g; u  G0 l& G; b. v
  114. ;   Production value: On! g, y3 H3 _+ h9 N

  115. ' N2 A5 X. p4 U$ R. K% x
  116. ; log_errors( }1 f. B  p- K: b7 m
  117. ;   Default Value: Off* E& c: P" `' `- c- V& i
  118. ;   Development Value: On* T5 [# T( y& |1 t
  119. ;   Production Value: On3 _* c/ o3 w* B. @/ U! [
  120. $ u8 |) n$ q1 P6 m) G/ \2 _; K
  121. ; max_input_time
    7 h& U; @* s% U6 J
  122. ;   Default Value: -1 (Unlimited)2 q8 V) Q/ Y& a8 O1 o) K- l
  123. ;   Development Value: 60 (60 seconds); x, j6 ~( ~6 Z& P1 h
  124. ;   Production Value: 60 (60 seconds)
    ; p; k* Z3 \4 _0 D% T# ^8 t
  125. ) u, R6 T) i+ h, Z4 U$ I* f
  126. ; output_buffering! ~7 @/ q2 r: t! G! H8 ]+ }% t
  127. ;   Default Value: Off& Z' d8 v: ^+ Q' [
  128. ;   Development Value: 4096
    . E2 K) ^1 g" G: E
  129. ;   Production Value: 40967 `; b% H/ z% a$ s4 x( ]* Q
  130. " s6 F7 }; B3 p* l1 W$ j
  131. ; register_argc_argv! {3 B- M8 K8 t+ _. J+ ~
  132. ;   Default Value: On7 h- \6 W; W6 d
  133. ;   Development Value: Off8 m0 ]6 t/ v  b7 c' |
  134. ;   Production Value: Off) ~4 H4 q$ t3 U( x3 t/ y

  135. 0 |% i2 p9 E. j  h6 M" L
  136. ; request_order
    , B% a. K8 s7 i" J
  137. ;   Default Value: None
    - ?3 U+ w4 h2 e. a4 a2 Z4 f
  138. ;   Development Value: "GP"7 Z: a0 d% G; c7 G4 x+ z
  139. ;   Production Value: "GP"/ Y; J+ A* a+ E" A! C) d

  140. - ]" x. c3 _5 a/ G
  141. ; session.gc_divisor' ~9 r  k7 e. ]! Q: `
  142. ;   Default Value: 100
    0 A6 K+ f7 y" p
  143. ;   Development Value: 10002 `+ W& m( E! G! \9 H$ b) l
  144. ;   Production Value: 10001 z1 f" C. v( ~( Y( }
  145. ! N% e  s) {# [3 e% A2 g, T. Q
  146. ; session.hash_bits_per_character
    : g2 a( t+ F1 S5 ]/ G
  147. ;   Default Value: 45 k& k: i2 @+ {. s
  148. ;   Development Value: 5( |6 L% Q/ x5 F  I8 c& \
  149. ;   Production Value: 5
    5 ^& U" _! l% b# e

  150. % G3 d3 v4 }5 ]4 R0 @
  151. ; short_open_tag
    & q; k7 f0 P3 n  N4 K
  152. ;   Default Value: On4 o4 i6 m7 ?. Z( r6 E
  153. ;   Development Value: Off
    3 ^: x5 `+ y. [% D2 i
  154. ;   Production Value: Off: x# }+ T3 P" k5 u
  155. 9 z4 s: S- o1 i. K+ Z7 `
  156. ; track_errors4 j" T) w% X" `- W7 _# V
  157. ;   Default Value: Off
    - i" y4 v* ], ~! |
  158. ;   Development Value: On
    . a7 s2 L! I2 c( C2 ^
  159. ;   Production Value: Off
    " J8 Y1 e3 [0 O6 g  C4 P

  160. + Q  C! X: ]) A
  161. ; url_rewriter.tags
    5 C% M; d$ c( |8 C0 r
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="/ R! k; J* F4 ?
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 q0 C: A$ T# D2 W$ q% R& K9 V
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# [4 J% l5 ^! H& V

  165. 8 Y1 |5 a2 T( X
  166. ; variables_order
    0 ^& |5 B+ c/ P
  167. ;   Default Value: "EGPCS"
    ( |. R7 b- ]) J2 M7 o7 L- d. K/ ^, [
  168. ;   Development Value: "GPCS": G& ^" }+ ?5 D" k  G5 `" l
  169. ;   Production Value: "GPCS"# S" Y& L* b( R; m# x6 ^

  170. ; C8 r$ c( X1 l% V
  171. ;;;;;;;;;;;;;;;;;;;;
    2 R8 d6 ^+ H: B4 Y
  172. ; php.ini Options  ;! U- g2 v/ ?" Q) ~, t
  173. ;;;;;;;;;;;;;;;;;;;;
    8 ^8 k4 I* i# X0 c- q8 L' i; K
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"4 V) h3 [* k) n  X6 i
  175. ;user_ini.filename = ".user.ini"0 A% @1 ^+ \; Y- |  O$ y' l

  176. . _  ?$ X! N, `; m
  177. ; To disable this feature set this option to empty value1 x8 Z% J1 p4 r
  178. ;user_ini.filename =
    & z1 c) ?1 s3 k6 ~6 N) \7 R* D

  179. 8 m" C9 Q$ K" E" R: S% ^( U3 P
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)  P9 \! ?+ ^) S4 n! L
  181. ;user_ini.cache_ttl = 300; I: h! i% T5 m+ A

  182. 4 p7 L5 {6 C% v# r5 @7 f
  183. ;;;;;;;;;;;;;;;;;;;;
    0 A( O8 M# F6 F( `. T, m$ R. S9 N
  184. ; Language Options ;
    : j$ _$ L! g9 f/ `0 v# L
  185. ;;;;;;;;;;;;;;;;;;;;( r/ f: M6 t. g7 ?# o0 c
  186. ) w+ m+ T9 {  |2 O: I, \
  187. ; Enable the PHP scripting language engine under Apache.5 B. O6 x4 {  m3 n
  188. ; http://php.net/engine  [- \" c8 b+ t
  189. engine = On0 H& K: ^* N; ^6 L6 S" U
  190. % {+ k; Q$ C" J  a2 T
  191. ; This directive determines whether or not PHP will recognize code between8 |1 h) H) W( b; F
  192. ; <? and ?> tags as PHP source which should be processed as such. It is" b% P" i$ s9 i7 S' E$ x1 F9 Y
  193. ; generally recommended that <?php and ?> should be used and that this feature
    . ?) m; r+ Y' g+ G; G; H$ N' z
  194. ; should be disabled, as enabling it may result in issues when generating XML' I3 H* l6 e  J4 U
  195. ; documents, however this remains supported for backward compatibility reasons.
    / X. L) s' V1 ^% c7 o
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    & T' V( e0 i/ Z" P, [9 Y
  197. ; used regardless of this directive.
    5 t6 n8 K: P  l2 K3 ]1 T
  198. ; Default Value: On  l4 n: [6 [6 \4 @8 }
  199. ; Development Value: Off9 r8 P2 m; r1 `; j- f
  200. ; Production Value: Off* M: K5 b8 X6 q, y5 W# J
  201. ; http://php.net/short-open-tag
    6 `$ a. x  _3 q& l6 `! U) s
  202. short_open_tag = On
    $ E7 _' H7 V" |( a

  203. / T3 V4 H, K& q
  204. ; Allow ASP-style <% %> tags.
    " V# ^% ?- W7 K: u) D
  205. ; http://php.net/asp-tags7 y, T* d1 X/ ]+ N
  206. asp_tags = Off
    6 y! j- L3 n6 ?- U

  207. , a( c# c7 C1 i7 n, [# Z0 Z
  208. ; The number of significant digits displayed in floating point numbers.0 n8 V8 \) {" U$ C
  209. ; http://php.net/precision
    + g6 Y$ v6 r# \: q; i
  210. precision = 14
      _% W" N# `3 G' d

  211. + q# W% X$ y+ H9 k1 b; @
  212. ; Output buffering is a mechanism for controlling how much output data
    + Y( e5 A3 G, Y6 R
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    7 k; f+ S% C: ?( f0 {' J
  214. ; data to the client. If your application's output exceeds this setting, PHP
    3 I5 Q( M$ M. c' p  A, i
  215. ; will send that data in chunks of roughly the size you specify.
    & }1 ?. n% Z8 \) ?; ]
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    ) c( i# K, q% ]) }! z7 D
  217. ; interesting side-effects depending on your application and web server.: `- y+ x9 S6 ~. K" P
  218. ; You may be able to send headers and cookies after you've already sent output
    % l) l/ M! M! T& ~
  219. ; through print or echo. You also may see performance benefits if your server is
    , j3 X3 X, N0 J
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    9 G6 C* L  w- c" }3 l
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    9 ?6 n* e/ g8 X3 W0 {: V
  222. ; reasons.* A9 b+ H, N) c3 @. R' N* W. C
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    : @7 g0 j1 K+ M% r+ L+ G
  224. ;   functions.# ^7 ?, r8 _* X, T  `
  225. ; Possible Values:
    4 S7 l6 o. e' G* Y
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)6 Y; [# B, T4 h: j# r/ N1 ^
  227. ;   Off = Disabled' f: `5 T* o  {+ i  p5 t
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    - e7 _) T. z5 r* F& e" d
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    / |$ e# N; j# A9 n1 l- ^, u/ S
  230. ; Default Value: Off) g' g5 G# W% x# s; y6 h% u7 @6 z1 {
  231. ; Development Value: 40969 f6 _, [! w3 p% W
  232. ; Production Value: 40962 i. v# o" U" L, x$ o2 B* _
  233. ; http://php.net/output-buffering: i+ D& T  W. t# T
  234. output_buffering = 4096: ?7 P: C/ b9 D  \5 c

  235. 4 s* q/ ?/ V9 z( L  u
  236. ; You can redirect all of the output of your scripts to a function.  For
    # n% s) n& A- ~( l
  237. ; example, if you set output_handler to "mb_output_handler", character& y  q" r( K* s& z
  238. ; encoding will be transparently converted to the specified encoding.
    , g) i& {4 j' m% ?
  239. ; Setting any output handler automatically turns on output buffering.( }, U* D, {4 d* t* Y3 K
  240. ; Note: People who wrote portable scripts should not depend on this ini
    0 Y! i8 J3 u' b$ W9 W0 e, [" N  B
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    5 F# m7 b5 _8 S) A- C3 g& A
  242. ;   Using this ini directive may cause problems unless you know what script' A9 p) X4 |- F$ V
  243. ;   is doing.3 H' ]$ j' e& x9 q% D9 O% u5 _: s
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"! s+ a5 ]4 k( X1 `4 k' k/ H
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".0 W0 x- i, A1 Z$ u$ Y! r  V8 A
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    ( {( |% m) h/ X, U  p7 i$ a
  247. ;   Instead you must use zlib.output_handler.
    $ T% k) C. S' C
  248. ; http://php.net/output-handler# U, Y, ~, d4 V
  249. ;output_handler =
      b: M. |7 b2 @. F; M0 H3 E: R& y
  250. 0 s- J' P8 A) U9 }* C6 b
  251. ; Transparent output compression using the zlib library
    0 Y  P# b- _0 H
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ( t$ |4 j" @( d9 o# g0 @% ?6 y  N
  253. ; to be used for compression (default is 4KB)
    8 X* O5 o& T( J
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    . ~$ P, h" `# [* u7 i
  255. ;   outputs chunks that are few hundreds bytes each as a result of5 n$ x0 q. _$ L0 f( T
  256. ;   compression. If you prefer a larger chunk size for better* U7 S8 F" U9 ]6 ?
  257. ;   performance, enable output_buffering in addition.6 O! W1 @7 a  Z
  258. ; Note: You need to use zlib.output_handler instead of the standard
    ) z" E! `% W7 o) M, J
  259. ;   output_handler, or otherwise the output will be corrupted.4 @5 o  L0 ^/ U& E9 Z" ]
  260. ; http://php.net/zlib.output-compression$ h1 ?8 t& S' Z  e
  261. zlib.output_compression = Off
    , G$ Y+ I2 s# J/ a9 ^- k. c. R
  262. ) Y1 [! U/ ^- }* Z5 J
  263. ; http://php.net/zlib.output-compression-level2 b! [# h& \5 r4 U, \: v' F' W
  264. ;zlib.output_compression_level = -1' T+ V2 E& W/ x% Q

  265. . N( q! D: r5 f5 }  C# z" {+ D
  266. ; You cannot specify additional output handlers if zlib.output_compression
    : y& g  h; z) ~* u3 ~5 q1 l
  267. ; is activated here. This setting does the same as output_handler but in0 Q- g' J# J9 t% o; n% a
  268. ; a different order.
    0 {! ~0 ^6 Q6 D9 G( h2 c
  269. ; http://php.net/zlib.output-handler
    ! j5 R7 e# |) ]. k) x! g
  270. ;zlib.output_handler =
    + X6 c, k1 ^7 |( W1 {  \

  271. : l  g/ K2 ]. a. x
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    7 _. D. z9 V, v+ R
  273. ; automatically after every output block.  This is equivalent to calling the! z6 u# p2 n: L
  274. ; PHP function flush() after each and every call to print() or echo() and each
    & i5 L9 ], S5 m
  275. ; and every HTML block.  Turning this option on has serious performance
    $ L; y' N2 Q6 c# R  }; L3 x
  276. ; implications and is generally recommended for debugging purposes only.8 x0 F: I3 n: O2 X2 e
  277. ; http://php.net/implicit-flush
    + N+ n6 h, U" ?; N' t
  278. ; Note: This directive is hardcoded to On for the CLI SAPI0 l  o: F3 C  e% y
  279. implicit_flush = Off
    0 G6 |1 R+ f/ F; _; J

  280. 6 L6 k0 y0 z! l8 d$ o) [
  281. ; The unserialize callback function will be called (with the undefined class'
    6 z4 P2 y, u0 Q7 w' J1 j/ s3 v9 y
  282. ; name as parameter), if the unserializer finds an undefined class# }7 C9 P# E- ]
  283. ; which should be instantiated. A warning appears if the specified function is
    7 w! a8 n: H; V4 d" X$ m9 R" x3 V. r
  284. ; not defined, or if the function doesn't include/implement the missing class.8 w9 V, Q" b% R% C( R
  285. ; So only set this entry, if you really want to implement such a! ?0 g9 `4 C/ ^# h/ ]3 _
  286. ; callback-function.
    - V  F5 m# o4 S" A" I
  287. unserialize_callback_func =/ H1 a+ G( e' l. G9 z$ ]+ Y& A
  288. ; ]; D. c/ u4 c7 C) L; _
  289. ; When floats & doubles are serialized store serialize_precision significant
    $ f4 K5 e. t) R4 P& k
  290. ; digits after the floating point. The default value ensures that when floats% n9 H1 [  ]. m* `6 ?: `7 u
  291. ; are decoded with unserialize, the data will remain the same.- ^/ ]8 @$ r2 ]4 I/ O. A
  292. serialize_precision = 177 c6 J: R0 R, d6 L: S, |

  293. " e- d5 C6 i0 o+ B5 C' s
  294. ; open_basedir, if set, limits all file operations to the defined directory. H9 x6 z4 D: p1 m
  295. ; and below.  This directive makes most sense if used in a per-directory
    0 t+ z5 M0 I4 G' y& X0 ?0 A& t6 O
  296. ; or per-virtualhost web server configuration file.
    . ~% U. N3 p, I+ N9 a- x9 G6 Q
  297. ; http://php.net/open-basedir
    ' [% k5 Q; f3 n$ P' K! p7 @
  298. ;open_basedir =" v) P& [+ m* B# F1 o: F
  299. - X) ]. F* X& V; ~* C, c  m9 l
  300. ; This directive allows you to disable certain functions for security reasons.
    3 f) S& ?# @! z
  301. ; It receives a comma-delimited list of function names." ]( a, j/ I! x; R" E' K
  302. ; http://php.net/disable-functions
    % B+ L* z( e8 `& Y+ k+ h
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru3 S# t6 M# V% m) @

  304. 3 U( u, o; z) B9 U4 w
  305. ; This directive allows you to disable certain classes for security reasons.
    8 M( Z! _/ [6 e; y0 F  g
  306. ; It receives a comma-delimited list of class names.
    # N; o8 C' \9 {
  307. ; http://php.net/disable-classes9 r3 R5 i( ?0 I
  308. disable_classes =
    $ p) _- x. x% [9 _+ f# o! {+ C
  309. . {& i6 V0 Q) R0 y
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ; D' x) T8 r) U% m% Y* e% v
  311. ; <span style="color: ???????"> would work.% B/ l' x0 D- Z, t
  312. ; http://php.net/syntax-highlighting2 z8 B5 U) h$ N8 d
  313. ;highlight.string  = #DD00003 g6 O) l+ f0 ~) H; Y5 n
  314. ;highlight.comment = #FF9900
    8 o, S- i+ G: o1 d
  315. ;highlight.keyword = #007700  D4 B5 O7 N7 R3 `' e
  316. ;highlight.default = #0000BB
    7 U, ~3 L6 V/ i% q9 V8 \$ O
  317. ;highlight.html    = #000000) m6 d: H0 g8 `1 R7 F

  318. 7 N2 v% q9 o2 [$ D5 W+ i
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    # X, K' e  w2 M& P5 F
  320. ; the request. Consider enabling it if executing long requests, which may end up
    . g5 g. R+ H" p* J! c$ Y
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    4 x  H" ?$ b8 Z' }, m5 w* s
  322. ; is to disable this feature.; ]$ V* g' d$ |/ s7 z: Y- P
  323. ; http://php.net/ignore-user-abort. A" f3 p- S( T  p
  324. ;ignore_user_abort = On0 T; _+ B5 G% f: R
  325. # s/ y9 m: Q+ }8 F0 n, G
  326. ; Determines the size of the realpath cache to be used by PHP. This value should& `8 y- N2 w" Y+ R. e
  327. ; be increased on systems where PHP opens many files to reflect the quantity of1 B5 K7 M; F' m0 m
  328. ; the file operations performed.
      u! Y% e& h( M6 B
  329. ; http://php.net/realpath-cache-size5 X: E% y7 P& ~5 j
  330. ;realpath_cache_size = 16k. F4 f+ A6 O6 @* m

  331. 5 @" }+ \, S; {3 G. a. s
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    + Q: u- v2 Z  Q( t6 j
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    : C6 H2 o; X1 l) O( ?1 W
  334. ; value.
    . O* I4 q& J6 i" n
  335. ; http://php.net/realpath-cache-ttl
    9 o* B" m4 ?7 o$ K# e
  336. ;realpath_cache_ttl = 120
    " k; k3 ?4 c2 Z; z# f0 n! {

  337. " b3 W% L, ]; y
  338. ; Enables or disables the circular reference collector.# Y& d+ U# |+ q6 ^, d; W! S
  339. ; http://php.net/zend.enable-gc
    0 Y, F& i$ M9 J4 @
  340. zend.enable_gc = On
    2 \' r( F) c0 }4 s/ v5 [
  341. ( ?. H' F5 m# z3 e' k
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    5 ?% l6 `/ i2 l1 P3 e4 ~3 I3 R
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such7 i% |" x3 v# \9 Q/ p7 \! J
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    / Q1 O! F9 ~) m$ n- Y+ |4 M
  345. ; Default: Off/ D5 m2 D3 P* G$ C# ^
  346. ;zend.multibyte = Off' S- M; F4 t/ W

  347. 2 X6 g* |, n1 L) V* |. q5 I* Z( Z
  348. ; Allows to set the default encoding for the scripts.  This value will be used' b- x4 H5 c5 h% p& B9 ^2 w, d
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    3 q% D# k+ j$ G* U' ?$ }
  350. ; Only affects if zend.multibyte is set.  m. l" J8 C/ c9 Y
  351. ; Default: ""
    ! N6 Z, M' q" T5 d3 A
  352. ;zend.script_encoding =+ o9 z; H% ^) u4 r: `6 H

  353. 0 O# F0 P' y7 ~; Z6 n8 g
  354. ;;;;;;;;;;;;;;;;;
    2 G& {9 b1 R; j. L9 _( O2 D
  355. ; Miscellaneous ;
    4 H1 b3 w! F; b1 j7 T% q
  356. ;;;;;;;;;;;;;;;;;
    : \; Z8 d( _( ^8 }; I
  357. ( `6 K6 q! ^# z8 j
  358. ; Decides whether PHP may expose the fact that it is installed on the server/ v+ a7 Q/ D* x( v, B$ S" S
  359. ; (e.g. by adding its signature to the Web server header).  It is no security) \% \4 {9 E. c0 R0 `' _% m' y
  360. ; threat in any way, but it makes it possible to determine whether you use PHP& Z- U* k& N9 w' I# x$ T9 h) d+ v: {
  361. ; on your server or not.8 V& \. X- L/ j9 X+ k+ v7 g
  362. ; http://php.net/expose-php
    3 I% y8 m7 R  I7 _, u
  363. expose_php = On
    # E$ O! j' F" o! q6 i+ ~( m

  364. ' {0 A! \" G8 W$ l# Q2 b
  365. ;;;;;;;;;;;;;;;;;;;
    $ Y" `2 w- A; S' `0 i
  366. ; Resource Limits ;: _9 @1 \+ p5 E: `1 `
  367. ;;;;;;;;;;;;;;;;;;;
    ; B. j# P2 e7 s. N* a

  368. 8 c+ u' \$ y( i
  369. ; Maximum execution time of each script, in seconds$ o1 f3 R  t. K/ p6 V1 @
  370. ; http://php.net/max-execution-time
    7 [% W) _  i1 j( l0 h3 o
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI3 e& a4 o" }/ \* M* f
  372. max_execution_time = 300
    ; C7 R; ?  P; E8 h

  373. 5 o; h/ s& q2 X; N' V
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    - r/ J2 B. M* a# G6 Y' A( }7 ^
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    0 j3 Z2 L+ f9 m' ^
  376. ; long running scripts.
    & w# b  j% v- x' [6 r! K
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI8 R' u( U& Y) b- V- d$ T, h
  378. ; Default Value: -1 (Unlimited)
    4 S& J% F- a' f! J) \! }
  379. ; Development Value: 60 (60 seconds)
    / B2 P; R  Z$ `5 W
  380. ; Production Value: 60 (60 seconds)
    9 I3 n. E) f5 Z: g( e
  381. ; http://php.net/max-input-time" v, I& N& p1 E4 o+ Z
  382. max_input_time = 60
    % k% Q8 N* i# c4 N) z

  383. ( P- h  d, b# ^9 Z+ ~( {
  384. ; Maximum input variable nesting level' K* B0 m. ?8 i! y2 B/ y
  385. ; http://php.net/max-input-nesting-level
    - W: j9 U) v9 N# m1 X9 q
  386. ;max_input_nesting_level = 64
    0 G3 S& w* r8 \! x; _1 F# A

  387. 3 X. [. h9 q2 N
  388. ; How many GET/POST/COOKIE input variables may be accepted
    2 c' j6 G! N7 o' w) n
  389. ; max_input_vars = 1000
    6 \  @+ l" N# B2 |: E" R

  390. 7 E: w  u, _+ }
  391. ; Maximum amount of memory a script may consume (128MB)$ B/ K) k/ |! X
  392. ; http://php.net/memory-limit
    4 g9 b" C2 h2 b" r" x, a9 c/ P9 ^
  393. memory_limit = 128M0 ~6 h; x. Q: K7 l1 I

  394. " @5 [, j" [: s7 B" j4 D
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    : K2 P# d" X# C8 Z8 R; O2 b7 ]4 ?, H
  396. ; Error handling and logging ;
    0 o2 |" F$ {& _; A% b
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ( M0 p* \0 S7 v% \# h+ `

  398. ; B* w& D- i/ F6 `/ N
  399. ; This directive informs PHP of which errors, warnings and notices you would like  M- g  m% N3 e9 ]) w5 g2 D$ R
  400. ; it to take action for. The recommended way of setting values for this7 K* `* F3 t" l9 R# S9 J5 E& R
  401. ; directive is through the use of the error level constants and bitwise
      D( G9 [$ S2 H7 N6 M  N
  402. ; operators. The error level constants are below here for convenience as well as
    7 c& Y1 ^( u" N; F3 }0 k$ ]
  403. ; some common settings and their meanings.
    / a/ |& s% F# a5 W
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT$ a$ Z/ \4 Z/ h& Q. H. p- m
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    / a* t. a" r# M8 A4 e5 D# B9 ^9 ~
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    0 Q6 n+ T7 ^* t9 z  U
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ( g7 h- A/ X! ^& K  l! n+ _
  408. ; resources complaining about best practices and coding standards. That's what( k5 c& r# q7 ~$ ~7 J0 b
  409. ; development servers and development settings are for.+ @5 e) f3 g# }- O& F" d
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    # {* T, y8 ^5 F4 x% W- y
  411. ; means it pretty much reports everything which is exactly what you want during* a5 f% {+ A$ y$ L% s3 L7 [4 a
  412. ; development and early testing.
    * ]; t" u; i; r2 s& d* Z
  413. ;
    2 A" D0 Y( G, y+ E$ _
  414. ; Error Level Constants:+ X* u/ v. N$ v4 F. g
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    : i1 _% }3 ~9 U
  416. ; E_ERROR           - fatal run-time errors
    9 A1 U4 P) t4 L
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors$ Y. i; e: v$ l2 \4 m
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    7 l4 X* R: K% z$ _: M
  419. ; E_PARSE           - compile-time parse errors
    7 K3 G! G) f9 U2 w; j1 a" D6 T. V
  420. ; E_NOTICE          - run-time notices (these are warnings which often result8 E; e1 B2 O) r9 m) K
  421. ;                     from a bug in your code, but it's possible that it was6 c6 r6 ^- ?3 D' n( D( k
  422. ;                     intentional (e.g., using an uninitialized variable and) \. l+ {0 f9 M9 F
  423. ;                     relying on the fact it is automatically initialized to an
    7 o- R3 P' C9 E4 W, G) l7 _9 S1 M9 E
  424. ;                     empty string)% q; I, m* u: Z0 e. O, Z9 n
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes7 D- v; L5 l/ r* @
  426. ;                     to your code which will ensure the best interoperability/ @0 X1 ]; {; N' k. v
  427. ;                     and forward compatibility of your code
    & A$ P8 L4 t9 o+ i% c, s3 r
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup6 `7 Y/ h; w" `7 D' V9 R
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    + f& G' H/ {+ p8 u; J
  430. ;                     initial startup9 f5 S/ p" g1 H( A% y& O
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    % K9 u8 O% F( e+ p6 X' H
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    4 Y6 \; Y6 \) b& v3 X: r' r4 ^
  433. ; E_USER_ERROR      - user-generated error message
    2 ~  Z6 o* q% X8 r# a
  434. ; E_USER_WARNING    - user-generated warning message
    & y  K! I: K, }% J0 Q3 X
  435. ; E_USER_NOTICE     - user-generated notice message
    8 Y) W% H) a* b7 \
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    5 d/ ^7 r% r. C' p2 X8 O& F8 U
  437. ;                     of PHP
    / w7 ?9 Q1 s, N5 M' P' D: i
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings: h  V. B1 H) B
  439. ;$ N" D$ N2 [5 t* }% \
  440. ; Common Values:2 |' A) l' _8 ?( P  B$ n
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)  c" {! ~. X2 C; \- X2 _" K. c2 J
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    $ b. N4 R2 E& U% T% D) m
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    0 H4 J% q0 K, [2 E  K
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)7 p2 {1 i1 N. h' W
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    + A4 Y/ x: _" s% o
  446. ; Development Value: E_ALL
    2 A  x- I% m4 _6 D" \0 U
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT* y7 {5 v9 c, r1 o+ R
  448. ; http://php.net/error-reporting; @4 }5 f8 t6 h0 ^' d
  449. error_reporting = E_ALL & ~E_NOTICE" Z5 y5 z4 g! Q! G8 _0 O
  450.   s* p7 y6 D) M! G' I- n; X
  451. ; This directive controls whether or not and where PHP will output errors,- y% e* H# x. y4 Z
  452. ; notices and warnings too. Error output is very useful during development, but
      Y! ?6 D; o5 j4 s
  453. ; it could be very dangerous in production environments. Depending on the code& t7 G  P( ]2 |3 S$ o: f0 S
  454. ; which is triggering the error, sensitive information could potentially leak
    7 v7 V. N6 K2 b- H6 |- ]
  455. ; out of your application such as database usernames and passwords or worse.
    ) n8 a! h8 I, P* R. }
  456. ; For production environments, we recommend logging errors rather than
    5 V1 P3 i' I* D, H$ {
  457. ; sending them to STDOUT.
    8 h( X, S3 j6 F* n* g" q/ e3 T
  458. ; Possible Values:* s* w+ }3 p  {1 c* G( G' e) @
  459. ;   Off = Do not display any errors
    ) n: l2 [3 J, B5 z1 {
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    - H7 ^+ S6 \) ]6 [5 _4 S. C
  461. ;   On or stdout = Display errors to STDOUT
    2 g7 z' }" D9 b
  462. ; Default Value: On
    - {8 z- m6 ?1 v9 e# t" a* }. i+ }
  463. ; Development Value: On
    3 C2 G6 Q( w) P, k  c8 F: }
  464. ; Production Value: Off4 A! j: q- M; W6 H
  465. ; http://php.net/display-errors% N* F7 P# g& o/ m% n  r
  466. display_errors = On
    9 \1 l6 b/ t' y1 M4 R3 \/ H. i1 W
  467. 3 n1 Q4 d' H0 \% w! C- t
  468. ; The display of errors which occur during PHP's startup sequence are handled. D% N# t1 _& W8 m+ T
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    / Y# Z" Z) ?" R( _8 H  E1 G
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    ) t1 s9 p8 d. ^* I2 N0 \) T
  471. ; debugging configuration problems. We strongly recommend you! I5 H: a6 {& H! L: f1 B% d: w
  472. ; set this to 'off' for production servers.
    , G0 K7 I9 V0 d0 t
  473. ; Default Value: Off# ~) J5 b- _! m+ S6 P# J
  474. ; Development Value: On
    . h+ }1 v/ I1 c+ m( d1 g
  475. ; Production Value: Off
    . |3 n8 e; z8 u: @- O$ p1 x( j; y  _
  476. ; http://php.net/display-startup-errors/ V5 _2 f- d$ T& o3 G6 K
  477. display_startup_errors = Off
    6 n, s& R% p1 B3 u$ j
  478. 5 l6 w1 c2 D: K8 A3 n. `! u
  479. ; Besides displaying errors, PHP can also log errors to locations such as a3 M1 B) P- v8 E) Y* N) O
  480. ; server-specific log, STDERR, or a location specified by the error_log
    , r  E2 B/ }' c) a4 E& ~$ U
  481. ; directive found below. While errors should not be displayed on productions6 p) J( E/ r: o
  482. ; servers they should still be monitored and logging is a great way to do that.6 ~6 \) U/ z% v3 Z
  483. ; Default Value: Off
    8 j6 |) M  @, L% C
  484. ; Development Value: On* q1 j1 P4 _( v* |& B: a$ E
  485. ; Production Value: On
    : g$ {7 V5 [  t
  486. ; http://php.net/log-errors+ V# i; J0 n( f% U. D) L+ O2 ?
  487. log_errors = On: C; l( Y* b4 X/ S7 Y
  488. / \0 W/ @$ c0 p" B3 r; \- [, }
  489. ; Set maximum length of log_errors. In error_log information about the source is
    ! m$ i( Y% p$ X8 _1 p# Z
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    * Z8 G% ~) S" ?7 ]: k
  491. ; http://php.net/log-errors-max-len# |! D1 i+ @3 u7 Q! g5 S
  492. log_errors_max_len = 10247 v' P/ y, w1 ^; @4 X

  493. * a& Z: H) y/ c! w# G2 q
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same2 {" R& A: W' w$ Z
  495. ; line unless ignore_repeated_source is set true.
    ) V, W' n2 {0 i: V- \0 A
  496. ; http://php.net/ignore-repeated-errors
    1 }) ]6 K8 w  `- D$ o1 @+ k
  497. ignore_repeated_errors = Off0 Q* t+ {- T8 V2 x, C

  498. 2 |4 ]% U" a; s/ x5 t9 Y& p4 Z
  499. ; Ignore source of message when ignoring repeated messages. When this setting* m) K* R( V0 r# x, i& {
  500. ; is On you will not log errors with repeated messages from different files or, A! u. Q, b6 o0 t5 Q, I& y: x
  501. ; source lines.) ]0 m" Y) {9 y6 r* c+ e
  502. ; http://php.net/ignore-repeated-source- C5 i; ?, X+ E! E  t
  503. ignore_repeated_source = Off
    ' I2 s7 u/ A" E+ v

  504. 3 ]% E8 d: q/ i. G3 {  L' x, j" q# e
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    0 a1 s# P' ?/ {/ t) b, V
  506. ; stdout or in the log). This has only effect in a debug compile, and if' @, b% n& p3 v! p7 a# b
  507. ; error reporting includes E_WARNING in the allowed list
    9 m. s2 r6 c; ^' l( i
  508. ; http://php.net/report-memleaks# k& z; X3 m' ?
  509. report_memleaks = On
    9 K. m$ Z/ T% _6 D7 e9 j# a% p

  510. 2 `# t# ~: s( ?6 P% ~" c* z
  511. ; This setting is on by default.1 y1 T7 F4 B( y+ F  e
  512. ;report_zend_debug = 0$ d8 i. P; B9 @5 q: \" }; P7 f

  513. 6 d1 ]- M9 R- i, F  T
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    1 I' i' ~5 ~" V) Q( a
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    - z% [# Q& {. S) l3 u
  516. ; however be disabled on production servers.
    : q: i1 |# A# ~: _( B6 z2 a
  517. ; Default Value: Off
    . V' e5 ~7 M2 b
  518. ; Development Value: On* Z$ I) k( m# P; l
  519. ; Production Value: Off
    ! ^# P% J2 O5 i* F1 W9 y8 \
  520. ; http://php.net/track-errors
      C0 m0 B9 j7 c! S2 ~
  521. track_errors = Off
    4 M) N$ D1 U, g' z
  522. % ?: d/ K4 A1 a2 o+ y! ~
  523. ; Turn off normal error reporting and emit XML-RPC error XML" @9 }4 Z" p4 {3 O
  524. ; http://php.net/xmlrpc-errors
    4 Z  R1 o% A& t# n, R6 z5 v
  525. ;xmlrpc_errors = 0$ Z8 B3 }0 ~8 Z9 U3 M
  526. # l' l' e! T! t* u
  527. ; An XML-RPC faultCode. W% z9 n! u5 S) ^( ]# {7 e
  528. ;xmlrpc_error_number = 0
    : v2 h$ n' }! U( p. t+ l
  529. ' j1 H. m* a. c- o5 O  I$ D
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    % @" p. W' L% A
  531. ; error message as HTML for easier reading. This directive controls whether9 H% _% L: S! Y2 H  z
  532. ; the error message is formatted as HTML or not.
      ~" B9 s0 {, X5 Y: }- ]
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    . R  z) L  I. G7 R7 `
  534. ; Default Value: On2 f$ Y# F" u" }! m
  535. ; Development Value: On
    ; K! r0 d- q9 p( Q( D& {) m8 w
  536. ; Production value: On
    * V# V0 t  M3 U5 P" V4 V
  537. ; http://php.net/html-errors& M: U, y+ _7 m# c* g$ R0 I
  538. html_errors = On$ Y/ V: W& q2 z, _' `% s

  539.   t: P( c0 L# m* Y; l1 @4 G  Y- g
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    . B7 R4 m0 D$ P+ ^, j
  541. ; produces clickable error messages that direct to a page describing the error- `& J+ y5 c! K" X
  542. ; or function causing the error in detail.
    # o9 ^+ g6 x2 S$ D
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    : |: g( B5 i8 _/ c" _# m
  544. ; and change docref_root to the base URL of your local copy including the. o. T( T, t3 ]8 ~
  545. ; leading '/'. You must also specify the file extension being used including# F" a5 ?# q# e3 L. X
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which! {* Q7 b6 ]( F0 H1 ?, n# ]' A
  547. ; case no links to documentation are generated.0 ~* D  @& u# {' D# l8 o1 A& k
  548. ; Note: Never use this feature for production boxes.
    3 o. S" m1 |  u- l( `1 i
  549. ; http://php.net/docref-root
    6 {0 T9 R  X8 p! _# Q0 x
  550. ; Examples! T: M. C* H( b; K
  551. ;docref_root = "/phpmanual/"
    $ e( c- y8 _" s- ~( U
  552. * s" g. C/ z0 K
  553. ; http://php.net/docref-ext5 F( m% \, X6 q' `/ y+ P4 B2 B
  554. ;docref_ext = .html
    9 M% o) r4 d2 Z1 X$ w
  555. / x6 x' I2 A) t
  556. ; String to output before an error message. PHP's default behavior is to leave/ _; Y! M2 p( T5 e
  557. ; this setting blank./ E3 a6 a0 }% A5 a' ~3 X: e
  558. ; http://php.net/error-prepend-string' g; x0 w6 D( w
  559. ; Example:% v. G& q3 }! O2 Y. G
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    9 y( M* |/ f0 @' K
  561. 2 w* e2 g- M; i; I- R/ T
  562. ; String to output after an error message. PHP's default behavior is to leave. m3 `. ?& K1 ^* f
  563. ; this setting blank.6 u- n* S' l" a6 b7 U/ e, q3 s
  564. ; http://php.net/error-append-string" P8 x$ K  K* C6 o# m6 D& P9 P- R
  565. ; Example:
    ( J& I$ f& Z; K  b. A; W. z5 B$ J
  566. ;error_append_string = "</span>". }9 ~3 Y5 X7 k( L$ R, }( k
  567. , u  U; k. n2 \% V" E
  568. ; Log errors to specified file. PHP's default behavior is to leave this value2 @5 ^9 U3 R8 y1 l: L4 i5 T
  569. ; empty.
    1 W# a0 A" u5 h' E. X# q9 L
  570. ; http://php.net/error-log- B" u4 j* c# P- _! h/ y
  571. ; Example:' i. G  q( D  D2 x; D
  572. ;error_log = php_errors.log
    " n+ ?; [; l: d
  573. ; Log errors to syslog (Event Log on Windows).1 }: Y$ b& F! ~) q! D9 }
  574. ;error_log = syslog* y% ?5 z) t/ N% c0 {- r' h4 ^

  575. " J. L4 u1 V+ S
  576. ;windows.show_crt_warning
    3 n2 ]1 `: U* B! u) B' x3 v* ?
  577. ; Default value: 00 n7 `/ b0 j  P$ ~8 q# j
  578. ; Development value: 0  `* c; h- Y3 a# M  a2 E
  579. ; Production value: 0
    7 r/ A; u, j( p) d$ x& Y7 m1 W
  580. 8 O( i$ S9 `0 u9 H$ c" k
  581. ;;;;;;;;;;;;;;;;;
    ( \2 W* ]- S2 w# M: o6 T
  582. ; Data Handling ;
    2 ^7 z/ E) u4 e$ G
  583. ;;;;;;;;;;;;;;;;;
    / Y: @8 k/ I% I3 q- H

  584. / J+ f, }& ]' ~/ |# c0 Q& ]) M
  585. ; The separator used in PHP generated URLs to separate arguments.
    + t* s6 Y3 _# a# a! i1 E
  586. ; PHP's default setting is "&".# G+ z9 X7 n) T& T
  587. ; http://php.net/arg-separator.output) x. Q' b, L1 a; H
  588. ; Example:
    / N% A# l  E! t' Z7 l% X/ E* W! c
  589. ;arg_separator.output = "&amp;"
    3 w6 R* S# y5 `2 W3 j) f6 ^

  590. 6 B1 ^# H$ [4 L. b; `* d
  591. ; List of separator(s) used by PHP to parse input URLs into variables." z( q7 |. _' k3 i: d( Q# w
  592. ; PHP's default setting is "&".
      U( s8 B: ]3 v# `$ ?$ R
  593. ; NOTE: Every character in this directive is considered as separator!% K! B; _8 w7 H& M& T
  594. ; http://php.net/arg-separator.input; Q+ t. Z% t. X& v2 E6 b
  595. ; Example:
    2 S5 v3 L; J9 E- w  [
  596. ;arg_separator.input = ";&"
    2 y$ o2 `/ g2 Y* ?

  597. . a6 b  l+ S. M+ k5 Y- L
  598. ; This directive determines which super global arrays are registered when PHP& ?6 y: ]4 S) o7 W* `7 F8 w/ I0 a
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super5 V7 x9 A! n) |9 M
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty. v1 C/ b, }! {! c
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    # z3 f( T( C1 D& g9 {) G
  602. ; used as the others, ENV is not recommended on productions servers. You" z4 c. m: s/ E
  603. ; can still get access to the environment variables through getenv() should you7 X* v+ b) K0 q! `
  604. ; need to." T2 U  a/ N# M* h9 z8 J
  605. ; Default Value: "EGPCS"
    1 F; ^+ _" H9 f* M) z
  606. ; Development Value: "GPCS"$ t, V8 H0 T$ g5 D3 V
  607. ; Production Value: "GPCS";
    : T! b1 v( W+ k; i( P3 G, j% b
  608. ; http://php.net/variables-order& B2 R2 D  H4 n! A3 ?, ?" b, M6 [& M
  609. variables_order = "GPCS"8 m3 D" ?2 s3 a+ S% z% Z$ V

  610. % P8 W$ T: z8 l0 B! l. J3 b
  611. ; This directive determines which super global data (G,P & C) should be$ Z! `" C/ E" z
  612. ; registered into the super global array REQUEST. If so, it also determines
    2 |' u+ _$ B, [+ h& d7 A: ~
  613. ; the order in which that data is registered. The values for this directive! ?* I7 ^% X8 x! [: r: p
  614. ; are specified in the same manner as the variables_order directive,
    ! b; c4 ?& B9 a- X6 |. v: s
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set+ v) j+ F" M; z6 e
  616. ; in the variables_order directive. It does not mean it will leave the super+ L4 _3 Z9 ^( v% I& v  @! D
  617. ; globals array REQUEST empty.
    / p( r! X; H+ p! g' [
  618. ; Default Value: None
    5 o* i) n( y& i& R  e( G1 Y  p
  619. ; Development Value: "GP"
    9 C% U6 s- a, C& d3 i# `
  620. ; Production Value: "GP"
    ; {8 u* P7 I5 I8 v" E9 l9 x; e; J
  621. ; http://php.net/request-order2 `2 N* m0 s0 G
  622. request_order = "GP"
    : H8 d4 k5 }$ g5 e6 L8 a* ?0 ^) M

  623. ; V! C2 Q5 O! D$ B; J
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    ( M& X4 s% g, S6 ~/ O* @; m
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    * W- h4 |' o5 k4 `
  626. ; is invoked. $argc contains an integer representing the number of arguments
    3 @( W3 e* q. g7 F0 |
  627. ; that were passed when the script was invoked. These arrays are extremely, p  J- d- T8 o4 g) A
  628. ; useful when running scripts from the command line. When this directive is4 e$ V2 B) M  A  M) s' T
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    ; ?( b8 N; c+ Z
  630. ; a script is executed. For performance reasons, this feature should be disabled5 a  g( A, e3 V6 @" w' H
  631. ; on production servers.
    : o) F+ H/ z6 J: u3 `
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    - P* t4 \1 t. x5 i: K+ ^
  633. ; Default Value: On5 B, M% a* M3 E4 s2 U+ f/ F: D
  634. ; Development Value: Off; J# }7 Q* L5 w# H7 Q9 U
  635. ; Production Value: Off
    $ \* S* O% W+ B( J, L% ^$ H4 S
  636. ; http://php.net/register-argc-argv
    " h( o- ]2 G7 m9 ?3 z
  637. register_argc_argv = Off" h( e" M5 H! _6 M4 W6 M5 n

  638. ! b% w5 [9 G  L8 S- m" R: y; v
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're9 x) X- v, L7 y9 C
  640. ; first used (Just In Time) instead of when the script starts. If these
    ( n* d- o% j# d, ^
  641. ; variables are not used within a script, having this directive on will result" e1 \- U$ L  _; \, H0 \
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ' {8 Q+ v! G: J' s1 M$ l
  643. ; for this directive to have any affect.
    / G9 a7 Y% a" G: P
  644. ; http://php.net/auto-globals-jit
    - P. f5 t% Z' U2 B- i( K1 K
  645. auto_globals_jit = On+ |4 ?- O1 d  ]4 _2 K6 A
  646. ( B1 u$ v% U& O# G: P/ H
  647. ; Whether PHP will read the POST data.: m* Y/ E9 g/ k7 K' J
  648. ; This option is enabled by default.
    9 N5 K( h3 m, ~
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST, \1 ~6 \- }0 a/ y' z  S) e9 D, O
  650. ; and $_FILES to always be empty; the only way you will be able to read the) u- `0 B) r: D, z5 z& e) [5 @+ L/ e
  651. ; POST data will be through the php://input stream wrapper. This can be useful; y+ t! z+ _* l: Z9 K8 X
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.$ \# ?, `' S8 k3 K% ?2 {8 h
  653. ; http://php.net/enable-post-data-reading3 R; g7 I5 Q- h" M
  654. ;enable_post_data_reading = Off0 n1 F) s. f' E( B
  655.   j1 o7 }, \" y( \# M
  656. ; Maximum size of POST data that PHP will accept.0 F% Z0 U4 i" x
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    " V6 G. O  Z5 I9 ~0 x6 ~0 ], t
  658. ; is disabled through enable_post_data_reading.
    ( }' s, G; f, f# E* Y9 H+ K8 r
  659. ; http://php.net/post-max-size
    + ]/ L2 N7 X4 M' R; \1 s7 [
  660. post_max_size = 50M
    ) Y4 x- h3 \8 R' `5 f/ o6 v8 b: a8 X
  661. 2 J3 _* }% f7 K9 Q: b% y  T
  662. ; Automatically add files before PHP document.
    6 F: k- ~+ @+ f1 N+ Q
  663. ; http://php.net/auto-prepend-file/ t' m  V5 Y, x" E
  664. auto_prepend_file =
    # A' t1 t" L& t3 N8 T9 ^

  665. / `+ J0 U3 F+ ^4 ^; K$ m
  666. ; Automatically add files after PHP document.
    3 r9 q( `- o) Q) R. U
  667. ; http://php.net/auto-append-file* i2 i% V" h5 D, S& k
  668. auto_append_file =& M) z. K5 \$ |( i

  669. 9 J3 f' W" ^" i% f4 `
  670. ; By default, PHP will output a media type using the Content-Type header. To
    9 u. i3 y( m# O/ q9 D: y+ s
  671. ; disable this, simply set it to be empty.
    ' @: |" ?5 {4 ~1 D" M8 P
  672. ;; k. D* i4 I: W+ H: O7 g" }
  673. ; PHP's built-in default media type is set to text/html.  }6 q2 Z/ n; Z3 R/ b
  674. ; http://php.net/default-mimetype
    3 t( _& D6 c2 b7 l
  675. default_mimetype = "text/html"
    % t8 H# i$ C: t/ S+ u/ l

  676. - Z. Y- s5 {( J0 a2 S" C# e
  677. ; PHP's default character set is set to UTF-8.
    3 ^( k8 `* F- p# ~
  678. ; http://php.net/default-charset
    $ I" L/ k* T( d# d" p4 S8 v# N
  679. default_charset = "UTF-8"
    9 s% Q) g- d: [, g* f4 B5 K, l
  680. & q6 u7 a5 m, q0 Q& e, N
  681. ; PHP internal character encoding is set to empty.$ Z, M6 A! f8 b2 a$ S$ W
  682. ; If empty, default_charset is used.
    / t6 {3 ]9 ?1 e8 L7 X
  683. ; http://php.net/internal-encoding
    , x- m. P9 p. e0 p
  684. ;internal_encoding =' ?' O# Z8 W% x& k. k
  685. # O4 e9 ~2 V6 i7 @$ W) j
  686. ; PHP input character encoding is set to empty.7 k8 q+ Z- T* N" n) [/ B7 u/ w
  687. ; If empty, default_charset is used.& z$ R" s3 I+ t/ M' f+ Y  g+ P2 f; N
  688. ; http://php.net/input-encoding/ y, S7 E- d( C4 d+ `
  689. ;input_encoding =, V0 o+ P# k! w. h% G
  690. 4 o* H! e  J  h! f* w/ V3 ^; d
  691. ; PHP output character encoding is set to empty.
    - z" R( M% d  I# t: u
  692. ; If empty, default_charset is used.  R, I) s% d$ x1 R( @
  693. ; See also output_buffer.4 b) Y) H! f! @1 H5 m
  694. ; http://php.net/output-encoding
    - V8 O9 y& {& s# I0 w6 g
  695. ;output_encoding =
    + J% \' Q6 L2 A  S! ~8 W' \  }% c

  696. ' S4 P* \; O4 E
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is8 j; [) X, z% G% |
  698. ; to disable this feature and it will be removed in a future version.5 C0 m) ?- y: c- L4 w
  699. ; If post reading is disabled through enable_post_data_reading,& o% A: n. _0 n3 s) l8 y
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    + b! y& s+ k& k. g& l/ r# y7 o9 n6 f
  701. ; http://php.net/always-populate-raw-post-data8 E+ g  j: p$ X" i
  702. ;always_populate_raw_post_data = -1
    ) k' k( x& p5 W- ^" v( \$ P

  703.   g. `3 w0 r+ v" l* d4 w: J, L+ {
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    4 ^- H8 X; D& R0 W7 i
  705. ; Paths and Directories ;
    ; C2 w) h" ?5 b
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
      z0 M" @6 |- W
  707. $ L. a2 k. o* k0 Q7 \. }
  708. ; UNIX: "/path1:/path2"
    ( J( S, |/ O$ ~1 w
  709. ;include_path = ".:/php/includes"/ y3 R- f) X0 [- d
  710. ;
    $ [+ y% A4 H) c& U
  711. ; Windows: "\path1;\path2"
    $ K5 K1 P: @- z0 \9 A9 e6 z2 f
  712. ;include_path = ".;c:\php\includes"
    5 Q: Y+ X5 V3 o/ ?
  713. ;
    % ^6 w, ?+ ?3 T* v# B
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    7 {. L# _4 w) o
  715. ; http://php.net/include-path
    4 Z; k% t7 {( n6 C" ~7 J
  716. ; ~( x+ j6 k% x" y6 I% M( s9 L  e4 ^/ B! W
  717. ; The root of the PHP pages, used only if nonempty.
      x( A! E# }( x# G5 v
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root  v; q" Z1 e4 a1 E  M6 d$ l
  719. ; if you are running php as a CGI under any web server (other than IIS)7 t9 ~8 O8 c' K! c+ {- s( W6 A
  720. ; see documentation for security issues.  The alternate is to use the4 H) x2 |; s. Y& I- W
  721. ; cgi.force_redirect configuration below& j, v$ [' I# U5 I% ?
  722. ; http://php.net/doc-root
    . g( a) L2 s2 g3 Q$ h! ]) m
  723. doc_root =
    1 ~2 _8 ~9 O! _5 ]) z% Z+ p
  724. # L3 f1 |% N- y9 ~) ?: z& _
  725. ; The directory under which PHP opens the script using /~username used only( _" ~1 I5 [8 i, Q
  726. ; if nonempty.2 u1 h; Z" k9 }, M0 g
  727. ; http://php.net/user-dir
    3 v! D) L& k: L- l/ W
  728. user_dir =
    : v& S, O" E4 w& b
  729. $ g9 e6 u; U+ x6 l, v7 b) p( L
  730. ; Directory in which the loadable extensions (modules) reside.
    . M3 H) q! C; t) M0 H- G
  731. ; http://php.net/extension-dir- A' p  B2 r5 q6 U( q
  732. ; extension_dir = "./"$ @$ m3 Z8 k; z& ]. f
  733. ; On windows:8 {4 B" w% ?' b+ s
  734. ; extension_dir = "ext") w/ ]) ]: E/ M; y& W7 P  a
  735. + `, j9 N5 W0 K# B+ p5 d
  736. ; Directory where the temporary files should be placed.+ B9 y  a2 x7 [
  737. ; Defaults to the system default (see sys_get_temp_dir): `5 J  X* z" w% [1 U1 V
  738. ; sys_temp_dir = "/tmp"" @* y# i+ d8 Q% E- Q; s# g
  739. ( }3 r9 ?6 Y3 h! }
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work$ u$ O! @7 B  W0 q& E2 V+ A. Q7 x
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically( u& P, U  u5 M8 x* q2 a# l5 X
  742. ; disabled on them.: Y- s1 w! V( D& d7 I" V
  743. ; http://php.net/enable-dl
    6 v# v. V& X- ?; D! Y
  744. enable_dl = Off
    " e% N) }5 p7 ^8 }2 I

  745. ) M( w; H+ X5 y  R! E' N$ L  p
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under' Y5 f! L) i) J
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can; U1 _; K. p, b4 P3 I
  748. ; turn it off here AT YOUR OWN RISK
    9 ^, r9 d4 A& E) W: s! x
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**  @' f. y) P% H& b) Y) f( P
  750. ; http://php.net/cgi.force-redirect
    : L, ~/ B9 i: ~
  751. ;cgi.force_redirect = 1
    . g: X- n  E  J0 h' b8 d1 K( S7 q4 m

  752. ; A  A2 Z" s# b5 y- W: v
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with' P. C) R, u/ o2 R+ z) r: a) Q
  754. ; every request. PHP's default behavior is to disable this feature.
    5 }; B6 D  N1 ]2 ]
  755. ;cgi.nph = 1
    $ Q- d0 j. r' s* S+ N
  756. " V& q9 Z# _. C
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape& v5 C9 D2 O2 ^, V; T% N9 U8 o
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP  S3 b" r. i9 o3 |8 w5 Z
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY8 G. v/ t' O% Q, q8 a
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.: \5 f- q. ?% s( _
  761. ; http://php.net/cgi.redirect-status-env$ `3 F, v! e  z; a6 P
  762. ;cgi.redirect_status_env =* X6 d  [0 \( |9 n7 @; |0 u
  763. * }  |& M& x" e: ^3 X
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    . g) z' h2 E4 a- V6 u# q. J; M3 a- m
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok+ }4 g6 Z' V6 I( C( s; ~3 ]1 `
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting3 L+ S+ G1 m- _+ x$ H
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting5 \4 h; \0 X% `1 o
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    - q2 y. C: n1 O. e, V+ v
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.1 f  U6 ~, K- g( A3 J
  770. ; http://php.net/cgi.fix-pathinfo" x2 C& l. t4 p3 s5 t
  771. cgi.fix_pathinfo=1
    - }3 J. ~2 c/ J  s: D) D) G) g
  772. - F; q2 h# h, U
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside  t  T, x6 l- j$ c+ r% h. _
  774. ; of the web tree and people will not be able to circumvent .htaccess security.$ r2 Y3 ]7 C6 _9 k( B
  775. ; http://php.net/cgi.dicard-path
    & K1 n0 I9 ~, s" O: }: F
  776. ;cgi.discard_path=1
      t! ]6 C2 F8 ]% V; h' T
  777. ) @! f2 Q5 ?4 ^5 }/ @# x$ U
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate- o' K' u2 ?0 a/ q' _1 t
  779. ; security tokens of the calling client.  This allows IIS to define the
    * i3 d, a, Z) U* C) b0 P
  780. ; security context that the request runs under.  mod_fastcgi under Apache8 ?3 i7 Y5 y4 B2 G3 }5 K' S
  781. ; does not currently support this feature (03/17/2002)6 m6 D+ i6 X$ Y9 q
  782. ; Set to 1 if running under IIS.  Default is zero.( p6 m& U  t* u2 Y9 I! {
  783. ; http://php.net/fastcgi.impersonate% F3 j7 l5 x" ~1 G3 ]4 E3 n( \
  784. ;fastcgi.impersonate = 1& @' z% N) Q0 `+ Z1 x  f9 z# w

  785.   ]0 Q, [9 e2 Q6 X0 x+ H
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    5 ]/ [# F, J3 p1 Q: v0 I2 x
  787. ; this feature.' Y- x- P$ `; M5 K
  788. ;fastcgi.logging = 0' q% G1 H% f" ~. M
  789. 8 C! e& `. ?- K
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    1 g! E: \' L3 o. e
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    . C% M' I0 i. s8 Z. R
  792. ; is supported by Apache. When this option is set to 1, PHP will send! A- [: Y0 t: g* [1 l1 b
  793. ; RFC2616 compliant header.6 `/ U6 v6 t2 W2 q
  794. ; Default is zero.* j4 L5 k# r; r. U+ s: o4 X0 |
  795. ; http://php.net/cgi.rfc2616-headers" B4 ]3 ^  Y0 s" N/ {
  796. ;cgi.rfc2616_headers = 0
    ! N. T2 }; y& X' K$ b: D0 r
  797. * C- X8 D' y$ K9 f6 v( h) r
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ' a: y5 @8 _5 {( Z3 r5 T2 p
  799. ; (shebang) at the top of the running script. This line might be needed if the' p, _8 D, _" Q: B- b$ c% v0 J
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    9 f* D/ p: P3 a% s
  801. ; mode skips this line and ignores its content if this directive is turned on.( ^3 R8 i% R" t2 E1 }7 h# c8 m/ M) Z
  802. ; http://php.net/cgi.check-shebang-line
    * u" }$ z9 q+ m
  803. ;cgi.check_shebang_line=1
    7 l2 z" k9 Y' Q  O

  804. 7 t; p  R0 r. n% s
  805. ;;;;;;;;;;;;;;;;8 B9 y/ a2 B5 e/ }" {! w1 f
  806. ; File Uploads ;
    ' C5 N# Z& G" C/ J
  807. ;;;;;;;;;;;;;;;;/ g# D) E* s- L* E

  808. : z' _. T9 _, {/ B' n' i
  809. ; Whether to allow HTTP file uploads.
    " W- [. p# e6 ]
  810. ; http://php.net/file-uploads* D1 }% I$ C9 u7 u
  811. file_uploads = On5 N3 J7 N0 t/ P

  812. ( t5 k7 B6 t) B' X
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    4 v( K6 b: h; E" \
  814. ; specified)./ w1 n* ]. W; c7 Z1 K2 L3 s
  815. ; http://php.net/upload-tmp-dir0 u6 m$ a( B! \. h+ u: A
  816. ;upload_tmp_dir =4 b1 j; v5 ^+ ?' P

  817. 0 h( g' ^6 [* i- E
  818. ; Maximum allowed size for uploaded files.1 g0 n  l# A3 p4 C) _
  819. ; http://php.net/upload-max-filesize
    : E7 L/ y+ h* i
  820. upload_max_filesize = 50M  V7 f# y! J9 p4 ^

  821. - Z! b& [: z! J/ h+ Q2 }; Q: a( |7 B
  822. ; Maximum number of files that can be uploaded via a single request* ?3 U% e2 N5 e( m% i' U, M
  823. max_file_uploads = 20, R6 o6 V* Y1 o' I% {
  824. 4 t* j& U2 U7 X% q4 |# N3 S/ V+ E
  825. ;;;;;;;;;;;;;;;;;;- y$ l0 d) V; r4 @/ @
  826. ; Fopen wrappers ;- R) }$ B; e; j; `; I/ Z7 M
  827. ;;;;;;;;;;;;;;;;;;6 v' R( R- z8 ^9 G; l" a$ i' Z

  828. : g1 u4 B: V& b- ]2 f# ^
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.  p8 x2 V0 h7 s! A
  830. ; http://php.net/allow-url-fopen
    " @4 Y. ~9 s+ s+ F' Q  v: s! N
  831. allow_url_fopen = On
    8 c7 B7 p7 u4 w

  832. ! b' G  q  h/ q
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.7 S4 {3 i8 D0 ?
  834. ; http://php.net/allow-url-include
    2 ?) r9 u4 ?6 O, ?% h) z
  835. allow_url_include = Off! r& P8 B$ V! i! x( o1 z  D* r' Z

  836. * O, Z; p$ j( J2 d* B3 I) g% n
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    $ q; x+ Z. ?) `1 e7 |
  838. ; for this is empty.
    ( Q1 k. J% m+ l* s  a, f
  839. ; http://php.net/from. e: d: R' o4 q4 ?6 r) X
  840. ;from="john@doe.com"
    , e9 r5 r! J; F3 q

  841. : H. N. B, R5 H( n3 O, x9 ?
  842. ; Define the User-Agent string. PHP's default setting for this is empty./ r9 G$ v7 A3 Z' R7 ~. C- r' i( J; F
  843. ; http://php.net/user-agent: t: H$ p) |- Y! r
  844. ;user_agent="PHP"
    2 z6 X/ _+ L  t

  845. 7 E) @! b' |+ i6 e. i# s
  846. ; Default timeout for socket based streams (seconds)5 l. ]8 G8 f: b& W  v; U
  847. ; http://php.net/default-socket-timeout) i6 P6 }9 b# y8 l
  848. default_socket_timeout = 60+ y+ \+ G2 V1 E6 g8 Z1 K& W
  849. $ H0 f4 K& _# a1 v8 G4 j# y
  850. ; If your scripts have to deal with files from Macintosh systems,) m; p; z$ E3 x6 Q6 r" N+ `1 E' H
  851. ; or you are running on a Mac and need to deal with files from
    6 F' k" T3 ]6 y2 F2 H1 m) u6 M
  852. ; unix or win32 systems, setting this flag will cause PHP to
    7 ^4 q% k: _2 ~* p" G
  853. ; automatically detect the EOL character in those files so that+ D3 s# M2 [( J7 S, I* Z
  854. ; fgets() and file() will work regardless of the source of the file.
    5 i" n6 ~: a" r' i) m2 X
  855. ; http://php.net/auto-detect-line-endings+ y+ Z  F: V+ t$ A
  856. ;auto_detect_line_endings = Off
      L0 B5 \2 I. ?; k

  857. 2 @- I/ S3 _2 s0 p
  858. ;;;;;;;;;;;;;;;;;;;;;;4 j8 q( U9 A  e
  859. ; Dynamic Extensions ;
    ) q* C9 V; g0 A) R; W9 D. |4 F
  860. ;;;;;;;;;;;;;;;;;;;;;;; P' t* E. g$ _. z

  861. 8 c: K8 a+ C0 H' m
  862. ; If you wish to have an extension loaded automatically, use the following
    / y9 U3 M1 c' ^, x) s1 `9 T
  863. ; syntax:0 a1 ]/ m7 f0 u/ b/ n
  864. ;( V3 O, @% y, U# [, x
  865. ;   extension=modulename.extension
    2 U8 t) x# s4 b" ^4 N" k2 Y8 i
  866. ;; }# m1 R. Y+ d$ v- n
  867. ; For example, on Windows:, {* y- k. Y) f! V  y
  868. ;; ?, Y. C' A6 Z, b  y* s
  869. ;   extension=msql.dll
    0 l/ Z* t; J& `+ K
  870. ;- g- L6 P2 K4 E2 Y/ {  I: j
  871. ; ... or under UNIX:. q  N( `6 L" w$ |. [/ `
  872. ;
    " O# r* s! D  }9 Z" L. c( }
  873. ;   extension=msql.so
    # f2 D" D/ N/ J0 ?- {
  874. ;
    * {4 `1 r0 B) P7 ]; Q5 ]* B
  875. ; ... or with a path:
    ) c: H% b7 A7 o! b3 Y, U
  876. ;, B3 l( S/ \( X0 R8 F
  877. ;   extension=/path/to/extension/msql.so
    7 I# c$ a5 E- _+ Z
  878. ;
    / _% D8 Q; {1 f+ I# L( r7 `
  879. ; If you only provide the name of the extension, PHP will look for it in its
    4 s/ r* f2 ]2 U" d
  880. ; default extension directory.8 _% Z" s% S4 k2 d  d
  881. ;
    7 J' N" L( f' e# }) b7 Q' O
  882. ; Windows Extensions- f0 ~+ M/ c% i: U8 c" c
  883. ; Note that ODBC support is built in, so no dll is needed for it.
      L/ S! h: X7 \6 {( Z  O/ I# d
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    8 `/ w$ V3 ~* ^
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    2 I% `( r5 Y  Y: @
  886. ; Be sure to appropriately set the extension_dir directive.6 V0 |/ p" F) d2 m  Z
  887. ;
    3 M$ G8 z: M% q
  888. ;extension=php_bz2.dll
    # h" l" s' n: C. m4 X! A) }
  889. ;extension=php_curl.dll
    - E2 q. n" C3 ~
  890. ;extension=php_fileinfo.dll' w* k6 \6 A1 Z) p2 _* a
  891. ;extension=php_gd2.dll
    # i2 |- ~9 g: _3 O( D
  892. ;extension=php_gettext.dll, d+ E4 }5 ?& f" M
  893. ;extension=php_gmp.dll! B# T' q9 s( M) B
  894. ;extension=php_intl.dll" V: M" Z# \% ~$ C# b
  895. ;extension=php_imap.dll, w1 Q5 E1 z& M% \( ]$ z: u
  896. ;extension=php_interbase.dll- X7 d: A9 r2 A. D
  897. ;extension=php_ldap.dll
    * Z2 [; N8 D& I: E7 e% d! ^
  898. ;extension=php_mbstring.dll
    ) g5 Z0 u, j+ N' ^* {1 V- p
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    7 ^# s$ n% H  D. |# b" j; j5 T3 Z
  900. ;extension=php_mysql.dll
    ! c$ v" e, H$ }: o  _7 ]
  901. ;extension=php_mysqli.dll6 e2 U$ v- t0 x
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client5 x1 C% X2 K" r0 b! f; b  }
  903. ;extension=php_openssl.dll7 d1 K0 k2 |6 x* U8 A
  904. ;extension=php_pdo_firebird.dll- f& u/ N7 Z* d2 R6 S) n
  905. ;extension=php_pdo_mysql.dll7 N6 w" }) ]% c
  906. ;extension=php_pdo_oci.dll
    - b3 f( f1 m% ~* N3 o) ~0 \$ x/ V
  907. ;extension=php_pdo_odbc.dll
    " \6 Z* i7 `/ O
  908. ;extension=php_pdo_pgsql.dll" t8 G! h/ _" X' `( S* J2 w  \: o
  909. ;extension=php_pdo_sqlite.dll
    ( h2 E( w8 u6 ?( E3 O/ y& ~
  910. ;extension=php_pgsql.dll5 A' F; i# B7 N, `
  911. ;extension=php_shmop.dll7 O, ^6 \/ ~& S5 w: r- c) p% V( E* m4 k0 O

  912.   s" B" f8 e. f/ C
  913. ; The MIBS data available in the PHP distribution must be installed.
    " [- b* s3 n2 v$ |* U$ }/ y6 G
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    3 ]3 P! Y, W$ W6 [* ~8 j  g
  915. ;extension=php_snmp.dll
    9 h" r- }4 W0 C6 B; h

  916. * n8 v( H! o) o3 T, K8 |
  917. ;extension=php_soap.dll
    9 l7 G, a7 v( G& i. ?
  918. ;extension=php_sockets.dll
    $ I) T* G# s; h: d, H) i
  919. ;extension=php_sqlite3.dll! y0 N6 X+ S( l  L' a3 g
  920. ;extension=php_sybase_ct.dll
    1 p& ~0 o) F4 z% w  g7 K7 T
  921. ;extension=php_tidy.dll9 d8 f, o/ z) W: e& g
  922. ;extension=php_xmlrpc.dll
    3 V# w3 B$ S9 [  S3 M9 p
  923. ;extension=php_xsl.dll
    - b0 t+ u  V0 m6 c$ l  H2 Z. Z& d* C
  924. ( `' W0 F* d( L9 |1 Y8 |3 i
  925. ;;;;;;;;;;;;;;;;;;;
      P: O6 @5 {1 d# S, F
  926. ; Module Settings ;2 ]: a5 k& S9 X9 V0 Q
  927. ;;;;;;;;;;;;;;;;;;;
    % N7 S: ?! O- ~) P( D
  928. 2 Q6 s$ M- S1 A1 S- z% s
  929. [CLI Server]
    & J9 {7 m" r4 q2 ~0 z0 @' V7 P3 ?" Q
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.% z' \. y5 i6 L* l( P
  931. cli_server.color = On0 o5 d' {/ G' c3 P8 S8 t+ z8 W
  932. 8 |3 O5 |% Q/ E
  933. [Date]; M) P& j  f; `) J0 b
  934. ; Defines the default timezone used by the date functions
    2 ~4 p. I0 Q$ q6 l* D
  935. ; http://php.net/date.timezone, x& F- r8 z% g: ]' Z& k- h! e
  936. date.timezone = PRC
      u% S+ P& ^6 W+ S& s; y; |9 u% I

  937. - R- u. P  V3 U! N. I
  938. ; http://php.net/date.default-latitude) a3 S0 {0 q+ x# S6 ^# v& K  a. [
  939. ;date.default_latitude = 31.7667
    . ]: ^- r; Q  r. c% R
  940. ; t' @+ N# L& Q
  941. ; http://php.net/date.default-longitude
    1 W% Z3 X. a7 Z. ~
  942. ;date.default_longitude = 35.2333' k+ j3 `1 W4 y! _
  943. ( j% f- h2 }5 d0 v8 B  u
  944. ; http://php.net/date.sunrise-zenith7 q1 K$ ~8 ^' @* x
  945. ;date.sunrise_zenith = 90.5833333 Z! p* Q0 T* i

  946. 2 x5 M/ p" M* }4 [. o
  947. ; http://php.net/date.sunset-zenith3 {  v$ p* d* X% z
  948. ;date.sunset_zenith = 90.583333
    # k4 r3 J0 Z' }
  949. ' i% Z/ l+ X) T' U3 b+ }8 ^
  950. [filter]
    7 V8 k7 J( l) t0 Y5 d0 D" y, X" H
  951. ; http://php.net/filter.default; g( C% ]1 ]! r0 z) z) t9 ^
  952. ;filter.default = unsafe_raw
    6 F- E) D" @7 M6 p& w
  953. 8 y( ~! X9 B" U% s
  954. ; http://php.net/filter.default-flags
    " C, o; }3 q0 Z. S. h! E
  955. ;filter.default_flags =
    " V; q5 ]) y$ S1 q4 p3 k$ N  q
  956. & q1 m7 s, h1 Z% }* @
  957. [iconv]0 o: y% m: Z" P" m& f8 c
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ) k2 R1 |* ]* M' N8 k
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    1 _2 g6 X) K' Q
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ( |& {% f2 E5 L& z8 i
  961. ;iconv.input_encoding =  @0 W3 e: l7 y# y
  962. 9 r, f' l9 b5 Z( s! ^6 |$ |3 h* A
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.$ t) A3 f) }% G
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.% I- E: A, S  N/ ]% l
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding0 w6 Z7 k# R  e* |5 f
  966. ;iconv.internal_encoding =
    6 h, K+ }, }+ T3 Z+ t' b3 p1 z" T
  967. " k# D! z! a, A  z) r; y
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    & h0 U: ]' `$ \; F9 S5 G
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.- x# _0 f% |% v, d, E0 J
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    - o  H3 }( U1 \( \0 {2 |* J% e- F
  971. ; To use an output encoding conversion, iconv's output handler must be set
    9 F4 W# s/ Y- X/ O/ |& C
  972. ; otherwise output encoding conversion cannot be performed.
    ! C: Z; `8 C& b7 N
  973. ;iconv.output_encoding =+ S: A5 T0 H# u6 x. `7 N
  974. 9 e' H  m6 _1 H* J1 }+ i; L" e
  975. [intl]% \, v  E4 Y: F2 B: I% {. c
  976. ;intl.default_locale =' C) x4 \- S1 t3 e9 Z+ n
  977. ; This directive allows you to produce PHP errors when some error( U. a8 i* ]" c2 W! b; w( |
  978. ; happens within intl functions. The value is the level of the error produced.
    " J5 e; d  V+ N5 ^
  979. ; Default is 0, which does not produce any errors.8 V1 m/ c8 z5 V' {8 Q/ [  y2 J' ^
  980. ;intl.error_level = E_WARNING
    ( L3 _4 b- q3 `( ^$ s
  981. ;intl.use_exceptions = 09 k$ |2 [7 K. N: M/ s" h+ i

  982. 8 @5 A) P3 P6 W) @$ K4 ]' g
  983. [sqlite3]0 F; g  ~! F5 r) ]; i4 E
  984. ;sqlite3.extension_dir =
    6 F; f/ L# C% R* q# ^

  985. 6 e* C, F' T- K, W6 \% M
  986. [Pcre]
    9 @; [+ {  g3 a! K7 F; Y
  987. ;PCRE library backtracking limit.9 b8 g4 q. X" {. E0 I
  988. ; http://php.net/pcre.backtrack-limit
    6 [: I' j& p; r  [
  989. ;pcre.backtrack_limit=100000. b4 G' H+ e& |0 `
  990. 2 C+ W7 V3 O. \
  991. ;PCRE library recursion limit.
    " l, a6 N4 Z% I3 m3 i) h; q
  992. ;Please note that if you set this value to a high number you may consume all5 [$ Y+ ^/ @; E: [4 K
  993. ;the available process stack and eventually crash PHP (due to reaching the% u/ E5 q) z, R7 U
  994. ;stack size limit imposed by the Operating System).
      V  ?5 c; J% |' ~
  995. ; http://php.net/pcre.recursion-limit
    # x) m' w# Z$ H% E
  996. ;pcre.recursion_limit=100000+ d, y3 k. Y# d, A6 v

  997. 0 {2 l2 q- j4 o1 Z1 o+ g* w0 {
  998. [Pdo]% b/ ]$ `- D. w5 Y
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"( c6 W* U5 `0 t  `! ^4 e$ X
  1000. ; http://php.net/pdo-odbc.connection-pooling1 F& p7 Q& F# a8 Y0 g* C
  1001. ;pdo_odbc.connection_pooling=strict# A6 q' ~) H1 B1 q) D
  1002. 7 B) F% K1 ^" G
  1003. ;pdo_odbc.db2_instance_name
      L7 b2 u6 T  A# }! b: q& g9 D
  1004. 1 C, L* \0 @; g: O8 Q; k9 {
  1005. [Pdo_mysql]/ q2 @7 z0 s4 H5 v* t6 m: {9 Z; J3 j% t/ z1 w
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    9 h, l3 N3 t4 f' Y8 r4 l
  1007. ; http://php.net/pdo_mysql.cache_size
    ) _  k! I5 l9 c
  1008. pdo_mysql.cache_size = 2000
    3 A9 T1 o$ f7 k6 V, m

  1009. 1 b0 G* G+ J, B1 P' v; `
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in9 j8 Q, X9 x* R" O! B/ S
  1011. ; MySQL defaults.
    6 p1 L$ p8 r) ?4 y% a, [
  1012. ; http://php.net/pdo_mysql.default-socket! o5 Q+ H' K& [2 T! }% e
  1013. pdo_mysql.default_socket=# L6 ?( Q( ^3 O( T2 @. _
  1014.   @- @% z) [; V6 `8 M8 W: q
  1015. [Phar]1 Z7 T; W, i/ x0 T
  1016. ; http://php.net/phar.readonly) H# Q' G8 {, e' }
  1017. ;phar.readonly = On& b9 k. A) V' t

  1018. 8 M' p3 B9 k) Z' w1 Y, Z5 ]& O
  1019. ; http://php.net/phar.require-hash' J, F, l0 e8 ~
  1020. ;phar.require_hash = On
    # ^9 N2 Z) d6 `: W! d

  1021. : T! O. W7 r8 k4 u! ~
  1022. ;phar.cache_list =; y" ?* c4 N! y. j9 P

  1023. ; O$ K6 E5 {# }1 ?5 L  O0 N8 P
  1024. [mail function]
    2 }6 }5 r( N- M2 ?+ N4 a
  1025. ; For Win32 only.+ j3 r; S! P. ^2 F+ t
  1026. ; http://php.net/smtp( r7 \2 x/ k( s! x; ^) X4 }) U! M
  1027. SMTP = localhost
    5 y4 p7 N- X, G% T0 c: F
  1028. ; http://php.net/smtp-port
    : h" P+ c3 Y" T+ L$ h" g! u
  1029. smtp_port = 251 i. p/ n9 e; r2 l

  1030. ( m% I' d: @1 Y, A3 N& N
  1031. ; For Win32 only.* S" f6 N7 v5 O
  1032. ; http://php.net/sendmail-from
    0 g4 P- m% ]; G! n
  1033. ;sendmail_from = me@example.com  C; H- U: u- L! B
  1034. % ~: C) i2 w$ u& e
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").1 l, z! [' \6 Z: X
  1036. ; http://php.net/sendmail-path
    + A8 o) Q& w# P) f. a  G
  1037. sendmail_path = /usr/sbin/sendmail -t -i0 J( A. E* R( y$ n" {5 \8 Y5 e
  1038. : I- ~, V- z) U3 x. v
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    ' _( ~' w: u: i6 x
  1040. ; to the sendmail binary. These parameters will always replace the value of$ u( _) v' H% C! n( \& p
  1041. ; the 5th parameter to mail().
    + w1 I4 L& C0 i: s
  1042. ;mail.force_extra_parameters =$ Q% f& G# N- d% R9 o" ^( F

  1043. * c' f5 \$ d, r  Z5 n
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ( P: w4 Z- j2 E" ]8 j- \# L
  1045. mail.add_x_header = On
    4 S4 q! }+ R6 z

  1046. ; m! I  W% T3 k$ g3 m
  1047. ; The path to a log file that will log all mail() calls. Log entries include! D! \4 }( j/ S9 B, h7 y% P
  1048. ; the full path of the script, line number, To address and headers.
    $ t& z7 G* {- j2 [1 I  u5 z  s7 d
  1049. ;mail.log =6 ]0 n) e# D6 s# n3 [- |3 b/ u
  1050. ; Log mail to syslog (Event Log on Windows).
    1 a% D- g  w0 d
  1051. ;mail.log = syslog" X0 p! y3 b' L* s8 ~3 R

  1052. , J* i; ]0 G% d- q. F+ V
  1053. [SQL]
    7 O% z& s% i) G/ ^5 ^# H
  1054. ; http://php.net/sql.safe-mode
    5 h& i6 ]9 X1 z5 G
  1055. sql.safe_mode = Off4 Y. o( @9 c- u4 d. r/ P

  1056. 2 `1 w0 h% @- \6 o' c; y
  1057. [ODBC]
    , Q  }1 L! x2 P5 W* C7 d
  1058. ; http://php.net/odbc.default-db: e1 M" r+ D0 ?2 @/ t$ F
  1059. ;odbc.default_db    =  Not yet implemented% }2 X0 \2 K0 ^" e

  1060. 4 \9 U3 O: Q( r: u3 C/ e7 k! [% ^
  1061. ; http://php.net/odbc.default-user* A1 @. ~, u4 w6 `) R( O% E
  1062. ;odbc.default_user  =  Not yet implemented: ^# Y9 v- C5 N$ j( }
  1063. ( o1 w: z/ Y6 Q+ E9 x- u% e* F
  1064. ; http://php.net/odbc.default-pw9 G1 V7 d8 }9 p- K: _" q4 S
  1065. ;odbc.default_pw    =  Not yet implemented
    ( l/ L2 P- X' m  Z* s3 P  ~

  1066. , @2 A& x$ a3 A7 S% t' F& z" L
  1067. ; Controls the ODBC cursor model.
    + o6 n1 N4 k) I1 E6 w& r4 u
  1068. ; Default: SQL_CURSOR_STATIC (default).
    / t4 r# n/ D! ^* _) |* `) k
  1069. ;odbc.default_cursortype1 d$ X% _! P7 h  [: g: U

  1070. / _1 E. a* }; t
  1071. ; Allow or prevent persistent links.( N1 O6 t. P5 O  O. P2 W$ g/ D
  1072. ; http://php.net/odbc.allow-persistent
    0 a; x, s9 ^8 s0 D
  1073. odbc.allow_persistent = On6 g8 [4 Q% Y5 G* Y+ h/ G3 }& M
  1074. 6 {( F/ q$ m) v6 Z0 X7 s6 o- ]3 x
  1075. ; Check that a connection is still valid before reuse.
    2 [& W/ @" h5 \' C) I5 b
  1076. ; http://php.net/odbc.check-persistent
    , ]( [  E& \5 f2 o7 @7 g) Q
  1077. odbc.check_persistent = On9 E! u& G7 h+ ?% u3 o7 S  @
  1078. ' [5 K# n! F* `& d+ b
  1079. ; Maximum number of persistent links.  -1 means no limit.
    3 H. O5 V" @  ^1 \# L: z2 J
  1080. ; http://php.net/odbc.max-persistent
    ) I! N; R# X. ?) a
  1081. odbc.max_persistent = -1$ y  F  Q6 A$ N9 Y  m8 l7 i
  1082. ( B1 {# T9 j! ]' b) t
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.& S. @: B: C/ c( |( g! g% p
  1084. ; http://php.net/odbc.max-links
    5 D) Y! r' }& ]: R9 G3 }
  1085. odbc.max_links = -10 w4 a5 F, T: f8 a
  1086. : O( Y( a  p% \0 ]
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means: G& z2 x/ q$ a7 v
  1088. ; passthru.+ Y' v: r1 d- S+ f% i1 L/ ?  M
  1089. ; http://php.net/odbc.defaultlrl# @9 B2 V; N2 L1 e
  1090. odbc.defaultlrl = 4096
    8 C8 q, R* z* C# L4 t3 Y5 o, T, p. g8 t
  1091. 2 F2 ?+ B6 [# P: |. u4 s
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.* v( m3 g& i8 b6 b' k2 x: z
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    6 f" {% i+ W$ ~% d  N, S$ i/ Q* ^! k
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode" W$ o6 P1 u" @1 ?$ [
  1095. ; http://php.net/odbc.defaultbinmode
      l* A7 M" n. y" _# ^$ L
  1096. odbc.defaultbinmode = 1; |5 q: l7 n8 _  y8 a, U
  1097. , b9 W; X) W' V1 L6 H' w. o. P; F
  1098. ;birdstep.max_links = -1
    % K. ~& t4 s2 Q# {$ q  g+ K! L: ?

  1099. 9 \$ u. n+ d5 w: \
  1100. [Interbase]
    : H$ c* b: j; e2 }" n# C: e
  1101. ; Allow or prevent persistent links.- G1 j, [; u( I  R
  1102. ibase.allow_persistent = 12 O% C3 w5 B. m
  1103. & F0 g: p! F/ W& \7 k; I
  1104. ; Maximum number of persistent links.  -1 means no limit." I4 a1 p, V1 t# b
  1105. ibase.max_persistent = -1
    7 G' |0 N2 t4 }/ m  |1 k. E
  1106. 8 `$ t9 w! G  o
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 [" O- H9 y( V# b+ x) D& h2 ~8 A2 V
  1108. ibase.max_links = -13 z& Z  X3 e4 K9 }+ u3 o
  1109. ! ^- w8 f# T! U$ w( [* B
  1110. ; Default database name for ibase_connect().; v! [0 S! q$ Y  J* V
  1111. ;ibase.default_db =2 }: [/ q5 F0 m# Z+ {. C
  1112. . M) {% F9 q+ ]4 n) C
  1113. ; Default username for ibase_connect().$ Z! f& E8 Q: z
  1114. ;ibase.default_user =4 A. a8 s' M; y$ T; J0 F7 C
  1115. 4 C  L8 v9 y( m) [
  1116. ; Default password for ibase_connect().
    " Q7 c1 a: I/ B! F; h1 y5 _0 v& U
  1117. ;ibase.default_password =
      p2 L  L) F) u  P% t/ W$ T2 i  z9 t
  1118. 0 N! G+ ^* m% I% e) t
  1119. ; Default charset for ibase_connect().
    . l+ l  [& [9 r8 e
  1120. ;ibase.default_charset =
    2 J5 H- w0 X; `& ^0 W0 m

  1121. # u8 ]# g8 x' a& `  h7 T
  1122. ; Default timestamp format.
    % l+ d- ]: ~3 ~9 ]) n( b3 z% N
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S") r' m. b7 `9 f

  1124. * @9 V6 k; }7 o! G( |" y% W
  1125. ; Default date format.% _( }6 R% h* i1 Y9 [; m
  1126. ibase.dateformat = "%Y-%m-%d"3 ]" |" f/ \" U, }; ]

  1127. 5 A9 \; i; Y) E: Y; R" W6 a
  1128. ; Default time format.( P" v: p/ K1 }1 |
  1129. ibase.timeformat = "%H:%M:%S"
    - e" r" b$ p- b) q

  1130. $ q/ }8 d1 X8 Z; a% Y9 B3 |3 G- ^
  1131. [MySQL]0 @* T9 K: V- M0 [
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    2 ]8 M6 M' F9 n+ \* @  {
  1133. ; http://php.net/mysql.allow_local_infile
    7 X9 X/ c$ k( x" d9 _) h
  1134. mysql.allow_local_infile = On; V8 [! K/ |$ m/ h: N, G; B
  1135. 1 Y/ a6 S4 j( I0 R
  1136. ; Allow or prevent persistent links.) q% F. v% u4 ]' j: I
  1137. ; http://php.net/mysql.allow-persistent/ y, i- j, s) z* @4 M$ r, J3 h
  1138. mysql.allow_persistent = On* o2 {% Q" ]+ ], Z' s$ ], A

  1139. 1 ]" \7 _+ e3 k2 E/ N
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    8 l7 o2 a' r" n& \
  1141. ; http://php.net/mysql.cache_size
    " V4 }1 G) b4 f8 U
  1142. mysql.cache_size = 20004 F  q# Q, \' c) ^( c: W3 s. u( M

  1143. ( G% E1 T3 H6 D8 l, @: d
  1144. ; Maximum number of persistent links.  -1 means no limit.) B; L* H7 Z# \& ^/ p" b
  1145. ; http://php.net/mysql.max-persistent
    8 ~8 m& p0 I7 ?7 x; R! a! F2 c
  1146. mysql.max_persistent = -1  U  J: b; W4 B1 P8 `5 y3 F- n9 R

  1147.   e- t' {2 t: S7 N6 i8 e9 ?
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.& ^; a+ ]" Q' I  C0 X* z+ k' c0 N
  1149. ; http://php.net/mysql.max-links2 P7 n9 n0 f2 \2 T; p# Y, ]7 \' c- y- M2 l
  1150. mysql.max_links = -1
    ' X: h$ w6 J8 i/ a  q2 W
  1151.   a0 a2 x2 ?* Y9 k
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use' }* P+ l. T; V2 Q; ]3 I& r
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ' a, W# F5 M' P% L9 M% ]5 R3 t9 W
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    % I  ^5 d" ?5 \
  1155. ; at MYSQL_PORT.
    * r" g) Z) B( q! K$ N0 K  @. ~+ T$ O
  1156. ; http://php.net/mysql.default-port
    0 l! q5 G2 {. u
  1157. mysql.default_port =
    5 {# l, Z. w0 ]4 a! w9 v' d6 t
  1158. - l( |" K% w8 E5 B9 _" Q1 ]
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in" c; o+ w3 ^  [$ ?; Q$ T: {3 L
  1160. ; MySQL defaults.
    3 }* L" t. [% g$ ~  m1 _6 ^
  1161. ; http://php.net/mysql.default-socket/ X& E& w* u! L
  1162. mysql.default_socket =
      o" y) g8 g/ n# Q
  1163. * a; v; A8 o1 b$ G
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode)., K! S; l. B% G0 ~9 ]
  1165. ; http://php.net/mysql.default-host. ~2 d7 T8 p" O5 x$ C+ Z! d
  1166. mysql.default_host =
    6 ?: _  M- g3 {+ P: b/ T7 u2 M
  1167. ) h- r3 l0 b% t4 ]# p: ~
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    8 F3 V9 d5 w( f
  1169. ; http://php.net/mysql.default-user* t& a0 b* P  G
  1170. mysql.default_user =, K3 e8 R( Y$ V. \* [; D% S! E  q& y

  1171. 8 h" n" p" a4 U+ h
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    / a& `3 I2 x- z$ W% Q3 X4 t: A
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    9 n) ?7 r4 \+ p7 n1 K' [
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")1 \8 ^$ Z& w; H0 [6 p5 k- ]
  1175. ; and reveal this password!  And of course, any users with read access to this
    & s0 Z, E) t+ P2 N
  1176. ; file will be able to reveal the password as well.! r  C0 c1 J9 ^. x, y
  1177. ; http://php.net/mysql.default-password1 d* j" \0 k! Z, w: s
  1178. mysql.default_password =. w: N/ `+ w( j( R; N" D/ Y
  1179. ; a9 P4 Z6 W0 k9 \* H# x; u
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    2 A; p' q) f  ]8 u) U5 Z0 f
  1181. ; http://php.net/mysql.connect-timeout9 n  ^1 p' H! K( x9 u  K2 J  B
  1182. mysql.connect_timeout = 60; h: z  t3 W8 D# ]
  1183. # [$ M6 q9 O6 \9 m7 n6 i* [
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    9 ^# d: T. G- ~2 w, n4 f! T$ A4 j
  1185. ; SQL-Errors will be displayed.: H% k# d# X7 Z+ {% \  Z
  1186. ; http://php.net/mysql.trace-mode
    # d5 s5 |+ e# s1 H1 H
  1187. mysql.trace_mode = Off  T$ \! [9 C8 D) {7 P
  1188. " L+ ~: a8 |# o: j
  1189. [MySQLi]
    0 V9 O% s" p4 \2 `- m  b# \1 z% j) s
  1190. * Q+ o# U8 Y. _8 X# R
  1191. ; Maximum number of persistent links.  -1 means no limit.
    1 Z2 e1 U* p9 p- V, O+ o: A
  1192. ; http://php.net/mysqli.max-persistent
    - o9 }. n. `$ w% _+ Z
  1193. mysqli.max_persistent = -1) ~# D* V  C) q
  1194. * N4 O5 x# T' H$ }* N2 g$ D
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements' M: T. m+ m) u
  1196. ; http://php.net/mysqli.allow_local_infile) G5 w+ j% R( W( M2 A* s
  1197. ;mysqli.allow_local_infile = On7 o5 j$ a, J& Z1 h9 m/ I: O# U
  1198. 1 K$ C( F$ N$ b5 }! S, X) U
  1199. ; Allow or prevent persistent links.
    ' D1 f7 p' [1 z+ ?/ D/ ?
  1200. ; http://php.net/mysqli.allow-persistent
    & k' A! A: j0 K" J" c8 R0 e9 K/ m
  1201. mysqli.allow_persistent = On3 ?" D4 B6 ^4 \$ o  s( |

  1202. # ?4 b8 _2 H" d9 x& i3 P* B
  1203. ; Maximum number of links.  -1 means no limit.
    ' w! t; L% ~1 b1 ?3 D3 x3 r# p
  1204. ; http://php.net/mysqli.max-links+ U( N* g/ P9 S6 K7 ?3 S
  1205. mysqli.max_links = -12 X/ Q3 _3 m; a2 r: `" d, @+ `
  1206. - u6 C/ s$ C6 B8 `+ D$ C
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache1 A/ `4 G0 @7 y4 ~- {# W2 }
  1208. ; http://php.net/mysqli.cache_size
      I* D# c6 f+ ]2 P: W. e7 t2 D
  1209. mysqli.cache_size = 2000
    " f. C/ v0 g. J8 ^8 `1 {# \- D+ i

  1210. # m% i+ ]! p/ ]8 p; {" p
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use$ U/ w( A% E" g
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the+ r8 Z' p& q8 c4 V6 W! [: A' I. Y
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look% g) c9 T7 k" a/ t! F
  1214. ; at MYSQL_PORT.3 z! a1 m* {' r* @" G7 S
  1215. ; http://php.net/mysqli.default-port
    ; I# }0 Q. b; F. R! }# h1 f' Y
  1216. mysqli.default_port = 3306' }. Y3 d+ L  `- a& U" U' g1 r0 J

  1217.   H, |' F3 H- F' v
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in. P' K7 Y/ y2 i, d- b2 R0 N! M
  1219. ; MySQL defaults.
    ; N7 d% @& W4 h) c
  1220. ; http://php.net/mysqli.default-socket
    . H  q0 F" T$ s8 v# E
  1221. mysqli.default_socket =
      E$ N; ]) \# S! v
  1222.   V, g$ e3 N9 T3 k: x5 e4 P9 @- p4 p1 E7 p
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ' }/ p) D0 E0 J: y8 m6 p9 `
  1224. ; http://php.net/mysqli.default-host( S/ o8 _( |2 J5 [" A
  1225. mysqli.default_host =
    ' q! V; e3 I0 \7 ]" A
  1226. + {5 I% h8 E5 X* l1 ?+ A4 G
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    5 Y% g! w9 g) @3 p
  1228. ; http://php.net/mysqli.default-user0 V3 }5 h/ v" I5 a
  1229. mysqli.default_user =
    * N) s( K7 `* t! x+ c0 C

  1230. 9 Q9 k2 M$ _: \6 `+ H! i2 m# Q. f
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    0 b. m+ V% e' m; {3 L: u4 f' g
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.: k) j9 N$ V% b1 w: P. P
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")/ `3 Y. K, t" J# O( o1 R
  1234. ; and reveal this password!  And of course, any users with read access to this
    4 C; X% q; J0 ]$ ^6 I; @" U
  1235. ; file will be able to reveal the password as well.
    * T& f. z6 @4 Z0 J6 A
  1236. ; http://php.net/mysqli.default-pw; ]& t1 n% H) J2 Q9 z. H
  1237. mysqli.default_pw =
    / m  h$ r3 d" M- z+ V8 ~

  1238. " N* c2 V" _6 |, U
  1239. ; Allow or prevent reconnect
    ) z' u  O# ~' J+ r, u9 M- `
  1240. mysqli.reconnect = Off4 i3 M( w' ^2 [! M' P" U

  1241. ! \2 t2 P/ A; X- Z9 Z4 g
  1242. [mysqlnd]
    4 T: n8 F' }0 v% c! \7 y8 [
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be# A' \7 y: c4 c7 h
  1244. ; used to tune and monitor MySQL operations.* Z' v6 [- O. \7 ^4 _1 K: g
  1245. ; http://php.net/mysqlnd.collect_statistics
    : L% z, y3 M- {" ?0 J
  1246. mysqlnd.collect_statistics = On
    4 a5 P4 c" B0 {# g
  1247. . Y, R  O/ P0 u. b( n# e
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    4 g7 N" r. n2 C& \
  1249. ; used to tune and monitor MySQL operations.4 G; D- W; u5 d0 Y" v
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    " r6 P6 z7 h- Z" f/ \
  1251. mysqlnd.collect_memory_statistics = Off2 W: I& `# p' [
  1252. # v* L0 f6 L1 z# E5 J: v
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    # }1 i; _( Z5 F7 |7 ?& \, A7 J7 h/ k
  1254. ; file.
    1 s& o( |6 p9 ]9 E, a
  1255. ; http://php.net/mysqlnd.debug
    % F* a# S$ R9 B' f$ Y7 `
  1256. ;mysqlnd.debug =& }, a* \- W3 i! n' T

  1257. / D. f* |% K2 T# T$ t
  1258. ; Defines which queries will be logged.
    ( V! G2 {5 E+ O1 @
  1259. ; http://php.net/mysqlnd.log_mask& T+ W. D$ N/ s: u) l
  1260. ;mysqlnd.log_mask = 01 y  R0 ?6 ]7 j7 D5 N& d' p8 \& F
  1261. - L) _- u% {" O# F  z: w9 j
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.8 M' O2 f- ~, ?* ?' t( z( G
  1263. ; http://php.net/mysqlnd.mempool_default_size
    7 {! ~# n# Z# I) Q1 V; F% _4 H* n
  1264. ;mysqlnd.mempool_default_size = 16000
    2 |# k2 B( d5 V

  1265. 4 e2 w* q9 s4 f7 h& h; m1 A4 }
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.9 W9 C- M7 |% a' U8 a
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    5 j/ y3 F8 f8 p1 ^
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    , K" _) D7 C$ H
  1269. + a6 X9 K7 U9 T9 Z6 {
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ( G2 I) O% F0 ^3 ]+ U4 w
  1271. ; bytes.4 p7 i# Z$ o/ I9 c9 O
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    0 V  _8 A" B1 M
  1273. ;mysqlnd.net_read_buffer_size = 32768' b, Z; A3 q  X- j1 @% _: j: I

  1274. / C" A0 K" h, l3 i8 _
  1275. ; Timeout for network requests in seconds.2 x3 \4 Z: t) k/ i
  1276. ; http://php.net/mysqlnd.net_read_timeout6 S0 k4 J2 q& b
  1277. ;mysqlnd.net_read_timeout = 31536000- t2 o. g7 j" e5 w
  1278. ! A4 B3 K" @% q2 c$ _5 t
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA$ M* s+ t. E$ i2 t
  1280. ; key., }" s: ?# B! v0 S1 q( \
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    ; o3 u* u5 c* x
  1282. ;mysqlnd.sha256_server_public_key =: t* \; P* m: ]2 P' L
  1283. 6 r+ s; h4 m; M( d$ g' q
  1284. [OCI8]
    ; I  y% j& |1 P2 a+ M0 k4 W. ?

  1285. * b  W. J) C. }1 A. L
  1286. ; Connection: Enables privileged connections using external
    : l8 `) g& B" L1 X
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)/ p& R- N$ v' l; @: U
  1288. ; http://php.net/oci8.privileged-connect
    1 \# N8 g6 D7 T, v, z; Q
  1289. ;oci8.privileged_connect = Off
    7 O# |# f, q6 U+ `4 F& @. C0 J) i
  1290. , l0 h4 I. B" O6 C: y4 T/ H8 @
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    ; R. H8 P% [2 j% x- e. N& b5 Q9 b
  1292. ; process. Using -1 means no limit.
    $ @/ n" T- ^7 X
  1293. ; http://php.net/oci8.max-persistent3 f: l0 [. ^# p: E% z( L
  1294. ;oci8.max_persistent = -1* _$ |; W4 K5 ?* c' x7 Y

  1295. ' \/ f( M/ L7 {9 k5 c
  1296. ; Connection: The maximum number of seconds a process is allowed to9 _+ b# A% E6 k4 E
  1297. ; maintain an idle persistent connection. Using -1 means idle- M2 m+ ^+ M, c$ L" ~
  1298. ; persistent connections will be maintained forever.
    ; f, T& D+ q" E. T' a
  1299. ; http://php.net/oci8.persistent-timeout
    $ a* J. X4 h# T0 d7 x$ W8 N
  1300. ;oci8.persistent_timeout = -1, ~, T% @2 G7 C; c7 A! R# F) I
  1301. ! _6 {! Q! ^  `/ g9 _
  1302. ; Connection: The number of seconds that must pass before issuing a
    . N0 I, J) I1 v+ ^0 g) s4 M
  1303. ; ping during oci_pconnect() to check the connection validity. When
    : o9 x& r! q3 y5 k. s
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    " ^) r7 n5 c6 p: {3 A; c
  1305. ; pings completely.- v" a) Y' v# a: E  g
  1306. ; http://php.net/oci8.ping-interval
    % A7 o  U3 `& `+ T/ d
  1307. ;oci8.ping_interval = 60" D8 x+ ~4 k: \

  1308. : @: U  Q% l) P! C# x
  1309. ; Connection: Set this to a user chosen connection class to be used
    1 I* ]0 w$ J/ `0 l( W3 S* @7 K5 W
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    , ^# W  {5 u/ S/ P
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to$ _; A( Q) [: R" F0 A8 v
  1312. ; the same string for all web servers running the same application,
    ' U6 s: j% ^" Q. ]. Q0 x
  1313. ; the database pool must be configured, and the connection string must
    3 d6 k1 u- X* a& {% v
  1314. ; specify to use a pooled server.
    ) Q% O9 n% @( r$ W2 `" r
  1315. ;oci8.connection_class =+ H) e. b( E; f

  1316. % W1 f3 @' Z6 g
  1317. ; High Availability: Using On lets PHP receive Fast Application
    3 ?  V6 h, r, e4 a
  1318. ; Notification (FAN) events generated when a database node fails. The: q8 H! W: G/ y4 @; e" F% `
  1319. ; database must also be configured to post FAN events.  J: V" a$ f0 Z6 F( m: {
  1320. ;oci8.events = Off
    + ]# D) J7 m' T% B& H

  1321. 1 p. h2 l& x# e1 _  d
  1322. ; Tuning: This option enables statement caching, and specifies how
    ) q7 g2 [  [; {: r, I3 p, \, a' H
  1323. ; many statements to cache. Using 0 disables statement caching.
    0 W. E7 i; u+ ?, x+ \
  1324. ; http://php.net/oci8.statement-cache-size/ b9 M+ O: U- p6 S
  1325. ;oci8.statement_cache_size = 20  D$ x' y% K4 U; H9 x, H

  1326. 3 e: q/ Q) z3 [0 a) C4 Q: e% i; T
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    # I5 N/ l! t/ B. x% q8 E% A
  1328. ; rows that will be fetched automatically after statement execution.: N: K; [6 Z4 Y2 }
  1329. ; http://php.net/oci8.default-prefetch
    3 l# Y7 b1 G7 K2 u% _# b) k
  1330. ;oci8.default_prefetch = 100% t0 t) I% x8 f4 q! b; L0 l1 M
  1331. ) ~* U. Z" b3 e# D- a: C
  1332. ; Compatibility. Using On means oci_close() will not close' t+ [$ n2 N  k+ ~
  1333. ; oci_connect() and oci_new_connect() connections.
    0 h; L! X& z0 @
  1334. ; http://php.net/oci8.old-oci-close-semantics6 z+ l" H3 l1 b9 P+ {% V/ M9 f+ l
  1335. ;oci8.old_oci_close_semantics = Off
    + J) ~% W4 o7 S! ~0 n' ~) q

  1336. / m$ [$ D* r# k8 u) C
  1337. [PostgreSQL]
    " `7 @; [/ T. ]) ^7 C. U# c4 \
  1338. ; Allow or prevent persistent links.
    " F, y& w& |  [' ^  \
  1339. ; http://php.net/pgsql.allow-persistent
    8 h! \% W/ X% k. |' N5 \9 O2 y! Y0 d
  1340. pgsql.allow_persistent = On
    : {6 q, h- L: ^! g
  1341. 7 q/ H, `3 v0 k$ L
  1342. ; Detect broken persistent links always with pg_pconnect().
    & }* L; w; o3 d- g3 Q
  1343. ; Auto reset feature requires a little overheads.
    . X0 y, ?2 n3 R: {4 R. F* d
  1344. ; http://php.net/pgsql.auto-reset-persistent" j1 Y  `: X7 I; w6 \
  1345. pgsql.auto_reset_persistent = Off% t" {9 J. h0 k' p. w: p
  1346. 0 R$ W; V( c# r  O( ^
  1347. ; Maximum number of persistent links.  -1 means no limit.
    - T' p) B4 _) ~5 @3 B3 L' B0 j4 O
  1348. ; http://php.net/pgsql.max-persistent- U! H" g: S" l
  1349. pgsql.max_persistent = -1) ^% S1 u0 l1 H! m, i. f
  1350. ) W& |$ f8 H) y8 y/ J
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
      ], Z* H1 \7 ?+ S" P) Y
  1352. ; http://php.net/pgsql.max-links
    " Z* k% T5 \# F+ @: K
  1353. pgsql.max_links = -1
    2 i4 x5 s  b9 N
  1354. 3 v4 W( b3 ~2 T) x. a9 h% I: S0 {
  1355. ; Ignore PostgreSQL backends Notice message or not.
    ! S& k5 Y) V" S, ?0 X- j
  1356. ; Notice message logging require a little overheads.9 g( L+ q& Z6 f$ h; c& n/ F% P3 v
  1357. ; http://php.net/pgsql.ignore-notice& F7 U- W5 h' [" O4 ]/ Z
  1358. pgsql.ignore_notice = 06 O9 m7 w2 l4 K6 M) Y

  1359. / g0 ^1 k- {: _
  1360. ; Log PostgreSQL backends Notice message or not.% n/ D5 P1 C7 I6 |
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.% |* M) @# g0 H; x2 L
  1362. ; http://php.net/pgsql.log-notice
    ) H5 r! U7 I& ~& _' |
  1363. pgsql.log_notice = 0
    # ^+ Q4 a0 U- C- T  x

  1364. 3 I; L; I# E: g/ W9 x
  1365. [Sybase-CT]$ h$ [; z# O& b7 y# |" M: S
  1366. ; Allow or prevent persistent links.
    ; \* a/ ~) z- X$ q: ^. z$ s$ c
  1367. ; http://php.net/sybct.allow-persistent
    9 Z& r$ \1 M5 U1 s8 h( i% i
  1368. sybct.allow_persistent = On( H9 h2 w( s, d5 `7 a) m* Q8 K

  1369. ! y5 F+ P6 w( W0 V9 Q' c3 l
  1370. ; Maximum number of persistent links.  -1 means no limit.
    : z. i. Q( l5 i. w+ F& F
  1371. ; http://php.net/sybct.max-persistent9 o4 _! u  X8 ^4 ?3 b0 a
  1372. sybct.max_persistent = -1
    0 a3 i! K# L% Y" B( d
  1373. 2 B( P# R. z: e( W" p
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* O+ W6 {9 h( Y- p/ A0 w! ]
  1375. ; http://php.net/sybct.max-links
    4 `/ S! E8 f" u9 g. p2 L( L& R
  1376. sybct.max_links = -1
    ) L6 Q% V: M" d5 l* j9 d$ i% a
  1377. 2 s* M. d) }& ]
  1378. ; Minimum server message severity to display.
      b3 T3 S0 E& w  @
  1379. ; http://php.net/sybct.min-server-severity7 f5 E; h8 h" V" r. R9 f9 P
  1380. sybct.min_server_severity = 10
    # j% _' A& H0 {5 P. f, R

  1381. $ }- A& Y& e+ Z% g0 \, E4 \
  1382. ; Minimum client message severity to display.
    & {: o# G" t; `& T7 O4 h
  1383. ; http://php.net/sybct.min-client-severity
    # c& ^; i7 L, A' f* s8 E
  1384. sybct.min_client_severity = 10! r' @+ r- t& M8 X* l
  1385. / C0 b: f1 t" P9 J
  1386. ; Set per-context timeout2 O' r9 ?& w3 F
  1387. ; http://php.net/sybct.timeout7 C# ?( r# J( s* C& @  e' e
  1388. ;sybct.timeout=+ j9 }- V0 I* T! \* i$ s+ z
  1389. ) u8 A: Z% N3 t( w5 p
  1390. ;sybct.packet_size6 d1 {% ]& q( e  l3 {' U

  1391. 7 V" O* r) k0 w" B2 F: {9 ?0 y  P
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.* Q  m/ \7 e) `* F- O, z
  1393. ; Default: one minute: I% K$ P. u! `9 |1 n1 o6 Q
  1394. ;sybct.login_timeout=
      ~# ~  I9 U+ s2 W" U) [" ]

  1395. 3 l, v" Q2 J9 U" r* C
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
      A+ \) R7 h( ?: Y5 E6 n
  1397. ; Default: none
    4 t, J2 {- n; W/ @  z' [9 Q2 l
  1398. ;sybct.hostname=3 g6 A$ f7 S" f

  1399. # Z! D5 ]* D% [( D: ~
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever"./ X' M& r7 w& I7 ?: i+ C
  1401. ; Default: 0; m8 j- L" N) [* ~$ [% M+ D
  1402. ;sybct.deadlock_retry_count=
      V3 w% g) k$ q* ?0 @$ Y" R5 W" v
  1403. * v" H/ ~& j  b$ B' e( o0 A- |
  1404. [bcmath]+ I5 J% t  G; S5 U. w; V0 D
  1405. ; Number of decimal digits for all bcmath functions.- `9 ^: t; X3 s
  1406. ; http://php.net/bcmath.scale
    8 F* F7 I* G' \* j3 K+ q1 x
  1407. bcmath.scale = 0; t) b) H* s4 {4 Y+ m" {- d
  1408. 6 |- T2 a# i" e; t3 Z3 E9 D
  1409. [browscap]
    4 y" h0 f4 [$ F& l; W; c7 ~
  1410. ; http://php.net/browscap4 w/ r4 n2 S% l! U5 I7 `3 _
  1411. ;browscap = extra/browscap.ini$ j# y/ |1 @  ]/ n1 c- j6 E

  1412. * y; y7 g# @- W. o9 z" p
  1413. [Session]; e. c7 Z# r; w# R  E- a
  1414. ; Handler used to store/retrieve data." R& T' c5 S  Y
  1415. ; http://php.net/session.save-handler
    - c9 Q' s) K! U9 ]/ P0 W1 a* c; t
  1416. session.save_handler = files
    - c" C0 A# P: H7 h

  1417. & P" _0 Q3 u9 U: B
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    5 Z6 U, {1 J$ ~' k9 r+ p5 I! o
  1419. ; where data files are stored. Note: Windows users have to change this
    ( T- r. G# a7 p- h0 M
  1420. ; variable in order to use PHP's session functions." O) F. H& n! h& P& ?! @
  1421. ;  v" @: f! J  g% I9 v4 y  P6 u& [
  1422. ; The path can be defined as:  {' C/ j' X; z% q" W7 [" c" t3 c1 |( O
  1423. ;& S* V$ U. o; D9 L6 t8 B1 w$ ?
  1424. ;     session.save_path = "N;/path") C+ t) T% g5 r- Q5 E
  1425. ;
    * j3 U4 R$ C$ n" T! `2 a4 k
  1426. ; where N is an integer.  Instead of storing all the session files in
    # T" X- W5 T  U- R9 ?) @
  1427. ; /path, what this will do is use subdirectories N-levels deep, and' |% e" j  V( l, }* `0 ^! F
  1428. ; store the session data in those directories.  This is useful if
    1 x) b, L9 M3 n
  1429. ; your OS has problems with many files in one directory, and is8 ?8 {4 _2 _- G% l0 x
  1430. ; a more efficient layout for servers that handle many sessions.
    " F6 E3 t( g0 F5 U# h2 Y6 ^1 p
  1431. ;
    1 w2 H" r! a0 c( f
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    ! x# b, B4 L4 N. |9 V, I8 W. L
  1433. ;         You can use the script in the ext/session dir for that purpose.
    ! M, F1 x+ m" x
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    % }% E, a) p& g: c' {( n/ b1 L6 o
  1435. ;         use subdirectories for session storage
    + h) q& _  u. q/ L$ S9 p& B
  1436. ;8 p& H: K! W. f  k& z! T! D% ?
  1437. ; The file storage module creates files using mode 600 by default.
    % u% h% n! Q) N* J
  1438. ; You can change that by using
    , L) D; Q* K3 S% @1 V- _
  1439. ;
    , `4 B4 L. r+ \4 G2 {6 n# E  A
  1440. ;     session.save_path = "N;MODE;/path"9 E9 g# |2 I0 g2 i, M
  1441. ;
    ' z" ]) e6 m! Y( v1 l8 L
  1442. ; where MODE is the octal representation of the mode. Note that this0 k5 h6 S, G2 D. r( C) M  w
  1443. ; does not overwrite the process's umask.: E- W# n2 x0 _4 P: ~
  1444. ; http://php.net/session.save-path
    1 R: k' x# s+ j3 |% ~8 a1 e8 \
  1445. ;session.save_path = "/tmp"( S- N% j  \) \3 [3 L3 Z
  1446. 7 B9 f9 I& j* H" O  R" _
  1447. ; Whether to use strict session mode.
    : S, `) n3 I6 q# h0 Q8 Q
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    : F. I" e, r0 N4 f/ m  K
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
      p) H% ~/ o6 a" V# i
  1450. ; applications from session fixation via session adoption vulnerability. It is* s$ w+ Z- [- d+ _7 B
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ! q9 Y) c& U; m- b+ P. Q3 t
  1452. ; https://wiki.php.net/rfc/strict_sessions
    & A1 @  U# T& [+ u8 b* a3 y
  1453. session.use_strict_mode = 0
    8 P& r5 B# ]) q: y* ?
  1454. - B) J) \8 v" d# |
  1455. ; Whether to use cookies.
    2 C! q! ^7 {: k9 H
  1456. ; http://php.net/session.use-cookies) i& ]6 L4 ?0 c/ ~* Y2 c: z
  1457. session.use_cookies = 1
    - ~2 f  p! G5 r4 {
  1458. : L) N0 }! j) X( g
  1459. ; http://php.net/session.cookie-secure! Q9 ]9 |( p) ~4 W3 K7 @
  1460. ;session.cookie_secure =
    + E4 g( }$ }: q% k8 R

  1461. : j8 J9 \+ \' g/ N, \" G# J$ _
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    0 D$ R! [: U4 ]& ^; C
  1463. ; the session id. We encourage this operation as it's very helpful in combating- w) D3 f) B8 A  ?- |' B
  1464. ; session hijacking when not specifying and managing your own session id. It is4 l( Y% }7 A3 Z
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    7 d3 u. }* e( x1 v  b$ t
  1466. ; http://php.net/session.use-only-cookies
    , J8 Z  @: z8 Q+ {* L
  1467. session.use_only_cookies = 18 Z- |5 t/ P7 x# Y! D' _

  1468. 5 s/ ^" O4 [+ V. q9 f
  1469. ; Name of the session (used as cookie name).
    8 M- ]! K) `1 I8 F0 l) S0 l+ v
  1470. ; http://php.net/session.name7 g- j/ r7 m( L9 h6 v
  1471. session.name = PHPSESSID( C- s6 I  y; `* P
  1472. 7 e/ \0 i3 o$ d) |& Z
  1473. ; Initialize session on request startup.
    ( K' ~+ H6 \' d2 v
  1474. ; http://php.net/session.auto-start
    3 I# }4 P+ z5 m5 G9 L& ~
  1475. session.auto_start = 02 o* h1 z1 ?( H* b( o6 f

  1476.   E  w7 K+ _) g- F$ h& `
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.0 Y+ ?& z) I# S
  1478. ; http://php.net/session.cookie-lifetime# ]; a9 \# b) K9 Y/ p! m7 O8 m
  1479. session.cookie_lifetime = 0
    2 B# t1 k" [# Q8 X+ U

  1480. 8 `+ _( d* c9 [* H
  1481. ; The path for which the cookie is valid.: E+ w+ e5 }1 n1 X
  1482. ; http://php.net/session.cookie-path
    ( C9 t# g& E2 c# K% i8 A8 d/ H
  1483. session.cookie_path = /$ e0 Q3 |" @- ]: p  i

  1484. * L; x5 L/ t( v* I: i5 X' e) M
  1485. ; The domain for which the cookie is valid.
    : i' |4 @- r+ i
  1486. ; http://php.net/session.cookie-domain! ?' P5 w/ p6 v! F0 V% K6 ^6 B
  1487. session.cookie_domain =* g; m1 g" N" D1 J( H4 h
  1488. 3 S, a" r, c# h+ A
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ! H$ F8 V# _( U$ g+ X* s) U
  1490. ; http://php.net/session.cookie-httponly: I( @5 A5 }/ {* I( E+ m
  1491. session.cookie_httponly =
    * r% \7 G# @* C- l7 c9 X; @

  1492. - p+ c4 J, G3 t8 O* e8 {
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    9 _$ _$ M; |  h3 M4 g9 e3 y: i
  1494. ; http://php.net/session.serialize-handler
    $ o3 J) A( s( k8 O7 l$ u! W
  1495. session.serialize_handler = php
    # l0 G- T: t! g$ S

  1496. : j0 _" t- O1 C/ j, r7 E
  1497. ; Defines the probability that the 'garbage collection' process is started2 k* l) o& d+ U% f( z0 ?) p
  1498. ; on every session initialization. The probability is calculated by using! F/ e  L* g( \0 y+ c7 o) b
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    & C, M- b1 \: W6 \" b- |* K$ ?. I8 x4 K
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    0 t! T4 s9 }1 L" L3 I
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    8 L; E( V* y  i. ^
  1502. ; the gc will run on any give request.9 R! S; L0 i" K; p  e8 U6 D, z
  1503. ; Default Value: 1
    + X! w7 Z/ ?+ `( f$ M1 x4 Y
  1504. ; Development Value: 1
      ^4 w; t* U' e# g8 k3 [1 [+ z
  1505. ; Production Value: 1
    ! u- g9 M# i3 O
  1506. ; http://php.net/session.gc-probability6 ~' }2 R; h& F) D8 ~
  1507. session.gc_probability = 14 c4 N  |! _* @- p, o

  1508. ' u' b9 W8 z1 i2 @( y: q/ C* p
  1509. ; Defines the probability that the 'garbage collection' process is started on every8 u$ V  R) k$ Q" d
  1510. ; session initialization. The probability is calculated by using the following equation:: W- a2 S# M; J2 W2 [2 ^  u- \5 J
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and. b; D  A: Y9 N0 ]
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1# d5 a' i) Q: o! u- R
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ' ]/ u# u2 V5 m3 q' b) z; T' S
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you! L% Q( M* S( E: E$ P' Y5 d  G
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,7 ~7 z9 p& F% y* |3 Z! f9 ?4 W
  1516. ; this is a more efficient approach., ?% n) j5 a  ^. N: p0 F  m/ C
  1517. ; Default Value: 100; j; f- Z& Y( D
  1518. ; Development Value: 1000
    ; A4 s3 k& ?# S, B4 s
  1519. ; Production Value: 1000% c& T; ]: y! }- e
  1520. ; http://php.net/session.gc-divisor
    * M5 a$ c# n4 X! n
  1521. session.gc_divisor = 10001 s' \# z: U# G, w8 _( F; x9 o

  1522. - C& V* [5 Z6 |8 l
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    7 L  K9 @, u9 P+ m2 \
  1524. ; cleaned up by the garbage collection process.
    0 I9 a4 O! Y" g* }% B$ S& ~
  1525. ; http://php.net/session.gc-maxlifetime# ?' Q! S* l  j1 J9 }; O
  1526. session.gc_maxlifetime = 1440
    9 j. F4 j5 P. i3 U% @! K5 |

  1527. 5 y7 ]2 }: e. j% L2 C# `
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    ' s' I- R3 X& F3 L, ~/ G8 ]7 d
  1529. ;       (see session.save_path above), then garbage collection does *not** e: b& M7 `8 B2 B4 }* e, w( A
  1530. ;       happen automatically.  You will need to do your own garbage* x) h4 P2 V  o$ S) l% ^2 M+ E
  1531. ;       collection through a shell script, cron entry, or some other method./ {- r/ A" ?4 u) ^5 `
  1532. ;       For example, the following script would is the equivalent of
    - n+ z, |" T& R  x/ q& ?/ v2 t9 B5 K
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):3 \1 \. F: r! ^) \8 e" c1 L
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    % e! W) t  a/ A2 j. {

  1535. . M" M$ V, U# `7 `+ E
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.* Y! U; f; X" [+ y1 D
  1537. ; HTTP_REFERER has to contain this substring for the session to be: K# p. r# s/ M1 c, I
  1538. ; considered as valid.1 {3 y, y! b- p# T5 F& m7 `
  1539. ; http://php.net/session.referer-check: U% t; B- e1 ~8 D
  1540. session.referer_check =
    ' I: l# n) u: t% d$ g

  1541. 7 u& V+ G  Y  J, \& Z' L2 T
  1542. ; How many bytes to read from the file.
    $ W' U) h/ u& y' f5 r$ m
  1543. ; http://php.net/session.entropy-length+ A7 Q. D8 m  K
  1544. ;session.entropy_length = 32
    ) q: S, B0 m+ B& Z% g
  1545. 1 z3 ]. [+ H% V7 s. G
  1546. ; Specified here to create the session id.
    % ]  t2 Y8 O* f/ F( R
  1547. ; http://php.net/session.entropy-file
    8 E* Y2 \4 x( K1 F8 D) P
  1548. ; Defaults to /dev/urandom
      S% m$ m7 @4 K9 D/ M4 F
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom& H% f; I  }- _
  1550. ; If neither are found at compile time, the default is no entropy file.6 N! O3 V$ g  m
  1551. ; On windows, setting the entropy_length setting will activate the/ Y& B' D1 S, w! q+ o
  1552. ; Windows random source (using the CryptoAPI)
    / n+ m; H1 p  J2 `% y
  1553. ;session.entropy_file = /dev/urandom
    + L& Z3 O$ O. t3 J; r- J
  1554. ' W! n/ q# v( f! O$ t. L: \+ n
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    4 c3 t0 i+ I( ^  V, @; y
  1556. ; or leave this empty to avoid sending anti-caching headers.. u% u3 S! s; Q3 @" O/ o/ l7 d
  1557. ; http://php.net/session.cache-limiter
    7 `& \# R" K1 q# c3 w% j0 }/ B
  1558. session.cache_limiter = nocache0 p& E! q1 |6 I$ B
  1559. - y; E) O4 e  X, g5 H, C$ a
  1560. ; Document expires after n minutes.1 H1 S  Q; p& x7 b- p% W# E
  1561. ; http://php.net/session.cache-expire
    6 \) m$ E! h; |: N! q2 W+ I
  1562. session.cache_expire = 180. W9 W8 X" T0 ~* d
  1563. , ]2 S( L% O( N! A8 U
  1564. ; trans sid support is disabled by default.
    5 A7 s1 T1 f  t& v+ p
  1565. ; Use of trans sid may risk your users' security., t! u7 N" b: v" T: k" M+ G6 h
  1566. ; Use this option with caution.- e& |& a: x' ]
  1567. ; - User may send URL contains active session ID- }2 ~( m- K3 p4 `1 `
  1568. ;   to other person via. email/irc/etc.
    / p9 x- {8 }3 A1 |
  1569. ; - URL that contains active session ID may be stored
    8 U2 k1 c& b8 g6 y
  1570. ;   in publicly accessible computer.9 v5 u- c- c: h; x
  1571. ; - User may access your site with the same session ID5 C- b! C: P2 X5 I4 ?4 G/ ]
  1572. ;   always using URL stored in browser's history or bookmarks.
    9 c. K- Q- ?( m( X& O
  1573. ; http://php.net/session.use-trans-sid  h7 T. l: @: k1 T
  1574. session.use_trans_sid = 0  n# ~( _5 l. @) ]; I
  1575. * A9 u6 Q7 E( l. T! P$ \
  1576. ; Select a hash function for use in generating session ids.
    4 r1 q5 W/ V3 n
  1577. ; Possible Values$ D$ E" n/ j, q) [3 M1 m
  1578. ;   0  (MD5 128 bits)$ ^) P" g; p0 C
  1579. ;   1  (SHA-1 160 bits)
    + H  z( H0 l1 Z5 y
  1580. ; This option may also be set to the name of any hash function supported by9 e4 b; E1 O! W5 W
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ) _* `. c2 A5 C  m3 v" o/ F1 y
  1582. ; function.0 Q6 @8 }5 M1 `
  1583. ; http://php.net/session.hash-function
    . I+ e7 b* I1 H7 Z8 D
  1584. session.hash_function = 0
    ) p, `! `2 Z# ?4 `  N

  1585. 4 B; p0 W& L8 S% K0 U3 ]
  1586. ; Define how many bits are stored in each character when converting. e& Z9 M& F: U7 U9 c$ J
  1587. ; the binary hash data to something readable.9 c# w" w; w- v1 ^
  1588. ; Possible values:, h( ~' _6 Y5 E( W( q4 B: s. [$ |/ g8 I
  1589. ;   4  (4 bits: 0-9, a-f)' m1 i% ^* R' ?, Y3 i2 @
  1590. ;   5  (5 bits: 0-9, a-v)
    " t. m( N5 b* ^; j8 o
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")7 Y4 Y  T* u8 v9 g* u5 I
  1592. ; Default Value: 4. z& i  r# ]% B, V$ n4 i
  1593. ; Development Value: 5
    : |9 x3 R. n) f' C1 y+ O# U$ V
  1594. ; Production Value: 55 p2 i' m9 G" N! m5 Q# a: E8 n
  1595. ; http://php.net/session.hash-bits-per-character; G4 I- @& w2 P, {& i) d
  1596. session.hash_bits_per_character = 5; P0 T# T5 a/ M: w5 P+ z( R- p

  1597. % L- c" @$ C2 t3 x3 O/ k1 X: u
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.- A& e4 i; U# y) V
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    # n/ Q: Z  J' H: D% ?; B7 @$ i
  1600. ; add a hidden <input> field with the info which is otherwise appended
    ! @5 {$ e  S0 Y0 E# b
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.. H! C; M# r! r8 |
  1602. ; Note that all valid entries require a "=", even if no value follows." I6 `/ T& ~: k  L8 \& Y' k
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="! F6 B# x* l  n3 Y" p- ^. a) E, D" F
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 T) Q6 {) ~1 H! s* n- E" m' z
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 L6 Z/ i  c2 F2 g! S0 R
  1606. ; http://php.net/url-rewriter.tags
    8 U# I; C" X* e/ t  j
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"& e* ]% W6 l$ C, R

  1608. 9 P) Y# g% X8 v4 Q0 Y3 C
  1609. ; Enable upload progress tracking in $_SESSION
    ) t) a" r# a! s
  1610. ; Default Value: On# e- B. t' @4 c& C7 F: N
  1611. ; Development Value: On
    $ Z0 d3 T, @* z. U, Y& q
  1612. ; Production Value: On- Q- Q- A- P4 K& T4 e
  1613. ; http://php.net/session.upload-progress.enabled
    1 ^0 d9 C( j2 D4 n
  1614. ;session.upload_progress.enabled = On* y7 H% T( h/ D

  1615. % O; O/ I1 ]* Q
  1616. ; Cleanup the progress information as soon as all POST data has been read
    ! N) X1 L2 D2 z1 X+ b* w
  1617. ; (i.e. upload completed).
    2 {. w' i' S$ ], b) {$ M) p% f
  1618. ; Default Value: On/ y1 R* D, r1 ~! P8 l( S7 ^+ Z
  1619. ; Development Value: On4 q6 e( s" a4 N. e+ v' m1 Q8 O
  1620. ; Production Value: On
    6 z$ ?& k" M2 v4 D
  1621. ; http://php.net/session.upload-progress.cleanup$ v- B& k' C% m! f) F3 h7 s
  1622. ;session.upload_progress.cleanup = On+ Z/ H$ P5 [; k

  1623. " g/ k8 N  I- h0 T- R
  1624. ; A prefix used for the upload progress key in $_SESSION$ Z* G1 J: c: F% o
  1625. ; Default Value: "upload_progress_". {. Y$ p* V2 j+ V( B! C8 l
  1626. ; Development Value: "upload_progress_"1 J2 g& U+ P% [0 H7 U/ v
  1627. ; Production Value: "upload_progress_"
    " Z2 y& P" d" |. k6 e) s9 z, [
  1628. ; http://php.net/session.upload-progress.prefix( g! C/ Z; P' F
  1629. ;session.upload_progress.prefix = "upload_progress_"! t- u5 C7 b+ B1 y  b
  1630. 8 C9 Q# [; o* o3 @; T
  1631. ; The index name (concatenated with the prefix) in $_SESSION) |) F/ _! V/ J7 Y
  1632. ; containing the upload progress information
    4 \# I4 @7 j2 d4 f. e3 |5 A
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"8 ^) |$ W, q4 V6 y' [
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS": S( W" p3 {; f; E
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    0 l% |3 V6 N3 k4 Q
  1636. ; http://php.net/session.upload-progress.name
    * \  Y% X& Q/ a
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    8 l* t3 N2 i$ B. T+ B7 S4 D! F" s

  1638. 6 W% [! c! w% u* d4 s* b1 H3 H3 r$ @
  1639. ; How frequently the upload progress should be updated.% z( b& O$ y/ T+ Q/ q
  1640. ; Given either in percentages (per-file), or in bytes
    8 Z$ f+ N# a! g( ]! a9 M
  1641. ; Default Value: "1%"
    / {8 }) }2 M: x* E7 |2 `3 M* s
  1642. ; Development Value: "1%"
    & R5 m. r- A& v! I; Z3 n6 q
  1643. ; Production Value: "1%": l; J0 o# R4 ^9 t
  1644. ; http://php.net/session.upload-progress.freq
    ; `7 t& e  Z1 _$ d  F. C
  1645. ;session.upload_progress.freq =  "1%"
    5 G8 k" R( z( V* @9 i2 g2 {
  1646. 6 d: v& S6 O3 C1 q" s" y6 j. J
  1647. ; The minimum delay between updates, in seconds
    1 p3 U7 A7 A: v8 o* C2 l
  1648. ; Default Value: 1
    ' z! c) }  i- ^) ^3 f
  1649. ; Development Value: 17 M2 q% f1 h; a
  1650. ; Production Value: 1
    9 [" T: _$ x" E8 g* N% U9 c% O
  1651. ; http://php.net/session.upload-progress.min-freq6 n7 @9 v8 D* X' ~) e. j
  1652. ;session.upload_progress.min_freq = "1"/ K2 G7 C2 y3 s6 V: m
  1653. ! T: s  M) X" g2 Y0 g' b/ n
  1654. [MSSQL]
    $ m% M2 ^" Y/ I8 K8 [
  1655. ; Allow or prevent persistent links.$ K& W6 g( A* S1 r/ g, u, h
  1656. mssql.allow_persistent = On
    * Y: e! z- k5 P0 [, Z
  1657. - Z' s- \7 F/ E  F3 J% ^
  1658. ; Maximum number of persistent links.  -1 means no limit.# i! a1 |& _" z' |8 _: q! e
  1659. mssql.max_persistent = -14 m# G4 P4 W7 D# d" M
  1660. 7 O2 o2 T3 N. I: s' Q' J, c+ Y
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ( f, w4 N. F. h) b! r
  1662. mssql.max_links = -1
    ; w0 e- ?# @/ d: U, r
  1663. 8 U0 I7 t% O2 j, R! [" ^
  1664. ; Minimum error severity to display.# M/ r; f! ?- B/ d) N4 B: P# ~
  1665. mssql.min_error_severity = 102 L: S( w) E4 Y) q7 X
  1666. ; B1 {$ ^$ ~& G
  1667. ; Minimum message severity to display.7 J- k) a7 H) e; |
  1668. mssql.min_message_severity = 10$ U1 M6 h& v; \

  1669. $ J0 @6 M3 s/ x
  1670. ; Compatibility mode with old versions of PHP 3.0.  `1 }6 t, s5 Y& A
  1671. mssql.compatibility_mode = Off( ?5 `) L( c' ~+ l6 _# L# Y3 W8 W6 ~

  1672. / K0 u/ K0 ~9 H% c- l+ ]
  1673. ; Connect timeout
    % \6 A% \3 }& J! S5 \) C
  1674. ;mssql.connect_timeout = 5
    4 ?! j# l  p0 \  d0 I! A+ P) }

  1675. 6 o- L* s+ B1 W' K2 _. A+ d
  1676. ; Query timeout
    ( f5 Q! c6 p7 v# o& p
  1677. ;mssql.timeout = 60# X6 |, R: @/ A1 ?2 Q" }
  1678.   H3 R: M! C6 ~+ t( g9 z
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
      A+ X3 Q0 i. x2 G+ q2 w& }* v4 _' ?( o2 a
  1680. ;mssql.textlimit = 4096
    : \. _, H! ~  r9 W2 I* C

  1681. * \* f5 M0 j. v" A; Y
  1682. ; Valid range 0 - 2147483647.  Default = 4096.2 ~9 T1 {3 `1 ?% S
  1683. ;mssql.textsize = 40965 F. g) s  b! b7 y
  1684. 8 K- Q& c( G3 A6 ?' \
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    9 z5 ?" T& r5 s& Z1 ~, e# H
  1686. ;mssql.batchsize = 0
    : N5 f  p4 L. R4 C
  1687. % Q" U' F$ |: z9 U5 v3 ?
  1688. ; Specify how datetime and datetim4 columns are returned7 z) f1 g  ^- K6 Y" g8 Q" y* E
  1689. ; On => Returns data converted to SQL server settings
      t+ F6 \  o, H8 v
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss) y1 i- G9 @" ^% K- h3 b
  1691. ;mssql.datetimeconvert = On: ]% \' l, n+ u: {
  1692. - M! u# B- H( D. ~% S& A
  1693. ; Use NT authentication when connecting to the server- j8 o' ?1 Y! H3 ?
  1694. mssql.secure_connection = Off5 `* d5 z5 ^7 ]# f1 |/ s
  1695. 5 {9 }5 h) f6 F/ t' ]
  1696. ; Specify max number of processes. -1 = library default( z2 f2 T/ \2 I% I- b1 ]. O2 c8 G
  1697. ; msdlib defaults to 258 E) h- I& O8 J
  1698. ; FreeTDS defaults to 4096
    # W5 `5 h, H  a$ g- A' I
  1699. ;mssql.max_procs = -12 n4 V% C1 P( f# ?2 Q
  1700. 5 O: ?- B2 Z" N4 k
  1701. ; Specify client character set.( B! ]/ O1 K& g% r3 \, s  a
  1702. ; If empty or not set the client charset from freetds.conf is used: {- N$ Y  x9 O  T" ]* Y2 \( ]
  1703. ; This is only used when compiled with FreeTDS3 v5 O7 J; H& s+ W
  1704. ;mssql.charset = "ISO-8859-1"  \. ?2 p( T: J/ `0 u
  1705. * [0 q' f) o" U5 P6 Y+ o$ y
  1706. [Assertion]
    : A' o) e+ B1 X' d1 ~/ l' o
  1707. ; Assert(expr); active by default.  Q- d# T0 j, ]# c) \$ R
  1708. ; http://php.net/assert.active
    2 S( n8 v( W. n4 W
  1709. ;assert.active = On
    3 T; T, W* Y* W

  1710.   ^+ a7 Z* \' A# W- E" l8 Y7 @' k
  1711. ; Issue a PHP warning for each failed assertion.
    3 j' S1 r7 V' _4 I: r9 w: r
  1712. ; http://php.net/assert.warning6 Z) u9 [( I+ w2 E' b
  1713. ;assert.warning = On: y  D" \3 j. {; ]0 R
  1714. ; O, D1 |0 g2 D  V3 J* [& W
  1715. ; Don't bail out by default.
    ( t& O( R; r4 B" ~
  1716. ; http://php.net/assert.bail
    . f5 t  o* |8 x, I3 z, N
  1717. ;assert.bail = Off2 s- F8 ?7 B& U: e: I
  1718. - n+ R) A+ ^8 a8 r3 X7 d5 C0 b/ P* f1 z
  1719. ; User-function to be called if an assertion fails.( t& J- R. ]8 n' F
  1720. ; http://php.net/assert.callback
    / ]7 L# E! I( e5 ?/ c. E4 E
  1721. ;assert.callback = 0
    0 Z9 x5 A- G: ^0 \4 P
  1722. : b8 B8 j& m, `* H+ H
  1723. ; Eval the expression with current error_reporting().  Set to true if you want, F6 F- T* e4 P
  1724. ; error_reporting(0) around the eval().# v- e. y" I' u' H5 N& h
  1725. ; http://php.net/assert.quiet-eval
    / Q- r! R( h0 m% ]" j; v
  1726. ;assert.quiet_eval = 0
    , G. ?6 K* W- ]; N
  1727. , ?: C/ M0 u' p3 h7 e4 p
  1728. [COM]( h) T& u# e5 r4 H1 d
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ; y4 q* `8 e. Y* d3 v
  1730. ; http://php.net/com.typelib-file
    9 z) r8 U; `- F9 e0 h
  1731. ;com.typelib_file =
    ( |" N; E# J. E7 U

  1732. 3 }. l$ K4 k5 k) Q1 S
  1733. ; allow Distributed-COM calls7 e. C" y, a  v/ y1 `
  1734. ; http://php.net/com.allow-dcom3 _' H, R+ L  K5 g3 m' d; G7 T
  1735. ;com.allow_dcom = true( [  ~% k; Z2 Y7 U% [% R3 G/ b

  1736. - J& B  v, {" C/ l, p# d
  1737. ; autoregister constants of a components typlib on com_load()
    1 n8 m/ D. ~' c
  1738. ; http://php.net/com.autoregister-typelib
    : P/ l( a. P8 e
  1739. ;com.autoregister_typelib = true
    3 f+ x+ R2 N5 y9 y+ J8 Z, v8 e  N

  1740. ; B& [9 g- ?& v" p8 W; N) l8 F& S
  1741. ; register constants casesensitive
    / }" ~/ ^! Z7 H1 w1 [
  1742. ; http://php.net/com.autoregister-casesensitive# C8 O6 r0 }0 W3 w- r& Z3 l
  1743. ;com.autoregister_casesensitive = false. D; D; ?! B6 S) v. {6 X3 B! E
  1744. 7 t* d  R7 X# I- Y4 L! r: I
  1745. ; show warnings on duplicate constant registrations/ i5 V( w4 x6 S7 v9 ?  F. e
  1746. ; http://php.net/com.autoregister-verbose
    - z# b. X, }5 s3 p
  1747. ;com.autoregister_verbose = true
    2 X- h6 S' O7 |: Q* i

  1748. # i6 D7 L- H' B
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    & |% i& D3 F7 J
  1750. ; Default: system ANSI code page
    * L: P6 \3 X; @( V8 z3 @
  1751. ;com.code_page=
    % p$ ^% ~0 O* b9 h% U
  1752. 2 G5 q6 _# S) T; V& _% d
  1753. [mbstring]
    9 V3 ?2 ~" U7 n& m
  1754. ; language for internal character representation.
    - N% g; ?  ]$ e3 P' s
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.( }7 Z8 ^% O+ p4 f6 Z( k
  1756. ; http://php.net/mbstring.language
    ! j5 [7 ^, X4 a3 ~# s, U' k# D' g. ^- [
  1757. ;mbstring.language = Japanese4 @3 H' X" o2 Y& i
  1758. " W  `$ I( x+ W- K. Y6 D
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    # I) q0 ]5 ?+ l8 k7 |6 }
  1760. ; internal/script encoding.
    ! M( L  @; y9 |4 E. z$ q
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    : K7 s4 o) g% t+ O& A+ o/ L! ?
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.8 t8 O8 J% t4 l& p! M9 @
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding7 s# g* M8 ^, [8 `! V6 G# u
  1764. ;mbstring.internal_encoding =
    9 g7 V. X* f1 o9 h$ W8 y0 ^
  1765. " p: s0 D; B6 O  R- U+ \# x
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.! l6 M% L2 p3 |$ f" H5 j/ @
  1767. ; http input encoding.
    8 ^7 ^0 a  ?  i* U
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.3 R8 }8 q: C! j& s0 r7 v
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.! r$ U5 f" _4 p0 H
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input. h* F- b$ N7 \' @
  1771. ; http://php.net/mbstring.http-input' V9 L, O6 e! X5 h1 T4 J
  1772. ;mbstring.http_input =1 ~6 ~: l/ ~' y0 H' f. g% ^) `

  1773. / H! v& S. u* j. m1 E
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.7 h5 c& g/ j5 K( L: c
  1775. ; http output encoding.  r, n% i! q% Q, t4 ]0 k
  1776. ; mb_output_handler must be registered as output buffer to function.
    7 u* ^6 ~7 z0 ~& C: T3 o
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.+ I( w7 ~% y& H3 p+ [4 k
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output( o- y9 E( t# U; L2 f
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    ) y1 _0 N# A1 i( n9 y
  1780. ; otherwise output encoding conversion cannot be performed.7 [/ s# ~% h  K- F6 U
  1781. ; http://php.net/mbstring.http-output4 m6 ~3 C5 J7 N& _7 O
  1782. ;mbstring.http_output =
    ! ?7 P; T4 Q' w* K
  1783. % @" ~9 w) y# C
  1784. ; enable automatic encoding translation according to
    4 d7 D% F& q+ R4 R6 s
  1785. ; mbstring.internal_encoding setting. Input chars are3 _. u* i0 b; U" K) r
  1786. ; converted to internal encoding by setting this to On.
    / ~( {# t- Y; }, U4 S  N" e
  1787. ; Note: Do _not_ use automatic encoding translation for( V" l9 B6 C1 P; I; U+ \' y
  1788. ;       portable libs/applications.* Z. S& T2 F7 G
  1789. ; http://php.net/mbstring.encoding-translation! }6 _) u6 U5 ]$ U2 S- z: f
  1790. ;mbstring.encoding_translation = Off: M7 e+ e0 `0 |

  1791. - I& Y4 D. ]9 o. N9 G9 s. `+ ]9 ]
  1792. ; automatic encoding detection order.; `# c$ O, q1 D8 d- w8 x
  1793. ; "auto" detect order is changed according to mbstring.language
    2 V% x4 y1 n' H  X
  1794. ; http://php.net/mbstring.detect-order
    , i6 }* q! I2 d1 H1 i  R
  1795. ;mbstring.detect_order = auto
      j3 j. b+ K& C+ x: V

  1796. 3 ?( o* y2 J4 L' k* ~7 W2 d
  1797. ; substitute_character used when character cannot be converted5 B4 y+ B" b8 e0 f7 @
  1798. ; one from another
    - L& i9 l7 P. n0 m) i; m
  1799. ; http://php.net/mbstring.substitute-character) t) T. P, w  N3 y. _: y5 E
  1800. ;mbstring.substitute_character = none
    0 J9 _/ O' Y2 p' F  s4 ~2 y
  1801. * u, _1 ]+ D  S9 b. F
  1802. ; overload(replace) single byte functions by mbstring functions.# r& ^" T. N% w! G) G  o, e
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ( j6 p# x: W7 l  @. ?9 _% h
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.0 X' d6 R1 v5 `$ K0 U
  1805. ; For example, 7 for overload everything.0 e/ J9 i3 T. `$ f
  1806. ; 0: No overload; N! e  P5 \: G
  1807. ; 1: Overload mail() function7 ?/ _" J2 \$ n6 c5 V% g
  1808. ; 2: Overload str*() functions2 ?" t$ P5 z1 {; v8 w8 S
  1809. ; 4: Overload ereg*() functions
    3 j2 c( y# O. d- F; Z7 m
  1810. ; http://php.net/mbstring.func-overload$ F- `: n8 u0 w! r0 n# z% g4 ?
  1811. ;mbstring.func_overload = 0
    % \2 q4 }: P1 k2 |: u
  1812. 3 L) u1 m% Y9 m' S! M0 k
  1813. ; enable strict encoding detection.
    , f  s& H. T9 ?& I& o5 G9 J
  1814. ; Default: Off9 x/ A: z/ t; @
  1815. ;mbstring.strict_detection = On" u8 R: v( S' R$ g  D, a) [1 w

  1816. . z6 n9 @7 R! C
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    . V* A7 b" k5 `( z
  1818. ; is activated.1 o, u% x* y- q) d1 H- U
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    $ p+ _1 `' M* Z9 M; E0 y
  1820. ;mbstring.http_output_conv_mimetype=) {/ t* B0 B& ^7 ^7 T# o/ x( ]4 {
  1821. $ T; ]9 I3 Z- ?! E; f8 u
  1822. [gd]5 ]4 u1 M  h/ \8 R7 h  o& I. l
  1823. ; Tell the jpeg decode to ignore warnings and try to create
      g% B  x0 E/ c3 k
  1824. ; a gd image. The warning will then be displayed as notices
    + A  \: e' ~4 W* H. W1 h
  1825. ; disabled by default
    8 Y  O4 P- M2 y7 V& P
  1826. ; http://php.net/gd.jpeg-ignore-warning
    8 r' A( W* m7 f6 p) x; ^
  1827. ;gd.jpeg_ignore_warning = 0
    9 c2 x$ Q: _, u" w0 H
  1828. ( B  `9 l5 c: e  {9 x: S, b
  1829. [exif]4 l9 T7 h. {7 `
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS., U( }/ n6 P, b! y
  1831. ; With mbstring support this will automatically be converted into the encoding
    " f' B- K$ n' n: E0 i! Y4 W
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ' e8 J+ A) \7 X' A. U+ _% L( {0 R+ F
  1833. ; is used. For the decode settings you can distinguish between motorola and$ b& U& D/ t$ h* k9 I' Z& b
  1834. ; intel byte order. A decode setting cannot be empty.
    9 T/ F: q7 N. ^. Y
  1835. ; http://php.net/exif.encode-unicode
    + p2 C1 ?2 p$ F1 J
  1836. ;exif.encode_unicode = ISO-8859-153 S4 s7 a" F7 V7 B" Y' E
  1837. , c0 a; h( w7 g7 b" ?* F
  1838. ; http://php.net/exif.decode-unicode-motorola( r+ P5 w& d  I7 r! ?0 @( l
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    & R6 Y- F! n5 l9 U6 n% X$ A
  1840. * j. y; b% ^7 M9 v0 A7 x% {
  1841. ; http://php.net/exif.decode-unicode-intel
    $ x  [% ]4 O; V/ u0 e* Y
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    5 P, O+ ]+ c9 X( H! z

  1843. 6 w# D0 \* M5 x" _6 y$ [' J
  1844. ; http://php.net/exif.encode-jis
    % G3 Q/ ]% o+ q2 f0 E' h; U( {) ?4 \
  1845. ;exif.encode_jis =
      w$ V. a" z! w9 @, x7 m- o, h

  1846. % t3 @: o' N: B! R- _$ t+ s* K
  1847. ; http://php.net/exif.decode-jis-motorola: q$ c; O/ c( ^; k  z
  1848. ;exif.decode_jis_motorola = JIS! l+ W8 `% S/ Z8 k( J3 b7 X0 Y5 Q

  1849. 0 U1 F7 M- I( d" q5 ~
  1850. ; http://php.net/exif.decode-jis-intel. q* ^: o8 s  V7 z
  1851. ;exif.decode_jis_intel    = JIS
    " Q& E+ K5 i( U! O9 S% H

  1852. 7 I# [1 t* j' W5 T4 ?' c! h
  1853. [Tidy]& `* j7 c. H. K- j1 L7 F2 r
  1854. ; The path to a default tidy configuration file to use when using tidy* @- n7 P, }8 x& E' b+ x) H
  1855. ; http://php.net/tidy.default-config
    * V5 n/ y. |3 x$ R- |; }9 A
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    2 b# |4 o5 E: _8 n5 ~; t" j: _3 ^" l

  1857. 3 Y) n$ m+ e$ B- M7 ~5 Y& Q" u
  1858. ; Should tidy clean and repair output automatically?
    1 Q+ I, m- Y5 U4 v4 R
  1859. ; WARNING: Do not use this option if you are generating non-html content1 M+ q, c! @! R4 m! s9 r  T
  1860. ; such as dynamic images
    1 T% s8 s/ L  ?( d
  1861. ; http://php.net/tidy.clean-output
      L6 d7 \4 j% X( P3 P! A- C
  1862. tidy.clean_output = Off5 z5 N( A9 D3 E
  1863.   ]( L2 A3 G6 ?/ N
  1864. [soap]
    " K- g  Q) g1 V0 h  h9 `
  1865. ; Enables or disables WSDL caching feature.0 V7 Z* z( L- ?1 D2 I( i
  1866. ; http://php.net/soap.wsdl-cache-enabled
    # F8 w2 R0 y8 H! ~/ Q0 I
  1867. soap.wsdl_cache_enabled=1
      a! q& G+ }$ e6 K' V
  1868. 8 S; q% d4 e' e0 {
  1869. ; Sets the directory name where SOAP extension will put cache files.3 c+ S2 g# {9 ?1 a
  1870. ; http://php.net/soap.wsdl-cache-dir9 D' m3 S& C9 _- g2 K; F! f$ s' M* ^
  1871. soap.wsdl_cache_dir="/tmp"
    ; D. p4 m4 O2 H* j
  1872. , s# b5 X2 b7 \$ f" ]5 E5 j, m3 x
  1873. ; (time to live) Sets the number of second while cached file will be used' e( g* |# D: ~. S& {( z6 a1 v' I
  1874. ; instead of original one.
    1 n# _& r- R% x) z4 t& @6 ^- d! e9 d
  1875. ; http://php.net/soap.wsdl-cache-ttl
    + ^8 q3 U" c: J% `* u+ R
  1876. soap.wsdl_cache_ttl=86400
    5 r3 o3 t, O; @1 q
  1877. 0 [/ a  N- Z/ d3 k7 a
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)8 \( Q1 `8 p# x* r5 S
  1879. soap.wsdl_cache_limit = 5! t; {& D: {" f% ]( R* i

  1880. 4 V7 h% z8 h- @8 l0 z
  1881. [sysvshm]* G$ @% H( V: w$ L" B
  1882. ; A default size of the shared memory segment
    9 Q# u7 ^2 K# T; g5 Q
  1883. ;sysvshm.init_mem = 10000
    # m; S* B: _, k9 s0 Q
  1884. 4 I2 i, z* I; F/ c7 }! L4 A" z( s, ~* X
  1885. [ldap]$ \1 u8 W9 ~# @  _, |
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    & U+ S) P2 z" Q
  1887. ldap.max_links = -1
    : E1 j, ?: H/ v
  1888. ) E% e* P( ]% c0 I+ I$ x7 t
  1889. [mcrypt]! p; T0 t# _3 X; Q3 G
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open4 h$ z1 f2 Z$ G2 `: T/ |! t/ t
  1891. ' P3 Q; k& _! _$ w0 g. N7 G
  1892. ; Directory where to load mcrypt algorithms
    * H% u0 I1 i* H: j4 s: Y
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)0 h, X% n( c; N/ C9 T
  1894. ;mcrypt.algorithms_dir=
    ) l7 M" h- v0 c; P8 |% O( j

  1895. " L, j8 h5 v; I2 K3 c: X: V
  1896. ; Directory where to load mcrypt modes/ q0 L% V' c4 b# i1 ], r* {( _
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
      n; Y7 P) s2 B, w
  1898. ;mcrypt.modes_dir=
    " o7 T% M5 n1 }

  1899. 0 D/ {* Z4 U7 @8 C
  1900. [dba]5 E- R3 \0 l8 l, B, P$ B
  1901. ;dba.default_handler=
    7 B# B+ G7 e1 J7 \; G

  1902. # D- _- M9 ^8 ]3 ~7 i; L
  1903. [opcache]
    : \  Q4 h: a* Z4 H6 c0 R  i5 r2 B; e7 v
  1904. ; Determines if Zend OPCache is enabled
    ) p7 r! U# ]4 D% B7 z5 O
  1905. ;opcache.enable=0
    8 i2 P5 m2 \2 U; f' c$ W
  1906. ; ^4 Q" |( ]6 j5 \( I
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    4 e7 E# ^* o  _  I
  1908. ;opcache.enable_cli=0
    $ E! L9 I% M/ A! u8 v8 c; f' w. o
  1909. 4 ?7 a3 e, m- `1 t7 u6 H5 ~
  1910. ; The OPcache shared memory storage size.# g4 |" N) j8 X' Z( B$ W
  1911. ;opcache.memory_consumption=64
    ' v) }' f1 o" b! I# o6 H, r
  1912. % Z8 f" I. |9 ]9 ~
  1913. ; The amount of memory for interned strings in Mbytes.
    + {9 E+ S: J6 F( F/ w+ ?" d
  1914. ;opcache.interned_strings_buffer=4& {0 n9 v) v! x6 b" o6 y" U
  1915. ) O& u0 X& t) d& I
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.6 b: Y; b( V9 V' b$ q
  1917. ; Only numbers between 200 and 100000 are allowed.: r, Q$ D; {( p# X( g
  1918. ;opcache.max_accelerated_files=2000
    8 q& W% v& a) l) Q5 E/ j" c+ W1 y( ]
  1919. + \3 B) e) p9 F3 b/ z- u
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.1 _1 e4 m3 |: Y' c; N% Y7 ^
  1921. ;opcache.max_wasted_percentage=5
    * H7 s- D# j% b7 p; _
  1922. . p$ U/ _$ H, g
  1923. ; When this directive is enabled, the OPcache appends the current working9 W2 V; B" l* x' y1 ?# i6 ?( P7 O$ p! Y
  1924. ; directory to the script key, thus eliminating possible collisions between2 g+ u; T( L- a5 ]
  1925. ; files with the same name (basename). Disabling the directive improves
    # M$ a! O. x+ Q$ b1 F
  1926. ; performance, but may break existing applications.
    & i+ e4 s& r; [/ E0 D: \
  1927. ;opcache.use_cwd=1, d4 ^" G6 W, U4 `% c
  1928. % d. f  {/ S$ K- H$ V; A
  1929. ; When disabled, you must reset the OPcache manually or restart the
    . Y) x- s/ |# k% P9 u! }0 G
  1930. ; webserver for changes to the filesystem to take effect.
    5 N! r2 n  O1 C- h4 f5 S6 y
  1931. ;opcache.validate_timestamps=19 H+ G+ Z+ s$ k2 U; I4 u4 D( h+ v

  1932. . C8 T5 b- v( |' i8 K8 L* ]
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    ) C! o+ l. L* ^" E: @0 I
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    ' s* ^  W' x0 o  R+ u
  1935. ; once per request. "0" means always validate)+ Y  B5 G3 ~8 L1 n2 _; z4 U
  1936. ;opcache.revalidate_freq=2
    ! x' P0 V* \! p; o

  1937. , R# Q3 u/ [9 O& a! e' M( o/ d
  1938. ; Enables or disables file search in include_path optimization4 w: e; D3 C  H  ~: i6 m
  1939. ;opcache.revalidate_path=0
    $ ~/ R2 z/ h, e
  1940. 8 L* X8 ~+ x7 q# c; f
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    7 v( ]2 t# x% q* H! S) @
  1942. ; size of the optimized code.  c1 w9 ]) M$ o
  1943. ;opcache.save_comments=1
    ( c) ~" d0 Q4 a  H8 {' W5 ]- C

  1944. # h  w9 t" H0 P! Z. w
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    8 t" a7 m# R9 c
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    # V0 C( I7 `/ q! O* A. K9 [1 G
  1947. ; that don't need them anyway.: y8 \0 ^& k8 Y$ L$ b, V/ c7 e
  1948. ;opcache.load_comments=1
    : Q2 w) M- W9 I0 V# @

  1949. 7 h) n% y9 Q+ V
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code" e! q9 x/ @- R9 x" N) k; k! }; j
  1951. ;opcache.fast_shutdown=06 L; c9 ^5 }" P7 l+ h
  1952. 6 I( [- s2 l2 H( X& V  p
  1953. ; Allow file existence override (file_exists, etc.) performance feature.& V& W3 P+ L; f5 _7 X
  1954. ;opcache.enable_file_override=0  H- x- T# o  z8 H/ z2 H5 w

  1955. & n5 y$ Y( t# l% F2 K! N
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache$ z. s5 k+ ]$ ~( _& `3 J; e/ ]' u9 ?
  1957. ; passes1 x% s% {: ?- Q
  1958. ;opcache.optimization_level=0xffffffff
    ) M: J7 P6 l: @% x/ r7 R. P, D
  1959. ) q8 O. R9 k! Q$ x$ Y
  1960. ;opcache.inherited_hack=1; @6 G! O5 J# }- z, T) T: P% v- s
  1961. ;opcache.dups_fix=0
    ' v6 \' ^5 K2 d. _% _
  1962. , d+ i/ [* o9 S1 c" ~
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
      T' _! j" x4 Q/ L1 p
  1964. ; Each OPcache blacklist file is a text file that holds the names of files2 {' ~8 ]% V) [+ g( d/ ]
  1965. ; that should not be accelerated. The file format is to add each filename
    ( d6 Z2 T2 u+ Q6 i- h' i) I7 f
  1966. ; to a new line. The filename may be a full path or just a file prefix
    8 N/ N- d8 U2 |& h  b! F8 o
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ) @6 d1 F: z& S0 G# `
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    6 h6 G* S* @2 ~% }" X: W) P  ~
  1969. ;opcache.blacklist_filename=
    ! N/ A) g& ^3 }% P( y( J, z

  1970. 8 y2 l% j! z8 f% t$ K* F. x8 X7 ]
  1971. ; Allows exclusion of large files from being cached. By default all files# B( c: N% U  \9 e" M8 i
  1972. ; are cached.  B/ L  L" c* Y' H: y' f
  1973. ;opcache.max_file_size=0
    ! n/ x3 w% ?5 ?/ B' K  E1 M

  1974. " P4 K* G; b/ t7 p  `0 ~" U# x2 W
  1975. ; Check the cache checksum each N requests.
      }# i9 F# v- u9 z) R
  1976. ; The default value of "0" means that the checks are disabled.8 I0 S1 e5 c8 k. N( r! |2 }& P+ p
  1977. ;opcache.consistency_checks=0
    3 A' i9 a4 }# K" F
  1978. % a' ^, J1 @' F# t* }! E  C
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache7 Q1 C# V$ `1 L: Y" U& Y
  1980. ; is not being accessed.9 {! O) z  u+ j! ?; ^3 K7 q2 f
  1981. ;opcache.force_restart_timeout=180- c0 a* v7 n; ^/ I. X8 h6 H

  1982. 2 d8 B2 W3 i; B0 T
  1983. ; OPcache error_log file name. Empty string assumes "stderr".% N- L6 u9 ~/ b% a
  1984. ;opcache.error_log=, X3 ]7 G9 f! v) ?* P

  1985. & g% |" G- ?' y
  1986. ; All OPcache errors go to the Web server log.: j8 j. P2 b9 P0 @+ ]* q8 O
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.$ n* U7 f4 O6 F3 G4 p3 H, o6 ^
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    ( e& X. t: i' l0 E8 p4 a
  1989. ; debug messages (level 4).. l, T) s- h& _. d2 i- N
  1990. ;opcache.log_verbosity_level=1
    $ F: O3 Z& K+ K) _  u) K4 B6 y
  1991. * z2 w) y; p& p
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.: w0 Q7 ~' C  z8 W* b" [. m0 a
  1993. ;opcache.preferred_memory_model=: \0 u; G7 F2 o7 e

  1994. / P" y6 o, i9 U9 v& _
  1995. ; Protect the shared memory from unexpected writing during script execution.
    . D9 ?, n( ~7 Y4 F
  1996. ; Useful for internal debugging only.; D7 J8 r! v  Y4 X) `1 X. M! @3 Z
  1997. ;opcache.protect_memory=07 G0 S7 f3 ]8 b
  1998. 6 F  H/ G5 N1 l
  1999. ; Validate cached file permissions.6 r: _* X$ T0 t  c" ~, q
  2000. ; opcache.validate_permission=0
    % T, i" R7 \& s) k0 R  P/ L

  2001. 5 x5 B  P1 y1 y+ ~/ K4 u
  2002. ; Prevent name collisions in chroot'ed environment.
    7 u* c* o; t$ m) B: p$ b
  2003. ; opcache.validate_root=0
    * W0 i9 T3 i6 O$ @! T

  2004. ; V) I: T6 t) u- u# i/ _# F6 |
  2005. [curl]
    - g' u" @9 p' T0 W! F
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    2 c% V+ a6 q6 [& l
  2007. ; absolute path.
    ; x, v' o- `3 o8 }0 c7 G
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    4 G+ R9 W/ m' S! B5 f& T* F$ d( b

  2009. 2 G  j- i* ]2 S& R7 X3 Z  b: `3 L
  2010. [openssl]
    ) f& c7 c7 l* z, G. v! i9 f
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    1 s- j' L$ |: h9 M# w( m+ o8 U* _
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    9 X- }3 Y1 i" v  k6 ^' i
  2013. ; not specify a value for this directive as PHP will attempt to use the
    / W1 H5 L* C# |: {- J; D
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    ' f2 Y7 W) z0 R3 D% E
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context+ \$ G0 U2 E% S9 @) Z. `9 N
  2016. ; option., a8 X# {9 }& ?! ^1 }* B# ?  D
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt  z* P; b$ |( E

  2018. 4 n3 D$ o7 n: Y$ {) s* [
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    ) w/ w% l" V2 t$ L! [! \, ~
  2020. ; directory pointed to by openssl.capath is searched for a suitable
      O, D5 I4 P8 m- J! n1 I& `0 t
  2021. ; certificate. This value must be a correctly hashed certificate directory.
      F6 i4 b, O. [/ T6 H& a( S) V4 F+ U
  2022. ; Most users should not specify a value for this directive as PHP will8 r8 X! f; o. [" }& T
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,! d" r# {5 `3 T" ^& P! I7 ?. }. L
  2024. ; this value may still be overridden on a per-stream basis via the "capath"& R. @8 A1 m) P+ A/ P
  2025. ; SSL stream context option.
    2 c: ~5 ~3 `% \( p& T2 C9 P4 H
  2026. ;openssl.capath=7 Q" R1 n! C: u; e' C9 Q

  2027. 0 t6 W/ i; S9 X- c
  2028. ; Local Variables:
    8 [- B0 _5 w7 ^- n9 c) h' N
  2029. ; tab-width: 47 O9 U- ]8 M3 |7 m
  2030. ; End:
    4 O$ R$ ]# x4 X6 j% s3 a

  2031. ! `4 _9 y  J2 \. F  O: A
  2032. ;eaccelerator
    ( D. L" Y. H0 Z  o
  2033. 5 X, u" V$ \. h+ Z2 m% L7 h* ]
  2034. ;ionCube1 r" G% M" a0 I  o. Q3 F

  2035. 8 G! L6 s0 \* q( S" J* {
  2036. ;opcache
    . K  Q* I6 c, X6 O& d8 T; \
  2037. 0 K6 V7 }+ @: c! M! G* o- \; C* V- c
  2038. [Zend ZendGuard Loader]
    4 w4 U" a9 @. d/ r; s1 V
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so1 z: }3 `+ c6 Y' B! r# _; G
  2040. zend_loader.enable=15 l4 Q: U* e* _% J
  2041. zend_loader.disable_licensing=0
    9 D3 R& f- V/ v( p* u0 D: Q
  2042. zend_loader.obfuscation_level_support=3
    ) ~! l2 P6 f. A0 W
  2043. zend_loader.license_path=" k4 F) R6 m6 ]8 p, O- H" Y  n
  2044. % i" Q& ?, n" c/ @
  2045. ;xcache2 o% N3 K% t$ R! \9 V+ z9 Q

  2046. " k: _0 ]- Z2 K' m, _0 r$ c
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692$ \! u& \( y% {

# L1 G" L/ r' a) s0 k* K/ B( Z0 B: F( X
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,8 \3 w2 m  }* O# p2 N

3 B1 P" S' l( N5 o) i) ODiscuz!程序版本选择:" u* \2 o( R( _( ?
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,. D: H0 J8 ^% D8 c) C; V: G" P2 A% K7 ^
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:3 [8 N8 C7 ~5 P
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
4 a8 a5 z; q* G% b! n" ?7 o  z+ \
7 M3 S$ i2 C' {Discuz!插件模板版本选择:
! m& v6 \* }) v# F0 d0 U0 R- ]很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
) ~- ~3 A* E7 f+ a针对这个问题做个统一的普及:
7 f! e7 u/ S  I2 }X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。; c8 ^% C# s: D6 U
( z! Q& k0 Y+ l3 ^, O
所以2 z7 ~  I# a! `9 t1 ]: @% p* }
适合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的二级域名。, P1 A! B" y) O, F* u  Z; b# Q
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
4 S6 V3 z6 f. I5 @$ K& X注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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