分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
: w; \9 w5 g- M" F; t, Y+ L- i3 w. ~5 z. x$ U- P
  1. [PHP]
    7 M, Z  f/ z5 F6 V* \
  2. 1 i' e7 x& }$ U) ~& L
  3. ;;;;;;;;;;;;;;;;;;;$ e" V; B( [. |+ g& ?6 [% L  t
  4. ; About php.ini   ;
    - b8 S5 O0 G& ], O, v  g
  5. ;;;;;;;;;;;;;;;;;;;3 `, Q* j# H' x! r- [- b
  6. ; PHP's initialization file, generally called php.ini, is responsible for1 e6 x. [  F' ~$ Q, E
  7. ; configuring many of the aspects of PHP's behavior.5 c3 m9 {0 j; f1 P3 f
  8. ( p& T5 F8 V4 s( P$ C' A
  9. ; PHP attempts to find and load this configuration from a number of locations.
    / g" P) o3 z! a1 i, f6 s
  10. ; The following is a summary of its search order:: G4 {: P8 q  k$ k
  11. ; 1. SAPI module specific location.
    ( g! r  w$ y- K
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)4 l  C; l8 W" [( F: p
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)2 c0 z# s- g; k* q2 M5 q
  14. ; 4. Current working directory (except CLI)0 f! u8 [% e+ n. e! ~5 o
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    - B% r' t' N) c
  16. ; (otherwise in Windows)
    * L) ^8 ~& A  t0 E3 D5 Z. {
  17. ; 6. The directory from the --with-config-file-path compile time option, or the5 O* A! @  [  u# D+ N8 ^$ g
  18. ; Windows directory (C:\windows or C:\winnt)! T' P& P% s, b  h3 t5 w
  19. ; See the PHP docs for more specific information./ Y0 Y& {! E* }1 G7 Y3 u
  20. ; http://php.net/configuration.file: G9 i* j+ O* W0 G$ Q* g

  21. ) W6 V9 e+ C. @7 ?/ C1 D: j
  22. ; The syntax of the file is extremely simple.  Whitespace and lines% V6 ~& ]( Z0 y7 ?1 d$ O, t: {0 y0 {
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    1 W% |! D8 `1 [; w
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though# _( j4 c. T$ z  O+ b. g
  25. ; they might mean something in the future.  e6 M0 J$ W# Q) Y
  26. 2 |8 |9 z' D4 r! I/ U" ~- K1 Y) O
  27. ; Directives following the section heading [PATH=/www/mysite] only7 R, ]5 M  F3 A% a' m
  28. ; apply to PHP files in the /www/mysite directory.  Directives+ X7 B$ e; ^6 Q, x7 `
  29. ; following the section heading [HOST=www.example.com] only apply to
    ) c  H! k+ h( ?. M4 j+ S1 [) B
  30. ; PHP files served from www.example.com.  Directives set in these
    / e1 i  v( y4 x5 @) X
  31. ; special sections cannot be overridden by user-defined INI files or5 H% o! i9 J' o. j( _
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ! ^- O/ x( i* `/ G
  33. ; CGI/FastCGI.# I% n) {- c1 w: y
  34. ; http://php.net/ini.sections4 K9 ?4 N0 y3 @3 J% ~/ A
  35. 0 q& V2 w) q% g, {8 e+ k+ ~" R5 D3 B; F
  36. ; Directives are specified using the following syntax:% e9 d* n; j3 K7 W
  37. ; directive = value! [$ @: g* G( X6 d* Y, f- ~7 X/ ?
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    5 R9 n* d6 I1 u# ]) u$ E/ S( l4 s% g* F& R
  39. ; Directives are variables used to configure PHP or PHP extensions.. |$ @2 D5 o! ~4 d/ f4 u1 n$ S! ?
  40. ; There is no name validation.  If PHP can't find an expected
    ) `) P# Y$ z' c! ]! _
  41. ; directive because it is not set or is mistyped, a default value will be used.+ I- S+ f$ @3 u1 i4 r

  42. ' s* g1 l$ a, A2 x
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one7 y" F3 q6 c8 N4 u
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression- |3 O9 c/ ~1 V+ L$ i( f& B3 I
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ' p" Z( I, V; K
  46. ; previously set variable or directive (e.g. ${foo})
    1 z' W' l5 o# x* `0 g. T
  47. % O# A4 h8 F/ z
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    $ r9 [) W4 T% t7 O$ F( R* z8 |4 p
  49. ; |  bitwise OR
    ( f4 Y, D0 s; A' H1 b' l" L
  50. ; ^  bitwise XOR4 g( y# f! t2 C. O: ~2 a
  51. ; &  bitwise AND
    * \; t. }( U, v. n* x$ u
  52. ; ~  bitwise NOT/ w1 W$ H, F; p4 k  j+ M7 f+ Y
  53. ; !  boolean NOT1 ~# N& D0 {  A: M9 \

  54. 8 I0 Z8 l1 l2 m# k$ s6 m1 t
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    1 C) _, k( t' F) G( J
  56. ; They can be turned off using the values 0, Off, False or No." G0 {2 x, l0 b& V' G1 b% n* O% ^( |

  57. ! R; Z5 ]+ H; |: x6 p
  58. ; An empty string can be denoted by simply not writing anything after the equal8 V' t, ]- b6 v9 Q- z+ N. E7 s& A7 f6 y
  59. ; sign, or by using the None keyword:
      D) y- x* T0 r- \/ e+ u: ]' b

  60. ( l0 m7 ?! s/ V7 N" Y2 t. N
  61. ;  foo =         ; sets foo to an empty string7 [7 B  V# b: r: m4 D$ S
  62. ;  foo = None    ; sets foo to an empty string/ l- _8 Z4 }2 f4 A; V8 A1 Z
  63. ;  foo = "None"  ; sets foo to the string 'None'
    % l# a' I) u2 g7 o7 y
  64. / J$ l0 S  y9 T, b' W
  65. ; If you use constants in your value, and these constants belong to a/ A1 M5 M; ]  P4 O8 M7 N' M
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),0 Q& D: j9 F, P' U" G& g
  67. ; you may only use these constants *after* the line that loads the extension.
    # O  G  m6 a0 C3 {

  68. 5 m& Y$ ~, p& _) |$ ~. R3 {
  69. ;;;;;;;;;;;;;;;;;;;; B& Q9 ?7 C6 s+ c8 f+ _$ z$ `4 x# l. e
  70. ; About this file ;" l6 w, @+ }6 I2 T9 s
  71. ;;;;;;;;;;;;;;;;;;;( p! p( c4 ]- J3 Y! {
  72. ; PHP comes packaged with two INI files. One that is recommended to be used4 W8 V3 H: N4 k$ n
  73. ; in production environments and one that is recommended to be used in
    # f2 @, B2 z- j) |
  74. ; development environments.
    ' w% \* p/ l; X. c

  75. ; |" F7 n( t' @$ |
  76. ; php.ini-production contains settings which hold security, performance and
    / N  m, {6 }) r' W8 m% s9 k4 c
  77. ; best practices at its core. But please be aware, these settings may break4 Z# p$ Z* i3 Y. N5 I) T
  78. ; compatibility with older or less security conscience applications. We
    & P" K. V( u8 M. E) \- F5 ^
  79. ; recommending using the production ini in production and testing environments.1 n  F/ W1 i5 e0 N& U( C
  80. 6 J. Q4 [. R2 ?% M% Y; ~( _0 ]# H
  81. ; php.ini-development is very similar to its production variant, except it is
    , m! ]- h; h- A, B! v  A
  82. ; much more verbose when it comes to errors. We recommend using the
    $ c; }/ E! o) i, ^5 u+ _- i
  83. ; development version only in development environments, as errors shown to
    , P+ e0 K2 k0 K9 D0 m
  84. ; application users can inadvertently leak otherwise secure information.  L" a: u" n+ \' w1 ~; i& G
  85. ) x, ^6 R. M% F9 Z
  86. ; This is php.ini-production INI file.
    : r/ k' m3 n: L% H$ H1 p

  87. " r* s+ X% m( y. M' [/ l
  88. ;;;;;;;;;;;;;;;;;;;' X+ y9 W3 s. a% f5 C' f2 z; U
  89. ; Quick Reference ;2 ~* O' L6 B8 k, F# \& ~
  90. ;;;;;;;;;;;;;;;;;;;2 Q( }, J/ R0 E9 Y
  91. ; The following are all the settings which are different in either the production( B# ^/ r9 e0 G
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    9 a5 K2 w/ N" I# q/ b$ {2 \9 ?5 O8 T+ b
  93. ; Please see the actual settings later in the document for more details as to why
    % t2 J" Q  V. {* k, E8 B  h
  94. ; we recommend these changes in PHP's behavior.
    - [! e9 I8 r9 v" Z
  95. * `# M8 V$ l! I# s4 h, l' g
  96. ; display_errors
    5 C8 X7 N0 x5 |/ l2 E+ S! t
  97. ;   Default Value: On9 R6 ^, z; l# T6 i/ g
  98. ;   Development Value: On
    5 K4 d4 }( h9 x
  99. ;   Production Value: Off, r1 U& `9 V, Q

  100. & S% L2 d* u; P. ?+ u
  101. ; display_startup_errors3 j3 Q4 H. t  R( ]3 {; \+ [: M% A
  102. ;   Default Value: Off
    ! G. H1 `4 r) Z3 w- m5 B
  103. ;   Development Value: On
    9 Z2 @3 G2 E2 Z" K* c9 k& M
  104. ;   Production Value: Off9 i; ?# _' j7 ?3 t+ D) V& ]( T" q( @
  105. ( U% f: i' [4 N1 X& f, c
  106. ; error_reporting
    5 c! ^( ?0 c1 C0 F# r
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ! [) f4 m8 U, ?/ m3 k/ V
  108. ;   Development Value: E_ALL
    3 @6 e, U5 V9 ]) O4 F* \
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    1 L( Q. F1 X) M; R) `) u" |
  110. . k/ V3 l7 l" k" E6 \0 ~8 D
  111. ; html_errors
    ) O5 D" F) ~' J0 v' z* i5 t, F
  112. ;   Default Value: On
    2 j* c, `1 ]6 a  o
  113. ;   Development Value: On
    0 i  U6 r9 [- @) X7 o! O
  114. ;   Production value: On
    7 B% m, ?  t! y: h, ~# D0 o: f

  115. 4 e5 j; s; b. _6 K4 H
  116. ; log_errors
    0 t" L# _; \$ u+ Z0 C
  117. ;   Default Value: Off+ o1 R6 b3 _8 e# M1 f
  118. ;   Development Value: On
    6 H8 U6 U0 Y* A+ ^! y
  119. ;   Production Value: On5 ^' C* R" i; l3 r  Q

  120. ) W# X: P* Q2 l9 \2 X; Q
  121. ; max_input_time- n1 w3 @- U  v4 ?8 [+ M  P
  122. ;   Default Value: -1 (Unlimited)
    ; H% Q1 W8 ^2 }& a! {/ `
  123. ;   Development Value: 60 (60 seconds)" W7 b& H3 E  T3 [0 D% d7 D
  124. ;   Production Value: 60 (60 seconds)3 q. S0 S5 r5 m+ e/ ~
  125. . X9 T7 s/ y, u
  126. ; output_buffering
    - ^% L6 x9 _2 M% I# G+ _
  127. ;   Default Value: Off
    ' f! d' v1 J4 Y
  128. ;   Development Value: 4096
    ( Z- U$ Q2 g: G- z
  129. ;   Production Value: 4096
    ) m/ a! k; H( p; Y. e" i% K6 m$ r2 j
  130.   `" v  d& x4 {2 H0 w
  131. ; register_argc_argv# n" G9 m# e) B2 L
  132. ;   Default Value: On4 j: ~7 D: G  J5 d. X6 T1 q" e
  133. ;   Development Value: Off. S- C7 M: z5 P6 |+ p' A0 T
  134. ;   Production Value: Off
    3 _4 P; x! `0 i) X3 d

  135. ! m2 N& F7 }; a% ?7 R# x
  136. ; request_order+ U, B7 D: M) M) o
  137. ;   Default Value: None5 e! a+ j+ I. S# s7 t& ?7 i
  138. ;   Development Value: "GP"" |8 ^6 C% T4 X0 v8 D
  139. ;   Production Value: "GP"
    : J8 N# J+ G3 e1 i' W! j' q

  140. - {3 i# t% f: ~7 z2 k
  141. ; session.gc_divisor
    + `) N4 k+ _. l7 z4 s; x
  142. ;   Default Value: 100
    7 B6 h: S. S) b( s5 B
  143. ;   Development Value: 1000
    $ L; x$ h1 b# C; x! m
  144. ;   Production Value: 1000
    & u+ u2 Y& X& X8 o3 r& r0 v& _4 d, Y

  145. ( r' L2 l' V0 j% g
  146. ; session.hash_bits_per_character" i4 y5 T9 e# K& ~" A- o" u( R
  147. ;   Default Value: 4
    2 K& m$ S5 G+ L! K* l- _5 F
  148. ;   Development Value: 5
    9 P# z' `9 I5 ]6 ^. y" @3 b
  149. ;   Production Value: 5
    7 c9 K9 W6 N8 ]
  150. + C, h! }0 G- T  A8 u1 {
  151. ; short_open_tag
    1 A' W& p# Q( h  X2 y
  152. ;   Default Value: On& v: O3 f/ a4 Y1 W: |) y
  153. ;   Development Value: Off
    , H+ j$ _9 M( I; v) i- O/ C
  154. ;   Production Value: Off
    % E9 e* I* {8 y" X  L
  155. 1 b# _- ~# e( H( F/ E- J) U
  156. ; track_errors, Y% H- `  s  q- g. E
  157. ;   Default Value: Off
    # W) r( Q1 a7 u5 \
  158. ;   Development Value: On
    : i2 A( P1 c9 C) r* l% D3 R
  159. ;   Production Value: Off0 v1 r6 p$ n$ n9 F$ [/ J+ e

  160. $ j! t8 r9 A5 w) ]2 O) v' |$ J
  161. ; url_rewriter.tags
    , M0 p& S. F7 J  a
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="( w8 S/ E! k* d- I8 e9 Y
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . F# \  d! f& M3 P2 _' n$ A$ _
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' N0 [" R/ p  R* m+ z8 S, H
  165. + g( K; j) Y) c4 V5 k- v
  166. ; variables_order( `" \+ Q) q- ^- s
  167. ;   Default Value: "EGPCS"- y3 Q4 [* ~, T# _+ q7 }4 c
  168. ;   Development Value: "GPCS"7 d1 z, t9 r; x0 R9 U4 }
  169. ;   Production Value: "GPCS"6 i5 W/ A! [  B1 X/ n3 n2 r7 a9 d. m
  170. ) ?) w/ @& Z; X3 H8 |3 _+ [; o
  171. ;;;;;;;;;;;;;;;;;;;;0 Z& u$ i( [( p1 }
  172. ; php.ini Options  ;
    6 h  Y2 r7 C; o3 n- B2 y
  173. ;;;;;;;;;;;;;;;;;;;;0 y% F! k$ J# C
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    % L1 B: @2 Y" Z" {# i$ i
  175. ;user_ini.filename = ".user.ini"
    ; Z! Y* x1 Y! {3 E3 `

  176. 2 R3 }& M( R- X5 O) v
  177. ; To disable this feature set this option to empty value
    ( @4 |! ~' Y% T7 X9 F# P
  178. ;user_ini.filename =- Y; Y% o7 R& q0 k! S, _8 s0 D/ c

  179. 4 Q, @/ g2 e% |: X: @, _$ S3 D
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    7 L$ l0 N" c- ~9 f8 s' Q% M, G4 X
  181. ;user_ini.cache_ttl = 300, a5 t& h; j. `( E

  182. 8 z, }7 g0 }  R0 Z0 L
  183. ;;;;;;;;;;;;;;;;;;;;9 z: H( g3 [% p3 q) m7 x2 Y4 G* R9 ~
  184. ; Language Options ;
    ( u/ N  R9 m/ C7 F! |& f* V& V
  185. ;;;;;;;;;;;;;;;;;;;;
    2 R& U. C0 {0 f+ ^$ r

  186. 5 h" S; {- \) S1 k# _; w0 c- ~! W
  187. ; Enable the PHP scripting language engine under Apache.
    4 L9 S4 c# P  `$ @6 b
  188. ; http://php.net/engine
    , ]' D; f+ O  i, f4 }
  189. engine = On
    : |- j9 i% k" o3 G. ^3 i# T
  190. 0 ~& X0 _: e. ]3 w' c
  191. ; This directive determines whether or not PHP will recognize code between* D: ^$ d/ R5 w' S, Z; a
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    $ i7 g7 _: o" _& u3 e  m5 z
  193. ; generally recommended that <?php and ?> should be used and that this feature
    & L2 q) t5 h7 M; K! N; [
  194. ; should be disabled, as enabling it may result in issues when generating XML
    5 q; E9 b9 L% g! h  Y
  195. ; documents, however this remains supported for backward compatibility reasons.
    ! A+ r7 @1 E7 T7 W6 s  J5 t$ x
  196. ; Note that this directive does not control the <?= shorthand tag, which can be4 t' S! X# g* K2 G3 Q8 C
  197. ; used regardless of this directive.
    % O! w+ X: t! V, k0 `
  198. ; Default Value: On
    # D( o: L8 D: M
  199. ; Development Value: Off9 J* }8 W3 Z7 ~* n0 C
  200. ; Production Value: Off) a( E7 F, @) d. ~
  201. ; http://php.net/short-open-tag
    : w* W; A& B: ~" z  ?
  202. short_open_tag = On/ U$ \8 ]! p* I+ V
  203. ; m/ Q& T2 t: ^+ o& ?% C  }) ]
  204. ; The number of significant digits displayed in floating point numbers.
    9 a2 k- u8 b' E# P. \8 Y
  205. ; http://php.net/precision
    : M- ]; X+ w9 E* c, X  O
  206. precision = 14
    # u: u, N$ \$ s" {

  207. + S' `( W- A0 c  v# W
  208. ; Output buffering is a mechanism for controlling how much output data2 S' Z1 v: [+ o
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    1 J0 A$ f% t7 ^' ~& f, c1 ]9 X
  210. ; data to the client. If your application's output exceeds this setting, PHP
    * J( W; ^# V- a& |2 X+ T0 i
  211. ; will send that data in chunks of roughly the size you specify.; g3 Z* D, b0 G0 w; d
  212. ; Turning on this setting and managing its maximum buffer size can yield some& |7 Z* ~3 Z7 L! k
  213. ; interesting side-effects depending on your application and web server.
    5 e* J3 n# W, F, o" K& \
  214. ; You may be able to send headers and cookies after you've already sent output
    & R. V9 C2 l) p+ b. u
  215. ; through print or echo. You also may see performance benefits if your server is) B& s* Y6 G# M1 \" s/ F
  216. ; emitting less packets due to buffered output versus PHP streaming the output) b" F5 ^+ I' q" M1 Y# |
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ' V: }  P4 }3 `3 K6 _/ |
  218. ; reasons.5 G% N+ u% k+ d1 a+ c8 [3 U- Y
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    ; p/ A2 o/ G% R; B7 ~$ k
  220. ;   functions.; I/ \7 U, ^, v5 N2 R- C
  221. ; Possible Values:
    8 Q& X, o" B- y* G8 a9 b
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)9 c; o) h$ u- A& q+ q  P7 v- v
  223. ;   Off = Disabled
    5 {( D2 o) x0 Y9 d& X
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.- u' c* }/ o  P0 m& w
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    . {5 [2 W3 `6 Y
  226. ; Default Value: Off9 a; P; M7 V/ f6 P  v1 s
  227. ; Development Value: 4096" l* V2 k; B2 @* X7 k+ H/ a
  228. ; Production Value: 4096
    7 G4 l1 B9 P' Z; }
  229. ; http://php.net/output-buffering; {1 @  d4 \8 v' |. F
  230. output_buffering = 40968 h% M; c, S; u0 P0 O, V! f8 {

  231. % h: P% Y& P/ H5 b
  232. ; You can redirect all of the output of your scripts to a function.  For0 m9 e3 A# Y0 S
  233. ; example, if you set output_handler to "mb_output_handler", character* f2 s* M3 t# o
  234. ; encoding will be transparently converted to the specified encoding.
    - P7 F# A" R" p
  235. ; Setting any output handler automatically turns on output buffering./ J6 D* V7 ^' o
  236. ; Note: People who wrote portable scripts should not depend on this ini/ G/ b2 F# r# V. O
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    ) Q! h1 P. d" k/ j4 }" f
  238. ;   Using this ini directive may cause problems unless you know what script
    ' X$ l* J' _; A( S2 f
  239. ;   is doing.
    , T# B* C' b4 R5 ?
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    & t' @' [& c& S! H: @) t
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".- F, }6 F. B6 |% v9 h1 C
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    " ^% {6 F$ k2 m# `( H9 I+ |4 J- z
  243. ;   Instead you must use zlib.output_handler.
    " k4 _/ y3 k3 u5 `/ g5 ?& F2 g* a, ~; I
  244. ; http://php.net/output-handler0 Q3 V1 C- S+ j( e
  245. ;output_handler =
    " o" O! ~& n0 m  |0 w* T

  246. 5 ]7 h$ d; O( E2 m" Y, B
  247. ; Transparent output compression using the zlib library
    1 B8 y( M4 {- H. j. T) p
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size" ~! _# o  O: M' P. h' j
  249. ; to be used for compression (default is 4KB)
    " X8 `) F" b0 x
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    * l! B8 a$ e3 Q! |' y( L2 W. G' W
  251. ;   outputs chunks that are few hundreds bytes each as a result of# e; I1 [! f) z+ V, j
  252. ;   compression. If you prefer a larger chunk size for better$ `3 Q! y, e! z5 j
  253. ;   performance, enable output_buffering in addition.
    " V# X% o" T7 z, z. o
  254. ; Note: You need to use zlib.output_handler instead of the standard
    # R5 ], q" m- i2 w/ f' y! e7 z
  255. ;   output_handler, or otherwise the output will be corrupted.
    - q! }2 I0 ]$ ]! M
  256. ; http://php.net/zlib.output-compression
    ) A' `$ y. B3 h# Z# w/ J' R' C
  257. zlib.output_compression = Off5 [" w: ?% `% Y7 o$ u
  258. ! T$ g7 R" P3 ], v
  259. ; http://php.net/zlib.output-compression-level: E  P$ q$ X6 a% w. n/ e( n
  260. ;zlib.output_compression_level = -1% D- l  f$ D9 q& f( D( U& a

  261. + o* P7 k/ b1 {! Y- a$ L0 z
  262. ; You cannot specify additional output handlers if zlib.output_compression" Q, t8 f5 {# o4 i
  263. ; is activated here. This setting does the same as output_handler but in
    + v" D, t) F9 H
  264. ; a different order.
    & ^9 w' A& d' [" ], D0 t# l6 N
  265. ; http://php.net/zlib.output-handler
    - [  u  C7 J/ X+ c+ H- ?0 _
  266. ;zlib.output_handler =( R0 X! B7 N6 N/ `
  267. : K: Z! ]; Q- _
  268. ; Implicit flush tells PHP to tell the output layer to flush itself) h4 U' M4 e$ X0 d9 b" _
  269. ; automatically after every output block.  This is equivalent to calling the
    + N9 B; e+ y9 u( V" p
  270. ; PHP function flush() after each and every call to print() or echo() and each3 x! M; o0 S) q0 ]
  271. ; and every HTML block.  Turning this option on has serious performance
    - e8 L% _% a4 [* J
  272. ; implications and is generally recommended for debugging purposes only.
    * }: h3 r: f0 ], g' \( M
  273. ; http://php.net/implicit-flush5 h5 Y: a2 l- m, R& y
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    ' `$ A$ a! R+ ~# K5 s
  275. implicit_flush = Off
    , V5 n1 n; h! @$ f6 p8 D7 t
  276. 1 m2 r( m/ c8 N( r; E
  277. ; The unserialize callback function will be called (with the undefined class'
    ! m( t3 T# }0 [, z7 [
  278. ; name as parameter), if the unserializer finds an undefined class# O4 [8 Y$ g; @
  279. ; which should be instantiated. A warning appears if the specified function is
    $ f6 F( s6 k; G) ?6 F: Y1 Z
  280. ; not defined, or if the function doesn't include/implement the missing class.6 N$ r& a: l2 U6 Z
  281. ; So only set this entry, if you really want to implement such a3 Q6 N5 n3 a( g' c3 F
  282. ; callback-function.% z1 V5 M8 m8 C
  283. unserialize_callback_func =3 |2 P- d2 Z" _' k4 r

  284. : s  d4 x$ g3 {- a& m" J- r
  285. ; When floats & doubles are serialized store serialize_precision significant, Z7 o- `0 r! H* A: C4 a) g, A5 ^
  286. ; digits after the floating point. The default value ensures that when floats
    ; ?7 v% ]6 ?( n4 P7 X
  287. ; are decoded with unserialize, the data will remain the same.1 e" z8 {# P9 w
  288. serialize_precision = 17
    4 W, z5 x5 [* q& i% b+ E

  289. 2 |0 E9 ?9 {- i& `/ \* E$ e" ]
  290. ; open_basedir, if set, limits all file operations to the defined directory# M# w( {- z" }9 k
  291. ; and below.  This directive makes most sense if used in a per-directory
    / l5 k: [; g! H) D8 s; p( z
  292. ; or per-virtualhost web server configuration file.: G- ^; ?$ S4 W( y
  293. ; http://php.net/open-basedir
    " @7 G  i5 ?1 [% v
  294. ;open_basedir =3 y$ C' \7 M$ m2 @: F$ a. y3 |2 w

  295. ! B2 a, Q9 R/ [4 v! S
  296. ; This directive allows you to disable certain functions for security reasons.
    3 x4 L1 v% c# \0 g. b
  297. ; It receives a comma-delimited list of function names., \" ^0 R/ U6 u' E, D3 b
  298. ; http://php.net/disable-functions; H* T3 p6 R$ v* z, k* Q
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    6 I. v8 Y, F. n$ q/ E

  300. ' l' i" m9 @& Q; [+ k6 m
  301. ; This directive allows you to disable certain classes for security reasons.# V8 k3 a$ t1 u8 o1 V
  302. ; It receives a comma-delimited list of class names.2 e! Q0 B! D6 a" I, E# G5 A4 V
  303. ; http://php.net/disable-classes
    " n* `* i* b7 Y' s
  304. disable_classes =
    ! U$ h4 t; \& L$ \) p

  305. 9 o  {, f/ O! e% Y) b
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in$ g9 d$ Y2 j. a! {* v
  307. ; <span style="color: ???????"> would work.
    3 A4 k/ |) v9 S8 n* m) c! J" e0 s2 m
  308. ; http://php.net/syntax-highlighting. g/ ^. s$ z) Z5 w
  309. ;highlight.string  = #DD00006 ?2 O' i) k; H
  310. ;highlight.comment = #FF9900
    8 V/ C7 @' {) e
  311. ;highlight.keyword = #0077005 Y2 ^1 K6 M' R; [' x% j) A
  312. ;highlight.default = #0000BB: f+ d1 f+ z4 U# H
  313. ;highlight.html    = #0000008 e* R5 o8 x* Z! `' P- ^

  314. - c8 K" R2 R2 _0 f( p2 V; L
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    5 |2 a  A, D( }+ C9 n
  316. ; the request. Consider enabling it if executing long requests, which may end up, M9 z2 g' D' B3 ~
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    & M. ?! u$ a3 `/ r4 l
  318. ; is to disable this feature.; N$ i6 _6 `* k! U/ w) |$ c, i
  319. ; http://php.net/ignore-user-abort
    ; F. a- c; B5 [/ X: B9 l
  320. ;ignore_user_abort = On
    * ]* N! P# ]" ]% _

  321. " x1 Z- \! B: i% Q1 N5 ^- R. h% b
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    $ ~1 g" d' P3 c; n/ [
  323. ; be increased on systems where PHP opens many files to reflect the quantity of1 R0 {" ]9 o, j& {2 I6 m
  324. ; the file operations performed.6 b3 ?9 E+ `2 h5 X- W% G) j
  325. ; http://php.net/realpath-cache-size' K2 A! c: d' l4 |7 @
  326. ;realpath_cache_size = 4096k; ?2 S* H$ k9 [/ D; A% |

  327. # f& a; H: r) B; p7 M! B9 k9 G
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    ' [/ R8 R- e0 f+ K$ X2 r+ Z
  329. ; file or directory. For systems with rarely changing files, consider increasing this5 m3 l  Z3 M) y; H' `
  330. ; value.4 N% N& g/ a( T. |/ |. d# Q6 q/ I
  331. ; http://php.net/realpath-cache-ttl- ^3 ]4 ^& w4 i1 w3 k' H/ g
  332. ;realpath_cache_ttl = 120; @: F: p; n9 j& w- V6 ?

  333. 3 P3 n% ^0 W4 J+ K& K
  334. ; Enables or disables the circular reference collector." C: `" F3 L6 o1 Z
  335. ; http://php.net/zend.enable-gc
    " _+ T' \$ B; t$ ~: H9 Z8 W
  336. zend.enable_gc = On
    - `0 _) C5 x4 P, c

  337. : S$ c6 w% O! j
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ' h6 O  m" V2 G& K8 |; D
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    - b+ X4 d% f# |5 P  N8 w
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    - I4 g" \- o, D+ \1 A4 C
  341. ; Default: Off! w+ B5 l4 \* H. P! ~( T2 q5 ?
  342. ;zend.multibyte = Off
    4 K" ]7 ]! s2 ^7 R+ J7 f9 V
  343. 0 {' T, _3 W: m) c
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    9 @( q1 `6 E. h' O; Y
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.& a( i2 @% m) G8 z+ r0 v7 Q! d
  346. ; Only affects if zend.multibyte is set., T- y' [/ }8 N4 t# ?) j% w
  347. ; Default: ""
    8 F' e" e) i, t1 ]! C
  348. ;zend.script_encoding =! z, R  \6 `$ o) I1 W" D
  349. 3 S& C/ X5 K+ o& X
  350. ;;;;;;;;;;;;;;;;;
    * V& \1 `  e6 m3 A# T7 r- [' ^4 J
  351. ; Miscellaneous ;0 h7 U/ F! y5 X. Q4 G# q8 ~
  352. ;;;;;;;;;;;;;;;;;
    ' {7 c( B- |% N* [! v1 T+ U
  353. + ~0 D, u0 q& U
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    * z- L7 r2 E5 }) ]8 l
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    7 D  l: d' i2 f2 y& Y3 G. c  q
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    / E7 \" E% E3 A% K0 f5 `
  357. ; on your server or not.8 H  B8 B0 u6 s7 `
  358. ; http://php.net/expose-php: P  `1 h6 q7 @
  359. expose_php = On* O  l$ Q/ @/ n) O! M$ b! r

  360. " t' ~" G1 q6 _3 H  O" B
  361. ;;;;;;;;;;;;;;;;;;;( \% Q! ]/ ?" G5 f7 V
  362. ; Resource Limits ;
    1 Z$ X1 s9 U$ b/ d7 y, b& \
  363. ;;;;;;;;;;;;;;;;;;;
    ( j5 g5 H8 [" K* D# n
  364. ( d3 @* t, c1 [) I  D
  365. ; Maximum execution time of each script, in seconds
    5 v' _$ r2 U5 `- x+ r
  366. ; http://php.net/max-execution-time, X$ m* e* c7 j$ m
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI# y/ e" I/ B6 H! c3 o
  368. max_execution_time = 300
    " z4 N0 p1 Z' S0 {6 m. N& A
  369.   b' Y! n7 x, }# \8 f! u7 _1 c+ S
  370. ; Maximum amount of time each script may spend parsing request data. It's a good) u+ p  l* |& v) B) u
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    # L2 \9 y8 h! i7 R* b
  372. ; long running scripts.
    ) s) w2 v& V# c, p( c+ K3 Y4 _
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI! O* }/ c/ c; u/ }3 Q
  374. ; Default Value: -1 (Unlimited)
    8 V% V8 M  g  \3 E
  375. ; Development Value: 60 (60 seconds)- g3 V3 K) \) m6 {5 ^
  376. ; Production Value: 60 (60 seconds)' B' S, a/ K+ i) E4 j9 s
  377. ; http://php.net/max-input-time$ Y8 ]. m9 l% ~; y' Q0 [
  378. max_input_time = 60- S2 s) Z+ t* {6 M3 U5 k
  379. , _# ^! w9 T- d" M  K* H
  380. ; Maximum input variable nesting level
    7 B& p. Z, g0 r: y3 h! X- f% x
  381. ; http://php.net/max-input-nesting-level
      P7 @5 s) a; Q- G
  382. ;max_input_nesting_level = 64; o8 C- Y% V; b3 S

  383. 0 N$ {; @( k! T6 o# q
  384. ; How many GET/POST/COOKIE input variables may be accepted
    + [  j: A9 o5 \  X1 h1 K/ F2 {
  385. ; max_input_vars = 1000
    1 X3 {6 A4 J  ]# V) J3 [
  386. ' \" S3 D, P9 k0 I* x/ i, Q4 K4 ?
  387. ; Maximum amount of memory a script may consume (128MB)! H+ m, r/ y3 s, R* |' z' m1 j
  388. ; http://php.net/memory-limit
    ' `% |% L% ^8 j5 @' K0 X2 E  r) B0 B
  389. memory_limit = 128M
    9 @( F/ ?$ i$ a2 K0 I, T$ s

  390. 6 @4 R. t7 G5 Y. B  J
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1 W& P8 P# V! s$ u& m
  392. ; Error handling and logging ;
    6 Z$ a0 G- B4 Y, C  l. N
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;: F* t0 x: s6 V
  394. 0 d: N. a4 _! d# _  f  e& u+ Y
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    5 X  X$ S& |( Q
  396. ; it to take action for. The recommended way of setting values for this
    / K% @# m0 Q3 y9 a1 \3 x6 M
  397. ; directive is through the use of the error level constants and bitwise
    0 r$ j- S$ I, m+ ^
  398. ; operators. The error level constants are below here for convenience as well as
    % j5 N; q  v7 a8 [' t6 n" o8 _5 p
  399. ; some common settings and their meanings.% K! J) @6 ]& o, Y: Z" ~
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    : C4 c: R8 B* a) u& }
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ' Q4 @! e4 |, d4 |6 }
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    . Z' G: I, D) e: ^
  403. ; recommend error reporting setting. Your production server shouldn't be wasting) z, ?& d& x5 a* l- J. T
  404. ; resources complaining about best practices and coding standards. That's what( O5 N, L( M- c
  405. ; development servers and development settings are for.$ a; q8 e3 Q, Z
  406. ; Note: The php.ini-development file has this setting as E_ALL. This& x4 n1 c8 G6 S8 c
  407. ; means it pretty much reports everything which is exactly what you want during9 W- J6 i7 s) q/ [" f
  408. ; development and early testing.
      i4 z1 W; X7 z- M( v
  409. ;
    % Y+ M4 f5 D: U! h, f/ D* s& V
  410. ; Error Level Constants:) I+ ?7 s* a5 y0 u
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ; {# _( I. i  C
  412. ; E_ERROR           - fatal run-time errors
    . [+ }: N1 @+ a2 u$ i" R. {5 L
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    " v7 U8 h. |& V' b5 M8 K
  414. ; E_WARNING         - run-time warnings (non-fatal errors)3 q% ~) K" b9 `( m3 m; M; s, S' a7 n
  415. ; E_PARSE           - compile-time parse errors
    / U9 o& P6 t! A3 s0 |& Z
  416. ; E_NOTICE          - run-time notices (these are warnings which often result' ^1 @3 Z2 g! B+ X  d9 [/ X3 S
  417. ;                     from a bug in your code, but it's possible that it was. j& B& S% ?' x8 b
  418. ;                     intentional (e.g., using an uninitialized variable and0 q% s) p$ W. G7 h* t
  419. ;                     relying on the fact it is automatically initialized to an4 G* I2 O$ V. ?+ e* j$ J8 B$ I
  420. ;                     empty string)8 L1 ?; H, C5 S+ t0 A0 x1 g* z+ E
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    # z( e8 m5 |5 Y  l
  422. ;                     to your code which will ensure the best interoperability$ d/ A$ G1 s) X. `/ Y* ^0 x
  423. ;                     and forward compatibility of your code
    ( l9 G$ p( \, C" t1 f  S8 u, E
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup9 Y! X7 e! h. Q8 g9 ^+ o
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    - L  F# i) Z: K; \& s
  426. ;                     initial startup9 e7 ?- x9 w: ^4 A( I
  427. ; E_COMPILE_ERROR   - fatal compile-time errors- c: _" u5 R: J( G! s
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    8 V. N. v9 o2 ]8 P3 ?3 `4 \; e
  429. ; E_USER_ERROR      - user-generated error message5 q% R3 \6 i+ ~! ?
  430. ; E_USER_WARNING    - user-generated warning message
    7 _, @$ [4 m5 {" t! Y9 \
  431. ; E_USER_NOTICE     - user-generated notice message% Y$ g; Q5 V. k  T0 f9 i
  432. ; E_DEPRECATED      - warn about code that will not work in future versions3 b$ i+ T. ~5 h  v( T6 X
  433. ;                     of PHP
    3 v+ C" V. x' k8 Y' f
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings& m  @% X* A8 L+ l; ^3 }- l
  435. ;
    9 x9 d5 K. p( w9 ^
  436. ; Common Values:# g$ ]. M7 z+ q6 q, u
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    9 g7 g+ Q3 r2 N& G) w/ _- b- n! S9 R7 U
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)7 r7 A6 F5 ?0 T8 M
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)( p4 s0 f( g7 d! J; }' B( M
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors), e. w* N: x7 r' B
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED$ f* L2 A! {! f4 _& ?7 _
  442. ; Development Value: E_ALL8 m- X  l5 e$ K" O
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT8 \5 S, i" Y& Y6 l
  444. ; http://php.net/error-reporting4 K. N2 Z2 C" f* @1 u7 y4 U/ v
  445. error_reporting = E_ALL & ~E_NOTICE2 \7 H& f/ z; v8 x! V! M3 m4 f, V
  446. ! _8 H3 K& a7 z/ {  X; z4 g
  447. ; This directive controls whether or not and where PHP will output errors,
    0 l# v9 x6 ~' t- W4 _# e
  448. ; notices and warnings too. Error output is very useful during development, but
    $ Q* o2 g0 ?5 A1 m6 x9 H
  449. ; it could be very dangerous in production environments. Depending on the code
    ' Z; w2 V3 T5 [$ s
  450. ; which is triggering the error, sensitive information could potentially leak
    3 \$ t: D( h- a0 V
  451. ; out of your application such as database usernames and passwords or worse.5 z6 D5 g/ d4 }( [) U# |
  452. ; For production environments, we recommend logging errors rather than
    / h( b/ B$ W: ~: q
  453. ; sending them to STDOUT.' O, O% W5 q- _/ D/ M7 G6 s
  454. ; Possible Values:4 G$ R/ H. G, Q  S
  455. ;   Off = Do not display any errors+ T+ I: g$ o2 l1 e0 ?( A0 F- N# t
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ' h, u( b8 C) c7 O4 y/ _
  457. ;   On or stdout = Display errors to STDOUT* h+ o. S0 C, p# f
  458. ; Default Value: On
    $ r4 H9 a& C' Z0 x6 j3 E/ r8 c
  459. ; Development Value: On
    % F* I" ]& d: S+ G
  460. ; Production Value: Off( X, I5 n: K) {) j) e. Q; K
  461. ; http://php.net/display-errors
    3 a6 c3 N8 X. S2 d0 B9 |
  462. display_errors = On
    $ [: Y* A% w; F$ {# ?0 \) y
  463. & Z2 p+ A. {4 C" @0 J2 c+ F" V
  464. ; The display of errors which occur during PHP's startup sequence are handled5 C9 Y3 x  Y# b& f; T7 R
  465. ; separately from display_errors. PHP's default behavior is to suppress those* ^0 @) \2 N! b2 y, J! W& z
  466. ; errors from clients. Turning the display of startup errors on can be useful in( m) I& L! W6 A
  467. ; debugging configuration problems. We strongly recommend you: T. C0 a! v. a9 p+ {( w
  468. ; set this to 'off' for production servers.; `5 s# I' h0 x- m8 `. k0 T' M1 V+ F
  469. ; Default Value: Off- C& T/ x6 y; M6 i5 _
  470. ; Development Value: On
    , L/ o5 @6 a' j' M
  471. ; Production Value: Off
    ' j4 J4 P0 `/ s  D. k
  472. ; http://php.net/display-startup-errors0 X5 ]9 ?$ i% b' }9 H$ l
  473. display_startup_errors = Off0 I% G( ^: n( ?6 V( ]9 @" w; i

  474. 5 a) U6 r( Z5 K& x' l! B6 X
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    # X- _5 C4 d. r5 y8 V7 [" `
  476. ; server-specific log, STDERR, or a location specified by the error_log
    ) Z( C. Y. I1 u/ b5 B9 T8 D
  477. ; directive found below. While errors should not be displayed on productions
    , a; T# H% K7 s
  478. ; servers they should still be monitored and logging is a great way to do that.! D% H1 \4 F* H: N3 [: V" @7 w, Q
  479. ; Default Value: Off
    ) H: }; k/ H. U& D8 n" Y3 N0 W; F9 {
  480. ; Development Value: On) b) d5 [) ~" W% ~- S
  481. ; Production Value: On
    , ?6 S8 E6 W, M0 a2 |
  482. ; http://php.net/log-errors3 A0 G1 W  K% B- ^+ K! q
  483. log_errors = On
    0 j( t$ D7 d6 K6 f/ o9 v5 e4 G$ c

  484. % K  c" {; y+ q0 r
  485. ; Set maximum length of log_errors. In error_log information about the source is
    8 r1 }+ i( A: Y
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    6 P9 j$ K6 I" ^8 j- w: u
  487. ; http://php.net/log-errors-max-len% [1 T1 d% a% s7 t+ p
  488. log_errors_max_len = 1024
    / H! o  ~. a8 U9 J5 Y3 f

  489. , g: {# r9 }: s! }/ m$ G. Q
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same2 X/ y/ O; }9 W$ Q& d
  491. ; line unless ignore_repeated_source is set true.3 Q+ z- C- ~. P2 L$ ?
  492. ; http://php.net/ignore-repeated-errors
    + @4 N0 J% O3 t$ E5 P; G" u3 X  ^
  493. ignore_repeated_errors = Off/ h3 I2 L0 j# T) m
  494. 8 P, I5 `# d  |+ y6 u, h
  495. ; Ignore source of message when ignoring repeated messages. When this setting% Z" f1 h* T' C8 ?" M9 _* y* ?3 Q
  496. ; is On you will not log errors with repeated messages from different files or
    : _; t, z8 X- e" \/ z! |& W
  497. ; source lines.
    9 v$ k* P4 v' p# p: Z, }
  498. ; http://php.net/ignore-repeated-source
    * \- ~8 O* y: C
  499. ignore_repeated_source = Off
    : j9 e  ]  l. o- h' V& y
  500. % Y6 }, X) x& p/ G. l
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    $ o; v' H/ E. ]' L/ r! j
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ) d- k2 j/ u2 i( y
  503. ; error reporting includes E_WARNING in the allowed list0 P6 t1 o, F; E6 f# y
  504. ; http://php.net/report-memleaks' O+ J) {$ l5 D6 V7 b+ `
  505. report_memleaks = On
    4 S  f2 c. D, b2 L( S  N" d
  506. 1 b7 U9 I1 L& O/ ?/ E+ U
  507. ; This setting is on by default.
    2 A3 g. m  ~  ]! T4 q
  508. ;report_zend_debug = 0. ?7 F  _1 X& T+ @8 [4 p
  509. 9 w' v* V  d) c" s3 D4 ~- o7 N! f
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value) r, Z3 S. |" ]4 A5 n- g
  511. ; to On can assist in debugging and is appropriate for development servers. It should8 U7 R( Q8 e8 N% g8 R" E
  512. ; however be disabled on production servers.
    9 W: n( s% }/ K' P
  513. ; Default Value: Off! I2 K! N  A  l+ g6 ?
  514. ; Development Value: On$ W4 q: ?6 n; s3 e& F
  515. ; Production Value: Off* V( z: ^- O; n) V
  516. ; http://php.net/track-errors
    # D7 Y7 h1 V8 {  Q+ G. M3 n
  517. track_errors = Off
    9 G. N) k/ Z% `3 e, p, V- Z

  518. , Z% G! s& ~; c$ F% ^# n3 l' X% j2 e
  519. ; Turn off normal error reporting and emit XML-RPC error XML9 G8 T2 f( j, C. Z8 m9 g
  520. ; http://php.net/xmlrpc-errors
    ( u6 L# J$ z& s1 [9 B
  521. ;xmlrpc_errors = 0+ [6 i% z6 F* {
  522. 6 q# Q% Z! ]9 z* c8 `) V
  523. ; An XML-RPC faultCode1 N% g+ g6 U* M! c+ Z
  524. ;xmlrpc_error_number = 0& P9 M0 ?- ~/ E, Z
  525.   V  @4 l& ]7 g, e8 f0 M
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    $ R8 M# a) u8 A+ J# M
  527. ; error message as HTML for easier reading. This directive controls whether" i' F/ u7 F/ |
  528. ; the error message is formatted as HTML or not.
    , \: d7 r1 ]7 k) }& l  o  q9 A+ \. s
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    0 i, [- |! H% L0 A
  530. ; Default Value: On5 g/ q4 W. Q5 m5 t! J1 [5 J1 B
  531. ; Development Value: On0 B6 s" X  ?7 m
  532. ; Production value: On
    - ?6 g2 y9 `0 G
  533. ; http://php.net/html-errors, [4 J1 H- u/ l% D
  534. html_errors = On
    , Z9 {) `+ b( E& k
  535. ) b7 r/ y1 A6 t. F
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    # D6 l! e# p, a; o$ C; }
  537. ; produces clickable error messages that direct to a page describing the error
      O9 Q- O% d# j$ ?$ h$ A# N
  538. ; or function causing the error in detail.2 {' W0 P; T( ~1 h5 U: Z' Y
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    4 D- ]2 _$ k2 n3 w' A& D
  540. ; and change docref_root to the base URL of your local copy including the
    ! u5 e9 ?* c) ^1 n
  541. ; leading '/'. You must also specify the file extension being used including: T. }9 w8 k( N* M2 ^- s
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which+ ~7 s. H/ V% e" Q/ d' o0 }
  543. ; case no links to documentation are generated.! h2 b$ T- A9 X6 S' b
  544. ; Note: Never use this feature for production boxes.
    + M3 w; @" a, P% q+ m
  545. ; http://php.net/docref-root) r6 w( v; j& q% O  a7 g. ?
  546. ; Examples9 Y" H, \3 q$ s4 X/ i; l2 F
  547. ;docref_root = "/phpmanual/"
    " k8 |# s! h0 t* v8 N: o" V2 Q( M

  548. 9 i; j$ i. ~! ]$ k2 B% d# m
  549. ; http://php.net/docref-ext
    1 d' L! K  z- g6 h  H
  550. ;docref_ext = .html) I# Y) p' P. E& Q3 l$ j: Y' q- g) U

  551. ; a' X5 d5 w! P
  552. ; String to output before an error message. PHP's default behavior is to leave
    & \7 e: s1 q1 Z
  553. ; this setting blank.% k; X' ?5 S5 l0 t5 d
  554. ; http://php.net/error-prepend-string1 a* Q: v- y! a$ R/ J
  555. ; Example:2 V4 y* V  l7 H& x4 [- u
  556. ;error_prepend_string = "<span style='color: #ff0000'>"9 l3 {( X; P: k5 h  L5 q2 o

  557. ) g" w3 `3 j: _, ^$ Q/ ]
  558. ; String to output after an error message. PHP's default behavior is to leave& e$ L7 Q- G* W) e( t& a- J" a; v1 w+ U
  559. ; this setting blank.
    1 G, }3 h1 k$ b: @+ v. M+ f
  560. ; http://php.net/error-append-string
    & _, Y8 V3 i! i" O6 ?8 S; i  t
  561. ; Example:; v) _3 n( S4 w: d1 N/ S2 i# B# v
  562. ;error_append_string = "</span>"/ t$ }) ~6 F* Y" o& k) a" b  b

  563. ( r# g) p) w" g+ A- ?7 z
  564. ; Log errors to specified file. PHP's default behavior is to leave this value, v& K6 d4 e4 C, x
  565. ; empty.
    9 {* _! ~5 ?2 N+ `$ M9 E
  566. ; http://php.net/error-log
    $ K( _& o/ K+ V  s. K2 i9 f2 n# ^
  567. ; Example:' n7 |- X$ ]& `& C3 @3 n
  568. ;error_log = php_errors.log9 I! s6 z3 c2 e9 J
  569. ; Log errors to syslog (Event Log on Windows).
    ' Y/ p7 g: f& B
  570. ;error_log = syslog: |) m, G: u; O1 R
  571. $ D7 I* V. q. s$ k
  572. ;windows.show_crt_warning
      t% n$ |& M. g% D& u  M" m: O
  573. ; Default value: 0
    & z2 R/ ^! B+ [1 @$ l/ y
  574. ; Development value: 01 I8 ]# l- x9 N# [/ \
  575. ; Production value: 0% r4 o# u# X9 L3 K# S" D$ S2 \2 U

  576. * k. e& ]7 P' y+ D
  577. ;;;;;;;;;;;;;;;;;2 f8 X7 {3 g- ^" c+ n8 v( N
  578. ; Data Handling ;5 `, A; P, c" \9 G
  579. ;;;;;;;;;;;;;;;;;
    ( F' D/ w4 n$ G7 t  F
  580. 3 U) @9 F- {' Q$ e; |
  581. ; The separator used in PHP generated URLs to separate arguments.
    - O) l8 g7 r* ^' p! z
  582. ; PHP's default setting is "&".
    1 l- f  P! s% _* U
  583. ; http://php.net/arg-separator.output
    % j1 ~. J$ Y* ]' T* W
  584. ; Example:7 M3 u3 j. y. ]# [( }" J
  585. ;arg_separator.output = "&"
    . |. b6 w; a; X

  586. 4 l& F# ?6 Q' a. D
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    5 ~7 N* i$ E- |' _4 c' e
  588. ; PHP's default setting is "&".6 L. B8 y, G. U5 U6 I# m
  589. ; NOTE: Every character in this directive is considered as separator!
    : `0 T" C9 |8 l0 K4 O
  590. ; http://php.net/arg-separator.input# ?+ N0 m; s5 [  k
  591. ; Example:
      w6 O: j' B0 p% ?
  592. ;arg_separator.input = ";&"
    ; f! I" s+ {4 l! I6 S; A
  593. 8 ]0 B' b% U% X: Z/ q7 `, X2 b
  594. ; This directive determines which super global arrays are registered when PHP
    . l  q, J% Y+ T6 Y2 I% u( P7 X5 C
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    4 Z3 ^- L9 R3 W* |/ O( M! X
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty0 S8 ], l8 c0 z1 p9 c  W
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    , E2 l  r7 |# U: }7 {8 ^
  598. ; used as the others, ENV is not recommended on productions servers. You
    & q9 t4 q* p; G& r6 @1 v
  599. ; can still get access to the environment variables through getenv() should you
    + ]- U1 c" E; z$ C8 F
  600. ; need to.
    8 D: {: ~5 ]- F8 \) v
  601. ; Default Value: "EGPCS"9 g: P0 f' r/ s+ |5 F& P  g
  602. ; Development Value: "GPCS"
    + a9 `4 |/ ~5 X" Y
  603. ; Production Value: "GPCS";
    & y+ F/ b3 Y3 ^1 o& d, @
  604. ; http://php.net/variables-order* o, O# b0 `" p9 f- l8 i# x
  605. variables_order = "GPCS"
    7 _0 P& p: b$ e, G
  606. : }  D; t4 S% E. Q8 j1 t3 u
  607. ; This directive determines which super global data (G,P & C) should be
      n: i* p8 M. j+ D1 E" {3 {' v
  608. ; registered into the super global array REQUEST. If so, it also determines; _6 r$ Y0 g% O3 m5 A& Z# V
  609. ; the order in which that data is registered. The values for this directive$ p/ m/ i1 z* Q% J, z( o7 u
  610. ; are specified in the same manner as the variables_order directive,
    ; ]2 _, S9 R4 x5 R$ Y/ W) g
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    & F  q: |: F. t; T( {) F7 c6 j
  612. ; in the variables_order directive. It does not mean it will leave the super
    # U2 W2 _% `* ^& ~! e
  613. ; globals array REQUEST empty.
    1 u4 a) Y( q$ A7 b8 B
  614. ; Default Value: None
    ! o, r& n. Q1 u. K$ z" K
  615. ; Development Value: "GP"( ?1 {& r$ ^  C" d. s
  616. ; Production Value: "GP"
    8 n2 c4 Y& q8 V( U
  617. ; http://php.net/request-order% I0 ]" _  M& ?$ y: F3 m5 t. @1 M* @
  618. request_order = "GP"
    ( y! b& b* z+ L" @" S* z
  619. " o" k- I# k/ \- q
  620. ; This directive determines whether PHP registers $argv & $argc each time it: ^# E! S& f+ P, N0 f
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script* \$ w2 m8 H6 R/ I: y6 N
  622. ; is invoked. $argc contains an integer representing the number of arguments- u4 {; K% h; x% K
  623. ; that were passed when the script was invoked. These arrays are extremely1 V, c3 Q; z# t6 e4 _  S1 T
  624. ; useful when running scripts from the command line. When this directive is' x. `1 {0 A- ?" M/ Q8 I
  625. ; enabled, registering these variables consumes CPU cycles and memory each time3 d5 ^' _0 s% [/ t7 J( z
  626. ; a script is executed. For performance reasons, this feature should be disabled+ U# i5 A, \9 M0 P3 m; _
  627. ; on production servers.
    # @% }' D" H; l' l
  628. ; Note: This directive is hardcoded to On for the CLI SAPI  d! y: n# a% U% _4 t
  629. ; Default Value: On
    ! e9 [! V; Y& k0 w9 J7 N! f5 l
  630. ; Development Value: Off# X. f: O, ^+ b2 p' T
  631. ; Production Value: Off
    1 P; J! G0 I# g1 R* u. h
  632. ; http://php.net/register-argc-argv" R1 J( g! a5 b1 ?  ~! [, J
  633. register_argc_argv = Off3 H0 V% g- X1 U* @# ?( M

  634. ( D7 I; s! k" x- i/ R8 R0 x
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're( R9 P# \& F  R7 H& n" s6 Y- C
  636. ; first used (Just In Time) instead of when the script starts. If these: S. z- G( q$ b/ `
  637. ; variables are not used within a script, having this directive on will result
    . r- u6 e5 ?1 o+ H& [% p
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled5 d3 ~9 `$ [9 m% _$ G: h1 G8 N
  639. ; for this directive to have any affect.
    - a; y" a! q* w- }1 B
  640. ; http://php.net/auto-globals-jit* S9 y2 k- t4 ^( q* c/ \. ?- b
  641. auto_globals_jit = On
    * i8 w5 y3 X. @7 x

  642. 1 N0 i0 R- z1 P) c) X+ \2 o
  643. ; Whether PHP will read the POST data.
    : _7 d9 H7 p! c& \1 v% m
  644. ; This option is enabled by default.
    + u* k  l" R& q" W4 q
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST: x# ?6 X2 N, q& n/ r
  646. ; and $_FILES to always be empty; the only way you will be able to read the. X8 m! S  a1 G8 @
  647. ; POST data will be through the php://input stream wrapper. This can be useful% i6 P! w) N- ^) m9 Y; E1 z; }
  648. ; to proxy requests or to process the POST data in a memory efficient fashion., m- T' H& S8 @, Z9 V! r
  649. ; http://php.net/enable-post-data-reading
    8 v0 }. w' j% A. c/ C8 e7 H& U
  650. ;enable_post_data_reading = Off" \  p0 j, P/ U7 `7 S

  651. 6 f! h7 O/ p  V9 ?
  652. ; Maximum size of POST data that PHP will accept.
    , {7 g5 u$ a' q+ K1 b8 z" j3 H
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading% F4 L# q: m# p
  654. ; is disabled through enable_post_data_reading.+ U+ h% K% \, k9 s( ^+ T+ w. r
  655. ; http://php.net/post-max-size2 F" q0 c( J( w& x! r6 s
  656. post_max_size = 50M, F6 ]4 ?$ @0 b4 B

  657. " o4 E* g8 P) S" T! `
  658. ; Automatically add files before PHP document.
    6 Q/ U+ f: r8 ?9 I. v# O9 V" \
  659. ; http://php.net/auto-prepend-file
    6 R0 H: L, r. Z
  660. auto_prepend_file =
    5 k/ O2 Q. r/ m7 F! }  ?; Y
  661. . x. W3 d" z; U* b+ n0 d
  662. ; Automatically add files after PHP document.
    4 J3 l* _6 x# j6 b2 T( |  Y
  663. ; http://php.net/auto-append-file
    0 h% r7 h% A5 l! Z$ N
  664. auto_append_file =
    3 z  V# o4 ~/ ~- A$ J7 G

  665. . `/ q+ ^  f" Z2 |* F) [8 }
  666. ; By default, PHP will output a media type using the Content-Type header. To
    7 W; x3 A( N+ r; t# ]
  667. ; disable this, simply set it to be empty.
    4 \+ M3 C4 \* `9 W
  668. ;  C2 U8 n, ^# o  ~
  669. ; PHP's built-in default media type is set to text/html.
    : P% M; Y) U' y1 j$ v8 V
  670. ; http://php.net/default-mimetype
    # w0 H' f  n" n$ i- D
  671. default_mimetype = "text/html": G# G2 v# ?- `/ R' K* [) Y& _9 a

  672. ! a: r" Q6 e& s. t; ]3 D7 w/ I
  673. ; PHP's default character set is set to UTF-8.
    4 O! b6 p  J  E6 m* f
  674. ; http://php.net/default-charset
    9 s9 F* w4 m9 [6 y4 p+ N
  675. default_charset = "UTF-8"
    / n( {4 q% c+ l; y! X

  676. 9 F+ k+ ^4 Z# G) N% L5 T
  677. ; PHP internal character encoding is set to empty.
    $ Y" r) v1 h8 N; {6 N3 |3 x
  678. ; If empty, default_charset is used.
    # l4 M% V" Q; O
  679. ; http://php.net/internal-encoding6 ^" f% {  V- Z. q8 i
  680. ;internal_encoding =
    * S5 W1 L/ ]/ P: v3 C# p
  681. 7 F& z% c& |. {6 ]2 R& x  i
  682. ; PHP input character encoding is set to empty.
      z9 I# ]: s! ]3 H, B
  683. ; If empty, default_charset is used.
    " m$ N& B& \; w. l/ z; W* b( g# Y
  684. ; http://php.net/input-encoding4 J: _) I/ @$ I; V# K% I6 F& V8 j- \; f
  685. ;input_encoding =" {' \4 R  ?6 @% [4 ~% R
  686. * ^* v; x6 u% i' b- ^9 \+ L
  687. ; PHP output character encoding is set to empty.
    + g( S1 B' Z) V# \/ c$ |! q
  688. ; If empty, default_charset is used.1 o) f/ q- R/ n0 l5 I
  689. ; See also output_buffer.# g4 `* d; z+ E
  690. ; http://php.net/output-encoding: f3 y# h) r  t* z. q/ b
  691. ;output_encoding =5 X2 X4 q6 h' y) j  j0 `! d* u
  692. : n- t6 E' d" X6 u( u) M; K
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    4 J; W5 C+ t# e+ V
  694. ; Paths and Directories ;
    ; i3 R% {8 I% A; e
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;1 y' B, T9 q) z: h( ]% R* D- ^2 I
  696. : u  \& V& d* I- u, s% q& p
  697. ; UNIX: "/path1:/path2"2 C9 F; g" \# V/ T) R
  698. ;include_path = ".:/php/includes", K2 p+ D( M$ P2 m
  699. ;/ @1 j' d. |6 n
  700. ; Windows: "\path1;\path2"
    : l5 Z, l0 }; r# a, M! u
  701. ;include_path = ".;c:\php\includes"6 r2 D! _0 C% m
  702. ;
    / d! K% _0 U$ m/ m
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"1 ^3 N. V2 g# N1 n
  704. ; http://php.net/include-path4 p( e4 r+ n3 i4 |* ?; q& L
  705. - M; B& L4 b& @+ C* p$ O- p
  706. ; The root of the PHP pages, used only if nonempty.6 Y& _+ t3 s) X: ^6 t6 ]2 K; U. x. W
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    $ J0 t( @; B' z$ Y
  708. ; if you are running php as a CGI under any web server (other than IIS)
    # A. Y$ m4 P$ I; f' ^
  709. ; see documentation for security issues.  The alternate is to use the
    ' D' [. D: ~9 z' g' c
  710. ; cgi.force_redirect configuration below& h) F9 w3 x' T' m3 s
  711. ; http://php.net/doc-root
    : m0 S7 I: E; n. {, D
  712. doc_root =1 B: l0 j1 B2 X( L! [% a
  713. + D# z( G2 ?$ k9 p
  714. ; The directory under which PHP opens the script using /~username used only2 l) A6 \6 f4 R) f
  715. ; if nonempty.8 K, K/ }- x9 f  ?
  716. ; http://php.net/user-dir
    & M8 f! ?8 a6 o, G# f
  717. user_dir =
    # M* z! \  u8 i" b9 u9 {
  718. ; d5 F. a" q6 ]0 g0 V
  719. ; Directory in which the loadable extensions (modules) reside.+ G0 k, C+ f' E3 m4 B
  720. ; http://php.net/extension-dir# F& @  u3 c3 H. x% F; }
  721. ; extension_dir = "./"
    / T2 w/ l' C/ T5 G1 H3 d- H% o! S
  722. ; On windows:
    4 J3 a- o. T, S3 F) _: S5 f
  723. ; extension_dir = "ext"8 ?# N6 G0 Y6 g2 S4 C, ~1 M
  724.   t  R4 J% Y* `; r( D' S/ e$ B
  725. ; Directory where the temporary files should be placed.% ~+ w9 ^* x2 \' ?( @( W
  726. ; Defaults to the system default (see sys_get_temp_dir)* W: @; ~$ f; H) X/ p* [& q
  727. ; sys_temp_dir = "/tmp"8 _" J( k9 }3 T. K7 z& ]
  728. / ^  u# n* r/ p
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work: {3 g! k$ |8 Q) c
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    1 \* y  c* q, g0 R8 S2 @9 [
  731. ; disabled on them.: U) H2 B  a) b
  732. ; http://php.net/enable-dl- ~9 `8 H) O6 y* K0 S# n' U% f" ^
  733. enable_dl = Off0 k" C  H! ?' }4 X8 S
  734. , x) A+ T' e8 L) [5 c
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    7 v, q. N2 ?) f; j4 V: M+ Z: s$ v" L% f
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can7 H; W) u5 ?8 M0 f, s
  737. ; turn it off here AT YOUR OWN RISK
    8 k$ C0 b+ ^' f# K
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    6 N2 b' q, p  |
  739. ; http://php.net/cgi.force-redirect! x% ]6 ^8 g1 U- N. G( ~+ E
  740. ;cgi.force_redirect = 1& P1 S2 W; s2 J) J. L% b. H  x$ g4 m9 E

  741. ( |0 ?2 I3 ]7 g! j) G( o6 A' [+ W
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with, [$ `* N  O; Q
  743. ; every request. PHP's default behavior is to disable this feature.; ~" r! D# f8 d$ e3 K
  744. ;cgi.nph = 1
    * E0 p9 n1 [% g& Y: K) X( D
  745. ! ~' ?7 E9 _3 E. N7 {( C8 H
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    : g8 T, A; |7 |/ `
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    % I1 Q) ~8 O2 a
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
      x/ y% ?0 U) F
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
      M4 d) t! `' b7 v' E
  750. ; http://php.net/cgi.redirect-status-env
    4 @% Z, o1 j5 f6 I5 ~9 I/ a
  751. ;cgi.redirect_status_env =6 B/ O* t/ a  w$ R" j* ~
  752. * `9 u9 J7 _" }% s$ E
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's3 q6 a( D1 f# n. p$ @) T$ Z5 U; o0 z0 s
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    . L: e; p# z# I) b* O+ n0 i
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
      s1 t+ A0 G' A9 F# V6 J
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting4 @! m$ b! `# E
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    : m. o; D5 Y* A( _1 `6 m/ ?+ t
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.; K7 d  M3 P& h3 e5 C; ?, A
  759. ; http://php.net/cgi.fix-pathinfo
    * B4 l4 m% c# o) C
  760. cgi.fix_pathinfo=1" J1 u9 p. U% W  W) L, S2 l
  761. 6 t* i* v  e# D& a9 R3 h2 B* \$ g# j
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
      V* v# [2 b) D) o
  763. ; of the web tree and people will not be able to circumvent .htaccess security.+ K% Z4 Y2 h: K* s" Y$ w
  764. ; http://php.net/cgi.dicard-path8 `# b& _3 L. ]
  765. ;cgi.discard_path=1
    6 o- Q5 o& `: ]
  766. 1 A- M$ {9 F$ c( a8 [: u7 l
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate5 d+ [/ c. X: ^* M5 l3 {. |7 i
  768. ; security tokens of the calling client.  This allows IIS to define the# E- L# ?( u9 s  P& h2 ?1 N
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    . A' L1 ]5 m+ z; r
  770. ; does not currently support this feature (03/17/2002)
    7 m; T$ s+ U/ U" c% v6 ?/ `
  771. ; Set to 1 if running under IIS.  Default is zero.  y9 Q( Y; K1 Q1 H2 u
  772. ; http://php.net/fastcgi.impersonate
    % N/ u! {- ]/ c* t
  773. ;fastcgi.impersonate = 15 B8 S+ M9 {" A% ?# k* f

  774. ! a8 _. F$ }# T* s* Q$ S' r
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable' c& K2 A$ a# j' z; x) e6 L
  776. ; this feature.
    . l; u" [: G0 O% r" d/ @
  777. ;fastcgi.logging = 0
    3 l; g+ v' b$ V- S; d
  778. ) ~$ y- U0 z( {( w* Y" e1 d
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    4 s: c7 t2 n4 g' d) Q
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    , `9 Y  G! y/ @  M7 E3 h
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    # [% u. A- m8 _* n& K
  782. ; RFC2616 compliant header.
    8 O" l; f9 C; R* {2 P
  783. ; Default is zero.: n( ^+ [) `7 N- p: P4 `
  784. ; http://php.net/cgi.rfc2616-headers
    ! D5 a, I5 a6 @( ?
  785. ;cgi.rfc2616_headers = 0
    ( }. `& y' R$ J0 l. T
  786.   b9 Q' E5 r$ ]- V  H
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!; H4 @# A! `" d3 k/ D( x
  788. ; (shebang) at the top of the running script. This line might be needed if the9 e3 ^/ x. v* ~; y
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI) Z* ~+ X+ S. R+ p$ s5 S
  790. ; mode skips this line and ignores its content if this directive is turned on.
    ' L" D' S, f% Y1 L( s6 P' h5 E2 j
  791. ; http://php.net/cgi.check-shebang-line
    : Y$ ?& L# ?% [+ V1 f* g3 r
  792. ;cgi.check_shebang_line=1  f# l) Y( D7 b$ |: D

  793. 4 z7 P2 c5 D. S5 G; O
  794. ;;;;;;;;;;;;;;;;
    . l1 }1 s1 u4 V
  795. ; File Uploads ;  S+ v% x7 C* ^$ t8 @! M( M
  796. ;;;;;;;;;;;;;;;;) s/ \6 b& b9 d! V
  797.   d9 d0 J) Y' y# A
  798. ; Whether to allow HTTP file uploads.+ f% Z1 C4 A5 d% @
  799. ; http://php.net/file-uploads6 y+ y4 l$ K- [
  800. file_uploads = On! p. W1 ^, h( e" q0 R
  801. 5 k8 y( }' }: X# I" y
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    & G( H' V. N' p- [0 m: p8 b
  803. ; specified).4 @. Q% y+ z: o' n) c
  804. ; http://php.net/upload-tmp-dir" N8 s' g. Z' x0 m( E: Z& \! v
  805. ;upload_tmp_dir =
    $ L9 @% q. G8 t$ Y

  806. - Y( `2 i7 ]0 o4 ^2 y
  807. ; Maximum allowed size for uploaded files.
    ) L" t1 H) |4 d9 ?
  808. ; http://php.net/upload-max-filesize  Q" }% C& P* \& V& M
  809. upload_max_filesize = 50M( z2 x/ Z' S* Q
  810. / O6 _( z8 X% `9 p* y$ U( }
  811. ; Maximum number of files that can be uploaded via a single request5 t, |) |9 s# f, ^! v
  812. max_file_uploads = 20/ f) e* a& M7 g' |$ G2 t

  813. 5 D; S/ a4 ~) Z* [
  814. ;;;;;;;;;;;;;;;;;;
    4 n) R6 \+ ]" _! w" U( i. Z* [7 J! _
  815. ; Fopen wrappers ;
    9 f. C3 O% v; e* o3 L, z' l+ E
  816. ;;;;;;;;;;;;;;;;;;
    % [9 z% P8 A; |; {8 h5 N# S

  817. 6 o, j8 s* R0 Y% I( h& z
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files., p& t3 i) o3 q; |1 n
  819. ; http://php.net/allow-url-fopen
    ) M, u. p9 w4 |% Y" {$ w
  820. allow_url_fopen = On
    5 O/ |% E+ Q1 R* ]
  821. * M  g! }; D& L
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    0 l0 D3 f% h! n) B  W
  823. ; http://php.net/allow-url-include) t1 f- B# J9 W8 A2 V  ?5 N
  824. allow_url_include = Off
    * e. C7 A: {3 l
  825. . ], X& }# ^9 u7 l  [
  826. ; Define the anonymous ftp password (your email address). PHP's default setting$ @$ _- ?3 J3 x0 A
  827. ; for this is empty.
    2 `& C( d: I( R5 E/ B4 l7 L( v/ l% t
  828. ; http://php.net/from5 v- R; Q5 g  P- Z
  829. ;from="john@doe.com"
    3 [; ]: N' b2 e- }: h( O& X% k& e
  830. 7 G1 R" \1 v; [0 M! A
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    ! C. S% O6 U9 F7 s1 z
  832. ; http://php.net/user-agent
    5 {+ ~+ W7 \. K  i/ ?# z
  833. ;user_agent="PHP", K5 u/ @& {2 F
  834. ' l" L4 Q* t/ |2 x% b5 l" F. R3 b
  835. ; Default timeout for socket based streams (seconds)
    2 [% ~% @; i3 \" \1 D4 M
  836. ; http://php.net/default-socket-timeout% |' f  E9 |! ?9 {
  837. default_socket_timeout = 60
    . I7 H3 x! J. g  s8 m3 Y( z$ n; W
  838. 0 L( R# H; _* V! r) |
  839. ; If your scripts have to deal with files from Macintosh systems,
    3 a3 ]' }8 F8 {) |+ j7 F' o8 F
  840. ; or you are running on a Mac and need to deal with files from8 h) [( `2 o( Z, n7 p
  841. ; unix or win32 systems, setting this flag will cause PHP to# j* ?. S, ~. N% ^, K
  842. ; automatically detect the EOL character in those files so that
    2 p5 G4 e& w# \! j5 W$ M
  843. ; fgets() and file() will work regardless of the source of the file.5 e. E+ G: h  ^' F3 g% _+ Y& i
  844. ; http://php.net/auto-detect-line-endings
    ' L( z. G7 G7 c, x2 B* u0 H6 `+ T
  845. ;auto_detect_line_endings = Off
    0 P  t$ N7 B6 w! P

  846. 2 U  h" [4 O; B% v- M
  847. ;;;;;;;;;;;;;;;;;;;;;;
    # N- E" m' l+ W2 `+ Y: L
  848. ; Dynamic Extensions ;! j" s1 A2 j0 T. H3 n/ p* m3 q2 ]5 G
  849. ;;;;;;;;;;;;;;;;;;;;;;
    7 r8 v  h# F2 d: y  A) X# K; a
  850. 0 u. x( ]8 ?( Q; T: `8 e( H
  851. ; If you wish to have an extension loaded automatically, use the following
    9 [( A. ?7 y+ c
  852. ; syntax:
    & x' V) ]5 C, r8 p6 V8 ?- M  G  w
  853. ;( V( Q/ u6 w! ]- x( M# G4 q
  854. ;   extension=modulename.extension
    ) p0 d  }7 e; j% h$ V, Q) w7 T
  855. ;
    5 P! N  Q- @: n5 k3 }: |/ p9 M
  856. ; For example, on Windows:! R8 @( ]. _7 e6 [
  857. ;
    * S  ?7 {  I. V. e; o0 ^
  858. ;   extension=msql.dll* D) |9 @3 I0 E$ y
  859. ;
      {8 y' {) w8 B/ F# u
  860. ; ... or under UNIX:
    # k; M6 o8 I+ l: W: a
  861. ;" q9 F2 r( f% A* |$ v  E
  862. ;   extension=msql.so% Y# d9 ^& C, m1 y9 p
  863. ;
    4 l& h& x- T% D
  864. ; ... or with a path:4 J1 w5 Y/ r7 H+ t- ^& k5 W: @: i
  865. ;4 {7 `9 k* z! J
  866. ;   extension=/path/to/extension/msql.so4 S! H: U0 g+ B: ]4 m/ }) ]7 m
  867. ;
    7 F& g! K* ]! t) C
  868. ; If you only provide the name of the extension, PHP will look for it in its; B3 l/ s" y! K% _& q" G
  869. ; default extension directory.) E. h/ q: z0 Z3 y' \0 C
  870. ;$ Y* q: s! ~- L+ j4 H+ u
  871. ; Windows Extensions
    6 h! g$ h. k) A: p# `1 k
  872. ; Note that ODBC support is built in, so no dll is needed for it.7 {/ E7 k6 g  _% |: V
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)5 T' R" _' v. Y0 r3 c" o
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    " q6 {* {  w3 J$ w* O  W
  875. ; Be sure to appropriately set the extension_dir directive.
    : ^' ^. s8 O- W% j& y' N
  876. ;
    3 i) R4 U& g' ]) }* X5 W+ w
  877. ;extension=php_bz2.dll
    # c3 e; M- ^/ J, Y( J$ b- O
  878. ;extension=php_curl.dll
    5 k& ?' |3 J3 v# A/ s# J+ z
  879. ;extension=php_fileinfo.dll
    $ b0 d8 O, A  l
  880. ;extension=php_ftp.dll3 Z8 |& O+ t0 P; V6 X7 W: A. O8 G
  881. ;extension=php_gd2.dll
    1 R) D, Y8 Q8 N5 r" b: ]4 X
  882. ;extension=php_gettext.dll
    1 m, K: Q$ k4 m1 }
  883. ;extension=php_gmp.dll9 D- g+ b4 C7 }0 `5 ^# h. I8 k
  884. ;extension=php_intl.dll: s$ Z; k7 ~5 R% n" }# |1 \
  885. ;extension=php_imap.dll, b8 u; }6 y: ~& {
  886. ;extension=php_interbase.dll. V' ^" X7 \' _' U' J$ X5 u
  887. ;extension=php_ldap.dll; ]6 Y9 F- ^0 X- U( a
  888. ;extension=php_mbstring.dll
    * E7 V: X2 Z! r5 T1 I9 ]8 ^8 L
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    - c5 E3 {& ~* d! s+ V9 W. r! |6 |: Q
  890. ;extension=php_mysqli.dll
    & b+ O" L5 r! A4 o) }
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ) s1 {# `' T! B  p5 C
  892. ;extension=php_openssl.dll
    5 k. g) m; c; ]- t; T$ p. p
  893. ;extension=php_pdo_firebird.dll6 N7 I7 K1 j& K  g
  894. ;extension=php_pdo_mysql.dll
    * z4 m( I! c- z1 L- A
  895. ;extension=php_pdo_oci.dll) S! v' N4 O( T% c3 h
  896. ;extension=php_pdo_odbc.dll/ C4 }# d5 ?0 h! ]) K% w. X% a
  897. ;extension=php_pdo_pgsql.dll8 I1 r  k) t# I% O
  898. ;extension=php_pdo_sqlite.dll
    ( [7 \/ i3 \6 m, Z
  899. ;extension=php_pgsql.dll
    2 i+ ^: t2 L7 R& @
  900. ;extension=php_shmop.dll, U9 {  w5 y7 P+ k. Z9 F/ N

  901. , r6 Q2 W& a4 Z5 O0 l6 F. n, N' F; S
  902. ; The MIBS data available in the PHP distribution must be installed.
    ' K# R9 B# M( K; v) Q7 ?
  903. ; See http://www.php.net/manual/en/snmp.installation.php7 P' K$ J% d# k; F! a0 d1 R8 w
  904. ;extension=php_snmp.dll
    ) m/ Y' C( t, g# ]8 y

  905. " A, ~; N, U) g5 s! a0 i
  906. ;extension=php_soap.dll* ]4 v) _; t: s
  907. ;extension=php_sockets.dll
    & M4 J5 ]$ g4 e0 e
  908. ;extension=php_sqlite3.dll/ [8 ?- v6 `) ]! Q/ A+ O$ J
  909. ;extension=php_tidy.dll
    ; O' y7 w2 H+ Q* x
  910. ;extension=php_xmlrpc.dll
    7 O6 H0 i) s& a
  911. ;extension=php_xsl.dll& v, J  V% o: r6 V7 b+ K+ x. M5 P

  912. 2 b: I7 }/ B* c
  913. ;;;;;;;;;;;;;;;;;;;
    . M. Y1 k0 [, k' _# o& V- D  [
  914. ; Module Settings ;
    ! t0 C# x7 u# i0 U- i
  915. ;;;;;;;;;;;;;;;;;;;! x5 a+ W5 }) H

  916. & \! G. b9 N+ q8 L: l
  917. [CLI Server]3 U2 W4 o$ Z1 l
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.2 {7 [7 N5 P6 Q3 E) f1 W5 ]/ i
  919. cli_server.color = On
    $ E7 x; q3 ^" a' E* A7 a5 p

  920. $ ]5 a# N$ {/ v" ]
  921. [Date]
    ! R% i6 y# Z1 _- q: a  t
  922. ; Defines the default timezone used by the date functions( ~: z4 f: A/ J$ p" L7 p" c
  923. ; http://php.net/date.timezone
    0 ^/ R1 B' g/ E
  924. date.timezone = PRC7 T4 Q- r1 F' k. l/ _( q3 N

  925. 3 C- K9 g0 t9 G+ S/ G
  926. ; http://php.net/date.default-latitude! n4 E6 [% i$ g3 `$ y+ E
  927. ;date.default_latitude = 31.7667% i/ |& P9 }0 x

  928. + I( _3 c6 A$ ~3 E3 }; s
  929. ; http://php.net/date.default-longitude* C- s) G$ Z- F% i9 l$ c1 A
  930. ;date.default_longitude = 35.2333
    ) {+ f8 f! v: B' B% g6 N& o

  931.   ^& v# t% f7 c1 Q6 f& t
  932. ; http://php.net/date.sunrise-zenith
    - ~) l/ X8 {' r0 S6 |7 p; {0 x$ }& b
  933. ;date.sunrise_zenith = 90.583333! U7 |! `9 }  J1 \/ J& {* ^5 S

  934. 9 b  l1 p" P! G- W
  935. ; http://php.net/date.sunset-zenith8 ^+ m* T! A7 S5 r9 U' G
  936. ;date.sunset_zenith = 90.583333
    % i/ k8 q' B1 p6 n

  937. ; P  }4 z. }1 Z8 p; P
  938. [filter]' U* v# M; x% c+ S9 U
  939. ; http://php.net/filter.default
    9 P$ X6 [) D5 E( s5 T
  940. ;filter.default = unsafe_raw2 Y; G; I# U; X# b8 i; |
  941. ) g6 h9 Y9 x6 L. l
  942. ; http://php.net/filter.default-flags
    7 J! S4 w8 J4 S% ~# L7 r
  943. ;filter.default_flags =: c4 D* B% T  o, y  t

  944. 4 n$ f: W# _1 _( w  c1 m2 v3 C
  945. [iconv]6 ?& m8 T* H. h0 l/ `
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    " K& p) v. E+ C  Z" q- P8 _
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    1 f# a- d- a- T" _# I" ]/ a
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding$ F8 p$ U, ~% e' q2 `9 {9 M
  949. ;iconv.input_encoding =
    8 \9 O( a! ^; Z) I* c& e( ^0 X2 P

  950. 1 ?9 ^1 K! @- G4 Q
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.  S- B$ `  E3 y& J; l
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.# w. [1 |. q5 \) B1 U  l7 v
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    + @' |+ y: T3 A
  954. ;iconv.internal_encoding =
    % s7 N0 N( I3 S7 k6 j( n

  955. ) p2 E: P3 Y9 H) l; w
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.% j5 `$ c8 I% s( Y9 d; i6 n+ Z
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    " _6 j: X* F+ K1 Q& K, F
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding& w8 s4 |  ]% N* E( [1 \" P
  959. ; To use an output encoding conversion, iconv's output handler must be set! c( S) w8 Q& I1 k! |
  960. ; otherwise output encoding conversion cannot be performed.
    $ R( ~7 k& ?4 w! s3 ^2 b
  961. ;iconv.output_encoding =
    : k" \$ r4 Q8 T6 f& i' w: N

  962. 7 q* q3 F1 O( B8 R6 p
  963. [intl]
    2 e/ X' \& @& i& l# f; L
  964. ;intl.default_locale =! E# @* Z* c) |- J; ^
  965. ; This directive allows you to produce PHP errors when some error+ a  S# A3 T8 B4 O
  966. ; happens within intl functions. The value is the level of the error produced.
      G9 v+ i; C8 k& F/ U9 K( E$ h
  967. ; Default is 0, which does not produce any errors.) k" {& m/ A! @, N8 o1 v4 t( T7 {3 U
  968. ;intl.error_level = E_WARNING* C: t2 p4 h4 Z2 M% U
  969. ;intl.use_exceptions = 03 G7 N' x4 e  m9 G  x

  970. % A4 Q6 ^7 r. k9 O! L
  971. [sqlite3]7 `1 Z5 I" z$ i* V1 ~0 {+ Z
  972. ;sqlite3.extension_dir =7 y0 \& Y) r/ P/ @* b+ q, u3 j  b( G# d

  973. " ~( O$ A7 |% D* r, T
  974. [Pcre]+ z  Y; b( j0 ]4 Z
  975. ;PCRE library backtracking limit.# L- ^% p6 ~6 y3 j2 n; P
  976. ; http://php.net/pcre.backtrack-limit
    3 e2 v" L; O/ w* A+ {2 V
  977. ;pcre.backtrack_limit=100000" P! c9 i  B+ K' Z6 H, D

  978. 2 V: I+ @( Z! m! U0 l* N  N* w: K
  979. ;PCRE library recursion limit.
      v2 P3 ^* }6 k" M2 @
  980. ;Please note that if you set this value to a high number you may consume all3 N& }: b4 R, G7 m# h
  981. ;the available process stack and eventually crash PHP (due to reaching the, b/ D$ _: R- k- p' |" z/ S
  982. ;stack size limit imposed by the Operating System).
    8 V' @" l/ \' F
  983. ; http://php.net/pcre.recursion-limit
    3 H1 l: y& A) x; j
  984. ;pcre.recursion_limit=100000# `4 _2 Y! }0 F9 I

  985. ! J, R+ ?; \- J1 C5 N! t* m3 g  L
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE( ]+ R* ?+ c" c
  987. ;library to be compiled with JIT support.
    6 @! i. Q0 ~6 b
  988. ;pcre.jit=1( ?2 G9 g1 x) F" G
  989. ' M7 \( O) z) ]) w. N3 {
  990. [Pdo]# {) m: H# U8 ]* P0 w9 ~
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    9 K! V% I  Y9 A! B% ]
  992. ; http://php.net/pdo-odbc.connection-pooling: Q4 l; ~! s: ], d  N; u: ]
  993. ;pdo_odbc.connection_pooling=strict3 t1 O' x- ^$ R9 V3 L: F

  994. + J( o# U3 o# ~: m- f
  995. ;pdo_odbc.db2_instance_name4 g/ m; {( G5 f

  996. 3 e- j; Z1 Z. @
  997. [Pdo_mysql]
    . [0 d$ O" O: B, o7 h- D/ U
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache. g6 r0 \5 O2 m) _8 r
  999. ; http://php.net/pdo_mysql.cache_size
    ! R6 ?; S* T; H$ q3 F7 S6 B
  1000. pdo_mysql.cache_size = 2000
    8 k7 A! W, q$ W% b2 @' c

  1001. * G7 W, M# W- T4 q1 s: f, g
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ) Q2 m, R  ]: a4 u5 G: h
  1003. ; MySQL defaults.
    + N3 O  Y# l+ a4 k2 \
  1004. ; http://php.net/pdo_mysql.default-socket) c; S; }; E6 t5 B% |
  1005. pdo_mysql.default_socket=0 z% \- n6 @6 @9 \- t1 ]5 b
  1006. / ~  R1 L9 x/ n1 c) |1 J& g! S
  1007. [Phar]
    ) n9 ]; J6 Q! N! V( W
  1008. ; http://php.net/phar.readonly
    9 h  P( p! i: x) f' \
  1009. ;phar.readonly = On
    8 B3 T% ?# n* O3 L7 i# a( I

  1010. ( D% @+ u+ ^) m8 B' v
  1011. ; http://php.net/phar.require-hash
    3 d6 b! D+ F* d, v) ]) ^7 P
  1012. ;phar.require_hash = On
    2 e, F, ^% F4 c8 m0 s% R* }; }. P
  1013. 8 J9 ]4 O6 U# v# A: k
  1014. ;phar.cache_list =
    " t, T) Y6 r# x7 i/ n

  1015. 5 f8 N, o: p# W, J* z
  1016. [mail function]6 J9 \- [4 T& W8 W5 P
  1017. ; For Win32 only.' f5 |; P3 Q4 A8 ^5 l/ H
  1018. ; http://php.net/smtp0 c, N5 k2 Z' ?! A5 a4 c! I4 {
  1019. SMTP = localhost0 G) b) G$ R$ E  ~6 }7 @1 I
  1020. ; http://php.net/smtp-port& Q+ \" K0 j! v! P9 F( H; j$ K0 z
  1021. smtp_port = 25& b' V2 N+ c2 I  }9 n

  1022. ; P* f4 ~" u0 x7 I! N
  1023. ; For Win32 only.
    ) o9 b* }+ P% `  \# R2 \( T2 V
  1024. ; http://php.net/sendmail-from/ K( S4 L( j) K, @0 n9 K
  1025. ;sendmail_from = me@example.com
    1 j5 ?' X: Q' Y9 [- L

  1026. ' w6 n# g$ @; [
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").9 ]! R8 v( o1 h4 g- R& y
  1028. ; http://php.net/sendmail-path3 X5 D! k/ n; ~# I6 Z
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    6 S/ t! C5 e4 Y

  1030. * o# h6 a8 z5 i6 g) |
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    5 U1 e7 U: A, t( V
  1032. ; to the sendmail binary. These parameters will always replace the value of$ y2 C8 G3 X" w9 Q& |
  1033. ; the 5th parameter to mail().
    * n, f; `( c5 H; ~$ A
  1034. ;mail.force_extra_parameters =
    5 k: h. A0 S+ Q; @1 E$ Y
  1035. 8 V0 M" y; I! {- w- h. ]
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename) c) k' x, _( C0 ^0 m
  1037. mail.add_x_header = On) L5 l& H! }' p
  1038. 0 E7 D7 Q& @+ e4 M. d
  1039. ; The path to a log file that will log all mail() calls. Log entries include8 l  Y7 x* S2 W& o; [. L/ m
  1040. ; the full path of the script, line number, To address and headers.
    9 Q8 |/ d; ~+ d2 u  w" f, a& B+ I
  1041. ;mail.log =, }4 n0 l. w' |
  1042. ; Log mail to syslog (Event Log on Windows).9 i* ?: \. T( L9 U) ~. ?2 C: E, u% Z
  1043. ;mail.log = syslog1 r  y& N9 Y- f/ T. a6 _
  1044. 0 Z9 ]9 s1 M2 N# L7 s
  1045. [SQL]9 U# u4 z! p& B. E- A& Z$ o0 u
  1046. ; http://php.net/sql.safe-mode
    # `, u2 a# [7 m
  1047. sql.safe_mode = Off
    ( O/ R6 u5 g9 p1 Q8 G7 [3 @0 c5 J

  1048. ; N/ T7 t2 w. p+ ~1 H9 r
  1049. [ODBC]
    # M) U! N# `* @
  1050. ; http://php.net/odbc.default-db: Z% w2 r; B+ k# L# t4 W+ B& Z2 [
  1051. ;odbc.default_db    =  Not yet implemented
    5 @% d- c& q& V
  1052. # s. s9 ~6 @) d& B: {) Y
  1053. ; http://php.net/odbc.default-user+ A8 w+ ~- n3 \" G- d$ u
  1054. ;odbc.default_user  =  Not yet implemented7 |" W. c+ U8 \& O! F
  1055. * L) Y* v0 {! j( b' V1 g
  1056. ; http://php.net/odbc.default-pw( \! |9 j! {  C+ o( K; m
  1057. ;odbc.default_pw    =  Not yet implemented$ x% i* H) R  D% L. [

  1058. 3 W% j3 o- J; \  d: r
  1059. ; Controls the ODBC cursor model.
    % B  H/ l- V3 r! P( R& Y
  1060. ; Default: SQL_CURSOR_STATIC (default).2 `% w9 y& q/ w$ v
  1061. ;odbc.default_cursortype
    9 E6 p$ O9 ~9 \
  1062. 2 X9 A( l9 ?) f! a, R
  1063. ; Allow or prevent persistent links.3 x2 {0 l, |7 _# v9 ?) {' m$ @
  1064. ; http://php.net/odbc.allow-persistent
    $ P4 K* F5 ^, L, J" a( p
  1065. odbc.allow_persistent = On
    " j+ P7 {6 i. u8 O: D. w$ O& i

  1066. 6 B9 b: Z  H+ |) |1 M/ ?
  1067. ; Check that a connection is still valid before reuse.
    9 m6 f$ B, x2 w! K$ `6 r2 g
  1068. ; http://php.net/odbc.check-persistent
    6 V5 b# a  h- j2 W9 a
  1069. odbc.check_persistent = On
    - ~6 J# K+ D4 \/ s5 B& M
  1070. # I" M- w! V8 c9 g+ b( P
  1071. ; Maximum number of persistent links.  -1 means no limit.) Z, D4 H! _' m+ Z! h
  1072. ; http://php.net/odbc.max-persistent
    $ x1 X+ t$ W8 r6 v0 V& \
  1073. odbc.max_persistent = -1
    7 }0 W' i  b  Q8 m& q; W- a7 t
  1074. * B5 s# ~0 u5 u
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % {  x% I* a  q/ [$ p" A
  1076. ; http://php.net/odbc.max-links* S. l& d3 V7 M+ E
  1077. odbc.max_links = -1
    7 w) U: R1 t( A2 s& {- f
  1078. : [; W# Z3 Q, m* q6 A+ X! C
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    - M+ G8 P( |# X7 s& g0 J7 @- I
  1080. ; passthru.) S1 y4 V: @+ Y0 h  ~8 y
  1081. ; http://php.net/odbc.defaultlrl
    2 _* |3 h8 U1 o' k$ {
  1082. odbc.defaultlrl = 4096
    3 D% M. h4 P4 D$ f
  1083. ; e- ?& M# V8 W: j  P
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    7 c' t; y% `- D" Z
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation4 d$ w% N7 X  v# I4 M4 U0 U0 }
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    5 X6 R0 K% D* D$ M% e
  1087. ; http://php.net/odbc.defaultbinmode# r- V% V* `5 v$ ]+ Y
  1088. odbc.defaultbinmode = 1
    ! u. y0 j% Y6 T7 O" x; M8 i
  1089. ( H* D( L: e$ X2 V' e1 k; Y9 Z" P
  1090. ;birdstep.max_links = -1  A+ {- ]+ @' M9 ?3 X) v3 Z6 B
  1091. 1 {0 J) E1 r% W$ A% A( i# a4 F0 q/ d
  1092. [Interbase]
    # v/ v3 M  q. I
  1093. ; Allow or prevent persistent links.
    2 G$ w* `4 y5 N8 I9 n; Y
  1094. ibase.allow_persistent = 1: e; N( t" T4 T+ s
  1095. / E6 G' d% D+ Q6 I0 T
  1096. ; Maximum number of persistent links.  -1 means no limit.# B3 N3 g/ x  W8 D6 r
  1097. ibase.max_persistent = -1
    # O7 d  j( Z) W* z! F* |
  1098. ( A5 g5 b0 j; S0 t0 _9 z
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: s4 y/ Q3 n/ H* z5 y
  1100. ibase.max_links = -1
    6 @8 u/ ]4 G& A6 u/ ?5 a; ^
  1101. 5 y9 j. n# T: ]4 l. P, q3 w
  1102. ; Default database name for ibase_connect().8 z( w2 |3 S& c$ {% Z
  1103. ;ibase.default_db =/ l, G; \( b0 J1 U

  1104. 0 d5 r: V7 ?. n& t* L5 S
  1105. ; Default username for ibase_connect().* }, r" M# b3 ?9 C
  1106. ;ibase.default_user =# h& C4 t+ }: u3 L5 p0 x

  1107. 7 V0 i! b1 J- x6 q3 Y
  1108. ; Default password for ibase_connect().: X3 z4 c8 J, n. p& S
  1109. ;ibase.default_password =
    + I1 B0 j" t2 \  I; A& l/ J
  1110. % S0 X9 G7 o0 ~4 E2 ]
  1111. ; Default charset for ibase_connect().$ V" f2 ?& L% x! {" C" V( N
  1112. ;ibase.default_charset =
    ' v' b( z$ n) ~9 [, v! D2 M
  1113. 9 O, A3 o$ z2 F1 \6 I& a4 F
  1114. ; Default timestamp format.# ]' b8 |: j3 k1 p' ~& N. {
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"( M0 R/ n' m* i

  1116. % r! w+ O0 r! ~& t8 Y
  1117. ; Default date format.
    , i% a1 l" ?: N" [% \2 |* q
  1118. ibase.dateformat = "%Y-%m-%d"3 u+ K: b; N0 l( n
  1119. # M4 u: T% `$ k; Z& F$ P
  1120. ; Default time format.+ e$ _0 y$ K! [: s% l, b% S6 c
  1121. ibase.timeformat = "%H:%M:%S"
    7 ]9 l& q% o6 V0 a

  1122. & o* z% r% B$ B0 }+ Z1 U
  1123. [MySQLi]
    0 m* u9 \! {5 ]: d  W$ m8 c0 T+ M

  1124. 9 C: Z) R4 r! J$ p- l! `2 C
  1125. ; Maximum number of persistent links.  -1 means no limit.
    % l% ?( t+ J! A+ ?$ i2 `
  1126. ; http://php.net/mysqli.max-persistent$ L' u1 ?, B  k0 n, A/ v. R5 E
  1127. mysqli.max_persistent = -1, }1 t2 F( y* \5 k, b8 q

  1128. 5 j( @& H# {: f
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements4 H9 i6 B6 |  Z6 I  ]6 h1 [
  1130. ; http://php.net/mysqli.allow_local_infile
      H1 h- R1 T, R! p1 w5 n( ]
  1131. ;mysqli.allow_local_infile = On! s6 Q  d% \, L5 {

  1132. 6 I9 o- K+ H1 o0 j' H. ^
  1133. ; Allow or prevent persistent links./ q3 ]5 y5 f& G: V$ T
  1134. ; http://php.net/mysqli.allow-persistent
    8 F& V! @6 z/ x( \, H2 L
  1135. mysqli.allow_persistent = On7 |! l* j. j0 S" f  P- I5 S6 O
  1136. 7 v' B- N/ W" K3 I- {
  1137. ; Maximum number of links.  -1 means no limit.4 S9 `* g' ~) t/ v2 p, _, W0 C
  1138. ; http://php.net/mysqli.max-links
    + n+ J& z; f& m9 Z
  1139. mysqli.max_links = -18 `! ~! e2 q! ]! a+ c% Y1 ~; e

  1140. 8 C; ?! u3 I% K4 b  H3 e
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache. [. f2 b6 M8 y/ B3 _
  1142. ; http://php.net/mysqli.cache_size
    ; J: S& ]4 V5 x4 Y! M
  1143. mysqli.cache_size = 2000
    4 i5 X0 ]( j' `& m; v* ]: J* \

  1144. ' G! n% b% ^9 w* J: O. y4 u% q
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use; _: G( ~8 z& g& S2 c. D
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the/ W' k1 y" Z4 |) X
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    & i% |& N" Q* W/ }' C( ], ~& [9 {
  1148. ; at MYSQL_PORT.8 [0 Y/ Z4 U1 ^. F' j
  1149. ; http://php.net/mysqli.default-port
    ( k9 n' E. ^; ^0 x2 R  Q, X
  1150. mysqli.default_port = 3306+ y& X! v5 G1 C1 |% J
  1151. : J9 J! e* x* Z9 G+ p
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in" o1 C  s+ Q/ L6 C
  1153. ; MySQL defaults.- k% {! M8 }1 K
  1154. ; http://php.net/mysqli.default-socket
    : f/ O: ]2 p4 T- d2 h5 G" d8 o
  1155. mysqli.default_socket =
    ) s* w( }5 {" z9 s
  1156. & H* ^- j! E/ J: b) O/ R
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).4 ^+ e  k' L; h* f
  1158. ; http://php.net/mysqli.default-host4 |# L, Y+ P, N% H5 D
  1159. mysqli.default_host =# q( k3 t8 y4 d( N- l$ f  }3 e6 Z
  1160. - L0 A" H$ X% U  e1 L) G9 Q  d
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).: n6 O3 @3 c' G# [) T
  1162. ; http://php.net/mysqli.default-user2 \) T( t; G, A+ W% H1 v
  1163. mysqli.default_user =
    . N0 l; T9 |' z* }

  1164. + |# M1 D5 q7 Z' W
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ; D2 P3 O% I! P( R( A) J; \
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.: X$ X( [! F7 e0 i# U  X
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")1 J8 [, o/ X! P( v, c* q& \: {
  1168. ; and reveal this password!  And of course, any users with read access to this
    % B2 z; E9 Y) o3 i7 l5 j1 o
  1169. ; file will be able to reveal the password as well.- F$ ^. c- b9 B7 {
  1170. ; http://php.net/mysqli.default-pw
    ) S1 B# f5 [' u$ {4 a  C( P- R
  1171. mysqli.default_pw =4 a1 Q4 D+ H# m) \

  1172. 1 X* A: w1 y- S* S* n- o' e
  1173. ; Allow or prevent reconnect8 X- |2 q2 \* f; ~* S3 a
  1174. mysqli.reconnect = Off
    5 k& D5 O0 y7 X8 Q4 ]$ g
  1175. 4 t  L( v; B* m8 t4 @5 G, P6 {
  1176. [mysqlnd]! k0 D8 h- y, s7 S0 n; z
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be9 f8 ?% X% w' I8 J! M3 ~; g% N
  1178. ; used to tune and monitor MySQL operations.
    ) b) y+ R7 ^9 w8 X% K+ `
  1179. ; http://php.net/mysqlnd.collect_statistics
    0 [) c! y  M- y1 @5 q
  1180. mysqlnd.collect_statistics = On& \& @4 k& v0 ?* Z7 j6 J

  1181.   f# k1 S1 _5 ], ?: h
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    & r; h3 z# [" n8 g, }8 G7 D
  1183. ; used to tune and monitor MySQL operations.9 T" {$ z1 j" X+ e+ Z
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    - y9 L8 W- K# u$ ~1 ]
  1185. mysqlnd.collect_memory_statistics = Off
    0 l0 R+ [9 C8 H; m

  1186. 4 i& }% d! {  O6 \2 ~
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    7 r8 K0 q+ w) ?" Y6 z7 B1 ?, f
  1188. ; file.
    . k) K4 l! n$ _- d+ M
  1189. ; http://php.net/mysqlnd.debug3 M) C% M) i" Y2 A* ^( h- Z0 h
  1190. ;mysqlnd.debug =' \# ]9 w, e0 y% B0 i8 c2 Q8 q
  1191. # k) Z0 I6 z; H9 K9 p9 O
  1192. ; Defines which queries will be logged.3 p& g4 t' e7 b6 R
  1193. ; http://php.net/mysqlnd.log_mask
    - \# P+ c. y4 D) X
  1194. ;mysqlnd.log_mask = 0
    2 ^6 V+ x# C* \$ u
  1195. : B3 v- T3 O( z5 s7 Q
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.+ X/ F0 b! D; D4 E3 k# k. d
  1197. ; http://php.net/mysqlnd.mempool_default_size
    # r* B# W) L; m0 x
  1198. ;mysqlnd.mempool_default_size = 16000
    # s7 y. N2 N7 g) `5 U

  1199. 9 P! i& w# g' I$ t3 w
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.- Z# |7 S, ^3 W
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ! B3 ~; F% c# M8 S; D
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    : b7 I- c. b$ S! \1 t8 C3 ]7 V, }+ l

  1203. 1 Q" Y2 z: o/ Z' u
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    3 ~5 Q! V& i& D  G. }/ [
  1205. ; bytes.
    9 B$ z6 T3 ^# ^/ Z4 E" g
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    # `2 n0 I& h) O3 s2 @: q
  1207. ;mysqlnd.net_read_buffer_size = 32768
    7 ?; _9 {2 w7 N3 R' l1 ^

  1208. # k& v4 t* D' ?
  1209. ; Timeout for network requests in seconds.% i8 G& U! t2 y0 H
  1210. ; http://php.net/mysqlnd.net_read_timeout
    0 v+ Z9 i# a7 {5 p$ k0 l; r# ^
  1211. ;mysqlnd.net_read_timeout = 31536000( Q- m! n9 E4 H

  1212. # S, G  U8 `  ^& H$ j0 z( c
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA0 y; T  C0 `: \/ H8 ?0 Y$ w; y; b
  1214. ; key./ {9 s* o7 z4 K* v! J6 O$ i
  1215. ; http://php.net/mysqlnd.sha256_server_public_key2 [) X. G5 u; P; O
  1216. ;mysqlnd.sha256_server_public_key =
    & D8 U! p2 Z2 p" f) I% H* b

  1217. 0 n9 N" ]+ e% {) N- r; @% {, K
  1218. [OCI8]
    0 a' F, W8 l5 T- w9 U+ g
  1219. & Z0 S/ R$ T" T$ L# K
  1220. ; Connection: Enables privileged connections using external
    . u( }; R3 R' D& K- g, O
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    0 }. c2 H0 B9 _6 Y8 V
  1222. ; http://php.net/oci8.privileged-connect
    % c$ \* [# X: _3 P, a2 t, W
  1223. ;oci8.privileged_connect = Off
    8 C4 l) `; \" ]# V$ }- E+ k
  1224. - q6 s( W6 D' c
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    ; }1 r1 n  C9 Z: K7 _" A/ q8 l
  1226. ; process. Using -1 means no limit.. E( c0 W6 b& T" |7 M% ~8 E
  1227. ; http://php.net/oci8.max-persistent
      \* p. K4 L* y
  1228. ;oci8.max_persistent = -1
    . ^) ~; H* A2 T6 K! U& K6 Q- a

  1229. ' A) Y3 v5 m# Y. v
  1230. ; Connection: The maximum number of seconds a process is allowed to% f! V+ N3 g3 m$ q
  1231. ; maintain an idle persistent connection. Using -1 means idle
    9 {/ R; z. {% a
  1232. ; persistent connections will be maintained forever.
    , R3 f1 Z8 i. K% m* l" r
  1233. ; http://php.net/oci8.persistent-timeout
    ) d: M! |* ]) k! n8 p+ ?* E$ q- T* v8 K
  1234. ;oci8.persistent_timeout = -1! T9 J" q/ }: u/ J+ |4 P* |8 C
  1235. 2 s2 M+ a! D. i8 W7 `) j" M% r- g0 ~
  1236. ; Connection: The number of seconds that must pass before issuing a& q5 Y& ~% D5 L4 J4 h) S# G# b" V
  1237. ; ping during oci_pconnect() to check the connection validity. When+ k" U# a( L2 L7 t# G/ T
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    5 y" Z$ B( Y$ G3 O7 u/ J" `
  1239. ; pings completely.! D2 N: G# t3 V2 v: K) R8 R) k
  1240. ; http://php.net/oci8.ping-interval1 ?3 K0 o9 Y( W' O% b4 A# w
  1241. ;oci8.ping_interval = 60
    # Z) n! I% v" {% }# O
  1242. ' v  N  N( |  q( }0 q
  1243. ; Connection: Set this to a user chosen connection class to be used" n1 T) [! v) }" j/ ?
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    1 |% r) S0 y, b" e* }
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to7 Y4 N/ D, o1 i& y) O' D) R' v
  1246. ; the same string for all web servers running the same application,3 X$ E8 q3 |1 E2 K. m$ Y
  1247. ; the database pool must be configured, and the connection string must8 V" x& ?$ w8 h
  1248. ; specify to use a pooled server.
    % W7 \& ~  V& b7 a$ n+ r9 v
  1249. ;oci8.connection_class =
    4 w4 H+ h" B- D7 e
  1250. 4 W7 u* t' p$ E. O  w
  1251. ; High Availability: Using On lets PHP receive Fast Application8 M  R7 ?, h- s: b3 f2 C/ E
  1252. ; Notification (FAN) events generated when a database node fails. The
    6 }( ^- Q0 G/ l* X9 \6 g" B2 R+ V0 v
  1253. ; database must also be configured to post FAN events.
      g" j( K( o2 b: w* @' Q
  1254. ;oci8.events = Off
    # ~2 m( V9 f* t% i$ d$ p0 n' N, T1 A

  1255. , y0 P9 ~( B! J9 P+ c
  1256. ; Tuning: This option enables statement caching, and specifies how1 D" }0 Z" H! V% B) h) Y& N6 }
  1257. ; many statements to cache. Using 0 disables statement caching.
    3 F, ^- J% Y1 k+ @- Y
  1258. ; http://php.net/oci8.statement-cache-size4 [' a8 t6 \5 O% W, L8 m1 y. |
  1259. ;oci8.statement_cache_size = 20
    ; G3 c; U, A& K
  1260. & H( A$ \5 @5 p  B, h
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    4 W0 C/ O. H3 c3 B
  1262. ; rows that will be fetched automatically after statement execution.5 c4 z5 k' Z' T2 g3 v8 v
  1263. ; http://php.net/oci8.default-prefetch3 K! f; l7 H/ v: m2 g: {( T
  1264. ;oci8.default_prefetch = 1002 K* c  Y% m8 W$ M1 _

  1265. 9 y3 Q# q* e, x- O% q: [
  1266. ; Compatibility. Using On means oci_close() will not close( X" m1 i* t" e: i
  1267. ; oci_connect() and oci_new_connect() connections.6 N3 d( @8 Q* @. B/ n
  1268. ; http://php.net/oci8.old-oci-close-semantics$ a' n  b) V0 R
  1269. ;oci8.old_oci_close_semantics = Off% F; t& D. L& x! \/ [5 x
  1270. / ~- }1 H9 p0 }& ]) l1 f2 n& K+ F; D  b
  1271. [PostgreSQL]
    5 N  z: |5 g9 \( X* B  H* A2 d5 W
  1272. ; Allow or prevent persistent links.
    - v; Y0 k5 L( K4 N. }! |
  1273. ; http://php.net/pgsql.allow-persistent
    * c6 h" Z' Z1 N& M) T8 T/ Z
  1274. pgsql.allow_persistent = On
    ( r8 D0 b' b, l

  1275. * x& j0 g; Z2 M  w& e9 p2 Z
  1276. ; Detect broken persistent links always with pg_pconnect().
    # f0 D7 Y, }7 ]8 q' C" M  f
  1277. ; Auto reset feature requires a little overheads.* J. |* k: D7 a4 ^+ a) m  e& s8 S& b
  1278. ; http://php.net/pgsql.auto-reset-persistent
    5 }5 X9 e3 b+ s8 l, [
  1279. pgsql.auto_reset_persistent = Off: }, ^7 f4 }1 o" Q2 Y  n( ]6 s% A
  1280. 2 E1 D5 B" X* Y+ ^. ~; f
  1281. ; Maximum number of persistent links.  -1 means no limit.
    0 `) M: w+ H3 q, W
  1282. ; http://php.net/pgsql.max-persistent
    ; f4 |: M1 P( N" V4 k
  1283. pgsql.max_persistent = -13 H. U- X/ F+ ~9 m/ p# K

  1284. / E1 Q+ @, O+ n; u& B) d; t' Q
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.7 X$ [$ f8 w3 @: e- @
  1286. ; http://php.net/pgsql.max-links+ H/ \" F% k, t; Q- M* B
  1287. pgsql.max_links = -1" ~4 O9 o1 h' s: n- W/ T$ B

  1288. 1 p2 ^) p8 q, \7 g
  1289. ; Ignore PostgreSQL backends Notice message or not.
    0 ]- [. A9 Q3 h0 j; |* ~; h
  1290. ; Notice message logging require a little overheads.
    ) r! m+ p$ }( u5 l! h
  1291. ; http://php.net/pgsql.ignore-notice: ]5 ^* F4 c* k8 P: y4 i
  1292. pgsql.ignore_notice = 0, H+ J( U! E) S# ^; I$ f2 s% |
  1293. 6 H% l0 G8 S6 r- l! n
  1294. ; Log PostgreSQL backends Notice message or not.- T7 ^1 a) c, y
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.# l: f) g4 T3 P/ L7 f* n
  1296. ; http://php.net/pgsql.log-notice$ I0 i2 ^+ Q4 b2 l9 x
  1297. pgsql.log_notice = 08 }! k& q  W9 n- I. z. R

  1298. & t8 y2 M2 D$ Y- v( q6 A
  1299. [bcmath]. p- ^, A  |6 f; E' o7 s
  1300. ; Number of decimal digits for all bcmath functions.
    8 b' k8 ?/ a( R0 Z
  1301. ; http://php.net/bcmath.scale
    ( v8 q. S! x- ^
  1302. bcmath.scale = 0
      l) {- ]  t$ k0 O3 k

  1303. 4 S+ R& {2 d* |) j
  1304. [browscap]
    0 \; Q- |" k1 U& D
  1305. ; http://php.net/browscap
    $ _; l. h+ B0 D8 U
  1306. ;browscap = extra/browscap.ini
    7 m" \1 f3 b& a4 N% u$ F

  1307. / z+ F: F+ ~# [9 `( j6 |5 g- c
  1308. [Session]- R0 G6 G' v* {2 g
  1309. ; Handler used to store/retrieve data.0 ?$ U" E8 K; ^" D& o
  1310. ; http://php.net/session.save-handler
    + g& h8 S! F  g" W. ^. e- b
  1311. session.save_handler = files
    & h: Q' @6 ]3 t0 D

  1312. * j& L, f0 V6 o6 K
  1313. ; Argument passed to save_handler.  In the case of files, this is the path( E2 w% B2 M; x! i# ?* m3 t
  1314. ; where data files are stored. Note: Windows users have to change this' W( Y/ J) u7 n" _$ I+ T" O
  1315. ; variable in order to use PHP's session functions.  u3 p$ R1 i  A( Q
  1316. ;
    ! \) }% l) ?2 s
  1317. ; The path can be defined as:# ~( c4 }; M( d* i( @' _6 q  m* ]# o
  1318. ;8 K" g. ?" ?5 w+ \- y
  1319. ;     session.save_path = "N;/path". g/ b/ C% _6 I# w! f% p
  1320. ;7 h/ z9 c8 F2 \) K. n
  1321. ; where N is an integer.  Instead of storing all the session files in) q  H$ |/ g3 c* b1 X1 z
  1322. ; /path, what this will do is use subdirectories N-levels deep, and1 C/ T) W. B/ H  h6 A
  1323. ; store the session data in those directories.  This is useful if
    % x& y1 Y, Y- r; t4 v
  1324. ; your OS has problems with many files in one directory, and is
    3 X. ^/ T0 g" i' M: R  e# e% A- F
  1325. ; a more efficient layout for servers that handle many sessions.
    - v0 C7 K! \7 u9 A
  1326. ;2 V: Y2 s8 u$ r5 a
  1327. ; NOTE 1: PHP will not create this directory structure automatically.; Y% w$ T" g! c0 I) Y* i3 Q7 w
  1328. ;         You can use the script in the ext/session dir for that purpose.
    * n9 X: }$ P' r1 {' y
  1329. ; NOTE 2: See the section on garbage collection below if you choose to1 R* V) ^* n; s' @6 I
  1330. ;         use subdirectories for session storage
    ' U' q# d* j$ ~
  1331. ;
    4 W1 Z- K! b3 j) k+ z
  1332. ; The file storage module creates files using mode 600 by default.( P& v3 q: J5 ~2 d5 L
  1333. ; You can change that by using
    # k  U6 K- M9 a- g- j% S) B8 ]
  1334. ;2 m" ?" u  I' J2 V1 e% i$ p
  1335. ;     session.save_path = "N;MODE;/path"
    " C7 z& t9 Q3 h- k( o. Y; F
  1336. ;
    9 r" Q  ~0 e$ C+ ^+ N& K/ T
  1337. ; where MODE is the octal representation of the mode. Note that this0 {& {+ M6 [& P% B3 R
  1338. ; does not overwrite the process's umask.: p( k3 Z; A  d3 [: W1 w: Y
  1339. ; http://php.net/session.save-path
    9 M: P& o; O; y. S2 Z( V8 W: y! C
  1340. ;session.save_path = "/tmp". o' ?- V) J, s! Z
  1341. 5 r: V, D" M, J* k( Q- Y  t7 B$ U
  1342. ; Whether to use strict session mode.9 m. o2 F/ R# {, `2 x  V/ Q& u% T. l
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    1 V# {* v7 r! \6 E( C* t
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ( s- a2 w% H- F* e* \
  1345. ; applications from session fixation via session adoption vulnerability. It is) b- v6 m1 {( Z* q! `, l
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ) p7 E8 T* A. _8 B# U
  1347. ; https://wiki.php.net/rfc/strict_sessions
    3 ~/ R* W# \- B! Y3 d8 f2 n) D
  1348. session.use_strict_mode = 0
    3 @" E# L0 w9 t  q+ Z: I
  1349. , z3 i+ v5 T. j
  1350. ; Whether to use cookies.
    % V5 S' @! A6 r5 a2 ^
  1351. ; http://php.net/session.use-cookies' B4 d$ b, A5 v4 j
  1352. session.use_cookies = 16 b) L2 y/ K$ [9 v' }2 ~8 e- [

  1353. ! G3 Z! Z" E! F" [
  1354. ; http://php.net/session.cookie-secure
    - S5 s; p0 t- ]1 }# E' \6 Q3 r3 |; z- q
  1355. ;session.cookie_secure =5 X* T- v$ F0 _9 i2 O

  1356. " J) u) [$ ]$ ?; M* F* S
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining/ g( o! }* v; u, ~' b
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    0 Y; U0 r, [: V* e  F/ U
  1359. ; session hijacking when not specifying and managing your own session id. It is
    - B! t+ f6 I0 N, @7 E6 a% _
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    6 l2 u8 F  r: c# {# c7 F3 S
  1361. ; http://php.net/session.use-only-cookies, w/ \3 i/ t/ }4 p! G0 `# D( N
  1362. session.use_only_cookies = 1+ ?9 ?) d; @1 T5 @# d
  1363. " f' s1 t" O% a! n+ ?4 W
  1364. ; Name of the session (used as cookie name).
    , I4 c2 f/ E) i+ i# d# h# R
  1365. ; http://php.net/session.name0 |9 a/ H  u  |' k
  1366. session.name = PHPSESSID
    ; i3 \4 d# c& K+ K# L2 }
  1367. / r' ^5 O9 I% M
  1368. ; Initialize session on request startup.. J' U7 A; ?# O! {0 D7 ?
  1369. ; http://php.net/session.auto-start! T2 W/ Z0 ~1 u/ H
  1370. session.auto_start = 0
    " f4 p# }$ P3 a. j! q* s

  1371. 6 L& L- Y5 g, L. J+ m
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    2 B4 W3 U( R1 _" b  l4 \3 E- a
  1373. ; http://php.net/session.cookie-lifetime
    $ B# x; W$ J9 u& [+ x  O
  1374. session.cookie_lifetime = 0$ k* A" x5 O$ |/ g
  1375. # Z* f5 G8 }# Y0 ^0 L! ^
  1376. ; The path for which the cookie is valid.  Z% Z6 q& ?: X: v, h
  1377. ; http://php.net/session.cookie-path
    2 R9 ], I7 q) j/ ]
  1378. session.cookie_path = /% v# P& g+ h/ Y9 V' C
  1379. ( ^- k1 m, j) S: R( p" L! f
  1380. ; The domain for which the cookie is valid.
    8 R% O) d' D1 z
  1381. ; http://php.net/session.cookie-domain
    : M! U: u' x7 E
  1382. session.cookie_domain =
    7 J0 S. N. q& [7 q! u: |
  1383. 1 L% v- _( {+ N7 q" k1 `
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript./ p2 _- V. Z; h1 x
  1385. ; http://php.net/session.cookie-httponly
    7 W4 W( r; F9 J9 }" d: P
  1386. session.cookie_httponly =* h9 I$ x: ]4 [! I. S( K
  1387. + v5 o7 G5 x$ u9 g* b5 d1 i
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.2 \" y2 i4 ~% k2 {
  1389. ; http://php.net/session.serialize-handler
    - g3 S2 N  a* j* n2 Q6 g
  1390. session.serialize_handler = php
    2 p; S7 g  H: G0 M' r
  1391. " U+ P, C$ X' W# ?0 K" d
  1392. ; Defines the probability that the 'garbage collection' process is started
    0 p! Q4 }1 s0 m+ Y( o; x
  1393. ; on every session initialization. The probability is calculated by using
    , \+ E8 y: b1 x
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    8 D' X1 J1 M, T9 p" g
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1" ~2 K- ~' S% X: ?8 ^7 S
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance, T6 m" H/ N2 M  o6 [& j' c
  1397. ; the gc will run on any give request.7 c  s( I2 E- k, ?7 |" o' C# p& f
  1398. ; Default Value: 1
    / l; |# J8 w' H1 W. p
  1399. ; Development Value: 1
    ; E  B- [" S" F% q2 |) N( I0 I- U
  1400. ; Production Value: 19 M- f, g: b% u7 ~& s8 d
  1401. ; http://php.net/session.gc-probability1 _6 p+ ]. I9 J/ z/ f* z
  1402. session.gc_probability = 1
    : [5 k# C' R2 t" _7 t- b4 O
  1403. , x7 ~3 V* `: [* Y# z% o, ?2 e
  1404. ; Defines the probability that the 'garbage collection' process is started on every7 T, b  g/ n; Q" V  k
  1405. ; session initialization. The probability is calculated by using the following equation:
    * F+ F  l- e* _
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and* z0 w0 E# [& H3 d+ J1 k" F) H
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    , E2 M( n$ E( w! i, @8 j) w; I6 B
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance: p( j1 {* _8 W. n
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you% A2 {3 B8 E# f$ f3 R
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,+ S3 q$ ]4 q# L# m( e- s& Z
  1411. ; this is a more efficient approach.+ i3 g8 y" F7 @. T* x
  1412. ; Default Value: 100' i' Y% H8 [& e2 n! H" c
  1413. ; Development Value: 1000  V; |% T+ k% ?! n- m$ E3 N8 o
  1414. ; Production Value: 10003 l) E* K( J+ O+ R: b
  1415. ; http://php.net/session.gc-divisor
    ! O0 R4 i* W8 @/ f$ \1 ^1 T& ~
  1416. session.gc_divisor = 1000
    & E: r8 f2 J) T9 x
  1417. 2 j6 T2 P0 r( a
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and5 j6 b8 `! ?% [5 k' R! U  n3 Y
  1419. ; cleaned up by the garbage collection process.6 a- d  @2 o2 [* E: @: V& [
  1420. ; http://php.net/session.gc-maxlifetime
    : g& @9 S. w7 V# q1 |
  1421. session.gc_maxlifetime = 1440" D( R& L0 \- l) t7 M9 r0 v
  1422. 1 Y0 d+ u) q0 ]# S' Y6 s( k
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    * P& y1 P( F# U3 c6 l( q( R0 Z
  1424. ;       (see session.save_path above), then garbage collection does *not*
    % Q! M8 r2 A. s7 C
  1425. ;       happen automatically.  You will need to do your own garbage
    / ^: T' T  k9 k1 U( a) E3 G
  1426. ;       collection through a shell script, cron entry, or some other method.! G5 h; W5 j# `- Z; N
  1427. ;       For example, the following script would is the equivalent of( A  e+ K3 k3 |  C, Q# v
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):" l+ m7 {6 ~4 s! X5 F3 W& |
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm4 g' V" r0 d) }  r3 z
  1430. - |; `" H8 O+ N9 h6 n" }! }8 P1 M
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.3 d7 p! q/ e' i0 @0 b
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    2 r- G# E4 J7 ]' T  m
  1433. ; considered as valid.
    8 K3 K( C- W0 Z, L6 e$ F" [
  1434. ; http://php.net/session.referer-check$ o. e2 B. `9 `6 z/ z+ G. v0 |
  1435. session.referer_check =
      c; K7 M! P3 J: f" _
  1436. 8 Z9 }, x2 d7 B: k
  1437. ; How many bytes to read from the file.& ?: L) E+ t  ?
  1438. ; http://php.net/session.entropy-length4 N2 \0 v" i; A( J6 a6 `
  1439. ;session.entropy_length = 32
    $ h7 G& L  Z5 b9 s1 D7 H7 O+ F
  1440. % f3 S6 M$ [0 T: R* y& D
  1441. ; Specified here to create the session id.6 W( v3 u/ h& \, P0 t/ v' K
  1442. ; http://php.net/session.entropy-file) C7 b* O; {+ \2 N1 e* h6 W/ D
  1443. ; Defaults to /dev/urandom
    2 }8 O+ K0 P; H- Q: }! Z
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom9 ^  \5 C, q( T1 F: T# I) K, `8 J
  1445. ; If neither are found at compile time, the default is no entropy file.$ W7 F/ Z, W, x2 ?/ j4 b
  1446. ; On windows, setting the entropy_length setting will activate the* y7 H; b- ~8 K8 A  l& O. p' I
  1447. ; Windows random source (using the CryptoAPI)
    $ F8 w1 M5 q0 T
  1448. ;session.entropy_file = /dev/urandom# J) P& T  @- b& i2 N/ }/ G8 ~

  1449. / w: T7 K) L* U! C
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    6 F1 [6 s" }+ F) e% A& I! e
  1451. ; or leave this empty to avoid sending anti-caching headers.; B' @8 h+ M8 n# X
  1452. ; http://php.net/session.cache-limiter  c6 E( e; a( a6 h) v
  1453. session.cache_limiter = nocache: J! J( n: w8 {4 y3 m
  1454. 5 H0 h$ c, \" V* I, T
  1455. ; Document expires after n minutes.
    8 ^" f" V4 a1 m) M: ^8 {' I
  1456. ; http://php.net/session.cache-expire; _' t. ?; w# G3 e8 d9 I
  1457. session.cache_expire = 180, E4 @% \4 L: A* h# A, U7 w4 b/ B$ p

  1458. 0 X3 ?! z! S! d3 [( L: {
  1459. ; trans sid support is disabled by default.
    % c6 B, l( j) Z% y+ G) R4 ?
  1460. ; Use of trans sid may risk your users' security.
    / _+ |! n! ~/ |0 @  t" ?
  1461. ; Use this option with caution.
    8 H& Z7 p# x& T- N
  1462. ; - User may send URL contains active session ID
    ) H& }$ k0 {) D+ l- k7 l* U
  1463. ;   to other person via. email/irc/etc.
    ( J/ z' _+ U$ |- H) y
  1464. ; - URL that contains active session ID may be stored
    6 P/ N4 b9 f) c8 q- `% [! ^( o
  1465. ;   in publicly accessible computer.
    % \. Z; t$ A; z3 h  U
  1466. ; - User may access your site with the same session ID
    5 z, G: Z" ?& a8 Q! I$ M
  1467. ;   always using URL stored in browser's history or bookmarks.3 s. d: c7 ]: `
  1468. ; http://php.net/session.use-trans-sid" {; I+ M3 z9 Y8 Z- Y, n2 I( k1 f
  1469. session.use_trans_sid = 0
    ) W% Y+ n3 K0 K/ |- V  t* j' V
  1470. 1 d" G& ^5 H& ~. h% ~
  1471. ; Select a hash function for use in generating session ids.
    ! J3 }; w$ h' \) K
  1472. ; Possible Values
    $ P% M! ^! e" m& B/ W' `
  1473. ;   0  (MD5 128 bits)
    , p% W% k% s& d# i' r2 K% V- o
  1474. ;   1  (SHA-1 160 bits)
    ' Q* m, r5 v' {$ z
  1475. ; This option may also be set to the name of any hash function supported by
    0 R& O: u8 ]+ w1 r/ b5 F* K
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    * _) t# `' ?3 D' |! l/ b
  1477. ; function.
    ) Z' s0 Q+ q6 Y
  1478. ; http://php.net/session.hash-function
    2 j* p& x/ W5 h0 s
  1479. session.hash_function = 0
    9 W! q+ s+ e) t3 `) r; E2 ]# d6 ]" f

  1480. " F, W$ H' W9 v! W2 t
  1481. ; Define how many bits are stored in each character when converting
    5 b# s& G7 v  B) @% c
  1482. ; the binary hash data to something readable.
    + F( y9 u9 C- j# Y, _) w4 W
  1483. ; Possible values:' Z8 _, ?( Q: F, I# }- T" h& d& ^
  1484. ;   4  (4 bits: 0-9, a-f)
    $ q2 r8 k) d# y7 S- ^- _+ ]( c, C
  1485. ;   5  (5 bits: 0-9, a-v)2 i, D/ `  \" b+ A' U
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    % J* N4 I* B6 C+ l* @/ S
  1487. ; Default Value: 4
    % C+ Y: j' [7 n) P7 R  C" r
  1488. ; Development Value: 5
    . v& ~) V9 l: K; L: W: T7 F( A! r
  1489. ; Production Value: 5
    4 [7 v; T5 V4 R: E' T
  1490. ; http://php.net/session.hash-bits-per-character
    & _7 _4 t& G& x( {  q( ?
  1491. session.hash_bits_per_character = 5
    # G9 i* D: Z- l5 U1 B$ `( n( J: i% W

  1492. 4 c7 a4 F8 |. T: U7 H% L
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.1 b* }/ i1 P& X9 r7 s
  1494. ; form/fieldset are special; if you include them here, the rewriter will2 j  s) w% `8 V& l7 a2 Y
  1495. ; add a hidden <input> field with the info which is otherwise appended
    $ X5 `. a! H8 P) _# s
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.2 n0 P  }' [  ~! h
  1497. ; Note that all valid entries require a "=", even if no value follows.. c6 }6 s  t) f( l  L) h' h( p
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="% u" n. F5 {4 I' O
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"3 q3 Y2 z. D- y* b+ n  p
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' g3 }' v* D& c3 E
  1501. ; http://php.net/url-rewriter.tags' ?7 _" X* b# I% s% Z
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 O9 r) ~# I/ G. w6 w

  1503. # D+ n' O2 u7 ~% N+ E
  1504. ; Enable upload progress tracking in $_SESSION
    , o2 o) r0 F$ V% j! N9 E( v$ N4 u$ Y
  1505. ; Default Value: On
    & A& a1 I& w1 g% }  Q. m9 ?
  1506. ; Development Value: On
    9 K1 I% f. n& V- W9 }8 S
  1507. ; Production Value: On( C2 C( {7 Q, }+ ]) L$ V
  1508. ; http://php.net/session.upload-progress.enabled
    0 i, Y0 d/ ]0 `( S
  1509. ;session.upload_progress.enabled = On+ O/ q" u  t1 V  V$ H; j9 U& @
  1510. # l( `9 {5 i6 C& r: w, L% z
  1511. ; Cleanup the progress information as soon as all POST data has been read' v4 [' L0 s: ^! ~% R5 G9 {
  1512. ; (i.e. upload completed).
    6 G" h- _" K- @- ~4 R
  1513. ; Default Value: On, K( y* q5 Q9 ^2 m
  1514. ; Development Value: On* h5 r* g' y* B$ s* f7 I1 i
  1515. ; Production Value: On& k" s8 R) `) K) d5 O- T
  1516. ; http://php.net/session.upload-progress.cleanup7 J1 f2 I# E/ W7 Q4 `' ]/ b$ `
  1517. ;session.upload_progress.cleanup = On
    3 {  o0 M, j5 ]7 W' `) F2 |
  1518. : O6 |- ~) Z4 U  p
  1519. ; A prefix used for the upload progress key in $_SESSION& k. }& h7 |' Y9 a" p- o
  1520. ; Default Value: "upload_progress_"
    . J+ n2 v9 u: I1 [% F. M
  1521. ; Development Value: "upload_progress_"/ x6 Z/ i; C9 q7 |# ]8 b! k7 E  r1 |' x' q
  1522. ; Production Value: "upload_progress_", g; x/ \* M3 Q+ I4 L
  1523. ; http://php.net/session.upload-progress.prefix
    ) g0 C' H: p* A/ ~
  1524. ;session.upload_progress.prefix = "upload_progress_"6 r& k  n% P2 d" r( J; f
  1525. ! U. q6 n, g% G. u0 i6 n2 n
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    8 l& s/ C; ?4 Y$ F7 G9 B
  1527. ; containing the upload progress information
    " w3 v; {: ^: Y
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"+ a: H( `5 R: }2 ^
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"% r) M& s) v( x6 W
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"5 a7 L5 _) k) B* K
  1531. ; http://php.net/session.upload-progress.name" w( G1 N; H9 e+ @* I
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    + g# J) F4 L3 Q( i
  1533. 2 y9 a! C3 q* }9 d/ I+ A/ ^; B  \
  1534. ; How frequently the upload progress should be updated.
    / T; n& L- ]- g% w) T: m0 w5 _
  1535. ; Given either in percentages (per-file), or in bytes
    ! F3 L" }( n) O1 w0 z/ f+ E
  1536. ; Default Value: "1%"* w) m* b- Z8 `" d6 J5 Y- r, D9 {
  1537. ; Development Value: "1%"
    ! r& I- z+ ?/ M9 Y6 `- D7 T: b
  1538. ; Production Value: "1%"
    - ^+ v7 H4 H% M+ @
  1539. ; http://php.net/session.upload-progress.freq
    " W7 {& D5 g$ p: I
  1540. ;session.upload_progress.freq =  "1%"
    9 K+ _$ {* \; N; b& D
  1541. 1 g' ]4 s0 w& F7 t" ?& |2 A3 K
  1542. ; The minimum delay between updates, in seconds
    + ~4 h6 X; h0 y. N2 ~+ q
  1543. ; Default Value: 1
    4 g! Q  N  v$ I: B; j4 ?* N  _
  1544. ; Development Value: 1$ S: [6 _$ G/ N+ J
  1545. ; Production Value: 1) s+ g4 Q4 o6 O+ e8 L
  1546. ; http://php.net/session.upload-progress.min-freq
    # L4 T% E! Q* ^9 x7 q- w) J
  1547. ;session.upload_progress.min_freq = "1"
    $ M' v+ \. Y9 f- Z; N9 A

  1548. " Q( q- S! ^; u( m
  1549. ; Only write session data when session data is changed. Enabled by default.
    ' Z' Q# F$ M; X7 b
  1550. ; http://php.net/session.lazy-write' t8 i( u  ?# d, H! S% U/ s2 V
  1551. ;session.lazy_write = On
    ; A" U& S+ Q- U6 ^. @5 W  ?/ E
  1552.   A$ M6 S/ D2 ^- J/ _% t
  1553. [Assertion]+ y' g8 D, z8 ~
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    $ Z& Z% E+ Z0 M% h7 Z' H' V& l
  1555. ; -1: Do not compile at all- v) z+ q5 ~# y0 @, o/ f
  1556. ;  0: Jump over assertion at run-time
    ! a3 l) z$ M8 X! x8 x2 \0 d1 Y
  1557. ;  1: Execute assertions
    7 g  c" O2 v, A  Q6 x
  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), c& Q4 y. ]5 m  N( T& c
  1559. ; Default Value: 1
    2 v- Q8 ^/ F1 u5 ?1 T, \
  1560. ; Development Value: 1+ i  F* e. [" H6 E/ Q( w
  1561. ; Production Value: -11 @9 y8 x6 J! S+ W# ]; J! z
  1562. ; http://php.net/zend.assertions+ ?2 N" z  t6 g  W. X! d
  1563. zend.assertions = -10 }! g8 ^# R& {( d

  1564. ) r8 H: @6 x7 `  h
  1565. ; Assert(expr); active by default.2 _/ @6 m+ p8 ~5 z, ^$ v' _) D- d
  1566. ; http://php.net/assert.active3 P' t( W& |, k+ w  k5 G) [
  1567. ;assert.active = On+ K, U. D# Q5 [/ f% L" O0 ]3 U

  1568. " l" y. }! r9 P0 e! }
  1569. ; Throw an AssertationException on failed assertions
    4 i3 h; D2 F* F) t7 E3 r. f0 W/ U: ~
  1570. ; http://php.net/assert.exception
    + m! ~. [5 |: O. `/ [, u9 h: f
  1571. ;assert.exception = On) R4 }& S' U2 ~4 _+ C! n
  1572. * p, }) W+ z' j) q1 p- q# b8 K& Z6 x
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    8 i7 i8 D6 f$ r
  1574. ; http://php.net/assert.warning# w; K5 n; Y9 E+ I, |
  1575. ;assert.warning = On
    0 P/ ~* K" `  N2 ^5 j3 Z& \" ?

  1576. : |( g, ~# W7 `  a
  1577. ; Don't bail out by default.& V2 I/ h! ~: Z! F. e- _
  1578. ; http://php.net/assert.bail# P: A, [) A( ^1 R% D# l% f
  1579. ;assert.bail = Off% z3 A& T( y# {8 O" h

  1580. + G" ^0 b. f/ Z- S! H2 N
  1581. ; User-function to be called if an assertion fails.
    4 G( w& W5 |) ?
  1582. ; http://php.net/assert.callback
    - ^# b3 `0 b0 V& Z$ Q6 b5 Q" Q
  1583. ;assert.callback = 0
    ( m# a) w8 O" ?4 d2 B6 ~
  1584. + u" K- ~6 S2 [
  1585. ; Eval the expression with current error_reporting().  Set to true if you want, B7 N  h, d/ E$ ?1 b
  1586. ; error_reporting(0) around the eval().
    ( T/ J7 `; V$ A. g" Z
  1587. ; http://php.net/assert.quiet-eval
    " F' S1 t; ]4 t2 Z, `( [4 l! N1 b! Q
  1588. ;assert.quiet_eval = 0
    + Q' ?, Q, d. y  \
  1589. - w( `" j4 u/ R9 P; b% `& V
  1590. [COM]- e+ }$ v' i$ l1 E
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    : U* X7 u7 b* q( R+ y
  1592. ; http://php.net/com.typelib-file
    - l2 J$ A" u6 }: _4 g. Y: P
  1593. ;com.typelib_file =, w3 A/ s( f2 w/ }+ ^+ u

  1594. ( ~' g4 g: [6 a/ e9 {" h- u( i
  1595. ; allow Distributed-COM calls8 m; b1 U* A1 T
  1596. ; http://php.net/com.allow-dcom
    0 O. s. v" ~) v
  1597. ;com.allow_dcom = true& g, n6 X6 B% A- ?
  1598. ) {' }1 k. D8 {- ]7 [  z8 r* y
  1599. ; autoregister constants of a components typlib on com_load()
    $ l( a( z1 c' ~" a9 F
  1600. ; http://php.net/com.autoregister-typelib
    * M# g) s& L" A
  1601. ;com.autoregister_typelib = true: J, i4 E7 h; K" A3 T5 k
  1602. ; Z( Q5 w. I" E  w) r7 ^) D
  1603. ; register constants casesensitive
    " Q: ?( `' R+ t6 ^# Q/ d8 ~
  1604. ; http://php.net/com.autoregister-casesensitive
    # y( _, L7 T0 D% O( n
  1605. ;com.autoregister_casesensitive = false
    0 P0 i. q! x: d! C
  1606. 9 p& \- }4 p: ]
  1607. ; show warnings on duplicate constant registrations0 U& B3 g1 n+ }9 s2 D
  1608. ; http://php.net/com.autoregister-verbose/ z1 C! U" Y& a6 B1 j# C: _
  1609. ;com.autoregister_verbose = true$ ^6 H6 v2 E- m" ^* ^" c7 ]9 I
  1610. ) J% r+ q. c/ {. M
  1611. ; The default character set code-page to use when passing strings to and from COM objects.) e2 K! j# U/ I: l& ^3 q
  1612. ; Default: system ANSI code page% X/ u* H& O2 m) `4 |
  1613. ;com.code_page=7 s- T  f" \! ?2 g
  1614. 8 K* h. n, w) ?+ b
  1615. [mbstring]
    # b  G$ ~. m$ G" Z1 C5 S
  1616. ; language for internal character representation.
    , @- g+ y; {8 ~
  1617. ; This affects mb_send_mail() and mbstring.detect_order.( }- `2 _* r6 v' A6 ^4 n
  1618. ; http://php.net/mbstring.language
    0 K& Z4 I/ ?) N( S- v8 Y
  1619. ;mbstring.language = Japanese# c) _5 u3 [+ `$ x/ m2 K
  1620. 9 U$ b4 e! \3 ]9 H& C
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.+ c+ H* J7 b* ]9 h& Q  y4 D  o7 \
  1622. ; internal/script encoding.
    7 |: |" Y' S5 \6 _' i
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)1 |, f- s; i% U- |+ f8 I
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.* _5 b/ l. h  Z6 r6 q/ B
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    9 F/ C9 R* t$ i0 B  t7 S
  1626. ;mbstring.internal_encoding =
    ! A5 q7 ^/ ~8 E# [2 B$ [

  1627. & ^! ?; b+ o1 Q! K
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.2 ]1 X; R* B. r! l! S
  1629. ; http input encoding.
    6 O8 q8 @4 o5 Q0 A' m7 t7 C# b% e
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    / O3 |' j+ x* r' v/ S
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.8 M$ Z0 r/ p) j
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    / g/ Q9 X$ m% I' A% [$ j2 t! H, A
  1633. ; http://php.net/mbstring.http-input
    ; X% L6 W% W8 s  i" ?
  1634. ;mbstring.http_input =
    # ~/ Q+ O4 V. ^% i) @
  1635. 6 S$ A# g6 h8 b; W+ O: ]+ E0 P
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.$ {' H& O. {9 w& q' j
  1637. ; http output encoding.
    ) ^7 e+ R# N: E- _! g9 r/ i
  1638. ; mb_output_handler must be registered as output buffer to function.8 M0 |) M( ~* ^+ t% j; \
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    8 l7 k7 Z+ k5 r8 V, T! i' }
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    7 p6 q5 Q, B+ I  E# P& m
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    + R) t6 t* \- ?: r! J
  1642. ; otherwise output encoding conversion cannot be performed.
    % X6 a! i- _( k1 J" s  f
  1643. ; http://php.net/mbstring.http-output
    $ L9 M1 p2 n9 S6 E* b
  1644. ;mbstring.http_output =3 R' D- T( a2 T( c5 B
  1645. : F5 w. X3 C4 A% N, A' v7 Z! y4 Z
  1646. ; enable automatic encoding translation according to
    " P( y; \. X) D7 t1 E! Z# d6 `
  1647. ; mbstring.internal_encoding setting. Input chars are
    # o, u- ?' ]/ m+ d
  1648. ; converted to internal encoding by setting this to On.# m) V: A' e5 Q/ ~, i* w7 y
  1649. ; Note: Do _not_ use automatic encoding translation for
    6 E3 U; E3 V; L& S; V; c7 \1 k8 Q6 S8 j
  1650. ;       portable libs/applications.
    1 l: T& M* m( i4 r# W
  1651. ; http://php.net/mbstring.encoding-translation
    * W' g$ G  p& @8 j. K
  1652. ;mbstring.encoding_translation = Off5 U6 V, f. g; Y. z

  1653. . x: c7 \2 L  Z% P5 n
  1654. ; automatic encoding detection order.
    $ w  ]; e+ K4 |/ t. ]/ C& O
  1655. ; "auto" detect order is changed according to mbstring.language
    ' c. e5 |  a0 J7 x0 [: O
  1656. ; http://php.net/mbstring.detect-order
    # Q  G( j( r: `$ h- U9 K5 x- I
  1657. ;mbstring.detect_order = auto
    , ^/ ]5 I  I: L; q! {5 s$ i

  1658. # X9 }% q! K# h. D  U
  1659. ; substitute_character used when character cannot be converted* ?: T) F0 p3 |% q6 ]: \  }6 I
  1660. ; one from another# o3 W- J2 W6 `. I
  1661. ; http://php.net/mbstring.substitute-character
    5 C: |7 N8 I% n& M' G4 n
  1662. ;mbstring.substitute_character = none
    * d; f/ l. ^! d; N9 T
  1663. : w0 T" d! S' g: R) ?2 d: r! `) X
  1664. ; overload(replace) single byte functions by mbstring functions.
    ( j$ F4 @5 W+ f' k/ c8 B
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),, ?- {6 R: a! g1 ^
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    , p: r4 Y- K; ~0 S* \* p, F
  1667. ; For example, 7 for overload everything.
    9 Z& c$ K% _- Z; F& j2 b( M
  1668. ; 0: No overload2 p* }* }; z/ [+ }9 V
  1669. ; 1: Overload mail() function0 f1 ~8 R" P0 ~' I" G
  1670. ; 2: Overload str*() functions8 O  ]* Y( k! F- w
  1671. ; 4: Overload ereg*() functions0 v  n% ?! j: D0 _
  1672. ; http://php.net/mbstring.func-overload/ p' e+ [& B: g( b% v
  1673. ;mbstring.func_overload = 0
    6 Q# ~% o& |' r
  1674. 3 \( S* ]; |; P! U# y
  1675. ; enable strict encoding detection.
    & w7 `) V; D/ t  U9 e& w" g
  1676. ; Default: Off
    + Q3 H( l& G( `! C0 w4 M* y
  1677. ;mbstring.strict_detection = On
    ! s8 }$ U6 e% z) @/ S' [

  1678. " V7 j# n' k$ J  V* x7 \
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler(). j) Q2 Q. |8 ]" z6 b- ?" l7 R, n
  1680. ; is activated.
    4 A. [) c6 {" W) ^) a$ ]  Q
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)4 w' S4 V5 k$ C  ^8 s
  1682. ;mbstring.http_output_conv_mimetype=+ D9 Y; V+ \' d0 `/ L, a* @# T% w4 {

  1683. $ t. u1 h8 i0 |% Z
  1684. [gd]; T2 O  h0 r  K/ f; b
  1685. ; Tell the jpeg decode to ignore warnings and try to create8 \. g: R! d3 N8 O" p
  1686. ; a gd image. The warning will then be displayed as notices: ^9 P  @! g. J! L' u
  1687. ; disabled by default: Q9 }1 @2 a# y) [
  1688. ; http://php.net/gd.jpeg-ignore-warning
    ( \" s# W  [, I% k/ L: J8 g1 b3 W
  1689. ;gd.jpeg_ignore_warning = 0+ F8 Y1 a2 l* x- z: e  a
  1690. . O8 U( t6 _9 Y/ s. L" M" J2 z* t
  1691. [exif]
    # Z% P; ^7 j) ]& A5 T
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.+ m4 Y8 i+ h' T2 b$ t+ U! y
  1693. ; With mbstring support this will automatically be converted into the encoding
    $ c. I' H/ U& g
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding# p8 n+ G! ?/ O& {! j2 E! S3 ~
  1695. ; is used. For the decode settings you can distinguish between motorola and
      C2 R8 v0 z( ]: Q$ c& s( d, U& Z
  1696. ; intel byte order. A decode setting cannot be empty.
    ' N/ X9 ?. u$ S: O0 ]
  1697. ; http://php.net/exif.encode-unicode
    7 z+ e) M; R& B
  1698. ;exif.encode_unicode = ISO-8859-15- D, p/ r  [- ^" \) G
  1699. : k1 B0 f5 }" D$ a) Z
  1700. ; http://php.net/exif.decode-unicode-motorola4 a7 W' E5 _1 H- T$ g: s
  1701. ;exif.decode_unicode_motorola = UCS-2BE% K% O) {+ c" ]/ y8 \5 s

  1702. " \9 Y& c  v3 \3 _' Z: ?2 O% h6 b
  1703. ; http://php.net/exif.decode-unicode-intel
    " g+ T. n9 D! o
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    # H# `5 d/ O+ V5 v

  1705. & y. {: D  W! a; [" [
  1706. ; http://php.net/exif.encode-jis8 E4 G  s6 g$ T& s( f9 m
  1707. ;exif.encode_jis =
    6 d0 t1 t/ h: r" Y' y: W

  1708. - _! \2 \, B) c1 e2 i
  1709. ; http://php.net/exif.decode-jis-motorola) c1 Z7 x, z, @3 u1 n. u- A
  1710. ;exif.decode_jis_motorola = JIS# W9 z7 [" }  Z

  1711. . Z& g! g3 c) X; p
  1712. ; http://php.net/exif.decode-jis-intel' H2 N" i7 z# }5 z
  1713. ;exif.decode_jis_intel    = JIS
    9 d5 T' f" v1 k

  1714. . d8 ], S( j& ?- \; E  J
  1715. [Tidy]2 g: `6 m( H& v' |( D
  1716. ; The path to a default tidy configuration file to use when using tidy! s9 W# _. F# S9 [. u# s5 i4 ]  m
  1717. ; http://php.net/tidy.default-config
    2 x# O5 a0 W9 D" v4 {
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ; _5 B* Q* B, [  g/ _* i( |2 J
  1719. ! P- j8 U' v/ e3 A$ m* M
  1720. ; Should tidy clean and repair output automatically?
    ; P4 X6 A+ o" g( {# j, {
  1721. ; WARNING: Do not use this option if you are generating non-html content
    : D. _/ w  p; y# f# _( W
  1722. ; such as dynamic images# H8 q9 u" `  ?' B% @
  1723. ; http://php.net/tidy.clean-output/ |* K' e* b& f$ u. X) h
  1724. tidy.clean_output = Off
    5 i1 K: F5 o" Q0 `: v7 f, q

  1725. 9 [  L2 u+ X% U) U
  1726. [soap]4 W' D0 `5 O. i& S* q9 |; ?' j
  1727. ; Enables or disables WSDL caching feature.
    ; T, S! P. Y) _: o( C9 d
  1728. ; http://php.net/soap.wsdl-cache-enabled
    ) A/ P0 D3 t4 t9 l7 H* s
  1729. soap.wsdl_cache_enabled=18 q4 w% `- U+ o
  1730. * x4 {# S4 ?2 M1 ?3 V
  1731. ; Sets the directory name where SOAP extension will put cache files.: [+ J% ?/ @! Q. k
  1732. ; http://php.net/soap.wsdl-cache-dir  W$ D; Y, {# K4 k& \( E$ N
  1733. soap.wsdl_cache_dir="/tmp"
    $ p; i" N* d: }% ~' n

  1734. 5 Z) _  U6 z9 ^, m
  1735. ; (time to live) Sets the number of second while cached file will be used( N2 a; I! Z  R4 y
  1736. ; instead of original one.
    : t7 ?3 z4 A9 O+ K' B$ P+ ~) O
  1737. ; http://php.net/soap.wsdl-cache-ttl
      N# R# v7 P0 h  o7 T( t: y2 D
  1738. soap.wsdl_cache_ttl=86400
    ! {) f3 ?# H  L: s/ r" k) p

  1739. ! B: Y! b, {) x
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)0 y% Z1 m0 R2 \
  1741. soap.wsdl_cache_limit = 5
    + d- ?7 C7 L, f, d$ d

  1742. ' e' W% T, k+ d- i! h+ }8 W# }  E
  1743. [sysvshm]
    % O/ ]! l8 X: P* y0 N3 J, s+ c" u
  1744. ; A default size of the shared memory segment
    ! m3 e3 I4 b/ E2 g
  1745. ;sysvshm.init_mem = 10000& C/ i6 Y- w- T. X
  1746. ) r) V- m* r6 ~2 e( n  @" U6 ]
  1747. [ldap]
    . P. l  d! }  h- W4 p9 ]
  1748. ; Sets the maximum number of open links or -1 for unlimited.$ i5 Z$ a/ }6 @% [3 r
  1749. ldap.max_links = -1
    ; t, r6 _; [* x3 I. N

  1750. * [4 _4 z2 D% T! J' ?6 w
  1751. [mcrypt]4 K% R. X9 o: E% F
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    $ W+ \# T" }7 E- ~& [

  1753. : n5 e& M4 Q) y9 W' V5 p
  1754. ; Directory where to load mcrypt algorithms
    ; N1 D- o0 D* R; v
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ( S) v1 S" l8 ]4 P. N
  1756. ;mcrypt.algorithms_dir=
    8 Q  g9 |, c& \0 y/ Q& B" z- \3 t

  1757. . c8 Q9 g0 }+ f1 Z( z' M
  1758. ; Directory where to load mcrypt modes
    + i# C% }1 c- t
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
      n' w9 {$ X# f, E
  1760. ;mcrypt.modes_dir=$ \0 b& w, C4 o# e6 d( L% z! ~
  1761. ! v% L) {+ Z% |% z* Z
  1762. [dba]1 {# ?9 c2 k4 W! T. |5 W- q1 N
  1763. ;dba.default_handler=. s" L3 w  z& K' F- h& I6 a2 ^1 A

  1764. 2 N, p6 q5 I6 {% a# h: `, Y( i
  1765. [opcache]) t: m1 I$ y) @4 Q, V' |. A
  1766. ; Determines if Zend OPCache is enabled
    2 B4 ^# H3 \  q2 G$ _$ |- g
  1767. ;opcache.enable=0; Q$ g2 b( h3 W5 V6 ?2 t( ]' S
  1768. ; K# L: F& l: t5 r
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP: e( O, ^* ^4 d! p1 m7 }  N
  1770. ;opcache.enable_cli=0+ y4 B1 r3 ^; _2 o9 h: k
  1771. 1 V3 v6 y+ ]8 a6 X. h! {" A# L
  1772. ; The OPcache shared memory storage size.; c( {9 @, l5 ?6 g" u8 c$ _
  1773. ;opcache.memory_consumption=64
      ^# o, ]. K1 P' k. s+ _* q

  1774. 4 ~2 m+ }% l3 r
  1775. ; The amount of memory for interned strings in Mbytes.
    ' y- t6 A6 M9 s8 D
  1776. ;opcache.interned_strings_buffer=4# z4 y' x2 l2 D& J9 W" X/ e: M
  1777. ( K) I3 @* a* z- S4 `, a
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    3 p! A& V: y: ~' b
  1779. ; Only numbers between 200 and 1000000 are allowed.6 O/ _& w! g, B* B$ W) V/ E/ X
  1780. ;opcache.max_accelerated_files=2000
    1 r  O2 X% t: z( E

  1781. " L; Q2 n* M! B( S; U7 Q" ?: }2 \
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    : n0 P2 p+ q+ C) n% T: y. w3 a1 X
  1783. ;opcache.max_wasted_percentage=5! A6 Z' {1 ]* B- q& H' k* T5 Q
  1784. ; n- U9 {% z* A
  1785. ; When this directive is enabled, the OPcache appends the current working
    6 l: C2 N4 @# o1 F, ?, g
  1786. ; directory to the script key, thus eliminating possible collisions between
    : g. g4 G: ?7 u2 a  Z
  1787. ; files with the same name (basename). Disabling the directive improves
    / s. L  y0 c! K# M/ E2 ?; u, K, ^
  1788. ; performance, but may break existing applications./ P, @- l2 d9 o% O; v
  1789. ;opcache.use_cwd=19 I9 h" l1 F7 [& |

  1790. & L, m9 n7 R  a' ?
  1791. ; When disabled, you must reset the OPcache manually or restart the$ S) {3 w' i" ]4 y  Z5 Y1 K8 P, |
  1792. ; webserver for changes to the filesystem to take effect.7 i* J: y  a* ^4 b1 i
  1793. ;opcache.validate_timestamps=17 R  L! X" _; n7 c- x
  1794. " C' g; F" B" i. d8 H  p
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    4 h5 J- V; |2 Z
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    % Z' J, }& S& Y0 Q& a$ F# D9 c
  1797. ; once per request. "0" means always validate)
    : K) _2 V! F; U& c8 _2 J
  1798. ;opcache.revalidate_freq=2
    % X7 e. P) p- s( H7 k

  1799. 3 M# a( I: F: u6 ]: J1 C
  1800. ; Enables or disables file search in include_path optimization
    7 E7 e1 L" X; e4 U
  1801. ;opcache.revalidate_path=0
    ; R  ?8 k* m" C* m2 o
  1802. ! q9 G! y4 A$ D6 h
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    * R# _& e; ]9 b( w  w
  1804. ; size of the optimized code.
    8 k3 F# o, N& _4 N$ O+ z
  1805. ;opcache.save_comments=1" m- x7 j7 S' ]7 O4 V/ d
  1806. 4 f- g2 G2 l# V. O5 L3 g
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code& o$ |* @" V; H9 N1 q; l
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    3 A  A8 x& ?5 G2 K# i. D; k
  1809. ;opcache.fast_shutdown=02 Z' x  D  r, j+ g

  1810. % s; S3 O  B( }$ f/ \0 g
  1811. ; Allow file existence override (file_exists, etc.) performance feature.' ]/ N" z% Q3 e  `0 X$ s5 G
  1812. ;opcache.enable_file_override=0$ h( [8 c: V6 X( ~0 x- R
  1813. + D. h  G8 S! V0 y1 s9 b' H8 _. m
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    # \( R, o, q' D& \- C
  1815. ; passes
    5 \3 B9 V+ S* W7 h  E- S- \: k
  1816. ;opcache.optimization_level=0xffffffff
    8 q9 f/ Q  v& \) ~3 z; Q) v! P

  1817. 7 ~7 z( N, j" k/ Q, b2 Y; J6 }: u: r
  1818. ;opcache.inherited_hack=1
    , f  X: u: K/ ]
  1819. ;opcache.dups_fix=02 I5 V7 ]" P0 K2 i

  1820. , u$ Z" w5 \4 k; D5 A+ A
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    : O2 D9 |9 ?5 b: j) F
  1822. ; Each OPcache blacklist file is a text file that holds the names of files, q' |7 N+ g- O) B$ B/ m5 U
  1823. ; that should not be accelerated. The file format is to add each filename
    6 R: W5 Q$ U5 D* o" Z
  1824. ; to a new line. The filename may be a full path or just a file prefix0 A% H/ j' T! ^) E
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    4 H# Z# J; p8 c5 v1 t4 M
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).* J* {, H. [) |/ [7 P
  1827. ;opcache.blacklist_filename=
    , y' f+ T" D* b

  1828. / \) z6 j  }- ], a
  1829. ; Allows exclusion of large files from being cached. By default all files
    . R* Z6 H9 U; a. f- t
  1830. ; are cached.
    5 ~. I: Y' P$ a% d- j
  1831. ;opcache.max_file_size=0
    0 ]- I0 l# u9 U' O

  1832. 6 m0 L$ ]; }3 E+ {& R6 E4 U
  1833. ; Check the cache checksum each N requests.
    ! N5 \3 l: Z+ R$ ~% _, S1 Z
  1834. ; The default value of "0" means that the checks are disabled.
    1 {- ~* `( ~$ g2 r
  1835. ;opcache.consistency_checks=04 `" ?" Y# z( X* |

  1836. . n4 |3 Z7 @3 D# e% Z0 g
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    & W$ H' d) F& [9 a
  1838. ; is not being accessed., u) I5 ~2 A- ?" W" v
  1839. ;opcache.force_restart_timeout=180
    + Q) G" [" Y0 ^
  1840.   h. Y& f9 O* O3 e$ {7 k% N
  1841. ; OPcache error_log file name. Empty string assumes "stderr".2 g5 [8 M5 T. z" G( N& K
  1842. ;opcache.error_log=
    ; \0 E/ P- B+ k- M$ T

  1843. , \9 F8 r# m8 }0 D0 @) V9 C- A
  1844. ; All OPcache errors go to the Web server log.7 C6 h; E7 M0 p% @) g2 A- N
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.# V) F3 v* [8 X6 k
  1846. ; You can also enable warnings (level 2), info messages (level 3) or8 V, t2 X- u. f7 G; A
  1847. ; debug messages (level 4)." n6 B- u0 E9 J' i$ M8 C
  1848. ;opcache.log_verbosity_level=1* E) K& N$ [: H
  1849. 8 ?! i, i5 r" d" q/ t) H' W
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.$ F- u' a* c2 Z
  1851. ;opcache.preferred_memory_model=% r# c. _/ a# v+ A7 A3 u
  1852. ! e* V$ H9 t/ i8 R* _. U2 x' t
  1853. ; Protect the shared memory from unexpected writing during script execution.% h( x& N: F! U% M/ F5 N
  1854. ; Useful for internal debugging only.0 \/ F$ c1 ^* V. c, Y5 W5 r' n( S
  1855. ;opcache.protect_memory=0, u4 U2 V: c$ ?) K3 y, K# J3 A
  1856. - W/ Y+ S3 |" W  z) r6 u. X
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is9 w+ x* Q1 q- Z% d# d! u
  1858. ; started from specified string. The default "" means no restriction7 j! o3 S9 a7 f* P4 I1 F' o
  1859. ;opcache.restrict_api=
    ( M! \6 v; _2 `1 Y

  1860. 5 u+ @5 \: v$ B: w
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    - v4 B# E: Y/ X
  1862. ; processes have to map shared memory into the same address space. This1 z* E' I8 Z. B/ \9 p6 h% Q% I; \
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    8 y9 `# h6 o9 u, i; F4 H* n
  1864. ; errors.
    ' s0 m" s+ _% `, X' F" q: E, F
  1865. ;opcache.mmap_base=
    6 S, c, @5 C. x. I

  1866. ' v6 P  \  G" Q3 K
  1867. ; Enables and sets the second level cache directory./ f( _) ~1 w0 T/ G
  1868. ; It should improve performance when SHM memory is full, at server restart or
    * t5 P% i! D3 W" ^! U+ C
  1869. ; SHM reset. The default "" disables file based caching.% ^+ O- K, u5 `: N
  1870. ;opcache.file_cache=
    " w4 b1 T' {0 Q! V% D1 c& _

  1871. 1 V% \% W$ D* |3 @6 K
  1872. ; Enables or disables opcode caching in shared memory.3 t7 z, ], t; h6 C
  1873. ;opcache.file_cache_only=0
    9 D% n( ~# n* Z) b& V+ z, k- l1 P' C
  1874. ) B& \# S0 b: ?! B( A
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    9 s8 U3 p, h: m
  1876. ;opcache.file_cache_consistency_checks=1
      y. h, U4 ^& b9 n

  1877.   D( P* X# O, z
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    9 _8 d7 |! |; c
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file" n. v8 x0 @7 z
  1880. ; cache is required.
    ( y2 M0 c  x$ U5 e6 v' e
  1881. ;opcache.file_cache_fallback=1
    ) J3 d4 t9 K4 Y# S+ Q# N
  1882. % y5 l. A3 c& J8 \7 W
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    3 ^8 W& S) M; C. c/ W
  1884. ; This should improve performance, but requires appropriate OS configuration.
    ; ~5 |7 o, W- U0 r5 E
  1885. ;opcache.huge_code_pages=1: j3 b  |; O# g+ ]6 G, Y6 X  o
  1886. 4 U! {/ c5 e3 D$ I( O3 h
  1887. ; Validate cached file permissions.
    # s; n  {( d) p8 u
  1888. ; opcache.validate_permission=0
    1 z' \3 j5 v2 b& c! o8 p

  1889. 5 z: t* V6 j9 F% ^. g0 U2 [
  1890. ; Prevent name collisions in chroot'ed environment.
    + T3 Y0 h; O3 a3 {! z0 z
  1891. ; opcache.validate_root=0
    . E! c- ^" x5 K% H1 d7 a7 S
  1892. 8 @( C7 w" v3 `5 U9 s5 u" M+ f; e3 n
  1893. [curl]6 f' H2 p! v% E$ ~
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    5 {  z- `3 }; M1 J% `3 {) Y( |
  1895. ; absolute path.$ c7 P+ Y. T6 D- m
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ; C- |& z. R5 ?8 N% `- c+ {; J
  1897. & a  ]4 ]$ A$ M' a/ q' Z7 h  v  M$ e: z
  1898. [openssl]  G/ l3 f9 J; T4 ]+ q! m  N8 V
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem3 k  m. p0 A9 G6 _( P! ]) c
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ) Z. x3 a* G+ d. U6 C: v, {) n
  1901. ; not specify a value for this directive as PHP will attempt to use the. T3 n; ?9 `. G" d
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    ! U( ]* P# y/ J% A# w( A: l
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    $ @4 ]% F7 `3 ]# Y) f
  1904. ; option.
    : s- [' [( D7 ~$ s8 O8 o8 U
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    : u! r. Q. I( ?8 f

  1906. % H! h+ ~4 i$ _$ M
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    % G$ {& v8 X. Q  Q
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    $ j) C. G* u+ q" e, r. [* O1 X
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    : @) _: l8 C7 s- d
  1910. ; Most users should not specify a value for this directive as PHP will
    4 Y) z2 e" W, g
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified," T. \3 r" r$ q3 V1 R
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    * w! e, b8 O$ w& S' \5 _; @
  1913. ; SSL stream context option.
    9 j" X2 D7 v- H/ g- J
  1914. ;openssl.capath=
    ) P5 ~" q+ A  S: A

  1915. ! i6 Q* s5 u4 {) O% z6 A; f
  1916. ; Local Variables:5 l7 |" s+ O' R% \, c9 E
  1917. ; tab-width: 4: h! B4 g4 _# C7 b
  1918. ; End:; @8 r( W+ O" @9 S* O

  1919. 0 c6 ~  T. e/ }, K' s4 H+ w
  1920. ;eaccelerator
    * j. L6 g7 X, V: p& t6 I3 R6 T

  1921. 1 S' g% q- f+ Z" S: u* H( H1 l
  1922. ;ionCube
    8 Z4 M( ^1 v2 H, }) {! Y

  1923. + `2 C) @% r( o4 n3 P2 W/ e
  1924. ;opcache
    ' M) b& o$ _; Z0 {
  1925. $ Y0 S/ |# \9 l; n2 y: M
  1926. [Zend ZendGuard Loader]
    7 \; D* j  X1 |- T5 `
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    # t+ w# W0 x0 q
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so6 G0 c- G. M8 A1 \$ [
  1929. ;zend_loader.enable=1# M+ |# K+ s+ N) U
  1930. ;zend_loader.disable_licensing=06 h- X$ `% I5 y- U, E/ \0 c
  1931. ;zend_loader.obfuscation_level_support=3
    ( O# x9 L- V$ E5 ?, _  `
  1932. ;zend_loader.license_path=9 Z6 z) ]8 D, i3 x7 T
  1933. ( ?) _+ F2 D& ]
  1934. ;xcache8 K. y. B! M% X

  1935. ' g" Y! ~1 y8 @# _. [/ P
复制代码

' f! `7 R+ \' @* K: S% X  ^
$ u8 ^# P- E4 s9 p7 }. S/ a
" @: G5 j, c3 t  c" f0 }! G4 A1 y  v+ s: q- ?' Z1 P1 ^

2 f+ s- W4 L% J4 ~( ^4 x$ E2 N$ d# a) n8 |/ W8 d0 ?

; K* w" \1 j- O% L/ p6 }PHP5.6版本原始设置" B, M) [4 D2 O! s5 m

+ x, E0 u# {/ [& B2 x
  1. [PHP]7 Q. ?2 S4 j6 F7 [9 P# G
  2. 4 d/ I& @. p; @* L" w& }
  3. ;;;;;;;;;;;;;;;;;;;
    # T$ j5 {+ `# m
  4. ; About php.ini   ;* T* v# {/ E# A3 {
  5. ;;;;;;;;;;;;;;;;;;;
    8 ~/ v2 j4 t% r. r6 O  c9 M4 r  U' d
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    & w$ \' e9 ~( L, F, T# w1 `
  7. ; configuring many of the aspects of PHP's behavior.
    ; X% z& d' A5 Y$ J) p. F( O
  8. & a% X/ k8 y, L4 R1 a6 Z
  9. ; PHP attempts to find and load this configuration from a number of locations.) G0 r2 X' X4 x$ y, F, B' M
  10. ; The following is a summary of its search order:
    . H; r* z/ I" m0 z) q0 g& U" w* q
  11. ; 1. SAPI module specific location.
    7 C0 m0 @( q% l. p9 p$ s
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ) Y* w# ]* U5 m" ]) t6 R, N& p
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)- c, ?& x9 ^" r( u/ g
  14. ; 4. Current working directory (except CLI)
    % B! u/ h# E/ v% |9 H% W4 j, x$ n
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP+ o) {. G1 X) i. `6 I6 ^2 w0 a% z4 h
  16. ; (otherwise in Windows)
    % o) Q3 m( M, D- e8 a9 z/ t
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    % \! j: x/ f2 _1 ?$ z
  18. ; Windows directory (C:\windows or C:\winnt)) g+ Q# y9 u! {6 y1 E6 L
  19. ; See the PHP docs for more specific information.
    # x  @5 {- \0 l5 _4 G3 a8 \$ O1 H
  20. ; http://php.net/configuration.file! A* u4 h% k2 [/ ~
  21. 8 J  ?2 y6 l( l! `
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ; x0 ]/ i1 W2 E. J" h
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).- Y! P, P4 @0 g0 @0 e/ L- m
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    & {6 r; x& x- z8 @8 |0 b9 Y( d
  25. ; they might mean something in the future.: I. h7 ^. }5 j7 G
  26. : c9 s9 C/ s3 Q# \* ^( E* x
  27. ; Directives following the section heading [PATH=/www/mysite] only
    $ P9 b& T( b7 ^9 j0 S$ y* t+ N: }3 ]8 G
  28. ; apply to PHP files in the /www/mysite directory.  Directives7 {2 K5 p; Y) ^( i
  29. ; following the section heading [HOST=www.example.com] only apply to
    " Y- W: A7 Q. H/ S7 j3 F  K
  30. ; PHP files served from www.example.com.  Directives set in these
    0 r: b5 \2 P' x4 n6 h1 j
  31. ; special sections cannot be overridden by user-defined INI files or
    6 C8 E% `" ^/ c
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under6 u$ d0 C) p& l% {# Q9 H) I
  33. ; CGI/FastCGI.
    8 @/ i0 v. b  e5 E; ?+ P" g
  34. ; http://php.net/ini.sections. C  p' K+ A( K1 }

  35. ' G! S; U( _4 ]& Q
  36. ; Directives are specified using the following syntax:) `! p2 ~0 h( i
  37. ; directive = value
    8 I+ h9 }# \4 \
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.9 Z. r; t% L  \  Y- r) ]
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ' h0 v' m* v7 O4 [
  40. ; There is no name validation.  If PHP can't find an expected0 T5 F4 o& z7 V: U
  41. ; directive because it is not set or is mistyped, a default value will be used.( e% o. T, N7 Z4 _0 Z! d5 }" r. Z

  42. 0 i0 [6 D1 i0 c
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    * p* S. c' T% J: c4 |& x
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression8 T# b$ K& V  x& A' L. _6 ]
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a4 M7 J/ u0 y. j0 @8 O7 ]! J
  46. ; previously set variable or directive (e.g. ${foo})5 R% a! r. O, N9 P; o9 ^! x9 p/ k$ O
  47. % \9 C9 w# S3 q
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:3 {2 L0 x+ _6 k2 D/ J- A0 c1 u
  49. ; |  bitwise OR
    * T! [8 b+ o1 f
  50. ; ^  bitwise XOR" X, D; O7 R6 W$ N/ [, e
  51. ; &  bitwise AND2 F6 @" s) P7 c# B- F7 Y" D& X) S; l
  52. ; ~  bitwise NOT& e' d3 t: Y' Q* M
  53. ; !  boolean NOT  b9 j$ t, D; l+ F7 }1 r9 O
  54. + L. e7 y. j- u5 r& O! _% d
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    & R( }7 z* k2 B1 c
  56. ; They can be turned off using the values 0, Off, False or No.
    : L/ |9 V8 V# z# y

  57. : j) Q$ b7 r' d6 ~
  58. ; An empty string can be denoted by simply not writing anything after the equal0 F  i- H0 q' v+ m9 j- w
  59. ; sign, or by using the None keyword:  V  i, I% m- q5 t( z' P

  60. + A# S" {- m# j
  61. ;  foo =         ; sets foo to an empty string
    + f" I/ ]) b$ i+ }# g
  62. ;  foo = None    ; sets foo to an empty string
    * i. W9 [5 ]! B7 ?. w, A) t# o
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ! ^1 O6 S% y( Y1 F

  64. 6 x5 c0 T' z, e6 p' D1 T
  65. ; If you use constants in your value, and these constants belong to a8 z* ~0 J6 {; B  c- Y4 ]5 O
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    9 z5 w+ H) V, _. _% u* R
  67. ; you may only use these constants *after* the line that loads the extension.8 G% G6 N- I& o
  68. ) c" `8 U- Q% H" n" k' i7 O3 o5 u
  69. ;;;;;;;;;;;;;;;;;;;+ G0 |& s$ s, v/ y! v
  70. ; About this file ;
    , A' z+ A" {2 b9 y! {
  71. ;;;;;;;;;;;;;;;;;;;! o- X; Y: n# m$ F, r6 [/ H6 j4 o3 B( U
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    / W3 T  x+ \3 k+ Y6 \: |; E
  73. ; in production environments and one that is recommended to be used in% d( O2 P  C8 X3 z, l  p
  74. ; development environments.3 d6 k8 F$ Y& g4 p

  75. 7 {+ J  }4 a& M' V1 {1 @; p
  76. ; php.ini-production contains settings which hold security, performance and
    ( \4 C) p) e* T3 @  |
  77. ; best practices at its core. But please be aware, these settings may break
    1 c  G: [" n. m* M' I' g
  78. ; compatibility with older or less security conscience applications. We2 k1 J' e9 D% D7 p  Y; u
  79. ; recommending using the production ini in production and testing environments.4 c& d2 C& \$ t) x

  80. 4 {& c/ ^  _/ o
  81. ; php.ini-development is very similar to its production variant, except it is( d2 E  U8 b& E0 K  z, a
  82. ; much more verbose when it comes to errors. We recommend using the9 a) _, c+ i4 G( K0 f9 X( v4 Y; Z
  83. ; development version only in development environments, as errors shown to  _$ d- p! u! P: h/ ]
  84. ; application users can inadvertently leak otherwise secure information.- O) @" q8 a8 _; C
  85. 1 ~+ k/ A8 J0 W; h, m; i# p
  86. ; This is php.ini-production INI file.$ ?/ f- A0 |" W6 ]9 v) o4 o" h

  87. 4 M& H3 F6 G2 R% v5 D9 Z! J! J8 k
  88. ;;;;;;;;;;;;;;;;;;;
    & l, T/ T) Z; K7 g8 g% R
  89. ; Quick Reference ;1 H( Q, b, G" L) L( E4 g
  90. ;;;;;;;;;;;;;;;;;;;1 [5 c' n% y( M, q
  91. ; The following are all the settings which are different in either the production
    ( A6 \# A" v8 W! }8 ]: V5 |4 v+ D5 w
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    % _4 _0 U: E7 D7 Z; h4 |6 M
  93. ; Please see the actual settings later in the document for more details as to why) Q: ?: r1 Y& q! `. O% r, A
  94. ; we recommend these changes in PHP's behavior.) R' e9 i* S8 o; p/ L2 ?
  95. " N5 M! K* d8 F8 \5 f8 Q- Q
  96. ; display_errors
    : w/ _) M5 e: p* {
  97. ;   Default Value: On
    2 n( z1 G; p, g8 D& G) k7 A
  98. ;   Development Value: On
    9 r) x1 V0 `7 [- @' O- V9 e# a
  99. ;   Production Value: Off
    ) C3 p4 A! A' B6 h
  100. " s+ F. j7 C$ D5 i+ H
  101. ; display_startup_errors
    ' c. F. V( Y8 `8 r+ S
  102. ;   Default Value: Off/ l, \1 E& G, P
  103. ;   Development Value: On4 E5 [4 ]3 w/ O
  104. ;   Production Value: Off: d  U: @) Q( t" A
  105. 2 b) D2 A1 ?) L# p" v) P
  106. ; error_reporting
    * |  W: g; g8 U2 T7 G  X
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED5 ?/ Y$ |- F4 A8 V7 f
  108. ;   Development Value: E_ALL
    % h% w: y0 o* |' p: B; n* A# t) q
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT5 Z( o' j# w" |0 A: L" P
  110. . ^% G* V. n% [9 D! c
  111. ; html_errors
    / x" _$ ?7 u" I& B. S' n+ ^" r- _
  112. ;   Default Value: On. `1 a" o  ]. z. V, W7 V/ C
  113. ;   Development Value: On
    : j: T6 m' w4 z2 s/ w2 W$ ?. j
  114. ;   Production value: On
    7 k6 c4 b3 @4 X8 N7 S

  115. 9 e' U' |( z2 S2 Q1 L7 J
  116. ; log_errors- H  _( R$ X' p* }0 R
  117. ;   Default Value: Off/ R3 Z) }: c4 }+ N/ c) Y" [
  118. ;   Development Value: On% Y: p. k& k  k( J) Q, p- S
  119. ;   Production Value: On
    , \  t1 A2 @$ Y/ i( L' u! C2 D( R% w
  120. 8 ?/ U$ |( v; |, X
  121. ; max_input_time
    : x  g; c# x: F. b  e9 B
  122. ;   Default Value: -1 (Unlimited)9 C9 \! B  e9 d. ]# _0 W. c
  123. ;   Development Value: 60 (60 seconds)1 C7 _2 B( W- ]2 Y/ q) B
  124. ;   Production Value: 60 (60 seconds)' d0 W* A9 y- E" g- H% p( e
  125. ) A: j6 }* g! x* _
  126. ; output_buffering$ }* G! ?: h8 f* ^. Y2 m
  127. ;   Default Value: Off
      q3 J2 D0 D. H: u* N$ Q
  128. ;   Development Value: 4096: \) {2 x2 L9 S! _0 o. _
  129. ;   Production Value: 4096
    4 n8 E2 k- y9 D$ H0 |. _
  130. 2 ?1 a7 E* ]2 @$ Z7 [& Q7 a* K1 Y, L' ?
  131. ; register_argc_argv
    " ~  W$ B) R" j
  132. ;   Default Value: On( s4 V. l: O% ]! ~# k1 Z1 ^
  133. ;   Development Value: Off
    # |: i! N" }, b: f
  134. ;   Production Value: Off
    0 ]( f: `0 i# U  i$ |

  135. , t* c7 G: L9 ]/ J5 ]- t7 s
  136. ; request_order2 R: _7 q. ^# D( p4 M
  137. ;   Default Value: None8 m8 o% r: a& C
  138. ;   Development Value: "GP"
    8 g$ e/ N8 y% D) K* Z; G  o
  139. ;   Production Value: "GP"
    / [6 Y: M- _9 W6 [' q

  140. : @, d; R. E5 p# v4 z" B
  141. ; session.gc_divisor
    / x7 z3 n4 I8 F2 i) @
  142. ;   Default Value: 100
    0 S# ]/ b! T8 j, l' x
  143. ;   Development Value: 1000/ D' u" k& M& D& J: F) @
  144. ;   Production Value: 1000
    + t2 L  t8 a1 S/ f! j2 G( e
  145. ) y! [5 M' k5 ?2 B0 x2 r
  146. ; session.hash_bits_per_character! N- A& d9 ^3 c" @9 h  i1 T# {% ?- I
  147. ;   Default Value: 4( S- J& A; m/ {: \
  148. ;   Development Value: 5
    & U3 b% w5 p( y+ X6 X7 G% A1 f
  149. ;   Production Value: 5$ x' D) H# l* H3 c) @
  150. ! ~/ n! n" e8 U5 d
  151. ; short_open_tag
    5 P! Z# R/ t# d; r2 Y# y
  152. ;   Default Value: On( v" H" R/ n" Q8 F/ g+ g+ H/ ?2 g1 W) o  a
  153. ;   Development Value: Off; s& \1 E! q: j! w& d! s
  154. ;   Production Value: Off
    ! `, Z; e" P9 y0 e3 B' F: }

  155. % w0 G+ Z. A& d+ t* \! U
  156. ; track_errors4 h& d1 S! z3 L/ O9 \- f$ F
  157. ;   Default Value: Off
    . y, {; D+ R7 s5 Q
  158. ;   Development Value: On
    6 Q* e6 \5 |+ p. E* B
  159. ;   Production Value: Off
    % Q; Y) B# V" H3 i

  160. % r! l( v6 ?7 c
  161. ; url_rewriter.tags  T. _6 {: i: b2 r7 g) Q5 A9 `9 O
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    * z1 o7 d* D: B0 E$ k' S  Z
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# f9 w. e4 n- \$ l& H
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry", [( O2 w0 ^; u$ W
  165. / I% x3 i% ^! n, O0 I2 K
  166. ; variables_order. h$ s, @) z$ Y4 Z$ S$ ?2 W
  167. ;   Default Value: "EGPCS": t" k! M6 Y& ^+ h  N) I2 z
  168. ;   Development Value: "GPCS"
    2 z9 b- l! h1 f$ g0 v
  169. ;   Production Value: "GPCS"
    3 z; X8 x7 z6 @! l$ i  `2 k
  170. : z8 g2 u2 x9 r$ G( B$ L. z
  171. ;;;;;;;;;;;;;;;;;;;;
    / l4 j( C% `; g, c
  172. ; php.ini Options  ;( `* l7 {+ U& k! [6 H" d
  173. ;;;;;;;;;;;;;;;;;;;;! n% V" M* f* a) W! _* d% Z
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ! s' a. j0 q6 p2 C# R
  175. ;user_ini.filename = ".user.ini"( B2 F4 q3 |0 ?. u/ Q6 K

  176. # {" _: N- s2 W) v2 f) M( ]
  177. ; To disable this feature set this option to empty value/ W, o/ B5 a, u$ @
  178. ;user_ini.filename =
    , [( F; J$ b% s. [# \9 m( i4 y
  179.   B4 g5 T, d" J
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)$ r# f$ X1 i# L5 `, Y
  181. ;user_ini.cache_ttl = 3007 S6 @% P4 S8 b( r  F% ?
  182. ' c  v4 u: S$ Q2 _- _% Q( [
  183. ;;;;;;;;;;;;;;;;;;;;
    ) r, m6 P2 b' Q" s1 Y* n4 M1 Z9 y
  184. ; Language Options ;
    + z4 \# F& y4 i# j( E
  185. ;;;;;;;;;;;;;;;;;;;;
    / V( ?9 l) E' m3 k* u6 R! s. w
  186. ) N, }8 c* o3 a% p+ K$ V0 n! W" G1 ]) e
  187. ; Enable the PHP scripting language engine under Apache.4 z* g% I+ Y; K' Q
  188. ; http://php.net/engine
    % R8 ?1 W" r+ ^7 s  q
  189. engine = On
    * i" C. S3 B3 B1 x/ @/ A
  190. ; Y, f; B( D. X, l7 K
  191. ; This directive determines whether or not PHP will recognize code between+ r" d% A+ N  `8 T4 M' e7 l
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    , Y/ ]8 T& Y, z6 [$ P3 H) d; s  m
  193. ; generally recommended that <?php and ?> should be used and that this feature) @, s/ f* L( |  z: T
  194. ; should be disabled, as enabling it may result in issues when generating XML' u+ ]* v: u4 Y$ H, H# Y
  195. ; documents, however this remains supported for backward compatibility reasons.
    & f9 o3 t! V& l' v
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    $ J3 A$ ]! d+ o2 L
  197. ; used regardless of this directive.* m6 Q2 ~2 X5 N
  198. ; Default Value: On3 x' o  q2 a( ^& w) C
  199. ; Development Value: Off
    : j" G  U; I5 J# J: Q
  200. ; Production Value: Off4 O$ F( Y2 D: [% M
  201. ; http://php.net/short-open-tag
    . d" S+ Q) [# [
  202. short_open_tag = On! c" K& O- Y1 S0 i
  203. , p  J: ?# n7 A$ e4 e4 k% s" Q/ e
  204. ; Allow ASP-style <% %> tags.$ |2 A- I: o* j
  205. ; http://php.net/asp-tags, y+ x# n, W3 z9 Z( V
  206. asp_tags = Off# N: x9 Q. k) I5 E+ d( G

  207. . [  q. S. x6 Z5 ?; R
  208. ; The number of significant digits displayed in floating point numbers.
    : X: R* f, [; W
  209. ; http://php.net/precision% H% N- T5 n6 {% J9 |3 ^
  210. precision = 14$ [+ z  [/ I9 f, h( [- I5 p

  211. # |( J' P- Q. Y  j6 q
  212. ; Output buffering is a mechanism for controlling how much output data
    0 g$ y9 W, W+ i! Y  d: h
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    . w3 t' d% I1 W( |; \# ]1 G* j, s
  214. ; data to the client. If your application's output exceeds this setting, PHP
    4 ?: f7 S- ~, X7 v+ p
  215. ; will send that data in chunks of roughly the size you specify.
    8 Z6 D; c; v0 @* g2 O3 }0 j
  216. ; Turning on this setting and managing its maximum buffer size can yield some! \9 s) c1 J: K1 }! \
  217. ; interesting side-effects depending on your application and web server.# }$ k/ p( C5 @3 @
  218. ; You may be able to send headers and cookies after you've already sent output/ ^& u  q8 `" D9 d! L
  219. ; through print or echo. You also may see performance benefits if your server is
    ( y5 M" @1 p& M4 V+ o
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    $ h9 w- x& g7 p" P/ F3 w1 d, D
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance- k6 N7 H$ i' t/ U6 }
  222. ; reasons.
    4 |9 L: A# R! Q$ D2 O. R2 o
  223. ; Note: Output buffering can also be controlled via Output Buffering Control! b3 o6 X( @& C9 z
  224. ;   functions.2 f( c0 J3 X7 t* `' \7 V: l- N6 o
  225. ; Possible Values:
    / o# l8 G3 i8 h% c4 w- D  b" Q
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    # J" p( |$ C9 a# x- \& H
  227. ;   Off = Disabled
    1 [$ b, k0 Y' A/ d
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    $ ?& o# w7 S! ?- J+ w1 `
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI+ _4 V, c% D- D: G1 F
  230. ; Default Value: Off2 _  h3 ?; S7 S
  231. ; Development Value: 4096& L7 D8 I; j+ U* C1 D0 I
  232. ; Production Value: 4096
    9 u6 m5 o% s# Y
  233. ; http://php.net/output-buffering
    $ o9 w2 Q0 V3 g
  234. output_buffering = 4096: v8 k, K) [. }4 E

  235. ' W; i1 G7 L' W) Y' ^% S
  236. ; You can redirect all of the output of your scripts to a function.  For6 J# I% P1 r6 N
  237. ; example, if you set output_handler to "mb_output_handler", character$ v+ `- S. F& A% }
  238. ; encoding will be transparently converted to the specified encoding.0 x4 b7 X$ E( {4 j- E& t
  239. ; Setting any output handler automatically turns on output buffering.
    - K7 g; O$ J2 ~1 `! q% n2 k
  240. ; Note: People who wrote portable scripts should not depend on this ini
    : r, S' e  G' N* S
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    . J3 j0 \$ S1 o* u) E2 ~1 w+ ~
  242. ;   Using this ini directive may cause problems unless you know what script
    0 l$ Q$ b! J; f
  243. ;   is doing.% N0 O! q; M) J' i6 T# S/ z
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ' o& s0 ~) }2 ^. p# O+ E
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".4 o, Z2 }3 l9 s
  246. ; Note: output_handler must be empty if this is set 'On' !!!!% H0 ~: H3 K8 J! y' u: `
  247. ;   Instead you must use zlib.output_handler.
    3 e: G7 c) z" o
  248. ; http://php.net/output-handler
    ! ]: @- G$ t. ]' {7 @6 w/ w
  249. ;output_handler =: a# |! R% `/ t; m, ~- t- h

  250. ' ~4 P; H* C% A+ V5 x
  251. ; Transparent output compression using the zlib library6 k+ [# `2 W* }6 Y: O/ l: D/ ]. i
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size+ z" z, P0 ^4 Z! y2 [
  253. ; to be used for compression (default is 4KB)! A6 y6 h" R  |0 _0 O; q
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP* l: f: W9 c" j4 l2 x7 ?! c2 L
  255. ;   outputs chunks that are few hundreds bytes each as a result of6 T. D9 Y3 O. s5 O3 K: P; W: b
  256. ;   compression. If you prefer a larger chunk size for better
    , J, W' \( ]. \( U
  257. ;   performance, enable output_buffering in addition.' j' S1 m9 E1 T3 N! g* i% p
  258. ; Note: You need to use zlib.output_handler instead of the standard+ g) p' ~8 e5 d+ A  }( |7 y
  259. ;   output_handler, or otherwise the output will be corrupted.
    ) b  z- }$ R2 m8 Y$ \( c) d
  260. ; http://php.net/zlib.output-compression
    ) C  M7 i+ r: o( \
  261. zlib.output_compression = Off) m+ G" d7 l: `* L$ C
  262.   _& h* z  F- N5 n0 c
  263. ; http://php.net/zlib.output-compression-level
    / O: G4 S5 M" g$ e  I
  264. ;zlib.output_compression_level = -1- q! w" u6 e* {1 f4 h$ E9 K9 [9 i
  265. # u6 R" n0 v; H( F2 R) z# T
  266. ; You cannot specify additional output handlers if zlib.output_compression/ Q( t* c! o( c( V/ R/ c1 _
  267. ; is activated here. This setting does the same as output_handler but in2 E6 H( R5 h# W/ A
  268. ; a different order.: ?  ~# P3 W/ G
  269. ; http://php.net/zlib.output-handler3 c" Y1 U* r8 D1 W0 _7 [
  270. ;zlib.output_handler =
    ' @! k& }& H+ O( l( @
  271. " ?, C: f' o  Z* R7 S- U6 l
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    4 p6 d8 s) l9 ^- i1 @& b+ V; ]
  273. ; automatically after every output block.  This is equivalent to calling the- |1 N. M6 I( `1 j
  274. ; PHP function flush() after each and every call to print() or echo() and each% \+ w: M7 v! G. @% ~7 H' T
  275. ; and every HTML block.  Turning this option on has serious performance! P% s" d! j2 ?) y
  276. ; implications and is generally recommended for debugging purposes only.
    4 e% ~4 i1 }% Z! y7 ]4 D
  277. ; http://php.net/implicit-flush* t2 @* s) }0 A5 A6 Y
  278. ; Note: This directive is hardcoded to On for the CLI SAPI' G) J& ]. S0 j5 {8 ^" e
  279. implicit_flush = Off
    0 a# f4 I9 _, x8 z  X; _' E

  280. . L: I5 B6 y1 K2 F& z# v) G
  281. ; The unserialize callback function will be called (with the undefined class'& N5 m" ~- l/ l
  282. ; name as parameter), if the unserializer finds an undefined class9 z/ U8 _  T0 b' n5 g
  283. ; which should be instantiated. A warning appears if the specified function is
    * J* o- B8 V2 [. q7 Q$ B
  284. ; not defined, or if the function doesn't include/implement the missing class.% V$ G  z! P8 Z6 A; S; L% H
  285. ; So only set this entry, if you really want to implement such a
    - C- w8 W- L# e( `
  286. ; callback-function.
      z' L$ A3 D" z  `; v
  287. unserialize_callback_func =
    8 B4 ?: s! c' p) G, R) T! M4 q; y
  288. # E! a; m8 J) p( ?2 r3 n
  289. ; When floats & doubles are serialized store serialize_precision significant( A' F* v0 B; G$ v1 w! M1 f% Q( t
  290. ; digits after the floating point. The default value ensures that when floats
    2 r- L/ [& k' e" w5 u8 t
  291. ; are decoded with unserialize, the data will remain the same.
    . a9 g# W( y/ D& E
  292. serialize_precision = 17! _/ C" W! x% J- ~: v' y

  293. 7 W. t+ i9 T5 R
  294. ; open_basedir, if set, limits all file operations to the defined directory
    5 ]4 e& ~% x' x! e* d7 B
  295. ; and below.  This directive makes most sense if used in a per-directory
      Q# Q, w% J  K6 m- P: }* Q
  296. ; or per-virtualhost web server configuration file.$ u( p* T, ?" Q5 p
  297. ; http://php.net/open-basedir
    ; w( H; S+ a" [
  298. ;open_basedir =
    , R3 N! y3 G5 F1 |+ U% C+ ]8 B* n$ ]

  299. 5 P; b% |  ^0 A
  300. ; This directive allows you to disable certain functions for security reasons.7 L/ u' V) V) p! D% {) n/ U
  301. ; It receives a comma-delimited list of function names.* K7 }' f* w6 g$ C$ S
  302. ; http://php.net/disable-functions; K3 Y% s: N# o  ^) L
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru' P# N8 v( F, M. z- |9 s
  304. 4 i3 u4 O8 j/ W$ {
  305. ; This directive allows you to disable certain classes for security reasons.% k0 {( \( q* R# W, R& Z8 K: o! f
  306. ; It receives a comma-delimited list of class names.
    & B" a& ]) P$ @8 U3 p4 f
  307. ; http://php.net/disable-classes
    3 p. U5 }3 G' T9 ]1 H2 M3 \4 _
  308. disable_classes =. O; y' u0 i" l/ I$ I2 i  [7 N9 I
  309. 6 u% q  s* t' C! I! Y
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in5 F) Y9 l4 E; ]) K2 {' t9 K
  311. ; <span style="color: ???????"> would work.
    ) s/ B4 J' ?" g- x2 ]% ^# W( ~8 j
  312. ; http://php.net/syntax-highlighting5 a: K4 X, ?! y! b
  313. ;highlight.string  = #DD0000
    2 G4 K- v; O1 Q8 |. P9 Z
  314. ;highlight.comment = #FF9900! @3 r; ^/ s' q; o
  315. ;highlight.keyword = #007700
    # A9 c+ X5 u5 T4 t1 F$ g: n- b; f/ K
  316. ;highlight.default = #0000BB1 T7 ?: v5 R' q6 t0 ?& t
  317. ;highlight.html    = #000000# p: O9 Q5 y- c0 |) L1 A& y( X: m; L
  318. + O* B) ?# B' }- R2 Q; V, k1 b
  319. ; If enabled, the request will be allowed to complete even if the user aborts% e( B6 ~7 I; e9 m/ s2 p
  320. ; the request. Consider enabling it if executing long requests, which may end up
    + A( `3 w/ L8 J  p
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    + a& H9 A" J1 x; V% g  Z. q' _
  322. ; is to disable this feature.  @+ b7 Q1 o: H# Q5 c
  323. ; http://php.net/ignore-user-abort
    & ^) J! X* b$ X. ^! u4 y
  324. ;ignore_user_abort = On
    & g' e5 O+ I/ n. D" f+ i# B
  325. % f7 ~4 q8 g7 D- Y1 l% P
  326. ; Determines the size of the realpath cache to be used by PHP. This value should- t- K7 Z- P% t+ z: I
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    . F6 O# K) {# L# o6 u; R3 l
  328. ; the file operations performed.& e! K3 T: E( \5 u4 j. d, w1 N
  329. ; http://php.net/realpath-cache-size2 z. ~9 `" v( N# s
  330. ;realpath_cache_size = 16k
    " S# l( H3 K- ?, q- b

  331. ; V* h: H' }$ r, E8 ]
  332. ; Duration of time, in seconds for which to cache realpath information for a given0 N7 ]1 r2 {# p3 m6 g( m
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    ; N% c, |" p- t, v; Q
  334. ; value.
    ! |9 t) Q. F1 H! L* w$ P
  335. ; http://php.net/realpath-cache-ttl8 N+ X6 Y' o, o
  336. ;realpath_cache_ttl = 120
    2 v+ G) O; n4 o+ e, y( U% O
  337. & @7 K0 l7 z  q) [9 p9 v
  338. ; Enables or disables the circular reference collector.* B) W4 W: j1 x8 D8 N6 g8 X6 j
  339. ; http://php.net/zend.enable-gc3 A. V  Z$ c5 J
  340. zend.enable_gc = On
    - F8 t( a. q3 ^: a7 O
  341. ) e6 Y; Z% e( a% |! U+ X5 t3 c
  342. ; If enabled, scripts may be written in encodings that are incompatible with6 @5 Q& B  [' I: y
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    7 V6 f, R+ }0 c% R2 F" z' c
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    5 n; H0 o+ _+ a% K7 D: Z5 }
  345. ; Default: Off- j& t% M% \2 X( n  P
  346. ;zend.multibyte = Off+ i* G6 f! ~/ r9 n, K

  347. # h# I0 g* \/ P
  348. ; Allows to set the default encoding for the scripts.  This value will be used( [( C2 M6 b4 s4 ]
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ' `% u/ t* n( |: p
  350. ; Only affects if zend.multibyte is set.  R# a6 Q4 R8 u/ n) g" H- Z- O
  351. ; Default: ""
    ! ^9 C* z+ Q3 r/ j7 `
  352. ;zend.script_encoding =
    / e$ ^8 Q9 k, m6 V+ c
  353. ( w  M# E  \. r7 I
  354. ;;;;;;;;;;;;;;;;;
    ( ?% Q9 p1 g: I: H' p
  355. ; Miscellaneous ;, H: l9 E) _4 ~$ _, G. \, D% N
  356. ;;;;;;;;;;;;;;;;;; t! ~8 X4 J0 ^' d# `$ q7 L
  357. 6 r7 B1 a* t& Q& b
  358. ; Decides whether PHP may expose the fact that it is installed on the server8 Y4 @! g- C4 q# g
  359. ; (e.g. by adding its signature to the Web server header).  It is no security7 v0 q' V/ F+ y) N/ ^  @
  360. ; threat in any way, but it makes it possible to determine whether you use PHP8 u% K- |2 Z; t
  361. ; on your server or not.& M% e- d  s, x7 x
  362. ; http://php.net/expose-php
    9 F. ~- Z& S3 v4 J
  363. expose_php = On0 _5 ~+ W2 v& l1 E+ o' n
  364. 4 X( X. J3 `. h, w) o$ c
  365. ;;;;;;;;;;;;;;;;;;;. i- C/ ?6 w7 f) ?( l3 |! t
  366. ; Resource Limits ;
    4 B6 J- R( P! b: ~) H
  367. ;;;;;;;;;;;;;;;;;;;
    ! m$ T; g* \! @$ w

  368. ; B( t% q# a$ i! F8 k, ]
  369. ; Maximum execution time of each script, in seconds- G" w( Z- q, J1 B1 g6 |
  370. ; http://php.net/max-execution-time6 g6 Y" A3 o: U% ~: w
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI4 ]; n' {  u1 z* Q2 I0 o1 v
  372. max_execution_time = 300  j/ J5 ]) f: m* _

  373. ) I+ `/ i5 [  u/ Z
  374. ; Maximum amount of time each script may spend parsing request data. It's a good  @; }# }$ s- z) I5 a% m8 I
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    7 Z* q1 D: n; N  F3 ]3 `# p, `
  376. ; long running scripts., H3 D6 m/ H% G5 i
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    6 D5 ^" P1 S5 I  N( A0 g
  378. ; Default Value: -1 (Unlimited)
      p8 s' l/ D0 l+ K
  379. ; Development Value: 60 (60 seconds)
    7 k; F/ c) N/ W1 O) u2 }
  380. ; Production Value: 60 (60 seconds)# y; h; x9 f5 f0 C
  381. ; http://php.net/max-input-time
    . p- F) I" u: g8 l, S9 ?
  382. max_input_time = 602 t5 L; P. ?  F: g% j
  383. 1 u( H2 H7 E2 N5 p/ ?. H9 M  a
  384. ; Maximum input variable nesting level4 v# C: [" }* e2 J; S0 P5 c1 E
  385. ; http://php.net/max-input-nesting-level( t$ d2 z% a6 V; R% l2 G6 P6 e
  386. ;max_input_nesting_level = 647 r/ c. @1 y+ b

  387. 5 d: d9 A1 s. h3 Z& c2 Z  c/ }
  388. ; How many GET/POST/COOKIE input variables may be accepted+ P" c* i6 K8 c$ K
  389. ; max_input_vars = 10002 u% d2 L2 y+ @. f) i

  390. , w% h7 p! x( y& b/ T. |8 m4 B
  391. ; Maximum amount of memory a script may consume (128MB)1 _. [7 y  M7 t5 f3 `
  392. ; http://php.net/memory-limit
    2 {/ }* O1 ]$ N& C
  393. memory_limit = 128M, R$ u3 w1 ^5 |! q  r( M# ^  N
  394. / n8 B2 K- c, i8 x6 m) ?
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;& |) X# X( Q/ b
  396. ; Error handling and logging ;: \8 H+ X1 Q5 X. G; b4 x' L5 C7 G
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ( T( A4 e6 ~3 w& p" R: h

  398. 9 F% g% B" O$ I
  399. ; This directive informs PHP of which errors, warnings and notices you would like- s% ]2 }7 a1 m8 g; b
  400. ; it to take action for. The recommended way of setting values for this
    - O! i7 r# v+ r% @: B# J$ m
  401. ; directive is through the use of the error level constants and bitwise
    : q) X' a) S4 Z, k) t
  402. ; operators. The error level constants are below here for convenience as well as
    3 o" e) ?8 U9 Z3 x  }! ?+ ^# X
  403. ; some common settings and their meanings.
    ! A# w( _3 K1 `, [- o6 P- s, c
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT4 K7 G" }0 e' ?: L
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ! c" r$ i) q4 F% H
  406. ; recommended coding standards in PHP. For performance reasons, this is the6 {1 P5 l* [( J" y8 T$ l6 ?
  407. ; recommend error reporting setting. Your production server shouldn't be wasting9 `# g- X. f$ M, ?' C. n7 b( x
  408. ; resources complaining about best practices and coding standards. That's what
    4 R/ M: B6 n$ H4 R# b
  409. ; development servers and development settings are for.
    . l  Z. `' g  G
  410. ; Note: The php.ini-development file has this setting as E_ALL. This) j) w" h9 V# T
  411. ; means it pretty much reports everything which is exactly what you want during
    % N9 v9 l# Y6 R+ g% r
  412. ; development and early testing.  t2 H* {$ ^+ I
  413. ;- s3 ?, {$ V3 z
  414. ; Error Level Constants:) C6 U+ Q! m3 S
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    3 x9 w0 F3 n+ |) F! Q) Z" K
  416. ; E_ERROR           - fatal run-time errors4 s# z5 j' E4 W4 Y2 S/ W# K$ a
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors, ^9 L! v5 m( q# ]
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    : `4 J, \2 i% f/ G/ d( P, L* c
  419. ; E_PARSE           - compile-time parse errors
    0 t  |. [# @! S" s
  420. ; E_NOTICE          - run-time notices (these are warnings which often result% D7 f6 M( P4 @- R( g! l6 r! k
  421. ;                     from a bug in your code, but it's possible that it was
    0 o) V: @6 A# m4 `" j) {# |
  422. ;                     intentional (e.g., using an uninitialized variable and8 R& u" G# L: j/ L) `
  423. ;                     relying on the fact it is automatically initialized to an  N4 w' [1 x% p: `
  424. ;                     empty string)
    7 t6 h# {; B# C0 ~& L& W
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes6 d- T8 r2 Y. G9 t' `; R0 a
  426. ;                     to your code which will ensure the best interoperability
    6 i) D* Y6 \% d1 S* [
  427. ;                     and forward compatibility of your code
    ; j8 w# o+ z% ~2 l7 z  i6 A
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup( z6 Q! W3 w6 q% O" S
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    4 N  z3 X! b0 E( \5 q5 C; A
  430. ;                     initial startup
    / y/ E, C+ U) Y$ L8 ~
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    % s9 T! _' m. ?8 i& a
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    1 a! c6 l: A1 E9 s/ b; t* S5 W
  433. ; E_USER_ERROR      - user-generated error message( ^/ r3 ^. U  D9 p
  434. ; E_USER_WARNING    - user-generated warning message
    0 F6 b% X" u/ A. }. r: M5 A
  435. ; E_USER_NOTICE     - user-generated notice message- T' T* R! x7 A9 q# C7 ~: M9 Z) W
  436. ; E_DEPRECATED      - warn about code that will not work in future versions$ u$ s5 O5 h! P6 q6 ]6 G
  437. ;                     of PHP
    % K  ?: [- W5 w" c6 ]
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings$ b0 G. x, k# c$ G2 L4 _3 V1 @
  439. ;1 q/ ~0 I: @7 y  K9 u. s
  440. ; Common Values:
    , z" j% K- p. @2 N
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    0 b/ l5 l+ E- |3 ]- l
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices). Y! E/ [7 V* Z$ v; H1 {( Z6 f3 ^
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)# ]/ \9 b, p0 X* r
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    * k* R/ G$ A* q9 n' a( y% U4 C
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    7 e1 _8 n/ G& o  o2 w* ]
  446. ; Development Value: E_ALL
    8 A. ~4 I0 d' g) N
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT5 V8 N! `: x% O3 f
  448. ; http://php.net/error-reporting6 A: Z6 W. I3 S% A. a% B
  449. error_reporting = E_ALL & ~E_NOTICE" I8 ?7 Y4 U6 E: A3 o4 v; I
  450. 9 q: s6 D* l! Q
  451. ; This directive controls whether or not and where PHP will output errors,9 n" P0 {2 N, ^# G
  452. ; notices and warnings too. Error output is very useful during development, but
    - Z: l6 O1 l* o! P
  453. ; it could be very dangerous in production environments. Depending on the code: T" h3 H  k6 m8 X- p% H# D
  454. ; which is triggering the error, sensitive information could potentially leak
    ) A  c  k# D+ ?9 p" f
  455. ; out of your application such as database usernames and passwords or worse.
    ) @# w# [% C! o4 c- w  p8 G3 N3 X
  456. ; For production environments, we recommend logging errors rather than8 N( y5 H8 [% Z7 x* G. k
  457. ; sending them to STDOUT.& |" m$ S. P  w! I
  458. ; Possible Values:
    7 B1 w; D. {+ u! U
  459. ;   Off = Do not display any errors/ d' M- Y( t3 L% G
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)" D' y% |" T8 K. W% P; s4 O  w
  461. ;   On or stdout = Display errors to STDOUT$ G( `. z  V* Z3 P0 |
  462. ; Default Value: On# e0 Z; E  G$ b6 Q0 G# G
  463. ; Development Value: On
    : C% K8 A7 T3 u9 {6 `/ o
  464. ; Production Value: Off
    9 ?" Y0 m4 w+ Y8 B8 Q! G0 M
  465. ; http://php.net/display-errors+ ~# O2 x; ^( F
  466. display_errors = On' S6 r, [+ z4 m/ \7 I
  467. ! i; d, N$ I: F% i* I  y" t
  468. ; The display of errors which occur during PHP's startup sequence are handled1 L4 y  Y5 m4 e
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    2 x2 A/ D3 A  K+ t# ~
  470. ; errors from clients. Turning the display of startup errors on can be useful in: }- Y9 e3 `' {9 c" c7 t5 O
  471. ; debugging configuration problems. We strongly recommend you
    + I$ j! Z4 U) y! |
  472. ; set this to 'off' for production servers.
    / u6 d& N/ b  x3 }. O0 B
  473. ; Default Value: Off. c0 w8 c9 ^0 S1 s
  474. ; Development Value: On3 H  e9 x! U7 I3 E
  475. ; Production Value: Off6 s: O% ~( K% Y
  476. ; http://php.net/display-startup-errors9 C+ c7 r& u9 `' \4 H! C* N
  477. display_startup_errors = Off1 }% T4 B1 n; [( @  F; x! \9 U# D

  478. , x( j9 X# K) X
  479. ; Besides displaying errors, PHP can also log errors to locations such as a  I& X% }. ]4 E) B# g
  480. ; server-specific log, STDERR, or a location specified by the error_log
    ' ^5 B. s, _4 U1 f- g; @. F
  481. ; directive found below. While errors should not be displayed on productions
    9 y7 ?4 n" ]5 s# t$ x
  482. ; servers they should still be monitored and logging is a great way to do that.- y+ |  [& {4 T1 ?& U1 v& P9 `
  483. ; Default Value: Off/ ^- @6 c3 X! L, Z0 c' |
  484. ; Development Value: On
    $ \3 T5 {" m! z' c2 R) y, ~  e) i
  485. ; Production Value: On6 {9 _* H" @7 x0 I0 ~1 X+ P" @' c; v
  486. ; http://php.net/log-errors! L+ X- z; o8 F2 y; _
  487. log_errors = On
    9 R5 F8 l# B# |* }( y1 A3 g
  488. / T, f2 j3 R/ `  U, ?
  489. ; Set maximum length of log_errors. In error_log information about the source is7 `+ L" y  f$ B4 c- s& ~
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    5 B( R, |4 \$ a9 T
  491. ; http://php.net/log-errors-max-len9 w+ X! R- p6 @& G) `& d3 g
  492. log_errors_max_len = 1024
    7 V7 U) ]& v) b  X6 D

  493. # K0 N  X& L+ r! z' S, _
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same$ G% @. T# L4 m1 B* V' D
  495. ; line unless ignore_repeated_source is set true./ Y) h) L" M* v0 Q9 E
  496. ; http://php.net/ignore-repeated-errors
    , s; c( W' M$ |$ R1 s7 r
  497. ignore_repeated_errors = Off
    1 P7 Y+ G9 h( g: D( m$ n) L
  498. ) N- ^! ?' y/ N! w- ]5 s
  499. ; Ignore source of message when ignoring repeated messages. When this setting* Q. w3 t7 F0 H0 S1 W- O! D
  500. ; is On you will not log errors with repeated messages from different files or
    . o( i: r2 D4 k: C
  501. ; source lines.* S; n" t* w9 t% H+ E& d( r7 e0 U" M
  502. ; http://php.net/ignore-repeated-source3 u& O/ k* K# t7 y( K
  503. ignore_repeated_source = Off
    7 B/ P2 b, F( @3 R2 ~
  504. 8 L) |) h; J' X1 Y) Y$ l
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ; ~- Z+ h$ Y; G5 Z) i, y: ~
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    ( r5 }: }5 ?6 i- J
  507. ; error reporting includes E_WARNING in the allowed list: W6 G9 `$ O3 z7 N) G: l* r- B+ i
  508. ; http://php.net/report-memleaks
    0 `! M8 D% X6 w5 T
  509. report_memleaks = On
    0 M) g  Y; J2 g4 z) Q5 z, W' v/ [9 w
  510. 5 e3 f  J; ~# y1 E8 q  Y  F. h
  511. ; This setting is on by default.
    & q7 n  W5 W( o
  512. ;report_zend_debug = 0
    * k+ a: I: D, h2 i- C
  513. 8 ^- E6 l$ @/ p+ M" E% ?
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    5 D! }, X4 U0 F9 b; C2 _% N
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    - A- J; }0 e! Y; {) |" N
  516. ; however be disabled on production servers.
    1 ]4 c/ K& a  K% m
  517. ; Default Value: Off0 p4 r; k, V0 P7 J; P7 z) R
  518. ; Development Value: On' B' m( P5 [; `1 U( d9 v& ?6 h
  519. ; Production Value: Off+ C! d# T* N1 t1 J
  520. ; http://php.net/track-errors
    * _( u4 b4 s- G  v9 J' E8 Z# k
  521. track_errors = Off6 _" l( N7 O% R
  522. # v# s  Z  g# U: {( z
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    4 t. F% W7 ]: G$ l$ A
  524. ; http://php.net/xmlrpc-errors
    6 H9 P, K  G( v2 D# }) _5 v( h
  525. ;xmlrpc_errors = 0- p2 k' A; l# b; Y
  526. # ]( j* J* \: F/ V. F1 y
  527. ; An XML-RPC faultCode
    & t- e. A* V- S# y8 m4 I
  528. ;xmlrpc_error_number = 0- r' Q- }, b8 E) N3 Q

  529. 3 E+ ~7 X# W  {- q0 {, v2 W; y
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    / b# |' c3 J% z: }8 O2 Y
  531. ; error message as HTML for easier reading. This directive controls whether& F+ x% R5 K7 o: j9 z. y. H
  532. ; the error message is formatted as HTML or not.' y/ ?2 q8 ~. C
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    7 o. y! k& W: k3 ]' A# j6 f
  534. ; Default Value: On
    7 R9 w  G4 m6 R2 ^: S1 Q
  535. ; Development Value: On
    2 J+ }+ }% I7 j; t  t. U
  536. ; Production value: On, Z8 D; d( x$ `1 L0 s
  537. ; http://php.net/html-errors
    * q0 V5 {" s* U8 Y" i2 v
  538. html_errors = On0 F+ o1 c: R7 W4 i; c2 x8 o
  539. / |% B2 D6 f9 k9 ~$ R
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP; z+ _4 G) H2 o" o7 k: @9 a, {
  541. ; produces clickable error messages that direct to a page describing the error
    ) ?4 |# _6 E& B! b9 \0 l! j
  542. ; or function causing the error in detail.
    # M% V: E$ J/ Y/ R3 O* \
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    ; }- @2 G8 n( e
  544. ; and change docref_root to the base URL of your local copy including the
    ) A# q, t% [' r. ^3 b# T, ^
  545. ; leading '/'. You must also specify the file extension being used including
    1 S4 e: |" E" f- f$ Q3 z. p
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ) t6 k4 H$ o5 C( X, \. `4 T$ N
  547. ; case no links to documentation are generated.
    - `2 g& Y$ }5 _: a  Z; K1 D5 c
  548. ; Note: Never use this feature for production boxes.
    4 C* m, r9 \" ^6 Z6 {: M
  549. ; http://php.net/docref-root! k. T5 V$ R# m7 ~8 n* W
  550. ; Examples
    ! |8 g- O5 q/ d% f3 E
  551. ;docref_root = "/phpmanual/"
    ! h" e7 X1 F) X" r- \

  552.   t' k- S0 J+ X) [' B
  553. ; http://php.net/docref-ext
    . q  ~3 g! N" J+ a
  554. ;docref_ext = .html
    " |: `- Y; a) e+ s# r
  555. 6 N% U9 |. Y$ e1 \7 g/ X& F$ o
  556. ; String to output before an error message. PHP's default behavior is to leave
    1 j/ e" ~3 O( z8 E: O0 I6 ^2 Q
  557. ; this setting blank.
    , r. o, p9 K- L8 o% c1 o5 {( R
  558. ; http://php.net/error-prepend-string
    ) b% p! M, |( f0 n9 `7 h
  559. ; Example:
    . N  k5 k0 m  t% m
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    2 k* A# f. `0 t+ ~6 |8 |& F
  561. " N" A7 J8 h5 c& F* D
  562. ; String to output after an error message. PHP's default behavior is to leave/ ~% G0 r5 x& v$ V* C9 L
  563. ; this setting blank.+ H( k6 c/ j8 L
  564. ; http://php.net/error-append-string. P( [  C* ^6 ^& W) R
  565. ; Example:
    6 S6 V: c4 i" N8 D/ W% F
  566. ;error_append_string = "</span>": w6 [+ R5 d+ {8 g" h
  567. ! B) q, ^7 }; r: a  O$ z
  568. ; Log errors to specified file. PHP's default behavior is to leave this value* v" s9 c/ M5 E5 V2 Y* s1 j
  569. ; empty.. ?& @9 N  F3 \$ U1 O
  570. ; http://php.net/error-log) V+ Y( [- ~4 z+ j; @1 l- N
  571. ; Example:
    0 }' r' w; f. V. M, V" `4 V& E& q8 K
  572. ;error_log = php_errors.log  W3 v3 [+ F1 Z' E7 H6 E; d+ a
  573. ; Log errors to syslog (Event Log on Windows).% `( E* ?& m  G- b! w& }6 j* {3 O
  574. ;error_log = syslog
    * Z* z# W* a" H$ q
  575. * L& B4 I9 p; U- m$ @
  576. ;windows.show_crt_warning
    - y+ l6 q+ w8 x1 z1 ]! z& d% V$ d- C- t
  577. ; Default value: 0
    : ]& k5 M1 Z( F; a$ q5 r
  578. ; Development value: 0, z, S! ~$ p1 @) h8 \$ w# Z
  579. ; Production value: 0
    $ m; d# }4 T6 Q) O2 s
  580. 4 C# C2 K; o9 p! g& \$ K4 g
  581. ;;;;;;;;;;;;;;;;;
    1 p$ v; w5 \% L
  582. ; Data Handling ;5 ?9 r, |" I* e/ Y) X: B9 w* p$ ~
  583. ;;;;;;;;;;;;;;;;;% k# a5 c- T9 k  }; z/ @  Y

  584. 6 n6 P; s$ A: e5 b
  585. ; The separator used in PHP generated URLs to separate arguments.
    " \. T: H/ @$ `  b) `, c
  586. ; PHP's default setting is "&".9 c" `6 k3 p8 b4 s. [. A7 x" C7 |
  587. ; http://php.net/arg-separator.output% Z: J8 ]5 K! Q; y/ N2 ~
  588. ; Example:
    / [( f" `8 o# z# {! T+ B+ @5 e! i
  589. ;arg_separator.output = "&amp;"3 f! g' ?8 U. m5 ]4 e. M/ B; I) X
  590. 5 U) N6 Q  c1 P& P- P
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    $ [9 J# _! ^5 G" M; k
  592. ; PHP's default setting is "&".5 B' K, s* F: q4 N3 b) L
  593. ; NOTE: Every character in this directive is considered as separator!6 C/ W7 J. I/ {% X
  594. ; http://php.net/arg-separator.input8 P* e7 Z% O* N8 m! n
  595. ; Example:
    + Y3 P& J, B# G! a/ m- E" C
  596. ;arg_separator.input = ";&"
    1 Q# S4 _0 k5 |2 |" n+ f; s4 q

  597. : L" f+ r3 [  y  x4 F; j9 V/ {
  598. ; This directive determines which super global arrays are registered when PHP# G# |0 {4 _/ {
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super: P7 X: p2 Y* f: [& r  [7 q
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    & n- R- D4 L# e% E
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    6 A4 H. y) b& T0 C. ?4 L
  602. ; used as the others, ENV is not recommended on productions servers. You8 o4 W; _! z9 z9 J; V" V( t
  603. ; can still get access to the environment variables through getenv() should you
    7 n. t+ ^, K3 J+ P. k+ L
  604. ; need to.
    , B2 X( m- R, J7 h
  605. ; Default Value: "EGPCS"/ @; O: W. R5 {  k) t/ W! _  L
  606. ; Development Value: "GPCS"2 ~' ^. _' c: W+ I( ?  z
  607. ; Production Value: "GPCS";" B4 D& e2 `5 j0 p4 }9 X
  608. ; http://php.net/variables-order) f3 Q6 r/ Y0 @( @* \
  609. variables_order = "GPCS"; i& @) C/ y/ [. y4 B1 k( x+ g8 Y
  610. " K& x2 F0 B1 G3 ~# [
  611. ; This directive determines which super global data (G,P & C) should be
    , x) w4 {. N9 ~! e% B
  612. ; registered into the super global array REQUEST. If so, it also determines
    + t7 ~7 ^/ @0 ?6 @; s( c- |
  613. ; the order in which that data is registered. The values for this directive
    % P# x' t  @$ @( Y. d) V
  614. ; are specified in the same manner as the variables_order directive,
    7 v1 Z( G3 {# v5 O
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    4 }  W" a2 L" U
  616. ; in the variables_order directive. It does not mean it will leave the super
    9 t* }9 c% `7 b) V
  617. ; globals array REQUEST empty.
    - b/ {" O* G5 d- ^: L1 n4 d( ?7 m; R
  618. ; Default Value: None% e$ H  e+ ^! ]/ I1 c' ]( B- j2 H' p
  619. ; Development Value: "GP"7 Y  n5 C: a, e
  620. ; Production Value: "GP"
    9 r. }- I. P8 h% c
  621. ; http://php.net/request-order
    $ w) y6 d( U) a+ x, u+ z' I  y
  622. request_order = "GP"
    ( K' w' u1 l7 |6 @# ~6 r- {" `& e

  623. 6 I" a3 q7 U% {2 R0 z9 F% b( ^
  624. ; This directive determines whether PHP registers $argv & $argc each time it$ f; A' H' E% Y' c
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script0 p# P) Q, k2 o& {
  626. ; is invoked. $argc contains an integer representing the number of arguments
    5 V! J5 u. l' z7 E) k% L0 D1 l
  627. ; that were passed when the script was invoked. These arrays are extremely
    * V7 D2 S! w7 Q( P9 `/ {- {0 [
  628. ; useful when running scripts from the command line. When this directive is
    " m8 q$ I  z% r, U. L  j' u
  629. ; enabled, registering these variables consumes CPU cycles and memory each time% m1 W, t9 O9 Z
  630. ; a script is executed. For performance reasons, this feature should be disabled
    1 t1 i6 c5 j, f5 N
  631. ; on production servers.0 h, E3 O. Z  M: T) `: O- @4 k
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    ! p& I  m4 H- o1 j
  633. ; Default Value: On
    " B# o* b# a3 i2 E, Q0 c: \) n
  634. ; Development Value: Off) R# x+ p; ?+ ~( h. S: D
  635. ; Production Value: Off
    ) G* E5 O! V( U
  636. ; http://php.net/register-argc-argv
    . f8 ]1 |, a( T( H  d: s
  637. register_argc_argv = Off- q% W9 Q4 R5 b8 K" T, @# d7 |

  638. 1 b7 `6 j% u# p; Y1 r
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    - Z  ^* p5 ~7 O8 \3 N% }' z
  640. ; first used (Just In Time) instead of when the script starts. If these% z: L: y7 q8 W" ?8 {) P: t9 s$ n. ?5 {
  641. ; variables are not used within a script, having this directive on will result" n, y2 c3 ~/ n2 j) i- i# z* b+ C
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    # O& E$ w- _9 M# A: |+ c
  643. ; for this directive to have any affect.4 Z4 z  ^) A3 k) ~; y% [  |, N
  644. ; http://php.net/auto-globals-jit
    + H) l; L: l) C- y, ^  e; }! R6 u
  645. auto_globals_jit = On
    1 h1 `+ D7 C8 [: ^7 z' I
  646. & F7 b) O. r) G. k9 C: y
  647. ; Whether PHP will read the POST data.
    4 \3 f4 @8 @# X0 X. o+ `
  648. ; This option is enabled by default.
    ; P7 Y4 \" v/ q9 }+ g+ p7 f, B
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST* g# b1 [  h9 h+ @, R" s$ G
  650. ; and $_FILES to always be empty; the only way you will be able to read the; ?0 F( B. n. z- J
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    , I' `2 U4 x4 W
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.6 V3 ~: o8 ]' B4 ?, I8 ~% ]1 S
  653. ; http://php.net/enable-post-data-reading
    ! F, @6 U: `7 L' O# i; r6 {  {
  654. ;enable_post_data_reading = Off
    & f0 f/ f, b" P( R

  655. , g$ d. L$ c) d8 W8 J' v( x
  656. ; Maximum size of POST data that PHP will accept.8 @: b0 k0 \! f( n/ m
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    # X7 M% z: J4 K8 k! R' }4 c8 g. d8 B
  658. ; is disabled through enable_post_data_reading.
    4 }/ p4 H7 H/ H1 D
  659. ; http://php.net/post-max-size
    4 K3 c& _/ d( B+ E. L+ X  y- [
  660. post_max_size = 50M
    1 K# |, W# z4 v+ g* i1 T

  661. / B$ E/ p5 R9 o7 {0 D3 n8 R' }. ^
  662. ; Automatically add files before PHP document.& O5 F( j# f) u8 d8 s
  663. ; http://php.net/auto-prepend-file
    6 I4 m7 {& F4 ?6 [
  664. auto_prepend_file =
    - h; _9 q0 U& h

  665. % Y/ E4 b5 H) G/ h: ^( p
  666. ; Automatically add files after PHP document.
    : N# m4 G. Q' w9 m
  667. ; http://php.net/auto-append-file
    ; q4 g3 ^4 i8 p: v- s
  668. auto_append_file =
    * P$ ]4 ]0 w3 m
  669. 2 x8 _5 t  ?+ G* E) p
  670. ; By default, PHP will output a media type using the Content-Type header. To
    ) t1 ?& [# P& K: H
  671. ; disable this, simply set it to be empty.4 {: j' E$ [# R' [+ B& v" [
  672. ;( R9 M% _% ^4 c2 s# s
  673. ; PHP's built-in default media type is set to text/html.5 W  r( i# G0 @7 g6 q2 u
  674. ; http://php.net/default-mimetype
    ( Y" F$ M- c  Q# D. k! ]
  675. default_mimetype = "text/html". q) @" o2 W, {5 K% q) R" E: n  B
  676.   e7 r. W5 I3 w( e) Y0 J
  677. ; PHP's default character set is set to UTF-8.4 y8 a6 B7 b" N3 J
  678. ; http://php.net/default-charset
    ' H: x$ t) w) ^0 i8 O3 F
  679. default_charset = "UTF-8"% }8 u/ P1 j5 k' A/ ~9 h3 T6 b
  680. ! U% K9 ^6 k7 |* m
  681. ; PHP internal character encoding is set to empty.
    * ^' z0 V0 z+ r7 n
  682. ; If empty, default_charset is used.1 B" B) c3 |4 O) n" p8 R
  683. ; http://php.net/internal-encoding
    ( ]3 B3 M* v9 Q& t5 V% Y
  684. ;internal_encoding =
    2 o- I3 f+ U! v! k" B
  685. 1 T$ n6 H# l$ ?' ~: {
  686. ; PHP input character encoding is set to empty.
    & T+ l( r( w9 ]: i; K5 u& X. [1 N
  687. ; If empty, default_charset is used.- |; c7 y6 Z( c0 |% H
  688. ; http://php.net/input-encoding
    . [/ [# i+ U* L2 w7 I: @; J1 u2 C% U
  689. ;input_encoding =4 j7 G/ W$ L8 q! i$ k& C- S
  690. - J' b! o0 N  |' ?2 b& [% v9 n
  691. ; PHP output character encoding is set to empty.# h0 \" q- g+ S
  692. ; If empty, default_charset is used.
    $ {( L( }' `- i. Z0 @
  693. ; See also output_buffer.
    5 p4 I: P' L* r0 Q5 z
  694. ; http://php.net/output-encoding+ Z4 C) Y$ n/ @, A# p6 _. D
  695. ;output_encoding =
    1 w# z% \& r/ n% u1 v2 L4 N
  696. + P9 T' j9 U1 X' l5 T. S
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ) P/ U8 S% J8 T( {
  698. ; to disable this feature and it will be removed in a future version.
    , W0 {9 O: E1 I/ p0 j- b0 u" D) y: Y
  699. ; If post reading is disabled through enable_post_data_reading,( A* j$ l0 Z! @5 G- v
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    4 B% ~( K; P6 j* ?5 t2 O
  701. ; http://php.net/always-populate-raw-post-data
    , Q+ Z& h' ^3 X, W  v# J( O) C
  702. ;always_populate_raw_post_data = -1
    ' m8 n7 U, J& n' L7 q. B1 d
  703. # ?# ^5 @1 g# y! @
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;% A3 f5 ~6 n5 f# B1 u
  705. ; Paths and Directories ;
    0 ~6 }% H% S2 ^$ k
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;4 T; l7 I% b% W4 m

  707. * c/ C, f& Q9 ?2 n
  708. ; UNIX: "/path1:/path2"
    , V# n4 H* p& X3 Z
  709. ;include_path = ".:/php/includes"
    / ^( h6 |2 x' G% ~# A
  710. ;
    0 _- D. Y7 \1 \) I
  711. ; Windows: "\path1;\path2"
    ' C/ V6 }" }, j! P1 }
  712. ;include_path = ".;c:\php\includes"
    , i! A9 r2 ^4 Y$ y
  713. ;! j9 |! S: f& }- E* G  ~" H
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"' e2 O( R3 V& m# n
  715. ; http://php.net/include-path* t+ i- O. L& E) m

  716. ' w1 s  g" M% i$ w# c2 F( ^8 `& z
  717. ; The root of the PHP pages, used only if nonempty.
    " P) u# h% R& C3 r: H, L
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    5 u6 Z4 b6 ]' q% `8 _
  719. ; if you are running php as a CGI under any web server (other than IIS)
    * n: P$ c5 L1 {6 O
  720. ; see documentation for security issues.  The alternate is to use the0 ~1 T+ T9 d! `1 i" A$ v
  721. ; cgi.force_redirect configuration below
      v2 `: R; @# b! P
  722. ; http://php.net/doc-root
    5 Y* q" \: ?8 H8 v- ]! K3 b
  723. doc_root =8 r" p# A% C4 Y9 L: I8 f

  724. ! G; w9 q' L6 {0 `: K  U; y
  725. ; The directory under which PHP opens the script using /~username used only
      R( N& r' ~( S5 X0 G
  726. ; if nonempty.: i3 S& B: v5 X
  727. ; http://php.net/user-dir7 O% h- u7 C) t0 Z8 x
  728. user_dir =
    ( |8 t9 ~# x; D
  729. $ [) r- u3 J8 I+ E" Z- v
  730. ; Directory in which the loadable extensions (modules) reside.
    : I( Y  `( D8 @
  731. ; http://php.net/extension-dir
    ! w" D6 r( W) r! X
  732. ; extension_dir = "./". q" r5 w) G$ \1 |' l) s
  733. ; On windows:
    - J8 a$ i2 Z' O  I! N
  734. ; extension_dir = "ext"- V) I- j4 s& q

  735. 8 h; L4 u" [4 a$ s- s! U' a! y! `
  736. ; Directory where the temporary files should be placed.& Q% a+ P7 b$ o  B
  737. ; Defaults to the system default (see sys_get_temp_dir)3 E  e' C/ M( \  @7 a2 _
  738. ; sys_temp_dir = "/tmp"
    $ _0 K  H! y1 [6 }. P# e5 G* p
  739. ' n4 z( \% i9 A' N
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    & S  x8 O- s8 q8 j. T( S- c2 f
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    9 y: m7 \5 [$ n3 y3 |) X9 F. g
  742. ; disabled on them.
    5 K# a' l' _0 ~3 t- b: e
  743. ; http://php.net/enable-dl
    + u5 o& k6 L& m7 B* l) T! ]" z% @
  744. enable_dl = Off" T. G5 n$ J. b$ |, Q6 [! W

  745. ! x  a0 H, ?  P9 E' [& ^  Q
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    6 s6 W7 ~9 ~9 y: N, l3 S
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ' _$ {4 g; W4 y9 d# q" K. U& I
  748. ; turn it off here AT YOUR OWN RISK. j/ I( y$ V. C6 R/ ~% S! Z/ H6 F
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    . n6 }. ?% E) \1 K3 b" J5 C3 q
  750. ; http://php.net/cgi.force-redirect: b. n& T" X: M5 [2 _* U) s
  751. ;cgi.force_redirect = 1) A$ m: v! n3 e- _9 R& `
  752. , v6 O* L' Z% \# L8 {
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with. b/ c% j3 T8 P  }: F. [  Y' f3 e
  754. ; every request. PHP's default behavior is to disable this feature.3 C. y6 j& j) }; H3 {. ]
  755. ;cgi.nph = 1$ Y: W: x2 i2 M

  756. , |- r- @' g; d( f" a$ u1 `9 K6 A8 S
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape3 n1 _3 ~# q& T2 o# r+ i# [
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP! I6 @# a9 H2 u6 u/ K% e
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY9 r" P4 Q  T% `4 F) g; l
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.' b2 [8 s! S9 `4 n+ u- o( T
  761. ; http://php.net/cgi.redirect-status-env1 x$ w7 L2 _( ~" g. _$ b; h
  762. ;cgi.redirect_status_env =& H7 x' s3 \9 `! A# `' u
  763. 6 B! T2 z9 Q- j
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's6 h% V% o- O9 d: G; n( p7 e
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ) o2 _" m" z& g! u) q; F* v/ v
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    5 q% e/ n# D+ Q7 i
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting5 l5 V3 e3 e! a4 X3 F
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts# `: R& K4 H' q2 \
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    5 T6 z7 @( E, U" Z/ b+ e% q; L* y
  770. ; http://php.net/cgi.fix-pathinfo# C+ Y+ v% g8 Z9 _" b" X
  771. cgi.fix_pathinfo=1
    # }( ~% Z* c. d( w

  772. 5 ~% ^2 K6 x5 ~4 |" ^# k1 J
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
      z5 W2 z+ y5 I" ?* k# p1 C# y5 B
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    1 Z) h6 Y6 l) `, Q
  775. ; http://php.net/cgi.dicard-path7 b5 [& C4 M5 k2 t
  776. ;cgi.discard_path=1
    2 P0 a3 o" H$ i# f
  777. / o/ E8 J8 |& b$ k
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate$ A& k) w5 Q5 L
  779. ; security tokens of the calling client.  This allows IIS to define the
    ; f1 g. G; Q/ C" w6 C
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    2 Q( w. l3 h6 r' I
  781. ; does not currently support this feature (03/17/2002)+ A* j# A! X5 W2 L8 E
  782. ; Set to 1 if running under IIS.  Default is zero.  F3 M% S8 m' T+ o& Q
  783. ; http://php.net/fastcgi.impersonate8 G1 M2 a  l6 V$ O" q
  784. ;fastcgi.impersonate = 1
    , R7 {) N. H) u: l6 {

  785. 0 A* Z7 c& i/ L9 t% K2 M
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable/ y7 O" t3 T* P
  787. ; this feature.* E# y" m# x% O9 Z, x
  788. ;fastcgi.logging = 0
    , O' T% }9 j/ Z( [( d
  789. 1 b5 J5 w6 i& {! P
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ( i- d$ C$ D8 [8 n8 r9 ~+ x
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    . k* c5 X7 d4 s+ @5 |& O1 G* ~
  792. ; is supported by Apache. When this option is set to 1, PHP will send6 d. J8 v; E5 _; |( U9 p  g
  793. ; RFC2616 compliant header.$ u2 T5 J: N, U; {9 q5 Z
  794. ; Default is zero.+ l# _5 x" {4 T' g& @, E- |7 k
  795. ; http://php.net/cgi.rfc2616-headers$ X( j) o3 |- R3 o8 m9 s
  796. ;cgi.rfc2616_headers = 0
    & ], \" _0 f) [0 D5 ^
  797. 5 v4 B* o: W) b9 y$ L9 Y
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!( P* M# G, c' i/ i& g! l0 `- k
  799. ; (shebang) at the top of the running script. This line might be needed if the
    ) Q* E: T! i+ [& e2 w
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    , s/ r2 y1 z! s. l+ j: K" g$ s3 P
  801. ; mode skips this line and ignores its content if this directive is turned on.
    3 }6 ~: ?! e5 t1 E
  802. ; http://php.net/cgi.check-shebang-line
    9 I- P8 o7 O8 d9 T# p2 A3 k' F6 J/ p
  803. ;cgi.check_shebang_line=1
    " x, h0 e4 W6 S% b6 G
  804. ! K0 ?1 c: m( F' R1 g
  805. ;;;;;;;;;;;;;;;;
    3 a) k9 e6 p8 r$ o0 W4 j
  806. ; File Uploads ;; z' j! u( T3 P, u2 L# x
  807. ;;;;;;;;;;;;;;;;5 d4 v" l. C# }  K& R9 i

  808. , y; J/ d) {( n7 o: J
  809. ; Whether to allow HTTP file uploads.
    ; O$ G1 U; D4 u2 ~
  810. ; http://php.net/file-uploads: O8 G* @) O0 n9 E# X  w( R$ \
  811. file_uploads = On
    4 i) m0 S0 K7 C: C& [
  812. # z. q+ k4 r: a7 l$ P: {% @  ~! Z
  813. ; Temporary directory for HTTP uploaded files (will use system default if not" Z1 ~7 p/ H0 g  ^5 z
  814. ; specified).% _- }5 K1 j: D9 X7 {+ O+ [  M& I
  815. ; http://php.net/upload-tmp-dir
    . u' w8 e/ U& I
  816. ;upload_tmp_dir =" f3 {; A7 z" \5 @4 C! a
  817. % C' g5 j# J0 q3 R
  818. ; Maximum allowed size for uploaded files.
    . R/ M, M) `- o/ c) x' d. v7 [8 J4 |
  819. ; http://php.net/upload-max-filesize0 O/ d3 ?: T# W8 n8 q* J1 f/ I# |
  820. upload_max_filesize = 50M
    2 D4 j* k, \7 ]/ \+ R4 ^

  821. 5 u# T- Q( U9 d1 W% ~1 Y
  822. ; Maximum number of files that can be uploaded via a single request+ A( u$ H$ s& U. `( N* o; \
  823. max_file_uploads = 20
    4 e# C4 S! P. H$ ]. _9 q+ l+ o8 I

  824. 6 }0 w* N" o" x0 y  z7 ]  k6 W
  825. ;;;;;;;;;;;;;;;;;;  Z% g  J# Z, ]) P4 L
  826. ; Fopen wrappers ;
    * n: [! h6 P& W. D* K5 `( h  E
  827. ;;;;;;;;;;;;;;;;;;* Q/ n8 N4 I0 x" _
  828. 0 Q! f  s% V" N$ S, M& S
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.: v; Z- J0 L* _8 P; \
  830. ; http://php.net/allow-url-fopen
    * }+ m) }8 e8 ^3 D) Z
  831. allow_url_fopen = On
    2 c; N* _8 ?3 U3 u% P' t- c7 b

  832. % g2 |; @1 P0 s/ D* f
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.6 J* ]& C4 k) N  a( v' }: [
  834. ; http://php.net/allow-url-include( B: k2 u) h' r7 j2 N2 m
  835. allow_url_include = Off) t; M# h! V% Y& W* }% H
  836. & A4 R6 a! A* X3 d3 D. e7 Q7 c0 {) I: Z
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    ) k! N4 s& O  e. O" o3 d& s( m: X
  838. ; for this is empty.
    : x8 d. c* i% P4 F
  839. ; http://php.net/from
    1 t/ f* W# a) L. |% j+ `9 R. L
  840. ;from="john@doe.com"
    6 Y3 T1 R+ F6 t: d

  841.   D* s3 y/ }& n+ J
  842. ; Define the User-Agent string. PHP's default setting for this is empty./ A% ?$ P% o" G6 l
  843. ; http://php.net/user-agent, k* f; J, I; ^+ G% C
  844. ;user_agent="PHP"2 S# T- b! G- Q9 L, J

  845. 4 X" T  }! q' g
  846. ; Default timeout for socket based streams (seconds)
    9 @( X6 x0 O' [
  847. ; http://php.net/default-socket-timeout- N+ I! @  z5 V- \
  848. default_socket_timeout = 60
    " o% f; q7 i4 A6 Y
  849. 3 J# e0 A8 A. s
  850. ; If your scripts have to deal with files from Macintosh systems,, K4 q8 r1 B$ S; x0 W
  851. ; or you are running on a Mac and need to deal with files from1 `3 d1 p( J5 q" _: h+ {
  852. ; unix or win32 systems, setting this flag will cause PHP to
    / D* g% B; q" X. b+ H! c
  853. ; automatically detect the EOL character in those files so that
    - e. b2 B( M* }2 B0 i& u9 b
  854. ; fgets() and file() will work regardless of the source of the file.
    9 ?7 G1 z( T/ D  V. t
  855. ; http://php.net/auto-detect-line-endings3 x9 v% c8 J0 ~2 J7 E8 }
  856. ;auto_detect_line_endings = Off7 ?4 w: F/ i! W9 |& o

  857. 4 z% R$ f; W" F; D, V
  858. ;;;;;;;;;;;;;;;;;;;;;;' ?" K  G! P7 k2 b0 x1 R( D" r
  859. ; Dynamic Extensions ;; [! {: {6 ^( |8 u
  860. ;;;;;;;;;;;;;;;;;;;;;;1 }# ~) L1 x. H& `
  861. - f) P! h6 C! e, ^1 m. Z
  862. ; If you wish to have an extension loaded automatically, use the following
    1 K4 }# s; T- z! u2 @1 f
  863. ; syntax:
    5 [4 G* F4 ?# n  v' Q
  864. ;' L- x& i! e1 X
  865. ;   extension=modulename.extension
    ; w, h6 p6 w; z. h1 @  `
  866. ;
    9 \& k, F. y1 x. ?0 e0 `
  867. ; For example, on Windows:$ n* A0 J9 {6 D7 _1 L* s8 ]0 [# j" ]7 K
  868. ;. t& ]7 d% I7 Z' |: Z' n
  869. ;   extension=msql.dll
    4 X2 Y4 ]( N% T8 T
  870. ;0 s' f, A/ u1 P7 m3 q
  871. ; ... or under UNIX:
    7 r  F8 ^7 V6 b4 y
  872. ;$ l: X8 k0 g# w; U+ {8 V# Z
  873. ;   extension=msql.so
    1 b. P) a3 `# P9 n0 ?) E: ^" Y9 w0 Z
  874. ;& q' u( Z2 M. v4 u! b+ u9 E
  875. ; ... or with a path:
    ! `0 [2 @$ H: _/ R( g" i" L( k' H( R' R
  876. ;" h. Y6 H6 \, j; E2 k5 W; J
  877. ;   extension=/path/to/extension/msql.so
    ! P0 O7 \& K, u! f! M1 A
  878. ;
    9 M3 \5 L  D7 l2 W  o
  879. ; If you only provide the name of the extension, PHP will look for it in its8 J) Y* H& `2 \) I
  880. ; default extension directory.
    / N; q$ d, K+ U
  881. ;$ D/ n" |! c8 e, X) P8 `9 A0 h) A
  882. ; Windows Extensions
    0 g' ]. v2 \6 G9 B
  883. ; Note that ODBC support is built in, so no dll is needed for it.1 h1 A+ g. u4 q, j7 Q$ f6 e
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    : K1 J7 ~3 I9 X0 M/ w4 E! q! s
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).. d2 R' o& c+ ]! Q0 Z
  886. ; Be sure to appropriately set the extension_dir directive.8 R2 L8 [  I3 O; _' p
  887. ;" v+ C/ u. Y. G% }: H  z  v
  888. ;extension=php_bz2.dll
    2 B5 ~+ A6 p' z7 |- H. f
  889. ;extension=php_curl.dll4 p3 ~& Y6 G3 R7 W9 y% m4 a1 `: V
  890. ;extension=php_fileinfo.dll6 ~0 v6 h1 {$ Z6 r! ?9 Z' m3 I9 V9 f
  891. ;extension=php_gd2.dll3 C, G1 V3 e; q* ^. d- a1 {+ F
  892. ;extension=php_gettext.dll
    5 f- v' Q4 \- t5 `* b8 T( K
  893. ;extension=php_gmp.dll5 U& J) G4 p: L
  894. ;extension=php_intl.dll5 o3 |, o2 M7 }% W
  895. ;extension=php_imap.dll. F8 J+ q; s4 w9 W5 U0 P, f
  896. ;extension=php_interbase.dll
    9 C" a$ V" n  a: ~% a: z- D- y  b! B
  897. ;extension=php_ldap.dll0 @  Z2 M: `+ \
  898. ;extension=php_mbstring.dll
    # g" w( C$ W9 b9 r, d
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    5 K- k5 d+ \4 {" a1 n9 A# l
  900. ;extension=php_mysql.dll3 u! l! N$ ~0 t3 {
  901. ;extension=php_mysqli.dll
    : ]1 C$ k: u0 N) F; k& x1 w
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    4 S# e% f. s+ u' E# v: m
  903. ;extension=php_openssl.dll' l$ D. S6 C0 c3 ^+ p$ P# B8 Q
  904. ;extension=php_pdo_firebird.dll2 {% Z, k& X# ?6 u' |2 z0 z5 i. k# C8 k
  905. ;extension=php_pdo_mysql.dll
    1 y4 o/ L1 L7 K* a& o
  906. ;extension=php_pdo_oci.dll
    ( G9 Z5 }  h: C3 L7 W/ C" Q
  907. ;extension=php_pdo_odbc.dll
      w" R* v6 O- f# h+ [
  908. ;extension=php_pdo_pgsql.dll
    % |7 G5 A. Y7 p, Y% V
  909. ;extension=php_pdo_sqlite.dll6 |) T2 u: `% V+ y0 p: x
  910. ;extension=php_pgsql.dll
    # |1 u8 F/ z6 k; _
  911. ;extension=php_shmop.dll
    ! t3 F7 _+ M( ~2 g& w, U6 v

  912. # ^" u* i0 {, x# T# x
  913. ; The MIBS data available in the PHP distribution must be installed.
    # u, D- `0 @8 k1 t1 N
  914. ; See http://www.php.net/manual/en/snmp.installation.php 2 Y( |: E4 q7 e9 ]& v$ y6 `; R+ g1 W
  915. ;extension=php_snmp.dll
    4 G- O% C2 c7 u" o
  916. # w8 v; f; c5 H* c
  917. ;extension=php_soap.dll; e& S. ]* q3 t
  918. ;extension=php_sockets.dll4 f3 P) H/ t& r
  919. ;extension=php_sqlite3.dll& q' c/ n2 R3 y2 u4 L8 d
  920. ;extension=php_sybase_ct.dll
    , s! V- a4 ]: b6 j
  921. ;extension=php_tidy.dll
    5 G( B: P: W1 [$ f, r; j& p
  922. ;extension=php_xmlrpc.dll+ [2 b/ j/ F  m/ a' z2 Z4 I% i9 F, Z
  923. ;extension=php_xsl.dll
    * V- {3 S8 F% [% ], X

  924. / o( _$ O. B. @. R( ~
  925. ;;;;;;;;;;;;;;;;;;;
    , ?0 i3 S9 {5 @2 x0 s' I) l( K. Y4 b
  926. ; Module Settings ;- Z! |# m+ Y. ^: ]* Q
  927. ;;;;;;;;;;;;;;;;;;;
    0 N* s" D/ U% k; x
  928. " g) m5 R8 L4 u# t* ~) r* n
  929. [CLI Server]8 Z2 ]! L2 L: G' ?$ j# j: @7 N
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.9 S3 C. y3 \) Q7 ^8 Q
  931. cli_server.color = On$ `* @/ U$ S5 I3 R2 V
  932. 7 T0 L2 ^3 _1 R+ ?# v" u
  933. [Date]
    # m% C0 B) t4 V) b! y
  934. ; Defines the default timezone used by the date functions
    + N* |4 g& W# a# R8 R
  935. ; http://php.net/date.timezone- P$ D5 Z7 g8 Y2 b3 M0 K: r; _
  936. date.timezone = PRC0 @5 ?8 C% b( }; ~' }* v
  937. 1 u) p+ y5 T$ L0 f
  938. ; http://php.net/date.default-latitude' n4 G' ?% w( s" v" T0 |5 g: y7 h
  939. ;date.default_latitude = 31.7667* m5 L3 m, }6 U. j' r, V% w

  940. ! u  h7 N3 k6 T1 F2 e' Q3 ~, q' U
  941. ; http://php.net/date.default-longitude1 e: H8 B; c5 {) c7 a
  942. ;date.default_longitude = 35.2333
    " s0 ]# i* V9 u) z; H1 Q- c

  943. : y; y0 _* V; q  L; B( {
  944. ; http://php.net/date.sunrise-zenith3 w. k) k0 B6 s/ T6 @4 U
  945. ;date.sunrise_zenith = 90.583333# t: F' d- b. B$ f1 s7 g! R

  946. ; P" {1 e: l! ~& t
  947. ; http://php.net/date.sunset-zenith) u1 U/ t# m9 _2 _
  948. ;date.sunset_zenith = 90.583333
    8 d3 T3 Q8 q1 M& a( s/ z) _- d
  949. & }  P1 {& m' G9 \* O* G- u7 ~
  950. [filter]( q( M/ J' H, x' g4 o
  951. ; http://php.net/filter.default
    " A+ g" e  o# `* Z" `3 F% \1 V
  952. ;filter.default = unsafe_raw
    : @/ A8 D$ j8 y3 ^1 r
  953. ( e% v4 k5 H) M$ ?- Q8 h% ?' C
  954. ; http://php.net/filter.default-flags- q! S- x9 W# u" R# d* s
  955. ;filter.default_flags =: r& P: \; l/ H1 Z
  956. ; F) f4 k5 }: x; G
  957. [iconv]
    - _( q" J& r3 Y% D7 U$ n
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    1 K+ B6 Y8 k; j% f+ j* S1 p
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used., Q9 h+ ?5 k9 \: G. Y& |  `
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    4 z# W6 S( ]" x6 s1 M" s0 ^# ]" B1 s
  961. ;iconv.input_encoding =
      k) y; {. w) C" K

  962. - v: y+ D& R. d" n2 |
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.% h( |5 L2 z4 c" E& ^4 [8 b
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    6 _, w5 l$ [1 K$ s5 I
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding$ u$ `' ^6 I& Q+ V" k) L$ o
  966. ;iconv.internal_encoding =8 i6 ]9 a6 ?- H4 @. U) K5 |

  967. 0 j6 s3 n$ {% E0 B) ^( T
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    4 g3 x# o1 V/ n+ U
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    : W5 r5 k  M- d) |( r+ |, h5 t
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding4 }" h" s" O/ E! _% a
  971. ; To use an output encoding conversion, iconv's output handler must be set
    . W# I, Z" d" W1 ]: \8 ]
  972. ; otherwise output encoding conversion cannot be performed.
    / o! k& t! {  G" S: G2 p: o
  973. ;iconv.output_encoding =
    * R+ g: E) d( s* I
  974. $ ]. T( \0 n3 y8 ]3 q; T
  975. [intl]
      o7 g& x4 g$ W2 k5 d# N
  976. ;intl.default_locale =; n' M$ f8 A9 K  z* T; g0 L
  977. ; This directive allows you to produce PHP errors when some error
    * L; \0 y' i4 X/ b1 B
  978. ; happens within intl functions. The value is the level of the error produced.. K6 n. B2 r0 n2 q
  979. ; Default is 0, which does not produce any errors.5 x8 Z2 n. v: m! n' a
  980. ;intl.error_level = E_WARNING
    9 n7 W2 x- i. U' @* r! W2 E
  981. ;intl.use_exceptions = 0
    / R" M2 o  E: {! X9 Q; V, l

  982. $ _2 j, f6 K! `
  983. [sqlite3]% O5 r- U$ `+ [. c8 P8 W- S9 ]
  984. ;sqlite3.extension_dir =
    / x; w, ~6 ?% b4 @- R9 U* c3 k

  985.   N& b2 k$ p# L
  986. [Pcre]5 }4 J- }  i4 w4 g# ^
  987. ;PCRE library backtracking limit.; Y$ h" _/ c4 x, U6 W4 B7 L
  988. ; http://php.net/pcre.backtrack-limit
    8 v& R& [1 d" x
  989. ;pcre.backtrack_limit=100000# E- I# M, Z% r" w6 H

  990. 3 l& q7 S+ R5 j0 ~0 |; S) t9 z
  991. ;PCRE library recursion limit.# o/ A& m" t+ N
  992. ;Please note that if you set this value to a high number you may consume all  A. y' S& {. ~# W7 ?! v! q6 q
  993. ;the available process stack and eventually crash PHP (due to reaching the
    # `0 V1 W  K2 _6 x( Z- T, ]
  994. ;stack size limit imposed by the Operating System).  V9 z) z) {& V+ x' V" q5 }1 H
  995. ; http://php.net/pcre.recursion-limit* Z6 o! f' Y  ]" D
  996. ;pcre.recursion_limit=100000) h' t3 p5 B/ }% |0 {0 H8 d8 N
  997. # M+ N1 a- M: L8 `, v0 [3 W# \
  998. [Pdo]
    % g/ w8 X; P( M% a' k
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off": Z: p4 D  E  Y3 b4 j
  1000. ; http://php.net/pdo-odbc.connection-pooling% M- Z0 _& i' F: w' S, t1 h$ S: p$ {
  1001. ;pdo_odbc.connection_pooling=strict8 [0 q* L  H6 P* G: n! b+ S
  1002. . S2 {: m) g. C5 I0 R( n
  1003. ;pdo_odbc.db2_instance_name) h! \7 g0 n6 I2 z* z

  1004. 5 `% k: R/ c( r: E
  1005. [Pdo_mysql]/ r! y/ y, V. g# C" m
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    1 D" _" i) [) r' \: l/ P+ R) h; N3 I
  1007. ; http://php.net/pdo_mysql.cache_size6 I& T1 ~& @8 v$ O+ w
  1008. pdo_mysql.cache_size = 2000
    0 \# h1 s3 A& `9 e. b, e  w+ B
  1009. - ^- I9 A$ ^4 p& D2 \5 X" T
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in& Y( e( _: X4 P! S
  1011. ; MySQL defaults.3 e* D! s% D; B
  1012. ; http://php.net/pdo_mysql.default-socket6 [; N" C* F, L+ w0 l4 M
  1013. pdo_mysql.default_socket=" ^& T$ h+ `  L: t4 U) q1 f& g
  1014. : T" S' c( W' w" N) n9 L
  1015. [Phar]
    9 H2 D; I6 M, W
  1016. ; http://php.net/phar.readonly1 P3 ]: r; W% h; {" R. E
  1017. ;phar.readonly = On7 s; A  X: [4 X# p

  1018. " h- \/ B! G  \6 x
  1019. ; http://php.net/phar.require-hash' p+ j. ^1 C: X5 j& c: f4 Z
  1020. ;phar.require_hash = On
    6 A% v2 v3 u0 Z) m3 }
  1021. - k9 h4 R+ L  x1 ^
  1022. ;phar.cache_list =
    ) ]& J' v/ i: \

  1023. 3 c, M+ N2 f6 ?' D' Z1 r
  1024. [mail function]2 Q8 k/ ~, g& Y. `2 ^
  1025. ; For Win32 only.3 Z  S4 {! M: r( H- \) ?8 c$ d
  1026. ; http://php.net/smtp7 p0 J8 ^; f/ c# @3 S
  1027. SMTP = localhost
    , h) a/ L  u6 }. i
  1028. ; http://php.net/smtp-port
    - v6 S( v* s$ t5 x
  1029. smtp_port = 25  ~1 V# T3 c- a" ~4 ]% n1 Y& \& N

  1030. $ O  Y8 N4 u) Z8 O: B& B) e9 l$ n8 \
  1031. ; For Win32 only.
    ! x, t) Y: m( N% _; u2 ]$ Z! W$ \* p3 Y
  1032. ; http://php.net/sendmail-from
    ) x5 U. Z, ~" I- J. P
  1033. ;sendmail_from = me@example.com
      x% @6 u: z1 H+ o; }& \9 d

  1034. . J8 g8 v! W" q9 e: N
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").6 p' c/ j- K, \+ `( V! ~- r  |% V1 S( y7 q
  1036. ; http://php.net/sendmail-path
    $ T+ c! ~- k) X( Q9 d
  1037. sendmail_path = /usr/sbin/sendmail -t -i6 D( C) ~% k4 o

  1038. $ {5 b! g" Q! n- j2 a( b
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    , u: n% x( ?& _4 @. _! Y
  1040. ; to the sendmail binary. These parameters will always replace the value of. x3 u0 F7 ]  p7 x8 L
  1041. ; the 5th parameter to mail().0 q: Q( |; |! `
  1042. ;mail.force_extra_parameters =
    3 H. L2 z8 y: }. [+ r

  1043. : B3 k1 q# d1 s
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    + H4 ^* p. d* _. d# e% y# V# v# j
  1045. mail.add_x_header = On
      {% H8 v: R4 X- w, p
  1046. ( a# J( ^% N) A, C
  1047. ; The path to a log file that will log all mail() calls. Log entries include" t/ B: N; a4 h0 H
  1048. ; the full path of the script, line number, To address and headers.' m" v1 s' ]0 s1 J
  1049. ;mail.log =0 o; G6 y) _4 O2 j1 `5 _% K
  1050. ; Log mail to syslog (Event Log on Windows).
    1 N7 V8 R- C) P
  1051. ;mail.log = syslog/ m- q3 k9 w  z/ W+ P* z7 M0 V

  1052. ! v( v' c8 s* f! y& y7 Q/ n/ ?
  1053. [SQL]0 V" F+ ?2 Y2 k1 d
  1054. ; http://php.net/sql.safe-mode  C1 h8 I' g6 w7 A
  1055. sql.safe_mode = Off$ n& v# o' A) x& ?. k/ ~! l3 ^
  1056. : j" ]6 P0 W6 e: D
  1057. [ODBC]8 \$ C9 R9 Z7 X" h
  1058. ; http://php.net/odbc.default-db2 U# W  |# I' a# e) s2 V
  1059. ;odbc.default_db    =  Not yet implemented; t2 L5 ^9 i( g4 @9 j
  1060. 9 U0 O9 ~& x' r$ H0 W: A5 T
  1061. ; http://php.net/odbc.default-user! b* x" \- H/ o! X! g8 M2 F
  1062. ;odbc.default_user  =  Not yet implemented/ z; {/ R- g/ j7 g0 T5 Q
  1063. 0 x# i2 y- }& Z1 k. y0 m  ^% f9 G
  1064. ; http://php.net/odbc.default-pw  ]4 P9 `, L) q" @+ M# Y
  1065. ;odbc.default_pw    =  Not yet implemented
    ' U9 x; ^% t" u/ T8 n

  1066. 9 o& J0 T  \  X5 u% C
  1067. ; Controls the ODBC cursor model.
    - b; I5 k0 I( a2 x, S
  1068. ; Default: SQL_CURSOR_STATIC (default).
    & _& a) N/ I# I( {
  1069. ;odbc.default_cursortype5 m) d( p) _) }; x8 b
  1070. 5 E: o& J* |) i: ^
  1071. ; Allow or prevent persistent links.7 K$ M/ X- J4 |2 i+ m  A. i( G
  1072. ; http://php.net/odbc.allow-persistent% {6 C  G6 B' M* x, |; J/ O% i9 I
  1073. odbc.allow_persistent = On: T6 ?; S; _8 i$ W: ]

  1074. % m7 Z8 P% d% g! }7 _* D
  1075. ; Check that a connection is still valid before reuse.
    / c2 i* s4 R- D& \; w" A
  1076. ; http://php.net/odbc.check-persistent
    : o, G; f; d0 X, e0 h# J" O% m1 R7 K; ]1 z
  1077. odbc.check_persistent = On. O0 p( m6 ], r) k

  1078. 6 Z2 e& ?# k! @$ x1 A, j
  1079. ; Maximum number of persistent links.  -1 means no limit.. r, b  e7 i2 a2 `) H& p: A
  1080. ; http://php.net/odbc.max-persistent
    6 o$ `3 c0 J2 d- m! q" K  o, k8 ?
  1081. odbc.max_persistent = -1
    : R" V; ~! I$ e5 n9 Y# D
  1082. . c: E( n: P6 i, \+ Y. d! s
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.$ y. J, c& X) _. Z& I  ^
  1084. ; http://php.net/odbc.max-links
    6 x& P3 c% x; {( Z- a
  1085. odbc.max_links = -18 Z3 Y/ f3 a7 L. t1 v
  1086. 7 L: _" ?0 [( d. o$ B' s
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means, {' [0 }0 G4 b4 w4 t; M% z
  1088. ; passthru.
    4 f# e) y. [9 z4 l& d& k" }
  1089. ; http://php.net/odbc.defaultlrl
    ' E' Z/ Q7 M( s% a+ _
  1090. odbc.defaultlrl = 4096+ M& K  p; W# ?; [. q

  1091. % c4 N* v( n& u% Q3 |7 n+ e" c; D: `
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char./ Y; y/ x+ S0 A' X5 C+ f( ^
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    0 y2 M4 n! M- a
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    6 }7 q, c' \, [& S* L) ]
  1095. ; http://php.net/odbc.defaultbinmode% v2 p' X0 d' W. j, O  A" e
  1096. odbc.defaultbinmode = 1
    0 d0 o1 m1 s. a5 u" F6 P+ G; h4 B9 b
  1097. 9 R; n0 _. U" A( w& c
  1098. ;birdstep.max_links = -1, N- z' u4 m0 |' w: q5 [: R

  1099. 8 h, q3 _) a2 Z0 }
  1100. [Interbase]0 O- X$ \/ R8 z% t
  1101. ; Allow or prevent persistent links.5 `/ a; C& }% |+ S& D
  1102. ibase.allow_persistent = 1
    9 |2 ^% h8 u4 t  y

  1103. 4 [# K0 v5 v) M9 w, Z8 v8 R9 ?% r
  1104. ; Maximum number of persistent links.  -1 means no limit.
    $ m4 r; k; S7 e. X3 {
  1105. ibase.max_persistent = -1+ o% {* P! R, i; A- w( K
  1106. 2 f  o7 _, f( w# t0 X7 X- b1 Y
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 \6 ]+ @8 O4 r2 F6 L
  1108. ibase.max_links = -1
    * Q, Q* ]2 V9 m! E/ T# |& S

  1109. + k% f& f- S! x; I2 u. J- e
  1110. ; Default database name for ibase_connect().2 [* _. O3 ?) y5 P
  1111. ;ibase.default_db =
    : G4 h, r1 L1 M6 `' D7 j
  1112.   L# f) m  o: M2 I; }
  1113. ; Default username for ibase_connect().
    : F/ ^6 S7 ^8 O* p
  1114. ;ibase.default_user =/ U  b" a$ B9 J9 ~5 ~# K2 d. U
  1115. . j2 a# A/ @8 |1 H9 R; H9 a
  1116. ; Default password for ibase_connect()." l7 r7 s4 i. l. p9 v+ t( u1 }
  1117. ;ibase.default_password =
    : b7 p3 G% F( B6 g7 R
  1118. & K. o0 ]8 [5 q3 P
  1119. ; Default charset for ibase_connect().5 r4 Q  x4 Z2 G5 ]5 f
  1120. ;ibase.default_charset =
    9 A4 w8 w! X7 Y

  1121. ; c3 X8 |- [1 F9 j: w2 [+ M
  1122. ; Default timestamp format.
    : e' t' n& W/ j' f; X' w
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    $ l) t6 k) o2 j; g3 K# V0 V8 x
  1124. ( R, B1 t" {: R9 X6 }* b$ h' V- _
  1125. ; Default date format." j/ j( @. i3 _6 x
  1126. ibase.dateformat = "%Y-%m-%d": D/ h' _& i1 A* S6 J+ T! z

  1127. " P  a! e( M  a/ e' L
  1128. ; Default time format.* A" _# ~4 G$ g
  1129. ibase.timeformat = "%H:%M:%S"
    % T4 U/ x6 Q4 Q7 v9 t
  1130. 2 }8 N) j8 t0 l" G: N7 Q
  1131. [MySQL]) R1 a3 p6 j5 f  G8 s
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    + \0 R+ }/ G! j: n( g, T
  1133. ; http://php.net/mysql.allow_local_infile1 \% e" _) Z8 E" u$ t
  1134. mysql.allow_local_infile = On
    . @$ o1 {1 }* e* J2 C5 M; y8 f

  1135. 3 B4 \( T. {; _) B5 s# q5 L& E* S5 N
  1136. ; Allow or prevent persistent links.
    . |- ^0 W0 u5 T$ q; m( y
  1137. ; http://php.net/mysql.allow-persistent* Z' j& F' a1 C, e1 h
  1138. mysql.allow_persistent = On
    7 ]- @! H' U3 k9 `8 h

  1139. ! i- n! @! n' j( y
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    * M( N  Y7 _# Q2 K6 m: J
  1141. ; http://php.net/mysql.cache_size
    & d% J% D( R# Y- i0 V8 ]" t4 h* L
  1142. mysql.cache_size = 20000 O2 T$ S' q9 X2 C

  1143. 8 [/ @( Y9 y5 R# O3 O3 l! j3 c
  1144. ; Maximum number of persistent links.  -1 means no limit.
    & c) Q" u% s. O5 T+ ?, @% ?- `' K
  1145. ; http://php.net/mysql.max-persistent3 d; y2 L0 ^# |
  1146. mysql.max_persistent = -1* Z2 h2 x2 {4 h! t

  1147. - G1 v& |% e: ^8 s! Z
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 }4 n5 U. s. Y8 f
  1149. ; http://php.net/mysql.max-links
    ; C/ O" F2 w: T8 I" h5 y
  1150. mysql.max_links = -1
    * c( A% x( e  e1 N* |
  1151. 8 l& @8 t) h4 Q. A) e
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use' ~. t) o& G# F9 E1 B# `3 X; x/ z. o
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ) L+ ?) P! h4 ~; ?) m. k
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look, b7 F3 z/ p' A! |& M% a( ^  S' [
  1155. ; at MYSQL_PORT.
    , |1 \7 d/ S  J, C9 O3 J& v9 y
  1156. ; http://php.net/mysql.default-port
    , i0 q0 D' e+ N! e
  1157. mysql.default_port =& y% N2 r6 R& f4 |0 O

  1158. 3 }( h2 l0 o; s5 |8 ^4 _
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    6 a" {/ N& o$ r. E# ^) p# O5 W% D
  1160. ; MySQL defaults.$ Q* k6 B" ~; [- P4 E. w
  1161. ; http://php.net/mysql.default-socket
    0 S  m5 K2 U4 u/ I+ O2 s
  1162. mysql.default_socket =- o- }: P3 E6 E  K

  1163. ; j9 L) B. q: ?5 [: `7 Y0 L, ?
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode)., m/ T/ K4 ^7 j- ]0 }5 X7 ]
  1165. ; http://php.net/mysql.default-host# ?7 a3 K5 z# w) Y/ }9 _9 r( J; S
  1166. mysql.default_host =- }8 R9 v+ ~7 ?& _0 M  t# @2 o* q
  1167.   x; G6 U. k6 o8 y3 I) j$ t
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    % |1 g5 \4 H' B3 J# L0 F
  1169. ; http://php.net/mysql.default-user
    * A, O# H( Q, ]1 ~7 e- M
  1170. mysql.default_user =0 M$ k; q' q8 b$ y9 v

  1171. 6 `! T2 a1 C! b8 R
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).9 ~; |, A: ^" A$ a$ S
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    ; b1 ?. X3 d; q  ^6 e4 A
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    5 b7 v3 p' \: h4 \9 u
  1175. ; and reveal this password!  And of course, any users with read access to this' G  K/ ~: V' N* U! l, G
  1176. ; file will be able to reveal the password as well.: p) q: y7 ~/ u3 Z1 m  O' R- h
  1177. ; http://php.net/mysql.default-password
    1 Y" o. b6 U& ~1 |0 c% q0 x; U4 W
  1178. mysql.default_password =3 s/ I) \% T8 t

  1179. " G$ k4 C* d+ u' X
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit/ G1 T5 m. F' ?+ K
  1181. ; http://php.net/mysql.connect-timeout
    0 S  T1 a$ u' A
  1182. mysql.connect_timeout = 608 p* P  F% C) V4 Q
  1183. ) q: ?+ G) P0 d7 C0 ]5 \
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    0 w: {9 I& U( T
  1185. ; SQL-Errors will be displayed.5 x/ X6 Q9 m3 s
  1186. ; http://php.net/mysql.trace-mode& C' G8 ~- Z4 ^. w1 `! _) J- ?/ T5 }
  1187. mysql.trace_mode = Off# U# u1 _  J  M# F7 r9 s& b/ r
  1188. " m! ]. p6 t6 M/ [
  1189. [MySQLi]
    - B# h: k6 X7 s9 j1 @1 b
  1190. / C9 P& h& q- c$ y8 f7 W* ~
  1191. ; Maximum number of persistent links.  -1 means no limit.
    * E3 ]/ c7 b, y) o
  1192. ; http://php.net/mysqli.max-persistent
    4 t/ P& F/ i: l
  1193. mysqli.max_persistent = -1
    : G) E0 z1 Y0 ^* L  @. E
  1194. : a( y/ s2 D6 v" {& ~) o# S& X
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    1 Q1 a7 J% X; t; {: m9 |8 r
  1196. ; http://php.net/mysqli.allow_local_infile* R+ s* J- T5 J' I/ Z. F2 ^
  1197. ;mysqli.allow_local_infile = On7 ?, N6 k+ |  s; \& l
  1198. 6 H) @* m7 V1 f' I) c! [
  1199. ; Allow or prevent persistent links.) O5 R  i& P9 Z/ Q) T
  1200. ; http://php.net/mysqli.allow-persistent
    6 Z% N/ m6 A' g4 C
  1201. mysqli.allow_persistent = On
    ) j  z  q  B# n/ L+ g
  1202. / J/ q3 ~) g. O) f
  1203. ; Maximum number of links.  -1 means no limit.7 T* H0 s! S8 k* O  e2 \6 _. u2 ?
  1204. ; http://php.net/mysqli.max-links6 J- k) ^, |% M; d% C1 V
  1205. mysqli.max_links = -16 X0 c- z% h4 D$ ~3 p

  1206. 4 u9 Z8 v& b( [+ ?) }+ V! K
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache  x. v8 P( {# x0 @
  1208. ; http://php.net/mysqli.cache_size5 x) q* l5 ^* x! G9 R7 h
  1209. mysqli.cache_size = 2000
    1 a9 y, A! B0 p9 G+ M, Q
  1210. . r9 i, j0 q# o& o
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use  U! F3 g$ Q7 \% P0 }4 \+ A! K% \
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    3 D4 Z" x8 k, X% V
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ! `4 D' ~& b* ~7 m8 F9 _
  1214. ; at MYSQL_PORT.
    , \3 Q0 L# H& M! z; g
  1215. ; http://php.net/mysqli.default-port. G( H9 [7 f+ V) s$ R3 B& n
  1216. mysqli.default_port = 3306
    $ k( `" ?; O2 e: O3 v) T1 ]5 @7 @
  1217. 1 g) x4 p# t0 t, c# E
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ M7 \8 P7 h$ x! n1 G% y
  1219. ; MySQL defaults.
    0 M3 p% d0 @( i1 G) v
  1220. ; http://php.net/mysqli.default-socket. [1 ^: t2 `, k0 M7 A
  1221. mysqli.default_socket =2 n- N% `3 k# w; D2 F$ n2 Y

  1222. ; k) |; F: o: ^8 l
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).9 P  ]+ h. S/ D
  1224. ; http://php.net/mysqli.default-host
    2 M# F! S9 N, D
  1225. mysqli.default_host =" I( F: C: R& t! P2 j
  1226. ' |  z7 o, |% C0 |: i+ m: g
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    4 L! C* _0 J& j$ D. J0 N+ Z$ a- d
  1228. ; http://php.net/mysqli.default-user
    * o! x- u$ x! R
  1229. mysqli.default_user =2 Y$ v/ q! B: Q- Z( [- a: H
  1230. % d' _+ o+ H: ?3 i
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    & F2 K# E7 S  z/ k0 ?
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.  i* k9 d- Z9 D" ^/ q
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")- T$ O8 ~) L7 l( q/ \( {0 U! ]) }
  1234. ; and reveal this password!  And of course, any users with read access to this
    * Y; U3 n" S# `/ |
  1235. ; file will be able to reveal the password as well.
    1 S: Y' M; U( z& a; I* m
  1236. ; http://php.net/mysqli.default-pw  F! q9 H7 Q4 Z  V) J
  1237. mysqli.default_pw =
    , T/ q5 P# @+ W& A# h
  1238. ) Y- }- ~, r  l3 e/ `8 S! }
  1239. ; Allow or prevent reconnect9 j: {8 t1 I9 H+ g
  1240. mysqli.reconnect = Off
      w, g# c4 l+ }" \7 W

  1241. ! T# f( K3 P. w
  1242. [mysqlnd]
    : I% U8 J/ @; l! {3 _
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be) n! |) G& |" W9 @
  1244. ; used to tune and monitor MySQL operations.
      i2 w1 F/ u" |) y8 e! `+ m
  1245. ; http://php.net/mysqlnd.collect_statistics4 i" y9 c3 z' |/ x$ s- \
  1246. mysqlnd.collect_statistics = On
    0 `" J% D  T: m! C/ n% y' i3 g
  1247. 7 b  E4 o( {8 F
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    5 I  u  |' |" s: J; i" H
  1249. ; used to tune and monitor MySQL operations.# g$ O+ t: u  G, v; {6 T; ?# o
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    1 b$ Q* T. {& [6 z4 o7 u
  1251. mysqlnd.collect_memory_statistics = Off7 i) ]; n; L, g, z3 e4 M# s
  1252. 3 {! O3 r: x+ p: l5 j7 J* Y
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    ) J! x1 Y) i* D9 y9 g$ r+ h
  1254. ; file.. D: j" F7 H) Z% Q9 x7 S5 w
  1255. ; http://php.net/mysqlnd.debug1 ?, U- n0 i- H6 C: y' R. M
  1256. ;mysqlnd.debug =+ W7 f& [( y: Z5 {- X9 O

  1257. : o3 k- M$ \& z( W' b
  1258. ; Defines which queries will be logged./ l* z* M5 e; H2 e) X
  1259. ; http://php.net/mysqlnd.log_mask' G* `. ^: Y$ m
  1260. ;mysqlnd.log_mask = 0
    . ^( X9 ^4 I: p3 @

  1261. # |8 b0 p6 P1 n9 {
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.: W" @# V; J2 P3 @, b7 o
  1263. ; http://php.net/mysqlnd.mempool_default_size
    5 {& |. E% q+ f
  1264. ;mysqlnd.mempool_default_size = 16000! R2 q% t) o- V0 o- X, ^; k8 t
  1265. 0 S  v0 ?7 S. d$ J/ m9 Y$ A
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.1 M' V: e5 O, u( ]3 n, b
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size( S, [; \) r% b! p, J
  1268. ;mysqlnd.net_cmd_buffer_size = 2048" t: Q6 I+ T% ]" D6 D
  1269. % c( e' e  o$ A. l9 ]& D# w3 I
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in' L7 v1 T7 f6 l) B
  1271. ; bytes.% x7 z% a+ U# y3 k5 D) ~' ~' a  F
  1272. ; http://php.net/mysqlnd.net_read_buffer_size* ?- r& X) ~# x2 S: Q
  1273. ;mysqlnd.net_read_buffer_size = 32768
    ) `2 u' K6 e% z# @0 S5 P0 E

  1274. ( N! D7 l, |! w
  1275. ; Timeout for network requests in seconds." I/ A: T& H4 T
  1276. ; http://php.net/mysqlnd.net_read_timeout% E$ O4 |, \% N$ E& m9 S% h
  1277. ;mysqlnd.net_read_timeout = 31536000
    * n4 m4 N9 ]' N7 w+ v' V- Q. A

  1278. % z/ |! J  l" E& h$ f+ Y5 K
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    5 M9 X2 ]7 l! a4 P' \- m9 R' R
  1280. ; key.+ I* ^, s: i" `5 {1 w  N
  1281. ; http://php.net/mysqlnd.sha256_server_public_key. {9 r* d3 E+ ^8 I2 y" y" e  A
  1282. ;mysqlnd.sha256_server_public_key =
    ! d. O, |5 G: ?" O" L( W, j3 K

  1283. 6 i3 E% Q  L1 L  O
  1284. [OCI8]! U8 i! I. m6 k! h

  1285. " J8 M7 p$ o) N7 e9 V2 I% M; }
  1286. ; Connection: Enables privileged connections using external2 ]4 {$ ^3 Q) j' u
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)0 Y7 S$ a( ]/ u3 a
  1288. ; http://php.net/oci8.privileged-connect
    ; g7 e* G* [7 G# F' l1 ?% j
  1289. ;oci8.privileged_connect = Off; {, @1 y2 M$ v0 }$ D. f1 u: O

  1290. 0 k; O( j  A: U+ p
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    1 Y# @# g6 G! P. }
  1292. ; process. Using -1 means no limit.! Y% G1 u% w! H/ l  j
  1293. ; http://php.net/oci8.max-persistent
    7 u6 X( B" r: b' J2 G, O( Z
  1294. ;oci8.max_persistent = -1
    / }0 U7 i& h3 Z8 T0 ]% d$ D

  1295. 5 @1 e; ^1 b9 n, ~
  1296. ; Connection: The maximum number of seconds a process is allowed to
    # t1 G7 j8 U: n7 E, U
  1297. ; maintain an idle persistent connection. Using -1 means idle% Y3 K8 }7 K3 {3 @$ z' ?' i) b/ M
  1298. ; persistent connections will be maintained forever.
    2 x/ M: g/ c# R) W- p
  1299. ; http://php.net/oci8.persistent-timeout
    % V5 Q6 x. J8 e: C  W7 z
  1300. ;oci8.persistent_timeout = -1
    , I" s3 e9 S& k

  1301. ' d: i- u8 a. Q5 S# l
  1302. ; Connection: The number of seconds that must pass before issuing a( R( o7 t, t- w
  1303. ; ping during oci_pconnect() to check the connection validity. When
    , ?+ ^( {* A  |4 q. j  N% t. ]0 p
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables  h$ \( W2 h5 P0 w, P
  1305. ; pings completely./ @3 V# G; |! `1 N' b! B- t, Q
  1306. ; http://php.net/oci8.ping-interval+ H" L* f. v5 w- p; h* s7 X
  1307. ;oci8.ping_interval = 60( f9 e5 \9 h5 y6 Q8 V7 O
  1308. . V4 M$ D# ^0 Z# n6 ~( {) q+ P) y
  1309. ; Connection: Set this to a user chosen connection class to be used
    ' l) N/ ~- W, W' C
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    , i- \6 f' U& W  H4 @5 U
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to" i3 v" d0 k' f4 p# x  }
  1312. ; the same string for all web servers running the same application,4 H- Q6 ~+ m- o: g3 S, x
  1313. ; the database pool must be configured, and the connection string must
      Q. S; X  Z& q0 J$ K( Y
  1314. ; specify to use a pooled server.
      Z$ H7 z* B; u7 u8 o
  1315. ;oci8.connection_class =
    $ P: K' m9 _4 ~: B( M$ ?- }
  1316. + V5 G7 q' P0 R7 U9 e9 k; h
  1317. ; High Availability: Using On lets PHP receive Fast Application4 k8 t- s5 C* q) j' O
  1318. ; Notification (FAN) events generated when a database node fails. The
    ' H9 }' o) ~; X1 _; S
  1319. ; database must also be configured to post FAN events.+ [8 x' _. Z' p+ P' [. G3 D1 r& i
  1320. ;oci8.events = Off
    9 ?3 U& k7 ?' e0 \" x1 R  W: L3 W
  1321. & X9 i( e3 S' |  B1 t) b0 z
  1322. ; Tuning: This option enables statement caching, and specifies how: x$ l6 A" m* w% d8 ~* I6 T
  1323. ; many statements to cache. Using 0 disables statement caching.
    ! `8 _6 o# w( B' N* M5 J
  1324. ; http://php.net/oci8.statement-cache-size
    ( N* @* H. j4 h  E. J
  1325. ;oci8.statement_cache_size = 20
    , Q1 J4 P) m8 X5 i+ `
  1326. : a; V5 T0 C- L
  1327. ; Tuning: Enables statement prefetching and sets the default number of2 J$ F. U. e8 b. p- m; I
  1328. ; rows that will be fetched automatically after statement execution.
    9 h) j: a. f& X' }& z7 y
  1329. ; http://php.net/oci8.default-prefetch
    : I8 X! I# ]' r5 }  I7 ~. D. F2 \
  1330. ;oci8.default_prefetch = 100+ }% F7 T, t- X' \4 R/ A

  1331. ( ^. l; D3 {7 y% Q/ J  `; g
  1332. ; Compatibility. Using On means oci_close() will not close
    # k+ {; c. b8 x8 y" h: t
  1333. ; oci_connect() and oci_new_connect() connections.
    & E  w+ y% t( t! v
  1334. ; http://php.net/oci8.old-oci-close-semantics
    3 E# T: v. [+ r# t! F$ b
  1335. ;oci8.old_oci_close_semantics = Off
    2 O/ Y8 _7 E2 ^
  1336. , G% _, f2 u/ _2 q9 c) V0 c( T
  1337. [PostgreSQL]% m' e( t/ }& P  ?
  1338. ; Allow or prevent persistent links.% n+ L! l2 v& O2 ~
  1339. ; http://php.net/pgsql.allow-persistent( s3 b' X& E8 j  M4 E* f4 f
  1340. pgsql.allow_persistent = On) q1 F+ R! o* f" n% T7 g5 d

  1341. 8 e' S8 x1 D* s
  1342. ; Detect broken persistent links always with pg_pconnect().' S" `8 H) V1 J7 H! M
  1343. ; Auto reset feature requires a little overheads.
    9 t* D  A$ y  W/ S) N9 P
  1344. ; http://php.net/pgsql.auto-reset-persistent" o  l5 G/ T9 d, o
  1345. pgsql.auto_reset_persistent = Off
    + a$ s; m  e- _

  1346. 1 A0 X. i8 z* Y$ m1 f
  1347. ; Maximum number of persistent links.  -1 means no limit.
    8 S2 x, H" W# a- B! X
  1348. ; http://php.net/pgsql.max-persistent, W( [8 l# W0 T) ~' o
  1349. pgsql.max_persistent = -1- S+ l9 ], G: E8 c

  1350. ( U1 o: {  O6 F4 j7 g9 ]
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.3 p8 Q% O4 t+ @0 Q0 J
  1352. ; http://php.net/pgsql.max-links: S7 [( N1 o; C7 k% Y5 C, d! ~
  1353. pgsql.max_links = -1
    / j7 ?1 `8 F! }$ s2 `6 ^3 J

  1354. # z( x* N4 T' a; |& }2 q, c; L! F
  1355. ; Ignore PostgreSQL backends Notice message or not.
    3 d/ _4 m# }. b+ }
  1356. ; Notice message logging require a little overheads./ g" i" [) {* `! S6 x3 q6 u4 c
  1357. ; http://php.net/pgsql.ignore-notice
      v0 D* @% C$ w' ?& E3 Q
  1358. pgsql.ignore_notice = 0
    ) v! u4 |0 c' C) H' K

  1359. : n: o9 c& F2 j5 C0 a; Q: {
  1360. ; Log PostgreSQL backends Notice message or not., c8 w8 V/ g; W1 n
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    6 G2 R# K$ l4 S+ U8 |$ h3 j" ~
  1362. ; http://php.net/pgsql.log-notice: o4 o6 p3 L3 U
  1363. pgsql.log_notice = 0$ Q4 ~3 E7 q1 o

  1364. ' x! C( {6 q/ J6 l1 a9 b8 h* l5 u
  1365. [Sybase-CT]0 r7 O% r  i/ `& C+ l* C0 a- U
  1366. ; Allow or prevent persistent links.9 t% T6 o( F7 C
  1367. ; http://php.net/sybct.allow-persistent
      f1 B' |7 K+ x
  1368. sybct.allow_persistent = On
    & S* F) I& B% f$ z. I
  1369. ! ?! ^# K: g7 g# w" T* Q* O
  1370. ; Maximum number of persistent links.  -1 means no limit.4 n! g. l4 R+ H9 h
  1371. ; http://php.net/sybct.max-persistent8 V. F8 I/ u* b
  1372. sybct.max_persistent = -1
    5 W- _, J* n7 i# R$ I, u; _
  1373. + }& i6 p' r, C: g, a7 X
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.8 [& U1 ^% m2 V  W% w/ F( t
  1375. ; http://php.net/sybct.max-links! H- C0 v% B( q8 P4 M2 }, e$ m
  1376. sybct.max_links = -1
    7 k5 Q1 s5 N# G. J& T
  1377. 7 a; t7 Z2 _, n  y  l0 @
  1378. ; Minimum server message severity to display.
    # d' P* c3 ~3 k, v- ?, A) U5 f+ D* ?
  1379. ; http://php.net/sybct.min-server-severity: E- |' O, n5 v- U2 y/ y4 O/ ?
  1380. sybct.min_server_severity = 10
    ( G1 X/ I8 L9 q

  1381. 7 p2 U8 B+ Y9 }& k, o4 q
  1382. ; Minimum client message severity to display.! [- F* F7 e$ R9 _: i7 J
  1383. ; http://php.net/sybct.min-client-severity
    5 k. |& T4 I0 x9 k. I
  1384. sybct.min_client_severity = 10- X8 W) \1 V, v/ v
  1385. $ z' c. X% v0 ^: m' L8 m( X8 d
  1386. ; Set per-context timeout# B4 H2 f, r/ V: F+ j& w. Q7 ?
  1387. ; http://php.net/sybct.timeout# L1 a  F" J$ ^, S) h
  1388. ;sybct.timeout=0 O5 m/ w% c4 L* Q; H

  1389.   q, J1 h/ z% T% @/ m+ p3 d
  1390. ;sybct.packet_size
    2 e0 M$ V, I* B6 S. A1 x# M2 }
  1391.   ]* C& q- N) N- K& Y
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    6 A6 K# {9 q3 n/ q
  1393. ; Default: one minute$ Y$ K6 X1 ]0 j! J( F
  1394. ;sybct.login_timeout=6 ?  k5 i% R% f, {
  1395. $ m' z" z5 P5 |5 m% S- j
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.; n5 w0 j  F) \+ ?
  1397. ; Default: none7 X( r7 y3 a, b5 ]6 J; W' ]
  1398. ;sybct.hostname=
    & v' N: W9 v6 K
  1399.   E( ^; i8 Y& J& c# a
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".+ C. G* {, _' Z) D; G: t/ c
  1401. ; Default: 0
    . s0 a2 w; P3 B9 Q1 L; v
  1402. ;sybct.deadlock_retry_count=
    / O1 z; ~" P  M* `6 Q, x
  1403. " c0 Z" z" M) |- C
  1404. [bcmath]
    ( t! S5 o: q, p+ G- ~9 O; M
  1405. ; Number of decimal digits for all bcmath functions.7 H. a9 K9 W* R. R/ F8 \0 k
  1406. ; http://php.net/bcmath.scale& F& E9 c( p$ Z  p* M- d1 d' R' a
  1407. bcmath.scale = 0
    : b  e9 D9 B7 Q3 A

  1408. 0 R. {9 C. h7 v6 Z/ q$ n; B9 z7 I
  1409. [browscap]7 k# N6 R- e5 ?7 G5 y3 V- I
  1410. ; http://php.net/browscap( e8 y; y/ E1 e2 A! g2 J2 i. b
  1411. ;browscap = extra/browscap.ini' m. i- Z" F! a! j

  1412. 9 U* [3 K; D! V7 [) d2 l
  1413. [Session]
    . l' j& O# ]6 Y( x' x7 ?
  1414. ; Handler used to store/retrieve data.
    : ]3 M  i) \( d$ _
  1415. ; http://php.net/session.save-handler
    0 P* ^( w- G2 i$ A
  1416. session.save_handler = files
    7 ]+ ^/ m. t2 u' {
  1417. + Z, F0 R5 K* B1 p1 F7 ]* Q$ k. E8 K& q
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    % }; L1 `* V" ]
  1419. ; where data files are stored. Note: Windows users have to change this: U& f4 e# K. p0 r' V/ I
  1420. ; variable in order to use PHP's session functions.
      J: I, r/ a6 l3 _
  1421. ;2 P; I0 C% E- |8 k4 L0 [" @. h
  1422. ; The path can be defined as:) d: Y" B. G% ?
  1423. ;
    ; F; Z" p6 q) ^5 R
  1424. ;     session.save_path = "N;/path"
    9 j- }. Z3 u% A3 C7 g' k
  1425. ;
    & U: Y9 m% W7 {) U
  1426. ; where N is an integer.  Instead of storing all the session files in5 K. U4 ]5 A+ m( i
  1427. ; /path, what this will do is use subdirectories N-levels deep, and7 x0 A; _9 d4 E1 b4 J, f
  1428. ; store the session data in those directories.  This is useful if
    2 {& N" ], c( F3 y
  1429. ; your OS has problems with many files in one directory, and is
    % [) o7 U0 A. ?4 x
  1430. ; a more efficient layout for servers that handle many sessions.
      x2 T" W$ ?% T6 T# y
  1431. ;
    6 }: z. `8 G' o$ H& C, w
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    $ F" X2 R4 n. v
  1433. ;         You can use the script in the ext/session dir for that purpose.
    ! w, f' }2 H9 l# ?) W
  1434. ; NOTE 2: See the section on garbage collection below if you choose to2 l9 c" S4 S8 L& B
  1435. ;         use subdirectories for session storage
    0 O: Q9 Q+ u8 x
  1436. ;
    ; n; X% w& m4 H0 Y  c# L4 }
  1437. ; The file storage module creates files using mode 600 by default.
    ! P) z  e2 X& U9 ]/ z
  1438. ; You can change that by using0 v! A  L, R; D' M0 P
  1439. ;; f3 e: s: ~" u% }& z% Z0 Q
  1440. ;     session.save_path = "N;MODE;/path"
    . O3 K8 p' E1 t! ^* v% a
  1441. ;9 O, @/ `) x4 j
  1442. ; where MODE is the octal representation of the mode. Note that this. r' O4 D8 G* |3 q: M
  1443. ; does not overwrite the process's umask.
    5 N+ O5 W' T6 @" _* u
  1444. ; http://php.net/session.save-path  d, o' d% E+ t% s
  1445. ;session.save_path = "/tmp"
    6 D* D2 g6 f, q: n. G0 [) C
  1446. $ K& W) k. ~, |( a6 U+ `' k
  1447. ; Whether to use strict session mode.3 t: c" S9 J3 C- V
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate- A6 O. I  B( n3 l
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects1 i( S6 F1 h5 U! O. g' u4 q
  1450. ; applications from session fixation via session adoption vulnerability. It is  i8 Q; ?& k7 ]) e8 @9 b: Y
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.7 T# D" n: S5 |+ i# I( m4 {
  1452. ; https://wiki.php.net/rfc/strict_sessions
    1 C4 ?1 g7 N& W: {  L
  1453. session.use_strict_mode = 03 K1 o. d8 Q4 l. t4 ~
  1454. 0 \3 N% C# L" w& h/ S+ l
  1455. ; Whether to use cookies.* X% r& o9 N) V- t6 n
  1456. ; http://php.net/session.use-cookies# T6 |$ t* ~; {8 q+ h. k0 H* k% c
  1457. session.use_cookies = 16 L7 m% \$ C8 H( ]; |7 J
  1458. , }# P5 S6 p' G4 J
  1459. ; http://php.net/session.cookie-secure$ o, @- w9 Y# }! A( S; d; z
  1460. ;session.cookie_secure =4 S0 j# G- c7 j: o0 v( J
  1461. 4 f. P. \& @' u& T- @
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    2 [3 b. C( _: _$ D) j
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    ' X' B) Q! E! [4 G, }6 g3 j
  1464. ; session hijacking when not specifying and managing your own session id. It is
    $ Z0 d# e" d' [
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    6 Q% I( b; O' b" q7 b3 c# X
  1466. ; http://php.net/session.use-only-cookies/ b( S. r0 I* R$ @0 G9 k
  1467. session.use_only_cookies = 15 ]/ M4 y  O5 l3 O7 w: S' p
  1468. & Y; H2 Z: i0 c) u0 g' b
  1469. ; Name of the session (used as cookie name).
      J9 P, a9 A( T  |: l
  1470. ; http://php.net/session.name
    ( \& S, F: b! |, y& _7 A2 S  `
  1471. session.name = PHPSESSID( [2 }  a' d! E7 T

  1472. $ \2 M. I) N# b% t
  1473. ; Initialize session on request startup.
    1 x/ J! }  m+ x9 g1 d. y1 f" W4 R8 w% J
  1474. ; http://php.net/session.auto-start
    , }0 a3 b$ z! N3 S. S# o# J0 w
  1475. session.auto_start = 0- i! B( u  U3 W2 i
  1476. " c  l6 p) i0 t% U, n  E: N
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.( k" p. q. [1 g, A0 f7 M* `
  1478. ; http://php.net/session.cookie-lifetime
    , E7 e" x( E+ X. w% k/ s
  1479. session.cookie_lifetime = 0
    ; @: s+ h1 x' f$ s- P
  1480. 9 v: E, E. Y. z& O, t8 d
  1481. ; The path for which the cookie is valid.
    $ H5 F$ f% i# Y1 u+ g
  1482. ; http://php.net/session.cookie-path4 K1 D; `* S# E1 N+ M; X5 n4 t
  1483. session.cookie_path = /2 O) K  T% m; B* _" _7 P

  1484. 1 e( f" h$ K+ @4 T
  1485. ; The domain for which the cookie is valid.$ E3 j% l1 H/ K7 }2 v% a
  1486. ; http://php.net/session.cookie-domain
    2 Z7 ^- [: K9 |: Z
  1487. session.cookie_domain =6 B4 u( E8 ]! R: I( x4 k% V

  1488. & E2 X7 Y3 ]6 _, I
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.1 V4 P% w8 A3 J2 x. b
  1490. ; http://php.net/session.cookie-httponly) [! m% m+ q2 J+ a% `. _1 l
  1491. session.cookie_httponly =2 _: F% S' p) ~. G" X6 Z
  1492. . k' b' n: _" }- @3 W
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.! [' U* p5 w3 F! `6 e* Q
  1494. ; http://php.net/session.serialize-handler/ G2 r4 [- v8 y0 c
  1495. session.serialize_handler = php% O( J" y( C6 y3 V8 l  _# b
  1496. ; ?% s5 _9 z2 E4 p# Q% Q
  1497. ; Defines the probability that the 'garbage collection' process is started
      K8 K! z6 i' m9 A$ ?* ~; {  W, c* s4 `
  1498. ; on every session initialization. The probability is calculated by using
    5 T5 @' v$ N4 y  R6 r; Q
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ) ]. L" w$ e6 T* r; H6 F
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    1 m2 B8 U1 m* D# M
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
      x. @, v8 U0 O& X
  1502. ; the gc will run on any give request.$ h# y  x; J3 g3 {
  1503. ; Default Value: 1
    6 @! \3 [! A0 r: O; C
  1504. ; Development Value: 13 q7 s+ H8 \, K8 e
  1505. ; Production Value: 1
    - r% I, g3 Y; r* Q
  1506. ; http://php.net/session.gc-probability
      H5 \5 G  L) W" X
  1507. session.gc_probability = 10 J7 h+ ]. n% B$ k5 S
  1508. 9 @  W8 k. C: L, \( J7 q; n$ R
  1509. ; Defines the probability that the 'garbage collection' process is started on every* c) z  L- A- b
  1510. ; session initialization. The probability is calculated by using the following equation:
    8 [! s1 s2 ]6 m0 b# S5 F( R1 |
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    4 Q+ T& O5 Y1 e3 D
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    2 M6 n* @+ b) V1 _) a5 b$ j8 V2 Y: S
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    / k% R' y' o9 l" {
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you/ i: u, x. Q5 J$ r
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,# q* Q6 A5 F) B$ Z
  1516. ; this is a more efficient approach.' T+ h2 Q2 @6 G0 z
  1517. ; Default Value: 100
    9 r% C& O% x. n  @
  1518. ; Development Value: 1000) F( e5 A% Y8 j- N
  1519. ; Production Value: 1000
    ' V& `. ^+ p; c8 I
  1520. ; http://php.net/session.gc-divisor- T) u8 B$ ]" V4 t: q$ O2 Z
  1521. session.gc_divisor = 10006 n% Q7 h& I& T3 v6 k2 o0 n. r$ `
  1522. 4 r# h" c0 x- m" m/ R; Q
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and& t3 b: w4 ^6 J- i0 }
  1524. ; cleaned up by the garbage collection process.* g4 a0 f8 r! m$ ]1 h7 P
  1525. ; http://php.net/session.gc-maxlifetime
    , j# B; ?$ t, I! K! D, I" U
  1526. session.gc_maxlifetime = 1440
    1 t+ e5 i" s2 u' z4 P

  1527. 2 ^: J( t' c/ M% L3 {/ Z5 \
  1528. ; NOTE: If you are using the subdirectory option for storing session files. h; w" j& |; p1 C3 R. I
  1529. ;       (see session.save_path above), then garbage collection does *not*
    : _: L' e8 [3 L# `' z  |( f! l' J6 L
  1530. ;       happen automatically.  You will need to do your own garbage
    8 F  p2 @7 Q7 v# l
  1531. ;       collection through a shell script, cron entry, or some other method.- z* h5 W9 G7 a  y0 Y" B& l7 @- |* p
  1532. ;       For example, the following script would is the equivalent of
    3 B# P( K) u8 k- Y, c- R
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):8 W! B6 G/ |# \' [: R
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ' l0 |1 z0 c7 v2 D
  1535. % ^  r" ~/ A4 m/ A( a2 k& ]7 [
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    - [% `& ]  @0 w& j. }
  1537. ; HTTP_REFERER has to contain this substring for the session to be, {# J8 ^( N# F/ ^* B0 `5 `
  1538. ; considered as valid.
    0 j! @9 a$ q* H! a: O8 }2 W! T
  1539. ; http://php.net/session.referer-check
    7 a% S3 @0 ]- l- Q$ p) A
  1540. session.referer_check =
    6 ~, H8 s7 n+ F7 T8 K

  1541. : _* h) y( t4 c  i
  1542. ; How many bytes to read from the file.
    2 y8 f+ C- h. M4 G0 `, i
  1543. ; http://php.net/session.entropy-length
    0 g0 ]; X1 v' }" d, J- _
  1544. ;session.entropy_length = 32- n% e+ J; ]1 A

  1545. ! ?/ k4 h! `# c, e) E( [2 T
  1546. ; Specified here to create the session id.
    3 f! A' X# q  H# d" U$ s2 y$ V
  1547. ; http://php.net/session.entropy-file
    $ q" r* l' K2 G7 ?% J2 z$ I
  1548. ; Defaults to /dev/urandom
    9 `* [' W# w3 H0 B
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom3 M# }6 e$ O) ~8 I6 E' z; A$ x
  1550. ; If neither are found at compile time, the default is no entropy file.
    4 m2 Y- t8 M8 U' h
  1551. ; On windows, setting the entropy_length setting will activate the
    " {5 s9 U0 J1 t. a
  1552. ; Windows random source (using the CryptoAPI)
    4 h* Y) x0 x/ A2 i2 p2 r4 }5 |. h
  1553. ;session.entropy_file = /dev/urandom/ q. |, j+ K7 u& D' y- P' @/ r

  1554. + u5 I* f) ?2 H/ E6 u
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects# Y8 M' ]* p: V6 b# J- p
  1556. ; or leave this empty to avoid sending anti-caching headers.& Y, a/ P* f6 T0 Z* n
  1557. ; http://php.net/session.cache-limiter" X! Q; r0 x& s4 ^/ h4 R; O
  1558. session.cache_limiter = nocache7 ?* e6 a2 X6 I0 v

  1559. 3 q& M0 s: M7 D& ?3 _
  1560. ; Document expires after n minutes.
    2 H' j0 m5 b. k( L+ w8 o
  1561. ; http://php.net/session.cache-expire0 @: h6 e; _; U( K/ W! n9 b
  1562. session.cache_expire = 180
    4 K' \( \, w8 d1 s: a
  1563. % a) q2 @1 n- t. Q/ |8 C+ z$ Y% z
  1564. ; trans sid support is disabled by default.$ W; j' t# `% w) h$ R' D# x" Y
  1565. ; Use of trans sid may risk your users' security.: r! f0 t# o! z) T
  1566. ; Use this option with caution.+ @* i2 Z  i7 e6 [
  1567. ; - User may send URL contains active session ID
    1 d/ e, j7 O% M: n& H/ |
  1568. ;   to other person via. email/irc/etc.
    2 o$ E8 G1 Q, d
  1569. ; - URL that contains active session ID may be stored
    ( R6 r9 \; _' H
  1570. ;   in publicly accessible computer.
    - W4 V5 ?# E  t7 u  z$ p/ I  B$ f
  1571. ; - User may access your site with the same session ID
    , x( c& y" r2 g. a- k! s" f( @
  1572. ;   always using URL stored in browser's history or bookmarks.* H! @, w9 a% r0 f
  1573. ; http://php.net/session.use-trans-sid
    ' `. H" `9 l3 n8 h$ Q( P5 P  J1 T
  1574. session.use_trans_sid = 02 h- v% Q% w8 x; C. q* K
  1575. 3 n2 p' h) `+ j- m9 J4 R
  1576. ; Select a hash function for use in generating session ids.
      y/ s! m2 E' S
  1577. ; Possible Values
    , ?# b/ i$ b6 R, N1 [  n7 ^6 @3 J
  1578. ;   0  (MD5 128 bits)
    6 I3 z/ k, ]! }9 w( x
  1579. ;   1  (SHA-1 160 bits)" g. V: `6 `# |4 d4 X$ |% R& D
  1580. ; This option may also be set to the name of any hash function supported by, Y3 Z. m5 P3 w
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    % l( E9 W" m" r7 k" R# [  ^2 @/ B9 \
  1582. ; function.0 o8 D% T3 S) B
  1583. ; http://php.net/session.hash-function+ h/ D  N1 C5 \3 K8 m% O
  1584. session.hash_function = 07 C& E5 z8 r9 I

  1585. * }* ]) d9 ]+ l- H4 f/ K
  1586. ; Define how many bits are stored in each character when converting
    7 w$ A  F/ l4 y* [
  1587. ; the binary hash data to something readable.
    8 Q, H8 K7 `" b+ D: d, i* o) C
  1588. ; Possible values:+ v% ^9 H. [- M% q+ m" p
  1589. ;   4  (4 bits: 0-9, a-f)6 h- H8 Z2 o7 \
  1590. ;   5  (5 bits: 0-9, a-v)
    $ W( W( t$ S7 {/ c. s/ j
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")- U$ [3 E, [, J3 Y# W2 n4 h" ]* r" X
  1592. ; Default Value: 4
    " L% [; H4 V7 s' U) t0 [, ?
  1593. ; Development Value: 5
    ' c/ @1 l# Q8 h0 }& G
  1594. ; Production Value: 58 O% f' b+ c  ~6 m# H- `
  1595. ; http://php.net/session.hash-bits-per-character9 v2 S2 y1 ~. L, n5 ^0 u
  1596. session.hash_bits_per_character = 5/ z  W( L) T& |& m) O5 Y! L

  1597. 5 i5 R4 w2 X  o5 w0 `
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags., D# b: h! [  p  `" c
  1599. ; form/fieldset are special; if you include them here, the rewriter will$ z' g/ Z4 j9 e' D2 c
  1600. ; add a hidden <input> field with the info which is otherwise appended& l6 z& S4 s, m0 C
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.) ]2 f$ q( D# A6 E" }. l2 T
  1602. ; Note that all valid entries require a "=", even if no value follows.
    2 \5 j: B0 l3 Q! X
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="8 l) L; E$ y( i- I
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 f' ^; q) ~% r3 R' z
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 _9 u! ?" _* P  M9 S5 z
  1606. ; http://php.net/url-rewriter.tags% m& }. a9 n. M  m' P+ r7 l* p
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; ?4 y1 W! M2 @9 u5 f
  1608. 2 h$ _2 |2 W' p' U
  1609. ; Enable upload progress tracking in $_SESSION6 ^) r0 m- Q0 I. f4 c: `% Z) {8 R
  1610. ; Default Value: On/ ]) q/ E* o) L$ S' d& ?
  1611. ; Development Value: On
    ; o& L& [# j$ ?- J# X3 s  V
  1612. ; Production Value: On
    7 T1 t* T6 ]+ N" {  E# U
  1613. ; http://php.net/session.upload-progress.enabled
    2 w) {' R! P4 Y9 Z
  1614. ;session.upload_progress.enabled = On& t8 m% j/ Z7 ~9 k. `
  1615. $ O7 t. ~% M% I
  1616. ; Cleanup the progress information as soon as all POST data has been read
      R7 \1 j: ~# {7 m9 Q: Z
  1617. ; (i.e. upload completed).' N( H# _2 Q% t0 P. K
  1618. ; Default Value: On9 l3 \3 }- G% r# s8 Y+ n) e, s% A
  1619. ; Development Value: On
    8 c) Z* ?2 i0 e
  1620. ; Production Value: On) L. ~  m- l2 I4 O, ~8 g
  1621. ; http://php.net/session.upload-progress.cleanup
    & P$ j4 l9 K9 _- x5 ]
  1622. ;session.upload_progress.cleanup = On
    " _' |: H: m' F1 p8 ~) V% f3 Y) V

  1623. - Y; H9 I; U1 }! `' f  j2 _6 ]6 c- {
  1624. ; A prefix used for the upload progress key in $_SESSION
    7 w$ M1 j5 x& o: c( T* L
  1625. ; Default Value: "upload_progress_"5 v7 ^+ n7 D9 j! ~3 x& }! b
  1626. ; Development Value: "upload_progress_"
    . c# I# V3 Y& }: [6 i. U! E
  1627. ; Production Value: "upload_progress_"
    $ x1 u" o1 D2 E( r- r3 ?$ ?- J
  1628. ; http://php.net/session.upload-progress.prefix
    + K# P4 H; M6 p8 t2 E
  1629. ;session.upload_progress.prefix = "upload_progress_"
    * H, \, E5 D6 ^$ Q
  1630. 6 f& @& w, v% a" W; l9 |; n5 |' j- G
  1631. ; The index name (concatenated with the prefix) in $_SESSION  c4 X3 ]2 E' S
  1632. ; containing the upload progress information1 z" `7 |9 X$ H
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"2 Q" w! M7 R" u* g7 z
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"; N9 a* t7 [5 U, w3 O/ ?2 ]: _9 g
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . A7 M7 s- K  p; k
  1636. ; http://php.net/session.upload-progress.name
    0 i" X1 h+ `. k: ~' }; G% j% L
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"" j2 I( M* i' D
  1638. 6 f1 S' j$ C. k3 k
  1639. ; How frequently the upload progress should be updated.
    7 U- R! o& U* z) q' o) b
  1640. ; Given either in percentages (per-file), or in bytes
    ( s/ W& [" ?. ?! E. D
  1641. ; Default Value: "1%"" o+ ]& p2 Y) e
  1642. ; Development Value: "1%"; g6 F9 D$ d! }% h
  1643. ; Production Value: "1%"$ u! Q' H' p/ i
  1644. ; http://php.net/session.upload-progress.freq8 ^# C. g4 U: f+ |7 {9 j9 E$ U
  1645. ;session.upload_progress.freq =  "1%"0 v' s7 F. \: h
  1646. 0 X9 @8 H8 ~2 \6 Q- g5 z) i
  1647. ; The minimum delay between updates, in seconds
    + R4 z7 h. n' @* B& I* _" v
  1648. ; Default Value: 16 |, y( l# d( {/ ^" B
  1649. ; Development Value: 16 A# D& c- L+ t0 h$ ~6 a5 {8 z1 L
  1650. ; Production Value: 1
    * w0 Z4 ~8 @7 F- B1 U: c
  1651. ; http://php.net/session.upload-progress.min-freq/ [/ S6 Z  _4 Y; \9 @
  1652. ;session.upload_progress.min_freq = "1"
    ) t/ ^# q$ L! M" t/ y9 b/ h* b8 {
  1653. + w  I/ i) e7 j6 S8 T6 f% G
  1654. [MSSQL]
    * U6 N: n  J5 H& W
  1655. ; Allow or prevent persistent links.
    ( x: U' v. m  b% \) p6 G
  1656. mssql.allow_persistent = On
    - I% p/ w9 c  d. g

  1657. 4 G: M, R: ^* n0 W
  1658. ; Maximum number of persistent links.  -1 means no limit.
    ) f) X1 P% `% q$ x7 B" R7 M
  1659. mssql.max_persistent = -1
    . C. n. l' f! B

  1660. 8 g2 E) n+ E' W
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.& j4 V/ H6 i% K4 s- |2 }
  1662. mssql.max_links = -1
    ' D* _. r9 ^; A; A3 [8 s

  1663. ; T. |3 W% f' c$ D! `
  1664. ; Minimum error severity to display.
      H; [1 g2 E3 W, E+ _! y( {
  1665. mssql.min_error_severity = 10! F2 I, c# _. E1 J3 c

  1666. 9 h7 W# i1 e! m) W$ R- R! \' f) r
  1667. ; Minimum message severity to display.
    ! O+ R3 J% R3 X
  1668. mssql.min_message_severity = 10
    ; m: W% U. c8 M

  1669. . E, q0 ~. r2 `9 i# O/ `$ I
  1670. ; Compatibility mode with old versions of PHP 3.0.
    . k. t* D; l8 F  Q
  1671. mssql.compatibility_mode = Off
    8 N# ^" Q4 L: {$ G4 L- }, u" i* @
  1672. # T" t1 \" X. \
  1673. ; Connect timeout7 m; H* W& ?# z
  1674. ;mssql.connect_timeout = 55 b0 n0 i' o; j5 m- t* E

  1675. 8 c+ s7 M* v; E& b
  1676. ; Query timeout
    9 D0 I7 h8 b' L) x' r& c
  1677. ;mssql.timeout = 60. o, S1 H4 p; w! q8 {5 p

  1678. ; T( c" C# [4 K7 X) N2 v( p" Q3 G7 d
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    : x6 Y! \! e# i
  1680. ;mssql.textlimit = 4096( M$ I3 Z0 t7 {+ k6 J, _
  1681. 5 V. [3 c. `) Y, m
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    ; z& R( n% `0 D( s$ U2 M
  1683. ;mssql.textsize = 4096
    ; G; V1 a# w+ `( g* B( H; n

  1684. 7 D; o- j* p0 c+ j' m
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    * g) ^5 T$ C6 a& A, p
  1686. ;mssql.batchsize = 0
    # S# W2 M; Y' N  F3 Y' E

  1687. 5 H2 J  n) E& A5 C0 i+ D
  1688. ; Specify how datetime and datetim4 columns are returned$ ]3 X# S( n% H4 c% U% P! h3 t
  1689. ; On => Returns data converted to SQL server settings/ [* F8 f! G0 E4 p' L
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss. X$ W# q* C( e8 L& K
  1691. ;mssql.datetimeconvert = On' |7 W( f' j1 W

  1692. & R$ s  \9 R% J8 b% K6 v) f1 J4 v
  1693. ; Use NT authentication when connecting to the server
    . s5 y+ o, }4 E+ U- i
  1694. mssql.secure_connection = Off
    4 m) Z( x. d3 }0 W9 X9 q
  1695. + }/ n* ~& K: {9 B, a. X% {
  1696. ; Specify max number of processes. -1 = library default
    ' k0 t6 @5 _, f9 ?2 D5 h
  1697. ; msdlib defaults to 25
    9 P: m3 A2 s: E/ V& X9 P$ c
  1698. ; FreeTDS defaults to 4096
    ) F: j) ]6 P2 ]$ U- G/ J
  1699. ;mssql.max_procs = -1
    # b& @' C( {! |. p

  1700. " h* d0 \* [7 }# u$ y0 `
  1701. ; Specify client character set.
    9 K1 L4 M8 d+ P( J
  1702. ; If empty or not set the client charset from freetds.conf is used: [, T' h/ U, F9 Q
  1703. ; This is only used when compiled with FreeTDS, d# {3 c& J) r0 l5 c/ C
  1704. ;mssql.charset = "ISO-8859-1"
    1 _) \5 z+ h: a& e! F% S

  1705. ( q! R( P3 H' U1 ^: L: x
  1706. [Assertion]9 R) l, E! t! _! V
  1707. ; Assert(expr); active by default.! m! }; O3 T  L
  1708. ; http://php.net/assert.active
    . J, h! {7 b7 @) K) k. ?
  1709. ;assert.active = On
    * S* P/ i' m3 |4 K! {
  1710. # O* M) Z4 e  {3 f
  1711. ; Issue a PHP warning for each failed assertion.
      E4 t4 y% n" X$ e4 z5 V" d" |6 T
  1712. ; http://php.net/assert.warning/ C- n4 T, p/ s  {( c; g  {
  1713. ;assert.warning = On  w8 R1 p: d' d

  1714. 9 @/ T. Z1 }6 \. @) {2 Z4 `; \
  1715. ; Don't bail out by default.
    3 X. A( ]$ G: w: r" t4 I
  1716. ; http://php.net/assert.bail
    8 U2 h* k: J% }3 Q6 m7 h' s
  1717. ;assert.bail = Off
    . |3 G2 O! J: F: r* y# _
  1718. ( K3 y8 V/ T8 s
  1719. ; User-function to be called if an assertion fails.: M. k0 `  T+ A& z3 i- U
  1720. ; http://php.net/assert.callback
    , a( D, B% S4 }, k  K# x
  1721. ;assert.callback = 0/ q3 M; h! f) j; V" K

  1722. 0 ?" ^* H7 H8 o" r2 v
  1723. ; Eval the expression with current error_reporting().  Set to true if you want+ l$ G  t  g( C4 s
  1724. ; error_reporting(0) around the eval().2 [; O' W( R, H
  1725. ; http://php.net/assert.quiet-eval+ n9 ]( F! g( \% M4 {. A- L' g
  1726. ;assert.quiet_eval = 06 e8 i$ x9 t, k( B. D

  1727. 6 Q" C6 y9 y. T$ ?; O& j
  1728. [COM]& `' p1 M! z8 X/ n2 l
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs" z8 Q, ?& a# K3 R, W' B% F
  1730. ; http://php.net/com.typelib-file7 u9 V. [! E& D1 H
  1731. ;com.typelib_file =! t# P; }% Y# U# Z3 E
  1732. 0 O3 D7 l  ~) L/ r8 z* I
  1733. ; allow Distributed-COM calls8 Q2 }: t5 s. Z! ~/ x  C1 K
  1734. ; http://php.net/com.allow-dcom
    8 X% e) ]) c3 x9 i
  1735. ;com.allow_dcom = true: e& [2 S8 ^/ Y) R+ z1 w
  1736. 3 [/ Q1 H/ S# U, j- P9 h
  1737. ; autoregister constants of a components typlib on com_load()8 j7 S3 q! K$ d
  1738. ; http://php.net/com.autoregister-typelib, R! u" o# o* d7 n! B
  1739. ;com.autoregister_typelib = true
    + p6 r4 Y7 l0 Q

  1740. 4 n6 {; z$ y7 c% N$ z% [3 k
  1741. ; register constants casesensitive! ?" `- z3 o7 W
  1742. ; http://php.net/com.autoregister-casesensitive3 J# b# ~9 p. R
  1743. ;com.autoregister_casesensitive = false
    4 _7 C% N7 W6 A; Y2 f$ g4 K& T$ `

  1744. 7 V7 L8 |; j" @4 r  R
  1745. ; show warnings on duplicate constant registrations
    2 j8 [. a; F4 M
  1746. ; http://php.net/com.autoregister-verbose) G* ^3 c6 o: j! c
  1747. ;com.autoregister_verbose = true
    & o5 p  ?, E' l/ _$ j  P/ A$ y
  1748. , G5 g8 ?: d. D* g! d
  1749. ; The default character set code-page to use when passing strings to and from COM objects.0 k9 {# b* }' b
  1750. ; Default: system ANSI code page7 ]; n! \& w) J8 C2 H% V7 C0 c" a
  1751. ;com.code_page=& R' B9 S: Q" W* L* w

  1752. 5 M) Q" L( R. F1 M2 R- p
  1753. [mbstring]
    8 D4 X, v7 i) `
  1754. ; language for internal character representation.
    ( [& N6 _+ F% }0 t. E, b1 j5 C
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    5 p# B# l* M- p+ w: a- g8 `
  1756. ; http://php.net/mbstring.language
    " H5 v, d- z6 j* q# Z
  1757. ;mbstring.language = Japanese
    * K" Z0 Q8 Z. s) ?+ Q, U1 J

  1758. , w" ?; w$ z1 Z$ J! F5 s) B2 H
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.3 T5 M# L4 d+ d8 t1 f
  1760. ; internal/script encoding.5 V6 E$ B& \& R4 G9 ]  E' ^8 s
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)' t3 z$ J; k# F( V+ Q; d' r4 ^- w
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.% l, r: n! B, l
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding! l' M8 c" m3 [% W
  1764. ;mbstring.internal_encoding =
    % y. i4 C, N* i$ V' V+ ?
  1765. ) a* |" w$ ?; a+ L( Z3 e
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.+ ]6 r  J% H- X4 T, i( p
  1767. ; http input encoding.
    " W% j# Y2 d% K5 G3 I
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    1 `( ~" D% i6 u  |
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    / Z& X6 _! s6 n; U# p) m+ M2 x
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input7 r0 C8 \+ y5 ^  }- z) d
  1771. ; http://php.net/mbstring.http-input- Y5 X3 [: J4 E1 z
  1772. ;mbstring.http_input =4 Q: b& q- N3 t7 }

  1773. " Z$ @' V$ b9 t
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    & w/ g/ U  _) j+ N( G
  1775. ; http output encoding.
    6 N: Y$ l; F7 F" G6 ]$ N/ ^2 x
  1776. ; mb_output_handler must be registered as output buffer to function.3 W3 G# x9 _9 n& m3 b
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.- j4 m' O( k) Y0 R' b4 ?; }/ t
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output, `1 i2 G7 `* }! m1 M; Z
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    ) f8 X: X' E' r* Z
  1780. ; otherwise output encoding conversion cannot be performed.$ G9 x& O* Y, ~
  1781. ; http://php.net/mbstring.http-output4 t0 b# [& M2 |2 h
  1782. ;mbstring.http_output =/ V- I: W6 w+ y9 H% }
  1783. ( S0 o1 m  y5 N. r
  1784. ; enable automatic encoding translation according to6 ~) g3 Q7 ~+ _
  1785. ; mbstring.internal_encoding setting. Input chars are
    9 @( v; Q) Z- Y, k0 D
  1786. ; converted to internal encoding by setting this to On.( X. i, I$ f" q7 }: Y
  1787. ; Note: Do _not_ use automatic encoding translation for
    9 W9 J# p+ H+ P) |; h
  1788. ;       portable libs/applications.
    . S" B, b0 J9 x, T4 Q
  1789. ; http://php.net/mbstring.encoding-translation+ i( ~; B! s4 ?
  1790. ;mbstring.encoding_translation = Off7 L$ H- N8 V$ Y, P% U! \- l

  1791. + A/ X) l4 p! O7 u! L
  1792. ; automatic encoding detection order.  R$ z3 E: }: d/ V# t1 ]  O4 r
  1793. ; "auto" detect order is changed according to mbstring.language4 n( \( [; [! z+ z3 {% l
  1794. ; http://php.net/mbstring.detect-order
    2 q: F: z) q( }3 q4 \$ N6 G; e
  1795. ;mbstring.detect_order = auto; R9 t/ S0 m, w8 K. s+ A
  1796. ' E! g+ n2 d/ K9 i5 z6 m5 _
  1797. ; substitute_character used when character cannot be converted( ]' w* O/ N% g
  1798. ; one from another& p4 l) w+ n$ `  g; q8 [, U9 M7 T
  1799. ; http://php.net/mbstring.substitute-character4 @) S9 b6 T# Y6 a! b
  1800. ;mbstring.substitute_character = none9 R% E% O* `6 s- ^

  1801. ) Z* z. _7 O( H$ z4 `( A1 g! R- X
  1802. ; overload(replace) single byte functions by mbstring functions.
    / f# [2 l4 e( O8 _: M) L
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    % S/ ~* G/ _- M
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.+ T6 k: L6 N2 x; x/ H* s
  1805. ; For example, 7 for overload everything.) v+ ?3 S' t! q1 B- n
  1806. ; 0: No overload* u2 f/ h; ]: f
  1807. ; 1: Overload mail() function( s% G1 f& z2 S- r. G5 u: Z/ [/ U; b
  1808. ; 2: Overload str*() functions
    # o3 i3 T1 W. \3 M' N. }6 u
  1809. ; 4: Overload ereg*() functions
    # g$ }; y# K9 [$ ]
  1810. ; http://php.net/mbstring.func-overload  W9 Q( [# O" ~; B
  1811. ;mbstring.func_overload = 0
    ; l. q$ W9 E) r" e8 y3 ^4 W2 x
  1812. & U! k& K9 ~) O' {
  1813. ; enable strict encoding detection.6 N% g% Z0 ~' ~' T
  1814. ; Default: Off
    ; d3 Z2 a5 |( o/ R* v9 F& e
  1815. ;mbstring.strict_detection = On
    9 q9 m# W2 N7 L7 G8 v8 h0 \
  1816. $ y1 T1 ]; f, ^- [6 ^8 {1 ], l
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()2 u, X: N, u. z; B
  1818. ; is activated.) _3 n$ E! B3 Z( G+ ~
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)" E! E  B3 d6 N' L3 N% {" m
  1820. ;mbstring.http_output_conv_mimetype=
    9 X3 W, Y3 h! m* F+ Z; R1 o

  1821. ( j) D. J8 j$ i0 J
  1822. [gd]
    8 ]" i  D! |! z8 ^8 E
  1823. ; Tell the jpeg decode to ignore warnings and try to create' E$ E$ M. N) {( ?# F" y
  1824. ; a gd image. The warning will then be displayed as notices
    ; i, p( ~9 N2 ]- R( {6 o
  1825. ; disabled by default+ \& i% \  a6 \+ A9 E( @: k1 q9 @
  1826. ; http://php.net/gd.jpeg-ignore-warning
    9 x4 @+ Z3 D. n9 D
  1827. ;gd.jpeg_ignore_warning = 0
    ( G  ?7 `- h( j# H$ N5 l6 V+ ?" t
  1828. : M, i4 q& i% C) c$ B  o: P5 ?
  1829. [exif]! }3 {( z2 W8 H) m
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    + q# b/ [: D! I. z
  1831. ; With mbstring support this will automatically be converted into the encoding5 z; U  O. e( y3 j7 H# _7 l
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding6 s, {4 T: M/ b2 u, Z
  1833. ; is used. For the decode settings you can distinguish between motorola and0 z) ~% `( N; k  t0 i" f* E
  1834. ; intel byte order. A decode setting cannot be empty.
    # ?* M0 |( j# C  U
  1835. ; http://php.net/exif.encode-unicode) k7 W5 @7 R' Q( ]/ V8 |8 M
  1836. ;exif.encode_unicode = ISO-8859-15
    ' |& S7 }1 A3 X% R) z  ^5 E

  1837. 7 Q( ^/ K7 J& o/ v$ C7 u- Y
  1838. ; http://php.net/exif.decode-unicode-motorola! w$ v, v$ O# ~/ ^
  1839. ;exif.decode_unicode_motorola = UCS-2BE* a7 Y. ?3 A/ a. {) h
  1840. 9 n- k- t/ H' y% F8 J# Y- \# {: B# e! `
  1841. ; http://php.net/exif.decode-unicode-intel7 M8 Z2 J- r' D+ f! R
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    ) R+ {2 D- k/ k( N

  1843. $ y. r; v! U$ k: s! j0 t
  1844. ; http://php.net/exif.encode-jis
    ) V2 s# |# i& H
  1845. ;exif.encode_jis =
    ( ~/ `" O  Y, M
  1846. 1 H4 C1 ^  U1 V' z9 _8 ]
  1847. ; http://php.net/exif.decode-jis-motorola+ y( _7 u3 b& d9 p
  1848. ;exif.decode_jis_motorola = JIS
    3 f; q, g/ U. v6 ?* O- W- m: h
  1849. 9 ?7 g4 F3 q- \) F! P
  1850. ; http://php.net/exif.decode-jis-intel
    ) |/ a, _1 n  ^4 P8 g0 h% i
  1851. ;exif.decode_jis_intel    = JIS7 |8 O% a2 b8 L+ M, E$ Z! x! O
  1852. 1 S% o0 l4 o  E' u$ q* E$ Z+ j
  1853. [Tidy]+ e* @4 |; O7 D7 \9 _* o8 ?( |
  1854. ; The path to a default tidy configuration file to use when using tidy4 n' d( J6 ^4 ]
  1855. ; http://php.net/tidy.default-config
    ' }5 y% @3 t! ?( g, c' u
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ) u1 L+ ^" C1 s3 j, W/ x4 f3 P

  1857. & U" p, ?0 z$ k, c4 k3 Z5 k8 G
  1858. ; Should tidy clean and repair output automatically?
    % T# ^) d# n" i
  1859. ; WARNING: Do not use this option if you are generating non-html content% b: c: x+ K2 m3 O
  1860. ; such as dynamic images8 {: h0 J+ K" Q: Q
  1861. ; http://php.net/tidy.clean-output5 v& M3 u4 X$ S) `
  1862. tidy.clean_output = Off  y! j! ]( ^* s( z
  1863. ; A+ U+ q, |- x# L
  1864. [soap]. {; C! P/ _: T6 Z6 x" g) k
  1865. ; Enables or disables WSDL caching feature.
    * M& u  @3 ]+ b' h1 _' }0 b
  1866. ; http://php.net/soap.wsdl-cache-enabled- [) V; `; ^' I; n: s
  1867. soap.wsdl_cache_enabled=1
    * K1 q! `) J0 L& E+ G/ _

  1868. ; g& z  f2 B" L% F
  1869. ; Sets the directory name where SOAP extension will put cache files./ t/ B# n2 U7 \) E
  1870. ; http://php.net/soap.wsdl-cache-dir
    8 u* |, z* c8 M; ?4 V: u  X
  1871. soap.wsdl_cache_dir="/tmp"- ~; |2 e3 x9 ]; N+ M: p

  1872. / j/ s$ r  Z! T, f
  1873. ; (time to live) Sets the number of second while cached file will be used' C. K. ^* W/ t4 S$ s! E+ ^& @5 M
  1874. ; instead of original one.
    5 N# W' Z5 n4 m' X  M
  1875. ; http://php.net/soap.wsdl-cache-ttl
    1 u8 V3 l: z$ b/ R6 \* ^+ p
  1876. soap.wsdl_cache_ttl=86400
    , g# U8 a, \1 P: I5 c1 d, `
  1877. : A. b- r/ {( W  F: L# r
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ! e& Z# `5 _; e. y/ J4 n" A/ Y
  1879. soap.wsdl_cache_limit = 5
    # @, F8 X0 E% M" t! c6 o. U

  1880. + g  B& O& Y. ~/ w5 N2 F! [
  1881. [sysvshm]) J# H+ S  V1 M4 ^0 \4 r9 p3 L
  1882. ; A default size of the shared memory segment
    5 X2 C1 _+ r. U: }. Q8 j
  1883. ;sysvshm.init_mem = 10000
    5 V* a- Q" E" [9 Y& L! a* O
  1884. ) `- o  I5 c1 i$ N# {. ?! S
  1885. [ldap]
    5 c3 k2 L/ s4 f7 [- t3 z
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    " x! Q" V5 A; U) l, u. A
  1887. ldap.max_links = -1
    ' {2 Z  H- A. x3 R( b8 p
  1888. ; H! O' N* y2 ?: ?, c6 s/ ~
  1889. [mcrypt]* z) J, m: S' u! [7 v  W: u
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ( m: y# C* M9 K! `

  1891. ( J. t0 i3 E4 \7 n
  1892. ; Directory where to load mcrypt algorithms3 h7 N9 V7 t# E8 L( e  ]
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)8 t8 I. H7 B7 f
  1894. ;mcrypt.algorithms_dir=& J) J) Y6 q( x2 p$ J

  1895. ' H5 r  p( [& ~$ c4 F$ v
  1896. ; Directory where to load mcrypt modes
    3 |2 O- ~( N$ O4 t7 \  H" ~
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
      r6 K, D% O7 {5 D! h
  1898. ;mcrypt.modes_dir=" M+ F7 Z" e+ o2 s

  1899. ( N/ X9 X. q. G9 `2 y! Q! H
  1900. [dba]" O0 j* W4 k- a. q3 R
  1901. ;dba.default_handler=
    # T3 n) S' |  z% W8 G5 p$ r) g

  1902. ) Q+ _) J, l' Y0 ^! b
  1903. [opcache]
    8 w$ S! [0 e9 M, r# D. G
  1904. ; Determines if Zend OPCache is enabled$ g: h3 l/ o+ O2 f" k! H/ H+ z
  1905. ;opcache.enable=0
    / w. r3 L. r3 Y6 m7 h" Y" O
  1906. 6 x: f% ?1 t* o% _( g+ D4 C
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP1 q) W5 _+ B4 [8 D& B( v
  1908. ;opcache.enable_cli=0
    6 D  d; E5 D$ A! U5 F+ l

  1909. & \+ r+ q5 v$ {5 }3 N; h, P
  1910. ; The OPcache shared memory storage size.
    , y# x6 l; }) l  C2 w
  1911. ;opcache.memory_consumption=64
    ) ~3 j- A  U6 |0 U8 T8 `1 Q
  1912. 9 K- w2 |0 Q! O+ {4 U& H& `( V
  1913. ; The amount of memory for interned strings in Mbytes.
    * t  ^& m  c& I! O) H2 A% f2 \
  1914. ;opcache.interned_strings_buffer=4. e& D) O- z% m0 t; A0 ^3 d

  1915. # N0 V4 x' c' d: z! T! M% E! T0 S
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.$ l$ c: K& \( p) L
  1917. ; Only numbers between 200 and 100000 are allowed.& e7 _. I+ i: g/ K% t( \" O
  1918. ;opcache.max_accelerated_files=2000) i2 M, T; n* h  t& `% b7 i1 M
  1919. 2 ^7 s- ?- f" I. v* x7 I
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.2 d/ E% T3 I0 l+ m- j
  1921. ;opcache.max_wasted_percentage=5
    7 D! C8 d5 l% L7 g* z) s: r

  1922. / h0 l$ b4 c5 A9 ^9 w. \$ S3 A
  1923. ; When this directive is enabled, the OPcache appends the current working
    / l$ r) ~) e6 s6 j. C3 H, h
  1924. ; directory to the script key, thus eliminating possible collisions between
    ( [# l9 _" R* |+ O% P
  1925. ; files with the same name (basename). Disabling the directive improves! T6 j, O0 A4 W- X7 v7 n
  1926. ; performance, but may break existing applications.7 W8 Z5 Z1 K  q4 `
  1927. ;opcache.use_cwd=18 ], h: B) |6 N1 m0 \" i1 q: P* I4 U

  1928. ' B; A6 ~) Y  \5 s; ]6 h6 J' t
  1929. ; When disabled, you must reset the OPcache manually or restart the# `! r$ V1 p, Y! y7 F! I5 S
  1930. ; webserver for changes to the filesystem to take effect.
    / O/ P9 b2 s8 s# ?0 N
  1931. ;opcache.validate_timestamps=1
    ' u/ h0 f  F6 O3 z3 u7 E  I, R
  1932. 7 V1 L* f, O& ?  t7 N
  1933. ; How often (in seconds) to check file timestamps for changes to the shared3 v: c: x0 }! k3 p: y
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    ) `5 Y5 @) r9 e5 Z9 O
  1935. ; once per request. "0" means always validate)
    ! y1 J2 B* G% d" ~, y% i
  1936. ;opcache.revalidate_freq=2' m% W5 t7 q* j* u7 ^

  1937. 5 ?  S- G, p0 e4 f+ |4 r
  1938. ; Enables or disables file search in include_path optimization7 o6 K. l, M4 G% p" H
  1939. ;opcache.revalidate_path=0
    4 Z; S" ]9 F( q7 I4 i! D3 P
  1940. & u9 M$ X9 t( X# M. Y
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    , L) y* y% ~5 t; [
  1942. ; size of the optimized code.
    9 |; k% c6 e3 |
  1943. ;opcache.save_comments=1
    2 _$ Q4 h* }7 N+ [

  1944. . W& n6 z5 }# |6 D
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments", ?) m4 X' M% y; i5 a" t
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    8 M4 Y( G. ^* f
  1947. ; that don't need them anyway.
    7 o; [5 @1 q- A1 l! e' b; O+ B4 |
  1948. ;opcache.load_comments=1
    2 l+ R, J5 n+ j1 `, j; [5 V: K9 B
  1949. 6 Y+ ^# @& @7 g/ J  y* z' U$ ?. a
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code1 s+ a" r* N( |  n, f9 {7 e0 T' r
  1951. ;opcache.fast_shutdown=0
    ( H2 V$ }6 o" |. j
  1952. $ C4 t9 Z7 P5 D- o9 |
  1953. ; Allow file existence override (file_exists, etc.) performance feature.& T& D5 G, B5 N5 k6 f0 t; w
  1954. ;opcache.enable_file_override=0/ y6 b/ w% u1 C! P

  1955. : X" }- r' Q1 G/ y
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache* ?4 H# r1 [6 e' n
  1957. ; passes
    ' k0 i/ k7 L* ]  R
  1958. ;opcache.optimization_level=0xffffffff
    5 A9 Q0 Y. M( J, ^; Z! V! U. P1 f

  1959. 4 A7 }4 P8 [* P- ^0 M/ t
  1960. ;opcache.inherited_hack=1) }& @& g" }- j  a0 e: j" V) p
  1961. ;opcache.dups_fix=0
    / S+ N: u, c  k8 X' A0 R4 W

  1962. + N* n  T/ A. Y7 c
  1963. ; The location of the OPcache blacklist file (wildcards allowed).3 R. u9 O/ V! D4 c5 o  W4 O
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    ' z0 J. ?% i7 Q% B6 G
  1965. ; that should not be accelerated. The file format is to add each filename
    ( ~. O4 \9 S" Z  y2 X
  1966. ; to a new line. The filename may be a full path or just a file prefix
    ) E/ u0 p/ V9 r# ~
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    4 v9 ^6 ~! ^% T" v
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).8 U; a1 ~6 m  P2 Y* v6 J
  1969. ;opcache.blacklist_filename=+ Z3 |5 o: [* {) z8 H* ?

  1970. ) z8 [3 h! W; r' B/ d
  1971. ; Allows exclusion of large files from being cached. By default all files1 c$ ]. J  ^8 l" d4 J7 X# E0 D& x
  1972. ; are cached.
    1 Y/ j+ t2 o; ]
  1973. ;opcache.max_file_size=0$ O2 N2 D% Y" k0 }9 h6 A& r
  1974. 7 Y8 Z1 ^; l2 n0 V
  1975. ; Check the cache checksum each N requests.
    ; T0 r$ [* S2 W0 O; b% r
  1976. ; The default value of "0" means that the checks are disabled.) F% B3 r: T+ N0 p6 W
  1977. ;opcache.consistency_checks=0, f5 s, w7 l- g! B: l: B9 ]
  1978. ) [3 \' h! L: S6 P0 ?
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache# S  ?3 ]9 a4 n9 ?& p% b. m
  1980. ; is not being accessed., d- Z' Z  `3 w3 o8 z; q
  1981. ;opcache.force_restart_timeout=180
    ' R1 a& m  A) J3 y

  1982. 6 t; Z4 N& j6 n1 U
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    $ o/ v3 i' w6 y
  1984. ;opcache.error_log=
    ( u: v  \- {1 L5 `& c* {5 d+ j
  1985. ' u$ ~" M2 _  ?3 [
  1986. ; All OPcache errors go to the Web server log.$ F% j3 p0 s9 u9 `; G5 E
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.1 }; [. f4 R$ A; K+ a. {) F
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    4 i# [9 E2 b- I% |' y
  1989. ; debug messages (level 4).
    . p* t+ S% c) a" v2 ~- l" t/ n
  1990. ;opcache.log_verbosity_level=1' }* k' a4 n/ [% p' ~

  1991. 1 M5 a. A4 F" f' y* ?
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    " x, `' l8 o3 L6 ]  r. H
  1993. ;opcache.preferred_memory_model=
    , y* R: a, R% |1 m' D0 H
  1994. 1 b0 v% f' T* n' M6 a
  1995. ; Protect the shared memory from unexpected writing during script execution.* X$ h8 l" d' _, _* R# y
  1996. ; Useful for internal debugging only.
    # X! |, q! j( y$ Q! [: w' b7 X; e) v; r! T
  1997. ;opcache.protect_memory=0+ v! l9 y: q9 u/ t
  1998. ' R/ F5 E, J; k& `3 ~1 P' U
  1999. ; Validate cached file permissions.
    . V: e- }: U6 G% J( \# f
  2000. ; opcache.validate_permission=0- Y6 |. [  s, ?- w- R/ v

  2001. ( }5 B0 w0 D4 D
  2002. ; Prevent name collisions in chroot'ed environment.8 p7 _) O* }( t% }' Z5 \
  2003. ; opcache.validate_root=0
    2 j& ~8 B% K/ B0 J% r

  2004. & e7 t7 `; D7 l0 J
  2005. [curl], E, ]( M0 i  {4 }# y8 _; M
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an0 c1 v. x( Q- q4 t; |. T
  2007. ; absolute path.8 x8 E* R6 g' g& J4 A7 Z
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    4 E" Q1 g+ y8 s0 m

  2009. ! V# H0 Z( _) M. c/ T4 u( v* j
  2010. [openssl]
      J/ Z- Z7 u$ w6 \
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem: s! Z7 e1 y5 \' S- E
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    & h/ j0 T/ w$ B6 U$ S4 P
  2013. ; not specify a value for this directive as PHP will attempt to use the4 w1 V+ o0 t; v7 r* `* V
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    ! t" \/ B( T0 b* B/ b2 E; b
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ( m) ~- X8 f6 P, i5 G
  2016. ; option.
    ! j1 R' H1 b; P+ E7 }
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
      l% j7 z2 S+ |6 Q8 I8 i
  2018. + ~) f$ d' d4 R) p# i
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the; @5 a$ x7 m1 W( |3 Q7 v5 [5 @
  2020. ; directory pointed to by openssl.capath is searched for a suitable5 l$ M* c7 _! X" P
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    2 r& m8 Y) R4 d5 ~: g
  2022. ; Most users should not specify a value for this directive as PHP will: K5 o8 @& g' M& g# `, P/ S
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified," a2 k% K& ~! [# {' j0 P% X
  2024. ; this value may still be overridden on a per-stream basis via the "capath"9 u) a  [4 A/ ~$ }
  2025. ; SSL stream context option.+ u# e4 w; I+ h6 |* k
  2026. ;openssl.capath=+ w; ^4 @- m1 v9 X2 p
  2027. # s; t5 j1 Y( X& k% ]* [8 n
  2028. ; Local Variables:8 C6 U+ J) o2 Y7 d: w
  2029. ; tab-width: 49 H; t" }5 t5 n
  2030. ; End:' r0 y  L9 E, x( t, ~! V

  2031. & f2 r- n5 [  y5 ?
  2032. ;eaccelerator
    ' P# n5 q; l* B; C2 k" `
  2033. / R- Y% q- {; x) K) Z
  2034. ;ionCube$ P0 l1 M& o8 }, L. H7 y% Q

  2035. 1 @% K- G- J7 y% p
  2036. ;opcache+ O4 A/ v( [2 F' m: M! j
  2037. * z5 t( [' G! _% Z* D
  2038. [Zend ZendGuard Loader]
    ( Q5 ^3 ~; ~0 a) R3 b1 S
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    0 T9 E& e- h, e4 ?0 Q9 y
  2040. zend_loader.enable=11 v  o* B" U4 P
  2041. zend_loader.disable_licensing=00 Q: m: t( y0 n
  2042. zend_loader.obfuscation_level_support=3& Y' a0 Y: B  u5 a# ^0 ^
  2043. zend_loader.license_path=: ^# }- D4 K) F0 \' D. L  Z
  2044. . d2 {; }* H/ ?2 a$ y
  2045. ;xcache
    + s6 |/ E  F; \  H. L' e

  2046. ( W' Z/ o$ y7 [3 s  T9 l6 z
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
* {: U! A' L, X* ]3 a9 a) w1 b% y
: \) _) I! K# I5 [0 \& n1 ]+ T( k6 I) {0 f, y" J8 a* p2 c$ t
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
4 v0 _2 d, r* J% O: R& y2 K4 b  ~
/ I7 X( N$ p: a- nDiscuz!程序版本选择:
: o% {$ Y, D' N( r0 p! Z% A4 L& {站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,3 P/ i' H( r$ p, `$ R4 l
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
" |( O: k9 P8 ^! R5 {0 s3 uDiscuz!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。
1 B7 x! g  o* s6 T
0 p5 u/ y% m7 u* l: E" M' i. xDiscuz!插件模板版本选择:0 i" d& D; p% N: N+ k) R8 Z1 ]- r
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,5 w/ {# U+ g) ~7 _5 k& e) s
针对这个问题做个统一的普及:
  A7 Y  R* u0 Z1 w2 pX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
& {4 |5 z7 Y5 I. z( X8 K3 e, W: W: S2 k1 h
所以. e) \" @* l. u  o
适合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的二级域名。
4 s# h0 G# T+ Q9 R% x& t" s: j0 o打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
0 O- \5 K8 s! x2 S注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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