分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.03 C4 D% Q; R! N2 T2 L9 `8 R
$ V- i& ^2 }! ^( s( f. g: v
  1. [PHP], y1 x; i4 m5 S- \

  2. ; o3 I' i' H/ \6 R
  3. ;;;;;;;;;;;;;;;;;;;8 Z4 m& y  b% y- }+ I. L9 A
  4. ; About php.ini   ;5 T, R7 L* e/ L3 D% m. V
  5. ;;;;;;;;;;;;;;;;;;;
    * R7 d( B0 [3 W/ U$ N2 A: B6 ?
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    . X1 x) c. M/ C5 T  ]5 x; v. e
  7. ; configuring many of the aspects of PHP's behavior.# M1 F6 g' M) {3 n3 V6 i$ p/ h
  8. 7 R3 @8 J- S/ V: O! Z4 i
  9. ; PHP attempts to find and load this configuration from a number of locations.$ j3 C7 Z. [2 f' V, w) t1 O
  10. ; The following is a summary of its search order:
    & D' R6 p+ c+ L
  11. ; 1. SAPI module specific location.
    + I8 _/ j7 N9 m' K! L6 \
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    , f7 {- K/ P# V& Q1 s+ f
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    4 ]9 V! b- F& F4 M1 V5 m
  14. ; 4. Current working directory (except CLI)! S5 F! F$ W2 v
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    # M( k! b% j& j& M" M/ S1 B
  16. ; (otherwise in Windows)
    . j* V: [3 p: w3 r/ T2 y9 y# A
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    7 b' ?% m* p( z' ^0 l! N! ?
  18. ; Windows directory (C:\windows or C:\winnt)
    3 Z  i7 k7 D2 U. F
  19. ; See the PHP docs for more specific information.* p' n$ ]6 @$ z0 L) H
  20. ; http://php.net/configuration.file3 [% |+ |+ T4 Y# D- f

  21. 1 O; Z& b% V: c& b1 W( X
  22. ; The syntax of the file is extremely simple.  Whitespace and lines/ L" H- |! Y* u0 ?& E
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    9 e8 @/ v+ M1 W
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    7 t$ D9 i! Q; ]7 @" u" b/ T8 }
  25. ; they might mean something in the future.
    8 w- o* x: u4 j
  26. + v5 K6 F5 Q6 p2 W
  27. ; Directives following the section heading [PATH=/www/mysite] only+ O& [  D+ f: _  u
  28. ; apply to PHP files in the /www/mysite directory.  Directives* X- W1 ?( T  X8 Y  ^
  29. ; following the section heading [HOST=www.example.com] only apply to" T8 O; c2 h2 x
  30. ; PHP files served from www.example.com.  Directives set in these6 y& }  ^  J) O
  31. ; special sections cannot be overridden by user-defined INI files or
    ! `! t% `! P" w# T9 {, U
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    - ^8 \$ P3 f$ X
  33. ; CGI/FastCGI.
    6 @/ Y# `* t* g5 \* U2 R- z! s
  34. ; http://php.net/ini.sections
    % x! c% V7 f$ l
  35. 9 S6 r9 C) T7 b  H4 g! B
  36. ; Directives are specified using the following syntax:
    ! {! Y3 O' u) a' ?3 a" ?6 l2 w7 J
  37. ; directive = value" L* Q. u: B2 |
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    3 o8 j4 b) l, y& I4 n' e0 s( O
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ; ~' A& a( i3 m# n0 J5 y' O
  40. ; There is no name validation.  If PHP can't find an expected
    ( g9 L7 U1 Y6 J) L3 u
  41. ; directive because it is not set or is mistyped, a default value will be used.! f$ g5 L5 d# m. z1 U3 @4 M, H
  42. - C5 {, e' d: h2 J
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ' _! h0 L. Z2 k% W1 k+ b) j  [& U
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    . s8 v; V. L; l
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a$ V5 }& P" g; Q' d' k# h
  46. ; previously set variable or directive (e.g. ${foo})
    . i7 V( |: Y3 P9 J
  47. 6 h' H# q3 F  Y9 V; v) b4 P
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:; w8 p$ G& Q; R$ U, q; k
  49. ; |  bitwise OR
    " X) d& E  ^9 E( \( j1 i
  50. ; ^  bitwise XOR" {1 B: B9 w( {# |3 J/ z
  51. ; &  bitwise AND
    5 F4 S- u: b4 m
  52. ; ~  bitwise NOT9 Z# C* g: x, _4 }% l$ j; J
  53. ; !  boolean NOT$ D5 ]! W! ^8 e  u4 G3 k

  54. & l8 m" l7 `& M0 q
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    % _$ h4 c# K$ l! K( _
  56. ; They can be turned off using the values 0, Off, False or No.7 K8 {1 [9 c) C2 p+ }
  57. / c5 x3 m! s2 n1 w. T0 P; Y/ H
  58. ; An empty string can be denoted by simply not writing anything after the equal8 Z  @. v: }6 J3 o4 A9 I
  59. ; sign, or by using the None keyword:
    8 l/ P7 f8 J6 [

  60. # z8 D1 @2 h2 g  M! P7 |
  61. ;  foo =         ; sets foo to an empty string8 S5 N. ^; _. T7 `- i9 V
  62. ;  foo = None    ; sets foo to an empty string! f; W4 B6 ~" z; ?& L# Z, P
  63. ;  foo = "None"  ; sets foo to the string 'None'! ?- e3 m; @1 d5 s- k# P
  64. & U  Y6 X+ E  T! O: v7 q% K) C0 Q
  65. ; If you use constants in your value, and these constants belong to a
    % x7 C0 k# r: c* L) ~5 U' L
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),: {3 m2 G8 p! U0 u! u, ?" S
  67. ; you may only use these constants *after* the line that loads the extension.* s; }7 X/ V6 u
  68. ; t* H4 j1 P* a( Y$ C
  69. ;;;;;;;;;;;;;;;;;;;
    . c0 A+ k& n+ b8 m( K! ?
  70. ; About this file ;
    ' ^) Y' v1 C* }) ]
  71. ;;;;;;;;;;;;;;;;;;;
    ) U2 q# p3 L% n7 E: p
  72. ; PHP comes packaged with two INI files. One that is recommended to be used* d2 E( I' r- ]( F2 b
  73. ; in production environments and one that is recommended to be used in
      T) g$ u. F0 Q. F9 @5 t3 j6 Z$ r% z
  74. ; development environments.) y3 E* u, d/ t! o

  75. / ?0 J3 M' J) e9 T: v
  76. ; php.ini-production contains settings which hold security, performance and# J8 L, T' X+ o% `
  77. ; best practices at its core. But please be aware, these settings may break: M1 x; W! ?: Q+ X
  78. ; compatibility with older or less security conscience applications. We
    % [# @$ X9 k! V
  79. ; recommending using the production ini in production and testing environments.2 P: Y' A, y. z( I4 ^
  80. ( n8 k' y$ s& M& ]# r3 x( Q
  81. ; php.ini-development is very similar to its production variant, except it is
    & I1 a" S; c7 o
  82. ; much more verbose when it comes to errors. We recommend using the
    2 I0 t* r3 n; V- w" L* Y8 t+ {, J" h
  83. ; development version only in development environments, as errors shown to
    6 Z7 C' C  f" T) A. {
  84. ; application users can inadvertently leak otherwise secure information.
    ( U' V% j5 q4 `2 s

  85. : x+ k5 E- b/ A
  86. ; This is php.ini-production INI file.
    . [# u/ @  j+ X$ U

  87. # P7 o+ q( Q8 K4 o
  88. ;;;;;;;;;;;;;;;;;;;
    * R. c( w4 p: H8 v3 h# g: S+ w, J
  89. ; Quick Reference ;
    - d- f1 ~/ [+ L
  90. ;;;;;;;;;;;;;;;;;;;
    6 N  {' y: K( m9 k+ D& ?# N& b: }
  91. ; The following are all the settings which are different in either the production
    0 U8 S% w# b/ e+ d; {  {# b" Z
  92. ; or development versions of the INIs with respect to PHP's default behavior.1 o( o1 P$ d( g7 Q
  93. ; Please see the actual settings later in the document for more details as to why
    8 l- Z' R- |8 Y6 v
  94. ; we recommend these changes in PHP's behavior.6 R4 I3 y- k' K/ Y7 q( Y0 R: F' {7 i
  95. ! K* ~) T5 C; J' \; d6 D
  96. ; display_errors
    . _/ N; u( M1 X" a# Z. m0 ]
  97. ;   Default Value: On
    , _6 Q! S4 \( H
  98. ;   Development Value: On; [; ^2 v- x( l% i* S& A! y0 ]5 J
  99. ;   Production Value: Off
    / q( c  C3 b  N4 t1 h* R. t

  100. , l! Z# A4 ]# p3 h6 C
  101. ; display_startup_errors
    : y8 O7 t( ]/ A, Z& z
  102. ;   Default Value: Off, q* C" f4 d8 s' _. j
  103. ;   Development Value: On/ [  R& t! {2 b$ @, I
  104. ;   Production Value: Off
    : t8 w7 b5 G, ^! O# Q8 }$ k
  105. ) s3 H# Q7 m0 G9 D5 G
  106. ; error_reporting  U" _, [* C) n0 ?9 q* [" p0 \6 ~; k5 z
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ) ?1 s1 n( M. g4 R5 g
  108. ;   Development Value: E_ALL
    & i1 g! f. k, Z, T& c0 X
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT' o; z* \. R2 j6 n, l' k% r: z
  110. " k0 I( L9 P: \( w+ s6 ]' x
  111. ; html_errors
    + f) h7 u6 v9 q, f) Z2 {
  112. ;   Default Value: On9 N8 `3 H! A% P2 |9 V
  113. ;   Development Value: On
    , M$ F: s8 b0 G) a# N2 W: b% Q+ I
  114. ;   Production value: On- A* b, H6 }% h1 Z# y* c

  115. # e& b1 e4 I+ Q! g- O$ `$ ~( s, v
  116. ; log_errors
    3 j$ W' D: m* b% ?6 I
  117. ;   Default Value: Off
    / J( @  ~* k4 X
  118. ;   Development Value: On
      ]3 @6 H& P" R" Z$ O) j3 I  D  U
  119. ;   Production Value: On4 q* N) f# P$ M8 ^* |
  120. 6 {6 b' ^6 k' ~9 X: N
  121. ; max_input_time
    4 S4 ^/ D: Q4 z# ?( v- Z/ }
  122. ;   Default Value: -1 (Unlimited)
    / }: c/ v6 s4 U1 E- ~
  123. ;   Development Value: 60 (60 seconds): r  i  @0 w$ `( g- C  N0 M
  124. ;   Production Value: 60 (60 seconds), ^0 N( k2 @/ A' J  A
  125. 0 U+ V% t0 X) X8 H
  126. ; output_buffering' j, K0 Z8 F, y5 U& h! @
  127. ;   Default Value: Off) d+ G# k5 @$ m
  128. ;   Development Value: 40968 n8 ]* Y8 f4 X# Z7 l3 G
  129. ;   Production Value: 4096
    6 K& k& O+ h9 Q/ }8 y* L
  130. , s7 h. i1 `! u/ l+ s0 F+ _, }4 f
  131. ; register_argc_argv/ U8 |0 l8 |) u$ b  a+ g( y" U
  132. ;   Default Value: On
    % n" y) C0 \1 |9 m# s
  133. ;   Development Value: Off1 P/ m1 [3 T8 Q
  134. ;   Production Value: Off2 N0 E7 S' K  s1 }) ]+ \
  135. - E& v  j! }! Y3 ~
  136. ; request_order3 @! L: p6 V) B! p3 g
  137. ;   Default Value: None4 s- g9 s4 }* y( n4 j1 s
  138. ;   Development Value: "GP"- a* l, x% h$ E" @. e; s& M
  139. ;   Production Value: "GP"
    - r4 S/ T/ U' x+ p
  140. % H/ S) r; j8 L: M1 ~
  141. ; session.gc_divisor& s: g7 \# D! S- F  O8 }1 D/ q/ W* ^
  142. ;   Default Value: 100/ g8 z+ h1 j5 `4 L) J+ W
  143. ;   Development Value: 1000
    * Z8 a# i* w" Y5 u* i4 J2 S
  144. ;   Production Value: 1000
    3 l( l0 f# ?% B; Q+ w2 C( w/ x
  145. 8 P2 W5 V. q: i' R0 [
  146. ; session.hash_bits_per_character- E5 `7 b+ d4 C/ x: A, i* }
  147. ;   Default Value: 4
    ! D8 z; q0 A$ |/ O+ @2 `6 Z+ ^
  148. ;   Development Value: 5" s" }0 Y6 k7 S4 B/ w
  149. ;   Production Value: 5' a, f0 W  D6 d3 z

  150. ) x  z/ q7 H" [1 m) T& B7 ?% I5 w
  151. ; short_open_tag9 ?8 |/ p/ g) [' w7 ?* \( W* K' F
  152. ;   Default Value: On" E2 [# l( u& W
  153. ;   Development Value: Off8 ~. ^3 l( a$ z8 X$ |$ H$ `& E
  154. ;   Production Value: Off4 x, u$ z% h: }' ~  d, S

  155. 0 e3 c6 e" N( m2 P) }5 G/ Y
  156. ; track_errors
    # r& }: k. k" d( w* H; Z" Q2 i- B7 ^
  157. ;   Default Value: Off  [' W! a# B: z! Q/ L3 m
  158. ;   Development Value: On
    5 g9 T; v+ j. S  w( R8 U" b
  159. ;   Production Value: Off
    7 H, w1 G" v% c7 C! w! T

  160. ( N* x) q; O, z. D5 p& j
  161. ; url_rewriter.tags- h3 [0 ~1 \) k  N( S' y  z
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=". ?$ A( c7 |: H( G7 l" m# J
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 }  v$ {3 e- g# f4 I& ~
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 Q6 b" V& c. ]+ a1 H$ h- J) a

  165. % ?# O' W& O* {4 l* O! M
  166. ; variables_order
    # D: ^' ]- D7 U* V5 Y
  167. ;   Default Value: "EGPCS"& h$ p$ G* n* J1 {8 s, M% X. Y. v5 k
  168. ;   Development Value: "GPCS"' n3 P- A$ U" t
  169. ;   Production Value: "GPCS"8 p5 T# B% C0 o& u

  170. " c6 f; M. J# V2 G% i! l
  171. ;;;;;;;;;;;;;;;;;;;;, \$ x8 x2 K; Y# ?5 }  Y
  172. ; php.ini Options  ;  x" X+ \1 }3 {
  173. ;;;;;;;;;;;;;;;;;;;;6 m1 d3 S, L  |- N' L4 o% U- i
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    6 q4 L, v. d* y$ F! M
  175. ;user_ini.filename = ".user.ini"* K& }0 e2 j1 N8 i+ N2 b: E$ V' e! `1 l

  176. 1 Z1 Z6 @( i8 I1 u3 i2 C
  177. ; To disable this feature set this option to empty value
    ; \3 d9 h( w5 B
  178. ;user_ini.filename =
    ! I* x* c$ Z6 P6 Q6 s6 ?
  179.   Y3 \6 D2 H0 P# |. W/ R
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ) l! s( m! p7 H: S! K( x! c
  181. ;user_ini.cache_ttl = 300
    ; u# V: A7 |/ ^" {8 U# b6 p
  182. . {2 c* e5 z2 ^7 `; m4 q4 c
  183. ;;;;;;;;;;;;;;;;;;;;
    1 ]8 o+ I+ H8 U( m9 \
  184. ; Language Options ;' y% O1 f, H6 D$ J/ f
  185. ;;;;;;;;;;;;;;;;;;;;
    ; \; T: S7 a  \7 D; s

  186. 8 H+ T  o- U: a! K) H8 J8 z
  187. ; Enable the PHP scripting language engine under Apache.
    $ d, J6 x  h& b! r' i
  188. ; http://php.net/engine* k  l( M/ x5 ]0 d
  189. engine = On9 e1 L. S9 ?0 [$ g) V0 G
  190. 3 J3 k5 f$ e  x: A+ o. V
  191. ; This directive determines whether or not PHP will recognize code between
    ( v' F5 D* n$ t1 r6 q6 y
  192. ; <? and ?> tags as PHP source which should be processed as such. It is# V; p% W  u; j! _8 W: N- S
  193. ; generally recommended that <?php and ?> should be used and that this feature
    3 ?5 Y3 _) y) V% N1 S
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ; i" ?# U1 `, s- D" L( a* a
  195. ; documents, however this remains supported for backward compatibility reasons.: M! [  q# i+ P! z$ U
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ! K. G7 l& s! X" S& k8 a4 q( y
  197. ; used regardless of this directive.
    ( ^, t# t, G' t6 U+ ^9 `
  198. ; Default Value: On
    : }) V! L' ]" R9 e; A& e9 G
  199. ; Development Value: Off
    , g& c# N4 z# g1 D& d- q* j9 l1 _
  200. ; Production Value: Off
    ( K. t1 u! \# e. [
  201. ; http://php.net/short-open-tag: i' N) l4 |2 L5 c! I
  202. short_open_tag = On4 z$ ]: k) M; a) e% _
  203. - A. z0 I+ ~. y  Q
  204. ; The number of significant digits displayed in floating point numbers.& n+ Q* z4 Q0 L
  205. ; http://php.net/precision
    8 ~! h1 t8 m+ a' z4 I, D. I/ N# ^0 a
  206. precision = 140 W( E3 c7 I9 c  ~7 }# W

  207. ( r: m4 e2 k5 L9 r3 J! x. e6 f
  208. ; Output buffering is a mechanism for controlling how much output data4 g4 K3 z5 ^$ }: d, K$ E: a
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that) z  L, B' [5 r' k
  210. ; data to the client. If your application's output exceeds this setting, PHP
    : r9 D0 i2 b) {
  211. ; will send that data in chunks of roughly the size you specify.5 ]" Q* i, K3 O' a2 p
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    " F1 A# c+ g- S( l& `3 j
  213. ; interesting side-effects depending on your application and web server.
    ; S+ i8 Y2 D& l! M0 f0 U5 d
  214. ; You may be able to send headers and cookies after you've already sent output
    2 V, W8 Y% [8 Y7 ^
  215. ; through print or echo. You also may see performance benefits if your server is$ G  G# P8 y" u/ d' N
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    $ s  Z# s' I4 l! s# I1 F5 g- [
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    9 a- g% {& o' w2 s! Z7 L8 O2 K: N
  218. ; reasons.: f' y) [: H  `5 G3 P2 S
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    ' g  j- q/ k( @; T: b9 E% d
  220. ;   functions.
    6 a7 M9 m0 g% Y! L4 t' g' {
  221. ; Possible Values:
    : ?# @& f4 V% y3 f9 u; c
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    $ k; r. v3 R% `& w5 S% W# M
  223. ;   Off = Disabled
    7 Z- H7 e3 v- y4 g* `" y3 Y0 |
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.7 a) s# i$ r5 `0 q; V+ j2 n
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI0 t7 k6 P% Y! ^. o& t% s5 L
  226. ; Default Value: Off
    * \+ O8 E  c- Y3 y
  227. ; Development Value: 40966 b# q$ {/ ]% `, y: }6 ~
  228. ; Production Value: 4096
    8 W, |9 M9 s. O5 `
  229. ; http://php.net/output-buffering4 {* V1 ?: m+ n. q( j: @- T
  230. output_buffering = 4096
    4 [" r5 H. r" ?1 h  a

  231. 6 T/ A' B* A, R; i$ \
  232. ; You can redirect all of the output of your scripts to a function.  For4 q0 f  f7 t% S2 x' S
  233. ; example, if you set output_handler to "mb_output_handler", character) C# u4 `3 K! y2 f5 l$ x5 u7 O
  234. ; encoding will be transparently converted to the specified encoding.
    ' L0 _  \7 `- e. P- t; E
  235. ; Setting any output handler automatically turns on output buffering." l9 S& T7 f- E! q5 W  Z9 ~7 k
  236. ; Note: People who wrote portable scripts should not depend on this ini
    " s1 N: }! {# D5 R5 T
  237. ;   directive. Instead, explicitly set the output handler using ob_start().( _: _0 U8 L) \) A" d+ Y
  238. ;   Using this ini directive may cause problems unless you know what script+ K9 R& m- _) n" _9 @2 d& j) t
  239. ;   is doing.
    + d0 P) d$ V9 X! U& x
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"* J; X! I$ W8 N( g7 W4 W
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    8 l: o4 b# ?( @; z- D
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    # C4 Z+ B  i: h
  243. ;   Instead you must use zlib.output_handler." z4 ]( m, V& T8 F2 w, d3 M. h
  244. ; http://php.net/output-handler
    ! f$ l+ D. ^, X: k
  245. ;output_handler =+ J% `1 S7 V( ]$ T4 s' g
  246. 8 l0 p. s, ?! e
  247. ; Transparent output compression using the zlib library
    . L8 c8 g- _, v* Y% ]( |% `8 J' C
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size. A5 R# [- m: f- Y# c
  249. ; to be used for compression (default is 4KB)
    ! p0 ?4 m5 q) |7 C6 ?. W
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP: _, {% X0 G! B( a: J; Z
  251. ;   outputs chunks that are few hundreds bytes each as a result of- N$ o6 T" p( U* b! Q, T* p
  252. ;   compression. If you prefer a larger chunk size for better
    $ W8 Y" b5 R6 N* v5 Y, Y
  253. ;   performance, enable output_buffering in addition.: O( I" A4 X! H$ ?
  254. ; Note: You need to use zlib.output_handler instead of the standard: n( \5 w( h' M8 M" ]
  255. ;   output_handler, or otherwise the output will be corrupted.3 ]; R2 O% Q2 `! _( S% _
  256. ; http://php.net/zlib.output-compression0 s5 ]3 p/ V0 k5 m
  257. zlib.output_compression = Off0 @5 A7 g1 |7 K
  258. 0 s/ I  u# Z6 v- I
  259. ; http://php.net/zlib.output-compression-level. F$ u# h) A! {$ u. N" E) z
  260. ;zlib.output_compression_level = -1
    . Z0 n/ t; a- b& q

  261. * R, |( Q6 O; [! u8 r; V
  262. ; You cannot specify additional output handlers if zlib.output_compression
    9 R! l8 V6 ^7 u, C9 L
  263. ; is activated here. This setting does the same as output_handler but in. ~$ c: Y1 I; D+ G
  264. ; a different order.* r( O- z/ k' f& ]& I2 }5 U
  265. ; http://php.net/zlib.output-handler
    / P5 ]( m' ^( A1 b2 Q
  266. ;zlib.output_handler =$ O) @# V; q4 `- o- @) w
  267. % t8 M1 Q. V; n
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    2 j; d" }3 T4 N/ ^  P2 ~
  269. ; automatically after every output block.  This is equivalent to calling the; q" [8 ?7 k4 {7 R8 N% Y" U' _
  270. ; PHP function flush() after each and every call to print() or echo() and each$ T1 i7 Y  K' W" u. B
  271. ; and every HTML block.  Turning this option on has serious performance, Q& m8 u& z8 r! W2 g
  272. ; implications and is generally recommended for debugging purposes only.
    / C# I: y# ?0 l- O# i6 X( w
  273. ; http://php.net/implicit-flush% c$ M- q9 P1 B. G$ u2 m- D
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    7 _/ }1 f5 I% Q7 w
  275. implicit_flush = Off" R, {! X  l! T' ?' I! c* M
  276. # N- ^! R! n. }  l# f9 b$ J( g
  277. ; The unserialize callback function will be called (with the undefined class'
    / O! ]+ e# y8 s
  278. ; name as parameter), if the unserializer finds an undefined class* A- x# x1 j7 R5 [3 @9 ]! |4 o
  279. ; which should be instantiated. A warning appears if the specified function is
    ' B6 d; m/ x0 h; Z/ o) u
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ; B4 O- ^) _8 A! i# {' r
  281. ; So only set this entry, if you really want to implement such a+ m, n9 G) T9 ?  a! B! T( I
  282. ; callback-function.
    $ `& B  `& A0 t0 l0 I; o1 k
  283. unserialize_callback_func =: s3 x+ H, Z- x) n+ T# I; R3 |3 N

  284. ' M; t. Q0 b  Z% @$ D, I7 [
  285. ; When floats & doubles are serialized store serialize_precision significant
    ) n+ a$ d1 S0 o6 j
  286. ; digits after the floating point. The default value ensures that when floats
    : ~9 _- v. Z3 ~. B$ J. l4 I
  287. ; are decoded with unserialize, the data will remain the same.0 ]/ H- `) s/ i$ N
  288. serialize_precision = 17
      J6 N/ _5 U9 B% s, F
  289. $ ^" p  e* W. f; [; E8 l% u
  290. ; open_basedir, if set, limits all file operations to the defined directory
    6 X0 L) C: I9 E! {( }( m
  291. ; and below.  This directive makes most sense if used in a per-directory! V6 ~" l* s- A/ F* ^
  292. ; or per-virtualhost web server configuration file.
    5 v; v( G: X4 H( y: v2 v8 Z/ D2 c
  293. ; http://php.net/open-basedir
    . v* g; B0 C1 y; k0 i* Q- y0 H# b
  294. ;open_basedir =
    7 x2 `4 _" l4 p+ H6 N4 q

  295. " A0 c. v+ l7 h! O
  296. ; This directive allows you to disable certain functions for security reasons.! o$ C$ S) k0 S9 C6 _
  297. ; It receives a comma-delimited list of function names.
      \0 ^/ z& j6 k- W4 S
  298. ; http://php.net/disable-functions
    $ a2 |5 ~( w# O9 M+ m
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru; g$ D* f- k: L! T& V/ {

  300. 9 {& Q' o# |  p3 E2 o
  301. ; This directive allows you to disable certain classes for security reasons.
    9 b7 _! c8 n7 u/ F8 ?5 c# W
  302. ; It receives a comma-delimited list of class names.4 m/ ^1 @1 q" ^' ~4 g6 c
  303. ; http://php.net/disable-classes
    8 Z1 R& m- h6 |! I" B' S  S, G  @$ P9 J
  304. disable_classes =
    # |2 U3 l3 J4 L% |! z+ j: J+ y4 j

  305. 4 E! C0 B. J3 K4 y8 j/ |6 N" D" p
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    % J+ j/ M5 d. h$ o* {5 {8 q
  307. ; <span style="color: ???????"> would work.
      Z2 |/ K( Y6 R  ]1 Q' g
  308. ; http://php.net/syntax-highlighting* ^1 u/ j8 R- d  {( [4 I4 b
  309. ;highlight.string  = #DD0000
    / \1 }! J" c/ V% F* U3 h
  310. ;highlight.comment = #FF9900, g. T) |& v/ M0 k0 I, W
  311. ;highlight.keyword = #007700
    + t. I  T0 D: G6 I9 g/ o8 e
  312. ;highlight.default = #0000BB
    2 @) R& h; w* O# j
  313. ;highlight.html    = #0000007 ], Y2 s; M* U7 U

  314. % A) {; A  \8 n3 ~
  315. ; If enabled, the request will be allowed to complete even if the user aborts8 k+ U: N& H$ d& v. ^) i
  316. ; the request. Consider enabling it if executing long requests, which may end up
    / ^0 S6 o: A! g# M; P# A" r: p9 \
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior/ Z% l: O3 Z* X
  318. ; is to disable this feature.
    8 I0 Z5 t$ u' [; P7 z2 x: P
  319. ; http://php.net/ignore-user-abort% L  c. W' f5 v5 u5 ]3 O
  320. ;ignore_user_abort = On  Q6 Y& R8 s2 K' ~/ P
  321. 2 U& ?2 r' ~  l( u0 E2 j9 H) B
  322. ; Determines the size of the realpath cache to be used by PHP. This value should2 \: c  O# N. m! _+ Q) M* A3 |5 k
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    . A- b5 W1 ]  S9 c' w
  324. ; the file operations performed.+ z9 M+ l7 i6 U* G4 @, `
  325. ; http://php.net/realpath-cache-size# W" O. X8 |% Q- M; s
  326. ;realpath_cache_size = 4096k
    % x$ t" ]. \8 y

  327. # W+ T" F8 ^* a3 ~7 {! |
  328. ; Duration of time, in seconds for which to cache realpath information for a given4 o4 n: V: r- M
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    8 |" c5 c/ K0 ]. ^
  330. ; value.
    4 [  c1 N' a' A4 K
  331. ; http://php.net/realpath-cache-ttl
    ) s8 P# s- g9 a
  332. ;realpath_cache_ttl = 120  D: v5 B9 Z" j1 l, G1 s

  333. , I" _. |" C+ x: y
  334. ; Enables or disables the circular reference collector.$ I" N2 |+ l: i3 z4 D  }
  335. ; http://php.net/zend.enable-gc6 }' j: I& k# W4 P7 H$ A0 [% x1 Q8 U
  336. zend.enable_gc = On
    ) ~$ u. [$ Q! m1 T

  337. . F* p# L+ a) D$ \
  338. ; If enabled, scripts may be written in encodings that are incompatible with0 H0 R6 x( y! U3 X
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such0 C4 \/ T) ~7 G; A0 [  j
  340. ; encodings.  To use this feature, mbstring extension must be enabled." ^2 F+ V( F# k: R- l5 r0 b
  341. ; Default: Off
    6 P5 S  g. V3 b6 Q
  342. ;zend.multibyte = Off0 ]1 J7 b# e6 B9 ~+ U

  343. $ `4 D0 y* r! b$ C+ w9 ~% ]; b
  344. ; Allows to set the default encoding for the scripts.  This value will be used" C, Q! z4 o+ t/ e3 s" ^8 u
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.' |; g. a: a& Y. b
  346. ; Only affects if zend.multibyte is set.* ^# |/ Q/ X* n5 y: E6 B6 G
  347. ; Default: ""
    8 ?5 C) N; f2 k# O* }2 }; E
  348. ;zend.script_encoding =( w/ ^7 S6 ?* i7 X% p

  349. : T; Z* Y* m% t) B& B3 y
  350. ;;;;;;;;;;;;;;;;;) w* M1 y* b* X, f/ k5 B
  351. ; Miscellaneous ;. o; d% h5 _1 ]
  352. ;;;;;;;;;;;;;;;;;
    ' N5 w3 R, \/ _3 U) U" t& f& G
  353. & i- R  p4 y. K7 i$ M* I
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    - _) V5 a( w- }
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    0 K; X: P0 `' l8 y/ \2 U
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    : R5 v6 d/ [. }# q$ ^
  357. ; on your server or not.6 o4 h9 q; s; h8 T8 z
  358. ; http://php.net/expose-php% ], S! ?) V$ E8 d3 r) _
  359. expose_php = On/ y7 c3 d0 C! `2 K  w4 k! W& r
  360. / P! Z- U! {* d2 U2 K3 c* F. ]
  361. ;;;;;;;;;;;;;;;;;;;. k+ c% Q4 p  G  ^4 j" A& F' F
  362. ; Resource Limits ;
      a; A$ ^3 f' V2 ?
  363. ;;;;;;;;;;;;;;;;;;;' n  W  N% U8 q. ]

  364. : A4 m; k4 p8 _% k" [8 ~
  365. ; Maximum execution time of each script, in seconds: Q% A# e4 d  v7 i8 @$ D; x
  366. ; http://php.net/max-execution-time
    ; ^$ `: G. M7 q' b
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    5 c. v: |9 ^. B( e  L/ `2 O+ f& E& p
  368. max_execution_time = 300
    + L& f( u- D- N

  369. 2 R  i* Y: i! q7 t; O% @; {. O& f8 `
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    ) V; `" N0 w8 m& C! s, \' {( u1 A8 ]
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    $ q9 S  u* Z4 ^" ?1 j1 A
  372. ; long running scripts.9 m2 V9 b) V" W! k; Q) B# W8 \$ F
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    : N6 X( f2 [' Z" C  V8 I
  374. ; Default Value: -1 (Unlimited)
    ; a+ @+ E3 |1 p5 A
  375. ; Development Value: 60 (60 seconds)
    % d  [  v  Y0 m
  376. ; Production Value: 60 (60 seconds)- E/ {9 f5 X. [9 A4 l
  377. ; http://php.net/max-input-time
    0 P( y7 l. ?4 \% ]
  378. max_input_time = 60
    9 r4 Q* ]$ V5 {, F  }1 d

  379. 8 G9 P- O( r4 c3 o( F5 {) y7 T
  380. ; Maximum input variable nesting level/ ?9 d, U9 S+ s! y: D! b1 ^
  381. ; http://php.net/max-input-nesting-level
    4 ]; l! C/ }4 v# A; ^) l* ?6 r
  382. ;max_input_nesting_level = 64
    8 R% [. t2 o) P! j

  383. - y+ o3 K' `( B; B3 ?8 D- F
  384. ; How many GET/POST/COOKIE input variables may be accepted5 u8 d- Z+ E6 r& ~! U$ H, `
  385. ; max_input_vars = 1000
    0 `  i9 J7 M; d! @1 z5 O# l

  386. - V9 j& Q* ?9 o$ Y/ Q. ]
  387. ; Maximum amount of memory a script may consume (128MB)* d0 \0 P* a9 {( s5 u7 ]
  388. ; http://php.net/memory-limit
    * H4 r: |7 I7 q, d% i% X7 U
  389. memory_limit = 128M
    - ^2 [( S; D- w! C! B6 e# g4 M
  390. 7 @; y2 m7 M. u. k: Z; D, c# c$ E
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    , a( d  g) W" U+ T( b% k1 [
  392. ; Error handling and logging ;
    ) W' @/ \9 O& X2 o" f& ?
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    # ~7 o3 {5 {7 B/ `: w/ W

  394. 3 I  \. c# Q1 r% V0 B
  395. ; This directive informs PHP of which errors, warnings and notices you would like6 _) I3 P/ H) _
  396. ; it to take action for. The recommended way of setting values for this& z2 U# p" c. b: d; T0 o+ |
  397. ; directive is through the use of the error level constants and bitwise. S# I; B  n! Z$ l& x6 N+ a7 ]8 B
  398. ; operators. The error level constants are below here for convenience as well as
    , L* M. v* g1 i$ ]6 O1 n
  399. ; some common settings and their meanings.
    2 C2 j( J! b# B2 I
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT" N3 y9 B. _3 Q  p
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and' T4 R0 o0 c7 r. O) I4 ~
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    5 P1 g! q1 {: x& m4 L: ^: `
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    0 ^/ c+ a. m% G
  404. ; resources complaining about best practices and coding standards. That's what9 r9 M" X4 m  r3 K
  405. ; development servers and development settings are for.
    6 @1 K8 [% q& a0 Y% H+ w
  406. ; Note: The php.ini-development file has this setting as E_ALL. This) E4 g* R$ \, y: C
  407. ; means it pretty much reports everything which is exactly what you want during$ I0 q( |' V5 p+ Y: n
  408. ; development and early testing.4 N( W7 s, l( u4 C# z: k
  409. ;0 w( X9 ^$ _2 E" Y
  410. ; Error Level Constants:
    2 U6 ]: \, O- ~
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)7 }; d, ]% \/ ~  v2 ^2 j
  412. ; E_ERROR           - fatal run-time errors
    1 S+ T( m5 c3 I( w
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors3 B6 z( y2 ^) x% F* M
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    0 C) U: Y3 c6 S3 l8 ]
  415. ; E_PARSE           - compile-time parse errors! N# J! z- Z% }. q& k& U& Z* S7 b
  416. ; E_NOTICE          - run-time notices (these are warnings which often result! O( t- R& Y( \6 v
  417. ;                     from a bug in your code, but it's possible that it was
    - h. ~' v/ F/ k) \
  418. ;                     intentional (e.g., using an uninitialized variable and
    5 F! q$ M5 d+ o
  419. ;                     relying on the fact it is automatically initialized to an
      ?" w: L9 E) u2 C% p; D% x/ t
  420. ;                     empty string)  L" p3 j" A6 [' r8 W  m
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    . R: H: ?0 c2 I' P
  422. ;                     to your code which will ensure the best interoperability% |& `- N' b, G3 j! f+ T
  423. ;                     and forward compatibility of your code
    0 _9 Q8 _& E" l
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup3 }8 a# W7 e$ S5 {0 E7 @; G1 r
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's1 ~! \) {' j1 E! H
  426. ;                     initial startup( n# ^( q" Q+ n) n9 y
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    3 y$ l1 i% f" C6 @' K. L
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    7 s  M3 z" }& o8 [" Z/ r
  429. ; E_USER_ERROR      - user-generated error message
    6 L' s; g: d. J% V! ?+ v" }  U
  430. ; E_USER_WARNING    - user-generated warning message
    ) F4 S$ V0 h# [- T
  431. ; E_USER_NOTICE     - user-generated notice message, F& M7 |: A- n0 D# V
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    # }; V% U3 Z: j& l1 V
  433. ;                     of PHP
    ; {0 f- p: b7 b% P: z3 X
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings: \0 {6 S$ i8 I. w' U0 ~6 G
  435. ;
      ~& Q* l& h  w8 `$ t2 Z+ B
  436. ; Common Values:
    1 `* g' u( T; x
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    . t8 y% E. ?) s- u/ q: l. G
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ' N6 d2 ?# _5 K) ^) e
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    7 n  U7 S3 l1 [) B0 A4 z
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)+ d9 @/ G7 O+ `& H8 M
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED& \% E$ [8 Y. C" R% k9 Z$ u! c, a
  442. ; Development Value: E_ALL
    4 r; j. r1 @1 y3 B+ V- ?8 e, Q
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    , z  P4 d0 q9 g- Y( ]0 K
  444. ; http://php.net/error-reporting& A3 ^+ N' L* O+ m& E
  445. error_reporting = E_ALL & ~E_NOTICE* W' }' O. K/ Z: S

  446. 3 V4 i+ C- k7 ^, O7 @4 t& A
  447. ; This directive controls whether or not and where PHP will output errors,
    . m$ }9 {/ ]- H2 g7 @8 Q) v
  448. ; notices and warnings too. Error output is very useful during development, but
    , v+ d9 V8 b$ r7 k1 {5 p
  449. ; it could be very dangerous in production environments. Depending on the code
    . T  `+ e2 J9 G* S
  450. ; which is triggering the error, sensitive information could potentially leak
    8 \- Y2 c8 `/ J$ L# @
  451. ; out of your application such as database usernames and passwords or worse.
    ; R0 ]  M7 @" }7 p+ b
  452. ; For production environments, we recommend logging errors rather than. e; Y( ?8 u) [( Y% o" m) P6 P2 ^1 c
  453. ; sending them to STDOUT.
    7 D5 t+ h& N! e
  454. ; Possible Values:
    3 g; ^; C- w+ z1 {0 A/ M8 w
  455. ;   Off = Do not display any errors4 ^; o5 ?" r9 F) R% T1 `+ d# h: I
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)6 q. D. c' a* k+ q- l
  457. ;   On or stdout = Display errors to STDOUT% F& g" @+ @- s" B- s8 o" d0 i
  458. ; Default Value: On
    8 g; ^) r1 `8 f
  459. ; Development Value: On
    % \  |- i+ I3 ^7 w5 {* u) K# [
  460. ; Production Value: Off
    3 t8 K. H/ ~3 @6 ?4 O" t3 E
  461. ; http://php.net/display-errors8 m9 C2 |' p6 o$ E, a" q7 d- r
  462. display_errors = On6 z. ]# n6 d: d! G
  463. 1 O* N" u: v5 M* Y. b& k
  464. ; The display of errors which occur during PHP's startup sequence are handled
    / K1 P: \+ H% c% x( x. a
  465. ; separately from display_errors. PHP's default behavior is to suppress those! E! F9 a7 H5 n1 S, m
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ( \8 ?. K9 }% _7 N$ \" s$ N' m
  467. ; debugging configuration problems. We strongly recommend you6 P) B2 |0 K5 s8 E; i+ T5 m9 k3 N
  468. ; set this to 'off' for production servers.) V/ b% W  H8 L- F7 N
  469. ; Default Value: Off& U, E. O% k& k9 a& ~! D( X
  470. ; Development Value: On
    8 t# E! |: N- O, t
  471. ; Production Value: Off9 s* a9 L' j6 @+ X
  472. ; http://php.net/display-startup-errors& Q5 j( [, a  Z" v, P7 P" D
  473. display_startup_errors = Off+ A# K" d# P+ T; p

  474. 0 a0 n/ n7 A# Y4 J' S
  475. ; Besides displaying errors, PHP can also log errors to locations such as a4 @/ f* r2 p1 f# h$ X5 W
  476. ; server-specific log, STDERR, or a location specified by the error_log
    $ m# g% Y1 _  Z0 t/ ]
  477. ; directive found below. While errors should not be displayed on productions( G3 x1 Z% [. O) F
  478. ; servers they should still be monitored and logging is a great way to do that.
    ! j- t/ Q4 K% z3 k
  479. ; Default Value: Off
    0 }( n0 U- j8 v/ t8 F" [
  480. ; Development Value: On9 R0 x/ I- c5 w0 _# u
  481. ; Production Value: On3 ?2 d7 O% y( H4 m  {5 s
  482. ; http://php.net/log-errors
    ; w* F# l1 ^. e( p/ h6 g
  483. log_errors = On
    ' g. j. K4 ?9 N- \4 T: [% J9 |
  484. * o/ q% N( h' N* [
  485. ; Set maximum length of log_errors. In error_log information about the source is
    1 B" X8 [4 ]! `+ N5 l
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    : ?' @) O3 A/ A* h: r
  487. ; http://php.net/log-errors-max-len+ @6 k2 M4 U/ d% P
  488. log_errors_max_len = 1024$ [4 t* ^- w* Q  U; b

  489. " C2 Z; }/ i4 w$ D; s
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    / m" p' L5 x* [: l1 u0 h3 {
  491. ; line unless ignore_repeated_source is set true.
    + K' o2 g! U9 h1 }
  492. ; http://php.net/ignore-repeated-errors- H1 i) o# u$ {9 G0 ?
  493. ignore_repeated_errors = Off9 L: F* \4 \6 r

  494. 7 i+ v. q7 [4 n4 L  C- m% z  H
  495. ; Ignore source of message when ignoring repeated messages. When this setting% p& {- G% n3 T$ `7 C8 i
  496. ; is On you will not log errors with repeated messages from different files or1 {: X* P& x* u
  497. ; source lines./ E1 [/ C7 y' |5 p# t
  498. ; http://php.net/ignore-repeated-source. v( i3 k& \1 K1 \
  499. ignore_repeated_source = Off/ V3 Z1 V$ y2 K8 {8 a* n2 K# i1 Z

  500. 4 p' ^! r5 [# J8 U$ \
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    , l/ v3 q8 J& Y6 `6 Z3 l7 r. h' Y) Q- }
  502. ; stdout or in the log). This has only effect in a debug compile, and if- B' A3 u. Z2 J6 h/ a
  503. ; error reporting includes E_WARNING in the allowed list! I* B; Z6 ]8 ^* z
  504. ; http://php.net/report-memleaks
    4 i+ e) k- w1 N9 z* X: C0 L
  505. report_memleaks = On( f7 g/ r4 M- A7 g7 d

  506. 3 B* \7 o5 S- |+ {7 k
  507. ; This setting is on by default.; m4 o, A# Z( R- C. K, Y6 M$ `
  508. ;report_zend_debug = 07 W+ J1 o/ A- z; u* H' u9 y7 u! q

  509. ( \* O( m3 }6 A. ^  ]4 a
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value' X* }( W, v4 e# I
  511. ; to On can assist in debugging and is appropriate for development servers. It should9 h* w+ E7 ]- C, d7 x
  512. ; however be disabled on production servers.& J" U0 Y# R7 O; i
  513. ; Default Value: Off: V: a/ l5 r6 _1 y2 A8 }) V
  514. ; Development Value: On
    8 \6 U( y, w+ p
  515. ; Production Value: Off  e! P4 L+ ~3 c; n
  516. ; http://php.net/track-errors
    1 I8 }5 W8 i6 h' C4 O& R
  517. track_errors = Off; m: q+ v3 o/ z0 f+ h3 X* }/ i6 w

  518. - O, _. W& j6 c& L1 P6 H
  519. ; Turn off normal error reporting and emit XML-RPC error XML! E. B. X) l% J& ^+ ?
  520. ; http://php.net/xmlrpc-errors
    , p) `! C* u& ]2 R2 o9 S! v
  521. ;xmlrpc_errors = 0
    1 o! {8 g) z  z/ s

  522. 6 u) ]2 w" S9 J, U. N) j( l
  523. ; An XML-RPC faultCode
    ( D& f7 V1 N5 q, S# u) ]/ ?
  524. ;xmlrpc_error_number = 0
      L1 ^2 e) {, l& s' o0 B/ c

  525. # s$ Y6 c$ Q# S7 ^- ~/ w" u
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    3 }2 ?3 Z9 @( W
  527. ; error message as HTML for easier reading. This directive controls whether
    & C+ [& \$ ], h/ [  |% R
  528. ; the error message is formatted as HTML or not.
    . |  _6 ~6 |4 N: n/ {) ?+ X& L
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    - ]0 Q, f$ d% u9 n; K% x
  530. ; Default Value: On
    & M6 L* `: A$ I1 b; c" b
  531. ; Development Value: On
    " ?: i" R. ?! _; w" X9 w  D
  532. ; Production value: On; p/ _$ j" o- C
  533. ; http://php.net/html-errors, n' m2 s9 F9 o  [) S
  534. html_errors = On+ E! z  c2 C# p2 u8 f

  535. 6 I3 _* I- V/ M* w6 ?0 x0 s# R+ t3 J
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP# F7 A, t0 |( y0 b3 ^7 w( w4 T+ I8 b0 A
  537. ; produces clickable error messages that direct to a page describing the error* m3 p5 Q% F- c& ]* k- |8 _
  538. ; or function causing the error in detail.0 z" R! h9 Z# @+ `$ c
  539. ; You can download a copy of the PHP manual from http://php.net/docs9 Z8 @. h6 ?% U4 ~
  540. ; and change docref_root to the base URL of your local copy including the
    % ^+ s$ O% _; w( q
  541. ; leading '/'. You must also specify the file extension being used including8 D4 v: w' K- t; n( i
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which& |( [- V3 s, S6 B" I7 t( u
  543. ; case no links to documentation are generated.
    5 m) p! |' H" Z
  544. ; Note: Never use this feature for production boxes./ g: \% ^8 o! l4 B+ J
  545. ; http://php.net/docref-root
    + n# H8 o9 i1 w  c8 V+ p1 O
  546. ; Examples- p" b8 {! S. O6 w; [0 y$ f
  547. ;docref_root = "/phpmanual/"
    : j( k! g) {# l' [- x& ]+ x

  548. " v) |$ a* p3 T8 |
  549. ; http://php.net/docref-ext
    ; z) a0 |6 G' F1 P
  550. ;docref_ext = .html: G7 z' x" p& [+ U0 _* G- F
  551. 4 [) V$ R9 u' k" Z
  552. ; String to output before an error message. PHP's default behavior is to leave& ]/ P1 H, |+ V* J3 o
  553. ; this setting blank.( Z+ a3 G% M- c( w3 }) {; L
  554. ; http://php.net/error-prepend-string
    . @& i% k* E9 d8 \- b3 D
  555. ; Example:
    / X* l( V9 X! |. H2 D. M; H
  556. ;error_prepend_string = "<span style='color: #ff0000'>"' c) z: z- g  K! [& [9 M1 p$ ^- V
  557. * b( Z/ Z. M6 b/ O* {! I: @5 H
  558. ; String to output after an error message. PHP's default behavior is to leave, I# U/ g, ~6 ~- y$ l. G
  559. ; this setting blank.! v, t3 p& G2 Q" S# S
  560. ; http://php.net/error-append-string+ u' Y0 u" q& H1 v0 `
  561. ; Example:
    8 w8 g4 R7 ^7 v: B
  562. ;error_append_string = "</span>"
    ( W+ E/ K: T8 I2 \% w- i# k

  563. 9 G3 y- Y, l9 T$ [+ ^
  564. ; Log errors to specified file. PHP's default behavior is to leave this value& v3 p( q+ H/ x8 o8 K, f$ ~
  565. ; empty.  @, j' {5 C+ Z6 l7 o* A% s4 p
  566. ; http://php.net/error-log
    ) l/ S2 _" H* G+ D, Z0 A
  567. ; Example:3 S: h6 E5 r4 G" I/ k
  568. ;error_log = php_errors.log
    ; A4 d% \9 N& f1 x% W
  569. ; Log errors to syslog (Event Log on Windows).
    8 h' l6 i' Z! K1 C4 H/ `6 z
  570. ;error_log = syslog
    # B8 n4 h  R6 e! e& G

  571. . @' h4 u2 N  h3 P& X* {
  572. ;windows.show_crt_warning# F; X& b9 p& H! Y8 \4 F% s8 I
  573. ; Default value: 0
    ( N0 F7 k) N6 H9 ~! G& W0 Y2 V
  574. ; Development value: 0+ i" `. @6 [( F  o/ k7 r
  575. ; Production value: 0
    1 V2 z) V: C/ X* g& q) n" r" p
  576. , |9 b; h# M; r' g( z5 @+ \4 O( [5 C
  577. ;;;;;;;;;;;;;;;;;
    4 k$ z3 R: _6 h+ c& a0 \: D- b3 K  R
  578. ; Data Handling ;
    6 m! m/ Y( J  U& m' q  g
  579. ;;;;;;;;;;;;;;;;;8 S0 h; ~8 R; P9 G1 d- G

  580. $ w% y& J3 v, u  {
  581. ; The separator used in PHP generated URLs to separate arguments.0 c1 P6 l( P3 h, p
  582. ; PHP's default setting is "&".
      R4 v, V) ?% q
  583. ; http://php.net/arg-separator.output
    : ~- H2 c1 U  q' a
  584. ; Example:
    $ P/ ?& a2 d" i! {- n; h* j3 x
  585. ;arg_separator.output = "&"
    - ~4 ]! [/ A) l4 n( r2 _% X0 j

  586. 9 u0 r7 Y5 `9 ~# s
  587. ; List of separator(s) used by PHP to parse input URLs into variables.+ o, f* @$ Q( s; ^
  588. ; PHP's default setting is "&".* k* d6 E/ b+ c$ u) m7 x
  589. ; NOTE: Every character in this directive is considered as separator!: |  D4 M) V2 f" N9 J! ^/ x7 C  e2 G) ^
  590. ; http://php.net/arg-separator.input
    6 \, [0 z9 p; |6 h3 W
  591. ; Example:
      `* J* D+ W1 Z4 `
  592. ;arg_separator.input = ";&"
    6 k7 M* a# ~8 a% H6 r& T
  593. % o4 I& R8 v; F$ b5 T- g
  594. ; This directive determines which super global arrays are registered when PHP! T# ~# c: P5 y* ?+ `, Q8 p. j
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
      E  O! C; w' y2 y
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty0 O- r) }3 x* {8 K
  597. ; paid for the registration of these arrays and because ENV is not as commonly2 s' M. f0 j- ^
  598. ; used as the others, ENV is not recommended on productions servers. You
    6 a) a+ o, s4 x6 V0 p
  599. ; can still get access to the environment variables through getenv() should you
    $ ]4 r: _* O$ P1 j! p# Y
  600. ; need to.( T% v! o9 S" e+ L. A: X
  601. ; Default Value: "EGPCS"% L8 z* a, a; Q% |- h. U
  602. ; Development Value: "GPCS"9 |0 x/ [1 k' q. \$ G. ^
  603. ; Production Value: "GPCS";
    ' _# \. }2 g1 W5 Z% c) r
  604. ; http://php.net/variables-order
    9 S) \! I$ ?. w
  605. variables_order = "GPCS"
    2 s% h1 j2 X5 l$ N

  606. , R8 y4 P3 }+ p" K  o
  607. ; This directive determines which super global data (G,P & C) should be
    ' H1 ]9 @9 Y& T' f8 N
  608. ; registered into the super global array REQUEST. If so, it also determines
    1 w4 m' f, N+ B- Q$ A* z
  609. ; the order in which that data is registered. The values for this directive
    * ?) _3 X2 }1 v4 {' K
  610. ; are specified in the same manner as the variables_order directive,
    " Y1 ]/ v# K: k
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set- X6 Q$ }- l9 M. M* j; \: X
  612. ; in the variables_order directive. It does not mean it will leave the super
    " v3 ?5 B6 q+ `( `& c- r" [
  613. ; globals array REQUEST empty.
    % L% X( N! u0 ]9 y4 q7 z$ m
  614. ; Default Value: None
    / z0 q+ @( Y7 ^7 ~: V
  615. ; Development Value: "GP"
    ; Q6 L$ g- N/ r  c" h
  616. ; Production Value: "GP"7 V: q- o4 q+ d  r2 D5 m, b8 u$ S1 D
  617. ; http://php.net/request-order
    9 I4 t7 j! f% r- n/ B9 P# V
  618. request_order = "GP", b: ~: f+ F8 E/ o& M* }4 b
  619. 5 J/ V" Q1 c6 ?5 C+ @" u( P
  620. ; This directive determines whether PHP registers $argv & $argc each time it) z8 Y0 V* O6 ^2 ?
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script# i& E2 L" g# V: ^, w$ M
  622. ; is invoked. $argc contains an integer representing the number of arguments
    $ O, S( ^( k) u, r
  623. ; that were passed when the script was invoked. These arrays are extremely
    # U& _6 o( \/ A
  624. ; useful when running scripts from the command line. When this directive is; ]3 a9 g9 W; g( Q
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    6 M: B4 J2 `* H0 Y1 O
  626. ; a script is executed. For performance reasons, this feature should be disabled( u1 H$ l: W; |" [* K
  627. ; on production servers." F8 O: a) R" `; l# S5 F1 o0 ~! y; H
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    $ _9 ]+ p) g/ J& S" E6 i
  629. ; Default Value: On
    + c; K' t$ G$ n9 Q/ t" _
  630. ; Development Value: Off9 @& m4 @! L3 [6 E! }9 S. j" f
  631. ; Production Value: Off
    + w& d6 e1 Z, w1 y4 V/ f
  632. ; http://php.net/register-argc-argv
    7 P% @& z/ p% ^0 s
  633. register_argc_argv = Off0 k5 y$ P: i# {' Z& J4 a
  634. 7 L0 |' X4 m8 [! D
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    7 t+ X0 S' J% W- D* k) S
  636. ; first used (Just In Time) instead of when the script starts. If these
    # ^( _8 J. j9 V& [0 k, p
  637. ; variables are not used within a script, having this directive on will result
    & s5 G$ i7 p! P/ j! E$ p, r9 C# |2 I# m
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled( e+ G' ~4 {- Z% x$ d5 L
  639. ; for this directive to have any affect.1 [$ e# P# G' ]
  640. ; http://php.net/auto-globals-jit0 e3 X* {+ K; H- q5 X4 ?; q3 d1 }6 Q, e
  641. auto_globals_jit = On
    " r1 v+ v9 M3 }& V; g

  642. $ f+ v5 V, R( f' ~& h- T7 u0 t0 x9 m
  643. ; Whether PHP will read the POST data.
    ' w4 {& |* A  Q# N. q
  644. ; This option is enabled by default.
    9 ]% K* h4 ?0 L/ C7 R- y4 h
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    : `" Y8 W$ K. @
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    ; h! x1 Q2 k* P' v8 r% m3 R2 q
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    * Z' x. y( F# W' k# k, `0 w* O6 w  x
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.& `3 q: o3 ?- j! S  u9 a) B, p1 B
  649. ; http://php.net/enable-post-data-reading& E( c0 w) J: Z9 l4 i( \
  650. ;enable_post_data_reading = Off
    # l$ j8 E0 b8 w- W2 X7 D
  651. ) h% d( S, }! d  Y, [9 B
  652. ; Maximum size of POST data that PHP will accept.
    6 m9 F. W& X& k# \* |8 i1 M
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading7 Y3 D; d5 m' G- w  o5 X" k1 r
  654. ; is disabled through enable_post_data_reading.
    9 V0 e0 a3 V' ^, i- ]% u# [" @1 ?
  655. ; http://php.net/post-max-size+ V/ U. h% q/ t2 |& }; a* V& C
  656. post_max_size = 50M
      V+ }! p' Y6 s" i  L6 c

  657. , q5 B4 A; m9 a! N+ [" g8 J
  658. ; Automatically add files before PHP document.
    : T+ R0 L0 t0 T4 _3 s6 m, h3 q! h
  659. ; http://php.net/auto-prepend-file. F" R" f+ M$ _: O; f
  660. auto_prepend_file =4 c; p% p3 w! N* Z) h( i! k' M  k

  661. 7 d& E8 L3 y: K
  662. ; Automatically add files after PHP document." j* E/ q) m8 d9 ]
  663. ; http://php.net/auto-append-file
    9 w3 U+ z3 l1 L; y9 B# v6 z  B
  664. auto_append_file =
    6 ]# Z/ A; \& z" N( @
  665. ( I  Z# V3 ^( n2 T' I
  666. ; By default, PHP will output a media type using the Content-Type header. To
    , T& Q: h' B% @1 C- J: F. p
  667. ; disable this, simply set it to be empty.+ A* J8 M6 u( w  [' w+ ?, M: _
  668. ;0 s  {+ ^/ _+ Y9 n) o; F9 j3 k0 R
  669. ; PHP's built-in default media type is set to text/html.# x- \8 [+ f: X6 P' z/ a# G
  670. ; http://php.net/default-mimetype
    0 e% J; C' T8 y+ r+ q: N" G
  671. default_mimetype = "text/html"( N6 ]3 J+ K$ A& i

  672. ' Q/ E' P3 M8 f8 X7 v
  673. ; PHP's default character set is set to UTF-8.  s$ u6 W- Z4 S' h
  674. ; http://php.net/default-charset, T9 d! I& V# L6 X. @% P  f
  675. default_charset = "UTF-8"
    2 @/ _1 h% t: y' b9 E" p+ v

  676. ( U7 X4 b' V1 ^" q+ g6 s
  677. ; PHP internal character encoding is set to empty.* A: k! }0 q3 G( |+ f5 A* I. k( d
  678. ; If empty, default_charset is used.5 }0 ^1 V& `# Q. L5 j
  679. ; http://php.net/internal-encoding/ `1 o5 E6 K3 g7 \. ?& I4 U, N6 Y
  680. ;internal_encoding =9 u  _0 U% a0 X% h# N' ^2 @
  681. $ v4 X5 |, D, ~
  682. ; PHP input character encoding is set to empty.
    ) [7 n7 o" `. T  I, C) _/ V
  683. ; If empty, default_charset is used.
    & |' t6 Q6 j7 g6 V! w+ ~+ h2 I! B5 l
  684. ; http://php.net/input-encoding, m0 W. P4 l' U; q6 U
  685. ;input_encoding =4 V. O* W8 p* E% |% f

  686. 3 j! `( w4 m! k$ }# O+ ?" V
  687. ; PHP output character encoding is set to empty.2 p1 z) `$ ]+ C& a
  688. ; If empty, default_charset is used.
    , H/ o2 V" n/ O# a( P
  689. ; See also output_buffer.
    : K& S( a/ x0 t8 w) |
  690. ; http://php.net/output-encoding
    2 A3 f. E0 M5 H
  691. ;output_encoding =8 V5 v. \5 \/ ]( f# X6 }* F* }- }9 w
  692. 0 R5 W* c' C: Y" \
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;. ]% }  h' {: i
  694. ; Paths and Directories ;9 b5 i' G2 e7 r5 }  }" v3 T
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;! {" e$ [, t! F6 g* J( ?
  696. ( W  J, |% ~/ e; x( J# _1 W
  697. ; UNIX: "/path1:/path2"
    / `# }) C% e  o
  698. ;include_path = ".:/php/includes"! p8 G5 H& N2 C" ?
  699. ;; G( S" @: ~2 W$ r% R/ Z) X0 h  t
  700. ; Windows: "\path1;\path2"
    6 c% `8 \* |4 x- q
  701. ;include_path = ".;c:\php\includes"
    7 C! M4 C% x( q+ m9 d
  702. ;2 I& |7 o: P9 G: w, ]8 V' G
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"1 g+ d0 T! \9 {$ H" p( |/ W
  704. ; http://php.net/include-path
    1 a# H& J, Q3 G0 u6 _0 q
  705. 9 A1 ]; U8 O4 h) |2 y1 y4 z
  706. ; The root of the PHP pages, used only if nonempty.8 q5 I/ v0 [" Z/ x
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root, k( |% E+ o' Y5 ]- }
  708. ; if you are running php as a CGI under any web server (other than IIS)
    9 P, G! S" \( v2 ~
  709. ; see documentation for security issues.  The alternate is to use the
    5 ?# D/ b1 ~3 c2 s
  710. ; cgi.force_redirect configuration below. w$ C* w/ u* o9 V7 P( S3 A
  711. ; http://php.net/doc-root% t, a. H2 d* _1 n! Q9 _5 S
  712. doc_root =
    9 [( b$ p9 ^5 G9 i9 Y# e  [. k
  713. 4 [  p& h' n7 }  O) Y& f0 j- C
  714. ; The directory under which PHP opens the script using /~username used only
    3 {6 K, \, b( @, [' [
  715. ; if nonempty.
    * ]4 H- {! G, J" C
  716. ; http://php.net/user-dir' }  e% H5 g2 S' |
  717. user_dir =! u5 K) m5 l! m! n

  718. % P; }" T& D3 c
  719. ; Directory in which the loadable extensions (modules) reside.
    " S4 r6 Z0 n# a& E; i& u$ [' \
  720. ; http://php.net/extension-dir
    # E2 ?0 o3 W/ I: G% o* g- @1 o
  721. ; extension_dir = "./"
    3 Q! v8 ^7 F' I
  722. ; On windows:; I6 [$ s; C5 L3 {
  723. ; extension_dir = "ext". ~6 }  G: Q$ r; u( |. s# \

  724. , g6 m( b4 p! j. P) O* n
  725. ; Directory where the temporary files should be placed.
    + J5 s8 E1 V0 ?5 r9 }+ G* C
  726. ; Defaults to the system default (see sys_get_temp_dir)
    ; y2 m8 V9 ]& F8 \* O: ^( [9 I* N5 Y
  727. ; sys_temp_dir = "/tmp"- o2 z3 b+ O1 t" e

  728. ( e. V: _+ l; h/ W8 V1 A, L
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    + [' t6 t( [/ n( ~$ L- W7 U, h
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically! w. ?4 Z9 d$ a+ H7 h" f% J" J3 R
  731. ; disabled on them.& B$ }9 i2 b: r3 B8 E
  732. ; http://php.net/enable-dl8 d2 T9 b  F8 @7 g. H+ l: n
  733. enable_dl = Off' j! q7 f) K5 M3 n

  734. # d: Z7 E6 f; w" }+ q6 L  k
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    * }+ w9 T* L; l1 M  J
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    8 n: e) w# R* r2 }" m
  737. ; turn it off here AT YOUR OWN RISK
    - R% @& v. G& [) |, |' G7 Z
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**8 D; ]4 F" N. M  H& ]+ K: Z# }* y
  739. ; http://php.net/cgi.force-redirect
    2 z: k7 u3 J7 H  o3 {" @! _. D
  740. ;cgi.force_redirect = 1
    + W. e: e- n: \2 q6 F6 @2 j8 s
  741. 5 R' D7 Z% x% g5 o# w
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    * L: y+ |6 D0 p% V7 V$ K
  743. ; every request. PHP's default behavior is to disable this feature.! D2 y* z, B; |% Q/ h) A* t
  744. ;cgi.nph = 1
    9 E; t6 v7 s  H5 M
  745. " h& p$ Z6 j  G$ `% P
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    + H# w' j! c+ l+ p
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP0 O  u) q4 R3 j
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    % x8 z$ D* {2 V# ~/ [
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.9 |( x/ ^( L, p6 [4 R& s  t- V
  750. ; http://php.net/cgi.redirect-status-env+ H; I# b+ y9 H5 e5 [
  751. ;cgi.redirect_status_env =' i4 ^+ s& f( s8 d- G6 q

  752. , w; o7 V' k, W' l1 H9 q$ g
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's7 c) v9 v" q% x2 x
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    " s9 A7 Y6 y0 M, p
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting7 T$ [0 x9 Z1 g6 G' O1 h
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting. t; E) q- P: f$ s- H. ~' k
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ; {4 u0 U3 t5 P5 J
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    % ~8 `* W6 I+ d  N
  759. ; http://php.net/cgi.fix-pathinfo
    " O  C0 @4 y' I4 L0 a
  760. cgi.fix_pathinfo=1
    7 t/ n6 p! j& d. U; Z& s$ b

  761. ; ]# J; }/ P3 c7 K% S0 u
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    - S- f: Q8 i+ V
  763. ; of the web tree and people will not be able to circumvent .htaccess security.3 {( o/ F0 W- H( G9 t& u
  764. ; http://php.net/cgi.dicard-path
    ' G# W4 s, j/ o" M. r
  765. ;cgi.discard_path=1
    ( h, L# R9 v, N6 `, E, L& ^$ s" ?
  766. 9 f3 ?5 P" D& Z; F6 x
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ! d7 c, W$ L- ~" z
  768. ; security tokens of the calling client.  This allows IIS to define the
    1 f' m. o8 I" ~0 d0 \/ m
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    ; P( n$ Z  \! a7 l% I7 H
  770. ; does not currently support this feature (03/17/2002)! R: |  g( f! E( H7 b7 {
  771. ; Set to 1 if running under IIS.  Default is zero.: C" u$ _& D6 p/ ^
  772. ; http://php.net/fastcgi.impersonate& K+ n. R, G& i6 d2 A9 f
  773. ;fastcgi.impersonate = 1
    1 l& w9 w* }7 {$ G% l2 K6 F

  774. 0 z  _1 [0 t( [4 L6 ~5 I0 d3 I
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    4 X, B, T' V# P, I" y- |$ h
  776. ; this feature.
    7 D6 {% I- U" P# `
  777. ;fastcgi.logging = 06 Q- V4 b8 g& U7 G# H

  778. ( Y% B+ A  t0 w2 y- s# J% b3 Z
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to2 |1 b/ a0 m' l4 d, I1 w  q. d
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    / P) N' c2 o4 {7 l# w" o
  781. ; is supported by Apache. When this option is set to 1, PHP will send9 S% Z( ^: J7 ~5 {3 }5 K
  782. ; RFC2616 compliant header.
    1 Z* ^; c" P2 q1 T
  783. ; Default is zero.; b9 D! X& f; F. Q. A' v
  784. ; http://php.net/cgi.rfc2616-headers
      o' Q: U" m  A* T
  785. ;cgi.rfc2616_headers = 0$ _- b# {) {* S6 i9 o

  786. & X7 T2 ~5 y# D; M  S- s# w8 k& e
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!7 T9 [' p4 o) K" \. v4 t
  788. ; (shebang) at the top of the running script. This line might be needed if the# x# n) S+ C3 ?: }, r  h# t: \
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI/ V8 p1 I7 {, ^' }
  790. ; mode skips this line and ignores its content if this directive is turned on.
      D# b% q, T2 v1 M
  791. ; http://php.net/cgi.check-shebang-line
    ; ]% J9 M7 Y4 s+ i8 _3 g
  792. ;cgi.check_shebang_line=1
      `4 G- H( q# A  A! E

  793. " G5 h1 T) k( w
  794. ;;;;;;;;;;;;;;;;: A7 w) z- z; v1 l: I. d( q
  795. ; File Uploads ;
    * _" M+ n  z) P8 h& A7 t4 \# ~
  796. ;;;;;;;;;;;;;;;;3 J$ Q, r0 \4 O- n- C5 X$ v

  797. ! e8 r% [8 Z5 R. M* G
  798. ; Whether to allow HTTP file uploads., ~2 b- _  ~1 [+ T2 R" s1 A. {
  799. ; http://php.net/file-uploads
    6 e% k+ C% M- r5 H. [) X
  800. file_uploads = On
    & d4 g5 L2 x3 T

  801. : x2 U3 \9 z  B' Y
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    - }+ M+ ?5 H  }; ]3 p4 Y
  803. ; specified).
    , L& X( w& p$ |2 F
  804. ; http://php.net/upload-tmp-dir
    ' O. y3 G! P/ Y- V; p1 z. ^
  805. ;upload_tmp_dir =
    * J: j1 M3 T& O0 Z9 w  U! c3 q  V! m
  806. 6 A/ }7 B  V- G3 I% T3 M
  807. ; Maximum allowed size for uploaded files.3 u9 y- Z  o$ ]$ S7 l; F
  808. ; http://php.net/upload-max-filesize  F7 U. ]  `: Q& x
  809. upload_max_filesize = 50M
    + C/ ^$ C6 t% B7 o* X# s6 H+ {0 j  f

  810. ) r1 l, G8 H$ C" r
  811. ; Maximum number of files that can be uploaded via a single request
    1 t/ T# k# ^% s+ O5 w
  812. max_file_uploads = 20
    4 S4 A" a  f/ l9 A, l& s7 o

  813. 6 w- L0 k$ y. ~5 V
  814. ;;;;;;;;;;;;;;;;;;
    ) C3 {3 s8 V" i  r3 A& M( o
  815. ; Fopen wrappers ;# w4 f' o: f  M+ Z7 [
  816. ;;;;;;;;;;;;;;;;;;6 J; z1 Q0 U, T8 @7 V* {9 g/ L
  817. ; P  v7 }% L7 q! s4 y* n8 O6 R9 C% x
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    + S5 l4 a( J" \# }) e: ]
  819. ; http://php.net/allow-url-fopen
    $ w# Y0 f1 b7 t: O, D# {( o
  820. allow_url_fopen = On# V& P! r9 ~# D+ F# B$ v" b% e/ [
  821. ; s8 r1 D; ^! b; v6 W$ M6 K
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.  G% f( F1 m  ^
  823. ; http://php.net/allow-url-include
    1 h2 y  A6 q) k- A
  824. allow_url_include = Off
    ( Y$ R: A" x) O8 Y' C! q" C

  825. 8 v* x7 h2 m& _) v4 n3 |
  826. ; Define the anonymous ftp password (your email address). PHP's default setting; K+ r0 ^3 ~5 d
  827. ; for this is empty.
    7 f. Y+ }3 E5 n' |5 M6 R/ O% |
  828. ; http://php.net/from# O! C4 i( o0 U" H/ B9 q& @3 Q, z
  829. ;from="john@doe.com"
    5 N( c0 j/ q0 q0 Z

  830. 0 a" M3 U1 u5 n/ a8 e
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    ) D. i4 m/ k2 a9 R- ^
  832. ; http://php.net/user-agent
    , `1 O# X* h+ {5 v( e# T
  833. ;user_agent="PHP"
    . |, ?' ^( f: v+ z! t
  834. # Y; c, W/ f  E1 t9 P1 Q! r/ ?( h
  835. ; Default timeout for socket based streams (seconds)
    + ~2 X3 W  Q( y2 q) K8 W4 _5 r
  836. ; http://php.net/default-socket-timeout
    " Q9 H6 M9 X6 i
  837. default_socket_timeout = 60; c8 D2 E- I1 G- P

  838. 5 o* c& Z" @' I$ s. _9 W! r. M
  839. ; If your scripts have to deal with files from Macintosh systems,
    # a# T$ A. `. y9 c6 `! F
  840. ; or you are running on a Mac and need to deal with files from
    " a* @, {3 Y6 @# q
  841. ; unix or win32 systems, setting this flag will cause PHP to
    ' B: c. S/ ]5 g3 O7 C
  842. ; automatically detect the EOL character in those files so that
    4 I9 D2 n% v4 ]4 a; z! e
  843. ; fgets() and file() will work regardless of the source of the file.: k6 ?0 b) l' v4 ^' i
  844. ; http://php.net/auto-detect-line-endings
    8 p+ s( X( R, D4 I& h& L
  845. ;auto_detect_line_endings = Off
    % [- `, d* ~8 X0 j

  846. / g# o* s6 ^& l  J( i6 g$ q
  847. ;;;;;;;;;;;;;;;;;;;;;;$ u; o5 p$ [6 X2 H& t; y
  848. ; Dynamic Extensions ;0 m- u# ]9 D* t: D7 H
  849. ;;;;;;;;;;;;;;;;;;;;;;
    % f- F$ L& J! y0 J( w. o8 f

  850. $ F. s1 B" o& x% A- G" V
  851. ; If you wish to have an extension loaded automatically, use the following
    + C1 J: @( B  h: Q; X
  852. ; syntax:
    2 k* p: ]7 R9 N- ?2 [8 V
  853. ;
    , {4 X! q) u+ d( q) H0 m& G6 [# ?+ j
  854. ;   extension=modulename.extension
    # D/ @6 v! X5 U6 u* U2 ~
  855. ;
    ! Q& ]% V9 G& R5 Z  u
  856. ; For example, on Windows:
    8 D  ]" n0 @3 k$ q8 w2 w! _
  857. ;) {: B7 j- z! |+ t  B0 ]
  858. ;   extension=msql.dll
    ; {- R, H' s! Q/ @* i  _
  859. ;; R- L' w0 [% Y& }; `
  860. ; ... or under UNIX:9 r* w9 m& O7 `( }+ M/ I/ q
  861. ;; p  @2 b1 l. a# n1 V: h
  862. ;   extension=msql.so
    + M4 g3 Y' W( u) x% B% l
  863. ;
    ) h4 j' ^( a( ^1 W/ i( Z2 n6 D
  864. ; ... or with a path:
    8 r# V+ r' h% o. F5 c
  865. ;3 N3 o9 e- [+ `5 e3 l0 k4 ~
  866. ;   extension=/path/to/extension/msql.so+ c/ i# V  h9 P4 J6 k& H2 N- c1 A9 |
  867. ;8 x! _8 N: b$ P" ^
  868. ; If you only provide the name of the extension, PHP will look for it in its0 o3 J! a2 C: }
  869. ; default extension directory.
    0 h0 y6 r4 m, E8 I& \
  870. ;
    3 Y0 H+ O3 K0 j1 i( v5 `' ^4 p
  871. ; Windows Extensions7 m0 |; G" \4 D$ Q- G8 U& I
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    , `$ R( j  u0 ~* b3 u" t
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    ( T4 B4 Y% o) p* q' N9 B% j4 X' h
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).% p% a1 x9 Q, ~! k
  875. ; Be sure to appropriately set the extension_dir directive.: V! W0 B( _5 i
  876. ;! ^) R; D+ S8 W: p, O
  877. ;extension=php_bz2.dll
    0 M" W7 ^; ?- E! K
  878. ;extension=php_curl.dll
    - `; O8 b8 D1 v* ^" s) V6 K2 {
  879. ;extension=php_fileinfo.dll! V. M* C* V% L: W: |
  880. ;extension=php_ftp.dll
    $ P7 y0 @3 G* r. ~3 C6 \
  881. ;extension=php_gd2.dll
    7 [2 I  n- j; n+ G5 K% X
  882. ;extension=php_gettext.dll
    2 H# U, g" t: |+ {6 ?
  883. ;extension=php_gmp.dll
    5 `* {( [+ V1 u5 _
  884. ;extension=php_intl.dll
    + Z- C  o0 \( H9 _
  885. ;extension=php_imap.dll) j, C, j: K6 b$ ]( Y
  886. ;extension=php_interbase.dll& ~4 c+ P" ?& ?3 r- b2 |* v9 n% E
  887. ;extension=php_ldap.dll6 ?6 f: L  d+ P# j1 E
  888. ;extension=php_mbstring.dll
    " T; k8 t9 J3 {. v* B8 y8 b
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it# w4 {# J5 I. i: M& v' F
  890. ;extension=php_mysqli.dll
    1 Y- }" j* P& B; q+ p6 q, y
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    % t/ @" E4 U7 S6 y8 a4 ?
  892. ;extension=php_openssl.dll* O6 a# ]! B( u( Q; B. Z
  893. ;extension=php_pdo_firebird.dll9 t8 t8 w4 W  x+ C; E
  894. ;extension=php_pdo_mysql.dll
    + P5 l8 A$ d5 U: ?" F7 o
  895. ;extension=php_pdo_oci.dll
    / {% y  r1 k' n
  896. ;extension=php_pdo_odbc.dll8 o0 m) K5 n, @. K1 q
  897. ;extension=php_pdo_pgsql.dll1 |! p1 B5 |% T2 o: `
  898. ;extension=php_pdo_sqlite.dll8 A. C0 u5 }: L6 {- U9 f
  899. ;extension=php_pgsql.dll
    & k4 E3 w4 g: J5 ]( }% Q  s
  900. ;extension=php_shmop.dll
      h& k5 ~7 ?% |* K0 [2 L
  901. 0 F& v; q2 y) o* X: V# w6 D
  902. ; The MIBS data available in the PHP distribution must be installed.& Y/ V% e" W' p. s
  903. ; See http://www.php.net/manual/en/snmp.installation.php8 i6 a* q2 V/ o: k3 y- m
  904. ;extension=php_snmp.dll" F8 }2 K/ i% p

  905. 2 j+ z& W2 ], r) _: t9 U( B
  906. ;extension=php_soap.dll
    ' ~, F  n$ u& G8 i! W
  907. ;extension=php_sockets.dll/ w( Q" }: j2 f% P- ?
  908. ;extension=php_sqlite3.dll
    7 S6 K& Y- a) P! j
  909. ;extension=php_tidy.dll
    ! Z( b* }% ?& p8 R0 T: }
  910. ;extension=php_xmlrpc.dll% j8 @2 {- M6 D0 m+ u
  911. ;extension=php_xsl.dll
    1 Y; X" _% p: y% m4 M; q

  912. ! a8 j# V* _( O9 |9 q: m
  913. ;;;;;;;;;;;;;;;;;;;
    3 _/ T2 Q0 X0 P% P0 u
  914. ; Module Settings ;' G; x  j( O+ R" {
  915. ;;;;;;;;;;;;;;;;;;;
    5 D4 K+ M- c4 K7 K( s6 \9 s
  916. 8 v# ^1 S, D+ Z- Q6 n7 G1 j
  917. [CLI Server], H. ^" s5 `5 N8 U
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.( \/ d, [, r9 b; S# G0 `1 g3 A
  919. cli_server.color = On+ o4 k% Z* p& V

  920. . E: z, Z. [2 [9 E& j9 V% w
  921. [Date]
    " T2 f( D2 j! I0 w$ s2 X
  922. ; Defines the default timezone used by the date functions
    & u+ Y3 {' S8 a2 S+ Q6 z+ X) D! N$ W
  923. ; http://php.net/date.timezone/ L1 p9 H( E0 r9 F' c; @* m6 M1 B0 S
  924. date.timezone = PRC
    ; [( i* `: `0 N, [! `

  925. - y$ |" D! X' }( U/ L( S  I. k
  926. ; http://php.net/date.default-latitude
    ( v+ R% F9 L2 ~; g3 C
  927. ;date.default_latitude = 31.7667
    : J) ?1 I9 v( y% G1 K
  928. 2 g% M8 W; C% e) H
  929. ; http://php.net/date.default-longitude
    , B4 K/ I% Q) M4 L( c' b
  930. ;date.default_longitude = 35.2333
    ; p  s, B5 J0 n
  931. 4 Y) x: S  p9 j8 \, H
  932. ; http://php.net/date.sunrise-zenith6 K& k# i6 C6 I/ V  Q
  933. ;date.sunrise_zenith = 90.5833333 t+ G6 f: `4 _5 R' G: S0 h
  934. 6 w$ ]$ Z9 {* c- ?# `) z( ~# p
  935. ; http://php.net/date.sunset-zenith
    ) ?5 d$ n7 q! ^* t# T  t8 F
  936. ;date.sunset_zenith = 90.583333/ u0 j  d8 B9 M7 e6 G$ {% u2 q9 f
  937. , b/ B6 ^" m$ j3 Y' w8 ?- z
  938. [filter]
    ( E$ U0 f2 Q* V2 o$ L2 L1 {
  939. ; http://php.net/filter.default  j! h8 I/ D- a' R
  940. ;filter.default = unsafe_raw
    # C2 e, \0 r# J/ t. Y$ K4 s
  941. 5 m: Z; n# i: `6 a' e. t
  942. ; http://php.net/filter.default-flags2 y& I4 ]/ V% ?. g. H' m( a
  943. ;filter.default_flags =
    6 |* S1 B6 n8 Y+ O1 [4 A! Q

  944. 7 ]: N) x9 M5 q- Y( j
  945. [iconv]
    8 N1 d' \. I. r5 j1 U6 i8 B
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    : {8 U" `! I+ \
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    : r( Y! R* c' N
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
      \5 Z5 R) i1 `9 ^
  949. ;iconv.input_encoding =4 X, X4 A0 @% d! X0 Z' J5 A4 v

  950. + B' @1 ?- ?, }# P
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.  V3 `" Y, t! ^1 R! W- A" n* D! d, Z
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    8 W6 X! [" b6 x
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    * J" W1 r* e( [$ y, {+ _0 G
  954. ;iconv.internal_encoding =
    1 \+ f8 {% F& x1 x

  955. 8 y5 M! `( x8 n) ?3 k/ Y, B
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    : y1 }6 J! L4 E/ W+ W$ H
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.9 g0 v% k$ s$ W: d
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding. w$ B: K. |8 t/ _" y+ P1 C
  959. ; To use an output encoding conversion, iconv's output handler must be set1 e# o' m/ T. ]5 f9 N
  960. ; otherwise output encoding conversion cannot be performed.
    , Y) r4 Z& ?6 C8 d7 B
  961. ;iconv.output_encoding =: O- K* @5 W' z, z6 t
  962. . v& b. }% f5 C7 m; L
  963. [intl]0 D2 I5 i/ Q( M9 s1 p
  964. ;intl.default_locale =( c) O1 n7 y% C2 {
  965. ; This directive allows you to produce PHP errors when some error: s! u- u, Y2 |, G6 t/ L
  966. ; happens within intl functions. The value is the level of the error produced.& d# _$ N4 p8 i% }8 `/ }
  967. ; Default is 0, which does not produce any errors.) v- p$ ^! r  K+ Y
  968. ;intl.error_level = E_WARNING
    ' b1 R6 E9 l3 i$ j
  969. ;intl.use_exceptions = 0
    % I, b5 F; F5 @+ l: W$ [1 {4 s% c

  970. # n* y" Z7 v* T3 h2 V
  971. [sqlite3]
    0 w$ ^: q3 G$ u+ G! U
  972. ;sqlite3.extension_dir =, J8 |/ M: q3 r4 i

  973. 3 b  K( L3 H  g+ e/ `
  974. [Pcre]
    * D8 o- l& F' F0 u3 {
  975. ;PCRE library backtracking limit.
    ( r3 @7 I4 M5 V
  976. ; http://php.net/pcre.backtrack-limit
    % K7 j9 ?5 r/ X' o3 ~! U
  977. ;pcre.backtrack_limit=100000
    . V( R) s8 j) q. i, d. L
  978. ) T5 G5 P+ c# o  U* v
  979. ;PCRE library recursion limit.
    * t0 _, m1 w, z1 T. \" o4 S0 S
  980. ;Please note that if you set this value to a high number you may consume all/ o1 c( o' l9 R
  981. ;the available process stack and eventually crash PHP (due to reaching the. n+ D; c9 Y9 W. v9 _# @, m
  982. ;stack size limit imposed by the Operating System)./ O- f5 j$ Q  V% R) b# C
  983. ; http://php.net/pcre.recursion-limit' v+ N2 J/ p1 A0 k- Y  p, ]
  984. ;pcre.recursion_limit=100000. [- Z# ^  Y  ^; W

  985. # b  p8 B. f2 _* ?
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE6 p. c5 Y6 X, I
  987. ;library to be compiled with JIT support.
    : f& O/ R  X% n2 p# l0 u
  988. ;pcre.jit=14 H% t- v, S4 \4 M, D/ T! |

  989. 4 D/ ~% g% h! u. s7 f6 {: E- s; |
  990. [Pdo]. M$ [& S/ r& X# `+ x- d1 g' w
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"" n6 Q) ~) Y# l
  992. ; http://php.net/pdo-odbc.connection-pooling( P- l' n) B! J) O: h% f" a* M2 _
  993. ;pdo_odbc.connection_pooling=strict
    ! W; ]6 v0 d# H1 ?9 P# t

  994. 4 c" ~9 n' g" T$ l* W7 [0 h
  995. ;pdo_odbc.db2_instance_name
    ; I; ?: y& m4 d3 |9 J9 t7 C8 z5 V
  996. ) @# C9 t$ P& }
  997. [Pdo_mysql]' S" T# w' I1 }9 s, `" q3 y
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    6 K& y9 [" s4 l: g; Q7 p
  999. ; http://php.net/pdo_mysql.cache_size
    . r) p2 Q/ }7 g; O2 S" r
  1000. pdo_mysql.cache_size = 20007 J! R5 T' I4 T9 W) q) t& q+ @

  1001.   r4 X/ G5 h1 m9 _2 X% l5 J/ m
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in3 {) N5 L7 v) {4 q/ ^8 L
  1003. ; MySQL defaults.
    7 v* F4 l' e' X1 n* H
  1004. ; http://php.net/pdo_mysql.default-socket
    2 Z9 h8 t3 L( o& s1 d
  1005. pdo_mysql.default_socket=
    $ U3 ]+ O* [- i. i- ^. E* m
  1006. / M% w4 o9 v( {! C8 @0 \) a
  1007. [Phar]; d  b; M& U6 Q7 h
  1008. ; http://php.net/phar.readonly
    2 J% n4 `, a- ~0 B$ s' q
  1009. ;phar.readonly = On
    ; X/ ^+ l% f# @6 W# v

  1010. ' m* a3 O. A: ?6 m6 ]' i
  1011. ; http://php.net/phar.require-hash
    # F3 Q" B+ H9 ]4 b
  1012. ;phar.require_hash = On
    + Z) w* \& p" F* m
  1013. , h. T# E. A, m; ]: m5 X
  1014. ;phar.cache_list =& t6 P7 s; D% s$ A- G

  1015. ) g2 k  T/ x/ N- z( |
  1016. [mail function]( ~+ }; N6 c) L$ o% q3 a) p
  1017. ; For Win32 only.3 `8 M/ w) i: m
  1018. ; http://php.net/smtp
    ) V$ j  z! |1 E5 \1 w) m
  1019. SMTP = localhost2 K: \2 J; s8 v# y
  1020. ; http://php.net/smtp-port
    ) \' V' w$ v; r& Q$ I( U0 x
  1021. smtp_port = 25
    6 ^, v/ g5 Y1 r; Y' w, J* m

  1022. 3 M( @0 Z1 q( k6 I5 Y
  1023. ; For Win32 only.; t- r& D7 k4 d9 n6 ]
  1024. ; http://php.net/sendmail-from
    6 [% [5 @! `% @( W4 I
  1025. ;sendmail_from = me@example.com
    7 P( x9 {& F) p
  1026. ' I% Z; d# W: X- j: A+ [4 {" @/ y
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    + i: T, D  f. k  z- }! z
  1028. ; http://php.net/sendmail-path
      M( K3 g+ V' R
  1029. sendmail_path = /usr/sbin/sendmail -t -i  S1 }& u- f( s+ ^2 e

  1030. + {* r+ N  Q: m2 V# e6 y6 v" H  L
  1031. ; Force the addition of the specified parameters to be passed as extra parameters. ~1 d% [. V7 ^, m& U
  1032. ; to the sendmail binary. These parameters will always replace the value of+ h  S- _3 F: A" X  p
  1033. ; the 5th parameter to mail()." Z8 ]5 b; i! ~! l
  1034. ;mail.force_extra_parameters =( E$ f& G8 ]* m; G, Z' ^

  1035. ( |8 b, y/ ~% E( ]0 O0 [" x
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename; f) l* f+ }4 U: S
  1037. mail.add_x_header = On7 y/ }& t) w$ N4 r# }0 N5 B- @' k3 ?
  1038. 1 s& c  @# t8 f) ~
  1039. ; The path to a log file that will log all mail() calls. Log entries include  Y' ]# l8 c& v+ Q5 Y+ g6 F
  1040. ; the full path of the script, line number, To address and headers.. A9 W8 z, r+ ~% `
  1041. ;mail.log =
    1 i5 H) z1 b5 _8 L5 Y) ~; i' O) w; i3 z
  1042. ; Log mail to syslog (Event Log on Windows).! v; s2 ]  x! @3 ?
  1043. ;mail.log = syslog8 @3 M* \- d2 `' a, t6 W: E& u0 \
  1044. ( A" t2 T1 U& G# n+ Z9 R' Y
  1045. [SQL]
    5 `$ f  y  J1 ^! a% R! L9 N
  1046. ; http://php.net/sql.safe-mode
    # g4 f. l& Q! \
  1047. sql.safe_mode = Off
    / \) d# I* K; W% T
  1048. . V( q) Z, j7 n
  1049. [ODBC]
    % {) M, O2 P6 o# }4 u# }
  1050. ; http://php.net/odbc.default-db
    7 l5 _' s: D4 c! x
  1051. ;odbc.default_db    =  Not yet implemented9 j/ ~6 ?& n1 Z  B/ ]
  1052. : z2 ?/ W7 W6 B1 G! q5 h* R# u) [' L
  1053. ; http://php.net/odbc.default-user
    - X+ I( X1 i/ V+ n7 y
  1054. ;odbc.default_user  =  Not yet implemented
    3 J6 n0 w" z* U+ [8 j
  1055. ( V9 }, \' F  j0 z
  1056. ; http://php.net/odbc.default-pw
    2 p, N' ?' x& r
  1057. ;odbc.default_pw    =  Not yet implemented& V0 W4 |& W- j2 g' h1 {$ a

  1058. 6 y& c0 z4 j2 O5 r6 f7 w4 o
  1059. ; Controls the ODBC cursor model.
    1 w4 A+ r$ S$ z# l3 L" I4 x
  1060. ; Default: SQL_CURSOR_STATIC (default).
    6 l% q; d! D8 O3 e% K
  1061. ;odbc.default_cursortype5 h4 }& V2 y# D1 W9 ?0 t+ E

  1062. 6 b3 z: w0 p. |2 @
  1063. ; Allow or prevent persistent links.8 O. g, b( d* C
  1064. ; http://php.net/odbc.allow-persistent
    + j+ G, k8 o! ]
  1065. odbc.allow_persistent = On
    , C  ~% E( e8 O  ^/ f5 D
  1066. 3 o* x0 V# E7 {% P4 `
  1067. ; Check that a connection is still valid before reuse.
    2 Y9 G) s1 L4 h) ]
  1068. ; http://php.net/odbc.check-persistent
    ' R( C! N+ l  W" ]/ Z0 T
  1069. odbc.check_persistent = On  V  ^/ X6 v: N; B5 Z# n, E$ K: e
  1070. , N' I( E5 Y/ [. }# X
  1071. ; Maximum number of persistent links.  -1 means no limit.% m- e0 O; T% c3 a2 o* P8 Y7 n7 W
  1072. ; http://php.net/odbc.max-persistent
    # b2 J% f6 l' W9 P+ h
  1073. odbc.max_persistent = -1
    5 G/ X. ]$ n/ Z3 N! U: [6 b
  1074. / X& M% S/ |; _- h, E6 {
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    1 P# @/ P! I7 B( w( I# n" j2 Z
  1076. ; http://php.net/odbc.max-links" V& K, r7 D9 L0 O# ?% W* e0 U) |
  1077. odbc.max_links = -1$ Y4 [! L# y. G

  1078. % q, y0 }. u. w6 |* J
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means. E& Q+ |1 h0 {! M* I
  1080. ; passthru.
      y5 k+ |: C5 }# o
  1081. ; http://php.net/odbc.defaultlrl; p2 r2 ^8 t4 m
  1082. odbc.defaultlrl = 40960 ~1 x( ]8 a$ A

  1083. 2 @  S8 D, Z4 ?4 ]& y8 b, k) ^
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.) ?5 t/ Q* ~5 X. R- K
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation, ~. m( Y+ D; t. T9 o4 ~# X4 m
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode! c- [) J6 \2 v  A* ]
  1087. ; http://php.net/odbc.defaultbinmode4 F4 G% T2 q" P9 ]
  1088. odbc.defaultbinmode = 1. R* q5 z$ g# W8 l

  1089. - A0 @/ a2 L, X9 \
  1090. ;birdstep.max_links = -1
    $ I5 s1 B' m' C
  1091. 8 W/ ^( U" k6 d" N% S/ B/ K
  1092. [Interbase]
    $ c6 P+ M6 m% f+ c& p$ a. `
  1093. ; Allow or prevent persistent links.( F9 d: {; C- J. \+ q8 t
  1094. ibase.allow_persistent = 1- o) \% M, w1 ~

  1095. . w6 U: [) ]' o
  1096. ; Maximum number of persistent links.  -1 means no limit.
    / W6 K; H8 ^2 J- t$ W& v
  1097. ibase.max_persistent = -1
    5 q. M6 U" ?0 ]" }" `/ q; L! z! R

  1098. " j3 d4 q1 n4 T, e, U6 S) k
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    : N" W% x7 v9 C# X& f" D" O, M
  1100. ibase.max_links = -1+ g1 O) V! O9 v7 Z
  1101. 7 \; S) e8 j7 E/ a; a
  1102. ; Default database name for ibase_connect().  z3 b( z3 J5 h5 W) Q+ U
  1103. ;ibase.default_db =: s4 n  G" P3 C4 u1 P1 C

  1104. 3 J5 G  U# a$ \7 t+ a  m
  1105. ; Default username for ibase_connect().0 c1 |; X5 D* t/ \: X6 I8 e* \
  1106. ;ibase.default_user =% F. I. G7 @" Z6 A5 `- ?
  1107. 3 {0 J; I; A/ n1 n" Y
  1108. ; Default password for ibase_connect().6 u) L7 I& g: W  W3 U* w0 O; h
  1109. ;ibase.default_password =
    8 x$ \- Q5 I1 Q. W3 L' B
  1110. + Q/ E  O/ {5 v  x% `( q
  1111. ; Default charset for ibase_connect().# N! U9 B0 P& K8 D
  1112. ;ibase.default_charset =
    6 g5 G* o+ _8 e& n+ n& u7 C

  1113. 4 G8 g9 |, a3 r. c  z+ H
  1114. ; Default timestamp format.
    + z$ U/ T3 I1 p) I' |5 {
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    2 X8 w8 @6 i, e; d( l
  1116. % Y: F  u1 \- S4 Z' U
  1117. ; Default date format.0 K' r, @( N2 n0 y
  1118. ibase.dateformat = "%Y-%m-%d"8 p  }9 B0 Y  n' |, u" Z
  1119. , x5 K6 X* z( |
  1120. ; Default time format.
    " s& I! {4 U/ m/ A* C
  1121. ibase.timeformat = "%H:%M:%S"
    9 v1 a( @+ Z; m( H6 u5 @* g
  1122. # e* q2 ]4 o& E6 \
  1123. [MySQLi]
    5 k4 W2 p1 P$ y7 u. G4 E2 l
  1124. " _2 _4 O6 O3 p5 Y1 _
  1125. ; Maximum number of persistent links.  -1 means no limit.
    0 |" U$ x6 q0 l* [% y# d
  1126. ; http://php.net/mysqli.max-persistent( ?1 V0 M, c/ C. p0 o9 `1 o
  1127. mysqli.max_persistent = -1
    6 A8 N# z0 o+ w! A7 Q! F& c* ^. S
  1128. ; @" y1 }; l+ s) E
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements; K7 ?1 |/ _# o: ^, w4 f3 i; a9 C
  1130. ; http://php.net/mysqli.allow_local_infile1 Q4 V. q3 f$ L' x  M, n' m" c
  1131. ;mysqli.allow_local_infile = On. ]0 h, t  d8 t
  1132. % W3 m& q2 D4 i6 V
  1133. ; Allow or prevent persistent links.- M% K7 }7 p* r7 W/ s: C* a
  1134. ; http://php.net/mysqli.allow-persistent
    0 Z4 `( G1 q9 r: ~" Q- x  x
  1135. mysqli.allow_persistent = On. D$ z3 I' W9 O1 m
  1136. / \3 n+ n' p" x; `- \( T7 i
  1137. ; Maximum number of links.  -1 means no limit.2 `2 u9 S  ^# q! O
  1138. ; http://php.net/mysqli.max-links
    / F6 {% Z3 J$ i! C# p" h
  1139. mysqli.max_links = -1- D! Y1 d# L3 P$ a* |( g- S0 L3 @
  1140. 7 @% \( R  J' ]& `
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache# q4 F, h0 B" y1 s
  1142. ; http://php.net/mysqli.cache_size! V* U9 b% L6 L9 f+ S" F( S# h
  1143. mysqli.cache_size = 2000/ j' }8 F$ _0 }9 z5 f' h

  1144. , _! }7 C) q% d( Y* F( O
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use# k1 _4 i$ B. u3 J! c' x6 m
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    & t) e/ |9 V9 ~. g
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ' }. d6 y) S0 q, T- M6 z- y8 r
  1148. ; at MYSQL_PORT.
    * t% b  s; ^$ w: k0 y3 F6 U6 r
  1149. ; http://php.net/mysqli.default-port
    + |+ f# k% f3 d6 k5 a6 h
  1150. mysqli.default_port = 3306
    , k5 G0 s7 H- s3 F

  1151. - E3 V' ~3 m4 W: j: i+ ]
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    & k( P- F* ^  Q3 C4 |: z
  1153. ; MySQL defaults.
    5 e9 g) C( e: {% K2 F7 @, ]
  1154. ; http://php.net/mysqli.default-socket' u( x6 F& j, }8 N* u
  1155. mysqli.default_socket =  }% z! s& ]: C) q/ ^( |; H

  1156.   w; ?2 n% Q# j4 G: T
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    1 ^1 y3 i  o9 E
  1158. ; http://php.net/mysqli.default-host: F: }2 o) ?2 p5 Q: O& z
  1159. mysqli.default_host =
    9 n! t: x6 x; r) B* W/ Z
  1160. ! {. l% n' Q/ B+ k+ L& L4 G0 q- R
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).! F3 w: Q! V/ w
  1162. ; http://php.net/mysqli.default-user
    % |4 v+ Z/ v1 C3 h. {& `+ z/ j9 }" G
  1163. mysqli.default_user =
    9 z" p" {/ |; Z, Z$ ]* a  Z
  1164. + R- s7 M: Y0 p
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).* c8 ]: o) y/ Y, {0 W. S. }; o
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
      t1 H( n7 f" v/ @4 K) o
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    % v& k1 E* \+ M$ l; P
  1168. ; and reveal this password!  And of course, any users with read access to this% p6 D  o; k! f
  1169. ; file will be able to reveal the password as well.
    5 J9 U8 o! _  l
  1170. ; http://php.net/mysqli.default-pw
    ! A/ v* ~  C5 L6 G, x# X- u
  1171. mysqli.default_pw =4 y6 f' L8 i3 a5 H' X
  1172. 9 @/ W7 I( o% J6 L. @
  1173. ; Allow or prevent reconnect
    . U0 I/ q4 w. L6 ]8 [1 _. A, F
  1174. mysqli.reconnect = Off* j0 }% h. O3 \4 d
  1175. ! g7 {# i3 R5 G. H
  1176. [mysqlnd]
    7 n' G: ~9 o+ g1 X7 w
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ; j+ ?- B+ _- z  }" ]
  1178. ; used to tune and monitor MySQL operations.; c+ k4 H3 N6 ~6 r& Z$ m- g& _$ @
  1179. ; http://php.net/mysqlnd.collect_statistics' G( a* m& x- M5 m' }% f  J: m5 c) o
  1180. mysqlnd.collect_statistics = On
    3 G' c* l# K6 z1 `$ o6 u; `2 l

  1181. . u# s( O6 \. H4 u# z3 R
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be0 n' p2 ~3 _4 C, g* @
  1183. ; used to tune and monitor MySQL operations.
    - h8 x' b: p  Z3 z
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    % l9 `. C. F/ l) h" l+ e" h0 O3 Z
  1185. mysqlnd.collect_memory_statistics = Off9 e+ g) {* ?/ c
  1186. 7 g' ]* p$ a, J4 w3 k
  1187. ; Records communication from all extensions using mysqlnd to the specified log* N9 P  U. x8 }4 B* I/ {
  1188. ; file.- x! z& m3 c; E
  1189. ; http://php.net/mysqlnd.debug: x& l7 U% F0 p, R% t7 Y! U8 O
  1190. ;mysqlnd.debug =
    + ^! I! Z( Z1 [
  1191. 2 m0 Z7 X/ x4 {4 N
  1192. ; Defines which queries will be logged.
    * Y4 g6 b0 _6 o3 i4 ?3 J+ _
  1193. ; http://php.net/mysqlnd.log_mask  d, d6 y2 K- y4 U3 R6 s, }
  1194. ;mysqlnd.log_mask = 0
    * _/ h+ W; I9 {1 c
  1195. . O( x. B& G' o3 {1 C
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    9 c' t3 x4 i8 V" o* C" B
  1197. ; http://php.net/mysqlnd.mempool_default_size: r% ], c8 O3 W& U
  1198. ;mysqlnd.mempool_default_size = 16000
    8 ]; E" K; @5 J: p2 @4 }$ H/ N" h. f
  1199. ( y- D$ V" P+ x* W0 \; z( r
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    9 ?& t' B9 V& K
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size8 |6 z' U" _6 f: \( M: X
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    0 j  X5 s( k% V' R. w& i! [& b

  1203. - E; j' m/ U) a. k$ O' N1 P
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in( H) H! K8 Y6 \+ D7 C( J& ^. F
  1205. ; bytes.
    1 q3 X2 ~% g! }
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    1 ?. i# v* [' I
  1207. ;mysqlnd.net_read_buffer_size = 327688 e: X" l, S1 J& m6 ~8 T: ^
  1208. 7 T2 V* ~% c3 P: j, f) Z+ x$ W
  1209. ; Timeout for network requests in seconds.. k* W" P/ X5 ]  K& o% Q3 g4 X
  1210. ; http://php.net/mysqlnd.net_read_timeout
    6 l3 w$ v- f, o$ h. M9 m# b7 J
  1211. ;mysqlnd.net_read_timeout = 31536000+ j% [& R/ X, _, f; L  F

  1212. 6 N8 k, b( H% z: ^! j0 u) T
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA9 z# s: K% x+ l- ]/ E0 a
  1214. ; key.# i# v8 P3 J, A0 I' e
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    # w* m: R' _: N0 }
  1216. ;mysqlnd.sha256_server_public_key =
    ( s7 L' T( k- ^# P4 R# w! T

  1217. ; t  x3 L' P8 X+ D3 A/ Z6 {4 }! k
  1218. [OCI8]
    . ~- s5 W& N. G
  1219. . w1 h% `" d3 b$ W( b
  1220. ; Connection: Enables privileged connections using external
    7 z+ O: x% V( F4 W/ o) E
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    . D# w) H4 p8 p. p
  1222. ; http://php.net/oci8.privileged-connect
    " C$ \: ^! k  n" i* x8 Q
  1223. ;oci8.privileged_connect = Off  _( \: g/ |* t+ M) [) A7 W
  1224. ' Z& Q1 a6 ~! s, J
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    ) Y$ b- l" ^8 I6 \  _( v) a- s
  1226. ; process. Using -1 means no limit.
    * W* F, R" P' J9 g5 `
  1227. ; http://php.net/oci8.max-persistent
    ( s: c- w" f3 ]0 A0 W
  1228. ;oci8.max_persistent = -1
    6 B) K9 G7 `/ t) V

  1229. : q6 X8 C% A7 u$ G6 f: z! Y
  1230. ; Connection: The maximum number of seconds a process is allowed to+ `# K) k( b; U& |! s9 X
  1231. ; maintain an idle persistent connection. Using -1 means idle1 d+ N9 k5 G+ U: l2 _" z5 G
  1232. ; persistent connections will be maintained forever.
    + m/ x& R0 G' t. l
  1233. ; http://php.net/oci8.persistent-timeout
    2 b( ?3 {! B# k* ~. `$ z
  1234. ;oci8.persistent_timeout = -1
    7 ^7 s# z" n/ D$ ^$ E4 h& e
  1235. 9 N# Y& c+ }2 a# T" |* h0 ?
  1236. ; Connection: The number of seconds that must pass before issuing a" N( i2 q8 Q, _$ d) I
  1237. ; ping during oci_pconnect() to check the connection validity. When: q! E2 Y6 e0 e( Z5 t% Q) I$ W
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables& s4 }  |* h$ ~% R5 M
  1239. ; pings completely.# V2 [3 d0 s$ `$ G: a6 y; W) L: }
  1240. ; http://php.net/oci8.ping-interval
    , d% T& [) ?; @
  1241. ;oci8.ping_interval = 60
    $ b/ }) c6 u1 E+ k9 S1 h% |% C* t; k8 i0 Y
  1242. # R6 T; P7 _/ ?+ \1 a: A
  1243. ; Connection: Set this to a user chosen connection class to be used' R7 [/ \- v! ?* S- y
  1244. ; for all pooled server requests with Oracle 11g Database Resident$ }. R; G$ d" |- r5 V0 U/ E
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
      Z+ ~1 r' A6 T( {  m) Q. [( ?5 I
  1246. ; the same string for all web servers running the same application,, E9 F' t; m2 D; Z7 f2 u0 n% G, c
  1247. ; the database pool must be configured, and the connection string must5 _# r! ?& [# Q0 S- z( z, h
  1248. ; specify to use a pooled server.
    7 \: J/ s1 b8 G8 T: `' M& J% d- @
  1249. ;oci8.connection_class =, ~* _. z; U1 i* e. o$ @# h$ U
  1250. & H$ Y8 \( d8 m9 o( }
  1251. ; High Availability: Using On lets PHP receive Fast Application5 l+ h7 H; n9 C
  1252. ; Notification (FAN) events generated when a database node fails. The2 U* f# j# b9 p  T+ F
  1253. ; database must also be configured to post FAN events.! e9 I2 ~$ c7 k+ m: p  m. Z: x* G
  1254. ;oci8.events = Off2 L# o  l: C6 z' N* U; n
  1255. % X4 D! h& |# ~) K8 p
  1256. ; Tuning: This option enables statement caching, and specifies how
    5 `% r9 |$ p, U6 G+ y: k2 N
  1257. ; many statements to cache. Using 0 disables statement caching.* m! {4 V; c" `, v
  1258. ; http://php.net/oci8.statement-cache-size  w8 p! }# m/ @# n
  1259. ;oci8.statement_cache_size = 20
    6 w. Y6 q: m5 `+ u) b2 J2 I' ^
  1260. 5 q8 G8 [0 U$ B) b9 D( e" r
  1261. ; Tuning: Enables statement prefetching and sets the default number of, z% p6 e" H3 t5 a" ^+ y
  1262. ; rows that will be fetched automatically after statement execution.+ L+ i4 b: R/ v% N9 J2 E0 E
  1263. ; http://php.net/oci8.default-prefetch9 v+ ^7 U" h, U$ R' M$ O
  1264. ;oci8.default_prefetch = 100& X6 M) C& z0 _$ R0 ?
  1265. 5 B* v  q% P( S' d) W! Y
  1266. ; Compatibility. Using On means oci_close() will not close
    9 @6 D& ?* ~7 u* W4 `) l
  1267. ; oci_connect() and oci_new_connect() connections.8 C1 `$ g) A# h- x9 H4 O
  1268. ; http://php.net/oci8.old-oci-close-semantics
    1 Y7 ?' @' x, B  f& A6 B/ q6 o
  1269. ;oci8.old_oci_close_semantics = Off
    " @  k. e: D/ t5 B
  1270. 6 g. \  i% I' c7 m
  1271. [PostgreSQL]
    2 I! p$ t( \0 ^' k% K
  1272. ; Allow or prevent persistent links.- |( @( L  k5 {% @! l0 f, O8 }
  1273. ; http://php.net/pgsql.allow-persistent
    2 {2 b4 R0 a- c$ n
  1274. pgsql.allow_persistent = On$ F/ |+ _* ]+ V' l

  1275. $ ~, _$ A! W6 x
  1276. ; Detect broken persistent links always with pg_pconnect().
    2 o: s) g% W) \
  1277. ; Auto reset feature requires a little overheads.
    # V0 s7 g. b* v. F
  1278. ; http://php.net/pgsql.auto-reset-persistent
      o9 \* [* {" m5 U
  1279. pgsql.auto_reset_persistent = Off
    1 _" j+ b- H- X, X' x- M2 S/ P

  1280. 6 D  t$ w" o5 N/ Q
  1281. ; Maximum number of persistent links.  -1 means no limit.
    ; Z3 j- {0 D* t& W# m3 z& r
  1282. ; http://php.net/pgsql.max-persistent
    ( Q2 p( a- b7 e/ M7 l4 B
  1283. pgsql.max_persistent = -1* M. S% V2 x) {: X3 J

  1284. 7 U. C3 X8 g& n) C
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit., q; t* J! s/ z' s
  1286. ; http://php.net/pgsql.max-links) M. O. k# G: v* H3 D1 `6 F- M7 d
  1287. pgsql.max_links = -1
    / o7 d! V) x) b! v  q6 x

  1288. 2 X+ Y7 |' \: g3 c  e% c  t
  1289. ; Ignore PostgreSQL backends Notice message or not.9 B) t0 V4 S5 L) j: W
  1290. ; Notice message logging require a little overheads.- `3 Y& Q" [8 U( B
  1291. ; http://php.net/pgsql.ignore-notice9 T. N# j2 M7 ~- H! z
  1292. pgsql.ignore_notice = 03 G: o, B6 c8 c
  1293. - j/ e6 w2 S' E2 ~  p) _# G
  1294. ; Log PostgreSQL backends Notice message or not.- ^$ T+ V$ _4 l9 g& O5 p4 D
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    0 _3 @, W. E, V7 p+ p
  1296. ; http://php.net/pgsql.log-notice% U: `/ ~1 F" K* f( L
  1297. pgsql.log_notice = 0
    ) b6 X* ]! }" x# P& n  ^

  1298. 2 o+ b  U5 {; g( r. p% a
  1299. [bcmath]7 T8 Z8 q! Z5 z* |
  1300. ; Number of decimal digits for all bcmath functions.6 r5 @1 U9 b& z' v/ b0 L) F
  1301. ; http://php.net/bcmath.scale; u- z  T1 a  u! l3 O0 W) B
  1302. bcmath.scale = 0
    8 h  |& Z5 e: @1 p; y. e. w; X- |' A

  1303. 9 z2 F7 S* ]% h5 D  d
  1304. [browscap]3 P$ q2 w8 v5 w
  1305. ; http://php.net/browscap4 J2 C# u, k9 F: B! ?3 n/ a$ t7 N
  1306. ;browscap = extra/browscap.ini
    6 U0 X- i  ~: J* N7 K

  1307. * C5 Q7 O! L# k8 u
  1308. [Session]4 D1 z* h8 w# C: \- K- T0 t. v3 O
  1309. ; Handler used to store/retrieve data." v3 @8 ]' X; {3 f
  1310. ; http://php.net/session.save-handler
    ( ~, h, i6 y# d. J! i3 e
  1311. session.save_handler = files- `, ], J  c  V9 e( ^4 q! }8 U
  1312. ! t( k' v: F* R7 n6 n) K
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    ; X' E/ S5 v/ ~0 j5 z: U
  1314. ; where data files are stored. Note: Windows users have to change this
    ( Q& w, i% X; Q8 a
  1315. ; variable in order to use PHP's session functions.
    3 k* v) G1 C  ?" _
  1316. ;# o0 x& f$ d" @* x
  1317. ; The path can be defined as:  }& u4 v. ^% _( H6 R4 L  M
  1318. ;$ v+ m, Q2 u! O+ d$ j, B  O# P
  1319. ;     session.save_path = "N;/path"5 H$ E- y! p3 i# t: n' b
  1320. ;
    ! q' U! {- g6 k# T' j; E' F
  1321. ; where N is an integer.  Instead of storing all the session files in* o9 x- b/ L1 w# y3 x5 M
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    ; b- `" Z$ w4 o
  1323. ; store the session data in those directories.  This is useful if
    0 Z* R' c5 K* r0 `
  1324. ; your OS has problems with many files in one directory, and is0 @; t4 X2 Z0 O8 Q$ {4 \8 A
  1325. ; a more efficient layout for servers that handle many sessions.9 z* E! \; v; s! X( P/ u* m
  1326. ;
    ; P8 G( U( g/ ]. |: v: O0 A
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    % W! e5 E9 Q- M, `, b' ^7 i
  1328. ;         You can use the script in the ext/session dir for that purpose.
    ) H/ y% {: L- z4 r
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    ; |8 @. w; u5 ^6 C; @, ?
  1330. ;         use subdirectories for session storage0 P2 B; a9 O% s& l& F) p# _
  1331. ;
    3 ]+ I. R% `3 d& U6 P
  1332. ; The file storage module creates files using mode 600 by default.) O; N% W$ I% W/ `- S) l, C
  1333. ; You can change that by using- {4 z4 C8 Q. n0 T5 ^! |
  1334. ;
    # O$ ?/ [1 R/ i+ I( m
  1335. ;     session.save_path = "N;MODE;/path"3 e' p8 e" a& l. l
  1336. ;
    " J; G* |3 @* J: W' W/ {- `0 ?
  1337. ; where MODE is the octal representation of the mode. Note that this1 E/ {$ E8 b; P, A0 B
  1338. ; does not overwrite the process's umask.
    1 m0 |+ ~# M, U  |
  1339. ; http://php.net/session.save-path
    9 F; k0 }. H4 l1 _8 F
  1340. ;session.save_path = "/tmp"
    8 h/ N6 y7 k/ q$ J3 Q3 P

  1341. 6 C5 Y  l. N5 G: |9 a
  1342. ; Whether to use strict session mode.# Z% |, I; a* n0 z6 p
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate! p0 j9 [' |. o6 l
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    " g- I6 _: P4 T7 {" s
  1345. ; applications from session fixation via session adoption vulnerability. It is1 E! E7 Z% A4 X: ~  r. I
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.( \/ c+ u& c) ?& v4 K# N! {
  1347. ; https://wiki.php.net/rfc/strict_sessions. c* E2 y+ s$ o0 s0 Z& M( J* O
  1348. session.use_strict_mode = 0
    4 P0 y* N- z5 J# Z# S- p$ z. i

  1349. * L4 m- A* |- A. X
  1350. ; Whether to use cookies.* P4 F! N% H8 T5 V3 f
  1351. ; http://php.net/session.use-cookies
    . I9 h  [0 ^+ L. O
  1352. session.use_cookies = 1+ I6 j' \- s( G$ M, a+ R: A4 W
  1353. & m6 z) A( k9 q7 P4 [4 }
  1354. ; http://php.net/session.cookie-secure/ o, {% ?$ G! Z: T; ]% r
  1355. ;session.cookie_secure =
    / _  {! E$ O: Z3 G! J

  1356.   T/ q) f2 ^  K6 g
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining6 p- |0 h8 a1 E1 j  [1 i+ s
  1358. ; the session id. We encourage this operation as it's very helpful in combating8 D9 s2 ~# ]; c* |
  1359. ; session hijacking when not specifying and managing your own session id. It is+ h; M2 l: f9 X
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    % f2 ~; \. s8 s5 f" H
  1361. ; http://php.net/session.use-only-cookies/ K/ n; r7 j+ u, o' i
  1362. session.use_only_cookies = 1
    $ U5 H6 b1 k; A3 \+ e9 t, j1 h
  1363. - [2 l5 o! e9 i5 ~
  1364. ; Name of the session (used as cookie name).
    / h4 E3 c* B8 u1 Q
  1365. ; http://php.net/session.name
    9 {; L3 c6 E( j$ [! |" U+ ~  B
  1366. session.name = PHPSESSID4 ^6 K& D$ ?+ c: I  _" S& T9 X

  1367. 4 _: |# f/ X" b7 o+ H
  1368. ; Initialize session on request startup.
    , @5 i" [/ T- {  q6 Z
  1369. ; http://php.net/session.auto-start
    % g$ X# e& L$ S
  1370. session.auto_start = 0
    $ x  ]1 G" f  H; M1 A0 l

  1371. % @( G9 a" T5 E
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    - B/ \' n& K0 n' P) U: p8 q. v) a
  1373. ; http://php.net/session.cookie-lifetime
    * O3 u; T& K& ]: Z& U& T* `* @
  1374. session.cookie_lifetime = 0! T" S. G7 d7 h4 ^: k) O: u

  1375. . n* R- R) c. v2 g7 e! {. a& C  K
  1376. ; The path for which the cookie is valid.
    ' N/ I, Q" F7 R  \" O! \
  1377. ; http://php.net/session.cookie-path7 D, }" g. Y6 M, w5 E
  1378. session.cookie_path = /
    , H5 \, e1 h- u& s

  1379. ( H% h  m" A) l9 Z; N! I
  1380. ; The domain for which the cookie is valid.
    * U0 U$ o* ]. r, C* B1 K8 D! {
  1381. ; http://php.net/session.cookie-domain" n1 C$ O5 T+ {3 s
  1382. session.cookie_domain =+ |6 Y. n8 g* L* T3 a8 ~0 s$ s
  1383. 4 |+ I6 B; G7 Q$ y: ]" R
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    . N1 J4 r$ }4 V8 h' Z6 z4 c
  1385. ; http://php.net/session.cookie-httponly; {9 l: p! _) N' T  j8 Y( {0 J# ~
  1386. session.cookie_httponly =1 X8 ?- D1 z- \2 }' W# t

  1387. 2 a+ ?5 o3 N9 G
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.' r! J( X' r% n/ P
  1389. ; http://php.net/session.serialize-handler! o, {" K$ A/ p
  1390. session.serialize_handler = php8 G4 _3 q' H3 @2 d( G: Q
  1391. 6 I" I, T" V9 r) Z1 I* g% F/ j
  1392. ; Defines the probability that the 'garbage collection' process is started. y2 k" @2 R* c; q6 d2 W) _
  1393. ; on every session initialization. The probability is calculated by using
    / o; G- n* @/ Y: L% }* o* q. y
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator4 @# d( _' x2 Y( ]$ }
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1: x7 D. l' b+ {$ n/ J& {
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance$ k; ?! p5 s" t  m! L1 W
  1397. ; the gc will run on any give request.
    0 n0 `- f# }1 o* B
  1398. ; Default Value: 1
    " u+ I0 E  }$ g) [* h
  1399. ; Development Value: 1
    ( S4 K% U& |3 P' t
  1400. ; Production Value: 1
    7 H1 I4 }4 Y) n
  1401. ; http://php.net/session.gc-probability
    1 }# x5 N* x/ \( [  L- O
  1402. session.gc_probability = 1" m6 c$ G/ h8 `7 C0 o3 O; {0 K

  1403. 8 C4 a* l  f: S, O7 H5 M; R3 d
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    . T, B; n( d6 m/ @* ?9 }
  1405. ; session initialization. The probability is calculated by using the following equation:5 p3 L( M' p0 e+ c2 r9 g4 `+ x) d
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and0 V2 G  [9 K& m% E1 \
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ( Q% z+ P; z3 S" F* a5 _
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance: ?( C3 a0 t8 i- R; f
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you9 a# |3 J7 t" D5 o! F
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ( p. d9 N4 |/ m& W6 a
  1411. ; this is a more efficient approach.7 z- a% E1 g" y0 R# k" O
  1412. ; Default Value: 100% K" N7 p+ L  i# }/ {; J* P
  1413. ; Development Value: 1000
    8 d9 k$ U! Q6 s: y- F) H& M. I
  1414. ; Production Value: 10009 h2 Q0 d' o. A& b6 d  f
  1415. ; http://php.net/session.gc-divisor1 v1 m; p9 o% S0 i) F3 m' T' n
  1416. session.gc_divisor = 1000! x& }2 a9 R; r) d: d2 G! E8 A  `% `
  1417.   i* ~8 t( h5 H; e
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and3 I/ ^. f3 x; {
  1419. ; cleaned up by the garbage collection process.. J/ m, r/ F7 g5 @8 |# u  ^
  1420. ; http://php.net/session.gc-maxlifetime
    " u' ]5 \4 B8 d( A, s6 T- K
  1421. session.gc_maxlifetime = 1440" P; F! t& E2 M0 z5 y
  1422. % J( [+ ~7 D, g/ v3 `1 o7 P
  1423. ; NOTE: If you are using the subdirectory option for storing session files2 S/ g3 E& l- Z6 W1 ?/ E
  1424. ;       (see session.save_path above), then garbage collection does *not*
    & h; x) z: T! t
  1425. ;       happen automatically.  You will need to do your own garbage
    5 `- q; q# ^2 f* \( m! F. @% B
  1426. ;       collection through a shell script, cron entry, or some other method.
    . X! q& Y9 @8 Y$ y7 k$ j3 f
  1427. ;       For example, the following script would is the equivalent of
    0 B! l  F. w3 k
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    * d- x7 q- ~9 o/ Y
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    8 g# z6 A1 i. ]( c* ^
  1430. ! a% K5 a3 R& r, T+ B7 G+ d
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    1 Q; r7 {8 w' z7 o" ~( v
  1432. ; HTTP_REFERER has to contain this substring for the session to be! x. I! n& F! A3 P# _
  1433. ; considered as valid.+ V$ l1 L/ S& L! O$ D7 W
  1434. ; http://php.net/session.referer-check4 O2 Z0 Z' _) f, {5 H, R' _. T
  1435. session.referer_check =9 k- U8 A9 f1 D& W* k/ j& F

  1436. ; r- A- x* ^6 U7 v
  1437. ; How many bytes to read from the file.: U2 ]3 V* A9 ?0 u7 A7 O2 ]3 b5 y
  1438. ; http://php.net/session.entropy-length- L& `, h9 w9 v
  1439. ;session.entropy_length = 32
    % u: p; f: ~, a5 c; D

  1440. - ^( |7 |/ E. @
  1441. ; Specified here to create the session id.
    / o- m# M, N1 T) R1 v
  1442. ; http://php.net/session.entropy-file4 Z2 r+ n+ s4 g7 j6 l+ r3 G1 ?
  1443. ; Defaults to /dev/urandom+ Z- ~7 K3 J8 \* b% R9 Y+ [
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    / n* g0 v3 |1 `9 V" M6 i$ W' M
  1445. ; If neither are found at compile time, the default is no entropy file.
    $ F- \2 F' _. S, o/ P
  1446. ; On windows, setting the entropy_length setting will activate the
    + O+ ?- P* y2 w- x( N9 F1 I- f
  1447. ; Windows random source (using the CryptoAPI)
    ! Y/ G' l" p' C/ X, b
  1448. ;session.entropy_file = /dev/urandom0 N- T3 ]7 m( L6 Q) `

  1449. , j& F6 [; f  i0 N$ ~+ c
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    3 b4 d6 ?% G  k6 z) O* s
  1451. ; or leave this empty to avoid sending anti-caching headers.0 W& K# i) ]# H& v/ n, f3 @2 `* I
  1452. ; http://php.net/session.cache-limiter* r' |+ Y1 S: A$ p
  1453. session.cache_limiter = nocache' b! g4 N' |3 D& X, E; x! N
  1454. ( v5 v& D+ ]3 u! {$ A0 R/ [
  1455. ; Document expires after n minutes.
      p# l# ?1 G% d- m8 {
  1456. ; http://php.net/session.cache-expire
      `- S( Y9 A7 {; D& v0 U
  1457. session.cache_expire = 180
    % M7 ~3 X" t7 C( A+ Y- f' W4 @
  1458. " Z+ S$ D4 i' F" E" d
  1459. ; trans sid support is disabled by default.- _9 _  w2 j0 K* v( I' a& C
  1460. ; Use of trans sid may risk your users' security.: V& ^7 e3 n6 u5 I
  1461. ; Use this option with caution.
    . \1 \; D' V( a
  1462. ; - User may send URL contains active session ID
    # y# X4 l( ]- D& P" G
  1463. ;   to other person via. email/irc/etc.
    + A! Y8 n, F% R" e! S
  1464. ; - URL that contains active session ID may be stored
    4 K. s$ Y3 T1 E
  1465. ;   in publicly accessible computer.
    + A2 [$ |3 B9 B) i4 n  L; h
  1466. ; - User may access your site with the same session ID
    + o; ~3 g( O7 c/ M
  1467. ;   always using URL stored in browser's history or bookmarks.. h0 O& T1 X3 ?  E. C+ Y1 _( N
  1468. ; http://php.net/session.use-trans-sid6 S/ R6 x  O% t$ S
  1469. session.use_trans_sid = 0; h( V9 k5 E' g) N# q8 R; ?

  1470. 2 f; |1 O* M* p/ G- M
  1471. ; Select a hash function for use in generating session ids.
    & u0 B; P& [3 z" L  [9 r9 ]$ G
  1472. ; Possible Values0 G6 ]3 G: E3 E& u8 T4 \
  1473. ;   0  (MD5 128 bits)
    # S7 N0 v0 {; N8 B/ S5 `0 E, t2 f
  1474. ;   1  (SHA-1 160 bits)- t- t; J! d  D6 ~
  1475. ; This option may also be set to the name of any hash function supported by
    6 G3 s, I* Z/ ~* W/ V
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()- P$ o0 O4 |2 e) ]1 z4 z- j
  1477. ; function.- `# _: Y' ]* C% l# @/ k
  1478. ; http://php.net/session.hash-function% J4 \( H0 Y0 ?; \% n+ W5 R2 E2 S
  1479. session.hash_function = 0
    : K% q& |3 [' a, h) Q( s  B% G

  1480. . a! w: U* Z& d4 i* n8 C
  1481. ; Define how many bits are stored in each character when converting
    & v! F0 j1 A5 D
  1482. ; the binary hash data to something readable.
    5 E) w. F0 g+ M% B+ h
  1483. ; Possible values:, D. O( y# j3 u) h( U( ]" O
  1484. ;   4  (4 bits: 0-9, a-f)" R0 y* V6 t$ \* ^% I0 z7 A
  1485. ;   5  (5 bits: 0-9, a-v)7 l$ U. f2 E8 E1 Y( [7 G
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")8 n% L5 N( c' W
  1487. ; Default Value: 4, z% {9 k! w+ C" L
  1488. ; Development Value: 5
    : h3 o2 p( t8 ?3 h" d3 C! b$ r! I
  1489. ; Production Value: 5
    $ ?$ W# K# _" Q
  1490. ; http://php.net/session.hash-bits-per-character) l' W1 Y% n% n( `6 S* q  Z
  1491. session.hash_bits_per_character = 5
    ' g0 A# \* p) a; A/ `* ]
  1492. ; i* Y! e5 r/ m. O# ~9 g- V$ ?. `
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags." {, R! f& u- v: u4 y( |# ^/ u
  1494. ; form/fieldset are special; if you include them here, the rewriter will* N% z6 {4 G' d" z& s$ Z4 Q
  1495. ; add a hidden <input> field with the info which is otherwise appended5 s  ~6 @0 v7 ~/ X
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    1 m9 F; j& d6 X" t  z. c
  1497. ; Note that all valid entries require a "=", even if no value follows.' l+ I1 `6 W$ ?' Z' O, ?- i8 Q
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    , [. J' ^3 j  n2 U( E& |% r& }
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"5 w+ a# b" j) Q6 b6 L7 i5 T! G
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 e$ k0 E; T3 ~8 c, \0 W5 }
  1501. ; http://php.net/url-rewriter.tags" P( Z3 `. g- Q1 t6 r4 e
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( C% M8 ]- x- Q9 |4 b

  1503. 7 N  R, r- l  l
  1504. ; Enable upload progress tracking in $_SESSION
    ' ^0 V, l% Q# y. r/ G2 Q) j
  1505. ; Default Value: On
    ! A( j7 _; _% S( K6 h, y5 `% Q
  1506. ; Development Value: On
    ( T4 b; q1 n3 O0 Q" c
  1507. ; Production Value: On* W6 V) C( B& h6 m$ c
  1508. ; http://php.net/session.upload-progress.enabled
    9 r  c; A( x' O/ R
  1509. ;session.upload_progress.enabled = On
    # j8 x5 h# A8 o  j; J1 G; O

  1510. 2 I/ C% ^% n  i' \0 u/ H6 j# j
  1511. ; Cleanup the progress information as soon as all POST data has been read
    - E( W6 e( g! k
  1512. ; (i.e. upload completed).
    5 p" m* x% r5 O" s. {8 S
  1513. ; Default Value: On
    ' ~; O8 y$ Y/ X9 p6 Y1 O  G
  1514. ; Development Value: On4 ]( Y% E, Q5 h
  1515. ; Production Value: On4 ^2 b1 c# }- v1 M; M4 y; q
  1516. ; http://php.net/session.upload-progress.cleanup
    9 h0 Q; A% p0 k. P/ W1 i: N: |
  1517. ;session.upload_progress.cleanup = On
    9 ?! ]# D+ f4 w. O
  1518. 0 L- N9 W3 y2 X, }4 d
  1519. ; A prefix used for the upload progress key in $_SESSION
    * D8 V) ~  H& E! g& c6 r
  1520. ; Default Value: "upload_progress_"% t) a/ E0 Z2 F+ r) i7 v1 S
  1521. ; Development Value: "upload_progress_"+ b( W- ~# M: j* A- ]
  1522. ; Production Value: "upload_progress_"
    ; A9 X+ i# w# b) I
  1523. ; http://php.net/session.upload-progress.prefix
    & ?6 y7 v/ q8 a
  1524. ;session.upload_progress.prefix = "upload_progress_"- w1 K  G: Y( J) G' U2 s" }4 _
  1525. 3 S' S' u. p0 T2 W+ O# j  K
  1526. ; The index name (concatenated with the prefix) in $_SESSION% p3 \% n% @3 {2 n4 d) P3 {6 ]: v
  1527. ; containing the upload progress information  S3 I' B  P  Z2 |
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! E5 j. P5 @; k- f
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"$ d5 c8 P8 h! Y8 C' q6 r
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ' @0 w' T& |+ e
  1531. ; http://php.net/session.upload-progress.name8 k( Q8 v6 M6 K3 v1 z& b
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS", x8 h" P$ b9 f, |. u
  1533. % b2 g7 ]1 k0 W% Q5 a3 d
  1534. ; How frequently the upload progress should be updated., L% [& B9 o! h- q$ |4 R" ^' O
  1535. ; Given either in percentages (per-file), or in bytes7 ~0 Y+ L' l! e/ O$ j4 d" T
  1536. ; Default Value: "1%"% G8 R. h. r. Q  M# r7 U
  1537. ; Development Value: "1%"
    " C. N; W- U8 m
  1538. ; Production Value: "1%"
    : p4 s; N8 H1 u2 E$ K4 f- u
  1539. ; http://php.net/session.upload-progress.freq
    % m' @4 `  _0 _: o9 @
  1540. ;session.upload_progress.freq =  "1%"! d+ I, x$ Q" Y! n4 W* X3 Q
  1541. - ?" n' N. j$ E, d- ]+ N* T
  1542. ; The minimum delay between updates, in seconds# U. ?7 I0 V6 ^/ l8 `
  1543. ; Default Value: 1
    2 V' R0 z4 {) Q4 S
  1544. ; Development Value: 1
    " R' ^6 r  G7 n# ]4 _3 ^% n( N
  1545. ; Production Value: 1/ s- ?. B. @, }% h1 F/ s/ X; \
  1546. ; http://php.net/session.upload-progress.min-freq9 o- }9 s6 X+ }6 ~1 M0 M! Y" I. C
  1547. ;session.upload_progress.min_freq = "1"
    ) {- k0 u3 Z0 n9 r1 \3 Q) c
  1548. / d' W4 X+ R3 B- V6 }( J0 F- E/ I9 A
  1549. ; Only write session data when session data is changed. Enabled by default.3 y# M: ], [! x! W( g* v
  1550. ; http://php.net/session.lazy-write
    ; F7 e: D) [/ Z2 H8 k) v
  1551. ;session.lazy_write = On+ V' M0 \2 O. t; l4 E- V: Q( U8 z

  1552. 6 g) l4 [* D1 ^# I8 e& Z
  1553. [Assertion]3 L8 Z$ p0 }8 |* Y/ n
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ( q5 r5 C$ W2 c/ Q/ t5 w
  1555. ; -1: Do not compile at all
    7 }, q4 h' P* q
  1556. ;  0: Jump over assertion at run-time* w5 ^! B' j3 w4 D) t
  1557. ;  1: Execute assertions0 r6 `4 x, u! Y0 d- e
  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)
    + l" y9 H5 T* L) C6 X
  1559. ; Default Value: 1
    / e+ _4 P' ^( C4 ]6 n9 o
  1560. ; Development Value: 1
    ; W; I; c( f( D# |1 C# G
  1561. ; Production Value: -1
    7 A" `* D: j. M8 S5 B% d* P" ~
  1562. ; http://php.net/zend.assertions  e! z! s& w. D/ ?( o7 e6 V9 }
  1563. zend.assertions = -1' B8 V5 r% a7 }! x! n8 m( G* D+ {
  1564. ( y/ L4 X/ l+ _4 ]; w0 F
  1565. ; Assert(expr); active by default.
    ) E3 P8 k3 n! Z
  1566. ; http://php.net/assert.active/ \/ @% I! n! v/ `; U! h5 i
  1567. ;assert.active = On
    3 V9 l0 e; r! d" k) [

  1568. 3 d( Z. U1 J$ b9 a+ G! D
  1569. ; Throw an AssertationException on failed assertions
    ' o" q# h; v0 V' ~0 q% N6 |
  1570. ; http://php.net/assert.exception
    7 Q. K8 l4 C4 N, `: ]  X) |. a
  1571. ;assert.exception = On- E; L0 v; s6 s

  1572. & x) @( _2 v' G' Y' |
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)8 J$ r  Y$ w" m
  1574. ; http://php.net/assert.warning1 C2 z0 \  H( e. x
  1575. ;assert.warning = On5 F, Z# K" r9 ~1 D* y

  1576. 2 R3 p2 ^3 b( W1 t, ?
  1577. ; Don't bail out by default.
      p" X$ f3 [3 |; ^6 S2 j
  1578. ; http://php.net/assert.bail
    & @; @7 H8 t8 \9 N( R: L, m. W% `
  1579. ;assert.bail = Off: O; V; t' `! }, W& N

  1580. / U' Q/ f1 D4 k0 P
  1581. ; User-function to be called if an assertion fails.
    8 q% A( a  m) Q
  1582. ; http://php.net/assert.callback
    0 J+ t( p4 h! B1 z; D3 L3 j: H+ G
  1583. ;assert.callback = 0
    9 J. y( t7 z4 w' V0 E7 f

  1584. # Q: x  Y# H/ k' u) F
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    3 M% h7 Y4 E7 ~; m6 D/ n% ^
  1586. ; error_reporting(0) around the eval().0 X" e1 d. H& V0 K/ f" a5 M% W
  1587. ; http://php.net/assert.quiet-eval
    + ]: U# q1 K% M: x- P3 ~
  1588. ;assert.quiet_eval = 0
    " }6 C( v( N) E' `; G

  1589. : O7 q: h0 `  C( |9 P% @8 N! O
  1590. [COM]
    7 M  X$ E$ i4 l# |/ b
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs' c8 k, ^  h, m/ L+ O
  1592. ; http://php.net/com.typelib-file2 `+ C% s' [1 p: ^  e
  1593. ;com.typelib_file =6 W" I* G6 t3 e5 R# Z" T& Z5 [

  1594. ( y0 H1 }; C% h: X+ P
  1595. ; allow Distributed-COM calls' [& K) U" A" v. c5 S- V
  1596. ; http://php.net/com.allow-dcom$ [. j4 K5 `3 j. r+ Q2 |/ N
  1597. ;com.allow_dcom = true( ^" `- {' J, M8 {, F" X8 d1 Z
  1598. 6 b0 k6 J& K2 M/ A1 D
  1599. ; autoregister constants of a components typlib on com_load()& J  D7 F3 F0 M7 }4 k
  1600. ; http://php.net/com.autoregister-typelib  B0 l$ @# f& u& z
  1601. ;com.autoregister_typelib = true
    / `0 d* a+ u8 k5 l
  1602. % `8 {& f3 R' ]
  1603. ; register constants casesensitive5 b7 Z' B7 ]9 D1 x9 |- O- o
  1604. ; http://php.net/com.autoregister-casesensitive
    3 |) P5 r7 J/ `* P+ K
  1605. ;com.autoregister_casesensitive = false+ `' @" h' g  z

  1606. 2 [' j5 E! i! g. Y
  1607. ; show warnings on duplicate constant registrations
    2 O5 a  d9 X$ {- \
  1608. ; http://php.net/com.autoregister-verbose, C+ P. Z! i! y  T0 F
  1609. ;com.autoregister_verbose = true
    # L% X* I6 z; g7 {
  1610. ; S3 x. H( V1 T1 T
  1611. ; The default character set code-page to use when passing strings to and from COM objects.3 i; T0 m. f6 H' O- J
  1612. ; Default: system ANSI code page
    & U7 x1 K$ L& Y; @5 ~/ ^
  1613. ;com.code_page=
    6 Z3 Q  R$ l2 O3 r0 I7 \$ G

  1614. ' Z1 o) n% A6 C  {  R/ ~2 l
  1615. [mbstring]
    0 ~% f; O3 A) g3 ]) X( N
  1616. ; language for internal character representation." c3 \: K$ T8 k' j
  1617. ; This affects mb_send_mail() and mbstring.detect_order.# N, K6 M0 {( `* y, z" z1 n
  1618. ; http://php.net/mbstring.language
      q' [1 w/ u8 o' i! h+ t9 q0 [8 u+ @; Q
  1619. ;mbstring.language = Japanese# w. b/ n2 @2 L8 K7 B! z. i" P

  1620. 3 t/ ?' n- t' h5 r' Q
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.5 }( O0 P/ U7 d9 z- L' x
  1622. ; internal/script encoding.
    " J) V% ~% {6 _* Y; o2 Z
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)6 M* z( a0 E4 i$ K7 m3 C
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.4 I4 P7 v' @# g2 i7 m1 w
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    2 y$ _% q8 v" A: x. l
  1626. ;mbstring.internal_encoding =
    ( s. M9 z- E' j( [- X# {7 Q( b

  1627. 5 I$ }5 s0 r) y
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    - R* a. Q& l& n1 s' [5 B1 D
  1629. ; http input encoding.
    7 Z$ B5 a0 x5 n
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    2 h" @9 t7 N: o
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ! O4 j- F( w4 z' c8 h0 b* d- i! Y
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input* ~& q# M  n$ ]* Z" D' e4 Z
  1633. ; http://php.net/mbstring.http-input( I& v, Z+ c, I! ], h! V
  1634. ;mbstring.http_input =
      G% b: Y5 q3 F% J
  1635.   e+ o& D6 ?. Z) c: v% ?
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    0 d! v6 k5 |! D6 C4 ?: |2 e1 K
  1637. ; http output encoding.
    6 b% X( \# X9 b
  1638. ; mb_output_handler must be registered as output buffer to function.+ f! s# i/ D2 E! R5 ?7 q
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ( P3 o0 m) S0 H. O, c
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
      ]0 o2 _$ }' p- L
  1641. ; To use an output encoding conversion, mbstring's output handler must be set: k4 m: m+ i$ }; O! U: t
  1642. ; otherwise output encoding conversion cannot be performed.
      E2 b/ e  U) d( v1 y' e
  1643. ; http://php.net/mbstring.http-output
    8 R6 ]* ]5 U. }. E, f* W
  1644. ;mbstring.http_output =% U2 e: G+ {5 N, `( I( Y7 a- [

  1645. # K9 N+ m( k7 W& ~* z7 M  S
  1646. ; enable automatic encoding translation according to
    2 e  `. D# r; ^- j
  1647. ; mbstring.internal_encoding setting. Input chars are
    8 Y7 K9 ~7 l# w. O
  1648. ; converted to internal encoding by setting this to On.
    2 T0 ]0 f" d2 z7 \' E1 J, B
  1649. ; Note: Do _not_ use automatic encoding translation for
    - G' t( H$ ?2 ?  x% a" `1 }
  1650. ;       portable libs/applications." E7 r5 l8 v: p" h) J7 A
  1651. ; http://php.net/mbstring.encoding-translation
    0 m6 F; Q! A! _' a$ P
  1652. ;mbstring.encoding_translation = Off
    $ o' `" M- y4 S, V% _- U2 }6 ]- Y

  1653. $ \5 p$ A5 c" [# Y( E, }# l8 A2 ?( e
  1654. ; automatic encoding detection order.9 P4 c# p+ T. o. [) J6 b0 ?. Z+ I8 s
  1655. ; "auto" detect order is changed according to mbstring.language/ L! h$ l; U8 G/ h
  1656. ; http://php.net/mbstring.detect-order
    " Q2 T" U& m" s' u
  1657. ;mbstring.detect_order = auto8 X& M! \1 C- m+ u
  1658. 8 |0 @) o0 j0 r8 q
  1659. ; substitute_character used when character cannot be converted0 t7 a5 x  V# ?# u2 S. J" }; x
  1660. ; one from another; s& {$ E4 X, ~* {2 C
  1661. ; http://php.net/mbstring.substitute-character
      y( m$ e" I4 |; C5 I
  1662. ;mbstring.substitute_character = none9 W$ q8 B6 E9 R. O4 ?8 M
  1663. ; f& U! _4 e7 c' p& ~7 R* E% @; I
  1664. ; overload(replace) single byte functions by mbstring functions.; n) w. \* ?' X  \5 k! O  W: C
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    , r9 M* h; ?% H$ d" |. a; n6 J
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.( L+ ~" a; t6 ^8 F/ v- C
  1667. ; For example, 7 for overload everything.
    # W  T; H0 ?9 k1 h
  1668. ; 0: No overload
    ) N* v% F9 u- Q1 \7 ~
  1669. ; 1: Overload mail() function
    # r! Q7 n1 L3 i" s/ g$ S
  1670. ; 2: Overload str*() functions
    # ~! e$ M1 i3 i4 @& d  o
  1671. ; 4: Overload ereg*() functions
    7 `# P$ m: f$ x! M! L2 P* A; N7 r
  1672. ; http://php.net/mbstring.func-overload
    - u) E7 ^+ V3 M  d# }; E% `6 S6 _
  1673. ;mbstring.func_overload = 0
    & v. [& Q2 v. a/ Z1 @

  1674.   r* p$ F% s- S- o8 L& q
  1675. ; enable strict encoding detection.
    4 c( @% |% U7 ]. \
  1676. ; Default: Off2 J  u- m: f) v2 b# L& |$ w
  1677. ;mbstring.strict_detection = On
    & {$ X* i+ W: q5 z. w+ Z" Z

  1678. 7 X" Z% t: v' k0 i
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    . \7 Y) ]1 ~; c$ U* ?3 A/ v) `4 m5 i
  1680. ; is activated.
    & ^% }. c& C% |. N
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    6 Z/ f' H8 C9 i1 L- d7 W! B
  1682. ;mbstring.http_output_conv_mimetype=
    8 F: {( f8 ~* u# L! |% x5 i# t0 u% Q

  1683. 6 {! A! p. h6 R5 X
  1684. [gd], O! ^8 o" n8 q
  1685. ; Tell the jpeg decode to ignore warnings and try to create' S3 D5 x  g5 M8 V6 ~5 g/ a' J
  1686. ; a gd image. The warning will then be displayed as notices: |! K0 M5 e: y8 e  y' [+ j. ~; H
  1687. ; disabled by default
    # h5 `) R. y: X- m5 b6 Y
  1688. ; http://php.net/gd.jpeg-ignore-warning
    5 b: l$ P7 x1 _/ I, w& R. {
  1689. ;gd.jpeg_ignore_warning = 00 _3 |% u8 E  Y4 ~1 V+ m

  1690. ; P" }$ Z3 d, g/ d& B
  1691. [exif]
    1 {8 a7 O6 m5 u3 A4 h
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    , p8 H' E4 P/ W* B4 t* f
  1693. ; With mbstring support this will automatically be converted into the encoding! _+ z% \1 A$ I4 |3 f) b
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    : {- {) z' `/ I0 N. z! r
  1695. ; is used. For the decode settings you can distinguish between motorola and4 C+ U; O* @. L1 f) M/ ~6 @& @
  1696. ; intel byte order. A decode setting cannot be empty.6 w9 o" R1 G- l' S4 d
  1697. ; http://php.net/exif.encode-unicode
    , Y# F! u" m3 T/ c7 T
  1698. ;exif.encode_unicode = ISO-8859-15
    + c; L) W2 q$ W- }! [7 Z
  1699. " E, u7 t  K% L# `
  1700. ; http://php.net/exif.decode-unicode-motorola$ e9 W/ d* K; W. H
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    # ~" K( N1 T( Q

  1702. : I8 u1 l2 N9 `' T, ^* L; w
  1703. ; http://php.net/exif.decode-unicode-intel
    / d6 h2 s8 C" k3 `
  1704. ;exif.decode_unicode_intel    = UCS-2LE' _1 o+ a3 G+ {$ e3 k
  1705. . ]* a) U! G# W$ A1 T
  1706. ; http://php.net/exif.encode-jis
    8 W, I! x( _/ W$ y* s. e) I
  1707. ;exif.encode_jis =: F7 p$ s. P# F+ i1 i" d

  1708. ) N# Z9 R4 s7 H" O
  1709. ; http://php.net/exif.decode-jis-motorola
    + d2 y( ]" P8 I7 ^8 r8 K/ m; u) \5 B7 P
  1710. ;exif.decode_jis_motorola = JIS% ^6 {0 y$ ^6 Y0 X; K% P

  1711. 9 e  Z- W+ f8 k4 I8 P2 l
  1712. ; http://php.net/exif.decode-jis-intel
    + G/ t2 k. [0 }" M
  1713. ;exif.decode_jis_intel    = JIS. |) F, [" X8 F7 v8 T7 ^

  1714. 8 m! E  g3 q  p3 H% }- |6 t
  1715. [Tidy]
    $ I4 p# B0 |% r$ ~+ w
  1716. ; The path to a default tidy configuration file to use when using tidy
    4 x! Q# k" p+ x2 \- H( o% ^
  1717. ; http://php.net/tidy.default-config
    4 Y; i6 T6 N$ N$ E8 g
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg& x) T3 @0 q/ I
  1719. " Z0 _6 [4 C1 C5 u* _
  1720. ; Should tidy clean and repair output automatically?# I( e3 l4 l' V5 r' {
  1721. ; WARNING: Do not use this option if you are generating non-html content
    $ v& ~  g& }$ ]
  1722. ; such as dynamic images: h. P2 E# @* \7 c' K+ U
  1723. ; http://php.net/tidy.clean-output
    : o) t3 T! g  n, @7 d
  1724. tidy.clean_output = Off
    ; `. Q% {7 ^% z- q# S

  1725. . t6 M0 O  C3 M: H$ I. q
  1726. [soap]
    # m+ O4 K0 W$ _6 p  {0 U3 t
  1727. ; Enables or disables WSDL caching feature.0 m1 I: ?$ v0 Y* ^+ V
  1728. ; http://php.net/soap.wsdl-cache-enabled
    ( k6 g3 Z5 O6 a
  1729. soap.wsdl_cache_enabled=1" {! [0 I6 f5 O) p
  1730. 9 h3 `* H8 _- _) G3 T6 Y) r
  1731. ; Sets the directory name where SOAP extension will put cache files.$ @1 I' O0 s# V) g
  1732. ; http://php.net/soap.wsdl-cache-dir0 Y+ u5 s, A% u4 T2 B
  1733. soap.wsdl_cache_dir="/tmp"
    ) Q( L: s- J) T0 o3 f' x" \+ m* R5 J1 ~

  1734. , R; w( A  b, Y' g) w
  1735. ; (time to live) Sets the number of second while cached file will be used( F" x/ }1 Y8 n+ Y, J7 T3 Y% {- t
  1736. ; instead of original one.( p1 p& r. A8 n
  1737. ; http://php.net/soap.wsdl-cache-ttl
    $ w# k0 n- Y7 u" n
  1738. soap.wsdl_cache_ttl=86400
    ( R/ d7 A: O/ ?* B
  1739. & n/ d" q. Z  N1 H$ ~% i/ B
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)8 [5 ^9 E% X7 F
  1741. soap.wsdl_cache_limit = 5
    , o8 X" g4 H: q9 g" B# n
  1742. 7 D* L( s% U+ U4 E
  1743. [sysvshm]/ S/ u: K- G& U: _; C* @2 K
  1744. ; A default size of the shared memory segment
    ; v( p* D+ l2 @, I
  1745. ;sysvshm.init_mem = 10000
    * N  [) b+ S' ^+ c/ r4 P3 V' ]
  1746. 4 V5 ~. ], J* U3 H; C
  1747. [ldap]
    : }% l* U% u# v+ ]2 P
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    6 }6 `* _6 ?. A% ~& a5 N
  1749. ldap.max_links = -1
    ' y! ]3 m/ B/ Z, m( `

  1750. - I* I# X9 R% H  Y/ B0 j8 C, E) L& K
  1751. [mcrypt]8 }( J- B. N8 E( _
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    # X/ V5 Q$ n8 }: T3 n+ a0 Q

  1753. 6 g, p) z( B* `4 P8 h& w
  1754. ; Directory where to load mcrypt algorithms- ]% ~2 N) {$ ?( F, i, n* o. e
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)* K( V- C) U$ h# Y
  1756. ;mcrypt.algorithms_dir=& ]+ g7 G. N9 W9 e: t; i$ o' s
  1757. ! ?$ O5 P9 g0 B2 y5 l: S3 @& L
  1758. ; Directory where to load mcrypt modes
    ' m8 a/ Q: h+ }, k  H/ w
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    : `9 Y9 V7 R6 m5 S9 ?* \
  1760. ;mcrypt.modes_dir=
    7 A! O; D, N' ]" l
  1761. ( p* t8 C( U$ r& f' N
  1762. [dba]
    ) y$ j4 v4 q$ t5 j/ y2 D# c  Y
  1763. ;dba.default_handler=
    / G& H* r7 o- R$ f& }

  1764. 5 G" w! O6 i# D1 I
  1765. [opcache]
    # T. R1 E9 ~# ?$ }
  1766. ; Determines if Zend OPCache is enabled
    6 `, Z  g5 X* b1 h; d7 L+ d
  1767. ;opcache.enable=0! C- @2 ~. j/ t$ B4 {3 p

  1768. 4 t/ k- \- j8 D! h& ^7 E
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP( t9 _! ]! v$ M6 ?
  1770. ;opcache.enable_cli=0
      z* B, V# k+ _( ]. ?+ H
  1771. ' y, `' j; L1 [7 h/ A
  1772. ; The OPcache shared memory storage size.
    ! T; s+ k' ]3 r. {" |9 }5 q+ ]
  1773. ;opcache.memory_consumption=64" L& e# H3 v. @0 n

  1774. ) H4 i2 f; ^( l8 X( u8 T( I
  1775. ; The amount of memory for interned strings in Mbytes.
    # Z. ~" I1 R) a0 B7 X. A( d
  1776. ;opcache.interned_strings_buffer=4
    ) B7 E6 i6 w$ t) S! D: @+ m
  1777. 8 i  N, g* o* f
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    $ m3 o, e& d) q. s# c* g
  1779. ; Only numbers between 200 and 1000000 are allowed.
    - I; o+ d  x7 j1 S6 @' R& ]* w2 v
  1780. ;opcache.max_accelerated_files=2000
    % [( e# _8 Y2 D% y, a
  1781. $ a" W! n( w3 r4 E2 ~, Z
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.- x) x8 L) B8 P8 _0 F0 W  r& l4 t" ~8 o
  1783. ;opcache.max_wasted_percentage=5
    % C4 k: _+ V  ]7 p  z0 `- h
  1784. * ~$ e; w# @* m/ j0 P
  1785. ; When this directive is enabled, the OPcache appends the current working
    / I: f5 T& k$ G7 q. F- X5 V3 B: i
  1786. ; directory to the script key, thus eliminating possible collisions between
    # v9 m; p6 H7 ^: A8 G; M+ N( |
  1787. ; files with the same name (basename). Disabling the directive improves
    ; h/ I1 b. Z9 @5 `) h8 u% O
  1788. ; performance, but may break existing applications.$ ]. q+ L" |* Q
  1789. ;opcache.use_cwd=1; h, ^; _5 d& l" V9 z

  1790. # \- Y! S9 u1 H1 v7 M
  1791. ; When disabled, you must reset the OPcache manually or restart the
    ( Q! q, g; q. ?% N
  1792. ; webserver for changes to the filesystem to take effect." B4 d9 T6 _1 Z& Q$ O# _
  1793. ;opcache.validate_timestamps=1
    4 s! t% f' V- i' i
  1794. ( M3 f" D  D5 \, @
  1795. ; How often (in seconds) to check file timestamps for changes to the shared7 }! w3 T; D6 T% n" f
  1796. ; memory storage allocation. ("1" means validate once per second, but only+ l$ o- j% \1 r3 n7 t
  1797. ; once per request. "0" means always validate)
    + z- k; h7 o) v. S9 N" d, P8 @/ l
  1798. ;opcache.revalidate_freq=2
    $ u1 f$ a$ p; K& N* O, f
  1799. ( R& x9 b$ ], ~% V
  1800. ; Enables or disables file search in include_path optimization
    5 g) |6 W% |, \2 u7 I6 X9 i  [; N8 O7 I
  1801. ;opcache.revalidate_path=0
      H  V; G2 Q7 D2 w4 I
  1802. 9 Z# u, J5 ~8 [/ ^3 }! B- I% K3 o
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the3 m* `6 ?# ^8 B. c5 m: ~% N+ I
  1804. ; size of the optimized code.) u2 o6 y8 b  ?, m2 ]; ^# f0 q/ K1 X
  1805. ;opcache.save_comments=1
    0 P2 s6 g2 C, o2 w

  1806. / x8 v& ~. `7 B- T6 b
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    * |9 Q0 ~/ `/ M; `; a& {
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    6 j% F- g2 _  M8 G
  1809. ;opcache.fast_shutdown=0
    * N, \" b, a% j. X1 [: y2 h9 q

  1810. + P9 s% v7 b$ [: z( c7 J& V2 a; h
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    - \0 K1 {, [2 i8 W3 G  d
  1812. ;opcache.enable_file_override=0
    % g/ i. X  r' t: N0 s; C4 t

  1813. . |& ]/ _  D0 ^# V' n
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache0 C* T$ g4 h$ w. [% M" B! n# q1 K
  1815. ; passes9 Q0 D; Q. x+ b9 ]4 O
  1816. ;opcache.optimization_level=0xffffffff) d1 ~1 S  R5 o0 z3 @- c$ q
  1817. , U: b: i0 v4 b: p/ F
  1818. ;opcache.inherited_hack=1: p* m+ h3 f: A* C- L! j
  1819. ;opcache.dups_fix=06 m* m6 n0 {/ x3 j3 @$ a; t/ z7 L
  1820. + L8 a1 \. R! @' z) l, K
  1821. ; The location of the OPcache blacklist file (wildcards allowed).7 x" N4 N9 k. C* l# k" N
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    * I! v3 [6 Y- _& U% y: l0 P3 i
  1823. ; that should not be accelerated. The file format is to add each filename
    # [5 h# t' r9 }8 ?! T+ _
  1824. ; to a new line. The filename may be a full path or just a file prefix
    8 j* u) `4 Y' b. D# K
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    8 S- I$ J; D8 @, ?$ y+ @/ _9 d' ^
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).! T+ n0 A- x# q
  1827. ;opcache.blacklist_filename=
    7 i- p( l3 x( L% X
  1828. 4 ?1 J9 F+ @) t2 V
  1829. ; Allows exclusion of large files from being cached. By default all files
    , H; B' Z' S, ]4 B
  1830. ; are cached.
    : t3 N3 {- x0 g- Y$ D, R
  1831. ;opcache.max_file_size=02 s9 m1 _8 \4 m$ Y
  1832. * m" `: e5 V$ _+ |5 L) ?9 R
  1833. ; Check the cache checksum each N requests.
    / `7 o" i) y5 `
  1834. ; The default value of "0" means that the checks are disabled.
    / m4 j; f/ L- L1 W
  1835. ;opcache.consistency_checks=0
    ' |9 d2 h3 B6 U! k

  1836. & N1 J: W5 H5 H% h% q5 J% g3 D
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache* z0 q6 J9 U3 N- B, @1 y; V) ?& }
  1838. ; is not being accessed.. v9 E- C" K) d* Q
  1839. ;opcache.force_restart_timeout=180# W6 b. L& {+ P- ~+ m* y; m* ?

  1840. 6 k# ?# c7 u  ^3 A$ v' o/ t
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    ' ]$ Q- Y( f; E6 Q1 I& c1 u
  1842. ;opcache.error_log=- Y9 }9 @7 r- K# l1 E6 d6 D0 b
  1843. ! B2 R( j7 F" l
  1844. ; All OPcache errors go to the Web server log.
    ; ]! n! m/ g* T4 y$ q5 e) z- L7 R
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.8 q' m" E* h! B. Z( O# G+ n
  1846. ; You can also enable warnings (level 2), info messages (level 3) or) `8 Y0 g( H' u) {. x" W7 n" F$ r
  1847. ; debug messages (level 4).* {8 d1 a# B- E) m
  1848. ;opcache.log_verbosity_level=1
    * q$ V8 y' W* }9 k! c: s
  1849. ' r3 n$ z+ J9 Y8 K$ @  [
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    5 m# y. c8 o6 L# B1 J
  1851. ;opcache.preferred_memory_model=
    / i' ?1 L2 c8 U7 U/ |1 Z% n. L
  1852. # p: ]3 k( N/ x. G8 k" Z2 v* D
  1853. ; Protect the shared memory from unexpected writing during script execution.8 _2 W* s/ d; O; `( R/ T" Y2 @
  1854. ; Useful for internal debugging only.0 ^7 }& s+ T6 |, E( K+ P5 w. f
  1855. ;opcache.protect_memory=0
    % Q0 \  s4 f: i  k8 m" l/ `; O

  1856. ; R6 z( m) K! ?  G
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    ) }8 Y/ t' j) Z# y4 I$ F
  1858. ; started from specified string. The default "" means no restriction
      V$ s2 X) {( Y: y
  1859. ;opcache.restrict_api=
    4 N2 W# l2 R2 h
  1860. 0 o6 i, |. s: E! O$ w
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP  e( f; u( C- o% J" p* h
  1862. ; processes have to map shared memory into the same address space. This4 `1 h% e' V+ o
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    $ _) m3 e7 p1 T
  1864. ; errors." b" ?% C/ [" a8 z* I" }
  1865. ;opcache.mmap_base=
    # d$ d3 l* r; k% d% E6 ^# n, ]
  1866. * l) l' `0 I  q( o1 ?. ~
  1867. ; Enables and sets the second level cache directory.4 c0 e& U! A' J7 [& }4 Z& }* S
  1868. ; It should improve performance when SHM memory is full, at server restart or$ b2 W$ r$ m7 S4 S% {
  1869. ; SHM reset. The default "" disables file based caching.& O) R: j) w/ `" @- l
  1870. ;opcache.file_cache=4 E* `. E7 Y' ^! l

  1871. . t! y; O* ]3 J, u. E# k1 S& c$ M
  1872. ; Enables or disables opcode caching in shared memory.
      `; O7 l0 T, a5 r& c, y6 f, e
  1873. ;opcache.file_cache_only=0' e/ _5 ^8 j$ ]' q
  1874. % w. F' n6 m( ]( T) }
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    8 j) ]2 k- h6 v" H
  1876. ;opcache.file_cache_consistency_checks=1
    $ e0 p. n$ x  z0 @
  1877. 3 Q  Q5 v8 w! a5 C9 H# L) \4 X8 R
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    / N4 S0 J: R5 R0 p$ q2 R
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file% p, ]2 ^5 C9 r- r4 Y' Y& ?
  1880. ; cache is required., e! G9 N; e. o, J1 O" P. O
  1881. ;opcache.file_cache_fallback=17 U/ ?. ^# |( W) }

  1882. ) G8 d6 C  F8 e9 C# w7 B& a9 r
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.! z9 U4 _5 Q! o! x% Y
  1884. ; This should improve performance, but requires appropriate OS configuration.
    ) [( u; n: n1 W: R0 h- O2 I
  1885. ;opcache.huge_code_pages=1
    & o, d2 S& [: r  R+ t4 o

  1886. ( d7 }9 T) [+ C% w/ {8 q
  1887. ; Validate cached file permissions.3 I- j1 ?6 C. }" w* j1 E6 v
  1888. ; opcache.validate_permission=0
    ; j0 B2 E: H( s4 U3 Y+ f* T/ _
  1889. 8 R' Y! d9 t0 z+ w; b0 ]
  1890. ; Prevent name collisions in chroot'ed environment.+ O3 h7 @( ^/ G% T- j" `% y7 _
  1891. ; opcache.validate_root=0
    , c1 c0 b" X; q1 b* s$ e

  1892. , S1 C2 A; P$ o' H3 U9 Z
  1893. [curl]  g. F4 J' O" D0 I5 Y& Y* o
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an2 V1 v1 P6 X' h7 E3 Z; X
  1895. ; absolute path.
    ( \: C7 m9 q3 o( a
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt! b3 n6 N* q% |, B$ ~( u7 z& r  _; X
  1897. 0 l5 r5 w' q1 F$ y" V, y& o
  1898. [openssl]/ A! @2 R+ z. S+ }" e/ U
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    8 q* \0 V/ M) F1 e6 N5 z
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    # W# o+ h' ~  S4 P7 F2 Z1 ?- T
  1901. ; not specify a value for this directive as PHP will attempt to use the! I6 O0 P8 e) U4 Q1 o
  1902. ; OS-managed cert stores in its absence. If specified, this value may still5 J6 G1 ^6 J, e
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context% @- B# W& ?/ R" ~+ C5 [
  1904. ; option.
    * E( n0 q' n2 L$ m2 i/ M
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    1 k) |( ]. L, s$ f& W
  1906. . t6 O9 K7 M& ]5 c: r# H: C; ^
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the/ h( a5 A1 q, ?0 B7 A- A. f
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    # e( H  ?, H5 W" f
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    8 z$ a& U9 s" ?7 I' K1 J) X/ O) j8 m! z
  1910. ; Most users should not specify a value for this directive as PHP will
    6 \  m8 h! s" U/ e) C; `, u2 u# x6 I
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    5 a) W7 E  _2 @2 M% M
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    , g+ z$ c( {/ T9 a/ Q
  1913. ; SSL stream context option.
      k' x* w% Q) t. G. k* P
  1914. ;openssl.capath=7 o: ?2 i& R% v9 L$ \

  1915. 1 V4 Z" X9 E( r9 f& H
  1916. ; Local Variables:
    + h. @& l3 I8 w# v* w/ ?6 W( _' l
  1917. ; tab-width: 4
    8 ?, y) F6 F' v, ?4 N8 d2 T
  1918. ; End:8 ~# d5 b" d& J
  1919. 7 E' O6 L8 l7 F- U8 v& T
  1920. ;eaccelerator
    , d9 y# H9 H# c
  1921. ( D8 {3 ?- v6 O$ X) ~+ X' I0 m8 F/ Z
  1922. ;ionCube' x' e; s, ], z+ H& f

  1923. 1 z% l+ l; a" j7 F6 p
  1924. ;opcache; }4 z) |, i% ]- K

  1925. + I" B5 V) C" A# Z* C
  1926. [Zend ZendGuard Loader]
    ; S" C5 n& l3 h9 T7 b+ ?) B
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    % c3 W6 s+ s; f. Q
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    # Z: X" Q8 l" ^2 V1 F
  1929. ;zend_loader.enable=1! K/ \+ k2 w2 N- Q
  1930. ;zend_loader.disable_licensing=0" M0 V& p- i5 ?. q, j4 D% x' x0 k
  1931. ;zend_loader.obfuscation_level_support=3
    * A% H1 T% n3 M* e8 L6 ^4 b
  1932. ;zend_loader.license_path=
    : p0 d- |/ P. J3 @/ G. [
  1933. ' d  d# Q! V2 Y/ S
  1934. ;xcache# p+ d  U$ D2 F/ S* _# p: D

  1935. 1 ?4 ?  W: X# D9 i' [/ ?' H- u" I
复制代码
6 j6 B8 {1 ^( ~
2 L  z! v, v' B( [' k1 _( A

  v8 H. c) Z" g; m% L6 P, ~
. X: \2 [% W/ \8 i- x8 y. U$ {2 s! J2 c. i3 B8 I

2 [4 y/ d, s4 L6 A, X/ h/ J2 M4 K+ J
PHP5.6版本原始设置. ^$ E! [% j& r) t! {! O4 E
' {9 x) B8 P! n3 r. E- t
  1. [PHP]
    / F) l+ A& M' ^( H1 L/ @

  2. ) I3 K6 l9 o8 ?% w1 Y6 l
  3. ;;;;;;;;;;;;;;;;;;;/ k0 m" b, F6 P, u, H- ?0 S( ]4 c
  4. ; About php.ini   ;
    8 @$ {* J7 |( O2 v
  5. ;;;;;;;;;;;;;;;;;;;
    4 l/ U$ i8 y8 T- O% ]
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    5 v# S9 k* c- ]/ p  k# [1 o
  7. ; configuring many of the aspects of PHP's behavior.
    ' K# d7 ?7 N8 w0 L! Y
  8. ; s8 ]' I2 P, c. a' C. F+ q  E0 v& C
  9. ; PHP attempts to find and load this configuration from a number of locations.
    % M+ v' P" R6 i8 D1 Z9 X
  10. ; The following is a summary of its search order:! N( R3 m/ Z2 ^3 k& P
  11. ; 1. SAPI module specific location., S+ {3 g9 Z4 ]- B- {# b
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)5 ^' j0 x+ c; n5 R; @2 |
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0), ?1 a( P. h" `  Q
  14. ; 4. Current working directory (except CLI)! B0 w& V2 {/ ~3 M# _/ S3 z6 \: F7 K
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP/ z- z) k! L: [% A3 m
  16. ; (otherwise in Windows)
    9 ~4 D6 x' U$ T; w: @5 ~. E
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    , }; b9 Z- D8 P
  18. ; Windows directory (C:\windows or C:\winnt)- r" R' I% F5 C
  19. ; See the PHP docs for more specific information.
    ) E* m9 P( T8 n6 Q5 y( C$ |! e4 r
  20. ; http://php.net/configuration.file. {3 ^8 W2 t0 ]0 g* Z7 o
  21. : o3 U3 S, E+ I' T: P8 M
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    & _7 \9 J5 V1 p! j9 m" ^' ^/ `6 \
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    $ G! a# J, {2 Z" b
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though# _, P1 N- Z1 ]
  25. ; they might mean something in the future.+ n- m( P$ B7 {9 u0 y. A" [
  26. - t; I9 w& X2 C6 G+ J5 k9 U
  27. ; Directives following the section heading [PATH=/www/mysite] only, x! X+ |9 Q+ t4 J: P. ]7 l5 c7 k
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    9 E& h( _& n" ], m
  29. ; following the section heading [HOST=www.example.com] only apply to
    , J0 M; D$ t4 t: a
  30. ; PHP files served from www.example.com.  Directives set in these
    / d0 b; w1 d1 M/ t  y- x1 g1 k' n8 v
  31. ; special sections cannot be overridden by user-defined INI files or' Y6 i" f% @; q* d
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    & s# T$ {6 j- s
  33. ; CGI/FastCGI.
    3 j, x& D$ w# N: Z1 g% i
  34. ; http://php.net/ini.sections
    1 o$ _5 k) o( o

  35. ! g. I9 P) }3 Q- \0 u+ f8 z
  36. ; Directives are specified using the following syntax:
    1 b* z; g7 [8 d$ ~7 l
  37. ; directive = value
    ; W. e0 M' W& e% b
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.& H; G, S! s( }0 j, [! s
  39. ; Directives are variables used to configure PHP or PHP extensions.$ r5 L' T6 f/ f/ E$ R* U4 V4 N2 T
  40. ; There is no name validation.  If PHP can't find an expected; x  S; u2 M9 j7 O' Y% I; `. y
  41. ; directive because it is not set or is mistyped, a default value will be used." ~" P9 O+ E5 Z' [' R; B

  42. + g9 e! e, u% i; O( J
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one  ]3 T& _7 c3 H3 t  d
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression4 W6 i, S, q4 h/ C3 c! j
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a" L. [& B! U, e9 u
  46. ; previously set variable or directive (e.g. ${foo})
    2 H- s+ ~+ w- u8 A, ]! `) n6 F
  47. 5 M# Q% k7 }4 R7 ?/ z# ^
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:3 G2 ]+ c( F- V. m4 B! G. Y
  49. ; |  bitwise OR2 d  X2 R1 q+ l, e, W/ [
  50. ; ^  bitwise XOR* t5 Y  _" c: [2 I; w3 `; e; w3 [
  51. ; &  bitwise AND5 N/ h5 A$ }/ q/ y9 r) e, h7 K
  52. ; ~  bitwise NOT
    " D" h" B% d$ y# {
  53. ; !  boolean NOT
    5 }3 A4 i$ d/ ]  C$ R3 J- M8 n

  54. ; D4 l* K2 ~  e3 b" A3 ^
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.* O! b" N2 p2 g; {
  56. ; They can be turned off using the values 0, Off, False or No.% C2 \9 m/ g# y

  57. , ~8 R0 P* [4 H- G  v3 t
  58. ; An empty string can be denoted by simply not writing anything after the equal
    0 E* O) [  J9 l* c* {* r
  59. ; sign, or by using the None keyword:
    5 ^9 n& D: _4 K/ b  v, g

  60. : z6 i+ }8 ~; N1 _
  61. ;  foo =         ; sets foo to an empty string" z. K1 I* j) y2 L3 Z( ], J2 x
  62. ;  foo = None    ; sets foo to an empty string
    / |) Z0 H/ u/ N( d: S* g
  63. ;  foo = "None"  ; sets foo to the string 'None'
    5 g$ O9 w( X0 x! I) Q
  64. ) U* Y  m. T) {
  65. ; If you use constants in your value, and these constants belong to a* G! L; c9 ~: [( n9 k4 b% s
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),% @5 W& O: ?/ u, r  q
  67. ; you may only use these constants *after* the line that loads the extension.
    6 N* u8 a6 W8 y0 {/ ?' R* s
  68. - [; H: D4 r: M1 Z' p
  69. ;;;;;;;;;;;;;;;;;;;* x# j+ F7 l4 S- z7 D
  70. ; About this file ;& {$ V+ f5 B# Q9 U/ A* `0 m; P" i
  71. ;;;;;;;;;;;;;;;;;;;9 y0 T! G: e6 L3 I" Z" {0 H
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    9 l1 U6 m* L7 h: T" \3 t2 ~
  73. ; in production environments and one that is recommended to be used in9 y5 y. {; y" y4 y5 u2 M% u
  74. ; development environments.
    2 n' C6 h# H3 G" j

  75. - d' f; i) A7 Z% {5 i. D# L* o' B
  76. ; php.ini-production contains settings which hold security, performance and. r& i9 H, p* v: q9 O
  77. ; best practices at its core. But please be aware, these settings may break
    1 X4 x6 N0 O( s1 ^, Z
  78. ; compatibility with older or less security conscience applications. We
    / e! H/ ]' O' {$ @: q( I
  79. ; recommending using the production ini in production and testing environments.
    $ g+ H6 `9 J! J

  80. 8 z) F2 {7 m# r& g/ B8 e, ]/ G
  81. ; php.ini-development is very similar to its production variant, except it is) _: F/ t7 Y" i# k$ Y% @4 T% d
  82. ; much more verbose when it comes to errors. We recommend using the* _: \6 u* j7 U5 W0 a
  83. ; development version only in development environments, as errors shown to% N: y9 D) v1 L4 V
  84. ; application users can inadvertently leak otherwise secure information.+ u7 r0 i( |  c( G4 q  a

  85. ( B! p' ~7 q% A9 _: h
  86. ; This is php.ini-production INI file.- L! g3 o1 R, _

  87. ( p$ J: o' M5 j$ F$ a
  88. ;;;;;;;;;;;;;;;;;;;' r/ l! P+ P: Q
  89. ; Quick Reference ;
    2 Y- W( `$ ]+ z
  90. ;;;;;;;;;;;;;;;;;;;0 j# W; _. Q* p  s. k
  91. ; The following are all the settings which are different in either the production
    * n) t, J" p; K; C% z
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    6 N" j& r5 t- u3 J  G. j6 r8 T
  93. ; Please see the actual settings later in the document for more details as to why
    ! G4 s; g% I5 C  h
  94. ; we recommend these changes in PHP's behavior.
    9 g- g( ~: n# ~0 k* I
  95. $ g' O- s$ r3 ?$ |+ [& s5 g
  96. ; display_errors
    & l8 v( T& h& s7 g& D3 H
  97. ;   Default Value: On
    7 o# z7 y  U' r: l( _
  98. ;   Development Value: On
    3 P9 }" ]' b! j! ?3 ^4 |
  99. ;   Production Value: Off. c6 ~: \# B* w0 s8 n6 b

  100. ! Q! s, w+ i+ r7 A( Q
  101. ; display_startup_errors- E/ |* r5 Q! m! a& O  l: B& G! Y- f( t
  102. ;   Default Value: Off
    ; }6 f) ^  t2 c4 s
  103. ;   Development Value: On. o* S  M3 f3 e0 u! R, T
  104. ;   Production Value: Off
    / y8 T5 ~7 H6 v0 d

  105. 1 w8 B9 A  M5 q+ a* N7 {* g
  106. ; error_reporting- x9 }) u0 U% d4 C; \% L% ]
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED+ a8 \2 D8 B. e4 x
  108. ;   Development Value: E_ALL8 L  I* q; g  s: n4 Y
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT' q! a9 d/ r1 X9 g& E+ S
  110. 0 L" s6 m6 m% V1 o, E+ o0 w; ?
  111. ; html_errors
    * g2 x, W0 y% }, V6 n
  112. ;   Default Value: On2 V5 H8 y( {# q# b; Q9 S1 Q
  113. ;   Development Value: On
    ' p" {* [: I3 Q, {1 I* Y( v) ^) v
  114. ;   Production value: On/ Y+ t4 G4 e0 F$ s# b; E- O
  115. 2 U9 F. m: \8 x! Z7 H% ]5 x# q# i
  116. ; log_errors
    . T& C9 q! D0 a
  117. ;   Default Value: Off* G/ V' |, h2 \: _7 ?
  118. ;   Development Value: On
    % ~% Y! [$ D  G* x" ]
  119. ;   Production Value: On
    1 g6 u' {# O; y1 A' ]( Q

  120.   X" m5 H7 e; q. t
  121. ; max_input_time. D3 t1 G0 N1 ]0 V+ f1 l
  122. ;   Default Value: -1 (Unlimited)
    ' _/ p* f7 J; t- _. K
  123. ;   Development Value: 60 (60 seconds)
    / }: j8 [4 i3 u! B( ^
  124. ;   Production Value: 60 (60 seconds)$ N& J/ f; v! y9 j5 Z$ f
  125. ( O4 f  E9 C# ~4 I4 f+ @
  126. ; output_buffering
    2 ~: T& r( G7 Q0 U3 p) d5 ]
  127. ;   Default Value: Off
    3 V+ y+ d" U% L: U5 D3 b
  128. ;   Development Value: 4096
    ; J: |, H- ?! T2 S+ W  y3 Z" R
  129. ;   Production Value: 4096+ j- u7 K" Z: `& N! M$ F  U
  130. , s9 n2 j/ `& B/ M% \
  131. ; register_argc_argv! F- I% o. s2 T2 u
  132. ;   Default Value: On$ s2 @- t: c8 \- {; ~$ |9 @
  133. ;   Development Value: Off
    # }% q9 Q! b- ~+ b' b/ y0 D+ g- O
  134. ;   Production Value: Off9 K' a/ ^- x2 x- p0 W& p

  135. ' R+ x7 U% \# |. e9 j- T8 ^* s0 E& V/ e
  136. ; request_order" }9 p- y$ Z7 s" Z! @
  137. ;   Default Value: None+ T8 c2 i6 q+ ~- W0 ]' I: G
  138. ;   Development Value: "GP"
    5 s" E5 m3 O; g' V. I( V
  139. ;   Production Value: "GP"! b4 Q) f7 Y9 d" x& K) q; S
  140. * S% A* Q7 p7 T
  141. ; session.gc_divisor
    # H. D) x: P6 ]9 t
  142. ;   Default Value: 100& |0 x% r9 V) a' [
  143. ;   Development Value: 1000
    . B# }5 h: L+ U" t: Y
  144. ;   Production Value: 1000) n( Y, {9 J5 u$ X6 t! P* e; `
  145. . I* \8 i& U6 s0 m
  146. ; session.hash_bits_per_character
    3 v1 W, e8 s# Y  Y9 K# }3 j6 `1 j
  147. ;   Default Value: 4
    * L( ^2 [" q" s
  148. ;   Development Value: 5
    6 j/ f2 t" F1 s4 z/ l) R) v2 X
  149. ;   Production Value: 5
    & z; [9 ~7 T( D  H& ]
  150. ; @/ P6 P6 }# N0 k4 h+ x) d* m
  151. ; short_open_tag
    ' f- g( `, P& B1 |3 y5 n, S
  152. ;   Default Value: On% x8 X, t" r5 Y* h! Z- j
  153. ;   Development Value: Off% Q0 J+ X/ {6 Q* c
  154. ;   Production Value: Off
    & y- a  l% [, a/ g! D

  155. 3 D+ f0 N, H+ w
  156. ; track_errors
    ' h! r6 I: ?4 j7 n
  157. ;   Default Value: Off8 Z  B8 X6 h6 |8 u) B$ W. T
  158. ;   Development Value: On
    ) b9 Y5 `  ^5 }$ O' L
  159. ;   Production Value: Off4 l/ j+ H2 p" \! e  E8 b
  160. 7 a/ {* E5 z9 V% n6 C
  161. ; url_rewriter.tags7 H1 e- `6 @* a$ @# W  Q- e8 N
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="% [- k+ H0 A" N* i5 P5 n) _& A5 d
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * V& V. P* A- k- F5 s; r2 |
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 r/ k6 }4 @) ^+ q9 {! v% V
  165. % D3 I2 E3 h: d" a6 e6 {
  166. ; variables_order$ L4 E, g: z1 F/ F1 F+ L; I3 d
  167. ;   Default Value: "EGPCS"7 K9 z, C& \+ Z. k' c9 g
  168. ;   Development Value: "GPCS"
    7 I4 D9 C" c. _9 Z8 |7 ]
  169. ;   Production Value: "GPCS"
    # n- |" L3 |6 c! }$ B( y8 A4 _

  170. 0 z8 x2 N" G, d* p: @5 j
  171. ;;;;;;;;;;;;;;;;;;;;
    : _; t. b# N; I
  172. ; php.ini Options  ;
    ' R. e. `4 {/ h
  173. ;;;;;;;;;;;;;;;;;;;;
    + I/ S) m2 _+ V
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"+ I9 h/ f! K% v
  175. ;user_ini.filename = ".user.ini"
    8 \4 D& c: P) ]% ~
  176. + t( \* x" [, }* P+ v& w; W
  177. ; To disable this feature set this option to empty value" n4 X6 H1 E# _3 S8 O# ?
  178. ;user_ini.filename =; {, X1 S6 \( g) c! J# ?

  179. : b$ L( R, h) ?  [, I
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    $ N/ _( M$ Q5 X( A3 f* ]- m
  181. ;user_ini.cache_ttl = 300
    4 h2 p! Q5 j) _: ]3 c; U9 h* K
  182. 7 m# p2 w9 F2 Z- W/ Y# P: G: t9 G) s
  183. ;;;;;;;;;;;;;;;;;;;;
    ) A6 X9 F9 ]. B/ z) n2 ~( s. _. p
  184. ; Language Options ;, D) j/ B; p, I$ E5 ]" N# t
  185. ;;;;;;;;;;;;;;;;;;;;
    $ g  [$ C9 N4 q3 q. @- ?! B9 J) W

  186. " h# J& Y# h" N  q0 t
  187. ; Enable the PHP scripting language engine under Apache.
    2 h1 N  \7 \( B6 q5 @
  188. ; http://php.net/engine
    : M0 Q0 J% v2 I. L0 p) t+ G
  189. engine = On; H3 U* `% m8 k, J) A4 l1 U

  190. . u: e6 P: n$ `/ h+ U
  191. ; This directive determines whether or not PHP will recognize code between
      z6 E, m$ S% f6 j. B/ k
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ) U" v3 }7 `: B. T! @
  193. ; generally recommended that <?php and ?> should be used and that this feature( d, x; B6 T- k8 R0 h
  194. ; should be disabled, as enabling it may result in issues when generating XML% X; g" y  O' ~
  195. ; documents, however this remains supported for backward compatibility reasons.
    ! }" C8 ~9 g$ U' R- C
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    0 s2 W& g+ J/ F
  197. ; used regardless of this directive.
    0 Q, J$ l/ w8 `" M5 y  P" i- ]
  198. ; Default Value: On! ?) h3 j  }* C, r+ n
  199. ; Development Value: Off
    ; L) U' h7 M) F! o7 X5 i& `: P
  200. ; Production Value: Off( j; S+ s* I  B- d0 @2 ~; ]
  201. ; http://php.net/short-open-tag5 Q1 M7 f$ i. z' z% m) Q3 C' J" s
  202. short_open_tag = On
    1 C0 r9 \" b8 R7 D
  203. 9 G1 z  G3 }' B* [
  204. ; Allow ASP-style <% %> tags.
    8 N2 M9 T0 m+ }/ p8 z
  205. ; http://php.net/asp-tags
    1 @# V# {: _" b3 f# o5 F
  206. asp_tags = Off
    % `" R" A" O4 Y- i4 j
  207. 2 P* s7 ]8 k, Q' h2 Q5 x$ W
  208. ; The number of significant digits displayed in floating point numbers.
    4 h5 ^7 n3 ^( G* X4 T  F: C, {
  209. ; http://php.net/precision
    * B# {' _5 z7 X$ u" {- d
  210. precision = 142 V5 }: Q& e8 I' v! N' _7 k

  211. - {( y/ Z" C& [5 T/ a  ?
  212. ; Output buffering is a mechanism for controlling how much output data
    . a1 b' Y% p5 T% ?5 l
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that2 `6 `6 a* Z. K# K
  214. ; data to the client. If your application's output exceeds this setting, PHP
      y/ i; t( v& v% ]
  215. ; will send that data in chunks of roughly the size you specify./ Q2 H: J1 D* K5 b3 Z3 D" v) e
  216. ; Turning on this setting and managing its maximum buffer size can yield some: K1 d% f: N8 s. e- y' q6 ^' }. P8 C
  217. ; interesting side-effects depending on your application and web server.
    6 u3 I6 D( J: I6 p" @) ^9 G
  218. ; You may be able to send headers and cookies after you've already sent output) ~1 g6 D2 t* _" S+ d
  219. ; through print or echo. You also may see performance benefits if your server is& \. m  u9 E7 f; X5 C( @: \" X6 q
  220. ; emitting less packets due to buffered output versus PHP streaming the output* D2 T  c, P% K; n/ y8 B" z
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance) o2 s$ q) H! B5 i( P3 T* s4 ~! Y
  222. ; reasons.$ \$ W- `( U) @; ]% ?
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    5 W1 Z' ~' ^9 ~/ z: W  E/ ]* N
  224. ;   functions.2 Q# S& ?8 P  b4 T3 q# b
  225. ; Possible Values:5 P- J+ O' i3 w/ n# W, S  A5 `6 ^8 ?
  226. ;   On = Enabled and buffer is unlimited. (Use with caution): h& ]& i$ @) B, h0 B
  227. ;   Off = Disabled" B2 w* G, j4 M" x6 f
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    , `1 n. y8 I+ E6 e- p
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI7 n0 n' h4 U" Z  L2 ~' t- f- h2 ]
  230. ; Default Value: Off
    , n, U5 `# A3 l3 G/ A' [4 q/ H
  231. ; Development Value: 4096
    ! `9 [6 P" V0 E3 k8 {5 F
  232. ; Production Value: 4096, S! j6 B& L/ F
  233. ; http://php.net/output-buffering' p- Y; q2 b5 p) o1 W' l" `) @3 a' ~
  234. output_buffering = 4096
    , K3 S9 G# h2 A5 C
  235. ) Q0 }6 C  C' R7 C* \5 [
  236. ; You can redirect all of the output of your scripts to a function.  For
    + I  ]+ G$ U* @9 I) N% _, E5 p
  237. ; example, if you set output_handler to "mb_output_handler", character2 B! r! ^1 O/ C
  238. ; encoding will be transparently converted to the specified encoding.
      W0 q0 e. ~6 g2 q
  239. ; Setting any output handler automatically turns on output buffering." k/ e( u( v, \5 g# _
  240. ; Note: People who wrote portable scripts should not depend on this ini
    5 v2 \$ H% D: i" G4 x# o+ Z6 H' L
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    $ w0 V1 W+ }' {* h4 _) F6 w" z
  242. ;   Using this ini directive may cause problems unless you know what script
    ; j$ ]0 Z3 ^0 F$ m1 \2 K  ~6 V
  243. ;   is doing.
    4 d2 Z: N2 u2 ^
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler": C# i' T2 ]6 H8 ]+ ^- z1 O$ O! V
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    / l! m  G* i% |' G0 z/ S2 U2 l. ~
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    % F( X2 u: ]- @
  247. ;   Instead you must use zlib.output_handler.1 P8 @) J3 l! N5 {/ n2 P6 F/ a
  248. ; http://php.net/output-handler
    : c  c* {$ c- `# H3 D/ O
  249. ;output_handler =
    * V8 D# |5 d6 D+ p4 o8 l

  250. $ D$ W9 z$ n0 i
  251. ; Transparent output compression using the zlib library
    ; z( E4 S5 _) I3 ~
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size1 ?8 _; J$ Z7 G6 f5 s! W
  253. ; to be used for compression (default is 4KB)' a% K# U. F$ H# n6 f7 Z1 n
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP" {& O' Y5 [/ A. N( N. i
  255. ;   outputs chunks that are few hundreds bytes each as a result of  x1 ~7 u! ^0 T# p( R& b. y' Q  U9 \' f
  256. ;   compression. If you prefer a larger chunk size for better* v; g, S  l$ B- w) D6 t( |
  257. ;   performance, enable output_buffering in addition./ l- q0 b# k  {+ Q# M; b
  258. ; Note: You need to use zlib.output_handler instead of the standard8 N; U# b/ B5 H; O
  259. ;   output_handler, or otherwise the output will be corrupted.
    + s, b8 k) V2 S
  260. ; http://php.net/zlib.output-compression1 b/ T- w9 ]) L# ^5 e
  261. zlib.output_compression = Off
    , a' a% s* P7 Q  {; g# c, o

  262.   u7 n& n% Z" Z+ f# I3 }. G* |
  263. ; http://php.net/zlib.output-compression-level: D& l3 y+ E8 _& I0 Q2 ?9 k
  264. ;zlib.output_compression_level = -1
    / i9 q2 F  K$ M+ v
  265. ; t! p& h0 ^8 _# x& _
  266. ; You cannot specify additional output handlers if zlib.output_compression2 L( |) [& q; U8 v- G' a" z
  267. ; is activated here. This setting does the same as output_handler but in% z% A- \( V6 _: E$ @$ T
  268. ; a different order.
    ! K0 w/ j5 C# p- p/ ~+ Z
  269. ; http://php.net/zlib.output-handler- D7 E8 a9 ?' J' b
  270. ;zlib.output_handler =
    8 ?7 X1 u& o) a; \
  271. 2 n* _- }, v$ s1 b5 J; x% b0 U
  272. ; Implicit flush tells PHP to tell the output layer to flush itself' ?# i0 X6 F# ?2 |' f5 R6 `. Q; F: a
  273. ; automatically after every output block.  This is equivalent to calling the
    & @1 o$ p( h7 y3 D, q4 S: g2 k
  274. ; PHP function flush() after each and every call to print() or echo() and each
    : A# x5 ]$ b+ k. I/ B) \9 v/ L
  275. ; and every HTML block.  Turning this option on has serious performance
    % z! u2 Z* c" O/ t% k
  276. ; implications and is generally recommended for debugging purposes only.
    7 _' g9 R, s) P
  277. ; http://php.net/implicit-flush0 N& X" R. P  r/ ?# a
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
      O* @1 m: @7 W+ I
  279. implicit_flush = Off
    0 K. J+ B! \9 K6 s/ l; c! K. K0 S

  280. ' B# Y2 v7 `; `1 Y, n$ S
  281. ; The unserialize callback function will be called (with the undefined class'& M, _1 V* T; G! m! e
  282. ; name as parameter), if the unserializer finds an undefined class5 y2 P% x9 D/ `, _4 x1 P, w/ i
  283. ; which should be instantiated. A warning appears if the specified function is
    3 r& m0 E7 f% P, X9 k/ t
  284. ; not defined, or if the function doesn't include/implement the missing class.( B6 v+ I; A: X* P9 @4 d
  285. ; So only set this entry, if you really want to implement such a
    9 v3 c5 C: F# F' l7 e' ]
  286. ; callback-function.2 D! ?4 J/ ~; f. Q8 ?0 \6 d' N
  287. unserialize_callback_func =
    ( ?! H% r& u" Q3 }3 B
  288.   |" `. I: A& X' G% ]$ A# p
  289. ; When floats & doubles are serialized store serialize_precision significant3 _: C0 x! G' b: e1 r% q. m( a
  290. ; digits after the floating point. The default value ensures that when floats2 L( X& Y. `1 t; L' I, w- U$ Z
  291. ; are decoded with unserialize, the data will remain the same.
    - m: ]) \, s. f2 {7 ~
  292. serialize_precision = 177 K4 }/ E+ U  x% ?; s5 N+ c

  293. , W2 G7 I' H' m9 m4 _
  294. ; open_basedir, if set, limits all file operations to the defined directory# z3 ?- }( o$ o! ]2 c( f9 o: O$ R, m8 x: N
  295. ; and below.  This directive makes most sense if used in a per-directory
    8 d) G5 [5 a# k/ x
  296. ; or per-virtualhost web server configuration file.$ _1 T: z4 E* }9 t7 p. V8 w
  297. ; http://php.net/open-basedir
    . d9 P1 S' [( ~2 X& h. V
  298. ;open_basedir =! n4 {% [* ?3 t5 X
  299. $ G1 D6 Y/ D5 ?7 J9 k$ T
  300. ; This directive allows you to disable certain functions for security reasons.
    ( f- p4 U- f3 ^0 f, l
  301. ; It receives a comma-delimited list of function names.
    / G$ j7 J0 u3 L  v
  302. ; http://php.net/disable-functions! u! M6 o9 I; x" F6 z! F9 x6 e
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru# W) J2 G' e  R( i

  304. ; u' u! e$ L4 a3 ~. s/ z' k% \6 [
  305. ; This directive allows you to disable certain classes for security reasons.+ d3 _$ `; Z  y" }8 R; a
  306. ; It receives a comma-delimited list of class names.1 z  Z( `/ V+ q
  307. ; http://php.net/disable-classes
    # E/ P/ l3 L7 i1 q7 G% y
  308. disable_classes =
    / i" H/ h9 C/ U. s1 X, Z
  309. - Q8 g- M& A$ A2 X9 L
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    1 ?0 J  N- P1 M" k5 z8 a
  311. ; <span style="color: ???????"> would work.& [* F& ]: o# \6 ~0 G/ ~* U
  312. ; http://php.net/syntax-highlighting
    2 w/ c/ P6 g3 W$ a* T
  313. ;highlight.string  = #DD0000& z2 K3 B" f  s0 b
  314. ;highlight.comment = #FF99009 C, s+ I% C- u8 u0 y! m( @
  315. ;highlight.keyword = #007700
    # s6 G1 ~+ E2 t# y' z$ l
  316. ;highlight.default = #0000BB6 H1 U8 S# ~; h8 s
  317. ;highlight.html    = #000000
    $ u& C" _& m- q' l

  318.   Y( h, R, |/ K" V1 q5 t6 @* E
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    / c* a% u' g8 N, c2 {, w+ u* X& z
  320. ; the request. Consider enabling it if executing long requests, which may end up/ O& j; J9 C, u8 ^: [' g. S& _
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    . k0 H& J( }0 k6 p, c# E9 D
  322. ; is to disable this feature.9 ^* y6 o) K# I. `
  323. ; http://php.net/ignore-user-abort
    # s0 Q* }& o9 E' }1 r
  324. ;ignore_user_abort = On
    - [+ o6 t. I6 ?/ B
  325. 5 |0 ?' g0 G0 X8 `
  326. ; Determines the size of the realpath cache to be used by PHP. This value should0 ?. j3 e9 c8 u9 M/ ]
  327. ; be increased on systems where PHP opens many files to reflect the quantity of0 G& C2 Y- I/ G5 K: _" G( a
  328. ; the file operations performed.
    0 a0 k, P" C/ X4 R
  329. ; http://php.net/realpath-cache-size
    $ {. A1 z- H( I( }! u
  330. ;realpath_cache_size = 16k
    0 y2 l; d+ G. b% w$ P
  331. 9 y) s1 \, }8 z% k3 Q+ \
  332. ; Duration of time, in seconds for which to cache realpath information for a given; K- t( c9 X: s; x& C
  333. ; file or directory. For systems with rarely changing files, consider increasing this6 b2 `# ^4 ~( r" `* \
  334. ; value.6 x; y' n. Y7 G  F( i# Q
  335. ; http://php.net/realpath-cache-ttl' l' ^$ C  U& f4 L6 T7 Z4 }: J
  336. ;realpath_cache_ttl = 120
    % y) U8 d) U& }
  337. 9 p" k. y5 ]0 V& H8 O- h! R
  338. ; Enables or disables the circular reference collector.- G* m& H# @1 ]4 U: e" p
  339. ; http://php.net/zend.enable-gc
    ) S: e% V- H# t7 H  v2 b
  340. zend.enable_gc = On: i5 ]0 p* u8 N" P  C

  341. / c# i/ k/ J0 L5 p( Q
  342. ; If enabled, scripts may be written in encodings that are incompatible with: ]+ b. ~0 ~, }1 d# R
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such( c% m- x" N8 c; o" R1 P& ]
  344. ; encodings.  To use this feature, mbstring extension must be enabled.' j  T7 u" w0 p0 h- t9 T: U
  345. ; Default: Off3 H) l: k  v8 a% r, z
  346. ;zend.multibyte = Off  K, p( J) k* H) s

  347. ; T! i( Q. {0 ]+ x% g5 Q
  348. ; Allows to set the default encoding for the scripts.  This value will be used- i7 ^% E# ~$ i3 L% N
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.8 i) t4 }, ^1 ]  a) @
  350. ; Only affects if zend.multibyte is set.- a) p3 @9 _" g- f6 z# m) z8 C
  351. ; Default: ""7 V  C. L) U: s
  352. ;zend.script_encoding =
    ' q( n5 ]) j1 `

  353. 6 V/ z) L) [8 H4 S! A' F9 b
  354. ;;;;;;;;;;;;;;;;;! x" X4 D( o$ C4 \8 A; J/ M
  355. ; Miscellaneous ;
    + M  ^0 g% E  B9 T
  356. ;;;;;;;;;;;;;;;;;
    $ V1 ?2 g% W" \* C+ E  [
  357. 2 K1 H& X+ A9 J  t1 H
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    ! l) ?. ~4 G0 z3 H: ^7 T9 [! R
  359. ; (e.g. by adding its signature to the Web server header).  It is no security" Q$ M" j0 ]. v
  360. ; threat in any way, but it makes it possible to determine whether you use PHP5 L/ v/ r( o9 y; r+ c3 O; \' ?  u
  361. ; on your server or not.# @# H7 i0 P/ t
  362. ; http://php.net/expose-php
    ' s* {" a7 T& J4 \; z
  363. expose_php = On
    7 k) i& o" ?' X" L, S( v
  364. 0 L9 f8 a, X. F) b
  365. ;;;;;;;;;;;;;;;;;;;( @9 ~1 w8 D+ z6 i' V; c! U& E) e
  366. ; Resource Limits ;
    2 R' v% i& s; }
  367. ;;;;;;;;;;;;;;;;;;;
    1 r. j0 Z& ^$ K' _$ m- k( u! u

  368. # L$ z  a( s8 [  @& p  N
  369. ; Maximum execution time of each script, in seconds7 V5 x' w% O0 i! y( ]: `9 b
  370. ; http://php.net/max-execution-time
    . P" k6 R! z. a% Z" v1 t
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI8 P3 ^; r/ H- i% q% W: s7 S
  372. max_execution_time = 300
    . f. m4 A! P( ~3 [" c! {

  373. 2 c7 t' F9 V3 o$ `+ ?0 ]
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    0 g5 E0 a2 {: [
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly9 T( R/ A4 e% U1 U7 j  S# V
  376. ; long running scripts.. N$ a# p3 j' h: K$ J. @. V; v, O
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI$ e8 t& O6 e; V$ R4 M6 n
  378. ; Default Value: -1 (Unlimited)* u7 Q  A5 F( y. ?/ U6 k* ~
  379. ; Development Value: 60 (60 seconds)
    ' f( S+ C' y. G! m% m* d& {
  380. ; Production Value: 60 (60 seconds)% R( J5 h) j% T; p$ g! |' |
  381. ; http://php.net/max-input-time
    " _2 e+ n& }; [, G; A+ E" ]
  382. max_input_time = 60( p- A8 X" P: o) r8 |4 L0 f* t. p! ]

  383. $ T6 M- o& _% E; H
  384. ; Maximum input variable nesting level
    - ?8 N) V, A' ]" `1 t) c
  385. ; http://php.net/max-input-nesting-level, }2 N8 k) \8 D" N3 _. Y
  386. ;max_input_nesting_level = 645 z6 ^6 I* m, F: m' w* |' T

  387. % l; W  [( P3 V
  388. ; How many GET/POST/COOKIE input variables may be accepted) {  ?. M; {& s  _
  389. ; max_input_vars = 1000
    : o; }0 O8 u8 m* l

  390. ; N1 b6 y4 Y- _8 k
  391. ; Maximum amount of memory a script may consume (128MB)
      u2 H' O% e2 e, l  J
  392. ; http://php.net/memory-limit1 P/ d, F. E. l5 Y! P1 n1 r* {$ ]
  393. memory_limit = 128M( t* n$ g3 S8 i' P$ |/ v! l

  394. % q4 j1 P8 o. N! n7 _, I3 }. E" Z5 g
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ' g. H8 N7 G1 G+ x" g) g0 L! _$ \
  396. ; Error handling and logging ;
    % s5 c9 }$ s. a- y
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
      J1 k% y4 I1 o2 T* r! H7 `
  398. 2 H4 l6 d8 w' z3 ]% X! q  \
  399. ; This directive informs PHP of which errors, warnings and notices you would like/ c/ W. E6 g9 b& ?: n' }3 a( w
  400. ; it to take action for. The recommended way of setting values for this
    - ~( J$ R0 e- Q" i* J
  401. ; directive is through the use of the error level constants and bitwise
    - Z" }6 X) x, a4 V' h6 a1 u# ?! A* N
  402. ; operators. The error level constants are below here for convenience as well as2 X4 a+ h& E$ A  o1 \1 e
  403. ; some common settings and their meanings.
    4 r3 x; {8 O6 t2 g! F8 B$ K
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT' a4 o/ ]2 H. L6 Z# E
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    . f8 u8 z" s3 h! y
  406. ; recommended coding standards in PHP. For performance reasons, this is the5 O8 a! z" \3 \$ G( Z
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    3 k) k7 F6 f1 z# i6 i' L7 Y
  408. ; resources complaining about best practices and coding standards. That's what
    % E: Q6 J5 ]7 o, p
  409. ; development servers and development settings are for.0 T1 ~4 K) y5 U
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    4 F7 o9 O2 G: T. Y  ?
  411. ; means it pretty much reports everything which is exactly what you want during: O% r- I: t. y' n
  412. ; development and early testing.7 ?/ t$ }- C( P/ F
  413. ;
    ( x( \; u. ?9 r- E
  414. ; Error Level Constants:( n+ h9 w  Z- \# Y! W7 a$ Z
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)( y+ ~7 \' n) ?! Y/ m
  416. ; E_ERROR           - fatal run-time errors
    , R& Z& z7 z  ?0 x; x
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    0 t) z' ^4 |  p1 e# ^$ h( t" w% S3 w
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    / R1 }9 }! n. D2 \& X
  419. ; E_PARSE           - compile-time parse errors
    . F, N* i  z# ]3 }  n. V
  420. ; E_NOTICE          - run-time notices (these are warnings which often result! }- Q: [  d8 M; S* A
  421. ;                     from a bug in your code, but it's possible that it was% H% @% `: y- i! C8 m4 D8 E
  422. ;                     intentional (e.g., using an uninitialized variable and
    $ v: O7 D9 }3 R7 y0 K% r" L( G, X
  423. ;                     relying on the fact it is automatically initialized to an+ Y( ]& f" K! n9 o: b! u& Z; y
  424. ;                     empty string)* {5 T$ h% A$ I! q; i
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes$ R3 K8 D$ ?. C& d# w
  426. ;                     to your code which will ensure the best interoperability
    5 G1 E: k( X" x5 k3 e8 a7 J
  427. ;                     and forward compatibility of your code$ y7 B# j. {+ t6 h: [
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup$ n4 A2 V) f8 ]
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's+ ~* d: {1 o3 H! V" @/ E4 T
  430. ;                     initial startup
    ! I3 N4 ~- P! x' a
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    5 F: E  q  x, o5 L- Q# M/ j7 g
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors), G+ h" r* v+ g8 W8 G
  433. ; E_USER_ERROR      - user-generated error message
    6 c3 c% b8 M  {- r
  434. ; E_USER_WARNING    - user-generated warning message
    # ?# X5 J4 U" j! d# K* s: _
  435. ; E_USER_NOTICE     - user-generated notice message3 H% [& t4 y; A* Q, R3 c. {5 q/ N
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    4 n, t8 X; ~. Q- p
  437. ;                     of PHP
    % w$ X, Y5 M' B
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    0 i$ Z  l% `$ s  C$ p0 c
  439. ;
    % {, z+ ?+ ?% y
  440. ; Common Values:" }2 K+ c7 E9 o2 w# u5 _( b. a
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ! q: L# J; N, a) C. `7 h" U, F
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ! y, \* o" R2 X
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)7 L4 Z/ z. H, |0 y4 N; w
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    9 e/ J. E4 l. b$ ]- D
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED. c) X+ _/ t& C# t
  446. ; Development Value: E_ALL
    ! m3 o6 ^; M& n% h- w  F3 r$ a. v  N
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    : |# D( T$ G9 q1 y' F4 Q9 {! C- w
  448. ; http://php.net/error-reporting
    / T. I2 y' o' E6 c$ o
  449. error_reporting = E_ALL & ~E_NOTICE
    & S3 Q! H+ `: k1 m5 `4 b6 n, C
  450. ; X# p5 q" K5 L
  451. ; This directive controls whether or not and where PHP will output errors,6 x# D% c8 u! b& e, _* Q# G
  452. ; notices and warnings too. Error output is very useful during development, but
    $ L$ Y2 o, t! t( J$ `3 s' q& z; O
  453. ; it could be very dangerous in production environments. Depending on the code% c3 Z7 G4 `1 Y
  454. ; which is triggering the error, sensitive information could potentially leak
    2 m7 V5 U+ b* r/ h  a; w: b7 j7 r
  455. ; out of your application such as database usernames and passwords or worse.) ?% b4 I  k0 k! d% \4 ]
  456. ; For production environments, we recommend logging errors rather than, u! b. @2 N5 [6 R! [% J. r5 D
  457. ; sending them to STDOUT.+ E. i0 n; c3 N5 Z9 w9 v
  458. ; Possible Values:3 J0 G8 u9 l1 V5 [% Y  N4 l
  459. ;   Off = Do not display any errors
    : V; [8 w2 [# u" Y4 I* P
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)# M4 T$ \2 |' U5 c4 s0 ^
  461. ;   On or stdout = Display errors to STDOUT
    8 x# _/ M, ^3 @" v! @3 L
  462. ; Default Value: On
    2 D# k! Z2 F7 @& F
  463. ; Development Value: On: g' ^- v* h( Z) _
  464. ; Production Value: Off
    0 d7 \- b. f( Z9 f" S; A  u2 c
  465. ; http://php.net/display-errors: |* a7 y7 s) {/ \+ F! j, \, A9 I& R
  466. display_errors = On
    9 _( q* M1 a$ g/ E( G8 j
  467. ) \( d) D8 ~2 r1 _
  468. ; The display of errors which occur during PHP's startup sequence are handled$ t' g, X9 O( H% r5 v# E, i+ U$ y
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    3 [& L9 f6 E  @" Y6 I
  470. ; errors from clients. Turning the display of startup errors on can be useful in. P6 b  o  s8 [8 ^, D
  471. ; debugging configuration problems. We strongly recommend you* ?  ?. Q0 ?, w
  472. ; set this to 'off' for production servers.1 M: n+ a3 N! P7 b
  473. ; Default Value: Off0 o, K% ]% e1 w2 P7 l6 y! V" R8 q
  474. ; Development Value: On7 T7 }# @4 w- E
  475. ; Production Value: Off1 K$ K( n( S- m
  476. ; http://php.net/display-startup-errors
    1 S' {/ p6 `; P  r/ Z7 F
  477. display_startup_errors = Off/ E# c: y! l1 k! \
  478. 7 r/ }9 Q. c- _2 L# X! f4 V. b/ S
  479. ; Besides displaying errors, PHP can also log errors to locations such as a+ T( x, \8 m" z3 o! i- r
  480. ; server-specific log, STDERR, or a location specified by the error_log
    , K+ x* v* C  p8 \
  481. ; directive found below. While errors should not be displayed on productions
    7 O7 i  I" H4 v4 u* a; C" J8 P
  482. ; servers they should still be monitored and logging is a great way to do that.
    & o8 O' b* @5 Z( L
  483. ; Default Value: Off1 N  v/ u1 U/ N, L
  484. ; Development Value: On. ?* T7 C8 t$ v& ]1 t! i- D: X7 T
  485. ; Production Value: On
    & h! `8 o! z3 X6 d# U
  486. ; http://php.net/log-errors; i) q" u! l# t6 I
  487. log_errors = On
      U( {+ J; z' \* v3 T) c  M
  488. # e) ~7 ]$ y0 W1 e- }" Z: f3 C
  489. ; Set maximum length of log_errors. In error_log information about the source is5 ]+ C# {+ o+ J, q" p0 j% C. _
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.! ^8 j/ b' E6 ^/ K. f* m/ K
  491. ; http://php.net/log-errors-max-len  r7 Q0 q( s: l1 I' W- b& z
  492. log_errors_max_len = 1024, C+ f$ c0 w& p; @) m! i. A; h

  493. + ~6 E1 d0 K9 o8 T3 N
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same7 T: m, e3 }$ `( r' n( f, ~2 o
  495. ; line unless ignore_repeated_source is set true.) R% Q; J2 I) A' V2 t
  496. ; http://php.net/ignore-repeated-errors
    9 j0 }# R% w/ }( e
  497. ignore_repeated_errors = Off( U, x! N( \8 D. E! q

  498. * O8 r/ s7 @" q7 n' c* n
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    6 N' L+ B/ s1 t( Q
  500. ; is On you will not log errors with repeated messages from different files or* F8 V" {/ {, S$ }" \
  501. ; source lines.
    9 Z; C' w9 [1 c- T: W
  502. ; http://php.net/ignore-repeated-source
      q- ~3 M% O. p, w
  503. ignore_repeated_source = Off/ Y/ S  X1 ]: S5 e* E( o3 o
  504. 4 H/ j! G3 S0 k& p, c$ m6 T
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on0 E& D# d% \/ |$ B
  506. ; stdout or in the log). This has only effect in a debug compile, and if/ S' K) L, \& }$ w% c2 E# m2 R
  507. ; error reporting includes E_WARNING in the allowed list
    % B" g. F4 y6 }' f/ c; X  r  G
  508. ; http://php.net/report-memleaks
    8 j) S$ h* U) [- V
  509. report_memleaks = On+ M* P3 P* Z3 ^1 e. I
  510. 8 c" E, @" i+ Y2 m* j! g1 i
  511. ; This setting is on by default.9 H  m8 G5 ^9 L; f& }
  512. ;report_zend_debug = 0# r* Y2 D/ _) ]/ s' a2 R
  513. # n) z4 ~8 Q3 R1 B1 L( t" |$ j8 ~
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    $ q8 F% {0 \- K3 }$ x% |/ Y1 b
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    , M" _/ U2 j$ M% N% u
  516. ; however be disabled on production servers.
    $ ^3 u6 x2 r2 x  A1 x
  517. ; Default Value: Off- f! @+ j$ P7 {
  518. ; Development Value: On
    ! u# q2 |+ l6 R* @- v8 Y5 {; ^
  519. ; Production Value: Off+ g: o7 z; f2 K- r  f- }2 ]% S
  520. ; http://php.net/track-errors
    ) T+ z2 Q; ~$ K! e
  521. track_errors = Off
    0 a' Z9 [4 U( \3 z. s0 O

  522. + y; w* v/ Z- p5 X
  523. ; Turn off normal error reporting and emit XML-RPC error XML6 ~' g2 {: F! U" V  a$ z
  524. ; http://php.net/xmlrpc-errors: T( S) o( A% i& n! E
  525. ;xmlrpc_errors = 0
    : Z5 {9 h0 d5 g; s) m
  526. 7 t1 H! v' h1 ^
  527. ; An XML-RPC faultCode, ]+ M& J' N7 \- W: a4 l# O: @" \
  528. ;xmlrpc_error_number = 0+ M" z# N& w0 ?5 _8 u5 K" `4 @

  529. 3 \  ~# e% Y1 a
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    : y. s6 Q: ?; p8 D/ Z" l5 W0 l
  531. ; error message as HTML for easier reading. This directive controls whether# Y1 m. Q0 o/ z9 Z8 ]+ A
  532. ; the error message is formatted as HTML or not.
    2 \& |3 w4 J) B# K+ b
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ( p- S2 |# s% r& f; W2 T
  534. ; Default Value: On
    ( {6 l, h: b. y; y# h9 E
  535. ; Development Value: On0 Y+ Z# p2 G1 h7 S; z
  536. ; Production value: On$ w5 c" i$ j  F- h+ X
  537. ; http://php.net/html-errors0 B* T* n+ \: }1 G  X4 }& X
  538. html_errors = On
    2 V1 t* _6 P/ a
  539. 9 C$ H" i/ x. y  v
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    0 G9 g  q! n* d) n. ^9 v  S
  541. ; produces clickable error messages that direct to a page describing the error
    & G9 z/ L6 Y2 ?
  542. ; or function causing the error in detail.
    8 N2 I/ {4 z! P+ S2 W' }
  543. ; You can download a copy of the PHP manual from http://php.net/docs' L  G$ Z( U2 F5 k6 z* S/ c
  544. ; and change docref_root to the base URL of your local copy including the
    ) R4 o. b$ _& {' j7 s9 r' z
  545. ; leading '/'. You must also specify the file extension being used including
    $ f$ b  @$ Q& ?7 A
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    4 |) M) o1 P8 n# G
  547. ; case no links to documentation are generated.
      o0 y5 K2 H# t# c' }
  548. ; Note: Never use this feature for production boxes.1 Q3 X% {, x% c$ Z, i7 r
  549. ; http://php.net/docref-root
    0 O) P, H( `4 p( y/ ~% p& n
  550. ; Examples
    * S1 V/ t1 ]6 @1 F/ y% w
  551. ;docref_root = "/phpmanual/"
    ' c4 v( e/ B& p4 x) V7 z: N9 R

  552. " I7 @% H: [, p; A5 ?5 {- B% U: S, u
  553. ; http://php.net/docref-ext
    % [, x' P4 r" \$ I# f! m/ d
  554. ;docref_ext = .html
    / P$ @' j: ^7 L2 N
  555. $ t/ ]7 H1 m  e1 G# Q, A9 C9 k+ m
  556. ; String to output before an error message. PHP's default behavior is to leave
    / N$ J9 e2 j4 I- u# g  p$ X
  557. ; this setting blank., ^( A: |! v" `! A- A0 F0 _5 H$ u
  558. ; http://php.net/error-prepend-string
    ) r/ }0 u% X1 b! U
  559. ; Example:
    6 }. V# [( V5 m: u! I! t* [
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    - N8 I. r) _2 Q7 h" r" y
  561. : P* L2 }8 L4 q# v
  562. ; String to output after an error message. PHP's default behavior is to leave
    * L3 \! J- L. L7 O0 t
  563. ; this setting blank./ y4 n; I$ o/ v- I4 b
  564. ; http://php.net/error-append-string' H; t8 a1 J) z: e- O8 ~5 Y3 W
  565. ; Example:
    8 O) `6 g/ l' S' I
  566. ;error_append_string = "</span>"
    1 D0 ?1 M' Y3 |* T& I# t

  567. ' s; `" M( I6 E) p
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    / ^- ~% A( g& |6 U
  569. ; empty.: G$ I: g8 v+ `; D! ?
  570. ; http://php.net/error-log
    6 G0 B( q5 j! _- s
  571. ; Example:6 C8 v1 |, U% W  C- R9 |7 b; G" w- q
  572. ;error_log = php_errors.log# d6 M! m1 k5 n
  573. ; Log errors to syslog (Event Log on Windows).& B& r3 s2 |7 g* e( V; u
  574. ;error_log = syslog
    1 Z9 j* y; x8 Q9 x1 |; M

  575. . d( o8 d7 f( W  w  G* L
  576. ;windows.show_crt_warning
    & b( @5 |6 W2 O/ I- r/ H
  577. ; Default value: 0" N# @9 {+ M6 Y8 W+ v
  578. ; Development value: 03 U- K* G- b  X
  579. ; Production value: 03 b2 F' F7 s9 @
  580. . w" b' a: T/ }5 O- Q0 v
  581. ;;;;;;;;;;;;;;;;;# M( }& L# B4 O5 ]4 }
  582. ; Data Handling ;4 [' P5 f9 G1 @
  583. ;;;;;;;;;;;;;;;;;
    # X% L4 b  _9 v+ i- o; l, g7 Z
  584. ) V8 e# D7 `3 s6 f
  585. ; The separator used in PHP generated URLs to separate arguments.
    , i# n* j  [0 o9 d; Y6 g7 W$ |& E7 Y
  586. ; PHP's default setting is "&".7 I/ z; ]  ]2 G$ \# `( r8 D
  587. ; http://php.net/arg-separator.output) S5 P' c. w; j6 h
  588. ; Example:, ]8 J6 z+ d" T- g5 g+ I# q
  589. ;arg_separator.output = "&amp;"
    " n6 y' |. o" U: t% o7 \. F  }$ T

  590. 2 j! ~/ z6 x5 m/ H: c0 f
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    1 Z5 j) F1 \! v2 d" u* T
  592. ; PHP's default setting is "&".+ w5 t$ r0 L/ j: ?! u( Y+ k6 m6 O
  593. ; NOTE: Every character in this directive is considered as separator!' E4 ^1 i" }/ R0 q, d
  594. ; http://php.net/arg-separator.input( P  s0 s! z" ~, `5 ?! p
  595. ; Example:1 W, n4 S/ z' W  ]2 M$ R
  596. ;arg_separator.input = ";&"
    # O) c" C/ b) b- `

  597. 4 p0 h. S  @; [, n4 _6 C
  598. ; This directive determines which super global arrays are registered when PHP- X/ C; B% V7 \) d
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super( N) b& L' ]1 s# t, o
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ! C! X8 l# G8 i' h
  601. ; paid for the registration of these arrays and because ENV is not as commonly' j5 N9 \* b. @+ z" I5 r0 i1 w
  602. ; used as the others, ENV is not recommended on productions servers. You
    / `  S7 y, e! u2 f/ _; [$ F
  603. ; can still get access to the environment variables through getenv() should you& s# C; P- M# t$ W( _7 f
  604. ; need to." n  B6 r# I5 @6 S7 o+ M  c9 C
  605. ; Default Value: "EGPCS"
      v( g4 V  o. z* Q1 Y% a* @6 U3 p1 Z
  606. ; Development Value: "GPCS"; f( k- E2 E4 @( ~
  607. ; Production Value: "GPCS";
    $ ^$ A9 T- w' M$ x) g+ W) v% ^  U  s$ i
  608. ; http://php.net/variables-order
    ' Q# `! n2 S8 W2 i! r" X* ?, l
  609. variables_order = "GPCS"
    " Y$ I+ M2 D* d
  610. - E) A$ U% G+ N; b; @" Z1 ]
  611. ; This directive determines which super global data (G,P & C) should be1 O2 k# \6 a: R3 c9 M
  612. ; registered into the super global array REQUEST. If so, it also determines
    6 W7 p! w) |2 g( {1 M6 ~9 k
  613. ; the order in which that data is registered. The values for this directive. K) {" F+ W6 \- f$ ?/ H6 y$ e
  614. ; are specified in the same manner as the variables_order directive,
    7 K- r: h- e* |+ A
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    5 Y' W% |$ v0 o: W! J. C
  616. ; in the variables_order directive. It does not mean it will leave the super$ N& J. N7 B3 n  J7 @# r
  617. ; globals array REQUEST empty.4 K6 U) ?1 L# J
  618. ; Default Value: None
      t" }) ^4 K! G  t. L: W2 t/ E
  619. ; Development Value: "GP"8 i% N2 K# Y" H& \
  620. ; Production Value: "GP"6 @3 l  [, k' J. x
  621. ; http://php.net/request-order3 J4 {1 O$ S# z* Q2 q
  622. request_order = "GP"
    2 o0 W: l$ d9 T4 e

  623. # W; l0 C1 `' ~: c6 ]
  624. ; This directive determines whether PHP registers $argv & $argc each time it( j, C: ]6 E+ u! [9 w. ?  X
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script7 w) A9 N/ g. q" p. C- N
  626. ; is invoked. $argc contains an integer representing the number of arguments4 M2 g+ g# o) e6 X5 }. y5 C
  627. ; that were passed when the script was invoked. These arrays are extremely2 p6 I) {% v, ?" ^; `6 D' t6 `5 e
  628. ; useful when running scripts from the command line. When this directive is& X5 q3 b8 i0 \1 @
  629. ; enabled, registering these variables consumes CPU cycles and memory each time2 N" X) R4 g% i! }! p. Y! g, O, z
  630. ; a script is executed. For performance reasons, this feature should be disabled
    8 ~8 u( x  O2 t; u4 L, `, M! d/ R
  631. ; on production servers.# q: l" y8 G( X) m/ E/ G& c
  632. ; Note: This directive is hardcoded to On for the CLI SAPI; o+ P) a1 ~' W; K
  633. ; Default Value: On
    . m2 h) n: Y! `8 V: I9 [  b- o
  634. ; Development Value: Off
    ! ^$ J- C# @3 {4 g& a# ^
  635. ; Production Value: Off1 o6 ?) p3 j# r' n8 Q1 ?( h
  636. ; http://php.net/register-argc-argv
    / [. Q. {6 }: v5 |* Y8 D
  637. register_argc_argv = Off+ P5 J+ H7 P' M# ]  u  t. J

  638. ! D' j+ M6 ]) u+ J$ O8 r! ~; q
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're7 s/ e) V, S$ w/ o5 S6 w
  640. ; first used (Just In Time) instead of when the script starts. If these8 S" J/ k- B9 }6 r8 i; y
  641. ; variables are not used within a script, having this directive on will result
      p3 C" l" s! S4 ?/ B
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    $ h- r8 G( W4 _% X. G
  643. ; for this directive to have any affect.' B  S% I( g/ Q" [  G2 A
  644. ; http://php.net/auto-globals-jit
    ( r! s  D, k2 O* c5 @
  645. auto_globals_jit = On
    " ?" A3 L6 i& M4 l; D/ D. w

  646. 4 m1 J9 y# I2 X- T: g  J+ r
  647. ; Whether PHP will read the POST data.2 {" b- ^& P$ F$ G' y1 h
  648. ; This option is enabled by default.# ^* L% J/ h+ x$ B$ ~/ ~
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    / ~, \' T' r* u# j3 x* Z
  650. ; and $_FILES to always be empty; the only way you will be able to read the8 F2 i7 @5 X# Y& S) N* c& P9 v' p
  651. ; POST data will be through the php://input stream wrapper. This can be useful' A- E  h+ \5 n; z+ E% O0 A
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.# K1 w% o! c) ?
  653. ; http://php.net/enable-post-data-reading
    , a5 t; s# K/ L  d$ S# j
  654. ;enable_post_data_reading = Off- V7 {1 Z2 \* Z* w, i
  655.   D6 T& H. {! }, n5 g6 }) N: [, @
  656. ; Maximum size of POST data that PHP will accept.1 m) J8 A$ H# h9 V, [" Y
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    & g. H6 H8 ~& u# ^4 w0 w1 ?. y3 I
  658. ; is disabled through enable_post_data_reading.
    ! s3 T+ w! u& n7 F' W( F7 f; \
  659. ; http://php.net/post-max-size4 S" @/ j/ s- `# ?
  660. post_max_size = 50M! q; \, B3 ]! m
  661. 9 X3 e  f' Y" X( {+ N4 _4 r
  662. ; Automatically add files before PHP document.
    - @2 c8 F0 Z) k+ O
  663. ; http://php.net/auto-prepend-file- L$ i1 O$ _, c! G
  664. auto_prepend_file =
    & `$ N$ t  U- Y$ j) H! I8 m. _
  665. % \6 t( o  W3 c+ e6 o! m
  666. ; Automatically add files after PHP document.
    3 ?; V- [0 J9 Q. ~2 n8 F
  667. ; http://php.net/auto-append-file/ C& o4 C4 M# A$ u3 d0 N
  668. auto_append_file =
    4 N4 X, T  l+ y0 l' q

  669. , |4 f1 E$ |* l/ ~- B' _
  670. ; By default, PHP will output a media type using the Content-Type header. To: E1 n" C5 @3 d
  671. ; disable this, simply set it to be empty.
    / x  C/ x+ ]: z, w$ r0 a
  672. ;; B  ~8 Q0 G, L0 L& R
  673. ; PHP's built-in default media type is set to text/html.
    - Z! ]/ ~! S5 A3 X, }4 `
  674. ; http://php.net/default-mimetype4 {/ \& L8 N% j5 }/ t; m
  675. default_mimetype = "text/html"
    ; Z7 P! `. f' O. O6 O
  676. # \5 ~) M) i% E% s
  677. ; PHP's default character set is set to UTF-8.3 x) N# r' k$ X5 q! ]. D, h
  678. ; http://php.net/default-charset
    3 p: ~# G+ J9 t  r4 z
  679. default_charset = "UTF-8"
    5 v0 S# }( V; Z& `
  680. . F  c* e; z% b, `+ ?
  681. ; PHP internal character encoding is set to empty.8 r+ a4 F* B5 p7 D7 E" t! b
  682. ; If empty, default_charset is used.
    5 j% d, @! a6 }2 c- I
  683. ; http://php.net/internal-encoding
    0 A% B9 R! m8 x: o( ]; j( U# s
  684. ;internal_encoding =0 {, _, T) v% J6 o4 t' e

  685. + Z; |$ m: A6 u: N. E+ i
  686. ; PHP input character encoding is set to empty.' c7 X! R! y  G- a4 F
  687. ; If empty, default_charset is used.! |* v: h; H1 C9 n3 _& q" ?* m
  688. ; http://php.net/input-encoding% l# q% l  N6 x1 T4 y9 A# A: \7 g
  689. ;input_encoding =
    $ U+ k1 ^' o' g

  690. 8 f  p) G5 e8 D2 u
  691. ; PHP output character encoding is set to empty.
    8 _6 L7 i% \. k6 S- Q4 B
  692. ; If empty, default_charset is used.
    2 @8 I1 O2 \. T) B
  693. ; See also output_buffer.1 f: y4 U& o! ?$ G
  694. ; http://php.net/output-encoding
    6 U  j5 E$ Z' b) i2 g2 m2 K( A1 r
  695. ;output_encoding =3 E3 G4 G# r6 N; p% R
  696. , ^7 z2 @2 d" o- a: P9 Q6 I7 \
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    . ]3 h; l4 {$ p+ ?4 D( e# V
  698. ; to disable this feature and it will be removed in a future version.
    ( h' C! \' M3 c- U
  699. ; If post reading is disabled through enable_post_data_reading,6 g6 y5 W% @9 p9 s$ c
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    ( n1 E& D7 d3 T
  701. ; http://php.net/always-populate-raw-post-data
    2 s" i" {, R* T, c
  702. ;always_populate_raw_post_data = -1
    % S; v! P7 L/ J; U" z7 g$ Z3 u

  703. 1 ^$ g( a% y7 r" D2 V$ a; V
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;# Q# [9 e9 f( Y
  705. ; Paths and Directories ;
    / P+ s& g" i! s5 Z( ]* }: p
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;3 G/ H$ B, V. |- d# s3 \

  707. 1 L9 {% J- J8 m5 m; ~
  708. ; UNIX: "/path1:/path2"
    6 |9 R" h* P$ }. ~8 N; A
  709. ;include_path = ".:/php/includes"6 {( e" h- Z, m
  710. ;9 A! J" Z( W2 T4 @. ^6 {: o
  711. ; Windows: "\path1;\path2"5 P2 E, J0 l" o  g
  712. ;include_path = ".;c:\php\includes"0 \# v  k. ^9 R2 f. {4 ^! o
  713. ;$ I  x" v' U5 C
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear": H; E) v+ V5 l) n2 N& g
  715. ; http://php.net/include-path
    ' U* @) [2 A5 A

  716. . W/ ]5 |) R& S" [9 x+ j
  717. ; The root of the PHP pages, used only if nonempty.
    " G- v- k7 _) G
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root5 {& l* `" q5 w7 e1 O
  719. ; if you are running php as a CGI under any web server (other than IIS). M, ~$ l+ f: }  |5 K- h
  720. ; see documentation for security issues.  The alternate is to use the" t" i) j) I+ e3 Q' ?& `7 G
  721. ; cgi.force_redirect configuration below
    4 B. y' E5 y' I; z! C* [/ t( g
  722. ; http://php.net/doc-root
    - Q( D- o# I& O0 a: N* H. W
  723. doc_root =" _- q7 _5 V" K
  724. $ a5 j% ^, Q& r
  725. ; The directory under which PHP opens the script using /~username used only
    * g' S. P, Y3 O8 c
  726. ; if nonempty.; K* _4 z" d; B  L) h* c$ o$ r2 T' E
  727. ; http://php.net/user-dir
    0 Z* p3 M( P4 G5 c' ^- e: n' a
  728. user_dir =/ m* d7 \" E/ `/ O9 [
  729. ' ~# r$ k+ x4 w; D, Y
  730. ; Directory in which the loadable extensions (modules) reside.
    % S# @2 n6 i" Q
  731. ; http://php.net/extension-dir
    : J" O8 `6 O; F5 X8 A+ m9 y
  732. ; extension_dir = "./". I% ]: ^* Y: Y* f4 h
  733. ; On windows:8 C$ m) T7 a: u5 o4 |
  734. ; extension_dir = "ext"$ [* P) X# T2 b, i0 l  B+ q
  735. # i$ o* o1 R. D$ g6 G8 }7 C1 r1 W: A4 F0 Q
  736. ; Directory where the temporary files should be placed.
    8 {+ n! A& g( O
  737. ; Defaults to the system default (see sys_get_temp_dir)3 [/ Y* N/ ?! _( G: Z6 V( f
  738. ; sys_temp_dir = "/tmp"
    2 i) @8 B* ^* B  }: {
  739. : k8 _( ?$ F7 |% ]* D
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work3 f- y: M: G1 |) ]
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    + A+ {, a3 w& @+ Q# S( p- e3 J/ ]
  742. ; disabled on them.
    # i6 N# \9 i/ o3 U1 b$ m( O
  743. ; http://php.net/enable-dl* o$ z: `& }0 ^0 ]4 `9 `0 K$ P  N
  744. enable_dl = Off
    9 c6 i% z9 f- `- n
  745. ; ?$ p. i+ _  M! z9 l4 R
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under$ _* J, ]* d- I" ^. k# z2 I4 c& _
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can# y8 p' q- J9 V$ w  o
  748. ; turn it off here AT YOUR OWN RISK
    5 F  u+ T( B/ C- V. i
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**4 ?, Q5 ]8 N! J. o9 {6 K
  750. ; http://php.net/cgi.force-redirect' a$ q' r0 x4 Z3 j
  751. ;cgi.force_redirect = 1
    7 p( d" c7 P+ E; q: t  Y7 u
  752. 6 Q7 J$ D6 c6 ^6 S( L) A3 x' w
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    9 L8 l) L# P) H& S# o/ T7 i; S
  754. ; every request. PHP's default behavior is to disable this feature.( y. z* K" J! M" L, _0 ^- f5 v$ \5 w
  755. ;cgi.nph = 1
    4 G7 o1 N$ q$ R- f8 o7 C6 S

  756. 9 h4 G  g" o) i2 `4 Z* w4 B
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
      K* y8 M! U! _* r8 Q8 W0 B6 L7 m% G
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP! Q' W% d0 ?3 m$ v7 R
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY$ u9 U5 g7 U3 m: S( ?9 A0 t
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ( d3 E! k. f  T& M' O
  761. ; http://php.net/cgi.redirect-status-env
    ) U+ v0 n) y4 ^; K& \. F1 k' v# @
  762. ;cgi.redirect_status_env =
      u) T, i/ g+ V/ t1 H, V

  763. ; [1 N8 k' w8 t4 W
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's" c0 d9 `5 l- U- v# s8 O. r
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok, c3 J- _9 ~8 w8 a
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    * N! p: a& H7 b5 ~8 Z) m
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    5 w2 Z% n# v* I2 ^! H5 z
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts" s& w! @1 N5 z0 s! _! ?
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ! q* f: V% S& y4 p5 k6 _2 f2 u4 L
  770. ; http://php.net/cgi.fix-pathinfo3 A0 m4 _  U% _( c+ q2 p2 ^* }
  771. cgi.fix_pathinfo=1
    ) F  r. I" @9 C; {- d
  772. , N9 ^( m$ C$ w0 j. T" p
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    . F$ C0 s3 U" b, ]1 n7 X
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    + ?8 }( f( ^# J4 m% U1 T
  775. ; http://php.net/cgi.dicard-path% K+ U; N* T5 _2 H
  776. ;cgi.discard_path=1& O& [+ v& h/ A  q* l& H3 p! h/ w& S

  777. 6 s: d, [8 D6 G& T
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate1 Z% [8 M% [% u
  779. ; security tokens of the calling client.  This allows IIS to define the% p, t9 t5 S+ y
  780. ; security context that the request runs under.  mod_fastcgi under Apache5 l8 T1 l  p! g% E7 l
  781. ; does not currently support this feature (03/17/2002)
    3 b; {0 V- b+ L7 r3 k
  782. ; Set to 1 if running under IIS.  Default is zero.
    5 O: w& Z2 k# V- v" d- L
  783. ; http://php.net/fastcgi.impersonate
    $ [# y& q! g" K, y
  784. ;fastcgi.impersonate = 17 d0 R% u) z- y8 R0 r! E0 u. I
  785. % f/ B0 C* M1 g: k& O% a
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    7 M, R% ~8 \- q; E! t! I& O
  787. ; this feature.7 m: T% k) N5 I( M3 @
  788. ;fastcgi.logging = 0: x- N- y' }" y: ?4 t& f) T

  789. 0 K3 N  R1 C' v0 P; I8 ]7 c
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    # k% B6 F  x8 g( H
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that( i5 _  O/ d* q( \8 I
  792. ; is supported by Apache. When this option is set to 1, PHP will send" o4 N% ~' Y9 s/ O  g5 t3 ]* r
  793. ; RFC2616 compliant header." F5 q& r+ H& _' p& ^. e! M* s
  794. ; Default is zero.
    8 t- S* z6 r; W- d  e
  795. ; http://php.net/cgi.rfc2616-headers
    3 B1 I4 K! [# a" S
  796. ;cgi.rfc2616_headers = 0
    # W  S" r6 O. l/ v# e; ]
  797. + @$ E& P' F$ j( b8 O
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!/ u* t+ Z' s, d5 y
  799. ; (shebang) at the top of the running script. This line might be needed if the
    / a6 Y3 A. g' Q( E9 k/ ]- J+ l
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
      d" l* o8 W8 l9 b" G+ I
  801. ; mode skips this line and ignores its content if this directive is turned on.
    5 e' [# T2 K. ~7 R: @
  802. ; http://php.net/cgi.check-shebang-line$ c+ v2 M! H. e/ R9 G1 x' d
  803. ;cgi.check_shebang_line=1
    + Z% p6 \0 D7 M3 |7 m+ B0 M' @$ a
  804. $ Q8 \. k2 p* h7 M( ^: \
  805. ;;;;;;;;;;;;;;;;
    ( ~% U3 C2 f) x. T# J( [/ Y/ @
  806. ; File Uploads ;
    0 R8 S3 Q; c- V/ e! `
  807. ;;;;;;;;;;;;;;;;( @1 a5 _4 S4 J3 t1 x
  808. ( {& D* ]- v' n& u* i& G' A
  809. ; Whether to allow HTTP file uploads.6 E; }: P/ v* g6 u: I* Y
  810. ; http://php.net/file-uploads* H* s( n( i1 ^- z: T$ }
  811. file_uploads = On9 y7 O; L; a& l+ t9 l$ G" |% d
  812. $ B, D( O9 `. G; ]( @0 Z
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    7 h3 O' d; q, T  F
  814. ; specified).
    * r+ B* O3 ~) N$ h& d' h# t
  815. ; http://php.net/upload-tmp-dir6 G& {: I) A0 b2 H
  816. ;upload_tmp_dir =( s/ H& h' E+ z, k; q3 q7 t

  817. 1 B$ \) Q$ R) T5 M) ^7 f
  818. ; Maximum allowed size for uploaded files.) B8 z9 e& F5 O1 {7 b
  819. ; http://php.net/upload-max-filesize1 Y& f+ m8 J; j3 U0 K8 x
  820. upload_max_filesize = 50M1 F- l7 L4 B) P- T# }5 M
  821. & z1 B4 U" T5 Q5 A  L7 a9 {
  822. ; Maximum number of files that can be uploaded via a single request
    1 g, R3 [( J; ^* F4 m
  823. max_file_uploads = 207 G5 y0 {3 F1 W2 N: Y

  824. / ~  a. p  i1 S6 m+ O( I7 D9 G
  825. ;;;;;;;;;;;;;;;;;;+ |( f. X. F% a% U+ Y3 i' C# r. Y
  826. ; Fopen wrappers ;2 w+ ]2 \! ^+ [6 @; E2 b: ~
  827. ;;;;;;;;;;;;;;;;;;
    $ H+ i3 X5 `/ D/ i* B
  828. * \, j( D2 K  ?
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files./ e: M' m+ H  \$ z' V3 s/ J: |
  830. ; http://php.net/allow-url-fopen: @  K4 P; d  k) A6 |" W
  831. allow_url_fopen = On
    6 k3 b5 A( Y( a9 q  l$ Z. h
  832. $ \: ]- u# A3 b9 R
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    - F7 B, \  j3 F) \* v: s4 D4 n7 g
  834. ; http://php.net/allow-url-include
    ) K9 ]' j4 `& K$ N  Q1 N7 v
  835. allow_url_include = Off
    / F& m+ K; u5 U7 d. W

  836. 8 z+ v2 ]( p; Z2 C6 a7 n5 e8 J4 r; U1 ?
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    * v" G# S- R- q* M- q" {* R- l
  838. ; for this is empty.* k  s8 t0 d3 h- k5 U5 D# d
  839. ; http://php.net/from
    0 Y- G3 _1 g1 k$ n( s( [3 [1 T
  840. ;from="john@doe.com"* C0 j9 i# H, T3 G
  841. + e, f3 {$ B! \, s8 s
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    ( v* I/ X3 [9 N" m3 i! s
  843. ; http://php.net/user-agent
    2 C/ V1 K& P9 S0 h' K. R" N
  844. ;user_agent="PHP"
    , u7 k# w, u2 ~' o3 Y9 C0 \3 x8 [

  845. ! [8 z& k, a/ r" A$ F- Z5 G
  846. ; Default timeout for socket based streams (seconds)2 [7 n) F) h( F& t! {$ k% k5 U1 ?
  847. ; http://php.net/default-socket-timeout
    " }: T# v/ d- m
  848. default_socket_timeout = 606 L! K. U0 q( R7 x
  849. 1 R6 F: c# I& @9 @  b; J. {
  850. ; If your scripts have to deal with files from Macintosh systems,
    ; N6 _1 L  P' Q2 X0 M
  851. ; or you are running on a Mac and need to deal with files from
    6 D/ @+ x; P' I7 l  H/ \1 T
  852. ; unix or win32 systems, setting this flag will cause PHP to
    ) _3 R3 p2 Z8 j. v( ^3 O
  853. ; automatically detect the EOL character in those files so that; ?! G8 A- K" C" t3 N: r* f  b' B
  854. ; fgets() and file() will work regardless of the source of the file.
    + w* b4 u! M4 \: H
  855. ; http://php.net/auto-detect-line-endings" @7 n. N! a3 _
  856. ;auto_detect_line_endings = Off- z  S- R) T: G7 t# w( k" j- p
  857. 8 k$ H  i3 t/ h! n# i5 A
  858. ;;;;;;;;;;;;;;;;;;;;;;
    3 Q1 K* ~6 X& {# E% D2 g
  859. ; Dynamic Extensions ;' h: b2 n% r$ e2 N, V$ B: W
  860. ;;;;;;;;;;;;;;;;;;;;;;
    5 o# u4 n$ a% M. ~+ w$ B

  861. ' y- D! g( c9 H" I2 D  `( u; @, ?
  862. ; If you wish to have an extension loaded automatically, use the following$ B- _7 e% v! E  `4 |" D
  863. ; syntax:& X& |! d4 _! n9 Z
  864. ;- \* ?) B, {" A
  865. ;   extension=modulename.extension! B6 I7 Q1 ]' q
  866. ;# a7 }, n* m7 z/ J
  867. ; For example, on Windows:
    % ?* y$ V. S% I" C. H" i& c( K
  868. ;; Y5 q# z  ]1 g5 O# `. d
  869. ;   extension=msql.dll
    8 [+ Q7 M! P5 P% P
  870. ;
    3 f' f; H# A! ^2 a
  871. ; ... or under UNIX:
    ( z% v2 E3 L, i1 C5 e- J- j
  872. ;7 Y3 u; [+ t/ Q. d
  873. ;   extension=msql.so
    5 d1 W, q4 ^8 D5 s$ g
  874. ;
    ) [6 w) i) ]( ^7 ?
  875. ; ... or with a path:
    + C1 v2 z% {6 N* ]
  876. ;
    7 f) [1 {7 g! W: @- |6 N+ j
  877. ;   extension=/path/to/extension/msql.so
    1 p8 r. d# A. `0 _6 v
  878. ;4 `5 O/ Y/ [: T  b/ V& [+ @9 b& M( c
  879. ; If you only provide the name of the extension, PHP will look for it in its
    * M! T3 u% t# P8 h5 d) Y" m4 g
  880. ; default extension directory.
    - I, N1 O1 n1 k
  881. ;) {( H% b1 q5 X
  882. ; Windows Extensions8 l( T! W& x  I7 i: z; o
  883. ; Note that ODBC support is built in, so no dll is needed for it., l* h. c' O6 w" L, F- J
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    $ s& ^3 o( n. l3 X8 y
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    9 r) D. D8 B: P4 L6 S0 Q/ {% W# k4 S
  886. ; Be sure to appropriately set the extension_dir directive.
    : o6 g4 J& n& ~; C1 k9 c+ f
  887. ;
    9 F  Y. S$ {6 A% `5 ?& F" {4 H) B
  888. ;extension=php_bz2.dll2 L* f- r$ r6 b* Z" ]
  889. ;extension=php_curl.dll
    " }; G1 \( @5 V* j6 U& V2 |
  890. ;extension=php_fileinfo.dll  @, e3 b2 ]0 S* I
  891. ;extension=php_gd2.dll
    % V6 D2 c! g" U, T  K" r) j
  892. ;extension=php_gettext.dll
    3 f! R0 _7 T$ H
  893. ;extension=php_gmp.dll
    : M' U9 e$ Y3 G/ V" q. q* Z' N! p
  894. ;extension=php_intl.dll
    8 l: J) p& c6 w
  895. ;extension=php_imap.dll% w$ X7 z  o) Y3 N: B/ k
  896. ;extension=php_interbase.dll, L% q& n% n# u' z
  897. ;extension=php_ldap.dll. |" O; B$ [* H  e$ z
  898. ;extension=php_mbstring.dll' s! h" O' G2 E/ j& m3 ]  C$ R" ?
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it% K! W* P0 A+ a  j- O! {# c
  900. ;extension=php_mysql.dll
    : o8 e6 U3 g: s  s# o/ |
  901. ;extension=php_mysqli.dll
    % K" Q5 {4 L3 I/ u
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client2 c2 [6 F" l" ?5 A* \9 c+ W
  903. ;extension=php_openssl.dll/ X2 W: m/ t  {7 L' Y. `+ L; U
  904. ;extension=php_pdo_firebird.dll  ?1 O: F, [6 {
  905. ;extension=php_pdo_mysql.dll
    7 E, _* ^2 W$ g
  906. ;extension=php_pdo_oci.dll# Q7 K* r) I; q" |( I' T: _5 s$ z: u( z
  907. ;extension=php_pdo_odbc.dll- n0 t. @  I+ G+ c
  908. ;extension=php_pdo_pgsql.dll
    0 ?+ k3 U3 f0 A+ _& \
  909. ;extension=php_pdo_sqlite.dll" T  X1 q4 e) {- R0 C" `
  910. ;extension=php_pgsql.dll9 g1 {" y) A% ~# ?
  911. ;extension=php_shmop.dll2 u/ \/ U- t/ F  G. F" C

  912. & u1 `& E2 h- P5 [, D" U
  913. ; The MIBS data available in the PHP distribution must be installed. " w7 |+ x  e! @# A, [) W
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    . s$ B. `9 u6 C* a/ e/ w2 I
  915. ;extension=php_snmp.dll, Y3 }/ W5 g- e( D$ b

  916. * @+ w8 T6 o# j, s7 x- o
  917. ;extension=php_soap.dll( F6 Z4 c  A, G6 f- \
  918. ;extension=php_sockets.dll9 V0 v! N* @1 L6 Y
  919. ;extension=php_sqlite3.dll
    * G3 l/ G3 W/ c/ [0 d/ D
  920. ;extension=php_sybase_ct.dll
    4 J- _6 j  o8 N. W
  921. ;extension=php_tidy.dll, f7 U0 T) t$ C" v4 u8 u. E# G
  922. ;extension=php_xmlrpc.dll
    " u% y% u: i4 F7 n7 C
  923. ;extension=php_xsl.dll& f+ E! k* n# w5 x9 l* B

  924. 9 w3 N' R( ^5 @0 E
  925. ;;;;;;;;;;;;;;;;;;;
    # F' z5 s9 X$ g4 ]* s0 W' j: v' k
  926. ; Module Settings ;. }# k0 v1 Q" s" V  z
  927. ;;;;;;;;;;;;;;;;;;;
    2 c9 v( q4 w' o0 d6 f5 g2 ?  _
  928. - d% ~+ F& l9 H; D1 Q
  929. [CLI Server]
    9 K9 F) R, A9 b' i
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.( A" P: g9 u* x; ?$ o7 l! v7 N
  931. cli_server.color = On: m* \- V0 A2 A9 o. t' E

  932. 6 O# C& H6 x1 Q& L" r: i3 Q3 n
  933. [Date]+ ^) F3 d: q' L8 W7 q
  934. ; Defines the default timezone used by the date functions
    4 X" T5 Y* l8 r2 s# [
  935. ; http://php.net/date.timezone
    8 e5 B, c4 U, t8 _' l
  936. date.timezone = PRC
    ; P$ Q1 Y9 ]% L6 U+ F# u5 r' D" v
  937.   f8 h! P) B! ?9 F7 Q6 Y
  938. ; http://php.net/date.default-latitude
    0 J8 l8 C0 m5 H5 Z  K
  939. ;date.default_latitude = 31.76672 M/ O8 `' f* E9 M8 b, e8 b
  940. 3 K+ C/ _- f/ A% ^+ f
  941. ; http://php.net/date.default-longitude
    0 o  ]9 r$ P9 Q$ p8 _/ t
  942. ;date.default_longitude = 35.23332 l# G4 ~: K( k# E$ L

  943. % N- y) I; j' G% Z. Y/ u+ ]2 q
  944. ; http://php.net/date.sunrise-zenith
    $ d" S" I! c$ i* E
  945. ;date.sunrise_zenith = 90.583333/ t, S# w5 p. K2 n* e8 y% m

  946. 7 P5 P) r3 h3 P% {) m
  947. ; http://php.net/date.sunset-zenith1 ?! V' w; J! a9 d0 t
  948. ;date.sunset_zenith = 90.583333
    ) y7 x2 c$ g3 o  A7 O
  949. ; B0 V1 a- T/ G; @& J: s  M7 t
  950. [filter]# f7 a6 F4 ?$ e* M( m0 c- g- b
  951. ; http://php.net/filter.default
    # X! h2 {% Z6 g( E3 o% A
  952. ;filter.default = unsafe_raw, {0 V" n2 P7 o$ T

  953. ) H4 o" o# ~' @7 o  P3 r
  954. ; http://php.net/filter.default-flags( A6 u" v- u8 ]$ `' v5 Q; [
  955. ;filter.default_flags =
    " P* U, n7 r& ?+ t8 Y) O

  956. 6 \7 J" X. t9 @: t
  957. [iconv]; F- N- o" G& l5 i# e1 N
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    " [6 Z! e3 Q% W  a9 h. d+ \  h* d
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.+ a7 i. M$ f: i- m& T7 B+ j
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ( A! b& ], S4 q9 y. M/ r
  961. ;iconv.input_encoding =
    5 c+ D9 E% A- r- Q, X7 r$ [9 n
  962. * k( r7 o, f( C, Z8 K' Y
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ! X0 C' t- O  e- d
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    * B/ R% u' J, h
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding; O3 z) l' e5 ~: M) H; E
  966. ;iconv.internal_encoding =
    % N/ P6 ~+ m& `! B

  967. 6 M' p: C$ [1 j$ m
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    9 L* @! h+ C! U7 Y( D/ u5 X1 k. o# m0 `
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.& a+ z/ r. {" V# D: g2 \( I! d
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding- _4 A1 o9 }, y1 A
  971. ; To use an output encoding conversion, iconv's output handler must be set
    , T& f8 R; w6 Q$ S9 \1 S  j
  972. ; otherwise output encoding conversion cannot be performed.: f2 l: o, _* U$ p0 J6 N
  973. ;iconv.output_encoding =1 F" V/ t; s% a) K2 I
  974. - y+ U. j; U6 G9 X# P3 t" ?9 e4 x
  975. [intl]
    ' d2 U0 M7 `, f5 o" ~
  976. ;intl.default_locale =
    & @* Z4 b  Y9 {( X8 J# C
  977. ; This directive allows you to produce PHP errors when some error
    ! d1 ?7 w( d/ A( m; S
  978. ; happens within intl functions. The value is the level of the error produced.
    0 s1 l/ N: ]1 q
  979. ; Default is 0, which does not produce any errors.
    - R+ G4 }4 ^5 I* I- O
  980. ;intl.error_level = E_WARNING4 j. @: ]. u) t4 p! M
  981. ;intl.use_exceptions = 0
    4 C8 [. J. c: F* C$ ]3 k9 ]
  982. % R7 t5 b9 ~, d- I/ ]( ^1 F# n+ D
  983. [sqlite3]0 T; J+ w5 h$ M3 \
  984. ;sqlite3.extension_dir =
    , D4 M1 T& }& ~: d* X' R  {

  985. 9 [: L2 S9 s0 C/ G& K! W
  986. [Pcre]
    7 ]7 W% L$ y0 m. h
  987. ;PCRE library backtracking limit.6 {8 M9 m+ U. _/ n
  988. ; http://php.net/pcre.backtrack-limit5 |% p  B, i4 k' }( S* s1 b
  989. ;pcre.backtrack_limit=100000
    * D: C# _3 D' [. Q
  990. ; p0 v! p% U& W+ b
  991. ;PCRE library recursion limit.( S( R' I/ _; q5 g9 [8 Z
  992. ;Please note that if you set this value to a high number you may consume all  w' L- B9 l$ m- g3 Z& V9 X
  993. ;the available process stack and eventually crash PHP (due to reaching the
    - f: w  {, m% G. n2 M
  994. ;stack size limit imposed by the Operating System).
    8 w: u1 R3 S* P' }9 z& @, Y: A
  995. ; http://php.net/pcre.recursion-limit
    9 Q! d* F1 V+ Y. \2 S5 c% o$ D
  996. ;pcre.recursion_limit=100000: I0 r/ e) C: x0 l5 c

  997. ! N, W; j1 F" L  ]/ i, y
  998. [Pdo]5 J( x- e; H5 w
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    # Z" N2 S5 x) }! l
  1000. ; http://php.net/pdo-odbc.connection-pooling
    # j8 b- b4 ~- z
  1001. ;pdo_odbc.connection_pooling=strict: C* E# ^% y* T* H, g5 f
  1002. ( ~) Q; e! C/ u) g6 Y
  1003. ;pdo_odbc.db2_instance_name8 H# J- K( c" z$ ~$ Y: t
  1004. " d. \. O* b* [4 j
  1005. [Pdo_mysql]
    * @8 Q4 a! q9 t7 H" X
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache( I; V- w6 T# l6 H7 M, `& T
  1007. ; http://php.net/pdo_mysql.cache_size5 C/ q" }; t& f3 T) O  {1 W, p7 l
  1008. pdo_mysql.cache_size = 20003 ~" A- j% m1 U( r1 V8 [( G1 T4 ?
  1009. . a7 W& k! W( C& V
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    0 |& O7 H4 p6 t1 r; h5 y5 l
  1011. ; MySQL defaults.
    ; l  g) f! ?) D3 V+ W0 V
  1012. ; http://php.net/pdo_mysql.default-socket5 a  G! _# m0 i
  1013. pdo_mysql.default_socket=0 K3 P: c' ]2 u: H
  1014. & b5 b* p, ?. R9 j7 ^
  1015. [Phar]
    / G3 j2 Z, p9 U
  1016. ; http://php.net/phar.readonly( A# P" ?5 m4 Y5 m
  1017. ;phar.readonly = On8 Y  Y1 w/ S9 U0 [7 D
  1018. ; O- {/ A4 w! Z" S# Z* {( b- H
  1019. ; http://php.net/phar.require-hash
    & F! N3 Y# C* i- |* P9 J3 |% C
  1020. ;phar.require_hash = On
    5 ?# Z! P/ B6 M) y5 C9 w- q" _+ M
  1021. ' H, O4 G, g' P0 n1 T5 y
  1022. ;phar.cache_list =3 b  X: y8 B% A* s
  1023. * N* w& Y' V; w6 |" Z
  1024. [mail function]
    . ]# `$ Q+ J1 G' K
  1025. ; For Win32 only.& [+ |* a2 ?" v
  1026. ; http://php.net/smtp: y* q) s! N: Y4 O
  1027. SMTP = localhost& }$ V+ p+ R. Q% g  ^
  1028. ; http://php.net/smtp-port8 I! g/ n/ a6 h% S' Y0 S. s
  1029. smtp_port = 258 L; E: K4 f3 B4 ]
  1030.   K! U3 O2 g6 i3 O
  1031. ; For Win32 only.
    ; j) O$ N& A! d: ?; f6 S3 W
  1032. ; http://php.net/sendmail-from* S9 W7 d$ v1 \9 G) ~) L
  1033. ;sendmail_from = me@example.com
    + ]3 i$ ~3 j: |, u* d# b5 E8 n" H

  1034. 1 s  e- s! D7 W* x" P5 _  p
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i")./ m2 b. t9 l. x
  1036. ; http://php.net/sendmail-path
    4 O6 [8 `; y- I+ T0 F* O
  1037. sendmail_path = /usr/sbin/sendmail -t -i9 C( I/ b7 k; e5 i- l% V: S  C

  1038.   v2 s5 |" @  w: _* |
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    7 T" P- s9 b9 k3 G
  1040. ; to the sendmail binary. These parameters will always replace the value of
    4 S: {3 ^& b' ?1 A1 }- w! H! K9 s
  1041. ; the 5th parameter to mail().# S) k' P. O% A) y: T
  1042. ;mail.force_extra_parameters =, [& j, \$ x( b" j! e

  1043. 8 X2 j, y+ Y( K  y. y0 f
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename* F) ?$ M7 P6 o  Y
  1045. mail.add_x_header = On! k6 `' h) o8 h- \' u7 E7 S2 T

  1046. 8 e+ V( v, q+ a8 L8 w7 \4 N
  1047. ; The path to a log file that will log all mail() calls. Log entries include9 G2 ^$ q( J; A% C( j3 `: o9 U; F
  1048. ; the full path of the script, line number, To address and headers.! z' t6 M7 o. a/ u3 s5 E
  1049. ;mail.log =' s) G1 u$ l( q9 k: C/ r2 U, T8 h
  1050. ; Log mail to syslog (Event Log on Windows).
    8 D' f/ C1 ?9 y7 v" B# N5 M
  1051. ;mail.log = syslog8 I& G0 X4 z6 z7 L  i% K
  1052. ' r8 O* s' B" z; y( P  h
  1053. [SQL]
    ; X  z7 v$ I  f) c* A
  1054. ; http://php.net/sql.safe-mode
    # }: k4 w% M8 ?& {2 m
  1055. sql.safe_mode = Off3 y4 N# M8 l) P4 x6 h
  1056. - X1 c2 ~0 q" ]5 ~' ]: N" n
  1057. [ODBC]% t- c( r: z) l* s! s. r4 l; D- m7 `
  1058. ; http://php.net/odbc.default-db2 x$ E" k: u# O9 V; O! c' W+ s
  1059. ;odbc.default_db    =  Not yet implemented' t) H; i) Y, H3 e

  1060. % I! \3 X0 I" b1 N3 H
  1061. ; http://php.net/odbc.default-user7 z4 H8 D8 V1 T! s' \
  1062. ;odbc.default_user  =  Not yet implemented
    ! ^0 T5 Z2 t, f" C# J+ f0 P7 ]
  1063. 2 p9 R4 u; [9 W7 T6 ]8 Z
  1064. ; http://php.net/odbc.default-pw
    , h4 Q4 \" _5 ?0 L2 Y1 C& o8 ^* b
  1065. ;odbc.default_pw    =  Not yet implemented
    , G1 x; S1 B/ B) {+ z) r/ t
  1066. ; o$ W/ h+ y9 a: B# H
  1067. ; Controls the ODBC cursor model.
    4 G8 q8 a  V) w
  1068. ; Default: SQL_CURSOR_STATIC (default).
    ' O8 _! M( y' S  j( m0 s4 f
  1069. ;odbc.default_cursortype
    , m% \# w' `% r! |+ r+ w  S' A
  1070. 3 a" v9 }) z, U9 d- d% J  W
  1071. ; Allow or prevent persistent links.
    ) H9 y- X" F* F( S
  1072. ; http://php.net/odbc.allow-persistent
    7 v( u8 q" ?! S3 u
  1073. odbc.allow_persistent = On6 E- u8 h: H$ z' b- E% E
  1074. " y7 F& B9 C6 y3 T4 J, V) ?- C
  1075. ; Check that a connection is still valid before reuse.
    2 K- k4 O- y; D9 s" Y6 {8 U
  1076. ; http://php.net/odbc.check-persistent
    : U+ V. G) ]) W) Z6 q
  1077. odbc.check_persistent = On3 ?8 Z, ]- L9 E) y0 p$ K

  1078. . w  g5 p. h3 x% g  M' Z1 z3 ]0 `
  1079. ; Maximum number of persistent links.  -1 means no limit.
    ( D; g1 U, _+ G* G2 |
  1080. ; http://php.net/odbc.max-persistent
    : Z- j' _! l3 t1 t- t! @6 @
  1081. odbc.max_persistent = -1
    6 u4 c& k# v4 x( Q5 C7 D" p
  1082. ; l5 a6 \( S$ K+ }% O8 g! r
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.- C9 H3 s( @2 T2 S+ ?
  1084. ; http://php.net/odbc.max-links7 K, ^; _6 {* |  U6 }& E9 R/ ]
  1085. odbc.max_links = -1! P4 D  v; F: i. @: ]: `
  1086. & P( k7 ?, ]3 E( l" @
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means" i# }2 L$ E0 {: n& X! a( g" C
  1088. ; passthru.4 k! f; Q2 e8 W9 n
  1089. ; http://php.net/odbc.defaultlrl1 \: Z( {& |/ n- ~# h* _: W
  1090. odbc.defaultlrl = 40965 |  Z1 d+ @7 b. e- i1 M

  1091. ! E- X/ R. ?# l
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    5 Q5 J0 J5 H/ f5 @* i! F3 p
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation8 z6 M8 u# h9 ^2 [
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    9 D  u6 ]1 Z& Y8 q7 p- ~
  1095. ; http://php.net/odbc.defaultbinmode
    3 ~6 s$ O. J: G
  1096. odbc.defaultbinmode = 1% ?, J. G# k; s0 E3 M# Y6 P* C$ N1 f" i

  1097.   }4 B4 X# K& ]2 I+ ~  \
  1098. ;birdstep.max_links = -1% g# N; S4 B. y

  1099. / L2 z5 ^# q2 d) B  v# r4 |
  1100. [Interbase]: g" u, }- `( |7 I( Z
  1101. ; Allow or prevent persistent links." M7 i7 J" W' {" O; _( R" F) W
  1102. ibase.allow_persistent = 15 }: W4 H. _6 i

  1103. 9 v' o; l0 J/ t+ V
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ) W7 u- n* q& R* T. K& L8 Y
  1105. ibase.max_persistent = -1
    . D) s" `3 M2 u7 J3 W5 G; L# M; |' ~

  1106. $ e3 H- {2 Z% x$ A& n1 O
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 h. g: S3 \. T7 N3 w" B' E
  1108. ibase.max_links = -1
    9 I% d# l, U# }/ X
  1109. * q4 S' Z* w! _) _4 I+ W
  1110. ; Default database name for ibase_connect().
      \- N5 _- e% n, R" p7 c
  1111. ;ibase.default_db =' n8 n, |6 I, l6 A

  1112. 3 W) q9 d: E5 r3 h- G
  1113. ; Default username for ibase_connect().
    9 \' Q- U  M; U' w9 v3 L8 k" X
  1114. ;ibase.default_user =; j( T1 k" K% l' s

  1115. # Y2 M0 p( s1 [
  1116. ; Default password for ibase_connect().3 c0 {& S0 G2 N8 P6 }, e2 X; K7 X
  1117. ;ibase.default_password =
    ! s1 o$ @( G7 Z* o2 S* [
  1118. 0 v/ P0 J4 i5 I  P3 a1 b
  1119. ; Default charset for ibase_connect().& C$ G, H  i1 y# ]6 G( U
  1120. ;ibase.default_charset =* t5 ]) e, T% Z9 ~0 u. Z' S
  1121. : @! `: R* R4 A! N; a; U5 J- @' J
  1122. ; Default timestamp format.
    ! Q4 M& I6 `8 u  C# c! m, u
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    1 u. L( X; W' {. q& l4 {5 A8 e
  1124. ! G  W3 e- N" Z8 l8 \* ^. r9 n2 {
  1125. ; Default date format.4 f, p# ^* _- E* V
  1126. ibase.dateformat = "%Y-%m-%d"
    / t0 I+ C; p- r$ e' E3 T
  1127. 3 V) S1 `9 L; |, h
  1128. ; Default time format.0 j, T6 ^, T. Y- b3 S( [
  1129. ibase.timeformat = "%H:%M:%S"
    - q9 C) `3 M9 ?" d$ P5 e6 ]. F  C

  1130. 6 M0 x6 L6 `, E7 @+ M  J) ?
  1131. [MySQL]
    $ ]% @0 c5 q4 j; j( o6 E
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    7 f! _/ o2 g6 R( s
  1133. ; http://php.net/mysql.allow_local_infile" }, _8 v" s6 t  L& I3 Y
  1134. mysql.allow_local_infile = On- [% c0 g  }9 i

  1135. % b0 }3 u  ~0 ?1 ~; j( p
  1136. ; Allow or prevent persistent links.
    * ]+ g( l5 e7 U# ?
  1137. ; http://php.net/mysql.allow-persistent
    0 n& `% [0 [+ y5 v1 Q* Q' `
  1138. mysql.allow_persistent = On, Q: ~1 p5 w0 [7 `

  1139. 5 e* e& p# f0 F/ D
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    : U( N+ B. h1 f3 t8 a
  1141. ; http://php.net/mysql.cache_size
    - ~" d; L( Y0 P
  1142. mysql.cache_size = 2000! H% Z3 p* ^$ p; ]: _& A
  1143. & k4 y' [$ D( F: T: o. }
  1144. ; Maximum number of persistent links.  -1 means no limit.- C- ^! F6 a( [4 c9 c9 q# r
  1145. ; http://php.net/mysql.max-persistent7 D1 F$ _6 K4 z0 `
  1146. mysql.max_persistent = -1' W! N) `$ O+ n7 V6 W7 z( I

  1147. - e: K9 Y0 j3 B# p: [9 P
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.5 v( }% l! V! X* \' C! I1 f
  1149. ; http://php.net/mysql.max-links
    % Q& W, `+ S6 a
  1150. mysql.max_links = -1
    * H5 K# e' l3 D3 i  H/ H) a. X
  1151. 3 f8 P& o2 t- F2 e0 L
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use% e% y) P& U, f2 `5 I! Y4 |8 }
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    $ B! @. M0 m5 o+ M' p' Q$ i0 e
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ; e, a- Q' |0 [2 G& u7 ~
  1155. ; at MYSQL_PORT.9 X- C! i4 S8 @7 G) f
  1156. ; http://php.net/mysql.default-port$ x: s3 Y  _5 R
  1157. mysql.default_port =
    : `% z+ U" o& i

  1158. ; \/ E3 S7 {0 E" D8 L: X
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in+ j7 |: [  i$ L/ s1 p
  1160. ; MySQL defaults.: |4 ?% I3 q3 F2 `0 b( J* Q% F% u
  1161. ; http://php.net/mysql.default-socket
    + w+ w. D( H0 _7 U3 y
  1162. mysql.default_socket =" b( J9 J3 y5 c. _. v

  1163. 6 |" Q' R: k' K3 Y1 ]
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).6 G8 ^7 p6 p( D  `, p2 l
  1165. ; http://php.net/mysql.default-host
    4 I  G. q2 K+ S5 V, v6 v4 W+ a
  1166. mysql.default_host =
    - W6 W( P; P* D9 @: k

  1167. 8 ^. @1 j8 ]2 r+ i2 g1 |% [, K
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    / U6 r" J3 x; q' `0 U
  1169. ; http://php.net/mysql.default-user
    * j+ J% D. Z; c5 j
  1170. mysql.default_user =
    " n1 T7 L8 J) }2 \' n' M

  1171. - p5 H5 P" p2 w7 k
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).) ?* h2 C& G! _5 h9 d" w( _& i( v
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.$ A) k4 H7 n& Q. G# ]: u
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    7 ?5 T' K: I; S4 d
  1175. ; and reveal this password!  And of course, any users with read access to this
    1 G8 z7 W8 Q1 ~
  1176. ; file will be able to reveal the password as well.+ b! m; S: v) \$ x" l8 l
  1177. ; http://php.net/mysql.default-password" D) ?- b! F. |2 |( \3 B
  1178. mysql.default_password =
    ( f9 T" c  p9 R2 ~9 `

  1179. . `+ j0 x+ |; [# c7 w1 d
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    & b/ g2 |6 c% }4 S
  1181. ; http://php.net/mysql.connect-timeout
    / j- Y+ M4 b. [  G) t- n8 r" Y0 u
  1182. mysql.connect_timeout = 602 k2 ^( M& i. ?' H" A: C
  1183. * E0 B8 U7 Q0 I$ `! f
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    $ g# c* d* X. {# v3 O& y3 `  x
  1185. ; SQL-Errors will be displayed.
    ' S5 p  |* O5 s7 z  Y: s
  1186. ; http://php.net/mysql.trace-mode
      o: ~- k' j0 C9 \+ r3 [  f
  1187. mysql.trace_mode = Off' G: Z- M. g4 z3 k

  1188. , M; A6 J) h' D8 B$ Q% B; {
  1189. [MySQLi]$ c. _6 ?0 T3 D: s
  1190. + A6 I: E0 W5 k( N& K
  1191. ; Maximum number of persistent links.  -1 means no limit.
    + j# q! j0 U8 u& s: R* z
  1192. ; http://php.net/mysqli.max-persistent
    8 N3 w" @) p" z- r( B9 ^( D
  1193. mysqli.max_persistent = -1; Q7 @' @* d' N
  1194. - T, |+ R: `0 B" V' J- k: [
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements8 \* r4 K, q  B8 t7 R
  1196. ; http://php.net/mysqli.allow_local_infile
    & E) E8 ^2 E% k, Q5 p: T
  1197. ;mysqli.allow_local_infile = On
    ' W2 A8 Q4 p0 f) }
  1198. ; {3 {3 {* \& S2 \
  1199. ; Allow or prevent persistent links.
    : f# l8 Z$ l) y" ~) ]0 ]3 m
  1200. ; http://php.net/mysqli.allow-persistent
    2 c3 V) D" Q& F8 N0 x5 j
  1201. mysqli.allow_persistent = On
    8 R% T9 ^" T- f/ k3 y) y

  1202. 0 V" F( ]5 d/ U" \3 A
  1203. ; Maximum number of links.  -1 means no limit.
    ) u" W+ `) S" d6 S# _
  1204. ; http://php.net/mysqli.max-links$ ^/ C' Q1 g2 P3 f
  1205. mysqli.max_links = -1
    6 R2 m( Y! \  S) y8 v3 ]
  1206. % s" {' c* a8 ~( [) a: w" z
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " ^8 T# W- c2 r- n' x" H
  1208. ; http://php.net/mysqli.cache_size' z6 M7 `1 c1 Y" G- L3 B2 v
  1209. mysqli.cache_size = 2000! J# i6 I3 i* {, o$ o+ k
  1210. % s# u4 w. o- Q& v) q0 h
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    5 U1 y0 d9 s. P9 N0 L
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    " R4 E2 r# S0 I) J* n  ]% {
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look4 K! Q3 h& n. k5 E1 D/ F' W
  1214. ; at MYSQL_PORT.; {6 |. z3 A6 d* b: E- B$ t
  1215. ; http://php.net/mysqli.default-port) M' A  N% X# Q! n4 W9 U' r
  1216. mysqli.default_port = 3306" W  \- @( t+ r" u/ P5 ?" c, ]6 G1 @
  1217. 1 n/ R0 \; \, I& A
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * p0 q- }9 Z! D2 c' R" U
  1219. ; MySQL defaults.
    2 U) s- |- n$ i+ w+ [
  1220. ; http://php.net/mysqli.default-socket
    % w: C1 v- b& N
  1221. mysqli.default_socket =3 k) c" l1 H' I

  1222. $ z8 u0 @% w' P( x6 [
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).9 r3 {& |$ p) w) b+ b% z
  1224. ; http://php.net/mysqli.default-host
      b4 J+ m  `2 j" V
  1225. mysqli.default_host =, x8 @4 v1 [/ a/ r

  1226. 4 V* ^6 x; E) u! }7 Y5 e/ A" D
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    " N* c+ }+ {! p, d7 ~
  1228. ; http://php.net/mysqli.default-user
    , B7 @7 C0 `& r3 [8 h
  1229. mysqli.default_user =8 A3 U' J: w8 _6 B9 I* v

  1230. 2 [$ h- c& r* f, m+ v' }
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).$ F2 ?$ t7 s- i/ [
  1232. ; Note that this is generally a *bad* idea to store passwords in this file." [8 a7 E/ T( x- e
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")* h0 n; y0 d1 r; i! X, ?0 r
  1234. ; and reveal this password!  And of course, any users with read access to this3 }9 z4 u( `! ]4 m  e8 u
  1235. ; file will be able to reveal the password as well.# J' l5 H' b3 p
  1236. ; http://php.net/mysqli.default-pw
    4 g1 E. f; Z5 G, h3 i  h5 M/ M0 W
  1237. mysqli.default_pw =
    9 j* N% T9 x5 J

  1238. . F1 C% Q% u# z6 ^+ k
  1239. ; Allow or prevent reconnect+ B& R; a- J( t  X3 H
  1240. mysqli.reconnect = Off6 o2 J8 q. P/ W) Y* L
  1241. . c7 v' S+ ]' E4 ^% d0 k
  1242. [mysqlnd]
    ( x2 d# G8 V# Z0 P
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be7 _) S* \* d/ k
  1244. ; used to tune and monitor MySQL operations.' G7 v9 |6 u. S, f" m3 s$ X4 p
  1245. ; http://php.net/mysqlnd.collect_statistics
    ' O8 ~( L/ O- @  X! \: q
  1246. mysqlnd.collect_statistics = On# Y0 L- G& k  c
  1247. ( b3 S0 @/ C! ^, h8 c" M2 E2 v
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be6 ]$ D0 \" o; ]$ n' L" z# H3 q8 `( Q  D- {
  1249. ; used to tune and monitor MySQL operations.
    ! @7 Q- P0 _1 Q7 o, C
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    3 p7 X% k' T$ p9 _3 Q
  1251. mysqlnd.collect_memory_statistics = Off2 H0 O0 A5 @6 S/ I, ]$ k1 k9 q' A# f
  1252. & e& a$ H8 G$ z& G) ]2 @5 c1 I. n
  1253. ; Records communication from all extensions using mysqlnd to the specified log; J3 f2 |" T9 N5 `& \0 M" T; x2 x/ I9 k
  1254. ; file./ z4 R7 Z! u4 J6 w% d
  1255. ; http://php.net/mysqlnd.debug
    5 T2 [# M8 r( W2 y
  1256. ;mysqlnd.debug =2 q& ^2 C$ M5 e, _% V; e9 a
  1257. 0 u9 h& Q& `9 @/ a* N- i  `
  1258. ; Defines which queries will be logged.
    1 J2 Z2 o) W4 X3 ~) i  [. k
  1259. ; http://php.net/mysqlnd.log_mask
    6 Z4 B6 O" i3 |5 P8 o+ E" _( \
  1260. ;mysqlnd.log_mask = 0% j9 S* d- }$ t" |/ ]9 l
  1261.   i% J+ e# u1 N* t& H
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.0 Y+ l! P2 O5 g" ^$ n. I
  1263. ; http://php.net/mysqlnd.mempool_default_size* }9 T4 F& B$ ]: O* W. E
  1264. ;mysqlnd.mempool_default_size = 16000
    : d' p% d3 |5 \% Y) A) q

  1265. " f1 K5 l2 Q1 }. q/ M! D. s
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
      `. Y7 Z  r8 K9 y, l" f
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ( p) i4 \6 ]" z/ a$ d$ a7 x* W
  1268. ;mysqlnd.net_cmd_buffer_size = 20485 O* Y4 S* x* F& N6 @- C0 K

  1269. ' Y6 i% X7 S) K0 l5 z& `
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in8 \  y7 p8 B% B8 D7 Q; l
  1271. ; bytes.8 |- h3 Y7 x- Q- e* l
  1272. ; http://php.net/mysqlnd.net_read_buffer_size9 t( x; I0 j6 p0 [
  1273. ;mysqlnd.net_read_buffer_size = 32768+ \; X6 t1 q3 X" G, K- O% S, S
  1274. ! n" G* ?1 M+ v. \1 h& j( V% J
  1275. ; Timeout for network requests in seconds.; m% y; G* r& x$ s% f' e! h9 k
  1276. ; http://php.net/mysqlnd.net_read_timeout, E+ T( x7 B6 o+ F" u$ @
  1277. ;mysqlnd.net_read_timeout = 31536000
    5 {2 _) r  S3 }; A% L( j* k9 C

  1278. " H& S- ~, z+ a3 g9 U3 k2 A! g3 z$ W
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA1 x# o; w( z' s) t. f9 \
  1280. ; key.7 F' p' ~2 i  g  d
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    ) B. f  b; ?  q
  1282. ;mysqlnd.sha256_server_public_key =5 T/ O- i' X( p9 }1 A# {, q
  1283. 6 r4 C( y4 `9 A8 S* U3 \1 W
  1284. [OCI8]
    9 q' h) d+ H8 {; J7 ^' O
  1285. + d! J2 o; J  f/ d. Z4 t
  1286. ; Connection: Enables privileged connections using external
    & B; z) k* E6 l0 c7 h( ?
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)' Z" x  S) c9 i2 |7 A5 r
  1288. ; http://php.net/oci8.privileged-connect( m  N; N4 u  `' E
  1289. ;oci8.privileged_connect = Off
    $ ]2 |% {$ D. T* {2 }

  1290. ) x3 m  G+ l: ]- A; p( j8 g3 l
  1291. ; Connection: The maximum number of persistent OCI8 connections per. ]8 k. L6 U' U' z8 U9 L$ Y5 k
  1292. ; process. Using -1 means no limit.
    . k8 C: i! w: p; J
  1293. ; http://php.net/oci8.max-persistent6 ~6 ^" d: p4 q8 O0 M% h. l7 V2 @
  1294. ;oci8.max_persistent = -11 d. i9 p, E0 J: _  k- W

  1295. , f# m, w% W2 Y+ h: r3 `
  1296. ; Connection: The maximum number of seconds a process is allowed to7 p4 ?1 \' e8 z% M
  1297. ; maintain an idle persistent connection. Using -1 means idle# O# e, _2 D# ]* r
  1298. ; persistent connections will be maintained forever.
      ~: R! X! W+ a2 e9 X. G
  1299. ; http://php.net/oci8.persistent-timeout
    ; q2 m1 ?+ b, [6 C  @/ {
  1300. ;oci8.persistent_timeout = -1
    3 P/ x+ T* Q6 [; a# ?/ A
  1301. 0 |! U8 I* B. j2 A+ k& k4 u
  1302. ; Connection: The number of seconds that must pass before issuing a
    9 w; \1 M7 _  |9 C
  1303. ; ping during oci_pconnect() to check the connection validity. When
    2 O  B1 p6 `! h) y; u$ e4 `
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables0 J+ p9 s0 {; V* O( y
  1305. ; pings completely.; M  Q/ a- y1 Z- O9 z8 x" h( O
  1306. ; http://php.net/oci8.ping-interval
    1 `2 ?1 m+ `8 [
  1307. ;oci8.ping_interval = 606 _& `$ r/ I/ v7 v0 C" T

  1308. # W, {2 V& U" w- y
  1309. ; Connection: Set this to a user chosen connection class to be used3 ?; F, T  f9 K) H
  1310. ; for all pooled server requests with Oracle 11g Database Resident7 ^1 c4 P6 N1 l  k( a
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
      G! d% @  ?% _0 |
  1312. ; the same string for all web servers running the same application,
    % W. i( F- D9 u1 \- R/ ~- N( Z5 G
  1313. ; the database pool must be configured, and the connection string must
    " C/ \1 h6 f6 x* |- Y3 U% W8 v4 ^
  1314. ; specify to use a pooled server.
    , w, @# V6 x- i3 ^" f5 o$ E
  1315. ;oci8.connection_class =- D/ S! r+ A0 W; e$ c
  1316. ' j& I- i  |* H( c
  1317. ; High Availability: Using On lets PHP receive Fast Application
    & U+ M" s) d4 H6 e9 m" J, \
  1318. ; Notification (FAN) events generated when a database node fails. The( v" o' t% P. G$ o8 [
  1319. ; database must also be configured to post FAN events.
    % g& I& M5 T8 z# i, j; X
  1320. ;oci8.events = Off  l$ c  R) _, u4 N1 Y
  1321. 7 p* i3 T$ X( \( y
  1322. ; Tuning: This option enables statement caching, and specifies how
    - W/ P6 Z5 r# \% D
  1323. ; many statements to cache. Using 0 disables statement caching.3 U( Y6 J' y/ y. l5 o7 M/ G
  1324. ; http://php.net/oci8.statement-cache-size
    + z4 u$ F$ [; n8 o
  1325. ;oci8.statement_cache_size = 20
    ; [" m. s$ H1 S+ T
  1326.   L+ c* \- S* D
  1327. ; Tuning: Enables statement prefetching and sets the default number of2 x+ k" M' E6 Q; u
  1328. ; rows that will be fetched automatically after statement execution.
    8 J4 u6 C  C( N6 B; [5 h3 x
  1329. ; http://php.net/oci8.default-prefetch3 ^: ?# y$ F- g% h$ Y
  1330. ;oci8.default_prefetch = 100
    4 Z5 A6 _* E# Q3 s! t$ k; d- [

  1331. 0 V5 L9 D6 d" h$ h2 k( c, a- D
  1332. ; Compatibility. Using On means oci_close() will not close8 {* o0 [$ m6 r# v4 K/ T, o
  1333. ; oci_connect() and oci_new_connect() connections.
    , s7 Y. t# r: A/ M' J8 g7 A% z
  1334. ; http://php.net/oci8.old-oci-close-semantics2 w7 P7 ]2 A  ^  R' X$ L
  1335. ;oci8.old_oci_close_semantics = Off
    & i+ L+ C& M$ D

  1336. ( G5 J: J# [$ g$ N6 B+ x
  1337. [PostgreSQL]
    * u% ]; g) ?  M7 G% b5 a
  1338. ; Allow or prevent persistent links.- w( C/ w8 n" c7 z* {1 M4 \; x
  1339. ; http://php.net/pgsql.allow-persistent
    . r, \+ u+ l- t9 ^3 Y4 |6 r
  1340. pgsql.allow_persistent = On
    1 y% n( X0 p- U0 c

  1341. ' w+ g0 a. j9 y3 K7 g( D' O% ]
  1342. ; Detect broken persistent links always with pg_pconnect().
    ! F3 r' P7 v$ T: ~
  1343. ; Auto reset feature requires a little overheads.
    " g9 f7 K+ W; {* d  w4 T3 V' `) J: G
  1344. ; http://php.net/pgsql.auto-reset-persistent! Q3 }& |/ x8 }1 K, R5 A7 l5 S
  1345. pgsql.auto_reset_persistent = Off
    ' }$ e) @4 ~( f/ }- [
  1346. : @  j3 _( z, x/ ?9 A, |
  1347. ; Maximum number of persistent links.  -1 means no limit.
    + f! n- ?3 y+ G7 R8 S; ?2 b2 o# l9 s
  1348. ; http://php.net/pgsql.max-persistent: c7 L; F, c  W/ k/ d5 @  l5 J
  1349. pgsql.max_persistent = -1
    1 R: n- V2 C  r" K& L! n

  1350. 7 ~& U& d3 l/ Y& p. s
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.% }9 P; A8 L. ?6 X/ b1 m6 m. w, M
  1352. ; http://php.net/pgsql.max-links2 y8 q) h& n3 O2 Z7 P4 _" h
  1353. pgsql.max_links = -1
    / I) r  T; J1 o3 M  M* d
  1354. ( L( I. }1 f) e6 H2 D, X( {
  1355. ; Ignore PostgreSQL backends Notice message or not.. _# f0 V4 s6 ^! N# G
  1356. ; Notice message logging require a little overheads.; O. p* b$ c( x: E5 e+ |, o
  1357. ; http://php.net/pgsql.ignore-notice2 v5 n0 {: ]/ c, t9 e$ O, }* m
  1358. pgsql.ignore_notice = 0
    ; F$ m/ |1 P& [6 g+ ^3 N

  1359. 1 i  W  i8 I' s; e7 D' ?; c
  1360. ; Log PostgreSQL backends Notice message or not.' g: _& M* a  d% [1 C' W8 d
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    $ o$ r* v. ~* a+ ~3 ]: H) V
  1362. ; http://php.net/pgsql.log-notice( q, h* k$ W7 T+ M' {  p* C
  1363. pgsql.log_notice = 0* r0 i9 R' m% e* s# X, a

  1364. ( _+ p: Z9 v" `5 {
  1365. [Sybase-CT]
    ) l- `/ B  N* M, p0 g
  1366. ; Allow or prevent persistent links.1 A: P2 e) t  t6 ~3 W
  1367. ; http://php.net/sybct.allow-persistent" ?0 W% ~6 p& |6 k1 s8 k! `
  1368. sybct.allow_persistent = On
    ) g5 h- O2 J8 c6 J# K
  1369. 8 C5 M2 D2 a" K9 X: C! r; r
  1370. ; Maximum number of persistent links.  -1 means no limit.0 F0 A" l4 c$ d) }1 p2 [2 e
  1371. ; http://php.net/sybct.max-persistent7 R9 y8 D3 @( D
  1372. sybct.max_persistent = -1; C8 d/ ~2 I$ L
  1373. 0 J0 J2 y1 ?- ]- i1 Q
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    - l- _8 _+ t, Z. }' {; Y0 f
  1375. ; http://php.net/sybct.max-links1 W4 d5 v. Q: |. m! Q
  1376. sybct.max_links = -1* D- k% `# j( s

  1377. - {- `6 c* z7 n! C  f# f+ F0 s+ f2 P& ]
  1378. ; Minimum server message severity to display.7 l3 ?3 Z- d! F8 _
  1379. ; http://php.net/sybct.min-server-severity" e( i5 \# R* A# w( D" t/ \
  1380. sybct.min_server_severity = 10
    0 @, w# \2 v5 J0 `
  1381. ) d, P$ F3 h! M# I+ D$ ~6 Y& L( ^
  1382. ; Minimum client message severity to display.
    1 v9 }1 t6 f( c
  1383. ; http://php.net/sybct.min-client-severity
    . s( d" y' u* E# p8 D% b9 Y. p
  1384. sybct.min_client_severity = 10
    , E) ]2 {- K9 s3 R+ @. h; x

  1385. 9 ]  s5 z+ L' E4 o; x0 b
  1386. ; Set per-context timeout
    ; o0 q( j9 J0 q$ E) o0 `4 b
  1387. ; http://php.net/sybct.timeout; B0 P9 u- E0 w2 m/ p
  1388. ;sybct.timeout=
    6 L' N  y1 j( W; i8 d: C* o9 ^

  1389. ; @( }; u: n5 q, {3 J0 G
  1390. ;sybct.packet_size; e/ h3 U1 ~6 }8 d; T7 Q! B
  1391. 8 n0 c% y0 S) P2 C. `
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    % q/ X! g  \7 L8 R, v/ `
  1393. ; Default: one minute# v' L9 f. a" g$ e& y
  1394. ;sybct.login_timeout=4 K" d2 _( O  \: D, G# J0 ?) z' s

  1395. ! w1 _1 C) W) @9 ^5 l! q6 x- M
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.& K; ~2 Y) s* p
  1397. ; Default: none
    $ x$ @0 e) `- x- b$ Q- U+ g3 E
  1398. ;sybct.hostname=
    , h4 G2 S4 j' k; Y" y

  1399. 1 P" Z- w! w1 W& O
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".3 I1 X6 E8 F1 b& k) @
  1401. ; Default: 0
    2 f# H, w, k& E5 \/ A: T+ q. Q; ~7 c# F
  1402. ;sybct.deadlock_retry_count=% N$ E7 b0 t" ~. c& W" a

  1403. 3 b3 J6 \# }/ S$ N5 S
  1404. [bcmath]
    . U1 o/ p+ w" a7 v; M3 }
  1405. ; Number of decimal digits for all bcmath functions.
    4 c, k* B8 z3 h  Y
  1406. ; http://php.net/bcmath.scale
    4 ^# e, L# g4 ?% @- g9 X! I$ L0 ~4 ~
  1407. bcmath.scale = 0- L: `( S, |) E+ x) K5 h: Q

  1408. . T, q+ G2 G* G6 ^, v
  1409. [browscap]
    + R4 S- K4 W4 F8 v( ]/ F( S. p
  1410. ; http://php.net/browscap
      p0 Z8 f+ ?$ g2 \7 c$ v7 b# ^
  1411. ;browscap = extra/browscap.ini- R2 R% x7 R" F* e) p; J( t
  1412. ( r* M9 {5 F. p8 Z
  1413. [Session]
    ) d: q& O  `  e& t. `! h4 G4 f
  1414. ; Handler used to store/retrieve data.) h3 q+ r* C" v7 f" ~3 k
  1415. ; http://php.net/session.save-handler
    $ y9 e2 r% h) ~" j
  1416. session.save_handler = files9 Q% S! v' j! l3 Z. ?
  1417. 4 _# t7 F6 O6 l! ^4 ?; {
  1418. ; Argument passed to save_handler.  In the case of files, this is the path1 I! {9 E' N# Y; J& Q+ q
  1419. ; where data files are stored. Note: Windows users have to change this
    6 b% a+ m7 U( m0 E5 z
  1420. ; variable in order to use PHP's session functions.
    * ?, X; x0 k+ l
  1421. ;
    7 T/ p) y2 I6 L# n# L
  1422. ; The path can be defined as:
    , y! N2 j; t; w6 \- k! g+ x
  1423. ;& k9 I, B0 }; l( J* y
  1424. ;     session.save_path = "N;/path"
    , x. y( E# i' J% g  z% Z
  1425. ;
    $ a2 e$ a% H( e6 U+ o8 Y6 N  V
  1426. ; where N is an integer.  Instead of storing all the session files in$ {! |( w( f9 k& |
  1427. ; /path, what this will do is use subdirectories N-levels deep, and3 f- H) V, u% o9 Y5 \4 y# D
  1428. ; store the session data in those directories.  This is useful if
    : s) j) T1 T. w7 U2 k
  1429. ; your OS has problems with many files in one directory, and is
    2 P) v- h, }8 B
  1430. ; a more efficient layout for servers that handle many sessions.
    ' v7 i# Y7 `! ^! ^* k5 c
  1431. ;
    0 a5 W, f& Y  F- `  `; c/ l/ p
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    9 t: a% d' z# m7 |
  1433. ;         You can use the script in the ext/session dir for that purpose.
    + I) X( I' A/ y0 u0 s( L
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    $ k/ e/ ]: k4 Y  P* Y/ W" C7 C! j
  1435. ;         use subdirectories for session storage0 T( w( i3 p% w5 L! W/ ?# W8 C5 c
  1436. ;
    + O/ y  Q+ R/ p) `9 l
  1437. ; The file storage module creates files using mode 600 by default./ t0 @) D# |. d$ C- N8 U0 f4 {
  1438. ; You can change that by using1 g* y2 o8 @0 w, ^
  1439. ;3 b3 f* d' e- F' W8 F4 c
  1440. ;     session.save_path = "N;MODE;/path"
    ( O: `3 `1 D3 H& A- N; i6 W
  1441. ;
    + J9 T1 O9 J; g' U/ Z. k" p/ W
  1442. ; where MODE is the octal representation of the mode. Note that this
    3 z% y; c  p1 `& c7 o0 C* S
  1443. ; does not overwrite the process's umask.+ _% {% `$ ^# @' {) c7 Y
  1444. ; http://php.net/session.save-path
    ! u, q& ?% J+ e; D9 ]0 m( y
  1445. ;session.save_path = "/tmp"5 v7 ^$ ~1 U2 X) s+ A) R4 e
  1446. * e, E+ R4 F& T4 r
  1447. ; Whether to use strict session mode.0 A7 M( _( h; g; U, P5 A; d& H
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    3 {4 b( G0 ?4 R
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    , A5 P2 _' Y7 ]
  1450. ; applications from session fixation via session adoption vulnerability. It is6 c5 |" O4 ?* A
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    " ?/ M3 k4 m; O7 s  r3 }
  1452. ; https://wiki.php.net/rfc/strict_sessions
    $ z( j4 U8 O! W3 H# g" e) x
  1453. session.use_strict_mode = 0
    9 O: U6 S* P. f! t& _  n

  1454. * x+ F/ T4 n, \5 }% `5 m
  1455. ; Whether to use cookies.; h! U: y' |4 H9 a1 r
  1456. ; http://php.net/session.use-cookies9 Q, G8 {) V+ |& c  s
  1457. session.use_cookies = 1
    8 f3 v4 g5 e" ]2 w' \$ M8 H
  1458.   B8 @0 H0 [1 F2 O6 @
  1459. ; http://php.net/session.cookie-secure2 q1 p: p  x8 T2 N
  1460. ;session.cookie_secure =5 N9 g3 i+ R* X9 `% y* Y
  1461. : d* T8 ]+ v  G. J
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ! g7 J& O3 X+ i& M2 b
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    0 A/ |) x" K. e7 p- x
  1464. ; session hijacking when not specifying and managing your own session id. It is
    5 w& \, _- u# V* C3 k0 ^
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    . s$ Z( X. t; z, C  t1 j
  1466. ; http://php.net/session.use-only-cookies; B, c5 i6 B* k3 g' w
  1467. session.use_only_cookies = 18 U7 W) D' J& P. ^

  1468. 7 R7 k6 y, f; i8 A$ Z! v
  1469. ; Name of the session (used as cookie name).# ^' g; b1 {6 a) d4 |! @7 u& ^
  1470. ; http://php.net/session.name
    6 H7 |  I, S" Y8 n8 Y7 u, r
  1471. session.name = PHPSESSID1 C7 W& }4 V$ j; M

  1472. 7 x( B) h9 n3 x7 o2 g
  1473. ; Initialize session on request startup.
    8 c0 t% o  G, w: e  p, m
  1474. ; http://php.net/session.auto-start
    7 ?* p- }. J: r1 }1 d3 k
  1475. session.auto_start = 00 q* t5 v5 U3 z7 J, W8 i

  1476. + S% m/ H0 d3 a2 k- e2 J# `
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.! f+ f& ~" _0 t/ I$ r7 ?% }2 x
  1478. ; http://php.net/session.cookie-lifetime! r2 ?8 e$ D2 S1 g2 j
  1479. session.cookie_lifetime = 0' d% L* W- U" b0 C( n" c
  1480. 4 f& ^6 D5 K+ [
  1481. ; The path for which the cookie is valid.
    9 Z8 l3 r( \! y- {
  1482. ; http://php.net/session.cookie-path
    2 p9 O9 o) Y  m. @5 C
  1483. session.cookie_path = /6 I: b; K& a2 u8 |+ @
  1484. 8 \$ B% R3 u5 G5 i* `, c
  1485. ; The domain for which the cookie is valid.
    7 [5 W7 d  z, ~5 R; \
  1486. ; http://php.net/session.cookie-domain
    " T% i) p" T' }
  1487. session.cookie_domain =
    ) n& o! C! u6 X9 o' W9 F9 v

  1488. $ p: M! w7 a4 `% D2 b- M
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    3 f# A% F3 E8 u
  1490. ; http://php.net/session.cookie-httponly
    0 K3 R7 `5 f- a# b
  1491. session.cookie_httponly =
    ! ~) I5 f. J. Z
  1492. & s; A- B- r1 P& ?! l
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.+ `; [# h& T! f
  1494. ; http://php.net/session.serialize-handler
    3 }+ I; Z/ F- N/ ?  j( g3 c
  1495. session.serialize_handler = php& U  p5 J# S2 d" U9 J' A
  1496. # A$ k: |* H/ u: {$ Y/ p: G
  1497. ; Defines the probability that the 'garbage collection' process is started3 C; ~: b; L9 a  N/ e' k
  1498. ; on every session initialization. The probability is calculated by using' {2 J, h4 X# [# P! j- h2 _+ ^
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    - d  w# J) _* |. F4 ~: S
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    4 `' F- y* }( g" Y$ p( V
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance8 O- W  m$ X9 i
  1502. ; the gc will run on any give request.9 e7 |8 I! o& M5 L, S4 n/ |
  1503. ; Default Value: 1
    ' p% Y& v9 h" }8 W: U% @
  1504. ; Development Value: 12 G( ^- X4 \) s; J
  1505. ; Production Value: 1
    . o( `7 Y. K/ x0 ]- {  O. J
  1506. ; http://php.net/session.gc-probability
    % t* Z! j+ v; e/ f& l
  1507. session.gc_probability = 10 |6 L6 ]* g  I7 H2 I
  1508. , p" @+ z( R& p/ \
  1509. ; Defines the probability that the 'garbage collection' process is started on every3 _2 {' t" x' K7 m& @3 E  ]
  1510. ; session initialization. The probability is calculated by using the following equation:
    ) z+ D2 ?% }1 W  s6 H  W
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and( _3 u+ A0 X% O
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    5 i; p% f) g. _
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance, G; X4 R1 l$ ?! N  g% P
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    1 D7 [& i: M$ K' t0 v1 @7 T# ~
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,9 Z# D. z  W% E  h# R. N
  1516. ; this is a more efficient approach.
    ) g7 _5 E& s5 X3 z. F3 W
  1517. ; Default Value: 100
    2 ~) Z. {; p, [7 X1 k4 U4 v7 K
  1518. ; Development Value: 1000
    ' ^. q5 q% E5 e# ~0 {
  1519. ; Production Value: 10004 m, E6 V' M. |; Q8 h; X
  1520. ; http://php.net/session.gc-divisor
    . ^  l9 [$ d( [  k& d8 Q
  1521. session.gc_divisor = 1000
    / p, p, c0 L, O& \5 ]8 M6 r$ V
  1522. 3 o* v( N& h$ {* n2 v
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    " ]  l. r8 G; `& _! T; |& m
  1524. ; cleaned up by the garbage collection process.
    ) x" |6 B* c9 s5 f1 j
  1525. ; http://php.net/session.gc-maxlifetime
    % c9 L+ P5 k9 @; S6 J& I
  1526. session.gc_maxlifetime = 14409 r6 S$ V, m1 }: P, e. m7 ~
  1527. 3 V+ A% g+ Q+ S; ^3 u0 g
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    6 E. E! y- z3 T7 m8 @
  1529. ;       (see session.save_path above), then garbage collection does *not*
    , J4 K- {# z9 R
  1530. ;       happen automatically.  You will need to do your own garbage% M0 g+ j8 @4 k. c$ c' x+ i: m
  1531. ;       collection through a shell script, cron entry, or some other method.
    % Q& [4 M( E$ l2 G7 O" q5 }( h
  1532. ;       For example, the following script would is the equivalent of
    8 G9 r' p/ i( d9 W2 j
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):- P4 z% m  k+ G5 s
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    0 R/ u/ J2 r; y" y- c; Y0 k
  1535. " g& t1 G% b6 u- d# L! i; r
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.+ c2 e2 Y4 V3 ~
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    # o, H% v9 v4 F4 e) c: F& S- W# A
  1538. ; considered as valid.
    9 e; R) i# q* e) \- e& f* A
  1539. ; http://php.net/session.referer-check& f* y0 a$ k+ v0 |( N& \* H% y3 z
  1540. session.referer_check =2 `2 w% K$ ]: U/ j  W9 F' }" a+ I- p
  1541. 0 R3 R5 }5 M2 u0 C" y" B/ z
  1542. ; How many bytes to read from the file.
      H- X& i  L3 F
  1543. ; http://php.net/session.entropy-length
    : H( d& A. v; ^. R* _  _
  1544. ;session.entropy_length = 322 {0 h# x, A, ~$ F4 t) f

  1545. - `8 [3 t, ?2 v
  1546. ; Specified here to create the session id.+ q+ R4 e" T; k# k' x1 w+ @: H
  1547. ; http://php.net/session.entropy-file
    % S/ ?( h0 o3 d$ `0 [
  1548. ; Defaults to /dev/urandom
    - u2 t* f0 C* z3 `$ s' j* f
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom- |# K, l5 q0 O* U
  1550. ; If neither are found at compile time, the default is no entropy file.! P3 ]  n" j/ m8 T0 V
  1551. ; On windows, setting the entropy_length setting will activate the8 o2 j. Z, g# F8 ~& f
  1552. ; Windows random source (using the CryptoAPI)
    9 U& N0 O0 t# ]
  1553. ;session.entropy_file = /dev/urandom! F) u! j, ]3 D# u5 c* j% ~/ y* x

  1554. / }( {& b( |5 {
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects+ S+ A6 K8 H9 |% U2 j0 X, @/ g* p
  1556. ; or leave this empty to avoid sending anti-caching headers.6 s2 v/ o" N' f
  1557. ; http://php.net/session.cache-limiter
    " F$ z+ w7 N& Z4 M7 N
  1558. session.cache_limiter = nocache
    1 R" w2 q9 {6 u+ L2 i" \
  1559. + l7 F' u# K  m9 p3 L2 ]+ k
  1560. ; Document expires after n minutes.% ?2 m" Q* _8 E
  1561. ; http://php.net/session.cache-expire6 Q% Q8 x5 P+ @+ ^9 ?  p& l. i2 i
  1562. session.cache_expire = 1802 I% p8 Z7 w: w! @$ ?: T

  1563. 0 q( q" o7 R) w& q. `+ Z
  1564. ; trans sid support is disabled by default.
    . i* l2 ^2 T& o8 y/ j
  1565. ; Use of trans sid may risk your users' security.7 y0 E, W6 V  [: h
  1566. ; Use this option with caution.. g- o3 h+ ~4 S4 S- _
  1567. ; - User may send URL contains active session ID
    1 L0 t. v2 L, F+ T% o6 J. t
  1568. ;   to other person via. email/irc/etc.
    ( M0 ^0 l( @& D  j8 y
  1569. ; - URL that contains active session ID may be stored
    & y; h2 e) y, K. h! \  N
  1570. ;   in publicly accessible computer.
    8 `2 E/ N1 I0 u/ F
  1571. ; - User may access your site with the same session ID; m2 o4 `' F! L4 \( a
  1572. ;   always using URL stored in browser's history or bookmarks.' P+ S2 l! W3 I6 C/ W; x& g
  1573. ; http://php.net/session.use-trans-sid
    * W8 K5 J& F* A5 U9 }- \$ j& }
  1574. session.use_trans_sid = 0' Z- L/ N' V7 [2 y; e' i' l  A# H5 Q

  1575. 7 D- S- u$ z+ L2 M) T- n8 b
  1576. ; Select a hash function for use in generating session ids.) X$ n( \  D# S4 W
  1577. ; Possible Values
    9 [# m1 g" `2 U+ {! {+ _
  1578. ;   0  (MD5 128 bits)
    1 ^; o& a  l# Q. Z& T  N& C
  1579. ;   1  (SHA-1 160 bits)
    - ?+ S  J/ h' \) k1 F$ S
  1580. ; This option may also be set to the name of any hash function supported by  B0 P/ @6 j* l+ W
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    & a. m3 W) Q' ]* G& a
  1582. ; function.
    ! X) N6 n1 V" i. c, r; v
  1583. ; http://php.net/session.hash-function
    6 w9 m' x. V6 n) j% T$ A$ u* d
  1584. session.hash_function = 0
    & @, D' I+ c. f) |0 k

  1585. 9 f8 K! m. k1 e: D3 [/ _" I9 n
  1586. ; Define how many bits are stored in each character when converting: P3 ^2 O2 Y1 G2 a
  1587. ; the binary hash data to something readable.
    7 g# \3 R2 ~+ {
  1588. ; Possible values:# p/ \& K' l! h- j2 B
  1589. ;   4  (4 bits: 0-9, a-f)7 M9 R9 C6 f& C' T  U" Z( x
  1590. ;   5  (5 bits: 0-9, a-v)
    8 V1 }5 E+ u& s2 G- s+ ?: v+ m
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    4 U8 B' X  X% \
  1592. ; Default Value: 4
    " |; v2 _1 r4 W# a0 L) m3 s
  1593. ; Development Value: 5. x( @0 x9 J8 Z' D3 X9 h6 x5 W, `3 L" P
  1594. ; Production Value: 5
    / b/ N% `, n, m
  1595. ; http://php.net/session.hash-bits-per-character9 P  z! n; [: U( U- H9 e
  1596. session.hash_bits_per_character = 5
    / S: @* m2 w. n0 V1 ~
  1597. 3 X2 D& _7 o* j$ B0 U
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    " r+ Z; `) d; K- o# g( i
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    + v3 v  }& Y; |4 R3 F
  1600. ; add a hidden <input> field with the info which is otherwise appended8 H+ o5 t8 @& v
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.; o2 F' \9 c+ l( |0 i; H9 y$ y
  1602. ; Note that all valid entries require a "=", even if no value follows.9 y+ {9 U" V2 T, w$ Q- {$ F8 F" k6 q
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    4 e. j1 |" ]4 h" n
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # g# z1 C( [4 h- s9 U
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ c/ s. X% u7 a) o: q
  1606. ; http://php.net/url-rewriter.tags! A4 b) \  k/ m* |) f0 Q
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"  w( E  ~! O/ ]  g9 T. |
  1608. ' ^) X3 C+ U! t
  1609. ; Enable upload progress tracking in $_SESSION2 O) T4 r# w+ z5 n7 Z% H3 O
  1610. ; Default Value: On
    0 k5 @+ @, v2 M2 m/ v; Y$ k" Y
  1611. ; Development Value: On9 L& E$ f" H0 I1 K$ h7 s1 `* }
  1612. ; Production Value: On2 H$ }& G6 A/ c4 f/ i
  1613. ; http://php.net/session.upload-progress.enabled' W! V. q2 x/ W7 v9 p9 {
  1614. ;session.upload_progress.enabled = On
    6 l  s! Z' A$ H$ K9 h# z
  1615. * y9 E3 L* }6 a- O3 k; c  ]1 t
  1616. ; Cleanup the progress information as soon as all POST data has been read
    ' B$ l$ L) F/ M( p2 o
  1617. ; (i.e. upload completed).
    9 I  u; Y- a' A2 i6 c- j
  1618. ; Default Value: On: A6 o* B. |$ N5 o, n3 p; ]
  1619. ; Development Value: On* ~8 ~: h0 [' c% p
  1620. ; Production Value: On
    % S6 T  y4 ?: Y* m  P9 W
  1621. ; http://php.net/session.upload-progress.cleanup
      q9 Y, H8 [0 X+ W9 m) p
  1622. ;session.upload_progress.cleanup = On
    9 T6 R' N) G& F4 T( @8 n3 w" A+ @6 }

  1623.   v& d9 |! @/ Z1 o$ H& g" T
  1624. ; A prefix used for the upload progress key in $_SESSION8 x8 O. ]% a( s2 }& p
  1625. ; Default Value: "upload_progress_"
    1 Q; t# t3 x7 a' O3 i
  1626. ; Development Value: "upload_progress_"3 g' Z3 X3 ]( x5 W
  1627. ; Production Value: "upload_progress_"/ L" A- M" n" k% o; G, ^
  1628. ; http://php.net/session.upload-progress.prefix
    # _: F' b5 J6 A; Q# o
  1629. ;session.upload_progress.prefix = "upload_progress_"
    2 l# d0 c7 `9 V0 T5 f3 Y7 b
  1630. ! i6 L7 i8 G& c) X* ]4 g* O7 _
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    6 F% _2 u5 R. }& U- }# i) R
  1632. ; containing the upload progress information
    " {8 f0 E, W3 P0 E/ @8 ^  R. k
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"& Q! g. t" @% i- c: r
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS". z" D/ A4 q2 }6 |% F4 X
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    " ^3 U  |5 U. b+ k
  1636. ; http://php.net/session.upload-progress.name
    . X- G' ]. L% e! A, ^6 ^
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"7 d2 O: R) b% L2 F: V! F' R1 y6 d1 o

  1638. 8 }. u+ m5 ^# H) k( `6 Q- x
  1639. ; How frequently the upload progress should be updated.! _- a- m: ~8 f) M( _. j" b4 Z
  1640. ; Given either in percentages (per-file), or in bytes
    * M" s& b( {, S) H7 X3 W
  1641. ; Default Value: "1%"
    9 [6 f3 H, ?, U' T" Y# U3 p& h1 ]: l
  1642. ; Development Value: "1%"# R5 ^* L5 c' Q/ T( ~( j
  1643. ; Production Value: "1%"
    + |3 j/ p, a, _7 N8 n+ f
  1644. ; http://php.net/session.upload-progress.freq
    0 l" L4 a: g6 I6 ]0 m( r5 c4 c
  1645. ;session.upload_progress.freq =  "1%"
    ; s6 z. J" r' @5 m
  1646. ! k# M0 @. D! g
  1647. ; The minimum delay between updates, in seconds
    8 z# p' w9 Y! y8 z/ _/ s) d) b# g5 I
  1648. ; Default Value: 1- H! }, R- ^, f/ d7 p, v
  1649. ; Development Value: 1+ y9 T8 f1 W" f2 p- O
  1650. ; Production Value: 1
    $ r4 z5 m( u8 J2 f$ `8 }9 D, c
  1651. ; http://php.net/session.upload-progress.min-freq' \# S: t  L3 m/ M$ u  S
  1652. ;session.upload_progress.min_freq = "1"3 D7 F3 p1 @& z7 t% {
  1653. * `' U% w0 _6 i! c5 G0 |. I6 G0 K: n" [& S
  1654. [MSSQL]1 @' c9 `' j& F6 n& M+ Q
  1655. ; Allow or prevent persistent links.( t( I/ E( @2 L, `( ~$ q" W
  1656. mssql.allow_persistent = On
    0 B# ?, L6 _* _& [* P* d0 W

  1657. & }' b; \+ F3 d! @( N# {
  1658. ; Maximum number of persistent links.  -1 means no limit." B# C" D' n5 r7 M$ Y, Z: a
  1659. mssql.max_persistent = -1
    1 H; c! _/ }# F. L  `' D6 J

  1660. # \. D5 T% S8 V4 K" A
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    - _; a) J% C% A$ ?# q5 M3 k
  1662. mssql.max_links = -1
    ' X$ z6 a3 B1 _# _+ \* F0 g8 @
  1663. 3 L/ N9 t- Z/ n) S1 ~* L
  1664. ; Minimum error severity to display.
    % u! v( r5 S7 A( O0 _% _
  1665. mssql.min_error_severity = 10* Q- m1 O/ v, Q9 B

  1666. * C- b6 ?: F3 J6 ]0 x# a3 X
  1667. ; Minimum message severity to display.
    " Y+ k- Q+ y, W, F" `0 E
  1668. mssql.min_message_severity = 10
    . ~% @! f$ d- j, f* a

  1669. ) y1 X1 e# Z$ o; W( r
  1670. ; Compatibility mode with old versions of PHP 3.0.# k+ x4 o9 b+ Q$ {' l$ ?
  1671. mssql.compatibility_mode = Off+ y( K* c% C; L. \

  1672. # C% O; R6 A- K+ V# f) I( q3 |# O% @
  1673. ; Connect timeout
    8 V' S1 }) w  K% S4 |6 s
  1674. ;mssql.connect_timeout = 5% y. @0 ]1 t# g, n6 b

  1675. - _( Q- \6 _' t8 d$ d1 h( H+ U
  1676. ; Query timeout1 d" L. ~" P. G) M, v' N1 D
  1677. ;mssql.timeout = 60
    9 i6 [0 W, w" _/ X

  1678. & ~2 d5 S, x& j* [
  1679. ; Valid range 0 - 2147483647.  Default = 4096./ v' D5 C7 y2 d  R
  1680. ;mssql.textlimit = 4096) }( X; E  f8 O$ g$ U% `  `! T

  1681. 6 O+ ?9 K4 [+ b. J' m- O2 x
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    & x9 d& m; X, @# D( U" H1 k, ~
  1683. ;mssql.textsize = 4096
    7 o. U7 x3 D! m* i

  1684. 8 Y: |4 h( S* W- V  ?
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    ' ~/ X. P& K" m' n# j
  1686. ;mssql.batchsize = 0& s! r; T0 r$ F

  1687. & B7 [0 a& x, C9 b4 W( M4 M
  1688. ; Specify how datetime and datetim4 columns are returned
    2 e% E* G1 L) s0 E
  1689. ; On => Returns data converted to SQL server settings
    : y' }, W0 P  d" U8 m- f- O. \6 ^* U3 @
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss8 P& X; v+ S" D& I
  1691. ;mssql.datetimeconvert = On1 p2 E: H4 I2 Y

  1692. 3 m+ e# X' `0 Z
  1693. ; Use NT authentication when connecting to the server2 [+ M$ S" Y5 E. i$ a- r
  1694. mssql.secure_connection = Off- r0 |2 \% {( C) [, F
  1695. & ~' V; O7 {/ A( U: E2 c
  1696. ; Specify max number of processes. -1 = library default/ c3 I  F: k8 H5 n
  1697. ; msdlib defaults to 25, M! g# c/ |6 ~8 r
  1698. ; FreeTDS defaults to 4096( N! l; k  l7 }5 p& V
  1699. ;mssql.max_procs = -10 o: F* g, v  y* d- L  a" y0 M& N
  1700. , O* E* g; T7 O+ v, ~
  1701. ; Specify client character set.
    ) ^" @$ x0 ~1 C$ I! u
  1702. ; If empty or not set the client charset from freetds.conf is used
    0 w' K" y7 e% X' I
  1703. ; This is only used when compiled with FreeTDS
    / T8 Y8 q  C! ?4 b$ f! T5 U7 ^
  1704. ;mssql.charset = "ISO-8859-1"
    $ ]. C9 z: ^* k8 ^- ?  f4 ]

  1705. 2 R) f6 q- z# [  o, C  H; N8 Y
  1706. [Assertion]3 d0 g2 J) E& O$ T- a
  1707. ; Assert(expr); active by default.
    : ^' P3 E$ Z; W$ o3 d8 |2 [8 f1 W
  1708. ; http://php.net/assert.active
    + n/ k+ M; l1 n- e1 \, x# x
  1709. ;assert.active = On/ S% \. k4 _- O; B; P1 |
  1710. 4 A3 a8 |) O5 U' r+ c& o- o
  1711. ; Issue a PHP warning for each failed assertion.
    3 N" `! Q( t2 ]* ?3 g: q! n
  1712. ; http://php.net/assert.warning
    8 C4 u' j2 N$ \, Y7 a" Z- N
  1713. ;assert.warning = On7 `1 r0 z! [7 \& i* M& U

  1714.   I% a: E7 I& P* y3 b0 ]
  1715. ; Don't bail out by default.
    0 D# C  l% n9 j* v6 Z
  1716. ; http://php.net/assert.bail
      A+ ?. Z5 D3 ~( |1 s& ?5 t0 H; Z
  1717. ;assert.bail = Off: P* }% s$ M' H, u9 J

  1718. * K$ q( n) g" I! h' y! G% A
  1719. ; User-function to be called if an assertion fails.
    $ ]/ D0 \, F/ w! d$ ], t5 r
  1720. ; http://php.net/assert.callback
    8 T1 k; C) W, r) |5 H6 R1 z
  1721. ;assert.callback = 0
    ! f$ k6 N' K; U) V% r8 R; |
  1722. $ E% S" Y7 ?" o5 r  @
  1723. ; Eval the expression with current error_reporting().  Set to true if you want6 r( P8 ?6 U! r: O+ k# S& j) _
  1724. ; error_reporting(0) around the eval().
    7 b  r0 P" k+ i* M
  1725. ; http://php.net/assert.quiet-eval. O) c, L" C3 C. T" u
  1726. ;assert.quiet_eval = 0) y6 S# n: g% M

  1727. ) Y8 E+ y6 E) d6 C) l1 D: p, W
  1728. [COM]
    - j- J4 ~9 n/ ]8 W  d# t
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    # h, z. H: i3 Q( k4 B) f1 F: R
  1730. ; http://php.net/com.typelib-file
    * f. a( I/ h5 T, c
  1731. ;com.typelib_file =
    $ b8 M9 g% L6 V5 y# T1 A
  1732. & X& @4 Y0 Y" `* N/ Y6 h: u+ ?
  1733. ; allow Distributed-COM calls: a7 Q5 Z# }% r9 J
  1734. ; http://php.net/com.allow-dcom
    6 C3 i! e) D  t8 {$ f; m+ m6 C
  1735. ;com.allow_dcom = true
    0 S" v  {6 A# a5 ?% b" M

  1736. ; l# E2 S# h% b
  1737. ; autoregister constants of a components typlib on com_load()$ ]0 {7 [0 n3 q% V# H( \5 e4 @
  1738. ; http://php.net/com.autoregister-typelib: H% M" @! Q8 r
  1739. ;com.autoregister_typelib = true
    & B) Z- a: h, ]5 L  O8 v4 i) `% c
  1740. 2 Y/ Z  v9 c; Z  z& y+ h
  1741. ; register constants casesensitive. s7 B9 z3 ?8 L, Q; c* P
  1742. ; http://php.net/com.autoregister-casesensitive
    ( q9 x/ c. s; f  \  _
  1743. ;com.autoregister_casesensitive = false
    / b: N" S1 X7 ^3 U

  1744. 9 b) X3 X! x$ n; u  M% I
  1745. ; show warnings on duplicate constant registrations2 [# X8 D" @0 K
  1746. ; http://php.net/com.autoregister-verbose
    % W: d3 Y) d. U' c. ?1 e, c
  1747. ;com.autoregister_verbose = true
    ; ]5 j% ]1 R0 l
  1748. 3 h- l% _0 f  }6 l, t
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    7 n5 S" P* [& z. M
  1750. ; Default: system ANSI code page1 [+ ~7 x& T5 a& [
  1751. ;com.code_page=
    ( x$ H, d+ B' x0 k: P

  1752. $ P* o4 i' q, W# ]
  1753. [mbstring]# s. i$ O+ ^& k" i+ E
  1754. ; language for internal character representation.3 Y6 T% L5 h/ u$ T; t
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.) ^  G; {" J8 \8 M/ M
  1756. ; http://php.net/mbstring.language
    ' d! a" y! m. D/ C9 b  _' S
  1757. ;mbstring.language = Japanese- D$ g  Z- p8 S) d8 w
  1758. ( A3 Y: X& q9 w% u, K9 o
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.* }$ p  O7 m/ ~0 h: Y9 p9 E
  1760. ; internal/script encoding.
    8 {9 ~+ d/ j  ?; g8 W! m; P5 x; P
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    . P6 l2 o! I7 P* @- X7 j
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    8 x, f3 l* `% r( |; p
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    4 k2 q/ O  F2 j$ h9 J1 Z( o
  1764. ;mbstring.internal_encoding =6 x' y: G, t7 H9 k- ~' ?" g, L
  1765. 0 X5 g" r3 ]$ V
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.7 `# B: M- ?' x1 D- B. y
  1767. ; http input encoding.
    / R1 b5 m) `. P& v8 W
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    % v. B! O. @: n: `+ y
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used./ E' `) T1 w# |% h' S6 B7 A
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ! l; S# j2 G; C+ S6 W6 \
  1771. ; http://php.net/mbstring.http-input
    ! y; ?# h( B7 \. F: v8 `5 ?" }1 P
  1772. ;mbstring.http_input =+ K* ?. p1 \' n2 l( t3 L0 O! r

  1773. 5 ^+ k% _* |" k) T: `3 Z4 \! J4 |: H
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.6 p/ k4 D0 c. c7 c9 |7 N
  1775. ; http output encoding.
    ! [# L5 n$ a2 |; z* U1 }3 L
  1776. ; mb_output_handler must be registered as output buffer to function.
    0 i" n9 S' w. R  K! d) x0 C9 Q, F
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    # Y& J5 M* |* e/ w4 s( z* Q7 c
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output% E1 m. F7 M. f' o7 H
  1779. ; To use an output encoding conversion, mbstring's output handler must be set  M6 D8 p3 O+ G3 w
  1780. ; otherwise output encoding conversion cannot be performed.
    # L3 u. R' ~5 ?5 e& }
  1781. ; http://php.net/mbstring.http-output& A8 d- y5 F5 k6 m" e- J
  1782. ;mbstring.http_output =
    2 \5 U, ]7 q/ R: g$ a4 r$ \

  1783. 4 h. \! g9 f! `+ _+ H: Y6 M& \
  1784. ; enable automatic encoding translation according to
    7 Z1 U/ G* y% X( `) c# s+ X5 D
  1785. ; mbstring.internal_encoding setting. Input chars are" ~" S# y: c& P# G3 e* `, G7 L
  1786. ; converted to internal encoding by setting this to On.  u4 M/ S/ K1 o) N" ]" n( I. T
  1787. ; Note: Do _not_ use automatic encoding translation for+ N! ^$ t' n; E
  1788. ;       portable libs/applications.5 w" ]3 b+ g2 Q+ b! {2 a
  1789. ; http://php.net/mbstring.encoding-translation
    1 T% p7 P1 C1 R  w
  1790. ;mbstring.encoding_translation = Off- z! }( H% C! f% w# K' E$ W
  1791. % [; g7 y3 Q8 h) K
  1792. ; automatic encoding detection order.
    7 J0 D) I" J, _( \, S
  1793. ; "auto" detect order is changed according to mbstring.language( K7 Q/ z9 q9 d: G* @1 r
  1794. ; http://php.net/mbstring.detect-order) Z- L: J3 m# e; r  N( h' Q$ j: E
  1795. ;mbstring.detect_order = auto
    5 q* [# S4 ~1 ]5 m+ }8 _- r

  1796. * u& `+ T1 N% ?$ q' S; L
  1797. ; substitute_character used when character cannot be converted
    % ^5 Q3 Z8 F- G; Q& N9 V( ^0 \
  1798. ; one from another
    . s7 ^, O" b5 J0 S
  1799. ; http://php.net/mbstring.substitute-character
    6 s1 |0 p+ U' f: x
  1800. ;mbstring.substitute_character = none! s0 k" P" t. S5 Z' e* M

  1801. - d1 t7 {* K/ x1 E% b) z  _
  1802. ; overload(replace) single byte functions by mbstring functions.
    8 E* i1 R, N' P! \% w' j' R
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),1 l, y1 q& Y  Y9 i# ?7 S
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.$ J: r1 ^8 U! v. J
  1805. ; For example, 7 for overload everything.6 g# D( u4 w% r1 ?+ z* B
  1806. ; 0: No overload
    3 g. B" s$ o& k* @) o8 r
  1807. ; 1: Overload mail() function
    ' Z) A3 L& v8 v; |* d$ \# X2 k
  1808. ; 2: Overload str*() functions* p0 O( l4 Z: ]# T+ I3 A
  1809. ; 4: Overload ereg*() functions/ {; E5 _' @" {1 S- X7 Z9 A
  1810. ; http://php.net/mbstring.func-overload
    - t* A' r) d3 d. S' Z( j
  1811. ;mbstring.func_overload = 0
    ( C) o. [! V! t% r1 o
  1812. 2 d9 Y! X; d9 o$ X
  1813. ; enable strict encoding detection.* `2 ]. @8 l" I3 u  U, B7 A# e
  1814. ; Default: Off% F. d8 B# N3 {' Z+ b: f
  1815. ;mbstring.strict_detection = On
    / P( I! ?# n8 S& b) _+ D+ X( I

  1816. ! R8 k" y( l2 C2 h  L
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()7 X: E7 c- C- v, T' t
  1818. ; is activated.3 G( }3 u- C) Y
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)4 `) u0 H6 `* b+ b4 K+ V+ P
  1820. ;mbstring.http_output_conv_mimetype=
    2 K) {" h% ^! R

  1821. 0 @& _  J3 K) @. t9 s
  1822. [gd]2 N7 ^1 r+ {8 X2 R. ]7 T! i
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    $ y0 [+ p8 r' B
  1824. ; a gd image. The warning will then be displayed as notices+ y: l7 a* a  ]$ J1 P9 c' Y
  1825. ; disabled by default) m" h$ A) b4 _) h/ p0 K, b) K
  1826. ; http://php.net/gd.jpeg-ignore-warning% ^% {/ V( ~: \8 V
  1827. ;gd.jpeg_ignore_warning = 0( O; S7 M( S8 z. Z7 E0 E/ Y
  1828. " B4 j) F; {) p& q
  1829. [exif]; B8 }# U6 ]; J$ ~
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    # t  ?: D8 i. n$ {0 ?1 g3 r4 j/ b
  1831. ; With mbstring support this will automatically be converted into the encoding
    % H4 c; w5 m/ j7 Y3 q/ n& {% [! }
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    $ B+ ?; K& b0 h0 i; y0 B7 D) D( Z7 S
  1833. ; is used. For the decode settings you can distinguish between motorola and
    . w( D' P8 G8 x# h# R2 W
  1834. ; intel byte order. A decode setting cannot be empty.
    & D2 r; {$ z; B) ^9 `8 b1 E
  1835. ; http://php.net/exif.encode-unicode
    4 J6 t) z0 M9 E. q, M9 V: A
  1836. ;exif.encode_unicode = ISO-8859-15
    2 @& f7 g# ]2 C, L# C& J* x
  1837. & }& |2 T- G' }, W
  1838. ; http://php.net/exif.decode-unicode-motorola
    1 o$ Q9 e# E6 _& z3 M' v, F! f
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    $ p+ [# W7 X* G4 k$ p7 W. J5 G) `( a

  1840. 7 G, _5 g3 F+ h* H- `! B2 I
  1841. ; http://php.net/exif.decode-unicode-intel
    & ]9 D8 o( `1 W% Z/ p
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    * }$ k1 Q7 `) F: j: M
  1843. $ B! R9 e" J  h& W
  1844. ; http://php.net/exif.encode-jis
    6 y: G$ \$ ~# h  x  ]' V5 P$ Q
  1845. ;exif.encode_jis =
    $ _5 ?) j- Y+ i1 Q4 @
  1846. 7 N9 r9 T4 \* D1 P! w& k  O, h
  1847. ; http://php.net/exif.decode-jis-motorola' I/ Z$ v% N% R% k2 U# L
  1848. ;exif.decode_jis_motorola = JIS
    9 C: O8 u, Y* P* i+ F, V5 h" L

  1849. 3 D+ g4 ]9 n( Z' J4 j
  1850. ; http://php.net/exif.decode-jis-intel  F5 G7 \/ f0 d- a/ e) {7 x4 u
  1851. ;exif.decode_jis_intel    = JIS7 j$ ?* t& `7 i$ @
  1852. 9 n- X) `" T  {3 p/ X% w& q
  1853. [Tidy]- U# i9 N% g$ w/ Q
  1854. ; The path to a default tidy configuration file to use when using tidy7 L  ^, w0 o) w4 v
  1855. ; http://php.net/tidy.default-config; [; p' M4 ?2 F) S2 Z' n. i* F
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg- t4 |% f2 \4 \1 K

  1857. ' y0 Z* N1 `5 s+ {0 c
  1858. ; Should tidy clean and repair output automatically?
    5 m% [* F% D! G4 B- a! L4 h
  1859. ; WARNING: Do not use this option if you are generating non-html content
    1 ?* K$ v) [: @( P: G1 Z1 E+ Z
  1860. ; such as dynamic images
    0 J+ s4 ^4 B7 c9 E/ B" c8 e
  1861. ; http://php.net/tidy.clean-output+ O) ~4 [! |# \3 O$ T2 a! `9 ?
  1862. tidy.clean_output = Off
    4 l2 \: }  P0 T/ v
  1863. # o2 ~  k( N! D! x* u* m
  1864. [soap]
    2 s; e. S5 {' \6 {
  1865. ; Enables or disables WSDL caching feature.& |9 v& \" G4 K5 A
  1866. ; http://php.net/soap.wsdl-cache-enabled
    + n: h7 s% i6 X0 a+ w. i; Q; o! X8 {
  1867. soap.wsdl_cache_enabled=18 ]7 x) n3 u; H9 o, m6 l) ?( R
  1868. . |' w6 q- G0 r7 E3 e9 U" n. F) t
  1869. ; Sets the directory name where SOAP extension will put cache files.
    6 x% N' z  U# V1 I
  1870. ; http://php.net/soap.wsdl-cache-dir1 ~- ]2 a% q& g; s2 f% {
  1871. soap.wsdl_cache_dir="/tmp"
    0 G) z, [; i8 z6 M* D
  1872. : s0 w; L& _. h3 i
  1873. ; (time to live) Sets the number of second while cached file will be used9 y% r) d' i+ e6 v
  1874. ; instead of original one.
    , l" ~8 c+ ?( ^# @, V
  1875. ; http://php.net/soap.wsdl-cache-ttl" E6 U! ~* h4 \4 B0 [$ x, U  Z
  1876. soap.wsdl_cache_ttl=86400
    ' u! x; J  S" \

  1877. 8 }6 a$ d% e3 I, [; V" S
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    . x5 O: `$ J$ a5 U/ Z. V2 y
  1879. soap.wsdl_cache_limit = 5, @+ }+ |1 _! B5 ?& C/ f$ e; q
  1880. ; Z& n. X" j# O& a7 D0 a8 E3 X' p) T
  1881. [sysvshm]
    7 H3 C5 u; V0 D' S" ]( h  ~9 h
  1882. ; A default size of the shared memory segment
    1 g% s2 |7 h! ]  l
  1883. ;sysvshm.init_mem = 10000+ w2 j. ?, O6 D# P0 h0 R( z
  1884. & b8 @; k# I* U; o
  1885. [ldap]5 T# W6 Y) E3 z9 k/ E* w
  1886. ; Sets the maximum number of open links or -1 for unlimited.% V6 g# ]: r5 a/ X. O. O6 w
  1887. ldap.max_links = -16 Q( A7 t, {1 F
  1888. + |2 j' |) ]9 v8 P  k
  1889. [mcrypt]
    " ]0 S7 v$ ~  g) o$ q% p
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    2 |8 z, m6 D0 s: c" \

  1891. 5 \6 @) r6 x! Q1 n# q
  1892. ; Directory where to load mcrypt algorithms
    0 z* [' w" z4 E# t: u  i
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    * ^  w( Q# Q$ p: [% j8 }4 [
  1894. ;mcrypt.algorithms_dir=' ^! X' y$ `2 C$ ?% y; i

  1895. 7 r% z. U; m! [/ \& k
  1896. ; Directory where to load mcrypt modes
    $ e7 [  b/ p, o' E0 f3 P: J, J9 l4 L% G
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    6 j, M- W7 I% J4 b4 _6 N: u
  1898. ;mcrypt.modes_dir=( q! Z- X  c0 O4 o3 L- P9 u
  1899. , E! D% B. Z1 a) }! z4 @
  1900. [dba]* a8 a. K/ N- D+ g
  1901. ;dba.default_handler=
    ) {/ X; `! K9 k' a6 M
  1902. - I, C# I* }- B
  1903. [opcache]. z8 a; v3 q8 w3 b; `# k. Y
  1904. ; Determines if Zend OPCache is enabled7 a! D. |: X  z7 }; @
  1905. ;opcache.enable=05 }, a! @! [7 a
  1906. ) z3 c) B& Z6 }6 e! K
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    5 _8 q8 H  I7 D  l& U
  1908. ;opcache.enable_cli=0" c% h- R/ T! s  R: j  Y
  1909. : o/ W8 {1 s) f1 t* V
  1910. ; The OPcache shared memory storage size.: O( @$ T7 J3 o; |+ Z; F! {7 b4 V
  1911. ;opcache.memory_consumption=64
    5 y/ Q8 D4 O5 Y  a9 `* _

  1912. 6 {- K9 y2 Y% n, p: {2 t5 H+ B1 D
  1913. ; The amount of memory for interned strings in Mbytes.$ n/ c* J; ~7 l2 d4 X$ Y
  1914. ;opcache.interned_strings_buffer=4
    ! p4 A7 ?) U1 C7 B8 C
  1915. * f9 a% h2 ]+ c0 o8 s. f
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.! h4 I, d( a  L" f- H
  1917. ; Only numbers between 200 and 100000 are allowed.$ D/ S3 i4 M) F
  1918. ;opcache.max_accelerated_files=2000# \0 [1 j( W9 Q1 M/ [9 |5 l

  1919. : J  T/ l2 |0 M: v: `) N7 D6 Y0 ?& |
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.) z! G. j6 `% k) g+ s/ N; m
  1921. ;opcache.max_wasted_percentage=5
    $ V5 Z% e- w) y1 [; j
  1922. ! w& ]7 ^+ v$ @- T  x
  1923. ; When this directive is enabled, the OPcache appends the current working
    5 _1 w# n8 F7 `( N  N9 i0 q7 J
  1924. ; directory to the script key, thus eliminating possible collisions between
    ; z/ Y/ T) h! m" s4 {5 A4 j9 Q
  1925. ; files with the same name (basename). Disabling the directive improves8 {* W: a- I8 {- K
  1926. ; performance, but may break existing applications.
    6 d1 D$ B/ V  m% R) R
  1927. ;opcache.use_cwd=1/ f1 O# J' ~. k

  1928. 5 o. Z) N6 R' e9 P8 Q" i  O" s
  1929. ; When disabled, you must reset the OPcache manually or restart the
    + A$ c; |5 A8 F! g! ]7 {: W) n9 H
  1930. ; webserver for changes to the filesystem to take effect.
    " Z2 A6 c( ]! m9 |0 w
  1931. ;opcache.validate_timestamps=1
    4 G% y; f! U- Q2 N! l
  1932. 1 K; H! Z; F$ q! U% v
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    3 m  }4 h# a: |# W5 A- t
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    ( i$ t9 z0 x, z$ `$ E& U$ v
  1935. ; once per request. "0" means always validate)" a- w/ M. s) P7 u( O$ t0 p9 H& P
  1936. ;opcache.revalidate_freq=2
    & l% h5 J* [9 `. k  `8 s

  1937. ! ]& P' d2 n- k1 B% ^& I
  1938. ; Enables or disables file search in include_path optimization
    7 g% I9 x7 ?: L9 }% {
  1939. ;opcache.revalidate_path=0
    % l' O' X9 K/ J+ N3 W9 a# e# w5 g
  1940. 6 B+ h. O/ X/ u; E) m6 P5 m
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the: L8 A) P" j* z6 c
  1942. ; size of the optimized code.
    * q: Q: l- h) g1 d& c( j& d$ v
  1943. ;opcache.save_comments=1- i% k* {& A; ]1 W4 A' X

  1944. 8 B, e* I* U! G! l) U
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    ; e* T5 N; ?# F* E. E9 g, Z+ j5 e
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    % B8 j9 E. Z0 S+ ^  Q
  1947. ; that don't need them anyway.
    6 m+ d- e$ P/ l* ]/ D! ^1 D+ w- f
  1948. ;opcache.load_comments=1. w" }/ B3 C8 ~- _5 h
  1949. , ]! Y3 e! M$ [1 M; o# Q5 \& ?
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code1 L; K, ]7 }0 T1 C4 H" T4 W
  1951. ;opcache.fast_shutdown=0) e5 R' @3 e8 S- r

  1952. 5 M- `' c8 }# t0 k7 O( h/ [) t) n1 c
  1953. ; Allow file existence override (file_exists, etc.) performance feature.- E9 y. x: G" r0 F8 P- l: C% g
  1954. ;opcache.enable_file_override=0
    % f- H5 T* J8 ~% x+ U" R# L
  1955. + Y$ l7 _3 M* l8 `. T/ v
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache; X4 a6 I9 ?8 m/ l
  1957. ; passes
    : r  d$ ]1 M8 x7 o2 u! L3 I
  1958. ;opcache.optimization_level=0xffffffff
    2 Y4 D. R7 h( m' ^0 j! c" S

  1959. + ?% I& u& `% @8 L2 I; T
  1960. ;opcache.inherited_hack=1
    # N: x8 @6 G& f8 M& c
  1961. ;opcache.dups_fix=0) u$ }6 `. L+ Z. v" F! Q
  1962. " p  ^! K0 v+ h4 L2 ]
  1963. ; The location of the OPcache blacklist file (wildcards allowed)., ^1 v5 J& v( g5 [9 ~' I
  1964. ; Each OPcache blacklist file is a text file that holds the names of files6 W3 K$ W+ ?- A; a/ Q' w
  1965. ; that should not be accelerated. The file format is to add each filename
    $ m* [2 A& e9 h8 L! y4 X
  1966. ; to a new line. The filename may be a full path or just a file prefix
    5 n5 a0 `* I2 T+ [( M2 r" w
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ! Y! e9 |% L, Z7 F! ?
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments)., ^' f- l; a8 L8 M1 w5 l2 |
  1969. ;opcache.blacklist_filename=' m! C& S# W, Q0 @) _5 }

  1970. % o, y" ?" s  U) L9 b9 ]
  1971. ; Allows exclusion of large files from being cached. By default all files2 _: I* F: D( l4 }. d+ ]# x2 u8 v
  1972. ; are cached.
    - C3 F! Z1 \- y) u; o' G
  1973. ;opcache.max_file_size=0
    * r6 P3 o5 b# C6 _1 t8 ^& d6 X' n
  1974. ) E  w. ]9 g2 g
  1975. ; Check the cache checksum each N requests.0 R' ?, v; h: Y* D" N
  1976. ; The default value of "0" means that the checks are disabled.' f* e/ H) }7 k" y* E3 U
  1977. ;opcache.consistency_checks=0
    2 ?; x7 Z% N* z/ f+ Y

  1978. # U+ b6 v/ A5 f5 ~
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache: P) }" p  v. I. q
  1980. ; is not being accessed.2 N5 M6 o0 n' t5 M2 N8 v6 [1 ~
  1981. ;opcache.force_restart_timeout=180, i; s5 M/ e- X+ y1 l
  1982.   t1 \9 R5 `2 [) S9 s
  1983. ; OPcache error_log file name. Empty string assumes "stderr".( ?3 _. G7 v: H6 S1 o
  1984. ;opcache.error_log=! {0 e) z8 c! ^. i1 g" U1 t& N2 }
  1985. 2 m7 m3 S3 D! @
  1986. ; All OPcache errors go to the Web server log.0 _0 e+ S) p0 B" Y
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged./ q; A$ R8 e/ a( c  M* u3 _) V
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    ; x1 g# t! |- Q
  1989. ; debug messages (level 4).
    % `' W' k3 z& v+ ]: s' ^6 j  N
  1990. ;opcache.log_verbosity_level=1
    . W7 A* q% U" p) k+ Z8 `
  1991. ! B6 I% q' S& G' @/ i
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    8 H; o. S4 A$ E6 f2 v) ?
  1993. ;opcache.preferred_memory_model=
    7 F5 }( L: b4 K) ?# P+ i2 k! j3 }
  1994. 0 I% e' T' g6 U+ }1 R% |( g% T
  1995. ; Protect the shared memory from unexpected writing during script execution.
    2 \# e* \8 O* V% n9 J  f& g/ E
  1996. ; Useful for internal debugging only.
    + R: a2 t4 R$ L% w, j. ?" ]8 x
  1997. ;opcache.protect_memory=0  H1 v  q9 M3 n- e7 P! N) Y/ @
  1998. 1 p) t  ~2 r, y) b1 T0 m; O8 c/ M
  1999. ; Validate cached file permissions.
    + h' L4 B. o* c$ A. H! N0 a  \
  2000. ; opcache.validate_permission=0
    ' l! b  N, I1 D# T2 q
  2001. : Z* I5 z5 P% _: r; ^
  2002. ; Prevent name collisions in chroot'ed environment.
      ?) R( \5 n* @; U$ z
  2003. ; opcache.validate_root=0
    & V! S7 E$ E, \5 O& \: }0 I( R. T, [
  2004. : F7 T* y" K0 {( z: z7 V
  2005. [curl]2 Y0 b/ G3 x# `1 F3 Y0 V
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an* N8 X: ]- c% s
  2007. ; absolute path.  M( w1 A! b% I( L
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt$ c! |8 t, E" r' s; B; B" @. m& I

  2009. + F, v: r% r( \
  2010. [openssl]+ U; w! @6 k$ L7 q; G/ Q/ ~! t
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem7 o( S& w/ o1 E: ^& G
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    , `9 Z( d9 t9 \, f% T- q
  2013. ; not specify a value for this directive as PHP will attempt to use the
    & M0 O5 `' z, v7 [
  2014. ; OS-managed cert stores in its absence. If specified, this value may still/ \) U# r* F$ S2 N, E) N
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context( k5 F0 m8 {- n( f  s1 H& ^/ x
  2016. ; option.9 B" c/ ^  T9 z! K0 X# r
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt! E; b: R: U( o; \
  2018. 9 m, a6 _* L+ o. o* U5 ?, Y) p
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    $ E& }" H: c6 ^
  2020. ; directory pointed to by openssl.capath is searched for a suitable$ U. o' ^/ G% u0 P, \
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    7 F2 z/ C% O: O. o4 b
  2022. ; Most users should not specify a value for this directive as PHP will/ x% \/ l; A# V5 F+ `4 x
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,* w5 O& \! O, f8 W/ I6 m  B1 k
  2024. ; this value may still be overridden on a per-stream basis via the "capath"5 [1 F2 w9 |2 B8 O9 B% _8 E$ Q/ @
  2025. ; SSL stream context option.
    6 ~0 n& C* W, p& I- D$ K; O
  2026. ;openssl.capath=3 ~  O. X+ @) B8 {9 e
  2027. 3 R# M& \+ u0 F; k
  2028. ; Local Variables:
    , Y9 d7 u& n2 ^
  2029. ; tab-width: 4
    & U6 T9 l+ z( i1 A! |- {3 l# r
  2030. ; End:0 O% m' Y' Y+ \1 \" E

  2031. 8 v8 n; V. @4 V; j2 m
  2032. ;eaccelerator
    6 y$ Z# s" b, z4 M; @

  2033. : |: F9 x( u: q2 S# k* f3 |
  2034. ;ionCube# V2 a  D$ u  [
  2035. 4 u! v% a3 }5 V0 s/ [- b+ D5 W
  2036. ;opcache
    3 Y4 m; ^% t4 E+ r2 h2 |& {% @) |

  2037. 0 q' F1 l% X% e2 u' o  j3 ], K
  2038. [Zend ZendGuard Loader]
    " T! X! j! V& Z9 B
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    7 s) B9 D0 C" C# s3 ?( T
  2040. zend_loader.enable=1* I: l* Q0 w1 B+ A5 g0 H; L
  2041. zend_loader.disable_licensing=0
    & N$ j; {: L5 D. _
  2042. zend_loader.obfuscation_level_support=3' ?& T! u" g5 i7 z" E7 J
  2043. zend_loader.license_path=" s9 v4 E2 Y8 P( d7 w3 j
  2044.   k/ Y0 k. R8 I  I% `1 r+ o+ k
  2045. ;xcache! G! ~& I1 o& K4 y+ N- H2 m

  2046. ; E, H- e8 H+ `  Y+ f+ @5 y
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146920 }# K! ^0 l) M) u- Z& z/ F

2 M2 [) }( Z- O' z  u/ D8 d8 D/ b% M& G+ B0 X
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,9 G1 C5 k$ c4 E
* w* `2 F3 H4 L
Discuz!程序版本选择:
  r5 q, ~4 y! g/ z% r3 _+ \站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
) {/ P; z+ |' W9 a& @/ h6 p不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:0 v* `% ^+ d! ~) O
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。+ q' [# ^4 H2 S9 b5 H9 k

/ ^# D( [3 x0 W* VDiscuz!插件模板版本选择:) l1 }; ^2 a5 m5 ?" Z8 G3 e5 v
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,: n  P4 f6 S) z' e( t
针对这个问题做个统一的普及:2 ^7 M9 m3 L! ]4 s: z# J% g
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
6 X1 y8 V2 N0 x; F2 |
! }, O  H( A1 T所以3 i7 }' B5 U7 F5 k! ?
适合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的二级域名。
. ^/ z$ w9 N. M( p& }. Y打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。" T7 B8 X+ l' m) c* Y# l3 _: f/ k
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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