分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.00 w, Q" K7 C; e$ g( |) Q

9 Z9 C0 B4 q) d, ?3 @% t' L
  1. [PHP]
    9 ?) J5 u6 _  P/ H6 @

  2. 7 w+ h$ Y% y" f7 C+ m; ?$ H
  3. ;;;;;;;;;;;;;;;;;;;
    & _5 f& N3 B. v4 d& V1 J
  4. ; About php.ini   ;
    " X7 U' M  i9 M
  5. ;;;;;;;;;;;;;;;;;;;/ N6 z3 u0 j! O
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    # k9 A% s1 ?2 Z; A: k
  7. ; configuring many of the aspects of PHP's behavior.9 {" Z7 G: i8 B/ J* r8 W0 \
  8. ; x" O- v- d- U$ ^' Y
  9. ; PHP attempts to find and load this configuration from a number of locations.3 B1 x) O% `/ J% |3 @- C" _- Y% o
  10. ; The following is a summary of its search order:- v3 C" N* p; e. y5 j6 k- {
  11. ; 1. SAPI module specific location./ R4 V6 \4 @; Y0 S+ Y) b) U* ~, r
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0). Z5 g0 A" C) w3 I$ ^3 m- i: F
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)- G% i8 _1 z$ b
  14. ; 4. Current working directory (except CLI)5 w3 |# k; y- A- k: K) S2 N% r9 m
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP* E, @! ?# k5 U, Q
  16. ; (otherwise in Windows)( Y7 U5 p8 a1 r) l; G
  17. ; 6. The directory from the --with-config-file-path compile time option, or the* k, W. G: Q6 C: @
  18. ; Windows directory (C:\windows or C:\winnt)8 x& z! j( h# V( `6 m& z; Y
  19. ; See the PHP docs for more specific information.& ]7 D# \, ~! f$ t' _  `; S
  20. ; http://php.net/configuration.file6 C# A) o/ k% [# j" N

  21. ' {2 r+ e- c1 d1 Z
  22. ; The syntax of the file is extremely simple.  Whitespace and lines- _9 Q" y0 ?7 P
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).2 d8 K( q+ U3 K4 f
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though1 J9 q' R: }7 G5 X. L
  25. ; they might mean something in the future." C. {0 @$ U+ j$ D) B" T8 l, Y, R# t

  26. & s6 x2 l, ], n( b% a
  27. ; Directives following the section heading [PATH=/www/mysite] only
    % i8 z4 P7 b) G2 z; Q8 V; @
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    - Z! M9 D9 ]; X) ]6 ^' G( z" L. d" [7 G
  29. ; following the section heading [HOST=www.example.com] only apply to' C9 l/ ^6 ^) ^' y
  30. ; PHP files served from www.example.com.  Directives set in these+ N6 j* z- \$ [2 D7 N+ d: `2 F# u
  31. ; special sections cannot be overridden by user-defined INI files or7 H: J4 r5 y' ]9 V
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under% q  g9 A' |' `+ a: V
  33. ; CGI/FastCGI.! x3 }6 R# P; N5 {8 U1 l
  34. ; http://php.net/ini.sections% R# f, L8 `: k

  35. . V$ }, j/ u( {& a
  36. ; Directives are specified using the following syntax:) S4 D0 C4 _& h
  37. ; directive = value
    # \# @9 k1 \- O) V# H, f$ I& Z
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ( A' ]6 E6 ?% h7 H0 \' y% S
  39. ; Directives are variables used to configure PHP or PHP extensions.
    / r1 m; H6 u2 t  |5 [& W
  40. ; There is no name validation.  If PHP can't find an expected
    7 a* n9 ~8 A9 z3 |
  41. ; directive because it is not set or is mistyped, a default value will be used.
    % [, n7 S+ r7 t" L$ X

  42. 1 {# m+ E) S, V6 u# ^
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ( F' R. l9 R  C5 F7 H6 [6 t& K: G
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    * ?2 s- O) T) h
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ! J. }- U. J/ R/ R4 E8 k
  46. ; previously set variable or directive (e.g. ${foo})
    , e5 o$ h1 L1 J8 G' J
  47. / p9 f- b" E' _5 g* g+ ~. _' L
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:! ?! a+ W6 E& i4 J8 z
  49. ; |  bitwise OR
    8 G. E$ s# u: c5 O2 U% m
  50. ; ^  bitwise XOR8 ~% P3 T) R$ L
  51. ; &  bitwise AND" a1 j- Q- x% s) I5 L7 f
  52. ; ~  bitwise NOT3 y& C- [- ?5 r: }" N" q
  53. ; !  boolean NOT* q/ G* n' t# |* Y
  54. ( a* J2 @; s6 r; x' v
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.* n- L/ [$ {8 `4 m1 ^
  56. ; They can be turned off using the values 0, Off, False or No.* `% `7 t% `3 J5 d; ?! s# e2 w+ l
  57. 8 t2 U& H8 v# q
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ! y! \8 O$ s& x8 ^3 g$ W$ G3 i
  59. ; sign, or by using the None keyword:
    4 B) x& ]9 R! F5 p( k
  60. & C! }; @. M3 r; z
  61. ;  foo =         ; sets foo to an empty string' J. s& _5 N* r  [- l% ?. O5 Q; y
  62. ;  foo = None    ; sets foo to an empty string
    ! I1 r9 ?. p8 L
  63. ;  foo = "None"  ; sets foo to the string 'None'
    2 Y( a9 X: y5 E
  64. 4 C7 _' L1 z4 {; c
  65. ; If you use constants in your value, and these constants belong to a1 U; x( Z% l& |( r$ R
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    + v& z0 L1 B0 Q% b8 i+ [
  67. ; you may only use these constants *after* the line that loads the extension.
    # Y  Z# C! q: B  Q7 o4 J9 {$ @# [5 i' W

  68. - N! k. \" V/ t/ u0 j: w+ v- d' D
  69. ;;;;;;;;;;;;;;;;;;;
    3 r7 p4 p' T2 U$ c$ }
  70. ; About this file ;
    ) I2 f1 s. i6 E: e* e
  71. ;;;;;;;;;;;;;;;;;;;- Z6 o3 r# _8 P) V: A% u
  72. ; PHP comes packaged with two INI files. One that is recommended to be used8 I6 x% \; W! Q7 v  I
  73. ; in production environments and one that is recommended to be used in9 o. k% v; @2 w( k" y2 J+ p# n
  74. ; development environments.
    ' y) V! k  t2 e: Z" g& U- |

  75. ( h6 Y; X( ]7 p. P
  76. ; php.ini-production contains settings which hold security, performance and
    ; V2 n7 v4 @, o$ @! d# y
  77. ; best practices at its core. But please be aware, these settings may break. W& v- D# G$ F* h' _# G0 i3 H! Y
  78. ; compatibility with older or less security conscience applications. We! \+ V- B; c0 |8 a' y
  79. ; recommending using the production ini in production and testing environments.
    - g/ }7 o6 k% u/ S

  80. " o0 B- l. b9 L, t
  81. ; php.ini-development is very similar to its production variant, except it is
    % b+ e& o' o6 r# l, N( v
  82. ; much more verbose when it comes to errors. We recommend using the
    ! ?5 I7 N# t3 J3 g! N
  83. ; development version only in development environments, as errors shown to
    7 a1 z% z! r, G& k
  84. ; application users can inadvertently leak otherwise secure information.0 E; {( u8 I1 ~' Z6 }! G

  85. & J" U; K$ v  x) ~, K5 u
  86. ; This is php.ini-production INI file.
    7 l& S. t/ n% u  D
  87. 3 X; X7 M: {- z; [7 s# {2 [2 A. w
  88. ;;;;;;;;;;;;;;;;;;;
    " \+ }/ t1 w2 K: U* j" p
  89. ; Quick Reference ;
    3 F3 M+ A" Z) S8 P- C. O% ~7 v
  90. ;;;;;;;;;;;;;;;;;;;5 c0 f) W9 c7 V; f7 Q. @
  91. ; The following are all the settings which are different in either the production
    # s& l4 F2 @$ N* c, d* k& F7 o( r; }
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    . N6 e5 f# o9 P  C
  93. ; Please see the actual settings later in the document for more details as to why2 X4 |! k% d; _* K
  94. ; we recommend these changes in PHP's behavior.% }* u% e, ?* K. U& A4 M

  95. ( c3 t/ g+ w$ m1 }5 _
  96. ; display_errors
    - s% B4 w! `* h. O6 S
  97. ;   Default Value: On7 h, X# y6 x6 ^
  98. ;   Development Value: On
    4 E2 L1 E5 y& ~
  99. ;   Production Value: Off
    : E" y0 I- k; t, `2 |

  100. . |% T- a( D+ o, c
  101. ; display_startup_errors+ B& R# Z0 L( Z" p
  102. ;   Default Value: Off7 R7 q* J  M# P
  103. ;   Development Value: On. K' I' R9 a! P& R+ _9 }' p
  104. ;   Production Value: Off, ?- b" @" A: h  U, u6 y

  105. ! b: R$ D4 r$ p# U( e; T1 `
  106. ; error_reporting
    3 G" `& T  E( c1 I  E+ Z
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    5 A! j1 g! T% }- C
  108. ;   Development Value: E_ALL
    ' C/ r/ M. X; `/ l5 g; f6 g
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 W3 r5 A' }3 e; U/ ~, a/ k

  110. 5 c1 S% H! [' i: ?
  111. ; html_errors
    " F6 e& v- W# O1 J' B" o8 h- A7 W
  112. ;   Default Value: On6 x4 }  l- F) w& X& c: q
  113. ;   Development Value: On
    , W6 A  k3 R; r. u$ Z# W
  114. ;   Production value: On  {) v3 q. g- {: C
  115. ) y  ^4 V- L6 F5 b0 ?% f
  116. ; log_errors; P. g5 ^, k0 X& S* z
  117. ;   Default Value: Off9 `% d* \* T3 G* ~
  118. ;   Development Value: On
      A' L) x2 B& g% q  ?
  119. ;   Production Value: On
    + j7 }9 h. b& e/ Y/ |) ~: F  l
  120. 8 N( {; H7 S7 b  t! B
  121. ; max_input_time
    " Y, D, D0 G( x& M8 l
  122. ;   Default Value: -1 (Unlimited)
    ' T- G. `8 p6 G1 ~" |9 }
  123. ;   Development Value: 60 (60 seconds)
    - T6 q9 e: Y5 Z  [' `
  124. ;   Production Value: 60 (60 seconds); ^7 r$ K* Q. j* Y
  125. + S0 }. \3 T# G) Y* D$ F+ }
  126. ; output_buffering: V+ h$ c" p  ^/ A( T
  127. ;   Default Value: Off
    " b" n7 S" ?# C
  128. ;   Development Value: 4096
    , e9 z, s( ?( `' `
  129. ;   Production Value: 4096
    - @. t6 h0 B+ s$ x

  130. ) P; E1 n4 L. r9 g( E- w
  131. ; register_argc_argv
    " n* T/ g% C4 B9 W  h( M
  132. ;   Default Value: On
    & P* d- {) P/ `) D( c
  133. ;   Development Value: Off( k8 I$ E0 K: m, z6 {7 l
  134. ;   Production Value: Off+ l! Z9 G% \* e7 v, \' d4 m
  135. # n, `, y) [: z( `0 X* Z
  136. ; request_order
    3 d, V1 @. t& ]- O4 m
  137. ;   Default Value: None
    / F" y/ e7 M1 \: k3 ]0 D1 D" y
  138. ;   Development Value: "GP": K. }9 H& ?; Q- q: l$ x: |' d
  139. ;   Production Value: "GP"
    6 P+ }1 L. Q( F" `7 |2 O

  140. ! @4 H; t; o( }. U, L+ h/ n' z( n
  141. ; session.gc_divisor
    4 ~0 `  S* l6 z1 K. y
  142. ;   Default Value: 100
    2 j4 r# y* {5 [% @7 v8 U
  143. ;   Development Value: 1000. i3 O) e) u' H9 v0 m, T# t3 r
  144. ;   Production Value: 1000
    6 p& z6 w! r5 \' r; z8 e7 F2 g
  145. : `0 w! c1 S3 T' \6 `. o
  146. ; session.hash_bits_per_character* g: S* R0 u% b( ]/ q1 M
  147. ;   Default Value: 4
    ! P+ ~( E  e/ \1 E4 P/ Y2 M& R
  148. ;   Development Value: 5
    + G( L! a2 `6 Q* ?$ c. K
  149. ;   Production Value: 5
    # ?; f, N; A6 a* X5 h; b
  150. - e" I# d' O# T
  151. ; short_open_tag
    # ~$ N. s/ R2 i$ \" [; k
  152. ;   Default Value: On
      c  l8 U" T4 D4 O' Q) d* `
  153. ;   Development Value: Off+ U7 a+ Q: Z$ e3 F1 A7 w$ l
  154. ;   Production Value: Off
    ! K' A7 z% F; Z2 T+ M! W

  155. " l* a+ f' Z4 W0 |- ?
  156. ; track_errors' v$ \8 _: e9 ~
  157. ;   Default Value: Off
    & M& B3 U% r2 I7 W
  158. ;   Development Value: On
    + p, B* W- B$ X' X6 Y& _
  159. ;   Production Value: Off
    $ Y6 @& l) [2 R7 w/ ]

  160. : v3 g1 @0 Y: r( A6 Z3 K0 I: p4 w
  161. ; url_rewriter.tags
    0 j) l5 {: y. ]1 W7 k
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="* Z' ^5 x: h; K8 V  D1 o& A4 x
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 [4 K& n% l+ d1 z2 [- [( x" \
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! i1 [  Q4 P$ t9 Q' V$ m
  165. ' C! D$ B" \; o$ w4 P& G
  166. ; variables_order  L9 M$ Y* m' M2 \
  167. ;   Default Value: "EGPCS". h2 M4 o% y! Y; c
  168. ;   Development Value: "GPCS": C! U5 {, y1 Z  z! f6 g- W
  169. ;   Production Value: "GPCS"
    , {" _) K8 d3 A- e: K# ^  q9 z
  170. ' s7 H$ H1 l3 L) z  O4 o# D
  171. ;;;;;;;;;;;;;;;;;;;;$ k- l% @. E+ _" q' H) I
  172. ; php.ini Options  ;
    8 C8 S5 S- a4 X1 b
  173. ;;;;;;;;;;;;;;;;;;;;
    2 U7 a) f+ V- f% D0 Q
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"/ R0 X* S: }/ L% y2 ]7 p
  175. ;user_ini.filename = ".user.ini"' m2 }: R( C/ N0 R) W4 D# E

  176. ( T9 V* q  l( t, S& [' c- K
  177. ; To disable this feature set this option to empty value
    / B0 b# t- z3 T# t
  178. ;user_ini.filename =6 T1 A# X7 l6 G$ i" u

  179. * M" q' _2 a. c0 b
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
      `! X! i( f' f4 k
  181. ;user_ini.cache_ttl = 300
    ) ~2 G2 D! }0 U* Q, a
  182. % p7 A" i# A7 O
  183. ;;;;;;;;;;;;;;;;;;;;' }( Q- q2 s1 c& S% L- `
  184. ; Language Options ;
    ( `) q( y9 M( t1 Z6 z# ^
  185. ;;;;;;;;;;;;;;;;;;;;' |7 D* h; m4 f3 @

  186. : u" ^% i% W0 W% Z: N$ t( @
  187. ; Enable the PHP scripting language engine under Apache.+ R* t* n& Y6 w: i3 }3 ^7 \. [
  188. ; http://php.net/engine
    0 N) {8 S& _! M5 }" Y0 [( R- k  A
  189. engine = On
    5 ~% I  z: A1 i% |* g

  190. 4 h) u, M; C4 ^/ ^
  191. ; This directive determines whether or not PHP will recognize code between
    6 g/ t5 E4 ?& r
  192. ; <? and ?> tags as PHP source which should be processed as such. It is/ J* a9 q. ?, D- X
  193. ; generally recommended that <?php and ?> should be used and that this feature, Q9 y" q: _) X2 h4 q' T5 i
  194. ; should be disabled, as enabling it may result in issues when generating XML5 U4 y6 H- [* _/ a( x
  195. ; documents, however this remains supported for backward compatibility reasons.% R; G' g9 K) A- V
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    # t! p9 h& `( o% O
  197. ; used regardless of this directive.
    # ~- @2 D  y5 Y, C" h, \9 ?
  198. ; Default Value: On
    $ v2 C" w" r. P$ e1 h: N, B
  199. ; Development Value: Off( c9 Z  O: d' e7 l
  200. ; Production Value: Off
    1 ?: |- y; `2 L# w3 M- ^1 w7 c
  201. ; http://php.net/short-open-tag
    % x5 H. j2 k, M2 \! [
  202. short_open_tag = On$ ^3 b# U& F3 k7 Y% h/ D
  203. ; m! U, G& l1 Y. t8 O, j9 N
  204. ; The number of significant digits displayed in floating point numbers." S- S! h$ Z& e( W. F
  205. ; http://php.net/precision  M  L$ V% D3 C/ W( f
  206. precision = 14; _# [: A, }! |# M5 t% }% q- D9 e
  207. 1 V: ^/ t: J+ z
  208. ; Output buffering is a mechanism for controlling how much output data, D2 ~) K# G5 m& m6 J# p
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that; J/ S2 T: r9 [& m* q
  210. ; data to the client. If your application's output exceeds this setting, PHP
    - H7 e4 l. S0 h$ L+ a- T4 N: d
  211. ; will send that data in chunks of roughly the size you specify.
    : J" h7 g2 p- y- |' c, e
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    9 a0 z) A  P) b7 d
  213. ; interesting side-effects depending on your application and web server.
    " ^" h  ~  f; d; s
  214. ; You may be able to send headers and cookies after you've already sent output
    ! X) b$ j) V( x+ @8 G/ }" }
  215. ; through print or echo. You also may see performance benefits if your server is
    * I/ U$ }9 F) m( V
  216. ; emitting less packets due to buffered output versus PHP streaming the output5 v. T1 I  V8 a: Q
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    " L* c( p8 R* V& W: i/ }
  218. ; reasons.4 _( Z! [+ \( G- Y# Y# b: E
  219. ; Note: Output buffering can also be controlled via Output Buffering Control/ b. l/ D6 }/ _1 i
  220. ;   functions., |: m2 P1 M! ~6 A+ ?
  221. ; Possible Values:
    & Z/ h/ w+ i& y* e$ g
  222. ;   On = Enabled and buffer is unlimited. (Use with caution); A4 ?! i* u2 r: y+ x  S' H( m& Z
  223. ;   Off = Disabled
    ; Q2 ]# q! S- C7 w5 l! u
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    # _7 Z! z4 I0 k, }# v: |
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    2 [, m6 ]# I! Q" [
  226. ; Default Value: Off; ^# f  y3 H# ?9 c) u) m8 u8 q! u; @) l
  227. ; Development Value: 4096$ ^5 M# F# M0 y* @
  228. ; Production Value: 4096# L; }5 `/ ~* Q( j9 Q, V  a+ S
  229. ; http://php.net/output-buffering, b7 I! o# t/ V! M7 W* }4 x
  230. output_buffering = 40960 y) r  v# O+ k  b9 a5 y
  231. 8 f: l  u# |, N6 {: e# Z9 n* ]
  232. ; You can redirect all of the output of your scripts to a function.  For/ X2 R! A5 N9 k+ A' L
  233. ; example, if you set output_handler to "mb_output_handler", character# n2 i9 Q2 I# v* `% m% t+ I6 e" q, p# P
  234. ; encoding will be transparently converted to the specified encoding.
    1 u, u) A4 G0 u
  235. ; Setting any output handler automatically turns on output buffering.9 m3 J; X0 K; A) y
  236. ; Note: People who wrote portable scripts should not depend on this ini; X: x/ t4 s$ K; Q. G8 P, d9 d
  237. ;   directive. Instead, explicitly set the output handler using ob_start().# _* A# n7 C" K8 c
  238. ;   Using this ini directive may cause problems unless you know what script
    . P# O6 Z7 }% l" b6 O
  239. ;   is doing.! x& A3 f* l5 d2 Z( T2 E4 o( `; p$ K
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    0 }( S- o. s4 C2 [( `5 l
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    / v4 Z, T$ {+ O# J
  242. ; Note: output_handler must be empty if this is set 'On' !!!!7 w0 ]! c5 q0 _* H' H
  243. ;   Instead you must use zlib.output_handler.0 X# V( x! K' [5 ]
  244. ; http://php.net/output-handler
    0 y5 L, P- s: Q$ d0 I# L
  245. ;output_handler =& P2 u- }. |# v4 ^
  246.   C  D- L  }# c% j3 Z
  247. ; Transparent output compression using the zlib library8 e5 V$ V3 A) s$ |
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size) v/ `. |* Q0 z4 Z% z" R8 ~( R; ?
  249. ; to be used for compression (default is 4KB)$ z2 a  O  d* H3 H" Y9 t3 b
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    + Y! Z2 c7 \$ r6 o
  251. ;   outputs chunks that are few hundreds bytes each as a result of! Y- w3 ~* j" Y/ X- r
  252. ;   compression. If you prefer a larger chunk size for better
    . }3 a5 G* h4 ^3 L! w6 h
  253. ;   performance, enable output_buffering in addition.
    ; J7 I; {  J/ [- U" |
  254. ; Note: You need to use zlib.output_handler instead of the standard! x$ y% S6 o  p6 t+ x4 D+ v0 p
  255. ;   output_handler, or otherwise the output will be corrupted.
    ( a1 J" X- D7 }
  256. ; http://php.net/zlib.output-compression) d# w% ]' M& ~5 p. e0 {
  257. zlib.output_compression = Off3 e9 P, v2 B+ S
  258. , `- r2 _: |# w3 p, n2 d" l
  259. ; http://php.net/zlib.output-compression-level
    $ z1 M% n- R8 T$ k
  260. ;zlib.output_compression_level = -1, A: C5 K$ ^" B2 f

  261. 4 d& j" ~( h8 G, D  L5 r$ {9 X: r2 }
  262. ; You cannot specify additional output handlers if zlib.output_compression6 M* F! ]$ t: n+ n4 \% ]1 \
  263. ; is activated here. This setting does the same as output_handler but in! g/ K' L$ r, a+ F) @
  264. ; a different order.
    ( I' _3 s4 E  o2 v/ g4 I
  265. ; http://php.net/zlib.output-handler( ~" R/ L5 I# R; X8 e0 C
  266. ;zlib.output_handler =6 P; g: o# M: u  T  k) ?- R
  267. - A' t  ^7 L# F+ L" }' f+ z- N
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    9 o- q" ?/ q( `; _: g2 T
  269. ; automatically after every output block.  This is equivalent to calling the
      Y( R- ]+ l8 r
  270. ; PHP function flush() after each and every call to print() or echo() and each5 v1 T1 Q& _4 l: t3 {/ W
  271. ; and every HTML block.  Turning this option on has serious performance2 b/ Q1 O+ x- z! h
  272. ; implications and is generally recommended for debugging purposes only.
    0 h. N* G3 C' Q' o; u
  273. ; http://php.net/implicit-flush
    " i  i# [. e# g
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    * A- `5 H" G  ^$ m, Q0 |4 U
  275. implicit_flush = Off: I- W* K3 r# [" `

  276. * B$ _' E, m; o; ?' b- t
  277. ; The unserialize callback function will be called (with the undefined class'! J3 ]# m" N6 u" @2 C$ R4 N
  278. ; name as parameter), if the unserializer finds an undefined class
    5 [" @! _1 u5 A# `
  279. ; which should be instantiated. A warning appears if the specified function is  m9 p7 A  t# J9 ?  Y
  280. ; not defined, or if the function doesn't include/implement the missing class.
    4 p% p. w' {1 [; D2 y2 g, i
  281. ; So only set this entry, if you really want to implement such a6 x$ s$ B& u, d. ?
  282. ; callback-function.( e+ ^  F' r! @0 `) {: |; V2 `' }) O
  283. unserialize_callback_func =. B) W/ `- M, K; z5 K

  284. 9 j% i9 H" a) p) b" [
  285. ; When floats & doubles are serialized store serialize_precision significant- Z; {) S( d. a8 |  v
  286. ; digits after the floating point. The default value ensures that when floats
    & J$ l! w* K; Z8 Q9 X
  287. ; are decoded with unserialize, the data will remain the same.( |  X4 E8 e, w. q$ x6 @& Z$ ^* o
  288. serialize_precision = 17
    . [5 Q; q) G8 ]- I/ Z. x
  289.   [  {" M1 g1 D4 P% V- o7 F
  290. ; open_basedir, if set, limits all file operations to the defined directory
    0 o: W' I+ r! r- q  i" q3 L
  291. ; and below.  This directive makes most sense if used in a per-directory
    3 U' |0 R( M) a4 i+ O
  292. ; or per-virtualhost web server configuration file.# P8 h; o8 ?4 x  a! m
  293. ; http://php.net/open-basedir1 `: l6 t: X, O. _
  294. ;open_basedir =2 d, S& {) D8 d7 J1 {
  295. 0 R! R; Q0 H2 Y# Y$ y0 j: _
  296. ; This directive allows you to disable certain functions for security reasons.2 |7 g4 I6 S% u
  297. ; It receives a comma-delimited list of function names.
      D  o5 q. M( F* ?, }, M& u7 R
  298. ; http://php.net/disable-functions4 _7 b" e9 d8 G& Q0 ^9 D1 k" a5 v
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru) O5 V' ~3 O" t# F. t

  300. ! S7 G8 ^. X/ ^, q
  301. ; This directive allows you to disable certain classes for security reasons.2 |0 W  Y- b% d$ Q  ]+ I7 A) f2 l, l  |
  302. ; It receives a comma-delimited list of class names.# }% T3 k6 Y8 ]; s& V( U% _7 b9 r0 K
  303. ; http://php.net/disable-classes
      a& L& C, d! p7 M5 f6 l
  304. disable_classes =! {' ~5 a8 ^1 k+ u! q5 x+ t- ^

  305. & n  B9 k: E8 X: `3 `# G1 C
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    # {( M/ |3 [! g1 E
  307. ; <span style="color: ???????"> would work." E" X0 d+ y  x6 ?
  308. ; http://php.net/syntax-highlighting
    : o# L; @5 P% J" g0 Q
  309. ;highlight.string  = #DD0000
    7 G1 B$ y9 Z7 U9 l$ x
  310. ;highlight.comment = #FF9900
    " j/ h( _) ]6 @+ q8 J
  311. ;highlight.keyword = #007700# v# x3 p; F: Z, h! K( G
  312. ;highlight.default = #0000BB
    " g- v7 P( V  a
  313. ;highlight.html    = #0000004 p' S8 c  O5 V5 P( u
  314. - H7 o: a( m+ q3 J* d7 Q( L+ Y
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    ; c) ?. @; w3 v6 S  S
  316. ; the request. Consider enabling it if executing long requests, which may end up
    % a' U+ ?" q* H% l! x! D' u: h
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    0 f1 `, N& N( c* p
  318. ; is to disable this feature.
    # D. [* }8 Z( s  V$ s
  319. ; http://php.net/ignore-user-abort3 O# V- z9 p1 w
  320. ;ignore_user_abort = On
    8 k7 M- [. L; Y7 r# l
  321. ) i( |$ d! u( y- l- |2 D1 w
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    3 Q/ B# j6 c9 Q7 m+ v" q
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    # X8 T, x" H" q
  324. ; the file operations performed.
    / s2 N5 S5 u0 O- z, Y* N
  325. ; http://php.net/realpath-cache-size6 G1 \- e0 j- c+ e+ Z& {  M3 {6 Q
  326. ;realpath_cache_size = 4096k1 M" L$ W  M, _
  327. 1 V4 P6 D- v( y5 ?2 Y0 ]
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    6 h1 h: G$ S& c0 T; e- c4 e7 V% a$ [
  329. ; file or directory. For systems with rarely changing files, consider increasing this7 }) X8 a) |$ I! P' B+ z3 u# N
  330. ; value.
    4 o% ]/ i+ d; D( ?  ~
  331. ; http://php.net/realpath-cache-ttl& K6 {5 }/ w, P- W5 J( X) ~  m# K% W
  332. ;realpath_cache_ttl = 120$ i4 m( |: J4 |; e/ e
  333. : I% [$ ~7 Z) y; T8 |+ ^
  334. ; Enables or disables the circular reference collector.
    . t. ^1 }; _" R5 q% X8 |; y
  335. ; http://php.net/zend.enable-gc: d1 O4 X; Z1 z0 [
  336. zend.enable_gc = On" `% D+ e7 d' I! @) \

  337. * V6 Z; H% E+ U5 v* N
  338. ; If enabled, scripts may be written in encodings that are incompatible with  r8 v! q  q9 u7 G  i
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    % T0 E4 O/ E' [% J
  340. ; encodings.  To use this feature, mbstring extension must be enabled.8 c# a) H) _* Z3 Y- H, ]
  341. ; Default: Off* d& Y% {- E( ~6 a, M% _' n% s
  342. ;zend.multibyte = Off
    ( u! }4 [8 B; P/ w' i$ G
  343. 2 M# D' C1 [$ k
  344. ; Allows to set the default encoding for the scripts.  This value will be used+ t6 Y" ~0 f# L1 z
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.! B3 O9 c# {3 P
  346. ; Only affects if zend.multibyte is set.
    & E! o! A$ v! f6 x& I5 h/ d* D
  347. ; Default: ""( ^0 w9 Y& Z( M% [( Z+ E* ?6 a3 x
  348. ;zend.script_encoding =. ~$ D( N7 f% }8 H8 O/ Q

  349. " z# t2 I) B. y
  350. ;;;;;;;;;;;;;;;;;
    6 B4 d) v* B: t2 j
  351. ; Miscellaneous ;  E* T8 ?5 a+ f& Z$ l& p) C1 t
  352. ;;;;;;;;;;;;;;;;;  e" e! t1 y5 p  H; n

  353. % r5 P! O# Z% W8 w: Q) y$ R
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    : g; _6 T0 ~6 b& j  ^* J8 K0 g
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    # x. y% Q! c- E+ K" d) K/ J
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    9 E2 y- B9 X! \/ j* m
  357. ; on your server or not.
    9 @0 y/ E0 ^& Y& B2 l- f4 e2 Y& O
  358. ; http://php.net/expose-php* {3 H! r; I! }1 c; b8 q
  359. expose_php = On
    ! J6 q2 o9 \4 h5 M% U+ z

  360. % l* I8 W7 T3 {, u6 w4 D
  361. ;;;;;;;;;;;;;;;;;;;* i6 e8 C3 \. [7 I) `
  362. ; Resource Limits ;
    % N+ @  q( {. w( o5 b
  363. ;;;;;;;;;;;;;;;;;;;6 @- x- p2 {0 E; x( z& T
  364. 6 _. m  V- c1 y' M4 j. Z( d  }3 ^' v: b
  365. ; Maximum execution time of each script, in seconds
    ; B& r/ B) }  ~& W
  366. ; http://php.net/max-execution-time% w2 R5 w; m8 m1 L# l3 Z
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI8 }( s5 l/ M2 L7 R4 g
  368. max_execution_time = 3009 Q- ?+ |) d- Q+ B1 S
  369. + U% }- c6 `1 C4 m! r2 J( h! ^
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    , B" U) w  K+ C. h- y
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ) V# z2 [/ `: a' s- d% A( i8 l
  372. ; long running scripts.& o( S* g6 d* |1 F7 ^
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI: f2 O$ |- h/ N1 v; m% B& Q
  374. ; Default Value: -1 (Unlimited)
    ' d! \9 E$ Q, U, R$ c7 x
  375. ; Development Value: 60 (60 seconds)
    5 ]1 H' ^1 }. l$ J+ L
  376. ; Production Value: 60 (60 seconds)' y' j* c  i2 |% u! Q' W
  377. ; http://php.net/max-input-time
    / n, Q- N6 J4 l
  378. max_input_time = 60
    3 X7 Z7 m7 y8 T+ p# ^0 \2 U

  379. * V- l. }- |  e6 N! b( R
  380. ; Maximum input variable nesting level
    ) N. \4 I( D  `/ d- }1 P
  381. ; http://php.net/max-input-nesting-level- k  }; i. |( E- q; N! Q
  382. ;max_input_nesting_level = 64
    , m5 C! `4 J6 D; Q0 y1 r
  383. 6 w9 C" W7 b" P. A7 `
  384. ; How many GET/POST/COOKIE input variables may be accepted: s& f1 a1 I, x
  385. ; max_input_vars = 1000# w( M2 r$ K9 r+ W

  386. ( H9 z* h+ v: B; T" E/ X
  387. ; Maximum amount of memory a script may consume (128MB)! D) H( b) s! m
  388. ; http://php.net/memory-limit& [+ R+ c9 I! }4 q  |8 m) a
  389. memory_limit = 128M
    # g! n4 x* ?- B$ i) I1 _+ K

  390. 1 K& i/ b6 m/ G  `0 f1 c
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;& G  ^" K& b3 r# Z0 p$ ?
  392. ; Error handling and logging ;6 a: S. J5 F& A/ M  n8 j6 A
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9 r3 x. g8 L$ V! u/ |4 c4 b
  394. 1 ]! }  v2 s4 o) w) P$ c5 [: k
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    # a6 Q/ M; k+ d: g# b( p/ n! }
  396. ; it to take action for. The recommended way of setting values for this
    ) r( b6 R* O6 Q: z  L( H
  397. ; directive is through the use of the error level constants and bitwise
    / T. D) M3 f  W
  398. ; operators. The error level constants are below here for convenience as well as, n4 {6 b3 [! {2 ?4 i, r
  399. ; some common settings and their meanings.
    : W3 f7 K+ [0 B
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    9 K) w% O" K6 X2 E7 Q* A3 L
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and1 s) Z1 O. i: h
  402. ; recommended coding standards in PHP. For performance reasons, this is the
      b1 l0 y. m. k3 \( S
  403. ; recommend error reporting setting. Your production server shouldn't be wasting# P" F$ m$ e6 J; r0 G6 a% i
  404. ; resources complaining about best practices and coding standards. That's what8 g2 }  A% M8 a& |1 z
  405. ; development servers and development settings are for.
    / d* D! T6 L; D( O5 L7 D7 ?5 W
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ; b1 @4 k. l# Q6 _
  407. ; means it pretty much reports everything which is exactly what you want during' A- x8 f' F, B. y' A# N7 p7 y" f
  408. ; development and early testing.7 J% F2 K& t9 B$ I
  409. ;
    # u  ~2 P+ W( y
  410. ; Error Level Constants:6 ]# f* q& `2 O# v! ^6 [
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)$ {8 g' v' _" J
  412. ; E_ERROR           - fatal run-time errors
    / G: ], Z/ {3 @* ~6 o7 D7 Y; @
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    $ h% I8 P* g: ]+ B; g
  414. ; E_WARNING         - run-time warnings (non-fatal errors)- o; s2 w; Q) [% }" E
  415. ; E_PARSE           - compile-time parse errors5 u! y6 T2 X  A+ R2 K6 @$ M$ h
  416. ; E_NOTICE          - run-time notices (these are warnings which often result  W7 h% n9 a) x/ x% |4 T7 j! c
  417. ;                     from a bug in your code, but it's possible that it was/ U6 O3 ^. Z2 Q8 `) y: v
  418. ;                     intentional (e.g., using an uninitialized variable and" ]  S7 u& d' R2 b5 ~
  419. ;                     relying on the fact it is automatically initialized to an
    : r6 r5 B2 S( i- H9 O
  420. ;                     empty string)$ Y3 y# ^& s+ h( @7 ^; y# e. j+ F
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    8 e6 H1 T7 }8 B; ]' o2 Z7 z
  422. ;                     to your code which will ensure the best interoperability
    0 A9 e2 ?6 J( Q* p2 c; I7 e5 G/ x: J
  423. ;                     and forward compatibility of your code! T% e7 l. j; s* r: C
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
      n& Q- c5 H7 X- t  ?! D9 G
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    , |" Y9 i& ~7 y" c$ Y: \/ s
  426. ;                     initial startup
    / l+ R' z, R- A3 U. q
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    1 O, J2 \. l3 o4 i/ ^
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)6 t7 R9 r* V8 ~4 S, U; g, I. e, L
  429. ; E_USER_ERROR      - user-generated error message. W& }9 v" c4 H0 q" ]8 c
  430. ; E_USER_WARNING    - user-generated warning message6 o+ Z) z0 W) _1 B2 ]7 Y
  431. ; E_USER_NOTICE     - user-generated notice message  P; K6 G; M" a8 P/ t- n
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    " d6 n6 l) b* \
  433. ;                     of PHP9 C( l6 h5 n+ n
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    0 S/ e- @4 O: L4 i4 \, X
  435. ;* d8 Z  }( c7 N& Q2 }* J6 P% u& m( L
  436. ; Common Values:
    : r; |9 f, q9 t5 C- B, P
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    2 H# ^0 C! E. e: {& q
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    2 ^# X  ?" n" @& d4 S
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)) }9 X  B" A% S3 J, l
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors): v: s+ E+ ?, H2 b+ Y8 V
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    1 B6 P5 A2 I2 ]& F! l  P* \
  442. ; Development Value: E_ALL1 l' i* w/ A0 _  l# D, I8 ~6 C
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    0 d7 S, J; C0 ]8 Z+ O$ R9 r
  444. ; http://php.net/error-reporting7 y7 l  @8 k7 I; {& T/ E& U/ O
  445. error_reporting = E_ALL & ~E_NOTICE9 N/ ^. [. D' u& \) a) t0 G" R7 C
  446. 6 J5 D/ {9 j/ x6 f7 l) Z* @+ c
  447. ; This directive controls whether or not and where PHP will output errors,
    + A' R. }6 T' J* _- r3 u
  448. ; notices and warnings too. Error output is very useful during development, but( T6 A8 w+ Z% v4 q: |* g" d2 v9 N
  449. ; it could be very dangerous in production environments. Depending on the code
    1 F8 E* q& o. x
  450. ; which is triggering the error, sensitive information could potentially leak5 ^* o9 Z, H" z5 b6 }6 v
  451. ; out of your application such as database usernames and passwords or worse.
    + x! _; \5 n& T6 j% a% G
  452. ; For production environments, we recommend logging errors rather than. q+ x' K6 Z# j8 Q* e% O: S
  453. ; sending them to STDOUT.; K# n7 b+ P* t. {- x$ \" P2 T
  454. ; Possible Values:
    # L0 |5 D9 _" N$ B
  455. ;   Off = Do not display any errors
    8 \. R5 G% J; A- X% }& W& B
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    8 X7 \% i# T3 J( b4 q) K& s+ U/ ]3 `
  457. ;   On or stdout = Display errors to STDOUT1 z* k7 @+ j( g% S5 U
  458. ; Default Value: On
    : [% f$ }0 h! B  P$ w. y
  459. ; Development Value: On
    : Q3 L( G4 [4 p! ]# f8 d5 \' j3 q. s
  460. ; Production Value: Off+ |) T- }  R, o' ~; {. J
  461. ; http://php.net/display-errors
    , e; ?5 l7 F) o0 o; O& R
  462. display_errors = On0 D! \$ F: g9 t3 E

  463. 2 T8 v, Y( W8 u6 k! X
  464. ; The display of errors which occur during PHP's startup sequence are handled
    * H' `' C+ k" ?% n
  465. ; separately from display_errors. PHP's default behavior is to suppress those( f" L$ A4 L% W
  466. ; errors from clients. Turning the display of startup errors on can be useful in0 ?! V7 Q4 N! B0 a
  467. ; debugging configuration problems. We strongly recommend you
    , {  d+ k6 q6 W
  468. ; set this to 'off' for production servers./ Y5 R3 u' u5 F& b' r$ M+ v
  469. ; Default Value: Off8 W9 {; n  h6 A
  470. ; Development Value: On0 x$ |( A8 ]5 m7 N2 F7 a; x2 m( C
  471. ; Production Value: Off
    & d' B( H, @' f( r
  472. ; http://php.net/display-startup-errors, o: q* j$ A7 ]( [
  473. display_startup_errors = Off: \" s( ~: l9 d5 ]
  474. # ?3 c( K3 y  z" x# D# Z( O0 Y
  475. ; Besides displaying errors, PHP can also log errors to locations such as a% @0 H" u: F0 b$ J( L( n; y* {  W
  476. ; server-specific log, STDERR, or a location specified by the error_log2 r+ T% o% X/ \7 [( m" F
  477. ; directive found below. While errors should not be displayed on productions  X# G7 w8 o7 I- s
  478. ; servers they should still be monitored and logging is a great way to do that.& }9 S9 j' v7 f( i6 |& ?9 Y# l; R
  479. ; Default Value: Off3 M% V) w" p4 ]
  480. ; Development Value: On9 q7 H4 k) u+ ~- {  y) B5 [
  481. ; Production Value: On2 P& W2 c( {  S
  482. ; http://php.net/log-errors: l* v8 o3 B+ g
  483. log_errors = On' x. o3 [0 Z: m) T' Q

  484. - b, }) U9 u  M9 S# H1 O" r
  485. ; Set maximum length of log_errors. In error_log information about the source is
    8 @8 `3 d, i: V
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    7 v4 Z! X+ v) b0 @8 E2 t
  487. ; http://php.net/log-errors-max-len) G9 H% x; n- L! q* i+ U. ?
  488. log_errors_max_len = 1024
    + B& q) u3 w1 b) k1 h3 o+ x6 f

  489. ; P, D2 C4 t5 P, E0 ]4 r" M, Y
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same; B7 j( _! a# {
  491. ; line unless ignore_repeated_source is set true.
      u1 X- t& a1 T6 Y0 f; t* u+ J
  492. ; http://php.net/ignore-repeated-errors
    : C7 z0 ?7 y0 k. D- h7 T; c
  493. ignore_repeated_errors = Off- |0 f3 n9 Z, D4 l, ~' N$ r
  494. # F7 \9 I$ T7 a$ N* N* c% q
  495. ; Ignore source of message when ignoring repeated messages. When this setting! H; B# p/ C  B. I
  496. ; is On you will not log errors with repeated messages from different files or4 c$ T9 u+ p$ \& p! H0 T* G
  497. ; source lines.3 F! H; E6 Y; O
  498. ; http://php.net/ignore-repeated-source, ^3 ^) Z9 q1 ~: ]- _
  499. ignore_repeated_source = Off4 v; }8 V! n4 n0 O0 H2 j

  500. 3 i$ m& \5 q+ |" ^- s7 v% |
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on# ]9 _) \! X8 X% \- g
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    + Q( a  s- Q/ \' P! H5 s% M
  503. ; error reporting includes E_WARNING in the allowed list
      P$ k9 ~4 K, V( {1 q3 t# A
  504. ; http://php.net/report-memleaks8 O+ G* T! {* ]# O6 i7 `
  505. report_memleaks = On
    . {1 }; d! U7 }! `
  506. / S: C6 k$ C. U* ~  w; p) U
  507. ; This setting is on by default.6 F* F9 ]" p7 i; A2 s1 o" ?
  508. ;report_zend_debug = 0
    4 }: r8 w8 R  {1 s2 U
  509. 1 ?' e7 y- @' ^) h9 a$ W
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value3 l0 g& o& M& E4 x0 B
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    * @- U. x, e. |2 U; X
  512. ; however be disabled on production servers.
    & `. c: [- d8 j' j+ V1 e7 x7 ]2 D
  513. ; Default Value: Off! }. x2 q7 \; e) a
  514. ; Development Value: On
    1 U0 U6 C  e8 F, Y, W+ m
  515. ; Production Value: Off
    ' z8 U! s$ ^4 l. o
  516. ; http://php.net/track-errors* k7 p0 a! I% Q7 J1 O
  517. track_errors = Off; b6 r* j; k' e- J7 e; a3 B
  518. 6 Q4 M3 G3 j: H3 E
  519. ; Turn off normal error reporting and emit XML-RPC error XML9 B; Q; \3 w# ^, o7 J' f( c
  520. ; http://php.net/xmlrpc-errors0 n5 I7 j4 Q2 a2 [
  521. ;xmlrpc_errors = 00 I# E# {' M2 `3 ?. {6 l; I' a% P7 H+ B
  522. " ]. _9 ^( a; q- k) c1 W' }0 \
  523. ; An XML-RPC faultCode
    1 S4 Z6 x# r5 O$ ]1 P2 v
  524. ;xmlrpc_error_number = 0: c* y( z% X% f  V" h9 N3 k

  525. ( p! f$ |8 g% @' e, y
  526. ; When PHP displays or logs an error, it has the capability of formatting the" M7 |5 h6 ^9 i* r  V
  527. ; error message as HTML for easier reading. This directive controls whether
    # o6 J6 C0 ^. [6 O3 ], {
  528. ; the error message is formatted as HTML or not.
    ; B  D) `- G, R# j
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI0 @- b& R" H" j9 p, [2 c
  530. ; Default Value: On
    ! k. o9 `+ S' G+ A, f. o, Y
  531. ; Development Value: On6 ?' T" }5 u+ Y7 m2 ]! n
  532. ; Production value: On6 R& M$ Y! \% _3 C  K7 r# e- ^
  533. ; http://php.net/html-errors7 [/ w6 l  M' P# `; _9 x# P5 F' u
  534. html_errors = On6 C  `1 R# {# ~! J9 Z
  535. 2 k# c7 y" l* ]6 E% l* t6 i
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP9 Q1 C! t0 ]5 S/ J9 q
  537. ; produces clickable error messages that direct to a page describing the error
    1 O) I, e! G) T. n/ c8 x: r
  538. ; or function causing the error in detail.
    : \, Y% Z0 M) @  n
  539. ; You can download a copy of the PHP manual from http://php.net/docs" G5 [) r5 U0 H; d& _
  540. ; and change docref_root to the base URL of your local copy including the
    2 D$ O$ j3 u+ d3 B0 M/ W, _9 f8 j
  541. ; leading '/'. You must also specify the file extension being used including  h7 ?: p" `: v8 |6 o8 `, f7 q, s- w
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which' Z( \/ z( x# x( I* M4 @$ q2 D
  543. ; case no links to documentation are generated.
    $ Z, u3 W1 B: |% x( t1 {! g! i
  544. ; Note: Never use this feature for production boxes.
    - v4 U1 G8 F- w# l4 J
  545. ; http://php.net/docref-root
    0 P3 [1 ]; b8 V
  546. ; Examples  M7 j1 f: d) L
  547. ;docref_root = "/phpmanual/"
    + r( J4 P1 \- n( u: y
  548. ! X4 q* P  A$ U; c5 Z- [
  549. ; http://php.net/docref-ext3 w* B; p2 X0 B* I$ z+ {. @" C7 ^
  550. ;docref_ext = .html1 {! A2 F* o) ^) w3 c
  551. # T6 k  u2 m% C7 t5 ]# ?  a  C) \
  552. ; String to output before an error message. PHP's default behavior is to leave
    7 {, B  T  Y; ?5 ?$ {: [
  553. ; this setting blank.
    ' L; J9 {0 S/ ?
  554. ; http://php.net/error-prepend-string  i' G& t$ n3 n% m
  555. ; Example:
    6 |) M3 }# C" t' d/ k7 I' e' v
  556. ;error_prepend_string = "<span style='color: #ff0000'>"5 [) A% O' z" B* u0 G, d) W. M) S

  557. ' S& N5 {3 E6 x: c1 y6 p5 C
  558. ; String to output after an error message. PHP's default behavior is to leave
    , V2 c& n3 o$ a* H
  559. ; this setting blank.
    , x. @( U' j* U6 H/ g( {/ E
  560. ; http://php.net/error-append-string: C0 w8 `2 y$ u. ^( O4 X
  561. ; Example:
    3 p( b1 h# P6 c; d! u
  562. ;error_append_string = "</span>"
    / j* Z1 M" U, ^0 J9 H9 w/ r

  563. & b0 r# _* Y+ x3 @, }
  564. ; Log errors to specified file. PHP's default behavior is to leave this value$ C! v2 a+ ~* V! j  z+ H! R6 d
  565. ; empty.
    ; r. H" S( p9 }' A+ s" N% R
  566. ; http://php.net/error-log7 u! _. W+ a  u8 u+ m
  567. ; Example:
    7 ^. P8 I; c& T
  568. ;error_log = php_errors.log
    ( H6 I! a9 O: f) b5 O( g3 D8 N
  569. ; Log errors to syslog (Event Log on Windows).
    ; ?) _# @7 `- S) R5 E
  570. ;error_log = syslog0 j+ L0 _! z% N: r1 o) h" O  s
  571. ( u( P% w( Z0 E6 ?
  572. ;windows.show_crt_warning: ]# i7 f6 n( p! J. O* H- V
  573. ; Default value: 02 g% v* q# ?. L: C/ V: K$ q: s* ~
  574. ; Development value: 0+ I; I% h2 j" t$ ]/ v6 J
  575. ; Production value: 0
    , T9 _' m1 j4 i# q0 z

  576. ) {7 t5 q" N6 @$ z
  577. ;;;;;;;;;;;;;;;;;- J- j- P) a* |# m. K( v- N- j
  578. ; Data Handling ;9 x- `3 w& U3 ~& g( C! ?7 p8 R' w
  579. ;;;;;;;;;;;;;;;;;8 R* p3 T7 `2 Q* W
  580. 9 U+ I* o  ~2 g) R4 {" Z+ K7 y
  581. ; The separator used in PHP generated URLs to separate arguments.2 e  y" }4 Z' \' k7 n4 I3 B# C
  582. ; PHP's default setting is "&".
    # q: z0 S* o# E: a
  583. ; http://php.net/arg-separator.output. V4 ?9 t2 s/ J
  584. ; Example:# G( ?: y! F: `/ F- |! ~
  585. ;arg_separator.output = "&"
    5 @4 Z0 d& |$ y- [$ o

  586. * u4 h. I( P7 d, k( M4 L" x
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    1 k/ d& X' u, f! q( ?8 ^" p2 Y
  588. ; PHP's default setting is "&".7 ~& g" T( H3 [1 {+ T
  589. ; NOTE: Every character in this directive is considered as separator!
      t+ |: r& G$ G" S4 q7 j$ v5 h' y
  590. ; http://php.net/arg-separator.input
    : E, o* l4 F: q) J7 g+ r
  591. ; Example:0 }2 r) W7 ?5 p+ F3 t
  592. ;arg_separator.input = ";&"4 Q, z5 ]% t' B8 A

  593. : K& _+ l- b+ H$ A
  594. ; This directive determines which super global arrays are registered when PHP1 V$ A/ P; {" |/ H
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    . @& X  B7 @$ p9 r8 I( a; ^
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty) w8 f8 Z6 u8 ]; Z' T& _
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    - n+ i- i1 r/ d* N$ J
  598. ; used as the others, ENV is not recommended on productions servers. You
    4 Z0 @+ J: w1 \- R8 J
  599. ; can still get access to the environment variables through getenv() should you5 p( y% Y; q9 x, _/ g+ t) K
  600. ; need to.- N. ^) E4 Q1 R4 [4 ]( D
  601. ; Default Value: "EGPCS": A4 J" g' O2 B& }' p% o; h
  602. ; Development Value: "GPCS"
    & i1 h0 _9 ?# f' z
  603. ; Production Value: "GPCS";
    - v# Z( t+ C) a4 \: @
  604. ; http://php.net/variables-order
    2 m0 q$ w. Y6 e$ {; f
  605. variables_order = "GPCS"0 V" z8 |$ E1 i- x0 H
  606. 8 r1 z2 i. X: l. ^/ F
  607. ; This directive determines which super global data (G,P & C) should be. K, _! n; n) J5 X
  608. ; registered into the super global array REQUEST. If so, it also determines" t) V9 k1 r5 F) }' g6 m
  609. ; the order in which that data is registered. The values for this directive: C3 O9 O! z6 N  _  J9 d5 D
  610. ; are specified in the same manner as the variables_order directive,: d" C: |1 _/ n6 B, ]
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    1 _# b8 a4 d1 q2 ]( S& B* U
  612. ; in the variables_order directive. It does not mean it will leave the super4 m1 s# f; P5 y6 \
  613. ; globals array REQUEST empty.
    0 z7 F; _# r6 w9 R8 L2 Q) t
  614. ; Default Value: None
    " z: e' @3 ^) X! T* z% ^0 K6 Z7 l
  615. ; Development Value: "GP"2 S" ^1 Y& c8 }# L1 g4 b
  616. ; Production Value: "GP"
      c4 ~& C" s; L4 X+ L
  617. ; http://php.net/request-order
    5 N6 |) g' h8 l7 b
  618. request_order = "GP"9 U1 g9 q' V* W

  619.   s% J! g/ Y* t2 v' C$ Y) l" A$ g
  620. ; This directive determines whether PHP registers $argv & $argc each time it5 X; w/ T2 Z, ]
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    2 P& O2 ^7 P& u, N* j, ]! `3 z) o
  622. ; is invoked. $argc contains an integer representing the number of arguments
    " `" @; |0 F7 m& z8 U/ t
  623. ; that were passed when the script was invoked. These arrays are extremely
    : a3 F& }: X9 w$ l- e, y" ]: U
  624. ; useful when running scripts from the command line. When this directive is% G6 M+ w* T, E# n
  625. ; enabled, registering these variables consumes CPU cycles and memory each time. F3 T; b3 o5 p% R6 w
  626. ; a script is executed. For performance reasons, this feature should be disabled
    ! |+ y4 q: m& A( f% j6 C: ^! Z
  627. ; on production servers.
    9 y$ ]) b9 @( l7 k: t2 b
  628. ; Note: This directive is hardcoded to On for the CLI SAPI8 B' h, Q( n# Y* Q
  629. ; Default Value: On
    + [& e1 q3 R( K1 P( D7 K
  630. ; Development Value: Off7 Z& h5 ?+ U. t" X5 b+ D4 |
  631. ; Production Value: Off
    $ r5 x" Y, O8 a3 r  s# y- W
  632. ; http://php.net/register-argc-argv( L0 [/ H, X# p8 l# l- D
  633. register_argc_argv = Off
    : X! }* w5 a% x

  634. # e6 e" M) v; M5 T& k' {
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're& p- s$ Q) H* V, I2 M+ F; S/ b
  636. ; first used (Just In Time) instead of when the script starts. If these, O, o2 F" ]- d+ _. `
  637. ; variables are not used within a script, having this directive on will result# ]9 a$ [% }. N
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled- ^4 ^/ i2 ~8 R- x3 L! x
  639. ; for this directive to have any affect.
    - F: J# U4 a, d, T) h7 w
  640. ; http://php.net/auto-globals-jit$ {- ^3 ~# g; l- r# u- |2 M
  641. auto_globals_jit = On
    " R3 b( ~! {4 K8 b4 B

  642. 9 z1 X  j+ M0 M! C1 I
  643. ; Whether PHP will read the POST data.  R5 r2 }: g6 J0 Q8 [" f% u
  644. ; This option is enabled by default.
    6 k% R- f8 g- P$ J. A
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST1 Q4 E9 L5 s  h& g  |4 l
  646. ; and $_FILES to always be empty; the only way you will be able to read the( U5 ?% g! J" z. m
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    , w% W  H- e' P& ~" L+ Q
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.8 l$ |# F5 Q' X
  649. ; http://php.net/enable-post-data-reading
    : S1 }6 x% o& o# \* Y
  650. ;enable_post_data_reading = Off
    1 `( a+ d  C" V6 k
  651. + \* z) c" t+ U' T) n
  652. ; Maximum size of POST data that PHP will accept.
    3 G) l9 ^% y2 a$ _7 r# }5 t5 u
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading3 M! j9 ^$ A' x1 z. c/ C$ i) s
  654. ; is disabled through enable_post_data_reading.
    2 w) B5 o, |5 t$ ^
  655. ; http://php.net/post-max-size
    9 f* }3 ~6 P, S$ a
  656. post_max_size = 50M& I& w% w/ X6 g5 R

  657. 1 b0 n- P  s& c7 n2 R$ |1 u
  658. ; Automatically add files before PHP document.
    2 J, g. m! v+ V
  659. ; http://php.net/auto-prepend-file
    8 k" W3 }& L0 H, s+ j9 W* Z5 ~: W
  660. auto_prepend_file =/ N. `& a; N) V1 @1 T

  661. / W9 R7 Z6 m) {$ t
  662. ; Automatically add files after PHP document.0 ~) f7 q9 e- N# h9 j/ n$ _+ P
  663. ; http://php.net/auto-append-file: s' g1 V3 }: h2 M  |# q" s' X
  664. auto_append_file =
    5 B4 U0 C# z7 \0 D" w+ a1 l2 M) |! z

  665. . _/ y2 ^3 N( {+ P) A' K- T0 _
  666. ; By default, PHP will output a media type using the Content-Type header. To3 Z  k/ ~8 B& o8 t$ C' G
  667. ; disable this, simply set it to be empty.3 ~% u6 U- x1 ]" K( Y4 q
  668. ;
    5 v$ R8 l7 }1 K% \$ S+ L
  669. ; PHP's built-in default media type is set to text/html.
    1 t  t. y" {; v4 Z2 v+ Y
  670. ; http://php.net/default-mimetype
    3 `0 e0 w- M0 M$ x
  671. default_mimetype = "text/html"0 Q6 R4 J: M5 t2 t! m
  672. 0 w/ [& D* b5 l  c' @1 {2 ~( w
  673. ; PHP's default character set is set to UTF-8./ R  N' ~4 o0 x3 b4 L/ q
  674. ; http://php.net/default-charset
    9 D' W5 ^+ w- I# C9 Z6 v
  675. default_charset = "UTF-8"5 n0 v6 C( |; \
  676. 4 K; L3 C7 U+ V# [5 \
  677. ; PHP internal character encoding is set to empty.
    2 v/ P% [% U7 s, W
  678. ; If empty, default_charset is used.
    . z, Q! Y! o) W& ?" \
  679. ; http://php.net/internal-encoding
    ( J5 o8 X8 [7 F; a) g; y- n5 E6 |; d
  680. ;internal_encoding =7 D8 U  D9 K$ [& i+ q7 q- U
  681. 1 ]# y1 T3 K# p1 \
  682. ; PHP input character encoding is set to empty.
    $ J2 ]' M  @3 j9 R: A1 E
  683. ; If empty, default_charset is used.  M  m3 E: V' r+ g0 ]1 E- y
  684. ; http://php.net/input-encoding
    - E/ d+ v6 z' R8 D) T& ]9 u( h
  685. ;input_encoding =
    * C! z( Q! ^7 D0 a( L- C6 x
  686. / ]; L: Q6 F1 B( p+ z
  687. ; PHP output character encoding is set to empty.
      F. p, Y6 D  y6 E/ }4 l% p
  688. ; If empty, default_charset is used.
    % H: K. e0 L' w% ?( }/ F: b
  689. ; See also output_buffer.
    / N# C4 ~5 C! ?, X
  690. ; http://php.net/output-encoding
    9 [1 Y2 m, X, P3 M& b9 z; m
  691. ;output_encoding =
    . h9 A% ~# q: m9 w, k' v
  692. 7 n2 _4 ^: f9 n5 H9 r9 o9 Y
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;+ K9 G( u9 D& W" @/ U
  694. ; Paths and Directories ;
    " C2 [0 ]5 x; J" s% h# U
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;9 a6 f: j2 M3 s# u1 s5 E% x( ^

  696. # f8 N+ t; U! S$ B2 U
  697. ; UNIX: "/path1:/path2"% a. q: A$ j5 C1 q9 g
  698. ;include_path = ".:/php/includes"
    ' E' E& z5 Z- ]
  699. ;% U9 U! E% R/ D9 A+ z/ v) \7 [) L
  700. ; Windows: "\path1;\path2"( a4 X8 D4 M3 _" V$ u( M) C
  701. ;include_path = ".;c:\php\includes"
    / f* I9 E# E, {6 a, U
  702. ;
    # w' U& s. z3 t+ D. r
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"5 X* ~, G" A/ N+ |6 ]. @8 j# T+ ]
  704. ; http://php.net/include-path, _8 B8 P" a) o- F% U5 Q
  705. % ^7 i6 `0 P+ N8 ~8 w, X( }  Z8 u
  706. ; The root of the PHP pages, used only if nonempty.
    & }! l5 W7 r' ^  z
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root# B5 n# T! |9 E' D
  708. ; if you are running php as a CGI under any web server (other than IIS)
    & ^$ k0 M; A3 Q& _: i
  709. ; see documentation for security issues.  The alternate is to use the
    8 t3 q3 J3 r' i( \
  710. ; cgi.force_redirect configuration below+ P! R( s' M$ R; {$ _  Z+ Z
  711. ; http://php.net/doc-root
    * s7 X. u& f0 o- _
  712. doc_root =/ ~# F+ y* p  B. ?0 i- i! K( A
  713. 6 a6 e3 g0 [9 ?  Z
  714. ; The directory under which PHP opens the script using /~username used only
    6 v& J* {4 |% B1 l" @& J* F
  715. ; if nonempty.
    ( Y& m0 I% m1 `0 {
  716. ; http://php.net/user-dir
    2 Y3 X  k8 W8 W: _( _" Z
  717. user_dir =
    , B' M! x& [/ w. u; f  Z8 |
  718. ' Z* `8 Z0 y$ f9 e3 |
  719. ; Directory in which the loadable extensions (modules) reside.( h5 y9 R& L7 W/ W0 w8 T
  720. ; http://php.net/extension-dir
    - p3 R& {, V6 }
  721. ; extension_dir = "./"4 r/ [8 g! T5 N3 y/ v' y1 y4 A
  722. ; On windows:" c0 o5 R% `: K5 X* G3 Z9 X4 f) w
  723. ; extension_dir = "ext"
    4 {% Y7 F2 U1 v# D) G3 L5 j, |

  724. ! R( s/ [5 I7 W* t% K' C
  725. ; Directory where the temporary files should be placed.
    ( b+ w# Q& y& S
  726. ; Defaults to the system default (see sys_get_temp_dir)
    0 W- d0 M+ u* d4 R
  727. ; sys_temp_dir = "/tmp"
    ) r4 [. @  ?3 h3 \: i% d$ C

  728. ! p( {  P  E1 D
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    : h+ y7 D2 n1 A3 n/ v$ n: Q9 n8 k; u
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically' R" H+ r+ ]; Y+ y5 G  t
  731. ; disabled on them.5 `! ^) a3 a: J* B
  732. ; http://php.net/enable-dl
    # f) i% E+ j8 n
  733. enable_dl = Off
    ' V8 X7 a* n! Q3 b4 T& I' q

  734. 1 P% P% C0 Z  h4 {6 T5 ~
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under( U1 V# v$ ^! ?1 ^5 f& S( m
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can) S0 Z( }0 `8 i! L' i* C
  737. ; turn it off here AT YOUR OWN RISK
    / e) `: X5 @$ o' y8 U' G
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**5 j$ q$ G9 @  E/ Y5 ]) _
  739. ; http://php.net/cgi.force-redirect
    7 N" q7 P; @. o$ x2 l" F$ T- T, V
  740. ;cgi.force_redirect = 1
    / w' @2 D2 Q- {3 @7 \, l9 W
  741. ) S, r1 [9 K( v& [
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    $ K& l8 _" [, k! r+ E& ~
  743. ; every request. PHP's default behavior is to disable this feature.  M  ^( b; `+ e
  744. ;cgi.nph = 1
    & J5 M' j* W0 W% q$ s0 G: q3 m0 R
  745. . ^! F7 Y/ \' |5 `& x( |1 I
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape7 v9 M8 P3 r( q7 C6 t! v
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP  s7 z9 j: C4 _# W
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY% \/ v' A% Y7 F: V& q
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.# f# |, I2 j0 T& y! G7 ]
  750. ; http://php.net/cgi.redirect-status-env: Z' k0 @* y% H' b- x
  751. ;cgi.redirect_status_env =: n' j# R2 R; y7 D: e% ^3 z

  752. " R  w, G- {6 {" u) M
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's0 w7 q- ^" V3 C
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok' `! ?+ c( L$ x
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    2 Q& P$ D! |$ |7 `# U: r
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting! [9 ~' S( P; E2 J. e; u& {8 H
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
      F  F! q% F( x
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    3 b' x% Y% b$ z9 o: W
  759. ; http://php.net/cgi.fix-pathinfo: L% `" k# E1 \! e. S
  760. cgi.fix_pathinfo=14 R! V8 x- h1 d
  761. # J/ u: ^  [6 O5 u
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    5 G9 z% J; E4 N* K6 ?  f4 {9 l
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    5 m  W' v% N- a6 z' K0 r
  764. ; http://php.net/cgi.dicard-path
    % p  {: g. q$ P
  765. ;cgi.discard_path=1- ~" l6 _2 t& Z
  766. 2 P) a2 A; G8 F
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ) q) h' j- J3 b% i+ X/ A
  768. ; security tokens of the calling client.  This allows IIS to define the* x4 J  D5 O1 Z9 M% |( _/ n! x
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    , {6 |/ H! p, f
  770. ; does not currently support this feature (03/17/2002)
    & @$ a9 s/ e6 _8 d
  771. ; Set to 1 if running under IIS.  Default is zero.
    # G! R& j3 b6 n( J: A+ @
  772. ; http://php.net/fastcgi.impersonate8 c4 R1 n; e* k5 M2 J' E
  773. ;fastcgi.impersonate = 1
    9 S* e8 S( j, d; }4 u5 n

  774. 9 E& n# |) G/ h. |% r- g2 M
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    $ X8 v7 M$ M5 l  s; {; q: {! J& w4 w- I
  776. ; this feature.
    + v+ V% H& v$ K/ n* o
  777. ;fastcgi.logging = 0
    8 c- f8 p0 W; h/ U
  778. , p0 l" i6 n/ d% r( f/ w9 ]
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to  P4 j; L4 C2 g/ `! U) W
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that' \! T1 u* M$ {. c/ [
  781. ; is supported by Apache. When this option is set to 1, PHP will send+ P" }9 E, c. V9 Y' W% a
  782. ; RFC2616 compliant header.: G: @& v# c6 L7 V; ^
  783. ; Default is zero.3 U& b& B8 p9 Y: f8 D2 f
  784. ; http://php.net/cgi.rfc2616-headers! n8 p3 b3 [9 b  u" g( C
  785. ;cgi.rfc2616_headers = 07 m" \* ]$ n0 k7 Q" Q
  786. * \3 [2 R/ A. L+ \
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    3 B* u+ F( @2 B: F
  788. ; (shebang) at the top of the running script. This line might be needed if the
    , L; u/ c1 a; z" z
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    , y- o+ P( J6 X3 ?7 ~
  790. ; mode skips this line and ignores its content if this directive is turned on.! N  d, r7 |9 n6 M* F" T) ~
  791. ; http://php.net/cgi.check-shebang-line
    $ \! Y) {; `2 t: B/ a/ E6 W
  792. ;cgi.check_shebang_line=1) r3 Z. D$ g& l4 \$ D7 f; e
  793. ! g: M' |0 d+ w% R$ N1 O5 u# ^( _
  794. ;;;;;;;;;;;;;;;;
    $ Y" u/ G" s( d+ E2 ]" E: s
  795. ; File Uploads ;
    4 E, ]7 U$ n) `6 n0 w5 Z+ c3 Z
  796. ;;;;;;;;;;;;;;;;
    7 }6 C2 W- G3 F
  797. , `' x* J3 ]! C7 Z; e" {
  798. ; Whether to allow HTTP file uploads.
    + O  S0 M# |6 o3 H7 J, }3 I
  799. ; http://php.net/file-uploads: I/ P! k' s, }
  800. file_uploads = On
    $ s: y# ?$ |- h3 w4 k) {2 b
  801. : B+ a! I+ m6 ~- F3 e# h) j3 b0 `
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    1 O* {2 r3 j5 o- A: z
  803. ; specified).+ F/ w3 A, I8 F, j4 f+ E! d$ J. H
  804. ; http://php.net/upload-tmp-dir% E0 H+ k) `$ M1 G2 _" F5 G) k
  805. ;upload_tmp_dir =
    1 O$ O  e' U. k2 X  Z* f& M9 [
  806. 0 Q) D) W4 N6 H
  807. ; Maximum allowed size for uploaded files.
    ! @; T; ^' ~9 W% E. w
  808. ; http://php.net/upload-max-filesize7 X7 q2 G2 d9 h6 V( U0 h
  809. upload_max_filesize = 50M
    / e# B" ]8 q9 l# F$ k. E
  810. ' i: H( ~; C+ W0 S3 R6 N
  811. ; Maximum number of files that can be uploaded via a single request
    4 j( ]0 y) W% E2 i
  812. max_file_uploads = 20
    3 K/ J4 g# d+ m% O( v

  813. + c9 M, F% p8 _- z
  814. ;;;;;;;;;;;;;;;;;;; ], q' z2 q. O( x3 C4 b
  815. ; Fopen wrappers ;2 A9 j6 u3 q- |
  816. ;;;;;;;;;;;;;;;;;;8 I) b# E' A( _3 _( |& n7 R, c- F/ ?
  817. ( O1 j8 j, p  ^- \
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ; T1 ~2 U7 |/ x- T
  819. ; http://php.net/allow-url-fopen
    9 b1 h, h, g" N
  820. allow_url_fopen = On
    2 h9 E+ [. Z; R6 g

  821.   j% W* P! b2 P( s; S
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files./ {3 S# a! }( _: N# y( s- l
  823. ; http://php.net/allow-url-include
    / c; I; }8 N' Z3 U/ u
  824. allow_url_include = Off. r8 s2 p) c/ K; j% [" G7 [8 }/ |
  825. 3 c8 s) Z4 e! b" H* v$ l( R
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    / t# [) s: p7 H
  827. ; for this is empty.% d3 S: z7 E" p1 L) A
  828. ; http://php.net/from
    ! [+ U! w6 @2 o
  829. ;from="john@doe.com"  J. L( y5 L0 @1 Z
  830. ; q- [' {! y6 z3 N% z" ?( P% v
  831. ; Define the User-Agent string. PHP's default setting for this is empty.* ]: u1 X+ p7 G: `+ H
  832. ; http://php.net/user-agent+ J  r' V! s" [  ]: g+ Q
  833. ;user_agent="PHP"- F' t+ w6 l! I+ V/ s

  834. & c- J3 I# t0 Y
  835. ; Default timeout for socket based streams (seconds)" C3 s& w4 _* h! [( B
  836. ; http://php.net/default-socket-timeout$ T) v1 V" H5 F" K+ H: a
  837. default_socket_timeout = 60* I+ o8 y, D3 x- \( k8 g

  838. ) c5 x( J/ @; `$ k
  839. ; If your scripts have to deal with files from Macintosh systems,' l. u$ `' r3 e0 _( }
  840. ; or you are running on a Mac and need to deal with files from
    : v- z/ z! p% c1 ^  L3 L5 ]2 Q* s
  841. ; unix or win32 systems, setting this flag will cause PHP to( g# S. r* `6 D# u
  842. ; automatically detect the EOL character in those files so that
    : q$ s2 d. Q4 K
  843. ; fgets() and file() will work regardless of the source of the file.% X0 C7 q* m1 M3 _8 t5 J
  844. ; http://php.net/auto-detect-line-endings
    ! {% d5 v* z8 l
  845. ;auto_detect_line_endings = Off; S# A+ U4 y0 i; m. i

  846. ' k" f3 D1 f; y, r$ \3 m
  847. ;;;;;;;;;;;;;;;;;;;;;;
    5 [& {8 V) |1 R0 z  d; W
  848. ; Dynamic Extensions ;
    ( U* E+ D, c1 f4 Z& p) n
  849. ;;;;;;;;;;;;;;;;;;;;;;
    ( q( A7 n5 S1 \

  850. " q' e; l  f" r& A) y- T
  851. ; If you wish to have an extension loaded automatically, use the following2 f+ G( M3 \+ b2 `8 ]  [( g! X
  852. ; syntax:& B. F; z8 [! E7 @& l
  853. ;
    , x: L3 Y" z3 f& `! }0 k! q! ]8 Y) r
  854. ;   extension=modulename.extension
    + y, ~2 }* J, c
  855. ;
    9 j0 b+ I' J, Y5 Y6 I
  856. ; For example, on Windows:
    - G, e% T4 w3 |. m' h0 x+ V
  857. ;5 E* ]9 E2 B4 D1 S& x+ |
  858. ;   extension=msql.dll7 K/ V4 m, R! x4 U9 C5 Q
  859. ;
    % B% X; Z9 F( q7 ]1 P# ~! e4 D
  860. ; ... or under UNIX:
    1 W& I8 v2 r7 }$ s
  861. ;7 x8 H6 v# y0 ]" N& ]
  862. ;   extension=msql.so9 v# a, w3 L: R5 p& h8 x7 y5 D
  863. ;
    , `" N. `: N, a- b6 u$ S
  864. ; ... or with a path:
    " X9 y: q, U% ]9 p# y9 \
  865. ;; y* q7 d  Z2 W5 p
  866. ;   extension=/path/to/extension/msql.so/ V4 ^# z3 }  ?% V) \
  867. ;
    3 |. T+ Y0 U6 F0 c: _
  868. ; If you only provide the name of the extension, PHP will look for it in its
    # j3 T/ k" j7 ^. w  p0 D, V
  869. ; default extension directory.
    5 `. V- M( K6 g2 Q6 W" w
  870. ;8 E( ]* N3 }! D/ g" W
  871. ; Windows Extensions
    4 V* H$ n0 f' G0 P! k2 W. K
  872. ; Note that ODBC support is built in, so no dll is needed for it./ p# b9 n4 M' P/ n4 p
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    + o3 x, D- U- K8 N. m
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).- e3 I$ }8 q! }  Q3 J+ ?
  875. ; Be sure to appropriately set the extension_dir directive.
      @* w) ?5 V8 W4 r
  876. ;
    " k% c! x- o! a. M* b+ }3 @
  877. ;extension=php_bz2.dll
    " o2 [7 h: L: o5 c
  878. ;extension=php_curl.dll0 ^1 a, @# W* `
  879. ;extension=php_fileinfo.dll
    $ ^( e4 A; o2 V( F3 \
  880. ;extension=php_ftp.dll) Y( f! N3 h1 O* s3 k& N+ g6 u4 u
  881. ;extension=php_gd2.dll- K; z2 _- Z* g. @# d# k
  882. ;extension=php_gettext.dll4 H/ F2 c7 {& l- W2 `6 v6 R" {
  883. ;extension=php_gmp.dll
    4 }" s3 b8 e/ r' s* _
  884. ;extension=php_intl.dll  ^/ s" t3 u/ t+ F  W  ]: w# {# j; o
  885. ;extension=php_imap.dll2 x+ \+ K: [: p
  886. ;extension=php_interbase.dll) I7 J5 X* L8 r; L
  887. ;extension=php_ldap.dll
    * R# @- f* V6 T
  888. ;extension=php_mbstring.dll8 p5 s, r, p7 @0 r
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it( P+ A5 ], G! Z( ?) i
  890. ;extension=php_mysqli.dll
    5 n) i: r. @4 B/ W7 \3 o
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    , L0 o; R  c+ P+ E; y6 M5 B6 {( S5 f
  892. ;extension=php_openssl.dll
    $ J9 N0 Z. Y, Q' z$ i. Z# K
  893. ;extension=php_pdo_firebird.dll4 S/ f1 V- f$ }6 D( [; S9 B
  894. ;extension=php_pdo_mysql.dll
    + K% E: Y* o9 Z- P: I# `, j
  895. ;extension=php_pdo_oci.dll# ^. B% @; d& P: w6 X
  896. ;extension=php_pdo_odbc.dll
    % r, ^3 v0 P* E* A+ X
  897. ;extension=php_pdo_pgsql.dll
    ( v$ H, z! A- J9 G" r
  898. ;extension=php_pdo_sqlite.dll
    ( m' _2 p+ o; {8 Z& [
  899. ;extension=php_pgsql.dll
    2 b% S+ x+ c' u" q0 _$ y: q# X$ n
  900. ;extension=php_shmop.dll
    , |" K7 H7 H% [9 h
  901. 7 c2 f! W5 |: ^7 B
  902. ; The MIBS data available in the PHP distribution must be installed.8 i9 S) n: G0 y! U2 R9 o
  903. ; See http://www.php.net/manual/en/snmp.installation.php: L: c5 C3 ~2 [+ _
  904. ;extension=php_snmp.dll0 _0 W) ~& w+ z8 t' m

  905. # T3 E  B' I/ |1 w
  906. ;extension=php_soap.dll* C" T3 r: _$ o6 R* z  v
  907. ;extension=php_sockets.dll
    # i) H8 a6 W5 s6 h6 h
  908. ;extension=php_sqlite3.dll
    0 z4 f$ d+ Z- y) q& c
  909. ;extension=php_tidy.dll% \4 e  V: Z* B
  910. ;extension=php_xmlrpc.dll
      H/ t2 r1 a: q0 e; Q, x+ e
  911. ;extension=php_xsl.dll: w) c1 `+ Y; |8 A+ u4 a) o, ^

  912. 3 I6 H& j% p- H/ W
  913. ;;;;;;;;;;;;;;;;;;;
    # X$ h8 k' A. z
  914. ; Module Settings ;
    + z8 j+ p) ~3 J( S8 ?
  915. ;;;;;;;;;;;;;;;;;;;
    3 P! O% u, n% v# Z

  916. ) R+ j: x* q2 `6 ?- v1 I
  917. [CLI Server]. S1 _- q' z( J; A) K; `1 y
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    * W3 C0 K6 T, _0 b7 J' E# j4 E7 Z
  919. cli_server.color = On
    . I. n/ V2 U2 g1 g3 _* C$ X

  920. $ K/ B, C+ P8 B9 O: P4 y
  921. [Date]. X% y  Q; ^" e% ], D. s0 K2 L
  922. ; Defines the default timezone used by the date functions
    3 X+ O8 e; ]6 ?. o! v+ }$ d4 I
  923. ; http://php.net/date.timezone
    # A/ H( a$ i1 r" h' J
  924. date.timezone = PRC
    * P2 T1 k; n. O
  925. 3 |) {" u" b% d9 e0 _5 _0 O+ R
  926. ; http://php.net/date.default-latitude' v8 Z6 r2 d8 J6 i1 Q* ~
  927. ;date.default_latitude = 31.7667
    9 ^% `- k" ?* \/ C) a+ u
  928. $ P; ]# g1 A  d9 b. s2 B
  929. ; http://php.net/date.default-longitude
    . h+ O) M0 Q* n$ V; x. D5 H
  930. ;date.default_longitude = 35.2333
    , T$ U- B+ i  f0 _; `

  931. 8 b) E5 f* T7 V! ?
  932. ; http://php.net/date.sunrise-zenith
    " J7 x/ f- L7 J+ i( u  x: w
  933. ;date.sunrise_zenith = 90.583333
    : B* u  o; t5 r: T
  934. 1 k$ z3 n# L! E3 m+ y  G
  935. ; http://php.net/date.sunset-zenith
    9 K( l  P4 O/ Q+ @' x& e& j# ]! G
  936. ;date.sunset_zenith = 90.583333
    $ d) R9 E# o3 Y; m, @: W9 s# D9 C

  937. 2 I4 j* Z( ]9 p: [6 A' l
  938. [filter]/ ]; _0 P7 J. s8 l4 _% k. D
  939. ; http://php.net/filter.default7 b3 k2 ^$ ]3 |( n9 N) F5 G
  940. ;filter.default = unsafe_raw
    # {. V+ h3 c) F2 {; W

  941. # ]& a# D) S$ O+ \4 A/ S' [. e7 O, M4 ^
  942. ; http://php.net/filter.default-flags6 w; s, Z8 W. @
  943. ;filter.default_flags =5 A  a9 f: W1 G% ~7 r7 _1 G4 H

  944. 7 z8 i; B& e1 a" U- [- |
  945. [iconv]
    % N1 |8 N5 {: c: f
  946. ; Use of this INI entry is deprecated, use global input_encoding instead./ L+ D0 a- D: j
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ' O) @4 U( w! B! g+ x9 ], {4 \
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    / D: R( ~1 c7 P! ^6 Y
  949. ;iconv.input_encoding =
    6 O. F( Z. \+ a) D

  950. # ^) A3 S' q* j8 L: z5 f" }
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    8 G2 l: J6 ~  @( N
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    - V( Z, \% q/ t9 B
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding$ L5 S: P7 Z: [: B, z
  954. ;iconv.internal_encoding =# S. n9 Y9 m/ I% W- J

  955.   t& Q" H0 Z, ?' H( ^) \
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.7 O; j) [6 G1 f' j+ O: Q$ d
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.% ~5 S6 t' R& N  W" S# ?  @% u; G2 e
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding+ N( ]! B% N4 |8 u- ^
  959. ; To use an output encoding conversion, iconv's output handler must be set6 U+ W4 e9 n3 y( P
  960. ; otherwise output encoding conversion cannot be performed.
    - ]0 V. W  }1 \
  961. ;iconv.output_encoding =
    3 s+ J& q. @% D% z! [
  962. , w; `' g, K/ n# L" Y
  963. [intl]
    0 x: Y8 k3 u0 S* Z: _
  964. ;intl.default_locale =
    ( z: P( w, s* U; v
  965. ; This directive allows you to produce PHP errors when some error
    ; M. n7 E  H8 T4 R* _& g! S
  966. ; happens within intl functions. The value is the level of the error produced.
    3 `" [% N! @. P( M$ H1 }+ Q
  967. ; Default is 0, which does not produce any errors.
    3 a. e2 O6 L/ E  i
  968. ;intl.error_level = E_WARNING, y$ U& c0 L" v  e3 Y
  969. ;intl.use_exceptions = 0
    , A9 u3 T0 z# z% @: v. y# D
  970. , L2 k' ?3 v# Q2 ?) T( |
  971. [sqlite3]  \$ G1 o/ }! p2 _% V
  972. ;sqlite3.extension_dir =
    ; p6 D& S( S+ K+ {: z
  973. * [6 W9 O+ _* d* E& S: l$ D
  974. [Pcre]
    1 ~+ j2 [) Y1 S. y
  975. ;PCRE library backtracking limit.
    8 u* A, \) ]. Y
  976. ; http://php.net/pcre.backtrack-limit) M1 _" \5 M* L& M8 ?' Q, d6 @
  977. ;pcre.backtrack_limit=100000% ~: ~8 H& q5 E0 L8 [6 j! h

  978. 8 b/ E; H! }! A3 I: e. k- K% l
  979. ;PCRE library recursion limit.$ q- {' d9 I/ A# F6 ^
  980. ;Please note that if you set this value to a high number you may consume all
    $ T) B+ {) L" K/ X# W
  981. ;the available process stack and eventually crash PHP (due to reaching the
    0 h. R, `& `& k- `3 B6 i
  982. ;stack size limit imposed by the Operating System).( L8 j# x  q; M
  983. ; http://php.net/pcre.recursion-limit0 B9 r* \! l& _" D$ m
  984. ;pcre.recursion_limit=100000
    ! B7 K. s/ {4 t$ {& x" S- b
  985. 1 B$ J. j7 a$ k- T/ o
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    , {$ U* v/ P1 V; Q" d' c3 I
  987. ;library to be compiled with JIT support./ g; X+ {; o* j& j, S5 h
  988. ;pcre.jit=1
    * t0 ]  U' O+ P8 L+ e) v. a! ]! j

  989. : v+ l% K& l: l
  990. [Pdo]6 u7 E% L4 O' x( X7 v8 r
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"2 Y; O: d5 c. Y# a* e8 K
  992. ; http://php.net/pdo-odbc.connection-pooling! s: l/ n( W1 e. n' u/ F1 f
  993. ;pdo_odbc.connection_pooling=strict+ \  d0 s+ f* v4 K

  994. ' q4 O1 n8 C: ^; d9 [6 E
  995. ;pdo_odbc.db2_instance_name
    ; V) P, V' R- L- j
  996. " |, X2 v' T0 a+ j4 N
  997. [Pdo_mysql]
    5 B6 q( X0 }- W
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache1 k' o4 ~+ i& p4 `" e2 f
  999. ; http://php.net/pdo_mysql.cache_size
    - d) H3 [7 T4 |9 s7 \4 a) P6 M  W1 G/ H
  1000. pdo_mysql.cache_size = 2000& q$ W  F2 v- C5 T; p
  1001. $ ?# x5 Y6 P6 h9 ^& p
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in( S- \0 \+ ^3 r7 `! T
  1003. ; MySQL defaults.: d- S, d* m& c8 n5 l2 f
  1004. ; http://php.net/pdo_mysql.default-socket
    . ~# u2 Q1 U$ g1 Z* I5 H+ Y
  1005. pdo_mysql.default_socket=+ `$ |) E, B9 n; s, |9 E, D
  1006. ! {' f) Y5 `- A; j9 D7 O% C6 |
  1007. [Phar]% ?  j2 _" k0 Q
  1008. ; http://php.net/phar.readonly2 S8 o$ j& @3 P( T6 |* Y
  1009. ;phar.readonly = On
    7 b- k  D0 ^7 j3 a$ ~0 a" K7 A

  1010. / o' {1 D& O9 N- i$ n& ^7 b
  1011. ; http://php.net/phar.require-hash
    + U) Z  _; n2 `
  1012. ;phar.require_hash = On9 u1 f3 \2 t8 b) z. E$ C0 U

  1013. 0 N* i+ k& t* p/ P3 x. }
  1014. ;phar.cache_list =
    $ u$ N4 Q4 k: k

  1015. + ]4 @- f1 m! _: N9 B. j* S) h( q2 W
  1016. [mail function]
    / T; n4 a% b  n
  1017. ; For Win32 only.
    ; ?$ O  t6 P& a# z2 o3 C. ?
  1018. ; http://php.net/smtp
    4 y, t" x1 e8 k# w1 V# }
  1019. SMTP = localhost
    3 z' `- ?% y2 d0 h* a/ a! y
  1020. ; http://php.net/smtp-port
    & ?7 s9 B  c4 }0 S0 e
  1021. smtp_port = 25
    ! ~  V) ^. u( z

  1022. 3 B3 \& v; w* Y) n! p4 C
  1023. ; For Win32 only.0 P* P8 b5 ~# C3 K! p0 [5 u
  1024. ; http://php.net/sendmail-from
    & g& ^6 b8 R1 s6 K# Z
  1025. ;sendmail_from = me@example.com$ _- h1 d/ b9 h) a* K) m$ F$ u
  1026. 7 o+ b' j# _/ U4 {2 g7 c
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").0 V8 b9 h; s. l1 _4 j1 Q4 V
  1028. ; http://php.net/sendmail-path
    1 Z! Q$ ~7 Y, u" B2 {
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    $ u1 c; }6 j# I

  1030. , Q/ ?3 Z, k- I2 n: b& S" l; o9 c+ c
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    - N; Y# m# |# E' O7 N0 _& Y
  1032. ; to the sendmail binary. These parameters will always replace the value of8 ^9 g% F' B+ {( O
  1033. ; the 5th parameter to mail()./ y/ q8 ~& I6 p$ [5 Z+ m
  1034. ;mail.force_extra_parameters =
    / u! e' t1 p. M6 X3 L5 H: I

  1035. 6 N* R  X- e0 r
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename; j! f3 s2 G. G5 `4 h0 v: \2 G8 B
  1037. mail.add_x_header = On
    ) V9 @/ o( r. i* R2 B3 @* ?

  1038. ) X& j2 s+ A6 V
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    . k4 k( L3 v2 J  b: u% A
  1040. ; the full path of the script, line number, To address and headers." ~5 m, h* [1 ~& I+ i2 p; |$ d% a
  1041. ;mail.log =  j$ R0 D# F6 T* F
  1042. ; Log mail to syslog (Event Log on Windows).9 {. Z; p6 C4 T& P2 {7 B% m
  1043. ;mail.log = syslog* g  T/ `( e. h3 n' B& j5 j, [) W
  1044. 9 I, G9 u  K& o' c, }5 n
  1045. [SQL]
    ' U  p, ]# b" E
  1046. ; http://php.net/sql.safe-mode
    5 O" \- S( g) i5 k
  1047. sql.safe_mode = Off; K* D2 q$ [; ^' Z$ X

  1048. 1 ]7 Q" h9 A( j" z
  1049. [ODBC]& m0 v- U9 @* n6 g7 Y9 `
  1050. ; http://php.net/odbc.default-db
    9 D; s7 {6 d/ }. c
  1051. ;odbc.default_db    =  Not yet implemented6 G# r& X9 ^( N- t
  1052. / K* E" P" D3 @3 k) ]7 z
  1053. ; http://php.net/odbc.default-user5 J2 W8 l. `0 x0 h3 ~6 ?! ^& l, z# i
  1054. ;odbc.default_user  =  Not yet implemented" c$ U7 i: {$ T

  1055. ! S7 J/ b- V& J
  1056. ; http://php.net/odbc.default-pw
    ; i3 \0 q( N# ?' m9 S6 M
  1057. ;odbc.default_pw    =  Not yet implemented
    5 p) Z# ^% J( x
  1058. . c* G: l0 v6 g. Y/ U& R+ o9 q
  1059. ; Controls the ODBC cursor model.
    8 @2 c8 F  x) z; z" o' W
  1060. ; Default: SQL_CURSOR_STATIC (default).
    9 x( r6 U5 M4 ~2 w% m! x% v6 J
  1061. ;odbc.default_cursortype- ^+ D! i$ ]5 z  r" {. J1 c

  1062. . j7 g; a1 Y' |0 ]
  1063. ; Allow or prevent persistent links.
    + c* d" `4 G- O3 Y' ?% I9 ?
  1064. ; http://php.net/odbc.allow-persistent$ L6 g5 D0 U- r- _5 N% F% @& W# g
  1065. odbc.allow_persistent = On+ F8 k7 Q) _% m; Q

  1066. 9 ?6 _) O) E/ v  T' e# E( \
  1067. ; Check that a connection is still valid before reuse.
    & ]; N; s6 i( {. [' z- z% C
  1068. ; http://php.net/odbc.check-persistent
    * s6 F: j; o! ~/ r. |- ^
  1069. odbc.check_persistent = On- ?( w  @" U' j) I# S8 I+ A( A

  1070. % D, b. z. e# F* }" s) B
  1071. ; Maximum number of persistent links.  -1 means no limit.* T& `. G. q6 o* g
  1072. ; http://php.net/odbc.max-persistent
    " N( m3 B' O3 z) e+ d
  1073. odbc.max_persistent = -1
    6 e) e! z1 w3 q9 F2 L9 S! m

  1074. ; p! d" n9 |; h* t$ A* Q
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.6 t, F. ^# ~. |9 ^
  1076. ; http://php.net/odbc.max-links
    # A4 w& |# x% X7 F
  1077. odbc.max_links = -1
    1 E5 K6 i9 T7 P% O

  1078. & ]( E9 e( h  t1 l% y
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means( n" o/ P' l% C& E2 X2 l  _
  1080. ; passthru.
    3 `( w) W! m# y0 G* V$ n
  1081. ; http://php.net/odbc.defaultlrl, {( V6 i/ f* J+ B. N
  1082. odbc.defaultlrl = 4096: P- p$ z# M+ q

  1083. / n$ g6 t  v, z% p9 y8 w  A" c
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.- Y; ?& h( d$ B% O% F2 u
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    $ i. a: d' Z6 t
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    6 B) H0 X2 Q) T0 b- ]6 Q) T
  1087. ; http://php.net/odbc.defaultbinmode- k" P9 }! N0 `' w4 a( j- V9 Q
  1088. odbc.defaultbinmode = 1
    , `4 P+ U8 q! U& V
  1089. + s: C& f& o. z* J- g7 Y
  1090. ;birdstep.max_links = -13 U1 }) s2 W& @% N

  1091. 8 M6 m1 G8 g  r9 F
  1092. [Interbase]
    4 f7 l$ t" ~+ ]( U7 y6 Y  O
  1093. ; Allow or prevent persistent links.
    5 h/ j2 x. H9 ]# U* {2 e
  1094. ibase.allow_persistent = 1
      c8 M* _" _3 [1 k/ r

  1095. * h( u) S% k# B* x
  1096. ; Maximum number of persistent links.  -1 means no limit.
    , O# S/ A* S& w7 I
  1097. ibase.max_persistent = -1
    ' u- {1 n  l+ X5 N* I; Z$ I3 |
  1098. , a& W3 O1 H2 r, T: N
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.& W4 ~# O8 o( t2 j3 }' d2 S
  1100. ibase.max_links = -1
    ( p' Q/ |& R! @' K
  1101. - U. |0 W; E! D6 M2 L* g
  1102. ; Default database name for ibase_connect().: D+ T( o2 X, h2 ~- |# l
  1103. ;ibase.default_db =7 z" v$ i9 p9 e( [7 G! `& ~+ F
  1104. * B, D2 N8 w' c, n' @
  1105. ; Default username for ibase_connect().
    & V6 Y" H4 D# e1 e  ]& A4 a
  1106. ;ibase.default_user =
    + W' |7 K  y) _9 ?1 l' u
  1107. ( |  I% ]8 E' L' o  T. V9 _
  1108. ; Default password for ibase_connect().7 h( C) N0 d5 M- v6 k; ?
  1109. ;ibase.default_password =
    4 A8 @$ b2 f! r, F

  1110. + G7 U: i, \5 R9 S: ~
  1111. ; Default charset for ibase_connect().
    9 `6 C: ^9 ~) e2 e
  1112. ;ibase.default_charset =6 I/ \: H6 v# `1 u& n

  1113. 7 W% a/ c. H" C$ X2 C& S8 b  C# ?
  1114. ; Default timestamp format.! @, B, ~  E8 ^- m% Z2 I+ q
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    * j9 |+ L- D- Y; I3 k

  1116. & g. ~1 M3 t" q
  1117. ; Default date format.' g  p7 a7 j+ h$ y7 Y* Z. S
  1118. ibase.dateformat = "%Y-%m-%d"6 m) O# T2 y& z& l6 s

  1119. 9 J' h% x9 r: O
  1120. ; Default time format.& k" b! I  X( G, o: l  D
  1121. ibase.timeformat = "%H:%M:%S"- h( Y4 ~. {$ g( r" A- o* U( p

  1122. 4 e" N% g8 X/ J# ^" p5 n
  1123. [MySQLi]2 q# f, l1 {  Z1 C( y( ]

  1124. ( W( v& H" l- B$ F! e
  1125. ; Maximum number of persistent links.  -1 means no limit.6 p$ Q7 A. q* c3 F4 K
  1126. ; http://php.net/mysqli.max-persistent( T) g! L& Y: w, c! B
  1127. mysqli.max_persistent = -1
    ; G1 x% I3 s: H; Q, f- c: k

  1128. % s& p) E% O+ y: [
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements( c# F- [2 B" w& W  P0 P# V' a
  1130. ; http://php.net/mysqli.allow_local_infile$ X. {+ g9 _0 y
  1131. ;mysqli.allow_local_infile = On
    7 D2 W3 ?, V9 q

  1132. 8 ^' d  v' S6 x
  1133. ; Allow or prevent persistent links.8 }& O. }2 o4 _
  1134. ; http://php.net/mysqli.allow-persistent( E, j/ N7 o4 ?' v
  1135. mysqli.allow_persistent = On  H# j9 N6 \: v! Q( S, S3 o: z

  1136. 0 p2 i+ G( c* f, }1 w
  1137. ; Maximum number of links.  -1 means no limit.
    . Y! o+ K+ `9 l8 u, E9 {
  1138. ; http://php.net/mysqli.max-links
    % h& g- ]. w& M* f
  1139. mysqli.max_links = -1
    ) R0 @; h3 }& ]

  1140. ' K6 p1 P" E, M0 ^7 W
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    . k5 m+ ]' p8 c8 [% V
  1142. ; http://php.net/mysqli.cache_size, ]' ]7 t% N8 T4 h* d# F
  1143. mysqli.cache_size = 2000
    - z9 d# A. c! p7 Y  _3 v

  1144. 1 i5 I8 l7 u5 m+ m) L4 u
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use% _/ ^4 W% g: o3 e4 _
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    % o# k  i8 Z, W) B3 u# x! }
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look1 w6 j; E" O0 E
  1148. ; at MYSQL_PORT.' l1 x# m  A: g% `) s3 W
  1149. ; http://php.net/mysqli.default-port
    / c3 I0 n! i* X/ a5 d
  1150. mysqli.default_port = 3306
    ) n# O3 J" b$ k$ h1 o

  1151. - n( Y( b: @" k7 S- V& X$ {0 m
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ H( q, w+ U3 ]0 ?. i
  1153. ; MySQL defaults.
    8 ]3 w  Q' a9 z! N  _: F( ?2 s
  1154. ; http://php.net/mysqli.default-socket# x) g. H) a/ U- m
  1155. mysqli.default_socket =; V6 h6 Z# s& A! o6 @% j
  1156. 8 u. D; E. V; v7 I4 @" i' e: ]/ E
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    1 g9 p8 t1 t0 n1 S4 w4 ~  c2 l- f/ L
  1158. ; http://php.net/mysqli.default-host
    ; D* R& h/ C9 q6 W5 {' _
  1159. mysqli.default_host =, o( q2 s, t( t! I

  1160. % a  c9 M# Z# X; P! z3 @
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    " G6 l# n6 A: {# d- W, s
  1162. ; http://php.net/mysqli.default-user
    3 y) b! U* `7 ]# D% ]; A1 O" c: S
  1163. mysqli.default_user =
    # ]/ U% U; Q8 A( N
  1164. : X. c/ U. @! n: P$ @8 {6 x& _
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ( n8 \# t, u; ]/ U
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    $ E0 f2 k$ _+ K- e" e! |. U
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")9 ?8 S) c% b2 A4 D* z* J
  1168. ; and reveal this password!  And of course, any users with read access to this
    . r1 V3 {! S! r4 m1 m% X5 c
  1169. ; file will be able to reveal the password as well.
    , j4 O$ S$ H# Y9 z- T0 i; {4 [
  1170. ; http://php.net/mysqli.default-pw
    1 Z8 b# g: ]0 J9 y0 V+ J
  1171. mysqli.default_pw =1 Z" C9 S2 w4 `5 G; i: D
  1172. 9 [9 y$ S# ~1 w( a. _1 x
  1173. ; Allow or prevent reconnect; F5 P) V. C( C, R* k
  1174. mysqli.reconnect = Off
      E& E) T* }' @2 F

  1175. & `* |$ U5 I1 R3 C9 A" P) N
  1176. [mysqlnd]" K6 l: T# a, g. R1 {- Q% a# r
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    1 G. d( _9 p2 N' y+ m
  1178. ; used to tune and monitor MySQL operations., o3 M- V4 M$ |
  1179. ; http://php.net/mysqlnd.collect_statistics
    % p2 G  U' ]8 H
  1180. mysqlnd.collect_statistics = On( p/ J2 \! M4 `+ l& H

  1181. ' T. O% z4 N; e! U' D, f
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
      q- |8 H5 @& ?& ^4 c, s
  1183. ; used to tune and monitor MySQL operations.
    . E$ k7 y/ d& e; |& ?' B* q5 c
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    & B6 r1 c' ]: \5 F* N( [
  1185. mysqlnd.collect_memory_statistics = Off
    ) ?: g: Q, c/ }

  1186. " E& `( s7 Y" G: k. i- I
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    ! W1 B- {& [' p% _
  1188. ; file.7 T7 b* r8 V. L3 y6 j0 J
  1189. ; http://php.net/mysqlnd.debug
    ' c# u% G# I0 W" f
  1190. ;mysqlnd.debug =
    6 l; }9 y+ s: A8 a( e
  1191. . ~8 v  l! X: A( G
  1192. ; Defines which queries will be logged.
    7 w' K6 B; R+ R4 r6 O' L8 k- T
  1193. ; http://php.net/mysqlnd.log_mask9 X) e# ^$ b8 S  ^' S. |
  1194. ;mysqlnd.log_mask = 0( f! p0 F5 y! b* r9 D2 L

  1195. 5 [+ c+ F/ i$ A
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    * E( @- a. _6 `/ z1 \( u
  1197. ; http://php.net/mysqlnd.mempool_default_size1 O9 h* u7 a. }1 U& U  e
  1198. ;mysqlnd.mempool_default_size = 16000
    & F" `% H! \! m# k, v4 S

  1199. 9 ~- x# v2 n6 K  P
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    , Y0 r6 q8 \: y. ]4 d) l
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    $ D+ O$ X5 T3 R, p& ~4 [+ \8 V- _
  1202. ;mysqlnd.net_cmd_buffer_size = 2048+ u2 h$ {; U+ y+ w: O& B

  1203. 8 n' g" y: T# q7 S/ D+ C
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ) Q. Z' `  I! C2 H2 z/ Q5 ^  v
  1205. ; bytes.& X2 n9 m4 C6 O
  1206. ; http://php.net/mysqlnd.net_read_buffer_size6 _: k, C) [6 b
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ) Z. ]! K3 {+ R) s" s* A! B

  1208. $ v7 g. F2 a* {
  1209. ; Timeout for network requests in seconds.
    . K  c4 h7 f! p+ g7 h7 G6 n5 z
  1210. ; http://php.net/mysqlnd.net_read_timeout( Q% k- Q7 W- {" G
  1211. ;mysqlnd.net_read_timeout = 31536000
    9 V/ J8 `9 Y' v
  1212. $ E5 \% o: c3 I# u" B0 V6 r
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
      v* _/ X9 v- x  V) g2 h  M) P
  1214. ; key.' s3 k/ q) ^9 [* k
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    : N% j- q% Y) w$ e8 E
  1216. ;mysqlnd.sha256_server_public_key =0 |2 a6 V: j# I- j' I
  1217. 6 }' j% u- ^) [
  1218. [OCI8]
    # H3 j8 p% I- ]# e

  1219. . v9 d. `# r" H- P" x1 }! i0 f
  1220. ; Connection: Enables privileged connections using external7 ?% [$ [& l0 L4 S3 u8 e# ]
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)7 K  g% _+ y% X5 q! T/ l' V
  1222. ; http://php.net/oci8.privileged-connect. P5 [# Q: K0 C$ y
  1223. ;oci8.privileged_connect = Off8 V. J& A2 R5 Z+ A/ ?: B) y

  1224. 2 {( U- f8 _% @9 @0 P' E8 c
  1225. ; Connection: The maximum number of persistent OCI8 connections per4 `: G  S7 `' N4 K2 y1 c
  1226. ; process. Using -1 means no limit.
    ' _/ A( M: C4 f7 l* z1 z% b
  1227. ; http://php.net/oci8.max-persistent' f, x% X8 b2 P3 l  N: q
  1228. ;oci8.max_persistent = -1
    1 u( T) a" q: ^6 J

  1229. ! q2 U* `! ^& H' y8 g; o9 H
  1230. ; Connection: The maximum number of seconds a process is allowed to
    ' |( j2 V; D6 M& E
  1231. ; maintain an idle persistent connection. Using -1 means idle! g! X: \6 H$ g9 y: l$ M
  1232. ; persistent connections will be maintained forever.- Y- l+ G6 I& ^
  1233. ; http://php.net/oci8.persistent-timeout
    0 P6 @6 {/ ]$ Z8 ?: d2 Z' F
  1234. ;oci8.persistent_timeout = -1
    ( ^2 n/ W$ j6 B

  1235. " Q8 G- p; j. I8 @( E- f
  1236. ; Connection: The number of seconds that must pass before issuing a: z2 c# E. K! \- B, S4 r* M) C
  1237. ; ping during oci_pconnect() to check the connection validity. When3 v3 p  ~" x8 i# I
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables" k: v$ v- g' A; [" a& z# C
  1239. ; pings completely.' }9 _6 z! p' y" m* h; a' F
  1240. ; http://php.net/oci8.ping-interval- V' `8 @/ A& m) ?
  1241. ;oci8.ping_interval = 60
      {. k. _$ l/ Q% y4 k5 N
  1242. " ]* z0 X$ F, b; _9 M
  1243. ; Connection: Set this to a user chosen connection class to be used& ^3 f9 F' g7 C; T# h$ [+ T
  1244. ; for all pooled server requests with Oracle 11g Database Resident) v9 i% L6 h, T$ R: ]
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to; b' B4 ]% o7 R
  1246. ; the same string for all web servers running the same application,
    % B) J. i" G. A- E: n
  1247. ; the database pool must be configured, and the connection string must
    5 D! @+ d  C2 Z! S# L
  1248. ; specify to use a pooled server.
    , `9 k* |/ o" {) A4 S4 h7 C( s" [# u
  1249. ;oci8.connection_class =
      E, W' Q- L% Y* w/ q# Y
  1250. , j( f! {5 U$ \  z0 n' ]! ^3 }
  1251. ; High Availability: Using On lets PHP receive Fast Application
    * m+ }! B- t- x
  1252. ; Notification (FAN) events generated when a database node fails. The0 v6 e/ F2 \) O7 ]4 E9 g" `' G" L
  1253. ; database must also be configured to post FAN events.
    ) `; W+ L2 c9 Y! }5 o
  1254. ;oci8.events = Off
    4 q, z6 C% I+ @, ]. S+ A9 h
  1255. $ z8 H' t4 u# u% h/ D( P
  1256. ; Tuning: This option enables statement caching, and specifies how8 M# H+ j% Z, d; W" @- S
  1257. ; many statements to cache. Using 0 disables statement caching.# f6 s% c& b3 E8 V2 H! D
  1258. ; http://php.net/oci8.statement-cache-size/ \7 j, m5 F1 ^/ |
  1259. ;oci8.statement_cache_size = 20" K4 N0 f7 u5 K8 Z$ x
  1260. ) p9 g, Q& ]3 S, y" }0 n0 S
  1261. ; Tuning: Enables statement prefetching and sets the default number of# _  G6 p) s# i; B- L! G, T0 ]5 R
  1262. ; rows that will be fetched automatically after statement execution.
    , c2 w4 |4 B5 G- ^: C! X4 H
  1263. ; http://php.net/oci8.default-prefetch
    ; j/ l& Y1 J. P7 [2 L
  1264. ;oci8.default_prefetch = 100
    $ y6 P9 [4 K) {5 Q- m; w  s- D* Z

  1265. % U" w# S8 e+ G; }7 u' x/ K
  1266. ; Compatibility. Using On means oci_close() will not close
    0 j% r7 l* N4 L4 |+ V
  1267. ; oci_connect() and oci_new_connect() connections.2 X  J  B3 C* L
  1268. ; http://php.net/oci8.old-oci-close-semantics, s( C% a7 v/ C& E4 s* h
  1269. ;oci8.old_oci_close_semantics = Off
    . h8 L4 ^5 H7 @9 I' }. P4 s
  1270. - d1 S  O4 s+ |& l6 E
  1271. [PostgreSQL]. q) z+ F% [, D5 ~
  1272. ; Allow or prevent persistent links.4 @' o6 b( x0 [; Q
  1273. ; http://php.net/pgsql.allow-persistent
    $ E9 U6 N5 h. o+ m2 P' e5 h8 H
  1274. pgsql.allow_persistent = On
    6 z  L. Q  Y) t; p1 Z4 K

  1275. ' v3 t$ o2 s3 h3 X& y8 A. u$ R- Q
  1276. ; Detect broken persistent links always with pg_pconnect().
    - F  R. S0 L; h7 n
  1277. ; Auto reset feature requires a little overheads.
    3 D8 v& C3 I1 L8 O/ F9 q9 E* \
  1278. ; http://php.net/pgsql.auto-reset-persistent
    5 o5 s- K7 d) m' S* d* z: p! D
  1279. pgsql.auto_reset_persistent = Off
    9 b9 O0 K8 [: |- p7 J/ ~# Q: C

  1280. - S/ V' x1 \6 G9 z; R9 {+ t
  1281. ; Maximum number of persistent links.  -1 means no limit.
    2 W) v3 o) \& R% E8 u- s) V, a
  1282. ; http://php.net/pgsql.max-persistent
    . F4 o2 }& T+ k3 R+ ^0 t' q
  1283. pgsql.max_persistent = -1# L, E4 B% E3 _6 i. _2 ?
  1284. % Z2 }6 ]/ J4 O) z+ o
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.2 M7 c  o: \9 a8 s
  1286. ; http://php.net/pgsql.max-links+ D! _) X" ~% a3 I" k+ ?+ d
  1287. pgsql.max_links = -13 _3 W* o" c. i$ ?

  1288. 1 t# z1 ~/ Z6 R+ Q! q- f) f' Z# `
  1289. ; Ignore PostgreSQL backends Notice message or not.
    # Z9 q; C$ B4 K$ D  k
  1290. ; Notice message logging require a little overheads.
    , K% u; V% x. ^- }: p3 Y
  1291. ; http://php.net/pgsql.ignore-notice8 D: i9 j# x$ S8 i0 R
  1292. pgsql.ignore_notice = 0
    # s/ f4 s; ]: W# e* \- n
  1293. ! Z2 S+ X  a# _  F7 L& m2 L; G
  1294. ; Log PostgreSQL backends Notice message or not., t! o+ k* d: e) R
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
      s5 \5 ?8 A; i" h1 @& {
  1296. ; http://php.net/pgsql.log-notice& ?2 o" G# ^4 n) P% T
  1297. pgsql.log_notice = 0
    7 b4 @1 Q- z# ^& ?3 H  S
  1298. * T: p+ y6 L! v
  1299. [bcmath]
    8 ]: C/ }) B/ p" U, b, L
  1300. ; Number of decimal digits for all bcmath functions.7 \' Y; B' i  v! n
  1301. ; http://php.net/bcmath.scale5 ?8 T, F5 W  Q2 p" v
  1302. bcmath.scale = 0
    - G1 i4 {) u' R
  1303. 0 _, n: w; s7 I
  1304. [browscap]
      ?# C+ Y9 A4 r; g; O  x: T
  1305. ; http://php.net/browscap4 K- U  Q1 T9 g
  1306. ;browscap = extra/browscap.ini
    9 j$ _2 W5 e: d, z- \* W9 |3 G( Y

  1307. 0 k  D5 N1 {7 f% K8 x4 Q# Z
  1308. [Session]3 P& H6 w5 S1 ^! \  G1 u! F9 e' d& w
  1309. ; Handler used to store/retrieve data.
    & s0 g- w; Z* s" w
  1310. ; http://php.net/session.save-handler- m) Z7 d3 Y0 {9 T7 R# B, ^2 ~
  1311. session.save_handler = files
    9 S1 c4 U4 x! O
  1312. % }4 K' M8 N: V7 z5 d! L  A$ t
  1313. ; Argument passed to save_handler.  In the case of files, this is the path" R, |1 Z" [1 U
  1314. ; where data files are stored. Note: Windows users have to change this
    2 H, N  _6 M2 I  w; f
  1315. ; variable in order to use PHP's session functions.$ z; ?5 k, v8 @. v* [( r4 ~
  1316. ;
    : Z5 W4 H" r" T  N
  1317. ; The path can be defined as:$ h2 G' ]+ f$ q7 F+ s
  1318. ;
    2 T. C$ \/ J4 o; w( G2 `
  1319. ;     session.save_path = "N;/path"2 v" `- \9 H; C- g& `7 z
  1320. ;, O$ j- X: |5 n4 M5 u2 y
  1321. ; where N is an integer.  Instead of storing all the session files in
    " ]$ ]- U( j! `3 p1 ]
  1322. ; /path, what this will do is use subdirectories N-levels deep, and" f9 B- R/ }) C5 k/ t  g
  1323. ; store the session data in those directories.  This is useful if  F$ Z1 q6 p  W3 R
  1324. ; your OS has problems with many files in one directory, and is
    - F9 V6 @4 j& P9 A5 q# t- H  H8 ?
  1325. ; a more efficient layout for servers that handle many sessions.
    / a- X* [7 I" [! I: B4 O. }" r7 T
  1326. ;
    ; H6 z* C, Z( |& a( p% F  H
  1327. ; NOTE 1: PHP will not create this directory structure automatically.6 e8 ^6 A: X& ^
  1328. ;         You can use the script in the ext/session dir for that purpose.
    $ q5 H+ t, z4 D+ y% V  \/ [
  1329. ; NOTE 2: See the section on garbage collection below if you choose to  M6 z. u; K' z
  1330. ;         use subdirectories for session storage
    4 Y" f5 T! j& c
  1331. ;" d$ g, g, p7 m. C$ Y. t, u
  1332. ; The file storage module creates files using mode 600 by default.; F7 _! J, M5 s$ x1 n# U' y
  1333. ; You can change that by using1 D3 e0 M$ g% c- j( w: D" X
  1334. ;$ Z* z7 o0 [# t+ D$ a/ Y$ k! O) Z
  1335. ;     session.save_path = "N;MODE;/path"2 y! o3 H& I: P5 O7 m" l8 O
  1336. ;
    1 {5 G- @  c2 ?' {  m- \% o* H
  1337. ; where MODE is the octal representation of the mode. Note that this
    5 n7 M" ]- Y& [0 k5 @4 `0 F
  1338. ; does not overwrite the process's umask.
    $ V$ E( Q$ v) f- P# `$ I
  1339. ; http://php.net/session.save-path
    . h1 E% I" e5 g3 G4 K
  1340. ;session.save_path = "/tmp"
    1 b: x7 g& ~6 Z( i* u% _- q

  1341. ( r" D1 m( ^$ q3 b2 A
  1342. ; Whether to use strict session mode.7 c5 J! k4 ^. }; v! D
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    : A  s* N# j2 W6 p# D0 `! a( Y
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects- L( ?7 g) H6 `* ?1 I: c: w# T
  1345. ; applications from session fixation via session adoption vulnerability. It is5 E: [; G) P& t# {, M
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.# h. n/ h; v5 R- J; P& s
  1347. ; https://wiki.php.net/rfc/strict_sessions! n  m) `3 S$ H! t: c: R8 A1 G
  1348. session.use_strict_mode = 0
    . E1 F4 n( X) f  K$ d
  1349. 6 b0 X7 h% q5 }+ c
  1350. ; Whether to use cookies.
    : b& _! b5 c8 v3 E$ {$ {3 L! s
  1351. ; http://php.net/session.use-cookies
    - F# q+ u9 ?* @' y" m
  1352. session.use_cookies = 1. I5 u& J& K( u" B. u) q- n
  1353. % F3 r2 y6 F: O: A" g7 `
  1354. ; http://php.net/session.cookie-secure
    - I) X9 r( S: h1 V) A" N
  1355. ;session.cookie_secure =6 i8 z: Y3 \. Y% j

  1356. & n- o4 k7 K8 J$ u( R
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    . i/ L3 l6 x# R- M# a
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    3 v; B1 M* d' D( ^4 r3 C: X" G
  1359. ; session hijacking when not specifying and managing your own session id. It is2 I. \- x8 R7 Y" E9 @1 ]2 x5 _
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ; ~6 y6 @' q& N$ i" S+ X
  1361. ; http://php.net/session.use-only-cookies
    & w3 e* i' S* y3 w: I: p" @
  1362. session.use_only_cookies = 1
    $ o! b8 a, \6 [& _
  1363. 7 O# _; V+ i. |. r- O
  1364. ; Name of the session (used as cookie name).  S; d$ S" N! K, B) \6 Z
  1365. ; http://php.net/session.name
    ) V& g, Q2 v* _# ]: g0 Q: u
  1366. session.name = PHPSESSID; I/ l0 `, P3 r2 L9 }
  1367. ! O/ y: F9 U9 \* i+ v& Z4 }
  1368. ; Initialize session on request startup.
    4 `2 \4 o3 S0 s/ @1 {2 K
  1369. ; http://php.net/session.auto-start( ?7 b( Q, h) a! R+ o8 M$ k: I; j
  1370. session.auto_start = 0; N  G/ Y3 s/ G) b7 Z* X/ C
  1371. ; q/ J" N! j: F  V+ f# t
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.$ ?# f  ^4 G7 |0 i& d& x" O/ S% |
  1373. ; http://php.net/session.cookie-lifetime7 n. A; s! H5 {3 @" o
  1374. session.cookie_lifetime = 05 B2 K4 W3 |4 T  G) t+ e/ M4 e( Q
  1375. ' l9 A0 ]4 [( u% ^0 ~) c6 c) `
  1376. ; The path for which the cookie is valid.
    6 C4 X: Y' v) j6 Z+ l6 h
  1377. ; http://php.net/session.cookie-path
    4 m+ K. V9 I2 }# W8 v
  1378. session.cookie_path = /
    " H$ c. H7 r; ~! r# g
  1379. 3 v9 L2 E! ?0 o3 ~, I& M3 ]/ G' V; }4 F2 \
  1380. ; The domain for which the cookie is valid.  k% H8 r8 i* B7 N4 B3 @
  1381. ; http://php.net/session.cookie-domain
    , G: j  ?! w) l
  1382. session.cookie_domain =; Z! j7 @3 X( |, U9 K8 x
  1383. " |, h' @& p8 F8 E
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    * F& }% z7 N+ G0 j6 l, U4 @: P
  1385. ; http://php.net/session.cookie-httponly
    7 r8 P" Z8 i5 a9 R0 J- M
  1386. session.cookie_httponly =
    " R6 g' [: ]# S8 T
  1387. # F3 ]- y& |8 @" M
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    - l/ V( D8 s; l
  1389. ; http://php.net/session.serialize-handler
    - l- G0 E% \' M7 y0 t) `2 `+ u
  1390. session.serialize_handler = php: A0 w# {3 {% W5 z$ P  T! G+ j  n

  1391.   p; Q; q, P8 Y- j
  1392. ; Defines the probability that the 'garbage collection' process is started" U5 F2 z+ \$ G" k( z
  1393. ; on every session initialization. The probability is calculated by using7 y7 T9 O, |! g$ G0 _( O
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator- O$ o5 |* f5 K9 z! q; u) D
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    * c/ a' Y) E7 t+ p0 q5 u$ D
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    # h& u0 C9 e& ?4 p- N
  1397. ; the gc will run on any give request.
    5 p, U. o8 h$ m: T
  1398. ; Default Value: 1
    ! O* w/ O% [* U3 y
  1399. ; Development Value: 1( G3 k+ J5 H# D! Q2 d9 _  s- N
  1400. ; Production Value: 1: i. W! {& j* z+ ^
  1401. ; http://php.net/session.gc-probability
    ' M* S8 g; }6 l: ]+ S: o  N: R% j# T
  1402. session.gc_probability = 1
    . c: \3 j8 z8 ?; K2 G' c* v: B

  1403. ' Q4 Q, T6 q  u1 N& M# R5 }
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    4 h  O; ^" H1 E& J4 @8 D3 d8 u
  1405. ; session initialization. The probability is calculated by using the following equation:
    ) o- Y8 w# I% ^: T9 E
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    + G0 ?& s  G- @3 ~9 Q
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 16 A5 u: x/ D% R3 |9 l
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 L( k$ B- J  ^+ F
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    1 I* j: w( g8 B# Z( Y
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,' b  Y" o6 d$ G/ N! x$ f7 T
  1411. ; this is a more efficient approach.$ O% X; a' g: u6 z6 [5 ?
  1412. ; Default Value: 1009 ~/ a* [" y& ~$ H, T1 P
  1413. ; Development Value: 1000/ S  L: u# L* h7 a/ o
  1414. ; Production Value: 1000
    % N: U2 `) d$ x* F2 d/ a7 h! m' T6 J
  1415. ; http://php.net/session.gc-divisor) y$ J3 B( v1 _" V
  1416. session.gc_divisor = 10002 y' [+ ~) f3 Z+ P" w9 O
  1417. 8 q- D5 b: w$ V/ L2 C
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and9 r1 a9 D0 `% G5 S3 D0 |" U
  1419. ; cleaned up by the garbage collection process.
    % J0 f1 g2 ~# j* _& E( y: u; r0 U
  1420. ; http://php.net/session.gc-maxlifetime1 X1 K, V. q0 u: y5 b7 |* _: i
  1421. session.gc_maxlifetime = 1440" Q3 x# u* W* _3 ^$ m* L& T6 ?
  1422. 8 U3 Q* P5 C& V/ H1 o  m
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    6 t# x' x+ m8 Z+ F
  1424. ;       (see session.save_path above), then garbage collection does *not*! L2 a5 u% l  `8 |9 q; E
  1425. ;       happen automatically.  You will need to do your own garbage
    / Y" B* g! ?7 _4 X6 C
  1426. ;       collection through a shell script, cron entry, or some other method.
    8 g* z! k4 }1 ?1 K
  1427. ;       For example, the following script would is the equivalent of
    2 V# B* |$ f) ^4 Y+ {
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    8 D2 {, \8 w8 _8 x8 P0 B7 f7 w
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    3 y+ A9 {, g4 `$ p4 x2 k- I  w$ A

  1430. 7 D' d9 @0 b# x( o' [0 [! V. Z
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids., B) {8 b9 _  M0 P" E) p6 G+ P
  1432. ; HTTP_REFERER has to contain this substring for the session to be5 W' d% Y% _+ \8 U3 ?7 X
  1433. ; considered as valid.6 v2 u7 z, s2 \$ f& j$ O
  1434. ; http://php.net/session.referer-check
    ) b* _! F$ c& j2 _) x* g. B
  1435. session.referer_check =) x$ j& x9 w+ l; v' z+ {  |: D

  1436. * J& ^8 c( T. r9 I/ f" n! n' f
  1437. ; How many bytes to read from the file.( v2 o1 U" K7 O  K9 d
  1438. ; http://php.net/session.entropy-length
    ' \  q1 X# N, `6 G
  1439. ;session.entropy_length = 328 q  q! A% E# k, w

  1440. + A9 ?& x5 v3 W: r
  1441. ; Specified here to create the session id.9 m8 X) G$ v2 H+ `0 d6 f/ G; M& K( r, C
  1442. ; http://php.net/session.entropy-file# l1 h2 M0 z% k# X
  1443. ; Defaults to /dev/urandom
    9 ]4 ~) `# d5 t# \( \  l3 a1 d
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom* x# F; K' v$ U7 U1 ]9 K* Z- j
  1445. ; If neither are found at compile time, the default is no entropy file.
    & g- W9 J1 Y3 k3 w1 {2 S
  1446. ; On windows, setting the entropy_length setting will activate the7 k( [" b6 t7 j: J
  1447. ; Windows random source (using the CryptoAPI)! C: W4 `6 V$ ^6 _) x" y
  1448. ;session.entropy_file = /dev/urandom+ p: p; z8 [6 S- T* X! P8 q

  1449. 0 T3 ^7 w/ Y0 s7 l
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
      q: k3 d+ D) W9 b* d& q
  1451. ; or leave this empty to avoid sending anti-caching headers.) W5 f. B$ q5 l
  1452. ; http://php.net/session.cache-limiter
    3 q4 H& ~+ t9 z, f9 e) o3 ~% |6 w
  1453. session.cache_limiter = nocache
    0 u- u; K( t8 }; s7 o
  1454. 4 Z& e1 t! Q1 A
  1455. ; Document expires after n minutes.- s# {$ Y! I5 Q. m
  1456. ; http://php.net/session.cache-expire
    + D  G# t) I, L/ s+ K5 t/ N
  1457. session.cache_expire = 180+ V; t4 y1 R4 Q$ }4 t

  1458. * f, ^( X6 O. {& w+ p
  1459. ; trans sid support is disabled by default.5 U. B5 O' d9 t0 Q& R$ Q
  1460. ; Use of trans sid may risk your users' security./ G, a1 @" s9 @
  1461. ; Use this option with caution.( B5 ~" B/ Z9 l" T" Z& q
  1462. ; - User may send URL contains active session ID9 k" c$ x! C6 }( G4 S8 D0 f9 K
  1463. ;   to other person via. email/irc/etc.& k- x3 y- H* M4 k4 Y* ~
  1464. ; - URL that contains active session ID may be stored
      m) z) L# G" m2 G  w
  1465. ;   in publicly accessible computer.
    3 h9 f" y7 E" i
  1466. ; - User may access your site with the same session ID) a( N9 n, E. `, @" a0 D7 Q
  1467. ;   always using URL stored in browser's history or bookmarks.
    0 n3 f. G1 s) A# v" @( W& j
  1468. ; http://php.net/session.use-trans-sid
    $ C. v9 A) Z" }2 R. u' r; V7 ^
  1469. session.use_trans_sid = 0
    8 ~# s/ k3 ]. w8 d

  1470. 4 V5 F3 x3 l, w8 z: Q( c9 g% c
  1471. ; Select a hash function for use in generating session ids." E1 A. Q, V0 X* [0 i
  1472. ; Possible Values4 K5 ]) C% D; e: L& m- Z& y
  1473. ;   0  (MD5 128 bits)  \1 R, p6 r& n
  1474. ;   1  (SHA-1 160 bits)
    ) r8 o! ]# R5 I8 ?
  1475. ; This option may also be set to the name of any hash function supported by5 ], F0 o+ P, {) {( [, \, z
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()( O6 {! S8 v! i% A% H8 K9 T" u
  1477. ; function.
    2 U5 a% Y% u* L6 V0 B. _% }
  1478. ; http://php.net/session.hash-function
    % o0 R+ q' ]1 m) s+ C' [
  1479. session.hash_function = 0: c+ C/ W# h& }, A6 \" E
  1480. 1 V! n. F1 C: a) }% r- v6 M
  1481. ; Define how many bits are stored in each character when converting# z. @, _% d! l
  1482. ; the binary hash data to something readable.$ I5 M) m5 Y% S
  1483. ; Possible values:
    # M- K  _2 _% h6 b
  1484. ;   4  (4 bits: 0-9, a-f)
    & Z$ M7 y9 s5 i
  1485. ;   5  (5 bits: 0-9, a-v)+ e, y, K" C' [9 V) g
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ) ?  ~+ v# M+ K' L3 i1 C
  1487. ; Default Value: 4
    * r! ~# r) ?6 v7 p' c" x8 x
  1488. ; Development Value: 52 U. I. V9 x  e+ d  m6 }1 s# j; Y9 x
  1489. ; Production Value: 5
    9 D1 s4 e4 L% ^: N9 |; \5 t
  1490. ; http://php.net/session.hash-bits-per-character) y" Q4 D# ?0 O% Z$ U% Y( k
  1491. session.hash_bits_per_character = 5
    4 M+ C7 W' ], A5 J  [, S. O% s
  1492. 0 G7 ]- G7 n% P2 h
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    0 t6 E. T  I& `  F+ R- H; |
  1494. ; form/fieldset are special; if you include them here, the rewriter will% D2 J# x6 }/ c! y! m
  1495. ; add a hidden <input> field with the info which is otherwise appended0 @" L- V; R! S7 X" f: U: M
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.' {+ K2 m+ c6 x* o
  1497. ; Note that all valid entries require a "=", even if no value follows.
    3 Q- W, y$ t  J. d
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ! Q) k5 W* w1 {: `; X
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; P* n0 [: J% V" X7 W# o
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  b  O! j' p+ ]% m) U( N' r
  1501. ; http://php.net/url-rewriter.tags
    6 _; v5 ]' ~2 ?( f0 n2 D. F( P
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    * ^  ~1 B8 S# Z* X

  1503. 7 s4 {* p. L( l/ ?3 i
  1504. ; Enable upload progress tracking in $_SESSION# s7 K1 H, m$ e* R
  1505. ; Default Value: On+ {. t. G/ ~! p# O# ~& j+ V) X& y
  1506. ; Development Value: On: X. x' y5 @7 S) k5 V1 U  `
  1507. ; Production Value: On
    $ g6 Q8 @& P; N  u, m" x
  1508. ; http://php.net/session.upload-progress.enabled
    8 q, u4 g& S! y( s
  1509. ;session.upload_progress.enabled = On, [* w2 K; ^9 {4 R
  1510. 8 b- l  h0 D( z/ Q/ y* O
  1511. ; Cleanup the progress information as soon as all POST data has been read) {9 N' U6 h- `/ E* ?3 Y
  1512. ; (i.e. upload completed).
    ! w2 z/ l: ]0 b9 b6 d4 p
  1513. ; Default Value: On1 M1 X4 {2 B8 v; {! Z
  1514. ; Development Value: On
    - {  k/ b5 O! Z( J
  1515. ; Production Value: On
    + }- a  Q! S9 t! |
  1516. ; http://php.net/session.upload-progress.cleanup3 Z: v9 a5 ~' f9 Q
  1517. ;session.upload_progress.cleanup = On
    1 I) E4 T5 L8 \9 g$ ?  S- Q, b

  1518. 2 E7 V$ E1 _- Z* m$ s( _
  1519. ; A prefix used for the upload progress key in $_SESSION6 M; b7 _/ A8 {2 X
  1520. ; Default Value: "upload_progress_"
    1 k* Z+ Q+ i. Z" n6 _
  1521. ; Development Value: "upload_progress_"0 |) v) h+ [9 G! Q3 V
  1522. ; Production Value: "upload_progress_"  z! m% U% u$ H0 I
  1523. ; http://php.net/session.upload-progress.prefix! R2 E0 L+ t4 ?2 F# x" U7 c2 o- M
  1524. ;session.upload_progress.prefix = "upload_progress_"' |: S. [9 E4 C& O: p

  1525. 9 O$ {4 X4 }3 U3 F2 Y0 ]0 g/ D
  1526. ; The index name (concatenated with the prefix) in $_SESSION4 F; @! d* W" u0 x8 m
  1527. ; containing the upload progress information6 U0 p! c; D# L
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"* Y/ b+ i; \/ I5 @1 {
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    0 e) ^9 _6 y+ m( y  a
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , Y  l0 U4 W8 ^- L& ]7 Y9 J4 u: {
  1531. ; http://php.net/session.upload-progress.name  r) q3 l7 |3 |& I6 E0 }
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    : {/ r9 [- t; V6 L7 X6 c- Y; S

  1533. ' p* h1 J% W+ }$ P# B  a  e0 ]* C. M" [
  1534. ; How frequently the upload progress should be updated.
    ! u0 U3 A6 g: n( y. ]) g
  1535. ; Given either in percentages (per-file), or in bytes/ F+ W. Y$ e: r, C, ~
  1536. ; Default Value: "1%"
    ' |5 w" t$ O* R/ _
  1537. ; Development Value: "1%"; G! H7 z. |8 w7 j* b
  1538. ; Production Value: "1%"/ y$ f1 ?- m" M3 F9 \6 L
  1539. ; http://php.net/session.upload-progress.freq
    . f' d6 b* M1 ]7 v; W6 l0 J
  1540. ;session.upload_progress.freq =  "1%"
    4 D1 h* \  [$ A: P. z
  1541. , Y. \5 k& {5 Z+ Q3 y, v
  1542. ; The minimum delay between updates, in seconds5 ~8 y) M. N. a+ P
  1543. ; Default Value: 1
    - w# G: T+ v% F  g' x. V
  1544. ; Development Value: 1
    - ^6 m- W/ \, ^7 R& Y. q
  1545. ; Production Value: 1
    - A& g5 j! p3 A# f1 Z2 }- w
  1546. ; http://php.net/session.upload-progress.min-freq
    - j, ~) s; O1 v
  1547. ;session.upload_progress.min_freq = "1"
      E$ h9 L$ z0 a9 O
  1548. ' a3 H9 H8 j2 B% ]; R7 C9 \
  1549. ; Only write session data when session data is changed. Enabled by default.* j: q5 r; G2 y5 e
  1550. ; http://php.net/session.lazy-write3 R" ]" d# ]9 U' B
  1551. ;session.lazy_write = On
    ' P1 H$ r  ~) U3 a0 K# N' ]5 [( X& q
  1552. ! K! W; c' x& ~! `8 ]
  1553. [Assertion]9 h& [3 Z  K4 e# d
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)" s# S1 L  _6 Z/ H, n7 b
  1555. ; -1: Do not compile at all1 X; }5 I, W# O4 E) r
  1556. ;  0: Jump over assertion at run-time( h) C% R# q& l& ~) ^2 [7 P
  1557. ;  1: Execute assertions
    $ U4 p. L% z9 n7 x/ y9 c5 b
  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)+ _2 N% N5 q. j1 b: j3 ]
  1559. ; Default Value: 1% ^: U7 K4 c! R- z
  1560. ; Development Value: 1. o  m, R7 k$ \& o5 Z, s2 ~
  1561. ; Production Value: -1
      g; z9 P9 n: P  Q. ^; W, v
  1562. ; http://php.net/zend.assertions2 y: g0 a$ m" h& ]+ E6 |
  1563. zend.assertions = -1
    3 Y, q9 f& b5 O6 g

  1564. ( d4 s2 h  [8 ~0 X, i
  1565. ; Assert(expr); active by default., e+ v! r# f- f0 G! M! F
  1566. ; http://php.net/assert.active
    1 N) p6 t1 N/ R2 B4 F/ |& k. i; p
  1567. ;assert.active = On" V- K% x. h) @$ R
  1568. 8 j- ?# T/ n2 c* a0 [
  1569. ; Throw an AssertationException on failed assertions
    % B- e- I* ^. h4 b; f+ P
  1570. ; http://php.net/assert.exception# m( F9 b- o4 f1 T& i3 o& r
  1571. ;assert.exception = On' ]6 b6 o: H' s: Z! m: X

  1572. ' R' S+ X% ?1 K/ K: R
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    ' Y0 ~; C& w4 ~# |, L7 ~# z
  1574. ; http://php.net/assert.warning
    ) x' T2 ?( T, J2 W
  1575. ;assert.warning = On
    * ~% z5 I- D2 v2 i- R3 ^, g
  1576. % x8 R6 ?! n' C/ O
  1577. ; Don't bail out by default.' R' ]# R  e+ t, Z) c) ^! L+ y9 G
  1578. ; http://php.net/assert.bail4 D& ^" `: q, k) ]! z
  1579. ;assert.bail = Off8 O* k2 {1 l* X

  1580. , b2 q: F. x) a) K; @
  1581. ; User-function to be called if an assertion fails.
    ' p7 x1 x: {9 c7 r8 B& j6 C* j
  1582. ; http://php.net/assert.callback* r1 i7 S3 C7 c" S' s
  1583. ;assert.callback = 0
    . |& }2 k5 s* n" m) u

  1584.   `6 J( ?! ?0 R
  1585. ; Eval the expression with current error_reporting().  Set to true if you want2 l0 x; }$ O" [( `
  1586. ; error_reporting(0) around the eval().. [/ h% x4 X" c4 w9 }( ?
  1587. ; http://php.net/assert.quiet-eval
    ( S) Z  [4 H! N& R9 X" z7 b; I' {1 j
  1588. ;assert.quiet_eval = 0
    8 x& W: A, @9 f4 G$ H# ~9 h0 x3 f2 a$ j. }

  1589. % _( n% q* _# }
  1590. [COM]6 N, I( r: H) c4 k! B; m7 w
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs# R/ _  t4 j7 k& c! Z& J: s  K
  1592. ; http://php.net/com.typelib-file
    ; ~% \8 l  l" F4 q* T
  1593. ;com.typelib_file =- K+ Y5 Z7 W" T
  1594. 8 P1 D2 i9 Q( m
  1595. ; allow Distributed-COM calls2 c+ W) ]; u$ O6 V- p  J4 `) S7 Q
  1596. ; http://php.net/com.allow-dcom
    7 y" Z4 i# [5 c% c" n5 G
  1597. ;com.allow_dcom = true
    ( d" a" {% q' M
  1598. $ Z! Y6 g. y6 ?2 ]
  1599. ; autoregister constants of a components typlib on com_load()
    # d) R3 S% [0 W2 L' S0 `# F- N0 H  r
  1600. ; http://php.net/com.autoregister-typelib& c& z6 X( U, r$ x, A9 Q
  1601. ;com.autoregister_typelib = true
    - y# ^" j$ ?) k# a7 I

  1602. ) H4 d& M, P3 W/ W
  1603. ; register constants casesensitive% K+ p6 E5 C6 W& ]7 I
  1604. ; http://php.net/com.autoregister-casesensitive: N) O( O; [- z6 g- ^' |. j/ n
  1605. ;com.autoregister_casesensitive = false
    ) K* [  a9 H. V# T/ `9 y, j4 C! T
  1606. 8 {5 A" w& B7 e; u- ^% i, m! `! u& v0 Y
  1607. ; show warnings on duplicate constant registrations
    ) Q% J- N  q1 ?' E5 ^5 B* T* P
  1608. ; http://php.net/com.autoregister-verbose
    7 S3 c; d9 k1 K
  1609. ;com.autoregister_verbose = true
    : D& {" ]3 {; o" I& i+ {; }4 F; |

  1610. & S8 P9 U* y! Z1 R% ~7 N- g
  1611. ; The default character set code-page to use when passing strings to and from COM objects.2 T1 C: {' ?- |
  1612. ; Default: system ANSI code page
    + p! o4 d4 |! e; ?
  1613. ;com.code_page=
    2 f, G/ @7 d, W  L

  1614. 5 E* E0 d% o2 {0 B9 J0 e6 O; K. C
  1615. [mbstring]6 i% G/ I9 U+ _, {0 i+ A! o4 [
  1616. ; language for internal character representation." g! o+ M+ {, ]$ z
  1617. ; This affects mb_send_mail() and mbstring.detect_order.+ d1 }0 c2 u9 H
  1618. ; http://php.net/mbstring.language
    ) i7 w/ W* |) S% E
  1619. ;mbstring.language = Japanese
    , t- E1 z1 w$ V$ F6 g, F

  1620. ! b9 _+ K, x  H/ H& _% }
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.' P9 `) h2 `5 [. W% M$ i
  1622. ; internal/script encoding.6 i3 ?+ [: @- R6 _2 o7 g7 X
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    , S4 n  p% [( T# \* R. s# Z' \
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.  m$ V6 t1 @  n3 J8 ]8 h$ L
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    + C  `3 S! q4 ]+ t  I2 k1 v7 U4 H
  1626. ;mbstring.internal_encoding =
    $ [; F; z+ J. q: B. w- i1 }) }

  1627. ( v7 M) w) H2 [1 W/ ~) r; ~; `0 y6 Z; j
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    5 n: f6 `5 }. d( H( R
  1629. ; http input encoding.
    ( N- H& f2 ^. H* _8 u9 u
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    $ p8 O3 x5 {9 e, `% t7 Z
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ( c& _1 y- p  Y8 d% i
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ! m, d( B5 \8 W' e; E$ I, R
  1633. ; http://php.net/mbstring.http-input
    # h" @+ T% A, A
  1634. ;mbstring.http_input =
    % R/ J0 e1 A" v" |# q

  1635. 7 O, |* r1 Q/ p1 V) ?  G" d
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.% ?7 N# J) q0 j! A/ z: U! ^
  1637. ; http output encoding.
    - j) V% o; a: ]! e4 w$ Y5 B
  1638. ; mb_output_handler must be registered as output buffer to function.
    - C, K+ A: L9 Z9 A2 T. a
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.+ \) W# h' r, j* a+ P4 m+ j
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output6 _% G6 _: f& j
  1641. ; To use an output encoding conversion, mbstring's output handler must be set$ t' ~! g9 n$ t* G% ^
  1642. ; otherwise output encoding conversion cannot be performed.
    ! `/ f2 Q" {5 ]+ y; x
  1643. ; http://php.net/mbstring.http-output2 r; C' ~; s, P! A: @! t
  1644. ;mbstring.http_output =
    ' v& S, N; D8 C3 u

  1645. ' b+ F+ S7 a  H
  1646. ; enable automatic encoding translation according to
    6 z, i8 i" _: _" B1 c$ G
  1647. ; mbstring.internal_encoding setting. Input chars are
    ( j' E2 m2 U( w
  1648. ; converted to internal encoding by setting this to On.# @3 o% g3 R" x6 T) b$ h3 O
  1649. ; Note: Do _not_ use automatic encoding translation for
    . t  Y8 {. ^) M; ?6 ^
  1650. ;       portable libs/applications.  V, f; F1 \) ~0 x( o
  1651. ; http://php.net/mbstring.encoding-translation
    9 w+ ]% \4 D, N
  1652. ;mbstring.encoding_translation = Off
    ! W: n4 u( p8 K. D1 b/ s
  1653. " F8 k5 Y% e8 ~
  1654. ; automatic encoding detection order.
    " p8 T+ y% T$ T" @! W7 i
  1655. ; "auto" detect order is changed according to mbstring.language
    9 }- w7 ~& d; b& l
  1656. ; http://php.net/mbstring.detect-order
    9 ]+ d7 E* Q  D; \8 a
  1657. ;mbstring.detect_order = auto
    ( f8 h3 z$ a' ~8 H2 \4 r
  1658. 6 U7 [: ?# p( v+ K  i
  1659. ; substitute_character used when character cannot be converted$ r/ V" z/ E4 F+ G- q: F
  1660. ; one from another
    # {9 {" c. s% L% a7 E3 T
  1661. ; http://php.net/mbstring.substitute-character$ R/ \& N7 }2 |8 {: m7 S, b/ }
  1662. ;mbstring.substitute_character = none5 a9 v) {( l( a" f3 r3 j

  1663. 9 b6 d4 i" c6 \7 M! L: z* l
  1664. ; overload(replace) single byte functions by mbstring functions.3 Q0 |# g* I" W6 U7 H
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),8 l; h8 k2 ~) ?4 G
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    & Q9 Q' l* q4 H: B  t! s
  1667. ; For example, 7 for overload everything." `! i% N1 }8 f% W( a8 c3 |
  1668. ; 0: No overload
    # |, \4 H5 @4 \# z% a
  1669. ; 1: Overload mail() function' D7 Q8 S* G  @. {+ T- r
  1670. ; 2: Overload str*() functions1 G5 ?. f9 M& a
  1671. ; 4: Overload ereg*() functions
    ! P: }7 N" R8 Z+ B
  1672. ; http://php.net/mbstring.func-overload% O. k+ j- o  e/ ^6 D/ v
  1673. ;mbstring.func_overload = 0
    % P& P2 k. b! C! x+ \

  1674. ; `/ X) C& q; m2 ^! b# @9 H5 M, J- p5 r; K
  1675. ; enable strict encoding detection.
    8 @3 L+ E& ~9 E; D+ G
  1676. ; Default: Off5 p: W$ Z) j8 k+ v4 w8 R  e. `# c
  1677. ;mbstring.strict_detection = On
    - l. d8 Z4 I! Y' \2 ^
  1678. ! Y! S0 z  ?  C1 p
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    # l$ A+ F7 I; I% R
  1680. ; is activated.
    ) t5 _. `& r/ j0 b0 v6 h
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)! M4 R$ V- q- E( e; `  y
  1682. ;mbstring.http_output_conv_mimetype=
    % t0 I& i3 ^' S: c: T

  1683. & j" t+ n' V' d3 O4 B
  1684. [gd]: a/ Z4 V! P. N
  1685. ; Tell the jpeg decode to ignore warnings and try to create  x9 D' [- h7 i' N% ^6 u
  1686. ; a gd image. The warning will then be displayed as notices" V% x& W( y. O; }& O$ _6 v. k2 Z4 x& G
  1687. ; disabled by default
    1 {; V8 c6 R9 X" t6 W2 u% o4 z
  1688. ; http://php.net/gd.jpeg-ignore-warning
    , U- j( P6 t9 Z3 f5 P% }
  1689. ;gd.jpeg_ignore_warning = 0
    . N, q9 `) H) @6 |) R* }( h
  1690. 4 m& o$ g, R6 n' j. c3 |8 O6 b
  1691. [exif]; z1 j5 Y% b. Q7 D& X! p3 L: J
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    0 c. c  G. A3 f! d! }
  1693. ; With mbstring support this will automatically be converted into the encoding
    5 M+ z3 W+ z# Q) X
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ' t; W8 H' \' m5 g( m2 C
  1695. ; is used. For the decode settings you can distinguish between motorola and. a& c& d" z' B  Y
  1696. ; intel byte order. A decode setting cannot be empty.
    1 R; X/ e. z1 H
  1697. ; http://php.net/exif.encode-unicode
    ' [, D0 h8 u1 g& g+ |8 v9 C
  1698. ;exif.encode_unicode = ISO-8859-15
    . P5 Q1 d5 A5 u7 m1 p

  1699. % D, u/ C0 P5 n  w, `- m
  1700. ; http://php.net/exif.decode-unicode-motorola
    ( f8 J! t: W4 }' o
  1701. ;exif.decode_unicode_motorola = UCS-2BE. n3 ?& C8 D( g7 y0 i
  1702. . p* E: l+ @+ ^3 |$ x
  1703. ; http://php.net/exif.decode-unicode-intel
    7 a8 x& g! Y3 L+ m8 u5 u
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    : q" J; M, d* K% o; C. n

  1705. - l% q3 s8 C1 {% l; ?9 `
  1706. ; http://php.net/exif.encode-jis* i# S$ F* f, L: j9 d8 c% m
  1707. ;exif.encode_jis =
    0 ~" C' r" W/ m. O, s- c  O: }; k

  1708. 2 L  E( r, E( X/ f- T& a; r
  1709. ; http://php.net/exif.decode-jis-motorola+ j  N# q" F, {8 Q; X9 [
  1710. ;exif.decode_jis_motorola = JIS. t; H* X$ C7 v
  1711. - T4 A" |4 l( Z* U5 t
  1712. ; http://php.net/exif.decode-jis-intel
    " D( x: ~, ]- b: Z( E+ b0 V
  1713. ;exif.decode_jis_intel    = JIS
    " ?; j. f) Z9 W! a

  1714. % ]; e% \: J9 q) p5 p) t3 \; b
  1715. [Tidy]
    ; C' ~9 u6 W9 d( M9 R
  1716. ; The path to a default tidy configuration file to use when using tidy+ G! ]9 e4 _" q( E! S
  1717. ; http://php.net/tidy.default-config3 d/ `; D" g4 a2 J/ _! ]
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    4 A% T, z1 n# E5 |: i- j

  1719. ( i: r5 ]0 R' W% w
  1720. ; Should tidy clean and repair output automatically?  ?2 q/ o4 E. a9 ?! `5 l* R
  1721. ; WARNING: Do not use this option if you are generating non-html content+ C; f* F: @- ~; U3 L
  1722. ; such as dynamic images
    & B+ B9 G" L0 q- i9 T
  1723. ; http://php.net/tidy.clean-output
    - }' m; Y+ ~+ i6 W6 w7 ~* P/ ^
  1724. tidy.clean_output = Off
    , j3 m% W4 q" I; ^5 e
  1725. , Z+ O7 W8 O& H: W0 e# y" O* Y' y
  1726. [soap]4 D  P/ k9 D: O" N: E1 n: T
  1727. ; Enables or disables WSDL caching feature.
    7 N( A2 f+ z0 G
  1728. ; http://php.net/soap.wsdl-cache-enabled
    / E# @, K- ~9 s% n7 ~4 M% N
  1729. soap.wsdl_cache_enabled=1
    ) P- W; H5 q& G8 E: F, h5 o
  1730. 1 R( Q* j2 Y, x( _" |0 b' ?% Z( m
  1731. ; Sets the directory name where SOAP extension will put cache files.9 e7 @1 \: h2 j4 S( u( `
  1732. ; http://php.net/soap.wsdl-cache-dir+ Q3 A- E1 A7 [! G* Y
  1733. soap.wsdl_cache_dir="/tmp"
    ! m/ }2 l4 H7 B# |9 B! s

  1734. ' V9 k1 a7 ^1 A! U) O$ T- R# w8 q4 G
  1735. ; (time to live) Sets the number of second while cached file will be used. F1 {5 F' O" A1 y4 g
  1736. ; instead of original one.. C# ?! J. l$ {1 g! A
  1737. ; http://php.net/soap.wsdl-cache-ttl2 ]* @3 }. D: t" d$ M2 G& o( ~
  1738. soap.wsdl_cache_ttl=86400
    + ~. |2 J; r8 }
  1739. ! R: Q" ?3 K* F; A
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)& {/ t# p! g1 n. q6 Z! ~  W5 J
  1741. soap.wsdl_cache_limit = 5
    ! |: h' t9 H# D5 }: |

  1742. 9 p- b& R* c3 x3 ^" W  L9 j
  1743. [sysvshm]
    / z, r% \! m) Z- S9 s
  1744. ; A default size of the shared memory segment
    ' }% O/ g' s/ }( N) H* G
  1745. ;sysvshm.init_mem = 10000
    $ a% H' c: v" G/ {

  1746.   g/ |& Z' i8 Z- `
  1747. [ldap]
    , v* r6 l- s9 U! Q$ E
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    2 h! ~& A6 M: i
  1749. ldap.max_links = -1) v7 G8 c4 B$ L5 [5 ]/ h

  1750. 9 o% _; d* G* |: j- d) F% A$ H
  1751. [mcrypt]: T5 a( z8 I* O0 b: H$ H
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    + i1 z& k  A) I  C! J: S3 q7 |- b( R
  1753. 2 W: j# z# e' g1 V, i) X0 i* t+ M- v
  1754. ; Directory where to load mcrypt algorithms0 Q) }+ h! P+ S$ y9 B
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)0 i- U7 Q) j$ ]
  1756. ;mcrypt.algorithms_dir=. |- M6 K* h( o4 u& w4 Y1 y
  1757. + D+ t. V' x8 ?. k" C) N9 @$ G
  1758. ; Directory where to load mcrypt modes* a- Q; G9 S, V4 M! g! M
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)4 [! M! G3 r* G/ ?; y% \/ r
  1760. ;mcrypt.modes_dir=; S! m1 `: e: }/ B# i6 ~

  1761. " d( V2 M, h9 ~+ P( l
  1762. [dba]
    5 s# Y. d/ f5 \6 Z  ]( G% r3 n
  1763. ;dba.default_handler=
    ; N$ q5 `/ R& k2 ^. G

  1764. - y/ M6 P/ T. b" w
  1765. [opcache]4 ?3 @. R. y8 q4 x6 e2 {" P
  1766. ; Determines if Zend OPCache is enabled
    * k5 @6 `% z0 @  T6 i  _; g
  1767. ;opcache.enable=0
    : g3 E/ f+ I5 W) q

  1768. 2 r; V+ ?. z* a) _0 H
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP) m. X+ J$ y+ O- y
  1770. ;opcache.enable_cli=0
    , \9 R* ]7 [# i  Q

  1771. 9 Z% T" p: [* X& ~7 Q
  1772. ; The OPcache shared memory storage size.
    4 j; b! w( v; m" x: Z
  1773. ;opcache.memory_consumption=64% E$ v  C" X9 w

  1774. % m2 E% C% ]6 @0 r
  1775. ; The amount of memory for interned strings in Mbytes., ]2 `" n( S, e. o! d$ ]
  1776. ;opcache.interned_strings_buffer=4
    ; B: V& ^  Q$ o8 E4 n8 d
  1777. 7 L" Z! x! W) a) ?: T, k
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.6 z" s/ I: n! R
  1779. ; Only numbers between 200 and 1000000 are allowed." K& Q7 P& `4 i9 L& v
  1780. ;opcache.max_accelerated_files=2000
    / M/ C5 I4 g; j) j) l: z* ~! V

  1781. / a& y: \! N. I0 N( ?4 S+ N
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    4 B& I0 ^8 z! t: Q& |8 G8 S
  1783. ;opcache.max_wasted_percentage=5
    4 |4 r& Q2 J# T5 w$ a- F% c

  1784. 0 V0 |9 b( _6 ~) \8 e& h' l
  1785. ; When this directive is enabled, the OPcache appends the current working! ?8 E" B' [! D5 F; Z5 K
  1786. ; directory to the script key, thus eliminating possible collisions between
    ( S) A9 m: k  N8 p! Z* r( v% U6 m
  1787. ; files with the same name (basename). Disabling the directive improves% h4 z" c0 ^  r1 C5 Q5 v
  1788. ; performance, but may break existing applications.
    8 d( v. N/ h8 [: m8 j6 x, G3 [
  1789. ;opcache.use_cwd=1
    # t/ z/ q- w4 c. `" w

  1790. 9 d0 T% q/ d& Q; I' v6 \
  1791. ; When disabled, you must reset the OPcache manually or restart the) U3 ]1 c- ?& ]( j' g
  1792. ; webserver for changes to the filesystem to take effect.) [6 l( V  X4 p' d, R, z& _9 F' s8 Q
  1793. ;opcache.validate_timestamps=1( r: r; G6 V) a3 O, g& q. ^
  1794. # G* z9 w% I0 l# N  D. E
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ! Z* g3 Z$ |* ~5 v! d
  1796. ; memory storage allocation. ("1" means validate once per second, but only# f1 M2 W1 W% |$ P; W9 z
  1797. ; once per request. "0" means always validate)6 C5 K+ ]- F$ M) X& e3 c+ u* x
  1798. ;opcache.revalidate_freq=2  e$ {4 ?( C/ d# K
  1799. / U  ]8 s0 A0 g# m/ I0 L/ Q
  1800. ; Enables or disables file search in include_path optimization5 s" G0 S- x/ I; y% u3 V) U9 p% R
  1801. ;opcache.revalidate_path=00 b9 b) U+ X) c4 l2 z

  1802. - o" W+ }2 l7 t! j& e$ q9 C  N0 c
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the. \5 Q* Q" l; t/ K" M% U3 g; l
  1804. ; size of the optimized code.
    0 D" \+ N# J# ~2 `
  1805. ;opcache.save_comments=1
    ( w2 K. z4 r1 j: p$ K4 e6 [9 H

  1806. 1 W% n3 {0 d% m- ^' y
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    + @$ @( F* o) d& @
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    ! k# A  |) ^1 Z) U  N+ K' ]
  1809. ;opcache.fast_shutdown=0! t% S8 d1 [. g9 m" C5 N/ U

  1810. , o4 h/ T; @' u0 t# A+ Q
  1811. ; Allow file existence override (file_exists, etc.) performance feature.: q2 g( p) _) z$ E9 _
  1812. ;opcache.enable_file_override=0
    ; k# ?$ n: n, |9 R) h1 d. q

  1813. ' h/ z$ E* L; N3 W9 P& D. e6 z
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache/ i. n4 {; N, ]. h) w
  1815. ; passes: e# @( X- U3 l! v4 Y7 I
  1816. ;opcache.optimization_level=0xffffffff
    2 K" d2 l) O1 ]8 I& K

  1817. ( R* q' d. ?, \3 \  z' Y& t! C
  1818. ;opcache.inherited_hack=13 T+ u) R2 m; p8 n
  1819. ;opcache.dups_fix=0
    6 J: Z: ~' T1 X0 B! S! k4 P7 @

  1820. " S: R: @7 A) w3 Y4 h- J; X0 v$ |! o
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    3 n& j! M9 p2 p" U
  1822. ; Each OPcache blacklist file is a text file that holds the names of files; Q% M# \. p  S
  1823. ; that should not be accelerated. The file format is to add each filename
    ! X) I. R  W3 M# b& o
  1824. ; to a new line. The filename may be a full path or just a file prefix
    3 ?5 y9 c& ^* ^5 T4 Y8 w0 a
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www* P6 S* D. R% O- M. |- ?/ z7 T
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ) P1 c8 g6 {1 J' Y4 v
  1827. ;opcache.blacklist_filename=% m2 K1 M" W* d; @
  1828. 2 ?8 v+ i% X: V; O0 U3 j
  1829. ; Allows exclusion of large files from being cached. By default all files
    ) p7 M# k1 \/ T$ w8 Q/ ^; O
  1830. ; are cached.4 z5 t, H, m) H# a: W% u* D2 V
  1831. ;opcache.max_file_size=04 i2 `3 j$ k8 M0 a: }
  1832. ; J9 \( j# ]; Z3 L+ y4 H+ }8 I' ~
  1833. ; Check the cache checksum each N requests.9 i2 i- S7 U) H& |& \& ?  i# ~& f
  1834. ; The default value of "0" means that the checks are disabled.
    ' C& j" k9 l7 [: U* h
  1835. ;opcache.consistency_checks=08 E) G' K2 j- |3 U/ z

  1836. % Z# {: @3 O. w/ ]/ R
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    / B8 W6 o! q$ {
  1838. ; is not being accessed.# w% ^% k8 P$ ]% x$ _4 ]" o
  1839. ;opcache.force_restart_timeout=1803 F2 V) ]2 _0 a6 R: A
  1840. 0 c3 y) ^* t/ }+ x
  1841. ; OPcache error_log file name. Empty string assumes "stderr".; ]1 l4 V9 D' m' _
  1842. ;opcache.error_log=
    . }/ g  ]+ c5 |! Y/ {" ?8 M
  1843. % Q8 [2 X* Y7 j% l/ J  r/ |* z& `
  1844. ; All OPcache errors go to the Web server log.
    4 y- E% b+ a  v' x, q. \# u6 U
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    - |* ~6 F  b4 Q; H
  1846. ; You can also enable warnings (level 2), info messages (level 3) or: C4 w: m; m, Z% M
  1847. ; debug messages (level 4).
    ( N) z: Q, d8 q/ E  L) ~
  1848. ;opcache.log_verbosity_level=1
    1 }. @/ g1 H3 k/ ?+ q2 d/ a* V
  1849. 7 D( @4 R( J& @7 [5 \, n& a8 J+ W+ G3 C
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.) B+ l( |# d1 ^5 ^1 X
  1851. ;opcache.preferred_memory_model=
    : m8 ~$ ~: H7 P0 e0 S7 s5 g
  1852. " z) v4 A! _) y; h- _! L* y2 a( t
  1853. ; Protect the shared memory from unexpected writing during script execution.
    & ]' r+ B, E6 g1 x
  1854. ; Useful for internal debugging only.9 ^7 y7 C. B9 u: v9 j) S  Y7 f
  1855. ;opcache.protect_memory=0  {% X, x1 z' ~3 L. V4 j% ^

  1856. 3 x; U, _  k* e5 U3 `% k; z# b( r
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    " ]/ y; i, _3 a7 q
  1858. ; started from specified string. The default "" means no restriction0 ?- h/ n* [6 U* V5 G
  1859. ;opcache.restrict_api=
    & E3 Z( @- n. x7 |
  1860. 7 Z/ I( ?1 M' F9 U1 `. A
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    " c6 E% ?& y, I- T/ X4 m+ c
  1862. ; processes have to map shared memory into the same address space. This5 A  G( P, u: C. c# L
  1863. ; directive allows to manually fix the "Unable to reattach to base address") i6 g  Q6 m* c9 N, h* T9 r
  1864. ; errors.
    : t# K/ A8 L( R, a5 w0 a% v$ c
  1865. ;opcache.mmap_base=" H  B2 |3 r% u! t8 G# L' m$ `

  1866. , K' A0 }8 X# K1 o/ E( A% G
  1867. ; Enables and sets the second level cache directory.; T( N) }, _; z8 q9 C) X, e
  1868. ; It should improve performance when SHM memory is full, at server restart or# a# S7 d  |, U! O  n5 N
  1869. ; SHM reset. The default "" disables file based caching.4 _/ i& `" q1 W- _& K% F3 F1 |2 S" k
  1870. ;opcache.file_cache=! P4 }- N/ B' u- ~

  1871. ) H$ |& }  J) h# ?5 t- h
  1872. ; Enables or disables opcode caching in shared memory.1 Y3 C& K) Q: ?6 A5 T) T' V
  1873. ;opcache.file_cache_only=0
    3 h* O3 C, a) i0 E9 @/ X, D* R3 k
  1874. ) Z$ a8 }- Z1 N3 q
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    5 T  J  U# w& Q8 h' `# i: m+ D
  1876. ;opcache.file_cache_consistency_checks=1. x) T- A& o- J" O7 ?- v: V

  1877. ( ]% }* m- u4 E7 o  G2 E6 j
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    % C% {3 M/ _6 `
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    ! i% \0 P2 R6 K: s1 }
  1880. ; cache is required.4 B6 A/ p4 q$ j
  1881. ;opcache.file_cache_fallback=11 k+ u6 Q" ^$ l( E

  1882. 7 z! U3 b2 F+ w! N
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    ) P3 x3 U8 |2 }
  1884. ; This should improve performance, but requires appropriate OS configuration.
    7 s+ L# D; ^/ i, ]1 L/ I9 o* w
  1885. ;opcache.huge_code_pages=1+ `3 r4 p' Y/ ~

  1886. / C2 D/ v* r) u
  1887. ; Validate cached file permissions.8 M  W2 B  |& A/ w6 s- j8 Q, x" i
  1888. ; opcache.validate_permission=0/ q8 Q2 Q3 B1 o: Y! c. C5 b

  1889. 3 Q, Q) |; u9 K% Z) C9 E
  1890. ; Prevent name collisions in chroot'ed environment.
    $ A) E* Z+ O- x
  1891. ; opcache.validate_root=0
    $ v% |$ k9 h  {( W+ t

  1892. ; `5 W+ t: t2 L2 N
  1893. [curl]
    ' D1 f6 i+ a0 L- f6 E; h
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an/ i) a+ x! T  R7 T# W, a
  1895. ; absolute path." o3 X/ Z+ ?$ W% t; V$ P( U; x
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt5 c  p1 G: q. _  `& H3 O% N

  1897. 7 r0 L3 k4 A4 V4 r, ^! r
  1898. [openssl]
    3 K9 {: W0 l4 b" r/ M
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    % A2 p* m6 Y8 L8 O' |& |
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    2 v7 J$ s' c  P7 c5 z: U# T" M- @
  1901. ; not specify a value for this directive as PHP will attempt to use the
    0 \, g; i+ C2 T
  1902. ; OS-managed cert stores in its absence. If specified, this value may still2 m4 h& q) A: ~+ i
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    8 o9 Z1 u/ g! l6 {+ ~+ @( t
  1904. ; option.
    $ B, O, d8 g9 q! E. U! k7 v
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt! w; X  W- R4 Y9 @) ~  \

  1906. " ~& ~# h: l" X- C
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    1 `( y$ b2 @. V2 m; t
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    " l! W( q3 v& B- H  A
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    - h% b" }5 U8 T7 q+ D7 [
  1910. ; Most users should not specify a value for this directive as PHP will# G% z) `# q) Y- @$ W2 N+ f
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    , ?5 Z5 J# Z: B/ O* h1 Y9 _. ^4 K
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ) F9 x* |: m  N& G5 T
  1913. ; SSL stream context option.
    ; s# Y7 Y6 W8 J3 i2 D4 d4 m* Y
  1914. ;openssl.capath=
    - x- x2 o! M5 D' y

  1915. 8 U# `2 k2 Q' r1 z7 ^% {
  1916. ; Local Variables:% p2 q5 f  s* R; ^0 x' N
  1917. ; tab-width: 4
    ' r) A' O  @+ ?) c
  1918. ; End:
    5 ~- O' a; ^2 |  r  c+ N

  1919. ; d  M4 Z" C& O" S% j
  1920. ;eaccelerator6 E0 M4 X1 j8 S+ O* g
  1921. ) e( w" x( J7 s( ]
  1922. ;ionCube6 n+ u- ?* F. _, z( P

  1923. - u7 K5 O( R1 U$ z2 ?3 q& H
  1924. ;opcache
    . |# r* i/ [, P. l! O

  1925. 3 I, X' A% q* Q
  1926. [Zend ZendGuard Loader]
    2 G9 t0 w$ H# q+ |8 Q4 v% k& P
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    5 ^/ _' q  G4 }# S9 {2 \0 a
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so: |& i1 o# e) m
  1929. ;zend_loader.enable=1
    / \9 Y( |0 W/ c# @$ ^
  1930. ;zend_loader.disable_licensing=0' ]6 `9 r0 V7 W+ t/ l" @
  1931. ;zend_loader.obfuscation_level_support=3
    * N2 r3 m" W) B6 C8 r& a
  1932. ;zend_loader.license_path=
      ~* \$ S' ^0 d6 W$ o: ^7 w
  1933. * B! z# K) _* C8 f
  1934. ;xcache
    1 j! i& a* ~7 W. d

  1935. + i7 e6 S% G& Z: u- m! q. w
复制代码
  k# n* `& z3 ]. s+ h

1 \/ e2 [) _# j* f1 ]
3 h+ a. n) Q+ ]# o4 |6 _/ G/ p! ]2 U
. q+ Z5 ^  v$ \( x

7 T- J  Q7 I  z$ \1 f9 f, R
  G" d4 q/ k7 {. Y, V/ _PHP5.6版本原始设置4 J: @0 T6 b: h% w) y" v7 w. ]5 T
  R# R4 Q8 c4 H6 Q2 v+ N8 P: f
  1. [PHP]% A; K) q  N0 x5 }! @/ g5 W
  2. - Q9 c( v* ?& K% D! D% a& N: W
  3. ;;;;;;;;;;;;;;;;;;;) U% N$ Q! ]; R5 U
  4. ; About php.ini   ;
    9 J! O3 ~0 l2 w: h5 N
  5. ;;;;;;;;;;;;;;;;;;;2 V8 G3 ]- |- u! a
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    - B2 b. ]  ?# G' c5 ]
  7. ; configuring many of the aspects of PHP's behavior.; a6 D. b& X0 l! j
  8. ( `3 Z7 a: s1 P% m+ q
  9. ; PHP attempts to find and load this configuration from a number of locations.$ {& _4 B: z" Y' y5 e
  10. ; The following is a summary of its search order:
    ( w) z0 G5 v  u4 C* }2 ~7 I4 D
  11. ; 1. SAPI module specific location.8 q( W5 z% U9 g
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    - X, ~- s7 |1 T/ ]: j0 ?8 |+ V
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)2 n7 x2 [' B- }0 O4 y
  14. ; 4. Current working directory (except CLI)
    + e  f% |) s! }
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ' X# m, `9 d' ?: C
  16. ; (otherwise in Windows)
    8 H; S1 k" T' W' y4 p
  17. ; 6. The directory from the --with-config-file-path compile time option, or the/ f1 S! J) R. [
  18. ; Windows directory (C:\windows or C:\winnt)
    & U) g& k, w3 T  G, T, p( s
  19. ; See the PHP docs for more specific information.
    % r$ Q# q- L1 L+ i! ?, X
  20. ; http://php.net/configuration.file9 D6 ]1 f$ f5 M3 a" j1 K
  21. , a) O8 I+ b" A) L
  22. ; The syntax of the file is extremely simple.  Whitespace and lines* f$ S9 `0 N8 O0 c7 L8 l  n
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).# M0 E( c  i) M
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though: F" |2 ^2 {# T/ y
  25. ; they might mean something in the future.& g5 p/ H3 n. }# T+ q
  26. & N$ J( Y# p( F
  27. ; Directives following the section heading [PATH=/www/mysite] only
    8 ~) ]' K2 R5 d9 z) m
  28. ; apply to PHP files in the /www/mysite directory.  Directives$ M* k$ W: s) N$ L9 l1 Q
  29. ; following the section heading [HOST=www.example.com] only apply to
    : T) P2 e3 ]8 w6 {) G2 y" v
  30. ; PHP files served from www.example.com.  Directives set in these
    & _& {/ d5 q: d1 H& r5 P
  31. ; special sections cannot be overridden by user-defined INI files or
    ! x$ p  g/ Y3 }  A3 @! H% G; T$ E
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under; \2 e$ }5 i. N3 Q8 w& g
  33. ; CGI/FastCGI.
    & d* @6 Z6 w- D/ ~. y9 r9 @( D
  34. ; http://php.net/ini.sections. k1 d% W3 {6 Q$ i" q2 N4 ?
  35. 7 ~) g' R7 Q, i4 j( V7 e
  36. ; Directives are specified using the following syntax:
    8 X" E$ w! v  ]3 x- z7 _+ K
  37. ; directive = value
    / @! J7 A, \- |4 n" v. b, |
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    8 h/ ~/ t, J5 G3 ^0 Q; n
  39. ; Directives are variables used to configure PHP or PHP extensions.
    0 g! g+ c! T0 J9 D& V# ^
  40. ; There is no name validation.  If PHP can't find an expected
    9 z9 K; K" i+ E! \, K
  41. ; directive because it is not set or is mistyped, a default value will be used.. [: v0 j" {5 D& B' h4 i, k6 y
  42. . N# w5 a% i* q2 d1 r' s  ~
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    8 r; S/ q) ]- _6 f
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ( |6 _3 S( R5 e. ]
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    3 ~2 [7 r( L- ^5 ~3 ]. P/ H3 }0 w
  46. ; previously set variable or directive (e.g. ${foo})
    * n% X; P# U' m6 a  r9 n
  47. + A  x6 w: h7 l1 |8 g4 j
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    # \  N1 x+ A) ?+ @0 V8 J
  49. ; |  bitwise OR
    ! j) t1 T& {% Z+ ?% ]; I* s
  50. ; ^  bitwise XOR* `% h% m$ E- W
  51. ; &  bitwise AND1 n+ ^7 k. A- F7 v0 Q. [& Y. }
  52. ; ~  bitwise NOT. |0 E7 q3 E+ A: G1 p' Q% z
  53. ; !  boolean NOT. `$ u% o' R' ]1 }  a

  54. & O$ q2 `, M8 r+ w
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.0 \4 @0 l/ ?' h& L# I- x
  56. ; They can be turned off using the values 0, Off, False or No.
    3 W$ v$ D' B8 d$ N" H
  57. ! [) H1 W7 S1 w; h# r# t: |" k
  58. ; An empty string can be denoted by simply not writing anything after the equal
    - h, H! W3 G1 V0 T6 ^4 v
  59. ; sign, or by using the None keyword:
    , h) H) q2 Z& f4 y2 F7 `! g
  60. % J8 F  m( a( S
  61. ;  foo =         ; sets foo to an empty string
    $ A- }5 v, s9 r3 V$ e; ]6 @( s* H
  62. ;  foo = None    ; sets foo to an empty string0 }& a2 c8 `. w; R' x: p0 M
  63. ;  foo = "None"  ; sets foo to the string 'None') C- |1 V# b: C- {; l
  64. / [" n7 R, k  R) ^9 s. A& J  l7 g
  65. ; If you use constants in your value, and these constants belong to a. w) ~1 p+ q3 h( a
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    : I3 [" E% l. T8 X. O5 l2 r
  67. ; you may only use these constants *after* the line that loads the extension.
    1 {4 `" M4 K! ~) \" B* t
  68. 3 [. g( W$ o( N
  69. ;;;;;;;;;;;;;;;;;;;
    + f) I3 J) @) m9 ^2 ^, K
  70. ; About this file ;
    2 F  H' Y: a1 L8 _( W1 `
  71. ;;;;;;;;;;;;;;;;;;;  @& ]& F, s4 e8 p  ~
  72. ; PHP comes packaged with two INI files. One that is recommended to be used5 c# \$ v/ S" L0 t# y
  73. ; in production environments and one that is recommended to be used in
    8 K! W. N" O# R$ F+ B
  74. ; development environments.! i+ M+ C; Y& Q. `

  75. 9 M: z8 w# }7 z3 K# l" ?6 I& x3 e
  76. ; php.ini-production contains settings which hold security, performance and2 t, y1 L' M6 s/ r* y; R+ x% G- h
  77. ; best practices at its core. But please be aware, these settings may break( _+ Z; c$ F5 l8 X  B' D! K
  78. ; compatibility with older or less security conscience applications. We* y, u5 G' {$ l
  79. ; recommending using the production ini in production and testing environments.
    & q. K, L; p. d% a8 u
  80.   U& E7 |! C8 S1 Q- Y% p0 Q$ L/ `1 q
  81. ; php.ini-development is very similar to its production variant, except it is2 w3 `! u. k4 F' x$ j
  82. ; much more verbose when it comes to errors. We recommend using the
    0 p9 }  E, P% }
  83. ; development version only in development environments, as errors shown to
    $ Z" g: f2 d: f
  84. ; application users can inadvertently leak otherwise secure information.
    0 [% ~9 R/ Q+ |3 K5 \$ O) m) w1 E
  85. : }+ P5 b, j  m- Q
  86. ; This is php.ini-production INI file.! k+ @  A" F5 ^. l

  87. ; v! c" `- s9 N- \) w: }
  88. ;;;;;;;;;;;;;;;;;;;
    1 h0 D+ s. _: O# r6 Q" s4 Y
  89. ; Quick Reference ;8 P9 o. d5 r/ A" R' s# X/ V" C& i3 K
  90. ;;;;;;;;;;;;;;;;;;;* L7 G! i- X/ ~. Y5 M$ D
  91. ; The following are all the settings which are different in either the production
    + R) O% n" `0 @1 e& D
  92. ; or development versions of the INIs with respect to PHP's default behavior.4 [1 J: X/ g) e& M& ~( ]/ m
  93. ; Please see the actual settings later in the document for more details as to why0 O; ~" w0 V; T! x( |
  94. ; we recommend these changes in PHP's behavior.
    * J0 S9 X4 l  h9 ^/ e- _  s/ U

  95. ! n+ p) T5 S2 `4 H$ i
  96. ; display_errors" O/ S9 F5 L# V, T7 N4 c
  97. ;   Default Value: On
    : ^0 ~4 c; f& N; y& a4 T% `; m, T
  98. ;   Development Value: On
    4 m0 t! X/ |% y" v, {8 g' g
  99. ;   Production Value: Off
    ; o6 K3 g6 j* |

  100. / G8 n7 a+ \) g, ~
  101. ; display_startup_errors3 n/ }% f* L" x% i* X
  102. ;   Default Value: Off
    7 a3 m+ U9 |+ [; T; R+ b, J1 ^9 `
  103. ;   Development Value: On4 h8 B3 Y! E! b" m
  104. ;   Production Value: Off7 M% E. p! y4 V5 l

  105. 4 M! L) C$ m/ x1 |0 S! ?3 T, n
  106. ; error_reporting
    % S; [/ ^. T/ i, A4 L/ o
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
      f; I- Y- B) k/ Q
  108. ;   Development Value: E_ALL7 n7 c7 g$ B  q7 ]0 U
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    8 f  T; X2 D6 |7 K

  110. " @, t& h: V. m3 e! v
  111. ; html_errors! p+ j7 _& [" e- P. V: s: ^
  112. ;   Default Value: On7 ~' A4 I6 c3 g$ r" c) i) U
  113. ;   Development Value: On0 g7 `& }: v& J9 t& S6 z% l3 Z) q6 E
  114. ;   Production value: On# T9 g3 i0 [- F1 Z: {- ?6 R& C% b

  115. * N- s, x5 ^* K" Y4 A! j. R$ K
  116. ; log_errors
    " h) P1 z! j3 S) o+ a! b
  117. ;   Default Value: Off
    9 X2 `- X  ^: u
  118. ;   Development Value: On
    " A) \# I/ S+ E3 |: v) y
  119. ;   Production Value: On- j: R5 @: s! \& w
  120. & ]% a8 i$ ?! W7 L. ~6 Z- A
  121. ; max_input_time- v& ^- _7 a+ D* u' s8 c
  122. ;   Default Value: -1 (Unlimited)
    " r+ \: p# o& w, \) Q2 G
  123. ;   Development Value: 60 (60 seconds)
    * Q3 X  X+ l7 w) j
  124. ;   Production Value: 60 (60 seconds)
    , h9 C2 N8 B/ B  Y
  125. : s4 `: a3 g/ J9 l$ r' _0 E, C3 h
  126. ; output_buffering6 V! `% K' r) \0 x. Z
  127. ;   Default Value: Off
    : g0 ~# k; b" [) o" C
  128. ;   Development Value: 4096! }% d2 c% a6 L& L- M. u0 Z
  129. ;   Production Value: 40963 q" w  P: k( e3 i9 c- |8 o
  130. # G! O, V( l- d2 b/ `4 D" j3 r) @
  131. ; register_argc_argv' J' ^1 l: X' \* u- v6 y
  132. ;   Default Value: On1 X# i/ E  k+ G" V
  133. ;   Development Value: Off
    6 X5 `% I+ z$ I  a6 Y0 u
  134. ;   Production Value: Off; ]6 y+ Z  ~, U7 |9 T

  135.   z: W) c" H2 a1 V; X% l, v: [
  136. ; request_order
    1 w/ c& s* c: k) b
  137. ;   Default Value: None8 V! J- ~' h/ y' t( c
  138. ;   Development Value: "GP"% T% k1 m5 X6 b3 s- U) w
  139. ;   Production Value: "GP"
    " k$ q) j% D; c) ?3 [) E

  140. . I2 F6 Q5 T% W$ L" ~' |
  141. ; session.gc_divisor
    8 u5 ?# J0 }# a* J) }& E
  142. ;   Default Value: 100
    0 w, ~4 j% W% F5 K, H# ?
  143. ;   Development Value: 1000) X  A+ y! M* D2 B3 T1 }' c2 R
  144. ;   Production Value: 1000" |  n7 _- R4 E7 S8 T6 i  Q

  145. 5 Q. m0 s/ s5 V4 A! W
  146. ; session.hash_bits_per_character
    7 g9 |, Y, Z- l
  147. ;   Default Value: 4
    0 l8 Z& y. I( r+ f7 X( M* ?$ n
  148. ;   Development Value: 5
    ) H, A( j3 p% Z0 B( h
  149. ;   Production Value: 5
    / P6 G$ g5 W" ^5 ?3 O/ C$ _

  150. * @$ e: d. b$ j: a+ d
  151. ; short_open_tag
    / g& X0 S$ ?" H, n, v5 b
  152. ;   Default Value: On
    $ y- C* k& v* ]2 ^+ `
  153. ;   Development Value: Off0 `, E0 \9 U/ Y5 m$ c+ Y7 i2 D
  154. ;   Production Value: Off  B" o/ F, g0 i5 y

  155. 8 b5 l& l) R# a! S2 q& o1 g
  156. ; track_errors
    6 n) z- C! e7 J( R/ h: d
  157. ;   Default Value: Off
    & _/ g  @( i( v
  158. ;   Development Value: On
    , T3 U/ y! D& X8 Q
  159. ;   Production Value: Off& B% I% V: y0 s0 E0 S

  160. ; O7 I, Z- r( ?$ `
  161. ; url_rewriter.tags
    : L& }9 q# ]7 Z- h
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="/ @% V$ z# b( ~! u" S4 I
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) k" @$ @) V. F# g
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry", Z9 E  V3 J0 [7 j& Q8 w" |

  165. ) i$ A( z2 O4 k& T7 S- v
  166. ; variables_order) N6 c( `, Q9 r$ u) }. U
  167. ;   Default Value: "EGPCS"5 B( G* G; u* E  L6 B2 z
  168. ;   Development Value: "GPCS"
    1 N" ?* Y) @" q4 h/ n4 k
  169. ;   Production Value: "GPCS"
    & U9 A& M: [8 c+ x3 y
  170. " ^1 j" q+ N+ N; Q! f
  171. ;;;;;;;;;;;;;;;;;;;;; T7 t5 x+ d# r/ N1 }
  172. ; php.ini Options  ;3 e" T9 R, X! C0 J/ ^
  173. ;;;;;;;;;;;;;;;;;;;;# X" J9 ]. ^. E) o# E& ?0 i. Z5 B* a# U
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    . D# w5 y) ]! O: V
  175. ;user_ini.filename = ".user.ini"
    $ D: }1 d2 ^; V9 h5 o

  176. 1 I. p# l2 M) \* u
  177. ; To disable this feature set this option to empty value
    . ?7 W  L& ?/ G7 ^( p
  178. ;user_ini.filename =. B5 {5 W5 v9 o- _2 B) N; P& s9 E9 S
  179. 2 M5 j3 i& b6 |! S3 p0 d1 U
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    1 V9 h9 A/ ~5 x* n* H' S) e
  181. ;user_ini.cache_ttl = 300
    1 }' m1 a% v5 Q  L/ g# a. I

  182. " s% b1 u7 e% b0 O  ?7 p
  183. ;;;;;;;;;;;;;;;;;;;;
    0 P* w( ?6 ^7 m: U( D
  184. ; Language Options ;
    " `- E% _/ B( O9 T
  185. ;;;;;;;;;;;;;;;;;;;;0 c1 {7 l. `* s6 y6 `, ^* J
  186. 1 A4 }  ]/ B. \; w( y
  187. ; Enable the PHP scripting language engine under Apache.
    + C+ X" w2 Y) ~& ~4 h% F. d
  188. ; http://php.net/engine4 `) ?' Z2 J. b0 f; u8 C# B. X
  189. engine = On. _/ G5 A4 n4 [' z& j- \

  190. 8 x! h  d& e! c% K
  191. ; This directive determines whether or not PHP will recognize code between
    , O  A1 n( D* T+ d% _
  192. ; <? and ?> tags as PHP source which should be processed as such. It is7 m. }0 V+ Z! H/ ^0 V  U& n
  193. ; generally recommended that <?php and ?> should be used and that this feature6 j1 a' }* p* G" I3 }. J% c& S
  194. ; should be disabled, as enabling it may result in issues when generating XML
    & X5 j( Z  s' z# R6 O
  195. ; documents, however this remains supported for backward compatibility reasons.
    # x7 C' j- G2 O  A% X
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    7 S1 |8 ]3 N: D' j
  197. ; used regardless of this directive.
    0 Q8 D8 q: ^- `; U( ~$ Y1 d( d' h1 r; b
  198. ; Default Value: On9 K( ^5 I% l- p& T
  199. ; Development Value: Off
    7 e5 y& P+ E) D8 N. F1 U3 l
  200. ; Production Value: Off  L! d. r, I) c3 D( Z- C- [
  201. ; http://php.net/short-open-tag
    8 V: d1 w% E! Q9 A7 B  a( K
  202. short_open_tag = On: V2 |' f2 `0 [! y* J

  203. & e4 S; V) B6 K5 U' {* V0 q5 G
  204. ; Allow ASP-style <% %> tags.
    " X6 M" u9 n( s4 Q) u
  205. ; http://php.net/asp-tags. M0 y! J/ Q5 R& l) `: v
  206. asp_tags = Off: i0 q; `# \+ x
  207. 1 z2 j% C/ B0 y* a5 K' r9 W/ {
  208. ; The number of significant digits displayed in floating point numbers.% I- c# Q6 X5 `/ k0 c
  209. ; http://php.net/precision$ n! R6 T6 k0 d
  210. precision = 14
    ' h2 \2 a+ B  m; E; f* W
  211. 6 i5 F9 F, G9 K% b2 G
  212. ; Output buffering is a mechanism for controlling how much output data" E& H6 {9 Z0 A7 w. s$ c1 J; k
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    7 q3 M" ^5 h% P7 Q/ P" k# e
  214. ; data to the client. If your application's output exceeds this setting, PHP5 k! E. n& D/ [& I6 `
  215. ; will send that data in chunks of roughly the size you specify.
    ( M: t2 O7 w2 {) l# m* ?! i, a
  216. ; Turning on this setting and managing its maximum buffer size can yield some6 Q) c5 r# y; c+ G$ W, a
  217. ; interesting side-effects depending on your application and web server.
    6 l  b* U: X7 [" g7 S
  218. ; You may be able to send headers and cookies after you've already sent output
    " z+ Y$ e/ A  y4 M( u
  219. ; through print or echo. You also may see performance benefits if your server is
    5 Z$ d" ?4 `5 i
  220. ; emitting less packets due to buffered output versus PHP streaming the output' S7 u* l) ^0 V/ Z* V: x
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
      X  n8 A: |3 }4 y1 O% Y* J
  222. ; reasons.
    $ T) h5 T; [; X$ b$ o# d9 U
  223. ; Note: Output buffering can also be controlled via Output Buffering Control( h) L- i! a$ I! y  ?# {
  224. ;   functions.
    4 o  L+ \  X5 T! ?  h
  225. ; Possible Values:% Q, M0 Z; |/ m
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)6 K- l* V( g: z+ Z
  227. ;   Off = Disabled  b/ W6 V0 ~& ~+ {- o3 @
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.6 o% K+ G6 N7 a1 {  L$ j$ [2 ?6 H& E
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI6 V$ E. Y) o8 C/ F" l1 p
  230. ; Default Value: Off- Z4 K6 Y! n6 h+ [) {
  231. ; Development Value: 4096. F6 K' U- O- v
  232. ; Production Value: 4096
    6 f# J. J% H6 x: n
  233. ; http://php.net/output-buffering3 B' f: I2 t0 H, Y
  234. output_buffering = 4096
    ; [$ B6 C3 X% X) D+ O/ Q: T+ v

  235. 4 z$ _5 U% @! c
  236. ; You can redirect all of the output of your scripts to a function.  For% @" y9 w* X- K
  237. ; example, if you set output_handler to "mb_output_handler", character
    # Y4 t) n9 v4 e7 }* j. [0 ~- Q+ t
  238. ; encoding will be transparently converted to the specified encoding.
    % m" [( M. O' p4 @$ `& y
  239. ; Setting any output handler automatically turns on output buffering.
    9 n/ j. \6 r: i2 T3 K
  240. ; Note: People who wrote portable scripts should not depend on this ini
    4 V' M9 C* U. P
  241. ;   directive. Instead, explicitly set the output handler using ob_start().& g" Z1 f& s* Y& D6 P+ q  @0 u
  242. ;   Using this ini directive may cause problems unless you know what script
    : A. ?( ^. f$ {4 P0 n5 k' [" v
  243. ;   is doing.
    ! M* Z/ m6 i9 t  M! b1 e+ t
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"0 k3 y# {! h( T4 O2 B9 M
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".0 Q. f; w9 a* c5 i+ u
  246. ; Note: output_handler must be empty if this is set 'On' !!!!3 u% J) q% C; B
  247. ;   Instead you must use zlib.output_handler.8 K, c! l* q' T; e4 O
  248. ; http://php.net/output-handler
    * q( S3 G) k! T! J( ^# _+ B0 p
  249. ;output_handler =
    8 k& c$ Q) M/ _) v2 Z  i5 q

  250. 2 D2 z- _" q2 @
  251. ; Transparent output compression using the zlib library
    % o! H/ T) h  \+ R, I6 A7 ^4 _
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size( H7 C( y3 s) T& B
  253. ; to be used for compression (default is 4KB)) u) P) B; }- F# t' F
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP* V6 W+ R; ~- i- G& y3 w8 l' Z
  255. ;   outputs chunks that are few hundreds bytes each as a result of  Z* T% S' v/ a! Z
  256. ;   compression. If you prefer a larger chunk size for better
    6 ^2 f  ?7 C  g; Y
  257. ;   performance, enable output_buffering in addition.( Z7 K( B: n7 `9 m+ b, F
  258. ; Note: You need to use zlib.output_handler instead of the standard8 s  q5 L; D- r5 B
  259. ;   output_handler, or otherwise the output will be corrupted.
    $ O1 i$ r. T9 i9 v) g0 M+ }
  260. ; http://php.net/zlib.output-compression
    " U; J6 \; b! P7 p# {
  261. zlib.output_compression = Off6 K; L* E4 }. x& \

  262. # a+ m0 Q. }9 q. x2 V: y  c: u; M4 G
  263. ; http://php.net/zlib.output-compression-level0 G! H. \: F3 J9 V' h6 t3 b+ Q
  264. ;zlib.output_compression_level = -16 G. F9 q1 e- E& N

  265. , R7 u$ I1 b& |4 s' k
  266. ; You cannot specify additional output handlers if zlib.output_compression
    ! [9 e6 F/ C$ h1 O0 d  {' d7 i
  267. ; is activated here. This setting does the same as output_handler but in
    $ l2 h3 ], D2 L- d
  268. ; a different order.
    # Z) o& }4 X& }6 y' t8 N7 H
  269. ; http://php.net/zlib.output-handler
    6 z/ N8 t( N: Z9 Q: S& A  L
  270. ;zlib.output_handler =
    1 k; }  H# u/ X" m: a! n" e& W3 K
  271. 8 X4 v' q) g5 j7 n
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    % e: N" `, Q" a( V
  273. ; automatically after every output block.  This is equivalent to calling the
    ; o4 \0 ?" K2 }
  274. ; PHP function flush() after each and every call to print() or echo() and each
    * k. N" H4 u) x& c* L
  275. ; and every HTML block.  Turning this option on has serious performance5 f- Y* x8 \# r2 ]
  276. ; implications and is generally recommended for debugging purposes only.
      I5 A* c+ c! {& w
  277. ; http://php.net/implicit-flush% j. A. n& n) ^
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    / g0 S! O1 W! s4 M: O
  279. implicit_flush = Off8 g( a5 ], i2 q( L$ i( r- f1 D) l
  280. . i: L  m! C; \, W8 G, k
  281. ; The unserialize callback function will be called (with the undefined class'
    ) c% I5 Y: S! f8 P- b+ j$ q2 N! e7 y
  282. ; name as parameter), if the unserializer finds an undefined class0 V6 y! Z! j5 d1 e- M* c/ a: u
  283. ; which should be instantiated. A warning appears if the specified function is" r6 M* D* {- L0 v9 z3 ]& R6 c
  284. ; not defined, or if the function doesn't include/implement the missing class.
    + A) w$ v: Y, [7 [" M9 s; r
  285. ; So only set this entry, if you really want to implement such a9 z# }" C% Y# q& X( g& u
  286. ; callback-function.5 H, y! \/ u# B  d% d
  287. unserialize_callback_func =' _& w+ H+ u  b+ r3 B2 M" k& H

  288. 5 l1 W6 }1 Z" O( e
  289. ; When floats & doubles are serialized store serialize_precision significant' e: A, a) x7 x
  290. ; digits after the floating point. The default value ensures that when floats
    7 o7 W) _; g& V) D" n% o+ b
  291. ; are decoded with unserialize, the data will remain the same./ i/ h; L) ^8 ?& b+ _& X& k
  292. serialize_precision = 17/ ~# |- |' l( y7 }' \" M( s! i
  293. * T/ e$ w; U& K3 ^- b1 T8 }
  294. ; open_basedir, if set, limits all file operations to the defined directory, }8 h& {4 k3 j$ r
  295. ; and below.  This directive makes most sense if used in a per-directory8 G! s5 `+ o3 I1 a  l" s* y
  296. ; or per-virtualhost web server configuration file., q( \* r9 D3 e  S7 [3 s
  297. ; http://php.net/open-basedir
    # |5 I  N7 Q2 y1 Z/ L5 P( r
  298. ;open_basedir =0 y  |( P# J3 C0 V( `# G: L
  299. . g) u2 }$ w6 n# B  }- N, o0 c
  300. ; This directive allows you to disable certain functions for security reasons.
    % p3 _$ M  Q/ t0 J* ^
  301. ; It receives a comma-delimited list of function names.$ ]; Y4 ?  b1 q# J5 d( _% U
  302. ; http://php.net/disable-functions5 P0 C" j& H6 g: M
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru1 V) f6 G: F- T0 ^+ q  |; z$ R
  304. - Y" Q, W! P* t7 V3 q* \+ Q
  305. ; This directive allows you to disable certain classes for security reasons.
    - c7 V0 Z1 Z: @# D
  306. ; It receives a comma-delimited list of class names.  V+ x2 b+ `$ Q
  307. ; http://php.net/disable-classes
    4 t6 q3 F; ?) [' k
  308. disable_classes =
    ' r" M1 g0 K# E/ A( \  R  d
  309.   g% r& @+ y+ d) @1 B5 B" m% s
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ' y8 K5 M* Q% Z7 i
  311. ; <span style="color: ???????"> would work.
    2 m) `( s# J8 ~! U0 R
  312. ; http://php.net/syntax-highlighting; E4 X6 u  S9 H9 C! \8 S9 \0 c
  313. ;highlight.string  = #DD0000; B# x' C' a  U
  314. ;highlight.comment = #FF9900
    $ N* h! \+ H5 W5 J1 P
  315. ;highlight.keyword = #007700
    5 K# }1 _. F/ E4 g
  316. ;highlight.default = #0000BB
    : u) k" b8 G- B& T
  317. ;highlight.html    = #000000
    8 C5 P0 t1 k. A

  318. 0 X  |* I. ?2 s- b% N9 r+ v
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    - C0 x0 d6 T. O  P3 n  s0 L
  320. ; the request. Consider enabling it if executing long requests, which may end up: D- C8 l% T5 b9 p, r
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior1 a' {& C  G( c6 u2 U
  322. ; is to disable this feature.2 H" E- `: O! s4 P3 G+ N! v
  323. ; http://php.net/ignore-user-abort
    4 }5 a) @6 v; D9 E6 A9 ^$ t
  324. ;ignore_user_abort = On
    / E& D! f" m. w

  325. - l' Z. s- V3 t& u# H9 i6 L
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    4 }& L3 V2 d/ h6 C5 ~, y
  327. ; be increased on systems where PHP opens many files to reflect the quantity of8 F6 r, o% z" _2 }
  328. ; the file operations performed.
    ! V5 Y5 e8 d; Y; f  y3 Z+ U2 A: |
  329. ; http://php.net/realpath-cache-size
    3 c- I! p: w' c' @2 W
  330. ;realpath_cache_size = 16k
    ; P, ]9 n4 \* s# ~- e/ B. @$ u" q
  331. * b. u, f5 ~, i
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    9 E* D  m- P7 d
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    ; }2 Z  e# J  u
  334. ; value.
    ) q4 W& X3 H) G  l0 F* @
  335. ; http://php.net/realpath-cache-ttl1 [# K5 F# m( z( @% a: ]
  336. ;realpath_cache_ttl = 120
    . F' V( a+ K# ?1 @' s- Y
  337. 8 b* ?: [  s: W3 M
  338. ; Enables or disables the circular reference collector.
    9 Z5 I- t8 n+ R7 b1 j
  339. ; http://php.net/zend.enable-gc0 b3 J4 g0 r9 Z8 A3 J, d  o( j
  340. zend.enable_gc = On
    ) q; V, @& E: X$ D0 ?  _: v
  341. 8 \" z7 \/ t" T6 s9 m
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    5 u2 f; v& v3 N/ T! f- ?& Q1 k
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ; s1 j. S- \/ t. N# o: J9 u3 w
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    9 @& v( P, O5 U5 a' f$ |
  345. ; Default: Off
    6 k. F. j) w( O
  346. ;zend.multibyte = Off
    " k, M8 {' y+ ^, J
  347. + R' ]4 p- ?4 ~: z' Y
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    5 E- o+ c! p5 k% R, r0 K3 A
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.. |/ f1 A- K% i, B. {; {
  350. ; Only affects if zend.multibyte is set.
    ) H! \1 E4 F  w. K$ J5 D) a4 Y, n3 r
  351. ; Default: ""
    ) ?  C, K9 a% p& A( M
  352. ;zend.script_encoding =' I% V# J- w- V% {. I! m3 o- ^
  353. " u" y, H2 g3 x- d' [& B( Y7 N
  354. ;;;;;;;;;;;;;;;;;/ B2 F! B8 w: s8 h! u% ~6 n
  355. ; Miscellaneous ;
    1 j, W0 p1 x# S0 N! ~2 O
  356. ;;;;;;;;;;;;;;;;;
    ' q) X7 h" ^  A

  357. : _. _, i; @6 a# j5 `" ]+ R" @
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    $ `$ w/ [$ f# _% G
  359. ; (e.g. by adding its signature to the Web server header).  It is no security5 D0 y+ N3 Z' _! h& @
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    & t: Z- {4 ]% E: E% @! Q3 |
  361. ; on your server or not.
    5 \" C! t, Z9 h2 s% a" ^
  362. ; http://php.net/expose-php6 s) g: U! W( s0 V" Z
  363. expose_php = On
    + y1 b3 N$ v# K8 J) L2 W* i4 `
  364. ( h4 z+ |5 s9 u' N# X" z  R# e
  365. ;;;;;;;;;;;;;;;;;;;$ p8 g$ R5 Y# k
  366. ; Resource Limits ;
      `4 k, ~- E% N# C: X6 u
  367. ;;;;;;;;;;;;;;;;;;;
    & e! W4 ?+ K& Y$ O  q

  368. 2 r8 N( z3 w& a: m% N
  369. ; Maximum execution time of each script, in seconds% n, J5 T) t. Y4 Y# c* d  x
  370. ; http://php.net/max-execution-time
    ' j. `9 A( r8 e$ P5 W
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI  r1 I4 s& C8 v# T
  372. max_execution_time = 3003 y2 |- h" t# F8 U6 ?4 X) F
  373. 1 V4 }. [5 S' y$ n  F' V
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    , k3 k6 F1 o# J) ~$ n! e
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    9 E1 |, \: D( z
  376. ; long running scripts.! q3 g7 o5 ^' _  V. ~  P
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    + B7 u% B6 O+ |  T8 C
  378. ; Default Value: -1 (Unlimited)9 q, H8 X$ X# v9 k
  379. ; Development Value: 60 (60 seconds)
    * G) @% V+ v$ d5 y8 G7 E
  380. ; Production Value: 60 (60 seconds)
    / r8 y: r# C# w" ^7 F* w$ I& c
  381. ; http://php.net/max-input-time
    " h; O9 C9 F! ~/ [2 X
  382. max_input_time = 60
      z8 A7 i* {/ K2 [0 I8 J

  383. ' L1 X( w! g8 r4 J4 w3 V. D; i
  384. ; Maximum input variable nesting level
    + k# }5 v: ?3 T1 ^' X& m0 U
  385. ; http://php.net/max-input-nesting-level
    ( i, o, c7 p3 Z
  386. ;max_input_nesting_level = 64- H8 z: ]& \: |) B) A1 G

  387. . S, i9 x) s( N5 a1 ]
  388. ; How many GET/POST/COOKIE input variables may be accepted
    + K& P& N- N1 o8 R
  389. ; max_input_vars = 1000
    ! X0 H, ~" t+ A
  390. 3 a& Y* K2 r0 t/ S! y8 J# f" U
  391. ; Maximum amount of memory a script may consume (128MB)
    5 ?1 V5 P" q" g7 v; h) ~! `9 X, N
  392. ; http://php.net/memory-limit( u, T- g/ y1 c+ I, L5 g9 v1 C
  393. memory_limit = 128M
    * i( k7 Z+ o* i1 p/ f
  394. 0 H& C# P) s6 H# J2 f: ]3 s6 X: \2 U! s
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;, n; {$ U8 j# i. A4 G- M% [
  396. ; Error handling and logging ;
    # t2 C9 f& H" d8 c% C; O4 l
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2 U5 k4 T. y* H9 s" H4 n5 B' F
  398. : h! e, }0 O% V3 r
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    3 J) p0 ]4 A- [6 ~: c
  400. ; it to take action for. The recommended way of setting values for this
    # R+ [4 L& _2 r/ J  B9 e
  401. ; directive is through the use of the error level constants and bitwise3 I) o7 g/ p: p
  402. ; operators. The error level constants are below here for convenience as well as
    5 G8 e; l$ M" `  y- V5 ^
  403. ; some common settings and their meanings.: }9 D9 B& z2 l
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    " _8 f- _# n7 R# E
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and. {  y* n) B8 D+ ?+ P. G8 ?+ m
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    8 l3 Y5 `2 T- l0 V2 F7 \9 n
  407. ; recommend error reporting setting. Your production server shouldn't be wasting! W: e  m7 {4 [" a/ ^# `* ^
  408. ; resources complaining about best practices and coding standards. That's what
    ( K/ U2 ~9 h' `/ r: z$ u- P2 P
  409. ; development servers and development settings are for.9 o# w9 {& _: e7 Q+ Z5 K! a2 @
  410. ; Note: The php.ini-development file has this setting as E_ALL. This' {( f. W& z9 p3 n9 o) s. M
  411. ; means it pretty much reports everything which is exactly what you want during) b4 a/ L( C- |# P: G- m
  412. ; development and early testing.( [: Q, K# d/ E
  413. ;- v- T# f! g6 f& {  N' S. m! W
  414. ; Error Level Constants:
    " R! t& _2 H& ]* f0 b/ H
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0), }9 {9 B  E8 ~  A7 M% ^+ T) U
  416. ; E_ERROR           - fatal run-time errors3 C/ N% Q" X# P5 [5 z
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ; m/ J. H, v: E/ P/ ^6 V# R) L4 J
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    : q+ T0 n. X. j% `
  419. ; E_PARSE           - compile-time parse errors) ]/ _. e& D4 ]2 T8 o4 n
  420. ; E_NOTICE          - run-time notices (these are warnings which often result% z8 D5 g, y# \1 j9 x0 |/ e2 j
  421. ;                     from a bug in your code, but it's possible that it was# C! ]& b, F5 X& Q
  422. ;                     intentional (e.g., using an uninitialized variable and
    " w$ H2 h3 Z% h# z1 V. r
  423. ;                     relying on the fact it is automatically initialized to an
    ' E& T- s& w: w6 B! |- t3 e
  424. ;                     empty string)3 o2 v/ A" R3 j. S/ c3 B
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes6 I5 T3 d7 I, H0 `8 B5 ~
  426. ;                     to your code which will ensure the best interoperability/ s. y& `5 n" L7 d3 Q/ D) `, U, a
  427. ;                     and forward compatibility of your code
    6 t4 q/ O1 z  C( l6 ~
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    # B8 e0 X) }: `0 V+ C/ H
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's  F' r2 v, v" [' e& n+ f1 W0 r
  430. ;                     initial startup
    4 \( s6 M: l9 v4 R( w
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    , @: u5 M, |: g" L# U( k! R. T
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    % D& P6 x4 e' F+ h
  433. ; E_USER_ERROR      - user-generated error message
    * L" P/ R2 t0 t
  434. ; E_USER_WARNING    - user-generated warning message# l. i# e* h- F' H5 \, _) U
  435. ; E_USER_NOTICE     - user-generated notice message& U% g0 ~+ }7 B; w+ y
  436. ; E_DEPRECATED      - warn about code that will not work in future versions; r! C9 y# O+ u' O
  437. ;                     of PHP  x7 r) e# {: u2 t
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    6 S9 R- ^8 ~' @$ y
  439. ;
    + A% i' k( n3 F8 G* G
  440. ; Common Values:
    * L( o; T/ r0 j/ w
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    2 {9 [; d. }) H0 m( r' e
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)' r7 I  q. o* [* R
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    $ j: h, k% |' E' E
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    : j, ~# q6 ~5 u4 t/ p  j
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    5 E- z& Y8 T! [0 U
  446. ; Development Value: E_ALL1 K& Z& @8 m: F0 G* O
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT" W) G3 M$ C3 ]
  448. ; http://php.net/error-reporting
    0 m* q8 D+ T* I7 U) s9 r5 }
  449. error_reporting = E_ALL & ~E_NOTICE
    + B5 T4 |) n- C/ H) \3 ^
  450. + ], e, Z# Z) Y, _9 @- b- w" x; n
  451. ; This directive controls whether or not and where PHP will output errors,
    , G; D' Z$ I/ u; L
  452. ; notices and warnings too. Error output is very useful during development, but" [8 Y' C3 y& N3 c& I' {$ G4 r% O
  453. ; it could be very dangerous in production environments. Depending on the code
    3 r% ?$ m- }9 C
  454. ; which is triggering the error, sensitive information could potentially leak
    8 l3 ~2 J3 `% l! J
  455. ; out of your application such as database usernames and passwords or worse.
    2 n/ W. D  g3 ~4 r9 j
  456. ; For production environments, we recommend logging errors rather than: ?3 B4 J+ a/ X3 V! `- x
  457. ; sending them to STDOUT.9 b5 b; k" w' G, X# H4 l  C4 g
  458. ; Possible Values:$ i6 z$ p! n  y; W% d+ y
  459. ;   Off = Do not display any errors- ^! I9 S$ h' ]
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)% `0 D; l- `3 h9 J: C
  461. ;   On or stdout = Display errors to STDOUT
    + E0 L* i3 Z2 f6 Z: a
  462. ; Default Value: On
    ; N% Y8 }& ^/ Z; E
  463. ; Development Value: On) N2 Q- S7 y; U. Z1 S3 U; C
  464. ; Production Value: Off6 K3 ?) }4 C7 H/ G
  465. ; http://php.net/display-errors
    0 g) S- W, E" s. q+ `2 a) C/ @
  466. display_errors = On
    ( \1 U4 L* y+ W- n2 F7 d' y, X1 V/ u

  467. . }+ I$ V5 ?% q; `; K* ?# o: ?; `
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ! o( W* p: q/ @3 v2 S# n& I' g
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    9 a: V/ X: ?2 M
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    $ p3 x4 K' w# `( A9 v
  471. ; debugging configuration problems. We strongly recommend you' \3 s% p5 \0 l/ j4 ^6 E
  472. ; set this to 'off' for production servers.
    , _& L% F2 W  @; q. _
  473. ; Default Value: Off
    6 ~/ c" @) R- O, r* e
  474. ; Development Value: On$ ]. N- {4 O5 A; Y, r& H  g% v
  475. ; Production Value: Off
    0 S! \# h7 |$ B7 z( X3 z& Q
  476. ; http://php.net/display-startup-errors
    5 Z: w& S$ ]2 ?- s, _. H* e
  477. display_startup_errors = Off
    9 z+ A$ k; G7 @: t& M, X/ d7 W
  478. 5 u& p. I: H" N* V
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    ) r' B) I  K  E7 ?
  480. ; server-specific log, STDERR, or a location specified by the error_log
    6 t6 m' P7 Q) X1 {3 m
  481. ; directive found below. While errors should not be displayed on productions
    ; w# w/ g- M9 C1 `% Q" U) y
  482. ; servers they should still be monitored and logging is a great way to do that.8 N4 n2 o. p. C1 l* M
  483. ; Default Value: Off
    0 d, H3 N7 D* M2 J5 `- D, O1 q
  484. ; Development Value: On) r( c1 ?0 w. R# e1 O; v
  485. ; Production Value: On* F, O: f, z( a) J* J" C3 v
  486. ; http://php.net/log-errors9 R- r! \- c' ?# ]' E
  487. log_errors = On
    4 a. F5 L1 a' p% u! N/ p

  488. 4 I* H! o8 H, ]: j3 P/ `) r
  489. ; Set maximum length of log_errors. In error_log information about the source is4 m# S5 B# ~) y" K
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    : j8 M1 L  M! y; i4 |) W& T
  491. ; http://php.net/log-errors-max-len
    ; H2 h  B2 o% n; E$ M+ ^' d) n( @7 Y
  492. log_errors_max_len = 1024) f: a6 O3 o9 u
  493. 9 |5 ^' {; W+ I% b; x6 @& b+ r
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    4 G% ]9 [5 P0 m( q( s0 d
  495. ; line unless ignore_repeated_source is set true.
    ) t3 C: ^& C. n: S5 W- F1 f% m: `
  496. ; http://php.net/ignore-repeated-errors4 a! `0 b- J. |7 P! v4 Q
  497. ignore_repeated_errors = Off
    4 b2 B6 t; c4 [+ u
  498. 9 k% o0 c& T# L3 g
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    ) U0 C  w: A( l4 b/ K: r% }$ b
  500. ; is On you will not log errors with repeated messages from different files or
    2 }% o8 B5 l+ a! }
  501. ; source lines.: s1 o, A& h  Y$ t0 M
  502. ; http://php.net/ignore-repeated-source
    * i8 I. w& c, {. n3 G% r  q
  503. ignore_repeated_source = Off
    3 I7 \, i# [: P  S0 q, d
  504. ) c% b, z8 U* i1 n1 R# O) z
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on2 k+ W! F  b$ R  s) M/ k1 K
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    + i, y* d- F0 y$ ^3 J. O/ A
  507. ; error reporting includes E_WARNING in the allowed list
    ; }6 q( B" P' v$ M/ Z/ |9 k
  508. ; http://php.net/report-memleaks
    # }+ f7 [; e4 i  D& A4 H
  509. report_memleaks = On1 r& n1 r* I$ g/ l8 L

  510. # j! c& ]8 Z5 n: {+ l/ y* w
  511. ; This setting is on by default." L8 ?* A) N7 Q9 \/ O6 q
  512. ;report_zend_debug = 0& Z5 R7 @5 M% N/ b: M

  513. 4 M" T+ y8 |) O8 ]5 l2 m
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value( v3 H' T$ Z: }. r2 w: ~
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    0 c$ Q- R  H  J$ A# x
  516. ; however be disabled on production servers.
    9 J+ x5 K2 U- g) }0 j% t" J( T
  517. ; Default Value: Off
    ) I4 [7 H& T( O
  518. ; Development Value: On
    4 a/ c% F# h: D* T3 I% q) p
  519. ; Production Value: Off" a' B7 e$ z1 _( i
  520. ; http://php.net/track-errors
    " d! J9 K0 m: u! m# Q
  521. track_errors = Off% J0 G- `9 A$ |% i

  522. 4 W& T' |( ^- X* i7 i
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    3 I7 D# X( ?6 D$ p& @1 B4 x0 U* i
  524. ; http://php.net/xmlrpc-errors
    6 M- a5 t# F. J0 I
  525. ;xmlrpc_errors = 01 P. U( J4 x- d/ L

  526. ! ^% V* R; q5 W! G0 [; j" E; B
  527. ; An XML-RPC faultCode8 p7 E3 c* ]5 l. c" f3 S0 f
  528. ;xmlrpc_error_number = 0
    $ H  {- l( ~2 d( |& B! A4 x8 ^0 {
  529. * m* ]+ t4 T" X. T
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    8 K1 T7 ]: E" O+ Z3 {
  531. ; error message as HTML for easier reading. This directive controls whether- i" `) g, n" W" O* D& c
  532. ; the error message is formatted as HTML or not.
    9 r+ `7 v0 Z, J% l4 y* ^
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    4 [* Z& k8 m' |  w
  534. ; Default Value: On% @) t" y: [* a! A: O! H8 k
  535. ; Development Value: On- K+ ^) t; P0 |8 ]8 K3 B6 G, ?" ^( O
  536. ; Production value: On
    / Z' e, h( i1 q9 q
  537. ; http://php.net/html-errors: y5 T# ]/ t4 i! j
  538. html_errors = On
    5 }2 n1 J/ I, P+ x7 z8 L, K

  539. 8 u: ^' T. G$ E5 c2 \) k5 ^
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    2 s6 d: F- y3 f. v1 B' v
  541. ; produces clickable error messages that direct to a page describing the error  Y+ u2 u1 F4 E* v
  542. ; or function causing the error in detail.: @1 q. b/ c2 J; M8 v
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    ' Z  r8 X; m: w' c& _
  544. ; and change docref_root to the base URL of your local copy including the
    . c) h3 C. D2 C! L4 E6 A
  545. ; leading '/'. You must also specify the file extension being used including
    . w0 U% g6 u' E, |4 v8 U% m. k$ P
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which. ?$ h2 {  y: ~" f
  547. ; case no links to documentation are generated., o# n, Z6 s. k( h+ t5 e
  548. ; Note: Never use this feature for production boxes.( ]  |! b, S& ~( S9 A& ?0 A
  549. ; http://php.net/docref-root- y5 ^8 B5 |7 q0 n5 N. M
  550. ; Examples
    3 K8 R; A# H* S" W# k; k
  551. ;docref_root = "/phpmanual/"5 ^7 Q, A& s# L0 z1 E* M" J: G

  552. 7 u- B0 R1 A1 k0 }& q5 ^7 G! m# H
  553. ; http://php.net/docref-ext( M! {0 @! h5 r" L  m. U
  554. ;docref_ext = .html
    " o" d6 E" n! Z) P& d; a
  555. 5 l9 B+ H9 }& P9 L7 M, d# ~+ o, N
  556. ; String to output before an error message. PHP's default behavior is to leave
    / C; j# M0 T; B+ `* H
  557. ; this setting blank." d( X9 B( f. x6 A& ?8 `9 }* Y  c
  558. ; http://php.net/error-prepend-string( u" ^2 c" D1 U$ \8 d
  559. ; Example:& F7 c4 ~- e) B1 f* Y% U
  560. ;error_prepend_string = "<span style='color: #ff0000'>"6 R  t" w. m! H

  561. " t7 O) c  ?: J9 ~
  562. ; String to output after an error message. PHP's default behavior is to leave0 v, |/ N# v, U6 e- o
  563. ; this setting blank.
    # i1 M$ R2 U0 f0 V. O; C+ E
  564. ; http://php.net/error-append-string
    1 u9 C2 E. h9 d% R& _
  565. ; Example:; r, [! z$ q# V* k" d
  566. ;error_append_string = "</span>"
    # [* x, x! B* ?. X4 n$ S- t

  567. - N3 W8 N0 V( O) j9 [( u
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    8 {+ C, I! O: m& z( i4 H4 R3 X' h  S
  569. ; empty." Z! E: k' O7 w+ H! r
  570. ; http://php.net/error-log& j! f4 x( e$ Z# d# K* K
  571. ; Example:
    ' K/ w3 b$ Y" z
  572. ;error_log = php_errors.log
    ; x0 ~. b+ w- c' p; r3 Q% ^
  573. ; Log errors to syslog (Event Log on Windows).; l$ u/ M( S7 q( P3 \
  574. ;error_log = syslog
    9 L2 V! p4 e. Y6 b5 _9 K) s# W* a1 n

  575. ( W: l$ F2 I" t1 P; C6 g
  576. ;windows.show_crt_warning7 f8 w5 j8 `" @( q7 S
  577. ; Default value: 0
    ( W: h6 B/ A/ C% L8 H& Y& A; |
  578. ; Development value: 0, [  C; X5 I2 ^; b) E) n% A
  579. ; Production value: 00 k6 ]  \0 R& }- p0 j9 X
  580. 4 n' s. v6 N# S  F$ B
  581. ;;;;;;;;;;;;;;;;;  L$ O( I7 g2 W# Q* A9 i1 p1 F
  582. ; Data Handling ;- r! I4 ^( P" _6 L) q
  583. ;;;;;;;;;;;;;;;;;
    ; f7 o8 g0 |: [/ H$ }
  584. 7 G) Z4 f& I: X3 r" Z
  585. ; The separator used in PHP generated URLs to separate arguments.
    1 X( h* r  C' Q" C& v3 l6 [
  586. ; PHP's default setting is "&".
    0 o$ N8 p$ ^+ e$ F: i
  587. ; http://php.net/arg-separator.output1 ]1 S( C6 h2 `; b6 L" m8 S7 k
  588. ; Example:
    + S7 z* L5 X: ]- v! c% I9 v  H
  589. ;arg_separator.output = "&amp;"
    7 p% Q6 I! s+ r2 U, S4 ]2 N' u

  590. # W# n1 H7 R+ d6 V* n& @
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    9 k2 }! e* }. _0 I( ^. y  J
  592. ; PHP's default setting is "&".) n! H% M8 Y7 _
  593. ; NOTE: Every character in this directive is considered as separator!
    7 T8 m0 ]! z' _5 N6 e1 _4 Y
  594. ; http://php.net/arg-separator.input" J/ w0 P0 n+ N7 G1 d7 c
  595. ; Example:
    $ k4 a. _* ?; @- j
  596. ;arg_separator.input = ";&"6 x. A; M  v! W

  597. / i4 J8 Z* n+ @: b. W, e% q
  598. ; This directive determines which super global arrays are registered when PHP
    ) i8 \# ]; g) Z) z8 r+ o
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    & E( R5 _: ]$ U% I
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty6 `6 F% `. D+ @9 |5 E  E, [0 P# D
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    8 o5 m, e" `3 H' N& s
  602. ; used as the others, ENV is not recommended on productions servers. You/ m8 I8 n, J% v; u! [
  603. ; can still get access to the environment variables through getenv() should you8 ]$ b$ g2 j* _) J, F  P
  604. ; need to.+ x" j' R6 t0 U1 w; O
  605. ; Default Value: "EGPCS"6 U+ z; f& `( q  c. T/ K
  606. ; Development Value: "GPCS"
    ( G6 I7 n4 Z# L, o& J; i8 m; y; s. l
  607. ; Production Value: "GPCS";4 B% O( \8 H' ~0 G% d
  608. ; http://php.net/variables-order
    3 q; o; K6 C" r* {0 w6 O" B
  609. variables_order = "GPCS"
    6 H% w6 |( @8 S0 L
  610. " |; b7 J: U7 o7 b0 P
  611. ; This directive determines which super global data (G,P & C) should be9 Z3 b( L, ~2 _+ |& a( a. O( Y
  612. ; registered into the super global array REQUEST. If so, it also determines
    + K- \) M% k% s# U+ g" c
  613. ; the order in which that data is registered. The values for this directive: E3 w- m8 Q3 @6 g( w5 t( S9 {  D
  614. ; are specified in the same manner as the variables_order directive,
    / l! o7 `( e6 @* o( R9 u
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    7 p; S% U& z& y/ o1 E( d
  616. ; in the variables_order directive. It does not mean it will leave the super/ F2 a# |" v- C# [3 P
  617. ; globals array REQUEST empty.
    ! W/ u$ R) M% u: Q" g0 S  V
  618. ; Default Value: None& k# |* ?/ ?" X$ B. c3 o6 d: D- \
  619. ; Development Value: "GP"; c: C5 C( Y$ B: e* `  D% m
  620. ; Production Value: "GP"
    ; W; F2 ?; g+ k8 n7 ]  S4 x" n
  621. ; http://php.net/request-order
    , U: f' n) l9 U# R! e/ a+ R$ k
  622. request_order = "GP"
    - @9 k9 `& `: b- p% M

  623. " T0 Z9 B6 B9 s3 T) s
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    $ }8 D* a7 P4 ]+ V- _
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    / b5 S. O: ^  T; U. {# u) }% T
  626. ; is invoked. $argc contains an integer representing the number of arguments
    $ e$ a( d: O9 h! S- {
  627. ; that were passed when the script was invoked. These arrays are extremely9 @! u- P( X! P7 ~3 i, I
  628. ; useful when running scripts from the command line. When this directive is
    ' j. Y, @7 D. ~; a4 h  V' I  k
  629. ; enabled, registering these variables consumes CPU cycles and memory each time7 ]/ ~* u8 g9 x
  630. ; a script is executed. For performance reasons, this feature should be disabled
    0 K; r: ^; h+ ^: Y& x. F
  631. ; on production servers.& y. X/ |9 y$ H3 C+ f
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    7 U& C4 N# F% T& x+ g
  633. ; Default Value: On
    ! L; U4 D0 O( }2 Q
  634. ; Development Value: Off
    0 o) k( X8 M8 r; r) D, X/ I2 H9 C
  635. ; Production Value: Off5 Z  A- N% p/ \7 I* A: h6 v/ U# p
  636. ; http://php.net/register-argc-argv
    2 D7 ^/ V. @- T* X0 Y# P
  637. register_argc_argv = Off. d, F. M- I2 f! h
  638. ! h+ J" b. P3 t' z. k: x% }
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're5 v, h, `- H0 Q- C, e, A8 b
  640. ; first used (Just In Time) instead of when the script starts. If these
    - X$ |' r9 U5 B% p' E
  641. ; variables are not used within a script, having this directive on will result5 ~4 J$ {- Z! v
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    1 c% f, f/ u5 h3 U+ p8 C
  643. ; for this directive to have any affect.
    3 j; b& `; o7 ~& {8 Z
  644. ; http://php.net/auto-globals-jit
    / ~( n' ^8 G2 \$ S( O+ I+ |% t
  645. auto_globals_jit = On' U7 u/ P, U& \" k
  646. ) g, [+ d) g* H3 f
  647. ; Whether PHP will read the POST data.
    0 I+ N2 V. K  P( [0 k
  648. ; This option is enabled by default.- r2 c$ T; ~5 s+ g
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    7 k1 W. Q( _- V5 d) X# }4 q5 }
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    $ W) Q" D7 C9 }+ i5 W" }. m4 y
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    " x/ Q- H) H4 a0 ^4 n
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ! S4 R/ J9 X8 Y3 [3 i
  653. ; http://php.net/enable-post-data-reading9 _( ^; H4 D1 s
  654. ;enable_post_data_reading = Off
    9 o7 p; j& T. G0 l# R

  655. 6 D( Q4 `  E* q3 z
  656. ; Maximum size of POST data that PHP will accept.- h; l2 W2 b; L& `* q, w8 j# E
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    & b$ L8 M, {. s8 b" z( l! B
  658. ; is disabled through enable_post_data_reading.: u3 t7 m  A' w* j7 m
  659. ; http://php.net/post-max-size
    4 ?+ q- y9 K7 E2 L
  660. post_max_size = 50M
    ' h0 C' a. i) F
  661. % \6 @! v  y4 _* E# h+ B9 F/ [1 M
  662. ; Automatically add files before PHP document.
    , z$ q  m: I) X
  663. ; http://php.net/auto-prepend-file
    * n2 ]9 [. Z% o0 b5 \- N
  664. auto_prepend_file =
    * B# ~7 `) z# D( |7 `  q
  665. 0 k: W* k% M+ F" F: l+ M
  666. ; Automatically add files after PHP document.
    5 r8 u# X; @) Z4 R- t
  667. ; http://php.net/auto-append-file
      M9 m# b+ @) C7 W$ T# s* \, ^: X+ z. {
  668. auto_append_file =
    * P5 `  q5 [+ N8 H+ D& y: |' P( O
  669. : d' H/ l1 @6 \* `8 S
  670. ; By default, PHP will output a media type using the Content-Type header. To7 ]+ h( Z% V: E  u; X( `9 J
  671. ; disable this, simply set it to be empty.% o% |# L1 n% i$ g9 p5 Z, A
  672. ;
    . x, |. I9 t' N( e# P
  673. ; PHP's built-in default media type is set to text/html.0 I; p( p# V& \5 H+ J  w
  674. ; http://php.net/default-mimetype; Y/ R9 W: p4 a6 \
  675. default_mimetype = "text/html"
    . k1 b% A. v7 c, i
  676. # I9 I' B, F: w1 A
  677. ; PHP's default character set is set to UTF-8.
    " G  @) Q( A* m- A
  678. ; http://php.net/default-charset
    4 y7 L$ _  Q6 e8 {; |7 T
  679. default_charset = "UTF-8"
    8 D7 _2 }) k( v

  680. ; r: ]; H6 K% i! B: U' @* m
  681. ; PHP internal character encoding is set to empty.
    ( c7 h7 ^8 ~4 F' G  _
  682. ; If empty, default_charset is used.
    5 J( V6 S. |& d' g1 a* x% I
  683. ; http://php.net/internal-encoding
    1 Q- u# ]% ]" L* O8 c
  684. ;internal_encoding =& C7 Z, P) k; l: a+ M9 O, u% E5 t& A
  685. " W! V4 S$ ~8 S; u2 O8 Y, |2 K
  686. ; PHP input character encoding is set to empty.
    ) \1 ~" y: R0 H. r5 e
  687. ; If empty, default_charset is used.7 {& i" y5 p9 K  V* z
  688. ; http://php.net/input-encoding
    : O; h: i. G. @
  689. ;input_encoding =  G" _8 M8 ^$ i9 C6 ^9 |

  690. & W9 y' q0 i1 P6 P4 c  o- i& P' M" R
  691. ; PHP output character encoding is set to empty.+ t- a9 C$ f: j% ]
  692. ; If empty, default_charset is used.; G1 m) ?/ f+ F; H: n: F& D8 o
  693. ; See also output_buffer.) n' I0 R* R- f# O! W
  694. ; http://php.net/output-encoding. P1 F2 v/ @( j* a9 }2 R( S7 c
  695. ;output_encoding =
    ! Z  y- X6 f3 b. G8 A) r# n

  696. ' c' ^) W+ t( `5 [4 c8 t
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is4 t( Z4 s6 p. p6 R8 p  s5 M
  698. ; to disable this feature and it will be removed in a future version.
    / X) X' z2 w. w) v% E. Q+ P
  699. ; If post reading is disabled through enable_post_data_reading,* q3 Z% z8 G5 ~# {9 K  e
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    # U" u0 K+ E# O
  701. ; http://php.net/always-populate-raw-post-data( T6 t% v7 r9 H# ~. N, c2 ^
  702. ;always_populate_raw_post_data = -14 R. p' I6 P4 R2 _# @  Z$ G
  703. . _1 t! o& b' z& k, h" \
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    1 |5 }) o! M% V8 l9 I4 i# o
  705. ; Paths and Directories ;, _& E7 e! t/ B  e! E
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    3 a# T) K( q  u$ ~5 J

  707. 7 m$ C; ~: T+ P* z* B
  708. ; UNIX: "/path1:/path2"8 z% w7 Y& t3 r
  709. ;include_path = ".:/php/includes"3 y7 J- I5 e8 j( z/ g
  710. ;
    7 x* }2 k# L3 V, v6 T, D0 |
  711. ; Windows: "\path1;\path2"
    2 s! E. n8 r3 o- X
  712. ;include_path = ".;c:\php\includes"
    / P5 c; l: ~4 q, G6 k4 J
  713. ;* ^8 ~5 y! D" Y+ G8 v  s5 r
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"! n7 |: E4 G, H# H3 X+ q
  715. ; http://php.net/include-path
    2 `. g4 E) s# B
  716. * q' N% I) o8 q/ O# F( c/ S" l
  717. ; The root of the PHP pages, used only if nonempty.
    5 u' t# o4 C7 @4 J; l5 p
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root3 `, i/ m! L* s+ p
  719. ; if you are running php as a CGI under any web server (other than IIS)
    8 x9 m3 f  ^, n( o8 p+ J
  720. ; see documentation for security issues.  The alternate is to use the
    ! D( |- P3 g1 U% y/ `# x9 Y
  721. ; cgi.force_redirect configuration below
    7 `* L: y' i& G" {  S$ Q
  722. ; http://php.net/doc-root7 j7 P: P" O* X* q! I% n1 l
  723. doc_root =
    & V+ e5 H5 W: t$ F& m6 H( I

  724. 7 k: ~2 }; u" a- K- B  p
  725. ; The directory under which PHP opens the script using /~username used only& ^$ l3 V# l3 Z# b1 M. A
  726. ; if nonempty., `0 a! k) w# `4 G: Z
  727. ; http://php.net/user-dir
    ; x$ ^7 m1 X! t( Z# b
  728. user_dir =% z8 ?+ T' v* b! ?' F; t* L
  729. $ M; t# D( u/ a# e
  730. ; Directory in which the loadable extensions (modules) reside.9 L4 p  I* ~0 _3 q/ c( l1 i1 |# ?
  731. ; http://php.net/extension-dir
      C. ]4 S4 A- u5 f- W3 w9 A
  732. ; extension_dir = "./"
    * v( L( @  _5 h% B  o9 J
  733. ; On windows:8 ^8 O$ d& |2 r2 j: C* A
  734. ; extension_dir = "ext"
    0 P+ }) f4 x, h$ Z0 v
  735. 5 @) Y* H4 S+ N7 ~% s. _: R
  736. ; Directory where the temporary files should be placed.
    ( b* h3 H+ i8 ~3 y. V
  737. ; Defaults to the system default (see sys_get_temp_dir)2 }+ _, ]" a4 E8 f
  738. ; sys_temp_dir = "/tmp"
    ( j) k7 }# t& j, |

  739. ' K8 g3 y; H+ Y* }. X+ y9 t1 G  J
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work& ?3 l" Z, |! M* k( `* b
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    & _5 a- i) m8 e  J- o
  742. ; disabled on them./ i5 b; |* Q: r6 r; V8 ?) a; g
  743. ; http://php.net/enable-dl
    9 ^7 M1 k4 P! d; j
  744. enable_dl = Off
    ' U% M7 n& ]( z- W2 |
  745. . T- i- K5 A3 D
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under$ C8 J: e5 w, p& K$ Y/ ~7 D
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    # V9 A3 C! a. B: r  s  ~
  748. ; turn it off here AT YOUR OWN RISK& y5 }  P) V3 [) J# P8 ]
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**5 E/ x; v( }- Z( L9 R" [. E
  750. ; http://php.net/cgi.force-redirect) q7 ?) w( }5 r+ ~* B
  751. ;cgi.force_redirect = 1
    . g4 a2 T& ^% ~! G4 C

  752. 8 d. C. M& s8 M4 Y1 _6 W% a
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with2 x1 C0 R- }. T% s/ J7 K$ `2 a' m" f
  754. ; every request. PHP's default behavior is to disable this feature.8 }; {: c0 F& C# ~0 p" l1 X! e
  755. ;cgi.nph = 1
    * G' u  h+ E3 L2 b6 }# p

  756. 3 H, A5 P& h, j0 C8 c, b# y
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ! P4 O4 U+ M+ s/ y+ B! f: D* ]% {) X
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP! i0 @: l2 a* d3 ]' x2 y
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    & n2 u9 Q; i/ R( V
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    / F5 t: _4 a3 p6 w; e" C" G0 A
  761. ; http://php.net/cgi.redirect-status-env
    % [4 |, t. {8 l' l7 e
  762. ;cgi.redirect_status_env =
    " l1 w& w- i4 B! c3 u# a) p

  763. ' Y- l8 ~( j5 P; {9 e, H
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    # n8 p& W8 r- i! y- [
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok+ C- A1 V2 s2 Z" J+ {4 {
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting  o4 o' W7 ^/ t- ~  E3 _, B
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ' a3 T+ r9 h% h
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts9 y' S. k: ?0 J( ]( p
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.( K+ r) U' O. `) K: c
  770. ; http://php.net/cgi.fix-pathinfo
    6 ?6 P( \: z1 S3 i* N
  771. cgi.fix_pathinfo=1% s& I- f$ N* O6 I/ V$ w$ U
  772. + q% q+ j; \* N7 Z& w" a" y% {" F
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside! m* n2 I  i5 \( b
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    0 U  ]0 p* E. V# N/ g! ?
  775. ; http://php.net/cgi.dicard-path
    9 z  _3 ^1 J  Z0 b2 F
  776. ;cgi.discard_path=1, _, A8 W6 p+ W2 y% ]
  777.   W5 j+ X8 A0 B6 X' \; v
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ; r; y* U: Y2 q( E# Q3 |
  779. ; security tokens of the calling client.  This allows IIS to define the
    8 y& ~; s0 s' T. w7 k; |8 A
  780. ; security context that the request runs under.  mod_fastcgi under Apache5 }9 T" ?& y+ l) ~, s
  781. ; does not currently support this feature (03/17/2002)' o( |4 a& F6 z
  782. ; Set to 1 if running under IIS.  Default is zero.0 \. O  F. V1 u
  783. ; http://php.net/fastcgi.impersonate5 c0 N: q' e' T$ ^. L! h7 ?* j
  784. ;fastcgi.impersonate = 19 A6 M( Q/ W3 [% x$ k3 a% ]

  785. & x0 t  g1 p" Q6 i
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    7 T6 [' a- Y: _8 [+ t% U+ Z5 [3 m
  787. ; this feature.  b5 F% }- m7 |1 i9 Z* a3 U1 G1 o
  788. ;fastcgi.logging = 0
    ! C- W8 m; r* R9 T; P  Y, v' ^

  789. * `$ a% X5 d/ U; `' U. m3 ^
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to2 B1 L8 S6 U, c8 Y! V, X0 c; v
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that" q+ ^; q3 J' _8 O/ z9 b* X
  792. ; is supported by Apache. When this option is set to 1, PHP will send  o2 x' z2 Z  n  h: T
  793. ; RFC2616 compliant header./ W  v% z+ Q( `  }) b6 \+ R! w
  794. ; Default is zero.! B1 A8 K$ p6 H3 A; J+ e8 b0 G
  795. ; http://php.net/cgi.rfc2616-headers+ {4 O" l" q- r- _
  796. ;cgi.rfc2616_headers = 08 L8 X$ @; d9 C/ [
  797. 8 @' Z3 Q2 z  T
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!( c9 Z5 {6 x( f1 h8 f
  799. ; (shebang) at the top of the running script. This line might be needed if the1 E, h) M' m; ~& V9 I4 }, d
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    1 M- C: y7 y' M) {
  801. ; mode skips this line and ignores its content if this directive is turned on." q# }5 E: @; I' C+ N1 G
  802. ; http://php.net/cgi.check-shebang-line
    0 r$ i6 w9 b6 U2 h
  803. ;cgi.check_shebang_line=1! i# a" q5 o. @) D6 v2 h; _
  804. ) u8 z, U! l, h4 E
  805. ;;;;;;;;;;;;;;;;8 Y8 q: P0 r- U8 r
  806. ; File Uploads ;
    " ^2 M3 A5 e# N( j' ]
  807. ;;;;;;;;;;;;;;;;
    8 q1 f0 J3 ^! q' C8 l1 I
  808. 7 w9 C3 ~1 p: J" q0 _9 C# _! K3 O4 k
  809. ; Whether to allow HTTP file uploads.
    % W( V. O) g) R0 k1 v
  810. ; http://php.net/file-uploads
    9 T, E& G. P5 A2 C1 X
  811. file_uploads = On5 k- t5 H9 ?; y
  812. # ]2 G0 [5 {3 x# T7 Q/ P
  813. ; Temporary directory for HTTP uploaded files (will use system default if not) e* P3 h( p: ]. s
  814. ; specified).
    7 `1 B3 ^3 s  X3 [( D) B
  815. ; http://php.net/upload-tmp-dir% C) Y* q: q. K- }6 |2 V
  816. ;upload_tmp_dir =2 |4 z6 y' F  E' h  I

  817. - H% k1 j2 F& k6 H, M% ?, ~5 l% c0 D6 \
  818. ; Maximum allowed size for uploaded files.) T! X: W6 z6 P- }7 }& g% f
  819. ; http://php.net/upload-max-filesize% a7 I& g2 B; q
  820. upload_max_filesize = 50M
    % v' X8 f& }: O  a

  821. # O) \* l! b- L" t; d
  822. ; Maximum number of files that can be uploaded via a single request
    # ]  j6 x* G7 V" C
  823. max_file_uploads = 20
    " h* t) y2 C  u1 Y1 q. v
  824. " f; n9 B; [( A' G
  825. ;;;;;;;;;;;;;;;;;;# A" |/ z, y3 r4 g( K2 }
  826. ; Fopen wrappers ;
    5 [3 I' h( k3 e5 E; w; X# O/ w9 r
  827. ;;;;;;;;;;;;;;;;;;/ U/ Z% ?3 A3 Y* K. n# n

  828. 4 y/ n' Z2 ?7 L$ ?/ H, e- J
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    5 d! Y- d1 ]7 U( e. Z
  830. ; http://php.net/allow-url-fopen
    0 M/ u8 g5 b; Z- {7 I
  831. allow_url_fopen = On
      n0 A; o/ W  n

  832. ( b# ]5 V/ ^& b
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    * g8 c# o0 Y9 J& i- x. p4 U
  834. ; http://php.net/allow-url-include0 }+ g: J8 M" R, W+ v: a
  835. allow_url_include = Off
    1 v' v9 h* x: }
  836. 8 E8 B  E. x* R; N1 b  L8 z
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    ) J  l3 V4 ^+ q3 X) ~2 h
  838. ; for this is empty.
    ( o: P  I7 e- P" c% D4 M" f: x
  839. ; http://php.net/from
    & |  c" Q$ u) A  c' r: H
  840. ;from="john@doe.com"1 c/ R0 m- L; x; N4 }0 s+ l

  841. 6 l3 t5 n# G! ?! A
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    , K9 b8 s  |. s- M6 I! F
  843. ; http://php.net/user-agent. U6 f! w# ~; ^8 \4 H
  844. ;user_agent="PHP") f* J" @* r' q3 g' v
  845. % d4 L4 ]# Y+ u  w7 e' x1 j( l
  846. ; Default timeout for socket based streams (seconds)
    - x0 a0 \: h+ z4 O  ?
  847. ; http://php.net/default-socket-timeout( G1 \4 ^8 |8 `1 I, p
  848. default_socket_timeout = 60
    & x" ^3 e" `' @, g: N6 a8 w
  849. & h* c9 C4 S5 @7 f8 I
  850. ; If your scripts have to deal with files from Macintosh systems,
    ( s. |( q2 N: K2 B. i9 u
  851. ; or you are running on a Mac and need to deal with files from8 |& A6 |+ Q* K) Z. B: o$ ~6 s
  852. ; unix or win32 systems, setting this flag will cause PHP to* m8 ^( Y6 A. m! Y0 w* S
  853. ; automatically detect the EOL character in those files so that
    # \# h+ x6 C, d5 r7 G  @
  854. ; fgets() and file() will work regardless of the source of the file.
    ' v1 n4 m4 G4 m& c
  855. ; http://php.net/auto-detect-line-endings
    $ b+ E& e' \1 O; j7 E! o
  856. ;auto_detect_line_endings = Off% O8 y3 ~2 q5 B5 ~9 j6 F: e0 ]

  857. 5 x( v- R' Y- s! S1 C8 }
  858. ;;;;;;;;;;;;;;;;;;;;;;7 ^) ^. V; C, _( R5 y
  859. ; Dynamic Extensions ;7 e8 L2 N- S% A$ N, f2 S
  860. ;;;;;;;;;;;;;;;;;;;;;;) G) u. k& k7 H1 F4 l/ Z& ^
  861. : U; [. }( \7 Q. ^- {
  862. ; If you wish to have an extension loaded automatically, use the following& I0 s3 b: H3 U2 n' g1 C
  863. ; syntax:( _3 p; I+ P; i6 n8 A, X: @" p
  864. ;
    2 D3 |2 W' e  V& e3 [( ~6 w
  865. ;   extension=modulename.extension4 z6 G1 z* O9 E9 M- {7 c/ |8 _) {
  866. ;
    * T5 R, u5 t0 a6 A0 m3 W
  867. ; For example, on Windows:! B4 k7 r! [- M8 q/ Q
  868. ;
    7 K8 Z4 v$ z/ z* ]. R" h) J
  869. ;   extension=msql.dll5 s' F% {, n. t
  870. ;
    8 }6 _0 V1 }. J% [1 ?
  871. ; ... or under UNIX:
    8 n( t/ B; Z/ P- Z* \. }
  872. ;9 \0 B; V/ U8 P' x. j* A# t
  873. ;   extension=msql.so/ Q# U4 x/ ?* I. |8 R2 b; I
  874. ;
    , _7 f. X/ B4 F% V
  875. ; ... or with a path:$ M, @$ X- ^. v; |- X; [. i7 D
  876. ;
    " L+ L/ _4 O+ g+ h: M
  877. ;   extension=/path/to/extension/msql.so5 U7 Y: m8 u6 Z) X' d3 e
  878. ;8 W/ S1 q- A& N+ K8 H! b  D
  879. ; If you only provide the name of the extension, PHP will look for it in its
    , N5 ^. L) e1 l4 j, c: C* q9 d
  880. ; default extension directory.
    0 t# G# R  _# U9 u2 O
  881. ;) `- h4 X" j. d7 ~8 a) O. Z# y
  882. ; Windows Extensions
    ' x) p; z8 D: W8 m" w
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    6 }' K" V; M; d; w1 \) H
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    6 s$ ^* L& A0 D
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    % B( O  D3 x# I7 q/ u5 E. O
  886. ; Be sure to appropriately set the extension_dir directive.
    : X; V* j! N$ }& `$ F& e- |2 S
  887. ;
    - P4 P5 f% U  k. T) @2 W
  888. ;extension=php_bz2.dll
    ' W, q, J' b, c5 H/ H
  889. ;extension=php_curl.dll
    6 t; @# v9 {! Q: j0 f
  890. ;extension=php_fileinfo.dll: b8 s7 n1 |* R5 K* y& T
  891. ;extension=php_gd2.dll( K  x: I. l8 N' c
  892. ;extension=php_gettext.dll7 s) c9 Z. M8 E& F, C6 T
  893. ;extension=php_gmp.dll
    & R, N. G1 Y2 a9 N+ Q* n# \8 d4 F! D, r
  894. ;extension=php_intl.dll
    2 \( t1 B9 L8 Q- w, I7 }4 h  E, j
  895. ;extension=php_imap.dll
    3 K2 E- ]8 e" v/ C! E- f5 n3 h
  896. ;extension=php_interbase.dll# A: S5 {8 J# Q4 B
  897. ;extension=php_ldap.dll
    9 E. U7 ]1 S$ _" E
  898. ;extension=php_mbstring.dll3 s" R3 O6 q$ c- R8 U4 [( w
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it/ o5 @! H* |& ]5 T
  900. ;extension=php_mysql.dll" H- ^* Z8 ^- _7 q& j: A2 B
  901. ;extension=php_mysqli.dll( ]. h% A  U0 k' _" j! w
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    2 X3 o: _9 |) r! t
  903. ;extension=php_openssl.dll4 N+ x' X. h) d; C  t( c; K
  904. ;extension=php_pdo_firebird.dll+ ?# n1 _% Z9 _6 S! n$ A' [  p, E
  905. ;extension=php_pdo_mysql.dll) M% Q: ]6 Z; _: S3 V! g8 ^0 ^
  906. ;extension=php_pdo_oci.dll
    + r% \+ Z% h: |
  907. ;extension=php_pdo_odbc.dll* S* o! |  J& E& q
  908. ;extension=php_pdo_pgsql.dll
    7 a+ y% J) y, E$ }7 n& _2 Z
  909. ;extension=php_pdo_sqlite.dll# {7 s' W" E3 C4 N
  910. ;extension=php_pgsql.dll- a7 @  Z+ y. Z( U
  911. ;extension=php_shmop.dll
    + L! U* L5 T/ E

  912. 3 }, v, r# L2 ]5 f" f' j
  913. ; The MIBS data available in the PHP distribution must be installed.
    $ i1 y( F4 a6 x' F9 i7 J6 o
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    + n/ p4 G3 t* c! N- l
  915. ;extension=php_snmp.dll
    " X7 m: k# {  g* H

  916.   Y+ M8 L% s/ g& n
  917. ;extension=php_soap.dll
    ) z; b" ?- {/ E3 n2 l) k8 m; D* q
  918. ;extension=php_sockets.dll
    1 j5 A  M" z( Y) |4 @( ?% y0 Y
  919. ;extension=php_sqlite3.dll
    ' u) i. ~$ W9 o4 n
  920. ;extension=php_sybase_ct.dll
    % d, N  Z6 [4 A* y
  921. ;extension=php_tidy.dll# j2 X: y8 W/ `
  922. ;extension=php_xmlrpc.dll/ V3 P5 B# J- l; i& n3 d; D
  923. ;extension=php_xsl.dll. j" J; R; ~6 _
  924. $ g8 Z1 [) k/ m8 r: o
  925. ;;;;;;;;;;;;;;;;;;;4 M; X3 J, b. a& j; u) j3 U5 y
  926. ; Module Settings ;
    4 [4 N# Y/ e- k2 m4 `0 W
  927. ;;;;;;;;;;;;;;;;;;;
    ! z8 {. M! _$ F

  928.   H- V$ K  w4 {2 D- O8 ~9 w
  929. [CLI Server]$ B+ h  V& j8 w3 v
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    7 x+ t% X9 C; T: f; L
  931. cli_server.color = On
    3 m) c% b. j/ I( X" H) y9 M
  932. ! ~0 t4 t1 x' i) H
  933. [Date]/ X& S7 x5 ]: w8 o& g" V
  934. ; Defines the default timezone used by the date functions
    ' u6 G! \" j+ H
  935. ; http://php.net/date.timezone# J% ^5 a" u" d! g5 S' S
  936. date.timezone = PRC3 C* S; [( t8 x: w; a

  937. & _  K+ ?# n) h1 ~
  938. ; http://php.net/date.default-latitude1 m% c9 s) v$ W; ~2 I+ s
  939. ;date.default_latitude = 31.76674 W. h3 d9 d/ S) U& {6 }: c
  940. 4 ^4 r( x, C! m! s. |
  941. ; http://php.net/date.default-longitude/ V" R7 u2 o+ ^1 }- L+ j9 A$ M
  942. ;date.default_longitude = 35.2333- j) i  a0 x4 [. R3 Z1 X

  943. / M8 n( r5 e$ c2 K; W9 e
  944. ; http://php.net/date.sunrise-zenith
    ! N/ O" I2 G  G- e% f, J$ Q* y
  945. ;date.sunrise_zenith = 90.583333  z" x  d; _# @

  946. 3 o* P2 L2 K( l
  947. ; http://php.net/date.sunset-zenith2 d5 |' r0 y5 h) q) T
  948. ;date.sunset_zenith = 90.583333
    5 i" f1 h* t2 r

  949. 7 A& v: x2 \4 g( w1 ?+ @9 w- s* v) H
  950. [filter]
    ( {, P( Y) M; ?' y
  951. ; http://php.net/filter.default2 I+ K* a* P" ~& m- }/ \. a5 C
  952. ;filter.default = unsafe_raw
      r0 a/ E# x) h/ p1 d0 A4 V1 C7 |

  953. & ^( \' U" B. ^% m4 F% X
  954. ; http://php.net/filter.default-flags4 K8 k) k0 M5 ~" _6 i
  955. ;filter.default_flags =
    6 M! A! O6 T9 [1 ^* b
  956. 4 {0 e6 s+ i* \  s3 o
  957. [iconv]$ |  w! r! M1 H. {) s: H9 R
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.* X8 }# O1 S. c8 R
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    $ x3 i  N- e; V( l6 o* A( K# W
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding- ]! w" Q* L0 L- {! ^
  961. ;iconv.input_encoding =1 d/ m1 S: V& p

  962. # ^% L' c, x" I5 f1 H) J% E
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.4 o, ^# p. _! Q& G- r! U# V/ s
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ; D9 d4 O  i' h. h
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ) E1 f% g0 e: }$ a
  966. ;iconv.internal_encoding =
    - q; T7 h5 W, B4 W
  967. * S0 q- w1 U' r- m, j" F1 {
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    . J4 f; \  _- g/ p% k
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    - I1 U) K3 l3 Q  U3 b/ s
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding  i, p8 V% ?! W: X1 _4 A
  971. ; To use an output encoding conversion, iconv's output handler must be set. i  B0 G0 I. D& K, I% U
  972. ; otherwise output encoding conversion cannot be performed.
    3 i: v. p' L. {' V, }7 Y1 ^9 A
  973. ;iconv.output_encoding =/ n: V7 o- |2 s1 L1 `5 f2 S5 q9 X

  974. ' x; f) A1 F7 Y( d- a
  975. [intl]. A; \4 m) K5 w2 F  B+ o: @/ C" H
  976. ;intl.default_locale =( A: h8 D( g/ M9 R
  977. ; This directive allows you to produce PHP errors when some error0 [4 }2 s* e7 D, S$ F& [
  978. ; happens within intl functions. The value is the level of the error produced.
    : e' f, A+ W1 G& B) @
  979. ; Default is 0, which does not produce any errors.
    0 t' @3 a5 T2 P5 n( {' u
  980. ;intl.error_level = E_WARNING
    ! Y$ g! d. o% t3 x
  981. ;intl.use_exceptions = 0
    9 E0 T: u3 u6 ]
  982. ( m' W1 j8 e  R
  983. [sqlite3]+ F, v6 b, `$ @3 [
  984. ;sqlite3.extension_dir =
    9 ]/ z7 v, O0 u$ }" A, |; F- V

  985. & ?3 z0 S8 ^% h0 ~. C' k
  986. [Pcre]
    5 o8 y( r$ q5 b) E. K
  987. ;PCRE library backtracking limit.
    % k3 K& s5 W! A9 }
  988. ; http://php.net/pcre.backtrack-limit  e  u/ y0 s7 X$ b8 c* n8 f- e
  989. ;pcre.backtrack_limit=100000
    + N2 W! o! \* o) W

  990. ) F3 B! T9 ^7 G
  991. ;PCRE library recursion limit.
    ) {! J( y* {9 @, w4 x" h$ Q! C
  992. ;Please note that if you set this value to a high number you may consume all
    , a9 p) k- t  x2 I: S* ?% Z
  993. ;the available process stack and eventually crash PHP (due to reaching the4 W4 o( K7 B  J% d7 \, [
  994. ;stack size limit imposed by the Operating System)., }: _( f$ g, h  L& P! u2 g
  995. ; http://php.net/pcre.recursion-limit
    - `9 `; e( z- b8 X
  996. ;pcre.recursion_limit=100000
    0 d+ a. Y. h4 M8 Z
  997. ! b. d2 a) e( n7 v" t
  998. [Pdo]$ l+ V; n% q0 l4 u# u  E. }' H4 V$ h: _
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off". T" f7 C8 Q( y  |" U! j! P  ]
  1000. ; http://php.net/pdo-odbc.connection-pooling# O9 n. d) [4 f, t
  1001. ;pdo_odbc.connection_pooling=strict% q& s3 {5 M% H1 D* e& L

  1002. 2 y' x2 N6 Y3 M& H
  1003. ;pdo_odbc.db2_instance_name  f' v; m3 ]1 T5 Z5 n" ~
  1004. % q) w' K* W9 ]4 I1 S
  1005. [Pdo_mysql]
    - M. M% C! O2 A# j
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache) I$ D0 I  n  X
  1007. ; http://php.net/pdo_mysql.cache_size
    ( L, Q" v6 F! y) {) @% r# O
  1008. pdo_mysql.cache_size = 2000  {& d+ v( [) c# X

  1009. & T* w. _8 C) u  d2 h# p5 _
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in4 }% L4 D& f8 W  A) I3 X0 M: G
  1011. ; MySQL defaults.) m. I4 Q' W5 f: y" W0 b
  1012. ; http://php.net/pdo_mysql.default-socket
    % U: y3 O4 Q# ?7 u$ Z
  1013. pdo_mysql.default_socket=
    9 O5 M; a; s$ w) I& X2 C) T
  1014. ' x4 e7 _# R; r  j' |
  1015. [Phar]
    & A5 Q$ R7 y6 @0 J
  1016. ; http://php.net/phar.readonly
    8 n5 E+ K) V1 P+ I1 _
  1017. ;phar.readonly = On
    * N; K8 A& K% f4 M! T0 N1 w
  1018. ' h- O/ ?4 {# f5 y5 K
  1019. ; http://php.net/phar.require-hash4 \. N3 e7 G0 I* ?
  1020. ;phar.require_hash = On
    ( v2 R+ b3 Y' c: z: e
  1021. , Q  `, o" H  b8 R7 ?: X0 F0 f
  1022. ;phar.cache_list =9 d1 e# V+ }/ V
  1023. 2 H8 X: C; V7 C4 t6 f% Z
  1024. [mail function]- H9 K9 R8 y5 y% U# w4 V
  1025. ; For Win32 only.
    ! H3 ]2 f6 h' R/ ?
  1026. ; http://php.net/smtp
    4 p2 J) `% C: [' l% j9 T2 U( c
  1027. SMTP = localhost( O6 T$ C% u( T, ?# U* s
  1028. ; http://php.net/smtp-port) _8 m; g. ~8 `/ r: \( H# l
  1029. smtp_port = 253 ^' f6 b! Q- \+ Q" s0 X) E* n
  1030. ; T3 Y3 P6 i0 Z- y/ s% p
  1031. ; For Win32 only.
    0 _  m: f. I* X4 a8 n
  1032. ; http://php.net/sendmail-from8 I7 z; Q8 d0 \% P; v
  1033. ;sendmail_from = me@example.com' x* s5 g+ y9 o" r- H: X3 g3 u

  1034. & q! ?: R5 Y% O/ i* r1 s" c, j
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    # c/ g6 f1 X7 E! P1 F
  1036. ; http://php.net/sendmail-path
    ) D4 t' }/ \1 {0 s( ]
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    . B! |7 P: c7 X: H5 W$ N

  1038. " v3 L: [" O( h9 ^
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    4 H- b$ P6 o( x% W3 ~
  1040. ; to the sendmail binary. These parameters will always replace the value of( N: L. E. d$ [3 @# g1 P
  1041. ; the 5th parameter to mail().
    # w' M8 ^% r1 W4 j
  1042. ;mail.force_extra_parameters =
    ) j1 i  w3 w8 m/ L; W

  1043. 2 N- D3 n/ \# o1 L7 Z+ R& q
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    " C9 z/ U, L( b) F6 P1 j
  1045. mail.add_x_header = On
    ( ^: i( X  W) L% }. D& ^: s

  1046. 3 o1 q  B7 i+ D, O! Z7 `$ N
  1047. ; The path to a log file that will log all mail() calls. Log entries include  }- N* j  {8 [, t
  1048. ; the full path of the script, line number, To address and headers.
    - y- B+ \  h0 U/ t" a
  1049. ;mail.log =  @$ `7 [  P: T4 Q4 Z9 T: g  v
  1050. ; Log mail to syslog (Event Log on Windows).8 a! ~+ N+ `- R" d2 @# n
  1051. ;mail.log = syslog
    * l% \- Z) N* m' Q; f! P
  1052. - h7 _5 t! ]$ A5 X, {7 [0 f0 ?1 c
  1053. [SQL]
    0 m9 s2 {$ X# J/ Y1 Z( A
  1054. ; http://php.net/sql.safe-mode( C0 K5 }; u8 n; C  u% ~( K* m- M
  1055. sql.safe_mode = Off, |1 o4 V5 F& ]  b: R

  1056. ) [4 x: s4 G* M
  1057. [ODBC]
    / l3 ~  A2 h' ~2 j
  1058. ; http://php.net/odbc.default-db
    8 Z, y) q  D; l1 U$ ]7 `$ t1 A5 P  x
  1059. ;odbc.default_db    =  Not yet implemented/ V/ C8 c* Y* P: R. W! d
  1060. ! U, _+ {  U* w, R
  1061. ; http://php.net/odbc.default-user2 q! q; g9 a1 p9 ]1 r" n+ x4 c
  1062. ;odbc.default_user  =  Not yet implemented
    3 t1 G+ @& B  P, w) b' _, M

  1063. % L9 p2 b5 b5 O: K1 q! o
  1064. ; http://php.net/odbc.default-pw
    ) i6 Q5 L6 ]( h$ P3 l& i" @
  1065. ;odbc.default_pw    =  Not yet implemented, v! J9 R4 P) x1 J/ L2 p

  1066. * h$ g0 d% c5 M5 g
  1067. ; Controls the ODBC cursor model.
    ' x  [- l4 G5 [( \" _
  1068. ; Default: SQL_CURSOR_STATIC (default).
    8 _9 g% P0 F% Q5 t
  1069. ;odbc.default_cursortype
    . {) y, ^, A, F
  1070. . C7 C9 a. j! s1 H0 t; U+ R& Z
  1071. ; Allow or prevent persistent links.1 l$ @$ m3 X6 k& O
  1072. ; http://php.net/odbc.allow-persistent
      R7 w: v* v; j, a2 Q- f
  1073. odbc.allow_persistent = On- [8 y8 ]) }- ?3 n4 t

  1074. $ r4 O- p4 X  G% [# b2 B
  1075. ; Check that a connection is still valid before reuse.% }9 \7 R: l+ @4 A/ ]8 _( [
  1076. ; http://php.net/odbc.check-persistent  Q4 C/ f; N! x3 H" s
  1077. odbc.check_persistent = On
    & `( e1 k, x" U) [- V
  1078. + C9 B; w7 c8 n! C
  1079. ; Maximum number of persistent links.  -1 means no limit.
    7 N9 Y) c7 G0 j, a9 O$ x
  1080. ; http://php.net/odbc.max-persistent; U# F( Q) Q" k: X' e: Z0 a' }
  1081. odbc.max_persistent = -1
    9 c5 \% O# E( v, h5 O
  1082. " {; t5 n1 U7 X5 i3 ?
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 ]; E( c' j" [0 _* Y' R/ H2 a3 M
  1084. ; http://php.net/odbc.max-links7 k3 N0 ^( I+ {% M% W- N. Q
  1085. odbc.max_links = -1
    3 R% B6 G6 Y2 k. m3 W! Y$ {
  1086. " ^; d" v4 I7 z+ ^9 N
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ! }6 m! Q% q9 k4 S
  1088. ; passthru.# ]! a, u) ^' S8 R. n6 B
  1089. ; http://php.net/odbc.defaultlrl* U/ Q! C8 }. {& p
  1090. odbc.defaultlrl = 4096) ^! c7 Y5 q& j% D3 a. \- X/ y

  1091. 8 }: G: e4 U" X( _9 w
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.( n. f: ]- ]' F& x% {+ ?( y
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation5 q. [0 D* u9 |( n
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode& A. N( U: \' h
  1095. ; http://php.net/odbc.defaultbinmode" ?5 X5 z7 G8 x' K
  1096. odbc.defaultbinmode = 12 J5 j* e: `( T

  1097. : ?& w2 Z9 g! F) o0 J% o8 T* {+ G
  1098. ;birdstep.max_links = -1* Q2 {6 g4 i, f
  1099. ( \+ r0 e7 i# m& t
  1100. [Interbase]
    9 a$ n7 @) p) z1 W
  1101. ; Allow or prevent persistent links.
    ' ?% U3 _+ w9 a) G
  1102. ibase.allow_persistent = 1$ Y% J1 F: g( f
  1103. * e) P3 \2 X! C
  1104. ; Maximum number of persistent links.  -1 means no limit.
    0 }3 s% h  s3 ~/ ?
  1105. ibase.max_persistent = -1
    1 ?3 @! L: U4 q9 G" v
  1106. 5 Q- I; ~) T# R& d" _/ u- Y. N' ~
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.; `6 ~- {0 ^+ X7 ?% g3 q3 m
  1108. ibase.max_links = -1% {% ]# g0 ^5 u9 _: m0 e9 V' e

  1109. 0 I  Z7 q) k: Z! Q4 N% I% ?1 d
  1110. ; Default database name for ibase_connect().# O9 s! K% M! x7 N: J. T
  1111. ;ibase.default_db =  }$ U1 E$ [! S9 b1 Q7 X2 M5 c
  1112. , I; t) Y' [; _6 s
  1113. ; Default username for ibase_connect()." F1 w  B  [, ^) A& s  O# ^; v
  1114. ;ibase.default_user =  l: m( m* C/ H/ Y# z
  1115. * n) S( Z/ |& s8 k% J9 }
  1116. ; Default password for ibase_connect().: o% _* |7 T* J9 T! a
  1117. ;ibase.default_password =
    ; D, q4 t0 h4 G) y# L, Q! D
  1118. ; f  ]* \# k& W! n8 U3 E
  1119. ; Default charset for ibase_connect().2 b! H7 A) j. |" o% x9 N( m
  1120. ;ibase.default_charset =
    7 Y" V+ S" }4 ?: ^

  1121. * _% X5 t' t6 U& c% R7 |9 i
  1122. ; Default timestamp format.
    7 f0 W' _; |- X+ b; W, v
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"* E2 j* J. E5 _6 G: y# O

  1124.   \9 r' a1 V+ s! F, ^$ t0 G
  1125. ; Default date format.
    2 P: f& {" n7 K6 I# P- X' M+ B6 s
  1126. ibase.dateformat = "%Y-%m-%d"
    * e% v' U* h8 S

  1127. 4 y4 L2 q' ?# Z
  1128. ; Default time format.
    7 K  g" y' {' F3 o, ~2 ^
  1129. ibase.timeformat = "%H:%M:%S"
    4 f- u% k# v- m$ u5 C

  1130. 5 B% Q8 f8 ?, z4 @1 g* ^* G" g+ ^7 m
  1131. [MySQL]
    0 y! i  \# V, V+ B, I
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements  }* e; ]8 {2 v
  1133. ; http://php.net/mysql.allow_local_infile8 ~7 p8 B1 [6 d$ P
  1134. mysql.allow_local_infile = On/ `" B  O/ K9 I' @; A" x: q( a5 T

  1135. ! ~- X( b7 |) i& h
  1136. ; Allow or prevent persistent links.
    & l& q& \1 o: b$ k7 O
  1137. ; http://php.net/mysql.allow-persistent4 @1 Z, Q9 {! W
  1138. mysql.allow_persistent = On
    . u# o% U5 q* \, i3 _7 S

  1139. . E; G& L( k8 P5 X  G/ T3 y
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / q4 o# u8 e8 S$ x
  1141. ; http://php.net/mysql.cache_size
    : \2 }$ L* M; @
  1142. mysql.cache_size = 2000
    & M2 k( g5 K- s

  1143. . s" E$ y' e5 c& T/ ]
  1144. ; Maximum number of persistent links.  -1 means no limit.8 b3 N9 I2 }  k( z
  1145. ; http://php.net/mysql.max-persistent0 M$ @/ q6 {0 j1 g
  1146. mysql.max_persistent = -1' t+ `1 p, z% U$ y9 I! e

  1147. + b; `0 F( N+ A$ K% _
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    - i1 D' v+ K; G5 {. \% Y
  1149. ; http://php.net/mysql.max-links+ y5 S/ P* k5 ^* k
  1150. mysql.max_links = -10 F0 C7 b6 j4 l- y; X% U

  1151. ' o, V2 j: k  t) L2 s+ q3 Y
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    9 E" g  A, I7 I! v% m( z1 k& v
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    7 Y8 W, v! w4 X
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look, v5 g" [" s* H3 `7 H; W% D
  1155. ; at MYSQL_PORT.8 U1 t9 e6 t; q+ B
  1156. ; http://php.net/mysql.default-port
      ~- t* H! f0 v" S* {
  1157. mysql.default_port =" I- n0 G" ?& \) J( _4 @

  1158. 8 g% y6 {; d8 j8 _
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in& t( k5 R1 K1 b6 @
  1160. ; MySQL defaults.+ W) L/ @; b+ _9 u$ w' g
  1161. ; http://php.net/mysql.default-socket5 ?" l+ m. V( _3 ~2 c
  1162. mysql.default_socket =; d9 Q6 n7 g# u0 z( }  T& F9 \
  1163. ; u% `+ c; U2 n2 v6 k2 n: L
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    # C' d% t' |' m: H0 K6 `0 C- x
  1165. ; http://php.net/mysql.default-host* {8 R7 c. m5 v/ W) E5 g( O4 e! A
  1166. mysql.default_host =# K; D) |/ c  b6 C; [2 Q

  1167. 5 w% ^* }: B( P8 J+ N7 T: T
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).7 G0 A0 Y1 h8 d  w! R" H4 z
  1169. ; http://php.net/mysql.default-user/ P5 H! ?* k2 N& g
  1170. mysql.default_user =
    7 d( ^7 R# X2 _. M2 h4 J! R# j

  1171. % {% t# P' M* p8 ^& z
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    0 U1 I6 J" j# I2 ~. h) e
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    # E& t# K) R( ]
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    8 A, a8 a& k* S
  1175. ; and reveal this password!  And of course, any users with read access to this  N! P6 f* v) G' v6 M0 A  t
  1176. ; file will be able to reveal the password as well.
    ; Z9 K' H/ J7 ?/ n
  1177. ; http://php.net/mysql.default-password
    . [' R. ]( A% J2 Z. G) Q
  1178. mysql.default_password =+ F. W2 H( _- F) t+ G# x
  1179. " V3 m  u$ O$ g2 D
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    * @* h/ e9 @6 e: D' O- f2 t3 I
  1181. ; http://php.net/mysql.connect-timeout
    & n( k# D# C& A
  1182. mysql.connect_timeout = 60
    4 z) {9 A' ^. Y6 }
  1183. 1 H( E% E- p) x  b
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    & r4 m# K# @& k# y- i
  1185. ; SQL-Errors will be displayed.. h5 @7 }8 ~! p6 Q) F5 I
  1186. ; http://php.net/mysql.trace-mode4 W0 \# O+ v4 h$ v* |5 r. _
  1187. mysql.trace_mode = Off: V# f9 x. q9 R3 n% d; F

  1188. 1 s4 {* y) C1 x* {7 J
  1189. [MySQLi]
    $ {" {" T( r( L7 p( h/ V* Q* U

  1190. / O1 {0 l, d4 D$ p% B: @4 ^
  1191. ; Maximum number of persistent links.  -1 means no limit.; e6 j, f$ J7 P7 @5 F, s
  1192. ; http://php.net/mysqli.max-persistent
    6 e! ?8 Z! [% w( Z% t
  1193. mysqli.max_persistent = -1
    8 y& R2 W. u5 o& \+ O5 o# x

  1194. * o! ?- r3 H; c0 a$ W7 J
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    : F: k, J0 v1 ]4 {/ a- X
  1196. ; http://php.net/mysqli.allow_local_infile
    6 Y4 u4 v: C) N& D5 N6 i: ]
  1197. ;mysqli.allow_local_infile = On
    , c+ X% G* w9 m& Q# ^# C, x

  1198. 3 s8 T6 x% `2 A9 i, b
  1199. ; Allow or prevent persistent links.
    ) D$ ?& _* z# L# q9 v: P
  1200. ; http://php.net/mysqli.allow-persistent# i( Q" e3 }  [2 x9 R" N
  1201. mysqli.allow_persistent = On# w+ T: B% i$ y+ S; H

  1202. 2 b% N8 Z4 t6 a% I. o, E
  1203. ; Maximum number of links.  -1 means no limit.
    ) a1 b2 B1 l# h
  1204. ; http://php.net/mysqli.max-links) b  _: K) F8 a8 ~% q
  1205. mysqli.max_links = -1
    8 {5 d+ S: Y# g$ T7 ?5 S

  1206. : Z% c& C" O5 v5 _4 C
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache# E% I5 }9 @0 T+ @% f
  1208. ; http://php.net/mysqli.cache_size& [$ y+ l1 [& J
  1209. mysqli.cache_size = 2000
    + B* Y) N7 O1 V9 K1 ?3 _

  1210. 3 k6 o& a( I5 M# e8 b3 c- P/ n
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use/ y; \7 u+ n* t; u7 P: n, I
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the  Y- N, c; G1 U/ C+ k
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    & b# ^' I! }. ~6 h$ R- i
  1214. ; at MYSQL_PORT.
    , ~" |% W3 H6 {
  1215. ; http://php.net/mysqli.default-port' R  y& e2 T# r/ J2 w
  1216. mysqli.default_port = 3306: i- s) Q" e/ k1 P1 G- A* N
  1217. ' Z8 W" }8 X; G! B* \
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in" v9 B/ n- `. [7 m  g% |- g5 z- [
  1219. ; MySQL defaults.' d. g  l" Y/ q! v. Z, I6 C' C
  1220. ; http://php.net/mysqli.default-socket* r5 e' H. a4 q: O, N; P9 M& b  X+ r$ ]
  1221. mysqli.default_socket =
    $ V: x- s" F! J+ ^5 O* J

  1222. , h* T6 q. ]% j2 b* R  h
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).$ L* ~/ q8 K9 ~3 `. M
  1224. ; http://php.net/mysqli.default-host, n7 c' r" j( E+ g, H: E
  1225. mysqli.default_host =$ Y! \- E' L; i  [) b/ e

  1226. * K( P) r$ g: ^5 X* P7 w: _
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).! b! H. A% r5 q4 P5 `
  1228. ; http://php.net/mysqli.default-user
    8 R. O+ l& h6 |0 b
  1229. mysqli.default_user =" D# T3 B3 d% E

  1230. 3 _7 V3 f. C( z& K( h
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).8 R* j, F# N+ Z1 Q5 W6 N
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    ' L) Y# ^: m# V$ ^) v3 I& l8 D
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    4 G9 |% ^* _/ F. _( t: c
  1234. ; and reveal this password!  And of course, any users with read access to this
    & B& K3 N2 {0 g7 ?6 @, {. y
  1235. ; file will be able to reveal the password as well.
    : w: H1 B7 m2 _$ x
  1236. ; http://php.net/mysqli.default-pw5 z" z$ Z! w3 l$ c6 H$ l
  1237. mysqli.default_pw =& N2 J9 R/ a" `, Z$ q1 t

  1238. % H& ^* K; b! @) W5 ?* B
  1239. ; Allow or prevent reconnect: Z( o* A/ m+ ?6 C+ h& d
  1240. mysqli.reconnect = Off
    ( Y7 }, s2 }! J7 G
  1241. 6 C8 f. u; I2 Z( K. X6 l8 N" v
  1242. [mysqlnd]
    $ w! _4 Q3 H4 l  w2 C! K; Z
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be4 n7 h7 U0 c2 K
  1244. ; used to tune and monitor MySQL operations.! _" T6 G- C0 f. A8 A
  1245. ; http://php.net/mysqlnd.collect_statistics1 L3 r4 B  }$ P8 Q* }4 M
  1246. mysqlnd.collect_statistics = On
    / ]/ x1 g9 G  U4 V
  1247. 1 q' u0 d  F3 X
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be; O* ?& [/ o9 x/ j* P  \
  1249. ; used to tune and monitor MySQL operations.9 d2 Q6 [1 j) Y8 `9 D- P) R
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    , s; z3 b' k0 ~& l" |3 y
  1251. mysqlnd.collect_memory_statistics = Off+ ~" U) H- H  [8 D9 U6 g

  1252. ! K" N8 {1 {- n9 ?; W  U% q! z
  1253. ; Records communication from all extensions using mysqlnd to the specified log% H9 Z: I, B/ c3 K' _+ _
  1254. ; file.
    & z+ Q# \5 Y5 r8 F. K" ]) ?& E2 H
  1255. ; http://php.net/mysqlnd.debug
    " e! k4 h; H) r% N# G
  1256. ;mysqlnd.debug =# x1 H( h3 ]2 O5 a- G# c7 u

  1257. ( Q5 n2 T- e' r) f9 @/ I( Y
  1258. ; Defines which queries will be logged.
    : z6 q6 T$ _' ^7 i# h5 S. {
  1259. ; http://php.net/mysqlnd.log_mask
    ( N, n" W$ i# w) [8 j
  1260. ;mysqlnd.log_mask = 0- w0 J$ D0 g* w" i

  1261. ( e& s) X; v( N8 [$ u  @' `( w
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
      l5 p4 l/ j7 i* W+ w
  1263. ; http://php.net/mysqlnd.mempool_default_size
    4 I4 i$ ^) V7 H  \) R
  1264. ;mysqlnd.mempool_default_size = 16000
    / M+ a6 F0 T* S4 J4 L. B

  1265. 1 P6 B8 |8 c% C/ f# b8 D
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    5 u3 V, u5 ^) W; C, R
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    . `1 [8 _6 T! l( c1 w& h* p: c7 B
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    . i$ \$ x6 i+ V+ r
  1269. 7 D5 P8 q" W6 j! \
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
      L' |2 |+ t+ T) u) v
  1271. ; bytes." X) c' h9 O. e  D& s7 T1 ?- R6 I
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    . k2 D7 Y7 t% _2 I% z4 q
  1273. ;mysqlnd.net_read_buffer_size = 32768
    , ?$ K8 o  }5 d! j" Y. ]* X* w4 n
  1274. ( a; b' C" R9 [. X5 Z1 J6 w
  1275. ; Timeout for network requests in seconds.' j! `; D7 Y, j6 }( c3 @
  1276. ; http://php.net/mysqlnd.net_read_timeout
    8 e& i2 @$ P; O
  1277. ;mysqlnd.net_read_timeout = 31536000
    5 ]2 w, i. B9 w5 h

  1278. 8 A: F7 [2 e+ s# F" a& [# j
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA$ N9 Q& J! c4 O. ?1 F, v
  1280. ; key.
    6 {" h5 R" D, M0 K' x: Q+ B# v) ]
  1281. ; http://php.net/mysqlnd.sha256_server_public_key- R, C# I! a, o% F
  1282. ;mysqlnd.sha256_server_public_key =
    ( V4 O! Z( a4 }: ?
  1283. / E, F, g" i  i: x- a7 t5 n
  1284. [OCI8]) b1 B1 B9 K. T) \, P+ E" b

  1285. 2 v+ b. s% f8 I/ b0 U
  1286. ; Connection: Enables privileged connections using external
    1 M3 C5 }1 O5 C. \! N
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)5 Y4 a0 X+ l  n  q! G& t
  1288. ; http://php.net/oci8.privileged-connect$ W! \( ~" r6 ]$ E1 V9 A! X3 a, e; S
  1289. ;oci8.privileged_connect = Off
    : M$ X; r  g9 `$ L$ q) j9 {# V  `+ @

  1290. : a! C* {8 w9 w3 ~5 z. f$ t
  1291. ; Connection: The maximum number of persistent OCI8 connections per! x1 V) ~5 r3 l7 b" C
  1292. ; process. Using -1 means no limit.3 |4 @7 m1 g  v! L6 X1 h  o0 ~5 Q0 r
  1293. ; http://php.net/oci8.max-persistent  _' s  f8 G- Y. I7 _
  1294. ;oci8.max_persistent = -1* J3 A- z# p+ v- @# a
  1295. / x. J; M' T& p/ \* }
  1296. ; Connection: The maximum number of seconds a process is allowed to
    " r7 `4 c, K( v, y6 s
  1297. ; maintain an idle persistent connection. Using -1 means idle" J: _3 ]4 n- A5 j. m3 {  O% r" ~
  1298. ; persistent connections will be maintained forever.
    3 x8 X$ p' R! W" Q' B
  1299. ; http://php.net/oci8.persistent-timeout
    % Z6 G( r9 l/ b. M) W. m# }4 A) c
  1300. ;oci8.persistent_timeout = -1  ]* [' P- ~5 h. e  V- N
  1301. 5 b% X2 C' r  [% }
  1302. ; Connection: The number of seconds that must pass before issuing a  [1 N# v! |& l) S4 w
  1303. ; ping during oci_pconnect() to check the connection validity. When
    ( A) `  C) o8 x; D6 y/ ^+ B
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables: m9 G! z5 w2 F1 P. R" E+ Y: G  w
  1305. ; pings completely.
    2 ~9 X; B1 u; Z" K2 m2 N0 a
  1306. ; http://php.net/oci8.ping-interval1 v$ l( _$ O) p. o* A" A
  1307. ;oci8.ping_interval = 60$ b+ C3 n) {( e8 H9 A3 R0 P
  1308. 4 z  E3 S; k8 D7 [: p9 \2 Y; Z: O  R. @
  1309. ; Connection: Set this to a user chosen connection class to be used, U" @: R. D% u( L7 ~' \7 ?
  1310. ; for all pooled server requests with Oracle 11g Database Resident, b% d/ F) ~2 y7 r
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    8 R; o5 m3 S0 u$ \
  1312. ; the same string for all web servers running the same application,
    ) W) }$ J7 E& R+ x: ]! Z6 P; i* Z7 F
  1313. ; the database pool must be configured, and the connection string must2 K2 o+ q$ }/ f. |
  1314. ; specify to use a pooled server." d0 K2 q" X+ K8 a6 U
  1315. ;oci8.connection_class =
    1 e- [! T$ C8 p- c( z# s
  1316. 5 a) i3 ?7 \* B
  1317. ; High Availability: Using On lets PHP receive Fast Application
    7 j; \$ y6 _$ n3 n$ i) n
  1318. ; Notification (FAN) events generated when a database node fails. The
    / e! y  M- V2 B" P" U3 v. l: t
  1319. ; database must also be configured to post FAN events.& p+ w: j1 L, y8 `: v9 k
  1320. ;oci8.events = Off
    * j) D0 q$ i7 e- w! C! K9 @; D6 E+ r
  1321. & [: k( u1 t- n4 [$ k
  1322. ; Tuning: This option enables statement caching, and specifies how) u5 @. `8 p, Q; _/ p. f6 H
  1323. ; many statements to cache. Using 0 disables statement caching.
    + J2 I; {) X; A" T
  1324. ; http://php.net/oci8.statement-cache-size
    # B: e8 _; Y' i$ b+ N( Z, I
  1325. ;oci8.statement_cache_size = 20- @" j9 s5 o) v* a

  1326. 4 h7 S) b3 ~$ ^! q% W+ [# |# N
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    7 D6 {# V7 _) D% m! y4 U1 o) W/ |
  1328. ; rows that will be fetched automatically after statement execution.& U  l# G  }2 |% F  Z+ r4 t% \2 g
  1329. ; http://php.net/oci8.default-prefetch/ b0 a" k5 Z+ g6 i2 O+ r
  1330. ;oci8.default_prefetch = 100' \/ ~6 C* d4 \/ H7 H8 r
  1331. 2 ~" Z8 ^1 P: ?5 C
  1332. ; Compatibility. Using On means oci_close() will not close/ t- g/ J) T' a4 m
  1333. ; oci_connect() and oci_new_connect() connections.3 h$ f" k" j6 d* E+ }7 A
  1334. ; http://php.net/oci8.old-oci-close-semantics* {/ \+ h+ j* ?3 a
  1335. ;oci8.old_oci_close_semantics = Off! ~2 U* i8 g% _) ?$ @$ \

  1336. . O3 M7 H5 c/ p5 g
  1337. [PostgreSQL]
    2 s8 H. V8 A3 R$ E( S$ F: p& i
  1338. ; Allow or prevent persistent links.3 f0 l  X# j! r1 p: r# L
  1339. ; http://php.net/pgsql.allow-persistent: ?2 B* q/ n" T2 v! R( c! c6 F
  1340. pgsql.allow_persistent = On
    2 U; _; q5 S4 w/ N5 v

  1341. - f7 D  E4 `8 \1 E
  1342. ; Detect broken persistent links always with pg_pconnect().5 H! g. t+ L) g( w3 j
  1343. ; Auto reset feature requires a little overheads.; b/ v- u3 l2 J2 {* [
  1344. ; http://php.net/pgsql.auto-reset-persistent7 F1 @# i0 d5 r! l1 |, B2 m( D0 }
  1345. pgsql.auto_reset_persistent = Off" _! G$ Y, L. u' V$ N3 r
  1346. % m  V* p) \+ q
  1347. ; Maximum number of persistent links.  -1 means no limit.% b3 ]# r' V+ L$ u+ T
  1348. ; http://php.net/pgsql.max-persistent
    1 y/ V) a7 l9 Q: Q8 o" P2 p
  1349. pgsql.max_persistent = -1
    7 E' V8 V) v' M8 X5 F
  1350. ' C$ c1 M6 u9 C! r; ~6 n6 `
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.9 P4 z6 V8 }2 [/ g
  1352. ; http://php.net/pgsql.max-links
    ' \$ ~# K; R+ ~2 O, C, \
  1353. pgsql.max_links = -1
    + n% i& o6 y( [5 }+ V. ~

  1354. / Y( h& ?5 l, `  F& H$ r
  1355. ; Ignore PostgreSQL backends Notice message or not.+ {: E5 Q  @7 h
  1356. ; Notice message logging require a little overheads.
    $ r& B& n" j/ e, O) h" h; i
  1357. ; http://php.net/pgsql.ignore-notice7 m, E1 P. E( G# ~( }+ A
  1358. pgsql.ignore_notice = 0
    ) W! Q# Z& i" c) w' j5 S' Q
  1359. ( A3 J- [8 Z- ~6 C
  1360. ; Log PostgreSQL backends Notice message or not.2 Y6 q3 N) m+ o; X5 G" e: [# F
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ; I% ~; N$ b# d3 I' J: k# N! C1 t
  1362. ; http://php.net/pgsql.log-notice0 n% b; N) C+ ~) X4 }
  1363. pgsql.log_notice = 0
    4 @. u2 S" ]# ~  X4 r8 R. f! b

  1364. - q& h. E% n2 r& b/ x" v/ h- z
  1365. [Sybase-CT]# k# B: q' w& K/ v' p$ H
  1366. ; Allow or prevent persistent links.
    , _1 G1 n0 i% Q) n
  1367. ; http://php.net/sybct.allow-persistent
    7 P/ ~; V" J3 h* {
  1368. sybct.allow_persistent = On6 C' x9 c7 e! Z9 n/ {: b: g

  1369. / y4 [* l6 M6 W% Z: H" t$ b5 B
  1370. ; Maximum number of persistent links.  -1 means no limit.
    - C3 P5 D( @4 Z; K; T# Y6 J( h' F
  1371. ; http://php.net/sybct.max-persistent9 _& y8 t7 {" P7 B0 g; `
  1372. sybct.max_persistent = -1
    % Q( @! M; T! ?: i, H0 R4 @

  1373. " L% F; ^9 F2 s: M
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    / C& T, C! y2 \; s  v
  1375. ; http://php.net/sybct.max-links0 L: y- S; h3 n4 A
  1376. sybct.max_links = -1
    5 Y5 c* x1 Y0 P; l5 t" V

  1377. ( I" p; O$ D- I8 p
  1378. ; Minimum server message severity to display.
    6 Q/ E% i  z) a: a8 t
  1379. ; http://php.net/sybct.min-server-severity/ c3 i( J" {3 F0 L
  1380. sybct.min_server_severity = 10+ z' n9 K4 @, }9 x
  1381. + Q+ b+ j. p; [5 G) O
  1382. ; Minimum client message severity to display., b# y1 K8 g1 \  c
  1383. ; http://php.net/sybct.min-client-severity
    % {$ I- g) d4 I0 E" X3 K" x8 L
  1384. sybct.min_client_severity = 101 Q# n& K; Q1 O8 K1 y  d5 [
  1385. 6 n" V, e5 H4 n7 w: r. P7 U
  1386. ; Set per-context timeout
    ' E. y, u, P$ V6 s7 w" |1 p7 Z
  1387. ; http://php.net/sybct.timeout
      F7 ^( q0 C; d& `* C! j8 M9 L
  1388. ;sybct.timeout=, C2 X; q  ~/ r& q) P
  1389. 5 y' k- e3 }! _3 v. v( L
  1390. ;sybct.packet_size5 a3 J3 v1 [( b/ p( r& I- q
  1391. & g, R, }/ B+ d" n7 k
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    ! n" U$ ^$ k/ R; r9 f
  1393. ; Default: one minute
    0 t% s7 m9 o0 j7 {: `6 f7 l" y
  1394. ;sybct.login_timeout=
      C) _5 ?/ f( p$ E' N

  1395. 4 }. g5 V1 A  C2 O+ [: B; `
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.9 q5 |$ |' m$ v% _1 v
  1397. ; Default: none5 F' b0 ?* [8 u! ]4 F4 Y
  1398. ;sybct.hostname=* o3 x2 q) \' X5 H. d: [+ [8 w* W; E; d: |
  1399. * I4 `' i; z$ {+ X7 D
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".; L: C3 ~+ D8 f* z7 p& ~2 `7 ^
  1401. ; Default: 0! }& b# N3 z# e! Y$ z
  1402. ;sybct.deadlock_retry_count=
    7 X: [! L  u/ }& Z& V, J& P$ [& e# ]
  1403. 6 M3 ]8 a6 K! F4 u( V  ~
  1404. [bcmath]/ |3 ~$ b( K+ q$ J7 e$ c: J
  1405. ; Number of decimal digits for all bcmath functions.$ ~/ }8 z5 Z0 Y6 @" O
  1406. ; http://php.net/bcmath.scale5 k, K# O! u/ G+ f' v$ l2 ^4 f2 |
  1407. bcmath.scale = 09 u# _1 L  Z4 q4 O# E# ^
  1408. 7 N- [% l. p3 [3 [0 Q, C0 s9 y
  1409. [browscap]# q! p, e4 O. y3 U7 t$ E& A
  1410. ; http://php.net/browscap
    ) t5 g- E  M6 `: z3 `' L
  1411. ;browscap = extra/browscap.ini
    ' }0 V, G; x3 O
  1412. 5 h2 v# U. a$ \- H) T4 Y# J+ ^3 H
  1413. [Session]% ?" b: ?$ n' D; _  ]! z, A
  1414. ; Handler used to store/retrieve data.
    7 L8 w4 z$ ]0 U; o4 S
  1415. ; http://php.net/session.save-handler
    ! h4 ~" L7 @# }* A5 z. e
  1416. session.save_handler = files
    2 `2 V' U( c' ~' r3 u7 K# m) w/ j

  1417. ' F/ ^. A( [9 ^  L) Q
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    8 L# ]/ m; `- ^1 P' b
  1419. ; where data files are stored. Note: Windows users have to change this- ^5 A4 b; x# I9 o! v, B* g
  1420. ; variable in order to use PHP's session functions.
    5 ]) J# r6 N/ b
  1421. ;: c- U1 ]5 l3 Z$ V9 s* a% x
  1422. ; The path can be defined as:
    3 B. Y: X$ _, ]3 {/ Q! k4 a+ {
  1423. ;) g; D9 g' c1 ~2 w! d. v* i) o
  1424. ;     session.save_path = "N;/path"
    : Q- I+ Q5 K* `3 A1 w% v
  1425. ;5 O* K) L% J9 Z0 k) _- N
  1426. ; where N is an integer.  Instead of storing all the session files in9 K: i1 l8 V4 @* S6 y% d/ U
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    9 b& B3 t" B* u: s/ t
  1428. ; store the session data in those directories.  This is useful if, T. ^+ {5 J2 U0 l# O( C
  1429. ; your OS has problems with many files in one directory, and is3 D% `6 U, g) E3 r/ _0 d9 j
  1430. ; a more efficient layout for servers that handle many sessions., k* ~5 J$ S( n1 r  r- V5 j5 Q' Y
  1431. ;6 Y9 p" P6 Q! ]3 L2 B+ m
  1432. ; NOTE 1: PHP will not create this directory structure automatically.7 ?6 i' s! \, o5 A$ x( V# ^
  1433. ;         You can use the script in the ext/session dir for that purpose.$ q3 l- b5 p* N( f' ~, F
  1434. ; NOTE 2: See the section on garbage collection below if you choose to9 m. |" }( \1 G, H. x; h
  1435. ;         use subdirectories for session storage
    1 X4 }4 J! O7 i4 y" H
  1436. ;
    4 _7 N% n: [% ^9 e( h  r
  1437. ; The file storage module creates files using mode 600 by default.* G: F$ W. o: ?
  1438. ; You can change that by using
    # t! P, f1 B1 u" P1 k. x8 w
  1439. ;
    : H- @" V- b. I. }+ n8 i
  1440. ;     session.save_path = "N;MODE;/path"
    ; }+ N' {8 X, \9 M
  1441. ;
    + x+ ^+ R6 d- X# ^+ A* f
  1442. ; where MODE is the octal representation of the mode. Note that this
    $ g. _* T! v! ?
  1443. ; does not overwrite the process's umask.
    , ^; w: f4 T$ L5 s1 E
  1444. ; http://php.net/session.save-path
    ! H2 d& m- a# \0 m# n
  1445. ;session.save_path = "/tmp"
    % y7 V. K6 V; P& d

  1446. * j; d9 n: [$ ^" s. m& x
  1447. ; Whether to use strict session mode.
    1 P  i5 _; A5 I+ E, ]
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    2 y. i; ~% K" i+ K* ]. H! w6 F0 `
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects$ w8 s+ s" E' `' K' L' j
  1450. ; applications from session fixation via session adoption vulnerability. It is
    / t9 e7 ?/ P/ E& x: \* M/ e
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.! U7 Q# w6 U- |9 J# J9 y  S- H, i- D
  1452. ; https://wiki.php.net/rfc/strict_sessions
    4 d# e& \# @+ m, K  o7 e" a
  1453. session.use_strict_mode = 08 K- t8 r8 O* |+ a$ A, }1 k

  1454.   H. s6 G6 Q& L( m7 K; p* t
  1455. ; Whether to use cookies.
    0 E1 H! M+ @2 Q. z( {1 ]- g/ D% X2 X
  1456. ; http://php.net/session.use-cookies
    % G8 O' o7 h  ~, i1 y' Q
  1457. session.use_cookies = 1
    ( l4 T/ d: P9 [+ A/ K" d1 j
  1458. 2 o) j& H6 ]6 A! z1 w7 y/ e- l! K
  1459. ; http://php.net/session.cookie-secure
    ) O" @( H- b$ N  P* y- ~. Z$ I1 n5 j
  1460. ;session.cookie_secure =
    ; A' n+ l- g) @8 l

  1461. 4 A) I* D$ i1 w2 r% Z
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    8 d2 ?* T+ v5 b
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    7 P4 r% E/ {+ T3 T- _( h% J9 c7 u
  1464. ; session hijacking when not specifying and managing your own session id. It is7 V8 E/ T: C: i: u; r: H! F& m
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    2 y; B4 |4 x- Y) u( M0 b- d) W: I
  1466. ; http://php.net/session.use-only-cookies
    . T6 G' S7 N0 Q; v8 f- B0 F
  1467. session.use_only_cookies = 1
    ! l1 |4 g9 A0 [! }

  1468. 3 `9 K+ \( w' k( e4 w8 G8 }
  1469. ; Name of the session (used as cookie name).
    ' F+ C1 G! z  @
  1470. ; http://php.net/session.name! q3 q7 \3 T& `& ~
  1471. session.name = PHPSESSID
    8 V, u1 C, [+ M, I- @8 m" Q

  1472. . N1 ~% q: G6 n! k0 K$ C6 v
  1473. ; Initialize session on request startup.
    " j' n* A5 w7 _2 y) Y/ |
  1474. ; http://php.net/session.auto-start
    4 L3 J1 Y* n) V
  1475. session.auto_start = 0
    " Q/ B& B# Q& `6 m+ o6 V
  1476. ! G3 X6 o6 l: [! Q
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    6 B3 e4 P7 @8 u: ^( \( d" B2 V
  1478. ; http://php.net/session.cookie-lifetime
    " j% H6 r: x" ]- G- f0 H
  1479. session.cookie_lifetime = 0/ t& C, {. `  T* e$ b

  1480. 6 @5 e4 ~0 {* _7 d1 n9 \
  1481. ; The path for which the cookie is valid.3 C1 e- O9 ]8 I8 ^! ?
  1482. ; http://php.net/session.cookie-path
    ) n* X4 t* P9 u) A
  1483. session.cookie_path = /# y. z( m$ ~  }: @: S

  1484. : B8 L  Z* a+ ^% V) v# x3 a
  1485. ; The domain for which the cookie is valid.
    5 @; a) H6 O8 Z% J) J
  1486. ; http://php.net/session.cookie-domain0 G: Y% ?3 ?5 M# u0 H! j% Q6 \
  1487. session.cookie_domain =
    5 M; o/ Y2 o" s& I8 E- b

  1488. 1 ^' x  X! u. q* L
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    6 V/ \  i: U) o, l3 e% p: W+ [
  1490. ; http://php.net/session.cookie-httponly+ D; k& H: w# u7 F+ u& y
  1491. session.cookie_httponly =
    4 ~! v  z" n7 X: T
  1492. " j6 m" I; g9 X
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.+ {" E7 V, d; h% x" {. s' x) T
  1494. ; http://php.net/session.serialize-handler) m; t1 a% x; W, e( c& ~; _% ^, @
  1495. session.serialize_handler = php6 C- ^0 l$ [( Z( ?9 ]
  1496. $ j8 u# d+ p7 J; F: k% {
  1497. ; Defines the probability that the 'garbage collection' process is started$ D% p# m2 P/ F; [/ n) K( O5 \
  1498. ; on every session initialization. The probability is calculated by using
    / Q* C" \* u  |" b% v- K* ]* ?
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    9 ?+ x1 G$ H8 h; R" q
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1$ Z& u% q; G$ [' V
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance5 N9 l* q7 a$ `7 y% l6 J  Q
  1502. ; the gc will run on any give request.- ~, O8 a. w" `; g
  1503. ; Default Value: 1
    . Z" c4 K8 B3 e
  1504. ; Development Value: 1! d+ j' h8 K, @: J" J  c. P. C
  1505. ; Production Value: 1& I' d, h' F. m
  1506. ; http://php.net/session.gc-probability! r1 Y- Z" @# q3 u  P7 H, \
  1507. session.gc_probability = 1
    / S( ^. M. n, [3 E( ^& q

  1508. 5 i: `7 C& `0 I4 z! _8 ?1 {
  1509. ; Defines the probability that the 'garbage collection' process is started on every1 C, t9 o! x) S, u$ X
  1510. ; session initialization. The probability is calculated by using the following equation:) |) h# W% z" t4 r4 ?
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and) _& G; y" E. @5 _9 l
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    - a' E) w5 g# [# g
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    * M2 w# E9 y0 z& j. E  m
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you, W7 [  N7 E! b1 ]
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    1 E) m8 G* a- M$ M: @
  1516. ; this is a more efficient approach.2 i8 K2 }7 a' {9 O  t
  1517. ; Default Value: 100
    ; j, ^( k6 Y0 e  e/ L
  1518. ; Development Value: 1000
    ( J9 n( E$ z* p1 L; q) b
  1519. ; Production Value: 1000
    $ j9 f& `2 H, k3 ~* T- `, s. \
  1520. ; http://php.net/session.gc-divisor
    $ Z$ h$ \: j9 t4 m9 ^
  1521. session.gc_divisor = 1000
    ! a" E+ N7 |# t2 h1 G! Q8 Q1 m1 l
  1522. : |, M4 B) j8 B5 y
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    $ y  r$ @- `0 Z) \
  1524. ; cleaned up by the garbage collection process.$ o% I) t4 p. V+ G
  1525. ; http://php.net/session.gc-maxlifetime& H* y$ j, {$ g
  1526. session.gc_maxlifetime = 1440, h5 S( v/ y3 _% `; X
  1527. 8 Y( E1 y2 P, ^% R" h4 g+ z1 N: t
  1528. ; NOTE: If you are using the subdirectory option for storing session files% w) E6 O+ P0 L  V9 M2 S6 n
  1529. ;       (see session.save_path above), then garbage collection does *not*
    8 \; ]/ V! s, e, B
  1530. ;       happen automatically.  You will need to do your own garbage8 v( a6 l3 I1 L2 q, h
  1531. ;       collection through a shell script, cron entry, or some other method.
    : n' E3 A' V: U* M0 x; G# c
  1532. ;       For example, the following script would is the equivalent of0 m1 {- x. U% i  N
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):1 {- S4 M# O& t" S
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    1 }  {- d) X( F1 ?
  1535. 2 c# `+ z. S/ `" `8 |2 o
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.6 z) E: f! W6 a! U& p
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    1 o5 \! e; M9 B/ G  R
  1538. ; considered as valid.
    ' [( v- i9 R, u' S1 |4 z& Z# L. Y. R2 m
  1539. ; http://php.net/session.referer-check
    $ n1 _& J" B6 S  v* `$ R. D. g
  1540. session.referer_check =
    + j: g/ `, @" z% G
  1541.   K) P: \/ c5 H; @  f( E% \
  1542. ; How many bytes to read from the file.; d8 R- H, h4 S& P  Y) ?! f
  1543. ; http://php.net/session.entropy-length" J- \& [0 _! C1 Z; ?" c: W
  1544. ;session.entropy_length = 32
    ' c$ |, M7 ^. C
  1545. / Y# I  T5 _3 E( t5 T
  1546. ; Specified here to create the session id.
    # |5 O0 j+ w* o( X' y$ ]
  1547. ; http://php.net/session.entropy-file  i( Q5 x4 v5 @. `
  1548. ; Defaults to /dev/urandom
    9 ^( m, l! V2 `( a
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom- ^* L! R7 N6 T/ {" Z
  1550. ; If neither are found at compile time, the default is no entropy file.: a' a1 v( L0 d. r% D
  1551. ; On windows, setting the entropy_length setting will activate the# D. j. _1 @. J  ~
  1552. ; Windows random source (using the CryptoAPI)( N+ b  j1 G8 L( g
  1553. ;session.entropy_file = /dev/urandom
    - s! _: ~5 b, F

  1554. 6 z& ^. s3 h, K2 ?6 d9 ?
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects/ G) N9 A8 v" t, X
  1556. ; or leave this empty to avoid sending anti-caching headers.
    % O* X) C" t" T! `, J' ~- S  U
  1557. ; http://php.net/session.cache-limiter
    # y& M. o; I! Y# i4 k; k
  1558. session.cache_limiter = nocache; l# Y* \* A$ R/ K) p
  1559. . l( y0 r0 q5 K1 C/ V
  1560. ; Document expires after n minutes.
    6 |/ ]( i4 ?. C4 y4 _4 R& q- o
  1561. ; http://php.net/session.cache-expire  u. n6 C& q6 d* ?% {
  1562. session.cache_expire = 180; x1 @9 c$ O, [6 D! t
  1563. $ `( M* m/ a3 W$ Y( n
  1564. ; trans sid support is disabled by default.  N0 ?* q7 G( U( [3 v3 B4 `& ~, c. n
  1565. ; Use of trans sid may risk your users' security./ Y9 I( [; M# V: b4 N! P) l1 X& |
  1566. ; Use this option with caution.
    2 s2 q; s6 M9 p. O. l+ w+ G
  1567. ; - User may send URL contains active session ID
    - s2 }! `  w# a: e4 \
  1568. ;   to other person via. email/irc/etc.
    . H! G8 ^1 [! `" L! l  G
  1569. ; - URL that contains active session ID may be stored
    9 p. M  o/ b" k0 N8 |1 }
  1570. ;   in publicly accessible computer.
    3 P& j  K% }" D5 r; Q( h
  1571. ; - User may access your site with the same session ID8 G$ h" h2 ^: l6 b
  1572. ;   always using URL stored in browser's history or bookmarks.
    3 I8 ]5 s2 u/ u4 \  B) D# F
  1573. ; http://php.net/session.use-trans-sid
    , `- |' C1 Q4 |) ?/ W, l1 Q
  1574. session.use_trans_sid = 09 z9 S0 B$ H; N* G: K" z' m

  1575. % ~7 ?, C. g1 e9 Z: r3 {+ F) w' `  n
  1576. ; Select a hash function for use in generating session ids.; q+ y' F7 ^9 [% c+ H
  1577. ; Possible Values  Q0 c& X+ l* g8 N9 R9 h
  1578. ;   0  (MD5 128 bits); H6 T. Y% n  e0 J) e3 X2 I
  1579. ;   1  (SHA-1 160 bits)* |2 g& b6 U8 o7 ?. H4 n; V% d" p8 l
  1580. ; This option may also be set to the name of any hash function supported by
    " z7 s8 O/ Q- w. ?* U" u8 a) w) `
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    5 ]: Y) H( J7 G# d9 }
  1582. ; function.# p9 ^4 E9 p" {/ [4 ~5 e0 M$ n+ \
  1583. ; http://php.net/session.hash-function7 U9 [7 L" e) ]7 ^9 L1 ]/ k  G6 s
  1584. session.hash_function = 0
    : o* g/ e; t: j/ V

  1585. 1 _' @! z. U# R9 `- ~' M2 }& U0 [
  1586. ; Define how many bits are stored in each character when converting$ X. M) m4 s1 q7 h
  1587. ; the binary hash data to something readable.
    ( B" t; o5 X- D% s
  1588. ; Possible values:
    / `* V- V% o. }, u+ z/ G
  1589. ;   4  (4 bits: 0-9, a-f)0 u& z( v$ {. I2 W
  1590. ;   5  (5 bits: 0-9, a-v)$ U0 `, \: e8 e2 _
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    * ^$ u( Y4 {) x% O' l  D9 {
  1592. ; Default Value: 4  L( u9 S. o  w( D4 P2 h5 C% F& R' b- h
  1593. ; Development Value: 5
    8 ^6 s+ o- Z& g* O
  1594. ; Production Value: 5
    0 L; e9 K# b1 U9 Z. J" p5 D8 o0 c5 q
  1595. ; http://php.net/session.hash-bits-per-character
    1 n8 T& A1 i3 Z+ c9 h, R, U
  1596. session.hash_bits_per_character = 5
    # A3 Z# f  B5 h# h# O- Q0 \- W

  1597. ! M: j4 o+ C0 A+ H8 Z" R. c# \
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ' {6 F7 e, h9 I9 Y: L9 A9 p3 o" p
  1599. ; form/fieldset are special; if you include them here, the rewriter will" T  b/ j; J: \$ H4 Y( p' M8 W/ a
  1600. ; add a hidden <input> field with the info which is otherwise appended5 p6 r. _. Z3 T+ S
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.9 R7 q' q8 G8 z- i+ ~: S. u2 D
  1602. ; Note that all valid entries require a "=", even if no value follows.: H# g' W6 ]8 J  b
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="6 M0 {: [% b" }( T2 f7 s% V
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ h5 j0 e: J. I  x% [1 j# s
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 T: ~  G. c+ n7 a% \
  1606. ; http://php.net/url-rewriter.tags
    8 O: W! q3 C" c9 \' p# n: z: v
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
      a- j4 j7 ~& _; {9 j

  1608. 9 Y7 ]) |/ Q  W8 g3 Z9 p8 Q% S, c
  1609. ; Enable upload progress tracking in $_SESSION
    * H+ h: d, j- }
  1610. ; Default Value: On
    - u& T9 ]& X+ G" |' I
  1611. ; Development Value: On
    4 b$ g) x" y3 _1 l2 g5 T0 ?3 f7 ~9 C
  1612. ; Production Value: On
    ( e; u9 X! \( z% y4 B
  1613. ; http://php.net/session.upload-progress.enabled% }; K/ d# h# _
  1614. ;session.upload_progress.enabled = On
    ' _/ Q9 @9 \$ j- e4 j, E) X
  1615. : {4 i& W0 s7 k/ d
  1616. ; Cleanup the progress information as soon as all POST data has been read; \  \7 t) C6 l% `; \% X
  1617. ; (i.e. upload completed).
    3 Z% B9 R* X, d8 L% }
  1618. ; Default Value: On3 F3 c) m4 P* K, \' D
  1619. ; Development Value: On
    3 a; A9 e$ o( Z. q. v
  1620. ; Production Value: On
    9 ~( J" N5 q2 _6 ]# G9 ]4 C
  1621. ; http://php.net/session.upload-progress.cleanup
    4 Z6 w! F, O' c( f# s+ B
  1622. ;session.upload_progress.cleanup = On- ]. D5 b2 Y3 F! O

  1623. $ ~" q: T+ C& o
  1624. ; A prefix used for the upload progress key in $_SESSION
    4 S% m/ C4 R1 x* g
  1625. ; Default Value: "upload_progress_"
    8 G6 n9 ~$ A6 a" V9 Y
  1626. ; Development Value: "upload_progress_"
    3 P0 t; _' _& X, y
  1627. ; Production Value: "upload_progress_"# k; g1 W7 I* S! U3 B
  1628. ; http://php.net/session.upload-progress.prefix1 Z7 r4 |* X8 i4 Y( r* @, ]
  1629. ;session.upload_progress.prefix = "upload_progress_"9 d( N/ @* f- S/ _$ _; F
  1630. 9 ]* G7 E/ n2 Y
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    8 K) P, Y3 j3 [! j/ y; G
  1632. ; containing the upload progress information
    ) S- U; v" ]( H. u& u3 G+ E! P
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"3 P9 V6 u# _  f: E( w
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"  C; u' S* Y1 {' I* c4 ^+ s
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 _" R' b& q. P4 Q+ j
  1636. ; http://php.net/session.upload-progress.name
    , R% M$ o0 u! g9 d% P, a; a
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ! b* {  p5 F$ Y: C
  1638. # l( c! p/ b0 c& @
  1639. ; How frequently the upload progress should be updated.
    6 w& M; R( S# d4 L& U9 Q/ _
  1640. ; Given either in percentages (per-file), or in bytes
    $ G+ {/ Z, z* ]+ |$ l; M- p0 p
  1641. ; Default Value: "1%"$ J% W, Q2 `2 L
  1642. ; Development Value: "1%"3 q# S0 @7 @8 k7 u, ?
  1643. ; Production Value: "1%"+ h* U/ g2 q$ |: G2 z
  1644. ; http://php.net/session.upload-progress.freq
    1 I4 @5 D( G4 h
  1645. ;session.upload_progress.freq =  "1%"
    # L* c$ G, {( l2 m0 O
  1646. / j1 Z# I. Y3 {4 u9 U
  1647. ; The minimum delay between updates, in seconds3 E9 S) h; @& m4 }3 M, R  e. Q- l
  1648. ; Default Value: 1) W: c. p% W- A9 y" f% t4 W
  1649. ; Development Value: 1
    ; [3 |: E! n- z9 i" n( \
  1650. ; Production Value: 1
    0 m* x/ t" T" b" x! f0 X, D/ B4 X% G
  1651. ; http://php.net/session.upload-progress.min-freq- e. B/ X2 i, V; C: `% `
  1652. ;session.upload_progress.min_freq = "1"; \" Q9 [& [, S, z9 {6 _- u

  1653. 5 P: o# x3 {) s5 X  f& Y
  1654. [MSSQL]
    ; q& m& W1 e1 G3 A; `3 a+ b
  1655. ; Allow or prevent persistent links.
      Q: Z7 R7 N# d
  1656. mssql.allow_persistent = On
    , w1 }& U( b& A
  1657. . n6 I" q  R# F" C
  1658. ; Maximum number of persistent links.  -1 means no limit.+ ~6 P. `1 |! N3 P; ^: K) i, K  D. O
  1659. mssql.max_persistent = -1
    1 s0 U% P3 b, F8 D* ]9 p8 {9 l" y
  1660. : [- K% E9 J/ V' f6 M- `. C8 T
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    # t: c8 T+ S+ @! w
  1662. mssql.max_links = -1: p0 ?8 @8 X8 V
  1663. 4 F$ J# y+ h1 T2 p9 D1 @6 ^' N9 f
  1664. ; Minimum error severity to display.- F5 R0 G; u+ q- h4 z) p
  1665. mssql.min_error_severity = 10: d6 [! D* F3 U1 ?2 R6 Z1 ]

  1666. . J+ n$ k, b: M9 B% u/ v5 E- `
  1667. ; Minimum message severity to display.1 }1 V3 U2 N7 m) H% x
  1668. mssql.min_message_severity = 10
    ( \3 J8 {2 ~+ D

  1669. ' l9 f! W, c1 B" f
  1670. ; Compatibility mode with old versions of PHP 3.0.8 `. q& U! f: K% v
  1671. mssql.compatibility_mode = Off' z/ R4 F# P2 ~  g
  1672. * _# i8 L3 R. Z" m
  1673. ; Connect timeout% m& e! N1 y4 u' b
  1674. ;mssql.connect_timeout = 5
    1 z, S: d8 ]0 Y: t8 g6 \

  1675. ; j% i& k, P8 I! y- t( v
  1676. ; Query timeout7 l5 d2 I1 D! ~* R" K
  1677. ;mssql.timeout = 60( L, `* F0 Z& \$ l9 M
  1678. 5 w  f* U7 p7 ]5 t1 [* X: u
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    , Y* g+ m8 Y% [1 o
  1680. ;mssql.textlimit = 4096
    8 n2 f1 n4 {) @' ]% i

  1681. 3 r" D- n* o  c! Y
  1682. ; Valid range 0 - 2147483647.  Default = 4096.0 V- _/ H& V( Z; W2 O' u" j7 n
  1683. ;mssql.textsize = 4096
    ) U; `, P; e" L4 Y' E$ `

  1684. : O/ N5 q9 i9 H$ y
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    : Z# B! P& b+ j7 c4 K! Q
  1686. ;mssql.batchsize = 0) w( @3 a) l4 u/ C  K8 |2 [5 E3 n/ e

  1687. * l2 T! l9 ^  f+ D- _. N5 [
  1688. ; Specify how datetime and datetim4 columns are returned
    6 f' m8 n; H, H2 H
  1689. ; On => Returns data converted to SQL server settings
    - g) U; ^# \: ]5 t! o' b6 y; x
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    , Y' g: p6 Z& W7 a0 o
  1691. ;mssql.datetimeconvert = On2 z: Y, _( V2 M2 t9 q+ B9 y

  1692. - [0 C$ ^- o6 m9 x5 }8 g  ~) ^! Z8 O! D
  1693. ; Use NT authentication when connecting to the server- b8 R& _" k4 ?8 p5 R; W% D
  1694. mssql.secure_connection = Off% B  n& t' q& H4 v
  1695. 7 k; g5 X' W9 P  F, Q
  1696. ; Specify max number of processes. -1 = library default! S. {. y% R+ T2 j( H4 }6 ?# V
  1697. ; msdlib defaults to 25
    , S5 g" A) _, |3 v' \0 J
  1698. ; FreeTDS defaults to 4096$ |* Y, d/ N6 g7 _( T# v# {& G
  1699. ;mssql.max_procs = -10 z' B$ i, M0 G; N# P
  1700. ) h- f% x# m# n4 o: E9 b2 x
  1701. ; Specify client character set./ [9 a! V5 D3 g
  1702. ; If empty or not set the client charset from freetds.conf is used
    6 p6 f1 ?; Y# U; t3 T1 I0 `5 d
  1703. ; This is only used when compiled with FreeTDS. A. o% o( T% y" a6 Y+ y
  1704. ;mssql.charset = "ISO-8859-1"
    , d! i, o0 `! I# o
  1705. 4 W2 ~& C3 ?+ H9 W
  1706. [Assertion]; c/ H* b9 c4 k# g
  1707. ; Assert(expr); active by default.1 N5 A" D& a) ^8 ^7 u% @
  1708. ; http://php.net/assert.active
    ' T& J6 {. A6 m1 r: F' G: i
  1709. ;assert.active = On
    5 I7 C5 v( h) V' Q4 I6 u
  1710. 3 b9 {( l% q% r. e
  1711. ; Issue a PHP warning for each failed assertion.. e: V1 \' G7 B& x9 K
  1712. ; http://php.net/assert.warning3 j6 t' W2 v& _, U  U
  1713. ;assert.warning = On
    2 ^5 u$ r3 T( o8 f3 f& k4 k

  1714. : D  A( R( O4 k* T$ ~& \
  1715. ; Don't bail out by default.+ N2 K/ g9 G) H3 b5 K  |: E
  1716. ; http://php.net/assert.bail1 N3 o/ \' [- Z! }0 T3 R2 k
  1717. ;assert.bail = Off( H* ]' _+ V/ ~! ]' V

  1718. 5 `* ^8 L) t7 c
  1719. ; User-function to be called if an assertion fails.
    2 Y# t0 y* G% R, d
  1720. ; http://php.net/assert.callback; T& r8 _2 c: ^- h7 `2 a0 _" i
  1721. ;assert.callback = 0
    6 ~- b; w- a! a- `: U5 t& D

  1722.   c8 H& P. Z+ |
  1723. ; Eval the expression with current error_reporting().  Set to true if you want8 y+ {7 d4 a: k: j& z
  1724. ; error_reporting(0) around the eval().1 E1 W2 ?: L& h
  1725. ; http://php.net/assert.quiet-eval
    7 {. a9 e0 a' G2 z4 g
  1726. ;assert.quiet_eval = 0
    5 e' Q9 J+ B6 y

  1727. * b  E. s2 C8 C$ Z; I: q
  1728. [COM]4 g, X& T/ ?& J! B+ W8 \  n
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    . u0 V% q$ V6 c; n5 [- W
  1730. ; http://php.net/com.typelib-file$ Y# m( D) D* n& }
  1731. ;com.typelib_file =5 s+ |4 [+ j. V7 i7 F+ k" S; F

  1732. & I. p$ u! m& t9 S8 L6 M6 j
  1733. ; allow Distributed-COM calls
    ) k+ D- t2 o$ o- m" ]( J2 ^
  1734. ; http://php.net/com.allow-dcom5 Y( m) i4 i+ b5 T
  1735. ;com.allow_dcom = true
    ; k% \" T/ [' M* ?5 T9 Y
  1736.   w5 m" d6 R* r  `
  1737. ; autoregister constants of a components typlib on com_load()6 N& b) K' i7 L, C- q. s
  1738. ; http://php.net/com.autoregister-typelib0 E4 c. [0 E/ e6 T0 ?* O
  1739. ;com.autoregister_typelib = true
    ; K# N' d: l0 @1 r8 u4 a5 j/ K
  1740. 8 K9 i" g; i" J; \% B3 G1 A
  1741. ; register constants casesensitive. s- g  ~9 E& u: a2 h$ |
  1742. ; http://php.net/com.autoregister-casesensitive
    5 j# d* X' l# C3 \
  1743. ;com.autoregister_casesensitive = false
    9 J# r9 `: t& z/ d, `

  1744. " Q/ U6 c" C9 Y# S% ], A
  1745. ; show warnings on duplicate constant registrations. D+ A* l  t( ^. V" w
  1746. ; http://php.net/com.autoregister-verbose
    ! H) Q( k2 F5 T0 h- b; o
  1747. ;com.autoregister_verbose = true
    & F; ]2 |" ?# i

  1748. . w4 d8 j3 b" e: U
  1749. ; The default character set code-page to use when passing strings to and from COM objects.' H' E6 U2 _  X0 e/ b
  1750. ; Default: system ANSI code page
    $ a" ^9 B' X5 O' n& \" ]2 z
  1751. ;com.code_page=& a2 r% {9 H! f( n( S+ `

  1752. 9 ~+ G4 e6 J4 e; P
  1753. [mbstring]
    8 s/ L9 Y6 U4 d5 e6 F  z5 k' I
  1754. ; language for internal character representation.
    ; T3 t: T7 {7 t& [. X0 F$ O  Q
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.4 c+ P" u8 t9 V) q% E) S
  1756. ; http://php.net/mbstring.language$ M* [0 ?9 Y7 y  G+ }. w
  1757. ;mbstring.language = Japanese( U: i" F. m# l3 W
  1758. 2 z  ~! Q8 i% D( l% A
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    2 N2 Q1 [0 M" ~* b6 G
  1760. ; internal/script encoding.
    + s5 @3 S2 o# v( e; b3 u
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ) N) Z+ k4 F* ^  }3 M' t
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.# \2 I! U3 w$ a% e- L6 O7 p2 E% h
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    / o2 M+ S* P! P5 Y
  1764. ;mbstring.internal_encoding =
    8 F3 Z3 ~/ L5 f( Z
  1765. ( J( H" K% H' t( a2 A8 Q8 u+ C
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.! f  F* N+ |/ O1 t" p
  1767. ; http input encoding.( }; ^, b# k( L' V
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.' z5 T8 _9 i# Z# b4 V# \
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.0 H0 H& y0 e# B6 d6 d: k
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input9 N# w" s' Q) y. q( n" f; k0 K0 ]# q
  1771. ; http://php.net/mbstring.http-input( P& |9 X( v  p% j( S; @' P$ u
  1772. ;mbstring.http_input =
    & I+ ^9 b, a: B3 `6 c

  1773. % k6 H6 B) ~9 s$ V2 h! Z5 M5 ~
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    0 P& {& z5 y" }+ \/ N
  1775. ; http output encoding.& S; k- X) \: j9 C& g1 [2 P+ B: w6 r" \  ]
  1776. ; mb_output_handler must be registered as output buffer to function.
    ; P7 a- v# r9 l
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.2 L/ S* R3 V5 D% E' V
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output5 b) v7 F+ j1 b1 [2 @2 ^' d: ?' d  w& `
  1779. ; To use an output encoding conversion, mbstring's output handler must be set1 A+ h5 M( ~. N+ Z  v2 h" T5 K) Y
  1780. ; otherwise output encoding conversion cannot be performed.; s0 ~8 S# ~  V# ^8 |- p' e
  1781. ; http://php.net/mbstring.http-output7 t/ C/ M) K/ G; l8 |' [" o* p
  1782. ;mbstring.http_output =1 e. n' P( ^8 c* I0 \: `4 c
  1783. 7 t" W8 h! ?& S7 b
  1784. ; enable automatic encoding translation according to4 d( q0 N* M* e2 Y, G! f6 ~4 K5 M
  1785. ; mbstring.internal_encoding setting. Input chars are
    ; _* Z1 v6 ^7 g6 I0 `9 r$ s
  1786. ; converted to internal encoding by setting this to On.
    6 I( d- S$ i/ O
  1787. ; Note: Do _not_ use automatic encoding translation for3 H0 @7 _+ ?1 t+ x
  1788. ;       portable libs/applications.
    # }0 i/ x; z/ G$ D0 e
  1789. ; http://php.net/mbstring.encoding-translation* S" k5 Z0 v( r/ J
  1790. ;mbstring.encoding_translation = Off
    + E- P; x' C% ~: `
  1791. , ]; w, }; T  G8 X% b( T
  1792. ; automatic encoding detection order.
    ' ?, [" t4 L0 B1 M
  1793. ; "auto" detect order is changed according to mbstring.language
    # [. Z9 Z' v$ h- g0 z
  1794. ; http://php.net/mbstring.detect-order
    : X+ \5 b' t& w8 o- m
  1795. ;mbstring.detect_order = auto6 [5 g* r! [) ?' w
  1796. : Y) S. F- X- G# K) J% z
  1797. ; substitute_character used when character cannot be converted6 E) {1 r+ x8 j: v
  1798. ; one from another1 g* ]0 d. L  s* E
  1799. ; http://php.net/mbstring.substitute-character
    4 M) A- n/ W, F! K. Y1 j
  1800. ;mbstring.substitute_character = none+ ~# y0 ~7 @' a) H! _5 i

  1801. 3 [3 C. F7 a- f3 s& c7 ^* J
  1802. ; overload(replace) single byte functions by mbstring functions.' ~' S$ K# h8 g  e
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),! V9 g6 }1 B! m9 C) U0 t+ w/ D
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    3 C* \* z+ B5 z5 s( P
  1805. ; For example, 7 for overload everything.8 W& l2 b& T5 Q% g
  1806. ; 0: No overload$ |  k% l1 ~! T# J( L$ c2 f
  1807. ; 1: Overload mail() function
    1 W/ Y. o/ y7 L$ {  Z
  1808. ; 2: Overload str*() functions8 v2 q% `/ w/ m7 J; i' M  B8 s9 p/ B. _
  1809. ; 4: Overload ereg*() functions
    * e) V! X$ i7 M' H
  1810. ; http://php.net/mbstring.func-overload
    0 E6 E3 T! C4 V, o; \
  1811. ;mbstring.func_overload = 0
    : U( c3 w7 t+ _+ z) V

  1812. % l- X" B; |$ v/ U! J
  1813. ; enable strict encoding detection.' l6 z# S+ S# G( ?$ g
  1814. ; Default: Off" W- O/ H1 S" I3 h4 G
  1815. ;mbstring.strict_detection = On$ L8 a% q7 Y7 T) C3 O

  1816. 5 _# g& e6 q, q# E" n% ]' q( c
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ; V, K1 M: t# t0 }
  1818. ; is activated.' j1 d' H2 c2 L* a: Y1 U
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)! m% K6 d% ?( Y4 L5 ~3 v5 a
  1820. ;mbstring.http_output_conv_mimetype=
    0 X5 ^" `$ h6 g9 i# a
  1821. 9 [/ [6 X( y( u+ H5 n8 e
  1822. [gd]$ P7 N9 S" F- h/ h2 r7 t
  1823. ; Tell the jpeg decode to ignore warnings and try to create3 Y3 n# Z5 ~& ?0 H2 a  F- o
  1824. ; a gd image. The warning will then be displayed as notices
    6 }3 s3 ?. c5 `* ~0 [* f% ~
  1825. ; disabled by default3 i" B4 s. k2 h0 l8 b0 C( V% N
  1826. ; http://php.net/gd.jpeg-ignore-warning$ H) d  D! m9 D$ Q' K$ l6 D
  1827. ;gd.jpeg_ignore_warning = 0$ T2 f. Q4 i; A$ x5 W

  1828. 8 v+ c3 I" ?8 {+ v4 U
  1829. [exif]
    , b1 E4 g2 d( b* |7 z" n" g
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    + ]5 }! m9 J# D5 L  p4 \1 i
  1831. ; With mbstring support this will automatically be converted into the encoding
    ' l& m, N9 [$ h
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ( f) W1 l5 D9 A+ E% `
  1833. ; is used. For the decode settings you can distinguish between motorola and' F  H. ]! H5 e, K0 p8 r6 B9 K
  1834. ; intel byte order. A decode setting cannot be empty.
    9 O7 `. M" [- ?0 j- H( I. J8 F3 u
  1835. ; http://php.net/exif.encode-unicode
    ; Q4 v; m. p: r& F9 A! N% b# J4 b
  1836. ;exif.encode_unicode = ISO-8859-15# q0 @  j3 n8 T

  1837. & t$ ?! F) M: }! w. F- ^
  1838. ; http://php.net/exif.decode-unicode-motorola
    9 P" [. `7 B8 |
  1839. ;exif.decode_unicode_motorola = UCS-2BE' N3 Q' Y/ S  ~, \4 j* b8 E
  1840. 5 A" c2 [5 y+ Y% e
  1841. ; http://php.net/exif.decode-unicode-intel) n* K6 a& t9 K% W4 e9 c( I
  1842. ;exif.decode_unicode_intel    = UCS-2LE
      s! l" x3 x; @
  1843. ( b: D) [. n. B
  1844. ; http://php.net/exif.encode-jis$ v2 h6 Q7 F& B3 ~+ a
  1845. ;exif.encode_jis =
    ; [, N2 I# m4 U9 q9 b" ?: B
  1846. & }) `/ R* f& O; \5 |1 D# T, j
  1847. ; http://php.net/exif.decode-jis-motorola
    3 U9 i4 T* u4 Y* q- r1 S
  1848. ;exif.decode_jis_motorola = JIS( n- @6 D7 b2 X7 H% [# m

  1849. & c* v9 h) L. \2 Y
  1850. ; http://php.net/exif.decode-jis-intel, [( T- {- k6 d4 S( K9 q. B7 U
  1851. ;exif.decode_jis_intel    = JIS2 U. D3 c& J  M
  1852. ; Y: y  d- {" [0 v+ w( `, a4 d
  1853. [Tidy]# w; r3 M5 [9 `2 O9 M
  1854. ; The path to a default tidy configuration file to use when using tidy: ~2 ?2 b9 z0 L3 ]1 T
  1855. ; http://php.net/tidy.default-config& Z, [, a2 H- {
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg. Z9 \+ M9 q/ M5 @4 f+ v
  1857. % v8 X4 X9 q& T/ m
  1858. ; Should tidy clean and repair output automatically?
    7 ^8 c' M( }8 t! ~5 }
  1859. ; WARNING: Do not use this option if you are generating non-html content' ?& p$ B+ F# F3 E9 d0 `
  1860. ; such as dynamic images, l* h2 r* \0 z8 X( S# f
  1861. ; http://php.net/tidy.clean-output. `2 s  f. o7 e  a1 W4 N/ \
  1862. tidy.clean_output = Off' i. e( o/ n% |) c8 S" T. c4 |4 r

  1863. ) b6 G: E( N' K# k* Y4 ~
  1864. [soap]
    7 t, z0 t  \) E2 P2 s
  1865. ; Enables or disables WSDL caching feature.. B- V' r' l# k5 g, g) N
  1866. ; http://php.net/soap.wsdl-cache-enabled
    " e. v1 q! n" P
  1867. soap.wsdl_cache_enabled=15 M) O" ?: _! ~5 t; I7 t( M* a

  1868. $ U2 x) I" V: _7 i& v: k
  1869. ; Sets the directory name where SOAP extension will put cache files.) n" E4 a" W; \2 J. O5 B
  1870. ; http://php.net/soap.wsdl-cache-dir
    ; ~- w' _. B- A3 F% D
  1871. soap.wsdl_cache_dir="/tmp"
    / ]' G: X( u% r  b& y3 {* e

  1872. 4 e1 l2 {3 G$ X' j- j
  1873. ; (time to live) Sets the number of second while cached file will be used
    & Q3 T; ^- Q& P% e  J! c3 ]
  1874. ; instead of original one.
    4 t5 L2 n4 H7 [* y' \* ]
  1875. ; http://php.net/soap.wsdl-cache-ttl. c; f" I+ }3 |% _4 H' P: Z# |
  1876. soap.wsdl_cache_ttl=864002 ~$ G+ u5 |! a/ O
  1877. - X- c0 D2 O1 f1 Q* s% {7 ^
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)) p# w9 v* I. D: ^$ F7 T
  1879. soap.wsdl_cache_limit = 5  i6 `1 u' v. j2 m4 T" ~% B0 V. d
  1880. 5 ?: }) g& M9 |& i! \5 o
  1881. [sysvshm]8 W( F5 M. H; w8 J( L/ [9 r% T
  1882. ; A default size of the shared memory segment5 ], J5 M7 f/ a
  1883. ;sysvshm.init_mem = 10000  c: y8 f9 ]* w' Z

  1884. ! J" r3 G; m$ }* T- L8 g- d) R
  1885. [ldap]4 _5 M; J. ^: {  y' s8 g- g3 Z( f
  1886. ; Sets the maximum number of open links or -1 for unlimited.5 a$ @/ @# L& [8 R4 r. t# \$ |
  1887. ldap.max_links = -15 f& P0 q4 \. W' S% }7 D6 ^# z% N0 @

  1888. ( g/ C* {0 `7 ?0 e3 z
  1889. [mcrypt]
    # ]2 g. n) X' a7 o
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    % b& x) F; O$ z* L0 d

  1891. 0 i1 @2 r0 t7 A) k
  1892. ; Directory where to load mcrypt algorithms
    : ~: f0 I4 w" Z
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    1 k, C# C' e8 ~6 `; S7 [
  1894. ;mcrypt.algorithms_dir=" P5 I: W0 Y7 }5 U
  1895. ) [4 A! S: \( x, z3 |$ Y! a; D4 R
  1896. ; Directory where to load mcrypt modes* E% g9 R* G. ^/ f( F
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt), k7 I4 V0 }# k% N1 a
  1898. ;mcrypt.modes_dir=
    $ c9 A2 J. I$ |9 L) X1 P' ~
  1899. 3 X% F0 B' p" W, J- h; F5 X. g
  1900. [dba]
    ! N& G$ G* s( {
  1901. ;dba.default_handler=
    ; l9 i0 R2 y3 g! r2 O# U

  1902. + L7 A+ I. m; m. P6 u
  1903. [opcache]
    4 E" ^7 F, I  t( _; \% m% P
  1904. ; Determines if Zend OPCache is enabled' E" J6 v- H" z% i. M/ Z( N
  1905. ;opcache.enable=0
      c- N% I, {. z1 r  R
  1906. " J, g1 G; M" u4 H3 v/ H
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP: {  u+ x  }2 n. h7 D" B" T
  1908. ;opcache.enable_cli=0- k2 x* N+ u3 M  s7 i7 w
  1909. ! f& |( L! H( ]
  1910. ; The OPcache shared memory storage size.* `( e) N' Y# Z( J8 _+ |" t
  1911. ;opcache.memory_consumption=64- M/ ?9 b. e; E8 u, t

  1912. ) r' t9 h+ ~9 U2 p- L6 B" n
  1913. ; The amount of memory for interned strings in Mbytes.9 j3 G3 m: \8 K! {5 D- D
  1914. ;opcache.interned_strings_buffer=4) b- ]7 R0 C, t- {, ]  b6 u" a. [

  1915. 6 F0 l& m1 X0 l. g, V  x
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    " Y: r5 C3 s4 U2 I
  1917. ; Only numbers between 200 and 100000 are allowed.
    ; W6 p$ v* [' h6 n: J- Q
  1918. ;opcache.max_accelerated_files=20002 \  Z8 ?, X' C0 Y& F# I8 z7 C
  1919. 1 w' e: ?2 {8 o
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.2 K4 z0 I1 p/ |  y
  1921. ;opcache.max_wasted_percentage=56 M: f3 \" z# [# m9 x3 ~5 {& L
  1922. * Z8 y7 ?8 L$ I& d+ w
  1923. ; When this directive is enabled, the OPcache appends the current working2 g3 M3 ^/ z9 u- e4 b
  1924. ; directory to the script key, thus eliminating possible collisions between
    + q) a$ B0 V) h" M5 Q6 e; K+ I
  1925. ; files with the same name (basename). Disabling the directive improves
    " T/ \) q. i4 N5 J# ?  {- m
  1926. ; performance, but may break existing applications.
    ) H, Y- n& Z, x  S- _( H
  1927. ;opcache.use_cwd=1
    # m: I3 x* E% K% z

  1928. / A; D/ o! n2 U0 @: E
  1929. ; When disabled, you must reset the OPcache manually or restart the
    8 L# Q. R5 [. }7 G
  1930. ; webserver for changes to the filesystem to take effect.3 f. H! q# w% L  g* P; R
  1931. ;opcache.validate_timestamps=1
    ' W$ ^$ ^3 T8 C( J

  1932. # t8 _. h4 M& F$ _! X) m( n
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    4 f! B5 g  o4 L/ Q9 a- I$ f
  1934. ; memory storage allocation. ("1" means validate once per second, but only3 p* @# j- s) g* Z0 M5 P, R
  1935. ; once per request. "0" means always validate)
    1 o" y0 S- B, B) ]/ s" q7 W9 G
  1936. ;opcache.revalidate_freq=2( J/ Q% K; A: R5 g
  1937. . k+ q7 r" E6 l' l# q8 m
  1938. ; Enables or disables file search in include_path optimization/ t: Q8 e. R- ]9 S+ |
  1939. ;opcache.revalidate_path=0
    9 @9 Y/ j  k# K+ N7 ~. ]

  1940. 4 F5 B; N, t: e6 {
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the5 N8 i! R/ m6 [
  1942. ; size of the optimized code.+ ]6 Q7 J6 `9 N9 t2 @0 o5 N, O
  1943. ;opcache.save_comments=1
    6 U) [$ l. X' I/ m; t0 _8 L
  1944. , Y/ H' Q/ T: p
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    ) [; x+ n4 k8 Y* i
  1946. ; may be always stored (save_comments=1), but not loaded by applications$ I/ }) n/ g3 }: X* X
  1947. ; that don't need them anyway.
    ) L) H; r; p. L, Q$ ^0 A
  1948. ;opcache.load_comments=15 j. X; G9 t, }7 j
  1949. + S0 i# g7 [* j8 M* e. d
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code, \+ @- ^( B  F4 ?5 k* e/ i
  1951. ;opcache.fast_shutdown=00 |) Q1 y2 D6 ^' u( J

  1952. 6 F2 A4 ?0 p7 ^  E% T( r
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    ) I; m% ?: ^. h8 A: N9 Q
  1954. ;opcache.enable_file_override=0, g3 U5 ~8 {: H- u
  1955. " z8 n/ F# ?/ Q$ P' N) s# J- Q6 l  D! S
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    6 N% R& b! @# F0 l3 Q4 A
  1957. ; passes0 a, p: ?4 ~' j. x& H
  1958. ;opcache.optimization_level=0xffffffff
    ! l& @* \9 N; N4 L. ~# M8 e
  1959. 1 o7 C3 W7 \' T1 J3 a+ n
  1960. ;opcache.inherited_hack=1
    / z+ \# z/ Y" o1 e4 k+ x9 r
  1961. ;opcache.dups_fix=0
    ) C2 I& |  t  v' j7 \2 B) y- i

  1962. - |/ D0 T  y2 ]# l0 v
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    ! k, t, J7 m6 Y% n) A- J9 H
  1964. ; Each OPcache blacklist file is a text file that holds the names of files1 ^. D& |( M+ h
  1965. ; that should not be accelerated. The file format is to add each filename0 u: |- F/ ^6 B2 y# o% _) q
  1966. ; to a new line. The filename may be a full path or just a file prefix, i" Q% u8 k' W& r9 o
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ! T: X8 f: I& `8 D* T$ N! T- _
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    % v: x- a7 g5 Q" V: q; V: [( s
  1969. ;opcache.blacklist_filename=
    1 c; }2 P7 r8 t* C8 Z' c& m4 _# m
  1970. 8 k" `' \0 c  h& [) d8 r
  1971. ; Allows exclusion of large files from being cached. By default all files* `0 r5 `: b/ J+ W( Z
  1972. ; are cached.
    ( K9 [; l! `0 G" e5 V+ t1 X
  1973. ;opcache.max_file_size=0
    , u' E2 s' w$ W! c  Y; a$ o8 f
  1974. % X2 a2 k; q- }
  1975. ; Check the cache checksum each N requests.
    7 q& l5 w$ O* j' l: \, @5 \; y
  1976. ; The default value of "0" means that the checks are disabled.% ~- n% |* Y9 S
  1977. ;opcache.consistency_checks=00 U! s8 ~4 ~9 y. H; \, H% _
  1978. . S+ ^( z0 G$ h% x0 s- J9 G
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache( R/ i9 z6 d: R9 x2 e/ |
  1980. ; is not being accessed.
    ' o" X1 D: }, C/ X0 G: r/ v8 j, h
  1981. ;opcache.force_restart_timeout=1809 ~7 H6 c( @4 c! p. r
  1982. 1 ]: F, |( f( q  r) r' Q6 q" I  g
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    2 E& S" Z1 z0 U/ M+ c
  1984. ;opcache.error_log=
    3 G4 x6 Z3 e9 d" V, O4 q- V9 ~
  1985. , ]) J9 }5 g6 C5 Z
  1986. ; All OPcache errors go to the Web server log.
    6 J5 R3 a/ a0 v7 O* i0 M# z" S
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.$ l# z$ K8 a* w- ]
  1988. ; You can also enable warnings (level 2), info messages (level 3) or$ W" H/ Q7 \+ _/ E
  1989. ; debug messages (level 4).
    . j5 M! \3 Z, K
  1990. ;opcache.log_verbosity_level=15 Q5 f0 i. I, l3 W4 ?

  1991. 8 G; m/ ^( i8 r0 r8 O4 `& R0 j
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    8 [2 F' k+ }6 l1 D; o
  1993. ;opcache.preferred_memory_model=
    0 z% @: q# {$ o( C1 L

  1994. & a# X: X7 j" K0 s* @6 S
  1995. ; Protect the shared memory from unexpected writing during script execution.+ y  z) Z0 h% L2 S5 l/ B
  1996. ; Useful for internal debugging only.0 `! X: c: E5 L& o
  1997. ;opcache.protect_memory=0! }+ n) a& x5 u. |5 R' p
  1998. 8 b; F* k  |, _* w
  1999. ; Validate cached file permissions.* g- _+ ~/ x+ M8 N
  2000. ; opcache.validate_permission=0
    3 A1 G8 @; y% r# k# I; n7 m7 @
  2001. & W7 e9 y! Y+ `- i. g. }( V
  2002. ; Prevent name collisions in chroot'ed environment.
      X# x/ l, V+ d; p9 u9 X- Y. X/ B7 D9 i
  2003. ; opcache.validate_root=0+ Y# f- e+ ^& P8 s0 p8 s# S

  2004. : o! ^: l4 h- K- F4 m0 I# I7 E
  2005. [curl]
    2 v- X$ S+ d  g5 ^* t9 O
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    5 \$ ~1 L+ x* c
  2007. ; absolute path.
    ' G0 @0 F: a0 u, M
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt, K1 u" d2 a  D. N
  2009. / R4 ?9 v1 s0 f
  2010. [openssl]
    . a1 p  x8 n/ h0 O- R! A
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    8 E7 M% B& G. Z9 A" t% O( [# i% K
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    3 R- s: f2 C; }( n" X+ t# s: Q
  2013. ; not specify a value for this directive as PHP will attempt to use the; k! T- V, a+ q
  2014. ; OS-managed cert stores in its absence. If specified, this value may still9 O: f$ G1 S' T5 j" h/ a
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context* n; W2 M. w; ?8 j- E
  2016. ; option.
    * H& l9 p$ |! C0 {
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    / e$ E" g5 f- c2 K# K4 C1 z$ b4 h

  2018. 9 T5 ?* z  r2 q
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    3 e2 C  O6 [7 s3 d
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    5 I# z2 \" x" I% W; z
  2021. ; certificate. This value must be a correctly hashed certificate directory.: M3 z/ b1 w" E
  2022. ; Most users should not specify a value for this directive as PHP will* B% F- ]* C* j2 \5 j7 \
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,# Y$ x7 ^8 V; B5 N! D: P! h! U2 r
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    " o0 u! L; Y% A% D6 w1 C8 I  v
  2025. ; SSL stream context option.
    $ r! I! k4 F# @+ s
  2026. ;openssl.capath=/ @- p3 i6 J$ `. E, ]
  2027. 8 Q1 w8 O: Q8 C; J( W
  2028. ; Local Variables:: j' D4 s) C- P4 ^* G  N" C, I
  2029. ; tab-width: 4+ F0 Z8 R- G" \$ ]9 r6 |9 C
  2030. ; End:' q1 d" X$ d5 N. M, T, A: }. X

  2031. + c" t5 e: e& O' e0 M
  2032. ;eaccelerator( S0 W/ _6 r1 y: ?
  2033. - }1 O$ k1 O0 \& Z" P: x6 T  l
  2034. ;ionCube2 Z! _1 h: u/ Z& f1 ^+ d2 B

  2035. ( R/ b) h. |9 L: A3 v( p
  2036. ;opcache
    ; B9 K- [' I# Y; o& [% P$ O4 P

  2037.   X: m  D9 u  L" |+ |0 k, G
  2038. [Zend ZendGuard Loader]0 g" h+ G7 U6 g% l6 g
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    : A9 f5 X  O' q4 F. k
  2040. zend_loader.enable=1
    - Z. X1 o) P6 `  h) u$ d1 [
  2041. zend_loader.disable_licensing=0
    0 K5 p5 N, e, H9 j+ Y2 U5 Q. R; g
  2042. zend_loader.obfuscation_level_support=3) J$ X0 b0 i1 Z) s: A
  2043. zend_loader.license_path=
    # U5 k, L& J! x3 H3 ?/ E( S* M3 g
  2044. 3 k. ^1 m% I% D: {3 D* i0 [
  2045. ;xcache
    ! `; G0 p4 O5 N

  2046. # r/ P0 T$ S! [- p8 n
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
- }5 @2 w- A1 n" B! f( t0 B5 ]  P1 S: O+ b- r) X
+ c+ l: ?8 q+ D/ F0 z9 M
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
* U; d1 ~& c5 M6 X0 E, e! r" c* b+ H: H# p& e
Discuz!程序版本选择:; h" A0 U: k9 X! \. y! I
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
( @2 r/ E  `9 G' F& F  T. r) w不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
7 T9 ^* }/ F. T- s4 ZDiscuz!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。: l# q1 V' F3 C! q) T; w& U5 i1 ~

$ U: ]* n8 A) E( oDiscuz!插件模板版本选择:1 g% @' O: b) v
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,, v7 J1 A' i3 O* H; ?
针对这个问题做个统一的普及:
& B6 v! P6 Z0 Q/ E* }X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。' `7 b2 w2 `+ b$ l" @$ w, Q) L

2 p4 a! z: Y; |; q所以& O2 D* |1 C6 K! k( E0 r' H3 D
适合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的二级域名。
0 H( n$ X/ s$ ~: K/ S: j* ^& g: I' T打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
6 W/ D  `- ^. x: K& p9 T; g注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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