分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0" t% l& q5 y: P! M9 [$ U

( a, F2 S' a# a3 D
  1. [PHP]
    * A9 z8 s7 }* `$ W% }1 E

  2. ' n2 a5 w4 G- m% F' j
  3. ;;;;;;;;;;;;;;;;;;;+ d; A2 A$ m* B# F8 T  U6 G; \( S5 R
  4. ; About php.ini   ;
    ' _! A  q8 `* d. j# G+ R
  5. ;;;;;;;;;;;;;;;;;;;
    8 a) D6 I* T! D' N
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    7 S: F3 t/ z+ a- K
  7. ; configuring many of the aspects of PHP's behavior.
    ( l  b: A, z9 [  |$ \: s& T9 N

  8. : C& g& ^- A4 ~, Y* _
  9. ; PHP attempts to find and load this configuration from a number of locations.
    " V" K# P+ K0 d' L# K
  10. ; The following is a summary of its search order:) l4 n" ~9 O  [  t7 f0 d
  11. ; 1. SAPI module specific location.
    ) O4 c% r: v. q' e
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    - a# d* @5 j& @5 d* c, }) _7 {; h
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)- F8 z" V+ K/ Y2 V* Q
  14. ; 4. Current working directory (except CLI)3 z1 }: D2 ~. Z  D  j1 ~! z
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    , G- f0 G3 I) s' `/ N6 L3 d
  16. ; (otherwise in Windows)0 |1 J6 Y+ |2 E( I3 ?* B
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    " G5 V7 K1 S: U
  18. ; Windows directory (C:\windows or C:\winnt)
    - A- e2 t; S1 c# Y* W3 v  a
  19. ; See the PHP docs for more specific information.
    1 o1 ]4 L* U7 t: B( z
  20. ; http://php.net/configuration.file
    ' h1 i7 I! @# T
  21. $ {& q+ ~, L/ l1 P! K
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    : C* {# E( v$ @. y: T1 z
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    $ l) d) j! y$ v( ^& Z
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ! E& p0 A& j8 z6 }8 j, _9 a7 _
  25. ; they might mean something in the future.; Y2 S, L: a9 r' t" g

  26. % ]5 G- }" u* j, h- \  Z- O6 h6 i1 ~
  27. ; Directives following the section heading [PATH=/www/mysite] only1 v6 Y) W0 e1 s9 |5 O2 S5 y0 _
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    * o" ?* m( ~  e& b( p
  29. ; following the section heading [HOST=www.example.com] only apply to
    + R: ]( [) [* \$ ?$ k2 O! p
  30. ; PHP files served from www.example.com.  Directives set in these0 K+ M9 @, f* z" Y. P" [1 o# W
  31. ; special sections cannot be overridden by user-defined INI files or
    : V8 Z) _  s% H8 p1 H, ~: H
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    4 @$ w# y3 k2 b( J
  33. ; CGI/FastCGI.
    $ K1 c  p6 r/ ?' J' M$ i* n
  34. ; http://php.net/ini.sections+ t, H  i4 \* h9 l, Z( i9 k
  35. . _  G! w( c* p: z6 w' @
  36. ; Directives are specified using the following syntax:
    $ |' c; V& M# L
  37. ; directive = value
    6 r8 K8 l( r+ p  C
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ( ^: X5 N' p; O, Q: e0 D' {
  39. ; Directives are variables used to configure PHP or PHP extensions.
    , u- }% @( U% }2 u
  40. ; There is no name validation.  If PHP can't find an expected! w2 ?. U7 J1 g9 w
  41. ; directive because it is not set or is mistyped, a default value will be used.
    + Y1 A, s6 g; W2 I
  42. . L( s  C! \! I+ L4 m9 f
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one3 X" t4 i: W3 P4 S9 p) ^+ ?; J$ G
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression% w7 |& Y& E: G) M; k
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ! E5 X3 Q" K# `& F- O
  46. ; previously set variable or directive (e.g. ${foo})
    : o  g' g$ X7 j1 D9 h" K; G; T
  47.   q9 o/ O; p0 w7 V7 Q- {
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ( N- i1 B8 [! \" U
  49. ; |  bitwise OR
    ' p- g, U0 I" n+ ^1 g& @& y
  50. ; ^  bitwise XOR
    % Y; |4 B/ d( {
  51. ; &  bitwise AND
    " g" {6 z& e% x2 C- O" S
  52. ; ~  bitwise NOT; K2 g5 z* ?/ k: K2 i
  53. ; !  boolean NOT+ V0 X9 W* Q+ e

  54. - P& A' a$ r3 }1 L' Q
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.7 c3 n8 n  \5 X# D4 W: X
  56. ; They can be turned off using the values 0, Off, False or No.
    8 J* x: }+ j3 s  L) w# K* l; z
  57. 4 I  W; ~# @* |% l0 D
  58. ; An empty string can be denoted by simply not writing anything after the equal
    5 {4 t3 W6 b* c# b+ e- w
  59. ; sign, or by using the None keyword:
    ) I' a4 i8 V/ e/ ^& K. \
  60. 7 k' ~8 L- ^5 w, X/ S
  61. ;  foo =         ; sets foo to an empty string
    5 ^& B  |: d9 V8 q# |# W: l
  62. ;  foo = None    ; sets foo to an empty string
    & X- g! k/ G* R( d4 z
  63. ;  foo = "None"  ; sets foo to the string 'None'8 V; x8 p( G- ~0 s5 o" F# z
  64. ; k! c8 I1 l# i# w0 F* I8 S
  65. ; If you use constants in your value, and these constants belong to a- x& M: W) a6 l. i
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),8 c0 j2 k% `2 F" Z8 w, N! c
  67. ; you may only use these constants *after* the line that loads the extension.
    + l" V2 H2 N% D' ?* y8 K/ s7 h, l

  68. ( r* A0 g7 F' N; t$ U
  69. ;;;;;;;;;;;;;;;;;;;
    ( g1 d, X4 A$ m
  70. ; About this file ;
    / k: @1 l0 @% e5 [5 C7 n
  71. ;;;;;;;;;;;;;;;;;;;3 e, i+ K% c8 u( [2 K. D% L
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    9 H$ g  W: N9 V" t) g7 p
  73. ; in production environments and one that is recommended to be used in/ r3 n& C5 P9 `: J9 f. S  U
  74. ; development environments.9 w; Q0 d8 Z/ y$ `  p$ A: @8 q
  75.   \$ M1 a0 W/ s. m  Z0 [
  76. ; php.ini-production contains settings which hold security, performance and
      q( t- D; L% c. f
  77. ; best practices at its core. But please be aware, these settings may break5 S0 s- [- X1 m$ y  |
  78. ; compatibility with older or less security conscience applications. We
    , ~* ^0 w, J  \* B- ~- M
  79. ; recommending using the production ini in production and testing environments.1 m8 U" ~! ^+ [1 f5 o% E7 h5 u' W

  80. + E9 o0 u* y* s; i
  81. ; php.ini-development is very similar to its production variant, except it is! v7 l7 D% O* k
  82. ; much more verbose when it comes to errors. We recommend using the8 d; N* F: `% o5 d8 r
  83. ; development version only in development environments, as errors shown to. u. V, _* [: [4 I9 C7 Y4 d; X  j) T
  84. ; application users can inadvertently leak otherwise secure information.
    ; C' S4 X: Y: C+ r: k; k6 P
  85. # y6 u8 ~$ N3 c6 f; g6 |
  86. ; This is php.ini-production INI file.; _) t& C) V, Z7 o: y4 h; Y- C  ]
  87. . C% b' R8 p5 U  f: S' `! k
  88. ;;;;;;;;;;;;;;;;;;;
    2 s: @  W7 K, {
  89. ; Quick Reference ;
    # z! f) [! [- }8 w
  90. ;;;;;;;;;;;;;;;;;;;- ^% {  X# e% U
  91. ; The following are all the settings which are different in either the production. y3 s# P/ R2 G. f7 G9 C3 w8 G8 h
  92. ; or development versions of the INIs with respect to PHP's default behavior.3 u+ W: ?! ~  ?9 L0 w7 w6 o( x; K
  93. ; Please see the actual settings later in the document for more details as to why' |# N$ c* p8 O5 o/ M( B4 k- O
  94. ; we recommend these changes in PHP's behavior.' x7 c. d1 n$ C( \5 M) O# d( g

  95. ' ~0 S% S$ C0 q2 w( ?1 O) F8 S, n9 |
  96. ; display_errors) M* W. n2 {$ H6 i% [  R  ]
  97. ;   Default Value: On
    % A  ~* u% s/ l5 ~
  98. ;   Development Value: On% G% [( J9 r9 o8 \2 s
  99. ;   Production Value: Off
    7 F" d. _( H* }! S4 \9 `

  100. - y* d' V- M1 J( A  d5 f) _2 N
  101. ; display_startup_errors$ l/ P5 n+ ?8 [
  102. ;   Default Value: Off
    3 e) F9 t6 o6 ?: t) d4 |
  103. ;   Development Value: On
    ( }$ t* C$ q7 X  j$ p- G5 y
  104. ;   Production Value: Off# I  r7 X) F1 _  j; F9 |
  105. ! o% n7 l# e8 x6 o( P! ]; C
  106. ; error_reporting
    & M+ M, H- \* T
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED) ~: h5 A/ V. D. u9 X( s6 Q
  108. ;   Development Value: E_ALL# V* I/ }% Q. q
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT& u2 w2 K( W  F! G6 E) n4 D. d
  110. ) x5 V0 _  c2 ^6 r+ F0 G6 m! K
  111. ; html_errors9 e. S- y4 O( Y* }
  112. ;   Default Value: On
    5 T8 |4 @1 X! `; y7 G' k3 Y+ J# n7 s
  113. ;   Development Value: On. M) B& K$ }5 `# Z! R; a& w
  114. ;   Production value: On
    ; G4 |8 C7 X. A, c

  115. 5 S9 N  y6 o" p# P7 P' f5 A- z+ R# c: P
  116. ; log_errors' L* T0 d: n( p% Z7 {$ j3 G
  117. ;   Default Value: Off. V2 s  U6 H+ e! V! Y( B8 y/ b2 u& r
  118. ;   Development Value: On9 d2 a( @3 i; F# D
  119. ;   Production Value: On/ e) e# G- n4 S, ?$ A2 C3 V
  120. & {1 V& u1 d# d% H+ m- \4 h4 w
  121. ; max_input_time  R0 T% E4 D# S* y* I6 r
  122. ;   Default Value: -1 (Unlimited)
    : q* ~0 o  O- H5 P
  123. ;   Development Value: 60 (60 seconds)* s: Y) V" o' }" [
  124. ;   Production Value: 60 (60 seconds)$ [. `& ?  }8 {: v0 B
  125. $ \9 i' e: Z2 o2 Y. S
  126. ; output_buffering; P$ T+ l/ P, H. S# F
  127. ;   Default Value: Off3 l7 ?' Q! K+ _7 i( U
  128. ;   Development Value: 40965 O; J. Y4 W# p0 C3 T
  129. ;   Production Value: 4096
    / |% R' g; l2 ~/ u
  130. # v, r8 b' R/ }
  131. ; register_argc_argv3 W. K, e3 \+ b6 M: A  |
  132. ;   Default Value: On# p, s1 e$ p+ n  F5 w# Q
  133. ;   Development Value: Off
    $ G& A0 E, [( p  g' m( u$ M6 L
  134. ;   Production Value: Off; ]9 J3 o5 \6 B, F4 E3 m
  135. " |; ?; z# |1 v  Z; v/ e& z7 a  R" L: P
  136. ; request_order
    2 ]& f1 D' N  }. L; Z# C
  137. ;   Default Value: None: k4 S3 e; F( b3 S. P. [% E% U1 @9 S
  138. ;   Development Value: "GP"" _* g' N, p/ o/ H7 F
  139. ;   Production Value: "GP"
    ) {, T6 E# s6 {4 I
  140. 4 K% n' r6 j5 X3 b
  141. ; session.gc_divisor' d, X3 E( L3 s$ F- k; ~; |
  142. ;   Default Value: 100
    7 e9 R" W" g, Z7 X8 C- ?3 U5 c) {
  143. ;   Development Value: 1000
    , B# V" c' L" S" O+ L
  144. ;   Production Value: 1000+ O8 b) u0 C+ w  u) y

  145. / i! S. h# ], i
  146. ; session.hash_bits_per_character, e+ [. a) o  V+ I9 R+ ]5 [! u
  147. ;   Default Value: 4
    0 {7 `. A) |3 }' }! V  E3 s' q
  148. ;   Development Value: 59 d- f9 K* m; f
  149. ;   Production Value: 5# R. G$ o5 T5 G& u
  150. % y% v1 c: I8 _3 Z& T
  151. ; short_open_tag
    ( a: J# I; s2 p0 \+ [' Z; ]4 H
  152. ;   Default Value: On3 y( i: N4 ^8 q8 w3 P* {, g0 ~8 l
  153. ;   Development Value: Off+ `* n3 b0 W6 R" B# m- {: S* \
  154. ;   Production Value: Off; s7 d8 O6 m6 g% g0 }6 {; i# F$ l$ u$ D

  155. % p) L& v3 u, M* j& v/ m3 ?
  156. ; track_errors
    + O1 b8 P; {: h8 h3 i
  157. ;   Default Value: Off9 c3 }# m+ n  H8 V+ a# K6 v
  158. ;   Development Value: On
    ! |, V9 I; J' e+ @. n% h
  159. ;   Production Value: Off
    + U0 l( q; i0 ^+ n7 i; C

  160.   n% n* j3 U& z2 ?6 H
  161. ; url_rewriter.tags* Z# @8 C) o0 W6 O
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="$ d/ j2 Z8 @) _6 p' d5 ~
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' R9 F/ d1 y* _6 A' D
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 n3 S# n2 V+ ?3 Q" `

  165. 5 j' n- o: v7 Q
  166. ; variables_order
    , C, u/ }$ ^$ @1 X
  167. ;   Default Value: "EGPCS"
    2 u, {5 ~' m' s! r/ X+ }- J) z$ A
  168. ;   Development Value: "GPCS"
    6 u  @. L. Q+ l3 }9 D
  169. ;   Production Value: "GPCS"$ k5 \7 t' |3 O7 x) j

  170. % U$ n: }+ q" Y: g. \, d
  171. ;;;;;;;;;;;;;;;;;;;;
    & W- }$ P; U1 w' J7 F6 R2 [" p6 t
  172. ; php.ini Options  ;
    / C0 S# z7 d1 P) f. Z* ~
  173. ;;;;;;;;;;;;;;;;;;;;
    3 a6 q9 {0 j# T
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini". ~  r4 S. j: V+ J
  175. ;user_ini.filename = ".user.ini"! Y6 L+ b/ H: ~1 h
  176. ; e: A# [5 ^. w* M2 U# D3 l8 h
  177. ; To disable this feature set this option to empty value0 ^' v" {5 Q- F: I. H! E" o) a( d
  178. ;user_ini.filename =
    9 P" \: d/ n9 \3 w3 N

  179. % u( F$ q- Y1 {5 r1 d1 x
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    % x$ I2 i/ ]8 `* _: d: j3 a
  181. ;user_ini.cache_ttl = 300" o, x! R: B8 d; A# u" ]
  182.   P+ o+ _( c6 \
  183. ;;;;;;;;;;;;;;;;;;;;
    8 L/ p& v& a9 k, ^$ _. W
  184. ; Language Options ;' b. K  R9 L6 B) Z4 f! M
  185. ;;;;;;;;;;;;;;;;;;;;
    6 e. w7 h7 T- g; j: G5 O8 V

  186. - u! ~' X& b9 T; Q- k
  187. ; Enable the PHP scripting language engine under Apache.0 I9 O  J7 r$ s6 H3 e* X. F
  188. ; http://php.net/engine
    ( ]& A) `7 @0 D5 j+ v' d2 Q# @# ~
  189. engine = On
    ; Q; j9 `" I5 k

  190. 2 c5 }6 K  C5 q! y6 `
  191. ; This directive determines whether or not PHP will recognize code between5 ?/ x* k) I4 }0 A5 P
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    + G1 R+ r9 q* F6 _* C, m( y4 b2 Y$ L
  193. ; generally recommended that <?php and ?> should be used and that this feature  |8 g1 Y" F2 J& `
  194. ; should be disabled, as enabling it may result in issues when generating XML
    6 s; [6 X0 p8 M$ K
  195. ; documents, however this remains supported for backward compatibility reasons.8 P$ x: l/ B$ v. a
  196. ; Note that this directive does not control the <?= shorthand tag, which can be$ [+ ~& [  \# F( N; K, ^& q  O
  197. ; used regardless of this directive.; {! z! r& P9 p6 z. O2 y; c
  198. ; Default Value: On
    ' j: O' F9 Y. F
  199. ; Development Value: Off
    . m6 E+ R( ]3 y  t4 L, |. }; y" x, l7 j
  200. ; Production Value: Off2 O1 b/ H0 I- Q) M% R9 ]+ w' ]" t7 Z
  201. ; http://php.net/short-open-tag7 J9 o4 w( o7 p( s* `$ C) {
  202. short_open_tag = On
    8 h3 S% Z  c4 K2 o% @
  203.   v  l1 [  ?+ n7 `0 H; m$ u' [
  204. ; The number of significant digits displayed in floating point numbers.
    , a1 V- Z$ D1 d" _9 `  w
  205. ; http://php.net/precision2 Y5 H/ U5 S2 g" @
  206. precision = 14; N* F4 H2 J, S5 ]9 T3 m' _$ J
  207. . W9 m3 U- f8 \8 ~
  208. ; Output buffering is a mechanism for controlling how much output data
    & C( _# W- F3 k- T
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that# ~: M+ N8 q3 ]9 E3 S; F
  210. ; data to the client. If your application's output exceeds this setting, PHP! h5 m. r) \5 T
  211. ; will send that data in chunks of roughly the size you specify.
    . m. B, d* A5 b( N. O
  212. ; Turning on this setting and managing its maximum buffer size can yield some; d* {0 M+ A$ o  h% h' p
  213. ; interesting side-effects depending on your application and web server.% }! o6 U4 a# k, _+ Q
  214. ; You may be able to send headers and cookies after you've already sent output
    ) [. _4 J: r: h$ Q- {
  215. ; through print or echo. You also may see performance benefits if your server is7 I1 z+ w# I( J5 r
  216. ; emitting less packets due to buffered output versus PHP streaming the output: q- q" {- n. X7 k4 A' e: u
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    9 z# a( w0 q2 I/ ]! ^# e& N, j
  218. ; reasons.( T5 E. o$ J$ m/ F. U
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    5 C# w( v, Q2 |& K
  220. ;   functions.
    3 M/ \- \6 O7 `
  221. ; Possible Values:
    # N5 m" g! c: u6 _
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    3 b' J9 t: g$ i
  223. ;   Off = Disabled# I9 L/ e* |. M9 }
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    $ d- H* X% \, w
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    , _. o. Z* P6 X7 k! S4 Q
  226. ; Default Value: Off8 _3 W1 v8 j% q+ y+ b" l
  227. ; Development Value: 40967 O9 h4 u& ~0 K, B4 `
  228. ; Production Value: 40965 Z, r$ ^: ?1 B  @4 J( L
  229. ; http://php.net/output-buffering0 ]5 e1 z+ m  S
  230. output_buffering = 4096( u# N$ [0 J$ I; ~

  231. + w( t1 M/ t) _1 G* P3 `8 i4 i
  232. ; You can redirect all of the output of your scripts to a function.  For
    # |7 ?' }0 x6 m; s2 b) t1 |
  233. ; example, if you set output_handler to "mb_output_handler", character
    8 z( T& O. @0 \3 `7 B  a0 q
  234. ; encoding will be transparently converted to the specified encoding.
    / q8 _8 Q4 h0 D9 z
  235. ; Setting any output handler automatically turns on output buffering.' f9 L8 `/ w. [/ Z. N& s  q1 v5 F
  236. ; Note: People who wrote portable scripts should not depend on this ini8 M1 R& T8 Q  {! H8 K7 T6 J
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    - N1 ?  o+ z% \+ y" T
  238. ;   Using this ini directive may cause problems unless you know what script0 j' u1 s& w0 n: z3 J. l: w
  239. ;   is doing.
    6 I: E6 O1 |) P
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    2 s) F  E# {. x. A/ r0 v
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ( q8 }! F0 U' ]' U1 |6 @2 d
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    5 e0 v5 M3 i4 M3 Y+ W" h/ B5 x
  243. ;   Instead you must use zlib.output_handler.
    ' F! u( K  ?% M8 p+ E$ y
  244. ; http://php.net/output-handler
    7 U7 y( I: s, P' F
  245. ;output_handler =
    ( |* v, R5 B" C  e- g( P9 q3 A. B5 D

  246. - d9 k) U& N" f7 h; s7 F
  247. ; Transparent output compression using the zlib library
    8 |; @) {) l: B* w
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    & C3 \9 b% O3 M5 v& Y
  249. ; to be used for compression (default is 4KB)2 [$ e, ]5 P) I4 x* j4 l0 `' w
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP, H2 ~2 o; x* s! [1 |- U- C
  251. ;   outputs chunks that are few hundreds bytes each as a result of5 Q" a! L* _( T3 m( ], H: I/ `
  252. ;   compression. If you prefer a larger chunk size for better
    7 j! F! d5 [, W- r, F9 D
  253. ;   performance, enable output_buffering in addition.& @% Q6 q# G- [. e/ [8 V: V$ n
  254. ; Note: You need to use zlib.output_handler instead of the standard
    * ]/ D7 \  c( ~4 _3 a4 u
  255. ;   output_handler, or otherwise the output will be corrupted.
    ) S+ a, F- M  d( E* O, k' H& k
  256. ; http://php.net/zlib.output-compression
    5 h* l9 R2 `$ T6 |4 V
  257. zlib.output_compression = Off
    ' i, s9 z# e7 K% j# Y

  258. , g9 u8 [0 H5 j' U8 ~0 z4 P; T
  259. ; http://php.net/zlib.output-compression-level2 }% t0 K3 f0 @; h$ @+ s
  260. ;zlib.output_compression_level = -1
    . }1 u0 F. Q5 T. p4 M( e( _

  261. & p3 K9 b" e+ K
  262. ; You cannot specify additional output handlers if zlib.output_compression0 u: K+ e& O% l/ i1 o" a
  263. ; is activated here. This setting does the same as output_handler but in
    ; n3 c# j/ F* w. ]: C; W: M
  264. ; a different order.
    7 r: X# y  q+ Y% _+ N  H- _
  265. ; http://php.net/zlib.output-handler
    3 d2 ^- {7 D( _5 z% h
  266. ;zlib.output_handler =8 Y1 O- G6 K* X, p+ K$ Q6 ?3 X

  267. " w; @0 L: i$ K
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    0 L- Q4 Y2 d8 ~1 Q" {" x! S0 f
  269. ; automatically after every output block.  This is equivalent to calling the
    , {7 j& e/ n6 |" M
  270. ; PHP function flush() after each and every call to print() or echo() and each% \' l6 \8 T1 H+ n; h5 A: Y
  271. ; and every HTML block.  Turning this option on has serious performance
    % ^  H8 Y6 V- t* C# z4 }9 m5 P! R
  272. ; implications and is generally recommended for debugging purposes only.7 X" j( p2 ^4 V9 z
  273. ; http://php.net/implicit-flush
    5 j& P" S& e7 @  H0 t4 t# a# k6 y
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    4 j. R. o/ @5 M3 d# D! W0 y  j1 ?
  275. implicit_flush = Off
    , Q0 d2 ^: j: f9 X6 v) \5 j4 B
  276. ' P2 I3 p9 T# y" ^- X* A% e  c# o
  277. ; The unserialize callback function will be called (with the undefined class'
    . `7 p; ?) |8 q6 O1 v6 @6 l
  278. ; name as parameter), if the unserializer finds an undefined class
    " Y1 P4 Y# V# @* Y3 {
  279. ; which should be instantiated. A warning appears if the specified function is, X, M% _9 K' r0 N! m/ ^% X# {
  280. ; not defined, or if the function doesn't include/implement the missing class.
    & i' b3 x6 T% B2 W) ]/ i
  281. ; So only set this entry, if you really want to implement such a
    " {! {9 d4 t* w. C* S: J7 j+ w
  282. ; callback-function." c# h$ p4 a1 m' f0 ~
  283. unserialize_callback_func =+ F6 D- v4 m+ B& ?+ i+ }
  284. * s: W: Z- y6 e5 @6 c- F, d
  285. ; When floats & doubles are serialized store serialize_precision significant4 d* P8 ^. |. j. X* C
  286. ; digits after the floating point. The default value ensures that when floats
    0 Q$ T3 h/ R% K: T0 `
  287. ; are decoded with unserialize, the data will remain the same.
    7 |3 B. t5 n; }8 R  f
  288. serialize_precision = 17
    5 }6 l2 a# U, s. _1 [

  289. 4 ^# @8 [' M) q8 R5 ^3 g
  290. ; open_basedir, if set, limits all file operations to the defined directory! |% \% g6 ]- L, {: `6 [
  291. ; and below.  This directive makes most sense if used in a per-directory* O+ X# {7 E! r, C4 K9 [! B
  292. ; or per-virtualhost web server configuration file.5 t/ e1 D5 n2 e4 k$ A. m
  293. ; http://php.net/open-basedir3 m. [: |5 e2 L& ]0 U- C
  294. ;open_basedir =
    ; V* F* ~, G: j
  295. $ o+ `8 E& A8 u- B( Q
  296. ; This directive allows you to disable certain functions for security reasons.6 m# Z! J$ N* W2 h
  297. ; It receives a comma-delimited list of function names.; ^: U' B; ^0 c' P" E
  298. ; http://php.net/disable-functions3 D" f1 o! [( ^
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru& E3 {& e" H, k/ b9 l. K

  300. $ s, Q7 C, G9 J( r
  301. ; This directive allows you to disable certain classes for security reasons.
    8 Q  k4 [& n6 H( e  B9 X/ `
  302. ; It receives a comma-delimited list of class names.
    4 ~1 }/ ~  G# F* c4 G  Y% b
  303. ; http://php.net/disable-classes
    ( S& f  D' ^* r  x- Q6 h1 i
  304. disable_classes =
    . X+ n, f  `0 X# ?/ t
  305. 0 p- B; U* d, R& J' v& H
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ( W/ p1 h) h' V# n
  307. ; <span style="color: ???????"> would work.4 S& u7 N# g5 @" G
  308. ; http://php.net/syntax-highlighting
      N- Y  U' S. p' _
  309. ;highlight.string  = #DD0000$ _) E* Q8 s5 T
  310. ;highlight.comment = #FF9900
    ! a8 I) F) P6 v- w/ j
  311. ;highlight.keyword = #007700
      E  D# _# |' g; [% q6 W
  312. ;highlight.default = #0000BB% H! t! V/ l0 d5 ]/ B, x
  313. ;highlight.html    = #000000
    4 r: q  G7 b& l! o  K2 O  ]: f8 S/ h

  314. 4 a3 n/ C3 ]2 ?) t
  315. ; If enabled, the request will be allowed to complete even if the user aborts! ~* J2 q. u7 O& B
  316. ; the request. Consider enabling it if executing long requests, which may end up
    - b, H5 \5 K, G: X' S
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior/ w1 b. c  v& |5 X# p+ U
  318. ; is to disable this feature.3 {8 ]" f- T/ w. a
  319. ; http://php.net/ignore-user-abort
    ; {5 m( |6 V8 |
  320. ;ignore_user_abort = On8 W! c. [" b+ x! M$ ~
  321. 9 g7 l# n# Z: z  E% ^
  322. ; Determines the size of the realpath cache to be used by PHP. This value should) U9 B) j8 W8 b1 W- w: W9 a* r
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    / S1 S, M8 m* `6 _3 C1 [
  324. ; the file operations performed.
    1 B6 y; ^8 S: g3 Z0 n
  325. ; http://php.net/realpath-cache-size
    6 H/ a+ I3 f+ j$ k( y9 z. Z: E
  326. ;realpath_cache_size = 4096k% W  x: A% i, G9 {) I- r. M

  327. " r- p6 w: p7 j. e/ U
  328. ; Duration of time, in seconds for which to cache realpath information for a given7 B5 ?2 b) R- a' p. X! s! @/ c
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    6 A% E5 ?* \# C8 H: {/ a8 i0 t
  330. ; value.
    9 }0 Y/ L/ M! Y) @+ l; k/ u% b
  331. ; http://php.net/realpath-cache-ttl
    % [( `1 l5 Y* G+ b1 o' i2 d
  332. ;realpath_cache_ttl = 120" i' S& i) z% g3 S1 n) L, k

  333. 9 O$ c0 R3 i5 G4 J$ j
  334. ; Enables or disables the circular reference collector.) n4 D% ]3 E( a  A3 R
  335. ; http://php.net/zend.enable-gc+ @  p+ G& z* F1 e+ Y
  336. zend.enable_gc = On
    # o5 \# [4 {- o
  337. , F( R/ u4 X- t6 {
  338. ; If enabled, scripts may be written in encodings that are incompatible with7 C, _5 c4 e3 C' }* w
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    0 q3 p( S9 Y8 W& b& V
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    - ^( w) a( P6 C% q, }
  341. ; Default: Off
    7 _+ ]3 ]$ B: ~: F2 @
  342. ;zend.multibyte = Off% ]) ]. Q: F; a6 z% S$ H" Y

  343. ) v4 t- A9 a$ b' L
  344. ; Allows to set the default encoding for the scripts.  This value will be used7 A$ `+ d7 X3 K2 b0 }% I3 z: a
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.- c! H: w! H! R1 _: U
  346. ; Only affects if zend.multibyte is set.
    " R1 Y' D; Z& Z: n( Z9 f7 R' G
  347. ; Default: """ J1 l( S5 j5 I6 Y# m# s. W
  348. ;zend.script_encoding =
    , a# I9 X; ?3 @3 j( x3 O1 K. T
  349. * a5 w! u1 E8 I) E! w) I! k
  350. ;;;;;;;;;;;;;;;;;3 Z' i. B& R5 g0 U
  351. ; Miscellaneous ;: y  g/ p" p2 n" Y9 J8 b# x) h0 \
  352. ;;;;;;;;;;;;;;;;;! G4 r: @2 N8 S7 l% Q* D
  353. 4 e. H- ?9 u. O* a
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    / o1 N! o7 E. j
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    ) a! q& H& F  d* s& g9 A9 L
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    . w5 Q( O' v; p
  357. ; on your server or not.
    . `& f, H, u5 k! i( {
  358. ; http://php.net/expose-php( S8 V/ n1 C* q. @  o2 G" B1 @
  359. expose_php = On
    ' k3 T" U) ]+ I$ v* A) I

  360. 5 R4 U- ^0 t/ L" V. _& A
  361. ;;;;;;;;;;;;;;;;;;;$ K! b3 ^' Q8 {' i7 H
  362. ; Resource Limits ;; R3 o' X; L7 s. A! p5 a% ?
  363. ;;;;;;;;;;;;;;;;;;;* L& K; }/ ^5 y. b6 V1 Y4 ^( H
  364. * f4 y5 B7 H/ i: Q
  365. ; Maximum execution time of each script, in seconds
    2 w' o" \# p# y$ c8 |; X
  366. ; http://php.net/max-execution-time( ?9 C" J( A' a+ K, A4 ]) u
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ) c* F: \- |6 L6 @3 k3 W
  368. max_execution_time = 300
    % \2 }8 e9 a( R' |, e
  369. 5 R% h4 ~. o' |: t$ D, H/ l' I
  370. ; Maximum amount of time each script may spend parsing request data. It's a good! B/ }1 v  C( B: o. b
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    6 e8 }% k: e/ M6 l( r1 ?3 [
  372. ; long running scripts./ E. r9 x6 D" i! ?  P" J1 y. d5 G
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI! R2 A$ @/ O7 ^8 E/ U9 n6 x5 L
  374. ; Default Value: -1 (Unlimited)
    2 e' }2 X# e& S  z+ G
  375. ; Development Value: 60 (60 seconds)
    0 a2 T0 R1 O4 S: n
  376. ; Production Value: 60 (60 seconds), I+ ?; x- `- S7 l8 T9 ^3 c" M
  377. ; http://php.net/max-input-time$ m8 V( {7 |: i1 z# b) Y  Z
  378. max_input_time = 607 f/ A$ j: ]) U* L: e3 |( K
  379. / M* h0 ^& x- O8 m" I8 ?
  380. ; Maximum input variable nesting level
    , J- V- J6 L/ c
  381. ; http://php.net/max-input-nesting-level0 B5 t1 U  Z: G; x
  382. ;max_input_nesting_level = 64% I+ e5 Z7 R1 ?) P9 Q# G( W) L
  383. , Z; I" o9 Z4 f1 g- b2 I4 H4 \: o
  384. ; How many GET/POST/COOKIE input variables may be accepted. f( n9 V: j) l$ A" r% ~% u
  385. ; max_input_vars = 1000$ a, `- ]' s' s, {# A% L
  386. ; T) ]6 X+ m; l: y
  387. ; Maximum amount of memory a script may consume (128MB)3 B. {" e( {- D7 r& w
  388. ; http://php.net/memory-limit0 r* t" h3 ?4 |( f3 H) x
  389. memory_limit = 128M& E- T7 P6 W! z* ~3 I, [5 S
  390. ; q: I1 \+ _0 V5 h9 H/ ?! W
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    : }, o. \0 }. h7 D3 W
  392. ; Error handling and logging ;
    % S1 _% W! ?5 J0 u7 V: ]
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; s) \9 V- I; K0 a

  394. + O# {* L  Q. d
  395. ; This directive informs PHP of which errors, warnings and notices you would like% R1 ?; r4 o; M- S
  396. ; it to take action for. The recommended way of setting values for this4 `' ?: q( `" v6 D# A# a% w
  397. ; directive is through the use of the error level constants and bitwise! I8 l5 n/ |8 n) d' W8 U
  398. ; operators. The error level constants are below here for convenience as well as
    ; m% f  D3 d0 Z# G) p
  399. ; some common settings and their meanings.5 u% a: k* `; f; y6 ?! S
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    6 u( v: W; @$ ^
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and  Y5 N2 N+ {+ o
  402. ; recommended coding standards in PHP. For performance reasons, this is the( G% Z  G! w' f% h' {
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    : d6 U# W" e" V# y- P, {, t
  404. ; resources complaining about best practices and coding standards. That's what5 S( f; _, F6 W, q) a; T- M- u7 o
  405. ; development servers and development settings are for.5 N; f7 h% B- N  W
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    % G8 \' |  {2 a' |5 u8 n+ n
  407. ; means it pretty much reports everything which is exactly what you want during
    * O0 u) |4 F1 B* @$ f# g  @
  408. ; development and early testing.4 g! Y' \& j! ]2 F% q
  409. ;7 B9 o7 b) `! j! {
  410. ; Error Level Constants:0 P5 N& t  x3 k7 P7 {. [1 J; q$ D: q
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    2 w; e2 y% B& [+ v
  412. ; E_ERROR           - fatal run-time errors
    ) g2 o  |# U" v. O/ ~+ H
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ; C6 e% p5 `1 A5 g; p# c
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    $ v" V7 w) b: M/ ]5 _4 |) v7 e
  415. ; E_PARSE           - compile-time parse errors
    . f* n2 E* F% A( A& L
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    * K/ P: i% T5 R' ^
  417. ;                     from a bug in your code, but it's possible that it was5 J- ?9 m# h5 Y3 Y% m) b1 U5 y
  418. ;                     intentional (e.g., using an uninitialized variable and
    ' B# T6 C- l) Y2 h; s
  419. ;                     relying on the fact it is automatically initialized to an8 K) [3 C# [! t, D! Y' [
  420. ;                     empty string)
    ; I& o4 P! `/ f- x% y
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    9 M  z8 E* L' G0 c* h
  422. ;                     to your code which will ensure the best interoperability
    1 s1 d) B2 y4 j- S
  423. ;                     and forward compatibility of your code
    3 H# O# c4 G' U) e1 J8 ~' Z
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup" B" q# u) k% W) @8 M
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    % H+ Q% d! k7 Q1 x: O
  426. ;                     initial startup
    ' m, \3 Y. q' ]3 ~9 w" s
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    6 d# r1 m: ?, b9 k6 [5 _& q
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)" F: ^" f. _* f% |7 C5 D9 ?; }$ {
  429. ; E_USER_ERROR      - user-generated error message
    * V* I3 _* R. I6 z6 D+ i
  430. ; E_USER_WARNING    - user-generated warning message( @6 J; v/ ]5 Z' m( L4 ~1 Y
  431. ; E_USER_NOTICE     - user-generated notice message
    ; o0 a# j  j; D8 v# e' h% G, f1 o" h
  432. ; E_DEPRECATED      - warn about code that will not work in future versions! }: f3 v6 F* b9 E* r) [
  433. ;                     of PHP
    $ n) U0 |8 ]! u( O
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings% D! T3 ]/ ?- _, z+ u3 |8 U3 Y
  435. ;$ }) ?2 P& r4 E( Q* f* G: q
  436. ; Common Values:
    # o- b9 y, e! k. S' D1 z( v
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    - X/ C! U8 @  ~/ f
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    : {; a% W3 s: l2 ]9 y2 ~+ B1 J( Z
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)8 j9 e& c9 J) D$ G) h
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    / z% p% q8 N5 B9 [% H" A( R9 ^
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED, a+ ~# O' E) O. x' D
  442. ; Development Value: E_ALL* Q$ A3 o. S5 p& I+ U
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    , l8 g1 w" U  y) _& N$ v; }$ j/ u7 }
  444. ; http://php.net/error-reporting( n& ~; w& [! J7 B
  445. error_reporting = E_ALL & ~E_NOTICE
      W6 M% A! E/ r$ N8 e

  446. 5 E5 W+ k0 S, S+ @- x
  447. ; This directive controls whether or not and where PHP will output errors,
    , n* ^) t& @2 O: e5 o! R
  448. ; notices and warnings too. Error output is very useful during development, but
    2 L) n0 R# c7 k# ]/ ~
  449. ; it could be very dangerous in production environments. Depending on the code1 U2 m6 L+ j; m' ^- A9 ~. U6 E" \6 V; Y
  450. ; which is triggering the error, sensitive information could potentially leak0 [5 }0 A& w) U7 P% e, Y
  451. ; out of your application such as database usernames and passwords or worse.
    ( ?' Y' T* v) {4 H2 @
  452. ; For production environments, we recommend logging errors rather than0 t8 J- _6 y8 [0 t' D* C& t+ {
  453. ; sending them to STDOUT.+ A$ q/ x- Z9 [. x. `! |8 B  W
  454. ; Possible Values:
    - ?. @: A0 s2 g2 d. `
  455. ;   Off = Do not display any errors) a, X$ M! P3 @* n# O4 ~
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)7 A/ Q( U! ^; t/ n: R
  457. ;   On or stdout = Display errors to STDOUT  k) S& X- v9 Y# f- T
  458. ; Default Value: On9 a) B' T" I4 A; q. C7 E% t; ~
  459. ; Development Value: On& B( j, ~- X6 p8 u
  460. ; Production Value: Off
    & C+ j# Y$ H4 a+ y" g
  461. ; http://php.net/display-errors4 h2 T1 h4 E- f+ ]
  462. display_errors = On
    1 {' j8 B0 l1 x9 h, J7 o8 r

  463. 1 S2 N: }% c5 i
  464. ; The display of errors which occur during PHP's startup sequence are handled# Y; m3 }3 L2 U
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    , R5 c( E$ {* F( W% b2 s
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    2 Y- @% J1 s. k8 U+ w8 i9 w
  467. ; debugging configuration problems. We strongly recommend you
    * H. A+ b. |1 ^1 L3 p, k* z0 ^3 M
  468. ; set this to 'off' for production servers.
    $ S7 f# b; ]! ]  u1 e
  469. ; Default Value: Off' U8 S- N2 m2 l2 f0 o: N
  470. ; Development Value: On
    * b8 E, y% J! y6 X. B. V
  471. ; Production Value: Off% K- ]6 @" q0 Y8 m) [
  472. ; http://php.net/display-startup-errors  @7 }8 K; L) d
  473. display_startup_errors = Off% i( r# _. k2 J) f) e" y5 K

  474. ; `) D0 I& g* \- f5 g: [! G8 {
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    5 {: O* w$ Q+ K  I7 I+ @% }& [
  476. ; server-specific log, STDERR, or a location specified by the error_log
    & L4 r2 ?% p+ c7 r4 ]
  477. ; directive found below. While errors should not be displayed on productions
    . s" b. X! W% w3 l6 f% `# v
  478. ; servers they should still be monitored and logging is a great way to do that.' z  ]1 i+ p) \$ e
  479. ; Default Value: Off
    3 S. o: B. e) s; r
  480. ; Development Value: On
    - A4 i6 o: P, _  _- Q  h( H
  481. ; Production Value: On
    3 [0 G9 `. l+ X) Y- v; N
  482. ; http://php.net/log-errors
    7 h' A7 r" F% Z* J
  483. log_errors = On( A( S0 z% u$ Y7 H7 x. A
  484. 2 F' r- A8 G8 r+ |/ M6 e) r
  485. ; Set maximum length of log_errors. In error_log information about the source is! |' D: s4 |8 I( y& f) r
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.) ]: C6 m7 r, E
  487. ; http://php.net/log-errors-max-len
    / K3 W* n' i' c: N1 ?* i
  488. log_errors_max_len = 1024  ?1 _( M$ b; ?; U# v

  489. + W4 g* D7 y4 C7 W( G3 C" H! D
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same2 Y" ?0 ?3 h. B) A
  491. ; line unless ignore_repeated_source is set true.$ p/ l, H/ Q5 x% H. R9 M# B
  492. ; http://php.net/ignore-repeated-errors
    # s4 ~3 C! n( J
  493. ignore_repeated_errors = Off
    % V( I; F0 v! V

  494. ; w2 N% f5 |# L7 ^/ ~
  495. ; Ignore source of message when ignoring repeated messages. When this setting9 i% a' o! x3 o2 ^
  496. ; is On you will not log errors with repeated messages from different files or( ~4 O. H5 y% @9 \  {, P+ P( M
  497. ; source lines.
    : V, @1 X5 W$ X) }1 E1 D
  498. ; http://php.net/ignore-repeated-source
    9 J7 y; W2 V& K/ ?/ _
  499. ignore_repeated_source = Off/ B' n! Q/ A/ \! f

  500. ! B5 A4 G5 P5 U( F. w6 a
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    0 V+ K7 O! S, k
  502. ; stdout or in the log). This has only effect in a debug compile, and if7 ]5 p! S7 U7 r7 v% B
  503. ; error reporting includes E_WARNING in the allowed list# \3 P* W& y" A, F  S" c" K
  504. ; http://php.net/report-memleaks. H3 }0 Z. c4 S* Z3 p/ ^4 Q! u0 m5 r
  505. report_memleaks = On, a  m/ I3 r  l

  506. / M, }9 x1 d+ _! v4 X
  507. ; This setting is on by default.
    ; \; k. V. a% u; n' e9 J" J/ k
  508. ;report_zend_debug = 0
      ~' f$ C9 T2 w3 m6 ?" s( e
  509. ( }( X7 e* Z) Y  T% u; z# u
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ' l' a5 Z, x5 ?+ d2 |9 `
  511. ; to On can assist in debugging and is appropriate for development servers. It should- z% r7 g7 W( {6 m) G
  512. ; however be disabled on production servers.
    5 f8 n1 x# _, Z% z9 x
  513. ; Default Value: Off
    ( q/ ?3 t" r% u7 `
  514. ; Development Value: On
    ( l) u- S* ]6 W: |0 d5 b6 r/ K
  515. ; Production Value: Off4 q! [. V: s9 J
  516. ; http://php.net/track-errors. M1 p4 h; K! q$ b+ V
  517. track_errors = Off  f5 J5 S1 W  Z% m* ^& W

  518. : S0 z# r; i0 V# ^
  519. ; Turn off normal error reporting and emit XML-RPC error XML$ x  w4 e- |: H
  520. ; http://php.net/xmlrpc-errors4 j3 f! _4 ]2 k5 ~- X
  521. ;xmlrpc_errors = 0- r2 S! Z( T/ i9 l/ o; Z/ v7 w

  522. - q# P# c; u& I9 i0 N$ `2 z
  523. ; An XML-RPC faultCode" a# m- C9 @- {* e' p7 O# K
  524. ;xmlrpc_error_number = 0# r( s# K2 z) U7 m1 P! {
  525. 9 E2 U5 Z. h7 F9 K7 h; U/ A6 w
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    7 ]( S* @8 v' P7 T; K: f' P* g
  527. ; error message as HTML for easier reading. This directive controls whether' N% r0 U5 k& m0 v* o" G' l
  528. ; the error message is formatted as HTML or not.
    * X/ K- s0 L& I4 V5 h4 q/ [
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ) l. S' {5 v; K8 M: G/ e
  530. ; Default Value: On; x+ D" l: X: P( K3 S8 n
  531. ; Development Value: On$ a: I  W$ r' D% y2 l! p  t
  532. ; Production value: On1 W( y, D3 ]3 A) v; q6 @3 R/ o' D
  533. ; http://php.net/html-errors
    & i6 c5 p9 m  l6 _
  534. html_errors = On3 \0 e/ A9 f7 v0 c  {

  535. / Q4 a7 p4 s: O9 X
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP' B) Y$ {- H7 F- t1 z
  537. ; produces clickable error messages that direct to a page describing the error% y* N+ P- T: W/ w4 d4 `( p9 p
  538. ; or function causing the error in detail.
    6 U- z1 v" B) A
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    & C8 O0 `- J5 A" d/ y8 P' P# v
  540. ; and change docref_root to the base URL of your local copy including the
    * U- i: c' y$ P- d' r
  541. ; leading '/'. You must also specify the file extension being used including
    & ~9 x0 }" P2 h1 [% ]. d( C# ~
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which: U. A+ |/ x% @. f! p0 t& ~( J
  543. ; case no links to documentation are generated.
    5 s1 f. }+ D" b+ j* f+ S8 O$ M
  544. ; Note: Never use this feature for production boxes.6 A- `% Y' ~1 K# t
  545. ; http://php.net/docref-root+ N. K) g# q7 |. T* C
  546. ; Examples
    & E3 @, I; M7 M" _+ d3 M- `$ J1 E
  547. ;docref_root = "/phpmanual/"( r' i# v8 h# r
  548. 6 b3 M, J  {! p6 T9 u
  549. ; http://php.net/docref-ext' R) i  g: A7 \  E6 j7 a( W9 ~
  550. ;docref_ext = .html
    ' E& o+ E% D2 @4 O
  551. . E. i& C& `! E4 U; V# U
  552. ; String to output before an error message. PHP's default behavior is to leave( Q+ A2 j+ K3 l1 q1 P% `- J6 o
  553. ; this setting blank.) M" G: y* L6 R) O
  554. ; http://php.net/error-prepend-string
    3 S5 D9 E' o8 b& w( i, T
  555. ; Example:$ N' U4 ^) x" T3 k* t5 W2 @- U
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    + I4 m4 [  v8 F" q( F
  557. 1 w: [& M* J, m2 @
  558. ; String to output after an error message. PHP's default behavior is to leave% t- Z5 ^+ L+ x. M; F5 k; [
  559. ; this setting blank.
    ; G- G2 y, x; o0 `/ o# W# G+ P/ V
  560. ; http://php.net/error-append-string: y* k  v/ S3 f1 c( v; {
  561. ; Example:4 P* A! O# S+ ?1 `7 N% k- G
  562. ;error_append_string = "</span>"
    $ a/ ^6 D* }8 D/ t( X

  563. / p5 f3 [8 @! E# n2 `* y" P$ `
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    ; Q% \. O. T4 ?  D$ m7 Z! q
  565. ; empty.
    : O& u4 ~$ m  m' }1 W$ x
  566. ; http://php.net/error-log# H5 W/ p) a8 }! d* _
  567. ; Example:
    5 j; e  t' z% {& x" n$ u
  568. ;error_log = php_errors.log
    4 i! G( E3 {6 m( V. \) P8 e3 j
  569. ; Log errors to syslog (Event Log on Windows).
    9 d# R7 f! f* @' t0 k
  570. ;error_log = syslog
    * i6 Y6 K3 Q4 L, |9 }; V# d

  571. 1 o$ Y7 t5 F. l8 d8 M. Q
  572. ;windows.show_crt_warning5 P% w- _1 E  x& w* N8 n( r% h
  573. ; Default value: 09 v7 Z: R- W! T! G
  574. ; Development value: 0% d, s6 S/ F+ R: M1 c  V+ A0 q) I
  575. ; Production value: 0) C! s1 M9 E- m4 m5 ^' W- ^

  576. # u  U( S9 Z$ K% x6 H" T0 s
  577. ;;;;;;;;;;;;;;;;;) Z: a% w& @# H
  578. ; Data Handling ;
    ( q1 s8 ~4 A3 G# I+ X
  579. ;;;;;;;;;;;;;;;;;! ], J4 N; |5 g( e# r+ R5 ?) O

  580. ; H1 R" x6 }4 O4 W1 X. S' [
  581. ; The separator used in PHP generated URLs to separate arguments.
    9 b! F& G2 T  ~, b
  582. ; PHP's default setting is "&".
    8 C- k0 w& S( Y7 E) N
  583. ; http://php.net/arg-separator.output
      d& X; k+ J" b7 y$ \$ y
  584. ; Example:
    3 _/ |, o" q6 n- Z3 L' \
  585. ;arg_separator.output = "&"
    * Y4 M4 |; q: K$ V, T1 A9 a
  586. 2 ]: d4 f/ R% o% C8 q1 X0 T6 R( c
  587. ; List of separator(s) used by PHP to parse input URLs into variables.6 R# f8 h9 y, z5 ]( q  z
  588. ; PHP's default setting is "&".
    - c3 j; l, u1 u2 M
  589. ; NOTE: Every character in this directive is considered as separator!
    + Z# n4 i: b" A: l( x
  590. ; http://php.net/arg-separator.input
    / N0 N5 d3 X0 f! i" R+ O" |+ P  {; L
  591. ; Example:3 k6 b9 t$ f+ {1 z" C" m' ?
  592. ;arg_separator.input = ";&"
    9 P3 e4 p9 E" g
  593. * s& a1 ^  t, y1 M$ ^# w9 x
  594. ; This directive determines which super global arrays are registered when PHP
    % j: _8 M  H! B
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    * F, s% J2 H! r/ M! j! s
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    2 j9 H+ L4 d4 a6 w8 i# G: R
  597. ; paid for the registration of these arrays and because ENV is not as commonly, D. Z' N$ i! f
  598. ; used as the others, ENV is not recommended on productions servers. You
    # b: H5 L  Q+ Q0 A2 I8 t- ?/ q
  599. ; can still get access to the environment variables through getenv() should you: p/ E$ O1 p8 V2 u% U" f- F% D
  600. ; need to.
    / d. U+ \9 v" D7 ?5 i
  601. ; Default Value: "EGPCS"" m- c) b+ ]' D6 w2 `
  602. ; Development Value: "GPCS"# c: z; D* q- u8 T( G' f8 g% R
  603. ; Production Value: "GPCS";+ u* Z5 U& j. O) f! d& b, J4 v
  604. ; http://php.net/variables-order
    / P2 Z7 a' G2 m' M+ u1 ^; |$ O
  605. variables_order = "GPCS"
    % L5 u6 n$ E( z. N& b4 R. F
  606. 2 B) r9 K0 v" n7 C
  607. ; This directive determines which super global data (G,P & C) should be) I$ ]7 m$ J' I( ]
  608. ; registered into the super global array REQUEST. If so, it also determines
      D3 j8 V$ K( c$ t
  609. ; the order in which that data is registered. The values for this directive# e! e' g9 K1 l& @: e
  610. ; are specified in the same manner as the variables_order directive,9 l* X& _/ H' ]6 j" ?; j
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ) T" a0 o; @( s
  612. ; in the variables_order directive. It does not mean it will leave the super: S4 o6 `8 T% o
  613. ; globals array REQUEST empty.! t1 E8 o, j9 h- X! j
  614. ; Default Value: None
    / b  P1 G- r+ ~
  615. ; Development Value: "GP"6 ]8 T7 C  _+ M, c3 ]
  616. ; Production Value: "GP"
    $ u6 J  _$ e3 e# D
  617. ; http://php.net/request-order
    + a7 }2 K& W) }# l
  618. request_order = "GP"7 G) f1 ^' s: J4 r3 Z8 M" H! |$ g9 E

  619. # w. w4 c( N5 r  B: [
  620. ; This directive determines whether PHP registers $argv & $argc each time it6 H$ N% |5 v, `9 n! _0 \& R
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    * t1 g) T8 }# Z# ?# Y- C/ L
  622. ; is invoked. $argc contains an integer representing the number of arguments
    % O$ W! ^, r: e+ q2 ]  w; w
  623. ; that were passed when the script was invoked. These arrays are extremely
    / {# a; o: v4 B
  624. ; useful when running scripts from the command line. When this directive is
    + ^  y+ {, c7 k7 H( w* i' p
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    " n0 ^. I( A* |# I" W  s* N
  626. ; a script is executed. For performance reasons, this feature should be disabled) |% ?/ s7 w, W3 T" r* C+ V9 S
  627. ; on production servers.
    2 n* j: F. M" i( M+ ~
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    0 K" j. Y7 [1 i) A7 R
  629. ; Default Value: On
    + n* l' J* F2 z" g# k
  630. ; Development Value: Off/ ~$ M2 |) Z4 Q& O
  631. ; Production Value: Off
    " i0 L% F+ K! T
  632. ; http://php.net/register-argc-argv+ _7 w4 d# q) ~
  633. register_argc_argv = Off
    . z# J& a: m# n- ~

  634. . F+ g& ^# z+ I5 |
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're+ n" P" D. c  u  _! l& {' n+ Z) g5 \
  636. ; first used (Just In Time) instead of when the script starts. If these
    ! N8 h6 J% z0 m3 c+ p
  637. ; variables are not used within a script, having this directive on will result
    ( u+ r* K) h5 C0 u8 M- {" F* a: a/ H
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled$ x- K2 I: y* f( x
  639. ; for this directive to have any affect.- U+ e3 z6 [6 c1 U
  640. ; http://php.net/auto-globals-jit: Z6 r5 ?/ M3 d! d- ?! A: M+ ^
  641. auto_globals_jit = On
    , Q( ]( I& [/ {( d( f
  642. & ?; j+ z: y8 k! ~* H& R6 ^6 w" m
  643. ; Whether PHP will read the POST data.
    2 P( Y/ }  v) R0 A: o6 I' g+ l: ^
  644. ; This option is enabled by default.% X( Y3 ^# n% R6 Y* ~. D9 V
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    0 N) K1 _- E  @7 b7 j
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    ! A* t& {+ q5 E& q
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    ' W( M, Q* @$ t3 S0 u5 b  {& K
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    . Y, b. i1 L5 T+ E4 ^1 H. l# d
  649. ; http://php.net/enable-post-data-reading; U; T8 r0 |" r
  650. ;enable_post_data_reading = Off
    2 g* [  Y  ?, X+ U1 O
  651. 8 d. @' o& E# D
  652. ; Maximum size of POST data that PHP will accept.
    - }1 |2 n5 e& k( M4 z
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading# V1 ~' `2 p. O. w$ U8 ?3 p
  654. ; is disabled through enable_post_data_reading./ @$ K. }* _; V1 _. n; l" `5 s: F; V
  655. ; http://php.net/post-max-size
    $ j- C* @- k9 x
  656. post_max_size = 50M  w+ N- a4 F7 A! l: C8 p

  657. % ?; P2 [* N: B) g0 p2 e3 ?- s
  658. ; Automatically add files before PHP document.
    ' ]  D0 @* z9 V! C& m9 n
  659. ; http://php.net/auto-prepend-file
    9 _, G  p& Z9 Z+ J
  660. auto_prepend_file =
    ! L  s' q. o. X/ F. G: E: C5 b

  661. , y( c/ N- X. W+ d; F
  662. ; Automatically add files after PHP document.+ v0 L$ S* b+ M& \' g4 n! P
  663. ; http://php.net/auto-append-file3 S/ O. N9 P5 Z4 b& O
  664. auto_append_file =9 b2 R+ e2 P- E: y

  665.   q( e# R2 F4 U: M9 ~
  666. ; By default, PHP will output a media type using the Content-Type header. To
    " i) M7 D4 `! C$ W' S- i
  667. ; disable this, simply set it to be empty.
    , r$ d" L# {4 a* c2 X& s+ b
  668. ;* Q  i  ^- T, X% @3 O6 b9 ?
  669. ; PHP's built-in default media type is set to text/html.4 B+ e6 L5 m$ Y8 A3 J
  670. ; http://php.net/default-mimetype) l7 {& x. K5 D5 T% s. g' D
  671. default_mimetype = "text/html"" \2 X2 O5 k$ ^( M* c( x

  672. ) P6 |% z6 [# z" u# C' _
  673. ; PHP's default character set is set to UTF-8., i/ j6 l" \/ n' y/ o
  674. ; http://php.net/default-charset" x3 o9 |6 x$ h6 [
  675. default_charset = "UTF-8"
    ! _# }* z8 m5 E$ r
  676. 4 N/ J$ ?+ Z1 g6 s; Q! m) q
  677. ; PHP internal character encoding is set to empty.
    + h4 V# j7 D3 R  q
  678. ; If empty, default_charset is used.
    & l$ n$ ?9 }+ _7 {( w
  679. ; http://php.net/internal-encoding
    ! @% o# H. E, y0 @. T& d9 q
  680. ;internal_encoding =6 F2 f" Z! f( m" o( m: P
  681. ; P' y( b2 R- L7 C
  682. ; PHP input character encoding is set to empty.
    ) I6 _$ p+ r2 [6 h( {) K
  683. ; If empty, default_charset is used.
    / V' ]( w1 i6 F. h
  684. ; http://php.net/input-encoding
    1 x  W; X* o1 s0 M
  685. ;input_encoding =. l/ ^) l1 j# l0 d1 m

  686. " W3 q5 e/ S1 G3 f- U1 h
  687. ; PHP output character encoding is set to empty.. q' x9 u9 g4 ~# y
  688. ; If empty, default_charset is used.4 n& i9 X. `! T% y, m3 ^
  689. ; See also output_buffer.- }+ O, D* J: J2 I
  690. ; http://php.net/output-encoding: e& s% L9 z% Y- T0 @2 W
  691. ;output_encoding =! W9 p; r, _, h, p" R9 b

  692. 3 D* D1 I! {& C- d0 j
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;- g6 o) d7 X7 A/ l" L" y. V
  694. ; Paths and Directories ;
    6 c0 y+ g3 n& _) n' n8 u9 M
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;* s% S7 X7 W) r# c# a
  696. ; A, A) B& f6 K, t0 i; n3 T' P, g
  697. ; UNIX: "/path1:/path2"
    6 B5 m8 ]; E5 J# L; r' C# c
  698. ;include_path = ".:/php/includes"3 v/ g8 }5 p( e; u! |4 [; |
  699. ;
    ) |9 E: A& Q# R, Y
  700. ; Windows: "\path1;\path2": m$ O. x' j7 {9 @! n
  701. ;include_path = ".;c:\php\includes"
    + N) }# I% O2 i7 F5 j9 Z2 x
  702. ;4 e% L$ [2 i8 @8 ?) Q
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"3 ?5 {6 q& t, ~* ]# a
  704. ; http://php.net/include-path
    ; Q$ V& e& p5 Z& G

  705. 8 M+ C& a( j( `9 l# }& c, J
  706. ; The root of the PHP pages, used only if nonempty.
    ) L9 K9 z. Q/ v' r
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root% }2 A9 X" i2 x- |
  708. ; if you are running php as a CGI under any web server (other than IIS)- d( l) f/ f$ x' V  Q) e
  709. ; see documentation for security issues.  The alternate is to use the
    * t) s) }6 g) A/ w+ W! ^
  710. ; cgi.force_redirect configuration below
    / j0 j! S0 Y" N6 E$ \- e: H- \
  711. ; http://php.net/doc-root8 `" ~# o( M- ~/ M% Y
  712. doc_root =
    ; n" C. R* ?9 V; s% |
  713. - }0 }$ B! d* `- D: |
  714. ; The directory under which PHP opens the script using /~username used only; i' }, q- H  ?
  715. ; if nonempty.
    # X. T! }. H# K  R7 h* a/ H
  716. ; http://php.net/user-dir
    ! |4 U% c2 w, e2 i# [* c) q. N
  717. user_dir =
    0 B4 s  n$ k4 U- i; f3 ]5 \

  718. ! [- d" W4 N9 I  D; _
  719. ; Directory in which the loadable extensions (modules) reside.. ?0 O2 d, t/ E+ x. L, _
  720. ; http://php.net/extension-dir4 y! C+ Z& v. j4 H8 T
  721. ; extension_dir = "./"( t6 H5 l2 C; T" \, E. U2 p1 a
  722. ; On windows:6 F6 V2 }+ T! v! `9 ~# J' T
  723. ; extension_dir = "ext"
    6 i. J5 F( j' {& Q* b

  724. 6 }: f7 `5 x5 a+ @, E( u  D# V; I. A. C
  725. ; Directory where the temporary files should be placed.
    5 U5 M  f/ L0 ^' g( g6 j2 S
  726. ; Defaults to the system default (see sys_get_temp_dir)" E4 A9 G( F- {5 ?+ ^
  727. ; sys_temp_dir = "/tmp"6 Z( j6 @9 g& z  A( g
  728. 7 e% s2 F& _' e1 @
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    / |+ S1 h6 e/ H8 f% ]
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    / s) P5 `7 T7 V4 U; Y! u* j1 S
  731. ; disabled on them.  ]: f/ Y+ Y( X% t: \
  732. ; http://php.net/enable-dl0 c; O$ g( D, [& J
  733. enable_dl = Off3 h9 s- m' X; P
  734. ; x, g( y( W7 _4 }
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ' p+ r6 Q7 @6 ?, E% u. Q; q6 I% l
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can( }* f+ o5 N  [# E; m* \
  737. ; turn it off here AT YOUR OWN RISK
    6 B, H) ?. r7 o0 e7 _
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ' d2 P: H- r  f6 i
  739. ; http://php.net/cgi.force-redirect
    0 c( n4 v0 s  z2 _; H7 W% S
  740. ;cgi.force_redirect = 1
    # i( q3 c$ D' r2 q5 v) p

  741. $ x4 }& X* M/ r9 h8 h7 O% j8 S
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    2 H" E  X' }8 c+ u/ N
  743. ; every request. PHP's default behavior is to disable this feature.& p; [1 Z, W2 z! i
  744. ;cgi.nph = 1
    9 W) |3 ^7 B; L1 Y4 o' U& D

  745. 0 x6 s% A" [  w! B) V$ L9 l/ \% g
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    4 w* }6 I, l) X$ ]7 V4 i
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    & H- L2 B. e& O" C$ I2 ~$ ^6 S
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY* i: ^) X! T) s% ?; x
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.3 W* i4 y! g' h
  750. ; http://php.net/cgi.redirect-status-env
    4 D9 F8 [0 @6 M/ c8 q8 X1 A
  751. ;cgi.redirect_status_env =" u' b# V2 V% L' Y
  752. 2 f5 \7 \$ L8 Z& V6 V
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's3 Z+ f: P9 y: C" Q$ i
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    2 @1 E$ `5 I0 p2 p
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    # r7 p2 w7 i) L( v  R
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    8 O4 w4 n' Y! ~6 g& b- |
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts, \8 `2 F; ?+ ]: P2 y( @/ b1 w  c
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.2 J* h$ c: }# O# V' V
  759. ; http://php.net/cgi.fix-pathinfo1 K6 E: ^$ U8 b; f) U+ z* f
  760. cgi.fix_pathinfo=1
    4 w7 D" s9 D5 x% q
  761. 6 Y; H3 ]5 `; h/ S
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    3 }. C: ?9 r+ ^3 P/ n# i7 c+ F3 a
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    / T3 Q/ B5 ^" y
  764. ; http://php.net/cgi.dicard-path
    , h; d8 [/ w" z" D! q2 Y5 X& w  N
  765. ;cgi.discard_path=16 [# x: b* l& ^% K+ I

  766. # O% y" M) X3 |' R
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
      A# I5 e0 c) C& Z! |1 V* n
  768. ; security tokens of the calling client.  This allows IIS to define the; C$ W! B# ~  E
  769. ; security context that the request runs under.  mod_fastcgi under Apache# r& t! w/ l/ e
  770. ; does not currently support this feature (03/17/2002); n$ K/ E6 P+ f
  771. ; Set to 1 if running under IIS.  Default is zero.
    7 A, Z$ l+ o) O0 w1 {$ D" X( T. _/ p
  772. ; http://php.net/fastcgi.impersonate) o0 |& W( }' H% T, n. b; ]6 u
  773. ;fastcgi.impersonate = 1% ^8 K% e; Z# J% y' ^

  774. 0 E8 \- {& N% n& E: x/ O
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable$ W) u2 O) t8 g9 C5 Z6 s! ?3 T
  776. ; this feature., \/ Z- Q. f4 c5 t. y
  777. ;fastcgi.logging = 00 w9 |: ^, Q4 b# X4 {& \. O
  778. 4 Z/ y! ^* ]4 _6 i
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    4 V) A  O  l8 F8 @$ h/ g
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    " f2 u% a1 H! X1 y1 r) w2 u
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    , L& t! I9 {+ O0 v% H1 y
  782. ; RFC2616 compliant header." ^; p9 O8 H/ G! J
  783. ; Default is zero.% g9 T' o) n- Y, A+ O: k3 G1 z
  784. ; http://php.net/cgi.rfc2616-headers
    9 P: D* C; ~$ a
  785. ;cgi.rfc2616_headers = 0- m4 Q6 c5 I  K5 k# K% J

  786. : T7 s/ I) T8 V6 Z
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    9 v; F$ B; {& ^* S6 F* D4 u1 K
  788. ; (shebang) at the top of the running script. This line might be needed if the8 q6 ^! K4 k# M2 ?; M5 J
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI: o: B, d4 _* d5 S* d& Z( b$ q
  790. ; mode skips this line and ignores its content if this directive is turned on.$ j7 b5 X& I1 w2 t
  791. ; http://php.net/cgi.check-shebang-line: ^2 |, J+ M. u8 U% ?7 N
  792. ;cgi.check_shebang_line=17 S8 |: Y! [( @/ _- l3 W
  793. 9 \9 q- |6 d3 l: p2 l# b- ^
  794. ;;;;;;;;;;;;;;;;
    % i4 o: ^* N" c* @1 R$ i6 v
  795. ; File Uploads ;, [- ]: q5 ?8 N/ T! j/ L# K
  796. ;;;;;;;;;;;;;;;;
    + ]8 O; q# k& t' }2 B/ L! }- d& N
  797. $ r3 t7 T3 Z' f2 a) [
  798. ; Whether to allow HTTP file uploads.
    6 i# p! t5 s) {3 S
  799. ; http://php.net/file-uploads
    & s# \" ]# i+ A' d
  800. file_uploads = On
    3 p3 R" C+ p& @5 G
  801. ; z& J  a! K: u+ u! e. _
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    * n& `" @3 S2 @( l
  803. ; specified).- V1 R9 W+ M6 O% x! Q8 G; w
  804. ; http://php.net/upload-tmp-dir
    9 J4 g- l& e( _' m% z
  805. ;upload_tmp_dir =6 p( _) u& _# T6 R" ]
  806. : ^+ P/ {! A* F7 d
  807. ; Maximum allowed size for uploaded files.5 P1 s3 }* y4 ?7 K9 }( H
  808. ; http://php.net/upload-max-filesize
    ! O+ R* ?+ k0 E4 @
  809. upload_max_filesize = 50M0 g+ Y- c/ \; X

  810. ' N' J* m5 b" B2 E
  811. ; Maximum number of files that can be uploaded via a single request$ a; F1 G% Q4 h/ F% J
  812. max_file_uploads = 20) ~& j; B# A' R* t. l" E9 J

  813. # ~$ z3 ]2 Y3 P
  814. ;;;;;;;;;;;;;;;;;;
    6 t3 ^2 B( R  j
  815. ; Fopen wrappers ;
    ( a. \5 y* }+ G' G
  816. ;;;;;;;;;;;;;;;;;;
    5 Q' A; j, ?, Y- `5 s4 c* [% E

  817. 9 R0 F4 q8 s, H7 w
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.* L+ R8 L) j$ C6 p( r$ t3 Y
  819. ; http://php.net/allow-url-fopen
    ) g- Q$ u3 g; d1 ^4 v4 B- K
  820. allow_url_fopen = On+ f1 {' W  E9 t& P0 |3 n- F+ U/ Y
  821. 5 X6 r2 u& N6 f& T8 x' F4 p
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.# Q" l  D- x$ U. E
  823. ; http://php.net/allow-url-include
    1 f2 R  i5 ^+ H$ A* W9 b
  824. allow_url_include = Off
    ! k7 C8 v, V( p  [0 _. c

  825. 5 H* Q, |" z  E0 c8 s
  826. ; Define the anonymous ftp password (your email address). PHP's default setting; ~: I% ]6 u7 J' {4 k
  827. ; for this is empty.$ C' |4 l# s! k2 C/ x# S4 }4 j% c
  828. ; http://php.net/from" H: v8 w& z9 ^' D, d" x
  829. ;from="john@doe.com"
    5 y  @+ b; G6 r1 k; A5 W

  830. 1 n6 e" L4 b) ]& \% M& ^
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    ( ]$ t) g3 ?  k) M/ |
  832. ; http://php.net/user-agent
    # t9 e# j5 f/ L2 W8 ?. N
  833. ;user_agent="PHP"! |# V" f) E$ B+ `

  834. ! G0 @3 {* B& `7 l& q- B
  835. ; Default timeout for socket based streams (seconds)
    ) i0 g" ]. }/ O( W! M
  836. ; http://php.net/default-socket-timeout0 z8 h& p" K/ C. T# ?/ L
  837. default_socket_timeout = 605 a& w& M$ F8 W  o3 G

  838. ' _: y2 Q/ g1 a; l- n3 j9 Q8 o6 F
  839. ; If your scripts have to deal with files from Macintosh systems,
    # U5 _% o" [* _! r* b
  840. ; or you are running on a Mac and need to deal with files from' q) d, P& X( T! M" i8 e
  841. ; unix or win32 systems, setting this flag will cause PHP to8 O, s- h% C0 }; \6 S0 v0 K
  842. ; automatically detect the EOL character in those files so that% d: [5 Z2 k0 ^/ Z$ {
  843. ; fgets() and file() will work regardless of the source of the file.
    1 l% o' S1 u9 n( o1 t- X: A; w
  844. ; http://php.net/auto-detect-line-endings2 V- |+ j) \9 d/ N# A4 D/ _
  845. ;auto_detect_line_endings = Off
    & w/ }$ C5 W/ q' b6 P" N) G

  846. ' o/ D2 S; i7 Z! W# ^1 T
  847. ;;;;;;;;;;;;;;;;;;;;;;
    ' o! i6 Y+ ^- u( d
  848. ; Dynamic Extensions ;
    3 `. n8 `' v* E1 ?: ~
  849. ;;;;;;;;;;;;;;;;;;;;;;
    " v4 c% g7 W) c" ~$ m$ O+ Q
  850. 1 Y  i$ n$ Q1 X8 f0 U; p  w0 K
  851. ; If you wish to have an extension loaded automatically, use the following6 z% R! e( R( Z9 K! p
  852. ; syntax:. Y( Q! q: u$ H+ A# f1 k- [7 j8 Y
  853. ;$ b- N  ~, o# [! O- x+ i7 ~) E
  854. ;   extension=modulename.extension  Z  E" O9 [3 C+ w+ b! c
  855. ;, Y* o5 Z  q. M7 `+ R" k
  856. ; For example, on Windows:
    8 F) w1 x! D& D( ?: T1 _
  857. ;
    $ b3 Y. s& _" S; i
  858. ;   extension=msql.dll# }4 v; S3 N, O% U3 P! Z
  859. ;! T  G9 A2 q! t9 s5 J
  860. ; ... or under UNIX:% p! ~2 E- _& H. h' v
  861. ;; d3 s+ b8 S" [# i* G) b: ?0 y
  862. ;   extension=msql.so
    / \+ y! O) @! q8 c8 d; V
  863. ;3 H0 ~) o% S; k5 B% l2 l. m
  864. ; ... or with a path:: f9 ^7 w4 q$ q
  865. ;- V6 _  s7 R+ W! s) F
  866. ;   extension=/path/to/extension/msql.so- g! U+ a. x) [; ^
  867. ;8 M1 U8 J% l1 L; ?( m/ e
  868. ; If you only provide the name of the extension, PHP will look for it in its6 L4 v  T! L3 \& J5 f
  869. ; default extension directory.
    + P7 U! M$ J) A1 l) ]
  870. ;+ g( ~; y6 C, I
  871. ; Windows Extensions, E- i5 W$ p8 Z9 ~! n  i! A! D7 @/ N/ A+ ~
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    ; t4 L; `  k0 K+ l" J; K3 H
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    ! h: J! P2 L6 F
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    - s- q! x/ A$ x$ ^. F* u; L
  875. ; Be sure to appropriately set the extension_dir directive.
    . r7 z7 i8 L5 y/ V4 I% L/ k
  876. ;0 \- u& T. p; ^& r( v" d
  877. ;extension=php_bz2.dll0 q7 }! ]' T8 B) O! U9 \0 S% ^' R
  878. ;extension=php_curl.dll
    : ^+ `# g7 i6 k4 x+ K8 Z$ g, }: W
  879. ;extension=php_fileinfo.dll
    * M# Q+ @0 o" `1 v8 K; q) U! U
  880. ;extension=php_ftp.dll* Z8 o* `3 H6 i* t7 h$ X% P
  881. ;extension=php_gd2.dll
    - T9 o; w+ R% y; _6 [
  882. ;extension=php_gettext.dll
    9 P/ [; k. S7 i
  883. ;extension=php_gmp.dll
    " X* B+ c3 K: G) |8 p6 d$ Q9 K: x( x
  884. ;extension=php_intl.dll9 Q; d  y  u6 J# k+ k  [8 m
  885. ;extension=php_imap.dll
    ! Z# E5 q% b* |! G  \6 b
  886. ;extension=php_interbase.dll% x# J2 l  \1 r+ n" }
  887. ;extension=php_ldap.dll
    , ?0 @. V+ Z7 X& k
  888. ;extension=php_mbstring.dll
    1 w1 S% q  w. [1 O. t5 w0 m
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    - O& m, g2 W9 G8 s: k
  890. ;extension=php_mysqli.dll
    2 b! L# j. p8 R+ \& N
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client# j' u+ Q. q: I" N6 ~
  892. ;extension=php_openssl.dll' a* S" j% H/ g3 H7 \+ O0 o
  893. ;extension=php_pdo_firebird.dll
    ' k* \% H7 h( k2 j
  894. ;extension=php_pdo_mysql.dll( d  J- y4 p+ u% }
  895. ;extension=php_pdo_oci.dll7 n) X$ r8 L/ O# t4 {" H* t
  896. ;extension=php_pdo_odbc.dll4 P  ]4 ]' \. U7 q# r9 E1 |* b$ Y
  897. ;extension=php_pdo_pgsql.dll
    2 P. |, k# i# W/ M
  898. ;extension=php_pdo_sqlite.dll
    2 n* G* F6 V' ?9 ]( n3 A
  899. ;extension=php_pgsql.dll) _- W  k: B7 V8 y$ Y9 d# }8 R9 G4 B2 [
  900. ;extension=php_shmop.dll% I  q% q7 o3 }( J5 }9 }
  901. * n: U: x' K% K+ b/ i
  902. ; The MIBS data available in the PHP distribution must be installed.
    ; K% j6 T. H' L+ a2 v! g
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    4 f! Z& N# C; ]" \# ^
  904. ;extension=php_snmp.dll
    % w! S6 j9 A  f9 g/ P! S& [

  905. 6 C* h/ l5 w) n6 o: m
  906. ;extension=php_soap.dll
    ' n+ z' d# e+ Q2 T
  907. ;extension=php_sockets.dll4 e# [; @# p2 s% R) s; k7 h
  908. ;extension=php_sqlite3.dll8 `+ Q2 e; J& {9 k& N+ G  l
  909. ;extension=php_tidy.dll: L: J, d$ h5 p% _+ N" G
  910. ;extension=php_xmlrpc.dll0 m/ q! O; s- S8 A% u2 s8 \  x
  911. ;extension=php_xsl.dll/ C. o; K$ r/ |6 }1 h6 z" D; ?
  912. ; I8 p4 ?. A1 |" |, h6 a; D
  913. ;;;;;;;;;;;;;;;;;;;4 p) I7 o! u3 v% X. ^; B' z
  914. ; Module Settings ;" h( g! y" L- F1 l9 j
  915. ;;;;;;;;;;;;;;;;;;;% E* D8 o4 g$ }& W5 e, k( x
  916. # ?  j; d9 c1 D) m, H  k) s
  917. [CLI Server]: z1 P. ^1 y  R6 o. v
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output., R8 q$ B- F8 v& A" b
  919. cli_server.color = On
    - N) d4 z# v0 `! t2 J' l3 s% y6 g6 d
  920. * y# W6 H; X4 a, l
  921. [Date]
    " X( u8 r/ V( v
  922. ; Defines the default timezone used by the date functions
    0 h1 o/ h( U- w3 `
  923. ; http://php.net/date.timezone5 W: [! W5 X5 N, i, y
  924. date.timezone = PRC
    4 w# ?7 s# g& O. V' ^6 [1 R. j/ m
  925. 5 l0 Z! o0 J# ^/ t" E0 }+ q
  926. ; http://php.net/date.default-latitude
    ; G! w6 U& D8 X
  927. ;date.default_latitude = 31.7667
    7 ^+ b7 z7 t) y, ?4 a/ I0 M2 J3 `
  928. " E* u( o# Z8 L  b! B9 D# W! J
  929. ; http://php.net/date.default-longitude% Y8 Y. T5 g" ]  M! u2 V" I: r
  930. ;date.default_longitude = 35.2333; @# Q! {/ Y* d; ~* x0 J
  931. % _9 S) Z% [! L8 N
  932. ; http://php.net/date.sunrise-zenith
    : K) e9 b8 B) W8 ^* B5 b
  933. ;date.sunrise_zenith = 90.583333
    ' u2 d& v3 d/ x0 ~% L0 u

  934. 4 g# b" @) i  @, P6 }5 d- i
  935. ; http://php.net/date.sunset-zenith( U" _' m) Q0 X6 M4 @
  936. ;date.sunset_zenith = 90.583333
    0 ?, R! {- A3 W/ c' E3 m, e3 J% C9 B
  937. 9 t0 o2 Q; `! c4 E6 E. W
  938. [filter]4 E; `" o/ \1 N+ X& Q) `+ X
  939. ; http://php.net/filter.default
    # c+ k4 A  O. O' f
  940. ;filter.default = unsafe_raw- w2 r; e: |* r. j
  941. 6 t% {& ?& l7 s" T4 a' F9 f
  942. ; http://php.net/filter.default-flags
    , h+ ^' M( R4 Q4 w4 w* w% H
  943. ;filter.default_flags =# v. l5 n( ^" V4 r2 q. U

  944. : s, s# v! @- Y3 D6 h8 h
  945. [iconv]% b% N- M1 f% m& d3 l0 O: \% ?
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    # @: L, f: I/ G, b
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.7 p% e" G- F) Y2 u; g' b4 x! u, I5 n
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding8 ]- B- M5 Y- g6 e( P2 m. R* J
  949. ;iconv.input_encoding =
    2 f# X* y% [, M% {: }/ }
  950. 8 K: b7 v" W0 g% v7 i5 P, f
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead., A* B# ~  o# {; N# _7 z
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ) N, d' J2 d( X5 C2 V& U2 D
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    1 V4 f7 h7 M2 {3 d
  954. ;iconv.internal_encoding =, M& C; E; z9 |3 p% H+ a/ @. t
  955.   p7 ~9 e5 c0 F% w
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.6 ~3 v' i* p/ _
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used./ V) z6 k0 D# O: @7 i
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    1 D4 F( U+ M1 E
  959. ; To use an output encoding conversion, iconv's output handler must be set# G, \9 T7 X+ \4 f, o
  960. ; otherwise output encoding conversion cannot be performed.
    * W! T) [* f/ n) C+ x
  961. ;iconv.output_encoding =% |. |' B/ c2 H6 u* u) z. s  G

  962. ; y8 X. \1 ~5 D
  963. [intl]8 U2 [0 e  s3 f* w+ s
  964. ;intl.default_locale =
    8 }: S' M5 h2 ]7 M* i+ K  g
  965. ; This directive allows you to produce PHP errors when some error, ~3 y2 F9 J9 m/ S2 r6 ~
  966. ; happens within intl functions. The value is the level of the error produced.8 o* Z" I5 `9 x! F7 Y) _
  967. ; Default is 0, which does not produce any errors./ ?+ i" e6 O. x7 ]& g4 F5 T; \+ }8 [
  968. ;intl.error_level = E_WARNING
    : A4 f1 |' T+ |0 i
  969. ;intl.use_exceptions = 0
    " @) Y7 t+ L* |. d. j
  970. : {4 d' @* V* j# t$ n9 g
  971. [sqlite3]
    * z1 T' ?+ h$ m) Y
  972. ;sqlite3.extension_dir =
    . V* i; L% O7 W" R1 X
  973. ! }/ p' ^8 U3 J' h
  974. [Pcre]
    + l9 V  o, j" n8 w7 w8 ~
  975. ;PCRE library backtracking limit.! s% {* @* s3 i4 [! X5 |
  976. ; http://php.net/pcre.backtrack-limit: t; E/ Y& {$ b' T& V$ ^
  977. ;pcre.backtrack_limit=100000
    * [% Y7 T  [0 @5 q
  978. 9 L* z" a  I, @$ {
  979. ;PCRE library recursion limit./ D2 w8 Z8 B% q0 d
  980. ;Please note that if you set this value to a high number you may consume all! a" y' E5 {6 N
  981. ;the available process stack and eventually crash PHP (due to reaching the! O/ y$ y# O7 m, o8 e
  982. ;stack size limit imposed by the Operating System).
    / R+ r. Y* G, c/ p; D8 w# h; j0 e
  983. ; http://php.net/pcre.recursion-limit8 n4 [( F# q8 S# X( e6 a- s
  984. ;pcre.recursion_limit=100000
    4 H2 T2 \$ w, l# i

  985. : j5 y( M/ [, V' |1 T
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    : e' I0 u. Q3 {" ^
  987. ;library to be compiled with JIT support.
    - T2 I$ B1 m4 t6 r# W% S) ~
  988. ;pcre.jit=1
    : Z. B8 d  H0 a+ J/ X

  989. 9 r1 c, x9 A1 O' I; F) M
  990. [Pdo]: {" V" j( ^8 Y) r0 x$ z' r6 S2 I
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    2 }5 K9 |( @5 b6 i, b
  992. ; http://php.net/pdo-odbc.connection-pooling
    3 T* G* y8 u2 K: H5 {# h7 j
  993. ;pdo_odbc.connection_pooling=strict0 w8 B/ D9 a( H( R0 W7 ]
  994. , q7 k8 c+ D# s% F+ f5 Z
  995. ;pdo_odbc.db2_instance_name
    ' w  O/ H) \3 w1 H" d& }
  996. : C2 U6 G* Z# O, ^' a  m
  997. [Pdo_mysql]5 P5 P! y: v: y4 T( C4 E; r
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache) h+ X( }) \# H5 c/ \9 J8 F
  999. ; http://php.net/pdo_mysql.cache_size
    & q: M0 q, n- I! E, e; z6 i4 k
  1000. pdo_mysql.cache_size = 2000
    1 V7 e2 J1 d* W+ A

  1001. # p  N9 \; t; I5 {$ z, _' z
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    # f0 y& `4 i. _6 [( f" z
  1003. ; MySQL defaults.
    : Y! S8 T& }" v0 ]8 _
  1004. ; http://php.net/pdo_mysql.default-socket# n0 W: K" \& q
  1005. pdo_mysql.default_socket=' F3 t6 v8 ~& X2 x$ O  X
  1006. + E, v; }& |- p- j; }! k
  1007. [Phar]6 X% N3 }- `; L) X
  1008. ; http://php.net/phar.readonly
      i% u3 ~( F% P! A7 O4 C
  1009. ;phar.readonly = On
    3 u) A0 h4 d+ U

  1010. # H: |, y& ~8 x3 F9 S
  1011. ; http://php.net/phar.require-hash
    $ f, E: M/ i# a8 q7 Z. j0 y
  1012. ;phar.require_hash = On
    , K- H' p  m6 z* R

  1013. + \4 a5 d5 o: j1 J4 c: H! F
  1014. ;phar.cache_list =
      B. b' T/ F1 O# A1 n

  1015. ) ?3 V) |4 P. Y+ j. _
  1016. [mail function]2 ?3 K, Y7 K  Q' ]
  1017. ; For Win32 only.0 N5 t& Q6 O" B- c: i/ F
  1018. ; http://php.net/smtp% ?) S' r( m0 H) y3 h4 y
  1019. SMTP = localhost
    1 j' G5 P  `; y# C8 O
  1020. ; http://php.net/smtp-port
    6 \$ e! W+ \. W6 O
  1021. smtp_port = 25
    ! P" \" F2 p) ?
  1022. 8 ~. m1 s, `5 J3 l4 T
  1023. ; For Win32 only.8 W& B4 b4 W1 k
  1024. ; http://php.net/sendmail-from
    " R1 d& {* N2 ?
  1025. ;sendmail_from = me@example.com
    # |; d5 L4 j# f

  1026. . ~" {- @! R4 r1 T+ o: A( E8 c
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i")./ o) j% F# `2 Z; Q5 h- ~% J
  1028. ; http://php.net/sendmail-path
    3 Q$ u( j; W0 t0 b' Z
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    , f: O  Z% m5 Z) y
  1030. & @3 z8 `% m4 F; W7 r6 z5 e0 Z
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    3 [: k/ g6 n% i+ \6 {2 L
  1032. ; to the sendmail binary. These parameters will always replace the value of
    8 b" r2 _' s4 e) n  v: B) N
  1033. ; the 5th parameter to mail().5 a$ k6 L$ o+ r  a
  1034. ;mail.force_extra_parameters =
    6 l- U( [, \2 U. I6 X- m3 J

  1035. ( f& t( m7 Q- R' O6 e: x
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename" I' C% v# L: r. o
  1037. mail.add_x_header = On
    7 f0 J/ f7 e+ |1 A8 B
  1038. 8 e# n3 ]5 V3 `! z# X
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    " k3 R5 r1 {( ?( k: V
  1040. ; the full path of the script, line number, To address and headers.
    % T/ P5 \" e3 B. w5 Y
  1041. ;mail.log =* n% L" V0 L$ p
  1042. ; Log mail to syslog (Event Log on Windows).
    " f5 x$ p4 _" H  h8 I" b
  1043. ;mail.log = syslog8 N0 N7 ?9 s" Z' X: Z

  1044. 7 g5 w* f# e- x( u0 }- R+ k$ f
  1045. [SQL]
    5 g0 o; Y. ^" ^, J. F
  1046. ; http://php.net/sql.safe-mode: X6 t- j# b  O: V) L  P+ B" b
  1047. sql.safe_mode = Off
    & R/ k- L% D, m. T0 U! k  M5 E3 l6 s8 }
  1048. - q4 R$ S4 {3 ^5 p% z5 q3 O
  1049. [ODBC]
    . w3 f# W: Z, R$ H
  1050. ; http://php.net/odbc.default-db7 g5 @7 i5 Z! h
  1051. ;odbc.default_db    =  Not yet implemented
    ! K( U( a( u* j6 {
  1052. . \/ }1 j) Y, z3 w
  1053. ; http://php.net/odbc.default-user1 |! V5 i1 s, U# ~7 u
  1054. ;odbc.default_user  =  Not yet implemented4 r; l" b6 o+ U: W5 H$ Z' S; E

  1055. ' {1 g' }$ L# {4 r2 i% y$ U/ Z
  1056. ; http://php.net/odbc.default-pw% c- ^" I9 ^. y8 D
  1057. ;odbc.default_pw    =  Not yet implemented
    $ g0 E# Z7 X/ l$ M! p1 h2 Z
  1058. ( I8 f# x: L/ _) i
  1059. ; Controls the ODBC cursor model.- c# S" A$ Z& y
  1060. ; Default: SQL_CURSOR_STATIC (default).
    ( e( g& k2 {1 \
  1061. ;odbc.default_cursortype: |% J  U3 l. o# X' G
  1062. 8 b1 J% _0 m# \0 \; b. }0 E
  1063. ; Allow or prevent persistent links.
    6 v' t- A- ]4 W: N; d- i
  1064. ; http://php.net/odbc.allow-persistent
    / M; `+ L% O4 d1 H
  1065. odbc.allow_persistent = On9 t: r' ?/ e0 f) w5 G
  1066.   D+ r8 L, G# a5 c
  1067. ; Check that a connection is still valid before reuse.1 B6 j5 J3 o, ~# H
  1068. ; http://php.net/odbc.check-persistent
    . \; t  x$ M- K. y8 F
  1069. odbc.check_persistent = On3 h$ ^4 p' S$ j$ v$ n. c3 p

  1070. 6 b* b) F( s% p+ q3 s+ Z
  1071. ; Maximum number of persistent links.  -1 means no limit.9 Q4 s" m5 p2 }7 }  W
  1072. ; http://php.net/odbc.max-persistent. Z3 Q# z, K! D0 W
  1073. odbc.max_persistent = -1
    & O9 c9 N' U+ w3 V7 F5 h3 P$ K  S

  1074.   |5 S, \% Y9 f0 P
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.5 i! b& R) d$ o! C* l+ D% R
  1076. ; http://php.net/odbc.max-links) o  H" _! a; B  q: F" m2 X2 J
  1077. odbc.max_links = -1
    7 S* [# S7 c6 j" {8 m

  1078. & k+ J: {: |( t5 H5 [
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means9 G) x9 v5 R" |, t3 a
  1080. ; passthru.$ X' U: g. H, g, ?& W
  1081. ; http://php.net/odbc.defaultlrl
    2 L8 m* x6 _/ c$ e
  1082. odbc.defaultlrl = 4096  }% }% `1 h6 z9 O$ ]" a! I
  1083. : `: ^) e7 X+ ~+ `2 i9 q
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    , ~$ K( w! e& T3 [& u# |5 ^
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    7 ?2 `" U3 P1 q
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode2 a4 e( w3 x3 L- Z( g5 `, i
  1087. ; http://php.net/odbc.defaultbinmode1 t( J/ S0 E9 Q! c& o
  1088. odbc.defaultbinmode = 1
    * Z+ c0 u( h$ M# f  r0 N

  1089. 8 _( H- `5 v5 n! a
  1090. ;birdstep.max_links = -1
    " R: D' {% r5 N4 z4 H

  1091. / O. d" c  i, y7 ^4 w$ v
  1092. [Interbase]
    $ G: A4 W6 i! b
  1093. ; Allow or prevent persistent links.
    5 s3 T/ Y( r: q
  1094. ibase.allow_persistent = 10 C, k, i9 J9 ]  M
  1095. ! j$ k- B8 t* f
  1096. ; Maximum number of persistent links.  -1 means no limit.+ ?% |$ h% v. Y
  1097. ibase.max_persistent = -1
    & `# @) T7 _  M$ U; d+ c. G' G
  1098. 6 D, D9 V+ x8 J) ^
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 L! L) j. E8 d1 {  l* L7 a  N
  1100. ibase.max_links = -1
    * n( b8 Z3 F9 @: `0 S

  1101. % F: ?6 X7 Z& i9 \2 J5 R  R
  1102. ; Default database name for ibase_connect().' v  f1 S' a+ R' G1 u3 k
  1103. ;ibase.default_db =
    ' ?" e* \! s& u" R" ^5 u& C1 P

  1104. " Y6 y9 B+ G1 C) @( P) Q6 B# n
  1105. ; Default username for ibase_connect().- l: E8 B* G7 e( a) m( w
  1106. ;ibase.default_user =- F& ^" e) ~* Q
  1107. . F4 X6 e7 R7 o! }
  1108. ; Default password for ibase_connect().0 a/ D  ]% x+ L/ s2 s
  1109. ;ibase.default_password =
    2 P' C% y( F4 |8 ]

  1110. ! R2 {! Y" w& Q5 I2 O
  1111. ; Default charset for ibase_connect().$ Y/ U1 W2 g- d- e
  1112. ;ibase.default_charset =
    ; f8 H3 X/ H" g8 n( ]
  1113. " I+ `$ O$ m, ], h* i1 m- c( u- e
  1114. ; Default timestamp format.' b0 y8 F- c/ l8 O& W+ c4 u* c
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"! G* g/ Y% S1 J: I3 e
  1116. 6 s2 j+ E  y5 ~2 P
  1117. ; Default date format.
    7 f  x$ ?* H& R: t" {
  1118. ibase.dateformat = "%Y-%m-%d"
    7 J8 ]2 O$ D5 H$ }0 Y

  1119. 8 [! K- R0 O: E4 k9 a0 D# I
  1120. ; Default time format., @  {4 D7 c9 Z5 u# q
  1121. ibase.timeformat = "%H:%M:%S"
    % s( d8 V; b8 `2 d
  1122. # N5 I: j' W- L  g7 V& C
  1123. [MySQLi]' d% z5 c- s3 i/ r2 t; Q: f& ]

  1124. 4 h. r0 c/ b. D- J0 H
  1125. ; Maximum number of persistent links.  -1 means no limit.; c0 W7 Q! R: \5 H
  1126. ; http://php.net/mysqli.max-persistent% k  E" Z% v! J" q+ W8 ?) X, `0 A
  1127. mysqli.max_persistent = -1' I) l% ~1 a4 v9 h$ ]% P4 W

  1128. ! b+ H  ]4 g; w' S
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ' v5 _# a- {3 c8 _$ ]
  1130. ; http://php.net/mysqli.allow_local_infile
    , v6 I9 M: c" s. T+ |# m
  1131. ;mysqli.allow_local_infile = On
    5 ]9 Y& K# X: p
  1132. * h6 f+ `3 U: ~5 V
  1133. ; Allow or prevent persistent links.
    9 W# G0 x: l; A6 w1 |
  1134. ; http://php.net/mysqli.allow-persistent
    / k9 R* G+ Y! h' |9 l
  1135. mysqli.allow_persistent = On- X% j* e5 A! E( G: A1 f
  1136. 8 K0 A/ {" `. N2 j
  1137. ; Maximum number of links.  -1 means no limit.
    + }) I( S0 T# d4 D
  1138. ; http://php.net/mysqli.max-links2 e; ~+ I" a/ [: Q; _+ u
  1139. mysqli.max_links = -1
    $ c. {- f7 n8 z0 V" z

  1140. 4 x- |/ d# k& T+ [
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache' i* l0 F9 u: ~6 F
  1142. ; http://php.net/mysqli.cache_size
    - h) R9 r$ F  z3 P
  1143. mysqli.cache_size = 20001 |4 n& g- A9 |6 Y9 V3 n% D# n

  1144. $ L/ Q+ j6 q  _- Q4 o7 z, J5 _
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    4 M/ ^4 h% D  H: o
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the2 H1 i) A0 \7 ^0 Y  z/ a
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look, r  g) ?# z8 ~( C4 v6 L# i2 `  ?
  1148. ; at MYSQL_PORT.
    8 M5 K. [. Y1 m9 y$ c1 |
  1149. ; http://php.net/mysqli.default-port
    5 R3 E0 e4 I1 L7 I6 h; V+ Z
  1150. mysqli.default_port = 3306
    ( I) P' `; u! m1 Z+ z9 ]
  1151. 2 l/ U- o5 `0 U. c0 o2 L
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in& }$ v% R. y7 D% v& r8 u. Z
  1153. ; MySQL defaults.! B! i) C5 P9 Q$ W3 F
  1154. ; http://php.net/mysqli.default-socket/ e6 X5 C0 s  P$ r, d4 ~* e
  1155. mysqli.default_socket =& U  ]) P0 L0 ~- {# R0 ?1 W  _

  1156. * E8 J2 s$ u2 s
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).& T5 l/ ~- Y' x& K9 p6 e4 V9 P0 F
  1158. ; http://php.net/mysqli.default-host
    0 ?* m5 r/ }; d/ Z
  1159. mysqli.default_host =
    - B9 ]( v8 H* Z
  1160. / [3 C/ O# ^6 D- J- _5 q( W# U' P% w0 v
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).4 D  e9 n: |1 @5 q' f3 X
  1162. ; http://php.net/mysqli.default-user: R" U/ G* J- y
  1163. mysqli.default_user =
    * A* ~5 N6 E9 I1 O
  1164. 8 s/ H' _' q6 ?' F
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    % S# B1 I6 X+ I7 U0 M* z. T& z
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    ' r0 l8 ]$ U# u7 ]0 g8 T; I" l
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    7 O) [/ b$ l* w: t5 B# _
  1168. ; and reveal this password!  And of course, any users with read access to this9 r6 X' ]8 b! l; [% b. W& C+ {
  1169. ; file will be able to reveal the password as well.* u4 N1 q, [. ^" i4 |+ d) ?
  1170. ; http://php.net/mysqli.default-pw3 ?, {+ |) r" u" p2 O9 l, \
  1171. mysqli.default_pw =" J2 m  P3 S4 ^# b+ ]1 c% n7 j
  1172. 6 R) T/ b9 |3 e7 K  O7 ^
  1173. ; Allow or prevent reconnect
    ' j' W) O* n% U6 R: k! @
  1174. mysqli.reconnect = Off
    6 H3 r8 h1 ?; T: A

  1175. ) z  _  q+ X% @3 ]
  1176. [mysqlnd]3 A" a: c  k: J5 f& A& p& M$ x
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    , H9 H+ l9 a$ p& \
  1178. ; used to tune and monitor MySQL operations.# q3 e" Q7 s6 p
  1179. ; http://php.net/mysqlnd.collect_statistics; ?! V' ?7 x3 a4 e
  1180. mysqlnd.collect_statistics = On4 U5 ~/ i. e. i; ]+ h
  1181. & y4 X5 d5 Y3 _- f7 n; @
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be+ F1 \* K9 O6 ^
  1183. ; used to tune and monitor MySQL operations.
    8 a) _' Z8 m: F& H2 g# d
  1184. ; http://php.net/mysqlnd.collect_memory_statistics: I0 R/ Z% s6 j6 A
  1185. mysqlnd.collect_memory_statistics = Off
    ) B  B7 o) G. y" T* l* q1 E. |
  1186. 0 D  D, G9 J! T
  1187. ; Records communication from all extensions using mysqlnd to the specified log( O% e! Y9 X9 \( h
  1188. ; file.
    * H* y- D( B' y( D. k
  1189. ; http://php.net/mysqlnd.debug
    ) Y1 h. L6 q. m) J8 H, [7 _
  1190. ;mysqlnd.debug =
    2 [9 _/ d+ P' c2 n1 n% M& [7 X

  1191. ) Z; l' x0 V: l) H
  1192. ; Defines which queries will be logged.* V9 G4 R8 @0 G& m! ?2 F2 ]6 S, {
  1193. ; http://php.net/mysqlnd.log_mask2 }+ w/ n5 F9 h$ P3 t
  1194. ;mysqlnd.log_mask = 0
    / i, U' L- N. d3 ?
  1195. + `3 U4 Z4 X' _! S0 |/ q
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    6 [; J& I# r: S, `
  1197. ; http://php.net/mysqlnd.mempool_default_size9 A# s3 n+ ^4 N% D9 P
  1198. ;mysqlnd.mempool_default_size = 16000- j4 E& h6 B, p2 X0 E& D; N
  1199. 6 w/ X( V1 y0 {7 m! S+ }: T3 i
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    2 ~4 ]7 z3 o% p  n5 e: _2 i
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
      s. a! m/ k$ ~" R; S# {" }
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    : }3 ^2 E7 h$ [6 F2 s1 E

  1203. # T* F% k# `4 l0 p
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    & ?( t5 V  Y" _& J
  1205. ; bytes.
    ( f: h, L7 k3 ?
  1206. ; http://php.net/mysqlnd.net_read_buffer_size3 J8 Z- T. |* x4 W1 F8 j
  1207. ;mysqlnd.net_read_buffer_size = 32768
    1 w! G1 R, U! p- s# J/ J
  1208. ! m9 c0 p* _) v/ U1 S
  1209. ; Timeout for network requests in seconds.% M* l5 ~8 ]( l" T( k8 B
  1210. ; http://php.net/mysqlnd.net_read_timeout' Y3 i8 k9 `! ]) W( z1 a. h/ y
  1211. ;mysqlnd.net_read_timeout = 31536000
    " Y# Z! f& P; e* ]9 O$ E' x# h

  1212. " q8 K' x0 n7 J+ l: B( r3 `) D! P1 s
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA9 o" J4 F0 p9 ~- }# Y7 x
  1214. ; key.
    ; Q8 x& e! ?: w3 |* x$ f
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    9 {- I' F% D& [( d
  1216. ;mysqlnd.sha256_server_public_key =
    2 _9 ]7 L, Q  [/ o
  1217. 8 l* a; m. `: j: g/ K" |& M( M
  1218. [OCI8]- N) Y/ v$ H9 K( i, `
  1219. + N% N; q; C- q
  1220. ; Connection: Enables privileged connections using external) d& y9 ~' J8 b6 w4 A* F+ X
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    # C* g8 a# S, {* l6 T2 ~% [8 r% X
  1222. ; http://php.net/oci8.privileged-connect( L$ Q% C5 T: k+ @. m6 [7 [( ?# m
  1223. ;oci8.privileged_connect = Off
    2 X% s7 C: F/ Q0 P
  1224. . W8 l6 [& c/ P( H* f4 c0 E
  1225. ; Connection: The maximum number of persistent OCI8 connections per+ ~/ `* e. Q. ~4 H) S
  1226. ; process. Using -1 means no limit.* |1 I/ _" b, ]& `
  1227. ; http://php.net/oci8.max-persistent/ s3 Q& J" j' t
  1228. ;oci8.max_persistent = -1+ B2 x1 c- h" b+ f7 n
  1229. $ R( X, p0 \" s& F
  1230. ; Connection: The maximum number of seconds a process is allowed to
    " ~( h- E9 K! o
  1231. ; maintain an idle persistent connection. Using -1 means idle; x* W. w: W( Z- ]9 A/ ?% l3 d
  1232. ; persistent connections will be maintained forever.
    " }9 B3 K, z8 @5 n* l
  1233. ; http://php.net/oci8.persistent-timeout, `$ V5 x9 J  }8 p2 m# g
  1234. ;oci8.persistent_timeout = -1
    ; O. J& x8 w  _4 h

  1235. ; n' I) ^% W( i" p
  1236. ; Connection: The number of seconds that must pass before issuing a2 u# n9 N! |9 Z1 T: B8 X
  1237. ; ping during oci_pconnect() to check the connection validity. When+ g. c% d- P! q- T' a
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables( I& h2 G, c/ v& U. B1 [
  1239. ; pings completely.; o+ B/ @; d7 F
  1240. ; http://php.net/oci8.ping-interval
    " A* P& N+ x' {) y6 s& N; u
  1241. ;oci8.ping_interval = 60: i. m& Y3 j2 ~' h5 N( z' |2 h
  1242. # [7 V; L7 u3 v8 O( Z7 X3 A
  1243. ; Connection: Set this to a user chosen connection class to be used+ g) T1 R/ o" ^4 y* l" ^' P
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    3 ?5 Q  h4 d% n1 ^! X/ S- o
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to0 |) @+ [* k# P& y
  1246. ; the same string for all web servers running the same application,$ l( S+ w- y4 K7 r  L6 P
  1247. ; the database pool must be configured, and the connection string must
    . |6 V9 M5 s4 g9 a) s7 M1 G3 o( }
  1248. ; specify to use a pooled server.
    , @/ q* S, G8 T! H* A; L' H' y
  1249. ;oci8.connection_class =
    6 K- w" _0 \& `& P/ \+ H1 C: O& M

  1250. . n- [* x' i& _6 g
  1251. ; High Availability: Using On lets PHP receive Fast Application
    ! J) Z& I7 f: b& |5 S# r
  1252. ; Notification (FAN) events generated when a database node fails. The
    2 E; |9 }. C) n' @
  1253. ; database must also be configured to post FAN events.& W5 _7 L/ u9 S# {
  1254. ;oci8.events = Off7 c! q3 b% n6 d7 V$ i; i0 `0 V
  1255. ) p, L' U: r7 Z/ T& v% K" ?& y8 ?
  1256. ; Tuning: This option enables statement caching, and specifies how
    2 Y" `9 D( V8 i1 J: [- y
  1257. ; many statements to cache. Using 0 disables statement caching.: \0 K. C7 I: k% r
  1258. ; http://php.net/oci8.statement-cache-size% j: X1 P- W) C( N
  1259. ;oci8.statement_cache_size = 20
    4 T, q* B1 }& \+ k7 v7 n* |2 c, v
  1260. 1 T6 j2 U; p5 e# Q; F' y
  1261. ; Tuning: Enables statement prefetching and sets the default number of% p2 }$ A9 z# N- U, P
  1262. ; rows that will be fetched automatically after statement execution.7 _+ R9 B( \+ f9 u' l$ j
  1263. ; http://php.net/oci8.default-prefetch
    - W/ N. _* {$ c$ `  w) w7 V! n
  1264. ;oci8.default_prefetch = 100
    & }2 R! q2 t; L. l( R% b

  1265. 9 O" ?' Y% K5 V6 g4 Y; i- }4 e' P" z
  1266. ; Compatibility. Using On means oci_close() will not close
    7 e  z1 v! ^7 `4 B
  1267. ; oci_connect() and oci_new_connect() connections.  P- b6 G  w" r- [* z' R0 x5 e
  1268. ; http://php.net/oci8.old-oci-close-semantics
      S5 y! Q% u( c- O
  1269. ;oci8.old_oci_close_semantics = Off
      o# j; C4 B) L/ }" T
  1270. . R2 q  \! T4 z
  1271. [PostgreSQL]# N' s$ h6 n3 N, k
  1272. ; Allow or prevent persistent links.7 b. R( w( k# i2 r' m! I
  1273. ; http://php.net/pgsql.allow-persistent  K1 K7 L$ N1 e3 z( ^: x+ n! q& ?! a
  1274. pgsql.allow_persistent = On3 g( b8 q- l/ c% V
  1275. ' F0 t+ t! z4 ^; h& ]) J
  1276. ; Detect broken persistent links always with pg_pconnect().& W5 W& I/ _) ~8 S: m
  1277. ; Auto reset feature requires a little overheads.( J5 {2 D# K& ?8 e7 c
  1278. ; http://php.net/pgsql.auto-reset-persistent  R9 t  l# O4 o" o1 C
  1279. pgsql.auto_reset_persistent = Off8 c" s* J& s7 t

  1280. " U  r& t2 ~+ w! |. ?4 u# k
  1281. ; Maximum number of persistent links.  -1 means no limit.
    % G8 z9 c+ {. U4 e  t2 g  M
  1282. ; http://php.net/pgsql.max-persistent
    3 M1 {2 @: p* P- R$ {3 Y
  1283. pgsql.max_persistent = -1
    + x/ d9 L8 B  Q$ A- X2 C% R3 Z
  1284. 5 l8 u1 q9 x+ q% s; {8 l0 k
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ' l  B! W2 ^0 Q4 V) ~& L
  1286. ; http://php.net/pgsql.max-links) M5 E7 i- j6 w- h
  1287. pgsql.max_links = -1
    8 A' B) X! W9 Y5 p. P
  1288. : @# y6 e) r) g2 T% ~" T' \! a
  1289. ; Ignore PostgreSQL backends Notice message or not.+ L9 `& d8 k6 [. H. \
  1290. ; Notice message logging require a little overheads.+ Y& e" g% ^6 Y. b6 B
  1291. ; http://php.net/pgsql.ignore-notice3 K  ~. `; x5 {4 K0 f% ~
  1292. pgsql.ignore_notice = 0
    9 T9 L5 @; G  d$ C- }/ Y
  1293. 5 r1 U; h$ {1 h2 d4 a" s. X' V2 o3 c
  1294. ; Log PostgreSQL backends Notice message or not./ ?0 V/ C, K" ]2 c
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.' @( N. @$ K5 x+ \4 w4 L
  1296. ; http://php.net/pgsql.log-notice) B( F5 }& S+ e0 |: z5 \
  1297. pgsql.log_notice = 0
    . K: ]! P" @) V; ?- }# a4 R

  1298. / a. p: y( R- g# |7 z* M
  1299. [bcmath]5 P6 e6 _) V- v
  1300. ; Number of decimal digits for all bcmath functions.
    . ]5 x, F+ h$ t; H
  1301. ; http://php.net/bcmath.scale
    / d6 ^% ~9 h6 `3 D6 Y
  1302. bcmath.scale = 09 W6 o) u; i+ r" m8 z" l6 O

  1303. 6 F. B& k* |$ [6 Z' ~7 t+ ?" p
  1304. [browscap]
    2 p$ ]5 k: {2 N* `! X
  1305. ; http://php.net/browscap
    , n( b- T; S/ M3 v  s4 a5 J; v5 u
  1306. ;browscap = extra/browscap.ini
    # t* _* O2 O1 l: `6 v$ P
  1307. ( g3 X9 i( d  M! @2 v7 \
  1308. [Session]: _$ K% |8 o* z* [# B; o
  1309. ; Handler used to store/retrieve data.
    & w9 Z# T, V0 L+ J  l
  1310. ; http://php.net/session.save-handler) j; v( y- h9 A% W$ c% b8 I
  1311. session.save_handler = files
    & E0 ?) W3 f- v0 [0 z' q& \

  1312. # A2 n7 _' `$ H9 s# G
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    + y( ^+ c9 X& t+ O9 S% g3 a$ z
  1314. ; where data files are stored. Note: Windows users have to change this
    , T& y4 g, K6 u, @- E. D
  1315. ; variable in order to use PHP's session functions.
    9 B) t6 c/ g% x- m1 {) e
  1316. ;/ N# }" `. y2 r3 H* Y* c8 f
  1317. ; The path can be defined as:
    ( k2 t) Q2 }5 p0 d; A4 l3 \4 r' u
  1318. ;6 B* ?$ i# |0 t
  1319. ;     session.save_path = "N;/path", W! B& v5 s9 M, q( S
  1320. ;
    ; c( g$ m, b8 A* M: ?: U% w/ X
  1321. ; where N is an integer.  Instead of storing all the session files in- O; z" E4 _1 Z& U
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    # ]  `' d0 q) g- R
  1323. ; store the session data in those directories.  This is useful if5 A! ^, V  o1 i+ K! u5 L
  1324. ; your OS has problems with many files in one directory, and is
    & X: J) g4 e% f- E4 y. h
  1325. ; a more efficient layout for servers that handle many sessions.7 c" |& S! J7 O! f/ d
  1326. ;
    0 N1 m5 g4 c' O) D$ k
  1327. ; NOTE 1: PHP will not create this directory structure automatically.( U: e6 v& ?6 x
  1328. ;         You can use the script in the ext/session dir for that purpose.
    + d  k* r7 w- P
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    / q5 }- g" \8 S. I
  1330. ;         use subdirectories for session storage) E8 h) r2 G9 W  P1 Y
  1331. ;
    * S+ S4 X8 I) Z$ p5 @6 Z* ?1 A
  1332. ; The file storage module creates files using mode 600 by default.! h! C$ U: }2 A; u& }  O& T
  1333. ; You can change that by using, q. Y7 Q8 ~  l: n% R% `
  1334. ;3 q# B) t5 F. f/ f) ^
  1335. ;     session.save_path = "N;MODE;/path"! Y& j3 e' B# }; \( }
  1336. ;8 |# g$ P- H) k, l, \4 `- C
  1337. ; where MODE is the octal representation of the mode. Note that this
    " E  z: h" n6 ]
  1338. ; does not overwrite the process's umask." Q* N) n% u6 k$ F
  1339. ; http://php.net/session.save-path* `3 k: m# q' c9 {; [$ I( @* J
  1340. ;session.save_path = "/tmp"
    3 k7 s4 h3 x. D* B. W

  1341. % q6 T$ a! f  D: R8 y1 s
  1342. ; Whether to use strict session mode.
    : _! x4 k1 m7 _! g+ @
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    ' J' e6 f7 O3 F) b8 y3 _/ x5 o! t# Q
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects6 U$ ]1 [$ b3 Z; @
  1345. ; applications from session fixation via session adoption vulnerability. It is
    4 k4 |3 N! H  f3 x2 s1 Z5 J) `8 j
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.  A  i3 V  y$ ?8 d5 P
  1347. ; https://wiki.php.net/rfc/strict_sessions) R' [' {: F! M# ]
  1348. session.use_strict_mode = 0: ?- N2 j  y3 |
  1349. 8 e( Z$ R, q$ c! d, e+ F) b) R/ ]3 u
  1350. ; Whether to use cookies.( d2 R" S; h0 U* ~. _, B* |& t
  1351. ; http://php.net/session.use-cookies
    1 I% X! I" [# Y# v2 d. S
  1352. session.use_cookies = 1" K" x% u$ j* z9 [
  1353. 1 e( S/ x) l6 `- B0 g* I
  1354. ; http://php.net/session.cookie-secure2 B6 v# P5 p& S" z  D2 E0 J  ~0 f
  1355. ;session.cookie_secure =9 d5 S- y: Q( k7 V

  1356. ; o8 g1 f5 @3 O9 Y
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ; p# `7 ]( Y) x% [8 l
  1358. ; the session id. We encourage this operation as it's very helpful in combating- e7 p5 e  ?. P7 C
  1359. ; session hijacking when not specifying and managing your own session id. It is
    9 ^9 X' Y6 [1 L& `. ^# g& n
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.1 d1 {$ `$ j& n: P: J8 y
  1361. ; http://php.net/session.use-only-cookies
    0 P" Q2 q3 M4 I6 _
  1362. session.use_only_cookies = 1
    5 m* d& Q$ W# W
  1363.   N' F' m3 @6 J+ K
  1364. ; Name of the session (used as cookie name).4 E: T" Q8 g& a5 h$ W
  1365. ; http://php.net/session.name
    3 Z+ ^4 Z) n7 N4 ]# n( T1 Q
  1366. session.name = PHPSESSID
      j5 q$ F0 g1 ]9 e$ n+ H9 L

  1367. 8 a7 ~+ ]( c* S! b# ]" `( d
  1368. ; Initialize session on request startup.) |0 ?0 m* u0 N7 f* }
  1369. ; http://php.net/session.auto-start1 F3 A1 G" N" B$ I" @  n
  1370. session.auto_start = 0
    % G% V2 l  H2 L' P) }
  1371. / y! V3 h2 C; ~/ `
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted." s% D$ ?# ^/ f4 Y; [% Y
  1373. ; http://php.net/session.cookie-lifetime
    4 ?# Q# E1 Q5 d) f3 `+ T4 M
  1374. session.cookie_lifetime = 01 j- d- z) V! l# Y9 v
  1375. . O/ k/ B4 A; V, t( F6 F
  1376. ; The path for which the cookie is valid.
    , G$ x3 a9 u. T2 X/ n. q5 D  ~7 y
  1377. ; http://php.net/session.cookie-path
    ) G" B4 y2 Y4 Z* _0 ]! o
  1378. session.cookie_path = /
    . H/ l$ _7 q% j6 r0 X# @

  1379. 9 G. R. Y; X, Y
  1380. ; The domain for which the cookie is valid.: ]* q/ z+ d1 j+ u
  1381. ; http://php.net/session.cookie-domain
    2 X" M: q, g+ F$ c7 s5 {  \9 p
  1382. session.cookie_domain =. I. i" O  j- [9 D
  1383. / Y# y. r8 B& E1 _* V
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    . j& E  n' w9 r: }! h
  1385. ; http://php.net/session.cookie-httponly
    & D0 g" Y+ d: |0 \
  1386. session.cookie_httponly =- t5 @+ u3 ?; H. @0 S

  1387. 6 e& B- D# @: G7 X% h# @7 W
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ( s4 q: s" w4 E# D) P" S$ n
  1389. ; http://php.net/session.serialize-handler0 _1 Z/ Z- S' k7 H$ e. I1 e# A# J
  1390. session.serialize_handler = php
    " ?6 G' |. t0 b$ H0 J% P2 t

  1391. # S4 t6 J/ V+ i6 H" i" A; d9 U2 B5 f
  1392. ; Defines the probability that the 'garbage collection' process is started
    0 O# @4 l9 Q) I/ ]2 V
  1393. ; on every session initialization. The probability is calculated by using
    % D6 n# V. k% w7 S
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator( x6 m+ }9 W2 L+ v% @1 R  z
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ! Q3 a/ K0 H- ~5 L+ W7 O9 R: b
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    5 p: r% T+ B! |  K5 h
  1397. ; the gc will run on any give request.2 V- \6 |) }3 v; @) S. q
  1398. ; Default Value: 16 ~7 {7 N: A4 _4 C
  1399. ; Development Value: 1; S% E0 X  Q' z; K8 t* Q$ o9 \
  1400. ; Production Value: 15 F, O2 k$ g5 `9 |6 _% o) \1 Q/ U% e
  1401. ; http://php.net/session.gc-probability% i# ~: h) B: n7 E- ]/ ?  V
  1402. session.gc_probability = 18 S( k. ~9 B( ?( B/ ?

  1403. + I; x- r3 s  N3 r- U# `
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    8 C8 [8 N) q# H, S; {
  1405. ; session initialization. The probability is calculated by using the following equation:9 a+ c; W6 w8 }4 V' _% t4 E- H
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and0 i- C' e* W" r" \- h# [. z5 z
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    # N2 S/ e# B  ]5 p
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    8 k$ G+ w, {1 T
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    2 D$ ~! u+ c# e) `
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,- p9 _7 E. Z( V  j/ M
  1411. ; this is a more efficient approach.9 o8 \% J/ n) A1 Q! ~, b  G9 I
  1412. ; Default Value: 100; E6 C$ S4 o) j$ M' o' R0 V0 [
  1413. ; Development Value: 1000
    8 o+ b6 N) d, c# u/ B# Q
  1414. ; Production Value: 10009 H1 G( A; Q9 @+ k- }' M
  1415. ; http://php.net/session.gc-divisor
    ) J9 i9 N3 c" v, p, @
  1416. session.gc_divisor = 1000+ H( L2 h  B( a5 R3 E9 N

  1417. 6 P7 g- o  v; K8 j( {& B& O4 d
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    ' [0 C  G! f3 f) p
  1419. ; cleaned up by the garbage collection process.+ L" [0 X8 t5 b8 ^) U- }+ j4 W
  1420. ; http://php.net/session.gc-maxlifetime! I$ S+ P  @8 R0 i. v  \
  1421. session.gc_maxlifetime = 1440
    9 A- w& l- c& y: M; u' G( i4 K
  1422. - T! [' |# {: o& B7 S& \9 G
  1423. ; NOTE: If you are using the subdirectory option for storing session files/ t- a% n5 V3 E% x2 q  r0 f! X
  1424. ;       (see session.save_path above), then garbage collection does *not*. Q3 }8 K) r: B, }
  1425. ;       happen automatically.  You will need to do your own garbage/ |. N, y; z7 m# ^" w
  1426. ;       collection through a shell script, cron entry, or some other method.% ~  P* i( ?1 \* W1 ?/ J
  1427. ;       For example, the following script would is the equivalent of
    7 Q' v/ u, r. z( G6 y$ n6 [  z
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):+ _2 h" ]$ n# L6 p
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    1 |3 e4 S; Z7 E+ {& O, X6 F

  1430. 3 ^1 e' }4 q' }9 o6 P
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    * [  j# h6 D1 v+ o
  1432. ; HTTP_REFERER has to contain this substring for the session to be$ B! d9 N9 i) s" R" B
  1433. ; considered as valid.
    . ^9 K6 h% s: ~' N
  1434. ; http://php.net/session.referer-check  \7 @& O2 s5 o( Z8 C
  1435. session.referer_check =, ?  f' U5 b9 B

  1436. 2 I: V) H! o: }) L8 R/ R
  1437. ; How many bytes to read from the file.7 H3 U: Y8 K( ]( N+ s3 l' a
  1438. ; http://php.net/session.entropy-length; k9 f3 I  B2 M+ |* W6 E+ V2 n
  1439. ;session.entropy_length = 32
    % p7 F  j$ f+ @" t1 b

  1440. + \4 M8 i* n+ L2 @" B
  1441. ; Specified here to create the session id.
    . v1 U- S' d. m/ O1 D' s
  1442. ; http://php.net/session.entropy-file9 s+ U+ S2 |. g' t
  1443. ; Defaults to /dev/urandom. F7 T2 f( @* W2 W' _
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom3 w+ T8 h( ]; F9 f+ n! X' U
  1445. ; If neither are found at compile time, the default is no entropy file.
    % I1 L1 ^/ w) O( I
  1446. ; On windows, setting the entropy_length setting will activate the; r2 e) ~3 ?, z( X) l0 q
  1447. ; Windows random source (using the CryptoAPI)- d$ |) P/ ]% l, r9 [5 c
  1448. ;session.entropy_file = /dev/urandom* A% O: }$ Z, u) ^  G) }- O

  1449. $ z# d9 o5 ~! J  F
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    7 d5 j! r. k: n4 ~7 Z, ]6 T
  1451. ; or leave this empty to avoid sending anti-caching headers.
    ! [! ]# a" A- B% k* B# P
  1452. ; http://php.net/session.cache-limiter
    - Y, [# r% n/ T2 m* ^6 |
  1453. session.cache_limiter = nocache% f: V0 r7 p0 S( }8 v

  1454. 2 |  _/ {, w9 K5 ^
  1455. ; Document expires after n minutes.
      k4 F4 q! f, y
  1456. ; http://php.net/session.cache-expire5 i" R; t& Y7 w2 ?+ [& z. J
  1457. session.cache_expire = 1804 I& ^5 H0 f' e2 L

  1458. 2 U- [* H' Z: B, y# P6 F; u/ W
  1459. ; trans sid support is disabled by default.+ J) _- b# y5 q- R
  1460. ; Use of trans sid may risk your users' security.
    + ]5 x& Q9 Q" v0 D% v5 C
  1461. ; Use this option with caution.
    ' Z5 \  e# p- H
  1462. ; - User may send URL contains active session ID4 ?) o1 S/ u1 b' a. l
  1463. ;   to other person via. email/irc/etc.3 q' G9 Z. C  N- H! h6 N
  1464. ; - URL that contains active session ID may be stored* C6 d4 Z  K5 u4 Z5 z4 z# G
  1465. ;   in publicly accessible computer.
      R5 ]7 v" J9 Q/ D
  1466. ; - User may access your site with the same session ID1 Z$ L# p4 {# ^( D$ {
  1467. ;   always using URL stored in browser's history or bookmarks.
    0 n* z# `: c% N$ y" `: w  Z
  1468. ; http://php.net/session.use-trans-sid
    7 e: g$ f7 H* z
  1469. session.use_trans_sid = 0( w! H0 o- B( v4 j( W; n6 Z: J

  1470. + [# e. h; M+ [' z
  1471. ; Select a hash function for use in generating session ids.# V9 r2 `9 A0 k+ A+ _) B
  1472. ; Possible Values
    3 `+ l( I* I9 Z
  1473. ;   0  (MD5 128 bits)$ \3 f& _; B5 m  k9 j* Y
  1474. ;   1  (SHA-1 160 bits)' n4 ^" K6 M3 j; w
  1475. ; This option may also be set to the name of any hash function supported by/ l0 q+ Y) z! b: w
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()2 H/ ~( m8 a( |$ ?3 N3 E9 ~! A! z
  1477. ; function.5 y' `9 d  x6 H
  1478. ; http://php.net/session.hash-function
    # W  s8 \! U# d; Z7 w
  1479. session.hash_function = 07 Z6 i5 D1 u, ?; c4 s" b

  1480. , {: I! @$ {( O5 @
  1481. ; Define how many bits are stored in each character when converting) a: q+ x+ ?5 s! b9 J
  1482. ; the binary hash data to something readable.
    # ~- Y" R) h0 Z  {
  1483. ; Possible values:
    * F; Y! N4 l. R5 r( R
  1484. ;   4  (4 bits: 0-9, a-f)
    + S9 x# q5 n2 N
  1485. ;   5  (5 bits: 0-9, a-v)
    ' j4 X1 B3 {6 I: B4 `9 L" j  V
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    / ^7 p5 D6 s7 o0 d  }
  1487. ; Default Value: 4
    . o8 t( M7 L- c- ?+ f+ Z0 V1 H" b
  1488. ; Development Value: 5
    $ w5 X# V/ G' n  p: L. K4 Y
  1489. ; Production Value: 5
    1 a" e" t9 \4 q- N
  1490. ; http://php.net/session.hash-bits-per-character' I( ?/ f0 M: ~( B
  1491. session.hash_bits_per_character = 5* X2 g9 v2 b! _/ u: k

  1492. ) T! g6 _, U( A( M. @6 O
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.# ]" N# G2 K( W! v
  1494. ; form/fieldset are special; if you include them here, the rewriter will6 O: \$ Q3 A1 D  s
  1495. ; add a hidden <input> field with the info which is otherwise appended
    % ^( s& O$ T/ j! D$ V5 c% i
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
      N% e- d. h5 Q# Q" {
  1497. ; Note that all valid entries require a "=", even if no value follows.
    , {; E' b; ?' Q2 `
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    / G6 H3 D1 g1 u+ d
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"" E- w4 ]* Z: z5 r" l
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 |& K! T  ~; c
  1501. ; http://php.net/url-rewriter.tags
    ; f% ~. X! D6 p8 B/ R6 R7 P; B( j  R
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! ^7 K( M: {# u" v' o

  1503. - ^$ |0 O1 f& W# Q7 `' B) K3 D
  1504. ; Enable upload progress tracking in $_SESSION& S! e5 u) D; F* c5 B7 x' l  t
  1505. ; Default Value: On
    9 c$ ^8 f! b; B
  1506. ; Development Value: On0 H7 g# L( V8 u. R6 _
  1507. ; Production Value: On: C# X; _* L2 L2 H# i5 e4 C
  1508. ; http://php.net/session.upload-progress.enabled
    ! X% r4 T3 z7 {! V# \, S4 x
  1509. ;session.upload_progress.enabled = On( g9 J8 ]3 A* i5 y
  1510. % z2 t+ q5 x) v1 @
  1511. ; Cleanup the progress information as soon as all POST data has been read
    : W0 T% ?9 t9 D( Y( S/ g
  1512. ; (i.e. upload completed).
    5 v% R+ t: u* \! @9 |" U
  1513. ; Default Value: On, e! v& t$ N: o0 f. F3 |
  1514. ; Development Value: On
    ) J9 r% S. c: ]/ G, D1 h0 _( h
  1515. ; Production Value: On
    7 S/ `8 R) n' m; L
  1516. ; http://php.net/session.upload-progress.cleanup% b" w# A, p  ]% b
  1517. ;session.upload_progress.cleanup = On
    4 j# i/ @2 L  r+ Y9 Q* H

  1518. 7 d" b2 W6 M2 K8 m% _( I9 g) P
  1519. ; A prefix used for the upload progress key in $_SESSION7 o6 E" X' I: U9 @) c. M
  1520. ; Default Value: "upload_progress_"
    4 A0 }+ `9 y9 }6 g5 S
  1521. ; Development Value: "upload_progress_"0 ^' }) e% D# F) l- Q- |  X
  1522. ; Production Value: "upload_progress_"
    , L! f8 z! u) a2 f  L" e
  1523. ; http://php.net/session.upload-progress.prefix
    , `3 N( r. X- q& w
  1524. ;session.upload_progress.prefix = "upload_progress_"7 T& e" v2 [, Z! J( r
  1525. ; {0 @) A+ Y# k& y" _
  1526. ; The index name (concatenated with the prefix) in $_SESSION! q- Y9 Z5 r& j4 {
  1527. ; containing the upload progress information
    5 P: g0 F2 N( q' e
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"" j9 h' o! Y. c, i4 T+ |
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    8 o2 A: V/ z, S$ ^8 \# x: n
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"8 V. M' C( d7 i5 ~0 p
  1531. ; http://php.net/session.upload-progress.name5 a" M8 s. T( J7 _( {1 k! V
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"4 I* e2 A5 M: F5 z+ o

  1533. . f0 E6 @$ D" m3 b  b( z* E
  1534. ; How frequently the upload progress should be updated.
    3 v$ U: X0 q& L% I  K
  1535. ; Given either in percentages (per-file), or in bytes
    + n" K  w/ W4 ?3 R' d0 S7 s) \9 j
  1536. ; Default Value: "1%"8 U% E4 ]" A  _) c2 i
  1537. ; Development Value: "1%"' R$ \5 W$ n4 h" ?9 L
  1538. ; Production Value: "1%"/ f+ J. T9 Y/ V5 j5 D: n
  1539. ; http://php.net/session.upload-progress.freq
    8 f( Y" \2 D" [, e8 Y
  1540. ;session.upload_progress.freq =  "1%"1 j8 |& Q. Y2 B: a

  1541. 5 q, w: A2 ^/ P
  1542. ; The minimum delay between updates, in seconds
    ; P; t: S, Z- C( C. @) }# q
  1543. ; Default Value: 1
    " J) T; v$ r" ]& {( R. ?
  1544. ; Development Value: 1; g5 S. U) ?) ?" P  Y& f9 O
  1545. ; Production Value: 1- q6 m' a' `+ v% K$ `% X9 w4 l( Y
  1546. ; http://php.net/session.upload-progress.min-freq
    # P& P. r; j, Y1 F4 t. r
  1547. ;session.upload_progress.min_freq = "1"
    7 K* l* B6 S8 O2 }

  1548. 9 I9 u3 E/ }3 ~
  1549. ; Only write session data when session data is changed. Enabled by default.1 `* M1 c" ?: b8 i/ n
  1550. ; http://php.net/session.lazy-write
    0 i4 |8 Z, k+ d
  1551. ;session.lazy_write = On$ Z4 t* T* Y/ o
  1552. 1 i; W2 p. P, B3 T) L4 N% L3 j3 u
  1553. [Assertion]/ @3 p8 B9 D' R' l4 P! F  r4 U
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    . a% K6 S. V" u8 ^2 Z& W
  1555. ; -1: Do not compile at all- V  \# @  B0 X+ G
  1556. ;  0: Jump over assertion at run-time
    % @/ w% s6 s0 k: [. `
  1557. ;  1: Execute assertions
    8 F' b. s0 \/ z  |
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
    7 ]* l) f# X2 O4 ]
  1559. ; Default Value: 1
    6 z$ J( n: y2 d1 N# E, l' s3 [
  1560. ; Development Value: 1
    7 G1 l$ }' F- a/ v
  1561. ; Production Value: -1
    9 A9 N+ O/ `3 m1 D9 s& u/ {
  1562. ; http://php.net/zend.assertions
    % E2 C" \/ t0 t/ F' K0 _  |- t% h
  1563. zend.assertions = -1
    " K6 O( C! `7 k! p9 v. U* |
  1564. ! ~0 ]0 [% C4 o  Q" o  l$ {4 L! G! b
  1565. ; Assert(expr); active by default.2 S- r! }( d* i6 c9 E# W: |
  1566. ; http://php.net/assert.active; y( @$ \9 g. Y4 v( @
  1567. ;assert.active = On
    , W, }0 @- {/ w5 c# B

  1568. - j0 s8 L) ?( S9 B. p
  1569. ; Throw an AssertationException on failed assertions: x2 G5 Y9 @, i
  1570. ; http://php.net/assert.exception
    ! k, d3 u& w; B; ^/ |' W4 I
  1571. ;assert.exception = On
    : F* }  X' t, u& ~

  1572. 5 Z% A: ~$ s/ m& Q) j) q4 u' Z
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)/ ]  O; `, B3 ^) V) l
  1574. ; http://php.net/assert.warning0 N* a  V* S2 i
  1575. ;assert.warning = On4 W, E- F; {% n$ W% P7 z
  1576. $ r  P( ?7 U6 @) Z5 Q6 `0 |! F9 Q1 y
  1577. ; Don't bail out by default.
    + I( u; f; J. g$ N7 T; J# y
  1578. ; http://php.net/assert.bail& Q4 ]0 b- G6 Y0 E5 `5 {# y
  1579. ;assert.bail = Off
    " q! l2 E6 u. p+ X' ?/ I5 `  ~
  1580. / s! k, D9 X/ N& g
  1581. ; User-function to be called if an assertion fails.
    3 L7 `8 k( [" F9 Q$ c# l( h
  1582. ; http://php.net/assert.callback* @2 f, C9 O" s/ V' g" N: h+ O5 O
  1583. ;assert.callback = 0
    $ s' n1 a# F7 T* b6 c
  1584. + Q- p  U% c. |9 U) @  F
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    2 I) i; D# d1 J$ r, ]  [  y% p
  1586. ; error_reporting(0) around the eval().
    ( v9 c/ L! I& ~8 w0 A
  1587. ; http://php.net/assert.quiet-eval1 G+ P4 W/ N* K$ z
  1588. ;assert.quiet_eval = 0
    ( y: _) V& O+ V0 X. j

  1589. $ J3 s  a2 w6 m& ^( i
  1590. [COM]
    0 ?. t) v$ Q' q1 s
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs6 i3 ~1 Z# G/ Q6 B) ~+ c
  1592. ; http://php.net/com.typelib-file
    0 ?: Q) V1 c, E. |/ U* J2 I
  1593. ;com.typelib_file =9 I) ^7 H: u' [! V. e; p

  1594. & z$ S/ {8 P% c  d  Z
  1595. ; allow Distributed-COM calls& O3 O4 S$ p# p; l- z! q
  1596. ; http://php.net/com.allow-dcom
    ) s9 `8 U# K+ C7 r
  1597. ;com.allow_dcom = true0 a! Q/ Y- ]0 g7 V2 u
  1598. , ?- L. P& R( u" G
  1599. ; autoregister constants of a components typlib on com_load(), X4 W( k3 G6 ]1 ]1 W
  1600. ; http://php.net/com.autoregister-typelib9 x3 z! Z' q$ G7 d# x
  1601. ;com.autoregister_typelib = true. Q* M" C# f2 I8 b% q- ?

  1602. / X% H+ i# i: b1 h# I) r
  1603. ; register constants casesensitive, D1 O3 p- k7 Q) g
  1604. ; http://php.net/com.autoregister-casesensitive  N7 {$ v' O/ Z# d5 j4 Q6 L
  1605. ;com.autoregister_casesensitive = false
    0 h7 d* Q2 _7 |" p  ?6 h9 I

  1606. 0 G. w; u% q# T) a! f) X8 A
  1607. ; show warnings on duplicate constant registrations: U6 u. t- S! J2 e
  1608. ; http://php.net/com.autoregister-verbose" s$ H8 X8 M) s, _
  1609. ;com.autoregister_verbose = true
    6 N7 ?2 H! B" w( k, L5 j
  1610. 3 E" W- Q9 }% u( v# Y
  1611. ; The default character set code-page to use when passing strings to and from COM objects.7 J- }6 A4 R: N0 @+ ^$ K5 q
  1612. ; Default: system ANSI code page  ?. R/ `% Q, F# _1 e' B
  1613. ;com.code_page=) Z/ ]& p+ A7 D$ g4 m
  1614. ) u% D  s8 X; S5 k% K
  1615. [mbstring]# K% d; H' d  q
  1616. ; language for internal character representation.5 p: D5 i$ g# @$ {7 c9 w5 v
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    3 {6 @( I9 c% h- F0 r7 k
  1618. ; http://php.net/mbstring.language# ^; C/ p, A* l8 Z
  1619. ;mbstring.language = Japanese" _/ O, }$ O. P

  1620. - N; A# J: X- {6 _, A3 w
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.% S$ ~: z: Y* S
  1622. ; internal/script encoding.+ T/ l. b$ l0 f3 N8 g
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)' J, o. S" L6 `7 l1 e
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    1 G! O, L- h  u! s. y! [
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    : R! c( K% y( k  z2 l+ e5 \
  1626. ;mbstring.internal_encoding =/ v4 c$ B6 Q- w( b$ k

  1627. . ^2 D: e6 ~8 b0 O% i& p
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.- a9 z3 z& i" f9 @5 @- x
  1629. ; http input encoding.( [$ z; O. R3 g4 ~1 F* J
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ' Q3 T& Z: q! A' A7 {
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.9 @# x3 N; [3 {
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    0 |/ j/ o3 W/ p6 Q5 B
  1633. ; http://php.net/mbstring.http-input1 |* L# l9 r, @8 Q) c" Q2 G
  1634. ;mbstring.http_input =
    % s& ?( w' X+ ]  U8 [3 @

  1635. # Y6 B$ H' v4 X$ N4 s
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    1 Z# k  n: i; N
  1637. ; http output encoding.
    + L0 _; T! |" ?4 N# c
  1638. ; mb_output_handler must be registered as output buffer to function.. P; E7 K1 o! i/ R8 N
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.. A7 b  B, a; o* h, u! X
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output, v) ~. B! K5 g5 J5 x# c
  1641. ; To use an output encoding conversion, mbstring's output handler must be set  m4 e$ t+ i) n' U3 U) Z& Q
  1642. ; otherwise output encoding conversion cannot be performed.' D3 |: @2 a$ D4 B5 ~
  1643. ; http://php.net/mbstring.http-output
    4 I# A: @. M+ _, R: |
  1644. ;mbstring.http_output =
    5 J2 W1 K, D  X
  1645. 8 w# F: ?7 v5 [  C' F+ _. R
  1646. ; enable automatic encoding translation according to
    4 Q4 N2 B6 d; @6 V& L1 {, B
  1647. ; mbstring.internal_encoding setting. Input chars are
    $ S& ]. _2 y( `2 C3 s
  1648. ; converted to internal encoding by setting this to On.) |2 k, x/ b; z
  1649. ; Note: Do _not_ use automatic encoding translation for
    7 V( \# Z7 q7 A6 `: {
  1650. ;       portable libs/applications.
    ! E1 I8 P* s; P) _
  1651. ; http://php.net/mbstring.encoding-translation1 y: |4 ^  H' q5 X
  1652. ;mbstring.encoding_translation = Off
    ' [& I) R5 u& o0 t( x1 ~& f

  1653. 8 L; e1 L  x; w: \# ^( u
  1654. ; automatic encoding detection order.9 g' y( ~$ s5 ?4 @5 b
  1655. ; "auto" detect order is changed according to mbstring.language; S! V: R, C' q/ `8 H& ~
  1656. ; http://php.net/mbstring.detect-order: ~1 V' a$ l0 k/ \
  1657. ;mbstring.detect_order = auto( O* T! e3 J8 Z. F# u3 |* H" C5 _

  1658. , P- K! ]5 m" H# I2 v) ?
  1659. ; substitute_character used when character cannot be converted) b2 D7 }7 H4 b0 d
  1660. ; one from another- m0 z3 a1 D3 x" F# A  ?2 {
  1661. ; http://php.net/mbstring.substitute-character
    / ?* }9 U4 p$ {
  1662. ;mbstring.substitute_character = none
    " a5 v5 K$ f/ q, K# I

  1663.   s$ ]* t' [- U% J. }# ]
  1664. ; overload(replace) single byte functions by mbstring functions.8 @% c5 H- U6 b! \; ~$ t7 U. C! L
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    3 F. Z- P, e. i- j6 a; n$ O
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.: O, v- b# X2 x2 T
  1667. ; For example, 7 for overload everything.0 K  y4 a9 `# A# z7 m
  1668. ; 0: No overload6 G6 }: ^5 [3 _9 q: e6 p! J$ L$ l
  1669. ; 1: Overload mail() function2 }/ g; T9 a# _4 _+ ^7 ]2 B5 B3 i
  1670. ; 2: Overload str*() functions
    + c+ l1 q* u3 z2 w' X
  1671. ; 4: Overload ereg*() functions5 B% Q) f6 h3 S3 b5 A# }
  1672. ; http://php.net/mbstring.func-overload% P' l1 N' B# A4 k( t* \4 P
  1673. ;mbstring.func_overload = 02 J% _& e; r7 v5 p* C; {
  1674. / \* @  |: q7 e4 W  }
  1675. ; enable strict encoding detection.
    # h6 w& v4 u+ S7 O7 Y; b3 W* V' l
  1676. ; Default: Off
    9 U% ^6 i8 N& S" ]7 ~: e( C$ W
  1677. ;mbstring.strict_detection = On
    * n* T" y% J" K0 F6 E" C

  1678. 9 g: [# j( N$ H5 ~& c
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()' o( S* l( _7 |& A/ w% ~
  1680. ; is activated.
    * _5 k0 \5 H" j4 i; G$ K! m
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml); Y4 M1 t3 [5 K( d  C- u
  1682. ;mbstring.http_output_conv_mimetype=
    ! }0 R+ j! T: K+ a& t$ B: G/ |9 x( j3 O
  1683. , W2 u. O1 P3 Z
  1684. [gd]3 _% B/ n2 v: j. g3 b; u
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    ' |: K6 K- l* I# m  i
  1686. ; a gd image. The warning will then be displayed as notices" R6 k$ W- |* e( ^
  1687. ; disabled by default
    ) w8 [- O% M7 f. q7 B; j% {
  1688. ; http://php.net/gd.jpeg-ignore-warning
    $ z! M4 U. U: U
  1689. ;gd.jpeg_ignore_warning = 00 |5 ?5 a0 I! L. Z- K) L& Z! w0 R- H
  1690. & `) l9 e- L/ v$ Y! j) b
  1691. [exif]2 t/ y& j# X% z8 ]$ q1 {" x
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.& X8 r" G+ G) {9 n. b8 K) k
  1693. ; With mbstring support this will automatically be converted into the encoding
    ! O! B7 W9 t2 g, `5 o; p' X5 h* E
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    6 E& ]/ W# Q5 b1 G
  1695. ; is used. For the decode settings you can distinguish between motorola and1 i) C0 k5 ]4 z6 G! ~, N" K
  1696. ; intel byte order. A decode setting cannot be empty.  r0 O- v' D0 G! m2 c, _" o
  1697. ; http://php.net/exif.encode-unicode
      P3 f5 W( \, |9 V) y
  1698. ;exif.encode_unicode = ISO-8859-156 k% W5 t' ?' I9 |7 S
  1699. 5 j, u/ ^) x0 c2 z- x$ [
  1700. ; http://php.net/exif.decode-unicode-motorola3 ^! h% q8 F7 B5 U* c
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    ! p' P4 F3 K  B' Z
  1702. * i. a  p; f, Q  B
  1703. ; http://php.net/exif.decode-unicode-intel
    2 \1 _" o! P) U$ i7 ]8 p, R$ Q
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    3 a9 h9 t- v3 r8 L1 X
  1705. ! {  R& r/ |; [
  1706. ; http://php.net/exif.encode-jis
    - D' k; `3 Y8 P0 o2 s
  1707. ;exif.encode_jis =0 W$ [! c$ M9 ~! r4 i
  1708. # O% S; ^% v5 ~7 c0 [. F* e7 h& {! q
  1709. ; http://php.net/exif.decode-jis-motorola
    ' `) `8 r& f' j0 e5 j0 Z
  1710. ;exif.decode_jis_motorola = JIS; f2 z( j4 |4 [8 v
  1711. 9 s6 N3 Z  |. G) H" t
  1712. ; http://php.net/exif.decode-jis-intel
    & W4 i- ^# E& z" Z
  1713. ;exif.decode_jis_intel    = JIS
    % c+ y/ U# A8 z2 k

  1714. 0 `4 s3 Y7 z3 f+ @: \
  1715. [Tidy]
    $ {) y) x7 E$ i, e0 C
  1716. ; The path to a default tidy configuration file to use when using tidy
    2 k* d% {; ^0 Q' w' g0 V# f, v# j
  1717. ; http://php.net/tidy.default-config
    . Y8 l( J2 B# |9 Y5 \, n3 z& o
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    5 X8 s* m9 d- _4 `0 y$ G

  1719. 9 A  W: a" C* z$ J6 R
  1720. ; Should tidy clean and repair output automatically?; l- J  C9 H: `2 f0 _
  1721. ; WARNING: Do not use this option if you are generating non-html content; y% M* V5 Q( H; l" ~, U' Z
  1722. ; such as dynamic images& _7 C7 v+ k  Y8 N. B; C
  1723. ; http://php.net/tidy.clean-output
    0 |, g2 q( u/ Y
  1724. tidy.clean_output = Off
    / o! I1 g! H. r0 f  z0 t% W5 d
  1725. ; R! n1 F3 C- v
  1726. [soap]
    * @, |4 H+ o: L9 c6 U" \! |
  1727. ; Enables or disables WSDL caching feature.$ w, q7 |8 D5 D& Y5 ^
  1728. ; http://php.net/soap.wsdl-cache-enabled
    & @2 B# [4 ~6 A5 r) y2 \2 L
  1729. soap.wsdl_cache_enabled=1" {4 \- J& S6 P* c. _- ?! j+ g

  1730. * l. F  A& m2 Q0 S% T% R
  1731. ; Sets the directory name where SOAP extension will put cache files.  |- V; a/ C1 G) j; s
  1732. ; http://php.net/soap.wsdl-cache-dir; \; ]( E, ~) s2 P0 w
  1733. soap.wsdl_cache_dir="/tmp"
    8 r, F( r6 d% e' |& O2 m4 D

  1734. * C% Z; a5 m6 D9 c' D
  1735. ; (time to live) Sets the number of second while cached file will be used
    8 l; F4 ]9 P! L. S% t6 P# c1 x
  1736. ; instead of original one.
    # N6 |: i- S9 y6 Z' n
  1737. ; http://php.net/soap.wsdl-cache-ttl) [7 b2 i/ S2 ]7 [: A: @# b
  1738. soap.wsdl_cache_ttl=86400$ c" k6 [' Y$ I# e2 R* R% {

  1739. 2 A; v& p8 }3 G
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)! e+ ^% z; }7 |' o5 W0 V
  1741. soap.wsdl_cache_limit = 54 T4 w& w$ j( _, R5 J
  1742. $ b' v: U, X7 ~0 I' i
  1743. [sysvshm]
    & D& u, j, }8 m8 S& w
  1744. ; A default size of the shared memory segment# L9 [* N+ @) h' ?3 C; k6 U
  1745. ;sysvshm.init_mem = 10000
    2 h8 T: \; M) H  c; v$ {7 Q

  1746. * z* y( E" L5 v& |: y
  1747. [ldap]
    ! n& U& L* a# \& \
  1748. ; Sets the maximum number of open links or -1 for unlimited.5 j# r7 C& K, i4 O( K
  1749. ldap.max_links = -1, q9 C2 I( h. a2 D

  1750. & w' t( e  {) g6 P( `6 H# {. P
  1751. [mcrypt]/ Z( @; A! Z2 o
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ; }0 u( j" M! a& R2 w7 `2 k

  1753. 7 z9 ], s; M, }+ A
  1754. ; Directory where to load mcrypt algorithms! Q% b, Q' ]4 [& N4 S% g* U3 p
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    5 q1 F' p" t2 g. n8 M% h
  1756. ;mcrypt.algorithms_dir=( z& J, @4 y# i/ ]

  1757. 5 A7 }5 w; b9 |
  1758. ; Directory where to load mcrypt modes6 f1 ^3 q: T& C' A& \: \
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)+ O" R" Q9 _/ p1 \% I; Q
  1760. ;mcrypt.modes_dir=0 x( c$ n' L' X$ a3 I
  1761. ! J+ w( E& W+ I7 D
  1762. [dba]
    7 y; A5 f4 [9 ?- g- i
  1763. ;dba.default_handler=
    5 N& q$ I9 E' @) _
  1764. 3 j! u, K2 y: `7 X
  1765. [opcache]
    , q& [  N  l7 w* \* A
  1766. ; Determines if Zend OPCache is enabled
    + H3 Z4 l" _8 j, n
  1767. ;opcache.enable=01 v& C! X1 a9 d' J. t" I- ^  J

  1768. # u3 r  O7 x# s
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    # b$ s7 `0 q6 V  V- c# O0 Y
  1770. ;opcache.enable_cli=0' c; c. i; G* h$ j) o; L& O' ^! ^
  1771. 3 M6 Y# Y4 g/ t4 L( ?  i1 ^$ w
  1772. ; The OPcache shared memory storage size.2 H3 o1 ?& Z( V% ?
  1773. ;opcache.memory_consumption=64: U- j1 Q4 E) E0 a
  1774. , E6 q: e) j# t5 [8 G9 b
  1775. ; The amount of memory for interned strings in Mbytes.5 l; V6 A8 k- {8 ^% ]/ N4 G; d' m
  1776. ;opcache.interned_strings_buffer=4% F$ v& j" V; i* w

  1777. . l, W- H4 e2 w) r% H% j
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    : v2 [& n; ]# Q4 z4 X8 P% L
  1779. ; Only numbers between 200 and 1000000 are allowed.& }8 H7 h! \+ v2 S
  1780. ;opcache.max_accelerated_files=2000
    / @8 `. S" \4 r: q& W  k
  1781. ) s! ~% R& V+ U& l: |* |) b
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled./ W) Q6 e5 I5 c0 z
  1783. ;opcache.max_wasted_percentage=5
    - u/ w$ A( }# I
  1784. ( A, u/ n* d2 [, J3 p. Z
  1785. ; When this directive is enabled, the OPcache appends the current working
    ( X2 c/ I$ M, `6 d) l" o
  1786. ; directory to the script key, thus eliminating possible collisions between
    5 g* @% G1 |" P+ y8 B& C8 L
  1787. ; files with the same name (basename). Disabling the directive improves
    - R9 r& g1 H! m" d1 `1 w
  1788. ; performance, but may break existing applications.' F# [3 R3 x1 o( H
  1789. ;opcache.use_cwd=1! i  g6 W3 X1 _/ A8 N
  1790. - c! H9 h1 Q; \3 H% u& H- M3 S
  1791. ; When disabled, you must reset the OPcache manually or restart the
    * z+ A" J3 J$ e6 {6 ^9 P8 Y
  1792. ; webserver for changes to the filesystem to take effect.# B8 {, w. Q" h+ [9 p5 O1 {
  1793. ;opcache.validate_timestamps=1/ @8 v, W' e+ Z: _( _7 H

  1794. ) V6 u, |% }! R$ f. Y
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    4 h7 I- v% r3 {3 d
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    ; F* x7 J7 D+ P3 J; W' o/ n
  1797. ; once per request. "0" means always validate)
    ' t. ]  a3 |9 |5 Z3 K4 `3 P
  1798. ;opcache.revalidate_freq=2
    0 v. g; L5 e5 b3 g' _
  1799. 7 m- U! B7 ^  r' c% E- X
  1800. ; Enables or disables file search in include_path optimization6 ~: i4 Q( \) w% [
  1801. ;opcache.revalidate_path=0- ]1 _7 q+ `0 a  i
  1802. 2 \* z5 g5 U7 k- U
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    8 W, L. y# `0 T+ P8 ^
  1804. ; size of the optimized code.
    : r& u* K' d; u1 P: C8 k& ]
  1805. ;opcache.save_comments=1
    ) J0 K7 Q% ?; S. X" B7 R8 d- Q

  1806. / b/ M0 x# \4 k8 g+ P& b( `. a1 Z
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
      ?; O/ G: g7 |
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    + A7 _! x" X% I& ?# \. \
  1809. ;opcache.fast_shutdown=09 d9 A  \- B2 P
  1810. ) U8 b# n- K0 ?8 R
  1811. ; Allow file existence override (file_exists, etc.) performance feature.  [" s/ K1 C, {. n
  1812. ;opcache.enable_file_override=08 q$ E1 Q; ^5 l0 S* K* a

  1813. % _2 Y( ^5 C# p- I' u/ M7 Z
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache9 n5 @5 g8 G9 Y+ i& X. N! I  T
  1815. ; passes
    " b3 A0 b9 a9 T, r- ]. M9 U
  1816. ;opcache.optimization_level=0xffffffff
    : a, A- F' Z1 q7 I- I8 J  u9 Z* L
  1817. 6 u  P! W- K1 H# t
  1818. ;opcache.inherited_hack=1* q# W1 L; k) C! r/ b* \
  1819. ;opcache.dups_fix=05 ]7 }$ T2 H) ~% b2 }' q9 A

  1820. , C/ g+ Z* `7 U) X
  1821. ; The location of the OPcache blacklist file (wildcards allowed).0 j8 @' a% T; m4 Y8 g' D
  1822. ; Each OPcache blacklist file is a text file that holds the names of files# G2 U  X1 K- l% d* l7 o: u
  1823. ; that should not be accelerated. The file format is to add each filename
    ) q" F. J4 W" ]% `4 {( m0 C
  1824. ; to a new line. The filename may be a full path or just a file prefix2 ~5 }" ^8 |  U6 |' o
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    7 B, G( B; M$ m/ I0 M
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
      _0 G, H; H  M) d2 b
  1827. ;opcache.blacklist_filename=; r- y3 i$ Z  I$ N8 ]
  1828. ) C4 i5 m, H& G8 N" H, G- {# i
  1829. ; Allows exclusion of large files from being cached. By default all files
    . |, N/ ~# g# T  A8 J
  1830. ; are cached.
    : F. L& Y  ]7 h, n1 `' I
  1831. ;opcache.max_file_size=0
    ; l# F+ F; w+ v8 L) Q' @' T

  1832. * k4 ~2 r0 ~0 R5 H
  1833. ; Check the cache checksum each N requests.. X- k* O6 X6 _6 i6 q
  1834. ; The default value of "0" means that the checks are disabled.
    2 _) \2 ]" E# _6 P7 q' u
  1835. ;opcache.consistency_checks=00 W4 Y! |& t3 @) l0 [. c9 Q

  1836. : |7 S  {6 m6 B# m! X; A$ |2 A
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ) O" \* Q, w1 y: X
  1838. ; is not being accessed.
    . \: q: M1 Q0 c9 I# j8 g
  1839. ;opcache.force_restart_timeout=180
    ; M6 X+ l& S3 B) ?5 p& f; }

  1840. 2 b! n5 A# I" r) |0 I9 s4 t2 Y
  1841. ; OPcache error_log file name. Empty string assumes "stderr".9 ~8 {% J0 N7 }
  1842. ;opcache.error_log=
    4 a; N" Y# V, `7 H% y% s

  1843. & ]& G0 D6 d( F/ Y
  1844. ; All OPcache errors go to the Web server log.6 j1 g. U! z' N/ V0 P; h
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ' V; k8 A8 W( k, L' F# t: H3 f
  1846. ; You can also enable warnings (level 2), info messages (level 3) or* _! ?, y) c! P0 [. }. Q  x6 Z
  1847. ; debug messages (level 4).
    ) z' g/ m0 i/ c
  1848. ;opcache.log_verbosity_level=1! e& e5 Y6 H! P4 j5 s6 V: D% N
  1849. $ p2 S1 d0 s, B
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    * Q8 k& V0 K/ J" Z+ z1 q0 Z
  1851. ;opcache.preferred_memory_model=. r  z) @/ W# X* o9 n$ Y4 G

  1852. * Q5 C: _2 u1 w0 _& m3 S& j) k4 x
  1853. ; Protect the shared memory from unexpected writing during script execution.
    6 }4 o4 S# k. V1 \$ u/ Q+ j
  1854. ; Useful for internal debugging only.  g* @1 t6 H( l# Q5 n% T
  1855. ;opcache.protect_memory=08 M/ P8 y) z8 {/ ?8 n! T

  1856. / ]/ x6 k, q1 P, E+ q+ `
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    8 i" m3 _) x& [# n- A3 J% q  s( l) q
  1858. ; started from specified string. The default "" means no restriction; c2 e" d- I2 H4 y, S; D9 V
  1859. ;opcache.restrict_api=
    ! q; I9 @5 G9 i3 S
  1860. - N- w2 j& `9 `
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    % |7 Y7 _2 a1 x3 G3 e7 q. z, }
  1862. ; processes have to map shared memory into the same address space. This9 Z* T' p2 `4 H2 L8 b7 W& x
  1863. ; directive allows to manually fix the "Unable to reattach to base address"% y0 P3 s+ z0 k  Z
  1864. ; errors.
    3 R" t4 r0 o4 ^1 R
  1865. ;opcache.mmap_base=
    7 h: J1 ~7 @& A& J$ r

  1866. # ]3 j1 `- @4 x5 }" k$ x
  1867. ; Enables and sets the second level cache directory.' e4 n9 b1 G4 }! H- q: w7 q
  1868. ; It should improve performance when SHM memory is full, at server restart or
    3 G& J5 f8 C) f  ^2 d
  1869. ; SHM reset. The default "" disables file based caching.8 e: H" z( l4 e& x+ L% ~: R. ?7 v
  1870. ;opcache.file_cache=4 \$ K- [3 Q& \. e) Q9 ?7 M6 t
  1871. % M# ?+ B/ k  A6 E
  1872. ; Enables or disables opcode caching in shared memory.- O0 b2 m# O' C5 j% E& ^
  1873. ;opcache.file_cache_only=0
    6 j; o5 {  n; ~' A! g
  1874. : D; i" r6 R7 Q9 k* F# g6 M1 v8 c
  1875. ; Enables or disables checksum validation when script loaded from file cache.3 S0 d# c& p( K3 _* y# p
  1876. ;opcache.file_cache_consistency_checks=1
    1 ]8 E& E, g7 z

  1877. # d% u8 p* {1 Y% ~
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    0 L* f$ m8 ]1 g6 B7 D5 ]# v. ^
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file, O3 J* L0 m9 t0 O# ?, F
  1880. ; cache is required.
    1 N0 a1 `6 ^. u1 m& n& G
  1881. ;opcache.file_cache_fallback=1
    $ {8 [& ]" U( q0 H  F  h. r
  1882. 3 }* G: t' @  o* r5 j* Q
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    1 o' v4 }& C& j7 e
  1884. ; This should improve performance, but requires appropriate OS configuration.
    3 l! G4 \6 X: }5 Q3 }$ V, r6 ?
  1885. ;opcache.huge_code_pages=1
    1 ]3 E8 x1 \5 B5 `8 |9 Y

  1886. ( j. n; J2 C$ ?+ W3 t. _% \1 j
  1887. ; Validate cached file permissions.
    + ?+ Q4 K3 k+ [3 t) n. L6 d$ R
  1888. ; opcache.validate_permission=0
    - s$ v' W2 Y: j2 J" G2 y6 |* W/ a

  1889. 0 q. n) ~3 e5 z( O6 |- w+ m
  1890. ; Prevent name collisions in chroot'ed environment.3 y/ N, R  H' A0 h( k& v" w9 @
  1891. ; opcache.validate_root=0
    4 g* T$ i# i& r6 f
  1892. 6 a1 S, b( w! L
  1893. [curl]
    ' U/ J( x* \' k. r
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    8 |0 G" Z* v! N: y/ Z: H/ _
  1895. ; absolute path.5 ~% r( i; s' Q
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ( }/ s( g  O5 V3 X9 f5 v' C

  1897. " d2 c% z$ [/ a, U; n
  1898. [openssl]1 G3 f% T& P3 K5 K0 o- h0 z
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem. u6 B+ |; x/ B8 F3 K% G+ U
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should4 i7 T! ^6 a" ]: e
  1901. ; not specify a value for this directive as PHP will attempt to use the
    8 L$ k9 h7 a  C
  1902. ; OS-managed cert stores in its absence. If specified, this value may still( K/ ?. j; L7 R8 z8 \
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    - h  y1 p1 x0 M
  1904. ; option.$ @3 \+ J, C, Q% t, c
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt! {- z; J8 d: O  e  @+ H

  1906. / H0 \) x2 J/ f  M; Z4 G5 \+ n4 Q
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    : X# S" y7 f+ _7 Y8 X
  1908. ; directory pointed to by openssl.capath is searched for a suitable1 e/ ~) K! d* p: t- k+ u5 x6 w
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    # C8 c0 V6 t+ R, r: u$ d
  1910. ; Most users should not specify a value for this directive as PHP will7 J* m0 N# X7 G; `! w# U2 O
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    1 P8 B  K  J' Q9 b5 I2 J! ~
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    5 ~0 g/ s0 ?8 S. R  t
  1913. ; SSL stream context option." y* n" z' `3 k1 P
  1914. ;openssl.capath=
    ; l6 p+ L' [2 j, E) v
  1915. / N0 [/ W! [5 |; g$ ]3 u% x
  1916. ; Local Variables:- ^% b$ d: i/ ?7 g
  1917. ; tab-width: 48 u3 f. G3 M( R! T* L: k; x
  1918. ; End:% w4 f! V( e& a2 @" w% J

  1919. * L6 k8 f8 l4 h
  1920. ;eaccelerator8 P0 F5 x: ^3 d0 ]' Q! t- ]
  1921. ; y1 \. r7 y: i7 m
  1922. ;ionCube2 _) H8 q( d6 R4 z/ @* P

  1923. 7 B. \' p' ^5 m( z
  1924. ;opcache' L& l# P) x  @0 d/ M9 G; _! C
  1925. 8 h, O2 h7 f/ N& a; K
  1926. [Zend ZendGuard Loader]
    7 k6 w: P* T' s% C9 A
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    0 t; ?# G% V5 A  y8 p* H
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so% M& x5 {6 h; E: \
  1929. ;zend_loader.enable=1% [  w* {, |$ w: ^2 C0 w' x
  1930. ;zend_loader.disable_licensing=0
    1 a3 z9 y3 N' O7 R. r/ I3 H
  1931. ;zend_loader.obfuscation_level_support=36 ]: C* I1 a! h! C; o" u
  1932. ;zend_loader.license_path=! A) f. n: r1 _, T

  1933. 9 k& G& B* M* V- j2 [& a4 c3 a
  1934. ;xcache
    % _* y* {( f% _% I7 Q# C
  1935. ! N/ Z* i0 D1 R. p' [
复制代码

8 a# P. S5 x/ {$ K9 o2 L3 C3 y4 W
+ Q/ @* a7 y$ Q( I' k# e# t" ^  m) w1 I
/ R2 X  v& a3 I" V

0 F( [4 B$ p# H8 P# s" x, H) j% D9 f
" ]$ x& s/ Q0 w' @8 p
PHP5.6版本原始设置
7 ?6 K" z; ?: D* I. C: k; c6 ]" S
+ `) S5 j/ p, `$ u
  1. [PHP]' V6 J- f) K, d
  2. 4 z& k7 \/ u  `4 B! t* n$ @% i4 J
  3. ;;;;;;;;;;;;;;;;;;;
    8 x2 {3 i$ r0 k3 h/ V. p* L
  4. ; About php.ini   ;/ A9 }5 [: y" R5 ]" b3 w- x
  5. ;;;;;;;;;;;;;;;;;;;. ?$ Q3 b4 Q5 p# B
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    + J* s" e; ?; m/ D, }
  7. ; configuring many of the aspects of PHP's behavior.
    : q: s; R  J, h+ p  U0 e  F

  8. 4 o3 R. Q7 ^9 [9 y
  9. ; PHP attempts to find and load this configuration from a number of locations.
    * I+ J8 d/ h1 D: q/ q9 T$ X5 J+ d
  10. ; The following is a summary of its search order:
      i7 ^5 O; b9 \( g/ t+ @1 b3 g
  11. ; 1. SAPI module specific location.! U& b: V$ o, b! v
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ! p; _  T/ A& z) w8 n- `" t) l
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)' ~5 v0 P% C% x% E
  14. ; 4. Current working directory (except CLI)
    2 B! G" w. i+ d1 b9 g' }. @  V; ^! Y
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    4 w+ j1 o9 s& _1 K! N
  16. ; (otherwise in Windows)
    9 @6 X- x/ c9 ]+ p, K
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    9 x5 Z9 M& j6 p/ ]
  18. ; Windows directory (C:\windows or C:\winnt)
    $ Z8 {  e6 C# c" M
  19. ; See the PHP docs for more specific information.: z; u2 N) e. _: a
  20. ; http://php.net/configuration.file
    / h; h& b- }$ d
  21. 8 c& P! F$ M$ u8 Q% R
  22. ; The syntax of the file is extremely simple.  Whitespace and lines* Q  H8 v: W( ~( p
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ' C  H/ E5 B" R: B
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though/ l/ N/ r1 K: F* u7 V
  25. ; they might mean something in the future.
    3 \5 f6 R. J$ n4 G! `( J0 C

  26. ! t% f' e, v+ S! u, X
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ' {- @$ A% E+ z& V* X
  28. ; apply to PHP files in the /www/mysite directory.  Directives
      l8 h4 K, V. |3 e6 J" T
  29. ; following the section heading [HOST=www.example.com] only apply to2 N* R9 }; Z% X
  30. ; PHP files served from www.example.com.  Directives set in these
    7 K" v3 T+ r5 n) x5 O
  31. ; special sections cannot be overridden by user-defined INI files or
    ! T& h+ S7 d2 l
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    : ^! g/ |# A' ^1 r8 D
  33. ; CGI/FastCGI.$ m' g; F% }% e( _
  34. ; http://php.net/ini.sections
    1 B# d, k  ]. A" r# D0 x. D

  35. " D) U' [& r/ h$ X5 L0 f
  36. ; Directives are specified using the following syntax:
    3 s! o6 m' e) k+ a) |
  37. ; directive = value' G. G7 U0 E' w' H) D$ S8 t0 L$ d( T
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    9 \  e% C4 j# K9 J$ D
  39. ; Directives are variables used to configure PHP or PHP extensions.
    8 `1 a0 r% z' ~! {: o
  40. ; There is no name validation.  If PHP can't find an expected
    / h. b9 f5 w& b
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ) @9 w" A" O! f2 n1 a

  42. : W5 ^( c8 r5 l. N
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one% }. c9 W- Y' ^, v  H* z
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    " }# x1 w& U  D( ]3 G) ^% p
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    / U" G+ h1 E# l; v' O
  46. ; previously set variable or directive (e.g. ${foo})
    7 y: e' m+ v. f3 ]+ T
  47. : l7 @- S0 B7 _) y1 F# Q
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:8 m" @0 K" `/ Q0 _' a# ~. o' y
  49. ; |  bitwise OR( c7 J2 v; S6 E% X
  50. ; ^  bitwise XOR& [- G% }( M/ H# n6 }- L! W4 r
  51. ; &  bitwise AND- O, ?5 w! ?1 _  I* M( Q; J
  52. ; ~  bitwise NOT
      B: u) m- u6 H5 s% d4 r
  53. ; !  boolean NOT% I; A; |$ U) X% K$ n* Y) X

  54. ' B4 }6 F- k( k' o7 d- M) q: ]. D
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    + Q7 m2 S+ D) \6 v9 i9 i
  56. ; They can be turned off using the values 0, Off, False or No.
    : o3 X4 B$ M/ j; a( u8 i' r

  57. / [( p6 p2 i1 k; c( @$ ]
  58. ; An empty string can be denoted by simply not writing anything after the equal
    & C" |( V: Y0 q. J% S" ^
  59. ; sign, or by using the None keyword:
    # L# C8 n( o* o' x+ {

  60. $ K5 F6 t4 l9 O9 ]% j+ B9 U9 s
  61. ;  foo =         ; sets foo to an empty string5 a0 T# O% n9 A! x2 G6 g
  62. ;  foo = None    ; sets foo to an empty string
    ' v9 O/ K  T) d7 v& N, j. P
  63. ;  foo = "None"  ; sets foo to the string 'None'
    , g! f6 y2 x3 z2 A. `  X) X
  64. 7 c* N, m% P9 m. ]2 L- x  m# f6 d; O
  65. ; If you use constants in your value, and these constants belong to a
    7 U3 C- K9 w/ N! Z9 F; e% n
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),% C; I" }; w1 [; Y
  67. ; you may only use these constants *after* the line that loads the extension.% y; g. h/ R  |4 F

  68. / U$ _6 [/ i" d0 f1 R* G$ k
  69. ;;;;;;;;;;;;;;;;;;;
    ' f$ c; B, c4 U: T5 n2 F( _, H+ I! T
  70. ; About this file ;" Z4 h0 B$ t4 ?
  71. ;;;;;;;;;;;;;;;;;;;
    " d8 ?% w8 g  C/ `
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ; O3 R" @8 ]6 |$ V- j. g
  73. ; in production environments and one that is recommended to be used in
    7 M. H) o1 U& Q) Q
  74. ; development environments.
    5 Z# @8 }1 I3 }% \. J# F/ ~

  75. 0 }8 g' b% E" K: k' H2 u
  76. ; php.ini-production contains settings which hold security, performance and$ a) @" l9 N8 A& D; n1 y) h; `
  77. ; best practices at its core. But please be aware, these settings may break# T% @, n) o8 U( t4 M
  78. ; compatibility with older or less security conscience applications. We
    8 m: k" V: y. o( m9 x/ T
  79. ; recommending using the production ini in production and testing environments.
    ! L' r( A. U5 `1 Q# M* u+ _0 H

  80. & D0 |3 Z( O' a. m" [+ t
  81. ; php.ini-development is very similar to its production variant, except it is9 y. t, r. O* a: G% M8 Q' k7 y. \, Y
  82. ; much more verbose when it comes to errors. We recommend using the
    % v8 T" s1 O% a/ D* y  H6 i4 C' L$ n
  83. ; development version only in development environments, as errors shown to
    9 v4 V" g0 A! `* T* ^$ K5 ^: r! \
  84. ; application users can inadvertently leak otherwise secure information.
    . O' e( }9 [2 f# ?, y
  85. " B  D* z! n7 r' N. x8 d- }5 z
  86. ; This is php.ini-production INI file.
    7 ^( D+ {# o: s; ]2 ~  c, j
  87. 8 H  J- v- @0 Z. [! n- r6 w
  88. ;;;;;;;;;;;;;;;;;;;1 K/ K2 |9 |  j. {+ l
  89. ; Quick Reference ;
    # x$ @4 A, q$ f# w1 w
  90. ;;;;;;;;;;;;;;;;;;;
    2 Q3 o  p( `$ b  e9 Y
  91. ; The following are all the settings which are different in either the production
    . Z* h* Z3 v9 @
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    # x, _% B7 c3 H% V
  93. ; Please see the actual settings later in the document for more details as to why! F, i2 S* e4 I: H, x( a
  94. ; we recommend these changes in PHP's behavior.
    8 G9 I! h, W* R1 j! t
  95. ) e' e2 y4 j; Z+ x2 Q' M; P
  96. ; display_errors0 Q+ U& W% e4 Q; o
  97. ;   Default Value: On
    & S; |7 k! r2 O* `
  98. ;   Development Value: On
    . `, J5 F  \( ^
  99. ;   Production Value: Off: @1 o/ z$ l6 E7 h0 c+ X

  100. $ ?) u1 y6 g) n- |) ^
  101. ; display_startup_errors
    ( }; [6 O3 w5 ]- d
  102. ;   Default Value: Off
    9 c/ Y7 h4 g9 f
  103. ;   Development Value: On
    # U0 y9 P- a8 l4 F
  104. ;   Production Value: Off; K! r' x2 K2 l2 M, Z- Y) U

  105. 5 d$ G! o& n# O) c( F
  106. ; error_reporting2 Z5 q2 y% a3 @$ F0 U% G
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED  p) w! s) O, G' }
  108. ;   Development Value: E_ALL8 C8 T- n3 ^- h
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ! i4 D$ o+ [* P) g2 N( L

  110. 5 \8 S& D! ^1 G" @- |
  111. ; html_errors
    " N# n1 b( t) d6 H
  112. ;   Default Value: On
    ; h& }, A% {0 V4 [2 I& Z
  113. ;   Development Value: On
    2 u& Z" c6 R+ e5 C
  114. ;   Production value: On* ^% q9 c# j3 A- t$ k  R
  115. ( M! L3 z5 ~& H
  116. ; log_errors6 {' A7 v  q2 m" }$ ], T
  117. ;   Default Value: Off: C; w$ `" S/ Z9 R$ u1 t$ [
  118. ;   Development Value: On$ c; P1 l& N4 }$ O0 a- }
  119. ;   Production Value: On
    + m& M/ m4 q- i! D" z% O

  120. ( G, y* M5 u2 D7 s4 J/ |: a
  121. ; max_input_time
    ' C. J7 A; A% o
  122. ;   Default Value: -1 (Unlimited)5 ~/ ]# R( A8 v7 L. u+ a
  123. ;   Development Value: 60 (60 seconds), I0 B' w" ^+ |' p! K5 b
  124. ;   Production Value: 60 (60 seconds)
    % D( V4 \8 G. i5 D' ]
  125. $ s7 j+ n7 ?- E' [# t  k
  126. ; output_buffering6 G* O! h5 g8 x/ o" n4 W
  127. ;   Default Value: Off! d# m3 g& B* a8 `
  128. ;   Development Value: 4096
    3 Z: c) e+ y  u" m3 c- ]
  129. ;   Production Value: 40964 @9 G5 J% r/ Z& w7 z7 r# {  Z: G
  130. . [5 @5 Z1 i1 n0 D& H( J/ r" R
  131. ; register_argc_argv$ X0 {# ^5 R% D4 c
  132. ;   Default Value: On- J! k  }* o3 i! ?* O# M; y# I* U
  133. ;   Development Value: Off
    ' H/ u4 m: Z" e5 r, D9 `2 ^
  134. ;   Production Value: Off
    2 _7 q3 w' B2 Y; T2 P

  135. 1 Q/ V9 ]% t' ~+ {7 b! P
  136. ; request_order
    # {6 \$ l# C  p+ v
  137. ;   Default Value: None
    " U1 e$ `; Y/ {8 E9 W" D
  138. ;   Development Value: "GP"; v" s# R8 Z' y; o3 t' b( S" c  L
  139. ;   Production Value: "GP"
    ; X" y% m' E2 l7 v6 a
  140.   B3 n: J/ i1 {8 r. l+ ~8 Y
  141. ; session.gc_divisor
    $ G8 r" h1 E! a+ w6 ]
  142. ;   Default Value: 100
    ; ~! Y0 D( R# A9 I, q% _$ O
  143. ;   Development Value: 1000
    " q- Q8 w- L) O. ]0 T: a
  144. ;   Production Value: 1000
    * c4 D/ _: f0 W1 r/ `) G% h: G! k

  145. 4 }( R. ]8 p% g' ]' S
  146. ; session.hash_bits_per_character
    6 m* f' y5 E; m$ s% x1 M
  147. ;   Default Value: 4
    + r0 I9 d  }6 ~
  148. ;   Development Value: 55 o& H7 o- j- Z' ]% L# S
  149. ;   Production Value: 58 b4 ?7 }1 l/ P! {: ]# Q# C3 |
  150. 9 g  N; O% `5 c4 u# H
  151. ; short_open_tag
    1 F8 X& s9 d% b; l: Y- W
  152. ;   Default Value: On
    3 ^& V) J: x8 d- |$ E6 }
  153. ;   Development Value: Off2 [0 V+ }: y1 `( n7 g
  154. ;   Production Value: Off
    4 P5 m0 Y7 i' Q$ V  Q
  155. ( @' M: f7 v% R: O! Z
  156. ; track_errors* c& V$ s) V; X" A+ C: R
  157. ;   Default Value: Off
    8 ]* |. r# W$ b: m' A* L
  158. ;   Development Value: On3 ^% g" ]- N# a+ t1 ]2 ?/ B: D
  159. ;   Production Value: Off: n0 m6 C, W) R2 J5 h

  160. # ], p4 ?/ _! ^0 F5 E# _3 K0 D
  161. ; url_rewriter.tags
    3 B0 U/ c2 t! a' Q: w0 y0 T0 w6 u
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    $ d. K3 }# _2 l3 P5 }& }0 m8 ~
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 E' [6 N" F/ `. Y8 l
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry") V! j7 G& W" T0 _# a; j$ h6 _

  165. " i" Z+ c3 b6 u
  166. ; variables_order
      x# H' Q0 p% j, x
  167. ;   Default Value: "EGPCS"- d4 f: N. q( _$ x
  168. ;   Development Value: "GPCS"2 {6 R& [7 j$ A9 u: c5 `( r" l: Y
  169. ;   Production Value: "GPCS"
    . L, E1 |6 q: _1 Z

  170.   T* ~' @) [, X1 Z
  171. ;;;;;;;;;;;;;;;;;;;;$ q- _; t+ b! M  S" w
  172. ; php.ini Options  ;
    1 n% K6 [+ h" K4 h$ D- d4 V
  173. ;;;;;;;;;;;;;;;;;;;;
    # i: e; u% `% _. Q
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"( @  v9 `2 E9 H- r3 F0 a& p
  175. ;user_ini.filename = ".user.ini"
    9 K, G% {' U' i( l( S$ i

  176. 6 l: N' j) s* Z1 J( X; H9 k9 t8 v
  177. ; To disable this feature set this option to empty value& ]3 |- H, I6 `6 j- `
  178. ;user_ini.filename =
    ' [& E8 H6 v: M  |* ^
  179. : {8 }  y5 ~2 K; t
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)* p3 {! B/ Z+ p& g
  181. ;user_ini.cache_ttl = 3007 @2 m2 C' b- M/ X7 f# M: B
  182. * I. Q# X$ \* F. \
  183. ;;;;;;;;;;;;;;;;;;;;
    - ~- j& F$ f" L1 g
  184. ; Language Options ;7 g8 ?0 I, D2 [( d% t
  185. ;;;;;;;;;;;;;;;;;;;;2 p$ Z0 X) c) H  O

  186. ) u& k& Z7 D. P; o3 j- W
  187. ; Enable the PHP scripting language engine under Apache.
    ( [+ l6 j! s. [# ^! L
  188. ; http://php.net/engine
    5 p3 b2 `1 }( W& X, B, z) O! L3 {9 ?! B
  189. engine = On+ m; Q) g& I1 g: E) W

  190. ' T8 a2 [% D; a, v" a5 g: j
  191. ; This directive determines whether or not PHP will recognize code between1 N6 J, n7 w+ {! \, {
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    2 v( P) a$ `4 j3 x8 o) f8 _
  193. ; generally recommended that <?php and ?> should be used and that this feature, X7 O- j$ `+ j/ ~- R( G
  194. ; should be disabled, as enabling it may result in issues when generating XML
    3 |7 T/ ?6 [3 |9 o  s9 ~
  195. ; documents, however this remains supported for backward compatibility reasons.
    3 p9 m& N* k" V. A# |
  196. ; Note that this directive does not control the <?= shorthand tag, which can be  V+ x  D5 K0 {8 H, R4 f
  197. ; used regardless of this directive.+ E) B# A. w9 k0 F+ l$ o( h
  198. ; Default Value: On8 Q8 p, s8 h* A: x6 a( K
  199. ; Development Value: Off; \/ Q5 i  M1 _/ ^8 P# }& m7 f
  200. ; Production Value: Off
    % p# c* x: e' y% L# m
  201. ; http://php.net/short-open-tag
    ) v+ ]' @$ p" L4 u1 q+ }, q
  202. short_open_tag = On2 u% `$ H: ~' A' B
  203. : u% e, E% [; O" d3 B
  204. ; Allow ASP-style <% %> tags.  J! c  c1 }) d4 k$ I
  205. ; http://php.net/asp-tags
    $ y+ Y- `6 n' I+ y
  206. asp_tags = Off
    4 K+ }$ Y; l( t# M7 @3 D8 a' R
  207. & K# `4 w& z  Z& P; e) D! \4 Z5 n
  208. ; The number of significant digits displayed in floating point numbers.& E; H+ m) A- b# k
  209. ; http://php.net/precision# L4 O8 M- w  i) g" f+ T2 i1 D
  210. precision = 14- h$ ~$ @  [1 a) u* n2 y# X; I
  211. 8 ^& X$ G1 x$ A1 \8 |# r$ R2 m+ ^
  212. ; Output buffering is a mechanism for controlling how much output data
    : F7 |. ^2 F! u8 L$ d) N. P
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that% K! }' Q. [# T! I/ u( H/ n) J
  214. ; data to the client. If your application's output exceeds this setting, PHP0 a1 |6 E9 M5 c9 G) R6 L
  215. ; will send that data in chunks of roughly the size you specify.
    6 A+ B* D$ k9 Q0 a) q" W  }6 z
  216. ; Turning on this setting and managing its maximum buffer size can yield some% q- L1 ]8 Q, j6 S
  217. ; interesting side-effects depending on your application and web server.
    ' ~& F/ p0 r6 T7 w. q
  218. ; You may be able to send headers and cookies after you've already sent output; z$ |- m/ O7 }$ @" D8 M
  219. ; through print or echo. You also may see performance benefits if your server is% H9 J2 B" u! y( L, d" d* ?/ o; n3 |
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    4 x4 v3 c1 H- Q% L
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    % Y: }% v2 @! w& m9 P/ Y% I/ ?
  222. ; reasons.- i# N/ q* k2 K. @
  223. ; Note: Output buffering can also be controlled via Output Buffering Control) _) b( M; [% d# F* @8 E
  224. ;   functions.
    1 G6 F5 T+ T1 j, e8 K0 Z3 \. u
  225. ; Possible Values:
    2 A+ ^6 l6 v! a/ t6 e
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)8 X, K4 l, H4 H3 M/ C
  227. ;   Off = Disabled8 a5 U+ y+ G8 ?$ P& M
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    8 m! N3 O; X1 w8 \. B
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI  [$ l& `) n: @3 ]3 d2 O
  230. ; Default Value: Off+ j% B. `8 J2 e. e# C9 ]' L
  231. ; Development Value: 4096
    ' M! [: y. y3 U; X' E0 X
  232. ; Production Value: 4096' f8 d6 ]0 W6 a. p1 `9 p1 Z  l
  233. ; http://php.net/output-buffering
    3 N$ d3 _3 b3 U. U6 f
  234. output_buffering = 4096  j4 J  W6 b7 H3 K: B: J7 \! n

  235. 1 ]+ F1 b; Q, k. Q, f
  236. ; You can redirect all of the output of your scripts to a function.  For
    - l- g  G% h* R: e" s6 c  r) G
  237. ; example, if you set output_handler to "mb_output_handler", character5 R" [) K" {. j/ {9 Z2 E/ v  o. h
  238. ; encoding will be transparently converted to the specified encoding.7 I! l8 x. }( N2 w
  239. ; Setting any output handler automatically turns on output buffering.8 I6 z$ S5 h( u
  240. ; Note: People who wrote portable scripts should not depend on this ini
    # }2 {) @' v" Y$ b- F$ `
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    0 Y8 h+ G! P0 g1 B! W% d+ f
  242. ;   Using this ini directive may cause problems unless you know what script
    0 V5 e9 `# Q/ U4 n
  243. ;   is doing.  o2 v- i5 f5 i( {9 a. `" Q6 Q
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    3 C8 Q4 n' a- ]$ y* L# |3 y. z
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    & z! ~, `) N8 `
  246. ; Note: output_handler must be empty if this is set 'On' !!!!3 X% q; P( p4 d( s9 l
  247. ;   Instead you must use zlib.output_handler.
    ! j) w. ]8 n6 \! L0 E0 c
  248. ; http://php.net/output-handler
    . x3 y3 e' @: W
  249. ;output_handler =- D! ^) |( f  T, i: l" u

  250. . z: l; q0 j. ]+ t' T
  251. ; Transparent output compression using the zlib library) i/ @- e& z3 x$ H7 V9 a7 l: w
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size6 c% ?' |% S2 T( Z$ B2 i
  253. ; to be used for compression (default is 4KB)
    * z+ h. Z5 N, p" g; @! ]4 W: D+ {
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    3 C( H4 W" p* F: K0 B7 M, t
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    8 l, v" E9 x$ r" x4 S$ ~
  256. ;   compression. If you prefer a larger chunk size for better
    . j# T6 H5 t( t) P9 k* Z5 U* ~3 D
  257. ;   performance, enable output_buffering in addition.0 s, U0 m7 m+ q% ^- |) v" q6 o
  258. ; Note: You need to use zlib.output_handler instead of the standard. x+ F% b9 i" m2 u- V
  259. ;   output_handler, or otherwise the output will be corrupted.  v& ~5 I* Y$ w! o( N' A- b- j
  260. ; http://php.net/zlib.output-compression
    7 N# e' j6 S' v. N/ K
  261. zlib.output_compression = Off
    9 w) u' e6 r* z
  262. $ h, |& Y, t( s- b3 Z
  263. ; http://php.net/zlib.output-compression-level5 w3 N& l9 \- C" k% Q; i; K
  264. ;zlib.output_compression_level = -17 Z: m: I$ a0 Q8 V$ m! j
  265. 0 M9 s' n7 ^( m% ~3 i
  266. ; You cannot specify additional output handlers if zlib.output_compression
    : i6 I& x0 E8 T# c! J! d  E& e
  267. ; is activated here. This setting does the same as output_handler but in
    2 |/ q2 s7 K- U$ S/ L7 J( H
  268. ; a different order.) {( H& E9 s/ T2 C; N
  269. ; http://php.net/zlib.output-handler: A7 A: l1 x+ W* y" o  V; G7 X9 |
  270. ;zlib.output_handler =
    + p  u: p/ `4 T- a  T# |
  271. 6 Z/ X! G  J, }1 R3 g
  272. ; Implicit flush tells PHP to tell the output layer to flush itself7 T' b7 g( e5 q; L7 O
  273. ; automatically after every output block.  This is equivalent to calling the! Q: r. f/ N& l: i) M4 S
  274. ; PHP function flush() after each and every call to print() or echo() and each
    9 L+ Z1 P9 g" ^9 \8 ]* _0 n% L5 N
  275. ; and every HTML block.  Turning this option on has serious performance' f: N+ w6 U, p2 M9 O7 w
  276. ; implications and is generally recommended for debugging purposes only.- _+ m4 x5 V/ I  a, h- G
  277. ; http://php.net/implicit-flush
    5 ]. L3 I8 n0 X: j8 }# C
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    & J* V% c$ G7 h) Q0 p$ Z
  279. implicit_flush = Off
    8 |) z1 v- P9 c) H* ]) z6 d* w9 E
  280. 5 T$ A( I) ]. E9 a
  281. ; The unserialize callback function will be called (with the undefined class': N1 t# q, h9 q: ]" E' s
  282. ; name as parameter), if the unserializer finds an undefined class: d3 {( e  w) f1 L5 e
  283. ; which should be instantiated. A warning appears if the specified function is! v0 K4 q- X+ I( b  E: _
  284. ; not defined, or if the function doesn't include/implement the missing class.0 n* K- |9 B9 v+ R* O0 T" O, c# Y
  285. ; So only set this entry, if you really want to implement such a+ U" A/ a% M; d  C
  286. ; callback-function.
    2 A6 A! Z: Z  f  x9 K# r9 I/ i- H
  287. unserialize_callback_func =
    ! Z2 D3 R  z( |) T) Q4 u- _1 Q* S

  288. 1 Z( M3 q+ n; o8 l% S. R1 x3 [
  289. ; When floats & doubles are serialized store serialize_precision significant
    : ^6 y" [2 U; r) q' x6 I
  290. ; digits after the floating point. The default value ensures that when floats
    . }* z) t/ \8 |
  291. ; are decoded with unserialize, the data will remain the same.4 o$ {# V$ I: s3 K9 P$ x$ Q
  292. serialize_precision = 17
    8 t3 i' E% Z) B7 e

  293. $ \' N+ Z# h. Z3 `' z, _
  294. ; open_basedir, if set, limits all file operations to the defined directory6 }( R+ l5 b9 l. b0 D3 c0 }5 U3 t
  295. ; and below.  This directive makes most sense if used in a per-directory- z  [6 [; I0 v- f4 p3 P% f
  296. ; or per-virtualhost web server configuration file.
    ( \: W! P! R4 Z8 G3 u# q* E
  297. ; http://php.net/open-basedir
    ) |" b2 H1 y* x1 w0 c1 g7 o# X
  298. ;open_basedir =
    4 [7 S% b( e$ R8 p5 K' `

  299. & z) h1 P/ ]  x2 l  I; k
  300. ; This directive allows you to disable certain functions for security reasons.
    ) f- |# {3 p8 t! `: {, G; ?5 C) d; R- ?: k
  301. ; It receives a comma-delimited list of function names.* s& r* f$ B: p' ], y
  302. ; http://php.net/disable-functions' b$ x* ?' c) T8 Y& f/ {
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    & [4 h& i8 e6 U* M' v, d6 t, d

  304. $ F- B! X. c. T3 T8 R9 A
  305. ; This directive allows you to disable certain classes for security reasons.
    ' K- G+ V8 z2 v. v, p6 z2 z" O  z
  306. ; It receives a comma-delimited list of class names.& l" @8 I  s) U) I8 p& `) A: M! i
  307. ; http://php.net/disable-classes
      d0 _4 M9 x/ d# Z. c: A
  308. disable_classes =* j4 I. ^: O/ s/ n

  309. 0 o& f8 c% t& t7 Y- h
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in: _3 }8 `- Z% u8 l% j
  311. ; <span style="color: ???????"> would work.
    , b, K% I- I+ b- ~
  312. ; http://php.net/syntax-highlighting
    0 d) a$ S+ c" z2 d) M
  313. ;highlight.string  = #DD0000" W# M. j6 X  K
  314. ;highlight.comment = #FF9900  \1 U8 q9 V$ j; ^. V
  315. ;highlight.keyword = #007700; _& Q( |. S# e( ]( [
  316. ;highlight.default = #0000BB3 a2 }) H: G& r5 y* W
  317. ;highlight.html    = #000000
    ( x* g$ f2 y& g' r$ L6 P

  318. " W! D, B2 X% ]% n  F/ R+ X; q6 Q
  319. ; If enabled, the request will be allowed to complete even if the user aborts
      ]% q7 F+ i+ x$ N
  320. ; the request. Consider enabling it if executing long requests, which may end up
    ( R1 `' ^# a" R' \
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ' z$ \9 C  s) M2 D
  322. ; is to disable this feature.
    1 ^, A; L' M2 S: X, A* D* v
  323. ; http://php.net/ignore-user-abort
    ' L  S; m! q/ z6 N/ X- D3 v$ Z
  324. ;ignore_user_abort = On
    * E4 j$ h. \5 f

  325. + z) L% y" M4 B: a4 H9 z: C% l
  326. ; Determines the size of the realpath cache to be used by PHP. This value should+ Z' U. p0 b7 x4 p, _
  327. ; be increased on systems where PHP opens many files to reflect the quantity of6 M+ `" c$ F  Y8 X( Z6 P
  328. ; the file operations performed.
    2 K% o* B8 N: M& s2 T' Q! b
  329. ; http://php.net/realpath-cache-size$ q1 M; D' F* a3 ^
  330. ;realpath_cache_size = 16k: G8 B$ a% B' j+ p7 Y+ q
  331. # N/ |7 I- N6 Y* P- O
  332. ; Duration of time, in seconds for which to cache realpath information for a given1 T2 r, H, v9 b/ u  c8 H
  333. ; file or directory. For systems with rarely changing files, consider increasing this8 ^+ _4 X' ?* l5 l  n# r" ]; m6 J) _
  334. ; value.7 h$ q) H6 ?" h
  335. ; http://php.net/realpath-cache-ttl
    , E- v7 A' O( n( c; [8 S
  336. ;realpath_cache_ttl = 120% I3 J# L( u. I# m% d) d) {
  337. + |7 z; V7 Y8 W' f) c9 F
  338. ; Enables or disables the circular reference collector.
    1 p) \0 S$ n- {& H$ F
  339. ; http://php.net/zend.enable-gc
    0 ~' B: S' K: a/ U  {& \& c( y
  340. zend.enable_gc = On
    8 t2 o2 B! C0 J" I
  341. 7 a/ t5 s9 M& }: G7 \! s6 N
  342. ; If enabled, scripts may be written in encodings that are incompatible with2 L/ e" x4 `* @
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such/ b7 T7 n2 C' K' W) ~- P2 J
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    , \* o+ l1 K) J# [/ g1 Z2 W. n4 t/ Q
  345. ; Default: Off& q* P* I- v1 w' G/ I
  346. ;zend.multibyte = Off
    $ C* M, U6 `9 Q" C! w6 A' U% C

  347. ! b( H/ O1 l" Y8 S# X
  348. ; Allows to set the default encoding for the scripts.  This value will be used: ?! a: A8 }- f- S2 S& b: k
  349. ; unless "declare(encoding=...)" directive appears at the top of the script." m4 M: G0 a4 H3 i2 R, f
  350. ; Only affects if zend.multibyte is set.7 F8 b! L7 G4 l
  351. ; Default: ""
    2 x* q! ?  h+ M" X4 @  T
  352. ;zend.script_encoding =7 c3 K) d( w: K- [

  353. 7 g- K4 n/ z6 f7 Y' X% U& @, Z( y7 X
  354. ;;;;;;;;;;;;;;;;;; u0 n# a* d1 `% q* W+ ?
  355. ; Miscellaneous ;% v+ T4 ]6 Q, K) H
  356. ;;;;;;;;;;;;;;;;;: |2 d& h3 w" k% u7 b% k, @- F

  357. * V) o' z2 B- c
  358. ; Decides whether PHP may expose the fact that it is installed on the server' I5 @  \& s9 j3 g3 k
  359. ; (e.g. by adding its signature to the Web server header).  It is no security0 v  T0 }5 X/ Q, w5 l8 N: F
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    * |, r5 K  g; k  j+ K4 k% s! u
  361. ; on your server or not., W7 m4 ^  B! F
  362. ; http://php.net/expose-php
    ; @9 r2 I3 e" C( Q$ r4 H5 J
  363. expose_php = On8 `4 V8 r4 ~% S  w3 I2 d# w
  364. # O- A) H1 r- \7 d7 c* _0 ?
  365. ;;;;;;;;;;;;;;;;;;;
    # K/ O$ v. l  w! X
  366. ; Resource Limits ;
    3 x0 S9 J4 ]$ @  N1 s5 @
  367. ;;;;;;;;;;;;;;;;;;;
    $ c7 ]* \2 U* e( q
  368. ( m! V' h, [2 a$ a/ H9 \
  369. ; Maximum execution time of each script, in seconds9 _0 v) `4 S, |" F
  370. ; http://php.net/max-execution-time- |$ i, \! j, L4 s, j  m3 w
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    & P0 k2 O$ m& ~# x0 b& w- C
  372. max_execution_time = 3004 X6 g" l1 Q/ t5 |) r9 e# {* ?# h
  373. 8 O1 P3 t  _+ Z; \* Z
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    * B0 F6 f8 H! D4 O$ H
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly8 \, D! u0 M: g" H
  376. ; long running scripts.9 I4 d/ v4 w9 S$ x9 w
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI8 Z* j% R8 v2 m
  378. ; Default Value: -1 (Unlimited)
    ) {; n% l/ z! x1 f& W2 @4 `
  379. ; Development Value: 60 (60 seconds)
    " P/ ^/ @; U$ X# {; ]- u4 @
  380. ; Production Value: 60 (60 seconds)1 o# A: Z0 A; n( r; d& W" p9 c) c
  381. ; http://php.net/max-input-time; F$ _2 ~/ L3 h, x# N% y# G7 A
  382. max_input_time = 600 T( u* n  ?# ~8 v8 T

  383. " ]0 P, k. H! p9 q3 c
  384. ; Maximum input variable nesting level1 t, v7 S2 o( S& l% Q$ Y
  385. ; http://php.net/max-input-nesting-level
    ; u3 Z  u' V: x: |* v9 o! u
  386. ;max_input_nesting_level = 64
    % x- j  a/ w8 M# R& h' P

  387. * `% [6 J8 l# c( f% R' ?: {
  388. ; How many GET/POST/COOKIE input variables may be accepted
    / E: R" C* o) ^' Y, [- S
  389. ; max_input_vars = 1000$ K2 o* e& h1 F6 p; K# }8 [* q
  390. 0 E# `+ o- L9 L5 b: U* ^
  391. ; Maximum amount of memory a script may consume (128MB)
    9 W  q; y. i9 U- J
  392. ; http://php.net/memory-limit. L" K3 r0 |& Y$ b% }
  393. memory_limit = 128M
    7 i# x  N# X* a

  394. 2 y/ X3 I0 G( d" M8 |1 L
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ( J5 d$ b% R# d0 t. r% j
  396. ; Error handling and logging ;3 A% W% Z% N  a; U
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9 o7 w' C# N/ K: _
  398. $ _) Q4 F( K* t! n. Q2 s, c
  399. ; This directive informs PHP of which errors, warnings and notices you would like9 F; C6 z1 U" m; t: H9 R5 X+ V( F' u5 T0 }
  400. ; it to take action for. The recommended way of setting values for this: D$ q1 y. \' @0 w( M6 p0 y
  401. ; directive is through the use of the error level constants and bitwise9 |9 B7 `  O3 p  T: L% ?6 a
  402. ; operators. The error level constants are below here for convenience as well as4 \" x9 s  Q' y8 \0 o5 ~
  403. ; some common settings and their meanings.
    2 U: y4 e1 O, ~
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    % ]$ h* d* X( d" x5 `- D' t6 l3 @
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    / H4 l; Z9 z0 S
  406. ; recommended coding standards in PHP. For performance reasons, this is the- L% a# e! P: o6 D: p2 |% o
  407. ; recommend error reporting setting. Your production server shouldn't be wasting( J9 K2 Y3 n# l+ W" w8 ]
  408. ; resources complaining about best practices and coding standards. That's what. D, V& l  b& m5 @
  409. ; development servers and development settings are for.
    " M5 Z( }( U% x
  410. ; Note: The php.ini-development file has this setting as E_ALL. This- d9 A4 @) j7 L  \. t& q, n/ {3 k! G8 I
  411. ; means it pretty much reports everything which is exactly what you want during( C$ {' d! d6 w. r* }; {5 B
  412. ; development and early testing.6 K+ I' ~% s9 P+ F$ S3 Z) u
  413. ;
    " S$ A6 Q9 L! Y+ z/ N( X
  414. ; Error Level Constants:0 ^, d8 D# a, [0 L% D) p3 k
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)7 b' D' [7 e- k( d8 j) t; z; Y
  416. ; E_ERROR           - fatal run-time errors
    3 l5 v" ~- X1 w+ c
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors2 R) `& I9 N2 b8 p
  418. ; E_WARNING         - run-time warnings (non-fatal errors)0 ?, o, d9 R0 ^2 r  D
  419. ; E_PARSE           - compile-time parse errors$ w! f5 T. ^) s* i( v9 Q
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    & p/ M8 @+ V- D6 a
  421. ;                     from a bug in your code, but it's possible that it was
    , `; |* w: ]0 B5 i
  422. ;                     intentional (e.g., using an uninitialized variable and- z; {- I$ z$ G8 T# ]& x! o: q
  423. ;                     relying on the fact it is automatically initialized to an
    9 |! B4 K5 n3 I% B4 b5 F
  424. ;                     empty string)
    2 k- _- F& S# |2 Q0 w
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ! {* T* E3 |0 z, t9 w. K* B  T0 B
  426. ;                     to your code which will ensure the best interoperability
    . _. ~( I8 j# U. a+ F5 p  w- i( o
  427. ;                     and forward compatibility of your code: V7 S: \; @. h% N. F1 _; u+ O
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup  h! \7 r, \* r; O3 A, |( R5 Q
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ( Q7 ^9 H0 e1 ?" x' c
  430. ;                     initial startup# D3 ]+ F5 K7 V  J0 k" c
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    & A0 O. u" n7 B# o6 j2 o
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)' ^4 E' d3 g' g+ I
  433. ; E_USER_ERROR      - user-generated error message
    9 j! E5 n( ~8 [+ f: `/ S
  434. ; E_USER_WARNING    - user-generated warning message
    0 J+ f+ h3 `; X
  435. ; E_USER_NOTICE     - user-generated notice message$ g' p# H2 g0 a  Y& n, s
  436. ; E_DEPRECATED      - warn about code that will not work in future versions: K. k$ K! C3 o, G9 k% U+ V; p6 b
  437. ;                     of PHP
    " W: {0 Z5 x, {& o: u
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings0 t* J4 y; A. O
  439. ;9 X2 U2 |6 K9 n1 f0 N) o
  440. ; Common Values:
    . V& b2 B7 T9 b; o& T- J: d# w$ ^
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    . x6 u+ z! h2 o  L" I" @, q# i
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)$ \$ N  U2 H0 H0 z! r
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)3 z3 \4 d) z: x9 d% p5 e1 o
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)8 i( F4 t, y7 [1 X/ Q; l
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED" l( {" ?3 p& w
  446. ; Development Value: E_ALL
    ' h: c* S  R7 N4 D: U; A
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ( P7 D* q$ a. b" ~. g, X
  448. ; http://php.net/error-reporting. w% {5 c5 W& N' u
  449. error_reporting = E_ALL & ~E_NOTICE
    ( W5 t& ~% F2 D6 |/ l

  450.   P* K" J: q* f! U
  451. ; This directive controls whether or not and where PHP will output errors,0 G) _/ P. O( c0 P
  452. ; notices and warnings too. Error output is very useful during development, but/ }1 C1 B1 @5 T1 V% i  U. i) ?+ e
  453. ; it could be very dangerous in production environments. Depending on the code
    & n5 s7 L# f+ L+ k( z% K: J' N
  454. ; which is triggering the error, sensitive information could potentially leak4 y% ~# n% i4 v8 Z/ z$ C1 n# j
  455. ; out of your application such as database usernames and passwords or worse.0 i0 u+ _5 {% j2 T
  456. ; For production environments, we recommend logging errors rather than* u( K1 d. I. k5 r+ _+ d
  457. ; sending them to STDOUT.3 X$ d# }4 j; H! ]& R
  458. ; Possible Values:; d% A9 i7 P# k+ g8 V/ E
  459. ;   Off = Do not display any errors
    - N! I& k4 W7 }/ e# ~
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ! p+ f$ O. G9 e/ @# _. L% h
  461. ;   On or stdout = Display errors to STDOUT
    / }+ o$ s* R/ Z! I, E; r% W
  462. ; Default Value: On9 q8 G  `1 K! f) n/ k9 _
  463. ; Development Value: On
    ; t9 _! s, W/ X) Q) ~- B: \) W
  464. ; Production Value: Off* X6 I( s5 ~4 G! G/ Z; ]0 d) N6 E
  465. ; http://php.net/display-errors
    3 l, e( l3 d' \4 Y+ p
  466. display_errors = On! p- n0 u$ z4 b4 r

  467. 3 S0 l- Q/ Q: O0 O& ~
  468. ; The display of errors which occur during PHP's startup sequence are handled3 `2 \* u! R2 N$ t& H  k
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    ' A# Q0 c" q  f/ l% b
  470. ; errors from clients. Turning the display of startup errors on can be useful in1 j& Q0 h! H- X' E. M7 [1 R! e* L5 `
  471. ; debugging configuration problems. We strongly recommend you
    2 N8 P& X4 o7 \, p" B. e
  472. ; set this to 'off' for production servers.& i- I( Q+ w- G8 C+ r
  473. ; Default Value: Off5 B2 y9 W! b5 [! F
  474. ; Development Value: On2 `9 j# v3 {$ @! v, K, y- c
  475. ; Production Value: Off# Y; _$ J! x( [$ A. D$ e: \1 J
  476. ; http://php.net/display-startup-errors8 a% |% {& _2 S; D( z. R
  477. display_startup_errors = Off
    ! u$ J& H9 A( W7 Q* F7 h( g
  478. 7 l  |0 a( I! W3 y& Z, `# K$ E* e
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    . G  r* }) _+ C% [
  480. ; server-specific log, STDERR, or a location specified by the error_log
    2 W. p  _9 T( i2 D( L
  481. ; directive found below. While errors should not be displayed on productions
    ! M. C) B/ X1 k  F
  482. ; servers they should still be monitored and logging is a great way to do that.
    8 T6 r+ E6 z8 |
  483. ; Default Value: Off
    0 U: D- d; y/ T4 U7 S
  484. ; Development Value: On
    4 Y: ?4 T0 h9 Y; r" k
  485. ; Production Value: On
    - }! S/ T1 s0 n; ?; h+ d3 D) l
  486. ; http://php.net/log-errors; W: ~+ Z( \2 p
  487. log_errors = On, B& e! g$ ^: _/ m& [
  488. 9 K, k2 S5 L$ q! e
  489. ; Set maximum length of log_errors. In error_log information about the source is5 w3 G( ]0 v: J1 _. ~
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ' i/ k9 ^( ], b. Q0 a9 d
  491. ; http://php.net/log-errors-max-len
    2 f7 w$ n' y6 r/ f
  492. log_errors_max_len = 1024& M; B6 x9 w& j; T9 ~' Q! x

  493. 5 X8 a; w% @! N
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    . n  l8 F8 r3 D3 N! u
  495. ; line unless ignore_repeated_source is set true.
    # I1 m8 O! O3 z& M3 u& `/ G) C
  496. ; http://php.net/ignore-repeated-errors
    , W; X  ?8 H( e2 I% O
  497. ignore_repeated_errors = Off: s+ Y+ K+ ]) M$ m' P2 U

  498. $ `- M2 W6 Y3 |7 _5 ~6 A
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    $ d9 D( u' F& F' y
  500. ; is On you will not log errors with repeated messages from different files or
    ; N4 [/ b& s( M- |
  501. ; source lines.! e+ u+ k  {% |$ N2 y$ G
  502. ; http://php.net/ignore-repeated-source
    ! ]" T6 t- o, X5 Q0 w4 Y
  503. ignore_repeated_source = Off
    & ~+ Y- J+ V. t& Q5 h* V$ i; L
  504. " Y1 z1 M# b: P0 E2 d6 _$ V
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    1 L# \. n  z- \4 {& L
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    2 G) g" L7 x/ M' v! \
  507. ; error reporting includes E_WARNING in the allowed list
    1 @1 n& Q7 z( o  U  i$ ]! x
  508. ; http://php.net/report-memleaks
    $ o# S/ a1 m5 ?6 Y2 O: G5 n; L
  509. report_memleaks = On; s/ j* c' W( p6 {9 ~7 [

  510. 7 ~4 C0 F6 \2 T$ ]" l
  511. ; This setting is on by default.9 V, B" n7 H8 O2 }1 h
  512. ;report_zend_debug = 0$ I. Q; N# S, l3 ?: r3 h

  513. + N% U& Q& O2 E* v9 O, O$ v4 A9 O
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    $ u! i3 z4 q0 @; l
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ; e: r  S% W4 f; ]4 m1 Q0 j
  516. ; however be disabled on production servers.
      X) ~* _- B# K- g" t1 [$ Q
  517. ; Default Value: Off
    ! u6 z; c. s2 M, M# P/ ~, p
  518. ; Development Value: On
    4 ~! W6 G! w- H* V1 C5 C5 m
  519. ; Production Value: Off
    ; z7 l& b% |# O0 e' D, f# v7 D
  520. ; http://php.net/track-errors
    # l. T3 x: f5 c- D
  521. track_errors = Off
      M# p  d% K! U. G6 D

  522. 5 ~0 p/ ?& f0 Q4 O( I
  523. ; Turn off normal error reporting and emit XML-RPC error XML+ q) {, `/ |. p' U2 k# x9 ?. \
  524. ; http://php.net/xmlrpc-errors
    , D6 T- i  {7 y* W8 ]6 s* I
  525. ;xmlrpc_errors = 0% J( ~+ p( I8 v7 I
  526. # w6 @% v3 U0 \2 T, K
  527. ; An XML-RPC faultCode
    4 O1 h* {4 [2 z1 j
  528. ;xmlrpc_error_number = 0, y0 s  A' I0 _. Q( `# b; w
  529. ( x6 m' c9 @7 b2 M/ M
  530. ; When PHP displays or logs an error, it has the capability of formatting the9 ]7 g$ v) u; a4 ?, q
  531. ; error message as HTML for easier reading. This directive controls whether
    ; a" q2 j' A* _* a* @
  532. ; the error message is formatted as HTML or not.& l+ Y* k' |/ P7 i
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ' N0 N, |9 N7 N9 Y+ m8 ^* ^4 Z1 P7 s
  534. ; Default Value: On
    2 N, _+ A! Q. A6 e
  535. ; Development Value: On, K+ U/ `+ m' b: \) ]
  536. ; Production value: On  \& M" B2 y$ Y: }2 k4 q' g
  537. ; http://php.net/html-errors
    4 W7 s1 w6 M% Z
  538. html_errors = On# ~" l6 n+ c# y8 M! j% a

  539. 6 h, ?; e$ E! @! x* g4 T# T. Q
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP6 Z; e4 s; y) I
  541. ; produces clickable error messages that direct to a page describing the error# v- {2 v% X1 N- F0 w& e/ F% ^7 Y( a, H
  542. ; or function causing the error in detail.  {% R+ R7 j3 ^" Q$ ]) N
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    0 X6 M! Y  {( D$ v8 o
  544. ; and change docref_root to the base URL of your local copy including the0 B, o; C/ ?" L% A
  545. ; leading '/'. You must also specify the file extension being used including  [* p$ W. O8 S0 ]) |( E  p
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which6 K+ ~) l: g' g& i8 P( r) x8 F5 Z
  547. ; case no links to documentation are generated.
    % y7 c+ c5 y3 x, G" H# s  Y6 D7 n
  548. ; Note: Never use this feature for production boxes.
    9 L/ A1 H) d% o9 M3 n
  549. ; http://php.net/docref-root
    ( g4 K' d1 O" t7 \1 {
  550. ; Examples
    ; t' h/ [$ U* v0 ?, l" D
  551. ;docref_root = "/phpmanual/"
    * i8 `- r9 z; f+ J

  552. * H/ ^/ |  {5 \3 O+ ]
  553. ; http://php.net/docref-ext
    ' m. t9 X9 c' P) r
  554. ;docref_ext = .html& t6 |) H9 d6 o& L

  555. ) c1 s2 I, q, c$ n
  556. ; String to output before an error message. PHP's default behavior is to leave
    0 K2 i' U( @# J2 Q& s, r
  557. ; this setting blank.3 |9 Q8 D1 `5 w
  558. ; http://php.net/error-prepend-string# Y) _8 Z5 S2 ^" E: |
  559. ; Example:
    2 l/ z) g0 k; y- M0 X
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    # ?& k( S( e/ r7 X; t+ W% W, |

  561. & u) ^: w6 |" t
  562. ; String to output after an error message. PHP's default behavior is to leave
    5 x* e/ v1 j3 y% H4 i5 E* d" I7 B8 M
  563. ; this setting blank.
    6 \% \- U1 S2 V( F
  564. ; http://php.net/error-append-string( I" `, l# b& T  S' J' R. x
  565. ; Example:( \% s# N- ^* z% F: C2 Q
  566. ;error_append_string = "</span>"
    5 d1 c8 Y- p- u* S* D, g

  567. ' R$ |, T6 H* _+ b  c* A- w
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    4 _5 d5 c3 H: f6 C! e7 ^$ h; s
  569. ; empty.( x+ H1 ~, _$ M* g5 K
  570. ; http://php.net/error-log
    " e: t- D: {0 @0 a9 V. C
  571. ; Example:
    $ d0 `3 Z( _$ a" P( u
  572. ;error_log = php_errors.log% Z' Z3 b2 c0 L* N3 G* Q
  573. ; Log errors to syslog (Event Log on Windows).; H2 H+ V) p& o$ W$ ?
  574. ;error_log = syslog
    $ Z5 I6 l5 O. C5 \4 |: S
  575. ! ?: b2 X4 Y' P
  576. ;windows.show_crt_warning! d$ A/ O! i6 q- M
  577. ; Default value: 05 ?: w; Y* E( e1 b; `% g9 K
  578. ; Development value: 0
    ! @& @0 p( z6 }
  579. ; Production value: 0
    4 E8 R3 M$ U, H. ~$ E

  580. 2 B; u; {: W5 U& M, v
  581. ;;;;;;;;;;;;;;;;;# r+ M" C' S& v
  582. ; Data Handling ;
    ' m2 P0 j# ?# T9 e
  583. ;;;;;;;;;;;;;;;;;/ R" @; l' d3 ~; L; B# o

  584. 6 [$ ?0 }; c: T" x2 _3 w" ^
  585. ; The separator used in PHP generated URLs to separate arguments.
    $ {7 W- [" G% h! v
  586. ; PHP's default setting is "&".1 _$ N0 S5 s3 c
  587. ; http://php.net/arg-separator.output& I, ~. T2 q# y
  588. ; Example:( t9 V; e, ^! P
  589. ;arg_separator.output = "&amp;"
    % E) y, c/ I; U" C$ g3 u4 j+ j
  590. * V; m' R; [' S0 ?
  591. ; List of separator(s) used by PHP to parse input URLs into variables.3 `+ y+ j1 @% B' ^* s! j+ i% r, S
  592. ; PHP's default setting is "&".5 ]0 p4 I, v7 a$ ~: d7 s1 ?
  593. ; NOTE: Every character in this directive is considered as separator!: \% f0 o- [1 B5 i0 U- q( }
  594. ; http://php.net/arg-separator.input
    2 S$ p- {# q% @
  595. ; Example:
    ' o1 b. b, s) m7 }
  596. ;arg_separator.input = ";&"
    % o) z6 d5 @1 P+ w

  597.   ^* J0 s1 Q; o( L
  598. ; This directive determines which super global arrays are registered when PHP7 ?4 s; m. E9 |4 t0 B9 @0 L
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    + B$ o/ [, D# c2 M5 b
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty' @7 V" T2 _+ d9 v6 A- W8 Y2 I
  601. ; paid for the registration of these arrays and because ENV is not as commonly9 |: l# h' R) @
  602. ; used as the others, ENV is not recommended on productions servers. You9 m: _5 }. h; w0 T$ z
  603. ; can still get access to the environment variables through getenv() should you
    0 f' F" N7 G: p: H
  604. ; need to.
      t4 t6 p% l. h- y
  605. ; Default Value: "EGPCS"8 p; ~1 H0 {) ^$ d
  606. ; Development Value: "GPCS"0 U8 R2 i# g3 s7 \, o8 ^1 D
  607. ; Production Value: "GPCS";3 K" _  ~$ w3 T6 ^' a5 c9 ?* I
  608. ; http://php.net/variables-order2 n& a" Y+ Q0 S' O" K  V
  609. variables_order = "GPCS". \( V* ~+ I- k9 }0 v
  610. , h1 {) s' y$ G, h, g
  611. ; This directive determines which super global data (G,P & C) should be- y  T( a/ l- [& m3 I1 e6 i
  612. ; registered into the super global array REQUEST. If so, it also determines" p% @7 h. H* I* A
  613. ; the order in which that data is registered. The values for this directive
    0 l8 w7 A& f: Z, S
  614. ; are specified in the same manner as the variables_order directive,
    5 S  D5 }8 w. M3 U1 f
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set) c. w. p% Y$ @- P' j  g+ v  k- c
  616. ; in the variables_order directive. It does not mean it will leave the super
    / T5 v4 U9 C' q* P
  617. ; globals array REQUEST empty.: k, G  S. ~' X. X7 h
  618. ; Default Value: None
    2 J+ i' k* a& k* O* {
  619. ; Development Value: "GP"
    7 E! Z* x0 Y5 H; k" Z  q4 A. I
  620. ; Production Value: "GP"& H1 U$ C! p, k( \
  621. ; http://php.net/request-order
    ; j# S" s0 J7 J$ j3 P; M) n$ L
  622. request_order = "GP"
    ; E8 R$ ^7 J7 D4 ?4 f7 i
  623. " J/ _) A' I% @1 n
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    4 }+ I* B  o* [: c
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    9 X- M5 L; x: p1 S
  626. ; is invoked. $argc contains an integer representing the number of arguments
    . |, X2 s1 f  l4 T: p" |1 a3 ~
  627. ; that were passed when the script was invoked. These arrays are extremely
      d) ?7 E; B  D+ j
  628. ; useful when running scripts from the command line. When this directive is7 E* w: M/ t1 ^
  629. ; enabled, registering these variables consumes CPU cycles and memory each time( W" A' A+ N: M
  630. ; a script is executed. For performance reasons, this feature should be disabled
    1 H* A" }/ J1 ]. O5 T! c
  631. ; on production servers.' U% x+ O- w0 e2 E0 e, r
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    - i6 F$ D3 u, K
  633. ; Default Value: On
    # a4 O8 E* M# j' y
  634. ; Development Value: Off# z3 |$ h! l! [) v  K8 u
  635. ; Production Value: Off" c- {5 \1 d& x) z% q8 n: ?
  636. ; http://php.net/register-argc-argv8 T1 T. z6 x% N
  637. register_argc_argv = Off: O' \$ u) T  a1 J+ H0 s
  638. ( @8 {3 e0 h) ~
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're2 g& |- k- U1 E6 ?
  640. ; first used (Just In Time) instead of when the script starts. If these
    2 u% P. i! i! ^! t
  641. ; variables are not used within a script, having this directive on will result
    $ y# n, f1 d8 |8 o% ~1 q  \$ I2 U
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled$ [  b8 @. q7 J* Z# O3 O2 W- f
  643. ; for this directive to have any affect.
    , z- X. {4 C7 Z7 r' k2 Q' W
  644. ; http://php.net/auto-globals-jit8 D" N$ S% }- ^4 r. G9 [
  645. auto_globals_jit = On. u8 m, Y5 {5 I& n5 B# U
  646. / |* M+ e% h4 B
  647. ; Whether PHP will read the POST data.5 n# v1 C( l8 q0 P! `
  648. ; This option is enabled by default.+ Z8 `6 @6 }7 t% J
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST$ Y% {! |! \+ s; J0 N! M* F/ K
  650. ; and $_FILES to always be empty; the only way you will be able to read the% G) b  r7 V% d9 D# v( M, B
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    . Y) P3 m) W5 s# X* N
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.- [$ N* G4 g, h* I  I& n- `
  653. ; http://php.net/enable-post-data-reading
    $ f2 t5 w2 D' F0 T0 p: W: H
  654. ;enable_post_data_reading = Off
    4 M# ?, Q, J+ C2 Y2 U: n% t2 Z3 m
  655. , y% x: H' P+ ?) G
  656. ; Maximum size of POST data that PHP will accept.% z& k$ _& p- j' y. I$ d& k' T7 ?
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    0 c( q# ~/ ~2 l2 k( [
  658. ; is disabled through enable_post_data_reading.
    3 \* l7 K4 C" [/ [, P5 w
  659. ; http://php.net/post-max-size! `7 j4 s9 C. g" b
  660. post_max_size = 50M
    7 H* J1 X7 ]  K( e8 l5 G' f8 W$ i- i) n
  661. & n& h) _& `% H
  662. ; Automatically add files before PHP document.
    8 K% R6 |* Z- V" M7 k4 {
  663. ; http://php.net/auto-prepend-file0 D) O# o4 t& \. F% ]% W: C& Z
  664. auto_prepend_file =7 _" g; n. V: ^. a3 i+ x
  665. * N/ ~! A+ U, Z+ |! E2 M0 F/ I% s& z* \
  666. ; Automatically add files after PHP document.
    ; h) ?! v4 ^/ F7 w+ H- e1 H
  667. ; http://php.net/auto-append-file+ M  t8 }  u. V/ \/ `
  668. auto_append_file =
    - E7 d2 e: ]1 Q3 B. k* X$ {

  669. 0 Q* z+ o% K' y) B0 {% ^  s/ R  j
  670. ; By default, PHP will output a media type using the Content-Type header. To# a' s6 T8 q/ i$ C# O* G
  671. ; disable this, simply set it to be empty.
    0 f, d0 a# o5 J
  672. ;$ V3 A1 B5 A- _2 x# r) P
  673. ; PHP's built-in default media type is set to text/html.9 m! |$ X* I0 |/ ?5 r
  674. ; http://php.net/default-mimetype
    4 M% a- b  o0 M% H2 N. L
  675. default_mimetype = "text/html"
    3 {  B, C! B; x) u. y# W$ F
  676. - p3 Z! A' Z! g' c* T& Q
  677. ; PHP's default character set is set to UTF-8.
    / X8 z6 {4 Z! \, N( l  w
  678. ; http://php.net/default-charset# |+ T  t# d! A( R. `& g
  679. default_charset = "UTF-8"5 m3 ^9 M; L3 A2 n1 G& Z9 H

  680. : @4 ^' y. I$ T% t# v, N. N
  681. ; PHP internal character encoding is set to empty." R  g& c: v+ |" v
  682. ; If empty, default_charset is used.
    . w% _' P  \" {& O& t
  683. ; http://php.net/internal-encoding2 c! j" A- Q4 o. Y( C; C
  684. ;internal_encoding =1 F; }0 s, }8 Y" o. J$ [
  685. 9 [* p; f3 z& K8 G6 M9 J
  686. ; PHP input character encoding is set to empty." D1 y1 w; u9 e3 a$ x% X
  687. ; If empty, default_charset is used.; M. t( W  Q8 G2 z' K7 S" I
  688. ; http://php.net/input-encoding) r% T: g& A; t$ ^" i5 R' P  J+ w
  689. ;input_encoding =
    9 o$ W7 L4 K7 Q3 }5 L, q5 {
  690. 4 a! O' u2 ^& L6 b) B' {' v$ }
  691. ; PHP output character encoding is set to empty.
    ! }4 v% Z& C: l6 d/ }6 m- @
  692. ; If empty, default_charset is used.
    - J4 @( |! ^  R* m7 Y  n
  693. ; See also output_buffer./ s( Z4 r2 ~8 a- r9 u
  694. ; http://php.net/output-encoding
    / s9 l+ p0 \: ^4 G. L
  695. ;output_encoding =3 W9 \8 k3 g' ~4 y, F1 F/ K

  696. 6 J' g" A; ~9 D$ Q
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    , d  ~" q4 n# l3 W
  698. ; to disable this feature and it will be removed in a future version.% B0 s; s- }. _
  699. ; If post reading is disabled through enable_post_data_reading,
    - j6 |! p' N' u
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.! M+ Q) ^7 }3 ]- N7 |( B
  701. ; http://php.net/always-populate-raw-post-data- q( d! P/ M5 P+ \( z
  702. ;always_populate_raw_post_data = -1% `% B. T! d* G$ P

  703. 9 J# U* _; ]" k' t
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    , u4 F4 [& n3 w9 x; M) C
  705. ; Paths and Directories ;& f9 h4 |5 h! Z  x- S! L5 }
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    + e/ B% B+ i# ]
  707. + ^$ I0 Z2 Z3 P0 @4 d% {4 S. r% K
  708. ; UNIX: "/path1:/path2"3 S& w, {0 w, k$ V) Z2 j
  709. ;include_path = ".:/php/includes"2 H) P# L  Y4 s6 A+ t# R4 o% S: u$ A( x7 u
  710. ;- H/ A9 q) [- l! I
  711. ; Windows: "\path1;\path2"+ k0 U7 i9 {( o7 v5 x& x# W
  712. ;include_path = ".;c:\php\includes"
    3 Z) J+ l# L( p) K
  713. ;
    / j; ], t$ ?; [  a) Q+ E( m) X
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    3 S1 j- j" a$ G* g
  715. ; http://php.net/include-path
    % S, B' H5 Q, m1 C: S4 [1 `8 K
  716. 4 A* W) X! y9 Y# Y
  717. ; The root of the PHP pages, used only if nonempty.
    6 c, ^$ @+ K8 w/ w
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root0 R9 }* u6 T( K
  719. ; if you are running php as a CGI under any web server (other than IIS)
    # n: w( K6 s& ]& t# u3 ~( c% m* y
  720. ; see documentation for security issues.  The alternate is to use the
    8 b4 I, ~  f, |
  721. ; cgi.force_redirect configuration below$ @" T5 ]. G/ D3 E- o7 d7 w3 H
  722. ; http://php.net/doc-root
    8 q( o( p% Q+ ^0 w1 q0 T; E- r
  723. doc_root =
    0 o6 _! B5 p# c8 `0 t8 Q+ d' Y7 W; y
  724. / t: E9 V  u5 s" c9 r1 i
  725. ; The directory under which PHP opens the script using /~username used only' _$ h: P' t4 F$ E# o3 E7 X* f
  726. ; if nonempty.7 V1 H/ ?6 d1 V" x( G4 j" o, l
  727. ; http://php.net/user-dir
      ]% V. G& V2 O  v. [
  728. user_dir =( t+ }; k  G$ I
  729. ' y: z6 Q* a' j1 T6 v0 U3 q
  730. ; Directory in which the loadable extensions (modules) reside.3 Q' T+ O$ Z! B  g2 G
  731. ; http://php.net/extension-dir
    & b- N5 g1 g5 g+ u9 p! L! r
  732. ; extension_dir = "./"
    4 c+ J% |" n) U# e
  733. ; On windows:5 q" W/ {" {7 Y/ z4 q( @
  734. ; extension_dir = "ext". q1 }. Q/ V4 n  O; v# i! m
  735. ) b8 ?$ B! R1 b7 W. W  p9 V
  736. ; Directory where the temporary files should be placed.
    1 C, Q6 v7 G1 y  [; U, O6 \* D
  737. ; Defaults to the system default (see sys_get_temp_dir)
    - Y# K& P1 E0 v  V+ _' C
  738. ; sys_temp_dir = "/tmp", l2 Z5 w  r! _6 c2 [- R

  739. / N/ R4 S( x  C1 M4 w
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
      r$ O! I+ P2 W' L% t
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically  e0 n" W# ]1 c7 r! T) K- }7 S
  742. ; disabled on them.# T9 p2 O, r; m0 G" d$ }$ S' }: k9 g1 P
  743. ; http://php.net/enable-dl
    ! X1 q* c1 o% F- m
  744. enable_dl = Off1 G. g4 |  a/ Z3 j7 n

  745. / p8 M4 X0 u0 d8 J: G
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    9 N1 v& |* B; v7 b) w
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    6 \, S6 Z7 H- F4 X! M4 j
  748. ; turn it off here AT YOUR OWN RISK  Q& R. e' U6 o
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**1 [, l  B+ o5 e+ ]7 o. }9 f. _
  750. ; http://php.net/cgi.force-redirect% k+ \  c0 N. E
  751. ;cgi.force_redirect = 1: t2 n: w2 L' M  f: G2 I' C
  752. 4 W& p% M/ K) y# @& g/ @
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    9 l7 S) L: |2 j( F& T
  754. ; every request. PHP's default behavior is to disable this feature.4 f9 G, `+ @- v  |  U
  755. ;cgi.nph = 16 b  K" p: ^& E1 i2 I' i! x
  756. $ l; z2 E% Q+ Q, A4 a- M
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape& o! O& X. V7 d% F/ J  F
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    % S( o% A( g- Y& Q
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    # h. F2 u5 C% q& I5 G: k0 I& w
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.7 H: w( ^# G  y4 p+ f/ o# R+ A
  761. ; http://php.net/cgi.redirect-status-env. G) s3 B, }1 g, q, E
  762. ;cgi.redirect_status_env =
    + `: n  @( r0 _# [' s

  763. $ x+ ^# b# x* o" ^. i
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's& I2 n, j/ n. r% ~, S* W( ?! j1 ?
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok' K; K9 w% Y! M$ t4 ?8 g3 k
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    2 p8 C6 Q/ E" i
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting- o& I' Z5 p9 ~/ b* H
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    % X" i! g6 Z; L. C6 ~
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.2 F& ~, c* x: C( U3 |
  770. ; http://php.net/cgi.fix-pathinfo! n" p, b5 C) j: ]3 q
  771. cgi.fix_pathinfo=1' Z, v% S( q. G) E0 [, H

  772. # K7 [# N# I; @" |+ e4 j
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside/ G6 n. B7 ]( C- q5 m  ]! V1 x1 q
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    , X6 \1 o& _9 h
  775. ; http://php.net/cgi.dicard-path
    ! b  w0 G# b9 M0 ~) M) X+ s: Q, B
  776. ;cgi.discard_path=1' ?. C: `0 `4 J( q/ a1 t3 V$ ]) t& l

  777. 1 u# n& Y; [' w* ]$ V7 \* w9 [: X
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate0 |# }( ~- Q  Y% z* L- N1 a! \( o
  779. ; security tokens of the calling client.  This allows IIS to define the
    4 s2 o/ r4 @& c$ ~
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    $ s; Q* U8 S6 x$ i
  781. ; does not currently support this feature (03/17/2002)
    , e+ [: ]4 V# j) L; P# ]
  782. ; Set to 1 if running under IIS.  Default is zero.
      J' B( e7 F7 n
  783. ; http://php.net/fastcgi.impersonate6 S+ }, k5 J1 ~
  784. ;fastcgi.impersonate = 1
    3 k+ |+ a; p2 {$ f, P6 D, z& l$ m
  785. : G" w. `6 ?- b; r) o  l0 J' j
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    $ ^* |. Z# o" V
  787. ; this feature.7 W5 l; Y( C" L. p1 t
  788. ;fastcgi.logging = 0% o' N# [5 O  U. v+ l0 p" Q# Q3 {) S

  789. & @4 r- ?+ T9 W5 ^5 M: `
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    4 D% V, f5 s7 G( ]
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that! N; H$ t; o2 d. e  S
  792. ; is supported by Apache. When this option is set to 1, PHP will send1 @7 W; R9 C2 i
  793. ; RFC2616 compliant header.5 T: m+ c" U0 I; a$ \! z7 J7 z  O
  794. ; Default is zero.% }8 l% [) @, j8 t$ G* j: S
  795. ; http://php.net/cgi.rfc2616-headers! {5 l1 a7 e2 c8 e0 @. `7 v
  796. ;cgi.rfc2616_headers = 0$ ?* O1 b5 G* y2 i
  797. ( s. k, B0 U) t& @/ k% ]9 W
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    . o1 ^; r2 u3 s6 ~* S0 l
  799. ; (shebang) at the top of the running script. This line might be needed if the. [4 k6 K. R/ c# z. N
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    0 s; o1 e' W5 U! C/ Z+ [
  801. ; mode skips this line and ignores its content if this directive is turned on.! g9 U6 ?# N+ K( r# Q/ c
  802. ; http://php.net/cgi.check-shebang-line% c  @9 U& s9 H" p) T
  803. ;cgi.check_shebang_line=1
    + a& j& q1 M1 J! N6 w
  804. 5 Y/ X! r. d  S3 T! u- I
  805. ;;;;;;;;;;;;;;;;
    4 x, b# p# ~: J# e; b* n: ~
  806. ; File Uploads ;1 n2 d0 Q! r  r9 z3 h
  807. ;;;;;;;;;;;;;;;;. t/ e. e" E! u5 [$ ~+ D" [

  808. 8 L, d( m0 ]3 m5 Y2 R+ w
  809. ; Whether to allow HTTP file uploads.1 {- q% Q. k7 R% N% e7 K7 {7 r: b
  810. ; http://php.net/file-uploads
    / s  ~- s' j' C! X9 o+ _9 s
  811. file_uploads = On
    , y& F) I. o7 C3 ?5 _
  812. / B; o5 ~: }2 E! P" H- E3 c/ e2 \
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    - `/ W  h: F! J( s# p+ a
  814. ; specified).& A2 h5 q9 D) E) B, W
  815. ; http://php.net/upload-tmp-dir& V! W( M5 l3 [) t3 s+ }  [. R+ P
  816. ;upload_tmp_dir =
    , i6 p* E0 D9 w. Z" _' W9 O$ H8 Y
  817. 5 O$ e, s  m5 {; j
  818. ; Maximum allowed size for uploaded files.
    ; e; t# s' J& h- d; X6 L
  819. ; http://php.net/upload-max-filesize/ l8 |8 G9 p6 @1 O* n6 J9 ^' h
  820. upload_max_filesize = 50M* \  l- M% D3 Y7 {3 N" U
  821. ; O9 |# k) C& b& o0 r' s2 `. \& j
  822. ; Maximum number of files that can be uploaded via a single request
    * W' a: h1 |  Y& m) W6 f
  823. max_file_uploads = 208 Y4 M2 H* f: ~, K+ u4 s

  824. : }" a3 {( }& C8 I8 H
  825. ;;;;;;;;;;;;;;;;;;
    9 c7 A7 _% e! c8 J: O
  826. ; Fopen wrappers ;' M6 z) z- Q5 e2 H4 I. {8 c
  827. ;;;;;;;;;;;;;;;;;;( }" l: [* H5 u$ N# ?& u
  828. ; Z: \' K5 j, i; Q- T* m
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.. U5 C7 O) O9 b# `) ^# \
  830. ; http://php.net/allow-url-fopen6 }, R5 W/ _2 Q$ q
  831. allow_url_fopen = On3 @+ ^% j, U7 X+ V) J8 H$ n

  832. 3 }8 S4 u1 H( O! ]5 w
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    7 a2 K7 X9 o+ X
  834. ; http://php.net/allow-url-include
    / E+ \& F! D: z) u
  835. allow_url_include = Off
    " K5 ]  F( p( b2 l( L' v
  836. * {" L! ~2 Z4 C4 f, f
  837. ; Define the anonymous ftp password (your email address). PHP's default setting1 a* Z9 j. Z9 O8 v
  838. ; for this is empty.  w/ H8 D! R) S$ O
  839. ; http://php.net/from2 X4 V5 j2 e/ c8 C$ g9 K8 \
  840. ;from="john@doe.com"! f/ }( R3 Y" f: e5 H
  841. % a' Q8 T- {, K; n% f3 u4 h8 A
  842. ; Define the User-Agent string. PHP's default setting for this is empty.3 i! X) S) c0 v5 N
  843. ; http://php.net/user-agent
    & I2 w. X# Y5 H0 h( [- M$ C1 `
  844. ;user_agent="PHP"
    6 H0 C9 R4 p: _
  845. 5 I; A- w4 E4 G  v0 y' R
  846. ; Default timeout for socket based streams (seconds)+ |! A- Y, X8 X5 K% B8 l- D
  847. ; http://php.net/default-socket-timeout
    0 m. H$ Z4 X7 F0 t9 k& o
  848. default_socket_timeout = 603 B4 Q% H; H& ?4 `4 ^" q+ M
  849.   [9 w1 b$ h2 q/ m' O
  850. ; If your scripts have to deal with files from Macintosh systems,
    3 ^0 W/ u0 p' ]- i; X2 t! l- F
  851. ; or you are running on a Mac and need to deal with files from
    # D2 R$ K+ f6 i3 O3 v1 E) [
  852. ; unix or win32 systems, setting this flag will cause PHP to
    * \( @: ~1 P& A+ h& ~) Y
  853. ; automatically detect the EOL character in those files so that# s% S! e; B1 X7 ]( j0 l% p$ p
  854. ; fgets() and file() will work regardless of the source of the file.
    4 N% q: c0 g- w+ A: t0 a
  855. ; http://php.net/auto-detect-line-endings" L" P; x( I, c1 X& J9 S
  856. ;auto_detect_line_endings = Off
    : Z5 _% t# ]7 l7 M7 Z

  857. ! \0 F7 L7 n( X
  858. ;;;;;;;;;;;;;;;;;;;;;;! y% `8 T" G4 ]
  859. ; Dynamic Extensions ;( N* k) ~% Q' d
  860. ;;;;;;;;;;;;;;;;;;;;;;
    & `2 U- j/ @: X4 Z$ q- s
  861. ! N* w5 K" W( Y* I5 m' `
  862. ; If you wish to have an extension loaded automatically, use the following
    ' ?; r( T+ X0 n9 x. |% w( Y- Z! k- _
  863. ; syntax:
    / B. B7 {& S6 q! B
  864. ;
    " W5 k) b3 N# z7 U$ o! O2 y( l6 I
  865. ;   extension=modulename.extension
      b6 q4 z  s2 v6 s1 G3 t
  866. ;" [0 n- o5 ]0 B, n  P$ X
  867. ; For example, on Windows:
    0 T) x! ]2 ?0 ?8 R3 h% E4 Y/ I
  868. ;
    ( v* _  ?7 h) w5 e
  869. ;   extension=msql.dll3 G/ ~0 b# |% S1 j
  870. ;( X8 ]. \# l  z# X: y, Q3 L
  871. ; ... or under UNIX:" d$ N) @) g. |0 `
  872. ;- j; b6 j6 I1 T/ A' Z1 v
  873. ;   extension=msql.so
    6 i" I% e) _( y7 i7 l! _
  874. ;
    0 u/ \) Y# P+ d# y1 t) i
  875. ; ... or with a path:/ s* j: @$ Y. V- I
  876. ;
    + s% s8 N; J& o. o
  877. ;   extension=/path/to/extension/msql.so
    5 a) g7 d9 ]9 {! ?7 X
  878. ;- q# O; F% }' M
  879. ; If you only provide the name of the extension, PHP will look for it in its0 Y# r4 {8 L- m8 g
  880. ; default extension directory.+ y8 Q! f1 }! b* A' f; A
  881. ;
    . q5 B' w6 M; |/ a. D# J
  882. ; Windows Extensions
    / {2 i7 `7 Y9 l4 x0 i% g
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ; g! M: a7 F6 m$ f. K5 |
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    $ t! |/ `6 i  \" @8 ~
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    9 N% E+ P# m0 h- B
  886. ; Be sure to appropriately set the extension_dir directive.1 Y# _  I- k: V0 c/ q6 m
  887. ;
    & I/ m8 [& M; p
  888. ;extension=php_bz2.dll" C3 I, @! }" X& z+ U& R
  889. ;extension=php_curl.dll
    ) h0 I& O1 D3 Y. ?( Y
  890. ;extension=php_fileinfo.dll
    $ h" T4 P6 P( B# P' R) z1 V3 q
  891. ;extension=php_gd2.dll
    7 f4 h) y) [4 H
  892. ;extension=php_gettext.dll
    # z; n) f) C6 s5 z7 g2 H$ w/ e( `
  893. ;extension=php_gmp.dll, d3 x' k% q* I5 T. w- @' S) j
  894. ;extension=php_intl.dll
    ! S* n! d& A( Y; o7 _7 }+ L
  895. ;extension=php_imap.dll
    3 r% B( L4 Y& s: [% a1 Q/ c
  896. ;extension=php_interbase.dll
    / P/ }  t: F' ]" @4 G  L9 L+ N
  897. ;extension=php_ldap.dll
    2 m7 ?/ E( i9 M; r+ A# b$ I
  898. ;extension=php_mbstring.dll' W; Q9 p$ I/ r  @: P
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it8 j. h. h# h/ C
  900. ;extension=php_mysql.dll! f0 |" @4 D8 O; M* r# _
  901. ;extension=php_mysqli.dll
    + K2 x* q+ d) S2 d1 d- [: K
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
      b. F. Z! V  Z. j
  903. ;extension=php_openssl.dll% t+ c4 ~9 K8 Y1 {/ r
  904. ;extension=php_pdo_firebird.dll
    + V0 N2 s1 U% N; E7 w
  905. ;extension=php_pdo_mysql.dll) A5 |! \4 k/ k; l
  906. ;extension=php_pdo_oci.dll
    0 Z& X4 p* O# {; g0 s* f
  907. ;extension=php_pdo_odbc.dll3 ~# |. Y( c; M+ U4 p7 j: ?3 u/ g
  908. ;extension=php_pdo_pgsql.dll# V' U, u; L9 ^. b
  909. ;extension=php_pdo_sqlite.dll
    3 }. g$ j' y' ^5 t
  910. ;extension=php_pgsql.dll/ M  C; @+ d+ u* v1 |- n; z
  911. ;extension=php_shmop.dll" a( I5 \. O+ X, b7 _

  912. 1 S- w) `2 B; @7 @0 ]
  913. ; The MIBS data available in the PHP distribution must be installed.
    0 t7 ~( U6 l! d1 N
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    : p! S& W) S: o1 @! W
  915. ;extension=php_snmp.dll
    ) G3 O$ J3 I/ E8 s& T% Y# C6 f) C
  916. ! {8 M8 A# I: l# L  z- q
  917. ;extension=php_soap.dll
    ) Q5 w' `/ I$ N# J6 f0 |
  918. ;extension=php_sockets.dll, o# x. x+ m8 i
  919. ;extension=php_sqlite3.dll
    , v, m3 Y3 F* ]5 e$ j& ^
  920. ;extension=php_sybase_ct.dll
    $ p% n) h4 n# }& q' x: C
  921. ;extension=php_tidy.dll. n8 U- K6 j! M* _" j6 r; F: i
  922. ;extension=php_xmlrpc.dll: X7 j4 [6 f$ S. [# n$ m
  923. ;extension=php_xsl.dll
    / w  e" J) H3 {

  924. 9 V1 n$ e+ K. r, U+ ]8 q4 _
  925. ;;;;;;;;;;;;;;;;;;;: }+ W, z: e0 Y, o" g
  926. ; Module Settings ;5 T) ~, j4 A. m! v1 J  B
  927. ;;;;;;;;;;;;;;;;;;;, ^+ r: {: a' Q6 l/ s$ i/ W7 L

  928. & D0 T0 _4 {% ]9 e. W3 L
  929. [CLI Server]
    4 n$ G4 H8 Y0 E+ C' C% q
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output., Q3 [& \" D. \) c* x7 z' s) N( G
  931. cli_server.color = On; c2 D' E2 W! Y, d; R! }

  932. 6 m6 M" z1 N) Q1 o! ~) U
  933. [Date]5 C7 A/ K! L) m+ Q6 E
  934. ; Defines the default timezone used by the date functions
    ; P; m0 f+ a* S8 ~( h6 c7 M- h5 j
  935. ; http://php.net/date.timezone( g" x) _. `" e6 Y2 V; W
  936. date.timezone = PRC
    2 n& K6 h+ [0 H2 b+ i" u

  937. ( t0 a! P: S1 |. }3 I/ K- Z) v
  938. ; http://php.net/date.default-latitude9 `8 v5 C% T4 j4 t& L( c* `/ h
  939. ;date.default_latitude = 31.7667# V; I# s& K  v
  940. . R4 F) s" ~8 f6 O' s3 S  i
  941. ; http://php.net/date.default-longitude3 [  I$ M6 Z3 R# s3 N5 N
  942. ;date.default_longitude = 35.23331 n+ K  D! y" M3 R

  943. ' W5 H% Y4 k' B7 {
  944. ; http://php.net/date.sunrise-zenith
    * z+ q4 I4 z2 |+ L* d# |- `9 b, U
  945. ;date.sunrise_zenith = 90.5833333 R! l) p3 e  w
  946. / E/ R2 r8 _3 P+ F# Z4 K
  947. ; http://php.net/date.sunset-zenith
    4 w/ @8 k% `- T9 p2 `  w1 J( K
  948. ;date.sunset_zenith = 90.583333* N  l4 \( s2 G7 }
  949. : X9 W( l4 V2 ~6 p
  950. [filter]  P$ g) [2 _1 Z7 ~" ~" L" j
  951. ; http://php.net/filter.default- {+ C  c; |1 Y! S% \, m5 ^7 w8 N
  952. ;filter.default = unsafe_raw$ _* T6 N( [( G6 }, V+ V/ [: w$ T8 u

  953. & B8 Q, i' I7 ~6 @9 @
  954. ; http://php.net/filter.default-flags
    * U2 ^9 f. _, s  A& `* D8 [$ ^% K
  955. ;filter.default_flags =
    3 S5 P6 ~: ^5 d- M) [( N

  956. 5 b9 E& X0 I2 `# @( q
  957. [iconv]/ G' v* f2 D3 P4 Q8 d
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    . }; d, o$ z3 x. [9 }' s
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.* Y. T0 w; c! W& Q" W0 f6 _& ?
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding, ]: |* D( B) `
  961. ;iconv.input_encoding =
    3 ]3 Z% Y3 L  k* I0 I- L# P
  962. 8 ^# H9 }: }1 p# z" L9 P
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.) U0 q" A9 ]5 L' [% S! s+ t
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.3 X2 l, m8 `! `' ]* h1 T
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding9 J( [1 K; u% b/ @: H
  966. ;iconv.internal_encoding =
    , t; G! j" e3 ~* b, Y& W( |$ H

  967. 6 N6 b9 D+ P8 E* {
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    2 s1 a8 G' p  I$ M
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.0 a( h" n- E$ w8 R
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding7 x4 {7 P  \- K5 c# y6 l  j
  971. ; To use an output encoding conversion, iconv's output handler must be set0 j! v  j# B7 G* X7 t
  972. ; otherwise output encoding conversion cannot be performed.* K- D( {& Y( y2 S3 C0 j" x
  973. ;iconv.output_encoding =4 S5 _: I# F% Y8 k) p/ c- H( u0 H
  974. 4 ?7 k1 l2 m0 _5 A7 T7 f& g
  975. [intl]
    2 {/ [" y" ~5 _" q
  976. ;intl.default_locale =# b* v3 D) e/ l' D
  977. ; This directive allows you to produce PHP errors when some error" n% _  V! M* X. g  l1 C
  978. ; happens within intl functions. The value is the level of the error produced.2 f7 R% _; S) n+ k% ~
  979. ; Default is 0, which does not produce any errors.
    - I% d& o$ o1 |! E" W! j; m& x3 ~  J) u
  980. ;intl.error_level = E_WARNING
    ) q" l( ^/ M$ w) |- n
  981. ;intl.use_exceptions = 0
    6 Y! ]2 h/ _9 w5 e% b/ k* H! x* X* {

  982.   l1 l' `0 ?/ P+ a
  983. [sqlite3]: F3 g0 H2 @4 d1 D% i
  984. ;sqlite3.extension_dir =
    : S+ B  ^2 k0 h' j5 w8 e( n

  985. 6 P& [: v( P/ S5 [8 P: _2 y
  986. [Pcre]
    3 k0 W5 ?' u1 e& G. ~: W
  987. ;PCRE library backtracking limit.
    : c- [) u/ }% i& s: @; u% x, [
  988. ; http://php.net/pcre.backtrack-limit
    & H  e( k" O' \/ b
  989. ;pcre.backtrack_limit=100000" j5 H1 r. H+ @8 Z5 y8 o# b: N# p' G

  990. 2 G) ?. F3 ^% h
  991. ;PCRE library recursion limit.
    ) Y5 h6 w$ C1 W
  992. ;Please note that if you set this value to a high number you may consume all: U% O: Y7 E5 [. X
  993. ;the available process stack and eventually crash PHP (due to reaching the( N( \8 w& |; Y9 C+ G0 n; r
  994. ;stack size limit imposed by the Operating System).3 B) P6 f$ p$ v$ r
  995. ; http://php.net/pcre.recursion-limit
    : p' R7 `4 A3 e8 Y
  996. ;pcre.recursion_limit=100000& Y& A# E( ^# h+ `) ^# g- C
  997. " i+ e9 k) H  N
  998. [Pdo]
    ! N$ @/ {/ z- \! \6 H  V# i
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"9 {: u9 U8 B+ U
  1000. ; http://php.net/pdo-odbc.connection-pooling
    9 H7 G+ u3 v7 B- C/ v  q
  1001. ;pdo_odbc.connection_pooling=strict7 x$ ~. z. U# Y1 S7 |' F: ^

  1002. 8 N2 j& X. Z' F+ L) m9 P
  1003. ;pdo_odbc.db2_instance_name+ b% w# o) C: n' b
  1004. 1 v, V5 l* d3 z, u
  1005. [Pdo_mysql]/ @  f0 r% y3 l! ]
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    $ Q  L8 }8 o& s
  1007. ; http://php.net/pdo_mysql.cache_size
      q7 E& E% T1 V9 @
  1008. pdo_mysql.cache_size = 20003 t2 C% I7 M# w% S
  1009. . ^, U. \3 T4 @: }
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in# [, I* @! d) ]
  1011. ; MySQL defaults.
    8 {* A0 n8 J% C4 G" e
  1012. ; http://php.net/pdo_mysql.default-socket
    / L0 V( b6 T! W+ D, v/ K
  1013. pdo_mysql.default_socket=$ A2 E+ H- \. u
  1014. 5 u& u0 t: \2 j
  1015. [Phar]3 s6 D& A. C8 H0 c& O* L* r
  1016. ; http://php.net/phar.readonly! g; c4 W3 ~" f6 Z1 p
  1017. ;phar.readonly = On
    9 R" g, J5 P& L
  1018. : b; C/ O3 n- r) U1 I
  1019. ; http://php.net/phar.require-hash- [% C' _" ]+ I& n3 E1 i
  1020. ;phar.require_hash = On2 [' b+ m0 e/ U+ w
  1021. 9 l* _' E! E0 K& r
  1022. ;phar.cache_list =
    * ^" X1 V2 z2 y; B2 ?" O6 f

  1023. ' B' G, T. ~8 B" O
  1024. [mail function]3 L2 e" R! m, a& e& ~3 `% }) o
  1025. ; For Win32 only.
    & D& k+ G- d1 _
  1026. ; http://php.net/smtp
    7 p# _! Y$ E- k$ e' t+ ~
  1027. SMTP = localhost5 l3 L9 S8 ]3 u6 S: R6 r
  1028. ; http://php.net/smtp-port1 D# k  j; R/ z( Y
  1029. smtp_port = 258 {  G& h6 Z$ B7 Z

  1030. $ G; F' o4 j+ _1 g5 [; ^4 ]2 s
  1031. ; For Win32 only.% @, Y1 O1 x: K
  1032. ; http://php.net/sendmail-from
    " r& A. ^3 y# n5 v) R3 ~% A
  1033. ;sendmail_from = me@example.com
    4 I$ O8 O# Z: L5 H* N# |
  1034. $ k- ^( J" x( m8 `
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    5 c& Y# I8 s: _0 [, }
  1036. ; http://php.net/sendmail-path
    : N1 R" l8 I: J2 }
  1037. sendmail_path = /usr/sbin/sendmail -t -i0 o4 T) v  }9 v$ b% \

  1038. 3 i, E( a2 g0 r2 F% W& X
  1039. ; Force the addition of the specified parameters to be passed as extra parameters& v) B8 m* N# F+ v, i8 b  L
  1040. ; to the sendmail binary. These parameters will always replace the value of4 g7 t+ i4 P) [% r; Y8 j# x  a* `
  1041. ; the 5th parameter to mail().* Y7 Q% v5 s# B1 [  K
  1042. ;mail.force_extra_parameters =5 I' ?' w3 I0 D  ?
  1043. 7 }" S5 I  Q5 V, P( U2 q
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ! u) p: G! p% ^
  1045. mail.add_x_header = On& U: p$ U+ T2 @* ]9 N* }

  1046. 6 U6 W$ h4 k$ V( a% o+ i
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    1 w$ d9 O! e- K4 w) t
  1048. ; the full path of the script, line number, To address and headers.
    7 e  |8 e# h! W3 \  d
  1049. ;mail.log =- F$ P9 T" O- g2 w  C! q4 i! `0 c
  1050. ; Log mail to syslog (Event Log on Windows).: {8 q, N/ ], V8 o: S/ G
  1051. ;mail.log = syslog4 f* Y- I$ b4 [$ c& P$ b1 T

  1052. - y) o7 G! r+ R" [% w
  1053. [SQL]
    3 L2 h* v4 G+ L* t/ R8 h2 y
  1054. ; http://php.net/sql.safe-mode( m' s1 B/ a+ b3 Y0 \
  1055. sql.safe_mode = Off
    8 K2 Y8 i$ |( K  T7 w2 L
  1056. ) Z2 ^4 O- A# `" V, m+ R
  1057. [ODBC]: t4 w/ ?: W2 P# ~+ R) _# Z' r
  1058. ; http://php.net/odbc.default-db) _& P& c  B2 N4 [3 Z9 v
  1059. ;odbc.default_db    =  Not yet implemented
    2 {& C7 N- n/ m9 o6 V

  1060. 7 }0 E* {8 o' a) b2 c) d: l
  1061. ; http://php.net/odbc.default-user5 E. ~2 ?: y! {3 J
  1062. ;odbc.default_user  =  Not yet implemented  C0 `, E9 w, g0 N) k

  1063. 2 |: G0 {) k" n1 G0 p
  1064. ; http://php.net/odbc.default-pw
    2 ^8 B' G. Y% ?/ f
  1065. ;odbc.default_pw    =  Not yet implemented3 r0 E7 ^3 c8 H& t5 Q  ^" a2 X

  1066. 3 m- q- a0 v  x
  1067. ; Controls the ODBC cursor model.3 ], w; Z7 s/ p5 Q% K
  1068. ; Default: SQL_CURSOR_STATIC (default).  x/ m. t( p0 t6 z
  1069. ;odbc.default_cursortype" P/ B: f) @4 |* Y7 ]2 ~( N

  1070. ) I7 F& D+ h, m) x
  1071. ; Allow or prevent persistent links.7 e( O/ a" N4 V) s. c
  1072. ; http://php.net/odbc.allow-persistent8 f; [1 ~# v2 a" Y- m% w& H" w
  1073. odbc.allow_persistent = On/ s9 Q, ~3 C1 _5 k
  1074.   @7 Z: N( }% ^/ @
  1075. ; Check that a connection is still valid before reuse.- l5 ]3 g$ F2 a, w
  1076. ; http://php.net/odbc.check-persistent
    ; h) d+ D( K" H* B$ P
  1077. odbc.check_persistent = On
    7 X- r! q0 x- c9 N5 o; ]
  1078. 7 f1 R6 M5 x+ i2 h9 _+ s  O
  1079. ; Maximum number of persistent links.  -1 means no limit.: @7 \- x" }4 v4 ?3 _
  1080. ; http://php.net/odbc.max-persistent9 y6 a8 {! I% f
  1081. odbc.max_persistent = -1
    : z2 }4 X7 u4 b7 [4 E: |
  1082. ) a& ]7 y% F* ]7 Y" @4 Q
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    . ]4 D- y: R  F1 x5 b
  1084. ; http://php.net/odbc.max-links+ K$ Q. H! c! `5 `( n( Z  K
  1085. odbc.max_links = -1# K. n5 D% ^% r# R, R8 x  @- T: t
  1086. % k6 y+ M' R7 Y
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means/ J1 \. d% {4 \7 a
  1088. ; passthru.2 Z0 A2 T0 K5 X& x( Q. R6 [
  1089. ; http://php.net/odbc.defaultlrl2 c1 X  E9 ^- z8 c/ w1 O0 C* ~
  1090. odbc.defaultlrl = 4096( l4 H. Z9 L" q9 K2 q% ]4 n
  1091. . |0 z2 ?! g3 ~+ F( T, B
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    . C0 S7 J3 X+ F2 z* d* P- P
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    , k- n* V# V; N! ~
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    5 [" z9 Q$ D' P. O2 N. i
  1095. ; http://php.net/odbc.defaultbinmode! y5 A+ n' {# m. C/ u7 t( g' _
  1096. odbc.defaultbinmode = 13 T5 w" Z0 n$ g% p
  1097. ! d: b$ }  P- |7 _/ ^
  1098. ;birdstep.max_links = -1# `2 Z# i0 q8 T- v. c
  1099. 6 R- j' @& \# G3 M6 c
  1100. [Interbase]& N# @7 Z% ]2 t: ]) @2 X4 [
  1101. ; Allow or prevent persistent links.6 Y7 e: A% j9 Q! r- f( k
  1102. ibase.allow_persistent = 1; ]+ c/ U# W0 r& f4 i% m+ }: X
  1103. 2 q- R1 Y; o2 F; F+ W8 ?6 J/ V
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ) }; K0 j2 q/ Q2 T
  1105. ibase.max_persistent = -14 \) W7 s1 \* c6 w/ s! ]
  1106. ) V" P- i$ O2 i, S% S/ i
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.  R4 g5 n# w9 r9 @; V
  1108. ibase.max_links = -1' E* U2 N9 X8 w* G) K

  1109. ' w/ p1 w; e/ x# a" x9 I
  1110. ; Default database name for ibase_connect().
    % x3 `: A$ n! m# e: B
  1111. ;ibase.default_db =
    & W, Y* i' V  }. Q1 Z$ }) S  i' A

  1112.   ?1 g& m0 x( c
  1113. ; Default username for ibase_connect().8 f& _" S; ~8 ]! r1 J
  1114. ;ibase.default_user =- a8 Q1 g3 N2 _- c
  1115. , [' l! G$ I: ?  l  \0 \8 _
  1116. ; Default password for ibase_connect().
      t9 s  w& ]* K# Z. K
  1117. ;ibase.default_password =2 k8 K! d5 c& a. w  U6 ?5 n

  1118. , j- ~. s8 I* \8 ~6 O
  1119. ; Default charset for ibase_connect().
    , A( W6 Q& z% }, j$ |/ Y6 m! H
  1120. ;ibase.default_charset =3 N1 X9 l, u, M. P3 n

  1121. . a+ \% }/ q2 v. L
  1122. ; Default timestamp format.( a% h( M1 r$ y/ j" ]7 z
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"" o8 J- r) ?* Q. f' l& L# H

  1124. & r; v. @& `+ k( k
  1125. ; Default date format.
    $ ^+ p* C: l0 c: }0 @! [8 w
  1126. ibase.dateformat = "%Y-%m-%d"
    8 q9 T! ^+ k1 O7 s& o
  1127. ) x" x: Y- K: e  }
  1128. ; Default time format.! u' `: n: B( ^/ K, ]2 v. a
  1129. ibase.timeformat = "%H:%M:%S"
    , J5 \( A4 Y2 U9 p& q, P8 f
  1130. 2 `2 T* o& E! f3 l
  1131. [MySQL]
    % L: k( V; m, H( K" c6 P$ N
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements( Q/ Q. M# X& I  ^
  1133. ; http://php.net/mysql.allow_local_infile
    ( ^* e- c/ w# s  U2 G' J/ x
  1134. mysql.allow_local_infile = On
    ' a+ H  n/ J9 Z. l+ R+ Y( X

  1135. 6 C$ ?" y" X1 ?5 j5 R" V
  1136. ; Allow or prevent persistent links.
    3 s7 D, {) A& r* \
  1137. ; http://php.net/mysql.allow-persistent
    * B. R! y* N' d" K8 y- @, ~
  1138. mysql.allow_persistent = On# l' P* E% Q. n5 D

  1139. % K" |* Y4 q$ C! o, I& P: N+ @0 L
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache3 @* G0 j1 e# x# w6 \
  1141. ; http://php.net/mysql.cache_size. R7 q% }* ^) ^0 w6 S6 {$ l
  1142. mysql.cache_size = 2000
    + {- G( G5 z' C1 `

  1143. $ Z* |! [& A6 u- I, W
  1144. ; Maximum number of persistent links.  -1 means no limit.% X( S" _: @& R+ f/ ]
  1145. ; http://php.net/mysql.max-persistent
    5 u7 @( ?! K5 U0 d- A5 Q2 r: T& u
  1146. mysql.max_persistent = -1- n9 u$ i1 T# H: ^1 C
  1147. . P& k7 ^6 @& r8 E
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 ~: R% N, p# L2 p  T6 Y5 K8 z
  1149. ; http://php.net/mysql.max-links
    ( R5 ^9 L7 Q5 A% q4 v* v( Y; Y
  1150. mysql.max_links = -1+ J6 v1 L- a, _
  1151. % m: D( t% A6 y4 Q/ a* k, x3 v0 G( x
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    0 D: m2 J6 [, T/ w
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the; q5 ], u, l& k+ i+ D5 r
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look  I! E) u/ X9 _; F
  1155. ; at MYSQL_PORT.
    7 Z' }0 g* z# s7 r3 A+ e* u
  1156. ; http://php.net/mysql.default-port6 Z4 r- f" X9 F
  1157. mysql.default_port =9 \4 L8 \& t  _
  1158. " K+ A' x: K! T. `" A& o  M
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in8 z8 l% e1 b: m0 Z/ _; u
  1160. ; MySQL defaults.+ V- p' L" B& h. ?7 ^- m- B' W$ [
  1161. ; http://php.net/mysql.default-socket
    4 e7 Z! ^! M) c8 p0 l5 `: a
  1162. mysql.default_socket =; ]# l/ x6 g: G5 z3 c1 w
  1163. & I7 h" t* z: E9 H% U, t
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).9 d- f0 f, n8 d
  1165. ; http://php.net/mysql.default-host6 C+ z3 Q6 P) J$ N1 {3 p6 a0 M
  1166. mysql.default_host =
    5 k7 d2 I& A/ t* r9 w; m
  1167. 1 X3 i6 Q+ o& L1 z( s/ D
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    " z% k& I$ p% c( \5 N/ F4 \
  1169. ; http://php.net/mysql.default-user
    / `# x, y$ [* K0 E+ p+ Y
  1170. mysql.default_user =) Z2 _. |1 w  |7 J' f2 E$ F  b

  1171. 7 R  z9 ]! y) D* w5 |
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    5 j5 g, ^) q, A
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    9 |5 J% u* V% d- D+ d2 X
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    - {4 v* e; W; x3 ^" V9 F
  1175. ; and reveal this password!  And of course, any users with read access to this' B/ N4 `* Y" ~& T  ]
  1176. ; file will be able to reveal the password as well.
    ( b& c0 O8 r# j2 O# H
  1177. ; http://php.net/mysql.default-password- h# B2 K/ B6 a/ Y; F
  1178. mysql.default_password =% @2 _9 K/ L/ a1 ]: |- k
  1179. 9 L$ q  \) e2 _) D3 P
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit+ p$ C/ I9 G! I) z) b
  1181. ; http://php.net/mysql.connect-timeout
    ! P4 O: g3 `8 R- w
  1182. mysql.connect_timeout = 604 [5 \$ F2 `5 H0 I+ X0 x4 F
  1183. 5 I9 O; r  |& K" C) C: B
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    $ q! w# E  y: F* u
  1185. ; SQL-Errors will be displayed.
    ( W" p' p. g( n& L6 T- j  Q: |( z4 ?( I7 c
  1186. ; http://php.net/mysql.trace-mode" f# y! R7 P/ @/ K; V& d# R
  1187. mysql.trace_mode = Off
    * h3 r$ z* I" J8 t7 w2 r9 d
  1188. ! |. p: W& h0 D# V% @
  1189. [MySQLi]  h: r% }; t+ C: ?4 w
  1190. 7 w5 e8 K  d. w0 L5 J$ w) Q
  1191. ; Maximum number of persistent links.  -1 means no limit.
    + ~5 J& k* r/ ], }% }9 U
  1192. ; http://php.net/mysqli.max-persistent5 ~5 o* v9 }9 K: B6 q& J1 W
  1193. mysqli.max_persistent = -1
    / c  M+ H1 i8 y  @+ G

  1194. ; p& l  O- R6 L+ f1 l1 G
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements$ f) e- g, X8 M  R1 \
  1196. ; http://php.net/mysqli.allow_local_infile
    0 F" W4 Q; x! @
  1197. ;mysqli.allow_local_infile = On
    7 P( t! }0 O4 L1 U9 n$ X
  1198. 6 N; F4 c( c* P0 V, I( ~5 J
  1199. ; Allow or prevent persistent links.
    - T6 d8 B! Q- a# w9 H* u) ^
  1200. ; http://php.net/mysqli.allow-persistent
    . n" C7 B' H5 }/ w; B
  1201. mysqli.allow_persistent = On* P- ~: b5 z1 @- F2 m' L

  1202. & R- }! d' C3 ]6 ^% R- u
  1203. ; Maximum number of links.  -1 means no limit.8 y9 G& z, ~2 ?- ]; C* t
  1204. ; http://php.net/mysqli.max-links
    2 s2 E0 E" N* K3 T
  1205. mysqli.max_links = -15 Y3 R. m9 N* g/ T) p

  1206.   S* {$ U  P2 K3 L
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache' r, G/ ?9 n$ M& O3 S/ a# L# i4 A
  1208. ; http://php.net/mysqli.cache_size
    5 o6 v3 s1 R( |* k% _( l
  1209. mysqli.cache_size = 2000" B) G8 v" [% h- M2 n) l
  1210. 2 c) O4 O+ n$ F; j! o+ q4 C
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    8 m, @3 K% R; ]8 z; P2 @" s
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
      x* N: F, W) n
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look! o8 m6 j& W$ R; c- A8 {) n* O( w
  1214. ; at MYSQL_PORT.* _4 G5 b. j" a" ^/ ?
  1215. ; http://php.net/mysqli.default-port
    % H+ X: b) q% F, y$ X; l! S
  1216. mysqli.default_port = 3306
    3 r8 O& h) ]- g
  1217. $ v+ I2 n3 o2 N$ P4 I
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    # f6 e5 A5 d6 J* |* H
  1219. ; MySQL defaults.
    % h3 l" ~1 t' ?/ t
  1220. ; http://php.net/mysqli.default-socket
    * Q6 D8 ?% {$ @) n
  1221. mysqli.default_socket =
    4 v, K9 F& C/ |" f; Y

  1222. ! r# [! y4 o" V* ]
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    : w. Q! m' W: {+ ^; c* l
  1224. ; http://php.net/mysqli.default-host
    8 b) h7 K7 V! @8 L8 z% U9 R
  1225. mysqli.default_host =
    - ?% ~# I) X0 Q" M
  1226. 0 K. A$ a6 ^: E2 ~) E% Q
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    , l  g2 C1 s/ ?6 ^( m
  1228. ; http://php.net/mysqli.default-user
    0 b+ m/ t. k' L# ]2 K5 Y  ?
  1229. mysqli.default_user =! _9 H% }) N* r6 |$ J, N3 i

  1230.   L8 L0 V6 N% o- z$ o
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).* e8 Q) g1 p" c( l5 w" A8 j
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.- d+ B" ~, }' z0 a9 [+ t
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")) \" b' p% j3 s( ]
  1234. ; and reveal this password!  And of course, any users with read access to this
    & o6 E; V- Z. w: K* ~
  1235. ; file will be able to reveal the password as well.3 ]/ |1 L% ]: K( n3 a$ E% J
  1236. ; http://php.net/mysqli.default-pw1 M, i& j) f8 q! C4 y  l5 |4 }
  1237. mysqli.default_pw =
    ; b. P0 q# i$ P
  1238. - p  p& C* d$ g% h& H
  1239. ; Allow or prevent reconnect/ ?6 u7 Q: y5 E9 h8 k  J3 r2 `: G
  1240. mysqli.reconnect = Off6 x$ c- H* Z2 ]

  1241. 0 K' q. |, a& O' |/ r
  1242. [mysqlnd]: z, O9 i& r. v* h! h( x
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    6 [: v+ W* z5 s
  1244. ; used to tune and monitor MySQL operations.
    * ^/ I" x" }) q4 y
  1245. ; http://php.net/mysqlnd.collect_statistics  T% k, u% {5 e7 U9 r2 m1 j
  1246. mysqlnd.collect_statistics = On* Y1 ]( z% h! s) m$ P( {/ s
  1247. + U9 s% t0 C" V0 h% A% F
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    * e3 Y8 z& l0 t* H  k# W; O
  1249. ; used to tune and monitor MySQL operations.
    3 i" P: l& `: S6 Z
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    7 B* ]: N( }/ n
  1251. mysqlnd.collect_memory_statistics = Off
    , ]3 X' M4 b* L6 j" }& M+ }* ^
  1252. & O+ X4 E) Z3 w
  1253. ; Records communication from all extensions using mysqlnd to the specified log$ e9 G( g- ?$ q% p$ Y. v- c% E
  1254. ; file.! O1 _! i0 ?  {2 A# M: t* ?+ a
  1255. ; http://php.net/mysqlnd.debug8 E, k0 F- M& ?2 G
  1256. ;mysqlnd.debug =% N; W6 E. J3 j
  1257. * x% N5 M# S3 {
  1258. ; Defines which queries will be logged.
    ; _! [6 ?8 b7 X( R$ s% m. r
  1259. ; http://php.net/mysqlnd.log_mask4 }0 s2 p5 f8 e
  1260. ;mysqlnd.log_mask = 0& H5 z5 r7 `- C& ~! o

  1261. 8 _  d9 h' b2 j8 p+ _! ^
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    5 P' h$ U/ d  p8 p* ]2 X
  1263. ; http://php.net/mysqlnd.mempool_default_size/ R  R' I3 X1 c3 ?' V$ r
  1264. ;mysqlnd.mempool_default_size = 16000- M: a' ^6 J2 N4 F

  1265. " W$ C0 I+ K* w  h* A
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.! R$ p/ h( G% ]' i' Q- E/ W
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ( @3 k1 o! b7 Q& e
  1268. ;mysqlnd.net_cmd_buffer_size = 2048& S. a) ]# D, J& L: z6 \

  1269. 8 o3 K5 T  f$ Y
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in" |/ H" @# [/ e) M; |
  1271. ; bytes.6 @1 v! @9 b0 P, T
  1272. ; http://php.net/mysqlnd.net_read_buffer_size2 a9 X' K/ e/ s- q5 y
  1273. ;mysqlnd.net_read_buffer_size = 327683 E1 K) C$ q9 a+ M

  1274. 8 W% W% d$ T. }# Z- p& P
  1275. ; Timeout for network requests in seconds.
      X* V1 v) O8 r6 n- ]$ R: {
  1276. ; http://php.net/mysqlnd.net_read_timeout
    , ?5 W7 F/ `' V& A) z: |
  1277. ;mysqlnd.net_read_timeout = 31536000/ I1 q  q. @8 R/ E0 B& r/ L$ D  R# ^

  1278. 2 K4 D+ D9 f* i4 S
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    + u( p* s. v( s8 Z/ n$ A
  1280. ; key./ I) p6 ?. p, O+ `
  1281. ; http://php.net/mysqlnd.sha256_server_public_key2 n! J, X1 d+ y: R8 B  L
  1282. ;mysqlnd.sha256_server_public_key =
    % _) [$ a# U# n

  1283. " w3 S3 O: [7 L$ \/ e2 w
  1284. [OCI8]1 c8 Q- f( h: M1 n7 ?: w! t& v

  1285. & ?! @  j# p% W! N0 |& ?' b- |
  1286. ; Connection: Enables privileged connections using external" t) }% m" Q: ^& Y& c
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    / U; G1 h* V& O9 N" m5 }! l: ?; x$ C
  1288. ; http://php.net/oci8.privileged-connect+ F  B$ t  b3 ?5 c' P+ o) h
  1289. ;oci8.privileged_connect = Off% M4 a( O; ~3 e6 Y9 o+ ^! J# B& n

  1290. 1 Z$ n9 Q1 a) g! u' u: }( A! j1 W
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    / J5 H  Q2 I- s( U) y
  1292. ; process. Using -1 means no limit.
    6 w8 K# t/ x6 ?
  1293. ; http://php.net/oci8.max-persistent( m# t: h5 X; H  g( N
  1294. ;oci8.max_persistent = -1
    ; v$ A. v: O! _

  1295. 1 C8 D# w7 B5 W) ~* U! y
  1296. ; Connection: The maximum number of seconds a process is allowed to
    # O6 ]5 a* n* i
  1297. ; maintain an idle persistent connection. Using -1 means idle
    / Q! P1 }0 t7 P' s0 G6 J7 T! [
  1298. ; persistent connections will be maintained forever.% ?3 I7 s0 Y* Z" ]1 i9 S
  1299. ; http://php.net/oci8.persistent-timeout  o7 B2 `' N/ ]3 Y
  1300. ;oci8.persistent_timeout = -1
    4 ?2 y1 {0 {4 M7 x7 O5 p2 w+ X
  1301. / C- _: p9 Y& A# z: f0 Q
  1302. ; Connection: The number of seconds that must pass before issuing a* ]" q( t% w% @+ G( M* Y8 ]
  1303. ; ping during oci_pconnect() to check the connection validity. When& C" }# k& ~* Q2 I
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables$ u! t/ z$ ^" P9 d3 v- Z' f
  1305. ; pings completely., g* D0 ^, V: I: Y6 _! b/ R1 t! i
  1306. ; http://php.net/oci8.ping-interval
    # K% x* Q; a: H) t0 Z% H
  1307. ;oci8.ping_interval = 60. A, }- `  Y5 j- l

  1308. ! e8 R' I, i8 i( b" G
  1309. ; Connection: Set this to a user chosen connection class to be used, }2 M% T8 ~; q) h# z; n
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    & A* g  E% _, o3 O! i7 i
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    4 I( z/ e6 w; P: j! z
  1312. ; the same string for all web servers running the same application,
    6 m8 T$ T" O6 x" j; P# F  C9 C2 ~
  1313. ; the database pool must be configured, and the connection string must
    0 A- Q1 @+ B! K* P' j
  1314. ; specify to use a pooled server.4 r$ S8 F# @: ]: n
  1315. ;oci8.connection_class =' m' Y4 k' n0 S, p1 a, F1 f: `
  1316. 4 ?( [. r4 ~$ s3 C3 D" }) t
  1317. ; High Availability: Using On lets PHP receive Fast Application! \0 s" {; h6 e7 g' |( q: Z( d
  1318. ; Notification (FAN) events generated when a database node fails. The* |0 E$ c$ o- Y' X' X4 d# B* t
  1319. ; database must also be configured to post FAN events.
    5 f& m4 U9 Q! }/ M
  1320. ;oci8.events = Off
    % S1 T. R: ~; \# D2 u9 _

  1321. 0 d: r% F8 r1 l, J; a6 b) o
  1322. ; Tuning: This option enables statement caching, and specifies how
    , E0 P1 T: s, b! s+ Y
  1323. ; many statements to cache. Using 0 disables statement caching.
    3 z  X' n' J0 z
  1324. ; http://php.net/oci8.statement-cache-size
    / d5 D7 r6 j# f9 g) _; h  N. Z8 O
  1325. ;oci8.statement_cache_size = 20
    7 o- Z9 H0 s& _8 ]! C: |
  1326. : Z6 E8 T5 `: s9 ^. M
  1327. ; Tuning: Enables statement prefetching and sets the default number of- F5 k! E5 s! C) l' b$ r  T) _6 z% k
  1328. ; rows that will be fetched automatically after statement execution.
    $ Q" m. o* h5 @! N1 B; O: p
  1329. ; http://php.net/oci8.default-prefetch6 ^. B8 g( N- q+ U9 S  q( l$ X# C" C% |9 p
  1330. ;oci8.default_prefetch = 100$ b' h' S1 `- p3 ?4 L5 \- y

  1331. ' o+ p6 ?" E1 N- O
  1332. ; Compatibility. Using On means oci_close() will not close
    : Y6 Z! n; k) y- X& O
  1333. ; oci_connect() and oci_new_connect() connections." o; S  g+ Q! k/ L/ C) [' o8 n
  1334. ; http://php.net/oci8.old-oci-close-semantics- X0 {" a8 ]' k" X8 N6 g( Q
  1335. ;oci8.old_oci_close_semantics = Off# U' p2 d7 G6 L5 W

  1336. ; Z1 R2 h, X4 E) D  Z
  1337. [PostgreSQL]( m! Z/ o# `! i. Z" N- O
  1338. ; Allow or prevent persistent links.& F2 M0 H0 Y5 {: B
  1339. ; http://php.net/pgsql.allow-persistent$ Y# c% R8 \7 K$ N# W5 M) S! o
  1340. pgsql.allow_persistent = On$ |, t* Y6 I  r1 B8 V- N
  1341. ! C' `+ c- V9 S1 Q6 I3 D8 W
  1342. ; Detect broken persistent links always with pg_pconnect().
      D1 p! _1 u6 r4 ^3 ~. Z
  1343. ; Auto reset feature requires a little overheads./ h8 F0 a# S" v" r) ^& }5 ?% n
  1344. ; http://php.net/pgsql.auto-reset-persistent! G. ]8 d6 s' Y6 A) p
  1345. pgsql.auto_reset_persistent = Off5 e% _" Y( _& m+ L" ^  X- @$ n+ T

  1346. 9 E) T: T8 b# B0 }- O
  1347. ; Maximum number of persistent links.  -1 means no limit.
    8 |: L/ A0 L) o7 _
  1348. ; http://php.net/pgsql.max-persistent
    5 o6 p3 B1 {% a: ]/ V
  1349. pgsql.max_persistent = -1
    9 ^) }7 i: U& J; t+ w
  1350. + P9 I! M* M' V) l, `) E
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.3 J5 o1 x5 E8 s( W& p- A
  1352. ; http://php.net/pgsql.max-links5 N; B" B$ ^, D! z# }* |6 l
  1353. pgsql.max_links = -1
    * y) B. {* n" \$ W+ ^$ @' g- k
  1354. ! T0 x9 j1 ]! g
  1355. ; Ignore PostgreSQL backends Notice message or not.
    - P! r1 x. @- ]
  1356. ; Notice message logging require a little overheads.
    6 V) C; u' z8 o5 a* L! ~9 W2 a
  1357. ; http://php.net/pgsql.ignore-notice
    ( K+ K- f4 `9 _* r6 I6 q3 B
  1358. pgsql.ignore_notice = 0
    , }* e5 ]0 i# v3 |9 h3 z7 l

  1359. , k( B2 U5 p5 L- L$ j* F5 I
  1360. ; Log PostgreSQL backends Notice message or not., M" g) R: M# h$ [7 ]7 C
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    1 ^: L, Z9 C+ x
  1362. ; http://php.net/pgsql.log-notice5 |& r- n- v) k# f6 `2 f
  1363. pgsql.log_notice = 0# S& P9 `' O3 F, i

  1364. ( _4 i8 K9 q& ~) z2 d  @  Z/ k) l
  1365. [Sybase-CT]
    * p% I9 O, V& r/ J
  1366. ; Allow or prevent persistent links.
    - w% D. A" @' b
  1367. ; http://php.net/sybct.allow-persistent
    # z0 T+ U: V* k3 Z6 v# H7 c
  1368. sybct.allow_persistent = On
    & B5 U& S6 }8 z2 a" D% A
  1369. , O  y, f- c! ?7 n& |
  1370. ; Maximum number of persistent links.  -1 means no limit.% A# K) g# x; [( w5 C1 ^, [5 V* v
  1371. ; http://php.net/sybct.max-persistent
    - N) ~( x, |. _. H
  1372. sybct.max_persistent = -1
    9 K5 P% ?+ X* L) j6 K  |

  1373.   S% B+ n: A& C; x0 l+ g$ D, X  V. m
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    $ _& E' x2 w0 |- I! B
  1375. ; http://php.net/sybct.max-links4 Y$ T) l, z+ Y: b$ D! E2 M
  1376. sybct.max_links = -11 p, ^9 p" B4 J0 v
  1377. ; z5 g3 x; x& i2 d$ M4 K. z
  1378. ; Minimum server message severity to display.+ c! g. H+ L* b" b' q
  1379. ; http://php.net/sybct.min-server-severity
    7 S+ R4 b" E8 w$ Z  D- y* z
  1380. sybct.min_server_severity = 10
    % A) U& k- a9 |. }1 }$ q

  1381. % O' R- O+ U6 b9 g& n8 q# U0 G$ e
  1382. ; Minimum client message severity to display.7 o0 p6 o/ j" C4 C% r! w
  1383. ; http://php.net/sybct.min-client-severity
    8 o. z( i2 Q, ]6 ?4 P
  1384. sybct.min_client_severity = 106 j7 m6 ^2 _1 i9 u7 e* t) L- w+ x

  1385. . u9 y) ~+ c7 g' f3 H
  1386. ; Set per-context timeout
    8 g8 ?* l  R& w1 ~
  1387. ; http://php.net/sybct.timeout
    / S' Z* L  I7 t) p7 |, O# O. k
  1388. ;sybct.timeout=) z* |# m5 H# U+ ]2 [& M  @

  1389. ! Z6 Z# @3 `  I' A, F
  1390. ;sybct.packet_size
    " j) ~) ]* F# |$ H' z1 U
  1391. ) V& m) [% d3 \! y
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.; a) ?9 \5 K, o% u& s9 W
  1393. ; Default: one minute
    3 W4 e+ z# y7 u" p- P
  1394. ;sybct.login_timeout=
    * e# X: c% t( I! C/ w' L* i5 v* Z
  1395. + S' |; J) C6 [$ m! a$ Y4 b
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    1 B; s1 ~9 {  I
  1397. ; Default: none
    6 I6 {3 M5 K; X& f6 \
  1398. ;sybct.hostname=
    ; i: V+ }( b" o8 m. J  j& c
  1399. ; s7 x) C% ]- f% z2 F  K- C) o
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".) w/ A1 @5 ^5 M! K/ z! m
  1401. ; Default: 0' O+ t& t! P, \& o- k
  1402. ;sybct.deadlock_retry_count=/ a! I4 M$ K$ y" Z4 v1 K: @$ L6 `7 J
  1403. ' }) R! i# M7 O& J: C- M; \2 g0 C
  1404. [bcmath]5 V7 B1 V( U  f, R9 n, ^
  1405. ; Number of decimal digits for all bcmath functions.
    6 ~6 C. U0 Z) c. h8 y
  1406. ; http://php.net/bcmath.scale/ a2 S* y7 O9 N+ F' V
  1407. bcmath.scale = 0& J, {. J9 W7 f
  1408. . Q5 C. H1 F6 C6 ~* y
  1409. [browscap]
      j% `$ S+ t: j% R1 J
  1410. ; http://php.net/browscap8 H( ^" \8 ?9 l
  1411. ;browscap = extra/browscap.ini' Y# J: T3 N$ M" ~  ^
  1412. - d4 n% k6 r$ e4 n* O
  1413. [Session]
    : w4 z) `: `* P: S# b+ |
  1414. ; Handler used to store/retrieve data.1 }* l9 A# }6 s* O
  1415. ; http://php.net/session.save-handler
    . c2 V9 G; F0 o. k& v" W& ]/ B8 I
  1416. session.save_handler = files
    + @5 s: s' `4 L5 e  G4 |4 M# `
  1417. 5 b! ]6 s: Y* m$ {5 X' ^
  1418. ; Argument passed to save_handler.  In the case of files, this is the path5 s4 K8 i" o8 |% x! O& Z# k
  1419. ; where data files are stored. Note: Windows users have to change this9 _- Q- \4 G+ y9 ^) C- o$ p; t
  1420. ; variable in order to use PHP's session functions./ ~( a# \/ a# p6 x
  1421. ;1 x& A; Y+ @  G: @; [- ^/ J
  1422. ; The path can be defined as:
    9 p- h$ Y) z0 M* D  Q* L9 A
  1423. ;
    1 |% X$ z8 u8 V; j
  1424. ;     session.save_path = "N;/path"
    / _$ a8 }- {  _% s1 d9 y  I9 j
  1425. ;
    9 ?  s' \' k( z% }) }  |& @. d
  1426. ; where N is an integer.  Instead of storing all the session files in( j3 ]8 {  |( V- j# H4 A- [. P# b
  1427. ; /path, what this will do is use subdirectories N-levels deep, and: c- Y, g" Z4 L# `3 T9 w
  1428. ; store the session data in those directories.  This is useful if3 Z" Z" f* \. ^$ J! B: }
  1429. ; your OS has problems with many files in one directory, and is
    . }; v, }/ r8 Z7 _3 I9 K( [+ ^) A
  1430. ; a more efficient layout for servers that handle many sessions.( j$ `9 z" B7 z; H
  1431. ;+ `3 k6 z/ x- `) o6 B4 Z/ ^
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    ' y5 G' h7 H* H& R/ d* K. s
  1433. ;         You can use the script in the ext/session dir for that purpose.
    # t) D5 \& d& F% I
  1434. ; NOTE 2: See the section on garbage collection below if you choose to' I3 F9 i3 t1 f7 [& o  I
  1435. ;         use subdirectories for session storage
    $ O7 r; x' M/ D
  1436. ;, F. r8 i5 I. A, l3 y' s/ P
  1437. ; The file storage module creates files using mode 600 by default.
    / E" `) b" A. c  U7 U% a6 H- L
  1438. ; You can change that by using
    ( U/ m# |6 a- H. V+ C/ J
  1439. ;, C. a: j3 g) r
  1440. ;     session.save_path = "N;MODE;/path"
    2 i- Q- \) i6 a, R* S
  1441. ;
    3 Q2 g8 ~+ k0 W
  1442. ; where MODE is the octal representation of the mode. Note that this4 ^0 A& H0 j/ P3 x5 F  r
  1443. ; does not overwrite the process's umask., J1 G& x" D) ~+ O; s
  1444. ; http://php.net/session.save-path
    1 S. V4 w5 _9 v  L7 h
  1445. ;session.save_path = "/tmp"8 ]2 U- j) v- J" D& u

  1446. ' Q5 X; q7 W' b- ?
  1447. ; Whether to use strict session mode.
    , K5 x% u( e- ^8 a% g- L
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    ! p9 a/ F3 C, }; P
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    " W  ~  C3 m# I% F
  1450. ; applications from session fixation via session adoption vulnerability. It is4 J9 ]0 w/ J2 F# i/ q
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.; Y& D9 C" V/ y6 U! p
  1452. ; https://wiki.php.net/rfc/strict_sessions
    3 e. V! v$ U' t% m
  1453. session.use_strict_mode = 08 e: ^2 e* ^# O. t) F3 |
  1454. 4 o( N7 r6 `% J  X" J6 \
  1455. ; Whether to use cookies.0 B# p1 G+ ?+ W, M9 \( T# ~/ d
  1456. ; http://php.net/session.use-cookies
    2 N$ i' N' b& F# n& a$ I+ {/ m
  1457. session.use_cookies = 1
    " {( G" z1 c0 l+ @4 W' R: q# |
  1458. $ O  V& H4 A( t+ Y% V, i. ^+ G
  1459. ; http://php.net/session.cookie-secure+ q; d7 T1 H$ L1 F
  1460. ;session.cookie_secure =
    1 f' [! S3 B* o- Q* D
  1461. / x& z+ d5 O4 G2 K) B) P. D* w
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    " l( E! o" M  o) ^' o" q
  1463. ; the session id. We encourage this operation as it's very helpful in combating; _- x" D- x0 v0 B" M
  1464. ; session hijacking when not specifying and managing your own session id. It is2 {- ]+ {- t% V5 G6 \. |1 q
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    5 p0 S/ Y8 c7 i  w3 b2 `1 c9 {- ~
  1466. ; http://php.net/session.use-only-cookies
    " |0 u, {6 o& n% a- g2 q
  1467. session.use_only_cookies = 1* B2 o- ^* Y1 v  m% v2 k

  1468. 2 e- f1 z. e7 ]/ d$ F' _( O
  1469. ; Name of the session (used as cookie name).7 S0 N/ f# L% \" x- x
  1470. ; http://php.net/session.name  \8 n& T6 `! d( G
  1471. session.name = PHPSESSID$ S- P: I% d0 |! I, M; o7 t7 M
  1472. * F- `: I( q  Z! c  Q; h
  1473. ; Initialize session on request startup.
    " q4 a: h" Q  G0 ^% H
  1474. ; http://php.net/session.auto-start
    9 M3 ^; f: u8 w% D) Z( M! j
  1475. session.auto_start = 0& L  g2 {) I7 W. ]5 y' C  `! q+ C
  1476. . [$ X- q! w( o% B' k( H3 [
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    " O8 }/ W  j5 p
  1478. ; http://php.net/session.cookie-lifetime  o) v6 c) @( X9 O
  1479. session.cookie_lifetime = 0
    1 O% T) S. q* g" C/ g# s6 ^

  1480. * x+ l8 f7 @9 f* R
  1481. ; The path for which the cookie is valid.
    " F- W! ^4 f; ?; Z6 Y
  1482. ; http://php.net/session.cookie-path
    # U, c3 y3 G: s% x/ E7 M+ i
  1483. session.cookie_path = /
    . K& T6 \7 {( m2 u: y3 B

  1484. 5 z$ P( I+ e' e& n, s* r
  1485. ; The domain for which the cookie is valid.
    9 {' t  f( T; F6 }
  1486. ; http://php.net/session.cookie-domain; l/ q1 G$ F& {4 _! v
  1487. session.cookie_domain =
    + k/ b% N/ L' |- ]; @4 z

  1488. 1 \1 H6 n" ~# a. ~  N
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.6 `7 Z2 N. O, @: b
  1490. ; http://php.net/session.cookie-httponly
    6 e! C) L, ]& B( Q* O
  1491. session.cookie_httponly =1 F% M- a4 q: z9 ?
  1492. 9 ]8 |8 j" g1 u( I5 t8 }! O+ @" h
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.: ^7 x# g5 `2 h4 I2 z  A
  1494. ; http://php.net/session.serialize-handler) `/ J$ B/ Z3 t/ x6 }" [1 G
  1495. session.serialize_handler = php! F# G( a. K9 L8 L& F: p
  1496. : f9 x: f; r/ O' C' k3 E& h
  1497. ; Defines the probability that the 'garbage collection' process is started  a; _. H8 Y# ^$ s; t2 \( u" i& X
  1498. ; on every session initialization. The probability is calculated by using
    # T' h9 W' A% o0 @9 O
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator8 J% D2 O2 ^8 k3 |0 V) h& |" \
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1) a$ ]: A$ G$ K0 N8 Y
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    % {; U8 _8 F% i, V+ `; V
  1502. ; the gc will run on any give request.
    ' V0 |3 ^, x% b$ ^5 ^
  1503. ; Default Value: 1# A& D1 J) K+ N- _: k- e* D
  1504. ; Development Value: 1
    ' t5 t6 b: q; d) E4 C& ?: M
  1505. ; Production Value: 1. ~8 O7 X% }# A% ~0 N1 p) l6 u
  1506. ; http://php.net/session.gc-probability
    ! m; t, Q+ P  Z
  1507. session.gc_probability = 1$ ~( M+ T2 S! n# \( W# @6 s4 o5 |' B

  1508.   n4 u# i+ x9 D, C& [3 e% c
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    - U5 f: L4 |6 @6 B6 B! F! F
  1510. ; session initialization. The probability is calculated by using the following equation:4 F7 b6 K) D  P/ B9 w
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    4 h! R9 O( R' r) h5 p1 @( l
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1; B; ~2 o3 H5 q4 o0 ^; Q: X
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
      a3 g- d3 R+ `! R+ q5 N
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    9 G  v9 P1 Q3 C/ ~' U
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,( Y; B- s6 C/ \# Z! Z
  1516. ; this is a more efficient approach.
    : d' g  V9 d+ l8 s
  1517. ; Default Value: 100) d0 a9 Y: D# ~- [+ R8 C5 b
  1518. ; Development Value: 1000
    & O, ?; M% P* X
  1519. ; Production Value: 1000
    6 ~  ?& m! V  K3 D9 `7 @* a' x
  1520. ; http://php.net/session.gc-divisor* D" E: n' d+ w# j* B/ X
  1521. session.gc_divisor = 1000" T" ?' W) v3 }/ _
  1522. + Z, q" y+ X) x
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    8 W0 t! t( I6 Z7 [) n( g+ h
  1524. ; cleaned up by the garbage collection process.+ _+ _( T6 f3 p+ ^/ H+ `) J  O
  1525. ; http://php.net/session.gc-maxlifetime7 z) t  {/ Z9 s) }2 w' A7 ]8 j, W- F
  1526. session.gc_maxlifetime = 1440
    , d( W3 w) @8 @1 ^# D( q: {
  1527. ! }/ W7 [8 L9 r# y+ c0 i2 q2 M5 u
  1528. ; NOTE: If you are using the subdirectory option for storing session files( y; n8 Q& F" T  r* v  \
  1529. ;       (see session.save_path above), then garbage collection does *not*, T' w2 r% u* I# K
  1530. ;       happen automatically.  You will need to do your own garbage
    , C, r3 d4 H9 d/ d* p" I' w
  1531. ;       collection through a shell script, cron entry, or some other method.
    " T7 r: L. i; q$ R. B8 k
  1532. ;       For example, the following script would is the equivalent of
    % K, S* A0 p) {: q/ T% o
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    9 Z) m- l4 C: i) s4 ]
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    : ^& H: D+ F3 _3 [' Y  u! L- p
  1535. 6 d; O5 e; K( N/ E, R2 q2 m
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    - F" R1 u( {; W- B. Q! u1 U
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    4 ^. Q1 f6 s& T1 s! c
  1538. ; considered as valid.3 }; v# E# W2 n3 v3 k7 _
  1539. ; http://php.net/session.referer-check8 W3 G2 s& W: X7 R- Z  X& j
  1540. session.referer_check =# b6 d7 y; \- o3 F- }: ?

  1541. ( p4 M* o; g1 w0 H" z
  1542. ; How many bytes to read from the file.
    : ^" u) D. @% H& v+ S' g
  1543. ; http://php.net/session.entropy-length: o; M( C  b' ~5 Q! e
  1544. ;session.entropy_length = 32
    ; o# W" r( g8 F% _3 k; U6 s# D
  1545. - L% {. @+ ^7 r& P' b+ a: U
  1546. ; Specified here to create the session id.6 N4 H- ?1 x; p# t4 U$ W
  1547. ; http://php.net/session.entropy-file' Y0 q+ s3 j9 \. e! K0 c
  1548. ; Defaults to /dev/urandom
    7 u; J# x' q8 b5 Q% K( l: W
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom, i" v/ }5 H* H/ _
  1550. ; If neither are found at compile time, the default is no entropy file.
    ' L# c  W# X1 e/ {% p2 I: d8 [+ |
  1551. ; On windows, setting the entropy_length setting will activate the; |7 U4 W! C! c
  1552. ; Windows random source (using the CryptoAPI)6 T. i0 \1 O" C2 C& @9 U% G
  1553. ;session.entropy_file = /dev/urandom
    , @% g9 O: m' R# x

  1554. * x& L9 E6 A- y
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects$ d2 k# h3 J- x1 w2 g5 s) o2 A
  1556. ; or leave this empty to avoid sending anti-caching headers.
    , |" `8 l$ Y/ ?, w6 \: v1 B
  1557. ; http://php.net/session.cache-limiter3 E& {5 A2 n0 \) n1 M# E$ y
  1558. session.cache_limiter = nocache! f9 F8 U7 e# y  S6 g8 @6 U

  1559. % N! O3 u9 w9 w% }6 E
  1560. ; Document expires after n minutes.
    7 P7 I, x, ?3 B2 [# g7 W3 n* C. K
  1561. ; http://php.net/session.cache-expire- j  `4 Y5 g  C& \1 Q8 ^
  1562. session.cache_expire = 180
    0 s8 c8 M+ K. c$ P% X, d1 k
  1563. 0 B* L, T! c: n( p2 ~  d
  1564. ; trans sid support is disabled by default.
    " g; I( d+ O6 }, V
  1565. ; Use of trans sid may risk your users' security.
    ; B- G' x6 O4 \" V7 H, \6 z2 T
  1566. ; Use this option with caution.
    ( x  M6 Q. r7 n. V
  1567. ; - User may send URL contains active session ID
    1 q3 X3 W! {+ g+ `
  1568. ;   to other person via. email/irc/etc.
    3 p* l, l. ~- `# \4 S1 S+ J
  1569. ; - URL that contains active session ID may be stored
    $ ~0 h+ k" m; R. B
  1570. ;   in publicly accessible computer.8 ~+ \! P  }0 H$ t2 c7 [' y+ E
  1571. ; - User may access your site with the same session ID7 {7 B) {& i- T% u$ u
  1572. ;   always using URL stored in browser's history or bookmarks.
    " e- o1 r3 w( p$ D+ @
  1573. ; http://php.net/session.use-trans-sid& Q. o1 S3 {$ d- k# s! |$ F
  1574. session.use_trans_sid = 0
    ( X  S" k$ g7 d- K/ I$ j

  1575. $ y& |$ G3 P, B' K8 w' Q
  1576. ; Select a hash function for use in generating session ids.( P; F" f$ ^( {# _: A
  1577. ; Possible Values1 @3 f4 b' ^* S# Y- q
  1578. ;   0  (MD5 128 bits)" O  G( t" K+ f
  1579. ;   1  (SHA-1 160 bits)
    ) h9 R/ B2 J0 P" M0 X, T4 }
  1580. ; This option may also be set to the name of any hash function supported by. A9 C/ W: p, u6 {, g/ U, y
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    3 m1 Z' @4 }. f; g+ R
  1582. ; function.
    5 G% t% S/ x5 d% H* w9 ], a  a
  1583. ; http://php.net/session.hash-function1 n4 \3 _, x7 Z6 v
  1584. session.hash_function = 03 k1 @8 X0 i- o
  1585. . o  k) Z0 K9 g
  1586. ; Define how many bits are stored in each character when converting
    + i, _3 i6 ^! d% i8 t$ y; z7 k
  1587. ; the binary hash data to something readable.0 |1 R0 q* x) L7 |  r
  1588. ; Possible values:
    - b# N: A& k; D; b  o/ {
  1589. ;   4  (4 bits: 0-9, a-f)
    ) g& l6 j1 N% s) ^' @+ O+ }
  1590. ;   5  (5 bits: 0-9, a-v)
    # j3 l+ u! L4 _$ Z$ {3 [7 L
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","). O+ o0 z1 ^/ r/ l6 B
  1592. ; Default Value: 4
    - d* B- V- v2 a
  1593. ; Development Value: 5
    % u' R+ n" B; m( m. `# F
  1594. ; Production Value: 5
    $ N$ U1 Z! S) H0 ]5 b' Y' a
  1595. ; http://php.net/session.hash-bits-per-character- \6 Z! s( f" G1 h; o; t* O- i
  1596. session.hash_bits_per_character = 5
    3 g  F: c' T" T8 F5 p0 C4 r! f2 M% ~
  1597. # |. v3 D$ w/ q
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    " Z5 d3 H, k; S- \& h
  1599. ; form/fieldset are special; if you include them here, the rewriter will, o+ L# Y2 B) c, x. {. L
  1600. ; add a hidden <input> field with the info which is otherwise appended) M3 G- @: K( w9 O! W& l9 l0 Y0 B1 C  ^
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    7 {* j; h1 M3 _1 A) n0 T
  1602. ; Note that all valid entries require a "=", even if no value follows." s9 m6 k) A  u+ ]) g
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    5 c- v5 O1 [1 f
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 P! P+ r3 b  m$ N
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& `% ?  ^7 X2 E  `2 }, t
  1606. ; http://php.net/url-rewriter.tags; k3 N$ O, \9 O* f1 V  h
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"& F  `5 ^+ ^8 X6 Z
  1608. 4 T' p3 U8 N6 L0 g* k% Z
  1609. ; Enable upload progress tracking in $_SESSION
    1 L! m2 q$ r2 h3 M  M
  1610. ; Default Value: On
    " n1 i; E' {/ O# L0 |  J, k# ]
  1611. ; Development Value: On
    ( I) X2 }. h; V' D% U5 Q% X
  1612. ; Production Value: On  [& P) G' b  J: O3 w
  1613. ; http://php.net/session.upload-progress.enabled
    ) Y' P/ d7 K: e  g5 m; h( |
  1614. ;session.upload_progress.enabled = On( E4 W! Q8 D8 [" j
  1615. $ u0 e. D2 j$ M7 C6 o% t2 n
  1616. ; Cleanup the progress information as soon as all POST data has been read
    % b& k0 ^0 J3 U8 u8 W4 e. _
  1617. ; (i.e. upload completed).
    6 ~' s& p9 @5 X& Z6 B
  1618. ; Default Value: On
    5 Q* \% J6 O' D6 p. g, |2 E, ]0 j5 q
  1619. ; Development Value: On/ d1 Y6 T+ B" R4 i! e: f% q7 o0 u( {
  1620. ; Production Value: On
    5 d& s7 @* h7 l
  1621. ; http://php.net/session.upload-progress.cleanup6 I, ]; J( c/ ?0 ?& l/ x9 l5 w! }9 ]) Y
  1622. ;session.upload_progress.cleanup = On2 C1 d: f1 p: Y, C8 M" S

  1623. ; z' `$ `1 x6 K! A* t% s% o( v+ z* R
  1624. ; A prefix used for the upload progress key in $_SESSION/ F- Q" e* |. e, }; Q) D4 G
  1625. ; Default Value: "upload_progress_"
    / f, j9 M: j" A) G/ V5 W3 }
  1626. ; Development Value: "upload_progress_"! O8 _/ p( ?; j( C4 K1 i* {
  1627. ; Production Value: "upload_progress_"( p8 \+ ^6 v: s; o
  1628. ; http://php.net/session.upload-progress.prefix
    0 t' L: k" b0 g1 T$ i
  1629. ;session.upload_progress.prefix = "upload_progress_"; [, q5 }' ?# n5 Z, s

  1630. & C1 |1 s* S, c# ^5 _- V4 x
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    / r* N) W( P( R: d
  1632. ; containing the upload progress information2 \8 ~# v7 D8 |  A5 B( j( ?
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    * [* u# D* i7 M& K- J
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"8 J2 O) s' a' `7 K( O5 C
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! S( n3 ^. b2 l3 r- g
  1636. ; http://php.net/session.upload-progress.name' S' j, I# \0 b& G: {
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"1 Z' l2 U4 C. X7 Y& e! m
  1638. ( s) h8 h. S) E; D6 e1 U1 `
  1639. ; How frequently the upload progress should be updated.( h% C7 l2 e/ H8 o% @) N) C
  1640. ; Given either in percentages (per-file), or in bytes
    2 e2 K. x- C" y
  1641. ; Default Value: "1%"5 S' v7 g  p. l0 \& j1 v1 _
  1642. ; Development Value: "1%"3 @1 J0 l" u/ z+ f
  1643. ; Production Value: "1%"( ^5 |7 g! `- f5 A) W1 p' o' {. ^5 p
  1644. ; http://php.net/session.upload-progress.freq+ D. q) @8 I) t! T
  1645. ;session.upload_progress.freq =  "1%"
    % ?, D5 n3 _9 i) Y" q

  1646. * R+ L% z6 p) K; Y0 s) D/ z
  1647. ; The minimum delay between updates, in seconds& A# _* D; B. ]4 j- g! J' V6 F: V
  1648. ; Default Value: 1. y) j3 B* a, |
  1649. ; Development Value: 1! y) V& }3 [+ z  V- j
  1650. ; Production Value: 19 v5 [) q3 [- v/ O
  1651. ; http://php.net/session.upload-progress.min-freq7 }0 s1 N) [4 H: e4 A0 x
  1652. ;session.upload_progress.min_freq = "1"0 K0 d: t) t, K% ~, Z

  1653. 7 T, a0 ]5 {. o3 z2 x  M! n& G
  1654. [MSSQL]# m2 W  @! @. Z- S" Q
  1655. ; Allow or prevent persistent links.
    , p( ~" S/ r3 [$ R( G7 ?. ]. w  W# Y
  1656. mssql.allow_persistent = On
    , c8 u4 f1 b8 _  I
  1657. . K) S; h; }/ H. I  k
  1658. ; Maximum number of persistent links.  -1 means no limit.8 j9 ?* Z. X3 U' o: Y3 x* J9 M  q
  1659. mssql.max_persistent = -1
    - M1 C; X. J& z; w7 s7 {$ n
  1660. $ k) J# h: s* }8 x* H* R4 l
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    9 X- J2 B5 R( R
  1662. mssql.max_links = -1
    % ~5 g2 e' m4 o+ M6 P. v
  1663. 7 V5 m0 T& B" U
  1664. ; Minimum error severity to display.5 B" |$ `) |- z) @& F# \! S3 v
  1665. mssql.min_error_severity = 10
    / i' c, P; N3 l$ A2 D9 v
  1666. & F, z6 a2 h4 v" S$ Y5 D2 J( k
  1667. ; Minimum message severity to display.
    . a/ K& k7 K% H8 K+ s4 r
  1668. mssql.min_message_severity = 10
    / C  q! \+ M% o
  1669. 3 L7 ^5 D( _# \& C# f  P. r
  1670. ; Compatibility mode with old versions of PHP 3.0.
    , f5 m) \) }' l) l! [* [# D. q# G
  1671. mssql.compatibility_mode = Off
    ' D* ?- T& i( G8 |7 T$ y5 m

  1672. # [- P  y  t$ u8 ^' E
  1673. ; Connect timeout1 g( K' o: z5 t: I4 ]  K
  1674. ;mssql.connect_timeout = 5
    6 c" _6 C0 r7 [% B

  1675. 4 V( z0 q, z, O* X* j
  1676. ; Query timeout
    0 ^: l) V) }7 {
  1677. ;mssql.timeout = 60( ~1 `; {  z, E$ _
  1678. ' K7 `1 z  x) P8 A
  1679. ; Valid range 0 - 2147483647.  Default = 4096.9 C) O- ?6 E( O" x8 ^/ H+ _4 c
  1680. ;mssql.textlimit = 4096) I- V) U! p* p( d

  1681. + O! I$ b' Q9 G5 F! t0 ]
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    * c7 a& C2 s' O# U
  1683. ;mssql.textsize = 4096
    , Y4 N( |- ^/ t3 S2 F1 f9 {

  1684. - e/ b" u/ z6 n& e8 W
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.$ G6 j5 t9 L& _" C  }5 S
  1686. ;mssql.batchsize = 06 O/ q  C; _4 d3 j- l+ `% p

  1687. 2 M/ C5 h1 ?. Z9 X+ {+ B4 H
  1688. ; Specify how datetime and datetim4 columns are returned
    / W: h" a$ W" P6 [7 H' ]
  1689. ; On => Returns data converted to SQL server settings" d! g* c; v% A! r  k, C
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss2 J$ Q& y8 |3 j
  1691. ;mssql.datetimeconvert = On
    ! W5 N# X  j. G' d' H

  1692. " E/ d& V7 T# {3 m; _6 c4 _+ p: ]
  1693. ; Use NT authentication when connecting to the server; ^) z! N+ x; D5 k) h0 M+ U2 y+ b! \
  1694. mssql.secure_connection = Off9 F  B# Q5 q! L

  1695. & k- Q5 L" U0 F' u: `3 E! O4 W
  1696. ; Specify max number of processes. -1 = library default
    ; o2 P7 _5 p/ Q1 I! N
  1697. ; msdlib defaults to 25+ f2 O4 h* R6 [$ }- {6 z/ T
  1698. ; FreeTDS defaults to 4096
    " ]# J$ ~5 b, t# O. I
  1699. ;mssql.max_procs = -1# v, c5 M( K1 F- c

  1700. 4 N8 Z2 E% E$ `
  1701. ; Specify client character set.$ `* f# A) g  x6 q- t9 H% X
  1702. ; If empty or not set the client charset from freetds.conf is used8 R. D4 z' O+ H7 O; j+ l" H
  1703. ; This is only used when compiled with FreeTDS
    0 x, \5 i" A' ^( ^7 J; E( J5 v3 m2 W4 w
  1704. ;mssql.charset = "ISO-8859-1"" R7 V. W1 Q( i8 U. \' x" r& n
  1705. 3 n# e# {' s9 G, ^8 S
  1706. [Assertion]
    ' ^: P4 k) `; d* q
  1707. ; Assert(expr); active by default.
    * d4 a$ X/ k8 f( v( c. Y4 o+ {
  1708. ; http://php.net/assert.active0 k0 x( n% @- W, \; V
  1709. ;assert.active = On6 H/ r# S, b: [5 O
  1710. 4 U0 e: U9 l4 b8 v) [. _5 e
  1711. ; Issue a PHP warning for each failed assertion.
    ) {+ ~6 d/ ?0 \0 o- p& ]/ j
  1712. ; http://php.net/assert.warning
    3 }3 O8 N3 V. G" I/ ?
  1713. ;assert.warning = On. {! @2 ?6 h" `7 Y: l

  1714. , D% U- h/ ~0 j: L( F: W
  1715. ; Don't bail out by default.
    , {  L+ l! A& T+ Z& S! k3 c$ w
  1716. ; http://php.net/assert.bail
    9 I- [$ j; p& B" g; ~# b, A5 Z
  1717. ;assert.bail = Off
    / B; I8 T+ J8 X" f
  1718. 3 j4 S' \8 o& F  U- g0 P  V
  1719. ; User-function to be called if an assertion fails.6 b  E3 `2 o' Y
  1720. ; http://php.net/assert.callback  i# o: }9 x2 G+ A/ ^
  1721. ;assert.callback = 0+ B' L$ w& a% B" T7 j8 H5 H

  1722. ; ^) o% h5 ~' ~4 g
  1723. ; Eval the expression with current error_reporting().  Set to true if you want: w5 m( `, O& }( i/ Q
  1724. ; error_reporting(0) around the eval().
    2 v6 S+ G3 q) Z) w
  1725. ; http://php.net/assert.quiet-eval
    2 {+ T/ B- O2 s, ?1 d
  1726. ;assert.quiet_eval = 0( H4 B: ]% u/ \: \  z! i- S+ `
  1727. " ]$ e3 f: u# ~; U. d
  1728. [COM]+ F, ~/ B9 r, `6 F8 s# |5 s* P5 G4 f
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs1 V; f5 `8 w) O. Z5 `  _# W
  1730. ; http://php.net/com.typelib-file
    ; ]* a/ {( v7 q0 ~) I1 W
  1731. ;com.typelib_file =8 y3 h3 r1 k9 h5 \0 P7 M
  1732. " g# X% C* r- y7 C3 X: n
  1733. ; allow Distributed-COM calls
    & k& [* E8 F1 u# {3 Y
  1734. ; http://php.net/com.allow-dcom6 X. h3 m) K+ V6 I4 F! E* Q7 X
  1735. ;com.allow_dcom = true) f$ n, l8 k5 W& M! t. x# W

  1736. ( \8 @$ P5 O, X5 `8 F" P5 p3 ^
  1737. ; autoregister constants of a components typlib on com_load()
    5 }' }2 I2 ~' J( S' T
  1738. ; http://php.net/com.autoregister-typelib) p$ R& i  a8 O
  1739. ;com.autoregister_typelib = true- E" V1 r/ i8 ?& b% b
  1740. 8 q  M. w1 U3 k! T5 x
  1741. ; register constants casesensitive& p  j* F6 D! a+ d: O' G+ `
  1742. ; http://php.net/com.autoregister-casesensitive
    ) n* M" k9 ?  b' G( X* x* W. o6 b
  1743. ;com.autoregister_casesensitive = false' o0 A- J, \) \0 l; M  F' i4 ?5 t
  1744. 2 `$ a, e) `6 d
  1745. ; show warnings on duplicate constant registrations. W. }& ], }' ~
  1746. ; http://php.net/com.autoregister-verbose7 d  f' o9 l' X! r, z" Y
  1747. ;com.autoregister_verbose = true" V  n8 J( t& b% D+ R. d6 K+ C

  1748. ( o8 D0 T7 I4 q3 G4 m% @: X0 W
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    9 @# W1 b& L" M9 _+ f4 E  x
  1750. ; Default: system ANSI code page) t3 Q* R& h, j/ x6 J
  1751. ;com.code_page=
    , N# A2 h% }! i6 E- E

  1752. - R- O( {% j' r! ^# Q2 \
  1753. [mbstring]
    . t4 e% y: e7 {6 D& Z  E
  1754. ; language for internal character representation.
    : L( B$ C7 I) B3 ^
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.) S2 z; S/ K7 I
  1756. ; http://php.net/mbstring.language6 I5 R, P3 w- e
  1757. ;mbstring.language = Japanese
    1 M, q8 r( I* F1 U3 ^

  1758. 9 x  _  ?* S! f6 g+ M- Z1 }: N/ G
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    . p  _2 |% U; ]! Q/ T
  1760. ; internal/script encoding.
    6 T$ X4 h0 d9 N0 V& _& Q
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    & S  k1 A- J) L0 D: H& k! O' Z
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    $ Z" G+ _1 U! d. e! Y. R7 A
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    & N; l6 o4 e3 E2 ^9 a4 ~/ x
  1764. ;mbstring.internal_encoding =
    * i8 y- k. J6 g8 ]5 h4 Q3 T

  1765. 7 m6 J) c( `4 u- [# n
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ; |+ S0 W, Q' }
  1767. ; http input encoding.
    / ?2 s) r" ~8 q8 c/ t5 n" k
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.' y& ]8 g+ K! W4 m3 N$ Z/ @6 @" z
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.% N9 M4 k+ J- @* X. P9 d" o! o
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input: }- `" K8 K3 T4 y* i: u" }* x
  1771. ; http://php.net/mbstring.http-input4 t" m! b0 g5 C+ ^, E, L, t8 y
  1772. ;mbstring.http_input =
    0 \8 @, ~8 x. z8 e; a

  1773. , f& c' l* Z5 }( l! ?4 j
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead./ \9 V; ?4 U3 a1 c
  1775. ; http output encoding.0 {$ f- x- S3 v, j" r
  1776. ; mb_output_handler must be registered as output buffer to function.
    & O" a6 W2 n0 j
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.1 W8 W6 |/ r" a- @* r8 Z5 `
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output, u, c$ H+ M1 F( I7 U: Y) ]- k; E
  1779. ; To use an output encoding conversion, mbstring's output handler must be set* A6 P! ~- K* ~/ `8 }% R2 e
  1780. ; otherwise output encoding conversion cannot be performed.2 P4 q- \1 T3 R+ Y* f' w
  1781. ; http://php.net/mbstring.http-output
    5 L% e. d* @0 b/ h) z! x7 l: o9 P
  1782. ;mbstring.http_output =
    # J6 ^# q. Y: D. h

  1783. 6 d: _) a9 r  J( \1 h9 f% @
  1784. ; enable automatic encoding translation according to
    & h1 \( l1 t3 _
  1785. ; mbstring.internal_encoding setting. Input chars are  D' I6 a: h% J8 w& |4 `1 ?# F4 T
  1786. ; converted to internal encoding by setting this to On.
    , B: f; H% T! ]# @! p; Y
  1787. ; Note: Do _not_ use automatic encoding translation for* S$ X$ `0 P0 r+ Y( j
  1788. ;       portable libs/applications.
    # v$ k6 K, L- L) P/ C, W
  1789. ; http://php.net/mbstring.encoding-translation
    $ }8 {! Y% J# M5 Y9 D; N! N
  1790. ;mbstring.encoding_translation = Off* T% G) h+ e3 ^7 C7 Y3 J4 |
  1791. ' q; K  c3 A. t6 h9 J3 q4 T
  1792. ; automatic encoding detection order.4 _, c) c# l. y) m8 c: O3 Y
  1793. ; "auto" detect order is changed according to mbstring.language! Y5 D( E9 n9 A4 N3 j& @
  1794. ; http://php.net/mbstring.detect-order
      N) }( S$ S  c
  1795. ;mbstring.detect_order = auto3 R% `* q' [/ [9 j; L1 S
  1796. 1 V  w8 \! p  g
  1797. ; substitute_character used when character cannot be converted
    ) }) a! w6 ~  [
  1798. ; one from another
    8 O5 K+ p2 K2 R% M' Q* O! K
  1799. ; http://php.net/mbstring.substitute-character
    4 R" S/ [/ C, p8 ~
  1800. ;mbstring.substitute_character = none6 b  y9 @, v+ b' d% N/ b) ~
  1801. / `$ K2 S( g( k
  1802. ; overload(replace) single byte functions by mbstring functions.
    6 y! \, b, ^! ]8 F6 m
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    " o7 A# `% \% M' L- \' B2 p
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.: s) E" Y3 Q; b" F" G8 j7 r
  1805. ; For example, 7 for overload everything." b' y3 s; ]$ @7 V7 k
  1806. ; 0: No overload$ _3 l* |8 I. m1 w
  1807. ; 1: Overload mail() function* ]/ S4 {1 l/ S, i5 C3 Y! c5 S
  1808. ; 2: Overload str*() functions
    & T# u1 ?6 b: J9 X& S' _
  1809. ; 4: Overload ereg*() functions+ B) y0 C  z5 Y+ z! ?; Z# b- `
  1810. ; http://php.net/mbstring.func-overload
      _! }; }9 @0 h5 A3 n' d
  1811. ;mbstring.func_overload = 0
    9 z; @" E4 W3 ~: a2 j

  1812. 0 O1 p, b2 r2 ?- i# v
  1813. ; enable strict encoding detection.
      U. ?# h: Z& ?  N1 @& N
  1814. ; Default: Off1 m  w% B' B  h5 _
  1815. ;mbstring.strict_detection = On
    ; Z, t9 B8 s2 p& p

  1816. * x# R5 L1 l5 s6 d: {8 g! V
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()& ]7 V" m9 F- p7 L) W
  1818. ; is activated.
    0 T: D0 q- [4 l$ Y
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    . s, Q/ x& G* i3 A: `2 w9 A3 a
  1820. ;mbstring.http_output_conv_mimetype=
    ) g4 x6 I6 j  |- }8 \, O' @1 Y

  1821. 0 f5 K% P+ J) N+ j2 x  Q+ R
  1822. [gd]
    6 c) l! v8 M0 V) e& [
  1823. ; Tell the jpeg decode to ignore warnings and try to create3 _* J- q1 f. J, w) j) M
  1824. ; a gd image. The warning will then be displayed as notices
    # C1 L2 A; S, ~
  1825. ; disabled by default- |' J( g3 P+ k, N/ k
  1826. ; http://php.net/gd.jpeg-ignore-warning% R/ I+ R" b* d- a
  1827. ;gd.jpeg_ignore_warning = 0/ C3 q) d+ I# M& j) Y1 r

  1828. : U7 @$ m) Q  _5 m% D( R
  1829. [exif]
    ; g" F* C# R; n  U- a
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    : q9 w2 N+ k/ X* }' J/ H" n5 ~
  1831. ; With mbstring support this will automatically be converted into the encoding, r# z% O  m& B2 y8 i) x$ f) i  m# f
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    / i  D1 Z( p: s( T/ o- J
  1833. ; is used. For the decode settings you can distinguish between motorola and
    1 z5 N- x: A$ B, w3 Y
  1834. ; intel byte order. A decode setting cannot be empty.
    + j# D. @, X$ Y' }6 m7 c9 H
  1835. ; http://php.net/exif.encode-unicode
    ) M4 ]" G4 i% X& n/ c( W8 N
  1836. ;exif.encode_unicode = ISO-8859-15
    8 z1 p* {6 m+ c4 ?( T1 T

  1837. ' ?" ^6 c7 \- d0 L( k
  1838. ; http://php.net/exif.decode-unicode-motorola
    - J+ V- C4 s& m' Y+ S) _5 N
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    - D6 W% f+ t) w) i1 H- ^6 ?4 M' P
  1840. : b( i; N9 U" m8 K
  1841. ; http://php.net/exif.decode-unicode-intel
    % e, ]) Q/ Z+ k, L! N& ^
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    % D( N" K) Q5 F2 _
  1843. . x4 ^# i* I  u4 D, U4 q
  1844. ; http://php.net/exif.encode-jis
    6 r- d# q8 D) D# E: j7 ~
  1845. ;exif.encode_jis =% P- G  D4 L9 c" U) ~  J) y# `0 m

  1846. , h* R6 V* v' r/ t/ M$ }
  1847. ; http://php.net/exif.decode-jis-motorola
    2 y3 X/ `% Y, U9 R
  1848. ;exif.decode_jis_motorola = JIS
    : a- f) `  y6 u- {9 }7 V# X! l. X
  1849. # k4 ~6 M# p4 h3 _) t3 N4 p
  1850. ; http://php.net/exif.decode-jis-intel4 a" E) K& v$ M! A( E  C9 @
  1851. ;exif.decode_jis_intel    = JIS
    - @8 m) J& g. \% @

  1852. 7 ?! b  c( C; d& h2 b: e
  1853. [Tidy]
    : y5 a9 T- }7 ^+ m- W
  1854. ; The path to a default tidy configuration file to use when using tidy
    ' w; e, h8 O0 q% D
  1855. ; http://php.net/tidy.default-config
      G3 j; ?) v( e" \4 s! f9 C: T- \
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    & n% k( j3 g# Q; K6 t6 e

  1857. 5 M6 j" f9 T, M4 R8 K$ y  s) @5 Q
  1858. ; Should tidy clean and repair output automatically?
    4 V- d5 L) W2 n, `' Y+ @/ @
  1859. ; WARNING: Do not use this option if you are generating non-html content
    0 R' H" }5 ?0 \1 L1 E2 C
  1860. ; such as dynamic images0 S" ~5 n. `( l3 H
  1861. ; http://php.net/tidy.clean-output
    5 e+ x, r9 c2 P- z) F
  1862. tidy.clean_output = Off
    ! ?( }; `4 r1 q  O

  1863. 1 r8 m% T1 @! ]# `/ e
  1864. [soap]6 e3 E; b) c. u' D+ \) R" I" J. U) A
  1865. ; Enables or disables WSDL caching feature.
    $ C3 ^+ V  [+ B1 L" E
  1866. ; http://php.net/soap.wsdl-cache-enabled
    + t7 a  ~' [9 I8 ~1 C# h0 U; ^
  1867. soap.wsdl_cache_enabled=1
      a1 b8 s! M5 T! ]1 X9 c; N

  1868. . {. p: `6 c: j# ]) E! v
  1869. ; Sets the directory name where SOAP extension will put cache files., i; v$ n. J6 Z( D4 L) G
  1870. ; http://php.net/soap.wsdl-cache-dir* I% V4 a' _- t2 F8 T8 \7 A$ J
  1871. soap.wsdl_cache_dir="/tmp"7 {6 h& u# m$ `3 K

  1872. 7 P5 s$ D& F% Q0 e; S! x# d
  1873. ; (time to live) Sets the number of second while cached file will be used
    $ y/ @  B" u. s# k( I3 z
  1874. ; instead of original one.
    $ W; k, q' C2 b
  1875. ; http://php.net/soap.wsdl-cache-ttl0 T7 k2 d2 r, ~3 w. r
  1876. soap.wsdl_cache_ttl=86400, M* {1 O1 j: p2 n' N
  1877. : O; X; x8 a  {; y# x
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ! m9 ?) U  q; s# R' e) d# A$ u
  1879. soap.wsdl_cache_limit = 5
    % F/ L2 a; ?$ a/ F! a( [

  1880. 9 W6 j# @: e2 |  G: `2 y3 T
  1881. [sysvshm]
    * l- d% |, u' ~4 t4 L
  1882. ; A default size of the shared memory segment% V- G) \+ Q* X
  1883. ;sysvshm.init_mem = 10000
    3 X/ u  f) k' D6 z! y  ]. F

  1884. 4 `3 C# e$ b& X- Q( M4 E& Y
  1885. [ldap]# o) h& a- m" W" E& k) G0 h
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    0 h' S$ F9 Q& \# T
  1887. ldap.max_links = -1
      z* F7 i9 w* m% l' d8 I- t% e

  1888. $ ?/ e. X) K. k+ @
  1889. [mcrypt]( }/ {$ z% s8 b# s) q8 ?
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open) \) E. G& J/ Q

  1891. " _0 `' b! @: S1 N+ l
  1892. ; Directory where to load mcrypt algorithms' ]/ J5 ^+ \* m; c4 d
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    : Z$ `: u( M% ?! `" m
  1894. ;mcrypt.algorithms_dir=
    7 _! z- z0 g) t1 J5 n

  1895. : t( b; G4 M) u" Q* B* p* p6 B
  1896. ; Directory where to load mcrypt modes4 s2 l8 O, {$ }$ y2 O
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ! Q) y2 j' E7 V4 h) `+ U% x
  1898. ;mcrypt.modes_dir=5 T9 g* a& Q- V( _$ v& w# O
  1899. 2 m- B5 @! k: x! a& F
  1900. [dba]0 b) N. u$ y9 \
  1901. ;dba.default_handler=
    - V$ f2 G$ {* \/ b. n  W& a+ r

  1902. . r* x  x/ K9 B# T* J( h
  1903. [opcache]4 A- |3 F+ u; u6 X) |1 D! Y
  1904. ; Determines if Zend OPCache is enabled7 R1 ~& N- F- Y, b$ m
  1905. ;opcache.enable=0& e& W& w% K) ^8 ^0 O( N9 F( m' F" H) {
  1906. / @6 \+ Y! g1 @; |$ |$ j) E
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP) S+ I, p& G% d, p+ V0 w( B9 Q, ]
  1908. ;opcache.enable_cli=0( A5 Y- n2 h- {; Y/ {; o

  1909. , S4 f3 |9 Q8 z. x" u
  1910. ; The OPcache shared memory storage size.
    5 ?; |3 b* ~4 F1 x3 T* {, M! d
  1911. ;opcache.memory_consumption=64
    7 X! B: Y9 D" G5 S. R# a- s
  1912. 2 W) |2 i4 ^) D9 D. _# A
  1913. ; The amount of memory for interned strings in Mbytes.
    % q2 q; J9 S; j/ W# i
  1914. ;opcache.interned_strings_buffer=4
    + @& p- Y; O3 j- @
  1915. ' k% S; `3 L& I" C7 p
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    4 x: g+ e' d. O) `
  1917. ; Only numbers between 200 and 100000 are allowed.. V) n5 I. ^/ e2 x7 T* ]* Y8 ]( x# Q
  1918. ;opcache.max_accelerated_files=2000
    ' u# X! n" Q5 U  Y  b& Y
  1919. - E7 \! D" J* s
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.% `5 e8 x) P" ^  _9 t  e
  1921. ;opcache.max_wasted_percentage=5
    & q  l% i" Y2 n/ R! P$ n

  1922. 5 B  P3 `3 j; @9 _) v& G4 n
  1923. ; When this directive is enabled, the OPcache appends the current working, z0 ^: T8 `- I" B/ P
  1924. ; directory to the script key, thus eliminating possible collisions between
    ( C8 ]" k$ b) Q8 d: i
  1925. ; files with the same name (basename). Disabling the directive improves9 Q4 s4 Z; p% _' a  S
  1926. ; performance, but may break existing applications." d; i; Z' j6 y
  1927. ;opcache.use_cwd=1
    $ Y2 e' `2 g% ~0 \3 K: V; W
  1928. 8 B" e8 t/ T* C' L& ]+ U+ a$ M* u; H
  1929. ; When disabled, you must reset the OPcache manually or restart the
    5 ~# f! f! i* ^7 ^
  1930. ; webserver for changes to the filesystem to take effect.; V" L! \0 ~- J$ Y
  1931. ;opcache.validate_timestamps=1
    " a, s* X% r2 J8 u5 l! Q. D2 _

  1932. 2 Y. ]5 ]. O) l9 Z" e# {4 p
  1933. ; How often (in seconds) to check file timestamps for changes to the shared: d8 |3 q7 U) k
  1934. ; memory storage allocation. ("1" means validate once per second, but only$ p/ N8 L) x; |
  1935. ; once per request. "0" means always validate); R. @7 [& P# v
  1936. ;opcache.revalidate_freq=2
    " W6 ^5 ?  S# g+ |5 I2 ^

  1937. 0 j5 Q- k" h/ P; U* i1 z4 t$ D
  1938. ; Enables or disables file search in include_path optimization
    4 y. A: v( N2 i
  1939. ;opcache.revalidate_path=0
    + h* O/ z8 F' y8 Y

  1940. 1 M8 @. t! E' T
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the  F4 o$ v) b7 \% ]6 {
  1942. ; size of the optimized code.  g# R  L9 x/ A7 C6 c% o, J/ W: }
  1943. ;opcache.save_comments=1- r1 \/ [% {! L  M( P; P

  1944.   K& A7 \: S) y; k1 N
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments") V0 @6 P1 S) g/ e/ D
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ) P9 l3 m2 c8 {1 G: R/ j- u. L
  1947. ; that don't need them anyway.( I# h( B) X5 Q. U7 U: @9 @
  1948. ;opcache.load_comments=1
    8 g! i: c  L1 z& y7 ~

  1949. 5 U" p! y) P* [, R7 Y
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code; Q: |' x1 l& i9 j" ^- L! Q8 s
  1951. ;opcache.fast_shutdown=0
    ) B+ b1 ~' c, q

  1952. $ a: `+ [. n9 w3 y+ f. q" v; U
  1953. ; Allow file existence override (file_exists, etc.) performance feature.  l6 H- Z5 A9 H  w
  1954. ;opcache.enable_file_override=0
    % E4 O  R5 r1 O( T. n

  1955. ( X1 J2 v- p. k& v4 F* R
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache) i4 b& v5 u. n+ V: ^$ v* h: v
  1957. ; passes
    ' f' B* r! w+ Y& }4 {
  1958. ;opcache.optimization_level=0xffffffff
    9 ~! b2 V5 n( W* i/ m1 F

  1959. & \, P- Q$ Y0 p0 @4 w
  1960. ;opcache.inherited_hack=12 @$ G3 u7 c  G- s6 P4 l; C0 S
  1961. ;opcache.dups_fix=0
    & {- W, G$ ], H& q
  1962. 5 r/ h& U- j5 A* V
  1963. ; The location of the OPcache blacklist file (wildcards allowed).3 N6 q3 T3 u; @
  1964. ; Each OPcache blacklist file is a text file that holds the names of files& X8 G9 ^# r  [" d) w/ t" P. y. @, W( r
  1965. ; that should not be accelerated. The file format is to add each filename
    . m/ B) G5 b% k9 K& z* \
  1966. ; to a new line. The filename may be a full path or just a file prefix
    , Z' T+ W* S) F! _
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    , U8 j0 g; g$ a3 K6 B& Q
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    6 A/ F% u9 m6 |4 \6 Y
  1969. ;opcache.blacklist_filename=2 D1 ]8 _7 I/ N) F) U1 ]$ C" Z
  1970.   z5 S8 }( h) ]
  1971. ; Allows exclusion of large files from being cached. By default all files
    7 U0 s: S  F/ e: H! v& k
  1972. ; are cached.
    % E& M/ l- ~  m8 X* K: }
  1973. ;opcache.max_file_size=0
    . |* r8 i/ _: E( Y' W
  1974. 3 V) v  p+ r) \$ ^7 P8 ]# F
  1975. ; Check the cache checksum each N requests.
    : K- L) h* D9 @/ B5 d1 N. Z* q9 I! h. w
  1976. ; The default value of "0" means that the checks are disabled.
    / t% j6 C( ^" W& d
  1977. ;opcache.consistency_checks=0
    & u- I# }7 B( h$ y

  1978. 4 v$ q3 `0 w. F# w# I+ l( |' @
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    3 W$ y/ @8 X. a7 h
  1980. ; is not being accessed.+ e& D5 f- }3 z
  1981. ;opcache.force_restart_timeout=1809 Y" B6 k; N! s- C, z' C6 \
  1982. ! O+ X" I' N6 d3 k
  1983. ; OPcache error_log file name. Empty string assumes "stderr".- e; G# R" w# a! D
  1984. ;opcache.error_log=
    $ C( `) t) U( Z# f

  1985. 5 ^* x: e9 L! r( k# W& r, y* Z
  1986. ; All OPcache errors go to the Web server log.
    # y9 I( N# d% P; z) |
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.9 O/ i* o9 X* K5 @  L# I. C" ?
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    ) z9 \0 M; l( H: N/ k. r3 I* I
  1989. ; debug messages (level 4).& g( w+ g1 L4 s! r! x
  1990. ;opcache.log_verbosity_level=13 B  D! m0 `. T6 \$ r$ |: A
  1991. 6 a/ Z) X- r6 Y2 |3 d
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    $ B7 H8 w9 A5 @6 K& Q8 P- s1 l1 g
  1993. ;opcache.preferred_memory_model=
    + j) P  H4 O. }. ~0 K

  1994. 9 V. D6 w! p4 _3 D9 e
  1995. ; Protect the shared memory from unexpected writing during script execution.
    ) Y; D7 f/ e) B* L4 H  J. C3 @
  1996. ; Useful for internal debugging only.
    4 t& B2 b* m; c6 r
  1997. ;opcache.protect_memory=0, G! y! R9 M7 Q; O# D
  1998. ( }, x/ D3 L' J" j
  1999. ; Validate cached file permissions.
    6 d. q% b% v  c+ F, {8 A
  2000. ; opcache.validate_permission=0- J& H- b1 `6 h. a  i8 y1 ^
  2001. + G  K& R8 R7 k/ D- }9 y  L( N4 T
  2002. ; Prevent name collisions in chroot'ed environment., g5 A; G$ ~$ B
  2003. ; opcache.validate_root=0+ S4 V5 t/ E! r% ]5 u# z
  2004. $ E" M5 T9 ]) P3 m- O
  2005. [curl]; t+ ]! e( y& w$ i* w! w
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an- p! N2 Q2 A4 [. z/ ^" M
  2007. ; absolute path.+ _& E( d  [9 i: Y8 U
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
      ]( O. d% F4 G* S+ s. n1 n
  2009. 8 U# d* R# i7 L2 U8 ?$ a/ _7 ~
  2010. [openssl]! d6 _3 r9 g, n0 M) f8 z
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    + A" f5 X! G5 L1 O
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should' E6 q  b: [1 u0 N
  2013. ; not specify a value for this directive as PHP will attempt to use the, `+ |& h+ u# Z- p9 b5 y* A3 }
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    : g- ^/ Q3 V) T6 M5 T- J- z
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context  t0 c8 B) ]- K; G& Q2 j
  2016. ; option.7 W5 O# F6 f" {
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt% j1 N' y/ h" Y/ Z1 u1 @; `5 o3 L

  2018. $ G6 T6 V; {, I8 T$ r( z
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    # o/ T& m/ O) _) ^" c$ y6 O5 K
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    9 i4 a$ h. ]5 Q& u: f6 N& w
  2021. ; certificate. This value must be a correctly hashed certificate directory.6 e& s  f- l2 G: p: Z
  2022. ; Most users should not specify a value for this directive as PHP will
    1 P1 H4 V! o  z. X+ t, C
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,1 L$ i2 |: f3 U$ s7 q- M9 H7 V
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    + f% }/ U/ X- c7 f; b. E
  2025. ; SSL stream context option.5 b/ E8 j/ l0 s; q
  2026. ;openssl.capath=
    # n$ V& R: a' Z+ ]) ^! H

  2027. 6 ^* m9 t* C; c6 Q
  2028. ; Local Variables:
    & u% b. d5 n+ h, ]8 Z1 k% d2 [! l
  2029. ; tab-width: 4
    " h1 E. F" x$ s
  2030. ; End:) l5 g2 X: L7 i* r$ G& b: Y6 a

  2031. 2 T/ Y- j9 J3 ?
  2032. ;eaccelerator
    6 f/ M( |6 C+ y/ u, \) e4 f1 ~

  2033. " i* p6 j) m4 G/ o" Y! J4 z9 B
  2034. ;ionCube* V9 g. ?# x7 d; q6 F  x! S
  2035. 3 g3 R, W, Y  ?# I" A0 K/ V
  2036. ;opcache1 |" D3 Y/ B& t7 z
  2037. 0 I# Y. w! q1 |8 v, k
  2038. [Zend ZendGuard Loader]
    5 i# B5 ~$ D0 E0 O& [: o
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so5 P. D& g3 z) M/ H/ b, h, U, c/ |3 w
  2040. zend_loader.enable=1& o& h- H) ^$ Z
  2041. zend_loader.disable_licensing=0$ t3 L* Y- z9 m' j- F; h
  2042. zend_loader.obfuscation_level_support=3
    . T$ E( i: w: l9 E
  2043. zend_loader.license_path=$ q, J1 J% z- V8 w$ k$ l7 u9 a5 i
  2044. 5 {! L. Z1 P- j1 y2 v" P
  2045. ;xcache2 n3 k0 U9 \) w, |7 L, {

  2046. + ^/ z  H- x. i. J/ a
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692; H) B0 a+ ~+ O+ V+ i0 U1 u+ i
8 {7 r+ A7 b* ?% J5 ^" ^. p  U
) a! [' n! c/ l$ M0 @* X$ M% o- D
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
# D. x3 B$ ^( B/ @2 p$ ^% e; X& H8 k+ F
Discuz!程序版本选择:
6 ^: I! v. X- _# b站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,' a1 w8 g- f/ E% b
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:, K4 ?! C2 X% N! A8 n6 N8 {
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。% ]" G- q2 I7 U, ~
, s; P& ^2 C7 Q3 Z5 {
Discuz!插件模板版本选择:1 Z- l$ p- y1 k- _9 o5 |
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
& f9 z/ R2 `0 o' v; O针对这个问题做个统一的普及:; G* R; m# P0 u; }, O' b
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
/ b3 ~! }/ l( l  ]: ?5 S1 }+ R
- g# O8 m$ u1 m3 P3 I& z所以) o. c% k0 Y( S$ U+ I/ j8 M
适合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的二级域名。
1 g% A3 {8 ?/ m. c- R* D0 V打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。" B: h: Y6 a4 q: i9 ^) p# i
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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