分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0( z4 h0 o& d. c8 o# Q

) |% Y0 ]( D6 Q: @! D
  1. [PHP]
    ! D, z- [1 N9 v- M6 c

  2. 8 h# L2 I3 g: J+ _$ a; G- p
  3. ;;;;;;;;;;;;;;;;;;;
    - s& O. `5 v5 W# X2 y3 h0 x
  4. ; About php.ini   ;
    , U( ^# r1 K* p/ J9 D$ r
  5. ;;;;;;;;;;;;;;;;;;;
    $ U" ?- T* D2 L: I+ H( o/ W9 W
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    6 j4 g$ ?1 L! \( e
  7. ; configuring many of the aspects of PHP's behavior.& n) i4 z$ U( @4 U
  8. 3 y! `9 S  i2 ?* f
  9. ; PHP attempts to find and load this configuration from a number of locations.9 J, l& D( s: Y2 c$ e& h" j
  10. ; The following is a summary of its search order:
    ) E* a; e1 R0 x& K7 |8 z- L
  11. ; 1. SAPI module specific location.
      S' I: [( C3 ^. ~6 a% F
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
      t; k7 O1 I$ k
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    + V7 Q# C: g! S
  14. ; 4. Current working directory (except CLI)
    ) q/ f- F( o* _
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP1 s  D+ G* j( W4 N' V
  16. ; (otherwise in Windows)3 \! B1 V1 @. N- a/ j0 l
  17. ; 6. The directory from the --with-config-file-path compile time option, or the8 O# `3 N. C/ m/ Z
  18. ; Windows directory (C:\windows or C:\winnt)
    # H. o8 l0 K8 [3 k+ b  B0 L: l, D  `
  19. ; See the PHP docs for more specific information.& b; R6 g7 p( R2 o: H
  20. ; http://php.net/configuration.file4 t4 D7 G1 U3 K1 W5 ]' l
  21. # W1 Y6 {" x) L0 B4 S; Q
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    - k0 p/ K) F3 q4 m
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    & ~+ F$ k5 X/ ]2 U7 k# `8 }+ e; F
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though( ]+ A9 h  S8 O! q: N( t* t. k" K
  25. ; they might mean something in the future.( a# ]8 f( o8 l. a0 S

  26. 4 p4 }! O2 t) E; c4 a
  27. ; Directives following the section heading [PATH=/www/mysite] only
    1 a4 n/ ~5 t2 H8 d1 ~2 S
  28. ; apply to PHP files in the /www/mysite directory.  Directives% n; f: l. m! ?7 ~# |
  29. ; following the section heading [HOST=www.example.com] only apply to
    8 e4 E: j8 `! l9 P# ]2 d
  30. ; PHP files served from www.example.com.  Directives set in these$ d- A; N: S2 e1 Z0 j
  31. ; special sections cannot be overridden by user-defined INI files or6 q6 o0 Y( g2 Q4 i1 T
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    % r  r& E& t& Q/ N! Y
  33. ; CGI/FastCGI.
    6 b: C- O" t& z  T8 a5 j
  34. ; http://php.net/ini.sections
    3 @, w" e- g. t- M0 X# e$ N) Z
  35. ) [& f9 D0 i8 @9 P3 h
  36. ; Directives are specified using the following syntax:0 ^/ h% o- F5 f' l8 }$ X, b0 w
  37. ; directive = value$ t6 s. s6 O4 a2 @1 B
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.5 y1 @% L. [: S. @0 h. f$ P5 I! N5 e
  39. ; Directives are variables used to configure PHP or PHP extensions.& F2 Z/ Q& _1 y* `: m5 U) C+ g1 X
  40. ; There is no name validation.  If PHP can't find an expected& r! j; [7 A! h8 V0 X1 M( z9 u
  41. ; directive because it is not set or is mistyped, a default value will be used.- |. W  o) a& G! `2 b! a
  42. ' G: y4 ]7 r$ a9 E! j
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one4 R, v- h8 j7 P6 U/ ~0 K0 G
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression1 p: e) D3 m/ W" k) r2 i
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    + ~$ D2 X3 g6 l
  46. ; previously set variable or directive (e.g. ${foo})
    4 i! T! t* T( O, u  M
  47. $ z! h+ h2 M" f
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    & o7 T( Y. S$ r* ]7 v; V# L
  49. ; |  bitwise OR, d7 w# S, s) A4 W% e* }
  50. ; ^  bitwise XOR
    7 b4 M" z# S, i/ g( S! v
  51. ; &  bitwise AND
    $ K# @3 z( |& q7 g
  52. ; ~  bitwise NOT
    ! U+ a. F, e/ @% Y2 ~) x2 {/ R
  53. ; !  boolean NOT
    ' I7 \/ v- D5 p# K+ m
  54. . a9 p$ ?% V& k
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.3 o$ G+ c6 L% r6 ~0 Z' w# z! c
  56. ; They can be turned off using the values 0, Off, False or No.- Q7 e) H' T& m+ q2 C5 x2 k
  57. . m$ T3 ?+ H0 h3 ~, o1 r$ r
  58. ; An empty string can be denoted by simply not writing anything after the equal$ V% m9 U0 B* d3 ?) J, u7 v. C. s
  59. ; sign, or by using the None keyword:' H# w, J! \2 W* n: C4 z, m
  60. , ^8 Y' b+ V# x0 J; V
  61. ;  foo =         ; sets foo to an empty string; a7 W+ X  o4 |( m& h# r
  62. ;  foo = None    ; sets foo to an empty string' O/ z: j& o3 a5 w- [
  63. ;  foo = "None"  ; sets foo to the string 'None'
    9 a9 t/ O; A& t$ G" U- U4 G2 U  |
  64. % d# D2 z2 y2 K
  65. ; If you use constants in your value, and these constants belong to a% O; W- Z- S: z3 n
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    % V" h8 q* f' e/ E! A
  67. ; you may only use these constants *after* the line that loads the extension." l! O/ {! k. i: ^/ G2 K

  68.   m' _( @! z# n, n( X- `. Y
  69. ;;;;;;;;;;;;;;;;;;;. h" \5 c4 z9 {# j
  70. ; About this file ;1 u$ H/ n3 j0 H4 i  X+ y) p4 }3 F5 d
  71. ;;;;;;;;;;;;;;;;;;;
    6 E7 ?) T3 H: F0 }1 ]
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    5 \& |; q; p0 `$ F+ m: d+ C# T
  73. ; in production environments and one that is recommended to be used in- j" I! n6 ]6 [5 C) D  v7 U% ]
  74. ; development environments.( }! b4 w' ]8 Q7 R
  75. ( c1 C( G: f8 |& V8 i3 d- v
  76. ; php.ini-production contains settings which hold security, performance and
    # H9 N" K0 F8 E8 P* z0 t: W
  77. ; best practices at its core. But please be aware, these settings may break
    7 n/ |! Y+ E, z0 [
  78. ; compatibility with older or less security conscience applications. We# |! t: h9 V& h( N* S7 B
  79. ; recommending using the production ini in production and testing environments.
    , p& z" T0 L3 g! s/ K) R/ J* n4 k

  80. ; N) Y- z7 P0 c* R: u0 F" N" d* R
  81. ; php.ini-development is very similar to its production variant, except it is
    / `7 Z( p( C; h
  82. ; much more verbose when it comes to errors. We recommend using the$ M- h! C) }* _8 d
  83. ; development version only in development environments, as errors shown to
    9 j& S- b* }9 z
  84. ; application users can inadvertently leak otherwise secure information.
    , z. |  Z4 Y. n! [* ^0 v8 C* s
  85. ' K' j1 J+ p0 E8 r' K  e; Z# r
  86. ; This is php.ini-production INI file.
    - D( w+ y% h6 k+ Y" A. W1 S0 P

  87. 4 |  e( c# I- w2 ~) I  |7 }' x
  88. ;;;;;;;;;;;;;;;;;;;
    9 o) p+ t% C; x. @2 r1 y- \0 n& k5 {
  89. ; Quick Reference ;5 \. V$ f( G  O
  90. ;;;;;;;;;;;;;;;;;;;; c! \& u2 M, N4 d
  91. ; The following are all the settings which are different in either the production; s/ d. p/ O2 C0 J1 Y0 U. x
  92. ; or development versions of the INIs with respect to PHP's default behavior.) J: G  ^2 P/ c: A! m- ]4 p
  93. ; Please see the actual settings later in the document for more details as to why; J  s" ]2 u7 y
  94. ; we recommend these changes in PHP's behavior.
    ; V8 [4 e* l* U; h- w
  95. % m# r( c( k9 _- F: f, H3 z
  96. ; display_errors+ @5 N# I: K" Z1 z# D
  97. ;   Default Value: On
    " q8 b+ L0 N/ V9 b) K0 v1 K" N3 ^, H
  98. ;   Development Value: On
    : u/ e. B: J. w7 e5 N
  99. ;   Production Value: Off
    0 n+ v+ C* `9 @0 B
  100. 8 P2 a5 K. B) ^4 c8 I1 @
  101. ; display_startup_errors
    " S/ ~! L% I3 ^* D9 ]
  102. ;   Default Value: Off/ t2 t' ?/ z' b7 Q
  103. ;   Development Value: On
    5 i2 k  h2 Q9 u7 l& E. j1 n' A0 u
  104. ;   Production Value: Off
    % }: t, B* z. U

  105. , G. @8 ~6 |. u4 T" |  n
  106. ; error_reporting
    % ^" A1 x4 i# e+ m
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    4 x0 a3 c/ M3 s1 v2 E$ N6 v, w
  108. ;   Development Value: E_ALL( E: l: ]5 v: E& ~+ H. W, N) x! ^
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ( M4 ?. Q9 Q# Y- ]
  110. ! @6 ~; K1 W% q2 o/ V
  111. ; html_errors, D' \! r* t# r8 i: ]8 d
  112. ;   Default Value: On; c4 A; `6 n9 x; p
  113. ;   Development Value: On3 S3 x; o- k0 F6 u# [
  114. ;   Production value: On
    2 m8 R5 `( r) N- N! T
  115. 8 H: Z/ f9 g5 Q* n4 L+ e( y+ f
  116. ; log_errors
    . `+ E9 ^7 Z: z, d0 c# b: ~& ~* E
  117. ;   Default Value: Off
    0 p! J3 y" |  Q1 W9 E& X+ V
  118. ;   Development Value: On
    1 {9 k7 V5 ~3 i% w" g1 d8 K
  119. ;   Production Value: On# H  B$ i# ?; N

  120. ( o) H2 V( b( q* X& J, }# e
  121. ; max_input_time) O+ J( r; N2 K
  122. ;   Default Value: -1 (Unlimited)
    # s6 w) {$ F% v1 N1 {- c/ ?# n
  123. ;   Development Value: 60 (60 seconds)
    5 Q6 W5 A* L. y( b4 J3 F1 f7 R! l
  124. ;   Production Value: 60 (60 seconds)& M( Q) Z. f& H/ x

  125. % j5 x" a  C9 d( l- b
  126. ; output_buffering5 V: b8 H; e% ]& d( V1 @
  127. ;   Default Value: Off$ w+ u) K0 _2 }' K! M0 l
  128. ;   Development Value: 4096
    6 Z/ O" D- k+ M" y  H$ K* A; p
  129. ;   Production Value: 4096
    : J. `. C7 [; n7 ?. C2 u
  130. 9 G9 o/ \" D0 \6 U( S) Z1 L" Z
  131. ; register_argc_argv
    ) [  w9 a' A& ?# A' Y) d2 g+ Y" q3 w5 @
  132. ;   Default Value: On+ C1 m( Q8 ^' A" ~
  133. ;   Development Value: Off
    1 x) h5 p+ y: m0 x
  134. ;   Production Value: Off
    5 v& q0 U/ }9 P4 \  w/ T% E8 A! [
  135. : U/ O- p8 @6 j- \7 F0 g
  136. ; request_order9 P% A7 R/ i) c
  137. ;   Default Value: None
    ; x% s6 o7 Z8 O% q5 k8 g$ Z* A3 r* O
  138. ;   Development Value: "GP"' i7 L9 b0 D3 M
  139. ;   Production Value: "GP"
    1 q; A9 A- T$ q6 h: Y  x/ ~% J$ |

  140. ) T: M% K& n* W4 x
  141. ; session.gc_divisor6 G# D" h  a# _7 y4 p
  142. ;   Default Value: 100
    1 G0 I& u. d  S8 ]! ?3 K( c! s
  143. ;   Development Value: 1000; e# X- \7 C( }9 C  B
  144. ;   Production Value: 1000
    ' \% D$ @5 r1 g
  145. 2 j* q4 x! }7 W! B
  146. ; session.hash_bits_per_character; ?. d# D% X; @0 v" w4 W
  147. ;   Default Value: 4
      o* t1 v4 y  l, R" f1 i) @
  148. ;   Development Value: 5
    . [. F; j  ^7 T6 F  w5 H4 j0 s7 N
  149. ;   Production Value: 5- h5 y* N. z& e, [, L) W

  150. 5 i* z" M( l* p- e3 o" y, o6 ?
  151. ; short_open_tag- ^7 z4 ?, d9 b0 s0 u9 E
  152. ;   Default Value: On
    . s7 C! Y8 R) j& r
  153. ;   Development Value: Off; e8 O# d7 D1 N) K9 G1 x
  154. ;   Production Value: Off7 v& t3 l. v; D- s" W
  155. 5 P0 K4 E9 T. S* P: K2 ]
  156. ; track_errors# B+ S5 o3 g- ]$ E; m, d
  157. ;   Default Value: Off
    ; A* {, V# p* i3 ]/ Z7 Q1 Y
  158. ;   Development Value: On; S' ?" T2 K# Q
  159. ;   Production Value: Off* W$ T1 W* b6 \5 }" l
  160. 9 o( I3 M1 R7 N1 W$ m; W
  161. ; url_rewriter.tags
    ! ^& u- K, m8 i& t
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="# m6 _7 f2 E/ H2 F4 f/ s
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 B: a6 s1 f  G0 Z* d1 j
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' Y# K- h8 s8 m2 P1 v& w

  165. 6 O4 P0 H- g0 H* I
  166. ; variables_order/ d0 l; o9 Y3 ]4 z, b4 @
  167. ;   Default Value: "EGPCS"
    ; m8 a2 T8 I7 B# o" T
  168. ;   Development Value: "GPCS"
    % N. L0 d$ y/ k6 I& I1 @8 [: O
  169. ;   Production Value: "GPCS"
    0 ^* p. o" Q2 A( v% J* ~5 n# w

  170. ' p. [3 @% S- h1 M3 W
  171. ;;;;;;;;;;;;;;;;;;;;  S) y* o) g) p  Z7 U# y
  172. ; php.ini Options  ;: O  A! |" S9 Q0 d% U; `* T7 y
  173. ;;;;;;;;;;;;;;;;;;;;* }1 X; o( x8 t! p5 k8 F, ]
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ) W8 N4 |5 L& ]
  175. ;user_ini.filename = ".user.ini"$ ^( A. R4 C, A4 m3 s
  176. ! Z% A; O  v  @! u0 c) f
  177. ; To disable this feature set this option to empty value) K+ F  c- {9 T: H# L8 m; P# Z4 A
  178. ;user_ini.filename =
    0 @3 w. n+ W, @. @7 j

  179. # E# q6 L: }9 m# b# h
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)) U: t+ N/ S) H7 n; u
  181. ;user_ini.cache_ttl = 300  x7 \1 G$ j' j( j: S. O
  182. ) o$ d+ @( W7 R5 ]
  183. ;;;;;;;;;;;;;;;;;;;;
    * g* @' R0 s9 j8 F" p
  184. ; Language Options ;+ \, H8 w4 H$ {9 ~) a4 X9 o, \
  185. ;;;;;;;;;;;;;;;;;;;;
    . o$ |( E* H& V- S
  186. ( i/ J. r* |/ a7 N" x( g8 s
  187. ; Enable the PHP scripting language engine under Apache.4 e6 t& B, C& d1 H+ l0 _
  188. ; http://php.net/engine
    1 B, W/ O$ m9 [8 m9 {
  189. engine = On( i4 N4 K7 M, P! q0 H
  190. / [; i% d6 x" H1 T5 U/ K
  191. ; This directive determines whether or not PHP will recognize code between
    8 b! L8 h/ @1 l7 X9 J
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
      w  u+ O$ _- |
  193. ; generally recommended that <?php and ?> should be used and that this feature
    # E7 d* @5 ]- v* A( k# _- ?+ x! E$ ]
  194. ; should be disabled, as enabling it may result in issues when generating XML
    * o) e% y5 v$ T# `; R. u; m
  195. ; documents, however this remains supported for backward compatibility reasons.
    % {+ \, |- T# {- q$ s) W# O  H  @
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    4 t/ E& r& p4 Q# d, k& z. S2 j
  197. ; used regardless of this directive.
    ! T! L# h9 \/ o& B' L
  198. ; Default Value: On* [3 m: u5 L' u% v2 Z. p
  199. ; Development Value: Off, }3 B3 u' r+ G
  200. ; Production Value: Off% s) E( I1 A# L
  201. ; http://php.net/short-open-tag
    2 L, |* G+ _% O" n% u/ p! E
  202. short_open_tag = On( _% a+ n0 L. Z- `5 Z0 o. \
  203. 8 _$ ?; }4 k  ~* Q# z
  204. ; The number of significant digits displayed in floating point numbers.
    ( W9 O3 u& F# U' y" p: H5 I1 R
  205. ; http://php.net/precision
    / X8 S8 \' q1 O2 A
  206. precision = 14
    # z+ {# P4 r- F

  207. 6 c) r. }- N" C
  208. ; Output buffering is a mechanism for controlling how much output data% A* U) a4 o- U+ x! _, _
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that  W1 D( R* `5 E* m* n* V
  210. ; data to the client. If your application's output exceeds this setting, PHP+ E6 @' G; g6 u$ D
  211. ; will send that data in chunks of roughly the size you specify.- n" T. Z: y& V( a4 A+ `
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    3 H$ C9 |- N$ C! ?" B
  213. ; interesting side-effects depending on your application and web server.1 Z' H  p/ C  Z
  214. ; You may be able to send headers and cookies after you've already sent output7 d9 @, C  K1 V- A* V: o* z
  215. ; through print or echo. You also may see performance benefits if your server is
    7 `) Y1 Q2 M. a
  216. ; emitting less packets due to buffered output versus PHP streaming the output" \* E" R% ]; x
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance0 k0 {5 n8 _$ R
  218. ; reasons.3 D: ]* h2 t$ Z
  219. ; Note: Output buffering can also be controlled via Output Buffering Control2 L6 p1 M; Y4 `; o' e
  220. ;   functions.9 n, J3 Q, ?' v
  221. ; Possible Values:
    ! J/ O+ P8 p6 h- f. S
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)# e8 m, s+ k4 m/ S* q+ D
  223. ;   Off = Disabled
    " \* H- @1 k& {: d; s; U- u( P
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.% U+ [$ d3 x1 |+ n
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ; c  B% `( {7 Z) F
  226. ; Default Value: Off
    1 B$ S9 |) I1 @( D1 K" O( @3 S
  227. ; Development Value: 4096
    & {9 `1 ^5 b' a/ S  }: q$ C! n- }& B2 W2 w
  228. ; Production Value: 4096
    * s/ n; i0 F9 I6 f
  229. ; http://php.net/output-buffering; I; w5 B, P1 c' O; ]; L) ~3 w
  230. output_buffering = 4096
    : ^7 Z; Y( K$ l* V) r
  231. 9 a. L% c8 ^+ A, E
  232. ; You can redirect all of the output of your scripts to a function.  For, k: t! }( n; J7 A" L* }
  233. ; example, if you set output_handler to "mb_output_handler", character5 A: Z3 l" m+ w& t6 U
  234. ; encoding will be transparently converted to the specified encoding.4 F; t) Z# E. Y9 A# M
  235. ; Setting any output handler automatically turns on output buffering.5 d. B# g$ K; P( f" t% m
  236. ; Note: People who wrote portable scripts should not depend on this ini; x: v! g5 \. g- E! V- U
  237. ;   directive. Instead, explicitly set the output handler using ob_start().) g! C$ _6 ?6 v3 J& e& n" T* U
  238. ;   Using this ini directive may cause problems unless you know what script+ Y4 q7 ]+ g" ?- ~, d! }
  239. ;   is doing.
    % u0 X; C, f6 j) z( R# X2 C) [
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"5 O0 z2 L3 @* m* H  B
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    9 t0 ^3 u: O- W
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    0 A, e& c. l! C! M4 V  x) z8 M" a4 J
  243. ;   Instead you must use zlib.output_handler.
      h5 v% Q6 T0 |" }: ~( j+ |* g# M: N
  244. ; http://php.net/output-handler7 n% E& D$ I/ e
  245. ;output_handler =8 P8 w1 w3 k+ ~# X

  246. + Q  s# k: W2 ?& O5 B' U1 F
  247. ; Transparent output compression using the zlib library+ }/ d, Z7 I4 N+ A. u0 n+ t
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size. g: R7 z" }3 Q% n
  249. ; to be used for compression (default is 4KB)
    # |: D3 ^/ D" v: i7 ]2 i, ]
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP' G7 [# s& N) j* i9 x( r
  251. ;   outputs chunks that are few hundreds bytes each as a result of; ?- Q; q  M% T3 a
  252. ;   compression. If you prefer a larger chunk size for better
    * y9 g( R. T! `0 b7 u  v
  253. ;   performance, enable output_buffering in addition.
    / H5 K( Q7 G# T3 {1 N/ |! D0 r2 K
  254. ; Note: You need to use zlib.output_handler instead of the standard; \  F- C4 j2 @. v" }
  255. ;   output_handler, or otherwise the output will be corrupted.
    + M: {* ]5 K) l4 z7 K/ j( o
  256. ; http://php.net/zlib.output-compression( E9 H) U+ ^, i
  257. zlib.output_compression = Off
    5 J8 c( c8 N2 ~0 b  N5 M: ~( Q. |+ D
  258. 9 J+ ?+ a) w" y. S: I  A( r+ H
  259. ; http://php.net/zlib.output-compression-level" L$ [* S3 H7 X2 b% O; q
  260. ;zlib.output_compression_level = -1; o" y& S/ K. V2 N9 D# K2 G

  261. $ U/ ?8 m+ {( ]8 e7 s7 n4 p
  262. ; You cannot specify additional output handlers if zlib.output_compression& Q! Y6 e$ O  P9 C% h3 `3 }
  263. ; is activated here. This setting does the same as output_handler but in
    # [* u9 I' Y9 n6 ?+ ?7 ?& o
  264. ; a different order.
    : e5 E+ h, }3 W. M
  265. ; http://php.net/zlib.output-handler
    ; X; x0 f* X0 a: b  n' @
  266. ;zlib.output_handler =* G" y& e3 ^4 e
  267. $ m) z* f' w: U. R, T
  268. ; Implicit flush tells PHP to tell the output layer to flush itself8 j( [2 |& @' {1 V. G
  269. ; automatically after every output block.  This is equivalent to calling the! n1 [% ?! K; X; I* T+ m. A
  270. ; PHP function flush() after each and every call to print() or echo() and each8 g( c; i* u/ i. ^) R
  271. ; and every HTML block.  Turning this option on has serious performance: B9 J- G3 S- ^
  272. ; implications and is generally recommended for debugging purposes only.
    0 m. [- M/ G! P/ ?& s
  273. ; http://php.net/implicit-flush- C- U" T. E9 m! h% e1 R3 T; l
  274. ; Note: This directive is hardcoded to On for the CLI SAPI6 i. A6 l% T  a, p
  275. implicit_flush = Off& R+ W! l, W7 b* i; _1 d# I0 ~/ n

  276. " g* |5 d/ ^6 R- P  e  }7 l' b1 J1 a
  277. ; The unserialize callback function will be called (with the undefined class'
    1 Q; B! J0 j2 K' Y
  278. ; name as parameter), if the unserializer finds an undefined class6 v1 I! s* N! o- y( y
  279. ; which should be instantiated. A warning appears if the specified function is6 v  K! g: Y% F- ^1 B
  280. ; not defined, or if the function doesn't include/implement the missing class.
    6 c7 b8 R1 K! j( L( R
  281. ; So only set this entry, if you really want to implement such a
    8 R2 K& b" S, t  \
  282. ; callback-function.
    3 e4 q) ~' W+ B
  283. unserialize_callback_func =$ b. n, ^7 @9 j! _3 x; T& I

  284. % |% V) I+ Z# t/ a- l
  285. ; When floats & doubles are serialized store serialize_precision significant
    5 z; j3 H+ s: T$ B, r
  286. ; digits after the floating point. The default value ensures that when floats9 V/ N! K" n: |0 I  m
  287. ; are decoded with unserialize, the data will remain the same.: U, u: Q* I% A* m3 L
  288. serialize_precision = 17
    2 T5 P8 o6 K/ Q+ l' e3 s
  289. " R; @9 g9 n* }* }3 k$ d. T
  290. ; open_basedir, if set, limits all file operations to the defined directory
    3 h% |; L8 x6 m5 V! e1 Y& @3 c
  291. ; and below.  This directive makes most sense if used in a per-directory
    - D0 i, W  c, N# Q/ j: v& J) L
  292. ; or per-virtualhost web server configuration file.1 Q- b# n  z5 t, c6 B  l- ]- i* V
  293. ; http://php.net/open-basedir" k3 I6 j7 U. k: g
  294. ;open_basedir =
    ' v- p. `5 d- L* q' q

  295. % m  v, `" N" R) v2 g. T# A
  296. ; This directive allows you to disable certain functions for security reasons.' W/ ]$ k; @) _5 J( x
  297. ; It receives a comma-delimited list of function names.- d. Z6 c9 F# C6 h1 X0 J7 H- r
  298. ; http://php.net/disable-functions
    0 _  m" }8 w. ^" d$ C% H
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru4 c8 N- |0 P- F$ F+ K" h
  300. 7 S# {$ ^% D( `. d' B1 Q0 N
  301. ; This directive allows you to disable certain classes for security reasons.% B5 ?$ ~! y" _, Q
  302. ; It receives a comma-delimited list of class names.
    7 c' T" [5 x" p4 V7 T7 x: ^
  303. ; http://php.net/disable-classes
    ; [; f- m( J$ {& J4 {. b
  304. disable_classes =6 H2 U: V/ l! i9 [3 Y" C
  305. 1 p7 q  q/ [) W5 S) u0 z3 j% X
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ! ?) T! I% A! _, w, c/ E0 A
  307. ; <span style="color: ???????"> would work.
    8 A2 a4 C7 J% Q' s9 A
  308. ; http://php.net/syntax-highlighting
    - V2 m% \! C- P# A3 H
  309. ;highlight.string  = #DD0000
    3 H4 K! z0 O, {+ V
  310. ;highlight.comment = #FF9900
    6 M. W# F9 U* x) a3 Q
  311. ;highlight.keyword = #0077008 }& }7 u' }' Y+ B
  312. ;highlight.default = #0000BB
    ' _) x! X7 w3 G
  313. ;highlight.html    = #000000
    + C$ @2 o, [; M: `: `; R1 q: _7 z6 V9 g
  314. $ l4 u) T! U3 a- n0 W
  315. ; If enabled, the request will be allowed to complete even if the user aborts/ {% N  {; b2 X& ?- k# e8 s
  316. ; the request. Consider enabling it if executing long requests, which may end up
    * m: f9 h7 v0 g% F( A: _; J
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior4 [. v9 L$ Y5 d
  318. ; is to disable this feature.
    : W0 Y) K0 ]' W* ~% z0 @
  319. ; http://php.net/ignore-user-abort& f( g- v/ Z$ E5 O6 U6 r
  320. ;ignore_user_abort = On
    / N8 U; ~) M- F/ U/ M9 B0 }1 E

  321. $ o7 U1 P# a; N
  322. ; Determines the size of the realpath cache to be used by PHP. This value should6 W8 F; h  F3 [" F9 N8 d
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    1 X6 ~0 y4 u- r6 ]
  324. ; the file operations performed.
    7 b! Q2 V. k  V
  325. ; http://php.net/realpath-cache-size
    6 Z6 J0 v  F" l
  326. ;realpath_cache_size = 4096k  Q# V6 G) R5 E, K0 H5 {4 u& F

  327. 5 B1 Q8 S; Y8 I( x
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    - k! V/ E% r3 i4 N
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    1 L" H5 B2 t1 W& Q! V9 }2 ^6 I
  330. ; value.; A, `% v2 x' w) z8 p, `* _3 @9 Q
  331. ; http://php.net/realpath-cache-ttl) U& H9 Z% `9 d- L( S& r" k  @
  332. ;realpath_cache_ttl = 120
    ( q( j4 n" H. G- J
  333. ! F( {) z" k. u4 `$ l
  334. ; Enables or disables the circular reference collector., ^+ K* W4 j+ f- y) h
  335. ; http://php.net/zend.enable-gc2 E' w% R# Y6 Q. M3 k
  336. zend.enable_gc = On* y9 V" |# U, {+ {# w4 K- `
  337. * Q! u* }7 c0 u% U! L2 c6 e
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    0 I# X8 Q8 o) R" ^1 j5 g# W' _
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such5 W% ~# I& j2 T3 w+ e' W
  340. ; encodings.  To use this feature, mbstring extension must be enabled.: m% p/ n$ r+ R5 d
  341. ; Default: Off9 Q; j  S  g  H% ]$ k2 `
  342. ;zend.multibyte = Off8 W& G6 a+ j1 u: i: P: E

  343. 8 y, p# [9 `0 L+ t
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    1 c* P- I! A# e) c0 @; i% a1 |9 G
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.: D9 W2 G: |$ O1 t: L  ?# R
  346. ; Only affects if zend.multibyte is set.- l. m' r) T/ ^& g: [! s
  347. ; Default: ""
    ' \8 B) d" l: C
  348. ;zend.script_encoding =
    $ u: q- T: U: b

  349. 4 o$ l, E) ]/ c: [5 P! i1 E0 o& R
  350. ;;;;;;;;;;;;;;;;;! X; I) u7 j  h- Z4 t- ]1 E7 C' p
  351. ; Miscellaneous ;
    " O& o3 Z8 z& w( D  n0 U
  352. ;;;;;;;;;;;;;;;;;
    5 v0 L8 C: I0 h5 n
  353. 2 W9 l! I7 @9 ?; i" o
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    7 t+ z" ]; o* Y
  355. ; (e.g. by adding its signature to the Web server header).  It is no security, o7 A* Q6 u. r2 m+ I' `
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    & C2 j# H& K/ O
  357. ; on your server or not.6 |. j# d; ]! i3 q
  358. ; http://php.net/expose-php
    . ~) M! ]/ ]# P/ [. \" y
  359. expose_php = On/ G! J6 N0 a$ _! G

  360. & n7 z1 A4 b. d7 g! x! [0 T
  361. ;;;;;;;;;;;;;;;;;;;
    ( B3 L$ a$ r9 X$ H' o# @* ?  J
  362. ; Resource Limits ;
    4 I# M% [9 A2 G) c# ^; [
  363. ;;;;;;;;;;;;;;;;;;;' R# I5 M6 i/ ~3 V

  364. # h/ W2 d  }5 T, X5 W. V! m, N
  365. ; Maximum execution time of each script, in seconds) Y/ ~/ X( ?: N3 v2 c
  366. ; http://php.net/max-execution-time" Q& {0 M. O+ `
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI7 A: W5 X' U0 I- \$ |
  368. max_execution_time = 300
    ' C- _, e# n! `$ d; v1 }7 Y/ N+ D
  369. 3 c4 p" X( ]+ [( l
  370. ; Maximum amount of time each script may spend parsing request data. It's a good* E# `3 G$ e7 g
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly3 b, U" |5 n7 D  {
  372. ; long running scripts.
    , d8 [+ M7 |1 k; j+ M
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI& d$ \- F  x0 x( u( C, W' Y& @
  374. ; Default Value: -1 (Unlimited)
    % R  U. o5 b4 }- @3 a' l
  375. ; Development Value: 60 (60 seconds): p- v$ }. ^! y) J
  376. ; Production Value: 60 (60 seconds)
    $ @  v' \" D4 ^( c9 A5 r: L) u
  377. ; http://php.net/max-input-time
    4 w$ P% t+ H8 ?! g& p' q( B, P
  378. max_input_time = 604 V. P  t+ }* v4 s/ }5 b( g

  379. ' g& j1 S& o2 ]  i% `/ _
  380. ; Maximum input variable nesting level; y% c# h. c2 G  @$ O3 e
  381. ; http://php.net/max-input-nesting-level
    1 J; g1 l3 D; }4 d
  382. ;max_input_nesting_level = 646 ]$ `' U3 `& @

  383. ! B* x8 ~3 q: o9 t; a. Z4 c
  384. ; How many GET/POST/COOKIE input variables may be accepted
    * a+ G" X8 w- x* X
  385. ; max_input_vars = 1000- c2 i7 X* B. ?/ R6 L1 l& ]

  386. & R4 V2 F% d% L9 z' \3 `
  387. ; Maximum amount of memory a script may consume (128MB)+ s' l) n" }3 x& U& d. B
  388. ; http://php.net/memory-limit  k" u  d1 m8 `4 c
  389. memory_limit = 128M( ~, m' t! C! M" Y% p' |5 u
  390. % S) ]( f) W' i1 ]. d! z
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;! c8 S4 Q- ]- {) w2 v. m4 A. K
  392. ; Error handling and logging ;
    5 `8 ?6 B' U, v: a
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ( p- s" e0 `! H) c6 N. }
  394. 4 ]. B( R' ?# S( ^1 u, K: `
  395. ; This directive informs PHP of which errors, warnings and notices you would like# F3 a( d+ ~1 y5 e4 b) r4 f! V, n
  396. ; it to take action for. The recommended way of setting values for this
    $ g& s2 V. L, u+ }, B0 `/ d
  397. ; directive is through the use of the error level constants and bitwise) a% g2 @0 ?: K. v) u) Y6 Q
  398. ; operators. The error level constants are below here for convenience as well as
    . A! s# }9 {+ f3 f8 H" X
  399. ; some common settings and their meanings.
    " Y2 e9 r' b# X' K  J2 ^$ B
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT; F+ [$ K  F& O
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and+ R0 Y& W3 @* _' M! X2 k
  402. ; recommended coding standards in PHP. For performance reasons, this is the% V2 E$ G$ d4 }- O6 N
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    3 S+ J0 ?* X, [% h
  404. ; resources complaining about best practices and coding standards. That's what0 ]# N' j( P& |1 n2 `
  405. ; development servers and development settings are for.
      Y; L' S* E* M- w0 B; c
  406. ; Note: The php.ini-development file has this setting as E_ALL. This& `( y& [, H, A, |9 u; f4 X* \
  407. ; means it pretty much reports everything which is exactly what you want during
    5 x4 `; v8 C8 ]$ I( w7 p- K
  408. ; development and early testing.# ~! S, D5 C+ O& n6 D$ K3 z
  409. ;
    0 a% L7 R9 v: w/ V
  410. ; Error Level Constants:6 a- x# T3 h2 D% \. i9 ?% y2 S7 V
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)4 x% H$ h0 H, e: S' C0 [$ U
  412. ; E_ERROR           - fatal run-time errors
    ; z; F) n5 f5 D! u' }
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors4 c9 i5 C5 Q; y7 K) B# B
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    7 |& e9 s; _9 Q) Q5 h0 i8 b& j
  415. ; E_PARSE           - compile-time parse errors
    7 h: f: [0 g5 y
  416. ; E_NOTICE          - run-time notices (these are warnings which often result, W! X  e* p% u* s/ @, M
  417. ;                     from a bug in your code, but it's possible that it was/ Q6 I$ _- y5 `) G
  418. ;                     intentional (e.g., using an uninitialized variable and5 k" `, a, I/ Y, m+ O2 m3 \
  419. ;                     relying on the fact it is automatically initialized to an
    ! X( Y! J# r" _  q" o
  420. ;                     empty string)
    ) F  V3 n' S+ v" R( E! Y( I/ f# u
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    , L9 n/ N+ @! O0 l, Z/ z" ]
  422. ;                     to your code which will ensure the best interoperability7 [, b4 R9 G' F, h) F
  423. ;                     and forward compatibility of your code+ {1 C0 B  _: q( ^( [
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    4 c' _7 z; a: ^( R+ V% `
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    " Y: O1 v+ ]: a9 M
  426. ;                     initial startup
    $ w( w. @. y/ Y, g
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    9 t- |" F2 K$ ^6 E6 z
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    7 Y( ~9 t  E+ F) T" X
  429. ; E_USER_ERROR      - user-generated error message0 f' O" A! U0 ^8 ^* ?( b; F
  430. ; E_USER_WARNING    - user-generated warning message
      T, k$ O  H+ q& y1 S
  431. ; E_USER_NOTICE     - user-generated notice message  j4 s6 N' ~( F' d/ g( {
  432. ; E_DEPRECATED      - warn about code that will not work in future versions8 o* q, k$ }9 H: m" p2 p: D( S1 ?
  433. ;                     of PHP
    ; A- u% p- D: {5 E! E6 M' t2 _8 `
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ) F- Q- A; T8 |! u4 D! l! |
  435. ;
    5 K  b/ S# N3 D; k1 G
  436. ; Common Values:
    : P3 B* J* }/ R
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    8 J1 M- U; f8 D  o
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)4 l" h2 I2 h8 K4 u0 b
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)1 x/ N. M. Q1 [7 r
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)! l# v. ]8 |; _% y! j- W
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    $ K$ x. e* r5 y" z6 S+ d& k
  442. ; Development Value: E_ALL( a# ^, h% _/ U' m
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    , T' u9 r/ [% A! Z( P+ g' \3 _
  444. ; http://php.net/error-reporting
      P' F# V+ m1 U! I5 C- f
  445. error_reporting = E_ALL & ~E_NOTICE. F' S8 s1 @" l# {0 A: k
  446. 1 w/ A1 c+ \/ W: C
  447. ; This directive controls whether or not and where PHP will output errors,9 W5 a3 F6 g" P# e1 R' W
  448. ; notices and warnings too. Error output is very useful during development, but
    4 R6 x9 [# l2 Q+ }9 F9 f6 ^
  449. ; it could be very dangerous in production environments. Depending on the code
    " J2 x* f' k0 w( _3 H' W! _% B
  450. ; which is triggering the error, sensitive information could potentially leak
    ( q$ K9 z; S- N) @) {
  451. ; out of your application such as database usernames and passwords or worse.
    6 I9 E0 ?  I) L& V* _1 R9 Y
  452. ; For production environments, we recommend logging errors rather than
    0 F6 ^4 }- s6 m% }* {6 k( o! t
  453. ; sending them to STDOUT.
    - g+ l& R+ w+ W2 }
  454. ; Possible Values:8 J. r8 X: s9 y2 H: k7 |& w0 }
  455. ;   Off = Do not display any errors
    ( F# s' s9 j9 R- t) m0 z9 w
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!); M5 N4 V& f& c5 B
  457. ;   On or stdout = Display errors to STDOUT+ C0 U/ L% M* l
  458. ; Default Value: On: z8 ?1 }7 r* y3 X9 Z
  459. ; Development Value: On
    7 p, J+ L7 S5 p0 o! Y
  460. ; Production Value: Off
    ! n8 X3 S, X! d0 C$ z8 a/ E
  461. ; http://php.net/display-errors
    6 C5 B9 {/ K7 j& M
  462. display_errors = On
    3 k, d: t# C& H* c% s

  463. 8 x% m& ^: F0 c% B1 e9 W- ~
  464. ; The display of errors which occur during PHP's startup sequence are handled
    % N, `, f; I1 H1 Q- i  d
  465. ; separately from display_errors. PHP's default behavior is to suppress those  |# {; K& ]" V! w0 x
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ( H% Z9 V/ z+ I' C4 Y2 }9 X
  467. ; debugging configuration problems. We strongly recommend you* l" a1 y" \, K0 m8 J
  468. ; set this to 'off' for production servers.
    # D+ J6 Z3 Q: O5 w$ e) i
  469. ; Default Value: Off
    , K% A& A( L2 Z) A0 F* o8 ?
  470. ; Development Value: On
    & x( i' K" ]3 [
  471. ; Production Value: Off
    1 ~2 }% o/ n; ]. B
  472. ; http://php.net/display-startup-errors5 u. ]; s# b3 f8 u0 n$ E% F
  473. display_startup_errors = Off
    % i# e$ f3 q3 w, i

  474. . M; m2 c7 R9 s4 V: z& Q
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    ' F3 X2 N% c: ]
  476. ; server-specific log, STDERR, or a location specified by the error_log
    4 k! b( u; A' ~* q. B
  477. ; directive found below. While errors should not be displayed on productions; h, i3 s, u' U
  478. ; servers they should still be monitored and logging is a great way to do that.) W& l( O( E8 C0 o  R
  479. ; Default Value: Off2 r- b& k$ R$ J
  480. ; Development Value: On% Y! h. C. O9 U& \8 `- j4 C
  481. ; Production Value: On0 ^5 f. Q& b7 [2 S! t/ w  A0 |
  482. ; http://php.net/log-errors
    ; [: t" u4 Q* D# _* C
  483. log_errors = On
    7 Q" h) v2 X- R. e) s: l; n% O% h$ |

  484. 4 o+ v# n) S' N; X5 \9 K' J
  485. ; Set maximum length of log_errors. In error_log information about the source is
    9 V$ U. i( v' w" d" m
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all." t+ h  K& l% I6 T( N7 W" J/ ?
  487. ; http://php.net/log-errors-max-len
    ' y* N9 \7 D) _/ c
  488. log_errors_max_len = 1024+ H0 Z- o8 h' Y5 t3 |. H5 ]. v# b

  489. : R! n+ I& t$ L: w7 p. b5 c/ q
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    " }8 z- W! g; ~  i8 b2 T+ W
  491. ; line unless ignore_repeated_source is set true.
    4 p4 R8 \; ~' U' }) W0 g: s2 e
  492. ; http://php.net/ignore-repeated-errors9 T: X0 E( C4 G7 {  d, @
  493. ignore_repeated_errors = Off8 j7 |0 t! q/ X. @, Y+ b, G

  494. / x% `" E  ^( ^# W
  495. ; Ignore source of message when ignoring repeated messages. When this setting' _4 w4 }. f0 B9 P$ Z0 l
  496. ; is On you will not log errors with repeated messages from different files or3 N8 t4 r* J, F0 P+ n/ H2 W
  497. ; source lines.
    6 V+ A/ ?: N9 M. G$ f
  498. ; http://php.net/ignore-repeated-source
    1 ^6 D' P& o$ ]% |; I: k" w
  499. ignore_repeated_source = Off
    4 m* S- [8 T1 ^. R# r; R

  500. 7 z  E1 x. P5 c0 x6 f& \5 P% u
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on( F% ^7 D+ g, F# w! H6 @$ Z
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    & ]2 d# |0 \; A9 Z7 g+ f
  503. ; error reporting includes E_WARNING in the allowed list
    % r* K% R4 m* @$ }. e
  504. ; http://php.net/report-memleaks
    8 k* T, V0 N: L: _+ j
  505. report_memleaks = On
    $ \9 w$ M* t! s. Q# o
  506. 2 K6 N8 l$ P2 p$ {
  507. ; This setting is on by default.
    ( H) K5 X* }4 q2 A  D# e* W
  508. ;report_zend_debug = 0
    9 v+ r! h. C+ K5 u- x& w- X

  509. / N3 u" \& r$ ]: I( w# r
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value" s/ [, j3 ]6 I3 v+ }. J' F: Q: i
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    ' l* [3 A0 V8 D2 q: A
  512. ; however be disabled on production servers.
    7 i+ e, i' t. `( V) d2 }+ c/ f
  513. ; Default Value: Off
    . y. ~! g5 i; n0 k! j5 m* D
  514. ; Development Value: On5 }& M9 }# Z( o1 A- O* z1 G
  515. ; Production Value: Off
    8 D% J6 {8 @' G  z) p- @  e
  516. ; http://php.net/track-errors9 n; I6 u" _0 ]7 j3 P3 C. I
  517. track_errors = Off' Z+ |. }8 ], e; l* W9 n- J6 _/ z

  518. 3 L4 z/ a1 V2 F5 M9 \  h/ }! s$ [
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    2 }7 j4 H& M1 M) P- y+ a  o( L& ]( k
  520. ; http://php.net/xmlrpc-errors, k$ N# r- j3 t8 Y
  521. ;xmlrpc_errors = 0
    4 `+ _  @2 q- c6 ^2 w% c
  522. . B/ w# O4 I6 t% v2 O* G
  523. ; An XML-RPC faultCode
    % i) e# Z$ h2 r2 e5 i( n
  524. ;xmlrpc_error_number = 0) b4 C7 I3 Z! Z8 g4 l: X/ [

  525. " |% D) d5 k2 s/ F& m% u8 Y
  526. ; When PHP displays or logs an error, it has the capability of formatting the; f0 j" s' D' N/ t  A4 ]" [$ p
  527. ; error message as HTML for easier reading. This directive controls whether" z1 |: R# S/ e- f% R! k/ p
  528. ; the error message is formatted as HTML or not.0 |% n$ n# W- n
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    + O8 e" a/ w1 P+ |
  530. ; Default Value: On' D7 Q+ [4 i4 P5 k
  531. ; Development Value: On+ O: I& t( D( n2 k7 G
  532. ; Production value: On
    ( o) c) J, j) q( ?! u: {+ {, j
  533. ; http://php.net/html-errors( d6 g4 ?) [2 Q
  534. html_errors = On- Z9 ~$ G) T8 z" E+ e2 g
  535. 8 T; i9 X' F/ F$ b
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    4 @  m( V8 X( T& \
  537. ; produces clickable error messages that direct to a page describing the error
    7 |4 {* _$ e, ~* f
  538. ; or function causing the error in detail.- O$ n( a" W8 [& Z; w
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    - t, U1 u8 n. h9 [2 K0 C
  540. ; and change docref_root to the base URL of your local copy including the
    . L+ ]% g# ]4 o
  541. ; leading '/'. You must also specify the file extension being used including6 d) P9 a0 i; T% o3 r
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which: E. e# o- _% M& I, `- Z* l0 j
  543. ; case no links to documentation are generated.
      H; a1 G9 I8 A. g  J
  544. ; Note: Never use this feature for production boxes.
    , }; p2 K7 U, X: k* Y
  545. ; http://php.net/docref-root
    $ B7 H5 x; \/ R2 p
  546. ; Examples/ a5 ^: l; Z. M. n5 }
  547. ;docref_root = "/phpmanual/"! b1 I. {; A6 d! e3 ]

  548. , B- Q% G4 i1 P/ N# n7 K
  549. ; http://php.net/docref-ext
    0 Z( w3 u2 x& ]5 u$ U, h& U
  550. ;docref_ext = .html9 k" X/ Q% Z9 S6 |

  551. + |+ D# Y" u$ n; W6 o1 r
  552. ; String to output before an error message. PHP's default behavior is to leave+ D3 a! }6 \2 |/ u5 b3 o2 ~( D4 C. I
  553. ; this setting blank.) {8 B! w: `8 f! C
  554. ; http://php.net/error-prepend-string
    2 a. g" w2 |# Y: V! K8 ?0 a
  555. ; Example:
    ( m& [0 M- z- B. b" |5 Y
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    / n& k* W8 K3 Z+ J, O! G: Y% I

  557. 2 E* g6 O8 n) Y
  558. ; String to output after an error message. PHP's default behavior is to leave2 o' l( f6 h" @# H/ o" K8 }
  559. ; this setting blank.0 H/ N0 E$ c% Z  g' e( j3 n
  560. ; http://php.net/error-append-string/ [  i; T9 L+ |2 p. Q1 h, Q
  561. ; Example:
    , n2 y' F: \, v2 p
  562. ;error_append_string = "</span>": P2 H% A5 }  x' ~
  563. ) x  G  ~# Q1 U$ {
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    9 Q5 D* m- X1 e# I/ S- e
  565. ; empty.1 l( o) U' D$ h. w. k" G
  566. ; http://php.net/error-log# N! y) }: z' e: u7 U) M6 U
  567. ; Example:8 f; ^* h' l, u8 c1 d& ~, ~) M9 V
  568. ;error_log = php_errors.log
    6 [8 s9 V4 i7 p  Z
  569. ; Log errors to syslog (Event Log on Windows).0 i) `7 h, O$ @
  570. ;error_log = syslog% @" U5 w+ Y% Y, o4 L# V
  571. 7 b. c6 V6 r4 B$ g$ H2 R0 F& g0 H
  572. ;windows.show_crt_warning8 g3 N' V9 G% ?, ^' b& G5 v2 S
  573. ; Default value: 0
    ) a9 a% h  ?1 D( J: n2 T
  574. ; Development value: 0" K: A- m( C; {; l
  575. ; Production value: 0
    # B1 s; c9 _1 \% j# u
  576. , t3 u/ i% ~1 D
  577. ;;;;;;;;;;;;;;;;;- ^/ B% ?- ~; X8 ?; h, j: ]
  578. ; Data Handling ;
    0 }# |" Y0 _$ r
  579. ;;;;;;;;;;;;;;;;;" Y: H% c) x+ o7 \( Y! Y" m

  580. ; [- y5 C) V% P/ X  G
  581. ; The separator used in PHP generated URLs to separate arguments.
    $ l$ E: c8 \9 l% j! _" v
  582. ; PHP's default setting is "&".# I# ~( ~! L; O7 B
  583. ; http://php.net/arg-separator.output9 A+ {, W; c) w0 N: S3 V1 N
  584. ; Example:
    ' T( R! A. X! D
  585. ;arg_separator.output = "&"
    . ], i$ D' Q" c8 o5 `2 P
  586. 3 p* P3 L, i: j- A
  587. ; List of separator(s) used by PHP to parse input URLs into variables.( Z! C' T7 X" v6 c; |* @; b; {* _, V
  588. ; PHP's default setting is "&".: Z1 I1 k( g- w2 W6 a+ u
  589. ; NOTE: Every character in this directive is considered as separator!; e" ^* A* a+ f9 l2 Y5 T- }; u
  590. ; http://php.net/arg-separator.input
    0 ]! V6 ?" e) R6 Y
  591. ; Example:
    5 }' k5 G4 Z2 `" @; f$ t7 D  H, ^7 P
  592. ;arg_separator.input = ";&"& x  |. W( [( A/ i+ M1 E3 r* c
  593. , u; Y/ c' A: a0 ?3 t" [! [  D- L
  594. ; This directive determines which super global arrays are registered when PHP
    7 M' h/ _: m9 U/ @
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    3 U- e4 X! h4 z! Q/ g0 E
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    / z% D" e3 X% k; n5 Q' ^: M% q" w
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    ( w4 r% J% N5 M: R
  598. ; used as the others, ENV is not recommended on productions servers. You
    0 R  p! [% |) U* g
  599. ; can still get access to the environment variables through getenv() should you! O; ]+ l4 ?* D; F
  600. ; need to.. Q) Y7 s- K% q  d3 a: w
  601. ; Default Value: "EGPCS"0 v: h2 `1 `8 x8 h, G; G1 @
  602. ; Development Value: "GPCS"
    % E3 r- I' E* L+ s, j
  603. ; Production Value: "GPCS";. n; }2 c3 g3 j
  604. ; http://php.net/variables-order
      E" \0 t) r; m- T( }2 J; j
  605. variables_order = "GPCS"
    0 b/ v9 D; @& @$ b# L5 }. H
  606. ! G. s8 w' L6 D& E; \& F! T
  607. ; This directive determines which super global data (G,P & C) should be7 J5 N+ V" q* x# `5 k
  608. ; registered into the super global array REQUEST. If so, it also determines
    2 X7 |7 f1 ^- [) o5 s
  609. ; the order in which that data is registered. The values for this directive
    + p) ]" D9 W7 l4 B0 M
  610. ; are specified in the same manner as the variables_order directive,
    + P3 ?0 Q. j- V8 i
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set& ?4 E4 F. }! k( [: \6 `0 ]5 w. m1 f
  612. ; in the variables_order directive. It does not mean it will leave the super( M+ r& I9 `; J1 y! |3 F5 j6 g
  613. ; globals array REQUEST empty.# Q6 K& H6 S# ]! L: q0 s
  614. ; Default Value: None
    ! u- ?. F! i" X7 C- q1 x0 D
  615. ; Development Value: "GP"
    9 f( h$ l1 c' U% W/ |! Y
  616. ; Production Value: "GP"; N1 R& D7 M5 T- E  e  `/ H
  617. ; http://php.net/request-order
    $ k* }  X- Q! X$ z$ r% X+ v/ G" B
  618. request_order = "GP"' z( o' P, C& {  [% _8 h; E1 [
  619. 2 D; z% w: u6 l* a8 D) K. L
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    ; m8 N9 t7 @# |- Y7 W
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    0 o2 T6 r$ S% d2 @0 a
  622. ; is invoked. $argc contains an integer representing the number of arguments/ g( b" t4 G; }+ j0 V  k+ I% O3 ~
  623. ; that were passed when the script was invoked. These arrays are extremely
    : h" {5 r" y  @$ I& Y
  624. ; useful when running scripts from the command line. When this directive is9 y* B1 v" p) s* u
  625. ; enabled, registering these variables consumes CPU cycles and memory each time  J8 q6 e% k+ l, x- W
  626. ; a script is executed. For performance reasons, this feature should be disabled
    3 Y/ `- d; K9 z& K2 U
  627. ; on production servers./ y; @' Y' ^. a5 U) d
  628. ; Note: This directive is hardcoded to On for the CLI SAPI( ~, a8 X; G$ E& q0 z& Q/ ^
  629. ; Default Value: On  z4 h! a. ?5 R. w
  630. ; Development Value: Off
    ! X, h  Z/ B% L$ a" c% w$ ~4 b, P
  631. ; Production Value: Off
    : a6 I$ ?4 r' F* e, b. Y1 U2 A
  632. ; http://php.net/register-argc-argv% }) }+ k8 Y( R6 J. ?& o  ]. v6 j6 L
  633. register_argc_argv = Off' I* S  ~" f! y8 S
  634. 5 C0 L4 R6 q, P% d* B
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're' l/ G$ X# G2 O- C0 A# R% B  T
  636. ; first used (Just In Time) instead of when the script starts. If these, i7 ^% a( b! i8 f/ W. f
  637. ; variables are not used within a script, having this directive on will result
    % e* s+ T; d- ]1 i
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled9 Q2 X6 d4 _2 A4 l% n% Q
  639. ; for this directive to have any affect.  h- x$ z  Q4 I: ~* Z5 N8 Z
  640. ; http://php.net/auto-globals-jit
    ! ^. s* q5 \" x) X7 V' l7 k+ k
  641. auto_globals_jit = On
    # y) G# e* i* t$ P5 U; @
  642. " u+ g7 ~8 f1 T
  643. ; Whether PHP will read the POST data.
    8 c: X6 ~  }. j, y/ W: a7 u
  644. ; This option is enabled by default.
    9 |$ K/ T& s$ A! d6 z5 A: x
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ) R; q1 x  o+ N+ ~0 ^
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    3 S& p; a3 m' X$ b+ Q
  647. ; POST data will be through the php://input stream wrapper. This can be useful/ r- e& W( Z, q5 S0 c% Q$ V
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.3 l+ a3 u& X( [7 ?8 k
  649. ; http://php.net/enable-post-data-reading1 X$ C0 p9 q8 ?6 s
  650. ;enable_post_data_reading = Off, J  ]+ N" ~; p+ u3 J; l
  651. ! Q! M& V* K& _! }2 T6 w
  652. ; Maximum size of POST data that PHP will accept.
    , u. r" d1 p7 Y, A
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading6 G8 A0 Y6 V4 k" h) a
  654. ; is disabled through enable_post_data_reading.3 x0 Q, o  ~/ ~
  655. ; http://php.net/post-max-size  h8 A% {# K7 p/ h) q
  656. post_max_size = 50M
    9 a( L! e* {( c' ~$ o: K0 x5 `  L

  657. 2 l! s2 @. n  i, H* ^
  658. ; Automatically add files before PHP document.3 P# q: V$ y6 l: P2 M
  659. ; http://php.net/auto-prepend-file, |& V- Q% y- d" J5 z7 F
  660. auto_prepend_file =
    2 u5 N8 A4 s& S+ K: ~* }8 J

  661. + V4 m5 k7 f4 ^) h1 Z8 n5 O5 R
  662. ; Automatically add files after PHP document.
    ) x) H( w. F6 X' W
  663. ; http://php.net/auto-append-file3 H+ l1 |/ U! v' A' A% t- H8 Y2 R
  664. auto_append_file =
    9 V" ^2 J0 S( y% G+ m* x
  665. 5 o$ G# A( T! ^; q
  666. ; By default, PHP will output a media type using the Content-Type header. To
    , q) q4 Z; X! [, O' z/ L3 J2 u
  667. ; disable this, simply set it to be empty.0 v: x3 v* a  k
  668. ;
    ' T/ Z: P- j" A; y9 u
  669. ; PHP's built-in default media type is set to text/html.0 B8 k- O- {2 N" w
  670. ; http://php.net/default-mimetype
    " [7 ~1 G& v/ c8 r- s
  671. default_mimetype = "text/html"  s# l7 O6 R7 B1 a7 y2 @
  672. 7 Z4 v" f* w! p$ w
  673. ; PHP's default character set is set to UTF-8.
    ' W1 p9 E0 S; y8 V% z; T  p/ S/ ]
  674. ; http://php.net/default-charset( H5 H# D. P. ?, Y5 q, L
  675. default_charset = "UTF-8"
    : Y" V% i) ]8 Z
  676. 7 Z) `5 d  [0 @# u! B( W# P
  677. ; PHP internal character encoding is set to empty.& ]4 r# J7 N1 V" n$ b
  678. ; If empty, default_charset is used.2 r8 f. N% B  w: J8 U6 L6 a' K
  679. ; http://php.net/internal-encoding0 K" w5 P, y$ n0 [
  680. ;internal_encoding =
    ) G3 l; C8 \4 G6 J' u) k+ s
  681. ; d4 l' i  P7 G7 {4 r' h
  682. ; PHP input character encoding is set to empty.4 {% v% g9 `( ?+ a
  683. ; If empty, default_charset is used.* j+ M& C( Q: I  k  B: B. [
  684. ; http://php.net/input-encoding
    3 \2 p% H( h$ m7 W5 p. Q8 S
  685. ;input_encoding =
    5 D" k* `) H( [* q% s6 h
  686.   @+ q( M4 G& [5 h
  687. ; PHP output character encoding is set to empty.
    6 r$ ]8 ?: t% u! e( G$ `, l' c
  688. ; If empty, default_charset is used.
    / n; B! U2 P3 l
  689. ; See also output_buffer.
    ; }0 r/ z& P$ y8 p0 `
  690. ; http://php.net/output-encoding
    : U* H' L8 j) ?3 i
  691. ;output_encoding =0 R/ z0 ^! ]3 o' \' [: M! o1 g
  692. 6 Z( x6 I$ U5 n! l
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;# A- s  r: \5 G5 y# L
  694. ; Paths and Directories ;
    7 q9 h0 C$ T; \5 s+ ^* g. k
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;, H: A3 e$ h' [* \1 l
  696. " a7 L0 {6 c5 u; r# r
  697. ; UNIX: "/path1:/path2"0 v+ x% T" F1 Z- [+ P
  698. ;include_path = ".:/php/includes"0 P% _8 g' N- Y
  699. ;
    3 M5 t4 Z  ^# }2 J  }
  700. ; Windows: "\path1;\path2"
    . Y# D# S: T2 S. |. U9 T
  701. ;include_path = ".;c:\php\includes"0 J7 u. Y- s# R: n* _  a; C
  702. ;
    ! y2 q8 q/ Y, P7 {
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"/ T6 Y0 F" G! f" W
  704. ; http://php.net/include-path
    ; p. [3 y; P9 L
  705. 6 b6 u+ ]2 a* i4 z* [; ]
  706. ; The root of the PHP pages, used only if nonempty.9 {8 b4 D& y' [, V3 B
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    & J6 ~2 `( e6 h6 J$ }- A5 L' U
  708. ; if you are running php as a CGI under any web server (other than IIS)3 B! Q  x. z& i2 n" z
  709. ; see documentation for security issues.  The alternate is to use the
    ! y% b% A6 O" H; P
  710. ; cgi.force_redirect configuration below. l8 D% r( I' N9 p" X
  711. ; http://php.net/doc-root
    ( v; K' H6 [& t  e* Y5 z
  712. doc_root =
    5 `% o3 [4 Q, Q: F: }6 e6 I) A
  713. 5 K* Y- B$ u/ h1 h# Z
  714. ; The directory under which PHP opens the script using /~username used only2 z8 e) m1 B9 \, T; s3 S  q
  715. ; if nonempty.
    $ E# }$ k! L& S( O. g, b
  716. ; http://php.net/user-dir9 j2 ~" S1 y, J9 g- u
  717. user_dir =4 w" i. p( n) o% V6 t3 X/ A
  718. : `9 |$ v9 B: T0 T6 c8 y% j$ y/ {
  719. ; Directory in which the loadable extensions (modules) reside.8 z8 t* `! @( t, @9 M' F- u6 [
  720. ; http://php.net/extension-dir
    / N6 |! e% r  i8 A
  721. ; extension_dir = "./"# A$ |$ p$ h, L! V0 J' ^
  722. ; On windows:: X) H$ }2 \, c9 @' I
  723. ; extension_dir = "ext"0 n$ y; I' W8 }

  724. ! K2 y1 `0 R" u3 Y* i' ~. m1 O
  725. ; Directory where the temporary files should be placed.
    - N8 N( b+ R4 L" `1 P- V  l; _% g' v8 R
  726. ; Defaults to the system default (see sys_get_temp_dir)+ k! j$ ]5 |8 Y4 v- C* }8 _! J* c
  727. ; sys_temp_dir = "/tmp"' W5 r) ~, e: Q& e
  728. ' R6 T! D) s% _0 o
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work; m' B$ v. ?( s; S, n
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    2 R# C/ d6 r0 p+ U( I( E! z7 q
  731. ; disabled on them.& l$ D+ m7 ~: O
  732. ; http://php.net/enable-dl! a  h/ A. ^" Q: _0 y
  733. enable_dl = Off
    % G9 a& H8 g' r# X& v# ?* q

  734. 1 z# |) l" U; ^' A
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under5 e2 I! O* y; |/ c1 G7 i4 d
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can2 F6 ]0 C" I. b
  737. ; turn it off here AT YOUR OWN RISK
    ( S% E; A* ~* ]5 {% ?
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**8 F2 x* y4 _1 K8 N) B
  739. ; http://php.net/cgi.force-redirect* q$ {  c# ?) j( c3 t
  740. ;cgi.force_redirect = 1
    ! ?; j0 Q) A/ O+ Y( ~

  741. . V! m6 o8 W2 U; n/ m0 Q" R1 O6 J+ @
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with8 }5 H; v0 m  k
  743. ; every request. PHP's default behavior is to disable this feature.$ F5 ]7 H' _# ]- M3 u; n
  744. ;cgi.nph = 1
    ; ]; T' ^2 u( r) T; v0 B# @' z+ ?
  745. ) Z; M0 i/ w* V- A/ ?7 d- P
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape, }4 }8 x9 I, ^" o
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP" T5 r/ s, q7 ^1 z: `/ v/ k
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    & E; w4 D. R3 f  b& l6 d
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    # h+ z; \+ D$ r$ V; ~8 T' u* R8 g
  750. ; http://php.net/cgi.redirect-status-env: @1 {4 s( P* ?& e8 o$ y
  751. ;cgi.redirect_status_env =5 D4 |: w4 m# G4 ?2 i

  752. 3 S- X1 ?0 v, K- Y+ ]
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's5 B* b- \: K5 y' |1 c5 a+ M, {
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok: b* Z) e  n- h& e) D
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ) G8 p+ k$ ]7 O! K( \
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    6 [- D; [9 _2 W7 O: d2 o' K3 _
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts: N6 [- b& R7 y9 b
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    0 X  x: S7 c' F6 d- I& h
  759. ; http://php.net/cgi.fix-pathinfo# }' |; [! U8 c$ {; s
  760. cgi.fix_pathinfo=1
    + Q- i! I' y: C3 r5 i

  761. % V& f" O) |; T7 k0 g& }; P
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside/ E0 ]# [7 D: _# d
  763. ; of the web tree and people will not be able to circumvent .htaccess security.; t  i+ y7 U/ c
  764. ; http://php.net/cgi.dicard-path
    6 P3 y, L5 L4 @' Q
  765. ;cgi.discard_path=1
    4 i5 B  B7 l1 |

  766. / H7 p9 j4 \4 _7 v) |
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate" S$ q  v4 A4 `! {, P5 r
  768. ; security tokens of the calling client.  This allows IIS to define the
    1 F6 C  F1 G6 z& g" u  q7 d
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    . b2 f3 Z# v5 F$ ?2 i9 A; b( q
  770. ; does not currently support this feature (03/17/2002)& x$ N  N! ^* L3 Y0 D9 V3 T$ M
  771. ; Set to 1 if running under IIS.  Default is zero.
    $ F7 x/ l% m, u: h3 {
  772. ; http://php.net/fastcgi.impersonate
    4 U, @+ A- s: T% a( g
  773. ;fastcgi.impersonate = 1
    7 G) {4 {' b! }; B1 `
  774. & y* |  `- H' u5 q9 J
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable4 o# v1 h6 H# A3 G  d# }0 }) o, A
  776. ; this feature.
    1 ]5 t5 v/ K" k1 y8 @
  777. ;fastcgi.logging = 08 N  ?- E. e1 `, t0 e
  778. * G& I4 S. ^# B
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to5 C- Y3 y% k# u2 z& y
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that4 h* C# _, y# j' a
  781. ; is supported by Apache. When this option is set to 1, PHP will send9 p! x/ f( l: ?7 I8 Y( b8 f
  782. ; RFC2616 compliant header.7 U7 x- v, {- T( t3 e; ^5 }3 }
  783. ; Default is zero.
    9 f. _5 x! `1 T+ n* q
  784. ; http://php.net/cgi.rfc2616-headers
    - M, U  a: {, C
  785. ;cgi.rfc2616_headers = 0
    9 a2 f: _# y$ E2 z) B3 u
  786. ) ]" @  z1 w5 v
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!6 ?- A5 i, n6 a" G
  788. ; (shebang) at the top of the running script. This line might be needed if the7 b  E2 z1 k, D5 s" {* v' T) ?2 b
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI( u4 U) t! ?6 ~! j4 o' {
  790. ; mode skips this line and ignores its content if this directive is turned on.
    4 j% |0 `; U1 }, t
  791. ; http://php.net/cgi.check-shebang-line; ?. l# F) [: M8 ~! c* b1 J7 g* M" Q
  792. ;cgi.check_shebang_line=16 \6 G$ n* v0 M+ J9 Z! p# {8 Z
  793. * ^* v; M3 S5 l' o
  794. ;;;;;;;;;;;;;;;;/ p: C" M) P* D! t
  795. ; File Uploads ;
    0 i0 K2 T) U7 C+ ~
  796. ;;;;;;;;;;;;;;;;5 y3 t1 T5 `! t8 p) a
  797. , k5 n6 p* o( G) Y1 g: \+ S; o
  798. ; Whether to allow HTTP file uploads.# D. A  K( y6 p2 N
  799. ; http://php.net/file-uploads% r1 B1 b! Z" M
  800. file_uploads = On+ K! C- @# y; X6 P/ l# o$ j
  801. / S+ T# O. W/ s1 V; q- s5 f
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    / {, O" O, z' h3 x& U( n. ?+ |% N
  803. ; specified).
    0 s) ~6 n# a. U0 ]- P: k
  804. ; http://php.net/upload-tmp-dir
    % r: i4 s! N- J9 T% D
  805. ;upload_tmp_dir =
    - p, Z* l9 s% M8 Y
  806. & P: v- t. [/ Z/ B$ m$ J
  807. ; Maximum allowed size for uploaded files.. R6 x3 l- d& g3 x& R2 [* L5 \
  808. ; http://php.net/upload-max-filesize
    $ @  u' d+ A) O3 c/ {; F
  809. upload_max_filesize = 50M# ^+ X* O* ]3 T! e5 M" R0 b5 ~; W7 o  {
  810. & h! _- V% b' T6 x, L" }: F" r3 I
  811. ; Maximum number of files that can be uploaded via a single request
    ( m7 ~2 J8 r/ X1 A* l& j2 h( F, `) I
  812. max_file_uploads = 20
    9 v1 q! _. ?$ M
  813. 5 r/ t! m( N8 C  k3 f+ H. }+ w
  814. ;;;;;;;;;;;;;;;;;;: E$ U2 [3 p1 P+ u, N2 E
  815. ; Fopen wrappers ;  P' A/ ^& E3 F" t
  816. ;;;;;;;;;;;;;;;;;;
    8 m, J$ u% s7 u% U

  817. ' x1 ?+ `+ q# ~; W
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    : m# T' |' r0 o) Q7 |
  819. ; http://php.net/allow-url-fopen
    5 P5 ~+ V# V: x" Q) S, @
  820. allow_url_fopen = On
    / d+ Q% r  ], j# n6 y7 i, g, f" J
  821. ' D, Y3 C( K$ l" ]: S& l$ }1 F1 d
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ) C8 z% k+ C. [: q
  823. ; http://php.net/allow-url-include7 K/ k1 K# G" Z  n% t& _% t7 V
  824. allow_url_include = Off% A# k4 O5 O* ]3 H% C
  825. + C4 X& @$ K( O: {+ c1 U2 Q* }
  826. ; Define the anonymous ftp password (your email address). PHP's default setting4 k/ w  F( w, l; i9 I9 T% A& K
  827. ; for this is empty.
    8 \' R, N7 Q. O3 j
  828. ; http://php.net/from$ O) _  _- h7 ~% Q0 E  D" K3 `2 t7 m
  829. ;from="john@doe.com"
    - M6 |* u+ L) P# s6 o- h" Z* l( l

  830. + C3 q! L, z2 m$ K( q6 y
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
      A( s; M+ y3 j6 y+ A. ^
  832. ; http://php.net/user-agent5 H! Q- o9 Y( x- [' ~7 A1 s9 O" M
  833. ;user_agent="PHP"
    6 b' v8 Y1 ^; ?1 U3 l8 r" @
  834. ( U0 M2 o; V+ a* B% v3 |
  835. ; Default timeout for socket based streams (seconds). a0 }! S9 I- J3 Y# v0 g
  836. ; http://php.net/default-socket-timeout& _% [4 q# f+ ?' l) x) _
  837. default_socket_timeout = 60
    , g7 x9 j& @% h$ }+ ]7 q0 C
  838. & _& N5 |. w3 k
  839. ; If your scripts have to deal with files from Macintosh systems,
    $ L3 r4 s& C1 j0 s" P/ M# N) A+ i
  840. ; or you are running on a Mac and need to deal with files from
    ( `) H& E4 D1 U" T
  841. ; unix or win32 systems, setting this flag will cause PHP to( V+ G. U$ L- b
  842. ; automatically detect the EOL character in those files so that" E# k7 P0 x8 p: `  ^, n- z; s9 V
  843. ; fgets() and file() will work regardless of the source of the file.. G. X. i2 `, r0 p! h5 h. R, X
  844. ; http://php.net/auto-detect-line-endings% q' P& n5 V' x4 ?, e4 s! \; z
  845. ;auto_detect_line_endings = Off% d/ |0 a% O! q; M( v: m
  846. # f' E4 a- c& b/ s7 E7 K1 r, W
  847. ;;;;;;;;;;;;;;;;;;;;;;1 ~3 E( U4 {0 F
  848. ; Dynamic Extensions ;" ?6 g- S/ {% P: O
  849. ;;;;;;;;;;;;;;;;;;;;;;
    : ?* Y& K# O% P

  850. 9 L5 o: l8 }& T% W9 C) l# M
  851. ; If you wish to have an extension loaded automatically, use the following! {8 r+ R: _$ e/ J
  852. ; syntax:5 U% ]- Y2 y: z& F/ x$ c
  853. ;
    : @% i/ ?! X" {: P6 A$ _
  854. ;   extension=modulename.extension
    * g  m% a$ |" d4 C6 B4 O; P
  855. ;* d& j  a- p1 K' \& i2 C
  856. ; For example, on Windows:0 f/ k0 }3 [, b8 p
  857. ;
    ' \5 u1 I, d5 G+ C
  858. ;   extension=msql.dll6 b* ?, _# k/ R* c$ y& Z
  859. ;6 {/ V' T  i- i4 H  F
  860. ; ... or under UNIX:0 `, t# ^$ _+ I& \! M6 N8 G0 }6 `  e7 U# Q
  861. ;
    5 [- }, G# N2 o7 h% z: _( Q: ~
  862. ;   extension=msql.so- P) ]" _5 a" S+ g2 x8 {  f) L4 d
  863. ;4 {3 ]; G) f8 q! ?- u
  864. ; ... or with a path:
    - z9 a* K0 i4 n: o( P4 `+ v! d% e6 ?0 c
  865. ;
    ) m- J9 E5 q' Y; W# _( B% J
  866. ;   extension=/path/to/extension/msql.so
    0 g. d3 k# N4 l
  867. ;  x" j% y: \7 s+ P8 h+ X3 P
  868. ; If you only provide the name of the extension, PHP will look for it in its1 ^: l! c8 @' J
  869. ; default extension directory.. u3 C6 W, {* f7 k" k% @7 S( ~5 u# k
  870. ;
    # V, k. T" B3 [; d$ e
  871. ; Windows Extensions
    ( O6 t  y4 s" ^  s1 V
  872. ; Note that ODBC support is built in, so no dll is needed for it.0 u9 u+ k% l9 @1 v
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    ; i7 Z% w% m" I( m/ y5 g
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
      Q* I: }6 T8 P+ C. _
  875. ; Be sure to appropriately set the extension_dir directive.
    : ^# ~' G3 D3 o
  876. ;( P0 v! w6 F1 ~) j8 t: b9 Y5 c
  877. ;extension=php_bz2.dll
    ; |8 _7 Q% T$ s5 k5 V; T" K
  878. ;extension=php_curl.dll
    & i& }  l7 W( p! A% i# I/ r- ~
  879. ;extension=php_fileinfo.dll
    * E  G# Q2 C' x9 u
  880. ;extension=php_ftp.dll
    8 H8 \  _- x: q/ Z% m
  881. ;extension=php_gd2.dll! m* c* p+ u1 {  ^6 n* V$ ?
  882. ;extension=php_gettext.dll1 m0 e+ a$ s" o0 K. p3 O, D
  883. ;extension=php_gmp.dll( ^% k# I- b9 l  W3 Q% T4 x5 a
  884. ;extension=php_intl.dll
    8 n# D/ v/ e' B* u) \6 y4 s4 M
  885. ;extension=php_imap.dll
    ( h/ r9 I$ T4 _# r' ^
  886. ;extension=php_interbase.dll  m/ y& ?8 \- t% ^  W: T
  887. ;extension=php_ldap.dll1 P3 P8 P6 @. L5 _' s# n& p
  888. ;extension=php_mbstring.dll
    3 h2 c0 G" ~* r$ I
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it$ Q5 x; d3 L1 z2 S% ^% R* _
  890. ;extension=php_mysqli.dll8 l# F( J" t! V+ j( W$ q
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    5 O/ i# B) f& d5 I
  892. ;extension=php_openssl.dll
    + ]- ^5 r; d- e  y
  893. ;extension=php_pdo_firebird.dll
    * C2 T; K) ?  J8 _
  894. ;extension=php_pdo_mysql.dll6 X- {& M2 k% e4 T: [$ V
  895. ;extension=php_pdo_oci.dll
    ) l0 C8 [, @/ W+ _
  896. ;extension=php_pdo_odbc.dll8 i% F9 r7 o' D3 [3 X) ^
  897. ;extension=php_pdo_pgsql.dll
    8 r' w6 a5 C. s! w4 p! J
  898. ;extension=php_pdo_sqlite.dll! o" j* }+ X! z  g- o+ d- {
  899. ;extension=php_pgsql.dll
    , i* t; j* e* m  p1 @( b7 S4 r
  900. ;extension=php_shmop.dll* j$ j% ?; |! B. F
  901. ( f: d8 n# T" o7 x3 S+ S) P
  902. ; The MIBS data available in the PHP distribution must be installed.
    4 F( g; V; k; F9 T7 Z
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    , [$ E1 b9 I7 F) X3 o8 {
  904. ;extension=php_snmp.dll
    ( a* J. Y$ m* h' `4 D; ]
  905. & h( M9 C; G: _' @  X0 b7 m
  906. ;extension=php_soap.dll; U/ w+ U! r5 |: W9 v
  907. ;extension=php_sockets.dll- \9 t' G8 {; s6 `  H
  908. ;extension=php_sqlite3.dll
    ! H& ^7 e' F3 A) q% u( }
  909. ;extension=php_tidy.dll) j: L/ h' c2 O
  910. ;extension=php_xmlrpc.dll; O. \& b5 a. }
  911. ;extension=php_xsl.dll7 l# g( q& L( ^/ o

  912. $ l1 O& d0 ?: Z, \% x+ n. @
  913. ;;;;;;;;;;;;;;;;;;;6 R; m- }/ [8 ]3 k, X
  914. ; Module Settings ;- r! g) `( H/ ^  D; K8 Z) A
  915. ;;;;;;;;;;;;;;;;;;;
    9 V1 p0 P- f( I8 A
  916. . V+ L# C) n, Y" R2 F+ X
  917. [CLI Server], ^4 P: {4 p  T- S9 R! O6 k
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.1 W3 V2 K, M+ x- T9 g& B% Z  g+ `
  919. cli_server.color = On
    # x5 d* `6 s. f2 M/ u, o' ]

  920. " b3 Z6 ]3 J, A. R2 I9 U0 x' e
  921. [Date]
    : O2 O  w" L: }% _' k, D! H
  922. ; Defines the default timezone used by the date functions
    . I5 U3 U/ e- _0 t3 q% b
  923. ; http://php.net/date.timezone, ~% ?, K) i1 W- L: w* o# N
  924. date.timezone = PRC
    . B& c5 y3 K1 Z
  925. " _/ `% c8 q+ c+ C' q
  926. ; http://php.net/date.default-latitude" H' L" R$ `. {8 [8 d: l
  927. ;date.default_latitude = 31.7667
    ; g. A1 W7 W6 Z" l2 _6 @

  928. 6 j/ I, b7 `+ b
  929. ; http://php.net/date.default-longitude- e: Z7 a7 f% i, t
  930. ;date.default_longitude = 35.2333& Z& V! l4 g2 r3 Y8 q" {; U; x& ^
  931. - r3 K8 L! R$ G  `8 d+ H
  932. ; http://php.net/date.sunrise-zenith0 K) y7 V7 s! A! Q! S# `6 _
  933. ;date.sunrise_zenith = 90.583333
    " t; ?* O) V- ]+ q

  934. ' i/ `4 q3 s  |) y
  935. ; http://php.net/date.sunset-zenith- Y1 }" D4 i4 j
  936. ;date.sunset_zenith = 90.5833338 x/ t/ ?- x4 E' W) R! U. V4 y. l
  937. - K8 S; U% `7 P+ f4 Z9 j
  938. [filter]. N8 C7 D7 y+ H+ x' K, C! U
  939. ; http://php.net/filter.default
    5 p, g  k' r  `. P
  940. ;filter.default = unsafe_raw
    " R/ |) |- `- a5 V

  941. ( _* p/ P7 l5 b& Z4 w) X# q6 `
  942. ; http://php.net/filter.default-flags2 h/ {1 n/ n! o! w- h
  943. ;filter.default_flags =
    / [- p- h( P/ q5 Y: y
  944. ) l( E, _* E# y6 @/ ^8 s
  945. [iconv]
    2 s- Y, `. ^( f+ X
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.5 S' N. y% Y  @8 ~& f. R
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    , S( `+ W+ X& N5 U9 k
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding, v5 j+ {; H) z9 e/ I
  949. ;iconv.input_encoding =
    2 y- R. l% }% k
  950. + B- ?" U. H. e! V
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.! [" L7 X. }% a  {0 e4 J  N
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    0 G0 P3 C/ W8 G- a: x
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    " g* O8 z% b* E# |" z5 B9 r9 N
  954. ;iconv.internal_encoding =# e  G' t, x; O. g

  955. # m! u6 S, R0 ~9 y9 V3 ~5 w" n
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.0 w" o# X* \6 N5 w: Q" M
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ; L4 ]" ^4 ~8 b, H
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding) l0 E: h1 A- E
  959. ; To use an output encoding conversion, iconv's output handler must be set
    ( X' x2 j/ D1 n$ t/ W; g
  960. ; otherwise output encoding conversion cannot be performed.4 Y9 o$ ^; T- C  q% ]  u. ~
  961. ;iconv.output_encoding =& B. l$ m5 V$ ~2 B6 v

  962. ) a) o; {) x1 Z) p, z( i$ a! O
  963. [intl]
    " c4 x; t% P3 ]3 ?; M) h
  964. ;intl.default_locale =
    ( {' ]7 c) j( t$ Q
  965. ; This directive allows you to produce PHP errors when some error/ _% c' X6 S1 v! J
  966. ; happens within intl functions. The value is the level of the error produced.
    / C  K/ j  R1 J% K2 W" C
  967. ; Default is 0, which does not produce any errors.8 i. J* |- c9 j& \0 L$ C
  968. ;intl.error_level = E_WARNING
    0 T# r0 d6 [" {0 u1 N+ k* `- q2 Y& z
  969. ;intl.use_exceptions = 0
    7 Y9 ^+ D/ S9 c" Y3 y' K3 f
  970. 4 e5 `% W5 X7 Y& q6 ]9 r6 e
  971. [sqlite3]
    5 a* S) Y5 t0 d  r# P  N- \
  972. ;sqlite3.extension_dir =
    0 q4 A; {: `0 `9 u; A1 z1 @

  973. ; t5 X7 d4 F$ C3 \3 [' X" ?
  974. [Pcre]
    ( x# Q0 T; j% M
  975. ;PCRE library backtracking limit.  |0 }( P$ I6 B8 @
  976. ; http://php.net/pcre.backtrack-limit( V( E3 f1 u. G- d
  977. ;pcre.backtrack_limit=100000
    ' ?6 r* W' H* e" _; G/ [
  978. & A2 w2 k( b  Q% ~, H
  979. ;PCRE library recursion limit.
    4 R" x4 E. w8 i. n: g
  980. ;Please note that if you set this value to a high number you may consume all; [6 `) ^  v) v. K" N  I
  981. ;the available process stack and eventually crash PHP (due to reaching the. A0 H+ C! X% ^; I( p+ h
  982. ;stack size limit imposed by the Operating System).
    4 t/ `5 a: ?9 u
  983. ; http://php.net/pcre.recursion-limit
    # j, l1 T4 d3 @+ {
  984. ;pcre.recursion_limit=100000
    9 z. I6 N  S/ m1 D3 `
  985. 2 d* g* L! h2 V" e! y( R5 y
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    6 x) {" a" l, ?' P
  987. ;library to be compiled with JIT support.
    2 P7 P+ H/ G. c3 }/ P, h
  988. ;pcre.jit=18 {  P7 c$ {: d: K
  989. / B9 q" w9 K+ D! i5 R( B
  990. [Pdo]+ F! E1 {$ @/ n0 T
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"+ ]5 |3 Q1 x1 B( d* }, G
  992. ; http://php.net/pdo-odbc.connection-pooling' f' M- h& b- Z8 `( V
  993. ;pdo_odbc.connection_pooling=strict
    0 R9 [0 u8 V' ~' i
  994. 7 ^2 w" r% t0 e0 W8 H
  995. ;pdo_odbc.db2_instance_name/ _4 h9 B+ [9 B# j+ z

  996. & y" ^1 P6 H* F& q1 v
  997. [Pdo_mysql]. q" S4 I! v4 W# q3 \4 _
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache9 X5 v% j9 M) |: v- S, k: c7 v1 Y
  999. ; http://php.net/pdo_mysql.cache_size7 I" Q# y" c: `
  1000. pdo_mysql.cache_size = 2000
    $ f/ L( L" I. \! _
  1001. 3 A2 ]# x! O4 i! Z
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in$ d7 E0 U6 {7 Z$ c4 I
  1003. ; MySQL defaults.; E) e- P6 \/ y" n2 W, Z1 `
  1004. ; http://php.net/pdo_mysql.default-socket
    % [. K0 J8 {0 E5 a
  1005. pdo_mysql.default_socket=! k% ]% l$ A5 B. G6 v) E7 d
  1006. 4 }& U7 N) w) V6 t
  1007. [Phar]- k% ^  X6 U, Q" y
  1008. ; http://php.net/phar.readonly" H- G* @  y. @
  1009. ;phar.readonly = On" }' n9 Z9 I3 o' O. T! A$ b. y9 ?3 A
  1010. # I. p8 U# {0 a5 ~9 w) C9 n
  1011. ; http://php.net/phar.require-hash6 w8 P! h' x' _/ o
  1012. ;phar.require_hash = On+ @! q, ~( Z7 Y/ l
  1013. 8 k; t6 I7 d8 J0 u. ^
  1014. ;phar.cache_list =
    4 |: R8 S% @9 w) H+ ]
  1015. * T, c8 K. I) D% H& x8 z- q2 i
  1016. [mail function]
    ; q* l+ E" {7 n+ A0 Z& ~
  1017. ; For Win32 only.# N4 b: B% A4 Y" ]9 i4 g! Y
  1018. ; http://php.net/smtp
    7 B7 d" \2 `; s8 `# L
  1019. SMTP = localhost) }) H& Q+ K) k$ l) @5 Q2 y$ ~. O
  1020. ; http://php.net/smtp-port9 L) G6 E0 ^8 O$ M; M
  1021. smtp_port = 25
    5 `8 J' f& V' o8 t7 A- y
  1022. , K, V! t' ^2 }2 \* k
  1023. ; For Win32 only.
    $ p, y0 p- u- A4 t% y  B
  1024. ; http://php.net/sendmail-from
      u) p  D9 N) n& E
  1025. ;sendmail_from = me@example.com
    . Y) [$ O. J5 ]5 |7 N- h- g% e
  1026. ) b. M$ }7 c8 |. H8 g
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ) Q! o% ^7 ~) y. ]! u
  1028. ; http://php.net/sendmail-path
    $ W% I9 R9 U) N5 q" f2 G: V
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    ) O3 n6 p5 X5 c( M3 f5 O
  1030. - c6 l+ g% j" f
  1031. ; Force the addition of the specified parameters to be passed as extra parameters* s  ~# ?% n1 F5 [6 V/ C
  1032. ; to the sendmail binary. These parameters will always replace the value of
    - D0 W: Q! B% u3 M8 v4 }2 P& ~8 l* Z
  1033. ; the 5th parameter to mail().8 O$ Y9 ]$ a) n( \* N- s, _. V
  1034. ;mail.force_extra_parameters =
    * @; `3 p/ @, L/ B

  1035. 1 x( ?7 n- a! V& L" Z; r3 T0 z4 k
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename1 m+ ]' v" c) P: `5 f/ |
  1037. mail.add_x_header = On
    $ |$ L3 }' R- B, e

  1038. # V: O* n5 k: m" M
  1039. ; The path to a log file that will log all mail() calls. Log entries include1 Y# m* [, G( {$ K  @! i
  1040. ; the full path of the script, line number, To address and headers., B, _  f  ^( L2 Z0 j! H- q
  1041. ;mail.log =3 E% u& U" b* w
  1042. ; Log mail to syslog (Event Log on Windows).
    * S4 C. |* i' U9 Q
  1043. ;mail.log = syslog
    ) }2 @$ `6 T  l0 z6 F3 Q

  1044. ) F/ i8 [& G; |# n
  1045. [SQL]& _1 W% d4 I3 V
  1046. ; http://php.net/sql.safe-mode
    $ C! Z! \" U( i) E& m4 x+ _( i& ~
  1047. sql.safe_mode = Off7 d- ~( J3 [! F

  1048. 9 k( }5 m' w8 A# n+ \7 q9 V
  1049. [ODBC]' k7 ^) X" k, P0 y" Q
  1050. ; http://php.net/odbc.default-db$ R! O" W6 m8 M
  1051. ;odbc.default_db    =  Not yet implemented3 l  K- d2 n" k( X
  1052. 0 x. ?. k+ y! u7 s/ b" p# M
  1053. ; http://php.net/odbc.default-user8 ?# O( w2 X) f: p
  1054. ;odbc.default_user  =  Not yet implemented6 C* ?/ B. T; m6 b) E! Q# \# T

  1055. 2 T9 T5 _0 ^, ]+ L3 X$ N2 a
  1056. ; http://php.net/odbc.default-pw8 u* o! ]! [/ y
  1057. ;odbc.default_pw    =  Not yet implemented/ i; i- R* {/ T( q8 b
  1058. 2 t" z) w% F: M' r
  1059. ; Controls the ODBC cursor model.; s3 f3 B$ k# r% }
  1060. ; Default: SQL_CURSOR_STATIC (default).
    $ s4 }* ]' c; _: Y. E" ^. b
  1061. ;odbc.default_cursortype) ~7 M" e$ V, w. q- F

  1062. & @' _/ }, r: _4 v) z6 u8 H5 ]( d
  1063. ; Allow or prevent persistent links.
    & g9 [' N) W5 E$ i$ C9 Z5 h1 J
  1064. ; http://php.net/odbc.allow-persistent
    0 c1 b6 w; h1 s" \! W$ w' o
  1065. odbc.allow_persistent = On
    / _9 b7 G5 z3 o8 ~' s5 ^

  1066. 9 n: J2 _' @0 S: x6 Y# p
  1067. ; Check that a connection is still valid before reuse.
    ! U! W) E& r& h2 G- X: J/ u
  1068. ; http://php.net/odbc.check-persistent# P8 ]/ P8 z1 O$ K; n' \$ Q! C
  1069. odbc.check_persistent = On
    : O7 @# h8 C5 p  h1 F# _9 b
  1070. + P) U- h- K  A- w/ a
  1071. ; Maximum number of persistent links.  -1 means no limit.: a8 f9 h% g4 y- M, w
  1072. ; http://php.net/odbc.max-persistent: b7 N) B" \* E  m# E. e
  1073. odbc.max_persistent = -13 F" Z8 Y: _7 A0 ^

  1074. 7 R" W0 @6 l" r, e" P
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." u! A% O+ z7 C- |
  1076. ; http://php.net/odbc.max-links
    ' U+ m# p# d; J: Q! w, a& D$ e
  1077. odbc.max_links = -1: X2 K& s+ p' Z4 n% b# t

  1078. + [, r) a( _6 h+ b6 V/ F2 H/ ~: }
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means; I3 ?1 c% x  i% ]' Q* [, p( V, t
  1080. ; passthru.) V% Y- D3 R5 N# _6 W# U- q* k
  1081. ; http://php.net/odbc.defaultlrl
    5 ~* v# ^: J2 }6 c, p/ q4 c4 d' P
  1082. odbc.defaultlrl = 4096
    6 n4 g8 C, ]& k( J) ^! U* H

  1083. 8 h% d6 H) B  D; K* c6 P
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.2 Q2 b: ~* `. o; I. G& X! c( U( Q
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    " c: T0 E( {9 f
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode, ]" r( y2 d$ n' `: V& ^% r
  1087. ; http://php.net/odbc.defaultbinmode7 C# h; d$ |7 ~! E
  1088. odbc.defaultbinmode = 12 V: Y6 K, f8 ^. F; ^8 O

  1089. 8 w1 L  X  b4 \, }4 i
  1090. ;birdstep.max_links = -1, i0 C7 e- E4 a& h7 C

  1091. 7 o) E' J; T) _, B
  1092. [Interbase]
    4 P0 q; R) ~1 [  R* L! ~5 V2 k; m
  1093. ; Allow or prevent persistent links.  O5 Q" e+ i8 ~; e( P, d: B' W  l' z
  1094. ibase.allow_persistent = 1' a3 H' m9 G. X9 K
  1095. , s, F3 J. V4 m( A" Q" j# ?0 p( [
  1096. ; Maximum number of persistent links.  -1 means no limit.) t1 f2 v7 ^  o5 v7 b& \0 F( [
  1097. ibase.max_persistent = -16 \! W: m( D, Y3 f

  1098. 3 E6 U: h8 L/ g: z
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.$ h. }/ W2 J7 {# h- i( U1 B
  1100. ibase.max_links = -1* D; \% K* |; {; `1 |4 o* U
  1101. 2 \+ u8 S# J. t7 r6 [
  1102. ; Default database name for ibase_connect().' M: d! C1 I+ X& T, l' c
  1103. ;ibase.default_db =6 X7 f( U9 i; w/ w( G

  1104. $ g: b! |, j4 \: L. {7 K  `
  1105. ; Default username for ibase_connect().3 Q  O- i5 A# {+ A: a( k
  1106. ;ibase.default_user =/ _: U8 ]" A1 @1 G. ?6 m

  1107. * A: |8 h1 j5 I5 \# o3 ~- g
  1108. ; Default password for ibase_connect().
    4 x+ R1 }$ g0 v3 j. i' z. D
  1109. ;ibase.default_password =2 A! c9 y# X: Q, v3 V% T! g
  1110. / {0 Z6 H* ~1 M! u) ?. a
  1111. ; Default charset for ibase_connect().7 `) O  X+ I9 [
  1112. ;ibase.default_charset =$ c7 n% t! ?3 G
  1113. ) n2 R. ~) [5 [2 Y$ j$ R' L
  1114. ; Default timestamp format.. n8 P2 f+ W( i1 @  m
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"# d! }, Q* M9 t+ _: z. w0 p$ U

  1116. 5 I  d3 J% h9 O6 c
  1117. ; Default date format.
      ~& q7 Z# s( {5 M, c
  1118. ibase.dateformat = "%Y-%m-%d", D2 A- c2 h, I. h& H0 N
  1119. : X% ?' p! o" }- B6 Q  {1 b
  1120. ; Default time format.. \7 i8 K7 D8 O/ F* T) x3 @
  1121. ibase.timeformat = "%H:%M:%S"
    5 u0 D. B% k$ l0 _* D7 D) V2 b

  1122. . \7 h4 [7 h& c3 F
  1123. [MySQLi]
    1 A7 L9 B  a6 J$ y6 w

  1124. & o0 s4 {. I; n1 c" q% f2 s
  1125. ; Maximum number of persistent links.  -1 means no limit.
    " B! E0 r- z; E9 a5 R1 q1 s" i
  1126. ; http://php.net/mysqli.max-persistent4 J% }+ n- v# z6 k1 `0 M' Q
  1127. mysqli.max_persistent = -1
    8 Y8 G) n- |* k8 }; y. T
  1128. ( u) I; U# Q  A, k7 C8 {; i. y/ r& t5 E
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    # f, ]; d, F( Z3 e. Z+ U( ?
  1130. ; http://php.net/mysqli.allow_local_infile8 s, _! I9 A6 I2 G
  1131. ;mysqli.allow_local_infile = On
    0 I+ e1 T9 [) ?8 P, ?/ k; ]0 y

  1132. ; Q, h2 I7 s8 u' T) p/ Q/ ~
  1133. ; Allow or prevent persistent links.
    ! G% N; R& M* w6 G+ {1 K+ B
  1134. ; http://php.net/mysqli.allow-persistent# X9 t% c/ E+ p1 {: L/ U
  1135. mysqli.allow_persistent = On
    - V- d) v+ m* y  B

  1136. 8 O; G- |; _: P3 Q
  1137. ; Maximum number of links.  -1 means no limit.6 G% \+ A' m9 r
  1138. ; http://php.net/mysqli.max-links+ \% W" K& U2 t# v+ a6 P
  1139. mysqli.max_links = -1# \* J9 C2 E. {+ s! T2 G0 }
  1140. ; c- \6 K1 s! d. z5 X, T; Y$ S+ ~
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache1 F* X$ v0 Y0 }& \
  1142. ; http://php.net/mysqli.cache_size
    1 O! `  N( ~) ~* v: B  o
  1143. mysqli.cache_size = 2000
    , N2 n; F  v4 h, ~+ J

  1144. * y! q/ Y$ v( J) U! a' q: j
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use7 b3 f& h, N5 C; b$ ?, E6 \& v& ~+ C
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the$ z/ }0 E7 Q. f- G& H8 F2 ?. c
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ! z1 o. }, M% k/ K2 R
  1148. ; at MYSQL_PORT.6 l+ C+ l  [9 }; s; Y
  1149. ; http://php.net/mysqli.default-port
    ; b' P9 P$ ~; d* [
  1150. mysqli.default_port = 3306( S. l) S& \" v8 J, o
  1151. 8 E! p) J8 Q! Z5 v2 m
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in2 z0 E6 B/ ^6 [8 V
  1153. ; MySQL defaults.7 s. ]. h4 U7 s1 Y
  1154. ; http://php.net/mysqli.default-socket! ^& W, Y  o( y
  1155. mysqli.default_socket =$ k" J) ?" W- m& s0 f0 L
  1156. 6 S9 c, c! V# R' z( |7 Y! P
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    9 u' E  y) T- U  \
  1158. ; http://php.net/mysqli.default-host
    7 Y4 w# N- e/ _7 ~5 U% i- G) Y) [9 b0 x* f
  1159. mysqli.default_host =  [8 o$ @% w0 b- K/ Z
  1160. 6 F9 H6 J+ S0 W
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    . o8 H- |$ Z& U& K' i" m, N/ u
  1162. ; http://php.net/mysqli.default-user
    7 n' D; N& _0 o9 d+ @
  1163. mysqli.default_user =1 ]) ~: p8 s. o) y1 O, N

  1164. + s4 |: e! [0 l6 ^# P: B% k
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).9 W* f3 T- m% N7 ~. h; ]$ x$ B
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.( e+ P, _/ s+ a0 Y
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    7 M, Y# F+ Z$ B+ _' {
  1168. ; and reveal this password!  And of course, any users with read access to this3 t! Y9 n/ J2 I% p& q9 A( `
  1169. ; file will be able to reveal the password as well.- v' i& _9 l9 I2 G. b/ C8 a0 l
  1170. ; http://php.net/mysqli.default-pw; A; q: q( \& ~9 x
  1171. mysqli.default_pw =
    8 M) i9 d, m7 c: g- K1 f' x1 D/ h' e

  1172. , s" g( U9 \% i4 i9 ^! J) B% W3 X
  1173. ; Allow or prevent reconnect; `+ B6 v/ i; G0 B
  1174. mysqli.reconnect = Off' ]* c5 |. d: C6 I5 [# U2 Q

  1175. 7 N5 y, Y$ \+ E, D
  1176. [mysqlnd]" Y; W2 E5 g. V) `$ M9 t
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    & l4 e0 O; H$ g& A+ W( F  B9 `
  1178. ; used to tune and monitor MySQL operations.
    % k% b* F7 k& {
  1179. ; http://php.net/mysqlnd.collect_statistics: [$ g0 B, y) P8 u* _, S
  1180. mysqlnd.collect_statistics = On
    8 S6 o0 g- p. A4 T

  1181. : z" m7 p9 H* L, p
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    : k) N2 j$ M9 z& ~8 A( p2 x
  1183. ; used to tune and monitor MySQL operations.
    * A/ `/ S" E3 }
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    ' h: R8 L3 b! q# ~  t! u$ C- b8 ?
  1185. mysqlnd.collect_memory_statistics = Off
    9 d: e9 E) [' s1 Z  j7 q: ^
  1186. 1 Y, \2 ~# f. Z" W, }7 w6 K6 i
  1187. ; Records communication from all extensions using mysqlnd to the specified log# z" E/ p: q5 L- w; m4 R, \
  1188. ; file.
    ' H5 k& C7 C, e8 ~
  1189. ; http://php.net/mysqlnd.debug
    ! ?( g, @) x. @3 c3 h& S* C7 F) t( n
  1190. ;mysqlnd.debug =1 e4 {& F7 C( [/ E, ]6 F
  1191. 7 U7 N, C) B7 R4 A
  1192. ; Defines which queries will be logged.! X4 p+ l3 t$ Z, D% S
  1193. ; http://php.net/mysqlnd.log_mask
    6 t2 ]- {) [" [& Q
  1194. ;mysqlnd.log_mask = 0& e: v+ T6 ?9 M# Y
  1195. 8 r- D$ A/ I9 m' p' h, |
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.% ^8 a0 }9 g* a3 y  G( \' p- A
  1197. ; http://php.net/mysqlnd.mempool_default_size
    - }$ A1 ?" {/ J+ C, q3 M. |( E
  1198. ;mysqlnd.mempool_default_size = 16000( F$ @' D6 M2 ]$ R

  1199. ( h% k  h+ E' A& M6 S& z* C
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ) {% m1 N) o4 ^
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size, o3 K, m' d, z7 f# q5 A& F8 w
  1202. ;mysqlnd.net_cmd_buffer_size = 2048, l& q% Z& }3 [: h

  1203. 1 z, X* _% g+ U0 i# E
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in; c9 u2 d& D' W/ |( \. ?
  1205. ; bytes.- l, H2 Z/ K7 j/ ^7 X! L' ~# B" P
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    ' S. W4 E; l5 k* ]% i6 q
  1207. ;mysqlnd.net_read_buffer_size = 32768
      |4 r4 e" j  x2 |$ d' ?" F
  1208. / `  ^" b- g! z
  1209. ; Timeout for network requests in seconds.; H0 m( L. V6 [& x  ]. w5 p
  1210. ; http://php.net/mysqlnd.net_read_timeout
    ; N  l4 S  a; K! Q
  1211. ;mysqlnd.net_read_timeout = 31536000
    8 g$ ], u: B) P+ U

  1212. 8 B6 X( S& R+ v; r; w$ o
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    6 P7 v* u) @, {' A& o
  1214. ; key.
    2 ]2 t+ \" l% z
  1215. ; http://php.net/mysqlnd.sha256_server_public_key  h6 y. q, i6 _. x  c
  1216. ;mysqlnd.sha256_server_public_key =
    7 ?0 t6 \& M* f. k

  1217. * h$ S# W  d- y; H( Z' h- g
  1218. [OCI8]/ @  A% _' E$ S2 [
  1219. ! R% v. ~, [' I, w
  1220. ; Connection: Enables privileged connections using external
    7 x" Q. [1 u  y8 C/ O* d
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA). s' L3 Y' C# Z! ?* G% d  M9 ?
  1222. ; http://php.net/oci8.privileged-connect
    5 p4 B' v/ m4 t3 K2 D+ r
  1223. ;oci8.privileged_connect = Off
    7 Z7 v! |- M+ R  S7 y3 y2 s

  1224. 0 P. L% \( \0 q
  1225. ; Connection: The maximum number of persistent OCI8 connections per) S2 m; |# A4 E& a, f: B' W% V
  1226. ; process. Using -1 means no limit.
    2 _/ b7 W# C; U5 L
  1227. ; http://php.net/oci8.max-persistent
    0 k! J" Z3 w, @% \) H6 a, A, }
  1228. ;oci8.max_persistent = -1
    ) I  I0 q2 a2 u! C5 Q6 X

  1229. # j- o" H7 q$ r+ S! j
  1230. ; Connection: The maximum number of seconds a process is allowed to$ v/ P+ w7 z1 P9 c& f/ ^& A
  1231. ; maintain an idle persistent connection. Using -1 means idle3 l" F" U: l% m% {, `% `) L& ]& U6 S
  1232. ; persistent connections will be maintained forever., I% P. u& Z5 z1 n( H- ?. [9 z
  1233. ; http://php.net/oci8.persistent-timeout6 w  }* s2 n/ F$ L! f- d
  1234. ;oci8.persistent_timeout = -1
    + o- E& Y( p  k) p
  1235. 7 b" ^3 ?" E" [( a4 A$ j/ V
  1236. ; Connection: The number of seconds that must pass before issuing a
    / i. v, T7 z, J% A; M
  1237. ; ping during oci_pconnect() to check the connection validity. When3 r, v  x' M5 v7 `
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
      W, b+ k* g7 {( q4 |  _
  1239. ; pings completely.' w% Q2 y4 c8 T! _$ F: [
  1240. ; http://php.net/oci8.ping-interval
    6 }5 }6 ?6 C2 I- E1 `+ j: X
  1241. ;oci8.ping_interval = 60, e1 b0 N3 m) ~5 q& e! M

  1242. & k  S7 g; |4 c" n( f# k3 D
  1243. ; Connection: Set this to a user chosen connection class to be used9 \& V% c  g8 M3 \0 I& X
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    4 w( l; W4 B5 S
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ; r+ z5 R! q3 z! r4 K& S
  1246. ; the same string for all web servers running the same application,
    ! g/ C) I; R. z$ W) {
  1247. ; the database pool must be configured, and the connection string must) V% R1 o- j2 ?: r- r; q
  1248. ; specify to use a pooled server.
    # V. N. S0 S- @: f
  1249. ;oci8.connection_class =
    % z3 l3 K- D1 s# K5 t7 r' u
  1250. 3 j4 F9 ]) j# y' y/ j7 Y4 w5 ?1 W. h
  1251. ; High Availability: Using On lets PHP receive Fast Application& |( J) z% s& `
  1252. ; Notification (FAN) events generated when a database node fails. The/ z; J- D: f) P, g& y& p
  1253. ; database must also be configured to post FAN events.% X* {' h1 u$ R
  1254. ;oci8.events = Off
    % w- ~' ~7 }9 b% ]

  1255. 2 s9 Z  D- H( J8 I) Q% S
  1256. ; Tuning: This option enables statement caching, and specifies how, b" j7 U  E$ W1 b9 K( T! b2 Z2 v# v
  1257. ; many statements to cache. Using 0 disables statement caching.
    9 _( [: W, T* q
  1258. ; http://php.net/oci8.statement-cache-size- |" Z+ t1 _9 r+ g
  1259. ;oci8.statement_cache_size = 20
    5 X, e$ E- q8 t
  1260. 7 A6 W" i! t, k  }4 u
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    : H9 `) U! a/ c# Y3 h* g
  1262. ; rows that will be fetched automatically after statement execution.( ~- v( D( _: T- U
  1263. ; http://php.net/oci8.default-prefetch* X( e0 l; c0 |) q
  1264. ;oci8.default_prefetch = 1000 a# V8 U* b1 c' H4 E" p/ T. R
  1265. " C0 I7 w9 C  [$ k5 V- L" {6 i( z
  1266. ; Compatibility. Using On means oci_close() will not close
    # l! {3 B1 k. b7 g  N
  1267. ; oci_connect() and oci_new_connect() connections.0 c2 ?! m0 a1 P5 l  W1 k
  1268. ; http://php.net/oci8.old-oci-close-semantics
      }4 G3 d5 `4 |( a% |
  1269. ;oci8.old_oci_close_semantics = Off" X! \" C7 X& Y1 Y- B" w
  1270. 2 W6 S) E7 X7 d
  1271. [PostgreSQL]( }7 s4 A8 {8 d' K! B' x4 Q7 H1 o/ Z
  1272. ; Allow or prevent persistent links.
    # p( {& O7 o, i! e8 G( M
  1273. ; http://php.net/pgsql.allow-persistent# W* U  Q$ h3 g) K) ?0 M" y
  1274. pgsql.allow_persistent = On- _+ [& M3 r& R  P8 d+ j
  1275. 3 ^5 C8 Y4 i5 n) f* |0 b5 s
  1276. ; Detect broken persistent links always with pg_pconnect().
    ; }: q" E$ j# o5 J! g
  1277. ; Auto reset feature requires a little overheads.5 z+ d( x3 q( ?, p' B% Z
  1278. ; http://php.net/pgsql.auto-reset-persistent
    . _2 r6 ?$ e0 Z+ ?1 D9 i
  1279. pgsql.auto_reset_persistent = Off# h) \; Q0 u5 Y! e

  1280. 0 H0 b9 q" H) J+ P, b
  1281. ; Maximum number of persistent links.  -1 means no limit.  y* W; e; W& ]
  1282. ; http://php.net/pgsql.max-persistent
      |, l1 g. T# @
  1283. pgsql.max_persistent = -19 H/ R$ o3 \' v: b3 f
  1284. , P4 R5 n' R9 ?" H' @0 l* B
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    * w3 M' b+ F, r. \5 L5 B% @8 p
  1286. ; http://php.net/pgsql.max-links7 U( l# N1 X6 J* W: T. m: r
  1287. pgsql.max_links = -1! l5 Y: w5 e) ~  ?1 l

  1288. ) q* `! F+ q. s* K9 Y. ^4 p
  1289. ; Ignore PostgreSQL backends Notice message or not.$ X5 \5 M. W4 t: t2 N
  1290. ; Notice message logging require a little overheads.' P4 R/ A. M9 p) h
  1291. ; http://php.net/pgsql.ignore-notice6 c0 X3 M' X5 W# D" d
  1292. pgsql.ignore_notice = 0
    ; `/ F& L, P. k, t9 M# N  Q) N

  1293. 9 h: g& |5 U7 a" M  e) o3 `* D
  1294. ; Log PostgreSQL backends Notice message or not./ b5 j' c) g/ X6 c: x
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.* s  X3 C" h* l8 ^* s
  1296. ; http://php.net/pgsql.log-notice
    5 r' m' T9 I  A
  1297. pgsql.log_notice = 0' l- f& G* i  m* K  C4 K
  1298. ! r$ ^* Y* `$ J! ^# l; B
  1299. [bcmath]' N; h6 w; V6 B# F% \
  1300. ; Number of decimal digits for all bcmath functions.7 [' s2 d7 U" G! j# ^; g$ r
  1301. ; http://php.net/bcmath.scale& O; E% c1 _* r! H5 j0 U& C1 e
  1302. bcmath.scale = 0
    . [6 ?8 c  J# l. n

  1303. + ]# b( K9 O  i/ {8 H# g
  1304. [browscap]; y! X7 X5 ^& T* d4 Y3 g. I! C
  1305. ; http://php.net/browscap" x! f4 o' E+ `
  1306. ;browscap = extra/browscap.ini: _. s6 h3 d* b& G3 N$ {" b% M

  1307. " d. T# k9 J* Q3 P7 r
  1308. [Session]% S) _) A( Q; b# k  n
  1309. ; Handler used to store/retrieve data.
      T6 W- c6 K2 F0 b$ J; [4 m* {& `
  1310. ; http://php.net/session.save-handler1 s/ F5 J, R6 f, ?5 e! U
  1311. session.save_handler = files
    " ~$ D. j: Z  A# Q# T1 H
  1312. 0 l7 C9 t2 Z, L8 t
  1313. ; Argument passed to save_handler.  In the case of files, this is the path  T+ q- |; A0 y
  1314. ; where data files are stored. Note: Windows users have to change this  c' A8 a0 `5 `: }
  1315. ; variable in order to use PHP's session functions.2 T$ `2 C( {5 V. z
  1316. ;- t6 R. u- V- U( V
  1317. ; The path can be defined as:1 U7 S1 d4 u1 i# d4 S& R6 s) V& ^( v
  1318. ;
    ) O  n" D2 I) P' @" ~
  1319. ;     session.save_path = "N;/path"  c- x" H& l, Y6 b
  1320. ;9 x# o. ^$ i8 h+ j
  1321. ; where N is an integer.  Instead of storing all the session files in7 |- N% v& w; n. {3 U4 i
  1322. ; /path, what this will do is use subdirectories N-levels deep, and& A0 r" P1 q2 [% y
  1323. ; store the session data in those directories.  This is useful if6 u: l- [: b3 g1 v. l2 X
  1324. ; your OS has problems with many files in one directory, and is
    4 i: g' E8 q9 l
  1325. ; a more efficient layout for servers that handle many sessions.
    , t+ F5 c( m! J, D
  1326. ;1 k9 F6 f! n% I
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    " d" l2 w$ l2 H4 b2 Q' W. z1 I
  1328. ;         You can use the script in the ext/session dir for that purpose.
    9 Q/ x+ y7 _! p, A9 }
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    3 p  L- _) c5 Z
  1330. ;         use subdirectories for session storage" v5 f+ k3 Q% }4 p8 f9 F: _
  1331. ;
    1 y( `* f! A) T& V
  1332. ; The file storage module creates files using mode 600 by default.
    * @" j# [# v5 k$ J6 X
  1333. ; You can change that by using) ?& {/ v  q; T. T, H
  1334. ;
    ) H' T- m% `7 p3 d$ N! Q3 s- ^
  1335. ;     session.save_path = "N;MODE;/path"3 x. N" d$ ^" d; x
  1336. ;
    7 h8 ?; X2 T- x  u  _# Q3 k
  1337. ; where MODE is the octal representation of the mode. Note that this, a/ c! v% {! v
  1338. ; does not overwrite the process's umask.% X# v* l+ L" e( t
  1339. ; http://php.net/session.save-path
    " @1 e7 ?' R4 X' j
  1340. ;session.save_path = "/tmp"7 k- `! L) \& p; r: n, B

  1341.   ?7 |$ P, \! [* n0 W% O4 j) F
  1342. ; Whether to use strict session mode.
    & O4 s4 b# V3 h/ k3 A! g# @
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    ( L6 {+ o1 N& g7 x* y
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects% f2 W2 \# n: C6 l. Z+ g9 t/ }+ ~
  1345. ; applications from session fixation via session adoption vulnerability. It is
    4 U, Z2 k8 {! d3 O: O
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    & |4 z( l# \+ I5 S
  1347. ; https://wiki.php.net/rfc/strict_sessions( ~) T& n9 v! K, d/ R4 ^- b
  1348. session.use_strict_mode = 0' p+ w8 E5 p+ d4 I6 j1 Y

  1349. - M. T% q, j! ]" u4 D
  1350. ; Whether to use cookies.
    / n- }; l% r9 _; ~
  1351. ; http://php.net/session.use-cookies
    # b7 U# N2 ~, u: c2 q, {5 N- O# D
  1352. session.use_cookies = 19 r& f" \( z8 R3 h
  1353. 0 ^5 Z: L# R# C1 M1 e( s2 G; |  X2 k
  1354. ; http://php.net/session.cookie-secure! z. k3 R) u! v4 \! q  l
  1355. ;session.cookie_secure =' U$ t! D% `1 y" P! W4 k/ n
  1356. 8 s  k$ e) q" u* y, b
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    4 Y6 ?8 F% w% c! u0 f/ b7 Y# m* R% n6 P
  1358. ; the session id. We encourage this operation as it's very helpful in combating8 f( |( m$ l5 s. v2 @# k3 g
  1359. ; session hijacking when not specifying and managing your own session id. It is, m; k) t2 J7 G7 u
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    # \$ u: s9 K1 U- W
  1361. ; http://php.net/session.use-only-cookies: P' w; \2 ~# t
  1362. session.use_only_cookies = 1
      I& j1 x7 q+ L* B& x' s0 `6 n& M
  1363. 0 E0 R% }' z% I& S& c- i1 M
  1364. ; Name of the session (used as cookie name).7 p2 D2 X3 Q# S6 g- F
  1365. ; http://php.net/session.name- V3 Y& G" @$ k  ]9 J) W- d
  1366. session.name = PHPSESSID9 A" a( Y; l9 m4 P6 i
  1367. % E7 l% F' |" _: R0 A5 k. i# c
  1368. ; Initialize session on request startup.4 U, ^5 @9 y6 T+ ^& n
  1369. ; http://php.net/session.auto-start
    2 Z7 h$ Q$ a& d- B5 S
  1370. session.auto_start = 0: p8 s) q2 Q7 W; }! s5 J7 U# D
  1371. 9 c# i" v+ K7 Q- w" @; H" _: ?
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    4 I  a0 Z/ F4 y4 C& A( u
  1373. ; http://php.net/session.cookie-lifetime
    ! F) R! R) ^+ g, W& m* a
  1374. session.cookie_lifetime = 0
    ' @6 f5 ~( R) ~/ c( i4 {# F9 z2 W
  1375. 1 I% }7 h; g1 x# ~! |4 C
  1376. ; The path for which the cookie is valid.
    5 A( W5 l$ s( F) m
  1377. ; http://php.net/session.cookie-path3 [$ N  G0 |4 r8 h7 D) u
  1378. session.cookie_path = /, ?6 y/ F0 G. K9 {; {) s/ V; X
  1379. 1 ~' p! K+ y& F$ {7 i, D
  1380. ; The domain for which the cookie is valid.
    4 A+ f: g2 J7 C# L
  1381. ; http://php.net/session.cookie-domain; l% q( a# A' _3 u& p
  1382. session.cookie_domain =5 F7 U; p, p) J/ J: `
  1383. - M6 V5 I9 |* f8 B; J; n' r
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.) e, Q) p& W: a
  1385. ; http://php.net/session.cookie-httponly9 j6 n" q, I% p, m6 }5 o
  1386. session.cookie_httponly =4 F1 K: E6 {! @5 y2 [" e8 v! {
  1387. / I. W' Z& ]/ a& ?5 D" E+ X
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.- j4 u- N7 b/ G
  1389. ; http://php.net/session.serialize-handler
    1 x5 Z: ^0 T* D: I5 Y
  1390. session.serialize_handler = php
    ' _0 L5 {- ]2 [) M, J+ r
  1391. 1 o$ q: ^. ?+ U
  1392. ; Defines the probability that the 'garbage collection' process is started2 q* g" t0 n4 U% x$ f
  1393. ; on every session initialization. The probability is calculated by using0 O9 x7 v: Q' K9 D* i8 |& ^$ z$ S# b
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    0 y0 s% F/ k. r6 y
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 14 t% T& c$ \$ V: `1 f" N  k
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance- ]" L5 _! q0 o9 }5 v# W" a+ {
  1397. ; the gc will run on any give request.
    + T$ g! c, g! X: U9 \' x" @1 H
  1398. ; Default Value: 1
    ' D0 |; G% W; |! G9 R
  1399. ; Development Value: 1
    / b' O; ?8 i; l. f8 T  ~* o
  1400. ; Production Value: 1
    3 }8 S/ V+ t5 X- q
  1401. ; http://php.net/session.gc-probability+ d. b5 H  B- g- [
  1402. session.gc_probability = 1
    $ V: ]$ S2 U; k
  1403. ! o- V5 }- t% T$ m
  1404. ; Defines the probability that the 'garbage collection' process is started on every+ h% x( _/ ?$ i9 n1 l0 o9 }
  1405. ; session initialization. The probability is calculated by using the following equation:$ E- M4 N1 J1 l9 r" P
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and5 b% v6 G; G1 J& c( g  u8 D
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ' j6 \: G- f! O8 M' {
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
      X' D, {$ m7 @6 E
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    , ^) n7 k3 q/ V/ S" T
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    & n+ a2 E& A/ {" z, C1 }
  1411. ; this is a more efficient approach.
    & }: P) J" s0 t) _5 I" p
  1412. ; Default Value: 100
    " \( x& l7 p& U
  1413. ; Development Value: 1000! q$ Y1 J& ~! Z
  1414. ; Production Value: 10009 j+ k2 Y" s0 q+ l5 {7 E9 D
  1415. ; http://php.net/session.gc-divisor
    ( N) F" x& z8 ~( a+ w, q9 W1 H
  1416. session.gc_divisor = 1000/ F  O4 S. ^7 P6 ?1 d) e* F

  1417. ! q8 q2 J, a# I7 Z2 F& C
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    + h( G+ _4 O2 T! Q! Y. I
  1419. ; cleaned up by the garbage collection process.3 R( B) M! {8 o. W2 k9 t6 [
  1420. ; http://php.net/session.gc-maxlifetime; o) N! K: N( k( `3 n) f. q
  1421. session.gc_maxlifetime = 1440
    ) Y9 v7 c5 V4 S9 N
  1422. 7 X3 k) x1 c5 R5 l' P
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    : d4 @6 X3 J2 F; p9 R$ _8 V
  1424. ;       (see session.save_path above), then garbage collection does *not*
    # i# ~4 d. z, n: K
  1425. ;       happen automatically.  You will need to do your own garbage# a: a5 K. [* [1 m! s, J. t
  1426. ;       collection through a shell script, cron entry, or some other method.7 u! S* W8 _4 {: J/ n" [! _
  1427. ;       For example, the following script would is the equivalent of
    7 K# ^" i) [/ x- W9 K& K
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    1 l& _- A1 ]$ ]: H- I
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm( M- K/ m: K/ S
  1430. ; S0 U2 ^5 B9 Q  N
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids." R0 D. g9 _% h. {! Z) C' i
  1432. ; HTTP_REFERER has to contain this substring for the session to be% \1 @# E) q1 z2 X( ]
  1433. ; considered as valid.
    # u; \9 n4 q3 t
  1434. ; http://php.net/session.referer-check/ G4 \! q0 o6 Q) @
  1435. session.referer_check =
    ) \; I6 V# X4 C/ J" W; R
  1436. ; u! ?& I$ b$ i$ ~+ k
  1437. ; How many bytes to read from the file.
    # m# ]2 L  m, ^; V
  1438. ; http://php.net/session.entropy-length# n# k8 o4 _$ D
  1439. ;session.entropy_length = 32/ W  f* t% j) W2 d" X& T, W

  1440. . c$ l* _" x% u5 T1 U
  1441. ; Specified here to create the session id.
    1 i" Z$ E4 X5 r/ o: w3 A6 N- Q% e4 ~
  1442. ; http://php.net/session.entropy-file
    - S( a) ?7 u0 |
  1443. ; Defaults to /dev/urandom
    6 O3 G' T7 R3 a
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    8 ^4 ]% K' |$ B7 @+ S" t0 g
  1445. ; If neither are found at compile time, the default is no entropy file.7 B2 w* g: x% z5 F
  1446. ; On windows, setting the entropy_length setting will activate the- Q; r2 J8 w/ x* O4 Y3 b0 [! O% ]
  1447. ; Windows random source (using the CryptoAPI); X# h! E- S, J4 l; l
  1448. ;session.entropy_file = /dev/urandom  [" P$ C! G; n" ]5 |. a

  1449.   a0 z" b% v$ O7 a. c
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    / q8 _1 A2 r* c$ m5 R# u8 n% ~# D3 F
  1451. ; or leave this empty to avoid sending anti-caching headers.! _& P& D: m" O$ [
  1452. ; http://php.net/session.cache-limiter8 c1 [4 L4 z4 O. Y% _
  1453. session.cache_limiter = nocache
      }" p! E: c6 S" K4 T: D
  1454. ! @: G  t0 j% M2 o+ x. j. D
  1455. ; Document expires after n minutes.3 F2 o; v4 h6 {
  1456. ; http://php.net/session.cache-expire
    : S9 t8 _, ^' t# Z% U5 q4 d
  1457. session.cache_expire = 180
    " S7 d# @3 ?2 M" G7 I
  1458. $ Z/ x& b( c/ g: e- s- Y
  1459. ; trans sid support is disabled by default.
    / {& ^% y  f3 I0 B
  1460. ; Use of trans sid may risk your users' security.
    7 B' p  z, x+ D9 B) f: D4 z
  1461. ; Use this option with caution.
    # v8 k4 r; q% T: ~2 J
  1462. ; - User may send URL contains active session ID* I: t. i& y& @# H+ U% ^! K
  1463. ;   to other person via. email/irc/etc.8 Q0 x; \# p$ `. l
  1464. ; - URL that contains active session ID may be stored& \9 c8 k6 h- |% P9 B
  1465. ;   in publicly accessible computer.
    / G- k  R# q3 M2 W7 h- S* a# z
  1466. ; - User may access your site with the same session ID
    6 w0 |4 y1 P6 S1 n, J" Q) ^
  1467. ;   always using URL stored in browser's history or bookmarks.9 r/ t0 }* N. z
  1468. ; http://php.net/session.use-trans-sid) q* @8 D; w9 m( F0 `, \
  1469. session.use_trans_sid = 0: ~: p1 O; V+ J6 X6 x7 l9 s0 J

  1470. & F. D9 ?$ b/ |5 C
  1471. ; Select a hash function for use in generating session ids.
    * _7 f/ F2 t4 B: W$ X
  1472. ; Possible Values% i+ L) x9 P0 @) @7 n0 z
  1473. ;   0  (MD5 128 bits): E+ e% J  v; L6 |  v/ j: E
  1474. ;   1  (SHA-1 160 bits), q; a) V1 [+ J" \$ t+ ]
  1475. ; This option may also be set to the name of any hash function supported by
    3 E3 u* s8 E- V9 H  V/ Y$ C
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    / D4 u4 P) W" I* J4 s
  1477. ; function.3 X; ?/ S" ^9 h5 V" O3 e
  1478. ; http://php.net/session.hash-function, r- Q9 q5 `; C; ^1 d
  1479. session.hash_function = 0
    4 i( ~7 p: ^* k

  1480. + t! `- S2 A2 A9 y
  1481. ; Define how many bits are stored in each character when converting
    $ Z) d* c8 b6 p7 M9 f1 n
  1482. ; the binary hash data to something readable.
    0 ]4 e  {' w9 c6 s7 q2 c# k: X$ J; k
  1483. ; Possible values:% ^$ |. M$ N6 T9 ^$ b
  1484. ;   4  (4 bits: 0-9, a-f)
    % d+ |/ }* m& k+ Q3 a
  1485. ;   5  (5 bits: 0-9, a-v)
    - m# p2 ?7 y/ [9 ~* }6 X
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ' |# O, a! h9 [+ `4 j
  1487. ; Default Value: 4
      ]4 T1 X" j- z/ t  I) }
  1488. ; Development Value: 5
    9 A: J2 n! @; D/ R
  1489. ; Production Value: 53 g! {$ Q# r1 P7 h& L
  1490. ; http://php.net/session.hash-bits-per-character) p& C+ ^" Q2 r" F! B( Q
  1491. session.hash_bits_per_character = 52 F9 _% A- h4 \) o& @: ~+ I
  1492. 7 ]3 l$ }- I) ^5 ^. u" ?
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.3 v7 @! F7 ?9 t6 V) T; A, \
  1494. ; form/fieldset are special; if you include them here, the rewriter will4 n  R: d, l5 |- k. f3 l1 W0 K  Y
  1495. ; add a hidden <input> field with the info which is otherwise appended
    % E" b( L' |3 \$ \
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    / [1 e& E2 C, c8 V
  1497. ; Note that all valid entries require a "=", even if no value follows.9 |8 k. |4 ^* m- a+ H% }
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="6 T" d/ ^1 L9 T. Y) p
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 E& I7 }( X2 C$ y
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; i# |2 J( k3 Z& k. w& c/ i
  1501. ; http://php.net/url-rewriter.tags
    6 b; Z- d, A. b3 I5 f; l' x' C. t
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry". w% }6 T4 p1 Q/ i! d
  1503. . D9 B# c  X5 w0 e! e
  1504. ; Enable upload progress tracking in $_SESSION
      u+ w7 W; Q  j; B
  1505. ; Default Value: On
    9 ^2 N3 m  }+ p! u
  1506. ; Development Value: On% q6 r; u, |9 ~
  1507. ; Production Value: On
    7 j8 l/ ~2 ^- @. k+ s/ O# T/ T
  1508. ; http://php.net/session.upload-progress.enabled
    0 e, G& f% f. \9 A
  1509. ;session.upload_progress.enabled = On" x! x" a4 v) J/ m
  1510. 4 F% x* V8 s+ X2 @' P  i
  1511. ; Cleanup the progress information as soon as all POST data has been read: _8 a4 i% f$ E
  1512. ; (i.e. upload completed)." q1 ?. F. E* @% e( ^
  1513. ; Default Value: On. ?4 w8 D2 p8 n% N; @
  1514. ; Development Value: On
    " r; z# M7 [- Z! u/ J; Q# M
  1515. ; Production Value: On  e, B+ o8 L8 l+ ~5 {) R8 w6 l
  1516. ; http://php.net/session.upload-progress.cleanup+ F; {& a, O0 Q5 z- [1 W6 g! A
  1517. ;session.upload_progress.cleanup = On
    ( e# W6 |4 K2 U- g& J
  1518. 7 a# W9 H& ~, F' P7 O
  1519. ; A prefix used for the upload progress key in $_SESSION; @  ]" p* ]! w# v
  1520. ; Default Value: "upload_progress_"" Y4 c, X' n- u: P, C
  1521. ; Development Value: "upload_progress_"
    - l1 p3 D/ B& _
  1522. ; Production Value: "upload_progress_"
    / h, }( T* z4 `$ c6 Y8 k
  1523. ; http://php.net/session.upload-progress.prefix( a* m& b& ?9 C- z% d5 ^
  1524. ;session.upload_progress.prefix = "upload_progress_"
    / W) M2 u5 a$ m# I& S6 k, _" R4 a( S
  1525. * q3 p0 h9 \( L( ?$ ?- q- F3 ^
  1526. ; The index name (concatenated with the prefix) in $_SESSION1 h5 R  E1 H  I( X2 t* j+ X
  1527. ; containing the upload progress information- T* d# V. u3 k' E
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ' f+ m' y1 x, W) J' J. q* s
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 d5 t5 b5 g) G- a( `9 N1 k
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 O( s9 A# M1 f' [0 J  L) ?7 o; k3 G
  1531. ; http://php.net/session.upload-progress.name
    * S) f* F+ \, C6 D9 y
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ! m# J2 r5 f! v( b& n

  1533. : x( ]6 }0 q/ j) ^
  1534. ; How frequently the upload progress should be updated.' W2 E# ^' Z( A6 T0 m: n% l+ t! _! `
  1535. ; Given either in percentages (per-file), or in bytes
    5 q" Y6 i* H' B2 g: L" W( {4 E+ q
  1536. ; Default Value: "1%"! y9 x/ R5 F$ x- U7 I
  1537. ; Development Value: "1%"' z: C; }8 z- _: j7 u. P
  1538. ; Production Value: "1%"
    0 y3 t" {# T& Z' t$ X1 V
  1539. ; http://php.net/session.upload-progress.freq8 |$ w! l5 V% H4 B- b+ u1 b4 F) o& l/ {
  1540. ;session.upload_progress.freq =  "1%". h7 w1 W$ [' S: r1 K: k
  1541. 2 \& p3 ^) Q# _) U: |
  1542. ; The minimum delay between updates, in seconds
    3 z/ r) x, d, \& [" }
  1543. ; Default Value: 1
    $ L& @5 J9 I" H- ^+ u: ~, S6 ~6 P
  1544. ; Development Value: 16 `- ]- e; ~% D
  1545. ; Production Value: 1
    ( Y+ s8 R0 s: k/ W7 M
  1546. ; http://php.net/session.upload-progress.min-freq
    5 l) N& O+ R% z3 t; ]' `
  1547. ;session.upload_progress.min_freq = "1"/ m8 I* U3 H& Q3 h

  1548. " I/ X% V; e0 m; |4 f4 U6 n
  1549. ; Only write session data when session data is changed. Enabled by default.' I$ y2 D: {: p, v% X
  1550. ; http://php.net/session.lazy-write2 Y  p9 a6 t% }$ z8 |+ R; L$ R9 E
  1551. ;session.lazy_write = On  F2 j/ o, H- W

  1552. 4 i) |: u& K3 E7 I* {
  1553. [Assertion]& r# L# u+ y# K
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time). A5 a8 Q" g. s. M" G
  1555. ; -1: Do not compile at all/ y5 c: I$ `. D7 X- N
  1556. ;  0: Jump over assertion at run-time0 D* q; K1 t# A2 I
  1557. ;  1: Execute assertions
    - L. ?) g, K6 H
  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)9 C* ~; H' q' l5 X
  1559. ; Default Value: 1! Q! ^% F! {" `$ i( H- K; }8 Y
  1560. ; Development Value: 1* I# b: ^" W' W- |+ J
  1561. ; Production Value: -1
    . R* _5 d; G' j: B4 h0 \  c4 T
  1562. ; http://php.net/zend.assertions
    2 o) E( a+ a. g0 z, ~3 T! a3 G' `! F
  1563. zend.assertions = -1
    / ~% A* z% k% V! v' K( r2 [3 c
  1564. 8 u/ W2 D, H0 P9 v" ^! U' F) c% ~
  1565. ; Assert(expr); active by default.! v; L% x; B3 Z" m$ v8 N
  1566. ; http://php.net/assert.active( q6 |" M2 T# f  ]% s9 \
  1567. ;assert.active = On1 J. R" x$ Y, Z, d5 F$ l  U, S" f

  1568. / |2 D. a4 \1 t; \; d
  1569. ; Throw an AssertationException on failed assertions, ^& Z% Q" b% }# e! m
  1570. ; http://php.net/assert.exception
    ( ?; z4 M: r' d. ]
  1571. ;assert.exception = On! _  [  Z5 c6 m+ A4 ], D

  1572. 2 j/ K* F" O# {, m; V
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    9 N9 A+ }) v, j6 Z& Z
  1574. ; http://php.net/assert.warning2 ^% Y$ m& ]  H/ u8 ?
  1575. ;assert.warning = On
    : ~  }& O/ z: u7 M7 n4 B

  1576. 3 }% @, s0 H* ?, `4 A
  1577. ; Don't bail out by default.
    2 G) a+ S" S. F" S- E) D) i
  1578. ; http://php.net/assert.bail
    : ?# O/ b2 d* E5 s
  1579. ;assert.bail = Off& }) \* p; s4 z5 Y
  1580. $ J2 u) G- R( Z$ z* `: o
  1581. ; User-function to be called if an assertion fails.8 i$ J4 V$ }) W. x" c6 ^0 S
  1582. ; http://php.net/assert.callback
    0 r% ]8 g% i3 A( F: \" ^
  1583. ;assert.callback = 0
    3 k: z1 c$ [# o* i  x" A

  1584. - f9 {. ?' k( e9 R" v
  1585. ; Eval the expression with current error_reporting().  Set to true if you want  z  F8 G8 x/ w
  1586. ; error_reporting(0) around the eval().
    1 s- b6 `' E/ P$ T
  1587. ; http://php.net/assert.quiet-eval
    % J& e' {6 z6 l& x5 D
  1588. ;assert.quiet_eval = 0- y- P- u3 ?6 P  a0 G

  1589. 2 S+ H9 V3 r+ h2 t8 R
  1590. [COM]
    ! F4 x$ s) v+ o
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    2 }9 s* T. P5 i; N# K+ R" L
  1592. ; http://php.net/com.typelib-file( M& z, e+ q7 m2 \9 V1 c
  1593. ;com.typelib_file =  C' O. h) w2 {+ v  V

  1594. 4 ~- c5 \8 Y. M! X; d. _
  1595. ; allow Distributed-COM calls, l  D. M( m3 Z: r! [
  1596. ; http://php.net/com.allow-dcom6 v! q4 u$ n4 \9 j# @+ E5 k
  1597. ;com.allow_dcom = true
    3 i4 M+ H/ m6 d. l1 H
  1598. # C( {$ c+ ]7 o
  1599. ; autoregister constants of a components typlib on com_load()
    2 \/ v. T+ \, d2 K% y
  1600. ; http://php.net/com.autoregister-typelib
    9 O  _- A* X+ R* R% Z0 t3 R$ ^& d
  1601. ;com.autoregister_typelib = true* }) l+ H5 G& h$ J" c  j
  1602. 9 l( ?) x5 Y* U  k" ^0 s
  1603. ; register constants casesensitive( o  g2 q+ E7 J8 |% Q
  1604. ; http://php.net/com.autoregister-casesensitive
    8 y( t' k( C& I9 A! u! P) ^
  1605. ;com.autoregister_casesensitive = false$ _8 ~" x" n+ X, q( n/ N

  1606. ( n! M0 ]0 v$ M( ~& K2 Q) H
  1607. ; show warnings on duplicate constant registrations
    / k  r1 s- i0 C& r; p' z
  1608. ; http://php.net/com.autoregister-verbose: E7 X5 s" Z* ?! o. O) S0 i  u( t
  1609. ;com.autoregister_verbose = true9 u: V( N  @9 {- ?# l

  1610. 7 D, r4 C' u5 T' c$ A2 M1 k6 Y8 R
  1611. ; The default character set code-page to use when passing strings to and from COM objects.+ f  j8 r  H3 h  j. h. k4 S
  1612. ; Default: system ANSI code page
    * E. U* H- X# b1 z8 z: P
  1613. ;com.code_page=4 ^' {7 e* ~+ d) Y

  1614. . ?: M  g& Y6 R: P4 ~. @# S5 c, I0 n% z
  1615. [mbstring]* V6 _( F; O/ H5 Z# O  \( U. _
  1616. ; language for internal character representation./ O4 C  |' B7 \9 ^, e8 D
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
      [+ g7 ?4 ~4 y5 _( K/ F
  1618. ; http://php.net/mbstring.language  M) P! ~) v8 Q, @$ x* I
  1619. ;mbstring.language = Japanese
    % |. F' L3 f5 }% _% ]

  1620. 7 F4 h5 H; Y0 }8 W
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.* }3 W" G2 y7 T# D. e( R: g
  1622. ; internal/script encoding.2 p/ E! `8 h, b8 S( Q5 F
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    6 Y; c# r* R3 W- t% p9 Q- p
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.' ]; Z4 ]% G5 ]- K$ E* h4 M$ l
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ) `/ @/ @1 o9 L& ]. H
  1626. ;mbstring.internal_encoding =" S+ A5 o2 d5 R: |* P
  1627. 2 m$ Z$ Y9 |' O  h' s
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.* K3 T8 B- a# \$ \$ K
  1629. ; http input encoding.
    , v  G1 F$ Q' g3 t' E- L
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.: `6 Y% r4 C# \4 {# ]. Y
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    8 X( Q- F+ D3 K0 N
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    $ _5 c* I) o* Z% Z' M) o- a% o
  1633. ; http://php.net/mbstring.http-input, |6 u( H. t* x: y  S5 i$ J& E
  1634. ;mbstring.http_input =
    % i' m, ~5 Z7 P" |" Q+ [

  1635. 2 F7 M5 F$ V0 U  l
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.2 E& n( m, n& {6 P, _# ?0 q6 k
  1637. ; http output encoding.( H5 w2 C/ Z" ~8 ?
  1638. ; mb_output_handler must be registered as output buffer to function.
    0 T7 b( B% ^. R9 C3 ]8 O; x
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.- W1 V3 L; ~! `( m7 B5 Z
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output9 k- x0 N" u8 f6 d6 D) o" ]
  1641. ; To use an output encoding conversion, mbstring's output handler must be set$ ^; \3 W4 W2 H+ Z) y
  1642. ; otherwise output encoding conversion cannot be performed.3 W: p0 t9 X% t' G
  1643. ; http://php.net/mbstring.http-output$ b# Q% _  {7 O% o6 s! k
  1644. ;mbstring.http_output =* }" [- e. k4 g" Y$ P" x2 H2 D

  1645. 2 O, |2 R6 i, b8 r
  1646. ; enable automatic encoding translation according to
    9 {$ @! C4 c$ w1 ^4 e/ N4 f
  1647. ; mbstring.internal_encoding setting. Input chars are
    % d8 R9 M( u% w+ O, l, f* |
  1648. ; converted to internal encoding by setting this to On.
    ) l; E2 I% q4 j* u. s+ A
  1649. ; Note: Do _not_ use automatic encoding translation for: l! _1 w/ B: U
  1650. ;       portable libs/applications.9 M( P/ Z! g9 h, y5 m
  1651. ; http://php.net/mbstring.encoding-translation) M1 i/ N% @6 ~2 ~4 W1 ?- S( o
  1652. ;mbstring.encoding_translation = Off1 e! Y: t, ^! e, I! Y- D' S
  1653. & R6 d! Q+ \) j
  1654. ; automatic encoding detection order.6 K9 h) r4 R- g' i0 k5 I2 g
  1655. ; "auto" detect order is changed according to mbstring.language% @1 c5 u" x! D" m# j, {
  1656. ; http://php.net/mbstring.detect-order+ @- h" Q$ J) `5 |- z
  1657. ;mbstring.detect_order = auto) V9 m. X+ h1 W% Q

  1658. 5 ~: d& P( ^6 M' @% d2 W" e
  1659. ; substitute_character used when character cannot be converted+ D. s" ?' g% T, }+ A, ^
  1660. ; one from another% \9 U; C6 E; d3 _. m2 J
  1661. ; http://php.net/mbstring.substitute-character& P  T& @5 H% ?0 C3 P! i
  1662. ;mbstring.substitute_character = none. V7 b7 F+ H0 Q) B8 Y* g% e( r  h# l
  1663. 3 V0 T$ s7 L$ X! c( P8 A4 n
  1664. ; overload(replace) single byte functions by mbstring functions.) u- k8 D4 j" X6 n  q( d
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ! d1 X* M( F- J$ J7 K8 `, }
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    4 p5 B- D# `$ v/ |  l
  1667. ; For example, 7 for overload everything.
    6 E! _9 l; X% F" S4 D# _; `
  1668. ; 0: No overload
    & I  d) m7 r0 W6 S3 \
  1669. ; 1: Overload mail() function
    3 n, B8 w: ~: f# Z. q; O: G+ {
  1670. ; 2: Overload str*() functions
    , `% H5 i0 @" H( ?$ E
  1671. ; 4: Overload ereg*() functions" D. |9 U: O) t% M
  1672. ; http://php.net/mbstring.func-overload( S8 l! v7 O4 X! w4 _$ G- F  Q
  1673. ;mbstring.func_overload = 0
    4 ?- F- ~' r! g% ?" B! W# z

  1674. 3 ^2 X% L. ~7 z/ D9 p' O
  1675. ; enable strict encoding detection.: @8 e7 F: i( Z. z8 o
  1676. ; Default: Off
    . R$ a4 F9 i6 Z5 C( K# N% ]9 r
  1677. ;mbstring.strict_detection = On
    ( i1 j8 w, M7 n/ P7 w

  1678. 4 d. H8 b' V; V' c1 l4 v: E5 A
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()( q# P6 @* b/ v( f! E' \
  1680. ; is activated.
    0 u5 I) U! \) K- V) {: d: R  T
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    2 U: _' S4 z4 ^0 U/ |
  1682. ;mbstring.http_output_conv_mimetype=
    / @! ?5 {7 Q. o$ T
  1683. ( k3 @+ g5 N2 P1 {
  1684. [gd]
    0 `# B+ B. C2 @+ M$ ?7 S
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    9 x0 v# N7 w( m5 j, c
  1686. ; a gd image. The warning will then be displayed as notices
    , }( q* M& u. e8 `2 J* M2 d& w
  1687. ; disabled by default
    7 P% N1 H8 @& H" p! E5 g
  1688. ; http://php.net/gd.jpeg-ignore-warning
    ( O% X1 I# K" N! V
  1689. ;gd.jpeg_ignore_warning = 0
    4 J" B) R- n* `0 b+ r7 [

  1690. 6 c: y# ?! t/ q- S: B  O
  1691. [exif]
    1 c, j- I5 k  E1 I3 u6 @$ `
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.( ], Y2 [  \# k+ }- F; @
  1693. ; With mbstring support this will automatically be converted into the encoding& k& _7 o! l- E
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ! A& V: s: N& d) F' i% {
  1695. ; is used. For the decode settings you can distinguish between motorola and
    - m% [6 U. j: V6 \2 C- f; M
  1696. ; intel byte order. A decode setting cannot be empty.  j+ u: m9 z7 |4 [% C- O5 r
  1697. ; http://php.net/exif.encode-unicode. i& E* l# J/ j, i- i+ \
  1698. ;exif.encode_unicode = ISO-8859-15- o- T  w* J7 t( [
  1699. " ^1 V( D# }  ^6 z3 Q& e7 ?
  1700. ; http://php.net/exif.decode-unicode-motorola
      D! ?( a0 ]& Q
  1701. ;exif.decode_unicode_motorola = UCS-2BE' }  Q1 g4 ^6 O/ Z

  1702.   x3 w0 Q0 m6 {" N2 I* U
  1703. ; http://php.net/exif.decode-unicode-intel
    ! V, |, J/ v. X1 R! j
  1704. ;exif.decode_unicode_intel    = UCS-2LE0 O; S# u8 d+ e& ^

  1705. " a. q4 B6 ~# I! @2 E
  1706. ; http://php.net/exif.encode-jis) m( N, `9 ~& ^: m# i+ M
  1707. ;exif.encode_jis =; C7 ~- O, ~7 a! @+ f8 h

  1708. * w" u( ?. b2 C4 G7 Z. X
  1709. ; http://php.net/exif.decode-jis-motorola
    ) \$ R- {% P2 q- T
  1710. ;exif.decode_jis_motorola = JIS
    % g% t; V: M0 Y9 @7 d1 b
  1711. 7 }# R: T1 Q5 {( E* Q
  1712. ; http://php.net/exif.decode-jis-intel
    3 [: Q! g9 V9 H6 X9 d
  1713. ;exif.decode_jis_intel    = JIS
    ! B( p9 q: c/ q8 h: P* s1 w
  1714. 5 L; H4 e4 T( p0 |9 f+ x# d
  1715. [Tidy]; E0 W. M" w% R
  1716. ; The path to a default tidy configuration file to use when using tidy) j7 c8 s, q. l2 I2 L
  1717. ; http://php.net/tidy.default-config
    - h, ^+ @+ _- e* d7 E1 L+ c) n
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    8 n+ ~+ x" J+ Z& |
  1719. 0 q* }- {" Y7 }6 ]( s
  1720. ; Should tidy clean and repair output automatically?- m! a' [; b  n) B- z
  1721. ; WARNING: Do not use this option if you are generating non-html content
    0 E; v7 d  M, `8 P/ J6 \4 b
  1722. ; such as dynamic images
    # C) Y' g0 P0 l9 {2 m
  1723. ; http://php.net/tidy.clean-output6 r1 t) i# r2 }8 U, p/ O1 N
  1724. tidy.clean_output = Off
    5 T  w& j) u- V  Z1 K

  1725. 4 c, G+ Y" \- T! w* ^
  1726. [soap]1 v  \) D$ m/ v3 n
  1727. ; Enables or disables WSDL caching feature.( i9 A+ ^" P! R) s% D
  1728. ; http://php.net/soap.wsdl-cache-enabled
    / H' j  F% a- N8 ^3 T  N; x- e
  1729. soap.wsdl_cache_enabled=1
    ( L; \# a: r4 s8 {5 t5 S

  1730. + {6 r1 H7 B2 q2 V! S: ~) g
  1731. ; Sets the directory name where SOAP extension will put cache files., h# M; ^, L  _# J, \
  1732. ; http://php.net/soap.wsdl-cache-dir8 g2 f+ i' I  }7 r
  1733. soap.wsdl_cache_dir="/tmp") q' {7 T9 G4 `! S

  1734.   b; A4 \( D' f* U3 g
  1735. ; (time to live) Sets the number of second while cached file will be used
    / n! C% d" N4 ]8 h9 ?
  1736. ; instead of original one.0 M4 \& }  ]# W: h' X, c
  1737. ; http://php.net/soap.wsdl-cache-ttl) c; U+ m" |$ A9 J7 y. F! I* L4 m/ q; f
  1738. soap.wsdl_cache_ttl=86400
    " o0 V- b" f* _4 @
  1739. 9 P. S  N+ D4 b7 t
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    - z' p7 ?; l) r/ k7 |
  1741. soap.wsdl_cache_limit = 52 ]: ?& l9 T4 E! `0 K

  1742. - o7 Z3 @2 f  q- X( r
  1743. [sysvshm]
    : C+ V+ W. b8 c( B6 H, V3 J; B
  1744. ; A default size of the shared memory segment) e" Y) }1 E- G/ n2 ~% b5 ]5 q
  1745. ;sysvshm.init_mem = 10000
    7 w% d) V% Z& H. P, z1 {
  1746. 7 L  Q) _5 L5 s+ P! B3 q: }
  1747. [ldap]2 ~- X7 P4 p7 g; h3 |! U& u* Y: i
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    2 w( x2 _5 k% J3 e* H& x; ?6 U
  1749. ldap.max_links = -19 j7 Y. Y" x2 T' [8 Q6 D
  1750. 8 T/ Y6 a0 z! x1 ?
  1751. [mcrypt]
    & h6 J$ B- |* ~* T; m* G9 o
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    2 i7 \9 X0 _+ \/ |# u6 n2 f7 v+ f
  1753. - h" P* Y" G& u& B3 y- Q$ f
  1754. ; Directory where to load mcrypt algorithms, d( P( F: f' k) Y8 G# j
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)2 i( V) ]$ t1 L: p: m5 Y2 z
  1756. ;mcrypt.algorithms_dir=
    4 L" S# A5 ^& D8 m+ x
  1757. . c7 p& N) M9 h9 Y$ a0 H
  1758. ; Directory where to load mcrypt modes
    . p( a* r8 S1 z- D' W% U. s  Q
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    2 }- D1 K" ?4 |
  1760. ;mcrypt.modes_dir=
    6 ^& V+ i  Y" L0 }
  1761. ) v1 `" m. d; E  x0 Y) M
  1762. [dba]6 o' n8 W* Y1 Q/ ?5 _! \
  1763. ;dba.default_handler=% \1 H2 g; R1 u; D6 E1 P1 w9 X

  1764. : `& o$ E8 P$ L  X  J' H; U
  1765. [opcache]
    & m$ w* O$ X1 D/ i
  1766. ; Determines if Zend OPCache is enabled
    * z( L7 h1 X0 ~5 X; j
  1767. ;opcache.enable=08 N8 W  N% P6 G' P$ X

  1768. 3 {% I, ]7 U3 W$ s
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    9 t* `) h, E9 R
  1770. ;opcache.enable_cli=0
    - e0 k; e" h" `; `9 |" M  U
  1771. + @4 @+ Q3 c3 y4 l; t: q, C3 B
  1772. ; The OPcache shared memory storage size.
    , b9 y8 i5 @) E( Q0 L4 l
  1773. ;opcache.memory_consumption=64
    1 ]/ o2 ^% l) E
  1774. ( T4 v5 Z+ b7 O
  1775. ; The amount of memory for interned strings in Mbytes.
    ' J% `/ V# v+ p( Q7 o& x9 O6 j
  1776. ;opcache.interned_strings_buffer=4
    1 V; J: ^5 H2 r# U, h& M

  1777. - Y  c+ L6 g" A& E
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.7 e  d* e5 `+ e3 |6 p
  1779. ; Only numbers between 200 and 1000000 are allowed., I& z+ y5 z% U& |) T
  1780. ;opcache.max_accelerated_files=20003 Z  ^$ B5 D$ g: P& P
  1781. ) o+ F% z) \) }8 p
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    / \8 J7 u6 u* q4 b& I
  1783. ;opcache.max_wasted_percentage=5) a9 o% k; x! V; Q. b' i5 w7 d

  1784. ( `% R) e" r" o' m# X
  1785. ; When this directive is enabled, the OPcache appends the current working
    % v, i' z! `) V. S5 x( |
  1786. ; directory to the script key, thus eliminating possible collisions between
    5 F! r5 z- u3 L8 Q+ c
  1787. ; files with the same name (basename). Disabling the directive improves7 f$ ~7 X3 ]  K* k6 ]# i
  1788. ; performance, but may break existing applications.  ~4 P* |9 I# w7 ~% T0 M
  1789. ;opcache.use_cwd=14 b$ y7 ^1 p. T+ g1 k# i! d# M; J9 A

  1790. - G, w$ L, }* m) m. O. ?
  1791. ; When disabled, you must reset the OPcache manually or restart the! w4 Y3 u. s4 P8 q/ {
  1792. ; webserver for changes to the filesystem to take effect.
    1 x% [  G' Q- q5 Q9 {2 D6 D2 z& u
  1793. ;opcache.validate_timestamps=13 U" z) D) ]* m0 C) _
  1794. 6 x- ^# F: `6 I( _+ l+ H6 E! z0 h( C
  1795. ; How often (in seconds) to check file timestamps for changes to the shared; X: J/ X6 R9 _1 A' N& t3 X
  1796. ; memory storage allocation. ("1" means validate once per second, but only  j* u. J! ]# ?& j! z2 c8 ]
  1797. ; once per request. "0" means always validate)& g/ ?+ c6 Q3 F. E/ u' G
  1798. ;opcache.revalidate_freq=26 Y  D0 l* C, u

  1799. 8 t& z( Z! e; @& ^3 f
  1800. ; Enables or disables file search in include_path optimization
    # B4 G. K$ d# ~9 m1 i' y
  1801. ;opcache.revalidate_path=0& h5 e5 ~- q5 @* ~$ o4 O% h

  1802. - P' P# n1 h7 G
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the1 z& N0 z: u! @: R" M6 ]( L
  1804. ; size of the optimized code.
    5 ], L' v! U0 D( e) c
  1805. ;opcache.save_comments=19 n6 Y5 T9 C0 U# }/ v

  1806. ) j& u7 j" O, w+ S
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code% i. n; Y% {" {( \
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    , Y2 `6 T  q7 }4 B9 I; u7 j; b
  1809. ;opcache.fast_shutdown=08 \+ U" F9 P8 Y  Q7 A7 r

  1810. 8 G, L) s& j0 j) z" O) G
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    6 Q9 r- `6 a! ~
  1812. ;opcache.enable_file_override=0. W3 h! |( a, l

  1813. 3 I* `4 t+ ?. ^- r* I! F( ^
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    4 _! J' d8 T0 _0 ?) ?! {, T: j: N
  1815. ; passes
    9 C$ z7 Z/ ?8 c& f6 w0 H; _
  1816. ;opcache.optimization_level=0xffffffff9 C6 G% p7 D; v% \0 A* ^6 f' ^

  1817. + s9 i/ p$ Q% B# v# }
  1818. ;opcache.inherited_hack=1
    2 `# r( t- f- t9 m, C
  1819. ;opcache.dups_fix=0
    2 p9 h) }/ C; |* ]

  1820. 9 T5 w% w! S% N4 x% G1 G( _5 a
  1821. ; The location of the OPcache blacklist file (wildcards allowed).  q4 e  \& H9 a. B+ q0 R6 x) G$ L
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    1 {* q  Y0 n0 w8 o: {. L
  1823. ; that should not be accelerated. The file format is to add each filename
    ) f6 A" `5 ?: {, `! R
  1824. ; to a new line. The filename may be a full path or just a file prefix  A) R" ?: [5 d: m1 Y0 ^9 ^
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www2 n# ^- g" Q# [7 t5 n
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).. V# Y1 ~; P; h, w3 Q. b; D
  1827. ;opcache.blacklist_filename=
    ! k: g5 U+ V! s9 J3 A- D' \

  1828. 0 T" [- B) Q2 i( R
  1829. ; Allows exclusion of large files from being cached. By default all files; @1 X0 i" L4 A7 G
  1830. ; are cached.1 P" u6 N/ ~2 |4 g; P/ a
  1831. ;opcache.max_file_size=02 X4 q* H+ L- v' R. c3 m! f' _3 O

  1832.   S2 K  @- ]0 k5 h  i7 p( q0 C
  1833. ; Check the cache checksum each N requests.& h8 ^- i. _  o2 X0 m/ N
  1834. ; The default value of "0" means that the checks are disabled.0 [3 d* R9 Q1 a2 B
  1835. ;opcache.consistency_checks=0
    1 g3 |4 E4 K0 G; d* B% I, u
  1836. 1 ]+ [( @( |5 e- s$ G
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    " n0 W$ l1 W2 d: a7 i) `. S* R4 f
  1838. ; is not being accessed.& [+ @+ U6 e) v+ Y0 X' R$ H# J* [
  1839. ;opcache.force_restart_timeout=180. V  m3 T3 C& y' d

  1840. 2 o: V# U/ \; U0 m" B7 w
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    9 @8 n. r( }. z& `! Q; \- K# M- g
  1842. ;opcache.error_log=; C9 U% s2 S  S2 M9 Z2 a& P
  1843. 8 t- z3 I7 H: W4 m" B
  1844. ; All OPcache errors go to the Web server log.9 R2 \. ~7 v% |8 U2 X0 w. @
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    2 h( e! j' G/ S! J" p
  1846. ; You can also enable warnings (level 2), info messages (level 3) or  `% s( E0 u' J
  1847. ; debug messages (level 4).
    ! D) [% b. k' u
  1848. ;opcache.log_verbosity_level=1* K: Q1 ~# y& U" o% h

  1849. * Q& P3 r1 b. l$ D: n
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.3 ^' V6 W; Q+ ^  x' @! n. ?
  1851. ;opcache.preferred_memory_model=+ G7 g8 S" G& j% P
  1852. , }. m! a8 l2 y! z
  1853. ; Protect the shared memory from unexpected writing during script execution.
    $ M$ N3 P6 n; i
  1854. ; Useful for internal debugging only.5 ]+ Z! t7 ~$ {/ Q1 A
  1855. ;opcache.protect_memory=0* H, v- {2 V$ F$ u! Q+ l/ h  l
  1856. , M! c& P: o, g  i8 w7 K6 ]& y- w
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    # u* Q+ s/ z) [: {9 q
  1858. ; started from specified string. The default "" means no restriction
    9 Y2 N- r" J+ L& r! S/ T
  1859. ;opcache.restrict_api=
    2 X! X, j& ?5 p
  1860. 9 R) \9 ~1 `8 m) u$ J
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP# n( Z, x2 X( ]6 o
  1862. ; processes have to map shared memory into the same address space. This* d' c7 A% a9 z; I2 D- f2 A
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    $ f5 W6 d- _, P) I
  1864. ; errors.' l2 S( }$ Z' @; {/ k2 ~) r
  1865. ;opcache.mmap_base=
    $ z/ H% ~, n& W% j& D
  1866. # ?# l+ W- F8 k& {" g/ ]9 ~0 U
  1867. ; Enables and sets the second level cache directory.4 J1 w! J! V" {$ P; l- w, u) F" G
  1868. ; It should improve performance when SHM memory is full, at server restart or
    $ [) D6 w& O: f  \1 k
  1869. ; SHM reset. The default "" disables file based caching.
    7 u7 n8 d$ |6 T+ f3 ^
  1870. ;opcache.file_cache=
    ) e7 l1 l! O' _5 }; }
  1871. " V' p5 @6 Q( T/ J. y
  1872. ; Enables or disables opcode caching in shared memory.8 Q; j, f. j0 m0 W: K4 @' m4 X8 ^
  1873. ;opcache.file_cache_only=0
    2 `8 |. L" Y# x0 q8 U0 N

  1874. ( `6 C! k+ B: k$ q$ |! q
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    / f' y8 s) n- w) `8 i0 H
  1876. ;opcache.file_cache_consistency_checks=1' U' ^- Q4 w' \  ]
  1877. . ^0 `- w% ]" \* [
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to8 W$ S/ _0 k: J  w' u
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file+ a3 l  q3 n- l% C( e# E/ o6 ]1 t: M- x
  1880. ; cache is required.  S1 f' g9 ?) z; I" K
  1881. ;opcache.file_cache_fallback=1
    ) l( J  H8 C7 C# @& B: A

  1882. % x1 q8 m* d, i- h- k! J
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    " v# ^% g% Z1 t
  1884. ; This should improve performance, but requires appropriate OS configuration.
    7 @* M7 h2 u" ]2 ~/ l. _5 V
  1885. ;opcache.huge_code_pages=13 `3 o  W, l/ b& _' _6 Q% c; ^

  1886. 0 ]/ j3 i6 ^4 H7 e
  1887. ; Validate cached file permissions.8 Y; _  N- h, N
  1888. ; opcache.validate_permission=02 Q  b; a& D7 Q. t) v( h* n
  1889. 9 Q  R# F" U+ O3 a
  1890. ; Prevent name collisions in chroot'ed environment.
    ; {  F# W* h, w1 d4 S" D8 H
  1891. ; opcache.validate_root=0
    - j1 X5 ?# z  y0 @! D" g

  1892. $ y, @5 f) f+ N. L! ~8 j& K
  1893. [curl]
    $ L9 X) |- ]0 w- P! L) j: f
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    . S. x; L' b$ |$ m1 j6 D0 p
  1895. ; absolute path.
    ' F" k  u& i0 S! g3 C) q0 ]# E+ P9 [
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    5 t. R4 [& g5 b- I

  1897. 7 i# [8 E1 B2 q. k- z
  1898. [openssl]
    , Y9 x6 L4 J( X! g1 z9 @/ R% q
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem/ w# v: s+ n, B7 O" p6 C7 U
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should7 b: o0 \; v4 l3 F8 D3 o; D
  1901. ; not specify a value for this directive as PHP will attempt to use the
    7 n! `6 o( ?; R& g
  1902. ; OS-managed cert stores in its absence. If specified, this value may still* i  ]- h& I! i! q7 E; r
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ) _% I) v: ~  ?6 M' y
  1904. ; option.  b( o; H& h2 r- P) j
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt& _0 K0 ]; d% W
  1906. 4 D) K$ E7 h; |! i
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the. Z6 G! T1 @% @, Z
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    ' t3 r) i2 i9 a; e; b% R7 `
  1909. ; certificate. This value must be a correctly hashed certificate directory.! }6 W# M/ [1 \  w: N, a2 l  k
  1910. ; Most users should not specify a value for this directive as PHP will! \* c" u1 e' s9 J) V
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    , j2 L6 ]* \2 l
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    5 x3 k% T: ^1 a9 J
  1913. ; SSL stream context option.
    ; C8 a2 @# l# A
  1914. ;openssl.capath=
    8 F( f# Q5 s7 c( z+ }2 D

  1915. 9 V- U4 c0 R# l# Q) h$ S  o
  1916. ; Local Variables:& g* z- h# d# |" S
  1917. ; tab-width: 42 c- k. u! t8 m/ E, A! m; \
  1918. ; End:
    - V. ?/ |2 N. V. u: p; O! y' q
  1919.   \9 U0 n* T$ d1 {/ O
  1920. ;eaccelerator! m6 s$ X; j; ]8 j6 U" S6 J8 _

  1921. 5 h. C/ w( M4 N
  1922. ;ionCube
    3 c1 S: v: }! ]" ^0 p

  1923. * O! K# W' n# |' I0 K
  1924. ;opcache' ?4 o% Q* u4 T0 y
  1925. ; y- r6 p# h; V: F! s$ t6 N
  1926. [Zend ZendGuard Loader]- U. Y4 h( }1 s2 m; H9 M/ M
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.. ]# W: ]! ~  j$ [# |$ ]$ c
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    ' Y- _; Z6 O6 u. Y
  1929. ;zend_loader.enable=1
    , w/ b+ N7 n8 a, A# K9 ~# D8 A
  1930. ;zend_loader.disable_licensing=0
    ! i0 z& F% Z. L: v
  1931. ;zend_loader.obfuscation_level_support=37 H3 K0 y% E1 i
  1932. ;zend_loader.license_path=8 t* X4 @% f8 m' F
  1933. - I0 G# ~, e; ]  Y/ P
  1934. ;xcache1 w4 T7 [5 e5 |$ ]5 i3 y' T

  1935. # @7 q1 z0 H$ f; v' N3 H% T* s! }
复制代码
3 `$ A0 S4 R9 G9 l- N4 M! k

" E1 C, n& Y" S( g4 u' ]0 I5 g7 `
! P! d# |; Z; C+ K  f" [8 O7 Q
% Y& c- M! I. ^( N7 x, |/ w% _4 p) H/ V% |

6 R& x% @6 i: T2 o4 K& b  p" ]) ~) d2 W
PHP5.6版本原始设置2 B# U& e) R$ s$ a
$ o6 b/ h) x. o+ d$ _3 j) }
  1. [PHP]
    0 n( u* u% a2 I' T

  2. ) ]4 S. ^. `* R' k" ^
  3. ;;;;;;;;;;;;;;;;;;;% N( u1 q# O# a% |
  4. ; About php.ini   ;5 n3 |' M& X2 D' v! v  F0 h
  5. ;;;;;;;;;;;;;;;;;;;9 R0 E' o& S, c5 d0 g1 e# m# K
  6. ; PHP's initialization file, generally called php.ini, is responsible for0 c# I& H9 \2 i
  7. ; configuring many of the aspects of PHP's behavior.( i! {0 ^% P1 H5 b; R7 i9 l
  8. / S" g) l; {: |
  9. ; PHP attempts to find and load this configuration from a number of locations.
    5 Q5 _) S5 f, _* x: i
  10. ; The following is a summary of its search order:
    " X7 t7 M# M; A0 U6 S5 t# k% C
  11. ; 1. SAPI module specific location.
      v8 v) X) b! E0 n$ G* }
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)" U$ I+ z  M; W3 a) P: c! A
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)0 p& t  i* ~' j" i
  14. ; 4. Current working directory (except CLI)5 E1 s/ F8 R+ [
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP, M3 _$ n' X. D0 V" O
  16. ; (otherwise in Windows)
    , N) ], w  X$ L/ U9 ~
  17. ; 6. The directory from the --with-config-file-path compile time option, or the5 j( N* j$ J  \* V" r! ^$ E
  18. ; Windows directory (C:\windows or C:\winnt)& U# t5 Q6 I; b% z
  19. ; See the PHP docs for more specific information.
    - _' b6 W7 r9 U7 y
  20. ; http://php.net/configuration.file7 s1 q2 G1 |% X& J; S, P# i

  21. ( e, g# S, ^6 o: u/ K& g
  22. ; The syntax of the file is extremely simple.  Whitespace and lines6 @: X/ U) J& ]  N: U, j( D
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).+ C% H- h# R. d' E: _5 @) }6 N) x
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though9 ?. [& W& Q- f& z: K. i& W: a$ A/ B
  25. ; they might mean something in the future.0 T8 K% g8 T- d+ h$ u2 P. _( Q2 \

  26. 0 a, e# p. v9 P" g
  27. ; Directives following the section heading [PATH=/www/mysite] only+ D1 c9 S& l5 @* V
  28. ; apply to PHP files in the /www/mysite directory.  Directives5 O" i0 M. S+ E; B5 U3 A
  29. ; following the section heading [HOST=www.example.com] only apply to
    2 e+ v0 _2 e8 g/ s" F* S
  30. ; PHP files served from www.example.com.  Directives set in these) ]8 L* q3 K' g* [6 ?( ]
  31. ; special sections cannot be overridden by user-defined INI files or, C: P1 I* U0 m) ^
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under! r* ]% }8 _/ y. ]: n1 P, b' N$ y
  33. ; CGI/FastCGI.! g" ]1 e. ]/ N
  34. ; http://php.net/ini.sections
    2 A' `# j) l6 ?4 n
  35. ! \( {( R! D- s2 l$ i' o. q. g
  36. ; Directives are specified using the following syntax:3 V0 J+ r$ x0 e, e% T( N
  37. ; directive = value, N% n' o' d" s6 i" I7 O
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.1 ]" f! Y+ F+ n5 a; t
  39. ; Directives are variables used to configure PHP or PHP extensions.
    7 x4 \* I  a( t! e% c! d
  40. ; There is no name validation.  If PHP can't find an expected) }1 {& K, L% ?' M" c& P
  41. ; directive because it is not set or is mistyped, a default value will be used.& n, g+ l/ M% d2 k9 K# C7 V

  42. % u1 k1 L$ C% h6 K# T. v! z' l
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one9 u0 c0 C  {- ]6 b6 w8 _
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    # `/ [, P: `' B+ z3 [* K3 R5 B1 D
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a+ B0 U- j* Z5 w
  46. ; previously set variable or directive (e.g. ${foo})
    ) b0 g9 w2 K9 M  f
  47. % }5 \. i+ y8 f! O, [! u1 P) |
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    * F% z  {9 i# |% u& T8 S. F
  49. ; |  bitwise OR
    3 A5 n9 w" f+ [' w& N/ H+ S4 {
  50. ; ^  bitwise XOR
    2 N6 {8 d% D7 c5 K3 y% o
  51. ; &  bitwise AND
    2 }& @+ B8 ~# ~+ x) R
  52. ; ~  bitwise NOT: Y% r. D: ~8 @: G! u9 u4 j9 ]
  53. ; !  boolean NOT
    & K3 B3 G9 I7 K" O
  54.   d9 T" [3 J5 k& r. s
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ( @  u& J+ A& [- }+ s/ }
  56. ; They can be turned off using the values 0, Off, False or No.
    % r3 p' X1 |8 A3 F0 m% n/ g; z

  57. 6 J4 \  ?/ C, @1 N  J' u- o0 s/ m
  58. ; An empty string can be denoted by simply not writing anything after the equal1 B( [# A/ L" I) }$ ?7 I
  59. ; sign, or by using the None keyword:" ~* Y9 Q; f3 a) F3 ^( [4 A
  60. 5 Z$ Z1 x! I4 V$ z: C' L8 Y* M
  61. ;  foo =         ; sets foo to an empty string
    ! r9 P0 p6 j' Z4 E% c' c2 Z
  62. ;  foo = None    ; sets foo to an empty string& U+ J( W& \" l* N5 t
  63. ;  foo = "None"  ; sets foo to the string 'None'
    4 t0 J+ m# @- C" n( a1 w* B$ x

  64. $ [, h, `7 v) n5 Z
  65. ; If you use constants in your value, and these constants belong to a
    ; S# r& j" z/ v2 G" T2 b! |
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    0 Q6 X: D% A3 O  N+ y4 Y
  67. ; you may only use these constants *after* the line that loads the extension.
      r& t3 q# Y& l7 H7 }) a6 W6 o
  68. ! ]7 s) s, a- J4 h% w& o
  69. ;;;;;;;;;;;;;;;;;;;
    & `' W1 m: z- h" P$ U
  70. ; About this file ;( _3 j3 B; q5 N* E7 e$ M
  71. ;;;;;;;;;;;;;;;;;;;
    ) m# e8 m$ n" i5 @
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    $ l# m, M$ O' `, n/ n6 N$ g
  73. ; in production environments and one that is recommended to be used in- S7 U0 O# o$ K! ]- u/ q
  74. ; development environments.
    ! F4 H2 L  \( e$ r0 N

  75. + I! b% @# B4 K" w0 v$ Z+ \0 k
  76. ; php.ini-production contains settings which hold security, performance and
    - C1 ]: l; ]/ X2 Z
  77. ; best practices at its core. But please be aware, these settings may break
    , _8 `* X/ |5 K8 F
  78. ; compatibility with older or less security conscience applications. We
    , `& ~9 y. j; ?2 a! S# W
  79. ; recommending using the production ini in production and testing environments.
    % f! V# q3 E' Z8 I
  80. ! R7 T; j& ?: n; F$ W3 ]; R
  81. ; php.ini-development is very similar to its production variant, except it is
    9 R. \7 B) @) v1 n
  82. ; much more verbose when it comes to errors. We recommend using the
    2 M. P% {  k9 I& a" A$ v
  83. ; development version only in development environments, as errors shown to$ d# h' }. ?% ~- A
  84. ; application users can inadvertently leak otherwise secure information.
    ' T7 g6 _5 y) h. {# Z  |

  85. 4 X2 f0 W5 W6 i3 m3 K7 \. g
  86. ; This is php.ini-production INI file.
      b9 @) n7 v! {2 b: ^

  87. , }( |. I4 W! Y8 |2 @
  88. ;;;;;;;;;;;;;;;;;;;
    , v* I$ a/ C& N! P& s
  89. ; Quick Reference ;
    % s# C9 _, ~# ~- C5 C
  90. ;;;;;;;;;;;;;;;;;;;, }' y. R& T) k
  91. ; The following are all the settings which are different in either the production
    ) h9 b3 [% d7 g5 |& Q* l2 s9 b
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    7 ?4 l2 G+ m4 F
  93. ; Please see the actual settings later in the document for more details as to why
    6 ~1 {# Y' p4 n/ g/ q+ j- w% \
  94. ; we recommend these changes in PHP's behavior.3 _  B* e! C; [  e& ?7 p, p7 c

  95. 2 Q3 }" y4 s% p; g& f6 z% J
  96. ; display_errors
    & G' y2 }/ V, }- b* n0 {
  97. ;   Default Value: On7 |1 U2 g4 F' B% y1 u2 Y4 ^* A% _
  98. ;   Development Value: On2 F/ _8 ^6 h, P' e8 i/ Z- f& N9 u
  99. ;   Production Value: Off5 s/ r: O5 x2 K( p, z/ T: b& y
  100. 9 T2 x3 s8 R0 o) c# f4 q5 i
  101. ; display_startup_errors
    2 k* V+ w! o; [# E4 d: }
  102. ;   Default Value: Off6 T8 y% t. U/ O% W' M
  103. ;   Development Value: On
    * @8 ~  ~4 h0 P" K
  104. ;   Production Value: Off
    ' y& j$ c2 r& M& Q# n
  105.   c7 e& F$ |/ i; b( [
  106. ; error_reporting+ B: [/ T+ i$ v
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    7 J9 _) t: p/ w, o7 W0 {. A
  108. ;   Development Value: E_ALL
    4 y: U0 G8 w0 M6 s8 Y
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT2 ^& V' q6 U2 c8 T' v  A( N

  110. 3 w& E5 ~' e5 `" _# j
  111. ; html_errors! ]% `: ~  H! y! s9 w8 n
  112. ;   Default Value: On
    / a1 w* p+ ?- }+ z4 e3 R
  113. ;   Development Value: On. Z3 `1 F, r1 v! N1 e& _* R
  114. ;   Production value: On
    . n/ i0 i% _+ }; P% e
  115. - i" q" G: ~& O. t# d
  116. ; log_errors
    ! n- w+ _( u) }* i5 {& ]- `
  117. ;   Default Value: Off2 I4 d& ~) G) Z+ l& L6 J
  118. ;   Development Value: On& n3 S# Y3 B8 M7 Y
  119. ;   Production Value: On9 S! Q8 m# Q  h, J
  120. ( K  L+ H4 i$ G& |/ O
  121. ; max_input_time
    9 c, f' f4 ^3 M+ {
  122. ;   Default Value: -1 (Unlimited)3 T6 R' \+ u4 y1 o
  123. ;   Development Value: 60 (60 seconds)
    . \) g6 l8 C7 A& y9 y* x+ n. I
  124. ;   Production Value: 60 (60 seconds)
    3 P+ m# i1 H' K; N

  125. 1 u3 j9 \5 k! U: ]3 l9 [
  126. ; output_buffering/ D6 X4 Z& |! Y
  127. ;   Default Value: Off- v* r) R& b) x$ v# S% r5 E0 @. N& H  r" b
  128. ;   Development Value: 4096
    7 j; T/ g7 {. P, C1 |- q# J
  129. ;   Production Value: 4096/ T  g9 S  o+ X7 W# r$ m
  130. 8 u1 j0 A8 U6 E' ^7 p
  131. ; register_argc_argv) v8 b9 d. t2 f8 f
  132. ;   Default Value: On6 w& K* A5 ]4 a
  133. ;   Development Value: Off& {/ j# f6 {4 W2 d, Z& ~
  134. ;   Production Value: Off
    % g8 \# j% ^, s& l, |/ h; `

  135. 1 |% Z4 f6 ~5 I! {% @/ P1 z
  136. ; request_order( K8 _. c! s" R& d
  137. ;   Default Value: None
    ( X6 ~, F: [+ @5 h
  138. ;   Development Value: "GP"7 Z3 u. x8 D) a* t3 @0 F7 ]
  139. ;   Production Value: "GP"
    # J2 Z( }( @* j) f, S- `3 c

  140. 3 g8 T7 v) J" T* l! C
  141. ; session.gc_divisor
    ' Z8 l4 u2 G5 E/ D! q& A1 d% J
  142. ;   Default Value: 100
    8 ]6 m1 ]1 A8 c/ ?7 r" ^3 }6 V
  143. ;   Development Value: 1000! C2 m2 |& R4 ?; J8 k0 |
  144. ;   Production Value: 1000
    : A) E7 X7 Z9 E+ i
  145. " H! f7 S: @1 R5 e9 i
  146. ; session.hash_bits_per_character
    . O  g% q* s; w5 O
  147. ;   Default Value: 4
    / B+ o* o2 w8 d( B3 n
  148. ;   Development Value: 5
    & z  b* W0 Y& \; x5 T
  149. ;   Production Value: 50 h5 h* T; u) F0 ^2 |

  150. * O8 l3 _0 Q9 `9 }3 h. }" ~
  151. ; short_open_tag* Z  P; \+ D! g  ~1 E& i/ \
  152. ;   Default Value: On
    6 g! P+ M: V4 z# C
  153. ;   Development Value: Off
    : Q( n7 c5 W0 A, }0 w, y1 O% Z$ A
  154. ;   Production Value: Off+ n4 J4 @: U9 X: L& y" K

  155. 4 \+ C+ ~3 [* Y; @0 Z% B6 X/ r; x! a
  156. ; track_errors2 K+ W# m# w' J3 h, ?
  157. ;   Default Value: Off
    , @' J6 i) G* L; W" A8 K' K6 I
  158. ;   Development Value: On
    ' `0 ?, G  k6 ^9 N  t
  159. ;   Production Value: Off. E  I1 d1 G1 }

  160. * W/ o' p9 a  f; m4 b- [6 U- e
  161. ; url_rewriter.tags# F5 a; p8 O; t' B
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="8 a' A; `2 X, E/ U
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"5 K! D" \' }; r6 w, M
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( Q* Q9 V0 k# z) c. }9 a
  165. 4 {- w+ u- G2 ?" ~9 x3 {/ s4 `9 ~
  166. ; variables_order
    ' z% Q: Y+ Q, O
  167. ;   Default Value: "EGPCS"( o" H# e/ P2 C/ b& ]1 x) n
  168. ;   Development Value: "GPCS"5 k* P) w" `0 U/ v
  169. ;   Production Value: "GPCS"3 g7 ~/ [- H; I- p5 Y* `6 @, Z" U* M  `

  170. + d' W$ L2 L+ h% M7 {
  171. ;;;;;;;;;;;;;;;;;;;;% M* t' n( t% a/ _' r/ s# O
  172. ; php.ini Options  ;' t7 r9 {# z  C# k) q
  173. ;;;;;;;;;;;;;;;;;;;;* R( s( l% I: K4 D" Y* j
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"' U9 l2 h  V# \9 u& q
  175. ;user_ini.filename = ".user.ini"
    4 ?2 F+ e$ i  A2 f7 h, B+ H

  176. 1 u7 \& Q" l! s7 r" B" L/ [
  177. ; To disable this feature set this option to empty value
    9 B' J6 q' B) w* z
  178. ;user_ini.filename =; j, E+ i, k9 ]' l9 n- N" n% Z7 I

  179. ( `# V1 {" X' G. x. |7 ]. \- a
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)/ Y( c3 _# B+ p+ a  H
  181. ;user_ini.cache_ttl = 300
    $ [& G2 \: n% J2 I8 \; r! v
  182. 6 c( K8 K% L" G, a
  183. ;;;;;;;;;;;;;;;;;;;;
    6 x+ Z0 b3 ~/ b1 Q3 F  ^
  184. ; Language Options ;
    9 j* a6 w; H. v# Y! u) G" _
  185. ;;;;;;;;;;;;;;;;;;;;
    & I! K$ o9 ]$ R

  186. . u! T/ _3 T8 Z! {
  187. ; Enable the PHP scripting language engine under Apache.
    ! `  R; r) i: D" s) K) r
  188. ; http://php.net/engine  k* t: r( i' R
  189. engine = On
    " e: i2 m$ B, [8 g) [& H
  190. # d5 ~1 c! V9 K: B, F: T% E
  191. ; This directive determines whether or not PHP will recognize code between  r* a! y( d2 K/ {9 _3 h# s- f
  192. ; <? and ?> tags as PHP source which should be processed as such. It is9 M9 f! W/ o3 I5 ]  S7 X0 ]4 d$ a
  193. ; generally recommended that <?php and ?> should be used and that this feature
    % g/ |- T! y  y, ~; y
  194. ; should be disabled, as enabling it may result in issues when generating XML; x* e9 v* U% ]% J1 K9 v1 O
  195. ; documents, however this remains supported for backward compatibility reasons.
    " z. c+ V9 I( e/ E9 u) t1 a
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    : |; k" [- r, ^4 n7 u0 ~
  197. ; used regardless of this directive.
    & ?' g  s2 |! k+ W$ v
  198. ; Default Value: On
    7 i& e: V% W7 _
  199. ; Development Value: Off
    ; S, P/ V  S8 d) _9 G4 I0 C
  200. ; Production Value: Off
    3 }6 y% S( e6 J' e
  201. ; http://php.net/short-open-tag
    ) C' }% E: u" F9 @& ^% o& I
  202. short_open_tag = On
    $ {6 I2 Z9 K3 L  T( V$ {) {

  203. 3 ^0 ~  \1 U$ }1 f
  204. ; Allow ASP-style <% %> tags.
    9 f0 a2 K9 ^$ ]
  205. ; http://php.net/asp-tags" [: ?' l; X9 w0 D& o) C
  206. asp_tags = Off/ T" k. K% H  G0 i' Q/ @
  207. $ d5 X% m6 A5 c  S) j. O
  208. ; The number of significant digits displayed in floating point numbers.' d+ Z+ l  @5 Q! K# ~
  209. ; http://php.net/precision% i( h/ h# C7 j- k+ P3 Y+ d% y
  210. precision = 14
    + i) y8 g/ o- ]& y5 T
  211. 9 z, X* F, a5 @, K7 H
  212. ; Output buffering is a mechanism for controlling how much output data; f3 b2 q/ x% U3 p
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    , r6 ?5 ?4 w; l* f+ I+ Q% ?
  214. ; data to the client. If your application's output exceeds this setting, PHP* ~1 ]1 t) D' m, r3 u6 v( H. n+ n; _
  215. ; will send that data in chunks of roughly the size you specify.
    % u' P# ?' H1 A- q5 r- n7 Y6 C
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    9 E# i6 M, R8 O/ F' ~6 E
  217. ; interesting side-effects depending on your application and web server.: q# g6 y, C! b+ Q9 ?& e
  218. ; You may be able to send headers and cookies after you've already sent output
    , ^& g7 Z( o: ~" X; D. Z
  219. ; through print or echo. You also may see performance benefits if your server is
    ! {* w+ c6 k& p0 q  O
  220. ; emitting less packets due to buffered output versus PHP streaming the output8 a0 J. H+ c; g- c. z
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    * _2 y( s0 K( `- h1 e* I
  222. ; reasons.9 z4 J2 v6 z7 `7 ?! Y; v. i+ x
  223. ; Note: Output buffering can also be controlled via Output Buffering Control5 s5 F& @* E- M3 r' ]
  224. ;   functions.
    $ ^5 I% w( r5 c8 R
  225. ; Possible Values:
    % O2 l6 E* i3 s$ M) L: G3 O/ k: [, n( g
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)  b0 E: p( K$ s' P: ]+ H4 `
  227. ;   Off = Disabled! B( G/ }9 S- W$ v5 j* Q
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.' M  Q4 s3 L9 x* }
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    2 N9 `% q& \& ~- e
  230. ; Default Value: Off/ T. q% P9 C( z( i- `# l
  231. ; Development Value: 40968 j+ N, r( A) A* j4 G4 Y$ m' B
  232. ; Production Value: 4096
    9 m( F& b$ W- y9 F2 G
  233. ; http://php.net/output-buffering# v9 T/ v7 I! A( q8 y3 U/ W( ^
  234. output_buffering = 4096
    0 ~- h- |0 `1 Z  b
  235. : }& ?  j/ e, [' C1 L9 h' y
  236. ; You can redirect all of the output of your scripts to a function.  For
    ; M1 }' Y' ]! _. u/ M' h
  237. ; example, if you set output_handler to "mb_output_handler", character
    + {- a* U. B) F5 a' ^
  238. ; encoding will be transparently converted to the specified encoding.4 p! @6 `7 e, M
  239. ; Setting any output handler automatically turns on output buffering.
    $ l  l& t& p: k, _/ ?
  240. ; Note: People who wrote portable scripts should not depend on this ini4 ]0 {3 _6 n5 N- }$ g' X6 z4 g- \
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    ) q4 s) q% v5 T1 V" {) N5 \
  242. ;   Using this ini directive may cause problems unless you know what script
    . l9 n3 {! N, d
  243. ;   is doing.
    ; e& O# h4 v! M9 X1 ]! _! ]( l: _. F
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    3 L$ Z4 s6 M6 n' u, Z( Q* {. f
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".$ {4 F: L4 K0 R$ v( h
  246. ; Note: output_handler must be empty if this is set 'On' !!!!2 X, G& B" T  }% E4 N  N
  247. ;   Instead you must use zlib.output_handler.4 S, s* l; j7 N; ~4 y7 |& E6 _
  248. ; http://php.net/output-handler
    : I1 J" U: K* [8 ?2 M
  249. ;output_handler =- @: v  B8 [$ s. X1 [/ k6 r
  250. $ ~* X: F+ a2 U4 n1 T& t
  251. ; Transparent output compression using the zlib library
    ) |# c' G& S/ f# v# x$ ]
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    9 T6 y. k4 i' F: N9 _. Z/ [
  253. ; to be used for compression (default is 4KB)
    . i+ H% b5 s0 S2 a; b$ d
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    0 @7 g$ N1 d. A3 \9 B: p* }! f
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    " E+ W9 c' b+ ]4 [, `' J
  256. ;   compression. If you prefer a larger chunk size for better
    4 S5 R( S" L: a/ p
  257. ;   performance, enable output_buffering in addition.
    / G; @; s4 W4 K
  258. ; Note: You need to use zlib.output_handler instead of the standard
    ) H0 \4 X, r6 x7 O+ H3 j
  259. ;   output_handler, or otherwise the output will be corrupted.
    ; O' c/ I! Q) h3 b0 c; [' t- E
  260. ; http://php.net/zlib.output-compression
    ! u8 t/ `4 _) Z4 R2 Y9 I
  261. zlib.output_compression = Off) u! Z6 _- U2 O
  262. 4 H! G7 Q; z! u1 ?
  263. ; http://php.net/zlib.output-compression-level
    # n! e# q5 X1 u7 ~& \
  264. ;zlib.output_compression_level = -1: x" g" F8 |, y# \
  265. # q4 C2 n) h  L* c0 h* b, ~( u8 Z
  266. ; You cannot specify additional output handlers if zlib.output_compression
    2 ^) u/ g+ i5 i# F9 C8 x& f
  267. ; is activated here. This setting does the same as output_handler but in  G; O' u& L; l) m3 h. h
  268. ; a different order.
    ' ~& Z* O* b/ X& h8 f
  269. ; http://php.net/zlib.output-handler1 S$ p9 f5 V0 i- A8 G6 ~5 T
  270. ;zlib.output_handler =8 J6 W6 c& }8 \6 e: W2 [" J
  271. , T& V( [8 G+ ?! D4 X, ]7 X" E
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    $ [# a' [* t* z' ^6 q5 Y
  273. ; automatically after every output block.  This is equivalent to calling the
      c5 g1 v  Y( j+ |+ D1 a
  274. ; PHP function flush() after each and every call to print() or echo() and each, \. X  [8 w$ m! F: k
  275. ; and every HTML block.  Turning this option on has serious performance
    % `% E9 c- k5 d* p8 F
  276. ; implications and is generally recommended for debugging purposes only.
    ! M/ B! }; N* C" H0 ~+ I, T
  277. ; http://php.net/implicit-flush
    ; E) l. V# M) o% V# C
  278. ; Note: This directive is hardcoded to On for the CLI SAPI. b0 H" F3 n! K: J
  279. implicit_flush = Off
    6 }9 ?: ?' c, k
  280. 5 t$ j, _; ~- i1 Z% y, d
  281. ; The unserialize callback function will be called (with the undefined class'5 }# C! o/ z& y% A. n- _6 }' r
  282. ; name as parameter), if the unserializer finds an undefined class) I6 C' K) T0 G$ U
  283. ; which should be instantiated. A warning appears if the specified function is
    + A+ E2 L; m+ p* |% F
  284. ; not defined, or if the function doesn't include/implement the missing class.3 Y: V' S1 Z, Q  v
  285. ; So only set this entry, if you really want to implement such a
    1 l% K; U. w6 j/ t" F# _
  286. ; callback-function.
    $ t8 o  [3 W+ `' B
  287. unserialize_callback_func =
    , p" e  n: _! @9 [
  288. 8 c6 C& A- V7 `; P
  289. ; When floats & doubles are serialized store serialize_precision significant
    9 P& r- q, b, ?9 Y3 s, a6 H+ I
  290. ; digits after the floating point. The default value ensures that when floats" [6 ^. A% H  r4 f% c
  291. ; are decoded with unserialize, the data will remain the same.0 M5 h: ~( K" O7 f$ ?& U  H
  292. serialize_precision = 174 h  Q) s' M4 i: v  u2 `
  293.   {$ y# ]1 W# [9 L" r6 H
  294. ; open_basedir, if set, limits all file operations to the defined directory
    7 H" F1 ?6 O# B! N4 v+ f
  295. ; and below.  This directive makes most sense if used in a per-directory& y' S$ Y( E3 ?7 e4 ^2 Y
  296. ; or per-virtualhost web server configuration file.6 g$ B9 L, s9 \0 |4 W+ ]
  297. ; http://php.net/open-basedir
    " _: d+ n! i3 a) h' ^
  298. ;open_basedir =
    " e1 R# O3 Q7 R& P& i- I1 O

  299. 6 q# S1 j2 }8 t9 S& T1 z
  300. ; This directive allows you to disable certain functions for security reasons.2 p, p1 R) Q$ T
  301. ; It receives a comma-delimited list of function names.# z3 A! D, G% J) D
  302. ; http://php.net/disable-functions
    % j  Y* U  N! j" V7 }' D( X
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    * A* {5 q) B. a$ }4 U. f6 `+ T
  304. $ {# I1 Y& D5 q8 T
  305. ; This directive allows you to disable certain classes for security reasons.- i5 i* _: r1 F( S
  306. ; It receives a comma-delimited list of class names.3 l1 C/ e+ o" I/ R" L8 }
  307. ; http://php.net/disable-classes$ Z' R" g; T; N7 |7 }* }2 S
  308. disable_classes =' v% V3 i1 G% w0 L; Q9 b
  309. ' X% y! N6 f( Y, K
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    6 c: k5 Q% `4 e$ Y
  311. ; <span style="color: ???????"> would work.
    ' k3 V# B: i- r) I5 N
  312. ; http://php.net/syntax-highlighting
    / _: C# j2 z  R
  313. ;highlight.string  = #DD0000
    7 i. {/ w4 ?& Y2 ?
  314. ;highlight.comment = #FF9900# {" I& ?( A/ G- a
  315. ;highlight.keyword = #007700
    * I1 M8 M, t, r; t, A
  316. ;highlight.default = #0000BB
    3 L2 w' A+ B8 C4 _5 G. L- U
  317. ;highlight.html    = #000000
    ! q& B/ W( i4 d5 U) N! I, }2 I  q
  318. % y- n" o* f: q. ]* S
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    8 T: q' d* R% D8 ]2 S
  320. ; the request. Consider enabling it if executing long requests, which may end up
    * U/ A& F. H2 l
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
      J9 C/ Y0 @# i
  322. ; is to disable this feature.
    $ E: g3 m# w6 P. ~, w, [6 F
  323. ; http://php.net/ignore-user-abort
    6 T+ m# G" \+ b' y* l
  324. ;ignore_user_abort = On. X  o* _0 X& r8 u2 T
  325. 3 x8 w0 ]+ h8 P# {# [; \& [
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    7 Z! I; U* t% i( z& g
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    0 Z3 m9 G5 V/ O6 i
  328. ; the file operations performed.2 n; ?6 H# G: u6 ?/ X5 H
  329. ; http://php.net/realpath-cache-size5 W  N0 _& t3 S* ~
  330. ;realpath_cache_size = 16k
    1 W$ a$ ^8 o& M

  331. 9 U& p7 b% J2 i, a: b; O. b2 O/ }
  332. ; Duration of time, in seconds for which to cache realpath information for a given5 q# ~( b; u) o2 V: Z
  333. ; file or directory. For systems with rarely changing files, consider increasing this$ C# a- {' a. A& i0 L7 |# p
  334. ; value.
    ' D; d  V2 ]1 C
  335. ; http://php.net/realpath-cache-ttl
    % R* l1 @! q" \
  336. ;realpath_cache_ttl = 1207 k' T! j2 u$ k. q! @. |& i* G
  337. $ A7 p6 }: F7 s0 K" `0 n; V
  338. ; Enables or disables the circular reference collector.9 l3 m+ F' ]6 o0 }) _( b) Q! Y
  339. ; http://php.net/zend.enable-gc
    5 Y2 f% {" e1 U# C! f% }
  340. zend.enable_gc = On
    3 V6 R: W4 R6 O% }8 j  ]

  341. & K. U% b4 c) A& I2 v$ o2 s
  342. ; If enabled, scripts may be written in encodings that are incompatible with- t# d* N# _0 }4 ]
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such; L4 W$ |* C8 D& F  Z5 C7 I
  344. ; encodings.  To use this feature, mbstring extension must be enabled.1 W) v$ y& P- s, o2 b: a
  345. ; Default: Off
    $ ~6 n3 D1 V& V
  346. ;zend.multibyte = Off
    ( e" k5 j7 W) b! Y

  347. 1 W8 v$ @. U8 G8 T2 m
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    ; |$ b: t. @4 B. m
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    7 y5 O* |/ f1 x% {8 b# i1 r
  350. ; Only affects if zend.multibyte is set.6 v' \* G! \  q+ L) p  \( Y
  351. ; Default: ""
    " D! H0 r# x" Q, P+ ^
  352. ;zend.script_encoding =) a0 X" D/ G& i

  353. / {0 U  Z, f0 u1 N6 k1 a& D; {% D
  354. ;;;;;;;;;;;;;;;;;5 f$ z  v7 n) }1 b. c$ ^& n
  355. ; Miscellaneous ;+ c& ~$ A- Y  |6 Q
  356. ;;;;;;;;;;;;;;;;;- H7 [' H  v% f/ T

  357. 8 h0 c8 N1 u' J; l" N  U. t: x; I& E
  358. ; Decides whether PHP may expose the fact that it is installed on the server" m8 N$ I9 q' k
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    % ?- a6 J; H! Q/ {, \
  360. ; threat in any way, but it makes it possible to determine whether you use PHP. D2 W$ F( `0 k
  361. ; on your server or not.5 ~4 E; T3 m' U( p8 |5 G
  362. ; http://php.net/expose-php
    1 f) s, c& Y: s  }
  363. expose_php = On7 \: H% D) _) f% C7 m2 ~

  364. * E; Y" e# c( l" p/ ?7 n  g
  365. ;;;;;;;;;;;;;;;;;;;
      z9 z% T) ?( O. M5 @# M( J
  366. ; Resource Limits ;
    , x: _. n( d1 j3 ]
  367. ;;;;;;;;;;;;;;;;;;;
    6 f2 Y- c, @$ B7 r* v9 y

  368. 5 j$ P: U5 Q1 v
  369. ; Maximum execution time of each script, in seconds
    & [/ G6 e- {+ w* N+ j4 f" o3 a
  370. ; http://php.net/max-execution-time
    8 \! z: r& A0 [8 y9 u
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI! Q9 C; Y% A4 G8 A/ L! j
  372. max_execution_time = 3005 Y2 y3 ?! [0 s. ^6 J# Q

  373. & ?/ @- m3 X& ^, @& G: H0 L9 ?6 m
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    ! w: d4 M* i' ]9 ^! M! E
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    % X- ^# ^4 I2 l, C7 _
  376. ; long running scripts.6 k1 [* F1 K( f% h& Q
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    # l( u+ p' Z. A# T
  378. ; Default Value: -1 (Unlimited)5 [! {% Z7 }, ~) P* `; W
  379. ; Development Value: 60 (60 seconds)
    4 |/ O+ D6 F. R
  380. ; Production Value: 60 (60 seconds)
    , y( ?$ k$ p* I7 I) P8 `. w" t
  381. ; http://php.net/max-input-time
    4 _. g0 p6 P1 U0 K& `  L+ ?, f( B
  382. max_input_time = 60/ A9 N: m5 B* H

  383. / C; Z8 t, M) A& A2 t7 k
  384. ; Maximum input variable nesting level7 \: R: ?1 P; T; F- f
  385. ; http://php.net/max-input-nesting-level) x# c4 J1 s' r- c
  386. ;max_input_nesting_level = 64
    ; Y9 t4 o) T2 N$ \
  387. : {* {8 d5 Y! [2 b2 q: A
  388. ; How many GET/POST/COOKIE input variables may be accepted1 I* M8 `. l. O( p( @) D; h7 I
  389. ; max_input_vars = 10002 ]. ^$ X- \6 X

  390. ! d+ K) E% C4 l
  391. ; Maximum amount of memory a script may consume (128MB)
      f% J( k, b' O3 ~5 O
  392. ; http://php.net/memory-limit
    - @) R/ w5 o% {1 {  R" t! a
  393. memory_limit = 128M4 D; [# R2 E# u" M' n  F7 G  P

  394. 7 }8 P* `- V" W& W- G, d7 a
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    & u3 O; K+ w8 k" j, V
  396. ; Error handling and logging ;
    3 i$ F: s& V. i* l' a
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;/ V6 F8 w, c! v% q1 {1 m( _
  398. 4 |- e& @# G! F3 y1 Y3 N
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    0 |5 l9 \; o2 A  A. o9 L
  400. ; it to take action for. The recommended way of setting values for this9 a. g4 W; w* T8 p
  401. ; directive is through the use of the error level constants and bitwise
    / A# M3 G4 }$ C' x
  402. ; operators. The error level constants are below here for convenience as well as
    0 Z3 F/ ^: ]0 Y3 z. g
  403. ; some common settings and their meanings.$ C) A# ~/ m  O) Z9 ]/ `0 x/ Q
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT: c/ h4 i& k5 Q5 z
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    . ~1 y0 x, n. ]( Y! M
  406. ; recommended coding standards in PHP. For performance reasons, this is the( k; J( K" b7 R& S5 m) m. ?
  407. ; recommend error reporting setting. Your production server shouldn't be wasting1 K# J2 A0 Z# i8 M
  408. ; resources complaining about best practices and coding standards. That's what' |& A3 j* D% s; S' q/ a8 X
  409. ; development servers and development settings are for.
    9 j, o5 t9 q; c. W0 A' U
  410. ; Note: The php.ini-development file has this setting as E_ALL. This; k; \' k+ J' ^
  411. ; means it pretty much reports everything which is exactly what you want during
    % w8 S) Z" g0 N  Q7 P4 Y
  412. ; development and early testing.& h8 K- y/ v4 ~3 h
  413. ;3 r! e/ t  x6 t3 ~+ T
  414. ; Error Level Constants:
    + K7 w& U1 \7 h- }2 \! {
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)3 B& A7 |5 [$ v' j
  416. ; E_ERROR           - fatal run-time errors6 k" @# U4 A3 I. ^2 L
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    / P- _6 N+ m5 O6 Q' G
  418. ; E_WARNING         - run-time warnings (non-fatal errors)! F; q9 L) a6 C$ l( z9 D$ ^
  419. ; E_PARSE           - compile-time parse errors
    , z+ T. ~4 x* ?# i% g4 _6 `
  420. ; E_NOTICE          - run-time notices (these are warnings which often result8 V, [4 Z; ~4 x
  421. ;                     from a bug in your code, but it's possible that it was; m, Z' ~+ e( Q- g" s7 F
  422. ;                     intentional (e.g., using an uninitialized variable and) g5 n- T+ \8 x  H, z+ F
  423. ;                     relying on the fact it is automatically initialized to an
    9 j! ^' e2 k; N
  424. ;                     empty string)3 s3 r; Y4 w, o9 x1 H! I
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    , p- s3 R, h! l: E4 j# L
  426. ;                     to your code which will ensure the best interoperability
    ) f- D: k2 _0 L, V) g9 I- c$ @2 f
  427. ;                     and forward compatibility of your code
    # r" E8 i& I' u
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    2 O! V  e( f2 c- K3 o1 H
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's+ s/ k. J) U7 E
  430. ;                     initial startup
    - X; u3 F  b( w7 [* o
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    / w3 {3 o$ U* h$ f8 [% H3 D
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
      _2 E( Y. h* j" j, t! C
  433. ; E_USER_ERROR      - user-generated error message
    ( ]3 ^* S* M' |) q
  434. ; E_USER_WARNING    - user-generated warning message; i+ ~/ \4 F* }' \9 w# t$ w
  435. ; E_USER_NOTICE     - user-generated notice message1 G! ]1 Y9 |' M: f# t. g" s
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    . ~. w7 ^6 F, x9 q5 j" L6 A
  437. ;                     of PHP/ A2 ]9 z6 F8 o4 t
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    0 g- t4 m- r6 B/ Y+ W
  439. ;
    ( ~+ w! x" q- D4 w( M) |
  440. ; Common Values:; [, o( V8 f: u/ A. C
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)% l; e0 X9 T8 m9 k% P6 m6 Z
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)$ J1 z& T* |2 U& {6 @2 g+ G
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ; F* t  w8 G# X6 E
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)- p/ y( s1 n5 u* |! n' p4 K
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED# h! a7 U: h7 T; Y& c! s
  446. ; Development Value: E_ALL: d5 B) ?1 F. Q3 z1 C; b) ^7 s
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    8 Y2 F3 L, W8 z! U" L
  448. ; http://php.net/error-reporting
    * Z+ N/ R! h) U) [
  449. error_reporting = E_ALL & ~E_NOTICE
    ' N$ o3 @3 {0 c; {" b( ~- i1 r
  450.   L" e+ M# }7 V& T, f8 P: j, c- P8 K
  451. ; This directive controls whether or not and where PHP will output errors,( I" L7 O, p! K& l$ \, U
  452. ; notices and warnings too. Error output is very useful during development, but8 z( _# c6 n7 i0 w
  453. ; it could be very dangerous in production environments. Depending on the code
    . P0 c  g; g, d5 ?! o. A- m0 z1 L
  454. ; which is triggering the error, sensitive information could potentially leak
    $ P4 _; h" D, ?) E- Y) f+ y& ^1 I5 F
  455. ; out of your application such as database usernames and passwords or worse.9 K& T0 X7 u  v4 G5 I4 {- l) @
  456. ; For production environments, we recommend logging errors rather than
    5 P" a" t, w# l. W% T# N: v  _
  457. ; sending them to STDOUT.
    5 ], J1 L! h- \3 }; i. x
  458. ; Possible Values:8 j( g. U* c4 L. [7 z
  459. ;   Off = Do not display any errors
    . d! E* A1 n  A( z% J6 Q
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)! M1 K/ M/ C  z
  461. ;   On or stdout = Display errors to STDOUT8 {- j3 m) [! b8 e0 ~/ V8 ^
  462. ; Default Value: On  _- ~; h; a1 M7 b9 |- w
  463. ; Development Value: On" a/ r9 p7 E+ S
  464. ; Production Value: Off1 @7 X7 R5 x* g& L# ?5 }6 ]- T
  465. ; http://php.net/display-errors
    9 M' ~9 G& @* q( {( Z/ N% i
  466. display_errors = On7 M. D- w0 H* x& ^

  467. 1 b' |& R* n" D4 R3 k
  468. ; The display of errors which occur during PHP's startup sequence are handled' d9 x9 [$ b0 z9 k: C- E! w: A! X
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    ( J0 R% h9 l7 a# W1 a  Z& z( F: m
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    ' P' n8 ^( \  M% C
  471. ; debugging configuration problems. We strongly recommend you3 w+ ]$ v( }7 R3 `6 R' n0 m
  472. ; set this to 'off' for production servers.
    5 T+ Y, Y& h5 C* }
  473. ; Default Value: Off+ H$ P/ F2 \7 J+ Z" c- g; q% H
  474. ; Development Value: On. i  W7 O# W6 z. D) y8 {/ N
  475. ; Production Value: Off
    + m0 e* S6 _, i& B2 M& U
  476. ; http://php.net/display-startup-errors% L& [- H9 h6 {" _( y; j3 f' R
  477. display_startup_errors = Off
      Q* H- E+ k. r6 y$ }

  478. 2 [( M$ z/ u! X6 Y. c, L9 e7 _' ]8 p7 _
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    5 Q0 g: v1 a# e6 m9 k3 }
  480. ; server-specific log, STDERR, or a location specified by the error_log
    / `" U5 |1 r8 _* U1 K
  481. ; directive found below. While errors should not be displayed on productions  t2 @) d: l) f0 t
  482. ; servers they should still be monitored and logging is a great way to do that.
    , ?# u5 K7 R( U/ b
  483. ; Default Value: Off
    $ p0 X, E& J" T& G
  484. ; Development Value: On: O, G0 s5 d7 F- M* V! e
  485. ; Production Value: On
    * X2 Z! w, k) @/ [( P3 F
  486. ; http://php.net/log-errors
    # f/ u* n. u2 i2 I4 C4 @
  487. log_errors = On6 z3 k$ E8 T0 E* c! z/ J; C
  488. 9 z6 `' T: D" `" _# E
  489. ; Set maximum length of log_errors. In error_log information about the source is
    5 g: s, M3 Q$ ~: N3 y* D
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.4 L0 G( t6 T: k
  491. ; http://php.net/log-errors-max-len
    ; ]" r8 u4 J* o/ i+ N' t
  492. log_errors_max_len = 1024
    9 N+ p$ W8 ^' ~' d# i! j/ F
  493. * l" Y3 m9 L, ~0 P' u  n
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same" C7 S9 m; R4 f6 v2 s( v
  495. ; line unless ignore_repeated_source is set true.
      I. O. S. t. x: J" n8 V% ?
  496. ; http://php.net/ignore-repeated-errors! x0 z! e. I3 f- a0 S$ F6 G8 F7 M
  497. ignore_repeated_errors = Off
    : [+ X% G! ~2 |# @. N
  498. , g, e3 a2 s8 b% j
  499. ; Ignore source of message when ignoring repeated messages. When this setting. H" \7 L+ q9 ~  y1 ]/ C
  500. ; is On you will not log errors with repeated messages from different files or, N' J! k8 I( V: W; j4 I6 s
  501. ; source lines.
    5 ~6 _7 t7 b* X1 b4 Z, X' E: a
  502. ; http://php.net/ignore-repeated-source: t4 U9 {) C: l0 ]0 n. S
  503. ignore_repeated_source = Off
    # x9 ]; L- M+ ^4 [

  504. / m' i7 i: s9 W4 x* h
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on/ h8 }4 o  T: t/ q% E' d. M# y
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    / h1 _  T$ O5 p7 Q* q& ~$ `7 y2 n: j
  507. ; error reporting includes E_WARNING in the allowed list6 j/ f* a, l) J" ]4 e! y/ s( `- `
  508. ; http://php.net/report-memleaks
    0 c% ^) b$ x* j! q) _" I1 a
  509. report_memleaks = On" z4 e8 @+ P0 {3 g
  510. 6 `' ?. W3 P! M7 W! {8 w
  511. ; This setting is on by default.
    . j2 m$ ^3 o# A8 w
  512. ;report_zend_debug = 0
    * C8 V) G' H: [+ E
  513. , y0 N* p4 R9 w3 E5 m
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value% k. j/ m- i0 G0 q
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ( B& U) W: `- ~1 J
  516. ; however be disabled on production servers.$ f2 D) {- ?% d7 h, F, r  q
  517. ; Default Value: Off
    - k: z! g" f0 P
  518. ; Development Value: On' A7 X& v! b) x: \
  519. ; Production Value: Off
    , V' a9 r" Q8 Y  a+ V
  520. ; http://php.net/track-errors9 l. I2 Q$ k$ [; n( K# r  z
  521. track_errors = Off" U7 ~* P- f/ r5 m* ~

  522. ; m1 ?# w/ E" [3 F  _4 h) {" T
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    , a5 Z0 n/ R, H6 |
  524. ; http://php.net/xmlrpc-errors
    : u% b0 N. t& L: d9 {9 r3 i
  525. ;xmlrpc_errors = 0
    ' A$ `/ D4 e; S; e( G. R, e5 m9 S$ ?
  526. + [- d7 ?4 {9 s
  527. ; An XML-RPC faultCode" J, w" ?4 }: [
  528. ;xmlrpc_error_number = 0
    / m( [; t- d8 W% Y4 G& K
  529. " H9 U7 g' [* t. E& j2 K& e4 n
  530. ; When PHP displays or logs an error, it has the capability of formatting the% m' R5 F; y, U
  531. ; error message as HTML for easier reading. This directive controls whether
    / e4 D: \! Q3 x& ~: u) Z
  532. ; the error message is formatted as HTML or not.
    - e& N2 n4 K2 W
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ' a- i: X7 M: z# ^1 w3 N* v
  534. ; Default Value: On5 G8 B1 T6 x" D9 G1 `
  535. ; Development Value: On. U: E. n+ H8 [
  536. ; Production value: On8 n! {0 m' k. E2 n- J
  537. ; http://php.net/html-errors
      K$ U4 |- Y, Y* W/ n
  538. html_errors = On! K$ u' n2 _; |' a, W

  539. " c- H- e+ r: x4 L* R* H
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    4 _3 W, C9 {# Z  b: l
  541. ; produces clickable error messages that direct to a page describing the error) O3 c: N) i/ q) J- |9 ^
  542. ; or function causing the error in detail.
    ! }- f! z$ N# J8 T: z" X
  543. ; You can download a copy of the PHP manual from http://php.net/docs* k9 S# C& {4 i& n
  544. ; and change docref_root to the base URL of your local copy including the
    9 N- K# `8 ?/ h6 |. B( f
  545. ; leading '/'. You must also specify the file extension being used including( b' k3 v$ q7 _& ]  p+ u; F1 t7 t
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which+ S# V0 P+ h# H3 p9 S
  547. ; case no links to documentation are generated.4 t: f# c4 A; P# \: R
  548. ; Note: Never use this feature for production boxes.
    ' {/ x+ S+ e/ V) Z" |0 ?
  549. ; http://php.net/docref-root
    * |0 A6 a. D/ L( X1 E
  550. ; Examples
    0 G* X' y2 G0 f4 _. X
  551. ;docref_root = "/phpmanual/"% E* S* Z3 O" X# m/ Y9 L) s* |

  552. + d/ x4 I0 H) u) c$ @; [# L5 O" Z
  553. ; http://php.net/docref-ext
    ) s2 w) Q, ~) y
  554. ;docref_ext = .html- A4 u1 `: b2 K& O" V6 X/ D0 J' B
  555. $ G, D- ^$ U3 x4 t6 L2 S, A
  556. ; String to output before an error message. PHP's default behavior is to leave
    ) ?' C& X* F6 u0 E
  557. ; this setting blank.8 C6 m1 N% {  ?! v: _* O
  558. ; http://php.net/error-prepend-string* E, m, u( j) z* k4 Q: \
  559. ; Example:/ w9 O. B0 ~: ^6 C5 p" P
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    # \, Q8 o  n/ T
  561. & o6 q' [% M+ h* U% f
  562. ; String to output after an error message. PHP's default behavior is to leave
    ! S" {. U# o9 ?; k. R# L
  563. ; this setting blank., h. X  M& [7 d% e. `
  564. ; http://php.net/error-append-string+ N4 y; }- j) f! q: V  z
  565. ; Example:
    - F. |& F# G+ g% X# o
  566. ;error_append_string = "</span>"
    + `0 e1 t: G' @3 i
  567. 9 K: G# T. f$ k0 e
  568. ; Log errors to specified file. PHP's default behavior is to leave this value  C; c6 G# f$ |; H5 K
  569. ; empty.$ ]# D: J( M8 Q0 v8 G
  570. ; http://php.net/error-log
      g0 Z0 P% j' y! V% @6 {) Y
  571. ; Example:
    % |' ^6 I. v8 |: S' n9 a
  572. ;error_log = php_errors.log+ l, M4 t: m$ K0 Z4 U2 w' O, l: x  O8 ^! n
  573. ; Log errors to syslog (Event Log on Windows).; T6 X1 ?5 n5 Q2 i8 ^+ n+ P
  574. ;error_log = syslog
    # k) D' g; p9 |( t

  575. " c% C' S( _! n( S( m
  576. ;windows.show_crt_warning% f2 i8 T, s$ b' I% G+ X5 N5 o6 e5 J
  577. ; Default value: 0
    6 b; t2 {" A/ w  Y! k
  578. ; Development value: 0! V5 Y% N( H8 q# N) W1 C
  579. ; Production value: 0
    . f( \' x  v) I. J8 E
  580. + T$ g6 j0 E$ R8 S1 |
  581. ;;;;;;;;;;;;;;;;;
    ' H9 j; h# L; a# c9 U0 t% k
  582. ; Data Handling ;0 N2 A2 Y! t4 b7 p3 a
  583. ;;;;;;;;;;;;;;;;;  y; s' R: E7 D3 `, @1 V! B
  584. " j1 B+ E; [5 A- q! A
  585. ; The separator used in PHP generated URLs to separate arguments.
    - h/ w( Y5 s; Z* b# d9 L
  586. ; PHP's default setting is "&".# D! {/ N7 \. l$ |
  587. ; http://php.net/arg-separator.output
    * Q4 p2 I. [4 L3 r% }8 p  q
  588. ; Example:3 Z" R- r, o2 r7 y# k
  589. ;arg_separator.output = "&amp;"
    0 ~" ~4 l$ w# q& D0 m1 f+ A

  590. ; E. w- \- S! @2 [9 h4 b1 E
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    - v3 U4 z! R# l1 u" r2 n
  592. ; PHP's default setting is "&".
    " E; m  f7 m0 D, S- f+ L
  593. ; NOTE: Every character in this directive is considered as separator!
    8 f. L: d& J. x1 \3 U
  594. ; http://php.net/arg-separator.input
    ' x1 Q: n$ y; `6 b. [7 g; e4 W2 v% a
  595. ; Example:
    7 \* e5 i) W+ a1 E
  596. ;arg_separator.input = ";&"
    / w. R- e4 w# ^1 Z

  597. * J; z* M  Y/ D" y/ g4 A
  598. ; This directive determines which super global arrays are registered when PHP
    & S4 i  x4 e8 U6 x) q
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    + _/ Y6 s4 T; G" c
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    % o1 i4 k* r+ L7 q& \4 ~
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    ! \( X/ P# m+ Q/ Z) z* F
  602. ; used as the others, ENV is not recommended on productions servers. You
    ( H, M. h. h) T' X
  603. ; can still get access to the environment variables through getenv() should you- @- H2 P% }! k  N* i
  604. ; need to.
    , ~" |: S$ W, R5 C+ r( A# N
  605. ; Default Value: "EGPCS"
    # A% r" x! b% S7 t+ w7 f
  606. ; Development Value: "GPCS"
    ! F6 Y- m8 n3 M0 u
  607. ; Production Value: "GPCS";, `! q) X. \: @+ q8 j: `
  608. ; http://php.net/variables-order2 l$ b3 K/ m& b; ^- Y/ E3 ~
  609. variables_order = "GPCS"
    5 m1 y( W$ `8 h7 s0 e1 i

  610. 9 Z; k' g3 U/ D7 C
  611. ; This directive determines which super global data (G,P & C) should be: M, p& ~. Z9 A3 i
  612. ; registered into the super global array REQUEST. If so, it also determines- C) G# [8 z" i0 Z
  613. ; the order in which that data is registered. The values for this directive
    5 ~; O* i) `' E, `, v/ w
  614. ; are specified in the same manner as the variables_order directive,
    & g! s+ Y( w$ A4 R- {
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set3 I! ]5 z/ Q# p# ^
  616. ; in the variables_order directive. It does not mean it will leave the super# Q. r" k' S8 a$ O
  617. ; globals array REQUEST empty.$ [: ~3 q8 ]5 T& A( ^
  618. ; Default Value: None
    5 j" C5 S6 U; K" O$ I6 |
  619. ; Development Value: "GP"% y3 O& ~* t7 U$ v$ D
  620. ; Production Value: "GP"
    * J0 t8 |/ X. y% u# z
  621. ; http://php.net/request-order
    ! M, r! o4 H* }# {9 v/ f% h) W
  622. request_order = "GP"
    3 m* t: y7 x8 B# D1 z4 u& f# @
  623. 5 r+ c  Z4 M1 D7 s' F5 s, \
  624. ; This directive determines whether PHP registers $argv & $argc each time it, L' e% p. y; \* A+ w7 q- T! S
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    / s2 p3 t1 |# S+ Y
  626. ; is invoked. $argc contains an integer representing the number of arguments
    4 a4 |$ K, A# }# P( `
  627. ; that were passed when the script was invoked. These arrays are extremely
    # R9 r' F# y  N- f
  628. ; useful when running scripts from the command line. When this directive is+ ^4 g+ X( Y- g8 v( P9 f
  629. ; enabled, registering these variables consumes CPU cycles and memory each time4 U0 L8 M9 r9 v! y( e! @  t
  630. ; a script is executed. For performance reasons, this feature should be disabled# f) s/ K. @6 m+ b0 H& k; D
  631. ; on production servers.6 p  _, a% V. H/ |$ ?4 a: h/ A
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    % k; Z8 E$ Y# h$ ^& ]+ a
  633. ; Default Value: On
    # E. o5 C4 [) X6 Q6 b
  634. ; Development Value: Off
    / F  l; ]& T/ s) ?, B1 @5 |% g7 V
  635. ; Production Value: Off
    1 P5 z9 ]; U$ c' t
  636. ; http://php.net/register-argc-argv
    $ |# I& p. e6 B8 `" s0 v! X4 y
  637. register_argc_argv = Off
    2 i, D5 k) a/ A+ X
  638. % V$ J! {5 @$ E' j9 p
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    " h- W( l7 d. Y2 G: Y$ `: T
  640. ; first used (Just In Time) instead of when the script starts. If these
    ( M6 n: A/ w! A0 k- v" N) n* z
  641. ; variables are not used within a script, having this directive on will result" T" ?/ L$ t! f/ U9 g4 R3 ~+ k
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled' ~7 R* C) n7 |6 v, b7 [
  643. ; for this directive to have any affect.0 ^; Y( S) T! C, Q6 }% ~. b. x0 N
  644. ; http://php.net/auto-globals-jit3 x; j4 M! \$ v+ l3 Q/ A1 C; v# T1 n, o
  645. auto_globals_jit = On4 K1 G0 D' O) p5 [# E" Z7 a; S

  646. ; C/ d1 l9 f; `3 F! M
  647. ; Whether PHP will read the POST data.
    - I/ A( g, V4 }3 E- D
  648. ; This option is enabled by default.
    0 ^8 m) D; W1 Y/ @" F; z
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST% P% T* s; h4 N8 i9 m8 ~) k
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    3 H# p% I' ]0 P4 F' r) u, o  O% y
  651. ; POST data will be through the php://input stream wrapper. This can be useful8 g$ k  o9 e0 a5 ~1 J$ V; @
  652. ; to proxy requests or to process the POST data in a memory efficient fashion." U. v1 ?2 ]/ C
  653. ; http://php.net/enable-post-data-reading
    " O3 m& Y) B5 Q3 z% q! m
  654. ;enable_post_data_reading = Off: M* x: r, a& ~: Q! |
  655. 3 x* r7 T  o0 H4 h5 o# Y
  656. ; Maximum size of POST data that PHP will accept./ z. |: `+ G) j1 K8 A5 H& A. }
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading5 O5 E1 U7 l  u) a5 t9 b; B
  658. ; is disabled through enable_post_data_reading.
    & `6 c8 P3 V: p/ J1 H
  659. ; http://php.net/post-max-size
    0 B4 u' a4 X* v, p! g4 N* U
  660. post_max_size = 50M/ K0 z/ ^2 Y" Q; P

  661. + \# x6 d1 r/ F+ i7 |
  662. ; Automatically add files before PHP document.4 N/ r  ~: S: l2 A2 d
  663. ; http://php.net/auto-prepend-file
    . M/ @9 [6 q  C4 K- d, q
  664. auto_prepend_file =
      D+ U7 X; F# R3 l% T8 u

  665. 4 D3 D" i) L! X" \; F5 T
  666. ; Automatically add files after PHP document.
    / a* m: p  P* Q8 q; R7 v
  667. ; http://php.net/auto-append-file# \. t( i  k  X9 r  r7 y
  668. auto_append_file =0 N7 ]4 C2 \$ C
  669. 1 w/ T/ e) i6 L1 Z' ]8 d
  670. ; By default, PHP will output a media type using the Content-Type header. To
    0 O3 \9 ~2 S$ q9 B7 a& ]
  671. ; disable this, simply set it to be empty.3 X% ^1 \3 `& t1 N
  672. ;
    , `4 p7 D& p* S# }/ s& _6 d
  673. ; PHP's built-in default media type is set to text/html.: Q/ ]3 G5 Q0 I1 d9 Y
  674. ; http://php.net/default-mimetype$ z. o& Y: b  I7 q+ ^( Y
  675. default_mimetype = "text/html"" t) o: Y$ I1 h) ]! U/ f- ~
  676. 3 j9 `2 N" d) Q2 c
  677. ; PHP's default character set is set to UTF-8.
    $ X+ B# w0 ~- v
  678. ; http://php.net/default-charset) J( {* P3 J. b% x- S# Z
  679. default_charset = "UTF-8"
    - i- ?' D' E9 H5 {. o- G* n' z" I

  680. & b  P% b2 y9 U! C' e4 P
  681. ; PHP internal character encoding is set to empty.3 s/ Z- z/ Y5 U/ W0 A4 L' s; s
  682. ; If empty, default_charset is used.
      A* v% G; Y/ ?' p) b- ~
  683. ; http://php.net/internal-encoding8 H1 E3 T5 ^- i: C
  684. ;internal_encoding =
    3 D4 N8 \/ ]8 ~1 s+ Q' w) g; {

  685. 7 d+ n: F: h: U: P+ T/ H
  686. ; PHP input character encoding is set to empty.
    2 y$ s9 E* }% R% D) ?! [" ?
  687. ; If empty, default_charset is used.8 y, q7 @. t: l2 Z  E5 N, o
  688. ; http://php.net/input-encoding7 T; s6 Z" n; W4 a7 y- A0 a) U3 r
  689. ;input_encoding =9 ~. e7 j! r8 @, y- U) q

  690.   q; D2 H3 ]7 L" O( t6 z
  691. ; PHP output character encoding is set to empty.1 p2 b: W4 e/ y2 H& i
  692. ; If empty, default_charset is used.# \0 H/ s) o, l7 y. t
  693. ; See also output_buffer.
    & d& t8 V$ P: m# S
  694. ; http://php.net/output-encoding
    7 g( U, b3 p) K+ ~* \  M3 K
  695. ;output_encoding =
    : \( D4 }7 y; e7 z: I/ M6 ]
  696. ( r/ D  T; k3 e! v! N/ V
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    2 d4 `: d# x4 Y; N' c
  698. ; to disable this feature and it will be removed in a future version.% O3 d, F4 j4 M
  699. ; If post reading is disabled through enable_post_data_reading,
    ( c& ^  T) @: H+ Y$ Y; q
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    1 g0 W0 d* V* @5 V) ^* \
  701. ; http://php.net/always-populate-raw-post-data
    ; s) z1 d) r! h# l
  702. ;always_populate_raw_post_data = -1
    0 Y+ P0 k( r9 P/ x$ w" n! G, e

  703. : ]4 l' Z" u# M3 l: Y' @
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; P  q% S7 @0 q9 H, |
  705. ; Paths and Directories ;
    ! u* L" h; L3 Z& m
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    - A9 w+ T' Y2 v" e* y1 M
  707. + V& Z# m5 m1 H( f
  708. ; UNIX: "/path1:/path2"  x& ?/ k: B6 H3 ?2 m; t$ M
  709. ;include_path = ".:/php/includes"6 ~! \, Q$ `0 w3 g5 |! A
  710. ;
    * e1 F, O$ O$ \' I( E# D
  711. ; Windows: "\path1;\path2"
    : }5 v: k0 `/ X+ @! U5 L; J' C
  712. ;include_path = ".;c:\php\includes"
    - O1 E- A0 b' H* o) T2 E
  713. ;( E, [8 X, u* F1 {. V; ^& t
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    / I2 _' D, l1 O  O2 J
  715. ; http://php.net/include-path5 @( p0 _+ H; [- O) B7 m9 v
  716. ! S4 Z# b5 M5 ?/ \+ r9 h1 {
  717. ; The root of the PHP pages, used only if nonempty.& M) k- v8 W, h1 Y; J" S: r
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    3 N7 c. t2 j5 ~, T$ ~
  719. ; if you are running php as a CGI under any web server (other than IIS)9 L$ Q0 I7 ~  y+ r' \
  720. ; see documentation for security issues.  The alternate is to use the4 x+ u* J$ c  k4 {  W7 _
  721. ; cgi.force_redirect configuration below
    " u1 q, o6 p  Q$ N6 h- n
  722. ; http://php.net/doc-root
    & e: K" q, ?: G  m  D3 h6 j9 ?' y
  723. doc_root =
    ) r+ z) N* s' Y, H1 C6 ^% a
  724. 1 m9 y6 k) @* ]% ~5 s: P
  725. ; The directory under which PHP opens the script using /~username used only- Q3 h5 N& D& u' Q3 W
  726. ; if nonempty.0 \( R3 i2 W) I) D: P+ ^
  727. ; http://php.net/user-dir+ p& ]3 i  h. @, t& G9 {9 b6 Z
  728. user_dir =
    6 i- S" N6 f; ?9 g
  729. , U( r" ^6 v% l
  730. ; Directory in which the loadable extensions (modules) reside.8 y4 H3 T' v- R7 P3 J6 R/ u6 D% E. o
  731. ; http://php.net/extension-dir
    . d$ W0 y4 z; R1 u8 {
  732. ; extension_dir = "./"
    ; ]# C/ x. y# N- J9 K
  733. ; On windows:5 W# I" f  c1 g, T
  734. ; extension_dir = "ext"
    4 r7 y! j! W8 x/ R* ^
  735. * Z2 z! }+ W7 l9 @
  736. ; Directory where the temporary files should be placed.$ }9 v* p, X/ J* C& ^1 ?( |% Y4 N. x
  737. ; Defaults to the system default (see sys_get_temp_dir)
    ! A) M9 K8 i& [/ |6 O
  738. ; sys_temp_dir = "/tmp"9 P* p5 h) z" M9 M2 h" U/ r8 v6 |

  739. ; H$ r& f6 u$ C& t! B  \% s  ]
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work2 g" h. h+ Z. |8 h. q
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically& ]# m" V$ ^- p+ F
  742. ; disabled on them.
    , j" k0 C' _4 L) J
  743. ; http://php.net/enable-dl
    0 A7 g2 O+ {( b. j2 p/ p3 i
  744. enable_dl = Off
    * W2 `  K; R' m2 e* G+ L5 x. i1 \
  745.   R) f* `, U0 Y
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under9 S- Z+ ]0 m, Y, h; N
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    & Q; u0 m+ i' ^+ t
  748. ; turn it off here AT YOUR OWN RISK
    : U+ s/ X, E6 H" _$ w1 z: _0 K
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.*** Q& i# n1 ?. v$ J/ U, Z- t* E
  750. ; http://php.net/cgi.force-redirect5 b, a/ g( @, W5 V0 |% r1 v
  751. ;cgi.force_redirect = 1
    ! @& E4 D9 a6 w" c1 H0 {$ `
  752. " N" O* L; U$ i6 [. {* \
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with- [" ^( [3 b9 Q7 R' }
  754. ; every request. PHP's default behavior is to disable this feature.
    3 s, G1 h3 b0 ^8 \5 Q1 ]
  755. ;cgi.nph = 1& a9 s1 B5 d1 x) O, o: V/ c" c
  756. ( ^$ {+ B! s9 L  i3 ^  B
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape! A( c0 U3 b7 n8 `$ M% z5 ~
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP0 z# {2 u. u' l" x' e
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY5 u" `2 }5 R- [$ G: ~" s, N, C
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ( A# Q! _6 H; O5 n( Q  F, @" P
  761. ; http://php.net/cgi.redirect-status-env/ p+ d& h/ t$ {& L+ O
  762. ;cgi.redirect_status_env =# Q" v- R7 g8 ^% N8 n7 I
  763. 3 q9 E' C. i' Z# O: s6 V, q
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's" @! j( h& K" p& K. p: P
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    9 W) b5 b7 `  m* W- s: ^7 c
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
      v& }3 k1 P4 j- A) @( @
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting% u6 x5 R2 H( R3 `7 }" W; s) [
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    # D4 e# N+ g8 [$ B* S
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
      ~0 U* i( K6 G3 x- I
  770. ; http://php.net/cgi.fix-pathinfo0 |" j- @: E: N% ~1 u
  771. cgi.fix_pathinfo=1. K" D7 @1 i* c8 T! A8 S

  772. 0 V4 B8 ]" i8 U$ S- N
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside" q0 y& _+ Q, s' ~
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    3 b: \5 o  F+ }; V) m" I9 a
  775. ; http://php.net/cgi.dicard-path
      }  ?. ^$ r) W$ p5 }# q. \
  776. ;cgi.discard_path=1! ^% }5 R7 U8 d# }7 {
  777. , I6 K0 K5 u  x
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ' |7 ?1 S; K' O' {
  779. ; security tokens of the calling client.  This allows IIS to define the; h* S* b5 s4 }, U9 ?7 X. A( F# c
  780. ; security context that the request runs under.  mod_fastcgi under Apache0 }8 D# c  D( G
  781. ; does not currently support this feature (03/17/2002)
    & l" t3 Q" a1 S; D  V& U  N! A. a
  782. ; Set to 1 if running under IIS.  Default is zero.5 Z1 C) P9 b7 o0 ]% J: ^
  783. ; http://php.net/fastcgi.impersonate
    7 L$ H1 i6 }# @' d# |  g8 u
  784. ;fastcgi.impersonate = 10 _8 ]* g% M7 H, O- |
  785. ' E: f* V, C/ e; L# w
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    & ]  V, |. O' Q2 }
  787. ; this feature.& c, q/ V' m7 H
  788. ;fastcgi.logging = 0( \  c( c7 ^6 e: U# _: h0 J8 x
  789. $ ~# o) D0 a8 L( J3 I
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    3 Q, w( s, }1 W: \) J
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that6 }# N2 N" y$ _: F2 I' b
  792. ; is supported by Apache. When this option is set to 1, PHP will send; T+ x) `6 q. t( i- `( z! {0 f, X. C
  793. ; RFC2616 compliant header.! r% B' u9 W# D/ s) C9 S2 w
  794. ; Default is zero.
    8 g7 z& |+ ?( c6 j5 W
  795. ; http://php.net/cgi.rfc2616-headers$ K9 R7 h& o: ?/ a7 Z# Z2 W
  796. ;cgi.rfc2616_headers = 0: x8 Z5 D, K$ V. d+ _$ }

  797. 5 Q* K7 x0 H8 Y
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!  k% W# `9 D" R/ U
  799. ; (shebang) at the top of the running script. This line might be needed if the, e+ R5 @0 V) ]' `
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    9 d' O+ }' t$ {6 g* B# l
  801. ; mode skips this line and ignores its content if this directive is turned on.
    $ v( s* \4 B8 G6 P" }, O
  802. ; http://php.net/cgi.check-shebang-line5 b4 j; _/ v' w& v7 g; R9 r) d
  803. ;cgi.check_shebang_line=1
    : f5 P/ I: j2 e5 K# C
  804. % H& Y+ t: g; u7 T
  805. ;;;;;;;;;;;;;;;;! z" Y& b1 c9 Q" `$ N3 A6 Q
  806. ; File Uploads ;
    - ~% [3 G3 }; _5 v* Q5 ?
  807. ;;;;;;;;;;;;;;;;
    ) y/ @( C5 s" F- ?! N$ V
  808. 7 q! m" D+ F2 ?& v& l' h8 [
  809. ; Whether to allow HTTP file uploads.; W7 H6 S! l) v# P' d$ `
  810. ; http://php.net/file-uploads5 e: ~, j3 n: ^' R
  811. file_uploads = On% ^: k% K0 z/ {
  812. " S' i- P: P, f
  813. ; Temporary directory for HTTP uploaded files (will use system default if not8 M" H) }# z* O% b$ z$ R
  814. ; specified).
    8 c0 u% ~4 _2 `5 {7 H3 N5 }7 j
  815. ; http://php.net/upload-tmp-dir
    , i4 w9 b# L6 X- ?2 ^' V* u0 x( B4 }
  816. ;upload_tmp_dir =: j) Y$ z( E' L* L$ N# @$ N9 Y

  817. 9 W6 E; m* o) `( A
  818. ; Maximum allowed size for uploaded files.! E. k" R& g9 g$ U& T7 b
  819. ; http://php.net/upload-max-filesize# w" |4 t* m9 H; O% x
  820. upload_max_filesize = 50M  h2 Z" ^2 E/ R: ^9 m
  821. , E. P3 z) t5 S9 e$ n" G& Y
  822. ; Maximum number of files that can be uploaded via a single request
    ; V7 N8 P5 `, |) E0 Q  Z, x
  823. max_file_uploads = 20, ?  E/ P. A! Z6 l/ u( n; ~

  824. % G# E! r+ @' L. N6 d6 t
  825. ;;;;;;;;;;;;;;;;;;& Z2 \" Y1 Y3 r
  826. ; Fopen wrappers ;
    1 `/ u1 e6 [5 a. ]
  827. ;;;;;;;;;;;;;;;;;;
    # A# D, f/ ]1 [2 r- p

  828. + v# O2 a' T7 s( n
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.+ A9 K0 a/ w4 |0 t5 I4 e
  830. ; http://php.net/allow-url-fopen
    % V$ {( b/ b5 o7 a% O8 s2 m$ k
  831. allow_url_fopen = On
      r) Z/ S/ d4 C4 \) q- M" G/ b+ J2 l

  832. . Q5 t3 \% `! |, M8 }, k" K& }  y
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.1 B& l& p! a# S
  834. ; http://php.net/allow-url-include7 y' L* m+ R( s% j7 ]3 f, M
  835. allow_url_include = Off" i5 c/ F$ s, h/ q# a3 T

  836. $ N& n" x/ m* B) C/ V3 p
  837. ; Define the anonymous ftp password (your email address). PHP's default setting! y" }1 {2 v/ h# p$ ~8 ^( u
  838. ; for this is empty.
    % l% h, D- ^% B# H; q) i
  839. ; http://php.net/from
    ) ^% x( @* n% k" e
  840. ;from="john@doe.com"% V* F- @% A* _8 E% F9 p

  841. 9 [& `$ {. Z+ M/ d  ?% \' X( h
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    8 o  i' B- n" g) s
  843. ; http://php.net/user-agent
    0 J, H5 d% q; i0 j
  844. ;user_agent="PHP"+ Y) V0 M2 V! ^. Q

  845. + N2 ]* K0 ?& k- t! ?
  846. ; Default timeout for socket based streams (seconds)
    # C- ~# f8 Q& }4 }1 `+ ]1 }
  847. ; http://php.net/default-socket-timeout
    $ t' H& j! h. x- m3 j
  848. default_socket_timeout = 60
    ( Z- j8 L7 m! t2 M  m2 u

  849. ) r6 R9 m3 E1 R4 s, b: Y  W
  850. ; If your scripts have to deal with files from Macintosh systems,3 i9 p. C! W' H& f- I' c
  851. ; or you are running on a Mac and need to deal with files from
    $ H2 |. i: ^4 R
  852. ; unix or win32 systems, setting this flag will cause PHP to2 ]1 ]  R2 X! k
  853. ; automatically detect the EOL character in those files so that
    $ Z8 S7 i& q6 T3 p' n, l$ }
  854. ; fgets() and file() will work regardless of the source of the file.
    . K. ?; X# H2 K
  855. ; http://php.net/auto-detect-line-endings
    ) @: T9 ?8 `8 S0 |
  856. ;auto_detect_line_endings = Off
    + J0 E8 C9 i/ m4 b' S
  857. 1 d" ?) S* s8 {% o( ]
  858. ;;;;;;;;;;;;;;;;;;;;;;
    9 t( r: g9 r% F3 a
  859. ; Dynamic Extensions ;* s$ t1 @/ V& A
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ; m& K/ s3 C5 ?  H
  861. ! Y5 [, E3 x5 H* T& B& K- ]. j
  862. ; If you wish to have an extension loaded automatically, use the following
    + U5 c6 o4 d3 ^7 t3 X
  863. ; syntax:
    3 [4 R8 v: d3 W) n1 d5 i. J% K
  864. ;2 ~% d1 ]  Y* O' C) D
  865. ;   extension=modulename.extension
    ! t1 s7 A3 i2 h8 p- i6 E
  866. ;
    ; u! H  Y8 D1 |+ C1 V
  867. ; For example, on Windows:! D  f: R- E8 z/ i6 l, H9 ~
  868. ;
      h) E9 M+ ^6 d5 C
  869. ;   extension=msql.dll5 B+ d0 |( C( ?
  870. ;& s9 w2 W" u& s% g7 u! T( D
  871. ; ... or under UNIX:
      ?( d* }$ @! V/ c6 P
  872. ;
    ) B) o. l6 ^9 h, R  I, I
  873. ;   extension=msql.so. {  r4 m+ P2 x  b4 w
  874. ;. @3 O. l3 S6 K) y$ G- l
  875. ; ... or with a path:" l) h! Z$ M: h
  876. ;5 k/ x& }2 ~2 n% K) w
  877. ;   extension=/path/to/extension/msql.so5 d6 h. ?4 w4 C* D4 l1 }
  878. ;
    0 n4 L' N) _3 I( ]) e. Z' v
  879. ; If you only provide the name of the extension, PHP will look for it in its
    9 K) p# `4 v0 a. S5 u& @
  880. ; default extension directory.
    - {2 X6 C+ v+ f2 I
  881. ;
    ( j: a, }: p8 T
  882. ; Windows Extensions
    + V. \, \) I8 P* \
  883. ; Note that ODBC support is built in, so no dll is needed for it.. \8 ], M5 I2 p: G% ^
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    , W. Y- ]8 S' y8 S# c
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    & \) T' d! R; b; u6 |
  886. ; Be sure to appropriately set the extension_dir directive.$ A  j6 V; f3 [! d8 r/ r( ~
  887. ;
    , @" h$ c0 i: H  [. M1 q$ X
  888. ;extension=php_bz2.dll: P( J4 P; Q: P# o
  889. ;extension=php_curl.dll8 @. c. j" r/ G1 |$ V9 D5 f6 k6 D
  890. ;extension=php_fileinfo.dll3 x% Y' v$ c  T. a7 y, _
  891. ;extension=php_gd2.dll
    , f+ g: V6 t. v  i( C9 I& g0 \
  892. ;extension=php_gettext.dll
    & h0 r( [  Y' S( x% P+ f+ C8 N4 [
  893. ;extension=php_gmp.dll
    8 f' B/ o& m6 Y
  894. ;extension=php_intl.dll5 u& T$ u1 @3 K
  895. ;extension=php_imap.dll4 X5 J7 \5 `* b6 ]# i/ N# \. C* d: j
  896. ;extension=php_interbase.dll
    ( o" G; c+ L  A" D: l/ x' v
  897. ;extension=php_ldap.dll
    + F1 e: w* g8 ~* ]8 K9 D  E; d7 A
  898. ;extension=php_mbstring.dll8 h3 B8 p6 s! y: O" E6 f3 ?0 f/ @
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    . ^% e& Z1 N' h5 i
  900. ;extension=php_mysql.dll
    9 Y' K. X" c9 W5 l' @7 d
  901. ;extension=php_mysqli.dll
    * A% {- u+ R$ x4 C9 P5 ?9 Z2 H
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client- v; `' q- A0 P4 Z8 K
  903. ;extension=php_openssl.dll& {) G+ t/ x- Q+ k
  904. ;extension=php_pdo_firebird.dll
    8 Q( X$ H( Y7 ?9 V7 F- W1 g7 j( A
  905. ;extension=php_pdo_mysql.dll
    5 I, E( `+ A6 u9 k2 U
  906. ;extension=php_pdo_oci.dll
    0 @' ]. t5 ^/ a
  907. ;extension=php_pdo_odbc.dll, S# P' y# x, N! z$ _( z$ ~' r
  908. ;extension=php_pdo_pgsql.dll; B8 O) T% i* n- i- a; ?5 w  F
  909. ;extension=php_pdo_sqlite.dll1 ]/ ^$ `* g8 I; \. F
  910. ;extension=php_pgsql.dll( |3 D( ?% n+ S& {6 a) ]7 Y& p
  911. ;extension=php_shmop.dll2 [$ v8 \% p1 \- p( u
  912. 3 n) [/ Y& d, {4 r4 z
  913. ; The MIBS data available in the PHP distribution must be installed.
    " l. H! E8 x$ b. i1 O* v, O% d
  914. ; See http://www.php.net/manual/en/snmp.installation.php   _  _0 d. n/ f  c! M  y3 I8 |" Q
  915. ;extension=php_snmp.dll) _! }( |" b8 [7 f
  916. 9 A% ^4 J+ j5 i( I
  917. ;extension=php_soap.dll& P$ u$ G  m( K+ J. _
  918. ;extension=php_sockets.dll
    / R* p* z1 |: I, H0 ]
  919. ;extension=php_sqlite3.dll
    . x5 G( y9 Y% M0 E# w) Q
  920. ;extension=php_sybase_ct.dll
    0 @( M8 p& X" G. z% A! y& q
  921. ;extension=php_tidy.dll) I+ J9 C# h, b- z9 I) u1 q) M/ C
  922. ;extension=php_xmlrpc.dll1 ?& \1 @6 k% O+ w* ^+ y1 G
  923. ;extension=php_xsl.dll$ Q8 y9 W* f: X
  924. . K: x# ^& V4 }$ H2 E
  925. ;;;;;;;;;;;;;;;;;;;
    ! t5 B. T' E4 e" }# H0 _$ t
  926. ; Module Settings ;2 Z" o. [, j9 ]
  927. ;;;;;;;;;;;;;;;;;;;4 v' ~9 [+ @- C1 j

  928. % `& @: V& s2 w8 F$ b$ E! S4 ^; q
  929. [CLI Server]
    % }! ?; m! c, z9 k: l  n
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    # z# s  t6 z  x: W
  931. cli_server.color = On2 ?! ~, U, I# v' S+ N9 N

  932. # m3 k* \4 @) d# ~4 |2 ]
  933. [Date]" X9 r3 ~2 N8 F- b* G' x
  934. ; Defines the default timezone used by the date functions* P/ q" N( i! C; @# J* m
  935. ; http://php.net/date.timezone' o# y: w2 H3 w% f5 G+ B! E
  936. date.timezone = PRC
    ; @# o$ {. h) t2 _' [( O6 j) K

  937. 0 u8 J9 \+ b, ^5 s8 m
  938. ; http://php.net/date.default-latitude. x% t2 r5 o4 R+ g; k$ r+ B
  939. ;date.default_latitude = 31.76679 L/ K- l& _4 b6 {4 Q7 Y4 }5 N% q

  940. / W7 {( I' O# N
  941. ; http://php.net/date.default-longitude$ G  {, |( m0 Y) l/ {
  942. ;date.default_longitude = 35.2333
    % s8 x7 \2 A$ k- H* r
  943. 8 e( k+ L8 o, Y4 V
  944. ; http://php.net/date.sunrise-zenith# O* \+ W* M9 E# G3 P* k5 o, H
  945. ;date.sunrise_zenith = 90.5833333 D7 M* h, ~9 }8 C; ~. J5 S: [
  946. 7 }- z" X) S6 R6 n% ?- j6 _
  947. ; http://php.net/date.sunset-zenith
    * B& _( }. E: N
  948. ;date.sunset_zenith = 90.5833333 K# ~8 @$ Q5 O1 p

  949. " Q, G" g  t0 d% ^6 d# m) [& P
  950. [filter]
    - c  ^- Y1 `1 P2 e' g: O6 S
  951. ; http://php.net/filter.default
    ( ?' k; \* |6 _3 }4 S$ o/ x, s
  952. ;filter.default = unsafe_raw
    1 S, ]4 r1 y6 G

  953. , N  l3 |! g7 X4 Z
  954. ; http://php.net/filter.default-flags# H4 y* {1 t. x1 _: w8 i4 I# Q
  955. ;filter.default_flags =8 u, R# w1 V5 @. e# Q" l

  956. . j" a3 g+ T5 v
  957. [iconv]3 i1 H4 M+ {% b1 e  \
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    . |% e. ]9 m) R
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.' X2 X3 \* g% g, e
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding+ U) H9 {' e6 N/ K# w" k
  961. ;iconv.input_encoding =* m2 y( I  ^2 D+ {) a0 l8 i( r' D5 }9 \

  962. $ n, ?2 t# ?% C
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.% e$ m6 W) u" }- M/ p
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.  J0 C/ ~; j2 v; ~5 r% @, t
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ( U- Z6 J2 T9 G* `
  966. ;iconv.internal_encoding =
    & V% @* |0 i% J! R1 Y3 I/ ~

  967.   u' e& d1 z; j5 ^3 R- @7 q
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    0 Z. U( X6 L- i# V/ K( l) K
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    1 T" k7 G0 f( ]: g4 q
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    4 `3 A- x- I; K
  971. ; To use an output encoding conversion, iconv's output handler must be set& X+ N' m9 U' z  ]! S" _7 x$ k
  972. ; otherwise output encoding conversion cannot be performed.& {2 Q3 A$ q0 ]  w7 H* F# ^8 G4 ?
  973. ;iconv.output_encoding =! w+ k+ C1 x4 N# G# S1 E* r

  974. + U3 N% n0 T# W) e! Z3 [
  975. [intl]
    2 J1 g0 J" m. O: e  i5 W5 r3 c
  976. ;intl.default_locale =
    ; O4 Z5 M, ?/ J: Z
  977. ; This directive allows you to produce PHP errors when some error
      ]+ [# o4 H% |( u
  978. ; happens within intl functions. The value is the level of the error produced.
    ; i' S3 F7 q$ L6 Q9 ]
  979. ; Default is 0, which does not produce any errors.. k- d/ B2 v  E4 L" A+ b" W0 |( Y
  980. ;intl.error_level = E_WARNING
    4 K* ?" q: S8 N( f3 P5 b$ @
  981. ;intl.use_exceptions = 0
    - C% G, z, W; k$ W. D1 Q

  982. & v7 U' u& M" P& ]7 A  |6 W! j
  983. [sqlite3]
    ' `) C, N# _2 f3 S5 b5 T- y5 L
  984. ;sqlite3.extension_dir =# ^2 @8 V* o( W) l  S5 U9 O+ i( X
  985. : g1 |' V7 L" Z
  986. [Pcre]
    $ j5 S( R8 a2 v! a0 ]1 p6 s
  987. ;PCRE library backtracking limit.
    & a% ?: V5 H! j" r8 j) K
  988. ; http://php.net/pcre.backtrack-limit# c3 P' ~) u" S8 q9 A' T4 i* r
  989. ;pcre.backtrack_limit=100000
    7 ~/ l, L4 ~# u; u. w  d

  990. % v( L# {( l; w6 y/ u8 g6 c
  991. ;PCRE library recursion limit.
    # L% {. [# G0 j& L4 X  h  ~
  992. ;Please note that if you set this value to a high number you may consume all: \) f" q- ^' Z3 }: _6 I" ?
  993. ;the available process stack and eventually crash PHP (due to reaching the% O, q8 t0 V, Q' l% x; l  K
  994. ;stack size limit imposed by the Operating System).
    5 W5 P2 p0 w4 W* l; i
  995. ; http://php.net/pcre.recursion-limit3 J. K# z, v2 W0 I- y. X! G$ ]
  996. ;pcre.recursion_limit=100000
    & `  b0 g  I! H1 F- t
  997. , ?4 ]0 d6 v' u6 K3 o  r
  998. [Pdo]
    ; ]7 P4 s2 Q- j
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    0 `; V6 h5 B0 Y' \. V0 v+ [  T- l
  1000. ; http://php.net/pdo-odbc.connection-pooling
    / s* N* L) w; g% L
  1001. ;pdo_odbc.connection_pooling=strict
    . i3 b1 {1 P/ {/ a

  1002. . |: t$ i2 a1 B9 R
  1003. ;pdo_odbc.db2_instance_name
    2 T4 X9 X* f! S
  1004. 9 o  c5 j8 \% ^
  1005. [Pdo_mysql]9 g8 m7 z. M4 `8 f5 P4 F. ~! r, B. f
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache5 |$ R: F1 ~7 K; V$ |. Y9 K0 w
  1007. ; http://php.net/pdo_mysql.cache_size
    - n* c$ ^$ M3 L# L$ A$ |. K
  1008. pdo_mysql.cache_size = 20004 ]! E0 V7 q* Z

  1009. 2 B: t/ ]; ]# M; H& E: q
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    0 w: K, @4 j6 B; t* q' v+ I! x
  1011. ; MySQL defaults., N' c, {  f" E
  1012. ; http://php.net/pdo_mysql.default-socket
    5 R2 L4 F" z" i* u! Y8 |) b& `
  1013. pdo_mysql.default_socket=
    2 N# J; m0 A( H

  1014. * i3 Z3 v' e8 b( X: i
  1015. [Phar]' X2 x* G% h6 G* p
  1016. ; http://php.net/phar.readonly
    . b0 E, Y/ _8 J' @" e$ w+ A4 h
  1017. ;phar.readonly = On" d9 `) {: _# {7 Q7 X8 D

  1018. ) {4 m' m2 I6 Z0 G& r0 c+ P) d
  1019. ; http://php.net/phar.require-hash* K1 D# o  x# h) z6 U
  1020. ;phar.require_hash = On- R- r5 u: ^( Q8 L3 Z; o/ L
  1021. . s) ]$ `( n  b3 `1 V/ P
  1022. ;phar.cache_list =4 ]' ?5 B- ^# s+ {" c

  1023. 4 t. e5 E/ S$ x$ S' i# T/ F3 E# R
  1024. [mail function]
    ! i/ A# S$ ^: {# g; m3 y
  1025. ; For Win32 only./ _) X1 ]5 O" t0 N3 l
  1026. ; http://php.net/smtp3 V0 t* q4 `4 J& c- U, i
  1027. SMTP = localhost
    ) }$ P4 s6 X3 d; [1 s6 H/ w+ S/ w+ e
  1028. ; http://php.net/smtp-port% q% H  j$ l0 E
  1029. smtp_port = 25# Y; ~& N8 P, K" H5 e+ Y# x0 V

  1030. 4 N6 W7 `! g  s+ W0 E8 M
  1031. ; For Win32 only.
    4 v5 B- v8 |4 m1 E( G( c5 K+ F4 s" n
  1032. ; http://php.net/sendmail-from& r  B3 v' {8 ~
  1033. ;sendmail_from = me@example.com( R' [! h  f9 C6 d+ j2 l; H

  1034. / O3 I0 c2 i& i4 Q* F3 J# U* \. I; M4 n
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ) j4 C" f* c' @; B
  1036. ; http://php.net/sendmail-path
    ; {* ^! A2 t6 [2 n% g, J
  1037. sendmail_path = /usr/sbin/sendmail -t -i+ t$ }& P/ ~7 T- W% \4 x
  1038. : ]& G# C' `. V0 H8 D- j8 c
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    8 d# c% m/ w1 o" G2 h& \/ |) D
  1040. ; to the sendmail binary. These parameters will always replace the value of
    - j8 T, s# H- m! `9 _# R, `
  1041. ; the 5th parameter to mail().
    6 p% ]4 Y" f" y: A7 N
  1042. ;mail.force_extra_parameters =
    / b8 |1 G. v% A

  1043. / c, i" V" I2 F
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    : s; m+ m  F( \$ H8 R$ |5 s
  1045. mail.add_x_header = On' S, T0 l% d. G3 w
  1046. 6 V! m# X1 A3 ], N$ y# a1 l# d
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    & M7 G6 v: ]5 E1 i" n4 A+ U
  1048. ; the full path of the script, line number, To address and headers.
    5 W; ?. a2 c" V2 s, F: o; c
  1049. ;mail.log =/ R1 g) S7 A. Q/ n- E4 x0 X
  1050. ; Log mail to syslog (Event Log on Windows).% Q; |0 f" h  `
  1051. ;mail.log = syslog
    6 r: d# @0 a3 \- ^1 {. c9 G
  1052. - M% j: c; `3 C2 }/ ?0 q
  1053. [SQL]( d5 m. n  |. N
  1054. ; http://php.net/sql.safe-mode
    * y, @1 l# k1 c# ?5 J2 i' d7 D  a
  1055. sql.safe_mode = Off
    1 y3 H6 I6 ~7 [. i$ U) d* Y: i

  1056. 2 L3 H; ~& I7 ^$ R7 {  D7 f
  1057. [ODBC]
    , O  W4 {) ?# T% j, ~& ~: r
  1058. ; http://php.net/odbc.default-db, b9 ?5 \# B1 n* A8 m" _, T) a
  1059. ;odbc.default_db    =  Not yet implemented
    * a, `* b! t( c7 h' v( e, o

  1060. ! Y# }' `: ~$ I+ |
  1061. ; http://php.net/odbc.default-user
    ' a8 C8 g- x& ^" S/ P) ]% D
  1062. ;odbc.default_user  =  Not yet implemented
    7 h  l9 K5 Q: X) M% a, }, y

  1063. 4 i% Z; G9 q) I* b5 t
  1064. ; http://php.net/odbc.default-pw
    ) Y7 C7 z4 i( ~( ]9 T
  1065. ;odbc.default_pw    =  Not yet implemented6 d* b6 {+ `& k$ H
  1066.   W- c, }1 C% i; v. ]* L- m. j
  1067. ; Controls the ODBC cursor model.
    - R& x) T* x8 r) R2 D6 T
  1068. ; Default: SQL_CURSOR_STATIC (default).# w( e9 c) B0 S6 ?, C- Q% p( T
  1069. ;odbc.default_cursortype
    7 L1 `* P. a; b8 o; G

  1070. % A* e3 A; t! m5 B3 V
  1071. ; Allow or prevent persistent links.1 g0 R7 a. s4 {$ A/ V$ g4 J; z4 }
  1072. ; http://php.net/odbc.allow-persistent7 u& w# h9 I( \5 U# D' o
  1073. odbc.allow_persistent = On
    " K" X5 V; h( X  O

  1074. 9 o) h! R0 M! c# v
  1075. ; Check that a connection is still valid before reuse.
    , h$ g0 {+ O3 p% H) ]
  1076. ; http://php.net/odbc.check-persistent
    " `2 _: ~, `( Y/ X. x
  1077. odbc.check_persistent = On/ u: U9 k0 D4 x+ p' {9 ]0 C" F

  1078. 8 n& I: t; u( N$ e1 ^. ^/ Z
  1079. ; Maximum number of persistent links.  -1 means no limit.' P( a( i3 C& \) C* N( Q" E
  1080. ; http://php.net/odbc.max-persistent- M6 f9 ]- V( b8 H: c7 s6 W" c
  1081. odbc.max_persistent = -1
    3 a: \& a% \9 J

  1082. 2 ]2 W: ~) x  L# t7 ~8 M0 S$ u7 X" F
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    7 t9 w  k) ?0 m
  1084. ; http://php.net/odbc.max-links5 b7 e" P, C0 ~' P+ y/ r2 W/ a$ m* b
  1085. odbc.max_links = -1+ B4 h( _4 I8 n
  1086. 6 Y  p: S+ D) Z" ~6 a9 \
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means# e# [9 `2 G  _, w# t/ m
  1088. ; passthru., k/ H  X" n) O
  1089. ; http://php.net/odbc.defaultlrl
    0 U* d# i& l. u7 o# u! G8 n  n
  1090. odbc.defaultlrl = 4096; q/ i: w; a% n8 r. P) W' g& `4 Y
  1091. ! b  ~/ b# p. C; e' u
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.  l5 G6 r% b$ E( K$ J! A
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    / t" M: J: B' A4 R& a4 x% v- }; n
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    4 s7 V, E2 J4 G7 U$ R% e
  1095. ; http://php.net/odbc.defaultbinmode
    * E2 V) F% R* _" ~
  1096. odbc.defaultbinmode = 11 w, w- L9 r9 x1 x  h
  1097. " B* P! d3 w* ?; @; C) j2 M5 B
  1098. ;birdstep.max_links = -1
    ( L" t1 a4 H1 s) _

  1099. 7 h/ H/ H" y  w. L( _
  1100. [Interbase]
    , G- E$ o4 m0 @7 y- P/ y
  1101. ; Allow or prevent persistent links.) @1 p. C1 i: @5 o# P( o, z6 g* z
  1102. ibase.allow_persistent = 1+ T: s8 @5 Q5 T% \0 Q- J* b6 Z
  1103. 9 ]9 d7 y9 }1 ~
  1104. ; Maximum number of persistent links.  -1 means no limit.
    + Z. K3 d& P0 a# O' e! ]
  1105. ibase.max_persistent = -12 h; R, S8 l! v1 ^3 ~( E4 N3 O
  1106. 6 I: \& l/ J1 e# U$ J
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! c8 G+ r5 `' L; ?7 k
  1108. ibase.max_links = -1
    # J& l5 ]$ E$ q; k
  1109. % ~4 K" L( e/ k: U
  1110. ; Default database name for ibase_connect().: x) J3 O/ c2 x) u
  1111. ;ibase.default_db =9 [4 G% B0 b& D5 X

  1112. 1 l* q  x$ K7 c2 ^% i. r7 g1 E
  1113. ; Default username for ibase_connect().
    ( o; d0 ^. S9 a
  1114. ;ibase.default_user =: }2 {3 y2 f! Z0 C4 x9 M
  1115. 2 O1 k$ K7 A5 `0 d
  1116. ; Default password for ibase_connect().7 K: S, V" p% a/ j5 a- a, k1 q
  1117. ;ibase.default_password =" \: Z2 G9 h$ y

  1118. ( ^' z& B& n# n& k
  1119. ; Default charset for ibase_connect().% J" T, a8 R8 r; z+ @
  1120. ;ibase.default_charset =
    / y8 k# t8 Z0 z1 G' U. I

  1121. % E* K5 p- x8 ^8 h/ [" X5 a8 I
  1122. ; Default timestamp format.
      ?6 Q/ Z3 U. }- K: h( R
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ! R: ^+ j- k- R8 [0 D

  1124. % |6 \5 G, |6 y3 a; A! l% K* r
  1125. ; Default date format.% \( v( O+ |7 @: M2 N# C+ B- f$ a
  1126. ibase.dateformat = "%Y-%m-%d"
    0 P5 |1 C2 P1 Z* {& j! f& \- r- l# ?

  1127. % B3 \* k9 k$ B2 ^
  1128. ; Default time format." Q* i9 u2 N9 G8 ]
  1129. ibase.timeformat = "%H:%M:%S"9 E6 {3 X$ u! C1 E+ |

  1130. , v, @; B% C9 v2 h8 x; }1 F  a4 v& z
  1131. [MySQL]
    % }/ H" b* p8 ]7 J& o
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements, x2 \: ?! h! |4 x* ]% D
  1133. ; http://php.net/mysql.allow_local_infile
    1 E4 ?' D) t( T3 u0 S$ S
  1134. mysql.allow_local_infile = On2 }1 ^! N" `8 x) ~3 K; p- m
  1135. " c& @0 Y3 r# E
  1136. ; Allow or prevent persistent links.
    ' Z* i( G8 X6 Y$ B" b
  1137. ; http://php.net/mysql.allow-persistent; J  X( M  z3 e8 r& f: Q" g5 Z2 C
  1138. mysql.allow_persistent = On
    / R" K6 n* [7 f/ L- W( w; C3 a! `6 a

  1139. * L, ~" t  L# k' K) @
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    1 v+ |5 q, c- D$ i" G  g4 C- q
  1141. ; http://php.net/mysql.cache_size
    1 M/ f+ p0 Y( V
  1142. mysql.cache_size = 2000; U! |* V% p6 T# v3 i2 b  Z1 m3 J
  1143. * c3 |7 ~8 s, U3 C, l5 v, Q
  1144. ; Maximum number of persistent links.  -1 means no limit.
    # v# W1 e3 n6 T5 W! M, {* O( [4 n; _8 f
  1145. ; http://php.net/mysql.max-persistent  Y" \* t+ b; i# W, _  Y
  1146. mysql.max_persistent = -1
    8 [9 {& ~* @# G3 D
  1147. ; H0 p  t, k8 [1 F" j
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 }+ ?9 [" h- b3 m6 b4 t2 d
  1149. ; http://php.net/mysql.max-links
    7 B' N- M# O$ b$ d/ n: i8 L0 i
  1150. mysql.max_links = -1
    7 F, o5 A2 s" {: N( S0 }
  1151. / k( S5 a. I9 @4 o. N
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    2 K0 U$ Z% {6 A+ I% L1 C
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the8 o' Z4 t. Q" p+ `
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    8 a/ w, l" Y6 t8 p# s
  1155. ; at MYSQL_PORT.1 Z4 l# H, e; A  E4 d5 X# V% R
  1156. ; http://php.net/mysql.default-port% ?2 t0 z! r1 |9 k  p* j4 s) K
  1157. mysql.default_port =
    4 P' r, d9 m# @! i5 @
  1158. $ w8 o6 [5 @0 K5 S/ T
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    9 g5 p# [( d; b+ r+ }. M8 ?" Z
  1160. ; MySQL defaults.
    ! l7 r- j9 U& s, r  T7 S7 s
  1161. ; http://php.net/mysql.default-socket
    $ ?- K- |4 A" [! T; |& \
  1162. mysql.default_socket =/ l. A5 |6 x" A5 @6 i: U

  1163. 1 ^6 w. ?: g, [" f& }$ }
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).+ D1 N. q* d" p) j4 H: @' Z8 }
  1165. ; http://php.net/mysql.default-host
    ; O. y) Q5 M# E, [5 Z# j
  1166. mysql.default_host =
    6 r8 `; N5 c: a
  1167. 3 H: h$ l( n- K5 i3 g1 O
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).! V2 |6 j% s2 d9 c% N: E
  1169. ; http://php.net/mysql.default-user* ^& c. E* r5 q  N7 T9 }: i
  1170. mysql.default_user =
    " v8 K, M) U8 R" q8 m  J' a9 D

  1171. . X1 k! K% X  w. u# i6 ?: l
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
      T, M1 w0 S2 }' O& u
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.- J2 O5 T$ n  q" n% {( }6 q* S
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")0 s3 m6 Z% r7 K9 {
  1175. ; and reveal this password!  And of course, any users with read access to this
    0 j; o4 V5 g4 U; N
  1176. ; file will be able to reveal the password as well.! a" d# }0 s3 ?7 x" }
  1177. ; http://php.net/mysql.default-password8 T# Y: q3 N/ I3 v7 C
  1178. mysql.default_password =
    0 u8 J: V+ d5 o2 u
  1179. # R  j7 s% s* K' {% }6 a
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit+ F  d! V/ I9 [9 M: [, }
  1181. ; http://php.net/mysql.connect-timeout) `6 ^+ s% K/ x; l
  1182. mysql.connect_timeout = 60
      v" g2 k% p' k' v9 W1 r
  1183. 4 K% H) B/ X) I8 |) H7 R& i3 E  q: B
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and1 S5 Z/ U0 g+ N$ t/ p; b
  1185. ; SQL-Errors will be displayed.
    / v: w! A: w) [, O  _
  1186. ; http://php.net/mysql.trace-mode- q7 I% y5 H6 p/ d8 q
  1187. mysql.trace_mode = Off
    & E& O. l9 Q5 [
  1188. , f# L* S& K' t4 v
  1189. [MySQLi]. k- }( d; _0 u  M2 v' @/ G8 @) `- n
  1190. ; u' J- d; k# r6 V6 O# R( Q0 ~
  1191. ; Maximum number of persistent links.  -1 means no limit.
    / G% a9 M. S+ m3 R
  1192. ; http://php.net/mysqli.max-persistent3 M* q. U' |; l) c
  1193. mysqli.max_persistent = -1
    ( g' d4 y1 B* M
  1194. & W; b+ D* w& w8 r
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements: f' p, w, s" ^( a6 ?; e( J: @
  1196. ; http://php.net/mysqli.allow_local_infile
    8 ?. @- o' ~% T  l+ R5 a, p4 p5 K
  1197. ;mysqli.allow_local_infile = On
    8 p0 I, y) s3 j' L$ D; \
  1198. ; [" D0 K$ [9 m: O
  1199. ; Allow or prevent persistent links.
    % w7 t$ g' H. l9 \8 Y
  1200. ; http://php.net/mysqli.allow-persistent
    - \1 i( @( B/ ?4 }
  1201. mysqli.allow_persistent = On
    ! `) ]4 V3 {9 ?  Q+ a6 y! ]1 d* a

  1202. ( n* _# y: z( v
  1203. ; Maximum number of links.  -1 means no limit.
    / y( [* O7 H/ u- T
  1204. ; http://php.net/mysqli.max-links# J# d2 {& `2 i7 f+ ~
  1205. mysqli.max_links = -1
    ( G$ E. s6 n7 Y* C
  1206. ! l- Z' H* y3 e' [" q0 [
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & a- j  L0 l3 M8 s- x
  1208. ; http://php.net/mysqli.cache_size* |! c. z5 e5 d, N( m2 l$ u! U
  1209. mysqli.cache_size = 2000
    - R! X  H3 @3 D0 G. u
  1210. 3 m  s( q) n6 j
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use6 [- g1 {' w+ I8 j$ c9 T
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    # O# g# H. z( c/ R7 ?- c
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ' t' ?2 k1 F, l% }" a( i  x# f! o( m& K3 @
  1214. ; at MYSQL_PORT.
    ) L/ R! ^! g: \" b$ z5 i  q
  1215. ; http://php.net/mysqli.default-port
    2 e' n$ a) u/ }! u8 j5 C
  1216. mysqli.default_port = 3306  D/ L' E& E! x* R7 N
  1217. 8 A1 Y- e' v* n* A6 w
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ) b5 a. L9 I  C( ^5 x9 S$ U  h
  1219. ; MySQL defaults.0 X: T4 N4 `" \8 r: l4 c5 U% u
  1220. ; http://php.net/mysqli.default-socket
    * R! @! f6 N" V& s  A: K% y0 n
  1221. mysqli.default_socket =
    + @8 B* i6 w. b. Z5 l2 N! V4 }7 x

  1222. 9 ]( v- B9 y" ]' y
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    8 g$ N. f: f1 {
  1224. ; http://php.net/mysqli.default-host& h+ C9 G) H& z7 W3 [
  1225. mysqli.default_host =
    ! \. v5 R5 l% Z; h- i

  1226. & I7 I$ c2 a& R5 H# g
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).( H) f/ T: [2 T& L8 N
  1228. ; http://php.net/mysqli.default-user
    2 P  @, z0 ]/ W4 d# g
  1229. mysqli.default_user =
    2 R4 {5 m$ W* h# d" ]3 c
  1230. 5 n* o+ N7 T+ }- t6 M
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    * j: m3 N+ @0 z  i, V, N# j
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.9 V' m7 W' N! b& O
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ! P  s+ a8 \* H% J; f$ `) |7 ^' }; n
  1234. ; and reveal this password!  And of course, any users with read access to this
    , D$ s; U: E2 X% g  `6 T3 j$ E
  1235. ; file will be able to reveal the password as well.
    2 w6 {* I/ [- y3 J
  1236. ; http://php.net/mysqli.default-pw* f% n; F% m( u) e7 e
  1237. mysqli.default_pw =& w, t+ [3 G& Q+ x0 g. |3 Q

  1238. ' n5 z- H. N; p  Y5 j: p' |
  1239. ; Allow or prevent reconnect
    0 D6 Y( l- v1 f9 ?5 m
  1240. mysqli.reconnect = Off+ [2 a, H6 k; C% }% [3 k$ L) Y
  1241.   j$ ^1 r6 r0 P- B/ M; X! C
  1242. [mysqlnd]- V' C3 j( F; `& o* T/ O
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    " h: p0 G5 T3 I0 h; Z" D9 t
  1244. ; used to tune and monitor MySQL operations.
    ) F, c( u* f$ W  A7 [
  1245. ; http://php.net/mysqlnd.collect_statistics
    % |- ~/ D" E" i
  1246. mysqlnd.collect_statistics = On
    3 ~  T9 T# ^  V  y+ ^/ S1 t! o- c2 l

  1247. 7 B8 d& o) N, i. L7 ]% ^+ l
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be+ Q* s% f# S' F+ r; [& |  q" y* F1 `
  1249. ; used to tune and monitor MySQL operations.
    / Q9 s( ]" P1 X
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    9 A  x! {) R2 g1 [. x8 A- _: F% S
  1251. mysqlnd.collect_memory_statistics = Off
    , G' }9 u( S+ ]: t/ L1 U
  1252. : U2 e: Q' b. h4 z9 f/ C1 I
  1253. ; Records communication from all extensions using mysqlnd to the specified log5 f  @/ A" b1 @+ G$ l9 \
  1254. ; file.
    # N. A- m$ ~2 [. a& ]" \) o
  1255. ; http://php.net/mysqlnd.debug
    0 Y; F( J- x) k- g. w
  1256. ;mysqlnd.debug =
    9 u1 B3 r$ g4 j' p5 @
  1257. : V1 @: R# _3 x; S  w% ?6 U0 N, b" G
  1258. ; Defines which queries will be logged.) N$ \8 @' R0 q: M4 T
  1259. ; http://php.net/mysqlnd.log_mask
    $ W+ s5 m* I- D: H
  1260. ;mysqlnd.log_mask = 0% R7 u! b7 a3 w, m' c; J' D
  1261. 6 k; S1 d3 r( i2 c: g" g4 `
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.( N$ D$ v: t* {  x  O
  1263. ; http://php.net/mysqlnd.mempool_default_size; U0 k6 Y! r& H7 X2 _3 _# Z
  1264. ;mysqlnd.mempool_default_size = 16000& I3 s  t2 k- |: }  s9 ^  p% d# v! Z
  1265. - M) j. h+ `2 D& m
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.( s6 J1 x; ]( z( _# x1 c  ]$ [1 x7 E
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size& H$ V* o: \+ d) Z
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
      r8 r6 R* p3 g. k5 Z* \

  1269. * G( l. ^2 t& G$ K
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    , x/ S9 ~0 g* c" A
  1271. ; bytes.
    ( y% M/ E  v% @
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    7 Q/ p( l. c7 K8 y3 _
  1273. ;mysqlnd.net_read_buffer_size = 32768
    # _$ a& j. f% q' P' E9 u% g

  1274. 0 o, k/ @' C5 T/ u1 x) q8 `5 ~# _
  1275. ; Timeout for network requests in seconds.
    ! D! F! A: I$ H4 A, Q
  1276. ; http://php.net/mysqlnd.net_read_timeout
    1 o' U1 ^* k7 v* V* J
  1277. ;mysqlnd.net_read_timeout = 31536000
    & e# z' z' L- |0 ~5 s7 g9 B1 x

  1278. * F/ Q5 l# |1 m
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ! @* o1 o/ T, p: V( k. y9 U
  1280. ; key.
    & {. w) @' G8 N' u  I
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    # [- a$ i# E- H
  1282. ;mysqlnd.sha256_server_public_key =. ^0 A& a, W7 N! b; g

  1283. / Q7 |. F  x1 \' p, x3 @6 \2 }
  1284. [OCI8]
    $ _# M. d- R' b
  1285. 0 }" `4 s4 ?9 q3 e5 a, |7 ^: N6 h
  1286. ; Connection: Enables privileged connections using external
    ; |" }4 m( f$ m. M
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
      v' p9 _$ S8 c  |* ]% X! l
  1288. ; http://php.net/oci8.privileged-connect
    8 @7 M0 c; E# O  U6 _: Z/ D
  1289. ;oci8.privileged_connect = Off" i. }' H3 h. t  X. G7 P7 q: f. g4 c. S

  1290. + I, X1 [1 g* J  v$ B& L
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    3 c4 i* Z# Q( ^2 p3 E
  1292. ; process. Using -1 means no limit.
    2 b5 y1 _6 c5 P: ^3 U# q7 H3 u3 B( K
  1293. ; http://php.net/oci8.max-persistent
    7 u: q$ j( m8 y" |( A2 O
  1294. ;oci8.max_persistent = -1
    ; w& ~' o2 A$ W$ a: y- V4 a) X

  1295. ' E! s, y) F# C" ~) R+ y7 h
  1296. ; Connection: The maximum number of seconds a process is allowed to4 h0 ]4 m3 C) E
  1297. ; maintain an idle persistent connection. Using -1 means idle0 m# f& ~1 b9 o5 m( {2 j
  1298. ; persistent connections will be maintained forever.
    & d- H: t1 T& o1 @
  1299. ; http://php.net/oci8.persistent-timeout
    5 u& ]3 z. Q5 X" U3 u3 G
  1300. ;oci8.persistent_timeout = -1
    3 f( @, t; [. ]9 F2 ?; E
  1301. / T! Y# w( w0 w
  1302. ; Connection: The number of seconds that must pass before issuing a/ a5 c0 v* ]( O
  1303. ; ping during oci_pconnect() to check the connection validity. When
    ! Z" E' S$ u2 a! g& P" p7 I
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    + ^# q# \* ^# v8 J$ I
  1305. ; pings completely.
    & l. I$ X( @  v# n' Q
  1306. ; http://php.net/oci8.ping-interval. O' y, `' f: v/ O! c
  1307. ;oci8.ping_interval = 60
    & M$ d9 n- J$ b
  1308. 8 k- N- P. e7 l3 c! a0 X$ x
  1309. ; Connection: Set this to a user chosen connection class to be used% i! x! |5 y' d* `
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    & ~& J; o# ]8 \* R
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    * z, u0 c$ m* V
  1312. ; the same string for all web servers running the same application,
    % W2 }! p  e& {$ d9 ~; m
  1313. ; the database pool must be configured, and the connection string must! g0 e4 L+ S. }2 i2 S& A
  1314. ; specify to use a pooled server.% Z% X2 l9 n5 j: f0 I1 _' o: Y
  1315. ;oci8.connection_class =
    8 K- f* H2 t" V9 G! z/ r6 Q7 D
  1316. 0 [1 U& [8 @& ?1 z3 @( X
  1317. ; High Availability: Using On lets PHP receive Fast Application
    ' N$ F1 K# U' ]
  1318. ; Notification (FAN) events generated when a database node fails. The
    1 w8 @/ E' T% i$ ~
  1319. ; database must also be configured to post FAN events.6 I6 X: e, e1 F! {; s/ |4 @
  1320. ;oci8.events = Off
    2 q, }! y. V/ r9 p2 V5 i: Z( a
  1321. 8 Z% T7 r$ ~! b' u, ?6 P
  1322. ; Tuning: This option enables statement caching, and specifies how: A9 Q5 a+ `8 n5 [6 R2 p
  1323. ; many statements to cache. Using 0 disables statement caching.
    . y& \: ~8 N4 o9 R- O
  1324. ; http://php.net/oci8.statement-cache-size
    & v' _- L8 ^' i6 L; S1 `+ I
  1325. ;oci8.statement_cache_size = 20
    1 @* _8 h% H+ y* `5 i: r  f$ L
  1326. 1 M# n7 a8 W% V/ _$ u
  1327. ; Tuning: Enables statement prefetching and sets the default number of$ M9 O' S& B; g/ y7 _
  1328. ; rows that will be fetched automatically after statement execution.( a; _( m" A5 V: i
  1329. ; http://php.net/oci8.default-prefetch
    4 B: E4 z) L0 C& w* i& P6 N- ]
  1330. ;oci8.default_prefetch = 100
    0 Q! {% B  M! n/ a3 q/ s

  1331. ' @1 i. Q: P; A) L$ @9 B/ m
  1332. ; Compatibility. Using On means oci_close() will not close
    / K: y5 a8 R2 ]
  1333. ; oci_connect() and oci_new_connect() connections.
    ; @% e2 O. z# R# q- j$ r2 g1 \
  1334. ; http://php.net/oci8.old-oci-close-semantics
    7 U# a/ z, v# r. Y6 e" m6 X
  1335. ;oci8.old_oci_close_semantics = Off7 I- T4 d" K" C, B  n9 n# g" Z* O7 i6 q
  1336. ' G( b% r' t; h' ?& s
  1337. [PostgreSQL]# @2 Y9 S! `. _4 E- J2 }
  1338. ; Allow or prevent persistent links.
    / f8 z8 H0 O0 R8 H
  1339. ; http://php.net/pgsql.allow-persistent
    ( t" ?* b6 W- Q. v' W% Q: T
  1340. pgsql.allow_persistent = On
    % p3 s2 v5 F: O5 \& n8 x- ?
  1341. * v0 O2 Q* E5 F
  1342. ; Detect broken persistent links always with pg_pconnect().# y" X# s9 W" X6 k) `/ q' F
  1343. ; Auto reset feature requires a little overheads.( Q5 Z. j. M+ {8 o9 i
  1344. ; http://php.net/pgsql.auto-reset-persistent  x# C8 ^2 O) c% E
  1345. pgsql.auto_reset_persistent = Off
    ; ?2 A) e) V3 I1 Q
  1346. ; B% z- I7 D9 `$ l7 t
  1347. ; Maximum number of persistent links.  -1 means no limit.; g4 i3 R0 M. V
  1348. ; http://php.net/pgsql.max-persistent+ Y# U8 _6 n8 v$ }/ }& w) D9 a
  1349. pgsql.max_persistent = -1* @  w$ p2 C5 C3 S' x

  1350. / `( Q! _: I2 U$ Q& t: s# Z0 h
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    & _% S8 h7 L; _
  1352. ; http://php.net/pgsql.max-links% E" e  p" B4 h3 l8 A! b4 d
  1353. pgsql.max_links = -1: T' B4 ]6 c: @( b% u6 q- p* h
  1354. ( m1 @& c, b; j3 ]5 z
  1355. ; Ignore PostgreSQL backends Notice message or not.9 k  U: ~* F8 W  N& I% q- R6 [% H
  1356. ; Notice message logging require a little overheads.; }* Z5 A0 S6 U$ G* g' q2 C
  1357. ; http://php.net/pgsql.ignore-notice
    * q2 A7 P1 y" M3 j
  1358. pgsql.ignore_notice = 0
    " `3 m  I1 l9 `* N1 C

  1359. 4 d$ q3 I6 ^* a1 G& p
  1360. ; Log PostgreSQL backends Notice message or not.( o8 K2 r* o* s; q
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.) V) k9 h7 v! Z
  1362. ; http://php.net/pgsql.log-notice
    ' P* V* d2 {2 u9 H, O- Z
  1363. pgsql.log_notice = 05 n  C1 ]: Y+ E+ J

  1364. ) h) J& g3 U& [2 x$ h) J5 y
  1365. [Sybase-CT]
    # g- m& k" c' J9 A; i: g6 C8 X
  1366. ; Allow or prevent persistent links.
    ' Y# {' H$ z( P; }# d
  1367. ; http://php.net/sybct.allow-persistent
    ; b- }7 m3 ^' c2 L
  1368. sybct.allow_persistent = On
    ) k" l/ L% ^- Y) P' V* D- _/ G& ]

  1369. 3 T( R0 Q4 ]2 k# x
  1370. ; Maximum number of persistent links.  -1 means no limit./ F0 l0 X- ^" |; {2 d
  1371. ; http://php.net/sybct.max-persistent+ c; H2 Q9 S7 h/ v& \# x9 S
  1372. sybct.max_persistent = -1
      Z. W" [( h  @9 u$ M. \8 l

  1373. & d6 `. |6 K9 j9 i1 x
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    / |4 {! D+ Y  Y4 @
  1375. ; http://php.net/sybct.max-links; r4 K$ b2 p' B: N, S! P
  1376. sybct.max_links = -1
    ) l& @( R: N1 s7 \, n; H
  1377. ' u  Q% ~( d6 B/ X- @; [3 \
  1378. ; Minimum server message severity to display." K9 q5 @3 E' r; o
  1379. ; http://php.net/sybct.min-server-severity" u5 H: ~2 Z3 ^8 B8 v) O
  1380. sybct.min_server_severity = 10
    0 w! [* V, \# {# l
  1381. / w% Q( `7 R/ s9 C
  1382. ; Minimum client message severity to display.
    2 H* R5 v6 A5 D. G0 Q7 g
  1383. ; http://php.net/sybct.min-client-severity
    % |5 F9 l; K& }) q. J) H8 l
  1384. sybct.min_client_severity = 10/ I5 y7 u# J+ u
  1385. & {' m* ?. n& S, Z% Z; \, u
  1386. ; Set per-context timeout0 J' W4 K/ z0 J/ p
  1387. ; http://php.net/sybct.timeout
    ; K  A+ f/ c( l
  1388. ;sybct.timeout=
      h- i3 I, w+ Y" u
  1389. 1 j. I. y6 W& s
  1390. ;sybct.packet_size' W6 F0 \% M4 X4 M

  1391. + O9 h, @* V% E
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    7 @! Z7 T  t" v; A% U. O
  1393. ; Default: one minute, ~+ {1 z% B" ?( A, u: U
  1394. ;sybct.login_timeout=
    . o/ N: P( g" J6 \1 M  H; E
  1395. ) w9 m; i; ^1 {+ Y0 n* a5 V7 e' Y
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.9 |& k2 j% b" X- D+ q
  1397. ; Default: none0 i0 i0 {1 w; @* \5 v8 u( {
  1398. ;sybct.hostname=1 `- G% ^! n5 v. B
  1399. ; H4 p& T" B/ P5 n# A
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever"./ G6 ?5 n6 R: g3 ^& C% n
  1401. ; Default: 0
      u3 B* \# G( E. t
  1402. ;sybct.deadlock_retry_count=
    4 `; d) M1 ]% h
  1403. , l1 t/ @% Q+ j+ d2 k
  1404. [bcmath]
    1 @4 U8 R: K8 G' ^
  1405. ; Number of decimal digits for all bcmath functions., U  M; E  q4 G3 ]4 d) w0 F% A
  1406. ; http://php.net/bcmath.scale* s; o" ?7 v1 G: m4 M* t, G( f1 l
  1407. bcmath.scale = 0
    0 T- a3 `' M7 U8 H
  1408. ! J6 v0 Y1 J& b8 r5 i5 k. p
  1409. [browscap]  ~; s+ [& r" h* S5 }+ S2 j0 }
  1410. ; http://php.net/browscap" @  i  X, i% Y  u: {2 K
  1411. ;browscap = extra/browscap.ini
    0 E8 b. h$ N4 [2 I: b* B4 r
  1412. % `: J. Y: o8 z
  1413. [Session]; p+ A, a3 G2 k
  1414. ; Handler used to store/retrieve data.
    - O7 L( Z2 B: t/ n5 }
  1415. ; http://php.net/session.save-handler
    ' f4 E/ ?1 @# O* ^
  1416. session.save_handler = files* I+ _  Z( C3 Z- N/ a+ q
  1417. ( |; _3 o: {9 f1 |; y
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    - j; [% |% Z+ B2 U/ E, j: `' z
  1419. ; where data files are stored. Note: Windows users have to change this0 t4 p0 x# P- \9 P& B; @0 }+ X
  1420. ; variable in order to use PHP's session functions.5 i1 }8 q; K# l1 n0 n2 O# }
  1421. ;
    * Y& Y# f" X- M3 L1 U
  1422. ; The path can be defined as:
    & `$ H% m* d3 K: j) \' r
  1423. ;3 R" ]; B) W+ B0 }4 N4 R! m! Q
  1424. ;     session.save_path = "N;/path"
    & W( I5 ?3 @4 @( _9 b
  1425. ;
    6 T. x! l* L5 z2 t
  1426. ; where N is an integer.  Instead of storing all the session files in9 j8 r2 y& H0 q/ a, g! A2 x# q  c
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    1 v) G' D! s, k$ C. P, |
  1428. ; store the session data in those directories.  This is useful if
    ' C8 w4 ~  b$ I  u# `! J6 c. H! Z
  1429. ; your OS has problems with many files in one directory, and is2 ?2 i% f! Y, V3 }# ?" i
  1430. ; a more efficient layout for servers that handle many sessions.
    ! X& q4 ?7 i8 d
  1431. ;
    4 Z7 `- V9 b: t- I: z0 d2 F
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    % K  n& [' G4 u! X9 \& q
  1433. ;         You can use the script in the ext/session dir for that purpose.
    3 e" u) `$ x+ ]& h
  1434. ; NOTE 2: See the section on garbage collection below if you choose to& J- h: U9 C: u, O* k8 w9 S
  1435. ;         use subdirectories for session storage. O7 h) M# b+ J' ]' D
  1436. ;3 E. z" h/ ^+ g1 [9 r4 _; N
  1437. ; The file storage module creates files using mode 600 by default.
    8 E& S& Q* W. y& |% Q
  1438. ; You can change that by using1 T9 W& u$ j6 z: F9 ~
  1439. ;
    1 {2 N/ h# u( I+ {
  1440. ;     session.save_path = "N;MODE;/path": U: z8 j4 S- t. y3 \: J
  1441. ;) b9 e3 L) M, ?/ B" B- o) o6 t+ p
  1442. ; where MODE is the octal representation of the mode. Note that this
    6 c, _) F$ p  q% u* ~8 t* S; J
  1443. ; does not overwrite the process's umask.
    5 A+ u: ~8 q3 u- u  B3 J
  1444. ; http://php.net/session.save-path
    " H4 b, G! n, y, M. j# {" _5 X, z3 w% L
  1445. ;session.save_path = "/tmp"% x) N5 S4 _  j* [. Z
  1446. ) t% K; L; g) @
  1447. ; Whether to use strict session mode.( h- ~1 I: j) f
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate: j# F: m' G6 O3 c9 ~
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    4 i( R# H7 I& f* }2 {* O2 u
  1450. ; applications from session fixation via session adoption vulnerability. It is! O7 @8 K% l! o1 \
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.9 Y4 I! E6 I+ M  M5 ~6 t
  1452. ; https://wiki.php.net/rfc/strict_sessions% E9 H3 j1 x- {) ?* \6 e* ]
  1453. session.use_strict_mode = 0% I: c1 m0 w  @4 Q! `
  1454. , V6 T5 K! y; P2 G4 p! U
  1455. ; Whether to use cookies.5 Q" I+ L% m) W, c( L. p
  1456. ; http://php.net/session.use-cookies
    . W: V) `' C& e6 ]1 h
  1457. session.use_cookies = 1
    % d/ c. J# s* S, y) i7 s5 u, f

  1458. 4 F6 j5 M. h; ]$ Q% k
  1459. ; http://php.net/session.cookie-secure
    7 N8 H. c! w3 o! g  E- E: V. M
  1460. ;session.cookie_secure =
    : w* S9 P" N$ J: d+ Q& v
  1461. * W0 Q, l% `2 P0 d& V5 @
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    8 s4 C2 B  r% A8 A4 Z* C
  1463. ; the session id. We encourage this operation as it's very helpful in combating# V  l/ i$ S  C7 N1 `! r8 T
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ( c. T- V" E( S6 v) l. u0 d  m- [! _
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.$ W  ]6 U' Q) q1 x1 ^" n; @/ e
  1466. ; http://php.net/session.use-only-cookies
    ) c% [/ O" `9 f3 C( h
  1467. session.use_only_cookies = 1
    $ N# U9 {' a; j$ P5 q7 _
  1468. 4 v; j$ h, T9 I# k/ D: P' Z
  1469. ; Name of the session (used as cookie name).' p$ C& q* e# C) d# j% J
  1470. ; http://php.net/session.name
    3 u# }- V  `- g, ^* M
  1471. session.name = PHPSESSID
    3 y* ]. y, C! d. D, o
  1472. 1 ]4 h( K5 ?3 p( k
  1473. ; Initialize session on request startup." Y) u1 |- x$ G: E
  1474. ; http://php.net/session.auto-start7 q7 C7 g, I* m" i5 n, D
  1475. session.auto_start = 0+ {  @' ]  c" [$ w, z2 a) X

  1476. 8 `3 t0 C7 o$ ]  j# r
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.9 W1 V: v5 W. W+ a
  1478. ; http://php.net/session.cookie-lifetime
    ) H, q6 [& I! d$ K9 |
  1479. session.cookie_lifetime = 0! X1 Z8 W' v$ I
  1480. 6 @8 J  K; [+ j* Z. c, ?; G
  1481. ; The path for which the cookie is valid., q. b( V  T" `* C' H+ O
  1482. ; http://php.net/session.cookie-path' ?9 @, _5 H' v$ {9 k' x& o
  1483. session.cookie_path = /- P- ?0 C9 F4 ?0 i' J: a/ w) D4 `
  1484. # }" t; z- w2 g
  1485. ; The domain for which the cookie is valid.# ~4 @  ]7 x+ Q
  1486. ; http://php.net/session.cookie-domain
    ! h# l' {& x8 b0 V7 O$ y* h+ g
  1487. session.cookie_domain =
    ) Q7 l0 w  l& }$ Z$ K0 P' M

  1488. . F% t- Z2 _- |* J6 T* S& t
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    0 y: F- }$ T/ p4 n4 U( Y% k6 f
  1490. ; http://php.net/session.cookie-httponly
    % h! m# z$ ], i# D6 q
  1491. session.cookie_httponly =' s. o- _2 n$ \, m
  1492. - ?2 P/ s; x1 D* x2 n2 G
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.9 t9 t! P/ u( z. X
  1494. ; http://php.net/session.serialize-handler$ `! T2 Q- \% O6 d5 w5 D& _
  1495. session.serialize_handler = php
    ) ]% r& t, Q) W) d+ a3 [2 z
  1496. ) C3 j! y3 t# g% x7 v1 C5 C; H
  1497. ; Defines the probability that the 'garbage collection' process is started
    ' w, a/ @2 T7 ^3 J1 ^) t
  1498. ; on every session initialization. The probability is calculated by using1 E; R. ?9 n" O+ {+ }% p; G
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    : @$ u6 t9 z3 J! M9 u( p/ X/ o0 a
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 19 u( A' p5 a5 v/ \
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    4 ^1 e9 p" V5 I9 n. g
  1502. ; the gc will run on any give request.
    3 c7 a3 i) C* O$ E
  1503. ; Default Value: 1
    % |. Z3 Z  a( h- ]- I' H
  1504. ; Development Value: 19 V- w, A$ U& |$ B  Z4 |) u, b5 f
  1505. ; Production Value: 1( M5 G% q7 X' H# e& j
  1506. ; http://php.net/session.gc-probability, e0 f) s1 K) `; h! s
  1507. session.gc_probability = 1' P; c" F* W' O
  1508. % ~0 `3 f% a% D
  1509. ; Defines the probability that the 'garbage collection' process is started on every( Q" T# i1 j, Q7 l' U( B7 ^; M
  1510. ; session initialization. The probability is calculated by using the following equation:
    " G) B9 M  M: z" o5 n! C
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    % B- \5 x. S  T, J5 z7 G+ v9 ^
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 16 e6 X8 `4 S/ _! t+ j  F! _' W+ v6 p
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    , K; v- i. P- s. @
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you( Q* R+ K# ^! U5 j
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    6 f  ?* V4 ~; b2 A% y
  1516. ; this is a more efficient approach.! i: D5 D  f! Z- S  f9 C  ^
  1517. ; Default Value: 100$ }) Q# J6 @: I+ X
  1518. ; Development Value: 1000
    3 Z8 _4 v4 j8 Z1 I% c. P$ L; u
  1519. ; Production Value: 1000
    & P3 \. p$ o  [2 i' l
  1520. ; http://php.net/session.gc-divisor. C% y% C) f: @  k$ i2 L1 M: g
  1521. session.gc_divisor = 1000% A& x+ K/ g; x, P  m8 `: Z

  1522. : T( c: p# c/ V2 R4 c4 \, N
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    5 g5 o! [4 J" L7 Y) P1 [% V' v9 J
  1524. ; cleaned up by the garbage collection process.. h0 [9 b2 I! i8 k. ^8 d: H7 o
  1525. ; http://php.net/session.gc-maxlifetime
    7 y; k* z! H6 D1 d
  1526. session.gc_maxlifetime = 14407 @8 a1 Q) S/ t' D: t. `8 }

  1527. ' I# a$ d7 A$ {; a  h
  1528. ; NOTE: If you are using the subdirectory option for storing session files2 F7 U- o6 n- l6 E  U! }4 M6 L
  1529. ;       (see session.save_path above), then garbage collection does *not*  B& _4 B7 u7 F5 X( g/ y
  1530. ;       happen automatically.  You will need to do your own garbage5 w  L, ^& ^. }  s4 I
  1531. ;       collection through a shell script, cron entry, or some other method.. I7 r0 D" \- ^2 U. c! o. y
  1532. ;       For example, the following script would is the equivalent of1 l5 P3 M7 Q6 Z, J; n- J1 r
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    8 _- e) E3 a/ d3 A+ Q7 @# }0 b
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    , `2 s9 u# y: M0 H* f
  1535. 4 v$ }- X: J2 c# i$ k; f
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.0 H& D6 c: a# s6 W, X) {' ^; @8 S
  1537. ; HTTP_REFERER has to contain this substring for the session to be6 M& U+ ?) H7 E4 F
  1538. ; considered as valid.6 i# A2 A: H: f, ~
  1539. ; http://php.net/session.referer-check- ]- M/ s  P. H. c% B7 W+ ]
  1540. session.referer_check =
    : {- D" ^* z1 M. {$ V

  1541. / z6 R; w6 o+ [
  1542. ; How many bytes to read from the file.
    ; C# L$ C* ?, F) ^+ ?; }  ^- w. a! Y
  1543. ; http://php.net/session.entropy-length7 x3 H  f1 _6 e% i/ ?; q/ U, Q1 @  f
  1544. ;session.entropy_length = 32
    1 X1 t; M& T: B+ o2 g6 f
  1545. + s. e: k$ P9 i5 W1 _
  1546. ; Specified here to create the session id.
    ) P& Y7 X( s: Y  b
  1547. ; http://php.net/session.entropy-file
    + l4 V" c0 o) w$ Z4 N  c" |
  1548. ; Defaults to /dev/urandom
    4 R  i8 {9 Q5 w. ?' Z4 L
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ' X7 Y0 S: ]2 D2 r) w
  1550. ; If neither are found at compile time, the default is no entropy file.
    $ v. R5 q: `  e9 [
  1551. ; On windows, setting the entropy_length setting will activate the2 L9 w0 Z/ ?; _" }
  1552. ; Windows random source (using the CryptoAPI)- e$ Z" S1 d% X
  1553. ;session.entropy_file = /dev/urandom/ S; l* L- G- B

  1554. # i- T9 P5 R9 s* B
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects, d" T- o2 i9 U0 {: u5 S' r5 }
  1556. ; or leave this empty to avoid sending anti-caching headers.( ^. `1 W- y* x4 w. n/ M/ M
  1557. ; http://php.net/session.cache-limiter9 J# A  I$ a+ H. O3 N0 ]
  1558. session.cache_limiter = nocache6 V0 j& y. Z+ D
  1559. ; O4 U! J& Z$ g. E  J/ y! I2 p) A4 n
  1560. ; Document expires after n minutes.
    - q5 g! F. X/ l, S% R$ ]' z# K
  1561. ; http://php.net/session.cache-expire. V, Q3 v5 f+ P/ g# }, k& ?
  1562. session.cache_expire = 180
    / a; j4 k6 g; r% q

  1563. 9 [% S, a( S" ]- ~( g: W; U+ J
  1564. ; trans sid support is disabled by default.
    . b" A2 j( ?) }. f' i
  1565. ; Use of trans sid may risk your users' security.
    * E$ [1 h, H+ c# p* e6 T2 S8 _
  1566. ; Use this option with caution.0 _* H$ o! _: L* D7 G
  1567. ; - User may send URL contains active session ID4 M2 U1 M8 T6 I$ j' A
  1568. ;   to other person via. email/irc/etc.
      S2 T# D1 [- X/ `
  1569. ; - URL that contains active session ID may be stored) d& ~+ S/ M/ g+ K, O/ C
  1570. ;   in publicly accessible computer.9 u" y1 @1 Y$ L: K! c/ P
  1571. ; - User may access your site with the same session ID; \" Y! F6 {. L" J0 K7 y* U# ]" I
  1572. ;   always using URL stored in browser's history or bookmarks.) p! D) K8 ?( V7 M
  1573. ; http://php.net/session.use-trans-sid) J+ k1 F  _, i6 J# G) P! V  F
  1574. session.use_trans_sid = 0/ n+ D" D. ^" d

  1575. $ c0 ?7 R. N, C# G& u2 T
  1576. ; Select a hash function for use in generating session ids.' u7 G& l( d/ N3 d: s; O$ x; k" ^' b. r8 E
  1577. ; Possible Values9 F# O: k7 j& ]: \6 y$ Q
  1578. ;   0  (MD5 128 bits)
    : I1 y( M$ f$ q! X. B; D
  1579. ;   1  (SHA-1 160 bits)
    8 D' Z& G* f6 g- H- n- s- n1 A
  1580. ; This option may also be set to the name of any hash function supported by
    3 e% i0 e* ^' }; s9 M
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    $ m! W8 }% `% [
  1582. ; function./ O5 @7 ^8 y9 [6 D$ m+ O8 Z$ D# \& B
  1583. ; http://php.net/session.hash-function
    & F8 R. U% a' Z# b
  1584. session.hash_function = 0
    8 s  S/ c9 ^  m5 m% [4 B! N

  1585. . P6 z1 |" d: t$ U- P
  1586. ; Define how many bits are stored in each character when converting
    . M, v' i. N' l6 i* D# R
  1587. ; the binary hash data to something readable.
    0 M& D2 I6 X# ]* @1 U7 A
  1588. ; Possible values:1 |4 p3 D' D1 V! l& G9 M
  1589. ;   4  (4 bits: 0-9, a-f)/ k* @" G6 l; D7 u0 B
  1590. ;   5  (5 bits: 0-9, a-v)1 D" f% w3 P, d
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")( y; r( [0 _1 u, A
  1592. ; Default Value: 49 T5 d& u; `1 |3 c. {
  1593. ; Development Value: 5
    0 {7 _, g) K" }% ]
  1594. ; Production Value: 58 M( A, P. P" D5 g" s8 N# W  h5 T
  1595. ; http://php.net/session.hash-bits-per-character
    ) U8 \. A1 U% e3 V% l
  1596. session.hash_bits_per_character = 56 z1 G: \% J, p6 w$ ], [3 V

  1597. . e' `/ r; L& @% r3 X
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.; F  Y9 Z* b: {
  1599. ; form/fieldset are special; if you include them here, the rewriter will1 |! g4 ~+ J0 ]
  1600. ; add a hidden <input> field with the info which is otherwise appended
    6 K8 q3 Y, Y2 \
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.' C& f; f& {. y7 g* E2 Y) O1 h+ \
  1602. ; Note that all valid entries require a "=", even if no value follows.% E$ k3 e* l  p: k  r
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="% X, a; }' t0 I2 R' U  {
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry". T* i- v7 O  ?9 T9 t
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 N* d# p% [- }
  1606. ; http://php.net/url-rewriter.tags+ A% M: F& f! j! P) s6 k* f2 i
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"2 q- D; b) y9 M! H

  1608. 4 Q) M% i/ T0 ]+ `0 F6 T& t2 n
  1609. ; Enable upload progress tracking in $_SESSION* ?( T" ?7 M7 G* _( A
  1610. ; Default Value: On
    7 ^* y) h5 p' c8 N  v9 S7 m- h. m
  1611. ; Development Value: On( {0 c) T. G  `6 B
  1612. ; Production Value: On, g% ~9 a9 M  b1 A# ?/ K
  1613. ; http://php.net/session.upload-progress.enabled
    $ ?. s. k% O5 P; J6 y$ g
  1614. ;session.upload_progress.enabled = On$ D& _) V7 p5 [  u2 k% Z

  1615. ; F" s3 L1 L- d) _" g
  1616. ; Cleanup the progress information as soon as all POST data has been read% s: G  D* @) h7 w
  1617. ; (i.e. upload completed).
    + j! ]' D" ?5 @: P2 k
  1618. ; Default Value: On7 ]. X8 x; A6 W0 A9 h" X, m
  1619. ; Development Value: On
    ( x0 ?$ L! i# E$ H
  1620. ; Production Value: On  S/ [$ N' n3 L
  1621. ; http://php.net/session.upload-progress.cleanup
    3 W- ^1 |- U' D2 C3 W- Z
  1622. ;session.upload_progress.cleanup = On/ X6 U% U) W" M  D- L8 m" M
  1623. ) U9 v7 p. z1 s  C" j$ V$ A+ o  @, G
  1624. ; A prefix used for the upload progress key in $_SESSION
    7 `& e0 H; w+ R7 t9 Y
  1625. ; Default Value: "upload_progress_"8 i! ?: z" O/ b2 s) g+ Z
  1626. ; Development Value: "upload_progress_"
    ! S" j9 b& ]% v7 W6 B' Z
  1627. ; Production Value: "upload_progress_"( e7 z. }9 }1 c" H: s. i3 \
  1628. ; http://php.net/session.upload-progress.prefix4 W$ n4 ]0 F% [5 s4 v
  1629. ;session.upload_progress.prefix = "upload_progress_"( L# a0 P/ p* z2 ~
  1630. ( Y8 Z, y( f9 I% N; c1 ^
  1631. ; The index name (concatenated with the prefix) in $_SESSION& B8 g$ v5 @! S+ P: p9 q) L! K8 O
  1632. ; containing the upload progress information
    # _# N# h; u) U. R+ |- Q
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    " l/ M4 W1 K* V+ s& e
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    0 I# h4 A* Q/ Q8 N$ R. i
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"& A3 ?6 E  A, k4 W! ~5 a
  1636. ; http://php.net/session.upload-progress.name4 F9 W3 w4 P- Q0 i
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    " a, G: j5 F! x
  1638. # a3 j5 \9 j, \8 I/ E' z
  1639. ; How frequently the upload progress should be updated.1 K) ?* R, [0 O+ Z
  1640. ; Given either in percentages (per-file), or in bytes
    9 B; z$ J% U" c/ ~  {; ~
  1641. ; Default Value: "1%"& [5 u- Q* d1 g0 X
  1642. ; Development Value: "1%"
    + C5 ~5 M# [$ f0 [
  1643. ; Production Value: "1%". e; |; a3 W( V5 p. g3 e
  1644. ; http://php.net/session.upload-progress.freq0 D3 a2 D+ P. `# ^
  1645. ;session.upload_progress.freq =  "1%"
    $ c4 L8 C2 i# u0 G9 @
  1646. ; k0 x% k6 m$ d- C8 {
  1647. ; The minimum delay between updates, in seconds2 A- C$ ?5 ^* J0 {
  1648. ; Default Value: 1
    * l- [* {* c3 K3 P' H  G, e8 T# t
  1649. ; Development Value: 13 n. _: ~$ i5 b. C8 T
  1650. ; Production Value: 1: s: X& ^/ ]8 r. e0 `6 V
  1651. ; http://php.net/session.upload-progress.min-freq# j  O! i5 g- d) H1 A6 ~' y$ D
  1652. ;session.upload_progress.min_freq = "1"
    , X9 ?& {% H; W( a2 B
  1653. + V# t3 L8 U6 O+ z9 e* T1 q/ r
  1654. [MSSQL]/ l3 D; s5 _: }+ B5 G& Z
  1655. ; Allow or prevent persistent links.0 }4 |/ ?( i! [; o
  1656. mssql.allow_persistent = On, {6 j  u: V$ Q# u; p, U
  1657. % v0 E. m, {- z4 B4 O4 [
  1658. ; Maximum number of persistent links.  -1 means no limit.) I* v% y& |2 ~
  1659. mssql.max_persistent = -1
    1 ]8 q! G( [7 M! ]) R: B

  1660. , w" u, w) u) L. b
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ( n  w1 M: H2 p/ N/ f
  1662. mssql.max_links = -1* [" F) g3 j" Q

  1663.   y0 M- W; {/ B9 R7 ?% ]
  1664. ; Minimum error severity to display.
    * W: u0 f; C, A9 A4 \
  1665. mssql.min_error_severity = 101 B" }' w7 t8 d6 W/ y+ o1 e

  1666. # _' E1 h0 @/ [' p0 s, K
  1667. ; Minimum message severity to display.
    + k! ]$ {# a, K5 h8 u1 D
  1668. mssql.min_message_severity = 10
    # I- J7 j, l2 {/ e6 V4 B. B
  1669. , w9 F' F2 q1 G" f4 f# P2 H0 O8 F
  1670. ; Compatibility mode with old versions of PHP 3.0.
    6 Q9 D" H4 d4 J6 s, D
  1671. mssql.compatibility_mode = Off, k5 D1 |& A  q, F) h4 R* p1 E
  1672. ; [) V) k/ g0 t' B
  1673. ; Connect timeout
    : M/ [7 w" v6 X1 ?
  1674. ;mssql.connect_timeout = 5
    $ z2 `/ g# N" I8 N7 h2 k
  1675. 3 ^. ]0 M# F8 z1 C! ]. H5 F
  1676. ; Query timeout
    , k3 G7 a, |2 }4 u( j- C
  1677. ;mssql.timeout = 60
    % v; M# A0 [. D% K; C. S+ j* y
  1678. : S# w+ d6 L# Z/ G
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    & y: }! p) P  E. N# m/ U
  1680. ;mssql.textlimit = 4096
    % Y. i5 ^6 t& U2 A6 z+ L" z% N
  1681. 0 @3 k& g4 i& E# p: [( t' ^
  1682. ; Valid range 0 - 2147483647.  Default = 4096.1 R+ w/ u0 z) X, R: f
  1683. ;mssql.textsize = 4096
    ; F# _3 ], V5 R$ X6 U- I! e
  1684. 7 B4 j' }& f0 O) [& S4 g  I
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    " B4 i& I/ q' B( i( w- c& T  J: H1 B
  1686. ;mssql.batchsize = 01 M& L2 C! u! F

  1687. 7 R! z, p4 K$ k' U
  1688. ; Specify how datetime and datetim4 columns are returned, C1 u5 G7 u, z* j# E  W
  1689. ; On => Returns data converted to SQL server settings
    5 o0 x& d* _# J
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    . Q# A: @+ B/ ?, M" A
  1691. ;mssql.datetimeconvert = On5 e1 z+ [7 V  a: l5 ]! u7 a( y- B( R
  1692. 9 A5 U: X4 C5 B
  1693. ; Use NT authentication when connecting to the server
    ! O: O' |) ^, L: \. A- E
  1694. mssql.secure_connection = Off) h2 n$ Z- L) H- k; Y
  1695. % _/ _7 l1 |+ V2 f  |, [  m
  1696. ; Specify max number of processes. -1 = library default
    ( ^. A0 i8 y6 t8 b* ~
  1697. ; msdlib defaults to 259 C0 m' t% f" V* ?; a
  1698. ; FreeTDS defaults to 4096! C- Q) d) U1 x! c
  1699. ;mssql.max_procs = -1( ~8 Z4 U  E' L6 _% P- H. u7 U7 a

  1700. ! s) ]+ Q3 @5 C4 `
  1701. ; Specify client character set.
    : g& `" `8 B  ^$ B7 @1 W* ^' r/ P
  1702. ; If empty or not set the client charset from freetds.conf is used3 J+ d( R! G/ r
  1703. ; This is only used when compiled with FreeTDS
    4 k4 X0 K) h) o% t) l
  1704. ;mssql.charset = "ISO-8859-1"! _, Y- \. P2 m  @! i
  1705. . K4 W7 l) D' s+ _* _
  1706. [Assertion]& I/ E+ x" O1 N6 X; E- y8 M
  1707. ; Assert(expr); active by default.0 h, I" e. M$ h8 V- M5 O
  1708. ; http://php.net/assert.active
    + y0 R0 U! e4 D
  1709. ;assert.active = On
    % h- G7 g! N* m  y7 [: K& K8 B

  1710. ' r! r* p' E- v& U+ X. W1 _
  1711. ; Issue a PHP warning for each failed assertion.
    1 @- R9 P$ w+ [' v
  1712. ; http://php.net/assert.warning
    % m' v2 C, H6 t
  1713. ;assert.warning = On
    ' S5 n% I& N7 {( I6 b3 }
  1714. & A: t# M2 p& B' A' V, e/ T% w4 p
  1715. ; Don't bail out by default.
    3 H" Y- L- R0 y# P: c
  1716. ; http://php.net/assert.bail
    ; ~0 s0 L5 R/ G( J4 U7 P) F% @0 }- Z$ G
  1717. ;assert.bail = Off1 J  p: A4 {& ?4 a5 V
  1718. - {: G/ U) U. F6 ^( C2 F
  1719. ; User-function to be called if an assertion fails.: d, \6 e3 T! J" Q" R$ q. ]! X
  1720. ; http://php.net/assert.callback* O" z8 I- x$ w8 s' R) j2 ~
  1721. ;assert.callback = 08 j% J0 g; i3 ^6 u- M
  1722. & f6 A) l7 A( j9 m% n. ]8 x
  1723. ; Eval the expression with current error_reporting().  Set to true if you want% Z  N1 Y# \$ y- E
  1724. ; error_reporting(0) around the eval().- L1 n+ s. Y! e
  1725. ; http://php.net/assert.quiet-eval0 w6 @7 K$ l9 n: P+ [+ ?
  1726. ;assert.quiet_eval = 0' Z- t9 S+ d. X# M; @7 n

  1727. 4 U. a2 Z" b& u" N
  1728. [COM]
    % {3 m/ i+ P2 y, h! `  M6 u
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs! f. C, a3 R3 {: t' o
  1730. ; http://php.net/com.typelib-file  e; m# L7 @1 @8 {! m/ c
  1731. ;com.typelib_file =
    * w' j3 S( K" D, @5 [8 {
  1732. 3 B$ S$ P' N& j% ^' s8 Q0 u
  1733. ; allow Distributed-COM calls) u4 J" `1 D: Y: y# w: }: R
  1734. ; http://php.net/com.allow-dcom# e! K" ~% V: e' K
  1735. ;com.allow_dcom = true, {/ r6 @" L- }8 k" ^
  1736.   c; D/ L8 |; L, F1 N: q/ o
  1737. ; autoregister constants of a components typlib on com_load()* @7 G0 L/ w) g6 F$ C
  1738. ; http://php.net/com.autoregister-typelib5 `9 c+ N: u( X' O- P# z
  1739. ;com.autoregister_typelib = true
    : F/ f8 n  R9 S6 X

  1740. / ^4 @( u2 j* Q* V% i
  1741. ; register constants casesensitive- z8 {- [4 d- |. }3 I8 k1 k
  1742. ; http://php.net/com.autoregister-casesensitive! V5 Q* r) h- d9 c5 Z' T2 D: z! g
  1743. ;com.autoregister_casesensitive = false( p% r+ l7 P0 A- x
  1744. - n' g: d* i9 N2 c: [
  1745. ; show warnings on duplicate constant registrations
    5 L# g" U4 {; }7 S, @
  1746. ; http://php.net/com.autoregister-verbose
    # c: M. q- h" _4 d6 {* _# g/ h1 l
  1747. ;com.autoregister_verbose = true
    / x1 y3 b; B5 }, O, d& j0 R6 r2 I

  1748. , n( _/ I. E4 h
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    $ Z$ z0 c9 \/ T' w, z& F2 s! [- Y
  1750. ; Default: system ANSI code page
    - \; P. X, x9 I( U
  1751. ;com.code_page=
    ! F1 }- E! Y* l5 B
  1752. 3 {2 p0 i" H& ^+ J
  1753. [mbstring]
      |" R% M, c% B/ H
  1754. ; language for internal character representation.! C! d4 Y$ N" f8 m1 B
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.4 V* W4 q7 X! W; [# q% a5 F
  1756. ; http://php.net/mbstring.language4 v1 r( E/ A! u7 |
  1757. ;mbstring.language = Japanese
    5 }/ ^( d& `/ ?- g* A2 m; l

  1758. " f( ~1 y: I) v+ m+ v3 {
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    # Y( s3 K* ~( r
  1760. ; internal/script encoding.# b2 S3 _) a( @8 f
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    3 c  N- E- B% a4 m/ }* p: ~
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    # o! j5 o% n+ \" }
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding& X0 S1 B2 B8 c
  1764. ;mbstring.internal_encoding =, N: Q4 r4 s4 T8 u+ c9 X
  1765. 5 |3 O: `0 r1 [6 ]
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ' G, S% u8 Z- {- z. ~
  1767. ; http input encoding.
    9 T, w# P. }$ }- O% Y
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    & C. u  K( [7 S2 D0 d
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.$ I, r" p) ?/ l+ U: Z9 ^
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input& q: S  ?; [5 a# R. h) v8 }
  1771. ; http://php.net/mbstring.http-input
    0 i3 t  h( ?- ^5 V/ B# `& ?" I, a
  1772. ;mbstring.http_input =
    ! ]# x+ N4 S  n5 K

  1773. / p* ^0 w0 L# `" r
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.- u! a6 e+ ?# {/ U! d8 E% D8 i
  1775. ; http output encoding.7 F/ H0 o1 r. ^9 n$ \
  1776. ; mb_output_handler must be registered as output buffer to function.' T/ ]9 ?1 i" k  `6 T; K9 d
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.. d0 ?$ h6 I! L) Z, L6 {( B1 h, U- u
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    2 h( e/ f2 ^4 R& U+ ~
  1779. ; To use an output encoding conversion, mbstring's output handler must be set: F) b! @7 E5 J8 ~
  1780. ; otherwise output encoding conversion cannot be performed.- x5 t( s* R7 S+ k8 N! J- W4 T
  1781. ; http://php.net/mbstring.http-output
    6 B; M! ^) G  O! z5 a0 X
  1782. ;mbstring.http_output =( P) M1 a0 x& B$ _1 Y4 O

  1783. 1 @8 O- ^# b+ c" g3 @
  1784. ; enable automatic encoding translation according to0 p! Z. l6 }: ?! [
  1785. ; mbstring.internal_encoding setting. Input chars are
    ! d1 a, h. L3 J" H! s( a
  1786. ; converted to internal encoding by setting this to On.
    6 T' x/ g( f/ b" c8 E
  1787. ; Note: Do _not_ use automatic encoding translation for
    3 W1 A: F6 A/ g6 x
  1788. ;       portable libs/applications.9 H( L" w) M8 I/ l/ d* C
  1789. ; http://php.net/mbstring.encoding-translation; w; G# q8 G& b; C+ s. w, m% n! n
  1790. ;mbstring.encoding_translation = Off5 u- k. V9 \  q7 u+ @

  1791. ; R& G8 t1 G, x0 b$ Q
  1792. ; automatic encoding detection order.
    % W* I; }0 a5 p# O- n' R( s
  1793. ; "auto" detect order is changed according to mbstring.language& A: [4 Q& X2 `! ^* P! Q; U* |
  1794. ; http://php.net/mbstring.detect-order
    ! z2 ]; `7 o1 V  J! r' a& f
  1795. ;mbstring.detect_order = auto
    8 N: ^  D! o- _$ i7 V% A
  1796. 0 h: F# Q% n  Z4 h& @* R
  1797. ; substitute_character used when character cannot be converted
    1 x1 m! c$ w% z  h
  1798. ; one from another% q" V7 ~" ?* f; g) E9 a
  1799. ; http://php.net/mbstring.substitute-character
    * D( ~- W' D  E$ O# z* }6 \: E
  1800. ;mbstring.substitute_character = none
    % I3 O2 ]+ ?5 N+ R1 r
  1801. , Q8 _  D- |+ w& t7 g+ s0 \: y
  1802. ; overload(replace) single byte functions by mbstring functions.
    / \! |; v$ j- x
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    % e- f' s! Q: `* b3 C) {# V
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    % R! g; n6 {9 @0 k$ j
  1805. ; For example, 7 for overload everything.
    / U% _+ C0 j( `
  1806. ; 0: No overload
    1 e+ B8 [" l$ J7 m
  1807. ; 1: Overload mail() function, `! @  j% K' K$ t8 Y8 _7 d" F% H
  1808. ; 2: Overload str*() functions
    $ J( E: [+ b: V/ o* f
  1809. ; 4: Overload ereg*() functions
    . C, g& Z7 @5 k' a! X4 S+ l* ~6 ~. ^+ m
  1810. ; http://php.net/mbstring.func-overload1 a2 R; U6 ]. g+ Q( C5 D2 k9 }! {* \
  1811. ;mbstring.func_overload = 0  _4 c2 [( ]8 ^  r: [! V0 `) R. @

  1812. 7 s2 `4 w7 N1 N0 {& T$ O; d' P( Q
  1813. ; enable strict encoding detection.
    - {& a4 k8 d& j$ P5 H' s
  1814. ; Default: Off& D& F: c* p' `" g
  1815. ;mbstring.strict_detection = On5 h& c  E1 ]( V& J- u2 _9 k

  1816. / W, D7 w4 h$ D3 T9 `9 i4 E# u/ ]
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    4 _+ t: d1 a! @1 Y" x! H. |
  1818. ; is activated." f# E" n$ X4 i4 I4 @
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)8 V4 _7 A2 b; H! `* j
  1820. ;mbstring.http_output_conv_mimetype=* q( J. V; L- r& h6 q
  1821. 6 c- m# K8 K4 _% f; F$ r  B  n
  1822. [gd]9 ?3 `' o: e2 {( H1 ~' f; V# G# F
  1823. ; Tell the jpeg decode to ignore warnings and try to create1 T# {/ M' d+ x6 U' X4 C' T4 Z
  1824. ; a gd image. The warning will then be displayed as notices
    - A% O/ J* b& r: Z& y
  1825. ; disabled by default7 h$ w+ e, p3 ^
  1826. ; http://php.net/gd.jpeg-ignore-warning
    4 k: l7 z: L" o- c
  1827. ;gd.jpeg_ignore_warning = 0
    7 V% B. q2 }) p  _
  1828. % ]. z' ~% _" s9 M# [
  1829. [exif]
    - E+ j. W3 b2 a1 ?: {" O1 y' T" C
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    8 |6 O* a* M' g, V: [
  1831. ; With mbstring support this will automatically be converted into the encoding- H, r; z: r! P  O
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
      e9 `8 E- s2 @0 z- `/ B
  1833. ; is used. For the decode settings you can distinguish between motorola and/ `8 t6 J& y4 J1 T+ L4 a( `
  1834. ; intel byte order. A decode setting cannot be empty.2 {) S& b7 i# s' G  G
  1835. ; http://php.net/exif.encode-unicode" r' T3 ~9 x( r# Q: S
  1836. ;exif.encode_unicode = ISO-8859-15
    1 Y* T1 K# k. ~7 z
  1837. + ~& \* R7 K, f( J; f
  1838. ; http://php.net/exif.decode-unicode-motorola
    , ~: u( z3 U% J1 Y1 R
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    * w# X# H: a# F- i

  1840. 1 t0 y. U% J- y
  1841. ; http://php.net/exif.decode-unicode-intel
    / N; o: A7 d$ d* X1 H7 c* F
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    " v3 {" t8 _  M9 T4 H
  1843. + Y. K% z" W+ ~5 W' w( V
  1844. ; http://php.net/exif.encode-jis! M+ v8 U/ N/ G" C2 i
  1845. ;exif.encode_jis =
    " o, t' {, M( [- c9 ~8 o
  1846. 5 _$ l$ d$ U* Q( U* H7 t9 H
  1847. ; http://php.net/exif.decode-jis-motorola1 H+ M* t7 t9 T1 n5 _9 l) O3 W5 ]
  1848. ;exif.decode_jis_motorola = JIS
    + V3 f0 M; \0 W2 Q" ?
  1849. 5 ~4 w- b% T1 m/ `# n# W
  1850. ; http://php.net/exif.decode-jis-intel
    & \4 _8 U$ a- ]
  1851. ;exif.decode_jis_intel    = JIS4 \+ R  c6 P- _8 l# b. j- I

  1852. ! t' _, u: l* }, U7 [
  1853. [Tidy]
    ( G- @" W5 P! F9 O- A
  1854. ; The path to a default tidy configuration file to use when using tidy
    / M( i# Y! ]8 f/ P1 ^' M, v- z
  1855. ; http://php.net/tidy.default-config
    & x' }+ y# A1 n& N
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    5 {" w) g: Y- H6 Z* R
  1857. . ]7 F# \! W5 Z: C; ~
  1858. ; Should tidy clean and repair output automatically?
    $ ^/ G/ u$ o: m, W; h3 Y8 H
  1859. ; WARNING: Do not use this option if you are generating non-html content5 B1 }1 p- ~9 O; K* z" s1 t
  1860. ; such as dynamic images! b; p* `4 t1 G, k/ ^& Q1 {2 W
  1861. ; http://php.net/tidy.clean-output$ `& L8 F: G$ N% Z9 u# }% j# V
  1862. tidy.clean_output = Off+ w  }& l  c2 P8 y  f
  1863. # f+ |$ [3 D. y
  1864. [soap]' y- ], S* e. k0 K; @
  1865. ; Enables or disables WSDL caching feature.. h' g9 g( c6 q2 O
  1866. ; http://php.net/soap.wsdl-cache-enabled
    ( o6 U+ O! {& u& Z" I
  1867. soap.wsdl_cache_enabled=1. `5 O% M5 F5 K! G! q' I- `
  1868. * r/ i$ k% X6 |  R
  1869. ; Sets the directory name where SOAP extension will put cache files.
    % K0 q1 U8 r8 T1 @
  1870. ; http://php.net/soap.wsdl-cache-dir
    7 y' c. p, e+ h# e6 Z
  1871. soap.wsdl_cache_dir="/tmp"
    ' H3 d6 z, {  n
  1872. ; M4 \% B; q- H$ ?. Y9 G/ y" W$ Q
  1873. ; (time to live) Sets the number of second while cached file will be used
    + x4 g" [( u- e( m4 a0 Z
  1874. ; instead of original one.
    9 C6 g/ z6 q( e3 h. I
  1875. ; http://php.net/soap.wsdl-cache-ttl! k& u3 E( F* r/ K
  1876. soap.wsdl_cache_ttl=86400
    2 B8 x) x+ ]# @5 z5 M
  1877. 2 k6 f) i2 Q" f6 b3 B4 a
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    : d2 T1 Q, t! I1 m" R
  1879. soap.wsdl_cache_limit = 5
    # H% m" n+ d0 {! F  O$ U) }

  1880. 6 j, _* _9 `- r/ s
  1881. [sysvshm]
    $ z5 f: M+ E( `# F
  1882. ; A default size of the shared memory segment
    0 ?% D* g+ A2 a3 H9 ^% W
  1883. ;sysvshm.init_mem = 10000
    - |* X7 k# t. \0 r& g

  1884. ! U9 d/ [+ {! F; f4 Z$ m
  1885. [ldap]
    . Q( _' H. M4 v/ r+ ]. {! M
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    " a6 `6 I% c# f/ y% K; ^8 S
  1887. ldap.max_links = -10 v' x, m3 n1 Q5 c+ j8 g7 l

  1888. - H% v1 m9 i1 |; O9 z
  1889. [mcrypt]9 o- y. t9 e& J% X
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ! W$ E4 H& ?5 h
  1891. / u, @7 a4 w  {4 w9 M7 H* E
  1892. ; Directory where to load mcrypt algorithms
    ' `. \' ^+ M% b  \
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    $ J" i4 Z, l4 \* Y( Z/ w! j
  1894. ;mcrypt.algorithms_dir=! `2 z7 d- H' b7 S
  1895. 2 [5 W. K4 i+ ]! M8 D
  1896. ; Directory where to load mcrypt modes
    ' B5 n: O/ q2 p3 [3 R! M& y3 }
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    : T  i0 H$ r' \% p3 P3 U, X9 O" V. U
  1898. ;mcrypt.modes_dir=3 _  [! k$ }) J

  1899. ) Q! y" T* S$ l4 q' F0 ^
  1900. [dba]0 f- R* D# U; t* B
  1901. ;dba.default_handler=( R5 b% `# `' \3 Q. w

  1902. % L* i4 v/ P/ w6 q- k/ d+ i5 N
  1903. [opcache]9 Q' l1 h" X( J
  1904. ; Determines if Zend OPCache is enabled
    2 k: U6 L- W2 ]; p+ @* b* ?
  1905. ;opcache.enable=0. }! i" J& b( Y6 }; Z
  1906. 5 j8 ~$ f& `2 m6 |" h8 P6 G5 @1 b) S! \
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    2 M. n9 a3 w& a* ]
  1908. ;opcache.enable_cli=0
    . d% t9 b  c% J. v- b7 @

  1909. " _7 G, Y7 X0 q& X
  1910. ; The OPcache shared memory storage size.
    4 w+ [* ^* P8 _% w
  1911. ;opcache.memory_consumption=64
    9 D9 G' q: h9 n, ^

  1912. 1 K. C% b: P. l* H3 }' G
  1913. ; The amount of memory for interned strings in Mbytes.
    6 g  }1 r* O8 j# H8 V* D% s2 U8 X7 j
  1914. ;opcache.interned_strings_buffer=4
    9 Q  }+ V. T5 u" {: N+ V! q

  1915. % D$ {) B! T* r
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.7 x" g9 ^" u- S" g& F! @1 h' [
  1917. ; Only numbers between 200 and 100000 are allowed.
    : j/ C4 f% W- ?
  1918. ;opcache.max_accelerated_files=2000: z. O* r: v( i

  1919. 0 P' ~* ^/ g& u9 H1 T( n
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.: G* k- x9 Y1 f6 h6 \' W
  1921. ;opcache.max_wasted_percentage=5
    & Z8 E( X) o0 l- ?$ q3 b- l
  1922. 4 p6 ?% F' m3 K% e
  1923. ; When this directive is enabled, the OPcache appends the current working5 s" H" P7 G& C: \8 h5 y
  1924. ; directory to the script key, thus eliminating possible collisions between; E9 L8 W; h  g: o6 P
  1925. ; files with the same name (basename). Disabling the directive improves
    / B! S3 D# J; J( Z$ M$ w% A
  1926. ; performance, but may break existing applications./ M8 s8 t* d3 {! N2 r. l
  1927. ;opcache.use_cwd=1
    1 k4 n8 l. c2 b5 @" m2 @9 K
  1928. ! Y* ]' ]9 |3 M
  1929. ; When disabled, you must reset the OPcache manually or restart the
    , s$ G, I( S, w2 Q8 i, f9 ^, ?
  1930. ; webserver for changes to the filesystem to take effect.
    0 E/ {) e# Z  m2 y* a( L  Q
  1931. ;opcache.validate_timestamps=1
    ! \3 m1 M  v/ z1 d

  1932. 0 D; l- j; B( g/ a: y' V6 a
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    ' T$ K- G& L& }- u# H2 |
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    7 G+ ~$ ~& `: f4 V
  1935. ; once per request. "0" means always validate)
    & Z+ v4 J" X+ e( s
  1936. ;opcache.revalidate_freq=2
    % p+ f' O" N, U3 U" [9 C; G1 j
  1937. 0 O( R7 ], x5 \
  1938. ; Enables or disables file search in include_path optimization. u% Z( t( y+ H( h7 n0 B" |
  1939. ;opcache.revalidate_path=0- R  e9 ?1 y: i* `3 B' n" k0 C  Y% ~

  1940. * ^1 s  x. ^: I/ J, `2 w
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the1 D. f# j- ^) e
  1942. ; size of the optimized code.% ~, X& k" f- Q* r- H7 g- w/ Q
  1943. ;opcache.save_comments=1
    + N7 C, }- L7 J8 V# `5 Q7 i
  1944. 8 S. t6 ~  ~" Z7 _  v( K
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"$ `9 t2 O* B+ D( u' `1 w4 Y
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    : [! r& T9 a: \
  1947. ; that don't need them anyway.
    0 J6 d. `1 D) E7 w' e
  1948. ;opcache.load_comments=1/ k6 E; b% U0 K
  1949. ' b1 q1 D3 O. B  X- ?
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code, V) _0 E: ]6 ]  Y* J. x6 ^0 T& u4 r4 G
  1951. ;opcache.fast_shutdown=0
    0 M8 t/ U- I3 Q5 I9 Q7 p

  1952. # z$ r+ Z0 @! P" L! D7 e
  1953. ; Allow file existence override (file_exists, etc.) performance feature.: o* t" G% R' Q3 v& ?" e* L
  1954. ;opcache.enable_file_override=0
    4 Z3 f8 [6 f% m1 O" L

  1955. 1 P" `- m$ m5 n/ C& J
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
      ]3 y' p* U# m2 t. y
  1957. ; passes( y4 x# l! {+ j4 Y7 t* q
  1958. ;opcache.optimization_level=0xffffffff4 |: D" V1 D7 w' {( x
  1959. ( j# X; i, t; e9 f) \9 r# T
  1960. ;opcache.inherited_hack=1
    4 y$ s" ]" m1 |) m, D
  1961. ;opcache.dups_fix=0/ r" F/ h; e; t/ ]! X

  1962. ! M' c# E% [8 c, a
  1963. ; The location of the OPcache blacklist file (wildcards allowed).4 a- t" p/ u! K; a0 K# w: }/ X
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    & L* Y( }! G( Y0 |! Y
  1965. ; that should not be accelerated. The file format is to add each filename+ U5 q) l+ V4 Q% A" ^. B, T
  1966. ; to a new line. The filename may be a full path or just a file prefix8 _7 K3 I  [- u+ f+ T
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    # k. j$ ?* e6 Y- |( v5 Y. G2 E
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).7 _1 ~$ _* W- x
  1969. ;opcache.blacklist_filename=
    0 ~8 q% l, a2 L

  1970. & R! @$ U3 u" p, _
  1971. ; Allows exclusion of large files from being cached. By default all files& A8 r3 E1 t1 x( h3 h; F
  1972. ; are cached.
    ! ^* c# @2 n) ^* f6 q; E! a
  1973. ;opcache.max_file_size=0+ @( f1 Y! \  ^& Y2 ]- X
  1974. * ^5 E& W2 b3 w, u
  1975. ; Check the cache checksum each N requests.2 @) L2 ^* n3 |. P9 m: `! s4 C# q
  1976. ; The default value of "0" means that the checks are disabled.3 p4 M  a: R) y  Y
  1977. ;opcache.consistency_checks=0% b5 X# b: |( ~2 `; x* h
  1978. % S. F: x7 }& g& `  U! p- T! b" t
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ' e$ A" n- o& P/ k' Z! V( [9 P
  1980. ; is not being accessed.
    8 s/ D/ s7 u7 h! t6 \: ^
  1981. ;opcache.force_restart_timeout=180
    * ^+ Q1 k6 [; e  @% j$ f0 [" n: ?

  1982. ; G% h% ^! S8 Y6 M+ a( T
  1983. ; OPcache error_log file name. Empty string assumes "stderr".; J  o$ ?) W3 Q' H- [
  1984. ;opcache.error_log=5 X8 w4 a+ U- S& M" A

  1985. % c, X& X1 e4 N# C! M/ W2 j
  1986. ; All OPcache errors go to the Web server log.4 ~. `' Q) |- S8 v" T
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
      D/ r2 z2 T' |* Z* p2 H
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    * _# ]( G( ?- ?2 C' k& U) t
  1989. ; debug messages (level 4).
    & F+ p$ E" [+ R. v
  1990. ;opcache.log_verbosity_level=1
    2 E5 ?/ w8 h" r2 ~6 L1 |4 b

  1991. ! ^, m4 f: R3 T" J
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide." u2 b. m! {8 L  N! J4 }
  1993. ;opcache.preferred_memory_model=6 V/ g! G2 n$ U8 @
  1994. 7 M; }7 Y) K1 b/ i  p) {
  1995. ; Protect the shared memory from unexpected writing during script execution.
    + V2 p: I4 s9 B" b  M
  1996. ; Useful for internal debugging only.
    4 s7 R$ ^# L+ H3 X/ i1 A5 ?; N
  1997. ;opcache.protect_memory=0, ?- Z- ~+ I/ T& ]/ ]
  1998. ( |) s! Y3 D4 F( C3 V0 M
  1999. ; Validate cached file permissions.
    4 N: X& @* W7 x# r9 V/ o; K1 l
  2000. ; opcache.validate_permission=02 u* X- @# S; E5 |
  2001. ! _, x+ m$ N+ i; U
  2002. ; Prevent name collisions in chroot'ed environment.. ^- K' h* F! j, R1 t' u$ v8 a
  2003. ; opcache.validate_root=05 }3 s; K- l" L0 _- U( Y

  2004. 9 S8 u0 Y6 l% U; c
  2005. [curl]
    - M, }& i  B1 P+ k
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    " t# A0 W" z; g; W% \4 j% r* ^
  2007. ; absolute path.. g* j! H3 Z( R* Y1 q+ P
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt* c# f, @$ x- [, m6 a5 c

  2009. % g/ h3 Y1 R1 t; H
  2010. [openssl]% o# x8 R" _" M0 N# ^) R
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    / ~& S% v3 g! {9 O
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should1 X( }( D  ]% e  y
  2013. ; not specify a value for this directive as PHP will attempt to use the8 a& N4 ]+ d" ^0 ~! q0 s% P' J
  2014. ; OS-managed cert stores in its absence. If specified, this value may still2 }/ {1 f& v8 ?4 U- @0 @
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context0 \. m' j: K: ]# Y& O
  2016. ; option.
    ) }. _0 {& B3 k+ A- r/ U7 H
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt  r! j, A. r$ S9 V9 [! r; Z; f

  2018. 6 u# f+ Z3 Z$ W  H. h
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the. ?  P' j7 x8 X" c" w
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    " B1 f& u; g4 ]  b
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    ) u+ @) [. ~4 G/ A2 a
  2022. ; Most users should not specify a value for this directive as PHP will* b/ Y; G. F* u9 h: c
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ) h- q. O4 k$ G4 Q$ r$ i
  2024. ; this value may still be overridden on a per-stream basis via the "capath"" y9 x* x) m  r: R7 C
  2025. ; SSL stream context option.+ C* X9 P4 E3 @+ V& y
  2026. ;openssl.capath=1 j, T, y$ \, Y7 L& k4 t% r

  2027. ) G$ `- D3 W3 z1 q# }6 e8 o6 t
  2028. ; Local Variables:
    ) b) Y* O5 {9 K2 t2 C3 m2 h1 g
  2029. ; tab-width: 4
    + S( ]  Y% Y! `# p+ L, A
  2030. ; End:4 y, g; N7 b7 C% v- D- V2 J

  2031. - L( ^, f, x5 ^
  2032. ;eaccelerator8 {& {4 ~, d) P+ ?, ^
  2033. 4 s( s  o8 y1 E' g
  2034. ;ionCube  Q/ R% E+ a6 ~) f
  2035. + |6 C" t1 l$ J. v' @) `0 A
  2036. ;opcache
    5 N. D4 b& z& W- D; V4 p8 O
  2037. : \- s, @& f4 I9 `7 w7 l
  2038. [Zend ZendGuard Loader]
    + v) L8 d  f7 v) o7 P! S0 n
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so2 d' e( ~  q/ K4 T8 F2 R8 V
  2040. zend_loader.enable=1
    # {$ y1 j3 l% M' ]
  2041. zend_loader.disable_licensing=0
    8 v5 [* C2 E7 o0 v
  2042. zend_loader.obfuscation_level_support=3, n8 n; v5 g- O! @; S8 n
  2043. zend_loader.license_path=9 Q) a4 @& y) ^9 Y5 Y+ b
  2044. . F. B: s! W3 }: }- h% j( Z* `
  2045. ;xcache4 |. Y* N9 ]# s/ Z

  2046. / {7 D: E0 E7 L6 u& Z
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
$ t; F+ e. Z' ~4 ]# |- @. T% u& H4 J3 Q2 v% \. Z" E
6 d. [9 @/ G, [. L
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
6 G9 \! ~7 J5 x- Q, L+ y' L. s2 a9 P3 k
Discuz!程序版本选择:9 B0 u$ J( e  n4 r) }6 Z
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
( C0 p" Y3 y1 l. @: j不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
: S; o9 u& Q2 V& L; i# F! wDiscuz!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。
7 b$ E6 S8 Z( _* T* k# U
& f! o( O  e# u' wDiscuz!插件模板版本选择:
2 {1 n, r, g: `( J) y很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,( r5 U7 W) r4 \/ x
针对这个问题做个统一的普及:( H3 g  @8 g! W8 X9 P; n( p
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
% n. u' c6 X4 N1 @3 c& l9 @3 I+ j7 A$ r
所以
& f8 f. t" X$ O; X/ N适合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的二级域名。
! {  J2 J" X+ `打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
( G# V% e! I7 j8 N0 E" e注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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