分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.03 J2 @! E6 `& ^$ ]9 d- Z) ^0 R3 ?

" w$ L# W" X+ V0 e
  1. [PHP]
    ( S" J1 g) H2 [  i( ]  ?1 t& E

  2. 2 R" \( P! e, H& [- ^! Y. j( Y) u7 o
  3. ;;;;;;;;;;;;;;;;;;;3 b+ v/ O5 K( p9 H2 M7 U2 X( r2 N! y
  4. ; About php.ini   ;1 g3 L& h! N. z
  5. ;;;;;;;;;;;;;;;;;;;
    4 J! G! |9 H9 e$ i/ c
  6. ; PHP's initialization file, generally called php.ini, is responsible for+ ^' b. x+ V9 l3 R& a
  7. ; configuring many of the aspects of PHP's behavior.
    ! N* N5 |8 v" `0 i. G* V5 b% Z- |
  8. ) L' _4 G  k6 k( R6 Y' c5 t" z
  9. ; PHP attempts to find and load this configuration from a number of locations.
      P( n, U0 T' S/ v4 h
  10. ; The following is a summary of its search order:; ~$ D. X  j: k3 d7 Y. P$ c
  11. ; 1. SAPI module specific location.
    ! D% t, u# R9 h$ C* b" S
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    % q: m- Z0 D9 D- i- [- r# r5 [
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
      i/ g' j5 Z3 U' b
  14. ; 4. Current working directory (except CLI)' [3 _. R9 ~# I8 N
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP9 |$ J8 K" I; P* ^6 y6 f
  16. ; (otherwise in Windows)7 \  S$ Z3 B7 X
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ; v- Q- O6 o% k6 o* m
  18. ; Windows directory (C:\windows or C:\winnt)
    * q& |0 ]! c) }  e( y6 S
  19. ; See the PHP docs for more specific information.
    0 h( S. L1 o8 z: x7 f9 ]
  20. ; http://php.net/configuration.file
    " |. K8 s  a( l% _& \
  21. " i8 ~$ X9 R( I1 U) l
  22. ; The syntax of the file is extremely simple.  Whitespace and lines. P( z: @- s2 \8 K9 G! y0 S  J
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    " j+ ~$ m0 N4 N% V  R+ M
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though0 }+ z  P0 i8 ]/ v
  25. ; they might mean something in the future.- w, W: j/ E- ~6 B: c+ R* l
  26. 2 c8 t5 G  ~' I( E# d* [. E1 X
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ! g. F2 @" P2 a) ?6 s
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    : L8 K4 G$ ^4 c
  29. ; following the section heading [HOST=www.example.com] only apply to( w, r" J, p0 Z. ]
  30. ; PHP files served from www.example.com.  Directives set in these, ?5 h3 a: o, W5 M& }! n
  31. ; special sections cannot be overridden by user-defined INI files or! V! V( O- l& |. k; {7 W( z, l" g" {
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
      ~  I5 K; e) }" x  }# _3 d
  33. ; CGI/FastCGI.
    6 z& c" r, H# `# |+ M3 i6 `
  34. ; http://php.net/ini.sections
    & }7 Z+ E& v0 G/ O
  35. - H- y4 c- y) P
  36. ; Directives are specified using the following syntax:
    : }8 F2 f5 C( d0 _8 v" U! n
  37. ; directive = value  O9 G  r) H9 p  K: T) m1 |
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.2 b5 }* m. K- `4 h. x
  39. ; Directives are variables used to configure PHP or PHP extensions.& W& f6 ?" r4 l  Q! s
  40. ; There is no name validation.  If PHP can't find an expected# b6 ]: o, t& j, U7 p
  41. ; directive because it is not set or is mistyped, a default value will be used.) N3 s8 C- V2 u) z- i
  42. 7 V2 c' Z- b5 O% N
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one0 l% a/ z) g. i
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    9 W- U5 ~# O/ M, ^  r$ e
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a' [3 k9 e4 b7 T$ }/ K9 x0 O7 A
  46. ; previously set variable or directive (e.g. ${foo})
    ; o3 s1 U! b' f8 e

  47. % S# ^9 K/ l+ ~- ]
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:; L6 a" L2 H+ h4 R) B
  49. ; |  bitwise OR# ~  n6 O2 t" |4 M. I" x
  50. ; ^  bitwise XOR2 k. U/ Y5 Y0 O1 T( E5 s. Y
  51. ; &  bitwise AND
      P/ K# J' r% e# z+ Y, h
  52. ; ~  bitwise NOT' h$ X/ w4 j' e9 f- F: g
  53. ; !  boolean NOT
    ( W- x+ F0 v, R( V0 V0 {0 V  M
  54. . B6 U! t  |; T- A. W
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ! e9 O8 L- c  D3 {  ?2 m
  56. ; They can be turned off using the values 0, Off, False or No.
    7 |9 c2 i- h2 C6 _3 c- F1 i0 I" W
  57. % ~) n, x  F" ~/ B, i
  58. ; An empty string can be denoted by simply not writing anything after the equal2 z' N+ ~0 E+ e
  59. ; sign, or by using the None keyword:
    , I" \; O1 j; m, T. w- Q$ Q
  60. . ^6 B, u/ ?4 X9 E
  61. ;  foo =         ; sets foo to an empty string
    9 \7 L! a7 M" v9 d: ?: c
  62. ;  foo = None    ; sets foo to an empty string+ W. O1 d: t/ F3 @* D; C8 e7 }
  63. ;  foo = "None"  ; sets foo to the string 'None'& ^. h+ f( A' f& H' ]2 k7 H' Z
  64. - b; n/ s* ]! B3 h. I2 R1 R" W. |
  65. ; If you use constants in your value, and these constants belong to a
    2 `, A) v* B5 S" g
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),1 J3 P# O6 y' }2 ^+ i
  67. ; you may only use these constants *after* the line that loads the extension.* L( q7 u! n+ |; d% k

  68. . y' D7 j5 Y( k" R- a! _* {
  69. ;;;;;;;;;;;;;;;;;;;
      l! J. A1 H$ _- O/ w2 P+ R
  70. ; About this file ;( @2 c+ ?: e3 Q
  71. ;;;;;;;;;;;;;;;;;;;" \$ J! Y; E6 I
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    & P: u, g% |8 E) [5 h- t+ b
  73. ; in production environments and one that is recommended to be used in' j3 i% V, ^1 L9 v
  74. ; development environments.
      w  C7 Y6 L) o  e2 g

  75. . Y  h2 T, r$ J
  76. ; php.ini-production contains settings which hold security, performance and, K. q+ F! x! O2 t
  77. ; best practices at its core. But please be aware, these settings may break
    . l# H* s' o' D/ f
  78. ; compatibility with older or less security conscience applications. We
    " B; o# g) Q* z8 I' Y& c
  79. ; recommending using the production ini in production and testing environments.
    4 d+ h' O" }$ H4 P: b
  80. . \* B' p, g+ S$ C) G/ m0 N
  81. ; php.ini-development is very similar to its production variant, except it is8 C& J- g" @8 B% C. c; s
  82. ; much more verbose when it comes to errors. We recommend using the
    # x3 E# O/ I, U2 _
  83. ; development version only in development environments, as errors shown to. ?+ W0 X; I' {& i9 Q
  84. ; application users can inadvertently leak otherwise secure information.
    8 n7 \& P  Q' p( ~0 k2 g

  85. : ^: R+ _' R# _* D+ k8 o' q
  86. ; This is php.ini-production INI file.5 \* f9 m) d  g% [

  87.   C9 A+ z/ V3 {6 b
  88. ;;;;;;;;;;;;;;;;;;;" F  y' _( |) T" ]* X; ?
  89. ; Quick Reference ;% ?8 J1 n! z9 @
  90. ;;;;;;;;;;;;;;;;;;;
    & v4 A3 H" J  O' b( D
  91. ; The following are all the settings which are different in either the production! ~' Y9 ]6 o6 a4 X! ?- M- Z. o
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    5 }6 p! s  m. U2 X5 J
  93. ; Please see the actual settings later in the document for more details as to why' d8 X* [. z1 r4 e- B
  94. ; we recommend these changes in PHP's behavior.0 b5 s3 K  H& z* N4 G7 z; Y
  95. & {5 l& J  y+ }* A  `0 ?' m
  96. ; display_errors
    4 y% R7 m: J9 F6 F1 U9 J
  97. ;   Default Value: On
    # o' ?2 |5 |8 ^
  98. ;   Development Value: On8 R5 Z1 x9 K$ o- e% |+ k
  99. ;   Production Value: Off( m, u  }: L( y& E
  100. 6 l" V0 d/ x7 N" |- o: R
  101. ; display_startup_errors
    4 S  i+ W4 |5 a" Q- V' L
  102. ;   Default Value: Off
    7 X& [( K4 M* F7 C7 n
  103. ;   Development Value: On: l" z2 N0 W. a. [" ?" n
  104. ;   Production Value: Off) I$ F  V4 e2 U8 {

  105. , `" H% ~. B8 e
  106. ; error_reporting! e4 Z4 r' g  m
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED0 ]/ b; Y& S1 Q- }2 T1 N8 g/ q
  108. ;   Development Value: E_ALL& N4 f2 F5 t- ^* m2 H
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT7 _0 k' `' j5 I) V
  110. # E1 F6 {7 E8 s3 I
  111. ; html_errors
    6 T/ ?4 G# P5 L$ G$ D
  112. ;   Default Value: On
    4 W0 j* d0 W3 n4 e6 U4 l# W
  113. ;   Development Value: On0 L5 q- I$ x! ?" A" i
  114. ;   Production value: On( T: W8 C; G* h+ ~: s

  115. ! T8 q& H  i; v! q0 P
  116. ; log_errors
      [( g+ L. x; h
  117. ;   Default Value: Off
    5 H* A  |+ p! i
  118. ;   Development Value: On$ E9 N, p. s5 H* e2 ]
  119. ;   Production Value: On+ I$ h( _. b* d. b( ?1 Y. E- k# W+ Z

  120. ) l$ l% {1 N* t3 U5 R2 L4 u
  121. ; max_input_time0 \' x0 b4 O4 x' @# g
  122. ;   Default Value: -1 (Unlimited)# S" X, T) r- R/ M
  123. ;   Development Value: 60 (60 seconds)
    . x. y* j, N! q. ]# \: ]3 u0 ~9 }
  124. ;   Production Value: 60 (60 seconds)% x9 @' @( s& ~+ u1 u

  125. 6 X' G" Y5 F# R4 s. K/ S
  126. ; output_buffering7 F0 _# n# H# A) v8 x5 P# y/ J
  127. ;   Default Value: Off
    7 l: d' H; X5 r
  128. ;   Development Value: 4096. N! ~& J/ U0 y, @' J9 g
  129. ;   Production Value: 4096
    # f$ ^5 b1 y4 |! f/ q
  130. 0 L/ V6 D% F7 O
  131. ; register_argc_argv
    - b, Z: n1 j. O) u. t" Z1 D% X
  132. ;   Default Value: On- e  F8 u. V% X6 p3 @4 k/ l
  133. ;   Development Value: Off/ i* d" O: _: a3 y5 w
  134. ;   Production Value: Off
    3 @% |0 E/ K1 `5 J. z' Y; y* t$ h

  135. 7 _5 I1 _3 f9 f4 _& l: }
  136. ; request_order, ~/ Y" }9 N: {  m6 X/ t% A) {% [+ }
  137. ;   Default Value: None9 Q! u9 d& d- ^- u) C, [
  138. ;   Development Value: "GP"& m) {7 r1 _4 p% u. Z
  139. ;   Production Value: "GP"/ Z+ Z/ a2 f9 w1 P* P0 f$ r

  140. ; J! m( X/ `" B) G7 ~7 y
  141. ; session.gc_divisor
    0 I- E- {! i# V3 `3 p: R! ~3 H
  142. ;   Default Value: 100
    ( Y# a% y" p& K; y; J. O
  143. ;   Development Value: 1000
    & {6 }# w! o8 z: m3 o
  144. ;   Production Value: 1000
    * w7 L1 z( r: m  S

  145. * A0 @* r& H  G
  146. ; session.hash_bits_per_character
    8 ^, k* V* j5 ?- a  M" y; l+ \
  147. ;   Default Value: 4
    / }# h- x7 n3 o% e. {1 R
  148. ;   Development Value: 5: L. P) a# }) L
  149. ;   Production Value: 58 |  O, z; d# R7 V# o+ r
  150. 9 r- A/ j- [0 c
  151. ; short_open_tag0 Z% W& c) @6 {6 O
  152. ;   Default Value: On  g' u) q, V! x
  153. ;   Development Value: Off
    - Q9 p$ J1 l( i# s9 x, q7 S
  154. ;   Production Value: Off
    / b+ B, m% i# k4 O1 f: h1 o

  155. 5 R& I, @! |. V1 `3 a
  156. ; track_errors
    % ~0 [8 [2 T- B" l  R1 U0 ]. Q
  157. ;   Default Value: Off& j9 t: X# j( _
  158. ;   Development Value: On5 n. h, F7 L5 F  W
  159. ;   Production Value: Off# U- x1 S' b$ c, R. S$ R$ I
  160. 3 w# z$ z( a: J4 m
  161. ; url_rewriter.tags8 s% L  n- V- _# s
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    * \( I! h$ Q' A4 ]
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 ?- t- d6 O& E, \1 r4 L; @" I
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 L2 p# R% Q  v: c8 B6 K4 Z

  165. / e' E$ d+ J& S4 G. `* I) J$ A
  166. ; variables_order8 W! f0 i5 Y) m# i, T
  167. ;   Default Value: "EGPCS") a( H  G+ n( [" i3 ]" v
  168. ;   Development Value: "GPCS"2 J: z9 T  ?( y: z6 x; I9 ?
  169. ;   Production Value: "GPCS"
    ( Q, e' S% ]4 S( n
  170. 9 v. h8 {& r) e5 P
  171. ;;;;;;;;;;;;;;;;;;;;
    7 I0 F' i" P3 I, s7 ~/ {: f% j
  172. ; php.ini Options  ;
    5 ?0 x- K" T: k: S6 q5 w
  173. ;;;;;;;;;;;;;;;;;;;;: M0 n& F8 _* ~9 a# r2 D' c
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    * x/ b: Z! }! Y4 @# W
  175. ;user_ini.filename = ".user.ini". W# M' \) }, R& y

  176. ! a7 z8 f9 c- `0 [% E
  177. ; To disable this feature set this option to empty value9 x2 U& C+ m+ {
  178. ;user_ini.filename =
    8 n  f' ]4 G2 H

  179. 0 z* K, y, j: c+ P0 @" L& S: s
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes), j+ R4 d! r) Y9 a- W! w
  181. ;user_ini.cache_ttl = 300! \4 ^3 k* h7 [! f' T, e

  182. " @% ?/ q' K! y3 j# P4 z7 \
  183. ;;;;;;;;;;;;;;;;;;;;5 S/ a. L. b5 ]
  184. ; Language Options ;- Z2 \/ T; j* M0 t+ f* M& O
  185. ;;;;;;;;;;;;;;;;;;;;
    ; c. z: S# s3 B8 P, T$ Y
  186. 3 [4 y0 s: H  v+ A3 W6 {
  187. ; Enable the PHP scripting language engine under Apache.3 {8 c% }* S9 m) h
  188. ; http://php.net/engine
    9 F' ~5 b% Z7 X
  189. engine = On
    / z, ~, T2 R* `. Y9 k/ G" m
  190. 1 v8 ^, u5 _) d+ p
  191. ; This directive determines whether or not PHP will recognize code between3 X9 e% B5 @' x- x7 K
  192. ; <? and ?> tags as PHP source which should be processed as such. It is( q. R' ]+ ]4 H! T
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ! R3 c% j! B& O- M6 W! M) l- `* K$ o
  194. ; should be disabled, as enabling it may result in issues when generating XML% \% R) D! }: Z; m/ r
  195. ; documents, however this remains supported for backward compatibility reasons.
    ' L8 M: @- U6 y. g6 T8 ?
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    7 b9 _3 `  G0 x/ u; e& @: b
  197. ; used regardless of this directive.  ^/ L- V: R: w) u# V$ P) _( m. g
  198. ; Default Value: On
    . U* }& h- q! z( ?, ?7 F  e
  199. ; Development Value: Off( D' U0 v0 P7 ~$ i* ?3 O2 q2 l
  200. ; Production Value: Off
    0 U0 G- f5 v! P- X# L
  201. ; http://php.net/short-open-tag
    0 Z( s( L) h, h
  202. short_open_tag = On
    , o" m8 H4 L0 ^' W; K

  203. : F1 f; ]+ S1 x; C0 ]0 U: g7 T
  204. ; The number of significant digits displayed in floating point numbers.7 p* k% I6 S& Z; l6 n" I
  205. ; http://php.net/precision
    * E3 d6 }# O, w$ {" g
  206. precision = 147 G' S) ?/ o2 i# E3 G6 R' ^1 f
  207. 1 k2 B9 o! n( ^
  208. ; Output buffering is a mechanism for controlling how much output data
    * _& s0 W. W! O/ F- {% }; ~% H
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    5 d3 x0 ?  R9 W' P
  210. ; data to the client. If your application's output exceeds this setting, PHP
    " [" p  z: H) T$ Z2 U
  211. ; will send that data in chunks of roughly the size you specify.
    ; [7 p7 V% I7 k# ]7 K
  212. ; Turning on this setting and managing its maximum buffer size can yield some+ ]4 c7 t7 L# g, d
  213. ; interesting side-effects depending on your application and web server.# e' G; i. f' k/ o
  214. ; You may be able to send headers and cookies after you've already sent output
    8 G4 U9 R& o* c) N# H) d) a% }. I
  215. ; through print or echo. You also may see performance benefits if your server is. A( ?7 P+ a! U8 A
  216. ; emitting less packets due to buffered output versus PHP streaming the output4 D7 J9 l  [, z9 `+ h) k
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance& X6 q' c# e- R: v8 w4 q% x0 b2 Z
  218. ; reasons.
    6 i/ @, w2 {' F# U1 Z! d9 K
  219. ; Note: Output buffering can also be controlled via Output Buffering Control: n' v0 e" F% A
  220. ;   functions.
    3 j5 Y  o2 [# P
  221. ; Possible Values:* B" x- E$ i! M# I# T
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ! I, Z, a: U- M/ X
  223. ;   Off = Disabled
    7 U( D5 J& Y4 ]* N) }& j
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    7 L& P# u+ w% D1 }5 r4 q$ f6 _5 E
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI: u* B- C" i/ h5 I0 N8 A) e! A  E" _
  226. ; Default Value: Off
      v, j! ~  X* Q) A6 J
  227. ; Development Value: 4096
    7 B$ j/ J: W# i
  228. ; Production Value: 4096( H+ |2 M$ M+ C0 t2 Z+ {! ^7 G
  229. ; http://php.net/output-buffering
    : h  c  p4 h& \7 |
  230. output_buffering = 40969 L$ m. a" D5 b! K, v' ?# u1 C
  231. ) N) s+ ~0 W3 }; ~! Y
  232. ; You can redirect all of the output of your scripts to a function.  For
    " P9 n; q6 B, ]5 L% K9 m. p
  233. ; example, if you set output_handler to "mb_output_handler", character: x2 X2 U, p! G
  234. ; encoding will be transparently converted to the specified encoding.
    8 _* f0 x* [$ @; F7 C3 v* x3 X) V( R/ e
  235. ; Setting any output handler automatically turns on output buffering.
    & ?! \' V* _- ]+ X, C# z
  236. ; Note: People who wrote portable scripts should not depend on this ini
    8 _/ g; j! @4 J% M; z) [/ i
  237. ;   directive. Instead, explicitly set the output handler using ob_start().. F# b) N* H- W% u8 r; |) l
  238. ;   Using this ini directive may cause problems unless you know what script
    . K0 p3 B  G5 }+ g
  239. ;   is doing.
    2 [/ W3 y& k+ G
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ! Q- V& Y7 [0 W
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".8 z9 k, s( d5 }
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    0 Z& B. V9 o2 Z$ N% l
  243. ;   Instead you must use zlib.output_handler.
    : O; b4 ~  |* k4 E- b$ }- k- p
  244. ; http://php.net/output-handler* v! K! A/ n  w7 z; F2 A7 C
  245. ;output_handler =
    , A7 Q# l1 d$ T1 W$ F, m0 y
  246. + I; L+ Y1 ^( `) }2 c
  247. ; Transparent output compression using the zlib library
    % M% i( \3 _) d& m  m  d1 n
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size$ M1 }1 [( w3 R& M
  249. ; to be used for compression (default is 4KB)$ b# |% }9 P3 ?+ R
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    4 ]/ @" Y( O( b6 Y
  251. ;   outputs chunks that are few hundreds bytes each as a result of) h. ?9 m+ F2 r) w& ^8 e
  252. ;   compression. If you prefer a larger chunk size for better
    * |& a% G$ c2 a9 P% D8 T; R7 B; `
  253. ;   performance, enable output_buffering in addition.. x/ C$ ~+ E. H% Y$ J1 O. A7 ~
  254. ; Note: You need to use zlib.output_handler instead of the standard+ B% ^+ T6 v, c  p
  255. ;   output_handler, or otherwise the output will be corrupted.
    : `# _9 C8 o' S' d
  256. ; http://php.net/zlib.output-compression5 P: ~/ U* F) O8 y  _, d: K0 T
  257. zlib.output_compression = Off
    2 X# }- F* K# E9 v! E

  258. ! I! L3 g1 o  n& }1 T
  259. ; http://php.net/zlib.output-compression-level) X4 S' E3 b" E0 ~. d1 `
  260. ;zlib.output_compression_level = -1
    . _  A3 v" \/ J4 c( ]8 j
  261. 9 |' x$ F1 X$ m; r1 i" O
  262. ; You cannot specify additional output handlers if zlib.output_compression: a# O6 _6 |% h* j- T6 U, v
  263. ; is activated here. This setting does the same as output_handler but in1 \( A  B* i( E, _; |! ?- U( {
  264. ; a different order.. V2 A/ U. J: w" N; |& f" B
  265. ; http://php.net/zlib.output-handler* H2 a5 ^3 f" t4 p$ {
  266. ;zlib.output_handler =
    2 s" H7 \1 V: b# o, K4 J# L
  267. 7 k/ [6 n( C( x/ F  U2 a6 |
  268. ; Implicit flush tells PHP to tell the output layer to flush itself  t5 J' }! [2 X. ^
  269. ; automatically after every output block.  This is equivalent to calling the
    ! o$ I1 D! ?) L" }5 |! A: J' J
  270. ; PHP function flush() after each and every call to print() or echo() and each3 F% w: K7 e7 y, T& d
  271. ; and every HTML block.  Turning this option on has serious performance
    ( N$ L8 S; ^) {' |+ h5 h8 |
  272. ; implications and is generally recommended for debugging purposes only.2 V; |" A9 @; \2 a- ?; s4 y8 m
  273. ; http://php.net/implicit-flush
    ' B; A. z( o5 o9 t6 h
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
      M) X# ?4 y  O4 d4 D0 @. w& s
  275. implicit_flush = Off
    ' C# {$ m2 p8 Q2 U% J/ @7 E$ p  p& J

  276. ; L6 t5 d/ I8 S* H! u
  277. ; The unserialize callback function will be called (with the undefined class'
    5 m8 J; q0 e% ?. C
  278. ; name as parameter), if the unserializer finds an undefined class
    0 h2 U5 l$ T: D9 G" d' l! P. z. v
  279. ; which should be instantiated. A warning appears if the specified function is
    $ @4 l5 j" M4 D" I
  280. ; not defined, or if the function doesn't include/implement the missing class.
    9 ]8 m; z+ [/ X3 f$ M4 ^% [) X
  281. ; So only set this entry, if you really want to implement such a
    ; ?5 X6 q' s& Z4 U1 _& Z( c
  282. ; callback-function.! P" P3 E" p1 a( f; m
  283. unserialize_callback_func =
    9 n. p! A. j) q5 d
  284. / V* C5 L7 a; S' X
  285. ; When floats & doubles are serialized store serialize_precision significant/ h* u6 a  T7 D/ y$ N
  286. ; digits after the floating point. The default value ensures that when floats
    0 S' S  a: t. d) x' Y; v
  287. ; are decoded with unserialize, the data will remain the same." O, X! i; E, j/ U' X4 a+ y3 P
  288. serialize_precision = 17$ x% ?- f+ \; g3 \0 A- X

  289. - a3 p+ V  A' I# o' A
  290. ; open_basedir, if set, limits all file operations to the defined directory7 @  Q' P# X/ [' Q: S
  291. ; and below.  This directive makes most sense if used in a per-directory/ Q5 o+ G5 q; ]
  292. ; or per-virtualhost web server configuration file.
    : ~2 @& }" u+ M: v* n2 Q
  293. ; http://php.net/open-basedir
    % Q% @2 W8 w* P4 ~4 {* h
  294. ;open_basedir =
    8 Y! H0 n2 b' Y) z

  295. # k* V7 J! T  M3 c
  296. ; This directive allows you to disable certain functions for security reasons.; T/ S6 S/ t, U* q1 m6 f# D
  297. ; It receives a comma-delimited list of function names.
    : X1 n2 b; b% g  d4 s% ?2 o; c
  298. ; http://php.net/disable-functions, M7 o" o' J4 g/ }5 Z8 j' D
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru" a0 f: J2 ?( a) g! |

  300. 7 N# N2 B' w8 z2 K* t6 Q
  301. ; This directive allows you to disable certain classes for security reasons.& P! J7 x0 I8 K# F
  302. ; It receives a comma-delimited list of class names.
    # o" I8 \0 G5 U% Y; \( X1 Z* a
  303. ; http://php.net/disable-classes1 r! ^. o" ^$ h$ w$ U
  304. disable_classes =
    & T) U/ d: y7 j: Q3 C( Z! q

  305. 2 Z: D3 b2 e6 `% J" W  W: d2 P
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in! ^& w/ v9 y& z5 _# d8 ^9 Q2 F" |2 m9 Y
  307. ; <span style="color: ???????"> would work.+ ~# u! K# i0 z: h( Q
  308. ; http://php.net/syntax-highlighting
    4 S4 u, j7 L6 o( Y% B
  309. ;highlight.string  = #DD0000
    5 P$ t: N! U! U& u% _' J4 w% D
  310. ;highlight.comment = #FF9900! w# ?& J  G2 f+ N
  311. ;highlight.keyword = #007700
    8 u7 \6 D: ]3 _
  312. ;highlight.default = #0000BB
    ) L( V) A7 \' D; C, N
  313. ;highlight.html    = #0000002 B2 V5 f4 h& s" Q2 `1 h3 J7 X! k
  314. + U  S6 d+ L3 J# N
  315. ; If enabled, the request will be allowed to complete even if the user aborts* \" U* M) B2 @! `
  316. ; the request. Consider enabling it if executing long requests, which may end up
    : D# ]5 n( @, T4 D( F& {
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior9 I9 _  T8 N8 c% _
  318. ; is to disable this feature.
    ) N- g6 W6 z* L" V% D9 B# [# H
  319. ; http://php.net/ignore-user-abort9 ?, V4 G' Q; a. I
  320. ;ignore_user_abort = On- \1 J$ s1 `  Y. i
  321. ( d4 E0 D" P8 x( F
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    ) d6 ~( \9 n' L. I- N0 |! `
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    $ O! C( c  P+ ?% _9 m. {
  324. ; the file operations performed.
    / ^" P( y: a" o7 g) L6 b9 \
  325. ; http://php.net/realpath-cache-size  Z" C4 ^6 l! [& {9 F# A
  326. ;realpath_cache_size = 4096k% l0 ^# a, o* o1 d0 V

  327. $ y! L" j' J4 d* f
  328. ; Duration of time, in seconds for which to cache realpath information for a given2 g: ~1 B2 Q/ a& @7 P0 y' x
  329. ; file or directory. For systems with rarely changing files, consider increasing this* }' s; B+ i; F8 U$ E  p
  330. ; value.+ R' Y/ ^  [( @0 A0 @: V& P1 Y
  331. ; http://php.net/realpath-cache-ttl
    . A2 S6 E0 @, Z0 z+ c
  332. ;realpath_cache_ttl = 120! V) a% |; h" O) p" }" b' Q
  333. 4 B. t4 ]* ^5 q) a
  334. ; Enables or disables the circular reference collector.
    6 X. J4 b; b" F6 S( ^+ a
  335. ; http://php.net/zend.enable-gc5 p$ S, L4 c! [9 v3 E
  336. zend.enable_gc = On; V' j+ K- s0 ?1 s; S; ~( g# L, z

  337. " a$ B" \5 r, k0 {
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    # \# ~; Z9 \1 l' |
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such% M# e' A) W4 Z4 Q- }! d
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    " e+ {( a3 F: O/ G( {/ l
  341. ; Default: Off: ~  T: j8 I- T0 |! Q: s- {( }! q
  342. ;zend.multibyte = Off
    1 J# Q8 ~: i8 _6 \9 G

  343. & D  b% f' w5 ?
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    ! Y: M/ \0 @# S  @2 @
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    7 d/ Y: C7 ~" V' M. |6 [
  346. ; Only affects if zend.multibyte is set.
    - \; \; ?$ h: m
  347. ; Default: ""
    " c/ F  u+ _- {5 ^
  348. ;zend.script_encoding =+ a$ f7 V* r) I

  349. 0 @9 n0 c% l9 ~0 }+ U3 V6 A
  350. ;;;;;;;;;;;;;;;;;
    0 z7 |& {% M( E6 u' Y9 x* `: b
  351. ; Miscellaneous ;
    * R+ H3 ]& z7 e
  352. ;;;;;;;;;;;;;;;;;
    3 S/ I: B. @$ Y! S% d. J- [- H8 |

  353. 4 L! n" t& S. Z8 c$ e" g
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    : w7 f( i/ j( j$ b
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    2 B  E% ]( i* e/ K& ?) S( d' e
  356. ; threat in any way, but it makes it possible to determine whether you use PHP' n4 |$ h' c8 ^( U: E2 q* k
  357. ; on your server or not.
      c$ R# X* H% ]% W7 ~; Y1 d; G
  358. ; http://php.net/expose-php
    ; |! K/ v# G! w4 i( j% L
  359. expose_php = On9 T$ |' q0 f& i9 T, K

  360. 1 ]# m" Z: N- B5 i5 _
  361. ;;;;;;;;;;;;;;;;;;;8 x- k1 ]3 }1 v4 x4 l" C
  362. ; Resource Limits ;
    9 `8 l3 g4 i6 _+ E( ?0 d0 v8 t
  363. ;;;;;;;;;;;;;;;;;;;
    & w3 ]. {6 o' c$ m+ \4 @
  364. ; l3 d2 \% g8 T6 N5 y
  365. ; Maximum execution time of each script, in seconds
    ( |$ G8 g# H) B9 ^
  366. ; http://php.net/max-execution-time  V1 }  B8 z9 x. a- D( j0 D
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    7 t! e" P* @! _; {
  368. max_execution_time = 300
    ! Q5 Y4 T, p6 W% f/ m0 t9 V/ x

  369.   W0 ~) \2 a% J0 D0 _
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    3 J/ t* Q3 q# h, L( @+ ]- ?: \) e- z
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    8 ^  U/ E4 o' _( `; g/ q) X* x$ ^
  372. ; long running scripts.
    6 f2 N2 J7 @6 d* j
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI0 e2 Z* m; G7 z# p* ^
  374. ; Default Value: -1 (Unlimited)( X/ l/ ^! G0 m* M5 s* D
  375. ; Development Value: 60 (60 seconds)$ }1 h+ e# J' @9 B2 P4 d  G
  376. ; Production Value: 60 (60 seconds)
    + W4 w8 X( Y9 R! F/ }+ }
  377. ; http://php.net/max-input-time' C( m0 m% o! r- v5 k
  378. max_input_time = 608 y1 x% ?. q7 Z" u8 b

  379. 3 t' G; S" Z3 j3 W% h( C9 a
  380. ; Maximum input variable nesting level- j+ a9 i, \. J* I% t; }/ S
  381. ; http://php.net/max-input-nesting-level( c, Y; J0 J. k( P
  382. ;max_input_nesting_level = 64
    6 ]1 c3 H+ R0 O1 q

  383. , @& n3 j  h. z- c% K% P& v
  384. ; How many GET/POST/COOKIE input variables may be accepted
    8 f2 p* u+ \+ J2 R2 W- ?" p
  385. ; max_input_vars = 1000
    ! t$ U+ U( z. o
  386. 8 Q6 m! l8 d# _& V* }" j: ?; P! P
  387. ; Maximum amount of memory a script may consume (128MB)  G6 h9 w6 z4 |+ u
  388. ; http://php.net/memory-limit: {1 q4 _% j( x/ y+ J
  389. memory_limit = 128M
    * h* Z4 h" }/ {" G* T( t
  390. 9 J0 D. E$ N( @
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9 Z1 u6 K3 I8 `; A7 T
  392. ; Error handling and logging ;
    0 l' E+ j% L  k9 [# v* E2 v
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    8 B$ c, `; @: L( ]9 e9 V8 Y, z

  394. ; g" H' E+ Q/ x9 X
  395. ; This directive informs PHP of which errors, warnings and notices you would like( `1 y" G% M# Z! q# Z
  396. ; it to take action for. The recommended way of setting values for this
    * E8 j: ]& {3 m2 C( ^
  397. ; directive is through the use of the error level constants and bitwise$ U3 Q2 x# ~: ^: ~% V9 t3 q$ T
  398. ; operators. The error level constants are below here for convenience as well as# Y3 m$ R9 ~* p$ e3 e
  399. ; some common settings and their meanings.6 \+ H+ }1 X/ y* b5 Q, V
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT. v( X/ g; R* \/ w$ \$ E  ]
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ' O( p( l& H$ N  K1 i: p; T: O
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    2 c8 @. s5 k7 j
  403. ; recommend error reporting setting. Your production server shouldn't be wasting* U0 K/ E3 W! t2 P$ P2 W
  404. ; resources complaining about best practices and coding standards. That's what  d8 M4 P5 \. x4 P' |+ D, u
  405. ; development servers and development settings are for.
    + A+ e; |# Q/ K
  406. ; Note: The php.ini-development file has this setting as E_ALL. This' i/ s5 [% `. v! |  U0 E6 ~0 y
  407. ; means it pretty much reports everything which is exactly what you want during
    & b, O  w/ R+ c! ?% v- Z* [3 M
  408. ; development and early testing.2 {/ [+ Y' p0 ]: y3 H% F# ]
  409. ;
      [0 b* r( ^6 x, I
  410. ; Error Level Constants:
    1 Y0 l$ g; d) _: X+ K" R
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)/ G: {, m2 |) B/ \. P* B
  412. ; E_ERROR           - fatal run-time errors. d+ c1 E/ n: U2 w& i, j- G
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    . n" Z. }6 }8 U0 J; N& `9 x
  414. ; E_WARNING         - run-time warnings (non-fatal errors)# L5 \+ k1 [( D, _
  415. ; E_PARSE           - compile-time parse errors
    , a- [# K, \# ]4 I2 p+ Y
  416. ; E_NOTICE          - run-time notices (these are warnings which often result, |6 D/ Y! x8 u4 N8 _
  417. ;                     from a bug in your code, but it's possible that it was
    8 {6 z' z; k7 ]' W7 w
  418. ;                     intentional (e.g., using an uninitialized variable and2 I2 Q4 t5 ]( y1 Z* |
  419. ;                     relying on the fact it is automatically initialized to an2 D* \' U$ B9 S
  420. ;                     empty string)
    : T2 w/ O& r$ W
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes! x% C3 f" L0 E8 x
  422. ;                     to your code which will ensure the best interoperability
    2 {! S" m  ]3 }6 I3 c9 f
  423. ;                     and forward compatibility of your code
      k  f; e+ _! y) S' Z" |4 a
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    4 m3 R* V$ ]+ `0 a, V2 e
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's+ S6 r: \5 V. c
  426. ;                     initial startup6 Y2 e5 H* z6 e# i0 V$ _
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    # B1 B8 h+ |# e
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)' g% l4 x/ A* J  A# X
  429. ; E_USER_ERROR      - user-generated error message
    % a2 x% b* R  W5 R
  430. ; E_USER_WARNING    - user-generated warning message
    * B7 O7 \5 ?+ N* o$ E0 Z5 i: i
  431. ; E_USER_NOTICE     - user-generated notice message
    7 k, k; L, d  e( }/ ~
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    ! y: t6 o& t8 G/ s1 S
  433. ;                     of PHP( S4 T, T, x% b0 x' r
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings% Q# J, ~$ r- _0 E
  435. ;
    9 h. d1 N' A+ z8 H: A
  436. ; Common Values:
    . s) ]+ T" L7 [# j$ T, V0 r
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)* v) K4 t1 j4 C/ H( \4 ?+ }
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)8 n' }. j# T5 H) `& |7 G9 m- X3 `
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)1 Q0 G7 L, Z7 k  \) A! Q
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)/ K, M* {8 {) w
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    . l2 s6 W/ B& T0 ]! k: L
  442. ; Development Value: E_ALL
    9 p: l0 K7 {! a1 u, K( Q, s$ z5 g
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT% B: q3 p6 S+ B6 w
  444. ; http://php.net/error-reporting
    ' b% O  a/ H! D$ l9 W
  445. error_reporting = E_ALL & ~E_NOTICE
    * @- E, k# f) U/ y- s3 K' E' ^2 e: q

  446. ) w6 e0 r7 A3 s& ~  |! T4 E/ q8 ?
  447. ; This directive controls whether or not and where PHP will output errors,! X. d& P$ Q3 g
  448. ; notices and warnings too. Error output is very useful during development, but8 X' O) X, g& o6 s* y
  449. ; it could be very dangerous in production environments. Depending on the code
    $ F; e( d8 A$ p+ E# H; H: _  I+ _" A& y
  450. ; which is triggering the error, sensitive information could potentially leak
    9 b1 N4 H  S$ V  E
  451. ; out of your application such as database usernames and passwords or worse., t  h0 N9 x- f: ]) a4 a4 g. I
  452. ; For production environments, we recommend logging errors rather than
    + Y5 W) Q  F' W0 z5 r% H" F3 g/ g
  453. ; sending them to STDOUT.$ q6 u' E" [. d  i4 M7 @+ f
  454. ; Possible Values:" {/ Y% Q( M+ A
  455. ;   Off = Do not display any errors( x0 J# T% d3 \
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ; R) g4 P5 T' q! s3 k! a4 ~
  457. ;   On or stdout = Display errors to STDOUT
    - @: p3 c, N# C. c' D9 S
  458. ; Default Value: On6 z! Y! l, K. b8 L/ |1 e
  459. ; Development Value: On/ e; P5 _$ y4 g8 o4 T
  460. ; Production Value: Off
    * H4 K3 t* j7 h" P9 d! n
  461. ; http://php.net/display-errors
    , l# N! O6 d$ r0 I& B# D
  462. display_errors = On
    % r3 H7 t- w5 x5 o  k( X: I% v' A
  463. , l! L+ Y7 a0 K5 B* w# o
  464. ; The display of errors which occur during PHP's startup sequence are handled* O  j1 `5 q" I: {; e
  465. ; separately from display_errors. PHP's default behavior is to suppress those6 Z- ~7 _9 u4 P6 C7 R+ b9 O+ G4 _
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    2 j8 g: F* C& t8 C2 y. [( |
  467. ; debugging configuration problems. We strongly recommend you) D6 U5 }$ Y, D1 E
  468. ; set this to 'off' for production servers.5 ~. `/ p' u  x9 S$ [4 T
  469. ; Default Value: Off7 R/ I$ E; r% }( U' T) x& k. h
  470. ; Development Value: On
    7 X! m$ S, ?" _
  471. ; Production Value: Off; q9 v9 s4 a& O7 @) K/ z% O
  472. ; http://php.net/display-startup-errors
    1 M8 |$ u/ v8 I* f  N6 K7 W* R  Z+ T' z
  473. display_startup_errors = Off
    0 c/ z8 @  g7 j+ u1 o
  474. : p0 Q5 _* K4 v5 ?1 X' G5 V6 i/ t
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    ) q3 l6 s+ |) t, y& W! `: r6 q3 j
  476. ; server-specific log, STDERR, or a location specified by the error_log' Y+ u. Z( _" w- [- N( s* T
  477. ; directive found below. While errors should not be displayed on productions; K/ g- w' h% R) p. F, I& T* T
  478. ; servers they should still be monitored and logging is a great way to do that.  M8 o6 S9 h3 l2 e# n
  479. ; Default Value: Off
    ' ~8 i3 m+ g4 Q( j$ P, d
  480. ; Development Value: On
    ! m9 _3 M2 q/ w
  481. ; Production Value: On
    " e# L' O2 O4 D( r7 H
  482. ; http://php.net/log-errors6 m$ ]0 ~: O8 S+ w0 X
  483. log_errors = On
    1 |7 e5 @4 |) K; C9 M
  484. 1 w# m+ n1 z! a0 q3 E# D
  485. ; Set maximum length of log_errors. In error_log information about the source is
    - e: C& u. @4 L5 W# A
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    4 B( k9 o0 s0 N" W0 v1 s
  487. ; http://php.net/log-errors-max-len
    8 Y$ A* w- q3 N  W- X0 k
  488. log_errors_max_len = 1024
    ( ^1 ~6 J$ \& }( n# D
  489. $ J; U6 r3 H1 v) ]% j5 {, g$ g6 F) ^! S
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same/ ]. \1 j8 P( ^& h% |% K! X* H
  491. ; line unless ignore_repeated_source is set true.
    ( i# O  k4 L2 L: T% N
  492. ; http://php.net/ignore-repeated-errors
    5 z. N& H* H6 t% W8 R( H& b
  493. ignore_repeated_errors = Off
    ' D! h3 F2 l. C) A$ I; V' n2 U8 X

  494. 8 T" F6 w; P3 W
  495. ; Ignore source of message when ignoring repeated messages. When this setting1 k* n/ z9 t& {! c) C& X9 \
  496. ; is On you will not log errors with repeated messages from different files or. v% ]2 S  J/ l% ~! b% C
  497. ; source lines.( T5 p& v8 t( H6 \
  498. ; http://php.net/ignore-repeated-source
    4 c* r% B; [  d" e7 D/ Z
  499. ignore_repeated_source = Off  Z# T1 c% \; w/ S2 k& {
  500. ; u3 ^  C1 Q9 N+ c1 `0 O+ q# U
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    2 |4 W) i- A) i* A" R
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ; v# L1 E% ]3 m
  503. ; error reporting includes E_WARNING in the allowed list$ L  T+ M$ ]# P4 N  o1 n+ G& R% W4 Y0 a
  504. ; http://php.net/report-memleaks
    8 h' k9 [) l& v3 U
  505. report_memleaks = On' J0 Z- a7 [6 Y

  506. ' S* {: j* f7 p2 c% V4 u/ c
  507. ; This setting is on by default.8 V4 Z# w0 x8 S. T' Q# h
  508. ;report_zend_debug = 0
    0 Q3 a$ ]  r) Z8 F
  509. 8 U$ C  ^, p3 ^% U
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value2 q0 S5 |  K2 M* b# V# l' c
  511. ; to On can assist in debugging and is appropriate for development servers. It should8 R  c. |  x9 N  _, O
  512. ; however be disabled on production servers.
    8 J- X2 |* s4 Q0 n/ \) A' }
  513. ; Default Value: Off
    + b3 l% Z8 y& a; @8 F/ v" v
  514. ; Development Value: On! @: K' a; l. H# o) \) R) T4 T
  515. ; Production Value: Off
    ) ^) R, [& P0 e' |
  516. ; http://php.net/track-errors* t: ^, Y- \. @
  517. track_errors = Off
    : b8 n5 l, ~% f) V! p

  518. ' j5 l3 Y, u' e4 D9 p+ Y5 b# g0 ~! w
  519. ; Turn off normal error reporting and emit XML-RPC error XML& x2 D. x; p+ I6 X- _6 d
  520. ; http://php.net/xmlrpc-errors
    & v2 S# y1 q2 j" R" O# ~
  521. ;xmlrpc_errors = 0
    + R( E1 z& C( K, G# I9 p

  522. ; V1 P* n6 A  ?& y6 E
  523. ; An XML-RPC faultCode
    ; I8 `; |$ H1 m9 ^- w
  524. ;xmlrpc_error_number = 0: o, n+ ^6 X3 o! l  F: U( S
  525. + M& \  B! w8 L' M: `
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    6 c+ X. i) ~' @, X& P7 S9 u
  527. ; error message as HTML for easier reading. This directive controls whether
    ) q$ ~9 c% ?* `! z' [& G
  528. ; the error message is formatted as HTML or not.7 x6 ?1 ~: x/ z3 \% s9 `% t
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    8 [0 y) ]% \& p6 q/ @
  530. ; Default Value: On
      L5 m% {  Z! \, N8 m' Y) u! S( J$ F
  531. ; Development Value: On
      `% `  g1 T! @
  532. ; Production value: On. b5 ?6 K: s- ~) g- B
  533. ; http://php.net/html-errors
    ; f" G% H2 A# O4 e
  534. html_errors = On
    ) ?! q0 v7 x5 n# Y
  535. 2 i0 ^* B* A0 H9 y  S7 q8 \0 o
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP# [0 H9 @* E  v
  537. ; produces clickable error messages that direct to a page describing the error
    9 W8 h1 s$ C) c- ?- E
  538. ; or function causing the error in detail.1 ]/ p  [9 o, M; K
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    ) X2 f* Q7 d3 ~' p2 H" H
  540. ; and change docref_root to the base URL of your local copy including the
    1 T6 c# N+ e$ A/ J1 {% Y/ H
  541. ; leading '/'. You must also specify the file extension being used including
    4 B7 T- P* G! O  j
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ' K7 `* v# y8 j: {& y1 x7 I9 s
  543. ; case no links to documentation are generated.
    3 ~2 R- a  G  y: [' ?
  544. ; Note: Never use this feature for production boxes.! F" u, e* m& q) D- f& p( k7 |+ p3 d
  545. ; http://php.net/docref-root
    . \  o$ L6 R  ^" k
  546. ; Examples
    ! G0 P& I8 h$ x1 X
  547. ;docref_root = "/phpmanual/"* A8 g. y1 m+ e( w
  548. $ x: o4 d3 L& C4 N
  549. ; http://php.net/docref-ext
    * S0 A" ?" k8 N$ d
  550. ;docref_ext = .html) ?0 k* X( Q' d* p( P4 U

  551. * `5 a1 N+ B/ X- K8 Y+ @
  552. ; String to output before an error message. PHP's default behavior is to leave
    " X; |" k- m3 }) w2 I
  553. ; this setting blank.3 }1 y* u* y2 _* d) V* C, y8 j
  554. ; http://php.net/error-prepend-string9 G* r0 ?5 |7 I( o* q
  555. ; Example:8 p4 {  Z8 c( t) ~! L$ ~4 j
  556. ;error_prepend_string = "<span style='color: #ff0000'>"  o6 u' H2 K1 \) a! x

  557. 0 C5 D( A2 D: Y( H
  558. ; String to output after an error message. PHP's default behavior is to leave
    8 i5 t1 P" A! c) Z
  559. ; this setting blank.+ L& y1 U$ H7 ^/ A0 z" b
  560. ; http://php.net/error-append-string
    0 \3 v" m7 j8 W  K' z
  561. ; Example:5 o" P' x1 q! l2 D, e. C0 ^
  562. ;error_append_string = "</span>"
    * k  J/ X" R- M6 Z, c0 |9 D
  563. 4 f& B- {; v4 M- F* {; N
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    ' R% p: v# Q9 H& J' `
  565. ; empty.
    ; a' F' a$ a6 S( W2 d
  566. ; http://php.net/error-log
    / U5 u) Y1 N7 L
  567. ; Example:
    2 Y, w6 w. F3 @6 q2 |
  568. ;error_log = php_errors.log
    1 _% [, g. Q+ c4 S* a
  569. ; Log errors to syslog (Event Log on Windows).
      k$ G) z4 {1 z- F+ i( J
  570. ;error_log = syslog0 S" d: L4 E, j' T9 c' L8 _; A
  571. 8 I- q" M1 R7 Y% r  I' j& d8 R6 o
  572. ;windows.show_crt_warning
    1 M+ G2 S$ Z0 }; p) k0 p
  573. ; Default value: 0
    + c& [* M; [+ q1 F1 w
  574. ; Development value: 0% u, c! w+ R% u9 `
  575. ; Production value: 0! R" I  I$ Z. j$ s9 ^( f2 X9 E4 k

  576. : X3 m1 S( L8 l) W) c8 T+ `
  577. ;;;;;;;;;;;;;;;;;9 Q' N0 P2 I% d$ M
  578. ; Data Handling ;1 [: v6 ~: X  T4 }
  579. ;;;;;;;;;;;;;;;;;! e9 j5 d. P2 i/ K* o. Y% L

  580. $ A# L4 K1 ^. ^9 n% d
  581. ; The separator used in PHP generated URLs to separate arguments.+ f6 g8 y! e* z1 `3 b, `# S" f& P
  582. ; PHP's default setting is "&".3 t7 R1 d( ^0 x1 @. F2 v8 Z
  583. ; http://php.net/arg-separator.output% k- w; ?! f! l* a
  584. ; Example:* b* h& Z' b5 m5 t; f8 z9 c( R
  585. ;arg_separator.output = "&"
    8 E. b% |  a' e) x
  586. % D% E% Z" U# l) s
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    6 [# A7 G* G. Z6 i, g* Y
  588. ; PHP's default setting is "&".
    " _* T. i+ k3 M3 z1 G
  589. ; NOTE: Every character in this directive is considered as separator!
    ; X2 I: f( F* ?& Y& N
  590. ; http://php.net/arg-separator.input
    ( V; v9 Y& ~; K. M' O
  591. ; Example:
      w4 n8 ~* A" c3 \" ]
  592. ;arg_separator.input = ";&"
    2 G7 R/ h; p# z) q

  593. ; s, M/ j7 T! N- F2 h+ e$ I
  594. ; This directive determines which super global arrays are registered when PHP* v. U' W+ \7 w6 _
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super! l, f3 i3 e! ]4 q8 K3 {/ X
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    / i( w* @+ S6 l( [/ A
  597. ; paid for the registration of these arrays and because ENV is not as commonly, S- ~6 s- x, Y: _$ I2 H: a, F0 S: f6 E
  598. ; used as the others, ENV is not recommended on productions servers. You+ z$ D. K8 l" f& ^! `
  599. ; can still get access to the environment variables through getenv() should you3 `2 D/ S- h4 q! {( x
  600. ; need to.
      o4 J' M2 e8 l6 T0 `9 |2 _3 }1 U
  601. ; Default Value: "EGPCS"
    7 f$ f& a: m) g6 @$ T7 g8 U. t
  602. ; Development Value: "GPCS"
    & F% Q4 a7 n$ A; W* ^* M. }
  603. ; Production Value: "GPCS";. I) O+ K# n4 N4 w4 Q, o4 A3 D
  604. ; http://php.net/variables-order
    . A- l: I( d8 u/ E: {
  605. variables_order = "GPCS": Q# O3 n% O5 `4 e& o, n
  606. ) H1 z% U! p: J- C5 \9 _' F) a1 F
  607. ; This directive determines which super global data (G,P & C) should be; b+ V  H% z0 [2 }0 a: y- I( g
  608. ; registered into the super global array REQUEST. If so, it also determines. k' w8 N5 `- T( K" E( q
  609. ; the order in which that data is registered. The values for this directive# {1 [+ I* {" d9 a) y% z! H" E
  610. ; are specified in the same manner as the variables_order directive,1 ]$ K1 O# Z' r0 ]' e
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set- }) B( X1 [$ Z2 H! [+ }% \
  612. ; in the variables_order directive. It does not mean it will leave the super
    0 I2 @2 s& e/ }4 R; k, _: J
  613. ; globals array REQUEST empty.$ H/ u) o! F$ g  z! c% @; q
  614. ; Default Value: None
    $ V1 }: `, p2 Z% u0 p
  615. ; Development Value: "GP"9 R  l+ v+ Y( v5 O# W& {  C$ e
  616. ; Production Value: "GP"- G  n* N, b9 _& x" E; ?' O
  617. ; http://php.net/request-order3 h% I: w# Y+ p9 J. \* C
  618. request_order = "GP"+ f9 s% }0 s" u* C* U+ t1 ~% a

  619. 9 j# b  I* E7 x+ t- Z8 y: Z4 K: c4 b# }
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    / [* [. b) P4 V! C
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ( d" ?1 j- d+ N: [; d) X6 R& p
  622. ; is invoked. $argc contains an integer representing the number of arguments8 J- U/ C8 B$ e) K: Y4 A
  623. ; that were passed when the script was invoked. These arrays are extremely
    3 K2 l. |) t  M. B0 ~5 x) u0 g
  624. ; useful when running scripts from the command line. When this directive is( ^6 E+ A" d- c* T& v8 l
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    8 R* z+ x* }3 ^* }
  626. ; a script is executed. For performance reasons, this feature should be disabled6 D5 [! B& i" f
  627. ; on production servers.% E" [( I  y; l! c( Z
  628. ; Note: This directive is hardcoded to On for the CLI SAPI4 s: m0 c) o  z" U. F* @3 Y1 x
  629. ; Default Value: On5 u4 F6 K+ G5 S  r( r/ @5 J" e1 I
  630. ; Development Value: Off
    6 p, y! p/ U& F8 q+ F8 \7 f
  631. ; Production Value: Off
    ) G: H2 E. G' w3 A+ X
  632. ; http://php.net/register-argc-argv3 V* h- L  s( p- {. y. O2 X4 e$ T3 P6 h
  633. register_argc_argv = Off: ]! {, p, y9 ?4 y; Y1 h5 G- k. ]
  634. / h2 L+ R; W" j6 a# D% ?6 ^
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're5 B# {0 _2 j5 P$ i
  636. ; first used (Just In Time) instead of when the script starts. If these
    % J% A: W9 z3 l3 C
  637. ; variables are not used within a script, having this directive on will result
    5 G( {. N- {% ?8 h5 T
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled7 L+ _7 O% a3 p
  639. ; for this directive to have any affect.# G+ a3 ~+ X+ A% Q0 n
  640. ; http://php.net/auto-globals-jit6 [9 |* a: ~9 e4 l" {, F
  641. auto_globals_jit = On# A) ^, u% g- K# r* c' J2 N& D
  642. / T( `; |( Z7 c9 k! {$ {6 O/ m
  643. ; Whether PHP will read the POST data.
    6 S( A/ U6 y" U$ f- y
  644. ; This option is enabled by default.
    ' W# ~- |& c! p- j% N; X. d" V; e
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    & K6 ^0 I, v9 Z1 {( @
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    7 _& t5 F, u1 O, ^7 M6 ]2 r
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    - V9 \( N- h; y! G- K6 p' }
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.7 V5 F  ]$ X& c3 v3 y! x% J& p
  649. ; http://php.net/enable-post-data-reading
    ( \' F) j: G; p
  650. ;enable_post_data_reading = Off
    % h# w5 H  A% z" ~6 O
  651. " ^+ |) j# B% X; q
  652. ; Maximum size of POST data that PHP will accept.4 [$ }) [6 |% m2 f3 A
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ) {- {! e9 r7 m2 l: w  x, C
  654. ; is disabled through enable_post_data_reading.3 t3 A+ j' R% m: `" @
  655. ; http://php.net/post-max-size
    4 n" \# t% e' R; |5 o
  656. post_max_size = 50M7 O8 D5 S2 C" {9 F
  657. 3 v) L. U" E* k; u  A
  658. ; Automatically add files before PHP document.
    2 f# I8 i2 [9 }1 k( P4 W
  659. ; http://php.net/auto-prepend-file; H5 ]6 I# E: M! f0 v5 T
  660. auto_prepend_file =% h/ k8 L' T. F3 }3 p% a2 e* V/ _
  661. 0 v) f- l+ A) s1 H2 ?9 P% s
  662. ; Automatically add files after PHP document.  ]. ]0 n5 a, g# S  z3 ^# w! r7 E
  663. ; http://php.net/auto-append-file, |/ _& g0 l" N" B
  664. auto_append_file =$ a0 l* x/ }$ V, O0 _! F7 G/ O
  665. 9 V& M1 U3 T# x( q& L$ I4 u' V
  666. ; By default, PHP will output a media type using the Content-Type header. To0 @! c6 t* }8 E
  667. ; disable this, simply set it to be empty.
    ; T% Z: |( O' x; t) a7 f
  668. ;
    & e. ?: Z6 m2 B' w+ m; e, K
  669. ; PHP's built-in default media type is set to text/html." L* m2 q8 D9 ~9 L0 C) u7 A
  670. ; http://php.net/default-mimetype
    . R7 N9 O1 W) Q7 B
  671. default_mimetype = "text/html"
    * }' g! o3 ~7 U  [0 {' Z2 _9 t
  672. 1 u- p% g& t- e; [& V
  673. ; PHP's default character set is set to UTF-8.. q6 O7 }3 \& L: j* u' W: B
  674. ; http://php.net/default-charset5 |, \, I; {$ e2 P" l- u& D& \  G7 s) c
  675. default_charset = "UTF-8"
      C) k. B% ]  h2 c. J. @5 N1 B
  676. 8 P+ W0 W7 t+ ^0 ~1 c3 X* z
  677. ; PHP internal character encoding is set to empty.
      H! @4 Q" F  M& @
  678. ; If empty, default_charset is used.
    ' L; @" Y4 x1 K& t$ _) e
  679. ; http://php.net/internal-encoding
    / U6 [" |$ n% ]- A' x
  680. ;internal_encoding =( y7 ^! h; a" M" y  t
  681. ; c: d& P* \4 d1 W
  682. ; PHP input character encoding is set to empty.  S+ V. r- \% n6 k6 ?; P& |
  683. ; If empty, default_charset is used.5 t2 q, E* Z. R" o& }7 h
  684. ; http://php.net/input-encoding: m8 f, r3 h* G
  685. ;input_encoding =5 z9 k* I( g$ n

  686. $ p+ T8 p& s9 {( N" f( ]
  687. ; PHP output character encoding is set to empty.9 W* U# c$ @" Y% @
  688. ; If empty, default_charset is used.
    % l- W7 ?$ {0 |8 d, S" U/ i. |
  689. ; See also output_buffer.
    2 m( g, A" ~3 Q# a( b$ ]+ \# I, P
  690. ; http://php.net/output-encoding
    . b$ L4 O* {# r' s2 s1 o
  691. ;output_encoding =  |  h, X9 U* @& I. |) W* U. X
  692. , _+ c7 n4 `: s5 d
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;+ [; S) r8 R/ r
  694. ; Paths and Directories ;1 ~  T5 p& n( f+ C3 z* }2 l
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ( x+ T7 z- l1 H" g. W) T' d
  696. 9 H/ r* P$ U0 m+ h6 g. u7 W
  697. ; UNIX: "/path1:/path2"
    ' H' B& v3 _0 r; h
  698. ;include_path = ".:/php/includes"
    / e" R* H$ o7 l, d( O4 B) h
  699. ;
    , |3 `" f6 y5 d
  700. ; Windows: "\path1;\path2"7 E& Y1 t, R5 d- A5 W) \* P9 ~4 H, |
  701. ;include_path = ".;c:\php\includes"5 C. M; S/ `: h$ A* z0 [
  702. ;
    * \( p9 |3 V. ^" F, p4 G. g# @1 `
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ; s# y, X7 H; H6 Y
  704. ; http://php.net/include-path& I5 g) V. f* X5 u0 m

  705. . Q) ?- \$ o- e; x: \9 \3 S
  706. ; The root of the PHP pages, used only if nonempty.: f. ?& L1 J9 A2 V+ ?
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    6 j6 b/ q+ a/ |" {+ Z
  708. ; if you are running php as a CGI under any web server (other than IIS)4 D9 ~. w% T4 T& N& ]+ a9 o8 i
  709. ; see documentation for security issues.  The alternate is to use the: j0 k0 w; [7 a' n, k: |4 d% ~
  710. ; cgi.force_redirect configuration below
    " ]( o& i8 ~3 P* \/ F" h- w6 a
  711. ; http://php.net/doc-root4 P% _2 l$ m  d6 A6 m
  712. doc_root =
    6 F/ ^) q8 _8 R" L1 j

  713. * |  s; H5 o$ T/ N$ D
  714. ; The directory under which PHP opens the script using /~username used only
    # ]9 n' }  b3 ~: i, Q' s
  715. ; if nonempty., m0 M" p- Q) N
  716. ; http://php.net/user-dir/ p+ B) y% o/ X! h3 _
  717. user_dir =2 r/ |3 l5 f4 L% k# d( P
  718. & C/ I: ]. d1 r2 a) c: ]% a$ ]
  719. ; Directory in which the loadable extensions (modules) reside.
    & a# Z/ U- w4 Z( N) T% M2 U! Z: R- N' J
  720. ; http://php.net/extension-dir
    ! O& Z" K# u! f( w1 \  o
  721. ; extension_dir = "./"
    + e6 w, l( R, r/ X; o# j3 `
  722. ; On windows:; I$ `/ J9 i( J1 M/ U) M
  723. ; extension_dir = "ext"
    7 p# K/ b2 x, W, |& Z: o0 ?

  724. 4 d; @! f9 K$ u3 n
  725. ; Directory where the temporary files should be placed., {% @" k' c. C* h8 A4 n! r% [
  726. ; Defaults to the system default (see sys_get_temp_dir)4 P: [7 |2 n( _* ?% W6 ]! M* }
  727. ; sys_temp_dir = "/tmp"
    : r3 E! g( i" P5 X, I8 I8 O2 [9 C; \

  728. , L) R. u& E! E, T& S
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work; @2 q! b% L# s  n5 c0 w) k/ s
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically+ \$ W/ F7 S- w! x: e
  731. ; disabled on them.) d/ B0 q$ M1 E" ~$ X  a
  732. ; http://php.net/enable-dl) d* {7 x; @  x( g% Z
  733. enable_dl = Off3 V' ^8 j4 t( p, P8 S, [

  734. 2 c! j( t) m# z
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under1 `% }  E" d- j, Z, @
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can) K3 M, j1 X8 b, f
  737. ; turn it off here AT YOUR OWN RISK
    7 S$ F! S% t0 t9 O' q# S* F
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**6 Q- Y; f% D' ^; X& a* i" j
  739. ; http://php.net/cgi.force-redirect
    - o0 c" V5 W5 I2 P% a( C! j  u
  740. ;cgi.force_redirect = 19 }$ Z, X3 m- j0 u6 \
  741. 6 e1 P4 f  x& k" j8 q) h1 T8 p. g- i
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with+ j! y& I9 r8 N5 I
  743. ; every request. PHP's default behavior is to disable this feature.
    * S* K2 l1 \! B! i' p" a, \2 o
  744. ;cgi.nph = 12 `- r+ _7 d  L6 p; i

  745. % ^$ y4 t, f$ y) a6 W% E# [
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ! A4 J* ]7 e  U7 J  z6 L, D# P! R6 A
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP* Q- i$ o8 O7 e1 Z! s' ?# ?  N
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ; a: o! n5 n9 J
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    $ v, j* w% h6 ]5 i$ G1 \) a
  750. ; http://php.net/cgi.redirect-status-env
    ) G$ p  B/ o: |: o
  751. ;cgi.redirect_status_env =
    " i  u7 l3 _! |* t" I7 n
  752. 4 y+ m& l( [/ |7 |, V7 c% V" ~
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    7 m6 L% w( s/ [! a
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok3 P7 d7 H( |0 e% w5 M! C) T) E
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting3 _/ T4 c7 V$ |3 J: l8 b
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    6 P# H- o6 T  x7 o& A6 R, r2 b: y
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    / ^: o  @* q' t6 u5 @+ j
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    5 b. R# w' h! ?' S% J1 e+ V
  759. ; http://php.net/cgi.fix-pathinfo
    6 ^: i2 _& k# ~  f7 i: g7 Z- r2 t2 m
  760. cgi.fix_pathinfo=1; J: M. J" ~" q( w8 d6 l- c

  761. ; E( ~1 k( Z5 J4 E- S: A" _; x# f* f
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    ( a; |/ x1 E( }% \1 X
  763. ; of the web tree and people will not be able to circumvent .htaccess security.0 z- m  ^0 J6 k' Q9 u0 j. l4 P0 O: S( C
  764. ; http://php.net/cgi.dicard-path
    ; O8 t$ O+ {% w; `0 J9 y
  765. ;cgi.discard_path=14 T5 n+ E+ `9 ]- T! a/ n, d1 e

  766.   I- O, {$ I6 y* {$ G7 l
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate  _! Y: I" s+ \; y6 e( F3 U& X$ `
  768. ; security tokens of the calling client.  This allows IIS to define the! d# [1 r! T3 m, ^' p  x
  769. ; security context that the request runs under.  mod_fastcgi under Apache4 x* c; n$ o  w+ y
  770. ; does not currently support this feature (03/17/2002)
    ! S6 I! L& k4 t( N
  771. ; Set to 1 if running under IIS.  Default is zero.
    : c6 N$ ~0 _1 d/ j9 u( n% s
  772. ; http://php.net/fastcgi.impersonate
    3 _4 x6 M5 }- C, r& ]' V
  773. ;fastcgi.impersonate = 1
    5 K6 z' D  y" i
  774. / B$ k& L' a+ n. J8 e
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable! @& k3 A% I  k9 {8 a2 J
  776. ; this feature.
    + O( W( I$ W3 D
  777. ;fastcgi.logging = 0
    " g6 @; {# i. _, z8 v7 E* ]0 x2 ?0 f
  778. 5 X3 A: G# f+ y8 p6 l  }' Y
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to6 I& }" E7 z1 i$ s" J- j8 K( U7 m) J
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ) @/ p4 {7 O2 D4 l
  781. ; is supported by Apache. When this option is set to 1, PHP will send: P/ M4 y" j0 ?  k
  782. ; RFC2616 compliant header.
    ' H7 g# o" n" X( `7 z' N
  783. ; Default is zero.
    ! ?2 Z; V: S1 c' Q9 m2 r" l% [4 m: ~
  784. ; http://php.net/cgi.rfc2616-headers
    + N9 d  A" }( j7 I
  785. ;cgi.rfc2616_headers = 05 N8 j& O! s4 z

  786. 1 D+ C$ q5 q! N$ V+ g& Q! v+ i. X
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    1 `2 `) C/ @0 x: a, ]
  788. ; (shebang) at the top of the running script. This line might be needed if the. \, H' G6 F$ K0 \7 m1 l
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI8 k4 {; z% a  j0 w% c2 E$ ]/ R
  790. ; mode skips this line and ignores its content if this directive is turned on.
    8 K) `& n; e6 f  q
  791. ; http://php.net/cgi.check-shebang-line0 G# x/ f% e7 H$ r0 _
  792. ;cgi.check_shebang_line=1
    * T6 }; ?" w' D, ~) `3 N1 }8 X
  793. % j+ i1 n2 w4 m# ?* \/ ^' p3 I& j
  794. ;;;;;;;;;;;;;;;;5 }7 S$ u  z4 v$ d- L0 s2 k; l, @; T
  795. ; File Uploads ;% s  l8 P2 d% _* [
  796. ;;;;;;;;;;;;;;;;
    - M0 W& U6 R; ]0 K: _4 A! V

  797. , t% n, ~+ t. j  C, C
  798. ; Whether to allow HTTP file uploads.
    % i- P( W5 a* s( h, _
  799. ; http://php.net/file-uploads9 L; ~& f' n; v: Z
  800. file_uploads = On. X1 ?: S2 l# T2 _  w  K

  801. ) d- F) s1 u# i. T
  802. ; Temporary directory for HTTP uploaded files (will use system default if not: I0 g1 V1 F: x1 o" u
  803. ; specified).
    & W% L+ Y* \2 X+ V
  804. ; http://php.net/upload-tmp-dir
    & ^5 d, c& ^6 P5 Y1 V
  805. ;upload_tmp_dir =  l" i& q' e1 \8 F& a, {

  806. , p; g) k& a; u/ n
  807. ; Maximum allowed size for uploaded files.# @& `( I9 v3 D# [
  808. ; http://php.net/upload-max-filesize5 P# X+ L2 E( E3 p3 R6 `
  809. upload_max_filesize = 50M
    9 h2 p1 w  z5 e1 D
  810. * q2 m- d( ]; f7 x! f
  811. ; Maximum number of files that can be uploaded via a single request
    % }  t0 Z' t+ n3 s
  812. max_file_uploads = 20
    ! |2 O! P9 D0 i
  813. 3 E( |, H% v$ d4 z
  814. ;;;;;;;;;;;;;;;;;;) C% v0 x: k6 D- E' W+ f
  815. ; Fopen wrappers ;+ F+ {" P# I1 I/ L% m( I8 e7 h8 x5 q
  816. ;;;;;;;;;;;;;;;;;;: {# m8 U4 H! z/ j
  817. ! e9 Y; E+ s; V0 H
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.# n$ A( {, ?# I2 h. d! G) b' w
  819. ; http://php.net/allow-url-fopen9 p( p. J  Z! _2 c" h5 d, T( K1 I
  820. allow_url_fopen = On
    5 N( K% ^1 M5 U6 b7 q/ ]" z
  821. 8 ~  i- ~" Q* M0 z& ]& m8 {! O
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    " B; l9 i5 b6 |0 b. d/ t' W
  823. ; http://php.net/allow-url-include' Y: ]$ e1 F- S7 p/ ?, x
  824. allow_url_include = Off' z8 l8 s# O& C! ]5 z% B1 ~

  825. % V  Z0 W0 E: k! r
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    ; T) Q' e; t* r+ |" z
  827. ; for this is empty.
    1 W& q- x( e! J% `, g4 Z
  828. ; http://php.net/from/ I# V$ ~# L$ b8 a7 v2 W- T
  829. ;from="john@doe.com"
    / O/ s" Z- O8 S3 `7 U$ {6 c
  830. 3 l: o, a1 F) {9 Y; s8 X
  831. ; Define the User-Agent string. PHP's default setting for this is empty.0 r$ a* P2 A' H( d3 P9 _
  832. ; http://php.net/user-agent4 D3 P2 S% u9 \* i
  833. ;user_agent="PHP". K/ \2 ^& B+ {3 A& I9 L! L) ]( Z
  834. - a# r- U2 y) A; t4 u: q  G2 L; i
  835. ; Default timeout for socket based streams (seconds)
    4 J! }" h+ g% }  N9 }6 k
  836. ; http://php.net/default-socket-timeout& [8 a+ T. o4 y3 r1 |% F
  837. default_socket_timeout = 60/ j5 ?8 M) Z- w: a! J0 l+ W4 [
  838. . C" G0 O, x/ q' ~% ]1 y
  839. ; If your scripts have to deal with files from Macintosh systems,
    / t# Y( z: k7 ]2 W4 ?& F; x
  840. ; or you are running on a Mac and need to deal with files from
    : Z' A9 k  `/ R' A: i  ]
  841. ; unix or win32 systems, setting this flag will cause PHP to9 O0 H% t5 [& t0 y0 \  [' V) o
  842. ; automatically detect the EOL character in those files so that: O$ k! \7 y; F8 j5 W5 x
  843. ; fgets() and file() will work regardless of the source of the file.6 Z- [5 E- L5 o" k" S- @
  844. ; http://php.net/auto-detect-line-endings
    - y5 H; n$ x8 Q# C$ B
  845. ;auto_detect_line_endings = Off$ v0 c9 k  @& h2 l
  846. 4 l* z4 R  z- E6 x; l1 t
  847. ;;;;;;;;;;;;;;;;;;;;;;" x( v5 J+ r; Y% T$ |% S
  848. ; Dynamic Extensions ;  i2 R7 V- S6 X3 h3 d8 ^
  849. ;;;;;;;;;;;;;;;;;;;;;;$ |; `$ Q+ V$ l( v; N1 B& G
  850. " G' u' }7 w+ T0 C
  851. ; If you wish to have an extension loaded automatically, use the following
    ! ?0 C3 L8 h' S! S- K
  852. ; syntax:
    , }- I0 B8 j, I% S
  853. ;/ _, S% }, I9 `. J2 v8 m0 E$ e7 \- S
  854. ;   extension=modulename.extension1 V1 p, b- p; W2 A  O
  855. ;! }( v; R+ v4 }9 _/ Z
  856. ; For example, on Windows:
    . {+ K7 b/ j7 S& O
  857. ;
    8 Z% f7 R/ p( U1 r0 F+ g0 a3 o! ?& E
  858. ;   extension=msql.dll; j9 R1 _- p0 D" I
  859. ;
    + g0 Z$ h. t$ b/ s! ~4 o0 V
  860. ; ... or under UNIX:' Y% g/ t: Z- A) p4 [" f% k
  861. ;
    1 ?! m0 k' f) B$ S
  862. ;   extension=msql.so% N0 t' C( M, h/ d
  863. ;
    2 F9 g, v- M6 U! T6 k7 [: G4 D
  864. ; ... or with a path:
    ! ]+ V' a/ l, i9 m: T( S4 r
  865. ;
    0 E! p. V& a  l" I( q" X2 g  W
  866. ;   extension=/path/to/extension/msql.so% n! m4 I) z; P' j6 f
  867. ;
    0 I8 M, C5 b) V, S3 s  J$ y
  868. ; If you only provide the name of the extension, PHP will look for it in its- S/ N; n$ l2 d% z) H& {" Y6 W" A
  869. ; default extension directory.5 n6 n' I& W6 F2 Q' T& d' K% O
  870. ;
    % E- m( w% Z( L2 V  A6 l( u# V
  871. ; Windows Extensions9 O  K, }( g  m4 A6 _
  872. ; Note that ODBC support is built in, so no dll is needed for it.: ^- s3 g. U8 t8 P: Y
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    5 K: o; m1 Z2 Q3 A2 j  B+ ?$ b# y
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).( F. E; @$ h6 |; G
  875. ; Be sure to appropriately set the extension_dir directive.
    3 I& k! t5 \9 R0 h/ Z3 j) j
  876. ;( N! f$ }4 @. J3 l- v' F( [* H7 Q1 |
  877. ;extension=php_bz2.dll9 ^# u! q, [9 T6 M8 Z
  878. ;extension=php_curl.dll
    * A  j9 ~5 _6 l8 T
  879. ;extension=php_fileinfo.dll0 Q  }3 x6 `+ _: t' ^% `
  880. ;extension=php_ftp.dll5 J  j2 R. v2 F  l; ^
  881. ;extension=php_gd2.dll- ~% l6 k0 n) x
  882. ;extension=php_gettext.dll
    - _4 y& E: d" T6 Z6 ?6 |( v
  883. ;extension=php_gmp.dll! i6 R# W! B/ P1 R& Z
  884. ;extension=php_intl.dll
    1 ?2 l( a/ h9 I8 H
  885. ;extension=php_imap.dll$ }& h! U1 w* p' ]
  886. ;extension=php_interbase.dll
    4 @9 t- I! Y& h) g$ k
  887. ;extension=php_ldap.dll
    / ~2 X" v9 _/ q  Y
  888. ;extension=php_mbstring.dll; E( W" f$ d2 o
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it# C9 w$ n3 p% \$ v3 p
  890. ;extension=php_mysqli.dll0 e% U3 i# ^! u* m2 B- l
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client& c9 h: v) c$ ?+ P( r* o
  892. ;extension=php_openssl.dll
    $ p/ A: }: F* }# P
  893. ;extension=php_pdo_firebird.dll, i9 N3 v+ F. G# i6 T- k
  894. ;extension=php_pdo_mysql.dll
    . `, U5 G- }! A2 a
  895. ;extension=php_pdo_oci.dll: _& O1 W; }( m, @6 ~! n
  896. ;extension=php_pdo_odbc.dll
    ( F- d1 y' K! ]# a7 x0 n
  897. ;extension=php_pdo_pgsql.dll4 D3 [% X3 g( p0 _( B: F- T1 o1 U9 @
  898. ;extension=php_pdo_sqlite.dll
    / o5 `  z7 V) o6 R' q' e; f5 \
  899. ;extension=php_pgsql.dll" x- [% K4 \- Z7 {6 r
  900. ;extension=php_shmop.dll  p" o$ p9 _+ B

  901. 8 ~' a- o6 n% k; y2 \. y  Q5 G1 `9 Q
  902. ; The MIBS data available in the PHP distribution must be installed.
    % N. j$ a2 ?/ j
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    # d+ C( B* s% l) W
  904. ;extension=php_snmp.dll
    1 Y6 ~& v% R4 k0 [

  905. 9 u9 @6 }- y  w8 i
  906. ;extension=php_soap.dll/ G8 P0 F% j; S0 U+ B8 {
  907. ;extension=php_sockets.dll
    - y% u/ T2 n* U+ E+ ?
  908. ;extension=php_sqlite3.dll4 k  F$ `" z3 y8 y$ _
  909. ;extension=php_tidy.dll8 c& |: |) E' C8 b
  910. ;extension=php_xmlrpc.dll' s- \0 W9 F6 C7 P% z/ z" F: p
  911. ;extension=php_xsl.dll4 }+ e2 z' U9 M3 h2 {; d

  912. + K: q/ L3 G8 Z0 S5 `
  913. ;;;;;;;;;;;;;;;;;;;/ Z3 W  W# a- {4 |3 x
  914. ; Module Settings ;
    * a! p( {, x( v7 z7 A' C
  915. ;;;;;;;;;;;;;;;;;;;
    + `! f0 J" E$ P

  916. ! c2 P% M0 R. O7 E4 A
  917. [CLI Server]  t7 u- b9 x/ h* P
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    # E  D6 \% q& R1 M) W& p
  919. cli_server.color = On& s) v0 f" q$ Q! C" {. B7 Z$ G8 O5 M

  920. % ~% f2 \9 @) \, |  q
  921. [Date]
    " u9 M% E% v; e0 c& E, Q  |
  922. ; Defines the default timezone used by the date functions2 T3 o0 a9 P5 J" Q- A6 y, C" [9 w
  923. ; http://php.net/date.timezone, n% T: A$ L4 |. |# J
  924. date.timezone = PRC
    + t  i% h5 a' k* f" o

  925. ' R5 O1 o' n! y
  926. ; http://php.net/date.default-latitude7 z; z1 W& `  M" {& i' r
  927. ;date.default_latitude = 31.7667
    3 o4 C' L, A4 R( b: \/ o
  928. , [4 g+ Q9 Q6 Q6 G$ `  l- T1 U
  929. ; http://php.net/date.default-longitude
    , R! _5 R# B0 V- b- N+ d
  930. ;date.default_longitude = 35.2333  }+ f( N. S' N) A9 F
  931. " |* S$ U; e- E9 Q
  932. ; http://php.net/date.sunrise-zenith, w0 ~0 H, U/ |  T. M
  933. ;date.sunrise_zenith = 90.583333) w3 x. R8 M! y4 T; U, L1 o

  934. 7 l% {# f0 i0 L
  935. ; http://php.net/date.sunset-zenith
    8 q3 Y' D( }4 }' C) a( C: G
  936. ;date.sunset_zenith = 90.5833336 a2 w$ @! z  q* M; W) X1 [1 w

  937. 9 @* e7 A; K- d8 {3 U: [
  938. [filter]) n; t* A( Z1 w) _$ I9 }
  939. ; http://php.net/filter.default
    $ ]% i$ E# g7 Y
  940. ;filter.default = unsafe_raw5 E0 u+ [. W! I; E6 U7 P+ V7 x
  941. % N/ L2 v: O' n5 c# {
  942. ; http://php.net/filter.default-flags% G6 w6 x4 `1 A$ l! ^3 g
  943. ;filter.default_flags =7 H1 v. s& N* I1 I) r. \$ E

  944. : Z$ B' d# y) Y0 O  C$ ?
  945. [iconv]
    . O: F% T( C* j" x1 u* [# h5 n9 p
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.3 j7 @9 \1 d4 ?# x! m4 D
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ; B" d0 V5 p! t1 E5 L/ l: s
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding# D' P- t  D" s( i) J7 n
  949. ;iconv.input_encoding =" I: _/ x1 O# W' ]

  950. - u" M8 {: K# n
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    - G' B0 k' J+ u+ [/ T
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used./ c* Y6 Z6 y1 [5 ^4 \9 w
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    - l2 G! s1 d+ Z5 h
  954. ;iconv.internal_encoding =" e* J" m" I( D6 W& {. V) a
  955. 9 e$ t, Y! g; z4 K0 c, {
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.- }; ], n8 G$ U. @/ o; v
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ! g( |* ?8 l( ?, j- p
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding5 T- m. {: ]* P  l- _" {* v8 P. h
  959. ; To use an output encoding conversion, iconv's output handler must be set( j( j/ n5 c; J  g% k3 C$ k# H
  960. ; otherwise output encoding conversion cannot be performed." i5 I- n2 S3 Q+ i5 a
  961. ;iconv.output_encoding =3 P# d. c; f, ?1 k: n
  962. / }+ G5 i" F1 g$ g$ q& g
  963. [intl]3 r) r9 k& j5 o! J4 ?& L7 p
  964. ;intl.default_locale =* O7 O' V" j& n6 W
  965. ; This directive allows you to produce PHP errors when some error
      ?# o* [$ Z/ Q/ A+ W9 u
  966. ; happens within intl functions. The value is the level of the error produced.& A) z# ~7 T8 e+ d8 K: N
  967. ; Default is 0, which does not produce any errors.- \9 ~- R# |' Y$ `
  968. ;intl.error_level = E_WARNING
    / d. E8 g3 a/ I( I" s
  969. ;intl.use_exceptions = 0" \( J$ Y7 g5 D  Q. ?4 V/ b

  970. & @5 e# B+ P- C% ^4 v/ t+ O0 d
  971. [sqlite3]
    ! L8 Q3 E1 G. q( {8 E
  972. ;sqlite3.extension_dir =1 w/ t* r# n% X% _" M! g% \0 Y
  973. 1 H, D. i. F2 e5 G. {
  974. [Pcre]& C# R9 c# w( u& h7 x  L8 \% V! M
  975. ;PCRE library backtracking limit.
    5 D! v2 {4 d" F8 h
  976. ; http://php.net/pcre.backtrack-limit
    0 l: G" e: b3 s. x; |/ l, J% g9 B# E
  977. ;pcre.backtrack_limit=100000, V) V. S  t+ n1 r9 `; T

  978. / J& {0 B; m' W6 o6 j
  979. ;PCRE library recursion limit., V/ u7 N0 j% _( I! j2 I
  980. ;Please note that if you set this value to a high number you may consume all
    0 `& ~' i, e- N' d$ x  c
  981. ;the available process stack and eventually crash PHP (due to reaching the
    9 H, p+ H, r5 a
  982. ;stack size limit imposed by the Operating System).5 |# U; P/ G0 i/ P. m- ^
  983. ; http://php.net/pcre.recursion-limit; o! e  b  t  ~: u/ [
  984. ;pcre.recursion_limit=1000008 e% C/ e% a- r  J0 E' X

  985. 2 e! o7 ], Z/ L; ^
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    6 a0 q, j& Z& e+ w- v8 X' Z3 T
  987. ;library to be compiled with JIT support.! O" D  D: s+ q$ ?8 f
  988. ;pcre.jit=1) P& I8 x) K9 P1 ]

  989. ( N5 {0 L+ x% ]
  990. [Pdo]
    : [5 \3 X% g3 E- v; O- |1 t
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    0 X) }, e* k' t$ d
  992. ; http://php.net/pdo-odbc.connection-pooling
    % Z# U8 ^9 a# A
  993. ;pdo_odbc.connection_pooling=strict
    9 i9 l- X% z5 O9 h: }, V- ?
  994. & ]" d! g% E3 T% }- n
  995. ;pdo_odbc.db2_instance_name2 Y) p* @4 x# I) `7 y8 R
  996. % D, {' \0 h, `  N3 _4 E+ X
  997. [Pdo_mysql]
    0 b( \5 w  q# J- m# H6 X
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache& @" f  f6 E, ~5 A0 ]8 J! n% l8 ^
  999. ; http://php.net/pdo_mysql.cache_size
    ; b' j5 g( j% o" G# Y' D
  1000. pdo_mysql.cache_size = 2000+ R, S0 `* |/ y7 ?+ S, k1 X: \+ W
  1001. 5 o4 E# |- k* y
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in" ^% c: ~! i. L! u$ h# ~- {
  1003. ; MySQL defaults.
    5 v/ s& D# S4 x+ {8 C
  1004. ; http://php.net/pdo_mysql.default-socket
    . _) M% f, y9 I( Q( P& Q
  1005. pdo_mysql.default_socket=, D+ ?, ]& T, i9 w
  1006. ( W5 `5 B$ a" g9 R0 D
  1007. [Phar]
    " l( ?# G8 w; q
  1008. ; http://php.net/phar.readonly
    0 c' {3 S# {5 w
  1009. ;phar.readonly = On. L6 B+ ]  q% v$ y) ?) c8 @
  1010. 2 U5 q) g" S6 g8 H
  1011. ; http://php.net/phar.require-hash* V. M/ Y: \. L' @/ ^4 }, o; s6 A4 l
  1012. ;phar.require_hash = On  Z' d: u, ]- v6 E& D6 }+ A! S  V8 f

  1013. 5 M6 R+ i, N# i" O
  1014. ;phar.cache_list =. Z- R1 m6 r( ~5 ]2 w  c
  1015. % m' x$ W/ Q0 _. i) s' Z
  1016. [mail function]8 s4 F4 }% T4 v0 G
  1017. ; For Win32 only.3 g% \* h8 a& S6 C! g
  1018. ; http://php.net/smtp
    1 V, g/ f6 f; M3 C- q. C
  1019. SMTP = localhost2 g; z' g" r. ]( s) P- q( T
  1020. ; http://php.net/smtp-port
    - Y8 C# @# f/ i) E8 M7 d' i
  1021. smtp_port = 25& y9 T6 t- U' T; X5 `

  1022. ; v3 _) w; }- G5 L4 M% z
  1023. ; For Win32 only.6 q# u3 i; R& K. M" S1 _
  1024. ; http://php.net/sendmail-from
    * @  e9 f! \; j( h
  1025. ;sendmail_from = me@example.com
    ) @1 S7 `8 u1 C( K& h7 `

  1026. 8 Y0 z8 ?, l2 [2 m7 N
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    " `. d: n* Y, Z: e. F: ?
  1028. ; http://php.net/sendmail-path( P7 M1 X8 Z+ G  Q* S0 S
  1029. sendmail_path = /usr/sbin/sendmail -t -i. n0 q( E- f! Z  j- g, N2 f0 v

  1030. / B. v- p5 P+ T' ~2 q* e/ S- V
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    7 F) D5 f, v: c
  1032. ; to the sendmail binary. These parameters will always replace the value of& c. r7 X0 R1 O" `0 S; R  |
  1033. ; the 5th parameter to mail().6 ^0 {- c/ v# i( Y! T
  1034. ;mail.force_extra_parameters =
    3 N/ C3 \5 h( H4 |! I# T

  1035. 5 \# j' M0 z, `) {4 t/ u, I9 }$ J
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    : G- B9 ?5 d( D' P; ~
  1037. mail.add_x_header = On: W; [  G2 A' c: x" _. I
  1038.   K, S: U5 k+ J1 g: A) p8 h. b
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    ) i9 b, c0 \4 L* L
  1040. ; the full path of the script, line number, To address and headers.# }$ V( z. \" c. ]9 l
  1041. ;mail.log =: k# C# s5 E" X+ D
  1042. ; Log mail to syslog (Event Log on Windows).
    ; e( Z8 x7 j7 ^3 ?
  1043. ;mail.log = syslog) D4 g% L3 S# V/ ~
  1044. + I; G: s$ v: N8 G
  1045. [SQL]
    9 S5 {/ J1 s' G
  1046. ; http://php.net/sql.safe-mode
    6 s, v1 m8 ]4 w8 x9 k4 U- K1 ^0 o$ g
  1047. sql.safe_mode = Off& ]0 U* b$ x+ M. P8 w( Z4 e
  1048. # ~9 B% u! ^+ U- l; \7 ^
  1049. [ODBC]1 L; U" T0 ^( c9 I
  1050. ; http://php.net/odbc.default-db8 u, h" N( w4 D# P2 E9 E. A; g' d
  1051. ;odbc.default_db    =  Not yet implemented/ W( z7 F8 X: p/ ?. ?7 c

  1052. 0 ^5 R# m2 h& Z$ m3 x$ [
  1053. ; http://php.net/odbc.default-user
    - D/ B. \9 E8 r5 ^
  1054. ;odbc.default_user  =  Not yet implemented$ R. D2 L8 n8 T0 Z
  1055. 0 K+ n6 w/ h( }+ M8 ~
  1056. ; http://php.net/odbc.default-pw
    , a( y  c" C% c( }8 H1 j- G! N3 c& \' X
  1057. ;odbc.default_pw    =  Not yet implemented
    3 t, i  m2 n3 f  w6 h" Z9 A
  1058. 8 m6 _/ t# W0 B0 n) C7 @2 }
  1059. ; Controls the ODBC cursor model.
    ( K4 G3 K4 Z+ b( S# a- ~7 D# x
  1060. ; Default: SQL_CURSOR_STATIC (default).
      i* ^6 w$ W4 O4 ]
  1061. ;odbc.default_cursortype* O. K7 n" q* r1 k# }# P
  1062. 1 k# \5 E3 O* T$ e7 S* l
  1063. ; Allow or prevent persistent links.
    / \8 K* N- H9 k$ n' K, ?5 |! v+ W
  1064. ; http://php.net/odbc.allow-persistent! |0 \8 E( @) y- D
  1065. odbc.allow_persistent = On
    , @. y! Z8 l( m  V
  1066. - V' t9 {* F% ^, n6 t/ m
  1067. ; Check that a connection is still valid before reuse.; U' b+ n/ G' S& R) r- Z4 }4 I
  1068. ; http://php.net/odbc.check-persistent, k- S+ m- i" l
  1069. odbc.check_persistent = On
    ' x* _: d2 Y, X4 \
  1070. 7 [7 p# n4 v' z
  1071. ; Maximum number of persistent links.  -1 means no limit.+ u. D' y8 c+ @5 N& R; t$ i9 A; `
  1072. ; http://php.net/odbc.max-persistent- C- B* F8 O( s0 r. _
  1073. odbc.max_persistent = -1
    % Z/ p% d. ~5 u% G8 }
  1074. % J" T& B8 ]" \- h+ o/ n/ \% ^
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ `" Z2 v2 ~+ T7 x6 x/ j( L. `
  1076. ; http://php.net/odbc.max-links" G1 E& _, h5 M* J
  1077. odbc.max_links = -1
    ' @- t2 r" n  k# u1 o
  1078. ! ^) {# D  E3 X  s+ ?
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means3 Z6 O' Y. a- C0 ]' u
  1080. ; passthru.
    9 Q9 C/ Q9 e1 h8 @/ `9 l5 y* v8 \
  1081. ; http://php.net/odbc.defaultlrl# V7 e2 P1 S! _8 i
  1082. odbc.defaultlrl = 4096' u1 T- n0 x7 T2 v. w; O2 n7 K
  1083. % A! r0 h* Q% C- Y
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.- t- O" o: v, @+ f5 ?5 g" ~9 Q6 g
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation( S3 B- R* ]# ]  Z
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode" {5 @6 B3 H, s0 |
  1087. ; http://php.net/odbc.defaultbinmode1 Z2 y. K1 v: `7 ^0 L) j
  1088. odbc.defaultbinmode = 1
    " K4 Y9 a  Y9 Q

  1089. ) r) {! Z2 J4 l% I
  1090. ;birdstep.max_links = -1+ X! D: x; e) S% g
  1091. ' }( t3 ^+ A) _' S7 w' Q
  1092. [Interbase]: V) P+ V5 n% W2 `& N2 N+ t
  1093. ; Allow or prevent persistent links.
    $ }$ F$ {5 R1 _+ a
  1094. ibase.allow_persistent = 1
    + y7 Q+ X+ {" s% N8 w. i

  1095. 3 [0 D8 W4 J, S' h$ K7 A- T# Q
  1096. ; Maximum number of persistent links.  -1 means no limit.- J6 J5 u5 U) m6 O& y/ W8 M" S
  1097. ibase.max_persistent = -1
    ) ]7 ~) M4 ?% x# E6 {4 G9 T
  1098. 6 P$ [- f8 ^, C2 a0 N
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      C, O3 n3 E, k1 A
  1100. ibase.max_links = -11 Q* V- M! o# f! M: O" ]: _

  1101. 5 p5 H9 W/ t" ?* x: v* z
  1102. ; Default database name for ibase_connect().8 d! Z, f7 N- w3 A2 m# o+ b7 D
  1103. ;ibase.default_db =/ H5 U1 e/ S3 m, E9 v9 @

  1104. : _/ ^& ?& {+ d( Y; p- J. F  X
  1105. ; Default username for ibase_connect().7 G4 V$ v4 k2 G9 I+ D3 [6 j9 f
  1106. ;ibase.default_user =
    5 n9 q: f* w7 ^6 Q

  1107. 9 b) c: _3 T2 K$ R5 e$ z
  1108. ; Default password for ibase_connect().
    $ C& T" D% N8 {  J5 `# y
  1109. ;ibase.default_password =
    + H* h  A- C3 p1 b8 f6 n
  1110. / I; k5 b: v3 ~% P  \: C
  1111. ; Default charset for ibase_connect().
    " Y/ w" j' I, @, D- a* q
  1112. ;ibase.default_charset =
    5 d4 \- r/ l* ^
  1113. 6 S1 r1 K# l) T- u& k- v, a4 w! A
  1114. ; Default timestamp format.
    2 A1 r9 @. {4 H( v
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"$ y% `* y' G& a5 A& H4 b4 \. n

  1116. " v. Y2 |! K2 a4 x* G5 D
  1117. ; Default date format.! s7 I) b8 m1 C1 i
  1118. ibase.dateformat = "%Y-%m-%d"
    9 E' b5 t3 k& g/ W- ^
  1119. & P5 z6 ~# J5 B& j# M  |  V) d
  1120. ; Default time format.# |& n: K+ I) r/ w  W
  1121. ibase.timeformat = "%H:%M:%S"
    % d! r/ H! P3 D% A! ~: o* g0 i
  1122. 9 L: a8 t  Z7 _& x# O9 h; v
  1123. [MySQLi]1 C6 J' P0 O$ D' F! ~

  1124. ! p0 _9 A5 ^" k3 ?9 `' ?, U0 L
  1125. ; Maximum number of persistent links.  -1 means no limit.
    $ d( u  T; f5 n; q! B( ~9 ~# ~0 L
  1126. ; http://php.net/mysqli.max-persistent
    $ a9 s6 ~& e3 n$ n3 p# X+ U
  1127. mysqli.max_persistent = -1
    0 b8 s( |7 x1 h1 ?- y/ A. a) U
  1128. 8 X/ t- F" l" p0 T& }5 M
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements5 A/ O% U& j3 {; C2 Z/ z- k
  1130. ; http://php.net/mysqli.allow_local_infile  h& L* k/ g" u
  1131. ;mysqli.allow_local_infile = On
    ; |5 [/ h; ]3 ]3 Q5 S) c0 v6 Y
  1132. 3 p0 E8 ], ]+ O8 D
  1133. ; Allow or prevent persistent links.$ ~1 W# n/ C( S! P( e
  1134. ; http://php.net/mysqli.allow-persistent5 Q0 v2 H. E  n5 M. z& i# z
  1135. mysqli.allow_persistent = On
    1 k2 M9 b" @$ E6 w+ Y& h
  1136. . k7 z2 b& [1 I& C/ ^9 E
  1137. ; Maximum number of links.  -1 means no limit.1 _/ A+ {) l4 j. l, e, H4 g* m6 k
  1138. ; http://php.net/mysqli.max-links! e& p2 s; f, C2 z: Q- D
  1139. mysqli.max_links = -1
    8 \6 j; m( I+ ^2 ?4 V
  1140.   e& C( V8 c: z; u3 m8 x; I
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + O/ G1 b1 R6 j! x( f; w
  1142. ; http://php.net/mysqli.cache_size
    4 ?7 F$ T& m- k! N& t1 H# @
  1143. mysqli.cache_size = 2000
    0 T# x2 k3 W5 G+ j: e; o7 d& p

  1144. / [$ Z8 J, R& K/ {3 M
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    7 }9 h" e3 X% `$ E$ M& _: E! _; d3 ]3 Q
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the0 M* x7 N) g& y1 J1 W
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look7 U0 ^$ C4 W1 [* U
  1148. ; at MYSQL_PORT.4 L: N6 R0 ?( T4 }  F' G8 J' t
  1149. ; http://php.net/mysqli.default-port8 i  D/ t0 g) j6 }3 a, h' o
  1150. mysqli.default_port = 3306
    * W- c% A+ v. O# i$ F* I  F/ U
  1151. 2 F  b- `( c- t* ~0 c" H
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    4 A8 L* G1 X% C3 L' f6 a
  1153. ; MySQL defaults.$ M. S7 b) v8 _  g# j
  1154. ; http://php.net/mysqli.default-socket
    " d  y  D. b+ p/ p7 }
  1155. mysqli.default_socket =: G. R& o- [; J4 I0 Z0 ~
  1156. 9 T/ d' z) v. f/ I9 z: T+ }7 a2 v
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    + I4 ~7 s/ f7 a0 ~: _
  1158. ; http://php.net/mysqli.default-host1 P+ C: \. M5 }  c. W( W, e
  1159. mysqli.default_host =
    : S" ^" n- [$ p8 Q

  1160. # p: ?. j  q' l, b( n
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    , d' |2 _! v- k/ p. A0 A& ?
  1162. ; http://php.net/mysqli.default-user
    + |# K! h7 V* q, E
  1163. mysqli.default_user =; f, |6 F5 V5 S
  1164. ) D# O8 r9 Z+ {( e" {0 f+ M7 s
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    & i. u: s: S% R" r  M1 X/ J
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    . X. D# H% X+ \
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    2 N# z. y) [* a/ S5 _
  1168. ; and reveal this password!  And of course, any users with read access to this
    " s; \4 b& Q0 d% G& v
  1169. ; file will be able to reveal the password as well.
    : |1 C+ i0 g3 I
  1170. ; http://php.net/mysqli.default-pw
    6 P( O8 m# G8 l; |/ y3 e1 ?  `+ j8 F
  1171. mysqli.default_pw =5 {* A, @: l& X8 M2 f" `+ ^

  1172. ) q. P2 Y8 S# x; Y. K
  1173. ; Allow or prevent reconnect
    9 g4 [. A8 u- t  D, i0 B
  1174. mysqli.reconnect = Off
    , v, K+ ^# X+ G; ?" `  W

  1175.   r+ \  o" q9 u8 V+ ~
  1176. [mysqlnd]1 s  ?: O* i9 x. e9 ]/ `
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be! j! p/ g4 s" K6 R# Y$ J. l! j
  1178. ; used to tune and monitor MySQL operations.3 q; f/ o5 O4 d5 I# f6 B2 J7 @$ [9 N
  1179. ; http://php.net/mysqlnd.collect_statistics
    & i% Z, Q" X$ G# h2 g
  1180. mysqlnd.collect_statistics = On$ {# F3 Y3 s4 Q) {" x4 {  W; a0 X
  1181. 7 B( A4 y9 M$ K* _+ {; o: g2 L
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be" c% O8 j/ }# o
  1183. ; used to tune and monitor MySQL operations., C* o! m% r; {4 m$ Q% Y
  1184. ; http://php.net/mysqlnd.collect_memory_statistics# W& j" V7 [. J0 X5 T
  1185. mysqlnd.collect_memory_statistics = Off% B- K6 T8 z9 K3 ?0 b% o" _

  1186. + G2 n" F" W! k. e
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    * x3 [% J! S* `& C9 O0 E
  1188. ; file.) E  P) R' q6 j7 |7 X1 s
  1189. ; http://php.net/mysqlnd.debug
    1 L5 ^) V" I: B
  1190. ;mysqlnd.debug =
    ' \, l4 f* ^& q; Z) G
  1191. . i5 z. @% T) K0 O4 p
  1192. ; Defines which queries will be logged.& Z  J7 I  r5 |  W
  1193. ; http://php.net/mysqlnd.log_mask
    6 d- |" N) C, Q5 Y: g3 a
  1194. ;mysqlnd.log_mask = 07 G+ a0 i6 @7 p; B( N

  1195. & v7 I" L: K! |
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    8 Z1 L+ i/ ?2 s! L6 r% z; R0 ]: X. s
  1197. ; http://php.net/mysqlnd.mempool_default_size
    + p, D, j* n  i9 F2 k( a
  1198. ;mysqlnd.mempool_default_size = 16000
    # b* e/ |+ \, S7 U8 Q2 J! {* v

  1199. 5 b7 k! i7 y. z- N4 y, V
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.; R$ q, |$ x) K9 T) `
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size6 S" M9 z8 A& |
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    + B0 _8 [/ l9 d# D3 H1 x+ \
  1203. & o/ T9 F, x4 I0 w
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in7 H2 z& k1 ^+ \# c
  1205. ; bytes.+ p0 ~' e2 p: N" N9 V1 F
  1206. ; http://php.net/mysqlnd.net_read_buffer_size8 R0 l9 j8 ?5 M; z2 b
  1207. ;mysqlnd.net_read_buffer_size = 32768
    8 f2 A4 C. q  _& A0 t  J
  1208. , K  ?+ v2 Q* s% {* D$ j4 {
  1209. ; Timeout for network requests in seconds.. x- R: u" R/ q4 f$ s
  1210. ; http://php.net/mysqlnd.net_read_timeout
    0 W) c& A: ?1 a- w
  1211. ;mysqlnd.net_read_timeout = 31536000
    4 o! j) U7 a: C) l

  1212. & ?' Q" }7 p% H- u
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA* L* f2 X, K# ?* u, s
  1214. ; key.5 H, h; g! Z( i+ T
  1215. ; http://php.net/mysqlnd.sha256_server_public_key2 q4 ]' t& B6 `# c
  1216. ;mysqlnd.sha256_server_public_key =3 ]! K  L# S1 d& q/ P
  1217. 2 B: e& g4 {1 B$ @5 e
  1218. [OCI8]
    4 O, \9 k" @' t& K, D) h

  1219. 3 ?; L4 E5 j, R$ V
  1220. ; Connection: Enables privileged connections using external
    - L5 U' m* A: n2 E5 y% C0 W
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    4 _- r. R( T; w1 O
  1222. ; http://php.net/oci8.privileged-connect
    8 @% N' f* q0 r4 G$ d6 h, A. G1 k
  1223. ;oci8.privileged_connect = Off
    9 C+ ~& e# C8 F1 |! y/ Q1 g

  1224. % s( k; R& N( k& l: K# ^- x
  1225. ; Connection: The maximum number of persistent OCI8 connections per; Y! H4 M& \( C/ F, P
  1226. ; process. Using -1 means no limit.5 e9 ]5 O! K2 u# O: a! f
  1227. ; http://php.net/oci8.max-persistent
    / ^3 g7 h5 @( R  e! y
  1228. ;oci8.max_persistent = -19 \9 \5 `* r& S) k5 `
  1229. " K0 c2 I2 }7 Q0 R& x  v
  1230. ; Connection: The maximum number of seconds a process is allowed to
    1 O" [" x( G/ b9 _: U3 W
  1231. ; maintain an idle persistent connection. Using -1 means idle
    7 o  R) E( c8 I/ a) t& T
  1232. ; persistent connections will be maintained forever.( M! O1 g& `+ e9 H. Z
  1233. ; http://php.net/oci8.persistent-timeout
    - ?* f. q- c1 |% A1 b
  1234. ;oci8.persistent_timeout = -1) d. C: ^* _0 [) S; H

  1235. 6 {8 j' j/ d$ {- r% b: ^) Z
  1236. ; Connection: The number of seconds that must pass before issuing a% F. a9 F0 _3 `& W, w% K" [
  1237. ; ping during oci_pconnect() to check the connection validity. When
    8 K& b! @) X2 v7 {5 M7 l& d
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables/ h5 a" N1 Y, ~$ _( T
  1239. ; pings completely.% {0 o4 U- X1 f3 ~8 P
  1240. ; http://php.net/oci8.ping-interval
      g0 U+ F" X3 {" q% n
  1241. ;oci8.ping_interval = 60  [0 w- _* P! [' c6 b1 F& X5 v
  1242. 5 D) C; A2 m* S5 S  I; O
  1243. ; Connection: Set this to a user chosen connection class to be used5 K& ?" B, C- b2 K) o0 t# S
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    4 S! v9 ]2 ^; j# s3 D  U
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    8 R; t# {8 M6 f8 R- d6 X
  1246. ; the same string for all web servers running the same application,
    : l4 m7 L: e9 k# \6 a/ C
  1247. ; the database pool must be configured, and the connection string must
    . `+ _7 y1 ~* D9 `/ a
  1248. ; specify to use a pooled server.
    5 U8 b; F. V' b
  1249. ;oci8.connection_class =3 L( ]" X5 x+ j
  1250. ) d. T3 y2 }1 M5 m9 c) L
  1251. ; High Availability: Using On lets PHP receive Fast Application" Q2 I0 v% }1 Z
  1252. ; Notification (FAN) events generated when a database node fails. The
    2 `( `, k% Y0 L- s
  1253. ; database must also be configured to post FAN events., x( l+ g  D! {3 ]# n& R
  1254. ;oci8.events = Off
    7 t( @' Z& Q( @% L
  1255.   l. o) _3 G5 S+ ]
  1256. ; Tuning: This option enables statement caching, and specifies how5 J. c" c* V1 P/ M2 n
  1257. ; many statements to cache. Using 0 disables statement caching.8 v3 O2 D' R+ O- P
  1258. ; http://php.net/oci8.statement-cache-size$ C+ w9 }( T' p
  1259. ;oci8.statement_cache_size = 20  Q+ O( J" h, H" j( N
  1260. 2 B: a; s/ u4 Z  K4 ?
  1261. ; Tuning: Enables statement prefetching and sets the default number of: ~; ~& L$ {: ?* e  r3 ^2 V# |
  1262. ; rows that will be fetched automatically after statement execution.
    ' \$ s  g. _) |# @& D
  1263. ; http://php.net/oci8.default-prefetch$ G8 {* D% h' B2 T% P" X
  1264. ;oci8.default_prefetch = 100
    & m3 q3 }: `# I' }

  1265. / \+ O! h/ R% V9 n* X( |
  1266. ; Compatibility. Using On means oci_close() will not close
    / n4 H, a7 n  u7 ^6 ?7 K
  1267. ; oci_connect() and oci_new_connect() connections.) Q7 f' O& n, J% B& h- p4 c
  1268. ; http://php.net/oci8.old-oci-close-semantics3 P( w5 `& Y$ [' O5 i8 ]9 h
  1269. ;oci8.old_oci_close_semantics = Off1 Z1 e4 B/ L( Y4 N9 b

  1270. % u7 g% y) L# f
  1271. [PostgreSQL]
    ) W7 g7 _5 @0 u' h" j& t
  1272. ; Allow or prevent persistent links.2 x5 ]" }( ~: B
  1273. ; http://php.net/pgsql.allow-persistent
    7 b" K9 o2 L7 G2 \* ^" L
  1274. pgsql.allow_persistent = On' S* {9 U1 I( J; g# \% t

  1275. " i* T- x$ b! O- u$ {1 h) x. u0 c
  1276. ; Detect broken persistent links always with pg_pconnect().3 Y* a, q8 a4 G+ B, u9 i9 ]& o8 q  y
  1277. ; Auto reset feature requires a little overheads.
    ) x$ \  [! p3 m) ?$ h# e& E) i! d
  1278. ; http://php.net/pgsql.auto-reset-persistent5 F; T7 W$ z; ?! V5 T4 P
  1279. pgsql.auto_reset_persistent = Off7 v. m1 m, K' ^) \" g
  1280. , V, \" |  i6 c, a0 T, L; _; F
  1281. ; Maximum number of persistent links.  -1 means no limit.5 k9 n+ Q: P) p7 B. v
  1282. ; http://php.net/pgsql.max-persistent7 v7 a/ L( M0 u$ q
  1283. pgsql.max_persistent = -1/ e0 z* q% c0 T. F: S" U2 Z
  1284. 7 J( e& Z1 h$ {' `- V" @/ a% H& x& {
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.4 k4 W7 @, p0 e6 z- {" q* `
  1286. ; http://php.net/pgsql.max-links8 F5 O4 P" I4 K5 d, ~8 q
  1287. pgsql.max_links = -1  u) c2 X8 q0 ]0 t+ }7 p
  1288. 3 ]2 v( F4 y. m& C$ |) c
  1289. ; Ignore PostgreSQL backends Notice message or not.$ I: ^' i' c/ i7 ~5 \  h) k
  1290. ; Notice message logging require a little overheads.
    " }8 S% w& e9 I1 `( y* M
  1291. ; http://php.net/pgsql.ignore-notice
    , @1 _- h# _+ {3 W& _& E
  1292. pgsql.ignore_notice = 0
    ' T) F+ A2 ]! e, ]2 ?- A0 G5 U4 n1 _

  1293. % ^+ b( G( J3 M1 M: r* {. }
  1294. ; Log PostgreSQL backends Notice message or not.
    / D* n5 o" z% C- w4 E% q+ t/ l( ]
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.' L3 ~2 n# T! ~% Z
  1296. ; http://php.net/pgsql.log-notice
    ; G$ }1 R2 ]! z, C" C
  1297. pgsql.log_notice = 0. K4 l* J& F1 F5 W+ _' B* p

  1298. 7 d  \- X0 x! S' x; z5 x; x( F3 T
  1299. [bcmath]4 C3 r7 z; F: i2 }; i
  1300. ; Number of decimal digits for all bcmath functions.: q9 A! g: m2 }3 x
  1301. ; http://php.net/bcmath.scale
    1 Z' f7 ]+ {. p& X. u# a
  1302. bcmath.scale = 0  J# o2 n8 O+ C3 z. Y' p' B: E  M

  1303. : P. o/ I# z6 s& i6 A) f% Z
  1304. [browscap]
    , l0 R& r2 Z& {+ J
  1305. ; http://php.net/browscap) y2 P9 G; }3 D6 ^: ^
  1306. ;browscap = extra/browscap.ini0 P9 p! U4 a' ]+ N9 j
  1307. " o$ O- w+ |2 H+ r4 Q
  1308. [Session]
    / K! E/ @& ?' h# d  z+ n% j+ f
  1309. ; Handler used to store/retrieve data.
    9 k" m! k9 N9 n
  1310. ; http://php.net/session.save-handler5 F! A9 U0 P/ x- K3 [8 ~, \
  1311. session.save_handler = files- W. B4 ?7 C) Q8 \  p9 P

  1312. - U8 Y# I  K4 a, h9 X" e
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    , r+ m% c0 D5 c0 C3 V
  1314. ; where data files are stored. Note: Windows users have to change this  M) R0 p/ W- E4 ?) C+ o" W; u: q4 R# F
  1315. ; variable in order to use PHP's session functions.
    " I. C4 l$ o+ W1 S( V' N1 i
  1316. ;$ w/ C9 V9 v: d  A7 E
  1317. ; The path can be defined as:" G" d, j# ?  ]  T7 k4 a
  1318. ;/ v; m' p' }8 a( S
  1319. ;     session.save_path = "N;/path"
    % }# H; E1 s* u9 o- ?
  1320. ;
    % G- B% q; Z( U
  1321. ; where N is an integer.  Instead of storing all the session files in
    / m/ o' ^+ F1 [6 N; U# ^
  1322. ; /path, what this will do is use subdirectories N-levels deep, and: f% E2 H" q& g& A$ s1 U7 h
  1323. ; store the session data in those directories.  This is useful if/ P- O8 a; X+ p& [2 H5 N! p! J
  1324. ; your OS has problems with many files in one directory, and is0 G& G- t- @9 J, w& x! O
  1325. ; a more efficient layout for servers that handle many sessions.2 R  R: s- W* t9 i) u3 h
  1326. ;
    # ?. P/ _1 t+ R2 A
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    % N9 u, {6 A4 f  ~6 c
  1328. ;         You can use the script in the ext/session dir for that purpose.
    . b, t4 D5 V( q! g. ~3 \' h! B
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    4 c2 W- W! ~# {% ~- z
  1330. ;         use subdirectories for session storage' a' S, l& F2 s0 l
  1331. ;( w! f+ c; |7 Q7 N, G
  1332. ; The file storage module creates files using mode 600 by default.
    . k( I$ U0 C3 R5 ~8 h
  1333. ; You can change that by using
    5 T3 l2 {3 _7 P* h3 C  h
  1334. ;
    1 p8 O; ^8 `' ?* z0 Q; b
  1335. ;     session.save_path = "N;MODE;/path"
      z! N7 A% }" z! j9 O0 v2 ?2 M
  1336. ;* s% b3 @' j0 n3 J, B
  1337. ; where MODE is the octal representation of the mode. Note that this
      g0 M; Y1 e# F$ N+ W* X
  1338. ; does not overwrite the process's umask.3 l/ j) i$ f$ Z  p
  1339. ; http://php.net/session.save-path( q4 X4 k: c, R1 R. M
  1340. ;session.save_path = "/tmp". `" f2 V* M4 i( K5 @) T4 a
  1341. + B7 m$ ]' K, {2 C2 n/ r" p
  1342. ; Whether to use strict session mode.
    2 M+ K  Q: i3 e! E: d
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate2 c% \6 v6 R) J/ v; D) L
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    + X6 j: J; Y2 z, X
  1345. ; applications from session fixation via session adoption vulnerability. It is
    ) W' |- ~  z1 Y+ E$ s( P
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.0 u; n6 e9 ^/ a- W- H  w& C& ]
  1347. ; https://wiki.php.net/rfc/strict_sessions5 l* S; G7 u+ m8 j" G7 @2 {3 ^
  1348. session.use_strict_mode = 08 I* u  n$ P, O  L& ?

  1349. 8 M' B/ o9 O* b8 b
  1350. ; Whether to use cookies.  g1 A& y" @2 d$ O: E6 d  l$ v# D; k
  1351. ; http://php.net/session.use-cookies
    7 M9 Z3 W+ d4 c, P  b* o
  1352. session.use_cookies = 15 y5 k; @+ ~$ [7 f4 l2 a  r
  1353. ; k, z8 C+ E6 D) T" |6 `
  1354. ; http://php.net/session.cookie-secure  _. }+ W* Y  x. G7 f3 I
  1355. ;session.cookie_secure =
    9 m. s: u, b" w' _9 C
  1356. . l* z5 d+ ?( t- Q- V! X. f; B" B
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining) r9 q& S+ [/ d2 l! v- V+ l7 _. W
  1358. ; the session id. We encourage this operation as it's very helpful in combating0 Z" v% ]" d& t/ `4 O; W1 N  s
  1359. ; session hijacking when not specifying and managing your own session id. It is0 C+ |& S, h* H0 J  m7 b0 }0 @- E
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    , H* k8 R! V& f  y. t2 H
  1361. ; http://php.net/session.use-only-cookies3 z' Y4 e3 U1 [8 l" ]6 v) t
  1362. session.use_only_cookies = 1
    5 z3 v7 [5 \) n2 h, T  z
  1363. 3 D; Z: e! f8 r2 q' V9 u
  1364. ; Name of the session (used as cookie name).
    , C+ O  O/ U- c3 g7 K/ e
  1365. ; http://php.net/session.name
    , {: D9 j0 n! x2 B: f' W) {
  1366. session.name = PHPSESSID3 G7 r7 S  u1 ~  u- O

  1367. " I! ~4 @0 D! M
  1368. ; Initialize session on request startup.4 A$ Z$ T. O4 u5 x3 @) O, A
  1369. ; http://php.net/session.auto-start
    * x6 J6 y! [$ j9 v/ l1 J) r1 j; c0 H
  1370. session.auto_start = 05 E( C7 u- L! J% O% L

  1371. 5 \* b2 C5 p4 g: I: l4 ?$ W
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    , H5 V4 j4 v! m  n/ f
  1373. ; http://php.net/session.cookie-lifetime
    6 L, Q7 j$ v: p" l- X2 e- x
  1374. session.cookie_lifetime = 0( i9 |0 A1 W7 F5 J' ?

  1375. 1 K) c% W2 \) y- I5 h
  1376. ; The path for which the cookie is valid.& \! `' H7 b3 I! l0 s, i
  1377. ; http://php.net/session.cookie-path
    6 g7 |4 C( o( w: J7 [0 A0 U
  1378. session.cookie_path = /
    " J1 O# l9 [# k% O" t9 r6 m6 G1 G
  1379. " T* F: k/ L9 f) t! N" X' j
  1380. ; The domain for which the cookie is valid.1 v- C0 C6 J7 ^0 ?+ a4 q( _$ H% y
  1381. ; http://php.net/session.cookie-domain( i) t2 A0 e( s1 B/ s* {. m
  1382. session.cookie_domain =# ?2 u. b8 t$ o+ Q+ {/ p
  1383. . v* g' T7 T. `% M  a+ d
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.% m/ Z+ F& Z: Q: d6 c$ F
  1385. ; http://php.net/session.cookie-httponly
    5 n9 c% C6 f0 c' J
  1386. session.cookie_httponly =  ~3 q* ?3 T; `, t9 Q% ~
  1387. 8 p$ l" c* J7 a+ h: V
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP., a+ g" c' {9 x; L! x& ~
  1389. ; http://php.net/session.serialize-handler  F) a- f2 Z3 }0 [! f) |2 |4 J
  1390. session.serialize_handler = php' A/ y5 _$ z! W. S% b

  1391. 4 f' N8 _, Z7 |& L& p
  1392. ; Defines the probability that the 'garbage collection' process is started5 w/ q% w# g" q7 }6 S4 E* B
  1393. ; on every session initialization. The probability is calculated by using
    ! d* x: n# e3 W; ]; d, H) M8 p
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator9 o& H# t- r: Q: U+ c# w
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    : z+ q* y. g. D, n- V6 N# Y
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ) |) G  e7 g, n) T! f. `7 j
  1397. ; the gc will run on any give request.
    6 y' f& ?. Z2 U! _( o& Y# b
  1398. ; Default Value: 1
    2 d, k4 }) W# R! W: n
  1399. ; Development Value: 1; V, G1 u* }& t( Y9 c, a
  1400. ; Production Value: 1" }3 e0 u" E& I; k
  1401. ; http://php.net/session.gc-probability
    ) @1 ?% J4 L+ `3 o
  1402. session.gc_probability = 1
    1 H2 ]* B7 Y0 v
  1403. # B1 a0 Q7 N! C
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    * \. b/ U' c: e: i3 r1 {) m
  1405. ; session initialization. The probability is calculated by using the following equation:% o# V; k+ Y0 {/ I9 E2 Y
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    - @" e3 l2 Y  V  t# k7 b4 H
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 14 t$ C3 Y( d6 C; H
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance9 t9 Y( s, ]  H# p+ M  J' G
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    * W  T8 i. `+ t1 i3 E9 C, X
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    & T; `; p  |4 w( t
  1411. ; this is a more efficient approach.
    & }  S' `/ K: }+ c; U& N, J
  1412. ; Default Value: 100- \/ `2 W& y4 Y8 Q2 W
  1413. ; Development Value: 1000; A) U; j$ l. ^, W4 Y
  1414. ; Production Value: 1000
      n7 b/ k% Z! e
  1415. ; http://php.net/session.gc-divisor
    2 a- r7 Y$ g% J3 L6 Z9 P
  1416. session.gc_divisor = 1000" Y2 P" t! H3 p6 @" j
  1417. 3 ^) b2 ~6 E, ?2 C# _2 c9 \
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    / S& `) _8 w: z  Z4 A0 ~) V
  1419. ; cleaned up by the garbage collection process.( v& ^8 h3 O  v+ a+ g1 E
  1420. ; http://php.net/session.gc-maxlifetime. D( A& Y4 }! A5 I9 N
  1421. session.gc_maxlifetime = 1440& i& F5 q( U) s5 p: ?

  1422. 2 ~3 [4 f* B0 @9 n/ R
  1423. ; NOTE: If you are using the subdirectory option for storing session files+ E; _: f- c  n$ `8 ~
  1424. ;       (see session.save_path above), then garbage collection does *not*! F- v- k2 L4 t
  1425. ;       happen automatically.  You will need to do your own garbage8 S1 c! z, d+ B
  1426. ;       collection through a shell script, cron entry, or some other method.
    1 V% f& v8 A5 A9 f4 K( y$ P
  1427. ;       For example, the following script would is the equivalent of
    * Z8 D6 i) ?7 L% E5 M" X
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):% R( c4 I9 W9 `
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm' k7 g1 _3 n5 C) v. @
  1430. ' y7 F: D. y4 z$ T% D
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.0 d! L; H) X( j- b( C; s  B
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    ( h9 o& m1 D, m7 t) F+ u
  1433. ; considered as valid.
    / C& Q+ n6 g8 y! d) w
  1434. ; http://php.net/session.referer-check
    " `: ^, b1 e- k( }; |
  1435. session.referer_check =
    5 r$ J( E1 |  M& [9 {! x7 Z

  1436. $ N6 g" y6 f; u
  1437. ; How many bytes to read from the file.# b$ x4 b2 J/ K  Y. ^7 l) z8 G
  1438. ; http://php.net/session.entropy-length: V+ Q' H3 d* a) @
  1439. ;session.entropy_length = 32
    # b1 a/ \  {. E( P5 `

  1440. , k4 w9 m5 I  i' X& }5 M: k9 W' I# ^6 U
  1441. ; Specified here to create the session id.% _/ Q) C* w) \7 Z2 H+ m. z
  1442. ; http://php.net/session.entropy-file
    ! v$ `4 V, k- s/ m3 Y& @. T
  1443. ; Defaults to /dev/urandom3 u- K9 K' C& o3 N5 C
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    - t" l/ r8 M1 f3 v/ K' J- @, n
  1445. ; If neither are found at compile time, the default is no entropy file.
    3 w: }' H+ m; q& h! E6 ~! o
  1446. ; On windows, setting the entropy_length setting will activate the
    0 ~0 D5 K) G/ Z" N9 p
  1447. ; Windows random source (using the CryptoAPI)
    7 n/ }- @5 a7 w+ p# t7 i2 q) h
  1448. ;session.entropy_file = /dev/urandom. B, e8 b9 n. n" ?

  1449. ; @9 y% Z5 u6 K" ?' h1 Y, h( a
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    * R7 q, Z8 e$ U& ]2 v3 Z+ l4 ^" g
  1451. ; or leave this empty to avoid sending anti-caching headers." e4 V7 u' T# i, d+ z& e
  1452. ; http://php.net/session.cache-limiter8 f; u$ c& z  e3 n- v! K: N. P
  1453. session.cache_limiter = nocache/ h8 w- k! Q" a3 y  k4 [
  1454. 5 f4 o7 c$ A, s- \; s6 a/ C. w: C- S
  1455. ; Document expires after n minutes.( k6 A: w2 \0 M+ J) I( A- O" P, s
  1456. ; http://php.net/session.cache-expire
    ' F+ ^' Q$ `1 w& d
  1457. session.cache_expire = 180/ v/ \* g$ w! B$ q1 `

  1458. 9 r3 U3 s( |0 ~- [7 n4 {  X" q1 J
  1459. ; trans sid support is disabled by default.& P/ Y' j' a7 _3 u" O& R6 O
  1460. ; Use of trans sid may risk your users' security.- d! t5 t1 N% ^; J: K4 J
  1461. ; Use this option with caution.' L7 O9 U7 d# D0 I0 T
  1462. ; - User may send URL contains active session ID
    9 \4 p5 K+ K: T6 W2 e# {+ V
  1463. ;   to other person via. email/irc/etc.+ w% S2 l0 C+ g0 c& m/ n$ {' y' c$ y
  1464. ; - URL that contains active session ID may be stored9 |, X0 a7 _9 t( N6 z
  1465. ;   in publicly accessible computer.
    4 }+ w7 K* ^. b4 X/ q
  1466. ; - User may access your site with the same session ID/ N% L, F! [2 L' A
  1467. ;   always using URL stored in browser's history or bookmarks.8 J9 [9 A+ O7 S7 _% Z2 k( _) v2 s
  1468. ; http://php.net/session.use-trans-sid
    4 o& H  K$ C& B7 W; I% L  v4 \$ j: }
  1469. session.use_trans_sid = 0
    - i! Y' x8 j8 ?9 \! _
  1470. # M8 F( B" C  [4 i; D4 R( T' r
  1471. ; Select a hash function for use in generating session ids.
    6 q8 v1 A/ n- p0 ]( ]
  1472. ; Possible Values
    6 Y8 `) K; ]4 f0 B' x
  1473. ;   0  (MD5 128 bits)
    : [8 M! @' |  J+ h
  1474. ;   1  (SHA-1 160 bits)+ f8 V. K: W! Z! O; J/ s; X
  1475. ; This option may also be set to the name of any hash function supported by
    - P) R" ?: t5 B1 d7 C
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()* i  G5 O, B) C$ V; c/ f/ p& n3 ^
  1477. ; function.( p. u. j* T. p5 j" ?
  1478. ; http://php.net/session.hash-function( u  x0 H5 }5 O4 S) W. ?! U, a) S
  1479. session.hash_function = 0
    / t- Z" q. N" e8 l; d( Q% U5 w
  1480. & J" O& \1 \  R
  1481. ; Define how many bits are stored in each character when converting
    ! v. N& v. z- c* E
  1482. ; the binary hash data to something readable.
    # j1 G8 \+ T) I* v8 O
  1483. ; Possible values:
    * D  g* q. O+ G2 n! P% G! [
  1484. ;   4  (4 bits: 0-9, a-f)6 t8 L8 f4 ~, r
  1485. ;   5  (5 bits: 0-9, a-v)
    " _, F# B1 I8 u+ a9 z4 m
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ; ^, ]: V* C: ?3 {" c
  1487. ; Default Value: 4
    * S% N% F8 o* w, i! O
  1488. ; Development Value: 5+ L3 @9 u( e9 D0 j1 L  g) z7 R
  1489. ; Production Value: 5
    1 Q8 ^( s& R9 W% |
  1490. ; http://php.net/session.hash-bits-per-character
    * q) ~: B- x0 J9 Y' h
  1491. session.hash_bits_per_character = 59 W+ q/ P; Q  v% K% Z/ {

  1492. " Z. j% U  J% }" d
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags., S7 Z: H% R$ m
  1494. ; form/fieldset are special; if you include them here, the rewriter will3 p/ V; x: ^6 N) U# W& _
  1495. ; add a hidden <input> field with the info which is otherwise appended
    * @0 t1 P' f& Q! P6 M, T
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.7 o3 ?$ s* J9 I% g
  1497. ; Note that all valid entries require a "=", even if no value follows.
    ; c/ s9 d* B- J. H1 `1 J
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="' c. ?; m% f! H" ?
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry": E3 u, @3 F* I0 d& D) w$ s
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % b" E" |- w8 [3 }" p
  1501. ; http://php.net/url-rewriter.tags" M- v( @5 T, a6 N
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
      i& K0 B6 b4 ]
  1503. ( c; t& ]# U# b9 o4 v& b
  1504. ; Enable upload progress tracking in $_SESSION4 v" t) W- ]9 p+ D- R
  1505. ; Default Value: On
    / J  V. P. i( @
  1506. ; Development Value: On9 u2 i5 @) u: v
  1507. ; Production Value: On  ]0 i( B% \$ y0 z8 x
  1508. ; http://php.net/session.upload-progress.enabled
    # Z3 t  a  T, }. l3 ^
  1509. ;session.upload_progress.enabled = On; k; C2 G$ M: m4 ^/ t2 i) P' v

  1510. 4 M, N, |+ ~( M4 o3 |$ t* f
  1511. ; Cleanup the progress information as soon as all POST data has been read
    , f; }6 @5 h$ ~# _5 q
  1512. ; (i.e. upload completed).
    0 c. Z/ E' G" S3 b
  1513. ; Default Value: On
    / Y* T6 t& n9 f3 B5 N
  1514. ; Development Value: On
      r' A2 c7 x2 M! D
  1515. ; Production Value: On
    # B  r& z/ l& P1 s* ]( c3 ?; f
  1516. ; http://php.net/session.upload-progress.cleanup
    & y9 ~: n; @; t+ \3 s3 A$ f
  1517. ;session.upload_progress.cleanup = On5 E! s; z1 s9 l( m7 w
  1518. . Y" X! O& [+ d8 F! @. b' q1 n
  1519. ; A prefix used for the upload progress key in $_SESSION
    % k" T8 V/ z1 j  B- R& J. |9 N
  1520. ; Default Value: "upload_progress_"% k' Y8 ~( \7 q* ^# F8 R* S
  1521. ; Development Value: "upload_progress_"8 T& ~! Z% j% ~* Z4 u4 ?
  1522. ; Production Value: "upload_progress_"
    ) m6 K% L* V9 J8 Q# y9 Y+ T
  1523. ; http://php.net/session.upload-progress.prefix
    , K# c0 B, Q) [# ^3 s
  1524. ;session.upload_progress.prefix = "upload_progress_"
    - l) S* @& _: v5 J( A
  1525. 5 I9 g/ `0 ]# F; N
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ) I% X$ ~! b2 g
  1527. ; containing the upload progress information8 k7 a" R! ]6 S0 I1 M
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"% h) A4 ~  p6 K; I+ x- J# G
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    " T/ _# D: f1 F2 d! ]) l
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"* X1 P5 s  K2 M3 t: ^
  1531. ; http://php.net/session.upload-progress.name, @8 Y' s# r1 E' }' u
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"0 S6 q% A$ a4 y

  1533. ' n) \) ?7 F# A5 a  K- S: ^
  1534. ; How frequently the upload progress should be updated.& K9 W. x4 T: E( h
  1535. ; Given either in percentages (per-file), or in bytes
    / j" c4 N) Q3 T
  1536. ; Default Value: "1%"
    3 [0 Q. Y" L8 f& S1 b
  1537. ; Development Value: "1%"
    6 v$ p% Q5 `3 x0 D
  1538. ; Production Value: "1%"7 K5 I4 B& x  ]9 Z
  1539. ; http://php.net/session.upload-progress.freq" B- t3 i. u& D) w' e
  1540. ;session.upload_progress.freq =  "1%"
    ( b7 [, _9 |: g5 F8 z. n* V
  1541. 4 C2 n8 [; S# N- x7 A+ L  E8 ?' Z$ n
  1542. ; The minimum delay between updates, in seconds
    5 f( M& E; o: {, D6 G3 }. X5 z
  1543. ; Default Value: 1
    " |6 J7 v  N2 k! m# {5 B' I' ^8 L
  1544. ; Development Value: 1
    1 b; `2 t$ R6 S1 K+ [1 E5 T3 }% T
  1545. ; Production Value: 1; W5 {" t; q: ~6 m
  1546. ; http://php.net/session.upload-progress.min-freq% }: r7 x5 c6 ]. S; S
  1547. ;session.upload_progress.min_freq = "1"9 F: F5 Y# p8 b- G
  1548. : C& d. `- a9 F, v' i& w/ s( l$ d& ?
  1549. ; Only write session data when session data is changed. Enabled by default.
    * w8 j# E. P' j. n1 ]$ N9 b( `# d
  1550. ; http://php.net/session.lazy-write3 z$ W% K( D+ M! G; W
  1551. ;session.lazy_write = On
    0 `8 u/ g& k8 T, g# Z6 l! ^" `0 N
  1552. # |- _  q) @8 n. h! C" k
  1553. [Assertion]2 X+ }# E( X% u$ W$ f/ O* P
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)' }! a7 `) k& l9 n1 l5 M/ y
  1555. ; -1: Do not compile at all6 ^7 ~: Q$ R! i" n
  1556. ;  0: Jump over assertion at run-time3 A; m& f% `" z* d$ ]8 M6 l+ r
  1557. ;  1: Execute assertions
    $ t9 ?; Q6 f3 z/ `7 q6 R. X; |
  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), a, S  u/ L* ]! }: f
  1559. ; Default Value: 1( M  j- a# s0 _2 T
  1560. ; Development Value: 1$ i& L0 ?& t9 X9 e
  1561. ; Production Value: -1' V& D- ^4 o$ e9 m5 |
  1562. ; http://php.net/zend.assertions$ j$ C3 l5 `. d/ x2 c
  1563. zend.assertions = -1/ f. C8 W) W* n# R9 J- c' s( A
  1564. ' N0 m: v) c  P. b
  1565. ; Assert(expr); active by default., u; G& {1 p  m
  1566. ; http://php.net/assert.active7 q( T; X7 n% \, C1 H
  1567. ;assert.active = On, r1 O' b5 M; k* Q8 o5 R
  1568. & V" c4 q# L" Q9 A$ f+ y" j
  1569. ; Throw an AssertationException on failed assertions
    . |  k, G% h, Z
  1570. ; http://php.net/assert.exception9 e( t  o. p, v; k# e& ^4 b
  1571. ;assert.exception = On, m- u* m. i8 k9 H! A
  1572. - ]7 ]$ t  ?' Q8 ]4 a* [
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    ; ]1 m, v6 @: H7 b
  1574. ; http://php.net/assert.warning( [8 A6 f/ m( G- s2 h1 o' Y9 F! t. R
  1575. ;assert.warning = On5 W/ f7 d# S: m

  1576. 5 R* d% }: W+ \6 z5 n, f
  1577. ; Don't bail out by default.9 J' Q( Z- W. Q; N7 }' q
  1578. ; http://php.net/assert.bail- u) N6 ]9 {& o5 Y
  1579. ;assert.bail = Off* E" |! o8 \3 _1 p. x  u

  1580. / j' N- e$ M* K2 z
  1581. ; User-function to be called if an assertion fails.
    : [) a: F" R+ x, j% j* w
  1582. ; http://php.net/assert.callback% K# h0 M/ H9 E5 R4 m9 Y
  1583. ;assert.callback = 0
    - B6 |$ f# w  S! a% X/ k+ m
  1584. 8 S: s* j7 C+ H. p4 F7 w8 W2 Z
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    + [) B9 w) C- `6 I' H0 |! s
  1586. ; error_reporting(0) around the eval().
    + y& l# Q9 [* R; X- C
  1587. ; http://php.net/assert.quiet-eval
    ! v+ Y0 `3 g% Z& S  L: j
  1588. ;assert.quiet_eval = 0, t2 I( _0 c4 p; y( _
  1589. * A. F9 @/ Z* @) V+ H
  1590. [COM]
    & D% r+ q- b& q: W
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs5 P2 b, D  a& P3 m
  1592. ; http://php.net/com.typelib-file
    * P$ {3 ^$ q  h2 {& b
  1593. ;com.typelib_file =2 m' a& \0 a4 [

  1594. ( N+ m: n0 N% A7 s/ m
  1595. ; allow Distributed-COM calls
    8 a9 b. P% i4 V2 ~; r
  1596. ; http://php.net/com.allow-dcom3 ^6 |" k- D; ~! l$ D
  1597. ;com.allow_dcom = true
    3 E) S  D0 R4 D3 e  B  N

  1598. * p  }% Z* W) R3 ]
  1599. ; autoregister constants of a components typlib on com_load()( b2 X: V, [( N) h3 A8 R
  1600. ; http://php.net/com.autoregister-typelib
    4 ], r' S$ i' m. X
  1601. ;com.autoregister_typelib = true
    : J: c: ~3 S4 V! R8 g0 C- o0 ^

  1602. ! u# G. p) y9 L# L. A2 j/ h4 T4 x
  1603. ; register constants casesensitive
    $ h, C% I6 l2 G5 k/ Y1 [
  1604. ; http://php.net/com.autoregister-casesensitive
    ! T: D2 S' y0 P' ?* I0 L/ w
  1605. ;com.autoregister_casesensitive = false, R4 Q7 T7 j! u! v" F% J- m+ `
  1606. ; s+ F1 I" q7 F. R) \! W
  1607. ; show warnings on duplicate constant registrations; \; Y% A) I7 Y) V: \
  1608. ; http://php.net/com.autoregister-verbose: N! k, K. h  M3 g
  1609. ;com.autoregister_verbose = true0 ?; B7 R, f9 c" A% E3 R
  1610. 9 h8 D& R3 ?& A4 M5 J5 j% x9 i" J
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    3 Y$ o9 y. l- @$ H/ t$ S
  1612. ; Default: system ANSI code page! g, u( W- H* l4 V& m5 c7 `  Q
  1613. ;com.code_page=
    ) j$ X" y; J2 q

  1614. . d3 [+ X: k) _3 v: p
  1615. [mbstring]
    * O2 t; B$ y, E+ X9 H! @
  1616. ; language for internal character representation.9 _+ T, d: D- J# J+ O0 D
  1617. ; This affects mb_send_mail() and mbstring.detect_order.) Z, x. x- }! [# J
  1618. ; http://php.net/mbstring.language
    2 o# h- k: ]5 f5 [# L0 h3 Z
  1619. ;mbstring.language = Japanese
    ; i( l; ~/ ]  o" V% a1 b9 L
  1620. ( Z0 ~+ p& [1 g8 c" D" t
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.% f. K" s; [, u3 N. f6 E% @8 \
  1622. ; internal/script encoding.  q' ?/ n$ ]& c  ~, j9 G  F8 v  L
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)) j; l3 F. _9 B
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used., d- A5 i) v$ K/ Q# G
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding3 t2 k0 I( [1 s: P0 u
  1626. ;mbstring.internal_encoding =
    . A! n- Y9 J& L5 Z
  1627. 6 ]( h8 W; f0 o& J  K% [
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.& k/ p! z$ A& a2 D
  1629. ; http input encoding.
    2 L5 d+ [5 g" n9 l1 ~& w+ _! S
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    6 ?1 r0 X9 ?  @6 V0 R
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.; n: b* B8 q; B* ]6 ], H8 Z0 m
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    * L8 p$ Q7 ~' e  r
  1633. ; http://php.net/mbstring.http-input" \3 c/ `% _% @- b8 B5 a
  1634. ;mbstring.http_input =) d! m; w. {! x8 F6 T

  1635. 7 g# @  B; L* K3 v
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.; |/ y( |( |. U4 z0 T
  1637. ; http output encoding.8 Z. x2 t; N9 r, l
  1638. ; mb_output_handler must be registered as output buffer to function.6 `0 n5 A; ^5 B( b3 G
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.! h/ M0 P  l+ p: `+ _
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output+ a; B8 j) R) v" ?# ~
  1641. ; To use an output encoding conversion, mbstring's output handler must be set; r2 s$ I4 g+ U" V' q9 p% o
  1642. ; otherwise output encoding conversion cannot be performed.
    . z8 y8 O! n' A; d- ~: o: S
  1643. ; http://php.net/mbstring.http-output
    6 |: X; }1 [7 }+ H  ?  K$ s
  1644. ;mbstring.http_output =% I5 H4 ?' k# ?! m' H8 j  A8 p
  1645. 3 l3 I* x6 q$ I
  1646. ; enable automatic encoding translation according to
    ! K8 o0 E- i& ?) u0 m* G. T
  1647. ; mbstring.internal_encoding setting. Input chars are& R1 u" }! h+ ^) V7 K
  1648. ; converted to internal encoding by setting this to On.
    & h7 x# G+ U  @$ ]! e4 j& B
  1649. ; Note: Do _not_ use automatic encoding translation for
    1 a/ Q0 a- C; I8 T( B
  1650. ;       portable libs/applications.
    , m, _* u- M$ }3 W8 c& [/ C5 o7 e* S
  1651. ; http://php.net/mbstring.encoding-translation
    9 T) ?% u* T/ u8 ^( q
  1652. ;mbstring.encoding_translation = Off) [- q5 \! f; M$ M) r4 h
  1653. . k7 }) f5 |8 l
  1654. ; automatic encoding detection order.
    8 }2 N+ G: M* D# U% j0 P( S
  1655. ; "auto" detect order is changed according to mbstring.language
    ; M- n' h! `3 V! u& z- ]
  1656. ; http://php.net/mbstring.detect-order
    , C4 J  i, \  h  L( V
  1657. ;mbstring.detect_order = auto: D, `$ S& P4 k0 @0 W0 k
  1658. " P' Z  \( s& }% u: l  k
  1659. ; substitute_character used when character cannot be converted+ A  F: E1 a5 v- A7 _5 R7 S
  1660. ; one from another2 i. v4 d) @* i8 Y1 F! H
  1661. ; http://php.net/mbstring.substitute-character
    # a0 _2 [2 Z; p8 J# Z  ~
  1662. ;mbstring.substitute_character = none
    ( w. X4 D; Y5 K* K
  1663. - W: M1 s5 K* m
  1664. ; overload(replace) single byte functions by mbstring functions.
    % i  e2 X4 ^+ x
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg()," a& a) Q( X& |7 B7 L& l$ Y( ~$ D
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    ; D8 c2 l2 ~2 x/ a7 U4 [
  1667. ; For example, 7 for overload everything.
      a; ]2 m# F4 {! ^/ `- H1 C: S
  1668. ; 0: No overload
    3 b3 c! h: W( [- A& M4 k
  1669. ; 1: Overload mail() function
    " e% o# I) X' X
  1670. ; 2: Overload str*() functions, p! N0 ~, @6 Z8 I# N# Y
  1671. ; 4: Overload ereg*() functions
    # T5 Q- o5 W6 c, C5 `# t- P
  1672. ; http://php.net/mbstring.func-overload
    2 \8 K( A* f  ~/ [  K6 M+ A) o
  1673. ;mbstring.func_overload = 09 I  U% c9 W1 a2 ]. w! d, J1 N: ]
  1674. ! F2 b2 m$ h+ o) o/ ?$ r
  1675. ; enable strict encoding detection.
    : b; d+ ?% G; K8 U
  1676. ; Default: Off
    4 J1 o- Y& l+ D; }6 {; m# t
  1677. ;mbstring.strict_detection = On
    5 S0 |: k. u+ e3 Z% x5 g, k

  1678. 8 j3 x6 F0 c, K& H# A* R
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()1 r/ ~( D: `, n( f/ F" W7 Z
  1680. ; is activated.
    " s; W2 e: [9 }
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    * Y% }8 ?3 `0 |1 C. E" Y* ~
  1682. ;mbstring.http_output_conv_mimetype=/ B) u: _. t; {# u/ a- j' g7 B
  1683. 8 _, q! @0 p6 Z8 ]9 l- ]/ F& J$ F- i; r/ o
  1684. [gd]5 D% x3 N; S7 J: N( l1 l$ n
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    % E' d. ^6 W- I  U$ b( @- b
  1686. ; a gd image. The warning will then be displayed as notices
    : D! m6 Y0 o0 L  f, w( v/ o! p
  1687. ; disabled by default
    ) t9 Z; U4 B/ U) e& y2 m
  1688. ; http://php.net/gd.jpeg-ignore-warning
    2 }  U6 y0 h: q  P& H# C: T
  1689. ;gd.jpeg_ignore_warning = 0
    6 a7 {, z! R: g6 @8 a  E- g3 a! _
  1690. " G# y3 q  |. Y# g/ p3 t" \+ e0 i
  1691. [exif]& d3 Z( W1 x' I2 m0 F: o- n. `
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.1 O- ~4 @3 T0 f: x
  1693. ; With mbstring support this will automatically be converted into the encoding
    1 t- |0 O% U8 B& q- q
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    7 H8 K5 ~5 p. S3 r
  1695. ; is used. For the decode settings you can distinguish between motorola and" l9 d) \; b2 L
  1696. ; intel byte order. A decode setting cannot be empty.
    3 A. k* g  T9 c0 P  \
  1697. ; http://php.net/exif.encode-unicode
    , M% l1 y! E  w' R, O. F/ `. s
  1698. ;exif.encode_unicode = ISO-8859-15
    1 o) l5 G9 m+ G- N% o
  1699. ! F' l! N, j; K" S
  1700. ; http://php.net/exif.decode-unicode-motorola
    - A$ d4 X, e5 V# b6 x1 D
  1701. ;exif.decode_unicode_motorola = UCS-2BE4 f: C" }* N. [; d
  1702. " p  f* v, i# o$ g/ g
  1703. ; http://php.net/exif.decode-unicode-intel
      d+ D& u9 H' S: A: {
  1704. ;exif.decode_unicode_intel    = UCS-2LE- F/ \' E5 L5 B; V) L& f; p

  1705. ! o" D2 v7 j( i( k% U
  1706. ; http://php.net/exif.encode-jis" Z7 i8 Z( U/ h3 j; G  L
  1707. ;exif.encode_jis =9 B1 `3 f# Q1 O5 N( V1 Y3 s' J% B

  1708. : h* i) q8 g4 ]+ a0 l
  1709. ; http://php.net/exif.decode-jis-motorola' c( U3 B6 c. y9 y# d5 w
  1710. ;exif.decode_jis_motorola = JIS
    5 J9 z" N& a" X# E0 |, C
  1711.   X! s4 {3 `- h4 ]$ h$ j
  1712. ; http://php.net/exif.decode-jis-intel* e6 Q2 U$ ^; R' y2 |& n
  1713. ;exif.decode_jis_intel    = JIS/ ^: s5 `' s$ c1 v7 o( g

  1714. + E- G* h2 m( c, a. f4 l
  1715. [Tidy]% K! O; D( z9 k
  1716. ; The path to a default tidy configuration file to use when using tidy
    . `& G/ q0 C6 {5 ]
  1717. ; http://php.net/tidy.default-config
    ) M7 Q# i1 b$ B' d8 v
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg* \, t  a6 A* {. U, }4 Q: Y3 S

  1719. 0 I! l9 Y. s3 H8 ~! N
  1720. ; Should tidy clean and repair output automatically?
    7 u8 o6 g4 J( n; u
  1721. ; WARNING: Do not use this option if you are generating non-html content
    * \0 A8 f3 I% K
  1722. ; such as dynamic images: d* n) \$ f2 a) t6 v  O
  1723. ; http://php.net/tidy.clean-output7 k+ Y* `* m+ ^* r% z* b0 ]
  1724. tidy.clean_output = Off
    2 w% r8 P2 P7 D0 b$ ]# P

  1725. 6 O, t: F! t" u$ E" C
  1726. [soap]4 i  k' |, l* j
  1727. ; Enables or disables WSDL caching feature.) x, W# d3 y+ L" B; [
  1728. ; http://php.net/soap.wsdl-cache-enabled! m1 e' \/ e! t  c$ W. B$ ?, B
  1729. soap.wsdl_cache_enabled=1
    ) |* d+ |, o% ?

  1730. 4 z8 h7 e9 [. `% }+ {% r! z5 y
  1731. ; Sets the directory name where SOAP extension will put cache files.
    # l1 Q. ]5 n5 H9 o! W2 c7 |
  1732. ; http://php.net/soap.wsdl-cache-dir! Z) v1 P6 j$ y. c2 O
  1733. soap.wsdl_cache_dir="/tmp"
    . b- L. z4 C9 x! T

  1734. 7 M( d: A; G/ [
  1735. ; (time to live) Sets the number of second while cached file will be used
    / k# M% s* o, h5 w) d
  1736. ; instead of original one.
    ) u: i2 i4 _- |4 [6 N/ a: I
  1737. ; http://php.net/soap.wsdl-cache-ttl$ W. U/ C4 Z' X3 y$ n" E
  1738. soap.wsdl_cache_ttl=86400
    0 k. r3 g, K  J
  1739. 6 j1 B$ D. o& R( B$ h. I
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    1 I3 l3 F6 ]' ~+ E9 L2 q3 x
  1741. soap.wsdl_cache_limit = 5- s, L0 F- @5 S9 s, f6 V( i$ C

  1742. - N' n. n( P& _0 v: T5 l
  1743. [sysvshm]
    3 w( J: o% [5 c) r( h
  1744. ; A default size of the shared memory segment
    # ?8 }" j9 w! A1 `6 j
  1745. ;sysvshm.init_mem = 10000
    ' U( t0 i2 y$ ?  m. z- E& f

  1746. ' g3 D2 S- T3 X  v- w
  1747. [ldap]
    % K5 [2 [! y1 s
  1748. ; Sets the maximum number of open links or -1 for unlimited.* W! r( ?* @' {/ H$ M9 t6 d) P# ~
  1749. ldap.max_links = -1
    5 y6 f0 p6 X5 |3 ]# j
  1750. 1 D. {& ~1 C) d8 w& w! e0 p4 u% L
  1751. [mcrypt]
    2 Z6 y, V- A" ]8 W% w
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    2 k. b) [7 `( x# G' O
  1753. ' v9 B0 o9 B" j1 k9 }2 B& B; t
  1754. ; Directory where to load mcrypt algorithms
    4 h! i/ `, z6 I  E- D. _2 u
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ( h% _+ S# E9 q7 w$ d
  1756. ;mcrypt.algorithms_dir=
    , Q2 t9 }  I( T- f$ @6 a

  1757. # W1 H, t, B4 i! N% S6 I
  1758. ; Directory where to load mcrypt modes4 t- @* a0 r% Z/ r. X& @9 ]  o8 ~
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ( J, G/ B3 B4 B# v& E8 I* t$ w
  1760. ;mcrypt.modes_dir=) a+ t5 h6 u6 S. |4 `
  1761. - _5 R  x4 q4 j! h8 C; }  k8 q1 X
  1762. [dba]
    4 m9 A3 G7 O; t6 y- S% b2 X$ P3 S
  1763. ;dba.default_handler=( C# x9 r' }: f0 G$ U' u/ M  E
  1764. 5 S" r8 h/ {0 Y: P
  1765. [opcache]
    / y6 F. t+ P  V2 N) I
  1766. ; Determines if Zend OPCache is enabled
    7 g' l5 O3 n( Q+ J" f4 N
  1767. ;opcache.enable=09 {4 x$ _4 U' O2 U4 P- m

  1768. 7 K' X: y" J3 `. ]% l/ b% n
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    , J3 e! V' V9 e) H3 U8 W
  1770. ;opcache.enable_cli=03 c. d9 \) O( k- ?

  1771. " |2 a) D9 h7 k! |6 l1 @
  1772. ; The OPcache shared memory storage size.
    - y( S( T2 t: Q* ?7 [, x# ^# `
  1773. ;opcache.memory_consumption=64
    ' r6 g' @1 R7 X$ p. ~

  1774. 3 S  q. X* W3 V& E: Y" S' n8 V0 u
  1775. ; The amount of memory for interned strings in Mbytes.
    $ A  ?/ X( [) G; B" Y
  1776. ;opcache.interned_strings_buffer=4
    - n* {) x" @5 s1 R' x

  1777. 1 g7 t% t0 j) W5 n1 c
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.: z$ f9 N' X% Q/ f/ y( U/ G
  1779. ; Only numbers between 200 and 1000000 are allowed.' G" T+ w  i0 [- c2 u
  1780. ;opcache.max_accelerated_files=2000  _# a. T+ m, ], t+ C
  1781. 6 K/ v( B; }% p+ b7 `% n4 D; v1 f
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ' Y* d) B4 v/ K9 v, a9 m
  1783. ;opcache.max_wasted_percentage=5
    1 E4 ~" @4 n% u! |. C
  1784. 9 P- Y% q: o% c- @, e7 j9 E
  1785. ; When this directive is enabled, the OPcache appends the current working7 T: u8 H' i2 v% i3 p4 w* n# u$ U
  1786. ; directory to the script key, thus eliminating possible collisions between& D# p5 x4 ~4 G! s3 J( [
  1787. ; files with the same name (basename). Disabling the directive improves
    ' }: P0 F; t  Q/ h
  1788. ; performance, but may break existing applications.  [. }9 C5 |; y  l+ b
  1789. ;opcache.use_cwd=1+ k- J2 K  A7 d# V! ?7 b0 i; W
  1790. 9 o. N& C1 \. w" L. i
  1791. ; When disabled, you must reset the OPcache manually or restart the
    $ D7 E' a) e, f) T! X
  1792. ; webserver for changes to the filesystem to take effect.: m, a: D7 S; v* t5 L) _0 c1 D
  1793. ;opcache.validate_timestamps=1" ~2 s. Z+ l( N
  1794. - C$ M' N- W, v$ Z' g
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ; {9 q7 V1 w1 z( R+ j
  1796. ; memory storage allocation. ("1" means validate once per second, but only) O* _! \" H/ x
  1797. ; once per request. "0" means always validate)) y5 O: g; p# {4 `( {2 ~  U
  1798. ;opcache.revalidate_freq=27 d5 h8 N% r5 i/ g7 t2 I" }5 }

  1799. - L- |% P3 I# A/ s5 q; m: B
  1800. ; Enables or disables file search in include_path optimization6 ^+ _4 R. a; H
  1801. ;opcache.revalidate_path=0
    3 K5 |  B2 z! p# T' e2 b- w# U' K; G
  1802. 8 b/ q8 M. `) B0 @3 I" y
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the. _3 `; E) Q+ Y' O& i+ w0 k
  1804. ; size of the optimized code.0 ]) F0 o5 L/ [- i' H
  1805. ;opcache.save_comments=1. R5 D- a9 |+ ^  K

  1806. ; i( L) T9 |& a- g6 y
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code7 }$ w+ w1 ?( n( x% }
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.4 a* Y8 t  i- b0 a. t8 V: P/ `6 E
  1809. ;opcache.fast_shutdown=0
    0 o. N  z: g! M
  1810. . m& k2 l" M: o% H4 t% O
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    ! p) B& C$ I; Q# A, h
  1812. ;opcache.enable_file_override=0
    ' @+ s: Y! _4 j1 c! c
  1813. 9 l; B# x3 L$ ~3 W7 L# w2 v
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache$ j' j6 k) t9 t; g
  1815. ; passes$ @. \+ ?) W, T& H8 A
  1816. ;opcache.optimization_level=0xffffffff, w% m, ~$ w1 L; P! M" |

  1817. % V6 q  u7 R5 B4 @. U
  1818. ;opcache.inherited_hack=10 E0 N+ K/ y3 C5 t: d
  1819. ;opcache.dups_fix=0
    ( u% t! `! D5 j6 \& e6 W; I
  1820. / T3 C: b: \, Q- Q6 g! u7 U+ k
  1821. ; The location of the OPcache blacklist file (wildcards allowed).  N  y) V4 `+ `
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    ) R+ i( {/ J- G9 u+ {
  1823. ; that should not be accelerated. The file format is to add each filename
    , G) F0 \0 [& b7 @( i1 p, }
  1824. ; to a new line. The filename may be a full path or just a file prefix
    # z4 ?3 Z7 {) Q8 m
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www3 F9 T( L5 ^' V; {& E
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    3 w0 ?! k# _. _& Z
  1827. ;opcache.blacklist_filename=
    " w& d6 }  m  s7 y/ _: }( [

  1828. & N- Z+ V5 t* ?5 }( L1 L9 s+ k* h; i
  1829. ; Allows exclusion of large files from being cached. By default all files
    / d1 }; Q4 s+ ?3 T4 t# N: }4 v
  1830. ; are cached.$ A3 w+ p1 {; ^! f
  1831. ;opcache.max_file_size=0( [4 w' k7 K: I% D
  1832. 1 U: z) z6 v" ~* k0 \7 N3 u* G2 z( [- ]
  1833. ; Check the cache checksum each N requests.+ m! y; o  P0 Q$ S
  1834. ; The default value of "0" means that the checks are disabled.! Z5 o% B' n$ v0 A- w- g
  1835. ;opcache.consistency_checks=0) ~3 m) n" X5 y4 n

  1836. " _6 b5 u- M! T- _6 X; ~
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ( F4 @1 s: D5 E2 C
  1838. ; is not being accessed.1 m3 |% s1 a$ N' D- N
  1839. ;opcache.force_restart_timeout=180
    # H6 \3 x% T# I* K9 f% m. @9 G4 D! d
  1840.   I- s  G! d1 t6 V9 z. Z
  1841. ; OPcache error_log file name. Empty string assumes "stderr".7 i' |7 @/ L9 H
  1842. ;opcache.error_log=4 F' M1 R( U4 m1 f/ i+ Q

  1843. # z3 d0 {& N" S5 h& }" u/ A
  1844. ; All OPcache errors go to the Web server log." F4 \: S( |/ m( G; Z
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.: c  J# M& i7 Y& A) {3 I
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    + H8 h  s! U& ^9 _' d
  1847. ; debug messages (level 4).
    ) G: j$ j1 R& ~$ C
  1848. ;opcache.log_verbosity_level=14 q% T& E9 `% e3 K3 E! l

  1849. 3 M% M; _# D  U8 z
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.' L* `; H, s- Q' |7 @; m8 u
  1851. ;opcache.preferred_memory_model=
    ! b! W* P/ H0 y) X" ~/ a/ B

  1852. " c# O/ w  U4 h' i" r8 X
  1853. ; Protect the shared memory from unexpected writing during script execution.
    , |3 o3 v# h1 |* A" \, W
  1854. ; Useful for internal debugging only.) f  r! X* D$ |7 ~3 C* g% Q
  1855. ;opcache.protect_memory=0
    ) P6 Y! r. p4 ]! b  ]+ m

  1856. 5 z  x) `4 D& c5 i' w* E
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
      d# ?" m! e4 @: o
  1858. ; started from specified string. The default "" means no restriction$ y* q& [, |$ h$ r, t
  1859. ;opcache.restrict_api=
    4 K$ S6 F4 b8 N5 N2 [2 ~3 t5 f

  1860. ) |6 _& F; ~; c; J3 X+ _
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    ) \4 Z  w2 w7 r& J2 k
  1862. ; processes have to map shared memory into the same address space. This! R( x. Z! o% G$ k3 q2 _& H& Y( B. O
  1863. ; directive allows to manually fix the "Unable to reattach to base address"4 w7 f9 ]5 j' F" `4 g5 F' D
  1864. ; errors.2 [5 k) Z0 Z2 D3 Y" z5 I4 Q9 E
  1865. ;opcache.mmap_base=: t8 d2 {9 G: ~1 l( z) B  k5 S
  1866. ) Q# P+ b: ?1 s# D
  1867. ; Enables and sets the second level cache directory.
    9 @$ F% L$ M% |- [, c2 H* q
  1868. ; It should improve performance when SHM memory is full, at server restart or5 v& u4 \& N5 K5 m- X
  1869. ; SHM reset. The default "" disables file based caching.$ A) ^. |" n/ P- }
  1870. ;opcache.file_cache=+ c  n7 l) Q7 ?* l6 O. @% f
  1871. 1 `+ ~. [  r7 v( w1 m
  1872. ; Enables or disables opcode caching in shared memory.
    - z" {' Y  G! t0 {# v
  1873. ;opcache.file_cache_only=0
    " ?: `8 m( }- x* A2 p: N3 ~# ~
  1874. ! e0 H: Q+ f, R0 L3 Y8 n3 h
  1875. ; Enables or disables checksum validation when script loaded from file cache.% _. g. \6 F- A% G% Q9 X3 ]* A/ v) K
  1876. ;opcache.file_cache_consistency_checks=1
      \' G. _( ^, {3 Q, J
  1877. 8 i' `1 b- S$ u. `& K
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    % r/ P  i  @, J4 ~2 J; D2 }4 w. r
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    ! s2 C. ^8 s! H0 @
  1880. ; cache is required.! _/ B* x- A; |$ z/ d, b
  1881. ;opcache.file_cache_fallback=1! v* Z7 t0 V9 w

  1882.   I( Q4 B- e1 Y" [$ f
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES./ g7 I5 ^6 U+ K4 K5 ?0 l! v* A
  1884. ; This should improve performance, but requires appropriate OS configuration.4 |0 G- b0 _: @* U
  1885. ;opcache.huge_code_pages=1
    6 l4 X2 i$ y% m5 g1 w1 a8 Z
  1886. # O# a$ M. n' A
  1887. ; Validate cached file permissions.1 N8 [+ {$ Y9 @6 J7 _/ `: ]
  1888. ; opcache.validate_permission=0& l! g6 `! O+ B" l5 b! Z7 z

  1889. ' p" ^$ D% c/ G  J* E/ }1 o0 p7 Z
  1890. ; Prevent name collisions in chroot'ed environment.: C+ j- e# R% j# z8 t- u" ^
  1891. ; opcache.validate_root=0* d) K/ m, L+ A* W5 z# e# I5 O) ^

  1892. * M- j; ?7 R! b+ t
  1893. [curl]5 z; I( b/ f- |  a( Q0 V1 a
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    / Z1 ]8 }7 Y/ L2 A5 m/ s- D
  1895. ; absolute path.
    . U/ V! n( E  K5 k+ z: O' K
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    " c7 q7 b$ D* C9 [
  1897. & U8 I8 R- }1 v% @
  1898. [openssl]( M3 `  p3 S  B. D1 P
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    # R9 W2 b/ B- d- K9 k2 e3 P: Y
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should6 A+ M* X0 Y6 S; b3 B( @3 F
  1901. ; not specify a value for this directive as PHP will attempt to use the
    / R0 \7 c# O. w# I; P
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    1 O+ ]$ ~  d7 f4 A! J
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ' J0 ~" j& |) p; s& y
  1904. ; option.6 ~5 A) L& w8 N
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    6 y' B& ^) z! N( ?2 t+ F" v

  1906. 6 n6 R/ V5 I1 M* o( B
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the6 a, n1 \# u& P3 w! m
  1908. ; directory pointed to by openssl.capath is searched for a suitable0 \# F6 f7 k, B; \
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    ! d: G+ F) a6 Q
  1910. ; Most users should not specify a value for this directive as PHP will2 ~/ W' W8 n* \8 V
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ; }- ~5 A; V6 k, r
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ; m$ H  I6 U8 h: V1 }) |1 M- R
  1913. ; SSL stream context option.
    7 k4 q; c0 L: D8 d! U8 J& y
  1914. ;openssl.capath=
    ! c1 C8 Q) |& V3 A$ C0 c& C

  1915. % D; `. J0 \$ W- p# g8 O, f
  1916. ; Local Variables:
    & \/ J  h4 ]- H7 p% t0 |
  1917. ; tab-width: 4
    3 n+ P" N, T! {. A6 o; T
  1918. ; End:
    6 B* t5 |9 Z& T# d
  1919. ) ]' t4 r- }% U& R
  1920. ;eaccelerator: ]. `4 E+ Y6 ~: B: a

  1921. : H$ m- Y: Y9 d4 G0 P
  1922. ;ionCube
    , G  |- L$ [% O' r1 W/ i" @

  1923. . Y+ r3 a6 O5 o. s9 f$ o
  1924. ;opcache  w8 k. V8 s- k+ i1 A( |

  1925. ) Y9 w) u( |3 C5 }1 o. a  S
  1926. [Zend ZendGuard Loader]
    # i, F( Z# b" N7 A# k4 }. ^
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    ! f4 n  U" b/ H: G4 \' Y0 b- C& Q1 S
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so1 m, N7 b0 J' m: L# \: ~( n# o; i
  1929. ;zend_loader.enable=10 c2 W7 N3 z6 N! M. E4 c* [* W
  1930. ;zend_loader.disable_licensing=01 O9 X* K1 w& ~0 Z; d
  1931. ;zend_loader.obfuscation_level_support=3
    ( G" o# C0 ^4 G  h+ i2 A
  1932. ;zend_loader.license_path=
    2 C# O2 K2 U3 o9 A

  1933. 4 W1 C. m5 t# ^8 J
  1934. ;xcache
    / V! O0 w. v: S: d4 e( i- Y

  1935. ; A" R0 I5 O5 `7 A
复制代码

2 ^$ v1 D5 i! ^$ r0 @/ i+ n7 \) ^0 ~3 M: }+ P
" @  x( z( j2 h9 X) x& B2 s
1 E2 n* l' V4 `, r1 Y. v5 \2 C5 F

, h  v$ y) S- C5 A1 z
3 n; d+ E9 \7 y9 o" `6 D0 O
* |9 i& @+ S1 _2 @PHP5.6版本原始设置
- e, P# b8 D% e$ \! J9 J. ?7 K$ u# G
  1. [PHP]
    9 D; M7 w. f2 R( v7 M5 f- K
  2. 4 _3 U3 k1 D/ j6 r' }
  3. ;;;;;;;;;;;;;;;;;;;
    7 G! j- h+ M* m/ ^+ J2 o+ c
  4. ; About php.ini   ;# q( Q! H! P  t. _5 O  L
  5. ;;;;;;;;;;;;;;;;;;;
    2 B2 S: Z) p* T: i
  6. ; PHP's initialization file, generally called php.ini, is responsible for9 b7 `/ u2 m1 j) u+ t
  7. ; configuring many of the aspects of PHP's behavior.
    , }3 {5 H1 F, \1 H% Q+ `7 ?( f  P) ?

  8. 1 W: E6 z4 L3 a6 _
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ) r% h5 l5 z* F( E2 U8 @
  10. ; The following is a summary of its search order:* w. q" R3 G: ~# U
  11. ; 1. SAPI module specific location.3 d0 X" }0 u- x
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    / J3 `: j; z$ s' u0 f
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    + ~$ q; R, D5 L! x' L
  14. ; 4. Current working directory (except CLI)
    $ h( t: K3 `# U6 T# {, p, B
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    6 T2 p* @* e7 z  ~+ |
  16. ; (otherwise in Windows)
    * A: ?; _/ M  w# q& u5 l( B
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    6 z& l5 U. V+ C) _
  18. ; Windows directory (C:\windows or C:\winnt)
    9 B/ Z* q* w4 f9 U3 n
  19. ; See the PHP docs for more specific information.% V- ~9 J9 t3 ]8 v( C
  20. ; http://php.net/configuration.file
    / J" `, ]8 n0 J8 p. z3 S

  21. ) h5 }  J9 @+ ~2 P$ O2 B6 Y
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    $ G$ K2 i( T4 f
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    2 k8 {" G' `- q* C
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though/ u, Z1 E+ B; p5 [7 b" V
  25. ; they might mean something in the future., {8 e3 F' x/ k' C

  26. 7 U' H. F  H! J9 z4 Y
  27. ; Directives following the section heading [PATH=/www/mysite] only
    : U$ O$ _& U% Z, ~' H, Q  J
  28. ; apply to PHP files in the /www/mysite directory.  Directives! ]/ y3 w, ]; x
  29. ; following the section heading [HOST=www.example.com] only apply to
    7 g, y5 T2 M0 r# X8 w1 H
  30. ; PHP files served from www.example.com.  Directives set in these
    1 p! {4 _; V6 ]8 B3 @* b% D6 r
  31. ; special sections cannot be overridden by user-defined INI files or
    % m3 E. ?* `# v1 j( w# a
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under& s5 i+ a- b2 q7 d0 ^/ m
  33. ; CGI/FastCGI.& c0 M" ~6 H* Y6 s9 Y8 W. D. |
  34. ; http://php.net/ini.sections( J- t5 x# i1 ?- Q
  35. , _3 a. ~  V: x  o; P! d
  36. ; Directives are specified using the following syntax:
    , R; N/ o. z8 a6 ?  E. w9 [
  37. ; directive = value, A& O% I( m+ ~
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    , n  T, Q2 ^% F( C
  39. ; Directives are variables used to configure PHP or PHP extensions.& F/ y* [3 [' h8 x& |! u' y
  40. ; There is no name validation.  If PHP can't find an expected
    9 }" |3 n6 \' h% f
  41. ; directive because it is not set or is mistyped, a default value will be used.1 O! v' t7 t- v6 F. R2 P

  42. $ M. E' ?4 n7 W! k% ]7 _
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    # S) f: G- O6 [+ U5 K$ S9 ~5 Z
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression  u" J% s2 P9 J$ t; ]
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a% z4 A% e( v* w6 P/ V
  46. ; previously set variable or directive (e.g. ${foo})
    ; o) Q2 `3 A! q0 {8 D8 G' C
  47. * i8 g: I9 G" z- `
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:( Y0 h/ c9 Q# |8 d6 o6 R
  49. ; |  bitwise OR% S& H  s( J* H/ d6 I7 k
  50. ; ^  bitwise XOR. \& N: L, X; @3 w
  51. ; &  bitwise AND- d1 H. y, M+ i7 D* y/ c7 y
  52. ; ~  bitwise NOT
    # f8 B9 @+ p* s  }$ |/ S
  53. ; !  boolean NOT* z9 \# F6 p7 D- H- U

  54. ) T, v6 z' c" v, d9 J$ e2 v
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.* J/ ^* N# p6 X" x( C  N4 D! }9 E7 |
  56. ; They can be turned off using the values 0, Off, False or No.
    ) w% V4 R  B) h! A" z$ N6 V. r

  57. . K! P3 ]. R- R6 E0 f, n
  58. ; An empty string can be denoted by simply not writing anything after the equal4 i% Q! h$ e* o7 h& _9 a- T
  59. ; sign, or by using the None keyword:4 z! ~. J8 J% \/ k  ?3 M7 k* S/ n
  60. 7 e+ _* l6 n, {+ A+ v5 M# Y! c
  61. ;  foo =         ; sets foo to an empty string
    6 t6 q' O* @8 g
  62. ;  foo = None    ; sets foo to an empty string0 Z, ~. y% B7 H0 V1 P! p
  63. ;  foo = "None"  ; sets foo to the string 'None'
    . e7 m1 @  V7 D
  64. : @7 j- v# c* g
  65. ; If you use constants in your value, and these constants belong to a
    4 g# L# q! j6 X; B
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    7 o, ^* J6 C: y7 e) y5 X7 h
  67. ; you may only use these constants *after* the line that loads the extension.
    " W# L$ L' a3 R' @
  68. 2 _  [8 g0 _+ k/ U4 J+ G8 Y
  69. ;;;;;;;;;;;;;;;;;;;
    $ w; [' I. h. I
  70. ; About this file ;
    % U6 i4 r# e/ H  B) K% q% Q; y: D
  71. ;;;;;;;;;;;;;;;;;;;
    9 e. V( _; x8 J+ e3 C; b1 S& r
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    : e' P7 {) y2 z: m
  73. ; in production environments and one that is recommended to be used in, E& I3 x7 C. F3 g% @9 ^6 g
  74. ; development environments.7 N. `  w7 q3 [

  75. & i% }& K. b0 r* B7 k. J
  76. ; php.ini-production contains settings which hold security, performance and
    / U5 T5 ^' c) t: J  `' j" s8 t  t
  77. ; best practices at its core. But please be aware, these settings may break
    5 {) s0 b# l, N8 k' s
  78. ; compatibility with older or less security conscience applications. We
    8 z7 \! |. [1 d' J3 `# R
  79. ; recommending using the production ini in production and testing environments.' J* ~6 t. R4 p2 {$ n% z+ k% t1 z
  80. * K' j- c8 U( M; a
  81. ; php.ini-development is very similar to its production variant, except it is6 U4 ?5 A) M  p6 }
  82. ; much more verbose when it comes to errors. We recommend using the9 a& [( H2 ]8 i  b
  83. ; development version only in development environments, as errors shown to. |' X+ y0 V) _- e
  84. ; application users can inadvertently leak otherwise secure information.1 j  p* {/ i  A+ A' |0 P$ l5 O& _

  85. ; Y; D& |3 E4 Q7 w, l
  86. ; This is php.ini-production INI file.8 R! ]/ \/ J6 D5 l$ q) c6 c

  87. * |. t; O' _4 J1 c7 X0 m
  88. ;;;;;;;;;;;;;;;;;;;7 G1 y( Y8 F1 B5 t; I0 r6 _6 Q" ?
  89. ; Quick Reference ;
    - R7 h1 r" J6 i4 q( e2 \: s. i) w
  90. ;;;;;;;;;;;;;;;;;;;
    7 M2 \* @5 C& N$ |# C
  91. ; The following are all the settings which are different in either the production* o8 i6 ~* j% d( D
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    6 ]! o: E' q; ?/ i& h- L* Y
  93. ; Please see the actual settings later in the document for more details as to why. V0 [) r! h) H
  94. ; we recommend these changes in PHP's behavior., X7 G  d# j! e

  95. - \: ]" U5 O0 @9 k
  96. ; display_errors
    ( i  W* @  [3 P( O' X. t
  97. ;   Default Value: On
    " V0 I2 o+ Z! G# @3 y
  98. ;   Development Value: On* s3 o& {  b" F" F7 ?" I. B- D
  99. ;   Production Value: Off
    $ z! H% _+ o8 x  B* g3 q

  100. # v0 N& c$ ^! [
  101. ; display_startup_errors
    ! T# _2 z) A' J7 C( P
  102. ;   Default Value: Off: C: P- _4 }' u. U" k8 y- k
  103. ;   Development Value: On
    7 V2 U: b  [( w% j1 [9 n
  104. ;   Production Value: Off
    ( m" y) U  c! r0 K" X4 D- Z

  105. 3 w) b2 R4 U* A' H
  106. ; error_reporting' T+ W( H# _; f3 \& N
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED/ Y9 V- D( K+ `( ~, I
  108. ;   Development Value: E_ALL7 o! ~# A& c+ n) u
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    # t2 b& u) K1 @! X$ ^
  110. 8 _. _( X  j$ h; ^% u7 E0 E+ x
  111. ; html_errors4 n7 p" ?' C2 u" I, ~
  112. ;   Default Value: On
    " n, B7 E/ g% y% `3 g; h7 C3 i- D) w
  113. ;   Development Value: On
    4 A% x1 X' I5 u5 [9 F5 ~
  114. ;   Production value: On; ]% t7 ?& Q# c$ E8 T

  115. 7 D! ~2 r( E" U; L- ~, a1 ~
  116. ; log_errors) N9 ~5 P' a% T* [: h  D) W
  117. ;   Default Value: Off
    : H* r7 m8 k' p
  118. ;   Development Value: On% k8 J# c' Q0 W5 c
  119. ;   Production Value: On4 P7 D  N$ p2 t- Z$ P$ D9 P; @* y

  120. ' N! }- d% l# E' A. o; s4 O
  121. ; max_input_time
    , _* z9 h6 Y/ T3 G
  122. ;   Default Value: -1 (Unlimited)% Z  j1 }+ x+ D6 z8 W  T, @0 B% |3 z
  123. ;   Development Value: 60 (60 seconds)
    4 G- a& F" a' E$ v$ m4 n
  124. ;   Production Value: 60 (60 seconds)
    8 B  P5 b- R) q
  125. ! k$ L$ \& n3 w3 J
  126. ; output_buffering2 A! j. W8 s; J' J; s' e
  127. ;   Default Value: Off* I' Z3 M; ]6 |2 O; \% ~
  128. ;   Development Value: 4096; T9 k: F# [. K4 M; r7 e, F
  129. ;   Production Value: 4096
    0 p+ X. x+ Z& k3 `1 @, Y  Q
  130. 5 E' ?- H* \! }9 {# {
  131. ; register_argc_argv* b7 U% O! \" q' b
  132. ;   Default Value: On( i. Y6 P+ ^4 F4 J; i# |) y
  133. ;   Development Value: Off
    ) Y/ K) d/ d- H- y2 @% h  }
  134. ;   Production Value: Off
    9 E7 m! C1 ]! P* q! h; _  c2 ~# `

  135. ( U% K- _. a3 N9 [8 `1 j% l! I
  136. ; request_order
    ) H* ^( k4 x7 G5 m: I3 s2 _
  137. ;   Default Value: None
    - I0 @- ?6 A- D0 ]4 x) c/ x5 v
  138. ;   Development Value: "GP"
    * q. G+ g+ t0 m, L, o/ Z) N1 N) r
  139. ;   Production Value: "GP"
    2 k! H9 B# o% \
  140. & Q/ D7 \) Q7 x4 P, E! U
  141. ; session.gc_divisor/ @% @2 q: M4 u/ A* }
  142. ;   Default Value: 100* _  o* u/ ~2 A4 Y% U# x
  143. ;   Development Value: 1000" A9 G) T7 f3 ~" v
  144. ;   Production Value: 1000' ]% v0 K4 x6 u1 s- P( a! b# c9 W6 `
  145. ' Z9 A! C! P& l' ]6 s/ Q4 k# x
  146. ; session.hash_bits_per_character$ ]" h* a, l2 e4 w3 N" o
  147. ;   Default Value: 4
    % Z& Q; M% B) u
  148. ;   Development Value: 5
    7 L( X& v2 l5 Q% a1 j
  149. ;   Production Value: 56 Y4 [: |4 q: r- ~4 X
  150. , Q. b) \" N0 z" F9 j! m# {  x
  151. ; short_open_tag
    : [6 h% E  \3 b( v, w
  152. ;   Default Value: On& i6 i! l0 \9 T# [! F* c
  153. ;   Development Value: Off1 B# ^: B5 j" o
  154. ;   Production Value: Off5 j# o7 R. R# P0 Y. Y

  155. - C/ b1 I' z9 P/ `4 `' S
  156. ; track_errors
    8 u: g7 X) \3 A
  157. ;   Default Value: Off
    ' x- r8 V; y8 d2 g7 M4 D2 F1 i. O
  158. ;   Development Value: On7 N6 B  b' \6 s6 i* v! D2 R
  159. ;   Production Value: Off
      Z5 ^$ C0 K1 e+ }! a

  160. 1 o' m# P4 y% X- H5 w* \
  161. ; url_rewriter.tags& h/ {2 n% C* ]  t% o/ h
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=": G9 u6 E# h! Y
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + K9 s, v2 f: G  L4 F* R3 @; D% A
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - [" x# u! o! k5 C3 _8 m9 }$ J

  165. 7 V( j; a7 ~: S6 e; J$ K
  166. ; variables_order
      N) w2 u6 c$ G$ O
  167. ;   Default Value: "EGPCS"
    4 E. r6 K5 h7 w9 m+ s) `; M; T( Z
  168. ;   Development Value: "GPCS"
    6 k3 Z% w2 S) u; p# Q7 p  R
  169. ;   Production Value: "GPCS"0 u8 Q/ ^$ x; A0 W  `
  170. : ?9 A8 {# x% R$ Y1 z
  171. ;;;;;;;;;;;;;;;;;;;;
    2 b4 H& J& v* a! C0 z
  172. ; php.ini Options  ;5 `+ {0 [( v% O2 ?4 u) n; a9 `5 }
  173. ;;;;;;;;;;;;;;;;;;;;
    # R/ c( E* [2 ?# T8 V
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ( ~2 K8 G6 P; e- x+ }  S
  175. ;user_ini.filename = ".user.ini"
    / Q1 o% j' P+ d9 e) q( ?

  176. " P# |$ g! L9 N7 p9 \# A! E
  177. ; To disable this feature set this option to empty value) p4 {) M% M' ?+ l
  178. ;user_ini.filename =
    1 `8 L" B6 o- m+ `" J+ G: ]* h: S# ]
  179. ! Z7 f$ {6 m6 ]3 V7 {
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    . K; O7 M, [) l" B. j0 u# t
  181. ;user_ini.cache_ttl = 3008 P5 G+ X- {) T- z' x; f( y- }
  182. - s5 E2 u% ~/ C+ ]
  183. ;;;;;;;;;;;;;;;;;;;;
    - Q+ y( a4 z1 ?7 h( ?
  184. ; Language Options ;
    ! z7 D; `* \! ]) D0 R" k3 V
  185. ;;;;;;;;;;;;;;;;;;;;
    8 Y7 z; J' C3 v1 M1 w9 b4 T# n
  186. : e  M5 S2 w# H4 ~+ ~' P  i
  187. ; Enable the PHP scripting language engine under Apache.
    7 e) i0 ?% Q! F' O+ P; C' |+ Z$ ~
  188. ; http://php.net/engine
    " C8 J# q3 u( w  w$ _" j( |
  189. engine = On
    9 `* T1 p/ [  ]) O9 ?

  190. . j, m6 a0 O  ]
  191. ; This directive determines whether or not PHP will recognize code between: K; z" x& g1 L6 l. {) m+ ]/ H! c; t
  192. ; <? and ?> tags as PHP source which should be processed as such. It is% o8 u# C, O( R( J
  193. ; generally recommended that <?php and ?> should be used and that this feature" G7 ?) b3 j; M  I" }
  194. ; should be disabled, as enabling it may result in issues when generating XML
    6 G) ]1 f) D& |  X+ \
  195. ; documents, however this remains supported for backward compatibility reasons.
    4 S7 @& f* L' e! F  q- |# K
  196. ; Note that this directive does not control the <?= shorthand tag, which can be/ ]/ r# z# \0 P) ^5 `( t6 {2 T4 `/ D
  197. ; used regardless of this directive.
    " G5 Y+ ?( O( a" l- m! A
  198. ; Default Value: On; ^3 Q/ m- e" m1 Z# B9 e- C
  199. ; Development Value: Off
    4 m, J9 b- s) g+ ^2 i( W* S
  200. ; Production Value: Off
    " X% p( A' R$ r  W0 Y
  201. ; http://php.net/short-open-tag) K* H0 Z3 V" j% j$ {
  202. short_open_tag = On7 u$ z* y! S" |5 X; R4 [# c
  203.   v$ U4 G0 q0 A3 F
  204. ; Allow ASP-style <% %> tags.. A$ r& F5 d& K7 K( n) J
  205. ; http://php.net/asp-tags: r/ v( w1 s" N: p; d
  206. asp_tags = Off' n, u$ M: J" s' v, \# a6 |/ H
  207. . x# p& K# y$ j8 n, g
  208. ; The number of significant digits displayed in floating point numbers.: l* V1 s! m2 N( T% j! o) _
  209. ; http://php.net/precision6 P6 O/ X/ D9 j2 |
  210. precision = 149 A/ k* E- k7 D$ y8 n
  211. / N2 o, H8 Q% Z
  212. ; Output buffering is a mechanism for controlling how much output data! h- y, z) Q( k; d6 r
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ! ]% V, y1 J% ~7 j( I
  214. ; data to the client. If your application's output exceeds this setting, PHP# e0 D' J1 m# b" s
  215. ; will send that data in chunks of roughly the size you specify.6 v$ B( j; l: V* I
  216. ; Turning on this setting and managing its maximum buffer size can yield some/ u9 f4 Q( Q7 u* e# J0 r
  217. ; interesting side-effects depending on your application and web server./ N' ^% D9 g4 o9 a6 I
  218. ; You may be able to send headers and cookies after you've already sent output
    8 w' E3 N! z$ T1 T6 z' U* E5 z
  219. ; through print or echo. You also may see performance benefits if your server is
    & ?) e- E* ^6 c; L
  220. ; emitting less packets due to buffered output versus PHP streaming the output( n+ q. N- H! T/ B
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance- T2 l7 v5 W* k# L8 [
  222. ; reasons.
    ' z6 |( ~. W0 c8 x. `6 h
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    * a# y  ?# e8 u# }' G; u
  224. ;   functions.# ]4 j, H8 R! i2 z* [
  225. ; Possible Values:) ?$ @8 m- ^. `. z, |/ ~* _) C
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)' M- m+ c9 s# ^) C
  227. ;   Off = Disabled
    2 `; [5 f5 Q* w3 X2 x: l, U2 D2 C/ b
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    & x# Q5 U9 d# v. m2 ?, a
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI* t8 M' {2 `: z" s  S$ s
  230. ; Default Value: Off
    ) H4 ?2 S9 S" U; x( f$ \5 n7 v
  231. ; Development Value: 4096
    $ w) f# J" l# `% D
  232. ; Production Value: 4096* B0 M3 Q: x' j! Z# C8 o+ A
  233. ; http://php.net/output-buffering: u) x- c& V/ r- [4 y" S
  234. output_buffering = 4096
    0 f" K0 \3 p& V- s0 b1 w

  235. & j) y, n0 u* Y; ^! p
  236. ; You can redirect all of the output of your scripts to a function.  For, M% g+ g$ b. L& `3 K
  237. ; example, if you set output_handler to "mb_output_handler", character4 F. s: S0 ?: s! G" J7 R, X  a
  238. ; encoding will be transparently converted to the specified encoding./ S2 J6 {2 g2 m( Z
  239. ; Setting any output handler automatically turns on output buffering.
    6 w# S& X9 P4 v0 l0 M% K  f
  240. ; Note: People who wrote portable scripts should not depend on this ini
    - z" r9 g/ [0 V
  241. ;   directive. Instead, explicitly set the output handler using ob_start().) M0 _# ^  F3 }3 c
  242. ;   Using this ini directive may cause problems unless you know what script6 n5 I6 g7 {1 O7 k+ c3 k) M
  243. ;   is doing.
    & G1 ^, ]& \! H+ ^  G. ]: K
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    " c0 @: h8 L! i! B. R3 n/ j
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".' w- ^* {# a# ]' c$ X, B) Q
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    / e3 s* f, z, J4 I( z) |; t2 J
  247. ;   Instead you must use zlib.output_handler.* d9 v. R/ X- d6 ^
  248. ; http://php.net/output-handler/ s5 y) O: h7 L3 b
  249. ;output_handler =- ^  z3 m6 s+ h8 f
  250. * u/ b, `% p& q$ i( v6 u
  251. ; Transparent output compression using the zlib library  g; A3 K" B/ |/ `
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ' D) p( l! Z* K9 \
  253. ; to be used for compression (default is 4KB)
    + G4 R9 h5 H& y% {, S. o
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP2 [( v1 ]; ^6 H$ U
  255. ;   outputs chunks that are few hundreds bytes each as a result of# o0 z; f2 i' V5 R
  256. ;   compression. If you prefer a larger chunk size for better
    $ R& [' ?0 I5 ~: r1 D; ^2 W+ D
  257. ;   performance, enable output_buffering in addition.
    " E' w# P- U1 D5 D5 x
  258. ; Note: You need to use zlib.output_handler instead of the standard
      K/ ]- C' {$ p' E3 Y- P! B5 k
  259. ;   output_handler, or otherwise the output will be corrupted.6 q0 k3 t8 n8 U5 E2 O" z' r
  260. ; http://php.net/zlib.output-compression
    & M. Z+ E6 X/ K& D  C( V/ _
  261. zlib.output_compression = Off
    ) e/ p0 L' ^& A$ M$ X, K, A& ~
  262. & E2 f0 l- a! j* Y0 p8 F" N
  263. ; http://php.net/zlib.output-compression-level
    ! P+ L! H9 P! V2 m1 O- K
  264. ;zlib.output_compression_level = -1
    7 B5 O( t+ p( a5 {! m# Q8 U
  265.   t5 V; K. ?+ r8 x2 V9 J9 s- @
  266. ; You cannot specify additional output handlers if zlib.output_compression4 }# o& G+ q+ C# p* g6 X
  267. ; is activated here. This setting does the same as output_handler but in
    + L  x# `. D4 T5 F" ~. G
  268. ; a different order.
    + Q) {- Q4 t/ ^4 v1 ~7 ?1 U7 }
  269. ; http://php.net/zlib.output-handler
    ; F& A4 N  x+ d: O) T$ z1 o8 M
  270. ;zlib.output_handler =
    - q9 O! Z* \* D

  271. - E1 Z4 |3 y! }! k2 v# ?
  272. ; Implicit flush tells PHP to tell the output layer to flush itself5 A, K  ~) F$ b
  273. ; automatically after every output block.  This is equivalent to calling the. n6 F* _  Z3 U/ C' u, T$ c
  274. ; PHP function flush() after each and every call to print() or echo() and each
      E' k% M# `5 e& \" ~
  275. ; and every HTML block.  Turning this option on has serious performance
    8 g. s9 t! f( S$ q2 ?4 C( E" ]
  276. ; implications and is generally recommended for debugging purposes only.
    8 Z+ m' N5 u5 S8 U& E, x
  277. ; http://php.net/implicit-flush
    : j* `# G+ l! s
  278. ; Note: This directive is hardcoded to On for the CLI SAPI- M0 u  H- O% S& Q
  279. implicit_flush = Off7 x$ l1 C0 o. P; V

  280. 7 w' I' s& {: j8 H! E
  281. ; The unserialize callback function will be called (with the undefined class'! f  U* h6 \! u: I7 h! C% G  @( K/ b
  282. ; name as parameter), if the unserializer finds an undefined class; c3 ~$ C6 ~- O/ V
  283. ; which should be instantiated. A warning appears if the specified function is
    ' P  O% y+ C- r6 h+ w5 k
  284. ; not defined, or if the function doesn't include/implement the missing class.
    ( h/ n# s; y, g; J/ ~
  285. ; So only set this entry, if you really want to implement such a
    4 B* e3 @9 X( Q" i3 `" X9 _
  286. ; callback-function.
    8 C1 z  U6 c" |$ c. n6 P& P0 K
  287. unserialize_callback_func =, H8 @3 X+ s# J

  288. * F; {9 {% ]6 @
  289. ; When floats & doubles are serialized store serialize_precision significant
    . _, T4 Z# Z9 u
  290. ; digits after the floating point. The default value ensures that when floats
    6 j5 X2 [' ~; l  L2 S5 Y4 m$ T
  291. ; are decoded with unserialize, the data will remain the same.- n' a3 P! Y9 W
  292. serialize_precision = 17
    4 `, I; L! m' G) Z6 D
  293. 2 y! W/ `2 C1 c+ T
  294. ; open_basedir, if set, limits all file operations to the defined directory0 I  @4 b, N* }' m" N% F
  295. ; and below.  This directive makes most sense if used in a per-directory/ ^& s% B9 `  N! M* S5 q
  296. ; or per-virtualhost web server configuration file.6 ^( {" s' A) h8 w2 v
  297. ; http://php.net/open-basedir
    % L5 O8 ]+ ]: n& F
  298. ;open_basedir =
    $ G( Q; v. _, V8 F8 @4 ^: Y, I+ y& K8 o
  299. & n/ I: u, F$ o4 L# O5 T' W
  300. ; This directive allows you to disable certain functions for security reasons.
    7 c% }$ A. m# s! w- t
  301. ; It receives a comma-delimited list of function names." X( x9 |9 z6 I* r
  302. ; http://php.net/disable-functions
    " X% {" d! w( f# L3 n
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru( n( B6 r& T( Z0 \0 S( I
  304. 0 L$ S0 ?4 X( H4 C; K7 o8 @# F
  305. ; This directive allows you to disable certain classes for security reasons.
    ' p6 N1 u) g0 }
  306. ; It receives a comma-delimited list of class names.& e3 Q. Y) ]; ]2 t9 P2 [
  307. ; http://php.net/disable-classes
      @: k+ j, S2 N' o4 _& ]
  308. disable_classes =  f# {5 ?, t5 j5 h8 I# c

  309. + _$ F1 b; T) i  {( y# B8 Z
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    + S! }6 v6 U: F2 R* v  V
  311. ; <span style="color: ???????"> would work.
    " Q4 A% h2 I+ s0 o, {
  312. ; http://php.net/syntax-highlighting+ D0 F) w; W' m6 U* V  t/ T
  313. ;highlight.string  = #DD0000  ], G' V2 ?& J: ^: `- p
  314. ;highlight.comment = #FF9900
    3 U3 `6 P; @1 R4 [
  315. ;highlight.keyword = #007700# R& A8 g# @! C/ c6 ~) m4 X. V  o' t" B
  316. ;highlight.default = #0000BB
    ; e9 B7 Z  i' A* A  E$ O, s8 z  n
  317. ;highlight.html    = #000000# w0 W. M6 o2 |- U! H( w
  318. 2 J2 g' T+ N- T, f! H: l# ~  a
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    ) O- q8 B8 ]8 |) w* ?! s
  320. ; the request. Consider enabling it if executing long requests, which may end up! d! h- a7 d( r' L$ |) m
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    : \& P" `( p) ]
  322. ; is to disable this feature.# a, l/ U" r' @' `* M
  323. ; http://php.net/ignore-user-abort
    . s- Z& \' Q3 \2 d1 P2 P* N/ K  e
  324. ;ignore_user_abort = On1 L. d+ E9 L7 p+ h; b  N0 Z

  325. 3 I# P1 a& J/ ]7 _
  326. ; Determines the size of the realpath cache to be used by PHP. This value should  v& v8 |/ j& E9 o* y
  327. ; be increased on systems where PHP opens many files to reflect the quantity of: F' ?$ }- s1 V- D; I4 \' x: R: {
  328. ; the file operations performed.
    * z8 T/ K5 ?: `* U0 [
  329. ; http://php.net/realpath-cache-size
    ' [: T; v9 Y9 W: f2 x% O* K
  330. ;realpath_cache_size = 16k
    7 a6 t+ ^0 d. {6 K. S
  331. ( R" E, Y- W) w# K$ t7 a
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    - S' {& I# J9 y6 J
  333. ; file or directory. For systems with rarely changing files, consider increasing this6 z) r( ?+ z7 @
  334. ; value.
    $ W2 i$ p0 r( }2 C# g
  335. ; http://php.net/realpath-cache-ttl
    4 Y# ~6 v- `# v) \8 X# C
  336. ;realpath_cache_ttl = 120( v" ]; R+ @& P+ I& J9 e

  337. / [& p& m: u$ s/ m" I- _& Q
  338. ; Enables or disables the circular reference collector.
    - P  d$ ]1 G5 B2 r6 T* p# C
  339. ; http://php.net/zend.enable-gc& j; _# k" `0 I5 \
  340. zend.enable_gc = On- G/ S& z, a, |4 e2 T  r/ [( l

  341. / d  t7 d3 j5 C/ J6 o
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    # Y0 o% d! x. t: }
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such1 h' j. [2 u0 W2 T8 C% Y
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    . ]3 Y9 |" L4 j) s2 c4 k- e
  345. ; Default: Off
    ( X9 P1 w; I' [" w6 b% b
  346. ;zend.multibyte = Off/ r9 h* N" ]3 b# `2 x
  347. $ T2 ?; e9 H: V) P- u- @1 Z2 ~- B
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    0 Z2 R0 f/ \& A" @8 m( f
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.3 X* b. {& a7 N# m8 {/ L: W
  350. ; Only affects if zend.multibyte is set.
    ; ~/ o9 g  n& c2 M* a1 d
  351. ; Default: ""6 L  e/ d4 Z% ]: U8 p4 d
  352. ;zend.script_encoding =# E& i( Y$ N- O0 e1 N3 W
  353. " B0 u3 x+ r& j8 B/ w
  354. ;;;;;;;;;;;;;;;;;
    , L9 Z+ h) T9 ~+ z7 v! O
  355. ; Miscellaneous ;
    " @- I/ D8 E. A4 C4 s' F* J
  356. ;;;;;;;;;;;;;;;;;
    : e+ B- C, {5 t$ _: j! r$ ?' Q
  357. . |+ r" `/ m# l( Y' N1 @( y
  358. ; Decides whether PHP may expose the fact that it is installed on the server4 R. y: _* v9 I7 q
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    ) J" u5 y5 g1 a# [2 w
  360. ; threat in any way, but it makes it possible to determine whether you use PHP, y; J/ l. f% y
  361. ; on your server or not.
    ' p& R. a, K3 Q' _
  362. ; http://php.net/expose-php
    & g7 N( ]( w: @0 l; \( i
  363. expose_php = On" k' G6 P' o: e% q) d" _% p

  364. ; L' ^3 l, b' W2 o8 k
  365. ;;;;;;;;;;;;;;;;;;;/ p7 u3 p, x- m+ L5 x! Q
  366. ; Resource Limits ;7 q: A5 O8 s& T, t5 O, p
  367. ;;;;;;;;;;;;;;;;;;;4 @4 G3 k, K6 u% y2 I( I% f

  368. ( Z* q" P* K4 f7 t8 ^: v
  369. ; Maximum execution time of each script, in seconds
    ! M- V8 j4 ~1 A& C) Q% R
  370. ; http://php.net/max-execution-time
    1 y% ?% {6 m* D% t/ o$ ?
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    3 U" U  k8 G" B3 y6 U
  372. max_execution_time = 300
    & [% a) `! a2 H

  373.   V# `- ~1 {* ~& H) [+ F
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    5 t; m5 s/ F2 L6 {  |( g
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    / `6 w5 u$ a# G+ `  B) b( R; y
  376. ; long running scripts.9 @# f* V4 E+ ~  `0 W
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI  \* A3 M0 n" A3 G+ T
  378. ; Default Value: -1 (Unlimited)
    & p1 M! Q$ k) [4 ~. _
  379. ; Development Value: 60 (60 seconds)
    3 e; d! O. g$ {/ b2 T
  380. ; Production Value: 60 (60 seconds)3 }- }; i2 t, f0 _. y
  381. ; http://php.net/max-input-time
    1 E% `% C  q2 y7 I/ Q7 a
  382. max_input_time = 60. ?0 Y1 |0 I) n7 `# h

  383. 7 b- c7 o, C! m4 L# Y% [* v" e
  384. ; Maximum input variable nesting level$ g2 j; a" R4 h7 H3 u
  385. ; http://php.net/max-input-nesting-level
    4 C5 ]% e, P$ [# \
  386. ;max_input_nesting_level = 644 U! S9 Q* r' @8 y, g3 a

  387. 6 v; i+ L0 N3 H0 W# V  f
  388. ; How many GET/POST/COOKIE input variables may be accepted
    4 q. O3 ]1 E4 C( e3 U1 q' m
  389. ; max_input_vars = 1000
    4 W  [7 f( p& M; Z& u1 F! j

  390. . S8 {! y9 q. t  K4 P
  391. ; Maximum amount of memory a script may consume (128MB)
    6 u0 G, ~% E: H) _* k
  392. ; http://php.net/memory-limit5 i7 d; k/ z) W! W5 l0 ?6 S
  393. memory_limit = 128M/ C0 q  b' r* f% K3 u, Q

  394. , X- l$ e* a) J
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;  w3 u6 C# [8 |
  396. ; Error handling and logging ;
    8 t7 p( P  b3 c
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    , E* c5 Y0 u% u/ p6 Y

  398. 5 [2 z; g, v; e$ K  f/ e$ \
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    1 D1 s* J/ h4 q/ G, |2 D4 L
  400. ; it to take action for. The recommended way of setting values for this2 ?: H8 M) L/ Q) P5 I
  401. ; directive is through the use of the error level constants and bitwise
    $ M3 q+ s1 J, Z0 R& x) }$ J: R
  402. ; operators. The error level constants are below here for convenience as well as. r; E6 T- K+ m7 l6 U
  403. ; some common settings and their meanings.& t8 k1 g: k1 w1 C" }
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    4 J+ V1 H, V4 r2 k
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    7 ^0 k% Y% q# h* i, C5 y1 q
  406. ; recommended coding standards in PHP. For performance reasons, this is the/ A8 o7 \$ G3 Z: G
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    6 t: I$ M$ f+ V6 o  `
  408. ; resources complaining about best practices and coding standards. That's what  r& h# Y1 ?' s) [) _. S* p
  409. ; development servers and development settings are for.& G9 c9 a  y2 g. D2 B& I  i
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
      p3 O3 S  }3 u5 L3 p
  411. ; means it pretty much reports everything which is exactly what you want during0 ^8 @+ ?8 `2 l; _! K8 V7 C# @* D4 W
  412. ; development and early testing.' y) V* `7 n8 O7 W
  413. ;3 G9 b! o. R; X  N
  414. ; Error Level Constants:( u+ R' F8 e: O8 |3 v( ^
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)1 L  n2 t1 `6 y5 @) [" H  z, c
  416. ; E_ERROR           - fatal run-time errors
    , S  Z* f0 Z/ ?3 N3 J1 M$ G, C
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors) n9 v4 ~8 X, |5 a! ]  q
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    1 n; l3 m& ?7 @! @* P
  419. ; E_PARSE           - compile-time parse errors
    3 T: T7 k% X, l9 v* M& q/ H
  420. ; E_NOTICE          - run-time notices (these are warnings which often result2 o( P8 a5 K4 T; [9 n5 H7 k
  421. ;                     from a bug in your code, but it's possible that it was
    . A! H3 n# s4 V& c6 j: _! g
  422. ;                     intentional (e.g., using an uninitialized variable and
    / j' h1 c6 u6 p, a
  423. ;                     relying on the fact it is automatically initialized to an: u! u' Y; {: v1 P& _" j. U! B% {) S* e
  424. ;                     empty string)( [) s7 R2 s$ ?- n9 f! r, v% ~4 X
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes/ V5 {) Q) a4 m3 U! q! N
  426. ;                     to your code which will ensure the best interoperability" D& ]! Z" `2 L5 `! n9 K
  427. ;                     and forward compatibility of your code
    ) w5 a& e3 i$ F+ @8 Y7 `) [
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup' Z+ V! t( w. ^
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's* \7 k; w; M: `* J2 m: S
  430. ;                     initial startup
    % c% x- q8 h6 a* @% U
  431. ; E_COMPILE_ERROR   - fatal compile-time errors# j  D2 B7 p7 n; p) a
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    # o: |7 s, M& K" W# A  ?) b
  433. ; E_USER_ERROR      - user-generated error message
    0 ~, u  `) m+ {7 F& R
  434. ; E_USER_WARNING    - user-generated warning message! w' O% l( F+ Q: S  ~3 Z
  435. ; E_USER_NOTICE     - user-generated notice message8 z+ n) O$ G) b# q2 @) {' P
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    . ^( v* w$ {2 Z2 W3 M
  437. ;                     of PHP; d' `) V# V! B0 c8 T/ \; t0 G
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    . L: N% H: [- k  T# W$ b
  439. ;
    1 ?5 U+ d+ j7 N; d: ?9 d, i
  440. ; Common Values:
    4 U& b& s( B9 F* A  C
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)( Y* ?0 s; o3 r
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    : w' x% N! g& Z. E0 Q
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)# o8 s# x% W4 h4 e; p; j$ {$ O
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    * Q/ g  U8 B& @9 d5 c
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED1 A1 K; m# t; a" X
  446. ; Development Value: E_ALL
      d" F4 P1 H, v6 q( v
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    & H6 r! k' G9 G( N) }. a& V
  448. ; http://php.net/error-reporting
    $ _9 S* P0 ]: Q5 {5 U
  449. error_reporting = E_ALL & ~E_NOTICE
    7 v2 R$ d% L1 M% A
  450. 8 N$ T& L! h( N: f! Q: c6 q1 e
  451. ; This directive controls whether or not and where PHP will output errors,- n9 b$ u9 V3 c- R( p2 V; F
  452. ; notices and warnings too. Error output is very useful during development, but
    # M' y' `8 a0 f! N* X
  453. ; it could be very dangerous in production environments. Depending on the code' z4 b  a8 u% Z1 h; N) S' M6 V2 c
  454. ; which is triggering the error, sensitive information could potentially leak; X9 B2 m; O6 o: s6 P# ^
  455. ; out of your application such as database usernames and passwords or worse.
    2 ]* P0 B$ N3 N, R7 P* x0 o; M
  456. ; For production environments, we recommend logging errors rather than* b; X2 G6 y1 t* t5 y* {
  457. ; sending them to STDOUT./ u( c5 L( D5 s7 Q' A' w
  458. ; Possible Values:
    : I- g+ s3 }, E/ @- w( U4 L
  459. ;   Off = Do not display any errors# B5 b8 l! Q' C; ^2 Q/ J3 ~
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)9 A, ~$ z' l0 v- Q$ Q0 i0 A
  461. ;   On or stdout = Display errors to STDOUT, o& K! f& {; f5 g9 ~5 m
  462. ; Default Value: On8 P$ ^& F% X- U3 s
  463. ; Development Value: On- e$ _; ]; y2 v+ s9 P" Z# b8 d
  464. ; Production Value: Off) S, y; }7 Y- I, L- G
  465. ; http://php.net/display-errors" n5 h0 _5 c  m
  466. display_errors = On
      D- U7 L2 h* `
  467. ( b/ G" q% \9 r+ s& d6 m3 g2 L" m
  468. ; The display of errors which occur during PHP's startup sequence are handled" y* G+ }0 k7 B, E4 l
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    6 ]. E/ v3 s. k
  470. ; errors from clients. Turning the display of startup errors on can be useful in% I2 y) H& x$ }: f) @
  471. ; debugging configuration problems. We strongly recommend you. ^. f0 e  u* v/ ^( J3 L
  472. ; set this to 'off' for production servers.
    , P" s% g7 y) z# l# a& d
  473. ; Default Value: Off
    4 R2 ~8 i5 H$ T0 `
  474. ; Development Value: On( C7 u3 z$ U5 u7 n  C" [" H0 Y
  475. ; Production Value: Off5 z4 z+ b/ y2 t+ S) Z; u
  476. ; http://php.net/display-startup-errors( [/ L: E, N; d' d1 M9 F3 |/ M
  477. display_startup_errors = Off3 B1 Q% G2 x1 k, s' R& c% s

  478. , l% a: ^7 n, @7 S/ E9 k
  479. ; Besides displaying errors, PHP can also log errors to locations such as a/ I9 F0 ]! n9 i" H
  480. ; server-specific log, STDERR, or a location specified by the error_log4 n. s4 t2 |/ h9 O# p5 H/ g
  481. ; directive found below. While errors should not be displayed on productions$ a4 h0 Q$ i/ g6 q6 u" q
  482. ; servers they should still be monitored and logging is a great way to do that.
      b# L" r. ~1 G
  483. ; Default Value: Off
    . A" n' [. Q/ R" ^9 ^. N' `
  484. ; Development Value: On
    - a- z5 R( _: b1 D9 t$ e9 Y
  485. ; Production Value: On
    1 D1 K2 T7 B- D0 H( _* {- X, S
  486. ; http://php.net/log-errors% i  w! p7 [+ X9 v: ^& j
  487. log_errors = On
    , h0 Y. _) D8 g4 n
  488. 8 o7 b3 h+ `. u  B; R, q! A" T4 x- x
  489. ; Set maximum length of log_errors. In error_log information about the source is
    " i; Z0 `' b* D8 o
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.- r4 y: j! {) \* T( a% W& @1 J
  491. ; http://php.net/log-errors-max-len1 Y" s1 V* P* C: q5 k
  492. log_errors_max_len = 1024
    ' G- l- ^2 L6 l8 {: T( a+ C
  493. 8 b9 b: e. ]7 C1 O
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same6 t$ G. T  F5 R
  495. ; line unless ignore_repeated_source is set true.
    , \% {& h/ `: C7 E' [7 |
  496. ; http://php.net/ignore-repeated-errors1 A) x9 L7 Q! w; s9 n# O7 E8 x
  497. ignore_repeated_errors = Off
    / z/ `2 ~" s! Q# a9 m/ X) d6 M
  498. - N& B; j" _3 ?% _; a4 R  ^( h
  499. ; Ignore source of message when ignoring repeated messages. When this setting2 i" H' y8 P" h
  500. ; is On you will not log errors with repeated messages from different files or5 u$ f& F  e: n
  501. ; source lines.( y/ M6 Y5 y4 H7 w
  502. ; http://php.net/ignore-repeated-source. P7 w# W# B5 l3 g
  503. ignore_repeated_source = Off& b5 b) D* ]- b6 m. K' j8 u

  504. / G) f3 u$ ^& K
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    4 Z  m0 V, ]2 ]8 N# c. s$ E
  506. ; stdout or in the log). This has only effect in a debug compile, and if9 S2 t1 H: ?7 Y2 U
  507. ; error reporting includes E_WARNING in the allowed list# ^3 k9 r! H) b9 i) Q$ @4 H
  508. ; http://php.net/report-memleaks
    ' H: v; N, B( }3 P0 \' _
  509. report_memleaks = On
    7 x+ w2 J3 J- ~! v8 w/ ^

  510. ( g) F; s: f5 h6 P. M
  511. ; This setting is on by default.* m0 D4 X, m' V4 y1 h. B: j6 E4 a: p# U
  512. ;report_zend_debug = 0/ P7 g- j" H: g) n0 O7 o

  513. 0 B1 \4 ]3 a2 }/ B
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ) Y, ]+ w9 T0 c! Q; N
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    0 n3 y' M) n2 f3 ]* n0 p3 \7 D
  516. ; however be disabled on production servers.
    & Y( u1 I$ p8 ^% }
  517. ; Default Value: Off
    % a& }/ Z) b1 P1 z) L
  518. ; Development Value: On" W9 q! T* H# I( P
  519. ; Production Value: Off
    # H4 m2 O4 _9 ^/ O# s- \
  520. ; http://php.net/track-errors
    1 Z! F9 F2 H# a8 d; ^' ~, `$ I
  521. track_errors = Off
    % {' _7 k! ]- ]

  522. ; O7 Z7 G1 ^/ j& i
  523. ; Turn off normal error reporting and emit XML-RPC error XML  [. |; V$ k# V# d; b5 \
  524. ; http://php.net/xmlrpc-errors; A/ y# }, T: k+ Y* M, t1 Q4 t
  525. ;xmlrpc_errors = 0
    6 c4 H; W& Z) e# t& B

  526. 1 f6 v' a5 c1 V. G$ F
  527. ; An XML-RPC faultCode
    ' V# E9 ^1 E! m# r
  528. ;xmlrpc_error_number = 0
    : X7 b' C8 _* K: D" f5 g

  529. ' T5 u/ Q! E2 G' S1 v, G% x: O4 u
  530. ; When PHP displays or logs an error, it has the capability of formatting the  v* h% I0 e: H' f% p& |* W* p
  531. ; error message as HTML for easier reading. This directive controls whether
    ! y! I  E! ^/ c5 s$ ^$ T/ ^+ ?
  532. ; the error message is formatted as HTML or not.
    4 b% R2 V2 s0 `
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    6 P* x: o* d, v, {' V
  534. ; Default Value: On
    : g  C8 K( h/ I9 Y
  535. ; Development Value: On# f5 g7 P7 C, {- f, l8 ~, B
  536. ; Production value: On+ ?" S7 m  T3 _$ G0 D( N, Q
  537. ; http://php.net/html-errors
    8 [4 Z- J- u2 @/ y, B0 l3 M& C
  538. html_errors = On/ t6 m1 _3 n' |4 D

  539. 6 f" }" G6 _! L' N) ?: I7 Z
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP" Z0 R$ g. U; ?1 m( h' S0 P( \
  541. ; produces clickable error messages that direct to a page describing the error; n( L- W- c7 G& H% X' o/ V
  542. ; or function causing the error in detail.) a+ @9 k0 U: t4 O; g1 L. U
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    9 P# z2 X( k: e
  544. ; and change docref_root to the base URL of your local copy including the
    0 i5 e& y: H7 y. G
  545. ; leading '/'. You must also specify the file extension being used including
    ; A; v( n0 S! C8 t! T1 `
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which( n$ L- C& }8 j% _) U) f% A: p
  547. ; case no links to documentation are generated.
      ~) Y% X' t) d/ ^+ e, n
  548. ; Note: Never use this feature for production boxes.
    8 k2 z& R3 G2 h1 p, K
  549. ; http://php.net/docref-root
    + A8 t& h4 n# o' b5 b; G
  550. ; Examples
    4 y7 G: d- p  ^
  551. ;docref_root = "/phpmanual/"& S; f. [) n  M  \+ n! V! g1 _

  552. $ D7 f' n: k9 J' r+ s- p' ~
  553. ; http://php.net/docref-ext
      i# `9 F2 H* ^4 d9 @1 @% B
  554. ;docref_ext = .html
    , y( ?8 O# W2 z& R# c3 x& {. D
  555. / ]" h* r7 ]5 P1 {
  556. ; String to output before an error message. PHP's default behavior is to leave+ q  R- \7 }3 x7 O, Y
  557. ; this setting blank./ s; c3 P1 K: ]# m4 w+ ?# Y' ^
  558. ; http://php.net/error-prepend-string$ `: K* m& m0 m: _; V4 l
  559. ; Example:, k6 i* O& K/ \, x2 B5 l
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    / \% k5 a' _1 t1 ]) g2 c
  561. " H0 {8 P; O8 S  ~: L5 c( P$ E
  562. ; String to output after an error message. PHP's default behavior is to leave" D2 y  L7 g+ l
  563. ; this setting blank.
    ( D, {! W6 U1 `( G* H4 c2 e
  564. ; http://php.net/error-append-string# [8 K( M% W$ Q+ D; l
  565. ; Example:: L* J0 V; S4 i- A( d3 Z0 V. z
  566. ;error_append_string = "</span>"
    ! g, k/ i5 o1 E4 Z

  567. 5 c1 D+ \0 C* D- K' N( A* V
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    1 N/ S7 d! L) s& j- F) R, ?% R
  569. ; empty.
    # o. J/ G) r! U) V* ?# H$ o
  570. ; http://php.net/error-log
      c! F% q  a3 X4 d8 S
  571. ; Example:
    0 Y. z9 b& Z9 K, d" J. d9 p
  572. ;error_log = php_errors.log. v' a* T" f( h  A7 U, j
  573. ; Log errors to syslog (Event Log on Windows).4 ~- T/ ~5 g% O; [
  574. ;error_log = syslog
    1 c7 d, x5 l. C% f! Z  m3 M' _8 _

  575. % R, E. _* W) G% ]$ @1 k# X/ d: x
  576. ;windows.show_crt_warning' E5 q! L. a, R" d. J4 K# L8 f
  577. ; Default value: 0
    $ E2 T- x# a* S0 T& |) Z/ k
  578. ; Development value: 0
    - |& M7 \# w4 T' d' b* ?
  579. ; Production value: 0
    & J5 n+ b# b& w. G* {( b/ |
  580. ' F% b8 |9 x2 R$ V
  581. ;;;;;;;;;;;;;;;;;
    % p; F  p) o, p6 S! F% U
  582. ; Data Handling ;
    ! P( D  P) m. G
  583. ;;;;;;;;;;;;;;;;;) N( n  `2 q; e) |9 x
  584. 0 T- J1 D( `0 n$ k9 Q: \6 V# ?
  585. ; The separator used in PHP generated URLs to separate arguments.' O( L, b- _5 Y0 ]
  586. ; PHP's default setting is "&".
    ) b, e9 y6 A/ q. P
  587. ; http://php.net/arg-separator.output
    6 b# n- w3 k& Y) ]! d7 x) Z& X
  588. ; Example:
    9 o0 O; a: j0 r6 c" T$ K
  589. ;arg_separator.output = "&amp;"
    0 _6 c# d# {2 e4 m
  590. 4 p2 @- [. v9 N. M, K5 n
  591. ; List of separator(s) used by PHP to parse input URLs into variables.( k6 B4 A! H) \# q
  592. ; PHP's default setting is "&".
    - v, _/ P% x4 x7 q
  593. ; NOTE: Every character in this directive is considered as separator!
    % G5 G$ @  O1 F$ L# C& [
  594. ; http://php.net/arg-separator.input4 N7 C( |6 \  U
  595. ; Example:
    * U6 a& b1 C, G
  596. ;arg_separator.input = ";&"
    ; U: B* e/ b" o9 J8 z: J5 M+ s$ J  @
  597. , E5 q( j1 s- X$ T' h: ^) r9 w
  598. ; This directive determines which super global arrays are registered when PHP+ x9 M, F+ C! k4 q0 s
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    & p: W2 ]! R, }
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty; S$ k9 ]/ [) q1 ^  s2 K" a/ N- h
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    3 C  i5 j5 @' y
  602. ; used as the others, ENV is not recommended on productions servers. You) h& s$ `6 b; |7 |" I" `- e6 t
  603. ; can still get access to the environment variables through getenv() should you
    $ E: ^6 V+ C" ~# x1 w# n
  604. ; need to.0 u- n" E* n3 M* E6 n
  605. ; Default Value: "EGPCS"6 l" {( d/ Y4 o( {! L; b
  606. ; Development Value: "GPCS"
    - Z" @, u2 P. n* y8 B) X( \
  607. ; Production Value: "GPCS";/ r9 B' b* C9 E# O
  608. ; http://php.net/variables-order
    " }9 F0 S3 \4 x7 o
  609. variables_order = "GPCS"
    ) D! l1 _, o! U, |' b

  610. 4 l9 ^9 {" O5 O  v
  611. ; This directive determines which super global data (G,P & C) should be
    2 Q2 f2 t2 N6 r3 E8 _
  612. ; registered into the super global array REQUEST. If so, it also determines; d1 f/ j% y, }
  613. ; the order in which that data is registered. The values for this directive
    % ?, ~; S! k6 A8 ]; y; C5 ?
  614. ; are specified in the same manner as the variables_order directive,
    $ X+ b# W3 S$ K1 Q, ?
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set3 E: W: x% N- S- u5 U) t
  616. ; in the variables_order directive. It does not mean it will leave the super
    8 H0 |9 X2 M& B" z3 t" I) J
  617. ; globals array REQUEST empty.5 r" V% M/ i, M& b  e6 M
  618. ; Default Value: None% W' r( A+ w% d; O
  619. ; Development Value: "GP"
    1 g! j0 L8 b9 ^/ p  r; y8 |
  620. ; Production Value: "GP"
    8 M2 O" \1 h- C# f1 q
  621. ; http://php.net/request-order' \  K& O2 E$ d# [
  622. request_order = "GP", u. K2 K+ v9 W# {0 d1 L8 L
  623. ! g& R0 h2 Q  A
  624. ; This directive determines whether PHP registers $argv & $argc each time it6 N% g: l4 c- V; l5 Y0 E" G) L" h
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script( N' o1 T: o6 N' d! y. ?
  626. ; is invoked. $argc contains an integer representing the number of arguments" O* h) p4 q& \& w; i! R1 N
  627. ; that were passed when the script was invoked. These arrays are extremely
    8 i. C1 |+ Q; X: K
  628. ; useful when running scripts from the command line. When this directive is
    . @6 L1 y( E) X3 b  W: z1 c& ~9 \1 O
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    ; W# `2 p: q1 ?* t
  630. ; a script is executed. For performance reasons, this feature should be disabled, j# d" d- f+ t9 e$ y2 F# u
  631. ; on production servers.
    . \% S- ^* h! B; G- F
  632. ; Note: This directive is hardcoded to On for the CLI SAPI( f/ v9 ?* G& K, q
  633. ; Default Value: On
      E, o, G/ A: O% `
  634. ; Development Value: Off
    7 p( T  a* s" C! G. V, y8 e5 t. l3 x
  635. ; Production Value: Off
    2 a4 u& @( }1 w/ ~
  636. ; http://php.net/register-argc-argv
    - S( Z: e# E& F, Z' V  J) _! L0 v* n* ?
  637. register_argc_argv = Off. N1 S; M4 s9 K5 S- e5 T% P: D( A
  638. $ P1 J' A' ^  L
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    9 x* K9 q' ?. }( T0 H0 s
  640. ; first used (Just In Time) instead of when the script starts. If these
    + H7 T1 `! E2 p4 f$ r! `
  641. ; variables are not used within a script, having this directive on will result
    / D! ?3 `$ i" @+ J
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    # Q1 F8 @% U" T) t/ A/ W
  643. ; for this directive to have any affect.+ f+ y! ]& ^7 H: J/ n) c& B
  644. ; http://php.net/auto-globals-jit7 w5 ?5 U8 O4 t4 N
  645. auto_globals_jit = On
    ! F$ s. p) |4 i& c+ ?3 s9 H1 ^
  646.   }$ u# S- N% _6 y; S* d
  647. ; Whether PHP will read the POST data.+ L* h9 Q7 B* T& f! r1 i) r- N1 P
  648. ; This option is enabled by default.
    + B* i# o) k5 ^* [
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST! p7 p+ g' n5 ?( E# J( m' Y# v
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    , u) ^6 L8 j! |" {0 j" J1 K
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    8 [& m6 b) ?: t9 k
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.3 ]' a1 H0 C$ k
  653. ; http://php.net/enable-post-data-reading
    0 W! p1 m3 D/ B( e# \
  654. ;enable_post_data_reading = Off0 N4 V  k& @8 E9 A* A' Z
  655. 0 e# ]& z3 n6 e4 O$ c
  656. ; Maximum size of POST data that PHP will accept.. z) _: V; A7 q# r6 O
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    % u- ]7 q9 d% j: S) A9 i7 h
  658. ; is disabled through enable_post_data_reading.
    2 X: `9 y8 H. E$ f: l
  659. ; http://php.net/post-max-size# i& \/ p& `* \2 O9 {+ S
  660. post_max_size = 50M
    & I# Z+ |4 s* G3 z7 t' B

  661. ' e- ?9 v2 O! ?7 C9 e* v
  662. ; Automatically add files before PHP document.
    ( v0 C# _& t, O# F$ s' D+ T
  663. ; http://php.net/auto-prepend-file& o* c% @# H1 K/ a2 J1 o1 z/ p
  664. auto_prepend_file =# N- ~9 ]! \" v3 f8 ?2 F

  665. ( ?6 i# J& `  Q# r
  666. ; Automatically add files after PHP document.9 @* |! s$ e: P2 p
  667. ; http://php.net/auto-append-file
      C+ |5 u3 \1 k
  668. auto_append_file =: u% k# m% u8 q% B
  669. . d- F. g6 G5 k* g; ~
  670. ; By default, PHP will output a media type using the Content-Type header. To  M8 L, R& F0 r7 {# E. F
  671. ; disable this, simply set it to be empty.
    + v7 Q$ ^1 l8 Z, Z
  672. ;
    # c" x2 d2 r0 X: S* \
  673. ; PHP's built-in default media type is set to text/html.
    4 h) c3 n2 @' O8 A" N
  674. ; http://php.net/default-mimetype  j$ A$ E. W4 z( H/ n8 w
  675. default_mimetype = "text/html". `8 C/ |0 R: u' Q

  676. ) l8 W6 f0 B) P
  677. ; PHP's default character set is set to UTF-8./ m' W6 d/ y2 a
  678. ; http://php.net/default-charset9 \, |# z0 x; l
  679. default_charset = "UTF-8"* O& l/ O  \% U0 w0 T5 p) `

  680. * r1 t" E; o9 _1 h
  681. ; PHP internal character encoding is set to empty., H& J" q2 r% e, a3 }
  682. ; If empty, default_charset is used.
    6 Y2 ~1 O$ s3 [. O( X5 @
  683. ; http://php.net/internal-encoding
    ; }% z8 `/ V& h3 l9 j
  684. ;internal_encoding =5 y- x/ G5 B$ e

  685. / G, t0 B  G6 q
  686. ; PHP input character encoding is set to empty.
    7 r: ^2 B. G" D4 k8 P
  687. ; If empty, default_charset is used.
    * m+ X1 S3 E0 C9 h2 a# G5 o8 e; a4 m
  688. ; http://php.net/input-encoding- Y! n% g1 K) @' H) }1 V7 _6 {
  689. ;input_encoding =. c/ h# g$ |2 `& e- p

  690. ) y0 B5 y6 u- t% J
  691. ; PHP output character encoding is set to empty.3 F: f6 v  l5 Q3 z% S
  692. ; If empty, default_charset is used.
    2 Q! @6 I. n5 j# C
  693. ; See also output_buffer.
    & \& \5 X; R- ]
  694. ; http://php.net/output-encoding& B1 C* Z/ l( g' b1 S& E
  695. ;output_encoding =& Q) X- c) Y7 |$ o; }' R

  696. 7 d; l3 Q+ ?" q; n6 N- X" ^- N
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is2 J! |/ j; y/ Y* f' i7 W3 }
  698. ; to disable this feature and it will be removed in a future version.
    ! Y: P+ \8 O8 O+ Z
  699. ; If post reading is disabled through enable_post_data_reading,
    1 P- j: S/ I# m6 N$ z% T# z6 G
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    , M& ]# s' A7 o" {4 C, W, b* \, V
  701. ; http://php.net/always-populate-raw-post-data* Z8 m  M# k4 J- m! d. t
  702. ;always_populate_raw_post_data = -1
    * q  j! M% G+ A% i- s5 n$ P: ?" z

  703. % p( E6 C6 m: x7 i6 A& I  V
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 j' P( y' _1 b; y7 J) X  S7 {: R
  705. ; Paths and Directories ;$ g# S5 F0 G" i0 X
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    # i) |- Q) j* K# D
  707. * E8 Y) l5 z0 m% e7 m9 m
  708. ; UNIX: "/path1:/path2"
    ) E) ~& j! d* S' O1 F
  709. ;include_path = ".:/php/includes"
    ' k" c( h+ h9 `1 T
  710. ;
    4 j+ Y, |; p6 V5 C
  711. ; Windows: "\path1;\path2"# E$ [; S$ t1 a) f% R3 {! E" O
  712. ;include_path = ".;c:\php\includes"
    5 w3 g# U* f& c) c' d4 K" I
  713. ;5 h/ v5 H2 ^5 n" D5 [! q
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"$ E3 l! m! P) u' ?# d* U
  715. ; http://php.net/include-path5 _$ j1 X) F8 ]6 R# G. _  u6 F
  716. $ x& }% D+ _9 \$ c2 ]* W
  717. ; The root of the PHP pages, used only if nonempty.
    5 V; }5 Q3 \' z7 i' U
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root$ U+ w( |5 y. H6 B1 O) Q  O
  719. ; if you are running php as a CGI under any web server (other than IIS)! W( i8 g" h: z( B% ?# Q
  720. ; see documentation for security issues.  The alternate is to use the% b. w' _) k3 Y" |: e
  721. ; cgi.force_redirect configuration below. ], m% i6 k3 m4 X7 E) H
  722. ; http://php.net/doc-root
    / i# K7 ^5 C; s- b  q' s2 E
  723. doc_root =
    6 C/ ~6 @# ?% q. j+ }6 H

  724. " \! e* S3 V' d% {$ Y% N5 @! b
  725. ; The directory under which PHP opens the script using /~username used only
    2 y" A5 x1 X, I/ [
  726. ; if nonempty.# N& K1 U3 I* u; H: L7 q5 s3 x8 e# t
  727. ; http://php.net/user-dir
    6 K; m" j" u2 b; h: Z: T: f+ |: n
  728. user_dir =' N1 r7 \. i, C0 r1 \/ A/ V
  729. ' b/ j9 t/ V& }
  730. ; Directory in which the loadable extensions (modules) reside.3 g, L" ~8 Z" L8 E! X. I7 q5 G
  731. ; http://php.net/extension-dir& W# B+ J7 f5 m4 K, Q
  732. ; extension_dir = "./"8 J  ^' b. |; d/ p' F* j" G( Y4 K
  733. ; On windows:
    5 @7 V/ h( P5 j. M9 e# f% P. O& l! I
  734. ; extension_dir = "ext"
    7 ^) @7 \9 _. i

  735. 9 ?& s, c1 \1 g+ d7 @2 Q
  736. ; Directory where the temporary files should be placed./ l, C" I, I5 r$ M: h4 q7 K
  737. ; Defaults to the system default (see sys_get_temp_dir). W" I; d0 U% o5 c; u
  738. ; sys_temp_dir = "/tmp"6 Y; S, p3 G  o( _. Q
  739. 5 |- x" o, h. Z
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    8 S+ G/ B$ r0 t; J/ Z" K2 u
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically9 y: }" g3 d& `) p7 y
  742. ; disabled on them.+ Q5 d( k% y) T  j/ D- E
  743. ; http://php.net/enable-dl2 s9 _) g: v- \4 t5 Y
  744. enable_dl = Off
    4 j. x6 N! q5 I7 T- g
  745. % s) V# y( J% f7 s& |" J" W
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ' k; {$ a+ E% J! D! T+ E
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can" C3 s) Q0 c7 l
  748. ; turn it off here AT YOUR OWN RISK) J; q& {0 a5 J  R; P8 z0 `
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    . j" A" ^! c2 X0 o- o- y2 W
  750. ; http://php.net/cgi.force-redirect0 j% Y# X6 a5 [/ [" W6 ?3 F0 A( j
  751. ;cgi.force_redirect = 1
    0 L" U8 S1 t) \2 a3 o! R

  752. 7 H1 p/ \% Q& W. x% [
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    5 G" Z; M9 f# t, U) p( ]$ T3 R
  754. ; every request. PHP's default behavior is to disable this feature.% U( J1 m. G6 ^% \6 @/ o
  755. ;cgi.nph = 1) b0 b, h; f3 w% ~* K2 e: ?1 Q
  756. 7 ~# E' X  G: Z
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    $ @* }$ H9 ?% b$ B
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    & q" O& w! i9 E, o: U; w
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY3 x" Z" w7 }8 P; T" x
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    4 h( q0 d7 q7 L% H- ?
  761. ; http://php.net/cgi.redirect-status-env5 \7 ^  ~4 o* p" d
  762. ;cgi.redirect_status_env =
    4 p9 O0 d; ~8 E

  763. ; b) U7 v3 E  z  s
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    2 P7 w" T0 [3 o8 O8 x& r( x
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ( k: ~9 [: v) D) _
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    5 M- e" P7 E0 @, u: z* j3 v
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ( x+ ?: D; X! F7 v4 d  d9 ^( c* L
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    6 ]/ M+ l( q) v4 P% ]5 C
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.% i6 W* k+ H4 E3 C: x9 m1 s
  770. ; http://php.net/cgi.fix-pathinfo: A* o, K. L: V" q
  771. cgi.fix_pathinfo=1; W- U$ }$ r% O; Y3 p/ u

  772. - A. p* X. ^9 M9 ~% Q: U
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside* p, A' M# p) f8 B; G
  774. ; of the web tree and people will not be able to circumvent .htaccess security.! K  V- J6 N) H. G# M4 g* c
  775. ; http://php.net/cgi.dicard-path
    2 e9 B4 R7 z6 `& `7 C+ k
  776. ;cgi.discard_path=1" l1 k2 s4 S6 W$ R% L1 ~. b5 h4 Y' J) R
  777. - D" h! Y* H% H/ \* Q/ m0 z5 b
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate- S  V. v5 ^2 S
  779. ; security tokens of the calling client.  This allows IIS to define the
    $ ]8 l* o. d1 |1 G0 [
  780. ; security context that the request runs under.  mod_fastcgi under Apache. c. s, F! f" x" l6 A; c' R
  781. ; does not currently support this feature (03/17/2002)
    : v  Q  P1 L& h! K
  782. ; Set to 1 if running under IIS.  Default is zero.
    . ?# [# {+ N4 d7 t5 e" d
  783. ; http://php.net/fastcgi.impersonate
    ; i. V8 H/ U0 a& k6 j$ @
  784. ;fastcgi.impersonate = 17 r; n1 F& Y4 w3 R# h/ B! V$ s- a! q2 Q

  785. 6 @- r2 D0 K: `: Z- p
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable- }2 c" r: \# E4 _- M
  787. ; this feature.
    1 ]3 r: D4 s$ ~- p9 h/ C
  788. ;fastcgi.logging = 02 o1 |. w- j4 ?- z
  789. ! \! j) n7 r5 C# l; D
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ; a$ p! F  l) Q5 R
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that1 i9 x' O7 p& u
  792. ; is supported by Apache. When this option is set to 1, PHP will send; o9 i) X9 _; W6 H( C6 g- W
  793. ; RFC2616 compliant header.
    " j1 |5 ~  S9 U' L
  794. ; Default is zero.  a! G! c& [- y: {9 k
  795. ; http://php.net/cgi.rfc2616-headers! c- @) \, R- _
  796. ;cgi.rfc2616_headers = 0. n" v1 G) }3 c" _$ _4 N# s' }
  797. 4 ~9 T. Z% d+ \  X5 v
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    " y" ^4 \4 y/ F$ @+ H( V5 g, N( s
  799. ; (shebang) at the top of the running script. This line might be needed if the1 l" Z& }  c$ g: Q& N
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    8 R+ w  q% `4 d$ n" S4 B- c
  801. ; mode skips this line and ignores its content if this directive is turned on.
    , z/ Q# [4 e+ i  e" t6 E
  802. ; http://php.net/cgi.check-shebang-line
    ) C9 S/ H! N/ P- T
  803. ;cgi.check_shebang_line=1
    9 n) f0 `  J" T! X5 Z0 l

  804. 8 s# K5 ~3 s( c$ t- f
  805. ;;;;;;;;;;;;;;;;+ E0 T$ }6 c+ P0 b2 W5 J4 Y
  806. ; File Uploads ;+ W# w/ w8 k" s: ~& p' [0 h: q
  807. ;;;;;;;;;;;;;;;;
    8 j7 X1 |2 a1 B; O3 Z2 ^

  808. % V! e7 T" N8 ~# C& B; z2 Z) Q
  809. ; Whether to allow HTTP file uploads." a/ W0 x% Y6 \6 M
  810. ; http://php.net/file-uploads7 v9 ~/ \) x: a' d0 X4 l7 ]; ^
  811. file_uploads = On% R3 n* T4 Y' Y% G& \' h3 n
  812. & n" J3 ^0 I# E) ?4 @  S
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    & J5 s/ h- V3 k4 j+ h' r$ l% f: i
  814. ; specified).
    # }$ m: |# O: m, z( s9 n7 Q3 ?
  815. ; http://php.net/upload-tmp-dir
    2 d6 O5 G0 ]  z/ d1 Y! i1 h7 ?
  816. ;upload_tmp_dir =+ R  h7 E- G( D, [8 H) n$ y4 B! P" n

  817. / q6 N8 ]! ~" j" S1 R& ?( A
  818. ; Maximum allowed size for uploaded files.
    6 n0 ~4 `; b* d. Y
  819. ; http://php.net/upload-max-filesize0 X1 G4 `" o: p# R& J' h
  820. upload_max_filesize = 50M' Z8 N6 H6 k6 j0 ?5 e) |
  821. 9 k4 f! u6 P/ @4 x9 q0 B
  822. ; Maximum number of files that can be uploaded via a single request
    , I1 b+ @6 }% o$ K4 k' }( P
  823. max_file_uploads = 207 d) r: q# a$ I

  824. * N& n1 _# @+ S: N
  825. ;;;;;;;;;;;;;;;;;;- g, q5 M7 U4 |" ?7 \8 m& C2 k
  826. ; Fopen wrappers ;
    ( d) d/ N. [3 A, c( `
  827. ;;;;;;;;;;;;;;;;;;0 W4 ~9 e" k- ?# x/ ~4 q( y

  828. 0 n0 Q, b& \$ E; D/ m- c! V9 @
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ' l- x1 E! S" N" Q
  830. ; http://php.net/allow-url-fopen
    1 Y, y5 D# U: q- d5 p
  831. allow_url_fopen = On$ m& `7 t$ U* Y  A. V

  832. ) S7 f% L, Z! f, K* |9 w9 ?
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.& J$ R% |. |6 V: s2 N+ @* H' ?. j
  834. ; http://php.net/allow-url-include# G; p) ~; w) Q* U  y
  835. allow_url_include = Off
    / @7 S! Q8 S" G
  836. / l1 y7 h; d* k7 H. ~$ g3 r
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    # A/ B6 ]" p# A, O- J0 M
  838. ; for this is empty.
    $ P5 }2 T7 @) V: }2 i# |1 }9 ]
  839. ; http://php.net/from/ O8 x5 Q" j: c! I. [! t$ z
  840. ;from="john@doe.com"
    ( i. K  [2 ^3 v2 _3 L

  841. . P, N: y& `8 o: ^* \* ~
  842. ; Define the User-Agent string. PHP's default setting for this is empty.* x+ R3 l- R, T, w# @$ T2 f/ Q+ J
  843. ; http://php.net/user-agent
    ) x) Z* z7 U4 @6 t: ~$ a, e# z( g
  844. ;user_agent="PHP"$ {( s+ N, g. c7 s, }5 R: w
  845. ( g: ?3 C' D9 @7 w$ C
  846. ; Default timeout for socket based streams (seconds): ?& D, F8 Y6 C' e: |9 S/ u+ u" r
  847. ; http://php.net/default-socket-timeout! n% z$ S/ j+ |
  848. default_socket_timeout = 60+ F, t3 H. X+ {& F
  849. ( N& i8 U% F- P3 L; Q( j
  850. ; If your scripts have to deal with files from Macintosh systems,
    , x  i; `# A0 g" B+ w. G
  851. ; or you are running on a Mac and need to deal with files from! F5 \0 U) U3 ~- d& v  d  o
  852. ; unix or win32 systems, setting this flag will cause PHP to
    + z+ z/ Y) \2 d+ `5 U
  853. ; automatically detect the EOL character in those files so that' l, P8 k! R! D
  854. ; fgets() and file() will work regardless of the source of the file.3 [- ^1 _! F  O' n  f5 ]3 R
  855. ; http://php.net/auto-detect-line-endings
    - C9 ~0 d0 R" |: K' \4 |. H- S2 |* d; W
  856. ;auto_detect_line_endings = Off8 w- x( ~3 }9 ]6 O: K- q! l
  857. / E2 N. O$ Y% k# v+ T6 Z' \
  858. ;;;;;;;;;;;;;;;;;;;;;;. S6 _6 M$ q/ t! I
  859. ; Dynamic Extensions ;1 z! j+ M0 ?8 L
  860. ;;;;;;;;;;;;;;;;;;;;;;
    4 d! i+ i3 E# ]. s* `
  861. : L; V! E( c& N; f
  862. ; If you wish to have an extension loaded automatically, use the following2 x! y, X% m* L+ I% T
  863. ; syntax:; R% M7 v. e  r
  864. ;
    & U( x! s1 P9 ]: \! G
  865. ;   extension=modulename.extension2 J# T1 _0 i/ F. e4 O/ v6 O
  866. ;1 ?& w! p& B5 o4 W3 ^' V
  867. ; For example, on Windows:
    ( @1 G3 A( _7 o" J! I/ T
  868. ;
    % D$ b/ t- F, n6 B0 r" K4 y8 S6 s* W
  869. ;   extension=msql.dll
    % R- W! I- |) Q  [0 |: J9 T& E+ f
  870. ;' i& t& O7 b9 A4 h, B' o
  871. ; ... or under UNIX:
    ) ~  V4 n2 y$ m: _" L$ d* Q
  872. ;
    - E% \3 ?! Z* K. G. m( D
  873. ;   extension=msql.so4 d$ X$ C, e3 n5 q
  874. ;
    & G% l7 P- k- `, c) O$ w
  875. ; ... or with a path:" \' K5 c7 u/ B4 Q
  876. ;
    : S- q! u! [! k; {
  877. ;   extension=/path/to/extension/msql.so
    2 d/ ], W: ^1 B
  878. ;; @4 g" ]( d3 P3 S
  879. ; If you only provide the name of the extension, PHP will look for it in its
    1 b3 f9 q" H) n: Y
  880. ; default extension directory.
    ! s3 e6 j9 E: z6 d6 G6 @9 V
  881. ;; V: \1 e+ y: c0 N4 ?
  882. ; Windows Extensions6 N# O) _; H3 w" Y/ K0 |
  883. ; Note that ODBC support is built in, so no dll is needed for it.+ @8 W1 Z: }, [: Z" N
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    ' i8 u0 ?; |0 {$ n8 k4 C+ Z7 n4 U( v
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).9 G6 H9 Q; {9 j7 t3 y$ i
  886. ; Be sure to appropriately set the extension_dir directive.
    : S8 ~; y# y9 w1 t! v2 z/ y* X: o
  887. ;7 `/ ?# p+ S2 J, @( \
  888. ;extension=php_bz2.dll2 G1 T6 \5 c& t  \, y
  889. ;extension=php_curl.dll! T+ N# P8 j& ?( \. t! w! r7 V1 m3 b. I
  890. ;extension=php_fileinfo.dll& c$ b6 C3 M  G7 o) Y
  891. ;extension=php_gd2.dll0 R: o7 X; F0 R/ H
  892. ;extension=php_gettext.dll
    ; Z, q) J! b" K7 r; f1 K1 _6 e6 V
  893. ;extension=php_gmp.dll
    5 N( ~9 Q; ~3 N, R
  894. ;extension=php_intl.dll
    * {0 g8 M! Z3 L. d) i  B" W
  895. ;extension=php_imap.dll
    5 a0 K- t6 l0 ]% B) u2 |* V! t
  896. ;extension=php_interbase.dll
    6 |. Z% x, M. K' a* ?& H
  897. ;extension=php_ldap.dll
    " B5 q4 k7 l  @/ `9 v. p  n
  898. ;extension=php_mbstring.dll
    " Q" J7 Z2 b& }
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it4 r6 j1 F: H( Y6 n. |$ R
  900. ;extension=php_mysql.dll+ ^) W: Z& R& }: ^
  901. ;extension=php_mysqli.dll& G+ g* `1 g% u% u. Y
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    * e, e1 u! G  ~4 _) B2 b6 }/ f. E
  903. ;extension=php_openssl.dll
    7 i% t# F" ]5 U9 F2 A/ e  k3 b. t
  904. ;extension=php_pdo_firebird.dll4 Y) J2 N4 h* t! b% ?
  905. ;extension=php_pdo_mysql.dll% @8 G4 z# s' H) c5 H
  906. ;extension=php_pdo_oci.dll
    & Z! g8 z1 i% e( a( U
  907. ;extension=php_pdo_odbc.dll
    / k$ F/ g# y8 M5 {  L4 J
  908. ;extension=php_pdo_pgsql.dll
    ' v. P/ c* [* s1 k/ r6 X
  909. ;extension=php_pdo_sqlite.dll7 ~$ l& Z* |! l9 f6 ~. @2 C
  910. ;extension=php_pgsql.dll9 Y0 y0 {6 A+ e$ @6 f. v
  911. ;extension=php_shmop.dll) h8 v- I% A4 x0 v. A) j# b$ j

  912. 9 m3 ?2 H! F: p$ G6 h4 B
  913. ; The MIBS data available in the PHP distribution must be installed. 9 K0 a6 G& T- ^3 V% c
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    + t' u# @5 a6 z6 U
  915. ;extension=php_snmp.dll4 z/ m: ~" G0 z9 {( w+ P2 p

  916. / s7 r5 S& T! _' e( a5 P; y, Y/ _3 \1 Y. J
  917. ;extension=php_soap.dll
    : V2 \1 f" n  i( G( I
  918. ;extension=php_sockets.dll4 b4 M! W2 g) J" J, V
  919. ;extension=php_sqlite3.dll. {8 }$ v. ^3 D3 e( d
  920. ;extension=php_sybase_ct.dll
    ' o* l! F- A& h" {
  921. ;extension=php_tidy.dll
    " D, @3 z3 o7 o' s  e: o+ Z
  922. ;extension=php_xmlrpc.dll8 E/ c. e  `& T% [
  923. ;extension=php_xsl.dll
    : V9 ]. @, z- F/ {# k) i" b
  924. " ?/ u$ U* b2 o: ]/ b
  925. ;;;;;;;;;;;;;;;;;;;% @8 k  ^% \+ R$ M  x9 b/ }/ Y$ v
  926. ; Module Settings ;; T) Q6 {4 D5 @# J6 b* E6 ], C9 s
  927. ;;;;;;;;;;;;;;;;;;;! @1 q) h6 j9 p3 F. ]; C! q
  928. 3 L7 ^4 ?, c3 s1 T: |2 ?" g. ?" f$ W
  929. [CLI Server]' F1 f+ r4 h  Q9 S- g! t( Y$ M
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ! f/ k( u9 Z( G# x# H& d
  931. cli_server.color = On
    - o) W, h& M/ q$ e

  932. ( M0 M, Y" I" e( ?) r' `
  933. [Date]
    " ]1 Y1 {! `+ [/ P
  934. ; Defines the default timezone used by the date functions+ l9 W# u4 ^7 Q/ m
  935. ; http://php.net/date.timezone
    . K7 z) Y7 G) W1 H4 S4 Q* D
  936. date.timezone = PRC
    / K2 k& M  w4 z& ~( ?" N! ]
  937. * V2 t- P, a$ L% k7 L
  938. ; http://php.net/date.default-latitude
    / ~2 E4 Y, p! e$ ]9 z# `
  939. ;date.default_latitude = 31.7667
    1 V( M1 H) b6 X2 ~4 k, |

  940. % c+ S+ W6 R$ i% ^; C3 s* k
  941. ; http://php.net/date.default-longitude/ ]9 X; o0 |, ]/ o: x3 W. F
  942. ;date.default_longitude = 35.2333
    7 ~9 |9 ]  _: V) D9 T- j

  943. + c4 T4 S' b" @$ Z( u3 y
  944. ; http://php.net/date.sunrise-zenith
    * f4 x9 z6 |% \8 x: Z# D7 C
  945. ;date.sunrise_zenith = 90.583333
    $ L" y$ x6 x6 h

  946. , m; h$ O7 V! S5 f" Q: s7 K+ j2 g" n
  947. ; http://php.net/date.sunset-zenith; y) p7 }4 ^( ]: v
  948. ;date.sunset_zenith = 90.5833334 j" U9 ~! J7 ^& {3 H& p4 q: C
  949. ; e( o; Y8 ]4 i9 Y$ t2 C! n
  950. [filter]
    * `! C$ |- n2 k$ Z$ S+ x
  951. ; http://php.net/filter.default8 @6 x  q# f& V5 Q
  952. ;filter.default = unsafe_raw
    4 u9 V3 [- ~+ m+ v3 X
  953. / W: \; ^. Z3 |0 m' F; t0 j) l
  954. ; http://php.net/filter.default-flags1 T' I" ~: t" k
  955. ;filter.default_flags =4 d* i# }& I( t! L
  956. 6 H$ r# l# J0 ^' o
  957. [iconv]/ L2 w- [7 d# G6 I- G) R
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.: F; }% `' P2 I* c, {
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.. l7 Q: o: A1 M) g: g( }2 q# E1 l
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding+ v  S2 v! u* O' P  R$ N1 e* z" X
  961. ;iconv.input_encoding =" q$ X- H, @: m. T9 g' j7 f. V
  962. * v: w# J- y' e6 S
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.- }" T+ h6 _" d* j, Z* Q
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.3 j7 v6 [1 s' J9 v
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    % K6 T# k8 _/ p  R/ g1 d5 a
  966. ;iconv.internal_encoding =' @) C) T' R- K: o

  967. ! Y  n1 H$ n2 W( |/ ^, J
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ' L. f( ?' @6 e$ T8 [& [
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ! z  T* o$ M  N4 E, G0 P0 o! D
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding* `. e/ Z% P1 V1 x3 w3 v& ]$ z
  971. ; To use an output encoding conversion, iconv's output handler must be set
    ) }5 l- R+ {8 `5 K( |
  972. ; otherwise output encoding conversion cannot be performed.
    ; Q  E) w$ C1 o
  973. ;iconv.output_encoding =
    " A1 n0 J) N6 [" [; e
  974. 4 _9 L4 M! N  v( ~
  975. [intl]/ w7 K9 @& d) w4 J. \6 `& }
  976. ;intl.default_locale =
    # U0 h9 W( @0 M3 P% E4 X
  977. ; This directive allows you to produce PHP errors when some error. s: U: y8 s* R& I8 B
  978. ; happens within intl functions. The value is the level of the error produced.& A* [: U9 S4 _1 q! v- Y" |9 e
  979. ; Default is 0, which does not produce any errors.8 R5 ~6 \4 ^* U4 Y) C  z; B6 M, F
  980. ;intl.error_level = E_WARNING8 @' z9 Q4 T1 q2 g
  981. ;intl.use_exceptions = 0) n7 V9 c: |! |8 A" ~

  982. ; d8 K8 n7 w, y  s' p7 R1 n% S
  983. [sqlite3]$ \  H) v$ m5 _  A
  984. ;sqlite3.extension_dir =
    , X! @5 I  ~; q+ j: _. ?
  985.   H/ E- M  l! _, S0 R* K* k
  986. [Pcre]
    5 d; u  G% U8 b( k) j* j1 ?
  987. ;PCRE library backtracking limit.
    * s* w& A  N& v4 w
  988. ; http://php.net/pcre.backtrack-limit
    " o9 f. o4 d* y" Z+ w( P
  989. ;pcre.backtrack_limit=100000. L; i5 k7 C$ h6 `. W
  990. % o% L7 F/ k6 P! @
  991. ;PCRE library recursion limit.
    * R* }9 p& w/ B( s# r1 G  Q+ \5 j
  992. ;Please note that if you set this value to a high number you may consume all0 v4 k( T  Y. v' J
  993. ;the available process stack and eventually crash PHP (due to reaching the
    " q- o" A. a; q4 X7 r6 w. U' y  X
  994. ;stack size limit imposed by the Operating System).
    + K; k5 k" c  t4 [
  995. ; http://php.net/pcre.recursion-limit
    8 _7 y3 I$ g( X8 Q
  996. ;pcre.recursion_limit=100000; N4 S& B* G& N7 p3 q6 q* J, ^. }

  997. ; q. h5 W. V) I$ ^. E7 b
  998. [Pdo]5 b$ m4 Z) u9 `( s1 `
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ; x9 h/ f: ]& G3 K2 A! i1 M% Q3 C
  1000. ; http://php.net/pdo-odbc.connection-pooling
    % H# O( S! u2 b0 O( @9 N7 c
  1001. ;pdo_odbc.connection_pooling=strict
    0 Q( c+ K2 d! h$ h0 w

  1002. $ F3 ^. z! ~! {2 M: j, ^- t
  1003. ;pdo_odbc.db2_instance_name
    # }- Y+ i* J' D8 Z: {

  1004. % D& r+ S& s) L2 u1 Y
  1005. [Pdo_mysql]
    ! b, @' a' a0 {  `3 H
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache0 f( C! l% B* h& l1 y. m6 W
  1007. ; http://php.net/pdo_mysql.cache_size1 D2 t, S) O' X4 e' I8 t8 [
  1008. pdo_mysql.cache_size = 2000
    1 \8 n1 V2 A2 I

  1009. 0 ~2 m: ?# }/ S  }: j
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in' _: z6 W! s8 J% v+ r' i0 E
  1011. ; MySQL defaults.
    ! ^. e; @! a+ D. S' ?. L( i
  1012. ; http://php.net/pdo_mysql.default-socket9 z7 t$ h3 `& n
  1013. pdo_mysql.default_socket=# K4 H+ V1 v' R% x2 m) f- x
  1014. - ~9 e0 u2 h3 Y9 u* v2 X
  1015. [Phar]
    * y9 E9 ?; G! K$ q
  1016. ; http://php.net/phar.readonly  A  t7 F( _/ Y
  1017. ;phar.readonly = On
    $ ]6 l7 @! z& z  A+ H
  1018. : ~6 z, L) w' o7 o
  1019. ; http://php.net/phar.require-hash
    6 }- @- b4 Y9 s; U! I/ M& z; t2 D0 U
  1020. ;phar.require_hash = On+ J0 E4 T1 T9 W8 \, ?

  1021. & i7 s  ^9 N* W/ A+ b; ]
  1022. ;phar.cache_list =
    ! N9 ^9 L8 W! c* Q$ Y
  1023.   ]2 v+ K6 C3 c! i& ?8 E8 i( Q
  1024. [mail function]" z1 L7 Q; d9 m, ~$ b7 \! I
  1025. ; For Win32 only.
    * V" C+ c' M, o7 g4 I8 S- X) f* i5 _
  1026. ; http://php.net/smtp4 ]) m* t- t# @2 a1 y
  1027. SMTP = localhost5 I1 L+ i. \/ r+ p% x  Z! j+ f+ r
  1028. ; http://php.net/smtp-port
    ! o5 F3 P6 n  `9 z! M3 m
  1029. smtp_port = 25( _- i/ s9 a# `4 d4 a  t

  1030. 0 c' g  o. D6 k3 p: y! \/ U4 a" \
  1031. ; For Win32 only.! I( E/ X# E& }. G3 E
  1032. ; http://php.net/sendmail-from
    ; M* n* i: N  k+ E
  1033. ;sendmail_from = me@example.com
    ' u( Z0 H; a0 `; q6 L2 I3 e! e& K

  1034. : U4 a8 X' Z2 T! a, N
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    6 |5 P/ M  _# h) a$ b9 Y. E( x6 X
  1036. ; http://php.net/sendmail-path
    & L- e: q/ T: ?4 ?- Z. o8 l" q
  1037. sendmail_path = /usr/sbin/sendmail -t -i3 G2 s0 X4 _4 M' i# |: ]( }- u

  1038. & s' B4 Q* M3 J& H5 z+ }4 |
  1039. ; Force the addition of the specified parameters to be passed as extra parameters; r+ ?+ E( m6 _' T4 s
  1040. ; to the sendmail binary. These parameters will always replace the value of. @8 x0 X9 g0 v: ^
  1041. ; the 5th parameter to mail().
    ) p5 c' u1 h% [6 \$ }: E
  1042. ;mail.force_extra_parameters =
    9 p$ p8 |7 K2 k; F
  1043. 6 S1 ?" n6 E+ [. v# Y
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename5 ]2 E. s! L" h. h, r* j! f4 N
  1045. mail.add_x_header = On7 B  T  g8 g# y  w7 s/ w: W% P, U

  1046. 5 Y$ r2 D0 S- {6 D
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    % P4 C- b: P9 J- B: t. [  r
  1048. ; the full path of the script, line number, To address and headers.
      b4 m. N/ f8 b
  1049. ;mail.log =- Q; B) }9 K1 I! P2 g
  1050. ; Log mail to syslog (Event Log on Windows).! D; p$ w5 i2 r
  1051. ;mail.log = syslog
    1 k9 G9 l2 V& ]7 X" d% n

  1052. 2 r- F5 _% I1 [8 T$ G4 n
  1053. [SQL]
    3 v4 w+ x5 f5 A1 [2 q
  1054. ; http://php.net/sql.safe-mode
    8 z; ]. R/ V: X  n; e( h; C) M4 l5 N3 o3 |
  1055. sql.safe_mode = Off
    : B6 z) S. p) |" Y& _8 L  q
  1056. : C- |+ V7 A6 ]+ z2 x, v- @6 ^( \
  1057. [ODBC]' X3 |& ~& X  @, s2 K) y: \0 f! O; M
  1058. ; http://php.net/odbc.default-db
    ) y4 [$ J  G7 n" B1 W, x
  1059. ;odbc.default_db    =  Not yet implemented& L  w3 {& R4 d7 w6 {! \! A
  1060. 7 _2 f2 @0 T# t" d3 D" K
  1061. ; http://php.net/odbc.default-user
    9 Z. y* {7 @) a3 k
  1062. ;odbc.default_user  =  Not yet implemented
    , F+ ]0 W6 y$ B% h; `" S; d; d

  1063.   y8 Y! _/ M4 W  `
  1064. ; http://php.net/odbc.default-pw
    ! A4 [9 V3 L1 ?! c9 y' u5 p3 n
  1065. ;odbc.default_pw    =  Not yet implemented$ n- {2 o0 l: V8 D! v
  1066. , [5 F- {4 }6 W+ `; |3 M
  1067. ; Controls the ODBC cursor model.' K3 m1 ~2 E. p! c* O/ z
  1068. ; Default: SQL_CURSOR_STATIC (default).8 J! L( P; n+ w
  1069. ;odbc.default_cursortype
    5 i/ s" @; p. S5 ]
  1070. 2 @. Z. x7 M  U: o% b) A
  1071. ; Allow or prevent persistent links.
    2 s* U4 [- `$ n% f( ^2 N; X( k
  1072. ; http://php.net/odbc.allow-persistent
    4 {, Z1 f, I# {& c7 S& d; i
  1073. odbc.allow_persistent = On- v# s( Z! {* F

  1074. ; Y( U$ U+ _8 n5 k' D: |
  1075. ; Check that a connection is still valid before reuse.
    " k: A2 e# H" O3 ~- l1 Q( N+ X8 t
  1076. ; http://php.net/odbc.check-persistent! P& g+ l6 U' }* ^
  1077. odbc.check_persistent = On+ U, H2 `, m6 r

  1078. / Q% s$ o' B, t" j6 x) J  ?
  1079. ; Maximum number of persistent links.  -1 means no limit.* c6 I' @1 D5 q. L6 v
  1080. ; http://php.net/odbc.max-persistent4 ]2 N7 ?; _2 V! ?+ D; B
  1081. odbc.max_persistent = -1
    , y4 A0 G( p' i5 h: {

  1082. 5 t9 ~& W9 X. f! u% ^
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ j% F9 [7 b- W3 V: S! s$ {, c. @
  1084. ; http://php.net/odbc.max-links/ i4 j( Q/ X) }5 h  S6 g
  1085. odbc.max_links = -1
    ; Z$ U7 N/ k- N3 s3 y$ R

  1086. 2 |- J3 |$ l+ t
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    6 C7 x, v* S& M
  1088. ; passthru.
    % ^1 W# I$ h8 c, y/ K
  1089. ; http://php.net/odbc.defaultlrl
    * ^6 T  d. U) B8 G
  1090. odbc.defaultlrl = 4096. ]+ X$ _2 Y0 ~- J
  1091. - L6 ], F+ ?3 {8 y3 L' I
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    $ V+ d( F6 }8 D0 p
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ! R* ]% q+ W" _: X/ \
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode9 f9 G1 j, X4 ?" ]+ u3 N& R
  1095. ; http://php.net/odbc.defaultbinmode" M! o/ C, L* f8 z- C
  1096. odbc.defaultbinmode = 18 ?/ C2 K$ e( ~. Q- |" s
  1097. % u: w& v; [5 M- g- \# U1 ]
  1098. ;birdstep.max_links = -1- U$ G3 N9 M' E

  1099. 1 ]6 ?  O9 n3 `0 j
  1100. [Interbase]2 u6 t, v7 ?0 y; J  `% ]- u
  1101. ; Allow or prevent persistent links.
    $ K! I" R# v- B4 t( b
  1102. ibase.allow_persistent = 1+ L, g/ n% O- `; q! C

  1103. " v. j9 o8 u0 A% x. `
  1104. ; Maximum number of persistent links.  -1 means no limit.
      _6 }- T0 |- l( z
  1105. ibase.max_persistent = -1
      T; h! E& Q6 g" `

  1106. + P. F* E& y. o/ z$ N9 w+ O
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! P% z! \* |& K4 i
  1108. ibase.max_links = -1! a- ~+ J! o' g1 ?& e2 _+ m9 D
  1109. % [6 r% R' x) W7 E5 _! `
  1110. ; Default database name for ibase_connect().
    , Z3 R: u5 D7 J3 _. e9 z" e
  1111. ;ibase.default_db =* w8 M2 c* V! @4 g4 g% J( r
  1112. 9 W& n: v! b3 o
  1113. ; Default username for ibase_connect().
    0 K6 p7 [$ \9 N8 P
  1114. ;ibase.default_user =
    . A0 R& D* ^3 U
  1115. 2 |$ B6 q% T+ _5 w
  1116. ; Default password for ibase_connect().
    % H! v7 F' n. _% a( @
  1117. ;ibase.default_password =7 w0 u0 d+ d1 [) r, [& f* W

  1118. 6 ?% `/ u) I2 e% G  X
  1119. ; Default charset for ibase_connect().! ^8 r; z$ R3 y8 y5 n# J
  1120. ;ibase.default_charset =
    7 m/ S  f( M: W! ~8 l: \5 V& ?
  1121. 3 x$ h& Y$ T9 K. W
  1122. ; Default timestamp format.
    % [4 `+ d0 A$ |
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"7 Q3 f" I+ c, @+ ?2 h6 i

  1124. : u" Q' C& D/ Z8 I+ ^
  1125. ; Default date format.
    6 A" I7 O: d2 U/ c7 i
  1126. ibase.dateformat = "%Y-%m-%d"4 s3 ^8 `5 h! ^2 Z+ Y
  1127. 1 o6 }* T" E) b. a  L: f0 U& |
  1128. ; Default time format.
    ! o% ?# D8 d0 [. D  M* ]
  1129. ibase.timeformat = "%H:%M:%S"
    - k) l1 p$ ^9 m& V0 o3 U
  1130. + B% {5 i7 C# R! x( @
  1131. [MySQL]* l$ P0 U; L- Q4 T1 G" k" X; |9 {
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements4 _1 R# A7 w" @5 x6 Z
  1133. ; http://php.net/mysql.allow_local_infile
    & ]# Z# r1 ]# R! z, U/ |; m* q- ~
  1134. mysql.allow_local_infile = On
    4 k5 P' q% R+ O# J- `
  1135. $ G' Q# h6 Z' n8 \/ o
  1136. ; Allow or prevent persistent links.! `% X' V9 W1 P+ y) c, b* ~( ?; i
  1137. ; http://php.net/mysql.allow-persistent
    8 U& a1 U: X2 c& f% E
  1138. mysql.allow_persistent = On
    & v6 N  r" Y) ]3 Q" N1 c/ S2 y1 ?

  1139. % q% B' I$ t: N5 p/ D
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    9 F& F2 V1 Q% v9 z7 n% a0 K
  1141. ; http://php.net/mysql.cache_size) D4 I4 l9 d8 {+ q7 I' n( z
  1142. mysql.cache_size = 2000
      R! Z: o6 r8 @7 L7 h0 e

  1143. $ I( g8 c  Y, j2 ?8 G
  1144. ; Maximum number of persistent links.  -1 means no limit.7 H, S  e" f. k. A/ T( W- |
  1145. ; http://php.net/mysql.max-persistent
    1 C! B' T* t6 B; Z# h1 }# _! v
  1146. mysql.max_persistent = -1  K) m6 ^" L, p1 V1 U, B
  1147. : l" e, D# A% `7 c, V" \8 u
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: z" l0 V* a2 O9 ]# P4 X( z: e. Z
  1149. ; http://php.net/mysql.max-links& l$ o* {# ^3 v( t+ ^
  1150. mysql.max_links = -1
    4 E9 ~3 h% p6 O( K  t! y$ G

  1151. # I, {+ c  H  @- }
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    $ E/ ?5 {: {: Y- Z% T* [& u1 i/ K
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the" _7 K* K: E+ C+ p6 v2 ?: N- G
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look7 L) S1 I2 e' V4 \1 U, R6 o
  1155. ; at MYSQL_PORT.
    % V# E$ p7 C$ u" R/ f5 m4 e
  1156. ; http://php.net/mysql.default-port
    0 k4 |: [4 h6 v& K! m8 B# p
  1157. mysql.default_port =
    * r* ~0 ?( N' l9 u" l# w1 T

  1158. . Y" g& j/ n2 R7 v& P2 A5 G" @% q! y
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    8 J$ B) g' C9 ~1 M  w9 c
  1160. ; MySQL defaults.
    : z: L) o6 G( `- c
  1161. ; http://php.net/mysql.default-socket9 W8 N' ^, m3 k& ?! i& e6 X  @1 `
  1162. mysql.default_socket =
    0 @$ s% [# B! b% y; F* E4 Z+ O

  1163. ) v/ g8 X2 `- W6 |5 L+ }* Y
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    9 H1 `8 b: S% X
  1165. ; http://php.net/mysql.default-host
    # L2 h# _/ P) b+ f2 X; w
  1166. mysql.default_host =: V( D2 Y' u5 |' H1 g

  1167. 6 i" o6 C! h( |: i
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    3 U7 R  ~3 m% V6 h; R
  1169. ; http://php.net/mysql.default-user8 [* w! o. x1 Y
  1170. mysql.default_user =
    7 I7 Q7 K- H- c! I6 m
  1171.   W  C0 O6 t, {" ^- V  M. s% \
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    ! X6 v6 s2 m* q) f4 j
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.0 D$ H& b1 B! R+ e! f
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    5 r4 H6 a/ U. k; |* u% u
  1175. ; and reveal this password!  And of course, any users with read access to this
    ( ~, F8 J% D( w9 E" z" |6 t3 \
  1176. ; file will be able to reveal the password as well.
    ( s1 Y# L! j) d/ J" ^' W
  1177. ; http://php.net/mysql.default-password3 ?8 m1 B8 l( W1 p0 x  {6 d5 P/ ~. Q: l
  1178. mysql.default_password =' n: m, _! H% `) X# b2 I

  1179. 7 t& P- ]7 ?$ X; _4 s
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    ! ~" @) f2 I2 x% r$ i) h
  1181. ; http://php.net/mysql.connect-timeout
    & P  N2 g: O/ s# }, \) M
  1182. mysql.connect_timeout = 605 l' b# P0 G. F7 Z( @& R5 {- C

  1183. 9 {8 E/ h) ~4 u+ C
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and3 t  G! b# q/ H9 M# w
  1185. ; SQL-Errors will be displayed.
    + e# N' _+ e5 ]8 v. E
  1186. ; http://php.net/mysql.trace-mode3 r+ t. A  r4 v- G( G3 a
  1187. mysql.trace_mode = Off
    3 J3 B. i9 {' C  P

  1188.   N7 K% I$ t) E8 D% l
  1189. [MySQLi]* j. x: ~1 q  B6 T7 n7 J2 u
  1190. 3 D+ b: E! Q2 Z8 E7 I; w
  1191. ; Maximum number of persistent links.  -1 means no limit.
    0 S+ P3 h( A! C+ m% y
  1192. ; http://php.net/mysqli.max-persistent
    ) }( Q+ Z, p) v+ i- l' @* y
  1193. mysqli.max_persistent = -1, E% ]/ B# b1 B4 l) `. u8 A

  1194. 4 Q$ M1 q4 s5 N6 W; c$ b
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    0 R4 F4 G1 Z3 J3 b7 m5 O% m
  1196. ; http://php.net/mysqli.allow_local_infile: P( p5 P: b) x* o- T; \
  1197. ;mysqli.allow_local_infile = On
    , X; W9 Z. n8 w

  1198. . q5 g# J4 j" K. z$ p! {
  1199. ; Allow or prevent persistent links.! f4 @8 [" [" n: x: c
  1200. ; http://php.net/mysqli.allow-persistent
    $ x3 Z. ?; X' t$ y9 _4 b& f3 [
  1201. mysqli.allow_persistent = On
    3 l* X4 u  P. O' @: |4 o

  1202. " @$ H/ p/ W5 X' V
  1203. ; Maximum number of links.  -1 means no limit.: L8 f7 A7 ]9 W3 ]2 d: H
  1204. ; http://php.net/mysqli.max-links7 J9 f" q7 p  T, q+ \
  1205. mysqli.max_links = -1: L/ e2 `* f! P5 |
  1206. 3 Z' y6 B3 m+ M# i: G+ U: N
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache' ^) X9 M. a9 d. G5 T7 O8 ^. u4 |* H
  1208. ; http://php.net/mysqli.cache_size
    2 f9 }' a- J$ B* H
  1209. mysqli.cache_size = 2000
    & n4 @( e& `5 A

  1210. 9 m& Z: |( a" c5 V) W5 M
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use3 g2 b  i# W) ^
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the7 L+ s$ @- f3 z$ C3 G
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look1 ]! `+ [) O( d( D8 H
  1214. ; at MYSQL_PORT.  b; N$ l  ?/ q8 R3 Q) Q
  1215. ; http://php.net/mysqli.default-port
    9 ]9 _- X2 ^+ S3 c- S
  1216. mysqli.default_port = 3306
    $ }" A( t* A  _0 C

  1217. # q4 [- U( \" O- j  t
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    : x7 `- J& t4 l' }
  1219. ; MySQL defaults.
    & g$ N( U2 q- l/ |) P
  1220. ; http://php.net/mysqli.default-socket) Y7 T8 \, y; d& R1 d$ F/ }
  1221. mysqli.default_socket =1 X5 \5 P+ K2 `

  1222. 7 h- A1 G& m9 t" D1 T
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    % ^0 T: F+ K: {
  1224. ; http://php.net/mysqli.default-host
    4 D* s, \# }$ L9 H, I* J) u
  1225. mysqli.default_host =  ^/ J& H! B0 ^4 X* _0 O& A
  1226. - a9 c! s* [  I$ F2 G
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).# Y. D; S& E+ G+ K( A# q5 f
  1228. ; http://php.net/mysqli.default-user
    , [1 Y( D* F8 F4 G% m
  1229. mysqli.default_user =5 P) n9 t0 C  k$ d* T2 W4 r+ E( b

  1230. # f8 _8 C+ ^7 b3 ~4 L
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).+ }+ {( s) C' _- C- k$ o' O
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    : z, |4 v: {/ Q5 H" U  ^* v
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")3 R/ m' i% f% ^/ l" [
  1234. ; and reveal this password!  And of course, any users with read access to this' _/ b% H3 h9 a# q1 u
  1235. ; file will be able to reveal the password as well.
    ; Y7 l. j" i+ M, B+ _7 A
  1236. ; http://php.net/mysqli.default-pw
    . d, S) X* W& w3 _8 p4 r) h5 h
  1237. mysqli.default_pw =
    1 H3 Q1 C3 y) j# l# Z3 l

  1238. * R# ^: q" J0 |7 O8 Q. _
  1239. ; Allow or prevent reconnect
    * i/ B0 o$ y: q) ^
  1240. mysqli.reconnect = Off2 \" N- ^* D2 {# [. C

  1241. 2 D% X- v& m* y# a8 Q$ E3 S3 A
  1242. [mysqlnd]
    " H, J7 ~  X$ |6 G& t
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be5 |4 a& Q; |- l- h) I& I& ^
  1244. ; used to tune and monitor MySQL operations.
    6 [; L) U, X+ ^$ h* m0 S
  1245. ; http://php.net/mysqlnd.collect_statistics$ W& N7 ^6 c& H9 E
  1246. mysqlnd.collect_statistics = On0 U# e: e7 F! @4 g

  1247.   K- G- H0 C# h3 g$ ]# ~! j# e$ Y2 ]
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be0 j, ?7 A$ I: x* ~; G' }0 A
  1249. ; used to tune and monitor MySQL operations.
    % [( w  O1 V7 Y2 v- C; k  ?
  1250. ; http://php.net/mysqlnd.collect_memory_statistics9 p# E! Q6 \/ [* c
  1251. mysqlnd.collect_memory_statistics = Off
    3 f1 S) V; X/ S9 E
  1252. 4 _1 n- Q6 Y" @8 z( u
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    ( n+ Y9 v) d, ]
  1254. ; file.
    , @/ u" B5 j! D) ?
  1255. ; http://php.net/mysqlnd.debug
    1 K* Z) T5 c/ @+ ]* @
  1256. ;mysqlnd.debug =
    ' O; }9 X3 b/ ~  }3 L. T+ h
  1257. / C' q0 u7 {  k
  1258. ; Defines which queries will be logged.2 Y$ T2 F4 H0 S4 V/ B8 i: |9 f, Q
  1259. ; http://php.net/mysqlnd.log_mask
    & T- y+ x. |+ X' I% U4 J8 F+ X
  1260. ;mysqlnd.log_mask = 03 v$ ^' O  ^  }; D
  1261. $ S! S6 N  Z( ]% U, }/ M# s! J
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.2 m  `' e" u# b% Z. i
  1263. ; http://php.net/mysqlnd.mempool_default_size1 Q$ u8 E! E  V$ i
  1264. ;mysqlnd.mempool_default_size = 16000
    . i) i$ [, S0 b
  1265. ! ]2 ?" q) i% n+ I1 Q3 V
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ; d& {% @( y5 |5 @+ S
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    9 k7 v( O9 u- D/ v! s$ P
  1268. ;mysqlnd.net_cmd_buffer_size = 20481 z. m6 R+ x! y) g

  1269. 9 g! E& |; c' `& y) b2 H
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in9 o$ R- p6 a7 p( v
  1271. ; bytes.6 B. u: a2 W: g; E" r2 S% ?9 x
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    2 A2 K5 A  c: t4 u7 u5 r! }/ c' k
  1273. ;mysqlnd.net_read_buffer_size = 32768( r6 t& B9 [3 i% P0 B, r
  1274. / F' r# B  ^, u- d  L5 w8 M
  1275. ; Timeout for network requests in seconds.5 _% L6 q1 g( W( p
  1276. ; http://php.net/mysqlnd.net_read_timeout( Q; q1 d& u8 |; |
  1277. ;mysqlnd.net_read_timeout = 31536000& r+ H5 u6 |. }* W
  1278. * P; t! M9 p8 ^; l+ w8 M. c" Q
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA5 {  v+ F1 V( K' H+ d% e
  1280. ; key.
    2 ?) X; L7 @# e7 x
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    + J+ E( }0 o. T0 t" D/ l
  1282. ;mysqlnd.sha256_server_public_key =
    $ C9 N: k) @( m$ a7 H" u, k7 D1 B/ g

  1283. . {8 x0 r0 F( q: \: B% M
  1284. [OCI8]
      F+ h, Z- ~: O9 c7 ^! O; `2 S
  1285. + `% U9 i: K8 i* K: B$ _8 S( A
  1286. ; Connection: Enables privileged connections using external0 K* U3 D1 s1 U
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)) e2 X/ a" G5 z4 G7 }" i" g3 j
  1288. ; http://php.net/oci8.privileged-connect
    ! P; ]; X$ Z; i+ k4 U
  1289. ;oci8.privileged_connect = Off
    $ @" y, i4 m) f

  1290. 9 L+ P% a7 l, j' }! \  W
  1291. ; Connection: The maximum number of persistent OCI8 connections per" n8 ~0 L1 A; e5 [# _% H
  1292. ; process. Using -1 means no limit.! a8 P% d' u* q3 G& _+ q
  1293. ; http://php.net/oci8.max-persistent% y1 t$ u4 a' n7 O& X
  1294. ;oci8.max_persistent = -1
    & N0 E$ r# l# T; M
  1295. : B, z7 Y7 }) i' h# \0 l
  1296. ; Connection: The maximum number of seconds a process is allowed to& H% q1 M- q' ~8 h
  1297. ; maintain an idle persistent connection. Using -1 means idle5 i1 B$ G# y% R4 ^3 `1 ^( p/ l4 Z" H
  1298. ; persistent connections will be maintained forever., u4 s# l* r/ E
  1299. ; http://php.net/oci8.persistent-timeout
    - q- V: _+ N3 K5 e
  1300. ;oci8.persistent_timeout = -1, C/ m! i. l! f) o$ ?" Y
  1301. 5 _2 r6 _& \6 H5 U4 J% M
  1302. ; Connection: The number of seconds that must pass before issuing a
    $ J% `- T0 Q" H
  1303. ; ping during oci_pconnect() to check the connection validity. When
    ! m  `) ~$ i+ j$ t# l1 B" `
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    7 S3 S8 e9 @/ V7 |# y
  1305. ; pings completely.
    ) C$ ^. `' c1 M
  1306. ; http://php.net/oci8.ping-interval
    ; O. T+ H9 ]" N5 h3 z* y/ I$ `( {
  1307. ;oci8.ping_interval = 604 F- v1 T5 [1 E# r  l
  1308. 9 ^$ M. n1 W) T/ v2 v: o" N
  1309. ; Connection: Set this to a user chosen connection class to be used9 z; R" }9 ]0 o
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    0 f4 T- i1 @3 W9 b
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to+ t0 _! t, ~5 Z# H0 s( O+ ?0 n
  1312. ; the same string for all web servers running the same application,6 R1 p5 \, L6 F
  1313. ; the database pool must be configured, and the connection string must3 Y. C1 n4 g# z. A4 c
  1314. ; specify to use a pooled server." T: |3 c' W! N5 z9 g
  1315. ;oci8.connection_class =0 M7 R* n! x1 V
  1316. 7 I. K4 _! B7 V- Z# v; y# Y
  1317. ; High Availability: Using On lets PHP receive Fast Application
    9 F& p# ]  V2 y: b+ j8 d0 x
  1318. ; Notification (FAN) events generated when a database node fails. The. X- G9 C. j) h0 }1 m* z
  1319. ; database must also be configured to post FAN events.+ d9 s- |) i8 r% s, ?( s$ ~5 b* e7 p
  1320. ;oci8.events = Off
    7 v3 @# J' b( Y7 i% {7 f

  1321. # C8 a2 k& L8 P6 F
  1322. ; Tuning: This option enables statement caching, and specifies how* f) x6 P- F2 u8 M; D9 m
  1323. ; many statements to cache. Using 0 disables statement caching.- W% d( p0 M; v- ]- _5 ?
  1324. ; http://php.net/oci8.statement-cache-size
    9 ]- w% U; F; n) D
  1325. ;oci8.statement_cache_size = 20
    & [& b0 L8 ~) d+ G1 i; f+ p! ?3 K

  1326. 3 d- L( J: B) i4 Y1 w' W
  1327. ; Tuning: Enables statement prefetching and sets the default number of, D/ y; O4 t+ `  k+ j3 J* @
  1328. ; rows that will be fetched automatically after statement execution.( Q# [! f& D; R# V$ m
  1329. ; http://php.net/oci8.default-prefetch' y! r9 Y* F7 v/ E' q+ E1 [4 u
  1330. ;oci8.default_prefetch = 100
    6 f0 d4 Z, i" n" v. O
  1331. - z! n6 v, O6 a$ I6 N$ B3 m
  1332. ; Compatibility. Using On means oci_close() will not close
      \! @. Y; T) E' ?9 g
  1333. ; oci_connect() and oci_new_connect() connections.
    / B, F0 N- G/ q; d( B$ ?" u2 Y) }
  1334. ; http://php.net/oci8.old-oci-close-semantics
    5 L2 @- ]. L4 x- i' ?; u' V. Y
  1335. ;oci8.old_oci_close_semantics = Off
    ) d, Z: f8 H3 Q0 @4 ^% D1 U+ F8 x

  1336. * Z: {( h0 A7 A* ?9 }
  1337. [PostgreSQL]
    ' y! @3 w9 ]4 k$ k2 E9 y! N$ U& f
  1338. ; Allow or prevent persistent links.# L: x# S9 m( w; z9 H, L0 P
  1339. ; http://php.net/pgsql.allow-persistent
    8 h( p, q0 L& G4 E
  1340. pgsql.allow_persistent = On9 G$ }0 B( Z/ v: n9 h

  1341. ; v4 F' G3 D7 d) y- z
  1342. ; Detect broken persistent links always with pg_pconnect().
    8 s; V( F- c/ [& ^& z
  1343. ; Auto reset feature requires a little overheads.$ L& L8 i( [6 ]( y# ]* D
  1344. ; http://php.net/pgsql.auto-reset-persistent
    1 B# r; w8 J3 u3 a
  1345. pgsql.auto_reset_persistent = Off
    0 d( R8 S7 h' f

  1346. 5 k3 G& y  z3 t( S8 |4 \3 N  I/ X
  1347. ; Maximum number of persistent links.  -1 means no limit.6 K# g1 }; p$ ]8 [" |* F
  1348. ; http://php.net/pgsql.max-persistent% M% w' n6 K8 r. J3 G; N
  1349. pgsql.max_persistent = -1" R7 c0 m' F0 k) O9 A+ Y; G3 m" b

  1350. 4 t$ |$ r2 }" T, r, W1 |" v$ n
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    3 \/ [9 X5 i% M. v3 A
  1352. ; http://php.net/pgsql.max-links
    ( {2 B2 f8 M. j8 p* p) W7 j$ B
  1353. pgsql.max_links = -1
    # b3 U; D% r2 O' J
  1354. - H6 j7 y, i5 |" x
  1355. ; Ignore PostgreSQL backends Notice message or not.
    % D/ H( r/ {2 X
  1356. ; Notice message logging require a little overheads.
    7 c" f8 ~1 C- n4 a2 _$ A2 H
  1357. ; http://php.net/pgsql.ignore-notice9 }/ v' W' ^1 X% |' }
  1358. pgsql.ignore_notice = 0
    , R+ _; I/ u: F1 H3 I
  1359. # V) \" j' d/ E& b5 `' ?
  1360. ; Log PostgreSQL backends Notice message or not.( f. p; v9 P3 ]* I2 g9 h
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    & V5 q2 V9 [' S9 `% ^* v
  1362. ; http://php.net/pgsql.log-notice
    / i: C9 {2 f( F$ L8 r6 N9 r# J7 n
  1363. pgsql.log_notice = 01 r) l5 s2 f  ?2 ]# j- [! Y4 U
  1364. 2 }0 V6 [- b% o5 u! ~" N0 F/ G7 A
  1365. [Sybase-CT]* K, i& O9 Z# B+ i% j
  1366. ; Allow or prevent persistent links." V, w* \7 G! j  T8 U7 H
  1367. ; http://php.net/sybct.allow-persistent
    - p# O* q- x0 L  C" F) [' P
  1368. sybct.allow_persistent = On. a  k: ^+ k/ ~% P6 r5 d
  1369. / W7 y. |9 P7 h$ D  o# D% R
  1370. ; Maximum number of persistent links.  -1 means no limit.
    + e' a$ z3 W0 f. y8 O+ b# a* e5 y
  1371. ; http://php.net/sybct.max-persistent
    - G; `+ r6 @: D/ L5 L; K8 f9 b2 `
  1372. sybct.max_persistent = -1
    7 j( o2 W& e! }+ g1 T& i
  1373. & |4 T# P! }; s! ?1 M) t7 |
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    - `- Y4 U# _0 `9 ]6 }. X
  1375. ; http://php.net/sybct.max-links
    # d3 |6 [1 T$ S7 b$ W! S/ K
  1376. sybct.max_links = -11 ^) o& {/ N) O6 Z+ _2 S

  1377. 0 f# }. X# ^+ \* l5 e( [) r
  1378. ; Minimum server message severity to display.
    # ?. N6 X8 y. f5 q, \
  1379. ; http://php.net/sybct.min-server-severity  e" R5 A" j. N6 y* c
  1380. sybct.min_server_severity = 10
    5 o; }' T" [: L" B) X: c
  1381. 3 Z( v' o* o4 h' H' v
  1382. ; Minimum client message severity to display.6 n3 y6 u9 F8 o7 p( i$ q6 r0 j( o0 b
  1383. ; http://php.net/sybct.min-client-severity
      j# r9 ?6 }! a) p! S  e' V3 t
  1384. sybct.min_client_severity = 10, _0 l8 ?* d, P! A, Q7 [

  1385. 3 p1 ^! r% o$ I) h5 W4 ]& R* j
  1386. ; Set per-context timeout3 r4 E; T& W$ Y# |2 ]7 v
  1387. ; http://php.net/sybct.timeout9 K* M9 n  z; Q6 h6 m
  1388. ;sybct.timeout=
    $ t, P' U+ A; a# o

  1389. 6 L& h) C3 I5 w. ~- K& A, f
  1390. ;sybct.packet_size
    2 s6 Z9 q# U6 I; G( ^
  1391. * R- N% s/ U$ t
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    ) `. g/ c) K' j' q# _# P, d
  1393. ; Default: one minute4 a; I5 @& T9 j) o- ^' x- f3 J
  1394. ;sybct.login_timeout=3 P* P0 m% o. f, T, r' n
  1395. % m. |6 C' W4 S, l0 s* N( y" w$ Z
  1396. ; The name of the host you claim to be connecting from, for display by sp_who., f6 q+ l8 d) c0 t
  1397. ; Default: none
    , b. y- ?) O( `8 j; }+ B5 a  s
  1398. ;sybct.hostname=
    5 ?: ]  J/ E; C  u# W/ w" f" h
  1399. : n& D- e: n7 p- j4 l" X: @
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".% C2 r9 x1 T! {1 N( z+ r9 E
  1401. ; Default: 0
    - O) b: c8 ^$ U3 \$ ^! W* g
  1402. ;sybct.deadlock_retry_count=
    3 ]8 o8 x. _9 P# L3 o1 {) d/ Y
  1403. 3 s+ [  u' l8 G3 o
  1404. [bcmath]4 z* H9 U4 c3 r. ~' V( S$ b
  1405. ; Number of decimal digits for all bcmath functions.
    $ d4 X' f2 ~# r& y  U* H! {# E
  1406. ; http://php.net/bcmath.scale5 d6 n4 [! h7 `. U. Q( N
  1407. bcmath.scale = 0- P5 R  n# i1 q7 d# O, t
  1408. 6 @# j/ `$ I1 J# v) r- @  |3 b8 q
  1409. [browscap]
    ) {% F! Y4 Z& m
  1410. ; http://php.net/browscap9 L9 O) U* w4 W, U
  1411. ;browscap = extra/browscap.ini  J) V7 y3 t  b; |# ~

  1412. ) U* G* H% k0 c! I3 p  C& G$ `
  1413. [Session]6 a# p! D% D  _+ Q6 ?# a' q1 f
  1414. ; Handler used to store/retrieve data.
    # |9 ?0 o9 T' R' {
  1415. ; http://php.net/session.save-handler
    7 q8 F) e# }2 T3 R
  1416. session.save_handler = files: F. p4 `: r6 ^8 G9 j. T
  1417. 0 U3 M, V9 b1 O6 R
  1418. ; Argument passed to save_handler.  In the case of files, this is the path  D. E! S% n# L  P  ]
  1419. ; where data files are stored. Note: Windows users have to change this
    / K6 N/ g% ]# U) f7 `
  1420. ; variable in order to use PHP's session functions.. r( X5 i& [" m  T0 }4 g- j6 q
  1421. ;
    7 I7 O/ P4 @2 T7 @. V# {0 I) C/ w
  1422. ; The path can be defined as:
    # `. `# I7 L( S6 \3 Y7 D) |$ s2 A
  1423. ;2 Q( J& d: s: S% r9 q( E: l
  1424. ;     session.save_path = "N;/path"
      _- |: r; }* }& M; h; X3 k4 M/ O
  1425. ;
    ' w' ^2 Q* K. V2 q. R' l
  1426. ; where N is an integer.  Instead of storing all the session files in
    ; x$ T2 V2 \4 s/ g6 v) v. h
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    * k- ~5 V" }9 C# D  x- T6 G
  1428. ; store the session data in those directories.  This is useful if
    7 }) L: E# p' N$ f( g! b& N
  1429. ; your OS has problems with many files in one directory, and is" q8 q8 G4 H! G2 r0 _7 [1 @
  1430. ; a more efficient layout for servers that handle many sessions.5 l  ]3 V# A( |/ ~" c5 u  h. ~
  1431. ;
    3 j. m9 A8 L6 M4 [2 U- Z
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    ; v/ D9 h+ X: A
  1433. ;         You can use the script in the ext/session dir for that purpose.
    # j) ]* n7 M/ V( q
  1434. ; NOTE 2: See the section on garbage collection below if you choose to" ^5 L' B: W) F
  1435. ;         use subdirectories for session storage
    2 u& ?: r5 u. L
  1436. ;
    9 r7 |) X6 {, w
  1437. ; The file storage module creates files using mode 600 by default.
    ! M4 x! x# a# w8 s
  1438. ; You can change that by using
    / y$ C' A: |; l4 O% U
  1439. ;2 s, D3 c" k6 @* s- N4 M
  1440. ;     session.save_path = "N;MODE;/path"& w- ^! \) H, j7 x2 b1 @/ D! Q8 {
  1441. ;0 {7 v1 g; O0 t: c. g. p9 C! K6 [  x
  1442. ; where MODE is the octal representation of the mode. Note that this
    3 @8 z  `- ?0 ]" ^+ \1 {$ C
  1443. ; does not overwrite the process's umask.6 E2 z% H1 `4 Q6 M) ~
  1444. ; http://php.net/session.save-path0 z( t) m0 J$ v9 A& m: C
  1445. ;session.save_path = "/tmp"
    7 }: O! p: J% O9 I& \  `7 I9 }2 ^

  1446. + R; W7 ?5 q% |$ p0 E: E
  1447. ; Whether to use strict session mode.0 X  s; K1 o7 r
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate+ V0 k& p5 v/ ?5 f8 H/ C6 _
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    * D6 E$ K% \' |8 t" d
  1450. ; applications from session fixation via session adoption vulnerability. It is, r& c' a% r  [  {  g, O
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.& i% D5 D1 W# n
  1452. ; https://wiki.php.net/rfc/strict_sessions
    7 D, A7 d3 w4 i% {  u, ?2 r
  1453. session.use_strict_mode = 0, A& `$ t; B. T% r# O7 u

  1454. , A$ A, u& O# t
  1455. ; Whether to use cookies.3 w6 J* y& I0 D8 \+ C% q- B( M1 j
  1456. ; http://php.net/session.use-cookies
    & a5 d! W# X/ {# f$ r
  1457. session.use_cookies = 13 \& U( i9 L0 M3 O2 c4 |

  1458. . P+ y7 W) C$ U) A! t& }
  1459. ; http://php.net/session.cookie-secure
    5 P6 e( ^8 C- e$ Y
  1460. ;session.cookie_secure =" J7 i4 K' b# @2 Q: _! g

  1461. - N7 ^' r9 U! X# \2 B4 d. \$ P
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ' j2 N) H- u. m5 g' q' T& o* v; z9 r
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    7 v' G) L8 h6 b5 H0 s
  1464. ; session hijacking when not specifying and managing your own session id. It is
    - ]1 }+ h# _( J$ K3 P
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.  B* Z2 E  {8 _" ?
  1466. ; http://php.net/session.use-only-cookies5 K( d% g6 ~% ~! P6 Z6 R
  1467. session.use_only_cookies = 1
    9 @" n6 o; d! a( {

  1468. % d3 ^+ y" ?* ?" h! ]' ?
  1469. ; Name of the session (used as cookie name).
    : _7 d! T  R0 E$ F
  1470. ; http://php.net/session.name
    - S! y. C4 A, V$ c# W- r8 ~' p
  1471. session.name = PHPSESSID' e* w; b' K; h8 Y4 a& K
  1472. ; L: V, E$ Z; L" t% H8 @
  1473. ; Initialize session on request startup.7 f/ o3 n4 L( e9 Y+ }+ Z
  1474. ; http://php.net/session.auto-start6 q7 m: S' p9 F" J; M4 |- W7 R( j
  1475. session.auto_start = 0& j4 b9 r! H# O6 t! `

  1476. + R0 ^9 {+ x0 w) e
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    5 v& a9 A# m* L/ H5 }" V. a
  1478. ; http://php.net/session.cookie-lifetime# }% [2 L/ ?6 S
  1479. session.cookie_lifetime = 0, b4 R2 p8 B$ a0 U: g4 I) U# |# ?

  1480. % V7 [' u. y: D  j" k
  1481. ; The path for which the cookie is valid.9 F6 X6 m7 m' r9 a8 z
  1482. ; http://php.net/session.cookie-path5 o8 k# `5 Q( |9 K+ a
  1483. session.cookie_path = /
    " v, X) F0 O$ {! R+ z/ S8 z
  1484. 7 h* ?* n- [- R2 i& x* s
  1485. ; The domain for which the cookie is valid.
    ' i0 X% V! P* E! F) [
  1486. ; http://php.net/session.cookie-domain; w- w+ m" w  H3 @5 N
  1487. session.cookie_domain =+ w/ u4 u# A* N' D5 Z+ |0 m2 C
  1488. ! d# b$ y7 o9 _5 L- j
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.- i. l) k4 \( N3 B" U5 X
  1490. ; http://php.net/session.cookie-httponly  V& c! `; Z: G3 u
  1491. session.cookie_httponly =$ ^- G, p. t, M! y6 R4 t4 z8 S( \
  1492. 8 l* M/ M9 b% |3 u4 J  Q3 r# c
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    # M- Z, [' F: Q
  1494. ; http://php.net/session.serialize-handler
    + b) N4 S! k# V3 C
  1495. session.serialize_handler = php
    6 j5 {$ m/ {, [
  1496. + P8 r8 `: {" B% w& K
  1497. ; Defines the probability that the 'garbage collection' process is started
    $ U9 G1 u( }3 G4 }
  1498. ; on every session initialization. The probability is calculated by using1 t( t; [& w* t5 g/ Q8 o/ f8 A
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator" F) c* P1 i) H' s6 }+ _" q, H
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 10 y. F+ H$ D0 M( }' t
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    % t1 N: i1 R* K- s$ N, o* x, r% [
  1502. ; the gc will run on any give request.5 n9 u% I6 H/ w* f3 v2 b
  1503. ; Default Value: 1# `% K5 \  S* |$ k* u
  1504. ; Development Value: 1
    - q; E0 K& o2 h, {. ?8 Y1 G
  1505. ; Production Value: 1
    5 Y. ^* L* Q: _, u4 h
  1506. ; http://php.net/session.gc-probability
    - u' z& W$ B  r6 n
  1507. session.gc_probability = 1( a( i9 b# _# m/ @5 f

  1508. , g4 ]6 k  K% U5 [1 o
  1509. ; Defines the probability that the 'garbage collection' process is started on every* C9 u  m5 y+ {2 b  B' t& c
  1510. ; session initialization. The probability is calculated by using the following equation:1 P- ]2 k* W9 W! r) ?- z
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    8 m  [, Y+ H: s, `% Y: f+ l& r
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 17 h. p9 \7 s( W0 O: ]3 u. g* M
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance: X& j1 V8 E2 h4 @
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you6 _: P  d/ S5 P* y  d
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    $ L4 g. K3 i5 b: I' q6 Z* q
  1516. ; this is a more efficient approach.; X) S6 I, Z: T
  1517. ; Default Value: 100' U$ }9 R7 W! w* i2 D" @! K
  1518. ; Development Value: 1000
    % P5 R! l- S" q8 y7 @
  1519. ; Production Value: 1000; M; T* J6 w" @  E& z
  1520. ; http://php.net/session.gc-divisor: w% w4 F5 D7 e; O) S( m4 q
  1521. session.gc_divisor = 1000% I: z: g( T% {& `5 _

  1522. ( u& W) F) C8 f) A4 a1 d8 U
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    , o6 S& F! U. f" X5 S3 u' r. O1 w3 ?
  1524. ; cleaned up by the garbage collection process.3 H4 o; x1 F, [
  1525. ; http://php.net/session.gc-maxlifetime
    + F0 H, a+ h+ R. Y
  1526. session.gc_maxlifetime = 1440' D/ c0 Z* N# a

  1527. ! t1 V" f8 P& E, A& F% Q# }
  1528. ; NOTE: If you are using the subdirectory option for storing session files7 R% A: A4 N8 g* Q" |
  1529. ;       (see session.save_path above), then garbage collection does *not*
    4 H5 P& M" M3 s
  1530. ;       happen automatically.  You will need to do your own garbage
    7 b: W# ?- [: e  q2 c' l
  1531. ;       collection through a shell script, cron entry, or some other method.
    7 O3 m8 E( w( {/ P3 U2 o2 M
  1532. ;       For example, the following script would is the equivalent of
    7 \. ?3 @/ ?/ o7 m3 c; s5 R4 Q( F) _
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):0 v/ g3 t1 x2 ~
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    7 I) n8 ~1 a" ?5 D" V2 f

  1535. ! b* l: s3 n, @9 @& t5 J+ h
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    8 N- h! O* h1 B4 Y
  1537. ; HTTP_REFERER has to contain this substring for the session to be! M: b4 X5 Q+ w8 |5 h$ h3 B5 c; [2 W
  1538. ; considered as valid.$ \5 n$ Y$ ~6 y9 P9 d! z/ z; |
  1539. ; http://php.net/session.referer-check
    2 o  ^. E/ Q! B- I( U* W6 g
  1540. session.referer_check =* x( @. Y% e* ]6 s4 `2 f

  1541. 6 t) ^7 }1 U3 @4 R/ C9 @  [
  1542. ; How many bytes to read from the file.: J- `2 J5 _% J1 _
  1543. ; http://php.net/session.entropy-length
    8 P2 d$ m* d3 \! j# Q  L
  1544. ;session.entropy_length = 32$ Y, R# f, H+ ]8 i/ G/ K
  1545. % J8 E2 H9 @5 _6 v! T& d
  1546. ; Specified here to create the session id.
    & j2 _& r' V1 z9 w
  1547. ; http://php.net/session.entropy-file
    7 f# o" r" ~5 q; \4 ^7 \3 C6 V3 M
  1548. ; Defaults to /dev/urandom: S, C7 x- d# U& l. c( j
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom' [* a2 J* s  m; i
  1550. ; If neither are found at compile time, the default is no entropy file.2 q( f9 @$ D% k
  1551. ; On windows, setting the entropy_length setting will activate the; }! z6 \) H$ x
  1552. ; Windows random source (using the CryptoAPI)  c; Q+ g8 k/ n; y+ d
  1553. ;session.entropy_file = /dev/urandom+ s: m( T3 h) A* G* H; |0 \

  1554. 6 f, O4 [$ e; L7 P) ?
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects6 @8 C# X$ L! ?8 _7 @
  1556. ; or leave this empty to avoid sending anti-caching headers.* _' A0 l5 O" {0 |1 ]2 _3 M
  1557. ; http://php.net/session.cache-limiter  k# s- O& K. @$ I6 g
  1558. session.cache_limiter = nocache1 m1 O# \5 C1 B. c( L
  1559. 4 F( U! S- g- G! T
  1560. ; Document expires after n minutes.* w% y/ V4 S5 d/ S% D. d' @) Q$ c
  1561. ; http://php.net/session.cache-expire
    % m5 d  Q& ~! q
  1562. session.cache_expire = 180; z# Q* n5 K; I- `8 u; r

  1563. 7 L. }4 Q) C& [  q; @' ?
  1564. ; trans sid support is disabled by default." P6 J6 w5 E  s$ j
  1565. ; Use of trans sid may risk your users' security.: `3 x7 h0 z8 S* J, S$ V
  1566. ; Use this option with caution.
    + z: r2 U- T6 \
  1567. ; - User may send URL contains active session ID6 r, v0 A, @" l; y3 ]
  1568. ;   to other person via. email/irc/etc.
    ! \+ n8 _/ r- }- Y
  1569. ; - URL that contains active session ID may be stored1 {) k/ K7 |; A: k2 J% `
  1570. ;   in publicly accessible computer.
    $ D  ?/ G( @" M& `, ]* ^3 R
  1571. ; - User may access your site with the same session ID
    8 [3 V" M- C* t2 d+ j
  1572. ;   always using URL stored in browser's history or bookmarks.
    $ }% z* f) N* u
  1573. ; http://php.net/session.use-trans-sid$ b5 k9 k6 b+ r) y5 ?
  1574. session.use_trans_sid = 0
    & N- B+ v& C4 x( b
  1575. 7 o) O% z$ K+ ~& r. Z
  1576. ; Select a hash function for use in generating session ids.
    ( G6 T% G( ?$ A/ r2 z6 c
  1577. ; Possible Values
    $ j$ t3 V4 f# F
  1578. ;   0  (MD5 128 bits)
    6 ]) i( v* w: o5 o. P
  1579. ;   1  (SHA-1 160 bits)5 n3 z+ ~0 W. \4 G8 B
  1580. ; This option may also be set to the name of any hash function supported by
    + c/ A2 f( H6 z( [- ~
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos(); P* |1 Y2 _; W0 e& W9 t8 c  S
  1582. ; function.
    9 |, R. c! y% \* S
  1583. ; http://php.net/session.hash-function; \, q  I, D/ }1 `' T) e" x- Y! T: r
  1584. session.hash_function = 06 _8 @6 ~, o) _
  1585.   p0 z3 W9 b/ l& x( ?1 b/ j' Q
  1586. ; Define how many bits are stored in each character when converting
    / O  S1 z9 G& C6 ~& X
  1587. ; the binary hash data to something readable.5 t: h; |5 X7 K# [8 ?
  1588. ; Possible values:& |) M' d& c9 I9 ^9 a1 L
  1589. ;   4  (4 bits: 0-9, a-f)
    , g3 ]1 g, Q9 ~, l! k% O2 q( w. d
  1590. ;   5  (5 bits: 0-9, a-v)1 M# Y% k4 X" `# D8 V. M; Z
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    4 W# w) W* I  V# _( f$ v8 r
  1592. ; Default Value: 4
    ( u# L  C( ?# w! M
  1593. ; Development Value: 5
    $ `4 }' n, y/ Y9 ?; q2 p
  1594. ; Production Value: 5
    ! T4 k* F0 _8 s8 {
  1595. ; http://php.net/session.hash-bits-per-character9 u# C) H& R: e7 y
  1596. session.hash_bits_per_character = 5' a1 B" I9 b  {& b) `2 j

  1597. & k# c7 o$ c4 w8 H
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    4 t7 P8 q! J8 s- W
  1599. ; form/fieldset are special; if you include them here, the rewriter will% A9 a/ v7 _# @/ U: d
  1600. ; add a hidden <input> field with the info which is otherwise appended, l3 m! s4 F) D/ \1 o
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.( M0 z0 e! W* f0 V& G* U; ]
  1602. ; Note that all valid entries require a "=", even if no value follows.6 m) _! y. w' g& y0 @8 h" ?
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ) p$ a& g" n4 D' o
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & R# j( ~5 n: R3 ]. G+ @% s; w
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    / _, z4 C; I3 \# m! t# ^, d, ~# M1 N& ^
  1606. ; http://php.net/url-rewriter.tags# h# f  A3 u, R
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"1 F: f% L9 K( p( F' b  ^

  1608. 1 ^1 B( j, f7 B4 ]; G* o
  1609. ; Enable upload progress tracking in $_SESSION
    : e2 l' C2 Y1 H4 }& V) T
  1610. ; Default Value: On" l# w3 ]) \0 d0 D, s. q7 r9 E
  1611. ; Development Value: On
    2 E7 T4 r* l& S8 g
  1612. ; Production Value: On* F; ]. o. w2 A9 ~- B
  1613. ; http://php.net/session.upload-progress.enabled3 z, `& M4 K9 o% l0 a
  1614. ;session.upload_progress.enabled = On
    * w0 I* k* K+ B# ^

  1615. 2 g. _1 J1 ~' g: ~
  1616. ; Cleanup the progress information as soon as all POST data has been read* @' v# l- W1 b
  1617. ; (i.e. upload completed).! H7 G* o) a1 W! _3 t1 c
  1618. ; Default Value: On
    ' [+ N3 A( o9 R- S0 r4 y( L2 p8 F$ {
  1619. ; Development Value: On& M' H' w; ]( J/ c4 i
  1620. ; Production Value: On& g- \9 z/ {5 }" r6 _4 i
  1621. ; http://php.net/session.upload-progress.cleanup% z$ ?+ y) {  A4 y; T
  1622. ;session.upload_progress.cleanup = On$ Y  Z1 s8 x$ J& W; u, T

  1623. * y; t0 O/ M$ c& [+ {. a
  1624. ; A prefix used for the upload progress key in $_SESSION; p; y6 X! y1 U
  1625. ; Default Value: "upload_progress_"
    ' ]9 C  @: w9 C; `
  1626. ; Development Value: "upload_progress_"
    - t2 t- [- c6 T
  1627. ; Production Value: "upload_progress_"  ]0 T. v3 l% f4 N* J
  1628. ; http://php.net/session.upload-progress.prefix
    9 `& i( q+ q( e
  1629. ;session.upload_progress.prefix = "upload_progress_"& y+ J. c. P7 h5 O( ^
  1630. 8 c) W$ p; ~2 H
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    # K7 z# H* L8 N7 G1 ?" @
  1632. ; containing the upload progress information' U# l- u" o3 n& @4 _8 A. G
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    6 w. @$ S) t' F) D3 `
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ {% {% U# m  `
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    % V" M+ \* ]: t/ g5 T0 m
  1636. ; http://php.net/session.upload-progress.name
    $ m1 @$ Z4 h) B: X- V
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"' h+ s( s3 G' P9 _  \8 N! n. Z
  1638. 9 }! ?2 B* X8 d' `
  1639. ; How frequently the upload progress should be updated.
    , K1 A$ ^: {" e) O; s* J, ?0 _, s
  1640. ; Given either in percentages (per-file), or in bytes3 G+ e) ^) M  R
  1641. ; Default Value: "1%"! w* @* I2 o, {7 z) L
  1642. ; Development Value: "1%"! M+ g: Y9 Q4 p. W/ m5 s
  1643. ; Production Value: "1%", T. g; r3 c5 T  Y: y- N
  1644. ; http://php.net/session.upload-progress.freq
    0 f5 Z% f' P3 {9 j; ?
  1645. ;session.upload_progress.freq =  "1%"
    / @0 G- d( R3 ^

  1646.   ?3 ~( g+ b: p" f; J+ P1 X! l
  1647. ; The minimum delay between updates, in seconds1 _- ]3 h5 L' ^2 s$ E3 E$ @
  1648. ; Default Value: 1. `# {) v5 h" K" T+ O
  1649. ; Development Value: 12 E/ e6 ~  z7 |& f# N8 H, u
  1650. ; Production Value: 11 E( Z& l( o$ o- u9 _. r
  1651. ; http://php.net/session.upload-progress.min-freq0 M1 Q! u7 C' o0 @6 _2 o( A
  1652. ;session.upload_progress.min_freq = "1"7 e/ \# K( J# |& I) m
  1653. 7 `2 G6 A! R2 R# `, u' D0 |
  1654. [MSSQL]
    3 N/ d! k' u- P( i% U2 E# P
  1655. ; Allow or prevent persistent links.& w) c: N2 O2 m  m) W8 f& Q* T7 u! W
  1656. mssql.allow_persistent = On
    0 {6 W  }3 S* t. m; }

  1657. " |8 ^3 ]% I$ F! U
  1658. ; Maximum number of persistent links.  -1 means no limit.5 Z1 T& v1 e- u8 ~* t1 H0 r0 W
  1659. mssql.max_persistent = -1* p7 G4 n  }" m2 G

  1660.   l) }4 w, ~& Q
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.# I8 q6 j, U0 O8 r- _) y4 p" p
  1662. mssql.max_links = -1& [3 r4 V8 P$ Z# ~2 k
  1663. 1 Z- W( n& ]* K+ b! K( J3 Z
  1664. ; Minimum error severity to display./ r6 E: Y. a& Q" z* [, l- n& l
  1665. mssql.min_error_severity = 10
    0 c2 v* w) [  a& ]
  1666. / y8 G6 Y+ Q& Z' x
  1667. ; Minimum message severity to display.5 r5 ?5 c  j( Z8 {6 R
  1668. mssql.min_message_severity = 10& V1 h! J% o, ^5 J, d3 N3 R

  1669. # u+ i/ X: F: {3 N
  1670. ; Compatibility mode with old versions of PHP 3.0.0 p- u; ?' g' y+ l
  1671. mssql.compatibility_mode = Off
      Y1 l& l. Y- E. I, U  A% X
  1672. 4 N9 }6 C8 K( ?, N5 ]$ K
  1673. ; Connect timeout% B- F, ^! J3 o2 p
  1674. ;mssql.connect_timeout = 5
    ) X7 }4 v, g" b) |) _- ?* G2 i

  1675. , ~. W" z& U+ Y( R2 F
  1676. ; Query timeout' n9 U: a# N3 ^
  1677. ;mssql.timeout = 60
    ! n  k7 ~" g) j# Q% u! L

  1678. ( c4 j9 h- m( S# G4 M; K; ]
  1679. ; Valid range 0 - 2147483647.  Default = 4096./ a) q4 W5 D; F
  1680. ;mssql.textlimit = 4096
    : G0 z  R; w3 |

  1681. ' R7 K& C( ^7 p* Z" [" p) _' c
  1682. ; Valid range 0 - 2147483647.  Default = 4096.) a, [- o' ]& d+ _& v/ F
  1683. ;mssql.textsize = 4096
    ! p3 A7 \+ |0 C: T+ \1 N
  1684. 4 k% Q2 _$ K$ ~% t$ ?
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    ! K2 Q' S1 V* n9 K* d* g3 L
  1686. ;mssql.batchsize = 0
    # u* ]1 _4 @4 O1 n

  1687. 3 |' j. N/ M5 W9 U* B& }
  1688. ; Specify how datetime and datetim4 columns are returned
    + u" D/ U  H" \( ]
  1689. ; On => Returns data converted to SQL server settings
    * |$ R* M8 ^+ P0 C' H5 Y# I
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss7 Z9 k& G; Z5 v) X
  1691. ;mssql.datetimeconvert = On5 E0 c+ ^" W/ g1 l. S
  1692. " |/ K3 p( B5 V8 ~7 ~/ H
  1693. ; Use NT authentication when connecting to the server) V+ a# q, }; B! k' S
  1694. mssql.secure_connection = Off
    . Y3 b$ b+ h/ p" X/ B' i/ A0 d

  1695. " e1 }+ F) N  W5 n5 ^# o6 Z$ w: c
  1696. ; Specify max number of processes. -1 = library default
    . O" [: _& _7 |5 ^8 i) B
  1697. ; msdlib defaults to 255 I& |5 U& l) k% W& p
  1698. ; FreeTDS defaults to 4096
    ; E8 w2 `& W) s) A$ c/ k4 N; N" |
  1699. ;mssql.max_procs = -11 V" {+ Y3 d" c) E7 i

  1700. . P5 G. I# q! x5 c2 Z
  1701. ; Specify client character set.
    1 o% r: B/ P: E* S) Z; }7 V
  1702. ; If empty or not set the client charset from freetds.conf is used/ h; }: S& ?3 X* E3 v( ]) e8 Q
  1703. ; This is only used when compiled with FreeTDS
    # P; K  Q! H& g
  1704. ;mssql.charset = "ISO-8859-1", f5 ~* {$ n+ x$ u6 \$ |$ B3 x

  1705. $ d2 ?1 b& p' y9 d
  1706. [Assertion]
    * n# S$ E- h" B4 h+ x' _! `: g
  1707. ; Assert(expr); active by default.  ~  d5 A# N, }! d+ G# ^! n- v% ~
  1708. ; http://php.net/assert.active
    % a1 e5 g& ^) ?7 @9 P9 H
  1709. ;assert.active = On
    ' v8 a5 b9 j$ w( w0 s9 l

  1710. $ q% x6 C  k0 ?# M
  1711. ; Issue a PHP warning for each failed assertion.
    6 E) G  m5 Z; z
  1712. ; http://php.net/assert.warning) M" o$ X# D' K0 e
  1713. ;assert.warning = On
    6 j& V9 T# |# Z) i. N0 X4 C- ~
  1714. / M5 H  [+ O0 t3 o
  1715. ; Don't bail out by default.
    ) L5 A, @# j$ {" }; y+ E
  1716. ; http://php.net/assert.bail
      k% W; W1 a# d. s9 N8 X! t
  1717. ;assert.bail = Off
    + C% M( B2 Y9 r1 u

  1718. 1 W7 @4 `9 Z  i& b8 T
  1719. ; User-function to be called if an assertion fails.5 E- E9 I& Q, S4 F2 h
  1720. ; http://php.net/assert.callback
    6 B0 n+ d- z* J0 K. t
  1721. ;assert.callback = 0
    5 C$ i+ B1 {5 E3 @) [
  1722. 9 Y. C! I0 x5 `: r
  1723. ; Eval the expression with current error_reporting().  Set to true if you want: L$ c+ S' `# M
  1724. ; error_reporting(0) around the eval()./ ?/ J* m& A5 H$ P
  1725. ; http://php.net/assert.quiet-eval
    & Y3 T4 C9 J  S6 v5 u! C3 o: ^1 ^3 z
  1726. ;assert.quiet_eval = 0# V3 q" w$ l8 S8 {+ d

  1727. ! q0 R0 ~5 U3 f- y, A# b! c
  1728. [COM]! h! o. {9 x% H" a; S
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs. T- @$ {- H* o8 ]/ V
  1730. ; http://php.net/com.typelib-file
    ( ]& d7 Q$ o( f* x  S0 u  T; z( E, R* l
  1731. ;com.typelib_file =
    / K7 b( T; N, _- X! [) t; C
  1732. 3 z5 N. R7 Z5 U/ T& w
  1733. ; allow Distributed-COM calls
    , P( R" B7 U9 ], v
  1734. ; http://php.net/com.allow-dcom- [1 K; G0 Y$ s6 \5 q; k( ?( R
  1735. ;com.allow_dcom = true
    + Q9 l+ f3 t! Y0 g+ z
  1736. # s/ [8 }4 k8 B/ t
  1737. ; autoregister constants of a components typlib on com_load()1 @7 H, G: x1 K* Y
  1738. ; http://php.net/com.autoregister-typelib# Q3 ~% {* a* ~: u8 z
  1739. ;com.autoregister_typelib = true
    , s" ^( u3 x1 C3 g0 d

  1740. % J8 h$ s/ C9 K( @2 S% n+ w- [
  1741. ; register constants casesensitive' z6 X, f; j& C& |
  1742. ; http://php.net/com.autoregister-casesensitive- B2 p, E  l$ |5 K. Y5 G
  1743. ;com.autoregister_casesensitive = false
    " [! w! z! N$ X# a' C! {
  1744. & w/ ]: }% P% M$ }) B
  1745. ; show warnings on duplicate constant registrations, l( b. v$ x( j  @
  1746. ; http://php.net/com.autoregister-verbose1 s' p6 X/ T  q8 G8 w7 f. e2 t- R
  1747. ;com.autoregister_verbose = true
    9 p' j5 k4 R8 D% x4 ?) ]
  1748. ) I2 g3 Z( o! O% r
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    3 U% t; T6 V. q5 S( E
  1750. ; Default: system ANSI code page
    ( D) |* V; N3 k! i; W! o  A
  1751. ;com.code_page=, q: N) Y2 [  |8 J: r% g6 R% i, ~* Z

  1752. 7 j7 s2 q( _/ _3 c2 x
  1753. [mbstring]
    4 r$ g: f+ n1 C- }3 a
  1754. ; language for internal character representation.7 q: r; p5 r' U
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    6 b) |+ T( W/ Q: _" B) E/ t  q
  1756. ; http://php.net/mbstring.language
    " L. o3 t: o" j  h/ [& X  K1 H
  1757. ;mbstring.language = Japanese. A1 ?0 s0 q5 U  o' b9 C( v

  1758. ( J( \$ V0 r: E" l3 K& v- u5 s
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    " F$ N' x3 s6 Y$ }% Y$ b
  1760. ; internal/script encoding.9 g, j# d3 Y3 P4 G
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    " g1 k. @0 u2 s, G; ?6 ~9 @, s
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    # M% @% R& A( w  B; z8 z0 G* K& T
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ( x1 t6 @3 T2 ^: {
  1764. ;mbstring.internal_encoding =
      h8 Y  _/ ?+ [" }# b" c
  1765. ! I, l+ l% M$ a0 `# D4 ]
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.3 k% X; y$ e% h( ~
  1767. ; http input encoding.* |( D! x; y" Z" \
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    6 O. v7 M- E/ i# Q, j
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.. F8 b& |% K! R
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input7 \% ?9 j  k/ G" ^4 R! L
  1771. ; http://php.net/mbstring.http-input! y3 P+ S; Y/ \- L
  1772. ;mbstring.http_input =
    7 z1 X0 i: h  }4 p! B4 w

  1773. $ \& a, a" ]" U) b& `( x4 E
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.0 S) w0 N/ v! k+ U  T
  1775. ; http output encoding.
    7 i# m' A. `3 H! q; G# {- y0 a9 H
  1776. ; mb_output_handler must be registered as output buffer to function.
    " ], B2 j+ B/ C) |
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used." s5 J4 z* U* @4 ]6 n4 [; u1 ~$ ?
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output' W/ W# t: }  u* i$ h
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    * Z5 E9 {# F: d, X/ q$ d5 S
  1780. ; otherwise output encoding conversion cannot be performed.
    , r$ k; ]1 v# T/ [' i/ ]( A! R
  1781. ; http://php.net/mbstring.http-output
      i9 ^9 `/ k6 n# g2 q
  1782. ;mbstring.http_output =
    & u2 k# M7 k1 m+ h7 |% A  k7 f1 O0 A
  1783. 7 J5 o" r  z, V! _# T
  1784. ; enable automatic encoding translation according to' X2 E$ `6 R4 i* z* y( t0 k
  1785. ; mbstring.internal_encoding setting. Input chars are; A9 A- P' E: @1 l+ v
  1786. ; converted to internal encoding by setting this to On.
    " i. f, G2 @. Q
  1787. ; Note: Do _not_ use automatic encoding translation for
    : q4 ~/ K* c/ g7 A+ u
  1788. ;       portable libs/applications.
    + J# D# @% ~  [- K' M( _8 _5 p1 M# V
  1789. ; http://php.net/mbstring.encoding-translation( |( H# `5 s% d" F
  1790. ;mbstring.encoding_translation = Off+ {# k6 }, \+ b' }

  1791. ; h: W, i/ s& c2 M
  1792. ; automatic encoding detection order.
    7 _9 {' F& Q' ]% J
  1793. ; "auto" detect order is changed according to mbstring.language/ J4 N1 h% @! m) y/ s
  1794. ; http://php.net/mbstring.detect-order9 }, q5 e$ g; t2 Q. r
  1795. ;mbstring.detect_order = auto
    & l/ x2 J$ S; v
  1796. ' g6 |! G$ P# C. t7 G3 u
  1797. ; substitute_character used when character cannot be converted0 I! q: K- A+ \: P& }) F5 i
  1798. ; one from another/ k* e3 G/ J6 j0 t5 u: j3 S8 {) Q+ D
  1799. ; http://php.net/mbstring.substitute-character
    ! L. c* o0 S4 [. ]: b5 ]
  1800. ;mbstring.substitute_character = none
    2 f/ t" n# }, i5 L$ ?

  1801. 1 k0 L* j+ G: l& ^6 i( z% z
  1802. ; overload(replace) single byte functions by mbstring functions.
    & ?2 B, d' q9 k3 K9 i4 s) I
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),& E% }, b) y' a5 |% e, ?3 M6 V
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
      ~! P* w* Z4 M7 j, y7 t  E
  1805. ; For example, 7 for overload everything.
    + f' a+ ?0 t: l! m- @" a
  1806. ; 0: No overload1 M; ]' I8 t8 A' t: o
  1807. ; 1: Overload mail() function
    + d3 a$ r; c7 q( y- ?& v- E
  1808. ; 2: Overload str*() functions
    " a1 B, ?6 m; y: ~& Q) P
  1809. ; 4: Overload ereg*() functions
    2 H" n4 i# t- u! h' A4 s- a
  1810. ; http://php.net/mbstring.func-overload: t# v2 \" b% S' \
  1811. ;mbstring.func_overload = 0
    ( a! k$ t2 P& M# J3 k  b
  1812. . R3 q3 o5 [* c/ d. @- z/ {
  1813. ; enable strict encoding detection.$ s9 q: O# ~/ h# A2 @% ^
  1814. ; Default: Off
    : E! W% f5 S) O* L- e
  1815. ;mbstring.strict_detection = On
    ) w5 V" l' z" V! O
  1816. " N3 ^+ @9 o: S1 v. r$ P  I) Q
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    6 q6 t9 t$ D9 V( q! S* D. @& z) S3 v' q3 n
  1818. ; is activated.
    / r2 R# }0 L$ B% x# o0 b1 U
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    3 A; y' c) a! t8 n
  1820. ;mbstring.http_output_conv_mimetype=
    % e' @( n$ e. q( u

  1821. . s8 n/ u) z* Y0 {3 R5 W
  1822. [gd]
    - b; j* W, l7 n) T% P
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    0 V8 p# I4 v* @7 K
  1824. ; a gd image. The warning will then be displayed as notices: P+ U) X; E( I( D4 o% R5 x2 I; w
  1825. ; disabled by default
    5 \, I& i  r- r' F  B' v
  1826. ; http://php.net/gd.jpeg-ignore-warning, G* G1 C( Z- z: u
  1827. ;gd.jpeg_ignore_warning = 0
    * }8 B, u6 Q$ m) l9 ^+ j& f

  1828. 8 m+ F5 i3 D* J2 R! n+ p7 a
  1829. [exif]
    4 I1 \  _# B( I3 K- a- d; u9 @" J
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.2 @* C! N: V) L/ g
  1831. ; With mbstring support this will automatically be converted into the encoding
    : O- n+ Q) z1 M+ F  }$ B6 N" Z* z2 o
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding- f! H- b. {, C! Z2 [  R. h
  1833. ; is used. For the decode settings you can distinguish between motorola and
      C0 a' _, A' l) }; X# @
  1834. ; intel byte order. A decode setting cannot be empty.& \8 k6 b" n/ s: F' F! ^
  1835. ; http://php.net/exif.encode-unicode# l/ y7 E3 Q, q( i
  1836. ;exif.encode_unicode = ISO-8859-156 S) t+ D: u/ M# j# F7 S& @
  1837. 1 }6 B7 V2 d& w, M0 [0 j# y
  1838. ; http://php.net/exif.decode-unicode-motorola% c  q) N0 n% Y! T
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    5 c" r7 U1 G/ a$ k

  1840. ( W/ t/ m( F. I, W  H: k8 S
  1841. ; http://php.net/exif.decode-unicode-intel
    2 J1 h: g& K( }7 r; ]  x- v
  1842. ;exif.decode_unicode_intel    = UCS-2LE6 I: ?) F+ e* s0 B2 C

  1843. & {# L3 T( q+ B4 r# B" K
  1844. ; http://php.net/exif.encode-jis! ^4 G9 b3 X( c6 x, p) k, h4 X7 L0 u
  1845. ;exif.encode_jis =8 `' E3 W$ D- R6 A; F- k" V

  1846. 3 N: }% ~0 C7 x
  1847. ; http://php.net/exif.decode-jis-motorola
    . Y; k# ^, q$ I5 Q$ L
  1848. ;exif.decode_jis_motorola = JIS0 Z/ t! i- x3 Z% `
  1849. 1 C9 h1 [; y5 E/ d1 F$ f
  1850. ; http://php.net/exif.decode-jis-intel
    9 {7 u) `3 P5 \# A" W) G
  1851. ;exif.decode_jis_intel    = JIS
    ; u( [6 ^1 {: L" r% ^( A% m

  1852. ! J( q. I5 D: z8 b3 d, ~
  1853. [Tidy]
    8 A+ ^, |  c) |* N; d+ `  F
  1854. ; The path to a default tidy configuration file to use when using tidy+ O' n7 J4 r+ w! I' K2 U4 _* \
  1855. ; http://php.net/tidy.default-config
    7 x1 ?% y& r7 T; ]' |  K
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    " I% Q1 r2 f0 H1 c0 G

  1857. 7 c& N: W5 k2 \3 _2 X6 F" N
  1858. ; Should tidy clean and repair output automatically?
    4 m" E! y! L9 ~# E0 H; N
  1859. ; WARNING: Do not use this option if you are generating non-html content* u. D$ i4 C7 x- U+ B0 k, W% Z
  1860. ; such as dynamic images, `/ N8 D5 l$ B1 H
  1861. ; http://php.net/tidy.clean-output& M; C. q! r& |
  1862. tidy.clean_output = Off# N8 C& j# B- w4 t+ i: D
  1863. 5 h" F4 H* _, y" @; B
  1864. [soap]: d5 z9 O+ ^+ j8 B! s' R; J
  1865. ; Enables or disables WSDL caching feature.0 W1 A+ ?' _) K, I
  1866. ; http://php.net/soap.wsdl-cache-enabled
    3 ?( P$ m' T& `) R, I# `' M+ ~2 w
  1867. soap.wsdl_cache_enabled=1
    4 K: k( y3 W$ S, I) M- t6 X

  1868. / C  @7 G- r& u  m" p# ~
  1869. ; Sets the directory name where SOAP extension will put cache files.. e9 Y' ?: B! v5 y* j0 ^, L2 B0 Y- u
  1870. ; http://php.net/soap.wsdl-cache-dir# d$ z0 p, j3 e  n0 G: e/ A; }# i
  1871. soap.wsdl_cache_dir="/tmp") [7 X" I3 \  r; L! c: r) u2 s- ?  J
  1872. - Q$ J1 |/ j  O$ C  H
  1873. ; (time to live) Sets the number of second while cached file will be used# w* K/ D4 m/ [% G+ u
  1874. ; instead of original one./ Z% ~) U! s* Y6 Z; t5 ^( c
  1875. ; http://php.net/soap.wsdl-cache-ttl
    7 `; I- g" E) S0 k( ]! `
  1876. soap.wsdl_cache_ttl=864000 I, J! ~/ F$ f

  1877. 5 Z8 v! W+ y2 @: l+ u
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)8 b; p! s: W( d6 H
  1879. soap.wsdl_cache_limit = 51 G6 S) X- N5 f
  1880. 0 f6 J. z- K/ D. k! O& q$ r. b
  1881. [sysvshm]
    6 ~8 T8 }0 d" N% _: F
  1882. ; A default size of the shared memory segment. G8 H8 v8 A1 x! R
  1883. ;sysvshm.init_mem = 100001 m' f6 |1 o( D( ~  s, K8 }# x

  1884. $ n# l% ^# w+ g4 E. Q
  1885. [ldap]: p. x0 H3 P3 T/ e
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    * I8 b! P% h  d$ ]; F* M  [
  1887. ldap.max_links = -1
    ) G1 k/ o5 ~) m; @
  1888. ; f; I% M9 O# Y& ~
  1889. [mcrypt]
    / j  X; S4 y1 o+ G
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    , t/ e1 |* n7 G( Q6 I

  1891. , W  {. }: D( J" z! E/ D
  1892. ; Directory where to load mcrypt algorithms
    , b5 E. K' a% ]+ K. q- d
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
      S* V1 {/ P4 o7 ~+ k1 I$ H) y
  1894. ;mcrypt.algorithms_dir=/ c2 P) ]0 K! U& i' }5 Q. h

  1895. - I7 K& D9 P' _8 N' F0 t" v( y0 y
  1896. ; Directory where to load mcrypt modes
    2 x4 c7 M, G: h# E8 h& [% p0 e
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    / O+ d, w1 c: W# |: ?9 F" j
  1898. ;mcrypt.modes_dir=! R: H9 s, _( z* C% m

  1899. 6 c7 x  h& [+ G8 M: b( S- ?3 l
  1900. [dba]) R0 o9 G3 `9 i6 o! J: P+ z& K% R
  1901. ;dba.default_handler=
    : G7 }& r: [! J! |' ]) }1 s
  1902. ) i9 R- @" `: {3 A. V) V
  1903. [opcache]
    . b2 `. a2 V! ~* ?7 q* u" `
  1904. ; Determines if Zend OPCache is enabled. R9 R" Q* o2 R& Q% e2 \
  1905. ;opcache.enable=0
    * `% f- e1 h+ Z; q: r3 i: u

  1906. + v7 `( B' K0 `+ @
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP0 P+ r8 l1 M7 B2 [. r& G4 }& O
  1908. ;opcache.enable_cli=0/ S% Q, f0 m5 n5 ^
  1909. 6 M1 S! a- D" N6 A7 f& U- H( F7 S
  1910. ; The OPcache shared memory storage size.
    & Q( [+ Y9 c6 x; v0 R2 k; B
  1911. ;opcache.memory_consumption=64
    4 T# f8 w, P0 G4 I4 R+ F: U

  1912. + z0 s0 U' `) y8 Y
  1913. ; The amount of memory for interned strings in Mbytes.
    1 }" E0 [. I. u) R) p
  1914. ;opcache.interned_strings_buffer=43 u! I0 v6 j; Q6 F/ x" D/ S* C/ w
  1915. 5 i( |0 q( O& p# r* z, l
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    ' K! a: K. P" k0 B
  1917. ; Only numbers between 200 and 100000 are allowed.9 b3 G, D; h+ R# E2 f0 p" r/ [
  1918. ;opcache.max_accelerated_files=2000" r7 i6 K, G% f7 B

  1919. ' Z* L- M6 ]4 Z% z' _- W8 U* J
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled./ Z0 Q4 c5 Z" }! V4 V
  1921. ;opcache.max_wasted_percentage=5
    / U! I" I1 ?8 e( k

  1922. % ~3 m5 X% N" g4 U
  1923. ; When this directive is enabled, the OPcache appends the current working- ]% j( g  o0 o# C4 X4 `4 n
  1924. ; directory to the script key, thus eliminating possible collisions between. h9 W9 d  H) e$ J/ Z
  1925. ; files with the same name (basename). Disabling the directive improves
    8 s4 U1 V9 p0 B
  1926. ; performance, but may break existing applications.
    , G2 S! O2 J; Q1 k
  1927. ;opcache.use_cwd=1: R3 K: I  {! A; g' i
  1928. 1 s; L2 d, X2 J( s# n  K
  1929. ; When disabled, you must reset the OPcache manually or restart the8 j) g: ]5 c$ N/ m6 c2 x* Z
  1930. ; webserver for changes to the filesystem to take effect.6 `* {4 n" C$ H- k
  1931. ;opcache.validate_timestamps=17 |: m6 ?; C% S- `3 l
  1932. 2 w; I3 k4 O" i  i0 j* _8 b* C
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    - \; K8 o  n2 ]  o6 R5 K
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    0 A; {$ @; ?1 \7 W
  1935. ; once per request. "0" means always validate)% W- ^0 S0 i5 D5 w) B& O* v
  1936. ;opcache.revalidate_freq=2+ X& v0 Z1 ^, O; f: y( A+ h- h3 ~! a  }
  1937. 4 [7 h/ M0 j, K2 R, p; ~
  1938. ; Enables or disables file search in include_path optimization! N8 s# p9 w2 {" ^
  1939. ;opcache.revalidate_path=0
    . W# S& q# G- p# {7 p- ?

  1940. . c4 y, z6 s& ?6 R! E9 w) E! s0 c
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    5 }+ J. s+ `+ @5 b: M7 j
  1942. ; size of the optimized code.  }' h$ k: P2 V) m$ B
  1943. ;opcache.save_comments=1
    ' N% c+ s, N6 n% z

  1944. # a8 |# P" ?& s3 ^
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"0 s6 _7 ]8 B" F% X' ^; A
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    " z1 }. N3 @2 o9 f& s% k
  1947. ; that don't need them anyway.
    + |( w4 ?1 M5 I9 {4 A; [, J+ I: p& s. B
  1948. ;opcache.load_comments=16 J5 @0 ^' \" f7 G. m; v! C
  1949. 8 \# D% s9 b' g, g
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code* [9 x6 u* @% T+ g
  1951. ;opcache.fast_shutdown=0
    / z& r. c* p2 X: \9 ]7 H

  1952. # h+ K, c/ |+ J, L" R
  1953. ; Allow file existence override (file_exists, etc.) performance feature.- }) q4 x. k: W- m
  1954. ;opcache.enable_file_override=01 M/ w0 C# _' t& y2 ^9 Y- l7 M
  1955. 4 Z: K8 g+ J+ ~
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    3 q: a4 z7 z. g
  1957. ; passes1 e7 r3 p2 @3 a
  1958. ;opcache.optimization_level=0xffffffff
    , j' o/ D4 M0 \$ D: ~' v" ^
  1959. 8 R' A- @# t; p8 S
  1960. ;opcache.inherited_hack=1
    . X4 u2 ^, {0 y1 Y
  1961. ;opcache.dups_fix=0( n$ m/ W. H7 G% t. b

  1962. 0 Y" ^7 C4 z$ U, K# h' {0 F
  1963. ; The location of the OPcache blacklist file (wildcards allowed).6 S. v) X3 T& i; N7 u1 o
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    + I, t# [8 F& D9 @# b3 Q
  1965. ; that should not be accelerated. The file format is to add each filename5 @& u0 a1 x: A" o5 L* ~: |
  1966. ; to a new line. The filename may be a full path or just a file prefix  j! l' Y- u8 R
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www1 m2 M, n2 E! ?& v1 x  j, D
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    : l( b0 w! |5 e8 u* Y! t
  1969. ;opcache.blacklist_filename=
    4 [6 v( i# C$ K- ^6 f5 O

  1970. 8 y6 \3 L9 g9 [% p
  1971. ; Allows exclusion of large files from being cached. By default all files
    + l. Q& z8 `0 l' u% P: Y" _
  1972. ; are cached.
    & M% |! ^. Z0 I5 z" @- b3 A
  1973. ;opcache.max_file_size=0- _2 o  s/ J4 \% ~

  1974. 0 `  W5 ?4 q* L! E
  1975. ; Check the cache checksum each N requests.5 y- h% y, X$ G) G2 ]; P7 W
  1976. ; The default value of "0" means that the checks are disabled.
    . ?0 O  q! W/ `3 G
  1977. ;opcache.consistency_checks=0. ~9 [( `+ S! q9 t6 i$ Z& H

  1978. & t$ a: {4 U5 {
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache( U5 ?" d! k' Y5 C. l; i4 j
  1980. ; is not being accessed.
    + G+ _8 q7 m- |
  1981. ;opcache.force_restart_timeout=180
    . d, f7 S4 C& i( e9 ~3 i

  1982. , N* M, d- w! W: E3 j- ?
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    . z  A% R" j  o
  1984. ;opcache.error_log=
    9 N3 B! H) d3 q% k+ W
  1985. ( t) P: ]1 L9 [
  1986. ; All OPcache errors go to the Web server log.1 F4 ^. ?, A3 m4 d' X5 U" f
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.3 G4 |/ `; D. |9 J/ ]" p
  1988. ; You can also enable warnings (level 2), info messages (level 3) or  L/ B, d  Z. ]$ F
  1989. ; debug messages (level 4).. I, i; j( T, F/ o. N; _
  1990. ;opcache.log_verbosity_level=15 r: `1 \* d- ^: U% b

  1991. 5 |% M" `( U0 L. P/ x" Z
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.0 ?$ K( O% Z  ^9 [
  1993. ;opcache.preferred_memory_model=7 c/ E3 N# z1 \2 O6 T

  1994. 4 A5 N9 [6 h8 U9 T' V) n) _
  1995. ; Protect the shared memory from unexpected writing during script execution.
    ) W' T5 Y" W8 T5 q  j
  1996. ; Useful for internal debugging only.
    0 Z: K% t, D" O6 U) C- |
  1997. ;opcache.protect_memory=07 _$ k$ K+ @) I: Y2 O% U

  1998. & }3 I! m, |0 w) J8 X* C, D0 i+ P9 Z
  1999. ; Validate cached file permissions.
    . ?- w/ D5 [  R/ Q- |. K
  2000. ; opcache.validate_permission=0; h0 L- _/ p' L8 P

  2001. 1 _# D) o7 z( o0 ]
  2002. ; Prevent name collisions in chroot'ed environment.
    % d3 T9 {$ x% ^, a% v7 Q  h9 e$ D
  2003. ; opcache.validate_root=0. E4 {6 l+ ^& P  I; q5 ^, P4 z, P

  2004. % o5 k# w' \- x! Q0 u1 O, h2 J  S/ \
  2005. [curl]
    9 E( O) _( L. c9 j, j
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ; j" _9 N) j1 a* T! v. U5 D5 g
  2007. ; absolute path.. R+ A' C' `+ v" N+ i* @! v/ N
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt% @7 t2 U0 H& [& G. ^! y! }
  2009. ) p1 C: o+ x- C3 E5 e) }9 M$ L" t+ C! w
  2010. [openssl]0 \* @: L- i$ |. @
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem3 y* J/ ^/ P* m4 Y6 N& Z
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should& q, u" _3 T0 c7 J7 i) O
  2013. ; not specify a value for this directive as PHP will attempt to use the
    ; j/ w/ ]3 h" ^7 s
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    7 J3 H# m) |0 i( i
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    4 {# F0 ^5 J& v
  2016. ; option.
    + Z! T) t( z7 f5 N* \0 \
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt& K' B$ i; Y$ x9 J1 x4 I

  2018. ' J+ O  ~9 j  S# w" s$ m6 ?  y. p
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    2 v6 B1 p& X0 t2 j0 K$ B  k
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    % Z) z4 |# P2 M2 k* P( z
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    : z+ C  C$ @* F
  2022. ; Most users should not specify a value for this directive as PHP will8 x7 m3 C5 {0 V! ]* n& r$ d3 S) h
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    # O' P: i1 @* r" `5 e9 d, o0 ^; Z  J
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    9 H6 l* d2 s7 q0 S' m9 x
  2025. ; SSL stream context option.
    6 O3 _% Y- u- Q
  2026. ;openssl.capath=9 Z! n. B; [0 Q  ^$ P- @: P

  2027. , U5 f6 c; P& O6 b9 K" q
  2028. ; Local Variables:' \/ u- d1 D% c
  2029. ; tab-width: 42 R4 K& Q$ k5 |/ Z$ z
  2030. ; End:
    " L( a1 @3 t8 d4 ~  |
  2031. 9 W: X  s% V5 v8 y; F4 N
  2032. ;eaccelerator8 O( b2 g( D: P' L% M" n7 O3 N
  2033. 0 y' y" @( m* V- J: A
  2034. ;ionCube
    $ v9 L  @7 X7 B9 i/ V7 \4 M
  2035. . V8 q9 k6 I% n3 r7 O6 A- w. `
  2036. ;opcache+ {' M# q1 I3 V

  2037. ( @* V1 U4 c; j8 F0 k  v
  2038. [Zend ZendGuard Loader]0 E# K6 W( Q( `: q* z
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    + I  S* e1 U+ L
  2040. zend_loader.enable=1- N, j' e/ O" W# V) Q" n
  2041. zend_loader.disable_licensing=0
    % U0 A! T' A1 O9 E9 i
  2042. zend_loader.obfuscation_level_support=3
    ) [% p4 N& Z7 k1 g& l
  2043. zend_loader.license_path=
    ! P, `; F& K/ W) \
  2044. ( I! ]! H+ {4 ?
  2045. ;xcache# ~; p0 B2 _8 b, ~7 i

  2046. 2 {9 _! m* U0 [1 }6 X& A" A
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692* e, t+ [0 n- C" X5 E' y6 h: g

4 f: {# W9 u- t- T
; V# G, B9 L5 d: R3 A( ?Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
$ A7 n/ `$ u# j6 e  _  o4 c& x
Discuz!程序版本选择:
) n  N1 C! p, G/ I" b- w  \站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
! ^1 h1 x# N1 Y* L3 [9 k- E, r不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:$ i* B  ?4 v. V6 g9 V$ b
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。/ A2 y" N4 X) Y
2 q( z! t. x# v% ?* C$ j2 L
Discuz!插件模板版本选择:0 v8 W; O  _# W9 {$ f8 e/ F
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
) i. Y3 |/ n& H/ u# x, J针对这个问题做个统一的普及:9 }& N# d' i; A1 f
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
* Z1 n: `4 g" E- Q8 y- O1 E8 A4 @6 E2 p' O
所以7 o+ _. N6 k+ c$ N5 M
适合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 p* d3 f, S* A
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。0 i; F- `% U0 G3 {
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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