分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0  G; }6 x3 x% {. r8 Z
! b. c5 c7 A- H8 J) T* ^0 u
  1. [PHP]% F: _* s" u- ?
  2. 1 S7 L& J4 E" r& l) }
  3. ;;;;;;;;;;;;;;;;;;;
    # l4 s  S1 M# ~+ L6 d
  4. ; About php.ini   ;$ R9 R* V+ Z8 ^/ A# d
  5. ;;;;;;;;;;;;;;;;;;;
      ~) [+ ^/ F; B# L" Y' F4 W7 j
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    & \+ E: r( [( h: Y% b" e
  7. ; configuring many of the aspects of PHP's behavior.  R4 i. K1 O  d9 P
  8. " q- @3 M3 A; C3 p" i5 N( L# V
  9. ; PHP attempts to find and load this configuration from a number of locations.
    / j0 Y+ ?; X% T5 Y
  10. ; The following is a summary of its search order:
    + G6 }5 d7 m) a( z8 ?  [& C! D7 e
  11. ; 1. SAPI module specific location.% ~: i. `5 p$ O) b3 S
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    : ^+ ?& h# p$ U' A
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ) e& O. E% c5 Y! n3 E
  14. ; 4. Current working directory (except CLI)6 J" C8 u  K8 b9 x: j5 X) b8 r' G* u6 N
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP4 a0 N6 u* V; b. s$ Q3 Q7 r
  16. ; (otherwise in Windows). Y& F. p1 ^0 l" ]! K
  17. ; 6. The directory from the --with-config-file-path compile time option, or the8 i! P0 ]/ E9 d1 f" \' k
  18. ; Windows directory (C:\windows or C:\winnt)& M( G% ^1 l: b
  19. ; See the PHP docs for more specific information.
    " t% N" E6 i9 f3 y. C
  20. ; http://php.net/configuration.file: f. {7 ?; N6 M8 I" W; Y
  21. 3 B$ k' }# \1 f* s( ~' |
  22. ; The syntax of the file is extremely simple.  Whitespace and lines: Q6 f" C8 f* Q/ _. z: T5 d' Y. x
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ; G( U# s6 J6 c* p5 Q1 H+ N3 h
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though* B! h, M. [$ l# W1 R- p, u. G  q4 Q
  25. ; they might mean something in the future.
    6 S  U0 Z, ]" T" D0 ~- G
  26. " a4 _+ r; e. ?) J3 O& w
  27. ; Directives following the section heading [PATH=/www/mysite] only
    1 G, l, N: s7 B+ _4 K: H
  28. ; apply to PHP files in the /www/mysite directory.  Directives2 t0 h& [) z( I! F  z% H
  29. ; following the section heading [HOST=www.example.com] only apply to: \% i! v1 D0 U8 A# q
  30. ; PHP files served from www.example.com.  Directives set in these9 b4 r" V$ ~+ ]0 z* `
  31. ; special sections cannot be overridden by user-defined INI files or% H! _" C& Z9 c; l9 g
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under: }$ l0 z7 ]5 n. L3 ^
  33. ; CGI/FastCGI.8 f' y. s- m* v9 k+ J! s2 R) H
  34. ; http://php.net/ini.sections/ f! Y# P  A" X
  35. , n8 k0 d: I: F! j1 i
  36. ; Directives are specified using the following syntax:
    ! O# V: O9 Z7 _: {3 X
  37. ; directive = value/ Y7 F" [* C% _- A/ ]7 \" l
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    7 S0 Z( l5 R' N; F3 t. Z7 S: i
  39. ; Directives are variables used to configure PHP or PHP extensions.6 o8 x  ~- h' t  X5 B
  40. ; There is no name validation.  If PHP can't find an expected) \* [6 t- p# a$ p3 X1 |8 n! \0 e
  41. ; directive because it is not set or is mistyped, a default value will be used.  |2 C" |! K, b" i' D* Z% O

  42. 4 ?+ p8 Q( s, U6 d# _' j$ l2 q
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ( j( t/ w' |( m$ q" [! M1 p7 _
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    3 H0 l& j2 Z" x/ K0 n8 v( }' d
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ! H' a6 a  H7 k) Q* R+ k  h5 c
  46. ; previously set variable or directive (e.g. ${foo})
    " E& G+ r, I7 c3 a4 l7 V

  47. ) x& G3 O/ f  X$ q7 U7 _, ^
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:" @4 Y7 e( q9 n$ ?+ ^8 s
  49. ; |  bitwise OR/ A; z# u2 C9 e' r2 l" K
  50. ; ^  bitwise XOR
    9 {4 u/ O( A/ C
  51. ; &  bitwise AND/ j- b% S1 z; B! A# f. R
  52. ; ~  bitwise NOT
    6 N: b$ ]. K" m, D% l( g% Z+ T
  53. ; !  boolean NOT
    * M9 g, {9 ^- V8 y! j
  54. & H" h) w# q5 |0 s: c+ ^7 B) w4 J9 w
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.$ j. ]) U* d% K. ~/ Y" [4 {! \! w/ n
  56. ; They can be turned off using the values 0, Off, False or No.
    3 t  ?& p& r7 d  I8 \5 z
  57. 0 {# b" X1 @% o! `& J! z( j
  58. ; An empty string can be denoted by simply not writing anything after the equal
    9 r$ u3 }4 }# _$ Y* z
  59. ; sign, or by using the None keyword:
    4 W$ j0 I$ c  i3 q1 i
  60. , O9 H) a* K2 d- `5 l& ]$ u, u
  61. ;  foo =         ; sets foo to an empty string
    ( R0 X% c+ K3 N
  62. ;  foo = None    ; sets foo to an empty string
    4 y' N5 e% x' G  u* g
  63. ;  foo = "None"  ; sets foo to the string 'None'
    # b7 V0 @( ]+ `- _8 I* C4 E

  64. ( L1 l; m. ]9 i" b$ T7 h
  65. ; If you use constants in your value, and these constants belong to a9 N. x7 [! C7 [9 p
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),6 I% ~' E, E# M' Z
  67. ; you may only use these constants *after* the line that loads the extension./ V( O3 `, f5 f% h
  68. 1 _2 @6 l. d3 o  Y0 i# a" ~- S
  69. ;;;;;;;;;;;;;;;;;;;7 ~7 V. F6 [  j) v1 S  q
  70. ; About this file ;
    & S8 [, F2 R" R0 S
  71. ;;;;;;;;;;;;;;;;;;;! G; n/ R6 E) c; r; E
  72. ; PHP comes packaged with two INI files. One that is recommended to be used$ z; d7 Z0 O" R7 A' p
  73. ; in production environments and one that is recommended to be used in
    % `8 A) ?  x+ }% e8 h" p
  74. ; development environments.
    % s* y- L/ M9 [4 Z* i

  75. ) G+ s7 G. H, r- \% Z
  76. ; php.ini-production contains settings which hold security, performance and( Z' L- o# B, d+ t- o5 S: M9 F& G! B
  77. ; best practices at its core. But please be aware, these settings may break0 E7 b$ A6 E: u* S( g& M4 d) |
  78. ; compatibility with older or less security conscience applications. We
    2 R! t% c+ r, H5 T+ b+ Z, \- h2 f9 u8 B2 T
  79. ; recommending using the production ini in production and testing environments.
    ! T: {+ j& X1 g; Q! K2 V

  80. + }& [8 @1 |& s$ b; \  W
  81. ; php.ini-development is very similar to its production variant, except it is
    . x8 B% |: @$ |- \
  82. ; much more verbose when it comes to errors. We recommend using the
    0 ]# e3 K0 C3 P6 z1 U+ I. |7 B9 P
  83. ; development version only in development environments, as errors shown to
    2 s4 }; X, V# U
  84. ; application users can inadvertently leak otherwise secure information.
      t8 y; {2 e1 D

  85. ( ^' P, n0 p. F( Q/ [
  86. ; This is php.ini-production INI file.
    * B1 X, c  I6 ]+ M

  87. 2 r- h$ j: K- I! \* P% x4 {4 l
  88. ;;;;;;;;;;;;;;;;;;;
    0 q' E  U" h/ f$ n) ?
  89. ; Quick Reference ;: `( z* x) ]- w! D
  90. ;;;;;;;;;;;;;;;;;;;. s& t6 G8 d) D" a. `
  91. ; The following are all the settings which are different in either the production
    1 G' k) f: a) i+ D2 ~' U
  92. ; or development versions of the INIs with respect to PHP's default behavior.. m% t7 x# }# Q' H6 d' H
  93. ; Please see the actual settings later in the document for more details as to why
    ; U, h7 ^" R2 n  z0 \
  94. ; we recommend these changes in PHP's behavior., J2 L4 y6 J: ^

  95. 6 ?5 r% n4 D7 U& G
  96. ; display_errors
    ( y9 Q' C/ ~  s# [4 [; P3 M& j
  97. ;   Default Value: On; q( p3 v; X8 V
  98. ;   Development Value: On% r" Q4 \& D- N- T% u
  99. ;   Production Value: Off
    4 a; f) r, N8 k2 j+ }9 h) D! A
  100. 1 f0 S" J* E0 W* q
  101. ; display_startup_errors# B/ f- u) q  R6 h4 X
  102. ;   Default Value: Off7 c( p/ Z1 s3 ?
  103. ;   Development Value: On
    + t) \/ O' s2 D) ]; Y% w" X
  104. ;   Production Value: Off
    # t! }. i5 e* ~( c# x
  105. - z% K$ E6 n5 G  h/ T# o
  106. ; error_reporting& F5 j4 K% Z- U7 t) P: a
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    " V3 @' Q5 t) R
  108. ;   Development Value: E_ALL# g* T4 v+ d" s- s. ]
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT+ J, P) ~$ ]( j4 g8 `) [9 C, k+ C

  110. ) p# }3 c3 u. a8 i* a0 x
  111. ; html_errors
    4 F! `4 `. H" r; [' c# b" p; S
  112. ;   Default Value: On( v0 o  b, u) Q  m& Z
  113. ;   Development Value: On
    0 Z/ C4 o! M! N, i% {
  114. ;   Production value: On
    6 S1 [! y/ O$ A: a+ F
  115. $ G5 I4 D3 ^% N2 W3 n( a5 {+ [
  116. ; log_errors0 |0 z2 R; o1 o7 l1 m
  117. ;   Default Value: Off9 x; ]' B3 ~! u+ B
  118. ;   Development Value: On8 F: L1 s  J8 h
  119. ;   Production Value: On
    $ ?, \4 {; T1 ^

  120. $ {* i6 l' z1 D" a& Q8 Q: ?- o  K1 j
  121. ; max_input_time7 f9 q# @$ A; q* N, _
  122. ;   Default Value: -1 (Unlimited)
    5 {- q% v8 c6 d5 _3 R% o1 B8 Z7 S
  123. ;   Development Value: 60 (60 seconds). f7 K, u3 d# ?% L) I5 V8 H% e7 J
  124. ;   Production Value: 60 (60 seconds)
    $ ^7 _. h( D+ O: M2 u& R, c

  125. , Q. m6 l, Z3 n1 x- ^
  126. ; output_buffering8 i& y; r- H. @" D, v3 Y/ B7 {/ f+ @( h
  127. ;   Default Value: Off0 q3 A' {: {3 r, v. R
  128. ;   Development Value: 40960 _5 Q% j& S, W
  129. ;   Production Value: 4096( S# i5 t; U. K1 F$ e1 K

  130. - d) Q& k' v: q* z0 Y2 a; f
  131. ; register_argc_argv1 c3 L- P2 O- q% f' `
  132. ;   Default Value: On- R! w9 M" D! h0 Y$ O
  133. ;   Development Value: Off' l( f, z% K- K- j7 d$ N
  134. ;   Production Value: Off: F* c9 ^( U! q2 C

  135. 1 O, q* ^/ j" X( I( p  E, m2 I
  136. ; request_order
    4 C7 k/ ~. F+ e
  137. ;   Default Value: None! n9 V* `& F( Z$ K; T
  138. ;   Development Value: "GP"
    ' e9 c0 M# A( s- p. V- h
  139. ;   Production Value: "GP"7 D+ P  |' Q; x+ C; s! O4 J
  140. ( P. K& ^7 ^' @6 S! C
  141. ; session.gc_divisor
    . u/ b1 S  h0 ^5 R5 ^! Y; Z9 _5 P
  142. ;   Default Value: 100% B) Z7 U+ _9 B
  143. ;   Development Value: 1000
    ; h6 B( L: y5 I5 ]6 Z
  144. ;   Production Value: 1000; Y1 l* K$ h* o9 l' Z; L
  145. 9 X8 t: {3 C4 v# H
  146. ; session.hash_bits_per_character
    1 Y& z* H0 K4 {! J5 ~: h6 l, L
  147. ;   Default Value: 4
    2 q8 e& Z7 {+ {7 n, N8 k) j0 |
  148. ;   Development Value: 5; t3 V' c4 j- M" R# m. u# @6 U5 |
  149. ;   Production Value: 50 U+ m/ I) t$ S1 z; a) R3 m
  150. - v9 L8 d* o9 }/ k1 G6 w- D$ [
  151. ; short_open_tag( m' T1 q# \9 G. v5 e9 X& _
  152. ;   Default Value: On
    & J: p& u2 y4 W
  153. ;   Development Value: Off
    # e. f3 e' y5 f; o" g
  154. ;   Production Value: Off! |7 [. i2 `- S/ }' v
  155. * C  U2 e' M6 O$ z9 j$ U
  156. ; track_errors9 O+ X; X" u: K. U5 L& i
  157. ;   Default Value: Off
    ' E6 t' b4 b/ Y8 V1 P2 M
  158. ;   Development Value: On  w! o* E3 |! z: L
  159. ;   Production Value: Off
    5 W4 h( T0 J3 Z
  160. 2 D5 c: ^7 c2 {! y# f7 s
  161. ; url_rewriter.tags
    * T. S+ @7 I6 f$ q. G3 G
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    / a6 x) S. n! l) k+ `( N# W7 w
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry", Z& p- Q/ ?) ?4 Y: D- h* N
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 D# D# N% d+ B% C- X( S
  165. / u! R& q" ]1 V1 n$ c, P/ Y
  166. ; variables_order5 s/ w8 D6 W- L! G1 `  _7 h
  167. ;   Default Value: "EGPCS"' Z1 S( K  X4 i3 L* J) j
  168. ;   Development Value: "GPCS"
    ; A4 o3 ~7 \& b  Z8 \! o
  169. ;   Production Value: "GPCS"
    / w; s. k( ]- Y# |+ B; N; b
  170.   a$ E8 J6 d- u/ ~1 B6 m
  171. ;;;;;;;;;;;;;;;;;;;;: r% S( [* N% P8 }) L% {( H+ B
  172. ; php.ini Options  ;3 x, t4 U, f3 g* D# X! S
  173. ;;;;;;;;;;;;;;;;;;;;
    ; S$ C( {0 k3 ]  ?
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    / V( x5 R1 G, G3 }) a3 [) g
  175. ;user_ini.filename = ".user.ini"
    1 J/ y  _4 z& p" ^( j3 i2 l) `/ M- ]
  176. 8 A; l2 Q3 \8 l0 Q
  177. ; To disable this feature set this option to empty value0 \9 n3 C4 ^5 W' I; H
  178. ;user_ini.filename =) [0 Z  b' I4 P" R* y
  179. ; z4 \: _. z0 n+ d( S
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    3 i' R/ u; Y3 ~( z8 {
  181. ;user_ini.cache_ttl = 300% d* B3 h9 c8 c1 }( L& x

  182. * G7 M. X4 l0 [! d7 m
  183. ;;;;;;;;;;;;;;;;;;;;- I# X7 J1 m0 z) l
  184. ; Language Options ;
    9 M4 f# I. _& x
  185. ;;;;;;;;;;;;;;;;;;;;
    ( u' Y3 Y% W3 ^, ^7 y$ ]4 o
  186. $ `4 t3 h; f1 X3 b
  187. ; Enable the PHP scripting language engine under Apache.' R' Z$ D$ n) p& {9 x: g) U
  188. ; http://php.net/engine8 m0 S/ X, M8 `4 y+ h
  189. engine = On# N' ^8 }& B& H7 K/ j/ v" ^2 i5 k6 v5 _

  190. , Y5 y! ?+ [) u# j
  191. ; This directive determines whether or not PHP will recognize code between! I* s/ d: g% o& _2 @1 C& q% ], u
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    * V; j) X# @1 H4 V0 s9 x8 H
  193. ; generally recommended that <?php and ?> should be used and that this feature7 j6 i6 K9 S3 s6 {
  194. ; should be disabled, as enabling it may result in issues when generating XML
    + G  f/ R6 \, ~7 Y
  195. ; documents, however this remains supported for backward compatibility reasons.
    $ x1 V( P. M9 C# R
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    + p2 {* @$ n0 C6 s' ?( z. p
  197. ; used regardless of this directive.
    ! W7 Z& V+ P$ I* n6 I2 h
  198. ; Default Value: On
    % p  T+ v% B1 q0 g" @. c( C8 V
  199. ; Development Value: Off
    / R2 Q2 p3 N0 }& i
  200. ; Production Value: Off- Q  }: t% ^+ E, ?9 c7 [
  201. ; http://php.net/short-open-tag- h% W+ h8 O' o0 W8 c
  202. short_open_tag = On
    . f8 l% K5 T# j
  203. & ]) o; q( c8 d
  204. ; The number of significant digits displayed in floating point numbers.5 h1 @( G5 l( }: [5 u
  205. ; http://php.net/precision1 c! E% |' S5 m0 L+ u* Q5 F" ^
  206. precision = 14
    9 i$ S5 X( }! \2 P- T2 L

  207. 1 P$ i! p& f& {1 d! u
  208. ; Output buffering is a mechanism for controlling how much output data
    ' X, T# }- {. w* v
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that4 c" D5 m1 t% c* z
  210. ; data to the client. If your application's output exceeds this setting, PHP4 k5 m1 b8 W" ~. L% B
  211. ; will send that data in chunks of roughly the size you specify.
    3 s2 M0 b$ y$ K7 L: W  P) Y, \3 A$ _
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    6 e" g" ^: ~  L+ w, R
  213. ; interesting side-effects depending on your application and web server.6 N3 D" ^7 }1 [: ?2 j8 Y
  214. ; You may be able to send headers and cookies after you've already sent output
    5 O: P4 i8 `" ~3 v2 ]) J
  215. ; through print or echo. You also may see performance benefits if your server is
    $ h0 u+ R# j# @- K$ b+ j
  216. ; emitting less packets due to buffered output versus PHP streaming the output. k; r' B# f5 {! G
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    # }8 q9 U" y: u8 U( C
  218. ; reasons.
    , f' r3 U( Q1 v! K
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    5 @- _# @) R8 Z' b* Q/ z; S' M
  220. ;   functions.
    * d9 f8 s2 E' u4 v
  221. ; Possible Values:
    & e6 j/ x1 _7 G! S
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    + U$ U+ C" o5 D3 J; U; Z
  223. ;   Off = Disabled
    . i( J( Q) D. M! N$ H
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.- x+ {2 g* m4 X, y4 O
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI/ T5 a+ L* q. O3 i) u6 B
  226. ; Default Value: Off
    0 t: e6 ?$ S  T2 J
  227. ; Development Value: 4096
    ' D: i3 u+ Y6 H5 O: i# d* C
  228. ; Production Value: 4096: c5 s" t! J2 n# }- I% W
  229. ; http://php.net/output-buffering
    ) u, [% G  y7 R/ b2 y$ Y) o
  230. output_buffering = 4096
    ( U! i2 @6 R( R7 G

  231. 6 W7 ~( t% G  H, Q: N$ a5 w3 M6 B4 j
  232. ; You can redirect all of the output of your scripts to a function.  For
    ' d: J4 Q. r; V; [. ~3 w
  233. ; example, if you set output_handler to "mb_output_handler", character# P' x; m1 P& j9 z7 D9 x
  234. ; encoding will be transparently converted to the specified encoding.
    2 f6 w0 C% q  n/ [# a- @
  235. ; Setting any output handler automatically turns on output buffering.. p/ ~$ D" G- Z( k7 L8 P- j. h
  236. ; Note: People who wrote portable scripts should not depend on this ini
    $ u- N/ P( l' r( v+ A) ~) X5 z
  237. ;   directive. Instead, explicitly set the output handler using ob_start().% j0 h& j& \" _8 Y% P" I
  238. ;   Using this ini directive may cause problems unless you know what script- t: M; |1 e+ Q; N$ H0 x! Y0 q
  239. ;   is doing.1 Y3 E9 d/ G6 M9 ?/ j( T) P0 A
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    , u0 Q3 U2 d& |' Z5 a( m  c
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    " d& ]; q. F# B7 w- v8 r0 n
  242. ; Note: output_handler must be empty if this is set 'On' !!!!( u& \3 ?% i1 l
  243. ;   Instead you must use zlib.output_handler.
    , ~; i0 B. d  H- E3 r1 \
  244. ; http://php.net/output-handler4 \: w5 ]) Q9 s3 g8 j
  245. ;output_handler =
      J2 n0 @: l! g& j4 L( V
  246. & ^* R" ]5 }' {6 X
  247. ; Transparent output compression using the zlib library
    + K6 f  g' X' N5 I+ I- V$ q9 s
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ' D; j2 E2 ]) j# b% y9 B5 A, s# Q0 V
  249. ; to be used for compression (default is 4KB)9 h& F0 q+ i6 o3 q  s5 V2 e% K- Z5 Q
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP% a  P" \2 W7 P% n# E( ]/ W
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    % [. u! }' t2 [
  252. ;   compression. If you prefer a larger chunk size for better) C  h3 Y6 j( u! V% n
  253. ;   performance, enable output_buffering in addition.
    - o5 Z, I' n/ c( Q( m
  254. ; Note: You need to use zlib.output_handler instead of the standard
    - C- i$ A. o4 d- M
  255. ;   output_handler, or otherwise the output will be corrupted.6 u# Z1 B- A3 Q: |* O
  256. ; http://php.net/zlib.output-compression
      f" Z4 Q! @6 m0 M3 e
  257. zlib.output_compression = Off
    ; k) N7 B* n: F# S) r+ ?# p
  258. $ \) ~! t! |% g
  259. ; http://php.net/zlib.output-compression-level- _( o' u" D, G$ F  I; \
  260. ;zlib.output_compression_level = -1
    0 B4 R, F& Z) X1 ]4 }4 c

  261. , ?% Y6 V, E% U/ D
  262. ; You cannot specify additional output handlers if zlib.output_compression
    . ?" [& W1 j7 U. y. X( L* O; z; v
  263. ; is activated here. This setting does the same as output_handler but in9 w* q# b9 i& x0 n2 Z
  264. ; a different order.$ @7 {; {6 a/ T+ E4 v& ^* j
  265. ; http://php.net/zlib.output-handler
    * L2 }+ W! R3 ^3 P
  266. ;zlib.output_handler =1 [% t. F, ?8 {1 t& |

  267. 5 D3 x: Z$ F1 a" E/ S! \3 }
  268. ; Implicit flush tells PHP to tell the output layer to flush itself: K9 w! R' G1 L
  269. ; automatically after every output block.  This is equivalent to calling the
    9 h, t1 U  I. o
  270. ; PHP function flush() after each and every call to print() or echo() and each
    0 E- s6 ~9 Q( o% i" F
  271. ; and every HTML block.  Turning this option on has serious performance, e( E3 t+ a# a( I3 k- s
  272. ; implications and is generally recommended for debugging purposes only.3 y( L( P+ U4 U  B. H2 H2 o
  273. ; http://php.net/implicit-flush7 w% K; [" K! M  ?3 B! z
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    " c1 Q7 Q5 E, ^
  275. implicit_flush = Off5 I5 n- H( U+ B* g" O6 ^9 I2 v! d6 }
  276. 0 R# [3 H5 ]5 z6 {$ \$ c
  277. ; The unserialize callback function will be called (with the undefined class'- A$ f. T" k; z' y9 T% U1 d
  278. ; name as parameter), if the unserializer finds an undefined class8 T1 b# m$ m5 z. p4 T) {
  279. ; which should be instantiated. A warning appears if the specified function is
    ( t% R! h+ T" H, }3 V' o% M2 T8 H! P
  280. ; not defined, or if the function doesn't include/implement the missing class.( h, A8 m! b3 }7 I
  281. ; So only set this entry, if you really want to implement such a( e$ C1 h- G, Z5 f0 Z
  282. ; callback-function./ W, m  i- I* R# D4 H6 ^
  283. unserialize_callback_func =+ Y1 x( d3 \2 q: E6 S8 y) n

  284. 5 C! t0 k8 c0 \, y
  285. ; When floats & doubles are serialized store serialize_precision significant3 @$ @" G# B) [+ T
  286. ; digits after the floating point. The default value ensures that when floats8 X$ a0 c- o/ v. b3 ~6 V
  287. ; are decoded with unserialize, the data will remain the same.
    5 U& }' V5 @7 M
  288. serialize_precision = 17
    0 }% w- }* W4 L. F& d5 m4 r

  289. - @$ h7 }7 h6 g3 L1 `4 ]
  290. ; open_basedir, if set, limits all file operations to the defined directory) Q1 S* J% v: O* D9 K
  291. ; and below.  This directive makes most sense if used in a per-directory
    ' j& ~1 g: Z2 j+ r6 t
  292. ; or per-virtualhost web server configuration file.
    ( e2 a3 ]  P2 ]; c4 U1 p/ {7 a
  293. ; http://php.net/open-basedir2 e/ e7 G, J: Z% b
  294. ;open_basedir =
    + p) p* d1 G' N  p" k$ H" {7 I

  295. 3 L3 W0 V- C+ Y9 Q2 b
  296. ; This directive allows you to disable certain functions for security reasons.
    4 t" x4 E; e* E! y
  297. ; It receives a comma-delimited list of function names., z2 ^6 ]4 a4 X( c% \2 {( r
  298. ; http://php.net/disable-functions8 K& S, Y9 r( U$ I  T, I) X& Y
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru" z3 ?+ \  a8 y. C, i: f: v

  300. 5 n9 q3 y. }3 Q6 b3 C2 c- R
  301. ; This directive allows you to disable certain classes for security reasons.
    9 R. G; w" w( ^
  302. ; It receives a comma-delimited list of class names.+ g. J4 n+ N; n* l
  303. ; http://php.net/disable-classes& t& Q3 V  `/ J3 V2 k: M
  304. disable_classes =+ }0 @8 q4 `# F4 z
  305. 9 r4 r3 R2 ^% w
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in) u( q+ N( ?, X* |  [
  307. ; <span style="color: ???????"> would work.
    * y6 {, Q% J2 ]# ?$ N1 Y
  308. ; http://php.net/syntax-highlighting
    & D% e1 B: \5 j( {9 q; n/ M
  309. ;highlight.string  = #DD0000  M$ _# u5 l: t6 C
  310. ;highlight.comment = #FF9900
    + E% e# o' J  r7 t5 G
  311. ;highlight.keyword = #0077004 ^- l! p* B  L# ^* T8 b& B5 _  K
  312. ;highlight.default = #0000BB
    ; H' p5 t) D7 m1 a/ `$ C
  313. ;highlight.html    = #000000: F8 q1 x/ D' G

  314. 0 N* o0 C% ?4 G$ ~
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    " M; ]* R: t4 Y. K1 R
  316. ; the request. Consider enabling it if executing long requests, which may end up
    9 n2 k! Q- Z/ [
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior9 I( n" }- F! s7 u- q6 W, y
  318. ; is to disable this feature.5 A' ]. \0 p$ q" y( d  r; t
  319. ; http://php.net/ignore-user-abort3 b3 X) Z- n' g* l
  320. ;ignore_user_abort = On8 _/ K: c0 j$ z, J) H
  321. 1 n' }' d$ `2 J
  322. ; Determines the size of the realpath cache to be used by PHP. This value should( W- U. _+ I' s/ d" P
  323. ; be increased on systems where PHP opens many files to reflect the quantity of5 N" l& X7 p0 d( ?( A$ H$ S
  324. ; the file operations performed.
    4 t) u. P. i9 `- v; V% U* P
  325. ; http://php.net/realpath-cache-size
    " u5 U1 _7 T4 e5 u& a; P0 U
  326. ;realpath_cache_size = 4096k
    ) J% L7 Y& q3 ]

  327. : V& D, Q, e0 R4 W2 T8 i
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    + d6 K* T' b3 @; \2 y
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    5 R. m! h* f9 |3 C/ q/ E
  330. ; value.
    . A" N$ J# w% V7 o
  331. ; http://php.net/realpath-cache-ttl0 O( B/ F) y# r9 y, s
  332. ;realpath_cache_ttl = 120; c3 L. u# f% E

  333. + A" k( P! P9 l
  334. ; Enables or disables the circular reference collector.' K4 h7 i2 Y, C# S$ q' D. F8 J* U
  335. ; http://php.net/zend.enable-gc
    ) _- y2 S5 t! s7 A
  336. zend.enable_gc = On
    * e1 m/ f! E& G' K

  337. + s% @, v. u2 ^0 e5 d: ^9 j+ f
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    9 B7 c; X; M9 R! I0 A
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    % T: c! O% v, c6 @' U
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    0 {4 L' n6 J( H. ^, {$ Z) ]& i
  341. ; Default: Off
    5 P4 F! Y& W1 y* z
  342. ;zend.multibyte = Off' j0 ?6 Y" R: ~) h+ ?/ c

  343. - R1 r* c9 I7 p( m1 S
  344. ; Allows to set the default encoding for the scripts.  This value will be used7 @/ }1 `( `" G3 g
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    : e7 d3 q' u9 b- _6 \4 d
  346. ; Only affects if zend.multibyte is set.$ D9 Q* ^1 V7 ^  [9 ]) Y
  347. ; Default: ""
    / ~4 \" D( C) B1 d! j/ u2 B
  348. ;zend.script_encoding =
    ( [4 R9 K- p! {3 r! E; H; ?3 w
  349. * E4 |$ l  W9 l0 T
  350. ;;;;;;;;;;;;;;;;;, Y4 p3 ?2 W! t! k- _
  351. ; Miscellaneous ;! W. \: S3 G5 P: W, S! U; R
  352. ;;;;;;;;;;;;;;;;;* i! i9 `4 h( ^0 n/ U" U4 \1 D9 q

  353. . A' |% X) c4 X# \
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    ! j/ T6 r) N6 x1 ^
  355. ; (e.g. by adding its signature to the Web server header).  It is no security+ N& D5 l: {3 R4 e8 z9 C! l
  356. ; threat in any way, but it makes it possible to determine whether you use PHP# ]( \3 r: S( m. i
  357. ; on your server or not., ~9 E( P; M+ g$ v! E# m
  358. ; http://php.net/expose-php
    # M1 I( I7 g6 T7 Y+ k
  359. expose_php = On. x6 A+ v$ N! D3 P( C" E

  360.   C! \- N3 a6 E7 L3 H
  361. ;;;;;;;;;;;;;;;;;;;  s. I% [0 \  q. Z, n% ?- y$ S$ y
  362. ; Resource Limits ;9 P5 W6 r$ s" n- D# S# w
  363. ;;;;;;;;;;;;;;;;;;;0 x1 x. z# c4 u9 _' c
  364. / W4 b: J& X! g9 r1 g
  365. ; Maximum execution time of each script, in seconds( T. k+ D0 q3 }2 W' p
  366. ; http://php.net/max-execution-time
    & p4 t' l( I. o- P6 M+ g9 f
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI& c, i. Q0 H# J8 g
  368. max_execution_time = 300" z6 F& S' B$ X( {: r$ }% ?
  369. " j( f4 Z  B6 {* f  N: F! J
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    # b/ `) ?8 z2 F9 C! f/ {
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly  a' n- c* M3 y
  372. ; long running scripts.3 l# n/ i/ T( G6 G  ?
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI- [! H( o, C: W( s' D" }# S- s; |. H. }
  374. ; Default Value: -1 (Unlimited)
    1 b/ l$ ^$ {  M1 h: `
  375. ; Development Value: 60 (60 seconds)
    2 ^3 U' S+ o7 i
  376. ; Production Value: 60 (60 seconds)
    : g5 J6 r6 R  v( D
  377. ; http://php.net/max-input-time/ L) {% ^" E* Y" b. }
  378. max_input_time = 60, J, W# X% ]4 ]% L: k7 X

  379. ; V* u' B4 Y+ b- p& N' h
  380. ; Maximum input variable nesting level
    / J; c$ P& M. ?/ ~0 ^  Q
  381. ; http://php.net/max-input-nesting-level3 o# s' b- z+ Z$ X' o: z1 d& }
  382. ;max_input_nesting_level = 64
    5 n+ t* W9 w* D$ @  V9 Q( j- G8 ~2 O; y

  383. 7 U6 t, R) D& L  v5 _5 F4 I4 J. x1 I
  384. ; How many GET/POST/COOKIE input variables may be accepted
    8 O5 ^2 d: B) f- q* d9 \. t
  385. ; max_input_vars = 1000
    - S. a6 }! u9 H9 ]5 P4 u

  386. : H$ g+ v: s) [& l$ g9 u% V% t5 g
  387. ; Maximum amount of memory a script may consume (128MB)2 B0 U! Q6 ?. }% x
  388. ; http://php.net/memory-limit3 x! o" d# H% Y6 n
  389. memory_limit = 128M
    1 r# b7 Y8 H: S! A5 h
  390. ( l6 G2 G$ E1 I
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;% D3 @" x" V, V3 P. V2 L- J, m
  392. ; Error handling and logging ;2 l, F9 }! G4 ^$ J6 t/ N+ D
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    , e, k- k  [1 ?2 P

  394. 0 s, Y$ M, Q  K, Q" I/ Q% c3 i$ F9 e
  395. ; This directive informs PHP of which errors, warnings and notices you would like9 [% A: w: j6 W; i( L: }' f
  396. ; it to take action for. The recommended way of setting values for this+ C0 \2 Z6 y; f' ?
  397. ; directive is through the use of the error level constants and bitwise$ I* G' _5 _4 h
  398. ; operators. The error level constants are below here for convenience as well as
    $ n. s2 x' ^7 i" |8 a  _% I
  399. ; some common settings and their meanings.7 J2 m; W9 ^* `; U7 _$ S
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT* J* G0 `% P! [8 c* x( ]  M+ |
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and# s2 H; u% O2 S* h5 v
  402. ; recommended coding standards in PHP. For performance reasons, this is the% V7 W( e/ u- ~$ s
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    6 L  M" P, Z  |. y+ R
  404. ; resources complaining about best practices and coding standards. That's what; |& x0 }, L1 ~+ Y4 e; p
  405. ; development servers and development settings are for.
    " o/ m) {# i- j
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ' z  p/ g0 H2 T. ^1 r7 w
  407. ; means it pretty much reports everything which is exactly what you want during4 Z& s- Z% b3 M4 Q' e: f
  408. ; development and early testing.
    2 E! n! u+ C$ u/ P
  409. ;$ D1 }' _! b$ f# [7 E
  410. ; Error Level Constants:
    ; J. L  H5 H1 \
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)8 S; T6 Q" P' M2 h9 q
  412. ; E_ERROR           - fatal run-time errors
    8 }1 O* C: E  N- d5 B
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors8 h, `3 y) a" C% G, U* K9 g
  414. ; E_WARNING         - run-time warnings (non-fatal errors)2 d  l! s- x0 U! @
  415. ; E_PARSE           - compile-time parse errors$ X3 c) c' [$ }
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    , ~( l3 }  O7 b9 D* D# ~& L: O
  417. ;                     from a bug in your code, but it's possible that it was' |4 r" i* h! C4 A
  418. ;                     intentional (e.g., using an uninitialized variable and, x0 M' \' L- V4 X" f, n
  419. ;                     relying on the fact it is automatically initialized to an
    # d, I! s/ n$ c
  420. ;                     empty string); q& u! n* u) Q2 f- G
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    2 V: o& P$ \7 B! e
  422. ;                     to your code which will ensure the best interoperability
    + d2 f, V, l) K
  423. ;                     and forward compatibility of your code
    $ b- [" ?% {. i$ o5 [8 [3 A
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    % n3 }/ V3 @" r
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's1 g) J9 w/ \! K+ D+ U# s; T; O
  426. ;                     initial startup
    , ]" ~3 A' t' z9 A; p1 U
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    5 A* ^+ |7 g$ N- [
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    8 `; D) ]2 I3 E9 [' ]! @/ F( _% H
  429. ; E_USER_ERROR      - user-generated error message) B" _- K% S" r$ `
  430. ; E_USER_WARNING    - user-generated warning message
      r6 n1 g1 b" L- |) E
  431. ; E_USER_NOTICE     - user-generated notice message
    . D; l" s/ {5 O/ D7 G" I( g
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    ' o# m  F) z2 P) _
  433. ;                     of PHP
    4 _) p, C8 J+ D+ g4 \, ^& I5 z
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings5 t# m5 b( a. u1 G" D
  435. ;7 M+ k0 n. Y4 N1 ~8 @) p
  436. ; Common Values:
    6 O/ B0 P. m" a  J
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ( A1 }4 I0 x5 x" ?
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)7 O7 R. a' I$ z! z- k
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    5 e5 N  R) X: V  [) z
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors): s8 b0 y4 @9 `2 z% n
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    9 S) ?) n2 e( S
  442. ; Development Value: E_ALL
    7 G  h8 ]: Y8 i$ G
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    5 h/ _$ @% ?) M+ v3 y  r* Y3 j
  444. ; http://php.net/error-reporting; _" M9 H$ q  Z  u9 S2 n1 s
  445. error_reporting = E_ALL & ~E_NOTICE8 o2 x7 z+ ~7 i& H4 O# P4 K7 i
  446.   N; o* R! ~/ C0 V
  447. ; This directive controls whether or not and where PHP will output errors,2 h: x$ N  N) z+ B
  448. ; notices and warnings too. Error output is very useful during development, but" v0 Y& u& h! P$ _& M
  449. ; it could be very dangerous in production environments. Depending on the code* n6 N" Q0 C  c  o+ t; U& s
  450. ; which is triggering the error, sensitive information could potentially leak! _- A3 @  u2 z& M6 N1 q4 e$ N
  451. ; out of your application such as database usernames and passwords or worse.
    ) [6 D$ L2 e) M
  452. ; For production environments, we recommend logging errors rather than% R2 |  K/ H7 ~" \9 t
  453. ; sending them to STDOUT.* |: `4 R( a) K1 l0 V* I- Y
  454. ; Possible Values:
    , d1 m( _, r  `8 ?. e
  455. ;   Off = Do not display any errors
    - _) o; R( U* S# F6 N
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ) ]. [& K1 s1 b" q! q6 o' z4 m
  457. ;   On or stdout = Display errors to STDOUT
    + h' h" v* Q' |( U2 n
  458. ; Default Value: On/ ~" [6 O+ G6 |. G; T( ~# }
  459. ; Development Value: On
    , E/ Z  E+ y1 a0 r% Q' ~6 Q
  460. ; Production Value: Off  M3 P% N" u2 V0 g% n" s  q
  461. ; http://php.net/display-errors
    5 i4 h8 l6 R$ \4 W  w) f
  462. display_errors = On+ N/ }5 t/ j/ O8 k

  463. ( Y6 \! J& l8 v2 \. x% V& V
  464. ; The display of errors which occur during PHP's startup sequence are handled
    + i+ P+ y* Z4 `
  465. ; separately from display_errors. PHP's default behavior is to suppress those. ?: c1 Q& z. {! K+ Z
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    # ~0 ~- e9 a% A$ x
  467. ; debugging configuration problems. We strongly recommend you
    1 ~+ F8 g6 x2 v; x! \: h( l
  468. ; set this to 'off' for production servers.1 F( \& w, \1 F, q7 ~4 G$ S
  469. ; Default Value: Off7 \& j' X) t+ ~7 a; U
  470. ; Development Value: On
    + g" N! b2 W7 O% Z% V* p# @6 t
  471. ; Production Value: Off
    9 M6 `. U( B4 d% G
  472. ; http://php.net/display-startup-errors0 Q2 g5 i4 J; i2 }3 G& y4 {
  473. display_startup_errors = Off
    ) j1 G4 _2 P' U$ }0 [6 S3 F

  474. / `1 @/ A2 C8 q4 d! g
  475. ; Besides displaying errors, PHP can also log errors to locations such as a! l/ J+ E8 ~% P
  476. ; server-specific log, STDERR, or a location specified by the error_log
    + H7 ?! a/ Z: X8 L& V: O
  477. ; directive found below. While errors should not be displayed on productions# L' w; R& N- R
  478. ; servers they should still be monitored and logging is a great way to do that.
    % |; p' W9 Z. b
  479. ; Default Value: Off
    . ]; N) U6 d3 o
  480. ; Development Value: On9 J( `. ^5 y! i% i
  481. ; Production Value: On4 d, g' b; c2 e  A* j
  482. ; http://php.net/log-errors# _+ X* \8 L) w$ E6 S) c
  483. log_errors = On+ [, V! G0 ]7 B) F

  484.   p  j5 R" ]7 P( A3 z0 T
  485. ; Set maximum length of log_errors. In error_log information about the source is9 ~9 J0 D% }1 X" s
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.& ^: v" h" z+ L+ l' f4 o
  487. ; http://php.net/log-errors-max-len9 N- G3 b0 {+ [5 a! k  z, V1 z! M
  488. log_errors_max_len = 1024
    $ Y; G& p$ N: z# Y! m
  489. & D% @1 Q  D" a' E4 d+ r5 b
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    0 S$ o% J7 w5 x
  491. ; line unless ignore_repeated_source is set true./ G0 @1 m3 R' Y& u: C5 b2 d
  492. ; http://php.net/ignore-repeated-errors
    ( p) N+ L; _( J5 `
  493. ignore_repeated_errors = Off
    ) U. E* ^7 s, w: ~* }6 @2 L

  494. / \/ i( j1 e) J& ?! z
  495. ; Ignore source of message when ignoring repeated messages. When this setting+ i4 h8 O7 Y: b3 `# f
  496. ; is On you will not log errors with repeated messages from different files or
    4 G& [8 o5 K# x( _5 P6 s
  497. ; source lines.. l; I  \- S/ o$ y
  498. ; http://php.net/ignore-repeated-source
    2 r$ s7 t3 O( i
  499. ignore_repeated_source = Off8 K) W& w# M+ O5 @; [: O! j
  500. 2 v: ]% S4 r5 l$ Q! D9 b) L
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on2 G8 K4 F% C" v* S# }. P; Q
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    . R- T5 P- }, T$ d' \6 d0 q
  503. ; error reporting includes E_WARNING in the allowed list; U4 @. j) ]! j+ X- ]$ S
  504. ; http://php.net/report-memleaks
    4 ^+ J" J2 k! _6 ~- G
  505. report_memleaks = On% B3 A* k$ @3 b" g
  506. 8 W/ M% B+ Z( X; C% v  |
  507. ; This setting is on by default.
    # v; l1 E* o1 {2 w/ h$ y$ f
  508. ;report_zend_debug = 0
    # w6 [0 V" h. n
  509. 9 @% u# J$ b( e, k
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value5 B$ q! L7 U5 A% @# [
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    # Z+ O! l5 y* R( X" F& w3 z0 r$ M
  512. ; however be disabled on production servers.9 O6 b! S, y7 f; {. `  v( |
  513. ; Default Value: Off
    " e0 P0 Y( o1 w- L2 l
  514. ; Development Value: On. [0 e; V/ ?! E0 B$ X7 }, M7 H
  515. ; Production Value: Off
    2 L3 {5 P' w; v0 m" U% C( o! _
  516. ; http://php.net/track-errors
    0 L" [& e) H9 ^7 n" n' |# c
  517. track_errors = Off
    + @( _/ ~" Z3 t" d" J

  518. 0 S1 K! Y( [1 N9 ~
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    " ~+ C9 U3 I2 E; K' Q$ k6 N
  520. ; http://php.net/xmlrpc-errors5 E( _+ D6 Q$ u+ ]4 y
  521. ;xmlrpc_errors = 0( \9 s- s3 F7 }

  522. 7 r! n$ u" D) l5 w4 m( L
  523. ; An XML-RPC faultCode* Z; e- X5 |' h% B4 F' ]
  524. ;xmlrpc_error_number = 0
    . b0 p! N: T; r7 f  H

  525. ' k2 {& j8 Y% O* `% v0 U% }
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    # Q7 o4 o5 B: K& [/ G! n* U
  527. ; error message as HTML for easier reading. This directive controls whether
    6 v2 h! ^" m+ n3 Y8 l0 ]' N
  528. ; the error message is formatted as HTML or not.  Y9 s' C' L9 r! c+ X. n, I
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI: H+ |$ j  S+ ]
  530. ; Default Value: On  j; |1 |1 w" Y) A7 k2 l6 m
  531. ; Development Value: On
    ; |( h4 h, P; c
  532. ; Production value: On
    + V  t7 T$ e7 d7 K4 P  S! E8 i
  533. ; http://php.net/html-errors
    . ]+ N! A+ B5 G& X3 P& I# C
  534. html_errors = On. n0 }, N( E/ j
  535. 2 F1 }; V2 v* M& F* t8 t& {
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    2 X$ D, ^' ?& Z
  537. ; produces clickable error messages that direct to a page describing the error9 H9 K  S; W0 _. ]1 v/ M+ B
  538. ; or function causing the error in detail.
    , U4 H# W5 t3 F
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    ; w. b2 R- J, V& p1 V
  540. ; and change docref_root to the base URL of your local copy including the
    ! c$ u8 W; j- b' T4 c, `
  541. ; leading '/'. You must also specify the file extension being used including! R3 K5 l# \! H
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which9 D( Z/ M' ?) S9 x( x
  543. ; case no links to documentation are generated.
    0 p7 J/ L- v$ ~: c4 `
  544. ; Note: Never use this feature for production boxes.9 X: Y0 _5 E% l8 d9 ?
  545. ; http://php.net/docref-root
    9 a7 B1 ^, d  p) @
  546. ; Examples
    5 d+ y6 R/ r9 b" |+ k" S$ j
  547. ;docref_root = "/phpmanual/"
    0 k8 d" h2 u( o  R6 v7 j
  548. 9 T" A( q; H2 V2 }& i2 ~4 d
  549. ; http://php.net/docref-ext
    * i. ]  a0 z# i3 ?) j5 }$ }
  550. ;docref_ext = .html
    1 e$ V# @7 S# B& a+ k' F8 r
  551. 6 E2 S( J* }- T
  552. ; String to output before an error message. PHP's default behavior is to leave( E& U6 z. K1 O3 t
  553. ; this setting blank.
    % G' H4 r/ }% |" M: [3 g5 q
  554. ; http://php.net/error-prepend-string
    : u) z2 _, n# e5 e
  555. ; Example:3 i( T2 P1 t" d9 N
  556. ;error_prepend_string = "<span style='color: #ff0000'>": N: ]7 z2 A) d3 w8 }; L+ h/ d

  557. 3 H' ~  _. B9 C
  558. ; String to output after an error message. PHP's default behavior is to leave2 {3 Z' m+ `2 l$ E% f! u. K
  559. ; this setting blank.
    0 l, ~4 ?" j; b- ~  U2 K$ C
  560. ; http://php.net/error-append-string
    1 _" i- Q; t  N0 ]( K# L3 Y0 t" d
  561. ; Example:
    : s. ~* z7 s. e; d. w
  562. ;error_append_string = "</span>"
    9 k( A+ @$ B( X% G
  563. * A. i! P' g  k/ \! i" N, Y* I
  564. ; Log errors to specified file. PHP's default behavior is to leave this value3 A5 R' N5 m$ i
  565. ; empty.
    2 E& F; N5 D7 w+ u8 p) J
  566. ; http://php.net/error-log3 X) E; X- e+ a6 S) \# M1 {' \
  567. ; Example:. O% A& L" w6 b4 t+ a% D
  568. ;error_log = php_errors.log1 d& a6 A& W! i8 Q( D
  569. ; Log errors to syslog (Event Log on Windows).3 W1 p( y7 k  J' {7 R6 |9 `
  570. ;error_log = syslog
    4 i% @% \% ^% D; X3 B: m# ]$ Q3 c

  571. % t4 H* ?$ a# G% k" Z/ J# A6 m
  572. ;windows.show_crt_warning( J; \8 n5 u, P! I" f7 i" H
  573. ; Default value: 0& Z) n6 J/ w9 ^9 g* l4 g* T1 V
  574. ; Development value: 0
    " L9 s/ V3 ?( b  P1 Z
  575. ; Production value: 0
    9 B) u8 v$ [* X% R! q# j3 V

  576. ' A$ w8 m( I, {7 H7 W3 c# Q
  577. ;;;;;;;;;;;;;;;;;1 m& |$ o! N5 |+ \% c0 ~( w
  578. ; Data Handling ;- Q; n' D. K6 [) o7 H0 A% q
  579. ;;;;;;;;;;;;;;;;;9 G, ^6 D" w& ^- F1 N" t( Z, b

  580. $ V& ~* v" n4 p- {- r  A' W. {
  581. ; The separator used in PHP generated URLs to separate arguments.
    ' Z0 z) ?1 |" l$ t  z. i# g
  582. ; PHP's default setting is "&".& b& @( C, T# L3 `1 K% ]+ P/ ]- X
  583. ; http://php.net/arg-separator.output
      x# m* [- r8 s2 [' I& F; D5 e
  584. ; Example:3 c" u6 g3 s& T6 t4 _
  585. ;arg_separator.output = "&"
    4 |' ]0 K5 E. J) ?* D

  586. 4 ?  l: D- m2 r. p
  587. ; List of separator(s) used by PHP to parse input URLs into variables.' r. R6 B: N  B  e" I0 G3 f
  588. ; PHP's default setting is "&".
    5 ]1 o0 s1 M9 Z+ \( Z
  589. ; NOTE: Every character in this directive is considered as separator!% p% g$ c2 d+ m& D# j9 _' [. R
  590. ; http://php.net/arg-separator.input+ V. U3 H" ^, D# m
  591. ; Example:
    - a& q; e/ i$ T6 h7 I. H8 `5 _
  592. ;arg_separator.input = ";&". G- ~# r4 w( W) c: @! N

  593. / t5 G4 H& _. o* z+ H2 t2 Y
  594. ; This directive determines which super global arrays are registered when PHP$ M' K, |3 a( O2 L2 {
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super8 h8 m' l# |9 e( e- Z( d
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty; J$ s5 s6 }2 P# ?
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    , r7 M( }$ [  \1 q
  598. ; used as the others, ENV is not recommended on productions servers. You2 h6 t, q, u8 @+ b
  599. ; can still get access to the environment variables through getenv() should you; q6 A4 B/ J  w. F# ?5 G4 ]9 d
  600. ; need to.) `1 z; r7 P4 {0 f6 h" o
  601. ; Default Value: "EGPCS"
    ( V! ~. e; L9 |7 |; S
  602. ; Development Value: "GPCS"
    # b- V7 T) u2 |3 b
  603. ; Production Value: "GPCS";
    , j! ~; i) |. S
  604. ; http://php.net/variables-order
    1 C; W" d6 S. o+ T
  605. variables_order = "GPCS") I# ]! I; p: c  P8 f' ^( t
  606. / D, Z" ]! x/ m2 Z& ?; k6 Q! {' n
  607. ; This directive determines which super global data (G,P & C) should be, F  P2 J* E2 R  T& V+ \
  608. ; registered into the super global array REQUEST. If so, it also determines) d2 D2 t; T' p. T* \7 F
  609. ; the order in which that data is registered. The values for this directive
    ; O' `( L* w$ F3 O" S& p1 B8 z
  610. ; are specified in the same manner as the variables_order directive,
    9 m: n. y6 p9 @" T: h, p7 g
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    / h5 I- a. _4 _$ C/ h/ {
  612. ; in the variables_order directive. It does not mean it will leave the super
    ! K+ F8 c2 \3 a
  613. ; globals array REQUEST empty.
    % s. \+ t/ v! R) f/ T- t
  614. ; Default Value: None' B* o  R- b3 ~, a  T( p4 s1 |
  615. ; Development Value: "GP"
    0 v) N  _  l# S" N4 k
  616. ; Production Value: "GP"
      {7 c' S9 B3 v/ X, L/ w# I9 c$ h
  617. ; http://php.net/request-order$ A) y' N- ~3 v: V& }: r! y  k
  618. request_order = "GP"
    ' A# |; C9 @" z: U# P: o% e9 M; P, `

  619. + B' d' ^$ \( B$ {4 r  U1 n% r
  620. ; This directive determines whether PHP registers $argv & $argc each time it$ A  `, d# y- ^, J% ]
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script  S3 S! ?6 w& B! N9 S
  622. ; is invoked. $argc contains an integer representing the number of arguments7 y8 K# V* @; r* S4 B8 p
  623. ; that were passed when the script was invoked. These arrays are extremely
    ! a; j/ V9 t8 a% C1 ]5 i$ s* O
  624. ; useful when running scripts from the command line. When this directive is
    $ ^" i8 t4 p5 }+ w( \
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    1 N+ U! }& N- |$ Q* r; g- t
  626. ; a script is executed. For performance reasons, this feature should be disabled
    " P' |- ?! C8 |7 X0 Q6 J
  627. ; on production servers.
    : Q, C; ?. u- p6 V. u/ ^. p
  628. ; Note: This directive is hardcoded to On for the CLI SAPI1 C9 M+ H+ [" v
  629. ; Default Value: On
    ( P5 @+ \% i, g2 ]( b( J
  630. ; Development Value: Off4 e: C  X; w: g+ y! X: k
  631. ; Production Value: Off
    ! e+ q% x# t7 z, B, k3 I6 N
  632. ; http://php.net/register-argc-argv
    2 |) Q3 O3 d2 f5 U% @1 j
  633. register_argc_argv = Off
    7 P" E% o( Q3 a2 G/ Z4 g7 B
  634. 6 A/ ?  H* P: E7 x% ?
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    - c- p7 `* I) R  n. V& e
  636. ; first used (Just In Time) instead of when the script starts. If these
    1 P. B9 r% m, B5 j2 T
  637. ; variables are not used within a script, having this directive on will result! |8 {. Q$ k7 i+ v/ X
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    2 |5 z- Y# T& W3 ~8 ]$ u3 K9 I2 ^
  639. ; for this directive to have any affect.
    ' Y7 [* d, l5 p7 z5 V' K6 w
  640. ; http://php.net/auto-globals-jit# k0 M% ]& U# i, p
  641. auto_globals_jit = On
    / k% L5 z6 L9 q# v

  642. / C7 I3 e9 ?' B
  643. ; Whether PHP will read the POST data.0 X9 y- r/ |  S- w' s
  644. ; This option is enabled by default.
    9 Z$ r8 Y9 [0 I* b- P& O9 ^0 K
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ! F" s# O. }& J" A! `4 i3 D- h
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    $ R0 F* W; X+ z* z, T+ P
  647. ; POST data will be through the php://input stream wrapper. This can be useful5 W, h; n- m4 f8 ^! q9 _  u
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    1 S7 K- z! `' p5 D, M3 h! I1 s
  649. ; http://php.net/enable-post-data-reading
    ' B4 W% i' R2 \( _
  650. ;enable_post_data_reading = Off
    " G# |% n; h! q/ `2 B

  651. $ t6 G+ W3 U1 h  u
  652. ; Maximum size of POST data that PHP will accept.
    / L+ f* g/ ~9 a  T! `8 f
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading/ @4 k, t8 W' G' v
  654. ; is disabled through enable_post_data_reading.
    - J& y1 w) u) a9 u8 a2 x6 q; h
  655. ; http://php.net/post-max-size- S+ ^! k" M' z5 s6 t$ r
  656. post_max_size = 50M9 o3 r) s. X9 W& B) U4 u
  657. 6 Y% f+ `% o/ V7 q5 r
  658. ; Automatically add files before PHP document./ E5 q2 q0 ~5 U" k% b
  659. ; http://php.net/auto-prepend-file
    : ]+ q" [4 U, U9 J5 C# m6 X  A
  660. auto_prepend_file =5 _7 [* v; [1 c; X
  661. + Q# E4 t' J  P: W6 Y+ a& l) [
  662. ; Automatically add files after PHP document.
    ! T+ v! i8 _9 q3 T5 w# c# o
  663. ; http://php.net/auto-append-file
    0 a1 z/ d* D  c/ D! p* G2 R5 P
  664. auto_append_file =% J7 Q1 d3 U0 ~4 u, Y

  665. ( z. Z% s& e) D# ]
  666. ; By default, PHP will output a media type using the Content-Type header. To& h8 h5 B  K/ u* y7 q
  667. ; disable this, simply set it to be empty.
    9 D' I  n3 v; |' ?7 H: L5 g0 {
  668. ;
    % l+ m- A5 T* e  n3 y
  669. ; PHP's built-in default media type is set to text/html.) b7 A* g  N' v' l- [" a
  670. ; http://php.net/default-mimetype
    * q/ x( y4 Q0 }! e- o* K* u3 I
  671. default_mimetype = "text/html"
      m, S; p" S# |- T) w

  672. / c- u0 r& c$ {" j/ D7 r7 g
  673. ; PHP's default character set is set to UTF-8.6 \3 o" N: e/ @  I$ }, @/ ?* [
  674. ; http://php.net/default-charset4 U% M" R7 U- \. |, u7 a7 s+ F
  675. default_charset = "UTF-8", q& i( H* n# s* t: k

  676. * o: s- T7 V: d- o# j2 ?
  677. ; PHP internal character encoding is set to empty.
    $ |# G( W! y; T+ U' e
  678. ; If empty, default_charset is used.( r' G. |6 n( |$ K6 K; @6 H" r& P+ ^  m
  679. ; http://php.net/internal-encoding
    - M0 O9 H8 p4 n. h) m
  680. ;internal_encoding =; Y( n7 A# I: g7 u. F9 g( H
  681.   N. h  Q* {4 j- R
  682. ; PHP input character encoding is set to empty.3 u# y6 z2 t8 a- `: l) ~& [& Z
  683. ; If empty, default_charset is used.* q% }8 U8 n" d- ?7 G4 x6 _
  684. ; http://php.net/input-encoding
    ! b7 w; q7 h; f$ L3 u" y% S$ m
  685. ;input_encoding =
    + ]9 H/ w) z" S- r3 z+ d

  686. 1 r, V9 n) Q6 J; H$ s( U
  687. ; PHP output character encoding is set to empty.
    " e% P) K! r% Q; E$ w- P4 [
  688. ; If empty, default_charset is used.
    + ~# a8 t' H7 S- {. q# t/ b5 O; _
  689. ; See also output_buffer.
    ) n( L0 L& i7 C7 p, `$ x  D$ u% k$ y
  690. ; http://php.net/output-encoding, `. }6 Q- w! I
  691. ;output_encoding =
    0 G* b( m7 [, C! G( i( O
  692. 6 w6 T# {- k% q' i- a
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;! B  {+ T& ~3 [/ e! Q
  694. ; Paths and Directories ;
    1 f% x2 X) O8 ~4 `
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;' p: j. P0 h, I+ V9 b4 u
  696. 7 W. t- J' M* y
  697. ; UNIX: "/path1:/path2". S4 n/ x& [1 O
  698. ;include_path = ".:/php/includes"
    3 C! B3 p* p5 w( U2 Y5 v2 x
  699. ;+ G5 E2 t4 O) A) y$ y  Z* b  V
  700. ; Windows: "\path1;\path2"1 }; z  J4 s3 d: ]' [0 |
  701. ;include_path = ".;c:\php\includes"
    + \5 d1 ?+ l' U" M( L9 A7 r
  702. ;4 X6 E7 N3 u8 G2 t  r, ~( [# d
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ' n+ q8 N, r% v3 {1 u2 W
  704. ; http://php.net/include-path
    / I7 `8 ^9 T# n6 k
  705. ' A1 l' d! s: F; }  A3 x& f' x( m
  706. ; The root of the PHP pages, used only if nonempty.% A4 U, E* g- W, t- t# y
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root2 [, h5 d+ U3 L6 I* L; x
  708. ; if you are running php as a CGI under any web server (other than IIS)
    ) p3 f* H% O$ X4 N
  709. ; see documentation for security issues.  The alternate is to use the% v2 u/ ]( X- b5 h/ e$ h1 H* m
  710. ; cgi.force_redirect configuration below6 Q" A: L7 U1 g$ A, L0 ]
  711. ; http://php.net/doc-root
    6 u, X5 |, H- g4 x; N3 K& V
  712. doc_root =0 ~  S! h% n2 L6 ^) u; q
  713. / ?; y/ P  b8 M8 F: v8 U
  714. ; The directory under which PHP opens the script using /~username used only0 a$ p7 t* k  ?+ H; T! R/ |
  715. ; if nonempty.
    9 l3 h, D  b0 M9 r; @  `( l" ?# K4 ~
  716. ; http://php.net/user-dir; V8 b5 @% i, G, E
  717. user_dir =
    # A% O" o$ N7 ~* ?: ^

  718. 3 S& @" i8 f  L. B& k; |$ `- n! t
  719. ; Directory in which the loadable extensions (modules) reside.
      O- d6 P( J, u
  720. ; http://php.net/extension-dir
    2 J3 m( ?% X- O2 P" S0 l( z" X: c
  721. ; extension_dir = "./"
    1 I( M* [; c9 y, b# v  A" [0 r
  722. ; On windows:
    0 f* a8 ^' D4 D; J
  723. ; extension_dir = "ext"* N' H6 P- c- M& v* G7 L3 ?
  724.   m) _1 @. c- w% j
  725. ; Directory where the temporary files should be placed.
    : r6 S5 \' \3 D2 o0 b' q$ M& x0 Z
  726. ; Defaults to the system default (see sys_get_temp_dir)! o6 }$ G- K/ E% t# |/ @
  727. ; sys_temp_dir = "/tmp"
    + a9 J  }# D3 G  y5 j

  728. - j" ]# Z8 S  @; o. `6 g' I- \, y2 [
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    1 `3 H5 C' M9 u
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    7 L' L' B. _+ T9 E4 z4 |
  731. ; disabled on them.
    , \' X' \! _3 d3 P3 z7 x) q
  732. ; http://php.net/enable-dl
    ' }1 @0 }3 l9 K4 k% n4 I
  733. enable_dl = Off
    % t$ p" j( p7 t$ k8 l1 H
  734. 3 Z1 b; F; L$ E* L
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under0 }6 i+ _3 U8 l8 x
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can0 E9 Z+ X% X! t1 `, Q
  737. ; turn it off here AT YOUR OWN RISK0 t4 i* {, ~! U, L8 N) J) X( o; J: p
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.*** {( }2 F5 F% l# }% u0 U2 v
  739. ; http://php.net/cgi.force-redirect& q# J. {+ ?' Z5 n$ R% Z9 u
  740. ;cgi.force_redirect = 1
    ( \) t. A9 W2 h% j" K' M
  741. + L2 Z1 d: d, N5 E' n
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    + u: p* h" R4 i7 b5 m2 R7 x
  743. ; every request. PHP's default behavior is to disable this feature.
    : S, {$ J' q3 H) x7 m# X3 k2 }
  744. ;cgi.nph = 1
    / F5 X# p- _9 h2 Z3 I- v

  745. 8 l6 z# y7 u2 s( g
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    * K$ g) ?$ s( {
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP; M  [' }( f) m9 C) x9 U2 @
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    : v* P4 z! ^( e; C0 k, s) |
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    7 Q  P+ `7 o9 A; Z7 d
  750. ; http://php.net/cgi.redirect-status-env( m* k. b& h9 W+ n5 [, b
  751. ;cgi.redirect_status_env =
    1 U9 h+ f7 H" `
  752. 4 u  Y5 g" z1 u3 k! X, c
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's$ a# d" m) D; ^7 F
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    6 Q6 N9 q4 d5 M4 |( c; {7 [( g5 h
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    $ b5 [) M8 q+ f. ?8 {* Z
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    # h7 f  k- X: B: ^+ b) T& t
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts8 ~' F) E8 t- N3 ]. O
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ' ^9 r: ]" T$ @" ~) l* o
  759. ; http://php.net/cgi.fix-pathinfo
    : k, B% {3 f- O7 V. `: o
  760. cgi.fix_pathinfo=1
    6 L9 W% x% q+ \& p+ S% v

  761. + G2 {  j5 F+ D2 X- o
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside* e5 e& W1 L8 O
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ' r* R8 Y* W1 F
  764. ; http://php.net/cgi.dicard-path+ C# d( e$ {- v7 o( j
  765. ;cgi.discard_path=1
    4 e2 r9 k* b- d
  766. - }* e3 ]9 V/ {
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    2 `9 o& w1 B2 F% ~3 ]% l
  768. ; security tokens of the calling client.  This allows IIS to define the3 u& y. ]6 [$ Y- L8 K) ?
  769. ; security context that the request runs under.  mod_fastcgi under Apache8 b  A: n) f! A  V8 l0 W
  770. ; does not currently support this feature (03/17/2002)
    2 K1 ^0 k1 v4 W/ }
  771. ; Set to 1 if running under IIS.  Default is zero.
    % |9 E) k$ `2 X$ C( J; Q
  772. ; http://php.net/fastcgi.impersonate/ a- \! P$ m9 c& X: f
  773. ;fastcgi.impersonate = 1  l; q$ P& q$ i* G5 Z6 V
  774.   u6 M" q' S) t* p  E
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    9 C/ Z' Q- ^% F- B. O
  776. ; this feature.
    3 Z% P) U/ ~) v" e1 I) {
  777. ;fastcgi.logging = 0
    4 P* G$ B1 l" z2 g0 z
  778. 6 ?: @5 ?; V% t4 s! J  d
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to: L2 d- }$ d! r
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that! X7 [3 {. {1 v$ Q) o- x/ L4 f
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    % _4 l9 S$ j, A1 i
  782. ; RFC2616 compliant header.
    . o; N6 R3 F+ t: s2 L
  783. ; Default is zero.
    * R+ J+ n4 q( d3 B# V/ A. {* y
  784. ; http://php.net/cgi.rfc2616-headers1 P4 Z' u9 t8 |0 @) w+ g4 ], w, p/ j4 g
  785. ;cgi.rfc2616_headers = 0  U, W0 E8 w8 f# k
  786. + N' h! A: ?. [  f
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ' L" b0 @: Y0 v
  788. ; (shebang) at the top of the running script. This line might be needed if the
    $ B6 ^! X) I5 _
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI2 j- a, R9 P8 x" P7 `6 E
  790. ; mode skips this line and ignores its content if this directive is turned on.( K% U, b- D3 g/ f, J7 p* c
  791. ; http://php.net/cgi.check-shebang-line- S0 `$ ]# y  s5 l: Y, ]- h% G5 s
  792. ;cgi.check_shebang_line=1! _0 B3 z/ h2 n' J3 [
  793. ) N# o& n" k% I: m, m$ D& L, V
  794. ;;;;;;;;;;;;;;;;/ s7 m+ p6 v2 U6 E9 u
  795. ; File Uploads ;
    5 V. O7 a0 i* W/ }  }8 V9 @
  796. ;;;;;;;;;;;;;;;;
    6 D+ G: X$ B/ h
  797. # y! w6 ~9 ?: v# t& M: U9 N8 B
  798. ; Whether to allow HTTP file uploads.+ x; w$ t8 R; D' |( p. W4 [
  799. ; http://php.net/file-uploads
    9 \6 |! a+ s5 S0 y) Z4 d# \
  800. file_uploads = On9 \, O$ H. ?; ]1 Y) E

  801. 2 N. u* \& b' X- @+ Z0 P
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    7 ^& k& [6 c& O; Z; c* E+ M% E
  803. ; specified).
    % R( ~" e1 k; ~+ l' ]/ [9 z' @# D
  804. ; http://php.net/upload-tmp-dir# @* g7 h8 }9 e. X& y% [
  805. ;upload_tmp_dir =! Y& J7 d, x0 r8 q1 Q4 n

  806. 3 h* T. n* s4 G0 b9 R
  807. ; Maximum allowed size for uploaded files.
    6 `/ D) a! w% e& ~# M. E0 c/ e2 Z% |
  808. ; http://php.net/upload-max-filesize' ^- V, w* ?6 G4 r! r/ Y
  809. upload_max_filesize = 50M, J4 m2 J  K2 u9 X
  810. 1 \& l# i1 ~! [( W; R5 I
  811. ; Maximum number of files that can be uploaded via a single request4 e4 n" h6 i8 ]
  812. max_file_uploads = 20# s1 L4 v  a1 @7 r! b

  813. : h+ Z0 A3 K6 P7 x
  814. ;;;;;;;;;;;;;;;;;;/ E. M) }  u) V/ j' c# Y
  815. ; Fopen wrappers ;
    0 [0 u) W/ ~1 G6 f: g# C, A, m
  816. ;;;;;;;;;;;;;;;;;;
    3 N4 ?, J1 \+ s: g

  817. % O( |2 t- X9 K2 }8 {) N3 O' L' l
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.* d# B. T! e; C; F  A( N. x
  819. ; http://php.net/allow-url-fopen% K/ W- i$ J3 K  X$ q
  820. allow_url_fopen = On
    1 ^) @; v" r0 v; ~2 r

  821. ; l7 c  \: [& @5 z& q, X
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    4 \3 \0 A' Z5 \! k5 S0 f
  823. ; http://php.net/allow-url-include
    ) D1 E# W5 h. M5 F$ B% V  U4 o/ \) C8 V
  824. allow_url_include = Off/ K9 Q/ J+ ?" B0 b8 O6 d2 Y6 J

  825. 9 Q- t! `) I3 j# T3 t9 c7 U% g
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    * V% S8 a3 T0 e- d5 ~) V8 B3 ^
  827. ; for this is empty.
    ) ]! l& h1 T' X8 G  ?8 @
  828. ; http://php.net/from3 f' n: y5 d/ L+ Y0 a, n
  829. ;from="john@doe.com", K) `5 |1 x( ~- C( B2 W

  830. 4 s/ @& E* u* h$ R+ ~1 S
  831. ; Define the User-Agent string. PHP's default setting for this is empty.4 |# A; r4 l) N
  832. ; http://php.net/user-agent+ @6 T( L* b/ A7 @+ [
  833. ;user_agent="PHP"
    + D2 g4 |- L2 \& O$ K, ]4 g
  834. # p! C1 h! k( N/ ?0 L0 {2 T
  835. ; Default timeout for socket based streams (seconds)& ]2 ]% K& Z( H, B  J) w3 E) V
  836. ; http://php.net/default-socket-timeout* m6 R: G8 W% Q$ Z
  837. default_socket_timeout = 60* r8 Q$ @1 p! ^5 |* J9 j, w8 Y- z

  838. ' r( Y5 n( f) S9 E
  839. ; If your scripts have to deal with files from Macintosh systems,, A' V6 l) {6 r2 d
  840. ; or you are running on a Mac and need to deal with files from
    / K% @' i6 o. @/ L) P2 s
  841. ; unix or win32 systems, setting this flag will cause PHP to
    . l* L1 }# B$ F0 l4 t
  842. ; automatically detect the EOL character in those files so that
      ^( n/ a; x+ X* f; `
  843. ; fgets() and file() will work regardless of the source of the file.
    / ?: R' B# R, J, [4 Y
  844. ; http://php.net/auto-detect-line-endings8 y3 c2 S) }8 b- ~: K4 ~* F
  845. ;auto_detect_line_endings = Off0 M4 R/ V/ t; ?$ b- R/ M4 q7 B
  846. 7 ]; n4 ]4 U* f5 Q4 m" v
  847. ;;;;;;;;;;;;;;;;;;;;;;+ B# E/ n) Z2 O2 V
  848. ; Dynamic Extensions ;
    , z- U# R2 Q5 p; F; H. z
  849. ;;;;;;;;;;;;;;;;;;;;;;
    3 L' y' M* M  B. Q; @7 ]# _

  850. 5 U& Y+ m3 N* R8 c
  851. ; If you wish to have an extension loaded automatically, use the following
    1 H, U) Q* y8 \1 _1 J& q
  852. ; syntax:, H- n+ N+ Y! ?; j
  853. ;0 y( q$ y4 e. e& O. w% R3 d
  854. ;   extension=modulename.extension  X; G. e0 t' b1 E1 U9 C
  855. ;! n% ]+ \6 D" v% ~: u0 ?
  856. ; For example, on Windows:
    * b& q* |5 S3 r' f* E# U
  857. ;
    & S* X2 Z( M6 i( D# @( Z# f( E
  858. ;   extension=msql.dll  r$ ?( Y" h' q) r! R
  859. ;
    # z2 L/ j; G0 p4 |
  860. ; ... or under UNIX:
    3 _& T" W) Y* S. K& A
  861. ;% A- C2 r; |% x& Q5 \5 G- q
  862. ;   extension=msql.so
    6 u  C( Y7 p9 _5 Y+ m4 V3 Z
  863. ;
    ' {* g! x, N  c) L  Z8 z) A
  864. ; ... or with a path:6 u8 Y% s# A% M7 C" B- k, A
  865. ;
    # l( e, U2 x0 T) `
  866. ;   extension=/path/to/extension/msql.so
    * F( X  a4 I7 H
  867. ;
    6 Q5 a0 C7 o! t1 y* `8 K# ]! ~
  868. ; If you only provide the name of the extension, PHP will look for it in its% i$ l  f( p# n1 v
  869. ; default extension directory.$ _8 S* L3 S/ o' b9 w$ Y
  870. ;
    2 u1 q. g% _# m) t
  871. ; Windows Extensions- S" I9 f# c' o' [
  872. ; Note that ODBC support is built in, so no dll is needed for it.& ^% G5 }! g5 ]
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+), j' @& E  u9 i) X; m
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).  p3 o% l. [/ s# Q
  875. ; Be sure to appropriately set the extension_dir directive.  P: E$ e. y/ a# p' d/ ~
  876. ;. P0 T- d) a# b* ^9 Q3 H
  877. ;extension=php_bz2.dll. K" c$ G  ~4 T- |' T$ i
  878. ;extension=php_curl.dll
    4 G: r1 m( z" r7 M, t$ s* E
  879. ;extension=php_fileinfo.dll
    7 @. M% O% R& R2 E3 N9 r
  880. ;extension=php_ftp.dll$ n" y' w$ N" Y# B+ G) S+ U
  881. ;extension=php_gd2.dll6 r) D0 `: ~* `& x; s) b
  882. ;extension=php_gettext.dll
    - p2 [- @5 F7 J" Y4 u! W# n
  883. ;extension=php_gmp.dll
    ' @& h5 N+ ^, [/ n, R+ C( H
  884. ;extension=php_intl.dll0 v6 e6 h+ d, a3 z+ ~# e. G; I# @
  885. ;extension=php_imap.dll
    9 s' J0 w1 f% d8 G( |6 ?& N
  886. ;extension=php_interbase.dll
    9 f- r2 w7 \: W6 R* L/ M
  887. ;extension=php_ldap.dll
    : R9 `; _- B) |* c3 o: Y: G2 M
  888. ;extension=php_mbstring.dll
    5 H+ H8 }- L, w1 ], }
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    : g  D. f4 i8 @5 }
  890. ;extension=php_mysqli.dll& c' e6 X4 _0 g7 \4 Q1 F
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client) k) w( `" u: D" L0 d3 h
  892. ;extension=php_openssl.dll+ G! I' a; I7 ?+ `6 k
  893. ;extension=php_pdo_firebird.dll; M* c  N: Q+ r% f
  894. ;extension=php_pdo_mysql.dll, K6 ]- X8 x, l3 C1 t! a  ^
  895. ;extension=php_pdo_oci.dll/ W8 T8 Q7 K# R
  896. ;extension=php_pdo_odbc.dll
    8 j) d5 `* p- Z  {, i6 W
  897. ;extension=php_pdo_pgsql.dll. W, o/ |! B. `5 ~" b0 E
  898. ;extension=php_pdo_sqlite.dll
    5 s5 O/ Z1 k9 h" k
  899. ;extension=php_pgsql.dll
    : p4 W  ~% s  ]  F+ o4 N* M
  900. ;extension=php_shmop.dll
    7 z% j9 |$ |) f- Y3 Y1 ^, Y9 i
  901. ; d( _/ C. j  s: q
  902. ; The MIBS data available in the PHP distribution must be installed.
    ( h/ u  E6 m& a' k+ c, F
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    , M1 i4 J* p! ~% T' i9 Y/ @5 s7 k0 X
  904. ;extension=php_snmp.dll: H8 J/ Z* v# N& s" H3 |
  905. " B, h0 r$ _6 m, T0 h0 W5 [: B
  906. ;extension=php_soap.dll( [& {- X$ l7 c; D$ s) d
  907. ;extension=php_sockets.dll
    3 I' C& _3 J* q9 ]! x3 j
  908. ;extension=php_sqlite3.dll
    9 |2 O/ u# I; @( V
  909. ;extension=php_tidy.dll
    9 Y; l) V7 c) n/ V: k
  910. ;extension=php_xmlrpc.dll# z, H* q, r( ~
  911. ;extension=php_xsl.dll7 w3 W2 I1 Y& ^

  912. - H# e( Y2 a  M* _
  913. ;;;;;;;;;;;;;;;;;;;
    " q- h" T  d6 j: h
  914. ; Module Settings ;
    ; y# H/ Z# u3 \* x* c
  915. ;;;;;;;;;;;;;;;;;;;5 A: g; x% t! N/ Z6 h
  916. 5 M9 ^6 S/ I3 x
  917. [CLI Server]" F' O! B$ y8 _' d: o" m4 W# w
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    4 X' G' i" g! O
  919. cli_server.color = On5 N7 s' i/ n) p# R

  920. 8 y8 c% ?0 B# \/ i! u8 G- ^
  921. [Date]
    9 I8 V) v3 u, l. D/ B- y9 O8 t
  922. ; Defines the default timezone used by the date functions
    ) m: S6 D3 j! H: c" Z
  923. ; http://php.net/date.timezone
    ) d5 O% Z0 U+ o" D" X% J! i
  924. date.timezone = PRC+ D1 b8 @. C$ K8 o

  925. / @! J( p/ u( n; N5 q
  926. ; http://php.net/date.default-latitude7 u3 H; ]: `. _3 ?4 x* j/ r4 n
  927. ;date.default_latitude = 31.76671 j) q9 J2 M3 K" J

  928. & H- M( U. i% c& X3 f
  929. ; http://php.net/date.default-longitude
    ) }! k$ t( m' M  p
  930. ;date.default_longitude = 35.2333& q9 s- p1 w2 u+ D2 K4 R  ?( w" k  v

  931. 3 D; p6 R/ O/ Y9 B
  932. ; http://php.net/date.sunrise-zenith0 z/ Y2 a: X% s* _: N; N
  933. ;date.sunrise_zenith = 90.583333
    0 R% E* y* \7 z4 s; U; v

  934. 5 k# I. t* ?& w& a7 v: o: L
  935. ; http://php.net/date.sunset-zenith1 Q1 U, g  T" q0 a, z% ]& H- y* {
  936. ;date.sunset_zenith = 90.583333
    / g+ e1 X! Y& r( X3 K
  937. ; \. d+ {( ?1 W1 E9 p
  938. [filter], T  D+ x, y) ^; d; Y7 u
  939. ; http://php.net/filter.default
    4 v0 Q5 i0 w( |2 W. j+ u2 K. u
  940. ;filter.default = unsafe_raw
    % }1 w' F6 V* M& ]
  941. - j& a% J( l, ]' @6 R
  942. ; http://php.net/filter.default-flags# ^4 k% r0 ]. D: X: T
  943. ;filter.default_flags =  |' a5 C8 N* j
  944. ( [8 e3 I$ J9 H3 b( U6 t( ^; H
  945. [iconv]
    9 {/ U* t: z) _1 E0 A
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    * ^8 V; B- s- k7 Y) v1 m- A( {& `
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    * }2 \; v& X# a* W" k
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding  W9 s& [; P( K1 S9 O
  949. ;iconv.input_encoding =
    # i$ V4 s( i4 x% A* Y( [
  950. $ ~( [" b1 z" e
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.; H$ i- D3 p8 k' R4 {# Y" T! f
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used./ }+ S7 G! G2 L; ]
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    7 p) s0 d- M* `4 H/ E6 a: ~
  954. ;iconv.internal_encoding =/ d# ?  P7 i8 e! t/ }6 j% g" ]
  955. # E4 V: V: ^" b! F' _% b: D
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.$ t* Y' |; e) T: k* N* i! f: @
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.6 t) w6 V" f/ |, }. w
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding6 N- h. }9 v% [6 v. D; M, s
  959. ; To use an output encoding conversion, iconv's output handler must be set
    ; y' Z& \2 D+ ?! M
  960. ; otherwise output encoding conversion cannot be performed.
    0 \3 O# `& K9 j% M
  961. ;iconv.output_encoding =
    - F/ k6 q" \4 w' a' d9 y2 b
  962. ( y' N3 W. h5 V( M! b% z& F
  963. [intl], h( v, Q9 I. o# v
  964. ;intl.default_locale =% K. [& v5 C( d% K! {8 ?
  965. ; This directive allows you to produce PHP errors when some error
    3 B' q, b( O5 N
  966. ; happens within intl functions. The value is the level of the error produced.2 z: K0 x) g$ x- K& @1 k
  967. ; Default is 0, which does not produce any errors.
    ! ?- F# V8 r7 f2 V( e
  968. ;intl.error_level = E_WARNING
    1 n) R% f4 n2 H7 w
  969. ;intl.use_exceptions = 0
    1 G" @+ k7 j, ]$ K- `; h$ G# G

  970. 3 R7 C2 P3 t2 A+ }9 h" ?; z+ O
  971. [sqlite3]
    , ~4 i  b- T3 r  }- }" J. g1 E
  972. ;sqlite3.extension_dir =
    % z% r6 E  H% Y, g5 |, \$ G
  973. # P2 m3 f1 A7 v4 j+ d
  974. [Pcre]4 x* a  B5 M& b6 \5 J
  975. ;PCRE library backtracking limit.
    + P6 G! Y$ W6 N+ E) U
  976. ; http://php.net/pcre.backtrack-limit; S: y7 b9 g' b& N5 S9 L( `4 Q
  977. ;pcre.backtrack_limit=1000000 Q$ ^* o" ?# B7 z1 V) \

  978. 4 R/ W" W/ g+ C  `# E
  979. ;PCRE library recursion limit.- `) k2 N. [) A- C8 M4 O
  980. ;Please note that if you set this value to a high number you may consume all
    ! m4 U! q7 Q( r* Y& y
  981. ;the available process stack and eventually crash PHP (due to reaching the
    ) x) E; h( T8 f! G
  982. ;stack size limit imposed by the Operating System).
    + ~+ |: N, [, H# c' Z
  983. ; http://php.net/pcre.recursion-limit; i% z6 o1 B9 P! t$ X8 B
  984. ;pcre.recursion_limit=100000
    7 O9 G! Y, O. B! l( p

  985. 7 e; C5 }* c) H. s
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    : N4 X5 \6 L2 n4 _3 a
  987. ;library to be compiled with JIT support.
    * K! z1 t  r% \' x" T. F$ O& W2 d
  988. ;pcre.jit=1
    . E3 w. W# L1 F4 G% ~; g8 u" i
  989. # O$ G- t2 S* `1 v0 v+ L; [
  990. [Pdo]
    * }; G: X6 }5 B! Y% Y
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    # x  m2 N( _8 k4 Q1 \" b- T
  992. ; http://php.net/pdo-odbc.connection-pooling
    # O/ V% E- g7 \, Q
  993. ;pdo_odbc.connection_pooling=strict
    1 }5 S) ~, ^, b9 |9 F
  994. # d, t% L( O7 B3 G, Y
  995. ;pdo_odbc.db2_instance_name
    9 l, v( z) b6 k* f5 E
  996. 8 H$ T4 E) e' \; }
  997. [Pdo_mysql]
    / P2 v% f; k: o5 @4 q1 f- ^
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & x9 ?* L: G. [3 G9 h8 h
  999. ; http://php.net/pdo_mysql.cache_size
    . g5 E/ d, F& a6 L" X: j1 X) u
  1000. pdo_mysql.cache_size = 2000) }* r/ e: v! q, N
  1001. 4 @( P+ ]3 [9 K  G: H
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in- q4 c/ ~$ P0 C* ?
  1003. ; MySQL defaults.
    2 l' l& q4 q. c7 H4 u
  1004. ; http://php.net/pdo_mysql.default-socket
    / j: ^9 e4 ~9 e4 r( P  W" U2 x
  1005. pdo_mysql.default_socket=# J$ T' A# f* j: k3 e- X; m

  1006. , _9 h& ^+ j" A& ?  V" {6 n! h
  1007. [Phar]
    ) Y$ u4 h% `: D$ _- s# k; @
  1008. ; http://php.net/phar.readonly
    4 k" s* V% E+ C. F/ m
  1009. ;phar.readonly = On/ b  ~3 L3 y. _0 y

  1010. " M4 g2 y2 j, ^7 S+ U# ?) n' j" n
  1011. ; http://php.net/phar.require-hash
    ( S( h( N& b. A, [# r
  1012. ;phar.require_hash = On* l" N( [" P. i9 ~
  1013. " g0 o$ X" e/ j6 b( J) G4 c; A+ O
  1014. ;phar.cache_list =
    6 L3 h+ C) B3 d
  1015. , H) B  Y' J9 ^
  1016. [mail function]8 |& r1 E% ^/ |* V
  1017. ; For Win32 only., o" m3 k: c1 V
  1018. ; http://php.net/smtp
    9 F+ X) r7 f7 Q+ i0 g, L
  1019. SMTP = localhost/ @5 \" ]2 l, H$ V+ p- }
  1020. ; http://php.net/smtp-port
    * U; l% E1 I5 k$ ]. t: d
  1021. smtp_port = 25$ g2 ~( J8 W# Q' H; O8 R$ c1 P

  1022. ; D) e+ S0 q- h7 ]# u* L; S. d
  1023. ; For Win32 only.
    3 g7 _, Y/ \) e+ z
  1024. ; http://php.net/sendmail-from
    / ^6 M3 h3 O) m3 K; F$ O
  1025. ;sendmail_from = me@example.com* n/ P0 V- R, T! f" v
  1026. 9 W; v4 ~: R2 u8 Q* e7 {1 G0 X: \# _
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ; k/ r3 ]" _* M0 Q7 i2 P8 z
  1028. ; http://php.net/sendmail-path5 X8 C/ {! \2 Z& b7 L  H. o
  1029. sendmail_path = /usr/sbin/sendmail -t -i% C# t; O9 e' S5 R8 S( q

  1030. & }0 }. r% W; s$ [; L1 T& D/ l
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    4 E0 D7 r3 B" h6 ~, T# c
  1032. ; to the sendmail binary. These parameters will always replace the value of& N8 ^/ J+ H4 [# E0 V+ m: B% b
  1033. ; the 5th parameter to mail().4 Y0 x1 m/ ~- H8 r9 J
  1034. ;mail.force_extra_parameters =/ R: E+ F- Z- z( w

  1035. # P. H& j3 Z: R1 M- q: r
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
      f. O6 T6 I0 r3 a
  1037. mail.add_x_header = On
    : t, T" E+ l: @) g: Q  f
  1038. 8 v6 ^* p: W. x: B
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    - C7 z, }# x$ T
  1040. ; the full path of the script, line number, To address and headers.8 E: {2 _! t- e6 V8 @! Y
  1041. ;mail.log =/ v$ O1 I; E( w, F# A
  1042. ; Log mail to syslog (Event Log on Windows).
    ' J3 n4 x- H9 m
  1043. ;mail.log = syslog0 E" }" g: Z0 F$ |8 `# b: ?

  1044. % v& |8 o/ ]8 e" g( {- J: f
  1045. [SQL]
    1 h7 I1 W! u% N
  1046. ; http://php.net/sql.safe-mode
    / B* b( b) f- P* X# g  \
  1047. sql.safe_mode = Off( O" O, n  w4 z5 |( r

  1048. 4 C4 g$ |* s, V' D" ^
  1049. [ODBC]
    3 e# O; l0 n. ^/ m
  1050. ; http://php.net/odbc.default-db
    9 k: ~& Y- j9 ~
  1051. ;odbc.default_db    =  Not yet implemented
    0 W7 u4 ?4 i; U- m
  1052. 8 n& I6 N0 l3 @  ~. F8 X
  1053. ; http://php.net/odbc.default-user
    : }! u* P4 S  t6 f; ]
  1054. ;odbc.default_user  =  Not yet implemented1 @4 A. n) \5 ]' j9 }
  1055. 8 x0 S' \5 Z; W& w) j
  1056. ; http://php.net/odbc.default-pw! D0 C" m: t/ U# O- d, N5 w
  1057. ;odbc.default_pw    =  Not yet implemented
    $ i/ `7 o" X! T

  1058. & D5 y. X# p. b& k( @8 ?, n2 o( W
  1059. ; Controls the ODBC cursor model.1 T, {. ?+ R/ M5 e$ z
  1060. ; Default: SQL_CURSOR_STATIC (default).) u# S+ V% B/ s! [1 A9 n
  1061. ;odbc.default_cursortype0 Y* }6 C! W  P! |
  1062. - D1 [& C' Y6 @6 \. n1 R
  1063. ; Allow or prevent persistent links.7 q0 B' j/ F  v- C+ ?5 ?8 d
  1064. ; http://php.net/odbc.allow-persistent" m/ y7 l7 j' R/ u1 X( Y
  1065. odbc.allow_persistent = On$ |( z; y" y1 |- S+ J$ q0 Z
  1066. ) h$ _* Y) D# ?+ D* v3 f
  1067. ; Check that a connection is still valid before reuse.3 V: Y& y7 z  G2 ^7 j2 w$ z
  1068. ; http://php.net/odbc.check-persistent6 g  b: u; E6 w) |2 L
  1069. odbc.check_persistent = On
    ; N+ {5 q  L. B+ K2 P8 }( x
  1070. 9 o( m# _+ g! }, j- D" ?% f
  1071. ; Maximum number of persistent links.  -1 means no limit.( b5 o% A5 l' u" [( G1 A: _: e
  1072. ; http://php.net/odbc.max-persistent8 ?) q" R& m9 \$ ~3 ^0 f/ h4 \
  1073. odbc.max_persistent = -14 S6 D& y( ^; o, ]5 g% }
  1074. 1 a6 U5 ]* e* B$ e; |4 M$ [; Y
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! b" e, Q0 `! E/ r
  1076. ; http://php.net/odbc.max-links6 W5 m' e5 S4 f) s* t1 @5 q
  1077. odbc.max_links = -18 s8 x+ R! [6 O- b9 a

  1078. 8 P  p- m* B0 d. D
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means. X! c3 C" Y/ \! k+ k2 T. ~: f
  1080. ; passthru., k7 _7 `( l, H1 x, f
  1081. ; http://php.net/odbc.defaultlrl
    8 h3 g% V2 ]+ R; Q& d$ Y* F- K
  1082. odbc.defaultlrl = 4096
    . U/ d( g8 ~) _/ u
  1083. $ `1 }, e9 j6 v: V. Y0 Q  l
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.: H+ B" m6 I6 T  g" g
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation/ |: M3 ~9 F: P+ f7 F* w
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode+ K  x5 d' B' ^* O
  1087. ; http://php.net/odbc.defaultbinmode- h) Z) g' M6 M- t
  1088. odbc.defaultbinmode = 1
    * c% y) n& V) t! z9 y- S
  1089. / {6 H3 `( q# n6 Q/ H
  1090. ;birdstep.max_links = -1
    / A4 R/ I$ ]8 v6 O! @4 i% C' |. P1 P

  1091.   ?9 [) F9 Z9 ]/ A
  1092. [Interbase]  P$ E! f8 V. {7 x) s& P' _3 E2 y
  1093. ; Allow or prevent persistent links.
    * ^9 P! \* n( V7 I$ @2 O
  1094. ibase.allow_persistent = 1
    7 |# J1 d( Q! [2 V5 ^

  1095. ( Q  h. W8 s7 {7 V
  1096. ; Maximum number of persistent links.  -1 means no limit.
    / n  ^" R( r9 d: w3 M0 ^8 _; \: l
  1097. ibase.max_persistent = -1
    . G% P, U# w/ z- C
  1098. 9 T# e& G4 D: I, E' e" @/ f, F% H* V
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.8 O$ ?+ j: W  m% z2 J
  1100. ibase.max_links = -1
    , M( ^6 E9 L. ?7 a6 P. Z* m
  1101. 8 F: s2 ], M2 Z4 _
  1102. ; Default database name for ibase_connect().
    ' E/ @/ D% U9 \, I) w
  1103. ;ibase.default_db =* e* F5 X* w1 ^8 Q) f
  1104. $ d6 d; Q5 @! C- V5 w, E( Q
  1105. ; Default username for ibase_connect().
    + y4 w, t, _  r
  1106. ;ibase.default_user =
    3 r2 b* z" B, A" O3 X8 D
  1107. 5 p5 V6 G: f1 o& o1 B
  1108. ; Default password for ibase_connect().) X5 n: e3 E/ |: s6 C6 u8 ]
  1109. ;ibase.default_password =
    # Z2 \: W- _, l/ V( I$ b" b
  1110. 6 ?6 z, b7 F. m0 B
  1111. ; Default charset for ibase_connect().2 [* r2 s# |3 Q3 Z% S
  1112. ;ibase.default_charset =
    9 W3 l  _/ h4 F/ w/ f, j

  1113. 9 b0 ^. t# X- u# h) b: |
  1114. ; Default timestamp format.9 \0 Y# H  q6 K
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ( ^, w6 v& w- r, i1 Z6 u5 F, f- z9 ?

  1116. * S. o( ^8 q3 S6 J
  1117. ; Default date format.
    3 y; s; Z; x7 d  }* A' j2 |: Y! q
  1118. ibase.dateformat = "%Y-%m-%d"
    $ Y, W& _- p6 a+ J7 E3 k( {
  1119. ( B7 [6 S5 j  m9 G3 B
  1120. ; Default time format.* w, W; Z# ]4 r
  1121. ibase.timeformat = "%H:%M:%S"3 ~8 t8 R" N; K' b4 i* q

  1122. : W) P$ l; E. H& @  ~  e  _
  1123. [MySQLi]
    & X# f/ p/ _: {6 y, E) B. u

  1124. 9 d/ _, e0 _, p% o: l2 e) f
  1125. ; Maximum number of persistent links.  -1 means no limit.+ U5 i/ C: S( P; }2 \
  1126. ; http://php.net/mysqli.max-persistent
    : i  J( m# S1 s( U) I. V7 ^/ B
  1127. mysqli.max_persistent = -1
    " G3 ^9 O) {: a0 Z! i: R/ X
  1128. 1 B; f5 P. U: J/ q% Z8 y4 O
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    - Q; d2 ?5 u& R7 p
  1130. ; http://php.net/mysqli.allow_local_infile
    ( j- _1 D3 P" O: a- O7 `6 d8 p
  1131. ;mysqli.allow_local_infile = On" o- r+ p$ P* ~$ E
  1132. 3 h$ _, Q; m/ J+ M
  1133. ; Allow or prevent persistent links.; x- R3 o* z4 C- O
  1134. ; http://php.net/mysqli.allow-persistent
    % t1 E1 [: a" V# T. Y  o+ t
  1135. mysqli.allow_persistent = On, Y% U" F  \* U! G/ s# E4 d

  1136. + y. e( _2 s* ~
  1137. ; Maximum number of links.  -1 means no limit.
    8 ]$ A( f+ _3 r
  1138. ; http://php.net/mysqli.max-links
    / v3 U0 s# U/ F) X
  1139. mysqli.max_links = -1" l! \! f5 {1 [# T+ b

  1140. 7 p4 o- l4 T+ O0 R5 y  `$ C
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & f, j" T* n* Q( C& S; S
  1142. ; http://php.net/mysqli.cache_size9 C# i2 c4 ~' k7 D3 O
  1143. mysqli.cache_size = 2000' ^2 m! x3 X* v: p/ T5 k  M7 D
  1144. 8 b( G, x( {0 x7 N' G! p0 V0 S
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use4 t5 I% Q; o# d5 Q/ k0 {+ w
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the6 G" g# g: [* B$ i9 c  l4 b
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    2 O  C6 O( U. S! T) k4 [
  1148. ; at MYSQL_PORT.# w/ p' m, s. P( t
  1149. ; http://php.net/mysqli.default-port
    : l$ O- G7 P* Y# I- A; L& [
  1150. mysqli.default_port = 33063 I, j1 c1 F" B( _% R& o
  1151. 2 j2 `5 f1 O! ~, b/ w
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in4 Q3 ]8 }7 m4 A
  1153. ; MySQL defaults.! o4 [  Y3 x- m" U4 H& C: u3 ?6 c
  1154. ; http://php.net/mysqli.default-socket/ ^9 x& P. v. V9 N* X9 f0 B
  1155. mysqli.default_socket =
    2 y! A' w6 r- T

  1156. " J* ^/ G$ i5 @' c4 _, K0 d
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).* Z2 v" k0 `+ T  _
  1158. ; http://php.net/mysqli.default-host
    2 i7 k' m/ \9 A* F! Y* [$ W
  1159. mysqli.default_host =
    8 `  a! [0 T" ?# k
  1160. - Y5 ~2 y: w. z4 z. u
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    8 e% m  B& w. \9 g: O  g
  1162. ; http://php.net/mysqli.default-user
    7 g+ l( @/ g; y
  1163. mysqli.default_user =9 I% l: }7 [$ M

  1164. 8 |- J5 A  u# {5 K3 w
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    5 V$ W+ t: ^# @2 Y
  1166. ; Note that this is generally a *bad* idea to store passwords in this file., f% d! C" b: J
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    - i- M! G0 n0 R' G1 z* P* o
  1168. ; and reveal this password!  And of course, any users with read access to this
    . k/ ?& s' w2 ^7 U, t/ ]5 s2 |7 t2 W3 F
  1169. ; file will be able to reveal the password as well.
    4 j0 l+ K# ^* L7 s, C% d3 S, g6 \
  1170. ; http://php.net/mysqli.default-pw, B2 Z% U: {, R# Z
  1171. mysqli.default_pw =7 I; X2 s: F; \: e7 ?4 U+ r
  1172. 0 q1 n; m6 x4 G
  1173. ; Allow or prevent reconnect; M  @" Q; p8 T" X+ @+ V* C: T5 B
  1174. mysqli.reconnect = Off* B  ~% _, t7 L% I

  1175. ( P! m. F4 \2 R. _
  1176. [mysqlnd]
    4 r: ^' x% M& ]8 P
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    : m% Y3 Y& I6 W. v" w
  1178. ; used to tune and monitor MySQL operations.
    : I. o: o4 z; R* A7 g, X
  1179. ; http://php.net/mysqlnd.collect_statistics5 F; n9 [- v% u  w
  1180. mysqlnd.collect_statistics = On$ ?& _9 m, E5 q8 r, F
  1181. : T) D- O8 v3 d" `5 @3 ~
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be7 |: ]) a" |+ j* m4 ]" U
  1183. ; used to tune and monitor MySQL operations.; c2 y9 V8 @) w5 n- @% g
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    - [% m* z0 H3 l3 N7 [4 z7 @
  1185. mysqlnd.collect_memory_statistics = Off
    . f  a% }7 g: s+ [  l, `

  1186. % K  w% p- i0 a: e
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    % j, v" e7 W. |9 R, l  t
  1188. ; file.
    9 @' K: `! b7 p) T; \4 p: Q
  1189. ; http://php.net/mysqlnd.debug
    " ~$ }, @6 z7 z4 j! f2 _' J  B- B
  1190. ;mysqlnd.debug =
    ; [& Z# t7 X$ S. A! g7 _
  1191. + R$ e) c3 k# Z5 b/ c# C1 ^* z
  1192. ; Defines which queries will be logged.
    9 R. N; L0 n9 `9 V
  1193. ; http://php.net/mysqlnd.log_mask$ }/ g$ K3 w% T" P
  1194. ;mysqlnd.log_mask = 0
    + }6 P! M, X# O& Q1 h

  1195. 0 S6 q3 K4 P" Q: [( P; P# J
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.# c. A' ?2 X2 b* P5 K
  1197. ; http://php.net/mysqlnd.mempool_default_size% \4 N; ^, N! D" K# c- c6 C" u; |. b
  1198. ;mysqlnd.mempool_default_size = 16000
    8 k$ t: F1 H$ v, d2 Q1 Q

  1199. 7 n! {' K8 X8 x
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ) O- `3 d" O3 W# h& g
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ) ], W0 N' h1 O$ ?" G
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    7 }0 ]; Q5 k; o* d; C. W

  1203. , R+ v1 c' @) x+ S" k
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    " ?4 g. P1 ^( S9 Q. K
  1205. ; bytes." W* u, p$ {. C# J# x# e
  1206. ; http://php.net/mysqlnd.net_read_buffer_size% s: q  D8 P$ [2 x! T% G% S
  1207. ;mysqlnd.net_read_buffer_size = 32768
    , {4 G! [% Z7 w6 \: [% ?6 C& D$ x4 M
  1208. : ]5 Q. J0 Y2 w# `0 B
  1209. ; Timeout for network requests in seconds.
    . N7 b6 }. _5 l( ^& M
  1210. ; http://php.net/mysqlnd.net_read_timeout
    8 `4 M1 \- J  [# B, y# o& {6 D
  1211. ;mysqlnd.net_read_timeout = 31536000
    , M8 u  g. Z* x2 c! }# s5 g
  1212. 3 t: E. Z( H2 f1 T
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA2 g, r+ i+ D* c+ u+ [& Y. \
  1214. ; key.0 T# R4 Z! k) O& w
  1215. ; http://php.net/mysqlnd.sha256_server_public_key6 e( m. \2 M3 l$ p; D
  1216. ;mysqlnd.sha256_server_public_key =( y! v! r2 R2 b" ?' L
  1217. ' t% E* E9 v6 Z0 p3 H0 e
  1218. [OCI8]
    * Q2 B/ J" [+ m6 e

  1219. + m& L! S% I7 X( O/ I3 p
  1220. ; Connection: Enables privileged connections using external+ r, R* W5 e* j( G
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)2 i$ N, _  h+ L! O8 |  j
  1222. ; http://php.net/oci8.privileged-connect
    6 |. w% d! G: o& ~$ v" W
  1223. ;oci8.privileged_connect = Off
    + y$ I8 i% N9 P3 q* l$ e" M$ g: k

  1224. , l) W# R9 c& v5 ]7 G# J; z
  1225. ; Connection: The maximum number of persistent OCI8 connections per9 L% r: m/ ?# v) M# I/ o6 w& V5 C3 T
  1226. ; process. Using -1 means no limit.5 {$ N- S; l4 _8 Q; `8 v
  1227. ; http://php.net/oci8.max-persistent/ b; X0 z3 o- r" D
  1228. ;oci8.max_persistent = -1: R  b: {  z7 D5 R7 E
  1229. 3 K) q, f! ?# T5 f) G# |* m
  1230. ; Connection: The maximum number of seconds a process is allowed to$ ]9 y, A( e# W6 V) ^
  1231. ; maintain an idle persistent connection. Using -1 means idle; t3 q. E6 L# |' `. ?, D
  1232. ; persistent connections will be maintained forever.
    - O& q0 N1 l( b7 a0 n0 a, ]
  1233. ; http://php.net/oci8.persistent-timeout
    : H( W8 ?+ k8 Y" g( n# m
  1234. ;oci8.persistent_timeout = -11 y1 h+ f& `% }( N, s' U

  1235. : Z# O( @$ t) [+ p  h
  1236. ; Connection: The number of seconds that must pass before issuing a. p( c9 |2 O" p3 W" a" D# L* i
  1237. ; ping during oci_pconnect() to check the connection validity. When
    . x# l$ n# c4 b3 V9 k- E
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables% D8 X: j  f9 u. n; i" \! ^9 F1 \0 w# n
  1239. ; pings completely.$ p8 D0 s5 I- W( A: F4 j  P7 N1 w: I
  1240. ; http://php.net/oci8.ping-interval
    4 n/ R. R0 C! O: e  S/ A+ k
  1241. ;oci8.ping_interval = 60
    8 [1 q- l' T0 z4 ~

  1242. 2 l( e+ ~6 P1 ?( j5 ^1 d# z: D
  1243. ; Connection: Set this to a user chosen connection class to be used
    # ?  e6 f+ G) y3 m
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    9 M; i+ U7 V* Y/ U! c9 v$ o$ C9 q+ n
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to3 w, c4 c; C2 h4 t
  1246. ; the same string for all web servers running the same application,
    3 @" `3 r! `# s* w: V+ x/ W8 D$ A
  1247. ; the database pool must be configured, and the connection string must  w: n& S3 N+ R" ?2 K$ }, j5 o
  1248. ; specify to use a pooled server.
    7 d/ h/ d$ p) k2 T
  1249. ;oci8.connection_class =+ s7 Y" u, ~1 R+ J$ y7 r

  1250. % m+ Y4 Z) c  O* v8 @5 G
  1251. ; High Availability: Using On lets PHP receive Fast Application- y0 b% [! o3 `
  1252. ; Notification (FAN) events generated when a database node fails. The9 u3 p; E3 \3 ?' k& Y
  1253. ; database must also be configured to post FAN events.8 X  I6 q) C- x6 l
  1254. ;oci8.events = Off
    , M8 J; D7 p; T( G. X- r

  1255. 7 O; z2 K2 G9 G2 c* K
  1256. ; Tuning: This option enables statement caching, and specifies how. b7 b  ^  d' K+ n
  1257. ; many statements to cache. Using 0 disables statement caching.
    / H2 D5 F5 ~7 f) h
  1258. ; http://php.net/oci8.statement-cache-size+ t+ L" z  Z0 A! J, s
  1259. ;oci8.statement_cache_size = 202 B& S2 X* ?% r- S/ D4 K

  1260. 6 s$ g/ Z3 o% {9 h$ Q: K# m
  1261. ; Tuning: Enables statement prefetching and sets the default number of' _% w! b/ `$ ~. c* K: a
  1262. ; rows that will be fetched automatically after statement execution.
    - @/ K' r" ~; |" C- N1 k
  1263. ; http://php.net/oci8.default-prefetch
    - M. N6 o. U2 E3 w
  1264. ;oci8.default_prefetch = 100
    5 D/ _5 ?, N& T: }

  1265. , o! ]2 E) v5 L1 v) }5 L) h
  1266. ; Compatibility. Using On means oci_close() will not close
    , N( B( N- @- W* M, ~
  1267. ; oci_connect() and oci_new_connect() connections.1 \* u4 Z# G! L& f6 A
  1268. ; http://php.net/oci8.old-oci-close-semantics9 K( E4 \0 |& L3 k
  1269. ;oci8.old_oci_close_semantics = Off& i* k# F% s) x1 v6 M
  1270. 2 u+ v* a, _: D$ F) Z8 U
  1271. [PostgreSQL]
    ! p7 Y* n4 N8 L9 l: G! i
  1272. ; Allow or prevent persistent links.) S& V- n3 \7 n! X+ ^$ ?
  1273. ; http://php.net/pgsql.allow-persistent; g" V" g1 t% s; x+ e" [
  1274. pgsql.allow_persistent = On5 K; z' h6 @& ]

  1275. ; e6 T/ F$ ?& f3 y7 }3 s
  1276. ; Detect broken persistent links always with pg_pconnect().
    " P/ o7 l7 r9 G' f& V  E6 B% O
  1277. ; Auto reset feature requires a little overheads.
    6 U- g4 k7 P2 c8 H
  1278. ; http://php.net/pgsql.auto-reset-persistent
    : w1 y" W  I- Q1 W3 U; ?8 |$ ?
  1279. pgsql.auto_reset_persistent = Off
    . u6 |7 M" Y, Y6 j$ N
  1280. 5 l3 N" c" \, u/ e- j
  1281. ; Maximum number of persistent links.  -1 means no limit.
      C4 s* m$ P& P: }' q$ f' E, J7 z
  1282. ; http://php.net/pgsql.max-persistent1 y- I- m/ \5 g( \2 p
  1283. pgsql.max_persistent = -1& X5 U1 {- S' N/ @6 ?
  1284. + d! d) k1 e% k  }" E7 D* L, ]
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.+ P& m& M2 T; k9 S) N$ w8 ?
  1286. ; http://php.net/pgsql.max-links- u4 v2 V0 {5 d" d# ~; ~
  1287. pgsql.max_links = -1  S$ L, l  H& U5 T- C! |# a8 {$ a
  1288. 6 W9 V* c, o, _
  1289. ; Ignore PostgreSQL backends Notice message or not.
    7 O7 g7 D) _0 Q) t% S
  1290. ; Notice message logging require a little overheads.
    8 p/ V3 K0 c- B/ V% b
  1291. ; http://php.net/pgsql.ignore-notice
    - u, D& v8 m* k9 F; q/ x
  1292. pgsql.ignore_notice = 0) K9 {. I, `7 N# F! b

  1293. + p+ o0 z0 N: Q: v7 [
  1294. ; Log PostgreSQL backends Notice message or not.4 D, n: d; r7 U3 V4 S" I
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ) S- N% f9 A8 z. W$ k- l
  1296. ; http://php.net/pgsql.log-notice. N$ k. c$ @( ]! {3 x  X
  1297. pgsql.log_notice = 0
    * z+ C3 X7 ^! i1 M9 s5 }# V2 g6 r

  1298. 6 a9 O* C9 V; c; S& K3 s: ]
  1299. [bcmath]  ]" S( V4 h! y" U
  1300. ; Number of decimal digits for all bcmath functions.
    8 _$ w  `4 q& G4 x" d
  1301. ; http://php.net/bcmath.scale( P: l$ n( [/ F5 {
  1302. bcmath.scale = 08 z. Z# }4 X& L
  1303. & J+ t! `0 k$ [5 b3 f) K
  1304. [browscap]$ n: O5 l. }& Y7 ~
  1305. ; http://php.net/browscap( z+ v" G$ E* `7 O) ?0 J4 D
  1306. ;browscap = extra/browscap.ini
    ) G7 k$ p1 E; t! Y

  1307. % q& X  T1 S0 }0 ]+ J1 `
  1308. [Session]6 t& r& N8 U; G
  1309. ; Handler used to store/retrieve data.
    + d  |0 H! r( H3 C- m  R
  1310. ; http://php.net/session.save-handler
    4 h1 W* J# ^$ e( n+ G4 I+ x
  1311. session.save_handler = files
    4 f% J. _2 h+ `3 H
  1312. 6 r3 V; f/ j; ?: x: M* t- X
  1313. ; Argument passed to save_handler.  In the case of files, this is the path$ O) p! s8 N2 ~* v
  1314. ; where data files are stored. Note: Windows users have to change this
    4 o0 ?; }' s* K( }8 p
  1315. ; variable in order to use PHP's session functions.! K/ [( m6 q$ y4 N/ l  C
  1316. ;- w: P& ?! J& o2 j
  1317. ; The path can be defined as:0 u( q* k* w3 B7 O) y' b
  1318. ;) E4 _- Z4 b; C( t% B$ B) X
  1319. ;     session.save_path = "N;/path"
    1 i3 v: K( V! S7 l
  1320. ;
    & R" u" M" b! p! k* f
  1321. ; where N is an integer.  Instead of storing all the session files in
    ) h- p  F7 t# N
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    ( S8 \8 ^6 u+ g8 `. m3 q: O( Y0 q
  1323. ; store the session data in those directories.  This is useful if8 H( e/ C3 N8 s6 Z# u; `
  1324. ; your OS has problems with many files in one directory, and is
    ' {2 C# n" _4 y: y% a! `! w$ O
  1325. ; a more efficient layout for servers that handle many sessions.
    2 L2 r0 W: u3 S1 Q: u5 V& N  r
  1326. ;
    - x' e6 i( ^$ |  O* h! V6 z( r
  1327. ; NOTE 1: PHP will not create this directory structure automatically.' w; [3 ?" b, O) p# a& p% q1 R- H
  1328. ;         You can use the script in the ext/session dir for that purpose.5 r% n8 M  ~3 _
  1329. ; NOTE 2: See the section on garbage collection below if you choose to% i) g4 l! z- V/ r8 W* C
  1330. ;         use subdirectories for session storage
    $ S% |0 T  U7 ^. I% |
  1331. ;/ M; i' `- v4 t* }; L
  1332. ; The file storage module creates files using mode 600 by default.
      ~- x9 |/ C6 t& L+ S, E
  1333. ; You can change that by using
    * I) C7 e. `: t  s4 H8 s
  1334. ;
    # {7 ?( }: r' Z4 p
  1335. ;     session.save_path = "N;MODE;/path"
    8 h  K$ R. s' r% f
  1336. ;
    . R1 i( c8 w" x, h& \6 J/ g/ o; x0 z
  1337. ; where MODE is the octal representation of the mode. Note that this
    3 u8 D6 w  m( A+ S" B/ G
  1338. ; does not overwrite the process's umask.
    & K7 B  ]4 u  @& P" Q8 b9 H* t
  1339. ; http://php.net/session.save-path+ L1 j  ]- D3 n4 a9 g) O* N
  1340. ;session.save_path = "/tmp"
    * ]0 N" f  j- _& e1 k5 U, P: |& _

  1341. 9 @: d: i2 o+ i! S+ T5 i8 v' H6 z# O
  1342. ; Whether to use strict session mode.6 Q. t! d. q' M( x; `+ ^
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    9 i% Q! }/ m/ d2 o8 L
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    8 I1 T4 v) P) l3 }! t) |
  1345. ; applications from session fixation via session adoption vulnerability. It is
    8 y1 z/ t5 p/ m1 [' s
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.7 x" T1 [% M' C% g  c3 y5 y- F
  1347. ; https://wiki.php.net/rfc/strict_sessions
    7 ~# n6 s" a' B& u% U( d
  1348. session.use_strict_mode = 0
    4 _1 v% Z' X* i
  1349. - l7 Q/ r( H" `9 H& r# t
  1350. ; Whether to use cookies.1 A: ?" w& q3 S* I. H
  1351. ; http://php.net/session.use-cookies+ |9 S5 ]7 l+ q2 b5 u6 Q
  1352. session.use_cookies = 1
    9 [4 `+ D6 {$ u2 W! K  X
  1353. ' R! r" h  v6 K. J( N5 k- M
  1354. ; http://php.net/session.cookie-secure
    8 @  Y3 {9 [% [+ Y% g* E4 ]0 q9 b
  1355. ;session.cookie_secure =
    ( h/ g8 `  U- Q1 S  |4 r0 U
  1356. " C" T! b; b5 [. r6 i6 {& T( q' b
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining! M& A/ j! j5 a
  1358. ; the session id. We encourage this operation as it's very helpful in combating
      J" A" b* I& N$ J, k1 M
  1359. ; session hijacking when not specifying and managing your own session id. It is) V) l8 w/ e- n0 l# s9 Z; a% |
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.0 M) q7 K& y7 k# g/ c- {
  1361. ; http://php.net/session.use-only-cookies6 S4 M# l( Z9 _' Q8 t" w) a
  1362. session.use_only_cookies = 1
    $ c$ Y1 S# d! D1 I) B8 l9 L
  1363. % l  j# ^! C4 S
  1364. ; Name of the session (used as cookie name).: B4 ~4 N. i2 J" `
  1365. ; http://php.net/session.name7 z* s+ J$ l; d: [2 q, r
  1366. session.name = PHPSESSID
      i- L6 {/ q0 s' l( B! z* ]: @: O
  1367. * C5 ]8 i9 b% ^
  1368. ; Initialize session on request startup.9 Y! G7 _7 v* n+ ^1 b2 {/ T# L
  1369. ; http://php.net/session.auto-start) E+ w9 @0 ^4 @2 q
  1370. session.auto_start = 0! p! J9 f! c& I7 Q' A
  1371. + {# k: A2 J! ]& }$ [4 r  [
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    - x5 L  o9 Q* I& Z" P
  1373. ; http://php.net/session.cookie-lifetime  G* Z* v1 f! I% V2 k* p0 v! ?
  1374. session.cookie_lifetime = 0
    % C5 h* g5 w4 L. ]: {2 A6 N$ U
  1375. ; A" z- e/ I- j: u; a
  1376. ; The path for which the cookie is valid.$ ?# d% `( y0 t+ c5 O
  1377. ; http://php.net/session.cookie-path
    . ^# U/ v8 J+ U) x" R
  1378. session.cookie_path = /( b3 p: J$ w- s- c9 |
  1379. # X1 Q9 l5 Y& c8 E1 d5 ?/ S8 `! ?  w
  1380. ; The domain for which the cookie is valid.+ ]- K* E8 }9 j
  1381. ; http://php.net/session.cookie-domain) Q( ]9 v% g4 A8 j- x
  1382. session.cookie_domain =
    9 b- {5 _2 A) h+ S, \  B

  1383. 6 K: `; K; |! n6 C
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.  k+ h$ B* j3 s2 x, B6 D- N
  1385. ; http://php.net/session.cookie-httponly; Y' f6 e, r$ N! Q5 x) A6 v4 Z5 x
  1386. session.cookie_httponly =
    2 O% f2 s* v4 G; [6 f( S

  1387. 0 h' [* M" b+ K) q
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    9 @7 l+ P" l+ w4 t- |" v7 |: R
  1389. ; http://php.net/session.serialize-handler
    3 `! L( a+ o. q4 Y
  1390. session.serialize_handler = php$ Y6 k5 l1 M2 W0 ?. C

  1391. ) K& D2 z+ I# _0 |6 h/ X8 `
  1392. ; Defines the probability that the 'garbage collection' process is started
    # B6 \+ `( _3 c$ Y3 Z% ?9 U
  1393. ; on every session initialization. The probability is calculated by using! Z/ N  w7 a4 D$ k# M/ E
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator3 h2 B% k; C3 o5 D% ?; N
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1* }- F* n- d6 v/ ?* r# V
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    * D, Y: o* T0 \$ W% q
  1397. ; the gc will run on any give request.
    % Y  S7 \. K! U" d
  1398. ; Default Value: 1
    1 W* p+ M) x! @4 u$ J5 ]" j) A8 O- B4 ~; k
  1399. ; Development Value: 1! a: g: @6 o: i/ Z- v* Y0 Q
  1400. ; Production Value: 16 P# I0 N2 \* O  h* v1 w8 T+ Z
  1401. ; http://php.net/session.gc-probability/ ?5 `6 S% b: w' w0 B% ]/ l
  1402. session.gc_probability = 1
    ( C3 B( h2 R) f  Y* O: t
  1403. + t: ?+ O& [7 W1 I1 ]6 o4 z
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    * r6 U0 n# |/ N* p
  1405. ; session initialization. The probability is calculated by using the following equation:
    9 q: q3 O' \4 R* ^% `. I- A4 k
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    8 ]  l2 ?' l' a/ }8 x* P" _
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    + X" I, {5 [7 r2 h0 d. v
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    1 T4 H8 T$ @& a9 `& h2 E/ ?
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    0 |. r) i7 x. s7 s5 a6 \
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ' j6 ]  V7 Z# e0 L7 c9 y
  1411. ; this is a more efficient approach.
    # K. O$ G5 x" G; k. r
  1412. ; Default Value: 100; J* o  Z: u7 d9 Z4 |
  1413. ; Development Value: 1000
    6 S: P/ O7 |8 N" v. O
  1414. ; Production Value: 1000
    * Z) u5 f' v8 y4 K6 U) c/ k! _
  1415. ; http://php.net/session.gc-divisor) s4 @4 u: v* L. r
  1416. session.gc_divisor = 10006 }$ C( r  w. t/ N! `4 n( y
  1417. 3 O" Q% ]2 _; R4 T; i2 f7 {3 z2 t
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and7 Z2 F5 h3 C5 g) l* C: u) X, r
  1419. ; cleaned up by the garbage collection process.7 B6 G3 A: _+ n, n: A2 f
  1420. ; http://php.net/session.gc-maxlifetime- |4 C& j% _' B, O  \& {
  1421. session.gc_maxlifetime = 1440
    6 P& U1 J  K; w( z& @
  1422. : n' s8 }7 J$ ?
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    9 N: h, Z7 C+ p. l' b; `
  1424. ;       (see session.save_path above), then garbage collection does *not*7 Q' T& w" m7 B9 E# @
  1425. ;       happen automatically.  You will need to do your own garbage6 [/ s9 w. y# g8 h/ B- M* F9 n
  1426. ;       collection through a shell script, cron entry, or some other method.; g; {9 n. o/ ?+ V: _+ c; B+ ]
  1427. ;       For example, the following script would is the equivalent of4 Y1 z6 Q0 f; m+ z; D
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):8 X: Y( @% ?) d$ @& |  v, w
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm9 a* `, H' n2 E" X

  1430. 8 n1 ]1 j* q- v; t  P* b1 p! j
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
      x& [! W) U5 m1 f6 R% f- B( J
  1432. ; HTTP_REFERER has to contain this substring for the session to be! C. X9 \- X! P, m# ]
  1433. ; considered as valid.7 [8 [# U4 D/ G1 K$ a: T- L0 [
  1434. ; http://php.net/session.referer-check
    * s3 {: N  H/ J1 E
  1435. session.referer_check =' W; e4 W5 ?0 [, b) p

  1436. 8 |" b5 q( M0 T8 h# n% K
  1437. ; How many bytes to read from the file.
      h  X1 Z6 B' A3 T/ {2 c
  1438. ; http://php.net/session.entropy-length1 A( n7 f1 X; _2 ^0 T: R  B# H
  1439. ;session.entropy_length = 32
    ) g8 N7 U% |1 @
  1440. : c$ n+ m5 r( B& E: p4 d6 I; ]  M
  1441. ; Specified here to create the session id.: b8 y; v% r, X& f2 H+ Y
  1442. ; http://php.net/session.entropy-file0 S* A/ m9 e$ C+ b
  1443. ; Defaults to /dev/urandom" r) e9 j9 {+ h3 G
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom( e' a3 Q/ e! W. b7 M& w
  1445. ; If neither are found at compile time, the default is no entropy file.# t! b4 c+ `3 W, ?6 F8 p
  1446. ; On windows, setting the entropy_length setting will activate the
    : i1 o9 `3 M0 D( K6 w( G  M# e9 U+ u- M/ n
  1447. ; Windows random source (using the CryptoAPI)+ w; w3 c: Y4 B$ ]3 ~2 M
  1448. ;session.entropy_file = /dev/urandom2 o! u& N5 F1 U0 K$ n
  1449. 5 p9 N' c. O8 F: [& X
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    , ~: e; e& v  ~9 ^- ~
  1451. ; or leave this empty to avoid sending anti-caching headers.0 S% H- r% w, ~7 N
  1452. ; http://php.net/session.cache-limiter' T9 K' ?( k, r, @! L
  1453. session.cache_limiter = nocache5 E" i0 ^# k" U; I! N$ H3 a

  1454. ) l: g& }0 W7 Y- X. C0 t* z) M, B# [2 c
  1455. ; Document expires after n minutes.
    ' u* e' p. r5 y
  1456. ; http://php.net/session.cache-expire, }1 s  p% J0 {6 z' ~! Z
  1457. session.cache_expire = 180% G: [5 B8 w: B. V3 j6 l/ J

  1458. 0 _+ C/ G2 L1 u( L! i2 `& ]3 E1 ~) R: V
  1459. ; trans sid support is disabled by default.
    1 j5 M" e' t2 I. G
  1460. ; Use of trans sid may risk your users' security.7 O9 G1 S4 s6 c" [
  1461. ; Use this option with caution.
    0 j- h4 P! |+ U' }8 z
  1462. ; - User may send URL contains active session ID/ |2 W, a# w( [0 |+ ]- ]; `
  1463. ;   to other person via. email/irc/etc.
    3 X/ I7 M' g7 u
  1464. ; - URL that contains active session ID may be stored' s6 K. f, }9 x) q+ y8 T
  1465. ;   in publicly accessible computer.9 v* }7 b  z7 j
  1466. ; - User may access your site with the same session ID. F, B# a3 {* Y# a) G* r6 Z  F- i
  1467. ;   always using URL stored in browser's history or bookmarks.
    $ w% v/ i) X3 L- U
  1468. ; http://php.net/session.use-trans-sid- M3 g" B5 [5 D# r, M
  1469. session.use_trans_sid = 0* c7 h$ Y' j" z1 k: v! M, P4 F

  1470. 9 h5 s- y+ ^5 R( i; i* B& e3 T
  1471. ; Select a hash function for use in generating session ids.- {0 d5 T0 c8 I" r
  1472. ; Possible Values/ C. s& q, z+ x4 i& m  }* \
  1473. ;   0  (MD5 128 bits)* o. Y; x" I% ~; R
  1474. ;   1  (SHA-1 160 bits)  T1 A) E, Q5 O  r$ w: a
  1475. ; This option may also be set to the name of any hash function supported by4 ]+ n- c' [3 |: U6 P: k
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()4 Q0 z2 s$ d; o
  1477. ; function.
    / Q0 l; z! I& T  f( D, k; P; H
  1478. ; http://php.net/session.hash-function
    % p' l$ v% ]: Q& g
  1479. session.hash_function = 03 A5 h# _: M- ?9 d9 \2 V& S* l8 e

  1480. ) J  u# {5 w( r
  1481. ; Define how many bits are stored in each character when converting/ G9 T2 Y: @  E0 p% {
  1482. ; the binary hash data to something readable.
    ! {0 u) k" t+ m0 v: L: U  C
  1483. ; Possible values:
    9 |7 ~) B* g8 O4 i, ]4 A9 E
  1484. ;   4  (4 bits: 0-9, a-f)
    * G2 ~8 }, Z. a; b! u; l. z
  1485. ;   5  (5 bits: 0-9, a-v): C0 k) @2 [- R7 d& `
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")- _/ L. d, ^& {9 u4 F6 z
  1487. ; Default Value: 4  d& i: {( \1 M( p7 U  l
  1488. ; Development Value: 5
    % t& C$ U% A/ T1 a. a0 m# W3 R
  1489. ; Production Value: 5$ v) O; Q* ]9 j  e$ C' w
  1490. ; http://php.net/session.hash-bits-per-character& V9 z0 M- P% f1 L# ^% v. [, ~4 {# K
  1491. session.hash_bits_per_character = 5
    # {# Q' C0 X" A* v

  1492. 5 m3 J9 Q9 I6 A& C% S
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    - ~7 m7 U+ C) u) z: j9 Q, A; w  v$ O
  1494. ; form/fieldset are special; if you include them here, the rewriter will' n# [+ v0 a& P. m3 H9 m
  1495. ; add a hidden <input> field with the info which is otherwise appended
    ; z) Y9 q5 `. H% l
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    5 l( [4 ~8 t; C2 B
  1497. ; Note that all valid entries require a "=", even if no value follows.
    8 ?# L8 s2 d! u
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    , N) ]' J" G1 ^, G+ i2 f" Q
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % f' T: q/ L% P  \. n
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( x0 B6 [0 `( s
  1501. ; http://php.net/url-rewriter.tags3 u3 D4 B3 [; B# {" G' N
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry", n8 a  z# A; ?) e: Y- N
  1503. 8 {9 n) R4 M$ y, B, P6 _
  1504. ; Enable upload progress tracking in $_SESSION1 G( o5 J5 v* O: E
  1505. ; Default Value: On
    ) n' J5 {8 |& `
  1506. ; Development Value: On4 V7 {: C# R* Y
  1507. ; Production Value: On) S2 b% _( G) h; y" A
  1508. ; http://php.net/session.upload-progress.enabled
    $ O/ h- Z! Y1 J' n$ q! I; M9 N% ^0 |
  1509. ;session.upload_progress.enabled = On
    ' m! b' P7 J) g- {. g

  1510. & I7 _4 J9 h! N( T2 x3 q
  1511. ; Cleanup the progress information as soon as all POST data has been read
      ~9 a1 R- S6 d: D( s& C, S* g
  1512. ; (i.e. upload completed).
    3 d; ^2 ^- a8 [# Q0 |
  1513. ; Default Value: On
    1 t1 t: q/ @- w; D2 g2 \
  1514. ; Development Value: On& f& C. P; A( w* g
  1515. ; Production Value: On/ e' ~4 w4 V1 E1 K( w
  1516. ; http://php.net/session.upload-progress.cleanup! e) j% d2 k) T" S* U2 y6 a
  1517. ;session.upload_progress.cleanup = On
    / j3 W! i3 e0 l  D
  1518. 0 V# j; s& w  U9 r
  1519. ; A prefix used for the upload progress key in $_SESSION0 \: S- U* z3 \( J7 x* G$ r' I; U
  1520. ; Default Value: "upload_progress_"# t* e2 a1 N3 y: J1 p% m
  1521. ; Development Value: "upload_progress_"/ v" w- f% S0 t% Z- J) Q
  1522. ; Production Value: "upload_progress_"# m7 A/ B4 l% b
  1523. ; http://php.net/session.upload-progress.prefix) _* M8 i' N1 Q+ \8 B" \$ L
  1524. ;session.upload_progress.prefix = "upload_progress_"
    2 |- T3 f7 g7 ]" @5 L* {% Y
  1525. 3 s+ S- J8 K- {9 c; s
  1526. ; The index name (concatenated with the prefix) in $_SESSION# D, ^6 N8 J1 C% g2 m9 G
  1527. ; containing the upload progress information; q" z3 i8 m. y4 ~- a2 m% j5 O
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    * I* _( \/ r7 D) Y" w! u# H
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ; V- W/ {5 F. F' T! \
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . D2 n- j; z+ c: c% p: L* M! G, q
  1531. ; http://php.net/session.upload-progress.name
    7 V, C- s* R) q( c8 {0 y; l+ t* A
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"( G/ z8 i/ d; r6 Q+ z

  1533. 1 V# X+ T. v1 e& m' a3 N+ D
  1534. ; How frequently the upload progress should be updated.- R* I+ e* p. X# H0 U
  1535. ; Given either in percentages (per-file), or in bytes& s* y; x% A0 Y7 W0 W
  1536. ; Default Value: "1%"- Q: f" o2 P' I8 k" p$ s7 ~
  1537. ; Development Value: "1%"
    8 m) ^4 m( P/ u. {5 E3 [
  1538. ; Production Value: "1%"
    $ K- q! u/ `+ o
  1539. ; http://php.net/session.upload-progress.freq
    & o6 ~# ^& E: n& A- v
  1540. ;session.upload_progress.freq =  "1%"2 m7 W$ i5 c! ^. Q
  1541. - S  j+ e: |) x. S) e. X3 r
  1542. ; The minimum delay between updates, in seconds
    , S) [+ [: J  M9 @- A6 C
  1543. ; Default Value: 1
    5 ~8 o- t4 v2 ]& i; f) T- e6 k
  1544. ; Development Value: 1( r" N9 e4 K: c' k9 V! I+ w
  1545. ; Production Value: 1
    2 q: F' K3 J3 B. z9 D: b+ p" j" r
  1546. ; http://php.net/session.upload-progress.min-freq0 B- Z  s  p; `# w
  1547. ;session.upload_progress.min_freq = "1"
    4 D7 U/ r2 v2 ]: |- v) E2 s0 V% ?
  1548. ' N. k: ]* W1 U. W' c3 k7 x% k# b: G
  1549. ; Only write session data when session data is changed. Enabled by default.. \" W( f$ }* E3 K
  1550. ; http://php.net/session.lazy-write' k: b+ v9 a0 k' ?  a
  1551. ;session.lazy_write = On. ~, e8 l: H1 b' `4 p7 @! M5 `
  1552. + w# q* Z9 b) |8 [. _( d2 v% @; E
  1553. [Assertion]% e! S* L$ M9 {7 F& h9 p/ @
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)) {  Z& i% R: y6 m
  1555. ; -1: Do not compile at all
    ' k2 i- a1 ~  O- k  M7 S, n8 y
  1556. ;  0: Jump over assertion at run-time- B5 w5 T6 o( k- F
  1557. ;  1: Execute assertions/ {* u: D$ S, K7 A  S1 C& x3 A0 M
  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)
    ' v* ?  Q, d' i& O
  1559. ; Default Value: 1
    % n* |3 V% B3 x. E
  1560. ; Development Value: 10 y. {4 v! K; y; p8 m
  1561. ; Production Value: -16 ]& z* k! J0 o
  1562. ; http://php.net/zend.assertions
    . m8 V6 W6 h7 k3 R. j( }
  1563. zend.assertions = -1
    4 C1 ^. m# G! L3 ?

  1564. + L9 m, s2 C" o0 ?$ L; o) Z
  1565. ; Assert(expr); active by default.# q9 _6 K+ K7 A) ]
  1566. ; http://php.net/assert.active
      x7 z2 N; w5 x$ _
  1567. ;assert.active = On
    0 @3 C0 N! C6 J9 }
  1568. % m/ M' w* T$ @3 Q' {0 Y0 b
  1569. ; Throw an AssertationException on failed assertions" a( M( J. E( {5 O$ h/ u
  1570. ; http://php.net/assert.exception1 @6 x* U6 r7 D; K, v6 e
  1571. ;assert.exception = On+ K1 o' q+ V1 s9 j/ t4 ~
  1572. + Q7 X4 z  C! C5 H: |1 s
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)1 F0 h  N  U4 o5 {5 d
  1574. ; http://php.net/assert.warning9 L- o0 u) y7 ~6 y# ]4 H! ]$ j
  1575. ;assert.warning = On
    * K$ G4 T# ?2 g) t4 g- i
  1576. ! V6 B. t( z; g. G& \
  1577. ; Don't bail out by default.3 V8 N0 Z  x- `. X5 C9 t6 @
  1578. ; http://php.net/assert.bail
    " X$ z; n& ]6 I! d# d5 m
  1579. ;assert.bail = Off9 J' F( Q5 D7 H- z. c
  1580. 9 k  R7 G5 H' A- d: @
  1581. ; User-function to be called if an assertion fails.
    . ]2 e6 H: S: [, z+ J
  1582. ; http://php.net/assert.callback
    6 y" P3 R& G3 ]- r) @
  1583. ;assert.callback = 0
    8 J6 l5 N) t$ [& w) f; R
  1584. & O/ a1 S+ W( I) {
  1585. ; Eval the expression with current error_reporting().  Set to true if you want) i  }0 A% `" p( X( H
  1586. ; error_reporting(0) around the eval().
    & F7 U* z, [! y& t4 A
  1587. ; http://php.net/assert.quiet-eval
    6 ^$ n  y8 y1 [4 E# z
  1588. ;assert.quiet_eval = 02 _( u6 k! o* F% u
  1589. . I& l4 D! M4 J( H  X
  1590. [COM]/ q/ I$ {& Q0 i0 ]! q( b8 ?5 G" Y
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ; d- X- w0 H2 a  _! V) M
  1592. ; http://php.net/com.typelib-file
    * q: ]. O' n# Y8 w6 P: @
  1593. ;com.typelib_file =" u: e3 d+ F9 s  b% ^

  1594. / d: B5 h+ V( t& e
  1595. ; allow Distributed-COM calls4 }6 d% Z! j. X0 I0 A8 J3 Y
  1596. ; http://php.net/com.allow-dcom2 `) M+ l; N9 R) L
  1597. ;com.allow_dcom = true
    5 M% T% x5 l& u( N$ Z5 b
  1598.   f% G0 K) O- A
  1599. ; autoregister constants of a components typlib on com_load()
    2 z! `+ n% }. g' ?0 H$ t' X' O
  1600. ; http://php.net/com.autoregister-typelib; j/ e1 ]* {* l* Y+ @- r
  1601. ;com.autoregister_typelib = true0 b9 {& P  j# b, c, P  v: x

  1602. 2 d. {" ~7 E0 _/ X
  1603. ; register constants casesensitive& j, P  T: _( Y) ~/ V' z2 N. `. x
  1604. ; http://php.net/com.autoregister-casesensitive6 Q' R" r3 C3 o2 M: p
  1605. ;com.autoregister_casesensitive = false( h. U; m# a2 `, v

  1606. 4 _5 G+ B' g1 |8 }" [* P5 N
  1607. ; show warnings on duplicate constant registrations
    + t2 G& c! D) R' C5 V& j
  1608. ; http://php.net/com.autoregister-verbose
    , F; B, N1 B% w# m' E6 J, f5 H
  1609. ;com.autoregister_verbose = true& B* F7 U4 [; Z  Q. B3 b0 y

  1610. # E6 r) b0 n4 s! f. Z/ [6 y
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    $ Z) |8 E4 B" `/ q7 C* v8 c+ u
  1612. ; Default: system ANSI code page
    : X' w0 U  q: u, w( Y* J5 R+ v
  1613. ;com.code_page=( w0 ~! r' r" K; m  L4 n
  1614. 9 j- Z8 U/ _9 ~2 y9 B6 P7 {
  1615. [mbstring]
    : J4 I- [3 E7 H: q( \
  1616. ; language for internal character representation.4 Q8 X& x2 Q+ {8 k" ]: Y
  1617. ; This affects mb_send_mail() and mbstring.detect_order.+ m6 w4 P: U9 O4 v9 ?3 d
  1618. ; http://php.net/mbstring.language) b! s  t8 Y1 q" a) I
  1619. ;mbstring.language = Japanese
    ; ?% y6 O- l5 u: y0 e
  1620. + P  A7 a& h' X6 N8 f% h$ r, ~) e& d
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    . Y, B. ]  ]; d  q
  1622. ; internal/script encoding.$ r/ `( S; _7 r+ s4 j# G, P
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    : G& a3 T6 v/ d9 D$ B8 o2 Y
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ; U( |0 u- w1 G: ?1 \
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding3 ~# H# ]5 P( A
  1626. ;mbstring.internal_encoding =
    ; X9 S! }+ F" p5 S+ n& e

  1627. + J* u/ {- Z+ j. z- O) G8 w" p
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    , m3 T. L. m9 G7 }  D6 j
  1629. ; http input encoding.
    . r% B% s4 @0 p# h9 P5 s* q2 i5 m
  1630. ; mbstring.encoding_traslation = On is needed to use this setting./ L& ^1 e4 q' M) W" ?& y
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    + z5 n% f8 ~& Y. `+ n0 r
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input0 y  {3 ?. y$ `
  1633. ; http://php.net/mbstring.http-input
    % O* }9 e, w5 E% F& w
  1634. ;mbstring.http_input =; C6 G5 D% m; m
  1635. ' o: k$ |, L9 u" h2 I
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    2 `, z2 }$ j8 Z8 j
  1637. ; http output encoding.9 T$ n0 R' I  l# O
  1638. ; mb_output_handler must be registered as output buffer to function.
    ; i% G8 q* K8 @& G
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used./ _" w( L6 k" ^8 b
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    : f+ X4 n! e7 S( l
  1641. ; To use an output encoding conversion, mbstring's output handler must be set# W* i- b; H" h) L$ I! N
  1642. ; otherwise output encoding conversion cannot be performed.) X. R8 X; r! |+ E! B' n& K
  1643. ; http://php.net/mbstring.http-output" S) g# o* D( J+ W5 Q' E
  1644. ;mbstring.http_output =* |* t$ k0 ~; }/ c  k- ]7 M6 v9 _
  1645. $ F) ]/ T) d' J/ ]; v: h
  1646. ; enable automatic encoding translation according to' g  w& ]" X. F7 t
  1647. ; mbstring.internal_encoding setting. Input chars are
    ; G0 S+ |4 y/ R) `1 S# k
  1648. ; converted to internal encoding by setting this to On.4 ~; e& K& ~' }; k/ c8 u
  1649. ; Note: Do _not_ use automatic encoding translation for5 P' l$ L' C3 Q* g! k% @  M
  1650. ;       portable libs/applications.+ S; d: q# B2 [
  1651. ; http://php.net/mbstring.encoding-translation( v6 g' ^$ [( P, j2 F3 V
  1652. ;mbstring.encoding_translation = Off
    1 p4 u. A! o3 b

  1653. 1 C- W& S$ B) o" L
  1654. ; automatic encoding detection order.
    : U9 P' s5 F  H+ n+ h5 ~
  1655. ; "auto" detect order is changed according to mbstring.language
    4 I( ]- r: B# I  Z. |. D
  1656. ; http://php.net/mbstring.detect-order
    ' T8 f) M& {3 \( t3 j- D4 X8 M3 ]
  1657. ;mbstring.detect_order = auto
    + [- r- n; G* Q) X- ?5 a

  1658. ' B3 m* a% [2 w' F
  1659. ; substitute_character used when character cannot be converted0 N5 a8 W, P" b% `/ e; P+ L
  1660. ; one from another' g' M/ k3 K6 M5 b) g
  1661. ; http://php.net/mbstring.substitute-character
    % P1 W! f6 A' {" a# o3 I. U
  1662. ;mbstring.substitute_character = none) P. Y' a+ ^7 H* E
  1663. 3 ?- b9 P# F1 R  Z+ [; c
  1664. ; overload(replace) single byte functions by mbstring functions.4 Z, P) N; h; k; Q
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ) I( ^, H4 f; M2 O. s' o
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    ) y5 k5 [* e8 T5 x# Y
  1667. ; For example, 7 for overload everything.
    ; q( t  w: C0 v, N7 e
  1668. ; 0: No overload4 X. }( Q1 m  c
  1669. ; 1: Overload mail() function1 y7 f2 H6 q) R
  1670. ; 2: Overload str*() functions3 c$ P6 e* Z, X
  1671. ; 4: Overload ereg*() functions
    3 z0 h9 C$ W+ h
  1672. ; http://php.net/mbstring.func-overload
    / |: x: _5 A* M0 q/ Q, g
  1673. ;mbstring.func_overload = 0
    0 P1 i2 Z3 Y# A3 W# _0 S$ C  [0 Y

  1674. $ N# m' e+ D2 z7 e4 _- M
  1675. ; enable strict encoding detection.
    5 X' [9 i9 {* p" E9 H' L0 {
  1676. ; Default: Off7 O- q! [! p# J' c7 j: q
  1677. ;mbstring.strict_detection = On
    & A8 N- Z. k0 z# y1 Z/ V( q% I# V

  1678. $ N1 P3 c8 m0 W& N9 l
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()1 ~2 g2 v& b- ^& T2 u
  1680. ; is activated.8 h; ^4 q% C! @/ L6 b
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)2 K: |! A/ P8 p* x) K/ p
  1682. ;mbstring.http_output_conv_mimetype=
    7 Q0 a: M- X8 \. d  c) X% c

  1683. , \: ]# K0 ]# _) L. l
  1684. [gd]
    ( r4 Z$ C$ p/ C0 X- P5 L) W
  1685. ; Tell the jpeg decode to ignore warnings and try to create5 S! H0 D6 n. J# _/ i( [+ l& Y
  1686. ; a gd image. The warning will then be displayed as notices+ ~) x5 l& v; T6 N' D5 e
  1687. ; disabled by default
    1 [0 m3 U$ E3 x2 K
  1688. ; http://php.net/gd.jpeg-ignore-warning
    ( M  K; `8 n* f) U3 \# G" o, p
  1689. ;gd.jpeg_ignore_warning = 0" _& _* s: ~& Q* s& M" Z

  1690. : G' r8 ^- e6 T' N
  1691. [exif]
    5 `% `. \. Z; m* |
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.% }4 C  T( w' H  e/ C0 _) v1 r
  1693. ; With mbstring support this will automatically be converted into the encoding
    0 y+ `$ `2 [3 s3 g* M2 l: Q
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding: E/ E5 P0 Y% V" q- z1 t
  1695. ; is used. For the decode settings you can distinguish between motorola and, Q% X2 X: Q7 W# Z% \( J% `
  1696. ; intel byte order. A decode setting cannot be empty.5 s" Q! W3 R+ c$ P9 E* c
  1697. ; http://php.net/exif.encode-unicode8 w: j& h5 V4 J  `1 |+ |
  1698. ;exif.encode_unicode = ISO-8859-15
      `2 V) `$ U% p" r, y: {

  1699. 7 a7 P8 z# ^$ [2 ]/ H6 N
  1700. ; http://php.net/exif.decode-unicode-motorola, z9 I; j( ~$ h. u& c! [+ k# L( e
  1701. ;exif.decode_unicode_motorola = UCS-2BE+ r7 A) J8 c3 b. i# K
  1702. " g4 E- R1 {; r1 P
  1703. ; http://php.net/exif.decode-unicode-intel
    $ b# [' B/ U8 Q
  1704. ;exif.decode_unicode_intel    = UCS-2LE/ b9 x; I2 e3 }1 L

  1705. & s; |+ J, ?$ P6 G( a
  1706. ; http://php.net/exif.encode-jis# a' E9 N5 F  c( M, y
  1707. ;exif.encode_jis =3 N  x7 ]; N$ y' r+ Y% U

  1708. / N# y9 j5 ~6 b
  1709. ; http://php.net/exif.decode-jis-motorola/ c7 L9 K3 _# @# m& s5 ?
  1710. ;exif.decode_jis_motorola = JIS/ X- x6 A2 q& z# G8 a

  1711. ( N+ {3 T: M9 U- d5 B
  1712. ; http://php.net/exif.decode-jis-intel
    : ~+ w8 O6 f, V1 c* Z7 v
  1713. ;exif.decode_jis_intel    = JIS
    # X2 T' `/ J& |/ m$ O

  1714. 3 V2 w8 Z/ X* [
  1715. [Tidy]3 D; @' a) Z$ _. d0 ]* X% M  \; U+ _
  1716. ; The path to a default tidy configuration file to use when using tidy
    0 ]2 k& d! ~) v: r; i. G6 p' j
  1717. ; http://php.net/tidy.default-config: f2 s7 ^& c4 M1 H  u
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg+ _/ E4 X: q* _. u
  1719. . X6 S+ Y% }* X$ [
  1720. ; Should tidy clean and repair output automatically?
    1 E/ {5 q% t+ Z9 I, Z8 Y
  1721. ; WARNING: Do not use this option if you are generating non-html content/ [) x2 s" x+ n6 [0 W# l
  1722. ; such as dynamic images- e2 s; K  J) G( v! G4 y
  1723. ; http://php.net/tidy.clean-output
    ; t: i! b1 k. f! [# o( x
  1724. tidy.clean_output = Off
    6 u" ^) O) k0 I7 Y" v* o

  1725. 6 I! e9 v( A( ?$ H% }6 j8 p
  1726. [soap]$ [  G2 g+ `" @. ]( ?7 C, ?
  1727. ; Enables or disables WSDL caching feature.4 X' R' O( J+ u) H) c2 m- ?) d
  1728. ; http://php.net/soap.wsdl-cache-enabled
    & `. A6 t* V8 E% W: t
  1729. soap.wsdl_cache_enabled=1
    ' m0 j' {  W" T, J. A
  1730. 8 j& {! p, }8 I- _, K
  1731. ; Sets the directory name where SOAP extension will put cache files.
    * Z% z( k, p$ g) U7 I3 T% W  ?7 @! x
  1732. ; http://php.net/soap.wsdl-cache-dir' L. {" I( p4 w7 Q
  1733. soap.wsdl_cache_dir="/tmp"8 g  j3 Z3 [. c3 d6 ?

  1734. * b* J; z# h/ J8 @5 g
  1735. ; (time to live) Sets the number of second while cached file will be used
    " ]. }& `3 n* A# c$ v
  1736. ; instead of original one.* i! e& b" D9 n. {; T, T, m' z
  1737. ; http://php.net/soap.wsdl-cache-ttl
    4 o% d$ ]4 g  V# f3 V
  1738. soap.wsdl_cache_ttl=86400/ |, ]5 S  E4 o. N

  1739.   k" q7 q, L  e
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ) c" y# l' }" Z$ u1 ~! p) W
  1741. soap.wsdl_cache_limit = 5
    ! O# ^7 u3 c$ ]+ ^. t# t
  1742. , o; R/ E( h, O9 V2 _& k
  1743. [sysvshm]
    3 |" H, A7 }+ N- v& n+ N
  1744. ; A default size of the shared memory segment8 a% N3 @* U( w
  1745. ;sysvshm.init_mem = 10000
    6 K& f* W' ~7 ^9 Q/ S

  1746. , L0 }/ `1 P2 J, Q8 V
  1747. [ldap]/ O# l1 K4 r8 A4 }5 d  W; @
  1748. ; Sets the maximum number of open links or -1 for unlimited.+ o6 Q. J, s2 w. H8 K8 ?. T
  1749. ldap.max_links = -1) L, ]1 _' o, C! F" Z
  1750. 6 \$ {9 N) |: j3 D8 Q
  1751. [mcrypt]
    8 c3 X, m) u$ s. f( A
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open( s4 Q- Y) P' [/ C% i7 W6 D6 G$ O

  1753. 5 ^3 {# s$ F2 v' |9 b3 h4 Y
  1754. ; Directory where to load mcrypt algorithms
    : w3 b/ g( ]6 h* p1 o
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)* ]1 m7 J0 w: |: f
  1756. ;mcrypt.algorithms_dir=; p% ^2 Z# |& t

  1757. % M- ~0 l. \+ s6 n8 n6 N9 c% h
  1758. ; Directory where to load mcrypt modes
    # w; G8 O" D- f( H
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ( c$ @* s0 i- r/ h+ ~. P+ x
  1760. ;mcrypt.modes_dir=8 i9 S0 g! b8 d. K" h
  1761. / M+ h9 o) D* L
  1762. [dba]
    5 [4 C- X9 F, ]: a& [- T' C
  1763. ;dba.default_handler=# C' `0 S$ e6 a. U4 ^6 f
  1764. ! M( O! @  f5 N& U) m6 }7 m
  1765. [opcache]
    5 h$ b, D- j6 f$ ]$ K
  1766. ; Determines if Zend OPCache is enabled# r3 V) C; K5 Z5 @1 ^
  1767. ;opcache.enable=0
    - H, x& J% s' v/ B, T

  1768. 8 q1 u! T/ z8 N' P( u# Z
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP$ d+ A0 m# w. {* U, A. q  B0 Z' Y
  1770. ;opcache.enable_cli=02 y$ D. g$ D& {. x; i; c3 r
  1771. , G; B# ]. _0 N
  1772. ; The OPcache shared memory storage size.6 _: |3 q, R- e/ ?  `
  1773. ;opcache.memory_consumption=642 g2 z7 b( ?$ m9 k- j4 X
  1774. : d2 p+ ]  {; k  n
  1775. ; The amount of memory for interned strings in Mbytes.
    ( ?0 ]* j0 M0 G
  1776. ;opcache.interned_strings_buffer=4' U1 m, g! X5 I/ C

  1777. ' A: `9 K$ G! T  f/ T* x' D
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.7 J, Q& r2 s, h9 R8 t, X
  1779. ; Only numbers between 200 and 1000000 are allowed.3 q3 `9 @7 t  u; R& X( M% F: p
  1780. ;opcache.max_accelerated_files=2000$ U& W8 j7 e0 J8 g+ k) b

  1781. ( E+ _( \3 o9 u. R' J
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    # B4 K) X" B: `) d5 b3 F% i: }
  1783. ;opcache.max_wasted_percentage=5
    3 v& ^  R7 e( t* S; R8 k

  1784. 9 u- u/ t; e' X6 k! n7 U/ W" m1 Z
  1785. ; When this directive is enabled, the OPcache appends the current working: {7 u2 [& P- _4 d' r$ Y
  1786. ; directory to the script key, thus eliminating possible collisions between7 K2 y4 G1 A! Q
  1787. ; files with the same name (basename). Disabling the directive improves( R; m! _- t: F4 M4 L# i( v
  1788. ; performance, but may break existing applications.
    0 d9 W/ k/ T4 p1 ~  v- V; i
  1789. ;opcache.use_cwd=1
    4 [7 y$ X# i" Q: a( {- m
  1790. ' `% \4 e# `$ P9 E; p5 E* Z( q
  1791. ; When disabled, you must reset the OPcache manually or restart the
    6 V% k! R1 d$ y, P* H
  1792. ; webserver for changes to the filesystem to take effect.
    $ J5 I# o! ^  e
  1793. ;opcache.validate_timestamps=15 m# f/ g5 `, L2 P# K* a
  1794. # h" t5 M) D# o. |7 p  }
  1795. ; How often (in seconds) to check file timestamps for changes to the shared. m$ L  d$ k9 t, L8 i% e
  1796. ; memory storage allocation. ("1" means validate once per second, but only0 z, k8 K) M+ {0 d" Y: \
  1797. ; once per request. "0" means always validate)! h; x7 r$ y3 r- b$ A9 B7 {' ~
  1798. ;opcache.revalidate_freq=2( X! D9 r, m5 c0 v

  1799. . |* w1 S: r$ J2 ^' Q+ N% @+ s
  1800. ; Enables or disables file search in include_path optimization
    3 b- {" B9 Z' m, M
  1801. ;opcache.revalidate_path=08 m9 E' [) T; a2 Q" m
  1802. 9 A! H; I9 p8 }
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the* {8 m8 e; {. v5 j$ Y$ D+ @
  1804. ; size of the optimized code.
    ! Y* f9 a4 q* P* [
  1805. ;opcache.save_comments=1
    ' q8 `  U$ A6 b* }& h( |
  1806. / C/ `; [/ f7 |9 g
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code6 V/ b3 i7 f1 h% O- I% y
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.* d9 b5 k. }0 T+ d* c
  1809. ;opcache.fast_shutdown=0" ^0 M- d: H7 n; I. l6 S

  1810. + f' }. N) L: d) m: I
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    ' @$ r5 _, F+ f! ]5 u
  1812. ;opcache.enable_file_override=09 T0 o: Z: z" K, O

  1813. 7 P4 v- y$ _! z$ Z
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ! ~; w; [, V! V5 d. V" [
  1815. ; passes
    ( H: U; N) k6 }9 Z$ n
  1816. ;opcache.optimization_level=0xffffffff  @& I+ _7 e- N7 n5 d* y% r2 ?& P

  1817. 3 D& y5 P/ m& E  v2 ^- X
  1818. ;opcache.inherited_hack=10 D$ m3 q/ u  k* V+ ?% v8 X
  1819. ;opcache.dups_fix=0( o7 l, J- A1 T

  1820. . P  ]' D0 h3 M2 y
  1821. ; The location of the OPcache blacklist file (wildcards allowed)./ D9 j! {& H; k  K7 F
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    7 G/ T$ O- @7 a# G2 o7 \) \
  1823. ; that should not be accelerated. The file format is to add each filename
      Z0 i0 \9 B' A4 H: V
  1824. ; to a new line. The filename may be a full path or just a file prefix4 ]1 B" b, G# Y: S3 ~' K2 ^/ K" A
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    + L- g4 R8 m2 ~! X1 k" y
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    * Y6 I" q. s+ r0 q
  1827. ;opcache.blacklist_filename=# m8 s4 I( r/ x2 `# F4 r1 ^! L

  1828. 1 ?9 G3 ?( l. d  p% k
  1829. ; Allows exclusion of large files from being cached. By default all files5 _* y9 s' h- O1 e5 D' E+ H
  1830. ; are cached.
    1 G0 Y8 r/ X2 O- `& N
  1831. ;opcache.max_file_size=00 o2 a+ v2 X9 p& `: O
  1832. ' M0 @* S; r2 I9 G! x
  1833. ; Check the cache checksum each N requests.
    ) M1 I6 I% q  G& `, \- ?
  1834. ; The default value of "0" means that the checks are disabled.: H( L, L4 L: L5 r1 Z8 T
  1835. ;opcache.consistency_checks=0
    % v) m+ T+ N& {6 {/ z8 H3 L( G
  1836. 0 Z5 d! W2 M- x* `- C$ f3 W
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache3 Y  o) t- q# P/ ~. c
  1838. ; is not being accessed.; F  v5 z% A2 I! U
  1839. ;opcache.force_restart_timeout=1807 o1 t( I6 j6 Z. [6 n# M

  1840. 1 T' L! J+ K9 m5 P
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    : W: o( j5 o$ `& z
  1842. ;opcache.error_log=
    9 V$ W4 m3 l- \  D
  1843. 3 a, X  O0 g7 {1 N. |
  1844. ; All OPcache errors go to the Web server log.5 {! m% y& ^. L7 j& `! m. d4 d! Y
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.; J9 T; f" `  p
  1846. ; You can also enable warnings (level 2), info messages (level 3) or$ }* |6 L% s7 X
  1847. ; debug messages (level 4).
    - _( o1 M5 ]! f! I' h9 Z6 x
  1848. ;opcache.log_verbosity_level=1
    & k5 |' L, A+ x8 J1 Z( V
  1849. ( o) x" Q! R: Z2 S3 P0 K. r" }
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    % }2 W$ h- z$ X) l1 y5 r
  1851. ;opcache.preferred_memory_model=
    0 s. I& L3 y0 Y! d( _
  1852. ! S! l# \* C- X" r- ]
  1853. ; Protect the shared memory from unexpected writing during script execution.
    / K0 k* k; k2 C" F8 ~# D/ G
  1854. ; Useful for internal debugging only.1 y* Q% U- ?! u4 p' [; ~% c/ e
  1855. ;opcache.protect_memory=0( V2 G* Z6 Z% ~0 [# \4 G

  1856. % b0 Y0 q8 o* w
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    8 O' o) y, V# l  g  k6 c
  1858. ; started from specified string. The default "" means no restriction
    " I0 k9 ?& H; t6 w, b$ q3 D
  1859. ;opcache.restrict_api=
    0 m" r8 ^2 A1 R# d8 n

  1860. / M' Z0 ^6 M1 u# \) {( D
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    ' G& y' r$ n$ G) q9 }: F
  1862. ; processes have to map shared memory into the same address space. This
      Q# G3 U/ I6 l) D# o
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    0 e2 g1 M2 C! L' N7 d0 J" u5 X  N
  1864. ; errors.
    9 g1 T# M: `' k5 n0 G+ X5 X7 j
  1865. ;opcache.mmap_base=, A8 H, L+ `' p7 E2 p- p; a

  1866. ' O- y* L) Y. M  a* ~$ I
  1867. ; Enables and sets the second level cache directory.2 t8 ?3 X" I" p% x+ p9 o) h
  1868. ; It should improve performance when SHM memory is full, at server restart or$ X& w$ y7 S& F  |5 k4 C
  1869. ; SHM reset. The default "" disables file based caching.
    & z/ S) z: y5 j7 N
  1870. ;opcache.file_cache=/ l8 _; a7 F+ H0 G* a" L& A$ Z& n
  1871. : U- U5 M6 p8 ^3 g/ m
  1872. ; Enables or disables opcode caching in shared memory.# B* p. n. k4 v6 _, q: ?3 ^
  1873. ;opcache.file_cache_only=0
    ( O  n) t+ j& }$ a( k# }/ c
  1874. 1 l9 R7 B. i+ L9 U  k. I! c% D, r
  1875. ; Enables or disables checksum validation when script loaded from file cache.5 ~% c9 Z; x9 Y  t
  1876. ;opcache.file_cache_consistency_checks=1
    4 [0 V. v- i: e% P2 u' j( h- e
  1877. 7 ]) E; z9 l) W& [
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to2 R% B" b, ~2 B3 l. B
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    2 p* U7 X) z; T6 |
  1880. ; cache is required.: ~0 x$ d* Y) g* O( z. r
  1881. ;opcache.file_cache_fallback=1$ J0 |" f& U$ ?% g
  1882. ) n8 |; {& r8 e+ [6 r
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.. a. D0 F% c  J3 _/ b
  1884. ; This should improve performance, but requires appropriate OS configuration.: `0 G) p2 l3 V) Z
  1885. ;opcache.huge_code_pages=1% v) @8 K1 B( M  @
  1886. 1 }- f6 L3 a3 x7 O- n# W; ^: b
  1887. ; Validate cached file permissions.! C5 Q; y7 h# S0 H# V
  1888. ; opcache.validate_permission=0
    , g! E: B& v& ^4 z( E  D3 r/ X

  1889. 4 N- n+ x0 a1 e4 C, e0 u
  1890. ; Prevent name collisions in chroot'ed environment.
    " _/ ]- ?$ G  W6 C) p3 w. L
  1891. ; opcache.validate_root=0
    0 x; O% {/ A* D& h7 N
  1892. . {5 k% ]0 i% A5 @0 ?" s4 C8 s8 v
  1893. [curl]
    * x1 S* I  s) b. t' g: t& d
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    + ~4 j, y; g; n" d
  1895. ; absolute path.
    6 H; V% |. V5 m7 z
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ) D) L6 i# |0 ]% E  [
  1897. 5 h4 k1 m1 K. E% v8 d
  1898. [openssl]. p4 K) L$ ]: s/ M( o
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    . D/ ^. k4 K2 z
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    " c; i- K, k. t' j! B# s3 N
  1901. ; not specify a value for this directive as PHP will attempt to use the
    7 A! A% G# X& T/ `
  1902. ; OS-managed cert stores in its absence. If specified, this value may still* \  Y. B) z& J5 ?; v2 T( A2 Z
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    3 z" j1 T* }8 ]. J, v
  1904. ; option.
    ' [3 O% B  n) d. `
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ; i5 R4 C$ V( B8 M- i* U2 }% Q* O# T7 f
  1906.   ?) Z  q3 l6 @8 l( z, L$ J
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    - v4 \, u' h+ b+ j
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    , v2 ^( D0 U  T" c1 G# Q# E! d( M
  1909. ; certificate. This value must be a correctly hashed certificate directory.8 G8 C6 f5 k1 p# u
  1910. ; Most users should not specify a value for this directive as PHP will
    5 }0 ]. }5 d% A# H, t- X2 p# w/ o
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,+ U; b5 y" w/ k2 \  r
  1912. ; this value may still be overridden on a per-stream basis via the "capath"5 [/ C- s6 E1 q- y: |; J
  1913. ; SSL stream context option.. H) `3 _: U5 ?! r  Z
  1914. ;openssl.capath=
    , A7 ]  S% O: S4 Q$ ]2 y
  1915. & ]- v4 {, A3 J  {" a2 S3 i
  1916. ; Local Variables:( x" [! S* U  R+ t# c4 j: q2 N
  1917. ; tab-width: 4
    7 R6 A  M( l- ?3 {" X5 ~
  1918. ; End:
    5 H% e# E" ~5 m6 p4 H$ u$ P4 g

  1919. % p7 h3 M4 `8 g2 F  `
  1920. ;eaccelerator
    5 @1 Z7 B, K$ |3 Y: {

  1921. & o8 L- ^. y* _3 z; C
  1922. ;ionCube5 B! h3 e2 u2 F7 {# G- x9 f: `

  1923. " h3 f  U/ C/ P6 `8 Z' l; ^! g
  1924. ;opcache, i/ R7 `+ a2 \- n7 ^
  1925. 4 @: I6 I. v5 D$ Y4 L( U
  1926. [Zend ZendGuard Loader]
    ! g1 V( b& z7 H
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line., B1 g6 W% [( v
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so' ~4 D" l0 E' k' }
  1929. ;zend_loader.enable=16 _0 S; T' G. f2 n2 s' b
  1930. ;zend_loader.disable_licensing=06 ^% Y. \7 _4 h( W
  1931. ;zend_loader.obfuscation_level_support=3
    ' ~1 G: S  ?" ^8 ?  d
  1932. ;zend_loader.license_path=6 A% @; ^& l2 ~7 n

  1933. % y3 b7 j6 [2 W' c- H; @& Z1 p# k
  1934. ;xcache* b# R2 M. C! o- m& X' G% c

  1935. ( g( v& e1 ^& \( @$ {8 r
复制代码

5 N; B9 c6 X/ e( {3 h
# M5 h& u6 X; b0 H9 m% ]$ C5 i
. _) f/ K, F% ^# j2 B
% ~/ M& }9 |# S( |
5 ~8 f  t$ a* ^8 u5 X% p- k. J/ M3 f: ]) ?

6 i) u6 e  u$ Y- t- y6 a# x5 SPHP5.6版本原始设置1 b: w4 L& i: i/ T$ h: O

3 x% k3 V& j& r# z: ?+ q& b
  1. [PHP]; }7 S0 @" W: I* }. m% w) Q6 I
  2. 7 t2 h2 x" z0 \, K' U! e' M
  3. ;;;;;;;;;;;;;;;;;;;
    2 t0 V- i) m9 I2 p" e# K% l
  4. ; About php.ini   ;- F6 n. e5 M/ j# _3 K' t! O
  5. ;;;;;;;;;;;;;;;;;;;
    % f& K& s) `6 j. P! Q
  6. ; PHP's initialization file, generally called php.ini, is responsible for+ Q) M1 ?: u$ ~, v+ y# t% B. Z
  7. ; configuring many of the aspects of PHP's behavior.! m: w; K6 j6 W! J, i6 p, \

  8. ( {/ ~" M& f$ L- ~  F6 z
  9. ; PHP attempts to find and load this configuration from a number of locations.
    # c3 r' @9 p, n
  10. ; The following is a summary of its search order:
    ! X4 `, N& E: {3 I. e  D
  11. ; 1. SAPI module specific location.0 u: S# N% A- ]! u
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0): ]9 E: q, p4 V# B1 C
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)' U2 U, e* \" q4 z$ j, D
  14. ; 4. Current working directory (except CLI)1 t8 x7 S* L% }" s
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP2 ?8 S& y, B4 Q5 g
  16. ; (otherwise in Windows)
    ' @6 x0 m0 L, @
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    * S' y) S. V! h" C+ w6 `+ Z2 w. _; [
  18. ; Windows directory (C:\windows or C:\winnt)3 @4 j% k7 d) f
  19. ; See the PHP docs for more specific information.
    - T* q, H) D6 o* h8 F) W2 ?) ]
  20. ; http://php.net/configuration.file7 k5 b  e& }% L  F' o

  21. ; h: r4 `2 Y3 O" Z
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ; B. p; `- T1 \+ L+ F& I9 T% F2 B
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    + Z6 Z6 m* l3 Y; N7 y2 w5 z  B
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though8 I+ z0 N6 e- y0 L7 F
  25. ; they might mean something in the future.
    / m% p& ?* E% s6 x) R! M: p# b: {
  26. " K% [1 Q" l3 J+ I; h9 Y  W
  27. ; Directives following the section heading [PATH=/www/mysite] only
    , r2 n* l  j' U3 a( R
  28. ; apply to PHP files in the /www/mysite directory.  Directives6 E; W6 x# r( W+ e/ z, P" I
  29. ; following the section heading [HOST=www.example.com] only apply to
    . {* V- ?/ U5 t% H! W
  30. ; PHP files served from www.example.com.  Directives set in these
    - B  _) J5 G* u, w) @  N2 z8 Z
  31. ; special sections cannot be overridden by user-defined INI files or) h5 b4 C& \6 k
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    : m4 S# d! l, f; K  A$ Z
  33. ; CGI/FastCGI.8 `/ N* z0 y$ B# e
  34. ; http://php.net/ini.sections
    4 I- ]4 E4 }( C

  35. 0 O" x, T* f- W9 [' \' {* |. u
  36. ; Directives are specified using the following syntax:2 t9 Q3 C/ g: i% S( o- z) r
  37. ; directive = value
    ( i/ C) D. Y( d* Z) O/ ]
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.$ H5 ]/ O; K$ g- c! F/ H
  39. ; Directives are variables used to configure PHP or PHP extensions.
    , R* H$ l# l& W# }5 z, Z. {: P' K
  40. ; There is no name validation.  If PHP can't find an expected8 v' ~: z* V# t
  41. ; directive because it is not set or is mistyped, a default value will be used.' m* h% [% }6 D& k' z, C

  42. * a" [. m8 l# I9 f) y/ |+ f
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    4 |% [& e: y$ O! c0 H$ l
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    6 {, M  C  h, @0 M, b" U
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a. F' @4 d6 y. L6 e
  46. ; previously set variable or directive (e.g. ${foo})
    ' a0 }; g5 S+ ?
  47. , N& n+ l# ?( q/ |! r2 C) Q
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:- S" P& [2 G6 f% b* r5 `$ r2 P
  49. ; |  bitwise OR5 n3 k+ }9 ^4 A0 N, `* B/ Z
  50. ; ^  bitwise XOR3 q' P$ R2 f- q- b
  51. ; &  bitwise AND6 a5 m5 `1 ]# b/ \5 i
  52. ; ~  bitwise NOT2 q' D+ ~2 l6 f# G( U  |
  53. ; !  boolean NOT
    , `! T; n( i2 l" [" Z/ O( H; g

  54.   b7 Q* t% N8 l' P- q" U/ q' n+ r/ S+ z
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
      X" p; {% ~7 j
  56. ; They can be turned off using the values 0, Off, False or No.
    3 D9 m; J/ O; H5 d4 H

  57. . q6 q1 E, ]0 ?. ?! C, p
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ; J  W" b: v  S, m3 y# `3 m$ x
  59. ; sign, or by using the None keyword:
    ; Z  A# t% u9 U' H% x3 Q6 U

  60. " J0 U4 Q" c. Z0 }; f+ f
  61. ;  foo =         ; sets foo to an empty string5 q  C9 e% f% ~2 l
  62. ;  foo = None    ; sets foo to an empty string
    ! U# i: b: v9 D9 N
  63. ;  foo = "None"  ; sets foo to the string 'None'
    4 Z% _6 B' W1 b

  64.   R0 r4 c; F8 z4 c" J, [5 L
  65. ; If you use constants in your value, and these constants belong to a" ^5 b5 t: f5 V/ N
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),+ W- g3 c; C8 h6 s% ?8 @
  67. ; you may only use these constants *after* the line that loads the extension., L( o% M( U. F' r% _
  68. & C+ n7 x& G  n5 S. O/ J
  69. ;;;;;;;;;;;;;;;;;;;6 M% P3 @5 ~: F% g: _
  70. ; About this file ;
    + S! D2 ~1 P% D( e! K
  71. ;;;;;;;;;;;;;;;;;;;4 ]$ K' s, y$ d, }5 ^' I3 o
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ( p. W) h; ~: c8 r2 d  I
  73. ; in production environments and one that is recommended to be used in% [6 V5 ?0 g$ S! l. I, O! g1 s
  74. ; development environments.$ n0 G2 E5 y# L

  75. + c( Z- l0 k+ B, U5 T" C
  76. ; php.ini-production contains settings which hold security, performance and- y! D8 C, {: Z/ }
  77. ; best practices at its core. But please be aware, these settings may break; K) j3 }  z3 X4 o/ h5 {3 j$ m( }
  78. ; compatibility with older or less security conscience applications. We+ O- U9 e) W: ]9 A' N
  79. ; recommending using the production ini in production and testing environments.1 v. Y2 |1 {  R. j

  80. 8 u1 J  q- E1 z( I& m
  81. ; php.ini-development is very similar to its production variant, except it is
      F  n, E* [/ j
  82. ; much more verbose when it comes to errors. We recommend using the  Z" p5 w# P3 Y5 i& L3 r* T
  83. ; development version only in development environments, as errors shown to3 U+ E) p. Q" g# k* |
  84. ; application users can inadvertently leak otherwise secure information.4 u7 A* R& S0 f& X
  85. ( r- J8 l+ p$ V: }$ q1 }! L4 F
  86. ; This is php.ini-production INI file.
    - N5 Z1 _9 c- N7 y  j* |

  87. % _5 m+ O9 F* Q5 h
  88. ;;;;;;;;;;;;;;;;;;;% q" N) P. u/ o% T7 f1 u
  89. ; Quick Reference ;% y4 `2 A5 R0 [9 F
  90. ;;;;;;;;;;;;;;;;;;;3 _8 c! w) @$ [7 H& U6 @! ?! c0 d, T
  91. ; The following are all the settings which are different in either the production
    2 @) t, o2 m' ?& e* I- X& X4 n
  92. ; or development versions of the INIs with respect to PHP's default behavior.  y5 U1 g& j" o! F4 n0 R! h
  93. ; Please see the actual settings later in the document for more details as to why2 X: U/ x) N" L1 D- S
  94. ; we recommend these changes in PHP's behavior.
    2 d: E# M6 f* F+ l! @3 o) x9 {
  95. 0 H' v. b9 |3 ~  v9 i) L$ l+ c/ l
  96. ; display_errors& w0 r& M- O; c0 ^8 Y" m
  97. ;   Default Value: On9 w9 N6 }* c& R1 [- {* U8 [& |# G# o
  98. ;   Development Value: On
    % t+ N% f- ?2 |$ Y
  99. ;   Production Value: Off
    - ^: u6 e  }7 i7 O
  100. 0 p' y, D4 t2 x, o( t; X
  101. ; display_startup_errors
    7 C: C5 B; T# r" _1 v0 P0 o
  102. ;   Default Value: Off) y3 N# X( H4 W# t2 A( \
  103. ;   Development Value: On) h; x& x( g8 S, k0 f
  104. ;   Production Value: Off8 Z3 A4 E3 A$ R0 ?  G( V( _  w
  105. / `( h, j# U( P4 Q1 h+ {
  106. ; error_reporting
    & F1 ]9 H! a) @, X- y7 M! t9 e9 F
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    / z  n% I3 ~! ~  `+ P" _  C
  108. ;   Development Value: E_ALL
    $ c$ ?0 o) Y1 |! d
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT2 w9 l0 \: x+ d) }  a7 |% L1 k' M

  110. 1 J/ B$ Q; N2 l/ j) u% i: F
  111. ; html_errors
    2 G0 [$ o0 b: S. ?0 W& `. w
  112. ;   Default Value: On2 O# r; p+ {! y1 x0 g  t9 X
  113. ;   Development Value: On
    + D4 B' j/ e3 b  s' C% t
  114. ;   Production value: On
    0 f/ m7 x5 d% ?' q3 O- U
  115. ! ?  C! `) |0 [
  116. ; log_errors
    ! d8 ]. U: B1 I, L% ?
  117. ;   Default Value: Off2 G8 N) O' F* V. P7 f7 N- L
  118. ;   Development Value: On1 v  [' l* M2 Y7 U+ k" g
  119. ;   Production Value: On
    2 {. _: N% P4 O2 J- S1 ]

  120. ( {: N: u# ^6 [
  121. ; max_input_time1 R# f. e" g2 r) l( s
  122. ;   Default Value: -1 (Unlimited)
    , S7 T& B' _! v7 q2 k# L7 a
  123. ;   Development Value: 60 (60 seconds)' B$ ]* H2 d8 l0 C2 l; f
  124. ;   Production Value: 60 (60 seconds). `5 P, S8 Z' E5 x! k

  125. 8 ]& _* Y( D! [: S3 d, R
  126. ; output_buffering
    4 R8 |, U, p* ?& ]( a3 Y0 C
  127. ;   Default Value: Off9 P3 _9 S3 L; S) Y3 Y* a8 r6 T
  128. ;   Development Value: 40963 N  d# G# u- @
  129. ;   Production Value: 4096; w  i, t8 D7 c! z- g: V! c

  130. 8 N/ {0 f! z5 H9 R* d  q# D5 o5 J
  131. ; register_argc_argv
    . B" o* p) x. o6 F8 J8 a9 H
  132. ;   Default Value: On
    $ Q. T. H+ Y5 S, I
  133. ;   Development Value: Off
      \$ u/ m) C& U
  134. ;   Production Value: Off( r% ]& p2 |" b5 i) S  C+ y

  135. 1 F, p: `  O+ `& ]  G
  136. ; request_order
    & w7 I6 l# {, \1 N( k' ~, C
  137. ;   Default Value: None
    ' e7 i1 c; r  w$ v# }
  138. ;   Development Value: "GP"
    . |( ^. |4 M5 S1 E
  139. ;   Production Value: "GP"
    . a! C; c  P9 J+ t3 L# ~; ]! p

  140. 2 n7 E. Z( P9 x7 a3 q& `
  141. ; session.gc_divisor; L, J! r! j4 Q; y# C
  142. ;   Default Value: 100! a9 E  _' V' g& }
  143. ;   Development Value: 1000$ {3 f+ |- H9 a& E
  144. ;   Production Value: 1000
    . T- e3 q9 Q  b) N- R+ ?) _
  145. + z& s9 [" E9 Y8 S4 }3 L+ ^
  146. ; session.hash_bits_per_character
    ( C( ]$ {# ^! u: Y/ u% I* t2 |
  147. ;   Default Value: 4" |! q: f: a" T! ~9 w
  148. ;   Development Value: 5# r: \) v/ K  m& K/ |! b
  149. ;   Production Value: 5
    / F9 h; f3 e4 s6 e7 S2 Y
  150. $ q1 q  g3 ^' A
  151. ; short_open_tag, _/ Z9 b; P* I6 o. p3 X4 @
  152. ;   Default Value: On
    4 N/ h9 x: o# J' P7 j) a) b/ }4 L1 i
  153. ;   Development Value: Off
    4 V) I. m4 s" p! K. ]$ B
  154. ;   Production Value: Off9 h  o3 k/ t& n# H8 d( `

  155. ! H# O$ F: \9 s& r% P; p- y
  156. ; track_errors( g  P5 k4 ^/ c& @, A# ]( F
  157. ;   Default Value: Off
    : o; T2 A, A* n! m% N
  158. ;   Development Value: On
    6 w; n5 P+ @' t/ b' Z
  159. ;   Production Value: Off$ Y5 E6 r5 _5 l
  160. 3 L# f( j% L( E2 @
  161. ; url_rewriter.tags3 m4 t# D/ l5 h, d6 ]% T  `# z
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ' [% ^9 _- _/ e7 x
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 n) y8 R, G2 j! p  e! c
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% s1 R# x8 W1 H' B0 e# w! _5 [
  165. . X' K, @: w$ E
  166. ; variables_order
    ' Z" i4 ]1 x8 H6 I
  167. ;   Default Value: "EGPCS") p1 S0 {2 l3 ^+ o+ H
  168. ;   Development Value: "GPCS"5 s6 N3 [" C+ A) u- }
  169. ;   Production Value: "GPCS": {4 \- m* s( |, ~' W
  170. + X4 P3 }  [- `& M3 _& K7 f
  171. ;;;;;;;;;;;;;;;;;;;;# @* S6 R+ w  t* J
  172. ; php.ini Options  ;
    6 ^+ a. _& o: t* c2 m+ \
  173. ;;;;;;;;;;;;;;;;;;;;2 F  X* A3 ], b1 M* R
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ( o& j) ]2 w, a- h/ m
  175. ;user_ini.filename = ".user.ini"8 ^7 N- F3 A: |2 e% `0 C

  176. * d9 n/ {) c+ T1 L1 }5 n. q
  177. ; To disable this feature set this option to empty value
    $ {1 {  I. A8 J9 @/ `
  178. ;user_ini.filename =3 f3 |  W: M7 s4 {
  179. ) f7 D4 E/ A# Y9 G8 u. S! e! x
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)7 G5 I+ R$ O( [( `* [
  181. ;user_ini.cache_ttl = 300
    & J5 ~$ u: O3 r. Z1 \" t1 v

  182. * y$ l# i" W6 V+ u7 h
  183. ;;;;;;;;;;;;;;;;;;;;
    $ p, |* [7 d, T) K
  184. ; Language Options ;
    " Q6 K) x; E) w9 M' n# r5 [; O
  185. ;;;;;;;;;;;;;;;;;;;;; T8 @' I* A! _

  186. & E% @. O' L9 w$ ^; @1 @) u5 a  b/ k9 l8 I
  187. ; Enable the PHP scripting language engine under Apache." f0 a( {' z7 q8 l) ]" n/ c
  188. ; http://php.net/engine) f2 S! |0 z4 v6 c( l2 E
  189. engine = On
    " n4 W2 y- ~6 S. s9 M* n) t  v

  190. 8 w) M& i  |2 Q* V8 |# I
  191. ; This directive determines whether or not PHP will recognize code between
    ! Z2 |2 y. V; K' W; g8 `; S- U7 a
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    3 q2 F8 W" Z, l1 I" U
  193. ; generally recommended that <?php and ?> should be used and that this feature2 K4 b/ x1 l7 A0 e
  194. ; should be disabled, as enabling it may result in issues when generating XML
    $ R3 C( z+ X6 ~' c
  195. ; documents, however this remains supported for backward compatibility reasons.( r) z& E4 j  ?; N
  196. ; Note that this directive does not control the <?= shorthand tag, which can be6 R1 G! t+ S* l. M1 U( H0 e7 H
  197. ; used regardless of this directive.- i6 I1 \% K4 Q: _
  198. ; Default Value: On
    5 L. d) I& j7 D2 O, c; m9 w
  199. ; Development Value: Off
    + a% ]- @0 x% h7 F0 z1 I
  200. ; Production Value: Off7 l6 Y5 H- R0 |2 w- U  @$ _
  201. ; http://php.net/short-open-tag
    + `7 D9 G/ I, \6 s4 v( f# y
  202. short_open_tag = On5 K# s( Y. d7 ^5 g4 x$ c
  203. ' d$ f" Z6 z" [* B* x: f
  204. ; Allow ASP-style <% %> tags.
    + s# J0 M6 t5 G5 e3 E' |7 [! @
  205. ; http://php.net/asp-tags
    6 H3 F7 ]/ G0 d2 r# ]
  206. asp_tags = Off# j. \" A; {# b& ?
  207. % P5 V! l  w' V1 N$ z( g. d
  208. ; The number of significant digits displayed in floating point numbers.
    # [  @7 S: @& d, M: t1 q
  209. ; http://php.net/precision
    2 f: |( i5 V5 `' E8 z  X
  210. precision = 14* \. O0 N! N- {/ n8 M& O4 s8 ]% ?
  211. 5 c+ q  Q, p& v% w9 J: W4 Y
  212. ; Output buffering is a mechanism for controlling how much output data
    + u0 A8 `9 F$ x) o
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    # L9 G# C# \: P( i. [, V
  214. ; data to the client. If your application's output exceeds this setting, PHP
    - g5 d1 ~7 ?6 f8 X; T8 M
  215. ; will send that data in chunks of roughly the size you specify./ F* o! ]+ L* h5 _
  216. ; Turning on this setting and managing its maximum buffer size can yield some% ], E1 W8 \! O' H- J# p
  217. ; interesting side-effects depending on your application and web server.
    8 f3 e4 ]( g( K9 F
  218. ; You may be able to send headers and cookies after you've already sent output
    : ]% u  ]. r1 _' F
  219. ; through print or echo. You also may see performance benefits if your server is$ X0 S) n8 A9 _
  220. ; emitting less packets due to buffered output versus PHP streaming the output3 Q; ^, R2 P6 J  e) f6 n
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    6 C  W8 Q! j* n9 l7 N; r
  222. ; reasons.
    - b& X! W& i( ]4 C% g: Z: Y
  223. ; Note: Output buffering can also be controlled via Output Buffering Control% a+ n# r& U. O% E* Y  V  R
  224. ;   functions./ T- ?; k1 S: J" q
  225. ; Possible Values:  ~  [3 ^3 q9 \. Y) a- m$ K+ {  S" z
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ; ?2 [! F  V. A& ^$ ^
  227. ;   Off = Disabled  [$ O4 O* A0 V% l. y
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.3 J$ V8 n' Z6 K9 w' z  o0 H$ Q
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    4 }; z7 N: a- a' H+ Z+ q+ G4 v
  230. ; Default Value: Off& v+ e" {+ u) ]2 ^* @" {
  231. ; Development Value: 4096
    ( S3 g0 N/ Z$ A2 [0 I" J
  232. ; Production Value: 4096/ t" D' m! N: w8 ~
  233. ; http://php.net/output-buffering
    " [/ E, D6 x2 S$ _0 L! ?: f/ t
  234. output_buffering = 4096/ W0 V! b! ~  w; @3 ^1 s! I, X
  235. 6 G3 ]* n( C' D3 d7 l% R. x+ A7 Q
  236. ; You can redirect all of the output of your scripts to a function.  For! D. d' T; p8 l2 q- O
  237. ; example, if you set output_handler to "mb_output_handler", character
    6 J7 c  R. x. y* h4 o; {. c( N% H
  238. ; encoding will be transparently converted to the specified encoding.
    ! Y( _* w8 C* R& c# V$ l
  239. ; Setting any output handler automatically turns on output buffering.* e& P, R$ Z- {; ~$ M4 |; _* j
  240. ; Note: People who wrote portable scripts should not depend on this ini
    8 b% G  O% I) t7 s) z- e- t  h! |
  241. ;   directive. Instead, explicitly set the output handler using ob_start().) x4 W' S3 V4 @1 W
  242. ;   Using this ini directive may cause problems unless you know what script
    ) q8 l4 L' J, E+ K; f
  243. ;   is doing.
    ' j( N- ^% g/ v$ g+ x8 C
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"$ c- D  K. _+ s" c) k2 _
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    * ?; i6 s( i, t9 u: t
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    $ Y+ |, T9 b' b
  247. ;   Instead you must use zlib.output_handler.
    4 T% e9 b  M, Q* |) ]7 w$ F9 _+ o8 q
  248. ; http://php.net/output-handler
    $ m* G' S8 _# N1 I
  249. ;output_handler =$ |. U6 n* w8 o' Q1 u7 M4 j
  250. - M/ {; C0 P4 R$ \8 X
  251. ; Transparent output compression using the zlib library6 H8 O. d& Z* w, x0 H( V
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    0 k. P( }8 s/ t; P9 u
  253. ; to be used for compression (default is 4KB)
    * a5 b2 `$ b, V, K$ M
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP/ g' Y. U( w9 Z) S" ~; ]+ L2 |6 a1 k2 p
  255. ;   outputs chunks that are few hundreds bytes each as a result of3 O5 m* b. U$ j& Y+ x( R
  256. ;   compression. If you prefer a larger chunk size for better
    , c7 ?& I' `6 H  v* [1 Q0 Z. v
  257. ;   performance, enable output_buffering in addition.! u$ D- |% n& K) L
  258. ; Note: You need to use zlib.output_handler instead of the standard
    , ]3 G7 t- a4 E. e( S$ `& g
  259. ;   output_handler, or otherwise the output will be corrupted.6 D  R3 v6 z% S$ [
  260. ; http://php.net/zlib.output-compression& S* n1 ~; P4 U! x' i, Q1 Q/ L
  261. zlib.output_compression = Off2 X0 D/ G4 y" z
  262. 8 F+ U. Z/ E- A+ Y( ^1 ]
  263. ; http://php.net/zlib.output-compression-level
    ! H0 l* t! s3 H- p1 U# [
  264. ;zlib.output_compression_level = -10 a4 i! Y9 S# Q9 \- r% d8 ?
  265. 7 b8 l0 f+ O2 [
  266. ; You cannot specify additional output handlers if zlib.output_compression& U. E# T3 u0 w# j9 D
  267. ; is activated here. This setting does the same as output_handler but in6 v0 D! E: Q$ R3 q% ~& H4 a. q
  268. ; a different order.) e; U2 @% R0 {& {% H- Z& P* e3 p% f8 y
  269. ; http://php.net/zlib.output-handler! i. e/ [$ `# v
  270. ;zlib.output_handler =, `) |* \; g7 a, T

  271. ! }8 B% h5 z3 M$ I" C- f2 o
  272. ; Implicit flush tells PHP to tell the output layer to flush itself6 j! I# y- X* H2 A$ S% W( U0 I8 q
  273. ; automatically after every output block.  This is equivalent to calling the
    1 D6 w- R9 }+ d+ r1 s/ J2 w
  274. ; PHP function flush() after each and every call to print() or echo() and each
    . A0 m* f* n! H7 }8 {% J9 ?1 S! b
  275. ; and every HTML block.  Turning this option on has serious performance" j. @* P# ?- C& j0 _* @+ d: r
  276. ; implications and is generally recommended for debugging purposes only.
    * {( S9 O# k; B8 d+ ?' |
  277. ; http://php.net/implicit-flush! `  U' X. _* s
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    ; ^2 F/ F9 U: t3 H& G% K
  279. implicit_flush = Off
    - J8 q: ?6 O7 [0 H& L/ |9 }
  280. ; t* F: V* u; ]4 I' n8 [# L
  281. ; The unserialize callback function will be called (with the undefined class'
    / a8 ^) ^' ]; w8 j4 p
  282. ; name as parameter), if the unserializer finds an undefined class- c0 ^6 @, Q2 F. Z6 \$ |
  283. ; which should be instantiated. A warning appears if the specified function is9 D, U2 e6 u; e. ~. g, M7 Z
  284. ; not defined, or if the function doesn't include/implement the missing class./ N/ e2 b0 \8 K& E3 t6 }" y
  285. ; So only set this entry, if you really want to implement such a
    $ S0 B" W! _7 {0 Q1 V
  286. ; callback-function.
    1 w- g& H, _' K& p- \# _$ O3 ^6 `
  287. unserialize_callback_func =7 X9 N$ o+ ?8 ~: s3 U! c+ O

  288. / O( L7 R) F6 {
  289. ; When floats & doubles are serialized store serialize_precision significant
    4 Z/ K' T: p# ~* S( {1 P0 ]
  290. ; digits after the floating point. The default value ensures that when floats
    / e2 N3 u5 H/ {5 S! K* ^2 h4 J
  291. ; are decoded with unserialize, the data will remain the same.. e2 j! Z% g) g$ g, _
  292. serialize_precision = 17* I+ |, K" d/ s+ i5 I/ H+ f

  293. 7 w, u. C# [5 _6 Y/ C' P# X" T
  294. ; open_basedir, if set, limits all file operations to the defined directory
    - ~  l* ^; S- L; ~% j
  295. ; and below.  This directive makes most sense if used in a per-directory
    . J1 ?$ R4 {7 c
  296. ; or per-virtualhost web server configuration file.8 a& d; b7 J4 X9 k% j. m( q$ j4 K
  297. ; http://php.net/open-basedir
    & p2 Y+ W$ W8 y9 E
  298. ;open_basedir =5 V" l+ x' A: t! ~& y" }

  299. 0 Y4 \: H' }5 X4 r# A& j: P. I
  300. ; This directive allows you to disable certain functions for security reasons.
    + r& U# \& p) m" y$ ~9 ^  t- R
  301. ; It receives a comma-delimited list of function names.0 F5 j$ Y  t; I$ k; s6 Z5 Y
  302. ; http://php.net/disable-functions
    4 T9 Q" l. M0 b# h/ i) H
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru! z! x) y! c; [& p' C

  304. 3 _3 I+ K8 N4 a5 n0 |' G0 ^/ ~$ f
  305. ; This directive allows you to disable certain classes for security reasons.0 ~0 L, }- N( C  I+ F
  306. ; It receives a comma-delimited list of class names.0 D1 @3 i# Q% g: c1 l  y- z
  307. ; http://php.net/disable-classes
    1 ]8 q/ [7 ^6 ?( x$ }! Y3 I( Y
  308. disable_classes =
    / O1 b6 y% d6 x

  309. % ~- _. ]5 @8 \  _1 z
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in; x2 D9 c9 M8 O( h
  311. ; <span style="color: ???????"> would work.
    5 z2 v/ V% u! O0 Z+ w. W' d
  312. ; http://php.net/syntax-highlighting) e% j0 X- I9 M- A+ i1 x
  313. ;highlight.string  = #DD0000, d( {, t3 ^7 \4 H' l
  314. ;highlight.comment = #FF9900; n" u8 X( o4 w) f9 J
  315. ;highlight.keyword = #007700
    ; H8 ~: c9 z% A
  316. ;highlight.default = #0000BB- v5 T$ s) A. Z7 C: D, l
  317. ;highlight.html    = #000000
    0 ?0 P0 g: q9 b- C; N/ E) i
  318. + i2 y0 y) F$ ~* _0 y8 a: I
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    - E% F6 d1 w$ K3 `' N
  320. ; the request. Consider enabling it if executing long requests, which may end up! p6 P' C  T' b. d9 g2 @/ m
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior, N- j# T* P2 F5 X4 _6 \
  322. ; is to disable this feature.
    5 b# t  X7 m4 P5 W
  323. ; http://php.net/ignore-user-abort
    % E% [" @! o/ a* e, X% ?! A4 ?
  324. ;ignore_user_abort = On
    3 W1 f6 V. v9 E1 E6 o& }

  325. ' s0 n! I( [9 P9 p4 K: q
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    ) N3 I3 s1 Q; S- l
  327. ; be increased on systems where PHP opens many files to reflect the quantity of2 v3 ^( g/ U' Q- p1 ?& Q1 s! ~
  328. ; the file operations performed.
    * X1 t5 ?! T8 @2 k9 l
  329. ; http://php.net/realpath-cache-size
    ' T( i: ?7 t9 A6 T# ^
  330. ;realpath_cache_size = 16k
    / X. H* n2 T' {: X  j) C/ d
  331. 1 ^' K) y9 w  Y$ L" ]! H
  332. ; Duration of time, in seconds for which to cache realpath information for a given& `! ^# n1 y& {+ a% I* ^6 ]
  333. ; file or directory. For systems with rarely changing files, consider increasing this+ m2 ?9 _9 A% v3 L7 N/ ?9 f% v# x2 X
  334. ; value.- w" I/ \$ j* w9 t
  335. ; http://php.net/realpath-cache-ttl
    & f' D: a! M" x
  336. ;realpath_cache_ttl = 120' F; G! y7 R8 r! V# F( z
  337. & _- l% a% ]( g( h2 f* s" @. ^: n
  338. ; Enables or disables the circular reference collector.
    : B, |' ]( G+ R% Q% T2 R) ^7 C8 T
  339. ; http://php.net/zend.enable-gc, B7 G: I% v+ m
  340. zend.enable_gc = On
    , R" h; c' p  j
  341. + x  _& q% N0 L: `$ r4 @
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    4 O) X0 F% B. B( L9 ?; e& L: }
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such1 Q: V+ y- ]( j/ g1 v8 k
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    , N; X7 Q- _% G$ y, l
  345. ; Default: Off: P# G+ j4 M' }0 [
  346. ;zend.multibyte = Off( h- K% ]9 W' H/ G9 f- m

  347. 5 B5 D: C) x" y4 U2 S4 ~+ ]) b& L
  348. ; Allows to set the default encoding for the scripts.  This value will be used4 v# o. C6 ]6 j! F
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.  h! ^( Y2 }; G- c
  350. ; Only affects if zend.multibyte is set.4 J- M' i7 q# A5 A) b7 `* m+ ^* x
  351. ; Default: ""5 ?9 B; R; h! w' h  ^
  352. ;zend.script_encoding =0 R: i6 @. K! E" j6 `+ b: y

  353. $ ^) M5 i! v7 S  R. i# J
  354. ;;;;;;;;;;;;;;;;;
    / I6 M2 D4 @- b' M
  355. ; Miscellaneous ;0 z( ^. R1 H$ f* W
  356. ;;;;;;;;;;;;;;;;;
    6 H1 ?4 d( p+ f$ b' X

  357. 4 N8 F9 z& k/ N, b# \
  358. ; Decides whether PHP may expose the fact that it is installed on the server4 q5 Z8 i% e# J3 t# c
  359. ; (e.g. by adding its signature to the Web server header).  It is no security9 W- w4 f4 Q5 h0 \) s& @6 c
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    - T. U  o" Z5 B2 ]
  361. ; on your server or not.' |3 |. C( F8 f7 q. s6 C
  362. ; http://php.net/expose-php9 V1 F) N3 D( \8 j$ q" `$ Y. f% p
  363. expose_php = On5 @% _: s9 ~( i' Y

  364. * X" w  B; Q% r& a9 K8 \8 F8 @
  365. ;;;;;;;;;;;;;;;;;;;
    8 r( h. e4 e9 d4 H
  366. ; Resource Limits ;/ v9 B0 s6 r9 z) R4 U  E0 ]
  367. ;;;;;;;;;;;;;;;;;;;
    ! u+ m2 S6 a$ R6 M7 ], P+ M

  368. % W$ i  g1 @7 }* \
  369. ; Maximum execution time of each script, in seconds" S4 n+ j( B( K6 J# B7 R1 r2 }
  370. ; http://php.net/max-execution-time  k% O+ d3 K, o5 V8 n
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI6 o- G# g. I1 i( z7 f, o
  372. max_execution_time = 300: i+ m$ m8 z) |! \0 `0 ^

  373. 7 a; Z  i" N* k3 L% b+ s) h" e" \
  374. ; Maximum amount of time each script may spend parsing request data. It's a good, `- [: }* D: n; Z4 E' \+ b  [
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    - F7 D. A( K0 h
  376. ; long running scripts.# r' ~7 s: l0 \" p6 r
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI! _/ H- v+ W; N. m7 O4 \! k: ?
  378. ; Default Value: -1 (Unlimited)% u, Z. O7 U  [7 t7 f
  379. ; Development Value: 60 (60 seconds)
    ! Z7 G% {, n( T: Z
  380. ; Production Value: 60 (60 seconds)
    5 a1 o0 o4 X5 x
  381. ; http://php.net/max-input-time
    , F/ [! c/ j" Q0 q" j  d
  382. max_input_time = 605 n8 E2 n9 O, o) }9 ^: Q. \
  383. ) o- I# |* \' h
  384. ; Maximum input variable nesting level
    5 M' ^- D' P  K2 W4 N
  385. ; http://php.net/max-input-nesting-level9 I7 Y& h, o6 E# I& Y
  386. ;max_input_nesting_level = 64
    3 m6 c' S. Q% u  Q; j

  387. 8 P2 k; q/ D2 w' N' u
  388. ; How many GET/POST/COOKIE input variables may be accepted
    - P/ J. w+ Q, |9 E* f7 h
  389. ; max_input_vars = 1000# e' q: h0 R  }

  390. ! ?3 y% u' H4 b
  391. ; Maximum amount of memory a script may consume (128MB)5 [+ _# G% P2 k' c" C0 p
  392. ; http://php.net/memory-limit
    5 S% I; A% f( `* t  w' U
  393. memory_limit = 128M
    ! B4 F: D6 G( E, @, j8 t

  394. 4 K# p1 ^" o* v- Q0 j  O& Z( m/ v
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;( ^" M2 w! a, l3 V. e& O/ i! O
  396. ; Error handling and logging ;
    $ b$ B5 X: f8 w' f5 a& h4 z
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;! l0 _3 J2 q4 o2 P0 r

  398. 1 j5 A, P: u. E$ z1 j
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    5 ~8 A5 U2 [* V9 Z  c
  400. ; it to take action for. The recommended way of setting values for this: u8 Z5 `% s) T% F5 i
  401. ; directive is through the use of the error level constants and bitwise+ W8 m. |: F+ N( v3 _2 @9 d# {
  402. ; operators. The error level constants are below here for convenience as well as2 U, O8 _6 u/ Z
  403. ; some common settings and their meanings.
    2 g' y; A/ P' X" _% Z
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT# V" G" [# k5 V( M: ^6 @
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and# D( J7 Q' [7 |
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    " }# A. R0 f7 |5 c
  407. ; recommend error reporting setting. Your production server shouldn't be wasting6 D; Y) x- E. N0 x1 O
  408. ; resources complaining about best practices and coding standards. That's what' C) r. y; L# ]* E
  409. ; development servers and development settings are for.
    , l5 d6 t, d/ Q( T
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    - K$ ~  m4 \% A9 A% Y) L
  411. ; means it pretty much reports everything which is exactly what you want during
    * k7 f  q6 Z9 r& {
  412. ; development and early testing.
    , Y- n$ A: y; F8 P
  413. ;/ ^( ]- }0 _5 i
  414. ; Error Level Constants:
    & _! @) c2 L8 x: y
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)7 G* [9 ^; K  y, g
  416. ; E_ERROR           - fatal run-time errors0 Y) g1 O2 h" G/ G
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors. }) `/ S; J" q. X1 u
  418. ; E_WARNING         - run-time warnings (non-fatal errors)4 N/ r$ F; {0 V  J$ m6 L# G
  419. ; E_PARSE           - compile-time parse errors1 t2 {! J. z  R, o% P" f' `
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    1 ~% k. A/ ?6 k. E" X
  421. ;                     from a bug in your code, but it's possible that it was3 k( L3 C0 V& T: h; e
  422. ;                     intentional (e.g., using an uninitialized variable and7 @/ A+ `$ e% r0 B4 [
  423. ;                     relying on the fact it is automatically initialized to an* ^2 D# R9 f  q6 X6 x* B- O: O
  424. ;                     empty string)
    * ]; p/ x6 B7 m& j' ?
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    1 ]: i4 V1 \3 K* l& M( w
  426. ;                     to your code which will ensure the best interoperability
      e, C6 m% s, K8 @9 t; U
  427. ;                     and forward compatibility of your code8 y  R- h8 F' E
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup$ Q' n7 r9 W! ~  f. V/ q' G
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's. W8 P; z5 e) b' D6 U1 b
  430. ;                     initial startup4 y' t. v% h5 q" {9 u% [
  431. ; E_COMPILE_ERROR   - fatal compile-time errors6 Z: [2 r/ @) z: x: B! L6 o
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    1 u% X6 R  k1 G8 u7 w; f7 c1 J
  433. ; E_USER_ERROR      - user-generated error message( c9 [' J5 V( R$ i. H
  434. ; E_USER_WARNING    - user-generated warning message/ T5 q: }* r: @: o
  435. ; E_USER_NOTICE     - user-generated notice message
    8 z8 C( F% \4 r. ~$ S) c9 l" S
  436. ; E_DEPRECATED      - warn about code that will not work in future versions; i# e8 L* u2 p4 |
  437. ;                     of PHP+ i1 E: h, R0 ]% p  N
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    4 L& D$ c0 j& N9 d( g/ M0 V
  439. ;
    8 C- H1 A' [. S5 F: y4 {! a; N
  440. ; Common Values:
    ; n/ t  G) x& {5 k; b
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    2 q3 ~/ }3 D5 p! |& q
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)) J7 c5 w6 ^  G  t) ?
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    8 q8 a1 ~7 Q  r5 [+ ?( J; H
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)$ E' \: L3 E9 c+ `2 Y, ?* l
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED4 O7 [% f* B- `+ N
  446. ; Development Value: E_ALL( S/ B% \( l) S1 c8 H& t# v4 m
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    * c# G4 X! v- G2 _6 Y
  448. ; http://php.net/error-reporting
    " `- ?! h' K/ c$ ~2 a' f
  449. error_reporting = E_ALL & ~E_NOTICE: N. y6 Z' O* c0 a) P' b2 X/ h

  450. 2 N$ `+ a# J9 l$ H9 S$ m! @8 ^
  451. ; This directive controls whether or not and where PHP will output errors,
    " p; V, L) E( r6 r
  452. ; notices and warnings too. Error output is very useful during development, but8 {5 X% k/ a( l- g3 Z0 P
  453. ; it could be very dangerous in production environments. Depending on the code- ~! U* G, S5 x' C$ E
  454. ; which is triggering the error, sensitive information could potentially leak
    , r9 J6 o" j( m. }4 d( o
  455. ; out of your application such as database usernames and passwords or worse.
    ; d7 U- ^" c: S5 O  Q6 {, X
  456. ; For production environments, we recommend logging errors rather than  B* ?$ }( o+ L2 n
  457. ; sending them to STDOUT.; d0 a. I5 o( N" h
  458. ; Possible Values:; i3 ~- m( K8 o2 r2 Y
  459. ;   Off = Do not display any errors* C. ?  ~6 b- Y2 }
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)5 I# l: c0 F2 b3 ^* c- s3 }
  461. ;   On or stdout = Display errors to STDOUT7 X" y4 K/ ^& |( N8 s! {
  462. ; Default Value: On5 Y7 K2 G( l, \4 m9 B! A
  463. ; Development Value: On
    % L/ s/ x" p! C  B9 J" M3 l( J) k
  464. ; Production Value: Off
    ) H. e3 Q( d! _
  465. ; http://php.net/display-errors
    8 S3 w! v6 s$ J" m8 R) y
  466. display_errors = On
    , o* m; n+ @$ j9 O
  467. 0 M9 r3 f" L2 G5 a+ P; x7 @" J9 m
  468. ; The display of errors which occur during PHP's startup sequence are handled
    . K: r0 o2 Y+ b$ g( u) E' D
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    ) c& x; R" K8 X% I" k
  470. ; errors from clients. Turning the display of startup errors on can be useful in0 v: F/ F8 L9 W) c+ [4 q2 @
  471. ; debugging configuration problems. We strongly recommend you
    , i' [! b% P, v) B3 Y) ]0 |
  472. ; set this to 'off' for production servers.
    - X* A4 p6 h( j: P4 `; [
  473. ; Default Value: Off
    . n' E$ Z) F% V6 v  d
  474. ; Development Value: On
    / W3 _2 U4 W* H4 t
  475. ; Production Value: Off
    + _2 V1 \/ j3 v* U
  476. ; http://php.net/display-startup-errors3 a0 H/ _6 ?6 l3 m, t0 W8 X- U
  477. display_startup_errors = Off
    : ]& v9 O& P0 V' c; f2 R
  478. . Z6 a+ i) p4 m( f
  479. ; Besides displaying errors, PHP can also log errors to locations such as a/ _0 |8 m' C3 V" ~; B, L( s1 e
  480. ; server-specific log, STDERR, or a location specified by the error_log, T, u8 h( S  y; B; K
  481. ; directive found below. While errors should not be displayed on productions
    3 d8 n( |! v% `7 J/ o% [
  482. ; servers they should still be monitored and logging is a great way to do that.5 v+ i+ E2 W6 ?2 w* O
  483. ; Default Value: Off
    - g% c+ _; v) q
  484. ; Development Value: On+ P! q1 [% O& \( _
  485. ; Production Value: On
    . k* w: L$ O9 I3 ]0 W$ x2 Q2 P
  486. ; http://php.net/log-errors& l1 `  p* U5 t: W7 F2 X) z; Z
  487. log_errors = On$ `7 n( g" O7 u2 E, Z# W7 V, f
  488. $ i' ^' J4 t4 n8 W9 ?
  489. ; Set maximum length of log_errors. In error_log information about the source is
    & ~, U: ^/ K, j9 \& Z- P" T; j( a: }5 E
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    7 K& e7 t# \+ j! p$ t
  491. ; http://php.net/log-errors-max-len
    7 J1 Z, T" a$ w: B8 Q
  492. log_errors_max_len = 1024
    % i$ v+ _8 b) k- Q- y) C/ V2 x! @
  493. ( a$ p3 a0 y. p% J9 l
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ! c3 f2 T% b" {) O
  495. ; line unless ignore_repeated_source is set true.
    " j! B; Q: S" Y- q
  496. ; http://php.net/ignore-repeated-errors7 z- f! j* i  G) c
  497. ignore_repeated_errors = Off
    7 N8 i) W! j* k

  498. 7 k) |8 d8 U. c1 Y+ i
  499. ; Ignore source of message when ignoring repeated messages. When this setting, \# ^  q. p. r( ^: E( O
  500. ; is On you will not log errors with repeated messages from different files or; D/ \/ |7 L' z# x; `( R
  501. ; source lines.) l" d" K+ w( G5 @4 n" l& i9 {
  502. ; http://php.net/ignore-repeated-source
    ' @+ T: x7 R2 a7 t
  503. ignore_repeated_source = Off9 ?1 k6 k6 k! H- F
  504. 5 g. K% k9 c/ r
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on( w4 l) p/ g$ Z
  506. ; stdout or in the log). This has only effect in a debug compile, and if$ m( R4 q5 o+ t. S8 v
  507. ; error reporting includes E_WARNING in the allowed list) V6 \( W* |( S: P8 h  N  Y  J
  508. ; http://php.net/report-memleaks6 b5 y7 {  h9 q, [) w  p) ]- r
  509. report_memleaks = On: n& {; n' p0 l1 U
  510. $ I8 i0 `) G1 g
  511. ; This setting is on by default.2 W4 v" b, K5 Y
  512. ;report_zend_debug = 0
    6 @7 f3 Z8 e9 R
  513. # F$ Q( ?9 E# Y- ]9 i" W
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    5 x, _7 A* y- g  E  `1 x+ W% J
  515. ; to On can assist in debugging and is appropriate for development servers. It should* n' U! I% a( P) M- X
  516. ; however be disabled on production servers.
    . f8 i6 g3 R+ p) }+ S6 m5 }
  517. ; Default Value: Off. K* _. z8 b7 e" T4 R
  518. ; Development Value: On1 v' j- v& I$ l# G: o! p; e
  519. ; Production Value: Off6 C' j8 I3 ?$ s; s8 s1 k" Z
  520. ; http://php.net/track-errors
    5 x2 l- ~4 S: |$ V! Z
  521. track_errors = Off4 ~1 L  o) ?' w% q
  522. 7 }9 D* P% l' w5 R  I8 `. ?
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    5 k8 ^4 C6 A" g7 U6 ^1 x+ i
  524. ; http://php.net/xmlrpc-errors
    - W% {; y9 X; v! l4 [2 O* R
  525. ;xmlrpc_errors = 05 K$ l* m' e  T6 U" C. n8 ~
  526. " N# E4 R: t) F3 g6 l6 V) J
  527. ; An XML-RPC faultCode
    $ z4 B& l5 z( C% t
  528. ;xmlrpc_error_number = 0
    : ]- Y& T. x# t; I$ y/ f
  529. , y# m' |* ]* T4 K' f! D
  530. ; When PHP displays or logs an error, it has the capability of formatting the5 L8 V; U5 |& ~3 E
  531. ; error message as HTML for easier reading. This directive controls whether
    6 D# d+ A. D& C* |% M2 o2 [
  532. ; the error message is formatted as HTML or not.
    4 b# i$ X. }) I5 L* |& v/ h9 W
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI+ L! g) g- u0 Q3 ]4 E5 X3 [8 C$ x2 J
  534. ; Default Value: On8 m+ y) Z" A" U
  535. ; Development Value: On) \! i: X9 G; j* I& f- j9 a) c& `% q
  536. ; Production value: On  R# h" _% o& k: \7 l
  537. ; http://php.net/html-errors+ `* P; u+ ^" e7 h
  538. html_errors = On+ Y! S7 M, w) d8 c/ |4 {

  539. 8 U& ~+ r* E/ h4 Q3 ^: o
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    " P* n3 I# c9 f4 x
  541. ; produces clickable error messages that direct to a page describing the error3 [% n  B. N9 y+ N1 g5 e
  542. ; or function causing the error in detail.8 l8 `; S5 t5 g/ v) z/ P4 ^
  543. ; You can download a copy of the PHP manual from http://php.net/docs8 M, X* d* J8 a* s/ i
  544. ; and change docref_root to the base URL of your local copy including the
    / a2 H% g  ~9 G
  545. ; leading '/'. You must also specify the file extension being used including& o5 M0 Z1 e2 v& S
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    + _3 ?: ^; U' B* o% ?! R8 u, `
  547. ; case no links to documentation are generated.0 ?2 C6 p! K( t% g# d' Z7 ?, R  ?3 G
  548. ; Note: Never use this feature for production boxes.; @' I, {3 D' S7 I/ \
  549. ; http://php.net/docref-root
    + w' W) j! q* [0 K6 b4 D- U# [% n0 T! A
  550. ; Examples
    2 J) n! Y. Y3 v/ h3 l
  551. ;docref_root = "/phpmanual/"* ]* p( W% y) e; x6 v# t
  552. 6 z! v: t4 u( [1 |6 `' n+ R
  553. ; http://php.net/docref-ext- w/ Q% b" t& u. Z# N  S
  554. ;docref_ext = .html
    8 y% T! @9 K, [4 e8 C7 p
  555. 5 |5 z& W0 q# {" P) E, V% z# p
  556. ; String to output before an error message. PHP's default behavior is to leave
    5 d3 M+ j0 }. d1 s: L
  557. ; this setting blank.# a2 D. s" c5 L( F9 m; L
  558. ; http://php.net/error-prepend-string; G) b* R. [4 Z1 U
  559. ; Example:2 |' T4 ~; B# K  n: y1 q
  560. ;error_prepend_string = "<span style='color: #ff0000'>"5 M- w9 [* b) j5 d

  561. " f* a  B5 M" W, S! ]. y
  562. ; String to output after an error message. PHP's default behavior is to leave
    + [8 R) [  @; |
  563. ; this setting blank.6 u$ ?4 q  V" B5 N+ p( `1 M2 \
  564. ; http://php.net/error-append-string/ n3 n6 W" r; z: n# B+ |
  565. ; Example:
    $ w5 h# i, b+ @6 B, X
  566. ;error_append_string = "</span>"
    9 y  k% n- S+ }% @* Z0 Q) ]* [

  567. , g1 g; |) t  t, H( P& d
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    ! j: @! Z% l( A7 \  E8 h
  569. ; empty.
    3 L$ z# P( J7 n5 T5 z+ l
  570. ; http://php.net/error-log  K, W% E3 o% Y2 A" G2 a- ?
  571. ; Example:& R0 u/ B& W& T6 o: ?
  572. ;error_log = php_errors.log
    ! ~+ C7 K& H0 j" c4 J. d0 h
  573. ; Log errors to syslog (Event Log on Windows).
    * n! l. i0 q3 j8 V9 G" T
  574. ;error_log = syslog
    0 l+ h1 _4 |4 L+ @6 |
  575. : o4 Q3 t  `. r. B
  576. ;windows.show_crt_warning
    & W5 A1 K( @" y6 d1 R
  577. ; Default value: 05 ]7 C3 m3 }9 ?5 T# Q
  578. ; Development value: 0' d0 {+ u  @4 I  n2 X( w
  579. ; Production value: 0
    7 c( m, a( b3 _* E; H

  580. & L5 Z' A. @( }" y5 F. Q. I
  581. ;;;;;;;;;;;;;;;;;
    7 C- {7 }, z/ o
  582. ; Data Handling ;
    + r, g# p7 V2 k  C, z  E6 B3 q
  583. ;;;;;;;;;;;;;;;;;# V" I/ q) x: d  R
  584. 4 R7 D$ o4 O% n& |
  585. ; The separator used in PHP generated URLs to separate arguments.
    " n! N/ b; u8 _! E$ D( I
  586. ; PHP's default setting is "&".; t: P% d, ^3 n* C
  587. ; http://php.net/arg-separator.output
    ) x* \) q0 q$ {* Z' J+ p
  588. ; Example:% O2 @6 B4 f0 G6 V0 H$ [
  589. ;arg_separator.output = "&amp;"
    + W8 a( K8 x* b7 b, g9 h/ t$ U, [4 e
  590. 5 \+ N1 I2 K, Q6 ^/ p# k
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    5 D- T: ?8 T& E  E
  592. ; PHP's default setting is "&".: T' n5 K3 H/ _3 [& p7 Y) o
  593. ; NOTE: Every character in this directive is considered as separator!
    4 g+ y7 I2 [% g" @( U; f/ Y% M
  594. ; http://php.net/arg-separator.input& e! O3 x" n, D6 X1 c
  595. ; Example:' l% Z" G1 r/ M1 G* D/ }9 r
  596. ;arg_separator.input = ";&"
    9 u7 a# \2 D5 F& ^& E: e( j

  597. $ }/ `" d3 e4 u' G9 z' L# A
  598. ; This directive determines which super global arrays are registered when PHP
    ! o# d9 H: `3 h8 `& Y2 r
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super! Z4 K9 p- s8 x7 P1 Z/ ~7 J& G
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    0 ]  g  i* X. M& \3 r! a! _0 q
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    $ i( d, U% y; N" q% g1 {* S2 U
  602. ; used as the others, ENV is not recommended on productions servers. You4 d; E  o% c) f' t2 J) u
  603. ; can still get access to the environment variables through getenv() should you
    8 p; j8 R0 |8 [8 k  J6 C) {9 s5 B' T
  604. ; need to.
    / n( h6 H7 N% W
  605. ; Default Value: "EGPCS"2 ^: {  R, h! E; ~* ^
  606. ; Development Value: "GPCS"
    3 H( u5 R! o' ~) B
  607. ; Production Value: "GPCS";& z/ Z! s5 F  V3 w. I" `& V% U* a% s
  608. ; http://php.net/variables-order' Q& u; K2 v- [- ]% o
  609. variables_order = "GPCS"* v4 S2 m  v3 O* j

  610. 7 `* y9 B; G! s* {. Y
  611. ; This directive determines which super global data (G,P & C) should be
    7 _- `# l- c0 f+ y- I; S
  612. ; registered into the super global array REQUEST. If so, it also determines+ P: B6 D2 f& Z; g
  613. ; the order in which that data is registered. The values for this directive0 k, T  u  U8 K* Z1 _# t$ N
  614. ; are specified in the same manner as the variables_order directive,0 t7 u! B% T$ o. z" |5 u
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set, ^  P2 b+ P; V# T
  616. ; in the variables_order directive. It does not mean it will leave the super
    & a6 `: P8 i6 m' r5 `8 m9 x4 h
  617. ; globals array REQUEST empty.4 d  t8 w) M! [! K
  618. ; Default Value: None
    ( b% U) A; ~/ [1 g3 J* I! C
  619. ; Development Value: "GP"
    ) x  H+ \- `0 {$ d3 S
  620. ; Production Value: "GP"  ^2 x1 {/ n, ?$ r+ ~' T5 h9 E  R
  621. ; http://php.net/request-order
    ) S3 u( a8 {) A- \' K1 t; R7 m! V
  622. request_order = "GP"
    8 _' b  A4 s6 k3 P- |7 Z, j0 W/ }# x

  623. 2 g$ l) @, d- N* L- ^0 W( \
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    - f9 G; v; E- ~9 x! [
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script6 S1 l6 C+ I1 s  N- R2 w
  626. ; is invoked. $argc contains an integer representing the number of arguments1 H8 |, X+ X1 b' V6 C% M# J8 [, H2 A" K
  627. ; that were passed when the script was invoked. These arrays are extremely0 k# K$ w4 u6 r- D( |; b) E
  628. ; useful when running scripts from the command line. When this directive is
    6 f. t8 ?6 Z% Z% t% ~9 ~
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    $ @7 R9 r0 w$ ?) s' j
  630. ; a script is executed. For performance reasons, this feature should be disabled* I6 @% C$ N+ r& ~
  631. ; on production servers., S3 d' \% |3 e: V$ n; g
  632. ; Note: This directive is hardcoded to On for the CLI SAPI& L0 ^/ [+ Y2 |5 ^! z8 t  u
  633. ; Default Value: On
    5 u: b2 r( t9 i" D4 x
  634. ; Development Value: Off, _+ c+ S7 n3 i# J& R" j
  635. ; Production Value: Off' Q, `; O- y% i( h6 ~$ ^% A  p0 R
  636. ; http://php.net/register-argc-argv
    7 P6 d" T  X: l( l* G% T: v' L( p
  637. register_argc_argv = Off
    ! U4 W' M$ x0 S" y: D3 V
  638. 8 k2 ~! T8 J2 x+ N  H
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ' b$ B% v( o# E! [4 P
  640. ; first used (Just In Time) instead of when the script starts. If these
    0 Q- E& D) m1 M
  641. ; variables are not used within a script, having this directive on will result1 h8 ?) g7 Z/ |/ [  ~6 S
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    $ I  Y& C$ r( h! g
  643. ; for this directive to have any affect.% j% {' \) {3 d
  644. ; http://php.net/auto-globals-jit
    $ w* A- ^3 U2 z6 P% y8 X3 j
  645. auto_globals_jit = On* d1 i+ `7 \4 |- T( A' \: }  q* K
  646. : }1 i% V0 \7 A
  647. ; Whether PHP will read the POST data.
    . r+ V6 Y/ l/ y9 R2 ~9 c, Q# C
  648. ; This option is enabled by default.
      d5 m% s; T, G, q) p6 y
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST6 j  j" g0 s& b2 d0 ?
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    # P$ p1 |7 Y% C, M; Q4 j
  651. ; POST data will be through the php://input stream wrapper. This can be useful/ j" y0 }; V5 u
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ) }+ j, O/ c+ d, L! x  k9 a
  653. ; http://php.net/enable-post-data-reading
    ' _- b8 B  a: f1 J8 E; Q
  654. ;enable_post_data_reading = Off3 ?/ x. ?. N$ j, L7 W
  655. ( p, O% Q8 f" v- `
  656. ; Maximum size of POST data that PHP will accept.# k' L$ t+ j2 @+ ^9 q
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading' J; A$ ^7 b0 `* @
  658. ; is disabled through enable_post_data_reading.
    8 ?/ e+ b% F( j  U8 b
  659. ; http://php.net/post-max-size! N7 K2 U& ~" V& h, ]1 M
  660. post_max_size = 50M
    - c  ?2 s: O% {; k$ i7 o) W

  661. 6 |  L0 F9 g4 W0 t
  662. ; Automatically add files before PHP document.
    0 b- v4 b. v, E4 J* r, W; Q
  663. ; http://php.net/auto-prepend-file
    : M  h2 ~( C/ ~$ S
  664. auto_prepend_file =7 b7 h4 ]4 m7 i( W' l& V: g# u
  665. 7 |7 t* |* C" y# a3 O
  666. ; Automatically add files after PHP document.
    : ]! M' x  ~/ j& V1 w; L2 S% q
  667. ; http://php.net/auto-append-file
    6 {3 W* a# O. C: M; z' `  n
  668. auto_append_file =0 l; [. n9 [8 \/ }, c0 w/ M

  669. , W0 Z- [- a) h% g+ }: R
  670. ; By default, PHP will output a media type using the Content-Type header. To/ G0 b4 P7 j) `
  671. ; disable this, simply set it to be empty.% v. ?8 {2 F3 O) ~, l/ y( X
  672. ;
    3 P! s9 Q; A, Y! Z. R
  673. ; PHP's built-in default media type is set to text/html.. L8 T3 ~8 u1 }
  674. ; http://php.net/default-mimetype8 ^2 v% S# l& ]
  675. default_mimetype = "text/html"
    + W2 B! f0 K# R8 T6 \# a

  676. , [2 z# t: Z2 S! U0 B( p) Y/ S2 m
  677. ; PHP's default character set is set to UTF-8.
    2 u6 Z; n7 d; o) g5 \+ z, v6 E
  678. ; http://php.net/default-charset
    7 L; ?8 K* Q% W/ _/ o3 F9 \
  679. default_charset = "UTF-8"
    4 ?6 _) X, p; ~# N
  680. . E& ^4 ~3 r, }0 i! K3 G
  681. ; PHP internal character encoding is set to empty.2 C, K2 F5 n  D5 t& p- v
  682. ; If empty, default_charset is used.2 \6 o( o/ ~& I! F) c) S" E
  683. ; http://php.net/internal-encoding5 M! G8 a: S- G' |; Y) C
  684. ;internal_encoding =
    ! L/ U+ y+ |* A8 h2 r' U6 _
  685. & z/ ^. ?* E" i6 V; d
  686. ; PHP input character encoding is set to empty.* r/ j* \! M8 }$ I# d1 ]  H, S% q3 O
  687. ; If empty, default_charset is used." b6 {* @" N+ I& H$ V
  688. ; http://php.net/input-encoding
    % D- i* M: G4 j  i
  689. ;input_encoding =
    0 D4 f0 A5 K) B) c

  690. ! q' A/ E2 s# a9 g" d5 f) l
  691. ; PHP output character encoding is set to empty.* [! M' u+ |- a5 V7 y& n7 b
  692. ; If empty, default_charset is used.
    + F6 T+ v  ^; N, @- ^0 k
  693. ; See also output_buffer.
    ; b- Z% W3 O% Y5 ?, V! |& e, l" x
  694. ; http://php.net/output-encoding) y8 A; `) _8 P
  695. ;output_encoding =" l& }* t4 Y: d6 U9 n/ o

  696. ) r* j# j2 z9 ~/ [; B* ^
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is3 ~6 f) ]0 w7 [$ N8 V7 x
  698. ; to disable this feature and it will be removed in a future version.7 y; h0 z+ ?  U# @! [
  699. ; If post reading is disabled through enable_post_data_reading,
      i: d8 U7 J% G
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.( B, y# ~8 ?' G5 d9 {+ [* G$ w
  701. ; http://php.net/always-populate-raw-post-data
    . E0 L5 ~# G# C; v' f
  702. ;always_populate_raw_post_data = -1
    & v+ D  g' ~& x! v) E, t$ |
  703. 7 M8 u% ~& Z8 q( `$ }* g
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    & ?$ n5 h+ ~- a; s' P+ k+ ~
  705. ; Paths and Directories ;
    5 v# l& s- P0 W. N  B- r2 y
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;9 M' C9 {  s1 _! [& b

  707. $ ?( G# o- C3 Q! d7 p' D) [
  708. ; UNIX: "/path1:/path2"
    6 c) }" F# J, e3 _/ B
  709. ;include_path = ".:/php/includes"
    # ?+ s: R' v. _7 ?/ Y0 I
  710. ;+ d  ?! o' z9 @; \/ [
  711. ; Windows: "\path1;\path2"
    $ p5 F4 J  ^4 w) ^" T/ @! C6 f
  712. ;include_path = ".;c:\php\includes"
    5 W4 |& j+ F. W8 B% w
  713. ;
    ! n% l! Y# P" Z3 D
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    0 p9 ?6 I5 o7 R) y6 v1 f
  715. ; http://php.net/include-path# r: i+ f) w7 B/ l) t7 u
  716. 5 t2 g7 u! g; H1 s. P" @) k8 N; d
  717. ; The root of the PHP pages, used only if nonempty.# p1 C9 C6 G. J) M! M+ ?5 r. i. R
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    & z2 `4 `" m% L3 R% b& e
  719. ; if you are running php as a CGI under any web server (other than IIS)$ O& s3 x! F/ p* z0 c* _4 L& E1 Z
  720. ; see documentation for security issues.  The alternate is to use the
    # Y8 q8 l( T3 Q* q) [0 o
  721. ; cgi.force_redirect configuration below
    ) j% G4 M5 [# y: o
  722. ; http://php.net/doc-root% w8 E4 _, e% `, }1 }  O
  723. doc_root =0 U6 x" T' ^1 a3 b, Y! ]- {
  724. ( o( O0 W4 D6 W; S% P& |; \
  725. ; The directory under which PHP opens the script using /~username used only8 P/ w: G% T# G
  726. ; if nonempty.4 D( h! j1 `1 x2 Z' R$ c
  727. ; http://php.net/user-dir8 K7 x& ~4 r5 C' [' Q/ }6 U: ?
  728. user_dir =  t: e& u) N9 Q6 m, @, B9 d

  729. # a1 w2 v- U8 H" s
  730. ; Directory in which the loadable extensions (modules) reside.
    ' z1 Y+ x) C: `! Q4 b' @* u- k
  731. ; http://php.net/extension-dir8 X% S- [7 e& A& @7 q
  732. ; extension_dir = "./"' r6 P$ {* Q: k7 Q2 T
  733. ; On windows:$ R! u% x  j- y
  734. ; extension_dir = "ext"
    1 X" B5 X3 c# s/ W. X9 B; ]

  735. # T  @# s3 ?: k2 q* l
  736. ; Directory where the temporary files should be placed.
    5 S1 }% g0 P, J) [& }
  737. ; Defaults to the system default (see sys_get_temp_dir)( m- N6 q* w* R, O, J& ^
  738. ; sys_temp_dir = "/tmp"
    / n" E: F, b* T" S

  739. ! k! K/ |  ~) _
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    : z! @8 _9 \% @. V
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    $ p3 A/ ?4 h4 `8 F' P
  742. ; disabled on them.
    4 d' O6 U; J# i: D, A# E1 @8 P
  743. ; http://php.net/enable-dl
    9 j8 R. t; l( ]% ~* v
  744. enable_dl = Off4 q6 V; P7 T2 V/ p* m0 d; g5 w

  745.   b9 E8 T7 L* A# @: \1 e
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under1 V" H+ @& U8 I+ a+ M0 Z$ g0 R* z# W
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can) Z% o3 O' Z) e3 f
  748. ; turn it off here AT YOUR OWN RISK
    4 e5 o5 Q# O" {# h! x0 D
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    0 a! F5 f' m6 x. L: G% H  `2 O
  750. ; http://php.net/cgi.force-redirect/ J6 M6 h/ ~& E4 m
  751. ;cgi.force_redirect = 1
    7 B% [" O* p# u7 P- l# w1 o
  752. , b8 b) i0 C$ L0 q, X
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
      x. _0 _; U' x' p/ G
  754. ; every request. PHP's default behavior is to disable this feature.- |3 J" @4 K5 W1 k1 ?1 x/ a+ g9 U
  755. ;cgi.nph = 1
    + y8 W( J$ _) z

  756. & V/ q, |: {: d" Y  l5 r$ K# _
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ( U; S5 f0 c) i" w; w* P
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ' c" l: W5 |* B* d$ R8 _5 }
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY) u, w% q2 t2 I  v5 O
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.. G; {6 U4 K& l* }% V3 K
  761. ; http://php.net/cgi.redirect-status-env
    2 T) I$ C% S" R
  762. ;cgi.redirect_status_env =
    % W! \' T# D' D# V$ D* D; a

  763. - Q% f, ?+ c7 o+ l1 B: L5 s
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    - z( w- w4 d) d3 Q
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    $ g8 B% A* ~3 z, A  |* W7 f' a
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    / Y) ?6 R1 A* o  I# f* Z
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting, k6 s2 V5 |/ L0 h% W+ O
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    $ ~( W1 {3 O& p0 A# O% R$ J
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED., q+ @* ^' U2 n; [
  770. ; http://php.net/cgi.fix-pathinfo' y* _/ f. O' G% H5 x" ^# n
  771. cgi.fix_pathinfo=1
    0 E( z( x3 K" ~/ g; W$ a. Q
  772. 4 V! Y2 t2 |* P+ c1 M
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    9 G  L4 h7 W+ _" a
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    2 h) e+ |: O% O9 w+ p( b% `
  775. ; http://php.net/cgi.dicard-path
    1 @  Q' A* m  ]3 t4 x! D. W/ \
  776. ;cgi.discard_path=1) x: z0 U( n- w, F: s3 z3 `

  777. ' g- H% I  V( A' G
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ( {- f7 H# `9 I" {
  779. ; security tokens of the calling client.  This allows IIS to define the5 j9 }* S' `1 v6 Z4 A: P+ E& P0 P9 x6 i
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    " z, I2 z1 D( [- U; _% _( E6 M
  781. ; does not currently support this feature (03/17/2002)) k* V: g- Y$ V' k9 b! ~
  782. ; Set to 1 if running under IIS.  Default is zero.; d) P$ v  u8 _
  783. ; http://php.net/fastcgi.impersonate$ q" k/ Z$ r/ Z; m: W! ]
  784. ;fastcgi.impersonate = 1
    8 A8 ?$ d% Z9 |0 T% q

  785. 5 {) u  E/ X6 N% ]6 j
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    8 f  \1 o( |/ I; V5 }8 T0 G9 n; I
  787. ; this feature.) d7 W: _$ b7 k* M9 W9 n+ U
  788. ;fastcgi.logging = 0% W( _9 w! V6 b& o$ V
  789. + y# X8 E- ]! \: g4 ^4 |$ z
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ; D4 d) z2 E& r& c3 L% f
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that: A7 F% ~; \- T
  792. ; is supported by Apache. When this option is set to 1, PHP will send4 ?4 `4 O) l' J
  793. ; RFC2616 compliant header.: S- A' Q. F% W  |  F* d
  794. ; Default is zero.
    9 P/ T# b4 K; k, i* H
  795. ; http://php.net/cgi.rfc2616-headers
    " z' o+ J2 E# B% K" E
  796. ;cgi.rfc2616_headers = 0* X% l; ?7 R$ G" |; ]

  797.   Y$ K  @! l! j. o7 ~( {
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    % J  f% S% M& T4 z( f7 V! k+ B6 I. k
  799. ; (shebang) at the top of the running script. This line might be needed if the
    ; d& W( e7 S* [# P3 w
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI" f4 [0 y  u$ X8 V0 f) e
  801. ; mode skips this line and ignores its content if this directive is turned on.
    + F0 o! x6 b: g2 N! ]2 _( B
  802. ; http://php.net/cgi.check-shebang-line' s+ g3 T0 I8 U$ g$ P8 [
  803. ;cgi.check_shebang_line=1
    7 m5 @, _( \9 Q9 a3 v& e, ?

  804. & q5 q- M4 C) x" j& @9 J3 P9 V
  805. ;;;;;;;;;;;;;;;;. x( U1 h6 h' V
  806. ; File Uploads ;' P/ q' M! j% o5 ^4 P2 f; c3 t
  807. ;;;;;;;;;;;;;;;;$ N; l0 i- ]1 H) @" m/ W9 F
  808. 4 z3 x5 z  o, Y$ A! }% h# x
  809. ; Whether to allow HTTP file uploads.
    2 E" j  a" O3 e
  810. ; http://php.net/file-uploads
    & E& X$ R# v. O% E( X) c
  811. file_uploads = On3 ?  X, q" H' \4 c0 j
  812. ( Q0 ^# z  `5 l+ A1 w6 M
  813. ; Temporary directory for HTTP uploaded files (will use system default if not- j$ @4 @* d9 ]) x, v
  814. ; specified).: s- L9 V6 g2 o7 Y
  815. ; http://php.net/upload-tmp-dir3 Y  }# E) G1 h# O
  816. ;upload_tmp_dir =
    - H  _  g& S& R4 x7 o( D6 N

  817. & i; z3 Z: Q/ o# N- l' W
  818. ; Maximum allowed size for uploaded files.
    2 C( s; }' L; s- j0 w0 E) y* D
  819. ; http://php.net/upload-max-filesize  t1 [0 E2 f+ |
  820. upload_max_filesize = 50M4 W5 I1 k8 A3 m/ a! P0 e
  821. 9 o3 ~7 i: ^. O5 D8 w3 S9 l
  822. ; Maximum number of files that can be uploaded via a single request0 R0 L& T8 Y1 i  \! X9 s
  823. max_file_uploads = 20/ P  |) o6 j& ^: O  x$ I
  824. 9 n8 f7 `# j; c8 p( e; G
  825. ;;;;;;;;;;;;;;;;;;/ b% n+ e& d3 y$ j
  826. ; Fopen wrappers ;
    ( z9 O7 t9 C9 z1 b+ g! d
  827. ;;;;;;;;;;;;;;;;;;
    # {9 M/ }0 U+ b  i
  828. . w% r2 t. E4 N/ x+ R6 T
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.# I' ^# D* ]7 w5 _7 v! U0 P
  830. ; http://php.net/allow-url-fopen
    % h/ v1 x: u7 w9 L/ G
  831. allow_url_fopen = On2 m7 j( G9 Q! C* t; m; j8 r

  832. + R- \% h; s& `; R7 t6 s' w
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.. R6 u; }" i% S9 v
  834. ; http://php.net/allow-url-include3 r) C6 w8 ^/ w, d2 c
  835. allow_url_include = Off' k' v* k& U& T- {; Q' [7 r
  836. : E8 Z9 d! f9 @# T
  837. ; Define the anonymous ftp password (your email address). PHP's default setting, b! ?8 C9 R" `( S. @7 U5 e0 R: ~& t
  838. ; for this is empty.
    ! }2 |4 l9 [4 G- I5 H8 f, h
  839. ; http://php.net/from
    ) y* }" K7 h* h2 B4 I8 l9 i- F6 A
  840. ;from="john@doe.com"% Z: P$ }- o  S- b' H$ k1 C" k6 i
  841. ! I# n1 i; e/ Q* U7 H! k# T1 D3 G/ q
  842. ; Define the User-Agent string. PHP's default setting for this is empty.+ V0 B0 R3 M7 P3 j& m
  843. ; http://php.net/user-agent
    # p- q4 I% ?4 A' x1 i2 _
  844. ;user_agent="PHP"
    8 I8 O" x% H" t8 i: g' m( W

  845. : d' `  V1 h3 x
  846. ; Default timeout for socket based streams (seconds)
    - t& `# ^! @' T1 m' x7 `
  847. ; http://php.net/default-socket-timeout
    / ]/ g0 @& n+ g1 @0 K
  848. default_socket_timeout = 608 [/ L% I3 p2 H) e* ~$ x8 f# R) ]

  849. * m# `9 `0 A* K+ n* `1 ?
  850. ; If your scripts have to deal with files from Macintosh systems,
    - Q) t; D; ^2 r1 K
  851. ; or you are running on a Mac and need to deal with files from
    & ?, ^1 R3 x& q, a, x0 u
  852. ; unix or win32 systems, setting this flag will cause PHP to/ g. o9 A2 M. w
  853. ; automatically detect the EOL character in those files so that9 v4 W: h5 a6 T
  854. ; fgets() and file() will work regardless of the source of the file.
      K( Z3 h" R* G
  855. ; http://php.net/auto-detect-line-endings
    9 p8 c" B$ p! r' }; Y7 j; ~) T
  856. ;auto_detect_line_endings = Off
    1 H8 ^4 I! F1 |4 }

  857. + g! j( H! W7 z# i( N( _
  858. ;;;;;;;;;;;;;;;;;;;;;;
    / L) x7 }; U4 A, {. v, x1 H& u' Q
  859. ; Dynamic Extensions ;% v' C: b1 T8 R" l+ G# V
  860. ;;;;;;;;;;;;;;;;;;;;;;
    7 ^  a* c$ G; _) T. M" j

  861. 2 b# I& y' @; Z3 c# W1 x% a1 a
  862. ; If you wish to have an extension loaded automatically, use the following- f4 w' X  Q! v" M) {* q4 W% k0 r4 w4 g
  863. ; syntax:& w( n/ A. U/ [* A) I; j
  864. ;
    - g. N8 z5 G! S! v3 v. K/ L+ V
  865. ;   extension=modulename.extension2 N; T- I$ h1 s2 u& ?
  866. ;6 K7 k) r# l) ]3 N) u: i0 J# m. q  g# y
  867. ; For example, on Windows:  @. `; e( q2 [, P0 w
  868. ;
    3 z5 R7 D! j0 h1 [7 Z
  869. ;   extension=msql.dll
    - x: q0 g5 f, T/ @1 q- ^
  870. ;
    9 C3 z; R% H* f8 _
  871. ; ... or under UNIX:; W: B& t7 G" g) \0 d
  872. ;
    4 j. l# v2 J* X9 t& H4 p
  873. ;   extension=msql.so
    : T8 L1 w* E2 d7 ?) d
  874. ;0 y% F( c% h1 Q2 X- }
  875. ; ... or with a path:& @* u* R1 D' g; k" O( N* w; |
  876. ;) u3 p$ o. U% r2 d
  877. ;   extension=/path/to/extension/msql.so
    ( `7 H2 m2 O* Z& C7 _
  878. ;  E2 _; m/ d7 e% t5 l/ m( q1 h/ @/ R
  879. ; If you only provide the name of the extension, PHP will look for it in its
    * D1 U, `  o' r
  880. ; default extension directory.0 x5 |( |$ x/ K
  881. ;
    3 r5 O6 J) y2 B6 {6 ~
  882. ; Windows Extensions; Q5 K. l# p- \0 F
  883. ; Note that ODBC support is built in, so no dll is needed for it.# ]  D! \5 ^; A1 a% B8 N
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5): |! |9 R# ]+ w1 _- O
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    / n5 x; z/ N- q8 F! A% z0 e* j
  886. ; Be sure to appropriately set the extension_dir directive.
    7 z# \7 x* D1 }/ O9 t
  887. ;- |' y  _; K1 C8 H& j; {9 l9 {5 Y- y: Y: T
  888. ;extension=php_bz2.dll% y2 @7 x' g. o. S1 v
  889. ;extension=php_curl.dll
    3 K; {2 o5 f4 b% i0 I/ B
  890. ;extension=php_fileinfo.dll0 U- j0 b% N4 v
  891. ;extension=php_gd2.dll5 x: n( B6 T; C0 H5 D& J
  892. ;extension=php_gettext.dll
    7 |/ b6 `6 R3 y/ A/ F* @
  893. ;extension=php_gmp.dll
    ) w  C8 d& z( A- k& V
  894. ;extension=php_intl.dll1 s. w# c# L' f/ {5 y, G
  895. ;extension=php_imap.dll
    6 V, O! z# B% n
  896. ;extension=php_interbase.dll
    " w; @+ W3 k  \8 a4 s: |  D/ i' f
  897. ;extension=php_ldap.dll
    % }$ X- d# {- b& c( l6 z. u. F
  898. ;extension=php_mbstring.dll( V0 B0 {8 ?5 i4 P
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    * W6 i& K) V( d- X
  900. ;extension=php_mysql.dll  A5 W) ^  {; U; x
  901. ;extension=php_mysqli.dll
    - b8 ~, X2 d7 }3 r+ \
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
      \0 C+ g# x* H2 ]& `
  903. ;extension=php_openssl.dll
    ; g+ U+ N* m4 r% a
  904. ;extension=php_pdo_firebird.dll  E! H3 a$ B: x, H9 D
  905. ;extension=php_pdo_mysql.dll
      d0 S& x+ N) S+ I8 l
  906. ;extension=php_pdo_oci.dll
    / n# g( }" l$ U) w' i3 P/ J  T
  907. ;extension=php_pdo_odbc.dll
    8 f- D6 j2 a1 o9 Z6 t3 o- T2 A
  908. ;extension=php_pdo_pgsql.dll  Y3 w) N4 `# i: u
  909. ;extension=php_pdo_sqlite.dll" u" s% y- f8 d$ V, |  D6 J6 l8 ?
  910. ;extension=php_pgsql.dll6 w- E) l4 Z. I0 N2 r; ^8 q
  911. ;extension=php_shmop.dll- D( l/ A/ y3 L( n# u4 |1 d7 P& Z3 T) e
  912. 4 ]. e6 u" f) p3 ~3 Z- b% b
  913. ; The MIBS data available in the PHP distribution must be installed. 8 M' I2 c, M: |9 e4 C0 i' ?8 P
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    : y5 x+ ]8 L8 `7 _$ n. {6 ^) u
  915. ;extension=php_snmp.dll
    # _8 v. e- {5 n
  916. , H' M+ z+ I$ f$ c& O
  917. ;extension=php_soap.dll
    7 y& l8 T: c: X
  918. ;extension=php_sockets.dll& G/ P3 L+ P$ L( p. J
  919. ;extension=php_sqlite3.dll4 ^/ F9 v* f* i) `
  920. ;extension=php_sybase_ct.dll
    5 a4 E, z1 D8 P8 A
  921. ;extension=php_tidy.dll! M2 J2 r: L% y9 ]1 J
  922. ;extension=php_xmlrpc.dll' t( @5 `, Z- A& S5 _* C! J
  923. ;extension=php_xsl.dll
    * N) M3 v' o; n9 A6 ^- v
  924. * ~+ S: L1 V1 p- `' R
  925. ;;;;;;;;;;;;;;;;;;;
    4 R  }& h* x+ S; ~4 O
  926. ; Module Settings ;
    ( v" l  r* L: o1 j
  927. ;;;;;;;;;;;;;;;;;;;
    2 J6 y2 Q! e9 ~8 Z
  928. 4 |+ W- x8 U; w5 g. i% z; v
  929. [CLI Server]# E4 K1 t1 [+ C- l
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    & B+ x: s5 E8 ^& P" d0 b+ y: c5 ]
  931. cli_server.color = On
    - ^8 F: n* t  d. Y
  932. % D  w! v. O$ R2 `+ I/ x
  933. [Date]
    8 O  p/ C* D( ?$ B5 K
  934. ; Defines the default timezone used by the date functions
    , d3 A- L) b. G1 s$ g
  935. ; http://php.net/date.timezone) }* V$ }) w$ [; n8 H$ d, B
  936. date.timezone = PRC
    1 n* P5 o* F6 S, b
  937. ; H5 E6 g7 ^3 g- ?+ f' ?& D
  938. ; http://php.net/date.default-latitude0 E1 g& Q, Y5 Z
  939. ;date.default_latitude = 31.7667) H1 n, @2 t/ I& r8 F

  940. ) H% {; I# o# O( H; w- P  D
  941. ; http://php.net/date.default-longitude' s5 P9 ^  u" m
  942. ;date.default_longitude = 35.2333. m* k0 d$ r( W9 ^2 s

  943. 0 t' b7 j6 w$ L+ E; {
  944. ; http://php.net/date.sunrise-zenith
    8 t9 ~8 u. Y: i2 _/ x
  945. ;date.sunrise_zenith = 90.583333
    ; z2 p" m/ j0 N5 m/ b% w  q

  946. 0 Z; Z% n" S+ m. A) \1 Y( L/ V* h
  947. ; http://php.net/date.sunset-zenith
    % h/ Q  H' h  m
  948. ;date.sunset_zenith = 90.583333
    3 H* k1 n  P* |+ j( c
  949. 8 a( ]+ R+ U( T2 b; t, c2 n3 Z
  950. [filter]
    ) |0 P0 Q& E' u5 h. s- e/ w
  951. ; http://php.net/filter.default
    3 X4 x+ u+ Q. d) U- h
  952. ;filter.default = unsafe_raw$ v% @' L( J9 K; P2 n0 L
  953. - p2 e4 A9 l& i
  954. ; http://php.net/filter.default-flags
    ) i5 M2 Q  a! p
  955. ;filter.default_flags =
    ; r  m+ B1 a& |

  956. # j& o. M7 y% V% H  ]1 Y7 A
  957. [iconv]
    / C) ]( E5 c3 N( y# [
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
      v6 N/ l3 `/ f2 [. U$ B/ p
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.8 {" ?+ \9 B" C- M4 y; J- u
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding9 V/ x8 U, ?  t9 O. Y
  961. ;iconv.input_encoding =2 o+ ~! J! Z/ V9 y: Z

  962. : d0 F- F$ w# v: i  O! Z
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    0 A% G& h. W& j0 X8 h5 q  M1 N% Q
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    , H! p( W3 J3 _. P6 g
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding/ j. p, D% @- a& J: ], Y# d4 S
  966. ;iconv.internal_encoding =7 v! l; V. l( B8 Q
  967. 7 K: x5 S1 ]2 J$ d. v, ^
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    7 ?! k& W3 q* I8 K
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used., W  F2 h' Z: E8 a; X4 h  ]2 B) ]4 t: ^) p
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    5 A, b& S/ U& `+ i
  971. ; To use an output encoding conversion, iconv's output handler must be set
    - A9 q$ |1 g$ J) p4 P: L3 l  U
  972. ; otherwise output encoding conversion cannot be performed.: ~- M. a3 @2 p- W( F
  973. ;iconv.output_encoding =
    / p! ~& T$ n7 Q0 b5 j

  974. " m9 m; x5 d" D. l; }" p! T9 @
  975. [intl]4 Z! z1 y. T# E
  976. ;intl.default_locale =; ?+ P6 o2 i6 L; Y3 }4 |
  977. ; This directive allows you to produce PHP errors when some error
    6 R& e. z& p2 p2 f
  978. ; happens within intl functions. The value is the level of the error produced.
    9 ~% i" y8 n: d( i% `
  979. ; Default is 0, which does not produce any errors.
    % a) _9 [1 ~7 W. x2 R! T
  980. ;intl.error_level = E_WARNING' s1 D& w" E/ M( j; H  |: @4 c
  981. ;intl.use_exceptions = 0
    2 p, \. C% D4 I% n  ^8 [
  982. ; o" K+ G! [0 t4 E1 }
  983. [sqlite3]
    4 a! `" d1 P; y! o6 o( J
  984. ;sqlite3.extension_dir =
    * J+ t/ d) K2 Q) ]2 x

  985. , c# @. w! B6 |! D5 f
  986. [Pcre]/ P( o* h5 b+ @1 Y! }
  987. ;PCRE library backtracking limit.
    ) e- J9 n  y3 Q6 h6 a% x% n
  988. ; http://php.net/pcre.backtrack-limit! Z" a; Q( F5 Q. j' x8 e
  989. ;pcre.backtrack_limit=100000' ^( v- }" L5 q9 c9 J: _+ x

  990. 7 N8 R' G0 r8 g0 H6 |
  991. ;PCRE library recursion limit.
    - }) m6 \- K4 ]: P7 \
  992. ;Please note that if you set this value to a high number you may consume all2 k# `* F* o; L+ B
  993. ;the available process stack and eventually crash PHP (due to reaching the
    2 y! z8 l; a* {& w# M+ g
  994. ;stack size limit imposed by the Operating System).
    5 B( e3 T& T( s* H1 ?# _8 s' \: ?/ ]
  995. ; http://php.net/pcre.recursion-limit. j  f# q( F/ |9 q# W( s* ~1 t
  996. ;pcre.recursion_limit=100000; W8 H- U& P# j  M! E; c
  997. # H. ?+ V( `# P' m/ I% u. b
  998. [Pdo]
    / M$ {1 d! S/ w8 X% T
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off") T# r! C0 J1 }- J: B
  1000. ; http://php.net/pdo-odbc.connection-pooling% \/ u1 q! W( J! R/ ~1 u
  1001. ;pdo_odbc.connection_pooling=strict
    # m! M4 C0 m3 H2 Z9 i9 r7 M

  1002. 7 a3 _0 t) p5 X1 J
  1003. ;pdo_odbc.db2_instance_name3 X( K& ]( s/ F+ u; Q8 t

  1004. 5 H. S6 b3 o7 ~. E( f
  1005. [Pdo_mysql]0 X, d+ e6 F8 s' C: O6 D4 z$ f
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / |" J4 f6 ^8 t! |
  1007. ; http://php.net/pdo_mysql.cache_size
    7 S+ |7 ?6 m) `( f/ f
  1008. pdo_mysql.cache_size = 2000
    4 U- b& x& Q* }1 E% U8 d. y0 T

  1009. + p+ ?4 X, [  o3 u& E2 [, {2 X( ]
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in: O, b6 F8 q4 J& o1 `/ o
  1011. ; MySQL defaults.
    7 m1 ~3 H! k: \$ _9 v" ^. Q& m( l
  1012. ; http://php.net/pdo_mysql.default-socket
    # v# Q) B2 V0 l
  1013. pdo_mysql.default_socket=
      w9 b) i4 @8 W( O+ q8 T9 ?5 F

  1014. 3 @; g7 P8 Y- [
  1015. [Phar]# T& y( I$ r) Y3 H7 Z* U
  1016. ; http://php.net/phar.readonly0 `" P. C4 q( w) z
  1017. ;phar.readonly = On$ }# t- b) \. z
  1018. * y+ _/ [+ c: Y3 e
  1019. ; http://php.net/phar.require-hash% p9 s1 q+ e5 J# \2 a* V. m
  1020. ;phar.require_hash = On
    , V( `4 A  K# O' T. R

  1021.   \, y! _. A3 w5 O8 K' d
  1022. ;phar.cache_list =
    1 N$ R5 J4 L, I% j

  1023. ! q7 q, b5 u% s4 `0 S9 l% i
  1024. [mail function]4 T# ?. D+ f+ h1 j
  1025. ; For Win32 only.
    - d2 \3 C8 s$ Y
  1026. ; http://php.net/smtp
    $ B, w1 m9 N- \: W: |) H% G) E  n& b- \
  1027. SMTP = localhost
    " z' C5 k1 N6 g: W: R4 q6 A0 J
  1028. ; http://php.net/smtp-port
    ! w4 N' N* V8 ?
  1029. smtp_port = 25) D' r9 z; Y& M7 c$ X
  1030. - B2 o. o* d+ ~3 Y: `' D
  1031. ; For Win32 only.
    , O7 ~& V' h( [; F! `, L& e! p
  1032. ; http://php.net/sendmail-from" K' _" T8 K* j% e$ r6 s
  1033. ;sendmail_from = me@example.com/ F  e  N0 ~! x0 e. r
  1034. ; W+ K8 }! M* u
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    4 A  l3 Y5 j% `
  1036. ; http://php.net/sendmail-path% @: `/ n1 J$ d' M* a- g0 K
  1037. sendmail_path = /usr/sbin/sendmail -t -i( X1 d4 }# _  \
  1038. / b! k3 T' m3 b' q
  1039. ; Force the addition of the specified parameters to be passed as extra parameters. u9 x1 s* f; ?7 X, J: ?1 b- x
  1040. ; to the sendmail binary. These parameters will always replace the value of- u5 h9 \5 h. m" A  F# P
  1041. ; the 5th parameter to mail().
    7 \8 @( t) E5 Q5 c
  1042. ;mail.force_extra_parameters =* ]* ?, Q+ p/ j4 ]/ G

  1043. * p, A. M% h) ^# P3 D0 A
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    * S( k/ N) M* Y1 S0 D
  1045. mail.add_x_header = On
    . ]) U! R% y$ x0 b# n

  1046. 6 ?( b  C8 f, o: v: T3 K
  1047. ; The path to a log file that will log all mail() calls. Log entries include, n; y4 K3 |1 K" R  U& L1 s9 B0 B
  1048. ; the full path of the script, line number, To address and headers.
    ( E5 L. `( h' `! e
  1049. ;mail.log =
    + v! T: w# x( t% y& ^
  1050. ; Log mail to syslog (Event Log on Windows).3 c: i1 a! s4 e* L  ~9 J
  1051. ;mail.log = syslog. p$ \% w# n- ]! K5 d; g$ h
  1052. 7 j# \6 \1 A' t# O& Q* Z
  1053. [SQL]
    + M! W: ~& T- g) _
  1054. ; http://php.net/sql.safe-mode7 H% y  n& y3 n2 I& s0 E; X( N
  1055. sql.safe_mode = Off- {# G9 M6 H% t  h( f2 k

  1056.   G" B8 H1 X8 J" S$ C0 D
  1057. [ODBC]+ O  M5 x6 _3 ^: q5 l
  1058. ; http://php.net/odbc.default-db; C4 Z$ o1 Z+ o9 h0 @9 c7 v: z
  1059. ;odbc.default_db    =  Not yet implemented
    $ s# G- R7 f) ^6 r

  1060. 1 Z- p: o' {3 ~
  1061. ; http://php.net/odbc.default-user
    - T( N1 [) ^" R( u# o8 h8 J+ N
  1062. ;odbc.default_user  =  Not yet implemented: \4 m# \8 ?" D1 m5 P

  1063. ' c" x# j* L8 I8 g' v0 c
  1064. ; http://php.net/odbc.default-pw
    9 L1 S! S7 t3 b3 K
  1065. ;odbc.default_pw    =  Not yet implemented
    ) i& [) \: E* V* |0 S+ `
  1066. + r7 r- G& X$ O1 d" u
  1067. ; Controls the ODBC cursor model.
    8 v: w( L& |! w
  1068. ; Default: SQL_CURSOR_STATIC (default).
    & o$ _" }* x% O8 v! W! l
  1069. ;odbc.default_cursortype( H* k6 ]/ F) w! Y
  1070. ! [9 A- R# E! P( `: P
  1071. ; Allow or prevent persistent links.! B3 C* n' _5 H% a* v: a/ w
  1072. ; http://php.net/odbc.allow-persistent0 ]4 H# m3 b# |- V
  1073. odbc.allow_persistent = On5 A% G/ I  V4 t8 @1 n* i: P+ z; W
  1074. ) B/ y, D) e& F( R1 ]  s8 C: D
  1075. ; Check that a connection is still valid before reuse.
    - |6 s# ]( m$ N; J& S
  1076. ; http://php.net/odbc.check-persistent/ p# M/ E0 x5 R$ j
  1077. odbc.check_persistent = On
    $ |  U4 a" [1 {" U1 F) p

  1078. 1 a$ e9 |9 ^2 w3 Q
  1079. ; Maximum number of persistent links.  -1 means no limit.! _& c9 Q" L4 r9 |5 S
  1080. ; http://php.net/odbc.max-persistent
    , S' s& x  ~. \$ _# q+ [  M
  1081. odbc.max_persistent = -1
    5 M" s. `( M; y4 g* t/ {

  1082. # h; D$ F8 f# ]1 X/ U
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.- t( E9 s% N4 m2 S2 x
  1084. ; http://php.net/odbc.max-links. d% H% d$ O% L% A
  1085. odbc.max_links = -15 ^1 v- b# w' J

  1086. 1 N0 y' t9 g$ R% Y* i$ K
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means$ C: d- p0 H5 u* o5 H. |
  1088. ; passthru.
    3 E' D4 f' c7 V- d
  1089. ; http://php.net/odbc.defaultlrl
    ! h8 q: `# ]: H8 k( `+ q; J
  1090. odbc.defaultlrl = 40964 b: o5 l2 q$ l3 }
  1091. & i& z, b9 t8 k* M  I4 q
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    * O0 ?: S; M/ @) }- @7 |, Y
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    6 d+ W# ~3 C! c' O, k+ a
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode& n. f+ V! M6 X+ u2 m0 q6 f
  1095. ; http://php.net/odbc.defaultbinmode) R( H6 g$ n' k# Z# l& z1 Z, ?, ]
  1096. odbc.defaultbinmode = 1
    9 a7 ~) Y3 a0 x( W* m

  1097. - K- s3 p2 [5 |/ z! U8 C
  1098. ;birdstep.max_links = -1
    - |" V$ M# K3 ]# j* B
  1099. & `+ ~4 ]; t" Q! @/ x0 H
  1100. [Interbase]; I% {, }) R; p! l& C! W8 s
  1101. ; Allow or prevent persistent links.
    & e6 X# C' S0 W! q8 J# ^" s
  1102. ibase.allow_persistent = 16 a  g; J8 [! A9 B8 K+ F9 _
  1103. 9 u* C; Z5 I+ }& c) ~0 O1 d( o9 Z
  1104. ; Maximum number of persistent links.  -1 means no limit.! r/ M; q. ~7 V: M) `- p0 X4 m
  1105. ibase.max_persistent = -1' G" w6 y% b) u
  1106. 1 P; B- S: V: o% t% i  R7 ~
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) S6 ]4 U* W. u1 E/ }: d' C9 E
  1108. ibase.max_links = -1
    & B6 q' z( K  m; Y) O) K

  1109. 5 ~# _6 y' d0 g$ ~' q
  1110. ; Default database name for ibase_connect().
    9 F; f% O. W/ [. Q' _5 U
  1111. ;ibase.default_db =1 H; i) n; C& b) S, e; u# y

  1112. 3 E' u: e* A% A' g9 l* T. g
  1113. ; Default username for ibase_connect().* z, ^8 \/ }- h4 |& Y1 x
  1114. ;ibase.default_user =
    * F. [( O  `6 |0 O3 I) ^% H7 d. o
  1115. / a, G0 P7 n: p/ k; t; s- o
  1116. ; Default password for ibase_connect().8 G( l8 B( o! ^6 ~
  1117. ;ibase.default_password =, v1 T* ]. q4 d% A6 s
  1118. : {1 }' {5 A! L, `! j. n) g
  1119. ; Default charset for ibase_connect().6 M) R( M4 g% @' r0 Q1 b
  1120. ;ibase.default_charset =
    / y# K  a8 g3 p& A

  1121. 5 K' I7 d; b% f# x
  1122. ; Default timestamp format.6 L. F7 a  }1 y* {0 L& o) \
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"! W$ }5 W! l( m5 Z
  1124. & `' U5 w' N& l, ~& f: N3 i
  1125. ; Default date format.7 y/ Y0 g" G& P" n
  1126. ibase.dateformat = "%Y-%m-%d"
    9 e; U  B" S4 C. U0 e4 {3 v1 ~$ [; G

  1127. , o" t1 m  i) V$ ~% r
  1128. ; Default time format.1 ?: d& S2 J( [7 {1 z% h
  1129. ibase.timeformat = "%H:%M:%S"6 h+ w  _+ y& {# S+ ]7 m8 e
  1130. 7 }: Q) }$ `4 x- b8 X3 M5 O
  1131. [MySQL]: U1 y6 P, J* q# O* ]% K, h
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    # s3 p9 J+ m, `$ ^! L
  1133. ; http://php.net/mysql.allow_local_infile
    ! _1 }) f0 c8 I% {
  1134. mysql.allow_local_infile = On6 ?! l" U$ p% R1 `0 q+ l

  1135. ) T- E+ |( w- r# i+ H" M
  1136. ; Allow or prevent persistent links.
    1 B8 ?$ q6 v8 j
  1137. ; http://php.net/mysql.allow-persistent$ Z, Q, Y% t( o+ u
  1138. mysql.allow_persistent = On
    2 J( O& r; Z- _0 l$ l

  1139. + d9 V& A+ F! o$ u, _
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    , o" R" U6 x+ N! G2 v; m
  1141. ; http://php.net/mysql.cache_size
    3 A, F6 q5 d# x7 K. V4 r
  1142. mysql.cache_size = 20005 C* B( G" i% X* g

  1143. 1 a1 B8 h# N5 T" m
  1144. ; Maximum number of persistent links.  -1 means no limit.$ d9 D5 N8 n* A: @3 W% y# t& }
  1145. ; http://php.net/mysql.max-persistent5 Z* Z4 S) o! B$ K0 i7 |; z
  1146. mysql.max_persistent = -1) I0 t+ t" C+ x( E, Z& `
  1147.   {6 d' r+ H: y& L- z
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: w9 m& w/ ~! D9 j, ~1 X# o
  1149. ; http://php.net/mysql.max-links
    ! s9 ?- E8 R" t& o5 B$ w
  1150. mysql.max_links = -1
    - z3 }" m* Q7 y, `
  1151. ' A2 O" }  ~6 k4 e. H! B
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    ! h/ J% `. V& a* z/ X4 J0 d+ V
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the0 Q3 l. u  p6 I" q( N; [
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look6 G' G# O) Z  \9 X
  1155. ; at MYSQL_PORT.
    4 }6 e% N: s& I+ S
  1156. ; http://php.net/mysql.default-port
    ; p6 E5 N1 d- N1 J  u
  1157. mysql.default_port =
    0 V# }7 f- }! G- c/ z, L  x

  1158. + J9 @' b6 o/ V6 H  O2 t
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    2 c- l1 m3 u8 p% m
  1160. ; MySQL defaults.
    * V: _6 |' ^4 h8 Q' O
  1161. ; http://php.net/mysql.default-socket
    ! M4 f5 A  h: b. z+ J
  1162. mysql.default_socket =1 R6 c# j% J& E# x$ @* r
  1163. + K1 n$ G  d5 y* j6 D' F
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    + X, q2 X* K$ O/ A" P
  1165. ; http://php.net/mysql.default-host8 L* _6 W6 G- S
  1166. mysql.default_host =* z/ d' ?. ?! J* Q6 y
  1167. ) M! R3 w2 D0 b7 I% |6 b6 f5 v. C
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).4 K2 ?' d9 P1 H" V
  1169. ; http://php.net/mysql.default-user
    , g6 b% A5 o: |/ p3 N+ C5 K$ H
  1170. mysql.default_user =6 g2 m, R9 q3 i; f0 c; d' I. k! y$ J+ ?

  1171. 6 {; V$ t$ M8 T) n& H
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode)./ Y. {) h8 f+ ?
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.& K8 f3 ^# {8 I% v0 l
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    ; `3 h# G5 d9 u* m7 X; W5 l3 k
  1175. ; and reveal this password!  And of course, any users with read access to this
    ' w2 l- I5 X7 w: x$ N8 a
  1176. ; file will be able to reveal the password as well.
    # \3 @2 W" J: i& q; d( i5 ^8 |
  1177. ; http://php.net/mysql.default-password
    & {1 {" Q# j' d# e
  1178. mysql.default_password =
    # z  r2 c; B: c7 p# N. X7 M

  1179. / h3 h' O2 R# j7 w7 y& x
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit" }7 Y' Z; s/ N4 `
  1181. ; http://php.net/mysql.connect-timeout, `# Q+ k% w: U3 ]' ?; [# [; P
  1182. mysql.connect_timeout = 607 v% r- V: C4 C. z+ O( f" X

  1183. ( d9 A- B$ X/ U: ]3 y) R  w/ Q8 f
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and, r+ z5 j1 K6 s  M
  1185. ; SQL-Errors will be displayed.
    " ^& O7 v9 \0 l5 [
  1186. ; http://php.net/mysql.trace-mode  _2 C0 V6 c( A( B, ?! P
  1187. mysql.trace_mode = Off
    % \& o! b8 B6 v* O

  1188. 4 G( {$ D3 q; J! Z9 c. D+ h
  1189. [MySQLi]8 R: S1 Q8 ~3 w- q- S+ ]( w8 L
  1190. & D0 ~! T; M) D( |! Z  H/ M1 \
  1191. ; Maximum number of persistent links.  -1 means no limit.
    & M, q$ v) F6 I- V  ?
  1192. ; http://php.net/mysqli.max-persistent; V  Q. a: A0 _1 Q& Y# f, m
  1193. mysqli.max_persistent = -1
    / H! g: C& m$ R

  1194. : D0 c+ M* L7 v  U' ?  V
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    % j& h: S) b' _8 x! y' I
  1196. ; http://php.net/mysqli.allow_local_infile
    2 d+ m# o& k+ \+ M- w$ G
  1197. ;mysqli.allow_local_infile = On
    * e( C3 b0 v& A2 j1 b
  1198. 1 t4 u; z* b2 a/ Y& F& D
  1199. ; Allow or prevent persistent links.5 ]: o; t0 |/ @* F9 h5 v
  1200. ; http://php.net/mysqli.allow-persistent, ]" T4 k% K: W( h
  1201. mysqli.allow_persistent = On
    : Q7 W2 a( g: B4 A! F# o

  1202. / |5 p0 ?$ ~4 S4 ~2 Z
  1203. ; Maximum number of links.  -1 means no limit.
    4 A9 r& z* W  {# \: n
  1204. ; http://php.net/mysqli.max-links1 e; `+ O" y3 m+ P
  1205. mysqli.max_links = -1
    ' a3 @5 g% j  e  |3 }$ c9 h
  1206. 7 P* {! {3 Q3 Q
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! t/ I5 I0 e+ G$ n
  1208. ; http://php.net/mysqli.cache_size# n( }9 B' t1 G; v) Z
  1209. mysqli.cache_size = 2000
    : M' Z  X% g! x

  1210. 8 ?* P- L* q( X1 @. o5 x5 {3 d% i
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use0 S1 O# T! {2 X+ ^* ^$ v0 i
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    / N9 x9 s) m# m/ l1 G0 [; J3 S% R
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look1 D* S7 [# L& C$ t0 Z
  1214. ; at MYSQL_PORT.
    ' m; |' Z- a7 g: c" g5 G3 X
  1215. ; http://php.net/mysqli.default-port
    # ]/ q4 A3 P2 a) z2 ~& |! N% P
  1216. mysqli.default_port = 3306
    # [& k8 Y) O) S( H4 i( T- Y

  1217. ; L5 j. O2 G! a. u  d
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    0 _' L1 ]' X, K4 J4 s9 U
  1219. ; MySQL defaults.. X9 Q( u+ j( E/ p
  1220. ; http://php.net/mysqli.default-socket5 |' |: F$ m7 b
  1221. mysqli.default_socket =& P: L% y7 c: @0 i% a
  1222. 7 x* M! I) T" X: s* g3 C/ b3 g) x
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    : T8 R4 ?- a; b) x
  1224. ; http://php.net/mysqli.default-host& M3 ~2 R4 X. {6 x
  1225. mysqli.default_host =
    ! S+ p' K( H$ c' z4 T

  1226. - v; m" w5 I; C# x/ s
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    , h) c3 C; e% l* c6 `! k
  1228. ; http://php.net/mysqli.default-user
    " A/ r- M! `- S, F- q
  1229. mysqli.default_user =' l5 y) V) ?- _8 h3 o

  1230. 5 F* ~  ^6 v% A8 E
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).; B3 J9 v1 R' A: b) f) u6 G
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    ) L0 Y  N: X5 P- R
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"). G/ S$ i( ~  w3 c* G: |5 }
  1234. ; and reveal this password!  And of course, any users with read access to this5 |7 x/ R( i: ]+ m: l! ~
  1235. ; file will be able to reveal the password as well.
    0 A" ^4 z3 Z/ o4 Q2 L
  1236. ; http://php.net/mysqli.default-pw2 v  i6 M5 J6 d$ s/ @% d4 ~" Q
  1237. mysqli.default_pw =9 Z1 r' Z3 q+ X8 u% q

  1238. - z9 n" s, H# C% {' F, x
  1239. ; Allow or prevent reconnect4 i; k- n9 T. W4 P$ N
  1240. mysqli.reconnect = Off
    6 }+ c: x9 f6 ~0 V" ]( w& A
  1241. . c' s9 [& {. p8 i" G
  1242. [mysqlnd]
    " v4 \2 U& D& f( i% Z0 G' A
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    6 ?& s5 q) o4 K/ X( B
  1244. ; used to tune and monitor MySQL operations.
    + S( B, F: e/ Y7 t# g
  1245. ; http://php.net/mysqlnd.collect_statistics
    ! W9 W8 u1 r2 e0 ~. q) J4 S9 `. [
  1246. mysqlnd.collect_statistics = On
    + Q6 ?" Z$ p: l) w5 V! n0 ]; H1 Z0 `
  1247. # t) l7 i  z+ ^  {1 H
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be4 h" I. c; n6 L- _" j4 w
  1249. ; used to tune and monitor MySQL operations.
    1 s3 P- f1 Y/ g0 x
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    - X: [/ n' S7 @0 R9 g& Q9 a0 Y
  1251. mysqlnd.collect_memory_statistics = Off# Q! ]* F' C0 ?, s. O+ E

  1252. * J+ g1 K3 e9 f) `1 p
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    1 t9 |$ w' Z3 b: ^7 `/ W" ?
  1254. ; file.: D  O) l6 i0 O+ z5 j
  1255. ; http://php.net/mysqlnd.debug- H9 g) e" B* D, Q0 P$ j, Z
  1256. ;mysqlnd.debug =
    " C* c: Q# c: M. u: ~! ^
  1257. . p; v5 ^! w& t; C% r8 u7 e
  1258. ; Defines which queries will be logged.% v( y" {; k: }) h% \% M5 \
  1259. ; http://php.net/mysqlnd.log_mask% |7 E) E; V. ^9 b$ [
  1260. ;mysqlnd.log_mask = 0, y. K( q3 N9 R& [3 n2 i

  1261. ' S2 U& y8 r2 {5 N* ^# h1 O
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets., @! V7 w7 |9 [7 ^% f9 z2 y4 J0 R
  1263. ; http://php.net/mysqlnd.mempool_default_size
    " T& Q' a: G& y$ t6 y- }
  1264. ;mysqlnd.mempool_default_size = 16000* e' }/ z* Z" |( ^4 k; G

  1265. / V/ m$ O2 z8 p9 ?- s$ {
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    % O1 T1 h& A" L( ^( c3 S
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size0 n3 A4 J' X$ F. D1 K8 Z
  1268. ;mysqlnd.net_cmd_buffer_size = 2048! b& P" N7 X* t. V

  1269. 1 _" A6 h3 Z1 J. P% P
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    7 j5 _/ ^$ a9 W; L  N( {
  1271. ; bytes.
    0 t! ], [& Y' c4 y7 _
  1272. ; http://php.net/mysqlnd.net_read_buffer_size5 b" X9 s, Y5 W6 U& ~* x+ c
  1273. ;mysqlnd.net_read_buffer_size = 32768
    + f) y( {7 u$ \( y6 m
  1274. 0 l% h' F8 G2 X: _5 |4 u
  1275. ; Timeout for network requests in seconds.8 B: j6 V3 s$ y* o8 e- }5 C3 G" ~
  1276. ; http://php.net/mysqlnd.net_read_timeout
      g4 T* L3 a% R( l
  1277. ;mysqlnd.net_read_timeout = 31536000
      c* I: w4 G: m& G: b" `- M
  1278. 4 w; O; e, e4 c( m+ g
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA0 k+ I; [; Z1 e( \# F' Q# Z
  1280. ; key.
    # u) z8 ~+ O( h( l9 @9 I
  1281. ; http://php.net/mysqlnd.sha256_server_public_key  ]* b. m" R% T
  1282. ;mysqlnd.sha256_server_public_key =
    ( d- z+ Q6 s% w

  1283. 1 f' ?0 v4 H. X, l5 e
  1284. [OCI8]6 v' M, l( F$ ~, B6 I5 y* Z
  1285. / B" D' b: F0 v& Q" ]/ K0 `1 ~( C
  1286. ; Connection: Enables privileged connections using external
    : c+ Q& q5 k7 B! f# R2 \
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA): B. J+ G( `0 g. U
  1288. ; http://php.net/oci8.privileged-connect
    # a2 I$ m+ N7 U- a: B
  1289. ;oci8.privileged_connect = Off
    & J, R# |, B7 O$ {7 d

  1290. ( s( I& c  P+ K8 w$ r# _: J  r
  1291. ; Connection: The maximum number of persistent OCI8 connections per7 u+ s( M/ G5 C& B# a9 Z6 I
  1292. ; process. Using -1 means no limit./ |0 C. C3 H4 K2 l8 M# ^8 j
  1293. ; http://php.net/oci8.max-persistent) b7 T7 R: k+ X5 X9 ?
  1294. ;oci8.max_persistent = -1% A7 Y: i" g' C
  1295. ! v* {3 D% V0 j' z
  1296. ; Connection: The maximum number of seconds a process is allowed to# K9 F& @1 R2 y/ G8 b$ u9 W& y" _
  1297. ; maintain an idle persistent connection. Using -1 means idle+ H2 t! t  v' v9 w) }
  1298. ; persistent connections will be maintained forever.
    & c) c$ q' f3 J1 x1 g- v- i+ `, V
  1299. ; http://php.net/oci8.persistent-timeout
    & X1 n: f( l* I- T) T
  1300. ;oci8.persistent_timeout = -19 r8 F% Z/ ]8 ]  {% p% D+ L

  1301. 8 K' j) x: A/ W3 ^8 \$ B
  1302. ; Connection: The number of seconds that must pass before issuing a
    # H2 _6 L, G  ]+ m' D1 E, v
  1303. ; ping during oci_pconnect() to check the connection validity. When
    " W; {! B& y6 F5 I" d# G6 ]7 v( U
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables- F& G$ T' a& ^
  1305. ; pings completely.8 s. b5 S) L( r
  1306. ; http://php.net/oci8.ping-interval
    7 s; ^/ r" ]1 I, M
  1307. ;oci8.ping_interval = 60/ S9 U' ^- J( W$ Y6 R1 M, B

  1308. ; O7 z1 s% ~0 ]
  1309. ; Connection: Set this to a user chosen connection class to be used" ]/ o' ]4 s, s0 r$ l, C
  1310. ; for all pooled server requests with Oracle 11g Database Resident( ~  p* n, n  {. l
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to5 t$ e$ `+ z1 A6 r$ V
  1312. ; the same string for all web servers running the same application,. A  J! w/ m3 w  [7 V3 W( c7 S
  1313. ; the database pool must be configured, and the connection string must
    5 e* K/ ]- y; B% f
  1314. ; specify to use a pooled server.
    , n% b# ^! I6 A: F0 k0 `1 q& x0 t: Q
  1315. ;oci8.connection_class =5 |; z& h1 q5 \4 @
  1316. 0 M, T) v* t$ f0 ]2 a. _
  1317. ; High Availability: Using On lets PHP receive Fast Application) W; T. ]4 i2 _6 ]1 R/ A" K
  1318. ; Notification (FAN) events generated when a database node fails. The/ U; e- _) q" h. q( {" [% L& Y8 q% F2 |
  1319. ; database must also be configured to post FAN events./ ~) g& \8 l. H. U
  1320. ;oci8.events = Off
    / H1 K* T% [: E
  1321. / h6 F* W1 Q) {5 e8 b4 {% D0 ]$ k4 P
  1322. ; Tuning: This option enables statement caching, and specifies how" ~7 m; U. \1 G1 Z
  1323. ; many statements to cache. Using 0 disables statement caching.4 t7 m- T2 j( v
  1324. ; http://php.net/oci8.statement-cache-size
    : q  q9 a$ ]7 H: w
  1325. ;oci8.statement_cache_size = 20
    % p9 D# ]( O8 R. e7 p5 T
  1326. 4 U. g6 z  C3 O# d# z
  1327. ; Tuning: Enables statement prefetching and sets the default number of1 b% ^& F- `! T$ l
  1328. ; rows that will be fetched automatically after statement execution.
    ! @; t: [! o! V* Z4 U
  1329. ; http://php.net/oci8.default-prefetch' H* G6 i9 Z4 x+ r  _6 R
  1330. ;oci8.default_prefetch = 100
    - g3 ~, v$ a7 k3 T+ X! H3 ^
  1331. ( T: i- L2 k  `3 n4 s/ X+ S
  1332. ; Compatibility. Using On means oci_close() will not close
    . ?& R. d/ ]  s0 w
  1333. ; oci_connect() and oci_new_connect() connections.
    % z5 x2 r5 {% q* p
  1334. ; http://php.net/oci8.old-oci-close-semantics% j) e/ M0 g# l- W
  1335. ;oci8.old_oci_close_semantics = Off
    / Q3 u. k$ b9 ^& P9 e
  1336. , d5 l' G' q8 s9 a
  1337. [PostgreSQL]5 M5 b0 G% b! ~. k
  1338. ; Allow or prevent persistent links.
    " p0 N! p0 \* ^% a6 o' I
  1339. ; http://php.net/pgsql.allow-persistent
    5 A" {% g# u" A5 w; ?, @
  1340. pgsql.allow_persistent = On
    6 z4 N9 ^1 N9 m, y1 n( F
  1341. + o4 B' D% A. I& F
  1342. ; Detect broken persistent links always with pg_pconnect().
    : \* j5 j! z! B1 [" C
  1343. ; Auto reset feature requires a little overheads." b8 u$ z# j8 @4 r
  1344. ; http://php.net/pgsql.auto-reset-persistent% ^9 I4 L; M4 }6 w1 I/ U
  1345. pgsql.auto_reset_persistent = Off( G  j( a& w, Q$ d: n
  1346. 5 @5 L% J5 \3 v/ R$ R
  1347. ; Maximum number of persistent links.  -1 means no limit.- d% c7 ?$ D' H/ h
  1348. ; http://php.net/pgsql.max-persistent
    ! V% F9 j/ D: B( i  p8 H' }
  1349. pgsql.max_persistent = -1, a$ [) Y; Y7 q7 c
  1350. " U8 E# _( g% R5 a/ {
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit., `+ Q6 R3 S7 a. l
  1352. ; http://php.net/pgsql.max-links: {% ?  x  E1 r" T& u# j
  1353. pgsql.max_links = -1
    ! Y$ ?0 B$ U- Y4 F" S% T! U1 Y

  1354. ! z4 \0 q& Z4 Z7 }8 P, D
  1355. ; Ignore PostgreSQL backends Notice message or not.
    ; G, D* G# |; \0 r" N7 B; ~  D/ M
  1356. ; Notice message logging require a little overheads.% Q( z) V  P" f. r& P5 K
  1357. ; http://php.net/pgsql.ignore-notice
    / G# p1 w" M- C" {
  1358. pgsql.ignore_notice = 0
    2 T; b9 V+ @. o0 [2 P
  1359. & M1 `) u! V: k" S
  1360. ; Log PostgreSQL backends Notice message or not.& M: J) n$ r$ C# P8 n
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    0 i+ d3 b' }3 z+ W
  1362. ; http://php.net/pgsql.log-notice
    6 n6 [, m6 b' B% H
  1363. pgsql.log_notice = 0
    ) Z8 {  |& W% B3 k
  1364. ( A+ Q6 ?9 ?# Y$ w. A5 [8 C6 X
  1365. [Sybase-CT]
    # V* [: r9 S3 P# m
  1366. ; Allow or prevent persistent links.( i# W; i! C$ g+ {! y" C* D
  1367. ; http://php.net/sybct.allow-persistent% f$ [2 V0 W5 U' }* \$ g( K& W
  1368. sybct.allow_persistent = On
    : w! P% y  W+ S& w- B6 Q. E: ^% D' G
  1369. . l7 J( E( ^# p% l$ b, y
  1370. ; Maximum number of persistent links.  -1 means no limit.5 n/ h5 }. A; J' w6 M$ u4 K
  1371. ; http://php.net/sybct.max-persistent
      R! t9 I1 L- x7 V2 M$ l
  1372. sybct.max_persistent = -1' j4 D& B; {& {% R& w# B) ~1 I0 w/ u" a
  1373. ) Q5 I% h) b6 n
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( h; U5 p5 N4 D; Z8 q( z, {
  1375. ; http://php.net/sybct.max-links
    7 L0 i( Y* u- i+ R/ J* P- D
  1376. sybct.max_links = -1
    " d2 `3 F7 K8 m  P% M( a% A
  1377. * P( R- ~0 o, N) z8 I6 z- k
  1378. ; Minimum server message severity to display.
    0 {) m  J) A& x' _+ Y0 i
  1379. ; http://php.net/sybct.min-server-severity
    1 b# e: k/ a/ O) D
  1380. sybct.min_server_severity = 109 I4 u; W; \$ \# j- ^+ B
  1381. ! b0 [+ k4 s3 m; ^  b2 i+ |5 Y, ~
  1382. ; Minimum client message severity to display.1 O! [: i* p) N2 Q  E
  1383. ; http://php.net/sybct.min-client-severity6 E3 Q  b' ?3 X( ^2 e
  1384. sybct.min_client_severity = 103 `3 I0 p: g; X  N2 ^0 m% N+ A

  1385. ' K; }3 |  o; [' Q/ m2 x
  1386. ; Set per-context timeout
    7 T+ |& H" j' @# {7 Y
  1387. ; http://php.net/sybct.timeout
    0 N5 y* i6 b# ?% X3 E. I+ A
  1388. ;sybct.timeout=
    , P9 a2 j4 C& G0 V% ^" O
  1389. 4 `( A% D5 A+ R4 @8 R8 U
  1390. ;sybct.packet_size2 F% ]1 P$ H1 I) H8 I
  1391. # D" d. r5 c: {; t. m7 K0 {
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    8 {; p% f2 ~6 }$ y/ P9 N& u
  1393. ; Default: one minute
    ) a* ~, r* t" b. Q5 Z
  1394. ;sybct.login_timeout=
    : b7 P8 K0 Y# r1 H
  1395. - m+ V. d( y! N& z" U( k  ?
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.& S$ Q+ f/ q& ]/ B6 K: c
  1397. ; Default: none+ L) E) u; W6 B
  1398. ;sybct.hostname=8 q) p% r2 t1 p6 u: x& ^" v: s% A. L
  1399. 5 E  J/ j- g1 S: J# m8 e
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    , i. p3 b9 N% x; H8 h! E+ I" g: B
  1401. ; Default: 0! L1 _2 g7 X" D! Y6 ?
  1402. ;sybct.deadlock_retry_count=" I" t' ]3 m6 ~! l8 @5 W; o

  1403. ( W! C. J7 l( f% g+ w7 K1 w0 v
  1404. [bcmath]
    . z; y/ B* Y3 B' _% V) K! q
  1405. ; Number of decimal digits for all bcmath functions.4 }  s5 j3 d6 [9 I4 a/ j# b8 H
  1406. ; http://php.net/bcmath.scale" Z+ x; M- Q. |( h& z3 B
  1407. bcmath.scale = 01 _8 Q% g. d8 z8 Y: {5 s9 L' l
  1408. 4 g0 z( j. f/ T! |
  1409. [browscap]/ T& {; m% \) W& k: x
  1410. ; http://php.net/browscap
    * q2 l9 @1 F( B% [3 s+ R
  1411. ;browscap = extra/browscap.ini; l2 [- q0 M6 t6 a* P
  1412. $ F" J  j: e3 g4 C( ^3 {0 d. q. ]' G
  1413. [Session]5 Z2 Y2 o4 A5 M1 x' Y
  1414. ; Handler used to store/retrieve data.' w$ }1 _6 ]" N! B9 l* h9 Z
  1415. ; http://php.net/session.save-handler6 G  o# ~) r& X- O) H3 [
  1416. session.save_handler = files  S# c) W* N# q8 t
  1417. 6 s) F, L; e% F5 j1 w+ T. i# P% ?
  1418. ; Argument passed to save_handler.  In the case of files, this is the path5 D+ u/ a( O' n
  1419. ; where data files are stored. Note: Windows users have to change this
    ! v- h# m. J; g1 A) q" y
  1420. ; variable in order to use PHP's session functions.! S3 `+ z+ k  _, F/ e7 h
  1421. ;
    0 L- D! I! X' m# Z
  1422. ; The path can be defined as:4 l4 O$ F0 D, \' z
  1423. ;
    1 e; c/ _4 ?8 X: H* [
  1424. ;     session.save_path = "N;/path": B' c0 E/ ^2 a8 S/ |# h: o
  1425. ;
    5 S! z3 g7 h6 x4 M
  1426. ; where N is an integer.  Instead of storing all the session files in/ D: |" W; t9 K3 b, W/ e  Z3 r% O
  1427. ; /path, what this will do is use subdirectories N-levels deep, and6 a8 J" p' l5 x8 J/ X( v
  1428. ; store the session data in those directories.  This is useful if
    & q" H! X8 W* ]  `2 r2 @9 c1 ]
  1429. ; your OS has problems with many files in one directory, and is/ B. ]4 O1 ]- b9 y1 {
  1430. ; a more efficient layout for servers that handle many sessions.
    1 v: f. ]# H6 {
  1431. ;8 L8 M! ]" E4 ~" ~5 E' ~8 n
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    - e! ?- I! p; S; T& l
  1433. ;         You can use the script in the ext/session dir for that purpose.4 i* e. Q/ z; d* j4 n
  1434. ; NOTE 2: See the section on garbage collection below if you choose to  e9 w! p3 O* a( v5 w
  1435. ;         use subdirectories for session storage- i2 j% @( ^. ^2 K6 \
  1436. ;. }+ D5 L; r& I) u  w: `
  1437. ; The file storage module creates files using mode 600 by default.
    1 h- D6 t& Z9 G  c/ p
  1438. ; You can change that by using4 k& l+ k9 c* M- f: }
  1439. ;) e  a( w& i4 Y' N8 ~
  1440. ;     session.save_path = "N;MODE;/path"
    4 H. \! f' P0 O+ I
  1441. ;
    9 a* d/ Y' \# q8 Z0 `! F: M
  1442. ; where MODE is the octal representation of the mode. Note that this
    # l" e6 s! c% S* \) G6 [$ g* D7 d
  1443. ; does not overwrite the process's umask.
    * V; f" W) K2 e# `& j
  1444. ; http://php.net/session.save-path0 s, F( Z9 o. r4 o/ m4 c7 O
  1445. ;session.save_path = "/tmp"2 |, t$ g$ I+ R9 B

  1446. : ~, i( c! m4 X" S/ W
  1447. ; Whether to use strict session mode./ U+ [9 O3 m/ e7 f+ x$ A2 P! S1 x
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    4 \& Y- I0 z% v0 L6 T
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    % [7 Y& _& ^) t! A* C5 c* l
  1450. ; applications from session fixation via session adoption vulnerability. It is2 A" m. o: q" u9 c/ l
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.* @6 y5 P5 H; G# {4 U$ D" O
  1452. ; https://wiki.php.net/rfc/strict_sessions4 i+ Y  J* M; x9 r
  1453. session.use_strict_mode = 0
    & j' E. M9 c* ~- N$ r  T3 a* n
  1454. 2 l! Y; A7 y3 w1 @& ^9 e
  1455. ; Whether to use cookies.
    8 {9 O; U! {3 \" ]4 F$ w6 E
  1456. ; http://php.net/session.use-cookies
    ) q3 m& A9 q8 T
  1457. session.use_cookies = 1
    6 C! @$ [' \  Q  t9 z" ]
  1458. $ }( M- o* a1 C. h; J1 i) E& F3 I
  1459. ; http://php.net/session.cookie-secure
    + L) S3 J) o8 i& E3 c, e
  1460. ;session.cookie_secure =
    : K0 v5 B+ p, ?- O& ]

  1461. . m; f) v  L1 y( ^. X$ n. P6 \
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining/ H! j5 |3 L& `, x' g6 j
  1463. ; the session id. We encourage this operation as it's very helpful in combating0 l) `' i1 \' }# d
  1464. ; session hijacking when not specifying and managing your own session id. It is
    $ ?, ~$ c, I) e% V# d# c
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.( t6 M. S- N4 i3 a+ }
  1466. ; http://php.net/session.use-only-cookies- B+ }# {8 y3 D3 `, \
  1467. session.use_only_cookies = 1! }9 I  W& ^( a( k5 L
  1468. 2 w4 I1 {! T$ S" z3 S  o' u
  1469. ; Name of the session (used as cookie name).+ ?) s5 r& \- c+ {# h
  1470. ; http://php.net/session.name  c( k# J4 I- W, O# x! \  y7 i
  1471. session.name = PHPSESSID  C/ ^, M2 p. H5 X$ ?& H) F3 f
  1472. ; T0 _2 I2 G5 b0 u
  1473. ; Initialize session on request startup.
    # R, F* [5 _1 H
  1474. ; http://php.net/session.auto-start
    , @1 B/ E4 w( e: R, ?* k- R
  1475. session.auto_start = 0
    + h* J, Z5 Z& S( u! ~# p

  1476. 5 L. Q! H, [- I) r6 M% b! @3 z( W/ C
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ' i+ H& V  j+ t! s9 D7 H
  1478. ; http://php.net/session.cookie-lifetime: K3 r& u2 q2 Q$ i2 A7 J
  1479. session.cookie_lifetime = 0
    * y. R3 A9 G+ @! a7 d
  1480. 0 l8 ^8 s/ ?4 x$ [: }% ?7 n. L
  1481. ; The path for which the cookie is valid.4 f# K) y% x/ E' ?/ g8 j
  1482. ; http://php.net/session.cookie-path: @/ E& d/ |  u
  1483. session.cookie_path = /' _' L" k) ]  Z* S1 Q+ x- V
  1484. 8 ]6 p( b; I& Z8 o' y0 {' L
  1485. ; The domain for which the cookie is valid.
    3 d3 p. S% N- N/ G0 D- S2 h
  1486. ; http://php.net/session.cookie-domain6 J7 F) N: H# a/ d5 _7 J
  1487. session.cookie_domain =8 a- F; h) H  w# e
  1488. % L! y3 M# F2 U& s+ O9 ]
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.+ y- H: y5 F/ U: o2 K
  1490. ; http://php.net/session.cookie-httponly. N7 o7 @4 }$ V2 I3 G
  1491. session.cookie_httponly =& w7 Z% a) {) F' t/ j
  1492. 2 g4 o+ M3 X/ I1 S
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ( E; A1 w0 E: z6 y. P- q0 d
  1494. ; http://php.net/session.serialize-handler8 ]+ o6 e  H3 \% w* \
  1495. session.serialize_handler = php
    ! E5 i5 J' K! s7 V% `  Z; U  {
  1496. * [# p; C  J6 L- d3 S. o: q5 s3 m
  1497. ; Defines the probability that the 'garbage collection' process is started- ^! _' R4 c! T4 u' d
  1498. ; on every session initialization. The probability is calculated by using9 a4 w4 I/ G# l4 a7 ^0 k2 C
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    , k7 U( C: h( P
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 10 r/ x6 n; W1 r
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ( ]- c! u3 j1 ]1 v& C& |4 Q8 @
  1502. ; the gc will run on any give request.
    2 k  O: d5 ?) ^5 R
  1503. ; Default Value: 18 `( o& _/ ^5 R8 D
  1504. ; Development Value: 1
    ; I. v5 p2 \/ l8 b" d
  1505. ; Production Value: 1: l9 v# \; P6 Y) `
  1506. ; http://php.net/session.gc-probability3 z& y% w0 ?$ b
  1507. session.gc_probability = 1$ `: F- M- A6 k3 R' `

  1508. 9 e+ s4 ~* b5 T  N: Q! ]! z9 o4 L& z
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    - x' j, [: ~) \) K( U) V0 l0 x
  1510. ; session initialization. The probability is calculated by using the following equation:9 f2 e9 d( h) j' z( }, k) p) c3 w
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and9 C0 {# D9 ], e1 v* J3 i
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1* e7 f% N; A' r6 _# @! {
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance; H) y3 `7 D4 x9 ^+ q
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ' {% z+ o/ [2 N* f4 `8 p- h8 T
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,; T0 j% Z* Z: Z  V$ g
  1516. ; this is a more efficient approach.
      J5 l* ^7 r: I" L8 C9 Q
  1517. ; Default Value: 100
    , H# s# l- w1 Z% A* k
  1518. ; Development Value: 1000+ A8 z7 W5 ]' O
  1519. ; Production Value: 1000
    ) ?* F3 k. B* ^- m3 |- |6 h
  1520. ; http://php.net/session.gc-divisor& ]: t, ^$ V5 X% g
  1521. session.gc_divisor = 1000+ I$ |9 x& \$ Q1 R# e7 U$ I

  1522. 4 n1 T) `: C5 b$ w6 ], T  s
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and% e8 d. O) H+ t( ?
  1524. ; cleaned up by the garbage collection process.
    7 q7 O( X3 }1 @6 C& \
  1525. ; http://php.net/session.gc-maxlifetime- h# A2 q/ c9 a
  1526. session.gc_maxlifetime = 1440& F2 v9 f1 H& ~# u8 q

  1527. & X3 @$ b! F% N4 X, s; d( o6 q
  1528. ; NOTE: If you are using the subdirectory option for storing session files2 T4 b% b& G' U. D
  1529. ;       (see session.save_path above), then garbage collection does *not*
    & ]4 `0 X, t0 U) w2 ~
  1530. ;       happen automatically.  You will need to do your own garbage
    0 S6 ]0 u' B  ^3 l: [
  1531. ;       collection through a shell script, cron entry, or some other method.
    1 g) o# F5 E$ |! Y9 P! U0 N
  1532. ;       For example, the following script would is the equivalent of7 E) a( j4 z! x
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):/ P/ a. q4 g, N" m: t
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm- ~! b8 Y* N2 d, v5 p+ f' l
  1535. " H3 ^/ ], f& \1 d
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.+ O) L: X; a7 j+ {7 s
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    . @+ f* Y$ H  k, t* l) g* n
  1538. ; considered as valid." v$ E/ m0 m4 k5 r
  1539. ; http://php.net/session.referer-check
    ' o' l0 _. {/ N7 B/ T: b
  1540. session.referer_check =8 i- _, [3 m- b* p2 H

  1541. 4 h% ]( k3 b$ O
  1542. ; How many bytes to read from the file.+ S( \  X2 D' a  C: o
  1543. ; http://php.net/session.entropy-length" B, p4 O! b& F4 @! W
  1544. ;session.entropy_length = 32' M8 P2 S6 X2 ]0 [; k( c) ?* B/ Q

  1545. , P5 M! W1 @2 ]0 @" G7 H" V
  1546. ; Specified here to create the session id., E2 {" I5 Y+ i* z& b* h
  1547. ; http://php.net/session.entropy-file
    9 M, F0 Y) l* M$ Q7 U
  1548. ; Defaults to /dev/urandom
    8 x+ [. H  |% B* Z8 G1 ]. U
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom. f% Q( W$ k5 x
  1550. ; If neither are found at compile time, the default is no entropy file.
    1 j& H5 Z6 b/ U  S# o; M0 E" }/ k
  1551. ; On windows, setting the entropy_length setting will activate the2 }1 X/ q8 j( c: w6 b
  1552. ; Windows random source (using the CryptoAPI)! m3 w; i9 S4 d$ o
  1553. ;session.entropy_file = /dev/urandom! F+ Y% z7 b" L) D4 s
  1554. & P( e% S, F2 y
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ' S. s4 Q. |# T% C3 o
  1556. ; or leave this empty to avoid sending anti-caching headers.
    - h4 r( H" D  A6 F; C
  1557. ; http://php.net/session.cache-limiter+ B# f, U4 T7 V: W5 M& g
  1558. session.cache_limiter = nocache
    1 i/ I- l' i  v! f4 r# `

  1559. 8 Y9 P# W0 h+ N
  1560. ; Document expires after n minutes.
      F+ [3 T' _$ {* t
  1561. ; http://php.net/session.cache-expire: y/ ~# g: _" E6 \7 s9 K
  1562. session.cache_expire = 180$ O+ M2 y" m- K

  1563. " A) z# E* p2 ]# l6 F
  1564. ; trans sid support is disabled by default.. g2 h# s: e- i" l& K/ m% i; R) {
  1565. ; Use of trans sid may risk your users' security." ?; O/ X  o7 Y3 N. a
  1566. ; Use this option with caution.* `% g# T, l# ?- @0 F" N
  1567. ; - User may send URL contains active session ID
    % C: d; V0 Y' ~! q2 A. B. j
  1568. ;   to other person via. email/irc/etc.
    " v: {4 p" M8 z# M3 l
  1569. ; - URL that contains active session ID may be stored
    " F% p4 q* q3 A* [' V
  1570. ;   in publicly accessible computer.( d+ ?3 x3 h5 E
  1571. ; - User may access your site with the same session ID
    ! d' I1 \2 C( F! o7 R5 N4 }
  1572. ;   always using URL stored in browser's history or bookmarks.9 l( H  b6 L3 f
  1573. ; http://php.net/session.use-trans-sid
    - W( c0 `/ C! D+ O, F
  1574. session.use_trans_sid = 0; Z$ p- Z# x/ e( h& k4 g4 ^' N
  1575. ! ^! x, c4 C; k
  1576. ; Select a hash function for use in generating session ids./ i$ Q6 l! H5 D' X& w
  1577. ; Possible Values
    1 m7 t  b2 {0 j7 w& c; O: c
  1578. ;   0  (MD5 128 bits)
    , G! B( y" o7 x( z% l, S- H
  1579. ;   1  (SHA-1 160 bits)
    ! D( W& X7 m0 |, c2 G/ }2 e
  1580. ; This option may also be set to the name of any hash function supported by
    0 Y2 P* s3 E! ]) ?7 u7 ^
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()6 t( `( l+ Q- O& _5 v
  1582. ; function.
    + r6 k9 b( c( s4 s, d* u
  1583. ; http://php.net/session.hash-function
    % t9 x5 Y7 _  |' Q  G/ ]
  1584. session.hash_function = 0
    $ m; M- r+ n: b# r4 a# F, x4 B
  1585. 4 J" j( ?* c/ L) W5 [& w" s. U
  1586. ; Define how many bits are stored in each character when converting
    2 Z7 B  f. q) L3 ~9 R) \
  1587. ; the binary hash data to something readable./ R) R/ R3 Z: W0 B* W0 N
  1588. ; Possible values:
    - m1 ~- U% I7 M4 Y
  1589. ;   4  (4 bits: 0-9, a-f)
      z7 V1 M" l! A
  1590. ;   5  (5 bits: 0-9, a-v)
    % r3 z' P$ Y1 E( }8 v. a! w
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")" @; }# S  `* [- V7 m: @, N
  1592. ; Default Value: 4
    ( E. Y5 j9 P: S% T3 c* m
  1593. ; Development Value: 56 {  `  u! q( c  h+ K2 l
  1594. ; Production Value: 5* R1 T- [3 y" O1 q- a
  1595. ; http://php.net/session.hash-bits-per-character1 m0 e: f) z; U
  1596. session.hash_bits_per_character = 57 p8 @9 l+ ]$ z
  1597. . \9 \- G. q! H7 N- L
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.4 y; ]6 ?# U+ _3 d; U: Q, W
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    4 |! N$ a$ ~) u
  1600. ; add a hidden <input> field with the info which is otherwise appended
    6 r/ F& i9 O% S" m" Z
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    . m9 w5 ~  I( ?% m7 `. }
  1602. ; Note that all valid entries require a "=", even if no value follows.
    + G  K; S# z6 A
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="4 L1 g: C  b& e0 ^$ E. E
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 @- @- {+ t( [$ ~! U
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    / J- C2 [8 |: V. l/ }+ v
  1606. ; http://php.net/url-rewriter.tags1 Z( k$ I1 x# X' i5 K3 u
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"6 B" @; E# U- A0 X5 o

  1608. 4 C/ g) o; e% m2 x) B
  1609. ; Enable upload progress tracking in $_SESSION. r+ N0 N* u$ c) D) F7 k3 @5 C
  1610. ; Default Value: On8 g' D  v6 v6 X" V2 J
  1611. ; Development Value: On
    , v5 u  C  Z* y$ b  k: E' D2 f
  1612. ; Production Value: On
    & k2 I1 p# l" v
  1613. ; http://php.net/session.upload-progress.enabled
    - ~* Z8 G+ U  Z, i8 \
  1614. ;session.upload_progress.enabled = On
    7 x+ B7 w2 S: N

  1615. 3 S: W/ h& G& D! R: f# g9 v
  1616. ; Cleanup the progress information as soon as all POST data has been read
    . V2 J- P+ }& J+ [, U8 N/ W
  1617. ; (i.e. upload completed).
    * `7 c: o) `0 |  J8 e9 d
  1618. ; Default Value: On
    * |9 \% n2 I: s) K; E$ M% \
  1619. ; Development Value: On" H. c3 J3 ]0 {! ^: `
  1620. ; Production Value: On  r2 h& _, q6 B/ o( B
  1621. ; http://php.net/session.upload-progress.cleanup" T2 g; D  J' k) r: `0 i2 T
  1622. ;session.upload_progress.cleanup = On
    4 I: [" g' K- A$ E4 i! I! q
  1623. / m1 N9 T, I& i: T" i- j% T2 @2 F
  1624. ; A prefix used for the upload progress key in $_SESSION9 a1 a# P1 G7 P9 }$ c; o# {
  1625. ; Default Value: "upload_progress_"
    0 \( ~5 Y6 y' {$ `) [
  1626. ; Development Value: "upload_progress_"
    ) z: k0 ~$ C, B9 u: G& D
  1627. ; Production Value: "upload_progress_"
    ' H( `4 Y/ e1 l. {  i/ C7 `
  1628. ; http://php.net/session.upload-progress.prefix
    " N: x) }5 X( x' s/ [
  1629. ;session.upload_progress.prefix = "upload_progress_"! d! e1 z/ H' K! F) T
  1630. 7 x# A- R; ]. {7 ]
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    0 w1 @) u/ ?7 y* a! D$ F- g0 }
  1632. ; containing the upload progress information
    * E+ P. n! p0 b: W/ c" `; s
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS". g6 \: y" a, J5 w3 O. p/ }) d. Y
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"! Q( I4 K# x3 [7 s" \
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . @) x5 r: ^1 t- c* a9 @. B9 w% A
  1636. ; http://php.net/session.upload-progress.name4 b9 B7 @! w3 |" z# _
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ! A8 D% Z% Q: U; _+ w

  1638. * D; m- z8 X9 y; q, v
  1639. ; How frequently the upload progress should be updated.2 u, S: |. H1 Z/ n  H8 @
  1640. ; Given either in percentages (per-file), or in bytes
    1 |4 a  r) Q3 O; B$ M! Q* ^
  1641. ; Default Value: "1%"9 r# g4 i' v! f
  1642. ; Development Value: "1%"" [( Z- I  B) ^" C- t8 k, F8 @0 f5 {! \  v
  1643. ; Production Value: "1%"8 ?/ E8 A8 j' ?1 a/ `; E
  1644. ; http://php.net/session.upload-progress.freq
    8 R9 k: j1 R2 e; `9 P
  1645. ;session.upload_progress.freq =  "1%"$ v- t$ i- m8 v! X/ M$ r. W: d
  1646. 9 s- y& ?" B" a
  1647. ; The minimum delay between updates, in seconds; \5 b; k% g- y' s0 @) r
  1648. ; Default Value: 1" ?! D" c/ M6 K; h
  1649. ; Development Value: 1, q% ?( L' i( \' {& {: a2 `
  1650. ; Production Value: 1
    ; y4 ]: N$ {$ Q! ^- r8 ?: u5 I" i
  1651. ; http://php.net/session.upload-progress.min-freq8 }& U* E' w5 e+ |- e
  1652. ;session.upload_progress.min_freq = "1"
    5 j' V8 n% ^6 I9 @% M2 G

  1653. 1 f  ^/ a7 s/ E  \" w) J
  1654. [MSSQL]
    5 M4 [2 p$ d% n; @+ W4 }+ ^) M
  1655. ; Allow or prevent persistent links.
    6 d2 ?) B3 M4 @7 w
  1656. mssql.allow_persistent = On/ g5 {* x2 Q( h

  1657. 0 t, A. h) x3 R$ B+ k
  1658. ; Maximum number of persistent links.  -1 means no limit.( |5 G( s2 z9 o+ L
  1659. mssql.max_persistent = -1
    : T/ i& k9 m4 f& U8 U

  1660. ) w9 E# k# D. k- Y( Y$ ^
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    % g$ ^3 f: Y4 ?+ q4 m$ ]
  1662. mssql.max_links = -1- C, J2 I  F: Y' L9 m; R  a2 [
  1663. 6 s5 b; o- E! m. g3 Y- D% K) K8 x
  1664. ; Minimum error severity to display.8 \* G5 b& @/ X8 {1 Y' v
  1665. mssql.min_error_severity = 100 f7 q$ {* `& ^% D

  1666. 8 z' N8 Z) G! I, E: }+ y$ Z* E
  1667. ; Minimum message severity to display.9 Z5 c2 F5 K; ^5 n& i8 A
  1668. mssql.min_message_severity = 10
    6 L2 E) _, ~  {5 c3 n+ S

  1669. ( M" M  x& P" N1 p, E
  1670. ; Compatibility mode with old versions of PHP 3.0.: U9 Y% D9 S6 g) A9 M6 C
  1671. mssql.compatibility_mode = Off! ^* L/ E; B. b' x

  1672. 1 r4 u3 b' W0 a. r# Q; U& M7 R
  1673. ; Connect timeout; y+ E/ N, u- B) a9 `4 V
  1674. ;mssql.connect_timeout = 5  g# @- L* f& V) i2 E. C

  1675. " M- C- h! [) O+ @3 k7 f6 ~
  1676. ; Query timeout
    " A6 h5 W0 B6 M5 }7 Y( K: s
  1677. ;mssql.timeout = 60. o6 {' l3 b: q' E% W

  1678. 0 A- q; K: o9 a- j) f. y
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    % e$ B. d- O5 Q. ?8 \& e' E9 b
  1680. ;mssql.textlimit = 4096* [8 l* [5 l5 w2 P# h0 z. a6 B
  1681. ; E1 G" l8 ?5 J0 y& J0 L# l; }
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    4 o9 z8 r( j& y7 H4 ~
  1683. ;mssql.textsize = 40966 b/ |8 D  w* N; S& v- l

  1684. ( l! ?- R7 X0 [
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    + }0 B1 k1 \6 W8 G
  1686. ;mssql.batchsize = 0  H5 ?/ V: Y2 y% r" q

  1687. % e+ C2 V  u5 k9 N- {4 e, e
  1688. ; Specify how datetime and datetim4 columns are returned; n0 X% Y! N3 k9 m2 C; b
  1689. ; On => Returns data converted to SQL server settings
    8 }' t/ U6 z7 c& E7 y4 Y
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss' p3 K( ]* N+ n$ q$ z
  1691. ;mssql.datetimeconvert = On* s- V" I, r; ^& k4 k$ c) L

  1692. + v& e; \- ?& K
  1693. ; Use NT authentication when connecting to the server* ^( f9 k- a: W! @4 L% G3 L/ }
  1694. mssql.secure_connection = Off; x. B1 ~5 @5 c; ~- R! p  ^, o
  1695. # ~9 ]3 y  P$ ?7 Q
  1696. ; Specify max number of processes. -1 = library default  \- t& s# O! w
  1697. ; msdlib defaults to 25( j6 l  r9 e" g) C9 O( a' o& W
  1698. ; FreeTDS defaults to 40960 B9 E; u* n' G. O9 y
  1699. ;mssql.max_procs = -1; S) g8 W0 }7 c: v1 c7 \  j& [

  1700. + E3 a$ Z! ^9 b0 y. C  @
  1701. ; Specify client character set.: A' b* V. J! b2 P
  1702. ; If empty or not set the client charset from freetds.conf is used" G  N: X/ T" z6 C
  1703. ; This is only used when compiled with FreeTDS5 b- j5 N! ^3 Y/ n+ K
  1704. ;mssql.charset = "ISO-8859-1"" w3 e0 @- v6 z& |( M  f

  1705. 2 P& Z; G: |% [2 H5 i4 u* w8 n
  1706. [Assertion]/ {3 B* f6 U! r0 x; j- b/ F" _
  1707. ; Assert(expr); active by default.
    * i6 Z9 e" Y! W+ ^
  1708. ; http://php.net/assert.active
    3 P6 F5 b8 s$ Y5 ]/ M! |4 |6 N
  1709. ;assert.active = On3 j4 r& b& e  N5 [

  1710. + ]8 E: k: y9 c
  1711. ; Issue a PHP warning for each failed assertion.- @1 [" m, J2 b9 E6 E3 ?
  1712. ; http://php.net/assert.warning/ A+ R6 Z1 c; W0 Q: q/ D" c# b
  1713. ;assert.warning = On0 n- V+ z# Y' W  n, O% g1 v
  1714. 9 N. {3 h* _% H& d. H
  1715. ; Don't bail out by default.+ z4 u. c6 v+ _
  1716. ; http://php.net/assert.bail; c, _, J; u0 q
  1717. ;assert.bail = Off' G' M' [6 R# P/ w" P# b  ?& o+ k

  1718. # z' K' Y2 f# H3 e
  1719. ; User-function to be called if an assertion fails.. X1 R4 K) {: s; G4 w& E! z
  1720. ; http://php.net/assert.callback5 V' x6 {( L4 y7 t0 {5 T* \: f1 ^
  1721. ;assert.callback = 0
    ' ]$ ^+ \6 T" l+ n1 o- a! {3 u
  1722. + x9 ?" T' n* a' N
  1723. ; Eval the expression with current error_reporting().  Set to true if you want0 g; G* @* s  S: b7 b
  1724. ; error_reporting(0) around the eval().
    0 V+ h. l# W- [  X: X
  1725. ; http://php.net/assert.quiet-eval
    + O( M* E' s: i) y! ?! N% U" J
  1726. ;assert.quiet_eval = 0
    9 z7 b1 M* f9 [( f9 @; y
  1727. ; o: @: ]4 W2 H- v& ^7 h
  1728. [COM]! B3 V' `$ m! i
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ' y1 [  G  @; [6 |+ a8 Q  x- `
  1730. ; http://php.net/com.typelib-file
    . E% `! d! a5 F  P7 r
  1731. ;com.typelib_file =) U/ X5 F5 k# e1 o7 @

  1732. - D% k, N  Z" @6 L
  1733. ; allow Distributed-COM calls* w! H6 Y# I: P
  1734. ; http://php.net/com.allow-dcom
      `5 w5 Q# m4 d) r
  1735. ;com.allow_dcom = true# L  a& A) T% o' V- q

  1736. ) [) ], G; O! z: v
  1737. ; autoregister constants of a components typlib on com_load()' }1 J9 b* c* ]9 L1 \8 S
  1738. ; http://php.net/com.autoregister-typelib: d3 u5 R8 F9 K$ V3 l
  1739. ;com.autoregister_typelib = true
    " z( T- @+ n$ J. @: F
  1740. * a/ _4 ~% [, k* x$ W0 G8 s
  1741. ; register constants casesensitive; M4 Z1 \  t; d
  1742. ; http://php.net/com.autoregister-casesensitive
    3 U! E8 y* F$ _3 [% q
  1743. ;com.autoregister_casesensitive = false
    1 e( c1 u8 U7 S. @1 y
  1744. ; i2 E' u; Y, x1 t+ l: b/ ]
  1745. ; show warnings on duplicate constant registrations
    5 q7 ?! Q$ H; h" w2 P8 }. y
  1746. ; http://php.net/com.autoregister-verbose5 \2 w8 e# ]& M! [9 I, ^
  1747. ;com.autoregister_verbose = true
    % P7 P" {3 g7 b- X6 m

  1748. 3 n6 U  v% ?& k% y: Q5 X) L
  1749. ; The default character set code-page to use when passing strings to and from COM objects.* _. L5 J( r! T
  1750. ; Default: system ANSI code page- `2 w* l, Z( A2 Z2 Z# v. ~
  1751. ;com.code_page=7 i( |0 G: l% w

  1752. 3 c. }7 m6 O4 ^$ N6 [9 v0 V' k; j' |
  1753. [mbstring]+ c2 P- l  ]/ V* f( q$ H
  1754. ; language for internal character representation.& ^1 I1 c' k8 m6 u
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    ! i+ A7 W  P' ?5 E5 @, p& k
  1756. ; http://php.net/mbstring.language/ D# R/ m5 _" ]' ^4 D% @
  1757. ;mbstring.language = Japanese
    : H. |, e# ]9 i3 v2 K

  1758. : ?: Q- v" F( v: H5 N  {  B* v
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    6 Q  Q# y+ s1 x+ O9 e1 Q; S
  1760. ; internal/script encoding.
    & E0 y) \3 `/ ~
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    3 J7 x3 {. i) b; d  F
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.3 k9 B; L9 }& R) ~7 r$ E
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    . ]% u: N- S2 t- k* T+ B9 h
  1764. ;mbstring.internal_encoding =# M* K  L9 M" \& x1 o

  1765. * g8 [, w7 L* t* l: x+ \/ S4 h& ]
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.. |+ Y/ w  G  m( D. [; n0 |' N
  1767. ; http input encoding.
    + h/ }. O* F' D8 @: _( D
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    1 k3 u. V' T2 s: V1 B+ `+ S
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.% f3 H5 @- L( j8 p5 D3 E
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    $ X% {6 M0 r, U1 s  h
  1771. ; http://php.net/mbstring.http-input
    3 y/ M$ ?) D* N, R' l- M
  1772. ;mbstring.http_input =7 h% D% u/ w# D" |, O* Q3 x

  1773. 7 Z  o0 i5 O0 A) B. d) J7 u+ R# O8 A
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ' D" g' X6 ^" G! p5 {& A% F
  1775. ; http output encoding.& ~& O3 M3 G( s
  1776. ; mb_output_handler must be registered as output buffer to function.
    2 l0 {1 z% z7 B) y# j/ q3 [
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used." ^' V6 o: ]1 b- Y( D% T
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    2 s+ N- H" G6 z6 M: w4 {0 V. n
  1779. ; To use an output encoding conversion, mbstring's output handler must be set. M, c' ~8 Z  E/ q: L8 _" a  W
  1780. ; otherwise output encoding conversion cannot be performed.% C# E* `1 S; b  _$ q7 }; x
  1781. ; http://php.net/mbstring.http-output
    0 L/ u& V2 I' e6 G% J
  1782. ;mbstring.http_output =
    " E( F. k# x9 d9 J% k( c' x, u

  1783. 5 F7 A5 u. f$ q
  1784. ; enable automatic encoding translation according to. N; R) l7 h5 J2 ~9 [: ^
  1785. ; mbstring.internal_encoding setting. Input chars are
    - J$ Z6 `7 t; h7 y! O
  1786. ; converted to internal encoding by setting this to On.) \$ p6 ]7 |( S! {" a8 i
  1787. ; Note: Do _not_ use automatic encoding translation for
    7 y: h* l0 _1 G) G! ~% [$ ~
  1788. ;       portable libs/applications.
    ' E" b5 C3 ?  w
  1789. ; http://php.net/mbstring.encoding-translation3 G, e/ M2 ]5 s! o
  1790. ;mbstring.encoding_translation = Off9 j4 I  n& B0 Z3 |/ W7 g. R0 x
  1791. ' Q0 u! J; Y* }* Q8 s  u; E! I- P
  1792. ; automatic encoding detection order.
    : D, ]- j5 h6 {, T0 y0 P+ G( [! h
  1793. ; "auto" detect order is changed according to mbstring.language
    $ ]7 z  l2 _" D- l
  1794. ; http://php.net/mbstring.detect-order
    4 K2 E3 w0 N+ |+ w
  1795. ;mbstring.detect_order = auto
    9 s0 u6 V9 l! N
  1796. ) y$ N% P- r- w( ?7 Q, N4 [
  1797. ; substitute_character used when character cannot be converted
    * r* {. K6 f$ R9 Z7 g/ d9 O" T
  1798. ; one from another
    4 e1 H3 Y: A  B) y" \
  1799. ; http://php.net/mbstring.substitute-character5 |9 [6 |/ f6 h* D0 i
  1800. ;mbstring.substitute_character = none
    7 N7 y8 [: q- ?9 t
  1801. : B; n# D2 x7 i3 K0 W* C
  1802. ; overload(replace) single byte functions by mbstring functions.! _6 H" O& p2 q+ `
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),1 P- g4 Y" _6 {% N
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    , f  t+ c5 X+ y: l4 q
  1805. ; For example, 7 for overload everything.
    7 F% m% O: k% o7 T" y. O" X
  1806. ; 0: No overload
    # [2 O  e  b, ~: N5 \' C
  1807. ; 1: Overload mail() function1 ?$ o' t8 M' ^4 z! i" e. T' [
  1808. ; 2: Overload str*() functions4 u7 L4 l2 Y- ^0 Z% `
  1809. ; 4: Overload ereg*() functions
    ! ]  p, i* n) o
  1810. ; http://php.net/mbstring.func-overload* O5 g0 ^4 Q, o  U9 w" z
  1811. ;mbstring.func_overload = 00 [! K& G$ P: _! Z' x$ l/ w

  1812. : @  ~. a$ g+ t  k' _
  1813. ; enable strict encoding detection.9 X+ a: ]: x7 F1 W8 y0 c
  1814. ; Default: Off& `0 \  ^. I3 Y7 C3 D5 J  d
  1815. ;mbstring.strict_detection = On
    ) ?, j; [( `9 G# H) S7 W
  1816. ' e7 ?: t& j4 V2 v( e. }. e
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ( A2 B  H, N! w' w6 Q
  1818. ; is activated.
    " R) x# o. r4 b; x0 \! `
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ; ~* c3 B# O+ d) T0 c
  1820. ;mbstring.http_output_conv_mimetype=- \, L8 n; c- K  B4 _7 R3 o

  1821. 3 W) c; ^* b* a/ X6 |
  1822. [gd]1 @" ~+ R0 U/ k: E: u
  1823. ; Tell the jpeg decode to ignore warnings and try to create" j0 W9 U8 k$ E. B5 m  c
  1824. ; a gd image. The warning will then be displayed as notices
    6 [5 p: Y; S+ p, I+ G+ F
  1825. ; disabled by default" d' m; T9 G4 e2 k
  1826. ; http://php.net/gd.jpeg-ignore-warning
    ) `% k9 a1 r8 @
  1827. ;gd.jpeg_ignore_warning = 0' N! ^# L6 B0 m- c7 A

  1828. ; ^  B0 B1 D7 S* {. h# @
  1829. [exif]  a. y% }0 ]7 U3 a' w& w7 ?) O' l
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.) B, A1 \/ O$ U. _4 ?) l. o
  1831. ; With mbstring support this will automatically be converted into the encoding4 |, H, {- U1 E$ b
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    - Q( b) ]* Q, S/ s% ~8 Q' ?' i
  1833. ; is used. For the decode settings you can distinguish between motorola and
    & R* j: ~% J" K, S4 T) ~) y
  1834. ; intel byte order. A decode setting cannot be empty.5 K& T( x4 A! T, n, e. ]; `
  1835. ; http://php.net/exif.encode-unicode3 W( z5 R; O, _# T# l( ]% o0 n
  1836. ;exif.encode_unicode = ISO-8859-15
    , x7 R: O4 [6 r: _* B( t9 w, v
  1837. * S6 |7 t7 V. Q5 e
  1838. ; http://php.net/exif.decode-unicode-motorola; @- a  H' O' E- `/ D& W- H2 y
  1839. ;exif.decode_unicode_motorola = UCS-2BE$ v. X( g: ^, `* i! X

  1840. / e, z; _4 t4 R1 _8 ]' K0 J
  1841. ; http://php.net/exif.decode-unicode-intel
    , d+ u% C0 J! g% h3 L2 {
  1842. ;exif.decode_unicode_intel    = UCS-2LE& a5 ~! N, z7 u4 U5 D8 S, Z7 L0 d
  1843. 9 W4 M2 h! S. P' p
  1844. ; http://php.net/exif.encode-jis
    7 ^) |3 I$ h6 A/ U
  1845. ;exif.encode_jis =) t; X/ y0 C1 P  y$ Q& Y4 S& I/ l

  1846. % O: Z- ^% G4 O* ?0 P9 f
  1847. ; http://php.net/exif.decode-jis-motorola5 l% o! q+ P, F2 F+ o6 \6 h- o
  1848. ;exif.decode_jis_motorola = JIS& ^6 X3 K3 [. V% ?/ A
  1849. " K& Z& N# ]: }( F
  1850. ; http://php.net/exif.decode-jis-intel
    4 A% m5 w& l( F6 g2 i& ?5 _: u+ A4 `/ J
  1851. ;exif.decode_jis_intel    = JIS
    & n, X5 S  u5 S8 Q6 p; U! h( |+ w

  1852. % E; ]' j5 h2 o6 d1 @. E
  1853. [Tidy]
    , z/ w8 K6 m  b; @5 }
  1854. ; The path to a default tidy configuration file to use when using tidy7 a$ {" e0 F& D2 J5 Q$ Y7 b
  1855. ; http://php.net/tidy.default-config1 j2 H" _9 z; e" x- e
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg  b/ X" g- H! b3 r8 l. m

  1857. ' R6 ^5 }1 H) V5 Y7 I
  1858. ; Should tidy clean and repair output automatically?
    1 i; N- d1 n! I/ G& O
  1859. ; WARNING: Do not use this option if you are generating non-html content
    5 Z, ~/ |' F; ?+ ]
  1860. ; such as dynamic images
    * s7 M4 E+ U. L' X7 n: B! L
  1861. ; http://php.net/tidy.clean-output
    % L% ^* O, \  C' ]+ v
  1862. tidy.clean_output = Off
    & \9 ^  p0 c& c! P

  1863. 4 K' R. t, F1 f* C3 d6 {) z, n
  1864. [soap]/ Z3 j* e1 v6 y. ]2 f( m' S9 F0 ~
  1865. ; Enables or disables WSDL caching feature.4 f# Y3 Q# o% j
  1866. ; http://php.net/soap.wsdl-cache-enabled
    9 w& Y" Q) ~1 J; I" t+ `. s
  1867. soap.wsdl_cache_enabled=1/ c. i; |$ _) Z
  1868. : b' l4 p4 Y; K
  1869. ; Sets the directory name where SOAP extension will put cache files.
    & _. w4 I2 U. g2 D6 ^: o
  1870. ; http://php.net/soap.wsdl-cache-dir) ?9 n5 d! n5 h! S% |; P6 C
  1871. soap.wsdl_cache_dir="/tmp"/ U! G6 B( q; m: J
  1872. 4 v  a. i$ X' r% e0 e+ M
  1873. ; (time to live) Sets the number of second while cached file will be used2 A; c$ q4 s- z7 ?
  1874. ; instead of original one., C! Y1 Z0 K! u2 h. |. S
  1875. ; http://php.net/soap.wsdl-cache-ttl
    : i  K6 K3 I* ]; Y# d- P
  1876. soap.wsdl_cache_ttl=86400
    1 E# ?1 V5 C& V1 v
  1877. . Q$ u1 h" `! O. R! q- W# i
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    . x( [4 C, C# p' I6 y9 }* O
  1879. soap.wsdl_cache_limit = 5
    7 y0 ^; f# h2 l+ t, q
  1880. 1 G: G" W! y$ C; p# c" {
  1881. [sysvshm]# l8 X# z: Z) Z: C: d- {' l
  1882. ; A default size of the shared memory segment
    6 r1 k9 T; Z, W6 t6 |
  1883. ;sysvshm.init_mem = 10000
    3 l4 D' X6 \1 P
  1884. 4 r7 i: i% l4 \* N# C2 h8 j
  1885. [ldap]
    & m& e+ N5 v  w( R1 d7 C
  1886. ; Sets the maximum number of open links or -1 for unlimited.6 G* T3 [' \4 `( s2 j5 e
  1887. ldap.max_links = -1' r7 d+ |5 i) U" s2 F- L
  1888. # c; i$ a- j% h- w/ x" u
  1889. [mcrypt]
    & U% i- |; P* {) F" H0 O& M
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open0 f) Z2 Z" F; m7 U8 F, e
  1891. ! x: o* T2 |" H! l5 @4 }2 {
  1892. ; Directory where to load mcrypt algorithms
    + a* i, b# i/ |) q
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)( H9 e, h, F$ ]
  1894. ;mcrypt.algorithms_dir=
    1 t6 Z* p; }, X0 R3 B. {

  1895. 9 S# b$ c8 |" G. m
  1896. ; Directory where to load mcrypt modes
    9 Z4 |$ u# O2 E5 S
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    3 s0 M( J  v' U$ Z1 e) ~
  1898. ;mcrypt.modes_dir=1 X( B6 a' c* N' N: V; ^9 N
  1899. 6 w" O- t: P" W% [. W* p: b* M6 O
  1900. [dba]5 e7 o/ S' |( i
  1901. ;dba.default_handler=; l$ i" d) J- I. }: z

  1902. - O- `4 u* H0 t6 ]' @
  1903. [opcache]
    2 }% w* }) _( Q3 p
  1904. ; Determines if Zend OPCache is enabled
    ; B' c" F+ ~4 `8 d2 q; W
  1905. ;opcache.enable=03 }* g5 T4 e9 Q+ k9 r( T/ r

  1906. $ A( [6 }# S  C9 _
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    : D  _6 C5 {; ]/ {( q
  1908. ;opcache.enable_cli=0
    ; W* B5 N" A. r4 @
  1909. 7 ^) L: p7 W5 h. ]- d
  1910. ; The OPcache shared memory storage size./ \4 A: F; z' g" f% F. L% R" A0 e
  1911. ;opcache.memory_consumption=64
    ( R% s( O# G: t9 ]0 k, l

  1912. $ S# T0 D3 u; S% A; P) k# R8 s" m* k
  1913. ; The amount of memory for interned strings in Mbytes.& f6 x8 N- m* R& l& T0 z. G$ o
  1914. ;opcache.interned_strings_buffer=4
    , |7 v' V. A8 \( L

  1915. & g/ X* @4 @, B
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.0 v7 o0 j5 c/ \( n1 d
  1917. ; Only numbers between 200 and 100000 are allowed.
    * F8 J9 U  J0 t/ T# @1 y
  1918. ;opcache.max_accelerated_files=2000* p6 @9 F9 C2 d2 G) X8 c) V" U

  1919. ( P3 x: i- z1 V* P
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    : R, ~4 b/ W) w- O9 o) u
  1921. ;opcache.max_wasted_percentage=5) t. t8 Q$ S1 d
  1922. 6 w9 b0 |2 a, M4 t9 ^) B) [' o
  1923. ; When this directive is enabled, the OPcache appends the current working
    % Q3 V7 \; d4 `+ E# Y
  1924. ; directory to the script key, thus eliminating possible collisions between
    ! d/ {' o$ \; {, h  o
  1925. ; files with the same name (basename). Disabling the directive improves
    " B- H) R* O! z2 j% u) T+ n
  1926. ; performance, but may break existing applications.
    ( [  L  g1 F# b6 u6 I" l' a2 [4 I
  1927. ;opcache.use_cwd=1: ~' M5 L# W' ^
  1928. - x) I/ n5 m. z" V
  1929. ; When disabled, you must reset the OPcache manually or restart the
    5 B4 k9 e0 ?: a6 \; d
  1930. ; webserver for changes to the filesystem to take effect./ {5 K4 w% E) G/ p& G( G
  1931. ;opcache.validate_timestamps=1% W: a( u, a1 {% e0 B

  1932. ' x0 }2 X6 e- Y- k: h
  1933. ; How often (in seconds) to check file timestamps for changes to the shared5 u9 X. N! i! I8 c
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    8 r5 x" B1 |  Y5 B
  1935. ; once per request. "0" means always validate)
    % Y7 W! |5 R% E
  1936. ;opcache.revalidate_freq=2
    - J$ e8 D9 V5 s! v& Z1 {; I

  1937. 9 n3 y1 N' T' i5 O3 L! b
  1938. ; Enables or disables file search in include_path optimization
    9 ~5 w  X6 u( |0 [6 U# l
  1939. ;opcache.revalidate_path=0: \+ v  O5 \* q2 F0 |
  1940. $ ]2 P; F& b7 m) s: {, ?
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the# u: i8 o& \6 E) U& U
  1942. ; size of the optimized code.: \& {" p4 a, {' ~6 B: S$ W
  1943. ;opcache.save_comments=1. g/ Q2 E9 h$ n$ O
  1944. ! D1 `: c/ X# `; h1 E
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"/ l7 d, I; ~- s' V9 ^
  1946. ; may be always stored (save_comments=1), but not loaded by applications. f: H& S6 E1 k6 v$ F# b$ C$ a
  1947. ; that don't need them anyway.
    . d, k/ y# @+ ?* u; e- c; D
  1948. ;opcache.load_comments=1. ~# L9 Y; e3 ^% o+ c5 m
  1949. + q! s8 |. L* Z5 z4 @' m! Z" }; A
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ' B6 c1 M* M4 D' E0 \  e( ?
  1951. ;opcache.fast_shutdown=0) m% v+ D! S! Q' z( a1 \
  1952. # q2 B8 h4 a; H& ~: O+ H, _# t
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    # a* r# I" [; O  B! z- y) m  F1 A
  1954. ;opcache.enable_file_override=0, p1 v3 j3 ^" O* f

  1955. : H# D) P! a. ?  e# q7 @8 K
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    " H, v7 N2 {9 G8 ^* W* F
  1957. ; passes
    + G& D7 l2 v) ]% j2 A
  1958. ;opcache.optimization_level=0xffffffff
    % }" |  X, l* \# ]! H% g  f

  1959. ; b' X: ^- T' G5 M9 V" N3 I
  1960. ;opcache.inherited_hack=1
    4 `  E; C2 }9 L5 ?3 K
  1961. ;opcache.dups_fix=0; J$ R$ u) i2 ~; @7 M7 {

  1962. % B, A" E$ e) Q/ R$ N
  1963. ; The location of the OPcache blacklist file (wildcards allowed).) I( a  r9 @# [7 F, w4 F
  1964. ; Each OPcache blacklist file is a text file that holds the names of files/ ~3 X( K$ r0 [7 [; e) `. v* g
  1965. ; that should not be accelerated. The file format is to add each filename- F9 g& w/ a6 g
  1966. ; to a new line. The filename may be a full path or just a file prefix! R, a4 ^: g  d% p) p
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
      u) X/ ?: V* P, s+ @$ Q# D
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    - b: s# W# t: D( |8 Y
  1969. ;opcache.blacklist_filename=
    - O7 _6 p) D/ Z" Q- x- v

  1970. ! o% s  M* `. u  K
  1971. ; Allows exclusion of large files from being cached. By default all files
    / P4 ?! @( v$ D' G
  1972. ; are cached.' H$ t/ [- ^8 |9 J  D) v$ l
  1973. ;opcache.max_file_size=0
    ' ^1 h2 k( Q$ ?$ ]* L% k) {

  1974.   v) _) O- f) Z& }5 ?$ e
  1975. ; Check the cache checksum each N requests.
    8 w/ L& d5 _  f" o
  1976. ; The default value of "0" means that the checks are disabled.5 @! I( ~5 P+ U% w9 C4 y3 T) c
  1977. ;opcache.consistency_checks=0
    6 B7 C# j  ?% N) b! j* V0 b) w$ X7 w

  1978. * K* E1 Z% D3 a6 s, d
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache( M7 ^$ O. R2 l, ~  i8 @6 R3 n
  1980. ; is not being accessed.
    + ?4 u4 u3 j% |9 R3 L
  1981. ;opcache.force_restart_timeout=180
    ; S! |2 G5 B) O! E" p2 V, N

  1982. / d1 p7 {$ D' o& ^/ m
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    ; z: B: M7 A* N9 I$ A1 F
  1984. ;opcache.error_log=
    , v& c2 V' S! t' L" j
  1985. ) R3 T4 e$ P" R! r, o. ^7 q
  1986. ; All OPcache errors go to the Web server log.0 J' L3 `9 Q0 r3 ^( x- ^0 K4 }- D
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ! @2 n. l  B$ c, g
  1988. ; You can also enable warnings (level 2), info messages (level 3) or. ~% u, }& z; m
  1989. ; debug messages (level 4).5 Q8 Z0 V1 K9 V- W
  1990. ;opcache.log_verbosity_level=15 R# ]# o+ [4 D, A3 }

  1991. 7 e+ b3 i" C" C. e, R
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.& D- u: l# W2 d6 G+ {# K
  1993. ;opcache.preferred_memory_model=
    / Q' U% o7 R, q6 d+ [( x
  1994. - c9 ~) J9 [) V
  1995. ; Protect the shared memory from unexpected writing during script execution.. w9 A& p& G5 d/ Z) q9 y0 P3 W
  1996. ; Useful for internal debugging only.
    - u% @9 G( a5 |) ]7 G+ |
  1997. ;opcache.protect_memory=0
    : y3 {7 X8 ~  a9 K% ]

  1998. 9 G; O0 t7 F1 M/ w- `
  1999. ; Validate cached file permissions.
    6 |0 W! E4 h: S, o) H6 D! `9 Y
  2000. ; opcache.validate_permission=0' C# y. Z9 P% O: u7 s

  2001. 8 c+ k- k) h- p9 n+ E4 f
  2002. ; Prevent name collisions in chroot'ed environment., `( C. }! {! Q. g, A( [
  2003. ; opcache.validate_root=0& i3 }1 F$ c) \* z

  2004.   Q9 t" h$ v& P  \5 X" X- g# `
  2005. [curl]" H7 t# A; `: ^# W# e
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an) g* k8 x, r0 l" ~+ y
  2007. ; absolute path.$ _% l; T5 y+ w- l$ n/ U( x# {
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt5 q: G( h( u/ ~
  2009. " S$ r8 O; z; a2 c6 L4 c  Z; O9 _# i
  2010. [openssl]
    ; d/ C' s+ X* t/ r" f% M
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem* @( n7 [0 W+ U1 P
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    , B8 Y: ]2 u0 Q. ]* w6 E
  2013. ; not specify a value for this directive as PHP will attempt to use the
      T$ j0 S% W& d
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    # z, ]. f0 j- M2 S6 d* N
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context9 v1 r% @, p& z: L2 I1 g, F# K" i
  2016. ; option.% [* g- k5 t$ P) N
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt' n- K6 {# M# ^/ o$ f& L) ]; `
  2018. & L0 q+ W0 e# U# U
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the. S  u$ @% X: j7 f4 Z% |
  2020. ; directory pointed to by openssl.capath is searched for a suitable3 K" i) h" ?) \
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    : m6 O* W. o' [. ?
  2022. ; Most users should not specify a value for this directive as PHP will
    ! F7 N! F$ w# B2 P7 Y1 ?
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,. \, U+ G# k# P; h6 y
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    . J: I/ z$ S. z- q; [1 \8 J5 J& r1 B
  2025. ; SSL stream context option.
    : A$ O; W- I& y* Q" y
  2026. ;openssl.capath=: T8 V$ F& Y# r
  2027. ) d' e# D) T$ R* O& D6 t
  2028. ; Local Variables:3 e0 T+ X+ [7 p; K1 L1 p3 f! ^
  2029. ; tab-width: 4
      @. z' t8 H! V  N; w
  2030. ; End:
    1 r; J! _: a8 U$ q4 m  ^) P
  2031. " f, X% W, t3 r
  2032. ;eaccelerator- J3 {5 G# m' d4 w
  2033. " q. X! H: K9 c1 E# [$ p- R7 Q
  2034. ;ionCube
    1 k0 p4 N- A$ F+ E8 d0 E# Q
  2035. . z8 n5 S  U6 [# o4 ~0 e- N% r: X
  2036. ;opcache
    3 e2 ^: D' C* e* e$ {; |
  2037. * i8 y+ W- [2 S6 c! l/ N2 I
  2038. [Zend ZendGuard Loader], x* n8 w" B" |, Q6 r3 x
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so, ~2 R6 P2 I4 |2 W' o
  2040. zend_loader.enable=1
    ; f7 `9 _) h7 Z/ O) V
  2041. zend_loader.disable_licensing=0
    ' l9 U7 v$ J  V
  2042. zend_loader.obfuscation_level_support=3, F5 t% [( H. [* R0 z5 T' }- D
  2043. zend_loader.license_path=
    $ U9 `9 @2 @6 w6 q
  2044. 5 h; ~+ ?+ W! K7 b, Q6 O2 J
  2045. ;xcache
      f3 Y$ b* M* L; X" ~  j7 M
  2046. * @2 t% R6 |( ]1 w5 r4 f  Q3 J8 L
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
1 V  N! ?# M8 D+ n1 q3 f/ M3 }  _: K* O' K

+ {; f. S5 C! o+ F- \6 {) ]Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,. \4 U$ I4 D$ t, W- D2 d" m" T
& y, O  _% b' H
Discuz!程序版本选择:
4 {8 y- u: p: e/ u站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,! V( W9 }% ?  C; G
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:. F5 D0 k( c" d) v& u" p5 x5 I' ]
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。- g  Z' E' S' c& C0 Q# G" t

4 T9 D* {1 d' F+ [( i; pDiscuz!插件模板版本选择:% ^  F7 P3 T: p* C- S6 d' b2 g4 a- t3 Q5 {
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,7 a! p8 b4 Z8 {. N( h( h
针对这个问题做个统一的普及:
9 E( a  f8 `3 i  h  V) dX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。0 C0 e0 U6 u' J0 Y
0 g/ @% E& [9 g% k. m; h
所以; ]! L6 D' p/ R4 i' @5 [
适合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的二级域名。6 O: S% Q' q+ O$ Z  W# f; J' t
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。8 L0 W0 m% P; ^2 e; w6 k& @
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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