分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0+ d/ j% }, }2 B2 ?, @, h! O

, k& Y" c5 v/ F  Z
  1. [PHP]2 q. J* j  _% I

  2. 4 U) k" g4 g$ D9 f& d8 g) j
  3. ;;;;;;;;;;;;;;;;;;;
    % `, ]) J% b1 t( Y8 j% x
  4. ; About php.ini   ;
    $ B# L+ n) i9 A
  5. ;;;;;;;;;;;;;;;;;;;
    3 Y' r, c$ k3 G* p* i0 a
  6. ; PHP's initialization file, generally called php.ini, is responsible for( S- n; j. A- L. }( h6 k& G
  7. ; configuring many of the aspects of PHP's behavior.
    9 ]0 x8 S$ a8 T* R% T. o2 L: I# b
  8. 1 A8 I7 \, x6 w8 S( q
  9. ; PHP attempts to find and load this configuration from a number of locations.! o* m3 \5 _$ W3 r! h3 V' @; F+ G$ c( U
  10. ; The following is a summary of its search order:* Q0 M2 s5 i& ^, ]$ _" X
  11. ; 1. SAPI module specific location.; H/ [  Z; U- |7 a& g) _
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    " p# `% `1 `9 m5 @
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)+ O- ^, w+ t0 J. i1 S4 G* i" I
  14. ; 4. Current working directory (except CLI)% j/ N, {# C% ?; }8 R3 Y7 _
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    / @* o2 p1 u! c+ l6 ]$ U/ a% I. N
  16. ; (otherwise in Windows)
    5 c" J( n# K" z
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    6 q/ |6 C2 y' d, u, e
  18. ; Windows directory (C:\windows or C:\winnt)
    - F" @3 u) g9 r, j3 s; k
  19. ; See the PHP docs for more specific information.
    ) U7 p! d* b. L  t6 ?- r
  20. ; http://php.net/configuration.file7 |9 v/ c7 K+ ^! `4 J
  21. - M+ e% }$ [0 p6 U! Z
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    + B4 S7 q) Q8 `! ~
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ! {! d7 I6 ?9 L* n5 X
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    1 `6 A: a: _1 P/ _9 V
  25. ; they might mean something in the future.1 h4 K2 Y5 Q" Z( g; _* r& k

  26. . Q( X4 b" }' V: }& Q  W
  27. ; Directives following the section heading [PATH=/www/mysite] only/ x4 D8 z! p. ]9 r+ R7 @
  28. ; apply to PHP files in the /www/mysite directory.  Directives: W2 }: k9 [+ v8 `9 ~: Q" U
  29. ; following the section heading [HOST=www.example.com] only apply to# \, N% f- \) D  x0 K5 a
  30. ; PHP files served from www.example.com.  Directives set in these9 e% W3 u- ?, ]- i) P+ U+ `
  31. ; special sections cannot be overridden by user-defined INI files or, x0 Z% c- B2 P: G. T7 J; A' A
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under8 S6 X  r( o1 }/ Z7 `
  33. ; CGI/FastCGI.
    + R/ \8 N6 ]3 W4 b, F
  34. ; http://php.net/ini.sections
    * M) T2 \( Y- n# d# ?
  35. . u! P( P2 L; j& w2 f+ x, j
  36. ; Directives are specified using the following syntax:7 X: b. W9 l5 b$ ]5 \! |0 q5 Z
  37. ; directive = value$ w5 A$ J. }+ n7 E$ @  k
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.$ X/ D/ h$ p9 t# g( A- w
  39. ; Directives are variables used to configure PHP or PHP extensions.% ]$ T# |4 _: d2 _, s
  40. ; There is no name validation.  If PHP can't find an expected9 t1 I" A( F/ c, o' s% m" k* {# x
  41. ; directive because it is not set or is mistyped, a default value will be used.0 n. s+ h- E4 |/ c: P  T6 s& [( T
  42. ' R, l! w/ u8 O# B
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one3 u/ p; X4 L) m% [3 Z; {
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    % K' @$ y& g& J% Q" V
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a6 _) {% n3 u) {- P, H0 p$ D4 q
  46. ; previously set variable or directive (e.g. ${foo}), r) K& p" x3 q: L, m* a
  47. ) V/ z# k/ A1 d0 C
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:) Q3 x  n6 J: b( u
  49. ; |  bitwise OR, @5 N: [4 N7 K; ]+ j0 n
  50. ; ^  bitwise XOR
    ( O1 p% A" R* `5 u( _4 ?+ H6 |: h
  51. ; &  bitwise AND
    2 N6 U4 Y8 ~( N( W* d
  52. ; ~  bitwise NOT% Z8 N( k  ~0 R% P* e5 K, N; U$ @8 e8 A
  53. ; !  boolean NOT) e# Z& j8 W% ^- ?* `: O( I4 F7 R

  54. 3 `( d3 r+ ?- ?7 w
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.9 j$ T1 L4 v9 J# w' }
  56. ; They can be turned off using the values 0, Off, False or No.9 H1 P, T' ^. W+ Y8 ]4 L, D

  57. $ z7 f  K' _  X$ [
  58. ; An empty string can be denoted by simply not writing anything after the equal! d% }; F+ K9 _  V! x0 _
  59. ; sign, or by using the None keyword:8 E" O$ ]$ N5 L3 E8 R2 H& Q) s

  60.   U6 C+ a) [" E  J, G. ?
  61. ;  foo =         ; sets foo to an empty string% B9 h. P& Z8 E, O0 O
  62. ;  foo = None    ; sets foo to an empty string$ X/ `2 z5 L. V& h
  63. ;  foo = "None"  ; sets foo to the string 'None'' w5 i# i7 P9 W# h  |3 D2 o# n

  64. ) h9 ~, Q7 L  q; Y, p
  65. ; If you use constants in your value, and these constants belong to a
    - N' P* A5 r8 |) ?3 b# ?
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),; ~4 f/ }7 F+ ~1 P) z
  67. ; you may only use these constants *after* the line that loads the extension.( R1 f* b: o5 n

  68. . m% g3 B2 h; q# `, ^) w
  69. ;;;;;;;;;;;;;;;;;;;3 {- j% Z0 o8 R. [, Q9 t* u/ b& }7 a. r
  70. ; About this file ;" |0 {. }6 x8 `, E3 J7 X. g3 I# R7 i# b
  71. ;;;;;;;;;;;;;;;;;;;8 y6 j% k& e' _: D
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    . l) q# |6 u- i/ ^7 l0 s
  73. ; in production environments and one that is recommended to be used in' u* Z, f8 O" F+ I2 M' \
  74. ; development environments.
    4 o( f; @+ T. \1 q

  75. ' z( s* X1 A) k
  76. ; php.ini-production contains settings which hold security, performance and
    5 O8 r3 o3 g9 _8 R% O3 @# T! q
  77. ; best practices at its core. But please be aware, these settings may break: b4 ~; R+ ]# o( c% G7 d
  78. ; compatibility with older or less security conscience applications. We5 n4 E0 v0 e. E) o" H% v% A3 J1 a
  79. ; recommending using the production ini in production and testing environments.
    7 ?! m. r. g& H+ e$ u8 U8 l6 P6 i

  80. ! l- H' w8 E& @0 z2 G5 Y
  81. ; php.ini-development is very similar to its production variant, except it is+ n( ?( `2 u- C6 r) s6 ~
  82. ; much more verbose when it comes to errors. We recommend using the
    # L6 |+ j0 o' }" m
  83. ; development version only in development environments, as errors shown to/ v6 T( C, A$ x$ `' m  y4 S8 C2 L
  84. ; application users can inadvertently leak otherwise secure information.
    : U# t1 e4 G7 P% l! P& J5 r

  85. # f% d. d, X8 g
  86. ; This is php.ini-production INI file.
    ' s5 ^& E; G3 J% x3 z  }9 o3 N  p8 W
  87. , Q- G4 ~9 `" g' `7 ]
  88. ;;;;;;;;;;;;;;;;;;;
    / ~: G' r$ \0 x6 n! F2 B. }% l
  89. ; Quick Reference ;7 k! ^8 D; |0 I- V, R6 D+ q
  90. ;;;;;;;;;;;;;;;;;;;
    6 s7 R! T% M# M0 q. ^
  91. ; The following are all the settings which are different in either the production
    ' o6 x0 U5 y7 p/ O8 U* ]$ ]
  92. ; or development versions of the INIs with respect to PHP's default behavior.
      V; G2 i7 A. ^% L9 {. g
  93. ; Please see the actual settings later in the document for more details as to why( t& }+ F" [8 F+ F
  94. ; we recommend these changes in PHP's behavior.  U# |$ n0 I  n! x8 E5 ]( J
  95. ) o: R+ v5 y2 S
  96. ; display_errors
    ; `0 S) n" Q+ v, r; R7 Y$ V3 ?
  97. ;   Default Value: On+ m/ U4 q4 j6 Q# i; A8 m) q9 U
  98. ;   Development Value: On
    2 X6 _- e4 S. y4 d% n6 X
  99. ;   Production Value: Off
    # u! T2 X; f  ?! Z+ s; M
  100. ; e* {$ P5 Q$ g; ^
  101. ; display_startup_errors; N& |6 k! ]# m0 |# @( a
  102. ;   Default Value: Off7 ?* v% Q: C& ]3 q$ C5 \
  103. ;   Development Value: On
    1 X" @, L* X9 l' N4 @, e
  104. ;   Production Value: Off
    , Q! A* Z! v7 o: e2 K: S

  105. - r, y6 M/ t1 d! c8 P! |/ W6 t
  106. ; error_reporting3 ?( {- g& s) }# S; H4 B& ?; c
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    5 g- W" X4 V6 \7 s: J! k
  108. ;   Development Value: E_ALL
    ) F, b. ^8 w$ w( _% l
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT9 G2 m: [% p1 s9 r
  110. " L1 l: P/ I# x! U+ X
  111. ; html_errors+ f! ]- Y2 |6 z5 l, }
  112. ;   Default Value: On& Z9 p/ O0 _  a4 n' h  ~
  113. ;   Development Value: On
    , Y- W$ i& a( n* a' m" ]
  114. ;   Production value: On8 y1 N9 }; X: N& U+ b

  115. . I+ y4 C3 c* Z4 g6 y$ K5 \
  116. ; log_errors
    : s% B& e: @% x$ t( D
  117. ;   Default Value: Off1 e9 z: n% h8 P3 _$ K4 h
  118. ;   Development Value: On1 r; t9 N9 H/ u
  119. ;   Production Value: On
    0 t4 }) `/ K5 Q; s! Y) s: x
  120. " C2 [8 l# ~1 ^& d* N
  121. ; max_input_time: i% m( @) Z3 f7 _
  122. ;   Default Value: -1 (Unlimited)9 e5 Q9 \1 l' \% ]  j
  123. ;   Development Value: 60 (60 seconds)* r0 t8 Y+ a# R
  124. ;   Production Value: 60 (60 seconds)
    ! v9 E& i1 k: ?3 j/ t

  125. 4 G: v! A0 w* R$ z3 e  m, X
  126. ; output_buffering2 U1 B: S' Z: {6 x
  127. ;   Default Value: Off
    . Q9 l! N5 U3 G+ n. U" b( H
  128. ;   Development Value: 4096
    0 f+ t. o) C- x4 R
  129. ;   Production Value: 40969 L- h- ~9 f. P! O4 a# b
  130. % Z: g$ H1 b0 h6 t& G7 Z
  131. ; register_argc_argv( ~% L: \3 ]$ n) D0 s
  132. ;   Default Value: On) N/ v+ v, h# h' X
  133. ;   Development Value: Off) _9 j% U8 ~: P- J1 S* w: }
  134. ;   Production Value: Off
    - h9 |2 m7 ?2 o6 E& p
  135. ) c/ k: W" {! t/ T
  136. ; request_order3 Z- {* r. }5 h
  137. ;   Default Value: None! w  S, c& ~+ X5 u( Y( F
  138. ;   Development Value: "GP"% T8 b$ \* w4 i8 i
  139. ;   Production Value: "GP"
    + ^2 y) Y2 w& H. x% f7 [4 a

  140. " L6 S. Y! O% R# X% P
  141. ; session.gc_divisor
    ! w# O4 W7 w6 j+ H
  142. ;   Default Value: 100  S& Z8 f2 E- n% a% ]
  143. ;   Development Value: 1000
    * y0 K, a1 I: d" R. Y. G; `
  144. ;   Production Value: 10004 F% _3 ^- f* f) }$ L9 n# y! B
  145. 4 n' x0 F, I+ @5 \( H
  146. ; session.hash_bits_per_character# C. L2 r! R  f! s
  147. ;   Default Value: 4
    " Z2 B4 t" ~% u" p7 k7 Y/ ^% o
  148. ;   Development Value: 5- A; z+ V4 u9 \7 f" _$ W
  149. ;   Production Value: 5
    6 ^8 L# N+ L3 w* e

  150. ; o6 m6 s; T9 I! `
  151. ; short_open_tag
    8 u4 ]; ^8 M3 z! s5 z
  152. ;   Default Value: On
    ! P6 P- c' k, o) y2 F& n. M
  153. ;   Development Value: Off3 g9 R8 ]. y3 u# o7 z2 \# n
  154. ;   Production Value: Off
    ( N2 V. l3 \* F# Z: b7 v
  155. # B5 @2 W% C) E5 t. A# x& p# s+ F
  156. ; track_errors
    3 [# l; j: X6 ?  }: D' J  H, h
  157. ;   Default Value: Off
    7 ]2 f# P9 w( y; {. Q% Z# A# R
  158. ;   Development Value: On, z5 |) ]- P, R% B# F
  159. ;   Production Value: Off2 E) [0 ]; ?9 f5 U

  160. 4 d0 M  D0 ^2 ~2 O/ E2 N
  161. ; url_rewriter.tags
    ( ~7 p, A! t0 z5 X
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    & z* D" k2 |7 M+ i3 z4 a
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# i' C, D8 g# L+ R# g) v4 o
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry". t8 e+ `7 \& {$ f& Z

  165. " c0 \" o$ {% z  g; n
  166. ; variables_order
    , Z: E! p- y, A& j  W0 G3 U' y
  167. ;   Default Value: "EGPCS"
    : v  u0 ]! a- N+ m# `& n6 S
  168. ;   Development Value: "GPCS"
      n) `, I1 [+ }
  169. ;   Production Value: "GPCS"3 C0 N; G/ E9 K) S. e
  170. / v0 ]2 Y, b1 u, a8 \1 ^2 {# I
  171. ;;;;;;;;;;;;;;;;;;;;( k% I, B* z& e6 s/ n$ x
  172. ; php.ini Options  ;
    : c2 b1 X% v7 q' g2 p
  173. ;;;;;;;;;;;;;;;;;;;;+ C' E$ J8 S/ ?: A" k
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    % k  U- B5 ~. k- O+ X# m9 {
  175. ;user_ini.filename = ".user.ini") H1 D0 Z4 ?0 Y; \% S' c' ?

  176.   u- p  B  R- H0 Q+ M
  177. ; To disable this feature set this option to empty value. k. I5 \. x0 n$ h( O
  178. ;user_ini.filename =8 K! [. s$ X  m- _' C) w
  179. 5 |/ C6 I# }! e  g; j  @0 X
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes): [& @8 k- M; B
  181. ;user_ini.cache_ttl = 3007 B  R# l9 ]6 b3 t7 d3 u$ ?
  182. . ?/ t9 n, r$ s5 m  C
  183. ;;;;;;;;;;;;;;;;;;;;
      M; @/ ^9 h/ `. ]
  184. ; Language Options ;' A# ], R! p0 q6 ]: ~
  185. ;;;;;;;;;;;;;;;;;;;;
    3 D# s3 h+ P0 j0 W/ A% P4 L
  186. 5 M( N$ }9 V- E! F
  187. ; Enable the PHP scripting language engine under Apache.8 r! m+ L" f% G" e
  188. ; http://php.net/engine& U$ M( C1 N- L, x
  189. engine = On
    $ \9 g$ J! p1 Y

  190. / I. x6 L/ |( L/ m3 a: v
  191. ; This directive determines whether or not PHP will recognize code between
    3 ~. D9 _$ I, B' i# |
  192. ; <? and ?> tags as PHP source which should be processed as such. It is$ G6 X5 m3 R8 I6 I( |2 E1 A4 d
  193. ; generally recommended that <?php and ?> should be used and that this feature* N9 W. S/ `7 M$ A* M
  194. ; should be disabled, as enabling it may result in issues when generating XML
    , G/ |  O0 t7 }* r# q* ?
  195. ; documents, however this remains supported for backward compatibility reasons.
    ( Z3 q9 q$ F- z& Q( n" @: O) ?
  196. ; Note that this directive does not control the <?= shorthand tag, which can be! i, H( {5 L( u8 J( P
  197. ; used regardless of this directive.# l# B! {- k' w$ ~& }7 c
  198. ; Default Value: On% h8 N2 [: v4 i3 L( k! R6 v5 ^
  199. ; Development Value: Off
      t0 z9 y( ^, Y$ C" \6 o5 x) t5 O
  200. ; Production Value: Off
    * G% o0 E. I& W" Q( O3 H1 D' n; m
  201. ; http://php.net/short-open-tag+ O# v  F! R% O9 ]8 n8 ]
  202. short_open_tag = On0 Z6 d+ W$ B3 J: b" E; \
  203. 3 {4 }9 [" R9 @% J) Z4 X* e
  204. ; The number of significant digits displayed in floating point numbers.
    " R5 I+ b( J+ F& I' ~
  205. ; http://php.net/precision( i/ j8 ~4 i( B- [6 ^3 D
  206. precision = 14) K5 r; h0 x! {9 Y3 w% @, @
  207. 2 s" e4 B& m+ H: l1 t! C& l/ x
  208. ; Output buffering is a mechanism for controlling how much output data' a  E8 O0 s% o
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    6 @6 b0 b/ @" Q0 [
  210. ; data to the client. If your application's output exceeds this setting, PHP
    6 J  p8 V9 v0 E! g4 s
  211. ; will send that data in chunks of roughly the size you specify.
    % y) m' p. ?/ ~9 o4 f
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    . k3 e/ I  T+ V2 z6 i
  213. ; interesting side-effects depending on your application and web server.2 }" ]( k0 y% G- H, j2 J3 ~
  214. ; You may be able to send headers and cookies after you've already sent output, x+ {( n9 p4 I: s8 A7 C" ^- Q# w
  215. ; through print or echo. You also may see performance benefits if your server is
    7 S7 X- C, h4 t! S. I6 X) y# c9 r/ E
  216. ; emitting less packets due to buffered output versus PHP streaming the output5 P, U5 c$ ~. ^
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance8 j6 v1 e6 M# G! N5 A/ g
  218. ; reasons.
    ! {. {; r, ~2 c9 `+ q1 L
  219. ; Note: Output buffering can also be controlled via Output Buffering Control( a' U' h# R0 B* x2 V- N
  220. ;   functions.8 T% t4 C) I: r9 B; I# o
  221. ; Possible Values:
    $ m, X/ K( X; }2 y
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)0 R7 P$ B% Y9 [" e1 O
  223. ;   Off = Disabled9 L- X$ I! h9 A& S# }+ t: q
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ( z' R* G3 r9 b7 U: z% q
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    1 S; N3 B" g. r$ S4 R8 j+ c, `
  226. ; Default Value: Off
    + P# ]% _7 {7 a( |" P
  227. ; Development Value: 40968 G! i) Q  r& S, T! D# M) P5 O! O
  228. ; Production Value: 4096
    4 s; E' a6 j% i: Y: ~
  229. ; http://php.net/output-buffering
    $ k9 @- F6 \/ P/ \4 Q, ?$ P. ?9 g) U
  230. output_buffering = 4096
    - k8 T3 S9 ?! }2 J6 |* i
  231. 7 |' ~4 j3 S& a$ [: T# V8 @2 ~
  232. ; You can redirect all of the output of your scripts to a function.  For; a% _1 R. A  O; Z  a
  233. ; example, if you set output_handler to "mb_output_handler", character: d: f% A" n* s( Y
  234. ; encoding will be transparently converted to the specified encoding.. S7 J; |6 P+ ~  k7 h5 m
  235. ; Setting any output handler automatically turns on output buffering.9 Q! @3 h, z! v
  236. ; Note: People who wrote portable scripts should not depend on this ini
    3 l: Y. n/ Y' L5 x! I5 T
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    " l- M9 Z" ?$ R( B
  238. ;   Using this ini directive may cause problems unless you know what script8 R, e8 e# Z, b( G% ~
  239. ;   is doing.
    . R8 U: v* S9 Z: w' y6 j  o( U
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    + S9 }4 I2 b" Y$ j1 D
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".4 w8 R5 O6 [" g: p7 \8 h# V
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    - t2 x( ^1 h! D! Q
  243. ;   Instead you must use zlib.output_handler., E4 a2 L3 A8 ]; l! e2 A
  244. ; http://php.net/output-handler
      R) V$ q5 Y4 q( i
  245. ;output_handler =
    " m6 d6 S% c; h
  246. 0 P( @: j) m( @# z% S6 o5 N
  247. ; Transparent output compression using the zlib library
    $ H7 C- j1 C2 E+ q5 b8 X4 T
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    " F# x: v7 C+ N$ |
  249. ; to be used for compression (default is 4KB)
    0 m- t: v9 d" {/ D. W
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    + L7 m) J$ ]2 A4 {. o
  251. ;   outputs chunks that are few hundreds bytes each as a result of; {2 h7 H- c: V3 w, j/ F' s
  252. ;   compression. If you prefer a larger chunk size for better' k7 K# }1 }5 j; V
  253. ;   performance, enable output_buffering in addition.
    # o# }9 U/ P% `; K" R) x
  254. ; Note: You need to use zlib.output_handler instead of the standard
    " \  R3 H! k  t4 w4 z
  255. ;   output_handler, or otherwise the output will be corrupted.
    # g9 {: V8 O8 |; x% Z2 l* [
  256. ; http://php.net/zlib.output-compression
    ' ~. _9 H2 u# k& h
  257. zlib.output_compression = Off2 Z. E& C+ _) t: m8 \
  258. ) r0 W& i* N+ F/ F) \0 ]& x% |; Q
  259. ; http://php.net/zlib.output-compression-level1 z3 W: {& M- ?* q
  260. ;zlib.output_compression_level = -1+ Y9 e7 [8 b' V5 R  F9 ^; Y# ]
  261. 9 j! l! @8 P  N/ }
  262. ; You cannot specify additional output handlers if zlib.output_compression
    1 M. P6 j9 [/ [$ w
  263. ; is activated here. This setting does the same as output_handler but in8 d7 C: r6 ~2 m2 c" L# X
  264. ; a different order.
    : t- w6 s) T1 N& d" t
  265. ; http://php.net/zlib.output-handler
    . m; A$ d1 D: N7 R
  266. ;zlib.output_handler =$ K4 m) s3 [% J+ e* C# C
  267.   h! E; P/ L7 o! g, L
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    2 ]$ f6 h  f9 u
  269. ; automatically after every output block.  This is equivalent to calling the
    9 B# i' E. S8 C
  270. ; PHP function flush() after each and every call to print() or echo() and each3 I8 K+ F& d4 r
  271. ; and every HTML block.  Turning this option on has serious performance% V3 H! K% f# ?/ b) N
  272. ; implications and is generally recommended for debugging purposes only.6 ~, I+ |5 u, n$ T* E  j. G/ `
  273. ; http://php.net/implicit-flush3 t: F3 r. A5 O. H! C* l
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    / d; Z9 T/ s7 H% Q+ Q3 {
  275. implicit_flush = Off. ^% X* `  `: W# l8 @% M

  276. 2 W% L" L6 ^' P% f% I( S
  277. ; The unserialize callback function will be called (with the undefined class'
      N: ]# E1 L3 g5 }( e+ d# q
  278. ; name as parameter), if the unserializer finds an undefined class
    - F9 B- `& Q& a
  279. ; which should be instantiated. A warning appears if the specified function is
    3 Z" J6 r9 E, w: G. f  S' Z) X. z2 @
  280. ; not defined, or if the function doesn't include/implement the missing class.0 `$ U0 }1 u6 a2 A& {' x6 n) E* M3 v! z
  281. ; So only set this entry, if you really want to implement such a
    ; s. k* l" n& y, x( x6 C
  282. ; callback-function.9 C+ ?0 v+ ^% U
  283. unserialize_callback_func =& x" x1 n* C, Y3 e

  284. 8 b8 o- O, j8 u6 P1 @
  285. ; When floats & doubles are serialized store serialize_precision significant
    * r& v; x* f  j& }; w9 ]: M# \3 x0 S
  286. ; digits after the floating point. The default value ensures that when floats
    ' k5 Q- o2 k# t+ x; F
  287. ; are decoded with unserialize, the data will remain the same." K5 `  P) V! J3 V7 W
  288. serialize_precision = 178 N" s. k( y) h7 n

  289. 5 [6 @+ p8 ]4 f, `' Y6 i% c' _
  290. ; open_basedir, if set, limits all file operations to the defined directory
    3 g* s2 X+ t% N5 J$ W+ R5 A3 c5 e
  291. ; and below.  This directive makes most sense if used in a per-directory' s, n4 D' f; ?+ A, S) ?- _/ y( N
  292. ; or per-virtualhost web server configuration file.% p; O0 _. j" `  N9 c* h
  293. ; http://php.net/open-basedir  x% [3 A, W: J4 Q6 x
  294. ;open_basedir =
    ! Z+ p/ T. E$ l$ K! N; T  T
  295. 5 x  q9 c; U! R6 ~5 z
  296. ; This directive allows you to disable certain functions for security reasons.
    - d$ f6 Z) z: z  N* R! v2 f" E
  297. ; It receives a comma-delimited list of function names.
    1 x& d* C6 R6 X9 ^! Y+ t1 H( e/ c
  298. ; http://php.net/disable-functions- j) @3 g6 Q8 o' D
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru' Y* W: ?' x. j( C* W$ U( }

  300. 9 |; y" l7 c  B: `
  301. ; This directive allows you to disable certain classes for security reasons.6 n: |" ~. o; E5 q2 G
  302. ; It receives a comma-delimited list of class names.
    % ~0 B1 t1 A1 f
  303. ; http://php.net/disable-classes1 {- M9 \; i& x# i
  304. disable_classes =
    & s# t  J3 [7 v: [$ c0 p" o
  305. 2 L( N2 p. J; o) h
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in  b( ]3 C  @7 M
  307. ; <span style="color: ???????"> would work.
    8 `  P: M8 c: V+ S) t* w
  308. ; http://php.net/syntax-highlighting
    & Y2 R# y5 G/ c/ W/ [" X1 V
  309. ;highlight.string  = #DD00006 r) a9 \0 H8 U% ~6 E  S2 a
  310. ;highlight.comment = #FF9900
    % g1 _, ?, a' k; @
  311. ;highlight.keyword = #007700
    7 x  _3 @7 T3 U, x
  312. ;highlight.default = #0000BB9 I* l. g* N2 h- O$ `' ^9 P! N
  313. ;highlight.html    = #0000003 U# D" r8 y) g2 _

  314. # ], ?7 f2 x- E+ V) Y* F
  315. ; If enabled, the request will be allowed to complete even if the user aborts! y( a/ {" A; V1 t( i5 l* k/ A
  316. ; the request. Consider enabling it if executing long requests, which may end up8 E( A- Z* U0 ?/ C  M! C$ Z9 x
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ' B4 g9 y  A7 p) P9 l
  318. ; is to disable this feature.
    5 r. f# u7 `7 ~. a# C0 x
  319. ; http://php.net/ignore-user-abort  g9 \$ i. F# ?% e; r( P
  320. ;ignore_user_abort = On0 ]& o' ^. [2 f/ u* L5 L! z7 C+ u
  321. 9 E' S( ~) o( ~1 ~1 s9 E) G: w
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    ) {* h/ D0 D5 O
  323. ; be increased on systems where PHP opens many files to reflect the quantity of; \2 g6 f& q0 O) S
  324. ; the file operations performed.9 b2 G& Q- J5 E5 L/ B
  325. ; http://php.net/realpath-cache-size
    6 }& W8 j* S& K3 T% s6 W
  326. ;realpath_cache_size = 4096k
    6 a+ K* m+ x& J  q8 ]: h1 z

  327. $ h" \" W9 _0 j. R0 {1 [2 W3 l
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    * k' `( Z2 k4 D
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    ) M/ @/ K+ y0 O, n0 Z
  330. ; value.! s& t7 Q) I  [
  331. ; http://php.net/realpath-cache-ttl. l& V  Y9 d' Y# q- Z4 O! Y" K
  332. ;realpath_cache_ttl = 120
    - Z( R% Y. u$ T9 n6 c1 [

  333. 9 y8 R) H* B$ ], g
  334. ; Enables or disables the circular reference collector.
    & m# t/ X5 D/ S8 @3 t- `
  335. ; http://php.net/zend.enable-gc" z! o' w% @8 `
  336. zend.enable_gc = On+ q# p% \3 z: o2 g9 |
  337. % D9 T( h+ A/ {; b% E
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ' ?" C& t: V+ P0 |$ k
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such9 q' K. x+ g. O. J8 N2 d; h
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    9 y. v. c5 x5 T( a+ v( q, ]
  341. ; Default: Off. d( y- M; O( K( R: F7 w9 S
  342. ;zend.multibyte = Off4 C! E+ t+ ^5 Q1 ]% T4 ^6 b
  343. 7 T  G+ E2 f) ^* U1 g" b- B: U1 P
  344. ; Allows to set the default encoding for the scripts.  This value will be used. e5 [6 d5 l! r8 ]; I7 |& J
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.( a. g4 d3 y0 A" x- [4 M
  346. ; Only affects if zend.multibyte is set.
    - B  e  f7 c8 N  y
  347. ; Default: ""( g) L3 o  U& {5 S
  348. ;zend.script_encoding =
    $ P/ g! u! J& N9 {# D
  349. / ^" v( X. g3 s, x0 n9 m
  350. ;;;;;;;;;;;;;;;;;) x/ x6 K8 ?* K) a+ T
  351. ; Miscellaneous ;
    ! s& [% ^# h( E* r$ `# Z. P8 s
  352. ;;;;;;;;;;;;;;;;;/ l2 H6 ], K1 G) ^

  353. ' P  _, L* `# [4 }
  354. ; Decides whether PHP may expose the fact that it is installed on the server9 W7 j! I: S- e* }. O& f. V0 w
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    9 @5 D8 ]2 x  s* G) R( m/ f
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    * K( D" M4 P" @* P) L" B
  357. ; on your server or not./ e, p7 H) l+ F* f1 j
  358. ; http://php.net/expose-php
    % y! j9 P% b, Z- o8 ~% d& h
  359. expose_php = On3 t: y3 q3 b" s$ l* u
  360. 3 `9 l8 N# R! L' v* Q
  361. ;;;;;;;;;;;;;;;;;;;. H/ a' ^. y4 Y6 w2 x
  362. ; Resource Limits ;
    ; ^" {, k6 g1 U! Y
  363. ;;;;;;;;;;;;;;;;;;;
    $ b4 d' N7 ?6 ?5 {* {) E% s
  364. + M* I0 q0 e6 Y. u4 R
  365. ; Maximum execution time of each script, in seconds1 D" C6 O0 r+ U3 z: ^
  366. ; http://php.net/max-execution-time, F0 S: O: [+ f/ M
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ; m/ b8 p' \9 {7 O6 z
  368. max_execution_time = 300+ Y4 s" H/ ~9 ]" H& h
  369. , \0 N9 M/ V2 h2 P
  370. ; Maximum amount of time each script may spend parsing request data. It's a good3 D) ~3 g$ }6 c2 b6 D
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    - `' i5 Y" ]2 _; \; X6 U4 {
  372. ; long running scripts.) A" N! a5 }9 t' b
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI, R( V1 [, j0 ?- Z
  374. ; Default Value: -1 (Unlimited)
    & |1 Y' @1 z! g7 \7 T2 V$ c
  375. ; Development Value: 60 (60 seconds)7 o% o- C! [' c5 B0 g0 b! T
  376. ; Production Value: 60 (60 seconds)
    ; S* W) p2 X  B, u. q2 v- U
  377. ; http://php.net/max-input-time
    2 n1 x! N* I& Y. l6 R0 m5 c
  378. max_input_time = 60
    8 p4 t! E0 |& k) e7 [6 W
  379. , `8 `3 n) w( ]$ R: ?7 y  f0 n
  380. ; Maximum input variable nesting level* [6 ~  _$ R. x* p
  381. ; http://php.net/max-input-nesting-level" }9 `* X, m/ `: ?
  382. ;max_input_nesting_level = 642 L1 a/ A) V& s
  383. 0 _9 S4 b, G3 p, I* g' h
  384. ; How many GET/POST/COOKIE input variables may be accepted
    ; ]* }# V- |7 a1 S( g" ?
  385. ; max_input_vars = 1000+ a4 p; ?$ _4 \) Z8 |
  386. 3 M  ]8 Z; L3 [
  387. ; Maximum amount of memory a script may consume (128MB)8 |! ^" d' C5 n' A/ d" |( L2 N
  388. ; http://php.net/memory-limit/ v# M: p$ m& K. _/ ]6 i
  389. memory_limit = 128M
    - ?2 u. j, ]2 H7 g" I5 J
  390.   u% F% u1 e+ M3 ?
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
      j% a2 L. G; E; j7 e
  392. ; Error handling and logging ;( w0 D* n- L; S8 Q+ Y$ U( t6 O' Y0 j
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2 d+ p* @# L  D- t

  394. 4 F: d/ ]* o7 b& f7 t
  395. ; This directive informs PHP of which errors, warnings and notices you would like% U) R( u: x' \$ s$ R7 `8 z) b  d; q+ Q
  396. ; it to take action for. The recommended way of setting values for this& h: p2 a- G( U" h
  397. ; directive is through the use of the error level constants and bitwise
    2 `  P; p( w2 A4 g, Q& k0 H
  398. ; operators. The error level constants are below here for convenience as well as# e& T3 C; `# i
  399. ; some common settings and their meanings.
    1 }' E( f3 P% K
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    7 l3 N8 y9 }; }2 h# @7 ^) [
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    3 B2 H, S- g9 L9 W
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    " a& q; t+ b, \
  403. ; recommend error reporting setting. Your production server shouldn't be wasting- f; e; G: N" K
  404. ; resources complaining about best practices and coding standards. That's what
    7 L0 F( q/ X' _$ K+ M: {  a, O
  405. ; development servers and development settings are for.
    9 O: t. V4 \7 i1 w9 U
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ; _3 N3 Y6 V" F0 ^
  407. ; means it pretty much reports everything which is exactly what you want during
    * d! x7 |5 K+ \3 `7 B* V% g/ F* T
  408. ; development and early testing.
    + v6 d: K8 X' a3 ~+ T) ]. Y' n
  409. ;! E  \2 ~# C/ v; g3 L/ I  x5 u+ F
  410. ; Error Level Constants:) d5 x' I$ ~& a# a' h
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0). j; c' w" t$ t( N0 _! c
  412. ; E_ERROR           - fatal run-time errors
    * ~+ c! n3 p: c' o  _2 L4 @: ]" @
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    , ~( i1 t+ a- V1 {
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    " S7 G, y6 _: j7 Y' t2 w9 Q/ s) T
  415. ; E_PARSE           - compile-time parse errors
    ' d5 H' v; Q' G( B( P5 b! ^2 @
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    & o& Z7 M$ `* c  \: b- Z/ b; i# i
  417. ;                     from a bug in your code, but it's possible that it was
    8 `1 y/ F7 k3 J) D) o
  418. ;                     intentional (e.g., using an uninitialized variable and
    , }% n& T8 B; S" v
  419. ;                     relying on the fact it is automatically initialized to an5 \9 {1 R6 K' y" F2 S" \# r
  420. ;                     empty string)# Y: H) Y1 m* B; z+ E. M' W
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes" @2 |, t- m& z+ a: p* ]# b  e
  422. ;                     to your code which will ensure the best interoperability3 o. `. s# m; M+ T% N; P/ g* K/ P
  423. ;                     and forward compatibility of your code
    ' ^& u( k3 D. ~( T# |" D1 b( T
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    . v* @, @1 C& w3 _6 {( _
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ; r+ R8 ]- W' ^6 ?6 b
  426. ;                     initial startup
    $ z& M5 f$ \0 m: W8 ?
  427. ; E_COMPILE_ERROR   - fatal compile-time errors- {: n7 v8 c7 V5 O
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    6 U/ G4 w: C1 n' t; V% E5 O: a! b
  429. ; E_USER_ERROR      - user-generated error message' S. Q9 n8 `% J. t" {; n# p5 ~
  430. ; E_USER_WARNING    - user-generated warning message
    * D! R# O4 L! d- A8 f
  431. ; E_USER_NOTICE     - user-generated notice message
    / }; n+ C; F& g, i2 n
  432. ; E_DEPRECATED      - warn about code that will not work in future versions" ^& ^0 l3 f: O  t
  433. ;                     of PHP) m- ^$ R; k- o5 ]: F* x9 s' J
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    + ^. A& D0 ]9 j" w2 I1 T
  435. ;7 I2 `! \0 i0 L) u+ `: R
  436. ; Common Values:
    # r' \0 b  j0 Y! L" o6 X% N
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    5 x4 S7 S% ]1 W" N- K
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    + e" D- W/ {% G$ X
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)  b$ P) s8 _5 @# X
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)2 [  W/ |3 M8 w9 I
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
      j) s5 O0 l; o8 }
  442. ; Development Value: E_ALL
    & z* Y$ f" p* A  _
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 d, t4 V2 \9 v3 V/ U3 |
  444. ; http://php.net/error-reporting8 L# s' D: e# b( d* k
  445. error_reporting = E_ALL & ~E_NOTICE
    : X( X, P$ `2 z& P) t5 i" a

  446. - B& Y6 w* U/ X2 A, ^
  447. ; This directive controls whether or not and where PHP will output errors,
    7 Q' _5 W. r' X; h9 C
  448. ; notices and warnings too. Error output is very useful during development, but* q! S- t/ s! Y( g; l- X: u
  449. ; it could be very dangerous in production environments. Depending on the code' i) L; x2 C: s+ C
  450. ; which is triggering the error, sensitive information could potentially leak1 w1 l2 z7 V: W2 B7 y
  451. ; out of your application such as database usernames and passwords or worse.
    0 Y# y2 J1 O  s
  452. ; For production environments, we recommend logging errors rather than# Q, x4 c! a2 b3 B4 \9 |0 y
  453. ; sending them to STDOUT./ N' c% j% W# ^3 Z
  454. ; Possible Values:
    ' v: _- n: l* Y6 q% c6 p
  455. ;   Off = Do not display any errors
    , z8 o4 f5 ~2 {
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    9 g; h! y$ c- v
  457. ;   On or stdout = Display errors to STDOUT& w4 u' ?0 ?( \2 K, |
  458. ; Default Value: On, P1 D0 j  X1 ?2 U
  459. ; Development Value: On
    ; J& p( D/ B. q6 Y! u' i6 I
  460. ; Production Value: Off  z2 R5 `1 P& _3 a: P
  461. ; http://php.net/display-errors" V* A- U5 k! d/ [
  462. display_errors = On
    - v6 S( R- g" `8 o0 \( A

  463. 3 D3 F0 q5 k' X! J" X
  464. ; The display of errors which occur during PHP's startup sequence are handled) G+ Q4 F3 B4 u; H
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    ! q3 l+ w; {( o& y- @$ q
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    5 l. U: a7 O1 O& _  ?. Y3 Z
  467. ; debugging configuration problems. We strongly recommend you
    - e0 q* U  v, A
  468. ; set this to 'off' for production servers.
    * ]) S1 T0 C% [- x0 ]2 P6 `8 e& V
  469. ; Default Value: Off- T2 @) k* d( @$ f
  470. ; Development Value: On4 [/ Z* ]9 F9 h( N+ ]
  471. ; Production Value: Off" W/ R. W  ~- t# s
  472. ; http://php.net/display-startup-errors. h: [! p! ~# ^& `
  473. display_startup_errors = Off2 o" I1 n: g# K

  474. 5 z( c2 N: K% o4 M  p
  475. ; Besides displaying errors, PHP can also log errors to locations such as a. W% K, U" R* q! G- }2 p2 R" l9 M# H
  476. ; server-specific log, STDERR, or a location specified by the error_log. l  V+ E1 ?+ T  l
  477. ; directive found below. While errors should not be displayed on productions
    $ l, f# f: @& }! z0 T  p
  478. ; servers they should still be monitored and logging is a great way to do that.
    " G6 W0 \' F. S1 [3 f% u  G
  479. ; Default Value: Off
    6 @" d# R) a  e3 `7 q( E4 Y
  480. ; Development Value: On  O2 L( B4 C) H8 W$ {
  481. ; Production Value: On
    : c" D& m6 y( C
  482. ; http://php.net/log-errors- D, V: f5 `! y/ ~
  483. log_errors = On
    ( K9 ^, Y* J0 p! i# c' a9 P3 i
  484. 7 O0 [# \1 @: ~& Z2 G* C3 P* ~
  485. ; Set maximum length of log_errors. In error_log information about the source is' i3 g. i: [* M6 R- k+ K
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ) J# c& A1 ~+ `+ I
  487. ; http://php.net/log-errors-max-len
    + d- D# J4 w% \9 m
  488. log_errors_max_len = 1024
    ; J; x, T1 f! p4 L9 Q
  489. 2 J4 S4 T" D+ g: [$ F" S8 V' T
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    - _8 h8 k8 q& ^7 j& N
  491. ; line unless ignore_repeated_source is set true.8 M6 A) ~( M! W3 _) J! U- L* E) V2 k
  492. ; http://php.net/ignore-repeated-errors
    9 Z9 g( S7 A/ h6 ]+ i
  493. ignore_repeated_errors = Off
    # U3 T3 F- v# _' u! q6 G

  494. ' l8 y5 ^$ p- r2 ?( G$ N8 B: u
  495. ; Ignore source of message when ignoring repeated messages. When this setting0 R4 Q0 e5 Y# d- m! j9 H" u
  496. ; is On you will not log errors with repeated messages from different files or
    & q, i; r' k+ N/ }* G
  497. ; source lines.- L( D, z7 m1 u3 s. d1 @
  498. ; http://php.net/ignore-repeated-source4 z' _; T/ f0 h9 Y3 x# H, @
  499. ignore_repeated_source = Off
    ' ]1 z9 O% [& ?5 q) U" L

  500. % [) X' r$ ]! f& L5 e" s
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on$ b* Q- U5 H. k7 y! h
  502. ; stdout or in the log). This has only effect in a debug compile, and if/ @  @8 _7 C' i9 G
  503. ; error reporting includes E_WARNING in the allowed list
    % o9 }- S) ^# L: g6 d' _0 p5 ^
  504. ; http://php.net/report-memleaks( t( j, [9 O$ E- R1 {: w
  505. report_memleaks = On' m, H  u1 n- I) E& }8 j" k1 I

  506. % l) {" s; X8 M7 r9 T% U+ ]
  507. ; This setting is on by default.
    * a4 S' [! S% C' W; f9 j; S
  508. ;report_zend_debug = 01 g: s5 @/ {' g3 z6 ~/ O6 d

  509. ; I; c$ h% O, I$ ]2 j6 @  `0 \
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    5 q. i2 ~& a% E( A2 F/ W" x
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    ; x* e$ s+ t9 \! D' q( p+ J, x
  512. ; however be disabled on production servers.
    5 X; k' P% P0 G( L3 m
  513. ; Default Value: Off: Z1 Z& }6 D) W0 {$ C# |" u
  514. ; Development Value: On
    2 N- P" L- m' g5 Y- U3 Y
  515. ; Production Value: Off- V8 u- c& F- J# v# F1 a  y
  516. ; http://php.net/track-errors; u2 z! {* V9 K6 l* D8 |
  517. track_errors = Off) n8 m5 |* o( m6 `: k

  518. 5 i; q5 Q, C( E' s! r7 G
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    $ M3 q3 Q1 V3 ~1 x
  520. ; http://php.net/xmlrpc-errors# |+ g$ w! r" u, ]0 p+ ^. @; M
  521. ;xmlrpc_errors = 0* l8 p: Q, y" }. k6 Y- }3 j
  522. 7 g- b0 E. b$ y- X3 t
  523. ; An XML-RPC faultCode. n9 b( t0 }) b. \: r
  524. ;xmlrpc_error_number = 0
    1 ]. x# l# o6 l4 b  `# {3 z& a
  525. , z: i1 R% j  L* K& G
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    $ [  u' A4 C  u* {3 z% ~
  527. ; error message as HTML for easier reading. This directive controls whether, G6 u9 O% L3 q7 @
  528. ; the error message is formatted as HTML or not.
    ' g4 A, R' n  @% {3 b' V
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    7 c  K* @0 p$ {2 p: U6 \6 \
  530. ; Default Value: On
    / J6 J6 ^9 @+ o7 v7 l
  531. ; Development Value: On$ e$ X9 o' o6 q0 [
  532. ; Production value: On! y; r) P# a! |
  533. ; http://php.net/html-errors; C% t6 l& X) M/ E+ r# e; y
  534. html_errors = On, F/ D, N! G# q; A
  535. 7 W4 N# c' _0 [8 ]/ y) K. W
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    1 ^2 z" T. z1 z" R  G4 U; x
  537. ; produces clickable error messages that direct to a page describing the error7 |& J# D5 @& q% G6 C
  538. ; or function causing the error in detail.& {  c, ]  F+ P6 y+ X. A* b- P
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    / _, A+ {# d8 l
  540. ; and change docref_root to the base URL of your local copy including the
      W( H9 j/ ], u
  541. ; leading '/'. You must also specify the file extension being used including- v3 b+ P$ ^$ ]% H3 |
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which: n2 w/ h9 m/ [6 B$ \& [: I; m
  543. ; case no links to documentation are generated.$ {" [7 r) @" i1 f# F
  544. ; Note: Never use this feature for production boxes.4 a5 k5 r6 V8 g, j6 p
  545. ; http://php.net/docref-root
    : z2 [; T8 d% u4 r& b& ]  u
  546. ; Examples7 x4 S9 ^" c# x8 D
  547. ;docref_root = "/phpmanual/"
    1 V8 {  K9 w2 R5 _

  548. & H( ^' e  X6 L0 |) ^" j
  549. ; http://php.net/docref-ext
    , a6 L- K" d  U; V
  550. ;docref_ext = .html* o' p& ]% J- i% h( P
  551. 3 E+ w, D" T- P5 }. h
  552. ; String to output before an error message. PHP's default behavior is to leave
    , t, ~& T0 B8 ^2 R- w: _1 Q
  553. ; this setting blank.2 J+ m$ q: n7 x
  554. ; http://php.net/error-prepend-string
    % K2 c! X/ N% `2 s. T, p
  555. ; Example:1 d) a% h" N4 c1 A, R. }. E
  556. ;error_prepend_string = "<span style='color: #ff0000'>"8 m* l! ~# b  \- `0 e/ m" d+ V
  557. ' h5 m$ i# _$ t" v
  558. ; String to output after an error message. PHP's default behavior is to leave  A: ]; g9 a, @
  559. ; this setting blank.- r, A+ n# Z) k& z  Q$ M, o
  560. ; http://php.net/error-append-string
    # t, K/ J4 P% ^$ @6 E9 [6 K" A
  561. ; Example:
    * i4 R% ]% q  O. f% n4 p
  562. ;error_append_string = "</span>"3 \: Z/ D2 H5 ^; e0 w* O

  563. ( ]+ Z3 }: o: A% f
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    . X9 L1 z$ J! G9 T4 _, w6 @
  565. ; empty.8 z) ]' B4 U: }* R( G5 u
  566. ; http://php.net/error-log
    1 Q6 s" E) L' O7 ~4 j. g3 d2 V! a- l6 T" G
  567. ; Example:
    ) V: I6 l9 A9 {9 N& _& r2 b7 r
  568. ;error_log = php_errors.log5 Y5 h7 d: k& X
  569. ; Log errors to syslog (Event Log on Windows).
    3 s" r9 a: g" d7 V* {- }" e
  570. ;error_log = syslog; p6 J& ^% q! J( s

  571. 8 p1 Q1 k2 K4 h) Y: O
  572. ;windows.show_crt_warning: E% n4 P$ p3 O- m% e
  573. ; Default value: 08 H" |# l3 A8 z
  574. ; Development value: 01 Y1 K" G' Z4 q. [0 x4 j' ~) b
  575. ; Production value: 04 P; \2 e( {( j! D

  576. 4 T$ H6 a) Q6 J8 H4 z2 Z6 L) i
  577. ;;;;;;;;;;;;;;;;;: _& \8 X/ E/ K
  578. ; Data Handling ;. ~' ]' J& A7 g( U- @
  579. ;;;;;;;;;;;;;;;;;  {# E, U! s& @9 Z4 A- p- C
  580. - ]" Z( f8 P4 D( N9 i* Q) G
  581. ; The separator used in PHP generated URLs to separate arguments./ x- N# n+ t, ~) J: r7 V, a1 A; I
  582. ; PHP's default setting is "&".
    ( Y/ X1 o( n: Q  \4 j8 m
  583. ; http://php.net/arg-separator.output7 _$ W0 }+ B7 y9 x+ F9 Z2 F
  584. ; Example:' n' v- O7 c- }# z% H8 M2 E
  585. ;arg_separator.output = "&"( |5 H9 w2 u% `: D' w- F' N& U- y/ c
  586. ; [4 t4 e  s8 u
  587. ; List of separator(s) used by PHP to parse input URLs into variables.1 V  q- m$ \" z
  588. ; PHP's default setting is "&".7 U) M: Q$ u3 e, v
  589. ; NOTE: Every character in this directive is considered as separator!( o1 `- b& L. |$ H7 r6 e' `
  590. ; http://php.net/arg-separator.input  N: I; H- V8 {! m: {6 S
  591. ; Example:' c9 Y3 u/ |; H
  592. ;arg_separator.input = ";&"
    3 d) B( P% l: u

  593. 2 X6 F) R6 n4 I- J- H  t
  594. ; This directive determines which super global arrays are registered when PHP
    # n% N" u3 U- L  `, h
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super, R; N$ o8 f/ [: w
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty+ j0 z" d; W! I( s' e
  597. ; paid for the registration of these arrays and because ENV is not as commonly& U, {3 E- {* P$ u8 F# I: T
  598. ; used as the others, ENV is not recommended on productions servers. You  O4 b% I0 g6 [
  599. ; can still get access to the environment variables through getenv() should you
    " }" x8 S3 F1 B5 v1 B
  600. ; need to.; f9 I  m: o" P+ D2 ^, V8 j* p/ Q1 F
  601. ; Default Value: "EGPCS"
    2 |$ M  P& o: _
  602. ; Development Value: "GPCS"
    : m! h. `2 \! B& `- f& _
  603. ; Production Value: "GPCS";
    % Y) C2 C( W% m$ K$ f
  604. ; http://php.net/variables-order/ P  s0 y1 h& \3 P" J$ E
  605. variables_order = "GPCS"
    + Q. l" Z; L8 h# `$ h2 G
  606. ( q3 U0 C, n" P0 P
  607. ; This directive determines which super global data (G,P & C) should be
    3 B0 e$ s2 [3 O7 x! J1 `
  608. ; registered into the super global array REQUEST. If so, it also determines7 G  [2 C) w4 p4 ]: Q  x/ w
  609. ; the order in which that data is registered. The values for this directive
    + G+ ^; A( `& e
  610. ; are specified in the same manner as the variables_order directive,
    , {: C+ x8 j4 R/ m& i! w
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    . C0 M: X$ V3 D& {3 b' J
  612. ; in the variables_order directive. It does not mean it will leave the super  ?3 i! g/ j/ s$ R  M
  613. ; globals array REQUEST empty.
    - _* x+ W# p6 o' K3 y
  614. ; Default Value: None
    & G& Z- M% Y# B0 U9 X
  615. ; Development Value: "GP"
    ; F6 @/ J+ q* D) u0 K
  616. ; Production Value: "GP"
    ) N6 {2 l4 P% K* y. y
  617. ; http://php.net/request-order
    . u4 U/ c6 T. @6 z/ c2 c, ?
  618. request_order = "GP"
    + R6 ~0 a4 |( [
  619. 6 |0 F" E, |/ R. b+ L- {
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    3 z% R9 f2 L0 N8 ^" E/ z
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script2 O- P. ?- _: ^- f
  622. ; is invoked. $argc contains an integer representing the number of arguments+ b0 n$ P" g* Y4 ]6 M
  623. ; that were passed when the script was invoked. These arrays are extremely
    " @3 f: J: `. c5 k
  624. ; useful when running scripts from the command line. When this directive is  A  X/ M7 w5 \& H; E2 I  A+ c$ s
  625. ; enabled, registering these variables consumes CPU cycles and memory each time: P' P9 Y" O1 u1 d
  626. ; a script is executed. For performance reasons, this feature should be disabled
    ( t7 t7 U% g1 s7 q% Y( v# u5 [
  627. ; on production servers.
    / X7 u; `3 @8 s& q5 y: s2 i% x
  628. ; Note: This directive is hardcoded to On for the CLI SAPI8 ^3 `. w1 F/ M6 K+ r2 h$ C
  629. ; Default Value: On
    3 N& ?* r2 ~9 A! l/ u+ z
  630. ; Development Value: Off1 }( X+ M6 T" e  n0 i+ C
  631. ; Production Value: Off
    ) q& t9 I, t1 M! v
  632. ; http://php.net/register-argc-argv
    ! C" [- q' b9 B2 Q  }5 K2 |
  633. register_argc_argv = Off: i, Y/ {6 a. \* n) j& q% L4 a5 l

  634. 6 X* m# p/ a9 ?2 n, z. S
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    5 j" ]. S7 j8 w/ W2 D7 }
  636. ; first used (Just In Time) instead of when the script starts. If these
    8 w" o' m. n7 G3 L6 w( F* ^' E
  637. ; variables are not used within a script, having this directive on will result4 N9 L# ]2 e* e
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled' L! Y/ d  T5 |, x8 F
  639. ; for this directive to have any affect.) d; Z1 W! \* l, ]5 R# P% h; z
  640. ; http://php.net/auto-globals-jit
    ' ?2 A. H  w7 l9 X, ~- b! a
  641. auto_globals_jit = On
    3 I6 i* e; K0 v' }1 Q! A. o) \! b
  642. - Y  K( u6 @' w$ D& S+ P' h
  643. ; Whether PHP will read the POST data.
    ) p( z7 Z1 c# ?4 ~+ j  g
  644. ; This option is enabled by default.
    ( Z  F( y9 ?2 I5 l2 [, T0 q
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    7 d5 U4 }; u/ N( _% m6 b. {% g
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    % D8 l( P1 L  G+ D) X
  647. ; POST data will be through the php://input stream wrapper. This can be useful$ H& H$ k( N) r% V' w; ?
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    , u- `1 [9 Y% X- u( V
  649. ; http://php.net/enable-post-data-reading
    ' ?% U& j  O4 W& i' F
  650. ;enable_post_data_reading = Off
    8 o) _; Q% Q8 C* }& e9 q' [% l, Z2 y
  651. & r7 N5 m# S& O: f% g# M
  652. ; Maximum size of POST data that PHP will accept.5 l/ i6 e' I9 @2 N% v/ S
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading1 R3 ^2 M" c9 f0 o
  654. ; is disabled through enable_post_data_reading.
    5 s" r- R+ l/ o" d4 E3 U
  655. ; http://php.net/post-max-size
    2 E# D2 X' f; u9 E( G" ^
  656. post_max_size = 50M
    ! e+ a# y2 _2 ~; j) T
  657. ; m+ m) ~: ^/ g0 s1 S" T
  658. ; Automatically add files before PHP document.5 E4 {2 n  a" e0 ~; j2 O# j
  659. ; http://php.net/auto-prepend-file/ q7 L3 {3 d4 Q% r$ R
  660. auto_prepend_file =
      D3 t: T; Z0 T) Y
  661. * N: Y# r& V( {# w
  662. ; Automatically add files after PHP document.4 e6 B8 h, X' u3 o
  663. ; http://php.net/auto-append-file3 M0 L$ P) C$ z" R/ P
  664. auto_append_file =, N$ l% \6 `& s) i/ ^/ U

  665. ( ^5 e0 x. i& f3 S$ q# ]$ E
  666. ; By default, PHP will output a media type using the Content-Type header. To
    3 I' h( X6 }5 S) R: X
  667. ; disable this, simply set it to be empty.
      S* B0 k) f5 @4 |' ]: u
  668. ;
    $ a6 ~: R: ^% q" P$ h
  669. ; PHP's built-in default media type is set to text/html.
    ' D) E7 u' B4 p' |% `9 h
  670. ; http://php.net/default-mimetype7 `, P( p( y' F( _' W: y
  671. default_mimetype = "text/html": N3 ]2 h! l0 J6 ?; o% p/ t9 @7 d

  672. . l, V4 v3 P8 D. S
  673. ; PHP's default character set is set to UTF-8.; s" K" V& I" I# C( |  t' B/ V/ A
  674. ; http://php.net/default-charset
    . z; u$ I7 _4 V5 p' w& v
  675. default_charset = "UTF-8"+ `; V; c& Q, ?0 r3 F2 e
  676. ) ?$ p, \4 c6 E- n" L5 ~
  677. ; PHP internal character encoding is set to empty.
    " {- a1 u, |( g+ \$ [# G
  678. ; If empty, default_charset is used.( F' F3 l& t: D3 x. T
  679. ; http://php.net/internal-encoding5 {% {: C- k. u( w% Q3 ?
  680. ;internal_encoding =" D) _- {( d: f" b* o9 _

  681. 5 Q. l% n2 P6 P. n
  682. ; PHP input character encoding is set to empty.
    - N# t9 P6 \5 a$ v: H& o! a. g
  683. ; If empty, default_charset is used.
    ( Q9 t/ h" G. K% _  M5 }
  684. ; http://php.net/input-encoding
    0 D; \( r0 Y, W* A( J) ?' j
  685. ;input_encoding =
    , W/ T$ I1 Q0 F7 C' i
  686. : ^. b1 R5 O4 `; N5 i
  687. ; PHP output character encoding is set to empty.
      D) Z( O5 m$ k" O# A/ S: x% @0 Y+ }
  688. ; If empty, default_charset is used.2 `7 l0 m5 ^# q7 y; V$ k1 x9 m: `
  689. ; See also output_buffer.4 Y2 T, k# a0 r" J6 O" a; [9 i
  690. ; http://php.net/output-encoding! Z0 x! w) A) u- i' h2 ~: t
  691. ;output_encoding =# C( ?  L9 ^; J0 _6 _1 m

  692. : ?* y% p( z& a, ?! V# ]' u$ }
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;5 d0 n( W: d' m
  694. ; Paths and Directories ;& _, P" ~' b" a! M
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;/ Y+ B% v' V) w- v! V
  696. ; O4 J, n" V1 D
  697. ; UNIX: "/path1:/path2"
    . Y; M* Y/ @9 M* Z- F; q
  698. ;include_path = ".:/php/includes"
      o1 I' H) @$ }' g, G9 K
  699. ;4 p* l- X' ?8 z  z7 f
  700. ; Windows: "\path1;\path2"
    & X$ b) B; w- r6 H) [0 }
  701. ;include_path = ".;c:\php\includes"
    # i$ c' s  |: m
  702. ;
    . U5 N2 d3 c: }
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"% |5 m0 {# j. Y2 E9 F- n" B
  704. ; http://php.net/include-path
    # a+ }, w3 Y) |8 {
  705. " ~# [+ ]* U. k. \4 R3 {8 q+ u
  706. ; The root of the PHP pages, used only if nonempty.  C2 I1 _) Z6 f8 C* b! u
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root3 O4 R( q$ J* Z6 B+ c" d+ s
  708. ; if you are running php as a CGI under any web server (other than IIS)
    & l. u) `* F$ S/ r) C5 e0 q  t
  709. ; see documentation for security issues.  The alternate is to use the
    9 c) H2 ]6 J% z6 x+ L' D7 C
  710. ; cgi.force_redirect configuration below3 C9 h1 [: q5 q5 t8 k# b  J
  711. ; http://php.net/doc-root+ t  R: L4 j2 X' W2 W6 \5 E; O
  712. doc_root =
    ! ]5 }$ t3 ^3 b7 B
  713. ( d3 b9 P1 N* s  I0 `
  714. ; The directory under which PHP opens the script using /~username used only
    2 x  p, n* d0 }' G: c5 e) i
  715. ; if nonempty.* S$ q4 d+ @& H( x+ W- ]
  716. ; http://php.net/user-dir
      D  m$ ]8 ~5 k( B" }2 ^, ?
  717. user_dir =
    $ Q+ M, k6 U" d! g, Y, o

  718. 2 |  K1 ^7 o) o# L3 M9 f
  719. ; Directory in which the loadable extensions (modules) reside.
    * Y/ r# J7 n4 N5 A1 N: m
  720. ; http://php.net/extension-dir
    2 {, e, X2 E7 w: s* y# L2 G
  721. ; extension_dir = "./"
    + b, H7 D5 X2 v( O
  722. ; On windows:
    , l* \) R& ?; b! H
  723. ; extension_dir = "ext"
    2 y: t, B  _( b1 a
  724. " F( b. G, R  \/ P8 Z5 b0 [4 o
  725. ; Directory where the temporary files should be placed.
    % B3 R4 Y/ K$ _/ r6 W, N
  726. ; Defaults to the system default (see sys_get_temp_dir), `3 }+ F" ]4 t( o5 O
  727. ; sys_temp_dir = "/tmp"  t+ v; v4 H- M# v
  728. + ?; Q; z7 C* @& E" x
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work/ j" q6 [/ g* h: n
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically) z! m- C5 u8 L& t; j1 F) s# [
  731. ; disabled on them.
    9 \- `' [: O8 t! r" |& B- H
  732. ; http://php.net/enable-dl
    9 b* u: k3 Z5 i
  733. enable_dl = Off% t% b: U+ s7 _5 z: Y& l6 {

  734. % H: ?- s) |* C, c
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under. J0 i$ C; @) z8 ^
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    . J% P2 q: D, U  T) G
  737. ; turn it off here AT YOUR OWN RISK1 |: v8 E1 z- S3 ]4 N
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    - C6 [) P' [# J1 g& R6 i- t
  739. ; http://php.net/cgi.force-redirect, H$ n3 ~3 Q# w0 Z
  740. ;cgi.force_redirect = 1
    & @) P# E7 x8 J! q( d3 c

  741. 5 L2 b# h5 i9 q* x; j  O8 r
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    " r/ X4 ?3 h" ?/ R  ?, Y
  743. ; every request. PHP's default behavior is to disable this feature.
    + Q9 k) t2 G; p6 ^1 X
  744. ;cgi.nph = 1
    " f& s$ O% F- e1 M3 u
  745. & H8 ?! r7 V# \1 c
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    6 K  ^/ e0 P# W+ B$ T5 f+ H" I# W
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
      {( I+ s& I6 B. N# y$ s
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY3 y% i0 J4 g$ ]. Q1 ]% {
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    9 Y/ h9 ]6 T7 f
  750. ; http://php.net/cgi.redirect-status-env* \, Q$ u+ _* \- y
  751. ;cgi.redirect_status_env =/ a- f# l$ k( E; i0 w+ _5 f! B

  752. 0 _3 l/ v0 S# D5 P! a  Q- o$ f
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's) u3 L, z* y$ H: a( S9 K9 C
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    1 u! n, ], h7 o: S- [
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting: ]) B' W6 j! y2 G& K! i" q/ ]
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting- L) Q/ m; p! Y* K. o; t& F
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    8 y! _. w' U& c& F2 Z* R( H
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.0 z1 @9 e  `9 b
  759. ; http://php.net/cgi.fix-pathinfo
    : t- ?) U9 z, d) h7 I
  760. cgi.fix_pathinfo=1- Y; g0 d2 [& D, M! H5 r
  761. . X/ ]& o& E9 \! s2 E* ]
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside# L; R0 T' t- K* }2 k/ O* \
  763. ; of the web tree and people will not be able to circumvent .htaccess security.7 O7 k+ F8 Q6 M! S
  764. ; http://php.net/cgi.dicard-path
    * X, k5 v. R; a1 J
  765. ;cgi.discard_path=1( ^7 y# d: r6 Z0 c- @% k0 i' r- J

  766. ( g5 O$ W% o, W' ?3 z# c+ ?
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ! x4 W" f/ R; X
  768. ; security tokens of the calling client.  This allows IIS to define the0 a5 @7 j: ?( n- m, F/ ~* A. B
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    - T8 t) [" h, q1 F8 J, r
  770. ; does not currently support this feature (03/17/2002)
    4 Q* U* k! A8 u2 j8 q4 i# ^
  771. ; Set to 1 if running under IIS.  Default is zero.  |  W% N4 P5 D8 s/ m; g0 j
  772. ; http://php.net/fastcgi.impersonate
    1 \# m' a0 w$ y/ a0 S5 \
  773. ;fastcgi.impersonate = 1
    ; G" _' f0 A: F
  774. / g7 ?  ^: v( f, K( E
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    1 q7 G* k# a0 @, V
  776. ; this feature.
      [9 J7 o/ r' S0 l
  777. ;fastcgi.logging = 0& G  m  u0 w2 V4 w% V/ D

  778. 3 H5 K4 j+ g$ ?  B0 L" K6 H
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    8 z# m' e4 D' x; ?6 x
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    % ]1 y+ g3 ~6 a
  781. ; is supported by Apache. When this option is set to 1, PHP will send: w, f9 V( A$ X
  782. ; RFC2616 compliant header.
    ! j8 o/ \: n. ~9 s/ b7 q# {
  783. ; Default is zero.
    9 T* k0 s) u6 l! M& o7 ?& |* U: z
  784. ; http://php.net/cgi.rfc2616-headers
    & b4 g1 _! I) d! ?' T* N0 I
  785. ;cgi.rfc2616_headers = 0& R  r3 a3 O1 U1 ^+ L! d) Y
  786. 0 V! B6 A# y/ X% g( I
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!& T. T3 e+ x, f/ y3 P6 l8 f1 \2 K
  788. ; (shebang) at the top of the running script. This line might be needed if the
    . j% y* p! Z0 V1 j
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI7 x5 d/ D7 m  a, a4 ?
  790. ; mode skips this line and ignores its content if this directive is turned on.: N7 G0 V$ s# H
  791. ; http://php.net/cgi.check-shebang-line
    $ V) L/ L2 o3 ]4 ]6 [
  792. ;cgi.check_shebang_line=1
    4 W2 u" b+ H( G5 p- K$ B

  793. ! g( N, k  I6 B1 q8 n
  794. ;;;;;;;;;;;;;;;;8 u& @6 y: X1 d: y$ Z* j
  795. ; File Uploads ;
    1 B5 Z, i! a# v6 U' E0 _
  796. ;;;;;;;;;;;;;;;;
    7 Y9 _0 B, i0 x( S  \% h
  797. ) _5 f5 p: Q; o* C, G
  798. ; Whether to allow HTTP file uploads.6 v- v# M7 l5 T4 b/ N
  799. ; http://php.net/file-uploads
    3 i7 @) K. q+ X3 L% v$ R
  800. file_uploads = On) o; N4 u! x/ s6 w7 F  \8 k% p

  801. % v/ M! Y+ K3 _1 G+ \
  802. ; Temporary directory for HTTP uploaded files (will use system default if not2 J3 O' f2 b+ [9 z* k# E
  803. ; specified).
    9 n, z% l5 F& C  y, v0 ^+ D
  804. ; http://php.net/upload-tmp-dir
    ' c6 u* r" j" b) f/ q
  805. ;upload_tmp_dir =
    + r& N! V1 C$ B" l
  806. " O$ n( N  u, K: j4 d' J
  807. ; Maximum allowed size for uploaded files.
    % W+ ^: I2 ^7 Y4 T  L# R8 D( |
  808. ; http://php.net/upload-max-filesize# a& z5 p7 N* N; R# c& Z! c2 x
  809. upload_max_filesize = 50M
    / Y4 ^5 L3 F8 `2 x# s/ z! R- U

  810. 6 B" l  r  k5 |) i1 }
  811. ; Maximum number of files that can be uploaded via a single request
    3 H# e, b7 p1 W8 \$ t6 G
  812. max_file_uploads = 20, N% p. _5 a2 s# V+ ]
  813. 1 v8 U0 H$ y2 h+ K6 ~
  814. ;;;;;;;;;;;;;;;;;;$ X3 f& n! m7 J' u
  815. ; Fopen wrappers ;
    0 p* y+ Z$ m$ G) r- B3 w
  816. ;;;;;;;;;;;;;;;;;;; n3 \+ M% F' |: _; h1 z! |! e

  817. ; t! Y5 p' I9 ^9 F4 b. [% Q. ?9 y/ i
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    9 T- M  X! y6 Y8 {* r7 w
  819. ; http://php.net/allow-url-fopen
    8 `3 w& M6 q' z+ u
  820. allow_url_fopen = On3 H; D: \0 y2 N4 W. F$ g5 l) p$ J; D6 _
  821. ) W# ^+ e3 ~1 T& ~2 @) J9 z
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.$ F  A7 ~1 p. V. q5 C+ V( |
  823. ; http://php.net/allow-url-include
    5 E# F5 l& C5 K+ K
  824. allow_url_include = Off6 Q% K! q6 ^0 w5 Q
  825. ) w. D. c4 E4 y, s
  826. ; Define the anonymous ftp password (your email address). PHP's default setting0 P# U% D& Y9 J# \
  827. ; for this is empty.7 F7 v& c$ {: D' s. N  f2 y# R
  828. ; http://php.net/from' l* K  O. l, X4 p0 H0 q) s
  829. ;from="john@doe.com"# M/ L$ b" Y% K) p. w

  830. & x) R- E0 z: W, w8 v6 y
  831. ; Define the User-Agent string. PHP's default setting for this is empty.7 j, m( `3 f( d( r& [+ X0 P( a
  832. ; http://php.net/user-agent1 L& W/ x  C1 [5 [5 W
  833. ;user_agent="PHP"4 U" W. @9 O1 Z& r  V* Y

  834. ' j0 X3 h1 H/ m4 |  ^- b+ l8 k4 R/ R
  835. ; Default timeout for socket based streams (seconds)
    + b7 v8 K9 F' g# y% c0 p" I
  836. ; http://php.net/default-socket-timeout
    + D. z& J1 n6 [! R
  837. default_socket_timeout = 60
    , N" C4 k# x; L( L1 A  s
  838. : g6 ~0 ~$ ^6 g+ X) {4 q1 I
  839. ; If your scripts have to deal with files from Macintosh systems,$ J9 u# j$ }& h. `  f8 @; z
  840. ; or you are running on a Mac and need to deal with files from! q  k" `0 ~0 E0 |5 p1 X  E
  841. ; unix or win32 systems, setting this flag will cause PHP to, |3 d& A' D0 ]0 ~1 a4 J" s
  842. ; automatically detect the EOL character in those files so that) Y$ Z6 m' A# I5 v
  843. ; fgets() and file() will work regardless of the source of the file.8 G5 Z+ U: _, s+ V  q. c. H& P
  844. ; http://php.net/auto-detect-line-endings5 ^; g0 T0 f9 [
  845. ;auto_detect_line_endings = Off
    - C$ W$ I2 L$ Q! p5 e
  846. ' u% V' }* f; U5 N6 C  A% }
  847. ;;;;;;;;;;;;;;;;;;;;;;$ @  K7 l4 r& i% Q$ f4 X
  848. ; Dynamic Extensions ;
    / i4 V- w/ G. {' [4 e
  849. ;;;;;;;;;;;;;;;;;;;;;;
    ' t1 r- `- o7 x  W

  850. - ]. c( h, k; G( Z; q% C
  851. ; If you wish to have an extension loaded automatically, use the following
    2 a% y$ B3 ~; {$ h3 M& U
  852. ; syntax:2 T$ L& `8 M5 Y5 z' u# ?
  853. ;, r( m3 i1 G+ Q
  854. ;   extension=modulename.extension
    6 R0 v& n* x. ^: @3 S8 Z( l5 ]
  855. ;9 I2 O: W3 j; P8 j3 l
  856. ; For example, on Windows:
    1 g4 ^. J3 D2 i$ X0 L4 l5 `
  857. ;4 }6 V. M" z8 }0 C/ f
  858. ;   extension=msql.dll
    " c6 |* Z6 H% s1 p
  859. ;
    ; t% Q* R% w/ _; C; r) Y7 G
  860. ; ... or under UNIX:; H2 v* @2 D9 J
  861. ;* ~. v' i) J5 w7 q8 d
  862. ;   extension=msql.so+ B/ Y3 ^+ m7 r% Y" H1 {
  863. ;! _0 a0 O) D+ m+ q. X% i9 Q
  864. ; ... or with a path:
    , n+ g6 E$ A' R
  865. ;/ v8 S7 Q2 G+ H& r, X
  866. ;   extension=/path/to/extension/msql.so
    2 o9 ]; S7 a8 {$ \( q, S, P
  867. ;/ O4 w& y, `0 }$ ]1 B. ^$ P
  868. ; If you only provide the name of the extension, PHP will look for it in its6 W+ c5 T- Z# m' w
  869. ; default extension directory.
    ! g  l# \/ S% o' E7 x, z4 d" h# y. W1 @
  870. ;# {+ Y  f) _8 u
  871. ; Windows Extensions' `' t; l' m# I4 y$ d- j
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    " X9 H( z. s7 ^4 A$ B
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)4 e( C9 C1 e( @3 _3 {& Z5 g
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).3 Z: T' a5 f  c. O# q: j
  875. ; Be sure to appropriately set the extension_dir directive.
      O# l, [9 d% |, D- O
  876. ;
    ( g- f$ }) h4 K5 f# Z. ]
  877. ;extension=php_bz2.dll
    6 n* I; a+ g. \  V' E
  878. ;extension=php_curl.dll  E! p" {1 x0 p6 l# ]& ^; N! |
  879. ;extension=php_fileinfo.dll; m. T- u0 H/ w6 G; @% m0 R
  880. ;extension=php_ftp.dll/ ~- }1 Y6 d! a: f& E
  881. ;extension=php_gd2.dll1 m2 N' F* w/ ~
  882. ;extension=php_gettext.dll
    ' {: `3 G* T; ~/ @7 I! b
  883. ;extension=php_gmp.dll
    $ V& p0 A5 P) C) x
  884. ;extension=php_intl.dll
    2 Q$ R5 B9 _3 o7 l
  885. ;extension=php_imap.dll. ]$ c: A" D9 ]* @) T
  886. ;extension=php_interbase.dll: A9 C" U6 w$ C
  887. ;extension=php_ldap.dll
    ' A9 e$ I6 @) R7 h
  888. ;extension=php_mbstring.dll
    0 |* V- L8 i( k. V
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it0 U) l" y4 x% ^+ S
  890. ;extension=php_mysqli.dll- z9 ]8 P9 ]. U( d
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    7 c8 t% r5 E$ j7 @" w* Z- n
  892. ;extension=php_openssl.dll- X8 L5 Z, U* A; S+ u9 i
  893. ;extension=php_pdo_firebird.dll
    # q" p$ ^- Q* ?( e+ u/ H; R
  894. ;extension=php_pdo_mysql.dll( R) M" D( W4 k0 R( f9 D
  895. ;extension=php_pdo_oci.dll
    0 S5 s: S' N, @8 \. ^4 {; P# C1 p/ L& ~
  896. ;extension=php_pdo_odbc.dll5 B5 e; [( \0 ]' j' @
  897. ;extension=php_pdo_pgsql.dll
    0 A4 g  h0 i0 b1 ^
  898. ;extension=php_pdo_sqlite.dll
    2 c( R+ K! I2 @: _! U, S3 i
  899. ;extension=php_pgsql.dll
    - j3 P: I8 F9 @
  900. ;extension=php_shmop.dll
    ( ~# {, s+ y$ r; i( |1 a* B' X

  901. # }$ F6 {* q! A
  902. ; The MIBS data available in the PHP distribution must be installed.
    6 l, G8 _' R6 y: z+ L
  903. ; See http://www.php.net/manual/en/snmp.installation.php3 X9 [9 R! T8 W
  904. ;extension=php_snmp.dll, e: t) c( t& O% D

  905. - o- B% ^8 P# r+ W/ @, L. v
  906. ;extension=php_soap.dll
    + f3 m# c1 m, G3 F
  907. ;extension=php_sockets.dll
    & F& F% X  W! k! a6 J* B( H$ V" i
  908. ;extension=php_sqlite3.dll
    ) l2 }1 O- N9 H
  909. ;extension=php_tidy.dll
    , b+ B* g+ b. ?( z9 W  O
  910. ;extension=php_xmlrpc.dll) }# i& |; l( C% X1 x& y
  911. ;extension=php_xsl.dll
    9 t: J4 ]6 M% y  B# |, ]
  912. 0 {2 B7 d" o& N+ J8 v% @( [3 a
  913. ;;;;;;;;;;;;;;;;;;;
    6 l% l5 i& h/ G) k3 s& z
  914. ; Module Settings ;
    1 q/ Q8 m- C' ~  R! B; Y6 J
  915. ;;;;;;;;;;;;;;;;;;;& b. R0 s) c% ~, ^

  916. 6 }5 H$ O5 @: q' F
  917. [CLI Server]: Q% E: E( D6 m, c- t
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.7 f, S; l4 e: G
  919. cli_server.color = On
    3 M# y# [8 |" f
  920. 5 a2 l2 {% q2 v4 l% ?9 h) s; g
  921. [Date]0 o. c! O, r8 L7 g, u1 B# l; s/ R
  922. ; Defines the default timezone used by the date functions
    ) G$ Q) B2 B+ y" O  ?" o/ }
  923. ; http://php.net/date.timezone' M# Z7 U; p( [8 D4 g
  924. date.timezone = PRC: W/ u$ Y3 h$ ~

  925. - X! z8 h: Y8 c4 I: S, T: t
  926. ; http://php.net/date.default-latitude
    % x1 S: ?6 s/ I1 |  \
  927. ;date.default_latitude = 31.7667. n$ f9 ^( @! a4 M/ g2 W

  928. 8 O1 \6 g( K5 [
  929. ; http://php.net/date.default-longitude% |' c) f: F% I7 _+ S7 V3 d0 v+ x
  930. ;date.default_longitude = 35.2333+ `" J( O4 `$ @) q  _$ U
  931. , Q9 N2 H/ M# e' ~5 ~5 Q$ U- S$ a
  932. ; http://php.net/date.sunrise-zenith
    - ^' V8 ]9 f+ J- d$ `7 u
  933. ;date.sunrise_zenith = 90.583333
    4 r$ B  w9 o, k

  934. $ o1 r1 F7 K' {/ U2 a% A+ j
  935. ; http://php.net/date.sunset-zenith/ t4 v* ^7 N4 H" [2 r) F" {1 l5 t0 v, I
  936. ;date.sunset_zenith = 90.583333' K2 w- R; q% D5 b% G/ T7 z& ?

  937. 6 g6 T0 q. N* H2 |1 q1 i
  938. [filter]
    / O7 b- U0 x' B8 d: R
  939. ; http://php.net/filter.default
    , j: o% _$ l, [( v; ^* d
  940. ;filter.default = unsafe_raw
    5 t# n6 X% Q' t0 l1 D. v: a

  941. 2 Y1 w, D' u7 J% ]' g+ e3 I$ y
  942. ; http://php.net/filter.default-flags
    4 ^1 l  S0 r( s/ z. f
  943. ;filter.default_flags =
    & i8 v1 u+ p, G3 T! u: [, M2 d
  944. $ e, q8 e3 z. _" q
  945. [iconv]
    $ R# u& M( V# P% J
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    7 t2 r& w. R5 \+ Q
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.: l: D; K, z/ R1 q* N/ h. |1 f: u
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    " Q% F! v8 o8 C6 E
  949. ;iconv.input_encoding =0 D# z6 }7 r6 \* B
  950. ' l" ^$ q  J2 j; f' ]
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.. G) Y5 I" U: M( k
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 F& A. C2 ^+ s3 V) U
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    . Q. i" Z! l  u( I
  954. ;iconv.internal_encoding =& {* ?9 \6 a: T% t

  955. , [8 B1 m. N4 f
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.5 ?9 L+ w" m3 r+ Q
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ( Y, V! F9 I. p2 V9 E! `
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding2 d, W' g) R2 v! P5 s
  959. ; To use an output encoding conversion, iconv's output handler must be set( z. t  j( p' b
  960. ; otherwise output encoding conversion cannot be performed.
    1 j4 v5 X& G' G8 O. j
  961. ;iconv.output_encoding =6 z; _$ ]1 [# H. \% W2 U

  962. - i0 G  {& m- c, [: `" j4 \3 y/ U
  963. [intl]
    . u) O' x: J3 Y& M0 a* e
  964. ;intl.default_locale =7 f$ |3 r3 a% G8 q7 G# Q* n8 }9 I
  965. ; This directive allows you to produce PHP errors when some error
    % y5 x; z# N( Y% V" D
  966. ; happens within intl functions. The value is the level of the error produced.
    5 ]/ Z8 \5 [& v  u. E
  967. ; Default is 0, which does not produce any errors.* g+ G" K" F0 P: N
  968. ;intl.error_level = E_WARNING
    + \" K- E- N! G
  969. ;intl.use_exceptions = 0: N& \5 o; X5 c1 R6 e' n/ l
  970. & r) r) }' Q- Z5 s" t9 r/ y  J8 ^+ _6 D2 j
  971. [sqlite3]! c9 p6 Z+ {7 c5 g$ _. w
  972. ;sqlite3.extension_dir =/ u* ]4 F0 P# c
  973. " N6 M8 g2 m: C/ D6 F: W5 o4 c
  974. [Pcre]
    1 p( ~  W; |+ Z! h: z( s
  975. ;PCRE library backtracking limit.# D; P3 r, J; B' D6 X& ^  g
  976. ; http://php.net/pcre.backtrack-limit: }0 I' C" s+ G) H7 L+ u, V
  977. ;pcre.backtrack_limit=100000- D  A$ B7 o2 c8 E+ W% w- I: L9 W5 ?

  978. 6 D9 J& u( N$ M
  979. ;PCRE library recursion limit.1 r: E7 k2 ]/ v' p7 t" ]3 ]7 d4 v
  980. ;Please note that if you set this value to a high number you may consume all
    % B1 q/ v9 W( T7 _. M3 K
  981. ;the available process stack and eventually crash PHP (due to reaching the
    ( O0 g3 b" Y' J
  982. ;stack size limit imposed by the Operating System).7 {9 a7 U- K  {! R# e( z
  983. ; http://php.net/pcre.recursion-limit
    7 y  w; V% w- \5 f; }/ \
  984. ;pcre.recursion_limit=100000
    % S, ?* f; u6 i" |' d$ M# B
  985. # q8 a) h2 [3 T4 h; `8 Q
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    * p7 p- m0 Y8 j- o
  987. ;library to be compiled with JIT support.
    0 X$ M2 F) x# H1 m* w1 ?& v, d+ E+ ^
  988. ;pcre.jit=1
    1 L: m/ G) z" ]

  989. 0 A0 o- Z3 j+ q) f, `6 \4 q
  990. [Pdo]7 W( {' X0 ^9 n5 ]1 ^* E
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"# z9 |9 C5 _' l. P# [
  992. ; http://php.net/pdo-odbc.connection-pooling
    * X9 Y$ x: [, z1 A" H% l9 u2 k( p
  993. ;pdo_odbc.connection_pooling=strict
    # I- [% l* I/ d( y2 P* M6 [" f. g
  994. 7 c! m  n3 d' M1 p, P  @
  995. ;pdo_odbc.db2_instance_name
    ' A& {' p; Y7 w: \7 N1 J8 L

  996. ; Z2 J: y6 v$ W* ?' a1 l* |
  997. [Pdo_mysql]
    ; `( L. z+ I+ s- u, k% J. b
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache3 p& V0 e! e$ \. H: n
  999. ; http://php.net/pdo_mysql.cache_size! A0 Z; S  z: C" |) }
  1000. pdo_mysql.cache_size = 2000
    ! i: b6 d2 F0 ]4 J8 l  C2 U

  1001. : r. N# ^& p3 H  m8 a& I9 L* G
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ) m8 A  e$ k4 w
  1003. ; MySQL defaults.  n6 ^" @5 H9 @  e' z
  1004. ; http://php.net/pdo_mysql.default-socket/ z4 \8 {$ p% x
  1005. pdo_mysql.default_socket=
    1 D( C' T+ {3 X" [  z4 ^
  1006. 8 L/ o' F+ _+ N( G4 _
  1007. [Phar]% n# }5 N# K. r
  1008. ; http://php.net/phar.readonly
    1 H' S/ `% {! J& D: H
  1009. ;phar.readonly = On8 e0 F4 O' g9 u, H' L1 L. N+ B

  1010. 8 Q# D, D6 c7 d) v; o& `, ?
  1011. ; http://php.net/phar.require-hash
    * L; u2 Q+ K* N
  1012. ;phar.require_hash = On
    - Q$ {; @$ Z1 i7 D

  1013. # ~! L0 V4 K& s* U2 g
  1014. ;phar.cache_list =! D6 n9 ~, W3 _% w3 D4 _
  1015. ! G. r( _* N, X7 i4 ?3 C2 _1 @# M
  1016. [mail function]
    # H5 S2 s" H! k2 y4 V9 w
  1017. ; For Win32 only./ C$ {# ]; z0 b$ N
  1018. ; http://php.net/smtp
    1 v, O( M" _# ~& i( K
  1019. SMTP = localhost( F8 @  w0 O+ {4 ^! V
  1020. ; http://php.net/smtp-port
    ; E5 }$ T. ~1 @- w0 s
  1021. smtp_port = 25# ^& C) E% \) r$ x
  1022. " G6 V- ^; I& [5 f0 y$ E) X
  1023. ; For Win32 only., b# G, P" S1 i) {; g4 q" Y# g$ a
  1024. ; http://php.net/sendmail-from3 F0 c4 _1 k4 h) W
  1025. ;sendmail_from = me@example.com
    # D, e: k9 n9 t& t$ A7 ?

  1026. / P( K5 u/ C# d- _9 Y, Z6 t
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").. P7 d( d9 S" W7 d8 n$ M
  1028. ; http://php.net/sendmail-path
    8 N- |7 \* ~  Y$ U' o) o
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    9 x: O/ ?: `, q/ B# |7 K; o

  1030. ' L* m3 X, h0 P- Z
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    8 V; x, G2 m) ~7 }
  1032. ; to the sendmail binary. These parameters will always replace the value of; D- m2 h* G$ r# }+ g* f
  1033. ; the 5th parameter to mail().1 `; l) E6 y# y' ^: ?
  1034. ;mail.force_extra_parameters =0 i+ B: I6 y2 b! h, D

  1035. . T6 O0 s$ v) d% U( I) A
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    , y" o! |, l4 e  [/ p; j
  1037. mail.add_x_header = On
    $ s( \6 m: ?# u  P
  1038. ' x0 A3 H6 {2 w8 P; n# n) P8 G4 ^
  1039. ; The path to a log file that will log all mail() calls. Log entries include; k6 J7 C# v" v# J8 f, b) N$ C
  1040. ; the full path of the script, line number, To address and headers.
    6 }. l  V; H! i. O+ I
  1041. ;mail.log =
    % k! g3 v) V1 N: W1 j
  1042. ; Log mail to syslog (Event Log on Windows).
    ( V  O7 Y7 ^  t  x. s  d* x
  1043. ;mail.log = syslog8 v) |  ?5 z2 z- k2 T

  1044. ' r& q( k* {7 s2 n# @
  1045. [SQL]+ U0 ?# E. V2 t6 y# q: Y1 ?: E
  1046. ; http://php.net/sql.safe-mode
    " n, C; @; s3 I) @
  1047. sql.safe_mode = Off
    - x2 d  [. k2 g$ C
  1048. 7 K! Y: w6 Z5 p( _0 s7 Y/ ]
  1049. [ODBC]- T& Q! t" j/ M% R; |
  1050. ; http://php.net/odbc.default-db
    , M) W! d9 L! q' [
  1051. ;odbc.default_db    =  Not yet implemented9 y& T* W; ~( s5 [& F' Z
  1052. & K2 a! B, i- M
  1053. ; http://php.net/odbc.default-user
    ) [8 F! I+ V- z1 x
  1054. ;odbc.default_user  =  Not yet implemented# M3 ^' ]: I, W

  1055. ! ]9 G! Q7 x  Q8 \" f4 i5 r' s
  1056. ; http://php.net/odbc.default-pw5 ^* w6 t2 j* [1 G
  1057. ;odbc.default_pw    =  Not yet implemented
    ; F% y0 r: \6 v+ O1 T
  1058. # z2 [6 k) L' d1 h) |8 D- T
  1059. ; Controls the ODBC cursor model.
    2 {2 m" o  {' g8 C4 C1 N
  1060. ; Default: SQL_CURSOR_STATIC (default).$ Q3 |% ~! m7 {) Y. H& c& p$ m5 T
  1061. ;odbc.default_cursortype. ^0 X# V! c+ o- x2 w% ?9 c4 |
  1062. . Y. `* p% q3 u1 H. N! G. g
  1063. ; Allow or prevent persistent links.
    6 f. g5 l& B* }$ K1 b
  1064. ; http://php.net/odbc.allow-persistent$ G1 @6 Q* w+ ~3 D
  1065. odbc.allow_persistent = On; V  B* h( a7 |. {  S
  1066. - i4 s8 n& k! N# l9 A  l' @
  1067. ; Check that a connection is still valid before reuse.
    , N4 l! y1 B8 ~+ |1 h0 [, j
  1068. ; http://php.net/odbc.check-persistent- H7 y8 t# n) `# x( ], F+ q
  1069. odbc.check_persistent = On- _; ^; J9 K) q3 J/ ^+ ]) z
  1070. - o5 C- \' D" u; m" ]: S
  1071. ; Maximum number of persistent links.  -1 means no limit.
    ! A1 d# p! m' Y, M) q5 ]
  1072. ; http://php.net/odbc.max-persistent; y8 H" B& |2 f8 ]$ J' Y. D
  1073. odbc.max_persistent = -1
    1 s  {! p7 K1 C. d

  1074. ; f/ @/ \) M! N( _6 F! }
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    1 G; m! L! ~- Y) ^- P& {" z
  1076. ; http://php.net/odbc.max-links
    7 y5 e* }3 X" N4 t4 M; e. [" ~0 e
  1077. odbc.max_links = -1
    ! |; d  d& X! `# @
  1078. / f( r2 Z" L, M# m; F
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means3 [5 ?! Z7 v8 r; p( s
  1080. ; passthru., M# n1 Q& Y, _" M
  1081. ; http://php.net/odbc.defaultlrl( P1 O7 \7 e) J* b2 @8 J4 y3 n
  1082. odbc.defaultlrl = 4096* i( W, n8 n( X7 V* o# {  o& b
  1083. 8 E% U) q: M5 e2 J8 l
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.0 e9 b1 X. r& @! s4 Q9 ~
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation) P* N3 M9 b2 U& B4 i# D
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode: z+ F2 y, U) @- T/ y
  1087. ; http://php.net/odbc.defaultbinmode
    - x1 c- Z! Z6 s  q: F. V" B
  1088. odbc.defaultbinmode = 1
    5 H7 q7 P; W; R+ Z7 [, x( d
  1089. + H0 m; o6 \/ B( D
  1090. ;birdstep.max_links = -1  t+ x& W% O! v& C$ h
  1091. ( H0 {& g# `  `3 E
  1092. [Interbase]( H, |) W) ~+ y0 j1 T, B
  1093. ; Allow or prevent persistent links.
    - `7 C2 c2 I$ C3 G
  1094. ibase.allow_persistent = 1
    + z0 i0 b/ M8 b# i6 C

  1095. % ~% u& y$ U+ [8 t7 [
  1096. ; Maximum number of persistent links.  -1 means no limit.3 w# L+ U' X! i
  1097. ibase.max_persistent = -1
    6 u* v* e* B: e2 O

  1098. ( P% n% h, @, |2 f3 \
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 p* D1 m! K9 s% F2 D# o
  1100. ibase.max_links = -1
    : t8 t9 L/ w4 ]" u( u" z
  1101. / d$ P; x7 x1 f3 y$ B7 o
  1102. ; Default database name for ibase_connect().
    : i7 M2 t! z1 s
  1103. ;ibase.default_db =7 Q# f: e7 D4 V1 t
  1104. : j2 P/ l  o% `2 w& G& d' m
  1105. ; Default username for ibase_connect().
    4 I2 d9 h& L) t
  1106. ;ibase.default_user =  r5 n  f+ @# z1 D: |7 s

  1107. % o- U# |+ M+ m
  1108. ; Default password for ibase_connect().
    7 O- G. Z& m. V
  1109. ;ibase.default_password =
    - F8 s. M& D' s7 {/ B
  1110. 1 U, ^  y% r5 d  C; ]# ~6 v. L
  1111. ; Default charset for ibase_connect().
    ) u6 F* X$ _! D
  1112. ;ibase.default_charset =! R" X# B5 ~/ x6 ~& w5 g0 H

  1113. $ E# i1 ~, \7 b# D3 N) z- l$ a; d
  1114. ; Default timestamp format.
    8 K4 R' e& p8 z- Q7 }; O/ C
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S", ~; T: Y9 Y  A6 G. ?
  1116. - |! o. ~6 t- |
  1117. ; Default date format.2 [: R' y2 M( `* i
  1118. ibase.dateformat = "%Y-%m-%d"
    , z1 ?6 ~3 _. _# w2 K% Y" {
  1119. ' S+ t6 n( h% S5 A6 ^3 N/ A
  1120. ; Default time format.) A1 f0 b, Y) G$ t- m, j
  1121. ibase.timeformat = "%H:%M:%S"
    ; z" B% T! m! P7 H

  1122. 9 H% a8 g/ q% p3 M3 l& t1 ^% F
  1123. [MySQLi]
    - ~4 X( ?, x) [- I
  1124. 0 n, v5 ~* h; S, M0 L3 V
  1125. ; Maximum number of persistent links.  -1 means no limit.' {5 Y$ l% i' ~, b+ n  }, d! h, \
  1126. ; http://php.net/mysqli.max-persistent" S$ N+ w$ m/ ^( f, h9 W" L, z8 T, b4 G
  1127. mysqli.max_persistent = -1. w" \; O, g0 I; X' j8 D
  1128. ! ~$ g# b6 |( A1 e) N! _$ |8 O
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements1 [) N$ a' {+ d! L$ M+ K* o* v& _
  1130. ; http://php.net/mysqli.allow_local_infile
    - Y0 u" b" l" \! i# K; @+ c+ ^
  1131. ;mysqli.allow_local_infile = On- q/ \" D7 j. P

  1132. ; P2 x% r* J$ `: d1 A
  1133. ; Allow or prevent persistent links.
    ' \$ I6 z1 D- _
  1134. ; http://php.net/mysqli.allow-persistent# E( {6 u: a! }( r
  1135. mysqli.allow_persistent = On
    . T, T2 S4 A9 d! S7 U

  1136. ' C, k; K0 m# O4 w; w
  1137. ; Maximum number of links.  -1 means no limit.; a# ^# [& u9 r
  1138. ; http://php.net/mysqli.max-links
    8 m1 o# Z* R& [+ R% y( R5 H
  1139. mysqli.max_links = -1- i: x3 t9 _& H
  1140. * e  d6 J  t( V1 Z
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache0 G3 O% P4 N  y" z  J; L
  1142. ; http://php.net/mysqli.cache_size
    * t) N. |! S* j: S/ e
  1143. mysqli.cache_size = 2000
    3 @: L, N  ]" S$ \  A5 [
  1144. . u& D4 x$ ]1 G  K" D( K2 @
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    / _1 p8 g& `# J0 P# ~
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the) }* Z) V& e/ n8 J! g3 M; B5 x% O* x
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look1 S  N* f& }7 t! W' U$ ^
  1148. ; at MYSQL_PORT., ^: u. r- J. R% i; g1 E
  1149. ; http://php.net/mysqli.default-port. F# S# \+ i* X9 A, v# |: r3 U/ }
  1150. mysqli.default_port = 3306: ^' z0 v/ \$ n# _

  1151.   T& S3 c# C0 q
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in- X' A5 s! _1 {
  1153. ; MySQL defaults.
    5 i5 r4 _6 {% |0 B% D
  1154. ; http://php.net/mysqli.default-socket
    ) D( J7 x, o: y
  1155. mysqli.default_socket =
    : j3 v; z2 b* f8 k& x7 a5 }- h
  1156. ! J2 ]+ c. m6 c, P' `
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).. F4 \9 q# {+ T2 z: e  @
  1158. ; http://php.net/mysqli.default-host( ~% e. W2 @  e0 y6 F. o
  1159. mysqli.default_host =. D) ^) r0 s$ Y
  1160. 7 w/ i# x1 a: F- z3 t9 h. @
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).: N' v  K* S& @9 P" v
  1162. ; http://php.net/mysqli.default-user: s. R1 B* h" g3 t2 x
  1163. mysqli.default_user =$ u6 ^4 m+ o! i. ~8 |" t+ D
  1164. - q4 K) {5 J/ a5 g- G
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    5 L9 M& D' O' x1 z! d' M# p
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    ( }; E# n" H: P, b; H3 [
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    6 ~1 ?+ S" n( X  T
  1168. ; and reveal this password!  And of course, any users with read access to this
    5 Y6 e2 Q& `0 U! x7 u: B
  1169. ; file will be able to reveal the password as well.
    0 ?8 |$ D, M) ]9 [  R# _# C5 r
  1170. ; http://php.net/mysqli.default-pw
    ' J# f# i7 f# a
  1171. mysqli.default_pw =" Y  p0 Y) Z, f* v+ Y1 f; _& U& H7 Q
  1172. 6 J. Q8 @+ E6 U9 Q: H/ y
  1173. ; Allow or prevent reconnect3 u' T9 d) q4 M# I  w7 r
  1174. mysqli.reconnect = Off4 Q2 _: F; _8 L9 A3 v  b. _
  1175. 0 V5 k% y, R% E# S+ I3 u; y9 y
  1176. [mysqlnd]
      z) E7 D; ^: G& b7 I' t5 m
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ( q9 L( G8 w, g' B! o5 A
  1178. ; used to tune and monitor MySQL operations.
    1 V- F' v; M+ G  `7 s& H
  1179. ; http://php.net/mysqlnd.collect_statistics7 Y# i- W9 B4 W) D: Z3 R
  1180. mysqlnd.collect_statistics = On
    # h' f' Z4 T. }" T7 S$ O- u: V/ U

  1181. - q" m# c1 o. {8 v4 W) z( f
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ! c/ `9 M1 p8 G1 \, b( \  p0 n& O1 v
  1183. ; used to tune and monitor MySQL operations.
    8 J' |- }! e# W' h* N/ W+ x; [  F
  1184. ; http://php.net/mysqlnd.collect_memory_statistics! `# |% a+ h% }) \
  1185. mysqlnd.collect_memory_statistics = Off- g- r9 T& s  D' O* l

  1186. 0 [+ G6 V3 g  E2 R& u
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    3 P, Z0 i% y/ z0 x0 c
  1188. ; file.
    : M' ]. W8 n: S
  1189. ; http://php.net/mysqlnd.debug: A0 n7 R& W! g) S: l
  1190. ;mysqlnd.debug =
    6 o! U2 k1 d9 R0 ?. }
  1191. 0 `# v5 @& ]. Q4 U
  1192. ; Defines which queries will be logged." j" `8 q9 J# b8 j: A" Z
  1193. ; http://php.net/mysqlnd.log_mask
    8 t" M) ?2 [2 Q0 C: u' r
  1194. ;mysqlnd.log_mask = 0
    ) ^, K% l6 h9 x3 H- _

  1195. ; w* V2 f6 f/ I
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.8 O4 ]$ }2 _; v) b0 Y& ~# X" B' U' Z
  1197. ; http://php.net/mysqlnd.mempool_default_size. ~/ Q8 K& O. S$ @5 }; \0 n% w* G, o
  1198. ;mysqlnd.mempool_default_size = 16000# f5 N' W) m2 v, l+ P" H* @- b

  1199. 8 j+ P! L; y" [/ v% y' [9 e
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.- N/ S0 w: y$ Z* y- o$ j+ j9 H7 ^$ e
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size2 W! x% ?2 f: @
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    ( j- K2 Z8 Z: v2 V
  1203. 2 x/ }3 O; y6 V: ]3 D
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
      O6 B, Z$ a6 w7 Q; A9 y
  1205. ; bytes., O0 B" D) K6 T
  1206. ; http://php.net/mysqlnd.net_read_buffer_size. Y3 f9 ^& a+ P- e* {# Q3 T" y% A
  1207. ;mysqlnd.net_read_buffer_size = 327682 ]' g  o- z4 d% t; X

  1208. 6 F$ {' o- b$ P9 G- r0 w! e6 \
  1209. ; Timeout for network requests in seconds.0 L; P( h( X4 d! d* s
  1210. ; http://php.net/mysqlnd.net_read_timeout
    2 F1 V; _% |7 Y+ D4 M' d
  1211. ;mysqlnd.net_read_timeout = 315360007 D; k/ C" {3 M) R! z

  1212. ; s1 j. W  I( e7 S/ Q
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA4 T" M) `% v# w+ c# ~1 H8 b4 `
  1214. ; key.
    " k$ F" {4 J: g# \6 W
  1215. ; http://php.net/mysqlnd.sha256_server_public_key! c0 U& x6 |4 e; Q
  1216. ;mysqlnd.sha256_server_public_key =
    & \  |: W  k* L3 O

  1217. : B' M1 P& s7 ]; M1 j
  1218. [OCI8]7 }$ {0 [2 C$ N5 z' V+ X

  1219. 7 \; ]6 x4 `3 d/ q) q
  1220. ; Connection: Enables privileged connections using external
    8 [8 u) k/ V! ~8 X% W
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    1 S, X# h$ w8 M, C& s: O, f& p
  1222. ; http://php.net/oci8.privileged-connect6 H: q, m4 X% u( k7 ~7 j8 r  a
  1223. ;oci8.privileged_connect = Off
    - L; P6 W3 V- R9 s

  1224. 9 ~7 B0 A3 a: \: S, V$ E' `
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    0 r- d8 D% p( T* O% G! H6 G# w
  1226. ; process. Using -1 means no limit.! {& F2 v3 ~9 v# _: W+ s! U% ^/ q& V
  1227. ; http://php.net/oci8.max-persistent  F; q9 Y7 d* A8 U0 S' ]9 f
  1228. ;oci8.max_persistent = -1
    + Z8 {5 ]8 o' \) {

  1229. 7 L' j5 t6 Y2 O) n: s
  1230. ; Connection: The maximum number of seconds a process is allowed to# H) M0 D3 Z4 c8 R8 P. Q
  1231. ; maintain an idle persistent connection. Using -1 means idle
    # i6 n* b  H/ A, n4 `8 f
  1232. ; persistent connections will be maintained forever.
    6 g2 D# `$ M8 \; m$ g& L  V
  1233. ; http://php.net/oci8.persistent-timeout
    1 n! i6 j& c/ d3 b+ e8 ^
  1234. ;oci8.persistent_timeout = -1
      }  Q5 s3 @' y& R. N
  1235. * [5 f/ [  S: K" i) g, y9 J& C8 J
  1236. ; Connection: The number of seconds that must pass before issuing a! }. Y1 r* s) p
  1237. ; ping during oci_pconnect() to check the connection validity. When
    8 m9 {$ U( u# {- [5 \  j
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables# H- e( h8 K3 B3 _9 u" Y8 a
  1239. ; pings completely.
    & n6 ~' v8 G& i) d. E: a8 s
  1240. ; http://php.net/oci8.ping-interval
      T# ?" h, b! y* _1 z% z/ {/ H
  1241. ;oci8.ping_interval = 60
    4 E6 K! k3 M7 ]% Q- d! y

  1242.   x0 p/ \. {1 ?% o& M8 ?
  1243. ; Connection: Set this to a user chosen connection class to be used4 i" y8 J" n9 Q
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    ' D5 O$ a  }1 H
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to3 s2 |8 G4 K0 n) k: Z
  1246. ; the same string for all web servers running the same application," a0 ~6 \0 v0 _, _/ b% [& e
  1247. ; the database pool must be configured, and the connection string must
    ' U1 V% |; w# Q, o
  1248. ; specify to use a pooled server.
    1 K6 E( X! b! J- {* e
  1249. ;oci8.connection_class =! A; c: M2 g8 Q9 b& {1 A7 R6 q

  1250. * _5 i9 j; z" L' c. u" e; H
  1251. ; High Availability: Using On lets PHP receive Fast Application$ v! h; K0 o) g8 g
  1252. ; Notification (FAN) events generated when a database node fails. The
    / P! m7 U5 H# m
  1253. ; database must also be configured to post FAN events.  _  }$ I, f) g8 O( Z/ h
  1254. ;oci8.events = Off
    + n: j/ B. h+ j+ Q- B

  1255. ( D4 _7 ]" h$ [+ g( b* x2 K; M* ^
  1256. ; Tuning: This option enables statement caching, and specifies how
    % J" X" k* A! n3 Y
  1257. ; many statements to cache. Using 0 disables statement caching.2 q- k( x; [! ?% ]! M
  1258. ; http://php.net/oci8.statement-cache-size* `3 X, [& v8 B8 }: J
  1259. ;oci8.statement_cache_size = 20) V2 \+ B/ Q+ V: k& o
  1260. # J" Z1 [. U+ i) x& h
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    / v8 I+ W# p# F6 |" c! a0 r
  1262. ; rows that will be fetched automatically after statement execution.) l5 v" Y. }0 ~: `
  1263. ; http://php.net/oci8.default-prefetch
    . E- j. V# K1 `) ]7 p+ F0 K
  1264. ;oci8.default_prefetch = 100- Z) y1 X! |9 I$ _; G
  1265. * l' s' r2 ~5 w8 O1 w3 E
  1266. ; Compatibility. Using On means oci_close() will not close3 ~) J8 ^1 Y7 d7 [* ~
  1267. ; oci_connect() and oci_new_connect() connections.
    4 h% @% D& Y% N  ?; g" d
  1268. ; http://php.net/oci8.old-oci-close-semantics! T: c% W1 v, T
  1269. ;oci8.old_oci_close_semantics = Off
    " I7 v8 f, t. _5 b4 Y

  1270. : k) ~8 ^* j; n/ W: P) J! g: `) F! _. V- t
  1271. [PostgreSQL]
    2 C. u4 b+ Z- p
  1272. ; Allow or prevent persistent links.
    + I8 q1 m" v5 y% n' y' Z
  1273. ; http://php.net/pgsql.allow-persistent
      z8 Y5 G; y) }0 k% b
  1274. pgsql.allow_persistent = On' `. b+ P0 E. e7 a" P
  1275. 6 c( w- Y* B6 K3 T: ?8 U. ^
  1276. ; Detect broken persistent links always with pg_pconnect().
    ( u9 X! C/ F3 C' ]; z% I
  1277. ; Auto reset feature requires a little overheads.
    8 E' ~) S0 p5 k) f$ _* {1 W% a
  1278. ; http://php.net/pgsql.auto-reset-persistent
    1 g" L, ~7 V" p3 p5 M3 \
  1279. pgsql.auto_reset_persistent = Off
    ' B7 I. H4 D  j, Z' R4 ^
  1280. $ ^4 h% j, {6 U( W" N
  1281. ; Maximum number of persistent links.  -1 means no limit.
    0 e! x7 j+ D5 y# G7 Q- C% T3 t
  1282. ; http://php.net/pgsql.max-persistent
    # z# G7 |+ Z1 _' _2 D
  1283. pgsql.max_persistent = -1- b' n/ H% f1 C% P4 f2 V2 C
  1284. & L& A# k  h, P0 ?$ A" m+ @
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.+ c/ m9 P! H2 R% T6 G6 _# n' r: c
  1286. ; http://php.net/pgsql.max-links( V; N9 }1 _3 N3 Y  T4 ]
  1287. pgsql.max_links = -1
    2 Z$ f8 X. T! R1 G- a: i

  1288. 6 H/ m' ~- G! E, p9 H
  1289. ; Ignore PostgreSQL backends Notice message or not.
    6 M, \, y. h+ Z0 i
  1290. ; Notice message logging require a little overheads.7 q+ G7 S! M2 O" a% q$ N, N2 c+ @
  1291. ; http://php.net/pgsql.ignore-notice
    ! _# ?& z4 b' q3 v; B
  1292. pgsql.ignore_notice = 0
    ! @% n& k, ?6 O* U( _
  1293. 6 @- x2 T0 S1 A: O2 Q! U4 g
  1294. ; Log PostgreSQL backends Notice message or not." D: j; V' V- ^& u6 L
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    : Z1 M- k# B, a  N
  1296. ; http://php.net/pgsql.log-notice
    # H2 t8 k9 P; j4 w7 Z
  1297. pgsql.log_notice = 0
    8 V& i8 O6 ?: f$ l  w7 H
  1298. - J. D* O: [7 F, z5 e- W' d' [; I
  1299. [bcmath]5 u7 }) |8 Q  `
  1300. ; Number of decimal digits for all bcmath functions.
    # d" J, G- n' u; |: D$ f0 e
  1301. ; http://php.net/bcmath.scale$ S- l5 |' v/ |6 K) t
  1302. bcmath.scale = 0, b) x# ]$ G- d
  1303. / r3 \& {; {" r8 e7 S' m
  1304. [browscap]5 Y5 x7 y' d& T. B7 T+ N
  1305. ; http://php.net/browscap8 M3 k% Y! V3 b$ a% V4 j  T% l; u
  1306. ;browscap = extra/browscap.ini
    0 x' ~/ W0 T" K( O* Z4 \- m
  1307. : W* m* y4 [8 `4 y
  1308. [Session]$ A4 u  s% n4 J3 {! M1 l9 K
  1309. ; Handler used to store/retrieve data.
    6 C# f7 e/ i' D  l8 e2 ~
  1310. ; http://php.net/session.save-handler
    ; u# C+ s/ s, w% V; p( A
  1311. session.save_handler = files
    ( r$ k8 i* J( @) X0 n

  1312. + u. Q8 @6 p/ Z# T' J
  1313. ; Argument passed to save_handler.  In the case of files, this is the path- A! n; R* j" y# C1 z) j9 N' T
  1314. ; where data files are stored. Note: Windows users have to change this
    % g  U0 f- @* X7 E/ y* M4 O, B4 o/ M
  1315. ; variable in order to use PHP's session functions.
    * |  ~. t" a4 F3 q4 D
  1316. ;
    & e5 o2 D5 w& L# s9 y5 k& M, X
  1317. ; The path can be defined as:9 Y1 w; p& g4 ~: b: S
  1318. ;- B$ S# H: u: y7 ]
  1319. ;     session.save_path = "N;/path"% X+ R" x/ q3 d7 T* U. B
  1320. ;
    . t$ G0 [3 d+ W
  1321. ; where N is an integer.  Instead of storing all the session files in) U6 o- X9 z$ z: H1 B: Y5 j* P* ^
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    4 Q2 S, |4 ^2 a
  1323. ; store the session data in those directories.  This is useful if8 |3 D/ w0 j9 D% _+ k9 i
  1324. ; your OS has problems with many files in one directory, and is
    " e( F. C: \% M; K7 H7 E7 k
  1325. ; a more efficient layout for servers that handle many sessions.
    ! U- s6 S; s$ W5 l
  1326. ;" y0 J0 e( d* {% m0 T; ?. C1 L9 L- u4 ~
  1327. ; NOTE 1: PHP will not create this directory structure automatically.( |7 `6 G' N2 P
  1328. ;         You can use the script in the ext/session dir for that purpose.+ Y7 {+ G% M* k1 B2 A6 k+ N5 y* W
  1329. ; NOTE 2: See the section on garbage collection below if you choose to5 K: Y7 `4 E+ D3 V3 {" r% k3 v8 P
  1330. ;         use subdirectories for session storage) m" @. g$ y& L/ P* T+ _4 p4 c
  1331. ;8 V; ?: o0 s3 h* s. O+ Y( f
  1332. ; The file storage module creates files using mode 600 by default.
    5 Y/ r* I8 ^& q% W; [
  1333. ; You can change that by using/ P0 ]) q; E+ ]
  1334. ;5 g# v+ G) r! m3 y8 j
  1335. ;     session.save_path = "N;MODE;/path"
    ' |/ D/ o- T' k3 T
  1336. ;7 \! s. @  z7 m6 c: k* X1 R' t
  1337. ; where MODE is the octal representation of the mode. Note that this: J' \7 i% ^7 F- [* O3 d
  1338. ; does not overwrite the process's umask.
    , R$ t: b( q5 S  W) W3 I8 L/ d
  1339. ; http://php.net/session.save-path' j' X* S+ |: O9 h! p
  1340. ;session.save_path = "/tmp", x) E& D; r  E' |
  1341. 2 N( V3 _& S/ Q% e  u) v7 ?
  1342. ; Whether to use strict session mode.5 l) ?  t+ W! Y7 G3 i: h# B- o
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    + u7 Y, j5 i9 O$ \2 ^5 P9 _
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    0 K  n; }  v; U* `0 h; c
  1345. ; applications from session fixation via session adoption vulnerability. It is( P4 A2 \( Z7 c8 X
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    / }3 G* A% Z- U
  1347. ; https://wiki.php.net/rfc/strict_sessions9 h+ j6 b% {0 `+ `
  1348. session.use_strict_mode = 0
    ) z! }! X1 e  U  D: E  Y
  1349. - g$ p8 ?9 _1 b* C9 R6 Q1 K+ V& R/ n
  1350. ; Whether to use cookies.1 e9 `: x/ X# t5 c% s
  1351. ; http://php.net/session.use-cookies4 L% c( e; Y4 e* ~! X+ ^2 z) L7 n
  1352. session.use_cookies = 1: h, ~* \* v$ |; w( |/ c

  1353. " b! C( B$ R5 O
  1354. ; http://php.net/session.cookie-secure7 @; M6 Z5 i+ e4 y/ ?# T9 ]
  1355. ;session.cookie_secure =' P3 O/ b: V/ j  G; M& y( r9 |

  1356. ) ]+ n6 ?5 E/ T; t+ `
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining. M& t8 N6 B3 b. u  M# m: M
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    2 n6 f2 U! k0 _' |
  1359. ; session hijacking when not specifying and managing your own session id. It is
    7 R8 s, h2 O# }4 X& P# H& B( X# h
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.- N. ]% h* M! M8 g* P5 J
  1361. ; http://php.net/session.use-only-cookies* b4 C" {% k( l( U0 T! P% y9 T
  1362. session.use_only_cookies = 1
    8 W4 F# f0 U  c

  1363. 7 e6 N$ m% i; e$ g8 W0 O
  1364. ; Name of the session (used as cookie name).
    & j( p. Z- s- B3 u5 u
  1365. ; http://php.net/session.name
    ! p, G/ I5 y& T
  1366. session.name = PHPSESSID% L6 {6 R) p) K! B% x, b
  1367. 7 x' S+ I" C$ f! c4 L- w9 b6 [
  1368. ; Initialize session on request startup.. u; S5 F& f; t) T" ~# E8 u
  1369. ; http://php.net/session.auto-start
    & _% K4 n4 g3 e4 w8 l6 z6 m* u6 T
  1370. session.auto_start = 0
    - j) a2 `: `2 V8 O5 i  X0 I( r7 o! z
  1371. : C' V) D& g( F
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.! `; D% u. e0 j; l# Y
  1373. ; http://php.net/session.cookie-lifetime* u3 W1 U* e% {( {4 g
  1374. session.cookie_lifetime = 0& O/ S" N. C, {# Q
  1375. 9 n' r: u/ V6 ]# r' |& h
  1376. ; The path for which the cookie is valid.
    0 j; P* ^- B1 D% j2 x  z
  1377. ; http://php.net/session.cookie-path, t9 M$ a6 `# R4 w) c9 E1 ?
  1378. session.cookie_path = /
    2 U1 |9 {* P6 Z( F% V6 F( z
  1379. - P7 i* D. B% s/ K+ o" S5 G% D
  1380. ; The domain for which the cookie is valid.
    2 {7 S1 y" ]! N
  1381. ; http://php.net/session.cookie-domain$ ]; t0 x/ F/ @3 P
  1382. session.cookie_domain =
    - O8 a/ H& ~+ j$ R/ \$ o0 P

  1383. + r/ R, |! E" H, {- W% P! x
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    2 [' G2 Q+ K) v* t% D7 s
  1385. ; http://php.net/session.cookie-httponly
    % a! W$ J7 M+ I0 x' ?6 g
  1386. session.cookie_httponly =
    ' O3 O. l0 J; }- D  F/ G

  1387. : r: c5 D" g- P/ p- K% A! r
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.' A  P8 o1 D, C0 L! \0 U
  1389. ; http://php.net/session.serialize-handler/ r. u$ \. W7 i' \/ b, T
  1390. session.serialize_handler = php5 K3 G  @- E0 U2 j2 N5 `/ Z4 H0 X

  1391. ! U5 e  Y2 x: n
  1392. ; Defines the probability that the 'garbage collection' process is started
    8 Q% M/ u0 W' i. p4 i# \
  1393. ; on every session initialization. The probability is calculated by using
    7 s9 {% j5 k  b! Y: L
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    . n' v9 Q. M* X$ m, H- J
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    + {4 @7 W1 i, J  p$ C! I
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    # }& b3 b) e* J' H0 K
  1397. ; the gc will run on any give request.
    0 W5 f% V& H( b- p/ b5 `% ]- O1 U
  1398. ; Default Value: 1
    . j" U; T* R7 Q9 z) p( g6 A0 ^
  1399. ; Development Value: 19 F% s& }' t3 K
  1400. ; Production Value: 17 H/ K$ ^& ^8 W* x1 R
  1401. ; http://php.net/session.gc-probability$ e* q1 t* a$ n- N3 p2 r
  1402. session.gc_probability = 1
    , p( g/ \' _* d( |6 N# `5 J

  1403. 3 a4 d8 l6 V) T7 V; L& V
  1404. ; Defines the probability that the 'garbage collection' process is started on every: w0 l1 Q$ J* L
  1405. ; session initialization. The probability is calculated by using the following equation:# q, ^+ W) \/ J+ ]$ Z. T
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and8 c+ r2 o4 I* _& n2 B
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 17 P$ N1 E) s4 r7 p& {& p0 j
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    " ?/ J2 H/ ~2 h) i; W
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you* ~* K/ r2 d1 R. z9 \
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,+ a" {! p" n1 J5 K7 y0 J8 H
  1411. ; this is a more efficient approach.& G! V3 R4 }  M
  1412. ; Default Value: 100. G4 y3 P. D' ^
  1413. ; Development Value: 1000
    * J0 R" c% q2 w
  1414. ; Production Value: 1000/ I: e0 i+ S4 s5 ?* f. y* I
  1415. ; http://php.net/session.gc-divisor
    8 W; H. P7 c; [3 f
  1416. session.gc_divisor = 10003 f4 F; K! Z: T# u! T- ~

  1417. ; C: P9 A4 A% v. H! Q
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and- [5 M* U' s4 x! W  T2 |; {  x
  1419. ; cleaned up by the garbage collection process.$ N1 V; @8 T* s% E5 _0 t
  1420. ; http://php.net/session.gc-maxlifetime
    / }/ F, U* ]; C& |, N; w$ e" J
  1421. session.gc_maxlifetime = 1440
    ! p8 j% O4 T( C5 B& E- D

  1422. 6 m5 Z: c! C; h1 m% ^8 l
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    - G7 O8 y4 x$ f0 t. Z
  1424. ;       (see session.save_path above), then garbage collection does *not*8 T! j1 A% @; n5 p# V5 y) L
  1425. ;       happen automatically.  You will need to do your own garbage7 r+ Q5 h1 M" X3 v! }. t1 A& z) y
  1426. ;       collection through a shell script, cron entry, or some other method.
    , g  K3 w0 O* f( @. b
  1427. ;       For example, the following script would is the equivalent of
    ! k% r  F: j2 P  ^( _
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):8 v$ ?9 ~! X% F+ I
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ' |: }" R' ?3 m, d( {

  1430. 1 O: N) V3 D; W' w, I! i4 ], d# S3 X
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    5 P# w' i1 N; ~
  1432. ; HTTP_REFERER has to contain this substring for the session to be4 s4 r. e8 M9 T& q7 t% _
  1433. ; considered as valid.) A2 ?0 F% Y  m" h5 N' X; ?
  1434. ; http://php.net/session.referer-check" M$ U3 n4 L/ |9 {2 M% M
  1435. session.referer_check =
    ; H% U3 Y# P3 H0 d# F& ~
  1436. $ v& d( H4 z6 k& B0 R3 N/ a
  1437. ; How many bytes to read from the file.% N; N: A  n* B# l( E( P! A
  1438. ; http://php.net/session.entropy-length: @- r0 v1 R4 `, ~% e
  1439. ;session.entropy_length = 320 N7 m0 M* `  R5 y1 O" ?& \: \5 _8 Y

  1440. , n' v7 i  q. I
  1441. ; Specified here to create the session id.1 Y3 _3 Q3 v# p
  1442. ; http://php.net/session.entropy-file
    . A) D1 D$ b9 r5 o- d
  1443. ; Defaults to /dev/urandom" C3 p7 ]9 Q; a! h8 v7 q
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ) y: c8 u0 U' T5 S) b2 g# E
  1445. ; If neither are found at compile time, the default is no entropy file.# R( A- a) p, \* }% m2 s
  1446. ; On windows, setting the entropy_length setting will activate the0 Q- |: R9 e' N7 f/ p) @4 S
  1447. ; Windows random source (using the CryptoAPI)1 \* X3 K' @# B1 X: {
  1448. ;session.entropy_file = /dev/urandom
    * Y  ?' e$ s" z

  1449. 6 x9 }7 w5 ?9 [$ w( a. @2 R' H
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    * m( }. r5 M3 S5 Q2 i; S
  1451. ; or leave this empty to avoid sending anti-caching headers.  o4 N) V9 n8 ]/ Y" z
  1452. ; http://php.net/session.cache-limiter
    8 W& Z! T. o4 i/ q$ W  g5 R* ~
  1453. session.cache_limiter = nocache6 |  y  ~# Y& X  j( ]2 y* ~9 a

  1454. 9 X) ^$ S- j. {* ?
  1455. ; Document expires after n minutes.
    1 m; I5 h. ~7 E2 [3 ~3 o% [( y
  1456. ; http://php.net/session.cache-expire
    3 b3 V8 s% P% F( g3 q( Q9 e
  1457. session.cache_expire = 180
    : k! l! v+ _4 d0 x. g

  1458. * w/ [* x0 m9 D1 c+ O
  1459. ; trans sid support is disabled by default.+ i4 `' k" z! U3 T' i+ u
  1460. ; Use of trans sid may risk your users' security.0 E9 a2 l% W' t. M' F1 ?
  1461. ; Use this option with caution.
    2 q8 Z+ O: ^" S3 z2 N  G: w
  1462. ; - User may send URL contains active session ID9 e: Q  [- h: P
  1463. ;   to other person via. email/irc/etc.
    / z0 S$ B* C- E- D5 |
  1464. ; - URL that contains active session ID may be stored
    ( ?. H; Z- U) V9 `& |
  1465. ;   in publicly accessible computer.0 E. a5 v9 E  }! Z1 L
  1466. ; - User may access your site with the same session ID1 I! J; o7 D. G6 _% \
  1467. ;   always using URL stored in browser's history or bookmarks.
    9 u4 p& y- V+ W+ |# C
  1468. ; http://php.net/session.use-trans-sid
    # O' z9 W  b- A: ^
  1469. session.use_trans_sid = 0+ j# k# ~. A; L
  1470. & w; X+ x+ |! l* P( {- Z9 C2 Z1 Z% V
  1471. ; Select a hash function for use in generating session ids.
    1 I; l) i  \, f4 R" D1 r. v
  1472. ; Possible Values) X6 U& T6 c& q
  1473. ;   0  (MD5 128 bits)
    # \, V1 h. }" A9 Q: f' `3 G
  1474. ;   1  (SHA-1 160 bits)' @" u# T" |& O
  1475. ; This option may also be set to the name of any hash function supported by
    ; D1 S% L9 [) B  H) |! Q. L% Q
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    7 X7 l3 V, p$ ?6 `
  1477. ; function.
    9 S4 Z4 h+ P! P8 Q( t: n0 g! a
  1478. ; http://php.net/session.hash-function. F3 Y# M5 U8 ^( D2 p) t
  1479. session.hash_function = 0# Z3 v  ]2 f- ?  a5 M' [

  1480. / T3 j- U! i! \9 ]! W7 T! U
  1481. ; Define how many bits are stored in each character when converting
    ( J2 C7 `% l4 z# [
  1482. ; the binary hash data to something readable.2 _, t7 ~: }& Z5 [; p" i/ J
  1483. ; Possible values:) H- M* Z' A& g  F# j
  1484. ;   4  (4 bits: 0-9, a-f)
    + s( D  |, b- L
  1485. ;   5  (5 bits: 0-9, a-v)
    & _- Y" _% w- U  o+ Y/ ^3 |$ z
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")# X" R; K1 c! v4 |, a
  1487. ; Default Value: 4
    $ R( V2 d+ I/ B8 ]
  1488. ; Development Value: 5
    ( V, `+ H* Z' u" e8 R& K
  1489. ; Production Value: 52 X8 d, O5 [. ?3 U; L0 _2 j
  1490. ; http://php.net/session.hash-bits-per-character, P, i6 ~( k$ g' X8 U7 O
  1491. session.hash_bits_per_character = 5
    4 X7 `9 Y, r" b; B$ l6 M
  1492. . t  x# f  }8 S7 t9 V  f% n. C) h2 y  T
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    2 ^% z' _2 y* g/ ~
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    " V+ B6 k2 v. g) W% I
  1495. ; add a hidden <input> field with the info which is otherwise appended+ Q+ v" S5 e% n7 c
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.  h* [+ k$ L; G0 q3 Z: ^
  1497. ; Note that all valid entries require a "=", even if no value follows.
    . W1 |8 F* C  t
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ) C* U, o( G7 `2 U" `! W) T
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 F. ?+ r  X7 z, B& }
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + F1 Z# y5 \0 N7 ~% T$ _
  1501. ; http://php.net/url-rewriter.tags. {. e: h: N3 K* V' q# L+ y
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 f) v# B. K9 i. L* f

  1503. + m3 k6 C9 [4 n( R" ]
  1504. ; Enable upload progress tracking in $_SESSION
    0 A5 G0 k  [, J, h
  1505. ; Default Value: On, p  k# s2 Q  h) _8 v
  1506. ; Development Value: On7 r. q: `9 L9 d1 p! ]% w* f, o* h' I
  1507. ; Production Value: On
    3 ]7 w- E- }2 ^' R; W  H% B
  1508. ; http://php.net/session.upload-progress.enabled7 n# B$ W- h1 y: Y: }
  1509. ;session.upload_progress.enabled = On
    0 t4 w9 X5 y8 d; Y' n* o
  1510. . X% f  K& p# Q
  1511. ; Cleanup the progress information as soon as all POST data has been read$ O' \1 m5 K' N; Z8 _2 B
  1512. ; (i.e. upload completed).
    1 J4 n7 G6 O" C8 ]
  1513. ; Default Value: On
    * J1 |0 m9 j6 I: X+ S! M
  1514. ; Development Value: On
    & G+ v0 g' C5 ~( T4 y
  1515. ; Production Value: On/ M) A+ v9 k" l  C& R6 B
  1516. ; http://php.net/session.upload-progress.cleanup9 F1 y7 o% C7 n* k% x
  1517. ;session.upload_progress.cleanup = On1 ^+ [7 K+ R2 p: F* V" X( ]
  1518. # l4 Q- A! r! f0 M% n" R' _/ L6 ~
  1519. ; A prefix used for the upload progress key in $_SESSION
    # z) \6 ~6 Z; T( @) @
  1520. ; Default Value: "upload_progress_"
    # O' x; c7 f, z; C5 o+ {0 {( \
  1521. ; Development Value: "upload_progress_"
    8 B% o. p' v' x* o0 j- G: l& c" `) D
  1522. ; Production Value: "upload_progress_"
    1 n& T/ W+ ]) _1 Z: y4 R
  1523. ; http://php.net/session.upload-progress.prefix: Q3 l$ A% y+ B6 O. ~5 y
  1524. ;session.upload_progress.prefix = "upload_progress_"
    8 n" h3 J( W9 c  w, W5 M/ _

  1525. 0 O/ m; D5 b7 }6 j2 @$ W
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ; N7 o8 q: ~1 ]  ?; j
  1527. ; containing the upload progress information
    - e6 x4 g" t. N( ]7 p9 ^$ A
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ {# Z) c" m+ I" v% y
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"' ~7 n" t' z5 M; R% _1 ~
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"( G# E5 @; K5 s+ K! P  @# U
  1531. ; http://php.net/session.upload-progress.name
    ( O4 i; X' E( H* b( {
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    % ]+ ?: s! V, {/ c+ V$ v( w" e4 a
  1533. $ R$ u2 _4 v0 s/ @5 g$ o( j+ X
  1534. ; How frequently the upload progress should be updated.
    5 H: n$ A. `- i9 X9 J7 o/ b
  1535. ; Given either in percentages (per-file), or in bytes
    : ]1 f( Y2 @( Q' O5 b9 V+ D  _8 C# Q
  1536. ; Default Value: "1%"7 x- ~  r; v; `3 x- f! P
  1537. ; Development Value: "1%": I$ y3 f% K  y# t# f
  1538. ; Production Value: "1%"
    - C# K* Z3 l$ k
  1539. ; http://php.net/session.upload-progress.freq
    ; u6 S( q& W' K7 h! ]4 t, c$ R  d
  1540. ;session.upload_progress.freq =  "1%"- ?4 t7 L/ B" z( t+ X6 Y0 y, V  F. W

  1541. 0 o8 \% I4 l( s% C! ^
  1542. ; The minimum delay between updates, in seconds, t3 S$ v7 P7 B) I4 e7 ?$ M
  1543. ; Default Value: 1
    $ S/ f( h+ w, s" [0 J
  1544. ; Development Value: 15 Y8 @6 A6 S0 L5 g( Y
  1545. ; Production Value: 1( Y- _3 |0 x/ I. T  j) ~" X
  1546. ; http://php.net/session.upload-progress.min-freq
    . Q5 m  ^, {0 }/ |
  1547. ;session.upload_progress.min_freq = "1"( o) P* f, e, ?% k! Q% j7 ?+ t
  1548. 7 H# ?* I# ]4 P
  1549. ; Only write session data when session data is changed. Enabled by default.2 V! }3 C. h3 p! j+ u( p
  1550. ; http://php.net/session.lazy-write, v" Q" I  o+ J4 w) s, P
  1551. ;session.lazy_write = On" p$ w. \! Y. S( p# d

  1552. % S, R. c. u+ s% |, f0 r! p. B
  1553. [Assertion]
    1 D1 S# d4 b; D
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)) b6 d' Y" C9 }& p6 X7 @: {% D3 }
  1555. ; -1: Do not compile at all
    / T. ]/ x! l4 x: p( Q& G- r
  1556. ;  0: Jump over assertion at run-time
    7 G- v9 r* w4 K/ y
  1557. ;  1: Execute assertions8 Y2 h+ _' N0 F7 b, p
  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)7 A7 h+ M& |' t3 r: R/ d9 ?
  1559. ; Default Value: 1
    * X! u& Z# N3 H4 p
  1560. ; Development Value: 1( A6 {& u! ?6 I
  1561. ; Production Value: -1
    $ u4 d- o1 [+ e+ _
  1562. ; http://php.net/zend.assertions4 g) d2 [2 o: W8 V
  1563. zend.assertions = -1
    ! ?4 h, x/ W$ r+ C
  1564. ! i+ e# C. Q3 C
  1565. ; Assert(expr); active by default.
    - e) F/ g7 v# f$ z0 n
  1566. ; http://php.net/assert.active/ g- @0 Z. _& A  z# J/ d' L, b
  1567. ;assert.active = On* x5 W5 z8 S; c6 F

  1568. 2 [0 f' ~  o: \- T
  1569. ; Throw an AssertationException on failed assertions! w) d* o' M9 N* g
  1570. ; http://php.net/assert.exception8 O: [! j$ S4 l+ @% d7 S: o
  1571. ;assert.exception = On
    ; Y, p+ t( e8 z' ]
  1572. 4 G- f" `) v0 }, R0 G
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)* w  q, c( ^6 J9 h: H
  1574. ; http://php.net/assert.warning
    5 a' J. M2 O" ?1 u3 H
  1575. ;assert.warning = On( k; b5 x( y% N

  1576. - ]% N+ F) F( k5 y& N
  1577. ; Don't bail out by default.7 J0 S& b( U, z3 E( {5 U
  1578. ; http://php.net/assert.bail' J+ G) W: Y* @( D
  1579. ;assert.bail = Off4 L' w5 n1 o$ w% e3 z  J

  1580. + _. w4 z) l+ y  J$ K/ g) K
  1581. ; User-function to be called if an assertion fails.
    ; H( u+ _# U) I
  1582. ; http://php.net/assert.callback1 d) J7 ^& E  j* x1 E" q
  1583. ;assert.callback = 0( \) O8 C  h3 Y# c* w

  1584. 6 B" j, R) T) T$ L
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    & ~6 m* o; z2 z/ j3 m
  1586. ; error_reporting(0) around the eval().
    ) ^( C/ \7 d8 y( {6 r
  1587. ; http://php.net/assert.quiet-eval9 i' _9 |4 m3 w( m; h2 Y- b8 s# {2 {
  1588. ;assert.quiet_eval = 0; p' x; D8 {5 B- D+ k: }: j

  1589. / K" X& ?# `7 `; m, t# `% i$ o
  1590. [COM]- m4 {+ R' c0 m
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs( A/ U, G' F  {$ p! ?/ S
  1592. ; http://php.net/com.typelib-file
    1 e1 t- B2 U  y) m/ [
  1593. ;com.typelib_file =
    7 J6 j; f$ k! N2 S9 B3 j$ \. G
  1594.   ?& X+ ]! R/ K7 f& W& m3 ~
  1595. ; allow Distributed-COM calls' f9 ^8 H' X1 M% ?/ L# J7 w) Y
  1596. ; http://php.net/com.allow-dcom
    ' K' t- l. f, y% ^8 @9 P7 p
  1597. ;com.allow_dcom = true
    ( X: O# J9 r* S* g) [

  1598. - [" w; C) ]0 X+ w9 r
  1599. ; autoregister constants of a components typlib on com_load()
    ( V9 T4 D& u9 S, u) l0 |
  1600. ; http://php.net/com.autoregister-typelib
    + v, A8 l% K+ x; B- v# p
  1601. ;com.autoregister_typelib = true
    ) x/ s9 k/ A6 `% p1 v$ r( N

  1602. . {) J9 a- q8 e$ g
  1603. ; register constants casesensitive0 y& k6 V% E* E: N
  1604. ; http://php.net/com.autoregister-casesensitive9 X- ^/ Q$ P1 X. }
  1605. ;com.autoregister_casesensitive = false
    9 X) r7 e% c! e9 j% b  E1 U# j

  1606. ' f6 C/ q$ \  _% L
  1607. ; show warnings on duplicate constant registrations; y! {/ K, ]% p6 P& h- H
  1608. ; http://php.net/com.autoregister-verbose
    ( h; _' ?! h; i# J
  1609. ;com.autoregister_verbose = true
    4 ~# E0 u* `4 o+ t# J8 ?
  1610. / P  e$ S& L6 |. b# [/ H
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    9 U' A5 S6 S8 b4 ~- `  c6 K$ |
  1612. ; Default: system ANSI code page9 x9 G% S6 \: Y! a  Q
  1613. ;com.code_page=
    & b( C3 F8 B7 S8 \' R7 E) G

  1614. " F% b$ u7 _% Q& A4 q5 p& G" g! Y
  1615. [mbstring]
    : y: B* Y* }' C2 f/ e* b' F6 {
  1616. ; language for internal character representation.
    2 b3 j2 L! i3 z+ m
  1617. ; This affects mb_send_mail() and mbstring.detect_order.+ s! N: ^; D4 u' r" w! [
  1618. ; http://php.net/mbstring.language
    ' H0 u! j( N3 A0 E1 U, V: i8 l" p
  1619. ;mbstring.language = Japanese. l2 A4 s) d% M2 Z

  1620. 3 k+ C/ Y9 t; ^9 ~8 S
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.' l3 |, i( Q" u7 ?3 f% ]
  1622. ; internal/script encoding.
    * f5 c  D- z, ^* w! }/ S
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*), o# V9 `( Z2 I! B
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    4 H/ s' t) c, q0 }
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    4 [% V$ k3 z& ^% W1 d$ Y
  1626. ;mbstring.internal_encoding =
    3 E0 ]4 I  q" B7 |* _9 j
  1627. 7 s: R% R5 r+ f0 g0 f
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.% p% J& I0 r1 u! f
  1629. ; http input encoding.- ^- M& i7 t/ X+ x* Z9 F
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    : E4 s/ i0 ^4 w" L
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    6 b6 i) S( i% C- J5 ], o. F# ~4 t
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input# e9 A3 i! A8 X. T3 P) B
  1633. ; http://php.net/mbstring.http-input" I2 X: c( ^3 Q. [
  1634. ;mbstring.http_input =
    2 Z, G4 r/ d% L- S

  1635. ! Q( t: D# X3 W- q$ X
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ; y/ P3 s5 ?8 ]+ u4 o
  1637. ; http output encoding.6 d. o- U  j5 N# D$ j: }
  1638. ; mb_output_handler must be registered as output buffer to function.
    7 ^1 k$ m  m5 M
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.3 W9 M3 ~( A7 o4 b& u& c% ^
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output' i; J8 q# F& |/ D! _
  1641. ; To use an output encoding conversion, mbstring's output handler must be set  O: L4 F  h! C: S9 r+ ^- m, s5 H
  1642. ; otherwise output encoding conversion cannot be performed.
    8 g7 N3 ]& W( W- }2 n' v
  1643. ; http://php.net/mbstring.http-output
    6 h% P- y$ {1 G
  1644. ;mbstring.http_output =
    . G' G3 R, H- U& T1 W
  1645. 1 j& H# C- v* P9 G/ [# J
  1646. ; enable automatic encoding translation according to
    . ^2 k; p4 G2 u) q4 n( I
  1647. ; mbstring.internal_encoding setting. Input chars are
    " ?$ H3 Y! \- Y" s
  1648. ; converted to internal encoding by setting this to On.
    ) w/ f% B+ B4 K; W( L
  1649. ; Note: Do _not_ use automatic encoding translation for( k: A5 f# C" @/ Y9 N6 [
  1650. ;       portable libs/applications.! p6 H$ k) U5 g8 Q4 U& K4 }8 a" B" `- b
  1651. ; http://php.net/mbstring.encoding-translation2 D* i9 d; b/ [" A$ _' z
  1652. ;mbstring.encoding_translation = Off( x; A% }# q1 \3 r+ i% s: C( A
  1653. / W  j+ o! Q( a5 K/ f
  1654. ; automatic encoding detection order.
    4 V/ s8 Y5 B; _3 C& E: d1 r& V
  1655. ; "auto" detect order is changed according to mbstring.language
    ) u. d+ F3 C8 j
  1656. ; http://php.net/mbstring.detect-order+ B( f0 w+ P1 @/ V& J4 ?
  1657. ;mbstring.detect_order = auto  ~: D: p! s$ s6 \7 ~

  1658.   r* `+ e) v" F$ u. v
  1659. ; substitute_character used when character cannot be converted* }8 ~& f$ m, K. F# i2 t7 l3 O
  1660. ; one from another
    / F" K% S- N# j; a; Z6 [% i
  1661. ; http://php.net/mbstring.substitute-character
    $ q3 p! Z5 {& E1 l* Q
  1662. ;mbstring.substitute_character = none8 r8 @& G: {/ X  }6 e
  1663.   _2 u0 c6 S( O% M! r; f$ S1 l$ S
  1664. ; overload(replace) single byte functions by mbstring functions.( U8 f% `2 `( F* _& a+ y
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ! @( m  r! D2 N" j
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    ( K( S3 x4 l) i9 ?! P2 X; x% m% T$ x7 B
  1667. ; For example, 7 for overload everything.1 U6 y5 I3 _" k2 E; L+ W# R$ ^9 n% \
  1668. ; 0: No overload
    ' F0 y; i# Q! T9 w% |  o( K
  1669. ; 1: Overload mail() function
    ( i5 [- u! D/ k4 ~
  1670. ; 2: Overload str*() functions
    - b1 m/ ~0 [( e. i
  1671. ; 4: Overload ereg*() functions) J  e9 V8 r, ]) @! ]% H8 }
  1672. ; http://php.net/mbstring.func-overload
    0 M* t+ W9 T: h+ i+ l& _: Y
  1673. ;mbstring.func_overload = 0( c; T" W8 P6 M2 r

  1674. % I1 X+ b/ F" ^$ v; m
  1675. ; enable strict encoding detection.$ N: w! c4 b2 d8 \+ T! m! C
  1676. ; Default: Off
    2 R( F  {& r. n4 A2 r! n7 p
  1677. ;mbstring.strict_detection = On
    5 v0 s7 Q. R5 o* Y- U" H
  1678. * m. @% p( \; ^1 ^" }" ?4 i
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()* {! Z8 w7 B7 ?( k/ v( r2 K$ A
  1680. ; is activated.
    , m% V& g) T% F! k' v# h
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)0 S6 w1 P, X: H! z2 B' n! z
  1682. ;mbstring.http_output_conv_mimetype=% `, i9 m$ q, G2 l% Y4 Q8 C: _( A

  1683. 6 d, j% C2 _# o
  1684. [gd]
    0 C4 h3 ]) ^3 \4 q7 Q
  1685. ; Tell the jpeg decode to ignore warnings and try to create! E5 m) e' e0 v2 W  l" c# {# {
  1686. ; a gd image. The warning will then be displayed as notices
    1 b6 n7 v$ E. |8 X4 W
  1687. ; disabled by default+ |% F( q2 h. f; x7 m
  1688. ; http://php.net/gd.jpeg-ignore-warning( b2 Q7 c( j, j, L- C  X0 F
  1689. ;gd.jpeg_ignore_warning = 0
    9 `1 u5 j; w, F: f

  1690. 8 \( C9 w+ S+ V' L4 p
  1691. [exif]/ v7 y2 U4 X6 t1 m$ [; b
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    % D7 a  J3 D6 h
  1693. ; With mbstring support this will automatically be converted into the encoding
    3 `' \. @7 d# u8 A- S# s
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding* Y0 U2 {! w+ N. F
  1695. ; is used. For the decode settings you can distinguish between motorola and
    9 s5 H! b  R9 Z' P) m  A  p
  1696. ; intel byte order. A decode setting cannot be empty.
    5 X: x8 ^& i1 c: c- T# [
  1697. ; http://php.net/exif.encode-unicode
    3 o3 n2 Y' o' o3 A* k* Z. Y
  1698. ;exif.encode_unicode = ISO-8859-15
    ) @! x$ l9 Y6 I

  1699. 4 A+ r# K/ k4 y" Z9 |# g- s% q4 x
  1700. ; http://php.net/exif.decode-unicode-motorola9 u7 i( N- V$ g
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    * U3 a7 K1 x$ F" I2 A. f
  1702. & A1 L9 [6 j0 V: l" p5 U
  1703. ; http://php.net/exif.decode-unicode-intel
    5 A  B2 G& ~9 s7 w' M" d
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    ! [+ b' h8 J, ?! ]7 f
  1705. ) L3 n1 c( _6 w& L8 h" z' U  I. H+ b( S
  1706. ; http://php.net/exif.encode-jis
    , M. o$ B& z& R% e9 x7 \
  1707. ;exif.encode_jis =, e) x- V8 r3 A0 G: F8 g
  1708. 7 p( V, y7 J6 `
  1709. ; http://php.net/exif.decode-jis-motorola9 i5 e+ i# X2 ?$ l1 L
  1710. ;exif.decode_jis_motorola = JIS
    ' @/ }) A) Z6 f5 ?0 b) W
  1711. $ z) D7 v+ \5 F& \6 V& s  @
  1712. ; http://php.net/exif.decode-jis-intel
    0 w- {( O& `7 o
  1713. ;exif.decode_jis_intel    = JIS
    ' n. a% a: `( K% \
  1714. + z. f8 P/ T! H# u! F# W
  1715. [Tidy]
    & f. |7 h# w9 I6 M
  1716. ; The path to a default tidy configuration file to use when using tidy
    # M2 r4 T- D0 O& z# `! A
  1717. ; http://php.net/tidy.default-config) _2 H5 P) q% C: N
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    3 h/ ?6 j/ o; i0 M0 U
  1719. 3 M' ^. \& l( O# Q( F, B" O- V* o
  1720. ; Should tidy clean and repair output automatically?' a$ [# u: W9 ^( O3 E; s% X9 [
  1721. ; WARNING: Do not use this option if you are generating non-html content0 h; Q7 n5 M6 L' F! D/ c, T1 [
  1722. ; such as dynamic images
    ( J3 k2 h6 P+ b5 l9 R
  1723. ; http://php.net/tidy.clean-output% k) K+ z: G9 g/ r- t0 S
  1724. tidy.clean_output = Off7 \& ^' D' G! _: r- q

  1725. / Q% Y- b. H1 ~5 K- s4 T5 D) T. ?, n
  1726. [soap]
    ! D6 ]( h5 z* R1 N( K% }6 e) P
  1727. ; Enables or disables WSDL caching feature.2 f1 Z) C+ _" o. o8 U5 M% I  q
  1728. ; http://php.net/soap.wsdl-cache-enabled
    / o) L& a1 X* [6 U7 A; z
  1729. soap.wsdl_cache_enabled=13 p* _" C$ [+ C

  1730. 4 h9 r: Y5 D! b0 l7 L- K1 ]
  1731. ; Sets the directory name where SOAP extension will put cache files.
    : x5 L# h' p8 N2 s9 n
  1732. ; http://php.net/soap.wsdl-cache-dir
    9 B9 m( [+ o' L) Q* U
  1733. soap.wsdl_cache_dir="/tmp"
    6 A. \& L, g$ I5 {, b
  1734. + F* U: j0 l' c  c3 U4 h9 s9 Q1 O
  1735. ; (time to live) Sets the number of second while cached file will be used
    6 c5 V, I* s4 C1 d
  1736. ; instead of original one.) w1 M0 q% Q) I$ I4 G& @
  1737. ; http://php.net/soap.wsdl-cache-ttl
    ; e# `4 A, @) }0 b8 X
  1738. soap.wsdl_cache_ttl=864001 q4 ^9 K$ Z) F' o3 k4 ?- H  Z

  1739. " W8 V4 ?8 [; H7 C+ \: D
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    4 O) y0 w5 }( M6 ~6 p
  1741. soap.wsdl_cache_limit = 5
    ' E( m  [# Y: {5 h% g& G! t5 P
  1742. ( Q" `' W% K! o2 g
  1743. [sysvshm]
    5 N0 W0 e7 j4 N3 B
  1744. ; A default size of the shared memory segment. S1 ^5 A* Y4 y
  1745. ;sysvshm.init_mem = 100004 p/ }4 O% y1 G

  1746. ; W8 Y2 z' Z, W' l  s: s0 X  Q
  1747. [ldap]
    ) D3 W3 O: v2 s5 c7 g8 |
  1748. ; Sets the maximum number of open links or -1 for unlimited.7 f5 I3 s3 m1 I9 C- i
  1749. ldap.max_links = -18 x- s3 O2 x, O5 z6 A/ u, ^/ s
  1750. ' Z! U; o3 I& s( z
  1751. [mcrypt]
    6 n* F. M1 i  U2 V' M: v
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open7 K4 w/ e) y% N6 t

  1753. 2 a5 A3 C: w; k1 w/ x0 ?3 z8 Z
  1754. ; Directory where to load mcrypt algorithms0 S& T5 j$ r8 R! X2 i; {+ ]
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    - {3 U2 }" `4 t+ y; K
  1756. ;mcrypt.algorithms_dir=
    ) P9 R: u4 F8 h- Z1 v3 b

  1757. 6 x: s! r; f! o. K& e
  1758. ; Directory where to load mcrypt modes! c: [+ {; \7 ?/ ]6 H
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ( t# P3 m4 s% ]* S  O
  1760. ;mcrypt.modes_dir=: e; X; ?- O* V* Z, N6 V6 V

  1761. " T, s& ?; t- L8 m
  1762. [dba]
    ( a( {  i: h/ y0 H/ r$ T0 F
  1763. ;dba.default_handler=
    + N! Q: V8 R; G9 Y/ H

  1764. - N- W5 c# C3 A
  1765. [opcache]
    % T# T+ ^2 m* N& W
  1766. ; Determines if Zend OPCache is enabled
    8 c9 K4 W  z: z; k
  1767. ;opcache.enable=05 Y7 }- ^5 h  x% v: e5 c

  1768. , t+ Z# B) r3 a  r' a" N
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    , k+ n. z! p- }. f, L. s
  1770. ;opcache.enable_cli=0; i4 J* R$ W. ~0 Y! L. H. [, p* _

  1771. & d& D9 ~: I# |5 P
  1772. ; The OPcache shared memory storage size.
    3 B# S$ f9 n' B$ B
  1773. ;opcache.memory_consumption=64+ R- |3 y! R. k; j$ K
  1774. ( Z0 c# v1 U7 i1 h, n. K
  1775. ; The amount of memory for interned strings in Mbytes.
    * _( M/ ~$ Y4 O' S
  1776. ;opcache.interned_strings_buffer=4
    ' Q7 t) `! D; d1 J1 p, _) X' N
  1777. . Q2 @' n; a& G% Z& |
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    6 x: [- O: Z8 y
  1779. ; Only numbers between 200 and 1000000 are allowed.
    3 M, M# _9 @4 E0 s" y
  1780. ;opcache.max_accelerated_files=2000/ ~, H' v* P8 q/ ?

  1781. * u1 ]  D8 f7 R0 q" g5 ?' z# A
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.: }4 @3 W# M! q* ?( E* b1 I4 ^
  1783. ;opcache.max_wasted_percentage=5
    * i2 L0 Z3 F  T, u- M. O* u

  1784. # q. E+ Y) [: ?# ~* b, c' h/ M
  1785. ; When this directive is enabled, the OPcache appends the current working
    * l  Q8 z( U/ a4 a5 b, G
  1786. ; directory to the script key, thus eliminating possible collisions between
    0 p# ?) [) m% S: f/ P
  1787. ; files with the same name (basename). Disabling the directive improves/ Q2 d2 p% r+ m/ P
  1788. ; performance, but may break existing applications.# ^  _3 P' H# R. \
  1789. ;opcache.use_cwd=1
    2 }) E& R4 v+ w) W& S$ d# L) [
  1790. 1 C1 I6 b- I. x' g( o  n0 Q
  1791. ; When disabled, you must reset the OPcache manually or restart the. g4 r% a5 v$ `% L8 A7 K+ k( ^& I
  1792. ; webserver for changes to the filesystem to take effect.! e: D- T; b, j) I
  1793. ;opcache.validate_timestamps=1. h: n" p- r- ]

  1794. 2 F' ]* D, r6 l7 F* x' ~, m
  1795. ; How often (in seconds) to check file timestamps for changes to the shared' j% @' l/ ^/ K- ?# G
  1796. ; memory storage allocation. ("1" means validate once per second, but only0 ^: Y* c; ?6 U% }
  1797. ; once per request. "0" means always validate)
    9 K$ k2 E5 n* ~/ v4 N$ N
  1798. ;opcache.revalidate_freq=2
      N9 f4 Z' b1 `) c0 ?# p
  1799. ; u3 t$ D$ t7 o8 h" m  L. X
  1800. ; Enables or disables file search in include_path optimization
    9 k5 K1 w: _' H6 m
  1801. ;opcache.revalidate_path=05 d4 U  k# S, C; W, t

  1802. * \5 {$ H" N# T; ^
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    9 w2 e& j! H0 c: g
  1804. ; size of the optimized code.6 R$ B( _0 q  m& R
  1805. ;opcache.save_comments=14 E0 f/ N, A3 b# {3 T3 ~2 o5 R
  1806. 8 c3 W8 \( i0 I+ ~2 Z* j# P/ [
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code4 @' d6 C. a" l+ v7 y
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    ) D9 M1 N9 X( Z1 a5 R0 ]0 ]
  1809. ;opcache.fast_shutdown=07 i! T; `) S7 R

  1810. 0 K2 p4 p- Y5 f# T+ G
  1811. ; Allow file existence override (file_exists, etc.) performance feature.. w! z% b4 {+ e: p1 I$ d7 W% `
  1812. ;opcache.enable_file_override=0& t! F: ?" F2 C
  1813. 0 J1 m# _4 `) n$ o! R
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ) P% |1 d6 i8 p& v5 `! e0 C
  1815. ; passes  m& c; ?; ^" O1 q5 s3 g
  1816. ;opcache.optimization_level=0xffffffff
    / O! b: k/ c7 c& v

  1817. 9 [2 Z# u/ u1 P, }0 d$ W
  1818. ;opcache.inherited_hack=1
    / i  b3 |: |! Z' Y2 Y6 k
  1819. ;opcache.dups_fix=0
    ( m$ g, D# O! m, \

  1820. ( _% l6 _/ G% V. h* s* m) J  q
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    5 _* t6 j8 f3 f; `5 c
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    . |% @7 Z3 F5 b7 V1 N$ ]
  1823. ; that should not be accelerated. The file format is to add each filename0 ]+ O9 g% v- y3 n8 E. \/ q* u1 \  o1 s
  1824. ; to a new line. The filename may be a full path or just a file prefix
    7 H& n- U$ r3 \/ q3 i
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    & y" u: A2 E4 n5 P; P. L
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).6 e: W# d* H0 Q0 F
  1827. ;opcache.blacklist_filename=
    + O, p$ R9 Q# t8 V  r

  1828. $ _4 c0 r: W2 a# N) e
  1829. ; Allows exclusion of large files from being cached. By default all files
    # _; ~  {/ X, ^( L
  1830. ; are cached.
    2 n" u1 O- A% e7 k. c
  1831. ;opcache.max_file_size=0' j" N* W# M) R2 w$ W

  1832. " O) X0 l  R4 g* U
  1833. ; Check the cache checksum each N requests.
    6 g' C  E) {) V, e9 ?
  1834. ; The default value of "0" means that the checks are disabled.! s/ ]' u1 ?3 \1 J) }( L
  1835. ;opcache.consistency_checks=0
    3 \: V# a* f0 n# g+ }

  1836. & I6 Z; z2 {( }
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    2 v  _) K; \& i* Z4 k
  1838. ; is not being accessed.
    7 |+ j# W2 Y" y3 S" o
  1839. ;opcache.force_restart_timeout=180: z1 @$ s) }9 I) Y1 h* r
  1840. ' j+ N% z" O( M
  1841. ; OPcache error_log file name. Empty string assumes "stderr".0 C' ~& T+ _% F" T  e) ]# o* N
  1842. ;opcache.error_log=
    ; Z/ `+ P$ A  U: F# L; y' q2 |

  1843. % u' q# H! M/ q, W: a0 y
  1844. ; All OPcache errors go to the Web server log.+ F" z- L' W8 N8 U/ @
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    $ i& J/ [% [) r) N# d0 o
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    3 y5 S6 F3 h) l, o9 y- r; [
  1847. ; debug messages (level 4).0 E8 I6 L) B& O. Z# u
  1848. ;opcache.log_verbosity_level=1. E7 L' p. f1 C4 e1 ^
  1849. 8 `: l; b) C$ I
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.( t: Z, i% P5 c5 i7 Y  ^3 ~7 d
  1851. ;opcache.preferred_memory_model=7 |* z7 z/ c: l* L8 _, g! f2 i
  1852. 9 k$ ~! |0 A! b5 Z' G
  1853. ; Protect the shared memory from unexpected writing during script execution.! [. \$ O4 q2 W& R1 R
  1854. ; Useful for internal debugging only.
    0 O+ s7 n* Q( E  ]9 b! B% ~
  1855. ;opcache.protect_memory=0
    9 H7 H' _; z9 p( U3 k" |

  1856. , D$ {  G: }: h0 _
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is( l$ e- [. G5 F3 {5 w, m
  1858. ; started from specified string. The default "" means no restriction
    ) H% i  R; I5 A) j2 O
  1859. ;opcache.restrict_api=
    ' a0 ]6 `6 O- t' Y5 b' P1 k

  1860.   i5 k' d& t5 K) v  P
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    ' G, _6 X! s6 A
  1862. ; processes have to map shared memory into the same address space. This) V  W7 c; `! x6 {. {
  1863. ; directive allows to manually fix the "Unable to reattach to base address"6 h1 E" G" n# g3 `) k
  1864. ; errors.& ^( E3 \# T* r! }6 _
  1865. ;opcache.mmap_base=
    . `" h6 v0 c. {8 Y; Y

  1866. 7 {9 U* D; @0 I' R
  1867. ; Enables and sets the second level cache directory.% D4 b; ^0 b0 P
  1868. ; It should improve performance when SHM memory is full, at server restart or
      ~. T# N7 X; f: t
  1869. ; SHM reset. The default "" disables file based caching.8 N! L. o4 W9 E' c( u
  1870. ;opcache.file_cache=
    * A1 T9 ^! g3 D: s

  1871. 1 b; A: v5 {2 u5 W
  1872. ; Enables or disables opcode caching in shared memory.
    6 d$ _: e8 C" c$ {# g( B/ Q
  1873. ;opcache.file_cache_only=02 |1 m6 J, |* @+ k# w2 f: h
  1874. " y- E9 z& n- j3 P
  1875. ; Enables or disables checksum validation when script loaded from file cache.* ]: M5 p, Z# M' V8 H* T
  1876. ;opcache.file_cache_consistency_checks=15 N% o* a1 O. U! d# p0 N8 x- ]& J7 R" P
  1877.   ~% W4 o% x+ k  n
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    $ @! [; }, L7 B9 X
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file4 E) y9 ]1 o- ~3 C6 Y( U
  1880. ; cache is required.) [+ ~8 l0 e! g& Z. @0 @4 E
  1881. ;opcache.file_cache_fallback=1
    " e$ P- U3 A7 o% L* N# c# [

  1882.   h0 d( t# w7 W" s" ~. ^
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    2 P! a) G+ l$ t3 K* D  B( |5 y
  1884. ; This should improve performance, but requires appropriate OS configuration./ g, [" Z3 V8 O. [/ Q8 \
  1885. ;opcache.huge_code_pages=1
    4 h6 p( v$ v- k! V2 d6 T7 h
  1886. 1 K+ p+ `9 H8 N
  1887. ; Validate cached file permissions.
    " \0 c: I3 G8 ^. d* `1 H! H5 m7 o
  1888. ; opcache.validate_permission=0
    4 C* Q9 M1 {9 [% }# x

  1889. " R  T% R5 A2 M' Y. [, ]
  1890. ; Prevent name collisions in chroot'ed environment.
    + z6 T8 [+ L! o1 e& q, b
  1891. ; opcache.validate_root=0
    # Q# i; F( z. X* Y4 O
  1892. * b$ P. D. Q+ e9 ?! I
  1893. [curl]
    ! U' M' o0 p: I4 w7 U% T- J" e
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    8 ^0 _+ T6 t! _, a" O8 O) d$ x2 }
  1895. ; absolute path.# R2 E1 g* n: \; i/ D7 q
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ! k8 p- k; U" N! ?7 x5 d: h

  1897. ) I* W# P; e# n# @: j# N0 `( t
  1898. [openssl]
    1 T1 W8 p0 Z/ g* Z; o  _
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    ( p# ]0 `& a  x$ T
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should3 z8 R! ?0 k( W0 k4 S/ C) T
  1901. ; not specify a value for this directive as PHP will attempt to use the
    # F) E- [" k  z4 L" Y8 f* N4 S
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    , u% _5 E- _7 a5 v& Z* R' M
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    + }) X) Q" t% ~. z* u3 d' H2 C" m
  1904. ; option.& O: G% s: r( _
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
      u+ U! E( C% I$ F5 {) S3 J
  1906. ) p( u+ y: P2 c* c) @
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the+ Z+ d9 i5 t* y& E
  1908. ; directory pointed to by openssl.capath is searched for a suitable9 @7 B8 D. T9 e5 `6 u' n* t9 S+ r
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    , _/ m/ \2 Z$ s* H& A
  1910. ; Most users should not specify a value for this directive as PHP will3 _( m3 H/ G4 o. r) D7 K. A
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,; t5 y% y' v$ m" Y6 j: F# y% E
  1912. ; this value may still be overridden on a per-stream basis via the "capath"8 W% D! Z+ w) k/ E
  1913. ; SSL stream context option.
    ! z, D$ U% V3 w! ?: I
  1914. ;openssl.capath=/ z$ V1 `: q# T9 j

  1915. $ }- E) R% O  p' D( I9 I+ M
  1916. ; Local Variables:% b9 R1 @* o$ K2 b
  1917. ; tab-width: 46 G( |1 O: m6 e# {6 [7 K- _! ?& S% ~
  1918. ; End:
    / N+ f3 R1 C, c( V0 n
  1919. 5 D% p7 J/ Y" e) ^/ M( W( U; b
  1920. ;eaccelerator9 Y  c: ]0 g% P- O# p% D% G3 P  l; R
  1921. 1 }1 ]& |$ ^: q' |, g3 H
  1922. ;ionCube* i1 Q; R  b. ~1 J

  1923. 9 S( G; o' ~1 e6 I& n# X
  1924. ;opcache1 U3 N& k9 J$ K8 R
  1925. 6 e9 A6 _5 W" R6 c
  1926. [Zend ZendGuard Loader]6 }, O1 U% c2 N" ]9 K* s( a9 C) p( [' d
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.: K) B# h  H* W' Y$ P, s% `
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so7 K* a+ I# |5 K  M& [
  1929. ;zend_loader.enable=1$ i9 C1 c3 H6 G# b
  1930. ;zend_loader.disable_licensing=0
    $ r) I2 C, h6 [
  1931. ;zend_loader.obfuscation_level_support=3; \) {! n* E( r4 k) \
  1932. ;zend_loader.license_path=
    0 u, |) i$ n. B" |3 V2 J

  1933. 0 R) c* y. W( \5 ]
  1934. ;xcache
    4 a& {6 p2 X  Q2 t3 p; Y

  1935. " M' u, @5 o- Q5 e' E
复制代码
9 o+ I- ^; u: }' ~( S

4 a9 G4 Q8 O4 F8 t
5 a7 F. ]7 e& I3 p8 W" m
8 u, x, I& C- D; E- w
& F3 a% N) k$ J; l; @
3 B% J$ {  G! B" f
: j1 s1 p3 V* y0 U. X$ @PHP5.6版本原始设置3 K* f3 r( N2 ?. X  ?( F; u1 ]- `: ?

; c* g1 \. t2 g8 P1 u/ v2 G
  1. [PHP]' b* p: W; d# Z8 M0 I
  2. ( K7 c8 G# J% W7 \1 ]2 L  M
  3. ;;;;;;;;;;;;;;;;;;;1 s0 G. j4 _; m& e  ~$ U
  4. ; About php.ini   ;
    + c" G8 I/ ]% I4 e4 E& Y
  5. ;;;;;;;;;;;;;;;;;;;. S! }; c( U( t
  6. ; PHP's initialization file, generally called php.ini, is responsible for
      a# _( c! G( P- P* P; I: W* w3 \2 x
  7. ; configuring many of the aspects of PHP's behavior.2 A. k" M$ b. b
  8. & x. G. p& t. m- ]
  9. ; PHP attempts to find and load this configuration from a number of locations.
    6 Z8 t. a8 p' a: ~  B* i7 d
  10. ; The following is a summary of its search order:
    4 Z$ z% d4 h8 o
  11. ; 1. SAPI module specific location.
    * O6 ~3 g/ b4 \2 o& Q0 E5 Y
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    + O) y* ^' i  P
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)) V+ g: x& M# K4 L8 _/ e
  14. ; 4. Current working directory (except CLI)
    " I/ i' N1 z7 q2 i
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP0 m- v0 T3 X3 }* C
  16. ; (otherwise in Windows)( A2 f  K" R8 P/ y, J2 m0 T
  17. ; 6. The directory from the --with-config-file-path compile time option, or the2 O8 ?$ h6 G, q9 ]9 |6 [% S
  18. ; Windows directory (C:\windows or C:\winnt). @& O  z$ e9 P8 u
  19. ; See the PHP docs for more specific information.
    " _2 t& v) t. k( t
  20. ; http://php.net/configuration.file
    : i0 i  ]( I: B% g% N

  21. * M$ k7 `3 N0 [5 O  N
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    % r# i) V; z/ v6 y0 C
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    - d7 o" T* j: r
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    % R2 G' B, z; h9 |6 l: i
  25. ; they might mean something in the future.8 f) L5 Y' F5 l/ A' u

  26. & E) L4 y4 j" D) U% }
  27. ; Directives following the section heading [PATH=/www/mysite] only
    : e8 i' b7 W$ x9 H! I. E7 ^
  28. ; apply to PHP files in the /www/mysite directory.  Directives% a) E. C7 ^1 |. |* |  d* ~9 {
  29. ; following the section heading [HOST=www.example.com] only apply to) i  ^1 `& t6 _* y
  30. ; PHP files served from www.example.com.  Directives set in these
    - a/ T. }8 H0 I) R( c
  31. ; special sections cannot be overridden by user-defined INI files or
    2 C4 L- q9 V9 i0 G( D% e: A- M
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    & b) k/ p9 f0 S8 O
  33. ; CGI/FastCGI.
    " `# L0 w0 g; ?1 }( q! D7 R
  34. ; http://php.net/ini.sections% O  C$ j+ L0 c$ Y; z$ _4 J

  35. 9 P8 ?4 F9 g1 z' L, m
  36. ; Directives are specified using the following syntax:
    2 n1 W  ]( |' U+ b2 U
  37. ; directive = value, l) r+ O1 T" J( l/ u- t9 u' }
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.! x4 `  A0 q8 q2 F
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ! Z% @9 F" \: I0 u& H
  40. ; There is no name validation.  If PHP can't find an expected
      p2 b3 G3 w5 W7 ~* `
  41. ; directive because it is not set or is mistyped, a default value will be used.
    3 W1 I* m% C" f+ v
  42. 7 F# l# @3 D. V  `
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ' S- R5 R! p* J
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression) p8 H2 K: u$ Q2 s
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    / ~/ c; W  M" F0 v8 L
  46. ; previously set variable or directive (e.g. ${foo})
    ! r% r8 |3 ~7 G, Z  R" p, @

  47. 7 x$ }* m( f. F& s4 a% C! p
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    # q% F5 ^2 S1 ^; |* a2 @( l9 W
  49. ; |  bitwise OR
    9 X6 @0 r8 B" A8 o# B5 n. g/ e) \/ `
  50. ; ^  bitwise XOR! S: l1 y( @0 ~0 J% P1 [' R
  51. ; &  bitwise AND9 `# g6 s/ v2 L, K& E% A
  52. ; ~  bitwise NOT5 k# R' S5 W2 v  h9 e  t0 S
  53. ; !  boolean NOT4 S9 K* K' Z9 l4 L
  54. 1 j% i: F% C7 C' ]$ C
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    2 s1 y& [- \* H5 E
  56. ; They can be turned off using the values 0, Off, False or No.
    % [' Q& P; @* n& ]: p1 g/ N

  57. ! Z  B* `% e/ y1 U1 T) Q
  58. ; An empty string can be denoted by simply not writing anything after the equal' a% r% Y0 O3 Q
  59. ; sign, or by using the None keyword:
    6 ^: B: r+ s' v# ?/ N

  60. & M1 ]  g) U# V/ d! l# I! `
  61. ;  foo =         ; sets foo to an empty string5 e6 _- g' M% U' S. P
  62. ;  foo = None    ; sets foo to an empty string" a: g2 A* E9 W  Q3 S: |
  63. ;  foo = "None"  ; sets foo to the string 'None'9 O1 N4 _2 W# p' d
  64. , h0 N& Q  E' x9 D
  65. ; If you use constants in your value, and these constants belong to a
    5 Y5 z- R9 F! z# ?( i* n1 }! N
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    - E7 c9 i  @% ~! O. |9 z
  67. ; you may only use these constants *after* the line that loads the extension.
    . E' P9 x( V) m
  68. 6 Y9 b$ J6 ]! y# ~
  69. ;;;;;;;;;;;;;;;;;;;% W" a* M: y- M; V6 x+ @  Z. ?
  70. ; About this file ;5 r3 J, ]$ i6 ]( N# p5 ]8 B
  71. ;;;;;;;;;;;;;;;;;;;  ]9 e2 x) [! j
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    , t0 W& A% l( J1 m: {  N
  73. ; in production environments and one that is recommended to be used in1 Y. S  U2 Z( G: y9 m5 ^6 `7 I
  74. ; development environments.1 s* [% Q# _+ ~/ @9 w
  75. ; r* `, v5 L8 D2 n4 ~# C
  76. ; php.ini-production contains settings which hold security, performance and
    ( d; d, D. O/ A& X/ C  q; [
  77. ; best practices at its core. But please be aware, these settings may break8 j! r  Q1 ]6 ~7 i
  78. ; compatibility with older or less security conscience applications. We
    % D% e5 [, H% r: K9 |8 M( }
  79. ; recommending using the production ini in production and testing environments.
    6 t  O& {9 i. t1 Q: D& ?: @

  80. ! W: B- m; r  L; L) J1 \- Q
  81. ; php.ini-development is very similar to its production variant, except it is
    " X& T8 C' F: O3 l# g1 u7 `8 O
  82. ; much more verbose when it comes to errors. We recommend using the
    * P$ H$ r) U7 |
  83. ; development version only in development environments, as errors shown to
    4 x( i- ?' j  J6 f9 F
  84. ; application users can inadvertently leak otherwise secure information.
    $ y/ n* J  s+ |# H& T" _4 Y# ^" P$ c

  85. 8 K5 @1 ^( o+ q, T+ p' ]; ?2 Z0 N  ]
  86. ; This is php.ini-production INI file.- B: X# a; v1 b

  87. 9 c  g- M* ^" T
  88. ;;;;;;;;;;;;;;;;;;;
    $ t5 h. u, `: E* J5 P( v
  89. ; Quick Reference ;, v/ Z: P) s- V2 W0 L
  90. ;;;;;;;;;;;;;;;;;;;* ^* O! P8 f/ x& L  }2 R5 K$ i
  91. ; The following are all the settings which are different in either the production
    8 A( T9 |! s; o7 r
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    . H7 [7 X$ Z- w" c. c( M7 ]8 `
  93. ; Please see the actual settings later in the document for more details as to why' y) }  l4 E& v; o1 B
  94. ; we recommend these changes in PHP's behavior." ^4 ^3 |) }# x2 |  Q9 ]+ H& V0 Z3 R

  95. & A8 ^. x- r- G$ C2 }. d" r
  96. ; display_errors
    7 M& {: X0 e& A6 x
  97. ;   Default Value: On
    9 A% w9 X$ I. Q0 U, s. h, X
  98. ;   Development Value: On3 u3 P) F+ G$ D1 Q
  99. ;   Production Value: Off
    / p1 T' J( }! k# @" E
  100. 6 g# Q" y9 F  o7 |& ~+ L/ d2 r. i
  101. ; display_startup_errors9 n7 i$ k+ w+ Q, H3 `( Y& \
  102. ;   Default Value: Off
    4 W) u3 @9 `6 r. q( m& Z
  103. ;   Development Value: On/ ~# @3 ~7 a. m9 f- Y4 r/ v
  104. ;   Production Value: Off* j0 G: j- G0 b/ h' b4 d9 Q) P
  105. , _7 V# @( \+ p0 d& l+ Y! b
  106. ; error_reporting7 O- s% j9 g) \( Z
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    3 a2 m; T7 A# g' W! Y
  108. ;   Development Value: E_ALL2 @! o" d% {4 k) v8 D
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT. o  {% g- z$ W, |0 n# S# c$ M8 F
  110. 0 s; ~0 {8 {( t
  111. ; html_errors  U4 E- `; n* u# p
  112. ;   Default Value: On1 a2 Z. P4 |* J, @& Q; ]0 Z
  113. ;   Development Value: On4 Z! Q, E9 k+ g- _+ ~: X& q
  114. ;   Production value: On
      b: c; \  _' }0 p1 R
  115. 1 h7 B0 R8 Z1 n% C& Q9 g
  116. ; log_errors6 o  @& d2 F2 `; L- I% r
  117. ;   Default Value: Off
    + D7 h- W7 ~  m3 J# ]. m  Q5 E6 N
  118. ;   Development Value: On
    8 T: f- O6 E% k/ c( G  T
  119. ;   Production Value: On
    5 ~, a. c! b! H

  120. ; r  c( }$ \( T- e. X6 h
  121. ; max_input_time& C6 b# t  h3 p0 J3 b
  122. ;   Default Value: -1 (Unlimited), _( E0 ?7 m% i  G7 b/ F
  123. ;   Development Value: 60 (60 seconds)
    5 C, u5 T4 l; B3 D; E
  124. ;   Production Value: 60 (60 seconds)0 Z: h2 Y* o8 r
  125. % P* K0 w8 T+ r' G* v% E
  126. ; output_buffering% a1 }1 Q% B7 u1 W+ G4 E
  127. ;   Default Value: Off
    - v: c; b, c2 D
  128. ;   Development Value: 4096* \( h! x: i; o% o1 T- m! ^; @! _) Y
  129. ;   Production Value: 4096! \/ J7 D8 V, Z9 P6 _# D
  130. , B, c' }6 E. p6 I
  131. ; register_argc_argv
    1 d$ Q4 i3 V& \4 v. Z
  132. ;   Default Value: On
    ! [& V0 X- P$ `; v0 c
  133. ;   Development Value: Off! {" V) r# M  E: h8 I" N! G
  134. ;   Production Value: Off2 G6 e9 a9 t0 W3 x0 S& z( o$ o. Y. R

  135. 2 Y! E  o* `0 Y' |7 y9 ]! n& u9 {
  136. ; request_order
    " S) A- u; f- k
  137. ;   Default Value: None
    1 l! K% I, K* D; T
  138. ;   Development Value: "GP"
    1 ?5 D7 J6 u' A; r, `/ W9 r
  139. ;   Production Value: "GP"$ a* r, j* t) m" \% x" `# Q
  140. 6 r# I  k; B  ?% n
  141. ; session.gc_divisor! c9 c' w* Q0 m" B/ B. j9 _* E
  142. ;   Default Value: 100
    4 c" n; Z- d; q
  143. ;   Development Value: 1000
    + `' n3 x3 ?( r
  144. ;   Production Value: 1000
    % `- q" t4 _8 T
  145. : o4 p- H& b; I# Q" p
  146. ; session.hash_bits_per_character5 ^2 {6 |0 h% ]- g2 s  {' Y1 a
  147. ;   Default Value: 4, H/ E6 g9 @1 v: e" R. j3 w4 R% s
  148. ;   Development Value: 5
    ' }" d9 Q" L2 m1 O; t3 m
  149. ;   Production Value: 5
    : P  g, z2 O3 V; F+ r

  150. . s! X! X& ?1 b( I1 Q
  151. ; short_open_tag+ M6 Z' [9 g" f$ ]! z% }
  152. ;   Default Value: On. C0 g: |* S8 u- i1 _
  153. ;   Development Value: Off
    5 c" }( n# W- F+ R; J. J- {
  154. ;   Production Value: Off/ L8 @$ Z$ W5 Q) ^9 q
  155. & h) i0 P; b; t/ v# v4 v# u, Y, i
  156. ; track_errors. U' f- c0 e+ j9 R; S3 M
  157. ;   Default Value: Off
    " s* c7 L3 e5 ?# z( e) ~& \
  158. ;   Development Value: On6 K3 d& P( x) T
  159. ;   Production Value: Off$ u% t5 {; Q( o$ L7 n3 {
  160. , v' R! j: K) B2 x2 E/ `- O
  161. ; url_rewriter.tags8 B, }8 B- I/ v  ^, J# r& ]
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    . c2 y& H0 w. H  S* k
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry". l( U2 b( m0 o0 z
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - @/ _; y2 G! I- G- y7 X  v8 n
  165.   n# ^% c  {0 W; j( v/ n2 c- G$ h
  166. ; variables_order# r9 ^7 m: g2 ?9 D0 A! r0 K
  167. ;   Default Value: "EGPCS"
    $ R: G6 ~& G5 S1 ]" X7 `7 d
  168. ;   Development Value: "GPCS"
    2 {' X) G3 C/ F4 H% }
  169. ;   Production Value: "GPCS"
    8 d: H$ M4 i' g

  170. % ~  {0 b, m3 E
  171. ;;;;;;;;;;;;;;;;;;;;
    9 e$ t, j# B# w0 d# K& [
  172. ; php.ini Options  ;" c% s9 V5 A# y0 S6 @; }1 j
  173. ;;;;;;;;;;;;;;;;;;;;* L6 ~* t  l' ]0 y) |' {5 Z
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ( G2 c3 i- t. i  n& J5 u1 x+ N
  175. ;user_ini.filename = ".user.ini"
    2 j! [; J, i6 ^# w2 ?

  176. 1 e! Y, \+ e5 d7 r9 V4 U
  177. ; To disable this feature set this option to empty value
      s5 v, a& B; }) T0 }, W
  178. ;user_ini.filename =$ c: s2 j+ t5 u" i1 a
  179. ; G6 {& J+ A' i/ K
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    1 p) `  P( ]# F% f, n, W
  181. ;user_ini.cache_ttl = 3002 c: _! J, [, d# Y
  182. " l) X& K7 ^* \) Z' T$ O
  183. ;;;;;;;;;;;;;;;;;;;;
    5 d, t# U& x2 c/ f
  184. ; Language Options ;
    * }$ `9 m1 L% h3 P% h( Q8 o
  185. ;;;;;;;;;;;;;;;;;;;;9 w$ K+ g9 N% n

  186. + i$ T; D+ Q: L) A% I
  187. ; Enable the PHP scripting language engine under Apache.
    ; a! j. g; s3 J( i% `
  188. ; http://php.net/engine2 \4 N' X* g0 M1 e9 C
  189. engine = On
    0 |7 a, \4 c+ R2 v/ x8 v3 `

  190. ) P2 X+ M; P8 H/ L" s6 D1 W
  191. ; This directive determines whether or not PHP will recognize code between
    9 q" r. ~  W2 B+ e
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ! e" J" f6 d  D6 O2 z9 f+ h6 _
  193. ; generally recommended that <?php and ?> should be used and that this feature! a/ ~. [2 ~" O! F
  194. ; should be disabled, as enabling it may result in issues when generating XML
    $ b- w8 E. e: a# S$ A! @3 D
  195. ; documents, however this remains supported for backward compatibility reasons.' {5 |4 U* \# k( O  x9 P4 f
  196. ; Note that this directive does not control the <?= shorthand tag, which can be' `  V) R% @9 I
  197. ; used regardless of this directive.% D* p+ Y$ u2 z: c9 x# H8 a( o
  198. ; Default Value: On% H, z0 b; s+ n7 o+ T8 W5 T3 x. i
  199. ; Development Value: Off( [$ q, d8 J4 i$ R$ N, k  |
  200. ; Production Value: Off, j1 c; z* Q4 K. J9 p1 M- H
  201. ; http://php.net/short-open-tag
    ; r' D+ v$ R2 T
  202. short_open_tag = On
    % I9 ^) D  Q9 y, M+ F* ~. `- ]
  203. ' X/ |3 @% b  C7 E
  204. ; Allow ASP-style <% %> tags.- z' X$ ~0 b. C  @2 [
  205. ; http://php.net/asp-tags
      |' u# q/ P* O2 R  g
  206. asp_tags = Off# L+ T7 q# y/ ^! Y7 k, k
  207. $ G( E3 {# J  G- p. D/ r% a+ _: D
  208. ; The number of significant digits displayed in floating point numbers.8 x5 t8 z5 Q$ E2 R
  209. ; http://php.net/precision' ~) ]4 N6 o1 T0 V! x5 |( }! h0 L
  210. precision = 14
    5 b7 J- _- i7 b! C$ X1 K

  211. + K3 c; p- k3 k, o: L
  212. ; Output buffering is a mechanism for controlling how much output data/ r9 r% z$ w3 `2 }) p  Q
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    " _4 e9 F6 C) b' {5 K
  214. ; data to the client. If your application's output exceeds this setting, PHP
    - Q% w. Q; Y/ T% p$ [
  215. ; will send that data in chunks of roughly the size you specify.
    ' \3 X' i( w( }% j+ q8 {2 @
  216. ; Turning on this setting and managing its maximum buffer size can yield some& Y2 u: b* n# B# Q
  217. ; interesting side-effects depending on your application and web server.- S+ n& k5 Z9 O& r
  218. ; You may be able to send headers and cookies after you've already sent output
    # N5 Z3 n. Q; E4 l. i; ]
  219. ; through print or echo. You also may see performance benefits if your server is
    & s6 Y. P2 E( z3 ?. }( p
  220. ; emitting less packets due to buffered output versus PHP streaming the output/ E& L8 X4 Z+ B0 A
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    & t) `2 j8 ]" }5 A- m$ R. Y
  222. ; reasons.
    7 n- C- P" |" K
  223. ; Note: Output buffering can also be controlled via Output Buffering Control' g* V/ }2 Y7 ]9 D  |5 K# {
  224. ;   functions.0 Q, L6 I8 b% _8 m& p' M8 W
  225. ; Possible Values:& ]% o- F# u5 g  s! h) t
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)+ C- K4 K+ i4 N; l1 G5 S2 \+ M; d; h
  227. ;   Off = Disabled
    7 Z% m/ i5 @: f4 d7 p  W
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.: e3 k  n+ \- k! O" S8 Z
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    # R- V( m4 X9 t7 l! j, C# |
  230. ; Default Value: Off8 _& y9 _* m3 U: I
  231. ; Development Value: 4096
      r" G( s# z2 R& C% k( M1 Y% r6 H
  232. ; Production Value: 4096$ k  `. K6 n' T, M; Y8 j9 O
  233. ; http://php.net/output-buffering: [- R) H$ ]  ~) d4 }; F6 u
  234. output_buffering = 4096
    & t" }5 J0 V- G% u# K/ Y

  235. & J; I% k( B1 n# r9 [
  236. ; You can redirect all of the output of your scripts to a function.  For
    / ^7 W' E3 Q( h) z6 G, s6 J
  237. ; example, if you set output_handler to "mb_output_handler", character" M; k  W! A" O4 ~' a
  238. ; encoding will be transparently converted to the specified encoding.6 l; [2 K) E6 U& X/ Y
  239. ; Setting any output handler automatically turns on output buffering.+ @6 l+ F/ k7 m) P: {6 O$ G% A7 ~
  240. ; Note: People who wrote portable scripts should not depend on this ini3 l) ~1 s4 E. @. N
  241. ;   directive. Instead, explicitly set the output handler using ob_start()./ `3 b3 g- g0 z, Q+ C
  242. ;   Using this ini directive may cause problems unless you know what script" i' P  m! s" s* m8 C+ j7 b  a* F
  243. ;   is doing.
    " U0 Q( h4 u- P% f& e7 M% @4 d
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"' y" q6 `$ V. X# u' S2 p* G$ |$ Y
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    : a' s* X) F! T4 p! Y+ ~
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    9 e5 q4 d# R5 Y
  247. ;   Instead you must use zlib.output_handler.6 H7 Y+ b! b  @
  248. ; http://php.net/output-handler
    1 M* w0 v6 E! R- n
  249. ;output_handler =$ F9 T% T& o) k1 K7 B% ~5 Y5 ?) t

  250. 9 J1 ~/ M- V5 h" Y. ~% R5 r6 W
  251. ; Transparent output compression using the zlib library
    ! @1 g; k! @3 F) C* f
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size. |3 _7 p. |! h5 u; }  F" I
  253. ; to be used for compression (default is 4KB)! i1 g8 b& C. ~
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ! v3 W5 ]  ~' g3 L, i  Y
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    2 Y1 T) o" Q: B5 H. D. B
  256. ;   compression. If you prefer a larger chunk size for better
    $ K; [& b% e' C6 ?0 E& j5 w
  257. ;   performance, enable output_buffering in addition.0 T/ f- E5 X  d3 m( [5 f' v$ H
  258. ; Note: You need to use zlib.output_handler instead of the standard
    # j5 p" L* G8 R7 y
  259. ;   output_handler, or otherwise the output will be corrupted.* S" B/ i: M' l2 _
  260. ; http://php.net/zlib.output-compression
    2 F4 `" p* W- m6 r
  261. zlib.output_compression = Off
    ' A/ g' S5 K: I( O5 n5 [( O- p

  262.   }7 Q% j  Z  w+ e
  263. ; http://php.net/zlib.output-compression-level3 D" o+ e5 l- i4 R5 Y1 @7 {
  264. ;zlib.output_compression_level = -1/ ^5 O$ v$ Y& K# }1 F! _7 E' q0 [

  265. 5 s9 O, @2 P  ~) T9 Z/ t
  266. ; You cannot specify additional output handlers if zlib.output_compression/ [4 Z. L& E8 T' T  [3 J
  267. ; is activated here. This setting does the same as output_handler but in9 \! ~' ?: H+ ~6 N! U) G
  268. ; a different order.
    : n0 W9 \3 B- l; `9 t$ J
  269. ; http://php.net/zlib.output-handler$ J2 c5 m1 q$ t4 s+ z4 C1 M+ K
  270. ;zlib.output_handler =- w, ^* `( X. ^3 v' I
  271. , A0 l7 Z& c" w' F1 V
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    " @' N; ~( g& g/ T+ H8 \7 F& y
  273. ; automatically after every output block.  This is equivalent to calling the
    / o& q% S' J# N& n% D: v- [
  274. ; PHP function flush() after each and every call to print() or echo() and each9 H0 S9 `8 \/ N$ L5 u! h! e) R$ {1 R
  275. ; and every HTML block.  Turning this option on has serious performance- r& ~8 y' i" G7 f
  276. ; implications and is generally recommended for debugging purposes only." p9 v: Y& a) q; ~4 R& Z
  277. ; http://php.net/implicit-flush
    * T6 Q( v" |0 g. |: a. z
  278. ; Note: This directive is hardcoded to On for the CLI SAPI; k  Y4 y2 U- r8 [! f5 A/ c
  279. implicit_flush = Off: w" l) t/ O' `
  280. 0 r- ^, k( k: }% F
  281. ; The unserialize callback function will be called (with the undefined class'
    $ e. a4 L3 E: d
  282. ; name as parameter), if the unserializer finds an undefined class+ A; [# N$ {. R$ i1 O
  283. ; which should be instantiated. A warning appears if the specified function is
    & v: q4 p; w1 \- o" b/ V. U% t
  284. ; not defined, or if the function doesn't include/implement the missing class.
    ' Z! g9 ^; q* D3 V5 R5 ?& m, C
  285. ; So only set this entry, if you really want to implement such a
    . F0 B2 W: k& }* M5 H; C  \
  286. ; callback-function.( U; V- F0 D6 _* z$ a
  287. unserialize_callback_func =& e6 Z1 v; S3 O

  288. 6 _9 @. r: A' W/ e! R
  289. ; When floats & doubles are serialized store serialize_precision significant7 c& x) j8 d0 F% N& P  A! D% K, U
  290. ; digits after the floating point. The default value ensures that when floats
    8 I# k  Y+ b5 R
  291. ; are decoded with unserialize, the data will remain the same.8 k5 C+ X9 _4 t4 n7 P
  292. serialize_precision = 17
    ' a9 s  F; x) w+ _+ O
  293. ! u  P* `( q4 u3 r5 r( j  g
  294. ; open_basedir, if set, limits all file operations to the defined directory
    $ j, _0 g8 |$ f$ S8 @
  295. ; and below.  This directive makes most sense if used in a per-directory/ q# V; t/ l+ K; _% u1 I
  296. ; or per-virtualhost web server configuration file.
    4 X" Y9 o: J6 t5 o8 ^5 Y6 I$ `
  297. ; http://php.net/open-basedir
    9 F9 K& I, Q0 l3 M, o( D
  298. ;open_basedir =
    - o+ \3 e! w+ D# N9 g; z2 N

  299. ; Y6 L9 Q* G: i1 Z2 J  h
  300. ; This directive allows you to disable certain functions for security reasons.
    ( p3 ~9 P+ Q1 a" c. U! A4 V" V
  301. ; It receives a comma-delimited list of function names.
    $ V1 U1 R! Y) _3 Q3 |
  302. ; http://php.net/disable-functions) P! U& }' A" Z% O* U4 V) S
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru1 H) s% e% x! s% b

  304. 4 D" u; x1 I" M3 f* E" j+ [
  305. ; This directive allows you to disable certain classes for security reasons.
    % {3 o8 o" W; Y" \$ Y, m1 F( d
  306. ; It receives a comma-delimited list of class names.
    $ Q. E' R. s: _' O
  307. ; http://php.net/disable-classes  W  W; b/ t7 {
  308. disable_classes =. F8 j3 Z8 e& R: u( X
  309. + f0 t. g% N* G8 h6 g
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in$ Y! Z! v1 j9 m8 q& r* }
  311. ; <span style="color: ???????"> would work.
    % @" p! N  I9 d" b6 @5 D
  312. ; http://php.net/syntax-highlighting
    . q3 N( u4 @0 C' e7 D  B
  313. ;highlight.string  = #DD0000
    4 V6 M: y: n  q2 h$ S
  314. ;highlight.comment = #FF9900
    9 x* y8 q- _; W$ C* G
  315. ;highlight.keyword = #007700
    8 h+ U* Y, @: T& t) u
  316. ;highlight.default = #0000BB
    1 Z. X6 `' E' W' K9 U
  317. ;highlight.html    = #000000
    8 P. X( i8 @5 b9 o5 ?% ^: a
  318. 6 `1 I4 i; b# O) u1 H
  319. ; If enabled, the request will be allowed to complete even if the user aborts: G0 O4 `( _5 K  q, r
  320. ; the request. Consider enabling it if executing long requests, which may end up
    * Z. |; U3 d8 ?' h0 A
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior7 F" E5 X7 O% @1 v8 n/ ^% l# S) L
  322. ; is to disable this feature.
    8 Y. c% }% a& [% I) h& j9 x
  323. ; http://php.net/ignore-user-abort
    ' E3 W, O" m# b1 t* ~! P, m- d9 K& b
  324. ;ignore_user_abort = On
    ) }& _! N0 K: P3 }6 P2 p

  325. 2 n2 ^7 W5 r) h) I# U- u
  326. ; Determines the size of the realpath cache to be used by PHP. This value should+ S1 X% c( P- O9 W& I: e
  327. ; be increased on systems where PHP opens many files to reflect the quantity of; B2 D8 q' ~$ \/ G' J) v
  328. ; the file operations performed.0 b( A, r- [& f' u1 O+ J
  329. ; http://php.net/realpath-cache-size
    2 D* i0 P- O3 g8 R6 W& e2 v
  330. ;realpath_cache_size = 16k
    # \* q. @: B$ A! E

  331. # e' m- q$ q0 ~- T* f. N. E' ^
  332. ; Duration of time, in seconds for which to cache realpath information for a given9 y' K. A8 V/ l7 Z- b
  333. ; file or directory. For systems with rarely changing files, consider increasing this: ~, A) W9 `8 X7 Z4 H; ~
  334. ; value.
    " W$ D* V0 k" [. V7 i
  335. ; http://php.net/realpath-cache-ttl. i! Y+ `% [- j5 j& ~4 @* m$ A
  336. ;realpath_cache_ttl = 120
    / y3 F  }0 Q/ L! p: T0 `
  337. ; [; d4 z; m' c
  338. ; Enables or disables the circular reference collector.9 h' j- i% R* X/ A& U1 N
  339. ; http://php.net/zend.enable-gc& G( n7 X8 K% q: b4 j
  340. zend.enable_gc = On
    , W+ R$ z6 o+ n# m! |2 w
  341. 5 A5 X+ o. l8 a; f' F( G
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    & R5 e. d" D* \) D* s
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such2 o" E; u! M2 m
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    9 O# J6 K0 |/ g  w( d8 V% n
  345. ; Default: Off
    8 W4 F; R+ ]0 l7 W
  346. ;zend.multibyte = Off  p7 `) }! p9 X3 y

  347. 8 ]) q( q" X8 Z+ F6 m/ K6 G% h
  348. ; Allows to set the default encoding for the scripts.  This value will be used/ l2 R$ S. O6 n- ?; e4 m6 u
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    6 L. P! y8 k' k' o
  350. ; Only affects if zend.multibyte is set.
    2 w0 B( \2 C* N. Y5 J1 C& _0 ^! q
  351. ; Default: ""+ ~! V% b/ k  e* d+ y; P( X
  352. ;zend.script_encoding =
    + l# O- f6 i$ I9 B

  353. & U" W5 u4 n) H7 M5 L9 j! f# a
  354. ;;;;;;;;;;;;;;;;;/ Z+ z9 W) Z2 S7 _
  355. ; Miscellaneous ;) s% X4 _" z% c) N# S  C
  356. ;;;;;;;;;;;;;;;;;9 ?7 X) M; O: S8 i
  357. ( ]' N  Y0 P8 N) J# `
  358. ; Decides whether PHP may expose the fact that it is installed on the server! P* q& a- s* \) E  B
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    # D/ \- b0 s4 r# N0 V/ Z1 U
  360. ; threat in any way, but it makes it possible to determine whether you use PHP) k/ i% s) K0 @6 Q' Z/ R
  361. ; on your server or not.
    2 Q) A: e0 Z; G
  362. ; http://php.net/expose-php
    $ D3 `9 M& L# F, n+ ~/ L
  363. expose_php = On, h: s) t3 j4 B5 ?

  364. * ]2 t+ f! d4 @. R
  365. ;;;;;;;;;;;;;;;;;;;. B: Y. Z+ ~, i0 O/ e
  366. ; Resource Limits ;* F0 W3 u5 H/ `" t5 K2 x1 G% m. _7 Z
  367. ;;;;;;;;;;;;;;;;;;;
    4 n- b8 t# V6 e8 i7 i
  368. : }% l# e( ?& @0 W
  369. ; Maximum execution time of each script, in seconds5 k4 i) L, S% d2 W$ M
  370. ; http://php.net/max-execution-time
    " z- X4 f1 d& P6 R& E$ }
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI$ u0 T9 ~1 O" z- H2 ^
  372. max_execution_time = 300
    ( z, D! O" c# i* Q. ], d- L0 e

  373. & x" y2 S5 G3 G2 k
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    8 o% O# G" ]7 M7 E6 T/ Y
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    * ?" R$ ~* u& ?7 `
  376. ; long running scripts.9 o+ u* }. [  @  i: r: D" L
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI1 P7 z% l3 `. J' w" [- u/ v) o  H
  378. ; Default Value: -1 (Unlimited)2 z7 n) M" P; z/ Q3 P: E3 ^) p
  379. ; Development Value: 60 (60 seconds)
    + M4 M4 t6 q- ?4 Q
  380. ; Production Value: 60 (60 seconds)
    ! M7 ?5 d$ k: ?' t6 J; |& C: x
  381. ; http://php.net/max-input-time4 }3 |) q. U$ A% D3 q, t  \  x
  382. max_input_time = 60
    ' R, L& P. {8 R

  383. . @& Y8 E, e- J) V: E8 |  r7 {
  384. ; Maximum input variable nesting level
    & K; |7 j" g: ^  Q
  385. ; http://php.net/max-input-nesting-level
    ; f& @; f5 A/ \3 [  r% M  H! Y
  386. ;max_input_nesting_level = 64
    & O# i; f+ Y# z, Y% o6 {

  387. 6 e4 v: V$ f9 w& s/ x' J
  388. ; How many GET/POST/COOKIE input variables may be accepted2 ]# S( `, H: C. {2 X! q
  389. ; max_input_vars = 1000# E7 H8 {5 d, E- {4 C2 |/ E

  390. 1 c" Q3 D; J( v1 W/ |) ?
  391. ; Maximum amount of memory a script may consume (128MB)
    ' K* R: h* o6 ?. U2 |6 p% N
  392. ; http://php.net/memory-limit6 z- ~7 @4 G3 B1 i; ~' k
  393. memory_limit = 128M  ?5 R' q) E# S% s1 }

  394. 8 g$ s. W5 A9 }9 Q; l
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    7 O! X$ |! u5 R2 P
  396. ; Error handling and logging ;4 ^: ^% G$ m& _. z
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9 o! C* U3 f* k, I1 [
  398. 9 A6 y4 r# \- q" A
  399. ; This directive informs PHP of which errors, warnings and notices you would like# F* G: c: V6 V! {$ o& E
  400. ; it to take action for. The recommended way of setting values for this
    " u- c5 w1 l& r) ?% F
  401. ; directive is through the use of the error level constants and bitwise
    : G0 {6 y" L# h4 t4 n1 B
  402. ; operators. The error level constants are below here for convenience as well as
    3 |" J& t' g& V9 S/ K# A4 |, g$ V
  403. ; some common settings and their meanings.
    + B& t' z" f7 L4 w
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    6 i& p7 A+ s. M6 Y
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and" |2 {9 L! u. n* ^
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    9 [4 z6 `: @8 _3 O
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ( Y, p$ Y5 B* I) v2 a3 Z7 J) \
  408. ; resources complaining about best practices and coding standards. That's what8 n; X8 `, W3 A" K
  409. ; development servers and development settings are for.
    - O1 ]4 B9 ~" J* C& T
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    $ c6 H% O1 U2 @  [1 H8 k
  411. ; means it pretty much reports everything which is exactly what you want during
    9 p  E6 w" ~' ]9 f  H5 S
  412. ; development and early testing." ^7 L' B# h- E- T6 a; C# @3 H
  413. ;
    . s7 O7 u7 a8 l  O6 Z
  414. ; Error Level Constants:8 {; ]' u, [5 O, t9 Z
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)* B  F3 m( b. Y, b3 P
  416. ; E_ERROR           - fatal run-time errors0 G1 K( J, K" R: {) `' T
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors5 O& h! h3 I- B" A
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    & @: ~5 A$ N6 l0 @" `  U
  419. ; E_PARSE           - compile-time parse errors* z& [( F8 h! p+ e8 k2 a* {2 u/ l+ ?
  420. ; E_NOTICE          - run-time notices (these are warnings which often result7 @" m8 c6 ]* C# _
  421. ;                     from a bug in your code, but it's possible that it was" o& D) M2 I8 p' D
  422. ;                     intentional (e.g., using an uninitialized variable and
    ' o. d( U+ w0 x' O7 z; C: [
  423. ;                     relying on the fact it is automatically initialized to an9 H7 v4 [1 m: w) O
  424. ;                     empty string)" b4 \1 s5 m0 e% Z2 X* G9 X) c$ Q
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes) K. a2 B- g8 V+ W. a
  426. ;                     to your code which will ensure the best interoperability& Z9 |, q9 R) G0 m5 R
  427. ;                     and forward compatibility of your code3 D4 s* R" U6 S9 O4 T/ r+ m! r
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup7 h. m( R3 ^) H- ^" S& Y
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's  q$ ~/ y7 U5 s4 _* B
  430. ;                     initial startup
    0 ~7 a0 y! F3 [9 \$ p
  431. ; E_COMPILE_ERROR   - fatal compile-time errors, x+ i/ i& u4 C1 n% V3 E( O
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    " j9 j0 z# z9 w% W
  433. ; E_USER_ERROR      - user-generated error message% F9 l' Y5 `/ o& p
  434. ; E_USER_WARNING    - user-generated warning message
    4 w& g# g3 J: y+ X. G1 z
  435. ; E_USER_NOTICE     - user-generated notice message" y; f: _. \- F( {! M
  436. ; E_DEPRECATED      - warn about code that will not work in future versions5 I! W0 w* G1 v# n' X8 b! u( A
  437. ;                     of PHP
    3 Z6 K1 |) b: G1 P9 o
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings5 u6 c  u/ S- T# o6 H& G
  439. ;3 G5 F' i% Z& k* k: H
  440. ; Common Values:
    * ?$ X. }$ F8 g! }2 ]7 w, u
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)5 \% u$ t& S2 t! ]6 `, B
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)$ L' z3 ^8 L8 @0 |) V6 f- @: z* }
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)" x6 ]! i2 r7 M. h. k: O5 q  L
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    * \- j( U- A) L6 v
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED& k  a6 r2 U- }1 [: ?% ~
  446. ; Development Value: E_ALL
    5 K! }. f' v' }. G) D1 G& s) L
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT2 c  t# a. ]/ l
  448. ; http://php.net/error-reporting0 z$ z( i) Z8 v  p2 N& z! A
  449. error_reporting = E_ALL & ~E_NOTICE5 B5 L: H% E; ?+ _5 _/ m7 [7 I
  450. - N# u8 z$ t  a& X
  451. ; This directive controls whether or not and where PHP will output errors,
    9 k3 y8 o; |, U' b) |) E+ T* X/ {
  452. ; notices and warnings too. Error output is very useful during development, but
    ! i! [- `) {8 W* h/ l* [; @
  453. ; it could be very dangerous in production environments. Depending on the code
    ; R# ^. m. I: o& Y9 g
  454. ; which is triggering the error, sensitive information could potentially leak
    % O9 p; E' T3 U
  455. ; out of your application such as database usernames and passwords or worse.
    ) F6 L- ?# c2 Z: a9 C5 i' s
  456. ; For production environments, we recommend logging errors rather than
    ! F; `2 m0 y$ ?8 \& K
  457. ; sending them to STDOUT.0 N0 A9 d- q1 ^" G/ U8 \; v% a
  458. ; Possible Values:+ c  u0 V) R& s- R9 b, }0 ]2 f0 A3 k
  459. ;   Off = Do not display any errors9 z* ?0 o/ E* e) m
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    0 Z9 c0 L1 H3 t5 V2 s0 W0 Y  \
  461. ;   On or stdout = Display errors to STDOUT
    # C; k8 ?: @6 {/ u8 j. w* f
  462. ; Default Value: On! e1 y, E, G" W& b5 q
  463. ; Development Value: On+ n% B) J5 |2 `3 ]
  464. ; Production Value: Off0 {7 @" A) s& G+ X- ?. n2 h
  465. ; http://php.net/display-errors
    % v5 P# i" w1 t7 X5 @, e
  466. display_errors = On
    3 ~" O3 A/ y: E
  467. " }" g' W7 z1 X- l! z9 h2 C/ W
  468. ; The display of errors which occur during PHP's startup sequence are handled0 K; f9 {8 N1 i0 ~& x
  469. ; separately from display_errors. PHP's default behavior is to suppress those8 j- |, M6 q4 Y: ~  Q: Y, N( U$ |
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    " F8 o$ J# c6 q/ B8 p+ o6 [3 q
  471. ; debugging configuration problems. We strongly recommend you6 c" U+ J4 U) S7 c: b" Q
  472. ; set this to 'off' for production servers.9 F+ W. f4 S) ]2 }# E+ f& t
  473. ; Default Value: Off3 o. Q; }9 Y, D" T) v* v
  474. ; Development Value: On. X0 L- \7 \4 W9 k3 B+ N# m
  475. ; Production Value: Off% }3 c( i8 w& g3 F7 U
  476. ; http://php.net/display-startup-errors
    6 H; ~7 m) X& |: ~% D
  477. display_startup_errors = Off
    : L: r! t) N2 a+ f9 \
  478. : R9 h5 O- m) |2 O+ `
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    ) T% K! h* R# ]4 I: H
  480. ; server-specific log, STDERR, or a location specified by the error_log) K5 ~' B; v! s' T- G
  481. ; directive found below. While errors should not be displayed on productions
    5 X# Q6 o5 i, l
  482. ; servers they should still be monitored and logging is a great way to do that.) A" @1 ^+ k. d$ b: m
  483. ; Default Value: Off- |$ M2 x" A% y% v
  484. ; Development Value: On# D$ ^1 Z( G9 X% t* P% m
  485. ; Production Value: On4 ^( y0 {) j6 g6 ?% d
  486. ; http://php.net/log-errors
    5 O" l" @, c% k. D0 e' V# L0 m
  487. log_errors = On
    8 o( W. O2 c+ h

  488. ' N3 V2 ]2 t$ T( I5 V6 K
  489. ; Set maximum length of log_errors. In error_log information about the source is
      ?: {3 d" h/ h0 N5 P0 ^/ U
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    1 l8 p% Z: `" x1 X& o3 X! W! O7 S
  491. ; http://php.net/log-errors-max-len8 e( i3 l5 u# ^  m
  492. log_errors_max_len = 10243 V" B, P5 P2 t8 S4 }2 y
  493. * }2 M8 y! v0 \3 K& |. ^
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same+ t) f& E  X/ X0 g, O
  495. ; line unless ignore_repeated_source is set true.
    " {: p# E. O! U. n
  496. ; http://php.net/ignore-repeated-errors! H  H7 U8 j# q, \. q' w6 Q
  497. ignore_repeated_errors = Off
    * |& _8 K1 s3 Q4 {% w, ]
  498. ) R& ~/ r( h" C9 D% W  [: \
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    7 D; a$ }, M4 z9 g' I9 R0 B4 A7 \
  500. ; is On you will not log errors with repeated messages from different files or3 M2 t8 h4 Q/ m. ?5 o7 [
  501. ; source lines.% g$ }0 G0 R& T2 h- \
  502. ; http://php.net/ignore-repeated-source  {( k5 v. M. W! Z0 X) T! h
  503. ignore_repeated_source = Off
    : n( O3 u& P$ [, o* H7 G1 f2 M

  504. 7 e/ s" o+ I7 i; A# d) ?0 [2 ~
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    & z. I( @. B' z
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    ) R1 `" ~1 P' w, g6 k$ H( W
  507. ; error reporting includes E_WARNING in the allowed list
    ) W& e; H4 s3 Y) s8 K
  508. ; http://php.net/report-memleaks" E$ B) g9 _, K
  509. report_memleaks = On1 s- l! q5 r0 m/ @, J
  510. $ G; K( O, m6 L: |) `4 ^7 S0 e9 U
  511. ; This setting is on by default.
      N3 M) p% N+ m
  512. ;report_zend_debug = 0
    ; a& O! N8 W  K
  513. 7 z7 i9 u. M  i  G! o4 K1 ?
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    $ P3 V: }, i$ j; g" ~
  515. ; to On can assist in debugging and is appropriate for development servers. It should
      G2 N3 u5 a+ Z
  516. ; however be disabled on production servers.
    + C. ~0 U$ j% n. T
  517. ; Default Value: Off
    % x" K, V# D. M3 @
  518. ; Development Value: On
    : J! p2 I* E8 Z, ?+ X
  519. ; Production Value: Off
    6 L! C5 g% X) u2 A. ]/ N! K  M
  520. ; http://php.net/track-errors) N: R% B6 P7 ^. Y: u  T5 Z
  521. track_errors = Off- G: P1 ~9 x( r. l; E2 P9 d! ?3 [# p
  522. ; R  g8 g% a: F. _8 X% R8 v
  523. ; Turn off normal error reporting and emit XML-RPC error XML0 T& v; _' s# z8 o  }6 j1 W
  524. ; http://php.net/xmlrpc-errors" a9 `- n6 M7 ~) R$ J2 J, ^
  525. ;xmlrpc_errors = 0) q: @0 m, c& M% v8 J

  526. * i9 f, z6 y, S2 F! t, l" R; q3 u
  527. ; An XML-RPC faultCode
    1 T/ J+ D; g' G  z# W$ y
  528. ;xmlrpc_error_number = 04 u3 f2 [3 w& u! M/ M' |

  529. . C% l- z" E8 f# ?2 M
  530. ; When PHP displays or logs an error, it has the capability of formatting the  m% k3 c, W, c7 ^0 B
  531. ; error message as HTML for easier reading. This directive controls whether: w  K9 y5 I, b+ B' N1 t# s
  532. ; the error message is formatted as HTML or not.4 b( V  {6 ~$ {
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI% C- H6 f7 r/ _. p' _. a9 X
  534. ; Default Value: On
    2 k$ z" Q' S) A2 H9 t: O' U. i
  535. ; Development Value: On
    7 [9 }+ l- u( \$ u- _! Z8 Q
  536. ; Production value: On
    3 g' Q% E! z3 v' |) S3 R
  537. ; http://php.net/html-errors
    - j- c6 T* E- U4 W* [% _
  538. html_errors = On
    - R8 y9 C# w1 a$ [1 K4 ^
  539. ! x$ u' F! v! v, K8 R  n
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    + y  @* i' h, G8 q1 D0 V
  541. ; produces clickable error messages that direct to a page describing the error2 A' o+ A; ?4 S7 j$ h
  542. ; or function causing the error in detail.; R- b4 {, l2 D' k
  543. ; You can download a copy of the PHP manual from http://php.net/docs7 y6 B; R) |9 ^) t1 e- i) E" F
  544. ; and change docref_root to the base URL of your local copy including the5 [; ~  z/ j6 u2 z3 d$ Q, V( D0 ]
  545. ; leading '/'. You must also specify the file extension being used including% @+ b- `0 z% B1 T9 v9 T0 Z$ Z
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which' m9 i2 F, n# m/ f) Q: N- v' ]" s
  547. ; case no links to documentation are generated.
    9 y% a9 H9 U: M& o6 m
  548. ; Note: Never use this feature for production boxes.8 p! U( |7 E) F' o
  549. ; http://php.net/docref-root8 w$ w9 k' D! V' v0 ]8 a+ E
  550. ; Examples# Q# T( |1 U$ I1 T' e
  551. ;docref_root = "/phpmanual/". N; [) J6 I% ~! s9 V

  552.   E# A# u, j+ a) M9 N6 }
  553. ; http://php.net/docref-ext4 L, X( A5 [0 J* A, J8 k  z/ \+ P# `
  554. ;docref_ext = .html3 I! m7 w4 d( w8 p. T' Z( e, r# n# Y
  555. ! P/ A# g0 ~2 f& c( C( z3 D. b) G- U1 Y/ U
  556. ; String to output before an error message. PHP's default behavior is to leave
    . y" I4 r, X: J9 j3 b3 j  B
  557. ; this setting blank.( Q5 ~6 h# M' y; w( ]6 p
  558. ; http://php.net/error-prepend-string6 L; U/ t- {# k; M
  559. ; Example:
    7 S; O7 K( K  C: F
  560. ;error_prepend_string = "<span style='color: #ff0000'>"1 L: Y# }7 V$ m" Z: h

  561. % W; p$ ?5 ?( J5 Z& W
  562. ; String to output after an error message. PHP's default behavior is to leave
    , Y/ U* O/ Z% a2 z' U
  563. ; this setting blank.2 b7 `: {$ B/ U& ]% [9 Z* E  K/ s
  564. ; http://php.net/error-append-string
    8 ~% N5 {- p" p
  565. ; Example:: f* b1 h' X( v1 G
  566. ;error_append_string = "</span>"8 u1 _8 w: Q' F$ k+ L

  567. 3 l5 g% l) O0 G
  568. ; Log errors to specified file. PHP's default behavior is to leave this value0 X: v7 X  s! _2 T* K4 k( X
  569. ; empty.% k# P5 r9 b6 Z) g( R& K& v
  570. ; http://php.net/error-log
    8 S) Y0 O. @* t1 L9 u, o/ O
  571. ; Example:9 r. O" V# Z! {/ k- @
  572. ;error_log = php_errors.log# l& l* f# p+ }- W. w/ o5 V
  573. ; Log errors to syslog (Event Log on Windows).0 R3 F& `% |8 Y: t  `* n
  574. ;error_log = syslog) P9 `  p. g9 r  N3 N

  575. 1 c7 Z/ X& S% m4 w* H/ h
  576. ;windows.show_crt_warning! s$ `1 r$ a0 M3 M8 n9 _% V
  577. ; Default value: 0) l/ z- f6 }9 o6 n" x
  578. ; Development value: 02 O& f. r: Y( D5 ], E* @; w
  579. ; Production value: 0
    . [) Y& {" `2 A+ I- h& Z+ o8 J

  580. 5 a& i' G0 x4 d0 z/ M
  581. ;;;;;;;;;;;;;;;;;
    2 V, J/ M9 R7 `% H4 G( x8 {5 v) I
  582. ; Data Handling ;
    : N' m! y+ c5 i# Q. Y. b$ ]- a' {
  583. ;;;;;;;;;;;;;;;;;% `  `3 n9 y1 N( e! _% l0 Q2 R4 E

  584. : Z0 M0 R" k0 u/ b* R; }
  585. ; The separator used in PHP generated URLs to separate arguments.- Z- E0 X% {, g$ H- j1 y3 S* O& f
  586. ; PHP's default setting is "&"." Q; P% w& j5 U" b0 V3 i& I( {+ V" l. b
  587. ; http://php.net/arg-separator.output
    ) T) b  @+ F2 a# _
  588. ; Example:" ~+ u# o/ t3 \) R! X( v! x
  589. ;arg_separator.output = "&amp;"
    $ S# y, e) N4 m0 @. |
  590. - G0 V( O  K+ n9 j9 m
  591. ; List of separator(s) used by PHP to parse input URLs into variables.! m, N* Q5 S' T2 E4 F% `, r
  592. ; PHP's default setting is "&"." ]' |/ d2 w0 s" g" O# j
  593. ; NOTE: Every character in this directive is considered as separator!
    1 h$ C* k7 j+ G+ Y
  594. ; http://php.net/arg-separator.input
    . S, C  ?  H! j
  595. ; Example:+ r; Q# m4 N& P- [! c
  596. ;arg_separator.input = ";&"2 E3 R# g1 [; Q  L! }

  597. : E8 q  _( j% y. _* m1 a
  598. ; This directive determines which super global arrays are registered when PHP
    # ~" i' }) r- u, n8 B/ }
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    0 ~, M$ m% b$ X
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty% n6 C  A' T# e
  601. ; paid for the registration of these arrays and because ENV is not as commonly3 v  I9 E9 t7 [, ~9 e
  602. ; used as the others, ENV is not recommended on productions servers. You
    3 V7 D: s* k2 M, D; |% e9 Q
  603. ; can still get access to the environment variables through getenv() should you
    / ?4 h- W6 ?' X2 d! ]
  604. ; need to.
    : l! ^  ]& o4 |5 k2 s3 {
  605. ; Default Value: "EGPCS"
    9 O+ I6 I+ x. C% P8 A
  606. ; Development Value: "GPCS"
    5 A1 h$ C" i" y
  607. ; Production Value: "GPCS";
    & |+ D& c/ X( x" B) D4 ~: D4 e
  608. ; http://php.net/variables-order  k; a. E4 r3 }& R( M) Z
  609. variables_order = "GPCS"( |) w+ B" R  s: u0 P
  610. 5 x0 R) R  @/ T7 @) R* v, E( P0 R
  611. ; This directive determines which super global data (G,P & C) should be
    : x! c- ~' s1 p5 e5 T, Z8 p9 ^
  612. ; registered into the super global array REQUEST. If so, it also determines
    , Y2 N0 M# S2 l4 Z. F
  613. ; the order in which that data is registered. The values for this directive0 ]# ?' k5 T- E4 b% Z* H/ V
  614. ; are specified in the same manner as the variables_order directive,0 k8 M5 a+ J: q; j! |; Y1 Q1 e
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set( i+ G/ f; \( O' m
  616. ; in the variables_order directive. It does not mean it will leave the super% Y1 {4 I/ w9 w( p' H  n8 i/ v8 J
  617. ; globals array REQUEST empty.* L( {# E, ~: B( {+ `3 y% w
  618. ; Default Value: None
    & {1 Z: P" u* S0 H6 H. o3 O
  619. ; Development Value: "GP"5 o( F- ~5 R; I6 o; _% x, o! Y, E
  620. ; Production Value: "GP"
    % V9 h1 A- d; m9 m, P
  621. ; http://php.net/request-order2 C  d+ X4 a7 S6 X; A  O" A
  622. request_order = "GP"
    9 z$ g4 i' b5 E$ ^" h  x
  623. / |* q# p9 n9 S! t- _7 X
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    + o* B! c3 a( L
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    9 a/ B- \8 F1 C8 [6 I8 p
  626. ; is invoked. $argc contains an integer representing the number of arguments7 N  L8 y+ Q6 ~6 z3 z' u
  627. ; that were passed when the script was invoked. These arrays are extremely; K; Q7 ]9 U  ?1 m" i
  628. ; useful when running scripts from the command line. When this directive is5 p4 F2 e) m# J' I3 \( S7 G
  629. ; enabled, registering these variables consumes CPU cycles and memory each time" j' m6 K( \- s3 l. B: P( i1 r
  630. ; a script is executed. For performance reasons, this feature should be disabled  p6 a  Z: ^/ E0 n& \$ t. ]
  631. ; on production servers.* y3 V, |6 R: r" r9 d
  632. ; Note: This directive is hardcoded to On for the CLI SAPI0 l- ^9 f8 g: R$ F9 ?6 C6 G1 Y
  633. ; Default Value: On4 c* w; M. G% W, x. w# E
  634. ; Development Value: Off
    9 Y( g, q$ k' k' R( G
  635. ; Production Value: Off2 O, J: f+ ^1 A2 }4 `
  636. ; http://php.net/register-argc-argv
    $ P/ Z9 o$ m; R0 v$ R; `5 _3 l
  637. register_argc_argv = Off3 N- A0 u3 x; `, ]
  638. : D! X: {& m2 g) q
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're  H$ e6 |: x0 ^& n
  640. ; first used (Just In Time) instead of when the script starts. If these
    ) Z+ C7 g. l3 g( f3 Y
  641. ; variables are not used within a script, having this directive on will result
    $ _9 ^  _+ P  A" k
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
      [$ r8 W7 F$ V9 N" v( G9 w$ N
  643. ; for this directive to have any affect.. c/ I# D* ~! q
  644. ; http://php.net/auto-globals-jit
    / r/ a( A% {% G6 K
  645. auto_globals_jit = On2 S: ]4 X4 J" o; L

  646. ( J* F$ G( q7 m& A; }8 ]0 W
  647. ; Whether PHP will read the POST data.4 c2 G% F: q( E- `1 Y/ @. ~
  648. ; This option is enabled by default.7 E3 D4 o9 c+ I3 E4 m' x5 Z
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    + ^8 j6 K6 ?+ S$ v
  650. ; and $_FILES to always be empty; the only way you will be able to read the/ N7 d# `+ }$ R3 J$ h) A* x- Z
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    " n4 d) |& q3 }) I( R5 U- o, A
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    8 m9 y6 O  x2 D! q8 e. H) l
  653. ; http://php.net/enable-post-data-reading
    + {) }( X5 d5 b% z6 Y3 k
  654. ;enable_post_data_reading = Off
    7 z( J/ S% \6 x- {

  655. 7 n. m7 s5 J' `& b( r) D0 r8 a
  656. ; Maximum size of POST data that PHP will accept.
    - s$ T$ E9 h% t2 P& q. n" L
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    , C& L, D4 p+ Q" R; [1 c( |* z! C; C
  658. ; is disabled through enable_post_data_reading.% |3 _% w& x% p4 O
  659. ; http://php.net/post-max-size
    8 _& m6 O+ _8 M1 m4 C
  660. post_max_size = 50M+ Q5 ?9 V4 u3 h( b" c1 f
  661. " A% V( r7 Z; Y2 V# R
  662. ; Automatically add files before PHP document.
    ; a! P+ c9 L: _# W" t3 i
  663. ; http://php.net/auto-prepend-file6 j$ {! N" h1 L' Y/ C3 Q4 r7 `6 [; `
  664. auto_prepend_file =
    ( m/ s9 m5 K5 b. F3 Q  m  Q+ e
  665. / a! W/ R, H! P% ^, ^
  666. ; Automatically add files after PHP document./ ^! I! `/ Q- U
  667. ; http://php.net/auto-append-file3 n! k3 g  @; N& U
  668. auto_append_file =
    , O' f0 E$ t9 k, H; ^9 ~) o
  669. ( s7 y+ b' i9 s6 I- o, Z5 \- ?4 B- E* [
  670. ; By default, PHP will output a media type using the Content-Type header. To
    ( e1 z9 v( a- a% }. ^( M( n
  671. ; disable this, simply set it to be empty.4 h* ^2 C+ s7 j6 b( m8 E& r2 [
  672. ;7 ?* L+ Q9 [' p, z5 X
  673. ; PHP's built-in default media type is set to text/html.
    ! ^/ K0 c! W3 `/ R/ U
  674. ; http://php.net/default-mimetype7 T8 N9 D1 ]$ }, i5 m: z6 D
  675. default_mimetype = "text/html"5 M: F) H  P0 i6 [: [
  676. ; l8 W$ W" z* M& n+ m( |
  677. ; PHP's default character set is set to UTF-8.
    - \( U) N6 F# K! r" u5 b0 e" N
  678. ; http://php.net/default-charset1 E" B' d2 t" r8 U
  679. default_charset = "UTF-8"& N, T1 ~, z/ q1 K
  680. ; d1 Q! O  k" _- q
  681. ; PHP internal character encoding is set to empty.
    # B! y! B1 J5 U. m  {- }
  682. ; If empty, default_charset is used./ {) O0 {0 T+ d/ y+ Q6 e
  683. ; http://php.net/internal-encoding; ^4 B5 y$ U: H0 Z+ @/ L& l. ]0 b
  684. ;internal_encoding =  ]$ |- u7 Z4 Y" L8 ]4 v
  685. 3 ^$ G$ I, y3 V0 m9 ?" K6 M
  686. ; PHP input character encoding is set to empty.
      H+ t% L/ O$ [
  687. ; If empty, default_charset is used.
    8 w$ S% ?# W8 T3 ^6 }4 ?1 Z
  688. ; http://php.net/input-encoding1 ?+ K+ ^: {) S! B( n
  689. ;input_encoding =
    - h9 h+ T1 v% S) Q3 _# }1 J: G+ o

  690. + D6 _5 W( n* \
  691. ; PHP output character encoding is set to empty.
    & n' p3 U9 s3 K) c0 B
  692. ; If empty, default_charset is used.
    ! T2 x" F8 H$ y
  693. ; See also output_buffer.4 |; \% ]) Q5 e- S* r4 T$ P
  694. ; http://php.net/output-encoding
    " ^- [' u( M' X5 X, p
  695. ;output_encoding =
    ; B. h! |$ V1 @4 ^4 g8 H  q  r& a
  696. 7 {; d, U& |1 I8 T. Z  x( Q' ^
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    - }2 @8 \4 ~. v) p
  698. ; to disable this feature and it will be removed in a future version.
    : x: r% E# |9 X: `
  699. ; If post reading is disabled through enable_post_data_reading,1 [( E7 x9 v5 |6 \4 ^
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    ' P  M) |9 T1 m; T  e4 L' Q
  701. ; http://php.net/always-populate-raw-post-data+ j; N6 P; {1 g( {
  702. ;always_populate_raw_post_data = -1* \3 N9 ]: I( R  {9 Q, z
  703. 9 M7 k- k) y" t6 w+ A/ s( `4 R
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    7 U. f; I5 {6 ~" R6 B& N4 w
  705. ; Paths and Directories ;
    & n8 Z- c6 \+ K8 Y3 j0 l" |
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
      ?5 ^! p& E# j0 ~, _6 Y

  707. 4 ~. k- U+ V2 Q* M2 E4 g  B
  708. ; UNIX: "/path1:/path2"
    ( o7 u. ~& W9 t2 r2 R) z8 h/ S
  709. ;include_path = ".:/php/includes"
    % f6 f" J  ?, W$ G
  710. ;# v5 E$ Z; F  p" u
  711. ; Windows: "\path1;\path2"" q. {$ Q0 O. g5 g' S. V2 m% |
  712. ;include_path = ".;c:\php\includes"
    + w+ P0 z: ^# D3 {9 h& N
  713. ;
    ) T) H5 J, E; p" x$ m
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear". O. H- x* ?7 @( V5 O
  715. ; http://php.net/include-path, ]- ]3 H" u: @* N  m, a. r2 m

  716. # _, i& n* j. k
  717. ; The root of the PHP pages, used only if nonempty.
    4 ]4 H5 q0 y9 X5 J
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root( U5 i& |9 p+ _' Y
  719. ; if you are running php as a CGI under any web server (other than IIS)
    " I: m9 D! }( n4 a, Q. ~8 Y
  720. ; see documentation for security issues.  The alternate is to use the
    8 S" @5 Q. K& {7 i
  721. ; cgi.force_redirect configuration below
    5 u6 K. ~# ~+ b& Q7 p
  722. ; http://php.net/doc-root
    . B& ^# ?+ e$ o! @5 }. {, O' R3 m
  723. doc_root =
    - a" N4 g0 a, s2 r8 J/ y

  724. 4 B3 t- N4 x* M( O" ^3 B
  725. ; The directory under which PHP opens the script using /~username used only
    $ q/ i& H: v& ?! Y. _
  726. ; if nonempty.% c6 d$ Y& g0 a( y
  727. ; http://php.net/user-dir
    ( T. J4 D  D- i+ p9 n0 }; y5 ?
  728. user_dir =
    8 H# O% N# `- r8 k/ n

  729. 2 [7 E4 N' k3 e9 o
  730. ; Directory in which the loadable extensions (modules) reside.
    2 A" g8 R0 ?6 I6 V5 ~: u, t& {
  731. ; http://php.net/extension-dir% u% C2 `0 b$ x/ n0 X3 o# ~
  732. ; extension_dir = "./"$ Q0 T+ k6 Y* U# D( f# h* {/ c
  733. ; On windows:- c$ V% D- I4 Q, y# l& ^
  734. ; extension_dir = "ext"
    6 i" p: Q$ l  D8 R0 D' S! c
  735. . l6 [' ~# ~' v3 r: I9 Z0 g
  736. ; Directory where the temporary files should be placed.
    3 R1 ]- ~& B/ t5 Z  }
  737. ; Defaults to the system default (see sys_get_temp_dir)% _1 [  H/ R  T. R: Q
  738. ; sys_temp_dir = "/tmp"
    , z, w  m  k: @
  739. 8 P6 q: s# U( u
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    , c' i2 D, m; s+ F+ [% t
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    # X* e- s6 ~! l' z- W6 [7 i
  742. ; disabled on them.
    & Z* B: E& ]* @# ^0 [' ^
  743. ; http://php.net/enable-dl# \1 e- R$ a2 R
  744. enable_dl = Off, c/ r; [/ V& s4 k1 G) ~  l9 h1 `# C

  745. * O) W" Q) ]2 Y4 t
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under4 `" r4 r; S6 v' W6 f
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    2 i! |: Y, W2 m" x( H+ j/ E7 }' f
  748. ; turn it off here AT YOUR OWN RISK
    * {" d2 q, c$ v
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**& R* g) }: S: N" h' W3 s! M
  750. ; http://php.net/cgi.force-redirect
    5 r9 }" K# g: E. M/ J0 I$ x1 T
  751. ;cgi.force_redirect = 14 V2 U" w+ m; q" B  w- V
  752. # u) M* n9 y8 x
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with' b: q5 O6 V5 p. Q
  754. ; every request. PHP's default behavior is to disable this feature.
    ! Q& \! X( V2 k8 ]  N% k) ~* C' w6 C
  755. ;cgi.nph = 1
    ) E* S4 @0 d4 s5 o; x7 I# _- P
  756. % p) H; H7 Q7 A5 `
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    2 Y+ B' X, P9 X: Z9 e
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP1 t, I; S, v1 p" J' r
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY+ p9 |- A1 M5 o
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    8 H4 b2 V$ J' h! x
  761. ; http://php.net/cgi.redirect-status-env* m/ c4 \; b# Q4 f) A3 X
  762. ;cgi.redirect_status_env =
    6 h& ^9 M4 d+ l0 W2 F9 C$ b( y

  763. / ^0 i0 ~) A& j+ ?( s
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's( @" a3 ^' P: U( Z( s: K: _1 M
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    - u9 e/ I) j9 x( V5 z9 b
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ; P2 a! J' p0 c3 i' d) D0 K
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting* L- u$ _1 \. M
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts" _7 F. C4 w. ^! m' s8 p
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.5 j, }% L2 q' T% `" z9 F
  770. ; http://php.net/cgi.fix-pathinfo
    . Q/ d0 {" J7 E5 C$ @
  771. cgi.fix_pathinfo=1
    / w9 b( H/ |/ w. F9 h" e% n! L: Z

  772. 2 ^  L5 E: Z3 g- [* U, M  }
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside+ K8 ]3 t  T! p3 m  k
  774. ; of the web tree and people will not be able to circumvent .htaccess security.: Y. `3 I3 W+ D
  775. ; http://php.net/cgi.dicard-path7 G3 ^% H- ?( i$ s4 ?) g
  776. ;cgi.discard_path=1
    4 C# r/ v) y! [4 z! A, b" P
  777. 7 X/ ^+ V+ `  h1 k. I
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ( O% y: z8 D1 t. ?
  779. ; security tokens of the calling client.  This allows IIS to define the
    % h- ^' p+ Y8 q
  780. ; security context that the request runs under.  mod_fastcgi under Apache8 L' h: M: A' t4 ?8 X
  781. ; does not currently support this feature (03/17/2002)
    / Z, k% W) L* D8 @$ x9 Q8 s
  782. ; Set to 1 if running under IIS.  Default is zero.
    ' O& W& T% V- t* h% [4 W# A( _
  783. ; http://php.net/fastcgi.impersonate# P* H- T" k3 R: W7 R$ U
  784. ;fastcgi.impersonate = 1
    1 k, ^9 h) N( L

  785. 1 a2 L5 k0 R7 d3 J  s2 c
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    , y1 h+ l# q* m
  787. ; this feature.
    1 T: t6 Y. u- b
  788. ;fastcgi.logging = 05 K0 Y) W" Y) H: P$ ]9 W
  789. + n) Y; }! r; x5 U% ]* v
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to' e+ ]& u$ n# O( p5 b  p
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that/ Y. M! v5 W/ |& w- H9 y
  792. ; is supported by Apache. When this option is set to 1, PHP will send# l6 \+ L; p7 P) R' r
  793. ; RFC2616 compliant header.
    % K# u' Y) }2 ~) r* [
  794. ; Default is zero.
    0 G/ S9 a4 M; T, m1 e& h2 O
  795. ; http://php.net/cgi.rfc2616-headers; h; F! l* j/ W* Z: G% L
  796. ;cgi.rfc2616_headers = 0
    & n2 U- \5 }) ^9 _

  797. ' |# \4 ^2 U5 A" L* s3 O2 @- g
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!& y9 ~: ?" C! H- d: \: n
  799. ; (shebang) at the top of the running script. This line might be needed if the
    " I% e" [. a6 g5 [- D
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    . p! Z$ @5 ]1 F  ^! v4 M" i0 u1 K
  801. ; mode skips this line and ignores its content if this directive is turned on.
    # C- B) f1 y& S- U6 ~# q9 C6 k3 @
  802. ; http://php.net/cgi.check-shebang-line1 M6 B( S0 s6 l! L3 P7 Q8 I; D% x9 r
  803. ;cgi.check_shebang_line=17 [0 Z  R! z1 P

  804. 4 m) M/ S0 _. [
  805. ;;;;;;;;;;;;;;;;: v8 @( x# `9 b$ H, y) Y& U# f
  806. ; File Uploads ;
    9 ]9 n+ ^( b( T/ ]
  807. ;;;;;;;;;;;;;;;;( d$ C/ g7 `5 S

  808. 6 _' A# `+ @! Y9 {% _3 y
  809. ; Whether to allow HTTP file uploads.# x1 C* I/ e$ r; \
  810. ; http://php.net/file-uploads6 d! ?. e# o8 Y
  811. file_uploads = On( o/ J" k7 j8 n# M: k$ v* E2 Z
  812. ( d+ o; Q4 q# s  w
  813. ; Temporary directory for HTTP uploaded files (will use system default if not2 k! x( h0 e( A  \
  814. ; specified).
    2 W4 c; z3 Y  n! F6 A$ e
  815. ; http://php.net/upload-tmp-dir' G" j4 f; s0 C) i
  816. ;upload_tmp_dir =) Q1 O# @/ p6 A% r; |
  817. $ s' y0 r- x: ]# O0 m
  818. ; Maximum allowed size for uploaded files.  G0 [$ Z- D- x0 T- J9 h! E
  819. ; http://php.net/upload-max-filesize
    / \3 E: }/ Q. l" s% I; y
  820. upload_max_filesize = 50M
    % T2 ]" G# v7 J
  821. 8 x* r" Z. u9 `/ V' n
  822. ; Maximum number of files that can be uploaded via a single request$ {( j) x( ?, g; `* K: ?$ C& X
  823. max_file_uploads = 20
    + t/ x7 R6 B1 C0 |/ I6 _

  824. ) d) y, h: K% `6 K: i4 t, X
  825. ;;;;;;;;;;;;;;;;;;
    9 r) q% W! f0 z' X
  826. ; Fopen wrappers ;
    + w8 L3 X! z. ~) U4 a
  827. ;;;;;;;;;;;;;;;;;;
    , v; v6 w! t6 f7 B" [+ n

  828. ' _+ ^0 i  t  a; o
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.; w# D  S- a4 o# E
  830. ; http://php.net/allow-url-fopen
      v; V* _3 V% l+ a3 l
  831. allow_url_fopen = On
    5 j! `3 ?$ G) T5 A; h4 `3 z' U# c0 B

  832. ( z1 ^3 c4 g+ y1 i7 o
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    * I! C# y) o  i  r$ @
  834. ; http://php.net/allow-url-include
    . Z4 k% |- S0 l1 b* X
  835. allow_url_include = Off
    6 j. T* `. `9 r' }0 Q" n
  836. : l9 N/ D( a( J
  837. ; Define the anonymous ftp password (your email address). PHP's default setting5 c0 D, g5 \3 B8 K* g! R
  838. ; for this is empty.
    , \: k; U& V6 m# D' J" I4 B
  839. ; http://php.net/from) i3 l3 }4 g4 Z
  840. ;from="john@doe.com"* ?( I5 V2 h/ z5 V: w. C

  841. 3 e0 f# e, m: O  W; X
  842. ; Define the User-Agent string. PHP's default setting for this is empty.  F$ L6 {: r- p9 [8 I
  843. ; http://php.net/user-agent
    ! T" r# \. D6 n" c$ v7 J, W5 B  H
  844. ;user_agent="PHP"
    1 c: R4 j/ y% H- j, ?
  845. / Q. v$ ]" ?8 p) G( E  w! w: l/ N
  846. ; Default timeout for socket based streams (seconds)
    4 R6 y: L$ C  ?9 r& p7 c
  847. ; http://php.net/default-socket-timeout) `, @6 V& k2 x2 t9 j6 ?7 ^
  848. default_socket_timeout = 60
      E$ _, x" ~( |7 r" P! J
  849. & P- h6 I+ Q3 S' E) Z7 ]9 B! c
  850. ; If your scripts have to deal with files from Macintosh systems,
    9 A6 |2 K4 e) Z. ], K
  851. ; or you are running on a Mac and need to deal with files from7 `; {3 H# A/ }( I* N9 f, t
  852. ; unix or win32 systems, setting this flag will cause PHP to
    ! o0 l/ K( w4 B( C* v3 [9 u7 ~1 t+ u
  853. ; automatically detect the EOL character in those files so that% {7 r. I7 _; z2 h8 ?
  854. ; fgets() and file() will work regardless of the source of the file.
    / Z5 b6 ]: i* e& K+ P& N
  855. ; http://php.net/auto-detect-line-endings
    2 G0 G* O! B0 r: f% p) i; ~/ g, E
  856. ;auto_detect_line_endings = Off
    + o& b5 q5 S; K7 X& b- {/ I  a/ Y
  857. ' V/ T% V" J+ P: D& Q6 A' S; e" t
  858. ;;;;;;;;;;;;;;;;;;;;;;
    4 i& \3 j! K/ R' I6 `
  859. ; Dynamic Extensions ;
    6 T2 Z8 {$ ]/ A5 \  T1 K$ ]
  860. ;;;;;;;;;;;;;;;;;;;;;;" e  {( J  c0 W& \9 ~

  861. ' T' V$ r6 N5 S' K* {1 X
  862. ; If you wish to have an extension loaded automatically, use the following
    $ s9 J  O" Z# i8 r" N& t- u. r
  863. ; syntax:: `& @( e/ t8 ?5 z% i  b4 ]
  864. ;3 M0 L' w  T+ p* f/ v
  865. ;   extension=modulename.extension
    7 G. L- y! M- i7 e
  866. ;) ^( p2 q* j  G9 Y  }
  867. ; For example, on Windows:
    3 ^) {9 g9 L" `
  868. ;6 _5 m0 e( l& ?$ a* F
  869. ;   extension=msql.dll
    " H; P8 D" x: e+ Z
  870. ;) x: a  Y3 O) Q  }
  871. ; ... or under UNIX:
    4 v$ r3 p2 W& g- w
  872. ;( r8 z/ ]' H6 L% ^) w
  873. ;   extension=msql.so8 r* C$ f2 r6 E+ F
  874. ;
    & g8 A# ~+ q2 z. Q" O* u; s6 j
  875. ; ... or with a path:+ r1 ~' r. E1 e: p  }! o0 F
  876. ;* e, L/ D( C3 ]& w* ?
  877. ;   extension=/path/to/extension/msql.so
    7 s* o9 J9 m4 z
  878. ;. L1 N0 t8 I7 e
  879. ; If you only provide the name of the extension, PHP will look for it in its
    9 ~6 a5 E& m: o. I2 r
  880. ; default extension directory.% Z3 j8 f: X6 {" G! w8 W0 W( n! h
  881. ;* R/ s6 O4 J& r1 m* F
  882. ; Windows Extensions# ?/ h5 k* g% g5 @
  883. ; Note that ODBC support is built in, so no dll is needed for it.! r+ e8 w5 ?% R* N! }% F
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)/ O1 `. V8 p5 S. P* B7 Z
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).- t5 C" W6 a  q% h
  886. ; Be sure to appropriately set the extension_dir directive.
      ?9 a: I" w! Y8 K7 D% W% Y# Y* S
  887. ;. f- Y9 H' }% `% H, Y$ H7 w9 {
  888. ;extension=php_bz2.dll
    9 [/ i+ k6 Q- [
  889. ;extension=php_curl.dll
    * w! {; s2 D9 L+ P$ i0 X
  890. ;extension=php_fileinfo.dll
    0 b1 a& z; i' X  q, Q
  891. ;extension=php_gd2.dll
    : ^% [. u: z8 A2 L$ B4 p
  892. ;extension=php_gettext.dll
    : }+ T; z) |- l
  893. ;extension=php_gmp.dll5 z9 F2 I/ J0 K$ A0 R
  894. ;extension=php_intl.dll
    % K4 N' o0 e* R# |" `( n& N2 X
  895. ;extension=php_imap.dll, @# ?- k1 U- ~" _0 n9 A
  896. ;extension=php_interbase.dll
    # M  n! y* R( s: A9 {
  897. ;extension=php_ldap.dll
    / C3 r5 q9 }  {3 G/ f  d
  898. ;extension=php_mbstring.dll
    ! o- {  E0 H) _6 x/ ?. @
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    3 |' o) v9 q: S4 Y& x+ G* @
  900. ;extension=php_mysql.dll
    4 H! I3 T5 U1 S$ D: o4 G
  901. ;extension=php_mysqli.dll
    ' ^* x: t  G# D+ J1 v$ n! T1 s: B" [+ w+ T
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client5 n6 L0 J: ^! r7 j; t
  903. ;extension=php_openssl.dll/ i$ |2 ]' f- Y+ g6 z$ r- h" @( j6 q
  904. ;extension=php_pdo_firebird.dll
    7 Y. A  w' r6 L) U, @' I
  905. ;extension=php_pdo_mysql.dll
    2 _9 M5 ^3 _2 N" a
  906. ;extension=php_pdo_oci.dll
    " E. k4 q# y" Z( Z0 G6 _; J9 {( d
  907. ;extension=php_pdo_odbc.dll
    ) N! U; T5 N; {! L: l
  908. ;extension=php_pdo_pgsql.dll2 `% B' }9 t+ r9 k" A! C9 R3 T
  909. ;extension=php_pdo_sqlite.dll: T% [2 \' g4 s8 E
  910. ;extension=php_pgsql.dll6 Q( L2 g5 Z( g. b) V; X2 J8 w
  911. ;extension=php_shmop.dll
    . ^" _2 E: f" K" m, ^
  912. 3 d. [2 D/ Z# j- R" U( q+ w7 x
  913. ; The MIBS data available in the PHP distribution must be installed. 1 d6 U- D! p$ O# {" p) U9 K# @
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    2 D" Z7 Y# j1 \( }* p
  915. ;extension=php_snmp.dll
    1 Q+ j2 T$ ]" L: i% j) n  o7 x
  916. : z0 v' k% c6 g# t8 y. M
  917. ;extension=php_soap.dll+ ^' Y" l9 s1 Q( ?1 w
  918. ;extension=php_sockets.dll$ a2 b! T3 D  ?& B! \
  919. ;extension=php_sqlite3.dll9 e3 `$ H- E4 t. k: ?! r
  920. ;extension=php_sybase_ct.dll0 e4 Y7 E  k2 m% P, R$ Y
  921. ;extension=php_tidy.dll- ]9 y) m) c- S0 X
  922. ;extension=php_xmlrpc.dll/ r5 N1 P; b5 a% B# p4 q4 X
  923. ;extension=php_xsl.dll8 b) F5 p2 p4 f2 T

  924. / `# f$ ?; ~  X- {3 a
  925. ;;;;;;;;;;;;;;;;;;;, d0 o9 J8 W! w& h* r+ j. ~4 T/ y" S
  926. ; Module Settings ;
    ) n8 T' O5 R5 \% S1 V; M* x7 q
  927. ;;;;;;;;;;;;;;;;;;;
    $ Q" [2 H7 z9 I9 j& f
  928. ; M/ d/ E( x) ]: q# @- p1 h* a
  929. [CLI Server]
    + M+ }4 Y" Y0 e9 P0 M- O4 }
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    0 ]  u9 r, w2 A
  931. cli_server.color = On
    # K3 ^# [- G1 Z, O6 R- u# z
  932. ) _! G. k0 O: ]/ I7 k
  933. [Date]
    2 Y" ~. g; M) W) x
  934. ; Defines the default timezone used by the date functions
    & ]8 ~- k6 A' w2 @
  935. ; http://php.net/date.timezone
    ; o, b; Y9 E% v' j
  936. date.timezone = PRC: p" Z! E! F$ |8 |% j

  937. 6 J7 R3 Q7 o7 B) V6 F: u, ^# B
  938. ; http://php.net/date.default-latitude
    1 H3 [& r8 X" M9 \! ?
  939. ;date.default_latitude = 31.76676 _7 ?3 j: \6 c- |1 M# d' w' G3 R

  940.   e- |6 d1 G( {  `
  941. ; http://php.net/date.default-longitude0 f, f7 ~; U7 G
  942. ;date.default_longitude = 35.2333
    : Y+ l7 I: `& z' [

  943. 3 p8 t  X+ w7 z! t# n
  944. ; http://php.net/date.sunrise-zenith
    0 y% \- ]; R1 q6 f! W* P' N* g" f- s* W
  945. ;date.sunrise_zenith = 90.583333+ |" `8 D; z, a/ x# |1 N6 t

  946. 7 ^9 q3 o! v/ J- G- D: b1 p/ A
  947. ; http://php.net/date.sunset-zenith# h: r- a, W9 c5 ?7 e
  948. ;date.sunset_zenith = 90.583333
    " p3 A6 h- c: I( C% S$ i9 W) C

  949. 1 P0 c9 `- g$ o$ `% o# Q7 N' L
  950. [filter]
    ( J- P# w' |* M- Y6 U% M
  951. ; http://php.net/filter.default! K7 `4 j; |; b1 ^
  952. ;filter.default = unsafe_raw
    0 h9 I4 @0 U7 G+ t0 |8 y

  953. ) B* Q% C( C& ^% h4 u8 Q% G
  954. ; http://php.net/filter.default-flags
    * j) B: C0 n2 G6 u# A5 W
  955. ;filter.default_flags =6 k0 a# p) i: |4 b% ^# [. [
  956. " G3 L- }8 |6 z3 w+ e. e/ X
  957. [iconv], t: G6 k& {$ d5 s1 C
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    4 ~' Q# G8 ?4 [
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.% i. w" i0 y# L4 ?/ @
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding+ ]6 S; i# B8 R# Z' ?
  961. ;iconv.input_encoding =
    ) _! d% i7 i9 g' F! z; P

  962. . ]2 z9 r# w/ O) u  b; ~4 K
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.3 B: t" Q% S& n" D% t$ M2 [
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.5 a3 p- r) Z& @9 Q# h% q: Y
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ) N9 K* ^$ d) ?
  966. ;iconv.internal_encoding =3 m3 ?4 t( S2 q2 {1 y! B1 ~
  967. 2 t7 ]  ~  |9 V9 Z& V* z7 m
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    : l* m! j9 b- s/ _( U$ d6 o2 ]- g3 I- i
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.) M/ W$ S7 }& N' O0 G
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding, @( y5 Y  P' m$ C1 H( C; g
  971. ; To use an output encoding conversion, iconv's output handler must be set
    & {7 \3 A9 e+ g6 u' h
  972. ; otherwise output encoding conversion cannot be performed.
    ' F# m) d# Y% [
  973. ;iconv.output_encoding =
    9 u: T& U6 X# G2 W" b4 F, l

  974. . ^6 C! o5 C7 F9 ~1 g
  975. [intl]
    , @- _- i' W: y
  976. ;intl.default_locale =. h& ?: m9 M( o2 m0 e# b9 n
  977. ; This directive allows you to produce PHP errors when some error
    ( U9 I9 k9 `& p$ j( \
  978. ; happens within intl functions. The value is the level of the error produced.7 J+ Z" B9 `' w) h/ y
  979. ; Default is 0, which does not produce any errors.! Y2 x' g- ~6 A, s! O' G# I4 J* Q6 f' k
  980. ;intl.error_level = E_WARNING% }* _8 l& y0 T3 X- @' M8 K3 m( L! _
  981. ;intl.use_exceptions = 0
    - A+ U: \: G! a  i- n3 M( c% Q

  982. 1 E2 v6 Y; F: Z4 D
  983. [sqlite3]0 p2 e* M+ R4 o. Q( ]
  984. ;sqlite3.extension_dir =
    3 i. x2 A4 R4 j/ L$ z. }8 ?1 V( d
  985. 8 q( z. ~4 g' E6 W" R
  986. [Pcre]6 q/ c' F! |( z0 I3 y0 @
  987. ;PCRE library backtracking limit.
    0 P+ F- X3 m$ X; T9 p2 \+ E, l; g/ |
  988. ; http://php.net/pcre.backtrack-limit
    " d& V5 u3 V+ C
  989. ;pcre.backtrack_limit=100000! R# ]4 H' s- k) J* ~0 j: ?8 d

  990. 7 w' @( ]4 r- G! K% f
  991. ;PCRE library recursion limit.
    , A3 \3 Z0 P' U7 a& T" p( K/ w# l: U
  992. ;Please note that if you set this value to a high number you may consume all
    5 W% L8 Z7 j2 F( U& B% f+ p" F
  993. ;the available process stack and eventually crash PHP (due to reaching the2 M- `. M! g9 K/ n' h' h
  994. ;stack size limit imposed by the Operating System).  k+ o0 z% ~! N* D1 A7 D
  995. ; http://php.net/pcre.recursion-limit5 P3 {) W5 T3 a3 a% u
  996. ;pcre.recursion_limit=100000$ ^) y; L5 l( k, G" E! J; F6 m" C. M

  997. # K6 A3 K6 e' Q/ {1 @4 ^
  998. [Pdo]4 H' |4 H  S3 y! `
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ; J: ~# o5 q7 |, G$ b; k
  1000. ; http://php.net/pdo-odbc.connection-pooling4 |+ \% q1 T! S' f* g3 A( J; I3 p* b
  1001. ;pdo_odbc.connection_pooling=strict
    & A: z9 e7 v" m5 @; p- v& r

  1002. 1 ~$ F; a& n+ }1 S; [
  1003. ;pdo_odbc.db2_instance_name: \9 ?: T- P6 T- ]5 k3 N  R2 E8 h

  1004.   j7 @2 E) e) X1 r7 W: m
  1005. [Pdo_mysql]
    / e: t8 X* \" @1 m& Z  O2 p+ d, l
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    % `" v" u! [8 T& F
  1007. ; http://php.net/pdo_mysql.cache_size
    ; i, f, d9 t9 c# V9 J% }# y) D
  1008. pdo_mysql.cache_size = 2000
    7 ^9 H' Z3 h, U4 @7 f) I

  1009. : {! f* @4 M- V" [
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in( y7 o, c' s7 C9 N
  1011. ; MySQL defaults.
    " C( |) W" W) ]; _. o2 a5 R) N
  1012. ; http://php.net/pdo_mysql.default-socket* s8 Z/ Q1 j7 ]: m' t( n4 \1 u2 e
  1013. pdo_mysql.default_socket=
    1 g6 [3 o  G- N8 D3 D; O

  1014. 5 i( Q& Z- y! R4 t
  1015. [Phar]
    8 R" l) M. c' D" ?9 G
  1016. ; http://php.net/phar.readonly) n4 j+ H7 s# F7 }
  1017. ;phar.readonly = On# s5 U" {( b* w( m% S! @

  1018. 2 {# x' C" r- Q! V6 O$ R  c4 \
  1019. ; http://php.net/phar.require-hash- C# Q0 K& B/ M/ }6 d7 D; u6 s
  1020. ;phar.require_hash = On
    ( W$ W7 H  q+ H

  1021. / W9 E7 U* s! k2 v$ }" k: p
  1022. ;phar.cache_list =
    # ]  n: N4 P7 ^* w4 G1 |1 ]8 W

  1023. ! U9 c/ _+ ~4 J# E4 t. Y
  1024. [mail function]
    ' V# K9 c0 ?3 g; Q4 U
  1025. ; For Win32 only.
    4 K6 P! I4 N* T4 R/ ?
  1026. ; http://php.net/smtp
    6 W) f) R, }8 S8 u
  1027. SMTP = localhost; h5 \, ?: d/ @/ k
  1028. ; http://php.net/smtp-port( g/ G% r9 W! T1 h
  1029. smtp_port = 25: [1 [  \3 B8 F. e# O

  1030. & }, a  }8 k9 }3 U9 T* F3 p7 ]
  1031. ; For Win32 only.: o* F/ U$ P3 v3 I
  1032. ; http://php.net/sendmail-from/ I6 d/ Z0 Z3 F- X. B8 I
  1033. ;sendmail_from = me@example.com
    * j8 \4 g9 v* l  v: q# C
  1034. : K0 [, \" w0 d1 y9 Y* |* r  w
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").) J+ E$ k" ?: |8 J. I, E
  1036. ; http://php.net/sendmail-path5 S  }- }/ V! ^" {" _# t& F
  1037. sendmail_path = /usr/sbin/sendmail -t -i5 q$ f: x+ H4 G# X8 t+ H3 o/ ^
  1038. 4 j' k7 b* [, M! S4 [+ h
  1039. ; Force the addition of the specified parameters to be passed as extra parameters2 g3 O2 M9 Q  n8 t
  1040. ; to the sendmail binary. These parameters will always replace the value of/ U! R& }8 F( C1 g
  1041. ; the 5th parameter to mail().' O' e4 c' N3 S  C8 u
  1042. ;mail.force_extra_parameters =
    " n. Y) o. R' R

  1043. * F  T* W$ L. o  h" w3 Z/ Q
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename4 i5 Y* p& S& l' h  c+ I% U
  1045. mail.add_x_header = On7 ^" I2 L3 u- P# s3 J" J4 d

  1046. * [# q8 }1 C* H: p% L; m7 [
  1047. ; The path to a log file that will log all mail() calls. Log entries include; I- N+ d- n2 l6 ]. r2 A& X$ @
  1048. ; the full path of the script, line number, To address and headers.3 x5 e7 B- z  i# t5 l
  1049. ;mail.log =  l- Y9 b" ~2 w1 H( t0 L) A* w' A- k
  1050. ; Log mail to syslog (Event Log on Windows).( K' E# U- w( {3 d
  1051. ;mail.log = syslog- B, e. K* D6 a- C3 ]
  1052. 1 D# s0 r5 ^2 [; p. B
  1053. [SQL]- {5 ^2 n! z& A# m- s/ W' N
  1054. ; http://php.net/sql.safe-mode
    " X) |; E5 V/ s' ?
  1055. sql.safe_mode = Off+ X" v9 [8 S- b/ C  \, N1 F
  1056. " d% y$ q; k+ d- r
  1057. [ODBC]
    3 B( f2 {! Z( n$ X8 o
  1058. ; http://php.net/odbc.default-db4 q) v) [* U( J1 @$ ~+ b7 D; @
  1059. ;odbc.default_db    =  Not yet implemented
    + W, ]& k. n& i+ a

  1060. ( X9 v) R! g4 M% \
  1061. ; http://php.net/odbc.default-user7 r9 R/ N' s3 c1 D+ N, A' W# M, M" Y
  1062. ;odbc.default_user  =  Not yet implemented$ g2 j5 H9 X) i) S

  1063. ; i( N/ k. b7 b8 M) n  W
  1064. ; http://php.net/odbc.default-pw3 d, C! n4 \5 J/ ~
  1065. ;odbc.default_pw    =  Not yet implemented( z6 j# ^! l1 O. o
  1066. % E5 a3 W5 [: M, \9 `
  1067. ; Controls the ODBC cursor model.0 M. D) h% ?0 j
  1068. ; Default: SQL_CURSOR_STATIC (default).
    / q8 v* K, A* M0 J# K; j, l3 q# T
  1069. ;odbc.default_cursortype. L+ F6 C8 B, y( R3 C
  1070. $ c, s! G, B+ H
  1071. ; Allow or prevent persistent links.
    ) V7 i. f7 z8 W: Q2 E# @
  1072. ; http://php.net/odbc.allow-persistent
    4 H7 H# p  ]* S2 Z
  1073. odbc.allow_persistent = On
    , z: p5 v) o, P! p% P/ Y
  1074. , l2 ~- ^5 }, T1 J0 g
  1075. ; Check that a connection is still valid before reuse.
    0 r5 {3 z! Z$ p6 Y  C
  1076. ; http://php.net/odbc.check-persistent/ j/ i# x' _) n
  1077. odbc.check_persistent = On
    / }2 B5 Y8 w( \) `) K( @

  1078. " o" r1 N: U4 l3 A
  1079. ; Maximum number of persistent links.  -1 means no limit.; {4 [1 z* F2 j& w* d) t
  1080. ; http://php.net/odbc.max-persistent
    , u6 w$ ?% b1 ?6 y
  1081. odbc.max_persistent = -1
    " U& w6 z4 R6 T4 m/ `" Y

  1082. ! w0 A; x/ y% f/ @) y
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 n5 F$ Z0 K( A5 H8 p
  1084. ; http://php.net/odbc.max-links
    5 H! w& p3 c( ^1 V0 Z
  1085. odbc.max_links = -1
    9 d  r4 x/ S% X! U, ~; o. r. u

  1086. / b; {. u8 t$ B) ]. G0 t. d
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means9 M  V( m  ]* ~9 M
  1088. ; passthru.
    1 I" Q" A/ u  C3 x+ {" X
  1089. ; http://php.net/odbc.defaultlrl8 Q: [1 O3 c- @" L0 \
  1090. odbc.defaultlrl = 40968 {( u, ?. [7 o5 d8 H/ |
  1091. 0 g( N) V8 N. n9 J6 B9 H
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ! v/ t. R0 }0 j& p
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation" A/ X/ _+ v/ [2 _7 z  _/ ~
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode0 ~  U- j0 Q0 E) x+ m7 H1 C8 Q3 f
  1095. ; http://php.net/odbc.defaultbinmode) q+ W# b; H5 I0 F: p8 l
  1096. odbc.defaultbinmode = 1. R0 r) i8 R# s6 g

  1097. : Z% b$ ~7 H, j$ u, ^2 x
  1098. ;birdstep.max_links = -1- F0 Z1 n- @( R8 G  l3 Z
  1099. 3 q9 J3 n) j2 n9 m( l! f
  1100. [Interbase]. N1 o& Q$ ^' Z9 w
  1101. ; Allow or prevent persistent links.# T8 k8 `4 V% P5 X  ^! d
  1102. ibase.allow_persistent = 1
    9 w7 O# G6 Q; C  }# L
  1103. 4 a& c+ G% B& w& l6 G
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ' x6 x4 z: C$ b/ e6 o$ v
  1105. ibase.max_persistent = -1
    ; r% b. i, }$ @4 ^

  1106. 8 h% u5 x& a1 ?  b& q
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ' ?% w9 A( E' ?$ l+ \. I6 F; \
  1108. ibase.max_links = -1
    ( s/ Q' C# L- W- M3 E/ |
  1109. 3 d$ H1 Z% i8 ?5 R
  1110. ; Default database name for ibase_connect().1 [+ G3 z' `. M" T( I& w
  1111. ;ibase.default_db =6 H1 G* O" I( F9 B5 N
  1112. : c5 e6 m0 Y5 C! m5 C: v- c
  1113. ; Default username for ibase_connect().
    4 e- N: R. L+ Y- Q  Y9 [
  1114. ;ibase.default_user =
    % d: a9 E. Y( e2 c# ~6 s8 K+ ]

  1115. $ a( w% N+ r+ V' f! o" \: b! X9 x
  1116. ; Default password for ibase_connect().# P# Y+ \: h3 y) Z1 O
  1117. ;ibase.default_password =
    5 w4 X7 r7 Z7 M9 Q3 S" V0 H, o

  1118. 8 V) q9 n0 x8 A7 F
  1119. ; Default charset for ibase_connect().
    9 i- x% c% \" X5 a5 ?9 V* ?
  1120. ;ibase.default_charset =
    0 {, `% X; q5 g* C3 M. j* Q9 L

  1121. # n/ A; Q; s2 \( o3 [; k
  1122. ; Default timestamp format.
    + q' b( J) f8 v. Q  y
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    . Y9 D, W" B# |
  1124. ! `( ~8 M5 U1 t7 c# E9 T8 S
  1125. ; Default date format.+ E; r+ b0 L! c! \! T: b: P( r* o1 g
  1126. ibase.dateformat = "%Y-%m-%d"$ c3 _4 ?2 Z# }+ v* ~4 Z
  1127. / r, n4 ~. }+ |
  1128. ; Default time format.
    0 R1 w) ^! k) g
  1129. ibase.timeformat = "%H:%M:%S"
    * K% y7 k8 D4 P7 K1 q
  1130. ( W4 e' t0 I3 A: O$ F( @4 B
  1131. [MySQL]
    $ h' ?  J% P* f  s' F# L8 H% m
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements0 h- Y1 Z1 F" P
  1133. ; http://php.net/mysql.allow_local_infile+ r* D. M1 e# d! i2 ]5 S; D1 c
  1134. mysql.allow_local_infile = On
    , |6 z4 L) g. s/ ]6 {# S, E

  1135. 8 l6 L, q. Y0 k8 n) d
  1136. ; Allow or prevent persistent links.# E% D* h# F3 A) X6 H. s8 I
  1137. ; http://php.net/mysql.allow-persistent
    # l% I' [4 G4 i8 H
  1138. mysql.allow_persistent = On
    5 O' K3 [' x8 R2 J

  1139. , f# k. k# e- C" o6 O
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    # B4 j1 r2 F- O
  1141. ; http://php.net/mysql.cache_size
    0 u. \2 Y8 `. d8 T
  1142. mysql.cache_size = 20005 O2 `: G$ @& T+ a! e3 x, e
  1143. % G( @1 D( ?" l' u' X7 {7 P
  1144. ; Maximum number of persistent links.  -1 means no limit.. {2 u2 r+ K) c2 b7 R) e% ?
  1145. ; http://php.net/mysql.max-persistent
    ; q! S/ v4 K+ \0 Z2 g! c1 `
  1146. mysql.max_persistent = -1+ m  R" b" _4 G# A1 N8 L4 P

  1147. 7 ^; {: h8 b' W+ p+ t0 p# u3 S( b) W
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.+ t1 t  B3 K' a  R3 Z
  1149. ; http://php.net/mysql.max-links
    $ s8 R3 v5 _0 t" e8 d$ Z" Q2 K1 K
  1150. mysql.max_links = -1
    7 f, U8 D% W, r$ M5 s3 ?

  1151. + F) y) A/ q0 |- I! o
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use1 i" _+ z) a, c  Y
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the$ t3 g5 N$ R- L
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look0 w5 `( }( k" s6 K8 o+ }
  1155. ; at MYSQL_PORT.
    : t+ \% F1 x0 y9 G) o" T5 N
  1156. ; http://php.net/mysql.default-port
    7 O! m- x( L2 l2 j1 ?
  1157. mysql.default_port =  y4 x) q: }  ^3 `
  1158. + u. U' C5 z4 @. W4 Z4 P
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    : X' Q& S  |( }# u7 S$ `. _: _
  1160. ; MySQL defaults.+ F( S' V2 j& @, o
  1161. ; http://php.net/mysql.default-socket
    5 V% z. t5 f5 I, J3 p8 O6 A
  1162. mysql.default_socket =  f; P, v" a' h% o* j
  1163. 9 l( u2 L6 T/ U5 Z0 Q: R* r. P
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    5 r# |; F4 h: t: a  V/ ]
  1165. ; http://php.net/mysql.default-host' g9 s5 g3 M; U0 \/ [" p, B4 }" [" z
  1166. mysql.default_host =) ?4 `' ]8 ^: \- f. i) s' F

  1167. 6 C( @, ^6 p9 j1 D$ p8 G
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).1 a$ G- Y9 \6 q. C
  1169. ; http://php.net/mysql.default-user
    # ]) @/ _6 D7 I
  1170. mysql.default_user =
    0 `" _: ~3 _4 Z; R& b
  1171. 1 ~4 _- n8 b3 m5 B" x
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    % e% Y8 \0 U( s5 a$ I+ ^% K  g
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.! @$ E4 f, U/ ^# }( V
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    , O8 f' j, x4 ]9 R
  1175. ; and reveal this password!  And of course, any users with read access to this
    # L7 ~( g) s9 Q2 ]1 F* l8 y
  1176. ; file will be able to reveal the password as well.$ ]8 l0 B: [: f% X/ Q
  1177. ; http://php.net/mysql.default-password
    3 G1 F& S9 h$ m6 Z+ w0 L
  1178. mysql.default_password =1 H$ b. |+ S# j( W5 i7 Z

  1179. ( S. e9 y9 L/ \  S2 V
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    8 N" s( J1 |0 E" |
  1181. ; http://php.net/mysql.connect-timeout
    & k4 F. I. @4 U4 b- |2 s' v
  1182. mysql.connect_timeout = 60. w" @6 G& y7 F& ]0 |  r4 r
  1183. / z) K( i& E6 e& c( M$ k1 M* k
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and; E9 M5 |$ |' M
  1185. ; SQL-Errors will be displayed.! E, ^/ {8 J) }
  1186. ; http://php.net/mysql.trace-mode
    ! T# {% v! a- X% Z: P9 b4 X/ l7 ^
  1187. mysql.trace_mode = Off8 B5 ~1 ~  M) N
  1188. / H% `. W& e# z2 u. e5 x0 {
  1189. [MySQLi]
    6 D  Q# S5 Q5 Q. o3 h2 o& w

  1190. , r( ?3 r  c3 H  H% U( H
  1191. ; Maximum number of persistent links.  -1 means no limit.
    + |2 d. o0 [4 w; @8 Z( j* K; \
  1192. ; http://php.net/mysqli.max-persistent
    / `1 p; m* i$ @4 I
  1193. mysqli.max_persistent = -1
    & ?# c! O% Y4 X$ S

  1194. : ]5 g2 s' T. \
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    6 `  M' T6 k! d" ?8 N4 \
  1196. ; http://php.net/mysqli.allow_local_infile' n# I7 r1 y3 S) }3 ~& D1 X, d
  1197. ;mysqli.allow_local_infile = On
    4 y; U; {3 [3 ]2 U# T9 ]9 c) \

  1198. ; ?" x) D. b) A2 e# S% m& }* G
  1199. ; Allow or prevent persistent links.# Q9 {# _! B5 B4 P2 _
  1200. ; http://php.net/mysqli.allow-persistent
    ( [2 ^/ d& N+ b: E" b: Y& P
  1201. mysqli.allow_persistent = On
    4 g/ c# d9 _* M) x* g3 Q
  1202. + x8 B5 v& _; V: R+ `% ?2 X; p
  1203. ; Maximum number of links.  -1 means no limit.( d) D5 b' Z: v
  1204. ; http://php.net/mysqli.max-links
    9 S) Z% P+ N7 k
  1205. mysqli.max_links = -1
    + O# v6 o) {% S  w# Q$ \
  1206. , L$ H& q! a- I; v5 `
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + l0 m) O1 l9 l7 j
  1208. ; http://php.net/mysqli.cache_size: r4 B: m7 H% U3 ]1 F7 [4 F
  1209. mysqli.cache_size = 2000
    * {' z. v5 k0 D" P

  1210. 5 T7 J7 z; M5 e/ m5 v
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    4 I' T: o: K9 U( q7 k+ b5 d% C# B
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    9 g  w0 m6 V, S' G* [+ C: j$ b
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look' P7 ^6 j. x. G6 W# p, z8 b
  1214. ; at MYSQL_PORT.
    1 l5 m/ p1 r5 ]' N1 _6 v- O7 W
  1215. ; http://php.net/mysqli.default-port
    " {# _0 j9 ]) s. i" ^
  1216. mysqli.default_port = 3306
    . H* D( b; q1 P' g7 h1 B' ^. }
  1217. # b3 s, ?% n0 Q. e# R
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    6 n$ [9 H' c: Y: w
  1219. ; MySQL defaults.# B1 @/ I' g, V4 {% d' U
  1220. ; http://php.net/mysqli.default-socket
    2 q: o4 P5 R% r8 X- H4 h. n
  1221. mysqli.default_socket =9 Q% D$ u) D/ T7 E6 g
  1222. 2 e. t& o$ q+ s- O8 ~. t5 g
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).9 @4 z* V" `1 y
  1224. ; http://php.net/mysqli.default-host
    $ k# Y' B3 B5 {) f
  1225. mysqli.default_host =! Y( C* ]# X" K. ]; m

  1226. 3 l# X+ Z- ]* M- q: H
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    / p. u# Y9 C* O% b. ~- v' F' l) c0 n
  1228. ; http://php.net/mysqli.default-user
    " L3 k" c( Y/ l% z4 d  D
  1229. mysqli.default_user =# V, V& K0 B6 P3 ~% K$ W
  1230. ' R$ [/ k% \$ p+ v: r
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).* e+ x" ]/ T! ^7 ~3 b1 i+ y/ x
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    + N. F8 E* p3 L4 |6 B2 o/ K
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    , `6 B* L0 A$ A# Y2 t( T
  1234. ; and reveal this password!  And of course, any users with read access to this. I' R7 h9 ], E( ~' _
  1235. ; file will be able to reveal the password as well.
    % {9 d1 _6 l7 T
  1236. ; http://php.net/mysqli.default-pw
    2 p1 Y/ L" D% }9 n; h7 s* ]
  1237. mysqli.default_pw =
    1 H3 D1 Y$ }7 J8 Y$ T! y5 ~
  1238. ( U5 t& G, L: S9 u
  1239. ; Allow or prevent reconnect
    - _- X6 f) G1 i
  1240. mysqli.reconnect = Off4 R' V; g6 d, _) R) H

  1241. 4 v1 u6 \' p' N: J1 o  y6 m2 M. C
  1242. [mysqlnd]
    $ G6 \4 A) j6 Y% M
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be$ L; Q) s1 N" x& q( k
  1244. ; used to tune and monitor MySQL operations.: h. i: d- u9 x+ E' f9 R! j/ t: }0 V
  1245. ; http://php.net/mysqlnd.collect_statistics) s, X/ P# s- P/ c0 J/ w
  1246. mysqlnd.collect_statistics = On
    , G+ c# T  o! b; ?
  1247. * p& J- z1 _# P: U/ r% X% A) W$ o
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
      T! G8 p" K7 p
  1249. ; used to tune and monitor MySQL operations.
    4 V& R0 J$ y. M# w  E1 n/ n
  1250. ; http://php.net/mysqlnd.collect_memory_statistics; ?, R. t: X- b' b. m! c5 A+ ~
  1251. mysqlnd.collect_memory_statistics = Off
    / A0 q6 Y" K8 Y" _

  1252. % ~# u& C5 y3 J5 j" u: o( j* v* y" ~& T
  1253. ; Records communication from all extensions using mysqlnd to the specified log0 r) c0 d6 B/ @- c5 Y
  1254. ; file.
    + f7 |3 J- C6 M4 r8 c* l
  1255. ; http://php.net/mysqlnd.debug, k. n% E) b: c, ?
  1256. ;mysqlnd.debug =. z( ]& H# K+ j% T' g9 u. `
  1257. 4 i7 E1 X, k$ e/ L
  1258. ; Defines which queries will be logged.2 k* M" {- a! i1 h, I
  1259. ; http://php.net/mysqlnd.log_mask: j  {5 `% m9 j; I4 F
  1260. ;mysqlnd.log_mask = 0
    ; K9 j3 w. B( P' j9 Y

  1261. . U$ n9 Q+ {+ i3 l2 U3 m& K5 P% g
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    1 @/ F, j$ M$ D9 E8 f) m0 B) {) g
  1263. ; http://php.net/mysqlnd.mempool_default_size
    . N3 T5 X7 f. m% E- l4 F$ N
  1264. ;mysqlnd.mempool_default_size = 16000
    2 T* B1 ^' u) ]7 I- \& y  R

  1265. / U5 K- ~* ~9 ~$ j0 C
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
      Y' @  F3 `9 I# y4 K7 }
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size2 c* z7 s6 O3 c$ H
  1268. ;mysqlnd.net_cmd_buffer_size = 2048: i: p0 L6 c7 \4 d& V/ w! H

  1269. : n# E) h3 L; o/ q% F  K
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ! {' v* M' E) f* X
  1271. ; bytes.2 E5 q! }2 b9 j( d3 S3 P
  1272. ; http://php.net/mysqlnd.net_read_buffer_size! F. S3 v% {1 o" x6 [& t
  1273. ;mysqlnd.net_read_buffer_size = 32768
    4 C) ~+ M9 O' K- J& c
  1274. & C! g/ [& }1 ]% O* c! b% `
  1275. ; Timeout for network requests in seconds.
    9 I, y' T7 M7 D8 }. j
  1276. ; http://php.net/mysqlnd.net_read_timeout
    1 m) l0 q" a1 N& Y
  1277. ;mysqlnd.net_read_timeout = 315360004 Q3 b# |1 Y3 k4 z1 I

  1278. 7 G. w% S4 ]$ S& A! ?
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA8 V6 z/ c( F1 Q. r; V
  1280. ; key.7 C+ ]- D" V' ?& L6 \, R4 T1 {
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    : z+ @# E2 M7 g$ `; o
  1282. ;mysqlnd.sha256_server_public_key =
    9 t+ J& n' Y" U5 o8 T1 l
  1283. # Y/ N6 s  s, L; w
  1284. [OCI8]$ @+ O6 A6 q. T% z' K
  1285. ' F( {% X. T- ~; p, }
  1286. ; Connection: Enables privileged connections using external
    * F* A. v' h2 n8 V4 G
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    * R) a. ?  L! M! f: [
  1288. ; http://php.net/oci8.privileged-connect0 K, ?3 w4 H3 R( r9 a- D
  1289. ;oci8.privileged_connect = Off' b, l1 W8 H, D; w* m
  1290. $ d. o4 A; F% I4 y- p+ G
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    ) F7 v, i' ]% }
  1292. ; process. Using -1 means no limit.
    " Y1 q  s1 V& G. G
  1293. ; http://php.net/oci8.max-persistent( N8 P( o3 k. b- C1 U
  1294. ;oci8.max_persistent = -1. ^8 o; _9 Y7 I; U7 V( Z' l

  1295. " O% g  _+ S/ T# m# }
  1296. ; Connection: The maximum number of seconds a process is allowed to
    ; Y; ]9 w$ L. J$ _) R! `7 k  C
  1297. ; maintain an idle persistent connection. Using -1 means idle
      Y4 p5 D4 w0 l& W1 f2 m
  1298. ; persistent connections will be maintained forever.7 g4 ]8 p; s$ p6 S% O( L) S
  1299. ; http://php.net/oci8.persistent-timeout
    . z5 ~. u& K0 _
  1300. ;oci8.persistent_timeout = -1
    * f* W) S3 |) y" e. J; n. F

  1301. - }3 i8 a0 k9 ?# Q4 F9 i: m
  1302. ; Connection: The number of seconds that must pass before issuing a
    : |- y# \6 f$ J* V) h8 S4 E0 r9 m
  1303. ; ping during oci_pconnect() to check the connection validity. When
    6 ?" J, M8 V% F
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables5 @0 f9 N3 t+ ^. w
  1305. ; pings completely.
    4 Q2 y9 F" j. K9 @+ i
  1306. ; http://php.net/oci8.ping-interval
    0 L3 {" A5 M5 @8 H; T& h! K4 `4 g: w
  1307. ;oci8.ping_interval = 60
    / j5 Z- I4 h/ Y. |& @7 x7 K' W( E
  1308. " ~( A/ e# \5 |7 u. p4 S
  1309. ; Connection: Set this to a user chosen connection class to be used
    - V% N" y1 G% |; y- |" t
  1310. ; for all pooled server requests with Oracle 11g Database Resident& @. j/ F+ k+ N! }  `6 b! Q
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to$ j# ?% f" i7 z
  1312. ; the same string for all web servers running the same application,$ x, N# I2 X, t6 m3 b
  1313. ; the database pool must be configured, and the connection string must
    ! r2 s9 C. M; M$ @
  1314. ; specify to use a pooled server.
    3 F3 ^8 C; W7 e' H- }. f! e
  1315. ;oci8.connection_class =
    - v+ U; F2 a$ w# t

  1316. ; Z* g2 z+ h) N, C3 C/ c1 r
  1317. ; High Availability: Using On lets PHP receive Fast Application
    : {4 C. ?7 ^, |# s) H
  1318. ; Notification (FAN) events generated when a database node fails. The
    + ^' k% u/ v3 Y; p& Y5 G0 B2 c
  1319. ; database must also be configured to post FAN events.
    ( r+ v( l7 S" }. d0 G# d
  1320. ;oci8.events = Off
    " }+ S$ d# c' n7 o
  1321. 6 ^# g' \5 L, D7 l! Q5 S/ G
  1322. ; Tuning: This option enables statement caching, and specifies how
    % X0 ~: L! @" \1 t
  1323. ; many statements to cache. Using 0 disables statement caching.! {( b; q0 a, Q. O4 I& ]/ l  `  v
  1324. ; http://php.net/oci8.statement-cache-size( w$ r6 s. R+ ^2 Q" R
  1325. ;oci8.statement_cache_size = 20
    " U& O& s% _$ a1 d8 H3 l; v2 U

  1326. 5 F. D* z5 o% {* x8 ?) s& f  r
  1327. ; Tuning: Enables statement prefetching and sets the default number of6 a* p& n3 w2 ?
  1328. ; rows that will be fetched automatically after statement execution.5 _" b; f* o0 J  {, Y
  1329. ; http://php.net/oci8.default-prefetch
    * k, c' [0 r. J4 o8 r0 Z
  1330. ;oci8.default_prefetch = 1008 I$ o  j- v, d% N' F

  1331. & F# m, _  v1 J4 y6 }% f
  1332. ; Compatibility. Using On means oci_close() will not close
    . [& T6 [. z6 r5 N6 w
  1333. ; oci_connect() and oci_new_connect() connections.
    2 \) F" b# {, s
  1334. ; http://php.net/oci8.old-oci-close-semantics9 k4 F5 R+ R, R3 v6 F+ y" u
  1335. ;oci8.old_oci_close_semantics = Off# ^9 y/ j- Z  O* P  H+ d
  1336. 9 `& f( a! D) F' d9 \
  1337. [PostgreSQL]
    ' G3 w, {! v7 C1 p, [8 I
  1338. ; Allow or prevent persistent links.
    1 R0 w: L  G6 b4 H( n
  1339. ; http://php.net/pgsql.allow-persistent
    0 X: s9 H) l8 d
  1340. pgsql.allow_persistent = On
    , l# `/ r4 C: w9 z6 ?
  1341. " n2 l2 j( @. A- y. e
  1342. ; Detect broken persistent links always with pg_pconnect().
    + c# y  f) F/ i
  1343. ; Auto reset feature requires a little overheads.
    5 A! M! W0 V) V
  1344. ; http://php.net/pgsql.auto-reset-persistent
    * m5 y# D# Y  ?/ \3 y
  1345. pgsql.auto_reset_persistent = Off
    / b7 k* z# g( H' o
  1346. . D- d  e. @; O; h
  1347. ; Maximum number of persistent links.  -1 means no limit.' t' L, Q# Z' ~, f
  1348. ; http://php.net/pgsql.max-persistent9 h; y  a0 i: T
  1349. pgsql.max_persistent = -1
    8 E& w1 B( H  b1 I$ o" U1 G

  1350. & V# `. n8 r. u! u: T3 z
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.$ h  q* U  X, J" x
  1352. ; http://php.net/pgsql.max-links
      `5 w1 U! p- o* M* L6 d
  1353. pgsql.max_links = -1. M5 ]" P7 R$ y7 Z6 t5 W# b5 @
  1354. ! R0 g9 X* l2 y) g7 }
  1355. ; Ignore PostgreSQL backends Notice message or not.4 a$ o' Z3 o6 ^6 J$ N8 b
  1356. ; Notice message logging require a little overheads.
    % s0 g4 M4 N9 P0 w! c% D
  1357. ; http://php.net/pgsql.ignore-notice* ?, m( M) C- T$ B0 P
  1358. pgsql.ignore_notice = 0
    $ ]' W( O7 h8 G% i

  1359. * x* e7 l. y4 E1 |7 S
  1360. ; Log PostgreSQL backends Notice message or not.
    : l4 X6 M4 T1 p" W" |
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.  L6 M$ J7 `7 l  }
  1362. ; http://php.net/pgsql.log-notice0 |- I3 ^7 C5 A: c
  1363. pgsql.log_notice = 0- p$ a5 S( C1 u4 c1 w$ d
  1364. $ k" F3 t+ a) {: I2 X7 t7 }3 b# w  X" k( ^
  1365. [Sybase-CT]
    5 U. o  e9 p' d  s9 L) b
  1366. ; Allow or prevent persistent links.
    0 H& B% [3 _1 I6 {2 L9 s# `3 L4 d9 e
  1367. ; http://php.net/sybct.allow-persistent
    $ R8 x' v, X" I  m, a! n4 [, D
  1368. sybct.allow_persistent = On
    6 P, ^# R5 g6 Y

  1369. 5 {  b9 I( [6 Y. G, d- x; ?
  1370. ; Maximum number of persistent links.  -1 means no limit.
    # c2 y. @& U' ^6 L" ~
  1371. ; http://php.net/sybct.max-persistent
    2 t& ]9 ^- [/ S+ A3 |
  1372. sybct.max_persistent = -1  F$ D, H3 K8 K. N- `1 y
  1373. : U8 y1 u5 R" k6 r0 y9 X
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.; G, x7 w0 `- R  h! d
  1375. ; http://php.net/sybct.max-links* z) N5 q& G& t9 q8 t6 N4 ~, @9 `
  1376. sybct.max_links = -1
    , [6 E& x3 X. O8 g3 c" I/ s
  1377. , H; I% d+ w( u& ^$ z' O
  1378. ; Minimum server message severity to display.& w$ \) g% k7 G
  1379. ; http://php.net/sybct.min-server-severity
    ; q0 Q  y% @* Z5 A8 S- O; G
  1380. sybct.min_server_severity = 10
    1 O( b2 [" U! s4 X* ^  M: N6 C7 T

  1381. . R5 A$ ^. w" Y  M6 z
  1382. ; Minimum client message severity to display.
    + \- M) ^0 q! O. L- z4 W# \
  1383. ; http://php.net/sybct.min-client-severity) j( E$ ]0 \- b) N# C) e/ o
  1384. sybct.min_client_severity = 10
      o5 B2 q# N, [; r+ T
  1385. . ]4 h+ W( n. o# w( }: k; G3 |
  1386. ; Set per-context timeout
    , x& @" e! Z0 A5 x; ]. I
  1387. ; http://php.net/sybct.timeout
    8 i7 P" q5 j7 W7 m. \! t, S
  1388. ;sybct.timeout=6 @% G! y' q! Q9 W# P  F) r

  1389. % y5 ?  ~: U( T6 Z7 B
  1390. ;sybct.packet_size
    / w0 I. ?1 i6 j: O4 Z/ ?: g4 o! Q

  1391. - b$ ^$ n6 N: K$ T; I6 W' J
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    . ^$ n, O) z% t8 {3 j3 }8 h% B
  1393. ; Default: one minute3 i5 a0 x9 U1 _/ q9 ?
  1394. ;sybct.login_timeout=3 v! `( N/ ^* Y- |

  1395. 0 V: u- H: U7 G& Y- S
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.% A! o  v6 k, l$ m  k, p! W
  1397. ; Default: none
    & i; f% g' v% n# u- c" `+ @
  1398. ;sybct.hostname=
    ) z' @/ g/ s/ Q# Q4 R" d

  1399. * W. H2 z0 L2 M: J! [
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever"., N5 d3 K2 @! S" L* J
  1401. ; Default: 0
    7 X9 k  ~5 Y/ }0 L
  1402. ;sybct.deadlock_retry_count=4 t0 X, E- e" b. J8 U

  1403. 8 v$ X* ]) x& A5 N9 ?
  1404. [bcmath]4 V! _+ X' m! |: [
  1405. ; Number of decimal digits for all bcmath functions.
    ' s+ v$ y. c( P& x7 t) T/ e
  1406. ; http://php.net/bcmath.scale
    + X/ \& `: n9 X7 l; }! I0 h) h, Z
  1407. bcmath.scale = 0
    * _6 }: g1 |* h- o$ _

  1408. 9 I- s5 Z2 ]) O) B* k5 I4 |
  1409. [browscap]
    8 }& K1 H$ o0 Q- \
  1410. ; http://php.net/browscap
    # P3 X; E6 D) P! O+ [
  1411. ;browscap = extra/browscap.ini
    9 z  }7 @6 B2 ]" n7 E

  1412. & ^. f% M% s$ D1 ^$ {
  1413. [Session]0 A& J$ Y# n- D& i- g
  1414. ; Handler used to store/retrieve data.  Z" k0 z4 w4 [1 Y  Z3 ~
  1415. ; http://php.net/session.save-handler
    - p2 q' [( n6 Z% g2 g3 w5 T( X
  1416. session.save_handler = files6 m3 m7 Q- g6 e6 B
  1417. - T, g$ U$ E4 ^
  1418. ; Argument passed to save_handler.  In the case of files, this is the path" h& }8 U7 J' @2 r( v& S- g6 G
  1419. ; where data files are stored. Note: Windows users have to change this1 G& T8 R$ ~% Y+ q$ N/ k7 G$ k
  1420. ; variable in order to use PHP's session functions.
    ) @2 @9 ^3 e5 M" I9 s
  1421. ;2 Y8 f# o5 k. X* s7 K
  1422. ; The path can be defined as:
    9 Y; ~+ k$ [5 [0 U3 [
  1423. ;
    7 e  f) a6 u+ R$ ]4 R: K3 e7 ?
  1424. ;     session.save_path = "N;/path", t% F) T) Q) g3 n& E6 |
  1425. ;6 X, Z' X  Z8 {, _
  1426. ; where N is an integer.  Instead of storing all the session files in
    & @$ b2 K% o, t' M& k& J' Y
  1427. ; /path, what this will do is use subdirectories N-levels deep, and8 L3 Y. S) [; Z$ G$ {) ?% _% D0 W
  1428. ; store the session data in those directories.  This is useful if5 U' v, o: d& {4 h: O
  1429. ; your OS has problems with many files in one directory, and is
    4 ^+ k2 J% T- i# j
  1430. ; a more efficient layout for servers that handle many sessions.$ e( ^4 X% ^  @. ^
  1431. ;- S7 r2 h. X. f6 O1 x
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    + @& |# ?6 n) R! n3 L% ?
  1433. ;         You can use the script in the ext/session dir for that purpose.
    & v6 _" }# v- W% M  R
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
      Z6 a6 e7 T& y0 l* ]+ e# b4 ^
  1435. ;         use subdirectories for session storage/ }" h/ r; p: B6 a/ l
  1436. ;1 ~# b; H- @9 W
  1437. ; The file storage module creates files using mode 600 by default.# `6 S- M* Z& M4 }
  1438. ; You can change that by using4 T/ X( W& B# [3 R  _2 p$ @
  1439. ;
    / y7 B0 [  J# A# I  [; A5 _, \
  1440. ;     session.save_path = "N;MODE;/path"
    - a0 w, T/ e" F4 N5 u( S% J
  1441. ;
      H" y! ~5 C; Z" }0 D; i! b
  1442. ; where MODE is the octal representation of the mode. Note that this7 _/ }, G$ p$ u7 J, @0 ]
  1443. ; does not overwrite the process's umask.
    - t* t" j5 U0 o3 x: a
  1444. ; http://php.net/session.save-path* R0 G  c1 c) i9 f: L
  1445. ;session.save_path = "/tmp"
      ?: @: E8 F" X  D3 d

  1446. ; `3 [" m, W+ h; `
  1447. ; Whether to use strict session mode.' _: q* W+ t( }: A( i8 E
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    4 R5 P- y' s" F. v
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ' L5 G* A5 L9 O9 z. Z8 `  p
  1450. ; applications from session fixation via session adoption vulnerability. It is6 R6 `3 ~, S: S* l
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    # U+ G0 r, D; H& t/ Y0 o* I/ s
  1452. ; https://wiki.php.net/rfc/strict_sessions
    3 i. k1 K+ T' X
  1453. session.use_strict_mode = 0& B5 N9 a6 \- E/ B' I
  1454. $ A" E& }6 Q: b7 x
  1455. ; Whether to use cookies.0 n3 A! _4 r8 `0 H* ~
  1456. ; http://php.net/session.use-cookies# |3 a( _% T7 h' ?; x
  1457. session.use_cookies = 18 T7 Q+ P3 c+ \$ a0 i6 c; z* `
  1458. " O: d/ j8 Y# s2 u5 T
  1459. ; http://php.net/session.cookie-secure
    6 r* q' `6 y* B- p
  1460. ;session.cookie_secure =
    " J9 s) ^4 u, t! {* ^
  1461. 0 x; q% a0 z+ l3 F8 Y/ P
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
      P* x9 V) _: y) @. V  s) Z7 d
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    ) v6 t3 o! @/ \+ S# y: n5 ^
  1464. ; session hijacking when not specifying and managing your own session id. It is& ~6 n5 z$ B$ R' q% c, s# P$ g) Y
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.1 ~* D8 L2 t( L% E' y
  1466. ; http://php.net/session.use-only-cookies
    ( U, l, |. k3 R" `% L* P
  1467. session.use_only_cookies = 1
    . b; ]+ ?2 B0 T6 X0 |% x
  1468. 4 B2 J6 ]: n3 c5 ?( ^
  1469. ; Name of the session (used as cookie name).( S% y7 _6 v5 }3 [& n7 ?
  1470. ; http://php.net/session.name3 k9 V7 S& ?3 M' x1 B& n
  1471. session.name = PHPSESSID$ z7 _1 K. A7 h& M; d5 Y& S  [, @
  1472.   r) l) {  K, l8 F* d0 t
  1473. ; Initialize session on request startup.
    $ F; |/ x* Z# _, H! f
  1474. ; http://php.net/session.auto-start
    2 d* h4 R9 P& w! V. Z  V
  1475. session.auto_start = 0
    ; O$ b+ E) w  ~9 C

  1476. 6 e; B7 |/ ^" m
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    * C) j: C* u4 P3 O7 F, L
  1478. ; http://php.net/session.cookie-lifetime
    9 T6 B/ ?" A0 l# q6 K
  1479. session.cookie_lifetime = 07 n1 K5 W7 D+ f, V
  1480. # ?. l- d0 V( @% W1 O" D2 B: s% Z
  1481. ; The path for which the cookie is valid.( Z7 w5 Y/ K  t& U2 z8 n% ?
  1482. ; http://php.net/session.cookie-path1 b' w/ |9 b  V& [1 G5 s
  1483. session.cookie_path = /
    4 X2 b8 `& I7 N& W1 y
  1484. " t9 R2 r3 \2 W/ u2 N2 C7 b: r; C2 c: i
  1485. ; The domain for which the cookie is valid.
    - \) l' [' v  o9 B
  1486. ; http://php.net/session.cookie-domain! h  k2 |0 Q0 Z) ?# [  U
  1487. session.cookie_domain =/ o) y; d8 F! G  U  d0 P* Y

  1488. - f- M/ U/ V1 I, r; N
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.+ W+ _) E* e3 x- m5 h2 O4 y- q
  1490. ; http://php.net/session.cookie-httponly
    0 h. d% N, A" s. Z% {
  1491. session.cookie_httponly =
    4 C' L) Q9 N$ k# \; }( f) X
  1492. ' S6 q: ^' H0 \+ L0 }! O( m0 x, W
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.0 v8 j' L5 j% Z0 u
  1494. ; http://php.net/session.serialize-handler" v9 D, \4 {: T# I5 r* ?6 ~
  1495. session.serialize_handler = php9 J4 w: T3 D. Y

  1496. 0 ]( ?- S8 \6 G( Y
  1497. ; Defines the probability that the 'garbage collection' process is started8 H& D. k4 i" g8 Q
  1498. ; on every session initialization. The probability is calculated by using6 k& O2 H5 C! R/ n3 P8 A4 h
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    # q  G; D1 F3 D: j& L
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    . Z% {7 u0 r, ?8 O6 `( r$ Z
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 }! V1 Y) d) r8 T
  1502. ; the gc will run on any give request.4 r; n. ^! d6 V6 \  D) q1 @: g# Z7 y- s
  1503. ; Default Value: 1* G8 x5 }, M* k2 k6 `  W
  1504. ; Development Value: 1
    . n6 T' n3 ?; z5 A
  1505. ; Production Value: 1
    / K+ B7 z) K9 k' z
  1506. ; http://php.net/session.gc-probability
    9 l2 V/ x. |7 a4 b
  1507. session.gc_probability = 1
    3 L7 C3 h5 o: E" w1 o

  1508. ) R- V% k% V# q  \/ T/ S
  1509. ; Defines the probability that the 'garbage collection' process is started on every
      e# j* i3 N8 D
  1510. ; session initialization. The probability is calculated by using the following equation:/ v) k+ R+ f% ^; w
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    3 f& t: T+ O; ^& `# e# x
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 11 F6 ^  H6 ?. x0 h* {
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    1 i' W3 R+ T5 K) U
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you9 }" H( J1 l. E- F
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,0 q4 l% C, u1 F5 F2 w
  1516. ; this is a more efficient approach.& C& ]; P1 c* X0 C
  1517. ; Default Value: 100
      r. R4 O/ F2 b4 ]* H+ d- b
  1518. ; Development Value: 1000
    ' `( b3 s# A2 G* y2 J- H
  1519. ; Production Value: 10008 u3 r- G/ E9 S
  1520. ; http://php.net/session.gc-divisor
    " a4 J, V: F3 j0 K. `8 x( M
  1521. session.gc_divisor = 1000/ ~9 i4 X: z" n$ e, D
  1522. , f1 x& f. \5 ]# r1 h) ^* ?0 w
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    . X0 n7 _7 c; M* D2 f4 n7 t! C
  1524. ; cleaned up by the garbage collection process.# t3 _' J+ p: _" E6 r
  1525. ; http://php.net/session.gc-maxlifetime
    : L  Y0 E7 G- g! v# h# L
  1526. session.gc_maxlifetime = 14407 z* B' ^" y( O% O+ o) M* k
  1527. $ J  i# M4 Y) \
  1528. ; NOTE: If you are using the subdirectory option for storing session files: W. G/ A4 g- [- X; N
  1529. ;       (see session.save_path above), then garbage collection does *not*
    3 g5 ~9 u+ b6 h' i$ M, j1 R
  1530. ;       happen automatically.  You will need to do your own garbage
    + c0 H( {% P% f$ V
  1531. ;       collection through a shell script, cron entry, or some other method.. \8 C% t2 `7 ^  [
  1532. ;       For example, the following script would is the equivalent of
    8 ?. y) E8 v7 R
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):0 A2 V, w9 X7 e1 N
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ' l1 ?% H- |, o) M8 H. r9 o& l

  1535. 4 A7 J+ Y3 \/ s& g, u
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.7 c2 D2 w2 e2 r
  1537. ; HTTP_REFERER has to contain this substring for the session to be0 a9 f# q- o. o5 f% L+ p' ~( B7 ?- o
  1538. ; considered as valid.; a. W3 v& K0 F
  1539. ; http://php.net/session.referer-check; f* e- r  A3 q; k
  1540. session.referer_check =5 e7 \% S4 \. l7 E& p& Q- L

  1541. " \9 A! Q3 V' h( @  p9 I. m$ e
  1542. ; How many bytes to read from the file.
    , Y  i# a' k' F
  1543. ; http://php.net/session.entropy-length
    / U/ m4 R1 N% p# t* j/ x
  1544. ;session.entropy_length = 32
    # v3 x1 ~+ `. d
  1545. 4 d/ o, H5 f2 f( m' X" P/ X+ U
  1546. ; Specified here to create the session id.
    6 O) v+ Z5 U: ~6 n* I
  1547. ; http://php.net/session.entropy-file
    & `) }$ C& F, M* n
  1548. ; Defaults to /dev/urandom
    ; G" x- O; r0 I5 P# {' L
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom5 Y% K9 t. B; P3 m! A0 g* o6 P3 k
  1550. ; If neither are found at compile time, the default is no entropy file." y  ?9 i( B) R, j5 o
  1551. ; On windows, setting the entropy_length setting will activate the
    : H  e* C( ~" H% x3 D$ S! |
  1552. ; Windows random source (using the CryptoAPI)$ i; |. A& V0 \+ s) y
  1553. ;session.entropy_file = /dev/urandom
    4 T: n+ ~8 @& Y+ }9 D7 o" Z

  1554. + h% z5 q/ S* J5 Z; p- @
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    + E4 o; Y1 z* G+ e6 b
  1556. ; or leave this empty to avoid sending anti-caching headers.
    1 [: a" g6 T+ {+ G( ]
  1557. ; http://php.net/session.cache-limiter
    ! R; G: H) Q1 C1 d: x
  1558. session.cache_limiter = nocache, f6 N9 Z8 Y0 |
  1559. ; O( e4 T* H# F2 e+ U
  1560. ; Document expires after n minutes.! ^% D% X' J- ~  S8 |1 O8 ?
  1561. ; http://php.net/session.cache-expire: w$ o) C$ @5 ?7 l
  1562. session.cache_expire = 180! m& x, J9 h  B; c0 z) h+ m
  1563. 3 C) w- r5 W9 r
  1564. ; trans sid support is disabled by default.7 j% a1 E# ^  p1 f/ O: }) F& w, n0 l
  1565. ; Use of trans sid may risk your users' security.% Y+ R1 b4 H* \* n1 p
  1566. ; Use this option with caution.
    * q2 F$ n# L# Y% n1 ]( d8 w6 G
  1567. ; - User may send URL contains active session ID
    ; b  C: @9 v$ p  G
  1568. ;   to other person via. email/irc/etc.3 f2 x( W1 H9 v6 o
  1569. ; - URL that contains active session ID may be stored
    / E9 c$ W) Y# I- t
  1570. ;   in publicly accessible computer.
    - n4 U4 H; N& g. d9 J
  1571. ; - User may access your site with the same session ID
    % r3 n9 Q5 H/ L: y6 ~
  1572. ;   always using URL stored in browser's history or bookmarks.
    1 _6 F- I! R( a8 D
  1573. ; http://php.net/session.use-trans-sid0 i! z/ D& b  T& T* T( {
  1574. session.use_trans_sid = 08 E( l: `$ I* F8 f; ]" g

  1575. ! x9 y7 g. K) Y: ~8 z2 M
  1576. ; Select a hash function for use in generating session ids.; S5 `7 Y. Y  e6 h/ j, n
  1577. ; Possible Values8 q; k/ E% y. p1 i( o
  1578. ;   0  (MD5 128 bits)) v3 t3 ~. i  D. R- X8 I8 v4 g' O
  1579. ;   1  (SHA-1 160 bits)
    . |( F( c4 t0 C* D  P9 B4 o
  1580. ; This option may also be set to the name of any hash function supported by- w" k# p0 A& _$ U
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()9 `3 L/ A, C8 U* n  b
  1582. ; function.; O- H: M; l8 f7 o) c
  1583. ; http://php.net/session.hash-function
    % j' X) B# {4 q$ ?" {5 O( S: A
  1584. session.hash_function = 0$ N; q" ~7 u3 w6 y* ?

  1585. 3 @1 Z- U; R  d- ~; S2 F+ a9 m3 L
  1586. ; Define how many bits are stored in each character when converting
    4 y: E- H3 d* U3 l8 j" O# p
  1587. ; the binary hash data to something readable.9 t7 f5 s4 M* r' x- I" ^1 i. H
  1588. ; Possible values:
    : [& M7 S# n! I0 D8 i& c6 `0 ~1 l1 m
  1589. ;   4  (4 bits: 0-9, a-f)
    - m; A% u! X" [: P, X
  1590. ;   5  (5 bits: 0-9, a-v)
    ) e8 l" A7 t! |. }6 O
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    # `; ~. J2 D5 J3 r! `
  1592. ; Default Value: 4
    * C2 b0 r( U' p7 Q" t  N$ N
  1593. ; Development Value: 5
    4 g. C1 h2 W, {% p2 o: s. m
  1594. ; Production Value: 5
    + e; I1 \# g: x: v$ Y& h
  1595. ; http://php.net/session.hash-bits-per-character
    " B' o; k& }( x. R$ \
  1596. session.hash_bits_per_character = 5' q, _3 v; s2 K& |5 H
  1597. - w4 n& U9 Q; _3 c/ {* L8 Y6 X
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags./ \) n9 R+ f0 s3 R
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    : K3 `  d" F. K# Q6 g/ |
  1600. ; add a hidden <input> field with the info which is otherwise appended3 k* p5 I. m$ Y$ b! L: V
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.3 ^+ d: m+ k" Z2 v7 o+ O% Z% y8 D% _
  1602. ; Note that all valid entries require a "=", even if no value follows.
    1 v# \7 e3 S* S# |
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="* D" ~' m. j" Y5 G
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 s- Z" e( C# Z. [9 v: }/ o/ j- s# \
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 U; _: E, u: @/ G- J1 z8 p$ _
  1606. ; http://php.net/url-rewriter.tags& F7 A6 {3 ^# g3 P/ F
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"  C: H* j  [8 I+ i6 L

  1608. 6 D& d8 K3 c0 i4 w
  1609. ; Enable upload progress tracking in $_SESSION8 h2 y& f. M2 g
  1610. ; Default Value: On8 y. n- u+ W" A! V
  1611. ; Development Value: On4 t$ g0 ?8 k- q3 }3 u  g0 G
  1612. ; Production Value: On
    - {7 C* b8 \, ~2 G3 W
  1613. ; http://php.net/session.upload-progress.enabled8 @% A7 F; \( n
  1614. ;session.upload_progress.enabled = On( E* G: t$ z# K2 Z; h) G. j

  1615. ' W; ^# J& [$ A! Z5 P! D6 c
  1616. ; Cleanup the progress information as soon as all POST data has been read
    4 E$ i9 `& r2 f+ m5 v
  1617. ; (i.e. upload completed).
    9 a/ c; d0 |9 D; }2 y5 C8 M0 N
  1618. ; Default Value: On
    6 F" h4 Z+ [4 v7 x! G1 n  s% R* {
  1619. ; Development Value: On
    2 ?. Q% ^4 C. A8 l; ]
  1620. ; Production Value: On) g4 w/ c/ q9 H% q
  1621. ; http://php.net/session.upload-progress.cleanup3 P4 n" |0 `, D% n# M; Z; ^
  1622. ;session.upload_progress.cleanup = On
    " B/ c9 X. n" a8 ^' X- z

  1623. , d' p! K* j/ N; ^# _* ~' m& k3 b
  1624. ; A prefix used for the upload progress key in $_SESSION
    - U5 L! }9 a% \. }
  1625. ; Default Value: "upload_progress_"
    - l3 x. z1 _" S7 T+ V# N: `' E# {
  1626. ; Development Value: "upload_progress_". D8 B& X- L$ R; D1 C
  1627. ; Production Value: "upload_progress_"1 u: P+ m& V/ q/ Z# p
  1628. ; http://php.net/session.upload-progress.prefix, M) z+ [  c' _4 Q+ ~8 k
  1629. ;session.upload_progress.prefix = "upload_progress_"6 H5 Z# g; ^( A* G" S# U0 h6 b
  1630. ' N' v! i8 S& P5 C/ N9 S$ m2 P
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    8 ]. h' g9 a# M9 S' k" `
  1632. ; containing the upload progress information4 X: z0 \3 d" j2 B, j) r( n
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , D8 {9 p6 V# r' y5 h7 E- b
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"2 L9 k3 D( d9 Q7 ]. Z
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ u; F6 \- x! d# M8 |/ n3 d
  1636. ; http://php.net/session.upload-progress.name( r9 r8 A7 h+ Q5 f0 e
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"9 g$ f: H+ L" K1 ]! E' }

  1638. , s" t, g" u$ P1 E
  1639. ; How frequently the upload progress should be updated.
    ; U6 K; c- d* u+ h1 V8 a$ i/ w
  1640. ; Given either in percentages (per-file), or in bytes! N6 ]! x$ \% l& s# D
  1641. ; Default Value: "1%"
    % S8 }6 J) y) T+ f; \* P
  1642. ; Development Value: "1%"
    * J/ c6 ?- ]$ X2 W
  1643. ; Production Value: "1%"* I: G  m6 I; M3 j: x8 ^
  1644. ; http://php.net/session.upload-progress.freq
    * y/ D) X) V4 H% p
  1645. ;session.upload_progress.freq =  "1%"2 r( R+ w' l6 d( C( k$ ?
  1646. , i3 t- o. ~3 X2 s
  1647. ; The minimum delay between updates, in seconds1 q. K1 p( d2 ]1 P, N
  1648. ; Default Value: 13 Q6 C% x. n& r
  1649. ; Development Value: 1
    ' E' M, ^% v2 K, ~$ O
  1650. ; Production Value: 1
    0 B8 I9 l* ?& U5 a
  1651. ; http://php.net/session.upload-progress.min-freq  I4 Q! c4 i8 [( T
  1652. ;session.upload_progress.min_freq = "1"( T7 Y+ y& h& h
  1653. - S( J6 `' D: t( e( I& Y4 D7 y
  1654. [MSSQL]2 K; ^3 v% C% _* z  G6 n0 b! ~
  1655. ; Allow or prevent persistent links.
    0 ~: _( W) k5 r$ `
  1656. mssql.allow_persistent = On
    ( b7 W: Y4 }; `  s+ {. R1 n
  1657. ! B" S8 p7 K/ v  u: W6 n
  1658. ; Maximum number of persistent links.  -1 means no limit.  b$ d1 M% \$ T0 U$ \' T# K8 e4 h
  1659. mssql.max_persistent = -12 X' @8 K1 n$ M: U7 y% G2 a* N
  1660. ; ?. p; }% e' u
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    % K. A  A# R$ l0 c
  1662. mssql.max_links = -14 d$ v! ?2 Z1 n3 b/ a

  1663. 0 K( C. z" b+ K/ k) W
  1664. ; Minimum error severity to display.
    # M1 ^) K6 }7 b, N; C
  1665. mssql.min_error_severity = 10. @. D1 v5 R5 @7 v( x: V

  1666. : [! `' z9 S& T
  1667. ; Minimum message severity to display.  J0 C$ `0 G. s' ]
  1668. mssql.min_message_severity = 10# }- c2 F" e" e! F

  1669. 7 `$ ]# V$ `  K- h9 u
  1670. ; Compatibility mode with old versions of PHP 3.0.
    & s" w& J, Q% {! x0 a
  1671. mssql.compatibility_mode = Off
      E$ D% G; I& K

  1672. ( V, i% [8 a2 w3 Z" Z1 A
  1673. ; Connect timeout& @1 o5 n1 `) X! l: p5 x- f
  1674. ;mssql.connect_timeout = 5
    2 t6 o/ L8 _* d3 l
  1675. 7 C. P$ w8 N5 f+ Z6 S0 w# Q
  1676. ; Query timeout: V  Z+ d0 m+ P* `7 \5 p$ e+ G% E
  1677. ;mssql.timeout = 60
    ' ^/ \( ~: l% w2 x
  1678. * ]) T" c, c! T* i: ~6 l
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    ) v2 ~' W% I! [2 s/ E$ c# t$ U7 h
  1680. ;mssql.textlimit = 40966 N3 K& m. I# S5 t8 y

  1681. . J5 t) b5 o$ Y
  1682. ; Valid range 0 - 2147483647.  Default = 4096., T* e' R0 t$ l; {8 a
  1683. ;mssql.textsize = 4096
      t; c* N9 ~1 l6 d, a3 u

  1684.   y1 p& j% d/ N4 S8 i- ]# B# b/ X
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
      F) m7 {% l% r) ~' s: N, R' }
  1686. ;mssql.batchsize = 03 @. `5 O7 |4 n2 L/ S- E9 G
  1687. - }6 Y" \: A; O9 `" z0 |
  1688. ; Specify how datetime and datetim4 columns are returned
    + `6 Z3 D4 [8 w8 J
  1689. ; On => Returns data converted to SQL server settings
    2 e( N2 p+ o4 J* y, b
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss. s& h5 `) r% q- a7 o" S, o0 R
  1691. ;mssql.datetimeconvert = On) G4 s6 X6 x* ?; `$ h, E2 }
  1692. ( z3 D' k8 M3 `( M5 H  w9 O" b7 e
  1693. ; Use NT authentication when connecting to the server/ Y3 ?" E* m9 S( E* ~( S
  1694. mssql.secure_connection = Off
    0 e' D" p2 R; B6 w

  1695. % B% b% v, ]) [1 u6 ?2 f6 k+ P
  1696. ; Specify max number of processes. -1 = library default
    ( {5 m1 T0 \/ b
  1697. ; msdlib defaults to 258 j' \& l* i; H3 Z
  1698. ; FreeTDS defaults to 4096& F1 R9 q8 X1 x" J! f- B
  1699. ;mssql.max_procs = -1
    9 u6 p+ x8 e, o" X- p, X

  1700. ! k* F! N# N$ s4 g, W! n
  1701. ; Specify client character set.+ v' e$ \# `0 ^: M! u/ H
  1702. ; If empty or not set the client charset from freetds.conf is used
    " ?- n4 u% \: z
  1703. ; This is only used when compiled with FreeTDS
    ! W% W. l. B$ D. N' b
  1704. ;mssql.charset = "ISO-8859-1"
    ! [% o: {+ M# @& u' B3 m7 z; \) l/ }
  1705. 7 v1 o2 T+ J! c3 k7 M
  1706. [Assertion]
    4 t( a2 X! {2 [4 z& v
  1707. ; Assert(expr); active by default.
    0 F" z4 N! ?" `! R1 Q$ l1 z, v
  1708. ; http://php.net/assert.active. p. F; ~; }% P, Z: l7 \, d
  1709. ;assert.active = On
    7 P8 |! B' N/ i# ]  J
  1710. . E: X4 U* ^, l" b0 j0 H
  1711. ; Issue a PHP warning for each failed assertion.
    8 }2 Y- C" b, q4 r1 Q0 E2 v1 Q% D$ l
  1712. ; http://php.net/assert.warning2 g8 Y* q, X$ A, }3 Y. |
  1713. ;assert.warning = On3 a7 r, ^2 r# Y7 d: i" D2 R  Q. x; p
  1714. : B0 s9 _4 O  \4 V6 p. q1 ]
  1715. ; Don't bail out by default.4 o  y6 I- }  L$ c
  1716. ; http://php.net/assert.bail
    # k; E! k9 A( n# G5 l* I5 R
  1717. ;assert.bail = Off) v, H4 Z/ s4 \  E# n
  1718.   B3 H% j& W% Z/ W. a
  1719. ; User-function to be called if an assertion fails.
    + @( M- P6 o2 V
  1720. ; http://php.net/assert.callback
    ' E" ^: E+ w- d4 A! N
  1721. ;assert.callback = 01 l" |2 L) Q2 f6 I$ t' J5 ]
  1722. + E# i. q; f. l! }8 p5 u- H' Q
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    " x/ Y, ]2 c1 }
  1724. ; error_reporting(0) around the eval().
    / `* P7 U  b7 x* p8 A6 {: W  U
  1725. ; http://php.net/assert.quiet-eval  K& u  B9 f0 L& q
  1726. ;assert.quiet_eval = 0; u  D1 i/ I3 i( Q. }
  1727. . H2 Y9 w3 J9 h6 I; q* U3 H/ q! F
  1728. [COM]
    * z6 z4 W- t1 I3 Q/ V$ X
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs6 e- J  I+ I, ?: \8 D. d7 X
  1730. ; http://php.net/com.typelib-file0 }' X1 U9 Q& k; t+ H- z
  1731. ;com.typelib_file =! E# i0 S! T8 v. [7 t0 G5 C3 @
  1732. # C' d  q* Q( j5 u
  1733. ; allow Distributed-COM calls
    + H$ D5 |' {. x+ C. r
  1734. ; http://php.net/com.allow-dcom) R0 y) N5 T" G/ S8 g( O
  1735. ;com.allow_dcom = true! B# [5 ^& A# G; D
  1736. & M) O/ V1 Y" q# C5 @2 g4 c
  1737. ; autoregister constants of a components typlib on com_load()  W4 ?. H" c" q, c) M  c
  1738. ; http://php.net/com.autoregister-typelib% e4 P7 [  B2 s  e& c- C) m; W
  1739. ;com.autoregister_typelib = true- ^8 @& i0 R3 J  \5 Y+ l
  1740. 2 o& ]5 r" t- Q$ r4 n: [; f
  1741. ; register constants casesensitive
    1 j! e' W0 u8 G! p) ^! e9 }* ]3 l
  1742. ; http://php.net/com.autoregister-casesensitive2 U0 L* ?& \; e/ ]
  1743. ;com.autoregister_casesensitive = false
    % r1 p+ l- j# X' r; w  y, N
  1744. : j. B- \$ y  I8 \
  1745. ; show warnings on duplicate constant registrations" x0 q- l$ }5 @- K* I8 b7 \
  1746. ; http://php.net/com.autoregister-verbose
    & a% ?' R/ g0 Q3 n
  1747. ;com.autoregister_verbose = true6 ^! x- `  z0 T$ O1 t$ ?- s0 e
  1748. 2 o3 I0 E3 o% q7 X
  1749. ; The default character set code-page to use when passing strings to and from COM objects.1 m# d2 X8 E% t, C8 |
  1750. ; Default: system ANSI code page
    & a, [, }2 X* q
  1751. ;com.code_page=
    8 q, ]7 `0 `2 T% s8 x$ ^# @
  1752. ) K9 V% q. u& u4 B- g% Q" x7 @5 n# Z
  1753. [mbstring]
    2 y, T. `- y# U  C9 U% U
  1754. ; language for internal character representation.
    5 d) k- I! ^% I6 B3 v  Q
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    ; W; M; r7 m3 F3 Z: ]! f6 N5 R
  1756. ; http://php.net/mbstring.language
    8 p  x/ E* n2 r' K
  1757. ;mbstring.language = Japanese5 m* |, o7 ?7 \! g' A

  1758. / q6 k' J0 L( R7 J8 B; ]: d6 g& _
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ) E6 D9 C6 C0 h' f6 K2 N
  1760. ; internal/script encoding.
    4 T6 p4 ~& y1 X8 r
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    0 h/ n7 x4 I+ J3 c& L+ o/ l
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used." y1 I7 s7 u2 }+ q. t7 o
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding* O, f* i) H, c5 ?, U8 K0 U3 ^- w
  1764. ;mbstring.internal_encoding =
    & ]( a' F: ^) I) y& n+ f2 L

  1765. 8 m( ]( F- @. q! ^
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.5 [3 R; i8 j6 o2 ^2 Y3 b( B7 u: g: ~
  1767. ; http input encoding.' w, ?# G1 W  k& \" g
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.8 @0 }. S  c, `, v; Y' h& F
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.2 H2 K0 Q6 G2 `
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    . t& d& F3 t3 X3 O
  1771. ; http://php.net/mbstring.http-input9 g9 D: C, D9 X4 X
  1772. ;mbstring.http_input =% q$ D6 o' |# L) h4 F5 \
  1773. 1 l+ G( G& Q8 Q( V& e* H
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead./ Q- l. h  ~% m- n2 r% Z: w) u
  1775. ; http output encoding.& ]# T/ T# n  b1 V
  1776. ; mb_output_handler must be registered as output buffer to function.) G, R( W/ v; Z1 ~% X
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    / S# \8 r9 k9 v( o( B; d% }- n, I
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output4 `! n1 O( N4 Y
  1779. ; To use an output encoding conversion, mbstring's output handler must be set* ?; |% X$ Z  }9 b. y( N7 I- I
  1780. ; otherwise output encoding conversion cannot be performed.
    8 L) M3 p! `+ [/ n4 f! P1 T  G. }
  1781. ; http://php.net/mbstring.http-output
    $ O" r" t( E. M$ k  f9 l# z
  1782. ;mbstring.http_output =' \! @& `* J' S7 p7 X

  1783. % [; `3 f6 U  O: w* `
  1784. ; enable automatic encoding translation according to3 c) `/ }4 T) o
  1785. ; mbstring.internal_encoding setting. Input chars are
    ! v, z9 J4 m* ^! Z! m
  1786. ; converted to internal encoding by setting this to On.
    / g, ]' M6 b8 U
  1787. ; Note: Do _not_ use automatic encoding translation for1 @. V6 E1 j; I: K! H+ n) B
  1788. ;       portable libs/applications.
    6 N! S) W, }  V& l: }& A. ]! U' a
  1789. ; http://php.net/mbstring.encoding-translation+ I! \8 t: r: ]9 K8 M& Y5 D7 m
  1790. ;mbstring.encoding_translation = Off+ c! v; c- p* e
  1791. 7 m0 w, ~% K3 z+ e' g) g
  1792. ; automatic encoding detection order.% \1 q; B: m0 V/ {2 s
  1793. ; "auto" detect order is changed according to mbstring.language
    ; {* x( x" T( `9 e, K( K
  1794. ; http://php.net/mbstring.detect-order
    ; t( }0 |  U/ B6 S8 O* ]
  1795. ;mbstring.detect_order = auto
    - _! t) M2 ^% d  I! G' O% u. e) ]7 I

  1796. ; K4 h: `4 i& d( }' V' @/ j
  1797. ; substitute_character used when character cannot be converted, [; M( Q* l: n( t
  1798. ; one from another
    0 l, @! G  ~1 M+ \
  1799. ; http://php.net/mbstring.substitute-character
    / `5 h7 l6 ~5 P; ^/ D: {
  1800. ;mbstring.substitute_character = none8 ?0 b; q. a: D0 h5 `: R, Y

  1801. & ^7 f: h8 P/ i5 `% P1 Q
  1802. ; overload(replace) single byte functions by mbstring functions.
    ; M7 ~/ E* e: Y3 _$ e
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),' w: N( w$ c8 o0 T8 L+ h
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.8 w0 k. F& Q( O4 ^
  1805. ; For example, 7 for overload everything.) v2 M1 y' k1 Z* P
  1806. ; 0: No overload
    ) x, x1 B7 n9 b4 m7 t
  1807. ; 1: Overload mail() function
    - R; }& @  ]' h& ~; B' ]: o0 G/ J% ]
  1808. ; 2: Overload str*() functions
    ) N3 H( u2 S( D
  1809. ; 4: Overload ereg*() functions2 C% y! f( X! }9 V- a8 w# ?
  1810. ; http://php.net/mbstring.func-overload
    7 c3 o: `7 z" N# ^0 E
  1811. ;mbstring.func_overload = 0. H! v' e* `! D9 Y5 b/ p
  1812. 9 U( ^7 k; w( |1 X* i9 ^. s8 K
  1813. ; enable strict encoding detection.: B  q# t/ ]; r- m9 P! o8 \& _$ n
  1814. ; Default: Off
    " U1 `1 T. e: E! M$ y! e
  1815. ;mbstring.strict_detection = On7 B: p! U* }- {/ G
  1816. + |$ o. n) [: f; `( e/ V/ B+ m$ D
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler(); x9 n. a6 i3 q4 ^* |  p* z7 D
  1818. ; is activated.
    ! m! v: Z. n# Z- e
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    # H. i) Y% C& i, u. d
  1820. ;mbstring.http_output_conv_mimetype=
    / Q5 P& X/ b- B; n& ^0 Q4 o
  1821. ; e4 {1 x. q% ~  Z* S6 |9 G5 a7 F% d
  1822. [gd]$ X7 b* S8 C1 j/ o% [" h' Y/ {: S5 K4 D
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    5 A' ^1 ?  q: \5 l" |
  1824. ; a gd image. The warning will then be displayed as notices
    1 z0 ^3 ]7 b( B% u& Z
  1825. ; disabled by default  O( `, [9 G/ l( M! T% q
  1826. ; http://php.net/gd.jpeg-ignore-warning
    + F1 D! r# u0 [! N0 K. v
  1827. ;gd.jpeg_ignore_warning = 0
    7 h/ S9 f$ e+ B1 R0 w. @/ {: m

  1828. 4 |: O& \8 A8 X1 V7 L6 ?; a
  1829. [exif]
    * P) v, z3 a0 u& {: ^
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.4 e3 ?0 a/ y. }% E6 k
  1831. ; With mbstring support this will automatically be converted into the encoding
    - Z; Y# W" c- s' `( @- M4 ~( w
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding7 n$ J# B* l, W: w9 W" l
  1833. ; is used. For the decode settings you can distinguish between motorola and
    ; U4 G2 G: ~7 j  h
  1834. ; intel byte order. A decode setting cannot be empty.% @4 w  f# I. g& o
  1835. ; http://php.net/exif.encode-unicode6 N4 [0 D0 o" m+ U0 G, H7 u3 o& |& G
  1836. ;exif.encode_unicode = ISO-8859-15. @% ~. X% x0 n

  1837. 1 k6 R3 n. x, Z4 K4 a% S, g) V  x
  1838. ; http://php.net/exif.decode-unicode-motorola
    + V" \$ w4 r, a$ V, K
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    2 K# m, M4 f8 X  U
  1840. $ r/ R9 q$ C+ \9 c
  1841. ; http://php.net/exif.decode-unicode-intel
    0 k0 A/ L" k+ W' ~- y
  1842. ;exif.decode_unicode_intel    = UCS-2LE
      ~, N$ |. A1 }# ]1 x+ @' K
  1843. 9 ]4 g$ U+ D- c
  1844. ; http://php.net/exif.encode-jis
    ' N' }. x% k  ~( r3 B0 ~
  1845. ;exif.encode_jis =8 V$ L  U: O* c/ |- b
  1846. 3 o$ q0 Q* @2 T( }) M7 _
  1847. ; http://php.net/exif.decode-jis-motorola7 n3 @* I, t4 Y' ?  r
  1848. ;exif.decode_jis_motorola = JIS1 Q: X% I$ j  }& {9 t
  1849. ) j- d4 W' W, a' U  t
  1850. ; http://php.net/exif.decode-jis-intel
    3 }+ a" ]. q: i7 n; d; w; P
  1851. ;exif.decode_jis_intel    = JIS2 f+ b# Q9 u# y

  1852. / Y! N4 V8 W9 P: n' ~& ?$ I$ q& b
  1853. [Tidy]: g. e" F: N& Q  [5 Y+ t
  1854. ; The path to a default tidy configuration file to use when using tidy8 p! a/ F; U3 i7 O' Z4 g4 Z
  1855. ; http://php.net/tidy.default-config: |9 z  K4 u8 ~; A1 H: p( r; \
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    / D# N0 d9 t; ]8 e  f2 s& A. k

  1857.   C% A" ^8 i9 {* X
  1858. ; Should tidy clean and repair output automatically?
    0 ]& `8 m6 R  i6 v3 @& }
  1859. ; WARNING: Do not use this option if you are generating non-html content
    & ~% s. k4 [$ N% a; q
  1860. ; such as dynamic images$ a/ S! p" n) {( d( S% p* M
  1861. ; http://php.net/tidy.clean-output9 }0 S- v" f9 G, j& [
  1862. tidy.clean_output = Off: ^! r0 m, d* g) g" D6 ^5 a

  1863. + b, N$ `7 @0 A, @/ A
  1864. [soap], e9 u! B5 e: X. j
  1865. ; Enables or disables WSDL caching feature.
    7 R6 Q5 v! E% _( x
  1866. ; http://php.net/soap.wsdl-cache-enabled
    5 m2 y6 r9 V; d) [
  1867. soap.wsdl_cache_enabled=12 s* M+ x% L9 l! B

  1868. / Z, [- a9 _# u6 p' D6 l4 J
  1869. ; Sets the directory name where SOAP extension will put cache files.
    3 J! W' x( y4 a' }- ]2 [
  1870. ; http://php.net/soap.wsdl-cache-dir
    % s8 ~5 d: z8 e9 ]* d' c/ I* P- y
  1871. soap.wsdl_cache_dir="/tmp", u/ [1 e4 U0 z3 Y: u" J9 O5 k; X5 z
  1872. 2 I  h4 v! N0 l# t. t
  1873. ; (time to live) Sets the number of second while cached file will be used
    : ?6 H) E; X4 b2 J0 J% @) \& P
  1874. ; instead of original one.7 u- |. P6 o) O
  1875. ; http://php.net/soap.wsdl-cache-ttl
    . K! A' z4 h" X. M" o! U5 h
  1876. soap.wsdl_cache_ttl=86400
    6 T) P! a. X6 N0 J& u, F. [

  1877. : z6 e2 W9 H3 l" o
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)* X) h' K( D) _
  1879. soap.wsdl_cache_limit = 5& B, \/ v: A1 e
  1880. " k6 Z# _+ m  l4 W7 C
  1881. [sysvshm]5 c9 G( g* T1 S9 B% Y7 [! a
  1882. ; A default size of the shared memory segment5 c0 t7 p1 a, R, f& x
  1883. ;sysvshm.init_mem = 10000
    , `7 `: u" W& {0 |6 F
  1884. ' j" B% G2 Y6 p% e& i
  1885. [ldap]- i7 s& J  D+ U# E* S& |# m
  1886. ; Sets the maximum number of open links or -1 for unlimited.6 d0 Z7 X% W$ O3 G
  1887. ldap.max_links = -1
    ( L: t; L+ J6 f3 u2 c/ i- B, j

  1888. ) N# [' @+ m' L8 U: Y; s. k
  1889. [mcrypt]
    8 Z: h; H( D7 T+ Y
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    : h3 a& {" P$ h: p" y) E9 L
  1891. 3 C: |; ~0 u! |
  1892. ; Directory where to load mcrypt algorithms
    1 d4 n) |: ^, p4 L. o3 A# m
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)( e$ [! X, `- V/ o9 {
  1894. ;mcrypt.algorithms_dir=% z, l8 R/ g0 P) W- W) b6 ^
  1895. ' `, ?5 k9 C2 z+ t
  1896. ; Directory where to load mcrypt modes% F0 x0 @; ]' m' ]1 u
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt), [, |1 L4 I* t
  1898. ;mcrypt.modes_dir=
    3 b  |4 I' u* I% J3 h

  1899.   M+ X% j/ q% }$ m
  1900. [dba]1 z3 T. e, N2 H  t
  1901. ;dba.default_handler=( Z4 Z$ V- M# B, Z3 I) a7 }

  1902. 1 ?1 S+ `. Z3 u# w: D4 f
  1903. [opcache]
    8 N+ i! z1 _8 `
  1904. ; Determines if Zend OPCache is enabled( V( R; p* f: ~' `5 I- S
  1905. ;opcache.enable=03 E7 e# W* `9 C8 q$ k4 l, v

  1906. ' `) O- g; c3 H& h% U- d2 h6 g! Y, R
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    / `# K) a, F6 X
  1908. ;opcache.enable_cli=0
    + E9 `% Q& B3 y, O5 Z3 d2 R/ K. u8 i
  1909. ; Q. x' z6 Q0 R5 t# T
  1910. ; The OPcache shared memory storage size.
    1 o& d5 O9 D7 v
  1911. ;opcache.memory_consumption=64$ M( a8 F+ V' }/ ]
  1912. # Q7 I2 m- R3 I  x
  1913. ; The amount of memory for interned strings in Mbytes.; n; f. C) e* V6 k" i. d4 r- P
  1914. ;opcache.interned_strings_buffer=4
    0 x, G- N2 ~* H# x$ h  x0 z: N9 }

  1915. ' G3 e1 ]  {  _6 H' D6 L
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    2 L* C% K( @8 I6 C/ d
  1917. ; Only numbers between 200 and 100000 are allowed.
    * b$ ~% q" |# U1 `: m* K
  1918. ;opcache.max_accelerated_files=2000* a" L- b) u5 J9 O0 u" W

  1919. : I# A7 {5 q5 l% V( B( @: t( Q
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.1 U- S' v: Y  J
  1921. ;opcache.max_wasted_percentage=5: i  E$ _0 n: l8 H7 p2 j

  1922. ! G' Y% }' L% e& M$ R5 [5 r
  1923. ; When this directive is enabled, the OPcache appends the current working% D4 }; ?& |' x. ~  H
  1924. ; directory to the script key, thus eliminating possible collisions between7 z6 ^" _  ~$ K1 Z
  1925. ; files with the same name (basename). Disabling the directive improves: e, ^) o$ U0 ^
  1926. ; performance, but may break existing applications.6 L4 u- z/ k+ C3 K+ n
  1927. ;opcache.use_cwd=1/ ~- j* ~+ p/ T2 G1 ?8 c. C
  1928. 5 ^" s' ?% g; E1 P* ]4 c3 H) W
  1929. ; When disabled, you must reset the OPcache manually or restart the7 G2 p' \$ R) _
  1930. ; webserver for changes to the filesystem to take effect.
    3 |( p& t5 _* |, b, N7 S
  1931. ;opcache.validate_timestamps=1
    & T& A! i/ W/ o) L0 k: R

  1932. 4 t- g" X/ T! D) Q' F
  1933. ; How often (in seconds) to check file timestamps for changes to the shared+ t% h& V! l; z, v# g
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    0 b  j6 \! ?% v7 {2 H, a
  1935. ; once per request. "0" means always validate)' t+ g6 I/ X, u3 o5 g6 G, D& q
  1936. ;opcache.revalidate_freq=2
    ! L& _' s* ~& Q3 f  X# i) E
  1937. + |4 t8 E$ ]% a' p4 @
  1938. ; Enables or disables file search in include_path optimization" A: Q, b6 l8 Y$ j5 |
  1939. ;opcache.revalidate_path=0
    $ o& x9 X! l! b( M2 g, O4 f  x" d

  1940. 1 k0 }: e: [! I- c# E
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    " f9 M% `" D0 \- B4 ]
  1942. ; size of the optimized code.* q' P1 C# g. _9 V8 u
  1943. ;opcache.save_comments=1
    2 }& X$ d. |( N; b, ~8 O- a; V

  1944. & [4 |( |8 f. ^$ k
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"6 C2 _6 l% ^, @* B* Q
  1946. ; may be always stored (save_comments=1), but not loaded by applications  H4 N6 h2 B: R
  1947. ; that don't need them anyway.
    2 v/ S5 M, f/ c! S7 Q7 |
  1948. ;opcache.load_comments=1
    6 {9 X, k2 I1 g& V
  1949. . G* a# t: V4 s- z9 U
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code. y/ p5 O8 P4 ]  S
  1951. ;opcache.fast_shutdown=0
    3 T8 U5 D: n5 c7 l7 u
  1952. 6 c+ j# W7 [' i& p: L- V, e. a# O
  1953. ; Allow file existence override (file_exists, etc.) performance feature." n" x0 }- b6 Q; }
  1954. ;opcache.enable_file_override=0
    - q& T4 p( Z/ P+ R
  1955. ! l6 u+ V. A+ u- x! f( o0 i
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache! w& v5 z. j0 o* B% m- M
  1957. ; passes! Z( N& F0 [/ y! M: O+ d
  1958. ;opcache.optimization_level=0xffffffff( {% T! `# Q' j, x
  1959. - I8 z! v( q* x* j; d
  1960. ;opcache.inherited_hack=1
    $ q( \/ i9 |- Q7 Y
  1961. ;opcache.dups_fix=0
    + h" k$ d: J: }; M' F' r

  1962. 1 d( \' U! y( N" C
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    9 q" K$ J) \; ?
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    - b; S; i( P; V4 t- j
  1965. ; that should not be accelerated. The file format is to add each filename
    3 U; b2 j: x$ v9 Q1 R- L/ ^
  1966. ; to a new line. The filename may be a full path or just a file prefix
    / {6 l9 |' a1 {; ?! \* \
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    : F% ]2 r+ x+ b! D; f) g
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    & s! R9 b# S4 Y2 P- B
  1969. ;opcache.blacklist_filename=
    ! B6 C2 K  ~" b' _0 T

  1970. $ _* S7 K. I9 y: M8 Z9 m4 a! b
  1971. ; Allows exclusion of large files from being cached. By default all files  g# P: _+ N: s0 d6 r
  1972. ; are cached.3 y$ h4 o2 ?6 D" [. |: r; w8 Q) _; ^
  1973. ;opcache.max_file_size=0
    0 e9 y6 T9 h  Y; O4 b8 A. h8 y
  1974. ' Z6 {' r6 T1 e  l' k
  1975. ; Check the cache checksum each N requests.) b" ~5 g1 I% l' f1 V3 j
  1976. ; The default value of "0" means that the checks are disabled.
    ( R) |! P# T0 r" G, M3 M
  1977. ;opcache.consistency_checks=0
    % C7 t9 P5 _0 n$ J! }! j/ L9 E
  1978. 5 G% [" T4 q+ z. G+ g; M
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    1 e- y2 S5 s; s( d6 o; h: f8 x
  1980. ; is not being accessed.+ h) ^4 v; h( F. k' t( F/ z2 _' v
  1981. ;opcache.force_restart_timeout=180
      s# n& Z# o+ `1 d
  1982. ( O( Y1 `3 G/ E* F9 V' @
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    ; i& [# [" F' i2 F5 g- W6 J2 T
  1984. ;opcache.error_log=
    ' x6 L1 V- G0 ?! h* ~  y
  1985. : @  v, |' B/ x+ f  ]
  1986. ; All OPcache errors go to the Web server log.
    ( i, r$ l2 A( a% A  w+ b9 J6 _
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.. O' ~: S) Y- E! K, P
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    # X+ L3 ~" J9 Z6 ~) ?. E% z
  1989. ; debug messages (level 4).+ C. o% Q' l0 `5 z. H
  1990. ;opcache.log_verbosity_level=16 U4 B, X/ h. z  a: g. [) m

  1991. 9 K  P, A1 i% C' Q
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.3 H, }% r& V6 @) u+ w) |* X
  1993. ;opcache.preferred_memory_model=
    7 o: r) o; {4 k% Q! r6 @# a* t0 G
  1994. * e+ A1 s0 |. v8 `8 N" N
  1995. ; Protect the shared memory from unexpected writing during script execution.
    ( X9 b" c8 o4 ?3 W+ B* [
  1996. ; Useful for internal debugging only.; G- j" j4 T" A% z
  1997. ;opcache.protect_memory=0& q$ j8 d* E8 S

  1998. # ]4 E2 C; w: a( N6 W5 o' {, ^
  1999. ; Validate cached file permissions.
    , S, z+ k2 c1 }, {  V9 t+ [) b
  2000. ; opcache.validate_permission=0* Y. n4 H4 k9 `+ ?8 J! `

  2001. 9 h2 K$ K9 l8 M0 ^: x
  2002. ; Prevent name collisions in chroot'ed environment.
    . o3 w% b9 D: R8 \
  2003. ; opcache.validate_root=0
    & n  B1 U4 ^  L, N$ f" o0 H4 T* F
  2004. + b4 Y( ?: B7 r" W8 r6 U
  2005. [curl]
    $ s$ a" l$ K+ ?0 [& H  u
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
      F4 |, T9 Y9 I8 D- E
  2007. ; absolute path.
    2 _+ Z5 I( J1 \% Y  I
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt4 f# m- S4 `8 g( X) S* r" k; _7 C

  2009. # ^' b- m: e7 m  W
  2010. [openssl], I) x' G1 F8 U7 m" M* B
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem0 K. l1 Y7 J7 x. D
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should1 n- h/ [% n. G% f/ z8 e# i
  2013. ; not specify a value for this directive as PHP will attempt to use the
    9 x6 z+ Q' f' a2 t
  2014. ; OS-managed cert stores in its absence. If specified, this value may still" Q( N9 t8 K( {1 _7 Y. w$ u, t
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context% }( M. [" c2 r, W. ^7 c. p2 J# \& Z
  2016. ; option.: u( g; S* c* C- [3 r9 @
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt7 N/ L$ s. @0 U8 l& F! t

  2018. 2 H& S1 {' E) N+ C
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the+ p% w  [- q0 j0 A8 ]
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    8 p7 y* r/ J; d
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    & X; H: g/ g' Q& d+ t
  2022. ; Most users should not specify a value for this directive as PHP will
    . [8 ]; Q! P- @# m* X
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,$ T! I: I0 r/ K, X
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    , g, i: y9 Y2 r2 @/ t
  2025. ; SSL stream context option.
    1 @" m$ w$ Z2 M7 O  B
  2026. ;openssl.capath=3 L; Y3 V/ C. P
  2027. & e2 ?# f  x- O% ?
  2028. ; Local Variables:9 ?% s4 |" b  h( n
  2029. ; tab-width: 4
    * Z5 A1 a+ r* L# q9 q" j
  2030. ; End:* p6 [( K1 U1 \4 _
  2031. * Q+ t# j8 d! k( K
  2032. ;eaccelerator
    " [& F' i6 l  C; ~4 w7 s6 `
  2033. ; J" n7 k! g$ e, @( X1 y
  2034. ;ionCube
    : e/ ~  G4 q: x/ C- X% }
  2035. # A# N* _/ q: p3 D8 m) d% o
  2036. ;opcache5 s  M2 r6 w) p+ j7 t: A+ U

  2037. , E" v- E/ j" N: f
  2038. [Zend ZendGuard Loader]
    : c( I* }' x5 {
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    6 }& j0 {5 Z) g1 K! _0 \' q
  2040. zend_loader.enable=1$ Q: a- c, D% a
  2041. zend_loader.disable_licensing=0
    5 z5 c, r, u# p7 I& ^* B
  2042. zend_loader.obfuscation_level_support=3: q/ [/ u% h4 Z  H& H0 o
  2043. zend_loader.license_path=8 }! ~4 ~3 T5 V2 N0 A
  2044. ) w+ }$ E, Q+ o1 _: r6 d
  2045. ;xcache
    : P8 c3 k$ H$ T5 ]9 P
  2046. 1 O4 c: x0 ^3 B. ]8 D1 s4 ^
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146924 m# r6 c4 c! l
6 f0 ?/ ?& z# w
: v- y% b, x6 A! P8 M: A$ l) Y9 [) }1 t
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,! O2 b. I% {9 `
* M" @2 a+ O! L5 y( O
Discuz!程序版本选择:5 X+ ]( {0 o. O' G1 v, t, S
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,+ {* @6 ~, V! q5 e% e+ o- B
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:! D4 d5 E, n% X" A- A; A3 T- ~- q
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。: m0 L0 @5 ?0 _
8 s4 W3 v% S' `
Discuz!插件模板版本选择:
8 L/ i" O* Y( L  {% l  g很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,; W+ u* j7 o" r( `
针对这个问题做个统一的普及:
8 |* Q* r" c/ N* J6 p6 c4 ?# dX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。6 t7 t% ^' Q. ]$ j- o

* S+ q' O4 F0 f4 ?" b7 h- G. @& t所以- F* B) ^0 Y7 b# g# G. Z( w1 p, [
适合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的二级域名。
- d/ u0 s8 B  f9 ?% n, I打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。0 ?) N- L- ], Q. P, q  K2 X: |# Q
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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