分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
+ H& m* R1 M# ]* A3 m9 J
6 K8 d9 z5 _/ G* o, k& W1 c% ^
  1. [PHP]7 X* G) f  Q  c6 b7 m" h4 d# }

  2. 2 {: X% x' G$ F( q: k
  3. ;;;;;;;;;;;;;;;;;;;
    : b; W8 Y. F, E9 b$ y# T- s
  4. ; About php.ini   ;
    3 `+ ]' v% S' w5 O* A& U' E# V
  5. ;;;;;;;;;;;;;;;;;;;5 V- C9 N( H) A0 [  N  J4 X
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    - a" B* [  g8 r0 f5 u' y8 x
  7. ; configuring many of the aspects of PHP's behavior.0 W7 O1 t7 Q; |+ |1 Z
  8. " V6 `8 h( U/ O5 J" F* ^; u
  9. ; PHP attempts to find and load this configuration from a number of locations.. _% U. ]1 D" g
  10. ; The following is a summary of its search order:+ t* ~1 W) W' Y
  11. ; 1. SAPI module specific location.
    * c4 N5 a, J& @
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)* c9 C/ ^. t3 t  J7 O3 Y
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)  |2 ~: c) T2 b" `' R
  14. ; 4. Current working directory (except CLI)7 E2 Y0 l1 A# b, k+ t7 d' a0 q
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP( C/ f: J3 `: ]& N) J
  16. ; (otherwise in Windows)
    ; l1 W6 i$ Y9 y0 \) K1 _) _4 F
  17. ; 6. The directory from the --with-config-file-path compile time option, or the7 f1 o" g: ~: R6 Y5 s" Q
  18. ; Windows directory (C:\windows or C:\winnt)* f; O" S; c4 V; P, v" {
  19. ; See the PHP docs for more specific information./ W. u- }+ ?- H
  20. ; http://php.net/configuration.file
    + J* S" f7 U# u4 k' W
  21. , k( L" U- H- z0 N: n
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
      U# g. T* z, H" a# w' r8 @, I4 o
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
      F7 i& Q$ r- X: [+ M& O2 b# I
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though' |; v; A7 A8 W& O& W
  25. ; they might mean something in the future.1 F3 S$ ~. Q! k( L5 V7 l1 Q

  26. 9 i+ g4 ^% p" q3 }6 M* w& u& a9 ~0 c
  27. ; Directives following the section heading [PATH=/www/mysite] only8 p$ f; y; z9 |% W
  28. ; apply to PHP files in the /www/mysite directory.  Directives$ ]: H# q4 n- {4 n8 r0 q8 m3 c
  29. ; following the section heading [HOST=www.example.com] only apply to$ C  K2 D: }; x# K
  30. ; PHP files served from www.example.com.  Directives set in these6 Q( W: H* S1 s* n0 f
  31. ; special sections cannot be overridden by user-defined INI files or
    - w+ P9 q& h. Z% k* y
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under3 j  ^/ o  p) E
  33. ; CGI/FastCGI.
    & r% |7 S; ^$ m
  34. ; http://php.net/ini.sections: c8 m% p% ]" v

  35. 8 `7 T, t/ {8 |/ j8 [
  36. ; Directives are specified using the following syntax:
    / A" z, |# k% d  w" t8 k
  37. ; directive = value
    8 V# K' f, t8 H5 R
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    6 w& _1 V5 m, u0 |7 [! Q/ n
  39. ; Directives are variables used to configure PHP or PHP extensions.
    9 O( z) `6 X# j& U7 _, ^+ n/ N
  40. ; There is no name validation.  If PHP can't find an expected2 _( z! r( V. ?/ ?
  41. ; directive because it is not set or is mistyped, a default value will be used.
    # i) m7 y/ V7 @4 F

  42. ' e( |4 m2 o3 C5 `
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one1 c, ~' T" U3 C9 P& ]4 \
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression* ]2 @& q8 E3 p, Q* x
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a& h7 |/ m0 l% ^7 ~7 X3 k3 X
  46. ; previously set variable or directive (e.g. ${foo})+ z( x; F7 o3 g6 a6 r) Q
  47. 4 o/ h" d* s% h1 G3 x) ?3 `9 c" G4 P
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:) d: I! q* A" o+ _2 L7 G& G2 ^1 F
  49. ; |  bitwise OR# {! T* }2 l  u# M, d
  50. ; ^  bitwise XOR3 B: z. j$ F* R& t0 @! R2 Z
  51. ; &  bitwise AND
    & |9 ]  F3 D+ V: s3 r8 X3 c
  52. ; ~  bitwise NOT
    / a, O& Y  ]0 V$ C
  53. ; !  boolean NOT
    7 ]6 y& Q( J( W7 h( c* |
  54. 7 {" `& Z" e$ C3 G/ n
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.& C, y; X1 y  k1 \/ Z  C5 w# ~- ?
  56. ; They can be turned off using the values 0, Off, False or No.% f2 f! s. J1 }/ ]0 Q3 m$ D
  57. ' \5 D' C8 \- y% o$ B+ f  S/ R
  58. ; An empty string can be denoted by simply not writing anything after the equal5 i) j2 g3 J* o' r
  59. ; sign, or by using the None keyword:
    2 A1 }- Q! O) \0 `/ U; H
  60. 0 I7 `( h; x+ c! o4 R
  61. ;  foo =         ; sets foo to an empty string- Y: S( k" n3 f9 c
  62. ;  foo = None    ; sets foo to an empty string! `# W0 k- P# a2 @
  63. ;  foo = "None"  ; sets foo to the string 'None'- R* z' Y: D0 z; c2 S# Z
  64. ( C9 M, q* b8 u1 J! `+ s; }
  65. ; If you use constants in your value, and these constants belong to a5 ]  R6 Z2 T; U
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ! n" y7 D+ B: l5 m2 k8 z" U- b
  67. ; you may only use these constants *after* the line that loads the extension.: z3 K% j/ I( C: v" J6 J, f

  68. 8 j! m: ]) r6 w1 n' i2 ?( p4 r
  69. ;;;;;;;;;;;;;;;;;;;( ^: v" G! _( V
  70. ; About this file ;
    0 C( u  S" a) W. x
  71. ;;;;;;;;;;;;;;;;;;;8 T; p# `: D7 R
  72. ; PHP comes packaged with two INI files. One that is recommended to be used4 L& h. q# Z- r! d& m
  73. ; in production environments and one that is recommended to be used in. y2 z$ L+ C3 d9 g( m: f4 x
  74. ; development environments.
    , b4 `5 R+ [  g9 u

  75. * p" f! Z3 A: N* o/ Y0 S" p
  76. ; php.ini-production contains settings which hold security, performance and! l$ w- _9 h: Q9 L2 Y
  77. ; best practices at its core. But please be aware, these settings may break
    3 p( g* j) z6 U
  78. ; compatibility with older or less security conscience applications. We# N  C1 Q7 o6 j
  79. ; recommending using the production ini in production and testing environments.
      v" A4 l% A5 O- C

  80. 4 l( q# `9 j# W
  81. ; php.ini-development is very similar to its production variant, except it is
    , f# J# a- V2 L8 w  N
  82. ; much more verbose when it comes to errors. We recommend using the
    " \2 N! }5 L& U  s3 j6 R8 i
  83. ; development version only in development environments, as errors shown to
    ) ~! O! o3 I8 c( m% p4 r
  84. ; application users can inadvertently leak otherwise secure information.
    7 n3 a$ d4 H& r" N, ?1 ?

  85.   \& j$ T1 q  M& c
  86. ; This is php.ini-production INI file.  G% B* p* ]% f. O: w7 e

  87. 3 h2 N+ x8 k: s8 \/ C! j
  88. ;;;;;;;;;;;;;;;;;;;0 M8 D4 z$ E: k  b# \; W+ @! M/ e
  89. ; Quick Reference ;$ `+ R& q. j. q1 Z7 J9 f
  90. ;;;;;;;;;;;;;;;;;;;# i+ c: V) A  A' o$ @0 \$ G  G
  91. ; The following are all the settings which are different in either the production6 y5 a1 `. g7 n
  92. ; or development versions of the INIs with respect to PHP's default behavior.; x% T4 I+ F5 W* S6 D. n* s' S
  93. ; Please see the actual settings later in the document for more details as to why
    ' I2 w3 G$ B* x9 |0 N6 `. }
  94. ; we recommend these changes in PHP's behavior.! g" T9 N1 w' e

  95. 9 ~* b- x' W! Z  l# X% n  n
  96. ; display_errors
    6 L1 X* U  ?, S
  97. ;   Default Value: On
    ; U% P6 D% f" G7 R- c* F) V
  98. ;   Development Value: On
    + m( x/ p: ~5 `
  99. ;   Production Value: Off
    . R# M' Z( `! i& p; Z
  100. 3 ~5 D) A/ G' Q% @% U
  101. ; display_startup_errors
    6 Q3 ^% N9 B1 W/ _- s& n
  102. ;   Default Value: Off
    0 e6 @5 |# N# B
  103. ;   Development Value: On
    : j$ i' M/ H7 o, {) L
  104. ;   Production Value: Off. b) ?; h: a4 V2 N9 f

  105. . }. x: @; O6 {3 P% ]
  106. ; error_reporting
    / [8 l4 q, ~1 b
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    6 n  q8 e" n& @$ q' _' w
  108. ;   Development Value: E_ALL2 R+ m1 _9 l1 X( r% V
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    * Q$ i/ b/ ^8 g( Z7 U
  110. 5 t* P* j* t0 _# M3 b
  111. ; html_errors
    , b5 Y9 i9 L% J# ^
  112. ;   Default Value: On. A$ L: c# o0 A5 {9 r
  113. ;   Development Value: On5 k1 C# i$ F" m6 q/ U
  114. ;   Production value: On, K% [* b9 ]4 U. C" u0 _

  115. ) k/ g1 w7 p- Y3 p
  116. ; log_errors
    & H2 [* V- M- ?* y
  117. ;   Default Value: Off
    ; _9 K# K4 {3 q( B; v
  118. ;   Development Value: On
    % C3 {2 a9 `3 S
  119. ;   Production Value: On! e# G* g& n( R6 c/ r! g: B- M0 U! @

  120. 3 J1 j1 L* `+ v7 x  ~* k1 a5 c
  121. ; max_input_time
    0 z7 q2 ?5 r) [
  122. ;   Default Value: -1 (Unlimited)9 d2 [( D/ X+ G- a! }! V7 h
  123. ;   Development Value: 60 (60 seconds)7 a7 z6 x5 A9 d( J
  124. ;   Production Value: 60 (60 seconds)% P2 P8 |9 r$ s8 V& S8 m

  125. 1 j8 q( A8 s, g
  126. ; output_buffering) B: V) r( S1 U$ M
  127. ;   Default Value: Off+ P. v1 |) i% M) p7 z
  128. ;   Development Value: 4096
    0 r$ T  j. u+ T: R' o
  129. ;   Production Value: 4096
    $ O* `6 d8 H9 C2 ~

  130. " y. c5 J2 j' B1 t8 R* P2 ]
  131. ; register_argc_argv
    4 x$ G+ U1 Y& M( b) J: r
  132. ;   Default Value: On
    % x: C! b6 R# g9 ^: R. s* N7 J2 ^
  133. ;   Development Value: Off
    - r4 k, e4 m8 q. t& {6 J
  134. ;   Production Value: Off! L% |: L* l( U/ ^

  135. 6 T, [9 }' \. h7 f& X% _5 b
  136. ; request_order4 j: S+ S7 e  K7 C5 \* t
  137. ;   Default Value: None
    ! |1 l5 Y. o# Z
  138. ;   Development Value: "GP"
    : c, L3 Y' ?: U) l4 d
  139. ;   Production Value: "GP"
    0 N3 O/ C, ]. V1 j+ u0 i$ i
  140. - e1 E2 M, {# N8 \1 D
  141. ; session.gc_divisor$ }% M+ `% G8 q" a( j& R7 Y5 I. P
  142. ;   Default Value: 100
    2 f. _& Q" s6 p/ r9 r. q3 E
  143. ;   Development Value: 1000
    * p  H9 P6 Q3 k1 ^! _# {- u
  144. ;   Production Value: 10007 s( Q1 r# O5 ^4 g& J4 M4 H

  145. : |! `4 C3 {% l3 Q3 I
  146. ; session.hash_bits_per_character# R6 L% t8 b  \( n
  147. ;   Default Value: 4, e0 P/ `8 S2 w+ R- z: s
  148. ;   Development Value: 5% x: @* N* \$ M4 y" E6 S* R
  149. ;   Production Value: 5
    7 i6 _! n& F$ _5 v$ w- k
  150. 6 m+ J1 P8 c; t9 x7 }$ _$ R
  151. ; short_open_tag5 {: y8 k  s) i4 i* J
  152. ;   Default Value: On# h( d5 h+ A3 @' d) h
  153. ;   Development Value: Off. I" t! z) J2 K8 D) I4 B
  154. ;   Production Value: Off! o( j* m4 b+ l+ K; U! N

  155. 6 C" [- L+ z) h. [1 @/ v
  156. ; track_errors
    6 M# l& C5 A" c* Q
  157. ;   Default Value: Off; G6 t  s1 g9 }* f6 b- S
  158. ;   Development Value: On
    ! `; ^* h/ ^/ A% w- n& _1 w
  159. ;   Production Value: Off
    5 \5 v/ |4 K  R& A- ?

  160. 4 F9 k$ }  R8 Q7 V
  161. ; url_rewriter.tags  Q& |0 o) R9 S2 X) q; o
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    . T4 _# ]4 L* X( h
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ t1 `& b! G$ s% p9 f; p- i: N
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ L- i, D- t* j+ g0 y9 n. V
  165. - i( \/ _& G( n, W* S
  166. ; variables_order, M! p3 G1 V( j! k8 H* Z. X
  167. ;   Default Value: "EGPCS"
    - b& L4 t) q# N" c) W" L$ P
  168. ;   Development Value: "GPCS"
    . ]+ A3 [  ~4 g/ M. a2 T  P
  169. ;   Production Value: "GPCS"
    % K8 w, N1 o- ~

  170. / l  p7 H% x0 i8 [" i% `
  171. ;;;;;;;;;;;;;;;;;;;;1 t9 i& v( k5 a
  172. ; php.ini Options  ;0 d$ ?3 O" n, R; c/ y5 q; ~
  173. ;;;;;;;;;;;;;;;;;;;;
    2 \  z$ I6 H2 Y) w/ n) l4 ~# K
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"5 d' ?4 C. O" h6 a) i8 t  `& B; P
  175. ;user_ini.filename = ".user.ini"+ x3 P: G+ M! N9 D
  176. 0 R0 R, @4 j$ m; X; Z1 l9 f( [
  177. ; To disable this feature set this option to empty value
    0 N* w% I6 J" p
  178. ;user_ini.filename =6 V/ F3 Q& w  ]* |7 |& A+ s

  179. . T2 z" s0 C3 ]
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)' w9 n2 |  z* v4 i
  181. ;user_ini.cache_ttl = 300
    " I7 T' c0 A. M. }& \$ q0 q

  182. # T& Z! d1 T: c7 D% M
  183. ;;;;;;;;;;;;;;;;;;;;
    9 z: \: c% }3 l  u0 z  X
  184. ; Language Options ;
    % l" x5 y, h2 ~
  185. ;;;;;;;;;;;;;;;;;;;;
    1 o$ G1 ]! T# f% O/ U7 T
  186. $ s, U$ q6 i  H
  187. ; Enable the PHP scripting language engine under Apache.
      G& I  l# n* ?+ Y2 g, E3 q
  188. ; http://php.net/engine
    7 H6 p) F( e0 c" h/ Y) l
  189. engine = On
    & t; K) K' v( p' y9 b; p
  190. 7 d1 d; D2 |8 G6 c$ g: n9 K1 y
  191. ; This directive determines whether or not PHP will recognize code between5 ^  m! z1 Y8 U4 \) x' D
  192. ; <? and ?> tags as PHP source which should be processed as such. It is6 B% y& E! {3 X& D0 Z
  193. ; generally recommended that <?php and ?> should be used and that this feature
    1 q  c' i! k5 x2 V7 Z
  194. ; should be disabled, as enabling it may result in issues when generating XML
    7 {4 S& j$ g) ]8 B6 C) ?
  195. ; documents, however this remains supported for backward compatibility reasons.3 [/ o+ u7 W- A. x* c+ O+ Z: e2 Q
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    2 L! A& Q3 ~0 E# m- B
  197. ; used regardless of this directive.
    ; t. e. f8 d6 l
  198. ; Default Value: On
    ! E9 d4 u9 c" D/ @, J: E+ _6 p
  199. ; Development Value: Off
    " F( `9 [. `' i$ f9 k2 G. \1 c& c
  200. ; Production Value: Off$ `1 w7 O4 ?: p! c) B0 W
  201. ; http://php.net/short-open-tag
    ' b5 b9 m! L" x- k/ R
  202. short_open_tag = On2 |" j& ~6 [$ E. T

  203. . }" j# v. X) q; j5 p; ^
  204. ; The number of significant digits displayed in floating point numbers.
    ( k* b5 Q% N* H$ Q3 u
  205. ; http://php.net/precision
    & V4 c+ [, x) W. J
  206. precision = 14: z2 ]1 k' ?- H" N6 ?7 _
  207. 5 {% ]* n6 a0 ]
  208. ; Output buffering is a mechanism for controlling how much output data
    4 X/ S7 x; i/ Q2 f# j3 z" Q5 t
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that7 k7 h  c- h0 @, J
  210. ; data to the client. If your application's output exceeds this setting, PHP
    4 L4 [$ i" }8 s) W% }; x
  211. ; will send that data in chunks of roughly the size you specify.# C7 p) h% P6 P, {; f4 z
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    * J8 K- x# L3 Y& J' K, P) T2 Y) j
  213. ; interesting side-effects depending on your application and web server.+ Y0 Z- O/ N2 s) w) s
  214. ; You may be able to send headers and cookies after you've already sent output
    3 _) M. b& g: j9 z/ ~/ Y3 S
  215. ; through print or echo. You also may see performance benefits if your server is  n* ?7 w3 |% h" e/ R) b6 e
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    1 X. e; k4 Q" H; U' o( h
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
      p8 x2 ?6 q4 r
  218. ; reasons.
    * m* S0 ?( x3 V& j$ i7 u
  219. ; Note: Output buffering can also be controlled via Output Buffering Control2 G1 h4 T* K7 g- z! F) ?5 b
  220. ;   functions.9 k2 J: J! {0 s  x2 L; [- g
  221. ; Possible Values:/ P6 s3 X* z5 r$ |  K
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    % s7 A) r9 |1 y
  223. ;   Off = Disabled
    ' ?1 U) S& W4 w+ Z; d# ~
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    4 E8 M, e+ F4 F+ V- [9 h
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    - @% S+ y* R$ y, N( N, X+ l
  226. ; Default Value: Off
    7 h  r& n7 S% C; |+ c3 S$ B
  227. ; Development Value: 4096
    8 N. j" i3 z5 F% Z  U. x
  228. ; Production Value: 4096* ^6 Y- k2 C- J2 R1 o
  229. ; http://php.net/output-buffering' k6 v4 P- o* L
  230. output_buffering = 4096
    5 D. G) x7 e+ `& v

  231. : `& E% f- v" ?7 G3 F
  232. ; You can redirect all of the output of your scripts to a function.  For! ^3 n% M2 b1 N9 E9 A& @
  233. ; example, if you set output_handler to "mb_output_handler", character
    8 A0 D. @7 @1 K8 c- [" u
  234. ; encoding will be transparently converted to the specified encoding.
    8 V3 i1 L# L4 ]9 z4 @! m
  235. ; Setting any output handler automatically turns on output buffering.
    * S6 I, e* }2 G" M9 `8 i& U; x+ F
  236. ; Note: People who wrote portable scripts should not depend on this ini5 u8 b" ]) {1 X" E2 {, M
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    * r$ \& l* E: z; H; Q6 e+ U
  238. ;   Using this ini directive may cause problems unless you know what script
    + W: H$ v, `, O; I
  239. ;   is doing.
    4 I' o9 U& h) m$ X- q% z( g3 k
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ) X* m. s0 \3 x8 a3 d' N
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".' G' o( ?3 w  ^) M8 s
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    0 I  M% a; s) u5 G% r  e9 w* z
  243. ;   Instead you must use zlib.output_handler.
    . N9 J2 ^4 G, U; a& M/ ~7 B
  244. ; http://php.net/output-handler" }3 c5 [) N) V+ R
  245. ;output_handler =
    7 K8 o. g; o; D+ E$ ~* s4 v: p

  246. 2 z  E1 \% w* j% r( _9 L: q7 ?
  247. ; Transparent output compression using the zlib library
    0 l7 T/ N6 i3 [* z5 r) C) \9 I
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ) S$ k  H* x0 B( r; \/ ?" G2 t
  249. ; to be used for compression (default is 4KB)
    / p0 _: s6 P' O0 c5 B
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP  j& a% R5 S8 w3 U  u7 C2 H$ i: p
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    0 Q' [& J) U1 G5 S% ~* E7 C
  252. ;   compression. If you prefer a larger chunk size for better+ b# Z/ _: T% Q4 D. C
  253. ;   performance, enable output_buffering in addition.+ S5 g7 G  Z1 e7 r" G$ j) O
  254. ; Note: You need to use zlib.output_handler instead of the standard
    + q6 `1 ^* v  |
  255. ;   output_handler, or otherwise the output will be corrupted.. }( S  C4 p) {) `3 |" m6 Y7 F
  256. ; http://php.net/zlib.output-compression" i+ u2 q( g1 ]% O
  257. zlib.output_compression = Off
    ! `6 x% G+ W+ I! I) _2 e
  258. , {3 |1 D) f7 h% r1 S9 |3 e
  259. ; http://php.net/zlib.output-compression-level3 H9 r; [0 H2 o' N/ s: F
  260. ;zlib.output_compression_level = -1+ p& R& v. o3 m* ?( b

  261. * F( \9 @8 O6 Z0 I! T9 e
  262. ; You cannot specify additional output handlers if zlib.output_compression
    4 X" Y( x4 ]. w6 Q
  263. ; is activated here. This setting does the same as output_handler but in
    ! K( p# N; |8 j% h( a
  264. ; a different order.
    4 Z- [' C" t* W1 G: X0 A
  265. ; http://php.net/zlib.output-handler4 p7 w( o) @- ^( X% h4 V
  266. ;zlib.output_handler =4 `9 ^/ K, ~/ U* [5 H. ~6 m

  267. ( [" A3 x/ s' {* ~# O
  268. ; Implicit flush tells PHP to tell the output layer to flush itself6 A# N" w/ n7 ^) U6 n" |
  269. ; automatically after every output block.  This is equivalent to calling the- v; J1 f. f) S+ O+ K2 z* {# `
  270. ; PHP function flush() after each and every call to print() or echo() and each
    : j9 A0 e  z) h. _1 h/ P3 B
  271. ; and every HTML block.  Turning this option on has serious performance
    $ _: n+ Y1 p! `
  272. ; implications and is generally recommended for debugging purposes only.& y& B: M: e9 k! [: E+ P
  273. ; http://php.net/implicit-flush7 X' f4 p2 f+ k5 F0 N- u# c9 n: k
  274. ; Note: This directive is hardcoded to On for the CLI SAPI( d# _$ o- K- J
  275. implicit_flush = Off) {& o& L9 w$ f' D/ u

  276. 4 ]* p) \0 Z0 q" y2 ^# J
  277. ; The unserialize callback function will be called (with the undefined class'% `  r7 r6 {  ]) g
  278. ; name as parameter), if the unserializer finds an undefined class* [, l* t3 }/ ]# r& c) |# J& ]
  279. ; which should be instantiated. A warning appears if the specified function is
    9 C' C# n! v/ q1 f! p
  280. ; not defined, or if the function doesn't include/implement the missing class.
    9 o$ {  E! {6 t+ s3 C# u+ W
  281. ; So only set this entry, if you really want to implement such a
    + k" _* V9 U5 p) n) w" \, b
  282. ; callback-function.$ A' ]& {' ]8 }- x; V
  283. unserialize_callback_func =* }: w( B3 n' x
  284. $ W/ J3 M1 \$ }  Y6 t$ c2 @' l
  285. ; When floats & doubles are serialized store serialize_precision significant
    ! p0 X7 ^0 d* T* X- D4 Q+ B3 [
  286. ; digits after the floating point. The default value ensures that when floats( ]5 H0 R' e1 R: x  }' z
  287. ; are decoded with unserialize, the data will remain the same.( ], F% S3 y3 E+ F2 j
  288. serialize_precision = 17
    8 @* I, M- ~2 [/ f) d4 X& f# F
  289. * z) F; ?0 S) y
  290. ; open_basedir, if set, limits all file operations to the defined directory
    6 P( q- }) p- {9 I* X
  291. ; and below.  This directive makes most sense if used in a per-directory
    2 H: m# f0 W5 u5 O, D7 l
  292. ; or per-virtualhost web server configuration file.+ T$ S- C( ^( |
  293. ; http://php.net/open-basedir
    ; D* R8 h" V9 E5 b2 q3 q& M
  294. ;open_basedir =# g0 g4 T4 u% L9 m% C* T9 o

  295. ) {+ y1 ]2 B& A# n. ]& B
  296. ; This directive allows you to disable certain functions for security reasons.
    ) {: k9 K- s2 G. t  K
  297. ; It receives a comma-delimited list of function names.
      N; o2 l* M1 h1 D" C/ ?+ x
  298. ; http://php.net/disable-functions
    ' `% `, y0 }) {4 w; d! j: f6 T% D  o; h
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru( t& p7 |5 |3 R+ }( P2 I3 n) N

  300. ( n3 J' g3 Q& o. y
  301. ; This directive allows you to disable certain classes for security reasons.
    * S9 i+ w& B, ?/ Q6 G
  302. ; It receives a comma-delimited list of class names.
    0 B! y) y% l, h  j, |9 b9 T
  303. ; http://php.net/disable-classes
    7 ?. C- b* l; j9 m  Z
  304. disable_classes =
    $ [0 E8 H( k+ ]+ k) l0 z
  305. ( H; u* i6 e$ M) {) @
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in3 H9 _6 D$ F2 P! |' p- R6 o7 v  I
  307. ; <span style="color: ???????"> would work.# g2 L6 m# D) E- h/ m
  308. ; http://php.net/syntax-highlighting$ ^/ W% Q% T  u, Z+ d! M7 t
  309. ;highlight.string  = #DD0000
    1 H8 Q# d8 ]. \- a# d; {
  310. ;highlight.comment = #FF9900
    4 c+ {  O- ~! e+ k" ^; f
  311. ;highlight.keyword = #0077006 |( V* K* P" V8 T% W7 H
  312. ;highlight.default = #0000BB
    # n' j. Q/ J% V9 s0 e
  313. ;highlight.html    = #000000
      x5 D+ R2 B$ p4 o$ R$ Y: ~

  314. 5 z! w9 ]6 `$ b- y; W3 Q
  315. ; If enabled, the request will be allowed to complete even if the user aborts# F5 r7 T- ?/ K# d( a+ X  Z( X2 X
  316. ; the request. Consider enabling it if executing long requests, which may end up: A: _$ H& U7 s; d; {
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    " f9 ^+ F3 U, K$ ^; A
  318. ; is to disable this feature.
    1 n/ H2 [3 a% J( [1 u6 `# ?' `( v: n
  319. ; http://php.net/ignore-user-abort' b  R+ v! @, M6 R, X  ?
  320. ;ignore_user_abort = On
    - u; |- l$ z; r7 j1 Z% m2 R4 E' h$ s
  321. / b& Z9 ^: o( {& e3 L7 g
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    3 ]8 p; c3 J5 B7 k5 |! a5 |# c
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    ( I8 R2 N* \' c4 E" C' T; h
  324. ; the file operations performed.
    : i" r% R; f, \
  325. ; http://php.net/realpath-cache-size
    3 F4 O1 y$ X+ F" D; c
  326. ;realpath_cache_size = 4096k. u$ r0 K3 x5 u# T# w- _0 |5 ?, |

  327. ; O! n7 E6 r0 m& o2 w& N
  328. ; Duration of time, in seconds for which to cache realpath information for a given$ D% _0 }* j2 u" _7 W
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    7 v; U9 t' q+ Z
  330. ; value.- L: h2 r8 ?$ F5 k
  331. ; http://php.net/realpath-cache-ttl
    : f. Y8 S$ Z/ Q& L& b. _
  332. ;realpath_cache_ttl = 120
    ( L- c  H: M8 U3 i" B

  333. * s/ v4 x/ X7 t& A+ E
  334. ; Enables or disables the circular reference collector.
    4 ~  I9 V4 D" X& H
  335. ; http://php.net/zend.enable-gc' h1 _- ^) x4 u0 c! P2 J
  336. zend.enable_gc = On
    ! y) U4 m% Y' L1 W  K. ^

  337. 9 a" \3 i" F; p5 Z. o8 x
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    : d( s3 a/ h5 d" P/ A8 S" n% ^; ]
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such; `, R& c" _; [! N- S
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    $ l$ E8 H$ Y+ v. e% t
  341. ; Default: Off0 G# @  k+ Z( B7 U9 \5 ~/ \
  342. ;zend.multibyte = Off* t/ B+ m' C. J2 c

  343. 8 [  A+ y1 P# r
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    + @- G- H4 e2 `: r4 z* M0 h
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    2 E$ f% s  c" J8 e9 k
  346. ; Only affects if zend.multibyte is set.# w7 X4 J! r6 q; A# h: T. H
  347. ; Default: ""
    ! _) a' V9 k6 d7 j
  348. ;zend.script_encoding =3 d, X  z# {* r0 B6 \

  349. , ]: M) a, F1 ?6 o
  350. ;;;;;;;;;;;;;;;;;
    " G. [: v4 U9 \9 p0 }
  351. ; Miscellaneous ;! b# i' H2 }# L& U. c
  352. ;;;;;;;;;;;;;;;;;4 X; S( f' o5 Y+ k- m
  353. # R( T& e4 M# M9 |+ `2 k$ n4 g" e
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    & |2 u) {3 d% x  f8 L; ?
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    4 z% T7 x0 o5 b3 h, b! }& T
  356. ; threat in any way, but it makes it possible to determine whether you use PHP9 ~# R0 ?, q% d: a2 g
  357. ; on your server or not.
    2 f+ u6 a) o: h3 a. e$ f* q
  358. ; http://php.net/expose-php
    " w1 C8 F' d; M- P
  359. expose_php = On
    ! f: }' x: R+ }  n+ j0 W. _
  360. - O/ A6 B) [  ~) y1 [
  361. ;;;;;;;;;;;;;;;;;;;
    * `* ^4 v" w: ^
  362. ; Resource Limits ;
    3 O$ y& y6 k0 W& ?% a9 ]- ^
  363. ;;;;;;;;;;;;;;;;;;;
    0 u# A/ a* K* X/ o0 y
  364. . r- w5 b; {3 u5 t
  365. ; Maximum execution time of each script, in seconds0 z  V6 s* }; Z
  366. ; http://php.net/max-execution-time' [, l) x6 b: l  r( J+ A4 z) O
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    $ H6 a/ Q/ X1 Z& h+ \; O
  368. max_execution_time = 300
    0 H! m6 }' w$ Z, U8 B9 v( R/ r3 ^2 {
  369. + d$ O2 R$ C* {. N4 K" Y  V+ j0 F
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    3 ^4 W5 h; W* x
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    & d  d7 ]% _9 y. M1 O: ]2 y% m
  372. ; long running scripts.
    7 ^  }' x1 y! A: E
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI, D, ^" ^, O2 e# R
  374. ; Default Value: -1 (Unlimited)/ z% ]% X/ b4 g6 }% O3 M
  375. ; Development Value: 60 (60 seconds)0 z# i; S3 ^1 W- Z  Q- N) S4 l
  376. ; Production Value: 60 (60 seconds)# E* C4 c- L' }7 i
  377. ; http://php.net/max-input-time# @6 I2 S, e  {, b4 p. u
  378. max_input_time = 60- O0 o( \1 E. T& T( ^# C, T
  379. ! Y0 U/ m  y! A! x
  380. ; Maximum input variable nesting level, g6 N/ t% p; E5 S5 q; }
  381. ; http://php.net/max-input-nesting-level. e1 p" ]4 p3 \6 a6 R6 t! m4 C
  382. ;max_input_nesting_level = 64; ~0 F" o2 `$ z0 N" J) X
  383. 7 M. M5 k" e8 z' W$ Q+ R
  384. ; How many GET/POST/COOKIE input variables may be accepted
    1 q( g! u# B& L$ M  D
  385. ; max_input_vars = 1000; M- z( m  Y/ l2 f7 B

  386. * Q  [* T1 A0 p2 {
  387. ; Maximum amount of memory a script may consume (128MB)2 V) R* v' b# A
  388. ; http://php.net/memory-limit' J' o/ `3 {  F3 E( \+ I0 i
  389. memory_limit = 128M; ~9 ~4 L; y0 s9 i  a

  390. * i: ]& N5 ^/ I; Z* Q' G) F# |
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2 X: L/ @2 }+ T( @3 Z" {
  392. ; Error handling and logging ;
    9 O# C2 \5 |$ u0 L/ r* _; h5 X
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    8 W/ U- ?+ S, N* N- V  l. d  X

  394. ; o- U- b! Y: {4 r: p* G+ Y$ k
  395. ; This directive informs PHP of which errors, warnings and notices you would like' ^/ `: s. F) D) `( e& }7 G
  396. ; it to take action for. The recommended way of setting values for this  p% g% M! K6 L6 ?
  397. ; directive is through the use of the error level constants and bitwise3 Z- w$ F; e7 R( `
  398. ; operators. The error level constants are below here for convenience as well as6 @; u; d. r9 A! b. \
  399. ; some common settings and their meanings.
    . L, Y# q' r% `4 t
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT1 e! Y: Y$ ?3 N8 R
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
      r# w1 @8 l3 B$ ~
  402. ; recommended coding standards in PHP. For performance reasons, this is the, T9 P6 H- a# M7 k' ~. W6 [4 k
  403. ; recommend error reporting setting. Your production server shouldn't be wasting% i1 h1 O1 u+ z+ G! ~$ V8 P& N, S  ~
  404. ; resources complaining about best practices and coding standards. That's what
    ! p9 J6 ^2 p2 T+ M  R7 Q4 p% G
  405. ; development servers and development settings are for.$ m1 q8 D6 y. ^1 q
  406. ; Note: The php.ini-development file has this setting as E_ALL. This8 H; x' g* d4 W. w1 u, Z
  407. ; means it pretty much reports everything which is exactly what you want during  C2 K3 V/ `* p) N4 U% O0 ^# T
  408. ; development and early testing.
    . C  Q1 J1 ]+ m) v1 ~. W$ m' C
  409. ;
    4 [' t) E6 C1 e* k* m  Z- a
  410. ; Error Level Constants:
    2 X) y; L+ Q. ?6 f3 h* u
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    9 ~  K( `( j! c1 i; W) k
  412. ; E_ERROR           - fatal run-time errors
    8 c7 b% u2 F5 H% ]7 I$ d
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    , R% Y* B8 ~6 {5 h- V
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    2 ?" e2 S& R4 u% I
  415. ; E_PARSE           - compile-time parse errors
    , C' Q5 O) k! E
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    ! f* O& \& _: X. l& ]0 _' r: T
  417. ;                     from a bug in your code, but it's possible that it was4 a1 _/ [" d8 W" L3 K
  418. ;                     intentional (e.g., using an uninitialized variable and/ z, u' ?- N; g
  419. ;                     relying on the fact it is automatically initialized to an; z' J1 }; ~% C" V2 [
  420. ;                     empty string); y! y8 k9 z  E8 e! |1 p
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes, v4 W" |2 M7 C/ {. q1 N
  422. ;                     to your code which will ensure the best interoperability7 S1 z, {/ v% ^' E- c- x
  423. ;                     and forward compatibility of your code
    & A$ C3 G% N  n0 ~3 [# z
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    4 M7 i) g- G& g) l/ A, F3 O; [4 L
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    0 h* O# Q( q6 {9 ]( n9 B
  426. ;                     initial startup
    $ I5 t9 P$ \* w  B* X
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    : @+ s) Q6 {& [
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)! x2 E! n8 v; v3 Q
  429. ; E_USER_ERROR      - user-generated error message5 S7 g! o; s* b" u. K! p
  430. ; E_USER_WARNING    - user-generated warning message3 q! H0 B' P8 U, b2 W) C% \
  431. ; E_USER_NOTICE     - user-generated notice message
    2 W& n: ~7 n. _, v& J
  432. ; E_DEPRECATED      - warn about code that will not work in future versions' Y+ z# R$ L  `
  433. ;                     of PHP; W1 Q) T2 @  v
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings" ?* X: C# `' v, l. t2 Z3 b
  435. ;6 Q  p3 s/ \# E2 S0 c
  436. ; Common Values:
    3 p* G4 G4 g- \. S
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ; E0 a4 e$ X3 [3 g
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    - h' r7 |1 V2 f7 _4 V) @. s
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    5 ]2 _3 d+ h; f8 r7 @/ \
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ! @7 ?! a* a* L0 x# n
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED  w( B9 K; }* n+ n  ^' j
  442. ; Development Value: E_ALL8 |7 @1 t9 \! R. K( F$ i5 A  i
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT/ P: C, ~+ E/ X8 ^+ z
  444. ; http://php.net/error-reporting
    ; ]: H# t8 F& b% M2 a" n# q/ f6 \& M
  445. error_reporting = E_ALL & ~E_NOTICE9 C2 x! e: ~& s% Y3 E3 q
  446. ) l  i& C7 l) a
  447. ; This directive controls whether or not and where PHP will output errors,$ Y; R0 A2 @; q0 d7 }
  448. ; notices and warnings too. Error output is very useful during development, but
    7 c( x/ j. f( M8 N, ~) t* W% T( D, A. Y
  449. ; it could be very dangerous in production environments. Depending on the code
      S8 O# F; B" i3 m, H8 E# {
  450. ; which is triggering the error, sensitive information could potentially leak
    . ~+ N6 |& k- e
  451. ; out of your application such as database usernames and passwords or worse., f! e0 q3 R" ?
  452. ; For production environments, we recommend logging errors rather than; }0 `) N1 ?+ @! [0 O
  453. ; sending them to STDOUT.( _4 l" h4 c( L6 E& D# r: h
  454. ; Possible Values:
    : h* Y) F: e2 k! e& i3 F$ c
  455. ;   Off = Do not display any errors
    9 n: Z+ K5 m6 p" b8 ^
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    6 i, R$ e, _( z
  457. ;   On or stdout = Display errors to STDOUT
    ( Y. d# \' q, B  M
  458. ; Default Value: On3 T7 N$ j) U1 w9 s! \
  459. ; Development Value: On. V: Q  {, F  S4 ^6 W* @9 u% Z
  460. ; Production Value: Off/ W3 N, a  d" ?1 P9 V. C
  461. ; http://php.net/display-errors; B% C+ S6 b- f% w: d
  462. display_errors = On
    . S7 q' V& O9 g( Y0 d% N* B! ?/ i

  463. , m5 l4 P( k' \9 K$ @1 ~
  464. ; The display of errors which occur during PHP's startup sequence are handled) Y1 Y9 j, g! C- U
  465. ; separately from display_errors. PHP's default behavior is to suppress those% l* M, X/ S( {2 n% D+ W
  466. ; errors from clients. Turning the display of startup errors on can be useful in, H+ i2 P' K) Y4 g) W3 H2 U# Q
  467. ; debugging configuration problems. We strongly recommend you
    ( E* p% d  v: y( [3 D$ J: v
  468. ; set this to 'off' for production servers.
    . m) z" ~1 u9 C5 Y& q
  469. ; Default Value: Off
    3 I. ~/ Y! @9 f6 q0 \1 I5 }1 [; w
  470. ; Development Value: On
    ) j4 U. @0 ]1 v! i* C
  471. ; Production Value: Off
    + D( Y( {7 _( Q2 F: h) l) L
  472. ; http://php.net/display-startup-errors
    7 }0 h+ U" ], E$ V
  473. display_startup_errors = Off
    / c" I' ]) C( f! @* d5 U9 ?. K9 d

  474. : ]: J  _5 R. ]- y) |- Y/ p/ ^. o
  475. ; Besides displaying errors, PHP can also log errors to locations such as a* {: {( [; J- q0 d$ ^9 r, K
  476. ; server-specific log, STDERR, or a location specified by the error_log
    0 O( v' G& F4 t1 B. J2 Q. a; S8 G) J
  477. ; directive found below. While errors should not be displayed on productions
    $ k  t: h) [( v' _( E3 e  `
  478. ; servers they should still be monitored and logging is a great way to do that.0 v  F9 K! i# e+ t
  479. ; Default Value: Off- e6 K; j  |/ V& A/ G
  480. ; Development Value: On( e9 \1 U2 Y% |
  481. ; Production Value: On& v+ Y" R; E% P& C( `& |* r
  482. ; http://php.net/log-errors
    # K. I1 G% R4 K6 P
  483. log_errors = On' u( n+ i/ Z% A$ C) J
  484. 7 @5 [" y/ m: U# L9 Q# Q
  485. ; Set maximum length of log_errors. In error_log information about the source is
    # X- _; N0 i% ^2 m* U* S# G  i
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    * V. I( B$ ?: n6 l! ]' L
  487. ; http://php.net/log-errors-max-len8 ~, y% H9 x% v# `1 J
  488. log_errors_max_len = 1024
    / E! t( V* p: d8 e4 N& S

  489. - k4 d, m5 S4 Y* d: `1 c
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same/ e! y2 i) j8 U' K- v: H" p" c
  491. ; line unless ignore_repeated_source is set true.
    ( v6 t6 b' _: g. p6 Z
  492. ; http://php.net/ignore-repeated-errors5 G$ q9 v: @5 p1 |) B  b+ k3 P; P1 c& f
  493. ignore_repeated_errors = Off# Q& _' U6 b" Z  N

  494. ; C+ g! ^. }! \8 F6 q) v6 x
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    , W3 v" D" ?' Q3 U2 b: q1 S& @3 e
  496. ; is On you will not log errors with repeated messages from different files or
    , V6 E4 g( D1 B. e; V- b
  497. ; source lines.
    + g6 ~! m1 h8 N4 d' Z. {# i0 {8 a2 ~4 V
  498. ; http://php.net/ignore-repeated-source
    # _* U5 I. }! i7 d5 p5 g$ O
  499. ignore_repeated_source = Off: d. z, }& q( o: n, C. P* r
  500. 5 r: \* |& f- O: u5 f( ~
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on! [( G$ m9 e4 H; r3 s* J
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    1 |2 n* H' Z/ c8 y% C% c2 z$ \
  503. ; error reporting includes E_WARNING in the allowed list8 z9 [! c& D/ f: `6 @' _4 X
  504. ; http://php.net/report-memleaks* ]. e. p& j& c; S! u, L9 Q1 I+ `
  505. report_memleaks = On8 R8 t4 U: y" V) g- W$ z! _8 ?* \

  506. 2 c  B1 R& J- c9 ~4 _4 H& O
  507. ; This setting is on by default.
    3 v# [" m& E# x! {7 p" x7 f% s
  508. ;report_zend_debug = 02 q- a0 M0 H* V5 v2 r
  509. 5 H+ D! l+ }# A3 t$ J9 Q& B0 B
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value& ]: D% D+ F# f2 V; O- S& L
  511. ; to On can assist in debugging and is appropriate for development servers. It should. h3 c: F6 |9 o1 T
  512. ; however be disabled on production servers.4 P# }% P- \0 b+ ~: _
  513. ; Default Value: Off
    ) O( J" V8 i! {, Q7 e2 L) s' b
  514. ; Development Value: On! R+ e& A" J" W, |! T* n
  515. ; Production Value: Off
    9 p8 A, p" Z2 D# P6 m
  516. ; http://php.net/track-errors2 K6 v9 j; Z+ C; M2 H
  517. track_errors = Off
    ; s' `4 H, H* a5 `) s. n8 @$ O! C

  518. 0 M. a" v1 R/ j5 D4 W* d3 x
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    ) N6 U  J2 L- W: P; Y
  520. ; http://php.net/xmlrpc-errors
    - k' X( N- X; M0 X0 V  D9 P8 J
  521. ;xmlrpc_errors = 0
    6 u6 \2 N* m6 p) _5 L! T' z, r
  522. . ^/ t! a/ z. Z+ e
  523. ; An XML-RPC faultCode
    ! r: M8 z  {/ l9 Q) W5 O2 a8 D
  524. ;xmlrpc_error_number = 0
    ) k0 H/ U& q0 N

  525. $ i! V) e  n4 X- _0 j& }( }: J
  526. ; When PHP displays or logs an error, it has the capability of formatting the& i0 {3 q* u9 V, b9 d; [
  527. ; error message as HTML for easier reading. This directive controls whether$ r( ^8 W0 y3 J* B2 Y
  528. ; the error message is formatted as HTML or not.* I3 P7 ^. h( ]* R2 }
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ) Z" W# ~* Y; o
  530. ; Default Value: On9 n, |7 j3 J. [
  531. ; Development Value: On0 z2 n( ]$ W* q, @+ |2 @* y2 y/ E
  532. ; Production value: On
    ( I  h; [* K( Q7 X, X1 `. V2 q
  533. ; http://php.net/html-errors
    5 T8 ?  p% H& U) J* b
  534. html_errors = On
    ; b* B; h4 j' ^2 F
  535. 4 v. s7 _0 w; s# |6 z7 n, ^5 G% s
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    " k5 |" O, s$ e9 i! i
  537. ; produces clickable error messages that direct to a page describing the error
    ; S" W: ?; _* P9 ^* C) g4 A: n0 @0 s
  538. ; or function causing the error in detail./ j5 @4 Z* R3 m, F$ J, ?4 z' J% n, c
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    3 G% h9 R" i. a3 `$ X( b
  540. ; and change docref_root to the base URL of your local copy including the8 Z+ m/ b) C8 ~4 c& @# f
  541. ; leading '/'. You must also specify the file extension being used including( I1 ]& J7 m1 b) q
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    2 M( \  T" D# v, r- @! O" r
  543. ; case no links to documentation are generated.2 ^. _1 R: \" N7 D' W3 f
  544. ; Note: Never use this feature for production boxes.$ h$ V, d; n5 M9 b0 j" W3 w  M8 g
  545. ; http://php.net/docref-root
    4 j4 L& u3 d& S6 V, _7 E2 P9 R
  546. ; Examples! j* L1 I  D* T3 B- }: ^+ l
  547. ;docref_root = "/phpmanual/"
    , H# T8 }2 k, {4 z1 g' e- K

  548. 4 ]+ Q3 O: y3 ^# W; E
  549. ; http://php.net/docref-ext; s+ U/ s' b7 |
  550. ;docref_ext = .html. \7 B& Z1 s7 p  s' D
  551. # P! k  A3 a! ^& H+ O
  552. ; String to output before an error message. PHP's default behavior is to leave
    1 g4 I0 S; j; s! N% m: E
  553. ; this setting blank.
    * A: M$ G* E6 U0 D
  554. ; http://php.net/error-prepend-string: u$ ?+ O5 ]7 }  P( P+ I
  555. ; Example:' _6 W  N8 o0 F) Y
  556. ;error_prepend_string = "<span style='color: #ff0000'>". z9 k3 ?8 s4 A; o  p

  557. 8 A- V' a2 T, c1 ~, Y* S
  558. ; String to output after an error message. PHP's default behavior is to leave2 r2 j4 R* B& @% H1 L
  559. ; this setting blank.
    4 R# u; q6 S) a) k$ D
  560. ; http://php.net/error-append-string) W7 v& P1 o* @; B! N4 j
  561. ; Example:
    4 Y1 j  K/ ?2 G7 i
  562. ;error_append_string = "</span>"# {6 D5 ~# L0 l* X
  563. + j) f8 A  Q: B. v5 ]3 M
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    , s, D6 D  O/ p( [/ l6 T+ [& Z/ s
  565. ; empty.. g8 V# k" F! m  o
  566. ; http://php.net/error-log7 ^; V. U% W5 U- l) Q$ R2 }
  567. ; Example:3 \' E2 Z( F2 E7 d: C. C3 ^
  568. ;error_log = php_errors.log
    " d6 ?7 x5 x7 I' J7 p# S$ P7 @' v
  569. ; Log errors to syslog (Event Log on Windows).0 d& t% Q4 X- ?5 F" v  m/ b
  570. ;error_log = syslog
    , n, W. y" S3 T/ F' X
  571. 8 y( U9 P; U" b+ ~: |) {! F9 b1 ]- o
  572. ;windows.show_crt_warning
    3 P4 z( y3 K% x" ^! u
  573. ; Default value: 0  l0 |) G( k! z; J5 Z5 d1 d# k
  574. ; Development value: 03 r+ `, m, J$ O& F0 ^4 _6 y9 D/ L" [. F
  575. ; Production value: 0
    1 r; X; z/ C# g
  576. * k$ C9 |, ]/ o% f% n
  577. ;;;;;;;;;;;;;;;;;
    & K0 p! x" s; E$ T: H( ~5 n- {% R1 j
  578. ; Data Handling ;
    3 F% `% X3 a5 Y; S; t
  579. ;;;;;;;;;;;;;;;;;% g* c1 e1 y7 k' C, I: N. H
  580. + s. ?& R/ D" B: ]. ?* D. E/ x; G
  581. ; The separator used in PHP generated URLs to separate arguments.9 ?3 Q0 u' y7 |" J
  582. ; PHP's default setting is "&".6 l  S. ~- E8 D6 G
  583. ; http://php.net/arg-separator.output) [- V' m0 W+ i/ X" A
  584. ; Example:* w( W7 K9 ]6 k5 `$ A
  585. ;arg_separator.output = "&"- T5 W& p) u7 i6 I: x

  586. 0 M& h& E- W# O0 s5 i8 U9 _( y  y5 X
  587. ; List of separator(s) used by PHP to parse input URLs into variables.( ?) x& ^- \5 f, O4 e% }
  588. ; PHP's default setting is "&".
    : r& [- B. x( _
  589. ; NOTE: Every character in this directive is considered as separator!
    , T3 Y( @9 X& B( q
  590. ; http://php.net/arg-separator.input
    - s1 \1 B. c3 p# `* T
  591. ; Example:
    8 A( g& c, v# ?3 f# \' X. F4 `$ N
  592. ;arg_separator.input = ";&"
    6 c8 a. G) f0 D, P- o
  593. 3 g! u2 }8 m8 m4 y. n: u
  594. ; This directive determines which super global arrays are registered when PHP9 q+ G0 }' n1 E1 u
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    3 D0 o0 J2 r0 ]+ s! R
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    & R$ e4 t5 _0 _) T( {; S6 g
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    * G; I+ `9 R8 x
  598. ; used as the others, ENV is not recommended on productions servers. You
    7 o. I5 G' h3 O
  599. ; can still get access to the environment variables through getenv() should you2 Y1 w& L$ u( r) y
  600. ; need to.
    . b; {- F9 S. A% [: }, L" q: J9 m5 b
  601. ; Default Value: "EGPCS"
    ; Z* E* U" e. K+ W
  602. ; Development Value: "GPCS"; j6 |' K. T- Q4 @& D$ v
  603. ; Production Value: "GPCS";
    6 E) D" `+ f9 s( D2 u9 v
  604. ; http://php.net/variables-order
    3 n/ f: s: X1 a+ T
  605. variables_order = "GPCS"
    2 K# E# m5 b8 Y6 n& T
  606. : k5 c' v- G) q
  607. ; This directive determines which super global data (G,P & C) should be3 ~  y. ]/ j4 N: Y+ p
  608. ; registered into the super global array REQUEST. If so, it also determines2 `; b2 B  F6 C& r. L' Q
  609. ; the order in which that data is registered. The values for this directive
    ) Y5 t' r: s% f3 V. u
  610. ; are specified in the same manner as the variables_order directive,
    % R( J7 d2 }5 R/ O# u
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    0 V9 d4 g/ u! H
  612. ; in the variables_order directive. It does not mean it will leave the super! [, i7 h  H2 L2 l) ^9 h; m2 X
  613. ; globals array REQUEST empty.6 ?8 C2 q& j9 x) B
  614. ; Default Value: None
    - s# W. `$ `7 ]' a* {
  615. ; Development Value: "GP"0 a. f6 s/ j- a, e: B+ M3 A; H
  616. ; Production Value: "GP"/ J6 D% o$ `# n+ `9 W
  617. ; http://php.net/request-order6 w# k- c9 B- ^2 V( Z! `5 E
  618. request_order = "GP"! f  k: N" e  D& o5 z* X: f8 ]( Y
  619. ( J+ `4 Z6 g5 G( \6 Q1 w; l
  620. ; This directive determines whether PHP registers $argv & $argc each time it: L  Q+ C+ T8 N9 k( c0 {! U
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    9 ]! m8 I& h' |
  622. ; is invoked. $argc contains an integer representing the number of arguments4 p* z% S5 ]. a" ]
  623. ; that were passed when the script was invoked. These arrays are extremely$ C0 v& R$ o7 N- E6 ^: d
  624. ; useful when running scripts from the command line. When this directive is
      V# R$ |8 X. `" s
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    ! q; X' d) `" T1 u' {# y: Q, T
  626. ; a script is executed. For performance reasons, this feature should be disabled
    2 Y% b7 W, _4 P6 e# b
  627. ; on production servers.
    # y) b. r. m$ ~& z
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    3 U7 e  ]7 A0 U! F) d
  629. ; Default Value: On
    ( v7 ^1 Y- Y9 F/ k
  630. ; Development Value: Off, L5 z/ o( m9 Q+ g* u
  631. ; Production Value: Off- [8 w- e* I% c; [: z" t- ?: b# z
  632. ; http://php.net/register-argc-argv
    ' Q8 ~+ t4 B- d9 B
  633. register_argc_argv = Off6 O7 O0 Z1 ~+ E. i: k3 v
  634. 4 P6 O3 i9 W0 [+ V" q
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're; G) L% s% R3 U% s
  636. ; first used (Just In Time) instead of when the script starts. If these
    6 V7 T4 F# b% o4 U6 l
  637. ; variables are not used within a script, having this directive on will result  z9 I+ l2 x& Q' }  q# A7 s& o
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    % o/ q$ r/ L/ ]3 }/ i
  639. ; for this directive to have any affect.
    * U3 Y# {6 V, O- m- z6 k
  640. ; http://php.net/auto-globals-jit
      m/ y# l4 Z( h1 n8 `/ L
  641. auto_globals_jit = On' ~  l4 A/ U1 @

  642. . \9 ^6 R& ]( ^% t5 R7 t
  643. ; Whether PHP will read the POST data.. [' D% A; u3 a( L& ]: w
  644. ; This option is enabled by default.
    % N$ H* p* z) t, \3 F
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST, c" V+ P. K3 t7 h
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    / |  Y4 ~4 n* U6 r! \9 O
  647. ; POST data will be through the php://input stream wrapper. This can be useful7 v7 {3 y3 M3 i
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.5 U% v) d8 ?. e; f1 _
  649. ; http://php.net/enable-post-data-reading
    7 ~+ P# Q) ^7 p" M9 {9 O
  650. ;enable_post_data_reading = Off
    % c: X' T6 p4 W+ j. t
  651. 3 N3 u& @& q+ K9 w) X& w  E
  652. ; Maximum size of POST data that PHP will accept.
    0 S: A6 {, u) ]" C+ t
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    0 [' M  }' D+ Q
  654. ; is disabled through enable_post_data_reading.$ L  |0 _4 q! Q2 t$ B
  655. ; http://php.net/post-max-size
    ! t. \: M; y4 ]4 m, m4 I
  656. post_max_size = 50M
    9 a( D3 k! D6 M$ c. Q$ b
  657. 5 f# m! K/ g& e
  658. ; Automatically add files before PHP document.
    ( N* m, I2 m% P
  659. ; http://php.net/auto-prepend-file
      w3 q* H& d, l4 D' S' u
  660. auto_prepend_file =# G" d4 r$ M3 H2 J$ \
  661. , b9 e; v" i2 U# X8 r- T0 @
  662. ; Automatically add files after PHP document.; ?; K0 Z) c$ ?3 v9 i3 U
  663. ; http://php.net/auto-append-file
      V- b0 G' W' b
  664. auto_append_file =: G$ R! M6 ?: I5 Q7 F6 [

  665. ! @' B$ T0 F: f) s2 ?/ w
  666. ; By default, PHP will output a media type using the Content-Type header. To0 \: ?% S$ D# U& b; \' l* O1 @3 p9 x
  667. ; disable this, simply set it to be empty.
    9 |6 E% z* D( m. ]: s$ e
  668. ;
    + u( q8 F* |' m/ n
  669. ; PHP's built-in default media type is set to text/html.( u( k- C% h4 s, ?  p  C6 X* S% A
  670. ; http://php.net/default-mimetype
    ( ]+ X2 G6 \: r5 ]& a' s
  671. default_mimetype = "text/html"
    1 q9 U7 G6 v; l7 }. y! T% a2 t$ N

  672. - o- Q0 p* \4 L% S) K
  673. ; PHP's default character set is set to UTF-8.
    * ]) C1 Y/ K9 x
  674. ; http://php.net/default-charset
    : M6 F/ ~; j. _. Z* Q& @
  675. default_charset = "UTF-8"1 L# b, e1 N$ t2 u; \; y4 |* E

  676. 2 ~4 a2 O* j+ r& O2 I8 u
  677. ; PHP internal character encoding is set to empty./ f% t" T9 y6 n7 ?
  678. ; If empty, default_charset is used.
      }; M; o8 i+ ?; \3 |
  679. ; http://php.net/internal-encoding
    " P4 d* W1 i1 ?2 Y, {
  680. ;internal_encoding =7 M, ^2 \: d, g  i! J$ r

  681. - b" s! M7 j" j6 G
  682. ; PHP input character encoding is set to empty.
    # ^9 R" P$ x% ~5 i5 J" p- G/ t, o
  683. ; If empty, default_charset is used.
    . c1 r+ a6 ?6 L: F  b- }, d
  684. ; http://php.net/input-encoding8 }5 w; i, w. m5 q# ~/ W: @! X: X
  685. ;input_encoding =" g3 F2 u  Z$ t, s) j( p2 i8 S

  686. 6 |9 ]! ~0 T6 h
  687. ; PHP output character encoding is set to empty.
    ! k+ L" k' \! s- `1 o
  688. ; If empty, default_charset is used.
    9 q# W$ _! g9 p8 G$ ~
  689. ; See also output_buffer.2 N; H% F5 t* V1 Y0 u3 }# I
  690. ; http://php.net/output-encoding
    ( F7 w& c( d( h" V/ a
  691. ;output_encoding =" J) A0 p+ ]: k" q1 B

  692. : F, J+ _% P, f7 U
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;: d- O: [& q0 ~2 U( @
  694. ; Paths and Directories ;/ q0 R' H" T. E4 g2 S
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;! V% E/ k" ]$ J$ ^4 I

  696. " Q% A3 p1 w2 Y
  697. ; UNIX: "/path1:/path2"
    . y- u: h& n1 o8 h
  698. ;include_path = ".:/php/includes"8 w# D% }: G; [. B: [8 m: w
  699. ;" L- }& t  D  m0 b: P
  700. ; Windows: "\path1;\path2"' J3 h& ^! [% a7 D
  701. ;include_path = ".;c:\php\includes"
    $ x: i7 h+ S' c: G5 K
  702. ;  g0 r# k( e$ Z, [
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"+ R" [2 j4 y0 c
  704. ; http://php.net/include-path2 x+ @: x& j& |5 ?! u4 f# Q' X
  705. 6 I, U, u1 c+ c2 @6 Q9 J3 B- |$ m
  706. ; The root of the PHP pages, used only if nonempty./ b# L- Q: w% `6 [! g2 x% Q: z2 U8 Q+ V& I
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    6 k- X' U. `) V: ?/ H
  708. ; if you are running php as a CGI under any web server (other than IIS)2 c) t$ u/ m" i+ R; [" W
  709. ; see documentation for security issues.  The alternate is to use the/ e/ C$ H; b: z) {# w: b
  710. ; cgi.force_redirect configuration below1 i/ }1 y. j- Z
  711. ; http://php.net/doc-root- X% E6 `! v3 |9 _6 J  X
  712. doc_root =
    + k: P/ D1 |5 R' y% r0 s7 Q5 \0 G
  713. 4 T8 X( {; a; e4 J# p9 T* `2 o
  714. ; The directory under which PHP opens the script using /~username used only
    9 d* E6 }5 G) k  J
  715. ; if nonempty.' n- z2 u  }/ [2 a* I9 s
  716. ; http://php.net/user-dir
    8 Y# b$ X; W% R5 W( K
  717. user_dir =/ G* `4 N4 h  `7 Z; q1 B
  718. 7 k/ f/ t3 H& ?- }. F4 `
  719. ; Directory in which the loadable extensions (modules) reside.
    * ^. I! [, @7 F5 o
  720. ; http://php.net/extension-dir
    7 ~7 s2 C& W# J# @/ s, F! o
  721. ; extension_dir = "./"* t' \% N6 V" t  c: J: [# b9 T0 U
  722. ; On windows:
    1 j# h, H& B1 t. U5 o
  723. ; extension_dir = "ext"7 h1 A( V7 E7 u- S7 N5 x
  724. ; P2 `( w0 F; a; \' Z0 T: s8 v
  725. ; Directory where the temporary files should be placed.% P0 a" Q; S- E! ]4 J. ]
  726. ; Defaults to the system default (see sys_get_temp_dir)
    6 k* L- l5 g8 U
  727. ; sys_temp_dir = "/tmp"
    ( F  o6 A+ M$ e

  728. ) W& [. f9 G& w
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work4 `" c/ O7 J- C4 g
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    7 R% Y0 w6 S: }3 ~2 i8 N% u
  731. ; disabled on them.
    3 _9 e# g( N2 c3 [0 L2 ?9 K; v
  732. ; http://php.net/enable-dl
    - V& ?* l! o& P% H, T) R. q. ~
  733. enable_dl = Off/ _0 T6 N: Q- l0 F
  734. ! B+ r, q1 D# [8 |1 `" S. X1 J
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under8 Y8 Z' y7 P6 e, C: L
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can9 C) J2 C) {( Z4 J1 y  M
  737. ; turn it off here AT YOUR OWN RISK  K! e( x3 p' X
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    3 I  S7 O0 t/ R" u' q' g0 \( `: M
  739. ; http://php.net/cgi.force-redirect
    $ C* b1 S0 X5 G7 m& s7 v
  740. ;cgi.force_redirect = 1; k! [- [. a- j+ F  T. F! W( m

  741. ' ~: g) z* H* O
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
      s4 J2 d8 x* P) ]5 A% A3 p
  743. ; every request. PHP's default behavior is to disable this feature.3 Q' l) O* c) B! [7 i$ l
  744. ;cgi.nph = 1, m1 r& Q: h7 h& p
  745. * K3 D5 m: S" C$ |# T, ^; G7 F3 x
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape0 M) r# T" o9 B# @2 H2 a
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP. g% _( r1 d- f5 V8 T8 i, O7 q5 X
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY" Y8 l6 o. ~, m# W1 K/ @  F( v
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.$ Y8 O2 F7 L! c4 M$ q& @
  750. ; http://php.net/cgi.redirect-status-env
    # A3 q- S6 F) C) q: n  ~/ h8 p
  751. ;cgi.redirect_status_env =
      m& x7 r& L% I" J

  752. # F  E0 T; z6 @# V& C" j' E
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    3 Y6 s* \$ r  Q3 k0 e* w4 t/ Q
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok/ p' T& L) e0 b. k, g
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    9 e. Z8 w+ @/ j9 ~
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    5 h  W. A7 X; F& C) M- \
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ' j% Z" w# M5 a, F4 ]
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.6 E: `$ M0 B$ B: h4 H0 J
  759. ; http://php.net/cgi.fix-pathinfo: z4 v7 N4 K4 ?. k3 M$ g, f
  760. cgi.fix_pathinfo=1
    : c3 z6 A  Q* U6 i" E
  761. ( q$ m, W) k8 v& ?, X
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    % j. D3 C9 v. Z5 M* B) \5 t! \7 X
  763. ; of the web tree and people will not be able to circumvent .htaccess security.7 b0 w+ G: u! O4 }( d, Z; N
  764. ; http://php.net/cgi.dicard-path7 m- w: C; ]+ Z6 h! Q
  765. ;cgi.discard_path=1  q) j0 n' z; w- q7 `
  766. # F% B. ^# V) t+ b# U' N
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate' Y  v% J3 M( p' \# [6 R
  768. ; security tokens of the calling client.  This allows IIS to define the- R! `4 h( p7 G6 V+ |/ o& R9 K
  769. ; security context that the request runs under.  mod_fastcgi under Apache& L. N; [, Q! F+ @3 R
  770. ; does not currently support this feature (03/17/2002)  n( w8 i! B+ t' U0 r+ p
  771. ; Set to 1 if running under IIS.  Default is zero.
    7 A1 d2 E: X' g( I  Z; S1 Q- c  f9 Q! N
  772. ; http://php.net/fastcgi.impersonate
    9 K0 l7 R/ F: ~
  773. ;fastcgi.impersonate = 1
    3 V0 J  F4 H7 q7 Y- \
  774. ) V9 ]4 a5 Q% ?7 A' [9 v! M
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable/ c2 C7 b; W8 c8 N$ G, O" t
  776. ; this feature.1 R: i: |$ @7 |* |1 O
  777. ;fastcgi.logging = 05 W7 s2 [; c/ L, Z1 H1 }( {

  778. & A. K: z* R& b' H
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    5 w2 u) x& J4 P/ H) t: l3 _5 n
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    3 ~3 v0 W3 |9 Z( H. g% y( D
  781. ; is supported by Apache. When this option is set to 1, PHP will send. t  g* {& u  f. K% p2 ^
  782. ; RFC2616 compliant header.
    2 r9 z" t/ Y) C5 |
  783. ; Default is zero.
    $ |' j$ t- w! e" f! V9 g, C
  784. ; http://php.net/cgi.rfc2616-headers
    0 p3 j/ u# I& D  p
  785. ;cgi.rfc2616_headers = 0
    5 }6 ?# J& c6 y( g& z4 i6 Q2 B* ^
  786. ; l$ H" ]" f2 x& _9 u' X
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!8 n5 v$ b8 H; b( j+ J+ u
  788. ; (shebang) at the top of the running script. This line might be needed if the. S- E) p7 H5 L" y" s/ e% R
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI9 ^( P( b% v( p* B2 k3 J
  790. ; mode skips this line and ignores its content if this directive is turned on.
    ' ]4 [# w. i; p  u3 h7 `1 v1 n
  791. ; http://php.net/cgi.check-shebang-line
    : v1 G7 q" o% W* n
  792. ;cgi.check_shebang_line=11 E' n! U2 x2 U/ d9 w9 L1 Y
  793. # b4 P" Y- s% W3 u: _' b0 x
  794. ;;;;;;;;;;;;;;;;
      e9 c7 I6 A3 b% i
  795. ; File Uploads ;! P; N, ]+ E- b4 H# z- j% ^  t
  796. ;;;;;;;;;;;;;;;;
    / h. g& G- O1 U& T. t
  797. * x; _( E% U9 i5 c  q
  798. ; Whether to allow HTTP file uploads.% O; T# o: P) I3 i/ I
  799. ; http://php.net/file-uploads
    0 [4 L/ {' P& M$ _8 S9 O
  800. file_uploads = On
    ! n( @& }; m  z* x
  801. : o, l# C* K. O: ~
  802. ; Temporary directory for HTTP uploaded files (will use system default if not  g2 |& s5 z2 v1 c5 R
  803. ; specified).) {/ j" j$ g7 u8 S+ h" @
  804. ; http://php.net/upload-tmp-dir
    $ x8 k: H. Q4 d& v1 k
  805. ;upload_tmp_dir =
    1 c% q! a/ W3 ?  a& G$ C; @8 r

  806. 8 l- @9 u0 Y+ N
  807. ; Maximum allowed size for uploaded files.
    6 n$ j+ n) @" G1 `$ y
  808. ; http://php.net/upload-max-filesize* e2 @0 y" X* l6 B9 F' [
  809. upload_max_filesize = 50M
    2 s% n" Z# C$ Q% R; t" h; b

  810. ) ], B3 o1 u# |: M  L; R2 A( L9 U- C
  811. ; Maximum number of files that can be uploaded via a single request
      f/ S4 C# `6 ^6 s& m8 e
  812. max_file_uploads = 207 \& ~! v6 U' p1 R5 b7 \1 R6 K5 o- q

  813. $ Q* D6 T$ ~! a4 `
  814. ;;;;;;;;;;;;;;;;;;
    - P! f/ w. _  D. R$ X
  815. ; Fopen wrappers ;% i& E$ |! Y+ k4 K/ m
  816. ;;;;;;;;;;;;;;;;;;
    4 m& B9 i! C9 N- v; x5 t$ U0 H" j
  817. : ?+ C9 R/ z1 k" W
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files., @' L4 M# O. q' z
  819. ; http://php.net/allow-url-fopen
    ' c& ?2 K: j0 |9 Q6 |: x2 m# t
  820. allow_url_fopen = On4 Z. ]; L6 G+ ~9 e
  821. + u( Y7 A# z$ y( ?
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    * t4 d1 j7 D+ P4 n# _0 \  u
  823. ; http://php.net/allow-url-include
    + h. s# G' D- U5 g9 @3 G
  824. allow_url_include = Off
    ! @4 d9 V' ?2 `( O4 P

  825. 4 b. O6 I% W5 c1 [# ~( h% |
  826. ; Define the anonymous ftp password (your email address). PHP's default setting7 N9 L: f* g6 z* ~$ u5 {
  827. ; for this is empty.& P; ]% ~: H5 |
  828. ; http://php.net/from
    3 ?1 P9 X0 w0 G1 P8 \
  829. ;from="john@doe.com"4 d" E% Y. K0 [' W* ~4 G( F9 t! l

  830. 9 g. K9 d# M7 k$ T" W0 s: Q4 W
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    + z' O8 N5 h, a2 N
  832. ; http://php.net/user-agent% W$ \9 J3 c8 z" [9 L- V. _
  833. ;user_agent="PHP"3 V" u8 s/ o7 z* x  |- X

  834. ) i6 L8 I/ E" @5 q% ^
  835. ; Default timeout for socket based streams (seconds)
    / ~% l* v- d2 P* n) \  m
  836. ; http://php.net/default-socket-timeout, r( P* h8 L4 ?% i
  837. default_socket_timeout = 60
    $ g: b, B* E- j
  838. 5 k( N0 [' ^( V- b$ t2 R8 P
  839. ; If your scripts have to deal with files from Macintosh systems,
      u% I2 |" P* [' U) W! U
  840. ; or you are running on a Mac and need to deal with files from
    0 T* O6 ]0 K+ S$ `
  841. ; unix or win32 systems, setting this flag will cause PHP to( y* K8 }* P" R+ N# w8 k% S
  842. ; automatically detect the EOL character in those files so that
    + r4 E" I1 ^! \$ Q& C
  843. ; fgets() and file() will work regardless of the source of the file.1 ]* g: H+ u. a/ I& {
  844. ; http://php.net/auto-detect-line-endings
    2 [2 w2 t0 t* r
  845. ;auto_detect_line_endings = Off
    % Y/ z" y6 j( e7 C

  846. 6 a& {5 j. f- ~" a2 r8 l1 U
  847. ;;;;;;;;;;;;;;;;;;;;;;
    - k2 {2 e! u  X
  848. ; Dynamic Extensions ;
    . q% y5 w# B$ x! X+ q
  849. ;;;;;;;;;;;;;;;;;;;;;;
    9 \: H! N; i6 `3 ^6 r( s

  850. . }. i; E: }3 I" _$ y! e
  851. ; If you wish to have an extension loaded automatically, use the following; @0 D: `: t8 Y% B
  852. ; syntax:9 _3 S  Q5 l& M
  853. ;. I5 O9 O  ?% g; `
  854. ;   extension=modulename.extension- k$ M6 M+ N: b* ]2 v" K, E
  855. ;3 p! V$ z& F8 L9 ?3 |
  856. ; For example, on Windows:9 v" `0 X  q* K. x9 x! Y7 g
  857. ;: \/ q- V- {0 T0 ^# O) ~. g. [
  858. ;   extension=msql.dll
    ' q- ]/ d& o4 k7 Q
  859. ;
      s$ P, U, [: w; L, A- P
  860. ; ... or under UNIX:
    8 [' c' c8 f  P. o9 B$ A8 C
  861. ;0 T7 V: a9 z9 {2 a: l
  862. ;   extension=msql.so0 k! t1 n, k0 m+ b
  863. ;
    + N( L: z/ P8 o& J2 u. ?- }! k  p2 S
  864. ; ... or with a path:
    3 V2 F# _) p! F- u5 {
  865. ;
    % @3 V* L& {5 _7 H1 ^/ N
  866. ;   extension=/path/to/extension/msql.so+ `& U- n8 @2 j! V8 x
  867. ;
    ; `. s1 l/ L5 ]6 u! r
  868. ; If you only provide the name of the extension, PHP will look for it in its
    6 Q9 W3 f% U$ M3 i
  869. ; default extension directory.$ l( G: L' v, C
  870. ;
    ! }+ {/ i9 `9 w. I* y
  871. ; Windows Extensions
    $ w7 K0 I- ^* }% {5 }
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    6 C1 F% i3 ]6 D2 P; T
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)3 ], `) T5 r9 i9 l
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    2 \8 O- M6 c- N
  875. ; Be sure to appropriately set the extension_dir directive., r. K. q8 \& `) @' s% O
  876. ;
    - A7 i& c: W6 N: N& U3 R
  877. ;extension=php_bz2.dll
    7 e3 w- k& Z2 S1 }, Y
  878. ;extension=php_curl.dll
    / @. W  K9 b4 L; Z0 C) {; V
  879. ;extension=php_fileinfo.dll
    3 s- w6 [/ F# }4 J
  880. ;extension=php_ftp.dll
    ( }- I8 G3 \* Q2 y" |* e+ e& @, u0 y
  881. ;extension=php_gd2.dll
    6 H! D! K& J  ~6 i- b  p
  882. ;extension=php_gettext.dll7 N8 H9 s- y# |+ C) y& Q
  883. ;extension=php_gmp.dll
    * d9 {5 L( }6 F" u6 q
  884. ;extension=php_intl.dll
    , g: z- B! M/ y
  885. ;extension=php_imap.dll
      P0 _7 a% }4 s, q$ t. n; V
  886. ;extension=php_interbase.dll
      b, b* D2 J+ I& ?' M$ L
  887. ;extension=php_ldap.dll. W6 D- V: O6 p0 a
  888. ;extension=php_mbstring.dll4 b' F# ], J1 v: l
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    $ z4 W8 L1 C7 ]5 @* k- W# `
  890. ;extension=php_mysqli.dll
    % F8 `$ v% m; @
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    6 `5 @# P0 K: s5 P2 W
  892. ;extension=php_openssl.dll
    5 N" W4 X. j6 C( ~
  893. ;extension=php_pdo_firebird.dll
    : s5 W9 q6 I: p" i7 j/ A- v5 L- W
  894. ;extension=php_pdo_mysql.dll' L) |: M1 R" L" H- H$ \4 @. B
  895. ;extension=php_pdo_oci.dll
    5 ?( G* ?! I& N! H
  896. ;extension=php_pdo_odbc.dll: |! p! h; E' F
  897. ;extension=php_pdo_pgsql.dll
    & z8 ?& c: I( W: j) S0 u' [
  898. ;extension=php_pdo_sqlite.dll
    6 s) `& W/ x) j' J' b
  899. ;extension=php_pgsql.dll
    ; q4 K3 k  f1 {6 G( @4 k, Y6 q
  900. ;extension=php_shmop.dll
      U1 {% p6 L. \; U$ t* A! T6 h+ G

  901. 4 M+ J9 x$ |) }* u  g" J
  902. ; The MIBS data available in the PHP distribution must be installed.$ B, u* x" J8 _
  903. ; See http://www.php.net/manual/en/snmp.installation.php! p4 x. n6 o2 q/ o
  904. ;extension=php_snmp.dll6 @4 Z' h/ c; A2 \/ A0 E6 d. w

  905. 8 ~. w  P* s2 M
  906. ;extension=php_soap.dll" R" l/ p9 b+ D6 e3 }: {( i+ b
  907. ;extension=php_sockets.dll" p) V; e0 a* F" P# [
  908. ;extension=php_sqlite3.dll
    ' R( j2 ?; C. x" }$ J. k0 A3 Z$ Q
  909. ;extension=php_tidy.dll
    8 J  A5 E& v  I) O: D
  910. ;extension=php_xmlrpc.dll
    8 x) k6 `( _3 o: E/ ]0 \$ E& m
  911. ;extension=php_xsl.dll) P" D) {& s6 r4 m/ S( U

  912. ; r- u, R# G4 O- A  N! g
  913. ;;;;;;;;;;;;;;;;;;;
    9 D& i+ |8 C: I$ m# ~
  914. ; Module Settings ;
    ! ?/ b+ s& T" |
  915. ;;;;;;;;;;;;;;;;;;;, I% I' J& e( S9 [- b( Q* q0 I* N; s
  916. : Y* Z$ |' m! u& g' N* \
  917. [CLI Server]
    9 j" x2 P! f! @
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output., M" w- k- W3 ?. q- U$ Z4 [! |) i
  919. cli_server.color = On
    3 j" }1 d/ Z: ^& ~' q, ]6 D1 H9 }
  920. " P- K/ q5 F! g; Z5 V$ m0 `2 A
  921. [Date]& X9 I- p4 j  C( D
  922. ; Defines the default timezone used by the date functions: q0 h' \7 H( q
  923. ; http://php.net/date.timezone
    . W9 z$ Z; A1 K6 W7 ?( L; a% }5 T
  924. date.timezone = PRC9 Z" ~$ r" X% P1 `% d2 c

  925. , O2 S& n5 _( f) w' ~
  926. ; http://php.net/date.default-latitude
    8 N* `  O2 B" `
  927. ;date.default_latitude = 31.76678 E5 `/ m' Z  s3 h+ q

  928. 0 I7 S0 b# n" U6 S
  929. ; http://php.net/date.default-longitude
    & Z! {- q4 Z) i! U  u
  930. ;date.default_longitude = 35.2333
    ; y$ {$ A0 w* a+ H  x% O4 f
  931. ! c3 o0 \: y1 j7 h; g9 i6 W
  932. ; http://php.net/date.sunrise-zenith8 F* _% {% @4 g7 m3 i5 l) K' Q
  933. ;date.sunrise_zenith = 90.583333: `% e6 E" [! U5 b5 [
  934. & f7 `/ E: Y$ d; w/ _( ]3 M' W2 A
  935. ; http://php.net/date.sunset-zenith' E7 ?$ @: A2 ^
  936. ;date.sunset_zenith = 90.583333
    ; @/ B% b! t. ~6 r7 T
  937. & t) [+ w/ _! V
  938. [filter]
    # i6 }- }: B0 ~  o- e2 @
  939. ; http://php.net/filter.default
    1 @% Y* l+ W$ M# }
  940. ;filter.default = unsafe_raw
    * b  P/ U9 A' O% o

  941. 8 t9 }5 B  n0 E  B
  942. ; http://php.net/filter.default-flags- M2 W/ B8 x/ ~. Z4 j7 y
  943. ;filter.default_flags =  I  L! ?. L8 S( u: {! @/ S

  944. " ~  Y1 }3 C- m
  945. [iconv]4 H3 e: M3 x6 @! V; G9 }
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    " B$ R% g4 b9 s9 ~" c% t
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    7 D  A" y9 p" c7 C2 Y
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding$ M; [& m' M3 T6 F6 j( S
  949. ;iconv.input_encoding =
    + [4 S* V$ N. B: y4 o9 H! T6 i. h

  950. 3 h- x# p  S2 A0 A/ x/ B3 g4 g+ L/ z
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.1 v  Z2 e" s6 p4 G- G
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    + M! w9 A0 v3 H9 i1 Y! ?$ ]: u$ X
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    8 `6 d# B9 a! J3 h* N0 n0 f
  954. ;iconv.internal_encoding =! n- Q6 a, G( R% g. {) L  w

  955. $ d: a7 O0 ]! j: Q" P! g- C; A
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.- |' r* K/ Z7 B' i+ U7 Z
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    , @2 `$ ~1 O  ?
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    # H0 U3 v; ~' m! U0 A: C8 K
  959. ; To use an output encoding conversion, iconv's output handler must be set. c! x/ F7 n2 D! Z3 [. f3 u4 V- N% m1 `+ I
  960. ; otherwise output encoding conversion cannot be performed.0 d% _4 |1 J. r& h6 `/ N
  961. ;iconv.output_encoding =
    / ~% R- U5 u. l5 g7 j
  962. 9 u6 @# S% P& o  Y/ x
  963. [intl]+ N+ J0 Z% H; }9 Q
  964. ;intl.default_locale =
    7 X- Y- K! {9 f' ]. ~( |2 _
  965. ; This directive allows you to produce PHP errors when some error
    ! u  y; R# D8 ^* c7 ]0 M" u% ^) A
  966. ; happens within intl functions. The value is the level of the error produced./ X4 R% d6 {; ?* `" l+ W/ ?$ c
  967. ; Default is 0, which does not produce any errors.
    : F7 r" s2 s; P
  968. ;intl.error_level = E_WARNING
    ( x* _+ O2 O0 R, x( A. I
  969. ;intl.use_exceptions = 0/ |. p& q: k. @8 z
  970. 6 U  I* N1 @: l5 n0 F8 L$ m
  971. [sqlite3]
    % Q( N) X- P( @; P& P
  972. ;sqlite3.extension_dir =
    9 z- @6 {% P7 U( V' j: x- A3 ?
  973. 3 V% Z" l: N5 p# N+ ]
  974. [Pcre]
    8 u2 l& U: p7 G* `
  975. ;PCRE library backtracking limit.% V3 Y% v; j1 R( ^* w
  976. ; http://php.net/pcre.backtrack-limit
    * r# `/ x; C. Q( L" f% m5 Q0 C$ V
  977. ;pcre.backtrack_limit=1000006 o  l& I5 C: \1 f, q6 `

  978. . K  P. W9 H! J& t, h) n" T# ]
  979. ;PCRE library recursion limit.
    1 @% y& {9 I6 r* W3 g! Q' |
  980. ;Please note that if you set this value to a high number you may consume all! l! G' a$ z; J7 P+ ~
  981. ;the available process stack and eventually crash PHP (due to reaching the5 ^* E7 P( Q" |# k9 }
  982. ;stack size limit imposed by the Operating System).
    6 x; J5 I$ y+ l9 G' v% f  R
  983. ; http://php.net/pcre.recursion-limit
    ; b+ S: }( E3 Q+ m( Y3 p
  984. ;pcre.recursion_limit=100000
    + u% I' H/ F1 a* q7 |

  985. 6 Y: b, c. s2 `- c  e. Q8 k3 J
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE+ r& x- C: J! a
  987. ;library to be compiled with JIT support.
    3 n: U( y0 n% |! \* d& N
  988. ;pcre.jit=18 i' D4 {0 Q  s7 u7 E. W( O7 ~

  989. 7 P$ g: |% N7 C2 C8 q: ?
  990. [Pdo]
      k' A1 W% m0 _+ m' ?# K& B
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"3 U( {7 I+ r% P, d+ U
  992. ; http://php.net/pdo-odbc.connection-pooling
    + g. q0 M' W1 O2 l
  993. ;pdo_odbc.connection_pooling=strict3 u# V( x" v' [1 ^' D7 y0 y

  994. / I4 h, @: O2 d5 E3 g! J3 l
  995. ;pdo_odbc.db2_instance_name- z# J$ u. t2 B

  996. ) [! v9 l) Q) l- b+ q
  997. [Pdo_mysql]
      a- q# Q+ r" |+ s  \+ O+ Z
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    0 Z: @, V2 u8 Q  c4 ?
  999. ; http://php.net/pdo_mysql.cache_size
    9 b! }0 c2 L! A6 W1 K) M
  1000. pdo_mysql.cache_size = 2000
    6 U6 w0 [6 A0 B6 Q; ^" U, l# z, u

  1001.   `7 Z- Z/ _, ~* K* x/ G! r
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    5 n6 L) r; ?6 ^; S* o% F9 O3 c
  1003. ; MySQL defaults.* h0 c3 Z& @7 A8 {
  1004. ; http://php.net/pdo_mysql.default-socket) K# a, ]! P; R/ X8 H6 G7 x
  1005. pdo_mysql.default_socket=
    6 o6 K9 A! M0 b: r0 e3 ^  ~
  1006. ) x! W7 @4 T1 {! r, x4 \# v7 `
  1007. [Phar]
    ' B/ Q2 w+ d  ?% {- Y3 Z4 K& ~' T/ ^
  1008. ; http://php.net/phar.readonly
    + n+ s; j$ L% U: M- n/ m+ {  {
  1009. ;phar.readonly = On" x# M4 }7 {3 L5 a) e+ ^" ^
  1010. + \! t% h; j4 G; T
  1011. ; http://php.net/phar.require-hash
    3 \* A4 ~8 y8 |8 t9 |
  1012. ;phar.require_hash = On
    % g! Q" d' q5 S% d  `' z

  1013. : M  _, i8 M/ s$ B, \$ m
  1014. ;phar.cache_list =
    ; C4 e/ M' E, X* R. \

  1015. 5 {6 B% L. e: l, m" {# W2 U
  1016. [mail function]1 m3 p9 t/ A0 Y: R+ ^2 X
  1017. ; For Win32 only.
    7 m" i1 v3 `/ f
  1018. ; http://php.net/smtp3 W8 [- P5 d& d: ?! I6 T; m
  1019. SMTP = localhost
    ( P. S2 B9 x& ?
  1020. ; http://php.net/smtp-port
      u' c* z( R7 v7 s8 w9 I/ a3 S
  1021. smtp_port = 25
    8 }8 i. j4 Q8 D$ V/ s# e# v

  1022. ' P) H4 |% ~1 n6 l+ m
  1023. ; For Win32 only.. U, w- R' i5 _& |. |: ]) v& i
  1024. ; http://php.net/sendmail-from% H; i- A" u- X4 k- P: L
  1025. ;sendmail_from = me@example.com+ L0 ^* ?" ?$ J

  1026. . A! q$ N% W& i; y
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    5 b$ j& |. i& b: g% Y, T
  1028. ; http://php.net/sendmail-path
    : Q# K: c, @# `, F4 e
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    ' y# J6 s/ q# G4 f5 s

  1030. " C, Q$ p: d9 D. T* c
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    : L1 F& x% E- c: e
  1032. ; to the sendmail binary. These parameters will always replace the value of
    3 i. K# Y1 S" u- U
  1033. ; the 5th parameter to mail()./ z, R& m8 j1 R) s: Y. l4 {  m  [
  1034. ;mail.force_extra_parameters =' g2 Y7 |) [, k9 R
  1035. 1 e! x. F# i& l
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename9 u  b0 R1 \- d& P3 [' h
  1037. mail.add_x_header = On
    5 g2 z5 o5 F( U5 F/ b5 }
  1038. ! G0 d/ n$ j6 W9 s- @; k
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    + ]6 J# G2 B" G9 |0 s
  1040. ; the full path of the script, line number, To address and headers.
    ' w! ]# L6 S1 z
  1041. ;mail.log =0 Z3 d$ x7 \$ d4 O8 k& w1 w
  1042. ; Log mail to syslog (Event Log on Windows).) I- P" `' t3 [) A0 Q
  1043. ;mail.log = syslog
    8 u! G* E8 _% o) q5 J1 f2 K
  1044. % g, r. A/ N8 ?% j+ ~  l
  1045. [SQL]
    & u9 V3 F6 A( T6 T* t, F7 \
  1046. ; http://php.net/sql.safe-mode* q7 @" u8 W& i5 l
  1047. sql.safe_mode = Off/ L1 f' J( x7 }. b3 @. E: U! R1 B
  1048. 2 [4 v! q0 }; Q& V4 E0 Q! k- e0 l
  1049. [ODBC]- s8 ~% i6 q6 Q  v
  1050. ; http://php.net/odbc.default-db, I/ d2 O, ^9 C. g
  1051. ;odbc.default_db    =  Not yet implemented0 K/ r% R# _7 @5 L! I  }5 B

  1052. * K( X& e" Z$ o( b
  1053. ; http://php.net/odbc.default-user
    3 g# z$ |1 G+ R. ~0 I
  1054. ;odbc.default_user  =  Not yet implemented( d8 Z' [9 j- E" W3 O2 e0 e9 a0 f
  1055. % E& B. g+ N1 y) K
  1056. ; http://php.net/odbc.default-pw
    % h& \  c# z2 n: i0 |) G
  1057. ;odbc.default_pw    =  Not yet implemented1 L/ R2 S& s$ B4 i" K( [' s* B

  1058. ; N. H* p6 v. }  S5 D
  1059. ; Controls the ODBC cursor model./ ]1 y+ p# y% a
  1060. ; Default: SQL_CURSOR_STATIC (default).
    . u. J3 i4 v- h) Y; f5 B
  1061. ;odbc.default_cursortype
    3 ?- N1 R/ x  m( @. h3 Q! H

  1062. / y7 o5 a$ ~0 X, g% c! o* I
  1063. ; Allow or prevent persistent links.) L' d- g' \: c. [7 Y* {7 ~0 q/ }
  1064. ; http://php.net/odbc.allow-persistent& \) g' @9 D! M1 n
  1065. odbc.allow_persistent = On
    . f9 H% _6 I' Z; K* o) _* }/ `
  1066. : E- k# J- o! u
  1067. ; Check that a connection is still valid before reuse.8 c& b" Y8 k/ I  z  t
  1068. ; http://php.net/odbc.check-persistent
    6 T& ~) V  q5 M( a! x
  1069. odbc.check_persistent = On' C! H9 Y1 I6 x2 g, j4 M$ b

  1070. 4 \. o: _: Q" r: A" B
  1071. ; Maximum number of persistent links.  -1 means no limit.
    5 m1 N3 ]# a3 Y  k  Y  q
  1072. ; http://php.net/odbc.max-persistent- o1 r! f: C( U: @4 `2 R( p, |- S1 j
  1073. odbc.max_persistent = -1
    1 U& t' f. i8 i4 l5 ~6 }
  1074. ! U! T7 }$ w7 D, q2 s( N% E0 z$ b
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    " ]6 T& D2 @) R6 I+ f
  1076. ; http://php.net/odbc.max-links
      j# x8 s1 S" D8 }" m6 l2 v2 \
  1077. odbc.max_links = -1! g0 x+ L8 i! |4 c2 b$ ]

  1078. 8 @$ H1 Z4 [& H; Y
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means- I# ]9 H  P+ F
  1080. ; passthru./ o+ K6 z7 v" [' m
  1081. ; http://php.net/odbc.defaultlrl
    ( T$ q1 s" _; w+ k2 `2 N% |& e) `
  1082. odbc.defaultlrl = 4096; s/ `+ O6 [" j% s$ i

  1083. 3 ^' S: P! d! D/ y2 r
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.! r( d  S# p+ q5 {: U8 K
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation; o- n; ?% ~' D  l% h
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode$ G2 b! q* W; b( Q( Y
  1087. ; http://php.net/odbc.defaultbinmode
    ( }# r0 M1 S! x3 P# u8 v' F1 f. J
  1088. odbc.defaultbinmode = 1, ]/ K9 e! s/ [9 J4 b) G( w. N

  1089. & v# R, d5 f. R9 h
  1090. ;birdstep.max_links = -1, w' f  B1 Z( o! c5 Z! O  A/ j) f

  1091. & X( _: p9 M% Z7 d: V7 f
  1092. [Interbase]
    ( `8 A' P+ w1 q; R
  1093. ; Allow or prevent persistent links.
    9 g% I' Y6 Z# `
  1094. ibase.allow_persistent = 1
    & D8 i, C: C( `4 _0 N# p

  1095. : G( ^! G) X7 g* I% C
  1096. ; Maximum number of persistent links.  -1 means no limit.( U$ l6 v' M2 E) A8 `5 Q- O+ \1 b
  1097. ibase.max_persistent = -1
    % ]- G$ X: @/ Y

  1098. 3 [; t3 j5 t/ T- [& i
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.; q8 p( `. G& o# f
  1100. ibase.max_links = -1) J& T% A1 [4 X2 o& X% `
  1101. ( c/ I- s0 N, @2 _' J% E
  1102. ; Default database name for ibase_connect().
    3 T5 }6 ^$ |5 {& ~4 w
  1103. ;ibase.default_db =+ c$ L/ F- I, E, q1 h
  1104. 2 `! Q" c8 v* D2 M
  1105. ; Default username for ibase_connect().$ @" @- A: I% k
  1106. ;ibase.default_user =
    2 ~( T/ S- y3 Z

  1107. / W8 k5 L- i! Z& l7 y3 B& U  u
  1108. ; Default password for ibase_connect().
    : K7 c: x& V" ~: o  I
  1109. ;ibase.default_password =) ^) j5 ]! {" i- E$ [: Y

  1110. ' ^2 Y6 s" `$ h" Q: l$ S
  1111. ; Default charset for ibase_connect().$ M8 d" l5 U2 `# H2 H. l6 P' [5 `
  1112. ;ibase.default_charset =9 c2 H. M! w, j. K; ^

  1113. : T5 E) @  p8 r. a
  1114. ; Default timestamp format.6 n' j2 |; e( H7 j/ w& j
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    4 Z+ ?+ [. ?: H! s3 Y1 E* W8 ^

  1116. 4 G9 @' m( C3 \1 g- l" ]
  1117. ; Default date format.
    ( _* k6 D7 S: l4 T/ [
  1118. ibase.dateformat = "%Y-%m-%d". c: @8 e5 H  j+ \4 B) n: m! F

  1119. ) k/ c8 A6 \$ [; l( Q* l! Z$ [
  1120. ; Default time format.. _: |/ Y$ m4 L* c! U: r
  1121. ibase.timeformat = "%H:%M:%S"2 N# @: T2 E9 `& `( Z. \3 ]/ u4 Z
  1122. & `& y2 K! m4 A3 `. O; |' J' T- G: f
  1123. [MySQLi]" o  k; _4 o9 C4 ~( j' Z# c7 @, \
  1124. . a7 L  L4 i$ z- w
  1125. ; Maximum number of persistent links.  -1 means no limit.( t- S7 }. A, T- i) M, O  ^
  1126. ; http://php.net/mysqli.max-persistent" e  K( v) H: K/ r
  1127. mysqli.max_persistent = -1
    # [" y7 |$ K3 v

  1128. ; t! w. \+ X, s  v! y
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements+ i8 n8 v: B  `
  1130. ; http://php.net/mysqli.allow_local_infile
    " y% P5 s1 u  X8 V! O/ v2 j; {4 i% F4 {
  1131. ;mysqli.allow_local_infile = On
    * Q: f4 t6 b  ?6 r1 X+ N
  1132. 1 D0 `: P. S- J7 F
  1133. ; Allow or prevent persistent links., H* r3 }* i0 E4 L
  1134. ; http://php.net/mysqli.allow-persistent
    + n$ x, q( S$ E
  1135. mysqli.allow_persistent = On. s7 x3 k, P; W/ C& q
  1136. - |0 J) D7 }" |( j% W! L! d
  1137. ; Maximum number of links.  -1 means no limit.
    ( R+ Y: R: [# v4 X; G6 `0 ]
  1138. ; http://php.net/mysqli.max-links
    ! d& Z1 I6 I) W) r. h
  1139. mysqli.max_links = -1
    ( V% c( i! G/ V
  1140. , o" }! w' Q# e9 c0 B  a( M
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    9 d/ G+ P. u0 m6 H/ V3 ~$ g6 X
  1142. ; http://php.net/mysqli.cache_size
    , v& `0 q* j- \9 \& Q2 ?
  1143. mysqli.cache_size = 2000/ q+ S/ n. P9 p+ \
  1144. # V. U) C' ]+ `2 @% q, h% T3 R& h
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use+ U5 C7 ~: x7 Q6 V
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the7 H6 Y6 O) t& M9 \. ]+ X+ W  C
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look, j: u7 h! I. r( F! r" ^4 \$ C( P( ]
  1148. ; at MYSQL_PORT.
    " `4 W* w% ~" U7 B( j: s
  1149. ; http://php.net/mysqli.default-port
    " R5 w3 P* V" g) a# k: V; e$ {
  1150. mysqli.default_port = 3306
    , r+ _4 N7 U  q" i! e

  1151. * f' \  g) C1 ^
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in, V$ _3 |5 [8 m4 Q
  1153. ; MySQL defaults.
    & B3 T0 N2 z& v" r; N
  1154. ; http://php.net/mysqli.default-socket( {6 S" e5 F: g& j4 K  W
  1155. mysqli.default_socket =
    , p% v, N7 Y: o% t+ X9 t

  1156. 5 Y4 ~+ h- q+ W, e5 {9 P3 q: m4 [
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    $ J( y1 x5 t1 T( L: Y8 b6 w
  1158. ; http://php.net/mysqli.default-host, a* N4 |0 h0 t: {5 n4 ^
  1159. mysqli.default_host =# `0 f6 }7 o7 J" j" T+ \

  1160. * u8 k6 R8 T9 _2 S, E0 B
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    / w# A; Y+ u+ L% q
  1162. ; http://php.net/mysqli.default-user7 o9 u' n5 h6 r
  1163. mysqli.default_user =1 |% I3 w+ Z- g5 o5 P3 Q
  1164. ; N6 U* O% ?& p2 W
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).6 D2 O% U% v9 z' W( }& \: e! d
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.2 n  I7 C  ]+ N5 F* G
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    / q& D, D; N- c8 i( p
  1168. ; and reveal this password!  And of course, any users with read access to this
    # q; a. }  D( b& |* [( R
  1169. ; file will be able to reveal the password as well.$ p' W: Q; Q3 q) h$ }, o2 z* s
  1170. ; http://php.net/mysqli.default-pw7 C4 x, _) Z( Z# H2 Q6 D' X! Z
  1171. mysqli.default_pw =
    ( ~3 p9 y* n9 y2 ?5 G
  1172.   p5 c4 t  H! B) K# M
  1173. ; Allow or prevent reconnect; I! Y: b1 w6 @
  1174. mysqli.reconnect = Off# M' M0 g: ^' w+ h

  1175. 8 v- q1 Z' ~. J6 t* A5 x# \
  1176. [mysqlnd]- m3 U5 r$ |8 z; O2 ^9 n( x. u
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be5 o, X2 D; T0 V& Q
  1178. ; used to tune and monitor MySQL operations.: [( G- h, P, {0 m5 v- R, G# @! H
  1179. ; http://php.net/mysqlnd.collect_statistics# B$ A  J/ j1 Z/ F1 h
  1180. mysqlnd.collect_statistics = On
      s) q! ?* A5 G* U% L+ ?2 F

  1181. ' D* Q) W( u% @
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    6 [! [2 ~; q8 f; A
  1183. ; used to tune and monitor MySQL operations.2 ?! z, A* X" i6 |  }: @
  1184. ; http://php.net/mysqlnd.collect_memory_statistics' q2 l5 s0 z: I2 k7 b# d, W2 U
  1185. mysqlnd.collect_memory_statistics = Off; o- ]1 {1 |5 g- [" ]
  1186. ; S4 g8 d2 q: v# Q6 I. ~) h
  1187. ; Records communication from all extensions using mysqlnd to the specified log& j* T5 @/ N; E/ W% A+ C9 @2 a
  1188. ; file.
    ! Q4 ~( k! e5 }6 G/ X0 U& f. Q
  1189. ; http://php.net/mysqlnd.debug6 w3 w4 \# X5 t6 v% E
  1190. ;mysqlnd.debug =
    0 ~- J4 y* T9 ]8 ?

  1191. ' B% o! }4 g8 F$ o
  1192. ; Defines which queries will be logged.
    $ E- C) i& r, g$ c) z
  1193. ; http://php.net/mysqlnd.log_mask
    6 s% R# _' Q  n9 s8 c- g
  1194. ;mysqlnd.log_mask = 0: W! {, {$ ]' M9 [

  1195. % \5 I2 W# K2 Y9 S
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets., b0 q0 K  {) ?: @* w" q5 S
  1197. ; http://php.net/mysqlnd.mempool_default_size
    ( f- ?3 L! m9 I' a1 O4 h
  1198. ;mysqlnd.mempool_default_size = 16000
    ' N* h9 J  S, ?# I/ g5 v1 }
  1199. + m* X4 L3 n/ G5 Y9 U
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.) U$ {# G; f. Y$ Y& g
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size1 Q3 B0 y! L& e/ z0 U8 a  t
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    ) M! T2 u. P- R( M6 r5 q
  1203. . W3 n1 w1 h! [0 h
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    5 o+ @4 |8 {, ^8 S
  1205. ; bytes.9 T$ i" X$ Y8 v
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    1 f; Q0 B1 e8 o8 `8 K
  1207. ;mysqlnd.net_read_buffer_size = 327686 F& A( ~; _. h

  1208. ' x3 N2 i1 y9 t5 v
  1209. ; Timeout for network requests in seconds.! H6 T7 x- M; ~2 R1 D! K
  1210. ; http://php.net/mysqlnd.net_read_timeout2 }) p: n& s- _- }  H  i
  1211. ;mysqlnd.net_read_timeout = 31536000
    3 t7 ?6 _5 G% ~

  1212. 4 i" t. y- l$ @  Y1 I
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA+ X, P: B8 ?4 L: F$ ~7 m& d
  1214. ; key./ C/ r: w; Q6 U" Z
  1215. ; http://php.net/mysqlnd.sha256_server_public_key1 x3 b" J, W: Q* m1 j( u, \; m0 o& G
  1216. ;mysqlnd.sha256_server_public_key =2 G5 o, A+ h  m- E

  1217. 2 i5 z- K4 O/ Y1 \
  1218. [OCI8]
    & l( @( Q9 Z( ~- \* X5 v1 \

  1219. / i6 B' V8 p# l, z, Y
  1220. ; Connection: Enables privileged connections using external- N2 _+ o. [* {" W4 I6 ?. F1 p
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ; L1 f2 Q8 z4 B
  1222. ; http://php.net/oci8.privileged-connect1 y! D3 y" m0 m6 P8 o: {$ z4 K- q
  1223. ;oci8.privileged_connect = Off" d& x0 U7 K. {/ u+ {/ E
  1224. 9 m7 G: T2 I2 o9 \7 j3 r- P
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    . \; L8 @* R" o$ k# v' I
  1226. ; process. Using -1 means no limit.
    " P& q# _7 h, ^! E* g1 A
  1227. ; http://php.net/oci8.max-persistent
    . f- }) H# k: g$ B
  1228. ;oci8.max_persistent = -1
    " ]: [# Y5 w7 }6 ~

  1229. / S: w' \0 Q. n' p0 N- [" s
  1230. ; Connection: The maximum number of seconds a process is allowed to5 g) N$ F) i7 R
  1231. ; maintain an idle persistent connection. Using -1 means idle6 k* n( W+ [) ]- T
  1232. ; persistent connections will be maintained forever.* G% e, m0 E5 D9 }7 e( [: G
  1233. ; http://php.net/oci8.persistent-timeout
    0 e, z  D; D* U  l" r* R
  1234. ;oci8.persistent_timeout = -1" b4 C+ h  d; b5 U+ ]9 K6 d

  1235. % Y9 e+ y/ k9 e, D* k
  1236. ; Connection: The number of seconds that must pass before issuing a7 s" ^+ [+ w3 r6 M. w
  1237. ; ping during oci_pconnect() to check the connection validity. When
    0 p+ I7 j/ e% n) B6 _* @
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables/ A0 z1 t/ T5 z$ r. ~9 v
  1239. ; pings completely.
    8 ]+ ]6 A# }# c) \) R& w1 I; ]% @
  1240. ; http://php.net/oci8.ping-interval
    + D6 E# b- |3 l6 u. J
  1241. ;oci8.ping_interval = 60
    8 W; j, X% B+ m0 M' J

  1242. + Z8 i' T7 c$ C* r. v4 c  t2 r: F+ @& l
  1243. ; Connection: Set this to a user chosen connection class to be used! @. A- h: r: T9 e9 A
  1244. ; for all pooled server requests with Oracle 11g Database Resident/ a. k9 l# ?" R( ~4 ~
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    & ]5 a5 e7 R5 c$ x$ h% h% W* N* G
  1246. ; the same string for all web servers running the same application,% k* M* W$ b0 m) L" b8 N
  1247. ; the database pool must be configured, and the connection string must
    2 E- O% q8 c2 u
  1248. ; specify to use a pooled server.
    - P: B' j. [: u
  1249. ;oci8.connection_class =) g2 v( c8 l5 b% v+ Z6 V' z; S0 @
  1250. 5 b( Z5 T5 ]: X( ^8 E* _
  1251. ; High Availability: Using On lets PHP receive Fast Application
    " T: V6 }* _$ e- Q8 N% F; W' {
  1252. ; Notification (FAN) events generated when a database node fails. The
    & l& f5 T% `: L9 X  u& d  a, L
  1253. ; database must also be configured to post FAN events.
    , ?% n8 T2 k1 j4 `( s! ~) b
  1254. ;oci8.events = Off
    ) P& J) w1 m% W2 P& z9 |

  1255. 6 k( Q/ o8 V5 B2 N* s" m
  1256. ; Tuning: This option enables statement caching, and specifies how
    , Q) P* k$ t  J6 l; t, M
  1257. ; many statements to cache. Using 0 disables statement caching.
    , B: [7 f+ ^( F# a( l8 q0 t$ E
  1258. ; http://php.net/oci8.statement-cache-size, x7 B0 }0 ^6 s+ z# N& T; V( s$ Q7 P
  1259. ;oci8.statement_cache_size = 20
    ( y$ D) g' t* w. j; G/ |4 t

  1260.   [- `- f; M2 ], j& e9 I
  1261. ; Tuning: Enables statement prefetching and sets the default number of+ Q& ?( M* T; O# u
  1262. ; rows that will be fetched automatically after statement execution.
    " d" v) c3 ]+ L% t' y/ A
  1263. ; http://php.net/oci8.default-prefetch. f! m! P6 E% {: ^% n8 ^- i% V7 q2 |
  1264. ;oci8.default_prefetch = 100
    0 o/ l1 K; B: l1 P

  1265. , ^+ _7 Y' _# U1 V8 U
  1266. ; Compatibility. Using On means oci_close() will not close7 c/ U+ \$ c' ]3 r1 U1 f
  1267. ; oci_connect() and oci_new_connect() connections.) d% `: X  J7 G& ]* u
  1268. ; http://php.net/oci8.old-oci-close-semantics' |$ u- M; _5 j1 L* |
  1269. ;oci8.old_oci_close_semantics = Off8 ~5 W+ V/ H* B

  1270. & c" m/ K9 ]* f! P; w9 Q  G
  1271. [PostgreSQL]
    * w  T- p* G+ Y: p2 n" j8 N
  1272. ; Allow or prevent persistent links.
    3 \$ I& p+ c! [
  1273. ; http://php.net/pgsql.allow-persistent9 E6 {0 G$ {8 {( _1 _
  1274. pgsql.allow_persistent = On
    7 I  G, k4 P4 x' i+ f3 G4 G% s4 M

  1275. 5 T  z' F4 p; u' U( I& F
  1276. ; Detect broken persistent links always with pg_pconnect().& t  z# _$ R! w9 p# N% F
  1277. ; Auto reset feature requires a little overheads.2 u% O( V  ?& @4 x: ?
  1278. ; http://php.net/pgsql.auto-reset-persistent
    " t) p4 l6 F7 A" m3 W( C0 w
  1279. pgsql.auto_reset_persistent = Off
    + B# }) A9 F/ P" }9 r

  1280. ! ?8 Z# F& V' t6 J* [1 v
  1281. ; Maximum number of persistent links.  -1 means no limit.
    # P$ m( F  `! V/ [! [- V3 Z0 F
  1282. ; http://php.net/pgsql.max-persistent
    ( h. A/ w# Q$ r
  1283. pgsql.max_persistent = -10 s. l; |1 T! S9 ]
  1284. 7 {5 j* K$ H" O- I( J
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    + L( K6 o  F' l/ }* l
  1286. ; http://php.net/pgsql.max-links
    * u* V0 B* e$ @6 B: q! d% b5 d
  1287. pgsql.max_links = -1) w+ p; r0 V& `" G3 P% y' A0 E, r

  1288. + m/ \7 S& R6 s% m4 Y9 \
  1289. ; Ignore PostgreSQL backends Notice message or not.' V4 w; f$ Z* {! {$ K; X) f
  1290. ; Notice message logging require a little overheads.  P& z3 t: ?" n" B
  1291. ; http://php.net/pgsql.ignore-notice4 N6 w5 C0 c# d( ?1 a
  1292. pgsql.ignore_notice = 0  B5 x4 F" k3 X5 L; a" n; u

  1293. / t% U* V  F2 u& @
  1294. ; Log PostgreSQL backends Notice message or not.: L0 O! y! \2 x
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message., Z6 o( @, l4 x5 f: D5 I
  1296. ; http://php.net/pgsql.log-notice
    ; q+ J( y/ ?* B% M
  1297. pgsql.log_notice = 0
    - y$ z# N6 \  G" a  [! o7 [+ N

  1298. 2 S. x" q' G3 b+ P. y6 V/ c! a) y- b/ A
  1299. [bcmath]8 N; x) r& S. x0 z
  1300. ; Number of decimal digits for all bcmath functions.
    8 \" j5 L6 ~* K4 O! L
  1301. ; http://php.net/bcmath.scale
    6 N1 Q1 Q8 y8 b( ]( _
  1302. bcmath.scale = 0
    1 P3 ?+ |$ X( T  k) I% p* W
  1303. ( k8 N- i5 {' Q( ~0 H! m
  1304. [browscap]  J/ F4 P% C0 ^6 k
  1305. ; http://php.net/browscap: A* |/ |; n4 a6 d: {4 K( _. \# T4 {
  1306. ;browscap = extra/browscap.ini
    * ~+ r5 g/ S  S9 D( h
  1307. 6 a: M8 H  Z- @! ]+ q5 d
  1308. [Session]
    , v% q" F, W" t# n8 J0 Z
  1309. ; Handler used to store/retrieve data.$ U8 \, C  a2 y& s4 d2 }. t4 x  P
  1310. ; http://php.net/session.save-handler4 Q2 b/ o0 F' B
  1311. session.save_handler = files
    9 ], N; X; f0 F" Q
  1312. ) n! K# ?) P4 M7 i
  1313. ; Argument passed to save_handler.  In the case of files, this is the path, J  Z' D# U" K$ @+ _% c
  1314. ; where data files are stored. Note: Windows users have to change this+ H: N/ |+ m" N) h3 O- n& U
  1315. ; variable in order to use PHP's session functions.2 r. z0 \; E- h& _  s( g
  1316. ;" b3 ]( H3 N. Z& n9 q' k$ u
  1317. ; The path can be defined as:
    8 h5 E# C+ e3 |. m! B
  1318. ;
    5 v5 V$ }2 V% G8 ], l4 u5 c' T
  1319. ;     session.save_path = "N;/path"5 ~4 ?# W* C2 A. G; V( w/ C$ \! o
  1320. ;' @6 e1 o- s# M% B2 s" \% W( A
  1321. ; where N is an integer.  Instead of storing all the session files in3 F; s3 ]+ ]  L0 K: s( I( j
  1322. ; /path, what this will do is use subdirectories N-levels deep, and5 \+ l7 n/ w' a2 L& r
  1323. ; store the session data in those directories.  This is useful if; [0 s2 e7 |9 u9 S5 {/ w% P2 E* K
  1324. ; your OS has problems with many files in one directory, and is% W# r3 E1 G# @) a# A" V
  1325. ; a more efficient layout for servers that handle many sessions.
    9 K+ @* ?/ @+ v% k" s: M
  1326. ;0 k; z1 K1 c; K0 L7 N! N7 d$ f
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    ; z, R6 B$ E0 D$ f2 M
  1328. ;         You can use the script in the ext/session dir for that purpose.
    ! ^2 |  N1 O0 n% y+ m1 J
  1329. ; NOTE 2: See the section on garbage collection below if you choose to* J. m$ u1 A7 l
  1330. ;         use subdirectories for session storage
    & H2 s# H9 [# K1 p2 P
  1331. ;! G' G& J" C6 e
  1332. ; The file storage module creates files using mode 600 by default.
    ( [) A' E" P5 u& k3 i7 z
  1333. ; You can change that by using
    ( w" ^7 w& L) o4 R3 S1 Z- e8 V7 g
  1334. ;
    8 r/ O$ a1 {% d3 K6 R0 G9 B5 u
  1335. ;     session.save_path = "N;MODE;/path"
    * I' P& _0 X7 W2 }5 V" D
  1336. ;0 a; b# b$ U% U; \+ q& g
  1337. ; where MODE is the octal representation of the mode. Note that this. X5 M3 P9 _! `" y  n
  1338. ; does not overwrite the process's umask.9 X9 d4 P- y' G* D. U. {+ [& v0 l
  1339. ; http://php.net/session.save-path/ N! V2 l* O3 {" ~8 Q3 d
  1340. ;session.save_path = "/tmp"
    - h1 G5 \/ s) v7 u5 {1 N: b

  1341. ! D& J4 [3 `1 m: t' g4 n  g
  1342. ; Whether to use strict session mode.( c2 i- }2 v9 B- ?2 L- _) X6 K2 V3 f
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    . t: K8 q7 I8 V0 q0 m
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects9 h# @& [6 i% x) j! n
  1345. ; applications from session fixation via session adoption vulnerability. It is+ ]1 |, s5 b2 K0 D7 b
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    9 {+ V$ Y, r5 ~$ t2 g! Y; T
  1347. ; https://wiki.php.net/rfc/strict_sessions
    4 i# X; |3 O, O6 O; Q
  1348. session.use_strict_mode = 0
    * v: v* `/ K# r3 `9 d, l7 g
  1349. & H, ~3 i7 U* R$ p$ T) w
  1350. ; Whether to use cookies.% y7 P) [7 j; A. y
  1351. ; http://php.net/session.use-cookies
    ' Z7 S8 Z) b+ A" n9 @
  1352. session.use_cookies = 1
    . m, j) B6 w* Z0 ?6 u1 @! U

  1353. : \  K8 F4 [% M& V
  1354. ; http://php.net/session.cookie-secure4 q" Q" `( _) Y+ V0 z: P4 q
  1355. ;session.cookie_secure =
    4 B1 n4 W* A6 ?/ H8 I  K3 J7 C% x
  1356. - F7 @  Z- ?# i9 ?4 K
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining, [/ b7 p) Q' _# w  b* J+ s3 J
  1358. ; the session id. We encourage this operation as it's very helpful in combating! @) b  |; e0 V# t: ^+ g
  1359. ; session hijacking when not specifying and managing your own session id. It is9 f1 H, W4 m* E+ ~$ A9 `2 U* l
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    . d" w6 ]7 @3 W+ e
  1361. ; http://php.net/session.use-only-cookies; ?' q; s; c" t$ U& [
  1362. session.use_only_cookies = 1
    ; g) l% w% |' H7 X6 }

  1363. + ?. }+ D0 a& ]
  1364. ; Name of the session (used as cookie name).+ F: R4 z. y6 C  d0 X
  1365. ; http://php.net/session.name
    7 \* O, h9 ~! J: s: a  G  O# \5 s
  1366. session.name = PHPSESSID) e% t* n/ J/ T4 q+ g
  1367. ; j! o- r3 N! e" D# [8 S+ N' `' U- e6 e
  1368. ; Initialize session on request startup.
    % b1 i9 ^# Y9 f2 V$ e( q
  1369. ; http://php.net/session.auto-start; e8 K9 {" }5 Q
  1370. session.auto_start = 0! U9 h7 j0 ]3 `

  1371. ) d% i1 w3 F' a8 W/ V
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.3 g) u6 j3 _  @, H
  1373. ; http://php.net/session.cookie-lifetime' d6 ?& j- w; g. @% _+ X0 W
  1374. session.cookie_lifetime = 0$ N* H4 A( W+ U. a' l' P
  1375. ) B( d; H9 X4 g  H
  1376. ; The path for which the cookie is valid.( s5 d4 O; y/ T; K, s! w
  1377. ; http://php.net/session.cookie-path
    # W/ P9 S$ J! T; Q2 I; z- E
  1378. session.cookie_path = /7 v  `: I, q! Z1 T3 K: v7 x
  1379. & M8 W2 k; P2 N; z. F" B9 ^" w
  1380. ; The domain for which the cookie is valid.
    ' H- A6 U0 V2 J' ?
  1381. ; http://php.net/session.cookie-domain3 q0 I) V+ D/ Y  K) v. [8 @: ^
  1382. session.cookie_domain =  p0 ]3 O+ s8 P# X: z4 e2 |

  1383. 3 g& ^; ]8 \- u' k" c7 q
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.! Q. h4 z9 p, D! b0 g. y
  1385. ; http://php.net/session.cookie-httponly
      [9 d2 F0 W) N  {; T
  1386. session.cookie_httponly =
    ( a5 L0 v0 ^+ o! o
  1387. , ~" w8 ~/ M4 D
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    # T  p+ }2 w# X  a7 T
  1389. ; http://php.net/session.serialize-handler
    3 U& g+ S2 A! s' t. L; \/ J- \
  1390. session.serialize_handler = php2 `% ~0 Q# s+ R2 {3 t

  1391. 3 @7 n6 v$ X% h, ?+ n/ r
  1392. ; Defines the probability that the 'garbage collection' process is started. b* V0 B9 |/ B2 Y  `: I
  1393. ; on every session initialization. The probability is calculated by using& S0 R) g$ S7 X. k, M, \
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator- o' d! K3 Q9 N6 Y
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 13 p, A( F# S5 i$ o) a
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance8 S! |/ X% v! E2 X& n; K
  1397. ; the gc will run on any give request.+ u7 B& R3 ?3 I( v. C
  1398. ; Default Value: 1( v$ t# S9 x# n9 L
  1399. ; Development Value: 1: e; h+ `0 r% l8 M+ S2 r
  1400. ; Production Value: 1& @6 G2 ]9 `2 h& k9 G
  1401. ; http://php.net/session.gc-probability3 i% s; G' }* Q( D! J
  1402. session.gc_probability = 1
    : @/ J4 S8 X" y9 r1 e( _
  1403. # V* R% B7 J5 z& C% F0 ^1 B
  1404. ; Defines the probability that the 'garbage collection' process is started on every- K/ i1 D* U# |) ^! N
  1405. ; session initialization. The probability is calculated by using the following equation:
    5 H8 T3 B; n  n( q" W, z3 {
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and# Y/ `8 s: B4 c4 G( c) x! L) u
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    8 I3 M( M4 N2 r8 K
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    1 C) m* b0 V( [7 ?0 k: f" h0 ^
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you6 d& P. N& c3 B1 q. }$ e6 N7 [
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    2 T, U, x0 n) l5 O( `5 ?1 ^0 Z
  1411. ; this is a more efficient approach.
    1 \5 j$ Q5 e+ u
  1412. ; Default Value: 100
    ! V4 a6 |4 k, H+ k0 [
  1413. ; Development Value: 1000' r0 V. C- G. R' X7 e
  1414. ; Production Value: 1000
    + n1 u" ^/ w' O+ l
  1415. ; http://php.net/session.gc-divisor( B8 o9 ?" y, t6 I$ B) ~
  1416. session.gc_divisor = 1000
    $ A/ g" K  i  y% _4 n; h
  1417. 4 Z! ?2 s  ~' @& H; }1 o# {+ s8 }
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and4 b, q+ V% U* [5 @* [9 \
  1419. ; cleaned up by the garbage collection process.
    + \" [6 c+ n  i  ^
  1420. ; http://php.net/session.gc-maxlifetime) ~% p9 R6 F6 A
  1421. session.gc_maxlifetime = 1440
    $ B7 I" U; m9 H: X5 K
  1422. " P* V! R6 x, f( j$ W2 a# ~  q
  1423. ; NOTE: If you are using the subdirectory option for storing session files' C, F0 _8 t3 L% p# E) Q2 M
  1424. ;       (see session.save_path above), then garbage collection does *not*
    9 A% F% g: o- |, M
  1425. ;       happen automatically.  You will need to do your own garbage
    5 X. X, n% f- ], c4 C
  1426. ;       collection through a shell script, cron entry, or some other method.# {% [- l2 F9 q1 a
  1427. ;       For example, the following script would is the equivalent of7 |# d  H2 Q) [. \, \
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    8 b& i$ e$ V0 s2 s1 S) m7 _
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm( q2 ^0 X! T2 o5 g, S. r& E

  1430.   t/ c* n& P, t5 J: B
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.! t2 k7 B! @6 K: N" x2 E: o
  1432. ; HTTP_REFERER has to contain this substring for the session to be7 X  u* I. v2 Z% X, V4 r# N
  1433. ; considered as valid.
    1 D$ ]- ^9 U; N$ F( u
  1434. ; http://php.net/session.referer-check& ?- ]/ d7 l1 {" l$ A: X* ]" w
  1435. session.referer_check =" y9 S& y# t" R5 y- E' m9 q

  1436. 7 X" ~: C8 B' b3 x( `; Q) }2 w7 V5 `
  1437. ; How many bytes to read from the file.0 [: j5 h- V. S+ a; h/ {0 s
  1438. ; http://php.net/session.entropy-length- v: k6 f9 k3 Z: Z/ O  N' X
  1439. ;session.entropy_length = 32
    ' q( [2 l; u; k8 v  }1 f
  1440. 8 k1 l* ?0 V9 I9 t8 o
  1441. ; Specified here to create the session id.
    6 |- @/ y# p5 F3 p
  1442. ; http://php.net/session.entropy-file6 W" q! l4 b/ z
  1443. ; Defaults to /dev/urandom
    1 L. c3 R9 P! A: K7 A. G9 g% W* S
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom* Y7 D( H+ S- M& {; y, Z+ h0 U# O
  1445. ; If neither are found at compile time, the default is no entropy file.
    $ `0 E' U& m  J/ f3 C' |
  1446. ; On windows, setting the entropy_length setting will activate the
    1 V; V7 z1 R0 J' j2 J6 s$ m
  1447. ; Windows random source (using the CryptoAPI), v) d1 H3 C! w2 N/ P) J# s* S
  1448. ;session.entropy_file = /dev/urandom- Y- |7 k; S( }$ M& _; \; v+ g

  1449. . Q1 a- t, E6 q1 q
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    * Z! i( P6 E9 u/ ?7 a
  1451. ; or leave this empty to avoid sending anti-caching headers.# S( Z1 \2 [' E) `2 C/ a
  1452. ; http://php.net/session.cache-limiter0 q, V: a7 v6 Q
  1453. session.cache_limiter = nocache
    : @2 i1 G- j1 H! [! P* ?
  1454. 4 O+ S" D( r2 [1 Z/ l- L; K
  1455. ; Document expires after n minutes.9 {( m+ v) B& [. F% Y6 Z
  1456. ; http://php.net/session.cache-expire/ o7 }8 Z: \2 j8 I7 V
  1457. session.cache_expire = 1808 G" `% F4 y. `5 {( s/ S  I3 H5 o! H7 L
  1458. : Y9 ?5 ?( x- _
  1459. ; trans sid support is disabled by default.
    8 w5 ^: C( G9 G! Z" L- i6 q
  1460. ; Use of trans sid may risk your users' security.* m& I' D9 A1 L$ ?# ^0 }  i$ F
  1461. ; Use this option with caution.9 A2 w$ R4 x; {+ I
  1462. ; - User may send URL contains active session ID
    $ F/ ^' f* J! z  J4 c9 A- M
  1463. ;   to other person via. email/irc/etc.
    7 m+ b: n2 L4 d# h- a& D' M
  1464. ; - URL that contains active session ID may be stored
    & B2 ~- M7 Q* ^  L6 t/ Q
  1465. ;   in publicly accessible computer.
    " C- r; q4 f3 _/ M, `/ T
  1466. ; - User may access your site with the same session ID7 R" D4 X2 z3 Z, u3 ]
  1467. ;   always using URL stored in browser's history or bookmarks./ X/ I: ]2 `* c
  1468. ; http://php.net/session.use-trans-sid
    , X% O2 P3 b7 B3 u' |3 `7 W
  1469. session.use_trans_sid = 0
    + ~  |# e/ `) k5 q
  1470. ! Z$ l% T% O& ?# k; B
  1471. ; Select a hash function for use in generating session ids., V0 r! r0 u, w1 I* d  {
  1472. ; Possible Values
    2 Z3 `9 {0 c' ^6 m6 b* U
  1473. ;   0  (MD5 128 bits)
    9 I4 E( e, J2 `! f8 o
  1474. ;   1  (SHA-1 160 bits)
    # X+ p; A9 \4 \' y$ g6 G
  1475. ; This option may also be set to the name of any hash function supported by5 [0 ~% ]1 c/ m# n- X& G
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    7 Z6 _+ w! ]; n' u
  1477. ; function.
    : U" o; |3 ~& j- `: }0 V
  1478. ; http://php.net/session.hash-function6 P4 G4 G/ `" v! Z! R, P
  1479. session.hash_function = 0
    2 b. o6 u8 E- ^2 M7 Z
  1480. , A; [8 W; k( c0 w8 i$ l
  1481. ; Define how many bits are stored in each character when converting% t. \: G2 E9 m. r5 C
  1482. ; the binary hash data to something readable.
    $ M4 |- b  S3 ]
  1483. ; Possible values:
    0 m# Y$ \. e) T* l) R
  1484. ;   4  (4 bits: 0-9, a-f)
    6 Q) \6 q' k2 B9 u$ b
  1485. ;   5  (5 bits: 0-9, a-v)
    : f  o) y' i- q  _' \
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")# B/ \& F+ c* f8 m' P2 M1 D
  1487. ; Default Value: 4
    9 F) g7 U' a/ v0 |  K$ n  O
  1488. ; Development Value: 5
    ! F: [, m# o" {6 C; `/ n
  1489. ; Production Value: 5# h: v- G1 I7 e- \; H+ c- c& ^
  1490. ; http://php.net/session.hash-bits-per-character
    5 f4 a/ ?, X% \  B
  1491. session.hash_bits_per_character = 5
    4 N% f2 u: m6 a' F; A6 q
  1492. : a% n/ b( h( W+ t+ @0 y: y
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.# u$ }6 [. T: f& s$ O" U5 S5 R0 w7 M
  1494. ; form/fieldset are special; if you include them here, the rewriter will5 m1 Z/ X6 F  c. E
  1495. ; add a hidden <input> field with the info which is otherwise appended0 m, O* Q6 k2 n  o9 O5 C
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry." r1 r0 e* w: x2 R1 E" b
  1497. ; Note that all valid entries require a "=", even if no value follows.7 ?+ k8 A1 i- ~2 {$ \$ \  G
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="5 l: v- [( l" x, D! a0 W) i
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- [' b) \8 x, T4 A8 X4 K% E
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"5 T& ~9 a8 L* S& w5 N0 V
  1501. ; http://php.net/url-rewriter.tags
    8 {2 Q# T  O/ J2 |" z. {+ p( H
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry", n4 X; B4 i* {  X' R) y

  1503. ) O/ E2 Y# H* H% O6 e3 `
  1504. ; Enable upload progress tracking in $_SESSION
    $ y7 S$ w& M) F$ @; v( m2 b& p
  1505. ; Default Value: On
    / x- f: v( [6 s6 C
  1506. ; Development Value: On
    0 c) q) G4 T: e! M
  1507. ; Production Value: On  @4 u* s+ q8 o
  1508. ; http://php.net/session.upload-progress.enabled
    " P7 C0 C6 k6 s8 D
  1509. ;session.upload_progress.enabled = On
    - K5 |: y+ ^7 L

  1510. 6 Z, h5 l% u7 \$ z/ Y/ s6 u
  1511. ; Cleanup the progress information as soon as all POST data has been read
    & r" @3 |: O& V3 k/ F# x
  1512. ; (i.e. upload completed).5 ]' M% o1 Z5 a* a! t
  1513. ; Default Value: On$ h9 j, p/ }5 G: O( s" z2 a1 r; F
  1514. ; Development Value: On
    . @! }  e% b% K. I, Q$ {: V
  1515. ; Production Value: On
    ' N9 d7 K: k3 C0 H* Z
  1516. ; http://php.net/session.upload-progress.cleanup8 ^+ E4 B7 Q7 a1 V' M' ]) q* B% F
  1517. ;session.upload_progress.cleanup = On( Q# e6 y7 ]& ]8 o- b/ M
  1518. 3 H4 b. A& v  W' n2 W
  1519. ; A prefix used for the upload progress key in $_SESSION
    ' C" w, E4 w' q1 Z
  1520. ; Default Value: "upload_progress_"
    5 d% \$ Z: c) f/ T; ^! X. e0 j
  1521. ; Development Value: "upload_progress_"/ `( q2 C- R; a
  1522. ; Production Value: "upload_progress_"
    7 u, Q$ O8 g- K+ n8 g
  1523. ; http://php.net/session.upload-progress.prefix$ s3 l  S4 T; @, s! J
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ! {" }% a$ m2 y& U# b' d& \

  1525. 2 K+ ?& G! r6 y; x* ]: a1 x2 |) |
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ( Y  N2 ^1 ~" B: ?( U( Y! Y8 a8 {
  1527. ; containing the upload progress information0 n. H3 [3 W2 K4 l2 s
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"; w$ D6 ?. o  E
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"# N5 F* w1 m" f1 [  }
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"0 U) L2 _* b1 Z6 Z& V- ^2 l
  1531. ; http://php.net/session.upload-progress.name& t3 d( x2 P8 e, y2 ^2 l! v9 f
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"# g" F, S; Y; K4 S4 ?
  1533. 4 t! ]& U6 V( `
  1534. ; How frequently the upload progress should be updated.
    4 j: n8 G2 X9 L6 Y6 m# G
  1535. ; Given either in percentages (per-file), or in bytes" ~' A# t- Q1 _; p: G9 M+ }+ p- X0 A
  1536. ; Default Value: "1%"" o5 p9 `4 s% n. d# Z) h2 ?3 }
  1537. ; Development Value: "1%"
    2 c& X# @  g6 l1 j0 y9 M0 C
  1538. ; Production Value: "1%"4 e% l% G* V  K" B  t
  1539. ; http://php.net/session.upload-progress.freq
    : ~" Z9 O6 N4 c6 y3 G# q, R
  1540. ;session.upload_progress.freq =  "1%"3 A8 {+ G. t1 b' z/ y% m0 d: W6 m  @

  1541.   n# f' o3 r7 d  p. [
  1542. ; The minimum delay between updates, in seconds
    , k2 U6 y$ c: V: t5 k1 B- P# S- M
  1543. ; Default Value: 12 t6 h6 t9 S! C
  1544. ; Development Value: 1
    7 b# `, O# ~, ~5 L
  1545. ; Production Value: 1
    / u! {5 m' B2 u, E$ I; D% X$ [: P
  1546. ; http://php.net/session.upload-progress.min-freq" q; R  O; l- ]) A
  1547. ;session.upload_progress.min_freq = "1"" ]/ y& q, }! D7 w8 ^% x

  1548. 8 P7 \: F% J& m% l' ?7 L
  1549. ; Only write session data when session data is changed. Enabled by default.* u- c- u; D$ N3 _6 k7 l/ u
  1550. ; http://php.net/session.lazy-write/ y, m& Z6 o2 K* f/ N! t6 q
  1551. ;session.lazy_write = On1 R0 B( }& h0 B% X( S7 C

  1552. , r- \5 Z# Z) j/ k. H
  1553. [Assertion]
    0 S1 N  ^2 n/ x3 M5 [; b
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    # V" P- Y# V9 N; O$ h' t- g+ e
  1555. ; -1: Do not compile at all* P3 i* s, j" r$ W2 r
  1556. ;  0: Jump over assertion at run-time2 l  ~  P( U2 e3 e, ^! a5 r! k
  1557. ;  1: Execute assertions
    ) m( H: y) M5 v
  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)& y- U7 ~1 O# L
  1559. ; Default Value: 17 m2 @5 D, `0 V5 L; @+ e" c' b
  1560. ; Development Value: 1; q$ f2 e* W2 S6 T& K( _
  1561. ; Production Value: -1- n1 |8 F, C2 k/ Z1 E/ p
  1562. ; http://php.net/zend.assertions
    ( G6 t- {" w: S5 p
  1563. zend.assertions = -11 F! o* U5 J; B1 `! Q

  1564. ' {+ e$ _5 g2 ^5 q) B* b
  1565. ; Assert(expr); active by default.
    % D+ J3 p; w' K, W, D% l
  1566. ; http://php.net/assert.active" |  t% X8 z/ _1 O. b
  1567. ;assert.active = On& b' l1 }+ z, x7 B: l* O( B+ |
  1568. 7 ~5 K4 z& Y0 x/ v* ?
  1569. ; Throw an AssertationException on failed assertions
    : R( o- M' z1 P; P0 z( x# V
  1570. ; http://php.net/assert.exception' Y6 M7 b8 n8 B2 t8 Q+ Q, o) E
  1571. ;assert.exception = On4 _$ K2 i; n, L! }6 R
  1572. 5 R& c; i) S% m' r! g" z3 S
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    . C& N5 i9 Q' G% M# C1 d# \0 `
  1574. ; http://php.net/assert.warning
    # l- ]$ w2 h3 t
  1575. ;assert.warning = On
    8 J. W; w/ O. l

  1576. " h4 B. f8 e; N6 g4 h8 ^9 ]
  1577. ; Don't bail out by default.
    1 ]- i+ \$ C6 K9 O3 e/ r
  1578. ; http://php.net/assert.bail
    9 n) h; r: e( `  d% ^) T5 q, W
  1579. ;assert.bail = Off1 c5 j7 a' X- t! ?$ w. V7 E1 F
  1580. 0 v& R2 I% g5 ]
  1581. ; User-function to be called if an assertion fails.* S8 P- T5 ~5 X. I; b/ s8 ]8 t
  1582. ; http://php.net/assert.callback
    8 X( s* g9 y8 H( \( H) h/ Z
  1583. ;assert.callback = 0
    4 Y  T5 \0 @$ O3 Y7 w. O6 t
  1584. & M8 M0 P9 u) N1 }
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    ' _/ b0 ~% }+ x1 o* N8 h7 T
  1586. ; error_reporting(0) around the eval().7 U) S9 N- O5 i
  1587. ; http://php.net/assert.quiet-eval0 h& ]1 z: [& T5 \& L1 c
  1588. ;assert.quiet_eval = 0. E. v: N) q3 w0 L6 U) t

  1589. ; h! |/ S) X6 H' W5 b* O% e" Q& P% U
  1590. [COM]6 n% x6 w7 W$ y2 `( t
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    & g, @8 e, S3 H. ?% t2 K" K" s" Q
  1592. ; http://php.net/com.typelib-file9 k4 u$ g+ C1 i& J, P2 z" @
  1593. ;com.typelib_file =9 N5 y- O! \& Z/ B

  1594. " n0 B; x9 O3 k: D, N1 `
  1595. ; allow Distributed-COM calls. u& b0 \( i/ w1 y- z6 m, T
  1596. ; http://php.net/com.allow-dcom: b' C7 ~0 Z' o9 {/ {- i
  1597. ;com.allow_dcom = true
    , o" x3 V( W! P3 `+ Q

  1598. 1 w- f& O+ D/ b6 b/ I, y4 M# K: F
  1599. ; autoregister constants of a components typlib on com_load()
    5 {! f+ r- ]' Y( Q  {, _! L
  1600. ; http://php.net/com.autoregister-typelib: z3 K9 L) P0 z- @
  1601. ;com.autoregister_typelib = true& r: f  `9 L% X  u. o" T6 ^

  1602. 6 Y! D8 j, k" |
  1603. ; register constants casesensitive
    5 {+ S* w) @; D% u! O. U5 }
  1604. ; http://php.net/com.autoregister-casesensitive
    2 I1 @7 b. C: f: z. W( v3 A( g
  1605. ;com.autoregister_casesensitive = false
    & O/ C% ?8 w" z7 V2 F! E) P

  1606. * |0 |) S  k& i, {2 _& _" [
  1607. ; show warnings on duplicate constant registrations- U. {- S; q* P1 x
  1608. ; http://php.net/com.autoregister-verbose
    , {0 q) H! {8 Z# j9 _
  1609. ;com.autoregister_verbose = true
    0 p* l& |2 j1 Y; Y7 k

  1610. 2 z+ ~. v4 j* B, j" c" O
  1611. ; The default character set code-page to use when passing strings to and from COM objects.  M! U# r' ^' Z# r' V# w9 Q
  1612. ; Default: system ANSI code page" _: a' q, Z" J3 W
  1613. ;com.code_page=1 T9 G$ n  e/ `

  1614. + |' k/ w  H( l
  1615. [mbstring]
    ; ?" q! Z3 k1 N: h8 ]. J& W
  1616. ; language for internal character representation.8 v2 [5 S  l. J; n% x0 y1 H
  1617. ; This affects mb_send_mail() and mbstring.detect_order.* d5 X9 s* r5 Q+ [# h7 v
  1618. ; http://php.net/mbstring.language: a2 W3 z8 g: v' S, k
  1619. ;mbstring.language = Japanese: ]  L; [/ s/ N  i: N8 f# E% ]
  1620. ( i* O) ^( l, o6 [4 ]! K/ f$ U
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.- y7 B6 j! o6 j* `8 G# {
  1622. ; internal/script encoding.
    ( H$ _9 h8 e& F" U9 Q6 e. P1 g
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    3 S8 L- H$ o* @9 l. q1 v# i, U
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ' X6 ]7 l6 o2 G- S- Y
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding9 O1 n% n" a) W8 ^* ]
  1626. ;mbstring.internal_encoding =8 f6 S6 Y4 E3 c

  1627. ; }. f7 R$ b( G+ p. K; N( M3 G% H
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.8 y8 {9 s" Q% n- T
  1629. ; http input encoding.
    : o# u$ [; L/ D3 d4 O1 {
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ; e3 l8 t6 T; A( i' K8 e
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.% w2 g: W; T) E
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input9 x4 f$ S1 W; X+ o* s
  1633. ; http://php.net/mbstring.http-input+ B+ X1 ~) }3 L( d& V" b* ~
  1634. ;mbstring.http_input =
    7 i6 k- k1 {% k$ o

  1635. . X1 F- F6 {- s* G+ d& ~. F
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ; K  p' P1 S, t+ H" B$ }
  1637. ; http output encoding.' |" S/ C5 B5 e7 ^: J
  1638. ; mb_output_handler must be registered as output buffer to function.
    % x0 ]6 C8 k, T
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used." u; h9 m' J, W0 M% M" T3 u$ e; ?
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output( V/ |& n+ `" \- q$ z5 d
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    $ I7 Q% m% o0 |: r
  1642. ; otherwise output encoding conversion cannot be performed.
    7 `- K, D. t0 y' x( O. P& Z
  1643. ; http://php.net/mbstring.http-output: ~7 F9 r5 o/ A! P& r
  1644. ;mbstring.http_output =9 r3 l0 V1 i% e* O. T' d+ |5 E8 b" ~
  1645. ! _* Y0 H& N2 `* R+ w+ s& n
  1646. ; enable automatic encoding translation according to
    1 x8 i7 r* v7 y; o* H
  1647. ; mbstring.internal_encoding setting. Input chars are0 i& F) @! i, ~/ h4 G
  1648. ; converted to internal encoding by setting this to On.
    ! P# }, I1 p) f+ J0 c, M% T& Q
  1649. ; Note: Do _not_ use automatic encoding translation for6 x: u6 \3 L4 _5 @
  1650. ;       portable libs/applications.
    & k, C/ M1 @% F) F! t$ a5 P
  1651. ; http://php.net/mbstring.encoding-translation
    * E' z& O1 W. q' M6 }% [' S
  1652. ;mbstring.encoding_translation = Off+ y% u! |9 D: l1 a0 o9 i/ [

  1653. 9 g  Z% f1 f% Z1 {# s# ^
  1654. ; automatic encoding detection order.+ L4 g5 p! C5 n, Q8 y/ o7 D
  1655. ; "auto" detect order is changed according to mbstring.language
    " N/ K, r6 v9 ?# z- y, c  z4 {
  1656. ; http://php.net/mbstring.detect-order6 y8 J. F  T  r2 Z' I2 ?
  1657. ;mbstring.detect_order = auto
    4 r" ]' Y0 E3 X' v% g

  1658. - {  y. {# {) s) r8 a( y
  1659. ; substitute_character used when character cannot be converted" I6 M) t4 C5 p% \1 l' q, o
  1660. ; one from another! V. ^% S8 `% f/ G
  1661. ; http://php.net/mbstring.substitute-character
      H( Q; \" y9 ]" s5 B/ S& U
  1662. ;mbstring.substitute_character = none" [( k  r, F1 T% v
  1663. 6 l5 q  l" ]% j2 l+ L3 e1 U6 a
  1664. ; overload(replace) single byte functions by mbstring functions.2 g& q+ L3 k, P: Y
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),7 x, y5 M+ i( B
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    ! j0 E& |7 T- E5 ^8 p
  1667. ; For example, 7 for overload everything.
    9 H. I% ^: |4 C7 T" g: q
  1668. ; 0: No overload% H0 C: D- j: E6 Q
  1669. ; 1: Overload mail() function
    * U# y6 |9 K  X" E
  1670. ; 2: Overload str*() functions
    9 `. [; P+ F$ Y2 M1 H8 q
  1671. ; 4: Overload ereg*() functions  a3 q5 O7 }8 ?/ i# H
  1672. ; http://php.net/mbstring.func-overload2 d$ `; t( y* I; p+ U8 m7 v, \3 Y& h
  1673. ;mbstring.func_overload = 09 q3 N1 `4 N: ]' f8 t8 t
  1674. ( N6 J' V8 ?) j, y! J. h8 b& A
  1675. ; enable strict encoding detection.
    . X1 F  A! B0 V" i1 c/ z
  1676. ; Default: Off" b/ a$ s, A' c# e
  1677. ;mbstring.strict_detection = On* B  `1 u4 h' `
  1678. / V5 a5 R( g% n7 I% @: P
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()# D+ w, l* f! \/ F! o* b
  1680. ; is activated.2 Q/ P. n; m5 A' E8 v! p5 ^5 C
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ( O" ?5 i5 ]( u2 D, u: t
  1682. ;mbstring.http_output_conv_mimetype=2 r$ j. ]* C+ b

  1683. " Z7 \! r: q5 A/ b( X+ j5 x* `, T
  1684. [gd]; D2 K5 Z9 ^. W: c& X' ]( f
  1685. ; Tell the jpeg decode to ignore warnings and try to create  Q' ?/ h+ f2 y8 c7 t# F; `
  1686. ; a gd image. The warning will then be displayed as notices: e2 U! _4 F3 x* E* @2 ^, s
  1687. ; disabled by default7 X' e" H$ m) ~6 O
  1688. ; http://php.net/gd.jpeg-ignore-warning- H$ A9 I" @0 p: a5 i$ s2 K) A
  1689. ;gd.jpeg_ignore_warning = 0
    / k  Z. G( U2 |( N4 ^5 V
  1690. ; l0 V4 Y6 n/ n- Y2 p4 b
  1691. [exif]
    4 ~) ?8 [2 L4 R% _! [
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS." D2 ]  `" [' g. V7 U4 ?
  1693. ; With mbstring support this will automatically be converted into the encoding! s5 e0 f5 L1 K/ n. t
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding4 _& F0 D: v) p8 w3 P) ^1 c
  1695. ; is used. For the decode settings you can distinguish between motorola and$ p* L* b4 C3 i3 {) D$ M  O
  1696. ; intel byte order. A decode setting cannot be empty.4 ^4 i7 H: E$ Z7 @( ^( c
  1697. ; http://php.net/exif.encode-unicode" X2 R$ M# l7 w- ^$ ]( Q
  1698. ;exif.encode_unicode = ISO-8859-15/ _; C. [0 d2 L& K" c0 L3 C

  1699. , s! I9 p' ]& }/ @
  1700. ; http://php.net/exif.decode-unicode-motorola2 s7 W" o$ I# g0 B
  1701. ;exif.decode_unicode_motorola = UCS-2BE
      Z& ~) F$ P- W1 C0 ^. m6 F

  1702. # \5 |/ I3 ~+ [- l4 P3 D! N: _
  1703. ; http://php.net/exif.decode-unicode-intel) {# Y% Y* A2 g1 Z; u
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    7 F% g4 Z! L6 V0 w' E! E, I

  1705. - n# `7 X" m' G# ?5 R4 f% v
  1706. ; http://php.net/exif.encode-jis# d" ]3 l" a) K0 l
  1707. ;exif.encode_jis =/ R& p5 B0 _: U6 D& k7 v6 u+ @
  1708. " s% ?$ S( \7 v. G& g
  1709. ; http://php.net/exif.decode-jis-motorola. f+ M' Q6 g6 B" e& g
  1710. ;exif.decode_jis_motorola = JIS  q8 z, A8 i5 N# H7 H

  1711. - S& b( O2 ~% k8 g
  1712. ; http://php.net/exif.decode-jis-intel
    * P4 g" z/ C0 N: D* D$ a. J! V
  1713. ;exif.decode_jis_intel    = JIS
    0 a/ V) m8 Q  b9 Y9 t- r0 a8 y- z
  1714. : l8 \1 @+ A5 |8 D
  1715. [Tidy]
    5 n. Q2 ~& Z& U  o1 w* e# v" L
  1716. ; The path to a default tidy configuration file to use when using tidy
    8 G* d( q  f5 P# }& T3 I9 S
  1717. ; http://php.net/tidy.default-config- v: ]: m6 |* G! d6 {1 X
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg. I3 k. V$ O# W. p; i" g: o

  1719. : x' c  X' _" t
  1720. ; Should tidy clean and repair output automatically?3 J2 B) D1 P' ?% ?+ @3 D% G7 i
  1721. ; WARNING: Do not use this option if you are generating non-html content$ a  M) s( a" }" X
  1722. ; such as dynamic images* k: G# w" p4 U4 G. q% B7 }' R$ `
  1723. ; http://php.net/tidy.clean-output
    ) G4 o- G$ G9 L& c
  1724. tidy.clean_output = Off8 L. m$ ~. [6 s" j# q

  1725. - m- Z2 O' ^1 d, x
  1726. [soap]( n2 j) p0 V+ j* v; q6 ?$ |
  1727. ; Enables or disables WSDL caching feature.
    , L: R$ P7 Z1 ^  B6 o( Z4 A/ `
  1728. ; http://php.net/soap.wsdl-cache-enabled
    + Y' b- b% J* I1 c$ c- j
  1729. soap.wsdl_cache_enabled=1( C* f+ b, i) Y& @
  1730. / u$ t! K$ a. A& K- Q2 {' W. }* J
  1731. ; Sets the directory name where SOAP extension will put cache files.
    8 J8 W' {& }7 b" ^
  1732. ; http://php.net/soap.wsdl-cache-dir& Q7 E' d5 E5 Y7 D4 P
  1733. soap.wsdl_cache_dir="/tmp"
    $ ]$ B' `" G8 V3 q5 Y

  1734. 7 b5 C' l( d: _: U" o. T+ K/ D$ y3 c
  1735. ; (time to live) Sets the number of second while cached file will be used
    7 B6 U) F# ^) |& C9 \  [
  1736. ; instead of original one.
    ' U9 w% O! X1 S* F% [1 T
  1737. ; http://php.net/soap.wsdl-cache-ttl
    * u+ Q4 e5 r$ L
  1738. soap.wsdl_cache_ttl=86400
    . b/ Y( k: Y" G! A/ e9 t# {

  1739. 1 v! D8 j+ G4 v: i1 l1 P$ w
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    2 I6 A. r3 i5 A4 R0 }
  1741. soap.wsdl_cache_limit = 5
    # f, s4 O, E" v, k) c8 l: L

  1742. 5 X4 j4 u& X, m: w0 z" Y
  1743. [sysvshm]" o) S3 o& \# Q+ V- B7 a
  1744. ; A default size of the shared memory segment
    8 E$ D( e. e- Y7 m# X/ m* Z
  1745. ;sysvshm.init_mem = 10000
    ' Q/ a, t( W5 P& Q) u
  1746.   o: U0 P8 i8 I2 @- ~! B
  1747. [ldap]+ i" r0 J( v3 V. f+ m0 W8 A
  1748. ; Sets the maximum number of open links or -1 for unlimited.* k4 P% x9 C* ?* q. v" K$ `4 g
  1749. ldap.max_links = -14 }8 `/ J* I0 c; a9 i' O; U6 O8 B

  1750.   v- H% Y6 f2 r
  1751. [mcrypt]0 V$ M  ?7 Q  q; r2 k0 p# f
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    2 }, W* `' Y7 h4 A9 ~
  1753. + b9 F  {* y: i9 R" H) H
  1754. ; Directory where to load mcrypt algorithms
    / ]( ]$ F9 ^( v" q! ^8 `6 M4 m
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)6 S/ u. @# k( @: W
  1756. ;mcrypt.algorithms_dir=$ R, i8 z) }0 D
  1757. 2 ^; Z2 T7 l) b) B8 D" S$ V6 j
  1758. ; Directory where to load mcrypt modes
    ( @0 S7 T2 d; S, k0 U" t
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt); `2 W8 p7 h; e
  1760. ;mcrypt.modes_dir=3 B8 p9 f8 o9 H, C; i9 ~
  1761. & C( M0 q! ?1 l3 [8 Q! q
  1762. [dba]
    5 t1 v3 \4 X; r2 A" H; I& `
  1763. ;dba.default_handler=) F& ]6 D* v6 j  [/ z

  1764. ) h$ F9 ^8 N$ s/ S
  1765. [opcache]
    / v* @- G* x/ b
  1766. ; Determines if Zend OPCache is enabled
    6 f+ g& h! o; ^$ X7 R
  1767. ;opcache.enable=0
    ( u+ Q$ B/ z: m; Y/ q3 _4 o
  1768. ( {! I  x& ~0 r, c% b0 U1 a
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    3 _) q% a( ~$ t4 n
  1770. ;opcache.enable_cli=0! O4 J+ {+ l' t# K& L: V3 H+ B/ t

  1771. % `* r2 O5 U  O
  1772. ; The OPcache shared memory storage size.! `6 q, p( [8 G$ S: d
  1773. ;opcache.memory_consumption=64. R( ^  P+ z& C

  1774. ) C% m) u7 |0 D& V
  1775. ; The amount of memory for interned strings in Mbytes.
    4 Q* E/ d/ e8 V* {  t
  1776. ;opcache.interned_strings_buffer=4
    1 H( U9 w8 M) E

  1777. 6 _1 c9 q; V% N8 P( M7 U% C
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    - U/ y& D9 S9 _; `5 t& [
  1779. ; Only numbers between 200 and 1000000 are allowed.
      v) F7 O) [; }/ B
  1780. ;opcache.max_accelerated_files=2000
    ; q. v- t8 s1 D+ ^1 y: i

  1781. - ^: d) j+ a4 |  _* E: h3 w, {
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ! f4 l( T  _0 {7 L4 W9 a7 t- l. e7 e
  1783. ;opcache.max_wasted_percentage=5
    6 V1 d4 H! q0 X1 h

  1784. ( D& O& _8 D/ `. Q' Y. U: k
  1785. ; When this directive is enabled, the OPcache appends the current working' H/ Q$ w8 b# m, t8 i
  1786. ; directory to the script key, thus eliminating possible collisions between) C) B, O; ~! j: Z2 P
  1787. ; files with the same name (basename). Disabling the directive improves
    # Q* }; t# d' U; p
  1788. ; performance, but may break existing applications.
    - r5 |. u9 J3 L& N0 s& o2 t) \
  1789. ;opcache.use_cwd=1
    $ t& W/ `& t% y7 v* y! ]$ }5 j! _

  1790. / }5 f  e+ b; u! e6 z: b
  1791. ; When disabled, you must reset the OPcache manually or restart the
    6 H' R: ?0 `0 M9 ~+ t. k' c
  1792. ; webserver for changes to the filesystem to take effect., F; M# \. X$ [: b9 `
  1793. ;opcache.validate_timestamps=18 l4 S! [1 u8 p. u( H% @

  1794. - L, B9 j* b3 N0 W
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    $ J* ]& l0 A% Z8 E
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    4 E7 I9 \9 g9 [: f; ?
  1797. ; once per request. "0" means always validate)
    ! u: _$ ]* U4 w
  1798. ;opcache.revalidate_freq=2
    ) A! T2 _  y0 }9 U6 p; F# P6 {
  1799. * [4 m/ v  M+ Y( L
  1800. ; Enables or disables file search in include_path optimization5 o  {, N: `; h9 n) x8 @) Q# b
  1801. ;opcache.revalidate_path=00 i% v* r6 ^: {
  1802. 8 ]7 j  g0 n8 j* q; u
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    7 F! A3 S, m  v; g8 P8 S
  1804. ; size of the optimized code.. C' w: u$ Y3 M, e7 O, \/ u  j5 j( q
  1805. ;opcache.save_comments=1( E. E$ p1 E5 S3 w7 L. M# e

  1806. * x3 A& t" V/ q8 M$ m* y- R! {
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    1 L4 h8 F6 T! f( O% i  u
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    4 d4 C2 O! U9 y' d8 m
  1809. ;opcache.fast_shutdown=00 S% K$ @+ |# ], m2 E) f

  1810. 2 v% n$ }* b0 ~9 t, d; K% O# M
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    + _4 S) A. P( ~. F3 h0 s
  1812. ;opcache.enable_file_override=0! Z, Q( W  k; P- u" y+ [

  1813. $ K( l4 a9 o2 V$ y9 J0 M
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    " v+ r9 y: ?8 V# Z8 v
  1815. ; passes
    ) D6 u5 f# f- k8 j) g
  1816. ;opcache.optimization_level=0xffffffff
    . K0 ~6 g) [8 X& C
  1817. 7 w% m) q# m+ e
  1818. ;opcache.inherited_hack=1
    : {5 I! c1 n( y( ?( @
  1819. ;opcache.dups_fix=0. s; ]- O$ Q  p4 q* ]! c9 s
  1820. ! t4 w) p- W% O; A( L+ \4 }% Q
  1821. ; The location of the OPcache blacklist file (wildcards allowed).% x4 [$ l, W8 Y
  1822. ; Each OPcache blacklist file is a text file that holds the names of files2 m/ m! J4 L/ ^9 `
  1823. ; that should not be accelerated. The file format is to add each filename
    ( z# n* m! d/ {+ t# G0 l: F
  1824. ; to a new line. The filename may be a full path or just a file prefix  u; H- |+ B/ d1 C; J
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    1 k. `9 t6 l' B2 q6 m) e3 h, v
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    " ?$ r2 r# w$ ~. T3 F" w
  1827. ;opcache.blacklist_filename=( y% U: B; A5 U7 W

  1828. % M# O7 M" e) E2 }5 d' `' B
  1829. ; Allows exclusion of large files from being cached. By default all files4 U: Z( [- p* E* W' F/ G
  1830. ; are cached.
    , p9 F  n. Q) H9 F
  1831. ;opcache.max_file_size=04 a5 S. \4 I8 ^

  1832. ' e4 g. G3 @3 g- q# C
  1833. ; Check the cache checksum each N requests.
    / h4 W, }  c+ @$ S& }9 Z2 c7 e
  1834. ; The default value of "0" means that the checks are disabled.# G7 I- b! q& T. f! D( ?* E3 j% Y/ A
  1835. ;opcache.consistency_checks=0' ]% N' h: N/ R2 f$ I

  1836. " i, N) g" X2 @, ^1 B' ?" _9 K; E+ S
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache7 j, l& [$ u- ]
  1838. ; is not being accessed.( h7 p" r  \3 v$ f4 k2 s
  1839. ;opcache.force_restart_timeout=180
    " I6 I. _- w$ ]0 ^

  1840. $ j3 j) T/ T7 n( v0 n: K! w
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    " s. ^7 @" h" ^: b1 D6 M2 R0 p
  1842. ;opcache.error_log=5 V6 l1 A5 C8 [- `

  1843. ! e, `' i' g  [
  1844. ; All OPcache errors go to the Web server log.% {. b0 T4 E- p2 \0 V
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.1 c% t: E0 ]9 \+ v/ E
  1846. ; You can also enable warnings (level 2), info messages (level 3) or! p6 ?) N' [9 c# R
  1847. ; debug messages (level 4).% J. a; P6 {2 i9 c0 D9 Q
  1848. ;opcache.log_verbosity_level=1
    2 a: J1 p- n/ a

  1849. - H% |/ s# [* K- s5 O; B( Z
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.. y5 Z) v' B  x: E! h* _
  1851. ;opcache.preferred_memory_model=; a8 F, x( i/ R+ V
  1852. % B2 t- P, n! k( ]) w4 R- k. W/ w
  1853. ; Protect the shared memory from unexpected writing during script execution.  v% X3 a( l$ Q3 F+ n; y% f
  1854. ; Useful for internal debugging only.) p4 t! H8 N' F/ [
  1855. ;opcache.protect_memory=04 Y$ A2 w/ _: e2 Y
  1856. / [" p2 [1 b% P  O8 T
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is) _; b- A; t/ L$ p5 X$ w% Z) a
  1858. ; started from specified string. The default "" means no restriction
    0 y5 |9 O2 b7 S
  1859. ;opcache.restrict_api=
    % [! x* k. i7 z

  1860. 0 {( @& i8 y4 S7 z
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP" k0 x/ i8 a, A3 x3 y
  1862. ; processes have to map shared memory into the same address space. This
    ) S! k  P/ ]' G# D
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    ) N# O0 v) ]  I4 m* ?8 V
  1864. ; errors.
    ( I" N. Y& n0 D
  1865. ;opcache.mmap_base=, w3 p% E& w( v6 L/ V, s- B+ M

  1866. ' D6 g6 S5 P5 u+ k3 g' C; ?
  1867. ; Enables and sets the second level cache directory.+ d) z8 z2 i% a5 m/ b
  1868. ; It should improve performance when SHM memory is full, at server restart or
    # L; I4 ^& t+ ?1 Y9 J  H3 `
  1869. ; SHM reset. The default "" disables file based caching.
    ' E' ?3 t& |" C" u) o9 I
  1870. ;opcache.file_cache=
    9 H" ^# r+ @9 U9 H* J# |

  1871.   N5 g' [+ W5 \8 f
  1872. ; Enables or disables opcode caching in shared memory.7 O) I# s4 I! J! J& \! K1 Y+ v3 O
  1873. ;opcache.file_cache_only=0: y, ~% M* t( w- a) Q: ?

  1874. ; p. q8 I1 g. g' u" X
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    5 l: [- R& _4 `$ P9 Q. ~, [
  1876. ;opcache.file_cache_consistency_checks=1: _$ S/ T! n; I$ `
  1877. 0 ^# b: q3 M" o  V' F: S
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    % g# D( h& {' c! O. f
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    ' |& j# T8 ^5 e
  1880. ; cache is required.
    1 W4 A' n& o& Z# D) f7 ~  w
  1881. ;opcache.file_cache_fallback=1. Z3 ?9 ^2 N; \$ g
  1882. ) ^3 \, G1 `' B% s; C  a
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.( r0 i, M/ r4 L, V8 m
  1884. ; This should improve performance, but requires appropriate OS configuration.
    $ c$ J4 f  R, q4 _% D* b- N9 O
  1885. ;opcache.huge_code_pages=1" |: e) @! M8 Q

  1886. ) x# g/ q8 G& l& N) ?; }1 f; J! k1 M
  1887. ; Validate cached file permissions." n6 Q% e& y# B& e$ S+ f) b
  1888. ; opcache.validate_permission=0$ [9 O  D, w7 _5 S2 l% o

  1889. / q% F* v; j3 t0 O/ x+ C! U
  1890. ; Prevent name collisions in chroot'ed environment.
    ( n* N- C& F# x6 Y  R1 l# T* q
  1891. ; opcache.validate_root=0
    : |" V6 x) V$ ], q, S/ n" _
  1892. 9 ^2 N) \3 M1 t! u
  1893. [curl]3 F- x8 I9 d( _
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an/ c- N3 N* q' s" ~) G% @
  1895. ; absolute path.
    0 v3 S  |* `/ b& Q+ N1 k: k" u
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt- c* ]# K/ s. [! E9 v1 W

  1897. . a! n( L+ X/ s9 v; X3 X) E
  1898. [openssl]0 O; |& g5 _$ X' K0 T
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem6 z+ Y7 a; a  F2 j
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ; U+ `# p  {' }  D, O( o1 Q) E/ Y
  1901. ; not specify a value for this directive as PHP will attempt to use the
      o6 B, C5 O: O* T; Z8 [
  1902. ; OS-managed cert stores in its absence. If specified, this value may still! B' i. P- L! k
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context! [. r% P# k+ T9 |
  1904. ; option.# r: ]. P6 c6 N4 }5 z
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt7 a# x( k% T1 @6 N7 ]; D0 c

  1906. 2 W" }9 b8 P& Q
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the* P2 S7 i$ j. a; q+ E% d
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    4 K2 l7 c+ V9 f# z- z; s
  1909. ; certificate. This value must be a correctly hashed certificate directory.6 p( r' A( }2 d6 ~, w; O
  1910. ; Most users should not specify a value for this directive as PHP will
    . `4 q) C9 \+ x* G% Y% D
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    % m" L0 u; W" [* i9 ^# X# ?5 ?
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ! M0 b5 D* `3 S* s, O/ _) |8 P
  1913. ; SSL stream context option.6 c+ U7 ~, v2 d. O% z( _* [
  1914. ;openssl.capath=
    7 f2 H6 G2 R& }! o+ @( Q
  1915. 8 u1 Q# E4 K" p  K. v
  1916. ; Local Variables:
    2 ^; Y" ^0 U: z4 R2 o$ ]; ^) U3 K
  1917. ; tab-width: 4
    - d  R8 a- i4 Z+ A- Z
  1918. ; End:9 K2 @5 S7 w/ |/ v: Z

  1919. 7 C/ ~6 g2 N1 P: w( c8 P' i, ?  `
  1920. ;eaccelerator
    9 Z& {; k: n3 L3 l+ [) {

  1921. 4 Q9 A: }/ O- ^- [9 ^3 ^( }
  1922. ;ionCube
    . q; w  t8 g. |, ^+ L

  1923. - s+ \2 W/ c2 q
  1924. ;opcache: d; Z0 x* \5 a, ~1 _. v+ p: i! Q: i

  1925. - o3 @% Q9 h# R# i. J" |# s
  1926. [Zend ZendGuard Loader]
    9 Z- p5 I# L) U5 H
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.% d. @* X0 V0 K% G' b+ E
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    ; h6 Z/ W+ @+ t" f, I* X( ]- ~! a
  1929. ;zend_loader.enable=19 S5 x3 p3 x7 Q7 K/ ?( F
  1930. ;zend_loader.disable_licensing=0- ^1 N& N6 S. \& M3 j
  1931. ;zend_loader.obfuscation_level_support=39 T6 q! o% l9 B0 }( ~  x
  1932. ;zend_loader.license_path=
    # B3 y( ~; F0 _* @

  1933. # W) U( {' U: H- F% U. p4 j
  1934. ;xcache
    0 {, }$ E( r. ?3 K

  1935. . P/ [; @+ }9 R; t* `7 U
复制代码
  k. h% C+ O! C) L3 i' |/ W
0 Q; J' p7 G, l+ }
  G  y9 R$ a9 j6 P+ y6 k

2 _* j0 p- ^3 G" o) Y6 o; h8 @5 t" W) E# G0 P. i- E8 e
& D# g9 G2 _! r- B5 ?* L5 `

% A4 \# b, o- [; ePHP5.6版本原始设置
: z  [0 D% ^" r# i0 _1 R2 g, I. W( g* d# c7 w
  1. [PHP]
    / M3 }" e- v8 C, k4 h
  2. & m3 q# d9 Q! L# a
  3. ;;;;;;;;;;;;;;;;;;;+ f- R) O+ P" c( t: b! D( |
  4. ; About php.ini   ;
      r, K- i7 }  x
  5. ;;;;;;;;;;;;;;;;;;;8 f# H( G+ n, i4 ~* }4 ~
  6. ; PHP's initialization file, generally called php.ini, is responsible for3 @/ d. x1 q' ^4 R" P  S" `9 {
  7. ; configuring many of the aspects of PHP's behavior.
    ) B5 @& t9 _* o

  8. : L3 {  `0 i; x: u  O7 t$ N
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ( C1 E8 P& [, `; K3 P
  10. ; The following is a summary of its search order:
    ; a/ Q6 J  v$ m1 R
  11. ; 1. SAPI module specific location.. ?. v1 q- X9 b3 a& w
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    , N) w7 z5 i, d
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0). q* d4 L2 `1 U6 d
  14. ; 4. Current working directory (except CLI)
    % W0 Z, ?0 s" A- e9 l  Z+ K
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ; D% p3 J( o3 S6 ~8 l. i1 i
  16. ; (otherwise in Windows)
    : N+ k) E- @. N
  17. ; 6. The directory from the --with-config-file-path compile time option, or the' y0 Z: i+ H' N0 s6 A4 o5 X5 n* z
  18. ; Windows directory (C:\windows or C:\winnt)
    5 r8 f' N. g) |" s
  19. ; See the PHP docs for more specific information.) z; |1 x  M) V4 q2 t# A! O
  20. ; http://php.net/configuration.file
      m, t* Z. a0 w

  21. + y# K' U6 i* d* D, O
  22. ; The syntax of the file is extremely simple.  Whitespace and lines- ?1 K% I8 [' F* y" z
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).. @0 A2 a6 o5 O  {$ o3 u( Q
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though8 g) p6 y5 x; f3 E% }8 }
  25. ; they might mean something in the future.
    2 s: k* _- D6 p

  26. 4 i- K7 h. |7 K# |
  27. ; Directives following the section heading [PATH=/www/mysite] only
    5 R: j$ ?3 G- w: O  Y9 k
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    8 \- a- Q# a* ^( f" @  l
  29. ; following the section heading [HOST=www.example.com] only apply to
    8 |) _  @' a* i( L. P( Q0 E. }0 ~; l
  30. ; PHP files served from www.example.com.  Directives set in these; k$ q# t. W' }. c) s6 f2 w
  31. ; special sections cannot be overridden by user-defined INI files or
    & |+ C( R0 G+ M; w, |; ]
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    / J& H" ]1 u2 u* A, P
  33. ; CGI/FastCGI.
    * b8 q% n, Q3 W# y- y+ Z  p6 e3 |
  34. ; http://php.net/ini.sections4 b2 _" l9 z: n9 _0 E" e

  35. 8 X* T8 ?6 T' u, E. A  E+ ]
  36. ; Directives are specified using the following syntax:
    # k- A( s) ]. o( k7 @9 f/ B
  37. ; directive = value
    1 E/ b' n9 O+ V3 d* ^  g
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.% d% P- t& `4 a+ e( p; D* F
  39. ; Directives are variables used to configure PHP or PHP extensions.
    6 J& c. v: e3 _; s* O% p0 d' w0 c
  40. ; There is no name validation.  If PHP can't find an expected
    : J1 L4 u0 l8 W
  41. ; directive because it is not set or is mistyped, a default value will be used.
    * `% _# V5 Y+ }; T

  42. 9 V7 T9 ?# Z3 k4 t7 V; l7 D
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    3 u2 k$ U$ `7 _
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    3 h5 m. S0 l! _$ I; k
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a7 d( t0 T7 R8 W- S
  46. ; previously set variable or directive (e.g. ${foo})
    ; S8 U: J% f$ I3 r- M! {) q

  47. 6 t4 b8 H* }* c. ~% q* M3 j
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    / \& W$ G  t  n6 M
  49. ; |  bitwise OR4 E- F; c- r: a8 N* d2 ?
  50. ; ^  bitwise XOR
    6 v% D; z+ U8 E: |" J' e, C7 q
  51. ; &  bitwise AND1 }. F% L9 ?% B
  52. ; ~  bitwise NOT+ \9 z+ o" N5 U% y2 j) C  c' u
  53. ; !  boolean NOT
    ( C5 r7 [# Y" w. A

  54. % `0 f1 t* |5 N8 h' t
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    3 S  f6 u+ }7 f( e7 o
  56. ; They can be turned off using the values 0, Off, False or No.: `  p, w& i, N- h. F

  57. # k6 z# P0 q+ i2 `* E
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ' H( |/ }( s' X- l5 w9 \- H
  59. ; sign, or by using the None keyword:
    " w5 R: w6 q6 P% r0 z2 A$ S  c* x

  60. . S* n* a; t+ `5 z( ]# x/ `9 N
  61. ;  foo =         ; sets foo to an empty string/ z8 \2 G' M# o" Z
  62. ;  foo = None    ; sets foo to an empty string
    & x, j% i7 @, x7 y0 b2 l7 |
  63. ;  foo = "None"  ; sets foo to the string 'None'
    # u! J8 E/ [4 g$ h0 }
  64. 6 m: a3 a; y& J' l- V8 m
  65. ; If you use constants in your value, and these constants belong to a) ~, c; {) g  p2 l: |/ }0 G
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),& G2 X& g* V) v. h1 Z. ?
  67. ; you may only use these constants *after* the line that loads the extension.) ?; s% ]' o( [- Y( c) j
  68. : c/ B3 R) j3 x( N8 ?% C: Q
  69. ;;;;;;;;;;;;;;;;;;;
    # C/ v! E1 z; [3 [9 H; h
  70. ; About this file ;$ H" W* j, T' S& i! j
  71. ;;;;;;;;;;;;;;;;;;;8 \5 c7 u' g- T7 g* n" _3 ~9 q4 `& o
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    4 i- l+ z2 ?! t1 Y( A
  73. ; in production environments and one that is recommended to be used in
    ' W- n) i: N; m* _& s5 ^& d& E9 E
  74. ; development environments.
    : I5 z1 o* T& v5 m3 h$ j5 V6 `
  75. ' x! e  T' h) g& V2 v5 R
  76. ; php.ini-production contains settings which hold security, performance and
    7 j* K4 Q+ _- c+ }
  77. ; best practices at its core. But please be aware, these settings may break. r: p8 S+ H$ n& q
  78. ; compatibility with older or less security conscience applications. We
    0 ?) Y) j  C3 o) r; y: c
  79. ; recommending using the production ini in production and testing environments.% H" B3 C2 J; f

  80. & E( N" J. w: |3 n: A
  81. ; php.ini-development is very similar to its production variant, except it is$ m) Z8 ~# I* ]% |( z
  82. ; much more verbose when it comes to errors. We recommend using the
    # C2 R/ ^* ~9 C8 M
  83. ; development version only in development environments, as errors shown to. i) G; Z; z; V: C: y0 `
  84. ; application users can inadvertently leak otherwise secure information.5 P' k4 L9 k5 Q7 W1 a( E

  85. 3 P& m$ H" [+ u9 r/ j3 a4 x
  86. ; This is php.ini-production INI file.
    . \( _) i0 _! s" D- z/ \$ k

  87. : `" N9 J& r5 Y: U3 P. l
  88. ;;;;;;;;;;;;;;;;;;;; w" T; j/ l% j, S# g
  89. ; Quick Reference ;
    & U( J1 {" `( Y+ m( [$ R) k
  90. ;;;;;;;;;;;;;;;;;;;
    3 q5 N6 d% K: c  E
  91. ; The following are all the settings which are different in either the production
    ( l$ `8 A  M; x. S! k
  92. ; or development versions of the INIs with respect to PHP's default behavior.5 `0 h4 ~: p$ A; t* t5 d9 H
  93. ; Please see the actual settings later in the document for more details as to why. B; e' i- y+ J1 X# g; A, ^
  94. ; we recommend these changes in PHP's behavior.! ]4 z. q7 I7 |- d- E* ]+ S

  95. ( j% G7 w/ z2 K
  96. ; display_errors
    5 Q# [* a  G/ ]: y
  97. ;   Default Value: On+ p0 ?5 w6 J+ T( _
  98. ;   Development Value: On
    : _% z! F" {& X' y- `0 D1 ]# w- J
  99. ;   Production Value: Off" P" A- y% G; M3 Y4 C
  100. $ V$ P& |' \' {9 W7 M
  101. ; display_startup_errors7 R7 E; R( ?$ B% E7 H
  102. ;   Default Value: Off
    # c' ^& F' a3 P, \$ F* q5 _
  103. ;   Development Value: On
    7 `! E6 G0 U! c6 k$ B  c& z
  104. ;   Production Value: Off# R4 \0 d0 j. h- q& `- ^; N

  105. 0 T/ I5 o0 A2 E
  106. ; error_reporting
    5 Q' g: _" a: M
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED- d4 B- [+ x2 v" V
  108. ;   Development Value: E_ALL: f2 e& B& G7 _' X5 a8 M
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT6 z! x- D) U/ e$ e
  110. 1 J: i5 x/ `2 u% ~
  111. ; html_errors
    / |! e5 }8 Q# t& a
  112. ;   Default Value: On
    6 F4 y8 l* @0 L: l9 S
  113. ;   Development Value: On
    , C( {7 z  X9 e. V3 F1 e
  114. ;   Production value: On
    " }1 M  u: Z; ?

  115. ) f6 w0 F  n! d9 r$ k0 b+ `7 i
  116. ; log_errors5 T' [6 P+ {% [  A0 n* y
  117. ;   Default Value: Off
    ) ~, ~: h; N+ d, a0 C1 Z3 p3 Z
  118. ;   Development Value: On
    $ n# X: ]: w$ p4 Y5 D, k
  119. ;   Production Value: On( B- n1 {; ?7 y4 X3 V6 V# v2 X
  120. 4 Z' Y1 n; x/ Q# d  e3 Z
  121. ; max_input_time  ~& f7 d9 [2 `" r+ m. t2 L
  122. ;   Default Value: -1 (Unlimited)% B0 ^  B9 I/ q- e
  123. ;   Development Value: 60 (60 seconds)
    4 |9 O  i- f2 E) c! ?
  124. ;   Production Value: 60 (60 seconds)
    3 a/ d' d1 V% |5 ?
  125. 8 g# J% H# [2 s5 W2 v
  126. ; output_buffering3 Q& j4 `8 ^7 r
  127. ;   Default Value: Off0 Q7 k5 H0 _- b
  128. ;   Development Value: 4096; X' P5 `2 }" n) T: Y/ L! A+ f2 }
  129. ;   Production Value: 4096" B+ L) ^, z0 }* D% x1 S

  130. : `9 r; P3 D, a- T( |
  131. ; register_argc_argv6 w2 O& s8 X/ _+ S: l
  132. ;   Default Value: On
    * d$ _' o2 P5 T3 K2 n6 B
  133. ;   Development Value: Off: w' G& J  g3 f3 l. v
  134. ;   Production Value: Off
    , o9 z- i* n0 K/ T
  135. $ p: R, T2 K# t4 \7 I4 u
  136. ; request_order
    4 J7 G4 D& I( E
  137. ;   Default Value: None
    2 V4 D+ K9 l/ C2 k" Q6 H+ [$ Q+ }7 T
  138. ;   Development Value: "GP": y+ w0 @! M. F# w$ n
  139. ;   Production Value: "GP"
    1 _/ x, O  m4 o5 `- i2 n5 }
  140. ' y7 O. ?& z# I  Y
  141. ; session.gc_divisor
    3 f5 ]1 ]- m: m) L
  142. ;   Default Value: 1002 z) B# z* S, l9 Z$ b0 W8 e1 p
  143. ;   Development Value: 1000( l8 k) k" Y) Z: E8 E
  144. ;   Production Value: 1000
    ' [1 u, U  U0 g+ o

  145. ; h. {3 ?: ^  L( h7 U( j7 u
  146. ; session.hash_bits_per_character% b& p; n, ~' ]  c5 g; O# k9 h
  147. ;   Default Value: 4
    & O; {8 k2 }6 g2 X4 B- l/ R! g+ C$ K
  148. ;   Development Value: 5
    . b7 g  X/ K% M# L  Q6 _5 A  T
  149. ;   Production Value: 55 F5 `% Q. [* j% l' A1 N8 h# U

  150. 5 _. Y$ a) }+ M
  151. ; short_open_tag
    ! S7 [7 A% e9 _
  152. ;   Default Value: On
    ) \; O( m5 h1 C) \0 ]  T
  153. ;   Development Value: Off, K* _' Z" v; d; Z3 {
  154. ;   Production Value: Off( B( E9 r7 T  J! J

  155. 0 D% Z; C. b- m0 o
  156. ; track_errors
    6 G) Y" c6 a6 ~8 i7 R) @
  157. ;   Default Value: Off& m& V& I, e, j8 O- o0 F( L8 C
  158. ;   Development Value: On
    " {6 m% q* S+ i- ^( {$ r+ V  d# x
  159. ;   Production Value: Off
    / M; {* V# M& r. V: J6 }

  160. 8 d4 Y% k2 ~- e0 Q
  161. ; url_rewriter.tags9 ?1 N4 ?* {7 @( o* E8 e% `
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ) \! S" X+ ?9 l  |; Z
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 s  `$ d6 N6 Q& {0 g7 y, I
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* `9 u* Z7 P+ e
  165. 7 {# M  [9 s. C; U% e
  166. ; variables_order
    ' A% P4 ~# \" Y8 X% C, T
  167. ;   Default Value: "EGPCS"1 B! S- B% E+ E9 r- D% u) G
  168. ;   Development Value: "GPCS"
    4 n5 m& f4 k) l4 v4 L& ], n- A+ c
  169. ;   Production Value: "GPCS"
    7 S5 H8 g3 ?1 {8 x3 z# g1 W2 P! T

  170. . Z% |+ A3 \' g7 e
  171. ;;;;;;;;;;;;;;;;;;;;1 f& N( X5 u9 I$ ^
  172. ; php.ini Options  ;( e! {; q* g  \; W. k( Y; `
  173. ;;;;;;;;;;;;;;;;;;;;
    2 w, i3 z9 _) _% x
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"  \3 ^2 e+ s: u& o
  175. ;user_ini.filename = ".user.ini"
    % }) Z) M8 m) D& |* p" d7 Y
  176. ; A. w/ ?* H) p  V( `) E
  177. ; To disable this feature set this option to empty value# s) d2 {$ _. D5 B: i0 l$ C
  178. ;user_ini.filename =6 U$ U2 |& w, R0 d$ ?" b

  179. 7 d& C5 M( a+ |2 h" g  z
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)( N/ A" c  M8 q; [* K
  181. ;user_ini.cache_ttl = 300
    $ M- m/ p3 p3 o' f+ H7 V  B
  182. : t4 E3 W$ s. P& A0 Y/ ]8 M) b
  183. ;;;;;;;;;;;;;;;;;;;;/ j3 m& m6 _$ p
  184. ; Language Options ;- m* l( [, d3 i( W2 X) J3 i
  185. ;;;;;;;;;;;;;;;;;;;;
    ; v* J7 d( I) o6 [3 c- c. Z

  186. & F  n8 c- i- ]( e6 D. W8 E  G3 B5 E
  187. ; Enable the PHP scripting language engine under Apache.
      l: j: t, s1 S# o; F' S, S
  188. ; http://php.net/engine7 @. O, d, [7 M1 H1 b) i
  189. engine = On
    + ]4 ]; O' L2 u5 k

  190. , w' A+ k& q( ]5 s# s1 y( d9 V0 e
  191. ; This directive determines whether or not PHP will recognize code between
    0 z. R% B. S' v- _) X
  192. ; <? and ?> tags as PHP source which should be processed as such. It is' I) Y% k' B1 d6 Z9 a# I  v) ?
  193. ; generally recommended that <?php and ?> should be used and that this feature# o0 a  Z6 G0 k( i7 ^" z3 q- D' M
  194. ; should be disabled, as enabling it may result in issues when generating XML
    . J/ o  A3 {5 g- J
  195. ; documents, however this remains supported for backward compatibility reasons.
    0 A7 |# ], {: ^' ]
  196. ; Note that this directive does not control the <?= shorthand tag, which can be- ]8 |8 s; a+ f" S  S" q( L" g
  197. ; used regardless of this directive.. n/ y5 n$ H# a2 R, V7 o( \! K
  198. ; Default Value: On8 }% L* u3 v1 S4 h2 K! ?6 ?4 W  P
  199. ; Development Value: Off2 ]/ C9 L, M, b2 T; g
  200. ; Production Value: Off5 F* _- C: j+ T$ c& N* H
  201. ; http://php.net/short-open-tag
    / Y! I7 h0 v+ H# D$ h) m! |
  202. short_open_tag = On
    $ a5 V% \- D% ]3 ^

  203. # F! Q! I! Z5 F. K. i
  204. ; Allow ASP-style <% %> tags.
    * x8 a- I9 t  f
  205. ; http://php.net/asp-tags
    7 S$ g/ l$ E+ f( i- W  D6 U
  206. asp_tags = Off
      w+ U  K5 o. e% J$ D; F

  207. 4 Y" a% @) z8 C, g2 N0 F, V
  208. ; The number of significant digits displayed in floating point numbers./ ^' u, O2 B& K
  209. ; http://php.net/precision
    : w% ]  Y: r- Z& d. }: ^; d7 |2 p) @
  210. precision = 14
    : r; d1 {1 Y* t5 R0 q" Z- N
  211. : z2 F% J! k* U& O  ]
  212. ; Output buffering is a mechanism for controlling how much output data
    2 \' ^4 ?. L1 ]
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that. t( @& P1 M2 m$ S+ O
  214. ; data to the client. If your application's output exceeds this setting, PHP
    ) w1 O/ Q- S+ S+ z
  215. ; will send that data in chunks of roughly the size you specify.
    - z8 e, [6 y) p! K$ Z; Z0 O
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    8 t+ v; ~# q' T0 M& G0 g; S9 z
  217. ; interesting side-effects depending on your application and web server.
    $ C0 ]+ N' o6 L, W' |
  218. ; You may be able to send headers and cookies after you've already sent output
    6 g1 u; ~5 }# N6 s" A
  219. ; through print or echo. You also may see performance benefits if your server is
    2 b+ @0 h" L6 J% T0 I! J& K, H: B3 u
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    ) m$ n$ ]9 v" g
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance1 g0 H) b! A! {0 ^0 N! D6 C; x
  222. ; reasons.8 y8 w) f& {) ~( C/ a4 u
  223. ; Note: Output buffering can also be controlled via Output Buffering Control2 J6 e( d0 U- m7 Q, X1 P7 e
  224. ;   functions.
    " ~. H& t) C" i* y5 P! l
  225. ; Possible Values:
    " L8 x1 W/ w: ^! D  n
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    + l/ M3 o3 F6 N0 {+ I6 {* U
  227. ;   Off = Disabled. V* j" O  c1 e8 M. G2 x! i/ T8 N
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    7 s# f( M7 d+ T, X5 L
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI# {$ U( n6 s( T! }
  230. ; Default Value: Off$ x* p0 e- B1 c$ K) F! p$ }& y
  231. ; Development Value: 40960 ^+ M8 W. S, L
  232. ; Production Value: 40962 I9 o' B" h5 m% h0 f8 a6 {6 P
  233. ; http://php.net/output-buffering1 g7 _( Y' j' N/ r  Q9 {
  234. output_buffering = 4096
    3 ?0 i$ U2 `& C0 n, ~0 d
  235. % p" X; v  k4 o* p
  236. ; You can redirect all of the output of your scripts to a function.  For
    " a+ s) j0 [. u6 o* r6 o
  237. ; example, if you set output_handler to "mb_output_handler", character7 i2 O/ [# Y- X3 K
  238. ; encoding will be transparently converted to the specified encoding.
    1 k9 H: O4 d8 I0 x, J; B6 e
  239. ; Setting any output handler automatically turns on output buffering.8 W3 ?. l/ I# X8 @( Y0 T2 K
  240. ; Note: People who wrote portable scripts should not depend on this ini
    # B- n+ L' }' B  k- R
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    # A5 `! w& ]) X" _) ~: ~
  242. ;   Using this ini directive may cause problems unless you know what script! ~3 B: J2 y, J) ~0 B4 x% c' B
  243. ;   is doing.7 k9 `) a, e2 Z% f) @
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"! W; N5 J( u3 z# F
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".8 ~3 V4 x/ e1 _6 |
  246. ; Note: output_handler must be empty if this is set 'On' !!!!3 X2 ~" [2 j- x( g( y& @: H( Y
  247. ;   Instead you must use zlib.output_handler.) [8 P& n$ t9 b" |0 d# X5 ~! R
  248. ; http://php.net/output-handler- R6 [. d: J3 V9 h
  249. ;output_handler =$ I& ]+ Z2 {: |$ v( N
  250. / T5 E$ k( N1 G8 s- l
  251. ; Transparent output compression using the zlib library6 M( Y8 ^' B& f- e$ j- L/ D
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size/ N8 I6 f2 R. S. F
  253. ; to be used for compression (default is 4KB)/ T" W3 B6 N1 ?! T
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    4 F6 s. K+ {& z( y2 k8 \
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    2 F0 a4 T- g, r2 v9 f
  256. ;   compression. If you prefer a larger chunk size for better
    7 w8 e# q; |6 A$ h' P2 M
  257. ;   performance, enable output_buffering in addition.
    5 F' Y% J" L0 D+ a" H& ~7 R
  258. ; Note: You need to use zlib.output_handler instead of the standard$ y( h. @* E  g$ r+ l- B
  259. ;   output_handler, or otherwise the output will be corrupted.2 {0 l" z1 X/ J
  260. ; http://php.net/zlib.output-compression* S2 E' T2 j2 S# r* D! g
  261. zlib.output_compression = Off5 K2 `  W9 r& r0 b, O' P, J! O

  262. ! g7 [# Q, O9 ^8 b& L
  263. ; http://php.net/zlib.output-compression-level& ]3 w: r4 G3 m( }' P
  264. ;zlib.output_compression_level = -1, O$ M: W3 D6 V" [/ ]

  265. 5 @( {8 ]9 {* Z$ h1 o4 `
  266. ; You cannot specify additional output handlers if zlib.output_compression1 e) j9 R3 h% T% d. j; E
  267. ; is activated here. This setting does the same as output_handler but in
    1 e4 O% D4 H3 u7 E
  268. ; a different order.
    ; r/ X7 L; g! ^0 O7 k
  269. ; http://php.net/zlib.output-handler
    9 I! ^# }+ N& h6 L% H5 R
  270. ;zlib.output_handler =
    9 c' U, I! a7 p$ {8 J
  271. : Y) t" _' K3 a1 l$ G
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    ( T  W* w' h: H* X# [0 ^
  273. ; automatically after every output block.  This is equivalent to calling the( V$ M5 b- p) _9 F
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ! b6 p( R$ P! {: h5 f1 [# _
  275. ; and every HTML block.  Turning this option on has serious performance
    / C6 x# @3 X9 @5 R" @
  276. ; implications and is generally recommended for debugging purposes only.  |2 B' K! B/ v' v* V
  277. ; http://php.net/implicit-flush- B) C' p$ |2 W# R" w& B
  278. ; Note: This directive is hardcoded to On for the CLI SAPI9 b7 X! v$ Z8 F* {- d9 K# {
  279. implicit_flush = Off
    * }* ?( y5 a6 [  f
  280. 0 c! F0 G9 n/ Y& f
  281. ; The unserialize callback function will be called (with the undefined class'3 e/ {. A3 B2 w/ [: E
  282. ; name as parameter), if the unserializer finds an undefined class
    # ?  m5 r0 B2 K8 C0 E4 @$ e
  283. ; which should be instantiated. A warning appears if the specified function is
    6 g# H; y7 S' p, T' r# A9 @2 r1 p2 b
  284. ; not defined, or if the function doesn't include/implement the missing class.: Y! p4 e# j) i# i  w# V
  285. ; So only set this entry, if you really want to implement such a) M9 J" S2 y1 j! k/ h
  286. ; callback-function.4 P. K8 X" M+ d- V8 e5 T# I
  287. unserialize_callback_func =
    5 @4 d9 B  b3 E0 f2 r5 T

  288. 9 V! a9 Q8 [$ f" N8 z
  289. ; When floats & doubles are serialized store serialize_precision significant
    5 y3 O9 n$ O9 T# a/ {
  290. ; digits after the floating point. The default value ensures that when floats
    ! n) p* c4 Y6 x( U0 o" v- w1 h7 R: n
  291. ; are decoded with unserialize, the data will remain the same.% o5 [" y0 c+ T* ~" z0 h9 }
  292. serialize_precision = 178 w! f, ^' o( R$ P/ Y5 N

  293. , x+ y! H" Y% A5 `3 F. w; f: I# N
  294. ; open_basedir, if set, limits all file operations to the defined directory
    + c& a3 ~/ u3 H  ?' |
  295. ; and below.  This directive makes most sense if used in a per-directory% `/ w. _4 I# w7 p  ^4 A
  296. ; or per-virtualhost web server configuration file.
    ) O; l5 o$ X2 n  m# b3 W' j' l
  297. ; http://php.net/open-basedir% B1 \" w& M- K* s
  298. ;open_basedir =
    2 r! H3 D0 t" j6 g* H# x! S8 k
  299. 3 e( a) X  K* I- F0 w
  300. ; This directive allows you to disable certain functions for security reasons.
    ' A% Z  P/ O. \. V
  301. ; It receives a comma-delimited list of function names.
    6 R  [! B% I. f  K) U8 \  D
  302. ; http://php.net/disable-functions9 r: ^; I0 l! o% [% ^+ M
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru- o! @% }7 i4 c$ _2 A7 R0 K9 K

  304. 2 s7 g3 ?. a* B  r( N
  305. ; This directive allows you to disable certain classes for security reasons.- N& J2 @( c2 H( i, n
  306. ; It receives a comma-delimited list of class names.3 ^5 X- x4 _: \. r% m
  307. ; http://php.net/disable-classes
    . h* [+ H5 `. j8 ?
  308. disable_classes =
    , T$ a# j2 ^3 X6 @+ u- x1 a  u6 A* N

  309. % {, C1 {* o" N
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    3 I  q8 f. T: P* L- i7 ~2 `
  311. ; <span style="color: ???????"> would work.# V4 p+ O+ Z4 {5 B- b
  312. ; http://php.net/syntax-highlighting
    7 \* g# N- f( W1 _& o
  313. ;highlight.string  = #DD0000- e) t  X. a/ J5 A0 e" Z/ j( Y
  314. ;highlight.comment = #FF9900
    & P6 g7 _! F. N
  315. ;highlight.keyword = #007700) E% S: d: |) q+ o- f
  316. ;highlight.default = #0000BB+ v$ L7 P- d6 ^; N
  317. ;highlight.html    = #000000( K1 Y9 d; e! |! W- o5 ^. d& C) g

  318. ( f' y0 c% ]! i3 X  `# z! u
  319. ; If enabled, the request will be allowed to complete even if the user aborts( A9 X: |  C" g& E( {/ H2 G6 k4 Y% b
  320. ; the request. Consider enabling it if executing long requests, which may end up* K& U: J. K+ R9 H# V
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    + n! _. R0 a, o7 h0 W+ B
  322. ; is to disable this feature.0 m3 G& X5 H  G3 m5 R- C
  323. ; http://php.net/ignore-user-abort
    ' C: P. ~+ j. r- M# S- C$ H; w
  324. ;ignore_user_abort = On
    , ]- Q0 t8 n& G+ b8 o: @1 k( ]) r
  325. 7 r0 b4 F, ?% A
  326. ; Determines the size of the realpath cache to be used by PHP. This value should1 |& |& u' Q" H& }/ b( W* Q
  327. ; be increased on systems where PHP opens many files to reflect the quantity of. F6 |, x. b# a, s, q/ Y: V; P
  328. ; the file operations performed.9 L5 R1 b5 l  ]' ^
  329. ; http://php.net/realpath-cache-size
    " o% B& `! [, q1 f* r: z* g
  330. ;realpath_cache_size = 16k  b8 ?, x( h6 C$ O0 \

  331. 4 X. c6 x' ?5 [8 C. J! k
  332. ; Duration of time, in seconds for which to cache realpath information for a given5 r& O+ t0 v2 n
  333. ; file or directory. For systems with rarely changing files, consider increasing this. K- y4 j5 E) h3 l0 H8 e
  334. ; value.
      i7 ]! V2 A0 n, I
  335. ; http://php.net/realpath-cache-ttl
    4 z/ D+ |, h7 Z/ f( k
  336. ;realpath_cache_ttl = 120
    0 A5 [- _+ j1 |- Y2 {6 H8 |% H
  337. & r+ m& v1 i3 @
  338. ; Enables or disables the circular reference collector.
    ) ^2 M7 Q! H* Z, T6 X
  339. ; http://php.net/zend.enable-gc" K; s" w7 G5 p# J* p
  340. zend.enable_gc = On$ X2 o1 C2 Y  ]  x8 h

  341. * D4 \0 I9 {5 l! K  D/ _
  342. ; If enabled, scripts may be written in encodings that are incompatible with6 C" q* @% v. g: x: T3 R: k
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    4 \2 ?: J& g6 h# y2 T
  344. ; encodings.  To use this feature, mbstring extension must be enabled.2 b- }" v/ r1 O9 A: a  _0 n4 C
  345. ; Default: Off+ q! o# m6 ^3 \  J3 }
  346. ;zend.multibyte = Off
    # K# U& h7 _! q6 A1 X

  347. 4 R% s9 `; N( i) P( d/ Z
  348. ; Allows to set the default encoding for the scripts.  This value will be used& U4 w  K, X9 S$ i: O6 @
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.# B. x: P# I; ]. m5 o' `) e0 R
  350. ; Only affects if zend.multibyte is set.
    - O" c5 y9 {- u- ]) B  {# Q: u# v0 w
  351. ; Default: ""+ e; {7 K5 `& R1 {
  352. ;zend.script_encoding =
    , Y/ P$ X; h! ?% s6 A" ]
  353. ' M  O! p9 e5 e( u
  354. ;;;;;;;;;;;;;;;;;! r1 u) Y8 |  I# K& `  n
  355. ; Miscellaneous ;9 N! `& @" ?+ K# B
  356. ;;;;;;;;;;;;;;;;;$ L9 g1 ^" s$ E

  357. 3 a) y1 @, f' T) D9 [
  358. ; Decides whether PHP may expose the fact that it is installed on the server6 d2 ^8 J5 l' e! \( Z$ S9 P) _! ?  x
  359. ; (e.g. by adding its signature to the Web server header).  It is no security& }8 B- c9 s3 N3 O
  360. ; threat in any way, but it makes it possible to determine whether you use PHP: M7 Z& \2 P& q! c% s
  361. ; on your server or not.1 q! c5 f$ m6 A
  362. ; http://php.net/expose-php
    , |: a, A2 W) N6 q8 Q+ H2 w1 P5 B
  363. expose_php = On
    ' E0 }( i5 K; m5 G5 g1 y

  364. ' s* \, Q4 J; |! G8 E2 h/ `
  365. ;;;;;;;;;;;;;;;;;;;
    6 n. y0 t# k: S; e
  366. ; Resource Limits ;1 E* C" u1 H7 N( v$ e: b% M
  367. ;;;;;;;;;;;;;;;;;;;
    ( w3 z+ e" \" A0 P5 |, y( Y; V8 }7 F
  368. " F! ?4 X2 [' e0 i$ v$ e4 t9 r" O
  369. ; Maximum execution time of each script, in seconds
    + O: D' u7 ~" K3 ~! Z& |* Q( f
  370. ; http://php.net/max-execution-time' @! k/ B2 V2 t; {
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    3 z# }7 N" M0 a7 Q3 K9 X9 ^" s% o
  372. max_execution_time = 300
    5 h1 E" V" o0 j) r  r% G* j

  373. 8 V1 W: U" J, I* W5 |7 m
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    2 \- T7 W0 U; B5 Q0 m9 m- F' s
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly, z1 l8 p' l. {# C
  376. ; long running scripts.
    & k3 F  X- m" R. e1 W& a5 Z
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI( Q& ]9 U" Y1 P/ z
  378. ; Default Value: -1 (Unlimited)
    1 k  P% ?' a% \
  379. ; Development Value: 60 (60 seconds)
    5 J" a( L- C5 k: ?
  380. ; Production Value: 60 (60 seconds); O! l0 D7 t( c  M  n1 t2 ?
  381. ; http://php.net/max-input-time
    ; ~; }" L3 A7 M" w' v; B
  382. max_input_time = 60+ _0 u8 o8 o4 b& l7 Y' Q
  383. - j3 Z2 J) Q3 ^# Q; @! [$ G2 @
  384. ; Maximum input variable nesting level4 m  z+ G: a9 C
  385. ; http://php.net/max-input-nesting-level% V  R, d! Z1 o1 u) r
  386. ;max_input_nesting_level = 64) U5 H5 X  I$ i, ^

  387. ; i4 x9 l6 A( e& ?4 L' v. L
  388. ; How many GET/POST/COOKIE input variables may be accepted
    4 h  S# Q/ ^, S& N( e; \
  389. ; max_input_vars = 1000  j  R; q. u& V5 h
  390. - u' `& W& A0 e' F3 l% ]0 v# X# c& E2 g
  391. ; Maximum amount of memory a script may consume (128MB)% T" T0 V+ r# h* ], Y
  392. ; http://php.net/memory-limit
    : h6 |% N) q+ ~+ y
  393. memory_limit = 128M3 v* D, R- n' N
  394. ( V* m- Y; H) y4 t1 c/ p$ j# e+ a
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;  f" h0 w" Y3 k: ~
  396. ; Error handling and logging ;
    : Z/ }5 d- A8 C4 T- ?1 B% ~( v
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    + L5 }% ~; q5 U* f' Q: ]
  398. " e1 [2 J& ?5 \' i+ J' |
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    $ A: d. }; ^% {6 {* [, K
  400. ; it to take action for. The recommended way of setting values for this
    7 Z3 ~' M6 v" W7 Y
  401. ; directive is through the use of the error level constants and bitwise* }+ W4 J  m$ ?: ^1 l
  402. ; operators. The error level constants are below here for convenience as well as
    * P5 o( j. _6 F/ F
  403. ; some common settings and their meanings.
    $ t+ K) b( e* Z# B2 o5 y
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    $ U7 H: a* ?- B5 ^3 f
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    : V$ Q! p3 M6 ]7 s
  406. ; recommended coding standards in PHP. For performance reasons, this is the) w, Y) O: p7 P# L& D
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    8 C6 W$ `" Z1 o- \% y1 S0 f% W& A
  408. ; resources complaining about best practices and coding standards. That's what
    $ Z' M6 U, s0 b9 X5 p
  409. ; development servers and development settings are for.
    1 L4 H0 r; k2 n6 j3 n
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
      X5 v- i8 e$ p
  411. ; means it pretty much reports everything which is exactly what you want during
    9 ?; d! k8 S) r& F
  412. ; development and early testing.
    9 Q% Y3 C; ^8 U$ c  {% B/ X: R
  413. ;
    * B9 S! R7 c% n1 x- [
  414. ; Error Level Constants:+ w* A+ X9 e/ r" }  E6 l2 N. \# W  g
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    & v/ I  f- M( p0 r. H
  416. ; E_ERROR           - fatal run-time errors# I- z- g' q1 L# e2 @" `; T
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    + R- Y7 }7 \. \1 ]3 X
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    , E$ w) }& |3 c) F4 ^, s0 t
  419. ; E_PARSE           - compile-time parse errors
    0 t, j- @% c) a6 h4 R! m9 J1 \" f
  420. ; E_NOTICE          - run-time notices (these are warnings which often result- z4 l+ e7 q& [* _; l  \8 G
  421. ;                     from a bug in your code, but it's possible that it was" ~% V' x$ g% Y6 v7 X& ^
  422. ;                     intentional (e.g., using an uninitialized variable and# @4 d/ v( U  [2 L! A$ S5 K' G
  423. ;                     relying on the fact it is automatically initialized to an
    & d1 O, u9 R0 T  b$ T1 J0 q
  424. ;                     empty string)
    ) |) u: m# i8 S
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
      n: ~2 L& k' L$ @8 s
  426. ;                     to your code which will ensure the best interoperability8 V, y3 V6 ?$ U/ r3 L; f7 F
  427. ;                     and forward compatibility of your code, }3 B( D4 ]) a: e
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup( E2 N/ @, |4 z: N3 G
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's& U( I! M: x0 {  u
  430. ;                     initial startup
    / X6 d8 P1 T1 i& ]) N4 N
  431. ; E_COMPILE_ERROR   - fatal compile-time errors" n" B/ ]4 _$ q# p8 j/ w; g4 y
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
      d0 I- l3 _9 K6 f% \0 C$ e
  433. ; E_USER_ERROR      - user-generated error message
    . i  S: `, F# c) G: d# k
  434. ; E_USER_WARNING    - user-generated warning message
    9 w; ?- [7 }. p4 f9 M8 O
  435. ; E_USER_NOTICE     - user-generated notice message
    - l  U! P+ ?  ], p. i4 W
  436. ; E_DEPRECATED      - warn about code that will not work in future versions" q0 M) K5 [/ n1 ^, j6 S0 F
  437. ;                     of PHP
    ' m1 X8 ?; n2 d! r: r
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    / U; o6 T  [6 M' \  O2 R- T; n% l
  439. ;! h( B; ~+ @. z) k
  440. ; Common Values:/ B# ~' C4 [9 I
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    : s; M0 P" A' Y7 Y# Y: O+ `  ^
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)( s& q/ r9 H$ o# N3 n
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    6 e, M' W8 e8 D, e0 Q' Y; x! w1 _, |
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    3 C$ l, R4 s* g1 G% k
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED& w5 F' ~" G8 X) _# H% Y" \8 S; e
  446. ; Development Value: E_ALL
    + Q( O0 E1 O' M, T
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT( w0 D# G3 n& d4 y* S. N
  448. ; http://php.net/error-reporting
    ' m/ r! {. D( J+ o2 D# l. v
  449. error_reporting = E_ALL & ~E_NOTICE
    / w/ C5 n( R. U4 T) x. j
  450. ) W. i9 N( D% G- ~, r) a& d
  451. ; This directive controls whether or not and where PHP will output errors,6 o8 [8 r) A8 k4 ]# Q* a3 T
  452. ; notices and warnings too. Error output is very useful during development, but
    ) w4 b; D  k# M  L/ B5 c/ j
  453. ; it could be very dangerous in production environments. Depending on the code
    3 k" S  B1 r+ ]% ]0 X
  454. ; which is triggering the error, sensitive information could potentially leak
    + [9 I% g, c$ o2 L6 m, m" c
  455. ; out of your application such as database usernames and passwords or worse.
    0 Y* R8 B3 M) u9 n8 |4 m8 `
  456. ; For production environments, we recommend logging errors rather than/ z4 |- {8 a4 v. a- m
  457. ; sending them to STDOUT.* l+ w4 ^4 C0 D4 U5 m
  458. ; Possible Values:
    6 J' W  y' R) d7 T& i3 N
  459. ;   Off = Do not display any errors: D( k% u0 e$ P; d: @, ?. j7 c
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    " X- P- ?0 G# z( n- W; s2 p
  461. ;   On or stdout = Display errors to STDOUT2 {1 u& Q1 t3 C" `2 U. A
  462. ; Default Value: On2 l( S' Q* Y; j" ~1 a# [
  463. ; Development Value: On- O  `+ ~" c1 R9 w6 A/ \
  464. ; Production Value: Off' X7 ]8 V+ e& F  ~, ]/ j0 a
  465. ; http://php.net/display-errors* b+ |5 y) A8 E3 z' {
  466. display_errors = On" {6 s* M: _  q/ L

  467. 9 j7 Y  U2 e( k8 N& z! A
  468. ; The display of errors which occur during PHP's startup sequence are handled* h) M$ [0 ?5 O  L
  469. ; separately from display_errors. PHP's default behavior is to suppress those% r! J; d7 u% U- S, z
  470. ; errors from clients. Turning the display of startup errors on can be useful in7 x7 Y6 O, w' _( n9 t, t& X& c
  471. ; debugging configuration problems. We strongly recommend you
    , }, U: Y% Q4 w1 |# O. v& U
  472. ; set this to 'off' for production servers.
    6 r5 }, x) F! N
  473. ; Default Value: Off
    & S! C# V# @1 J/ m# L
  474. ; Development Value: On
    : V# j" ~3 \& D0 j. j- P
  475. ; Production Value: Off& ~9 C  l! U  `2 l  o
  476. ; http://php.net/display-startup-errors
    7 x) I0 r# X% `. U$ I( l" ?) p
  477. display_startup_errors = Off
      z8 J: h; I3 b% P+ |8 |  U2 v5 W

  478. ' z" v) N$ i& e, D0 k+ n0 _$ g4 U6 O
  479. ; Besides displaying errors, PHP can also log errors to locations such as a' A% a, w5 N  v2 [" ]2 ]
  480. ; server-specific log, STDERR, or a location specified by the error_log
    ) |0 J- X+ o& F1 Q8 U- K7 F9 \3 }
  481. ; directive found below. While errors should not be displayed on productions3 \4 O% m) _/ I3 I' b
  482. ; servers they should still be monitored and logging is a great way to do that.7 h7 W) j9 {0 H1 \2 y& }- @
  483. ; Default Value: Off
    # w- {) O! E, d0 X4 T7 W% C
  484. ; Development Value: On; |: Q2 e3 _: d" ^
  485. ; Production Value: On
    9 V1 T( V$ W# c+ a9 Q3 {3 f' @' u
  486. ; http://php.net/log-errors9 @- C- y" [  \6 e/ X* x/ a) N. x
  487. log_errors = On
    % M: Y" |; L+ W8 X3 w8 |
  488. 1 ]* ^# Y1 p0 C  `
  489. ; Set maximum length of log_errors. In error_log information about the source is% i  E7 m  `+ Z6 U3 \
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    5 M1 z( a' P" }9 V$ u9 _& M5 r
  491. ; http://php.net/log-errors-max-len
    * ~- U" b4 X, i) b" u
  492. log_errors_max_len = 1024
    : {/ m6 s! {7 c4 a3 H+ w6 {
  493. ! |: M5 U, r5 A, J9 _# ~! g
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same, x) {" i! l7 N* U
  495. ; line unless ignore_repeated_source is set true.
    ) ?: f9 j. U8 B9 s0 w8 Z
  496. ; http://php.net/ignore-repeated-errors# x+ f. N! O' L, X" E$ J9 p
  497. ignore_repeated_errors = Off' J6 }) K9 |" {$ X/ X& x

  498. / N4 f, o5 a$ L. i' o" s; J1 |
  499. ; Ignore source of message when ignoring repeated messages. When this setting+ a7 J" K. [# b# d3 T
  500. ; is On you will not log errors with repeated messages from different files or
    % p2 Z( n) s5 H& Q
  501. ; source lines.
    $ |! c$ Q& f% d  x% s5 h5 f! d
  502. ; http://php.net/ignore-repeated-source) @) f1 y; R4 Z8 D6 R
  503. ignore_repeated_source = Off
    5 n& b" s3 x# d
  504. : n9 B9 B& t: A9 M
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on) g3 m1 Z2 ?" j, @3 g- T2 x
  506. ; stdout or in the log). This has only effect in a debug compile, and if- c, r# {/ M% g
  507. ; error reporting includes E_WARNING in the allowed list; a; H1 G% ?* Y5 I. T. z# }9 d
  508. ; http://php.net/report-memleaks
    1 G# N, k# v, J
  509. report_memleaks = On' V7 C, ]/ W* I9 M

  510. 6 G& D9 [# I9 Y" z
  511. ; This setting is on by default.
    2 I9 Y- o6 [( p0 V" O
  512. ;report_zend_debug = 0) @0 T" i; X5 h8 h4 d
  513.   {7 Q4 m8 f3 @9 F
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    & E+ S$ B# G1 U
  515. ; to On can assist in debugging and is appropriate for development servers. It should* ?) @; z  B% }0 r1 j& ?: _0 k  b
  516. ; however be disabled on production servers.
    . m- s- X8 }  C
  517. ; Default Value: Off
    & ?* `' x* O' q6 ]
  518. ; Development Value: On3 }/ R) W) Z9 _7 S) Q
  519. ; Production Value: Off/ J: |' z5 ?$ w" V
  520. ; http://php.net/track-errors
    + J0 i- S. ~  a% ?7 x9 N7 [
  521. track_errors = Off
    7 W. w7 y4 s) Z# R9 y

  522. ; [( s6 C" b: L
  523. ; Turn off normal error reporting and emit XML-RPC error XML9 X+ T9 a& r. Y' a
  524. ; http://php.net/xmlrpc-errors
    6 m; N, m: ?, Q, D
  525. ;xmlrpc_errors = 0
    5 {) m7 E2 j* t

  526. % H0 L4 Z; c3 S- \8 _5 W- X% }
  527. ; An XML-RPC faultCode( @/ H3 g" X1 U! r
  528. ;xmlrpc_error_number = 0$ y: f% i& H: d! Z

  529. ( [2 [* H( a) D: a
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    - J3 P( P  |0 {$ S
  531. ; error message as HTML for easier reading. This directive controls whether
    % N3 B3 C* W- |( f1 F# ^
  532. ; the error message is formatted as HTML or not.3 `* o! x; U* V; J+ d
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ; z% k! p9 S) Y2 c$ ]9 P+ r
  534. ; Default Value: On. l1 t6 c+ o2 N6 t) R( N; i
  535. ; Development Value: On7 L/ D, A2 s+ I: U5 P8 N+ Z) }
  536. ; Production value: On
    / T# v. e3 e, `7 s: p7 }
  537. ; http://php.net/html-errors
    6 I4 y6 I( Z; Y( w3 p
  538. html_errors = On
    ; A  X$ {, V, f. n5 Q+ I
  539. , R5 ^- m3 n8 b0 J+ M; c7 t
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    " R. I, E& o  \3 B8 p& ?
  541. ; produces clickable error messages that direct to a page describing the error, [+ T7 X, q3 S( K5 V# b7 ~
  542. ; or function causing the error in detail.
    ) ]$ H$ @, V4 k6 K. w- D. e
  543. ; You can download a copy of the PHP manual from http://php.net/docs+ q  X- d  ^& H  S
  544. ; and change docref_root to the base URL of your local copy including the; L8 J8 D# O8 d
  545. ; leading '/'. You must also specify the file extension being used including  _( A) V- I) \" e$ ^
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which- ^. V* F# W$ t" R' w4 v2 q8 c
  547. ; case no links to documentation are generated.
    5 N9 s" A9 [3 X& |  V. p. }
  548. ; Note: Never use this feature for production boxes.- K: ]; a# |1 v3 I3 B9 b
  549. ; http://php.net/docref-root* {3 J0 t/ F2 u8 b8 p) l$ [
  550. ; Examples
    0 D$ [% t2 n! V
  551. ;docref_root = "/phpmanual/"
    1 U7 e$ E0 {8 c. Y7 Z

  552. ' e3 p* O* [' G" H# x7 A2 D: p
  553. ; http://php.net/docref-ext
    & w) N1 R4 |7 o  n% R: d- n3 p+ Z. B
  554. ;docref_ext = .html  O' Z, \5 r9 v- {' X# N. Y

  555. 3 G% G. u3 g( j* x" X
  556. ; String to output before an error message. PHP's default behavior is to leave
      A3 t6 c; i; W8 b( J
  557. ; this setting blank.. l8 v8 F3 m0 Q' J- Y
  558. ; http://php.net/error-prepend-string
    4 O0 s8 `: P6 g) p1 L8 k
  559. ; Example:
    " H0 p; w' C5 F2 y6 N! F  T. W/ @
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    / k+ x+ o4 A+ ]- S6 B& J: t

  561. , `5 \$ a1 b. K1 `) D
  562. ; String to output after an error message. PHP's default behavior is to leave- p' ?- H- J0 p1 L) [
  563. ; this setting blank.7 ^' T2 G  o8 n# \  t6 \
  564. ; http://php.net/error-append-string6 f) R3 r: h2 E/ i& a& Q+ m
  565. ; Example:
    $ C* n# I$ f. B$ e5 {8 o6 _: X0 W8 Q- }
  566. ;error_append_string = "</span>"
    ! Y, X/ n# @& ~2 k6 v$ G1 I
  567. 4 Z2 [5 B4 v" i: B3 `
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    $ ]7 G& V- k2 S6 H' G: C, C- d3 h2 c
  569. ; empty.
    5 o& ~& t" W5 G0 g
  570. ; http://php.net/error-log
    , I; l( F$ H2 _( Y4 t' n
  571. ; Example:
    8 U7 T& q7 {, g* H- G) Z9 C
  572. ;error_log = php_errors.log
    6 J( j+ |7 C7 O- @
  573. ; Log errors to syslog (Event Log on Windows).% \1 [3 B* @% ]; r9 L
  574. ;error_log = syslog
    1 F7 \) F, m- G$ H

  575. & V1 \" ~& ]# R1 [
  576. ;windows.show_crt_warning
    5 k2 Y/ ~; K) Q# V0 u
  577. ; Default value: 0
    + ~* w1 @" b, @, _6 ?0 |1 @) n
  578. ; Development value: 0
    " X) r1 {0 e6 ?7 ~8 T, {, T2 u
  579. ; Production value: 0
    , K9 `) ~. j& R# V: o5 l) b
  580. + ^: O; ~, F! m
  581. ;;;;;;;;;;;;;;;;;  h  B# |1 X% G, N& K$ ?" l- M
  582. ; Data Handling ;1 P8 q/ h3 x" T/ K" m
  583. ;;;;;;;;;;;;;;;;;9 R( m/ z& Q/ T" w, y6 p
  584. 3 w4 Q: g# g) x2 D' L7 j6 }9 w7 K
  585. ; The separator used in PHP generated URLs to separate arguments.
    ( h; U7 I$ ^' W) S+ ^* E$ r# R' r, I
  586. ; PHP's default setting is "&".
    ; U8 J1 V' B( V  H" E
  587. ; http://php.net/arg-separator.output
    3 y7 C  K/ c6 I9 g0 ?" \; A; K
  588. ; Example:
    9 D7 q0 v3 K7 }% \/ k3 u3 G
  589. ;arg_separator.output = "&amp;"
    , }$ }' v2 F: m: Z. ~. v' W

  590. ( S8 `2 I  G# u, _/ S
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    + e- |& ?( z% P0 H" u
  592. ; PHP's default setting is "&".+ K1 S& r0 I0 D. W
  593. ; NOTE: Every character in this directive is considered as separator!, K2 G7 K$ C8 f3 a) y1 w$ ?
  594. ; http://php.net/arg-separator.input+ J* h% r2 S  f, N
  595. ; Example:( i" @+ l2 q% I8 }2 l) Y
  596. ;arg_separator.input = ";&") B6 \$ O1 y2 m, C

  597. 6 n( ?0 }& N4 A+ u5 V4 u
  598. ; This directive determines which super global arrays are registered when PHP" |% R$ a1 j3 Z% r& m- r- E& {) _. `' E
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    $ e; }' Y2 a* d; a4 I  u# }
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty3 l6 c% }  S, `9 ?# ^$ j9 i
  601. ; paid for the registration of these arrays and because ENV is not as commonly! w% l! Q$ |- t- U: k
  602. ; used as the others, ENV is not recommended on productions servers. You: M4 d- i) n; ^/ F
  603. ; can still get access to the environment variables through getenv() should you
    ! d8 x- g. u9 m. [
  604. ; need to.! X0 r3 q' |2 M& P; N/ Q8 Q! a
  605. ; Default Value: "EGPCS"
    : j$ N$ Y" N: l
  606. ; Development Value: "GPCS"6 I1 {5 X- V' H( E- V7 _# W
  607. ; Production Value: "GPCS";
    8 l9 U  M. {; L
  608. ; http://php.net/variables-order
    : C- ?5 O. |/ a1 J% g$ d3 |4 S4 L/ p9 n
  609. variables_order = "GPCS") T6 T* o- c, j! O1 F
  610. & y1 v) v  N3 o" s, j- g8 x7 P
  611. ; This directive determines which super global data (G,P & C) should be
    1 Q9 f; A5 H& Z& K/ O) t  \
  612. ; registered into the super global array REQUEST. If so, it also determines
    1 c9 ?, Q/ E9 _" ^( y* i
  613. ; the order in which that data is registered. The values for this directive
    . g1 o0 \7 m3 D( h, Q/ M
  614. ; are specified in the same manner as the variables_order directive,0 w+ Q& e/ D/ g
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set. q- x' Z( R/ [7 w$ r4 r
  616. ; in the variables_order directive. It does not mean it will leave the super
    # ]$ r* \1 K6 k" u
  617. ; globals array REQUEST empty.  _8 z0 S4 J. M
  618. ; Default Value: None
    . R3 k* z: g9 n! |
  619. ; Development Value: "GP"
    , G8 u: g- ?5 p5 g  ^! {
  620. ; Production Value: "GP"& w: e  a- h, \- J* G
  621. ; http://php.net/request-order: g7 D, G) `8 s
  622. request_order = "GP". V" \* H6 N$ I7 z. b  |3 c

  623. 5 }  w# T, }6 f* K4 [$ x. _3 d
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    5 @# q* {  S* {$ S
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script; t3 l1 G% w- Q0 I' G7 Q
  626. ; is invoked. $argc contains an integer representing the number of arguments. N" m  D8 {7 k, U, P
  627. ; that were passed when the script was invoked. These arrays are extremely
    * \+ b- N* V, J" m, C
  628. ; useful when running scripts from the command line. When this directive is$ J* Q4 m! D- I( R; E0 W+ `% a
  629. ; enabled, registering these variables consumes CPU cycles and memory each time/ D. t+ l* V4 N
  630. ; a script is executed. For performance reasons, this feature should be disabled, R: F- b# ^$ w
  631. ; on production servers.
    4 @7 D" m: m' \. j1 u  z7 ~
  632. ; Note: This directive is hardcoded to On for the CLI SAPI0 e+ b, I& {( ?
  633. ; Default Value: On
    ( U9 y: b6 k4 @
  634. ; Development Value: Off2 M- V  _6 d& S( |% Z$ q" J: g
  635. ; Production Value: Off
    8 ^3 H* e8 M( F6 l
  636. ; http://php.net/register-argc-argv
    ! x5 i1 K# W: P' A- l5 s
  637. register_argc_argv = Off: l$ V* x) E+ F+ @
  638. 6 R; N: F: f4 v7 U
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're% ?2 }: O1 r5 d" V
  640. ; first used (Just In Time) instead of when the script starts. If these
    2 \! h, r  i- t! x, o% f! x
  641. ; variables are not used within a script, having this directive on will result: t9 }: {2 s5 c. G" U! C
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled4 S9 m% p" ]) x8 [9 u2 l
  643. ; for this directive to have any affect.% B$ u  R$ p8 {# f, x# y* s
  644. ; http://php.net/auto-globals-jit8 F( h1 k0 S: V5 y# }* g
  645. auto_globals_jit = On! n  v5 R, H5 V( O5 @& K6 E/ Y

  646. , D, A' X3 j* g1 R( I- a6 A, q
  647. ; Whether PHP will read the POST data.
    / V: X8 f: F3 d8 w7 C* g  F) T( t
  648. ; This option is enabled by default.
    2 Z9 {$ r, O& G* ], T7 {
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST. F, n! u9 Y1 V% W; B' g  W
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    $ {$ y/ Q: x( X0 I. w& Q
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    8 p4 b, X' s, v' p+ K+ }
  652. ; to proxy requests or to process the POST data in a memory efficient fashion., C* K( `- I4 B4 B0 Y/ S  C9 Z
  653. ; http://php.net/enable-post-data-reading
    6 ~  S/ v+ T# v0 X2 U1 D
  654. ;enable_post_data_reading = Off& e5 V) l  }" g! }/ b" C+ {

  655.   Z2 S$ `2 ^3 ^3 [8 r4 r  ]% j
  656. ; Maximum size of POST data that PHP will accept.8 R! L" f# Q* B( f
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    & N+ I2 H, b) O
  658. ; is disabled through enable_post_data_reading." [4 c  g" p* n0 e4 g* ~
  659. ; http://php.net/post-max-size+ T7 B# C) I1 _; a/ Y
  660. post_max_size = 50M
    : C5 `  L0 |' ~  X' _! X7 M% U1 ]

  661. : z. V, U% M! [! E' n
  662. ; Automatically add files before PHP document.- P3 C  u* D9 J* w
  663. ; http://php.net/auto-prepend-file
    ( ?- C0 v: v/ |4 ?  }$ ?' y
  664. auto_prepend_file =. a0 x/ E2 N) }* W1 V8 \! s( v7 ]

  665. 6 q# P4 B; j% V  M7 |
  666. ; Automatically add files after PHP document.* h% Z& t6 V  H) p1 N' A* G+ _' o! I
  667. ; http://php.net/auto-append-file  P& N  I) [! ?5 |* e3 N
  668. auto_append_file =. }9 u! ^% `7 G- t. g; Z

  669. 1 g9 c( Z" T) g( T! ]. k5 a0 @* o) N
  670. ; By default, PHP will output a media type using the Content-Type header. To
    0 ^: q4 A  b, p" F6 e6 C7 N7 }
  671. ; disable this, simply set it to be empty.
    ( {" m3 Y4 I+ X( H. i
  672. ;$ f# o* E! C0 u+ p% N
  673. ; PHP's built-in default media type is set to text/html.' r7 B' M& w: ^3 X
  674. ; http://php.net/default-mimetype
    $ r2 b4 n2 |6 s& z; t; w  x
  675. default_mimetype = "text/html"- i6 y& T8 [; U  f# h
  676. # x, c6 p) \  ?8 }: e
  677. ; PHP's default character set is set to UTF-8.$ t9 F2 w: v1 E% t4 `7 z
  678. ; http://php.net/default-charset
    3 S! L7 M* Z! @; g9 U7 C
  679. default_charset = "UTF-8"
    5 ]( X8 a$ h- u# n, p4 R
  680. - A  @& f( q/ `4 [$ `$ X: o
  681. ; PHP internal character encoding is set to empty.* t8 h2 I0 S5 u  E, i& u
  682. ; If empty, default_charset is used.8 u* q8 @* ?" K$ b) Z% y
  683. ; http://php.net/internal-encoding+ p5 P) W6 z: [% U
  684. ;internal_encoding =5 V2 ?* J$ x+ x9 |
  685. : a% F$ p, o2 z% P( E5 G6 p
  686. ; PHP input character encoding is set to empty.+ p* B+ V7 I- U8 r+ T$ M
  687. ; If empty, default_charset is used.
    & q4 T+ v& [! b  k" m' q
  688. ; http://php.net/input-encoding
    9 }0 n5 ~. u" W5 E, {& Y  O
  689. ;input_encoding =+ \- L6 {" p' t! I- u
  690. / ]% |! N$ v( p' L
  691. ; PHP output character encoding is set to empty.
    8 P* i2 g' t2 H
  692. ; If empty, default_charset is used.# O+ l/ E) Y4 E
  693. ; See also output_buffer.5 a" V4 q( c& o
  694. ; http://php.net/output-encoding( O. B, w1 C# p) m
  695. ;output_encoding =, n' x! y9 i: S0 q
  696. ; u  C$ W2 w% j) S% z
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    # S: ]" t- X$ F: j7 t5 U. h
  698. ; to disable this feature and it will be removed in a future version.& Z* V0 c" M# f+ d7 I% S6 I
  699. ; If post reading is disabled through enable_post_data_reading,
    4 L- O# k# A& u8 a6 s! U
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated., o. s9 Q0 I' q/ S; S
  701. ; http://php.net/always-populate-raw-post-data4 s- G/ p1 n  H
  702. ;always_populate_raw_post_data = -1
    ; a! A8 c+ W9 }& Y6 ]4 Z0 s, H
  703. 6 k: i0 ^5 M8 D# b* s8 |
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;. Q( {, Z7 t) y2 P8 x" _! g) P7 f
  705. ; Paths and Directories ;
    ; C+ y$ \/ C1 t% X7 o/ ^5 Q# O
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    4 X% \9 @4 Q5 _) L4 g3 @( y

  707. # ]* M8 N- t% ^) `( b7 a5 o- ], x
  708. ; UNIX: "/path1:/path2"
    - O3 D5 m" W! ?! r
  709. ;include_path = ".:/php/includes"  {% X" o$ L/ l+ U1 y
  710. ;5 [- h( Q3 R# k$ A3 u
  711. ; Windows: "\path1;\path2"
      o3 {" l5 t8 {
  712. ;include_path = ".;c:\php\includes"' u' I; r( ~8 ~' p+ s# i" M. Q% k
  713. ;
    " I8 P9 a: n5 B/ i- q
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    1 q) i/ T5 Y7 [4 G& [
  715. ; http://php.net/include-path* V6 i* ^9 L5 x* d
  716. 1 w8 m3 {6 B$ A  j) M: ^
  717. ; The root of the PHP pages, used only if nonempty.
    1 `! t4 Q4 f5 o4 X
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root: y& h8 t" m  [1 n. l1 Y$ x7 ]
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ( m; `! d* Z! }% q9 X
  720. ; see documentation for security issues.  The alternate is to use the7 Q5 l7 l5 J; I! ]
  721. ; cgi.force_redirect configuration below& k1 s7 B8 q+ z4 |5 V6 |. [
  722. ; http://php.net/doc-root
    $ d, Q9 {) ]1 D" R: S+ \3 j/ t/ T
  723. doc_root =
    ) j: L1 u) N4 r2 Y9 A
  724. & e5 g+ E, H' r; f! Q4 R- F! N
  725. ; The directory under which PHP opens the script using /~username used only
    ; I. Y1 }7 L7 I5 I: `4 ^# Q; h
  726. ; if nonempty.( x6 C! h0 z9 U! X# p
  727. ; http://php.net/user-dir
    , h0 ^1 M! N3 m' F  d8 f
  728. user_dir =
    0 n4 y9 }* {/ P9 [* p

  729. ) `% p9 V8 s+ v/ a8 m2 a
  730. ; Directory in which the loadable extensions (modules) reside.
    / A5 O4 ?- I  G. m+ g
  731. ; http://php.net/extension-dir
    / f+ t; S& @: c# n
  732. ; extension_dir = "./"! ^7 @) s- Y# U4 f
  733. ; On windows:
    2 H* ~) |7 r. u) n6 {, V$ y* @
  734. ; extension_dir = "ext"
    $ C1 Y4 o4 @. z% P
  735. . ]. w8 j, l" z6 t8 E+ C& d+ {
  736. ; Directory where the temporary files should be placed.
      N+ w* n3 \( ^  r
  737. ; Defaults to the system default (see sys_get_temp_dir): R: }- J( y1 z. ?) x! q8 y
  738. ; sys_temp_dir = "/tmp"
    % t& y; I. @6 a- O  a- C

  739. ' G: O, L) f; i$ s/ S& W
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work7 ~& D$ B/ b  i+ q- F
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically9 i  i4 o  ~, {8 `, x) n
  742. ; disabled on them.! A& F1 y6 G3 Z* R7 ?
  743. ; http://php.net/enable-dl
    % n" Z0 v, A9 ]
  744. enable_dl = Off
      H/ ~+ a9 q' N% N

  745. ' l2 I% w8 O8 X* ^3 Z
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under5 `  `( n, l0 Z. X  `
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    % e8 {& N* W( a! D5 [* _% N- D8 [
  748. ; turn it off here AT YOUR OWN RISK
    & L: m# }% \" _" R% {
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    , o4 f7 h( q1 d. X" g  e
  750. ; http://php.net/cgi.force-redirect4 v9 t- i" e6 Q) X  S  G
  751. ;cgi.force_redirect = 1& A# `$ Z: J7 A4 r6 a  G

  752. * p5 _  w7 f3 K9 X4 Z9 |% d4 e
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with/ [( t, W2 Q! s8 d9 S& \
  754. ; every request. PHP's default behavior is to disable this feature.
    " ^& P, U+ ]8 n/ `! ^# O6 C
  755. ;cgi.nph = 1
    0 C/ k% n2 r3 R, s
  756. ) H, r" c; f' S
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
      G: X+ M% D$ W
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    1 A4 F6 n$ w. I
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY- V/ i! v0 g* d1 g4 j
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    3 M$ K1 {. e* d" b5 z
  761. ; http://php.net/cgi.redirect-status-env
    , \' [& D& r5 g3 ^* g" l: B7 h0 V
  762. ;cgi.redirect_status_env =. R+ @) r) t/ |- }2 s: M' I
  763. $ g  j9 Y3 X% x. K( O& w
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    / U0 b: n4 a  C8 u4 |
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    3 j4 w6 [! t) O4 J2 F+ }% e) g
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting, \; H* [: w" A% _9 Q) S5 ]
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting% ~6 e, a% S9 n. f7 `
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts6 ?0 G1 w$ |/ L" [/ f. L/ r
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.0 K. k: n* _: B5 x1 |9 _
  770. ; http://php.net/cgi.fix-pathinfo
    , {8 z  L, S: ~
  771. cgi.fix_pathinfo=1
    - X3 c7 M8 O& [% {' Z: ^
  772. - ^. Y% r1 C# y) Q2 o8 z
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    2 O/ Q+ r6 R' m
  774. ; of the web tree and people will not be able to circumvent .htaccess security.9 F- L, ?/ q# V+ F' |6 L0 t+ F3 G
  775. ; http://php.net/cgi.dicard-path
    4 k6 D3 Q6 C' f2 ?5 d: u
  776. ;cgi.discard_path=1
    * U+ @- a! N2 l" j; j1 b
  777. 5 q( S$ t5 {9 g2 F% K5 Q; p8 D
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    0 Z* u  z) d& u! g
  779. ; security tokens of the calling client.  This allows IIS to define the
    2 X  v& h( K! I7 o3 Y
  780. ; security context that the request runs under.  mod_fastcgi under Apache
      r" F( _6 X$ x4 {5 l2 v
  781. ; does not currently support this feature (03/17/2002): r2 o. A/ @) P. ?/ h
  782. ; Set to 1 if running under IIS.  Default is zero.
    . ~9 I+ D, @: o! |1 h8 O5 f7 F8 z
  783. ; http://php.net/fastcgi.impersonate2 @( N7 [+ S# l1 C1 d4 @& y* t8 T
  784. ;fastcgi.impersonate = 1
    - j+ Y4 {& W9 ]

  785. 6 A' l! c0 ]' o6 A
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable, |8 }6 ^3 V( j) Q2 x! a
  787. ; this feature.
    # F* H. ?+ T$ g. W, }5 P6 P
  788. ;fastcgi.logging = 0/ E4 Q. L( }9 K- i

  789. * ~3 R6 s0 a# ~" Z" H7 m
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    $ X! @& H9 p& |
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that: J2 |5 O5 [2 |  Z1 h
  792. ; is supported by Apache. When this option is set to 1, PHP will send  i- z" T6 o9 O. X0 e* ]5 ]; V
  793. ; RFC2616 compliant header.
    6 P. u: P& h* }
  794. ; Default is zero.
    , ]5 G# d& G- s5 ^5 n) h6 G
  795. ; http://php.net/cgi.rfc2616-headers3 E! \+ v. J( ], x
  796. ;cgi.rfc2616_headers = 0
    / G( {2 k" X8 o6 b4 v) Y

  797. . v" a7 F, n. [* h7 t
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    0 }1 A1 u3 ?  ^2 X" w7 N5 t
  799. ; (shebang) at the top of the running script. This line might be needed if the
    7 a3 ~2 a2 A0 L# w, M' \/ O0 ~
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    . k) \0 Z) R+ u$ l" Y: q; w
  801. ; mode skips this line and ignores its content if this directive is turned on.4 V! i1 W5 i/ `- z8 j7 @. y  `  S
  802. ; http://php.net/cgi.check-shebang-line
    5 s- C2 I+ Z  D. W8 B
  803. ;cgi.check_shebang_line=1$ t2 M# G- F6 H5 r3 k  P$ J
  804. 0 x3 A5 |+ v# h, v
  805. ;;;;;;;;;;;;;;;;0 X2 z1 D7 {& N6 k
  806. ; File Uploads ;+ t( q9 g1 ^( o+ B4 U
  807. ;;;;;;;;;;;;;;;;
    " }- K: y/ U  ^* d1 b0 U0 _
  808. / N% M; y$ h2 `6 {2 {& c# t
  809. ; Whether to allow HTTP file uploads.: o7 \! y  A0 h& n5 Q
  810. ; http://php.net/file-uploads; l; W4 P9 b3 ^
  811. file_uploads = On
    ( x* u- k; F$ k3 e& o! \
  812.   \; l: N5 f+ m
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    4 r/ [1 P- Q% F; f8 i+ s
  814. ; specified).
    6 Y; J) y4 f: l0 Y
  815. ; http://php.net/upload-tmp-dir
    . f6 e! l# W* Z# B! F4 D: h
  816. ;upload_tmp_dir =
    # [' Z% R- |) N

  817. 4 h2 z+ ~# o8 H& J
  818. ; Maximum allowed size for uploaded files.
    % J3 q1 Y$ [7 Z: k3 G
  819. ; http://php.net/upload-max-filesize
    ! G( ]9 p: m6 E& Q' H  i; v
  820. upload_max_filesize = 50M
    0 D% u- F: a; o4 i
  821. - _0 R, Q1 V% F7 K6 V/ y, l9 A5 W, q
  822. ; Maximum number of files that can be uploaded via a single request! Z4 n6 s; L1 L* _' D3 u
  823. max_file_uploads = 20
    / Q3 q- U7 K& O1 o

  824. % ]& u' M/ m0 b5 v. O/ U
  825. ;;;;;;;;;;;;;;;;;;$ r6 X+ m* E0 Y$ q. v' l
  826. ; Fopen wrappers ;
    8 b& e& \: n; ~& I( K& W' E- b) B, S
  827. ;;;;;;;;;;;;;;;;;;
    2 [( X& T/ X- {8 J5 X+ [% M8 C
  828. 8 \: m$ I: J, ^4 g  Q$ W
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.+ Y: h+ I2 V: P. P1 B/ F+ p+ o+ E
  830. ; http://php.net/allow-url-fopen* K0 g1 g! M+ P4 f  \
  831. allow_url_fopen = On
    1 C6 R4 a/ p6 t3 Z* w% C" D0 A

  832. 8 J. ^" H' z6 c/ G: G
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    0 B% }; r8 J! M
  834. ; http://php.net/allow-url-include# V/ N7 j* {9 o; i/ {; K
  835. allow_url_include = Off) Q% h, V$ D( n( _8 c
  836. 1 }6 [7 {2 R: o& v6 @  G: o4 b
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    4 G2 t' U8 C) b9 h* X
  838. ; for this is empty.% w- w4 W' e! @. N0 G0 J$ D5 r
  839. ; http://php.net/from
    ) o% W0 `4 |9 b; X, h: F5 v
  840. ;from="john@doe.com"0 i! c) i% \3 e5 i

  841. + _+ I( g! k$ i4 P$ u7 R
  842. ; Define the User-Agent string. PHP's default setting for this is empty.! s' O  \; J$ B7 D- |- @; l9 U
  843. ; http://php.net/user-agent
    1 p, V& K9 z6 t! @# }+ k
  844. ;user_agent="PHP"! s9 k. F4 h" k6 d: X

  845. 2 j$ z1 \  g, `6 X' H
  846. ; Default timeout for socket based streams (seconds)6 I' q' w" T7 W' O, k6 q9 s
  847. ; http://php.net/default-socket-timeout
    $ S8 }; H. d. S2 R4 w" I8 v- g
  848. default_socket_timeout = 60* ]6 a" j% R* H
  849. 3 v* p; X. W1 M% v
  850. ; If your scripts have to deal with files from Macintosh systems,, ^1 C" T% l4 A7 \  B6 I
  851. ; or you are running on a Mac and need to deal with files from
    9 e  s0 E7 P: Q1 Z
  852. ; unix or win32 systems, setting this flag will cause PHP to$ w% P' m- Q4 P% _- D1 S1 N8 H
  853. ; automatically detect the EOL character in those files so that; U  a! R. C. I0 F- Z% k2 b
  854. ; fgets() and file() will work regardless of the source of the file.
    + r. {+ k- V# [/ z6 ?7 F! D
  855. ; http://php.net/auto-detect-line-endings. X/ O# P: F, H4 P% k" U# Z
  856. ;auto_detect_line_endings = Off
    ! j! a( e7 S' @, q. x2 \7 e

  857. , w9 g9 `6 Y  N+ z5 S
  858. ;;;;;;;;;;;;;;;;;;;;;;# V" b" I7 {" L, w3 ]
  859. ; Dynamic Extensions ;7 K5 v5 g7 i) @2 J
  860. ;;;;;;;;;;;;;;;;;;;;;;, A  c6 b5 E  h6 h* ?* ]' \: D

  861. " b# E  \3 X8 A- C, D
  862. ; If you wish to have an extension loaded automatically, use the following* g8 b: }, x% b) e/ S% M. |
  863. ; syntax:
    2 o% g& |# k9 e/ r
  864. ;) _6 ^0 c( O/ A
  865. ;   extension=modulename.extension
    $ y2 l! W6 z# z# p4 C
  866. ;
    9 K/ y6 Z1 D1 {8 E2 y6 S6 m
  867. ; For example, on Windows:
    ' Z+ n& ?. b# p; X4 P, p" C8 m5 b( P( X
  868. ;5 j$ C5 P5 E* A
  869. ;   extension=msql.dll  T% g7 j- |; i1 C2 V4 m
  870. ;; O8 @7 _' M7 d2 s0 [2 T
  871. ; ... or under UNIX:0 u4 {; \1 L, Y' c# @
  872. ;, i0 @& F, ^: j
  873. ;   extension=msql.so3 E- I* d4 c  \& ~8 j) y
  874. ;2 s2 S% T3 b% g# v8 e3 H( ]+ v
  875. ; ... or with a path:
    , |" |8 |. E! A+ K) h% z
  876. ;
    9 \- M( T- x& j1 f6 d4 D) V$ F& a( r
  877. ;   extension=/path/to/extension/msql.so, r* t! c3 {0 W6 X$ \" y
  878. ;
      P& p1 B; |5 z% Q1 H
  879. ; If you only provide the name of the extension, PHP will look for it in its
    % E: K* }# Q1 p. g& \* S! `( H( m5 Q
  880. ; default extension directory.
    / t3 D; r1 b  ?7 ~6 {8 P/ T/ S
  881. ;! }- m& }; [/ M$ i$ t* n0 \* X
  882. ; Windows Extensions
    ! W( r- L; \! V: b! F
  883. ; Note that ODBC support is built in, so no dll is needed for it.% S. m6 [2 t* B0 P  a: J
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)6 K. C7 e5 e/ t' c# F, {6 q, s9 [
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).+ ^* c5 K( G/ U' |* `) X9 u
  886. ; Be sure to appropriately set the extension_dir directive.3 P$ w! L- M4 P6 _
  887. ;
    . A5 @- f- K, [$ C6 l3 o% \
  888. ;extension=php_bz2.dll
    $ i2 q- C# Z2 q6 S2 Y
  889. ;extension=php_curl.dll
    # {) _0 Q+ ]5 q8 h+ V8 X
  890. ;extension=php_fileinfo.dll# z5 T  h+ W! i+ {" Q
  891. ;extension=php_gd2.dll
    & v! ], ^9 ?8 F% j. l
  892. ;extension=php_gettext.dll% [& e7 C9 `1 q# X5 L. @
  893. ;extension=php_gmp.dll1 N5 D' I  [8 F) D" g/ K+ E+ i
  894. ;extension=php_intl.dll4 X) c* t& ~" }: U
  895. ;extension=php_imap.dll6 l4 }( K: a5 i6 H! K! i
  896. ;extension=php_interbase.dll* }: g+ }& \6 P; n
  897. ;extension=php_ldap.dll
    # @! C3 X4 A% v! R$ g/ i
  898. ;extension=php_mbstring.dll' O% e! z9 L% Z( F+ W9 F
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it& U* H' s/ q1 U1 D( o& d
  900. ;extension=php_mysql.dll8 [- c# Y1 W' T9 J
  901. ;extension=php_mysqli.dll/ p+ ?0 X. D  g" {/ G# y
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client+ \; {4 p5 W) K. d) d# g' J# ^* D) Y
  903. ;extension=php_openssl.dll3 N! _( F6 e% B2 a7 c! ?
  904. ;extension=php_pdo_firebird.dll
    * f  B1 K, M3 b
  905. ;extension=php_pdo_mysql.dll
    2 E9 A4 @6 g" }" n. d* J- s* y! \( d# S
  906. ;extension=php_pdo_oci.dll
    7 s  [$ r  P5 _. a7 Y) ^9 ]
  907. ;extension=php_pdo_odbc.dll7 ^, x& ~/ }0 R6 P) S8 w) J% s
  908. ;extension=php_pdo_pgsql.dll
    + ^3 ~- P5 U2 _) y; R, n5 ^
  909. ;extension=php_pdo_sqlite.dll( K0 x/ @, @1 H& X
  910. ;extension=php_pgsql.dll
    " U( q! j2 p+ I) q6 T
  911. ;extension=php_shmop.dll+ n, T' d) ?* {, v; c4 t

  912. ; N/ ?/ I8 J+ u% L
  913. ; The MIBS data available in the PHP distribution must be installed. ) l5 m6 h. n1 V
  914. ; See http://www.php.net/manual/en/snmp.installation.php * v3 y$ l3 |. D5 n+ n8 W- W
  915. ;extension=php_snmp.dll* l" m$ L! O! N3 c1 X6 y5 S/ S* U

  916. 0 N* _& ~" `9 l9 E1 m" U  @0 w
  917. ;extension=php_soap.dll! P% j6 a% p# B0 L( d( u" a
  918. ;extension=php_sockets.dll( b2 b1 G2 Q' L* q% N0 w$ t0 q
  919. ;extension=php_sqlite3.dll# x! R! \0 I3 \% ^3 p. P8 O) ^: r2 q0 H
  920. ;extension=php_sybase_ct.dll
    $ ]1 d% N* C' q) Q. S8 q* f. k2 }. Z% q
  921. ;extension=php_tidy.dll, H6 J6 V9 B; w2 o0 A! m
  922. ;extension=php_xmlrpc.dll
    . W+ h+ r2 `; ^/ U' I
  923. ;extension=php_xsl.dll
    : C, t4 {% A3 y! N% i# X" {3 y

  924. 0 r: _* f7 K3 U- k
  925. ;;;;;;;;;;;;;;;;;;;$ \6 \: R& B) d0 P' R- X
  926. ; Module Settings ;( Q8 T3 ?' W# _7 q
  927. ;;;;;;;;;;;;;;;;;;;. p4 k0 Y6 Z7 R7 Z9 B/ ?, m

  928. 1 Z( V: j/ }% m9 c3 g  V  b
  929. [CLI Server]
    . W! I- O7 f' I) X# M. C
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ' Y0 z9 E; n4 ]% D7 b+ G4 j
  931. cli_server.color = On2 y9 r' M% d! k. U1 b
  932. # ~* L% {3 W0 C
  933. [Date]6 h; r" g) W+ g; |
  934. ; Defines the default timezone used by the date functions
    # u1 ^# J! L! a8 Q5 Z+ U
  935. ; http://php.net/date.timezone
    ' @8 z5 k) I# ^/ ?
  936. date.timezone = PRC1 c. G  g. v- b9 }+ E

  937. 6 n- k4 d# g; b' Z  M
  938. ; http://php.net/date.default-latitude
    0 s. {. n: m: y# |8 h) N
  939. ;date.default_latitude = 31.7667* K8 R  D* u- ?9 E: s

  940. % ^3 K  M# A4 P6 S4 y; K3 C
  941. ; http://php.net/date.default-longitude! l$ E0 B5 `; W9 V. c* h+ C$ I
  942. ;date.default_longitude = 35.2333
    ; v$ Y% R# G! u$ z  ^& l
  943. # Y, T" {  A1 f# r2 [  K, D
  944. ; http://php.net/date.sunrise-zenith
    ) c. z0 A) b! R5 T& W
  945. ;date.sunrise_zenith = 90.583333
    # r! d9 N) F" p8 C5 U# ~
  946. 7 u0 W- \0 z3 l
  947. ; http://php.net/date.sunset-zenith7 T1 A, r- y* e3 d0 o
  948. ;date.sunset_zenith = 90.583333. n+ @$ S2 g& c2 w' [: r

  949. $ D, S6 E' Q8 |) w
  950. [filter]
    2 q/ G0 v/ _! Y! f
  951. ; http://php.net/filter.default
    5 G+ x" W: [/ a* c/ e
  952. ;filter.default = unsafe_raw
    ! k  N3 q; T- T
  953. 0 a8 u/ L2 t* j1 w' v( J( n) J
  954. ; http://php.net/filter.default-flags4 a7 g) f: C- s
  955. ;filter.default_flags =- `( H, a- e; e7 Z! N3 g) z& u7 M5 n' s
  956. 6 g+ ?- H" T- d* F- Z' r5 C( u! i5 \
  957. [iconv]
    $ g! w( F/ k) R
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ( T6 b% F, t- N! e
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    / l1 g5 W- m4 E
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    + P7 o- M6 w! y! j, y/ S
  961. ;iconv.input_encoding =
    : t# ~9 U4 Q& K1 @

  962. . G0 Y7 [: X; C4 x: B" j
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.5 F& _2 n+ M5 `$ p, \6 Q
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    + H4 B2 h2 O4 o0 s5 D
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding& r2 {1 }$ h9 A! _! s( o
  966. ;iconv.internal_encoding =
    3 L9 o7 I) I5 t5 v' m

  967. - E) c. y5 O) Y, z7 w
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    0 `! r: G1 K  Z7 C: @, `: w& r7 J
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.4 O' |# ?' ~/ v  Z% h( _8 e
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding# O' Y! k" A3 i4 S
  971. ; To use an output encoding conversion, iconv's output handler must be set. C' Y  x8 G0 M! M9 H. w9 a
  972. ; otherwise output encoding conversion cannot be performed.
    8 |8 J/ A! ~1 [) v8 @0 r9 k( F
  973. ;iconv.output_encoding =
    ! q2 d4 R" f8 ]. u9 d+ [

  974. 8 {3 ^- B; T3 h% a
  975. [intl]
    / W" T6 f) g# l( w  C' N2 k; I! {1 m
  976. ;intl.default_locale =
    * {6 Q- R' L" y4 q2 g/ \
  977. ; This directive allows you to produce PHP errors when some error3 X# j1 d5 S' a- z9 ~0 }
  978. ; happens within intl functions. The value is the level of the error produced.5 ~3 H5 F' ]+ G( x
  979. ; Default is 0, which does not produce any errors.
    # t9 ?8 [, s$ }; [+ ~4 B
  980. ;intl.error_level = E_WARNING
    ; M& a  q% k7 A( u+ b5 P( q' R4 O
  981. ;intl.use_exceptions = 0
    9 ?& [" ~1 ^- l, s% G
  982. % C* n4 y2 j, r% f; Q  S* l
  983. [sqlite3]
    & V" e2 b/ p, y
  984. ;sqlite3.extension_dir =
    ; j" B0 {8 U) R6 M& [

  985. 3 H5 a7 I1 i5 V" c2 ?) v
  986. [Pcre]* B+ w: ?% u$ N" T+ [. U/ O
  987. ;PCRE library backtracking limit.5 g- J: s8 S, Y* K4 C
  988. ; http://php.net/pcre.backtrack-limit( Y3 @1 w$ \9 S! [: y: E
  989. ;pcre.backtrack_limit=100000/ |5 d+ ~# r5 r+ o; N

  990. ) W2 p8 ]# T4 I# ?' Z& w
  991. ;PCRE library recursion limit.1 b$ u6 E. h; Z* \
  992. ;Please note that if you set this value to a high number you may consume all' z! H. g; h1 |; ~
  993. ;the available process stack and eventually crash PHP (due to reaching the
    ' I5 G# l1 J/ @) N8 D* z* U
  994. ;stack size limit imposed by the Operating System).
    7 u& ]1 E. {* g  ~7 W- u
  995. ; http://php.net/pcre.recursion-limit# P' o) z/ @, p0 d4 C
  996. ;pcre.recursion_limit=100000( P; @! \6 c+ U6 {3 Z8 [9 Y* \- K$ A

  997. . O: n* F( ?: l8 X1 \$ N2 q
  998. [Pdo]! P- g$ U, N3 y# O( d8 R' e
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"7 @8 j: y+ f6 ?4 M. f% o2 y
  1000. ; http://php.net/pdo-odbc.connection-pooling- @, h# @! j5 E, f; R
  1001. ;pdo_odbc.connection_pooling=strict
    6 y; f7 {& o0 d0 \$ T$ |
  1002. " y/ r. Q! s( C4 A& t
  1003. ;pdo_odbc.db2_instance_name
    , c$ d, `; e& q: c2 f

  1004. ; l0 Y4 Z, _( a3 P8 _2 \( E; K
  1005. [Pdo_mysql]0 g9 a3 q7 z" |) D
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; D" f0 \0 C6 L- T# c, z4 _1 V
  1007. ; http://php.net/pdo_mysql.cache_size) b+ d( j9 D' f) G" f2 [5 G( r
  1008. pdo_mysql.cache_size = 2000
    / }2 D6 [) G; \# f
  1009. 2 m2 D! I; x' m6 ?6 _) Z* n  }
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    $ w4 K) v% [$ u# l* h# E
  1011. ; MySQL defaults.3 a! y" e2 e* W; h$ R. S$ E1 t; A
  1012. ; http://php.net/pdo_mysql.default-socket4 _/ s( p& H* i8 k. x) c, S5 Q6 F; t
  1013. pdo_mysql.default_socket=
    0 c/ R. m# m, U+ R3 W

  1014. ( d+ }. W; h. ^% l$ u2 u7 C- \  C* _
  1015. [Phar]
    " ^5 @) f) D  h+ D9 A6 P; y) e# W
  1016. ; http://php.net/phar.readonly
    3 ^& ~9 [% A6 I3 L
  1017. ;phar.readonly = On! h. Q4 m  Y" R3 x+ M& C
  1018. : ~2 [" [. r: W0 z
  1019. ; http://php.net/phar.require-hash2 m1 T; ]3 P: R$ K% {: F9 x4 p
  1020. ;phar.require_hash = On( Y+ O$ t" T+ k5 u) ~

  1021. - K1 K5 R1 A; K9 T4 V% D
  1022. ;phar.cache_list =
    * N# {) X" d& }$ q7 ?4 i: p
  1023. . ^6 I2 {* h, x% b: j! [  B
  1024. [mail function]. O2 ?) h6 q# ?1 x$ W- _/ Q7 \
  1025. ; For Win32 only.8 D$ Z3 _1 q7 W! y; v# E
  1026. ; http://php.net/smtp
    ' r6 v' l5 [' r1 t9 O
  1027. SMTP = localhost
      @3 J2 k  B% e6 O$ q0 m7 q6 _/ H
  1028. ; http://php.net/smtp-port
    8 C/ S" C+ R6 c% U. C# _
  1029. smtp_port = 25
    , T' u$ {6 |1 v7 L( N

  1030. ) w/ w1 j  n( i2 b* t0 g5 U
  1031. ; For Win32 only.
    & d" i( \% V* ?7 }6 c
  1032. ; http://php.net/sendmail-from
    2 u5 t; o* f! q3 e9 w
  1033. ;sendmail_from = me@example.com; _1 `7 a* F* ^( T. G; P

  1034. / L+ m$ s% {( V8 ^( F2 `
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    2 V1 b' F8 P1 Q/ h8 B3 s' z  Y! f% v
  1036. ; http://php.net/sendmail-path$ K( Y/ U) |4 P
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    + V- ]+ c; A. `8 D3 I( H
  1038. 8 r+ |! _* A) E, ]
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    % L/ R: m. c, w9 X. G$ L+ G8 T
  1040. ; to the sendmail binary. These parameters will always replace the value of
    6 z+ Q2 z2 W7 O) [9 }  @$ X
  1041. ; the 5th parameter to mail().
    ' W  u9 Z) v1 A' D$ Q
  1042. ;mail.force_extra_parameters =
    & \  A" ^) N( b7 E. h9 l5 H

  1043. , L" \$ B8 I- Q6 H7 J! G* i( X
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename8 ?% r9 I" E9 J! q/ u; ?
  1045. mail.add_x_header = On
      [. `# H% [9 b

  1046. 1 c7 k3 D8 D2 H0 t+ E; z
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    + y! V; Q1 b; k5 j
  1048. ; the full path of the script, line number, To address and headers.- X0 {9 L# d+ J
  1049. ;mail.log =
    0 b4 R; ?+ Q% _( i; P
  1050. ; Log mail to syslog (Event Log on Windows)./ D4 Q% N! q* e; X
  1051. ;mail.log = syslog1 e2 N+ g0 B8 `  s; F: t0 c6 ^

  1052. " g6 e2 V  G3 J
  1053. [SQL]
    : N. g. K  L2 r$ ~3 J: m
  1054. ; http://php.net/sql.safe-mode0 r2 ]2 ?% b+ I
  1055. sql.safe_mode = Off
    . A3 Z6 F: p) Z7 _$ B/ P- k

  1056. / q" y) ]$ t) A% \2 M# l" V
  1057. [ODBC]
      Y% m; b9 X! {: M
  1058. ; http://php.net/odbc.default-db
    9 ^3 U! e3 M/ C' y2 s5 T" o; t
  1059. ;odbc.default_db    =  Not yet implemented; B% L" Z& u- h/ R$ W0 f6 i7 v7 V
  1060.   j% D) S& Z* o: d, S
  1061. ; http://php.net/odbc.default-user
    $ M0 N9 I7 h4 _4 @8 @, s5 t- _/ L
  1062. ;odbc.default_user  =  Not yet implemented
    + S! o( e! ?5 ^2 |$ E

  1063. + }6 a) {8 I4 u" _0 L
  1064. ; http://php.net/odbc.default-pw0 y/ L  M6 X  M. f" r
  1065. ;odbc.default_pw    =  Not yet implemented8 g% D! T+ U6 `
  1066. 9 G2 j$ g5 B& h2 _( s
  1067. ; Controls the ODBC cursor model.
    4 V2 e2 x) n$ D9 X) B
  1068. ; Default: SQL_CURSOR_STATIC (default)." v. L9 a7 V. I0 [) D
  1069. ;odbc.default_cursortype
    # ~% k( r6 O1 e' \

  1070. 1 V5 Q* ]. g# s/ l
  1071. ; Allow or prevent persistent links.
    ; [6 T% @- r: G: ?8 }( ?% s& h
  1072. ; http://php.net/odbc.allow-persistent
    2 Q: e6 h; A: K2 ?
  1073. odbc.allow_persistent = On
    ' M0 f! v. w1 o  W. j+ W

  1074. * I& b# O6 ?+ ]
  1075. ; Check that a connection is still valid before reuse., t/ t+ P! X5 D7 R. H) ]
  1076. ; http://php.net/odbc.check-persistent2 l% n. T! ?* b" f. f
  1077. odbc.check_persistent = On
    - c! F0 q6 Y1 n* `9 m. k2 Y. t
  1078. $ b8 A. y, h  s  H9 t
  1079. ; Maximum number of persistent links.  -1 means no limit.
    ! u1 k- V- h" W! e, x
  1080. ; http://php.net/odbc.max-persistent3 h. g$ M+ S# B7 A/ Y
  1081. odbc.max_persistent = -1
    7 [& n4 I- W! T# F; H7 ?

  1082.   u* _/ V  o( n; \0 ~6 }
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 G5 n# i: ~  `7 C2 G. j; x
  1084. ; http://php.net/odbc.max-links/ V; a2 Z9 J5 b  |9 K% t4 M% P' _
  1085. odbc.max_links = -1
    ( t3 X+ F* T7 X2 O: L4 [9 s

  1086. ; u+ x- `4 C1 E" B# V
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ; G- }. P5 e: U+ I1 d3 k
  1088. ; passthru.3 v1 x! M; Z6 Z; Y4 V
  1089. ; http://php.net/odbc.defaultlrl/ V# e8 U) p% F
  1090. odbc.defaultlrl = 4096
    2 H5 r4 |% m" u8 w
  1091. 1 |6 \1 I7 s% l( B
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.% R: r) E; [8 N) M. v% d
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation* W0 k4 w! p. k7 q8 p/ O
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    5 M5 o( `3 Z# w8 U- j0 h
  1095. ; http://php.net/odbc.defaultbinmode
    ( i7 q' i- M8 Z" j/ A
  1096. odbc.defaultbinmode = 1
    % c) ^: ?: v' X5 s. H$ B8 N
  1097. ; f. u5 P4 E/ A
  1098. ;birdstep.max_links = -1" N2 G, ~1 }0 @; u  Y& u
  1099. : v$ z5 q2 r" T: t
  1100. [Interbase]- D# r8 B5 b7 i3 H' l
  1101. ; Allow or prevent persistent links.
    & R% ?! r8 D6 |) Z
  1102. ibase.allow_persistent = 1
      v( {$ h$ n' m5 b
  1103. / G$ K& Q2 [  O0 `: D- r6 h- n
  1104. ; Maximum number of persistent links.  -1 means no limit.) ^2 F* e) C2 r6 P( @. E" \
  1105. ibase.max_persistent = -16 }; H) `0 n- ^1 E  }% C: y2 X

  1106. 0 b1 k2 v5 G) M6 R
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 ~. X  {1 _3 b7 i, q4 c1 T
  1108. ibase.max_links = -15 q. @; E* [3 I& n( \( K
  1109. 6 Q, y: `- N( m. K9 z. |, B6 M1 c
  1110. ; Default database name for ibase_connect()., ^( x/ b7 q% H, t* V
  1111. ;ibase.default_db =; X. o. a! X5 ]) {. |

  1112. 7 l, ?$ x( R: q- Y
  1113. ; Default username for ibase_connect().
    * m, t9 J) |9 B( Z
  1114. ;ibase.default_user =
    # y' }! k- z  B5 H( t
  1115. ; }* p" O* s* h4 p0 q5 s& T+ `
  1116. ; Default password for ibase_connect().$ S) n+ F% \; L' _. u
  1117. ;ibase.default_password =
    7 ^( A8 C+ ~. a3 a

  1118. 6 m% Z/ A% h  `; H+ E1 d: p
  1119. ; Default charset for ibase_connect().0 ^3 h7 w! L7 h' M# l- F
  1120. ;ibase.default_charset =
    , H# m" e; ?5 P/ g- D, Z

  1121. ! t1 V# ]: ]- y  T
  1122. ; Default timestamp format.
    / D0 Q. X# _! ?* R* V
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    . l$ b- a1 S! t5 r, s* }

  1124. / n% U! }; N. w5 }& H% h
  1125. ; Default date format.
    $ o' E2 D( Y( W
  1126. ibase.dateformat = "%Y-%m-%d"/ t1 U' J/ w2 E6 U
  1127. 8 R5 w8 n4 D) ^2 G- z; X
  1128. ; Default time format.
    1 N9 H# Y3 A$ f% ~
  1129. ibase.timeformat = "%H:%M:%S"
    " H' ~% _( Y# i3 g
  1130. 2 \0 r$ V9 @$ @& m( j- P1 v
  1131. [MySQL]
    % j9 B' r2 i/ O% z! O! ]; d
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements5 B; X: }7 J7 f
  1133. ; http://php.net/mysql.allow_local_infile; h5 O+ C' n* T0 v; [: n
  1134. mysql.allow_local_infile = On
    " V. c5 C; A' f3 k
  1135. & E' m5 r6 O* \9 j( r( j
  1136. ; Allow or prevent persistent links." q0 L3 w( b; O: O4 W
  1137. ; http://php.net/mysql.allow-persistent
    7 M& D8 V9 L! B
  1138. mysql.allow_persistent = On2 h4 a2 t7 `9 b  w2 ]( A/ F0 V

  1139. 6 R* T* Q8 q, Q4 J" l/ u# E
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    # N0 \- Y; B- m5 o) v* m
  1141. ; http://php.net/mysql.cache_size  |. A. W7 {' V5 P. `. u
  1142. mysql.cache_size = 2000
    # Z5 n& ~( P; Z$ _: ]! M; r% r
  1143. ; i  l0 j/ i9 i% Z; R, _0 i
  1144. ; Maximum number of persistent links.  -1 means no limit.- w3 `) Q" x- n2 h1 `
  1145. ; http://php.net/mysql.max-persistent
    2 f, E% e9 k; T+ ~( x* V
  1146. mysql.max_persistent = -1
    7 i0 l7 \9 M0 R, H

  1147. ) U* u+ ?, c' j4 j3 @* B8 p5 d+ c
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.. s- w# S6 g1 F
  1149. ; http://php.net/mysql.max-links
    6 f- r0 x1 ~+ P% J# ^2 j
  1150. mysql.max_links = -1$ k5 d' H4 q1 p

  1151. ; R; B  m! @1 O9 t( G" F$ g$ ]7 [% t0 Z
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use  q8 q* O6 c9 s* V# ]
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    4 \% n/ T* c7 Q8 c( `
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    $ G5 W& D9 C" t+ x
  1155. ; at MYSQL_PORT.. P. B  B7 Z, c/ E2 R: {$ i7 F9 U  V
  1156. ; http://php.net/mysql.default-port$ Z7 Y) I9 P3 \% h* U
  1157. mysql.default_port =
    ( W$ w  z3 g8 o' Z
  1158. 9 F; N+ K6 u) a
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    1 [+ t, ^4 p) Y/ F3 Q0 W9 \! t
  1160. ; MySQL defaults.
    6 F1 N- ]2 U/ {2 v2 K# B# S4 C
  1161. ; http://php.net/mysql.default-socket# C& M5 y6 ?$ `4 g" w2 e
  1162. mysql.default_socket =' \+ ^/ f4 T3 k5 N3 q0 w6 ?' o* j& I

  1163. 7 f1 C. K% Y7 B6 \" N+ O
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ! p: L5 S: ~) h: F1 m
  1165. ; http://php.net/mysql.default-host
    ( ]/ W$ A, P8 c
  1166. mysql.default_host =
    0 C. f/ K0 p3 E$ f* M9 a

  1167. 5 y2 a8 T6 H& o0 m- _" Z" M8 f) u
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    $ s- Y% K' ]# J- q
  1169. ; http://php.net/mysql.default-user
    . o' h; z- e. z3 J; [1 c/ \
  1170. mysql.default_user =( X! t, J+ M  h  N0 J/ t
  1171. ( N* H2 |% W# U) |& s6 \) q9 N
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode)., d( {" ^6 L9 L- |
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    ) B- Y$ F  l; U0 C. O
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    0 Z! q0 e) n' B0 [: I$ S
  1175. ; and reveal this password!  And of course, any users with read access to this( p3 \8 ^+ O6 H' f
  1176. ; file will be able to reveal the password as well." o0 I; }( |1 H' Z8 L3 B# {& q& W( _
  1177. ; http://php.net/mysql.default-password
    6 |& }, D' z1 R6 m9 W5 M8 n/ y' S
  1178. mysql.default_password =1 _, q' H- O" a9 u% l

  1179. : i" W& M: ^+ s/ r
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit, g; O: a) @# @5 _2 K, Y
  1181. ; http://php.net/mysql.connect-timeout
    6 m/ |% l0 s. l) I; J# J$ p* e
  1182. mysql.connect_timeout = 60
    " T8 q9 ]- B7 `9 [
  1183. 9 @1 o0 P5 h( e- W# T. L- v
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    / r. B6 x+ V; i* c
  1185. ; SQL-Errors will be displayed.8 E$ l3 [) B) c4 Z0 O$ G$ Q0 f3 T
  1186. ; http://php.net/mysql.trace-mode
    & h: X% p& e' M
  1187. mysql.trace_mode = Off& Y2 ]( v4 v* t; S' V6 i

  1188. 2 M5 `; x; A& k& |: {: v- t
  1189. [MySQLi]
    6 \+ P; ^6 V; t6 X4 J, ]  {
  1190. 2 [; }8 ~& B% Z* \
  1191. ; Maximum number of persistent links.  -1 means no limit.
      i% F3 H0 j9 H$ b' f1 f
  1192. ; http://php.net/mysqli.max-persistent% R8 L: c  k! `9 e* `/ E
  1193. mysqli.max_persistent = -1
    * I- _3 M1 h8 l. p% ~# }; B2 o6 j
  1194. 8 l' ^5 f( i8 G: o5 P
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements3 L/ ^/ `8 ]( _7 }2 ^* J0 y2 m
  1196. ; http://php.net/mysqli.allow_local_infile
    5 R# B3 |3 E% c6 w
  1197. ;mysqli.allow_local_infile = On+ ~4 a2 I! s3 {6 e# q
  1198. " A: {* i! `) O, ~; h6 a& n
  1199. ; Allow or prevent persistent links.
    2 P0 w3 h" [' D3 t0 B) t! u
  1200. ; http://php.net/mysqli.allow-persistent
    & ?* o/ P2 O! d3 P# m' W
  1201. mysqli.allow_persistent = On
    9 W. D7 S6 j/ F" _; ^
  1202. # F, c! K- `! D8 N* l1 _5 G6 L! }7 V
  1203. ; Maximum number of links.  -1 means no limit.
    / ]# S: ?6 l7 ]* R: g6 D9 h6 q
  1204. ; http://php.net/mysqli.max-links
    $ y# {1 E  |3 V* v8 M
  1205. mysqli.max_links = -1
    1 i0 I( X5 s) @) `

  1206. 2 D9 I% v4 B6 K% P7 b6 I9 P
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( x7 r9 o2 \4 H0 c2 P
  1208. ; http://php.net/mysqli.cache_size+ M$ |( c' R& ?, F5 c& T. f3 l9 h
  1209. mysqli.cache_size = 2000
    $ l" m$ E- O' [& U, _  ~

  1210. $ l! U# d8 D0 M% |: X% a
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use( \5 }! J4 q# i+ Q: n" }
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the, s+ ?# K6 ]! ~& x( ~9 o: W) A1 p
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    # K8 f2 r  O# D, w
  1214. ; at MYSQL_PORT.+ N" u0 B: q& o' N% Z0 Z0 ?  q
  1215. ; http://php.net/mysqli.default-port
    " u, C6 X3 W0 o8 M2 y2 n! M
  1216. mysqli.default_port = 3306
    - `- @, G1 p; X: i) ?9 f

  1217. ' x' B  X% O9 K6 d4 a! P9 z4 _
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    7 l8 x4 \3 Q" M/ v
  1219. ; MySQL defaults.' d5 e. E# p/ N; m! ]& @5 n
  1220. ; http://php.net/mysqli.default-socket
    : f8 D  W" H* K+ }$ o- j5 Q" [' y
  1221. mysqli.default_socket =
    ( y2 y: s3 r0 o6 B

  1222. " \6 o/ s2 \- Q1 _) c4 }
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    " x2 q: l2 J3 o/ A* K2 x2 J& V: n6 H$ F, W9 P
  1224. ; http://php.net/mysqli.default-host. L( g9 j' F! Q! L
  1225. mysqli.default_host =- J8 `5 P! N# X

  1226. % n5 O, S0 f' U6 s4 w* n
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).& p1 m: I( ]+ Q% P  ~% B
  1228. ; http://php.net/mysqli.default-user
    0 ~- s; \0 y$ h6 Y( n* S
  1229. mysqli.default_user =
    2 s0 g+ f+ a0 B! g. j8 h8 F

  1230. ( E1 i1 x! D( |% I1 I. R3 ~, ]. A/ Y
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).: I1 x9 x; {2 G5 p2 S+ o
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    + ^* l3 J& ^( N6 W
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")+ u; k+ P5 l& \7 E0 F
  1234. ; and reveal this password!  And of course, any users with read access to this
    3 I, y; _7 U8 K6 `; O
  1235. ; file will be able to reveal the password as well.) ?' S1 z8 D( K- A0 ?! i  P+ U2 m) J8 P
  1236. ; http://php.net/mysqli.default-pw
    + Q. b" U" l. {5 }
  1237. mysqli.default_pw =
    & V& z* t* _2 R8 l. P  K( Y- g- k% \

  1238. 0 ?9 j' T! a4 |. ]
  1239. ; Allow or prevent reconnect. i" ^6 |1 \4 a% G1 |/ c
  1240. mysqli.reconnect = Off$ o( }6 w) ?% f
  1241. 2 Q5 }7 P) B( E5 Z! w1 m, o
  1242. [mysqlnd], q( E  ~. D* G, T4 X4 E% r1 U; Q
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be) B; j0 n6 T# @
  1244. ; used to tune and monitor MySQL operations.
    ; `0 X/ i# z7 n/ K* W& g5 T1 c' l
  1245. ; http://php.net/mysqlnd.collect_statistics
    2 v1 W' B3 C9 t* K
  1246. mysqlnd.collect_statistics = On
    3 t( ?( A9 ^" W, f6 H; W3 R

  1247. 9 P5 Y) x# m+ u. L; }& t( ]5 R
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be; ~* |# P# ~0 `. o/ u1 C' T& y
  1249. ; used to tune and monitor MySQL operations.
    / `, |" m6 S" I+ O" H
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    - Q8 X' A+ ]+ |5 k0 h
  1251. mysqlnd.collect_memory_statistics = Off! `, H8 w6 T7 B$ i' S# q+ ~' [# z
  1252. / U* ^; |* q2 v) N& P4 S7 s' _" j
  1253. ; Records communication from all extensions using mysqlnd to the specified log& ^! C" d/ ^' s4 D3 A- W2 Z$ h) t* ~# E
  1254. ; file.0 A$ M" Y0 u  [4 \
  1255. ; http://php.net/mysqlnd.debug
    : ?& o  }( Y# j0 S1 _* _
  1256. ;mysqlnd.debug =
    # I; Y' d1 t3 i8 f
  1257. , D# O4 X4 O# p0 h+ J1 l
  1258. ; Defines which queries will be logged.
    3 @& U; G1 L" V1 L
  1259. ; http://php.net/mysqlnd.log_mask
    # O- Z! G2 u, s! r2 z5 t. d
  1260. ;mysqlnd.log_mask = 08 n- R2 E# i, ^) l8 W

  1261. ! e3 Y) P0 q: J, u
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.' f: Q# J* ]1 s' L, o  J9 F
  1263. ; http://php.net/mysqlnd.mempool_default_size& A/ C- j. _* g
  1264. ;mysqlnd.mempool_default_size = 16000. ?2 t$ h! t6 [% A6 {& R0 Z3 C9 Q

  1265. , Z8 _- z8 g; S9 r; s5 Z
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    - b5 ~0 Z& {) }8 L
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    2 `" j- G7 `9 h: b& A
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    ; |6 V5 a3 X- t- O4 O

  1269. ; p. T8 I* X) Z8 _6 n' `0 c
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in% ]  ?  Y; Y1 G2 I
  1271. ; bytes.' p7 r, `- X& B; j& o# k
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    ( }, [4 }+ o* H$ Z% _( c5 Q( l
  1273. ;mysqlnd.net_read_buffer_size = 32768& u8 S+ b& d$ I8 H% X2 y
  1274. ' Y' o8 j* b1 v" E3 ~
  1275. ; Timeout for network requests in seconds.  @- r% z; H5 \6 F
  1276. ; http://php.net/mysqlnd.net_read_timeout
    7 C0 d& b3 k( ]3 k6 i) S( a
  1277. ;mysqlnd.net_read_timeout = 31536000
    : y* ?2 h5 j  L% {  r+ ~

  1278. # M. p6 Z% R# O( \/ Z, Z/ O
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA  z. v6 E4 L+ |. h, d6 c" }
  1280. ; key.
    , ~9 ^1 U. u/ Q5 z$ c) ^
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    - b; s9 \! z$ c, k* P  q
  1282. ;mysqlnd.sha256_server_public_key =5 W$ c- z% L2 b. Q. H+ g' Y) N
  1283. ! w+ }: Y# J) l9 z  R7 j
  1284. [OCI8]
    , H2 t( Y" a7 a, i0 w. F
  1285. 4 D* N/ d: d) ~- K
  1286. ; Connection: Enables privileged connections using external
    6 D6 {1 P( V% P6 I
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    0 j9 K* _! X- x6 |
  1288. ; http://php.net/oci8.privileged-connect0 f2 C. D2 l$ H8 a) R+ x
  1289. ;oci8.privileged_connect = Off0 w4 ]7 k9 O" h; R9 s2 N/ p& F$ u

  1290. % }1 x! Z! U4 A: u; Z
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    ! ?5 k7 H' X0 Z4 j& O
  1292. ; process. Using -1 means no limit.
    + d$ D& k+ z( d) u7 h. ?. A0 {4 d
  1293. ; http://php.net/oci8.max-persistent
    0 K( S% N; z, {  Q. X4 P
  1294. ;oci8.max_persistent = -11 {8 H7 h- ^1 K! L1 o

  1295. + J( v& T  Z* X& p8 ?6 @7 b
  1296. ; Connection: The maximum number of seconds a process is allowed to( j( u. N0 A2 J) g& E
  1297. ; maintain an idle persistent connection. Using -1 means idle* ~+ P- O2 A: u# y6 \  E% @( P$ B
  1298. ; persistent connections will be maintained forever.0 X$ w, \  t$ o8 |/ [. ~: S* g
  1299. ; http://php.net/oci8.persistent-timeout! e" A" k1 I: t: o, C
  1300. ;oci8.persistent_timeout = -1
    7 h/ c4 H4 d! R' L* H0 I

  1301. 4 h4 G; g9 T. t" V# d
  1302. ; Connection: The number of seconds that must pass before issuing a
    7 A! w, I: a, F# R: M; J
  1303. ; ping during oci_pconnect() to check the connection validity. When2 g/ \* |& W2 R% W3 B$ `
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables2 m/ L& g6 z: O% m( i
  1305. ; pings completely.
    + z- P& c. ]) x0 ^
  1306. ; http://php.net/oci8.ping-interval
    ( k* T7 p7 m8 S9 q4 B
  1307. ;oci8.ping_interval = 60
    # w( G( d8 y, o: N0 h

  1308. 1 _" O  q# s: ^' u1 u7 L. r
  1309. ; Connection: Set this to a user chosen connection class to be used
    4 q, x) t0 Y4 z* m
  1310. ; for all pooled server requests with Oracle 11g Database Resident& M6 r. W& J; P- Y7 A
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    7 X* ^9 ?# t0 @
  1312. ; the same string for all web servers running the same application,) s8 J( t# s: X' B, l4 |, @
  1313. ; the database pool must be configured, and the connection string must" V, E) X- E9 _  {. |
  1314. ; specify to use a pooled server.
    # T2 t' w! c9 M8 ?: B( H7 z
  1315. ;oci8.connection_class =
    : M$ m8 `7 \: @2 B% v

  1316. 3 k6 K4 y) D$ D
  1317. ; High Availability: Using On lets PHP receive Fast Application+ p4 }/ P4 M$ G2 c
  1318. ; Notification (FAN) events generated when a database node fails. The5 b6 ~! Y) J4 L: f2 N
  1319. ; database must also be configured to post FAN events." c/ A2 K; ?3 u0 X2 J# X+ U. ?
  1320. ;oci8.events = Off
    $ S6 U! T% d9 l3 n2 ^; }
  1321. , I7 Q" [4 m5 h* F
  1322. ; Tuning: This option enables statement caching, and specifies how5 B8 b" t6 S, b; L. o
  1323. ; many statements to cache. Using 0 disables statement caching.: G6 a6 ~& y6 S/ `" ^
  1324. ; http://php.net/oci8.statement-cache-size
    # Y9 `: ?' O1 V# ]
  1325. ;oci8.statement_cache_size = 20
    4 K$ @# V9 ~9 e" p
  1326. - a5 r* b# d3 j
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    0 m* ^2 J( h5 ^6 `' ^
  1328. ; rows that will be fetched automatically after statement execution.& P/ V0 B" b4 `# f4 ]) Q& q
  1329. ; http://php.net/oci8.default-prefetch7 u/ d1 ~! ~9 g
  1330. ;oci8.default_prefetch = 100, D2 b3 G# m% e. N
  1331. - d8 B# D- K0 y+ U6 ~8 D6 {
  1332. ; Compatibility. Using On means oci_close() will not close: L/ `( e+ x8 d$ ~! g1 ~
  1333. ; oci_connect() and oci_new_connect() connections.9 t' \  A6 V1 |# u- L- S' Q. ~+ G
  1334. ; http://php.net/oci8.old-oci-close-semantics3 r" x$ _* [" {- Z
  1335. ;oci8.old_oci_close_semantics = Off
    5 i% [; Z1 ~& F( d# F
  1336. ! |$ Q1 u+ u' Q
  1337. [PostgreSQL]
    5 r; q; X! ?$ F, R- P) I9 z; D
  1338. ; Allow or prevent persistent links.* B7 f' g2 `. G  w7 E1 C9 y* m& V
  1339. ; http://php.net/pgsql.allow-persistent
    & N2 V& O5 ?& x* l1 E4 {
  1340. pgsql.allow_persistent = On
    3 s) y0 c" S/ ^& D! F' _

  1341. ' [; y# d) b) z* g: [
  1342. ; Detect broken persistent links always with pg_pconnect().# u$ D' q# g$ D& q! s: Z
  1343. ; Auto reset feature requires a little overheads.) K0 W. K' q+ R4 b
  1344. ; http://php.net/pgsql.auto-reset-persistent4 x7 c7 `7 a/ v6 h4 _6 W
  1345. pgsql.auto_reset_persistent = Off
      i0 I" v; w. X: m9 s/ o3 l! O
  1346. % L" j& J2 O* F$ h
  1347. ; Maximum number of persistent links.  -1 means no limit.# U. W, u# D7 S3 ~. e% s
  1348. ; http://php.net/pgsql.max-persistent2 {! t' O4 D/ x4 V2 G9 ~
  1349. pgsql.max_persistent = -18 v6 d- e6 G# C: q4 O

  1350. 8 J9 R' R% B: G, {: m# r5 k; K% h
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.* F" W- E+ y- u3 W8 g/ K, w, v7 B
  1352. ; http://php.net/pgsql.max-links
    4 |# R+ w* V; [8 i% a
  1353. pgsql.max_links = -1
    - L2 a" c- F$ A$ G
  1354. 3 b: A: I1 ^% M
  1355. ; Ignore PostgreSQL backends Notice message or not.
    3 R8 [# }5 x. v
  1356. ; Notice message logging require a little overheads.* V2 R' r- E5 ?3 g7 W
  1357. ; http://php.net/pgsql.ignore-notice
    ) k* W' G" Y0 `- Y; {$ Y& i$ [
  1358. pgsql.ignore_notice = 0
    2 F4 A' ]3 |/ u9 j0 k2 I

  1359. , J7 {+ x4 J/ q( G
  1360. ; Log PostgreSQL backends Notice message or not.! k5 {( u. ?0 {! R* M) h1 \4 c
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    $ ?5 t  \7 d& w7 n
  1362. ; http://php.net/pgsql.log-notice' z/ n0 A& O8 K/ ]% R( z6 E
  1363. pgsql.log_notice = 09 J' U% T5 I; C) _7 w. _& X

  1364. " h8 U% Q- w7 V# \9 y7 |: n* P
  1365. [Sybase-CT]
    2 a4 S5 G( j: }' M
  1366. ; Allow or prevent persistent links.2 E, A5 {$ b+ a9 X1 u% ]" s* Q
  1367. ; http://php.net/sybct.allow-persistent( M) |  b6 k% U' _0 m/ U, Z3 O
  1368. sybct.allow_persistent = On
    # l& X% t: k* \% x

  1369. " @3 L: l$ E5 z' I" a% \
  1370. ; Maximum number of persistent links.  -1 means no limit.' ?2 k7 F% M/ @5 x: n9 {
  1371. ; http://php.net/sybct.max-persistent
    4 i7 q/ a0 O/ C; K2 v' ~
  1372. sybct.max_persistent = -1
    " U$ l. Q4 e3 v/ E9 c1 g

  1373. ! i8 u/ p, C# J& t  i  T: F
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.' r4 B) z0 O4 d3 g: L
  1375. ; http://php.net/sybct.max-links
    ! a% O2 v# e3 M7 B2 P5 ]* L+ w
  1376. sybct.max_links = -1; f8 d* W9 w2 F9 a% {: T7 u
  1377.   N" a% C. M, M
  1378. ; Minimum server message severity to display.# X4 A0 h5 J, ?; i0 H5 _: |
  1379. ; http://php.net/sybct.min-server-severity1 B% P, v8 M0 ^4 h- e
  1380. sybct.min_server_severity = 10
    " Q) v8 e5 H! Q8 ?# [

  1381. ( u) |$ X2 g6 d! n
  1382. ; Minimum client message severity to display.3 |7 n! E% Z% {: r6 f" A
  1383. ; http://php.net/sybct.min-client-severity
    - U: v, d; \/ w- p7 c' r/ l9 y7 T
  1384. sybct.min_client_severity = 10
    - G$ f3 e% E2 s- T$ p! m' D

  1385. ( d6 H/ e4 u/ j6 L
  1386. ; Set per-context timeout
    ; ^. p8 J! _: N
  1387. ; http://php.net/sybct.timeout7 V; ]* q; B- R, |2 w0 U
  1388. ;sybct.timeout=6 b0 ]% I% E7 H
  1389. # [- S7 T- s- h% p# I5 Q
  1390. ;sybct.packet_size% z- ?! N2 ~( p: l. }8 v

  1391.   d: l+ P$ \- x
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    / V/ F+ V% m6 V+ @$ |
  1393. ; Default: one minute
    + Y2 C; D- r0 ]* m1 |( K2 F
  1394. ;sybct.login_timeout=  J  F+ p  d1 g# D' U2 W2 E" W7 U
  1395. . M* a! R8 C: b5 o
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    ) x1 V# O1 k# j" V' U
  1397. ; Default: none
    + N# D! l6 D+ ~  M9 R" A" M
  1398. ;sybct.hostname=4 U, b+ o4 _; Y4 q" t8 N( {2 Y9 ], U
  1399. * G, G& ^6 K% |" p  s% y
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".1 A9 F8 l/ G/ g) @; X3 Q1 E6 H: e1 R
  1401. ; Default: 0& o! O9 O+ r* {, X0 Z  H
  1402. ;sybct.deadlock_retry_count=$ s: F- L  T4 S+ ]* i. Z# a
  1403. 9 r# t/ \' f6 M9 a: B
  1404. [bcmath]
    , U6 y. ~% P/ H; Z- ~/ l& d
  1405. ; Number of decimal digits for all bcmath functions.- O, e; F) o: }% p2 \1 j% b
  1406. ; http://php.net/bcmath.scale
    ; X6 a  h; a1 W! R9 k6 n
  1407. bcmath.scale = 0
    ( s' Y$ t' L6 e; L/ a: I
  1408. 3 ^) ~$ y4 R, T
  1409. [browscap]
    " \7 h' y0 s6 `4 J+ C3 C
  1410. ; http://php.net/browscap6 [% b3 i1 F5 B% q) P8 e- O
  1411. ;browscap = extra/browscap.ini
    ) G% A+ I- H0 l
  1412. " D+ q8 m3 P. f$ ^+ T9 W/ p' y
  1413. [Session]1 z6 \( p  e- b- A  S+ J
  1414. ; Handler used to store/retrieve data.1 m( v% T; g% w9 K2 n7 c
  1415. ; http://php.net/session.save-handler
    ! G) H. a+ m7 T/ f
  1416. session.save_handler = files
    : j/ Y0 s% {- d9 l! q
  1417. 8 x5 a) Y9 J( b1 X5 Q* p8 G$ A
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    2 V% c5 m( y. Z$ S5 u$ X4 v( Q
  1419. ; where data files are stored. Note: Windows users have to change this1 a3 X4 I% c! ]' ]; P3 X
  1420. ; variable in order to use PHP's session functions.
    0 C3 U# [( z* i% F2 ~. f1 g, V
  1421. ;
    5 Q/ h7 H' @$ T. i9 B4 H. k. g
  1422. ; The path can be defined as:3 y: t2 B. U0 o) g* i+ o: Z
  1423. ;$ c$ Z- u4 j3 B2 y
  1424. ;     session.save_path = "N;/path"
    % E% }1 o7 l& H7 f6 ~: N/ k9 d
  1425. ;6 e' H: [" M5 L- ^7 u  c
  1426. ; where N is an integer.  Instead of storing all the session files in
    , M3 N! z/ _6 u* C7 S3 y) A
  1427. ; /path, what this will do is use subdirectories N-levels deep, and$ i( F( S, J, v
  1428. ; store the session data in those directories.  This is useful if
    3 S: m3 l, J( Z6 N
  1429. ; your OS has problems with many files in one directory, and is, Z- W1 Y! e5 I; m5 {, \& N7 \
  1430. ; a more efficient layout for servers that handle many sessions.
    ( |0 a( k" R$ r- B
  1431. ;+ N! b! F1 E4 `0 D' T6 e8 g
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    3 o. b( k" ~( y$ \
  1433. ;         You can use the script in the ext/session dir for that purpose.
      h% k8 M; h; `
  1434. ; NOTE 2: See the section on garbage collection below if you choose to% o8 e3 }  H* L" p  Z, o
  1435. ;         use subdirectories for session storage9 X2 B) o2 n7 f. A7 ~/ g) w
  1436. ;
    " F4 n2 m" x; k1 X$ Y8 i5 V
  1437. ; The file storage module creates files using mode 600 by default.
    3 X6 K5 e. C+ F/ a
  1438. ; You can change that by using) }$ z0 e; _. Y. X
  1439. ;
    , J2 ~5 Y7 ]3 K  g
  1440. ;     session.save_path = "N;MODE;/path"
    1 I5 a" |9 p0 r1 c
  1441. ;4 ?9 \) q; D  w$ K! k
  1442. ; where MODE is the octal representation of the mode. Note that this
    6 g) T. S$ M; r, I# {
  1443. ; does not overwrite the process's umask.5 a- I2 }' a8 j% d
  1444. ; http://php.net/session.save-path2 N+ {+ j5 F  x3 ?
  1445. ;session.save_path = "/tmp"
    0 X) X) W  G( }8 S
  1446. ( d: P1 Z5 N& {
  1447. ; Whether to use strict session mode.& p3 F  ~* b- k2 n! {' |
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    4 B4 p: [+ \- `5 k$ C
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    6 A% c4 b4 q  X2 P. e# i. ]+ q1 s$ S
  1450. ; applications from session fixation via session adoption vulnerability. It is
    4 q5 w, u) P* B
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    6 m0 T6 L' K2 g* U. m
  1452. ; https://wiki.php.net/rfc/strict_sessions4 X- R4 N& F; m+ D& m3 n& }0 F
  1453. session.use_strict_mode = 0* p$ ~0 S* r( }! ^% Y  S9 w

  1454. # N0 ^  s5 U6 ?
  1455. ; Whether to use cookies.
    . T6 |- z0 K8 ^' L) J5 ]& {" c) H# f
  1456. ; http://php.net/session.use-cookies
    , _% \+ ]) m& P
  1457. session.use_cookies = 1: m% S2 V1 k( J3 R

  1458. 7 t0 u2 b0 w. }6 k" S2 {) Z
  1459. ; http://php.net/session.cookie-secure
    2 u% }! O" s: ^- z
  1460. ;session.cookie_secure =
    6 b# U% a6 x3 ]! F9 E

  1461. 0 |# h$ v2 X5 x& R
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining# r# i9 x" m; j3 l6 v3 l9 ?
  1463. ; the session id. We encourage this operation as it's very helpful in combating$ F2 n6 h0 T) J* I% i
  1464. ; session hijacking when not specifying and managing your own session id. It is
    0 T& O& R* z$ L* J% B
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.- i4 D! u- o( F  [
  1466. ; http://php.net/session.use-only-cookies
    : W/ S5 I3 f$ O9 p+ r) |8 t
  1467. session.use_only_cookies = 1
    ' c0 `$ |( N- _6 X! U- ~
  1468. # o$ u( a1 D8 ?$ Y) p1 ~
  1469. ; Name of the session (used as cookie name)./ m: K: x6 z5 H. G
  1470. ; http://php.net/session.name
    # @  G$ @+ }* y! Q/ y' b
  1471. session.name = PHPSESSID# w' t, E8 E: f5 ^8 z

  1472. 6 v: b; ?& _$ y& m
  1473. ; Initialize session on request startup., h7 V8 a4 c5 U. Y1 O- C
  1474. ; http://php.net/session.auto-start
    4 V0 ^- X+ ]4 U) T, ^+ w0 g
  1475. session.auto_start = 0! w5 V* r% {) O! L" h7 p6 P: k
  1476. 0 g7 B3 ^/ K0 J6 [# b- _
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    3 f% N  h  G& @$ n
  1478. ; http://php.net/session.cookie-lifetime
    / h) W3 P; @+ T
  1479. session.cookie_lifetime = 0& ]  s& O! Z( `4 F8 B8 a
  1480. 0 L  H6 [7 n" r, y/ g7 z5 b. f
  1481. ; The path for which the cookie is valid.8 [% V$ W2 `+ W, g; x" H" c
  1482. ; http://php.net/session.cookie-path
    7 K9 F8 T+ v* F  u
  1483. session.cookie_path = /: Q1 |- n* h. W$ c# i8 c5 V0 f4 F0 i* @
  1484. : x$ S: i2 K9 l0 a- q4 |" B) y3 k3 O
  1485. ; The domain for which the cookie is valid.
    7 I: m5 a+ }6 Q* O+ y
  1486. ; http://php.net/session.cookie-domain/ S& m# g- ]( w' V" k0 ]. x
  1487. session.cookie_domain =  l) C. Y5 N  C- w. a% M) ?! y

  1488. 1 J0 `2 j: Z2 P7 `9 _9 i# t( |* f& U
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ; q8 y1 L2 A5 [: o
  1490. ; http://php.net/session.cookie-httponly
    3 _5 P- r$ T9 H5 W$ M: v# e7 p$ y
  1491. session.cookie_httponly =( H' j8 }$ i( G
  1492. 5 `5 {5 G5 K/ z8 b6 ~
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP." b4 Q. f! F1 {8 |7 b# x2 h
  1494. ; http://php.net/session.serialize-handler
    9 `5 T9 T' P* s* C+ N
  1495. session.serialize_handler = php
    , w- n+ X  @0 w. M- k

  1496. 3 l$ B4 ~2 B* Q1 i, z
  1497. ; Defines the probability that the 'garbage collection' process is started; h; }) p9 A% Z( [6 z
  1498. ; on every session initialization. The probability is calculated by using
    4 M# V& ^( H( u: `/ ^
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    1 P0 e) y5 a$ b4 b, F
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ) y1 Y7 F. N( o
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance8 E8 S' W, A/ N  p+ L
  1502. ; the gc will run on any give request.8 v# T# A3 \$ v" }7 V. H2 D/ g, \
  1503. ; Default Value: 1# @  _: M; Y. x0 i, ?
  1504. ; Development Value: 17 @1 v6 m/ Z# n, s3 R6 G; z* Z
  1505. ; Production Value: 1" ~' q! ^+ {" U# D! ]
  1506. ; http://php.net/session.gc-probability
    7 _  X' U0 B. z! V( e. v6 b0 ~) C
  1507. session.gc_probability = 1
    ' z$ U5 Y) Y% |% ?$ Y

  1508. 9 A& W1 ^+ C5 d
  1509. ; Defines the probability that the 'garbage collection' process is started on every) x' [8 N* }+ X' c( \# p; i
  1510. ; session initialization. The probability is calculated by using the following equation:% G. n; K  }1 I: Q3 R" [# I
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ' ]# J6 R# s1 b5 R$ [4 e8 C7 u
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1% v8 |3 o' c, r' f
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    3 }' B8 u4 ?/ m' r
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you. y+ f, k" B+ E4 u
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,$ `7 K  E1 v9 M. u4 d6 M
  1516. ; this is a more efficient approach.' t& X- p# d4 r4 G( ]' p) m' k. W# c/ @
  1517. ; Default Value: 100
    0 J4 E* w0 z% y) d# R7 W
  1518. ; Development Value: 1000; V$ Q" O( j+ R, ?4 j
  1519. ; Production Value: 1000
    ; z  p  R  [, y  M  s9 x- T
  1520. ; http://php.net/session.gc-divisor
    8 G" f  W8 i5 O9 u$ Q
  1521. session.gc_divisor = 1000
    ) Q1 Z% G$ D( n/ ?
  1522. 7 ]% k" ?2 `2 K8 |; g
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and) u7 M! u4 S8 b: Q- _
  1524. ; cleaned up by the garbage collection process.& h1 x: I% H$ M. U% y& A
  1525. ; http://php.net/session.gc-maxlifetime
    % K1 |. _9 r0 ?
  1526. session.gc_maxlifetime = 1440, [' A! u) _: o: p5 O: c
  1527. % f7 z* {& f4 C! d% w
  1528. ; NOTE: If you are using the subdirectory option for storing session files# x: K0 a& V0 `; ~% t
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ( W. |8 s* W4 f0 C1 K6 R+ j6 W/ P
  1530. ;       happen automatically.  You will need to do your own garbage
    % H; \, Q6 h, ~1 O+ c
  1531. ;       collection through a shell script, cron entry, or some other method.% W% y7 o9 p) K$ N
  1532. ;       For example, the following script would is the equivalent of
    ' a8 G, X0 q+ c9 y# y( ]8 s0 J, h
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    / }  y+ T& k# g- E( R
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    7 g& d4 a% J9 V# v8 b3 D
  1535. 4 E/ T' ?( H5 z8 L' f
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.* ]$ Z% O3 Z1 t& N
  1537. ; HTTP_REFERER has to contain this substring for the session to be3 f" C- p" V6 X. _' u, B9 e4 Z
  1538. ; considered as valid.
    / I8 ^( C* L3 \; ~9 C
  1539. ; http://php.net/session.referer-check/ f* l# N6 P! c/ ?
  1540. session.referer_check =
    ( @5 _2 ~" ~7 i5 q1 q& y( m2 {

  1541. ' v$ q% W) y$ ~5 S( }
  1542. ; How many bytes to read from the file.
    1 F5 \7 k9 B8 I( a8 @0 {  B
  1543. ; http://php.net/session.entropy-length
    & o7 D$ D1 _8 V1 Q) m
  1544. ;session.entropy_length = 32, X* G3 T7 e: g9 D; Q7 H) }
  1545. + {" h  K9 y. q0 w
  1546. ; Specified here to create the session id.
    2 K1 |/ g$ Q, D! U& A6 Q/ N+ M6 a
  1547. ; http://php.net/session.entropy-file
    * j" j! A& A) g: F9 B/ \' P
  1548. ; Defaults to /dev/urandom
    $ r! P; c( @9 ], P9 c
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom1 x3 O) z" _: |- ]" F& n3 H; U
  1550. ; If neither are found at compile time, the default is no entropy file.9 p8 _3 r6 t* N: T8 a! a
  1551. ; On windows, setting the entropy_length setting will activate the
    $ o# K$ Y& @" `* G# F( q
  1552. ; Windows random source (using the CryptoAPI)3 K8 w5 O$ \3 c$ K
  1553. ;session.entropy_file = /dev/urandom/ b  ]$ C0 v* D2 R( c. k

  1554. . Y6 W9 \! A5 v! N3 j
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    $ |" W& L7 w& {9 G
  1556. ; or leave this empty to avoid sending anti-caching headers.5 F4 `  l7 O6 [
  1557. ; http://php.net/session.cache-limiter
    ; W7 K3 L+ n* \8 l& S0 P) t
  1558. session.cache_limiter = nocache
    3 b1 V! E4 f3 o) q" }' e/ g, A
  1559.   O' ~; f) d# I- _$ E( f
  1560. ; Document expires after n minutes.
    ; D5 Z# Z+ p8 `- ^1 O! z
  1561. ; http://php.net/session.cache-expire
    " |$ ?/ W( ^: G5 F) i3 K: o
  1562. session.cache_expire = 180
    * ~0 T% Q3 c! z$ p  q7 F
  1563. : K8 F1 Q9 L6 _. G
  1564. ; trans sid support is disabled by default.* Q% P  T* Y' [: a: @
  1565. ; Use of trans sid may risk your users' security.
    & ^8 Y' S4 {# |
  1566. ; Use this option with caution., A2 g% B: d4 B# N
  1567. ; - User may send URL contains active session ID$ H4 w  |' U+ D' K
  1568. ;   to other person via. email/irc/etc.
    7 J& T) F; C( N7 d# C7 d8 o! n
  1569. ; - URL that contains active session ID may be stored+ d5 i' P( F' T9 p* |  a
  1570. ;   in publicly accessible computer.
    # p! K; K$ |7 K5 s/ n* I7 S
  1571. ; - User may access your site with the same session ID  E$ I% G8 ]- q  u/ j  f
  1572. ;   always using URL stored in browser's history or bookmarks.
    * N4 k3 i- o' P  O7 f+ f6 T! c+ }
  1573. ; http://php.net/session.use-trans-sid
    % j" c  T- r2 C& z. b* ?! W
  1574. session.use_trans_sid = 04 `* p* i- ^6 V: M! W
  1575. 4 f! j% F( u1 o3 u
  1576. ; Select a hash function for use in generating session ids.6 E8 C% _, x) C8 H9 Q, R
  1577. ; Possible Values
    8 Q* a" i6 y! b. V0 U6 C
  1578. ;   0  (MD5 128 bits)! C( a/ D+ t! x9 O8 m* l* ?
  1579. ;   1  (SHA-1 160 bits)
    9 u7 X  q8 A9 f3 z) U+ K
  1580. ; This option may also be set to the name of any hash function supported by
    * y1 T( e* ]. l  M, j( E
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()& Q8 d# F2 i  |) T
  1582. ; function.
    3 \5 D" Y) O. v( y* ~
  1583. ; http://php.net/session.hash-function
    5 z( |8 C' _$ `9 S3 ]  N* s% F
  1584. session.hash_function = 0
    # w7 ^" y6 |0 p7 N2 r) o( C
  1585. ; ]3 n2 q2 e+ I! [6 M9 O# `7 w
  1586. ; Define how many bits are stored in each character when converting, q9 t9 _7 q3 K! h* V4 A
  1587. ; the binary hash data to something readable.
    8 P; _: z  x9 y0 X2 ~; s) V
  1588. ; Possible values:' J7 v/ k+ L9 ?1 n
  1589. ;   4  (4 bits: 0-9, a-f); _' R5 |' ~" s7 u# y
  1590. ;   5  (5 bits: 0-9, a-v)& H1 p7 z( T' X9 U1 N& B
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")4 o7 Y# e! _; D. v# ~" x$ W
  1592. ; Default Value: 4" W* u  l' A3 D5 S9 C
  1593. ; Development Value: 5
    7 J& _6 x. v* e7 X- {
  1594. ; Production Value: 51 _3 C$ |/ m. S
  1595. ; http://php.net/session.hash-bits-per-character
    ! J" ?( m- W; c' X
  1596. session.hash_bits_per_character = 5
    + p! L. R, E  l& P5 I
  1597. # x2 B& M9 |/ g. l$ w0 a2 Y
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.$ Y; J2 p' d2 a; c" Q
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    4 e2 c- W; i- Y7 Y) D. X+ E
  1600. ; add a hidden <input> field with the info which is otherwise appended
    % P' h0 [7 J& F. Q& T# T# o
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    9 f, ?" T: u) f4 i
  1602. ; Note that all valid entries require a "=", even if no value follows.
    , c. Y/ \7 q1 f% T% v4 f
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    2 J- F8 b: t5 @/ F9 g+ p4 X+ H
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    " D$ _4 s" {2 s6 p, e6 I
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# c& B  c9 t: t( J9 C% b2 W
  1606. ; http://php.net/url-rewriter.tags( g% r8 \  E# N! w) C
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 s; t8 r/ Z* }% Y/ d" q! w
  1608. & h6 L# }) a2 S' x1 [& P- g' v
  1609. ; Enable upload progress tracking in $_SESSION8 U/ b; P. J6 y5 A0 I  D
  1610. ; Default Value: On
    4 h$ y7 Z5 |: U5 r  B- A
  1611. ; Development Value: On
    + ^# c- F& t+ x
  1612. ; Production Value: On# P9 @; j: J' n. l9 a, o' F
  1613. ; http://php.net/session.upload-progress.enabled2 H/ }0 I0 A* W& V
  1614. ;session.upload_progress.enabled = On
    * `; o* A# ?1 N0 v
  1615. 8 ]# I5 J/ p. N- l+ j
  1616. ; Cleanup the progress information as soon as all POST data has been read
    ' e+ x" g% z  C7 n& O8 U
  1617. ; (i.e. upload completed).4 |, ^/ v$ H5 I* S; a9 ]
  1618. ; Default Value: On
    0 A4 i" D4 j1 I7 |( g4 I; |9 T( }
  1619. ; Development Value: On
    8 e; m% T; r5 _0 Z5 E% C# s
  1620. ; Production Value: On
    ( D2 c" u( X/ a) P
  1621. ; http://php.net/session.upload-progress.cleanup6 B) n  y* l2 }; T: `
  1622. ;session.upload_progress.cleanup = On
    ( d3 J1 y8 p# X" A* n8 X

  1623. # D" m, i0 a6 _( Z  r/ S
  1624. ; A prefix used for the upload progress key in $_SESSION
    ! U9 r$ K% J7 D6 B$ y2 j+ a. _1 E
  1625. ; Default Value: "upload_progress_"
      o5 X- o6 X) i0 U! Y; d& m4 ^! E
  1626. ; Development Value: "upload_progress_"
    0 _, _/ i+ d7 b3 l; [6 [- W' @% Q
  1627. ; Production Value: "upload_progress_"6 r9 x9 ]7 Z* K7 m/ ^5 l
  1628. ; http://php.net/session.upload-progress.prefix
    ; _0 n& C0 U5 H) R
  1629. ;session.upload_progress.prefix = "upload_progress_"+ q7 D! m: m( G( L( e

  1630. 9 c+ _) I' K4 W1 A$ ^7 `' p
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    # M9 j1 a7 d# B) E
  1632. ; containing the upload progress information
      D' {, U( \) Q2 s2 ~
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"/ M+ g9 j# w" h* _$ V  `
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , \. J' E' Q6 n
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , c* i6 {! X9 j8 T; y& V
  1636. ; http://php.net/session.upload-progress.name
    ' M3 h7 `" ~' G. Q0 D8 F
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"+ k  _& j$ x- T$ ~4 r' q

  1638. 1 C* Z4 t: A$ i
  1639. ; How frequently the upload progress should be updated.: q3 l2 j% m* l5 S
  1640. ; Given either in percentages (per-file), or in bytes
    9 z: ~" G5 Z+ Y% o* Y+ e
  1641. ; Default Value: "1%"
    : J" e& o0 S: ], S9 c: s: H
  1642. ; Development Value: "1%"
    3 L6 p# Z4 _/ Y( x9 d% [( z
  1643. ; Production Value: "1%"
    6 _9 O# r4 Z  ~3 l
  1644. ; http://php.net/session.upload-progress.freq
    3 V% P* O! B( B. {: d( ?
  1645. ;session.upload_progress.freq =  "1%"
    # v1 v' S3 t: R3 _

  1646. - V7 w) M( m  c+ i
  1647. ; The minimum delay between updates, in seconds
    ( p3 j6 v. g* |" [
  1648. ; Default Value: 1* T- A! ~0 C$ W9 x+ [2 e9 B
  1649. ; Development Value: 1
    : J& V1 t$ M* V
  1650. ; Production Value: 1
    9 W6 @/ t7 @- k8 }: A/ A  A
  1651. ; http://php.net/session.upload-progress.min-freq% z' B* H/ a! Q
  1652. ;session.upload_progress.min_freq = "1". R' V$ J( l+ d3 b( u$ h3 v2 w( ]7 E
  1653. 0 K8 Y  |8 Z& r3 ?* Y  E. K6 P) ^
  1654. [MSSQL]
    % v6 r9 S/ y' Q* {6 w& N
  1655. ; Allow or prevent persistent links.
    ! d( P8 j: Y9 E; k  i: d
  1656. mssql.allow_persistent = On' Z  w- L* I4 O' O5 r5 n" I
  1657. 4 v( \5 r( F* ~9 h9 O2 h0 v3 W' _
  1658. ; Maximum number of persistent links.  -1 means no limit.
    + k+ |1 C7 I3 e& }* P# @* L5 |+ y$ E
  1659. mssql.max_persistent = -1
    8 V5 P. `5 B  V8 O4 o# h! j+ r. ~( L8 F
  1660. 5 d( m- y+ R0 @( ]/ L# W: R  k
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ' }' f' u4 U/ u
  1662. mssql.max_links = -1# d) b/ V% w, @1 Q( f! ~! q
  1663. % Q, Y7 C% z8 J
  1664. ; Minimum error severity to display.1 C7 Y( ?9 m4 i( d/ ?- h+ _
  1665. mssql.min_error_severity = 10! [: e4 H* S! a9 e4 I0 r% g6 y
  1666. ( P* O8 t. U8 G+ X5 j8 U
  1667. ; Minimum message severity to display.
    . O$ n0 n7 l$ a0 v' P  S
  1668. mssql.min_message_severity = 10( d  b, d5 l7 |
  1669. 0 ^% K8 r( T3 X1 ?1 n
  1670. ; Compatibility mode with old versions of PHP 3.0.
    9 {' T4 R: g: R6 \  c
  1671. mssql.compatibility_mode = Off
    9 f( d8 E. l: k3 ]

  1672. ' g0 x9 M( w9 m
  1673. ; Connect timeout
    1 d  ]7 o! _4 b/ x/ i9 E
  1674. ;mssql.connect_timeout = 5' c6 ~5 g3 E1 \- t' @

  1675. * [; u: o6 S+ X, q
  1676. ; Query timeout! v- T) Q3 P! r8 t) [% ^
  1677. ;mssql.timeout = 60
    : ]( ~1 g$ c; Y

  1678. # C/ q/ k# g, e* t
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    - ^$ d6 O6 w+ N& L. P, s9 L7 s: Q
  1680. ;mssql.textlimit = 4096( T! P' L! B8 b: i8 B8 w+ H) \
  1681. + `. b  r$ _5 t+ ?) y. o  K
  1682. ; Valid range 0 - 2147483647.  Default = 4096.% \/ m/ u+ x0 C6 ^; L3 C/ e# J! |; v
  1683. ;mssql.textsize = 4096
    % |: Q" v* a  m- e( ]
  1684. & K3 m; I! v6 n- o5 P  B
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    & C" o6 o3 o, I
  1686. ;mssql.batchsize = 0* r/ W8 @* G. r% N* h- i
  1687. ! @& O1 q' R. Z8 J& M$ ]
  1688. ; Specify how datetime and datetim4 columns are returned3 ?8 a; H* o  [4 y7 F
  1689. ; On => Returns data converted to SQL server settings
    ( i% |% A7 Z! s+ y, K5 U8 `
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    # B* [+ g5 ]" s) d! c' l
  1691. ;mssql.datetimeconvert = On1 \& J: {4 F2 G- T

  1692. ( M; \' T! P3 j( J4 y9 i
  1693. ; Use NT authentication when connecting to the server( \; t4 h+ I6 n- B0 [, U* L9 s
  1694. mssql.secure_connection = Off1 M9 q8 e3 J# V( o) K( `7 r7 Y- e

  1695. ; J; M6 o2 h+ Z
  1696. ; Specify max number of processes. -1 = library default  Z. ^- k0 b- a. Z3 P: R
  1697. ; msdlib defaults to 25( D: f) L2 M$ l# l# |3 D
  1698. ; FreeTDS defaults to 4096. P: b: Q9 `+ r$ h! W
  1699. ;mssql.max_procs = -1- k  Z: G- @0 b* [2 a
  1700. 8 e6 y( u7 w' ], v! N9 V
  1701. ; Specify client character set.
    $ u! E9 z0 M9 W+ f5 u1 m; O% P
  1702. ; If empty or not set the client charset from freetds.conf is used- o! k& E4 j) S# r* Q
  1703. ; This is only used when compiled with FreeTDS8 k- ]: s1 C8 i, W4 I
  1704. ;mssql.charset = "ISO-8859-1"
    4 `4 h- u2 j5 h4 k+ f% G4 j8 o

  1705. 9 |8 u$ i! _' n. y9 ^: M7 P
  1706. [Assertion]
    7 W0 ~3 T! }3 C5 i
  1707. ; Assert(expr); active by default.8 L* c8 g% P1 h1 ?6 A- L
  1708. ; http://php.net/assert.active
    3 F% x8 L" x& h! z/ c
  1709. ;assert.active = On
    3 ^- R3 _* L( z( }
  1710. ! L% g* N' @3 B# ?% x2 z
  1711. ; Issue a PHP warning for each failed assertion.( e5 I; v/ k0 z& O
  1712. ; http://php.net/assert.warning7 {! v8 F. z: `0 S& @' f! L% W9 O0 Q
  1713. ;assert.warning = On
    / h6 S- [  z* I( [

  1714. % S& v( @8 \% U+ X
  1715. ; Don't bail out by default.
    * ]- T# Z; l+ V- r. |1 u
  1716. ; http://php.net/assert.bail
    9 v6 @7 C! L' G% w; @  W
  1717. ;assert.bail = Off
      e! R3 p; X9 m/ W% W
  1718. 5 X: z- N% K! _: q
  1719. ; User-function to be called if an assertion fails.% Q$ \5 {. T8 p% V
  1720. ; http://php.net/assert.callback
    9 \4 a; I) `" ?' |
  1721. ;assert.callback = 0
    5 b2 M* {, z/ c$ @& ^# a4 \" ?- Z9 ?

  1722. $ k8 `$ ?) f4 X; ?! H
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    5 F5 Y) G$ e6 p% ?+ a4 }' Y+ E
  1724. ; error_reporting(0) around the eval().3 q# M: {, r* L/ Y7 @  ]
  1725. ; http://php.net/assert.quiet-eval
    ! Z0 @% F* f  m7 L( u
  1726. ;assert.quiet_eval = 0
    . I3 u  D+ C9 ?
  1727. & U7 n& k6 ^4 V* |# J0 S& \
  1728. [COM]
    9 t* [* U! }5 ]$ H! [$ J
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs) @4 D0 s& H$ z& x$ [% A- R
  1730. ; http://php.net/com.typelib-file
    $ x% h+ X  g& X# b, `" q
  1731. ;com.typelib_file =$ g/ R& A& Y5 ^" O

  1732. 0 k$ k- h9 L+ s- ]
  1733. ; allow Distributed-COM calls- @  B) ~: I" |: h" \. Y
  1734. ; http://php.net/com.allow-dcom
    * j) c  A" B; d3 ]+ a) l
  1735. ;com.allow_dcom = true
    6 i0 g* C9 {" t6 s! E0 q4 c
  1736. # V5 ^4 B2 L8 p" I- [5 U5 G
  1737. ; autoregister constants of a components typlib on com_load()9 v( |' Z9 g+ Z, [
  1738. ; http://php.net/com.autoregister-typelib
    4 ?& t& H1 ~3 w! c1 `
  1739. ;com.autoregister_typelib = true- w( v1 \; o  z5 ?: g! s

  1740. # [! S7 ~7 v& I
  1741. ; register constants casesensitive
    & @7 G' B0 I9 X, {
  1742. ; http://php.net/com.autoregister-casesensitive
    + `8 ?& }9 i, B' O
  1743. ;com.autoregister_casesensitive = false
    " U" Z) I/ y% l: ?: |1 ^; W1 ]
  1744. ; q+ ?7 o2 ]/ w2 b9 M
  1745. ; show warnings on duplicate constant registrations2 j& S8 K2 |" ]* J' M& ^. S1 m
  1746. ; http://php.net/com.autoregister-verbose" [2 I9 d/ ~- P" f' C3 Q% o
  1747. ;com.autoregister_verbose = true
    2 S9 N. K7 ^  q- \0 n, K* v
  1748. 2 H6 l+ C8 Q* S* C
  1749. ; The default character set code-page to use when passing strings to and from COM objects." f* C2 m" f1 a, N! S9 _
  1750. ; Default: system ANSI code page
    8 V9 _4 R! _7 Z! u0 M! v0 v
  1751. ;com.code_page=( B0 a5 c) t2 j1 R, J* R/ [

  1752. 9 X2 Q  Y' Y, G' _+ |- ^- t$ f
  1753. [mbstring]
    5 s2 P2 G* ~' n, L* g$ e
  1754. ; language for internal character representation.' u3 N: J. M7 r- G6 R
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.& S+ N- c8 j/ {0 K
  1756. ; http://php.net/mbstring.language6 l) P' N' m) @
  1757. ;mbstring.language = Japanese9 J, U& W- g) G/ j
  1758. + z) J' w+ w7 M! c3 {
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.0 Z) C+ `* _- X: O7 r% ^
  1760. ; internal/script encoding.
    ! S7 E! d" E$ r7 z$ l
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    8 t$ s6 K2 k  G9 n8 [
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.2 F" u7 ^' ~/ s- L9 @
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ) U7 u2 ?. y. d3 N1 b# C: a
  1764. ;mbstring.internal_encoding =
    " ?  b. q. J6 O& w9 X7 ]! k% U
  1765. 3 V# o, o8 ?+ ]3 c  G2 H( c
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.4 i# V. a2 U  S3 V$ y: ?- z) ~1 |
  1767. ; http input encoding.. h. h- @" d$ C4 s  b, l2 \5 }
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    2 N: t& A7 b* F) J+ R1 G
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    & K7 B6 {/ `! e% m
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input, ?$ [: k6 Y  p0 k4 q1 X5 O0 W. }
  1771. ; http://php.net/mbstring.http-input
    ) u% z5 r) }: m1 o2 I: T
  1772. ;mbstring.http_input =: P" h& z# v7 M* x
  1773. + D3 |1 E2 G- X" p1 \/ K
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.7 x$ t% p6 g. ]# e
  1775. ; http output encoding.0 e7 x4 c. h" R' R2 N
  1776. ; mb_output_handler must be registered as output buffer to function.
    - o! s0 i% ]. e- w+ @* a' Y& }
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    0 E% K5 o. t& V2 D. i
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output+ f! D. ~, A+ A( A
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    $ m+ p0 @+ C/ }, t
  1780. ; otherwise output encoding conversion cannot be performed.7 t4 i! h' B, j. _; ]
  1781. ; http://php.net/mbstring.http-output: H2 Y+ e) {# R; ?  b8 A
  1782. ;mbstring.http_output =
    ' a$ R1 ?; H, Z+ }  |' A3 D" U- z
  1783. % ^7 @- w! `/ n9 S2 i, }
  1784. ; enable automatic encoding translation according to3 x$ f+ d' E9 s9 ?! A
  1785. ; mbstring.internal_encoding setting. Input chars are/ O% ^( L( ^/ i* Z* I& [* U5 K0 O
  1786. ; converted to internal encoding by setting this to On.) N* y( o9 U* L, k/ q3 }; u
  1787. ; Note: Do _not_ use automatic encoding translation for2 G1 d. I5 \, n+ \  O( p
  1788. ;       portable libs/applications.
    ! a% {( r7 ?5 {3 |( O  T: O/ i
  1789. ; http://php.net/mbstring.encoding-translation# ]2 m/ x& _/ {, k: n
  1790. ;mbstring.encoding_translation = Off+ I0 \6 I2 N9 y. ^& [

  1791. / t$ H7 h- f' f* |! k( N2 |* b0 c; a
  1792. ; automatic encoding detection order.( t9 ~( D7 l" B, o, t8 s8 b% P
  1793. ; "auto" detect order is changed according to mbstring.language
    , ?/ P, k8 Z/ u# x6 k! k
  1794. ; http://php.net/mbstring.detect-order
    * m4 T2 Y5 q; B7 N
  1795. ;mbstring.detect_order = auto
    + D! U; e. g# V# j* g" V9 Z, c
  1796. & v/ {3 U( ]% r7 X* q" R; ?4 E
  1797. ; substitute_character used when character cannot be converted
    ! k+ N3 j' V  M2 E) d4 H
  1798. ; one from another
    ) o' i1 H$ J( {3 S% t$ d
  1799. ; http://php.net/mbstring.substitute-character6 y8 W; e6 Q  K* S: i
  1800. ;mbstring.substitute_character = none
    ( n" F3 i. Q8 `# S$ U% @) @
  1801. ! v3 r5 W6 ]0 a* F7 q
  1802. ; overload(replace) single byte functions by mbstring functions.
    8 Y' Q" S" `7 r) [: G
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),8 s/ H" I0 g' f8 U* W% V
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    + V! C7 c0 m, S1 a
  1805. ; For example, 7 for overload everything., N( O" ^2 c9 G  T" N) n( n6 i
  1806. ; 0: No overload9 w: X3 v# U& N
  1807. ; 1: Overload mail() function; g& \7 H$ s8 Z2 c9 a" C% {
  1808. ; 2: Overload str*() functions& W; U/ O1 W; ?) t2 u3 g
  1809. ; 4: Overload ereg*() functions! r- s9 B, H/ q) b4 y
  1810. ; http://php.net/mbstring.func-overload
    8 t8 {7 C6 |) g; b) B; h1 E
  1811. ;mbstring.func_overload = 0' J2 x9 f% P# y! e5 B0 y
  1812. 2 m" @) h5 W$ E& [5 a' R
  1813. ; enable strict encoding detection.! }( g! V, }$ B. E
  1814. ; Default: Off* A) J9 v* I  g$ y# \
  1815. ;mbstring.strict_detection = On( j1 S7 Z, D+ T: N4 U
  1816. , G* L( E6 x, @' q; \
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler(); z( P) R+ E* k% c) i; Z
  1818. ; is activated.
    % ~1 J% ~+ _8 [1 s
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    9 F* [3 ^* _. {& o; H5 x: N3 {% z
  1820. ;mbstring.http_output_conv_mimetype=" ~9 {6 V# |4 ^3 c/ ^
  1821. & K. ~- a  C. y$ ~5 O, a0 c
  1822. [gd]
    + m. J8 s4 V7 @* t
  1823. ; Tell the jpeg decode to ignore warnings and try to create2 u/ L% ~1 T' A; P; \2 q9 s
  1824. ; a gd image. The warning will then be displayed as notices& F. \. [6 R* P
  1825. ; disabled by default
    4 d6 o3 ]# _5 `: I/ \
  1826. ; http://php.net/gd.jpeg-ignore-warning
    5 B' B4 m6 n. ?/ P
  1827. ;gd.jpeg_ignore_warning = 0
    * q8 F' `& T* C9 F$ Z
  1828. ) O) Y: n1 \  N% ^' U) e+ F
  1829. [exif]
    / j; b4 F5 r  A( ?+ L7 B. m0 k
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    # o! r( ^4 T( e
  1831. ; With mbstring support this will automatically be converted into the encoding* d# i' V0 q% S% ]. i5 r) z
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    0 K) n- Y& h' g/ F' f
  1833. ; is used. For the decode settings you can distinguish between motorola and
    + O; y) L. B( K* I# _& Q. C$ S  N
  1834. ; intel byte order. A decode setting cannot be empty.
    3 ^! b: |( D# O
  1835. ; http://php.net/exif.encode-unicode
    - M+ x( o/ J0 O$ L9 Z; @( q
  1836. ;exif.encode_unicode = ISO-8859-15
    # j0 B% `3 G# r1 [" E

  1837. ' D+ p  Z; H# a( ^, B3 _
  1838. ; http://php.net/exif.decode-unicode-motorola# k9 a3 g" ^7 W7 u1 [) a
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    - M4 z8 d& S8 l9 p  a" R

  1840. 0 Q. {, C) f' I" {" l7 X% u
  1841. ; http://php.net/exif.decode-unicode-intel6 Q- B7 t2 ~6 D* B
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    3 d5 K/ x2 E' ]9 L) b
  1843. - v# u% s% j1 F7 G& ], j
  1844. ; http://php.net/exif.encode-jis, B0 K3 I. U  u: o, x
  1845. ;exif.encode_jis =
    6 T5 P% S4 H5 S# P5 Y5 ?

  1846. / S& H7 b! U: \# Y  B; E
  1847. ; http://php.net/exif.decode-jis-motorola
    7 G) \6 `: o+ [7 P. t+ s7 N7 \3 _4 B
  1848. ;exif.decode_jis_motorola = JIS  w# S3 S( P" G4 c' \6 M, D- K
  1849. ; G* M0 P! _6 B' `1 _2 `
  1850. ; http://php.net/exif.decode-jis-intel
    $ F3 C& T! ~7 `/ I
  1851. ;exif.decode_jis_intel    = JIS
    1 y% |4 L! s1 k  ^% l
  1852. & G; G- Y( y- w8 `& L9 e
  1853. [Tidy]
    : N8 d, `& [& ]% t. L; j+ I% o9 w, {
  1854. ; The path to a default tidy configuration file to use when using tidy4 N. x: b9 O; R+ S' D
  1855. ; http://php.net/tidy.default-config
    5 v; @7 h. u. W8 @- V
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg3 Z' u8 b) G; l* X* [
  1857. $ x0 T* G2 X2 N8 }. Y0 k7 q
  1858. ; Should tidy clean and repair output automatically?, v# _: h( O! M1 ?6 |7 k5 [
  1859. ; WARNING: Do not use this option if you are generating non-html content
    % a* k7 c, U, a0 K( `; H4 U
  1860. ; such as dynamic images3 j! H7 N! J4 G& ]" T8 h, ]( ^$ P
  1861. ; http://php.net/tidy.clean-output4 l& N  \, U; q4 `  r, g. b
  1862. tidy.clean_output = Off
    ' |" U# i* B, _$ ]
  1863. / p9 [$ A& V$ k- V& V7 `
  1864. [soap]
    2 P3 M& _6 @8 J6 g
  1865. ; Enables or disables WSDL caching feature.  U4 I- c) b, [' `3 \/ T/ B, E. @
  1866. ; http://php.net/soap.wsdl-cache-enabled9 w' k( ~! y2 s, c+ X- j% J# R
  1867. soap.wsdl_cache_enabled=1
    ) i3 C$ D( o4 ?0 U7 B
  1868. , z, a& r! n  ]6 |, u
  1869. ; Sets the directory name where SOAP extension will put cache files.& Z  w* s! j. L. e$ ?6 M8 ^! t: C: W
  1870. ; http://php.net/soap.wsdl-cache-dir! Z  e& _# I/ W4 j0 p
  1871. soap.wsdl_cache_dir="/tmp"
    $ A; L7 J3 R8 q2 A! x& Q" i6 G$ j, {
  1872. ! q* G5 s& c3 \5 Y7 U
  1873. ; (time to live) Sets the number of second while cached file will be used6 s; c* P% U! v
  1874. ; instead of original one.
    ( U: l+ y# |9 A
  1875. ; http://php.net/soap.wsdl-cache-ttl; X" I9 d  F8 k4 d  L# G1 E2 x
  1876. soap.wsdl_cache_ttl=86400
    1 v; z& Q5 u' k" _# U6 C3 @

  1877. 6 o$ k1 m. b0 N' V' j
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    . U, A3 U0 |7 r4 Q0 c
  1879. soap.wsdl_cache_limit = 5$ o# a# x$ L' q' ^5 a
  1880. $ ^) X2 f1 E6 N3 x3 C/ K
  1881. [sysvshm]* }! j6 ?0 z6 i+ v5 B
  1882. ; A default size of the shared memory segment
    & B: G& [/ L) p% N  r
  1883. ;sysvshm.init_mem = 100005 h; [! h+ p( }* C, ^$ y9 V

  1884. * T1 w' R3 v- C
  1885. [ldap]
    # ?2 m% z4 A  A( |& M  b+ e& L
  1886. ; Sets the maximum number of open links or -1 for unlimited.& p9 a2 H% u4 K  m4 }9 m9 C
  1887. ldap.max_links = -1
    : ~. x) V* Y" _  s( M: M
  1888. : F1 t' g. }& }# H
  1889. [mcrypt]
    1 C! H) Q+ C/ A: l1 m3 L
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
      H  a4 k4 B' b
  1891. 2 M, _& @) [4 c: y- v" w  [, Z
  1892. ; Directory where to load mcrypt algorithms
    ! \- L: E/ R0 h  m! C$ T  G! k
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)) ?5 E  O4 R& K: L$ b
  1894. ;mcrypt.algorithms_dir=' p1 x: x) `# E+ e

  1895. ; c- U0 c5 J  |- {! F& |: r
  1896. ; Directory where to load mcrypt modes; {  [- X  U% b' k/ M* f
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)$ E- {# {' L5 t" q; S; g& j* o
  1898. ;mcrypt.modes_dir=
    % B. t. S5 J6 |: n: p' R+ `# x

  1899. % x: x8 P& s8 H7 t
  1900. [dba]3 H, N" }+ F) S8 d
  1901. ;dba.default_handler=" ^! @( E- T2 ~& |- [

  1902. : a9 U' C% j! k1 C0 K
  1903. [opcache]
    7 J/ e2 ?6 Q$ L! ^: N3 A9 O2 \
  1904. ; Determines if Zend OPCache is enabled4 n" H; t, E% c  }6 N" D
  1905. ;opcache.enable=0
    0 M* l, j+ p! c: x; v( o

  1906. 1 Z# D9 O: T9 \2 I" t
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
      l' t! \* D6 y
  1908. ;opcache.enable_cli=0
    2 g5 q  Y' @; @" x4 t% {! \6 l
  1909. 6 ~2 P( U' N3 D. K
  1910. ; The OPcache shared memory storage size.' [( |& H+ i: x) k9 R
  1911. ;opcache.memory_consumption=64
    ! v7 `' `: V; a7 J4 o# [9 A; A6 q3 X

  1912. , |& ^! m9 _* y6 L3 g9 I
  1913. ; The amount of memory for interned strings in Mbytes.6 D! U6 j/ F' k  x. c
  1914. ;opcache.interned_strings_buffer=4
    5 }2 }+ X0 D+ |, C+ b

  1915. 5 E! t. M: t- P3 ^, X3 M* N
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    . B/ A8 v2 S0 z4 H
  1917. ; Only numbers between 200 and 100000 are allowed.5 i6 s/ A& U) s; f% m( S
  1918. ;opcache.max_accelerated_files=2000! _4 U8 n# S4 V6 w2 F3 x
  1919. % o/ D) D( |' q+ f3 G3 d; Z
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
      r0 l6 N7 ]3 W
  1921. ;opcache.max_wasted_percentage=5
    & y/ @4 ^& a+ o

  1922. 5 d( ~# e& o7 ?9 ^9 M5 i4 I
  1923. ; When this directive is enabled, the OPcache appends the current working8 J) G0 q, U! q) i7 T
  1924. ; directory to the script key, thus eliminating possible collisions between
    , W. M! K# e8 }9 i) t
  1925. ; files with the same name (basename). Disabling the directive improves' {/ t* i" n% K
  1926. ; performance, but may break existing applications.
    3 N( M" C1 W( K$ B- S$ R
  1927. ;opcache.use_cwd=1
    6 X+ B* C1 X, v; ?0 {
  1928. 7 a2 `8 V9 _7 i  A* d2 j$ Y
  1929. ; When disabled, you must reset the OPcache manually or restart the
    & V" G- {2 b$ H9 X
  1930. ; webserver for changes to the filesystem to take effect.% x; c" M* ?$ ~
  1931. ;opcache.validate_timestamps=1
    , A5 a( `8 r/ u# z

  1932. 8 N! n" q* b- T" z$ |
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    7 w! Y1 k$ w* G# _$ ]* X: |
  1934. ; memory storage allocation. ("1" means validate once per second, but only
      {0 O3 P# q7 ]3 \6 q
  1935. ; once per request. "0" means always validate)
    & Y7 k& R. M) `4 H* g
  1936. ;opcache.revalidate_freq=26 `8 ?$ m8 a2 R
  1937. . W+ M; k, J& ]2 u
  1938. ; Enables or disables file search in include_path optimization- v  p/ A. C' s. w( s
  1939. ;opcache.revalidate_path=0
    0 R3 Q$ }1 n: K
  1940. & X  M8 _" S% O, R; O) ~0 n
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the# ^0 Q8 k) O5 b( H9 F- J
  1942. ; size of the optimized code.
    + h& }. d# S' Z+ a0 X
  1943. ;opcache.save_comments=1
    # Z7 i- g0 _9 v0 Q! M& j. Z
  1944. " D7 Q, j0 P/ |/ y/ S
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    2 F  H" W7 v( l% D; |( e5 s+ ~8 |
  1946. ; may be always stored (save_comments=1), but not loaded by applications$ Q# h7 p1 c8 y4 q; D. R
  1947. ; that don't need them anyway.( n0 _2 Y$ z8 B% U, E' T/ t
  1948. ;opcache.load_comments=1
    0 c! p6 _2 U7 a. V- `+ R; }" g

  1949. 6 T9 @9 |. [/ h% K2 Q
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code# o$ _) ], W( ?/ f" w% u/ u
  1951. ;opcache.fast_shutdown=03 a2 p; R3 |# ], \! `

  1952. % h1 A/ c' {  ~: u, o8 M' d
  1953. ; Allow file existence override (file_exists, etc.) performance feature.4 V- o2 b$ C( ^
  1954. ;opcache.enable_file_override=0' T( x- A$ M9 K5 I! k

  1955. 0 B4 @/ s3 ?( R. T4 {: Y% ]
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache: B( S% s5 U) y1 i
  1957. ; passes
    + i5 ~& e5 y6 c. S. V
  1958. ;opcache.optimization_level=0xffffffff6 N7 D( B, i/ e: {) ~+ g) B! T& J9 X
  1959. " f8 y5 P* e3 g/ b, E
  1960. ;opcache.inherited_hack=1! ~; Z6 w1 m4 f3 j
  1961. ;opcache.dups_fix=07 ]% F+ U( |6 T, [1 t; H: _2 z/ J: N

  1962. # W" l! a: q8 z* F" b# ^
  1963. ; The location of the OPcache blacklist file (wildcards allowed).( _  M5 K" w6 \' f
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    # [. i8 e( J: E8 q! [/ J
  1965. ; that should not be accelerated. The file format is to add each filename
    3 f( H1 n) N' Z+ @
  1966. ; to a new line. The filename may be a full path or just a file prefix
    6 @8 L- G2 e4 [: Z' N+ I& D
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    $ b. Q1 e% t" Q' t/ F
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    6 V7 n4 r9 {' S$ ~3 }9 U  ]% _; x
  1969. ;opcache.blacklist_filename=/ `) \4 W$ n# D8 }! L' d( m

  1970. ' v* d6 \0 |9 N" t# f
  1971. ; Allows exclusion of large files from being cached. By default all files
      P6 }  F7 U! e# Z. t
  1972. ; are cached.9 G# C/ J. ~) K5 v0 d
  1973. ;opcache.max_file_size=0
    - B* V$ Z# f/ }' o- q: `( M

  1974. : w% n3 a. X$ S+ H5 t
  1975. ; Check the cache checksum each N requests.3 o, q9 I' w3 L! K+ X9 u
  1976. ; The default value of "0" means that the checks are disabled./ a& |. F9 w) j
  1977. ;opcache.consistency_checks=0$ j9 l# n+ E3 Z0 L7 W, w$ d' T
  1978. : f; M1 f" s0 C! _  v0 S
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache+ l: {7 ^  @- m1 s  f' a
  1980. ; is not being accessed.
    ( M6 u6 Q  z6 o, `
  1981. ;opcache.force_restart_timeout=180
    * u5 l1 N) I& v5 |* r$ l" x5 J- \4 D
  1982. 9 e; X: A+ L, C  a
  1983. ; OPcache error_log file name. Empty string assumes "stderr".0 N; ?, v, c  V
  1984. ;opcache.error_log=' F; p" p& D: m- n" {7 Y

  1985. . _  k/ Z2 y  _2 f8 ?6 {
  1986. ; All OPcache errors go to the Web server log.( X( J. y4 Q2 f6 ?0 h) N
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ( S) F& s1 x! H" D7 l+ t
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    % C; e# @" d+ p' p! C2 N0 b1 B
  1989. ; debug messages (level 4).8 }& `3 ]# H  ?' L: t3 f6 u* B
  1990. ;opcache.log_verbosity_level=1$ b. J$ v  l6 x5 C! B2 z) C

  1991. - O& u4 A! R, t1 z( O3 _1 M& p) P. h  d# d
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide., U7 `$ H9 X3 P2 f" o
  1993. ;opcache.preferred_memory_model=
    $ Y' ?( V  ?9 o3 A, z5 X1 Z

  1994. 3 Y. r/ l1 Y7 s# c
  1995. ; Protect the shared memory from unexpected writing during script execution.
    - t$ `  p8 o1 j0 z
  1996. ; Useful for internal debugging only.# D! r! [, [1 e9 |; B+ s/ M
  1997. ;opcache.protect_memory=0
    7 N. M) \1 e" s% x

  1998. ( f& g% w. v& b$ M+ T
  1999. ; Validate cached file permissions.
    5 \7 Q% o4 F& T1 D& D6 V+ W
  2000. ; opcache.validate_permission=0
    1 d6 K: R8 P( O3 M) m
  2001. 2 K, c9 C; t) v- {$ \3 p
  2002. ; Prevent name collisions in chroot'ed environment.
    8 S* b0 G% f* d3 D; U9 o
  2003. ; opcache.validate_root=0
    ' Q+ j, g: v$ ]: e7 M( }
  2004. : p5 Z; `# D: `  p9 B
  2005. [curl]: s# R0 T4 q/ {+ n/ B% r/ O: N% a
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    : N+ W* Y6 S$ v! \
  2007. ; absolute path.
    9 D  F% c0 R% f$ c" Q8 T
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt3 q6 h2 m- Z( I, @) j0 l) I7 v

  2009. # l) P6 `9 p# Z7 }% a
  2010. [openssl]
    ' m' |8 J0 I. r
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem: z- e+ M! h9 k! t  ~
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should* Q/ R! y8 V; P5 {
  2013. ; not specify a value for this directive as PHP will attempt to use the3 I% ~' b% [1 j; R& _; K( j
  2014. ; OS-managed cert stores in its absence. If specified, this value may still1 D- p6 o% y, X2 ~( ~- ]- e) B4 `; _
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context5 l; l" m/ l& q$ u
  2016. ; option.+ D. N/ b/ Q$ |6 x3 F7 J
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    " u8 v! k( B2 P
  2018. + n* J, u2 E4 U  _# R( W
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    ' Z# ~: T1 @) a6 g! B
  2020. ; directory pointed to by openssl.capath is searched for a suitable; w: B7 }% }0 U+ m4 Y- S& g0 P+ S+ P1 H
  2021. ; certificate. This value must be a correctly hashed certificate directory.' {! `  A% K; N# ?$ u6 v" C9 h  q
  2022. ; Most users should not specify a value for this directive as PHP will
      }2 e5 J- b7 g5 y+ M
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,! M/ ?5 \' l8 m! ?; z
  2024. ; this value may still be overridden on a per-stream basis via the "capath"2 @* ?' a9 {3 X1 _1 {
  2025. ; SSL stream context option./ F+ `: e) v$ G: g5 O& I
  2026. ;openssl.capath=# t, R7 i( V! P7 W5 E7 N1 {

  2027. . B/ q6 X6 O+ y  v# d- W
  2028. ; Local Variables:0 d2 m) l2 G- g: o: b
  2029. ; tab-width: 4
    6 b* F) v1 n( z5 G7 O+ @$ q
  2030. ; End:) f! r; F; ?2 G& s% ~: v
  2031. 8 y1 b* S, _# b
  2032. ;eaccelerator
    + j+ |0 u( U6 q

  2033. 8 c4 x' d3 v3 n, |/ C; b
  2034. ;ionCube
    * i4 w! R7 l* o( `
  2035. : v# i( P0 m) S
  2036. ;opcache7 E6 u* S& I& k/ ~- u
  2037. / @9 \9 y, [6 y# g* ]
  2038. [Zend ZendGuard Loader]& v! Z$ J9 }) f  f% h2 a  A
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so9 |& z! D- t$ F7 M( `. s
  2040. zend_loader.enable=1
    3 \* e  {3 s0 Z$ h/ R/ Q
  2041. zend_loader.disable_licensing=0
    3 Z  g9 ?- ]% W
  2042. zend_loader.obfuscation_level_support=3
    # Z8 h" Y- M8 r* D/ P( E7 @
  2043. zend_loader.license_path=
    9 u: W+ v3 H- W" {6 g4 X% _8 P% ]

  2044. . K2 [4 t& M" ]2 P2 w
  2045. ;xcache- e& d( P% Z5 |

  2046. ! \0 q+ @1 k* ]$ y8 b
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692/ O4 g9 T9 y- i9 K# m8 |

# i0 n) c) r( J5 ?$ e& H; Z
( v4 |( w( s% T) pDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
8 z3 t5 Z- i( N3 Q4 m
2 p. }; F  {$ \" A% `( p4 CDiscuz!程序版本选择:; T  z) p& \  A! l1 k
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
# t7 e! f+ K6 ^0 C不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
6 {. P1 I1 ?& E6 IDiscuz!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。( p2 }/ _" O- G1 e1 Y

: e& l2 K9 v: p& p' N3 Z0 BDiscuz!插件模板版本选择:0 ~7 v- `9 w- ~1 a9 E* i
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,4 U6 {. ]) n) N/ w" C* y0 c
针对这个问题做个统一的普及:9 Q& B- P2 `( \7 c) F5 L
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。  d  I7 |' b$ v1 i/ B  H2 y% z3 v

' F# I# P; p1 w( q% g* R所以0 }) I1 G2 I8 |, ~8 p( S6 w
适合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的二级域名。
1 ^5 Q, g7 r) c/ V* o( c打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
+ c" j/ _! @& }) {注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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