分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.06 L( e2 ?6 x& w0 b. {0 t

  R; ^% j4 ?# e: \6 C2 E
  1. [PHP]3 L1 k" l6 x+ e$ @1 Z

  2. 1 E, v+ ?1 C& o& s) Y* N* G7 I! ~
  3. ;;;;;;;;;;;;;;;;;;;
    - Q# o$ A: t" \: {, [1 G) X
  4. ; About php.ini   ;* p" W- d: |" @% X
  5. ;;;;;;;;;;;;;;;;;;;# f! v& y0 w/ {5 `# Y; i
  6. ; PHP's initialization file, generally called php.ini, is responsible for. D( \( I- A& S. k% ]- [7 [
  7. ; configuring many of the aspects of PHP's behavior.
    / N$ D( E( Q6 g: p0 b0 |
  8. $ R6 m8 k) W5 g6 l
  9. ; PHP attempts to find and load this configuration from a number of locations.
    1 ~2 a2 {; V# p3 H7 N0 U
  10. ; The following is a summary of its search order:" r# ^( L0 t3 l. k6 `! _
  11. ; 1. SAPI module specific location.  a6 t/ Z# ?+ f+ A( I7 r) O
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)4 `+ u/ m! m; x5 V
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    - o5 N3 K( q9 P  y) N
  14. ; 4. Current working directory (except CLI)
    ; j" I& ~, v# ?8 H, b9 v4 @
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP" l) j: @5 \/ m. a
  16. ; (otherwise in Windows)
    - y+ e9 t( i& |3 i* m" Y( H; m
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    / R( Q1 l* x7 M5 G) P
  18. ; Windows directory (C:\windows or C:\winnt)" z9 W3 f! Z& I7 d4 `
  19. ; See the PHP docs for more specific information.1 S8 A- h% `6 a0 d6 g! K  J
  20. ; http://php.net/configuration.file) S% O0 I* d5 v' u' R5 A
  21. 3 ]; n& S; d( C7 @2 A; F7 T2 ~
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    + r) }8 Y  d3 G- C( z. G
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    , C. \, Q" z* V8 l1 r) Y
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though) B5 B0 [) I5 K% r7 q
  25. ; they might mean something in the future.
    5 U* x/ t; x, ?- S

  26. ( F+ c" v1 h' ~% F) f
  27. ; Directives following the section heading [PATH=/www/mysite] only
    # W3 L2 V# F+ ?3 X- C. q5 w( s
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    - m, U+ G) b, }( m( [
  29. ; following the section heading [HOST=www.example.com] only apply to
    0 o3 C0 g3 M! R& a9 b+ |" l
  30. ; PHP files served from www.example.com.  Directives set in these  U0 x" e" f  e/ D3 }! J2 }
  31. ; special sections cannot be overridden by user-defined INI files or4 }/ @7 K4 A! u- }  u
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under. |6 E+ O  A8 ]" R% |
  33. ; CGI/FastCGI." _" O; c9 e7 c+ T2 F
  34. ; http://php.net/ini.sections6 V  X9 ~2 L7 z$ ?+ O& ~) J. b

  35. 6 }# I! e  S5 f+ B
  36. ; Directives are specified using the following syntax:4 P2 h  f6 w% v- k8 ~5 t8 ]) g
  37. ; directive = value
    - k1 x$ C, ]8 V$ B7 I* J. _
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.2 h( v+ y+ o5 Q, }4 Y4 M
  39. ; Directives are variables used to configure PHP or PHP extensions.' b  B) U/ `  n/ ~, O
  40. ; There is no name validation.  If PHP can't find an expected: }+ m' [3 t9 w
  41. ; directive because it is not set or is mistyped, a default value will be used.& X; `4 w1 q' D9 q. C2 V0 n( l

  42. : v% I" Y* J2 U& \/ U
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one* Y" T0 I1 z$ M
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression! s2 Q& }$ ]5 x, ?7 i0 @. q
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    6 q; b7 ~3 f; s. A  r
  46. ; previously set variable or directive (e.g. ${foo})( Y& ?: W6 O, _0 ^
  47. 6 d$ L& {6 d5 y
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:* [' J" m, u& C8 {) E9 W0 Y, [
  49. ; |  bitwise OR- v5 {& n: r" V3 c
  50. ; ^  bitwise XOR
    0 d) m/ H$ H. |9 m
  51. ; &  bitwise AND
    % W9 _3 q4 o3 }
  52. ; ~  bitwise NOT
    $ z; A, o8 {6 q
  53. ; !  boolean NOT% X+ R- Q( \, K: H1 Y# U

  54. 7 z* `+ G  p( O- C! @
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.2 V* I% c, w9 W; o
  56. ; They can be turned off using the values 0, Off, False or No.
    # y4 w, F2 {* q; U) j8 O& G
  57. / E* T  [& P- v* i* O) T+ s
  58. ; An empty string can be denoted by simply not writing anything after the equal, ~* M" C) \) [% G6 k
  59. ; sign, or by using the None keyword:! E) f" D# ]6 V9 |; U

  60. & W% g: M0 \  x: s# `2 N% v
  61. ;  foo =         ; sets foo to an empty string& _' U3 S0 |% s' S% r, K6 j6 V
  62. ;  foo = None    ; sets foo to an empty string
    $ @* r3 W+ B& |8 G5 ?5 F) B
  63. ;  foo = "None"  ; sets foo to the string 'None'& r1 t: ]0 I/ v1 {
  64. ( ^: E1 ?6 c: z
  65. ; If you use constants in your value, and these constants belong to a
    + G: p  K) T8 y/ ?* i3 p( }
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension)," w4 R0 U% ~/ c$ B- n& |7 Q
  67. ; you may only use these constants *after* the line that loads the extension.
    ) r2 P8 a5 c9 g3 H2 X

  68. 9 D) N3 _# G. B, d
  69. ;;;;;;;;;;;;;;;;;;;
    ! b7 O: q& b  m
  70. ; About this file ;- K9 F* g) J$ P* H6 T" i9 r
  71. ;;;;;;;;;;;;;;;;;;;) y, _! x# Z5 s$ F+ w0 s! E4 F
  72. ; PHP comes packaged with two INI files. One that is recommended to be used1 Y1 O. H8 j& d+ d: C5 R4 E
  73. ; in production environments and one that is recommended to be used in/ E6 v) H4 c; a$ P& P
  74. ; development environments.
    # z) P" I9 a, ~2 Y8 v
  75. " j( c' d" y$ D4 f
  76. ; php.ini-production contains settings which hold security, performance and
      Z. B7 F( t" G+ W! h. z3 Y
  77. ; best practices at its core. But please be aware, these settings may break, h2 ?( F1 s/ x  i
  78. ; compatibility with older or less security conscience applications. We
    ! \) X# s* e) u( r5 R
  79. ; recommending using the production ini in production and testing environments.
    0 J8 k1 U  |/ L3 t8 C; N$ B5 w

  80. 1 l' F' d7 b2 n: A0 X1 z' ?
  81. ; php.ini-development is very similar to its production variant, except it is& s% A7 _2 ~5 F) w
  82. ; much more verbose when it comes to errors. We recommend using the! F4 H# {4 j3 h6 P3 i* s- F0 d
  83. ; development version only in development environments, as errors shown to. b6 v6 r- v- q8 g& c" w) B+ m/ O
  84. ; application users can inadvertently leak otherwise secure information.) M: E1 w# j2 A" I

  85. ; U; i; Z+ z" x( x) I& F( d
  86. ; This is php.ini-production INI file.& X6 K! H; J# e  @1 ]" p
  87. 6 C+ R0 _: Z- Z, |. I
  88. ;;;;;;;;;;;;;;;;;;;  h) |# ?5 Q$ m7 p  `3 W9 b( c  Z
  89. ; Quick Reference ;* ^$ ]4 n- ?% ?, t5 }( z
  90. ;;;;;;;;;;;;;;;;;;;' v' D4 k. O+ O- G. c) r
  91. ; The following are all the settings which are different in either the production
    3 `. [0 @# ~) n2 ^4 o
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    / ]. n, `0 B& ~7 X
  93. ; Please see the actual settings later in the document for more details as to why
    9 K+ Q' U0 N+ F& m9 e& q* D1 ^
  94. ; we recommend these changes in PHP's behavior.4 x9 C7 Q' W4 T$ U& f
  95. $ y: l, q# i+ J$ n2 j2 m& t* R7 r/ P
  96. ; display_errors# G7 M& Z- E# N
  97. ;   Default Value: On
    1 @9 P; |' U; u7 g/ Q$ j4 ]
  98. ;   Development Value: On
    ( E% M7 d) A/ o" ?
  99. ;   Production Value: Off0 G/ S4 {( _; P# B: b9 J/ H

  100. 6 `) i$ d9 v. t7 P! ~+ ?. M
  101. ; display_startup_errors3 A* l- D3 s; ~
  102. ;   Default Value: Off
    - C9 V  M  u' e6 b9 w/ W$ F
  103. ;   Development Value: On
    $ i& Q, u# U; Y. W. g# t
  104. ;   Production Value: Off
    6 g) }* i) i/ I3 e" }$ ~) V
  105. $ C7 k. q5 K$ `4 g8 `: j
  106. ; error_reporting
    ( Z2 s' i5 Y( {( ?2 Q8 ^
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED7 M! h& V" Q* O/ ^" ^8 d4 f
  108. ;   Development Value: E_ALL
    / c3 U, M* p% S6 i) S  V
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT* {3 U3 u& Q: S! t! @2 z+ V  L

  110. " c  j  ^* M5 N1 K2 t. @9 O; `9 t% X
  111. ; html_errors
    : D, Y* \$ m! ~& q# o, }
  112. ;   Default Value: On
    ; @5 F, V* B6 h0 q1 J3 k2 R7 y3 _
  113. ;   Development Value: On9 w6 d  H4 @  ?' [( V9 A
  114. ;   Production value: On
    . w9 S  X* O* c7 u

  115. / ]* [0 z, Q+ l) {9 V' h' z$ t
  116. ; log_errors. v3 Y( a/ W$ }# y
  117. ;   Default Value: Off
    ( k8 V$ _: `/ E" f% \
  118. ;   Development Value: On
    ; o( r+ a- r+ M3 H# e- I
  119. ;   Production Value: On: q9 ~, G; |, ]  D' @! n% L5 \
  120. 7 {: V0 h" q* u* \* b6 S9 ~
  121. ; max_input_time$ }2 A: `6 p; L+ _9 V0 X% `/ L
  122. ;   Default Value: -1 (Unlimited)  F* B  |$ K9 t* g  q
  123. ;   Development Value: 60 (60 seconds)
    , W5 }, E/ a) R( v7 |( i
  124. ;   Production Value: 60 (60 seconds)
    2 C* f% x5 C% V

  125. * B( l% m+ h8 \" n8 q
  126. ; output_buffering
    ( @1 o6 v3 B% J. I8 i
  127. ;   Default Value: Off
      |" A, A( ?" B3 e% t. `- x
  128. ;   Development Value: 4096: C4 C7 p' y8 ^* h1 Z# c$ h4 p& W) U
  129. ;   Production Value: 4096/ h) g- \9 G* G9 T$ G3 h
  130. 6 @4 h& p0 }3 J( v9 }8 m+ D
  131. ; register_argc_argv$ ^1 a$ x! Q# d9 p
  132. ;   Default Value: On4 G. d% D2 b2 {3 W! f8 X4 ~8 a- a! `
  133. ;   Development Value: Off
    & R  s8 T: h- \
  134. ;   Production Value: Off4 _4 M0 P% H2 d: |, z- T: y
  135. 9 {0 G: I! J$ ?( N4 i
  136. ; request_order1 U( x" {- D, f
  137. ;   Default Value: None2 }8 f' j$ t0 P4 L
  138. ;   Development Value: "GP"6 v9 f6 O1 D: Y% e0 l  Z
  139. ;   Production Value: "GP"
    . X4 y4 a* n/ [* r. p4 {9 w+ \

  140. : a, j( @3 \8 C' k; l* P; ]1 ?
  141. ; session.gc_divisor
    $ V7 Z  c- N0 x$ ?4 K
  142. ;   Default Value: 100
    7 Y& J- J# ^6 Q, d6 R
  143. ;   Development Value: 1000
    ' _4 E, |' O7 U* b$ p1 M
  144. ;   Production Value: 10009 [! K4 A& {  ]& Z9 D
  145. + H2 C; ^% n( ~! S, v+ i' V
  146. ; session.hash_bits_per_character( y+ d# |' x. k' ^0 K$ O2 e
  147. ;   Default Value: 4
    ! }5 S8 ]6 e) U' d) w# @' O9 y
  148. ;   Development Value: 5
    + \4 z4 G  B% @5 h( |$ }
  149. ;   Production Value: 5: c, ^/ t* C3 H. T" ]

  150. $ X  \+ z2 Y* H0 Y* l" e; }% @! d( P
  151. ; short_open_tag+ H0 r1 r  R7 t9 D/ m, _
  152. ;   Default Value: On$ |& ?& r8 ]$ @7 W5 n
  153. ;   Development Value: Off( G2 j) J8 _% m
  154. ;   Production Value: Off
    + l# W0 {% a7 J* A# a

  155. 0 y4 B0 @8 f6 _% Q) ?
  156. ; track_errors# w. u6 b* t7 y  m, b: E# w1 d5 _$ F
  157. ;   Default Value: Off
    + L, D# N; j- J7 g- N
  158. ;   Development Value: On% G4 I& L% V2 L+ B) H' C% n! n% o
  159. ;   Production Value: Off! P  ~( f  m% ]& M/ V3 R

  160. 6 ~6 c8 K# e- E
  161. ; url_rewriter.tags
    1 K% \1 n8 x; z
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="! h& P' Q+ e+ g3 A
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 ^) E) i) j) H7 J" W
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; b5 m% q. u5 l; F4 z5 U

  165. + S6 i1 c) r. t3 E+ Z4 b
  166. ; variables_order
    2 F; o- i6 D% W+ l: ^4 a
  167. ;   Default Value: "EGPCS"
    4 n  s2 m3 O% a. w; L
  168. ;   Development Value: "GPCS"
    ' d% B" G) t0 @  }- K* n  ^# B: N
  169. ;   Production Value: "GPCS"1 i4 N6 X- f5 o9 T

  170. 2 T- t0 N' B" ^
  171. ;;;;;;;;;;;;;;;;;;;;
    % h- q1 ~0 A  ?
  172. ; php.ini Options  ;
    , p7 a' L; P$ |; X5 ]& T1 S
  173. ;;;;;;;;;;;;;;;;;;;;2 [, h2 e2 O( N5 n: H. W
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    0 p4 q' s; y/ V) t& x; a
  175. ;user_ini.filename = ".user.ini"  S" d; p, y5 h- v4 W" |$ i

  176. + s0 o7 M1 `% j4 B
  177. ; To disable this feature set this option to empty value
    6 e# Q' ?) K& @
  178. ;user_ini.filename =$ d/ n+ _! o5 X% W* F- p
  179. : U: B, r: |1 g! {# Y% ]
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)+ X8 L7 M! P# u+ U! h/ z
  181. ;user_ini.cache_ttl = 300/ @6 z  h& B/ Q* P" F2 _
  182. * k, G0 X/ q$ E) e
  183. ;;;;;;;;;;;;;;;;;;;;
    6 s1 S$ J* V( w: P+ T
  184. ; Language Options ;
    % X/ @* y# P, C5 Z2 |
  185. ;;;;;;;;;;;;;;;;;;;;
    : r3 C( p" s' R& K8 q$ x

  186. : l8 ?) J1 Y! o) ?0 H
  187. ; Enable the PHP scripting language engine under Apache.
    # \6 w. @' C$ T6 I  m1 S
  188. ; http://php.net/engine
    3 z+ r6 }' d" P, A
  189. engine = On  V3 N% Y/ P2 o3 t  h
  190. $ q8 B" Z1 P4 x9 `( h
  191. ; This directive determines whether or not PHP will recognize code between
    , ~4 X2 o6 D  _
  192. ; <? and ?> tags as PHP source which should be processed as such. It is, J8 d# l! l9 ~
  193. ; generally recommended that <?php and ?> should be used and that this feature
    # C5 u& k4 J6 V! D3 M5 H- I
  194. ; should be disabled, as enabling it may result in issues when generating XML8 Q5 w& l* s9 e/ D+ H
  195. ; documents, however this remains supported for backward compatibility reasons.
    9 G! m" K- @+ Y+ b) z
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    + K2 w( g* p3 n$ ?# f
  197. ; used regardless of this directive.! T5 k4 o& l( d$ g
  198. ; Default Value: On
    # T! A' j( i$ {4 c1 m
  199. ; Development Value: Off. q: _- O! b+ {2 I& f0 T4 m
  200. ; Production Value: Off
    # D2 j8 T6 z0 T4 ?. D
  201. ; http://php.net/short-open-tag
    , ^1 m, V7 R/ O( \  q
  202. short_open_tag = On
    ! t' K$ i; m0 r! V! R; A
  203. 8 n. e2 J% N$ O- o: X
  204. ; The number of significant digits displayed in floating point numbers.
    4 e: t2 p3 |7 F- [, k, k
  205. ; http://php.net/precision2 |) {8 o  Q) Q9 \7 C
  206. precision = 14
    " f# M7 \# u7 M- |. e9 s& ?

  207. + y+ c/ p$ P' q+ f! h- E
  208. ; Output buffering is a mechanism for controlling how much output data% u- r( v6 g: \/ i, x( K' V( D' o
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that  l" X9 n. C: |
  210. ; data to the client. If your application's output exceeds this setting, PHP: a# G: s1 K- I) s9 _) S
  211. ; will send that data in chunks of roughly the size you specify.2 t2 c6 a$ U" U
  212. ; Turning on this setting and managing its maximum buffer size can yield some; q1 Q0 c8 M4 c* k" ?# v0 ~
  213. ; interesting side-effects depending on your application and web server.& C% a: ]" k- N& T* A6 J
  214. ; You may be able to send headers and cookies after you've already sent output& o* j7 y: x% E  F8 P& a
  215. ; through print or echo. You also may see performance benefits if your server is4 M3 f8 f; F& a8 w# M
  216. ; emitting less packets due to buffered output versus PHP streaming the output2 Y% z9 `7 G& l) x: n( n
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    8 c# o6 q' y. ]2 M
  218. ; reasons.
    3 L4 E9 o, D+ y/ v% g0 f
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    , T2 e$ G( f. o3 {1 [- F. ^# b- h& C
  220. ;   functions.* r7 K: [- j$ j9 ?, v7 E
  221. ; Possible Values:
    0 u% L  m- J# O  |; Y# m: o
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    7 r. o5 R% V; ~0 Y
  223. ;   Off = Disabled7 O* r$ E& R$ T% G
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ' h. T4 q" ^6 _/ c/ L4 ?
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    8 K7 v0 x0 B$ h6 ?) m# |8 \
  226. ; Default Value: Off" v' I3 e6 S) N! J- N
  227. ; Development Value: 4096
      }& Z& R% T( g5 A* c
  228. ; Production Value: 4096
    + U$ \. ?5 l. ~3 T) W
  229. ; http://php.net/output-buffering
    0 F6 }1 ]0 y8 h8 m
  230. output_buffering = 4096
    0 P, e+ l' V; Q  I
  231. $ S7 x' d& F/ Z/ `8 F. J  d# u/ p
  232. ; You can redirect all of the output of your scripts to a function.  For8 v: c  n$ z: J4 @+ k
  233. ; example, if you set output_handler to "mb_output_handler", character
    & A, {3 S3 I4 w# K8 m' n
  234. ; encoding will be transparently converted to the specified encoding.  X1 R1 L# a8 e+ c' ^
  235. ; Setting any output handler automatically turns on output buffering.: i$ N6 X, K; Z# A& ?
  236. ; Note: People who wrote portable scripts should not depend on this ini
    ( P; C4 C6 @4 e7 y# l" \0 I0 C
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    $ J3 b( o; L( I2 O7 j0 R1 E5 D
  238. ;   Using this ini directive may cause problems unless you know what script
    ) B6 A! o" e$ l( S5 q
  239. ;   is doing.
    7 K5 }  u, q. _4 C+ }
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    # G* G9 q6 y) m
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    0 ^5 k: Z! j* G/ m& {1 l
  242. ; Note: output_handler must be empty if this is set 'On' !!!!% L# l3 p  I) D- L8 U
  243. ;   Instead you must use zlib.output_handler.
    3 S. s( f( L9 c3 x
  244. ; http://php.net/output-handler
    6 T  x% U4 }6 l9 n0 }& G; s
  245. ;output_handler =
    1 m4 x8 c* p. `! I

  246. 5 I# A8 Y* e0 E5 y, u! w
  247. ; Transparent output compression using the zlib library2 u, ^) p( k4 j0 t! V0 b
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    6 G" E) D% ]$ t1 y5 C
  249. ; to be used for compression (default is 4KB)
    # _# a0 S/ W& B) Z' w/ y! t; ~/ {. H( I
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    # F& m* D1 }2 l
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    , w! S8 g' p& m9 y  m' N
  252. ;   compression. If you prefer a larger chunk size for better
    * w  X; g. _6 z
  253. ;   performance, enable output_buffering in addition.3 X& N9 C4 \9 N. {3 f* m
  254. ; Note: You need to use zlib.output_handler instead of the standard
    ; w9 P& V& y2 f/ ]# g7 m
  255. ;   output_handler, or otherwise the output will be corrupted.5 E" y$ [/ U/ @* I, s. y- c
  256. ; http://php.net/zlib.output-compression
    ' S. `9 F) [  e/ x, M" j3 V
  257. zlib.output_compression = Off
    % s( X+ N4 n' Y' x7 ~4 i

  258. 3 ^1 @2 q/ H9 q& M/ P
  259. ; http://php.net/zlib.output-compression-level: d+ z' b+ R# b( g: v+ n4 D" q
  260. ;zlib.output_compression_level = -1
    " `# ~+ _, z) t, U& U0 j  d. D

  261. & Y+ B- I3 |7 L% B% r& ?! t1 B8 `9 k
  262. ; You cannot specify additional output handlers if zlib.output_compression
    ' a0 ]5 ]# o1 Q2 _: x8 S9 S& n
  263. ; is activated here. This setting does the same as output_handler but in- d9 E5 u* m8 o, u
  264. ; a different order.
    ; w5 E7 k* }" C/ g% v2 j# E& N
  265. ; http://php.net/zlib.output-handler
    ' l* u; q& f8 S3 T1 J
  266. ;zlib.output_handler =
    : K/ T9 S( n/ h7 b' h* z2 Q3 U( B

  267. ' P6 ~9 ?( N# l& D+ ?8 x6 e
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    " @; i. A- w* \) T$ c, M
  269. ; automatically after every output block.  This is equivalent to calling the
    $ e% i. j' V8 |. e; i, ]3 [
  270. ; PHP function flush() after each and every call to print() or echo() and each+ [& m) I8 C" x9 K' x% y7 R
  271. ; and every HTML block.  Turning this option on has serious performance; s$ }6 L" g$ T* ?6 n) X( m+ u! q
  272. ; implications and is generally recommended for debugging purposes only.6 b) U+ Q$ p1 N$ f' `4 b5 w5 w
  273. ; http://php.net/implicit-flush
    - H8 e; P  U% U4 n, ~& i( p- @1 z4 ~
  274. ; Note: This directive is hardcoded to On for the CLI SAPI3 M* u, }  I2 {" N; G7 G
  275. implicit_flush = Off
    5 y* y  n# `" z( _0 u
  276. 9 C& ~$ I& I1 e0 X
  277. ; The unserialize callback function will be called (with the undefined class'
    & u4 d0 R! U9 A: c9 l% M4 p- E5 L
  278. ; name as parameter), if the unserializer finds an undefined class6 x4 C" T$ a. s, n
  279. ; which should be instantiated. A warning appears if the specified function is! `) J; R# h2 \6 N
  280. ; not defined, or if the function doesn't include/implement the missing class.
    . i; C+ [3 B% \
  281. ; So only set this entry, if you really want to implement such a
    ! f( X4 i4 M, W! w$ n6 q+ M% }
  282. ; callback-function.% Q* f" i& B4 I& K* P6 H# V: N, _* Z
  283. unserialize_callback_func =: u4 y# w$ c3 U5 Y6 O. T1 V

  284. : S, y: q2 t7 u6 e" Z! w
  285. ; When floats & doubles are serialized store serialize_precision significant
    ; r5 r8 h% y  _! j1 Z
  286. ; digits after the floating point. The default value ensures that when floats
    $ A6 \' Z, t) u# E2 [! w' A/ N
  287. ; are decoded with unserialize, the data will remain the same.
    : P6 s( Z; ]& F& S. @
  288. serialize_precision = 17: P2 o1 w% {# z1 N$ x# ~

  289. " V+ u" h( e" X8 t% ]' ?
  290. ; open_basedir, if set, limits all file operations to the defined directory: U  n# V* t! E6 m. D" W
  291. ; and below.  This directive makes most sense if used in a per-directory8 h0 a5 c6 @, U4 a. q# m
  292. ; or per-virtualhost web server configuration file.' A7 @+ g# V) @& L
  293. ; http://php.net/open-basedir
    " E8 i0 ^3 H. x; A
  294. ;open_basedir =
    / X" K+ b% P3 w! {/ U& m' B

  295. . O" j. S% T5 L1 Q2 [
  296. ; This directive allows you to disable certain functions for security reasons./ B( U8 y5 P8 d( x
  297. ; It receives a comma-delimited list of function names.
    $ ~6 M' Q8 u; d0 F3 T: w
  298. ; http://php.net/disable-functions
    ! @& g# {/ A) \9 D; W5 z6 b
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ; F; K+ P; F! ^" K- S
  300. 8 e' Z% L4 R3 E1 ^7 F* W4 W# j
  301. ; This directive allows you to disable certain classes for security reasons./ U0 H. {5 s5 C& G) ]- [! \( m  m: [
  302. ; It receives a comma-delimited list of class names.  g4 d# j1 L) Z6 H
  303. ; http://php.net/disable-classes# q& D# ]1 ~8 B
  304. disable_classes =% B% b) g4 W, m) U1 Q8 F

  305. : O1 v3 K: z& e
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    7 I0 W* \# }  m9 w  L: u
  307. ; <span style="color: ???????"> would work.
    ( `: `4 I: A5 y! h+ j4 O
  308. ; http://php.net/syntax-highlighting
      w$ @. E% F. q  y' i
  309. ;highlight.string  = #DD0000
    4 O3 i6 n  q8 o2 `9 H$ E, B
  310. ;highlight.comment = #FF9900- X( Y; Q( P0 a# o
  311. ;highlight.keyword = #007700
    ) Z) M5 K* t9 g, Z  G
  312. ;highlight.default = #0000BB
    6 h; l; q0 ^" o' @
  313. ;highlight.html    = #000000
    8 x+ b* d% v. \8 b! D: V

  314. ! }8 H) A1 E9 k3 p1 W
  315. ; If enabled, the request will be allowed to complete even if the user aborts+ c9 q8 L1 c' Y, T% K  ?/ T" r9 |& n
  316. ; the request. Consider enabling it if executing long requests, which may end up( J- A6 `7 l1 X$ {" g. O1 x
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    * V. C. M+ k+ R6 c8 i
  318. ; is to disable this feature.$ H* t( p3 i# l0 ?
  319. ; http://php.net/ignore-user-abort
    : j; C& {, p" N
  320. ;ignore_user_abort = On
    1 b* A) U4 F6 z3 f+ u: e0 U) P
  321. . C- ]% k- w( O% T) S
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    + U( O( i. p) Y% D0 b
  323. ; be increased on systems where PHP opens many files to reflect the quantity of$ k1 x9 F+ x9 `+ C6 [
  324. ; the file operations performed.
    ' ^. W  b% C) X4 M: d- F- T
  325. ; http://php.net/realpath-cache-size
    - z0 g# c- ~% X9 p2 H$ p' }
  326. ;realpath_cache_size = 4096k
    7 B3 t, C8 j9 a# y! T

  327. ; F+ Z1 G5 X! A: j$ M! r5 H
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    0 D: p$ X: L$ |5 w% d+ X' M# K4 W2 J" ^
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    ; a# e% g3 U9 c/ F$ F8 `. }
  330. ; value.
    ' [; X, H; ^$ D6 |
  331. ; http://php.net/realpath-cache-ttl
    3 f4 ~& p( r# S% W6 o
  332. ;realpath_cache_ttl = 120
    : X- c" @: A/ U* I

  333. * S" [) z8 j9 r
  334. ; Enables or disables the circular reference collector.  @' E! Z2 E4 A2 E
  335. ; http://php.net/zend.enable-gc) F- ]$ u$ u3 n9 a2 t$ W
  336. zend.enable_gc = On
    ' k0 v& t' A& ]% {% `$ I
  337. 5 w* c' F8 d# I  D6 z  O
  338. ; If enabled, scripts may be written in encodings that are incompatible with# `& t1 c; D* Z! I* {; N
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such7 C. z7 T/ O: A* A+ p
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    . v! x1 G; g* b% y0 ^7 a/ ~
  341. ; Default: Off* A: ]. [1 f+ F/ V" E
  342. ;zend.multibyte = Off
    ( a+ P2 o, M& n' S1 @
  343. 4 b; G( j. N  b# d. v
  344. ; Allows to set the default encoding for the scripts.  This value will be used$ t$ @( v4 B7 k, b3 Q- I' B
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    4 D! v9 |; k# g# D
  346. ; Only affects if zend.multibyte is set.3 T! P) e( |9 _5 v5 l: I: y
  347. ; Default: ""
    0 n, `! |- N* C/ j
  348. ;zend.script_encoding =
    ( k% B( F1 _& }! E$ c1 c

  349. & R# |- \+ p. V) z& U; g% B
  350. ;;;;;;;;;;;;;;;;;: W# Q9 E, h3 ~0 N9 D  K9 t: b
  351. ; Miscellaneous ;
    ' i; E9 w  }- e  J8 f3 m! e8 D
  352. ;;;;;;;;;;;;;;;;;# D3 ?2 j, a+ W! j* m* \
  353. * Q5 b$ |4 X( X
  354. ; Decides whether PHP may expose the fact that it is installed on the server; D" V, G% j8 r+ s9 J
  355. ; (e.g. by adding its signature to the Web server header).  It is no security/ O9 I) Q% z% \3 M
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    ; A+ [3 o0 k( v
  357. ; on your server or not.
    ' W& X3 q: v: o% K2 L- }
  358. ; http://php.net/expose-php3 l- C, b6 o. x1 Y. ]
  359. expose_php = On' g4 U8 v& l1 C3 W/ U2 g$ _' X6 j- O
  360. 4 }; [* J1 w9 ]0 r: s
  361. ;;;;;;;;;;;;;;;;;;;: r" A! s% ]) G) b
  362. ; Resource Limits ;
    $ z- J9 {6 w0 B6 Y
  363. ;;;;;;;;;;;;;;;;;;;
    - W' c; N6 i0 S; G2 L( J  v1 v' |5 e

  364. 7 W' c3 w: b* e) x9 n
  365. ; Maximum execution time of each script, in seconds
    3 H: `  P' a+ O, \  w1 P
  366. ; http://php.net/max-execution-time
    5 t5 ^( D( x: |, ^/ {$ ?. L( [
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI% C2 Z* @9 j8 [# t0 B
  368. max_execution_time = 3003 o- l0 [7 a7 o2 S, s- v% q. D

  369. 7 p" O1 f/ [' s' b9 B
  370. ; Maximum amount of time each script may spend parsing request data. It's a good) @* c4 n9 i  p) i* @
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    3 V1 l6 v1 O) y& {' [- a4 M! S( O
  372. ; long running scripts.
    5 p6 h4 @! \1 M4 E( }: }' O
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI- N2 Y2 C7 T4 D) ]7 I; E% d0 y
  374. ; Default Value: -1 (Unlimited)
    * \; n$ _# L+ F6 i6 h
  375. ; Development Value: 60 (60 seconds)3 v$ r  Q- u+ u4 b! Z# i5 {
  376. ; Production Value: 60 (60 seconds), }  N: |* T' t$ r
  377. ; http://php.net/max-input-time1 h* f; o3 V& z" H3 s: j( \6 e
  378. max_input_time = 60
    5 \' Q  E+ L* C7 A

  379. ! T4 ~% ~1 i: ^2 i1 C  A
  380. ; Maximum input variable nesting level
    3 ~/ V% o) r) `2 K  p8 |  Y
  381. ; http://php.net/max-input-nesting-level+ n$ n3 e0 j  Q& V( v
  382. ;max_input_nesting_level = 649 g, N* V& D! O5 e! N7 s

  383. ) g, v1 m: t8 R' V2 G% {
  384. ; How many GET/POST/COOKIE input variables may be accepted
    4 |# M( w" J# e; p+ M! w4 o% r
  385. ; max_input_vars = 10001 b2 u3 `2 p! y
  386. $ Q! {' o2 ^/ H+ M" v' ^
  387. ; Maximum amount of memory a script may consume (128MB)2 P8 d8 @; h+ i) u8 W
  388. ; http://php.net/memory-limit6 T0 Q5 \4 B& g8 D# F9 S
  389. memory_limit = 128M3 t* R" N( S: y$ h
  390. ! Z, _! h' A. \! |7 V$ k$ w; O9 Y; U
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    5 U3 U8 x! t: d. D( s
  392. ; Error handling and logging ;
    & S0 g8 ~" f& L5 q
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;. c3 L% T# J  g: X

  394. ) E; A4 ^% i( d" k# t9 h* c( ?
  395. ; This directive informs PHP of which errors, warnings and notices you would like# t; d, N% O9 v3 n8 d5 D$ O
  396. ; it to take action for. The recommended way of setting values for this: R* a9 o, s- h! n8 ~! V
  397. ; directive is through the use of the error level constants and bitwise3 J4 _, A& N4 v
  398. ; operators. The error level constants are below here for convenience as well as
    ( b2 h7 a, E: k
  399. ; some common settings and their meanings.9 I+ e* {4 M3 [( r, d8 M6 g
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT# }4 Q9 S  k! k9 T2 i9 x) s4 G0 E
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    2 t' D" N' @. @; `  `- w
  402. ; recommended coding standards in PHP. For performance reasons, this is the. w1 o! F) C+ R  [1 o- `
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    7 S% x# u( ^$ R) K+ ^6 _0 |2 @; k
  404. ; resources complaining about best practices and coding standards. That's what3 P7 S& e) a8 }
  405. ; development servers and development settings are for.2 W  V# N4 g+ v, J4 r
  406. ; Note: The php.ini-development file has this setting as E_ALL. This5 K3 y: ?( E# ^
  407. ; means it pretty much reports everything which is exactly what you want during
    0 [8 `7 w6 B( `
  408. ; development and early testing./ c. A& z! K$ n. V
  409. ;
    ; g' h8 B6 X2 k
  410. ; Error Level Constants:
    0 E+ D: K# E( s, p  j
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)8 F+ l' }3 ?$ x. b1 W( F2 b6 f
  412. ; E_ERROR           - fatal run-time errors8 r/ a6 R  ]# l9 }6 l3 R
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ( w1 u: i0 q4 c4 A4 L
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    . C5 |4 z' z$ a9 L" s
  415. ; E_PARSE           - compile-time parse errors5 [0 ~8 t/ M3 h: h/ X
  416. ; E_NOTICE          - run-time notices (these are warnings which often result+ g% y8 N* }9 K6 P$ m' }1 j
  417. ;                     from a bug in your code, but it's possible that it was! {7 O: T# r* r9 ^- S$ ]* p$ E
  418. ;                     intentional (e.g., using an uninitialized variable and& x$ A0 s% U9 U( _- H$ L- A2 q
  419. ;                     relying on the fact it is automatically initialized to an
    0 x/ o3 T) F" [; F$ }( n
  420. ;                     empty string)
    ( J) g8 L8 ?& z7 \
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes# X5 k3 a" T8 |3 x* k2 x0 Z. B& n
  422. ;                     to your code which will ensure the best interoperability" q* l& U+ K1 s% O) D3 ^0 c' d0 k
  423. ;                     and forward compatibility of your code
    9 `: C, w1 k$ r
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    - V) x# D" B) o. _" h& E' {+ u
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ( P1 o8 k+ S5 I) p* C+ q
  426. ;                     initial startup
    8 t% R$ M; l' u3 R' K+ V
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    # L- u1 e. M" z/ {
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)' L3 h5 d& A7 j$ Q: S6 ^
  429. ; E_USER_ERROR      - user-generated error message+ d1 G: T7 Q9 f
  430. ; E_USER_WARNING    - user-generated warning message
    3 [5 n# v! a; B( O! G
  431. ; E_USER_NOTICE     - user-generated notice message" Z# h# H$ g7 ]( ^" X
  432. ; E_DEPRECATED      - warn about code that will not work in future versions5 f. C$ F4 H/ c! i$ S7 O2 N
  433. ;                     of PHP
    9 h7 D  _+ ~0 s
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings5 I+ U* Z  A* {" j/ s8 J
  435. ;
    6 e; J2 k: B+ F# y
  436. ; Common Values:
    2 H0 _: U: t. k
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.). h, @1 P* P; ^
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)6 H3 c/ g6 L5 M- J) S9 ~( X* y
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)5 w8 F: g5 Y' G+ V. }7 `, b
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    " `+ n) G6 d9 h( g
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    8 l. ~. c% ^( J1 I6 j
  442. ; Development Value: E_ALL
    + Z# |( P- b  n3 S
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    3 B* J# F, Y. U
  444. ; http://php.net/error-reporting" W' \" i: _. A7 o( D
  445. error_reporting = E_ALL & ~E_NOTICE2 d* z% c2 s# E8 r
  446. ( J8 e% r4 s1 h- D
  447. ; This directive controls whether or not and where PHP will output errors,  K" O9 U9 H) ~1 l% P
  448. ; notices and warnings too. Error output is very useful during development, but
    ! O% y) Y0 \3 N& E/ D' H
  449. ; it could be very dangerous in production environments. Depending on the code
    6 i2 z1 N% x$ l1 j2 x, [% ]5 ^) Y
  450. ; which is triggering the error, sensitive information could potentially leak" H' ~; p2 T% k5 V$ X7 Y
  451. ; out of your application such as database usernames and passwords or worse.
    9 v" w8 O# E, `. K* V/ h' n% d
  452. ; For production environments, we recommend logging errors rather than
    1 b! C, [1 }: @% G& q" c
  453. ; sending them to STDOUT.% ^+ u# k0 I; T7 A& M: _8 w
  454. ; Possible Values:
    3 }/ Y. O/ d, V$ _3 o
  455. ;   Off = Do not display any errors
    / {1 e8 v* j; D  c/ @4 a
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    6 K1 v# V% @0 ]& T+ ]3 p% W
  457. ;   On or stdout = Display errors to STDOUT8 j6 p  _  g+ k8 V) n+ B9 U
  458. ; Default Value: On4 ?" x4 t# j: Z9 ~% C" n6 ?
  459. ; Development Value: On
    ( P/ h; w4 o3 l. ^( }7 g
  460. ; Production Value: Off4 l' R7 o% D. |! W4 Y1 |5 w
  461. ; http://php.net/display-errors
    % N/ G: F$ S3 _' Y3 Q0 P
  462. display_errors = On
    ' f2 R5 z* c$ ]5 W' ?$ y

  463. . E% X4 l8 I/ i% L7 ]) G
  464. ; The display of errors which occur during PHP's startup sequence are handled2 y7 Y2 e+ V4 f* |# i1 B
  465. ; separately from display_errors. PHP's default behavior is to suppress those' g1 k  ~# n6 q4 ^/ D5 _3 v
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    & N3 B9 q1 m7 g
  467. ; debugging configuration problems. We strongly recommend you
    . W3 x( r! ]; h; v% F4 q
  468. ; set this to 'off' for production servers.
    9 j- }. o& ^% b+ J$ D% a2 [4 S
  469. ; Default Value: Off
    8 a. U% b/ G' o+ U- D) t) l+ B& H0 D
  470. ; Development Value: On( b: w& h( \3 c' m- |- E, k( t
  471. ; Production Value: Off
    + M" P0 V+ l, U
  472. ; http://php.net/display-startup-errors9 N! y: E; ^  y" n3 o% [5 i
  473. display_startup_errors = Off' e! d6 Z( W4 R+ Q
  474. / X) l" ?/ p5 I' ^) R, }3 Q$ n- P
  475. ; Besides displaying errors, PHP can also log errors to locations such as a4 `0 x4 |# {1 }, j
  476. ; server-specific log, STDERR, or a location specified by the error_log; I2 G' r/ q! s2 u! `
  477. ; directive found below. While errors should not be displayed on productions1 U9 x5 \! M5 T6 K9 E0 J1 Z
  478. ; servers they should still be monitored and logging is a great way to do that.
    / g8 h/ e$ H  g: j+ h5 w
  479. ; Default Value: Off
    % e6 {  F, G# o# V
  480. ; Development Value: On
    ! i: W( ^: Q0 Y2 l" y
  481. ; Production Value: On+ X5 T( t/ e9 g% h; R$ @! I" u: U
  482. ; http://php.net/log-errors
    & @. l  y, E  K/ Y% z7 O
  483. log_errors = On* G" m+ d" ]' v. l

  484. 5 y4 |1 `0 N* k  W( X+ R( j+ D
  485. ; Set maximum length of log_errors. In error_log information about the source is$ P8 u8 I! r1 b7 s
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    # P3 D& b. X$ J1 h# ~4 ~( h
  487. ; http://php.net/log-errors-max-len; W0 f+ B( C1 e" K# Z* H
  488. log_errors_max_len = 1024! a% ]  P' f+ a
  489.   }2 Z3 [6 L  s2 N3 G) X$ g
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    $ Q: n: ~& r; v
  491. ; line unless ignore_repeated_source is set true.
    6 ], b. k8 ]0 j$ J& _$ ]
  492. ; http://php.net/ignore-repeated-errors4 H( |1 |. x7 [4 G! {' d- U- y
  493. ignore_repeated_errors = Off
    9 }, j! f, H+ }' \; f6 p$ E0 A( g2 C
  494. & ^3 ~; W( j8 Y: _
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    ; x" h4 y+ u, a/ }* k& |8 T
  496. ; is On you will not log errors with repeated messages from different files or
    ( D. h- {5 n; V, g4 a; |
  497. ; source lines.
    8 W& j& s8 J. v+ w; y* s
  498. ; http://php.net/ignore-repeated-source* V$ X0 U% j( ?! x
  499. ignore_repeated_source = Off
    2 Y3 ]4 B6 t+ R) c5 r8 z0 v
  500. / H* W+ ?3 K. r3 A- x4 b
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on9 X* ]! F, [  p2 ^5 k; Q4 M1 C1 M
  502. ; stdout or in the log). This has only effect in a debug compile, and if4 N' |& y5 w4 `6 {& m
  503. ; error reporting includes E_WARNING in the allowed list3 k! S# j) r! n9 i+ E0 M* v: P
  504. ; http://php.net/report-memleaks: H% J9 j. ^* |8 {
  505. report_memleaks = On' q& s/ r! j- ~# |7 q& |4 s5 N

  506. % h8 a6 K, @% y" I  \6 n
  507. ; This setting is on by default.* N  O- S1 J6 u4 p7 D
  508. ;report_zend_debug = 0. T) S2 w0 I* h5 s' ~
  509. # g% u; I; |$ ~9 Z* F4 z
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    2 r+ l6 ]4 k1 _+ z
  511. ; to On can assist in debugging and is appropriate for development servers. It should) }- {8 V8 o4 ^* b* V
  512. ; however be disabled on production servers.2 B" c# k( }+ z. z: c
  513. ; Default Value: Off# q4 G) ]: U* {+ M* b( x
  514. ; Development Value: On: X$ q& ], F8 A# `/ X
  515. ; Production Value: Off1 w) t9 g9 C$ c! j; J/ |& f" b
  516. ; http://php.net/track-errors; E( f: ?4 W) _& R' `
  517. track_errors = Off
    5 b7 c6 f/ ]0 W5 T4 s
  518. - i4 P( `) r4 h. M' f
  519. ; Turn off normal error reporting and emit XML-RPC error XML) q. o6 u" ^" S
  520. ; http://php.net/xmlrpc-errors: D, M. K" f3 W9 f' Q& V
  521. ;xmlrpc_errors = 0
    ! w' T& ]7 O) L0 \# y
  522. ; r+ R3 }2 ]" ^" e4 x# V
  523. ; An XML-RPC faultCode
    ; H3 F5 }. S4 K$ O
  524. ;xmlrpc_error_number = 0. u7 B+ D0 e# @6 J

  525. # x+ ~( [& t  x% n
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    * X  s' y# ?+ P" n9 S8 n: Z
  527. ; error message as HTML for easier reading. This directive controls whether
    9 q( t+ Z  }& V1 K0 O
  528. ; the error message is formatted as HTML or not.7 Q/ h2 X) e, r- V/ g+ t- F0 d
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    1 z$ R. `- R* o; `! g% m& n% o. ]
  530. ; Default Value: On0 j$ c& A5 i4 k$ n
  531. ; Development Value: On
    & y: R. q  k  K# k% a9 x' p7 {
  532. ; Production value: On* j8 |* w6 U2 [7 n% D
  533. ; http://php.net/html-errors$ e5 e5 ^0 }3 k2 ]' e/ r
  534. html_errors = On
      ~8 z9 [4 v  d: _4 A3 _

  535. 4 k& i! V5 r$ I! L
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ; Q5 Q0 b8 p6 ~7 ]
  537. ; produces clickable error messages that direct to a page describing the error3 H* t! R0 X/ D$ B# B
  538. ; or function causing the error in detail.
    & F) j  |+ R7 n
  539. ; You can download a copy of the PHP manual from http://php.net/docs" W% t. H  X8 y# O" ?! w
  540. ; and change docref_root to the base URL of your local copy including the
    7 t. k# i+ `' ^# q3 _- {
  541. ; leading '/'. You must also specify the file extension being used including
    5 o$ X0 n, c6 O+ D/ b) ?1 h
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ! |! Z& E8 s8 L$ v
  543. ; case no links to documentation are generated.& N0 o5 C- H6 Z# b) U2 O
  544. ; Note: Never use this feature for production boxes.
    / W3 s/ o( R( ?- [: H4 f, c
  545. ; http://php.net/docref-root- ~; ?- q/ X) @  k3 m
  546. ; Examples
    # u! a  O, W& d0 b+ S
  547. ;docref_root = "/phpmanual/"+ K- K3 o- F) h# k3 V
  548. . m* p; C; `- l+ N
  549. ; http://php.net/docref-ext
    ' u. u1 U# W5 x9 D" h7 q
  550. ;docref_ext = .html+ j" _8 f+ X+ P( a# _

  551. 2 J9 ^- v6 T0 O2 h# j
  552. ; String to output before an error message. PHP's default behavior is to leave; q+ W; L, Y; ~: j! Y
  553. ; this setting blank.
    : H' r5 M: J: }' r4 z( ^
  554. ; http://php.net/error-prepend-string3 H3 s1 p) f4 |! n  L8 G" d
  555. ; Example:
    5 c/ H3 Z( l3 L6 ^
  556. ;error_prepend_string = "<span style='color: #ff0000'>"8 q& p: I9 t3 }" @- E3 i8 U
  557. 8 i0 B* P0 l. E4 s
  558. ; String to output after an error message. PHP's default behavior is to leave; ]3 \% G2 A3 f! v. V
  559. ; this setting blank.
    $ P6 F6 [) K8 ^2 ?
  560. ; http://php.net/error-append-string
    1 E9 m+ s. I9 y& q* t
  561. ; Example:
    ; s$ E+ m, w* X3 W2 v  h
  562. ;error_append_string = "</span>"
    ( g* |; X/ m. f7 t, M1 G
  563. ' @  z4 H" {  d4 R# a: Q, M
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    5 p: @- g8 k$ N: r6 F' w* C8 _
  565. ; empty.
    $ {4 P/ E6 x# s8 O% J9 M
  566. ; http://php.net/error-log+ b5 b- ?2 v) n9 `# Y% P) H
  567. ; Example:8 `7 S) B& m7 M) V
  568. ;error_log = php_errors.log
    9 ]2 a: l/ o8 \9 A8 v
  569. ; Log errors to syslog (Event Log on Windows).
    1 I+ I* r1 s6 t( W' V) ~, M/ ^8 i
  570. ;error_log = syslog
    3 `" ~6 D8 R$ Y2 H, J( ?
  571. 4 S; \8 G$ O; \. Z- X, V& I
  572. ;windows.show_crt_warning
    5 z( X* b4 j( p5 d/ V, v7 ^: |- [& @
  573. ; Default value: 01 o, }' l! C- s
  574. ; Development value: 0
    9 N; \3 ?: D0 W* M/ w+ m
  575. ; Production value: 06 T+ n9 B1 h2 ^# f, r6 B$ m* k
  576. & ?0 R+ U# O/ p7 |. L7 b3 K
  577. ;;;;;;;;;;;;;;;;;; q6 \0 E' E" n% @
  578. ; Data Handling ;& K, _& W. \' r1 [
  579. ;;;;;;;;;;;;;;;;;6 u- f) N2 O5 z4 S

  580. & H4 U, J" y6 |9 r* F. U
  581. ; The separator used in PHP generated URLs to separate arguments., d: c  j; h6 ?' N2 N! K5 ?
  582. ; PHP's default setting is "&".
    0 e7 r8 k! g" D$ s4 D0 S$ \: q5 _1 J
  583. ; http://php.net/arg-separator.output
    & ?1 p8 r# L' l4 H, c
  584. ; Example:+ d+ Z3 f8 y( M9 U1 ^
  585. ;arg_separator.output = "&"' R; D* h6 Q  f) ~

  586. 9 K: V+ O6 g1 y3 G
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    # c* z, z! ~7 M  @) f
  588. ; PHP's default setting is "&".
    + N6 R3 \6 W6 I4 Y+ _4 ^1 n+ ^
  589. ; NOTE: Every character in this directive is considered as separator!
    8 o6 E* ~; R. s2 {# C" L1 [  P
  590. ; http://php.net/arg-separator.input
    2 x. O% g  R- g$ c9 k
  591. ; Example:8 s# h, k6 r0 \5 Z5 t# g' W
  592. ;arg_separator.input = ";&"
    3 q7 m& v+ [5 d. @

  593. 7 r/ b7 e! `5 n
  594. ; This directive determines which super global arrays are registered when PHP- C" G2 z3 t( Q% F% @& K; c) c- e7 e
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    * {' u( p& b/ |
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty: x! e# }: p% g; P! w
  597. ; paid for the registration of these arrays and because ENV is not as commonly6 G* Z0 ]( w% Y. {. T, ?. h& d- r: [
  598. ; used as the others, ENV is not recommended on productions servers. You: ~' Z6 y1 [3 n/ t: U* u- Z+ g. b- ?
  599. ; can still get access to the environment variables through getenv() should you; p2 q" e! l' j8 {
  600. ; need to.
    . u3 ~" L, P8 j' q$ Z
  601. ; Default Value: "EGPCS"# n" y4 T6 z9 z1 ]; D9 g0 I  x
  602. ; Development Value: "GPCS"  r- X) u$ z7 k2 F
  603. ; Production Value: "GPCS";/ H, V( g1 H& ?& ~3 P# e; I
  604. ; http://php.net/variables-order
    * ]3 e# R3 x0 x# @
  605. variables_order = "GPCS"
    0 d; c7 `) z( L

  606. & S: g: d% R4 Q0 F7 i
  607. ; This directive determines which super global data (G,P & C) should be5 O8 J" q3 o0 [  z
  608. ; registered into the super global array REQUEST. If so, it also determines
    7 O9 n" P* W, S; z$ c  L) M3 I) K
  609. ; the order in which that data is registered. The values for this directive+ g) t' O2 J7 |1 h, |1 r3 g: a
  610. ; are specified in the same manner as the variables_order directive,$ p7 B$ _5 r) l2 D  X. k* P. p
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    2 \, m& B/ V# j' W
  612. ; in the variables_order directive. It does not mean it will leave the super
    " g8 P8 u8 [$ O1 l, c: y
  613. ; globals array REQUEST empty.
    % {& L. \. V# ]4 N$ |; w$ w( _
  614. ; Default Value: None1 i2 }* s9 h- E: M, T
  615. ; Development Value: "GP"
    6 v. D9 o# z" b1 j5 O, k
  616. ; Production Value: "GP"
    , Z" Q" r- Z1 \' T
  617. ; http://php.net/request-order
    % ?8 q1 u7 ~4 ~7 a+ M0 M- |& g6 [
  618. request_order = "GP"8 p0 o4 N* f( c  e8 R6 p

  619. ) }* x* x% G3 t% a. k9 P/ X3 e3 [1 |
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    * ^! v# _6 ?' W. ~& s. r" [
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    + U0 ?4 K9 p0 D  a$ n7 X
  622. ; is invoked. $argc contains an integer representing the number of arguments
    ( l# G8 @9 k6 n5 P% [
  623. ; that were passed when the script was invoked. These arrays are extremely( ]+ V2 D: I9 f2 A/ B5 q- z* R( T
  624. ; useful when running scripts from the command line. When this directive is6 V+ ~2 J& _' n: p5 ?9 t+ q
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    5 g* c5 y$ C0 M3 ~; K
  626. ; a script is executed. For performance reasons, this feature should be disabled
    . Z/ X* d, _) z* x9 |
  627. ; on production servers., ~6 U" }) A' Q2 P( l# `, W
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    * W1 k9 W" Z; |
  629. ; Default Value: On
    ) ~: [/ f, C* {; W. A# Z
  630. ; Development Value: Off/ n* A! |" u% e/ `+ S8 h$ s
  631. ; Production Value: Off
    8 j) K# n+ [/ k3 P5 l
  632. ; http://php.net/register-argc-argv
    $ D. e4 c6 ]$ H* |  h
  633. register_argc_argv = Off
    & l- |. f& J6 P; k) a

  634. 3 i# n# j4 K8 `7 s7 n/ \& u" M. p
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    9 s/ A8 `) k. H; ~
  636. ; first used (Just In Time) instead of when the script starts. If these
    7 X7 p  R. }# p4 z9 P# y4 a' q( U
  637. ; variables are not used within a script, having this directive on will result
    - T- R- P+ P: h1 m! S: S) i! k
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    5 h# N8 O. k6 A  }
  639. ; for this directive to have any affect.+ n) ^. M5 D5 A0 ~3 L( }, |
  640. ; http://php.net/auto-globals-jit  R* y9 S, W7 y" t, O9 h
  641. auto_globals_jit = On
    * M4 z) i! z7 C- W3 S/ K4 [; X
  642. $ ~( o% u% u, x! ~6 d7 s
  643. ; Whether PHP will read the POST data.
    " T; q/ ?% g. R: {3 i
  644. ; This option is enabled by default.
    ( u4 N+ ^5 \' o1 e
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST# n# l: h' h' {  c7 a& g% V; R$ U5 x
  646. ; and $_FILES to always be empty; the only way you will be able to read the  `- p0 a) M+ p( F7 c
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    5 _3 C2 d+ I9 A0 K0 R
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.$ E& `* ^' x& E: u3 y
  649. ; http://php.net/enable-post-data-reading
    $ b; D$ w* B( y8 ^
  650. ;enable_post_data_reading = Off
    5 q; h! V, N2 `8 Q$ \0 a6 |( ]/ ^
  651. * H; v( Q2 i9 I: a
  652. ; Maximum size of POST data that PHP will accept.
    - S  _) ^1 q$ Z2 Y2 |  x( a
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    3 A' I- k) T' U4 k
  654. ; is disabled through enable_post_data_reading.( b6 l8 q# ^$ V' U
  655. ; http://php.net/post-max-size
    4 _# k3 y! a4 `  g
  656. post_max_size = 50M" e1 j' L% i- ^( b0 I+ M2 _$ D" S
  657. 9 m% |1 d6 P" \
  658. ; Automatically add files before PHP document.
    / L4 U  \+ G/ l2 x, m
  659. ; http://php.net/auto-prepend-file
    ; O, A, o( ^* c6 M  p
  660. auto_prepend_file =
    * w4 z. s( w' y- S
  661. 9 O; z2 p, @) A9 `, _
  662. ; Automatically add files after PHP document.
    % ]4 n" Y% N* M7 I+ n- N: O, r- t0 B
  663. ; http://php.net/auto-append-file2 w+ Z* S/ y& K. f! Y- `6 H0 b
  664. auto_append_file =
    8 \; x( s. x" y

  665. ' g: E4 s1 p2 _6 H& N2 o! u
  666. ; By default, PHP will output a media type using the Content-Type header. To
    # ?3 k3 g5 k* ~/ |% f) A8 C! i
  667. ; disable this, simply set it to be empty.5 o8 d  E* q# U
  668. ;7 H% ^- Y( n8 l7 a  @; S
  669. ; PHP's built-in default media type is set to text/html.
    ' K2 r! @1 {8 y+ J3 Y' y. M
  670. ; http://php.net/default-mimetype
    ! R  z6 E5 w. C  q$ x- |
  671. default_mimetype = "text/html"* J, n0 h" {. e

  672. 6 F6 |' z# B5 t- ?7 q% F+ J5 Z3 K
  673. ; PHP's default character set is set to UTF-8.
    - L6 B' n. O3 X  p# I
  674. ; http://php.net/default-charset2 u4 h/ F' ^* C* H
  675. default_charset = "UTF-8"3 F- S2 Y6 f- P
  676. 3 k4 F( @9 X8 x- f
  677. ; PHP internal character encoding is set to empty.
    ) I5 \: t* _8 C
  678. ; If empty, default_charset is used.
    & q$ u0 {; @* b+ i" g
  679. ; http://php.net/internal-encoding% c; ]8 Q8 e/ `% l9 G1 k
  680. ;internal_encoding =, a" s: Q+ D% |/ ^: I) E

  681. - q% p8 @$ {8 Z" R- q
  682. ; PHP input character encoding is set to empty.
    / L! y; I- {( o* o0 x: `
  683. ; If empty, default_charset is used.
    # d9 b% l# s0 S9 a
  684. ; http://php.net/input-encoding
    4 j% H4 @$ J7 n" Z; L* {
  685. ;input_encoding =
    6 R) f4 y' H  K+ g9 h3 A

  686. : _7 O7 R. Q8 s% o) a
  687. ; PHP output character encoding is set to empty.
    / _8 D; r5 M5 ?# k1 g
  688. ; If empty, default_charset is used.
    , g8 @8 O% E* b% O# B
  689. ; See also output_buffer.
    / T' [) x8 |$ l0 v
  690. ; http://php.net/output-encoding
    ) P# M# V0 o+ ~% H
  691. ;output_encoding =
    - k; P% e% H! v

  692.   U' F7 B+ K$ n# s) s. _* K; p
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;4 _! M7 o( K4 }% E9 O8 H
  694. ; Paths and Directories ;
    ! N* z- T: b" P
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;, k+ L  |3 ~, }2 X' O1 P- w

  696. ( `8 P/ F% b% O1 d1 c2 N7 E  `- d
  697. ; UNIX: "/path1:/path2"! \+ I  z) N  k6 ?/ \' z" R# P4 |+ N
  698. ;include_path = ".:/php/includes"
    : Z1 V4 \% I8 p  z% ]& j, b, D
  699. ;+ d' R' o9 E/ n; X. E: V
  700. ; Windows: "\path1;\path2"( ~% n; `' d9 n# O/ Z
  701. ;include_path = ".;c:\php\includes"1 m$ W' ]0 A5 k
  702. ;5 k* Q4 z& x3 h) K( A
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"# i" {% T  |  n: Z
  704. ; http://php.net/include-path
    3 H9 e3 _- a9 e1 K& T1 a: K& m
  705. 4 s3 g6 C  \& y, Q  C" }3 s; ]. o
  706. ; The root of the PHP pages, used only if nonempty.' E! e* m1 k+ ^  J& f: l! u$ J. Q3 v8 c
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    - U7 S) g' U4 d  q: b* q5 {! J& s
  708. ; if you are running php as a CGI under any web server (other than IIS)6 c1 M8 A/ d7 t$ g+ g$ t' s9 J
  709. ; see documentation for security issues.  The alternate is to use the
    " ?7 g5 u- {/ b1 X# ]$ h
  710. ; cgi.force_redirect configuration below6 u  }) V. Z& `- C, f
  711. ; http://php.net/doc-root
    ! h1 x% Z; o$ [3 J" {# \* |6 x2 T
  712. doc_root =+ M$ ^: z% d8 O/ x9 r3 ]
  713. 2 T5 t; I/ {( d* A- v) j. w: `
  714. ; The directory under which PHP opens the script using /~username used only
    % \! s* r  e) O6 H. P
  715. ; if nonempty.
    5 S4 D1 X! }7 `% J1 |
  716. ; http://php.net/user-dir
    - S* t, ]; u: z: n
  717. user_dir =
    + k  c  w# J1 }& J8 |

  718. & [; t+ Z) T( J- j1 X9 ?$ g, _
  719. ; Directory in which the loadable extensions (modules) reside.! J& Q7 M9 F' c# P
  720. ; http://php.net/extension-dir
    " ?" `: e7 |' ~. o8 D* R# |& E
  721. ; extension_dir = "./"+ \+ B/ k8 G! U! L- G" j- C8 G
  722. ; On windows:* R1 O3 P* x0 V6 n
  723. ; extension_dir = "ext"
    7 w1 q7 r- q7 V& S5 {

  724. $ Y& `. J5 A/ R3 w5 w! k3 z2 D  k
  725. ; Directory where the temporary files should be placed.
    . W9 z$ |( c" k: _
  726. ; Defaults to the system default (see sys_get_temp_dir)
    , K/ L) S8 |0 R' s7 @, p* x
  727. ; sys_temp_dir = "/tmp"6 ?" ]) H0 C9 s  E' R

  728. , N$ R+ W, Y" G* A
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work; i7 r, ]7 G# z0 Q; D
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically# v) E# L) A# B
  731. ; disabled on them.: Y+ q3 c: V- J) I: l1 c& M- q
  732. ; http://php.net/enable-dl# e" u- I2 w' T
  733. enable_dl = Off  p1 ^* N+ O& t% P
  734. - J! g! {. L& B0 l) [% L4 G
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under' T/ g3 `. m; L* n, W. c
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can$ s4 M0 B+ b" R3 G1 Q
  737. ; turn it off here AT YOUR OWN RISK
    9 L  u6 H0 T6 b7 \. c2 F; X
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ; q  D& R! ?" ^& W  ]* E- G
  739. ; http://php.net/cgi.force-redirect
    6 E3 \9 O# u& S! F4 A' P
  740. ;cgi.force_redirect = 1
    7 _- I2 m1 T8 |9 B- m3 O3 \; Y
  741. 5 G6 r5 l5 f) C, p- [- B. ~$ M4 E
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    # F! Q% q% A; c, M
  743. ; every request. PHP's default behavior is to disable this feature.! ~' J2 U+ Z" X) s4 P0 F0 S1 f
  744. ;cgi.nph = 1
    - h! A) M* R1 u$ E' o( r4 h

  745. ( b8 U! x1 v0 k0 i
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    7 b' a/ L. @7 r% O! W# N5 a8 B; I
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ( X1 T) ]6 s/ m9 W1 l3 p: E
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    , D$ r0 ^' Z. w, T! |! s
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ! k$ {, b2 h# }
  750. ; http://php.net/cgi.redirect-status-env
    4 c5 W# E1 ?) i, V1 f6 a
  751. ;cgi.redirect_status_env =
    . W! B& c8 d7 S$ Y8 X  t
  752. / i# a* _" b7 [" x# N. A
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's3 `9 G; b) \$ c1 I
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok$ W( B7 {; Q' w" }! m
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting% V9 t. @# s, ^9 a
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting' N" F3 F: r! }7 B( H. A1 w
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ; R4 n0 a- @+ }7 E6 a
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    " G1 b/ o+ B: X" z4 |
  759. ; http://php.net/cgi.fix-pathinfo$ I$ ^7 P; s, E6 u
  760. cgi.fix_pathinfo=1
    - U- l$ Q, ~- ^$ X3 e& |

  761. " V: h. \: |: k& Z" x
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside* _3 e5 u, r$ M3 e1 ]! }6 y
  763. ; of the web tree and people will not be able to circumvent .htaccess security.* S9 d# n: s+ \
  764. ; http://php.net/cgi.dicard-path
    3 A+ v9 W! o5 F  Q8 v
  765. ;cgi.discard_path=1+ O" E$ V$ v6 Y; a* Q

  766. # ~4 _% E- J4 @0 A
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate7 b8 ?  T- z3 q: B1 W- z
  768. ; security tokens of the calling client.  This allows IIS to define the( e1 o3 s9 X; a1 j
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    + Z; T9 T8 o7 x
  770. ; does not currently support this feature (03/17/2002)1 R) J, X# n# K+ [5 c
  771. ; Set to 1 if running under IIS.  Default is zero.
    3 I3 q( M7 ?0 p0 s$ F. M7 |
  772. ; http://php.net/fastcgi.impersonate/ J1 O3 ?7 O* v5 {
  773. ;fastcgi.impersonate = 16 u& A" g: w* t) |' M. ~9 n
  774.   K- m* D+ L/ ?( Y* X" i( y
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    # c( u; k6 N9 Z1 o
  776. ; this feature.6 e/ u: a% X9 M0 g2 W( N
  777. ;fastcgi.logging = 0
    1 G. k0 U& a6 D( X& i8 [* d

  778. 3 S/ `% E( o# h4 u8 k8 m/ j
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    % S, Z$ l5 M0 n6 Q( b9 ]! x
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    3 o2 r. j) @7 K3 ?% I' l
  781. ; is supported by Apache. When this option is set to 1, PHP will send0 J$ Z, v3 J* o; I
  782. ; RFC2616 compliant header.
    ' R4 M* w; u0 }' A! i
  783. ; Default is zero.6 _, E( Y: |% M
  784. ; http://php.net/cgi.rfc2616-headers
    ( J1 y) G, l( n0 a
  785. ;cgi.rfc2616_headers = 05 [+ \( |# S* I' Q
  786. . |6 x; _! g2 G
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!9 b0 o3 @* D, {0 v
  788. ; (shebang) at the top of the running script. This line might be needed if the4 @. G" b% d: p7 q
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    : m! d! j" s! S3 }
  790. ; mode skips this line and ignores its content if this directive is turned on.
    , _, F: j$ z+ ?* W: P2 p  }1 p' E
  791. ; http://php.net/cgi.check-shebang-line; _' \0 _: D. V" P! m
  792. ;cgi.check_shebang_line=1% z$ h# y# h0 }2 j$ u: s

  793.   i% h& @- k$ }+ X7 `6 o
  794. ;;;;;;;;;;;;;;;;
    & q7 ^. E# y( ~3 x# V
  795. ; File Uploads ;( ^/ O& b. N) t! r# h- Q
  796. ;;;;;;;;;;;;;;;;9 B$ p# @: Q7 @
  797. + z/ [! }2 S0 k* @; L$ j+ Z- |4 H
  798. ; Whether to allow HTTP file uploads., E( \, M7 m, x" ?6 b4 y
  799. ; http://php.net/file-uploads
    % C' Y( M- a. B
  800. file_uploads = On1 I* _- Y5 W/ n4 m7 Z
  801.   Y! A% N3 V$ Q# O* X5 ^4 w1 R
  802. ; Temporary directory for HTTP uploaded files (will use system default if not/ |/ i9 @* c9 L  |( w3 b
  803. ; specified).: }3 N7 G2 N3 d4 _' x, N2 c
  804. ; http://php.net/upload-tmp-dir5 x5 [' d. ?& s
  805. ;upload_tmp_dir =0 R  f; S- ]5 v
  806. . Z9 J6 @# v1 y  L' u3 Q$ o  \
  807. ; Maximum allowed size for uploaded files.
    $ Q2 E% A; t7 J
  808. ; http://php.net/upload-max-filesize
    + E/ z" X% u5 U. T" d. ^6 I2 R# Y
  809. upload_max_filesize = 50M
    ' T* I& m* L2 I4 T4 g0 g/ J0 D. y& F
  810. $ ^) ?" e% `+ d
  811. ; Maximum number of files that can be uploaded via a single request! I( y5 t; Z) f9 F" x
  812. max_file_uploads = 20
    & ^3 p- K' e" u; x

  813. 3 O- [" C* |8 X. H9 u
  814. ;;;;;;;;;;;;;;;;;;5 c4 S, I( X' o$ i7 [
  815. ; Fopen wrappers ;
    6 D3 M1 p) p- t5 p8 }2 `+ I  C/ U8 |
  816. ;;;;;;;;;;;;;;;;;;' Q, e7 E5 A0 f5 g

  817. : _5 [, T0 y# g9 Q
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    % Y3 s; l7 I$ `
  819. ; http://php.net/allow-url-fopen
    + q* {* E% Z( e9 Q1 K8 t) L! B
  820. allow_url_fopen = On
    3 L5 x! ~9 S5 G# S5 s% M
  821. / B& i: P: O3 l
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    9 i$ k5 y2 q& ?; E' y, }) T$ ^. w" c
  823. ; http://php.net/allow-url-include& i) Z# h1 C/ b; J9 J% A+ {  v
  824. allow_url_include = Off
    8 F) [7 _: q) B9 N; w" X, m, Q
  825. " u  Z! m' o/ L) j' g" ]
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    0 S! w6 H8 J  i* @) s5 [5 h
  827. ; for this is empty.
    ; f; S, c+ o1 K1 m0 y/ S7 @
  828. ; http://php.net/from
    ; Y% K# Y( s  T7 e
  829. ;from="john@doe.com"6 f, X/ S- H6 U6 Z& _2 e' G
  830. 7 U* l% X6 ^! i, O5 n$ @& D' n
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
      B5 P1 x/ M; n2 f; B
  832. ; http://php.net/user-agent9 c% i" {- m1 W- Z2 s- A0 v1 K$ j
  833. ;user_agent="PHP"& I6 t% Z* ?  Z) V% s+ H

  834. 8 N0 v% d/ U$ l' h; {, C- P5 b
  835. ; Default timeout for socket based streams (seconds)0 q/ x' X- V: D. k
  836. ; http://php.net/default-socket-timeout- V$ }& h+ N; z9 b9 H' p+ g
  837. default_socket_timeout = 60
    6 |/ E' |2 f$ ?3 b3 D2 ~* g

  838. 4 t6 |9 m6 j5 J& l7 e5 B
  839. ; If your scripts have to deal with files from Macintosh systems,
    3 ]+ k; v" A! U& u+ p2 c
  840. ; or you are running on a Mac and need to deal with files from
    9 B, t1 d" X6 B- u( y7 ?* i6 @
  841. ; unix or win32 systems, setting this flag will cause PHP to
    5 m5 A4 J9 {+ t0 Z# C! [6 G9 k
  842. ; automatically detect the EOL character in those files so that& Y8 ~+ b: W, Q( l/ n
  843. ; fgets() and file() will work regardless of the source of the file.
    % R$ R8 Q: i  c
  844. ; http://php.net/auto-detect-line-endings
    $ p/ ~2 A. n- }& d
  845. ;auto_detect_line_endings = Off' K/ H% l0 u5 p

  846. 0 O; M: K6 P) L2 u. _
  847. ;;;;;;;;;;;;;;;;;;;;;;- c- M- N% t% d& R& H
  848. ; Dynamic Extensions ;0 w6 a) C. A. {7 M# Q. I
  849. ;;;;;;;;;;;;;;;;;;;;;;
    : e  x' O* Y3 g8 D; @5 [6 I

  850. 5 Y4 I7 Q- S# Q8 V9 z
  851. ; If you wish to have an extension loaded automatically, use the following' U" L. a9 E0 w7 ]" q
  852. ; syntax:
    1 P: F* I; E% \* \0 h7 F
  853. ;
    4 _' t" F* Y3 Q4 ~
  854. ;   extension=modulename.extension9 K3 O& g" p- _6 o: H' q9 T
  855. ;, ^9 n& O  `- G2 [' q" @/ f4 B
  856. ; For example, on Windows:
    * L5 w. I9 G6 k: i; u
  857. ;0 h. D) ?7 `, `* O0 \4 C9 _
  858. ;   extension=msql.dll. R' \# w* ~3 I! I( T9 C
  859. ;0 I7 {$ h) Q4 v7 N) p- S1 [- f
  860. ; ... or under UNIX:% |2 o: k7 n4 a% O- r6 b1 N( f, Y6 _- {
  861. ;; K' B( z  Y, w- o" `# q4 N
  862. ;   extension=msql.so
    9 U1 L8 I) ^! o3 q! {
  863. ;3 q. X$ d; L+ w0 j! i; @
  864. ; ... or with a path:0 Q1 c2 G6 U7 n7 f# z# A
  865. ;$ X8 r' g7 s% n# _  q
  866. ;   extension=/path/to/extension/msql.so; G. s7 m" O! ?3 Z: K4 i' w
  867. ;! B. t& z7 L+ @" @
  868. ; If you only provide the name of the extension, PHP will look for it in its
      K( i& a& g3 I( r0 B4 e
  869. ; default extension directory.
    7 }4 @- ^8 E. \/ @5 \4 u
  870. ;0 {: R( a, Y0 X" R& O
  871. ; Windows Extensions
    0 p9 j0 C: E% m- Z0 }
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    % i: t- V9 I8 o& m7 ]
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    4 w2 q0 _, [7 e6 S8 \1 M3 L
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    4 y9 [" y7 P, A) F
  875. ; Be sure to appropriately set the extension_dir directive.
    # |2 @; v1 ~0 l8 ~( L, b
  876. ;
    1 {: ^: H& e7 h# N
  877. ;extension=php_bz2.dll2 D1 N* L& I2 ?4 U, [& {6 X
  878. ;extension=php_curl.dll
    $ C& V' |5 U% v, Z( r3 |0 c
  879. ;extension=php_fileinfo.dll
    $ H+ N) ~' V, O+ v
  880. ;extension=php_ftp.dll
    & B5 {5 K$ k9 `' ~3 \5 T+ B; A
  881. ;extension=php_gd2.dll6 }) a  h5 F3 p9 R
  882. ;extension=php_gettext.dll
    2 N% ?) p1 N: f
  883. ;extension=php_gmp.dll9 r$ ]2 s  p0 {' o; y1 h
  884. ;extension=php_intl.dll
    6 U' o1 G2 g/ ^' C8 `; R7 s7 y. m
  885. ;extension=php_imap.dll
    8 b# `) _; b" x% {
  886. ;extension=php_interbase.dll
    ) E3 A  B- _1 {- f" X  Y. D
  887. ;extension=php_ldap.dll  q7 }+ |" ~) p; C. G% r. E8 `  b- u
  888. ;extension=php_mbstring.dll
    0 w% i- Y+ U* S/ J, q/ \
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it/ F) t: D7 X3 I9 I( G
  890. ;extension=php_mysqli.dll7 j. @# V2 G9 ~
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ! v* S9 Q$ g0 n6 x8 Y, ^! P# d
  892. ;extension=php_openssl.dll* X( h, s3 L! x' _) j: z
  893. ;extension=php_pdo_firebird.dll
    / m8 w' Q) U) k& H; @
  894. ;extension=php_pdo_mysql.dll. }* y- f4 s: G# o
  895. ;extension=php_pdo_oci.dll
    + Z" r' U5 S* B/ r, O
  896. ;extension=php_pdo_odbc.dll" z# i% F9 x. d& k& r* I, X2 H
  897. ;extension=php_pdo_pgsql.dll% J) L) {3 C0 H
  898. ;extension=php_pdo_sqlite.dll9 F$ H7 ^8 g2 q7 d7 {; F0 w- V
  899. ;extension=php_pgsql.dll; S6 T% h" I' B$ S3 O
  900. ;extension=php_shmop.dll
    ( p: v+ S2 ]1 ^) n8 b+ p

  901. ) }5 L" S1 |* T% l
  902. ; The MIBS data available in the PHP distribution must be installed.0 J/ l4 V- ]' [' @
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    - P7 Y7 ^" E" \9 k# k: M6 x
  904. ;extension=php_snmp.dll: K! X! H- h$ s% t( Y- k2 V
  905. + c$ d' v- k6 F" f
  906. ;extension=php_soap.dll
      ~8 D1 [3 ^2 Q3 d) s9 H
  907. ;extension=php_sockets.dll
    + ?6 c+ ~+ w. D2 g3 a' _% n/ Z
  908. ;extension=php_sqlite3.dll, C: Y6 A% d& x! h
  909. ;extension=php_tidy.dll
    " i* t# v  Z* o) v+ R
  910. ;extension=php_xmlrpc.dll4 B/ I' q9 R' }( K
  911. ;extension=php_xsl.dll
    , c- K( M, Q5 _2 r

  912. 6 P2 ~2 ?) f' ^
  913. ;;;;;;;;;;;;;;;;;;;
    % t5 E' x% s, r; {: }8 m% E% G
  914. ; Module Settings ;
    8 v+ c4 R- M, K5 E
  915. ;;;;;;;;;;;;;;;;;;;3 j6 {2 P* Y' o9 G! M! z
  916. % Y8 S0 T, C5 Y- {% z
  917. [CLI Server]
    ! ^; n7 s; ]9 ]! _; a7 }
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    # P. o) A2 n# k" ~7 A+ N. P" @9 x0 s
  919. cli_server.color = On7 D. S$ ]- A  a: p

  920. . v. a0 h$ c, @/ {: U
  921. [Date]
    + y0 N8 ?. h7 s; q, X. U0 H* F
  922. ; Defines the default timezone used by the date functions
    " E) x3 w5 S; K/ [8 }! A
  923. ; http://php.net/date.timezone
    : N0 Y" N1 o2 f7 Y" m/ m
  924. date.timezone = PRC
      [; z4 N4 C# s2 b. E

  925. * `4 b  j& p/ Y5 O4 Z
  926. ; http://php.net/date.default-latitude
    ; _& m4 S# _$ H; F
  927. ;date.default_latitude = 31.7667
    . t% `$ v& T2 b

  928. % \+ s- g% _) q
  929. ; http://php.net/date.default-longitude( w2 B6 H* F9 p- l/ s
  930. ;date.default_longitude = 35.2333
    6 _7 a# b' J- E% q; ^6 `3 \5 [

  931. & m/ I* D6 c4 {: y/ U/ Z, d
  932. ; http://php.net/date.sunrise-zenith: m3 u% ~2 U" n' G: O" {8 W( _
  933. ;date.sunrise_zenith = 90.583333( W$ r* ?+ X) M$ m# f
  934. & S7 H1 l5 A; n* C
  935. ; http://php.net/date.sunset-zenith
    8 }9 ~# t5 N3 ^2 r) ^% ?
  936. ;date.sunset_zenith = 90.583333& B6 n7 e+ v, B# D. }+ H

  937. - K5 \0 I6 }: k4 w. b4 n" K
  938. [filter]
    ' _9 Y: b( X, E& p8 t6 ?" Z
  939. ; http://php.net/filter.default2 @9 p- }# t/ j
  940. ;filter.default = unsafe_raw& }: ?& [$ d' d1 z, }, T

  941. # u6 T# o) v1 [# I  r& k) t
  942. ; http://php.net/filter.default-flags% j! _8 H6 c5 O. V3 U& z( C5 L
  943. ;filter.default_flags =9 v. n% a( ]5 A1 f
  944. % P& Y( Z" _7 @3 i0 O
  945. [iconv]2 X) [0 U% f. T% Y9 ]
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    6 d) f1 t  O9 r! [- y
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.7 w$ R" Q: a5 v5 e/ b8 ^: _
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    " W& B3 f1 I' H
  949. ;iconv.input_encoding =
    . c" m0 L; _- s  i6 h6 f2 b
  950. ) O( i$ d. b3 r
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.9 [+ R5 B! ^) V
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.6 D3 b+ J: l# k& @' A' I
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ! y) @: x- U/ Y3 Y$ G7 s# `
  954. ;iconv.internal_encoding =
    , y% m8 s9 C/ c
  955. ; ~# Y7 ]- U5 c+ ^; m" w
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.2 {+ \! w2 Z( S& G8 B
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.: I& [7 o8 Z3 h  H* z( x
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding" }& A. D! K  H1 H1 m
  959. ; To use an output encoding conversion, iconv's output handler must be set
    2 B0 S4 E( i$ H9 e
  960. ; otherwise output encoding conversion cannot be performed.( A" z5 b3 x  V! N1 f! X) b
  961. ;iconv.output_encoding =
    ) ~, ]$ b; l2 n$ C1 o% _
  962. 9 z% h4 J0 f  y$ z. ]/ p6 X
  963. [intl]0 y8 Y" S5 B5 j" Q& b( I
  964. ;intl.default_locale =
    2 S6 _. |  P% _' z3 a. T/ C6 n
  965. ; This directive allows you to produce PHP errors when some error
    $ e+ p% p: w: q& `  u( u1 F& Z0 L
  966. ; happens within intl functions. The value is the level of the error produced.6 _, B. E# }+ a+ i
  967. ; Default is 0, which does not produce any errors.- {4 ]9 P# o5 M8 K$ `/ R
  968. ;intl.error_level = E_WARNING
    6 v, F3 \6 E& t- E4 o; U
  969. ;intl.use_exceptions = 05 ?- H1 S; e1 Z( R$ I6 l

  970. + o# O0 c) J7 I" k& ^
  971. [sqlite3]7 R& `* e* M9 \7 n: w0 L6 i
  972. ;sqlite3.extension_dir =. Y7 i, |' `9 i7 N& F
  973. - T% C0 o6 h8 g0 ~: @
  974. [Pcre]$ O; D4 ]2 w; O& ]5 r. T8 _
  975. ;PCRE library backtracking limit.: \) @0 X: @5 a5 G/ M
  976. ; http://php.net/pcre.backtrack-limit
    - Q% ]. M7 j  f$ T3 L6 a1 X
  977. ;pcre.backtrack_limit=100000
    7 ~7 a6 s. }# ]3 |% M- Q9 M& F8 Y  m
  978. 7 k, g( w6 x2 N# W; ^% P8 `
  979. ;PCRE library recursion limit.& N; ~4 S9 r: T
  980. ;Please note that if you set this value to a high number you may consume all
    + z* [: E$ J3 p! i: |
  981. ;the available process stack and eventually crash PHP (due to reaching the6 q6 d/ g" u4 U* C4 s2 n
  982. ;stack size limit imposed by the Operating System).
    4 C1 S% |3 g2 j; G# L$ i& c
  983. ; http://php.net/pcre.recursion-limit
    , Z3 k3 \* N7 l7 @! i9 W
  984. ;pcre.recursion_limit=100000
    7 J- J) v* B7 Z8 ~! M( i" F
  985.   o6 ~. j& U. R8 o
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE. h- Q$ R) v3 i. p
  987. ;library to be compiled with JIT support.* o! S! g' @7 c4 `1 K: @8 i- q( n
  988. ;pcre.jit=1' n+ O& @/ i7 h1 f$ w8 R! K; e$ e. F" H

  989. & |, I7 i" S; S- W1 Z0 V
  990. [Pdo]
    , ]( g$ o, W( s5 N5 }5 f" A
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    0 H0 U) k+ }. }3 ]8 i3 e
  992. ; http://php.net/pdo-odbc.connection-pooling! Y$ |; ^" n1 @; @* j& z
  993. ;pdo_odbc.connection_pooling=strict
      J# e4 [+ a1 t! f+ m- v

  994. . V; [: l; Z- _. @, G
  995. ;pdo_odbc.db2_instance_name% N. [; s: g7 M6 v  \7 Z
  996. ) `+ x+ \6 D% ~$ w3 r! Z  B/ |- R  Z
  997. [Pdo_mysql]' C3 ^6 N. T# @% w0 L& l
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    2 ]4 @9 v* Y: e
  999. ; http://php.net/pdo_mysql.cache_size- K/ I+ U5 O% [" R& F
  1000. pdo_mysql.cache_size = 2000
    : K0 i) S5 S- k( c8 S1 {& M

  1001. 9 U; _9 q* v2 E; P  Q% u' H; O3 j: j
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in0 E, g9 V1 r4 Z% X8 h$ a1 d" V
  1003. ; MySQL defaults.! N9 n! E2 |8 Y. `2 z  d) \
  1004. ; http://php.net/pdo_mysql.default-socket$ R# h+ d9 p8 Y8 K1 q6 s
  1005. pdo_mysql.default_socket=" x, z' ]1 h. Y' n
  1006. 1 V3 ^# a. `, X7 K3 r. C, Q* D- b
  1007. [Phar]
    8 b2 w; f) H: k9 T" ]
  1008. ; http://php.net/phar.readonly0 G9 W7 H* k  W2 @$ p
  1009. ;phar.readonly = On% J3 D. Z! ~; ?7 s
  1010. 0 G; i& d* n% M6 Q# v( e) N/ s/ `
  1011. ; http://php.net/phar.require-hash
    ! {/ J) a1 }, P. w4 k# S
  1012. ;phar.require_hash = On
    3 q% ?6 `5 D) m% [( |

  1013. 8 ]- Y7 M6 M6 K2 i  d- G  o4 o/ K" m
  1014. ;phar.cache_list =; ]$ r. P( \1 t; e: ~
  1015. . Y4 j: A4 V  B) g5 ^% E, B
  1016. [mail function]+ j/ f, Q6 k1 i! s
  1017. ; For Win32 only.
    4 b' A/ R% X& Q% W2 s1 N9 }
  1018. ; http://php.net/smtp
    & q* a2 a) P- V7 Y' C/ o
  1019. SMTP = localhost# V  y  p: X" c! g
  1020. ; http://php.net/smtp-port$ G, q. ]. z9 a- C* \
  1021. smtp_port = 25! Z1 `( j: N1 [& x
  1022. 4 H$ y) e* o- y6 K8 u
  1023. ; For Win32 only.
    : X: H5 F" {5 n7 m* o
  1024. ; http://php.net/sendmail-from
    0 i3 n, _  b* u  {- W" g4 {1 Q
  1025. ;sendmail_from = me@example.com
    9 C* v. A7 F0 X! _

  1026. & j/ m$ G" ^! f6 s
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    * `% q5 H+ K0 ~( n# F' a
  1028. ; http://php.net/sendmail-path
    ! W2 O( s, q; J1 P& R* g
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    # R  ~* `4 K; V( B
  1030. 4 G* q- ]3 k/ q1 E7 R  y4 Z2 W6 t
  1031. ; Force the addition of the specified parameters to be passed as extra parameters* j# L2 U' B6 W: B
  1032. ; to the sendmail binary. These parameters will always replace the value of5 r" k6 c* n: l' {0 R
  1033. ; the 5th parameter to mail().
    ( \2 D) x- G5 D% [, L: f$ h6 n
  1034. ;mail.force_extra_parameters =
    4 [/ w  G6 B, A  |; V6 F, f

  1035. 4 R9 X* u  D2 q" {
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename9 e. I/ G8 \* |8 X4 F% M0 V  Z  j
  1037. mail.add_x_header = On8 S4 _/ `/ S) B- _: p. x

  1038. / M; ^7 f+ a" }% a# @
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    # `  o% v3 G# \' L% `! _5 e
  1040. ; the full path of the script, line number, To address and headers.  p- h* X$ f' d1 N+ J
  1041. ;mail.log =
    ; Z2 g, Y' w$ o" A# Z  o
  1042. ; Log mail to syslog (Event Log on Windows).3 g* C- c3 w0 C+ H
  1043. ;mail.log = syslog/ x9 y3 r% u/ M6 a/ l$ O; z
  1044.   n5 |! K4 s8 c$ O& C" g
  1045. [SQL]. ^) a  U8 _* m, N. w* ^8 g- F
  1046. ; http://php.net/sql.safe-mode$ t: L6 n% \" e8 J  I1 U7 h9 k
  1047. sql.safe_mode = Off
    9 `2 D" I- f9 A5 M+ s5 v
  1048. : ?. \' A; C9 I2 `+ O; A
  1049. [ODBC]3 D& `' t+ j2 [, W1 n6 }
  1050. ; http://php.net/odbc.default-db
    9 w( d6 C% I% t* y5 O
  1051. ;odbc.default_db    =  Not yet implemented
    0 S9 Z4 j$ e5 t& e6 B
  1052. 6 O, B/ N5 K) ]/ J1 k
  1053. ; http://php.net/odbc.default-user+ h& E5 z$ C- s5 e6 b+ R! z! ~
  1054. ;odbc.default_user  =  Not yet implemented/ z, ]" s. F: v/ ]) K

  1055. ) h) a1 L- U2 g
  1056. ; http://php.net/odbc.default-pw
    . w; u+ C2 c& P- r! R: X5 }! V
  1057. ;odbc.default_pw    =  Not yet implemented
    ; t) ]6 I3 x% {  R% a
  1058. : B  d6 z+ Z! f* T
  1059. ; Controls the ODBC cursor model.
    * t! U5 p6 y; W+ f+ i1 W# o9 k7 X
  1060. ; Default: SQL_CURSOR_STATIC (default).* N4 {* G3 R/ b. |5 H( G4 b; A/ V
  1061. ;odbc.default_cursortype
    0 b2 M' d' k1 w& y6 i/ h2 J

  1062. ; O8 q( M/ }+ a9 \* O; E
  1063. ; Allow or prevent persistent links.
    & E8 i" t$ k; g5 ^, c4 K' O
  1064. ; http://php.net/odbc.allow-persistent
    ) [/ B5 R0 \8 [2 D( |$ U) _
  1065. odbc.allow_persistent = On
    . K% M' I# c2 g* x) B; r  A
  1066. & Z7 z- g  o8 V1 M' D! f7 b
  1067. ; Check that a connection is still valid before reuse.# ]$ C- F8 w; w$ P8 U& D
  1068. ; http://php.net/odbc.check-persistent
    ) P& @! B7 d* m! S( d, v$ _
  1069. odbc.check_persistent = On
    , N4 `1 v9 k$ e$ \
  1070. $ q, n) p4 O9 d- `, Y. n% {4 M
  1071. ; Maximum number of persistent links.  -1 means no limit.! N+ b% |) E2 b' _  `7 y4 ~
  1072. ; http://php.net/odbc.max-persistent
    1 I3 W* @; {6 _3 y& J, v
  1073. odbc.max_persistent = -19 x9 _0 e4 T. C: ]# i& M

  1074. 7 d" j$ l+ _. x9 k# W9 T0 Q
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.$ k3 t' p# e" [1 C9 U# i$ F: g- J
  1076. ; http://php.net/odbc.max-links4 ^0 u3 |* {5 q3 `) w: n8 ^- v6 O' K) B- P
  1077. odbc.max_links = -1
    2 s" t9 h. C8 h' r/ B+ B5 s

  1078. 9 @! g/ N1 |- ~) o: D8 K/ P5 Z2 q3 E  g
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means  G: ~  I5 b! N+ t  y% L+ y9 J& Z
  1080. ; passthru.5 [; e: ~; D0 G8 n& y; {
  1081. ; http://php.net/odbc.defaultlrl# ?* P0 k; W  t4 v
  1082. odbc.defaultlrl = 4096% A' V1 m& i7 Z" [" v: i9 |% ?

  1083. ! S: j& E3 T: q8 U* E; N
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.* s5 x  Q* v& o& a! c# f
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation0 k  y7 h) f& W, X1 [- h. v* U
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode8 s( ^4 P: Q% o, J& p- R5 T
  1087. ; http://php.net/odbc.defaultbinmode
      _6 G4 e+ v0 W  ~0 P
  1088. odbc.defaultbinmode = 1# m! ^+ B8 N* r# w0 f9 B0 ^
  1089. 9 @' q( ?) ?/ F3 K
  1090. ;birdstep.max_links = -1" k& u- x; E3 K- s! T% `( q- f( A
  1091. ; w8 i2 L% _" l/ \1 N
  1092. [Interbase]7 W, {$ ^: g" P0 c
  1093. ; Allow or prevent persistent links.% B5 L' b4 m' e7 T( \, |
  1094. ibase.allow_persistent = 1  q( U, V+ m1 Z# R. W1 d0 k( o

  1095. * @( K, i, p+ k5 m
  1096. ; Maximum number of persistent links.  -1 means no limit.+ I5 t- H3 X7 c5 }% e: U4 K
  1097. ibase.max_persistent = -1
    / p# i: u) u1 \6 n

  1098. : u1 ~1 X+ v; R- @
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.% ]; y# ?3 r; o" B$ S; L8 z2 g
  1100. ibase.max_links = -1" X: V, z0 d# R0 ~( s# b
  1101. : i! u0 r! Z& q# T: D
  1102. ; Default database name for ibase_connect().
    ) M3 M+ p' K% ~, F" h, z
  1103. ;ibase.default_db =
    ( e! l0 e+ \6 J9 x7 J+ p% R
  1104. 0 B+ s% H" Y0 A7 c. E' x9 u
  1105. ; Default username for ibase_connect().
    ) f, c0 H. G( y3 q/ M
  1106. ;ibase.default_user =
    * ?# s, {+ ~3 M8 r2 y! H$ g9 _% M
  1107. ' o% X  i. ?+ [' g% H2 A
  1108. ; Default password for ibase_connect().% r: R. _% X; J6 X  J5 U' x' a
  1109. ;ibase.default_password =
    $ d/ o% _8 O6 q  G8 N9 M& D
  1110. 3 k$ a/ ^. ?+ E6 t5 S. d
  1111. ; Default charset for ibase_connect().! L1 x- }5 t' O( I
  1112. ;ibase.default_charset =. Z3 |% m: h. R; @. m
  1113. ' Q, a2 t: P7 M6 E! Y' P8 N
  1114. ; Default timestamp format.
    ! Y( x# M8 K1 q3 \) ^
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    2 G: \2 J* z4 K5 `: R$ y) d. N
  1116. ' Y4 x1 k$ W5 o( W: N
  1117. ; Default date format.
    2 e' ^- w( y7 q; c: x
  1118. ibase.dateformat = "%Y-%m-%d": I9 Z5 T; W  m$ g( U
  1119. - a% g% g, r4 e
  1120. ; Default time format.' Z' f8 h: \+ K% R5 ~& B* w! H
  1121. ibase.timeformat = "%H:%M:%S"
    7 Q% f9 n0 P) x) G0 z# N

  1122. ( `- U: M8 ~/ E6 M% L% |; O
  1123. [MySQLi]4 O! B3 a; |! n6 W
  1124. # A9 o1 V9 q# @( E& {) ~/ Q) ^
  1125. ; Maximum number of persistent links.  -1 means no limit.
    % R" h* {- T$ a- b. b8 P
  1126. ; http://php.net/mysqli.max-persistent# Y! A  ^( g; i9 `: X3 ~2 W
  1127. mysqli.max_persistent = -11 R3 Z1 }) F; Q
  1128. 7 g% s0 ^9 h; q- W$ {, \
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements: G( W. o) j! w6 K; H* j2 }
  1130. ; http://php.net/mysqli.allow_local_infile
    / |$ Z) K( ^" u2 n' L! O7 C7 t
  1131. ;mysqli.allow_local_infile = On& N* U) M$ F  g6 m! A5 ~# R
  1132. 5 B. [; I: g% ~/ g0 a
  1133. ; Allow or prevent persistent links.
    8 t' e' u* F6 S# e! e+ F
  1134. ; http://php.net/mysqli.allow-persistent
    3 a+ f6 J; H2 k2 ]1 G6 Q* M
  1135. mysqli.allow_persistent = On, Z) Z6 L7 [( d/ a, u
  1136. " ~  C/ X2 b! B- R7 X: ^+ p
  1137. ; Maximum number of links.  -1 means no limit.; w: ^+ R7 r# x( H' }9 L3 i6 r+ u. C
  1138. ; http://php.net/mysqli.max-links
    ; h. |2 K: r% ]0 k5 d! r# a
  1139. mysqli.max_links = -16 V* F1 a/ W% T7 ~

  1140. % e2 Z3 S" }0 Z8 {6 w, b( x; u& Y$ {
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    3 w! Q# I) ~7 l9 q" {8 G
  1142. ; http://php.net/mysqli.cache_size0 `9 }. _8 {! T" r; W, c# U
  1143. mysqli.cache_size = 2000
    3 U, Z2 f$ N1 R* K/ W0 m0 d4 P

  1144. ( p" R! M4 ?; ^9 z! _: L& v7 W+ R' P
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use! `% E4 ^5 |8 j$ R, _1 V
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    & {( K5 B9 z0 \) T3 @
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    & [. Z7 r, i" G6 x# G: ~; E
  1148. ; at MYSQL_PORT.
    2 B0 f9 `) Y8 [) ~. R* G
  1149. ; http://php.net/mysqli.default-port
    1 g8 N# }, G# U" W0 L5 k
  1150. mysqli.default_port = 3306
    + c& f& b! I) K  X) }
  1151. 6 r! l3 E( \; `1 Z# {8 {; N5 z
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    0 }" C# ^, h, t) ?* F
  1153. ; MySQL defaults.
    0 f7 \( D. X' m" P, w
  1154. ; http://php.net/mysqli.default-socket, C8 u8 o- h5 [# `
  1155. mysqli.default_socket =
    # W* d& p6 q1 i6 H' l% C
  1156. , b5 N5 }+ D4 l
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ! e' R* n0 Y* C
  1158. ; http://php.net/mysqli.default-host
    1 ^5 K, C" [/ |/ n# W
  1159. mysqli.default_host =8 ^9 B3 N1 D7 P" ~% A: I

  1160. . c3 U3 M$ u7 D9 {7 q" {  w; ]
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    # ]4 W$ A  G$ v/ ^6 X9 c0 ~
  1162. ; http://php.net/mysqli.default-user4 a5 m) c4 b) b. O
  1163. mysqli.default_user =
    % ?& h/ `. g, z% Y

  1164. " T  f+ }6 r( w8 |/ X) x( x
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    - O4 q5 d: w, c; x8 `# D
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.5 G: l4 s$ I6 Y" o) y2 T
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    6 s( F) q; ]" k$ g" y/ R) F
  1168. ; and reveal this password!  And of course, any users with read access to this
    % ]$ J# V9 B+ L" V; T4 U7 N$ e' y4 J
  1169. ; file will be able to reveal the password as well.
    % e" y0 k: f1 ]+ E  K" H$ j! g
  1170. ; http://php.net/mysqli.default-pw
    ' R8 g6 K0 o1 t6 t) d, w7 O6 F; I
  1171. mysqli.default_pw =
    7 V+ F4 c# A7 _5 G4 B

  1172. ! J) H( l: e; P3 y" L
  1173. ; Allow or prevent reconnect' w2 W; V2 i; e; V8 k+ ?2 n
  1174. mysqli.reconnect = Off
    " a9 d% [: Q4 a8 Q6 b$ ]- ?
  1175. 7 i; H7 Z% }( w& X1 \. x
  1176. [mysqlnd]
    3 z$ g9 o- M% U6 b0 u# ^2 t
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    4 d) X$ K1 Z, O
  1178. ; used to tune and monitor MySQL operations.# g) @  T4 L8 }) X* x: X1 H% V
  1179. ; http://php.net/mysqlnd.collect_statistics( R( y, c1 U7 \$ s& f" u% {* c& `
  1180. mysqlnd.collect_statistics = On" j0 g" F0 t' [, X
  1181. ! g6 i6 |0 O1 h6 R% y! x: ]
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ( c7 n9 i* D+ k' `4 j, v8 n" G" }
  1183. ; used to tune and monitor MySQL operations.
    * R; ]0 j# T. }  R, Y! P0 C- k
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    * ?$ U1 q5 S: q- y. d' C6 q
  1185. mysqlnd.collect_memory_statistics = Off
    / N3 Q/ Q5 {5 |, a# Z3 F
  1186. $ O( w' T4 d, r2 w  r* |
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    9 e, N9 \$ m, G8 I
  1188. ; file.4 {7 u4 D' n9 K  d8 |, F( [) H
  1189. ; http://php.net/mysqlnd.debug
    . U* |" f5 N6 Y% b1 w) L1 O
  1190. ;mysqlnd.debug =
    ' \' m% {$ L2 Q' ?, S! G
  1191. 2 \# ?# G' D/ r8 N
  1192. ; Defines which queries will be logged.* g* k6 N* B( |6 W. T
  1193. ; http://php.net/mysqlnd.log_mask
    % Z1 R5 o0 j$ b! {
  1194. ;mysqlnd.log_mask = 0+ x' [4 r8 a3 y$ W; o" l
  1195. " x$ {# r6 Y9 G
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    8 P% q/ ~! a. x2 X0 b( ]+ @- j
  1197. ; http://php.net/mysqlnd.mempool_default_size8 C5 |: B) q: K8 s
  1198. ;mysqlnd.mempool_default_size = 16000
    $ ~+ q. w( C1 C

  1199. 8 K& ]: q1 V5 j! _' b$ p6 k  B
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.( s9 x! O4 j# G1 }+ G4 |. r* X7 v$ n
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size  v( u2 @7 K0 h3 P/ @( C9 x& P
  1202. ;mysqlnd.net_cmd_buffer_size = 2048, _. d& J0 x5 ~" C

  1203. + z. i5 J, C; X! u! c& C
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    & Q0 p# c; |% m9 Z- Y& Z6 M) y
  1205. ; bytes.
    & j/ R0 t) B2 Y' S
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
      [) V: B& [/ A/ _/ W
  1207. ;mysqlnd.net_read_buffer_size = 32768$ \$ J  {0 H) u0 x& u8 Q. h
  1208. 9 X# e/ ]! z. }9 e5 p) g
  1209. ; Timeout for network requests in seconds.+ H3 N5 O" I8 ^  _& t* W* M
  1210. ; http://php.net/mysqlnd.net_read_timeout
    6 o" I$ K3 |' p- b0 Y) m% v$ D, a- C
  1211. ;mysqlnd.net_read_timeout = 315360007 I& n+ s  W+ t- A- Q

  1212. & X. A! W1 ~% J& t, s
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA4 i8 J1 Q6 I6 u* ]$ `& Q! l
  1214. ; key.
    3 d$ j5 n/ @4 B% r
  1215. ; http://php.net/mysqlnd.sha256_server_public_key  S3 S" z8 k" y- P+ R; K2 m
  1216. ;mysqlnd.sha256_server_public_key =8 P, e  l2 V) ?) Y7 e
  1217. ! S7 s  W* B8 h8 a
  1218. [OCI8]/ u8 Z+ N& ~3 h6 z

  1219. 8 `$ }. o9 Q6 L) a2 y/ e
  1220. ; Connection: Enables privileged connections using external
    & c* W- t; D) @
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA); v: v8 I0 D5 }8 W" c. r
  1222. ; http://php.net/oci8.privileged-connect0 v- D, O$ G: u6 H, x1 S+ C
  1223. ;oci8.privileged_connect = Off' J3 p  O6 o. K- f  p
  1224. + \! Z3 j* E; P$ @; Q' y: X8 x
  1225. ; Connection: The maximum number of persistent OCI8 connections per" Q$ {3 H- b/ B# H6 ?
  1226. ; process. Using -1 means no limit.
    6 K& r" y! v: f* r0 Q
  1227. ; http://php.net/oci8.max-persistent
    + l' G* A& C+ i
  1228. ;oci8.max_persistent = -1& e' _. }' Y. x  ]/ |* S

  1229. ' W" J  j: h& C
  1230. ; Connection: The maximum number of seconds a process is allowed to
    1 [) P: ^6 z# y8 U0 x
  1231. ; maintain an idle persistent connection. Using -1 means idle
    " X/ i# T6 D, J8 z; d2 N( |
  1232. ; persistent connections will be maintained forever.; M0 s% h3 }3 z1 J( f
  1233. ; http://php.net/oci8.persistent-timeout
    * a0 {! x- D9 B' |) @/ R8 e0 T% a; D2 D
  1234. ;oci8.persistent_timeout = -1
    4 w* {  b1 d1 d0 c9 u. n
  1235. " e# c# [+ y# _& `5 X  Z
  1236. ; Connection: The number of seconds that must pass before issuing a
    9 N: R2 ]/ a/ x3 w8 ?- [
  1237. ; ping during oci_pconnect() to check the connection validity. When% k: s% ~6 V9 a$ M& y+ T; X4 h
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables3 Y7 ?7 ~* o* [2 j! d9 o
  1239. ; pings completely.
    . [& P" u1 q7 Q. F7 [$ z3 |- b
  1240. ; http://php.net/oci8.ping-interval
    9 ~$ v% ~" p. \+ w! L  I( g% [6 b" }
  1241. ;oci8.ping_interval = 60
    # }8 D% Z5 j3 c
  1242. 1 x; F% P# g% @# x5 q4 \% P9 P
  1243. ; Connection: Set this to a user chosen connection class to be used! {6 I5 {8 G7 }7 _' M
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    ( E4 C& a. w" Q3 d1 x$ m# E# A
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to) f+ n6 ?* w$ [" E
  1246. ; the same string for all web servers running the same application,! s2 R# y' O7 F& z# e! f
  1247. ; the database pool must be configured, and the connection string must
    # o* H; ]* c+ `% \( ?
  1248. ; specify to use a pooled server.
    7 R2 |3 t  c( [. o& M5 N
  1249. ;oci8.connection_class =  N% _0 C: p" E) y
  1250. 1 E2 G- N: u0 m+ l) L- z
  1251. ; High Availability: Using On lets PHP receive Fast Application( r" g: R( [7 S) j2 \0 i' C
  1252. ; Notification (FAN) events generated when a database node fails. The
    & L% l& N! r* c
  1253. ; database must also be configured to post FAN events.; f# |( G& S1 M, K6 _4 |% T
  1254. ;oci8.events = Off5 i8 ?: h$ k7 r2 [5 O. V8 s4 x
  1255. ) ^% y1 B4 X) T6 _
  1256. ; Tuning: This option enables statement caching, and specifies how+ [/ v* `0 k+ }7 F7 T
  1257. ; many statements to cache. Using 0 disables statement caching.+ ^9 e: g; ^) A. v: k
  1258. ; http://php.net/oci8.statement-cache-size& U6 u; a; h& O1 V, {
  1259. ;oci8.statement_cache_size = 20
    ) r* G) v. O5 ]# O3 N8 z  h
  1260. " e. K) @) t, t# P
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    * a! Y9 x6 I" J6 c
  1262. ; rows that will be fetched automatically after statement execution.! d  P) T+ f' d* k
  1263. ; http://php.net/oci8.default-prefetch: V0 A2 ^% R# i9 R# j9 j; [/ q
  1264. ;oci8.default_prefetch = 100: ^% C: v. y! A3 K2 [

  1265. 1 k9 p- c! ]; o7 _: V
  1266. ; Compatibility. Using On means oci_close() will not close& I4 F* {0 Q& H4 S
  1267. ; oci_connect() and oci_new_connect() connections.! a8 G7 ^; O5 W3 B8 f  D3 M
  1268. ; http://php.net/oci8.old-oci-close-semantics. O8 x. k! a& }( L( O
  1269. ;oci8.old_oci_close_semantics = Off' f) N6 @. C& G1 j) ^

  1270. / D/ j! D: I$ `; h& y$ `3 X
  1271. [PostgreSQL]
    1 Y- k0 a7 E* S  x6 {
  1272. ; Allow or prevent persistent links.% `) u& m/ |# A! v
  1273. ; http://php.net/pgsql.allow-persistent
    , K! L6 Z/ I1 {- y- z- y% W
  1274. pgsql.allow_persistent = On5 R( n3 E. Q. ]) L$ \" s& a
  1275. ( V2 s# @! f* i- M5 w/ `6 [( E
  1276. ; Detect broken persistent links always with pg_pconnect().: n4 j5 J/ R# A% K! U: I% [
  1277. ; Auto reset feature requires a little overheads.
    # L8 N0 v( m1 J  H# Q7 c
  1278. ; http://php.net/pgsql.auto-reset-persistent
    , _3 R6 C9 x4 k0 R
  1279. pgsql.auto_reset_persistent = Off
    % o# i* P! K) d, S

  1280. ( y! e  E. p# q2 i( U# R# L
  1281. ; Maximum number of persistent links.  -1 means no limit.
    - h  F1 x. f* O; ]: t7 H
  1282. ; http://php.net/pgsql.max-persistent* r( p0 d8 s* T6 G/ f& v
  1283. pgsql.max_persistent = -1
    : |; }( A3 X: O& U& u

  1284. & H/ v3 M+ _' i; b
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit." N3 ^( Q% y; q& i
  1286. ; http://php.net/pgsql.max-links
    5 I4 {9 k! i! {4 v2 J
  1287. pgsql.max_links = -1
    * K+ x1 L3 g+ n" [2 u; f

  1288. ! F5 R4 ^: d8 ]  E
  1289. ; Ignore PostgreSQL backends Notice message or not.
    0 U2 a+ k8 v7 f7 v3 E' f$ N
  1290. ; Notice message logging require a little overheads.
    ) u4 v1 X3 _2 a; X9 \( H. c! {4 ?
  1291. ; http://php.net/pgsql.ignore-notice: e% Y7 p' q' O1 g; E% S- x
  1292. pgsql.ignore_notice = 0
    1 o; n/ i  R) [3 L, N" i9 r

  1293. 2 m  `# b% F; ]# M$ b& U& i& u
  1294. ; Log PostgreSQL backends Notice message or not.
    9 H" H1 h0 x; _; L8 `
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.9 B' S9 V& d8 \+ o, A2 ^
  1296. ; http://php.net/pgsql.log-notice4 {  X7 G$ w$ x' A8 }
  1297. pgsql.log_notice = 0/ a7 v/ Y6 N! d. }  I

  1298. * c3 ^) q* A; f( \( S
  1299. [bcmath]+ v4 L& X6 \4 c
  1300. ; Number of decimal digits for all bcmath functions.5 u( {9 D; B5 d5 I1 d9 v) D
  1301. ; http://php.net/bcmath.scale& Z) [: ^4 m9 H+ `! o' g. D2 ^
  1302. bcmath.scale = 04 C& F# m, h$ S4 F2 U9 n7 g+ l7 i0 p
  1303. % `! M9 W3 m/ p: C. n/ ~% G4 p. o
  1304. [browscap]
    ; M9 a3 M0 N; D) R+ i" K
  1305. ; http://php.net/browscap5 J% u: M9 I1 r  K3 r" @
  1306. ;browscap = extra/browscap.ini
    - W" I/ A9 O; c4 n
  1307. : A( D4 h1 A5 u2 P8 ^- n5 F( ~
  1308. [Session]
    6 b4 F8 P. ~4 p  \# F2 q
  1309. ; Handler used to store/retrieve data.- T) o0 @6 X. g. X: B* ?/ c' X, x
  1310. ; http://php.net/session.save-handler* e% o! A4 {" V2 d- P4 F
  1311. session.save_handler = files0 t; Q" w" |0 {/ W

  1312. ; D/ ]4 ^- ?4 p/ B
  1313. ; Argument passed to save_handler.  In the case of files, this is the path( [: x3 [/ `1 E+ [) ]# H
  1314. ; where data files are stored. Note: Windows users have to change this
    ! O$ E) t$ p) Z2 s7 u% U9 y
  1315. ; variable in order to use PHP's session functions.
    + E" @" V3 Y! N2 Y8 J% p0 M
  1316. ;
    * O* C. }% u; b# x6 r# g
  1317. ; The path can be defined as:
    5 T% y9 {' \/ `' [
  1318. ;
    . S% d6 V  e; I  W6 d8 `
  1319. ;     session.save_path = "N;/path"8 A- g2 N: r$ B+ @( I; N' C3 r
  1320. ;8 K" M! _1 U/ c+ s+ n
  1321. ; where N is an integer.  Instead of storing all the session files in4 A0 k& {9 v, O/ c1 \( j
  1322. ; /path, what this will do is use subdirectories N-levels deep, and, F5 q- R9 e6 J1 p* x% h
  1323. ; store the session data in those directories.  This is useful if
    6 a, _2 x) P0 N
  1324. ; your OS has problems with many files in one directory, and is
    : g! X# I; Q5 w+ L9 d3 Y
  1325. ; a more efficient layout for servers that handle many sessions.
    0 Q4 d1 X# j* r$ A8 w. x! A
  1326. ;; `$ p# M- v( u) _4 X  M: g
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    $ {' o7 c0 h0 C7 y0 R2 H: d
  1328. ;         You can use the script in the ext/session dir for that purpose.
    - A# p' ?3 k4 `- d) O
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    ( _1 i( \, [; v% _# [# v
  1330. ;         use subdirectories for session storage
    * B6 x. T" u& {; V7 o. s, I( F0 s
  1331. ;" I" D- @6 N+ ]$ v
  1332. ; The file storage module creates files using mode 600 by default.! I- R( r: @, K! k
  1333. ; You can change that by using
    " X1 e* j6 Z& v: f8 p0 N2 {
  1334. ;% P$ @7 g: G6 ]
  1335. ;     session.save_path = "N;MODE;/path"
    5 y: j4 b" H6 Q0 ^$ a7 y5 k
  1336. ;
    4 j' o( W: |7 V; v6 q8 a* C
  1337. ; where MODE is the octal representation of the mode. Note that this
    / `) n3 M& w, Z/ M6 _5 k
  1338. ; does not overwrite the process's umask.6 _" l' s  t3 z: u6 g6 S/ M
  1339. ; http://php.net/session.save-path! O, W* z6 F: _' Y' d3 E3 \" g/ Y' h
  1340. ;session.save_path = "/tmp"4 Q0 j5 [% ~. o- g! }: ^: F

  1341. + S9 y- t- r9 [0 r" f: C
  1342. ; Whether to use strict session mode.
    0 V2 y4 Z0 @$ R. ]& U6 s7 }
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    0 W. _# h, ^4 k; k$ L, N
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects% m; E' T1 x6 F0 T
  1345. ; applications from session fixation via session adoption vulnerability. It is
    / Y: }5 J- P1 z3 Y: O
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged./ }, i3 g. E& o( L$ h: `
  1347. ; https://wiki.php.net/rfc/strict_sessions
    1 q( q: J/ f% p# X2 o
  1348. session.use_strict_mode = 01 f8 w4 ]6 A4 ^
  1349. & M1 p( T/ p$ _$ c7 _2 u) P
  1350. ; Whether to use cookies.; ?( K* y+ H5 l  w8 Z
  1351. ; http://php.net/session.use-cookies
    , O, T) |( \; ^* [* [( V  F; Q5 |
  1352. session.use_cookies = 1. H6 J, `/ w5 o; l9 j

  1353. ! o% d7 o) H$ ~! N
  1354. ; http://php.net/session.cookie-secure
    # R1 I$ g! h) y# j8 |2 h
  1355. ;session.cookie_secure =
    % f* i7 I1 T) r9 _" S) X% M
  1356. 4 a$ y* j+ r8 b" r  V  j& e1 G
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining  C# N3 ]7 c) E$ O
  1358. ; the session id. We encourage this operation as it's very helpful in combating8 e. w/ X4 E1 S/ @1 t3 V" |
  1359. ; session hijacking when not specifying and managing your own session id. It is
    / R: w- I0 J' m( H
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.& v  ^2 W5 B3 j. ^% O; z+ y
  1361. ; http://php.net/session.use-only-cookies
    ! W2 J3 d0 {5 u; `3 |+ e: Z
  1362. session.use_only_cookies = 1* ]! w+ E- }; U4 ]

  1363. ) }) U) X, K( [9 p+ }7 S  Y/ I/ m
  1364. ; Name of the session (used as cookie name).
    7 e/ F) u) w2 [9 |: L3 d
  1365. ; http://php.net/session.name
    5 ]) r; r% c$ D! Y
  1366. session.name = PHPSESSID5 C5 ]  m' Z) ~: q9 `

  1367. * p2 @$ ~3 e. p$ O
  1368. ; Initialize session on request startup.
    / W/ w1 l2 D, Q7 }- w: O) u4 r" V; t
  1369. ; http://php.net/session.auto-start2 c0 Z2 ]. x+ Q+ n
  1370. session.auto_start = 0
    0 j# m; d1 O2 @, Q
  1371. 6 M& j' G+ ^7 s0 w) H
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    + m- l+ R7 w: a! k2 {; ~
  1373. ; http://php.net/session.cookie-lifetime
    7 e4 z$ Y, ?4 h' J
  1374. session.cookie_lifetime = 0  @2 r! N  O6 W" m
  1375. * }  [( v; n- Z5 ~2 z  t& L7 ]8 K8 \
  1376. ; The path for which the cookie is valid.
    6 H1 v1 d9 ?% p& w) k
  1377. ; http://php.net/session.cookie-path7 a' x3 b* {2 B
  1378. session.cookie_path = /3 L* `# a, \' D! P3 M6 ?% r

  1379. , I; O3 ^5 s+ y5 s7 m7 W
  1380. ; The domain for which the cookie is valid.
    2 x8 @8 U% h1 f# y5 ?0 G/ M( E
  1381. ; http://php.net/session.cookie-domain
    5 g" p  g. @6 R) }3 W# c
  1382. session.cookie_domain =8 z/ D/ e7 }4 W

  1383. ; m. ?" l. @. I2 Y* M9 x* P1 j
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    : Y. u/ Q% @( ]2 F" a( V
  1385. ; http://php.net/session.cookie-httponly6 q" d8 P4 i  x' D! P
  1386. session.cookie_httponly =  h! F/ Z# O$ e

  1387. , u- R2 y: T' H) g
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    # \& \3 H3 k: j- w* t* v
  1389. ; http://php.net/session.serialize-handler
    ) j( n# {6 b8 a! h& L
  1390. session.serialize_handler = php
    4 I( ]% k' }( q4 E
  1391. % Z2 i4 U. P+ D4 W  N
  1392. ; Defines the probability that the 'garbage collection' process is started2 Y2 e6 V/ R8 I+ g1 N, C0 Y! t$ }/ T
  1393. ; on every session initialization. The probability is calculated by using
    / w5 e' A' Q8 f$ }9 p2 w. ~5 S
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ' O( M) ~5 ?# _( O
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    $ K: w; C0 T, @+ W
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    8 A  W0 h* i( B  v8 @9 \
  1397. ; the gc will run on any give request.& ~. S# B7 p+ ^5 L
  1398. ; Default Value: 1
    $ e$ \5 P9 [$ `/ N+ r9 P5 f/ ?8 E( x( u
  1399. ; Development Value: 1# G7 s& r5 ]1 E$ C, y$ H- b
  1400. ; Production Value: 1
    ) z, r2 ]) ?% V8 Q1 h
  1401. ; http://php.net/session.gc-probability* ]* c  w; W# A9 q, p; p
  1402. session.gc_probability = 19 c" c8 Y- g- j4 I8 W

  1403. 4 @2 I; d8 w, Z5 M+ _7 x  [  n
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    0 j' a- X0 z- y- Z9 R6 m- Z
  1405. ; session initialization. The probability is calculated by using the following equation:" g! z7 o; W. \9 s4 F' p+ v- z3 Q
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    : H* V& V  F1 F3 P* L6 Q
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 15 d  c4 U5 E5 y8 D
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    4 x1 C9 d9 ^) [; [2 O/ v
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you( p% c4 g; W9 `, o7 m( i- n9 e
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers," ?' o' ^' ^0 X" Z
  1411. ; this is a more efficient approach.+ b: b2 @. l: t. U6 \
  1412. ; Default Value: 100
    1 G! S- ^& D: L. G- W. I
  1413. ; Development Value: 1000
    8 ]8 U7 O: I+ `  w( x% e
  1414. ; Production Value: 1000! q  m7 i# d, ]7 n
  1415. ; http://php.net/session.gc-divisor
    3 ^: W3 y+ d  s( v% D3 }
  1416. session.gc_divisor = 1000
    : E6 M* M+ X) c) h/ ]

  1417. ; E7 @' V, {% Y7 j( G
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and  Z& [* k* x" \) A" e
  1419. ; cleaned up by the garbage collection process.
    * D. y/ r9 b1 J3 f' _$ O
  1420. ; http://php.net/session.gc-maxlifetime8 H4 W5 D4 `5 O+ g1 p; v
  1421. session.gc_maxlifetime = 1440- o6 S: F: Z7 g5 p& j2 Y

  1422. 7 K$ T: z9 R! h& F
  1423. ; NOTE: If you are using the subdirectory option for storing session files0 O  ^+ J7 o: _" A6 |/ M  _$ O# ^
  1424. ;       (see session.save_path above), then garbage collection does *not*: B+ l; d. O- e6 o& J7 ~3 ^
  1425. ;       happen automatically.  You will need to do your own garbage
    5 g: s2 @" N2 Z6 I  {& c6 ]
  1426. ;       collection through a shell script, cron entry, or some other method.! \9 q" D5 U7 W) t: ~( L" W- F2 p
  1427. ;       For example, the following script would is the equivalent of2 v9 ^* P1 o( Y. [& Z( `( J
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):% a5 a2 C8 p& c  O6 C: k: @! C
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    : {6 H) {$ n" K: `4 L' ^0 I) b
  1430. . w! ~: |! S3 I# g" l  r0 k  E9 s
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    - ]  E' [8 v7 ]
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    " K6 [+ H) b& U; s" z: B, ]2 M! p4 k
  1433. ; considered as valid.' Z  ^  b5 w+ q) l% F4 U
  1434. ; http://php.net/session.referer-check
    $ m$ k! }9 C6 T7 r" u4 O7 p. b
  1435. session.referer_check =  _. ^# s6 w' I' {# C# E
  1436. : D3 i3 K' y: R  a5 L+ d3 z9 ^
  1437. ; How many bytes to read from the file.
    , B7 |6 \( S2 p, E, a
  1438. ; http://php.net/session.entropy-length5 K" b5 E. C) F9 {' F
  1439. ;session.entropy_length = 32
    ! z4 R0 J- R: `' L+ t; T

  1440. ( e  f+ O$ ^# i. j, \2 W$ k
  1441. ; Specified here to create the session id.
    ! l: `/ ~- C# Y& I( j3 W* a
  1442. ; http://php.net/session.entropy-file
    6 U+ J) }4 b, q5 v6 |" w3 X
  1443. ; Defaults to /dev/urandom
    ( J' S8 C# n- y( [7 @
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    " g& B+ [& y  c
  1445. ; If neither are found at compile time, the default is no entropy file.
    : }  v4 C9 d+ N4 U
  1446. ; On windows, setting the entropy_length setting will activate the
    $ g( D' u2 l" T$ W& V# ~
  1447. ; Windows random source (using the CryptoAPI)* ~6 j* x/ x- U2 e9 Y
  1448. ;session.entropy_file = /dev/urandom
    ( f1 G7 ~% u8 z

  1449. 9 d3 [+ e% U% i  g1 h% U' Z; e
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    " M& V" r! z5 M7 x, T5 X
  1451. ; or leave this empty to avoid sending anti-caching headers.  q! S) o/ o; F, N- c
  1452. ; http://php.net/session.cache-limiter
    % c  F+ o+ W3 ~  N7 I
  1453. session.cache_limiter = nocache
    7 ?; E+ E1 _; G" n6 q
  1454. # z5 h. `  i# }+ ]3 R2 g: \: v4 O
  1455. ; Document expires after n minutes.0 q% g+ D  e! Y3 r* b/ T6 Q5 K
  1456. ; http://php.net/session.cache-expire
    , y9 k( q; f. c4 y4 x8 K- n) m
  1457. session.cache_expire = 180! O3 Z4 X9 D3 D4 R" @' m
  1458. , _; s; ?; [' Q! H) l
  1459. ; trans sid support is disabled by default.# O% U8 J0 s. @2 j
  1460. ; Use of trans sid may risk your users' security.9 C3 n% l" X  R/ c' a
  1461. ; Use this option with caution.2 o8 X# T1 H! I
  1462. ; - User may send URL contains active session ID
    ! P! F9 m9 H4 u; _7 P: t$ B0 {- F
  1463. ;   to other person via. email/irc/etc.
    ! J1 _/ c: X/ D
  1464. ; - URL that contains active session ID may be stored
    " c: z1 P: _! `* _/ G
  1465. ;   in publicly accessible computer.5 G' V, T4 |6 l% S" u; T) W
  1466. ; - User may access your site with the same session ID
    # D9 R* l( J4 l- N
  1467. ;   always using URL stored in browser's history or bookmarks.- W- O, I* N# H* D
  1468. ; http://php.net/session.use-trans-sid# ?, O) l# G8 ]# ~
  1469. session.use_trans_sid = 0
    % d5 l1 x$ a, m. W& D4 v7 H
  1470. 3 l, ^8 U; o  \7 m
  1471. ; Select a hash function for use in generating session ids.
    6 T. J) L9 k) j& b
  1472. ; Possible Values& x* Z5 x3 x) y  U0 J, B  ^- P
  1473. ;   0  (MD5 128 bits)
    & O: w8 i  d% t8 j
  1474. ;   1  (SHA-1 160 bits)
    3 T  s: Y/ f8 l5 `4 `+ g
  1475. ; This option may also be set to the name of any hash function supported by" k  ~4 X- p% C- {
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    4 F  x# |$ {7 W6 k0 A, J
  1477. ; function.
    : w  ~$ J. Y& L
  1478. ; http://php.net/session.hash-function$ m+ N3 D* k& h7 U8 e- w# P" R1 S% X
  1479. session.hash_function = 0$ n( i) S9 b/ K& ]! s' g

  1480. . q4 ]/ X0 `3 P/ d( `
  1481. ; Define how many bits are stored in each character when converting5 i" T8 Q( R6 C' v( m/ U% [
  1482. ; the binary hash data to something readable.
    9 p5 w& X% J$ r' {
  1483. ; Possible values:
    % O2 G& b9 @; p: j/ t0 o/ v
  1484. ;   4  (4 bits: 0-9, a-f)
    8 }- ~( I. g) E5 S
  1485. ;   5  (5 bits: 0-9, a-v)% z$ M1 @: X$ P8 g
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    # F: q( Q; b! T
  1487. ; Default Value: 48 ?( _) x7 E+ ?# Z& w' C
  1488. ; Development Value: 5
    9 d, T. B, F) L1 f" e1 C
  1489. ; Production Value: 5" u; [- `5 S0 O0 B# @: Y5 p
  1490. ; http://php.net/session.hash-bits-per-character
    1 X9 _  T: s# H+ S- j
  1491. session.hash_bits_per_character = 52 \7 E9 `: E* I8 e+ A/ |$ o. |
  1492. 1 X" C, Y+ }# K- L2 L
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    7 E/ n3 {' q, P# r4 L! X
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    9 Z0 d& G- ~; a
  1495. ; add a hidden <input> field with the info which is otherwise appended8 t9 k7 ~3 W7 [. M! @/ }% \
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    0 C! p3 Y* F& B; _9 k# L
  1497. ; Note that all valid entries require a "=", even if no value follows.
    & Q. t4 d9 @- ~$ x: x; [8 Q, [
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="  Z% ^) h8 i1 L# e1 K+ l# I, u9 Y
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% h% L' F9 s6 t% d9 }
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 j1 k: g) x! K' D- y3 o
  1501. ; http://php.net/url-rewriter.tags
    : X+ ~8 c' x5 s6 j6 L: E
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    + {! w3 V# M* k4 x* N4 E3 F0 k# k
  1503. 5 {& d! v. z9 X( [
  1504. ; Enable upload progress tracking in $_SESSION5 X7 ^  E) C! p# V* v
  1505. ; Default Value: On9 r8 s: q% N  ?5 `1 E
  1506. ; Development Value: On
    $ y2 Z, a& {. x; {) R/ l
  1507. ; Production Value: On
    , e, Q+ u# ^9 B; F* d5 j# U
  1508. ; http://php.net/session.upload-progress.enabled4 T0 d% c2 k- s
  1509. ;session.upload_progress.enabled = On- Y7 Z( K  B* t+ |

  1510. 1 F, r( _& b6 f# g: j$ L  @
  1511. ; Cleanup the progress information as soon as all POST data has been read
    - x% }+ c6 V, D& a8 }9 Q' e( l
  1512. ; (i.e. upload completed).
    + H! Q& R, s4 o1 ?& E3 i* q, a# w) w7 ?+ Z
  1513. ; Default Value: On
    " C, v' y( Y( |  Q+ Z
  1514. ; Development Value: On
    $ Q) |5 @0 p, F# \
  1515. ; Production Value: On
    * n/ O; s9 m, X
  1516. ; http://php.net/session.upload-progress.cleanup+ q0 o( ~) S. s  Q
  1517. ;session.upload_progress.cleanup = On
    / g9 k; b- m6 C9 Q* `2 e1 ]! ]

  1518. 6 {) Z$ v& _  I' W; N$ F/ k3 f0 U
  1519. ; A prefix used for the upload progress key in $_SESSION
    " t2 m4 x5 W# Z" V  A' Q
  1520. ; Default Value: "upload_progress_"
    ; ?0 s' L+ ?) D7 V5 O3 B
  1521. ; Development Value: "upload_progress_"
    0 S4 T3 {& a( c
  1522. ; Production Value: "upload_progress_"6 x$ @5 `. A$ s& e
  1523. ; http://php.net/session.upload-progress.prefix
    . _& g7 u9 K7 u" E2 z6 J! d
  1524. ;session.upload_progress.prefix = "upload_progress_"! u0 q, w( f) @5 C" V" [

  1525. ' E$ ~* ~) ^% F  d' E
  1526. ; The index name (concatenated with the prefix) in $_SESSION" B& L  y, t: a
  1527. ; containing the upload progress information
    5 d+ z2 o. l1 y3 t6 d
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 f% N1 K$ ?3 I7 ~, A4 I1 I- |
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) P$ ~' ?/ B( _# R7 @" g/ Z
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 R1 v( m" Z1 P- W: k# w
  1531. ; http://php.net/session.upload-progress.name
      w) s$ U; p: ~' Q/ o$ P1 Y  Z
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"+ ^4 }  I/ A' o; h7 _) m4 `
  1533. 2 U4 \8 N1 w7 O4 x3 M3 g
  1534. ; How frequently the upload progress should be updated.; A6 G/ i, ~5 c7 x. Q) d* r
  1535. ; Given either in percentages (per-file), or in bytes
    & P( h" w$ m" M% g1 r( ~
  1536. ; Default Value: "1%"- I  K1 X' A- b5 o" r
  1537. ; Development Value: "1%"! K1 T' _# e7 A& \- [7 j$ X9 L+ ~
  1538. ; Production Value: "1%"" H* d" x1 d' E/ {$ R* k" ^' N& O
  1539. ; http://php.net/session.upload-progress.freq
      @2 L/ D3 {8 Y1 a% r) s" r( L$ P
  1540. ;session.upload_progress.freq =  "1%"  N5 H8 P& A: K. O
  1541. 6 b- d5 c& ?) C; J7 z! t; p9 t9 `  D
  1542. ; The minimum delay between updates, in seconds( ~$ ?( z1 V. r8 L) C) x- Z, x& H
  1543. ; Default Value: 1
    + j' {8 [5 W$ T# u# X/ m# i
  1544. ; Development Value: 11 U+ f2 r9 M% @( H
  1545. ; Production Value: 1
    $ ~4 y% j; o! h2 Z! Q" C+ f
  1546. ; http://php.net/session.upload-progress.min-freq: N$ s4 Y0 N0 Y9 o' i
  1547. ;session.upload_progress.min_freq = "1"4 q: I2 u2 d; Z+ m

  1548. ) A* l  y# G) `: ~0 |( k6 {
  1549. ; Only write session data when session data is changed. Enabled by default.) O* X& l/ v% h2 p) D' h8 `
  1550. ; http://php.net/session.lazy-write
    & A3 R! P6 [7 b% ?. Z: b/ J
  1551. ;session.lazy_write = On1 ?  s/ P; g2 I5 C( k- `1 k2 ?

  1552. " w; w: g8 N2 t$ x5 B7 ]3 F) r
  1553. [Assertion]& p2 i& L7 t) y: h: ^
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)' {5 a$ P, s) [6 I( d
  1555. ; -1: Do not compile at all
    " ]% V  z8 {9 h! i+ h: f4 f! k
  1556. ;  0: Jump over assertion at run-time
    5 q( K" w4 q" Q5 R$ b5 d; k
  1557. ;  1: Execute assertions+ I6 M" x  s0 C9 X/ J4 f/ O/ {7 a
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
    * u, C  r" v" \4 _, R* A! W
  1559. ; Default Value: 1+ s+ k3 r3 B$ P9 b
  1560. ; Development Value: 1
    : c5 @6 x3 J: s' T" q& s
  1561. ; Production Value: -1
    % G2 c: B2 V6 Y% f2 ]
  1562. ; http://php.net/zend.assertions3 ~' D/ A9 O  a
  1563. zend.assertions = -1
    # Y7 c0 y, K9 i+ k" k
  1564. * ~/ N" E9 _, F& L7 d. D6 _
  1565. ; Assert(expr); active by default.
    8 F% P9 _, K& \4 [
  1566. ; http://php.net/assert.active
    2 ~9 a% r" f& H. }- f* _* j
  1567. ;assert.active = On( B4 Q. i- n: D' p* s& T
  1568. 4 c' R2 [9 I! m5 s. J) @
  1569. ; Throw an AssertationException on failed assertions
    ! N9 o9 L  d% d% t
  1570. ; http://php.net/assert.exception7 Y% s! J+ b1 l
  1571. ;assert.exception = On" z/ X) w$ O2 ]' @- V1 b; R* p/ `

  1572. 7 \# |" }7 c0 f$ s
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)$ d: U  D/ b( X* |& Z6 w
  1574. ; http://php.net/assert.warning
    + K7 G! ?  L' y: L4 U
  1575. ;assert.warning = On
    , z6 M1 z* @! i+ J9 C3 Q
  1576.   j& ?$ d7 X' C. [! @
  1577. ; Don't bail out by default.
    2 g9 f8 S- S: g/ M* z
  1578. ; http://php.net/assert.bail
    * p/ w  v. f0 G4 ^( c, O! @
  1579. ;assert.bail = Off
    ) _# q$ M7 a1 E! h0 G% O: Z9 U! k

  1580. 8 a6 v2 @. r" H6 y3 G% M6 w4 u& K* K
  1581. ; User-function to be called if an assertion fails.
    2 M5 k/ W8 L% Q: e+ b& Z5 t8 k
  1582. ; http://php.net/assert.callback
    3 T. L. e: z( R7 T
  1583. ;assert.callback = 0' q  K7 g# g* @, D! N& R" ]* y
  1584. : s1 r: R; M; _" f; @
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    # h+ p! E! h1 ]9 D  }3 f( o
  1586. ; error_reporting(0) around the eval().
    ) F" n, m/ z5 C# v7 @: b) ?1 Z
  1587. ; http://php.net/assert.quiet-eval  W' W, P+ i, x' q+ ~
  1588. ;assert.quiet_eval = 07 X9 l, Q2 t3 Y, B7 V

  1589. 0 Y5 h4 r- Q. C* i
  1590. [COM]
    5 X! o: h) A6 X3 C) {8 M8 |* o
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs. g3 c& n- p8 T* y# o! `
  1592. ; http://php.net/com.typelib-file
    ! N  B) ?! W; o/ s
  1593. ;com.typelib_file =
    - r9 U6 a) P3 \2 y

  1594. 1 |" {/ ~( s8 [/ Z+ b1 `2 `5 i4 h/ O
  1595. ; allow Distributed-COM calls
    # Y: d! B/ F+ G5 s- L$ m* W
  1596. ; http://php.net/com.allow-dcom- G; S5 Y9 B" a/ g" ~5 Q
  1597. ;com.allow_dcom = true
    3 I6 y! L" c' T  b) |

  1598. , i6 A* w+ Z& o; z9 A
  1599. ; autoregister constants of a components typlib on com_load()" P/ s! C/ @, Q* n* n
  1600. ; http://php.net/com.autoregister-typelib
    # q* k; k" s+ {. c! O+ `5 {0 Z
  1601. ;com.autoregister_typelib = true# D+ z) A/ d+ G+ x1 Y; P+ @; Q
  1602. 2 K1 j* E' m, B0 t
  1603. ; register constants casesensitive
    ! f) @% t! n2 u5 V
  1604. ; http://php.net/com.autoregister-casesensitive
    # R3 L7 N; H/ R
  1605. ;com.autoregister_casesensitive = false
    & S. @; f7 H' A* n1 j9 B( h
  1606. 1 l5 s! `% _+ y9 `
  1607. ; show warnings on duplicate constant registrations
    8 L. X/ ~, J+ b( T
  1608. ; http://php.net/com.autoregister-verbose
    & b4 e* a7 p6 _) b: X
  1609. ;com.autoregister_verbose = true
    / n. A+ u6 ?! m  ]# U' A# o6 Y
  1610. 3 o3 _! h3 e" @
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    ! k$ B8 ^4 }' c8 D3 I0 L4 I+ X2 v* I
  1612. ; Default: system ANSI code page
    : i! a% J& v5 A* \* S7 I1 M
  1613. ;com.code_page=
    7 A* [" [& w6 G' o! k3 g  H

  1614. . o$ C4 t6 x1 U* T
  1615. [mbstring]& i: m8 M8 g" g  b. r' b
  1616. ; language for internal character representation.
    - G# L: h. R6 |& }0 u
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    : K: E4 A/ w9 T1 T9 k5 `, c
  1618. ; http://php.net/mbstring.language" f& X2 ]) Q) L- e* w8 V
  1619. ;mbstring.language = Japanese
    5 V! j7 u$ h" Y# V  G  {9 I# _+ F
  1620. ! x, K  k* X: O7 @: v% j" c* k
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    4 c( @% z- H: F, d6 P' b
  1622. ; internal/script encoding.
    - }3 S7 p; s# [# ]. @
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*): U0 G' S2 Z- a0 o" r* A8 ^
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.! a) K1 z# P# U
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    & _5 B! {& B! J, f
  1626. ;mbstring.internal_encoding =
    , ~3 b' l- v/ b, u' C* A

  1627. 2 M. z" L# v! H
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.+ G7 S5 K6 ]5 w; [* T$ h
  1629. ; http input encoding.
    ) M# N+ d8 J8 @4 b0 x/ [
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.- B% Y/ [, E: \
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.  l7 O- n0 g3 b; e) b! @2 x
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    0 E8 @6 L7 \- D5 ~9 f+ ^+ a; v
  1633. ; http://php.net/mbstring.http-input$ _( I* L+ N! r
  1634. ;mbstring.http_input =
    . r; ]& \+ h0 c6 e( H8 S

  1635. " Q5 P$ P( Y' [, M+ Z
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    + b! ]6 p) `$ a& `) w% G
  1637. ; http output encoding.
    & X! ]) @' h' W# M% j! ]9 _
  1638. ; mb_output_handler must be registered as output buffer to function." e9 L- V: n1 c$ n) A
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.; o9 K% V8 s* K+ y$ F
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output. c- D( k4 }' ?' z1 M* |- |- U
  1641. ; To use an output encoding conversion, mbstring's output handler must be set  M1 H+ s: i9 b: V' ]
  1642. ; otherwise output encoding conversion cannot be performed.
    * Q, U$ R! K' V9 A' t
  1643. ; http://php.net/mbstring.http-output$ g# W8 z1 k9 L1 @+ {
  1644. ;mbstring.http_output =8 k' i5 @6 [0 A: k; t- b2 H8 s
  1645. 8 [; w- U+ V" U: q- Q
  1646. ; enable automatic encoding translation according to
    * H$ ~6 u" E6 g( [
  1647. ; mbstring.internal_encoding setting. Input chars are
    $ V$ i# E/ b2 z* [$ H$ E3 \
  1648. ; converted to internal encoding by setting this to On.
    6 F2 g5 P3 k6 k  r$ C/ s/ c
  1649. ; Note: Do _not_ use automatic encoding translation for" p9 Y# K& x* x5 Z
  1650. ;       portable libs/applications.- q' ~1 T& r( f* O( A
  1651. ; http://php.net/mbstring.encoding-translation$ r+ C/ `2 k" s1 I8 r4 x
  1652. ;mbstring.encoding_translation = Off# [) \* ]/ x5 K& R4 D8 u
  1653. 0 u& {3 G3 ]  z% P( \) ^& ]
  1654. ; automatic encoding detection order.
    9 q  R5 j0 r& R. ^; G# x
  1655. ; "auto" detect order is changed according to mbstring.language- W2 u) r' Y9 E8 R' M
  1656. ; http://php.net/mbstring.detect-order
    & J* {& w$ h: \& m. H
  1657. ;mbstring.detect_order = auto
    ) e; r( b5 i. G3 S& G8 Z) {! W
  1658. 8 C6 p4 J* `3 ^6 ~3 j; e0 F8 H6 g
  1659. ; substitute_character used when character cannot be converted. O+ W. h8 ^% n2 C; k  u
  1660. ; one from another
    ( |1 r7 Z5 s- a9 t: [
  1661. ; http://php.net/mbstring.substitute-character
    3 a2 E& ^% z9 B
  1662. ;mbstring.substitute_character = none" P, w" Y% v6 a7 Q% n. g6 U

  1663. 4 H1 Q4 H% g- p6 t. G& L* Q/ K
  1664. ; overload(replace) single byte functions by mbstring functions., d$ e6 i1 R% e
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ' O+ f, |$ C/ ^# _" z* L* V# j
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    * N7 ]0 ?$ d! i) P4 a: O. c
  1667. ; For example, 7 for overload everything.
    : }, X/ e6 K, X: \+ Y
  1668. ; 0: No overload0 e: h5 H. t6 r4 ]2 g8 i+ u
  1669. ; 1: Overload mail() function
    4 y. }. ?$ p2 Z! Y2 t1 J
  1670. ; 2: Overload str*() functions# Z& @% ~" g  Y+ z& J0 {: G
  1671. ; 4: Overload ereg*() functions
    % n8 `3 j- C5 z2 q# r5 z9 S
  1672. ; http://php.net/mbstring.func-overload# I2 Q( j2 B- J- Y$ h$ y7 b
  1673. ;mbstring.func_overload = 0
    * d5 x% t; X; S

  1674. 6 O4 B6 [! _7 _8 v. z6 e9 k7 B, v
  1675. ; enable strict encoding detection.# I: l. I6 a, [) L  R9 d
  1676. ; Default: Off
    , O3 `) A3 D$ b
  1677. ;mbstring.strict_detection = On
    ' [5 I8 Q5 U; A, P1 j8 C

  1678. 4 S/ Y' P( R" ~+ X: I+ g
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()$ _( e: F7 p8 |$ m% D0 F% N) A: J
  1680. ; is activated.5 s9 o1 j8 f  _' P5 j
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    / r% r4 z. G! Q# R; s0 b
  1682. ;mbstring.http_output_conv_mimetype=5 @% G$ N+ X7 x
  1683. " o& i6 Y3 Y0 |$ L5 r
  1684. [gd]
    : x$ u( j% X4 p) K" c; @
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    " F# P. j/ S6 |& O3 N: [; F/ `
  1686. ; a gd image. The warning will then be displayed as notices. v6 T6 v5 V" t  {9 Z3 Y! D
  1687. ; disabled by default
      h7 U7 H+ l" ]. S0 Q
  1688. ; http://php.net/gd.jpeg-ignore-warning
    3 |8 Z  N2 t5 J' o: f
  1689. ;gd.jpeg_ignore_warning = 0
    % |7 H& M1 N9 v: T

  1690. ; n) n( S. o# A! L
  1691. [exif]
    3 e6 I" d. l$ H; ^* D# `/ {4 b
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    / C& K& s/ c6 v% T) e1 V. T
  1693. ; With mbstring support this will automatically be converted into the encoding
    7 P: j. C1 C" S0 s) S/ W
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding2 V: @8 T! u- \6 s8 x( h( x0 |
  1695. ; is used. For the decode settings you can distinguish between motorola and) _6 b* |: i  [* [. J
  1696. ; intel byte order. A decode setting cannot be empty.
    , _7 f: F3 n" r2 H1 E- O" z
  1697. ; http://php.net/exif.encode-unicode% E. A9 ~/ Q, ?5 A5 U
  1698. ;exif.encode_unicode = ISO-8859-15
    1 r: h( _2 @9 r) y

  1699. ' s3 `3 ?1 @" z( a
  1700. ; http://php.net/exif.decode-unicode-motorola
    ! X3 f+ w1 K" ?3 b2 {( a, [
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    1 y0 C  w4 b: P0 A* s

  1702. " E1 ]+ a& l' Z7 _4 h
  1703. ; http://php.net/exif.decode-unicode-intel
    8 N+ x& u" @, E- R
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    1 O' G2 y: ^% u( V, a
  1705. " ^9 e# `+ P- C1 ~: f2 B2 p- I. W; \
  1706. ; http://php.net/exif.encode-jis5 T, W/ X2 P% z2 i7 l) l( x8 j
  1707. ;exif.encode_jis =% B" |- S7 ?! X3 f
  1708. # C  ?# G0 ?  y0 O
  1709. ; http://php.net/exif.decode-jis-motorola
    $ r7 B. R9 w8 \3 V. V0 Y& n' w
  1710. ;exif.decode_jis_motorola = JIS
    0 h* D0 X& T$ z1 y7 W
  1711. 7 h; f. g/ `$ K  y2 D8 w
  1712. ; http://php.net/exif.decode-jis-intel
    2 O  F% [+ k. k! X
  1713. ;exif.decode_jis_intel    = JIS
    6 w1 T) h! |9 G5 S# Y
  1714. 1 P5 M5 C- w# t, a$ J- \
  1715. [Tidy]0 y( A! E+ Q/ W! b6 Q
  1716. ; The path to a default tidy configuration file to use when using tidy
    % u" `# M  n# I
  1717. ; http://php.net/tidy.default-config2 _( R5 |; m% X- \0 O
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg' d4 M$ r( X( |9 u

  1719. + A0 v5 }3 y1 S& o1 l( w9 Y
  1720. ; Should tidy clean and repair output automatically?
    2 y6 z) Q8 P4 m  w
  1721. ; WARNING: Do not use this option if you are generating non-html content) p- R" ?# O: m1 \  j- q. s. D
  1722. ; such as dynamic images4 F/ b) D+ C- P  T& G
  1723. ; http://php.net/tidy.clean-output, f1 n' ~) y! R- b; |& L# Q# m
  1724. tidy.clean_output = Off$ K# [% W& h, M4 Z4 [; y5 P1 J/ @

  1725. / ~% P: z  |6 p  U! E0 @
  1726. [soap]8 ?4 A8 Z& y2 {$ C
  1727. ; Enables or disables WSDL caching feature.5 p% ?2 c3 l! {. _
  1728. ; http://php.net/soap.wsdl-cache-enabled
    1 r7 V3 [( Q# B
  1729. soap.wsdl_cache_enabled=1
    ! e2 q) v5 Q3 o

  1730. # L' e1 z/ F) \" i) W0 K
  1731. ; Sets the directory name where SOAP extension will put cache files.6 `1 `% a0 x; H6 X2 t
  1732. ; http://php.net/soap.wsdl-cache-dir
    3 }, V3 t, x2 ?# D
  1733. soap.wsdl_cache_dir="/tmp"
      `3 C# G* p3 B6 g) N3 ?

  1734. : Q7 ]- E/ J6 m, s( b
  1735. ; (time to live) Sets the number of second while cached file will be used
    1 h9 ^7 d; C+ U* j
  1736. ; instead of original one.7 F$ n- n9 H3 |' Y6 o  s; w1 m
  1737. ; http://php.net/soap.wsdl-cache-ttl3 e6 `- K; h, M- a7 N1 x$ b
  1738. soap.wsdl_cache_ttl=86400+ A8 o& L& V/ \; \* t, s+ ~' ?  b
  1739. ; \1 b" ~+ B8 w0 v5 w, [
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)3 W+ W3 T4 Y7 d/ M- R- B
  1741. soap.wsdl_cache_limit = 5
    5 i4 r, S! k, B

  1742. 5 ~" C' p. _, \+ m8 n3 @, o
  1743. [sysvshm]
    & ^4 `- V2 {# q8 r' t
  1744. ; A default size of the shared memory segment
    + c4 q4 u& M3 [! T! \( Z- n) g
  1745. ;sysvshm.init_mem = 10000
    & U  x! @" l! g
  1746.   t/ u& R1 T! y; n) Q4 `
  1747. [ldap]4 t0 V6 D4 h* G( c- U" k3 L* O
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    ' q$ B, X' d! l
  1749. ldap.max_links = -1
    ! ~) N: T, U6 e7 a' G/ J9 l. q" Y
  1750. 9 L2 ^  r" j/ y0 w  d0 q' K8 S
  1751. [mcrypt]0 \& Z( q3 D# K' T: x; g
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open  z' |9 A* A( A" P! }4 D
  1753. ; H3 Q8 A" o- u% r: a* R7 p
  1754. ; Directory where to load mcrypt algorithms$ u- p9 Z2 j0 X& V' }- _5 N
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    . d0 O& W2 E8 L- y. e. X" z
  1756. ;mcrypt.algorithms_dir=
    % r  @+ S+ E4 |/ Q) J7 j" A
  1757. & ]" V+ l9 t" y5 }) G7 h9 |
  1758. ; Directory where to load mcrypt modes/ }# E8 O6 f3 {1 N( q4 G
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    6 C% N: s% I* P% `' K
  1760. ;mcrypt.modes_dir=: x; Q8 j4 k% h% G

  1761. 2 B# x6 ~$ X; K8 l
  1762. [dba]5 l/ K. \. W7 L. y! s3 z
  1763. ;dba.default_handler=6 h3 Z) u4 U- Q1 s+ x
  1764. 7 L, ]) _1 f2 c+ T+ J
  1765. [opcache]( [% ~. u! p+ ~. x
  1766. ; Determines if Zend OPCache is enabled% g! I& k* \# [+ l( M# @
  1767. ;opcache.enable=03 o% o& i6 Z2 U1 {8 \% E! J
  1768. ! v' b4 }1 c" ], @$ E0 t- e. \8 w
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    9 ^  M6 e7 v2 a) W
  1770. ;opcache.enable_cli=0& x0 X) M( p- s. A

  1771. ; H$ f9 a% I3 N4 V7 R
  1772. ; The OPcache shared memory storage size.
    ; d/ Y  y, t- Z$ ~" t# G
  1773. ;opcache.memory_consumption=64
    - T* a( H4 |% h

  1774. % Y+ k: j' T# _& C) h2 A
  1775. ; The amount of memory for interned strings in Mbytes.% u8 ]# g' u# {; C  f% j
  1776. ;opcache.interned_strings_buffer=4. G" {- w7 D5 B$ w% f. z
  1777. 8 F) L% w9 q, J6 m) L8 n& Z
  1778. ; The maximum number of keys (scripts) in the OPcache hash table./ X5 U# M& B1 T; p. i2 T  Y
  1779. ; Only numbers between 200 and 1000000 are allowed.9 `- q- u. Y" c! }
  1780. ;opcache.max_accelerated_files=2000: y4 N4 L7 R3 z! v) l+ b4 S8 g
  1781. $ v( B1 b& u! Q, T/ o
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    5 F6 l5 w& }- `' c' C5 m* B) K
  1783. ;opcache.max_wasted_percentage=5
    8 N+ \3 e# ], }. R; T) }

  1784. 7 i1 p$ Q% M. O+ r7 O( M! y/ O1 j7 _
  1785. ; When this directive is enabled, the OPcache appends the current working
    ( b) V4 y9 E9 v+ h% K4 G# w+ |9 ~
  1786. ; directory to the script key, thus eliminating possible collisions between
    " J* j9 |7 @; [9 g+ |1 J3 I
  1787. ; files with the same name (basename). Disabling the directive improves: q$ s+ r' D2 W% H
  1788. ; performance, but may break existing applications.
    / \% B# y! K3 c6 C+ |, s. B  V1 Q0 F
  1789. ;opcache.use_cwd=1  B- J" A) g9 G: T7 ~

  1790. 5 u% T& z5 y8 z( D+ k
  1791. ; When disabled, you must reset the OPcache manually or restart the/ L5 e9 Z, _: k8 C; C
  1792. ; webserver for changes to the filesystem to take effect.! I8 q# x" V1 O
  1793. ;opcache.validate_timestamps=1
    ' Z$ u2 n1 z2 w# x8 T8 b/ h8 q$ G- q/ i

  1794. 3 A& D; s5 Z/ l" ?) }
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    + N5 W7 p! ~' ^% G8 s! P2 @
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    ( Z# D8 i1 C/ Q% g9 w8 S. z$ `4 }
  1797. ; once per request. "0" means always validate)% B. E8 {' Z# x3 O$ c( X
  1798. ;opcache.revalidate_freq=2! o3 f/ K& L. [  v7 ?

  1799. , X$ I4 s" L" X; f3 \8 S9 U7 {
  1800. ; Enables or disables file search in include_path optimization
    7 C" l+ o7 t7 ^. \+ ]1 G# o7 z# X
  1801. ;opcache.revalidate_path=0$ m8 I- d8 P6 ^( z% B* ~

  1802. 0 J5 A+ B# K; S9 I, r& @8 P0 c) Z
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the: o, }3 H4 D% X  _4 ^' \$ G6 X' n! I( F
  1804. ; size of the optimized code.
    4 R: g6 O1 l9 z* k, W% F7 L
  1805. ;opcache.save_comments=1
    2 e% g* E3 n3 Y5 [2 L. Y1 f: j3 s
  1806. : F6 h4 U6 C4 T, B0 S: R% ]$ t
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    0 s9 Q$ p* l6 I0 Q, W0 }! k
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.$ M5 B9 \% O" v9 v" i$ @4 ]+ u
  1809. ;opcache.fast_shutdown=0
    2 p( p) k% h% _  u  L
  1810. 6 _3 O  R2 q/ I9 c
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    % j: P, }7 Y% n% T9 ~/ u8 {  J  b
  1812. ;opcache.enable_file_override=06 ]$ S) C+ X9 C  k
  1813. * ]# D7 {) K$ E6 Y
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache( t% Z  }/ ^+ ^, s' K1 F. h: l
  1815. ; passes' a# b, h3 l- D
  1816. ;opcache.optimization_level=0xffffffff
    # z6 ?7 X) r# ^4 C6 Z! G1 [

  1817. " v% A+ ~( v5 Q) [7 ?. s9 u
  1818. ;opcache.inherited_hack=18 ?1 l" ~% }6 w% q- x
  1819. ;opcache.dups_fix=0
    # F! I+ I/ [# Y: k" Q2 Z0 i

  1820. 1 F% V! E+ f  x/ F, H: ]% h
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    , ^) b2 `8 F# p9 C
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    , S0 r# w$ ~  _/ i" ]
  1823. ; that should not be accelerated. The file format is to add each filename. c6 L% F; y! r! u/ e0 N( e
  1824. ; to a new line. The filename may be a full path or just a file prefix7 l1 R$ |* p) u. r0 z( w" q
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www, f5 I* C$ K/ K) t
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).( {. L( v" V$ C0 x$ S
  1827. ;opcache.blacklist_filename=( \, o* N9 A4 T- O8 l

  1828. 6 D" C8 J! T* T# d, w+ S
  1829. ; Allows exclusion of large files from being cached. By default all files& j; W: M9 Y6 Q  F
  1830. ; are cached.$ m: {  T) R. y
  1831. ;opcache.max_file_size=0
    1 L1 _' e# l- H7 B8 W. t3 O* l; a2 P! X# P

  1832. , z, L0 w3 F: l6 T; Y' M
  1833. ; Check the cache checksum each N requests.
    - s0 y( M3 I' d* b. d
  1834. ; The default value of "0" means that the checks are disabled.
    3 p% a0 \9 o& E) h& q$ t' k% Q
  1835. ;opcache.consistency_checks=0& Q" j% Q* {  n7 M2 _8 q! z" n

  1836. , r7 h) u$ n; A8 e  {0 j: f
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ; `. _( Q9 u$ K4 Q! |/ p% N
  1838. ; is not being accessed.
    $ M8 x4 S8 E' ^, O3 q4 X
  1839. ;opcache.force_restart_timeout=180
    - }. z% U: p0 p6 t. s" f
  1840. ' g  c7 w4 i% P+ b* e; d; w
  1841. ; OPcache error_log file name. Empty string assumes "stderr".3 @! x& h7 [  y  v1 p
  1842. ;opcache.error_log=
    & P6 T$ ]0 w* [+ p

  1843. ( w4 I- m* X/ Q0 A
  1844. ; All OPcache errors go to the Web server log.! R  U# j9 M5 E; X; ^: t
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.+ O$ L$ `: Y9 a# N( |
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    ) D. P/ N  I" h, F
  1847. ; debug messages (level 4).' `' P* W  Y; \3 }9 q: v
  1848. ;opcache.log_verbosity_level=1
    3 }: g9 x9 J. e) g
  1849. - ~) o8 ]; B4 m" A4 b8 K$ V
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.2 T  _9 P3 c& u+ K/ ~% @
  1851. ;opcache.preferred_memory_model=
    6 P$ n( w9 w5 R: r) r! Z# b6 r

  1852. : h8 B. `2 r6 B/ R( s6 z, p& T: y; V# P
  1853. ; Protect the shared memory from unexpected writing during script execution.
    : n( M7 Y' J: j6 N' n/ b' _
  1854. ; Useful for internal debugging only.
    $ @: _' x7 h# n# \# I( C2 t) s
  1855. ;opcache.protect_memory=01 Z! x% h& T: A, \* N8 R- w
  1856. 0 X9 M+ J7 ]( Y, u. n
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    % [5 J: D% |4 |: J# I
  1858. ; started from specified string. The default "" means no restriction. j) _, D: E5 `0 A3 r: {% n
  1859. ;opcache.restrict_api=
    + s, e% e+ x' w4 \! d7 h7 G1 ~

  1860. 2 C1 S1 a4 a8 V) i- }5 T0 I
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    6 r) ~* w8 l8 \3 h! D6 e* |, S
  1862. ; processes have to map shared memory into the same address space. This  p, x! B& P0 P& Y
  1863. ; directive allows to manually fix the "Unable to reattach to base address"( I  X, N; }% A
  1864. ; errors.
    5 s  M# b% b! J5 y; ~; z4 c
  1865. ;opcache.mmap_base=# t, [$ ~" e- c2 c
  1866. 7 A( i4 v3 }2 {6 k: s; [0 H. N
  1867. ; Enables and sets the second level cache directory.- t) `, X# f% z' @- `1 O( R% @
  1868. ; It should improve performance when SHM memory is full, at server restart or
      P: r" x; |' ~$ _' x
  1869. ; SHM reset. The default "" disables file based caching.
    : ~0 y) k$ K. k# w2 @) k4 J8 z
  1870. ;opcache.file_cache=
    2 X0 a; A/ ]- D, @2 s, K$ ]1 B

  1871. / w+ V- z6 V, U& [8 h
  1872. ; Enables or disables opcode caching in shared memory.! _0 W- \3 E2 f( R; m8 q( ~0 {
  1873. ;opcache.file_cache_only=0
    - C3 V8 F1 M' @  W/ C

  1874. * A  Q* p( F. T1 _1 {8 s0 x$ G
  1875. ; Enables or disables checksum validation when script loaded from file cache.6 _  T, u* g' a9 K* }" z6 J
  1876. ;opcache.file_cache_consistency_checks=1
    " U3 k- H/ @, r( A4 l

  1877. 0 D* H0 N2 W* X* p
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    ; d" i. c8 U* R0 r
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    , B$ s6 r( L- b' U7 L/ T
  1880. ; cache is required.6 h2 [  V2 e# y; c3 C0 w" L
  1881. ;opcache.file_cache_fallback=1
    $ l% B8 r$ g3 t2 _
  1882. . c8 }: m  c1 X- u
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    + ^$ ~3 x! y2 F/ v' L
  1884. ; This should improve performance, but requires appropriate OS configuration.! ~7 f; B  F, O8 I
  1885. ;opcache.huge_code_pages=1. i# m/ h0 O. I3 i0 s

  1886. 5 Z" A& I+ o1 r  t
  1887. ; Validate cached file permissions.2 F0 W( j) }( ?
  1888. ; opcache.validate_permission=0
    : x3 o8 d  b( i) |- G( m: c
  1889. % M& |2 z( Y9 m9 p( S5 K' I. y
  1890. ; Prevent name collisions in chroot'ed environment.
    ' v. s: Z$ \, @' p% r
  1891. ; opcache.validate_root=0
    # T  i2 I0 i8 ^! R7 C

  1892. " m8 X, p4 J! _$ J2 S
  1893. [curl]; w2 \3 c4 o7 j1 P" g! H# Y4 r
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an. Q" S# M1 ~9 F' I+ m* d
  1895. ; absolute path.
    - }9 L8 Q6 [6 ?" }  z
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt+ H  f' H& ?, b3 d- G" B

  1897. 4 Y9 P  T- M) s1 G' j8 Z
  1898. [openssl]
    * Y) ]( \& w6 C% N* k. n5 t
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    7 V3 i. X: F  @* G8 Q7 n
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    2 ?0 V# A& O* h) o- i2 J
  1901. ; not specify a value for this directive as PHP will attempt to use the7 P+ E. i* l1 |7 u
  1902. ; OS-managed cert stores in its absence. If specified, this value may still, c# H" E: f* |" p1 {7 j
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context( {3 J  L; T- s( h6 a9 j' t' Z2 A
  1904. ; option.
    9 k! |) b9 Y; G4 w
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt1 V9 j! Q  O1 E  N& Z( X' N: ^

  1906. ' H1 w7 P. \; ?" d0 j
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
      }' R; `; p; Z. x0 ?+ N- j! u
  1908. ; directory pointed to by openssl.capath is searched for a suitable) p, b4 |4 }3 c0 U; E6 I5 x( P0 i
  1909. ; certificate. This value must be a correctly hashed certificate directory.
      S3 n/ y$ I4 j7 j
  1910. ; Most users should not specify a value for this directive as PHP will
    / T# ^/ O& M/ F' l. p) E* S
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,; ^* I, Z0 @! j6 Y$ r- D2 R
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    # h9 r# }9 f2 Q8 ~% d% g0 f
  1913. ; SSL stream context option.- l5 j3 {/ t+ Q: }
  1914. ;openssl.capath=1 ~/ L. ]/ z+ Q& F( G

  1915. 8 \& A4 o' @/ Q4 Z" [2 P( F
  1916. ; Local Variables:) G( j1 S4 R8 D7 t% f, D' o
  1917. ; tab-width: 4
    2 o5 [5 H& \) c2 b2 |
  1918. ; End:- g" {* s5 D$ |% R& u. v. A/ {

  1919. ' c. i6 l! m6 S, F( [, _8 C9 ~
  1920. ;eaccelerator
    . G& n" w/ }$ O" F7 L0 ~+ X
  1921. 5 m( \: _9 `5 S+ L; M" e
  1922. ;ionCube- K7 \/ t  o3 l4 P6 P+ K
  1923. 9 l. E% k* ^& n3 J$ j
  1924. ;opcache
      @+ c" M% U/ e, y' Y- P; t
  1925. / `  p: F: Q9 _4 B2 e
  1926. [Zend ZendGuard Loader]" O& n, j0 d- v2 h
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    1 s% N. u" a! {6 t
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    + L$ q/ A+ e% R" ^! }
  1929. ;zend_loader.enable=19 s6 S7 W8 w- o- m
  1930. ;zend_loader.disable_licensing=0! B7 _* J- r5 P
  1931. ;zend_loader.obfuscation_level_support=3. t6 h4 v0 H1 W: C' D
  1932. ;zend_loader.license_path=2 t9 q6 ~/ z; g/ r% T
  1933. 0 u4 n5 W; T  l+ C! i
  1934. ;xcache. [/ c7 G1 B* b/ m( f2 [* y; p0 \; ?

  1935. ! S0 z( d- @! ^
复制代码
& O8 ]; G# |2 q9 Z$ `2 [: \3 R
  v% [) }7 z" i5 v* q) S

- ~: `' }2 X4 \0 O! q7 {! o* n9 S

- [4 c1 @! I: {' {5 l+ d. b
( H: s5 u8 J+ _4 j& u0 f+ _/ `" Y; I7 z4 E2 W
PHP5.6版本原始设置% V! U  g" f% o) [

% ]' n1 t1 \# g  E: b! S
  1. [PHP]1 r$ ?) x5 C, z! W# o

  2. 0 y! `" o% W/ r" o7 l) O( X; T
  3. ;;;;;;;;;;;;;;;;;;;
    ! D$ T8 |1 m. N& P4 u
  4. ; About php.ini   ;
    5 f% W. r: E+ |1 ]/ y
  5. ;;;;;;;;;;;;;;;;;;;
    5 J( |6 W( [6 D6 w
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    1 ]0 B3 H  S/ Z6 Z9 G$ g
  7. ; configuring many of the aspects of PHP's behavior.
    $ V! e5 I2 ~" v% Q
  8. + T4 ]1 I" s* k/ \: a5 d) G
  9. ; PHP attempts to find and load this configuration from a number of locations.8 h% t8 \9 }. f
  10. ; The following is a summary of its search order:: R5 G+ ]* i* J' Y  h! ~, @
  11. ; 1. SAPI module specific location.
    5 A! \0 i3 e0 {0 u) o+ \
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)% X, J! q+ I8 I# N1 H
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    / {  G5 _2 `, }0 S* V
  14. ; 4. Current working directory (except CLI)1 Y$ ~# L4 P7 S% h
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    0 U; b/ a# B: p  l! Y/ P" d
  16. ; (otherwise in Windows)
    5 L- f  H* V6 N
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    6 u. i8 l/ q8 [  m6 R, |
  18. ; Windows directory (C:\windows or C:\winnt)' J$ b" r' K% q% F7 r6 Y3 R) u) B
  19. ; See the PHP docs for more specific information.
    ; {/ |+ `0 M2 ?/ L
  20. ; http://php.net/configuration.file+ A' `8 U: ]6 r2 p3 U. ~2 A

  21.   @) n8 n# O. N* I
  22. ; The syntax of the file is extremely simple.  Whitespace and lines5 C. N0 j  d' l1 r; D# G6 K- U+ k
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).8 E% q8 I9 v5 }* }3 O
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ( `; E2 `! R0 g0 U
  25. ; they might mean something in the future.
    , U( n, D4 v. G& b# g9 `% I( G
  26. % W. q' [$ T& v4 F; Y" A, y
  27. ; Directives following the section heading [PATH=/www/mysite] only
    , f# }2 z" {7 o. V9 f
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    8 @* b5 c2 K7 K2 L* V+ @: Q
  29. ; following the section heading [HOST=www.example.com] only apply to
    % A& z9 A* i" e! [6 _9 s9 ~# G
  30. ; PHP files served from www.example.com.  Directives set in these* f! s9 l* K; Y7 M4 b3 L2 n) o2 S
  31. ; special sections cannot be overridden by user-defined INI files or
    - ]  ~( _0 h3 M) X
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under7 G1 z: h4 I  o* B# B+ P
  33. ; CGI/FastCGI.
    $ k8 ^8 A- C/ {  E5 |
  34. ; http://php.net/ini.sections
    1 z- E; ^% J, B4 ~% Z# D* z. p  }

  35. 3 |5 T% `; |( }9 @. a  S2 ?& J
  36. ; Directives are specified using the following syntax:4 W5 @; ~1 K) X6 L% c1 P; Q) ]
  37. ; directive = value1 [  C. b* ~' Z, E
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar./ ]. S$ r( w7 E9 T2 N( j1 Y2 W$ {
  39. ; Directives are variables used to configure PHP or PHP extensions.
    5 m# N. G, o5 O. N' Y7 }
  40. ; There is no name validation.  If PHP can't find an expected
    / |0 k, E% ^" o: v0 h& b* U  p
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ( U" q/ _0 a+ g3 x, ~* X

  42. 8 _6 r+ H! {& N. _2 v- d
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    0 U6 Z! T5 s" T% U# N# k) `
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    9 d2 [8 E. {7 @2 S1 q, N  M
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a( ^7 B% d0 Q+ `3 \; R
  46. ; previously set variable or directive (e.g. ${foo})9 o9 i8 A; _% C9 _

  47. - i4 ?9 i& _: A* J8 I7 \0 P
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    8 z1 o  O, u% m1 m" F6 x# j+ j
  49. ; |  bitwise OR
    5 \8 c. c4 i6 ^8 y# k5 a
  50. ; ^  bitwise XOR( X6 H* |' X4 W( H8 S
  51. ; &  bitwise AND
      ?  U& `' `7 s/ c2 M" z( L
  52. ; ~  bitwise NOT
    ( K8 Q& ?( E3 K3 o" N
  53. ; !  boolean NOT
    0 O# {8 w- u% b6 \$ \  \" a
  54. 1 p# i7 M& K6 X& |, Z+ f( Q0 @
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.. W6 j, R' J$ G: G' e% \& E/ B
  56. ; They can be turned off using the values 0, Off, False or No.
    6 D' q. j2 a8 b$ i+ l* G
  57. * g  k" p. ^, ]0 d7 g0 p
  58. ; An empty string can be denoted by simply not writing anything after the equal
    8 n- \/ o5 r& T' u/ Y
  59. ; sign, or by using the None keyword:
    ! x+ c1 M$ A3 W' [

  60. 7 f' y( J) A) _2 v! u
  61. ;  foo =         ; sets foo to an empty string2 U/ w" P9 Z5 J* ?
  62. ;  foo = None    ; sets foo to an empty string) A4 e$ _8 z8 `
  63. ;  foo = "None"  ; sets foo to the string 'None'
    + A& C& n+ z- C+ E$ C* [

  64. / c$ J& `+ f, u9 f! z/ ~
  65. ; If you use constants in your value, and these constants belong to a$ ~1 t: V7 h/ B6 L
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    # v9 d% T; L# K7 j& q
  67. ; you may only use these constants *after* the line that loads the extension.. t( L1 l/ e2 t$ }- t  I" m0 e" |

  68. 2 t' r" k- l2 l6 h" `# y
  69. ;;;;;;;;;;;;;;;;;;;2 x0 o5 `8 w3 ^" |7 ]( J
  70. ; About this file ;
    $ M5 K! [0 Z% Q9 [1 \- Y, ^
  71. ;;;;;;;;;;;;;;;;;;;
    3 I$ M( T7 X) B5 O
  72. ; PHP comes packaged with two INI files. One that is recommended to be used8 l' ~& ~& b  K9 L
  73. ; in production environments and one that is recommended to be used in
    ( k( o, t) O) [+ o* w
  74. ; development environments.; r1 k. T- D) v

  75. 4 \& p- T' l/ K( [0 r/ I# G
  76. ; php.ini-production contains settings which hold security, performance and
    * j$ W7 o# H: ^. g
  77. ; best practices at its core. But please be aware, these settings may break0 g9 X$ @; m* w' F$ h/ h5 v2 F
  78. ; compatibility with older or less security conscience applications. We5 r3 }. O; o- d! u0 Z
  79. ; recommending using the production ini in production and testing environments.; @2 j1 \4 ^# Z( m5 F

  80. 7 M8 Z/ q5 r# i3 @5 L
  81. ; php.ini-development is very similar to its production variant, except it is
    " z7 G# t9 }7 q% u  b$ B
  82. ; much more verbose when it comes to errors. We recommend using the/ |9 [4 M% b) a& \% s
  83. ; development version only in development environments, as errors shown to2 f# P. {, q% t; E7 `
  84. ; application users can inadvertently leak otherwise secure information.- K! `6 p$ J! f5 g6 x5 V8 z3 k

  85. + Z% ]" M9 g. H, V. E
  86. ; This is php.ini-production INI file.1 o- y0 g% X" O" z% H

  87. 3 V+ n0 c2 N. M. G6 L& X
  88. ;;;;;;;;;;;;;;;;;;;
    + k4 V+ R# W% [- @; z, V! S
  89. ; Quick Reference ;
    " @7 z+ V) S7 B
  90. ;;;;;;;;;;;;;;;;;;;
    - K6 _$ N1 \, X/ b6 p
  91. ; The following are all the settings which are different in either the production2 ]( ~" S7 ~4 D( M
  92. ; or development versions of the INIs with respect to PHP's default behavior.1 P* Z2 q* c1 ]3 ?, @. e2 x
  93. ; Please see the actual settings later in the document for more details as to why
    ; H4 _! h; ?/ p/ O) i+ ?
  94. ; we recommend these changes in PHP's behavior.5 i, s6 X1 Y7 z

  95. 2 t% u! r5 j3 J
  96. ; display_errors
    5 w" a5 i7 I( }0 p) u
  97. ;   Default Value: On: q& ?. `" ?, M% b
  98. ;   Development Value: On
    " S, [7 ]) Z1 C" C: O# {9 W
  99. ;   Production Value: Off
    4 x5 L1 J6 m& e

  100. 6 n1 f, ]$ z+ f) K
  101. ; display_startup_errors) I9 Y" u( [# s: Z' n. p- G
  102. ;   Default Value: Off
    $ G) J2 O) [, `9 S' x( m1 l
  103. ;   Development Value: On
    ( l7 S. n. r+ y5 l# d, O  \' Q
  104. ;   Production Value: Off8 d# u! O3 t% @) {/ e$ }# w

  105. : n. D: ]/ D* U6 H$ r
  106. ; error_reporting
    7 z0 U* z. g( y0 b* f
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED/ I. W  Q9 x7 h5 x; r0 X0 [  K
  108. ;   Development Value: E_ALL
    $ o# ?9 w1 T5 d0 K
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT9 M6 j0 k$ }6 ~( o: r8 g6 O
  110. " P: u6 J6 q4 i, V
  111. ; html_errors: @, K7 E+ G3 W# r; g
  112. ;   Default Value: On
    , N) f: C' d, e6 V
  113. ;   Development Value: On
    % X) N7 P( H& V1 L: E* r7 h
  114. ;   Production value: On2 i  ]( Q7 i. E2 _0 B2 ^

  115. - l) D; W6 k, z) L9 D0 Y
  116. ; log_errors& Z  d, h/ j; m+ n1 u% C
  117. ;   Default Value: Off
    1 q# B& Y; ^( `& A/ F
  118. ;   Development Value: On3 O0 _! ~2 ~- r
  119. ;   Production Value: On
    ! m) @5 X1 m. h7 w9 J/ `" e

  120. 9 S/ T3 i% x/ h4 C, k7 l
  121. ; max_input_time
    0 E5 a, h7 z2 g" j5 E% b2 S
  122. ;   Default Value: -1 (Unlimited)# L! O* o; [0 Q( k! D" i
  123. ;   Development Value: 60 (60 seconds)
    $ ^, q" y1 [) d' z9 G7 k
  124. ;   Production Value: 60 (60 seconds)+ B1 K2 ]2 l9 _, b

  125.   d  \7 F. k! E5 [3 `
  126. ; output_buffering
    2 t. `5 r5 t: @/ H& D; a! W7 r
  127. ;   Default Value: Off
    & y, r0 O0 U* Z/ m& n7 v$ J
  128. ;   Development Value: 4096
    ) R+ G; E$ F0 G, h8 ~3 T# Z
  129. ;   Production Value: 4096% T9 k3 F9 Q; j3 ^& i8 a8 h4 T( `
  130. 4 d$ ^; L) Z2 }( O" R, A
  131. ; register_argc_argv
      W% s  X7 [4 s
  132. ;   Default Value: On$ S1 B( P! D* e" s
  133. ;   Development Value: Off
    7 v0 Q8 [. _( R1 y
  134. ;   Production Value: Off' E* m, C* H0 e* t! E
  135. 4 |0 p  a0 ~0 [# k( @) a
  136. ; request_order
    ) [' b) s* |7 J  q( `6 d
  137. ;   Default Value: None
    6 y! D: y" C+ m( G: G0 O& m
  138. ;   Development Value: "GP") T; k. v3 \6 C: }$ Z2 @; t
  139. ;   Production Value: "GP"/ u; w, L! G, }+ I* r5 ~
  140. 1 Y" |2 A8 p' s0 P- I
  141. ; session.gc_divisor9 Z( k1 V' r# H
  142. ;   Default Value: 100# P8 m6 y  t8 U1 [5 s' |
  143. ;   Development Value: 1000
    % U+ t/ y. d5 y9 J! D
  144. ;   Production Value: 1000
    : ~+ z9 S8 _  C/ ]5 P

  145. 2 ^, N0 t. K. S" p5 h& ]  \  s
  146. ; session.hash_bits_per_character( x5 Y0 B5 p$ _  a% `4 u+ T& D% {6 D
  147. ;   Default Value: 4
    ! t2 a; L# m  `; ?
  148. ;   Development Value: 50 F& X0 L7 |8 O
  149. ;   Production Value: 59 U8 I$ S5 |4 D9 p0 O

  150. ' n7 H- h" x* E2 S$ v0 ~
  151. ; short_open_tag
    ( H* v5 w2 m* C! _6 Y$ O: C. V/ \
  152. ;   Default Value: On
    ) @6 z2 w' @7 d; Q% x
  153. ;   Development Value: Off% n; G& v0 l4 D1 B" n* L
  154. ;   Production Value: Off1 j3 q$ w6 `& `- C1 _

  155. 8 v$ Y* v1 e1 f
  156. ; track_errors
    2 k( E/ S7 B/ ^0 K. }
  157. ;   Default Value: Off, ^, ]! ^1 v% ^) e& x3 [6 p- X
  158. ;   Development Value: On
    # P# a" r/ B4 E4 w
  159. ;   Production Value: Off
    $ I) t5 ?' T- v8 ]7 s  s% T9 e6 Q
  160. - ]/ Q9 o5 W8 k2 P
  161. ; url_rewriter.tags
    9 M/ D8 H5 I3 O
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="4 Z9 v, f6 Z. G% Z7 h1 V
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . x" M9 a' f" G% e( }
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! D8 v& c5 V5 F0 E9 A" G
  165. 7 C5 i2 ]! m1 F" w
  166. ; variables_order9 x' i; m" {8 V: w$ Q) E6 w2 x* q
  167. ;   Default Value: "EGPCS"! t1 K& ?7 x. d# ^7 t
  168. ;   Development Value: "GPCS"
    2 @, B6 j$ I5 d- Y, z! I( N: Y
  169. ;   Production Value: "GPCS"
    : A6 m& U( `. P; S- A
  170. 6 r# J% ?2 a# t# F9 c
  171. ;;;;;;;;;;;;;;;;;;;;. V% Q* I0 q" T! ^
  172. ; php.ini Options  ;) u1 m* j: b- t. K8 I) ^& ^% R
  173. ;;;;;;;;;;;;;;;;;;;;
    8 m! k' d. H' x: v7 i
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    , D& Z! V# n7 F2 d
  175. ;user_ini.filename = ".user.ini"- S* M0 h8 b" ~) Z5 ~, o- c
  176. % U& B8 d! G* |2 ?7 t( S
  177. ; To disable this feature set this option to empty value
    ( g. ]) q8 s( i7 ^) n% L
  178. ;user_ini.filename =
    ! l& |- D% C2 J" y  l' ?/ m* _
  179. 1 n5 n8 G9 I2 d2 s6 l: O
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)9 `# r2 h) g7 B$ i9 |4 O
  181. ;user_ini.cache_ttl = 300# Z9 S7 j. E+ N2 ?7 _$ u

  182. % a. N: ]* @5 Z* ?( Z5 T
  183. ;;;;;;;;;;;;;;;;;;;;
    7 F0 ?7 e4 E; f
  184. ; Language Options ;( t$ i0 b  |  `% f, j1 C* j
  185. ;;;;;;;;;;;;;;;;;;;;4 I- t6 y8 Q2 O; @: E+ w. |
  186. & r* j" D4 Q1 X( X* d/ R; |
  187. ; Enable the PHP scripting language engine under Apache.
    : A# ~! {0 E9 I2 a
  188. ; http://php.net/engine. A7 V8 u* o2 m2 y% ?0 `$ b5 c
  189. engine = On7 C& ~! k0 {6 _. K+ I

  190. + @6 H0 b2 s+ ^
  191. ; This directive determines whether or not PHP will recognize code between- a& C& p; b9 Y. V. g
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ; v6 s( i# C( Z8 d# n8 N
  193. ; generally recommended that <?php and ?> should be used and that this feature! E) v6 z4 R: ?
  194. ; should be disabled, as enabling it may result in issues when generating XML
    8 _5 Y1 t  t+ g
  195. ; documents, however this remains supported for backward compatibility reasons.
    # K. q5 R. m# P6 E; P
  196. ; Note that this directive does not control the <?= shorthand tag, which can be5 X8 D. _2 D1 |
  197. ; used regardless of this directive.
    , p- m( x( X5 Q% Z) e, ^6 A
  198. ; Default Value: On% S1 C3 [0 |) F+ d' r
  199. ; Development Value: Off- H8 C1 a! w: A% ?
  200. ; Production Value: Off% q1 W. J, y. }. M( _% I, I
  201. ; http://php.net/short-open-tag! a/ |; [6 j8 a/ x  T
  202. short_open_tag = On& M) d6 h  |" s) ?9 U$ f

  203. . C/ {- l3 U9 q* z- V1 D& L
  204. ; Allow ASP-style <% %> tags.& m! P4 B- ~7 {; Y; _. f8 \
  205. ; http://php.net/asp-tags6 t/ Y3 V8 R8 g, @: _
  206. asp_tags = Off: H" |( ]3 F& C4 J) R2 \5 g$ P: e

  207. ! h1 n7 q2 e: c/ G4 W( V8 ^. T
  208. ; The number of significant digits displayed in floating point numbers.
    # P- [* y% z6 {- N6 n! Y' G8 A$ |) d
  209. ; http://php.net/precision
    $ K) i0 }8 U9 o( m" a" Z
  210. precision = 14
    # L5 U! n6 m; Z  Z+ ~1 x0 @2 Z

  211. 7 Y: D! S- p7 [/ t8 ?4 {" ?! y5 G
  212. ; Output buffering is a mechanism for controlling how much output data
    ) J& o0 [7 ~) _! Y( N
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that1 ]& K! A) O( s* Q9 ~
  214. ; data to the client. If your application's output exceeds this setting, PHP
    9 [2 _' G& b+ _( ^5 |' N
  215. ; will send that data in chunks of roughly the size you specify.; t! V/ X2 b1 ]) R" j' B
  216. ; Turning on this setting and managing its maximum buffer size can yield some! L  e. q% V) A2 |# D- @
  217. ; interesting side-effects depending on your application and web server.. L( t$ w( ]. {7 r0 O6 [( y, p
  218. ; You may be able to send headers and cookies after you've already sent output  H8 W; Q9 G( `( O
  219. ; through print or echo. You also may see performance benefits if your server is; g& s5 D4 S7 T
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    / _( _  c7 C" m# v
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    / O' q% n0 K! l! U: f3 i
  222. ; reasons.8 z& f& i( G2 a) M, k1 D  g
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    % H7 q4 X6 M6 P' B7 D
  224. ;   functions.. a9 W+ c5 Z1 e' ~5 [5 s
  225. ; Possible Values:7 `5 S' ~6 x% I) {
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)2 ]% t- ?7 `. r  S7 m
  227. ;   Off = Disabled% h" L/ P. |. L" g. ?) g  q
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.9 M+ R0 C; [% X6 ?4 o/ j
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI5 k- |( y5 c6 d! W) ^
  230. ; Default Value: Off
    7 R4 J2 g' T2 R2 U# b! H) `
  231. ; Development Value: 40963 `7 n8 w4 r" Z  t7 s
  232. ; Production Value: 4096( I) x1 L; J* g
  233. ; http://php.net/output-buffering
    5 X: y* E! v8 m
  234. output_buffering = 4096. i+ ]- E5 u6 j! s. @. M
  235. ( h' {* ^8 O: c) g
  236. ; You can redirect all of the output of your scripts to a function.  For
    6 v: ^0 |& Z8 h( c7 l
  237. ; example, if you set output_handler to "mb_output_handler", character/ X, E& @2 M6 {
  238. ; encoding will be transparently converted to the specified encoding.
    / H+ E  @! d3 k6 ^) E
  239. ; Setting any output handler automatically turns on output buffering.4 I. y; S3 I5 l
  240. ; Note: People who wrote portable scripts should not depend on this ini/ d" r, P$ Z+ @! F+ b
  241. ;   directive. Instead, explicitly set the output handler using ob_start().0 o+ @2 e* L2 ]! I* Z% `" p
  242. ;   Using this ini directive may cause problems unless you know what script! q6 d2 J; n& v8 K0 N! L
  243. ;   is doing.+ V7 w# \5 a! {7 p& T& G& ?
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    1 ~" j, {, T! [7 y9 u7 G
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    4 H# X" ~0 e* B* Y- [
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    # R# G% z5 f, i; |, |
  247. ;   Instead you must use zlib.output_handler.6 p2 o4 k* S' ^3 s) S8 I5 m
  248. ; http://php.net/output-handler8 H  `/ H* g) w9 Q
  249. ;output_handler =
    , _! d) r) M5 `/ W7 D# f

  250. 6 d- I9 e6 X5 v% E: X4 a" l
  251. ; Transparent output compression using the zlib library
    2 h. d, [/ ?. s7 g
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size# {7 k6 x- F+ y5 n. a
  253. ; to be used for compression (default is 4KB)
    2 m0 c' n  F0 T! p* {, x
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP( C# `  v1 J: R8 m+ m8 }. V  P
  255. ;   outputs chunks that are few hundreds bytes each as a result of: k9 w, d0 j3 o) m! _3 t# f- C
  256. ;   compression. If you prefer a larger chunk size for better
    / |6 E: ]: I- u# N) ?3 f
  257. ;   performance, enable output_buffering in addition.
    ; Z# A! t- W, O7 J. A* I
  258. ; Note: You need to use zlib.output_handler instead of the standard
    , ]8 T, c& v4 N* j: i( U: P4 Q
  259. ;   output_handler, or otherwise the output will be corrupted.9 I* n" l9 ^) q; h
  260. ; http://php.net/zlib.output-compression  C+ v; b' o  F3 Q4 L6 j% {
  261. zlib.output_compression = Off
    " H  f* V" z; o% I2 e2 o
  262. : F( e' }- U# y8 e
  263. ; http://php.net/zlib.output-compression-level6 e& N* n. u' v$ O+ ]) B* {# I: k) b0 @
  264. ;zlib.output_compression_level = -1
    : J1 X8 ?( f4 T$ F/ o- Z, ]
  265. - Q. w( i" c) r* c" a
  266. ; You cannot specify additional output handlers if zlib.output_compression
    - p% D, j' G. N) G! ^3 L; m# |
  267. ; is activated here. This setting does the same as output_handler but in
    / |: x9 D( e* d8 D
  268. ; a different order.+ z8 `1 i; W% ~9 r3 B* x6 o6 L" j1 j
  269. ; http://php.net/zlib.output-handler
    ' c9 s9 {' d/ M% ]/ D+ R
  270. ;zlib.output_handler =: E. f! S4 z0 H0 k3 _( q

  271. 9 P) N9 S3 `2 k  z% L: l. w& u
  272. ; Implicit flush tells PHP to tell the output layer to flush itself8 `7 W2 i# H0 N+ N8 Y+ x9 ~
  273. ; automatically after every output block.  This is equivalent to calling the) C0 h% T4 ~% w+ J. Q4 q
  274. ; PHP function flush() after each and every call to print() or echo() and each% R3 s5 G' v  ?0 h
  275. ; and every HTML block.  Turning this option on has serious performance8 d% c* T! ?- q5 }) K* D
  276. ; implications and is generally recommended for debugging purposes only.
    ; C0 S( X8 m8 l6 X
  277. ; http://php.net/implicit-flush& w* u8 Y2 e8 h: k& K3 }* h! X
  278. ; Note: This directive is hardcoded to On for the CLI SAPI* w" M- F" T, ^# m2 K6 Q, v' R
  279. implicit_flush = Off
    ! I0 R1 ]/ W6 V
  280. . s+ o4 p8 K( N# ]3 L/ D
  281. ; The unserialize callback function will be called (with the undefined class'
    * |% P$ e( H1 C1 A  c9 I
  282. ; name as parameter), if the unserializer finds an undefined class
    4 D' @/ K0 i  L
  283. ; which should be instantiated. A warning appears if the specified function is% H5 R8 n* r. |
  284. ; not defined, or if the function doesn't include/implement the missing class.
    ' P4 n6 Y" U& k6 A) S! X$ O3 Z
  285. ; So only set this entry, if you really want to implement such a
    1 b2 i4 `+ ]8 Q- Y
  286. ; callback-function.
    7 G" F! I( M. P6 X3 l& a& B4 B# X
  287. unserialize_callback_func =
    " G6 B  K. e  O. b4 r  ~/ k

  288. ( f# [$ E' F! Y# G, e' W
  289. ; When floats & doubles are serialized store serialize_precision significant" g& Y4 `- L, z; ?2 G
  290. ; digits after the floating point. The default value ensures that when floats' b. \! O$ h6 O+ q! ^6 ~
  291. ; are decoded with unserialize, the data will remain the same.: e, l" q7 {1 H1 R  V1 ]
  292. serialize_precision = 17: y! K4 J2 _8 x% \! U: e" m; r
  293. 3 q  m' w) K! X
  294. ; open_basedir, if set, limits all file operations to the defined directory
    / W: J; F  }4 |
  295. ; and below.  This directive makes most sense if used in a per-directory! h8 w, r5 {+ w5 g; ], b: n2 S
  296. ; or per-virtualhost web server configuration file.' l9 e$ Z; R/ j; C9 S/ I$ J! @
  297. ; http://php.net/open-basedir: t. r5 k6 Y4 l8 A9 m! K+ w
  298. ;open_basedir =) O, P' s; C9 [  B- p. L
  299. 8 t5 I0 g) k9 [( D9 K; S
  300. ; This directive allows you to disable certain functions for security reasons.
    ; [1 R& ~6 Q2 R8 i& s/ K
  301. ; It receives a comma-delimited list of function names.
    1 E1 H* \! \- i& H$ Z
  302. ; http://php.net/disable-functions- Q& u" S  H0 n' _. J
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru- L) w- E  V' ]
  304. 4 U  D& B4 {( V1 p4 n6 V, W( {& U/ h  ?
  305. ; This directive allows you to disable certain classes for security reasons.' W2 P: I( G# s5 h: Y' U
  306. ; It receives a comma-delimited list of class names.+ l% m  t) `" ^) d6 P2 B/ Q
  307. ; http://php.net/disable-classes
    " A9 j6 u# b3 R$ P9 O3 {
  308. disable_classes =
    7 c2 z2 y+ {; @' u
  309. 2 y' b& e, X- E6 p* L( V, T
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in8 u; A8 r6 Y' i2 ~- n+ _0 |
  311. ; <span style="color: ???????"> would work.' A6 j0 [( i' @: v9 {
  312. ; http://php.net/syntax-highlighting" R6 o! _3 r$ A) w5 z; B
  313. ;highlight.string  = #DD00009 Z- N8 |# t3 S  Z
  314. ;highlight.comment = #FF9900
    ! A, q9 M0 |) Z3 O4 R: w) w
  315. ;highlight.keyword = #007700) ]2 g3 S' k' ^
  316. ;highlight.default = #0000BB! ?- v0 I% z9 _* G3 e
  317. ;highlight.html    = #000000
    ' ]2 T+ o/ q1 S' y0 r" E* k. a

  318. * S! ?0 c" o) ^& L3 j2 C. x
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    $ m6 t* Y+ q: o' x: J3 d
  320. ; the request. Consider enabling it if executing long requests, which may end up* g5 o# z& {7 B+ C+ B/ h
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ! R2 ?7 I/ b# H& R3 w1 ^
  322. ; is to disable this feature.
    $ n; L* F, y% k0 f
  323. ; http://php.net/ignore-user-abort( d/ ]  h, A' W# ]& l3 J3 d
  324. ;ignore_user_abort = On
    8 |! b% @. |4 W  S  s9 c2 I
  325. 3 A, o, p6 B% I% L! u
  326. ; Determines the size of the realpath cache to be used by PHP. This value should9 q5 i% Z* X9 D
  327. ; be increased on systems where PHP opens many files to reflect the quantity of9 {5 ?5 ~8 x7 |) Z
  328. ; the file operations performed.& {; {( e) u: @# M& G
  329. ; http://php.net/realpath-cache-size
    - r2 a' u; r" j. X
  330. ;realpath_cache_size = 16k5 r$ e3 \, Y: Y
  331. ( l3 e- |6 T" _
  332. ; Duration of time, in seconds for which to cache realpath information for a given# G. K! A  F- K5 E- Y  |9 u# d
  333. ; file or directory. For systems with rarely changing files, consider increasing this% V- F& ~. V/ t5 D
  334. ; value.) o! Q& f/ u4 Q: K3 g
  335. ; http://php.net/realpath-cache-ttl
    4 C( I& B6 U5 K2 H
  336. ;realpath_cache_ttl = 120
    8 _) [; U9 M. m$ ]/ W
  337. , f3 s5 F0 y0 }& W7 R  H
  338. ; Enables or disables the circular reference collector.
    , C% S) ^" g, `0 y+ f0 K6 t9 I) Z. H
  339. ; http://php.net/zend.enable-gc" d# X  f# \: n
  340. zend.enable_gc = On
    ) U: @  U% w; t) S2 P/ P/ G

  341. 5 U7 j4 p0 `: {7 R
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    0 `4 H* z1 ?6 \) Q
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    1 u7 M: [% V' F% D% n* P
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    # Q! P8 d7 D) a5 w  T0 Y5 a6 m
  345. ; Default: Off
    " y( U" M: F/ l( I
  346. ;zend.multibyte = Off
    # a' k  M7 D' N7 Z. D6 L

  347. + d7 C1 G+ x0 Z/ m
  348. ; Allows to set the default encoding for the scripts.  This value will be used! D0 f& G6 e0 F3 b' O
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.: a1 k1 Q# O3 K; v
  350. ; Only affects if zend.multibyte is set.
    4 @& S. A" S0 B# y
  351. ; Default: ""
    1 o/ @. F5 U$ c) q/ k5 S% e
  352. ;zend.script_encoding =
    9 u# y9 q6 m' m. z

  353. 7 J, S! U/ z2 X, h3 u
  354. ;;;;;;;;;;;;;;;;;" b0 `; b" t: x4 Q
  355. ; Miscellaneous ;/ B) e- W5 b2 N; f; `* d, l7 L
  356. ;;;;;;;;;;;;;;;;;
    3 i# s9 ]2 k- c

  357. ' ?0 g% C4 |. i
  358. ; Decides whether PHP may expose the fact that it is installed on the server. I0 c1 w- X) y9 g0 t) T0 _
  359. ; (e.g. by adding its signature to the Web server header).  It is no security! v% B$ V2 I0 t! ]6 J* D' N
  360. ; threat in any way, but it makes it possible to determine whether you use PHP( ^6 b6 }3 A& \( X. O. S% f
  361. ; on your server or not.4 e  r5 V8 ~6 f) M- ^
  362. ; http://php.net/expose-php
    9 w5 f4 b* J8 z; i! J7 h
  363. expose_php = On" d. _+ n5 f- z- @% r( u
  364. 9 Q1 D2 q" _; F, j$ W/ H
  365. ;;;;;;;;;;;;;;;;;;;
    8 g2 Y- j# s  C; [  j; E( D
  366. ; Resource Limits ;4 Z$ ~4 D) `& B2 S
  367. ;;;;;;;;;;;;;;;;;;;
    ( q% R8 @* |- \8 O, X: z

  368. 1 [! v( E3 N5 b( z& o
  369. ; Maximum execution time of each script, in seconds
    6 X6 q" o$ s  E* _
  370. ; http://php.net/max-execution-time
    ; m- K; L" L7 I! X2 e) P9 b7 _. q
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ' \9 ]7 s2 }+ \) Z+ p; A
  372. max_execution_time = 300
    # c9 b$ P$ q( a: @- o9 }

  373. " x1 }9 }# h' w* H; Y- h' ~: U* \
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    " e8 i% F) p. B% h
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly# M! C7 w. E$ E
  376. ; long running scripts.
    + o, x* F. O1 `. h2 O4 |/ g
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI2 j( u6 _  s& v" z7 {* |& a8 _
  378. ; Default Value: -1 (Unlimited)
    # c4 h, k: ^% L0 Q
  379. ; Development Value: 60 (60 seconds)
    6 r! U, p' {# Z6 p- ?( V# Y
  380. ; Production Value: 60 (60 seconds)+ C( t* |) {, t& g: r6 a
  381. ; http://php.net/max-input-time
    . ~! o  G4 `: }4 a4 P( M2 D
  382. max_input_time = 60
    ' Q8 k; C. [6 M( i# v3 c0 N% Y

  383. ( P# n$ A! t- y  Q4 Y0 [5 X
  384. ; Maximum input variable nesting level7 X3 C3 H5 h9 r! j8 m1 L' b
  385. ; http://php.net/max-input-nesting-level
    . H) Y1 z1 R4 T& z1 V& b1 B
  386. ;max_input_nesting_level = 64
    7 h! v7 s- B% a0 K* @- Q

  387. 8 l; l9 a# F8 C, [
  388. ; How many GET/POST/COOKIE input variables may be accepted
    ( n; S4 z* d$ `* t" B
  389. ; max_input_vars = 1000
    , x! |8 W" a" ^' g$ Z

  390. 1 S4 D. n2 w  k) E6 }
  391. ; Maximum amount of memory a script may consume (128MB)
    : y6 m8 E: ^; R: Z- k* O
  392. ; http://php.net/memory-limit+ B- N1 R  I- W0 |) l- n- Q
  393. memory_limit = 128M/ e8 ]/ S9 {# G
  394. * R' V4 W6 f8 ^; w
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    : @% y8 O3 V2 m3 [
  396. ; Error handling and logging ;
    7 Y4 Q1 C* u6 Y9 v8 l9 x
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;- K5 R9 u+ h$ y/ p# C

  398. " \, T" X% {; E- R' ?+ o; f2 M
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    ! F& ^" V  |( x8 \" G) K( w
  400. ; it to take action for. The recommended way of setting values for this' {. R2 E# h* ~  W
  401. ; directive is through the use of the error level constants and bitwise
    , I* y, s4 w1 [- B/ d; y
  402. ; operators. The error level constants are below here for convenience as well as
    ( ~. S1 |" f/ T5 f; E/ y5 {* P
  403. ; some common settings and their meanings.
    : t. B8 J1 j  L: R
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT. [% K. B$ q$ w# @0 G
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ) Z' _; a2 \7 w; V$ F
  406. ; recommended coding standards in PHP. For performance reasons, this is the6 w0 [$ D( }$ G0 ]
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ( |" S8 @4 O! P5 V9 q& k% }
  408. ; resources complaining about best practices and coding standards. That's what, E) ]# U* H( b$ L4 }  {6 {
  409. ; development servers and development settings are for.4 ^- Z9 }; z: p& }, g
  410. ; Note: The php.ini-development file has this setting as E_ALL. This$ d0 {2 f$ `4 l* a% X. l) q* {
  411. ; means it pretty much reports everything which is exactly what you want during' z" r: y( E, H/ b0 m8 U4 j9 }) t9 e
  412. ; development and early testing.8 l2 {6 M- |0 p; Y( [
  413. ;" I) l- `# L( g1 v& E  P" O' o) v
  414. ; Error Level Constants:
    4 V0 b6 o. K0 p* i0 |
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    2 w9 o* j; P! U0 J  P2 S( F2 Z
  416. ; E_ERROR           - fatal run-time errors
    4 X2 Y6 x1 o/ M0 H
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    3 M  r$ I. I1 d5 u1 q
  418. ; E_WARNING         - run-time warnings (non-fatal errors)- U0 L2 q6 d) @: \
  419. ; E_PARSE           - compile-time parse errors
    8 ~  S2 @, T3 L* V
  420. ; E_NOTICE          - run-time notices (these are warnings which often result+ X" E! S+ Y2 x/ J- C, U! a
  421. ;                     from a bug in your code, but it's possible that it was
    . s9 x% d  L9 K& M( X' S- Q4 G
  422. ;                     intentional (e.g., using an uninitialized variable and
    4 B- F% k5 s, @6 a* p
  423. ;                     relying on the fact it is automatically initialized to an
    2 V! |; i3 j$ d+ K; _( Y6 _# t3 _
  424. ;                     empty string)
    4 e2 _# f6 E+ f: K& u% d" ?
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes2 o8 l& p$ g, M; ?; a( P
  426. ;                     to your code which will ensure the best interoperability
    + O- k1 g) l5 G: S- P* Y
  427. ;                     and forward compatibility of your code
    0 }. X/ ]0 t+ \
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    4 d9 E* B# P( T3 N& f$ ?' D
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's6 v6 c7 o5 P# Z- D0 \( {& _
  430. ;                     initial startup
    ; [) t% b, l$ u- o: q
  431. ; E_COMPILE_ERROR   - fatal compile-time errors( P: [0 t: D& Y: x7 q$ o9 q
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)- ^1 z6 Q# \/ X! f: K5 i6 \0 Z
  433. ; E_USER_ERROR      - user-generated error message5 n: ~* u' ?' q  g. A7 h- a
  434. ; E_USER_WARNING    - user-generated warning message! T" i3 M+ ^$ X9 a
  435. ; E_USER_NOTICE     - user-generated notice message
    6 p1 d2 \8 w$ J7 b" u1 C
  436. ; E_DEPRECATED      - warn about code that will not work in future versions9 X# M% i! ]1 M% N+ ]( q! R
  437. ;                     of PHP- a. S# b( h) C) G, C# ^
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings- h4 J2 _- j2 ]9 c5 J: ]7 M
  439. ;
    7 X, E2 q1 o( J  t% r
  440. ; Common Values:
    0 q1 L1 n9 ^$ [" H4 F
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)9 ~6 Y% a; S, d7 \
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)+ h% \1 Y" m7 _% z+ d
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ) `/ V, m( I8 H) J% w, N
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)1 L( u( m( i, P" n
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED: m* l$ g4 B  K3 x' k- V9 ~0 G8 y5 A
  446. ; Development Value: E_ALL
    ( a5 ]" ~/ f0 L+ k+ B+ H
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    * ^7 s$ s. U/ X& H" f' C6 O
  448. ; http://php.net/error-reporting
    & ^9 V/ ?4 c: E9 u& E" `  f7 G2 p
  449. error_reporting = E_ALL & ~E_NOTICE
    # u& D. i% Q' T* o5 R! y
  450. - O1 z+ [$ x: j" w; b- B$ b
  451. ; This directive controls whether or not and where PHP will output errors,* Y3 C0 M. ^/ C" {5 _: {
  452. ; notices and warnings too. Error output is very useful during development, but. @' w1 G* g% J+ [( `# ?& ~
  453. ; it could be very dangerous in production environments. Depending on the code7 e. C! s# q8 ~6 V
  454. ; which is triggering the error, sensitive information could potentially leak% }# c* i5 d, E# t  W
  455. ; out of your application such as database usernames and passwords or worse.
    7 o' }6 o/ l2 P9 Y4 U8 L
  456. ; For production environments, we recommend logging errors rather than0 r: O" y+ n5 m3 O. w
  457. ; sending them to STDOUT.
    $ H2 _( I6 ]2 h; ^8 Z9 a( D
  458. ; Possible Values:
    4 F' K; S8 x4 E8 S/ c" u) y
  459. ;   Off = Do not display any errors
    - A+ ?" x, S$ G1 m# L- ~# ?, g
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)2 J- r( ?' j3 J+ U9 x
  461. ;   On or stdout = Display errors to STDOUT
    + g( t$ {% R7 Q' q5 c, S
  462. ; Default Value: On' Q# F' K1 s) |1 `
  463. ; Development Value: On; ?* Y- ]$ [, W0 g! u
  464. ; Production Value: Off2 w0 u' X( q% r, X
  465. ; http://php.net/display-errors6 x: }: v5 {& r* N
  466. display_errors = On0 p0 |( N! N- i3 A

  467. # ~4 T$ I0 q0 K/ O
  468. ; The display of errors which occur during PHP's startup sequence are handled
    6 ?$ ~; i5 R& Z7 d/ z. }) Z2 S# l
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    & U3 c6 b! e2 @
  470. ; errors from clients. Turning the display of startup errors on can be useful in, _- P4 ]) y6 ]) J. J
  471. ; debugging configuration problems. We strongly recommend you8 q9 ?3 Z1 K( Y' p( @! T
  472. ; set this to 'off' for production servers.& j- ^/ E/ e  k. T. w# o
  473. ; Default Value: Off- y7 W2 j2 `/ l2 Y1 _
  474. ; Development Value: On
    6 F. n6 C) U, f: @. P) \( l; [
  475. ; Production Value: Off
    : J! y2 Y" @" ^0 V; j1 w; V
  476. ; http://php.net/display-startup-errors) b  e! B; |. Y; G! m
  477. display_startup_errors = Off7 J$ I9 F8 O6 X8 p. ]. ?3 E
  478. ' A, \/ n: G- U6 ?
  479. ; Besides displaying errors, PHP can also log errors to locations such as a8 L0 q$ w$ m% r6 d
  480. ; server-specific log, STDERR, or a location specified by the error_log7 D6 f  W1 F" Y
  481. ; directive found below. While errors should not be displayed on productions$ f8 E5 S) G- o( o% k
  482. ; servers they should still be monitored and logging is a great way to do that.8 a% g+ j8 m1 Y% D. T  Z7 N+ w
  483. ; Default Value: Off. M/ @: m; S% a; L2 t% Y
  484. ; Development Value: On# z7 k4 R& i$ [' C
  485. ; Production Value: On
    ; s# A% U- _9 }9 d2 q3 u
  486. ; http://php.net/log-errors
    : i" u7 c$ M# x- k
  487. log_errors = On; n- W, H4 ~" z! M7 R+ S' N/ n
  488. ( |+ y& h# K9 I5 }0 C3 z
  489. ; Set maximum length of log_errors. In error_log information about the source is
    ' d* @6 g2 J9 e0 S, T
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.! l  o$ A( t, J9 m
  491. ; http://php.net/log-errors-max-len
    8 U+ A; |  i1 K% ]
  492. log_errors_max_len = 1024! n5 I/ y6 u3 b+ y3 I* t
  493. 9 P# n. ]1 M" R0 p
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    # h0 i( V, k' B& b/ m# m
  495. ; line unless ignore_repeated_source is set true.
    , g" Z: ~8 L& ]# V
  496. ; http://php.net/ignore-repeated-errors' }/ C' Z' g* x$ X8 P
  497. ignore_repeated_errors = Off' R& y0 C' s* Y8 Y$ l$ P- j& @2 L

  498. + @$ {' u8 {, V, D& N9 ?
  499. ; Ignore source of message when ignoring repeated messages. When this setting) r2 m0 |9 p' ?) S: `# Z
  500. ; is On you will not log errors with repeated messages from different files or
    : z0 A3 y3 W6 i  z
  501. ; source lines./ m; X  Z- d4 _. g2 S6 |6 C% _
  502. ; http://php.net/ignore-repeated-source& F' X' p0 h" S* \# W5 M
  503. ignore_repeated_source = Off
    1 ?# R: A5 ~: D
  504. 1 M' n% _( ]3 |: X* W
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    % z% s) D- t: j
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    ; ~6 C, r( g- O+ C8 k  ]
  507. ; error reporting includes E_WARNING in the allowed list
    + Q1 b2 u# ?  v6 d
  508. ; http://php.net/report-memleaks
    # b* I) k$ F+ e0 U7 Y
  509. report_memleaks = On
    % G- `9 U& V) B& e) w/ u! U- F( S  Y

  510. 1 j% q6 Y) }3 M% [; t  C' D8 _
  511. ; This setting is on by default.
    ! \9 L/ O! c/ `% M
  512. ;report_zend_debug = 0
    6 g) f6 m' z5 N5 o

  513. 7 H. I  W/ U  J, ]0 o4 m' C
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value3 q/ \* a  u" ]5 I1 n
  515. ; to On can assist in debugging and is appropriate for development servers. It should% D* o9 M- W' C2 d; [5 j
  516. ; however be disabled on production servers.+ k/ J6 j7 F4 K, X9 o' I
  517. ; Default Value: Off9 D0 E6 c+ P1 W+ U
  518. ; Development Value: On
    1 D. [' g& _6 Y
  519. ; Production Value: Off
    $ b8 l0 s! W6 h0 c( v9 l6 k
  520. ; http://php.net/track-errors- Z! h1 U, E  h" m' E9 w
  521. track_errors = Off
    / J( C% n- Q5 T, Z) X

  522. + x! @4 X/ o( A- R% Y
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    : o, I1 X( J! r8 i9 O
  524. ; http://php.net/xmlrpc-errors
    2 s8 _/ X! Z8 n: m/ Z3 `
  525. ;xmlrpc_errors = 0( K, U- w/ X4 o0 [8 y) t, @1 C

  526. - k: S5 q% Q( l" d; a/ @
  527. ; An XML-RPC faultCode; i+ Q: O- R2 o2 X* V! b( K) o
  528. ;xmlrpc_error_number = 0
    2 h8 u  {3 S, `7 a0 l5 j( |

  529. ! b$ S* ]$ p5 a# Q' i: T5 A6 n3 Q
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    , y( D! J+ P8 s7 G2 G0 |6 K
  531. ; error message as HTML for easier reading. This directive controls whether. L: R( ]3 [0 k, o$ T& a& c& o
  532. ; the error message is formatted as HTML or not.' _7 O$ {; g3 b) F  t: \
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ( J: E. S# y. i
  534. ; Default Value: On
    + [% A3 T7 ^9 h
  535. ; Development Value: On
    , }4 x9 c7 g( n" Q
  536. ; Production value: On
    * }+ P- m. [7 B9 i/ r6 D8 D7 O1 a& v
  537. ; http://php.net/html-errors& [0 r% p# L5 A7 I9 O; a# X' x! x
  538. html_errors = On: Q) B# ~- T( V0 O6 K+ a8 l4 G

  539. 6 }7 b, V( n" H9 F: u' @" {
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    3 }/ S9 b: r- _: u1 n2 u  p
  541. ; produces clickable error messages that direct to a page describing the error9 y8 Y3 Z0 J( D, W7 a
  542. ; or function causing the error in detail.+ G4 v5 q6 M) R( W' |
  543. ; You can download a copy of the PHP manual from http://php.net/docs2 b( D2 b4 J8 h' p# N* t
  544. ; and change docref_root to the base URL of your local copy including the* w  J+ B9 v' T5 I* f! o' L
  545. ; leading '/'. You must also specify the file extension being used including7 @+ [. d- G9 m
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which% z1 I& M  R5 r7 E
  547. ; case no links to documentation are generated.
    2 i* o! b# R7 _5 G& g4 u6 q* ]
  548. ; Note: Never use this feature for production boxes.
    9 n! \& ^+ m2 @* P
  549. ; http://php.net/docref-root
    : j8 ~1 ~- k  ~. d/ _( o1 A: Y& v
  550. ; Examples
    " Q. p* o7 n8 h5 E7 m
  551. ;docref_root = "/phpmanual/"* I5 S/ S5 U1 |! I

  552.   q) o# A* @/ k$ B& S0 _4 R0 q- w
  553. ; http://php.net/docref-ext
    2 w* _$ g/ W7 M1 }! r3 U) g
  554. ;docref_ext = .html
    % S* t1 S) r( f( r9 t. {

  555. + g+ ?1 \% l+ G1 `) Y
  556. ; String to output before an error message. PHP's default behavior is to leave' \0 b1 z+ r' c0 f2 ~- U
  557. ; this setting blank.; U2 X4 K6 ^; Q6 A' c
  558. ; http://php.net/error-prepend-string+ L: Q) v8 S* C9 y; m
  559. ; Example:, y% l/ D# ]% ~4 S* Y! X
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    " Y, T' ?* D7 @/ F) T( Y4 p

  561. ' w" N+ n; n2 `- {4 T5 ~5 I' x$ {
  562. ; String to output after an error message. PHP's default behavior is to leave' q  |$ j# D+ i6 I: [" x
  563. ; this setting blank.1 j$ `$ |, ?0 E" ]# ?
  564. ; http://php.net/error-append-string
    4 w( U' q2 f! [. q6 ~6 D+ M
  565. ; Example:
    0 T  o* R$ Q( a! O; E, n5 L
  566. ;error_append_string = "</span>"
    , u4 T" X/ B- n, ^, G
  567. # H% z  @6 K8 C4 i/ v. w# k# h
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    - i+ ]1 h" o  i  m6 b3 \& W: H
  569. ; empty.  q6 l; H" u. x( v* O
  570. ; http://php.net/error-log- n+ Q3 A& ^- N
  571. ; Example:9 d8 x9 Z, q6 C2 l( Z" H
  572. ;error_log = php_errors.log% A. `$ G2 }0 ^5 x4 _
  573. ; Log errors to syslog (Event Log on Windows).. Z* @  C' s# f, X% V8 ~- U5 K
  574. ;error_log = syslog- n7 K+ |$ [! X3 K
  575. : P4 k! f; k* s' ]( y  `; h2 m2 q6 a
  576. ;windows.show_crt_warning. v5 W; O# b# D, b9 b8 r: S+ G
  577. ; Default value: 00 I% s, n# _1 C1 S
  578. ; Development value: 0. g0 p* U$ h+ m& A
  579. ; Production value: 0
    % c( r3 x! Q& h" g

  580. % o2 u, Q2 ~2 K5 M2 t) Z" K4 t3 N
  581. ;;;;;;;;;;;;;;;;;: K+ Q& N! @5 k6 h; q* L
  582. ; Data Handling ;
    / \5 ?6 L! U1 `8 N1 ^' s
  583. ;;;;;;;;;;;;;;;;;. O+ R, T  F! \# |. w5 }, ]/ K
  584. ! C+ V7 H$ b5 c7 M5 q
  585. ; The separator used in PHP generated URLs to separate arguments.
    ( }: h2 ^2 R: n: i/ k. C2 `
  586. ; PHP's default setting is "&".
    2 _0 ?6 p+ M9 b0 {
  587. ; http://php.net/arg-separator.output
    9 {7 D6 j- x% G: G
  588. ; Example:* R. F% O$ D; v2 T4 k
  589. ;arg_separator.output = "&amp;": B# U! R, m1 c
  590.   w4 q& r% h3 l: h
  591. ; List of separator(s) used by PHP to parse input URLs into variables.0 i" {: C6 I* U+ }* H/ e: L2 a* S
  592. ; PHP's default setting is "&".+ O$ _/ l5 J0 ^3 c: ?9 |
  593. ; NOTE: Every character in this directive is considered as separator!+ a+ `; `* u$ |* i
  594. ; http://php.net/arg-separator.input+ @( [0 J2 }' {# R1 B, z& c) H7 E' b
  595. ; Example:3 M9 Y. O1 ~# {' [
  596. ;arg_separator.input = ";&"
    ' \) y; n, g) V( ^3 T
  597. , z, Y$ b1 ?4 U# @9 M6 V
  598. ; This directive determines which super global arrays are registered when PHP& ]; I9 O' c( h/ ]9 |
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super6 c1 c7 e4 m% A" W; m+ r' C, G5 h. @
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty7 K, z+ Y% e8 G( G
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    ' m( l( b* @* H( }4 V! h; i% g8 j
  602. ; used as the others, ENV is not recommended on productions servers. You6 x& H8 H6 }2 ~
  603. ; can still get access to the environment variables through getenv() should you
    2 ^$ S' z$ y2 o$ Z5 }6 u# @
  604. ; need to.6 k* g2 w5 T0 I- f5 c; i  S
  605. ; Default Value: "EGPCS"- q1 h. m5 T, h" n
  606. ; Development Value: "GPCS"
    5 E% M& K7 G7 \4 C5 X; i" f
  607. ; Production Value: "GPCS";, K+ w0 {4 @  p: M" i+ {8 E- G# P7 o8 ]
  608. ; http://php.net/variables-order5 a  |4 V* Y: Z- T# d
  609. variables_order = "GPCS"
    ' L! ]7 N2 N9 m1 X2 \% v
  610.   D& P4 V1 R) W& V6 E" e; X' m
  611. ; This directive determines which super global data (G,P & C) should be* H4 I9 Z6 A7 f& r- }0 T
  612. ; registered into the super global array REQUEST. If so, it also determines
    + e) u' R" y. l6 S
  613. ; the order in which that data is registered. The values for this directive
    7 E: v1 L* T( m. }6 X: {
  614. ; are specified in the same manner as the variables_order directive,! F4 R( i; D( D6 y6 t
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set% U. u& G% Q. F
  616. ; in the variables_order directive. It does not mean it will leave the super
    $ a; y8 T# g; v3 {# F3 a
  617. ; globals array REQUEST empty.
    * p, ]0 J: V5 E8 ~% O  N
  618. ; Default Value: None6 I7 V# L* J$ |, p- q6 T2 p
  619. ; Development Value: "GP"# t0 t2 }6 j0 l" p( R
  620. ; Production Value: "GP"
    / }3 d* C9 O! c1 y. E  Y4 P9 v
  621. ; http://php.net/request-order% d6 q. X% N% b& o7 x5 v: v
  622. request_order = "GP"
    1 `( E7 N' k% {5 g" e

  623. 9 x: ~' c  Z8 l$ E) Z  |
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    1 v/ o2 e& n/ n. |1 I  v0 F
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    " y: u0 I) [5 o3 b0 N  S" u  m
  626. ; is invoked. $argc contains an integer representing the number of arguments
    ( Q* q9 r! n$ E$ A) c; d* C
  627. ; that were passed when the script was invoked. These arrays are extremely0 T" Q  E% C1 F+ M+ B
  628. ; useful when running scripts from the command line. When this directive is
    2 C; h/ t- d) |
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    " y% J9 a" V% c$ J# d1 n- Z
  630. ; a script is executed. For performance reasons, this feature should be disabled
    ! v% B* S8 w3 H, k6 v6 s* l1 B
  631. ; on production servers.
    - w" y( d* [) C3 ^' G6 D
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    ; ?7 n# H8 m) G# \& V& S3 P
  633. ; Default Value: On- y6 O' b6 p& i
  634. ; Development Value: Off+ s6 W, h8 Q% \( F
  635. ; Production Value: Off
    ( z! r% o& Q0 V: C( O, o
  636. ; http://php.net/register-argc-argv
    2 \, A- C1 ~( J& ~
  637. register_argc_argv = Off6 @2 P- m; D% P% H" n; c8 h

  638. 1 l: L8 u' M  h, I7 T, q. c" u3 d
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're! [! R7 O3 d& N
  640. ; first used (Just In Time) instead of when the script starts. If these' b& n2 ?# a' }3 A. h( m& _
  641. ; variables are not used within a script, having this directive on will result
    . b* f' u' W9 I1 g. M6 a
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    2 J- V, L/ V; B( p; x
  643. ; for this directive to have any affect.
    . {% X9 b- h4 f; v
  644. ; http://php.net/auto-globals-jit" Q& I* B5 T/ |9 Z4 G' t9 _$ u
  645. auto_globals_jit = On  S2 a2 c% m# Q
  646. 9 o8 N2 T  r$ b. R/ V* `( |
  647. ; Whether PHP will read the POST data.
    # N- {7 E( {+ \& j5 {& Q
  648. ; This option is enabled by default.
    9 R/ _) D2 M6 d: E! Z3 Z
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
      _+ U( E) A" P  J0 y* M9 V
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    0 R/ t/ l; k. j  d; k
  651. ; POST data will be through the php://input stream wrapper. This can be useful  K$ t6 Q" s% h7 m/ L5 P% O4 y+ k
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.. b8 g# v5 O1 d$ `+ z# a1 b
  653. ; http://php.net/enable-post-data-reading
    0 R4 P" E+ Z3 m/ {% b
  654. ;enable_post_data_reading = Off# T1 J/ q4 l! ]  ~
  655. 4 v5 P" Q9 G( p3 M% |
  656. ; Maximum size of POST data that PHP will accept.
    5 [' z9 t) [' D7 [
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ! j3 o6 j( |; v. N- b+ t* j
  658. ; is disabled through enable_post_data_reading.1 L  }! S9 d0 N. t
  659. ; http://php.net/post-max-size
    , C. k4 F7 H" l1 N
  660. post_max_size = 50M8 Q+ j6 E8 h- o# U, Y" q% x- L

  661. * Y1 i* a' ], I& d0 n; m
  662. ; Automatically add files before PHP document.
    # d7 _$ p  @! U9 V6 f- _- U
  663. ; http://php.net/auto-prepend-file* V# I- _3 t1 Y$ c. k7 h4 k1 p2 `! x
  664. auto_prepend_file =  _, e% {/ f- D& E0 @9 M

  665. + Y/ {% N6 ^; L$ p7 z& z$ o4 }* y
  666. ; Automatically add files after PHP document.9 n& J  B0 N$ k: C: _
  667. ; http://php.net/auto-append-file
    - Q  E  G' R0 v7 z8 p8 K
  668. auto_append_file =
    . h! H5 ?3 k0 b5 [; y8 d
  669. 7 ~, Q# ^) h' i. \' s% [" A
  670. ; By default, PHP will output a media type using the Content-Type header. To
    * ~0 f5 O/ N9 \# o* I: |6 v6 B
  671. ; disable this, simply set it to be empty.
    - ]( d$ B5 J+ P
  672. ;- @* E. W7 e8 D! w9 Q6 r. `
  673. ; PHP's built-in default media type is set to text/html.7 M4 C  {' F! `$ y9 U4 ]
  674. ; http://php.net/default-mimetype' W4 T% R" R4 q- q( s
  675. default_mimetype = "text/html"
    7 i! I' j( `4 l) E5 a5 s
  676. + a9 r. y9 L4 }9 X1 w
  677. ; PHP's default character set is set to UTF-8.
    ( k4 T, ~1 K, F# q
  678. ; http://php.net/default-charset# I# B, @* G* }4 t  V/ u
  679. default_charset = "UTF-8"0 S9 S- S1 k* s1 y* i
  680. 5 c/ [  v. I1 W4 T& A+ _: z
  681. ; PHP internal character encoding is set to empty.
    % J4 Y& J: T8 H, i2 v
  682. ; If empty, default_charset is used.
    ( C9 b: {2 f. O$ J# S: V+ n
  683. ; http://php.net/internal-encoding1 s; B8 @0 o' H/ T2 B" d
  684. ;internal_encoding =
    1 e1 a0 D2 s3 \* K
  685.   u- b, o% a, F5 s% n
  686. ; PHP input character encoding is set to empty.1 |3 b5 q$ t* c% l& c- k
  687. ; If empty, default_charset is used.+ Q. j& R& B* `, ?/ v0 g# N
  688. ; http://php.net/input-encoding
    ! I& h% u* M' N0 E
  689. ;input_encoding =
    1 d+ f# C/ T! {9 N

  690. 8 x, G- f7 y, h2 {# B
  691. ; PHP output character encoding is set to empty.
    8 O5 b! T- V; S1 S0 G/ z9 t
  692. ; If empty, default_charset is used.
    3 Q, g9 f8 D4 T+ u2 Y/ D; H) L
  693. ; See also output_buffer.
    : V% \2 m8 }- d0 I  L* Q: x
  694. ; http://php.net/output-encoding/ E& u: Q, t% X( @# H
  695. ;output_encoding =' D! Z0 V0 n+ z+ |; l5 A1 c5 o
  696. & h9 d1 _! o4 [, P  s
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is. V# c3 ?; U, r; @
  698. ; to disable this feature and it will be removed in a future version.5 O  |" Q& ]+ L/ P/ n0 G
  699. ; If post reading is disabled through enable_post_data_reading,, {, Z- z  g8 w) h, F; e& Z  @
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.  Y9 C( ]4 x: g- ~  j0 z  X3 C
  701. ; http://php.net/always-populate-raw-post-data
    9 ]4 l: j5 G/ ?- I' {9 Y( X
  702. ;always_populate_raw_post_data = -1
    $ H; w% x4 _; s: n  e  L

  703. ! ^4 G' \/ E* ?
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;; h. X2 w5 J) Q0 O& a5 E, ^* M' y
  705. ; Paths and Directories ;1 ^' [$ J* q+ M* q# M( l2 z8 }* _
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    $ M4 o& |1 j9 ^8 i; H& z- E# G7 O: F
  707. : m8 H8 E( W: c0 U6 q4 V. ~; x1 `
  708. ; UNIX: "/path1:/path2"! G' I, E2 Q; `6 y( B
  709. ;include_path = ".:/php/includes"
    " y- j' ?, o4 q+ F
  710. ;: d0 `' P7 S& y" Q
  711. ; Windows: "\path1;\path2"' ~& G& z, n, D, q- M
  712. ;include_path = ".;c:\php\includes", l. X3 ]# V1 M: b( R/ `' h! O
  713. ;( V; Q% g. a" z2 L
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    7 s" @0 U% e3 D/ @, K0 l! N
  715. ; http://php.net/include-path5 X8 j# Y$ p# ~# J

  716. 6 U* F, j" v& j
  717. ; The root of the PHP pages, used only if nonempty.) r0 A# x+ ~4 Z& B! `' {
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root6 f  Z) T- q" f! A, ]. ], }
  719. ; if you are running php as a CGI under any web server (other than IIS)6 R/ U; K! `( j1 w" r. D: `. r
  720. ; see documentation for security issues.  The alternate is to use the
    + W6 u0 ~) g0 A  C: e- Y6 D. c
  721. ; cgi.force_redirect configuration below
    $ o& S, s! k7 c5 A9 ?
  722. ; http://php.net/doc-root+ U: d/ M: I1 R8 k
  723. doc_root =1 d  p" P; _" Z
  724. : ^- D) N- b- r* N' i
  725. ; The directory under which PHP opens the script using /~username used only
    6 B% M& c8 q) y4 z% J) j
  726. ; if nonempty.- \4 m6 q! K: n. K5 }2 z
  727. ; http://php.net/user-dir- j/ ?3 G; z9 A' K+ O; c& }
  728. user_dir =
    ) l/ k% t4 l: H: x- V9 x6 ]
  729. ; C+ j+ @3 c, i1 d4 ]* ^: ?
  730. ; Directory in which the loadable extensions (modules) reside.
    . j6 d' g6 ^' ?' P2 A
  731. ; http://php.net/extension-dir
    , ]" b0 {$ r6 l' j' f! U* e7 l- K
  732. ; extension_dir = "./"7 r! b1 y" `$ X- S
  733. ; On windows:
    ' S$ N1 @: h3 b0 h1 y  L
  734. ; extension_dir = "ext"- Z7 o, [* s1 M$ o# Q: B
  735. & p% Q, z, y5 r/ C4 o
  736. ; Directory where the temporary files should be placed.
    5 e7 T4 e2 a$ a( X) t
  737. ; Defaults to the system default (see sys_get_temp_dir)
    ' }( x! X% z) N- E9 v
  738. ; sys_temp_dir = "/tmp"
    ! f: L( q% B% O3 N* u8 x
  739. % z* b. \* h* q3 E3 g: G1 i
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work9 Y7 I: t2 s. A, c
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically% m) f  V! Y  o. D
  742. ; disabled on them.$ m7 X) R4 x$ [- j
  743. ; http://php.net/enable-dl
    / H( U8 y* x7 E0 s  S
  744. enable_dl = Off
    0 f2 _9 r( V7 `3 m% P
  745. 4 t. }! o8 w( ]
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under$ ~; O8 N; u5 }, F
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    7 p( M0 H5 I8 R, k/ Q
  748. ; turn it off here AT YOUR OWN RISK
    # H; @" x0 V: N3 j8 L  I% p, Z
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**. k/ A' K9 H0 ^7 Q! |) D; Z
  750. ; http://php.net/cgi.force-redirect
    8 j) y2 S7 b+ p4 n0 x' H
  751. ;cgi.force_redirect = 14 d6 l' g6 o. @/ w( C4 A1 ~
  752. 6 V$ \* r  j2 E9 U/ I$ C; z) \
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with1 n, C2 W% C# N* }5 o
  754. ; every request. PHP's default behavior is to disable this feature.; ?0 p% E( i( C, l& o; n5 X
  755. ;cgi.nph = 1' U; q0 q& |8 M8 C$ m

  756. " ~7 D$ N) Y& C1 @  I
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    0 J' ]4 g; M- L/ d9 Q0 A' y3 L
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    6 M7 T  W5 r' Q9 j2 w+ n
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    / x! ^0 @6 J' Q* M3 z
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST." E# }3 q, o& l$ b2 \
  761. ; http://php.net/cgi.redirect-status-env; n0 }6 L% e5 c' }
  762. ;cgi.redirect_status_env =
    , `* W9 T2 e' t, _2 D
  763. 3 L: x! q; t8 S% Z) {
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's& d$ Z* f. I1 h1 t; Q
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    6 r- o3 o3 `" f  H. P( S( L- a
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting) B( p8 y" Y( S8 i0 m& Z
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    1 P9 e& w" p3 O8 H
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    8 k- g- U6 p" H9 b6 @
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.# d% w0 F  E* H0 X  g9 S8 g' Y
  770. ; http://php.net/cgi.fix-pathinfo
    # [* A; L) G; Y# N- T7 s
  771. cgi.fix_pathinfo=1
    / i4 \+ T0 S5 P2 c  }3 I" l8 a

  772. 2 Y* Y! y( V. U/ `
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside& X% ~" ^1 p" g2 `" V
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    ) @& f+ D' q3 [& h. Z( `' A
  775. ; http://php.net/cgi.dicard-path6 C. ?; t' s3 o; W  ^( y
  776. ;cgi.discard_path=1
    + B  S  Q: ]8 e1 D  A& N- Z

  777. - j4 \# K3 T# a- X! H% u  @
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    & Q% i1 u% [* i  u9 o: p
  779. ; security tokens of the calling client.  This allows IIS to define the
    8 x5 j1 X: z. b2 z
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    6 ~, U% J' h9 D# |4 E
  781. ; does not currently support this feature (03/17/2002)
    ; H, J: s5 q9 S
  782. ; Set to 1 if running under IIS.  Default is zero.
    4 U' N7 a3 ]' ~. w
  783. ; http://php.net/fastcgi.impersonate
    1 p0 }0 V; \1 X8 a5 {- n
  784. ;fastcgi.impersonate = 1# F8 G& ]  e$ T# ^

  785. 4 Q/ ~, L0 H& \% c
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable" _4 j7 V$ [! t+ u; p
  787. ; this feature.
    , n2 N# f% v6 x- }; \6 a
  788. ;fastcgi.logging = 0# R( j. {# G3 ~
  789. 3 ~8 `8 q& }0 B7 U6 H
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    + Y' K3 H* s, `: R, b
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that: U; c' Q& f$ E8 O
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    & U  U1 t- n  r1 A7 g. I
  793. ; RFC2616 compliant header.
    * }+ i3 G7 D$ f/ x0 b$ n
  794. ; Default is zero.* ^# u! Q7 X1 i5 k
  795. ; http://php.net/cgi.rfc2616-headers6 T' r2 C' D% h8 i8 J& _! {
  796. ;cgi.rfc2616_headers = 0
    ' U5 o" O- i3 @

  797. : t) @/ J9 P, X# X7 ?
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    : Q- s  ~! Y% N
  799. ; (shebang) at the top of the running script. This line might be needed if the" g* E; i+ X& f" Q
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    " d/ p. E; V9 a
  801. ; mode skips this line and ignores its content if this directive is turned on., T8 P. c: S! @( b! t; P
  802. ; http://php.net/cgi.check-shebang-line
    3 `( c0 K7 j! J
  803. ;cgi.check_shebang_line=18 y# }9 F, ^; p8 n
  804. " a; n8 {# I/ L" y
  805. ;;;;;;;;;;;;;;;;4 R/ Y3 N$ C2 ]& t) r9 O0 f
  806. ; File Uploads ;( U$ ^6 Y1 _5 S5 V8 V
  807. ;;;;;;;;;;;;;;;;
    * P" P" T4 p2 u. o. J  `6 x( Y

  808. 2 ~+ W4 e. p( ~5 u
  809. ; Whether to allow HTTP file uploads.5 N  J$ x. ]4 @
  810. ; http://php.net/file-uploads+ e8 c. @- x; |/ j
  811. file_uploads = On
    + w3 l  q) H6 J

  812. 8 F4 F$ N" s" \, x3 q8 s' J: B
  813. ; Temporary directory for HTTP uploaded files (will use system default if not- v+ |: J9 N( V: n& D
  814. ; specified)./ E9 P, c+ q/ I+ @9 f. E
  815. ; http://php.net/upload-tmp-dir
    5 H6 `4 O5 d" J3 [- v
  816. ;upload_tmp_dir =
    & D3 J# V; Z) ~! D7 g7 h3 e

  817. , U4 N7 u8 z; M, X3 d/ ~$ v5 _3 [
  818. ; Maximum allowed size for uploaded files.
    # c9 E0 y( O+ j6 q  m2 C! f
  819. ; http://php.net/upload-max-filesize
    " q" s/ e2 V5 B! |  h1 q, a
  820. upload_max_filesize = 50M
    5 o8 s" {+ \! Q+ T
  821. 5 i% M! \# D: \/ ^" j+ k$ h
  822. ; Maximum number of files that can be uploaded via a single request
    - F& }: j' {8 E9 v, l) y) ?
  823. max_file_uploads = 202 K  r. m0 W" ]0 Q
  824. 7 _4 y% x. B1 G" z
  825. ;;;;;;;;;;;;;;;;;;7 l( ^! L/ `# a# c
  826. ; Fopen wrappers ;0 _6 J9 g7 e, ~0 J: s9 b4 x
  827. ;;;;;;;;;;;;;;;;;;7 h$ w: i. O5 o! O# a! b( K; [! q7 w

  828. 8 x( z0 x0 V1 }5 `7 d( z( F
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.& Z- h% r: b1 s/ |1 M# `5 O5 E0 K
  830. ; http://php.net/allow-url-fopen6 e8 D) Y7 [; |( k" S* h* t! T8 I
  831. allow_url_fopen = On) @1 F3 O! Y) V0 \* N

  832. # o. F) T6 V$ e) S$ [
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    3 Z" g- R0 Q. m( e: R+ {
  834. ; http://php.net/allow-url-include
    7 E: o$ P! Z5 L6 j; ~/ O
  835. allow_url_include = Off
    6 ?* N1 K: F; L/ z, Q/ c* u1 v' L, P
  836. * K" `9 s/ E# o, p
  837. ; Define the anonymous ftp password (your email address). PHP's default setting' R5 ^6 i1 [# C# t/ {" X; ^
  838. ; for this is empty.! G9 U% m6 r; z6 h# d$ q# S
  839. ; http://php.net/from, ^' _- P, d% d5 Q1 E; \2 b
  840. ;from="john@doe.com", r1 B$ `6 G7 x/ A3 b! h1 g
  841. 3 x* o+ l! \1 z. G
  842. ; Define the User-Agent string. PHP's default setting for this is empty.6 T. @/ g5 |  x$ C4 M$ M
  843. ; http://php.net/user-agent9 {6 \5 k8 K) d# Y8 \: O6 e
  844. ;user_agent="PHP"- J6 O( y. u, x6 G6 n8 v$ ^

  845. 1 E0 u% U- a2 w' s" m0 v3 d- S
  846. ; Default timeout for socket based streams (seconds)
    2 L3 G) q& T& k
  847. ; http://php.net/default-socket-timeout
    ( q* \2 h, L" e+ w
  848. default_socket_timeout = 607 z: e2 j8 t' b  q1 n

  849. " l7 W, c. C& a+ j6 v
  850. ; If your scripts have to deal with files from Macintosh systems,2 U: _  r: Z0 M3 ~7 y4 f" v' o
  851. ; or you are running on a Mac and need to deal with files from: r. G9 |% W  ]$ c  ^
  852. ; unix or win32 systems, setting this flag will cause PHP to
    . j! ^( w+ L6 V, \
  853. ; automatically detect the EOL character in those files so that
    9 G1 N1 o8 l  M3 E3 j
  854. ; fgets() and file() will work regardless of the source of the file.
    $ l/ a) v+ Y/ t( J! r3 j
  855. ; http://php.net/auto-detect-line-endings
    6 \& Q1 S9 t" z. x6 e! M
  856. ;auto_detect_line_endings = Off0 m: J/ v0 n( r$ n( k* j

  857. 3 J0 U3 z+ k& P5 U2 f$ Q
  858. ;;;;;;;;;;;;;;;;;;;;;;8 Q: H4 d' r0 [2 H# ?; R; H
  859. ; Dynamic Extensions ;
    7 \9 X0 A( W5 r/ k: h% @! ^* o
  860. ;;;;;;;;;;;;;;;;;;;;;;  Q; s$ [! ?5 ?0 U4 P# W" u! G

  861.   b  x) v6 q9 H
  862. ; If you wish to have an extension loaded automatically, use the following7 q; |& K2 j4 I( F$ T3 q7 O
  863. ; syntax:
    ! ~8 n6 Z7 l1 |
  864. ;1 a% G& d* Z7 _
  865. ;   extension=modulename.extension
    $ b4 Z- Y; L) q, s1 [5 I
  866. ;9 f0 R5 J* }+ ~1 H4 o4 w' @. S# A
  867. ; For example, on Windows:
    % i( d  |# k  K7 z" _7 `8 M# M( n
  868. ;! L3 f( L! E4 m. a: t9 Y! e2 h- G
  869. ;   extension=msql.dll$ T- {/ j  t4 R9 N- K7 V7 r0 z
  870. ;+ \6 V6 @, I$ Z3 f, }/ h/ o" j3 @
  871. ; ... or under UNIX:
    ( |* ]; \6 v% `2 g, @! z4 j, m
  872. ;
    6 f+ {* T& x% s" N. ~! f% j4 L3 t
  873. ;   extension=msql.so" F0 \3 Y: I2 x* G# j# ]- |2 T
  874. ;
    % g+ R& s% \. [; w# X/ D
  875. ; ... or with a path:% m: I  @6 H# a( }2 V: a' ~
  876. ;9 i1 U( E8 m4 t# s! j7 C8 z7 p
  877. ;   extension=/path/to/extension/msql.so" x! U- s1 K* N. N" N6 J& v! C. @
  878. ;
    5 [, p8 b# f0 [5 X! F# c
  879. ; If you only provide the name of the extension, PHP will look for it in its
    ' P& I9 m* q* f  a( }( j; P1 z
  880. ; default extension directory.
    ! F1 R7 o5 {/ g( v% T
  881. ;
    ) y- j: h# j; x$ h7 C" z: n# X
  882. ; Windows Extensions
    ' z3 c5 s9 C9 i1 n
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ; ~* }+ n; N  e+ {/ t
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    4 b8 m! @5 c: o/ F2 Q9 u( P# o
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).9 J7 [2 r$ j" ^/ E+ ?9 K! Q
  886. ; Be sure to appropriately set the extension_dir directive.
    . B1 @& o1 F" Z: M4 O
  887. ;& o5 U- H/ b$ _3 E: L& W
  888. ;extension=php_bz2.dll
    8 C6 k; I0 g# E! a2 N
  889. ;extension=php_curl.dll: w: L3 ^6 r! X
  890. ;extension=php_fileinfo.dll1 K) C: z* ^2 S$ s. U5 V( @0 s$ Q
  891. ;extension=php_gd2.dll
    2 l" D2 @! W, U$ g. v
  892. ;extension=php_gettext.dll
      i1 x4 m( I, h) |& I4 s
  893. ;extension=php_gmp.dll2 x  i1 ^- h8 d, t7 {5 W: z
  894. ;extension=php_intl.dll
    2 S& A. U$ @; P- w# H6 v, y6 c
  895. ;extension=php_imap.dll4 z1 X6 J1 N% s  A% i
  896. ;extension=php_interbase.dll: N2 i9 d, ~  v4 G
  897. ;extension=php_ldap.dll* u( |1 R* Y' k. B& I1 @( p
  898. ;extension=php_mbstring.dll6 u( l8 C3 z' L2 q4 N' `( _( X+ H
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    + W9 K" {5 l+ L$ }7 S) t; P" T" E
  900. ;extension=php_mysql.dll6 q2 B2 c; q$ J# f# T$ Y% S
  901. ;extension=php_mysqli.dll8 q0 F0 V( a: U4 u% p
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    0 }- f7 V+ X, u! C+ b# m" t4 A
  903. ;extension=php_openssl.dll) N8 q) e5 l% \! _- T9 G
  904. ;extension=php_pdo_firebird.dll
    . h& e% ?+ z8 |7 |; r' Q! f8 p7 \
  905. ;extension=php_pdo_mysql.dll
    & q1 N$ P6 _% H  N
  906. ;extension=php_pdo_oci.dll
    % C, s) h  `! W( N" F) }7 V; s
  907. ;extension=php_pdo_odbc.dll
    3 q" o2 v& X) E2 y( \0 U& R! k- @
  908. ;extension=php_pdo_pgsql.dll
    * Z& v/ N, Q$ E  O; _
  909. ;extension=php_pdo_sqlite.dll# b- v! D1 I6 E! k2 \; U2 Z8 z  Q9 D
  910. ;extension=php_pgsql.dll7 l6 e  ~( X  V& x6 C6 N8 S
  911. ;extension=php_shmop.dll) a  Q5 m4 {; a

  912. # ?; H: B+ @5 o5 N$ F( a" b
  913. ; The MIBS data available in the PHP distribution must be installed. : V: o8 t! Q- E+ ~
  914. ; See http://www.php.net/manual/en/snmp.installation.php + Z" r0 I/ G  j
  915. ;extension=php_snmp.dll$ C0 n  F6 i( B2 @8 Z: _

  916.   k4 @/ z% @9 C/ f6 ^
  917. ;extension=php_soap.dll
    ) j: h8 G% D; w' U! T
  918. ;extension=php_sockets.dll0 \# `0 n0 t7 v# M$ _
  919. ;extension=php_sqlite3.dll
    8 Q! X/ ]% F! G9 A" _# o
  920. ;extension=php_sybase_ct.dll9 Y+ W: q; u, t/ e
  921. ;extension=php_tidy.dll. {) }, d+ W& M; r! f. m
  922. ;extension=php_xmlrpc.dll; I! @' _. y3 \3 n3 b0 Z
  923. ;extension=php_xsl.dll
    0 @; a3 Q7 O. c* u6 r1 S8 {' @
  924. 3 l3 v9 Z7 c- G8 Z; ]% B4 p
  925. ;;;;;;;;;;;;;;;;;;;
    9 \3 d3 S. J0 l; T, e/ [9 X
  926. ; Module Settings ;$ [8 d' z, A9 m* O( d  D/ w
  927. ;;;;;;;;;;;;;;;;;;;
    / ?  V3 S& K' V' w9 q
  928. % W; v( y) y, u. _. o
  929. [CLI Server]
    # O8 u6 W. u+ X/ d+ l% y+ a$ s& i
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    6 r. |1 S" @+ m/ j2 S
  931. cli_server.color = On
    4 g/ G/ p( y2 t

  932. / e8 t, Y8 Z7 n# r' _, I
  933. [Date]
    ; c' q. ~- l6 ?- Z
  934. ; Defines the default timezone used by the date functions8 `0 k  V: q8 N$ F! G/ ?
  935. ; http://php.net/date.timezone
    5 {, M0 w, M( o1 d& q& _8 G8 E
  936. date.timezone = PRC
    8 n8 V; y+ ~* V

  937. 3 d+ P: [) t- x7 R8 v0 s* M
  938. ; http://php.net/date.default-latitude
    . v, Z& I* ^1 j: w) C4 S- x5 ?/ B( n
  939. ;date.default_latitude = 31.7667
    ! G9 p1 n* D' I9 {7 U
  940. 4 o1 x* B2 u% ^+ o# P1 {( O  ]: h/ i
  941. ; http://php.net/date.default-longitude( @9 c& E( |: H: ?# F
  942. ;date.default_longitude = 35.2333
    9 i( A6 u3 t  H( ~$ ^
  943. ' m0 X- x. f- r+ r0 E
  944. ; http://php.net/date.sunrise-zenith) U% ]0 k7 U0 ?& \
  945. ;date.sunrise_zenith = 90.583333
    2 }, D# c$ w9 k' C; q
  946. ( k8 V: P' u3 D7 O1 P( n- ?) L
  947. ; http://php.net/date.sunset-zenith
    . \1 e' H6 Z* V3 W6 ?* Z
  948. ;date.sunset_zenith = 90.583333; j3 B! c' N7 }' h! l
  949.   n" Z1 q( k2 d% B
  950. [filter]
    ! B0 u4 J9 b" Y  o, i0 A
  951. ; http://php.net/filter.default
    7 t) B; I  E/ e
  952. ;filter.default = unsafe_raw
    ( u9 P5 C1 k; ^9 n2 L/ S
  953. # R! \/ ^$ Q- v8 i$ m
  954. ; http://php.net/filter.default-flags! T/ C: f% R" l  }
  955. ;filter.default_flags =
    # c  |+ q6 u/ F/ }3 d4 N+ v

  956. . l/ }, A. z8 M5 i- t6 L- K& ~
  957. [iconv]- x7 D' W, i* b
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.; J# P; k7 Z( b7 h6 h$ B* E: O
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    * |  p' Z$ O% V4 z2 P, B0 u
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding/ B2 S: H  g. @0 |, ~3 ]
  961. ;iconv.input_encoding =
    5 j% @1 h6 G8 y3 o! h, ~
  962. ; `& |! _8 ^( X- W) |
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    . k+ z& C& ^& p/ E: y' [' l
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.$ s1 z: z% P" ~9 n5 a* d% ~. ]" \6 [
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding- k- w, Z, N% y# p9 F
  966. ;iconv.internal_encoding =/ ^# U) A% T+ ^
  967. ; @2 x7 N5 m4 v
  968. ; Use of this INI entry is deprecated, use global output_encoding instead./ u' x# h: }# c( Q( |9 z
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    / ]8 e' t- f# v" r. n9 g  ]7 a$ I; O
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding4 @/ v5 L; L9 T$ B0 c
  971. ; To use an output encoding conversion, iconv's output handler must be set- Q" t+ y" X1 G8 T0 m! M8 R
  972. ; otherwise output encoding conversion cannot be performed.) V1 M1 @7 L. \" x
  973. ;iconv.output_encoding =, @! G% Z# o; F; Z/ n# X0 G; r
  974. / p' o* A' S- h: S" z5 a
  975. [intl]8 w& G5 [; V" m6 T1 g0 \
  976. ;intl.default_locale =
    0 I& c7 J6 ?* `, p
  977. ; This directive allows you to produce PHP errors when some error+ n8 L/ x, m2 Q0 f: n
  978. ; happens within intl functions. The value is the level of the error produced.
    % f6 d. t  Q: q$ V+ U7 `+ f
  979. ; Default is 0, which does not produce any errors.% T1 i+ B3 l( v. \
  980. ;intl.error_level = E_WARNING. |+ v6 r6 q( C8 \) B* u0 _2 T
  981. ;intl.use_exceptions = 0, P9 F+ \2 r1 u0 W& H2 U5 [
  982. . G+ h2 J6 s2 ?- ~5 k
  983. [sqlite3]
    : [$ f1 P* H' R1 `. z5 U
  984. ;sqlite3.extension_dir =
    2 {9 T& L! Y9 x, D/ t( D& l

  985. / |( l3 I0 u, R. I  x9 f, a
  986. [Pcre]
    # _5 B, x. q( t" W# I5 j; [; E
  987. ;PCRE library backtracking limit.' a; {; Y3 M4 R: h* }. C5 H
  988. ; http://php.net/pcre.backtrack-limit
    2 ?- k7 d- T/ @# v7 I
  989. ;pcre.backtrack_limit=100000: T' c9 Q) F9 ~* j) v$ U( R9 f
  990. 2 C; v5 z" q2 e
  991. ;PCRE library recursion limit.
    3 f0 ^# p4 v! S% N  d
  992. ;Please note that if you set this value to a high number you may consume all
    " w% ~2 R" `% W
  993. ;the available process stack and eventually crash PHP (due to reaching the
    % f( H0 Q# }3 D' H: T  T1 Q, I
  994. ;stack size limit imposed by the Operating System).& J  I  N* s: y5 |& o) s
  995. ; http://php.net/pcre.recursion-limit) k: M  P$ K0 y1 e% @
  996. ;pcre.recursion_limit=100000, i0 M3 b6 e9 A  M- C

  997. : l- n4 R2 Z) T, W$ m, j7 Y
  998. [Pdo]
    6 V2 b" n! t: i: |: V
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"' B5 K# _5 Y" G, D2 _
  1000. ; http://php.net/pdo-odbc.connection-pooling/ v+ O1 P0 j! j; R3 t3 `4 V
  1001. ;pdo_odbc.connection_pooling=strict7 P4 e/ N7 K3 S; ~% _; T5 m  t/ o$ v

  1002. 2 _8 @- m7 g- q2 ~0 l' _
  1003. ;pdo_odbc.db2_instance_name9 o( v& \8 @8 W

  1004. 2 x' P1 [1 y: A3 R# n' X4 s& a
  1005. [Pdo_mysql]
    2 n# w9 J, T' w9 r+ ]/ S) Q/ F8 ]& d% w
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache9 n! B  M& X4 z6 K& j- w$ c& x
  1007. ; http://php.net/pdo_mysql.cache_size
    , f, i" B& f. R- l0 m
  1008. pdo_mysql.cache_size = 2000
    6 T; K2 P9 N. M
  1009. 9 x- k. @$ P+ j, H& H
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    # K# g0 c4 t( U
  1011. ; MySQL defaults.
    * X* g0 I5 X: V8 Y0 Z( M! J
  1012. ; http://php.net/pdo_mysql.default-socket
    5 ?  E1 x6 H, c, U, a: F( M& P
  1013. pdo_mysql.default_socket=
    2 m! ^) x6 e/ @( E4 m# m) n
  1014. 9 s" H: H3 N7 X
  1015. [Phar]
    & d- `# N0 {0 G
  1016. ; http://php.net/phar.readonly% K. d6 ]( |# r7 L3 V$ f  t
  1017. ;phar.readonly = On! B3 `; B1 q5 g% E. A

  1018. 0 F+ `1 V7 a* K1 e/ G% |3 \' m* _
  1019. ; http://php.net/phar.require-hash
    ' [4 b* ]) U9 O7 }$ O1 K' e
  1020. ;phar.require_hash = On
    8 E& d" d5 Q# }

  1021. 7 n5 |4 d' F! U+ @! {
  1022. ;phar.cache_list =; N1 O; P' ~1 a. o

  1023. & z0 W: @% g/ B1 ~2 t
  1024. [mail function]+ T' H! R3 U9 U! A. c
  1025. ; For Win32 only.
    3 J, C: N# P' i1 z( y  L  {! w. U
  1026. ; http://php.net/smtp5 s: {/ P2 T, Q% C
  1027. SMTP = localhost
    % |; c* K3 S' W5 P5 X3 c
  1028. ; http://php.net/smtp-port
    0 _! u0 A" I+ ?! f  |! j
  1029. smtp_port = 25
    0 v  y9 g1 H, r' i2 ]

  1030.   _$ V* N+ c3 `6 T$ E( l
  1031. ; For Win32 only.9 i2 ]8 C1 A9 K7 z9 ~
  1032. ; http://php.net/sendmail-from2 Z9 F: j  c7 T0 r& e+ X8 h: W
  1033. ;sendmail_from = me@example.com
      X0 `1 _: o0 N9 \
  1034. ' u5 G0 {$ x( t: B, d5 y! M
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").% S% ^- Y7 k: F! |9 C3 |
  1036. ; http://php.net/sendmail-path8 \; B7 V2 T/ t! J
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    % O' X' B! s5 o( _6 n) G9 V! ?
  1038. ( q) s+ ]2 P$ w( y
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    . z8 h$ F' \5 K; K# E
  1040. ; to the sendmail binary. These parameters will always replace the value of0 H" n, C/ C0 i$ a, R( M, c. a% T
  1041. ; the 5th parameter to mail()." S: m# J3 @! I( B7 w+ g
  1042. ;mail.force_extra_parameters =; d& I& a0 L9 v/ W5 }' I

  1043. & P( S, B0 [9 I) H
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    & o5 o4 v1 ?8 C3 O$ s3 L
  1045. mail.add_x_header = On
    5 H  E# N0 {) b: {& ?
  1046. * B' @& d0 k  z0 e- \5 a
  1047. ; The path to a log file that will log all mail() calls. Log entries include  i! ^# B# l: V* Y( X! i0 x. x) x
  1048. ; the full path of the script, line number, To address and headers.$ F# E; ?, D+ W$ N! u
  1049. ;mail.log =" _0 b4 e1 h: U7 W8 ^
  1050. ; Log mail to syslog (Event Log on Windows)./ c+ U" x* A$ P9 W2 \
  1051. ;mail.log = syslog3 ^1 K/ F# g, q) Q" b6 K1 Z
  1052. ! B2 ~; z) i& P# Q; S) u  D7 O+ A
  1053. [SQL]# l: b. m9 m& X
  1054. ; http://php.net/sql.safe-mode% ~  a6 w0 h) L2 m! @/ `
  1055. sql.safe_mode = Off1 ?! p: J9 @2 o6 V7 U

  1056. : V9 l  N$ a$ a' O3 j+ y
  1057. [ODBC]
    ; T* s: P: d( |) X& ]# k
  1058. ; http://php.net/odbc.default-db+ U  c' G! v; z  n2 H
  1059. ;odbc.default_db    =  Not yet implemented
    . o% a4 n  }7 k& c8 A
  1060. ; g' u& S' u( B& y, E8 E( s8 D( j$ w  |
  1061. ; http://php.net/odbc.default-user
    ) ~; i: D4 N  A) Y4 W% V( x
  1062. ;odbc.default_user  =  Not yet implemented% @: f# O5 _9 W$ ?8 b. {4 @- E
  1063. 0 @1 w6 L% O$ s, s9 x+ ~) H
  1064. ; http://php.net/odbc.default-pw6 K4 _1 Q; R! K& G, p3 J- h
  1065. ;odbc.default_pw    =  Not yet implemented" w% s2 G1 u5 e8 l3 U+ i( J. C
  1066. 1 _* q# P' D) C& h1 l
  1067. ; Controls the ODBC cursor model.4 p. U7 K' i$ Z9 }2 o9 C& _* P
  1068. ; Default: SQL_CURSOR_STATIC (default).
    , r7 e# K3 v& i# [! a2 [
  1069. ;odbc.default_cursortype; U8 K& p% E% I

  1070. ) R5 `; e( h+ }4 M! t* s
  1071. ; Allow or prevent persistent links.
    " N5 f! a0 p9 `
  1072. ; http://php.net/odbc.allow-persistent+ ~+ c  N+ q, ^; q
  1073. odbc.allow_persistent = On* `- Z; A: i! u
  1074. % f5 Q" o" o6 T4 I
  1075. ; Check that a connection is still valid before reuse.$ D: V2 S+ L5 ?, R, r
  1076. ; http://php.net/odbc.check-persistent
    0 m  \% [. w0 M% N4 M3 d
  1077. odbc.check_persistent = On
    : Q, h$ G. I6 c% v

  1078. / L) e) p# E0 l% W  [, J+ t
  1079. ; Maximum number of persistent links.  -1 means no limit., G* A* r" {% ?* {6 c
  1080. ; http://php.net/odbc.max-persistent' k9 q/ k0 P0 F4 d$ ]
  1081. odbc.max_persistent = -17 c9 G' n  |& g! x( ~4 |0 R

  1082. # N1 B( x( W0 h) J5 p: I
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    1 P. H3 c) I' {$ t" J+ ~
  1084. ; http://php.net/odbc.max-links
    " M) G0 M! q# Z( s  b$ V# i  E2 C
  1085. odbc.max_links = -1+ D3 S+ `$ j8 s% H" [- s- o$ Q  k( K6 C; L

  1086. ( C+ `% ~' c! ~3 P1 r$ T- a
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means' F/ u. h& H* M! W! {; E, q* m- H1 y( H
  1088. ; passthru.7 R  s/ g% U7 w, t  F# Y8 |
  1089. ; http://php.net/odbc.defaultlrl0 n2 N: k+ ^0 i% Q- [9 w" a$ V
  1090. odbc.defaultlrl = 4096
    ; F2 j9 o2 ~& @7 z* ^) p
  1091. 9 h- _" J0 X( d2 ~% o2 J1 E
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.6 D: v( m- \; ^5 D8 C
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation- `5 W# B* \, K- \6 l
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    - j. N8 Z. h) S
  1095. ; http://php.net/odbc.defaultbinmode' I; U8 r; i' _# D7 v8 m
  1096. odbc.defaultbinmode = 1
    ! c; y9 r) O/ i4 D. U
  1097. + _6 G! v" n+ ]8 y/ M, ~: C
  1098. ;birdstep.max_links = -10 E3 M6 E1 W, F9 `7 ?* v! u$ }
  1099. 0 R+ `. M2 S# |, h! _9 }, ?
  1100. [Interbase]! k! O* d% H( T1 R0 [- l/ I: ~
  1101. ; Allow or prevent persistent links.
    . k$ A6 N2 }  S% r8 B( ~. u
  1102. ibase.allow_persistent = 1  E3 \& z% r+ _0 s' p
  1103. 4 D" u$ q1 A% E. o# C
  1104. ; Maximum number of persistent links.  -1 means no limit.
    : }+ O1 Y9 n- u
  1105. ibase.max_persistent = -19 T% F1 c" Q4 v1 v+ Q$ |" I

  1106. 5 `7 ]( V2 S; t' G
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    # C% S2 A6 r# C
  1108. ibase.max_links = -1* F  a9 i6 p2 \6 h+ ^9 A
  1109. 3 ^$ {- f+ h# }# @; l$ ?* s
  1110. ; Default database name for ibase_connect().3 I2 ?4 R% q& J; c8 A
  1111. ;ibase.default_db =
    # y0 h7 m; }4 D/ W7 O

  1112. 1 y" l4 D/ A0 z* h. X% P! }4 ]1 ?
  1113. ; Default username for ibase_connect().
    5 I* {0 P3 Z( e9 P" }
  1114. ;ibase.default_user =
    ! K4 q# @3 K3 s2 {  O* q
  1115. ( d. }7 [. K% N4 I
  1116. ; Default password for ibase_connect().; {' E: A) I. ^
  1117. ;ibase.default_password =
    4 p4 |+ f! y1 x

  1118. ! B; z$ R9 o5 s" S  ~" E
  1119. ; Default charset for ibase_connect().
    " d% q$ z1 E  i, V( ^) }2 |1 O
  1120. ;ibase.default_charset =
    , p, h& R8 f& f9 h

  1121. 9 E( t) l  E; ~! l7 u
  1122. ; Default timestamp format.0 V2 Z: d7 x4 {% J; K
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"/ Z  U# m+ w1 H* g& F$ S1 O$ z

  1124. & G7 u0 l9 z3 `
  1125. ; Default date format.
    7 T/ z8 B' r! g1 J
  1126. ibase.dateformat = "%Y-%m-%d"" H% v9 f  a4 ^3 H6 b7 ]% q
  1127. % y. ?) b" Z5 ?# z6 l' \% d+ y* k
  1128. ; Default time format.
    0 A( b5 g+ I4 B4 N1 u5 }0 ^1 g
  1129. ibase.timeformat = "%H:%M:%S"5 z; a' u, J* Y% C, _( }$ h& |! ?

  1130. ( T: t5 B3 a2 [3 X3 t4 q2 y
  1131. [MySQL]
    & j+ p& B! r0 z4 z6 L0 ?6 |
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    , `, c# m2 E5 R1 o9 h
  1133. ; http://php.net/mysql.allow_local_infile+ |/ h- D- C$ n; Q5 X' @1 }/ d
  1134. mysql.allow_local_infile = On# S% I: O" F$ b. V% j

  1135. ' p( V# P- L/ L0 n9 X
  1136. ; Allow or prevent persistent links.1 w) L( ^3 h% \  x5 `
  1137. ; http://php.net/mysql.allow-persistent
    " p" d% H) D7 E6 o
  1138. mysql.allow_persistent = On- t& [$ _" S" C( m

  1139. 9 z. c! j+ @6 J  Q- {
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    1 ^6 p: V- g- V) w- a' J5 F
  1141. ; http://php.net/mysql.cache_size
    / h) ^. G9 H& b( P1 I, v8 h/ x
  1142. mysql.cache_size = 2000- }; L4 F# \! |2 m' \9 e: U

  1143. 9 e7 E1 u/ _8 ]; X
  1144. ; Maximum number of persistent links.  -1 means no limit.. ?8 z$ j) @, Q* q0 Y
  1145. ; http://php.net/mysql.max-persistent/ K# [! p5 J) {3 f; p
  1146. mysql.max_persistent = -1
    8 M2 h' N3 j' A$ N  l

  1147. + m, |4 Y& r. k+ b
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    . W; S- `  E1 t- E2 A! ?2 r
  1149. ; http://php.net/mysql.max-links1 ^% n" u& G. ]* I1 i- L
  1150. mysql.max_links = -1  L$ C/ A) _" ^/ g8 `' }
  1151. 5 Y- y6 K* K( M; P( w( R% n
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    3 O  T1 g8 E7 g
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the$ `* N0 v6 H5 b! b2 a
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look: l/ p! y1 G$ z
  1155. ; at MYSQL_PORT.% A/ E, ?+ X/ _0 {
  1156. ; http://php.net/mysql.default-port$ z5 e# @4 r7 U& z3 v3 g: H
  1157. mysql.default_port =
    % C( p5 y4 m1 q) a! A
  1158. 3 I8 E& o0 [- e1 i  H3 F/ Q
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in2 ~+ G+ T% K& r' Z& M: T/ M
  1160. ; MySQL defaults.  o/ \6 S1 w; w! G7 f" l# v5 _  l: I
  1161. ; http://php.net/mysql.default-socket7 e2 [) F5 @4 i9 z+ P
  1162. mysql.default_socket =1 B- K( C, V$ B0 e$ E+ D, y
  1163. # _2 _- V* c- U6 H) E9 v
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    & _2 w4 [4 `7 u/ [% O. t& S9 p
  1165. ; http://php.net/mysql.default-host6 l- p- p8 \, T$ E) N8 H( g# p
  1166. mysql.default_host =
    9 ~* h9 M' N; @7 V+ P

  1167. 1 d8 c8 a% b0 b, u3 ]( H* I
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).; B3 d$ K! O+ m8 k2 O; h# c. I
  1169. ; http://php.net/mysql.default-user8 D4 Q' }, X' L4 D0 I$ G- ~
  1170. mysql.default_user =
    % Q. z" z* W: C$ O/ k

  1171. ' D8 g2 r  c' \7 t: @2 H
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).0 H& x  t" k( b4 I1 i8 ?0 ^7 Q
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.( x* Q4 W0 l+ H5 M
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    ) N  b' C2 J: R" P7 p  o; G
  1175. ; and reveal this password!  And of course, any users with read access to this! F% s0 ?% z+ N+ o4 G
  1176. ; file will be able to reveal the password as well.8 d$ i+ T0 r; F6 j% X5 N* |
  1177. ; http://php.net/mysql.default-password
    : C8 x# E3 [- I6 `1 c1 I. q9 ]
  1178. mysql.default_password =3 \% ]$ e) m; d6 y5 J
  1179. 6 p' d! U, {, T  v1 B& Q8 g6 S
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    ) {: q, c# j: m! A) I* c
  1181. ; http://php.net/mysql.connect-timeout
    ) H# L, k" [0 g. ]0 [, y5 B
  1182. mysql.connect_timeout = 60
    ' c7 @+ G7 h0 b3 a0 }4 O. d
  1183. & [) X2 ?& n' r1 J
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and) g  d8 W- B0 H7 U$ o
  1185. ; SQL-Errors will be displayed.
    ) {2 G/ u1 ]* ~% `# O9 i; u
  1186. ; http://php.net/mysql.trace-mode0 z- q1 p; H/ k: P( m3 S0 G
  1187. mysql.trace_mode = Off( I6 M4 L8 P8 l

  1188. # X4 [5 k+ V$ Q' |0 z, |8 e
  1189. [MySQLi]
    ' ]* m+ L8 o) b/ a

  1190. * }+ t/ g: I! s( k: v, [9 H
  1191. ; Maximum number of persistent links.  -1 means no limit.$ O! S7 H( f4 |3 @1 T
  1192. ; http://php.net/mysqli.max-persistent2 y% X7 S  i- q- v1 A0 d0 d. N
  1193. mysqli.max_persistent = -1
    - c5 i- D2 [- O: _) s; f

  1194. $ V. h$ e4 n' U: W3 q  c3 y
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    - T& a# H  [  x- n4 `) d( g
  1196. ; http://php.net/mysqli.allow_local_infile& v! g; ~( K7 U
  1197. ;mysqli.allow_local_infile = On. Z; c& Z2 {+ J2 t. ^7 X

  1198. , @. V7 H4 t9 p8 S' u
  1199. ; Allow or prevent persistent links.  l" Z1 L' w/ I) a. F, c  h2 B/ R
  1200. ; http://php.net/mysqli.allow-persistent) N# ^0 |7 _$ ?0 v1 X
  1201. mysqli.allow_persistent = On1 c0 z( T6 r2 Y  u' f

  1202. : b! i  P: e8 }& B
  1203. ; Maximum number of links.  -1 means no limit.
    : ]8 g( U8 q8 ]) O2 e
  1204. ; http://php.net/mysqli.max-links
    ) C( \2 D- z. v1 b6 t  }3 a
  1205. mysqli.max_links = -1
    " r6 S0 D8 V5 ~1 E
  1206. 9 G$ T$ V$ d- H( E; w* p
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
      T/ ?' f$ \, o4 c
  1208. ; http://php.net/mysqli.cache_size' }6 [( l8 v3 f
  1209. mysqli.cache_size = 2000' H0 C4 n" X# s6 E/ ~, F% x' D9 |' I! ?

  1210. # d3 c" e7 x3 N
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use6 F3 B4 M. y8 [5 X
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the. m8 F$ W6 @8 t: c2 w
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ' x0 Z  f7 I2 |2 ~& J# D4 `
  1214. ; at MYSQL_PORT.
    0 S: E. Z6 A0 C+ K( g( [% N3 U; p
  1215. ; http://php.net/mysqli.default-port7 _4 P$ p. d8 c1 r7 U+ R5 s- ?
  1216. mysqli.default_port = 3306. T/ [- z2 ?9 r. h0 N" y& j

  1217. ! m2 s; p' ^4 _; A& u+ S
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in0 h6 I, J8 x; }3 r  N' U
  1219. ; MySQL defaults.: T( T; g* |( \) s5 t
  1220. ; http://php.net/mysqli.default-socket
    : Q+ ?) Z# A1 p5 b; Y& @
  1221. mysqli.default_socket =( u0 e1 `# g4 M0 g8 q  Y& B  b

  1222. * b/ @9 R* z7 y# G0 _' t4 V* r
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).0 {/ n; ?5 k. D0 D
  1224. ; http://php.net/mysqli.default-host
    ! Q9 L1 `1 r( w) ^
  1225. mysqli.default_host =
    5 Q. B& R% Y9 B5 }! Q3 f* w4 o& E! j

  1226.   w8 Z8 F' E* t' v) m: m
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).( p; a5 j- `; y' Q! v1 K! `. }: c1 G
  1228. ; http://php.net/mysqli.default-user  A6 B% f0 d# r( T9 U0 U
  1229. mysqli.default_user =
    ( F9 J+ ]0 M1 F' R
  1230. 3 r- t6 Q4 I/ X* u" v; z8 e5 e
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).6 U5 h6 d& }5 K! Z2 b
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    : }% y1 b0 R) G( X; Y5 J0 h- G
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")+ n. ]# Y0 H8 D! P: @- d! J9 ^
  1234. ; and reveal this password!  And of course, any users with read access to this! y- ]1 I% {  y. g) _
  1235. ; file will be able to reveal the password as well.
    % Q( d$ h" h3 @/ i$ G  I( o1 k
  1236. ; http://php.net/mysqli.default-pw+ E+ t# h# ^" T$ Y0 y4 F
  1237. mysqli.default_pw =
    ! n$ P, S2 I3 w

  1238. ( v' C% w, [! Q  w) g% t$ S& k
  1239. ; Allow or prevent reconnect
    $ e9 d: I6 T: O. \" B  A
  1240. mysqli.reconnect = Off
    0 Y1 p) M. L! i. g
  1241.   s! w& Y2 @  y2 \; b  D5 Q/ _
  1242. [mysqlnd]
    * l. e$ p! I( w( ?' d1 e; q! `2 B' N$ C
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be! h* K# u; S4 U
  1244. ; used to tune and monitor MySQL operations.
      j, k' L1 a8 P' k1 P+ c" c
  1245. ; http://php.net/mysqlnd.collect_statistics- K4 u9 p+ ^/ `
  1246. mysqlnd.collect_statistics = On" V- Z# Y3 S7 q4 }+ L6 B
  1247. % ]+ K" w; ?3 W1 D) p
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be3 u) l" s! i$ N: \; m5 h+ }# o# ]
  1249. ; used to tune and monitor MySQL operations.
    ; R4 v! d! N- k1 A( D6 l# h8 \' L
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    + W' H# K' X; K6 N( L4 z. Q
  1251. mysqlnd.collect_memory_statistics = Off+ s* Y" m0 b4 c" C: b

  1252. ! I' b0 F/ B$ ?: s
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    % K/ ~- H+ ~/ F! H
  1254. ; file.- K5 W; \5 l) l  D
  1255. ; http://php.net/mysqlnd.debug) L% r/ ?( ]% c& Z
  1256. ;mysqlnd.debug =
    ( }7 y" E, Z3 T4 p# _& X

  1257. ) @. n" o+ M) l! J- L3 F; a
  1258. ; Defines which queries will be logged., C9 p% l: V0 J4 Y# n
  1259. ; http://php.net/mysqlnd.log_mask' \; {/ F( M* {4 I7 g; p0 l* a
  1260. ;mysqlnd.log_mask = 0
    5 J9 r8 o" o5 m% `7 n* {
  1261. , K" k4 X  i( Z3 g6 A& `" w
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    8 z9 h# ]* L0 T$ _0 P4 c
  1263. ; http://php.net/mysqlnd.mempool_default_size( _# K- I8 Q) k; ^# e
  1264. ;mysqlnd.mempool_default_size = 16000
    ( x+ ^; P  [0 U/ s

  1265. 1 {, `! z* ~& h: m) |" h
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.) D0 ]; O: a# h: F  @
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size* A- Z+ }  T+ N  ?! g2 N9 G4 i, u
  1268. ;mysqlnd.net_cmd_buffer_size = 2048* o) n# ~. X! w! h$ O, M3 l
  1269. ; @6 p. V: E/ |/ F
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in3 |6 F- |% E) `" R1 ~1 ^% P- T
  1271. ; bytes.
    ! Q$ V+ \7 ]8 A# M% r$ S" h/ |. |
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    : s7 `0 g; l/ d; [
  1273. ;mysqlnd.net_read_buffer_size = 327685 A$ n1 h0 w9 ?/ c5 r

  1274. + V  F" z6 t9 W5 h- B7 k. T5 {
  1275. ; Timeout for network requests in seconds.3 r8 j8 L( r0 B4 \1 }
  1276. ; http://php.net/mysqlnd.net_read_timeout/ C' P3 t5 F" ]7 h6 r) s4 \& R
  1277. ;mysqlnd.net_read_timeout = 31536000% g8 o8 C/ [1 m& X( l
  1278. 1 D; L0 a4 Z  S2 J
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    + I0 z8 U, R5 a
  1280. ; key.
    , |' [9 j; z/ J
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    $ z  q# o7 j, X  _- o# e* C) F
  1282. ;mysqlnd.sha256_server_public_key =# h) [1 y; r4 y% A. I- t' K7 L
  1283. , [$ K# ^7 l4 b' r# U& o
  1284. [OCI8]; ]5 q2 K) |* R7 B4 g% o

  1285. 0 A* n7 I2 O' I4 k6 b
  1286. ; Connection: Enables privileged connections using external
    - @8 ?* f8 r% G
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    - \9 C! Z6 M% \+ d
  1288. ; http://php.net/oci8.privileged-connect. I2 u9 w( \6 G$ ~% G) m  j- u
  1289. ;oci8.privileged_connect = Off- ?0 D. g$ s' o9 @" ^8 {) h2 Q5 H; f

  1290. ) E; _6 s+ a  \
  1291. ; Connection: The maximum number of persistent OCI8 connections per5 d; _3 Y6 e7 ]" ?
  1292. ; process. Using -1 means no limit.
    - o& {3 e. q. o, O; {3 |; F9 {/ `" P# o
  1293. ; http://php.net/oci8.max-persistent
    ( W2 K- R& F; M4 {. M
  1294. ;oci8.max_persistent = -1  r: l/ X4 t* A5 }
  1295. 1 G+ B+ ]" k2 P2 J% H' F/ r
  1296. ; Connection: The maximum number of seconds a process is allowed to& S2 L1 K2 Z+ H: \) g  k; w
  1297. ; maintain an idle persistent connection. Using -1 means idle
    6 ?  V; c7 E9 _" n. y* k- C& I5 x. K
  1298. ; persistent connections will be maintained forever.% t9 O& E3 u% T4 b$ L4 L2 K# i
  1299. ; http://php.net/oci8.persistent-timeout
    , ?! I* i% d# }. |
  1300. ;oci8.persistent_timeout = -1
    ( b. _7 W* a, m" [/ H8 D6 F
  1301. 9 ?! j) L* c/ Q" \9 ~6 D2 o  v
  1302. ; Connection: The number of seconds that must pass before issuing a/ L3 I: |& D. `- ^# S9 N
  1303. ; ping during oci_pconnect() to check the connection validity. When
    # ~* E, V0 v& r: I. z5 Z
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    3 p; N9 t8 e  F. E$ T
  1305. ; pings completely.
    3 q/ |( P" ], t) y
  1306. ; http://php.net/oci8.ping-interval$ q: c, _# z# s5 a
  1307. ;oci8.ping_interval = 60% H4 i8 h1 Y4 X% P6 M) a, ^2 J

  1308. $ {5 F# _6 T5 }8 p
  1309. ; Connection: Set this to a user chosen connection class to be used% B! V" p! A5 ]4 F3 c8 ?
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    : h+ i. p/ L# d6 H9 H3 q. _
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    6 i/ o0 n: U1 k& ?& N& c4 H6 w
  1312. ; the same string for all web servers running the same application,
    , p9 t8 t1 r& k8 f. p
  1313. ; the database pool must be configured, and the connection string must
    2 U9 L* U. {4 }" D' ~
  1314. ; specify to use a pooled server.% ^9 i9 G% O2 a: B. U
  1315. ;oci8.connection_class =! e8 t7 K& R( x  S, T- G  o+ u+ B, `
  1316. . m: V& t( d/ b+ O, t) V# g! s
  1317. ; High Availability: Using On lets PHP receive Fast Application- f7 ~" R) M4 S
  1318. ; Notification (FAN) events generated when a database node fails. The
      q2 [' ?# u  I  {( f, N: J) ?/ t
  1319. ; database must also be configured to post FAN events.% I" ~- P$ m) [+ d
  1320. ;oci8.events = Off! h! G' j8 O: j
  1321. 8 [; o6 b7 u5 w, Q; b* W+ }2 Y
  1322. ; Tuning: This option enables statement caching, and specifies how
    * l/ G4 B# }" u
  1323. ; many statements to cache. Using 0 disables statement caching.( a& U8 j- ?0 t& }( V
  1324. ; http://php.net/oci8.statement-cache-size3 P/ @9 W' q0 @: P; V. z
  1325. ;oci8.statement_cache_size = 20
    6 g% X( P0 X$ d* h; m& M: l
  1326. ( {  y' h* q0 T( i& Q
  1327. ; Tuning: Enables statement prefetching and sets the default number of# P; t1 E9 l! L2 J* a
  1328. ; rows that will be fetched automatically after statement execution.6 x' F* O( U  @
  1329. ; http://php.net/oci8.default-prefetch+ _$ p# w/ c2 b) w4 d3 j: g
  1330. ;oci8.default_prefetch = 100
    ) r5 [5 Z8 E. O0 U/ {% s: M
  1331. 4 k# c$ @& U; G# y7 Y6 q) P
  1332. ; Compatibility. Using On means oci_close() will not close( h+ o8 k# Z9 p2 e  q
  1333. ; oci_connect() and oci_new_connect() connections.  P4 Z* R% b# g" ~: \7 d$ T
  1334. ; http://php.net/oci8.old-oci-close-semantics
    6 g+ p' A. e! t$ Q& `
  1335. ;oci8.old_oci_close_semantics = Off" A2 F" R; F6 n! F; ~& j

  1336. 0 O' A: V5 T9 P
  1337. [PostgreSQL]
    4 P0 ~5 T$ y0 p& \, g5 I# u
  1338. ; Allow or prevent persistent links.) r  {1 V, Y5 `; v; }* C, p0 Y# J
  1339. ; http://php.net/pgsql.allow-persistent
    ) `, o! q! Z5 |
  1340. pgsql.allow_persistent = On
    ( @$ i$ |; l6 {- i& n
  1341. 3 R# A2 K1 i5 Y- ~
  1342. ; Detect broken persistent links always with pg_pconnect().5 B3 Y+ B5 r  `. D! V. h3 R2 s% G5 T
  1343. ; Auto reset feature requires a little overheads.
    4 p( I2 E  y6 ~: {6 T
  1344. ; http://php.net/pgsql.auto-reset-persistent
    ( A; T$ ]/ g5 q/ g& T3 ?: [1 ]
  1345. pgsql.auto_reset_persistent = Off
    . S  [" q  P: D! [# u6 |2 D

  1346. ; R3 ~2 Z' L! D  L; z
  1347. ; Maximum number of persistent links.  -1 means no limit.
    ) x" J0 H6 ^+ ~
  1348. ; http://php.net/pgsql.max-persistent
    3 R0 Q+ P( G$ z# b5 T; M
  1349. pgsql.max_persistent = -1
    , f6 D# F! t  [  w2 g& f

  1350. : A$ h! I: Y! G; a5 R
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    + p( N! p5 c7 A6 j! T
  1352. ; http://php.net/pgsql.max-links8 B4 k: y1 g8 X% w
  1353. pgsql.max_links = -1: E) Y) S4 v& u' M0 |
  1354. + \) t# s" V- _, b& f
  1355. ; Ignore PostgreSQL backends Notice message or not.9 j' N! Y' n! J( |
  1356. ; Notice message logging require a little overheads.
    8 h/ p0 p2 ~  p2 }, d7 b% o
  1357. ; http://php.net/pgsql.ignore-notice7 Q% L5 r  a! U
  1358. pgsql.ignore_notice = 0: ~$ G+ ?9 m+ a; `3 I7 ?
  1359. 0 C6 o' Y! Y4 e% p- b
  1360. ; Log PostgreSQL backends Notice message or not.9 ?3 ~% z1 A( F: D) b3 [" D* P5 T
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    $ B% |- u3 V( g9 f8 N& H$ n
  1362. ; http://php.net/pgsql.log-notice
    5 q- G1 B( V2 J1 R
  1363. pgsql.log_notice = 0
    ; p2 m. [5 l. }/ g4 m5 s* {
  1364. $ l* ^: w4 [  T- P
  1365. [Sybase-CT]
    ) N2 m- C9 o5 \. F' a. R/ i
  1366. ; Allow or prevent persistent links.
    & T3 E( [6 b" T4 {$ k
  1367. ; http://php.net/sybct.allow-persistent# \/ q- c2 v( U6 r+ d
  1368. sybct.allow_persistent = On; m& N  m0 ~) \3 D

  1369. & R5 D* k# m% i, G6 q2 n
  1370. ; Maximum number of persistent links.  -1 means no limit.4 f# T7 q0 ?) f% u
  1371. ; http://php.net/sybct.max-persistent
    6 e" ^1 d  u% I" G2 `
  1372. sybct.max_persistent = -1" b  W/ b& p( ^8 w! Z
  1373. ' _0 Z5 e, _$ j% ]4 E
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: n! _5 _& U% P7 |. Q/ ], O8 ]! c
  1375. ; http://php.net/sybct.max-links
    , P' F) _8 P( }) j0 h
  1376. sybct.max_links = -1
    ) A' T6 R" V% u; g5 k3 I2 h; d* N* y
  1377. ) I1 J( `, J3 A/ @6 d1 U
  1378. ; Minimum server message severity to display.8 T3 R' \& t, D) W( N2 x. M
  1379. ; http://php.net/sybct.min-server-severity' C3 J  S8 r3 D2 r1 {- y- e
  1380. sybct.min_server_severity = 10
    8 Q: ^8 n4 y. L) t+ T3 V3 [2 o
  1381. * ~% O( x/ f7 S; t
  1382. ; Minimum client message severity to display.9 g5 f0 J2 C7 f3 F6 e- j# s9 H
  1383. ; http://php.net/sybct.min-client-severity* N1 N" j3 `+ W- T9 U
  1384. sybct.min_client_severity = 10
    ! S/ }0 l" ?4 |# E8 R1 }. e2 \( r
  1385. & Y/ i2 ^/ R9 C% s5 V* f. D
  1386. ; Set per-context timeout" A/ `+ |$ M" G5 [# A
  1387. ; http://php.net/sybct.timeout
    , J3 X' H2 g, X! ?9 m6 g3 u( t
  1388. ;sybct.timeout=( o  l; S# g. t

  1389. # |. _4 D  [; S8 F- A, _
  1390. ;sybct.packet_size
    2 h+ o/ W) y- j8 f6 _5 ]9 T
  1391. 4 S! t# o( z8 _: E; `: m+ j$ O
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    # _: `/ d  z/ X. ^
  1393. ; Default: one minute$ [9 \4 Q; q( [# L
  1394. ;sybct.login_timeout=
    & k2 |# I. W+ q. r

  1395. + w# ~' v/ F/ I' U+ W+ {
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.8 J5 ?; v" ]9 U% I1 Z. C7 k# z
  1397. ; Default: none6 x* a; {$ q/ s: R) t4 i1 f
  1398. ;sybct.hostname=$ W' V& r( }7 m& b- h3 a  b! O8 O
  1399. 2 i  u% p6 y: N8 J( x
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever"." Z3 C0 \( }( n9 N7 L3 Q" B
  1401. ; Default: 0
    9 T* A) i5 @; @4 R1 Q
  1402. ;sybct.deadlock_retry_count=
    ( V) J& i+ L; g+ B- r
  1403. * Y# M3 `& P+ q3 X- t
  1404. [bcmath]9 v4 w0 P5 q) v, P' H% P: d" ?
  1405. ; Number of decimal digits for all bcmath functions.
    . v7 b1 S2 J) {% N
  1406. ; http://php.net/bcmath.scale9 ]/ p$ @. Z( h$ r) _5 d, R
  1407. bcmath.scale = 0
    8 j1 p! |5 A5 L
  1408. + R8 E# u* Y) B' i% X
  1409. [browscap]3 Q! ^$ [; W+ S1 I: p0 X+ e
  1410. ; http://php.net/browscap; S2 v+ p' M3 y- m. j  L
  1411. ;browscap = extra/browscap.ini. C4 ~& s8 M( |! o1 T4 j5 M* O, j+ b
  1412. 2 s6 H0 [7 u4 k1 z5 Z/ w
  1413. [Session]
    # t% J# f4 x3 @% }
  1414. ; Handler used to store/retrieve data.
    4 g# r0 i# B3 y) u# `/ a
  1415. ; http://php.net/session.save-handler
    6 ?! Z2 k+ h9 o, u
  1416. session.save_handler = files7 C0 ^8 a& a3 [9 q% P$ {
  1417. " Y3 @7 u1 i3 M& y/ e
  1418. ; Argument passed to save_handler.  In the case of files, this is the path5 [2 S0 Y- R3 p8 h9 @
  1419. ; where data files are stored. Note: Windows users have to change this
    . f+ \8 |( @: f1 V
  1420. ; variable in order to use PHP's session functions.. `; S. E7 s; Y5 {3 [1 s, M  }4 S
  1421. ;
    $ E- L  ?8 B& K# }
  1422. ; The path can be defined as:
    % X2 ?1 j( H- O! F, {9 D. f9 @1 Z
  1423. ;6 H& u6 l% G) H
  1424. ;     session.save_path = "N;/path"
    . m  Y. S: ^7 Z/ c
  1425. ;( v& i7 u+ o" K% S  x
  1426. ; where N is an integer.  Instead of storing all the session files in
    6 \. M! E+ ]1 I" O- }! |+ Y: m
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    7 B. a2 E+ [6 I- n+ L0 p
  1428. ; store the session data in those directories.  This is useful if. \; @1 \& l7 A" B/ ^. [2 \
  1429. ; your OS has problems with many files in one directory, and is
    . W) L* V8 Q9 j$ L8 E
  1430. ; a more efficient layout for servers that handle many sessions.3 q$ j8 [) b& s' U3 Y! n
  1431. ;7 W4 ]5 V6 h1 Q8 J% C
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    : b: B& a- ?  S2 ^, P
  1433. ;         You can use the script in the ext/session dir for that purpose.% B2 A- L# h+ L# y0 X
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    - [, a5 V; I9 C, }
  1435. ;         use subdirectories for session storage" o$ a$ n3 Z, y
  1436. ;
    ( R, ]$ J5 T' d4 Q3 m9 x1 i: p. W
  1437. ; The file storage module creates files using mode 600 by default.* J) T+ R2 m: L1 ^/ ~
  1438. ; You can change that by using2 N% i) {+ [, N/ u+ Z  {1 f
  1439. ;1 [' G: q- q. A' f- V& y1 }7 h
  1440. ;     session.save_path = "N;MODE;/path"5 d& F1 l6 L% w( |
  1441. ;7 u' f' C8 Q* d" }$ W) e
  1442. ; where MODE is the octal representation of the mode. Note that this
    $ o' t! g0 k& U7 B: g6 K$ B7 j' S
  1443. ; does not overwrite the process's umask.
    " S, H5 L7 j9 r" Z& G% m
  1444. ; http://php.net/session.save-path* r& \" I" U* `* |4 P6 }
  1445. ;session.save_path = "/tmp"6 x: b& h2 l. W) f
  1446. 6 y: v% ]# b$ ~0 Q; \
  1447. ; Whether to use strict session mode.
    + j, m$ l4 ~: U+ Q/ O
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate8 k0 X" ^5 I5 h
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects' L3 c3 p; t) H5 u$ e  D& t
  1450. ; applications from session fixation via session adoption vulnerability. It is  d+ b( N4 n; L0 u0 ^" G" E
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    3 y; }; ~7 L2 t$ t
  1452. ; https://wiki.php.net/rfc/strict_sessions
    + C% q- H/ W$ B) p8 U$ d- \
  1453. session.use_strict_mode = 0
    7 W3 ~3 P3 X2 U( s" {4 N1 `
  1454. 4 ~) b* {" c9 K  O2 h
  1455. ; Whether to use cookies.
    4 K1 H6 }2 \! c; w* |
  1456. ; http://php.net/session.use-cookies
    - M+ G" O& t- q, N
  1457. session.use_cookies = 1
    . B6 O4 j! [4 u+ s/ l& @

  1458. 5 k  G* j8 B' `/ t! h( X- u* P
  1459. ; http://php.net/session.cookie-secure' C0 L' u. c7 d# ~; _
  1460. ;session.cookie_secure =
    ; |' x3 Z- Y8 S; i1 A9 Y
  1461. 0 ^$ o: h7 E! k8 |
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ' j; w7 M5 M8 ]( {8 ]( w
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    % G& u" h+ E; z$ Y1 [8 P) U
  1464. ; session hijacking when not specifying and managing your own session id. It is
    & {  t0 l" ^% g4 M% E
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    2 P0 F& N# o: H* M3 f+ b
  1466. ; http://php.net/session.use-only-cookies/ K0 F3 L. W( \: q
  1467. session.use_only_cookies = 1
    $ i7 J' h8 R, `8 D

  1468. 3 t% S7 C8 ]: G
  1469. ; Name of the session (used as cookie name).0 \6 v( y$ D; a
  1470. ; http://php.net/session.name
    * |% j4 J, v$ i
  1471. session.name = PHPSESSID
    1 k/ z5 E$ P, V, ?/ J3 U* N+ i
  1472. ; f7 d8 L6 ?+ p6 W/ \
  1473. ; Initialize session on request startup.
    * l9 x) F2 f2 D% t+ Q% g
  1474. ; http://php.net/session.auto-start9 ?4 B# i1 A9 W% t' g
  1475. session.auto_start = 0
    $ h# c' j" j! X3 @7 u

  1476. / d7 Q0 H& l8 I$ y$ l( V
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ' P* v& X- A* u" z
  1478. ; http://php.net/session.cookie-lifetime( p. [/ z: L. t  M2 P  ~% q) b1 h
  1479. session.cookie_lifetime = 0
    & k! M4 N# N5 ?
  1480. , i5 B3 E2 R8 [/ [, \6 |! C1 a& E+ W
  1481. ; The path for which the cookie is valid.% T/ V5 d9 i" v+ V; a" [
  1482. ; http://php.net/session.cookie-path# x+ V" `, d* f+ e
  1483. session.cookie_path = /2 z! d& B* f  y( a, U5 T
  1484. " S- R/ }6 J% z- \" |- A1 H
  1485. ; The domain for which the cookie is valid.% c% U! t7 U, z) P
  1486. ; http://php.net/session.cookie-domain) J5 _, V8 w  \# F  ~6 Q7 b
  1487. session.cookie_domain =! }5 p/ k2 u$ M( X, _2 ^

  1488. 4 A: m( ~2 O' }" o1 }( F: e# Q: ~
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript., I" f/ N7 s* _4 g6 h
  1490. ; http://php.net/session.cookie-httponly6 g! W) E3 J% g! O! ]8 V9 o! [
  1491. session.cookie_httponly =
    ' U4 Z+ M4 M5 ?  B" ]: q* r1 l% U

  1492. + ~3 D4 `0 ]" U( Z- O+ a
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    * H, z- x' ?# N4 @
  1494. ; http://php.net/session.serialize-handler: A1 u) l& d" ]: m
  1495. session.serialize_handler = php% X- i1 _; t( Q; U

  1496. , K6 J9 ^+ x) @8 u5 ^
  1497. ; Defines the probability that the 'garbage collection' process is started  h4 {: Q/ r* }2 b5 e4 ]0 j) V
  1498. ; on every session initialization. The probability is calculated by using) ~) |0 C% S; h# [6 w: y$ a( ^' @% X
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    . y# G- T4 o, b3 o1 ~0 r, M
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 14 K& e3 p# K5 c2 ^; `
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    $ ^: T- M7 ?" O) }  G
  1502. ; the gc will run on any give request.
    ) Z, R! h1 a1 i3 `. ~1 l0 h' p
  1503. ; Default Value: 1
    * R% \# X) R; v: c& a3 c0 T% Z
  1504. ; Development Value: 1* X$ O6 z! E4 a
  1505. ; Production Value: 14 g5 w6 k+ N2 o) V
  1506. ; http://php.net/session.gc-probability5 }9 c7 x1 y8 K. H( {' X& ?
  1507. session.gc_probability = 1. a4 m. C! J, q3 w  }
  1508. " d* R" [  R4 K, _4 z
  1509. ; Defines the probability that the 'garbage collection' process is started on every5 v' s* C: ~  c( K+ s2 Q
  1510. ; session initialization. The probability is calculated by using the following equation:1 e, @  F, \) F- u& e( R
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and4 Y& k5 i+ Q9 n
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 15 x' q2 m# \4 D5 p
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance+ j6 F5 ~2 w0 \) j1 u" N" J+ w
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ' D6 x/ f- E6 V. ]
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,5 E9 d. h, Y% ^
  1516. ; this is a more efficient approach.7 }5 ~9 W: g% U3 v+ A, f& Y
  1517. ; Default Value: 100
    ! b3 y* L9 s' C# W1 b+ }+ P( W
  1518. ; Development Value: 10009 Y' R, I1 m( M
  1519. ; Production Value: 10004 K8 d, {( ~0 ]" T* ]
  1520. ; http://php.net/session.gc-divisor2 A6 T, e4 w: z) a
  1521. session.gc_divisor = 1000
    1 ?# |, I6 {, U1 V+ t5 `

  1522. 9 g( U" r" Y: c" ^9 D
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    % f8 v, v( F2 {, T! a* B
  1524. ; cleaned up by the garbage collection process.
    % k% w  {/ n; f, N1 D7 C
  1525. ; http://php.net/session.gc-maxlifetime6 G* ]6 F; Q9 V& f
  1526. session.gc_maxlifetime = 1440
    $ c3 I% m1 p' w" S) m2 S

  1527. ) P2 K- B/ b7 w! S; ^; b% v0 k
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    / C: B& a; g( j' r4 A9 g) q
  1529. ;       (see session.save_path above), then garbage collection does *not*% [; E+ ?& i- u
  1530. ;       happen automatically.  You will need to do your own garbage
    6 a$ y5 y, r1 D; ]- z; S2 t3 ~
  1531. ;       collection through a shell script, cron entry, or some other method.
    / y& d9 Q" d5 S) v
  1532. ;       For example, the following script would is the equivalent of
    0 C$ a9 Q4 ?* l5 o4 J9 w; f, J
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    0 y0 g+ d) w  Z
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    & A* v1 D4 e: U) }! ]

  1535. 1 ?* E0 S6 w4 `  O( K+ {
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.8 E) p0 H/ x* D$ x: c/ R) l
  1537. ; HTTP_REFERER has to contain this substring for the session to be' L$ o9 s6 W8 A; d# j& M
  1538. ; considered as valid.
    ( ?! i2 n1 W& ]4 J
  1539. ; http://php.net/session.referer-check; n) L4 a9 t* d5 _
  1540. session.referer_check =9 E3 @$ U8 @% e* h% _

  1541. - V; ?& A/ q$ r2 }, r
  1542. ; How many bytes to read from the file.
    & A* E# T; N+ g, _% w0 x
  1543. ; http://php.net/session.entropy-length
    + M: G' I' ?6 h- O# m
  1544. ;session.entropy_length = 32
    # ?# l7 ^. t: L( z

  1545. 9 \' M4 m4 f  t- y
  1546. ; Specified here to create the session id.& k4 Z3 D4 p6 u1 n8 n
  1547. ; http://php.net/session.entropy-file
    8 C. R3 @, [6 D6 N8 P) F5 O
  1548. ; Defaults to /dev/urandom2 T: T9 ?5 w7 Y1 D* @8 ~
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ) V& \) B+ _1 W" X: I; C
  1550. ; If neither are found at compile time, the default is no entropy file.
    ( c( V: X) _( G3 n
  1551. ; On windows, setting the entropy_length setting will activate the
    ( Z8 C7 A! l  e! s8 r( E) O
  1552. ; Windows random source (using the CryptoAPI), A. l3 r" L$ v4 {2 H: C0 [$ {: _
  1553. ;session.entropy_file = /dev/urandom1 O+ `* ]. e. j+ s8 n2 Z
  1554. 2 e0 G, t" c0 O0 R( o
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects4 [0 b8 C8 C$ K$ e) Q* Q
  1556. ; or leave this empty to avoid sending anti-caching headers.
    5 f- y; Z' R6 Z8 q" z
  1557. ; http://php.net/session.cache-limiter
    6 s. S& ~. F- ]  m
  1558. session.cache_limiter = nocache
    . X* S4 ]8 k8 C" V# U! }
  1559. & K6 W2 v6 r# N( a& Y
  1560. ; Document expires after n minutes.
    ! W8 }  V$ V, b# r  p
  1561. ; http://php.net/session.cache-expire) P0 ]5 J; \  c3 D# M) A
  1562. session.cache_expire = 1800 p# h  i7 T3 [% ^

  1563. $ ~0 F5 E& x2 c) E- C) Z
  1564. ; trans sid support is disabled by default.
    : y9 P- h% ^5 x  T& }9 e) c6 l9 z$ Z
  1565. ; Use of trans sid may risk your users' security.  e* W7 z) s9 I9 |8 [; ^
  1566. ; Use this option with caution.
    % @7 k$ K  ~8 _$ J9 j
  1567. ; - User may send URL contains active session ID
    8 Y$ @! F! _$ e. B2 f( b/ ~$ u% I
  1568. ;   to other person via. email/irc/etc.
    8 o3 z8 p2 g, Q6 O2 M* \
  1569. ; - URL that contains active session ID may be stored% I) m' L  O9 i2 p$ h
  1570. ;   in publicly accessible computer.
    . c8 H4 @5 R' ?! d& ?, b
  1571. ; - User may access your site with the same session ID5 b8 e+ D; o  m$ U: |
  1572. ;   always using URL stored in browser's history or bookmarks.5 P8 s+ ]/ P4 x- Z6 M+ ?
  1573. ; http://php.net/session.use-trans-sid3 }1 _' l' \' a' d+ K2 b
  1574. session.use_trans_sid = 0
    % }4 r4 o( \% H0 z

  1575. $ ~' Q* h' R% e" h6 O" t
  1576. ; Select a hash function for use in generating session ids.
    / u( I% a8 a# n& Q! R
  1577. ; Possible Values9 W( r6 V7 [5 r: R+ u% m% t: V& H, V
  1578. ;   0  (MD5 128 bits)0 c  U6 H) \- _$ R) Y2 E6 ^* d
  1579. ;   1  (SHA-1 160 bits)1 b( q+ j4 o. P% p' Z2 a  A
  1580. ; This option may also be set to the name of any hash function supported by
    : W) l6 w2 k& U& n' M( o
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()6 }* c: q8 C' w8 J% Z
  1582. ; function.
    9 e. p- w* i4 N# l. W- X+ T! x+ A- B
  1583. ; http://php.net/session.hash-function
    / q5 R1 w& l+ N' E
  1584. session.hash_function = 0
    4 |" j1 _0 I) K; K! f

  1585. + A& u: z0 c! E' F, O
  1586. ; Define how many bits are stored in each character when converting/ U& {5 }. {/ m: R$ e6 }$ t$ p" [
  1587. ; the binary hash data to something readable.
    ) c# r( i7 K% s0 ~* `4 |, b1 Q
  1588. ; Possible values:
    - r2 M9 Y+ F6 Y
  1589. ;   4  (4 bits: 0-9, a-f)5 L/ a& s" h  p( x; _+ d
  1590. ;   5  (5 bits: 0-9, a-v)+ K0 n2 G+ k0 M  F" S$ Z
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","); d% q* @  \+ s$ D0 w' k
  1592. ; Default Value: 43 c" n  |7 B' ]4 X
  1593. ; Development Value: 51 E  ^4 s8 n5 ?" N3 |/ e
  1594. ; Production Value: 5
    . i0 n4 k$ h' |/ z
  1595. ; http://php.net/session.hash-bits-per-character, m. z8 ]! c% n- y/ H6 C! `
  1596. session.hash_bits_per_character = 5
    1 f3 |  O. t# s' h

  1597. " J/ H% ^6 e! T. V) o& H
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.2 _" f* N. `6 F) q0 n8 y
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    6 @* Y# B) _( W9 n2 D# q& N
  1600. ; add a hidden <input> field with the info which is otherwise appended9 X- e! l" u" I6 o
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.7 O) ^4 c2 p& b: I- l
  1602. ; Note that all valid entries require a "=", even if no value follows.
    * S" C/ v4 r/ v$ W
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="2 @2 E. b/ g+ z6 C
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      }2 q3 I3 b3 p; g3 Q
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 _" h7 j( j5 ?
  1606. ; http://php.net/url-rewriter.tags
    % L! ]. L( o8 M" P" K* \: f
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    - s) ]3 X" K( `" s$ K. @
  1608. 4 ^% T, u. R% J$ S9 w- \
  1609. ; Enable upload progress tracking in $_SESSION. X, J6 [6 w; R3 @
  1610. ; Default Value: On' P4 F+ K' y3 l# p
  1611. ; Development Value: On( ~3 d6 a+ m# Z8 \" K
  1612. ; Production Value: On
    3 P6 V7 W* o4 W7 @- z/ L
  1613. ; http://php.net/session.upload-progress.enabled
    % A7 ~6 d1 a* x% M  s
  1614. ;session.upload_progress.enabled = On* M6 Q5 S9 p% H( P4 o( {4 y
  1615. 1 h1 o( M4 j' T5 G
  1616. ; Cleanup the progress information as soon as all POST data has been read
    : \3 |3 ^+ T6 Q9 X) l
  1617. ; (i.e. upload completed)." P4 @3 r: n6 J* `' r& m6 N( f
  1618. ; Default Value: On- t0 W0 J/ x( n1 t8 R; \/ ~
  1619. ; Development Value: On
    3 T. j4 Y# b1 w! G* I
  1620. ; Production Value: On
    + z0 `; U7 z: t! ^4 @% W
  1621. ; http://php.net/session.upload-progress.cleanup" k- T. r9 R6 h& e
  1622. ;session.upload_progress.cleanup = On
    6 ]9 o! c$ v+ P5 D  M

  1623. & Y; X; w' n: w4 v# a, S1 b
  1624. ; A prefix used for the upload progress key in $_SESSION
    7 x7 M* P3 P. b2 [
  1625. ; Default Value: "upload_progress_"3 ^+ \; `+ F% W( J
  1626. ; Development Value: "upload_progress_"# Z! X9 H  A8 ~
  1627. ; Production Value: "upload_progress_"5 d- E9 {- U2 L' L& x' {$ @
  1628. ; http://php.net/session.upload-progress.prefix
    ) N0 ?2 K8 \9 {% {) g
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ; k- m$ B0 ^2 ^3 L, d4 v
  1630. % s. G3 r) A6 c: V
  1631. ; The index name (concatenated with the prefix) in $_SESSION7 {8 t- j/ K. Z! o
  1632. ; containing the upload progress information' S9 f" \8 h* R* `
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 i6 e- m; X" @( Q$ E. O! T* R
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"5 w! ]+ U- y" e! Y7 s- W
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 K% c' ~6 i$ \: p5 X
  1636. ; http://php.net/session.upload-progress.name: j) p. y# Z6 c, k" W, v/ i& S* S
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ) A! s7 ~* g7 [' Y: U

  1638. : W; M5 E3 i! e8 G0 M/ T* J: a2 k
  1639. ; How frequently the upload progress should be updated.+ [" q+ c7 C3 w1 @" F! l, t
  1640. ; Given either in percentages (per-file), or in bytes
    3 r  k9 p( K2 Q8 j' _' l
  1641. ; Default Value: "1%"( C$ |* N+ @$ R# m( L4 s+ o
  1642. ; Development Value: "1%"1 g( |2 Y( k5 A/ ]" f7 t. u
  1643. ; Production Value: "1%"0 h( N, F/ Y. Y' h- N
  1644. ; http://php.net/session.upload-progress.freq/ w9 b0 h$ T) n3 m
  1645. ;session.upload_progress.freq =  "1%"
    $ T1 h# }6 G& m1 a1 j

  1646. 4 g+ ]# d) e8 B$ d5 W% n
  1647. ; The minimum delay between updates, in seconds; n9 K3 c7 {% t) S4 j  U9 V
  1648. ; Default Value: 1
    * h2 R; |2 E  ]0 V9 p9 B
  1649. ; Development Value: 1
    1 S, t; K% B% c' O% A  l$ P' V
  1650. ; Production Value: 15 O( \7 Y' _% L4 G! P
  1651. ; http://php.net/session.upload-progress.min-freq
    4 a% D8 I. s+ _3 U' s$ Q, ]) Q
  1652. ;session.upload_progress.min_freq = "1"; t9 c% ?) ^# Y+ u! }) f

  1653. 5 Q1 F! h/ A* W3 o+ [# W
  1654. [MSSQL]1 o% c( S$ M" W* y! \6 d
  1655. ; Allow or prevent persistent links.: @, j5 O& i* t8 N
  1656. mssql.allow_persistent = On( T4 m, p. @# S; E( l/ p6 D( K, g" G' k6 J

  1657. 7 D/ N% X) r. `, s. t. d
  1658. ; Maximum number of persistent links.  -1 means no limit.
    6 v% @. U) M  W/ J/ o; @
  1659. mssql.max_persistent = -1
    3 u0 W* H5 V0 P3 Q0 u0 ~
  1660. 0 S$ P. \. r/ I5 ^1 N
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ! H6 F3 o) N% ^1 H9 C
  1662. mssql.max_links = -1
    5 z$ f* l! s! X2 U) V- z. t) U7 f
  1663. , k( {3 h( w3 ]( |7 n. J& a5 C
  1664. ; Minimum error severity to display.
    ( t# s8 u# W( B9 Q  P* z
  1665. mssql.min_error_severity = 10: H3 q9 N! M! P3 }4 _. _+ I
  1666. 8 v2 M+ E. h# l4 b+ h0 s3 R
  1667. ; Minimum message severity to display.8 y2 W) T+ R+ w& t) l0 L
  1668. mssql.min_message_severity = 10/ j8 r4 v/ L, k  X4 w' z$ s% o
  1669. 4 n& I/ b8 Q3 _3 n; d6 q$ h
  1670. ; Compatibility mode with old versions of PHP 3.0.5 S1 t6 z' n4 r$ w; O5 ^
  1671. mssql.compatibility_mode = Off
    $ V. M2 X# ?1 p8 d# ^4 i
  1672. 1 Y6 |4 q+ [, s$ k8 N
  1673. ; Connect timeout5 V1 f8 u- d* X2 t* ~+ I+ v# d" G
  1674. ;mssql.connect_timeout = 5
    & ?$ q5 |' b0 y7 B* G$ I
  1675. : h" b' v9 S; K  o; H; r
  1676. ; Query timeout5 f- f% e" j/ R/ P! R: `2 ?
  1677. ;mssql.timeout = 604 S( y' [4 X( l9 M7 }/ q
  1678. 6 d* T. ?* d% B9 Y+ Q7 ?
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    9 o! l: R5 J% v+ f6 @
  1680. ;mssql.textlimit = 4096
    $ G# T* A2 h8 E' n! g; }4 P
  1681. 8 F( l! I1 _2 f( Z8 p
  1682. ; Valid range 0 - 2147483647.  Default = 4096.- g: R# s  O! F; y, B  f
  1683. ;mssql.textsize = 4096) c6 S: ]8 P3 z9 l) p! }1 K9 L1 o
  1684. 0 M6 M& w, A: n0 z, I
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    $ }2 z. w0 I+ {( ~
  1686. ;mssql.batchsize = 0  W' W  J! |  H$ Y7 V/ C& T
  1687. * ?+ H3 f. h; w; a) g4 t! ?
  1688. ; Specify how datetime and datetim4 columns are returned& S1 b9 E2 d8 Q/ r5 Q: G) r
  1689. ; On => Returns data converted to SQL server settings
    " N, \  Y$ Z) K( {
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss5 x2 d( |$ h% @; I$ }/ Q7 C% @9 B
  1691. ;mssql.datetimeconvert = On
    7 |5 ^( B. t! y6 C3 \
  1692. $ k$ Q% L  y/ o2 y( o: B# R% O
  1693. ; Use NT authentication when connecting to the server
    9 a' b# M7 d( I, T! N/ \
  1694. mssql.secure_connection = Off
    ! w' N; t6 T0 E4 T: F

  1695.   i7 j" o! n, e1 {5 e. F9 D
  1696. ; Specify max number of processes. -1 = library default
    . q# _0 G. C% A' B, @$ j
  1697. ; msdlib defaults to 258 ]7 \/ k' b/ s' p6 O4 `& x
  1698. ; FreeTDS defaults to 4096% Q/ n0 w8 L# ]" Y/ ~2 o+ f
  1699. ;mssql.max_procs = -19 v' b6 [, n- k# z

  1700. 4 J7 Z8 D3 E3 \2 V
  1701. ; Specify client character set.6 o2 l4 p  k3 I2 N4 y+ T# l0 R. q0 W
  1702. ; If empty or not set the client charset from freetds.conf is used
    4 D; Q6 \9 z7 a( f4 b- I9 G
  1703. ; This is only used when compiled with FreeTDS
    8 _$ ?' w+ A# S( l. ^! W
  1704. ;mssql.charset = "ISO-8859-1"4 ?9 v7 Y6 F2 Z2 Z" C0 r

  1705. # G% x- N  c# u, u8 V& e1 Z# j7 y
  1706. [Assertion]! Y, \2 _# m$ W
  1707. ; Assert(expr); active by default.* c  x# ~% H, S, `# b2 x* W( D
  1708. ; http://php.net/assert.active
    * W, \) I+ W& v7 ^
  1709. ;assert.active = On
    5 ?4 N% U+ l6 i$ O; `! c, |
  1710. 2 I( i" X: q$ k- e
  1711. ; Issue a PHP warning for each failed assertion.
    # J- y$ ~* x/ f' R: T
  1712. ; http://php.net/assert.warning( U" w: Y& V1 a" y1 j! l
  1713. ;assert.warning = On, s, p% D, y+ C! q% I) i
  1714. 1 m% E' Q* S9 A- S7 ~
  1715. ; Don't bail out by default." |$ S. R- z% m0 F/ v
  1716. ; http://php.net/assert.bail
    7 @# `6 M6 ?, J% |. H7 b5 t/ L0 e
  1717. ;assert.bail = Off
    ( T; Q& \1 X2 b2 `* Y+ ~
  1718. ( m0 i( y$ g1 m
  1719. ; User-function to be called if an assertion fails.
    ' ~. x% p5 B( [/ P4 s" t1 e  R
  1720. ; http://php.net/assert.callback. P$ M1 \) [6 p% f) s
  1721. ;assert.callback = 0
    4 T% U$ W0 e( u  x& i/ G1 ?* O) Y* ~

  1722. # h! a8 n/ ~; F6 _! I, G) k( d
  1723. ; Eval the expression with current error_reporting().  Set to true if you want7 G  B3 W: a9 }, c: v3 C$ u4 p
  1724. ; error_reporting(0) around the eval().
    " b1 p# i9 m) Z
  1725. ; http://php.net/assert.quiet-eval0 J9 m2 C6 X) U+ S( }- F9 H
  1726. ;assert.quiet_eval = 08 f3 g/ D7 L) T
  1727. ) D7 Y9 x3 h  w1 O
  1728. [COM]7 n3 x  M7 v' C8 x
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs. q; a0 I% `* r# U- W
  1730. ; http://php.net/com.typelib-file
    1 K: F* g, l. [# i, X6 q9 [
  1731. ;com.typelib_file =$ C% |3 H3 U$ g. h

  1732. ' q) B: s. j$ \/ h2 Q9 Q) a
  1733. ; allow Distributed-COM calls
    / U& L9 i- i6 X/ W7 E
  1734. ; http://php.net/com.allow-dcom( p, {$ G; z$ B$ `
  1735. ;com.allow_dcom = true' y2 t2 Q% [4 E" y9 @8 o0 l. X! V
  1736.   g# b9 z! A# J3 n1 v9 G7 E
  1737. ; autoregister constants of a components typlib on com_load()
    - |6 {' N# M0 l6 v  `9 g
  1738. ; http://php.net/com.autoregister-typelib! ]6 {5 D& [9 `, y9 K& I
  1739. ;com.autoregister_typelib = true% b2 F+ ^0 ^+ o- K, p( g

  1740. 2 r3 [; w2 x, E( I0 L$ s
  1741. ; register constants casesensitive6 {; u3 o+ J( U+ W
  1742. ; http://php.net/com.autoregister-casesensitive
    % j% i# _6 K% k* g* M; c
  1743. ;com.autoregister_casesensitive = false& T. C" ~9 z# u
  1744. ! B* r) Z9 ~# S/ ?' ?
  1745. ; show warnings on duplicate constant registrations9 `, V! n4 _  \6 q3 g1 F8 V. J
  1746. ; http://php.net/com.autoregister-verbose
    ) L) H* a( |3 v9 B! J
  1747. ;com.autoregister_verbose = true
    % t, b  ?2 q  @% N6 h9 S

  1748. / J. \, k( I! M$ t
  1749. ; The default character set code-page to use when passing strings to and from COM objects.+ e$ s$ }) F1 |6 l
  1750. ; Default: system ANSI code page. d+ r* e  x! o7 p
  1751. ;com.code_page=# T& ^  n: ~+ Y8 @7 G
  1752. 0 G1 [+ K7 U( p
  1753. [mbstring]
    ' u, O7 h% e! T3 |5 C0 ^
  1754. ; language for internal character representation.
    % L+ N" t/ D9 o* E6 N- L4 z
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    ) |1 f5 V: L0 P( }! D* \, `
  1756. ; http://php.net/mbstring.language) s4 D* @) l  u8 _  g8 `. R
  1757. ;mbstring.language = Japanese
    4 ?9 n8 w) O5 [  Z# d
  1758. $ ~5 ^& v' Q$ _
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ) `7 h' B3 @& x
  1760. ; internal/script encoding.. ~) K' P8 t3 C2 `. j2 K/ v
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ) l9 R3 [+ \4 x( @  f2 B; a
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.# d8 h& U* J9 u
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    9 l, I7 {& I2 E- {- r
  1764. ;mbstring.internal_encoding =/ X* w) O6 r8 _1 k+ j$ E
  1765. 6 g# `+ v" j, Q) }4 Q. e! y6 @
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead./ u, Y4 {# _. _  U
  1767. ; http input encoding.
    ' z/ V5 G( \" z: d5 w$ c
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.% [, R8 O  q, r
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.1 Z8 ]9 g. k! _3 q
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    0 f2 d" ?  Q4 L2 c$ i# c- K
  1771. ; http://php.net/mbstring.http-input( I' l0 O6 o9 F& c1 s7 [
  1772. ;mbstring.http_input =+ O7 t% _7 E) t2 Y- i% Z% I

  1773. , O0 e$ S* ?. S' G
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ; A  v) v( T- d5 e1 [: `+ O
  1775. ; http output encoding.8 ^. i1 k3 E8 j5 n; d
  1776. ; mb_output_handler must be registered as output buffer to function.
    9 ~7 B# F3 W  j. B" b6 y$ l, A
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.: K, q- a2 ^9 Q% r
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    . B/ N7 u3 a, G  g3 y
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    % Z3 F3 i! Y: b& U
  1780. ; otherwise output encoding conversion cannot be performed.$ i! K6 X& j0 f+ T6 z
  1781. ; http://php.net/mbstring.http-output
    : z$ |: O, y( v! j
  1782. ;mbstring.http_output =# ]  |% z) o3 Y  `( b; e( e8 }
  1783. : N* i, A9 E/ U$ O. w7 M
  1784. ; enable automatic encoding translation according to
    4 D- S/ _0 V" ~0 Z/ r2 ~
  1785. ; mbstring.internal_encoding setting. Input chars are
    " h2 g' U* {+ E& O7 o" q
  1786. ; converted to internal encoding by setting this to On.) F4 w5 D; Y: ]$ {, A, K( g
  1787. ; Note: Do _not_ use automatic encoding translation for
    # Q3 f( `; v  r. r4 S+ J1 W, _# B# M
  1788. ;       portable libs/applications.
    ! X% d6 U* M2 Y
  1789. ; http://php.net/mbstring.encoding-translation
    ) R$ [5 v5 z& p7 M* i& Y
  1790. ;mbstring.encoding_translation = Off6 D0 q+ ?% @; R3 C  @. L* @* Q
  1791. - _; J+ y1 ?2 Z- [+ V; R. c
  1792. ; automatic encoding detection order., m& x' q! X4 j7 _( z
  1793. ; "auto" detect order is changed according to mbstring.language2 }1 S& y; ?* ]7 G5 p- a
  1794. ; http://php.net/mbstring.detect-order
    / @# U0 n! j, H8 \1 V. Q, g3 R" D
  1795. ;mbstring.detect_order = auto  p$ s& k  N; b; k/ _
  1796. 3 ]2 l+ d  Y4 i$ k
  1797. ; substitute_character used when character cannot be converted
    : o5 ~) m8 p, |% ]
  1798. ; one from another0 ~/ A& F7 X$ ?0 d
  1799. ; http://php.net/mbstring.substitute-character8 |4 l( [; R; _- [' A8 ~4 v! ]
  1800. ;mbstring.substitute_character = none
    , z+ ?* q* O: j, S

  1801. & n4 g: Q' Q9 [1 Y& M7 D
  1802. ; overload(replace) single byte functions by mbstring functions.
    ) h1 R9 }6 U  v) a2 M! I' D
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    , \: W- ~# B, F" m3 o% @7 O+ l
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.2 n) ~) O; [' K' ?* l# k& g2 C& E
  1805. ; For example, 7 for overload everything.% a" \7 b- Q" j5 A8 ^* I' Z  ?3 x
  1806. ; 0: No overload- W7 U8 o) W8 T  m7 s1 Z
  1807. ; 1: Overload mail() function
    ( l3 x: S* M4 a- Y: f
  1808. ; 2: Overload str*() functions
    % e- B+ X( k5 {
  1809. ; 4: Overload ereg*() functions
    & |2 d) X, H3 R
  1810. ; http://php.net/mbstring.func-overload
    : R0 k5 L: z. d, u6 b7 x
  1811. ;mbstring.func_overload = 0  O4 z5 z* Z8 O& X* x
  1812. 1 }$ ^; Z( u& F9 @$ `6 D0 F
  1813. ; enable strict encoding detection.6 \8 C& F# T/ _' ^' z7 f7 p& y, O$ F7 h9 n
  1814. ; Default: Off2 E  s# n' F4 Y$ z
  1815. ;mbstring.strict_detection = On
    # E" h; X  e7 d

  1816. ; E7 W1 N7 H# T; V
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()0 M! g) o$ J, V+ b
  1818. ; is activated.0 w& b7 c+ Q. u( y8 S7 v
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)1 E, ]& G! s# a0 V
  1820. ;mbstring.http_output_conv_mimetype=# S: \9 r* r# y9 l( E3 @

  1821. / T, F: t6 k1 x" S
  1822. [gd]
    3 x/ U3 N( ?% K+ L3 d  v
  1823. ; Tell the jpeg decode to ignore warnings and try to create: `  I6 v6 u5 g! H
  1824. ; a gd image. The warning will then be displayed as notices- q: t6 d" r! z: i
  1825. ; disabled by default
    7 y0 d. b" j; c' t' k1 t4 r
  1826. ; http://php.net/gd.jpeg-ignore-warning8 |4 X# a9 c4 @& U3 G; N# n! q
  1827. ;gd.jpeg_ignore_warning = 06 z, c4 E- N& g2 @$ v
  1828. 1 }- y( t' X- _4 q8 ?, {" X+ U
  1829. [exif]
    % b3 {8 s0 |0 U. S
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    & _* {1 `6 U7 ~: U5 V8 d1 k  W
  1831. ; With mbstring support this will automatically be converted into the encoding
    : d6 I( @& r% e2 S& G: b
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    : y& f( b3 p, E% S( D, v
  1833. ; is used. For the decode settings you can distinguish between motorola and: a" e+ X( x* s" w
  1834. ; intel byte order. A decode setting cannot be empty.
    6 `, B4 \* R9 s+ B- |/ j
  1835. ; http://php.net/exif.encode-unicode6 v$ `# r! O) ]" u" p
  1836. ;exif.encode_unicode = ISO-8859-15, v# k5 c9 Q3 y( g0 X

  1837.   v: V9 x' t9 ?4 ^6 k* O7 p
  1838. ; http://php.net/exif.decode-unicode-motorola
    8 m$ A! _6 a# P; o/ s
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    - D$ d) G2 F5 ]$ i! a. p

  1840. ) P5 Z& P1 r# j0 {# }3 L3 _& i
  1841. ; http://php.net/exif.decode-unicode-intel
    1 S2 t0 i5 g* p& \$ t6 A) @
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    9 g3 P4 T+ K9 x5 u- o

  1843. & R6 M# i  ?$ u/ x) }( ?& ]
  1844. ; http://php.net/exif.encode-jis
    4 B: P2 |1 p5 m& T' }, j
  1845. ;exif.encode_jis =
    & I2 X2 _0 `6 I0 q' M7 o- _2 m

  1846. 3 _0 n' _, u% d  K5 Z
  1847. ; http://php.net/exif.decode-jis-motorola
    . G: t6 y8 g) G+ K* ?6 v9 n- c4 A% s
  1848. ;exif.decode_jis_motorola = JIS( f- d/ A% ^; g

  1849. , O. b. l9 r! w
  1850. ; http://php.net/exif.decode-jis-intel2 Q0 S5 k, c, q: E2 B2 U, y
  1851. ;exif.decode_jis_intel    = JIS
    5 o1 t5 R6 l8 F) a

  1852. . ]( t* M% a) \6 T+ z/ O
  1853. [Tidy]% g2 n# C$ u; a& y8 Q2 Y( d; k. w
  1854. ; The path to a default tidy configuration file to use when using tidy. w4 t0 v1 N, ]+ n* O1 X+ E& @
  1855. ; http://php.net/tidy.default-config& X# x5 ^. l7 J& l1 o
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg3 r. M% U* ~1 H: e) y

  1857. 3 ]8 y7 T* B2 [" M9 c/ C+ ]! d# n  M8 z
  1858. ; Should tidy clean and repair output automatically?
    # x0 x) t6 i; |) s: U
  1859. ; WARNING: Do not use this option if you are generating non-html content$ Z9 v1 m0 \( z7 f' S8 C$ F3 k. V
  1860. ; such as dynamic images' ~9 W- l! x; j
  1861. ; http://php.net/tidy.clean-output0 B! l! x, e( O( _
  1862. tidy.clean_output = Off) U4 g/ T" @0 O# v/ N, q

  1863. 4 z1 F4 y. K& p
  1864. [soap]& X; z; U/ M! {$ ^. a, p3 W
  1865. ; Enables or disables WSDL caching feature.
    : Q1 m" b4 k/ T6 d+ ]3 o  y
  1866. ; http://php.net/soap.wsdl-cache-enabled
    & h6 c* A; k9 X- V" ?* p6 C
  1867. soap.wsdl_cache_enabled=1
    ; G: w% R  Q8 N7 R; w

  1868. 8 E/ b) z$ w8 u1 w  g
  1869. ; Sets the directory name where SOAP extension will put cache files.
    7 u% L/ Z: _) ~8 I
  1870. ; http://php.net/soap.wsdl-cache-dir
    , u4 t) [5 L* k7 B+ ^6 M9 S8 t$ T, @  I9 m7 S
  1871. soap.wsdl_cache_dir="/tmp"
    * \* a( I0 ~# ~( [' f

  1872. & ~( s; H6 }- k6 A) M
  1873. ; (time to live) Sets the number of second while cached file will be used( @: @9 w& \1 k
  1874. ; instead of original one.0 {6 b. {6 [1 Q, \
  1875. ; http://php.net/soap.wsdl-cache-ttl
    6 L8 \% z/ N* y& i6 [$ L9 ~
  1876. soap.wsdl_cache_ttl=86400
    6 u0 ]7 {4 @+ y# M2 W

  1877. 3 J5 |# }$ R. ?) E9 D3 r2 ^6 h
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)$ c0 l9 v! `9 ]9 G0 x
  1879. soap.wsdl_cache_limit = 59 \% g7 ^* ?6 R' Y9 i
  1880. : e5 z* D$ s2 e1 p
  1881. [sysvshm]% U; ?% J; j. y% {5 j1 `( J  Y
  1882. ; A default size of the shared memory segment
    / @: f; D1 {( j  p. [
  1883. ;sysvshm.init_mem = 100005 z! j5 v# Z5 Z% m
  1884. . f8 D/ {- W& s
  1885. [ldap]* |9 Q# |- e/ h% E+ l
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    ( K+ h* B" P8 \  T0 C
  1887. ldap.max_links = -1: n3 i, s! p/ ?9 w  |& u# a; d
  1888. * Z: g2 D. t* H, {4 e8 M2 g
  1889. [mcrypt]
    # O+ j) X2 W; A$ @
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    2 C4 H" _. |; c# `& h. b) w
  1891. 5 v' g* f/ u/ a$ O; x& V8 G, ]
  1892. ; Directory where to load mcrypt algorithms  a# K0 I$ w/ k$ H$ n* \/ v% W! u
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ) X. w" Z: e3 }7 p4 I, Z1 W
  1894. ;mcrypt.algorithms_dir=1 S$ y0 p1 R: A/ l3 z

  1895. 3 y; s5 k* E; O5 H
  1896. ; Directory where to load mcrypt modes: H8 L. R0 |* s- ?: g
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)% s4 M* k- v3 S" @! q
  1898. ;mcrypt.modes_dir=( e: B: c4 X. o& E9 ]+ {  u

  1899. 7 x3 L& h, Q; U$ z! [
  1900. [dba]7 D- X( d" S* s; n
  1901. ;dba.default_handler=
    / p9 N# r1 F4 r3 _7 ?& o0 p( d

  1902. * I: q( `* q; B% w3 l3 p
  1903. [opcache]8 w3 \7 H. U5 j
  1904. ; Determines if Zend OPCache is enabled, o& G2 E0 M! `
  1905. ;opcache.enable=0
    " d) E1 |; e8 a7 ?- b+ \! m

  1906. * @& o' e0 H8 S" b! L) s
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ! ?0 q4 E$ n5 p+ ~  @! \8 A" E
  1908. ;opcache.enable_cli=0
    % h9 g$ Q8 I5 G2 n/ w
  1909. % G6 I3 S7 j/ \% O* G3 D0 }; B4 A
  1910. ; The OPcache shared memory storage size.
      x9 Z3 [7 k$ w! F& {$ E
  1911. ;opcache.memory_consumption=64
    : C6 q2 a8 e+ {) A  w
  1912. 8 B  `' ?- ^; q7 {: ~, u
  1913. ; The amount of memory for interned strings in Mbytes.! {7 X8 S% O6 t  b( Y
  1914. ;opcache.interned_strings_buffer=4
    8 E7 j$ t" d( T  @

  1915. $ T4 v( T+ X  f$ @
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    1 O) c4 G3 z5 c7 V
  1917. ; Only numbers between 200 and 100000 are allowed.
    ; {2 }: Y4 e3 I/ `3 p* R$ t
  1918. ;opcache.max_accelerated_files=2000" N$ w/ y9 z- J, S6 m! E* I

  1919. - X  i) R4 [/ a: K2 e4 D
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.+ z6 n$ U+ b, M4 y7 p; L
  1921. ;opcache.max_wasted_percentage=5, K8 \) X4 {- y! y4 q
  1922. * D3 O  D, C8 b
  1923. ; When this directive is enabled, the OPcache appends the current working
    & w8 @) d  S6 Z4 u1 }+ ]! q
  1924. ; directory to the script key, thus eliminating possible collisions between
    % J4 M/ T0 L3 b. b( ?5 I2 S; k
  1925. ; files with the same name (basename). Disabling the directive improves
    ; I# c/ e) @; A1 w
  1926. ; performance, but may break existing applications.: E5 S8 u4 _8 i9 P
  1927. ;opcache.use_cwd=1# O" q0 V$ S8 S" @

  1928. , K( c2 L; W9 ?
  1929. ; When disabled, you must reset the OPcache manually or restart the
    / X2 N2 T: E0 X, e' I
  1930. ; webserver for changes to the filesystem to take effect.
    # S* a( S# w7 U! v9 e
  1931. ;opcache.validate_timestamps=1
    ; Y+ O1 A! x; `' h% V5 c
  1932. + x! O6 ^; H" y. Q1 A
  1933. ; How often (in seconds) to check file timestamps for changes to the shared, Z  j2 ~/ Y; K6 E. K" d
  1934. ; memory storage allocation. ("1" means validate once per second, but only- B  C! U" E9 N, {/ x
  1935. ; once per request. "0" means always validate)
    3 A8 W2 d1 _7 G, C) `" L& O/ _
  1936. ;opcache.revalidate_freq=29 ], ?, q* p) _& F( y) Z- P
  1937. 2 }3 K! F0 X9 f$ r' p. ^
  1938. ; Enables or disables file search in include_path optimization
    0 B$ y- j* f; m! _2 o) I3 V
  1939. ;opcache.revalidate_path=0
    $ k2 @" Q, i" S* O. @( }
  1940. " H: ^+ o, J! ~, r
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    $ I& y& D0 e9 {8 Z/ t) p. d
  1942. ; size of the optimized code.
    ; }; Z2 B& A5 k/ z
  1943. ;opcache.save_comments=1
    ( |$ F9 }( I  V2 p' K# @2 k" g
  1944. $ X  D1 ^" D- {2 O, I
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    & C% e. Z( E2 q2 S
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    2 U2 V+ W3 Z$ p  L8 }2 ?
  1947. ; that don't need them anyway.
    3 X0 }% w  ?7 R! b/ r$ C
  1948. ;opcache.load_comments=1
    : S5 R& o) @* A4 N

  1949. 8 k6 D& V2 X* x+ p
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code) B3 F" p4 N( A  J0 c  [1 K* I
  1951. ;opcache.fast_shutdown=0
    & Y& E7 C0 G) \+ g+ _. f( r

  1952. 5 W1 _; S: y- R
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    4 |+ ^( f" _, E
  1954. ;opcache.enable_file_override=0
    1 x& D/ z+ d9 k& }" v$ v5 k

  1955. 4 m- |5 U- k. Z' e$ ~
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    - {2 L5 [; Y0 ?9 o5 X
  1957. ; passes
    4 ^+ d- I+ Y% ^, ?9 D; G5 S( A
  1958. ;opcache.optimization_level=0xffffffff
    6 O- n7 a/ {& @/ u! \2 M
  1959. ; c. }0 c# V( Q  K/ w: e
  1960. ;opcache.inherited_hack=12 \8 w, X, g$ Y
  1961. ;opcache.dups_fix=0$ A4 s. o8 p* Y

  1962.   A$ @' l4 b  c; h7 ~" O8 W
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    # J# ^* J  r3 F9 w) G; Y
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    % L1 ], V8 R5 d( J7 y, Q
  1965. ; that should not be accelerated. The file format is to add each filename  j  b8 T, T) h
  1966. ; to a new line. The filename may be a full path or just a file prefix
    : p9 p' v7 e1 J" E7 M7 J
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www7 f: i; }* g7 m) V0 I
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    5 ~$ X8 i/ L" e( |  Y3 c: z
  1969. ;opcache.blacklist_filename=
    + M9 ?& M4 r3 a' d  \# O% Z, w

  1970. 1 m# {# y0 e/ {; B) [
  1971. ; Allows exclusion of large files from being cached. By default all files' g, w6 q7 S/ r; g: |% A
  1972. ; are cached.
    6 F6 B' C4 B) f3 X3 O6 q
  1973. ;opcache.max_file_size=08 O6 R: S" J& \
  1974. - R' d/ i! _6 `) ]. @" W
  1975. ; Check the cache checksum each N requests.
    / E1 y& K5 E5 C5 w7 e% F
  1976. ; The default value of "0" means that the checks are disabled.& b# p' A# F3 o. `- z; i
  1977. ;opcache.consistency_checks=0
    + S3 v: B; f6 S; O, P3 O

  1978. 7 {. G0 A4 ]7 Q; j: y5 D
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache5 c! {( F" Z8 P% a6 r
  1980. ; is not being accessed.$ v5 c' ]$ [0 J) S4 s
  1981. ;opcache.force_restart_timeout=180
    ' S3 T# A& _1 r+ a) r3 D2 {
  1982. - v9 _. [* G$ p( S( o! n5 C
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    & ~& x- y3 \) E
  1984. ;opcache.error_log=
    9 a+ B& w% ?( Z! U5 Y
  1985. . _( Y, Q# a. X# C: Q; g
  1986. ; All OPcache errors go to the Web server log./ Y) Y+ _2 _  m0 ~+ D
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    . D+ N% g- Y5 V. F& k
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    % {9 j# m! J. F: d7 r& G& O
  1989. ; debug messages (level 4).
    / M3 c3 H* [7 t2 l" J, p
  1990. ;opcache.log_verbosity_level=1
    6 P3 x# N" E- l1 X

  1991. , s5 _( ~1 t' E8 D- o. e
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.9 J9 @$ }0 Z& J: j& ~
  1993. ;opcache.preferred_memory_model=& i4 M/ ^2 x2 m, P
  1994. : F, [: b: J0 v* u" a
  1995. ; Protect the shared memory from unexpected writing during script execution.6 R9 H3 D# ^6 J# h
  1996. ; Useful for internal debugging only.
    9 M( y! ]$ k* |3 o1 q5 L5 d- U* P1 H
  1997. ;opcache.protect_memory=0
    ) k) k: M; {* ]8 E
  1998. $ `8 u' u0 ^  e  c
  1999. ; Validate cached file permissions.
    7 p0 w% n& s. l0 ^
  2000. ; opcache.validate_permission=0; |6 z% o7 }+ @) K( X# h5 U

  2001. ( U8 T$ j+ h9 C" g4 T- X" s
  2002. ; Prevent name collisions in chroot'ed environment.1 J% ?+ ^1 l8 j
  2003. ; opcache.validate_root=0, H/ d+ e3 _  G) [8 L

  2004. ' B9 s' V' n5 t7 _1 u7 x
  2005. [curl]
    " E7 d, b1 ?: Z2 g( n) g2 v/ J$ y3 P
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an" v7 q5 ^5 f9 P7 B! n/ a/ O
  2007. ; absolute path.
    % k: b. J  H* }5 W9 b
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt3 G' s) s+ w+ [$ @

  2009. % l( i( K+ ]* R) a
  2010. [openssl]
    # K# H7 P! @0 t% c
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem, C' s; Z9 q" O, Q. U
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should  K' E8 t/ v$ e+ C4 D/ J
  2013. ; not specify a value for this directive as PHP will attempt to use the
    ! {3 G$ m2 P* [' k  F9 B) K2 u! X4 e
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    7 Q8 ?) U7 q6 d% ^; [. }
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context3 u0 o* B/ T# i! x. i
  2016. ; option.5 ~$ n" j0 U) p# q
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt" Q8 Q4 D; M  l; m9 h; O% j) `. j
  2018. ) D  J0 _+ s; l% E) [4 r' a, S
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    ) O' i  l: J" Z( U" ]  D
  2020. ; directory pointed to by openssl.capath is searched for a suitable( P& }' @; J  |# g. L
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    % N8 H, d5 l' F: D! `! Y
  2022. ; Most users should not specify a value for this directive as PHP will# \, h( W7 B5 E9 n! i2 ^5 ~7 W+ i$ d
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,7 `; l. k& ~" p
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    2 J- `( v4 G" f6 o
  2025. ; SSL stream context option.9 h: {: u& Y8 H0 [& g% U0 \( }- ^. |
  2026. ;openssl.capath=5 Z. o+ l! E$ w& p& U
  2027. , c8 k( C9 K7 W
  2028. ; Local Variables:$ h; m5 \0 Z0 ?3 P* o
  2029. ; tab-width: 4& Q6 E% d' d+ X* X2 f$ z: h
  2030. ; End:
    - X. t: y! T3 n
  2031. ) {2 f( s! X" B2 }" e
  2032. ;eaccelerator
    3 `! ]/ \6 ^$ ?! S

  2033. 5 ^- Z* [% l! Q/ z. K8 R
  2034. ;ionCube
    * I3 A* U" s, B
  2035. ( I# }9 s6 Q! n1 `: W$ C, L
  2036. ;opcache: y6 e" x( P; n: p# L# c

  2037. 0 v2 H5 T; a' Y! T/ n
  2038. [Zend ZendGuard Loader]' t% T+ J; ?) A' w# W  _: y
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    % v$ s/ L; Y: {  M( j
  2040. zend_loader.enable=1, l5 }  h/ I3 W$ h
  2041. zend_loader.disable_licensing=0
    8 L7 Z* H5 _3 n
  2042. zend_loader.obfuscation_level_support=3
    8 @2 d# x$ Y1 M5 v5 a( L+ a- }$ H1 e* k9 O
  2043. zend_loader.license_path=5 m" W  Y8 t1 K. h6 N  n0 u5 x

  2044. 2 d' f) w- l6 _
  2045. ;xcache( W4 U) _8 b3 B$ Y- m# {
  2046. / W7 v; o6 x  ?8 G
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146922 K- f5 n( ?+ l4 J( \

( x! Q& w( o" J4 _5 H1 k0 _' [0 N. T9 c2 {# K) g# V
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,3 `+ u8 _4 _$ e# k% ~: S7 i
6 {1 X& {3 `$ o1 c- T9 J" m" Z
Discuz!程序版本选择:3 B9 y" K! |/ }0 \  f: K# I8 Z
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
9 H) C2 v; H: E; ]不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:+ j- Q* T2 [. O& g) O& K. p
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
, M1 o! Q. d$ v+ J  U& Q
. m7 r' s5 n: D% `# yDiscuz!插件模板版本选择:
0 R8 d0 ~4 c. Y4 ~3 b0 x很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
! I$ X3 a) }+ t( V针对这个问题做个统一的普及:
1 v1 R4 p& }2 P' i7 b4 W& HX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。$ |  y" e" e) t
7 V7 d+ S! {  v# j
所以
/ R8 s% F/ |3 ?( l' I) L" ?. [3 Z7 ^适合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的二级域名。) N" V3 E. f9 f5 F$ {+ ]- b5 r; l6 D  L
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
8 w% s- h/ S7 |注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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