分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0$ |/ s3 w6 ]9 N3 F# c- ?- l
& ]6 P# y5 d& l# R
  1. [PHP]
    ; v, S" g# P& y/ V/ [2 }' M# m

  2. 9 v8 H  X- A" |3 a! W2 H( f
  3. ;;;;;;;;;;;;;;;;;;;+ J& `/ l7 O' X* U, N8 }
  4. ; About php.ini   ;
    . ~- m- x8 d, `3 p; _5 e7 o
  5. ;;;;;;;;;;;;;;;;;;;( W0 \' M9 h6 z1 c
  6. ; PHP's initialization file, generally called php.ini, is responsible for+ @. g$ q0 S! P  T0 C
  7. ; configuring many of the aspects of PHP's behavior.& ^  f0 e- B, T( a+ v: ?
  8. ) l  K% I6 t% @% u. ^* l
  9. ; PHP attempts to find and load this configuration from a number of locations.  b# B: [" `& u9 o2 \
  10. ; The following is a summary of its search order:
    & I% o6 }6 u, i2 E4 L% J
  11. ; 1. SAPI module specific location.* Z: \; m/ A. \
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)6 ?0 b% |& t, l! v0 [3 V
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0): y' d: t) l' P' [1 m
  14. ; 4. Current working directory (except CLI)) w. u" O! z/ D) m9 p
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    * x7 q9 }, M1 p+ _( U3 Z
  16. ; (otherwise in Windows)
    4 l% l- W  X4 B; R
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    $ `5 v) g' W# F
  18. ; Windows directory (C:\windows or C:\winnt)) A3 r% S3 m* m" y  [
  19. ; See the PHP docs for more specific information.+ Y4 Q1 U. b/ ~8 A- }/ L
  20. ; http://php.net/configuration.file
    2 `& [) R9 h+ J/ @/ A
  21. 0 c8 ]6 P% r' l- u4 X+ ]9 }
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    * W/ P" d( \' A6 ?( s4 m1 y. v
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).- z6 b4 D2 T1 [
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though8 J' g. e3 v9 H: _" t( E
  25. ; they might mean something in the future.
    & j% J* Y& f# Q* Y3 \
  26. 0 t7 K) h, r+ o; l7 c) ?
  27. ; Directives following the section heading [PATH=/www/mysite] only& ^7 V" S/ @$ e5 I5 \- Q
  28. ; apply to PHP files in the /www/mysite directory.  Directives3 F/ i% L" F! j9 E2 ~6 K: b; I
  29. ; following the section heading [HOST=www.example.com] only apply to
    ; g" W6 j6 a+ v8 s% B, I  ]
  30. ; PHP files served from www.example.com.  Directives set in these! C6 E5 L; ~8 ~5 h
  31. ; special sections cannot be overridden by user-defined INI files or
    ( `* X) R; K7 {8 j  l
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ! ]. z  x- y% ~4 J
  33. ; CGI/FastCGI.( h+ |7 C" R# h& l3 V
  34. ; http://php.net/ini.sections
    : I* J* ~9 j! r  D3 c2 X) u% ^
  35. ! @+ \: r; }" X# @) i& c+ Z% ~# V
  36. ; Directives are specified using the following syntax:0 o0 T1 |/ W+ {5 A3 @) {
  37. ; directive = value
    ) Q6 {4 q# P& |
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar./ e% n+ s7 F) M% x6 [; z5 A
  39. ; Directives are variables used to configure PHP or PHP extensions.9 K+ n9 m" ~9 j2 H
  40. ; There is no name validation.  If PHP can't find an expected# Q& M, A% ~" X. ?4 t# O7 u( u
  41. ; directive because it is not set or is mistyped, a default value will be used.' r6 h" Z! u8 I

  42. - w! B1 Q( Q" Y1 \2 C, l/ X
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one. @7 Y  P. v1 _4 `* Z' R+ Z" W9 Q' X
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    + A' ^) B* q/ f* T3 c/ q. }
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    7 O/ X  F5 t6 ^2 j
  46. ; previously set variable or directive (e.g. ${foo})$ t* v, i1 v4 z0 C
  47. 2 z) m6 n1 f7 I9 G+ p( f7 N
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    3 U0 u( G1 q4 u* |/ m/ U$ c
  49. ; |  bitwise OR- F2 f7 [* j+ E5 R3 y, u, O
  50. ; ^  bitwise XOR/ N) l. y- c8 g4 J, s  `
  51. ; &  bitwise AND
    . b* B' U3 p4 P, H# @# B- \' g8 ]
  52. ; ~  bitwise NOT! C6 k1 U& G( S. X
  53. ; !  boolean NOT
    3 {. E3 }$ p7 t/ D
  54. 3 n6 Q$ V, U  M- n0 y. W
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes., b2 Z* y0 ^& D' ]" Q- [7 `' G- ~1 U6 l
  56. ; They can be turned off using the values 0, Off, False or No.
    % w% {2 Y) w/ b( Z
  57. & q  e0 z7 Z! `6 o7 K3 Y
  58. ; An empty string can be denoted by simply not writing anything after the equal
    . w8 y- q7 v3 `9 v
  59. ; sign, or by using the None keyword:. u. I7 Y/ Y+ @& d0 B& |5 U& c

  60. 1 z% y4 `* z, e0 k5 l
  61. ;  foo =         ; sets foo to an empty string
    ; X) c8 v- R/ ]" H- R3 \
  62. ;  foo = None    ; sets foo to an empty string
    & G. g, ]0 e# f$ C$ ]
  63. ;  foo = "None"  ; sets foo to the string 'None') D  \( S* K9 R& D, \: l1 D- k

  64. * t1 P/ Z/ y: W) \$ f
  65. ; If you use constants in your value, and these constants belong to a
    1 X1 G' \% G  H6 S4 S; K# f
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    - G; Y- R6 L) L5 b6 i
  67. ; you may only use these constants *after* the line that loads the extension.
    ) E7 Y3 G) o# Y6 g

  68. . M1 _' C  a" j
  69. ;;;;;;;;;;;;;;;;;;;
    " l+ w# j4 X) `7 ]7 k
  70. ; About this file ;
    # `+ A% ]( E. G; @
  71. ;;;;;;;;;;;;;;;;;;;; H5 e. W: z' \9 J9 Y7 n
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    - ^& F0 q- Y9 N" R# V
  73. ; in production environments and one that is recommended to be used in# k9 q: F! m6 C9 {  l" A
  74. ; development environments.8 h. J1 @. ]" C; s2 c8 T

  75. ! _% z' R: o5 m6 B$ v
  76. ; php.ini-production contains settings which hold security, performance and( v/ x9 G. F) \, D+ k
  77. ; best practices at its core. But please be aware, these settings may break
    : J, B, V& p0 `$ L2 B& w
  78. ; compatibility with older or less security conscience applications. We
    ; n  |) t% s, L$ E* \' ^( E
  79. ; recommending using the production ini in production and testing environments., g) R( @( R; n/ {7 o

  80. ; E- B$ N1 l) Y
  81. ; php.ini-development is very similar to its production variant, except it is' _6 |0 }; ^' |- e, j
  82. ; much more verbose when it comes to errors. We recommend using the/ _, M( W# k7 P. E3 d
  83. ; development version only in development environments, as errors shown to
    # k: i  }3 r/ A  s* Q
  84. ; application users can inadvertently leak otherwise secure information.9 S) |0 I( t0 o4 v0 K
  85. 0 `* w% o! C4 n/ y) R
  86. ; This is php.ini-production INI file.
    $ T3 s1 J! G+ U3 J' b

  87. . x4 \( f: `7 H" w9 M5 ~
  88. ;;;;;;;;;;;;;;;;;;;, U! T4 o5 \. G  B* O
  89. ; Quick Reference ;. e+ j. I- X2 D
  90. ;;;;;;;;;;;;;;;;;;;
    , ]' Q+ ]% `# E
  91. ; The following are all the settings which are different in either the production
    ) M, H. G, y* @% w9 Q# _; D* O
  92. ; or development versions of the INIs with respect to PHP's default behavior.9 q( U! f1 t, ~' H: P
  93. ; Please see the actual settings later in the document for more details as to why; O1 [# v- T; Q( ~- ]
  94. ; we recommend these changes in PHP's behavior.
    3 N, [( a2 i( p+ B$ |' Q' L: Y
  95. * Q" Z9 i% M( y* H3 i+ F7 i: p
  96. ; display_errors" n% @) D# f7 P* ?" v
  97. ;   Default Value: On. ]3 w5 m  e: J& l. E5 P
  98. ;   Development Value: On
    ) |. p, p, t5 G& V+ h: s# ~
  99. ;   Production Value: Off! p  Q; |: a9 _8 D- [# Z! ]* l7 V
  100. 4 K, ]5 }$ w. S0 l6 M7 p
  101. ; display_startup_errors' N# I; L: c- Y" Z; M  l
  102. ;   Default Value: Off
    ( N' b6 d8 q- H, e  f
  103. ;   Development Value: On" b9 `: e5 Y3 ^
  104. ;   Production Value: Off& t3 J: A' x9 U6 j
  105.   H. d8 v1 z0 B9 {; o. f
  106. ; error_reporting, x* \' W6 o; T/ W2 X* v1 I
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED0 j' M1 P7 u5 e# B8 @' c: U
  108. ;   Development Value: E_ALL
    : E) {, N8 ~4 J6 Z; C' i/ U
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    8 r% v5 d- i  y2 n# @, Y
  110. , R8 j9 K4 D, J# H, l
  111. ; html_errors, @) W; @7 o6 P# {
  112. ;   Default Value: On7 B9 y. `; W# r1 W4 w  ]
  113. ;   Development Value: On# s: j; f2 \1 y7 P1 K$ t
  114. ;   Production value: On
    ; C  A! b1 w( n, ~

  115. 2 z& d9 R# n% t  t
  116. ; log_errors8 C  x$ Q* q% C, a. `' |/ x
  117. ;   Default Value: Off: [" t; S. P) k. Q
  118. ;   Development Value: On5 W9 q4 M7 w! _7 K+ H. ~" F$ _; w
  119. ;   Production Value: On
    2 P" F6 R& o# z* }8 G/ r  s& p+ B

  120. ) C0 }! t2 b5 t3 Y
  121. ; max_input_time: L4 L, o9 Y( w
  122. ;   Default Value: -1 (Unlimited)/ W" E% x( G. X7 Y, }5 x
  123. ;   Development Value: 60 (60 seconds)
    8 u( w3 }# ]; A3 C+ P$ A3 g
  124. ;   Production Value: 60 (60 seconds)
    ) D5 F4 E0 E0 E3 V( k  E  Z
  125. - O4 b# j: f& e8 M! k
  126. ; output_buffering
    * G3 m% X) A+ F( m: v
  127. ;   Default Value: Off1 W# |' F% D! ?1 z- n4 [
  128. ;   Development Value: 4096* m, f* `% x8 F4 t+ q7 V
  129. ;   Production Value: 4096
    ! T$ L- U' r0 G6 o8 @. O# Y

  130. , N' `( k% b( v  |$ y
  131. ; register_argc_argv" b" {; n2 c1 y4 I  s4 A' s" _, k/ b9 r
  132. ;   Default Value: On8 c- ]5 ^0 C+ u4 C  u
  133. ;   Development Value: Off
    % ^+ B( x3 a8 f1 _7 M: R6 Y" J
  134. ;   Production Value: Off
    & R6 G1 \/ M( x9 m! x8 d# {
  135. + n8 W) M. Y8 t' M4 S3 {6 x
  136. ; request_order$ L" h4 Y2 _1 @1 y: r3 p. S
  137. ;   Default Value: None
    3 _# j0 u8 {$ L+ ^' }, x0 ?
  138. ;   Development Value: "GP"5 A+ h+ d; _2 I$ W
  139. ;   Production Value: "GP"1 g/ v. a5 _5 d0 h
  140. 1 v- @# y8 Z5 {
  141. ; session.gc_divisor
    9 J3 G/ W+ t  b! ?) w; V' `+ t8 a8 t" ?
  142. ;   Default Value: 1004 F: c* O8 F) n8 H5 z
  143. ;   Development Value: 1000
    4 |( r& N' Y+ B. @
  144. ;   Production Value: 1000  P$ e, p, q+ c! J' t% j- H8 v

  145. : }9 l4 t( w- T! g
  146. ; session.hash_bits_per_character
      y8 S& }% ?/ u' g
  147. ;   Default Value: 4
    4 N3 A/ ?# C! g9 M$ {( B' R/ G6 Q0 ~
  148. ;   Development Value: 5/ x0 H7 p0 l1 F! b  d, t
  149. ;   Production Value: 5' C' B/ L9 f0 e  Q9 ]  U! M" u. ]
  150.   E. b" x( |% ]& K# f
  151. ; short_open_tag6 n# Q+ F2 A' i, U. k
  152. ;   Default Value: On
    8 ~6 h+ ?( d0 u- k8 u7 P0 z. x
  153. ;   Development Value: Off
    * \8 B) [7 f6 \8 [
  154. ;   Production Value: Off9 Z; i) o" E1 e9 A% u

  155. 9 R: O" }) _' G1 f8 F
  156. ; track_errors4 P  Y' L8 ~) V' K5 \. z' n, M  S3 o
  157. ;   Default Value: Off
    ) t( V# S- w. V( m7 h
  158. ;   Development Value: On; M7 ]/ J/ \5 b) ?. y( x9 P
  159. ;   Production Value: Off
    ) \( W$ k5 L4 _, \5 u7 m

  160. . r9 J8 Q7 z- k$ a
  161. ; url_rewriter.tags
    3 e  r4 r. C8 s; J7 o
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    7 E) u/ G+ G. y
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % ~" \0 I" i7 E( G( r) K0 O* n
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! a, H" ^9 Q% \0 O- h! k

  165. : K2 v) f! Y/ ~. k2 J
  166. ; variables_order; F/ E& H" Z8 x" t: J
  167. ;   Default Value: "EGPCS"
    " S9 n# @  C4 N( l9 a
  168. ;   Development Value: "GPCS"$ p/ X% D* ?1 I' {$ y; q
  169. ;   Production Value: "GPCS"
    * T3 f0 N  C* s* X. F

  170. 5 i4 J' a, c% x% t3 }8 ^
  171. ;;;;;;;;;;;;;;;;;;;;
    % p. j- V0 j, J0 C& [4 @1 Z6 a
  172. ; php.ini Options  ;9 i5 G! K* s! p" Y  I4 p
  173. ;;;;;;;;;;;;;;;;;;;;8 m4 _( S- q9 X& O" N8 H
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"5 V5 j! i% U: u
  175. ;user_ini.filename = ".user.ini"
    + m0 G) ~0 ?) q3 A
  176. " \' h; F2 M( W1 B5 b- \0 e
  177. ; To disable this feature set this option to empty value8 {) C1 v2 g& e6 a# _0 C" o
  178. ;user_ini.filename =
    - T+ Q3 O/ v$ [3 c# N

  179. . x, b' Z+ p8 Z( x$ a6 i
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)/ D; c/ ~& P% s" T9 V9 B
  181. ;user_ini.cache_ttl = 300
    0 d# `0 j+ M; Q2 f' E  D
  182. . v4 E( o$ o9 H# D& i
  183. ;;;;;;;;;;;;;;;;;;;;
    ( P2 G8 Y; q) ~8 q9 c0 U+ r
  184. ; Language Options ;7 k3 S! _! ?* C% _) t# W2 y
  185. ;;;;;;;;;;;;;;;;;;;;
    0 M! @  d& s- A% G1 h! U
  186. 4 _! d# K4 |. ?! ?, u9 f% a! p
  187. ; Enable the PHP scripting language engine under Apache." z* ^) J- o) I; C. [
  188. ; http://php.net/engine1 l4 E6 S# m$ O' d3 a
  189. engine = On' [5 C5 S) ]" k" A. ?' I; ~" ]
  190. " g9 W2 e3 K4 p% e; F* T& j+ w; S/ |( J
  191. ; This directive determines whether or not PHP will recognize code between3 |9 J( ^9 V2 \6 U" J) X' S& q; T
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ) ~9 ?+ I5 c+ x# ?
  193. ; generally recommended that <?php and ?> should be used and that this feature; ]" ^/ g5 {4 ]) s' I
  194. ; should be disabled, as enabling it may result in issues when generating XML: c. s9 g7 K- R  `5 C' M( I4 x
  195. ; documents, however this remains supported for backward compatibility reasons.. m% F* R1 T) q
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    & n  P  R$ U# ~/ P0 v- V3 k
  197. ; used regardless of this directive.
    3 ^% k, N0 A8 e0 \& {& s
  198. ; Default Value: On( F+ _1 e! K( N% }7 P+ ~& k9 L& U+ A: F
  199. ; Development Value: Off! h1 d: s9 @+ O0 b' i
  200. ; Production Value: Off2 s* g: q1 X: s; ?5 h
  201. ; http://php.net/short-open-tag
    7 C# @+ H: E4 _4 N0 r" Y
  202. short_open_tag = On
    4 _2 |8 G# p+ F) B. A! w* C: t5 I4 \
  203. ( G) A2 G1 p* [
  204. ; The number of significant digits displayed in floating point numbers.6 C, J( e- m/ t% t
  205. ; http://php.net/precision0 m% Z$ C8 B; Y
  206. precision = 14
    & X. G2 v# U; e0 z7 M( h
  207. ( L+ N6 h6 I! c
  208. ; Output buffering is a mechanism for controlling how much output data
    8 L9 c* u' `+ s" W+ w# H3 O, Q
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    $ [2 G; T3 o; K: P4 J
  210. ; data to the client. If your application's output exceeds this setting, PHP6 [3 i9 A6 V  U2 G! b
  211. ; will send that data in chunks of roughly the size you specify.# P2 {5 \, J0 i( s' ^6 w
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    7 d+ y8 _# I6 j5 f  S+ }
  213. ; interesting side-effects depending on your application and web server.
    & l$ B4 |; _$ c
  214. ; You may be able to send headers and cookies after you've already sent output+ |$ R/ i! p. G0 S% L% r
  215. ; through print or echo. You also may see performance benefits if your server is
    7 Y. o) j' Z. |9 T
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    4 p# @0 j; R4 ^/ X* V# H" ?8 j7 S
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ' s$ l- l1 B3 q% i8 s2 I! s
  218. ; reasons.
    . }- r$ }3 l- m; Z" X% C( g
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    + g% |8 u1 T4 C( H
  220. ;   functions.
    1 F! b* ?! j+ o* f* U
  221. ; Possible Values:  @2 j5 J5 S( k% B' }( j. h8 _
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
      n7 r2 _0 M: a' a
  223. ;   Off = Disabled; s/ J- a0 Z5 |0 C3 V
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    7 W' N/ ^3 p5 a
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    9 Y" [' v: D) B: _! _
  226. ; Default Value: Off" e- q5 R2 a: W
  227. ; Development Value: 4096* G) V& m' f- q- N# N  h
  228. ; Production Value: 4096
    3 U* r) D6 h2 l: Z) U
  229. ; http://php.net/output-buffering) R' W7 m! y1 T$ i$ w
  230. output_buffering = 4096! l/ E2 u$ l4 ?* J
  231. : `7 L3 W: n6 H
  232. ; You can redirect all of the output of your scripts to a function.  For
    * V# Y- R5 x3 S$ X/ V4 E( H
  233. ; example, if you set output_handler to "mb_output_handler", character
    & z$ u; F  g& p
  234. ; encoding will be transparently converted to the specified encoding.
    , o0 w* v* ?. d4 Z+ J5 ~( ?7 I8 d
  235. ; Setting any output handler automatically turns on output buffering.& ?) I" }# g. ~( S% |
  236. ; Note: People who wrote portable scripts should not depend on this ini! p0 O2 ^' ^8 C/ i& ?8 ~
  237. ;   directive. Instead, explicitly set the output handler using ob_start().* B- h) t! \- r" y, h6 B2 b( H
  238. ;   Using this ini directive may cause problems unless you know what script
    # k6 W# ?& s) _7 w3 ^: s# y, C
  239. ;   is doing.( ^6 x: j/ r3 o% H
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"' ~: }5 H( u( H5 N- R
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    1 I( }1 k6 b4 T/ }1 b0 b
  242. ; Note: output_handler must be empty if this is set 'On' !!!!$ K' Z2 z+ ^' h+ g9 Q: L
  243. ;   Instead you must use zlib.output_handler.
    " s% A/ X" a3 i) B6 [, ], F
  244. ; http://php.net/output-handler
    9 ?, q7 L; y! b1 \( {3 t1 w
  245. ;output_handler =
    ; `/ W. j" M5 V5 g" n+ h/ {( H7 U
  246. . D( G' B: _0 Y- w- A. `8 c
  247. ; Transparent output compression using the zlib library: I( P5 |3 z$ h! D
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size3 n: c; P7 Q5 V% `
  249. ; to be used for compression (default is 4KB)& S/ n1 \1 N8 i* a9 I
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP+ _1 @( w- m* E+ c6 r+ f9 H
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    . c9 d) W0 g. g; y+ W
  252. ;   compression. If you prefer a larger chunk size for better; `' z5 V7 M0 M. `% `1 k) y! y
  253. ;   performance, enable output_buffering in addition.: ]" h8 P( _7 R
  254. ; Note: You need to use zlib.output_handler instead of the standard6 G3 N5 q% E  w# H
  255. ;   output_handler, or otherwise the output will be corrupted.# C. ^, r6 G% s1 }9 D1 |! G$ P
  256. ; http://php.net/zlib.output-compression
    1 l; o3 ~) [6 v1 R
  257. zlib.output_compression = Off
    . N3 ^- a9 D" J
  258. 0 B: L. g* U7 b" o" ?
  259. ; http://php.net/zlib.output-compression-level
    " j! C, z0 ^+ L' \5 c7 z; M3 f( D
  260. ;zlib.output_compression_level = -1
    3 w; ~+ _9 w7 \: D
  261. 9 s! Y, h2 w* U& h, ?
  262. ; You cannot specify additional output handlers if zlib.output_compression# G$ e+ m# ?" P. N7 n
  263. ; is activated here. This setting does the same as output_handler but in. u, K: F/ }, a. n
  264. ; a different order.$ L: }& d. n1 Y) M8 Z$ X& M( Y
  265. ; http://php.net/zlib.output-handler
    % {. |# H) e! f  ~* L* y
  266. ;zlib.output_handler =
    ! `. |& W* L) Q: S/ F

  267. / U/ ?" ?' V( O& [
  268. ; Implicit flush tells PHP to tell the output layer to flush itself2 ]8 e  R! e. ]+ \" H) e
  269. ; automatically after every output block.  This is equivalent to calling the
    3 @: d" _# Z6 L- H/ `: o5 W) Y, O- E& t
  270. ; PHP function flush() after each and every call to print() or echo() and each- X  Y; d6 i" o( r0 l( M- Q% W- J
  271. ; and every HTML block.  Turning this option on has serious performance- Y/ U7 L3 O# D# i
  272. ; implications and is generally recommended for debugging purposes only.' D) C: ?# E, E! B
  273. ; http://php.net/implicit-flush
    ; _  `3 Y+ K9 i0 q* I* w
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    ! D0 e0 ]; X  s3 K- l
  275. implicit_flush = Off
    0 M7 U( o' A% k, x1 E

  276. 6 o8 y1 l! \9 J* Q
  277. ; The unserialize callback function will be called (with the undefined class'
    0 m/ O) C: A- U9 \
  278. ; name as parameter), if the unserializer finds an undefined class$ k, c7 s1 e" N' ?7 _; ^
  279. ; which should be instantiated. A warning appears if the specified function is
    $ D1 [5 n1 p  E: W
  280. ; not defined, or if the function doesn't include/implement the missing class.
    9 k$ K3 f+ D1 E, ~9 _: x
  281. ; So only set this entry, if you really want to implement such a
    + Z1 i( J) @' Z" Z4 H% r
  282. ; callback-function.  _' k& H8 ^  p+ I$ g4 y3 S: h
  283. unserialize_callback_func =
    ) N' v( E( @* X) n; V
  284. / ^+ D" x8 Y0 @5 p: g! ?" |
  285. ; When floats & doubles are serialized store serialize_precision significant% e  Z* p3 x% x8 h8 G
  286. ; digits after the floating point. The default value ensures that when floats
    ' ]& M2 Y+ A; z. p. l
  287. ; are decoded with unserialize, the data will remain the same.
    ' i+ s; ^+ c1 R; C# ]8 Z( _
  288. serialize_precision = 17
    " W: b8 a& P8 s2 V9 E; ^( ~# T
  289. 3 u# p/ i( \% j2 q# P
  290. ; open_basedir, if set, limits all file operations to the defined directory
    * G1 ?$ R0 x$ Z/ o/ ?8 q7 Y6 a' Y( h
  291. ; and below.  This directive makes most sense if used in a per-directory
    3 }+ c: M, }8 h' m& \2 w9 X9 ~, a
  292. ; or per-virtualhost web server configuration file.
    3 J9 P/ I  N4 @9 J4 Z0 o5 e8 t. }- X
  293. ; http://php.net/open-basedir$ A( U2 u4 y# j0 J& m5 q' Y
  294. ;open_basedir =
    8 @2 L9 Q5 h8 |) J; d' V: E. \
  295. ) F5 F9 e5 \, R* N1 B
  296. ; This directive allows you to disable certain functions for security reasons.
    7 x: Y7 e8 @8 [+ [5 |
  297. ; It receives a comma-delimited list of function names." ^7 Q) R, Y/ m2 d- i1 n8 q
  298. ; http://php.net/disable-functions
    1 l+ j" a' M: @( A8 U* D# l
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru* j! D$ U  ?1 Q) o) G6 b4 H
  300. 5 [/ O  J# L1 @  X
  301. ; This directive allows you to disable certain classes for security reasons.
    3 p6 L- h4 i; d- K% V" c' I
  302. ; It receives a comma-delimited list of class names.
    2 d: Z# }8 Q* n4 p5 w
  303. ; http://php.net/disable-classes
    " [$ A" {3 R4 y. W$ `
  304. disable_classes =
    - U) r$ D$ {' M* x# g

  305. 8 c1 ]0 a0 v& I( V: v1 P$ C
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in$ s2 B5 k  R8 L2 u# N5 Y
  307. ; <span style="color: ???????"> would work.* k- y' c& I5 b
  308. ; http://php.net/syntax-highlighting
    % j2 m  @+ m0 [- ^
  309. ;highlight.string  = #DD0000
    : V  Z7 Z5 E3 U4 T( @; k
  310. ;highlight.comment = #FF9900
    0 z- S8 I% k& Q% K$ X
  311. ;highlight.keyword = #0077002 f! Z' b; E, A- b9 K, K7 R7 w
  312. ;highlight.default = #0000BB
    & d  n: ?3 k: w4 _; i
  313. ;highlight.html    = #000000" Y+ d( B# N/ [8 u' \: `6 W. Q+ @
  314. 2 d/ D2 Q" s* Q# A, _
  315. ; If enabled, the request will be allowed to complete even if the user aborts0 W; C* F( `% a: X: Z5 V
  316. ; the request. Consider enabling it if executing long requests, which may end up
    $ }" z" A6 Z6 D
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    $ P% L- X; s7 i
  318. ; is to disable this feature.. y4 z& f& A* W0 i% r
  319. ; http://php.net/ignore-user-abort+ j2 g- ~' D$ ]* e
  320. ;ignore_user_abort = On+ y* A9 Q) ], _" K
  321. , \1 d( C" X: C# A
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    . ?, U) f. M0 d& D5 q! m
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    " M$ m! n( b! m
  324. ; the file operations performed.
    ( u+ J' `! n2 n# ?& X
  325. ; http://php.net/realpath-cache-size
    : p5 V3 v; q: c2 c  x) R
  326. ;realpath_cache_size = 4096k
    # c5 Q5 x2 ]9 {) x0 C% i# T
  327. - t0 l' c  T7 K* L! o$ W( `! N
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    6 W" C$ [7 I& P% {8 Z) H# g. g
  329. ; file or directory. For systems with rarely changing files, consider increasing this6 e/ B$ e4 x2 [0 ~: f+ L
  330. ; value.
    + ]* r% ?* C2 z  o2 s
  331. ; http://php.net/realpath-cache-ttl- h: H3 d6 C5 g( O% N: o! x
  332. ;realpath_cache_ttl = 120; \" Y$ _3 S; T

  333. 4 g. G' o0 x, j4 c: K. P! @1 ^
  334. ; Enables or disables the circular reference collector.
    ! y8 ^* b0 T0 r2 X
  335. ; http://php.net/zend.enable-gc
    4 e# ?) l  V& n" X+ V( J4 l3 j
  336. zend.enable_gc = On( O0 H8 K# B# p( f/ O9 u6 Q
  337.   S7 I( g- r2 b! d% G! _
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    2 l0 v; w$ Y& Z4 n: V5 B9 Q
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ( @& ~4 O. e- a! s+ C& j2 `# r
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ; o) Z- |* W1 l
  341. ; Default: Off
    ; n+ G4 N( ]( U. J1 I
  342. ;zend.multibyte = Off, W- Q! _) ^; }' ?6 L+ q; J

  343. * z% a* H0 y# ?1 R
  344. ; Allows to set the default encoding for the scripts.  This value will be used) K9 `& m# s) ~" }6 I, `& @
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    4 K( m" m7 r7 a- F5 x
  346. ; Only affects if zend.multibyte is set.  p0 Y% d' x% I7 H/ K
  347. ; Default: ""8 {  o# r2 w/ Z: O
  348. ;zend.script_encoding =
    9 P& N$ r2 y6 L$ v/ i

  349. ' m, ?& R" K) c) i- R# v$ @$ o7 Q
  350. ;;;;;;;;;;;;;;;;;# W: q5 i8 |7 w  X
  351. ; Miscellaneous ;9 t* k: {6 ^4 F. f& v+ t1 k
  352. ;;;;;;;;;;;;;;;;;: }  R% n2 B6 P4 L0 B! s

  353. 7 K. Q5 c' b6 J
  354. ; Decides whether PHP may expose the fact that it is installed on the server: J  I9 U2 Q1 n- j) q0 L% ?
  355. ; (e.g. by adding its signature to the Web server header).  It is no security% \% n0 d, X: |5 X
  356. ; threat in any way, but it makes it possible to determine whether you use PHP( r; y, K2 i; r& M; N0 [7 u! q
  357. ; on your server or not.% ^+ x2 P. B" @) v
  358. ; http://php.net/expose-php
    - s$ k& z$ s8 \" ]( w- X. g1 M/ y
  359. expose_php = On
    / {; J; I) {0 w0 o7 G

  360. $ a( e( z+ P5 t2 j2 ^- {% `6 ]
  361. ;;;;;;;;;;;;;;;;;;;
    5 P2 d0 Q$ Q+ P+ T3 C. S, ^; y
  362. ; Resource Limits ;
    . f  V$ I' N; U6 G$ H+ i% O; n1 f( v
  363. ;;;;;;;;;;;;;;;;;;;2 b% |! s5 C3 N* {- ~# x

  364.   d# e+ M9 y6 Q, p1 B) Y
  365. ; Maximum execution time of each script, in seconds# z2 D/ p( C' A1 X
  366. ; http://php.net/max-execution-time* b% M: x7 }2 _; y8 U$ {! E
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    9 g6 s! O2 x' A3 L; ]
  368. max_execution_time = 3008 f( c9 G6 H+ ?9 s. V0 W$ B. u
  369. 7 P" u5 H7 e) Y
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    5 t; @) t6 c0 k1 u* U' I* ^  p
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly* u! B2 q* S/ A$ {  o8 l+ r% S- Q
  372. ; long running scripts.! X# t/ i* E% W3 u* _
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ; K" g# l) p9 r
  374. ; Default Value: -1 (Unlimited)2 M, \# E% x) o6 |) [- }
  375. ; Development Value: 60 (60 seconds)# f* S) @- N/ B& f
  376. ; Production Value: 60 (60 seconds)& s  x  U  S* t! z9 |
  377. ; http://php.net/max-input-time, P, V3 L! R+ E' ~
  378. max_input_time = 60
    3 l9 I6 `2 {& ^2 M, L" F

  379. . W8 A/ @5 N$ g% K  U
  380. ; Maximum input variable nesting level
    - m4 J+ |  {" p: L. _7 ]
  381. ; http://php.net/max-input-nesting-level5 Y0 D+ D: H3 q9 m
  382. ;max_input_nesting_level = 64
    + g) o7 R. w$ c3 \7 o
  383. " J  s1 k4 m* B5 E- a5 x
  384. ; How many GET/POST/COOKIE input variables may be accepted. ~7 a# i: l3 \+ c* ]
  385. ; max_input_vars = 10001 q1 o* W# R. Z8 Q7 ]$ L  q& X
  386. 1 B0 k" E( ^* G1 _, \
  387. ; Maximum amount of memory a script may consume (128MB)4 J; c) x8 U; ]5 A0 g: C/ x: |
  388. ; http://php.net/memory-limit0 x+ e: Z- d! m# A/ S! S3 N
  389. memory_limit = 128M
    . U3 g% p" L: Z
  390. ! o6 s* q' {$ c. f' I/ @& F0 _
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" F1 i8 c& g6 _
  392. ; Error handling and logging ;" E) r, d! T" F  h
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ?2 j8 _  {+ i# H% }0 X: o  S# a
  394. 9 H4 Y# V1 ]- I3 {' J( r+ l* L- @
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    $ \3 `6 w: B/ `
  396. ; it to take action for. The recommended way of setting values for this
      g; Y/ i! j; X
  397. ; directive is through the use of the error level constants and bitwise% o& `$ f# d2 j$ J) k
  398. ; operators. The error level constants are below here for convenience as well as6 U& Z6 e# p& R; a; [& w
  399. ; some common settings and their meanings.
    9 R0 X, W& Q& d& P: b5 t9 x
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    0 W8 [! q3 L" V
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and  @" I/ o8 Y1 W& s: B9 z
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    % O' R5 P7 X: b* v2 y
  403. ; recommend error reporting setting. Your production server shouldn't be wasting$ f' R5 P  z) i
  404. ; resources complaining about best practices and coding standards. That's what
    ( N0 k$ U" B! f
  405. ; development servers and development settings are for.4 m8 J6 u$ m. z# L
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    5 a# R, U1 i; i+ p! X% Q5 ?
  407. ; means it pretty much reports everything which is exactly what you want during
      ~9 c: q& p! [, k2 T: K
  408. ; development and early testing.8 }6 r2 y' ~  X6 }0 A% p
  409. ;
    % k/ ?$ `$ P3 F; {8 B
  410. ; Error Level Constants:4 B$ m: y  D& {% D4 a7 K; t" }% p
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    2 ]2 K: h% a8 c* a
  412. ; E_ERROR           - fatal run-time errors
    . i, Q9 q  G7 J3 ~/ X
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors" l$ J, P$ v: {+ p, a
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    # r) A9 [0 e  K( c+ I. C4 Y
  415. ; E_PARSE           - compile-time parse errors
    * m. I5 i3 n( o) f
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    $ R/ L% W' _7 |) w8 Z, w6 M
  417. ;                     from a bug in your code, but it's possible that it was
    ! f/ s+ k0 c! d8 r5 p9 h
  418. ;                     intentional (e.g., using an uninitialized variable and6 }: R, ?  v  e
  419. ;                     relying on the fact it is automatically initialized to an
    ; A8 r1 ]: |$ V' w6 _4 W! ?+ r- \
  420. ;                     empty string)$ v8 L7 T1 F8 B
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes4 a+ i4 p* L6 T( F
  422. ;                     to your code which will ensure the best interoperability+ R8 q1 u& o* ~# b, @; r) f
  423. ;                     and forward compatibility of your code
    - }! l# Z2 E) g; V# ^
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    " v3 o! Y: L7 V
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's5 P" x6 M( @+ g. |
  426. ;                     initial startup
    ) j& A( L; l9 f; {% n+ k6 ~* P
  427. ; E_COMPILE_ERROR   - fatal compile-time errors) N( m+ e6 h5 ~9 [7 \/ C
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ! X% j2 T$ k" B5 z! {. Y
  429. ; E_USER_ERROR      - user-generated error message
    7 N/ l% r: N% X$ t  B( p
  430. ; E_USER_WARNING    - user-generated warning message
    2 D' S6 \/ k2 V5 V# d+ ?% }
  431. ; E_USER_NOTICE     - user-generated notice message; g" b3 o; O6 g5 i* S' c
  432. ; E_DEPRECATED      - warn about code that will not work in future versions5 H8 a9 G0 y9 Y! F- C2 W! u3 U- m
  433. ;                     of PHP3 ~/ O, {, n" K, A
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ! x' f9 t; ]% o
  435. ;9 ^8 E7 t% x9 u  d( x5 X
  436. ; Common Values:: M% A, ~4 t0 M
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    $ G5 \2 S  Y+ x" P: l2 e' j
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    # G4 K+ z! t2 s) d3 D7 k
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)( \- }) W/ G4 q( @1 C
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ! n4 D  X1 y6 |6 O# _* X9 h
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    8 H+ b) I# u+ U) x9 t" M8 s
  442. ; Development Value: E_ALL6 W4 L, V4 i2 l1 c* I- i- Y
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ( E3 u# ]* g) L9 k+ h. K/ C
  444. ; http://php.net/error-reporting: Q6 t- G5 f+ i- @# _+ m
  445. error_reporting = E_ALL & ~E_NOTICE$ ~+ i% _7 S4 q( [7 Z( G' h8 l; s8 X

  446. 4 m  I* W5 y4 u
  447. ; This directive controls whether or not and where PHP will output errors,
    0 ^, F5 D7 \& b5 H5 }
  448. ; notices and warnings too. Error output is very useful during development, but' V1 \( Q0 r# X4 A
  449. ; it could be very dangerous in production environments. Depending on the code9 F; J# ]& Z+ P) @3 w3 D) B/ c
  450. ; which is triggering the error, sensitive information could potentially leak
    ! `3 w; l" V+ R1 v# q
  451. ; out of your application such as database usernames and passwords or worse.  T; P9 _% E$ O/ p
  452. ; For production environments, we recommend logging errors rather than7 G: q+ c% y+ u  w
  453. ; sending them to STDOUT.8 u  {# e5 t2 W" n
  454. ; Possible Values:0 x) }# w/ X, Z5 @2 y  p
  455. ;   Off = Do not display any errors
    , q+ S- C- w# P+ ^
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)! p+ A2 e( C6 J% T
  457. ;   On or stdout = Display errors to STDOUT
    1 y  T) ~8 F' Q4 w9 s
  458. ; Default Value: On2 T+ P0 x7 w- q- O* Y/ D
  459. ; Development Value: On
    $ j3 L# R6 e6 R6 y
  460. ; Production Value: Off. G5 S  e/ O$ a9 C) ]
  461. ; http://php.net/display-errors; M# Q. @) P+ N7 W
  462. display_errors = On
    2 V* ^( ]& y9 k6 j4 Z/ e6 i
  463. . z+ O# {$ a* h4 {
  464. ; The display of errors which occur during PHP's startup sequence are handled
    1 p: l! R( ^; U! T, f% r* ], {; f
  465. ; separately from display_errors. PHP's default behavior is to suppress those1 R1 t& a2 j, W, }
  466. ; errors from clients. Turning the display of startup errors on can be useful in4 z& ]4 i* z0 l. F/ I! V
  467. ; debugging configuration problems. We strongly recommend you
    7 V( B9 U' G  ?9 I
  468. ; set this to 'off' for production servers.
    4 I2 {! m  V4 U! L
  469. ; Default Value: Off1 h  R% d! K  ~) F. i. K
  470. ; Development Value: On9 U% O4 i( u, C  V( W+ z
  471. ; Production Value: Off( J7 o; c7 P" W  F" h* Y: i. `
  472. ; http://php.net/display-startup-errors
    , J  u2 J5 \$ _
  473. display_startup_errors = Off
    # F9 A) o, }* u. s- I2 I7 U

  474. 0 f: X# q" L: q3 E$ T- I; ^
  475. ; Besides displaying errors, PHP can also log errors to locations such as a+ }2 a1 O+ h& X
  476. ; server-specific log, STDERR, or a location specified by the error_log0 X" V( K& M2 V! b3 E
  477. ; directive found below. While errors should not be displayed on productions
      L, ~* a$ r4 O& B# ~1 [5 x
  478. ; servers they should still be monitored and logging is a great way to do that.4 w9 m/ ]$ R: j, \3 U4 \" i4 p
  479. ; Default Value: Off4 @: @  s( j/ w
  480. ; Development Value: On8 [5 {3 L/ H, z( i
  481. ; Production Value: On
    ) K. ^& S9 g* G3 E2 m1 d
  482. ; http://php.net/log-errors; c' T8 I/ _) j  R: Y
  483. log_errors = On
    - H0 S! P& `9 I- x4 t

  484. 8 H6 {* f! Q7 G6 e
  485. ; Set maximum length of log_errors. In error_log information about the source is
    5 |: L3 ?" C/ v7 b& F$ d# m, ]
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    : Z9 S: L8 W" n2 @- d
  487. ; http://php.net/log-errors-max-len+ k# `/ W3 w0 @  h* g# c. c
  488. log_errors_max_len = 1024: k/ i/ Q! n' Q2 p. m5 \. H* k% U

  489. 2 E7 W8 q9 e/ R6 I3 @. R; Z) T: R$ F# @
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same/ `8 D6 P) ^  I( m1 p1 M
  491. ; line unless ignore_repeated_source is set true.
      Q, C+ x' {1 y
  492. ; http://php.net/ignore-repeated-errors8 |+ z$ q0 L+ [' l$ C* Y+ W: u
  493. ignore_repeated_errors = Off0 V* U; E" g8 u- N, o
  494. 7 B& M2 O) j% a% M! e4 {
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    / X  z# I  Y- H/ n. u
  496. ; is On you will not log errors with repeated messages from different files or2 L2 F4 I( N3 P! ~! i5 X
  497. ; source lines.: L" P% L6 D. ]& D2 Q
  498. ; http://php.net/ignore-repeated-source
    . v$ T5 r; i1 b% F# T1 m  O/ h8 H
  499. ignore_repeated_source = Off( {  \' p* m9 A  W! ?( p/ [1 j; g

  500. 9 `9 y6 Q& q# o  x+ W
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    * s& o. q& s3 U0 a& G
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    5 e+ v# o" }& x' o
  503. ; error reporting includes E_WARNING in the allowed list: \& B: C7 ^# \' R% p9 v% {' |
  504. ; http://php.net/report-memleaks
    7 |# d+ O6 Y: b" |- l/ C' V5 h
  505. report_memleaks = On$ V4 V+ l) t1 t4 w9 A6 `: Q
  506. ; _( Z) }. w$ `; m0 k2 B: |
  507. ; This setting is on by default.
    5 E' T" r6 s7 L4 ~8 h- V  {8 M
  508. ;report_zend_debug = 0
    - A/ r4 z5 B1 \4 d- g8 U; O

  509. - o- E3 K2 ?$ ~5 K2 A
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ) W0 J+ S5 W: i7 v4 H0 T
  511. ; to On can assist in debugging and is appropriate for development servers. It should( i$ _% x3 t) i& e3 {7 J7 @, C
  512. ; however be disabled on production servers.0 d7 O# E6 ~0 b
  513. ; Default Value: Off- [8 g# g) Y3 J# {; S0 M& H, [
  514. ; Development Value: On4 i" h# b  n+ P7 K1 Z" c# o' F
  515. ; Production Value: Off
    " A' u6 o7 A; D' J1 i
  516. ; http://php.net/track-errors
    8 M2 i/ T) g0 j/ `6 P/ u
  517. track_errors = Off: z7 R* ~/ P% X7 \
  518. , j6 w0 D" L! a1 M
  519. ; Turn off normal error reporting and emit XML-RPC error XML5 T  r, z! F8 ^2 B9 C( _5 r
  520. ; http://php.net/xmlrpc-errors# [# |' i4 @% W' {& n( R$ o  W
  521. ;xmlrpc_errors = 0
    6 s# v8 q* X* j1 z

  522. 6 `: h1 C3 q: U# {4 ~
  523. ; An XML-RPC faultCode% k! t7 F7 t7 Y0 x' G, y$ f
  524. ;xmlrpc_error_number = 06 _8 o7 d/ M( q/ [4 \$ }
  525. 7 A/ P8 I9 C6 J% i" U
  526. ; When PHP displays or logs an error, it has the capability of formatting the, o- A- X4 d& z3 U& r6 J
  527. ; error message as HTML for easier reading. This directive controls whether
    8 t7 C& d7 W: r8 R
  528. ; the error message is formatted as HTML or not.9 ^1 l/ h( ~' u  u8 c% w. m
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    9 ^! L+ O# P7 Z2 ]" {7 O* f+ n0 o
  530. ; Default Value: On
    ( J3 S) K& K* m! o8 e
  531. ; Development Value: On- ?, t; q$ T, w1 h! E
  532. ; Production value: On
    ! M0 O9 i6 Y+ q0 g+ h
  533. ; http://php.net/html-errors" m& {  E! t% J, n
  534. html_errors = On
    8 Z! O- P7 G8 k! J) y$ G: j

  535. 9 i; ~# `  e6 \5 E
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    4 r& }1 K3 A" S
  537. ; produces clickable error messages that direct to a page describing the error3 H7 R# V4 Y, C6 I8 c3 W  M
  538. ; or function causing the error in detail.
    3 N7 ], I+ I5 }* D; j% I
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    * L8 V: u) P& }
  540. ; and change docref_root to the base URL of your local copy including the
    , ]1 g, A2 k" p  r" ~" B$ l" M
  541. ; leading '/'. You must also specify the file extension being used including4 c! \6 ^. l  i4 I5 f* V' p
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which& }: K: B& n) ^8 X. }+ R
  543. ; case no links to documentation are generated.
    + v3 r3 v3 W3 B- W, D. r# P# P
  544. ; Note: Never use this feature for production boxes.( D6 r3 }; m9 ~; `1 b  z% e8 J
  545. ; http://php.net/docref-root
    $ e( }1 a) L3 @6 k7 Y
  546. ; Examples1 h3 W- R! X* D' o
  547. ;docref_root = "/phpmanual/"
    9 a7 D9 y3 T) B/ R; _3 t7 E4 a
  548. 4 f  o9 Y6 a8 A7 |5 I, `& f  S6 |
  549. ; http://php.net/docref-ext/ S' i4 \! w* `+ B* N! s* f
  550. ;docref_ext = .html
    * w1 ^: Z  ^% g: f/ K0 `. W, Q+ {

  551. , m* u# K5 s- `* x) b* A
  552. ; String to output before an error message. PHP's default behavior is to leave( x; s: {* @+ ]* U1 r, w8 @7 R
  553. ; this setting blank.$ g/ W( O- t, l, e8 U
  554. ; http://php.net/error-prepend-string
    0 p2 H& M+ \8 H" p/ X! L: F
  555. ; Example:1 ?5 A9 s$ R  c! W
  556. ;error_prepend_string = "<span style='color: #ff0000'>"  z7 F0 L" A& }; d$ h& |) j. x1 A

  557. $ g* @/ {/ u! }
  558. ; String to output after an error message. PHP's default behavior is to leave. M, w* j9 c) N% g8 d$ n
  559. ; this setting blank.
    9 s, I0 o& ?* h& \6 B
  560. ; http://php.net/error-append-string
    & @/ {8 \! v5 w
  561. ; Example:
    ! r. A8 N' j$ ^; [) H# x) {
  562. ;error_append_string = "</span>"5 r5 R" z. t: R, s  Y0 ?
  563. 3 V' _- j. f4 T- _" ?
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    ) _  d0 A! Z' Z& j2 B) c7 Z
  565. ; empty.& D8 x- `% b$ C! m& F
  566. ; http://php.net/error-log
    6 R" A# P, L7 O! U0 V5 `7 ~
  567. ; Example:
    $ l  [* d/ v: Q
  568. ;error_log = php_errors.log
    1 M! W- y, ~; w% w  F
  569. ; Log errors to syslog (Event Log on Windows).
    7 ~8 g4 I$ I! |
  570. ;error_log = syslog- _2 q. t3 d' X! p& R' g- w

  571. ( {! O/ `; f+ S# N
  572. ;windows.show_crt_warning
    5 w6 I" P) y* {; d. _
  573. ; Default value: 0
    + ^8 j$ {1 k( P1 p2 ]
  574. ; Development value: 0! q2 g# x/ C0 }( j/ r
  575. ; Production value: 0
    ( r9 d2 Y2 y+ i) i
  576. ' ?" }' I/ @0 C
  577. ;;;;;;;;;;;;;;;;;
    ( u$ E4 x9 y: k1 z- `, d
  578. ; Data Handling ;
    " R3 t$ _% `: T" _, }& }% V
  579. ;;;;;;;;;;;;;;;;;) X) `1 Y2 v* i) v3 o

  580. 9 @( }' j% E* n' ]# Y. `
  581. ; The separator used in PHP generated URLs to separate arguments.
    $ h2 X1 w% p+ x( q# U8 S. M  T2 p
  582. ; PHP's default setting is "&".6 o* l5 S8 R: c9 W& J
  583. ; http://php.net/arg-separator.output
    5 v- U' K$ g4 y+ k3 d3 }
  584. ; Example:7 |3 X) @. P, s$ n- v; U' {
  585. ;arg_separator.output = "&"
    $ p' `4 c5 L/ d" V

  586. & l5 Z+ ?4 y% j# M2 I7 L( V
  587. ; List of separator(s) used by PHP to parse input URLs into variables.  l/ ?: }' O/ ?& |
  588. ; PHP's default setting is "&".7 {5 U* s7 |; C3 w
  589. ; NOTE: Every character in this directive is considered as separator!
    * F1 x3 y9 o$ O  `! Z' Y1 d
  590. ; http://php.net/arg-separator.input
    6 f+ P' {9 t5 S; A9 `* p2 A
  591. ; Example:
    1 l/ d8 S- G  M$ i/ k& z3 F
  592. ;arg_separator.input = ";&"
    / S1 T/ T, S7 c# F, W+ m* M1 b. m% w) t
  593. 7 T5 Z: u0 y' s1 {) B$ `6 F
  594. ; This directive determines which super global arrays are registered when PHP
    % F# h! V" R* ^
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super( v' B% I# \9 R: M0 M  T
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    8 `# @. c$ ?( ^, O' `
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    % D& O0 |1 G1 f; ?: Q: S: V& z" }
  598. ; used as the others, ENV is not recommended on productions servers. You
    & ^' C" n0 A4 z3 j  _
  599. ; can still get access to the environment variables through getenv() should you2 M9 n5 b. W6 B( ^' n2 T
  600. ; need to.% A, r# V! @7 ]' [/ }; n4 C8 {% k
  601. ; Default Value: "EGPCS"
    7 u  o6 i. a& @
  602. ; Development Value: "GPCS"; R' D  I% ]9 V5 K
  603. ; Production Value: "GPCS";
    2 j4 Z$ I( _, k( ~( l$ u& @# p+ ?
  604. ; http://php.net/variables-order
    + H6 Y' {2 N; k/ V) v" @6 ]: M4 U
  605. variables_order = "GPCS"! p5 `  a: x. F7 a- t

  606. ' P! D, t# x' y+ G
  607. ; This directive determines which super global data (G,P & C) should be4 Y7 X& c  D9 u9 M  ]7 C
  608. ; registered into the super global array REQUEST. If so, it also determines5 c7 Q% R5 A1 c* z. h* W
  609. ; the order in which that data is registered. The values for this directive
    2 d! _% r1 x% Y( S
  610. ; are specified in the same manner as the variables_order directive,
    ' B8 ?8 g4 ~/ W& U# o8 B
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    6 v1 @* a9 ?2 H! I* X
  612. ; in the variables_order directive. It does not mean it will leave the super
    7 a7 v$ {2 }/ P& T+ L
  613. ; globals array REQUEST empty.& Y1 Q$ Z* i5 C4 L+ f$ P
  614. ; Default Value: None$ F$ [! c& H# H+ P( x6 h6 M
  615. ; Development Value: "GP"
    , B9 M  a: O3 K6 L; ~
  616. ; Production Value: "GP"
    & m( D  i- n, G" |& L* B; z
  617. ; http://php.net/request-order! j6 Z- h# J1 |) B' J
  618. request_order = "GP"
    " w# Q& c- T+ s$ q0 P

  619. # |" k0 a# D6 y6 e. ]
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    : s9 p7 K0 v6 [$ o$ \: i1 `
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script+ }# p( ^0 I+ h1 o# W
  622. ; is invoked. $argc contains an integer representing the number of arguments5 G4 a& a; S) F! p0 K
  623. ; that were passed when the script was invoked. These arrays are extremely
    ( R' O8 l) Q' g5 ?5 r9 e
  624. ; useful when running scripts from the command line. When this directive is) ?5 b  e; F. u0 v* J
  625. ; enabled, registering these variables consumes CPU cycles and memory each time- E) }$ }2 B2 u/ i
  626. ; a script is executed. For performance reasons, this feature should be disabled/ z$ ?6 b+ x, f! ]. W5 [
  627. ; on production servers.
    ; n8 i; E+ ]  }  |& Q: _5 @
  628. ; Note: This directive is hardcoded to On for the CLI SAPI1 k0 ?; v) p( i+ \* s4 v6 q4 g
  629. ; Default Value: On
    - T, ?% Z: q" k& ]
  630. ; Development Value: Off
      `# U2 I/ o% j# n& r6 ]
  631. ; Production Value: Off  _3 i. c& w  v; x4 T) i4 G# W
  632. ; http://php.net/register-argc-argv3 o: P0 P+ Y/ v$ V) k; V* a% y
  633. register_argc_argv = Off& m. e, e' v8 n) _  r6 l1 L

  634.   Y0 _) l/ J$ u: Z
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    + \+ i* z) ^- n2 u& r
  636. ; first used (Just In Time) instead of when the script starts. If these. k! d0 k  T# ?3 e6 ?0 ]" Q8 o
  637. ; variables are not used within a script, having this directive on will result/ O1 k. z9 r5 M9 u; `) V9 e1 Z
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    - _8 f) N7 V! X" ?3 w3 d; E
  639. ; for this directive to have any affect.
    # |! v- H4 y/ u
  640. ; http://php.net/auto-globals-jit6 q$ ~) e  D2 A8 F& E
  641. auto_globals_jit = On
    3 R2 E1 _6 H; J" ^) \7 M
  642. 6 z5 _$ {! E0 `0 G$ y$ ~6 X
  643. ; Whether PHP will read the POST data.* d1 m( G* e  w2 A- D4 A
  644. ; This option is enabled by default.  D$ k! R9 m' ?. ]% F& W4 ~- h4 j
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST1 a8 R/ g( c1 m
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    6 t. _$ O- |6 {* y
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    5 e, c" @1 `: ?- W) ]5 V
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    & O' _5 w  k% j7 [1 p
  649. ; http://php.net/enable-post-data-reading
    4 y4 ?2 R6 t# T. x6 Q# c& J0 o
  650. ;enable_post_data_reading = Off
    ' c1 |: C: x4 N; a# O2 L
  651. 4 v. t) Z0 E6 N
  652. ; Maximum size of POST data that PHP will accept.! B- F  c7 S  [0 n# ~( J' k! u1 I
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading# ?; u. b! Q1 w! S0 `6 @
  654. ; is disabled through enable_post_data_reading.% X9 e9 m. E9 T/ R9 h
  655. ; http://php.net/post-max-size' B# S1 [$ _- z% M& G' x  k
  656. post_max_size = 50M7 b( X. d6 ]0 `2 W) T$ E7 M# E
  657. - \- D6 [5 ^$ Y* K3 _
  658. ; Automatically add files before PHP document.
    ( U( W; B% {1 M1 {" a/ V  \  B
  659. ; http://php.net/auto-prepend-file
    9 ?: H) s3 n7 _, S# d( s
  660. auto_prepend_file =( F2 x0 ^1 ?7 B8 @  V. V6 U, Z8 e: z
  661. 5 Q4 ]& b. s9 U# l
  662. ; Automatically add files after PHP document.
    / J; P  Y1 Y8 c4 T
  663. ; http://php.net/auto-append-file0 a3 J9 A7 ~9 g' N- c
  664. auto_append_file =
    7 P" O8 e7 w# X! _

  665. " ?2 S3 Y) a. Z$ a. N  z
  666. ; By default, PHP will output a media type using the Content-Type header. To3 E  V) k' ~- x* a; {% K: Q7 P
  667. ; disable this, simply set it to be empty.  [+ {" P7 L9 k4 R7 e! N8 d1 A8 r" B
  668. ;. v6 M& \  v  T3 Z) N& o) A" V$ r8 J
  669. ; PHP's built-in default media type is set to text/html.6 Z$ |: F4 ~- m' M( _8 v
  670. ; http://php.net/default-mimetype
    ; D% \# S) ~6 o& }7 |  v. @) {
  671. default_mimetype = "text/html"8 c6 m# W7 U* E

  672. ! |! l2 M% I+ c# R) ]
  673. ; PHP's default character set is set to UTF-8.
    , O% p6 f% J1 f# L
  674. ; http://php.net/default-charset. k) Z7 v+ Z# |  |; Y
  675. default_charset = "UTF-8"
    1 [) B6 n8 o( f( p" X0 e
  676. ' `' j8 c; v  E7 v2 S; u
  677. ; PHP internal character encoding is set to empty.
    # s6 |0 Q# P. D3 X2 l7 K% |2 i4 ^- q
  678. ; If empty, default_charset is used.
    9 b& A8 H! ?% l! }: P/ F
  679. ; http://php.net/internal-encoding# c4 |1 ?" u% Z' w$ d' D, |, R
  680. ;internal_encoding =3 P8 h, U7 H) z# L' P7 a# M1 \

  681. % y& T2 p5 C$ F0 }$ y2 C) j, }. d
  682. ; PHP input character encoding is set to empty.. S; n& q) s' j
  683. ; If empty, default_charset is used.7 w$ G6 u/ U# j9 B+ m5 G+ r4 [
  684. ; http://php.net/input-encoding
    6 Z, P# o! g1 G; L
  685. ;input_encoding =
    % B. K( @  S# p7 j, _
  686. 7 c1 e; i. R! f9 O! b9 _7 y
  687. ; PHP output character encoding is set to empty.' M3 O. M4 r( R8 L
  688. ; If empty, default_charset is used.5 D' H7 ^6 W+ U. [8 x
  689. ; See also output_buffer.2 Z3 ]' P% ]$ F4 V+ [
  690. ; http://php.net/output-encoding
    ; S# e$ D% o: v6 _6 c( r, ?: Z
  691. ;output_encoding =0 K7 f1 d' F' `8 E
  692. ' ?" O0 c3 t1 ^; Z- `/ D
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;" N* E" m: [9 J+ ]) I2 G5 {( m
  694. ; Paths and Directories ;/ u/ m/ u# B8 W: X' k" ]4 U
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;, H) E0 |" }: K$ J+ T# t
  696. 6 w  U6 h( ?) p" _/ A  n
  697. ; UNIX: "/path1:/path2": m" f; {9 w5 i. r4 c# g/ |
  698. ;include_path = ".:/php/includes"' m0 ]1 q3 s7 m" E5 v2 T* ~/ D
  699. ;
    . |( T4 B1 s9 i3 X+ X
  700. ; Windows: "\path1;\path2"
    . G4 p3 P; t( k' ?: H' J' B; t
  701. ;include_path = ".;c:\php\includes"
    5 {+ o; N; {, w' _- g! k# K
  702. ;6 z  U9 B) b" D6 G* l
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    " F4 c; v; @. K- D. e4 Y
  704. ; http://php.net/include-path* s1 {3 H' [( y/ j( p" V" [+ F
  705. + {/ p; \5 X1 w" Y+ B- |; U5 K+ b
  706. ; The root of the PHP pages, used only if nonempty.3 A4 S4 I0 ]4 n. i# m
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    6 V( |0 ?5 c5 \, K0 v) P6 c# g7 `
  708. ; if you are running php as a CGI under any web server (other than IIS)" a* E0 ?" r( M- e
  709. ; see documentation for security issues.  The alternate is to use the+ }% W$ l4 M+ [2 Z; _2 K! d
  710. ; cgi.force_redirect configuration below7 s& C6 O: V( S8 D
  711. ; http://php.net/doc-root3 Z% m6 j; Y; ]# @( c/ R  s
  712. doc_root =) @: M. I- w5 `9 ^) \. o7 r, f
  713. ( X# Y- x# W  _* I+ @- Y: p# M
  714. ; The directory under which PHP opens the script using /~username used only
    # H+ d! k; U# S  r. T
  715. ; if nonempty.
    1 ~  O9 }) O, t" W9 ?) e- h
  716. ; http://php.net/user-dir
    : F/ W, ?: d- s4 v  A4 x/ X
  717. user_dir =$ {7 x; W- ~& h( h: c
  718. 8 X, i$ I2 b( c, l5 Y; d& f
  719. ; Directory in which the loadable extensions (modules) reside.8 f: Z2 A5 u" J+ t( D' q! H/ C
  720. ; http://php.net/extension-dir' a, Y  w* h. ~* o: {5 v
  721. ; extension_dir = "./"1 u* p" y8 y6 ^8 L( D
  722. ; On windows:6 D0 ?. V% ]6 ~, e% v, A* T2 F0 K2 Q
  723. ; extension_dir = "ext"
    ! b1 Y: X) F( {- D
  724. % u" @6 l" ^4 ]0 L, V4 C) `
  725. ; Directory where the temporary files should be placed.9 m9 F+ F2 l7 z! U% l
  726. ; Defaults to the system default (see sys_get_temp_dir)7 G  M1 d4 l/ q0 d- v. a7 z
  727. ; sys_temp_dir = "/tmp"
    ( e9 D2 F+ @- e( x# D( A" c2 o  I

  728. * h# ^2 m0 `, V
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work4 W: _% r' p) S  o/ l
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically5 R+ a& }) j  b* R! D
  731. ; disabled on them.' h; _6 T% i7 \/ n
  732. ; http://php.net/enable-dl
    . [- I' |1 U4 K0 p/ Q
  733. enable_dl = Off; t! o1 r8 b+ u# k% p& C* f

  734. 1 I+ z. r( S- ]3 L& V9 A% D0 P
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under5 F9 Q/ H: c6 h+ f
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    , Q. l( d, e; Y- m
  737. ; turn it off here AT YOUR OWN RISK
    1 {  [  _1 C8 T% D. a2 O# ~# Q, l; q
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    5 Y( o$ c: m4 x% p
  739. ; http://php.net/cgi.force-redirect! v% r7 y2 t! q8 c
  740. ;cgi.force_redirect = 1( n" k6 z6 n1 _1 \! _& b& ]

  741. & D9 m/ i$ G8 _/ k  M: M% {  }
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    & T  K1 e0 i  S/ ]- P
  743. ; every request. PHP's default behavior is to disable this feature.9 f9 Q. e) v" `* s! r2 q
  744. ;cgi.nph = 1
    5 e) q: Z. U1 V. d

  745. , u3 i4 Y5 c9 q2 T# j% F* L
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape, I2 M5 N( s* r7 ]# o
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP+ y2 a6 n) A! b+ |' t2 a) s; e
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
      ^7 g! p) g4 E- W+ G+ i
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    4 W2 R2 S' d' a6 z- U, k: _% f
  750. ; http://php.net/cgi.redirect-status-env. V/ h0 ]* @! X7 Z% T- Z
  751. ;cgi.redirect_status_env =6 P2 ?$ K1 o% O

  752. ; V/ E( y; k6 J3 _7 \% a- C
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    3 e' c, Z* C, i8 `
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ; z- V2 H$ X! r7 g  E7 s
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    0 s6 W3 r: Q2 q/ L$ L" @
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    # _) P0 Q% P( {  d: T
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts: v: U. I1 Z; q* v# d4 X( o
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.  S) z* g% i3 ~0 p# t2 [
  759. ; http://php.net/cgi.fix-pathinfo
    0 D3 P' P0 O1 U, g
  760. cgi.fix_pathinfo=1& y& M4 A/ \) j

  761. / v4 c+ {0 C. h9 o0 a
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside, e' Z$ I0 V0 f* P* P$ e' Y
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    / |( J% j! D5 V( ~: E
  764. ; http://php.net/cgi.dicard-path. w  o, p$ b9 l9 i
  765. ;cgi.discard_path=1# S5 U8 ?5 `8 B! n1 t/ `
  766.   w' `+ P# }; j% z9 m
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate' w3 c$ j- h) a
  768. ; security tokens of the calling client.  This allows IIS to define the6 C8 o! D- O# x8 |: H
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    3 o3 S/ f) K, Y+ ?( a% b
  770. ; does not currently support this feature (03/17/2002)% [0 `9 @/ }- I) G. U
  771. ; Set to 1 if running under IIS.  Default is zero.# e. _  c( |: H1 M' s: F1 [
  772. ; http://php.net/fastcgi.impersonate
    3 Y' c6 E. L# E
  773. ;fastcgi.impersonate = 1- H& m4 `" M  L/ @- V* ]2 S/ N" |/ N
  774. 4 C: g% U+ z# T6 f; T; Y6 \: v+ H$ r
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable( p6 b# L0 o. z8 o' y# \
  776. ; this feature.
    ' L+ q( A0 a- l; f4 e( a
  777. ;fastcgi.logging = 0
    2 C1 P# O& q, o
  778. 3 _# s% i; z& U% T
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to# c  u9 R) z+ w. w8 |! C7 n; q: K8 N
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that. H; D$ u  B- f' }, u& s
  781. ; is supported by Apache. When this option is set to 1, PHP will send: f" ^7 u5 \. C9 f  F  b
  782. ; RFC2616 compliant header.
    $ P' W+ H9 O) n9 w8 \& z
  783. ; Default is zero.
    6 o8 r8 J  K) {" ^' Y
  784. ; http://php.net/cgi.rfc2616-headers, o' j9 k9 x% `
  785. ;cgi.rfc2616_headers = 0
    . `) I1 W5 Z% }$ J

  786. + }! Q+ r! e$ ^4 d  H6 B5 f
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ( k4 v$ c/ C, i7 Y& j, a
  788. ; (shebang) at the top of the running script. This line might be needed if the
    : C9 B. O8 |3 Q; o+ ]
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    8 J  q, u& K& Y% h/ M' h
  790. ; mode skips this line and ignores its content if this directive is turned on.2 z% |$ j' I5 z) H) _( E
  791. ; http://php.net/cgi.check-shebang-line
    + G* N! R  x2 i
  792. ;cgi.check_shebang_line=1
    / I) L& R& \& N+ \* ~  Y

  793. $ C  i! ~4 K4 y6 T8 {4 p. Z
  794. ;;;;;;;;;;;;;;;;
    7 C; M, Q4 N) k. ?
  795. ; File Uploads ;+ v9 q, @! b3 [" C- Q* \
  796. ;;;;;;;;;;;;;;;;. C# p5 y8 f9 P& w, Y! E# F
  797. ; t% v7 K2 X; z, M# i$ a/ I
  798. ; Whether to allow HTTP file uploads.3 S! o& @( f5 _2 H, H
  799. ; http://php.net/file-uploads7 x  r% |2 ]- ^  ?. R1 ~# m% ?! g
  800. file_uploads = On
    . _, J2 t$ n1 C, p7 m: C5 M

  801.   H/ h- P3 M9 I6 r( Z0 J
  802. ; Temporary directory for HTTP uploaded files (will use system default if not6 _- @( q. L& k- O3 s2 p7 n7 \
  803. ; specified).* K% G9 ?. A- O
  804. ; http://php.net/upload-tmp-dir
    ' `% {8 p1 K6 p2 p% k/ p2 k# a; v
  805. ;upload_tmp_dir =" Q5 _* V7 f% R
  806. # `  w5 _7 Y, z+ f) z+ S8 o! F. b# x
  807. ; Maximum allowed size for uploaded files.( V# A; |/ L! d/ `! O
  808. ; http://php.net/upload-max-filesize
    - M, X& M$ K; Z- Y( D
  809. upload_max_filesize = 50M6 v: @  ~9 @; X

  810. + d5 [3 E5 Z8 ^) M0 h
  811. ; Maximum number of files that can be uploaded via a single request! f1 l' c  |: K
  812. max_file_uploads = 209 z& W$ A. Y" r
  813. + c8 i$ z- t; z4 I& G" D! B. g
  814. ;;;;;;;;;;;;;;;;;;6 J1 j' a- Y, w2 r
  815. ; Fopen wrappers ;
    + K) I. H# }# e2 ?- x! W5 c4 ~1 R
  816. ;;;;;;;;;;;;;;;;;;
    3 n& o$ Z* K4 a  h) v/ }; `

  817. ' n: H# G) X5 a9 c
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    + S, x8 l% J( f, K" v
  819. ; http://php.net/allow-url-fopen2 k1 Y  H# F! T  S- F+ ]. d
  820. allow_url_fopen = On
    1 Z0 q0 Q0 Q: K, Z

  821.   d8 H9 {! L: m9 Z' e+ c, H
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ; b. W# Z' p  j' {! z
  823. ; http://php.net/allow-url-include
    + M3 D# |' x% R5 C) J* Z
  824. allow_url_include = Off
    # n6 P  D& g9 i1 J" ^4 m

  825. 8 v# O% q" _7 D8 y# h5 i/ S8 c
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    6 _5 e& K- I8 ^6 z# o+ v9 p
  827. ; for this is empty.* }' j$ B: V* R9 V" v: G
  828. ; http://php.net/from
    & M: q' n/ N# {& K! _, Y: h
  829. ;from="john@doe.com"6 d  E- {3 V5 m5 w8 g
  830. # {6 [7 }0 ?! U3 F6 K/ B1 }- {3 v7 G
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    5 g( Y. W- e% Q) z) s% X
  832. ; http://php.net/user-agent6 H, [8 d- c6 j/ k( U
  833. ;user_agent="PHP"
    $ [7 c  V1 e  e- N; A
  834. 9 F' H5 |3 @( t4 k
  835. ; Default timeout for socket based streams (seconds)
    ' X; h* O1 F% c
  836. ; http://php.net/default-socket-timeout  J/ f& c; N7 Q3 p( x2 w
  837. default_socket_timeout = 60( S; X. z& G1 s3 I( u; ~
  838. . X; \9 g; X& M- V7 s
  839. ; If your scripts have to deal with files from Macintosh systems,* J0 n& j# e( ]  ?! E: r
  840. ; or you are running on a Mac and need to deal with files from. D6 \# O9 t% D% z/ `  E. z
  841. ; unix or win32 systems, setting this flag will cause PHP to
    ' ~/ _+ r' l+ Q5 v: @
  842. ; automatically detect the EOL character in those files so that
    ; k1 @& ^7 \5 p0 s. `
  843. ; fgets() and file() will work regardless of the source of the file.4 S1 w+ H+ g$ r) D
  844. ; http://php.net/auto-detect-line-endings
    * G5 T7 M8 _2 C
  845. ;auto_detect_line_endings = Off4 g: c! i4 A2 B9 Z  }
  846. 0 \% U* E' O) l$ O' i
  847. ;;;;;;;;;;;;;;;;;;;;;;
    4 ?  c$ @0 n/ v( |3 c+ e
  848. ; Dynamic Extensions ;( E% x8 m- r# h$ R  k4 h
  849. ;;;;;;;;;;;;;;;;;;;;;;
    ' ?& Q+ y9 l9 }- C

  850. 3 K) e! _" C4 ]+ K: C5 t1 _4 P$ S
  851. ; If you wish to have an extension loaded automatically, use the following' C5 O- @7 x  L
  852. ; syntax:) ~& r" D$ H( e( Y& d5 C
  853. ;; k. z3 x: q8 d& w, u
  854. ;   extension=modulename.extension( U- B1 {% C3 i
  855. ;. `  c3 W7 U& z2 r; f
  856. ; For example, on Windows:" E7 ~# L  n# r# |; ~# W+ h! V6 b
  857. ;; i$ X* [& K: o5 g5 U
  858. ;   extension=msql.dll
    6 D$ @0 U" ~7 t
  859. ;
    * B  X9 T9 ^0 w( G# F3 ~% D
  860. ; ... or under UNIX:& _$ _& w; Z: y7 x. B
  861. ;4 T6 S( D0 k7 l. u" U
  862. ;   extension=msql.so
    - t0 d7 H( F9 |+ ?. F/ `
  863. ;
    " N9 p' E8 ~' a; A
  864. ; ... or with a path:- S. J. J( k+ W; }
  865. ;
    % n: V6 W9 R9 X0 h
  866. ;   extension=/path/to/extension/msql.so( q) I7 V8 z) v; E2 x. X; U  z; {
  867. ;
    ! L6 u. P: ?6 X; m
  868. ; If you only provide the name of the extension, PHP will look for it in its
    8 g+ I5 l4 |8 P. T$ N7 H
  869. ; default extension directory.0 s* A) e$ D: b# v
  870. ;
    ! R2 o' G- ~. H7 C! a  w
  871. ; Windows Extensions
    ' _8 m( V1 m2 J; k4 `9 Q
  872. ; Note that ODBC support is built in, so no dll is needed for it.  X" P, o( C- A
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)6 G) V+ w$ h8 ?2 ]- ~3 H0 e
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).0 P  B  \/ {6 Y! A- ?/ ^& o# k
  875. ; Be sure to appropriately set the extension_dir directive.8 f. d( X/ g" i( U, A- _* b
  876. ;
    0 f; _1 Z& X5 T) i
  877. ;extension=php_bz2.dll' d! v( z" y4 |1 F; h
  878. ;extension=php_curl.dll& s9 B' @& j- P& E# z
  879. ;extension=php_fileinfo.dll
    ( S' ]4 s: O5 i# O9 a6 k
  880. ;extension=php_ftp.dll# y7 ]" F" y+ P" \8 g
  881. ;extension=php_gd2.dll
    " y6 \9 q5 f9 Y3 E9 |/ F/ v
  882. ;extension=php_gettext.dll* q7 _- T# d# Y
  883. ;extension=php_gmp.dll
    7 L) v; V0 g* K, g0 |  j8 b/ \) s
  884. ;extension=php_intl.dll
    7 a  j+ P( m) W0 Z6 V- c. f
  885. ;extension=php_imap.dll) q* N, w$ R1 v+ ?" c
  886. ;extension=php_interbase.dll
    4 B! `: K# w9 m; |/ c5 b
  887. ;extension=php_ldap.dll
    , u( P# C0 h' ], X
  888. ;extension=php_mbstring.dll2 ~( E" y. n/ ], h9 \9 I2 K! ?/ z1 I
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    7 F- \  P/ }5 X" V) j! ^; T) Y
  890. ;extension=php_mysqli.dll
    0 d# ?/ k% P! _: {: L
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    & C5 l4 O# v" X  T/ p8 N
  892. ;extension=php_openssl.dll% f! Y; w! J$ A' D- P9 Y: d
  893. ;extension=php_pdo_firebird.dll' s3 j  @9 f. @. f
  894. ;extension=php_pdo_mysql.dll* ~/ L3 I, `% F! Y
  895. ;extension=php_pdo_oci.dll
    / w* c# u9 u+ Z( }
  896. ;extension=php_pdo_odbc.dll' `( G5 k8 Y4 I9 l2 z' z
  897. ;extension=php_pdo_pgsql.dll" l: i0 E9 m; s; z5 O+ _4 O
  898. ;extension=php_pdo_sqlite.dll) q4 R; C7 P! H+ Z, r8 f4 g
  899. ;extension=php_pgsql.dll
    3 f7 E: r0 j8 ?. }% F' B0 y  W
  900. ;extension=php_shmop.dll
    - G) e- [" x/ t

  901. ) t5 A! Z# {% k* ^7 i) }
  902. ; The MIBS data available in the PHP distribution must be installed.( ^! A! ]  q& c
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    ' o! Z7 i' e5 o- f' s
  904. ;extension=php_snmp.dll
    % S0 O/ k3 B4 J# E
  905. ' G- x2 P! ]  n: o
  906. ;extension=php_soap.dll9 N9 ^' u4 A' P6 U# I$ @* v
  907. ;extension=php_sockets.dll' w8 e+ C+ w1 h* S) E8 W8 n
  908. ;extension=php_sqlite3.dll
    ) q8 N( n; a5 w! Y% A1 ?8 X, O1 q: `& n
  909. ;extension=php_tidy.dll/ a$ g4 I; l  t* i8 k9 ~' T
  910. ;extension=php_xmlrpc.dll1 s) S6 U$ G& Q+ W- @! S( @2 w  T
  911. ;extension=php_xsl.dll. |$ p( N6 |( {  d: ]

  912. : Y( F' T) p# p8 X* s
  913. ;;;;;;;;;;;;;;;;;;;
      H9 T7 R# D9 S5 }
  914. ; Module Settings ;; ~  X# l& H1 u0 ?+ S
  915. ;;;;;;;;;;;;;;;;;;;
    " M+ H$ W: ]: R) C% [
  916. ! Z$ F4 Z. h$ m3 Z
  917. [CLI Server]
    4 J. K7 ]8 e8 }8 o% u: Q" [
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.1 @  Y! k! ?) l* n7 b
  919. cli_server.color = On
    # r4 Y$ T+ X. I6 v# v6 \8 x& f
  920. 0 e) K  }  y( B# x8 B
  921. [Date]
    + X& D* X( G# C
  922. ; Defines the default timezone used by the date functions
    ) ]- j6 U9 E, i7 T, G
  923. ; http://php.net/date.timezone
    6 N0 _( p$ d$ B% R' m' I& O
  924. date.timezone = PRC; _& f7 b8 ?! t& [

  925. 2 Q% g& m0 T; C: T: k
  926. ; http://php.net/date.default-latitude' D# {' J% I( Z4 R" T- K/ w) f
  927. ;date.default_latitude = 31.7667
    & p  c+ E/ `- M( T* }- y. r  y0 I7 n8 B

  928. / B$ P& T0 g1 g6 _
  929. ; http://php.net/date.default-longitude/ m* q: r* S& _7 U
  930. ;date.default_longitude = 35.2333
    , _( U% I8 U! o9 b  k+ f

  931. 7 m6 J9 j4 k/ r; p
  932. ; http://php.net/date.sunrise-zenith
    $ N4 C, W6 d0 ]
  933. ;date.sunrise_zenith = 90.583333
    ! }* C$ W4 C3 n2 y

  934. * \9 g* J% k( p- T* p( u
  935. ; http://php.net/date.sunset-zenith
    1 R7 s! b$ Y3 p( p3 Q3 Z+ t
  936. ;date.sunset_zenith = 90.583333
    0 r7 \7 h- Q& j3 ^: B. J

  937. : [7 w( v$ x9 F& i
  938. [filter]* @# E2 ^1 ~& H" [( f' J/ b7 Y
  939. ; http://php.net/filter.default
    5 R! X" F; v. ]. m; F1 ~
  940. ;filter.default = unsafe_raw
    . E9 k9 f# H% Z  C2 m  r7 z/ m1 i

  941. : e( o6 P  T: I; D! O
  942. ; http://php.net/filter.default-flags) Y1 K3 \6 i6 D/ B) e8 N
  943. ;filter.default_flags =/ m3 d3 x* V( W; Y
  944. ' R+ s" _% k, J" @9 U6 ^, i3 w9 m
  945. [iconv]9 r* T2 n5 N- F" q
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.* H' i: q& N- Z  b( B, U
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.( D, V, D, }2 u3 o8 }8 e
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding5 L; H7 D2 ?  k- [
  949. ;iconv.input_encoding =  q$ c& p7 U5 E' K( F& p8 c
  950. * M( D( o: i8 r! U* b
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.# B! q% n+ H+ A! y% u
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    % [. ^2 U2 E, W9 K3 p6 ]
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    8 F# L7 b) T4 S/ M7 a
  954. ;iconv.internal_encoding =
    . F1 ]" V& t% G; l& |" X% g  K# S
  955. ( P' u6 m. _6 p  u. J
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ! O- W- C/ T3 o3 h' ~
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    9 E* m) B9 N7 Y  I! |2 J
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding4 c0 D; t: O# T+ o/ @1 ~
  959. ; To use an output encoding conversion, iconv's output handler must be set
    ' X& U, s: {3 ?! N3 h
  960. ; otherwise output encoding conversion cannot be performed.
    2 c4 ]. E4 w' k# g4 Q2 T3 K
  961. ;iconv.output_encoding =
    5 V) J! b/ j- F7 f3 E% A0 t- S

  962. 0 A5 Z' K5 n/ G7 }7 r; L! i
  963. [intl]
    * \, y$ I1 m& P+ t8 i
  964. ;intl.default_locale =1 p: ^* m8 X, W* S& C+ e4 p$ w& ~# S
  965. ; This directive allows you to produce PHP errors when some error
    $ ]! H3 y2 z8 p8 H' u
  966. ; happens within intl functions. The value is the level of the error produced.
    " r3 a' N& ?7 l% {. x# ?
  967. ; Default is 0, which does not produce any errors.. W7 v4 q! U/ T
  968. ;intl.error_level = E_WARNING
    ! W5 j' X1 q* S
  969. ;intl.use_exceptions = 0
    / p  b; l# c0 l) B, L. u' v& j) g
  970. + J& `7 f1 k9 t- E3 {7 ^
  971. [sqlite3]8 D9 V. w. K( o0 q: [* b
  972. ;sqlite3.extension_dir =
    ' M* d* b9 z  A

  973. $ a. \6 j- H* Q: Z" b0 E
  974. [Pcre], A$ d  Y  ~  A
  975. ;PCRE library backtracking limit.& X: ^7 O- P& `( W4 U' ^
  976. ; http://php.net/pcre.backtrack-limit& F& {  M7 v2 p9 F1 }. G% |8 A8 ?
  977. ;pcre.backtrack_limit=100000& T6 Q/ \# [3 c6 n. q5 }
  978. . @1 H( R; C9 w% k# r
  979. ;PCRE library recursion limit.
    9 B) \. @* a5 r7 S
  980. ;Please note that if you set this value to a high number you may consume all
    " {8 F' `) D, t2 c7 s
  981. ;the available process stack and eventually crash PHP (due to reaching the
    8 p: c1 U7 j4 Z) n
  982. ;stack size limit imposed by the Operating System).
    ; c9 q4 g7 d8 G
  983. ; http://php.net/pcre.recursion-limit
    , [, P- W( `6 \  h+ S
  984. ;pcre.recursion_limit=100000
    ' D( P" A& t5 T; G' \2 r
  985. * F+ p; N8 X" P* y2 ~
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE% d+ G4 _6 X4 }. v. d+ u8 V7 j
  987. ;library to be compiled with JIT support.
    $ [8 B* G( Z  u) e- a! Z. o
  988. ;pcre.jit=1  f/ t1 R  \! I; m! {
  989. 9 r8 G3 }8 H, T3 F- c6 R
  990. [Pdo]
    ' p' s" S( E$ c: i: j1 {- W
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    : d" y3 W. K, G5 ^) v
  992. ; http://php.net/pdo-odbc.connection-pooling0 i( P8 f7 }  y
  993. ;pdo_odbc.connection_pooling=strict
    - J$ N' g' {5 C$ c0 }2 ~% o

  994. 9 v3 E, G( P% R/ L- k- f
  995. ;pdo_odbc.db2_instance_name
    2 n5 D+ W( O+ }  \) @" h# @9 L

  996. ( C6 U' D0 w* O2 T3 T
  997. [Pdo_mysql]8 F: A9 Z* ~( y. B5 P, z
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache8 H4 x6 y9 ~+ Z
  999. ; http://php.net/pdo_mysql.cache_size+ v9 r/ W- S. V) [9 X! B/ ~  |
  1000. pdo_mysql.cache_size = 2000
    ! p, x- N9 W* ~* w

  1001. $ p4 F% M% W9 W" A5 Y
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    - U& E3 X7 C8 m
  1003. ; MySQL defaults." A. N) g$ n+ o! L. B! i3 {2 o
  1004. ; http://php.net/pdo_mysql.default-socket
    2 o" }; ?" l' @7 F8 {& h
  1005. pdo_mysql.default_socket=
    & l5 z% K% ]0 J( A

  1006. . X* Z. p0 Y$ O* R. j
  1007. [Phar]
    5 H1 V8 c6 q. y7 E' o
  1008. ; http://php.net/phar.readonly
    + V( U, J  X6 e* p  R8 |
  1009. ;phar.readonly = On
    . f6 O' i8 S3 F7 t9 [; @* o7 ^4 _5 N
  1010. * o# v' z$ `' J3 o. ~) J9 S
  1011. ; http://php.net/phar.require-hash
    6 ]7 a9 C" G5 F8 i( P0 C
  1012. ;phar.require_hash = On
    + `8 y& F6 U1 X# w1 S

  1013. ; g( y8 U. A+ G6 k5 o
  1014. ;phar.cache_list =
    4 m% s! y( A9 P! \/ I+ n

  1015. . e: a3 P: r- u
  1016. [mail function]. N8 M0 @0 W3 W5 X+ g
  1017. ; For Win32 only.
    9 g6 E5 P5 C( }+ M/ D) T. I
  1018. ; http://php.net/smtp+ s: ?* b! X& ]% _; o6 }7 z/ D9 s& G  B
  1019. SMTP = localhost9 k4 C# E  f8 C/ B7 n- x3 H
  1020. ; http://php.net/smtp-port
    : a4 y& w, n1 o6 o  B. V2 l
  1021. smtp_port = 257 e- {) S" S" M9 G5 ]' q
  1022. # s7 R* Q7 ]7 }2 r3 ?  A) Q
  1023. ; For Win32 only.8 K- q, L& U* j5 k8 ~4 ?
  1024. ; http://php.net/sendmail-from2 j; c4 Z6 ?. ^5 ]1 t/ }0 A
  1025. ;sendmail_from = me@example.com
    6 b2 {* q# I0 k2 Q9 @

  1026. , i  n- G; y$ Z$ f& b. z
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").' O2 \: h& q- @9 Z
  1028. ; http://php.net/sendmail-path
    1 v+ x' `. a, D- L) ^
  1029. sendmail_path = /usr/sbin/sendmail -t -i6 [* G3 D! i% f) O* m) ^
  1030. 8 R1 x" Y/ V$ G: a9 H: f/ B
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    # r  p, Q7 E$ o
  1032. ; to the sendmail binary. These parameters will always replace the value of9 Q6 s: d  Q! f8 p3 x
  1033. ; the 5th parameter to mail().# W4 w4 M9 C/ z
  1034. ;mail.force_extra_parameters =" \/ n! U/ X/ l1 V" {8 E

  1035. $ k! g' _5 d$ F- t
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename- p/ r3 W: v( k
  1037. mail.add_x_header = On. H+ ~+ ]- ?7 \

  1038. ! ~; }  B1 I- U1 L/ ]- ]
  1039. ; The path to a log file that will log all mail() calls. Log entries include3 R$ {9 C" W) s! a. h: }; g: e
  1040. ; the full path of the script, line number, To address and headers.! z7 _% @" q0 Q  A8 V
  1041. ;mail.log =
    & ~: i. o/ T  v
  1042. ; Log mail to syslog (Event Log on Windows).: b+ ^4 j% ~& K5 L& i
  1043. ;mail.log = syslog2 ~/ W/ O7 V4 s/ p3 M3 y  U
  1044. $ G, z/ S" {$ j8 J. l' w2 T: C# _2 R
  1045. [SQL]* l% m& z- `2 z% ~
  1046. ; http://php.net/sql.safe-mode
    7 J3 r! E5 A- R7 y; _
  1047. sql.safe_mode = Off
    : J1 L, S5 I4 j  |* ~. D7 t
  1048. " w* |( _! C3 u1 E# _, d
  1049. [ODBC]
    . m1 y. f7 Y- c/ I! y
  1050. ; http://php.net/odbc.default-db
    3 X: L: e* |% Z( w5 u3 D1 U/ T
  1051. ;odbc.default_db    =  Not yet implemented! c$ h$ A; {' z' `" K* h( n

  1052. " |" k" v+ n, I2 W! B+ ]
  1053. ; http://php.net/odbc.default-user$ Y* v/ u, z( c7 ]% _8 T$ q2 R
  1054. ;odbc.default_user  =  Not yet implemented6 d- M+ I5 N/ o1 M6 K
  1055. 2 p; _; M9 u' e$ y) B3 k6 z
  1056. ; http://php.net/odbc.default-pw
      _8 M9 F, u1 r2 a: H
  1057. ;odbc.default_pw    =  Not yet implemented
    3 O' F. ^/ H1 d0 F2 Q0 V) T
  1058. $ \: B* ?, @; O" J# M3 o
  1059. ; Controls the ODBC cursor model.
    + D4 g: V; A/ `  o) n0 E; O0 j, C# j
  1060. ; Default: SQL_CURSOR_STATIC (default).6 R7 `  w% G3 _* a8 c$ \
  1061. ;odbc.default_cursortype) r4 \3 L. u6 k2 M9 ^7 ]/ ~3 N" G
  1062. / i! Y5 v+ D4 K5 K1 m3 R* r
  1063. ; Allow or prevent persistent links., n# x& u0 t1 J4 m. |8 ~6 Y
  1064. ; http://php.net/odbc.allow-persistent+ M# a: B) W+ r# w6 m
  1065. odbc.allow_persistent = On
    * Y3 C" x* n. F" I; q

  1066. ! E# ]- i% N. r; s8 ]
  1067. ; Check that a connection is still valid before reuse.; f& Z3 E" H- y
  1068. ; http://php.net/odbc.check-persistent( H) m; J- v! D3 s' K
  1069. odbc.check_persistent = On
    ' J& I, _0 Z! ?! @; e2 w% g) P6 n
  1070. 1 d  W$ `) g5 h0 n
  1071. ; Maximum number of persistent links.  -1 means no limit.$ e. ^* J- o  C  |/ K7 y  q
  1072. ; http://php.net/odbc.max-persistent
    ; m1 \! g/ v0 o6 j( Y& ~
  1073. odbc.max_persistent = -1
    8 D1 ?' y9 g% U! i; c

  1074. . @, @  ?3 o) H0 v
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.- i" u( D5 p  ]  M$ n: B; f; x4 J
  1076. ; http://php.net/odbc.max-links
    # V  a4 `' \4 ^' s& l8 B
  1077. odbc.max_links = -1
    % J' r8 I, l. u3 R& A2 C

  1078. + P2 o% j! ^* n% c  G
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means! g; Z. h: _4 Y3 n0 u7 g% q
  1080. ; passthru.% J" q9 j9 g5 Q2 [; m
  1081. ; http://php.net/odbc.defaultlrl  b, E8 n7 E9 R( p: k7 I  C7 D
  1082. odbc.defaultlrl = 4096$ b5 l! z7 g- w. ^' M/ M
  1083. * J( }4 ?3 J$ f7 ^; ?* @1 ?6 C" m
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.. M' m7 H0 G7 ~
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    $ O7 F# }6 h! ~3 N! S0 P+ u3 M- p
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    $ [. q& [' V3 c. L& J
  1087. ; http://php.net/odbc.defaultbinmode, G) U% r, r0 P% j
  1088. odbc.defaultbinmode = 1
    ) [0 T0 C4 [3 w0 Y5 d
  1089. 1 `  ?* S, A; P9 Z. U  m) ?
  1090. ;birdstep.max_links = -1
    $ P8 `9 C5 u- g  @+ E0 b. r$ S

  1091. 6 `$ y- m/ ?+ P& i8 L9 ?
  1092. [Interbase]/ Z1 w. u: T+ Z
  1093. ; Allow or prevent persistent links.
    6 T6 V6 F. R0 E& c$ F* |
  1094. ibase.allow_persistent = 1
    - n- {( l. u$ @0 L3 a  c, Q6 R' a

  1095. & ~% N9 M5 ^! L/ R: |+ y1 A
  1096. ; Maximum number of persistent links.  -1 means no limit.
    + m8 f0 \: q6 Y- J
  1097. ibase.max_persistent = -1
    9 D8 r7 @  ?& ^* h! z' y2 s

  1098. ! ?3 B+ F9 |0 c" q" ]+ o" `
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ' k/ z; z5 z  H# q
  1100. ibase.max_links = -16 p% l0 b1 b3 }% O
  1101. 1 }6 a1 B: }  O+ z
  1102. ; Default database name for ibase_connect().4 `+ ~- G2 c' M) V$ Y  i
  1103. ;ibase.default_db =
    9 A0 I" U6 M3 Z. v' b
  1104. " c8 v5 X  v4 K5 l/ T
  1105. ; Default username for ibase_connect().
    ; }! b3 g1 w% t" q
  1106. ;ibase.default_user =* a2 U/ d8 ?# H4 b. f  N# l

  1107. 3 h1 j: c8 U1 Q  r8 N5 N5 M
  1108. ; Default password for ibase_connect().
    ( [0 Y" v1 R4 {# ^# @' P& @- x' T
  1109. ;ibase.default_password =
    # p. S' F& ?$ m+ s$ l

  1110. ) h: D1 k" F) x) u0 ~
  1111. ; Default charset for ibase_connect().5 D( X3 j1 Y/ P, ?: B
  1112. ;ibase.default_charset =
    ) X1 H; `+ e  D* t: ~- y! f

  1113. $ p! W0 h; k/ ?: |3 R. x
  1114. ; Default timestamp format., Q6 L* c( i0 b. |
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    7 l1 g1 V( T4 u

  1116.   z3 {9 B  m; k6 v+ N8 a& v
  1117. ; Default date format.3 q# o: i  s+ }- f" F
  1118. ibase.dateformat = "%Y-%m-%d"
    ) N3 t# G" ]! A& s* t3 X: C( \

  1119. 9 E( Y0 Z8 o+ ?: }6 ^' v) F/ V
  1120. ; Default time format./ L/ t6 B; q  I- f
  1121. ibase.timeformat = "%H:%M:%S"/ @. D5 Z5 c4 \3 W
  1122.   a6 z7 v0 L$ u" M  L
  1123. [MySQLi]
    # T+ e3 c: X3 Q/ e  u
  1124. ! X& b- ]% S! N
  1125. ; Maximum number of persistent links.  -1 means no limit.
    / W/ l$ R& _9 R" Y
  1126. ; http://php.net/mysqli.max-persistent
    3 h$ u9 W) ]" h% d  E
  1127. mysqli.max_persistent = -1
    . H$ ^- h/ ?3 [! z- |; W" O3 U* g

  1128. . J4 Z. J$ i+ ~7 i" s8 Z* Q$ v9 R
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements# B0 X6 \: s4 l- ^
  1130. ; http://php.net/mysqli.allow_local_infile( y* f# m, g7 S2 Z( [& l( F
  1131. ;mysqli.allow_local_infile = On
    % A% g0 g' O, x% ]& J$ }; Y) l, s2 f

  1132. 6 ~+ {6 L. G, s# _
  1133. ; Allow or prevent persistent links.
    # O" ~$ W* [" @, _
  1134. ; http://php.net/mysqli.allow-persistent* x1 {7 }1 Z$ {% b# ^2 v5 N
  1135. mysqli.allow_persistent = On
    . a* c8 [4 {1 t; v7 c

  1136. - k* \2 I4 K  o6 E- l
  1137. ; Maximum number of links.  -1 means no limit.
    ' ?" P# h1 o5 `; _5 Z, f+ G: }
  1138. ; http://php.net/mysqli.max-links( I8 ~, \, H! z* l  W+ n
  1139. mysqli.max_links = -1* r6 D/ _8 k9 i
  1140. " P* |2 _1 ?* H4 V0 f+ L# g
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache, H8 N+ o- o& o% @! c4 Z" l
  1142. ; http://php.net/mysqli.cache_size% E; `5 F# z( f1 W1 F
  1143. mysqli.cache_size = 2000
    ) K) a' s- y8 h; y

  1144. : B% `- Z& L6 u% ~; Y! y
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    $ f* i- l, W# g5 W" a% H$ b0 N
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the4 h; m* `* ]' l7 ^; T6 I
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    % }2 a' Y6 l+ o% A. w  R
  1148. ; at MYSQL_PORT.
    4 p- t% V" O$ k# r
  1149. ; http://php.net/mysqli.default-port
    * p! ]" b' T; n$ m! R1 p* s' U
  1150. mysqli.default_port = 3306
    1 @. C2 k$ R4 g# Q4 Q
  1151. 7 o( L1 U* f' ]+ [  R' s/ z
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in0 Q$ o4 c. c" L- i8 N  x) ]  D
  1153. ; MySQL defaults.; t1 x: Y: X4 A9 S% V  ?
  1154. ; http://php.net/mysqli.default-socket
    ( L8 x0 `: U/ q
  1155. mysqli.default_socket =' g9 _$ m; J; m" \) x( ?

  1156. - T5 `/ L- ?! q$ _3 M$ Y  d$ e% N$ a
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ) ^" J6 z' t  l
  1158. ; http://php.net/mysqli.default-host9 Z' K' m) B0 j
  1159. mysqli.default_host =$ B+ Y; j) h7 Q( `  `' z4 q, E

  1160. 6 b4 a2 M$ U! g
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode)., }# @( k3 x& P" u
  1162. ; http://php.net/mysqli.default-user- K" o& S# T5 O0 g+ d
  1163. mysqli.default_user =" }0 C2 V: i* c- f6 _+ h

  1164. % f! J' A. E# _6 |; {
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).8 e8 {% t& E3 i/ q* f! D& o' _- A
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    0 o8 i$ K) o  G& N( ?" l- }
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")# N- b% e$ M' J, w% {
  1168. ; and reveal this password!  And of course, any users with read access to this
    ' E6 [/ N' K1 i! R
  1169. ; file will be able to reveal the password as well.8 q% Z4 h+ K& Y. v8 N
  1170. ; http://php.net/mysqli.default-pw% T. K! q4 F+ d2 s4 e, K
  1171. mysqli.default_pw =
    : ]8 m# Y$ ~9 e- L( W6 C

  1172. 7 f) F$ ~- T3 X
  1173. ; Allow or prevent reconnect& ]! m! i* w3 M8 j; e! R
  1174. mysqli.reconnect = Off
    0 I6 ^9 L0 H) \
  1175. 8 [' E5 ?/ h0 j$ C, u# @
  1176. [mysqlnd]
      [( N% o( z3 x; P, _
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    0 Q0 E& a' k; M8 I- t6 ?2 X$ U
  1178. ; used to tune and monitor MySQL operations.% L! \6 u) X7 `% A! i1 T5 C7 s
  1179. ; http://php.net/mysqlnd.collect_statistics$ o, L1 t) N5 {: F% v2 Q* \
  1180. mysqlnd.collect_statistics = On( L, u4 n- z! v% }" D8 J6 N# h
  1181. * t8 ]0 [/ Q, z9 \0 C
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be3 y& T8 B; o& L4 u/ w* j1 W2 H3 d
  1183. ; used to tune and monitor MySQL operations.
    4 |+ w- |% g* X, G
  1184. ; http://php.net/mysqlnd.collect_memory_statistics) V! M% n6 U  i: y5 q
  1185. mysqlnd.collect_memory_statistics = Off
    5 s! u! }2 R7 @% m

  1186. 3 u6 ]# M, L9 E+ o8 \( E
  1187. ; Records communication from all extensions using mysqlnd to the specified log' @+ r6 a5 ~: F  b7 |" S
  1188. ; file.
    3 b, K4 n% j5 o
  1189. ; http://php.net/mysqlnd.debug
    . H3 E3 _2 p, n7 r
  1190. ;mysqlnd.debug =
    2 R+ T; o& E' g8 O% ~

  1191. + |7 e3 u5 @# Z, ?( L; R9 N
  1192. ; Defines which queries will be logged.$ ]& {  l" ~7 r" S) A8 P# b
  1193. ; http://php.net/mysqlnd.log_mask
    ) D  B0 E: O) R# I+ @& z) e
  1194. ;mysqlnd.log_mask = 0
    & z8 W9 _* G  b( D! T

  1195. 1 R. L7 y4 r4 ~6 e
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.* D1 T+ G9 \4 m, J- {, C: Y3 m
  1197. ; http://php.net/mysqlnd.mempool_default_size$ c, l' ?3 d6 C$ o2 K
  1198. ;mysqlnd.mempool_default_size = 16000
    8 W* U8 h4 n; {+ x& [) B0 }% P
  1199. * |, I! z- Y4 d2 N% N1 d$ |
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ; [  D6 X' c$ E* h- V9 ?
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    . _# S6 }4 J+ s+ S$ p2 r
  1202. ;mysqlnd.net_cmd_buffer_size = 20489 b$ ?' w& J6 Z, J( b- M
  1203. ; |! ^2 F* o  j2 H
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ! T: k. S5 U' ]* E" w: a
  1205. ; bytes.. u! g5 @2 C$ I
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    ( I0 f+ z! }8 n; c2 N3 R
  1207. ;mysqlnd.net_read_buffer_size = 32768- Q1 g" S. |' i
  1208. 5 L' L: y: }& e& v, Y* _& |6 b
  1209. ; Timeout for network requests in seconds.
    " D6 p: N: U8 [1 H  c0 L$ S
  1210. ; http://php.net/mysqlnd.net_read_timeout
    - z+ `" m! A  B. E) n* u5 h
  1211. ;mysqlnd.net_read_timeout = 31536000* k: y0 l5 |# J/ L4 {3 O
  1212. 3 t1 i: I  J/ ?( k2 c
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA$ o) ~: U2 r# |- X2 T
  1214. ; key./ r  x$ u% }/ E7 E: H' z5 {/ w
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    # R, W3 C( n8 o; l6 k2 L( q) M
  1216. ;mysqlnd.sha256_server_public_key =
    % B* ?5 X  ]' G- u0 {$ ~
  1217. + F- t  a8 Y2 `8 \/ v, L
  1218. [OCI8]
    ' l: p9 y3 r" z: J3 b

  1219. - d4 l3 W- d' j* Z9 L' [5 ]
  1220. ; Connection: Enables privileged connections using external: W# m+ a, S7 v1 l
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)1 P  f1 c, l$ l# |% Y7 @2 g/ G, K
  1222. ; http://php.net/oci8.privileged-connect) }! `: \& @' |; w
  1223. ;oci8.privileged_connect = Off
    % f5 J/ c7 H. Z3 W; I6 {+ ]

  1224. 3 k. l- ^3 u. E9 s. F
  1225. ; Connection: The maximum number of persistent OCI8 connections per! T9 @- d' Z6 m* o- c/ K6 R
  1226. ; process. Using -1 means no limit.
    2 b- m4 E5 n- _* W2 A$ t) v
  1227. ; http://php.net/oci8.max-persistent- A  O( R+ E! q5 g( ~$ c2 q
  1228. ;oci8.max_persistent = -1% i# M. v& I. \, x1 G6 [
  1229. : B; N4 X  \; X" ?. u1 c
  1230. ; Connection: The maximum number of seconds a process is allowed to
    $ S0 Z+ B1 ^6 b* F' @* X$ A
  1231. ; maintain an idle persistent connection. Using -1 means idle
    3 I3 o1 k" N* v: N& K! @) S
  1232. ; persistent connections will be maintained forever.
    1 [- b8 j* r3 |# s1 w: d
  1233. ; http://php.net/oci8.persistent-timeout! B+ P+ k5 U2 Q) h8 I- W  X
  1234. ;oci8.persistent_timeout = -19 a; j4 D' I) t) w. w/ s
  1235. 1 L( H, p- d- U& o
  1236. ; Connection: The number of seconds that must pass before issuing a5 n% |0 F9 F. C& ?" b  F( T
  1237. ; ping during oci_pconnect() to check the connection validity. When
    / b9 o! z% `+ `" I. z
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    9 v& I. q8 O- f% W( ^
  1239. ; pings completely.$ m3 _& }  H! F5 b+ F
  1240. ; http://php.net/oci8.ping-interval
    ! b$ n5 q* C/ d
  1241. ;oci8.ping_interval = 60: @* p7 l# o" ^* C3 ]! m! s/ p
  1242. ) e; H( Q* s5 Q" d
  1243. ; Connection: Set this to a user chosen connection class to be used
    + l: E0 R7 z1 e0 y# f# `, F% r0 r8 e) O
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    2 [; j2 ], z3 V/ S
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to6 q* g& o: W3 z, K# O
  1246. ; the same string for all web servers running the same application,: h% O/ N  T; G/ f: u& j
  1247. ; the database pool must be configured, and the connection string must
    ; w- O' P9 d# l3 U: V: P/ D
  1248. ; specify to use a pooled server.
    . _& V% U7 H5 t. M7 w" M1 J
  1249. ;oci8.connection_class =
      O7 o, w0 E- d. t3 D

  1250. 9 C5 ?& q) Z. `+ Y2 Z, T
  1251. ; High Availability: Using On lets PHP receive Fast Application$ X8 j% t7 X$ a6 k* b
  1252. ; Notification (FAN) events generated when a database node fails. The
    3 n* W, I! {' F' h
  1253. ; database must also be configured to post FAN events.
    $ _% R) O- |9 b- v& }  e
  1254. ;oci8.events = Off
    ! k7 u- U' ?2 F

  1255. 0 P0 Y5 ?' t9 |
  1256. ; Tuning: This option enables statement caching, and specifies how! y3 \5 A; a+ K
  1257. ; many statements to cache. Using 0 disables statement caching.
    9 ~" B( y" j/ h% [. ~
  1258. ; http://php.net/oci8.statement-cache-size
    - C# h9 H7 ?- R: |
  1259. ;oci8.statement_cache_size = 20
    0 _; w% j; ]6 z8 Y/ b
  1260. 3 s) l* _* V8 ?0 e+ ^- {  _
  1261. ; Tuning: Enables statement prefetching and sets the default number of/ H: t" U# A( c. u6 B. ^
  1262. ; rows that will be fetched automatically after statement execution.& o# Z  z! e% _' a
  1263. ; http://php.net/oci8.default-prefetch& z% e' n% d( A
  1264. ;oci8.default_prefetch = 1006 B6 Y( r% |, m7 P

  1265. 2 N5 Y7 p: v+ V/ ?7 k) Q
  1266. ; Compatibility. Using On means oci_close() will not close
    . g6 I. Q) G4 R; y
  1267. ; oci_connect() and oci_new_connect() connections.
    . h0 y& f6 t: t5 N/ g  m
  1268. ; http://php.net/oci8.old-oci-close-semantics
    6 a2 Z3 H4 @4 ~( i$ F/ i! F: b- w
  1269. ;oci8.old_oci_close_semantics = Off
    ; P. U( d9 D. i* x. K4 x
  1270. & ^7 d: ^- S5 Y7 Y+ T$ |) G
  1271. [PostgreSQL]
    , p9 z9 p4 I" j% a5 {# ^8 H
  1272. ; Allow or prevent persistent links.
    8 d, a8 @% V1 \5 S  b
  1273. ; http://php.net/pgsql.allow-persistent
    - W' r/ s7 b4 K7 P
  1274. pgsql.allow_persistent = On
    4 A2 `- I& I5 E' s% A* t3 }- J
  1275. ) D2 k' h2 I% Z
  1276. ; Detect broken persistent links always with pg_pconnect().
    3 Y2 C! a7 C4 O7 M/ n" f
  1277. ; Auto reset feature requires a little overheads.( s; H7 j/ k' G2 V; W1 f8 l
  1278. ; http://php.net/pgsql.auto-reset-persistent
    / \( C1 v  ?; p0 R& R( F8 ^
  1279. pgsql.auto_reset_persistent = Off. B7 e5 r0 ^; O; N; p/ I! q
  1280. 0 _& V6 \$ v# e% v8 m" q
  1281. ; Maximum number of persistent links.  -1 means no limit.+ w" ?  F0 F  S7 M+ g
  1282. ; http://php.net/pgsql.max-persistent
      n  x& G8 l  T
  1283. pgsql.max_persistent = -1
    - p" ]7 ~) \9 O( M# }  p

  1284. 0 Z5 ]1 B  M7 t- f- i
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ! j1 s7 e) m, n+ A. r: A7 D9 a1 Y
  1286. ; http://php.net/pgsql.max-links
    % ?, C! o! v9 _6 S" [. K
  1287. pgsql.max_links = -1
    : }0 M+ ?' E6 R" [$ Y2 k$ p
  1288. ' e4 E9 H9 _3 F7 }$ V9 F$ v
  1289. ; Ignore PostgreSQL backends Notice message or not.1 S9 a9 ~0 o7 u  w  p9 {/ C
  1290. ; Notice message logging require a little overheads.
    2 o3 r. x. U6 L2 w" O0 m+ z: E
  1291. ; http://php.net/pgsql.ignore-notice  X0 O* @) Z, ~/ \
  1292. pgsql.ignore_notice = 01 b$ ~* p/ P9 j

  1293. 9 M6 E9 Q" x; R1 C4 d
  1294. ; Log PostgreSQL backends Notice message or not.$ G  h- Y2 L/ C8 }& h$ A
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ' l' R1 T7 Y$ z* Y6 I
  1296. ; http://php.net/pgsql.log-notice) i( s) A* ^9 C$ F! l
  1297. pgsql.log_notice = 0  A8 W/ x( }1 \$ t( L

  1298. 4 p1 D7 \, @0 E- q* b
  1299. [bcmath]- |' V: J5 |2 g+ t
  1300. ; Number of decimal digits for all bcmath functions.
    + C' m, N  P/ w
  1301. ; http://php.net/bcmath.scale0 g, l+ B. j4 q3 ?; K! Y! b
  1302. bcmath.scale = 0
    5 t; o$ G% J# @5 j+ n% G- e  q( d: L

  1303. 4 c9 C8 F* v5 k4 j
  1304. [browscap]
    8 \9 @/ b+ k/ I" M
  1305. ; http://php.net/browscap
    5 l6 _9 c5 A$ O! g) ]8 l& _, v
  1306. ;browscap = extra/browscap.ini
    # n/ j" Z8 w' `& O5 k( X
  1307. - |3 D# S1 Z/ q3 |4 D& W
  1308. [Session]' B, ?: R$ `# ]/ e% z
  1309. ; Handler used to store/retrieve data.
    9 C* `7 b7 G# L' P& M) `, o
  1310. ; http://php.net/session.save-handler8 [. m6 Y0 w3 u" \8 O( Y7 E/ L
  1311. session.save_handler = files5 D) C  e) r* P$ z
  1312. , ?" N+ C& Y! Y& Q( C  F
  1313. ; Argument passed to save_handler.  In the case of files, this is the path/ B: o1 G: f2 z0 ~9 ?
  1314. ; where data files are stored. Note: Windows users have to change this' x. U" K* R! ]9 `( j8 G
  1315. ; variable in order to use PHP's session functions.
    ; g5 |( P! O1 W; |
  1316. ;1 W$ }3 b8 O" Y2 M
  1317. ; The path can be defined as:. g2 q; o; e) T
  1318. ;& L# s  F* o6 f  W1 n3 e- t) s/ ]
  1319. ;     session.save_path = "N;/path"2 ~( U- c2 u1 N1 V: q/ C
  1320. ;8 U$ X$ r3 z0 a8 H' Y
  1321. ; where N is an integer.  Instead of storing all the session files in8 |+ Q2 Z% K5 {
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    ; r, q: c7 `- [
  1323. ; store the session data in those directories.  This is useful if( i# y# n- `. p/ c! ^- E1 M; m
  1324. ; your OS has problems with many files in one directory, and is7 p: n# S8 Q+ Y4 |! q
  1325. ; a more efficient layout for servers that handle many sessions.
      [& {8 s6 h8 ?+ }0 l1 D. {8 W
  1326. ;# J7 X: J/ e5 F2 W# t
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    ! H& M9 E  E4 _3 u. I- P9 y
  1328. ;         You can use the script in the ext/session dir for that purpose.
    - X; k4 e# l. F7 e# {6 }3 {" H
  1329. ; NOTE 2: See the section on garbage collection below if you choose to: n" I. J  T& M( j! i( u8 K
  1330. ;         use subdirectories for session storage7 u: G1 [4 R! Y5 ^% I
  1331. ;& Q+ R' G& t) z: [. {
  1332. ; The file storage module creates files using mode 600 by default.
    % A* `5 D# I; M% E/ o
  1333. ; You can change that by using
    5 a- U" d. Q* P1 S
  1334. ;
    & ^9 Z- o7 _( S% V' L9 V2 n
  1335. ;     session.save_path = "N;MODE;/path"
    ' Y& H/ ~; X# I- W
  1336. ;
    4 z/ S: y. L8 ~' g
  1337. ; where MODE is the octal representation of the mode. Note that this
    6 z2 T4 J& l. a% p- Z  V1 b/ _1 y
  1338. ; does not overwrite the process's umask.
    3 ~  K; t1 Z9 X5 P9 r6 b
  1339. ; http://php.net/session.save-path
    : J  e8 x6 {2 z
  1340. ;session.save_path = "/tmp"8 m5 k* n; F5 m( ~
  1341. / |% ?" |7 h2 X) t5 u+ _% C
  1342. ; Whether to use strict session mode./ i7 f0 U; {- j  a1 H5 o: L
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate1 ?; v9 o3 G% y0 I- X- F% z- C
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects, f+ ]! l+ W0 g& x5 L5 F* W
  1345. ; applications from session fixation via session adoption vulnerability. It is- ]& N6 m3 \9 k* U1 u8 x3 p; n
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.) \2 B4 ?1 G% ]; T% W/ d6 _1 S+ n
  1347. ; https://wiki.php.net/rfc/strict_sessions/ _( T5 i5 S- h' E! y0 n7 D9 P
  1348. session.use_strict_mode = 0, D& L) B3 V% C0 M
  1349. . _; @8 f, X- S6 w
  1350. ; Whether to use cookies.! F6 {  y! ]" X( `, {  s* U
  1351. ; http://php.net/session.use-cookies7 f; `. k6 ^9 ^  Z, l( m
  1352. session.use_cookies = 1
    , G: [/ x3 q! `- C
  1353. - [) A/ z0 {* R" }4 X
  1354. ; http://php.net/session.cookie-secure
    3 A9 c$ }; [. M# s) I( ]4 a
  1355. ;session.cookie_secure =2 l  m" J! {2 ^4 O* w3 A) o

  1356. 3 w* |# [$ ^4 c& [" ?  e1 S8 j* C
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining$ B$ p9 a9 T4 {6 I, l, E: K, D
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    * B2 \! T# b2 t' Z) ?3 q: ~* f
  1359. ; session hijacking when not specifying and managing your own session id. It is
    - ~+ H6 h) n9 X* h6 s' s, u
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ' z/ d* T& {  ~. D1 e* ?
  1361. ; http://php.net/session.use-only-cookies& l* I) d- b' W. u3 K; S
  1362. session.use_only_cookies = 1
    . h% c: d$ L( A- [" ~

  1363. 7 }6 X: b: M2 G9 w; G+ z% j/ T& l
  1364. ; Name of the session (used as cookie name).& Q. `) h8 J2 B7 H
  1365. ; http://php.net/session.name
    9 r$ M) Y% M6 N) R
  1366. session.name = PHPSESSID
    % X$ S. J+ a* e& p' M  ]+ J( X

  1367. ' d- S( ^- m" C/ ?: ^
  1368. ; Initialize session on request startup.* l) J) W3 \4 i; ]
  1369. ; http://php.net/session.auto-start
    ) ?* t( G( r+ D/ y. T; l9 G& k  v
  1370. session.auto_start = 01 q+ c- ~! `- ?& `, J4 q2 c

  1371. * r; h+ U/ q( q$ O
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ' g' \7 B, r* w8 W
  1373. ; http://php.net/session.cookie-lifetime  t) O1 ~' s. ]% J* I$ S
  1374. session.cookie_lifetime = 0
    - i" }  h. D; z* M
  1375. # ^: w" h3 \+ L  ~% L6 ^2 l3 w9 Z
  1376. ; The path for which the cookie is valid.
    ' h4 t6 N+ h# U
  1377. ; http://php.net/session.cookie-path
    ' |8 o( F  S' u; V( J
  1378. session.cookie_path = /7 f$ h8 X) U2 b$ f& m2 u4 e1 G1 Z

  1379. * n8 d" Z4 a; }, n+ X: |
  1380. ; The domain for which the cookie is valid.
    " }1 O/ Q6 n/ Z4 r
  1381. ; http://php.net/session.cookie-domain
    + _: W# x3 d7 M, D5 x" t
  1382. session.cookie_domain =
    0 n+ b  g% y7 H; V

  1383. ( ]0 O% }" D% @1 A3 O
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.* O: c0 |2 e0 ]) t/ v
  1385. ; http://php.net/session.cookie-httponly4 l- Z- ?* E+ c* O7 G1 K( k$ O
  1386. session.cookie_httponly =3 n/ t. [4 H- Z7 T# P* I6 C* [
  1387. * q; s: Z2 i9 I/ V
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.+ e% A/ X- v. x5 o
  1389. ; http://php.net/session.serialize-handler
    # p/ J& m2 d5 _" A
  1390. session.serialize_handler = php
    ; Y2 E( j" q4 ?) r0 s( p$ ]! j* D
  1391. # _6 S. v) f, e, J5 `6 s; R
  1392. ; Defines the probability that the 'garbage collection' process is started' K. N, `" {0 f) n/ C& ]7 j& o
  1393. ; on every session initialization. The probability is calculated by using
    / R: n2 Z! F0 q6 b; S
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    5 f  E3 Z8 V% u3 ?, s! k0 e
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    # Y2 l% b% R) K' A+ [
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance  d$ y; B" ?' m' f% f7 u1 F+ `% Z
  1397. ; the gc will run on any give request.
    - D$ a3 z8 m% y# L1 e) b2 W
  1398. ; Default Value: 1
    2 I+ a& _, `3 {+ h3 X
  1399. ; Development Value: 1, B1 I0 G! @. y% r0 |' c
  1400. ; Production Value: 1$ @2 F& \3 \* @3 i
  1401. ; http://php.net/session.gc-probability
    ; i& @3 G) R( X% y: @5 p
  1402. session.gc_probability = 1
    2 Z" V  H, v7 [$ o( B0 |8 a

  1403. 0 s6 v% |8 F, @8 p5 [
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    7 a( x2 f) x% g0 ]; P  e7 ]1 b9 `
  1405. ; session initialization. The probability is calculated by using the following equation:/ F0 v/ ^3 k; z! ]& S2 S
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    1 b3 |: w& Y% R: S9 a5 E  [
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1( P$ U: z) @! I, X0 @$ `( k
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ' m, j5 v7 Y  ^9 m+ Y
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you8 n% Q1 w- X4 Y# j% p* ?# z
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,% _; u2 k; M* J+ I+ F: t( k6 o
  1411. ; this is a more efficient approach.+ y$ G: s5 s% g( P
  1412. ; Default Value: 100; m* a$ x4 Y: m
  1413. ; Development Value: 1000
    & A7 y! Q! ^* q8 G9 A
  1414. ; Production Value: 1000) m7 W! O3 y  S
  1415. ; http://php.net/session.gc-divisor& X* U7 Q& P+ ]2 a: [
  1416. session.gc_divisor = 1000. @. ?9 x: T9 P' v1 {# m* s' o

  1417. + M! I) I$ N+ e
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    : P! s) l+ M4 `* w& p5 L0 }" S7 p
  1419. ; cleaned up by the garbage collection process.0 k4 V( k% S5 F/ X; H7 Y
  1420. ; http://php.net/session.gc-maxlifetime  X  b# C5 n$ a8 _: ~
  1421. session.gc_maxlifetime = 1440
    7 i9 b# y& [5 N
  1422. # p2 R. J8 i; X- g
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    " _4 n6 x( B" x0 M1 C0 _% I3 W
  1424. ;       (see session.save_path above), then garbage collection does *not*
    1 A0 Q. C) _; f# w
  1425. ;       happen automatically.  You will need to do your own garbage
    % b8 }& K; b5 \# K: r: h9 V% K
  1426. ;       collection through a shell script, cron entry, or some other method.
    1 \1 b0 F6 q- x4 j8 V
  1427. ;       For example, the following script would is the equivalent of, T4 R4 R$ V2 S" G
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    & `9 X, H+ \5 z6 s
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    $ a6 e0 K7 g* g! w

  1430. & b# _  o8 E7 t+ L4 z
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    / t: h& [5 b+ H
  1432. ; HTTP_REFERER has to contain this substring for the session to be/ U& p$ I4 G1 C5 [$ P
  1433. ; considered as valid.
    ' x! t+ R% F! d6 k/ \
  1434. ; http://php.net/session.referer-check+ [: y  M( \, `, C5 [/ P2 \
  1435. session.referer_check =
    3 r. s/ n  H9 ]3 h1 J  s# J
  1436. % O2 F0 ]$ z) {
  1437. ; How many bytes to read from the file.# u0 y$ X5 G& O+ v; v+ ^. [
  1438. ; http://php.net/session.entropy-length
    . E2 Y7 J, {. v1 ^5 W8 f* k
  1439. ;session.entropy_length = 32; t: x* J) r1 u* ?2 i
  1440. & k, a9 ]1 ~8 b- \( l' I% b5 T
  1441. ; Specified here to create the session id.
    , `% D( V" q$ C/ n8 U" ]# C+ O' r8 S
  1442. ; http://php.net/session.entropy-file2 S5 u( X& Y$ t) E' O' z
  1443. ; Defaults to /dev/urandom# Y& C' u0 t7 ~: c, a$ y
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    4 B: B) O: Y' M0 ?' Y/ J8 l1 k% X1 ~, \
  1445. ; If neither are found at compile time, the default is no entropy file.
    8 V% v8 i. F& z+ H  U1 z, M% ~
  1446. ; On windows, setting the entropy_length setting will activate the+ K( q% }3 R3 j! S
  1447. ; Windows random source (using the CryptoAPI)8 l. R5 k9 k' ~# a3 s
  1448. ;session.entropy_file = /dev/urandom5 ~& I+ \4 r6 t* i. D% F* }

  1449. $ H1 i$ b6 @& t2 Z2 [: Z
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects$ {. I0 w7 ^; c7 d" F; [- f; |  ~
  1451. ; or leave this empty to avoid sending anti-caching headers.% d/ ?8 E) {- d1 ?# T9 u
  1452. ; http://php.net/session.cache-limiter
    ! N9 x" a/ W& h: b4 O. B
  1453. session.cache_limiter = nocache
    / @+ R! u& h: g$ u( J6 d; Q" J' @
  1454.   }1 M" H( I3 G. Y0 Z! s! |& |
  1455. ; Document expires after n minutes.1 a7 y6 ^! b( O
  1456. ; http://php.net/session.cache-expire/ H! \0 r  A( k+ D, I
  1457. session.cache_expire = 180; g# L& H0 j* T

  1458. 8 p/ e- o9 b2 @. i
  1459. ; trans sid support is disabled by default.
    - e  C3 t' Z6 j
  1460. ; Use of trans sid may risk your users' security.; e  f  k& X/ j8 W  J) B+ z
  1461. ; Use this option with caution.
    2 z! h. W1 }! q: ]* v
  1462. ; - User may send URL contains active session ID
    2 a' ~& F5 w( @1 |2 t: O' R* `7 L% ~
  1463. ;   to other person via. email/irc/etc.; v- q/ o1 e8 C8 b6 @
  1464. ; - URL that contains active session ID may be stored
    & t2 r; z, O; x9 l
  1465. ;   in publicly accessible computer.
    * y( B# `3 J4 T" @4 ^6 C6 t
  1466. ; - User may access your site with the same session ID( i; r9 N5 D4 S- P5 [1 f. b2 t$ O
  1467. ;   always using URL stored in browser's history or bookmarks.: N) F9 }. v0 y" K$ L$ S' l
  1468. ; http://php.net/session.use-trans-sid3 \) G1 B  b& H2 j; C/ Z- S
  1469. session.use_trans_sid = 0# l& i" D& x: p4 k/ b; v
  1470. ( E6 R, d# Q4 G) @* Z' z0 k
  1471. ; Select a hash function for use in generating session ids.
    ( K9 w+ y9 D  M# T( ?3 V/ W
  1472. ; Possible Values6 h& k, D( F- ]
  1473. ;   0  (MD5 128 bits)' Y* m5 e" T. T! W; c& `9 ]
  1474. ;   1  (SHA-1 160 bits)
    7 C+ ^, f: q1 ]- ?7 n6 v# h3 j
  1475. ; This option may also be set to the name of any hash function supported by- d/ G# u: m# v* O" x& k
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    6 B5 ?) _* d3 @5 Z  q
  1477. ; function.
    8 K* e0 `8 I$ K) }0 s7 d' J$ Q
  1478. ; http://php.net/session.hash-function
    4 W" [/ I1 W9 S" F, i
  1479. session.hash_function = 0. I! g3 k/ d$ g6 p) n

  1480. 7 L. d6 j6 n/ ^7 w
  1481. ; Define how many bits are stored in each character when converting( N9 t" V) L$ @- ~
  1482. ; the binary hash data to something readable.' W# a# K' o6 Z0 w2 V0 B
  1483. ; Possible values:( V2 N& ]* A6 ]6 R0 H
  1484. ;   4  (4 bits: 0-9, a-f)* h. M/ T) R3 d6 }6 |+ ^# m: U1 J
  1485. ;   5  (5 bits: 0-9, a-v)
    * Z4 R5 ~% Y4 t# }1 I) f
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    . u/ C  V4 I; ^& t& H
  1487. ; Default Value: 4. k# m$ U* c7 a/ X$ t* Q# t* P9 C
  1488. ; Development Value: 54 L/ z5 M1 ?0 v$ N) }
  1489. ; Production Value: 57 J  b( B3 N& ?
  1490. ; http://php.net/session.hash-bits-per-character2 Y: @5 A8 r0 F& U* }1 K9 q" ~" ^2 }
  1491. session.hash_bits_per_character = 58 `3 n6 }8 |  R2 N& H4 i5 b

  1492. 4 p8 N( B- {/ p( Z3 ~5 A" I2 s
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ) U) h# K& \' _" m
  1494. ; form/fieldset are special; if you include them here, the rewriter will+ |, r$ x3 t! y+ A, {4 D6 C
  1495. ; add a hidden <input> field with the info which is otherwise appended
    * l$ Y% C, _! _
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.- W* M. W' E/ K4 Z
  1497. ; Note that all valid entries require a "=", even if no value follows.% _* ~" M" _9 ^' q( p9 i' r
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    3 Y# e5 J  X9 b7 F1 ]1 K2 I
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; V0 d# u. Y) U/ @* R3 Q
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  d6 \4 s& C. L4 }6 l
  1501. ; http://php.net/url-rewriter.tags
    6 k- h' A1 q* p% C
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"- b6 l: d3 M% h; T

  1503. 0 L+ a7 O# d9 x5 h
  1504. ; Enable upload progress tracking in $_SESSION
    ! o3 ~9 p0 s  D* ]" v
  1505. ; Default Value: On
    & X9 ~' W8 f  |* Z4 [' T* I
  1506. ; Development Value: On
    ) r) O+ q9 o4 t% {, \- q3 U! E
  1507. ; Production Value: On( ~: K2 a! n' [! Y! p4 _# U( W# r* ?
  1508. ; http://php.net/session.upload-progress.enabled
    ! Z  [. W% Q' @( Y% Y1 P1 T! k
  1509. ;session.upload_progress.enabled = On6 G& q/ Y1 i, Z

  1510. ( u5 [* U0 i6 I& d
  1511. ; Cleanup the progress information as soon as all POST data has been read
    & v- A5 I3 M' e7 [% ]
  1512. ; (i.e. upload completed).
    4 C1 Z: m( ?, v# g* [4 O
  1513. ; Default Value: On; ^4 K) e" r0 }6 q, |$ B
  1514. ; Development Value: On, T) M" j; F6 q0 L6 O0 P; y5 g7 w% ]
  1515. ; Production Value: On
    - \! g# Z. t+ H1 i9 F7 a! a
  1516. ; http://php.net/session.upload-progress.cleanup
    4 ]+ s* A; E2 b7 p
  1517. ;session.upload_progress.cleanup = On
    ( \0 Q5 S$ d5 x8 ]
  1518. % Z6 l- @+ A! O+ T: U4 S
  1519. ; A prefix used for the upload progress key in $_SESSION
    7 i2 R9 i7 f/ C9 Z$ B
  1520. ; Default Value: "upload_progress_"  o9 h1 K/ ~) y+ f3 ~5 }" t7 M; k
  1521. ; Development Value: "upload_progress_"
    : o$ f1 `! |$ m& t- U
  1522. ; Production Value: "upload_progress_"
      D# [2 }0 H2 W* b( R: a
  1523. ; http://php.net/session.upload-progress.prefix
    ' e' g7 L# L( {" C) ^7 V
  1524. ;session.upload_progress.prefix = "upload_progress_"
    . \* {- V% L+ f0 E* R2 C, |' h
  1525. * s# Q: Q9 F0 L) W% ~' x
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    . i- z- p# B& Y5 M
  1527. ; containing the upload progress information
    5 C, V. p" z4 ~1 M+ k
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"9 f2 x2 u' D' [7 l( Y
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"6 W- b' d# E: V* v1 s" x' J0 M& A
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , g! K* ]5 \1 H  R$ Q) H( {1 X& X
  1531. ; http://php.net/session.upload-progress.name
    + u* A6 ?! e2 I# @
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    + J- n' c$ W7 P$ Z- C5 d

  1533. $ ^, t" z+ ]4 ^) j
  1534. ; How frequently the upload progress should be updated.
    % ]0 g: _$ J: n2 G3 ^) J
  1535. ; Given either in percentages (per-file), or in bytes1 z! B. f( ~! f$ l
  1536. ; Default Value: "1%"* ]3 u) C2 ]" n) S
  1537. ; Development Value: "1%"  H' l! i( p, U' s
  1538. ; Production Value: "1%"/ \/ F# I/ m+ m* e; Q* ?
  1539. ; http://php.net/session.upload-progress.freq
    ; g. ~6 H" F5 o2 \
  1540. ;session.upload_progress.freq =  "1%"
    2 j, h. }- \/ r
  1541. 2 p4 R+ {6 O4 S- c( x3 F+ T. [
  1542. ; The minimum delay between updates, in seconds
    # T, A  w, }/ w) l2 ^; k
  1543. ; Default Value: 1
    9 z- w1 H4 H& k& B" X+ e
  1544. ; Development Value: 1! s% ~9 \$ K8 H( R8 T
  1545. ; Production Value: 1! h4 ^. l, t# Q' K/ I6 V6 O
  1546. ; http://php.net/session.upload-progress.min-freq# W+ ^0 x* S6 c+ V( {8 C
  1547. ;session.upload_progress.min_freq = "1"
    * k- y, i  h. {; m

  1548. ! e( P! y) h7 F& S) t% B& ]1 h  d
  1549. ; Only write session data when session data is changed. Enabled by default." L( t" x9 x8 |  I
  1550. ; http://php.net/session.lazy-write& J# i9 L% [! X  p
  1551. ;session.lazy_write = On
    ! T: j4 I4 `- m
  1552. 9 I4 |3 P1 C$ k) m' l5 M
  1553. [Assertion]
    2 p/ I" C; ~$ W6 _. x
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    + A  s/ j. H/ u( Z* k* O
  1555. ; -1: Do not compile at all6 E# i# [3 W! m8 D- s6 E
  1556. ;  0: Jump over assertion at run-time
    + x% ]  g/ N3 N. Q
  1557. ;  1: Execute assertions
    8 b6 _. X0 j  B  R2 D
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
    5 Q3 y) ]: H& P% e. J/ d# d$ H  S
  1559. ; Default Value: 10 }9 _4 E$ f1 t: w4 S
  1560. ; Development Value: 1
    / J% s) _5 R4 D. D
  1561. ; Production Value: -1
    8 U9 F5 k' M. D6 I! x9 v- g
  1562. ; http://php.net/zend.assertions
    . u% d4 h7 j2 l7 m
  1563. zend.assertions = -15 V4 C* N; Z; v0 [7 M1 [4 G. y( ^
  1564. 3 X9 m8 e$ W/ I, X8 p
  1565. ; Assert(expr); active by default.: N, z7 @* [0 `3 X' P' h" T
  1566. ; http://php.net/assert.active
    " f0 ?- ]6 g4 {8 b
  1567. ;assert.active = On
    ; o; m: A4 \9 Z

  1568. . k, V" u1 B  \8 U+ a% c
  1569. ; Throw an AssertationException on failed assertions
    * m+ C9 e6 g4 y5 x1 x3 L- x2 z
  1570. ; http://php.net/assert.exception
    + S" |1 Y9 `5 m  K: R3 {; `+ f! h- Z
  1571. ;assert.exception = On
    ) p' X. ?4 \) m  G( ~9 H

  1572. ( K/ V7 w5 d. }6 Q$ y( C3 D, H: _$ L
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    % C& N( I# v2 [. x7 P5 P4 J4 s
  1574. ; http://php.net/assert.warning
    2 }0 D& c) v7 W
  1575. ;assert.warning = On6 f$ p, m7 L) t+ v2 Z* a
  1576. ) u/ |/ _( B1 b) p* b& u' B5 v
  1577. ; Don't bail out by default.
    6 S: C$ d8 w1 H: ?: O5 R
  1578. ; http://php.net/assert.bail
      y( ?. U' X* V/ G' C  n! D* V
  1579. ;assert.bail = Off
    / w- |* j1 t0 E3 e

  1580. 9 Q6 i; K3 s0 ?+ T0 i& s& y2 v# v
  1581. ; User-function to be called if an assertion fails.
    ! m/ j  m& r. _- D  j, m0 E$ z+ r
  1582. ; http://php.net/assert.callback$ Q; U( I' G) Y' s( y  x
  1583. ;assert.callback = 0: b6 b$ n& L3 E3 g3 F) n8 Z

  1584. 8 H+ g2 r% w: y4 Z  f/ B' Y! d
  1585. ; Eval the expression with current error_reporting().  Set to true if you want. e; J" F. t0 b' p$ q3 V
  1586. ; error_reporting(0) around the eval().. o" O$ A! V6 l2 n. i4 S$ y
  1587. ; http://php.net/assert.quiet-eval' p( J2 R, [+ F2 D
  1588. ;assert.quiet_eval = 0
    ' l5 d, @; M: _% N

  1589. : i; r- z/ I% a: m- d: H
  1590. [COM]0 U3 [3 }; }$ h) T5 k+ g! R1 \
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
      ~+ J" @1 p. y0 b6 ?; W2 [# r
  1592. ; http://php.net/com.typelib-file
    8 x- W, D5 E# p" w" a
  1593. ;com.typelib_file =
    9 c/ o1 l. x& P2 v$ J3 U

  1594. + D8 w; X* c# Q1 a
  1595. ; allow Distributed-COM calls
      Z/ x: ~6 h+ R7 X% A
  1596. ; http://php.net/com.allow-dcom
    % b2 o* g6 q' a- M8 W3 s
  1597. ;com.allow_dcom = true
    * L" v% t! z8 m' g
  1598. 7 o/ x6 _" X5 K2 B( p
  1599. ; autoregister constants of a components typlib on com_load()
    . ?+ h; R7 ^) H  @
  1600. ; http://php.net/com.autoregister-typelib2 O& W% I6 S1 w$ B& T# H, ^
  1601. ;com.autoregister_typelib = true
    ! B: ]4 B( A6 o

  1602. 8 _' o! m( m/ G! T0 F9 ?7 M
  1603. ; register constants casesensitive( s1 n1 [& ?& o* y8 E2 R
  1604. ; http://php.net/com.autoregister-casesensitive
    ; V* E; E4 f6 D: m9 ?
  1605. ;com.autoregister_casesensitive = false* `; D# @9 x  ~- f/ X- a1 T  ]0 L
  1606. ! z5 ^9 F9 }8 j* C$ W
  1607. ; show warnings on duplicate constant registrations
    % Y5 Y' C; c3 F/ O, X
  1608. ; http://php.net/com.autoregister-verbose: f8 S! L& f. f9 Y
  1609. ;com.autoregister_verbose = true
    + D/ u* G& R% }8 I7 h& s# _% p* `5 }( p
  1610. 9 ]0 K& A$ {, ?/ v
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    % W& }  T3 A, O- c& ~
  1612. ; Default: system ANSI code page- U3 Y! H4 r3 R; L8 E9 F
  1613. ;com.code_page=7 z) d- p$ o8 N% g6 W
  1614. * j- G4 D/ ?2 z& A+ k
  1615. [mbstring]
    ) s0 w/ U. C1 G
  1616. ; language for internal character representation.$ O  R. `& q+ n' M3 K* M- e0 F
  1617. ; This affects mb_send_mail() and mbstring.detect_order./ H! e! ^4 R8 e/ ~; o: t1 j
  1618. ; http://php.net/mbstring.language. e! b0 p5 [  n/ G$ q1 x
  1619. ;mbstring.language = Japanese
    ( n2 x9 N) j) `6 F
  1620. # [: {8 K1 h7 V9 N6 `
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    + y) S' g% S7 z! a: l; D
  1622. ; internal/script encoding.
    + W6 J2 F& F* }
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*): M. e- F% e- ^$ h
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ) y/ i9 |8 s9 v8 \, n* V% D
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding8 t+ x/ Z0 a5 @' P0 k5 T  ~
  1626. ;mbstring.internal_encoding =
    - g4 q1 f& R/ m0 o6 q
  1627. 4 c- T1 c; _: Y. X5 e# v' o% Z- k
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.8 f6 Y' @! j4 |
  1629. ; http input encoding.
    1 D6 p3 \7 w# s+ ?3 f$ m, \
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    / i9 B! G% B% E  @2 F& R: B2 ~: N
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.) p" z3 q+ a! d$ r/ u
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    8 M9 K. _' R3 G0 b0 t. y
  1633. ; http://php.net/mbstring.http-input
    * a& B3 X2 u& E" m: D8 _
  1634. ;mbstring.http_input =
    : d; b9 ?5 |) N8 S" i

  1635. + u/ [# T' ?$ C& t( d
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    & @2 V9 Y) r) X
  1637. ; http output encoding.
    # l* T" ?' O- R1 p
  1638. ; mb_output_handler must be registered as output buffer to function.- X# ?9 z4 h$ g, O* S/ q! o, y
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.8 w, s6 L, F0 l; I! e8 W. U- g
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output$ @* ]$ D7 M6 t$ |7 n- M3 W
  1641. ; To use an output encoding conversion, mbstring's output handler must be set- N5 @" {& t  V3 u; A+ j5 Q
  1642. ; otherwise output encoding conversion cannot be performed.6 k5 G; F) e; r; O
  1643. ; http://php.net/mbstring.http-output; d" E3 G* f) ~7 Y# P, _  a3 c
  1644. ;mbstring.http_output =+ A& s5 Z; o( t/ G
  1645. . h3 a* z( d0 J+ m; u
  1646. ; enable automatic encoding translation according to
    5 ?3 D" p' F; t1 C- ]% T: t0 w( G
  1647. ; mbstring.internal_encoding setting. Input chars are
    - E5 [* i2 {: T6 v9 v3 ?
  1648. ; converted to internal encoding by setting this to On.' v, h, R7 Q- u- T/ L# Y
  1649. ; Note: Do _not_ use automatic encoding translation for5 X0 R: \& |1 q, Q  i0 [+ o
  1650. ;       portable libs/applications.
    " I  I6 G$ I1 T% D; v( t
  1651. ; http://php.net/mbstring.encoding-translation; g) P5 P7 Y# f" w$ q; V
  1652. ;mbstring.encoding_translation = Off
    . ?) x% y6 T$ p, j

  1653. 8 p0 G; U7 h/ W; N5 W
  1654. ; automatic encoding detection order.9 x  o* n2 p  M, L8 T
  1655. ; "auto" detect order is changed according to mbstring.language- p1 l3 u7 n  R. d5 T2 l6 i
  1656. ; http://php.net/mbstring.detect-order( M& n0 s% L: g/ R
  1657. ;mbstring.detect_order = auto
    * N6 T& y9 O; p) C

  1658. 4 ~9 ~9 ~6 d0 }3 Z/ M8 u
  1659. ; substitute_character used when character cannot be converted. d; c0 ^1 s+ r
  1660. ; one from another
    ) Y9 Q( U# g/ |+ k
  1661. ; http://php.net/mbstring.substitute-character+ a2 ]( `9 f' e
  1662. ;mbstring.substitute_character = none
    ) a" I) H- J& ?  e1 r$ _6 z/ }% K
  1663. - R' b0 _1 w  Y6 `" a
  1664. ; overload(replace) single byte functions by mbstring functions.) S$ y6 n( o3 J8 o) C
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ' b: H; w( n$ k' _  h0 T: i
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    5 D: S9 B1 T4 B, C. ^1 h; l
  1667. ; For example, 7 for overload everything.
    , e. I2 u" T8 |- L
  1668. ; 0: No overload  P; o0 N7 C. v9 Y
  1669. ; 1: Overload mail() function  }$ Z0 F6 ]3 V( Y  O. {! `! G
  1670. ; 2: Overload str*() functions4 A$ |4 W5 x/ t) Z2 [2 b3 L. ^
  1671. ; 4: Overload ereg*() functions
    8 @0 V. t$ s# A. ~) r
  1672. ; http://php.net/mbstring.func-overload. G5 m3 X, q0 @7 \6 r9 a, }
  1673. ;mbstring.func_overload = 00 `: M% k/ M! x8 i) [) |: i
  1674. / L. j: c3 U/ \. z+ ]
  1675. ; enable strict encoding detection.
    ( J$ a& o) p2 M4 G
  1676. ; Default: Off
    ) H7 u/ u" L4 T# H$ G
  1677. ;mbstring.strict_detection = On- }7 P/ A4 [1 _1 D+ B

  1678. : r: E) R6 u/ n) V
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()+ z+ H4 R' `0 h2 z4 a
  1680. ; is activated.6 Z9 }* g- r9 W& x- G5 B9 i3 K1 C! J
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)1 W$ a& F& }% \& |$ C* P
  1682. ;mbstring.http_output_conv_mimetype=
    : V! Q" k( p* O2 ?
  1683. * ~' {6 ]( {* ^4 {
  1684. [gd]
    ( {7 x! L" l" B( N4 m
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    ) `) W$ |2 O2 c& n3 \" Z
  1686. ; a gd image. The warning will then be displayed as notices
    + Q. g  p8 Y( V. O% b/ N
  1687. ; disabled by default) o3 }; P- ^8 X
  1688. ; http://php.net/gd.jpeg-ignore-warning
      o3 r5 X( v, p! A
  1689. ;gd.jpeg_ignore_warning = 0
    ( \- ]1 K- `6 p

  1690. 2 `( L$ M0 X& F3 o/ n
  1691. [exif]
    # U1 M% L/ E8 n6 g
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.' w! l" z3 \, V3 w4 a5 x
  1693. ; With mbstring support this will automatically be converted into the encoding
    , r' V, e# [. C' T" z2 U& F7 J
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    : l$ F4 ^% ?" z; {% L9 t% z
  1695. ; is used. For the decode settings you can distinguish between motorola and
    , l( X5 }6 y: k- Z8 P
  1696. ; intel byte order. A decode setting cannot be empty.- l; ]% H: c6 J. P6 z
  1697. ; http://php.net/exif.encode-unicode
    8 ?7 n6 {- L6 O
  1698. ;exif.encode_unicode = ISO-8859-15& J# W* Y8 q# ]; h& U

  1699. & r% ^1 ^6 J9 j; @+ p" B
  1700. ; http://php.net/exif.decode-unicode-motorola
    6 ^3 L8 W* F1 @6 u0 E
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    : N0 |. }, m7 H; C% R0 [
  1702. 8 l+ x& r5 [* h0 c- ^; U, I
  1703. ; http://php.net/exif.decode-unicode-intel
    ) c8 z$ ]+ u! [& z' Q
  1704. ;exif.decode_unicode_intel    = UCS-2LE7 p# |1 F$ d9 L% ~( D+ R

  1705. ) t  p2 g6 j1 n% i5 F
  1706. ; http://php.net/exif.encode-jis0 w3 Y6 O5 t/ Y1 N
  1707. ;exif.encode_jis =
    * ?4 D, ^( S0 a0 `

  1708. : a9 C8 e# ?: V. B
  1709. ; http://php.net/exif.decode-jis-motorola+ p( ?! v, n# D0 W( O
  1710. ;exif.decode_jis_motorola = JIS' U9 ?$ ^. f% M  ?* `2 X+ E, ^( s

  1711. ! d: k$ S7 R8 ~  }
  1712. ; http://php.net/exif.decode-jis-intel9 t7 {: u' j) \6 C# [# O' ]
  1713. ;exif.decode_jis_intel    = JIS
    : g$ h" [# V# {" c: y! C! E! c
  1714. 0 \8 G7 k  R' ]3 B* ^9 Y
  1715. [Tidy]3 a7 n, k# o4 z
  1716. ; The path to a default tidy configuration file to use when using tidy/ [/ C4 q4 e2 o3 R$ `: ~
  1717. ; http://php.net/tidy.default-config3 ^: n3 ^& L& @" W: A' a
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    9 N, `9 l) ?! t
  1719.   I  ~$ U" x1 c$ U# L
  1720. ; Should tidy clean and repair output automatically?
    # B, d1 U  ^9 ?: B# x+ k
  1721. ; WARNING: Do not use this option if you are generating non-html content) o3 j6 V1 B1 s3 |, j9 L% n+ X
  1722. ; such as dynamic images! z1 t$ w# b  r3 n
  1723. ; http://php.net/tidy.clean-output
    $ N0 U: v" T8 n2 T
  1724. tidy.clean_output = Off) y  c% E$ x% u. G# {7 y8 G) A$ ]
  1725. 7 b: F: c# H( C" Y- I4 i
  1726. [soap]' V0 w/ }2 M: p: ~, v
  1727. ; Enables or disables WSDL caching feature.
    / Q) i, ]: @1 b9 B
  1728. ; http://php.net/soap.wsdl-cache-enabled
      ]  r( g; l  I, P- m; z: U2 ?' Q6 o
  1729. soap.wsdl_cache_enabled=18 _2 [0 D+ k( a/ L9 P' k0 O
  1730. 2 b( h& a8 C# i5 f% k
  1731. ; Sets the directory name where SOAP extension will put cache files.
    , Z) D8 O7 e+ Z9 R' F
  1732. ; http://php.net/soap.wsdl-cache-dir
    . j2 X7 W, {& L0 I8 L* x# X- t
  1733. soap.wsdl_cache_dir="/tmp"+ d' _' n5 o/ {9 C0 f

  1734. , r, J6 X3 h2 k; }5 D! \8 S$ N' t
  1735. ; (time to live) Sets the number of second while cached file will be used* ]+ Y5 I* W0 J0 ^0 d$ c
  1736. ; instead of original one.( u0 v9 }  C+ F# T- E0 t8 P
  1737. ; http://php.net/soap.wsdl-cache-ttl
    ' i/ H$ G3 P+ v& l" a+ R
  1738. soap.wsdl_cache_ttl=86400
    2 N) c! H, n; L3 q; o! j1 T' S

  1739. % R$ O3 k( h% Z. E- S3 E7 G) x& M
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    3 R! p# r! g! L* r3 A" u
  1741. soap.wsdl_cache_limit = 5( [* A; I. V6 M" Q( m+ ^5 K

  1742. * o7 ?$ |4 h2 W8 ^
  1743. [sysvshm]
    7 Q0 e8 g0 j% R% `5 W7 z8 N. n
  1744. ; A default size of the shared memory segment
    : b2 g- f$ N8 Q, V+ B. z- \" a
  1745. ;sysvshm.init_mem = 100000 M: _, o4 @( Y- }% a
  1746. . t, o/ p2 `! y2 F  G
  1747. [ldap]
    / d1 i$ f; ^. E: v! _
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    9 i3 i# [$ u1 B' i+ ]# |
  1749. ldap.max_links = -1% y0 D% p- T1 X( e8 k) n0 x

  1750. ! U, O9 p; T0 Y5 F4 Y8 I
  1751. [mcrypt]
      z$ u% k1 n8 U
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    : N4 w) h6 ^: n1 m0 Y* l
  1753. 6 a- Z: _' T" V& e
  1754. ; Directory where to load mcrypt algorithms
    / \& f) L% a# k+ a
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)2 n! \/ g0 L6 l/ g; o  J
  1756. ;mcrypt.algorithms_dir=" _. ?4 n, Y5 z$ ^) C, N1 D

  1757. - q& t9 W0 i; J
  1758. ; Directory where to load mcrypt modes- x- u/ y# s* r+ V
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ! a' h6 p" \0 c; p) |+ {
  1760. ;mcrypt.modes_dir=
    : s0 d3 J1 m. X3 A4 t6 {
  1761. # `- d: Q0 u# R0 v; {
  1762. [dba]9 u% W+ ]4 e9 W, H5 S5 k- l
  1763. ;dba.default_handler=3 d6 y; f. I9 G4 ^6 [
  1764. 5 z$ b* m1 s0 x
  1765. [opcache]
    & ~2 V! i& l, a7 t. `1 x1 C* \
  1766. ; Determines if Zend OPCache is enabled
    5 @/ x8 p/ C7 X7 G! t; D9 A% B
  1767. ;opcache.enable=0
    4 c& d1 J2 s  ^6 o- o1 u
  1768. 4 N+ f5 |/ Z* f( e( E5 X4 N
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP9 F6 {4 c7 M9 |  t* K
  1770. ;opcache.enable_cli=0
    % h. y. {" E$ J* M
  1771. ( V' x5 ]: W9 K2 I2 `
  1772. ; The OPcache shared memory storage size.! B; M0 _3 ^- H7 l$ j$ N$ R
  1773. ;opcache.memory_consumption=648 j% ?, r+ x& C5 s

  1774. 1 N( s& X7 T; \$ `: W0 j
  1775. ; The amount of memory for interned strings in Mbytes.
    9 l5 m0 G% D- V0 u7 v
  1776. ;opcache.interned_strings_buffer=4
    ; t+ I0 f) K; N1 I5 b* T
  1777. 8 }- ?6 Z, g# p- l/ V; K, o
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    - ^% S! L: w! N1 Z8 V( n8 g
  1779. ; Only numbers between 200 and 1000000 are allowed.
    % h3 ?. P" g! P0 X/ L7 A3 V" E
  1780. ;opcache.max_accelerated_files=2000
    + J0 X0 p# w. F1 n& w2 e: O" k9 G, U- u
  1781. 3 w* n5 a6 z' y5 ?- n# q# ?
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ) z$ B# {2 J2 k9 g4 v  g9 G& _
  1783. ;opcache.max_wasted_percentage=5
    7 i# m% \6 |/ \. m  P5 Z$ L0 {
  1784. : ^  c! w: J4 p2 ?% g/ S" |# d  g
  1785. ; When this directive is enabled, the OPcache appends the current working
    ! T& s/ r: M$ I# Q! z( D& W
  1786. ; directory to the script key, thus eliminating possible collisions between
    / @; \3 a. Y+ e3 c5 m
  1787. ; files with the same name (basename). Disabling the directive improves
    : A5 {% k6 |: u( E! {9 c0 l: z
  1788. ; performance, but may break existing applications.
    $ L0 M- r# `: x  D  @. o
  1789. ;opcache.use_cwd=13 |6 ~) C9 a! P6 m) F; Z
  1790. 4 n  H. i: m$ w" U, p, x
  1791. ; When disabled, you must reset the OPcache manually or restart the
    5 O7 A$ }+ q- n% t1 H# P+ N
  1792. ; webserver for changes to the filesystem to take effect.
    ' \; `6 [' _( G; [* _; x- N
  1793. ;opcache.validate_timestamps=1
    , r( S8 L; \/ S# m7 m
  1794. - t, Y7 y* {6 A) g
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    5 w, }/ F% w3 U; k; H
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    % R6 m7 \4 e" t2 M+ d8 @9 [
  1797. ; once per request. "0" means always validate)' r. ]/ }" j' M2 H* W8 k( w+ K' ^
  1798. ;opcache.revalidate_freq=2
    6 `- H5 _, Z" C8 q- `7 U0 c* T$ m" N8 {
  1799. # w0 P1 j* F0 R( g
  1800. ; Enables or disables file search in include_path optimization
    4 m- U, Z/ B5 @. m/ Q& F
  1801. ;opcache.revalidate_path=0  F2 _3 g5 p; @; Q7 o

  1802. / u  E. E$ |* u6 v
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    + [9 ^( t/ A: T% F. X
  1804. ; size of the optimized code.2 [3 q+ f' z$ f3 _& r1 k  I
  1805. ;opcache.save_comments=1
    ; r6 C' k: b! S3 d
  1806. 0 q% ^. c0 k& w
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code6 y% H0 O1 X7 E! I
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    ! o+ m1 p! E' G7 I' S! ~$ O
  1809. ;opcache.fast_shutdown=01 c3 x% L' O3 l. q9 a) R) d9 y7 _

  1810.   }* M0 z( |& r0 @( d9 v
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    & a( S$ d8 P) O) S3 ]
  1812. ;opcache.enable_file_override=0
    4 m, j8 d6 v# K( m- j

  1813. ( E' o+ g$ a: B* X& s4 f
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache6 y4 j0 d* m6 i+ g2 d
  1815. ; passes$ `4 C, ^! T2 K7 n+ Z/ b9 ^+ p% R
  1816. ;opcache.optimization_level=0xffffffff
    2 t. ?1 k' [1 q; h# n0 P
  1817. 2 d' R" G: @4 n5 l; [
  1818. ;opcache.inherited_hack=1
    * W- ^9 H4 B5 {
  1819. ;opcache.dups_fix=0! H2 n1 o$ q8 Q. g2 ]
  1820. 8 J! G( L2 {$ I0 T
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    0 b2 y# a) S' h- v
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    9 C0 ^1 k; W6 A3 A9 f3 L
  1823. ; that should not be accelerated. The file format is to add each filename+ _/ O  P; h& {' A1 j( y
  1824. ; to a new line. The filename may be a full path or just a file prefix
    6 ?  h) \# p5 e  x
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    4 c' C1 M9 n  g. R3 l6 X
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    - y+ `$ ^8 x2 C1 ^7 ?
  1827. ;opcache.blacklist_filename=
    ) w& |- S9 _* R! Y9 a, x8 t
  1828. 0 y% d0 p+ H# c$ g: M0 |9 J
  1829. ; Allows exclusion of large files from being cached. By default all files
    - z& D& M& l9 x1 }" ~
  1830. ; are cached.
      l1 R( q. _( g0 r! ~, X: y* x0 M
  1831. ;opcache.max_file_size=07 C3 u+ D4 X7 m

  1832. " P' o: f! \8 i2 M, r
  1833. ; Check the cache checksum each N requests.$ q5 q6 N$ X- Q, @0 h) W3 r- Z
  1834. ; The default value of "0" means that the checks are disabled.
    2 n$ w5 g$ o& y/ A8 s
  1835. ;opcache.consistency_checks=0
    4 W  P* q3 e4 G( J5 \, ^+ `4 L# e4 I
  1836. 7 h0 S2 {) x" n" p, A" S
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    4 _/ E) ~6 d: u9 q. ~3 e
  1838. ; is not being accessed.
    4 T! b  B, r$ N! L3 m8 K7 D
  1839. ;opcache.force_restart_timeout=180
    0 d" }3 {5 A' d$ D& k

  1840. ! i, D2 B# [" q  L: W
  1841. ; OPcache error_log file name. Empty string assumes "stderr".& ?+ p# |: ]  S$ }  F
  1842. ;opcache.error_log=
    6 i- W1 a: l7 g) e0 F1 ^9 _6 ]
  1843. ; I7 ]% R/ ~$ p* N8 e* W
  1844. ; All OPcache errors go to the Web server log.
    + A  n  {; x1 s
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    0 y& U! N  k  C5 q* l
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    2 ^6 l  m6 t; Q1 g
  1847. ; debug messages (level 4).
    * ?+ Y/ j2 T  s7 f
  1848. ;opcache.log_verbosity_level=1) d1 e5 I! W7 c: Q4 [( S5 J3 s
  1849. 2 T5 Z9 [4 c5 R- I) u
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide./ Z2 U$ v, B& l7 M4 L& f
  1851. ;opcache.preferred_memory_model=& M6 K; u8 u  A5 b0 U2 z' j

  1852. : Y% r* c0 O( |# E: C' r, O
  1853. ; Protect the shared memory from unexpected writing during script execution.) E2 G: p* y! k  Y2 M# x
  1854. ; Useful for internal debugging only.; l0 L3 g; E% r5 C1 o
  1855. ;opcache.protect_memory=0
    : c" f& W. Q) ]
  1856. , N8 \; Q* s; f
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    & A# G$ G' L7 D
  1858. ; started from specified string. The default "" means no restriction
    5 \; q) ]$ O; W: t; E
  1859. ;opcache.restrict_api=: D2 }4 @6 N) x# Q" A# g' Q$ M4 E

  1860. 5 V) D* J, p! E5 [2 x
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    9 [! `9 h0 W- r
  1862. ; processes have to map shared memory into the same address space. This' d# \! M. `# |' _- D- Y2 s
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    / j1 e( t9 H( d, y- U1 w  l. H$ E( T- O
  1864. ; errors.0 S; h9 P9 @7 n$ i6 [
  1865. ;opcache.mmap_base=
    : u* e% L, U4 l! L" l/ e) D# H% o
  1866. 7 Q: T1 P, K9 O0 s, n* `; Q
  1867. ; Enables and sets the second level cache directory.& G* _$ ]1 V2 Q7 i, v
  1868. ; It should improve performance when SHM memory is full, at server restart or$ J" Z9 L( ~7 c3 ^1 b9 [
  1869. ; SHM reset. The default "" disables file based caching.
    3 E7 G8 P- G% M% r1 `  J2 u
  1870. ;opcache.file_cache=
    + d0 w8 _* j, X8 x

  1871. 4 R# d0 N% A* W; A1 ~
  1872. ; Enables or disables opcode caching in shared memory.
    $ g* V( V+ u3 A% `! Y6 u. w' [
  1873. ;opcache.file_cache_only=0+ a- ^* m, t7 p0 A: E
  1874. : e7 n2 g: B$ B9 p) _9 u
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    0 \! |* k; u% I4 i
  1876. ;opcache.file_cache_consistency_checks=12 p! M- \+ X! L

  1877. 9 d/ n* f" c9 V& C
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    & V& i: _! C$ k- p
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file! m$ y" d$ j* e
  1880. ; cache is required.7 Z$ l; z) y, ?: t: T( V
  1881. ;opcache.file_cache_fallback=1& X' j  ]) z9 i" ]5 S
  1882. * r, H( f! A+ _( L6 l3 e. A7 S
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    * L$ N& \4 L9 p- m$ y
  1884. ; This should improve performance, but requires appropriate OS configuration.
    # @' G7 p9 j! e, @- V8 g
  1885. ;opcache.huge_code_pages=1, c% l  d5 I; r9 P3 v: T

  1886. : }" U3 O2 ^' i: f
  1887. ; Validate cached file permissions.
    ) ^4 q& E4 s( V; W3 B! a" l. V
  1888. ; opcache.validate_permission=0
    ( G; u3 R7 p& n, a% r$ W3 H
  1889. $ A8 E) R6 f: U: R  D6 A7 {( L& e9 K
  1890. ; Prevent name collisions in chroot'ed environment.
      r2 j, \, x% l+ A) ~: o% B
  1891. ; opcache.validate_root=0
    $ h0 n: L1 E4 o2 J- W

  1892. % G. o/ m5 [- U7 V) y. ~9 ~
  1893. [curl]
    ! H- v1 M, P$ @, l) G
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an6 A1 p0 J* ?! w" ^3 @: o$ f5 k
  1895. ; absolute path.
    - w" |' s8 C% {" h* Q2 ]% _+ ^
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt# ^$ c/ H5 [- H; a3 c9 n3 |
  1897. % `, |* U6 \' X* J8 ?/ a
  1898. [openssl]2 {, g: J7 I5 b, b; e! f! c) {
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem0 o5 J/ z$ x. i0 Q5 F
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    # H! J* N+ m# `" R& c0 A$ m7 K7 [
  1901. ; not specify a value for this directive as PHP will attempt to use the
    $ Z6 E8 P0 }1 c& {
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    ( g) r' [+ ]$ C7 O& K
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context% B. t# e2 w$ I  Q- A2 \
  1904. ; option.
    + M  J( K# V' c' f( V6 p8 K# y- O3 e
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ) T" L5 Y0 t- Y
  1906. $ \6 d. a6 \: T: f: |+ C' E- I& ^" A
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the: G( y' r4 I/ \- g3 w0 t- M
  1908. ; directory pointed to by openssl.capath is searched for a suitable* O# i/ u2 v3 {
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    ! c- o$ ]( M1 a, F+ j* D& l
  1910. ; Most users should not specify a value for this directive as PHP will1 K5 d! s8 n+ }) Z/ u, s$ I
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ( _( }  K- O8 t* T, x$ N" @- S: k4 ?0 ^
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    3 R  y1 G/ h4 I
  1913. ; SSL stream context option.7 X: N8 i2 }: C! ~. Q1 V' h
  1914. ;openssl.capath=1 S5 F/ I0 t+ s6 n% v" j. l+ _) d
  1915. 1 b3 C0 \0 b% h% k
  1916. ; Local Variables:
    : F; {2 v1 b! a5 q3 W
  1917. ; tab-width: 4
    7 f- A. c2 Y& x! _  z) `
  1918. ; End:# ~* I0 U1 J% {
  1919. % \% N7 I1 b" A
  1920. ;eaccelerator( h6 ^+ y  W. {: Q

  1921. 2 G3 w( s3 }+ @5 L
  1922. ;ionCube- g* g+ z/ E0 J* ^  w

  1923. & Q. w! M4 h! b- a0 ~
  1924. ;opcache
    2 {2 [) B8 j; T( c# j. f
  1925. / M' y) d2 z2 e6 g! L+ e4 _+ w
  1926. [Zend ZendGuard Loader]) R1 i* y6 M. V, n2 n  U1 v
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    5 ~2 h$ b6 D% R" E8 \. m+ s3 p# ?( s6 d
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so1 ?- m) X( d" P/ ]/ E- Q
  1929. ;zend_loader.enable=1
    . }3 u6 z5 c! w
  1930. ;zend_loader.disable_licensing=04 g. e9 h1 ^! ]& h
  1931. ;zend_loader.obfuscation_level_support=3. @) e. D. x2 {" S  ~0 X. w
  1932. ;zend_loader.license_path=
    6 M2 E' G* W; B0 f& Z3 j* \6 C# R5 _
  1933. 3 Z5 Q6 M) F) A/ R$ n# ^: |
  1934. ;xcache, y. l$ c5 S$ J
  1935. % S. I0 y1 b0 r% k+ t' X; K
复制代码
$ f2 P4 Y) t1 m$ H% Y* G8 Y, `4 q
2 k! I# s3 F0 B" O+ i9 I! R
0 k' X8 k) k6 E6 J; V+ i. \
, _5 R2 y' ?9 |3 G6 A

- t  ~) O, c8 B8 F# Q
2 d; ]0 f3 f) M+ K5 b$ V2 M) J- t4 w) z9 f4 A
PHP5.6版本原始设置
- I7 }: |4 I: K" Q
! z/ R/ v7 y0 [# r' V0 R* S2 P( r8 z
  1. [PHP]1 [' g; e+ I9 j& r
  2.   x# N% ~! f, Y9 S5 V
  3. ;;;;;;;;;;;;;;;;;;;
    $ M( j% T# k9 Y2 j6 e- D
  4. ; About php.ini   ;( O2 a+ f* ]7 V
  5. ;;;;;;;;;;;;;;;;;;;
    , g" Q/ m( |5 m6 J( e$ {
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    + F4 W. F. }8 {5 y( y
  7. ; configuring many of the aspects of PHP's behavior.% `( l. X: G2 q6 U% z0 J$ C/ ]

  8. $ X" |# u; z0 A% U7 l. }
  9. ; PHP attempts to find and load this configuration from a number of locations.
    , D0 i* Y9 w7 E- @  b' ~
  10. ; The following is a summary of its search order:
    0 N$ I7 c4 R* ]& j1 k
  11. ; 1. SAPI module specific location.  [" j  a9 h9 J
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    # T9 Z' a, c4 k7 w- ?/ R$ \: Y
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    4 r/ ]& Y* w$ w
  14. ; 4. Current working directory (except CLI)
    & G, B5 t& d& x1 @3 r- Z
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    , u( F6 u. d  Z3 c
  16. ; (otherwise in Windows)$ K1 ^; c* U( P) @0 m
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    - J- ~, C: T6 L
  18. ; Windows directory (C:\windows or C:\winnt): q- N5 j+ ]+ A/ O) ~' c  M. K
  19. ; See the PHP docs for more specific information.
    1 d* c- G3 f2 p$ ~% _# E
  20. ; http://php.net/configuration.file
    ! l1 ?  w$ a6 P8 p  u& z! `

  21. 8 @0 `7 {4 g8 R' i+ s- J. U
  22. ; The syntax of the file is extremely simple.  Whitespace and lines* R: d+ ~+ A0 J) L: y/ j
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    1 t( P* {- B+ A- ^% @
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    + A% h0 e2 `) M% L3 x  ]
  25. ; they might mean something in the future.
    0 R0 Y* r0 S9 c

  26. 6 h9 Q* n- Q) h9 H7 f" b6 K
  27. ; Directives following the section heading [PATH=/www/mysite] only
    2 ]& X% i- V6 N+ B$ A2 u
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    5 V% c3 T# Q4 T0 K
  29. ; following the section heading [HOST=www.example.com] only apply to1 K- w8 u8 x  s1 C4 J, {% Y
  30. ; PHP files served from www.example.com.  Directives set in these
    1 A0 B& U1 n4 j7 t( p4 V
  31. ; special sections cannot be overridden by user-defined INI files or
    + N# V2 x; H* H& u. q- K' O6 p2 L3 h
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under: d5 K3 ^8 @" A* Y, F5 o5 K! `1 f$ n
  33. ; CGI/FastCGI.
    6 N( t* r  E& g" L
  34. ; http://php.net/ini.sections
    . {1 i6 n8 w% d# n' k! s3 V+ M* v
  35. 3 G; ^6 l" p6 p, {
  36. ; Directives are specified using the following syntax:
    1 W! t) p, U: @2 D; \7 }- h
  37. ; directive = value
    8 Z) i' w: z1 n3 Q  Z+ Y1 u2 m
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.) B. ?1 e, o; _8 e/ P
  39. ; Directives are variables used to configure PHP or PHP extensions.0 K+ ^( z! B; v; S
  40. ; There is no name validation.  If PHP can't find an expected
    5 G0 T$ W. [3 P
  41. ; directive because it is not set or is mistyped, a default value will be used.7 T* ^3 @: i4 q! p' o' B
  42. : M: b9 \# p6 A& {
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ; y! m* Z! a( v& v) p
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression+ f3 e5 j3 w4 F' o" O5 N' @2 s
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a" l* v5 A$ |( ~; v! j
  46. ; previously set variable or directive (e.g. ${foo})
    ' k! q6 s1 T# G

  47. % Q. Q" V- u# ]1 S+ Y9 r
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    6 W4 n4 ?3 X# @8 f
  49. ; |  bitwise OR8 o: B, e, D0 S: m7 p! y
  50. ; ^  bitwise XOR
    0 m' R7 V9 Y- r# u+ D
  51. ; &  bitwise AND
      q) ?# ^# C; t' y
  52. ; ~  bitwise NOT! Q2 _9 n% o# T2 ^% W# e! U
  53. ; !  boolean NOT
    5 Y6 k5 x! U7 T2 H3 q" F2 G

  54. 2 O* H" h0 T& V9 R7 k6 k% h
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ' n) o3 E9 D# }; ]/ S/ {
  56. ; They can be turned off using the values 0, Off, False or No.
    6 [  f3 P: q3 Q! u8 `" D1 S, [

  57. . g' P9 R* w! t" M9 \6 C
  58. ; An empty string can be denoted by simply not writing anything after the equal# r* L( ]( m; r2 V. L' E
  59. ; sign, or by using the None keyword:
    8 z+ r' J" {8 w- N. \
  60. ) W8 B6 I6 M6 ]1 w5 z* Y3 S' e
  61. ;  foo =         ; sets foo to an empty string# t: I) R, l& f3 h. M
  62. ;  foo = None    ; sets foo to an empty string
    % e: j6 m7 A5 F$ A- A
  63. ;  foo = "None"  ; sets foo to the string 'None'
    8 |$ y0 E% l/ E! H% w; Y

  64. 7 l) o8 N" L1 J- |
  65. ; If you use constants in your value, and these constants belong to a
    2 [! s( e+ L2 P1 K) e: }
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    3 t9 s, O6 A; G% U$ w9 A/ i
  67. ; you may only use these constants *after* the line that loads the extension.
    , X* p# ]" t+ B$ N, ~9 C: C$ E
  68. / j4 j& g  J7 A$ b9 M
  69. ;;;;;;;;;;;;;;;;;;;
    $ e3 d" Y7 h3 p) r3 w' S; C* R
  70. ; About this file ;
    1 a- \9 ~& }3 b/ w0 N0 H
  71. ;;;;;;;;;;;;;;;;;;;5 ]+ d) @( q8 t. z( ?' s" K
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    8 a2 m) s6 W8 H/ [2 J
  73. ; in production environments and one that is recommended to be used in
    8 n9 l) w6 }, e. e
  74. ; development environments.
    + c- K2 v: b. G$ ]' C
  75. ) T* O2 N* C( H: c3 s
  76. ; php.ini-production contains settings which hold security, performance and7 }# D8 D! C  |1 Q$ I: s6 u2 Z0 U5 E
  77. ; best practices at its core. But please be aware, these settings may break/ i5 v  R# {; d& l" M7 J
  78. ; compatibility with older or less security conscience applications. We& ~) i5 D; C. i8 F: p% d
  79. ; recommending using the production ini in production and testing environments.
    * |% D& X# G: p) o
  80. . k' f% X8 t$ [( F2 E
  81. ; php.ini-development is very similar to its production variant, except it is
    8 |: _6 k4 H9 ?) s7 h$ n; m+ `
  82. ; much more verbose when it comes to errors. We recommend using the
    / Y/ S  n! Y& l
  83. ; development version only in development environments, as errors shown to0 X2 Q# l  |2 V& q
  84. ; application users can inadvertently leak otherwise secure information.
      S: E2 M5 i, D7 ]

  85. ) S; Z- G( s7 l
  86. ; This is php.ini-production INI file.* @, K+ R# p5 n

  87. / v2 c2 V& i) u+ B. Z1 t7 ^
  88. ;;;;;;;;;;;;;;;;;;;
    4 Z; F8 e8 E* r- y1 H" K- n
  89. ; Quick Reference ;
    7 G+ Q. o. }+ c  |5 z/ h
  90. ;;;;;;;;;;;;;;;;;;;
    ' A& K% |& y, a8 t/ d
  91. ; The following are all the settings which are different in either the production
    ! j. ]4 ?9 s6 ]  y$ [
  92. ; or development versions of the INIs with respect to PHP's default behavior." i4 ^  C) A4 U2 K
  93. ; Please see the actual settings later in the document for more details as to why/ B& M$ w$ z9 `& \/ R+ J  Z- a& U# i
  94. ; we recommend these changes in PHP's behavior.
    + W% X/ l$ o% A. o, a% d. [

  95. * n# K/ H# M9 [
  96. ; display_errors
    ; n6 Y+ A) D0 I: `: o: i
  97. ;   Default Value: On
    ' l( O) o- z2 A# ^7 K. w
  98. ;   Development Value: On0 H6 ~5 g  @* ?. F
  99. ;   Production Value: Off# V) T! V9 e6 g8 W0 }4 a% q

  100. % }% g/ @) L0 b/ x
  101. ; display_startup_errors8 S3 ]0 U9 B( a& y; Q) D. h
  102. ;   Default Value: Off
    6 \# g: G; |7 ~; `( {
  103. ;   Development Value: On
    : d1 H; D( k# Z+ `  [+ b9 c
  104. ;   Production Value: Off
    . h5 h; y' R+ }

  105. 0 }4 p. A% X" G. f( {4 h
  106. ; error_reporting2 T7 a3 E7 @% X8 f1 l, K; ^$ n
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    9 g2 [/ H$ |; L- N
  108. ;   Development Value: E_ALL8 s" D& s0 S  O/ B
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    - x1 L, w; D$ K( ?
  110. . o5 l+ n' t: _0 U7 b7 t
  111. ; html_errors
    4 s0 g. s. [/ \' `" i# D3 G" C
  112. ;   Default Value: On
    / ?; b# X* ^% M% i8 H
  113. ;   Development Value: On" _- D! {4 Q+ b2 N5 X/ U: b9 d: y
  114. ;   Production value: On
    ! I% S# i2 `  e8 k2 E7 ^
  115. ' V" l/ H) q# J; Z( h
  116. ; log_errors
    ; E. Y0 I' J  M) m
  117. ;   Default Value: Off8 I. Y  r+ @& z" q6 G$ v2 j, L
  118. ;   Development Value: On/ w& T& k- P. q& G
  119. ;   Production Value: On
    $ h# m4 R5 C1 K( e7 A( s* u
  120. : _4 `# V4 Q* o$ u4 A
  121. ; max_input_time
    ( p5 T* O5 y. o7 }5 r
  122. ;   Default Value: -1 (Unlimited)
    ; V0 k4 W* [3 @  f/ r) b, H2 Z" W+ a
  123. ;   Development Value: 60 (60 seconds)
    # [3 T$ x- ?. I) R+ M0 U2 {
  124. ;   Production Value: 60 (60 seconds)
    # B9 `3 H1 c1 Y& P2 f/ b
  125. 2 f/ T( x7 z- S& ~( ]
  126. ; output_buffering* D. H4 }$ y' z2 V) ~3 J1 |' @! W
  127. ;   Default Value: Off8 u5 s7 `. Q5 n5 ?4 [- ?/ ]
  128. ;   Development Value: 4096
    : @4 h" ?( V5 l8 w5 e
  129. ;   Production Value: 4096
      H- [$ O& y& l

  130. 8 \' c. i. N2 l! t; q, Q1 F, K% w7 v" h
  131. ; register_argc_argv/ [5 e" D) N# e) p* \5 i- d$ [# l
  132. ;   Default Value: On" P9 q; S% F4 {( R; g8 r" a
  133. ;   Development Value: Off5 e& O% t% K2 R, u# `1 E8 R+ d
  134. ;   Production Value: Off
    + ~, b/ @/ L2 ~  G

  135. 6 c9 d; L( P% q/ A
  136. ; request_order/ H7 p* J6 a, M; S. L0 k
  137. ;   Default Value: None
    - h3 o* S3 _7 A( Z: v3 J
  138. ;   Development Value: "GP"
    ) t3 [( G% e3 K) t' l
  139. ;   Production Value: "GP"
    : g6 @% R8 T5 S; d

  140. 4 z/ u% y, U% i% S3 q
  141. ; session.gc_divisor
    0 g+ B  ^' Q1 t1 [" O, J
  142. ;   Default Value: 1000 f' P5 Z6 f$ ?* H6 @4 R( N
  143. ;   Development Value: 1000( U: Z% |$ A- x, f- E0 Z1 k& J
  144. ;   Production Value: 1000# c* V7 f2 W9 f# z, Z; m& Y, M

  145. ' u- J# ]& b- H# m
  146. ; session.hash_bits_per_character( A( E+ Q  @4 |. ]- R
  147. ;   Default Value: 4
    2 z/ q. c) _0 f$ ^5 v5 o( @
  148. ;   Development Value: 5- d$ i: x( [5 x3 ?7 I
  149. ;   Production Value: 5
    2 H) v4 x3 c5 ^2 b7 m6 e7 M

  150. 9 _# V* Q! j; q# w1 W+ m
  151. ; short_open_tag! t2 o2 h6 J; ~# T* b  Q
  152. ;   Default Value: On: l7 w4 z& }/ t7 K) L, ~
  153. ;   Development Value: Off
    3 c: _( Q0 L; [/ d# X4 y/ {' o
  154. ;   Production Value: Off
    : ]/ X- b) V" W# I2 C% ?/ w

  155. * A& L8 e+ \  K4 ~+ p. a& n$ u
  156. ; track_errors* e/ y2 k/ i$ [- [
  157. ;   Default Value: Off! X' e, P1 f" C: M7 I7 m/ y: k3 D: d
  158. ;   Development Value: On
    7 _3 M+ n3 ]9 ]- `
  159. ;   Production Value: Off% v# N- I0 [6 _$ d1 q7 ]2 |! f

  160. ) ~$ ]9 g9 V) x: c' c5 Z# z
  161. ; url_rewriter.tags# ^, O, w6 C% g6 l7 A# t
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="/ k2 _6 H4 o! r0 i
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    , U% z5 w2 k' b; T& U
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& N; L$ @) x" f3 j
  165. 3 [% @- M4 G0 }" W9 p4 {9 o
  166. ; variables_order
    - j# S. J* S; E8 v9 J9 @
  167. ;   Default Value: "EGPCS", d/ I0 C1 W% R' L' I8 y
  168. ;   Development Value: "GPCS"
    5 e. Z8 P! B% r3 W
  169. ;   Production Value: "GPCS"
    + x7 D& Q+ E3 O; o$ y! {
  170. & e, j( C5 G8 q) J8 f  ?
  171. ;;;;;;;;;;;;;;;;;;;;
    ( U5 C% F! b" C6 O& E7 F" F3 [
  172. ; php.ini Options  ;
    + Q  W. E$ j0 Q( j# i
  173. ;;;;;;;;;;;;;;;;;;;;0 o0 s" @+ ?: q- Q5 P. R) O& S
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"4 V: C. m2 d: J' K8 f
  175. ;user_ini.filename = ".user.ini"4 m* h0 U4 Q4 Z

  176.   x0 \* t1 z1 ?/ I
  177. ; To disable this feature set this option to empty value
    0 B: ]! A6 {$ R( B# o
  178. ;user_ini.filename =5 ^; ]: j+ w: P- ^" j- C& n. f
  179. 0 G" e7 b+ n5 V
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)4 W+ k8 Z) N8 \9 y
  181. ;user_ini.cache_ttl = 300
    + K# N! m/ H  r) K. K5 G  O9 ]+ l. \
  182. ! H+ `# H; K# q9 H2 s6 j" c
  183. ;;;;;;;;;;;;;;;;;;;;
    : z5 [- \* f9 }4 A$ |1 a! Q" U
  184. ; Language Options ;+ g2 a; G3 j- R; R, ?& K
  185. ;;;;;;;;;;;;;;;;;;;;
    ) k5 C- o4 N3 W' g  t7 J9 u

  186. ; j: G5 Z, h2 k8 M/ n# ^6 g6 ?0 o; u
  187. ; Enable the PHP scripting language engine under Apache.
    ' X% e. V1 ]$ ]& _2 m8 R
  188. ; http://php.net/engine
    - u# G' d% n  K2 G  X) q
  189. engine = On9 h& t; O9 r0 ~: X( l6 I

  190. ) P! \3 y1 @9 h% a- Z
  191. ; This directive determines whether or not PHP will recognize code between
    " a' }- ]- L6 ]9 J" o3 |3 B+ d
  192. ; <? and ?> tags as PHP source which should be processed as such. It is5 ^, a  {9 A' u! |1 g
  193. ; generally recommended that <?php and ?> should be used and that this feature8 A8 K# m. H  c2 q- _$ H
  194. ; should be disabled, as enabling it may result in issues when generating XML+ E" y* c9 e6 _. f0 i
  195. ; documents, however this remains supported for backward compatibility reasons.
    4 t8 G( k8 ^, J
  196. ; Note that this directive does not control the <?= shorthand tag, which can be4 T9 e: {$ u% _5 E2 I9 F
  197. ; used regardless of this directive.
    ' ]( \$ g' Z3 y; D) o4 `# m: D
  198. ; Default Value: On2 R3 a/ P% |$ s9 p5 ]
  199. ; Development Value: Off
    . q  W" Z' v. {+ Q! g5 |3 D0 c
  200. ; Production Value: Off
    : r' [! o" J: C  k' C
  201. ; http://php.net/short-open-tag
    ; j) W8 p  e. d: S, p/ ^( s
  202. short_open_tag = On; {% `) g! U+ R9 ^* z" V* t

  203. 3 b, C! I' E9 q+ w0 J
  204. ; Allow ASP-style <% %> tags.% O2 B, t5 j. @) r5 K2 y
  205. ; http://php.net/asp-tags# \) z2 W( H8 {$ r! i& X; K! q; i
  206. asp_tags = Off1 ~* b* @5 F- y! V7 t; k! w
  207. + P- e1 I) Y, O/ x+ T+ Y/ z
  208. ; The number of significant digits displayed in floating point numbers.! k" Q9 \1 \1 k" O) Y
  209. ; http://php.net/precision
    * C  G5 F3 \2 y) X1 g, |- t8 U# n) W
  210. precision = 140 H1 _9 E/ V! r% }. @

  211. 8 K5 C, B" c  ?; d
  212. ; Output buffering is a mechanism for controlling how much output data
    ! E1 U4 ], \9 l. C6 q4 ?( |& Y; {( |
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    9 k0 p0 s  Q# [! Z! ]% ?
  214. ; data to the client. If your application's output exceeds this setting, PHP% H. g- D  u  G) q  j
  215. ; will send that data in chunks of roughly the size you specify.
    " d, r' _2 b! [! {$ w
  216. ; Turning on this setting and managing its maximum buffer size can yield some0 D9 q/ ~. ^$ O" H; E
  217. ; interesting side-effects depending on your application and web server.% f$ v9 W) Z: N- w+ R# B/ G5 l
  218. ; You may be able to send headers and cookies after you've already sent output
    7 ~& u3 f! c+ ^% o$ F
  219. ; through print or echo. You also may see performance benefits if your server is
    * m; u5 A7 M3 h% |0 o
  220. ; emitting less packets due to buffered output versus PHP streaming the output/ ^. k4 M/ t4 |) @- q9 A
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance; h. f, D; J) g$ u
  222. ; reasons.
    - T- f3 |( i/ {! t3 U* s
  223. ; Note: Output buffering can also be controlled via Output Buffering Control( V3 ^0 j7 P+ U  W& @+ X
  224. ;   functions.4 m& |. z/ w7 ?) a8 f
  225. ; Possible Values:$ U: E% J3 T& R% F
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)' C: q1 {* j7 v) s7 H- [# q- f
  227. ;   Off = Disabled# o& N( L8 R! s
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.0 U3 \  ~( ?) W. P# r  G* Q6 E
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI9 i0 a9 s. `6 L0 x; {! |' M# N
  230. ; Default Value: Off
    1 g, S9 H% o3 m" W, R. ^5 {
  231. ; Development Value: 4096
    7 s) N2 e! C1 e2 A& w/ L
  232. ; Production Value: 4096
    8 ?4 D/ j$ u" e, S- `2 `& m6 {
  233. ; http://php.net/output-buffering- K' L% u. ^8 x
  234. output_buffering = 4096
      g( ^( w% s1 K' b+ @4 ?! e

  235. . [- r% a$ _) Q, c+ m  l' y& X
  236. ; You can redirect all of the output of your scripts to a function.  For+ C% [2 x0 `2 D( z/ a( r1 @$ ]* `
  237. ; example, if you set output_handler to "mb_output_handler", character$ e* d# f' d! i( X9 F) r  a  c
  238. ; encoding will be transparently converted to the specified encoding.
    : ?& c7 j' [" O7 c. Q% u+ D
  239. ; Setting any output handler automatically turns on output buffering.
    ; d7 R( \; k7 k5 m+ c$ G- N
  240. ; Note: People who wrote portable scripts should not depend on this ini; R$ G  Y4 c3 h- q  K
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    3 t& ~5 ]* P) [2 X: w2 s9 |
  242. ;   Using this ini directive may cause problems unless you know what script$ \8 m( o1 l5 Q, t
  243. ;   is doing.2 ~( T* O1 w3 p5 k
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"" G3 @; X5 ^9 j, {8 A& \+ b  p) N, S
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".. r7 K. J0 W% J  U, X" g
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    & n; y  W2 r- k* }/ I3 O  ?
  247. ;   Instead you must use zlib.output_handler.
    & h4 {9 X9 i8 K% C7 C, P0 d8 q
  248. ; http://php.net/output-handler
    # e9 {" [- \' k2 U' g
  249. ;output_handler =4 [7 b: k5 [, D( i4 P! ~- D  h/ P
  250. 5 z( [8 y& [" P* v
  251. ; Transparent output compression using the zlib library
    9 J  Q0 M: [' `! L) }0 N  l
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    * c5 |& E7 r+ X, Z( N- ]- J0 {1 @
  253. ; to be used for compression (default is 4KB)$ C; ?' t, ]+ `' ?8 a8 O) V% k
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    , Y* d7 h% M3 `
  255. ;   outputs chunks that are few hundreds bytes each as a result of1 ]9 \, e- o$ H9 x) A
  256. ;   compression. If you prefer a larger chunk size for better
    1 D  u6 Y; }' i( z% X9 Y/ G  U
  257. ;   performance, enable output_buffering in addition.( N& q8 w- e) K. Z9 P7 h
  258. ; Note: You need to use zlib.output_handler instead of the standard% g8 ^+ q* L1 M" d7 s
  259. ;   output_handler, or otherwise the output will be corrupted.' e* j+ j1 Z2 a- p9 W8 [7 v7 g
  260. ; http://php.net/zlib.output-compression
    1 g, H0 u) \+ {# o: N+ e# c0 Y
  261. zlib.output_compression = Off/ Q6 x! ^, s& ]( J
  262. ! M( D; i9 [- d7 ~0 n& B
  263. ; http://php.net/zlib.output-compression-level6 Z& ?9 }7 C- ^2 r- v' d
  264. ;zlib.output_compression_level = -1' e% r' |7 b$ u$ X; ^5 @

  265. ! g7 ?" L, x, X' U+ N( v
  266. ; You cannot specify additional output handlers if zlib.output_compression
    ) H7 e4 r/ d/ o6 q4 f% T5 y
  267. ; is activated here. This setting does the same as output_handler but in
    % J( D9 Y8 V" ^& F
  268. ; a different order.
    $ K1 [; m% A8 v) C
  269. ; http://php.net/zlib.output-handler
    7 V$ f5 d5 }, D3 U% j$ Y
  270. ;zlib.output_handler =
    ( n, b6 |2 P) G
  271. 8 \3 H, E: M$ B% {+ v! e) {4 k; `
  272. ; Implicit flush tells PHP to tell the output layer to flush itself% ~, J: o/ Z4 Y2 u' x: i
  273. ; automatically after every output block.  This is equivalent to calling the9 y! @' ^& x' h6 L
  274. ; PHP function flush() after each and every call to print() or echo() and each' A3 A, {& S$ X* O& ?7 Y
  275. ; and every HTML block.  Turning this option on has serious performance8 {; f2 b" Z( J" M
  276. ; implications and is generally recommended for debugging purposes only.$ B( K: V, D/ @8 p5 z% M, r: ^
  277. ; http://php.net/implicit-flush  g! |+ |( q; J( V& O, }+ B
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    $ Y- V! e: I& I1 ]
  279. implicit_flush = Off
    ) Z# l, `) A9 l/ S1 x

  280. 7 n, r7 U6 ?8 X) V" T$ [& g
  281. ; The unserialize callback function will be called (with the undefined class'
    + D6 ?* i" W, X- C9 S, v
  282. ; name as parameter), if the unserializer finds an undefined class" \' ?& x3 R8 p7 _9 X
  283. ; which should be instantiated. A warning appears if the specified function is; E- y  _+ f# l  x& ~; u" f
  284. ; not defined, or if the function doesn't include/implement the missing class.' o& o& K( J4 E; g/ \/ ?6 |
  285. ; So only set this entry, if you really want to implement such a
    8 E: U. O9 n5 [1 g7 c) q
  286. ; callback-function.
    5 O* `8 ^% R2 r! Z
  287. unserialize_callback_func =) _; A& @6 k: S2 Y6 x6 ^

  288. 5 |* ~3 `' o6 }2 g, g
  289. ; When floats & doubles are serialized store serialize_precision significant
    / n$ H  W+ r9 N" `
  290. ; digits after the floating point. The default value ensures that when floats- ]# [8 e5 B: B; C3 G( b& Y! ^, c4 v
  291. ; are decoded with unserialize, the data will remain the same.* P+ }& X8 T: H
  292. serialize_precision = 17" z" i, o- O: K9 D
  293. 5 t/ e/ l2 W$ F6 U$ ]- N
  294. ; open_basedir, if set, limits all file operations to the defined directory9 E: h2 X. v" y# ~+ ], a7 K. J
  295. ; and below.  This directive makes most sense if used in a per-directory
    0 R3 W  o9 i$ }- Q5 {: O2 i% D5 t
  296. ; or per-virtualhost web server configuration file.6 C! H) `' J! h0 e
  297. ; http://php.net/open-basedir6 y& J+ b4 O( J5 c' p: F
  298. ;open_basedir =
    3 Y4 x' d# l9 j8 k) Y& Z
  299. ' e8 h% n2 y$ j1 \/ a+ D# `
  300. ; This directive allows you to disable certain functions for security reasons.) U8 F+ L6 p% y; _6 ]
  301. ; It receives a comma-delimited list of function names.! A& H; F7 X4 `' a# r" t6 r5 y
  302. ; http://php.net/disable-functions% W& ^5 J; K3 @$ J9 f( q* o- J
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    1 T2 b# g5 i" ?) A; {/ v9 c
  304. 2 ~$ j. x0 j* E- U  P& O
  305. ; This directive allows you to disable certain classes for security reasons.
    ) [, N% u& L0 V2 }; j) I6 d7 n
  306. ; It receives a comma-delimited list of class names.
    8 h) c1 [0 j, T0 r% X8 q
  307. ; http://php.net/disable-classes
      K8 s5 }1 t6 U' U, A; o  P
  308. disable_classes =- Q5 }1 R: W/ N* V1 ~5 i3 z
  309. # \+ t  ]# t1 o' ^  w6 [' P
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ) b& \1 i% p4 Z  U3 ?
  311. ; <span style="color: ???????"> would work.8 N. h6 [0 |, F( U8 z
  312. ; http://php.net/syntax-highlighting6 y9 ~" _# k! ~8 R6 g
  313. ;highlight.string  = #DD0000
    + Q( X4 ], ^! c0 F+ q7 `6 t
  314. ;highlight.comment = #FF9900. _0 O' e1 E! ~8 X# x9 a
  315. ;highlight.keyword = #0077001 F5 O4 V4 M+ f* J. Q
  316. ;highlight.default = #0000BB+ _! ~3 u! u0 W3 t6 M, R
  317. ;highlight.html    = #000000
    ( q" r5 t$ ^1 f& Y
  318. % Z% F3 n& c: e, m- H
  319. ; If enabled, the request will be allowed to complete even if the user aborts) ]0 f$ t% ~+ Y/ X; Y# M
  320. ; the request. Consider enabling it if executing long requests, which may end up
    / p2 V( Q) Q; a
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    . a8 f, k1 c; O9 E! `7 u- G
  322. ; is to disable this feature.& H* G- d( R$ V! W' t
  323. ; http://php.net/ignore-user-abort
    * H! R. n2 W+ l: b' U# b, l
  324. ;ignore_user_abort = On( k0 I4 z( e) }- z# P/ e1 z" N
  325. - ~$ I" {( ~1 F- N. F% G
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    + k! |" `$ l4 Q  l
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    3 M) ]) ~. \4 Z+ v: _" H
  328. ; the file operations performed.
    ' b6 \7 D) ^0 b4 u4 t
  329. ; http://php.net/realpath-cache-size
    ( u2 E7 X/ I+ B& {' G
  330. ;realpath_cache_size = 16k8 t6 ^2 \% ^% c" P# U

  331. ( E1 }" c' @# e5 r. Q" O6 b- z& d
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    % [& B  C) k1 d0 B. d
  333. ; file or directory. For systems with rarely changing files, consider increasing this3 z6 N. m% `# N6 s: t
  334. ; value.3 U( p& u% H; Z! D7 G7 b# `
  335. ; http://php.net/realpath-cache-ttl9 _5 }  O7 g! ]& j4 t1 A
  336. ;realpath_cache_ttl = 120- p, F8 c" {: n  Q
  337. ) u4 O1 G- q9 N/ O" x1 P
  338. ; Enables or disables the circular reference collector.0 h; d) D  `) z
  339. ; http://php.net/zend.enable-gc! R4 |1 v* T! n; S
  340. zend.enable_gc = On
    / U+ P; Y; G% ^8 {
  341. / _% O3 y" p- g" a; ?& s: W; f  W
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    7 \( p  A$ h6 r: k+ `
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such5 p* [( n3 Z+ x
  344. ; encodings.  To use this feature, mbstring extension must be enabled.; H; z+ @9 N4 C# F
  345. ; Default: Off" A& a. c& v- ]) M& [9 f
  346. ;zend.multibyte = Off; }( `# h; X: g/ M: }; f

  347. & A. h0 e! o. |7 ?: d& S5 H1 Q
  348. ; Allows to set the default encoding for the scripts.  This value will be used) P4 Z4 u8 |5 m$ H) A  z  t
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    , v# r3 a+ x- u
  350. ; Only affects if zend.multibyte is set.
    5 F& y$ h3 n% A/ n, }% ?
  351. ; Default: ""
    / m- z) @1 i0 p0 i
  352. ;zend.script_encoding =
    " x! C% o3 _5 K5 r5 y' t$ T: v
  353. ; [3 R: X. @; Y
  354. ;;;;;;;;;;;;;;;;;  q2 y: L' [; M6 M% l
  355. ; Miscellaneous ;
    ) {( U7 A& w% u( i' S8 r) H
  356. ;;;;;;;;;;;;;;;;;3 u4 S. T" {$ s" D- O; M
  357. ; g0 T2 O0 D) {4 ]4 j: F
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    ' b+ v' M) u0 \* {
  359. ; (e.g. by adding its signature to the Web server header).  It is no security+ }* _9 E+ l2 B* H9 u, C! Q1 a% q
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    2 y& h! \; ^* w3 f6 \
  361. ; on your server or not.
    5 |1 P/ B0 Z, u/ B" ]# e& Y+ F
  362. ; http://php.net/expose-php
    8 x# C4 u3 i5 @/ p
  363. expose_php = On6 U1 t6 ?0 n5 E+ s6 T

  364. ' V8 C4 u- ]$ P  _# [$ Y
  365. ;;;;;;;;;;;;;;;;;;;! v7 V2 g0 T+ P" E! y
  366. ; Resource Limits ;9 F- f6 l) E. u9 B  ~
  367. ;;;;;;;;;;;;;;;;;;;
    - ?1 g7 B" q; W) {3 M! v) [
  368. ( N' j6 W6 {1 n& m0 K
  369. ; Maximum execution time of each script, in seconds9 b/ ~, I1 S- N+ m
  370. ; http://php.net/max-execution-time
    , W" R! W$ \$ u; J9 L
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    $ F/ P  V# F; d3 f% v- n  ]
  372. max_execution_time = 300
    $ E, v0 T' D& A  P4 O. h
  373. 1 U! n: I. s8 m) [& o
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    6 o8 A; k) P# M0 K0 y4 u0 J. D7 d
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    9 x( h/ U$ A( H- r  V/ c% o  W" p# {
  376. ; long running scripts.
    2 P- o- y5 s: \0 K$ W/ r
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    3 ]4 o* b6 F4 `1 E: @
  378. ; Default Value: -1 (Unlimited)
    % H9 F9 j' J) d  {
  379. ; Development Value: 60 (60 seconds)! L2 ~4 Z( f* k4 ]  Z) n9 O
  380. ; Production Value: 60 (60 seconds)
    3 Q/ d2 N9 H8 B+ _; [8 I
  381. ; http://php.net/max-input-time9 r1 p8 Q7 p/ p) H% V: m3 V1 A
  382. max_input_time = 60
    , @3 R* T. e: N3 I! R

  383. 4 g' i( J$ Y9 u" d7 \# s1 |
  384. ; Maximum input variable nesting level: c3 I) Z( T; t6 z5 R. r6 D) [) M
  385. ; http://php.net/max-input-nesting-level: L" T2 S" ^+ \! K/ X5 v5 C
  386. ;max_input_nesting_level = 640 L: n* I' L4 r/ \& \

  387. # ?6 w# o  K- ^% _( x
  388. ; How many GET/POST/COOKIE input variables may be accepted' [# C( [2 H" h& q/ S
  389. ; max_input_vars = 1000
    * Y3 L1 v  I% b

  390.   G6 [9 W: L8 j( D+ M$ l/ V, @
  391. ; Maximum amount of memory a script may consume (128MB)4 \- V4 q5 [5 K8 V- w" w: H+ D
  392. ; http://php.net/memory-limit
    9 U4 _+ {% q8 G) m
  393. memory_limit = 128M3 G$ c- K6 _. y

  394. - }/ X; d& z" s+ A; L7 m
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;: r" y6 J% c/ l! q
  396. ; Error handling and logging ;! ?6 A3 v- B( [2 \4 y3 m4 c4 a) Q
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;$ U- m$ V, d8 o5 k' }
  398. $ W4 O6 h5 W: f- S/ D9 b) E$ l6 u) L
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    5 Q* M9 a7 [- J9 W
  400. ; it to take action for. The recommended way of setting values for this
    ( i- b1 v# l5 A  F3 M9 Y& Y3 O5 U
  401. ; directive is through the use of the error level constants and bitwise
    , u3 S: S+ e; T* r" Y# r/ H9 o& K
  402. ; operators. The error level constants are below here for convenience as well as
    % U) U( ]; P5 U" x
  403. ; some common settings and their meanings.
    % U$ G( u+ G$ ?- ?. r
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    , ^$ L# S+ r5 c$ T$ h
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and0 H7 V, o  G4 l) K
  406. ; recommended coding standards in PHP. For performance reasons, this is the( _3 l' W% I$ A
  407. ; recommend error reporting setting. Your production server shouldn't be wasting: c! y& j9 x7 {1 |( H1 O. G
  408. ; resources complaining about best practices and coding standards. That's what
    7 J" U% `1 |% l, U& g
  409. ; development servers and development settings are for.9 q9 H( Q/ l7 A
  410. ; Note: The php.ini-development file has this setting as E_ALL. This+ S1 M1 I" L2 |. H* S8 y
  411. ; means it pretty much reports everything which is exactly what you want during& Z# e/ G; H! M* U1 E9 b% Y$ I
  412. ; development and early testing.
    + R: f- x+ f4 Q3 q$ G
  413. ;
    4 p4 V2 v. U# Z) Z6 I$ K
  414. ; Error Level Constants:
    / _5 Y; V, G& `- c; ?! e$ ]
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    2 z5 Q/ W  D4 _2 e! g2 O
  416. ; E_ERROR           - fatal run-time errors/ y8 R% M9 P6 |; z( C- }: |! V9 ?
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors% e4 m( H( I9 r8 O0 m
  418. ; E_WARNING         - run-time warnings (non-fatal errors)8 M: k: |$ u1 ?9 U7 e5 Z( r
  419. ; E_PARSE           - compile-time parse errors
    6 E4 K7 M4 ^- [! ]. U' x
  420. ; E_NOTICE          - run-time notices (these are warnings which often result" t$ m) K7 {, _+ v; |
  421. ;                     from a bug in your code, but it's possible that it was
    & N7 O; o8 c4 n( s" P
  422. ;                     intentional (e.g., using an uninitialized variable and
    # J! ?% i/ ?! ]
  423. ;                     relying on the fact it is automatically initialized to an
    ( I5 s' `" `: U9 x, \3 _; \
  424. ;                     empty string)
    / y% m2 U4 p' [8 g
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    2 p' M* }7 M6 k
  426. ;                     to your code which will ensure the best interoperability" E3 W( l4 R. l; v% @" Q1 q
  427. ;                     and forward compatibility of your code2 W  V+ X2 Q& B6 z0 x3 A5 z
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    6 q+ d" k. h% H, M' y
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ! W4 Q  e! o7 u2 [: w5 Y8 j
  430. ;                     initial startup
    $ A' h3 K+ @, _* ]9 ~& p4 |, A
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
      R2 m+ K6 [( S0 m! {' M
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors). G6 Q* v* F' {& U8 J
  433. ; E_USER_ERROR      - user-generated error message8 X1 E" b5 P5 {) o% U
  434. ; E_USER_WARNING    - user-generated warning message) f+ Y7 O3 m$ z$ I1 W
  435. ; E_USER_NOTICE     - user-generated notice message* f+ ]7 s4 r+ [5 u/ l
  436. ; E_DEPRECATED      - warn about code that will not work in future versions% \) n0 r+ N* X! g* `
  437. ;                     of PHP8 I7 ?7 a, C1 Z& u# X; ^
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    & |5 b- E$ Y2 y: }
  439. ;
    4 u9 H7 E* x  N) H4 H
  440. ; Common Values:1 E. i6 }, d. I) q& G
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    2 [+ D* s2 ]& F* S- |. W4 `1 L
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    : O9 o) b; l- f7 {5 N
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)) ?1 k0 O7 a6 c. I. M) ]* |
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors): `5 B/ S1 ^1 ^' a- U
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED- w% q0 L  M' E7 y  R5 R5 W
  446. ; Development Value: E_ALL. W& l8 N2 b  L1 V
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT2 f7 O' w8 f+ j
  448. ; http://php.net/error-reporting; S* p, a; e( B9 G, k
  449. error_reporting = E_ALL & ~E_NOTICE2 c. T1 H" t/ x+ J
  450. ) J% }' j5 ~0 ?, G
  451. ; This directive controls whether or not and where PHP will output errors,
    4 v. q+ U8 V5 d/ F
  452. ; notices and warnings too. Error output is very useful during development, but
    + y: \2 }& {) U
  453. ; it could be very dangerous in production environments. Depending on the code# f3 k  d. r; H( V/ E+ E. J
  454. ; which is triggering the error, sensitive information could potentially leak. b5 z! k1 e; g) T0 }
  455. ; out of your application such as database usernames and passwords or worse.
    7 p6 h, n, d1 q4 @, r
  456. ; For production environments, we recommend logging errors rather than8 |" U1 j- ], \1 h6 h3 S
  457. ; sending them to STDOUT.
    ) }; w% C5 `: A% B  f& [1 q
  458. ; Possible Values:1 p5 v  A8 ]7 V
  459. ;   Off = Do not display any errors# I; L1 B: k$ W) d; [* S
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!). `9 Y+ F6 e$ i
  461. ;   On or stdout = Display errors to STDOUT
    6 ?3 ^5 j( F  }5 [
  462. ; Default Value: On- ^, `, V! I! b7 ?3 [3 i
  463. ; Development Value: On
      e0 W& Z  r( Z' {
  464. ; Production Value: Off
    , x3 N8 V8 q6 d8 O/ ?2 J3 P/ G
  465. ; http://php.net/display-errors1 j# Q% v! ]3 X6 t
  466. display_errors = On
    / t9 N! W6 \2 A3 _; f

  467. 7 J" ^# S/ h3 e6 i
  468. ; The display of errors which occur during PHP's startup sequence are handled. z" j; j  d, `
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    " [' k) L# @  p; _# h. [6 t2 c- p
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    * Y3 J  I5 I9 ~$ m/ s
  471. ; debugging configuration problems. We strongly recommend you# F0 L( N- j  }8 \$ q5 O
  472. ; set this to 'off' for production servers.. o; G, X# s8 X
  473. ; Default Value: Off# [$ E* n8 v/ X" `
  474. ; Development Value: On
    ! K, F0 H+ f4 W- w4 W! p9 f& M' d
  475. ; Production Value: Off/ c: X. }: c* G( y
  476. ; http://php.net/display-startup-errors
      e- a9 y1 H) C' G( n7 w
  477. display_startup_errors = Off) {3 ]' m( {* g

  478. 0 C# B% J9 v/ V
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    0 S; ^5 e/ ]6 X7 e3 b. K$ ~2 H
  480. ; server-specific log, STDERR, or a location specified by the error_log
    . Y2 l, v6 d: K; h" M) l) h- J
  481. ; directive found below. While errors should not be displayed on productions, c' s, g2 d, F
  482. ; servers they should still be monitored and logging is a great way to do that.9 N+ k+ Y9 m: b3 b; @  h
  483. ; Default Value: Off, a5 b5 U) z5 t9 v0 V7 z
  484. ; Development Value: On
    % F9 ?: w$ B, o  K
  485. ; Production Value: On4 A. A1 Q! V( t- W( z
  486. ; http://php.net/log-errors
    ! ~* x# {2 q$ m0 P1 X0 g7 j
  487. log_errors = On
    ! L  v7 c* ~; {, L. e) \' b
  488. ( T1 C$ d' O0 ?, Q9 _! {/ G' C
  489. ; Set maximum length of log_errors. In error_log information about the source is
    + m) p' g0 c% N1 @, Q* w
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    2 [+ S) X8 u1 @' m$ T; p
  491. ; http://php.net/log-errors-max-len
    $ @. q: D! `' X
  492. log_errors_max_len = 10247 i7 Z$ ]8 X* B0 E% `
  493. + Q' ~: a  E" `( s6 x
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    " i3 z  a" K$ d& L4 a
  495. ; line unless ignore_repeated_source is set true.% N: x: L% S. D) t
  496. ; http://php.net/ignore-repeated-errors" m* _" J# p  X, s
  497. ignore_repeated_errors = Off
    $ d+ q# w4 x4 |5 y+ O, g# |7 ~+ k

  498. % v4 K5 {% P8 r6 o7 _
  499. ; Ignore source of message when ignoring repeated messages. When this setting* p8 q/ _0 ?" @3 A
  500. ; is On you will not log errors with repeated messages from different files or
    / U+ a7 Q& w& s) r$ ?! v+ R- B0 L
  501. ; source lines.  ^- w9 b. w- O+ ]  {6 h
  502. ; http://php.net/ignore-repeated-source
    + n# B1 e7 W! U6 B0 D& g) x, L" f
  503. ignore_repeated_source = Off
    9 A1 U% M( q0 _. E, z

  504. : z9 F8 e+ r! j: m7 P
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    - _9 N  M$ }  s2 V
  506. ; stdout or in the log). This has only effect in a debug compile, and if6 t" U; U4 J4 }, r. B
  507. ; error reporting includes E_WARNING in the allowed list
    ( ^* n! u4 E* |3 N
  508. ; http://php.net/report-memleaks
    % F4 Z6 @# a; V* G
  509. report_memleaks = On' h/ a' m' k% m, z& |. |  I
  510. ) J  T+ P. U! \, h% v; o+ p# C
  511. ; This setting is on by default.
    5 b/ N* G7 d' l$ ^+ R
  512. ;report_zend_debug = 0
    ; x$ O9 W1 c/ ?" n

  513. & S# @% K& I5 @/ h, I: T3 q, o
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value0 {) r4 V2 j0 F9 y
  515. ; to On can assist in debugging and is appropriate for development servers. It should: C' H7 h" k3 x# i$ q: [
  516. ; however be disabled on production servers." \" q6 }/ G; [5 v% V7 Y
  517. ; Default Value: Off6 L* B$ l& T, j# \: d
  518. ; Development Value: On
    9 c5 m7 i) [2 a1 \6 I9 x
  519. ; Production Value: Off
    0 E3 R5 g, ^6 q+ Z9 h
  520. ; http://php.net/track-errors
    4 ]. ?+ D6 }3 C0 k% t) n
  521. track_errors = Off
    % i: V/ A, [1 e: o9 J
  522. * V2 M2 O* n1 N* F. U  ]1 X2 S
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    5 J0 S5 C* n. B  A' U
  524. ; http://php.net/xmlrpc-errors
    9 H+ O5 U6 V: T
  525. ;xmlrpc_errors = 0) P8 \% |9 @+ X/ {
  526.   G5 e4 u9 P3 h6 V/ D6 N. w
  527. ; An XML-RPC faultCode6 ?# I  w8 n( c+ d* V1 E5 d/ D5 P/ h
  528. ;xmlrpc_error_number = 0
      l+ s- j' r0 y; x" S

  529. : I9 {0 Q- j6 l# B: G% t
  530. ; When PHP displays or logs an error, it has the capability of formatting the: o/ s# _* z& t( N' }) Z
  531. ; error message as HTML for easier reading. This directive controls whether
    8 }- I, }& g5 @$ V4 [
  532. ; the error message is formatted as HTML or not.
    % t% N5 w  d8 ~6 j- L5 E# k' O
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI) |; ~9 I2 c/ w+ J, r7 b
  534. ; Default Value: On9 \4 A7 V8 U2 s+ j5 K
  535. ; Development Value: On
      ]7 Z& o0 T6 c: u' b: O
  536. ; Production value: On
    & M( j( ^/ A9 i9 G' `$ F
  537. ; http://php.net/html-errors, H& u% v5 P7 B
  538. html_errors = On
    5 J* C" Z, `' ~' X$ V

  539. , e+ ^$ S+ Q5 q( B
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP' E5 R) e+ v6 b. ~/ \+ `' \
  541. ; produces clickable error messages that direct to a page describing the error
      c& B, k' ]: c. G7 F1 g
  542. ; or function causing the error in detail.
    9 R* E7 T+ [& U4 `* U* X3 j
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    # O5 y6 B3 G4 A9 d3 A1 B5 S
  544. ; and change docref_root to the base URL of your local copy including the
    3 w9 l! U6 O3 h, ]4 T# F) P
  545. ; leading '/'. You must also specify the file extension being used including
    3 m# a) ?$ F9 G6 }5 Y% ?: r
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    2 W# r$ J- x* b# o5 j
  547. ; case no links to documentation are generated.8 l3 R9 f5 _3 ]9 O% E' ^
  548. ; Note: Never use this feature for production boxes.# T7 s" r4 G$ I; x. N' I+ K3 Y
  549. ; http://php.net/docref-root# B% [; \$ c& P$ ]: |* W4 x
  550. ; Examples
    9 i' M$ g) x3 O  ?
  551. ;docref_root = "/phpmanual/"
    4 F& |  R/ S! T7 O- K# o% Z
  552. ( v  z% \9 ?; h7 X; D
  553. ; http://php.net/docref-ext
    2 S, M. k7 y$ y# W" T6 E
  554. ;docref_ext = .html" Y; k! @7 o9 A- P- O: ]

  555. & o8 D" U! p9 d
  556. ; String to output before an error message. PHP's default behavior is to leave4 B5 ~- e/ S& u6 v' Q; P( k3 x- ]
  557. ; this setting blank.
    : n: B# Y% V. S5 q6 L7 b
  558. ; http://php.net/error-prepend-string" R+ r6 s( U6 j0 M' @6 J3 H: r7 ]+ t* d
  559. ; Example:
    + V7 M+ z" t: b% J
  560. ;error_prepend_string = "<span style='color: #ff0000'>". \; y( w* p8 q# Y9 A+ t9 g
  561. / P1 A# }/ ?& Z
  562. ; String to output after an error message. PHP's default behavior is to leave. h7 f+ ^) Q! _; c0 l2 h7 ]/ i
  563. ; this setting blank.
    ' D+ y. W- ?4 N1 s; w) F
  564. ; http://php.net/error-append-string
    ; g& }' y. a- N7 F2 q
  565. ; Example:; x% D. w6 j7 g; M
  566. ;error_append_string = "</span>"
    * f3 @3 {1 Z$ Q$ {! E$ e6 d
  567. . G9 l7 N  M" G7 |/ j1 I) |
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    1 b% i9 v; l2 Q6 s
  569. ; empty.: O$ A# x. A' R3 |; a
  570. ; http://php.net/error-log
    3 @& y# w, U" t) Q3 O' C. E1 ^" L$ [; H
  571. ; Example:
    ' K# Q) U% R1 i) X+ U4 @
  572. ;error_log = php_errors.log
    $ T3 _3 r+ W1 o) y' F4 z+ T
  573. ; Log errors to syslog (Event Log on Windows).
      ]$ B7 }/ m- e5 R* |5 C
  574. ;error_log = syslog
    2 b) M5 f' ?$ `6 V: @  _

  575. % k: {8 w4 T$ Z& H& s" [( q
  576. ;windows.show_crt_warning
    4 P1 _3 V/ ~, D  K4 \
  577. ; Default value: 05 T/ L% _2 q. v
  578. ; Development value: 07 Z1 v, a/ }8 z# j, S0 P2 i8 Y
  579. ; Production value: 0( A/ V& H( Z: t! F

  580. % R! X- l8 ^" [7 V
  581. ;;;;;;;;;;;;;;;;;
    . _6 z& ]( t' X9 i: U2 R% q
  582. ; Data Handling ;4 ?% @9 Y4 T2 S8 A: ~
  583. ;;;;;;;;;;;;;;;;;& A, W' I3 f# ?) V) E
  584. 1 T0 k4 s6 X6 l7 A1 s7 i* D! @' ~
  585. ; The separator used in PHP generated URLs to separate arguments.
    3 r7 Y. W$ S! d' w
  586. ; PHP's default setting is "&".$ d! e: ?, N7 w
  587. ; http://php.net/arg-separator.output8 Q0 W! A/ r, f5 M
  588. ; Example:! J: M1 X: O$ n, G  P- L
  589. ;arg_separator.output = "&amp;"
    - T! {5 a+ m8 n+ X; u3 g  }4 [3 e

  590. 7 o0 D+ f" `8 G+ z
  591. ; List of separator(s) used by PHP to parse input URLs into variables.& x; Z3 ~3 G, A! L$ H  `- \
  592. ; PHP's default setting is "&".) m2 }9 K0 ~- m/ M) }' w! C: H( h  a" D
  593. ; NOTE: Every character in this directive is considered as separator!& m, ]/ c0 A: H. H0 Y
  594. ; http://php.net/arg-separator.input
    , \! w& l3 c* \8 `
  595. ; Example:
    8 C! z% o3 I7 R9 X- |
  596. ;arg_separator.input = ";&"% j3 ?. j& V2 P1 @- g+ `* G
  597. & ]2 r6 t, r; D- X
  598. ; This directive determines which super global arrays are registered when PHP
    . L' h, I% S) I
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ! G" m5 N1 i6 K2 L. n9 n/ i; l! J- v
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty; a9 @2 l6 V, s9 {0 g8 @
  601. ; paid for the registration of these arrays and because ENV is not as commonly# f( C6 q" k# J5 {& e
  602. ; used as the others, ENV is not recommended on productions servers. You  L1 S" s% j" j
  603. ; can still get access to the environment variables through getenv() should you
    ! b1 m$ g5 g( C' T3 p- y
  604. ; need to.
    0 h; i" V5 Y/ ]7 o' `$ @
  605. ; Default Value: "EGPCS"% {7 P- H- G5 _7 ~
  606. ; Development Value: "GPCS"
    + _( i- V/ H$ B0 H# L+ {7 }
  607. ; Production Value: "GPCS";5 [2 I! [. a' L( [/ @
  608. ; http://php.net/variables-order
    1 b. K$ b2 Y% D( x' ^
  609. variables_order = "GPCS") L2 y1 ?" T' F4 V- T2 J3 v9 \# b
  610. ! g  g' l8 a* n' q
  611. ; This directive determines which super global data (G,P & C) should be1 u( F) U" F+ t; v3 J3 m1 _3 l) m
  612. ; registered into the super global array REQUEST. If so, it also determines
    ) P1 L$ x. [$ ?0 l4 V6 A0 y! {
  613. ; the order in which that data is registered. The values for this directive" q1 _7 ?! e& a* r' D# V; G" F6 L" o
  614. ; are specified in the same manner as the variables_order directive,
    0 W! ]+ j# H0 ], r0 O6 k
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set+ q0 }9 ^1 z3 j9 m- J
  616. ; in the variables_order directive. It does not mean it will leave the super
    - Q# ~9 O- U$ R. B
  617. ; globals array REQUEST empty.  N! ?- a  H8 r0 w
  618. ; Default Value: None5 T: N) j4 [- P1 v9 b
  619. ; Development Value: "GP"
    $ H) x  h# x5 T8 Q3 P- Y0 d2 u
  620. ; Production Value: "GP"
    " K3 y6 {3 O1 o3 N
  621. ; http://php.net/request-order, X, j8 N  O0 G7 v# G
  622. request_order = "GP"
    - d" H4 Z/ A6 L" S9 K1 Y

  623. & Q* [5 ]3 L! b' \6 _
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    3 d# F7 M' U3 `3 T! k1 R! S- ]2 j, x
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    6 D" m  ]- Q3 Y- b7 Y
  626. ; is invoked. $argc contains an integer representing the number of arguments: G! z' O. _' J
  627. ; that were passed when the script was invoked. These arrays are extremely
    3 n  f0 |% e& t9 s
  628. ; useful when running scripts from the command line. When this directive is
    9 S$ P. h9 {( f8 R
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    ) J2 n: X& O4 s$ L2 s" W" p
  630. ; a script is executed. For performance reasons, this feature should be disabled
    ' ?/ d( P) P. [/ D
  631. ; on production servers.7 F3 a4 y  `1 Z" K- m" @/ y4 x0 V
  632. ; Note: This directive is hardcoded to On for the CLI SAPI8 x. Z0 ]7 H, F% C8 G. ~0 o
  633. ; Default Value: On
    3 p8 H1 I2 Q4 ?
  634. ; Development Value: Off/ @5 s7 {; q2 W* T( @
  635. ; Production Value: Off
    7 w: K/ t: S* E) U& I7 t8 u* Q
  636. ; http://php.net/register-argc-argv
    & G( {6 {3 \; @- G% C0 T
  637. register_argc_argv = Off
    ( d- {/ \( e( U+ w

  638. . p, v$ L4 q4 Z
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ( X8 D. l: i* y  T3 h. S8 h# u
  640. ; first used (Just In Time) instead of when the script starts. If these+ V) I' R0 ^9 D
  641. ; variables are not used within a script, having this directive on will result( y# H% u5 m$ L1 G0 |
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled# v5 o/ h9 ~$ [" f0 S' @& x
  643. ; for this directive to have any affect.
    ( _3 Z0 [9 n, S4 s- J& O3 ^7 y
  644. ; http://php.net/auto-globals-jit
    - t6 h" s. d1 {" F, K( m! y% F
  645. auto_globals_jit = On! _$ [6 G+ y5 I' [

  646. % {  T9 }7 G, @; ~( E9 A
  647. ; Whether PHP will read the POST data.
    0 C" |  Q* B! b& m' }3 n
  648. ; This option is enabled by default.) G, c+ m4 D) O  Z( s5 t/ j9 ^- T
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST2 R# n9 d/ I* I5 H4 g  Y5 S/ Q+ W
  650. ; and $_FILES to always be empty; the only way you will be able to read the: o7 E/ O) e* I5 `1 R. E
  651. ; POST data will be through the php://input stream wrapper. This can be useful* S& d( t+ Y! H* s+ c6 |8 m4 d0 V
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    4 T1 d( d- u9 d$ y6 i) w
  653. ; http://php.net/enable-post-data-reading% J* {* A0 p, O+ w& {
  654. ;enable_post_data_reading = Off
    + C, @/ I) a- ~) Y% U

  655. / k% K1 m4 c0 Q( V. Z; f; }3 I
  656. ; Maximum size of POST data that PHP will accept.0 g! Y+ B# l" x2 V9 z
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    + u0 e6 I8 E6 N5 [
  658. ; is disabled through enable_post_data_reading.; }' K4 w1 _8 A- F$ V% `
  659. ; http://php.net/post-max-size
    5 G+ t9 O' A- u! x: {! S$ w
  660. post_max_size = 50M/ _* X9 P7 k8 z
  661. + `) l/ l0 Y" _" S
  662. ; Automatically add files before PHP document.' K! Q( Q; A3 Z& j9 p7 p" \7 S+ V
  663. ; http://php.net/auto-prepend-file4 ]# W0 t2 Q) S; x9 [
  664. auto_prepend_file =! X4 z) o2 c, ~: I4 l, ]! O

  665. # g1 K! K6 Y: Q" k1 b/ Q* Q. z7 C
  666. ; Automatically add files after PHP document.
    2 t" E6 k& \7 r1 E1 j4 E
  667. ; http://php.net/auto-append-file/ b. C, l, r6 {- q
  668. auto_append_file =
    8 c* J+ t' m8 T2 ~

  669. 6 q( b% q% @& m% ]5 D3 u1 H5 @- `
  670. ; By default, PHP will output a media type using the Content-Type header. To
    / W  a! K! E; a3 N4 e- g; ^  e
  671. ; disable this, simply set it to be empty.2 I* V; O" C7 H9 U* _
  672. ;
    ; R0 h# `1 {4 X' W  E! q
  673. ; PHP's built-in default media type is set to text/html.8 V$ y& w, g6 |4 D$ y1 H
  674. ; http://php.net/default-mimetype
    + z' m! K8 ]$ g$ C9 k; E' h
  675. default_mimetype = "text/html", E* P5 y* I; ?) W7 Q
  676. : h( ^# G$ l% U6 j
  677. ; PHP's default character set is set to UTF-8.! X4 o, B1 r' e- A" [8 R
  678. ; http://php.net/default-charset& ]: b, q5 m5 ^" |! K9 p
  679. default_charset = "UTF-8"
    ; r% k$ ]8 Q, z: _& \# {0 O; i
  680. 7 _# R& a7 H" V
  681. ; PHP internal character encoding is set to empty.2 h0 ?5 h2 D- m& N, z
  682. ; If empty, default_charset is used.
    # y* s* Z; i3 I+ P: v
  683. ; http://php.net/internal-encoding0 q! q, f! b$ k, A9 j( v6 u3 ?
  684. ;internal_encoding =
    . h/ M# D( h8 M

  685. / t2 O& x! H5 v: J& d# p. y
  686. ; PHP input character encoding is set to empty.2 u3 o+ y+ _- l) G
  687. ; If empty, default_charset is used.6 _+ ^% S5 r6 c3 j6 E3 R1 `! I% E
  688. ; http://php.net/input-encoding5 _4 S& I, \- g. w# t: g4 q/ \
  689. ;input_encoding =
    , w9 w% w/ T2 }& J. @4 G
  690. ( X2 a- H7 i4 R
  691. ; PHP output character encoding is set to empty.
    % x: g0 {; _( g, J1 N: _+ x
  692. ; If empty, default_charset is used.
    & \* P# k: K- c2 v/ b
  693. ; See also output_buffer., j8 b2 H$ L. U8 O
  694. ; http://php.net/output-encoding
    ( v: J; H) a1 T$ `8 G
  695. ;output_encoding =
    . ]' J* D" @+ V. }6 M/ E

  696. , Y: S$ u! {; H: R0 O' O* \# E- }
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    + I! D; N) c, p, \
  698. ; to disable this feature and it will be removed in a future version.
    4 l7 Q  a; ]: ~0 E
  699. ; If post reading is disabled through enable_post_data_reading,( C' P5 _4 e& ?
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.2 T0 L2 `9 v9 g6 o5 u- m
  701. ; http://php.net/always-populate-raw-post-data3 u0 j  w: x  T) H- H- r% R- z
  702. ;always_populate_raw_post_data = -1" L( g# g$ j/ K" }6 y
  703. 8 C3 z+ c1 I, @3 j
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;$ Y* p8 X: W, ]9 P
  705. ; Paths and Directories ;
    3 f3 k. G3 a# z% c3 l; p
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;* p; \5 Z5 {. I6 V% c8 A5 h# C
  707. 7 Q' y0 A) ?  X" s+ q
  708. ; UNIX: "/path1:/path2", ~+ i( E7 v, m% }" A3 n
  709. ;include_path = ".:/php/includes"
    / t# o$ G, v  e' d. W* R7 w5 b7 k
  710. ;
    " ?+ U6 C: M4 X# G' D# H+ J
  711. ; Windows: "\path1;\path2"! b9 q* T7 [) n7 x
  712. ;include_path = ".;c:\php\includes"% r/ Z: {* Y2 u8 ]+ y
  713. ;, F: J& i3 \$ \2 x. e
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    + C! V+ j; K7 d* H+ p/ g
  715. ; http://php.net/include-path
    / I; @; L+ @, R7 O* w1 g
  716. ; ^( Z- W  m2 P3 n: E2 u( [
  717. ; The root of the PHP pages, used only if nonempty.
    9 u3 f/ R5 V  }7 @! s& p# |# \! _4 O& X& z, o
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root3 w- r' _7 ^& m9 l
  719. ; if you are running php as a CGI under any web server (other than IIS)4 C: n: {- G" H( T4 w8 e7 B
  720. ; see documentation for security issues.  The alternate is to use the2 A  M8 e9 ?/ n, P1 t3 s: I
  721. ; cgi.force_redirect configuration below
    " f- }9 O; Y9 M( ^0 y2 \
  722. ; http://php.net/doc-root
    4 E1 f* F# ?- @2 y4 b# H, s
  723. doc_root =! E3 v# L" b$ U

  724. 3 n9 c: n" h3 `& I3 q* [" r( G
  725. ; The directory under which PHP opens the script using /~username used only
    9 r1 q- [1 _5 Y* W3 y
  726. ; if nonempty.
    1 d( g& O) L: ?
  727. ; http://php.net/user-dir" Z; `% w# Y5 X- \" n8 F3 J
  728. user_dir =% n8 x: O+ l9 W7 D3 G; k4 M; r

  729.   J' j" d2 p9 Z2 S5 c/ U
  730. ; Directory in which the loadable extensions (modules) reside.
    & k3 [! i* ?* V
  731. ; http://php.net/extension-dir( [0 @' ?8 j5 a! z* t8 g
  732. ; extension_dir = "./"
    / }. h3 l5 h8 N
  733. ; On windows:
    1 ?9 o! [2 l  D# W0 ?
  734. ; extension_dir = "ext"9 C; u1 Q! i" m: X; _8 ?+ U
  735. # j: g- f  W' O* @; [9 h6 J
  736. ; Directory where the temporary files should be placed.
    3 s! D( J7 T7 j" I
  737. ; Defaults to the system default (see sys_get_temp_dir)
    3 N5 a; o- Q$ t, p
  738. ; sys_temp_dir = "/tmp", k8 \- P- I7 k2 J* j0 e' Z

  739.   ~( B% ^. h5 P. I8 C
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    , I" [+ ?. l# x5 h. x
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    . Y+ j3 e! b* s1 w1 H: x
  742. ; disabled on them.
    & q3 |" q* e% Z. G8 X
  743. ; http://php.net/enable-dl
    3 Z  W. O2 C# E+ d( F2 Y) O
  744. enable_dl = Off
    ! D5 ?- Y( q6 Z# Y4 H

  745. 2 S! a! C$ o! i6 V6 L
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    2 V' X/ N- L. T3 B6 t6 x. t
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    - A3 l( E6 l9 o% i! l9 e
  748. ; turn it off here AT YOUR OWN RISK8 K: d$ M% @7 g  N
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    3 e0 v4 J1 _* e
  750. ; http://php.net/cgi.force-redirect! q  n/ S$ U3 S
  751. ;cgi.force_redirect = 1
    4 t# {3 R2 h2 X
  752. 9 j, I1 U0 _: C4 e4 y, v
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with! M0 q7 N; \7 Z. |
  754. ; every request. PHP's default behavior is to disable this feature.
    " m3 m; s4 l0 S) i6 t
  755. ;cgi.nph = 1
    * R$ w  {( f: h. s

  756.   o0 q) l3 g7 @+ _0 I/ V
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape0 ]  ], I- S4 I
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    9 F; w- z5 ?  P4 v) H+ u
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY  N8 e) _0 w! G" S) B6 H
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    2 d2 `6 I. J, e* s
  761. ; http://php.net/cgi.redirect-status-env. a3 t7 _8 d1 ~" P" J1 E
  762. ;cgi.redirect_status_env =
    & G$ Q; K2 l/ h9 y+ z% ]
  763. 0 A. I1 n/ S$ f
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    5 @1 f. _0 X/ d' C
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok6 z" g! H! y( p5 `
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting& [8 r( ?: Y9 E: ^
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    % k1 ~$ X+ Z) @/ C8 j, L' i4 s9 D
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts8 h3 [6 y' T, A/ i# L' M
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
      G: T) B/ {1 _3 n4 Z% k
  770. ; http://php.net/cgi.fix-pathinfo+ t* ]5 ]8 l* e  ~, _) P) I; C
  771. cgi.fix_pathinfo=1
    # W) H3 y( F5 ^: A* S
  772. 9 J! A. E+ r9 U+ U- B! Q1 a8 J1 {
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    / L+ w- z" q; S* W+ o1 `8 ?
  774. ; of the web tree and people will not be able to circumvent .htaccess security.# ^5 t! R0 o: ~' U% V3 I1 H
  775. ; http://php.net/cgi.dicard-path( X* C- x3 d# W4 V
  776. ;cgi.discard_path=1( E. ]7 l9 B8 B4 a# Y, {
  777. $ f0 {- W2 T( @: j5 G2 f' r
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate% j0 g5 @! h! L+ i! G
  779. ; security tokens of the calling client.  This allows IIS to define the4 `' H* a: m& Q
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    * P8 z& [6 E5 d3 ?$ d# Q
  781. ; does not currently support this feature (03/17/2002)
    2 e( Y( e  \, M4 F% x% r* P
  782. ; Set to 1 if running under IIS.  Default is zero.5 C1 o) E8 R6 q1 a
  783. ; http://php.net/fastcgi.impersonate7 g! B8 {. h9 s0 i: y
  784. ;fastcgi.impersonate = 1
      T5 N- j6 p" t: l; F; r) u
  785. . K; a) M' U6 u# ~9 J& L3 I$ ?" \1 j
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable9 Z# f; d9 t% I( U  p
  787. ; this feature.2 ~' T& k! M* Q7 U( P+ ^+ n1 M
  788. ;fastcgi.logging = 0
    : H; Y; z7 r* v) R+ y
  789. ' |* P3 Q+ Q& m% ?# M8 e3 _. \) _
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to3 Z4 L1 @6 J# ^# m: P
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    & O# n9 A. {5 B& l/ [0 q& q
  792. ; is supported by Apache. When this option is set to 1, PHP will send" F7 A/ }  t) O+ g
  793. ; RFC2616 compliant header.
      D6 @; w- b' z2 z2 q
  794. ; Default is zero.
    8 E7 W- l$ Z7 `# \6 }
  795. ; http://php.net/cgi.rfc2616-headers& R2 J" t- s% d- A, |. J
  796. ;cgi.rfc2616_headers = 0
    ' a$ }/ W$ T* \1 U. k. Z  j
  797. ( w( o( H0 s, d* w' M$ \4 J) z
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    * [; _  s& I& \8 K
  799. ; (shebang) at the top of the running script. This line might be needed if the( t* V# v0 ?* ]/ f% Z$ O
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI7 x- e2 X1 ?, I
  801. ; mode skips this line and ignores its content if this directive is turned on.
    , A& |) n  |% v+ `/ I
  802. ; http://php.net/cgi.check-shebang-line
      q, E( k! d7 m; b& @" t3 H
  803. ;cgi.check_shebang_line=1
    # ~, d8 h% L* e+ q) ^
  804. , c3 M& b5 \* |% g3 d
  805. ;;;;;;;;;;;;;;;;
    1 ~; E  H5 V0 }) X# l0 g9 C9 X
  806. ; File Uploads ;5 H' {0 E7 k6 {, Y2 }
  807. ;;;;;;;;;;;;;;;;5 ^0 p' _- E8 {& v; J( s: E
  808. " X- y% L6 q1 n5 U8 i, g
  809. ; Whether to allow HTTP file uploads.1 L2 E0 l# u- f* ~" i, s2 w7 a
  810. ; http://php.net/file-uploads; N; y- ]! p' L
  811. file_uploads = On
    9 t! M& u( S( o% q! b
  812. - }5 g2 [. S7 ~5 f+ y& `
  813. ; Temporary directory for HTTP uploaded files (will use system default if not0 \' a. b4 X6 l: S3 z
  814. ; specified).
    # s( |  V2 v1 F/ Z% t2 r+ ^# M
  815. ; http://php.net/upload-tmp-dir8 V: _/ ~' l' z
  816. ;upload_tmp_dir =& _9 v' V$ G3 D- J

  817. 8 \8 n2 O7 U3 A3 O
  818. ; Maximum allowed size for uploaded files.* ]+ d' ^  A% Z  Y
  819. ; http://php.net/upload-max-filesize) c: Y) ~6 E2 u' B- C
  820. upload_max_filesize = 50M
    4 h0 f; J3 D# @) D7 z

  821. 7 [7 Z9 ?8 E& v7 m8 B
  822. ; Maximum number of files that can be uploaded via a single request6 n* a1 O- F: }% v. [: B8 U8 ^
  823. max_file_uploads = 209 e' w0 p1 d6 n( u7 d8 o
  824. 3 }. W+ O  l" L9 E/ ?
  825. ;;;;;;;;;;;;;;;;;;
    + u8 a0 c( Q% |8 E, c# j
  826. ; Fopen wrappers ;
    % G1 U+ r/ r8 x& U
  827. ;;;;;;;;;;;;;;;;;;
    2 q4 w% Z* ^1 \: @
  828. : b9 P5 a6 p  h
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
      @! q2 T" I( [+ b
  830. ; http://php.net/allow-url-fopen
    ; Z3 _- N' c- O3 Z8 ?, P
  831. allow_url_fopen = On7 f6 U0 }0 T* x* N
  832. 2 x- p  G% U" U  f3 f% f: \5 E9 ^
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.3 I& z2 m/ E3 j; G8 z3 J7 S) p
  834. ; http://php.net/allow-url-include) o: ~8 R8 T7 [% s, N! q
  835. allow_url_include = Off
    . X9 X3 w# U8 `- r$ L" O
  836. " e& R, [, Y& M- _2 P$ `* K# S
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    9 r' |# M$ h% L
  838. ; for this is empty.4 R4 G$ e! x4 o8 ^5 H" h
  839. ; http://php.net/from" J: G& o, o+ q/ l* j5 @
  840. ;from="john@doe.com"
    / D- N3 R1 b; C3 A- g/ P# q

  841. . u3 A, ^7 p5 o6 B0 s1 |
  842. ; Define the User-Agent string. PHP's default setting for this is empty.. r" M: }4 ?5 }$ L- C  {! b/ v8 k; X+ Y
  843. ; http://php.net/user-agent0 D7 B' H  ]. e* n* P+ u. G
  844. ;user_agent="PHP"
    9 c5 w3 u! ^6 c- P

  845. ' R! C! @$ f  d9 S4 n
  846. ; Default timeout for socket based streams (seconds)
    ) A2 W1 c, i- D- ?( G5 B1 Z
  847. ; http://php.net/default-socket-timeout
    ( |8 B/ U. E  }4 o9 ?
  848. default_socket_timeout = 608 Y# _4 j% ^2 f: J6 w6 Z

  849. : ?& b) r# b2 i
  850. ; If your scripts have to deal with files from Macintosh systems,$ m. }9 T! Z7 @
  851. ; or you are running on a Mac and need to deal with files from
    # b/ p) H0 V, y; `/ A9 J$ ]: P$ Z
  852. ; unix or win32 systems, setting this flag will cause PHP to- F2 I/ N; S2 D: }2 t0 {
  853. ; automatically detect the EOL character in those files so that' \: n* E7 w1 Y+ e; U, B
  854. ; fgets() and file() will work regardless of the source of the file.
    ) d0 o* T# {5 Y5 K
  855. ; http://php.net/auto-detect-line-endings
    4 O' `  u. G* S  J2 x
  856. ;auto_detect_line_endings = Off
    / f' z/ x: [1 I; b9 S+ l! d. W3 |: B

  857. $ H6 H3 P1 ?9 i) V" j
  858. ;;;;;;;;;;;;;;;;;;;;;;: Z( P$ x6 W! O5 m
  859. ; Dynamic Extensions ;
    + \# m7 V+ r4 J- Y) B# y4 T
  860. ;;;;;;;;;;;;;;;;;;;;;;
    9 [7 C, F8 }9 M

  861. 4 u" G8 u0 q) k0 P& q3 e
  862. ; If you wish to have an extension loaded automatically, use the following
    # M; N4 `9 ]0 W0 `; p1 ?4 G
  863. ; syntax:
    ( G: f% z& H/ i
  864. ;9 t/ b' a- @& }
  865. ;   extension=modulename.extension
    8 G/ Z/ |% b  ~( A- }6 p) r8 L3 Y
  866. ;
    ( e# t! T+ B+ O. \1 [: w1 Q
  867. ; For example, on Windows:* k9 r0 @; g, \3 J9 F0 K
  868. ;3 [. U9 y! B6 q3 h. e( H8 M
  869. ;   extension=msql.dll
    & `! d0 T8 w3 m% }9 @" l
  870. ;
    " q0 `, @. m) R$ l5 ~# {2 V! {
  871. ; ... or under UNIX:
    " i5 l& I5 {; H/ E1 m) x
  872. ;/ G% X+ ?7 h8 B/ G: F
  873. ;   extension=msql.so
    4 j& N& c* }" Z  Q* r2 D; O
  874. ;/ r' o* p: t% {$ J4 t! k" ^
  875. ; ... or with a path:3 G. ]8 D. e# b2 S' z4 c9 Z
  876. ;" o/ G2 u/ O* N0 g
  877. ;   extension=/path/to/extension/msql.so( r! Z/ I9 {' }1 W( P
  878. ;& I! c( }4 f, x
  879. ; If you only provide the name of the extension, PHP will look for it in its' L+ {5 T8 Q5 {
  880. ; default extension directory.
    : F) i# M" N* {: I: L2 R
  881. ;( s, u- |+ Q# Z# o0 ?  V1 e) A/ y
  882. ; Windows Extensions2 ~# w$ U& H  V( Q) M
  883. ; Note that ODBC support is built in, so no dll is needed for it.& e9 I6 r& |& s* C& H9 F
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)0 }  D6 l( u$ Z/ n$ L3 k6 J7 e
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    / O5 X4 }4 \( m: Z, u
  886. ; Be sure to appropriately set the extension_dir directive., J+ ~: C2 t. {* L% o  S7 p  J
  887. ;
    . ^" Q, g9 B2 _/ R
  888. ;extension=php_bz2.dll
    # ?6 S; [. V# @& R: ]& |! G, Y
  889. ;extension=php_curl.dll) ?, Q" q+ P- ~
  890. ;extension=php_fileinfo.dll
    - M9 R% h' R) _
  891. ;extension=php_gd2.dll
    ; y1 Y8 R3 ?* l3 g6 S5 G- r, M
  892. ;extension=php_gettext.dll; q9 p% n, B: {
  893. ;extension=php_gmp.dll
    . _9 h. h! b; t6 e9 O
  894. ;extension=php_intl.dll
    8 D: `: V. z% [
  895. ;extension=php_imap.dll
    ; S% Q' S+ S+ }
  896. ;extension=php_interbase.dll
    9 E* z4 T- |' h7 ]) \7 _/ K, Y# P. _! R
  897. ;extension=php_ldap.dll6 I5 N/ \8 S3 S) k
  898. ;extension=php_mbstring.dll
    . e' Q& k6 c7 r
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ( O" H# v6 E4 I
  900. ;extension=php_mysql.dll
    0 z7 t, W( ^" g
  901. ;extension=php_mysqli.dll6 K' ^3 k8 {0 \
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ! i; i, w7 z0 Z# d) p1 f. u
  903. ;extension=php_openssl.dll5 z% i3 e' t0 z* V2 c
  904. ;extension=php_pdo_firebird.dll
    # J& ]& x4 @  f" R4 y+ m' H& }
  905. ;extension=php_pdo_mysql.dll( N1 S$ m: v0 l2 b
  906. ;extension=php_pdo_oci.dll
    & |% X! _2 ~/ g+ T( Y2 a; A
  907. ;extension=php_pdo_odbc.dll
    2 v; a* f! L) U  D
  908. ;extension=php_pdo_pgsql.dll
    ; @, }* X, z; A6 b* t! A
  909. ;extension=php_pdo_sqlite.dll
    , R& |( {" X$ E+ l7 ~; N; n+ S& C: F3 e
  910. ;extension=php_pgsql.dll* b+ Q7 T  k1 z. t4 O1 m3 X
  911. ;extension=php_shmop.dll/ f6 Q0 T9 i5 Y3 C" ^! r) o

  912. / {9 B7 \" |3 K9 M. u( d9 }" p% W; R
  913. ; The MIBS data available in the PHP distribution must be installed. 6 d' H& e" r( `! S
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    7 v4 z- T1 I2 G# p# K& F  W
  915. ;extension=php_snmp.dll
    * m, u$ i, y  f! b* V2 y* B- p0 p

  916. / p: T. i. f4 W! |$ G* y
  917. ;extension=php_soap.dll
    ) E" J( m' _" A, s
  918. ;extension=php_sockets.dll
    ( P( `. F- v0 k" }
  919. ;extension=php_sqlite3.dll
    5 H% Y+ c2 R. h
  920. ;extension=php_sybase_ct.dll7 i5 U8 [, L) w  a. E
  921. ;extension=php_tidy.dll5 t, `* b4 b/ J4 Z* d
  922. ;extension=php_xmlrpc.dll
    $ o" U7 w) R4 @! T- U/ ~/ O3 ~
  923. ;extension=php_xsl.dll. x6 m5 {0 H; `# \& P: s. |
  924. 8 a% C0 y6 n: X8 h# W" q/ ^. d- K
  925. ;;;;;;;;;;;;;;;;;;;
    9 z, i& X: F  f
  926. ; Module Settings ;
    4 V* V% h4 R6 I+ U& }1 ], V
  927. ;;;;;;;;;;;;;;;;;;;
    3 ?; u, F. Y2 T' O4 Q1 M  {0 n

  928.   |+ H! w7 L& r0 u% O( y
  929. [CLI Server]
    2 ^4 M: v- c! I5 S
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    , ]' l& Y. o' J& P( W
  931. cli_server.color = On
    7 b& J  W1 c  L( {

  932. ( _! B1 W% {: t' d& S
  933. [Date]
    9 z2 m- Q! f: g- d" I8 ^0 R1 ], i" \* g
  934. ; Defines the default timezone used by the date functions
    " S3 Y, \( d' _) X' Q8 g
  935. ; http://php.net/date.timezone0 c! f2 x! c3 C3 w9 g
  936. date.timezone = PRC- u7 U  O, L1 o% J# e! m# Q) B

  937. & u0 q& P9 I) Y5 ^, Y* X* o* |
  938. ; http://php.net/date.default-latitude
    % ?! H1 \. x  z' x" M4 L
  939. ;date.default_latitude = 31.76674 ]  c  n3 _* C: t
  940. 8 P% |' ]# h% v- T) B
  941. ; http://php.net/date.default-longitude7 c- |5 y* w/ |0 _1 K( ]
  942. ;date.default_longitude = 35.23332 _% R0 U, |) J- S$ w% C3 P
  943. ; s# z# q1 F" V& A  x
  944. ; http://php.net/date.sunrise-zenith" O% x- H4 j$ F  T- K4 q0 o) c4 P
  945. ;date.sunrise_zenith = 90.583333
    # i3 j2 \! L: H

  946. # a% `2 \1 v# ^* e
  947. ; http://php.net/date.sunset-zenith
    % R. u# g2 W' D2 F' H
  948. ;date.sunset_zenith = 90.5833331 I2 b, _0 ^0 H. f. |$ O; N
  949. ) y, l) v: P  g1 _" T# U
  950. [filter]
    ' _( K; C0 r1 s
  951. ; http://php.net/filter.default! m/ ?& v! p4 R
  952. ;filter.default = unsafe_raw/ Q8 P& D1 @: C; `. k, W/ b  g- n
  953. 1 J3 p0 K: R2 m0 r6 H
  954. ; http://php.net/filter.default-flags3 \6 t" I- A+ O7 B" \
  955. ;filter.default_flags =
      F: n0 ?- t& E: U

  956. ! K6 x, ~* j! R3 D4 C/ Y
  957. [iconv]
    : _  Q+ {; o; t% c; g
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    + `; p' w0 |" L- }: O
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    , D: P9 a4 \! q$ @3 O
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding2 d9 j+ V5 V/ D8 c+ `  r
  961. ;iconv.input_encoding =
    4 g' r0 E! e/ ], w: V+ p
  962. % Z1 e& X0 @* U9 v$ L6 E+ y2 K6 Y
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    # Z4 ?: O- |7 G5 V
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    * ]& u- t; G7 G8 ~; |$ C
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding; s4 f' _7 C4 C5 f
  966. ;iconv.internal_encoding =
    ( N' w/ U) g2 w3 K

  967. 7 T# v* U" e$ C! E
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.  _+ ?. P# t* O0 M1 I; G- ]! l
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.0 E) i- ?: x7 H( ?
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding& k. {/ K3 I" r: T7 o2 o
  971. ; To use an output encoding conversion, iconv's output handler must be set0 o! m: D0 r7 v! B
  972. ; otherwise output encoding conversion cannot be performed.
    ! B) N1 P. [* Y0 _/ B
  973. ;iconv.output_encoding =- q; Q" R- [6 X& \$ w; V# b! d( [

  974. ! @, P( U) C0 E' F' ]$ U# _
  975. [intl]
    1 z2 x7 u% y  C. u: t2 N
  976. ;intl.default_locale =4 n" U$ X3 T/ g/ o( u+ c# N) Y
  977. ; This directive allows you to produce PHP errors when some error
    ) ^. p" W, d1 g6 N; w
  978. ; happens within intl functions. The value is the level of the error produced.' X8 J# ~" Y; Z2 x  ]  C7 l: B
  979. ; Default is 0, which does not produce any errors.  U0 I# y; ~0 r3 g1 t% j& x: r2 s& W, W
  980. ;intl.error_level = E_WARNING
    5 O8 W% A% L: T  M9 x- U! Z
  981. ;intl.use_exceptions = 0
    $ ?, x1 L. U1 i+ |3 I
  982. 2 N1 G" V/ ]; `6 |# d* }
  983. [sqlite3]
    ) j9 |( j  \2 W. `
  984. ;sqlite3.extension_dir =
    % t4 X* x2 P, d# L8 c

  985. ! {. B5 W3 n1 n' ?
  986. [Pcre]
    9 u) k3 p9 S9 M( t! b8 x# U& q
  987. ;PCRE library backtracking limit.0 |* z/ f, E7 N6 o" c5 ^9 x) Q
  988. ; http://php.net/pcre.backtrack-limit
    4 ~6 D: u; |1 j! V) H: }! I. N
  989. ;pcre.backtrack_limit=1000003 p2 [9 k; N4 \8 P

  990. - L4 R( B5 `% b2 A
  991. ;PCRE library recursion limit.
    5 h9 T$ e/ Z6 M8 m0 o$ I& H; U  h
  992. ;Please note that if you set this value to a high number you may consume all
    0 J- \9 j7 J* t7 o/ v
  993. ;the available process stack and eventually crash PHP (due to reaching the' _1 J6 Y3 z! I. `; o8 B4 f. g
  994. ;stack size limit imposed by the Operating System).; f6 h5 |7 D% f
  995. ; http://php.net/pcre.recursion-limit
    ( f4 r7 i  V: U; q( F$ _
  996. ;pcre.recursion_limit=100000% g& G& E0 |7 o. i9 J; ]0 c

  997. & F$ ?. I6 m2 z$ l
  998. [Pdo]
    ( R% |' P3 k5 `
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"8 s0 o  a% M. M/ M; d5 A( m0 _
  1000. ; http://php.net/pdo-odbc.connection-pooling
    ) r8 K4 K+ W! |
  1001. ;pdo_odbc.connection_pooling=strict
    4 [2 \2 B$ Q8 i

  1002. % w0 @5 D. {% ^: A5 W
  1003. ;pdo_odbc.db2_instance_name- L" u- [2 O, Y0 t

  1004. % e0 [' g( ]; k; C
  1005. [Pdo_mysql]
    7 D5 L& |0 O0 r
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + B% ]# X2 I" i3 z. ^' [+ z) |
  1007. ; http://php.net/pdo_mysql.cache_size0 k5 D/ M" j8 H/ B
  1008. pdo_mysql.cache_size = 2000$ R' M& {/ l  D

  1009. 8 ?4 O3 K7 `9 f
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in  P' r- {! i/ h/ j
  1011. ; MySQL defaults.
    * T! U+ X% G4 z9 P* g
  1012. ; http://php.net/pdo_mysql.default-socket
    ; X5 b# z" D9 U) a- I. z
  1013. pdo_mysql.default_socket=
    5 g' E- [+ c& A
  1014. 1 ?7 o8 W: q' h6 R& }5 r$ x% G
  1015. [Phar]
    + y* w2 H7 N: M+ n0 h4 \, [
  1016. ; http://php.net/phar.readonly/ ~+ d2 ?" i( I! v3 C
  1017. ;phar.readonly = On
    : U* \5 B$ \5 b4 w. R6 K1 ^
  1018. , e; o, N, q+ p
  1019. ; http://php.net/phar.require-hash  C9 y; t+ E* l
  1020. ;phar.require_hash = On- G* U8 N! n0 H9 C& {
  1021. $ j; I- [' L3 g
  1022. ;phar.cache_list =6 `( E& F7 G; X9 \: l

  1023. : W5 r1 b8 l$ s3 q( ^8 I1 m3 N8 M9 a. _
  1024. [mail function]
    # r5 K8 l& {: o' D4 n
  1025. ; For Win32 only.
    2 {( K7 K* k" m. W$ l
  1026. ; http://php.net/smtp# `5 t, I& [, G  b" N+ Z
  1027. SMTP = localhost4 }/ F2 c2 d) y( d
  1028. ; http://php.net/smtp-port' i: S0 H3 k9 S$ B& G% o$ y
  1029. smtp_port = 25
    5 O# ~* F/ z) E8 `

  1030. 8 }$ N; \; _* D( L( g, Q
  1031. ; For Win32 only.
    + }: ?3 K/ ?8 e& K8 S' p
  1032. ; http://php.net/sendmail-from
    7 M0 k1 U1 g+ ^- k
  1033. ;sendmail_from = me@example.com
    . x- z( n- ]2 X6 C/ F) F+ @

  1034. 4 Y9 N2 }  z; b* L6 x
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    + _) }1 i9 n' {3 y
  1036. ; http://php.net/sendmail-path
    . e% t4 Q; I$ G5 {0 Z& T
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    / g/ L" Z0 m( ^2 G
  1038. ; X' s3 f7 N1 \' s
  1039. ; Force the addition of the specified parameters to be passed as extra parameters4 |" T8 s1 J! w- ~, L
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ; u2 J3 t5 a) B+ K3 B& p# H
  1041. ; the 5th parameter to mail().
    7 {- Z1 [# _& f4 n; W, ]2 h
  1042. ;mail.force_extra_parameters =
    9 W7 ~6 k4 y) h

  1043. 4 ^2 ^1 j) _2 ^
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename. U9 W$ X9 R' Q2 o  E5 \  `0 r" `
  1045. mail.add_x_header = On2 T6 w$ ]2 [3 T5 o7 H, i
  1046. . q- W) ?3 f" v5 x: n
  1047. ; The path to a log file that will log all mail() calls. Log entries include8 a& ?  n& F# H) i! p. l! k
  1048. ; the full path of the script, line number, To address and headers.
    . b- |' _/ N. B0 C" V& k
  1049. ;mail.log =7 K/ ?2 \5 p& @/ r/ e2 h" m
  1050. ; Log mail to syslog (Event Log on Windows).2 H9 |8 E% y% O! A: m/ t( D
  1051. ;mail.log = syslog
    7 E6 }/ P4 N  D3 ]- r* C( E

  1052. & t' Q! n! U. I: }& v7 V$ [9 K, `) t
  1053. [SQL]
    ( H( y# l6 ?. j: W, n
  1054. ; http://php.net/sql.safe-mode
    # a3 z2 F. J* t" L
  1055. sql.safe_mode = Off" J8 ~3 N' ~# q1 ^

  1056. * ?* m6 e+ o! N$ w3 e: Z( ]
  1057. [ODBC]
    0 H3 g$ R4 F1 Q/ W- |5 q
  1058. ; http://php.net/odbc.default-db
    , Q5 g5 Y8 j+ D  _' l0 C- D
  1059. ;odbc.default_db    =  Not yet implemented
    : B' [. R# ^. S% E% n/ @4 E
  1060. 1 o1 z4 K4 t. C6 u* m) H
  1061. ; http://php.net/odbc.default-user
    / m3 E* g/ a+ h4 @, q7 O
  1062. ;odbc.default_user  =  Not yet implemented) B$ E0 V2 H" C% N9 |' J3 d' l* N
  1063. ; h  Y! T! n4 m3 l( k
  1064. ; http://php.net/odbc.default-pw
    - @9 g4 ^' u2 G
  1065. ;odbc.default_pw    =  Not yet implemented
    / Q$ \" v# E" t6 k
  1066. 2 d  c* M! J# P( {# m: K
  1067. ; Controls the ODBC cursor model./ t; l! J4 {. `+ B. f
  1068. ; Default: SQL_CURSOR_STATIC (default).1 @7 f" S4 R9 o7 Y
  1069. ;odbc.default_cursortype7 E4 a; c8 F9 o

  1070. $ t. }1 A3 a% p, K. M
  1071. ; Allow or prevent persistent links.
    % n* x* _, L! s3 D" Y
  1072. ; http://php.net/odbc.allow-persistent
    8 U2 X: D* x( D5 ~! e. B8 z# B
  1073. odbc.allow_persistent = On
    ! D7 F$ }: ~" I+ i; `: r

  1074. % S# n1 l, ?8 ^4 T, q
  1075. ; Check that a connection is still valid before reuse.1 e$ L8 v4 r1 D2 T& M
  1076. ; http://php.net/odbc.check-persistent
    $ g) e# c  Z1 I+ _; f& V& M
  1077. odbc.check_persistent = On
    ! S( U+ j7 L) k7 g
  1078. - \; Y( ?- c5 ]* P3 ]
  1079. ; Maximum number of persistent links.  -1 means no limit.
    # Z* G# O6 ?+ H& f
  1080. ; http://php.net/odbc.max-persistent
    3 n& m& u3 K7 _% x. [) Y
  1081. odbc.max_persistent = -1
    ' ?5 m& [3 f0 `( Q

  1082. - \, c' z, ^/ Q9 R; _3 u
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      x/ o# z% `# b; |. N6 p
  1084. ; http://php.net/odbc.max-links
    ) b' L: m8 {( M
  1085. odbc.max_links = -1% W: x' `7 D% i8 i4 \( }

  1086. 9 E( {! ], G5 T5 Y5 p8 s
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    , J8 o* x! c+ Z" ~& `% o$ n+ N
  1088. ; passthru.
    ! v4 ]3 U8 P* ?9 D
  1089. ; http://php.net/odbc.defaultlrl
    & R7 U/ p6 S2 ?! \# I
  1090. odbc.defaultlrl = 4096; }0 ~, y" u# W' I2 X
  1091. ( D; s8 O" g& w. z0 z
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ; `% k! E9 |. `
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    , n) U5 g/ b5 k* O( z: K
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode2 @' H5 S3 e4 W- E
  1095. ; http://php.net/odbc.defaultbinmode9 p9 h' y* ?9 h4 x6 P' a
  1096. odbc.defaultbinmode = 1* v# U1 m8 k/ P: R4 i

  1097. 3 k- p% ~! y* i- D6 `( S0 N' |  c
  1098. ;birdstep.max_links = -17 h8 o* l: g# @2 L5 j" M( {- f# t) b

  1099. + j% L: W% e' G' l
  1100. [Interbase]" r& R( Y; |* V+ X4 N$ B% R7 ~
  1101. ; Allow or prevent persistent links.7 I# n! s1 K. g+ r: @
  1102. ibase.allow_persistent = 1) e1 u9 O: [+ x$ R/ O" `% S
  1103. 4 Z/ v: }( ?$ i( Z* c
  1104. ; Maximum number of persistent links.  -1 means no limit.) f8 }. L5 `& ~) L
  1105. ibase.max_persistent = -1
    0 ?0 p) I( S. {; z

  1106. # ?5 r, b8 G) s; {8 j& `- ?8 Y
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ f5 S- e" _% O5 f9 @/ t5 [
  1108. ibase.max_links = -1
    / B% d  J2 c& l2 }! w4 y, P7 h# k
  1109. 9 @( {% |9 z, Z  |9 q8 m
  1110. ; Default database name for ibase_connect().+ i( h6 y# p. _6 V6 k
  1111. ;ibase.default_db =' _( C( F4 I5 p, }+ c; J# ]

  1112. ) L- b; Z$ K! X  l
  1113. ; Default username for ibase_connect().
    : H5 ]1 ^& a1 c% U6 i# R( y
  1114. ;ibase.default_user =- b5 i. p* g/ w3 B$ U
  1115. ( a1 h7 n3 p: m& U6 n! P
  1116. ; Default password for ibase_connect().
    3 ?% [+ B# W, x2 N
  1117. ;ibase.default_password =
    % H  h+ R. X5 r  e
  1118. / y# v& H( n5 w, |
  1119. ; Default charset for ibase_connect().9 X& c# o2 B) j% G
  1120. ;ibase.default_charset =
    + T5 p) H) }: {( _! p4 h

  1121. 0 j4 R" W1 f( `" q9 W
  1122. ; Default timestamp format.
    $ U" J. A, e1 [/ Y+ F! H/ p; ~3 ]
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    " w6 o! {( a' Y/ z: b( g  f8 n
  1124. ! W6 D3 F/ Z* U" y. T+ f9 i
  1125. ; Default date format.
    # h1 Y7 d, |6 m7 C6 ~2 n7 ?& \
  1126. ibase.dateformat = "%Y-%m-%d"; V) `! p! H  E+ S. ^0 r

  1127. 5 Z' z# V8 p5 M( e7 `* G- U# {& ~
  1128. ; Default time format.6 z& t- V6 e/ C2 K, b5 [, e: k
  1129. ibase.timeformat = "%H:%M:%S"
    % w0 }( \8 ^! G) K3 f7 }8 Z5 w* l+ I

  1130. 6 u0 r( N, s; p/ j8 @
  1131. [MySQL]: Q' c1 I1 ?/ ?6 j: l; O
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    % U3 h8 C* J1 I$ w
  1133. ; http://php.net/mysql.allow_local_infile. C; G( W1 _" K; z5 m
  1134. mysql.allow_local_infile = On
    ; C( Q$ {7 y) `5 G) F/ N) x

  1135. / L/ e; E. q; c5 A; E: E# Y' j' L
  1136. ; Allow or prevent persistent links., @; {5 I( _" o8 h+ ?! C4 g* \1 T8 n
  1137. ; http://php.net/mysql.allow-persistent; b9 T& d. ?% B) D
  1138. mysql.allow_persistent = On! @: F. T, V1 ^2 P
  1139. 0 u4 m- Y0 _( c. U+ z; Y
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    2 O: N& l! z# z9 s  A* V$ V1 b4 n
  1141. ; http://php.net/mysql.cache_size, I9 s' H9 K' k6 P
  1142. mysql.cache_size = 2000
    + i, ^) `- A( u/ z' L/ q
  1143. , {$ u8 Q- m& Z- b! }
  1144. ; Maximum number of persistent links.  -1 means no limit.
    7 o* w( V( f) E/ \, [
  1145. ; http://php.net/mysql.max-persistent! a+ y" e8 r- l2 k6 a
  1146. mysql.max_persistent = -1
    4 {+ W# t! Q; `4 z4 I, L* U( n
  1147. + W3 D  K* R9 ~  K- R) o5 C
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 L) P' P$ {# L  u- A! N2 i+ K. N0 L, P
  1149. ; http://php.net/mysql.max-links" B: X3 C" h3 a8 }
  1150. mysql.max_links = -1
    6 Q' ]& y. d  e0 C0 G

  1151. * Y) t6 H  _4 b  l
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    8 g. F. E0 M0 k# H- U
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    " S2 R! I1 s7 A2 {
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    $ R1 T! e6 @% j# ~% P
  1155. ; at MYSQL_PORT.
    1 a) y( n! V9 T0 K$ h" g# k1 Z
  1156. ; http://php.net/mysql.default-port
      O$ ]+ T8 w* t+ L+ Z8 F* J
  1157. mysql.default_port =
    / |+ s( s8 Q. h" [+ z5 _
  1158. 7 \9 E6 }* e; S
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    8 W" M' n% w  i0 b; C
  1160. ; MySQL defaults.
    " z; |) ]* s) x3 @
  1161. ; http://php.net/mysql.default-socket; g' y( L! l" w# D; Z
  1162. mysql.default_socket =+ f, \6 \- r" {, \
  1163. : H5 t+ X! w$ r! s% ^' x
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).5 O. Z" y7 j! B# @& S
  1165. ; http://php.net/mysql.default-host
    - D- g" j6 e* G% C8 e' w! T
  1166. mysql.default_host =
    9 o3 @, E$ |$ r) F6 P
  1167. $ a2 D6 h8 L+ p; o! w" R$ z
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    : k. _5 p/ Q% q8 J
  1169. ; http://php.net/mysql.default-user
    " K6 V2 l( G7 ?9 J
  1170. mysql.default_user =" |3 v4 m, g$ o2 R
  1171. 9 t( w4 |  G1 |
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    7 X4 D, R* P6 S' T
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.; O' n0 Q1 W* B; b/ o
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")9 e1 Q9 Q3 n9 K2 l
  1175. ; and reveal this password!  And of course, any users with read access to this4 h( q# ^& x& u' ?. f
  1176. ; file will be able to reveal the password as well.  g" j5 v" M7 A  Q& ~  X
  1177. ; http://php.net/mysql.default-password6 E; s+ X! \0 u5 F, B
  1178. mysql.default_password =- L: h3 a  v( N
  1179. 0 v4 K) y% G% b9 c
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    $ B: T$ z2 I5 g5 @* [( N, ]/ s
  1181. ; http://php.net/mysql.connect-timeout2 c* l# u2 f7 u' t! J" `
  1182. mysql.connect_timeout = 60: |) _$ R# Y4 r, P4 B
  1183. ; }- J7 m, x# o! T. I1 \- J8 w
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and' M5 D6 B/ G0 F2 y
  1185. ; SQL-Errors will be displayed.- d( t# z/ _% A6 M! g3 {' F
  1186. ; http://php.net/mysql.trace-mode
    . c; L3 T4 r- C* D. N9 R; c0 i
  1187. mysql.trace_mode = Off, I8 H" I. N2 f8 ^: d6 R) J  _# U
  1188. ! u: l5 e; Y' v8 ]8 Y( u2 F# O
  1189. [MySQLi]
    , Z1 t0 j$ u5 A

  1190. 5 q" f0 {' o3 ~- f7 ]* u5 R
  1191. ; Maximum number of persistent links.  -1 means no limit./ h0 x0 o1 g+ U
  1192. ; http://php.net/mysqli.max-persistent6 q. v: N+ e( b. D" E* R1 i
  1193. mysqli.max_persistent = -1. }3 j: S$ S/ z* F, U/ d+ q/ v

  1194. 5 l6 _3 m# n. P0 D
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    - f3 R( y: v' x; m
  1196. ; http://php.net/mysqli.allow_local_infile, j% \, g" |8 I5 y" P, l
  1197. ;mysqli.allow_local_infile = On# J- Z3 {: L* I* B
  1198. ' b( r+ ^1 r( \# p4 A. [
  1199. ; Allow or prevent persistent links.! o+ v; e) D7 L6 b: w
  1200. ; http://php.net/mysqli.allow-persistent0 V) Z! d: z) L* G  g! |
  1201. mysqli.allow_persistent = On
    ; @2 I2 e# _3 Q& x3 C" M/ {+ }
  1202. ) r+ A1 A4 i7 K
  1203. ; Maximum number of links.  -1 means no limit.% P  x! r6 a0 V
  1204. ; http://php.net/mysqli.max-links1 W! z& w' R. ?7 x3 O/ \$ n
  1205. mysqli.max_links = -14 N  }4 x* K. n
  1206. 3 l& c; p: C$ e  `: H5 y! a
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache+ A) o1 }0 @% F# k: e% {$ @% \" h
  1208. ; http://php.net/mysqli.cache_size
    9 t# F% [; o8 |4 S+ N# x
  1209. mysqli.cache_size = 2000
    5 E5 y% ^% F7 E0 p9 p3 N
  1210. ( {) i# C- i1 r& T! y3 N! w
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use, K3 R- H' c. `1 p* ?5 {1 _8 E
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    . a9 m8 P# Z$ `
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    2 j) [( X5 M" x( f( J2 X6 M+ D
  1214. ; at MYSQL_PORT.
    : q! Y2 G# t5 P. J, h6 A
  1215. ; http://php.net/mysqli.default-port
    / N& Z0 Y6 l4 J6 i, W
  1216. mysqli.default_port = 3306
    * g- V+ e" {- S0 A

  1217. 7 `. _( ~5 |& Q# W; Y' z" I
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ Z1 i$ _) a8 M& h' I7 r" z  }, ?
  1219. ; MySQL defaults.4 z3 n& I& t# ?
  1220. ; http://php.net/mysqli.default-socket
    : W( l# e" ?: I8 S1 n3 v$ `  w
  1221. mysqli.default_socket =
    ! V; i5 A5 A- z5 X. ~3 s

  1222. & j1 Z( `% O/ Z6 F8 I
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ; l7 [4 N' d7 h6 n1 @
  1224. ; http://php.net/mysqli.default-host- H3 z$ E3 w4 B( P# o7 Z4 U
  1225. mysqli.default_host =
    1 Z. B) c( r$ Y$ i. ~
  1226. ( E4 j$ j" ~4 \! p" ]( b! Z# N
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).3 v' D( X- U- I, J& [9 u
  1228. ; http://php.net/mysqli.default-user
    8 I6 z" `8 F$ W
  1229. mysqli.default_user =
    5 c2 L" G4 z0 l5 H3 P6 J6 M3 w( d

  1230. 6 ]( H, W$ ?5 e
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode)., s1 o4 h& r$ s1 c/ r- |' e5 ~/ A/ B
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    3 C: y* R3 M. u$ B. S$ A, M4 H% u
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")- I5 P) g, a9 r) A! B1 S9 O1 Y
  1234. ; and reveal this password!  And of course, any users with read access to this
    2 P) T3 ~  k! ~) @
  1235. ; file will be able to reveal the password as well.
    * m8 U. o2 y/ O! q2 w9 P
  1236. ; http://php.net/mysqli.default-pw
    1 O. k0 `! N8 b  m8 N4 k
  1237. mysqli.default_pw =( z8 u7 R7 D0 M. q2 Y
  1238. 3 ]2 {7 v6 g+ }- S) F
  1239. ; Allow or prevent reconnect
    % u0 L& A+ w! h0 x! }' A' C1 l6 E
  1240. mysqli.reconnect = Off, k6 ~7 B: k+ U. d" w# k

  1241. / h( \4 G0 ~9 G
  1242. [mysqlnd]
    3 e7 n/ K+ a( D% _' u3 u+ \) b
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    & i7 w/ u% F1 I4 v4 O
  1244. ; used to tune and monitor MySQL operations., B8 `, J$ P, t6 v
  1245. ; http://php.net/mysqlnd.collect_statistics# z4 ^2 ?8 z# @# x  W# P) C
  1246. mysqlnd.collect_statistics = On
    , y, t" E$ h+ v8 [( X$ s+ B5 _# B

  1247. , |9 s% o6 Z! r; W* G
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    + k' [' C, l  |: q) Q# X# O8 l
  1249. ; used to tune and monitor MySQL operations.# t, C) C* U5 v4 H" b* d! i
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    3 g, I7 j7 R- i/ i/ Q% [  Z
  1251. mysqlnd.collect_memory_statistics = Off
    % q# h  [+ Q, W4 b# g  E

  1252. ; K" N0 L$ N) _
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    ; {  |, b) o, A: o7 l
  1254. ; file.
    7 R! c! o/ j0 ~* r1 |3 S  r9 n
  1255. ; http://php.net/mysqlnd.debug: E9 y* D# f& x: ], N
  1256. ;mysqlnd.debug =
    . r1 p. T4 t$ B2 T$ r' Q3 }
  1257. 4 ~$ W% j" j6 L* B) j3 T8 T
  1258. ; Defines which queries will be logged.
    / w4 x3 M. c' _
  1259. ; http://php.net/mysqlnd.log_mask
    7 ]/ u5 G& e" L) z& T) \; u' M8 V
  1260. ;mysqlnd.log_mask = 0
    8 G: j' R( ~* q$ `! u
  1261. 7 L) ^+ f; l0 O, B; d  j1 @8 i
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    + @* p. e1 L7 F  V3 o
  1263. ; http://php.net/mysqlnd.mempool_default_size
      F' @" S) f4 \! d1 Y& T
  1264. ;mysqlnd.mempool_default_size = 16000
    , t8 g+ |5 y6 e9 h( V: b# U

  1265. , Q0 X+ i! Q% o+ ^6 z% n
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    0 i0 x- T" o8 n; Q9 A- ]9 Y
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ) n: b7 p8 a8 e3 E; S3 W) d  J
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
      f1 T$ O1 p8 P0 K/ s+ d5 i

  1269. 6 F4 P/ z. ^# R9 ]" i
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ) H  q9 A8 Y' Y& y: r( d8 W
  1271. ; bytes.& ~& z% [% s2 r
  1272. ; http://php.net/mysqlnd.net_read_buffer_size' q! C" [) i, `$ k# w6 i
  1273. ;mysqlnd.net_read_buffer_size = 32768( Y) P3 T5 u. ]: U

  1274.   f% ?7 D$ b# Z0 |9 U
  1275. ; Timeout for network requests in seconds.5 s2 f0 l2 `- j. M; O# D; t- G. N9 n
  1276. ; http://php.net/mysqlnd.net_read_timeout# P0 t8 ?9 s. f3 l) \
  1277. ;mysqlnd.net_read_timeout = 31536000
    6 g! h' `2 W9 |1 q( ?
  1278. ! P( B7 o# h5 ]8 U
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA" _3 e: k. N- S1 A% d3 j8 L; B; m
  1280. ; key.
    6 G4 U- T& A) f8 l  X
  1281. ; http://php.net/mysqlnd.sha256_server_public_key. q$ Z/ a0 b' T
  1282. ;mysqlnd.sha256_server_public_key =- Y6 q& L. A5 A9 u) X' G* S/ h

  1283. 3 D( e+ r1 t" b  |! a
  1284. [OCI8]
    4 |# r4 f3 l0 g" L% j# z' H" Z8 N+ o

  1285. 2 y3 Q+ i, J# c, T* T! O, t# W2 \$ ~
  1286. ; Connection: Enables privileged connections using external6 {( V9 ]3 m& Q# B6 i3 i6 f' Z
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    & [$ i) c6 a/ g
  1288. ; http://php.net/oci8.privileged-connect
    & a! Y5 c6 A# h  C. z$ S
  1289. ;oci8.privileged_connect = Off1 U7 |: H" I/ v' h5 e* i
  1290. ( J1 q; U5 c- B% R
  1291. ; Connection: The maximum number of persistent OCI8 connections per: C4 N6 [3 \9 O% i0 ^
  1292. ; process. Using -1 means no limit.3 O0 ?- {; q* ]# I  w6 ]" _! x) b
  1293. ; http://php.net/oci8.max-persistent
    * D, Q' |; @2 _& x4 @7 W
  1294. ;oci8.max_persistent = -1) p6 Q7 x' P# h% K: I

  1295. 5 N  t6 g8 h3 w
  1296. ; Connection: The maximum number of seconds a process is allowed to
    $ M# }2 @9 v  R! x4 \  w* F* ]
  1297. ; maintain an idle persistent connection. Using -1 means idle
    6 {( b5 ~  h$ A. Y0 M3 U
  1298. ; persistent connections will be maintained forever./ M4 d8 y: d5 i5 r' k5 R
  1299. ; http://php.net/oci8.persistent-timeout
      b& t9 h, C: s( L8 N, E
  1300. ;oci8.persistent_timeout = -17 n% G7 {' R% l! a/ J
  1301.   v0 N4 D3 G: M- ^: m$ N
  1302. ; Connection: The number of seconds that must pass before issuing a# S9 Y8 `! d- c% O# J+ F
  1303. ; ping during oci_pconnect() to check the connection validity. When: L1 c. F# d- D7 S
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    8 F& M2 G% K9 s" T+ `3 P# C
  1305. ; pings completely." d7 U( ~9 q5 E1 f' o3 ]2 o( r
  1306. ; http://php.net/oci8.ping-interval
    - n( X% Y  \7 N( q% Q
  1307. ;oci8.ping_interval = 60
    / P4 u  z5 q3 j/ l5 R
  1308. - S- z% c, u) y1 M
  1309. ; Connection: Set this to a user chosen connection class to be used/ W5 t$ N- Y2 f
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    1 F8 S" `# e, w7 X; V
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    5 J7 n/ @1 J4 `- m4 d
  1312. ; the same string for all web servers running the same application,
    # v1 E* H. B. f2 I' \, f% i: T
  1313. ; the database pool must be configured, and the connection string must
    " l+ H, t+ O1 R6 Y; c  {
  1314. ; specify to use a pooled server.5 a2 B5 f" W8 f  i& d7 y/ h
  1315. ;oci8.connection_class =7 u  F8 Y2 M6 C# x4 P" o3 t4 g7 G" c
  1316. 7 u' v4 F/ Z. J+ \7 D4 c4 K/ V
  1317. ; High Availability: Using On lets PHP receive Fast Application
    - p; ^% X- F8 ~8 j
  1318. ; Notification (FAN) events generated when a database node fails. The
    0 D0 h# i6 I4 r8 s2 m
  1319. ; database must also be configured to post FAN events.- K+ E3 T6 u# {9 e
  1320. ;oci8.events = Off
    + b4 \. W2 }, T: C: _. Y
  1321. # M* h  ~% J/ ^7 X8 R! U# d; B
  1322. ; Tuning: This option enables statement caching, and specifies how
    - [5 ]; `) Y- c5 e7 s; o
  1323. ; many statements to cache. Using 0 disables statement caching.
    6 Z6 T, k- Q6 s
  1324. ; http://php.net/oci8.statement-cache-size
    - k2 Z5 g1 v+ w: f( j5 s8 ~% i
  1325. ;oci8.statement_cache_size = 20! T3 Q" d, Q- O7 v" w- i
  1326. 2 J9 h5 `/ S( }! {% l
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    / M0 y+ l# V  A
  1328. ; rows that will be fetched automatically after statement execution.% b. j% }8 i3 Q9 Y
  1329. ; http://php.net/oci8.default-prefetch7 t* b- k4 d) i, @, y+ Q
  1330. ;oci8.default_prefetch = 100
    , u4 Z8 [9 v+ R- @5 [9 O4 [
  1331. 4 _. @6 T8 \" F. l  S8 R1 {
  1332. ; Compatibility. Using On means oci_close() will not close
    # V% d2 E$ J7 I  Q+ l) P' b" \! x
  1333. ; oci_connect() and oci_new_connect() connections./ K3 p, J- _" c8 O) b% i, O2 y% J
  1334. ; http://php.net/oci8.old-oci-close-semantics
    3 e& P) c: ]# }; F0 n
  1335. ;oci8.old_oci_close_semantics = Off" ~" y6 L# V) m$ }- C

  1336. & {- u) e3 b5 f
  1337. [PostgreSQL]
    # D- u: p9 V9 X- }7 t( I
  1338. ; Allow or prevent persistent links.
    ' |; o0 E4 a; A) C$ i
  1339. ; http://php.net/pgsql.allow-persistent
    + s' b! U- j8 G) V3 ^! y/ l% C
  1340. pgsql.allow_persistent = On) k& B, u) P$ M& o) h

  1341. * y( {% g4 ~' F4 Q8 R: a. f( Z
  1342. ; Detect broken persistent links always with pg_pconnect().
    0 s6 \! e( I3 S6 _
  1343. ; Auto reset feature requires a little overheads.
    / i$ {) [& \' F* A9 r
  1344. ; http://php.net/pgsql.auto-reset-persistent
    ( r- s! w6 @# C# Z
  1345. pgsql.auto_reset_persistent = Off
    * F+ O" [0 B0 `! V# Q/ \, z2 q$ _5 \
  1346. 5 K" c: D" {: y) R) j0 h& y
  1347. ; Maximum number of persistent links.  -1 means no limit.
    $ A1 o: M4 A3 G7 a$ ~+ @! j
  1348. ; http://php.net/pgsql.max-persistent3 _0 c# \* X( M) X
  1349. pgsql.max_persistent = -1
    ! [# _5 b7 S4 o/ B" w6 l( u/ M$ c
  1350. . I) P9 t2 e. S# `' H% Z1 w9 s. b
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.  c  d( a2 S0 y3 {: |: l- U0 p
  1352. ; http://php.net/pgsql.max-links! Q  s4 A& N$ |  ]: X
  1353. pgsql.max_links = -18 B! X2 @  }) }$ L# }* j

  1354. & t& v7 z2 l0 s5 X
  1355. ; Ignore PostgreSQL backends Notice message or not.* p( n8 m; w- o( M  ^3 g- T  e, a" n
  1356. ; Notice message logging require a little overheads.+ z  e( \, @& }
  1357. ; http://php.net/pgsql.ignore-notice
    1 U# ]1 W% ?# p  R7 Y2 Q& n  p
  1358. pgsql.ignore_notice = 0
    ( o/ \6 `, P9 j
  1359.   e# k8 T' J, ?/ Y# Q' Q9 S$ L' ~
  1360. ; Log PostgreSQL backends Notice message or not.) z" ?+ p; J; T: t" y
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.4 _1 }8 v% I* t' [
  1362. ; http://php.net/pgsql.log-notice
    ; D3 a# r% {1 j! w* T3 C* G- x
  1363. pgsql.log_notice = 0
    3 J% w+ J7 z/ d2 D; T* q

  1364. # S* ~2 T6 i4 I3 O) B$ N
  1365. [Sybase-CT]
    0 H6 `9 J; D" P
  1366. ; Allow or prevent persistent links.6 _4 z$ \$ y0 N$ q( \. L4 O3 [
  1367. ; http://php.net/sybct.allow-persistent
    * S& T5 d3 A7 I) k# F: ?; X
  1368. sybct.allow_persistent = On
    ( ~' L- n' A1 o

  1369. $ {( c4 y& j+ S7 w, r; Z! k. w) T
  1370. ; Maximum number of persistent links.  -1 means no limit.
    1 M, z( |& Q4 j0 p6 i
  1371. ; http://php.net/sybct.max-persistent
      t4 [: d7 e+ P$ E# X
  1372. sybct.max_persistent = -1
    & U6 D# B* S7 w; E  j7 K: _5 c3 o

  1373. " s" v4 d: F3 Y
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ' X: K4 b, m( N; x& n+ Q9 l& Y
  1375. ; http://php.net/sybct.max-links5 Z/ E4 u8 y' C6 x% C7 S5 T" x
  1376. sybct.max_links = -1
    + r8 w; v- y8 I
  1377. ) x7 Y4 @9 L# _0 A2 l* u1 y. ]
  1378. ; Minimum server message severity to display.2 f* B1 }7 j$ |3 Q
  1379. ; http://php.net/sybct.min-server-severity+ u* O. f4 C1 D$ E" k* ~# N6 q
  1380. sybct.min_server_severity = 10
    . E  O: {$ G* N; V& @0 ^5 r5 U

  1381. ; X2 ^! U3 N6 _! @6 A2 k
  1382. ; Minimum client message severity to display.
    $ x+ ]( `  K/ H, |+ w: A
  1383. ; http://php.net/sybct.min-client-severity
    8 y5 f8 I% x) m7 u! H
  1384. sybct.min_client_severity = 101 u  C2 D$ n$ |+ E4 x
  1385. ( u$ G& Z! ?- X" P
  1386. ; Set per-context timeout
    & ]3 Y: o1 H( M8 e% E1 B8 R
  1387. ; http://php.net/sybct.timeout
    7 M! c# N7 X5 Q# m5 r  A
  1388. ;sybct.timeout=1 N" o1 V$ i0 \+ O- O6 }

  1389. 6 y! A" N6 q' M' C$ E* B
  1390. ;sybct.packet_size* F  ~2 r. f" E

  1391. . r% Y1 y$ \& ?: G1 j
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    . j* k* \+ d: Y/ X- v, V+ c" I
  1393. ; Default: one minute
    - M9 L' I6 D$ Y+ A' K6 Y
  1394. ;sybct.login_timeout=' Y# }  N+ g1 z2 ?0 G5 u
  1395. / J* u' e$ l' R
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.  b; j* {  O9 N% a1 D) ]9 C4 K
  1397. ; Default: none
    7 M8 s( [! }) b2 Q" i: X, Z
  1398. ;sybct.hostname=* O4 S$ s7 L0 H& [9 c# A! G
  1399. 8 ^6 `7 z5 i, w- }+ H2 c
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".1 m0 A  L! i- S* |9 R4 q2 b
  1401. ; Default: 0
    ) {* N0 ~& G+ x& L& |0 M. u: B% W4 b
  1402. ;sybct.deadlock_retry_count=
    8 ]# T7 Z1 I5 c7 I% k+ S
  1403. ; j- F0 B4 V7 n% ^3 f9 v! Q
  1404. [bcmath]
    - M3 F" Y8 {: P  ]5 M) u8 s
  1405. ; Number of decimal digits for all bcmath functions.3 |  t& r6 |& R+ o  f
  1406. ; http://php.net/bcmath.scale
    : n7 O; L8 @4 e
  1407. bcmath.scale = 0, q7 C$ e* y; F- o
  1408. 6 d* P. D; R' o  ?/ S; b
  1409. [browscap]3 A4 P$ N5 e, d
  1410. ; http://php.net/browscap
    8 q( C+ C, ~6 z& y, O$ P1 X
  1411. ;browscap = extra/browscap.ini; W& N5 e2 ?" T5 i8 k
  1412. 0 z  ]; l" W3 @' l, Y
  1413. [Session]3 d+ o" h0 M3 C( `1 c+ Y9 S3 K) K
  1414. ; Handler used to store/retrieve data.
    % E* ]! h. d+ H. P
  1415. ; http://php.net/session.save-handler' B9 v; H, _2 ~
  1416. session.save_handler = files
    + h+ g) z7 N. L" Z
  1417. , O7 n2 d/ W7 @7 p0 e
  1418. ; Argument passed to save_handler.  In the case of files, this is the path2 f0 s3 g. r! R' _, x3 z
  1419. ; where data files are stored. Note: Windows users have to change this1 r; Z. l- h5 N' d( I7 W- t6 ?
  1420. ; variable in order to use PHP's session functions.& c9 e5 x( o7 }1 ]
  1421. ;
    6 c! i1 y! G8 V' [) \. B+ f0 {3 J
  1422. ; The path can be defined as:
    # V$ V; L+ R, |# S1 f4 d- v
  1423. ;: x8 A$ S5 k. J8 k1 U7 B! _, p
  1424. ;     session.save_path = "N;/path"
    6 V) R) V. B- r5 ?) R6 S
  1425. ;! F; O# [7 C* K3 k0 M% l& Y; r
  1426. ; where N is an integer.  Instead of storing all the session files in" E- n1 Z) J  ~
  1427. ; /path, what this will do is use subdirectories N-levels deep, and, n0 C7 [# }, }$ {+ y' O! Q: f- @
  1428. ; store the session data in those directories.  This is useful if
    ( i) `) j7 r3 w# X2 m1 \
  1429. ; your OS has problems with many files in one directory, and is) W  q3 D' s0 n" s+ H* B
  1430. ; a more efficient layout for servers that handle many sessions.% Y- y2 W% i' d$ O2 Z
  1431. ;6 {  ~# \0 y+ a7 O9 }
  1432. ; NOTE 1: PHP will not create this directory structure automatically.; B" V/ V5 n4 x0 k, N
  1433. ;         You can use the script in the ext/session dir for that purpose.$ N3 t/ j7 j8 a, B" p4 ?/ p  k/ }; ^
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    3 _) \. v; P+ s  r! w
  1435. ;         use subdirectories for session storage* C, ~4 d7 H* j% ]7 ?, N' B
  1436. ;
    4 d% {0 [! u& H5 A3 J, C
  1437. ; The file storage module creates files using mode 600 by default.+ F( M) |. ~  `* |
  1438. ; You can change that by using$ e  ~2 t+ _3 G6 l/ D
  1439. ;; @- V0 W" ]( K$ H- M
  1440. ;     session.save_path = "N;MODE;/path"+ o( s8 l+ f3 ]6 ~* X7 e
  1441. ;
    % `3 M5 @% U0 A
  1442. ; where MODE is the octal representation of the mode. Note that this
    / I9 r7 D9 S, t
  1443. ; does not overwrite the process's umask.2 X, j7 |) I. B  N
  1444. ; http://php.net/session.save-path3 H7 K) O0 g/ L" o/ E; E% b
  1445. ;session.save_path = "/tmp"  g* P9 \% f6 T  D
  1446. 8 N* W2 y  B+ Y( D2 _0 Z
  1447. ; Whether to use strict session mode.. J! b0 [  R) c* z
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    : q8 ~% V7 v) F% S
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects; v5 ^& B1 ?% `( C; W
  1450. ; applications from session fixation via session adoption vulnerability. It is
    $ B) b9 L# R1 F
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ( U) N! i8 Q* {! u; E
  1452. ; https://wiki.php.net/rfc/strict_sessions
    ! O4 |6 B$ ~( J  C! t' j
  1453. session.use_strict_mode = 09 {( O; q" ?) R, J! y: X( q
  1454. % I0 Y6 f! Q' @3 h% P8 ~
  1455. ; Whether to use cookies.9 R2 r- g' ^! D4 D' y
  1456. ; http://php.net/session.use-cookies  Y: h1 _) T/ U! |0 }. B
  1457. session.use_cookies = 1
    8 k0 v5 x! l2 m6 [* l, m  Q9 K

  1458. 4 s  J! Y* F7 C; w5 g
  1459. ; http://php.net/session.cookie-secure( G8 A/ T& K# N! w
  1460. ;session.cookie_secure =, F, f" {& M  H( |% `( t' r

  1461. ( h/ ~/ @1 M  q6 D% D! v+ [: s& u
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    & Q$ w5 B# P: Y) @
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    , q" M/ T$ i/ d
  1464. ; session hijacking when not specifying and managing your own session id. It is4 e8 b! a0 D8 g9 d! x
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start., [8 R+ a4 s; i% @
  1466. ; http://php.net/session.use-only-cookies( Z' y7 Z, ]$ B4 g2 p4 ]! ^; ]
  1467. session.use_only_cookies = 1" C+ e7 Y& H+ R+ w/ q) o1 e
  1468. " H9 @. F2 D  [7 I9 k* M+ X. k$ E
  1469. ; Name of the session (used as cookie name).
    ' @4 u$ k. k% \6 T
  1470. ; http://php.net/session.name
    " W0 H9 r8 {5 J: I8 P
  1471. session.name = PHPSESSID
    6 ~% @9 h/ u+ a$ t: O! \
  1472. , T/ F  _, P- F6 W+ W9 e' g) ]
  1473. ; Initialize session on request startup.4 s1 v/ {7 ]* H8 ]; d/ S5 B
  1474. ; http://php.net/session.auto-start
    4 q) f5 q( F; e" `
  1475. session.auto_start = 0+ [" h3 W2 p. O/ b/ Z3 N
  1476. ) G: ^9 T# I, J% s2 }6 o8 \
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    . \3 c( p/ @& H1 }( |* L! V
  1478. ; http://php.net/session.cookie-lifetime
    , m+ Q9 s1 v5 ~
  1479. session.cookie_lifetime = 0" U/ K+ {; i  C* ^7 h/ O8 t, c; @

  1480. 5 {- S, h- W# Q1 S
  1481. ; The path for which the cookie is valid.: T4 A8 I. M  i
  1482. ; http://php.net/session.cookie-path" ~# T: ]1 K2 w+ X
  1483. session.cookie_path = /
      \$ R* `% c, h. M; H2 U& ?! ~
  1484. ! s5 P2 l$ @& p
  1485. ; The domain for which the cookie is valid.* z# {, ~4 l! h+ o3 T- v& |
  1486. ; http://php.net/session.cookie-domain6 y% H+ p2 w6 x2 n% ?5 K. h8 c
  1487. session.cookie_domain =: B& X5 p8 j& J% M0 y0 `2 h
  1488. 6 R# p! p) i! F8 R; D& C
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.& B, G" Z* f3 a/ p
  1490. ; http://php.net/session.cookie-httponly3 x" l- _* ~5 A* v+ N5 r2 L9 n
  1491. session.cookie_httponly =( \' }) j7 ?. I) e$ Q& M5 t

  1492. 3 w5 G' d5 P% \/ \$ o7 v
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.6 N) o3 Y& U7 x
  1494. ; http://php.net/session.serialize-handler
    . t7 V3 e# L1 J$ w* h! U( s7 ?
  1495. session.serialize_handler = php
    3 H' p. I/ |! _$ J
  1496. / k, i4 W8 u& @3 H! d% m
  1497. ; Defines the probability that the 'garbage collection' process is started
    # S  Z0 o5 d0 ~8 r- I5 K, X+ m
  1498. ; on every session initialization. The probability is calculated by using( Q, f/ S( p; F; _$ \
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    " Z4 e/ M1 x+ f; B$ N, e
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    . P; j' j, p& N3 _$ G* W
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ( {  A6 O3 R: n: o+ q  ^
  1502. ; the gc will run on any give request.% F# w' Z+ H# {! l5 E
  1503. ; Default Value: 1
    8 p; V# K% f  a. n7 Y1 r
  1504. ; Development Value: 1
    2 k  G5 K% }$ n) b0 U
  1505. ; Production Value: 1* _! l# F6 s7 H
  1506. ; http://php.net/session.gc-probability
    # B  q3 R- d, p' ?, b0 D: \
  1507. session.gc_probability = 1
    3 X$ Y- X. P7 G. l5 I( H

  1508. $ S# y2 R* s0 f
  1509. ; Defines the probability that the 'garbage collection' process is started on every; b2 b/ |- d. |6 N
  1510. ; session initialization. The probability is calculated by using the following equation:
    ; N7 B. u! {7 K" Z% E
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    8 E1 N2 Y* {% y$ y  b
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 16 n6 q! j4 O" S8 {$ t5 r
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    / x& H/ e2 i4 C$ o0 \# |
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    , Q: S: }6 P9 L( D5 v& V" t
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,7 }, e' z9 F: M' l; X
  1516. ; this is a more efficient approach.
    4 s7 w: j8 ~6 Y3 F+ a2 A# U0 p
  1517. ; Default Value: 100! T# o. J4 `5 ^
  1518. ; Development Value: 1000
    : `4 F. z, l" m8 M" @' o
  1519. ; Production Value: 1000
    / r8 Z! E4 P7 f: j' s# A
  1520. ; http://php.net/session.gc-divisor
      U: Y- n+ e4 c, Z, l# [
  1521. session.gc_divisor = 1000
    % ^8 s# y. G* D% |

  1522. ) m0 a$ H5 K/ O1 j
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    ; x) U4 F1 i0 v  |( S1 P; N
  1524. ; cleaned up by the garbage collection process.
    + _0 L0 w0 L+ T: ?
  1525. ; http://php.net/session.gc-maxlifetime
    9 c9 b, u6 t, F2 G
  1526. session.gc_maxlifetime = 1440
    / t9 W, {/ Y) w8 N
  1527. 0 A& R! V/ j7 I# n/ |( d
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    0 W% c/ G4 T' s$ s% R, ~  E
  1529. ;       (see session.save_path above), then garbage collection does *not*; X# p- v0 s. y7 \7 d# S
  1530. ;       happen automatically.  You will need to do your own garbage: M" S# u* k1 N
  1531. ;       collection through a shell script, cron entry, or some other method.1 M+ _; m- b0 X6 O+ N
  1532. ;       For example, the following script would is the equivalent of
    5 g$ x' O5 E/ g
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):. Q- z. d  P8 Y# q& H
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    6 U) P4 l' ]7 {# y+ s& @$ P. x

  1535. % ^: E. U* j5 h! Y& o
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    : M: w: J# f" G5 L. g; d
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    ; j" H- ?4 o( I! H$ _  o
  1538. ; considered as valid.: s: i$ \5 B* X4 f4 J* x' ?+ O" ?; v
  1539. ; http://php.net/session.referer-check. n# i, B+ d8 [, X" B
  1540. session.referer_check =
    , {. ?/ R% }( n1 N4 s  l& {; x
  1541. ) l% G7 P2 D  I0 R9 `  _, p; b
  1542. ; How many bytes to read from the file.2 D" z' D5 R; l, t( V
  1543. ; http://php.net/session.entropy-length% K) [9 T$ ~/ l  h
  1544. ;session.entropy_length = 32
    6 S( D5 y7 Y8 k) H( F) D
  1545. - M( V% `6 y0 l0 M, Z; N# E
  1546. ; Specified here to create the session id.
    3 o* Y2 [2 ]. P5 R# C9 Q! R1 V* {
  1547. ; http://php.net/session.entropy-file
    . ?0 G$ Z8 O. J: d6 w, J
  1548. ; Defaults to /dev/urandom$ |+ V$ d5 F8 e1 B+ l" y+ K7 j3 s+ y
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
      t5 K/ h' @  O3 F6 B
  1550. ; If neither are found at compile time, the default is no entropy file.' I+ E% p  L9 |
  1551. ; On windows, setting the entropy_length setting will activate the8 t, K9 r' x8 n( S! k. ]# Z" F% Y
  1552. ; Windows random source (using the CryptoAPI)
    1 I. a- r# Y& b! `/ d5 p  U& ]
  1553. ;session.entropy_file = /dev/urandom
    0 W# W) f5 E6 W) H5 x5 w% h
  1554. 6 j! y2 ?' B9 {9 @7 j
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects* _6 z* m/ D4 j
  1556. ; or leave this empty to avoid sending anti-caching headers.
    1 o) {  f# s- B* @. q! S; A
  1557. ; http://php.net/session.cache-limiter9 ^, T  |3 v# `! S
  1558. session.cache_limiter = nocache
    / s5 p. G' X# \! D4 l; _

  1559. . j* `1 I) G  l) P2 ^
  1560. ; Document expires after n minutes.3 f1 Z1 l- q0 F7 B+ S8 m  ^2 k
  1561. ; http://php.net/session.cache-expire
    8 t( c" L5 u& ^$ E; @8 s  i* R
  1562. session.cache_expire = 180! p& }. o2 D. D0 k0 N! D1 O

  1563. : r* b7 @' ^6 `1 C3 M4 Y) m1 [% S
  1564. ; trans sid support is disabled by default.2 k. q9 a: |7 x0 a- v. P
  1565. ; Use of trans sid may risk your users' security.8 o+ K3 D6 H% g2 j, c5 e
  1566. ; Use this option with caution.+ _5 e* K+ B( t' g1 L
  1567. ; - User may send URL contains active session ID
    % f" h" n; I7 k  ~
  1568. ;   to other person via. email/irc/etc.
    1 K7 c( P( c" k6 n
  1569. ; - URL that contains active session ID may be stored6 N! A7 ?7 O' i) T: i
  1570. ;   in publicly accessible computer.
    $ k( t7 i4 g# N
  1571. ; - User may access your site with the same session ID
    7 `- |2 Y6 r- B
  1572. ;   always using URL stored in browser's history or bookmarks.: I' {& A$ b; u# |: a1 J4 a9 x9 b2 x
  1573. ; http://php.net/session.use-trans-sid
    , Q, l; O& T0 O" G- m( F6 N
  1574. session.use_trans_sid = 0
    + Q: J6 S2 ~( M+ o- [  r) b

  1575. , U& z2 L$ G5 f% `! O" b. D: T: \
  1576. ; Select a hash function for use in generating session ids.% d4 ?) [+ r7 \$ h% Q
  1577. ; Possible Values
    : M3 b& R3 l* U9 q
  1578. ;   0  (MD5 128 bits)+ m4 N0 L) e# H
  1579. ;   1  (SHA-1 160 bits)
    6 f; H- ?, T1 ]6 w$ o7 K: ~
  1580. ; This option may also be set to the name of any hash function supported by
    0 C! V# M; t+ m- ~/ i" d" k. _: {
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    0 S/ e! L& m8 k
  1582. ; function.+ Z* {: H% L& p* u6 ~  `
  1583. ; http://php.net/session.hash-function
    - A* C1 ]% E# f: G) E, `5 }
  1584. session.hash_function = 0
    0 W. y. r! h9 O' j

  1585. $ X( L5 l  g/ U
  1586. ; Define how many bits are stored in each character when converting
    ( ]9 H( I( q: G+ M. a
  1587. ; the binary hash data to something readable.+ s5 Y7 F) |6 O1 t1 [
  1588. ; Possible values:
    ) @8 K) }" Y+ g8 g( o
  1589. ;   4  (4 bits: 0-9, a-f)
    , D, J4 P  y# t% \
  1590. ;   5  (5 bits: 0-9, a-v)) K. ]* w6 C7 a9 t' }+ J
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    & f8 h6 u, C& l% o* n
  1592. ; Default Value: 4
    1 P0 i+ x" l6 p+ [
  1593. ; Development Value: 5
    7 d- l8 Y4 m5 N/ l- g2 ^
  1594. ; Production Value: 5
    , q+ Z- [/ S! M* ]: Y. ^! G
  1595. ; http://php.net/session.hash-bits-per-character
    , a. X( z/ y% j
  1596. session.hash_bits_per_character = 5- j: R" U- \/ r- s! Q3 J/ `: e2 C

  1597. 2 H' g- R6 ~0 [$ J8 i
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    : x1 R0 A) T$ ?, g( \
  1599. ; form/fieldset are special; if you include them here, the rewriter will( e3 f: a1 E+ K4 [3 I. v
  1600. ; add a hidden <input> field with the info which is otherwise appended
    ' C7 J& R1 y! ]- r0 `
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ) J  d! t0 Y- {! V' p( L% m
  1602. ; Note that all valid entries require a "=", even if no value follows.8 w# Q' O9 {. ?
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ; x$ t2 t& B8 k- P0 |$ [! D
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 b9 k% H) H% d6 l
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  H4 t  Y: T! o- n
  1606. ; http://php.net/url-rewriter.tags
    1 y% z0 D9 e1 j7 J
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; V; r- b7 D" R# x+ p, o/ Z
  1608. & S% m& ?9 S; u. d$ D8 K8 \
  1609. ; Enable upload progress tracking in $_SESSION
    0 I* i# A) A0 d
  1610. ; Default Value: On
    3 |) E: M6 Q  z
  1611. ; Development Value: On
    5 ?9 p' V3 A4 s9 d) w& j/ [
  1612. ; Production Value: On
    + x2 V* v$ B, T! j% n2 D' T: R, H
  1613. ; http://php.net/session.upload-progress.enabled" d8 b! e6 W! L2 D! n
  1614. ;session.upload_progress.enabled = On0 f) K2 M: p" D9 t0 x( }

  1615. : l9 M" {6 ^  i; U" t
  1616. ; Cleanup the progress information as soon as all POST data has been read3 M+ G# U9 [2 M1 s% N0 b  ^
  1617. ; (i.e. upload completed).8 E$ I; E, |$ t- [* @
  1618. ; Default Value: On
    4 y3 R! t3 Z& q' @2 H
  1619. ; Development Value: On# n- w8 N6 g$ t& G
  1620. ; Production Value: On
    7 x4 S" Q5 @) ^. K$ ~- u$ B+ t
  1621. ; http://php.net/session.upload-progress.cleanup8 j- o3 C& a! _9 W. g
  1622. ;session.upload_progress.cleanup = On
    8 c/ u+ U. k+ f0 E! d0 T* r, W9 E
  1623. ' ]+ H0 v1 o3 Q) _  s/ t% _
  1624. ; A prefix used for the upload progress key in $_SESSION( j: W0 T- U: t7 D* W4 Q/ F: b
  1625. ; Default Value: "upload_progress_"4 S; C2 x5 A/ Q% Z" |" ?/ @
  1626. ; Development Value: "upload_progress_"7 }' Z; |! {5 d% C0 T. L! `  b
  1627. ; Production Value: "upload_progress_"  U9 K& ?% y8 g
  1628. ; http://php.net/session.upload-progress.prefix- M% Z+ }- y) D* e9 H
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ; Y1 A% @  L6 W8 ]0 o2 y% I3 k" I
  1630. 0 D) Q: O1 X! N( c1 D
  1631. ; The index name (concatenated with the prefix) in $_SESSION" ?; M7 J3 v% B* _  j7 k
  1632. ; containing the upload progress information
    1 o% g8 v1 {+ g# Y( |8 B; L5 G
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 i" \$ V2 }3 j& ]7 Y
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"# G% L/ Q7 k5 N9 l; X$ g# G7 Z
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    8 T! g5 l2 I' L( S! ^( A. _& z3 O
  1636. ; http://php.net/session.upload-progress.name
    0 E- C# \- H' t1 a. Q; f
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"+ N  B5 c' m( o4 B
  1638. * o/ Q- h  D3 \' l8 P0 p+ Q* q
  1639. ; How frequently the upload progress should be updated.: G! N/ r0 ~1 E/ q) a$ |# ?0 T
  1640. ; Given either in percentages (per-file), or in bytes
    5 p' A+ C# p! A, u7 ^; O& N# d1 p
  1641. ; Default Value: "1%"; C" Q0 a8 K: Q' N" |7 P6 [
  1642. ; Development Value: "1%"
    - z9 @# c# @/ U! V: T6 k
  1643. ; Production Value: "1%"* z3 S8 a* p3 ]" F" w/ B: p
  1644. ; http://php.net/session.upload-progress.freq
    ! D1 Z5 U+ H3 ?8 h  ]$ W( \
  1645. ;session.upload_progress.freq =  "1%"
    2 [3 R; ]% W9 |8 z* Y3 A8 H  ?
  1646. * u. O- w  O3 P  n1 \
  1647. ; The minimum delay between updates, in seconds7 R% ^1 B5 F5 O
  1648. ; Default Value: 1
    % X+ Q' i3 w1 I2 D. ]6 m; L
  1649. ; Development Value: 1
    * X* F8 x' L4 C* ]
  1650. ; Production Value: 1) d. Z: G1 x* s6 W; |% o
  1651. ; http://php.net/session.upload-progress.min-freq
    8 i2 Z) [7 r% G/ }' Z& V# V5 r% w
  1652. ;session.upload_progress.min_freq = "1"
    5 s' y/ x. D& V) q' q2 e- z

  1653. . K( O- {/ j3 h5 B  x8 V7 Y
  1654. [MSSQL]4 N. ~' m1 j# X+ I
  1655. ; Allow or prevent persistent links.
    # ~& L5 ?, L+ o/ K3 W  S
  1656. mssql.allow_persistent = On# X. ?" a4 e* S( n

  1657. 6 w4 Z& V3 h4 j1 z
  1658. ; Maximum number of persistent links.  -1 means no limit.( U6 T6 P. c0 P5 T! M# A" z
  1659. mssql.max_persistent = -1
    $ A: {, |( v: K8 H2 G, e# H
  1660. 5 f, j* d4 b3 C9 C0 E
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    & O. o& o& B/ L  \7 d- [
  1662. mssql.max_links = -1
    ; i: u# j" _% g+ h, l5 j
  1663. + c/ ~; q  ?7 X# b# m
  1664. ; Minimum error severity to display.3 Z. m0 P! J& I. B8 Y" F
  1665. mssql.min_error_severity = 10
    / q3 W) v- T6 t: E# k6 k

  1666. . [% u' s! }6 q6 K7 ~- w
  1667. ; Minimum message severity to display.! Y# q& |' y( R
  1668. mssql.min_message_severity = 10$ T2 c2 J! n) c: [( R
  1669. 3 f3 q& Y! W2 l1 s$ J( K5 F' I
  1670. ; Compatibility mode with old versions of PHP 3.0.
    2 ]- e: O) J$ L  w/ A% e$ T
  1671. mssql.compatibility_mode = Off! K$ k& U8 L$ _0 l
  1672. . q: e3 a' w# o) d
  1673. ; Connect timeout
    ; W: a( c* h3 W6 F- B! e; E
  1674. ;mssql.connect_timeout = 5, y6 w5 k. a5 F3 _8 T
  1675. - s! k* d# H) n9 K
  1676. ; Query timeout2 f5 u( s& a) s/ [" X# {! B0 C
  1677. ;mssql.timeout = 600 p; F# L0 @: U* z' e: Q& |: q

  1678. 0 b! I" K6 Q9 C2 V7 }3 ]1 T2 O
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    & ]8 N' Y& G8 C# G
  1680. ;mssql.textlimit = 4096' t* I6 B+ X- ^0 i

  1681. % p& \; z- A! }5 ~8 [
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    & i  k0 W  w  i  F
  1683. ;mssql.textsize = 40968 l: v3 x0 j/ Z9 ?7 {- [! c
  1684. ' \0 S* f- ]5 P- ^* ], N9 K
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    9 D5 H% f% O; e+ }2 K4 V# t
  1686. ;mssql.batchsize = 0
    ) z/ D# ~2 y$ W$ e

  1687. + j3 T0 D* N2 v# S- @, I
  1688. ; Specify how datetime and datetim4 columns are returned
    % S/ A  b+ O# k, O" d2 }6 T/ h
  1689. ; On => Returns data converted to SQL server settings" g" ~% L9 B4 p; q: b6 u3 w; ?, Y! N
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss! Y6 a  B. t! d# x; L$ r1 x0 {
  1691. ;mssql.datetimeconvert = On* M. N# l$ Q) @1 v/ W8 H
  1692. 2 A6 L; P# V0 i. }7 T
  1693. ; Use NT authentication when connecting to the server
    : I" k5 Z! R8 z5 @
  1694. mssql.secure_connection = Off" R" h! I3 V4 o, A7 W0 w2 d

  1695. 9 n9 ?1 J8 ^+ N, i% t5 O
  1696. ; Specify max number of processes. -1 = library default
    7 E$ G& V* @$ t6 [/ I
  1697. ; msdlib defaults to 251 l* c) P& W( o+ h) i' w: q
  1698. ; FreeTDS defaults to 40969 b* Z' a2 ]' n) m8 ^9 p3 i$ c2 e
  1699. ;mssql.max_procs = -15 [5 L6 f/ a9 L$ ]" {/ o
  1700. & P/ w: K. Q, o4 F* t: e
  1701. ; Specify client character set.3 F" M$ ^2 K+ G7 l" P3 l: W+ @
  1702. ; If empty or not set the client charset from freetds.conf is used3 [  q! r5 x6 B5 O% K
  1703. ; This is only used when compiled with FreeTDS1 S) J0 W2 p# V$ ~
  1704. ;mssql.charset = "ISO-8859-1"
    * ]; ]/ \0 i  }$ s4 x

  1705. 1 |5 Z; g0 o0 I2 m
  1706. [Assertion]
    9 m/ c6 \/ i+ s( j
  1707. ; Assert(expr); active by default.
    * r1 ]/ e5 M8 E3 U! w; n; x
  1708. ; http://php.net/assert.active4 d) }: `' G& J
  1709. ;assert.active = On
    9 ~/ E1 k& z- j, |- R: t, U

  1710. 9 e8 `; h& \. m. O, v
  1711. ; Issue a PHP warning for each failed assertion.6 o  y3 r' V5 X
  1712. ; http://php.net/assert.warning, @# E8 I+ R: W2 {/ j+ h3 Z! O
  1713. ;assert.warning = On
    7 G; S8 Z# o0 y! ~
  1714.   {6 g: A7 H  @5 I$ M1 ~
  1715. ; Don't bail out by default.6 Q& s& c+ }9 j8 d4 d3 ^# n
  1716. ; http://php.net/assert.bail# R0 {( j5 ~) c0 i# z! u
  1717. ;assert.bail = Off; j* O, ?! R. x9 w1 A* M5 j
  1718. # t* e8 P% \2 [/ V. K
  1719. ; User-function to be called if an assertion fails.
    6 S$ z2 ^7 }- S$ ]! K
  1720. ; http://php.net/assert.callback
    , D( m+ X: h( L" X2 |
  1721. ;assert.callback = 0
    3 c1 v9 z2 ?! S) C; p$ X. O

  1722. " r, @! E0 X& j9 W
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    ) \- ]* h2 T5 O# b6 Z3 K5 }
  1724. ; error_reporting(0) around the eval().8 M; J" S- d( q: _
  1725. ; http://php.net/assert.quiet-eval
    4 {$ r- a' i, W) t  \
  1726. ;assert.quiet_eval = 0
    , \8 k: c; z" x4 d5 S

  1727. ) f* }7 A6 L! x4 F
  1728. [COM]
    . A9 H3 p  T+ [
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ; _& ?# b# a4 m" n4 g* k: S  a! F
  1730. ; http://php.net/com.typelib-file
      g, u( }, A7 d7 e+ S, J
  1731. ;com.typelib_file =$ _4 C1 M6 a: t/ ?+ x
  1732. ! ?8 Q) O- h, ^) b* e6 C1 ?- X" t1 c# E$ @
  1733. ; allow Distributed-COM calls
    ! w" r) e$ D6 s6 e5 e) u
  1734. ; http://php.net/com.allow-dcom' F3 Q1 Y8 k8 }% l
  1735. ;com.allow_dcom = true
    8 F* s6 ]; ]9 n& y6 W

  1736. : o; h/ S3 J- I
  1737. ; autoregister constants of a components typlib on com_load()4 L  S3 l' X7 K! n& G/ j
  1738. ; http://php.net/com.autoregister-typelib" p- E2 q3 b) J6 O& L! k9 w
  1739. ;com.autoregister_typelib = true; b  L2 F3 J. a
  1740. ! C6 M" [: \( x) |- h& L: z
  1741. ; register constants casesensitive3 S% v! v6 ~, g( i( I  I, J$ D
  1742. ; http://php.net/com.autoregister-casesensitive- T% s4 ~% ^3 B0 j& k6 O
  1743. ;com.autoregister_casesensitive = false
    7 I7 ^5 n; J; N/ P* }6 _
  1744. 5 o; `" x6 N1 Z/ m
  1745. ; show warnings on duplicate constant registrations9 d( X* {+ d6 M# d( q  f( ~, M
  1746. ; http://php.net/com.autoregister-verbose9 _, w) k+ @" S6 N1 O- O- S
  1747. ;com.autoregister_verbose = true, F5 ?$ D% I2 j* z! d0 K

  1748. 0 g. C7 o" @6 H
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    / g/ I7 L9 X  ?# ]
  1750. ; Default: system ANSI code page
    8 o9 W) n! ^9 X
  1751. ;com.code_page=* D1 q( g# l$ @3 e, ?' d

  1752. 4 P( k; \8 W5 F9 c8 T  W
  1753. [mbstring]
    ; ^5 T+ d3 |! ~
  1754. ; language for internal character representation.
    # [% g; S& V0 n$ B4 o: W. n* ^
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
      J) G; Z; ~" d% i# _) R- u, ^
  1756. ; http://php.net/mbstring.language" w. ^* G2 V' m/ j2 v
  1757. ;mbstring.language = Japanese5 a* I) u' X. q  M* v

  1758. ' u& ~5 s1 ]& w7 c8 |' |
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    # E6 x8 }2 {# v5 a: |$ W" K' j
  1760. ; internal/script encoding.3 ^4 ?) }) T. k) D& Z, q
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)5 ?: C3 ~# n+ h: k6 u' O* g
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    : c1 `! T; z. I; k. S
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding+ v5 ]- ]/ h. r* r' ^2 [% Y6 L9 Z2 @
  1764. ;mbstring.internal_encoding =
    7 l% }7 u, C% X5 D& ?5 a% l

  1765. 6 q/ E3 B! f* ^3 o
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    5 Y0 _2 q& G$ z5 e7 i9 H
  1767. ; http input encoding.2 |) y" m. L: k. G# K  B! R8 {
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    $ q+ u; K6 E+ k
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.: `2 G4 i( d  B( W
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input% L  f/ x" _2 u- _: p" b
  1771. ; http://php.net/mbstring.http-input7 H  g8 y4 d8 M4 E& C/ A0 Q
  1772. ;mbstring.http_input =
    : {& O# x0 H+ I7 Z( L% D

  1773. 3 T! `! }2 V0 |& Q" J9 R7 I
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ! a, ]" S$ ?  ^3 [: O9 _# {
  1775. ; http output encoding.
    ( r  d6 A& c. u! \2 r
  1776. ; mb_output_handler must be registered as output buffer to function.! g0 A1 g/ L5 O3 y4 z
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.  g' ^; I% s2 i
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    9 U' I5 m# ~/ D% ~" o" A0 c4 b4 Q+ ]
  1779. ; To use an output encoding conversion, mbstring's output handler must be set! I$ C* N$ d) F
  1780. ; otherwise output encoding conversion cannot be performed.# g) \5 j, k) l
  1781. ; http://php.net/mbstring.http-output- y8 N" A. W$ B  r" x
  1782. ;mbstring.http_output =
    9 t- w  N3 f2 s% m4 Y0 {0 }
  1783. ! I5 N5 Q+ v: X7 H
  1784. ; enable automatic encoding translation according to& Q  f$ G6 q1 ?/ C2 j+ M: R
  1785. ; mbstring.internal_encoding setting. Input chars are& q. A) u# T: u- T% e0 Q7 _
  1786. ; converted to internal encoding by setting this to On.! p* M" d/ D& g+ n/ d* J, x( W3 g
  1787. ; Note: Do _not_ use automatic encoding translation for- f9 H. {5 A- A" L) K, g0 N4 t
  1788. ;       portable libs/applications.- g% ^* w- |/ a- d+ v
  1789. ; http://php.net/mbstring.encoding-translation
    2 t4 Y/ W5 W( z6 n5 i- M
  1790. ;mbstring.encoding_translation = Off6 }, Q& l0 @  {3 T$ |

  1791. " i- ~( U  t, Q/ h% w
  1792. ; automatic encoding detection order.* }- s: [$ \9 g1 B+ p0 @1 Y
  1793. ; "auto" detect order is changed according to mbstring.language2 z5 i1 Q9 e: Y& a) O( u
  1794. ; http://php.net/mbstring.detect-order
    0 {' ~4 e8 y6 m% T! i* `
  1795. ;mbstring.detect_order = auto3 o# m  m3 k2 F7 X
  1796. 5 ~2 W; l! P4 ?; p# ~5 r2 V, I2 {
  1797. ; substitute_character used when character cannot be converted
      S7 v+ q' c9 r' R: Y5 h  ?: o+ q$ L
  1798. ; one from another
    & B; Z4 N- v& S+ `# y1 I/ l: A
  1799. ; http://php.net/mbstring.substitute-character
    5 d% D& l; k- y4 t, ^, e
  1800. ;mbstring.substitute_character = none: J0 ~0 ~" K5 {( P; P3 q* _

  1801. 8 r! w4 d2 S, c% K; y2 J, K
  1802. ; overload(replace) single byte functions by mbstring functions.
    5 n8 d$ Q: Y% |+ n" C7 ?- T
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),) ]  b% K+ w7 M3 o* k
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    2 d2 {  G- ?/ ]$ Q$ `. a
  1805. ; For example, 7 for overload everything.
    : S% j( Q6 B( ?% y
  1806. ; 0: No overload
    ) B+ p, S0 _5 n" k+ n* w3 B
  1807. ; 1: Overload mail() function
    % B2 H$ S$ R6 d# \9 o% T$ `
  1808. ; 2: Overload str*() functions
    % I* N! k$ b) T
  1809. ; 4: Overload ereg*() functions
    * v( }9 `& i4 D3 h
  1810. ; http://php.net/mbstring.func-overload' R3 |  O& R* I$ W& `" W
  1811. ;mbstring.func_overload = 0+ s  \8 t7 x1 E/ i3 i. F6 T0 V

  1812. 5 E. X5 `" x, K0 }* T
  1813. ; enable strict encoding detection.  T0 t- V. I% p! S5 C' \0 Z; z0 o
  1814. ; Default: Off
    ; D  ~5 I1 H( E9 K4 k- a
  1815. ;mbstring.strict_detection = On, M2 z6 O7 j7 W3 ~" ?3 X

  1816. ! i0 o2 R. C0 j
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()) b/ W) I! [9 b' T) N
  1818. ; is activated.4 n/ x" C' Q! `9 O! \$ g6 f
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    6 o  Z- {/ Z" q
  1820. ;mbstring.http_output_conv_mimetype=, H% K8 N3 D5 S" h; S2 [

  1821. 5 D/ W8 H: K: q7 ?1 Y8 G0 p# X
  1822. [gd]3 R/ {2 `4 c6 n4 `5 o
  1823. ; Tell the jpeg decode to ignore warnings and try to create7 h5 ]4 V) {& I& D/ a- y+ r
  1824. ; a gd image. The warning will then be displayed as notices  ~8 z5 i* Z" `7 Q
  1825. ; disabled by default( n* F" R4 [. f. s! y) x, E$ Z
  1826. ; http://php.net/gd.jpeg-ignore-warning5 K: Z% [- c8 K6 k. s. z- B
  1827. ;gd.jpeg_ignore_warning = 0: C% z  C5 V4 ]- T/ k

  1828. 4 @+ c& M3 E! |9 R  u, h
  1829. [exif]
    / f  H" K* r2 ?/ y4 h4 v+ p
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.- }- m- K( a9 l+ D7 v9 }
  1831. ; With mbstring support this will automatically be converted into the encoding
    6 [! v- ]4 Y/ i8 l$ M' p2 ^
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ! v' W# S: T1 y2 E& `4 R
  1833. ; is used. For the decode settings you can distinguish between motorola and
    & l2 G& _5 m( P& p' o+ V
  1834. ; intel byte order. A decode setting cannot be empty.
    3 \- f# e9 }5 K1 W, r
  1835. ; http://php.net/exif.encode-unicode
    / ~) C/ Y9 M5 C8 Y4 _
  1836. ;exif.encode_unicode = ISO-8859-15
    ( `+ w- L3 W0 R, B1 ?. V
  1837. / S7 B4 J' n! @! X5 b) c
  1838. ; http://php.net/exif.decode-unicode-motorola
    1 K5 j" Z2 B1 a) O8 u* D
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    8 T6 }# |. d* W3 P$ z
  1840.   b, G3 Y" ?3 I: y/ W0 U, ?. n
  1841. ; http://php.net/exif.decode-unicode-intel
    , D+ K- F( {% U5 H
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    1 q8 k7 w4 d4 J6 [7 g- l2 S

  1843. 0 x3 U3 t# n3 n- `% [- r& `
  1844. ; http://php.net/exif.encode-jis: y' X9 ]3 G  `* `: s% ~
  1845. ;exif.encode_jis =
    + ^6 U7 B, w3 Z  T5 w) v

  1846. 8 b  d- `! P! B$ F
  1847. ; http://php.net/exif.decode-jis-motorola
    $ l2 x- k$ N6 h/ t# m: U
  1848. ;exif.decode_jis_motorola = JIS
    . |9 C- g& Y2 S

  1849. 6 K( u' i2 I4 |& s- U3 O
  1850. ; http://php.net/exif.decode-jis-intel4 |" D& ~" d. B! S* O
  1851. ;exif.decode_jis_intel    = JIS. `! r8 x0 Y- L+ O) [( H
  1852.   }5 p( j3 G' c7 @& C% G
  1853. [Tidy]) n. A: ]' N9 s8 U" q! X/ q. C
  1854. ; The path to a default tidy configuration file to use when using tidy! X% B7 X4 ]/ E9 c( I
  1855. ; http://php.net/tidy.default-config; i+ U7 ^) ~* K
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg9 L. h  o4 H  X8 y) |; a; ~

  1857. 7 I6 T4 L; F8 R0 e
  1858. ; Should tidy clean and repair output automatically?
    ! ^- ?. b: ?  ~. Z: S! I4 w4 k2 b
  1859. ; WARNING: Do not use this option if you are generating non-html content
      X& R8 H+ C  ~' i' j+ t
  1860. ; such as dynamic images( d$ p, q: I1 ~1 g$ }1 B4 ^
  1861. ; http://php.net/tidy.clean-output$ \5 V3 p, S9 k# u# ^: D+ L9 u9 U
  1862. tidy.clean_output = Off
    6 k, d% T/ y9 [( O* A' G
  1863. + [1 t! n  \! Q  c( C3 q0 v
  1864. [soap]% G' y8 d; r; V; [
  1865. ; Enables or disables WSDL caching feature.; C7 l6 G; Y" B2 u& c! L4 q  j) X4 Y
  1866. ; http://php.net/soap.wsdl-cache-enabled
    & M3 I+ F" u4 Y( ~
  1867. soap.wsdl_cache_enabled=1
    . T- Z! w8 g3 E) ?" f) |6 `
  1868. ; n4 ?- _1 J% L* H! e& {
  1869. ; Sets the directory name where SOAP extension will put cache files.
    . v7 |! s: v; ^, ^# F0 H7 |
  1870. ; http://php.net/soap.wsdl-cache-dir0 N  P$ \  V2 _. n( O% d/ T
  1871. soap.wsdl_cache_dir="/tmp"
    - l! H& |* c! Q
  1872. % ?2 Z% M/ R) j) b! v$ R
  1873. ; (time to live) Sets the number of second while cached file will be used
    " F1 G  ]( H$ E! K( U4 |
  1874. ; instead of original one.
    0 ^; ~7 j# q7 o* i2 \3 I) U# w4 c# Z
  1875. ; http://php.net/soap.wsdl-cache-ttl; I$ y1 i: X' c) f. Q
  1876. soap.wsdl_cache_ttl=864000 Y# v# m* b8 t) K: j+ m7 R$ u
  1877. 4 Q# e; @' \: z! ]8 _8 |& e& e6 U3 ?. X
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)1 H: }7 w% J6 N" S
  1879. soap.wsdl_cache_limit = 5" g0 I/ H: {. i1 J3 b

  1880. 3 T- _4 |  d+ ^
  1881. [sysvshm], ^- h0 ^" a* q- v9 ?
  1882. ; A default size of the shared memory segment
    # [3 \7 n" h/ {  q8 l8 B) O
  1883. ;sysvshm.init_mem = 10000- m8 h5 v9 C' m! e. U5 T. o( w
  1884. 5 n8 D8 Z, r1 l: N8 p2 Z: z
  1885. [ldap]/ R5 b' h! w4 V8 l% s
  1886. ; Sets the maximum number of open links or -1 for unlimited.; P" @+ P  e5 S1 n2 G& x
  1887. ldap.max_links = -1
    ( c' U4 \' r& @, w* v

  1888.   Q" B2 t0 w8 R# }  o. @3 g
  1889. [mcrypt]1 _* H/ V( b# W+ x- N8 @5 [
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ; m, M& n4 I- u7 J2 F
  1891. , _! O9 a) \' E0 C- I
  1892. ; Directory where to load mcrypt algorithms4 s' ]! ?7 x+ C3 E# `) I) E3 U
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)3 T: F8 }% T7 K/ t6 o+ z- u  }- ~) m+ Z
  1894. ;mcrypt.algorithms_dir=# i2 B2 c( s; k/ ]8 C  n/ s0 q

  1895. * _& @; N8 [6 {# i& ~
  1896. ; Directory where to load mcrypt modes) k* v+ _' T* S. e3 l* _* C4 K
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ' l' o& U1 l% D. j) V5 w0 k5 W
  1898. ;mcrypt.modes_dir=$ F4 u! z8 m5 E+ j: w
  1899. / k) T" s  H6 p" y, y2 U; ]9 K7 f
  1900. [dba]
    5 W0 D5 X1 P1 [- h0 a  R5 U; C
  1901. ;dba.default_handler=
    & q  ^6 K4 X4 {6 O
  1902. 0 |  c% \9 v) ~1 s6 y2 A* C
  1903. [opcache]
    1 h8 d" a! q& i
  1904. ; Determines if Zend OPCache is enabled
      F  o* u* s1 h
  1905. ;opcache.enable=0; q% s1 v4 @7 F6 o8 h

  1906. # f& W" a9 `- q: \" o4 h: r
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
      \9 f7 |" K, v/ i2 o
  1908. ;opcache.enable_cli=04 m$ X9 J6 Q7 k& _6 I8 L

  1909. / G- d# {6 i; m+ n' y, n  S+ O# `
  1910. ; The OPcache shared memory storage size.9 t( t% ]7 c% g7 ?( D1 o
  1911. ;opcache.memory_consumption=64; \' j3 h" W% V" I2 _" j
  1912. 7 M: z4 x3 i1 M
  1913. ; The amount of memory for interned strings in Mbytes.* @  w" \# r2 N8 D
  1914. ;opcache.interned_strings_buffer=4% N0 [$ ~- |2 d0 v* r4 D/ E* ]& r7 X
  1915. % b) u( ?7 [7 f5 s9 F/ x
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
      g  B/ S& G4 I3 Z$ }8 c
  1917. ; Only numbers between 200 and 100000 are allowed.
    : ~5 ]. l$ V3 I& i" Y0 p
  1918. ;opcache.max_accelerated_files=2000
    , C0 W/ ~4 c2 |% O: e; j+ P
  1919. ) _: t. U. c9 J2 u* z! I9 a( P# }
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    6 f$ D# @/ o2 {/ n# I
  1921. ;opcache.max_wasted_percentage=5
    0 i0 M2 K0 D9 P" S* [
  1922. $ c" l% u1 P  o) d2 E1 [0 ]* C
  1923. ; When this directive is enabled, the OPcache appends the current working
    8 b% k- f0 t* j: ?  a
  1924. ; directory to the script key, thus eliminating possible collisions between
    7 v/ e. D, N1 {" B1 ~
  1925. ; files with the same name (basename). Disabling the directive improves
    # r) W7 R9 \) X, g# Q- Y7 ]& a2 U+ D
  1926. ; performance, but may break existing applications.! p/ M1 Z% Z  u1 Z; d: A) t
  1927. ;opcache.use_cwd=1  J% H& e( t7 t/ |

  1928. ! g% E9 @( W# q/ N! f5 O
  1929. ; When disabled, you must reset the OPcache manually or restart the9 N/ J3 G$ V9 W1 A
  1930. ; webserver for changes to the filesystem to take effect.
      {5 n4 _; s6 V' W9 X; W% _. t& q' W
  1931. ;opcache.validate_timestamps=1
    & G2 W8 {8 S2 V8 w! P7 h1 d4 Y
  1932. $ E+ _1 v" S7 l, Z
  1933. ; How often (in seconds) to check file timestamps for changes to the shared9 J5 y. g9 S, K4 ~# @
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    & V5 m$ o( \  @0 w. `8 e5 I# ?
  1935. ; once per request. "0" means always validate); {; o: N7 g: R4 D, R% m
  1936. ;opcache.revalidate_freq=2
    ! z; i: K+ f& u% P/ l. L
  1937. 0 a; h; {# @# p/ E4 ^' j
  1938. ; Enables or disables file search in include_path optimization
    4 ]* \1 m: z; w' z& S4 r3 h
  1939. ;opcache.revalidate_path=0
    5 }4 H7 R& x6 C6 f# O+ O
  1940. ! i" h" _5 C; Z8 K
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    1 I, \0 z7 y& Z- M
  1942. ; size of the optimized code.
    4 Q5 E5 `4 c4 C8 ^" T! x
  1943. ;opcache.save_comments=1
    $ h  K6 n& v2 R+ J

  1944. 5 J- O& z/ {' k' E0 T7 {7 t" I
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    5 C4 Q2 o5 g% T9 q6 B: {2 ^
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    . [+ c4 K, \" h
  1947. ; that don't need them anyway.) ^  J. J# M$ ~+ z! R; x
  1948. ;opcache.load_comments=1
    6 n! t1 I0 }; q# R2 C  y

  1949. ( V- H2 B6 S; g# D
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code/ w8 Y  U2 {$ a: f: t6 H# A
  1951. ;opcache.fast_shutdown=0. E- K- s5 w! m+ c; d& c3 W8 D

  1952. % m, h+ z3 x2 N  K1 R; C
  1953. ; Allow file existence override (file_exists, etc.) performance feature.) a8 p4 I, [4 A6 x# T
  1954. ;opcache.enable_file_override=0
    9 b4 r; S2 I* O+ B; _% L
  1955. 1 w9 F, i5 F' k5 ?$ [: u6 L/ x3 G
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    , ^( V5 B  h0 n& E
  1957. ; passes+ |8 M' c$ P: @1 n" J# f$ a- i
  1958. ;opcache.optimization_level=0xffffffff
    2 n, R# b+ l/ w0 g/ W0 U

  1959. 4 p' g$ b: n/ z$ K
  1960. ;opcache.inherited_hack=1' [8 w- |) b& S$ K& ~
  1961. ;opcache.dups_fix=0
    6 ~: z: `" d# p' Q* B1 ~# `
  1962. 3 r) v: O6 @9 G! K$ C8 S% A
  1963. ; The location of the OPcache blacklist file (wildcards allowed).% I' L3 v' F1 D
  1964. ; Each OPcache blacklist file is a text file that holds the names of files% q+ |9 }; X9 i+ \; d
  1965. ; that should not be accelerated. The file format is to add each filename& O! M3 ~" T: }/ Z- t
  1966. ; to a new line. The filename may be a full path or just a file prefix
    ' u. i$ n8 b* E2 h/ i+ t( A
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    1 i# x2 n3 g: B5 L5 b
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    / I$ P! i( g" J, W/ s2 g
  1969. ;opcache.blacklist_filename=
    * h/ x( Q# }. B
  1970. & X% A+ q7 d. v
  1971. ; Allows exclusion of large files from being cached. By default all files
    " T5 |, q/ i/ D$ l1 P
  1972. ; are cached.
      R. _9 y0 @6 u# Z
  1973. ;opcache.max_file_size=03 h9 k9 u, B6 a: T' q

  1974. - r  t2 s% p/ b2 ?
  1975. ; Check the cache checksum each N requests.
    ; b: P6 R- T: q, J* D4 ^
  1976. ; The default value of "0" means that the checks are disabled.
    2 ~+ J8 V. E/ D& z$ a* E, k
  1977. ;opcache.consistency_checks=0
      ^) a! g, j6 f! X1 S. c
  1978. 2 E# Q& n, H+ y9 Q
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache' N& v% D5 _) w( n
  1980. ; is not being accessed.
    0 \0 b4 ]6 @# p- o3 w2 N
  1981. ;opcache.force_restart_timeout=180
    . |% G  z# v1 O/ o1 U6 G

  1982. 5 M& j( b$ H- E4 f. ^
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    ! k  U9 K5 e1 U
  1984. ;opcache.error_log=
    : @6 P1 O. ^0 Q

  1985. 8 I% N1 O( C$ O: `3 c. U$ Z9 n
  1986. ; All OPcache errors go to the Web server log./ i6 K: ?2 _% V, Q  W
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    6 K" j  _* ^- t" C
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    + v0 z% P2 ~) q$ n
  1989. ; debug messages (level 4).
    ' i# k) ]$ y9 a5 {/ b( Y
  1990. ;opcache.log_verbosity_level=17 }9 u, P+ ~4 W% n/ K
  1991. 5 ~" K8 H& N4 t3 O) p
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.$ d; n0 G8 W( s
  1993. ;opcache.preferred_memory_model=7 N1 f. J0 K/ H# L

  1994. 6 D: Q. o0 W# a+ j
  1995. ; Protect the shared memory from unexpected writing during script execution.2 u# _* h6 W+ n9 U
  1996. ; Useful for internal debugging only.
    . s" F, ]/ ^# _! {( k4 C5 ]
  1997. ;opcache.protect_memory=0
    6 B* d. b4 o% r& y- s& z  W3 h

  1998. # D: i' n/ `/ E: z4 x
  1999. ; Validate cached file permissions." S# a8 g' s0 v( u7 w  i$ W
  2000. ; opcache.validate_permission=0* ^" o% O; Q  m* h5 h; t0 K1 R
  2001. ! @2 Z0 t, w$ L0 F5 N# L
  2002. ; Prevent name collisions in chroot'ed environment.
    2 J; E/ s* q! P( I
  2003. ; opcache.validate_root=08 F7 \% q4 c- l0 d

  2004. ( H  g  U8 V( i; ^/ L7 ?/ r4 ?
  2005. [curl]! p5 w! R  J6 \' X& y5 ?
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an2 u  b' H3 C) E- G& c4 U4 h& q0 I8 U+ ?
  2007. ; absolute path.8 i& @0 Z$ l' U0 k' a' G
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt, @3 X$ ]  {( D2 g2 a4 f
  2009. . e; e9 E: ^: V
  2010. [openssl]# q1 A) T0 |% @4 Z, H4 ^3 q+ p
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem8 m1 f8 l4 g5 ~0 }5 l- T. Q. j
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ) p& ?+ ~. X) J1 \
  2013. ; not specify a value for this directive as PHP will attempt to use the& J1 M6 X. x, [, p
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
      G4 I) t) y: d. B8 w
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
      I- h0 p+ M8 j/ E3 W
  2016. ; option.0 a  {* h7 ^% I3 B; k$ Z
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt$ b0 n- r, Z4 a  }4 u+ l
  2018. # Z! F1 w1 C/ J; _
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    " i7 \9 S2 ~, x) ~) }# h
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    4 Z. ]* U7 o' v8 @& Q' j
  2021. ; certificate. This value must be a correctly hashed certificate directory.! m3 B/ B0 d4 U2 H3 Y
  2022. ; Most users should not specify a value for this directive as PHP will" _: ]: l( i$ Y$ Z/ b( w, ]
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    # {5 i$ r' I9 K+ d' n% M
  2024. ; this value may still be overridden on a per-stream basis via the "capath"- p/ z+ u" j0 }: F
  2025. ; SSL stream context option.
    * k4 S6 ~& y% e+ g( |& \
  2026. ;openssl.capath=
    ) H3 ]" d' B* v0 l8 v2 {5 z: d+ {

  2027. # \# k: @  e4 j  A- n0 O6 E
  2028. ; Local Variables:3 g. |5 H+ ~  P" H$ F
  2029. ; tab-width: 4' I4 a1 \/ ]# P, p+ x, [5 I
  2030. ; End:
    : }" ^2 B5 Q! G3 l  c# F; E& T

  2031. " q; g$ k! R7 [7 Q# j* R
  2032. ;eaccelerator; A6 v* P8 O2 Q. y6 O6 P
  2033. 4 ?' S# l  B6 R/ k# m3 z) \
  2034. ;ionCube& ?# y. I; L* K. V/ l( ]# z, W7 A
  2035. " a; G. A# |, o. e' F5 w
  2036. ;opcache/ b% n. \" W! _  m

  2037. 9 a; ~, l+ ^7 i4 a
  2038. [Zend ZendGuard Loader]* `5 E) T1 q6 x/ W& U
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    . {. ^" c5 e, @  ~& b
  2040. zend_loader.enable=13 ]) V# n9 |' P/ k2 y4 l2 M
  2041. zend_loader.disable_licensing=0. |% @, b( E' Z
  2042. zend_loader.obfuscation_level_support=3( a0 d, J3 O, y  K) c
  2043. zend_loader.license_path=) d( J# V& Q0 H
  2044.   w* Z  f* o4 l; U( y1 c4 [
  2045. ;xcache
    , d# x0 d* v: @

  2046. , Z4 W% W$ `& ^! c
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146928 Y! C. i& i) X- s7 V
1 Q2 z3 S4 w1 q( ?

# u4 X6 x3 O7 m. V4 `* C/ NDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,) {! S( s; e5 y- H2 `& ^
$ u: f  ]3 Z6 b7 p6 k- }
Discuz!程序版本选择:. d6 o# g5 x7 S  V5 f( j' d' o
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
# V. V/ S" c* v不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:' X9 P9 Z" ?1 O- {+ T# L* R& T
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。: [) d6 z* ]7 J6 r

  k& \/ D/ u( H& r# }Discuz!插件模板版本选择:
9 `' K5 C+ b! \1 j/ q; E很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,! _3 ^/ O0 L1 ?5 q* s
针对这个问题做个统一的普及:' r$ J* L, ~: b( G
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。5 g( d2 Z$ e8 J0 Y. m) S  h

; C$ k3 U/ o7 N4 x7 W- S0 Y所以
+ \; w+ }. Z5 Q7 ?9 M# p% h) x适合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的二级域名。6 Q: [7 X+ `' e+ Z( q! |
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
& x3 t7 Q0 H, |% N+ m注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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