BAOTA - 设置区 - 神采飞扬网 - Powered by Discuz!
分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
' O, M0 _0 P3 }/ C3 B
  ^- _4 o. Q) x" G$ C& F
  1. [PHP]
    $ K0 h+ ^+ v' F% |8 L+ I
  2. ; N2 u5 \; |' g: G. m
  3. ;;;;;;;;;;;;;;;;;;;6 s! l* y, F- n8 }% M# ]6 v! s
  4. ; About php.ini   ;
    ' Q$ K" m8 e1 P( N# u% i8 c
  5. ;;;;;;;;;;;;;;;;;;;9 L( N6 v  g  i$ _9 p
  6. ; PHP's initialization file, generally called php.ini, is responsible for9 F( F2 C1 e& c' {, s$ W; b# Z
  7. ; configuring many of the aspects of PHP's behavior.
    * ^/ p7 q$ {1 o- X" A9 ?* j

  8. 5 r' T( C" j+ X& L0 `( t
  9. ; PHP attempts to find and load this configuration from a number of locations.
    , k+ P5 v' V$ x5 V0 w) j
  10. ; The following is a summary of its search order:
    5 j' f4 v- i2 L; E, ]5 d) W5 g
  11. ; 1. SAPI module specific location.
    4 C. a1 O8 s' b' \6 S
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)4 ]! S0 p' N5 U; c2 P6 Y* O
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)! D3 J1 d8 {0 D% f
  14. ; 4. Current working directory (except CLI)
    / i1 b& j$ ?: k
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP7 t# X2 O, W# g3 E0 E1 S
  16. ; (otherwise in Windows)1 z) \( ^  T# @/ `& L
  17. ; 6. The directory from the --with-config-file-path compile time option, or the4 n/ A* V0 e: X/ f$ c
  18. ; Windows directory (C:\windows or C:\winnt)
    ; Z9 `6 m: i' k& C+ A4 Z
  19. ; See the PHP docs for more specific information.
    0 i/ x; f/ s" \
  20. ; http://php.net/configuration.file4 k/ V2 {. d7 n: p* w
  21. 1 x# X2 f& l, L6 B
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    6 D6 w2 r$ B2 ~) D
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).: V6 d0 K+ d1 t1 j
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though4 q. P; ]3 Y3 i6 o8 D
  25. ; they might mean something in the future.' P: {6 d  A" x; |4 w2 W+ P8 l" P

  26. 7 `2 c3 Q0 H& g7 @: T
  27. ; Directives following the section heading [PATH=/www/mysite] only
    9 v# b1 P3 h. h2 @
  28. ; apply to PHP files in the /www/mysite directory.  Directives3 j9 f5 Z8 F& A6 `
  29. ; following the section heading [HOST=www.example.com] only apply to! ?# Q" z$ u$ R9 ~- Z( C
  30. ; PHP files served from www.example.com.  Directives set in these3 _3 E6 S) C1 x8 w. r
  31. ; special sections cannot be overridden by user-defined INI files or4 ~# ~+ p9 g1 r! ^& c
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    9 f2 _7 J2 _/ Y1 q  P9 E# S4 W3 F
  33. ; CGI/FastCGI.1 o* Q0 n$ E6 }  l* j# @' N
  34. ; http://php.net/ini.sections
    4 C0 ^& `# ]% b4 f' z& Z6 W  ?0 o/ {! V6 T
  35. # f: v. G3 B; W+ s" Q% t
  36. ; Directives are specified using the following syntax:
    3 D9 d" y7 q) C6 o) w. l5 \
  37. ; directive = value
    * {4 q0 q' X3 a7 B; z6 I  b
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    * H% b  X* H' D0 F+ @) x% J
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ) t( G/ k1 _; K0 _3 k
  40. ; There is no name validation.  If PHP can't find an expected
    5 b! h; S' Y) E' ]' l
  41. ; directive because it is not set or is mistyped, a default value will be used.
    - D& l1 s$ C7 c1 v0 d
  42. : [! O! y0 z5 [7 s6 k4 p
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one2 `1 N' y( h" e3 s: d. D# l
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression* z8 _2 g' I/ z2 U1 J
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    $ j3 D2 @/ B6 C
  46. ; previously set variable or directive (e.g. ${foo})
    ' `3 Y, Q$ I6 n# I: e5 [
  47. 5 x, S, Y* x: y7 }2 X
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:0 J9 c4 f3 Z: U
  49. ; |  bitwise OR
    0 y( h) }. O  [+ [) n5 |& j
  50. ; ^  bitwise XOR
    - ~  \- _. a0 q0 H- ~' `, w$ t, B: A1 ]
  51. ; &  bitwise AND
    % B  @  ^- v# j- c1 ]7 Y' P+ ?
  52. ; ~  bitwise NOT
    ( P* l, ]: x) c! g% ?
  53. ; !  boolean NOT
    - }- @  @: f- S) A% y* ^
  54. . B$ w; F$ r  \. I4 v/ j$ b# Q
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    % U9 Q% C; v2 r: U, B5 t* O& l& a
  56. ; They can be turned off using the values 0, Off, False or No.7 B1 P$ C% s; T
  57. : D! c& Z- g  h  T$ q
  58. ; An empty string can be denoted by simply not writing anything after the equal  V7 q) g5 D6 S/ H  P
  59. ; sign, or by using the None keyword:
    " l0 |! T. d* T. Z# ]
  60. * u* Z$ f; U% r. y9 J
  61. ;  foo =         ; sets foo to an empty string* d# P! N1 m* r3 {
  62. ;  foo = None    ; sets foo to an empty string4 s% f* v0 @; g" u2 `% l
  63. ;  foo = "None"  ; sets foo to the string 'None'  Z) S1 z: L% _

  64. + i5 `3 {- k% ?3 r0 {% ^  y
  65. ; If you use constants in your value, and these constants belong to a# N& u- N# s2 C2 z& U
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    : q: B4 n4 I: S* i; d
  67. ; you may only use these constants *after* the line that loads the extension.
    * [1 i$ k7 W% `7 M+ j; P
  68. % h! Z/ \7 @# \1 z0 |( h
  69. ;;;;;;;;;;;;;;;;;;;, n$ ]( {% w) M$ H
  70. ; About this file ;" H$ e( b& f+ Y' }" X
  71. ;;;;;;;;;;;;;;;;;;;( n4 H/ c% R2 K. s5 _3 t3 t
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    / w; k. L( D( ~5 R1 f8 R
  73. ; in production environments and one that is recommended to be used in
    - s% N* L8 j4 K3 X
  74. ; development environments.
    7 \/ g' v3 w" y: O  k8 L* A
  75.   m7 g1 j& _( d$ F, B
  76. ; php.ini-production contains settings which hold security, performance and( T4 _, _) k8 a4 ?+ m) _
  77. ; best practices at its core. But please be aware, these settings may break
    5 i% Z% ?3 H' u) G) l- H; y- Q
  78. ; compatibility with older or less security conscience applications. We
    * r/ c8 r" D" [4 o! U; V+ W
  79. ; recommending using the production ini in production and testing environments.' M1 F$ K; x) F: m, j; z& D
  80. : U4 ?) d$ B# Z) \
  81. ; php.ini-development is very similar to its production variant, except it is
    ( x. D) {0 c) @) [( R
  82. ; much more verbose when it comes to errors. We recommend using the
    7 F4 p( i9 S5 i$ y( }
  83. ; development version only in development environments, as errors shown to+ P6 b" z2 s- Q# ^- r3 f5 s
  84. ; application users can inadvertently leak otherwise secure information.
    # ]) _$ W/ H. {6 y6 Q( ~) M9 K4 Y

  85. + g& H: ~1 p$ h- K# f/ I( G. S
  86. ; This is php.ini-production INI file.
    + N) J9 O! R8 i3 \4 h1 ^5 i
  87. . E/ H7 n4 E3 n8 l
  88. ;;;;;;;;;;;;;;;;;;;
    ' w& |. f* q1 e( S9 I0 R' Z& r: I9 @
  89. ; Quick Reference ;) t" D3 V1 ]1 V5 P+ H4 D' T
  90. ;;;;;;;;;;;;;;;;;;;, G: S4 ?) U% T: b/ T5 k
  91. ; The following are all the settings which are different in either the production* G. ^9 X) q- N! N# \/ J! ~
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ! O# Q, f2 ?7 q) |
  93. ; Please see the actual settings later in the document for more details as to why
    / x. y4 b; o( N' d
  94. ; we recommend these changes in PHP's behavior.
    " O+ X& T/ O- h# O9 S

  95.   n6 w0 F6 b7 T6 n# h4 G
  96. ; display_errors; e: ]- `8 V0 K' Y1 E- o
  97. ;   Default Value: On
    5 x! S$ u( p3 c& k; P0 y
  98. ;   Development Value: On
    + v. v  \; A4 Q3 c9 p8 x$ _& g8 @
  99. ;   Production Value: Off
    2 }3 l4 J. h' w" x5 p) L

  100. 6 T- L1 W" @5 Y) H* M/ a1 J
  101. ; display_startup_errors3 U+ L1 P' h) W( o, B9 v
  102. ;   Default Value: Off
    ; x* }; s! s4 l3 a4 s  W& ?; T- L2 ]
  103. ;   Development Value: On
    : p* w& G8 w; R/ r9 y6 o
  104. ;   Production Value: Off
    * w& F- W' {, m, o, P. w
  105. ( G( m3 L% Q  o% @5 i: o
  106. ; error_reporting
    % n+ w  o/ ]8 r& z! Y- r2 E
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    7 @7 L% p( P4 u* t# \: L+ |$ L
  108. ;   Development Value: E_ALL
    0 g6 o, C& I- _" k
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    5 g. X7 X; f4 \( s8 W) d
  110. ) ]3 O, j. d6 n1 Q% Z
  111. ; html_errors
    / w& }& }/ U! K- {
  112. ;   Default Value: On
      ~2 s7 c9 j6 q) m& ?
  113. ;   Development Value: On3 s/ X4 m! G8 ^0 ^( V- D
  114. ;   Production value: On
    9 ]$ C  b4 m# j- V
  115. ' _. n6 x9 `- i* v
  116. ; log_errors
    8 Y6 Y% \  [) A# F$ n4 N
  117. ;   Default Value: Off
    8 P; [9 @# \' J# w" G: V
  118. ;   Development Value: On. |+ G1 [# \# e5 Q
  119. ;   Production Value: On
    ) x7 L, W! @6 k+ q. f& G. t- |

  120. . c1 X' S/ c/ ^3 a. L. X. A
  121. ; max_input_time
    & ?# O% q/ [! R4 O# V) C
  122. ;   Default Value: -1 (Unlimited)8 U3 L$ @- H5 \- \
  123. ;   Development Value: 60 (60 seconds)
    0 ~3 i( o" Q# X- T8 ?3 \' s. z
  124. ;   Production Value: 60 (60 seconds)1 P6 }4 o8 Z6 }

  125. 0 n- R9 d7 y: x9 V+ j3 N* F* f
  126. ; output_buffering) b3 S& X$ N/ E) R6 `8 O+ R; F
  127. ;   Default Value: Off
    & c' Z. ^3 T, T' i: I/ [2 |: |8 q
  128. ;   Development Value: 4096
    9 i2 _* ^% b8 B! b+ h
  129. ;   Production Value: 4096
    + X. _7 C0 i9 }. }; ~7 K5 e

  130. 3 a0 t0 _5 {- V! Z8 w' A  {% R6 }& ]
  131. ; register_argc_argv
    . |. C$ J+ G# }
  132. ;   Default Value: On4 d/ M$ [* D9 h2 o3 z" D( J
  133. ;   Development Value: Off
    ! `' N6 a; v3 f
  134. ;   Production Value: Off
    - s0 x# H  a' Y2 b: Z# w" Q3 w

  135. % s- C( _( u& B
  136. ; request_order
      f: W+ t8 T- @
  137. ;   Default Value: None
    2 z8 H6 Z5 Q# [* X
  138. ;   Development Value: "GP"4 M+ Z0 O  ?9 l( U0 i5 A4 o
  139. ;   Production Value: "GP"
    - ^2 x8 }) V; [* p9 V
  140. 5 [* O) M) z; M, z4 l$ k1 j# m
  141. ; session.gc_divisor
    ; o& v7 U6 S2 ^6 T2 z; b
  142. ;   Default Value: 100
    ( }1 D4 h, G" m8 A
  143. ;   Development Value: 10009 y& k( }8 J3 r: @* X
  144. ;   Production Value: 1000
    " y% O5 `8 s0 ~

  145. 6 M" R- a+ `2 p8 U8 j% W
  146. ; session.hash_bits_per_character+ h* M: }  |& I9 a. I# a
  147. ;   Default Value: 4
    * M0 n8 h- _8 y" ?8 p# T7 J$ v9 r
  148. ;   Development Value: 5
    0 Q# M- b0 t8 x- J
  149. ;   Production Value: 5- z9 c8 W, f0 G1 ?2 L

  150. ' P3 F5 o- F5 p
  151. ; short_open_tag$ h3 S  x7 w% |; J! f
  152. ;   Default Value: On, W) w$ z* k+ `8 `, V+ D- S. m( r
  153. ;   Development Value: Off
    . B" p$ X( f4 s5 s) j; \) c
  154. ;   Production Value: Off
    4 C( y( M7 V$ U. X, n( h8 m% K

  155. $ e9 @( T2 R+ w8 B2 A8 {4 A9 Y
  156. ; track_errors
    & r2 P8 o" M8 S  j
  157. ;   Default Value: Off) Q" G0 E4 x, s
  158. ;   Development Value: On
    + S; @" M, W% B, w
  159. ;   Production Value: Off
    9 ^  U, e) G' L0 P  g

  160. 0 ~+ @% O8 N4 i3 F% s* b
  161. ; url_rewriter.tags
    3 M5 X: k2 g+ H+ u- T+ r
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    , Q" s% u; d. G9 [1 y- G2 A+ F
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 z- w& v3 ?; _; E
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' s. e( w- y4 f

  165. , a& L5 E) z/ M7 N+ C6 ?: s4 U" I
  166. ; variables_order
    % }, D1 T- G2 z4 f
  167. ;   Default Value: "EGPCS"
    " d/ X4 _. c: _) E2 x+ {
  168. ;   Development Value: "GPCS". o" m- R1 W" B& B% h" H1 \
  169. ;   Production Value: "GPCS"
    ( B% e: d( c- d
  170. 1 I, ^8 k, k' J: _4 t3 t" q7 s% d
  171. ;;;;;;;;;;;;;;;;;;;;
    : e2 W+ ], n9 L
  172. ; php.ini Options  ;
    : a+ r5 T4 o0 z
  173. ;;;;;;;;;;;;;;;;;;;;8 m6 x, `9 s) m
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ; e2 o/ b8 N" |8 Q2 Q4 ^7 |; {
  175. ;user_ini.filename = ".user.ini"
    ) \" E" G& r- O# T  B7 n& J# S
  176. / f2 D8 e4 t4 ]/ {# e
  177. ; To disable this feature set this option to empty value
    : [1 F) W" p# r1 Z) S" Z
  178. ;user_ini.filename =; U! ~( S/ z# y

  179. 4 V, d( A6 o) n. v. f7 V
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    8 R: W1 l' H4 z% \3 I' T' M
  181. ;user_ini.cache_ttl = 300
    3 _! n) ~, {2 P, m. T1 K1 V2 |' U7 B6 s2 H
  182. $ E- N; z* o# b# A' m  @
  183. ;;;;;;;;;;;;;;;;;;;;$ i7 [# B: U. ?- |% c. j/ f8 v
  184. ; Language Options ;
    , ?5 J( [4 p7 G0 m' P4 h4 o
  185. ;;;;;;;;;;;;;;;;;;;;# [' B- T" g% e; }. d% v

  186. 2 H' N6 a- _& d
  187. ; Enable the PHP scripting language engine under Apache.
    ; ~# C; N$ ]( T6 G
  188. ; http://php.net/engine
    / J. w0 `) }/ M' `8 h
  189. engine = On
    $ ^5 g% M3 f6 @$ ?) i9 ^- {/ `1 `3 ]; \

  190. / q' L: H. Z& z) `+ t* o
  191. ; This directive determines whether or not PHP will recognize code between9 {+ Q3 k* M6 k  J
  192. ; <? and ?> tags as PHP source which should be processed as such. It is$ T+ a" x+ m) v
  193. ; generally recommended that <?php and ?> should be used and that this feature
    9 Y  Z2 h: A: W/ ?; P4 N$ H
  194. ; should be disabled, as enabling it may result in issues when generating XML
    9 g1 O6 f% B% G1 [
  195. ; documents, however this remains supported for backward compatibility reasons.
    1 W2 {* a0 S. j" s
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ' L2 I  ^/ B/ C6 o8 B
  197. ; used regardless of this directive.
    + b) m" w6 d9 ?( e5 e* |
  198. ; Default Value: On9 m: Z: C/ Z! R) @& k
  199. ; Development Value: Off
      T3 ]" P, E: Z" S( K; V1 f8 z; Z' [
  200. ; Production Value: Off# i( d+ n. s, O% s' z% J4 B% w( g, |- m
  201. ; http://php.net/short-open-tag. Y' @! |$ E/ F3 |1 U3 Y2 h( c
  202. short_open_tag = On
    $ x- y% O/ K9 A% l
  203. - l% X, t" e4 o/ Q1 {. a
  204. ; The number of significant digits displayed in floating point numbers.3 f3 D( @0 b6 U  Q: n, o/ @# ^5 Y
  205. ; http://php.net/precision
    2 T/ i  r+ a1 f  W( T! a
  206. precision = 14( P/ E1 \- k4 `- W

  207. 3 N, }! g9 V6 h. k. h: g% l
  208. ; Output buffering is a mechanism for controlling how much output data
    5 A* I4 ]3 t% T6 \
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that4 x1 C* D' D+ c* ~% L* [- _) H
  210. ; data to the client. If your application's output exceeds this setting, PHP- \, K* [. ]6 y) t
  211. ; will send that data in chunks of roughly the size you specify.
    ' C7 [& o0 E; [0 `1 o" S
  212. ; Turning on this setting and managing its maximum buffer size can yield some1 @6 E9 T+ a4 I* s; n% i; p& e0 S" u
  213. ; interesting side-effects depending on your application and web server.
    7 ^5 {% x0 h! ?7 l7 ?: T3 A
  214. ; You may be able to send headers and cookies after you've already sent output
    5 S2 R4 N; B! x1 ~
  215. ; through print or echo. You also may see performance benefits if your server is
    . c( l' ?! B$ ?
  216. ; emitting less packets due to buffered output versus PHP streaming the output( U  E+ `: L6 |8 W
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    - I6 f0 t& D* `% v* D
  218. ; reasons.' D1 L7 O- m2 U
  219. ; Note: Output buffering can also be controlled via Output Buffering Control( E9 Z( `# ?3 W9 F/ [: n7 m+ o% m
  220. ;   functions.
    0 p- z, l# k1 `' w9 f
  221. ; Possible Values:' H) L+ d. v) }' E" s5 C) K& U
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)/ j/ i  z' ?% a* s- ?! Y- ^# n
  223. ;   Off = Disabled
    8 x9 c/ j$ y4 l+ d; W
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    * m3 T/ G! q. C
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI& n" }. E' v/ P: {# n
  226. ; Default Value: Off
    2 Q9 y9 |0 i) E( T* v! D) i0 w
  227. ; Development Value: 4096* d& }* q9 D. @5 n+ }* R4 t7 H
  228. ; Production Value: 4096
    5 y5 m  X# k/ h0 Y% g
  229. ; http://php.net/output-buffering
    ( S  Z3 e, n- F2 J) T6 H. t
  230. output_buffering = 40966 c- b( E5 v: g; U: M1 g+ H

  231. 1 A$ A" K8 f4 t9 ~! C8 E4 \( j! @% b
  232. ; You can redirect all of the output of your scripts to a function.  For/ m4 A( h* o- Z- O$ ?
  233. ; example, if you set output_handler to "mb_output_handler", character
    7 T% K* a! E/ @, G9 O1 C0 X
  234. ; encoding will be transparently converted to the specified encoding./ N& Z% s) l! s* a
  235. ; Setting any output handler automatically turns on output buffering.8 Q) y! X& A8 @8 h# ~. a
  236. ; Note: People who wrote portable scripts should not depend on this ini2 T# g% a) Z, ?
  237. ;   directive. Instead, explicitly set the output handler using ob_start().5 |( j7 Y0 N1 n+ }
  238. ;   Using this ini directive may cause problems unless you know what script: Y) P; |7 u$ @/ M9 m8 _. {
  239. ;   is doing.
    " c8 I8 \! v) a& a; R
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    / _. ]- l. p/ l  f
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    $ H3 D! j. n# J) a- T! L! {
  242. ; Note: output_handler must be empty if this is set 'On' !!!!: a; z# f* W4 W
  243. ;   Instead you must use zlib.output_handler.
    0 z$ F! O+ L0 g4 _+ k
  244. ; http://php.net/output-handler& x: M0 {% m) f8 }9 v9 M" X1 n
  245. ;output_handler =* _- }; ?+ P7 B( m' q2 B. J

  246. ( W. v1 J+ }: e" @$ K# G7 _
  247. ; Transparent output compression using the zlib library5 w6 S" {9 e+ S& W3 o6 B5 ?
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    & r# x% A( e: p5 m: x  `% v
  249. ; to be used for compression (default is 4KB)7 T5 d& _; u8 g4 B8 _
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP' ~! }; |' [+ X" D# D
  251. ;   outputs chunks that are few hundreds bytes each as a result of9 x& O5 {8 y4 e& M+ s* v. d
  252. ;   compression. If you prefer a larger chunk size for better  h) Z6 K0 P; Y1 t6 i9 n, A
  253. ;   performance, enable output_buffering in addition.: y9 A* H$ N- `2 k% e- G  Y7 M: n
  254. ; Note: You need to use zlib.output_handler instead of the standard
    $ D( v" \: f7 n/ c" f! e( R
  255. ;   output_handler, or otherwise the output will be corrupted.* k8 @3 [% F( L0 U$ k3 T/ [
  256. ; http://php.net/zlib.output-compression
    6 g0 ?# G' I  F
  257. zlib.output_compression = Off' X% s$ O6 ^6 e% _5 e- H3 w

  258. , v6 q: j) L0 \* w" x) a' A0 S
  259. ; http://php.net/zlib.output-compression-level
      b" s5 h$ o2 M" u0 x
  260. ;zlib.output_compression_level = -1
      s+ C3 ?. Q3 r7 E4 P
  261. 1 O1 u: h  B6 V) q
  262. ; You cannot specify additional output handlers if zlib.output_compression+ z5 {3 p% E* y1 k* `
  263. ; is activated here. This setting does the same as output_handler but in
      K$ n% i& E3 e& ?/ |7 S
  264. ; a different order.
    % \. J& V" j, L- {% C
  265. ; http://php.net/zlib.output-handler/ y; G$ C7 @# S" s8 m' f
  266. ;zlib.output_handler =% A4 V& M  C" s4 D- {( C/ g1 t

  267. ) [9 k* d3 Z* ?
  268. ; Implicit flush tells PHP to tell the output layer to flush itself" k4 S, Y' a' ~0 _" Q4 v* n
  269. ; automatically after every output block.  This is equivalent to calling the
    7 i8 J* n% c; }* S# K+ ~
  270. ; PHP function flush() after each and every call to print() or echo() and each
    $ Z! `# x4 j6 o2 V( v5 [, e# m
  271. ; and every HTML block.  Turning this option on has serious performance) M/ R6 J: J& D/ E( T3 [3 i$ z
  272. ; implications and is generally recommended for debugging purposes only." v  [( t) j/ [
  273. ; http://php.net/implicit-flush
    " C5 j$ U2 D3 i2 Z/ |
  274. ; Note: This directive is hardcoded to On for the CLI SAPI7 o6 r+ d: j- q0 V, A
  275. implicit_flush = Off
    # w/ b& C# q- Q

  276. . p; P# u7 x! `1 J6 t
  277. ; The unserialize callback function will be called (with the undefined class'
    0 I7 P" E6 s/ g! O. ~& S
  278. ; name as parameter), if the unserializer finds an undefined class
      n$ D* [, G2 `1 d6 f# {. p5 a
  279. ; which should be instantiated. A warning appears if the specified function is  f) f+ [2 r# e% A% m& k" q8 s
  280. ; not defined, or if the function doesn't include/implement the missing class.- d: W1 X! H1 e1 p8 ~/ v( x
  281. ; So only set this entry, if you really want to implement such a& D+ G9 J! `0 q9 n- r, Z
  282. ; callback-function.
    , f" i* ^% v  q2 B9 w8 f1 y4 a9 S% Y$ I
  283. unserialize_callback_func =
    6 U# p; W/ B! a2 b$ W) k
  284. ; [' o: I6 U* Y* V& |& x
  285. ; When floats & doubles are serialized store serialize_precision significant  |$ p! ?4 w7 Z' q, C$ F
  286. ; digits after the floating point. The default value ensures that when floats
    4 t! c7 |- S2 }5 I) b7 ?
  287. ; are decoded with unserialize, the data will remain the same.4 }% w# |! o& K. s" v
  288. serialize_precision = 17: k+ e3 l4 ~5 k$ R5 r: X: y% k

  289. 1 i' y( W1 u7 r% G' H4 X+ g: U0 ]
  290. ; open_basedir, if set, limits all file operations to the defined directory
    1 W8 h1 u, n( }
  291. ; and below.  This directive makes most sense if used in a per-directory
    ! u5 g# ?* @& _, z6 M/ ?
  292. ; or per-virtualhost web server configuration file./ Y( b2 U9 C4 K0 T) W; E  T
  293. ; http://php.net/open-basedir6 ?. e  |8 i* d; H! Q2 H( R1 r, e! R
  294. ;open_basedir =
    . \! |- ?: F( c! {
  295. ' Y4 F  ^$ K! n+ @' l2 ^* B
  296. ; This directive allows you to disable certain functions for security reasons.
    # e% n: @' B7 ~- r
  297. ; It receives a comma-delimited list of function names.
    7 |1 \" B" Q4 c7 Y2 q
  298. ; http://php.net/disable-functions
    ; u3 F2 x1 p& e, ]% B
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru& a7 h3 w  }/ x

  300. : ~( X" ~( j* H9 z( L3 ]7 ]
  301. ; This directive allows you to disable certain classes for security reasons.
    ) Q2 ]( r& B- w' s+ ^
  302. ; It receives a comma-delimited list of class names.
    4 V4 ~3 f3 r) O- e" m8 J/ _1 ?; g
  303. ; http://php.net/disable-classes, I* R, a' j' g$ B+ m  p% W
  304. disable_classes =
    ' m0 C, f8 N( Z5 {& l2 I0 o" @; a

  305. # x- g; r. V. ?
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in  ^5 p& m+ L5 O6 @! |
  307. ; <span style="color: ???????"> would work.8 V! s" l# N0 g
  308. ; http://php.net/syntax-highlighting/ e, `7 V. d1 O) a  i8 K$ N
  309. ;highlight.string  = #DD00009 @2 J8 ?# j1 \$ K+ g: R5 G+ ?. ~
  310. ;highlight.comment = #FF9900
    ; U3 V+ w# U  t6 v! O+ ^, ]
  311. ;highlight.keyword = #007700
    . b/ b7 `' ]: [6 P& M
  312. ;highlight.default = #0000BB0 V& k+ G' s* I  T% N5 k
  313. ;highlight.html    = #000000
      H# s1 _5 D- c; ^7 o* z: @+ b
  314. 1 D1 j% e6 f1 \: a# y5 l# q' \
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    " Z6 L9 s. }, ^* @
  316. ; the request. Consider enabling it if executing long requests, which may end up
    , R1 A1 p* v/ e* b5 R
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior# U! I+ @# F+ ?. X- j
  318. ; is to disable this feature.: o  t2 Z7 a$ Q6 O7 k( _$ C
  319. ; http://php.net/ignore-user-abort
    ( M$ M6 o1 C/ g& a& D+ A4 G
  320. ;ignore_user_abort = On
    3 |: u( m/ |9 S$ Q) c1 ]

  321. 2 [' T& o: B' T" G( T' X5 V
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    + O  L8 h5 s0 m; W6 O- m, |; A0 j
  323. ; be increased on systems where PHP opens many files to reflect the quantity of8 U; w+ Q! p& a5 g$ x
  324. ; the file operations performed.2 P6 k7 ^) p5 y$ k9 `0 N
  325. ; http://php.net/realpath-cache-size+ p( l; ?, \6 J' q
  326. ;realpath_cache_size = 4096k
    ' Y. H8 }! ~$ i) c- l

  327. ; W" \5 z0 |0 u' A) _5 q
  328. ; Duration of time, in seconds for which to cache realpath information for a given: y5 ^9 [( e( d6 y  n
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    5 |" O' f% t/ i
  330. ; value.) P2 B6 T3 b* l, j+ G3 h
  331. ; http://php.net/realpath-cache-ttl
    % m( Z! j& _3 L3 S
  332. ;realpath_cache_ttl = 120
    0 U2 K" K3 u/ _+ _* R; n$ o6 b" }) i
  333. * y9 z  R9 W7 b6 S6 Q9 D3 S- I
  334. ; Enables or disables the circular reference collector.0 l: H. I: G5 Z0 y+ H+ y$ g7 h6 V
  335. ; http://php.net/zend.enable-gc7 F! e) q, m! k  d4 l; }
  336. zend.enable_gc = On
    ! H4 \, P9 F& ^% h5 T
  337. ) g* P+ ~  |5 M* R  }, V2 @, `8 K
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    9 P5 b! U4 V% B5 z& Y4 {6 g. L: a
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    , x$ ^: G4 S% D$ S& g7 I& e
  340. ; encodings.  To use this feature, mbstring extension must be enabled.1 W& f% i# ^. T3 q4 w9 I( o7 a
  341. ; Default: Off
    7 o3 {% Y9 A3 X. r1 O
  342. ;zend.multibyte = Off3 B* L. N$ B9 S* K3 H' q% `0 b/ l8 x
  343. 9 }: w5 A- M% x: u& ?" [* ^+ @; `
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    # o( A& d0 Q5 C) d; }9 B! I6 ?! Z
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.1 ?* X6 o6 \, s
  346. ; Only affects if zend.multibyte is set.
    4 o& e$ t' X: t5 Y
  347. ; Default: ""& s* |* n8 u* e9 ?! f0 _. e) ^. p
  348. ;zend.script_encoding =" y/ u( n" Q* g8 P. T
  349. , g. d  f- u8 z  Y
  350. ;;;;;;;;;;;;;;;;;
    5 X1 M% c8 K  A5 s
  351. ; Miscellaneous ;
    3 e) T" `# }# y2 }# l$ Z
  352. ;;;;;;;;;;;;;;;;;2 C" Y5 G/ P/ w1 d6 `# K
  353. ) F! p; F" `+ m% |' Q
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    & P  f9 x& O6 k9 n9 M: e, T
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    $ `1 c3 _4 t" c! C
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    " Y( B. x# ?# S2 W* l+ z
  357. ; on your server or not.+ t( j% a! c0 ~# @0 M& i
  358. ; http://php.net/expose-php
    ( x/ ]" S7 l7 R9 |; e7 M
  359. expose_php = On. r% s( [5 O$ F* i

  360. + x8 A. n8 ?. N- H' {' }
  361. ;;;;;;;;;;;;;;;;;;;- J% o$ r/ \" d; V0 M1 \
  362. ; Resource Limits ;
    9 r6 M  p2 I% d: x0 E% ?
  363. ;;;;;;;;;;;;;;;;;;;, ^1 u3 j: H6 w) Y

  364. " F0 ^3 d9 g4 M- w. X- |) \
  365. ; Maximum execution time of each script, in seconds
    % R  [3 {/ a* j9 a
  366. ; http://php.net/max-execution-time
    1 ]" J  |1 Y; W5 i- d# p. {% u- S$ n
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    4 p- x7 F4 L$ g% O9 b2 m; D
  368. max_execution_time = 300
    : d' p+ m4 e4 v
  369. 3 p% a' `! \8 D1 l2 m1 ^
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    ( p  G4 p( ^3 t7 b  N0 b% c  z/ Y
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly" x; c6 ^6 T9 l8 y( u" A2 ~) y
  372. ; long running scripts.
    2 x) Y" \1 b* h3 d" u& o4 q
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    : [7 U8 }, W) k6 U! C) X
  374. ; Default Value: -1 (Unlimited)
    ) A. ]0 ]0 x) \/ [) A
  375. ; Development Value: 60 (60 seconds)
    2 `3 R/ C& K: K7 o
  376. ; Production Value: 60 (60 seconds)
    3 G' X- X/ v1 r8 o
  377. ; http://php.net/max-input-time# j+ z/ f: Q& \: M2 E9 ^7 A
  378. max_input_time = 60
      C9 C0 \7 n$ x( h9 y* t
  379. # W2 k% e. k2 h6 ~
  380. ; Maximum input variable nesting level
    # F! a, U/ v$ U# m
  381. ; http://php.net/max-input-nesting-level
      [' T6 n# b9 g9 x2 Q: d
  382. ;max_input_nesting_level = 64
    4 Q! Y0 n" K" m7 F: Q
  383. , N2 V% [4 L9 c; l
  384. ; How many GET/POST/COOKIE input variables may be accepted
    6 f7 M2 U1 ?2 s- l5 V" w
  385. ; max_input_vars = 1000
    % d6 J; O6 f* j- ~
  386. 8 r0 k" K/ {' z$ B3 R* O6 R$ }
  387. ; Maximum amount of memory a script may consume (128MB)! V3 _% t! b$ _5 B2 ?" G6 p
  388. ; http://php.net/memory-limit* P. T, [9 a0 x4 P
  389. memory_limit = 128M
    0 A; L% y" d$ |9 X: D' C
  390. - I9 ~6 o) f. H- m& q1 w
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ! O0 m# S+ b5 @
  392. ; Error handling and logging ;
    0 Q5 G0 B8 i# x, Y0 l- K/ K. r
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    4 t' k  b9 [( e+ F

  394. / L+ S3 @( i( F8 v
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    & w" s- W, k, n  V
  396. ; it to take action for. The recommended way of setting values for this
    , {" ^4 [! {) E
  397. ; directive is through the use of the error level constants and bitwise  h, I# [, G" \' `  x- Q
  398. ; operators. The error level constants are below here for convenience as well as) p- H3 x+ r* Y- Y9 o5 @  N3 h# y
  399. ; some common settings and their meanings.
    : O6 c. U5 w0 w2 p. A  Z
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    3 `0 y2 K- Z7 y. r- e* l
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
      D5 X& D2 m( F  _+ r
  402. ; recommended coding standards in PHP. For performance reasons, this is the' T* W  P2 C1 e3 E( S+ y  r
  403. ; recommend error reporting setting. Your production server shouldn't be wasting% v1 |- \0 P$ r0 D9 G, H8 v; X. J
  404. ; resources complaining about best practices and coding standards. That's what) h& I+ d7 m# B3 N# O( x
  405. ; development servers and development settings are for.8 u  U& @# Q' u" M; o
  406. ; Note: The php.ini-development file has this setting as E_ALL. This% \- R' O6 f$ w: K0 P  m* w& I
  407. ; means it pretty much reports everything which is exactly what you want during# R* R0 ^/ G+ U$ t
  408. ; development and early testing.
    3 J, k7 U% J; _( `
  409. ;
    + ^! r( W* @! q$ [& m
  410. ; Error Level Constants:+ G: L% m: ~- O
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)4 S5 o; C; M2 ^/ d- I
  412. ; E_ERROR           - fatal run-time errors' F5 Z9 e# H+ Y5 {( m* g/ J
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    6 e$ n, T/ P! J7 w( @
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    + A6 h0 C6 C3 K: a- \- q) s
  415. ; E_PARSE           - compile-time parse errors! z5 e; g/ R* P, g" n
  416. ; E_NOTICE          - run-time notices (these are warnings which often result* g8 u7 O# E4 h4 G4 }* [
  417. ;                     from a bug in your code, but it's possible that it was
    ( j  v/ O/ {7 w( E1 D
  418. ;                     intentional (e.g., using an uninitialized variable and
    5 m' v9 t1 d& p+ q
  419. ;                     relying on the fact it is automatically initialized to an& u0 s* D8 e8 K% n8 }- R' L
  420. ;                     empty string)) k) S. k5 ^0 z+ ~3 y6 m& R
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    9 F- G! u9 R2 ?$ G% e6 r+ [; [
  422. ;                     to your code which will ensure the best interoperability/ O) T  }. n: ^& d) ?0 f% G' ^
  423. ;                     and forward compatibility of your code
    5 Q' V; M  G4 c6 d
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    / I8 m0 f2 }) z" `9 q
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's' O1 O& W& p: d  o/ P! x
  426. ;                     initial startup9 E3 D* L& x2 M5 ^1 m8 M* q
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    2 o9 `) `# f5 ~& o5 H! v; [
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)1 w* i3 J( i7 [* Q
  429. ; E_USER_ERROR      - user-generated error message8 u0 ?6 b0 W$ ?2 x6 K, `* f) {
  430. ; E_USER_WARNING    - user-generated warning message. I& d+ l! K) ]. a3 i* X
  431. ; E_USER_NOTICE     - user-generated notice message* Z$ B; M$ r+ H: E
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    $ G4 i' C' n1 n5 X7 u" a7 {% W& i
  433. ;                     of PHP& _8 K* M' b3 ?' x7 D- r4 y* c
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    5 ?8 z- j& E( {) z0 p% y
  435. ;% x/ P. r( H! z5 I7 N
  436. ; Common Values:; u! O6 J+ x9 [* ?4 r( \! d* ]2 E
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)) U1 J0 H/ {- }& N# s( y0 f3 z
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)1 o8 U+ w; c. {" b3 a
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.), B8 d$ L$ t6 E7 {. V
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    : v  L# F$ Q/ [- R
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ; m& X! R0 h; s  a1 q( |: t
  442. ; Development Value: E_ALL
    + s0 P, |2 ^' I' [
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT! z$ Y, V! H2 p
  444. ; http://php.net/error-reporting$ ]/ e4 Y  A" |/ u4 W% ~& }$ a3 l
  445. error_reporting = E_ALL & ~E_NOTICE
    8 L- o3 K5 j4 \% A2 ]; L

  446. ) d8 i& a0 O7 w% n
  447. ; This directive controls whether or not and where PHP will output errors,
    0 E( T' M4 N- F# T( i4 S0 \
  448. ; notices and warnings too. Error output is very useful during development, but
    : R- `) d9 [4 [; K  O. E  H, _
  449. ; it could be very dangerous in production environments. Depending on the code
    ; g) e8 k- Q4 ^$ U2 Q* H: r
  450. ; which is triggering the error, sensitive information could potentially leak
    4 \- M- ?1 V7 {0 x# s
  451. ; out of your application such as database usernames and passwords or worse.6 E, z0 O3 F5 U: G  B" o: ~
  452. ; For production environments, we recommend logging errors rather than
    0 H9 y& C+ w8 `
  453. ; sending them to STDOUT.
    5 i0 q9 S% I+ n2 c1 t: l* m
  454. ; Possible Values:
    # d; d8 O; z( h2 b* h5 B8 i
  455. ;   Off = Do not display any errors
    / w5 ?' }1 e, S& S( J
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)7 i8 ^/ ]2 f) a2 K
  457. ;   On or stdout = Display errors to STDOUT
    3 V8 ]+ ^! t- a
  458. ; Default Value: On
    7 m) q3 \; U4 T* X- Z
  459. ; Development Value: On6 @/ |# |# k' R5 p  m9 g, E! E
  460. ; Production Value: Off
    3 |: h5 P! y8 C% _, d
  461. ; http://php.net/display-errors  `; S% X4 @9 N  h3 D; R; z
  462. display_errors = On
    1 @( O, A5 Q- V6 j( m3 Y& U) i

  463.   g$ }. V% c2 c# s
  464. ; The display of errors which occur during PHP's startup sequence are handled
    / t; s/ g/ v& A, \' j$ x% x, s
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    9 {- \# r8 t- \( Z' S
  466. ; errors from clients. Turning the display of startup errors on can be useful in7 T2 G+ g6 I) R
  467. ; debugging configuration problems. We strongly recommend you( ^1 C# K0 H9 S  ?2 l% G
  468. ; set this to 'off' for production servers.' }. U' y9 W6 {( g  U
  469. ; Default Value: Off1 B- S$ t) L5 _. @
  470. ; Development Value: On
    0 R2 I% f1 C  E* G! [0 Y
  471. ; Production Value: Off, Y4 x& B) Z2 A9 P+ B3 h8 c& r' [
  472. ; http://php.net/display-startup-errors
    8 Z" b( i. v: J; _. x! M
  473. display_startup_errors = Off
      Q- f6 F/ }: Z$ c, [

  474. ( Y: e0 o/ t6 `+ ]: {9 Y( n' Y! O
  475. ; Besides displaying errors, PHP can also log errors to locations such as a  i( X6 K6 o* Q: B" P
  476. ; server-specific log, STDERR, or a location specified by the error_log  D  o* X/ I' q& P# B& \4 C$ x
  477. ; directive found below. While errors should not be displayed on productions
    9 N# H/ e! r* N9 b
  478. ; servers they should still be monitored and logging is a great way to do that.( M$ B2 N/ k: n7 v4 p: y; ]
  479. ; Default Value: Off
    4 u0 C5 T2 s" {# y: [
  480. ; Development Value: On
    + i. s: @. J5 L+ v% h
  481. ; Production Value: On
      Q# s9 T2 |  I" j+ U3 c
  482. ; http://php.net/log-errors
    3 y0 O+ u% `( V& Q5 c6 P, E
  483. log_errors = On+ s2 k; Z& t: b5 s' @$ Q: ]2 v6 D$ j

  484. 4 x4 p( d1 V, t. ~2 [5 v! `6 s
  485. ; Set maximum length of log_errors. In error_log information about the source is
    ' ~1 p8 y7 I) c3 B' c% C# K) w
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.6 t" a: ?  y9 V0 Z; V
  487. ; http://php.net/log-errors-max-len
    3 L* G: F. t" L+ r; d- T
  488. log_errors_max_len = 1024/ e: i) P4 D3 z
  489. / b$ o, e" c2 M+ C
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same1 Z) X, [  a& d4 i
  491. ; line unless ignore_repeated_source is set true.7 |+ n2 J. T1 a6 d
  492. ; http://php.net/ignore-repeated-errors- H% H4 L! E' [; V% R6 f, p/ J
  493. ignore_repeated_errors = Off
    / X2 ^8 `% v# i9 x. }8 c
  494. ! _5 U& F* r! L- K4 o: U2 v) U
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    5 s% Z/ ?  u: k+ s3 n2 l$ G
  496. ; is On you will not log errors with repeated messages from different files or
    , a8 q1 A4 b2 R3 e# ~
  497. ; source lines.
    + v1 m3 D+ m# B
  498. ; http://php.net/ignore-repeated-source
    * d  B, }6 [& i: q( d4 N  C1 N5 v
  499. ignore_repeated_source = Off/ l7 v, N4 i) y; v3 ~! @( m

  500. ( g% _& j- h- L& [( z
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on" [! g: |8 `* u. Q+ Z7 y
  502. ; stdout or in the log). This has only effect in a debug compile, and if. k, N  W, s# x% @. Z) ?5 F
  503. ; error reporting includes E_WARNING in the allowed list2 Q; I  X: ?9 j6 F; B$ y$ M# @# t
  504. ; http://php.net/report-memleaks8 Q5 S! I. M- Y: r2 Z
  505. report_memleaks = On- A  @- ^: s! c; K. I

  506. 4 \2 |, u+ s4 x) V, W: m7 U
  507. ; This setting is on by default.6 y& y3 q& G+ I: c$ N7 R
  508. ;report_zend_debug = 0, t8 k. k3 F& d: s- O

  509. % u; o( @- D: B; X# z
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value$ @% T/ v5 p; P! D
  511. ; to On can assist in debugging and is appropriate for development servers. It should9 e8 f- d: w! L0 t4 s
  512. ; however be disabled on production servers.6 q& ?% g! N5 H3 o8 r7 A, [
  513. ; Default Value: Off
    % g! Y7 i5 x4 [$ p
  514. ; Development Value: On5 |, Z  M2 v+ _5 {) a
  515. ; Production Value: Off
    6 D( T! ^6 f3 a2 R/ ^# F/ s& P$ @
  516. ; http://php.net/track-errors
    9 J/ _/ B9 p$ Q! s) m) Q
  517. track_errors = Off
    ' L/ i5 K; c, I. B) d1 J5 M

  518. / o0 Z6 v4 T; s2 b( ^0 _% A
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    6 ~* `" r: C+ ^& q! u/ ~( S
  520. ; http://php.net/xmlrpc-errors( E% ?% I4 N. b. g. g
  521. ;xmlrpc_errors = 0
    1 a9 _  i( O5 q. r  n9 a

  522. # M/ t! {& e/ W+ A0 R
  523. ; An XML-RPC faultCode
    0 O9 {3 T( c  E6 K6 d, }
  524. ;xmlrpc_error_number = 0% U2 P0 w/ Z" g2 d2 Z

  525. ; X3 i9 b: d# g% t
  526. ; When PHP displays or logs an error, it has the capability of formatting the7 K3 E" L$ w* ^
  527. ; error message as HTML for easier reading. This directive controls whether
    # i" m0 ]  U- V6 T! g: j
  528. ; the error message is formatted as HTML or not.
    % [0 e9 Z1 ]+ o$ ~8 n: t' M
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    8 y# U- N. X( |- n. l! r
  530. ; Default Value: On) d+ H3 s  }" a$ c* t, |3 b( Y* q+ H0 d
  531. ; Development Value: On
    7 \8 b: r- Y6 I: C5 x, z
  532. ; Production value: On
    . k, j0 l: O" I
  533. ; http://php.net/html-errors
    - i3 m+ L2 i+ G8 a& Z
  534. html_errors = On+ W0 L" b5 M( j* e" D* _
  535. ) ?9 V' z; }3 |5 k  Q: l
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP0 P6 J9 M$ ]# h% K
  537. ; produces clickable error messages that direct to a page describing the error# U& |' Y2 c+ a- j
  538. ; or function causing the error in detail.
    3 p/ E. a% x8 E$ m  S; ^& M) Z8 E! A
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    / @1 ?- c( N6 v  N
  540. ; and change docref_root to the base URL of your local copy including the  i* w) R$ Q& X
  541. ; leading '/'. You must also specify the file extension being used including, z8 a3 @, b6 ^8 m! n0 K
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    % D3 p9 t2 _& Q( ]
  543. ; case no links to documentation are generated.; ?2 x( I) D+ p' u
  544. ; Note: Never use this feature for production boxes.# N+ k+ ]) H  x8 X7 H& N! O! K
  545. ; http://php.net/docref-root$ j3 b/ u+ l. y+ Q+ O7 z
  546. ; Examples& M7 ~4 C7 n2 f0 x3 H" X
  547. ;docref_root = "/phpmanual/"
    5 r# I3 O0 p# {0 M6 T/ T2 \, w) b) J

  548. : F- @+ |4 G! h6 O, f: U1 T
  549. ; http://php.net/docref-ext) d" Q- X' ~3 G5 i! q1 S
  550. ;docref_ext = .html, M; N" w. L- t* _5 l

  551. ; f2 Z+ w0 `! ?4 P" K
  552. ; String to output before an error message. PHP's default behavior is to leave+ O  B* e/ G+ _7 w1 g6 G
  553. ; this setting blank.
    * p0 S5 L+ [$ n0 {: \9 d) o: z. E, e
  554. ; http://php.net/error-prepend-string
    & o  I/ W% z+ S) A) s& N8 z
  555. ; Example:/ A- F( ^6 b& @9 |! S6 P
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
      t8 X5 ~6 ]3 o% j, h) ?+ j
  557. 9 o( A8 u0 u3 F# s/ ?) v! e( z
  558. ; String to output after an error message. PHP's default behavior is to leave0 [1 f/ E) u$ v# P  S$ t
  559. ; this setting blank.
    . V: y5 C$ Q! ^% y0 q
  560. ; http://php.net/error-append-string3 _% j8 H2 w, R* B: Y& ~, X3 V
  561. ; Example:
    # h: Y; }2 f" v4 r0 E/ W" I9 g: q
  562. ;error_append_string = "</span>"3 T$ w, A1 k% k- {1 g
  563. 0 D8 @" ?) u5 J' r
  564. ; Log errors to specified file. PHP's default behavior is to leave this value# s% m' G4 H, N! ~2 Y
  565. ; empty.
    " v2 g; @- u3 }" \6 N& V
  566. ; http://php.net/error-log
    8 k! Q  P; c: w/ x- P  x
  567. ; Example:) f$ N& M5 l4 i0 L3 U8 a
  568. ;error_log = php_errors.log4 F* J5 T( y- n' _) S+ f
  569. ; Log errors to syslog (Event Log on Windows).' S! T, ^  i8 r2 e2 ^5 v' T6 z4 ~: A( f
  570. ;error_log = syslog
    6 F$ e/ ?+ d* s' j; |
  571. ' D; \, \6 i: i! n- ?
  572. ;windows.show_crt_warning3 z# p/ E$ [& y2 n
  573. ; Default value: 09 S  _/ j: m1 J
  574. ; Development value: 0
    - @8 t& a- p  M% J
  575. ; Production value: 0* h/ v7 p* X# V9 i# U
  576. : s$ H+ R6 Z% ?' E
  577. ;;;;;;;;;;;;;;;;;
    7 l# U: K( h, H! x+ a
  578. ; Data Handling ;# y% h# a. O( m$ H/ ^2 m6 s
  579. ;;;;;;;;;;;;;;;;;8 S* h1 n( U% \" Q( M) l8 T( e; H% Q+ |

  580. ( c# _2 ^$ N" L5 f( ?3 l4 S
  581. ; The separator used in PHP generated URLs to separate arguments.0 g6 W) j5 A1 m8 }5 c
  582. ; PHP's default setting is "&"." T1 ^, ~* }3 V+ V
  583. ; http://php.net/arg-separator.output
    % U+ b/ Y5 T4 f
  584. ; Example:6 r# [& q0 t" n9 }, T3 _; C
  585. ;arg_separator.output = "&"( }9 v* Q/ e2 f1 o) e" s2 [
  586. . {5 s: o' X% a( v" H
  587. ; List of separator(s) used by PHP to parse input URLs into variables.* k5 R; v! \( W9 ]
  588. ; PHP's default setting is "&".9 D* R( C6 p2 H
  589. ; NOTE: Every character in this directive is considered as separator!4 t% _: Z! ]$ N* o0 ?
  590. ; http://php.net/arg-separator.input
    # i/ u. D, c  R/ ]* p3 i
  591. ; Example:( Z6 i5 `) T, B8 @7 }- f- C' A
  592. ;arg_separator.input = ";&"
    4 H) d- r. v8 W0 Z1 R* P
  593. : y' u2 f, Y, D" n* n$ c; k& Z( X
  594. ; This directive determines which super global arrays are registered when PHP8 \: m( y, A2 S. M' x( W8 N" Y! L: e
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ! Y, H* ?, i( Q& [8 j8 \
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    * \* J0 \4 E# m9 x( w  T8 f
  597. ; paid for the registration of these arrays and because ENV is not as commonly; Z% ?3 K# ^$ S; M2 z5 D; b! h3 g/ [
  598. ; used as the others, ENV is not recommended on productions servers. You
    & C' b4 B$ ]9 L3 r& g0 Y, R
  599. ; can still get access to the environment variables through getenv() should you
    ' A$ {4 b$ R; e6 P5 K' h
  600. ; need to.
    6 j: _9 H! A) H' n
  601. ; Default Value: "EGPCS"! a/ O+ t1 h4 k/ b
  602. ; Development Value: "GPCS"& r" L- Y& q4 {0 U/ H" P# D
  603. ; Production Value: "GPCS";
    % E/ j3 r5 n) y* J: k" h! u7 e
  604. ; http://php.net/variables-order
    1 C0 ]% k; N% R/ b6 z' x% n: E
  605. variables_order = "GPCS"
    + ]$ l* E( |- H$ p
  606. ) b) v9 n3 X' t" R5 T% k
  607. ; This directive determines which super global data (G,P & C) should be. n9 o9 N9 k7 {' d7 e
  608. ; registered into the super global array REQUEST. If so, it also determines
    : H6 b" v* c3 m
  609. ; the order in which that data is registered. The values for this directive9 e5 y5 b+ V3 X
  610. ; are specified in the same manner as the variables_order directive,
    , z6 M( U6 E6 s# V% b
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
      H4 b3 t. M% r! a7 g
  612. ; in the variables_order directive. It does not mean it will leave the super
    ( p- I/ P( ^) _
  613. ; globals array REQUEST empty.; H9 T' \* j" A6 k
  614. ; Default Value: None* E% W$ F9 e5 a$ T+ q
  615. ; Development Value: "GP"
    7 \2 Z8 m- _: ?, E) s! i
  616. ; Production Value: "GP"
    2 j0 G6 ~) g3 `2 b
  617. ; http://php.net/request-order
    ' ?3 c  f1 z6 ?
  618. request_order = "GP"
    & s' D4 h& i0 |. s6 a/ q: ^+ d

  619. * s  t. c& b; G# |+ {
  620. ; This directive determines whether PHP registers $argv & $argc each time it6 h; n  [, P' N: D5 c! P4 q
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script. W( R4 N! n  Z3 _
  622. ; is invoked. $argc contains an integer representing the number of arguments
    5 i5 h3 N6 N$ |" F' N
  623. ; that were passed when the script was invoked. These arrays are extremely# e' a. d) ^+ S( A; Z. A+ w
  624. ; useful when running scripts from the command line. When this directive is
    ) v7 n! Y8 j& l2 Z+ t5 s. P
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    3 @% J- a; Q0 W; }" q
  626. ; a script is executed. For performance reasons, this feature should be disabled
    4 V0 X8 C; T2 Q
  627. ; on production servers.
    * x' D, E# o$ `4 B$ v
  628. ; Note: This directive is hardcoded to On for the CLI SAPI' z7 \* a1 }/ b& b+ W7 u
  629. ; Default Value: On
    - {+ o. q7 o, I$ L% n; p5 H
  630. ; Development Value: Off
    " V& F3 r8 ~( x& n- W$ R# w: p/ f
  631. ; Production Value: Off
      V4 Y4 `" m) @! I6 M7 J! m
  632. ; http://php.net/register-argc-argv' a+ {1 Y2 A3 Q
  633. register_argc_argv = Off
    7 n# k$ S, O5 H

  634. " s  I3 \* P5 V. T( b9 y- Z3 f
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ) p% m3 o0 \+ f' q$ b! G* [( A! i
  636. ; first used (Just In Time) instead of when the script starts. If these
    0 X( ^, ^6 T5 i) o8 J# _3 l
  637. ; variables are not used within a script, having this directive on will result
    ' B0 b: @& P% _$ U6 T/ X& h
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ( u. ^- l# X  D. B5 c6 w
  639. ; for this directive to have any affect.
      G' i. t9 Q- o  N  F& T
  640. ; http://php.net/auto-globals-jit
      b. Y% D, i* g/ k/ P
  641. auto_globals_jit = On
    / [$ _4 c1 P! j8 Q9 w
  642. * c" e7 E7 w. e' B6 i$ P1 N. z+ s) C
  643. ; Whether PHP will read the POST data.2 _) M' j1 W5 D) b& o3 X9 }
  644. ; This option is enabled by default.. Y! ^# {7 a& P, D" f4 F; @. b
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST4 G1 ^* B; ^" A& ?# J; y) h
  646. ; and $_FILES to always be empty; the only way you will be able to read the( D7 x, z* P8 F; @4 [! Y) `: K% w
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    , |5 ~4 V# \3 `2 u# h
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.3 n2 v  |# n: X
  649. ; http://php.net/enable-post-data-reading
    . j+ a6 V: b- _8 @
  650. ;enable_post_data_reading = Off
    6 R; y# b. f$ ]- ]3 E/ I7 B

  651. # b# i. H. E3 \& k6 @0 r
  652. ; Maximum size of POST data that PHP will accept.& ]. C9 e- D% m# {
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ' E" e0 S1 H) U; q# g9 E
  654. ; is disabled through enable_post_data_reading.
    ! b9 x% M3 F$ x* ?2 E
  655. ; http://php.net/post-max-size
    + M% t/ ^! ~4 S
  656. post_max_size = 50M
    * d8 o. t6 ~& o, `, n/ C
  657. & K7 @4 [5 E% r
  658. ; Automatically add files before PHP document.
    " _- a1 P' |( s% ^
  659. ; http://php.net/auto-prepend-file
    8 D7 P$ ^4 H. S* p0 @! f
  660. auto_prepend_file =% [+ l3 w9 |* X+ T/ K( y! c

  661. 7 G& G2 `  W* B  X" ?2 \
  662. ; Automatically add files after PHP document.
    & k5 m( e( V, l+ c  Q/ r, m
  663. ; http://php.net/auto-append-file
    ( @  q% L7 j" q+ p3 P6 y$ ]$ \
  664. auto_append_file =, G) a5 e3 w+ U, K( U, Q. G0 ^

  665. 6 u  A) H$ z6 t8 `' Q, d; y+ _
  666. ; By default, PHP will output a media type using the Content-Type header. To0 B3 D! }4 N+ R9 U- w$ a
  667. ; disable this, simply set it to be empty.
    , z+ ?8 G! ]' I$ k: [4 B# G
  668. ;
    / h# ~& R: M; q+ B
  669. ; PHP's built-in default media type is set to text/html.
    ! r7 m5 z, D$ b+ }/ Q
  670. ; http://php.net/default-mimetype% M" |# r* H3 R: L8 b
  671. default_mimetype = "text/html"3 A7 [8 c, D3 a; Y/ e; a
  672. % h$ W3 e7 b/ O1 A1 ~1 t1 T
  673. ; PHP's default character set is set to UTF-8.0 `  \/ F# Z) o2 A: R- t; c; a; B: w
  674. ; http://php.net/default-charset* F- e5 N4 A$ f( k: o! {4 }' b
  675. default_charset = "UTF-8"
    : Y0 O& j4 C; I5 R8 T1 [

  676. 1 K6 X4 y% K+ k
  677. ; PHP internal character encoding is set to empty.
    & w. ]; o. c/ }2 g/ b% t
  678. ; If empty, default_charset is used.7 n: l: h3 p  k1 V
  679. ; http://php.net/internal-encoding
    7 X7 K/ \" `6 K; c9 K' y
  680. ;internal_encoding =. z; s9 A5 F9 _3 A
  681. 0 O0 T: H3 H  |: \$ T4 B2 B, B; p. i
  682. ; PHP input character encoding is set to empty.
    " F+ B& R& Z; N: p+ W
  683. ; If empty, default_charset is used.! |1 y) e% A- L/ Y
  684. ; http://php.net/input-encoding8 E. B7 E6 G0 k2 |- [) M. J. d
  685. ;input_encoding =
    ( R1 k# X( @! F) y4 w  a
  686. , o+ T0 E: p* Q) q9 i. i$ t
  687. ; PHP output character encoding is set to empty.
    4 o5 Z0 Q0 o$ ], o; N
  688. ; If empty, default_charset is used.6 @# z( o. C, m9 ^2 O. O& V0 @1 a
  689. ; See also output_buffer.  b1 f! @, g$ g% i* P1 v4 V2 o
  690. ; http://php.net/output-encoding2 o% g4 U6 W/ C. f, T
  691. ;output_encoding =& S& F# J5 [: U6 T. U$ K8 B
  692. 4 E! K8 ]& \7 j' l2 h, K$ E
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    " Z. N1 A$ n2 g+ v
  694. ; Paths and Directories ;' q2 v. N# _5 o) e0 {8 q
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;4 d/ R2 G$ f2 I' P
  696. : G8 n3 d3 W+ B
  697. ; UNIX: "/path1:/path2"
    " B% C2 U; ]# z1 l( _
  698. ;include_path = ".:/php/includes"
    4 S8 P. F+ J7 p% Z0 R2 d0 e! @
  699. ;
    , L5 k' d  C' T3 f; ~1 b
  700. ; Windows: "\path1;\path2"( {+ I% v! z8 V2 I4 @' G
  701. ;include_path = ".;c:\php\includes", ?8 Y* A" @8 Q$ [
  702. ;6 G: z% [: c( V" e# V6 d3 |
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"* e! d3 k' e- ]* Z% ^. ]: G
  704. ; http://php.net/include-path& Z/ T# z" w5 z* C) F  c
  705. 6 P* {; {& G+ K$ R4 }( I
  706. ; The root of the PHP pages, used only if nonempty.
    8 |6 i' ]. T5 o2 e5 P% H
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root, l$ a8 z$ E' c- z1 ?
  708. ; if you are running php as a CGI under any web server (other than IIS)
    : u( `" V' m. |7 s4 x  |$ f% c
  709. ; see documentation for security issues.  The alternate is to use the
    ; _9 y9 q7 o) q) p
  710. ; cgi.force_redirect configuration below
    9 L, g; A2 i7 W5 u( F3 o
  711. ; http://php.net/doc-root. J7 n5 l. R% l, B2 N* `
  712. doc_root =
    ' C0 T) S( G5 w  G

  713. ; ]) h+ _5 M/ t% |: K7 E2 M2 A4 ^
  714. ; The directory under which PHP opens the script using /~username used only! ^: l  B& j& f( N8 Q6 F
  715. ; if nonempty.
    5 l5 h% \. W6 U" w. _
  716. ; http://php.net/user-dir. W! n, h  [. J0 j! G! W& U
  717. user_dir =
    5 h- [6 V. G" V1 L
  718. 8 h9 g$ V9 ]: \1 Q5 `  Z* T
  719. ; Directory in which the loadable extensions (modules) reside.
    ; Q8 ]$ D* P: \1 @( x: H
  720. ; http://php.net/extension-dir( h+ C5 V4 q% ]# i: p+ V; J1 }
  721. ; extension_dir = "./"
    % N) o( q9 c  @: k; T5 ]; y
  722. ; On windows:
      x" `$ q$ }7 Y9 j& i! ^$ U4 j
  723. ; extension_dir = "ext"
    5 a5 {; g3 C0 A. a% p

  724. . j9 q, l$ f. r5 O6 r
  725. ; Directory where the temporary files should be placed.
    ! n+ y" k3 G2 K* O) x/ ^
  726. ; Defaults to the system default (see sys_get_temp_dir)
    + R8 ?9 {1 n* U2 W$ y6 A$ m$ G
  727. ; sys_temp_dir = "/tmp"$ }- O8 @- B0 X! E2 M/ M* L
  728. + v! x4 @/ x8 m& I7 y, Q0 `
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work* _, P% ~2 }- p$ c- T7 N
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically1 r' i! D- g! d0 w' ^9 P0 d4 m
  731. ; disabled on them.
    & L! p! N: }' M, N0 E
  732. ; http://php.net/enable-dl
    * o8 m" v! ~, r, s3 ?- D
  733. enable_dl = Off
    ; S) G& e/ P! j4 i3 I+ r
  734. . X( u# a2 m3 M% b- d! s8 s; t
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under$ L: A8 t! w$ p: o
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can( `4 G) n7 N0 }
  737. ; turn it off here AT YOUR OWN RISK
    * ]/ J/ j' f& X. P+ `
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    $ s- y5 v) M* \9 D7 Q
  739. ; http://php.net/cgi.force-redirect
    ! ^2 Z% P7 |) V/ k
  740. ;cgi.force_redirect = 1
    & k& R. N1 g2 F/ m

  741. : W, d/ p" s/ d- M5 c+ v( l
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with  v* P- o) L1 z. R- n
  743. ; every request. PHP's default behavior is to disable this feature.
    5 b5 J) H7 s0 \6 N4 @; }
  744. ;cgi.nph = 11 c9 W* Z& o0 o6 G. @
  745. : x* {8 D9 G5 |- Y$ F. W& R- ?
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    6 T% `1 |5 A& k+ h  u6 Y
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP1 X/ S- Y1 u7 J$ z6 S
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY/ i6 j8 j% G8 E. C2 l, O% h8 h
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    8 }. T) X& B  T0 z1 e
  750. ; http://php.net/cgi.redirect-status-env
    6 T7 y$ M2 k$ M- [2 Q2 s
  751. ;cgi.redirect_status_env =
    ) S5 k' Y; X- A% ^; d' |4 v

  752. 6 _. M+ C. o$ s: A8 m/ B5 d
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's. H( U7 n4 I9 `# y: F5 {3 ]
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok; d& e1 ]9 k! v( J/ ?# d; ?
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting( Q- s" l* Q4 B, M- A
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    & T; c1 A" m& ^8 J- B
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    0 y1 A3 Q9 m5 C6 E# v! }0 I+ i' m! ~
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.1 X9 b  }% Y; P5 u, {6 c
  759. ; http://php.net/cgi.fix-pathinfo. y2 x4 s( w$ z9 x1 B; ^0 `& `! K' {
  760. cgi.fix_pathinfo=1
    ) r9 ?8 ]1 F, y' W5 l
  761. 4 Q; \- h) W6 y: P1 o) r& E
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    / b# S; T) ~6 `
  763. ; of the web tree and people will not be able to circumvent .htaccess security.2 f/ ]6 A$ u! E/ w
  764. ; http://php.net/cgi.dicard-path
    : {' @1 ]8 m. j- }6 n
  765. ;cgi.discard_path=16 q# {  G7 h: e: }8 M
  766. ! `: w7 e( r7 c/ Y- f, y0 q
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    % N# X% w$ P, \' u/ O/ j, e: o
  768. ; security tokens of the calling client.  This allows IIS to define the9 C, ^7 z- f% a. I- C! N* M
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    $ A6 }6 H/ f) {% p- N
  770. ; does not currently support this feature (03/17/2002)
    ( g+ @0 z2 A0 o3 Z: s* B
  771. ; Set to 1 if running under IIS.  Default is zero.
    " K4 W3 ~. h, T4 ?' a
  772. ; http://php.net/fastcgi.impersonate
    - s. P. _( R, j1 O- h! O0 C
  773. ;fastcgi.impersonate = 1' a0 R0 a; E6 J' p$ ^

  774. ; F3 Q7 p3 a9 ?- ?2 X0 m
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable% c/ }  f6 j0 j( @
  776. ; this feature.# I, q1 _) F  [; D* [4 v. w$ |
  777. ;fastcgi.logging = 0
    $ X5 H! n) D# H0 v4 a5 d* t

  778. 0 E4 O- M( u$ O. p' J" ^) ^; Y# H( j
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ( i; S0 d) F( g0 N" w3 {
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    , h. h) K) h( r1 p$ d
  781. ; is supported by Apache. When this option is set to 1, PHP will send9 |$ p, {3 b$ z% j" k
  782. ; RFC2616 compliant header.
    9 I$ k  Q0 [# u6 @
  783. ; Default is zero.5 l; `1 y) H7 V% t6 X
  784. ; http://php.net/cgi.rfc2616-headers
    # p$ N# W& U6 a# T& g
  785. ;cgi.rfc2616_headers = 0
    ; T5 ^  Y& T9 `2 y$ j
  786. 6 T5 F* x+ b* u+ X1 \  r
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    , _5 |: p* t9 X
  788. ; (shebang) at the top of the running script. This line might be needed if the
    1 J" ?( e0 A3 s! ]' L5 c4 i
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI1 V0 d; ~/ k0 o
  790. ; mode skips this line and ignores its content if this directive is turned on.
    3 C0 n( F, Z7 z, g( C
  791. ; http://php.net/cgi.check-shebang-line
    " R+ u3 d' Z2 Q! {) P
  792. ;cgi.check_shebang_line=1* @$ ?/ k7 y; s: P6 d1 z

  793. 0 W6 _# K) U1 P" w9 m5 M5 }
  794. ;;;;;;;;;;;;;;;;0 ?9 v- e2 I. n1 P/ v) G  z
  795. ; File Uploads ;: r: g2 S* w2 g5 V7 v: r% A
  796. ;;;;;;;;;;;;;;;;! _5 q4 _, I2 ^/ A  t
  797. ' z' R. _* g5 I" x! g$ H
  798. ; Whether to allow HTTP file uploads.
    % B' a$ n* Z- w! z9 a9 x
  799. ; http://php.net/file-uploads
    + ~% C: s6 H  j9 f
  800. file_uploads = On
    / K: v; I- Q# }4 I
  801. 8 E5 X/ x7 H5 _" t- e3 U( r
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    , J, o7 }; E4 O* j0 C9 ?! |7 `. C
  803. ; specified).
    ! h! J2 I+ _1 g% {( U0 C% h6 }
  804. ; http://php.net/upload-tmp-dir
    ! Z' t2 n5 f5 r# z& h
  805. ;upload_tmp_dir =
    ( A7 v4 z* y5 T: v* b0 s8 h* P
  806. 9 k3 c2 ?2 s: ?, {6 E: B1 M
  807. ; Maximum allowed size for uploaded files." k7 N4 @% z# q" `
  808. ; http://php.net/upload-max-filesize) G2 a7 m5 V4 q. R9 ], m5 F( ]
  809. upload_max_filesize = 50M
    ( R( x7 b* v9 d0 i) n

  810. , a9 g2 r9 N) w, F0 N! v
  811. ; Maximum number of files that can be uploaded via a single request
    4 V5 V+ z* ~; {% |, k* ~! f; y4 f
  812. max_file_uploads = 20
      q/ ]+ u  r3 j1 }0 ^

  813. $ Y  o! {4 x5 h6 c! H
  814. ;;;;;;;;;;;;;;;;;;
    9 T& ]6 T! y  d  |- d
  815. ; Fopen wrappers ;% J! Z5 `1 U! G$ q9 h- |
  816. ;;;;;;;;;;;;;;;;;;( Z1 d5 Z1 T" @" [3 q
  817. ! S& f9 K% z: u
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.; ]& f+ }( g- X
  819. ; http://php.net/allow-url-fopen
    5 W7 q: l  q, s0 P7 D" f* K
  820. allow_url_fopen = On& e& G5 c: f* U; P/ d/ D
  821. # y, T6 [9 l8 T+ Z7 e5 J
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.# z0 }+ s4 O" I2 Q* G
  823. ; http://php.net/allow-url-include2 z2 K' Z& E1 m
  824. allow_url_include = Off
    * v- Q3 v) V- X% Y) m
  825. ; }# D% w( H3 Y! n
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    / n) V. G8 Z# L) v! Q  L
  827. ; for this is empty.: Y* D3 |2 V' v; y
  828. ; http://php.net/from
    + [$ |' T; c! A
  829. ;from="john@doe.com"0 Q/ j4 g" R; ]/ m, K9 X$ i
  830. ' k# o) x: W% e/ F
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    2 v& N' b4 W: ]  q
  832. ; http://php.net/user-agent- w, U$ ?, D4 J3 N" J. D2 w# I# Z: ~
  833. ;user_agent="PHP"
    1 c' O, N. L5 T; |# F; q. R$ Z0 r
  834.   q! c! [9 }' q7 K5 y# E! @, I, X9 p
  835. ; Default timeout for socket based streams (seconds): g" F/ V2 p0 l1 G$ x
  836. ; http://php.net/default-socket-timeout; j  P/ X* |$ |4 s: {
  837. default_socket_timeout = 60- s- ]5 r1 E, P& s

  838. $ q0 \0 W% f& B' s) }  R$ F& l* L4 H9 @
  839. ; If your scripts have to deal with files from Macintosh systems,- |2 r, o0 P" R+ ]3 B* ]) A
  840. ; or you are running on a Mac and need to deal with files from# f' u1 |9 s+ W* _
  841. ; unix or win32 systems, setting this flag will cause PHP to! ?- p( M' F# S& D7 d5 M
  842. ; automatically detect the EOL character in those files so that0 U* ^3 M0 Z  H/ C( u
  843. ; fgets() and file() will work regardless of the source of the file.
    - G: |0 }2 D% ~
  844. ; http://php.net/auto-detect-line-endings8 X; D) M! ~. ]6 w/ d
  845. ;auto_detect_line_endings = Off$ y. E5 p  ?/ K2 r/ @" z; l9 v
  846. ) o3 a8 m& G% P, q+ @( g( V& l2 q
  847. ;;;;;;;;;;;;;;;;;;;;;;, \# G8 e  d( R, c- a
  848. ; Dynamic Extensions ;3 W$ d; [: d# {; i
  849. ;;;;;;;;;;;;;;;;;;;;;;
    ( L/ B, j1 U- Q4 N
  850. , h4 K1 y* Z0 j9 ?" C% E9 m3 K6 t
  851. ; If you wish to have an extension loaded automatically, use the following' ?! f3 g% E# e* r& B1 i
  852. ; syntax:
    ; ^! y9 S3 U+ r- Y% K; X
  853. ;
    : s, _5 i; f  i- u: Q; G
  854. ;   extension=modulename.extension
      S0 K. b+ f. r, _2 p: {
  855. ;
    , b5 u; S! c% g/ l
  856. ; For example, on Windows:# O+ l0 q, }0 }/ F0 [6 j( D  [
  857. ;# b: i8 D- ]: T$ c
  858. ;   extension=msql.dll" ?6 x# z" E, [( e" g
  859. ;
    # X3 u9 @4 J# T( o% g3 t2 b7 r
  860. ; ... or under UNIX:( b1 P- Y9 W; Z' t  M
  861. ;
    * L% n# c9 C) f
  862. ;   extension=msql.so  @( }0 _+ F& {, R- A5 m4 I
  863. ;4 Z% d4 z0 F# q* p, q# k
  864. ; ... or with a path:
    2 x9 e4 Y: r$ ?* ]
  865. ;
    ' @; `9 @/ Z. T
  866. ;   extension=/path/to/extension/msql.so
    # W6 L9 _' b+ ^1 [0 ^/ I
  867. ;
    8 f5 q; S% w3 t
  868. ; If you only provide the name of the extension, PHP will look for it in its
    + z: \0 T4 |" A, J+ b
  869. ; default extension directory.; c! W5 l6 M0 |) x
  870. ;
    ( l6 ]: g3 c4 {4 B
  871. ; Windows Extensions7 x' v; n. I9 a2 o' `
  872. ; Note that ODBC support is built in, so no dll is needed for it.% y3 p  ^& M) s( N1 C0 \  m' _7 A
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+): J- I+ V5 z6 C* k5 j; p% m
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    # \. X& \6 t7 E% y5 ]% ]
  875. ; Be sure to appropriately set the extension_dir directive.
    9 w: z/ Y' z0 P$ E/ @
  876. ;$ z; d6 b# Z+ B; g) w6 ~/ t- }+ G% c
  877. ;extension=php_bz2.dll
    ' }- [5 l* L# K; c2 N. U$ d; p
  878. ;extension=php_curl.dll
    1 U* b" P# v$ D
  879. ;extension=php_fileinfo.dll; k% R  p* I# c& |1 F
  880. ;extension=php_ftp.dll3 F8 p* M  q' p
  881. ;extension=php_gd2.dll8 d! _% j5 \0 M$ l$ f" k
  882. ;extension=php_gettext.dll! `% T) [0 |* }% ]: y) z4 H- ]
  883. ;extension=php_gmp.dll
      }5 B& c. {2 Z" B
  884. ;extension=php_intl.dll' _/ V2 o1 X. f* ]
  885. ;extension=php_imap.dll1 j' k" n  O; n# m0 z9 {3 K
  886. ;extension=php_interbase.dll4 z, F: e5 P$ `- P* z. D7 h. d
  887. ;extension=php_ldap.dll) p4 _8 i* D1 a5 P; R% O
  888. ;extension=php_mbstring.dll
    ! d- f4 o; h: _5 F8 ^0 b. ]
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it6 ~5 g- L! D3 g
  890. ;extension=php_mysqli.dll
    & r/ z. X  j4 _* ^" d# v. l
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client& K& G5 C$ b. n
  892. ;extension=php_openssl.dll
    + u! I! }) Z6 R
  893. ;extension=php_pdo_firebird.dll" G, _% B6 v6 d
  894. ;extension=php_pdo_mysql.dll* A- M; y$ S/ k
  895. ;extension=php_pdo_oci.dll
      ^2 P6 _7 K; t3 t& K9 e
  896. ;extension=php_pdo_odbc.dll
    - j" Z- F3 A% ?% Y! m
  897. ;extension=php_pdo_pgsql.dll2 S/ w1 R3 [8 d& e; d( @
  898. ;extension=php_pdo_sqlite.dll
    # m: T5 x& x' T3 M# c
  899. ;extension=php_pgsql.dll
    5 N% A, b& ], b; S$ n
  900. ;extension=php_shmop.dll( a6 d9 {$ N# b1 W( s  I

  901. $ W. ]1 k4 B7 u7 f
  902. ; The MIBS data available in the PHP distribution must be installed.
    7 M; I/ j( j# h. |) T- r
  903. ; See http://www.php.net/manual/en/snmp.installation.php+ i3 p% J! Y. b0 l& w
  904. ;extension=php_snmp.dll
    3 ^. T5 o% H# i  ]1 T

  905. $ m) R7 ~0 V$ R: D
  906. ;extension=php_soap.dll
    0 W1 Q0 B4 c$ B" [. u5 b! \% s
  907. ;extension=php_sockets.dll& C& m) q3 I% J; B/ v8 \  o, X; i
  908. ;extension=php_sqlite3.dll9 W# f' `. [- N6 M/ V2 e! o( R
  909. ;extension=php_tidy.dll. M, n1 r' X( H; \8 d
  910. ;extension=php_xmlrpc.dll
    * n: \/ @& Z/ T1 J2 v, }
  911. ;extension=php_xsl.dll
      h$ [+ x1 t3 @% [
  912. 8 k3 B+ M" B5 n5 N/ h
  913. ;;;;;;;;;;;;;;;;;;;6 M& J- U3 @- O9 A0 P: v/ k
  914. ; Module Settings ;) t2 B- x# l7 F1 V9 j5 q, X. P
  915. ;;;;;;;;;;;;;;;;;;;
      K: Q. s( v# _" O( O

  916. : P9 p% h, [& {* a$ _; X# I1 b
  917. [CLI Server]  D! f. {9 i1 Q5 u
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.* [1 w! s- j0 e' z
  919. cli_server.color = On
    0 o, ?1 r) t; D9 _
  920. / F+ v$ P6 }3 O( v9 n
  921. [Date]
    ' V" i# m9 G+ ?+ V; c6 G- v
  922. ; Defines the default timezone used by the date functions
    9 E. i# q8 |, q0 P7 g' W
  923. ; http://php.net/date.timezone
    - Y% K8 Z3 o9 {( X) V
  924. date.timezone = PRC
    4 f& R# O  h( K1 x8 o$ Q, x

  925. ; k  Q3 _, r+ T" H! S' p
  926. ; http://php.net/date.default-latitude& k# K" p( G/ |0 I1 r
  927. ;date.default_latitude = 31.7667% r0 i' O- ^& a" m

  928. + `8 u+ f7 G+ s  U0 G* v' W
  929. ; http://php.net/date.default-longitude
    / ]4 y3 `4 W9 ?* x  E$ C5 l
  930. ;date.default_longitude = 35.2333
    8 p1 y- ~9 Q1 y. s( J
  931. ( F7 o' m; t/ p. N0 `$ Q
  932. ; http://php.net/date.sunrise-zenith
    5 P% b4 y1 L; m& D$ }
  933. ;date.sunrise_zenith = 90.583333
    ; V7 X: b; R, t# h3 Z
  934. 7 C$ j5 b- J; b& }; z7 y
  935. ; http://php.net/date.sunset-zenith
    6 u' t, u9 ~5 b- J- _
  936. ;date.sunset_zenith = 90.583333
      w  R- N1 h) h) Q. J; U1 h: t) a
  937. % o1 m0 P. c( J' y, K2 i
  938. [filter]
    % M7 L4 g& o4 L2 t
  939. ; http://php.net/filter.default
    9 s; T) `& @  V6 s
  940. ;filter.default = unsafe_raw
    9 f& n( K/ Z: I- L
  941. ' q( k5 z) u: Z. _7 o% B
  942. ; http://php.net/filter.default-flags
    , k/ f* L9 S" u5 d0 V  m
  943. ;filter.default_flags =
    - i3 @' M8 [+ ]! {& K
  944. 7 i6 _, e& ~3 H& r
  945. [iconv]
    4 H" o. F4 f/ T8 ^. @1 R
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.1 ]6 i/ M' t& ~3 t# M
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    0 S! ^$ e9 Q# [5 C' y. L+ @6 K
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ; \& K2 v3 h, r$ S& N* X( m5 e6 v
  949. ;iconv.input_encoding =1 x) U; R" e- d- N
  950. 8 {0 v9 Z/ s) B- @* ~
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    1 `0 T' I1 q/ Y4 N- E/ Q+ Q4 X
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used./ Z3 H3 G. P! P+ |' ]
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ' Y' @+ [# {" Q% E& e
  954. ;iconv.internal_encoding =
    & p9 j! b* c8 j  u8 i
  955. 1 j- B2 Y) T0 N
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    $ N+ R% k) S2 I2 z: a
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    & S# M2 g; X9 D! y
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    6 v8 ~" p. e. m6 _
  959. ; To use an output encoding conversion, iconv's output handler must be set
    9 I+ A: x9 H$ n; |" Z
  960. ; otherwise output encoding conversion cannot be performed.1 X5 a+ Y" c5 n% y; ?/ M
  961. ;iconv.output_encoding =/ O! j' `7 o+ g- }; _2 d, s0 |. d

  962. 6 s/ p" b$ x& G; N; v6 c; n* ~
  963. [intl]" `3 K, N0 G7 x5 q! Y9 E
  964. ;intl.default_locale =
    $ y) V9 G! ?0 {# }1 G. F8 z
  965. ; This directive allows you to produce PHP errors when some error
    # E0 o- J0 p( `# B* p+ g
  966. ; happens within intl functions. The value is the level of the error produced.
    5 ^) T" }4 H  S& V) V7 W8 c
  967. ; Default is 0, which does not produce any errors.1 u7 y" _% {8 @4 i7 J5 M$ U) F) `
  968. ;intl.error_level = E_WARNING
    % z, x& n# N) I6 I. `
  969. ;intl.use_exceptions = 01 C0 B4 Y" |8 z

  970. & x# ~6 \" i# ^( A9 w: a
  971. [sqlite3]% V' b7 h7 Z, t" N! J8 }* K- I5 X
  972. ;sqlite3.extension_dir =0 D5 C8 l+ ]6 B$ l  I) M5 s

  973. % O: J$ a% |& |3 G, _
  974. [Pcre]8 R  t# p4 \, E  [! G% X
  975. ;PCRE library backtracking limit.# T  Y) ?$ ?! ~5 `
  976. ; http://php.net/pcre.backtrack-limit9 \+ _5 \) }% ~1 u8 j
  977. ;pcre.backtrack_limit=1000002 o- u0 d9 [1 N% x9 R

  978. 2 c- U, h" g) o- E, }1 H2 ]4 X
  979. ;PCRE library recursion limit.: s/ U1 L( F3 }+ G0 e+ |1 `
  980. ;Please note that if you set this value to a high number you may consume all
    ( n, O" `& ?* v3 @  U* j: D! t" B
  981. ;the available process stack and eventually crash PHP (due to reaching the, k! }$ @! P& s. O5 S! _' {; u/ U3 b! l
  982. ;stack size limit imposed by the Operating System).* y6 A- A4 X: {, z! Y" }- S$ f& M4 s
  983. ; http://php.net/pcre.recursion-limit
    , Y) E# ]# s, @' b& k0 i. G0 i
  984. ;pcre.recursion_limit=100000
    , B+ J; h; a8 H" q
  985. / r" o6 t4 s+ ~& H8 Q. ~& I
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    : h! M" k& V" T8 ]
  987. ;library to be compiled with JIT support.
    0 f; d; d/ `# G* w. H5 j/ }
  988. ;pcre.jit=1
    $ z" p; ~: v$ k2 j6 u
  989. - \# P! F& b4 O
  990. [Pdo]1 O- `1 k$ H7 @5 I. X% l9 H) e- f
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off": e! N3 v4 H. U9 i4 d
  992. ; http://php.net/pdo-odbc.connection-pooling
    2 m( }( E+ x3 S/ k& y
  993. ;pdo_odbc.connection_pooling=strict
    ; c' d; o; T8 m2 ]; s

  994. 2 u- G/ ^. M0 J3 X' z' Q
  995. ;pdo_odbc.db2_instance_name! i" T. A" n1 H, D5 V
  996. * z! T# @% V* z6 j) }7 M
  997. [Pdo_mysql]+ C) f9 @' [& b8 K( f# U
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache6 \- Q7 V, A* V, ]  C
  999. ; http://php.net/pdo_mysql.cache_size: ?- J- M# c7 d0 K8 o& }
  1000. pdo_mysql.cache_size = 2000
    ) K/ b/ Q9 R5 s) i/ k- Q
  1001. # ?0 B5 w% E# @3 V4 ]+ V, D
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    6 b  H# P6 f0 v0 I4 S$ i  }
  1003. ; MySQL defaults.. H! L8 g* g% ?: _, m2 Y" z
  1004. ; http://php.net/pdo_mysql.default-socket
    / b6 d7 v( c5 |7 v
  1005. pdo_mysql.default_socket=
    4 k) z" v: h/ ~

  1006. 2 D0 r5 S- N9 [4 j+ }7 R; l0 o- R
  1007. [Phar]2 C; [5 {; e  U4 s! N- X  V9 |
  1008. ; http://php.net/phar.readonly7 r" ^% P/ W1 z9 F& F6 ^3 O
  1009. ;phar.readonly = On
    & |) Q  w/ C" G" c0 r5 m' ]
  1010. 1 q3 }7 [% E' ^- ]/ N4 B" Y6 ^% q
  1011. ; http://php.net/phar.require-hash% [* n. G- r. L4 I+ Z/ V
  1012. ;phar.require_hash = On
    - S/ N$ {' Z$ H% _( O0 C
  1013. 2 w+ Y; a  I/ l1 P
  1014. ;phar.cache_list =
    3 d% C2 r4 \6 W  ]# y4 \
  1015. 0 e$ J+ G# p/ M# o2 }) l( ]
  1016. [mail function]7 f) ?) Z* t0 b
  1017. ; For Win32 only.: ]* }0 Q4 m; }! U2 Y
  1018. ; http://php.net/smtp
    ' Q6 P2 v1 p$ U- W. D6 L# b8 x
  1019. SMTP = localhost1 L) k! M# Q+ f8 R$ r( u- R
  1020. ; http://php.net/smtp-port7 F" ]1 c+ j! D- q% @  I
  1021. smtp_port = 25' N- R* W' a- p0 a6 H5 Z1 Q
  1022. $ l$ I) j0 s  }; ]( H' U$ b
  1023. ; For Win32 only.6 z$ w' x7 v2 l; K4 n
  1024. ; http://php.net/sendmail-from9 B- X, z5 t/ _& ?- j# o, P
  1025. ;sendmail_from = me@example.com: G/ }5 C2 k( }3 A0 y4 }8 y
  1026. * v! O! m4 N, s$ W& r
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").' t/ P- |( f' l/ q, S
  1028. ; http://php.net/sendmail-path7 q. j( {* V( b& v( ]
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    / t* R& e# H, Q" b) d" T

  1030. , _3 `6 N* y7 U4 V% V1 L
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
      |; J* \  J/ O: k$ d
  1032. ; to the sendmail binary. These parameters will always replace the value of
      q' X; c% f! j, i! R% c
  1033. ; the 5th parameter to mail().
    , D& c3 a/ D' L; c. h# [) `
  1034. ;mail.force_extra_parameters =7 X/ |: r, Q3 y* i' ~$ X( k7 ]& H
  1035. % c6 n/ z3 q0 C- _+ I6 S0 f. L$ b0 g
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename( Z/ ]1 M: d# P; ?
  1037. mail.add_x_header = On$ {5 f" ?7 G6 F; c
  1038. 4 F, S6 o  J" _) \
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    " H6 W  _9 `% d& ]. m
  1040. ; the full path of the script, line number, To address and headers./ O- G, @& q) E
  1041. ;mail.log =/ m$ V" Q# z$ v
  1042. ; Log mail to syslog (Event Log on Windows).
    8 q; c+ q! \" t9 Z7 Q2 U# M
  1043. ;mail.log = syslog
    9 k( ?( n+ v2 V" g; k
  1044. 8 F! _: l4 o6 Q" x' k% p! l
  1045. [SQL]# A8 k& `0 [7 S9 z0 k
  1046. ; http://php.net/sql.safe-mode
    1 {2 Z) ?: D$ H6 ~( }
  1047. sql.safe_mode = Off8 D- d$ n$ U' S5 p

  1048. ! A  P- \' ^- J. A+ q5 t( m' E" k
  1049. [ODBC]) ]+ c9 x  L7 e" Y/ p% S2 U$ m
  1050. ; http://php.net/odbc.default-db+ q2 n* y  Y/ r" N( }
  1051. ;odbc.default_db    =  Not yet implemented. t0 ^3 v# e3 ^$ f8 w
  1052. , r. j* T7 R/ D  O: m
  1053. ; http://php.net/odbc.default-user
    * W. V+ {9 [2 O- W
  1054. ;odbc.default_user  =  Not yet implemented
    & V6 W; d$ K" s9 m  N
  1055. $ r" o9 Z6 A) N/ v0 g
  1056. ; http://php.net/odbc.default-pw
    7 U2 t: C6 N! d! m( ?$ n
  1057. ;odbc.default_pw    =  Not yet implemented0 J. e5 Q$ a% K2 T
  1058. % u9 f; r/ M8 W+ B1 _$ K5 b
  1059. ; Controls the ODBC cursor model.  ]0 F$ L) `$ {( l. P
  1060. ; Default: SQL_CURSOR_STATIC (default)./ i) b* h- V9 S
  1061. ;odbc.default_cursortype+ R  @( H! O% B* w: |1 W/ l

  1062. 5 W& w. P* s. r" ^3 N
  1063. ; Allow or prevent persistent links.4 e+ \, e) I+ \  z# t
  1064. ; http://php.net/odbc.allow-persistent8 z% ?& @2 n8 G! y. T8 J7 ?
  1065. odbc.allow_persistent = On
    % _! u; ^1 i1 _! j- N- e

  1066. 1 {8 X  J/ M5 [9 S% V/ t
  1067. ; Check that a connection is still valid before reuse.9 K& }4 A+ R  \. C8 B. H2 a0 K
  1068. ; http://php.net/odbc.check-persistent
    ; w& e; o8 S) l0 d3 j  u5 Y. v9 I+ j. l2 R
  1069. odbc.check_persistent = On
    * N, K3 E) Z( l: \$ c
  1070. $ X- X& R( d4 k+ A; s( S
  1071. ; Maximum number of persistent links.  -1 means no limit.
    0 k) x3 u, g$ r* J
  1072. ; http://php.net/odbc.max-persistent, O( U, ^# c$ H
  1073. odbc.max_persistent = -1! L5 i5 y# }8 a5 Q) X( p1 @4 Q+ V
  1074. , p5 o+ c! p. c% g8 x
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.+ X8 k" f! f) M; _9 `( a( w- z
  1076. ; http://php.net/odbc.max-links" }7 ]% k; Z+ g0 [+ u# Z1 }+ P. K
  1077. odbc.max_links = -1
    , _9 A" a9 N: O  g  k; u
  1078. 8 F# U" ~1 g+ r) l/ c3 s- v% U
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means9 c+ N  p0 F4 I4 s1 y
  1080. ; passthru.! V. ?7 P( q. O" u" @' e4 v4 @2 @
  1081. ; http://php.net/odbc.defaultlrl
    + @# f; l# P% {: z+ |
  1082. odbc.defaultlrl = 4096( D  ]1 C6 v) e4 l2 }+ f' ^( M
  1083. + S# c5 s6 w; k9 D5 U; c7 T1 `
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ' @* a3 @" v) D# G
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    * c- b7 F1 F. I) n* \5 h
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode! [. n, M& h) C5 @) S
  1087. ; http://php.net/odbc.defaultbinmode7 M, y. \9 h* V: Y1 G
  1088. odbc.defaultbinmode = 1) w5 y3 b) C( I# X

  1089. * W- |8 o) o6 f! e9 I$ d% p* E( z
  1090. ;birdstep.max_links = -1
    # L8 S( O+ r0 f

  1091. 7 l* ?  E) f6 m
  1092. [Interbase]
    . V2 l" U7 ^+ k
  1093. ; Allow or prevent persistent links.
    2 c; ^/ F# s6 @, [8 G
  1094. ibase.allow_persistent = 12 L  @( R% D: p( D

  1095. # B/ t! X4 ^7 ?) z
  1096. ; Maximum number of persistent links.  -1 means no limit.
    ) G( B' C! N1 _0 G9 f( t
  1097. ibase.max_persistent = -19 Q" N: l3 q% V3 N
  1098. 5 L5 n- O* t: ~
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    9 ~* P: ?+ l  z9 M' `
  1100. ibase.max_links = -1
    " m8 i2 @. x. M; c7 t; z
  1101. # r, J6 `" @! `
  1102. ; Default database name for ibase_connect().1 V$ y5 y* I) ]* u" F. J/ ~; k
  1103. ;ibase.default_db =
    1 k* b! h$ v& I! l5 x( `, B$ G/ z3 ?
  1104. . [6 m( g) S, i) z* ?/ C
  1105. ; Default username for ibase_connect().% g3 l1 @# L# U: B( p2 [7 y- @" u! z+ f
  1106. ;ibase.default_user =, t* q7 b4 J9 R! V& O, D% }- }
  1107. ; m0 N5 w" a- o/ [
  1108. ; Default password for ibase_connect().6 j7 J% _/ G6 j  u  v
  1109. ;ibase.default_password =
    5 l) b" p5 W# Y' G
  1110. 1 j1 i- r8 I2 y& {" a
  1111. ; Default charset for ibase_connect().$ }. i, [& o3 u$ v. v' `5 ~+ N
  1112. ;ibase.default_charset =
    $ z# t  n5 z9 z' h# r

  1113. " B0 n3 L0 ~& B' ~- y3 R9 @2 t
  1114. ; Default timestamp format.' p6 a3 K; T: L( D
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"- g4 P$ w. N3 z$ {; [% |/ H, {2 x
  1116. + O/ n- N5 a& i) y4 }* t$ d! u
  1117. ; Default date format.# M6 t& v; _% ]8 G* v
  1118. ibase.dateformat = "%Y-%m-%d"
    ! ^0 y" L( y, ~1 {

  1119. , k  q/ \* e$ ~2 d2 j! O# E
  1120. ; Default time format.
    % r" n1 r4 g8 S4 k  Y- }3 L
  1121. ibase.timeformat = "%H:%M:%S"
    2 v$ m. ^+ V) N4 ^
  1122. 4 }% U- \  N. B
  1123. [MySQLi]& F# g2 k% ^  R& [

  1124. / b) ~- _: ?3 v0 e' }/ ^) F
  1125. ; Maximum number of persistent links.  -1 means no limit.
    , d3 L7 ~8 p! z1 i" H9 ?) J3 e& i7 p
  1126. ; http://php.net/mysqli.max-persistent4 ^% o6 }9 P  c! u' Z/ j. u
  1127. mysqli.max_persistent = -1" N) V$ S8 e( o& x9 B7 J0 F0 U% E

  1128. $ K! ?) q% s' F( @  j1 O* C: A4 U
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements6 J* P8 P  ]) t9 y
  1130. ; http://php.net/mysqli.allow_local_infile
    # T, C# J4 |! r
  1131. ;mysqli.allow_local_infile = On5 i! y; o5 v- E1 b# b

  1132. / F3 j! S! j8 O6 {. Q
  1133. ; Allow or prevent persistent links.* x- l7 t' @9 t/ I2 j- v' m# d: Y4 Z
  1134. ; http://php.net/mysqli.allow-persistent
    $ n+ a% X% [  t9 Q3 s0 h  k
  1135. mysqli.allow_persistent = On8 a# z1 r' k; k' \; x

  1136. 4 `) x* ^4 U" d9 z$ D
  1137. ; Maximum number of links.  -1 means no limit." z# k3 |; r8 g( J3 V
  1138. ; http://php.net/mysqli.max-links
      h2 E( c  A+ Y0 p( F, }& W
  1139. mysqli.max_links = -1) L# }/ y8 R) a* ]1 P0 X

  1140. * W) y( f9 {" \; h
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " t& O9 V5 @- n4 H$ C* C) `5 w
  1142. ; http://php.net/mysqli.cache_size
    8 ~, B) d6 w5 M$ [$ [& ?: I
  1143. mysqli.cache_size = 2000; p9 H+ C- J: R/ j2 m
  1144. 7 S: t' `6 \9 W9 R$ \3 z
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    . I7 W6 `$ C, f3 N& Z; N; S1 B
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ( N0 o+ j/ O; x7 O
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look+ |# G8 r2 D$ j/ @$ Y
  1148. ; at MYSQL_PORT.6 d# v0 P* l' b' \! M- Z- H! ?* L
  1149. ; http://php.net/mysqli.default-port. I  ?0 O8 X" {+ F9 B3 p
  1150. mysqli.default_port = 33060 K1 m6 G; j! u

  1151.   y, O# r: e% o0 _- M3 a# P$ }
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      d( S7 w( Y/ A
  1153. ; MySQL defaults.
    1 L3 D" G: T: S6 P6 Y/ }  e
  1154. ; http://php.net/mysqli.default-socket! X, {* {. ?( v# D) |- y
  1155. mysqli.default_socket =
    " h% k; Z) d: x! f/ `7 D# P% R
  1156. ( i4 x6 G4 F( p& t
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    7 k: ~# {2 `+ n1 z4 J' G
  1158. ; http://php.net/mysqli.default-host6 Z) O- \8 R% v0 k5 n/ Q8 s# ^: \) w
  1159. mysqli.default_host =+ ?6 K7 e  {/ S1 ]( Z
  1160. 0 [: M3 q" w; T2 p2 B- g
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ; ?' _# j1 W! G. E* d4 N
  1162. ; http://php.net/mysqli.default-user
    - p. z4 X6 E% @3 q# d
  1163. mysqli.default_user =) P2 M8 I- v, z4 U& |0 m
  1164. ; ^) A6 l# Q4 x6 q
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    6 b# S4 C2 Q9 ~8 W+ z
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    # x" R# X+ x$ h) B2 r) K# m' u& e
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ) F( e5 @, r/ [. t6 U
  1168. ; and reveal this password!  And of course, any users with read access to this
    2 ?0 G  t8 D2 G6 S
  1169. ; file will be able to reveal the password as well.
    / H0 e. w+ j! W: E
  1170. ; http://php.net/mysqli.default-pw
    9 U) L* B, s. Y
  1171. mysqli.default_pw =
    ; P! z- E  r$ I1 V

  1172. $ ]! y$ u/ [% s1 }" L( h
  1173. ; Allow or prevent reconnect
    1 c! J% O/ s- m) ?5 K
  1174. mysqli.reconnect = Off5 q6 G) e7 L- w- A0 l
  1175. : D' \* R* a9 c2 r9 _8 ]6 X& H. ]
  1176. [mysqlnd]
    5 h2 j* K' G& \* u
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be* M& Y- g+ \( `$ s+ L* h" d4 X) p
  1178. ; used to tune and monitor MySQL operations.
    3 z, g  v1 X- N
  1179. ; http://php.net/mysqlnd.collect_statistics
    + f  ]: t( L4 c$ N- e
  1180. mysqlnd.collect_statistics = On
    0 J6 W3 x( f4 i

  1181. 7 E% d+ L- |0 T; X- q1 `3 k" _
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be6 ^& `% W$ o  X9 r0 |. N2 y
  1183. ; used to tune and monitor MySQL operations.
    $ g$ o0 N- M! K0 \3 B3 q, ]# `8 h
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    : o2 Q2 `6 F+ K) ^5 U, S* x
  1185. mysqlnd.collect_memory_statistics = Off
    ; r, i/ ]7 T. U

  1186. 3 z7 \9 b- e  y+ L7 V4 v; ~5 J
  1187. ; Records communication from all extensions using mysqlnd to the specified log8 i2 ~& a( \/ l
  1188. ; file./ k, V- c2 e( P1 `3 Q4 M: L
  1189. ; http://php.net/mysqlnd.debug
    4 G( R9 Y) I* F/ U0 L1 G/ m/ O
  1190. ;mysqlnd.debug =
    2 j! b, q3 `1 ]1 o- q8 Q
  1191. 6 g. w  r: i, ^8 ?& X/ v* K$ A
  1192. ; Defines which queries will be logged.2 g; V5 d$ p$ e' K4 m
  1193. ; http://php.net/mysqlnd.log_mask
    2 h& S3 z$ U  S  I
  1194. ;mysqlnd.log_mask = 09 p3 X7 C( ?. l# K* ~
  1195. ! _8 G0 i- X, A% q% x$ {* ?
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    : b. X' g. r: g; R' i3 {
  1197. ; http://php.net/mysqlnd.mempool_default_size
    - E! M4 z" c9 D  K1 L: T" B# g
  1198. ;mysqlnd.mempool_default_size = 16000
    ( S; P8 W& q  y- v6 O# ]' |

  1199. * R+ ~0 R6 ?0 O9 G8 u
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.5 p$ v6 Y5 U8 A. p- F3 k& C
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ) m* e: i( S7 b; k0 Q2 S' k
  1202. ;mysqlnd.net_cmd_buffer_size = 2048  R& ^9 e! S5 K+ D  j% N
  1203. 9 y# ]6 l1 a# S5 F+ B* M
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in* W, u; B5 T; f6 H1 l
  1205. ; bytes.
    ( W$ ?5 N. e2 [3 j; ?
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    2 N! Z7 O) @9 V7 j
  1207. ;mysqlnd.net_read_buffer_size = 32768
    7 A6 q8 h) A. M
  1208. + N: S1 B7 [) u: I
  1209. ; Timeout for network requests in seconds.
    3 d' I' h+ X0 ^; V4 O
  1210. ; http://php.net/mysqlnd.net_read_timeout
    7 v: }( f+ f/ p" ?. \7 n  I! y
  1211. ;mysqlnd.net_read_timeout = 315360003 S: ]1 j  m# a9 ?$ {

  1212. * G! J) x1 B2 X) o' p' g
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA7 f2 |; G& T0 x3 p1 e- F
  1214. ; key.. I, r7 v. ~, v& N
  1215. ; http://php.net/mysqlnd.sha256_server_public_key% v& p$ `( v9 T& O
  1216. ;mysqlnd.sha256_server_public_key =/ o4 C! w# v) o) q! G
  1217. ( }+ v2 ^" z+ Q2 \
  1218. [OCI8]
    - f7 \! Y- q, Z& E

  1219. , ?& D; L  O, q3 h* R
  1220. ; Connection: Enables privileged connections using external
    : m8 r' H; _- y9 l( |# v: G
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)# d: ?' c' j- Z
  1222. ; http://php.net/oci8.privileged-connect9 ^9 l) i) S/ M% X
  1223. ;oci8.privileged_connect = Off! F8 Q, P2 m  ^! s& z

  1224. 2 R  b+ G6 W( C+ b* w" V
  1225. ; Connection: The maximum number of persistent OCI8 connections per4 F) T' I, }! G- F0 Y
  1226. ; process. Using -1 means no limit.4 [9 C8 F! d* K3 R9 K5 U7 P+ H
  1227. ; http://php.net/oci8.max-persistent- s* X  _0 N1 a/ }
  1228. ;oci8.max_persistent = -1
    " l. ?/ C7 a9 ]! T. d0 l
  1229. * i* z4 V, \4 G2 C4 _$ v. z
  1230. ; Connection: The maximum number of seconds a process is allowed to: n4 S- ?; n( k
  1231. ; maintain an idle persistent connection. Using -1 means idle
    6 A* \% m( l- ^. [! h: d
  1232. ; persistent connections will be maintained forever.
    ( R7 f' c$ i7 N
  1233. ; http://php.net/oci8.persistent-timeout
    4 r7 H2 f0 h" ^& R: F0 C( W
  1234. ;oci8.persistent_timeout = -1
    - J: c) R( L" n3 l6 W$ F7 W

  1235. * A0 x3 ]8 n# X) Y/ g, q5 C6 S; I
  1236. ; Connection: The number of seconds that must pass before issuing a
    % K$ Y+ p. W, t
  1237. ; ping during oci_pconnect() to check the connection validity. When# W( b& @6 {7 X( A0 v4 y+ |
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables, {, B+ @, Z  c5 d" ^
  1239. ; pings completely.
    - h8 B) P. G6 E9 `% `+ F
  1240. ; http://php.net/oci8.ping-interval
    5 D% `' i- o) k/ Q) A* f! f
  1241. ;oci8.ping_interval = 60
    4 |2 U( Z: T+ ~1 M4 @; o0 q8 }3 Y

  1242. 5 ^1 G* ]6 k2 N: [2 ~
  1243. ; Connection: Set this to a user chosen connection class to be used
    " n! `' {; T# @, S
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    4 o: ~, Z* I3 A1 W2 G& t
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to8 B  g: p" q# q  K$ T" E
  1246. ; the same string for all web servers running the same application,
    1 m1 D9 r3 `; F% {! E$ Y4 k/ J
  1247. ; the database pool must be configured, and the connection string must  u  X6 y  h; h' E  ^
  1248. ; specify to use a pooled server.
    : S, G' D5 R2 B$ f. D
  1249. ;oci8.connection_class =- q# u& p; t' J- {- j  Y/ K
  1250. 5 j( Z% O8 q7 N7 x! g, s' g
  1251. ; High Availability: Using On lets PHP receive Fast Application& G% Y- x, h1 n$ ~1 `
  1252. ; Notification (FAN) events generated when a database node fails. The) o1 O- u. J0 V
  1253. ; database must also be configured to post FAN events.$ u2 {; g4 L  |+ I3 T( R, k" _3 ~
  1254. ;oci8.events = Off
    : v* \/ X- Q$ L
  1255. , @  I  ^5 g* N* s! ?9 F; h
  1256. ; Tuning: This option enables statement caching, and specifies how- J$ ~! ?6 I' A- f" m3 h! l- a
  1257. ; many statements to cache. Using 0 disables statement caching.
    4 W  r; r* R$ ~4 A% ~  f
  1258. ; http://php.net/oci8.statement-cache-size
    7 A( W6 O& q& Z) T$ n
  1259. ;oci8.statement_cache_size = 204 C, T& p4 o- p4 b4 Z6 a' x

  1260. 8 E( E8 R$ w" @1 H2 p
  1261. ; Tuning: Enables statement prefetching and sets the default number of6 D+ q# [- a6 S9 b( _
  1262. ; rows that will be fetched automatically after statement execution.6 m) P3 v3 p$ E9 ?
  1263. ; http://php.net/oci8.default-prefetch
    1 Y+ v6 i6 c; K- ~
  1264. ;oci8.default_prefetch = 100" _' t& S8 J8 x# w
  1265. . I1 ^  J) ^0 W* P/ a
  1266. ; Compatibility. Using On means oci_close() will not close
    ( V3 g- a9 a/ j% R
  1267. ; oci_connect() and oci_new_connect() connections.
    * }+ b$ q& u: c0 f
  1268. ; http://php.net/oci8.old-oci-close-semantics. Z0 }& O8 t9 _% F! g
  1269. ;oci8.old_oci_close_semantics = Off
    * O) J9 a& {. B# a# E) k

  1270. % P* W- j/ J6 _
  1271. [PostgreSQL]
    6 f8 A2 w7 U9 {+ b8 \% }9 ?
  1272. ; Allow or prevent persistent links., \! ^3 s9 c- |# K. p$ z
  1273. ; http://php.net/pgsql.allow-persistent9 Q+ [) L* ?( n& s  A0 j' T$ T0 E( \
  1274. pgsql.allow_persistent = On
    6 Z9 d2 Q, O+ Z2 F" J3 m: @+ t
  1275. 3 ~0 V, R: }. u) |# L
  1276. ; Detect broken persistent links always with pg_pconnect().8 ]2 Q0 H" _3 N+ w# l2 k& O
  1277. ; Auto reset feature requires a little overheads.
    5 e" J$ R/ p8 S
  1278. ; http://php.net/pgsql.auto-reset-persistent5 T* i% ~% }5 l+ y% \4 F" ]7 f
  1279. pgsql.auto_reset_persistent = Off$ q3 Y0 i6 T* ~+ M2 W( C: v
  1280. 6 h2 E' C4 @" W& p" Q2 \
  1281. ; Maximum number of persistent links.  -1 means no limit.
    ( x7 D% ]0 L, o; i9 B' B" W* x
  1282. ; http://php.net/pgsql.max-persistent
    9 y* l) U+ L! C7 E
  1283. pgsql.max_persistent = -1
    4 p- p6 W: ~1 l' T! @1 x& W
  1284. 6 ~4 P" p) A5 P- S3 S" V6 Z% ^
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    % G( m# B9 }1 r2 N, G
  1286. ; http://php.net/pgsql.max-links
    ( v: y+ m! H6 ]4 o
  1287. pgsql.max_links = -1
      C- K+ i  T/ ~% ]+ l

  1288. 6 w) r- C' l( \3 }( {+ X4 \
  1289. ; Ignore PostgreSQL backends Notice message or not.; A* a* h  D5 v7 ~4 [# r: P
  1290. ; Notice message logging require a little overheads.
      A& ~8 B0 k9 y) U; k/ W; H/ S
  1291. ; http://php.net/pgsql.ignore-notice0 H4 P0 `+ @! A9 Y% f: Q+ K
  1292. pgsql.ignore_notice = 0& B( V- N  D- ?% W2 R" t

  1293. ' U( S% X( b3 q1 i) ?% }% M: I
  1294. ; Log PostgreSQL backends Notice message or not.
    8 _5 V  b) l1 i( |) m
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message./ q& g7 z0 i2 G# y; Q
  1296. ; http://php.net/pgsql.log-notice
    1 I! Y9 Z. c8 ~8 a
  1297. pgsql.log_notice = 0( g' D! x# n, E# m
  1298. $ N8 b& D, b# m) c" ]: ?& i
  1299. [bcmath]. D" U; t. Q, z; u2 _0 K2 \  ^
  1300. ; Number of decimal digits for all bcmath functions.1 M6 N2 X" K' |% l& ~
  1301. ; http://php.net/bcmath.scale
    ' G, x  v( X+ c6 v" x" {+ G
  1302. bcmath.scale = 0
    2 `  y+ a+ W$ f+ O7 O3 U! i1 ?
  1303. 9 |/ K& q) [* X, c1 i7 T, a
  1304. [browscap]& g4 A- ?0 e& n
  1305. ; http://php.net/browscap
    4 X  m1 T' e7 Y/ r8 r8 j$ ^8 ^
  1306. ;browscap = extra/browscap.ini
    + e  n- b2 q0 i( T

  1307. , a; b0 v5 ^5 q! G- m. [" @
  1308. [Session]7 P3 S9 j. T, G% }. z! b
  1309. ; Handler used to store/retrieve data.
    $ N1 a: }* w+ A) ^6 ]
  1310. ; http://php.net/session.save-handler
    6 M8 `2 `% O7 Q  c
  1311. session.save_handler = files
    # Z: k" t2 g5 _; u0 @5 y
  1312. ' e* r+ n3 B) i4 y
  1313. ; Argument passed to save_handler.  In the case of files, this is the path; \) z. ^$ o" |4 J$ s" S) k
  1314. ; where data files are stored. Note: Windows users have to change this
    ( G8 M, Y+ q3 E9 B" t
  1315. ; variable in order to use PHP's session functions.* f8 |5 T2 N. ^) I* _8 g
  1316. ;% s' i7 a" I/ }+ `+ V3 o
  1317. ; The path can be defined as:
    + a% F' [- O: m6 H. d' I
  1318. ;
    - M* m$ U4 N- |' k/ e) V  q
  1319. ;     session.save_path = "N;/path"5 e- q7 T' d; b, _. T9 F
  1320. ;. D( \/ B. `( G$ y1 c
  1321. ; where N is an integer.  Instead of storing all the session files in
    - k! e3 T$ z- B; ~3 u) S: y/ R: b
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    1 {+ m1 k& G' U4 H5 t- j- {
  1323. ; store the session data in those directories.  This is useful if
    ! X8 ?6 ^* V, Y5 ]
  1324. ; your OS has problems with many files in one directory, and is5 s) D+ W/ g8 M: I
  1325. ; a more efficient layout for servers that handle many sessions.! H, I: U/ a- n& t( U5 P
  1326. ;1 L; [2 q$ t) I4 P5 o
  1327. ; NOTE 1: PHP will not create this directory structure automatically.! B& c0 {/ Q" }+ C% P
  1328. ;         You can use the script in the ext/session dir for that purpose.
    . [1 C4 ?# I! M  n- M; Y
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    5 F& u8 k( v1 ^" R2 P1 V
  1330. ;         use subdirectories for session storage
    8 g. y3 \5 X0 [, ?; w: U4 Z+ V
  1331. ;; r* v- e$ Y( X; {0 _3 p2 [
  1332. ; The file storage module creates files using mode 600 by default.7 o# |% }* j+ d( N4 `
  1333. ; You can change that by using
    5 S# g  }% t9 g+ I
  1334. ;
    ; J9 t7 K" [/ f) E/ F! @) ?# ?
  1335. ;     session.save_path = "N;MODE;/path"
    ( j& w" m! w8 N
  1336. ;6 c7 v' _, y' b. Y  Z& |$ S
  1337. ; where MODE is the octal representation of the mode. Note that this4 e# f1 l$ U' l5 v! H8 w1 t* O
  1338. ; does not overwrite the process's umask.
    0 @  |; N) ~/ y: g2 s. O
  1339. ; http://php.net/session.save-path
    5 P% Z) ?; |& d7 L- p
  1340. ;session.save_path = "/tmp"
    , ]5 K. f* \5 Y
  1341. 6 G) a% M& K+ l0 ]
  1342. ; Whether to use strict session mode.
    $ \" ^0 L8 m/ m1 d* t; Y1 Q: ~
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    + p3 H8 C* v7 s$ k; T
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects# u* G* z5 O& `% R0 M
  1345. ; applications from session fixation via session adoption vulnerability. It is
    - I9 [* r+ s" k) y4 d1 W; b0 R
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.% h7 n8 V5 Z& f3 Y# _
  1347. ; https://wiki.php.net/rfc/strict_sessions
    ) V3 i. f6 E4 H$ l7 S, L" O
  1348. session.use_strict_mode = 08 W5 X, C" S$ M% C1 F

  1349. 2 ?" Y% z: [0 Z7 a! C! j7 U* N
  1350. ; Whether to use cookies.5 R1 `, m6 `+ y) o' [
  1351. ; http://php.net/session.use-cookies
    ' Z  K; v- f0 e3 K2 Q: p+ H
  1352. session.use_cookies = 1
    + W# o1 t  {3 U  P6 t
  1353. . ]9 s) V: r& A/ l* E% g# H4 u- A
  1354. ; http://php.net/session.cookie-secure0 E4 N& @; ?: F8 G& X, V' f
  1355. ;session.cookie_secure =
    ) i% h$ s+ @/ ^! x7 x) w+ }- R

  1356. + N. \4 ?' `2 [' B3 o
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    & ?) n3 M$ O! N, d) ?
  1358. ; the session id. We encourage this operation as it's very helpful in combating/ {% I2 ?" m6 ?/ N
  1359. ; session hijacking when not specifying and managing your own session id. It is/ E1 \# E8 C/ b3 G
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    * N3 V+ d( a3 `, Z
  1361. ; http://php.net/session.use-only-cookies
    : F  E$ O3 M6 o7 s& S1 i2 b
  1362. session.use_only_cookies = 1
    $ ~- d8 h& ^. G* W; U: {

  1363. - P; K& d6 I/ y  f
  1364. ; Name of the session (used as cookie name).
    - [& N( j  [" f& G+ Y
  1365. ; http://php.net/session.name$ {. |3 M8 x+ u  |0 N" ~
  1366. session.name = PHPSESSID1 s' R1 k' M" D, O5 F( k/ ]
  1367. + `5 z+ _+ Q# K. S8 E
  1368. ; Initialize session on request startup.
    , v' r& P5 ~( |
  1369. ; http://php.net/session.auto-start, W7 `+ O3 M6 g1 b2 y
  1370. session.auto_start = 02 `) S$ l* M# a7 q& s

  1371. ) Q- e+ B; |" g: {2 d  J# t
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.7 n" S) I% _, F( g* ]8 S0 X
  1373. ; http://php.net/session.cookie-lifetime( g0 }9 W; _# i8 T
  1374. session.cookie_lifetime = 0; w( t5 g% j8 `) A4 n

  1375.   z( z4 T+ v" b; x
  1376. ; The path for which the cookie is valid.# z. z' b  T* l$ r$ m! r5 F" F
  1377. ; http://php.net/session.cookie-path
    , L9 f9 _* x+ _$ ?0 B
  1378. session.cookie_path = /9 b  U8 @5 ~/ o# t! ~
  1379. : S9 L: X7 w% z" Q- z! A
  1380. ; The domain for which the cookie is valid.
    4 @) y, K& @5 c$ d) F: X
  1381. ; http://php.net/session.cookie-domain2 U  ?" e8 Z7 Q% X, _$ _2 L
  1382. session.cookie_domain =
    - d+ q7 [/ a! R* e
  1383. 3 G2 R+ b* M# c2 m9 M& y
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    $ Q6 A- w; k+ t" z6 U
  1385. ; http://php.net/session.cookie-httponly" O+ c% N" X7 O4 i
  1386. session.cookie_httponly =3 {7 p6 s/ N& k$ l) o( D
  1387. ( H# n6 c- G' L5 ^# m6 r
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    2 w& K& p$ V2 i. I6 i" N1 T
  1389. ; http://php.net/session.serialize-handler2 K/ f6 [7 y; ], ]3 \4 f" l( D
  1390. session.serialize_handler = php: m. |0 }$ i- u
  1391. ( L. ?/ u2 _# l( }
  1392. ; Defines the probability that the 'garbage collection' process is started& w7 l5 u( V! {9 J
  1393. ; on every session initialization. The probability is calculated by using
    6 U7 w  i& r4 G: |$ S8 M
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator8 C9 W" G$ v$ F
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 16 N- |  C5 k0 e* \
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 M" r8 k8 B) [" o$ d0 g7 O
  1397. ; the gc will run on any give request.
    . \- f. p0 G0 \5 L
  1398. ; Default Value: 1
    " X% O* g# a0 q' j- W' a0 k, v. M% M
  1399. ; Development Value: 1( I, S) s8 n" S  w% f) x* n
  1400. ; Production Value: 1
    6 @8 b/ l; ^* D- [) [$ q$ |7 i8 H
  1401. ; http://php.net/session.gc-probability6 J% o) @" Q/ m
  1402. session.gc_probability = 1
    0 ?; s1 Z& ~9 Z' }7 v6 q3 X# r

  1403. 3 {! i1 o# M6 @  s4 _
  1404. ; Defines the probability that the 'garbage collection' process is started on every
      d8 c4 L  |1 p& S  X5 F& P' a
  1405. ; session initialization. The probability is calculated by using the following equation:' |' t& r! s$ Z1 U. r
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and; p% X$ b' c1 w/ U; F5 f
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ; c2 E+ ]( e0 T; C$ N" Z5 {
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance( Q8 ]# }3 }- Z5 \) O0 r
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you+ h; N2 f* q$ F) _3 p
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,  \" V; N; ]3 o& P/ v: Y7 C
  1411. ; this is a more efficient approach.$ c/ X1 [9 ^) R
  1412. ; Default Value: 100. A- e, g) R/ x; e4 p0 c( `1 D
  1413. ; Development Value: 1000
    ) z$ `: u1 `9 a" J2 Q# l
  1414. ; Production Value: 1000
    ! x  W4 X  }* Z4 @
  1415. ; http://php.net/session.gc-divisor
    6 W2 b+ t5 n: X3 |
  1416. session.gc_divisor = 1000* q; f9 ]1 R  }9 N2 e/ g( y! H

  1417. % W1 J; G  f0 ?2 R* t2 K
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and8 ?. Q% l$ ~9 F5 R/ n1 n" f: [
  1419. ; cleaned up by the garbage collection process.
    % [' t* G* @4 x2 t8 Z& ~7 ~
  1420. ; http://php.net/session.gc-maxlifetime' u+ A; y- {( Z
  1421. session.gc_maxlifetime = 1440
      D3 C5 q0 h" e2 }+ b8 i. b8 _' j

  1422. 7 t- G# b9 O! l$ _0 g
  1423. ; NOTE: If you are using the subdirectory option for storing session files  p. J4 h: ^/ y% `& p
  1424. ;       (see session.save_path above), then garbage collection does *not*2 n& A3 y2 ~5 S/ z" c% @, a9 h! S
  1425. ;       happen automatically.  You will need to do your own garbage$ \0 F7 O# f- k) {
  1426. ;       collection through a shell script, cron entry, or some other method.
    7 M1 h6 r8 X  V  ?
  1427. ;       For example, the following script would is the equivalent of
    7 F! S) t7 d6 Z  |. m4 ~
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):- ?0 T$ _9 F7 E& x5 m0 G
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm$ o1 S% [' C! k( Z* T) Y; u+ Y  [
  1430. ' R* a- k$ l, _2 W+ A8 p: |
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    9 U. x7 A% k& h& j) U
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    + L) N' N3 y2 L3 R3 \
  1433. ; considered as valid./ r5 J' X' \0 p
  1434. ; http://php.net/session.referer-check5 z$ d: L2 H0 j* {9 _& K
  1435. session.referer_check =4 X* m5 j, o8 }8 X! R) I

  1436. ; C( H' Y+ L& I
  1437. ; How many bytes to read from the file.
    3 W" P! m, M( H& T1 r+ t% l1 ^
  1438. ; http://php.net/session.entropy-length+ E  n( }5 d6 F$ O- q" t
  1439. ;session.entropy_length = 32# }+ Q* ]# B: F: B! E
  1440. ! Q' I0 |) `6 _
  1441. ; Specified here to create the session id." y4 Q4 G) x; v' Z5 ~0 X% @. @, q
  1442. ; http://php.net/session.entropy-file
    / b% n0 `* l  Z" K9 w& q
  1443. ; Defaults to /dev/urandom6 s' f$ F. z: K, a/ A5 t" j
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    3 F6 _, _5 c, Z' T) k- v. K
  1445. ; If neither are found at compile time, the default is no entropy file.
    ( y1 E3 r/ c$ q( ^0 W/ S: x4 p; C
  1446. ; On windows, setting the entropy_length setting will activate the+ ~7 F* Y- ]' \
  1447. ; Windows random source (using the CryptoAPI)
    6 B) `/ |# D5 e- M8 g
  1448. ;session.entropy_file = /dev/urandom
    & \: p; a) Y6 J$ c

  1449. ' s1 k# d' V0 }* N8 _# D5 U6 [
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    " x8 a8 ?" C0 S! d% m  W' t+ E
  1451. ; or leave this empty to avoid sending anti-caching headers.- E  |2 u; g# {3 i- H5 o- y2 b% N
  1452. ; http://php.net/session.cache-limiter
      N  I) m$ A: T3 ]6 [
  1453. session.cache_limiter = nocache
    6 f! N* V# R' }; w9 H

  1454. 8 w5 |3 W# c7 l* m) Q1 |8 I8 G- |
  1455. ; Document expires after n minutes.
      K7 U2 n! D6 k& I, c1 U) R! o( j
  1456. ; http://php.net/session.cache-expire
    # o( d5 }, b3 k) d3 f/ m9 M
  1457. session.cache_expire = 180" _9 ^, z; F; y, s
  1458. 5 E9 l7 A. J8 b/ l+ U/ g% w6 v
  1459. ; trans sid support is disabled by default.
    ! }5 B5 z3 r7 {# c5 V
  1460. ; Use of trans sid may risk your users' security.) R( o; O/ e$ G8 h' M# |
  1461. ; Use this option with caution.
    4 a. N% w9 E; B9 O5 _* M. r
  1462. ; - User may send URL contains active session ID
    * e: m: b) F& i# u2 i# W* t4 b
  1463. ;   to other person via. email/irc/etc.2 O. p* q: ?; M% @8 F. V9 q
  1464. ; - URL that contains active session ID may be stored
    6 a% V" w7 c7 C0 v
  1465. ;   in publicly accessible computer.
    2 I4 f0 h- i! F5 V
  1466. ; - User may access your site with the same session ID, w1 Y! f5 A' s+ j' S
  1467. ;   always using URL stored in browser's history or bookmarks.; u% }# Q% d' F7 s, w! a5 z: @0 T
  1468. ; http://php.net/session.use-trans-sid
    8 G. ^1 u5 }0 f! l* z
  1469. session.use_trans_sid = 0
    2 {! e1 Q5 n1 j3 ^: ]
  1470. 8 T  }" i! E; w* @8 r) h
  1471. ; Select a hash function for use in generating session ids.
    7 H) z; q! i. d3 p+ O4 a
  1472. ; Possible Values; j1 G( C6 B6 D$ h. }
  1473. ;   0  (MD5 128 bits)
    5 i6 t2 Z% X6 j- g+ _& Y# e
  1474. ;   1  (SHA-1 160 bits)
    " r  @6 p& Y1 O! [7 O0 Q+ S* v
  1475. ; This option may also be set to the name of any hash function supported by+ t5 f. t+ u8 p! g2 J/ |* }
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    - f. w* c! w. X! F% Z0 ?& O) I
  1477. ; function.
    4 _, G/ a. K2 r
  1478. ; http://php.net/session.hash-function4 F. I5 l- |7 `& D9 N6 J
  1479. session.hash_function = 0" @. S( X/ U5 [+ E* t
  1480. ) d6 e1 o  p* s
  1481. ; Define how many bits are stored in each character when converting
    5 H9 [2 c' g- R+ N
  1482. ; the binary hash data to something readable.
    , K9 l1 e' K  M9 l
  1483. ; Possible values:
    7 o9 o1 \# r' d: U6 M" x1 d
  1484. ;   4  (4 bits: 0-9, a-f)3 f  ]1 y% ]4 W! o! q
  1485. ;   5  (5 bits: 0-9, a-v)" q, b7 z3 |2 z* A
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")% o* H2 s$ t! F' H
  1487. ; Default Value: 4
    6 W# z, K4 S5 c! Q# N$ I
  1488. ; Development Value: 54 P7 z# g! t0 F! U
  1489. ; Production Value: 5
    ( z3 `" D$ U# @6 S6 z+ a" z% F
  1490. ; http://php.net/session.hash-bits-per-character
    1 @5 Y0 J" J- F9 M
  1491. session.hash_bits_per_character = 5, Y' ?' Y7 I& c  d9 C* v; a5 F- |
  1492. ) V. i3 I, W- D0 x: [* S) F
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    * v6 y+ O$ j; @' @2 X+ m: y
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    # x) |& X' E3 h' ?  n6 Z) a- |5 m
  1495. ; add a hidden <input> field with the info which is otherwise appended% A9 R0 D- q! i( ?
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    8 J6 n+ W5 w; o0 p$ z7 Z
  1497. ; Note that all valid entries require a "=", even if no value follows.! n( @7 g) g0 p" k0 \
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    + P( y, \2 ~* X- F* d" |/ H
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 S8 C+ m5 e8 b4 g' d. D
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry". e6 K, n1 w: E9 t
  1501. ; http://php.net/url-rewriter.tags' z6 ?( P4 |/ g- h
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 W( y- e/ G/ H' K( q

  1503. : p4 q4 x, f7 M! e; e
  1504. ; Enable upload progress tracking in $_SESSION
    9 j0 r2 E/ H& |, ^; a9 N5 u
  1505. ; Default Value: On
    $ o& g. x' h. g- i1 E' |2 \: \' Y
  1506. ; Development Value: On' D" z& j2 q6 ?: N  h) g
  1507. ; Production Value: On8 z/ a- y- p) Y+ j
  1508. ; http://php.net/session.upload-progress.enabled
    . w) e. x, f7 w, V7 i% X8 r: }& q
  1509. ;session.upload_progress.enabled = On
    / h8 f7 f3 ]0 p' R
  1510. $ @3 u7 a; U2 e0 K# H" z" T; C( p
  1511. ; Cleanup the progress information as soon as all POST data has been read/ _0 u: c1 G' L/ W
  1512. ; (i.e. upload completed).3 r- e5 T* j1 g6 d' ]* {
  1513. ; Default Value: On1 E( }& `3 y8 ]6 G7 s
  1514. ; Development Value: On* j- N% M  R; O  Y. z4 i; V
  1515. ; Production Value: On% y" T+ y& ?' ]
  1516. ; http://php.net/session.upload-progress.cleanup
    - ]- _- n2 i9 j  u/ W
  1517. ;session.upload_progress.cleanup = On
    ( z0 U/ }6 C9 L
  1518. ' {* ^2 m$ {. U' y9 `/ v* h- ^
  1519. ; A prefix used for the upload progress key in $_SESSION
    " a, l" N) b& i5 d5 y& j: V3 q  f
  1520. ; Default Value: "upload_progress_"
    ( {4 T+ {* e( ^+ W3 ?2 q+ G7 T
  1521. ; Development Value: "upload_progress_": r7 D2 \3 C" E
  1522. ; Production Value: "upload_progress_"
    & u& J% O2 X0 J
  1523. ; http://php.net/session.upload-progress.prefix- f  n. R) i" a8 G$ w
  1524. ;session.upload_progress.prefix = "upload_progress_"
    % U; p2 `. ]9 m+ c+ ?% E1 H1 z+ e

  1525. 3 e) J. ~8 j6 `: x' A9 u
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    # g; i3 p6 V; S3 S
  1527. ; containing the upload progress information
    / q% U, {8 q) L9 Y8 d. v8 n
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS", R8 ?" _+ l4 U+ r8 B4 h, k
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"6 Q3 H7 k4 x0 }6 z4 E. s6 O: B
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"& Y2 {4 ]) P& [- ]4 d# P$ a  {4 K
  1531. ; http://php.net/session.upload-progress.name2 q. @+ \6 |5 u: r, j& H. p
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ( z* A/ K- u8 b, m4 W' F

  1533. 2 |) }- O- T. |9 e9 x' |' F2 i) e
  1534. ; How frequently the upload progress should be updated.
    + h& x% k/ y! Z$ W! u& j7 K, B9 U
  1535. ; Given either in percentages (per-file), or in bytes# G, v3 j1 r3 V
  1536. ; Default Value: "1%"
    6 u$ y! h! m2 v2 x( \( D! j
  1537. ; Development Value: "1%"
    5 e7 F# m) d( m( o( e" A7 U. T1 m
  1538. ; Production Value: "1%"& E8 Q# ]9 b1 x: V5 z
  1539. ; http://php.net/session.upload-progress.freq
    ; D3 I# t5 v4 e2 s% U/ [; o6 _- q
  1540. ;session.upload_progress.freq =  "1%"' Q+ y: J+ v5 ~' V8 m7 v. X

  1541. : e8 n4 A" V  ^6 Q  _
  1542. ; The minimum delay between updates, in seconds
    6 P/ v9 g3 ?, x
  1543. ; Default Value: 19 J  s% ~/ m; H0 N4 i0 `3 W
  1544. ; Development Value: 1
    ! s3 c3 t5 P% d3 l, T8 S2 m
  1545. ; Production Value: 17 ?1 E6 M) G/ r( s" Q- _
  1546. ; http://php.net/session.upload-progress.min-freq) k$ s1 ?9 W: w# a  S
  1547. ;session.upload_progress.min_freq = "1"
    2 g" }( ~! Z5 M& R0 A) L# T& w& x
  1548. # B8 [4 ]  @9 D; K8 M
  1549. ; Only write session data when session data is changed. Enabled by default.$ U* g3 D# @4 }( l( j2 |; F# n
  1550. ; http://php.net/session.lazy-write
    9 {$ P, b) U/ A" y" P" E& F
  1551. ;session.lazy_write = On
    ( t& h( ^( ^' ]9 A+ h3 F- x

  1552. - I( m$ i5 s3 y( d! b  R& e% {
  1553. [Assertion]0 W: }% M) H, {) R) M0 Y+ A$ Z
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)2 z8 w3 P  h( V$ v0 K$ F
  1555. ; -1: Do not compile at all
    # x1 P6 b6 j: C
  1556. ;  0: Jump over assertion at run-time
    # z$ U0 H2 C/ s
  1557. ;  1: Execute assertions
    : \) k8 F$ J4 {" r* l
  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)3 q+ s* K8 X' h: G# Y, M, q
  1559. ; Default Value: 1
    2 K* Z- u' i  b1 q# Q
  1560. ; Development Value: 1
    ) K2 c/ }* Q0 e" C! x6 M! e5 c* f
  1561. ; Production Value: -1
    7 ^% m7 k) m" {" g0 m; h
  1562. ; http://php.net/zend.assertions- h5 o! \" [5 S5 ?: H' ~# q$ e
  1563. zend.assertions = -1
    " H( C" P' f! ^+ u

  1564. 1 a! H0 N$ F: |% p3 h6 K, @
  1565. ; Assert(expr); active by default.4 z" w% R& @6 G% b( C+ h8 L1 g( I8 I
  1566. ; http://php.net/assert.active
    0 `# {% A% k* Z: p8 @9 m
  1567. ;assert.active = On
    ' F, x, U  [# d* B6 N

  1568. 0 b9 J3 O  ?7 z/ ?! Q; h4 h
  1569. ; Throw an AssertationException on failed assertions
    8 Q" c( w6 w% O3 h
  1570. ; http://php.net/assert.exception
    % @) u* _6 D/ p0 ^8 J
  1571. ;assert.exception = On$ @7 I# F+ p: W: w( D

  1572. : A( D# G- B- C& ?7 S$ [, z
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    $ w( ^) T+ _+ o! L" L9 I
  1574. ; http://php.net/assert.warning
    / `! B6 {" A, `4 C2 h
  1575. ;assert.warning = On
    , h% ~3 I) k% J! I: F6 z
  1576. 2 q  @% G% O( I! Y' k, _; m0 |) v
  1577. ; Don't bail out by default.9 Y0 A' X/ ?6 [. O" r! \: _8 e2 T
  1578. ; http://php.net/assert.bail
      s' B& C/ G/ w7 p% Y
  1579. ;assert.bail = Off2 ^* }/ q  d1 u$ {! R/ G/ f

  1580. 8 {( F* ]. `+ Q) S8 F  a
  1581. ; User-function to be called if an assertion fails.- O7 @0 ^+ v6 w- W6 Z1 s  t
  1582. ; http://php.net/assert.callback: @+ N# v) N( L  c! V* E$ q% ]6 L
  1583. ;assert.callback = 0. D; X/ e  F; _5 g9 {! T

  1584. % d+ u7 c/ p8 K) z+ _; ?! f+ g
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    . i  M: q" O6 R3 D% W. h; H2 }
  1586. ; error_reporting(0) around the eval().
    8 I5 [# q, d! z1 v, y1 d0 p
  1587. ; http://php.net/assert.quiet-eval
    ; T# B4 M+ Z4 a2 m1 y, {
  1588. ;assert.quiet_eval = 0) N: c2 D( `* h9 l$ ~9 X# r
  1589. + C. v  G  c! Y
  1590. [COM]
    0 C2 S; Q0 ~3 s& v
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    7 b: i# B+ v4 @0 f2 \
  1592. ; http://php.net/com.typelib-file5 Q- s/ D4 j" y
  1593. ;com.typelib_file =
    % o# o# V: c, t8 h) H; q+ x0 I

  1594. 5 q; U% Y' G3 b/ p
  1595. ; allow Distributed-COM calls
    / B' Z- ~  Z; u0 ~9 O) {
  1596. ; http://php.net/com.allow-dcom) Y4 o: s7 \9 }7 o8 ?/ Z& ?5 A
  1597. ;com.allow_dcom = true
    ( H/ L. }2 B' H" [: W, j3 ?

  1598. / U  [5 O; F! ^* K
  1599. ; autoregister constants of a components typlib on com_load()
    " l- P1 a0 D+ Z% x& K/ E/ g6 J* O
  1600. ; http://php.net/com.autoregister-typelib$ v2 v4 u( H2 f' `' @
  1601. ;com.autoregister_typelib = true
    6 g6 _8 ]+ h; m+ {( O
  1602. 5 V" L, N; L- `1 e
  1603. ; register constants casesensitive
    4 S6 H7 h( M( b
  1604. ; http://php.net/com.autoregister-casesensitive
    ' ^% D& I! K0 r: V8 y
  1605. ;com.autoregister_casesensitive = false% `# H2 j' n) r* e" f0 m/ W
  1606. 3 i  v: C* ^1 k- T" y5 W0 c
  1607. ; show warnings on duplicate constant registrations: j  h1 |- E) O4 [, z
  1608. ; http://php.net/com.autoregister-verbose
    + n. L2 w, |8 u+ o8 i# ]" w
  1609. ;com.autoregister_verbose = true  g% \2 t+ V! {. U
  1610. ) g9 N) w/ {* K* h: E3 [/ i. }8 h( v
  1611. ; The default character set code-page to use when passing strings to and from COM objects.6 }: V4 k* N0 b
  1612. ; Default: system ANSI code page. Q" _5 e8 C" a$ @+ e) s
  1613. ;com.code_page=
    5 ~1 G  Q# M+ |5 t% J/ w0 f" K
  1614. / k6 Q5 W9 u4 T, S3 L
  1615. [mbstring]  k! [0 ^' [  b1 r
  1616. ; language for internal character representation.
    ) Z. s( s( _- t; f) d+ D  s% e
  1617. ; This affects mb_send_mail() and mbstring.detect_order.9 I- |' I+ Z+ t) v; s8 m8 s
  1618. ; http://php.net/mbstring.language* o" J0 [  U$ J/ s
  1619. ;mbstring.language = Japanese' J4 e- Q) U' u; P7 }* b/ `1 R4 }
  1620. 9 J& z, B3 V0 ?6 v
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.7 r) L1 N& U  h% u4 R1 ~- w$ p
  1622. ; internal/script encoding.
    7 P1 o. _9 V" D+ P! o( I) L
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*). W+ e4 e! z0 W9 [) l8 ^/ O
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    0 i2 X0 g- H" [8 r0 M8 c
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    / G1 T6 D# M. u
  1626. ;mbstring.internal_encoding =
    % Q1 R1 I; m* a. k
  1627. ' A& C& D# k& @7 `8 F
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    6 [* d, F" s! V5 L- e* M4 |
  1629. ; http input encoding.
    0 O) T8 |  X, J; H9 ^
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.% g+ A6 T- z0 d# @$ X6 E: L. W0 g2 x
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.6 X3 m( f# C$ H2 X
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input/ o3 U3 s! R" j( X) r9 |& w3 c
  1633. ; http://php.net/mbstring.http-input
    8 T/ ~0 j6 ]+ n7 D  I" k
  1634. ;mbstring.http_input =
    1 d" l% q, [9 `( M2 v
  1635. $ c5 {7 o0 D$ \- w1 _! h
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ' l2 N( `* Z0 r8 T/ ], K8 g- N/ C
  1637. ; http output encoding.% h, ?9 G3 o  |% M, H$ K  k$ ^
  1638. ; mb_output_handler must be registered as output buffer to function.# o2 u& B, ?; R' m% S, d) i
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.4 p. E" |  Z; L; {& |( D
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output# o$ K2 Y  @; S+ a3 m$ |
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    7 h9 O# H+ J5 W& u+ a& P8 @0 F/ Y' `
  1642. ; otherwise output encoding conversion cannot be performed.
    ; A, Y4 L+ U6 }3 b$ ?2 `
  1643. ; http://php.net/mbstring.http-output; d# M( Y8 c4 X% `& b5 k& W
  1644. ;mbstring.http_output =
    7 \4 n1 m( L4 Z. U5 r  a6 j
  1645. * ?% A1 z0 G# G3 L) [
  1646. ; enable automatic encoding translation according to
    8 ]: Y% [( f* U! S4 G
  1647. ; mbstring.internal_encoding setting. Input chars are$ \! ^0 T8 e6 k) Y" l
  1648. ; converted to internal encoding by setting this to On.
    6 _8 b/ J3 L) m6 M9 |, K
  1649. ; Note: Do _not_ use automatic encoding translation for: ^" @! K/ h" d5 b! G" j) ?; w1 ^
  1650. ;       portable libs/applications./ W4 g& |4 K9 _% ^# K5 ?
  1651. ; http://php.net/mbstring.encoding-translation
      x) E% |8 @) V& e3 s( R
  1652. ;mbstring.encoding_translation = Off
    + `( a& I+ C* [
  1653. 3 Y% m+ }6 K: h
  1654. ; automatic encoding detection order.
    * b( f: T" k6 _) Z5 r3 L
  1655. ; "auto" detect order is changed according to mbstring.language8 S' A; M6 Y3 R
  1656. ; http://php.net/mbstring.detect-order
    ; g: R& z3 J2 L: F
  1657. ;mbstring.detect_order = auto
    5 @% K. f0 B( }

  1658. 6 }" Q! k1 [$ l' k' P
  1659. ; substitute_character used when character cannot be converted# i0 R! ^. s  H. q) J
  1660. ; one from another; f6 e: L7 T: _! G3 M
  1661. ; http://php.net/mbstring.substitute-character/ Z4 A- d' m! n
  1662. ;mbstring.substitute_character = none: f4 z, r; W, o, ~& m% s

  1663. $ }, x1 r/ I- }; K
  1664. ; overload(replace) single byte functions by mbstring functions.# p2 w& l; B8 S# P  f9 n% L
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    " g; I! s7 H: p& b& Z+ G
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.8 }1 k% q- ~$ _4 w% {) i
  1667. ; For example, 7 for overload everything.
    1 B7 _/ D+ j/ p5 F, W( \: q
  1668. ; 0: No overload
    * R! e# u% {, O& B
  1669. ; 1: Overload mail() function
    3 p& O5 e: u2 J+ A
  1670. ; 2: Overload str*() functions) w% f- q7 m4 l# h
  1671. ; 4: Overload ereg*() functions& q2 i" u! j# W; U* @1 h) x* S; J
  1672. ; http://php.net/mbstring.func-overload3 y! W9 g* y, `% f( r
  1673. ;mbstring.func_overload = 0
    * f$ D8 G- X8 U- e2 P+ [
  1674. / p) I7 Y: h8 o# x7 t6 e1 c3 i
  1675. ; enable strict encoding detection.
    6 v  `7 v& t. Q  c( C2 f0 G
  1676. ; Default: Off
    : ]' a4 q4 P$ n0 H
  1677. ;mbstring.strict_detection = On8 D! Z: g* q8 g; `* T- p9 v8 p. E
  1678. 5 F. U4 g; Z4 y' T8 g7 Y1 |1 N1 O
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()9 B7 Z" q+ _- P* n5 l- {
  1680. ; is activated.; q, q6 S4 B& u: o
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ) P3 J6 ~9 V1 u/ [  a) G2 p
  1682. ;mbstring.http_output_conv_mimetype=
    . d; p# r1 y: ~3 v
  1683. 7 w# S9 C- T& s4 W# J
  1684. [gd]4 q9 A8 F' P: Y  m/ Z& B* V6 J
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    ; @  w/ ^. t7 b2 k3 ~8 v% }" a, I
  1686. ; a gd image. The warning will then be displayed as notices
    $ R$ K2 t) l# w4 D
  1687. ; disabled by default
    ' y3 d, |% K7 ^5 l* R* K
  1688. ; http://php.net/gd.jpeg-ignore-warning
    * W$ p" y! a. i" y( d" `0 [
  1689. ;gd.jpeg_ignore_warning = 0' c! }& M- ?! f; x* D
  1690. ( f0 i' U+ F/ Z& J7 l/ P+ T
  1691. [exif]; ?6 V' }& ]5 J4 z% j+ N/ `3 X( M
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.& _' D! a( K5 _* t" k, Y
  1693. ; With mbstring support this will automatically be converted into the encoding  q( _1 A/ n" i' l& Y" \7 {
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding5 S& ]* ^  A& `4 E* C" I6 b
  1695. ; is used. For the decode settings you can distinguish between motorola and
    7 j: a, e& ~/ ^+ @$ |
  1696. ; intel byte order. A decode setting cannot be empty.
    + \- u$ R1 w0 j4 V& O. F0 ~3 f
  1697. ; http://php.net/exif.encode-unicode
    " h6 j, n, Q0 ?; z: S
  1698. ;exif.encode_unicode = ISO-8859-150 G5 T9 [% r, Y% ^. E
  1699. 5 l/ U# K6 S0 U5 @& t
  1700. ; http://php.net/exif.decode-unicode-motorola
    5 g8 Y6 Y7 H0 |
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    ( d& |1 u0 Q+ U- [# r5 i. A" X( u

  1702. , r! U6 H% q/ s: s$ ^) m  _
  1703. ; http://php.net/exif.decode-unicode-intel
    2 v9 G( J/ f5 r: f, V/ T  O* u
  1704. ;exif.decode_unicode_intel    = UCS-2LE( }* [$ t0 h! y1 R
  1705.   v" L9 n; G& M' W, a/ B
  1706. ; http://php.net/exif.encode-jis2 i6 F( I7 }( u3 I- y- F
  1707. ;exif.encode_jis =
    5 ~% ^6 }2 E8 D* g0 `

  1708. 5 O0 c4 R3 _- W6 G7 _& o8 R
  1709. ; http://php.net/exif.decode-jis-motorola
    5 {1 Z% n9 e2 q
  1710. ;exif.decode_jis_motorola = JIS
    7 C5 p' o9 h7 E/ F! R) N

  1711. 7 I; q( }$ `9 G: C& S
  1712. ; http://php.net/exif.decode-jis-intel) S. ]3 M. D2 |% c2 I" N
  1713. ;exif.decode_jis_intel    = JIS
    3 B. K% j+ I6 y$ V
  1714. 8 ~: Z4 M  l/ [) _1 [! I5 t
  1715. [Tidy]$ k4 B! G" x9 M4 R0 O
  1716. ; The path to a default tidy configuration file to use when using tidy
    8 ?5 u( r  e* C, N; L3 h
  1717. ; http://php.net/tidy.default-config! b( O1 }5 u% I4 s7 G
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ; S: q5 N8 q$ S* [' c
  1719. + w" G: g3 r" _5 I# o
  1720. ; Should tidy clean and repair output automatically?6 ?; y% Z/ K* [
  1721. ; WARNING: Do not use this option if you are generating non-html content, o5 T0 H' P1 L& y
  1722. ; such as dynamic images1 B' ~- p5 M8 L& {
  1723. ; http://php.net/tidy.clean-output
    # u/ L% |" g# D% u* D
  1724. tidy.clean_output = Off1 J6 l+ A% b) A. {1 [0 r0 @: Z  d: J
  1725. " }% J, [2 m' R! g/ Y3 F
  1726. [soap]. U2 Y; z* j- Z0 p) B: b4 @
  1727. ; Enables or disables WSDL caching feature.
    " M+ Y. W9 U: A/ n( X5 K6 w7 y
  1728. ; http://php.net/soap.wsdl-cache-enabled
    * z) `  a1 G! \- \
  1729. soap.wsdl_cache_enabled=1* L, Z% d7 C, f# q0 U

  1730. 1 P) A! O, y+ D
  1731. ; Sets the directory name where SOAP extension will put cache files.* r) J* |$ c. I9 |& B; n+ A
  1732. ; http://php.net/soap.wsdl-cache-dir3 f: z, K: k$ i2 s' G8 P
  1733. soap.wsdl_cache_dir="/tmp"0 C6 Q4 G1 e8 s/ X, d- Z" h

  1734. " ]0 Q3 I3 K" ]3 |
  1735. ; (time to live) Sets the number of second while cached file will be used) |9 ~$ x5 d9 s: q  u
  1736. ; instead of original one.
    # S& s: `+ X# _0 L6 C+ s+ ~1 K
  1737. ; http://php.net/soap.wsdl-cache-ttl
    ' _- {0 g9 `1 C; c" g7 Q  y( c6 L
  1738. soap.wsdl_cache_ttl=864001 H5 {4 @* b" `- Q3 q
  1739. 0 p2 |9 S, V( h2 d. c" N; f0 E) _
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ( i" U0 d# E: [" }+ I
  1741. soap.wsdl_cache_limit = 5
    6 k0 D) ], k% @# ~0 _7 G. t
  1742. # L4 d- m' h" p% K8 Q, e
  1743. [sysvshm]
    " p9 V; a+ F5 J* \: n! @; d; Z
  1744. ; A default size of the shared memory segment; Q" W# N* t* [, Z
  1745. ;sysvshm.init_mem = 100006 {& C6 @/ R" b5 m
  1746. 0 `  K4 @, a1 A0 N* i( u2 P2 O
  1747. [ldap]9 V, y, V& j: o
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    ' ^4 Z4 c. E+ @) I5 i. s: j
  1749. ldap.max_links = -1
    & r% L9 w% K. i% r% e9 o

  1750. : A3 P6 \! w; C3 U& ~  r
  1751. [mcrypt]
    , i9 B# [2 l! @' r
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open" R! k* o, S: f- T

  1753. ' h. w2 u4 v: c( R; G1 q2 [
  1754. ; Directory where to load mcrypt algorithms+ h( M" V, x7 g9 ]1 _3 Y
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    $ r1 Z5 s% `( F
  1756. ;mcrypt.algorithms_dir=+ @+ T5 r3 h3 ~# X8 W6 Z0 a

  1757. $ c: `; p) O  Y. f* m
  1758. ; Directory where to load mcrypt modes: {: s5 R2 Y! r$ V* ]
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)9 e8 N! ]' s# p1 F, r
  1760. ;mcrypt.modes_dir=9 i; w! ], {" S7 ^6 b! g

  1761. 0 P5 @& {3 i, a# A
  1762. [dba]) q- D2 _) H0 q, x8 @7 A/ o
  1763. ;dba.default_handler=6 }* c; r0 D$ d6 [

  1764. 6 o! h. }. `$ u" s! M$ V+ n9 [
  1765. [opcache]
    & Z  p; |/ b6 x, p" ~" q! ]
  1766. ; Determines if Zend OPCache is enabled5 A+ i/ S. F* B
  1767. ;opcache.enable=0! Z0 C6 {0 T4 g4 C9 W& f7 |

  1768. 5 n) @* i. y9 @" X
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ( V- S4 f8 h) v3 e: R
  1770. ;opcache.enable_cli=0  i  O4 ~- K, h/ k$ v+ _  `# F2 B

  1771. % P7 L2 o/ }! h4 j% F5 K. o
  1772. ; The OPcache shared memory storage size.+ z+ `0 {1 _: H" V7 I0 z
  1773. ;opcache.memory_consumption=64+ t4 M! J8 h8 z4 _4 {1 T  P# q
  1774. ; w% r# |& r" Z4 M* O: c
  1775. ; The amount of memory for interned strings in Mbytes./ l) K7 I$ I4 w/ t" H" ]
  1776. ;opcache.interned_strings_buffer=4  s6 o! l2 `% ]  r/ ^' C9 M

  1777. ; a/ v3 Q4 v, z4 |7 ~
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    8 {; c" K3 n% m, R5 I2 h1 Z
  1779. ; Only numbers between 200 and 1000000 are allowed.( D3 ~, a4 G1 l- V  {: G9 l
  1780. ;opcache.max_accelerated_files=2000; u: ^5 {0 f% i. a. b6 g) M1 h
  1781. 3 g1 m7 q4 H2 }* O( g  ~9 A  J
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    4 F1 z' E* _5 C1 u* T0 a
  1783. ;opcache.max_wasted_percentage=5
    ; C0 s% A" W9 ], r+ c) V# v7 h

  1784. - w: v$ Z1 N8 U6 B5 i
  1785. ; When this directive is enabled, the OPcache appends the current working
    5 q1 A9 C: l# }4 [7 w, T( K
  1786. ; directory to the script key, thus eliminating possible collisions between* o7 [9 d* U% `7 [% {& p8 ], C
  1787. ; files with the same name (basename). Disabling the directive improves8 x6 v0 D5 u8 m  C  G. H& O
  1788. ; performance, but may break existing applications.
    ' G; t0 U1 Q* o! o
  1789. ;opcache.use_cwd=1- i+ t6 ?8 p6 P; T: R

  1790. 6 ^8 u2 n3 s  V2 s
  1791. ; When disabled, you must reset the OPcache manually or restart the+ H+ v- h7 ^6 q( Q
  1792. ; webserver for changes to the filesystem to take effect.8 z3 ^0 h$ k- d; y) y3 _8 B
  1793. ;opcache.validate_timestamps=1
    % B- g5 M# L  O; T

  1794. 8 I- u! N" H# a0 `  E
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ; Y. q: K1 b( \! E
  1796. ; memory storage allocation. ("1" means validate once per second, but only* \7 Z* @- {' @( t: d
  1797. ; once per request. "0" means always validate). Q3 i) {/ \- a0 U& z
  1798. ;opcache.revalidate_freq=2
    - Y1 h4 l/ d+ s) b  z

  1799. ! i) i) n/ M( d) C8 Q
  1800. ; Enables or disables file search in include_path optimization, G+ {' P5 a' ?
  1801. ;opcache.revalidate_path=0; d; b: _8 Q. T! O7 B
  1802. ) M  ^" A1 V' i$ I$ w4 j, T  E
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    8 G7 E" A: H. P; D  k  b
  1804. ; size of the optimized code.% {$ `! U5 U5 J# t5 p- `
  1805. ;opcache.save_comments=1
    , H( F! x' T9 ^

  1806. 8 P4 h3 ?4 ^: t+ p4 c
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code# d4 Z4 W$ ]( q# J
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    5 M# h6 Z, P: s& V# H: F
  1809. ;opcache.fast_shutdown=03 L) w0 j7 V( b( X+ \* _
  1810. + F- p3 ?' K0 `4 Q" h. X
  1811. ; Allow file existence override (file_exists, etc.) performance feature.7 p4 n0 I7 r, _* D! T
  1812. ;opcache.enable_file_override=06 a# {7 u; ?# [- Q7 c
  1813. , ^: E" Q9 O) @; s8 U( ^
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache) u0 w# l3 O7 L' n0 S8 ]
  1815. ; passes' K8 z, w* C( M4 S
  1816. ;opcache.optimization_level=0xffffffff# }6 A, T; p7 `" e& ]! o  |

  1817. 9 v% y4 |# b: T7 H8 p
  1818. ;opcache.inherited_hack=1  W+ B- x3 ^5 v) p7 m1 l
  1819. ;opcache.dups_fix=0
    : ]( @! M' @+ r8 u& i
  1820. 0 {' o% E4 z# k3 C4 r- ~% c+ e
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    * F* `" b4 J  C# e3 O
  1822. ; Each OPcache blacklist file is a text file that holds the names of files0 c  s9 e, z- _+ J: {
  1823. ; that should not be accelerated. The file format is to add each filename
    4 s$ d* t0 E: w) o+ ^
  1824. ; to a new line. The filename may be a full path or just a file prefix
    9 j9 ~" _5 e( x+ @3 x$ H* o
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www2 N: l7 ]  I2 u; B- S
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).( h8 ?, D# p" @% I! e4 Z; l8 S: F# a8 G
  1827. ;opcache.blacklist_filename=
    + @6 P7 e4 a- a3 |2 [. I" ]

  1828. 1 _' g: u  ?, b; s. G) g
  1829. ; Allows exclusion of large files from being cached. By default all files% |9 k& v9 T' j. h! y; ~
  1830. ; are cached.9 i/ N4 T* y. ?) r7 H0 e
  1831. ;opcache.max_file_size=0
    9 u% a' j5 J, C) l/ S
  1832. 0 S. g% `5 b' y
  1833. ; Check the cache checksum each N requests.3 V! ?; M9 ?5 v; d' p  E
  1834. ; The default value of "0" means that the checks are disabled.
    9 D: h! x8 A) ?3 V# G9 r
  1835. ;opcache.consistency_checks=0
    # [- X+ B& G6 D; g9 A! g3 l  B/ l

  1836. , r% {7 ^. x8 {. z+ P& p- }
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache+ D% h% i. u3 T3 L; {5 U* \0 Q& L- s
  1838. ; is not being accessed.
    : T2 N( `, z  l/ a& U+ e
  1839. ;opcache.force_restart_timeout=180
      c# T# J/ Y2 g# H8 X$ j8 c" I

  1840. * g# A5 l, t, I1 z
  1841. ; OPcache error_log file name. Empty string assumes "stderr".9 r+ e/ ~1 _( a8 k2 m3 `9 c1 y
  1842. ;opcache.error_log=
    ! L8 }  ~: F, N) p  B0 S0 X
  1843. 6 G% [$ w, k5 \: ~: f
  1844. ; All OPcache errors go to the Web server log.! ^) R& C1 E" ?+ A
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    6 g' T5 O  {; h5 C
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    9 Z8 g0 b8 K6 X& T- r. R( L+ q
  1847. ; debug messages (level 4).
    ) a( _' f3 d9 ]+ X1 {- E
  1848. ;opcache.log_verbosity_level=1
    . Q) Z9 m( `) x- o3 U4 `

  1849. ! b" }" y2 m6 X& u, z# i
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    / w- G8 ]9 o0 y* J2 f5 b
  1851. ;opcache.preferred_memory_model=
    7 Y" o6 ~- K$ B/ R0 D! q

  1852. ( W( I: m+ U: j  s- ?6 W: z- U
  1853. ; Protect the shared memory from unexpected writing during script execution.
    , x& k) L2 g2 e, G3 P4 W# T1 R
  1854. ; Useful for internal debugging only., A3 F/ l  V+ W
  1855. ;opcache.protect_memory=0
    5 ], T: l7 M, S
  1856. , J! g8 a7 A! A) ^$ z! P
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is/ c6 t# S- b8 J/ l! y
  1858. ; started from specified string. The default "" means no restriction* L+ W8 u. E; d7 Z9 k
  1859. ;opcache.restrict_api=1 }7 a( W2 j- o% R6 f& A7 G2 b
  1860. + a$ c6 d; f. C3 Y1 O$ s& _
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP* q4 r5 X: L" ]& S: |, h
  1862. ; processes have to map shared memory into the same address space. This! N3 v) I6 c4 C, h) R5 b
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    ' O' G% F  {8 ?0 V& D7 Z5 @, F6 v
  1864. ; errors.
    3 f' q& @: }" n) J8 O- g
  1865. ;opcache.mmap_base=
    ! {0 x$ O" o5 s+ S. s& L
  1866. * p) F1 V  `% y
  1867. ; Enables and sets the second level cache directory.9 W( y) Y/ c1 L
  1868. ; It should improve performance when SHM memory is full, at server restart or. _( A* G9 p$ q" P& i( b
  1869. ; SHM reset. The default "" disables file based caching.& c2 x: x7 ^  L7 K% \) o
  1870. ;opcache.file_cache=
    " Q1 k; @; P' {9 P

  1871. ; H2 @0 a, H0 [% `- u, c5 P: Z. Y
  1872. ; Enables or disables opcode caching in shared memory.
    ; h* J' I" y7 A, B5 H* D9 n
  1873. ;opcache.file_cache_only=0" b) _, Z5 G, ^9 c8 Z

  1874. ; `' V% x" F$ G) _
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    " ~1 E8 N, v; A' B* w: h
  1876. ;opcache.file_cache_consistency_checks=1
    ; ^$ w, v6 x& l7 Z+ r& T0 ~7 |  Q

  1877. % N: x: b9 s/ m2 p& [) G
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    0 t" r) A. Q- M. y+ d. O
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file' N) t' O4 ~6 q! p) {/ L
  1880. ; cache is required.
    3 u# o7 O6 K, P6 U9 t
  1881. ;opcache.file_cache_fallback=1( H: U, z* s% F+ w! |( U
  1882. ' ?+ W1 b, v" B
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    2 m7 Q) V0 J, t% o% a- G7 E
  1884. ; This should improve performance, but requires appropriate OS configuration.
    9 l8 X& J7 p3 O0 d, ~& v1 e4 A; I
  1885. ;opcache.huge_code_pages=16 [2 F! V" F/ ?7 H: N
  1886. " x, I& m* c# H/ k" O" L! M* f' D& c
  1887. ; Validate cached file permissions.
      O1 |9 U$ P9 E+ M
  1888. ; opcache.validate_permission=0
    7 B. c1 l4 Y" h$ c5 o" Q
  1889. 0 R2 g6 [: x# F" ]
  1890. ; Prevent name collisions in chroot'ed environment.' f0 p3 _5 {4 J( Z  U
  1891. ; opcache.validate_root=0
    # R7 ^+ d) ]* k- ^( q

  1892. 3 k: ~+ i, i' c' B+ k2 R: j
  1893. [curl]
    5 B- r; z  s4 [$ E6 }
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    & t" M2 m! a9 y, L% [1 H
  1895. ; absolute path.
    # m: P7 o& p& U% o- G
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt* Z2 J1 \/ F) [+ n  p) X
  1897. 1 ?5 Q5 S8 G8 D5 i8 _/ e9 h
  1898. [openssl]
    3 ]/ D) L  L* W' X1 w$ @/ U2 p
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem) J4 K$ w. ?2 l* m2 c
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should, M( V/ z: Z* t3 S2 b3 W1 J9 t
  1901. ; not specify a value for this directive as PHP will attempt to use the( X( V* u3 \" m6 i/ Z9 n7 g2 ]9 |
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    0 W0 K3 B. t- A: P2 A8 h& r
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context* F0 R6 [4 K8 I, }
  1904. ; option.
    1 r- \3 I4 x/ @- P9 Y1 H
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    1 _0 f7 j2 B! ?4 D' P7 F3 L5 {
  1906. # Y! |, P& D/ Q5 a' q
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the0 R, c& Y3 B) E, A. ]8 C, D3 r1 T+ ~
  1908. ; directory pointed to by openssl.capath is searched for a suitable7 K6 r( O, X& B6 V) l+ t3 r, D$ }( W0 a
  1909. ; certificate. This value must be a correctly hashed certificate directory.4 g; ~1 V/ d2 c$ B# ]8 x1 G
  1910. ; Most users should not specify a value for this directive as PHP will5 n* C$ r2 ~1 D
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    # R0 B$ l* ]" P- n5 m
  1912. ; this value may still be overridden on a per-stream basis via the "capath"2 d8 Y; _9 E8 o& s' ^
  1913. ; SSL stream context option.
    , |/ {/ G, h; g; i  K5 _$ P9 Y# T
  1914. ;openssl.capath=, ^6 R, T2 d& ]6 B2 [- h

  1915. ( S$ k; t, p" r
  1916. ; Local Variables:+ a4 `" d+ B: V3 A3 ?' b8 ~1 c) A" ~
  1917. ; tab-width: 49 j; b: @" [. y' q) ]
  1918. ; End:
    2 q7 D1 S. d8 m' |9 g; U$ |

  1919. . L9 ~$ p" i* A2 R
  1920. ;eaccelerator
    # J$ N) h& q) q' E8 r2 y8 I' I

  1921. + n% q2 O- E, M9 l, S& `4 F
  1922. ;ionCube
    9 M2 q1 c, c9 o2 d

  1923. , \7 z  n, X. U; x! n3 X& r
  1924. ;opcache
    . k5 f6 E+ u5 g1 {
  1925. " `1 h! l$ F) [: R8 g# [
  1926. [Zend ZendGuard Loader]1 f2 O( k5 J& _" k2 N! A$ Q9 Z' m
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
      M0 o! f7 S3 T( X, `
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    7 M$ q+ b! a/ S/ q8 c" J
  1929. ;zend_loader.enable=1; L5 H5 v, o5 e; x+ D7 r1 i" m- U
  1930. ;zend_loader.disable_licensing=05 i# N  _: U, X- H9 a# w
  1931. ;zend_loader.obfuscation_level_support=3
    7 z- g% Q- x$ l, u  a# W
  1932. ;zend_loader.license_path=& R+ c* K5 n9 ?7 k

  1933.   C  d* p1 {$ H+ q8 w
  1934. ;xcache! p; W9 @9 b( G+ ]( h$ v* H

  1935. 7 H7 Z& Q2 e. k- y. A/ _$ V
复制代码

, g. }% B) f' G+ }( U% p1 ~* x/ M
9 A$ }2 @' e, z! @
/ _; v8 x& B1 Y
" |$ D: z- @: i" b% [5 ]
$ J3 c7 V! s6 I; G+ [, }

. ?; s; a# ^) R) ^: }9 t" @" xPHP5.6版本原始设置: g% G& Y% D+ J. B6 H
3 u$ ^# G" u/ v
  1. [PHP]
    & ^; {( H; c$ J% G2 e, Y: d
  2. + X4 F% l8 y+ ~$ ]( {
  3. ;;;;;;;;;;;;;;;;;;;
    ) Y7 q3 {3 q9 ]' l$ K! j9 V
  4. ; About php.ini   ;' p/ }! [$ G: Y3 ~
  5. ;;;;;;;;;;;;;;;;;;;! Q: x0 N; |( i$ g
  6. ; PHP's initialization file, generally called php.ini, is responsible for8 Z9 k* H& K6 ?& E* {' \1 }
  7. ; configuring many of the aspects of PHP's behavior.2 T4 u4 z2 q  @' U4 F2 k( a
  8. + l2 r  j' X7 M6 A" V
  9. ; PHP attempts to find and load this configuration from a number of locations.
    + J. c% g3 R. A2 H0 A. ~  [
  10. ; The following is a summary of its search order:: _) E  T0 c1 {* j. H
  11. ; 1. SAPI module specific location.; k& l+ b( [, _# L
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    - c# s) ], V9 q, _$ R
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)* A2 e8 M; E% k8 T& z* L4 q
  14. ; 4. Current working directory (except CLI)
    2 ~0 a% G3 a) W+ r
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP$ _' H9 `1 e8 R  d$ v, l
  16. ; (otherwise in Windows): f, v+ ?4 u* j9 C
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    " Y% b0 L3 R' A# Z! P
  18. ; Windows directory (C:\windows or C:\winnt)7 n' l2 R' B. c5 o1 c
  19. ; See the PHP docs for more specific information.' u. ]2 F% T: \; Q1 O5 W  ~
  20. ; http://php.net/configuration.file2 U; B8 C& X; k* G

  21. 3 X% |/ W4 G& P" {0 s8 W
  22. ; The syntax of the file is extremely simple.  Whitespace and lines' x8 j& M/ h( G3 [' w% g# O7 L
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    3 c! e  Y, l# i+ `" s: G4 ^- ?* V" }, [
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
      L/ c% p) J& s2 ?$ m8 O
  25. ; they might mean something in the future.; r8 H  h& i% M+ G% @( b; _, O
  26. $ M5 U2 m! X' O5 m! w
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ! `) b9 ?0 K. `0 u1 z
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    9 f; w- V% L" |9 {
  29. ; following the section heading [HOST=www.example.com] only apply to; W- p# t( @# L# |: \0 m: k
  30. ; PHP files served from www.example.com.  Directives set in these
    $ g$ U9 K9 G  j) X" `& A+ I. L
  31. ; special sections cannot be overridden by user-defined INI files or( q% p  T, M5 p2 L. E
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under8 k8 f  k' ~3 D
  33. ; CGI/FastCGI.
    ( Z/ k/ y6 B- O7 y+ j8 E
  34. ; http://php.net/ini.sections' d  d% @1 Q2 b% G7 [; V
  35. ! p4 H  x# g& b/ Y% R# L
  36. ; Directives are specified using the following syntax:
    ! m0 c( n5 t0 e$ |4 F% H3 t) S
  37. ; directive = value
    : p+ B, z$ M) a! W- D9 j4 R2 P$ k4 \8 M
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    % W$ ]3 R; {- [) s) C3 Q8 z0 h7 F
  39. ; Directives are variables used to configure PHP or PHP extensions.- J) _8 |# F4 k! H
  40. ; There is no name validation.  If PHP can't find an expected8 l0 G! y; |1 j9 U
  41. ; directive because it is not set or is mistyped, a default value will be used.
    6 E1 `; s8 ^' C) k8 [5 h  D# S
  42.   v' m2 L, r8 X
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    3 b- p  l  V! c1 X3 u1 z9 @; K
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    1 A. R2 C/ e0 b
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a) v1 P9 f. f0 ^$ e7 I' p: m
  46. ; previously set variable or directive (e.g. ${foo}); c. T! j+ c  U

  47. ; b, |1 H7 i2 J, y+ Y
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    # B/ g9 f& D! y3 H: P
  49. ; |  bitwise OR
    3 m) X' k9 {# h( ~/ ~
  50. ; ^  bitwise XOR
    3 o# N8 O* u' \- `/ y0 l* l
  51. ; &  bitwise AND, p! `0 B; G, F- P0 b  Z
  52. ; ~  bitwise NOT' j3 k# k& V! n
  53. ; !  boolean NOT7 E  q9 y8 r( s9 W% l+ }, i/ N% ^

  54. 4 [8 ?0 n7 Y4 P7 V. O+ P3 p# s
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.* I3 C/ ?3 D5 K1 N+ R
  56. ; They can be turned off using the values 0, Off, False or No.
    6 D6 p. c. X/ k
  57. " s  r7 W+ _4 L- D6 B
  58. ; An empty string can be denoted by simply not writing anything after the equal
    - G3 R" ~$ x/ S0 c
  59. ; sign, or by using the None keyword:
    8 P! Q5 S& h2 S; F

  60. / Q( z; M; A  F+ E( o- D- ~4 j! Y
  61. ;  foo =         ; sets foo to an empty string4 ]( l2 r- J" M! x7 M
  62. ;  foo = None    ; sets foo to an empty string
    7 L. s* Q8 I  a. G) i( R
  63. ;  foo = "None"  ; sets foo to the string 'None'
    5 |7 D2 Z$ b9 i  W
  64. 7 X2 B3 a0 S( @1 ?# i$ q. }1 a
  65. ; If you use constants in your value, and these constants belong to a8 l% b: N; p; y1 T6 s1 Y" o
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    " Z& _7 w7 |( D) l
  67. ; you may only use these constants *after* the line that loads the extension.# H3 j  n! _, n- ^, r0 n( w' @, m

  68. + X( i3 `+ |+ Y& t+ \5 a2 y
  69. ;;;;;;;;;;;;;;;;;;;
    2 v# e5 F# |! L% `9 g6 T
  70. ; About this file ;3 K0 ?+ ?) Y! n8 ]1 n+ F
  71. ;;;;;;;;;;;;;;;;;;;
    ( R9 ^9 u8 w3 `$ a, w
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    2 `+ R8 g. ]) n/ Q
  73. ; in production environments and one that is recommended to be used in
    9 ~; O+ B6 Z( ~% r; \$ c
  74. ; development environments.
    ( ^: p8 Y% x  k3 Z

  75. ' w- h# @6 x$ B/ f' `0 D9 [
  76. ; php.ini-production contains settings which hold security, performance and
    : j& w9 X+ s1 Q+ w, @5 u
  77. ; best practices at its core. But please be aware, these settings may break! W- {+ c! U5 f! X4 I7 c
  78. ; compatibility with older or less security conscience applications. We
    " S" m" o/ n+ W9 U" m
  79. ; recommending using the production ini in production and testing environments.2 B4 Z& H! B7 x8 w

  80. / M& i. u+ O( f7 _, F" ^
  81. ; php.ini-development is very similar to its production variant, except it is; i1 ]: f% m/ J) ]9 G
  82. ; much more verbose when it comes to errors. We recommend using the2 v. w$ n. H8 ?9 S
  83. ; development version only in development environments, as errors shown to
    * u2 G# o: b: x& k* r
  84. ; application users can inadvertently leak otherwise secure information.! X" z8 `! Z# D
  85. # V8 K7 e! |3 ^7 B" t
  86. ; This is php.ini-production INI file.6 i/ x  v8 H; \6 j
  87. 9 C: S& O; J0 K  f) b  e8 D* {; W+ i
  88. ;;;;;;;;;;;;;;;;;;;3 G3 C- S& u  H. n: J5 \6 `. y
  89. ; Quick Reference ;3 Z0 d4 v  L4 \4 c
  90. ;;;;;;;;;;;;;;;;;;;
    3 f$ ?0 k7 o" Y5 U- F( Y
  91. ; The following are all the settings which are different in either the production+ r! x: H; y! W1 N. q, K! z* V
  92. ; or development versions of the INIs with respect to PHP's default behavior.9 i; H* g6 ]0 K0 d& C
  93. ; Please see the actual settings later in the document for more details as to why" `. w8 k9 ^3 R* N: B! g+ E9 g0 _1 [
  94. ; we recommend these changes in PHP's behavior.& Q( N+ r- V# [' c
  95. 3 e9 y8 o& J! a9 }5 D2 Z
  96. ; display_errors
    ; S- W' F0 b1 A& ?! {
  97. ;   Default Value: On+ |' M7 p! M7 J$ f, R; V# ^
  98. ;   Development Value: On+ K# z4 S& I# a8 h5 i2 N3 N; V
  99. ;   Production Value: Off
      b+ d0 s7 b+ Y  ?

  100.   B3 x  w. u1 l, J
  101. ; display_startup_errors
    , ]. O# ]2 s6 ^/ ~" `
  102. ;   Default Value: Off/ V. ?7 `& b) a3 v( `: i
  103. ;   Development Value: On
    ) [; A- B! i$ g! J. g5 [* g2 Z
  104. ;   Production Value: Off, H! D9 S! J( X3 H( j
  105. , @  ~6 N$ |9 ?
  106. ; error_reporting5 C! S. J5 X3 A8 d
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED$ }6 M- V( E/ h  E$ d6 p& M% W
  108. ;   Development Value: E_ALL" N/ k7 V) P' Q2 M7 w
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    & b& t4 a: h( p* Y! R: e' Z
  110. 6 [: z' A3 F0 h
  111. ; html_errors
    " ]/ S5 K  H) r4 k4 U+ |% B
  112. ;   Default Value: On
    6 Z* H+ |; ~6 `3 u. d1 T: W, m
  113. ;   Development Value: On
    ) M1 b3 {- x( a
  114. ;   Production value: On
    ; D# _/ v$ `) t
  115. + P2 O: z' Y( k* d) D' x! L
  116. ; log_errors) o. m2 R; y3 p$ z
  117. ;   Default Value: Off( v9 ]* ~! m0 c4 s) ?
  118. ;   Development Value: On
    : G  F3 [5 b. Q, ?  ]+ C
  119. ;   Production Value: On6 u, q, M/ _2 i. y1 ^4 _( D% h

  120. * w# k5 ~/ F8 P9 w  x& S( S
  121. ; max_input_time, }0 F" k/ A( s
  122. ;   Default Value: -1 (Unlimited)
    6 B5 `3 {9 p" Z0 s) s3 ]  I1 t
  123. ;   Development Value: 60 (60 seconds)
    - a; p& C8 U; `  h9 L
  124. ;   Production Value: 60 (60 seconds)  u, R( z* D0 C0 ^: A/ A
  125. 0 q5 {" R2 ?7 }9 f1 g  b
  126. ; output_buffering
    0 |# m( a8 g$ K0 Z: Y; ]: r
  127. ;   Default Value: Off
      b- w1 S4 M. G# ]
  128. ;   Development Value: 4096
    8 _% E2 ]* t. _5 H/ h0 f  d0 {
  129. ;   Production Value: 4096: U* N$ {( N0 G1 M8 M7 Z8 }& f3 n2 u

  130. 1 E* i; }$ ~/ N" Q3 r$ }6 I
  131. ; register_argc_argv
    ; E0 W/ \: q' G
  132. ;   Default Value: On
    2 s( _+ u8 l: k; s4 g- {
  133. ;   Development Value: Off. C: W5 {+ I, V* c
  134. ;   Production Value: Off
    2 r( d5 y3 R4 g( {

  135. ) S0 m- [; p9 {5 f; u9 H
  136. ; request_order
    0 e! X/ L* K4 p9 i5 ]  u
  137. ;   Default Value: None
    1 v9 q6 g6 l# `' J
  138. ;   Development Value: "GP"
    7 T5 W3 n% |* j9 R6 Y+ F  _; e
  139. ;   Production Value: "GP"
    2 B2 s9 f, k: y, I0 q+ _; v

  140. 1 f7 F+ W6 E2 @
  141. ; session.gc_divisor  Y* J8 ]2 i+ N# L
  142. ;   Default Value: 100
    1 [4 }  T/ {, r- @6 b: r
  143. ;   Development Value: 10007 u7 ^* c" q5 r/ T; L' }4 j
  144. ;   Production Value: 1000
    4 R/ k2 ^8 Z! u  x& f

  145. 5 ~' Q# U7 o( Z" a. p  u' @
  146. ; session.hash_bits_per_character
    9 R: }3 v" m1 K  R) S2 R0 k5 B" I$ A
  147. ;   Default Value: 4& t# ~; w$ z2 j% |2 b/ }
  148. ;   Development Value: 51 }: e9 t& M5 r( d  W
  149. ;   Production Value: 5
    2 L; E! x- }6 P; _
  150. % c; j+ `. j1 C( z0 ]8 T
  151. ; short_open_tag
    ' Z: R; _" R, p7 ^
  152. ;   Default Value: On
    0 _3 S5 M( F# G( @6 O
  153. ;   Development Value: Off; z) X7 d* g, Y
  154. ;   Production Value: Off- I/ e3 N1 B  j# S: L/ P7 C2 q
  155. $ I$ P0 @) J' y* o+ ^* K4 R
  156. ; track_errors1 U" Q  Z# f5 h& f5 @
  157. ;   Default Value: Off
    - f& D# Q. \. k1 l* E/ i8 ?
  158. ;   Development Value: On
    7 G6 Q; v( x9 C0 B7 e/ D# A
  159. ;   Production Value: Off* U. m* _' I& K
  160. . P1 ^% L4 _8 n4 v4 H
  161. ; url_rewriter.tags6 T4 d) B& y& I5 \3 ~& w' a( Y4 G% {
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="( \7 a0 N8 V1 m, v+ d
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' x3 O( R; a- ^4 S# Z- c8 n: r8 E
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; z: g: Q& H6 l2 [6 o! }; @

  165. $ y% B# m- B+ T9 I" p, W% q
  166. ; variables_order
      P5 y( R- s9 ^  Z8 m$ x5 _4 m  a
  167. ;   Default Value: "EGPCS"
    4 |" H7 r4 x% e* w% U; |
  168. ;   Development Value: "GPCS"
    1 T( t  \+ ^3 g- |- P$ H
  169. ;   Production Value: "GPCS"$ h1 f0 t/ f/ f- }* J
  170. " f7 f: q1 a; C$ A; p% r+ Y
  171. ;;;;;;;;;;;;;;;;;;;;
    ! I  |+ N: {; V4 a
  172. ; php.ini Options  ;
    7 M5 [+ ?. J5 A+ a7 H
  173. ;;;;;;;;;;;;;;;;;;;;) o, t1 e% V, ]' \. {0 j; G
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    & F, A) T" \+ S& K, H/ E
  175. ;user_ini.filename = ".user.ini"
    4 U( S. k/ s) D! {8 K
  176. % E' [2 R5 j0 y5 w/ I
  177. ; To disable this feature set this option to empty value
    . g' w- z& }3 w. Q. D" p5 O
  178. ;user_ini.filename =+ H/ a- Y( s, u7 [! r

  179. 9 ~$ K+ g( c" \8 e
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    6 Y3 K& d7 }* \. \
  181. ;user_ini.cache_ttl = 3003 V9 Z/ K; i% ?

  182. * A% v1 L. S% \5 H% h/ t' C+ F0 }! k
  183. ;;;;;;;;;;;;;;;;;;;;  Q4 @8 r  ~$ t/ J: A0 S3 K0 S; o
  184. ; Language Options ;
    5 S' o2 T% }; {" ~1 k
  185. ;;;;;;;;;;;;;;;;;;;;
    5 i6 \- D7 X2 L
  186. " n+ Q, u( i; Y" H# q
  187. ; Enable the PHP scripting language engine under Apache.6 o" ^9 r  o8 \/ v
  188. ; http://php.net/engine" H  n5 H4 v0 a
  189. engine = On
    ' r9 w" n0 P7 t/ x
  190. $ J9 X$ ^" S" W* ?* A$ L; u5 C% K3 R7 ?
  191. ; This directive determines whether or not PHP will recognize code between
    5 C8 G3 t) A4 A/ Z9 f1 b$ k
  192. ; <? and ?> tags as PHP source which should be processed as such. It is1 x! N! S( w% I" I0 M+ r  c
  193. ; generally recommended that <?php and ?> should be used and that this feature/ A2 d6 n& F; g9 x5 S
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ! n/ o* V6 f6 N6 F- a" m) [, c8 E
  195. ; documents, however this remains supported for backward compatibility reasons.
    6 o8 o8 i  v8 P- E2 `$ m9 W
  196. ; Note that this directive does not control the <?= shorthand tag, which can be2 T- @3 F5 ~! l" ~/ ?
  197. ; used regardless of this directive.4 ?( X+ I% l- p8 P6 m
  198. ; Default Value: On
    + ]0 b' W* f: o1 [9 B+ n) u5 l' Q5 g
  199. ; Development Value: Off$ J5 v5 j+ f4 _1 h
  200. ; Production Value: Off3 y1 q7 E9 H8 X7 k3 t" K
  201. ; http://php.net/short-open-tag% T% L& K# L$ c3 Q; w! y
  202. short_open_tag = On* N1 [$ I7 w( A. q& J
  203. ( t( t4 P0 `! Z$ o& r# y# S
  204. ; Allow ASP-style <% %> tags.+ J% I- j# Z8 ]7 k" ?/ Z5 ~8 l
  205. ; http://php.net/asp-tags
    . o8 ]2 J0 s3 S; e
  206. asp_tags = Off( l" m0 ?' n9 J6 ?6 ~

  207. " ~4 g# F) i9 V( S1 `- Z
  208. ; The number of significant digits displayed in floating point numbers.
    8 M' {( x# C0 G9 Y; b, N; y
  209. ; http://php.net/precision; A# Y- u4 C  ?) C( s0 l4 g4 N
  210. precision = 14
    - w' f& a# l" b: n& T

  211. ; R$ j, m6 M6 n6 Q
  212. ; Output buffering is a mechanism for controlling how much output data
    ! ]# S3 q* e: ?) \
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that  w- F7 Q" z5 {* U' `; B: Q- p8 U) v
  214. ; data to the client. If your application's output exceeds this setting, PHP
    1 v: g5 j; \- y* F6 @+ U5 v; A* i
  215. ; will send that data in chunks of roughly the size you specify.8 Q& t2 ^- s7 h0 [
  216. ; Turning on this setting and managing its maximum buffer size can yield some1 }% q" g8 V3 F7 o# W4 d" ~
  217. ; interesting side-effects depending on your application and web server.7 b' e5 X- ?  e2 I+ \. H! j
  218. ; You may be able to send headers and cookies after you've already sent output
    ! Z. {' B6 |. U4 R" a' H3 S& c% G9 T
  219. ; through print or echo. You also may see performance benefits if your server is) I& M( ^+ e# o% E6 D
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    - ?' O. k% y3 }, x0 U" b6 `/ k
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance$ g- O8 L8 `; g7 h. }  t, \
  222. ; reasons.( I; V3 a+ @' p' x
  223. ; Note: Output buffering can also be controlled via Output Buffering Control) i9 Z0 X! J& E# h% Y: Q
  224. ;   functions.
    + S# @+ I+ ]% Z; b+ [8 U# E/ L
  225. ; Possible Values:) w2 U: ~) v- j$ L( \0 a
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    : r# }! P0 O- I5 `. B0 ?
  227. ;   Off = Disabled
    8 H/ @3 q1 H8 G2 @  R- D
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    5 |6 Y% u2 I2 x9 E( J9 ?6 n
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI0 V7 m3 S+ y5 R6 k
  230. ; Default Value: Off( A0 X3 d+ |  y2 ]) l
  231. ; Development Value: 4096
    6 R  ?2 G) D8 s- ]1 Y
  232. ; Production Value: 4096
    / Q! _" r4 |; T- j
  233. ; http://php.net/output-buffering1 K' ]- [' ^1 u! p; Z; f- @8 X
  234. output_buffering = 40960 M7 K# y! p7 ]. s' C! r

  235. $ ?3 N5 F8 B: N) X! p
  236. ; You can redirect all of the output of your scripts to a function.  For
    + R" [% V6 v2 [0 R! ]3 k8 m
  237. ; example, if you set output_handler to "mb_output_handler", character4 Q2 }+ Q2 e1 m+ }# q9 D! v" s' @
  238. ; encoding will be transparently converted to the specified encoding.5 ]- ^2 O0 _5 W* `
  239. ; Setting any output handler automatically turns on output buffering.
    8 A1 T8 {8 W' J9 r
  240. ; Note: People who wrote portable scripts should not depend on this ini
    7 d0 e% o! @' x, y
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    ) y- ~6 k6 p) K+ t5 p& ~
  242. ;   Using this ini directive may cause problems unless you know what script9 q" h! `/ o: h% G" b& r+ y
  243. ;   is doing.0 K2 X9 s& y- U* ~# r( X: ]! I
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    " b  j$ a, R/ j& p& r: O3 A
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    8 I/ l8 M3 ^: L! M
  246. ; Note: output_handler must be empty if this is set 'On' !!!!$ m, \8 ^) i5 @3 b3 t3 X3 A
  247. ;   Instead you must use zlib.output_handler.3 I' R1 Z/ k9 U
  248. ; http://php.net/output-handler
    4 l, u6 l2 ~) n
  249. ;output_handler =
    0 R1 |, ?: j# d- S8 |# B( i
  250. / d) y9 W4 B) W2 v8 ?
  251. ; Transparent output compression using the zlib library
    7 R7 T: P" d  i6 `3 z
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size) {1 u# K, S0 G1 e6 J
  253. ; to be used for compression (default is 4KB)
    8 H8 x& Y7 T  N2 k% P+ }- g0 S
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    : g. ?6 V3 D, k, T( q
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    : N& T  Q% O2 W9 T% u# A8 F9 }
  256. ;   compression. If you prefer a larger chunk size for better
    ! U/ G6 Y5 I/ `, w
  257. ;   performance, enable output_buffering in addition.  x1 D" L% l0 y+ @9 V) z
  258. ; Note: You need to use zlib.output_handler instead of the standard( i, P. b* Z# h+ j! N1 j8 v
  259. ;   output_handler, or otherwise the output will be corrupted.; A5 b5 d$ }2 R. P+ c, z7 Z2 D
  260. ; http://php.net/zlib.output-compression. T3 O& f8 E* {% w
  261. zlib.output_compression = Off
    7 Z# ?9 K# e* |8 C4 y

  262. $ b2 ?4 _2 U/ N& O0 H- {6 ?+ w
  263. ; http://php.net/zlib.output-compression-level4 {  F% j# D/ N* r- U# ]$ M0 r1 G
  264. ;zlib.output_compression_level = -1( s2 Q( }+ M) Y/ _
  265. $ A2 S, A6 Z; x/ c9 }
  266. ; You cannot specify additional output handlers if zlib.output_compression
    $ U+ [& ^: k" |5 `1 {
  267. ; is activated here. This setting does the same as output_handler but in1 V) R4 G* L3 |6 h0 P$ [, {% w8 y4 \% G
  268. ; a different order./ Q  v' B. Z+ e1 W
  269. ; http://php.net/zlib.output-handler
    $ J7 n2 L, n5 X8 _
  270. ;zlib.output_handler =' ~, n7 z1 L8 R6 {4 K3 j- ?
  271. & N- ]7 _! `  |9 M; ?
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    " Y! G3 W. G2 Y/ n9 n+ @* W" f* ~
  273. ; automatically after every output block.  This is equivalent to calling the
    " M/ [! T4 I0 [1 e" a0 C
  274. ; PHP function flush() after each and every call to print() or echo() and each
    , \0 y3 L( B8 ]' f
  275. ; and every HTML block.  Turning this option on has serious performance
    . q! t. J' s: f& g
  276. ; implications and is generally recommended for debugging purposes only.1 J& q/ i" o9 D) m- y
  277. ; http://php.net/implicit-flush
    3 S" c: s# s7 X. N* C
  278. ; Note: This directive is hardcoded to On for the CLI SAPI( J' {' U0 ]2 t. P- `
  279. implicit_flush = Off2 g) y+ Z& ?: _9 o% f; ^: d
  280. 4 `# C* i6 f( T( |
  281. ; The unserialize callback function will be called (with the undefined class'3 i8 _. F4 {& r+ X8 T8 h0 t6 v
  282. ; name as parameter), if the unserializer finds an undefined class+ a/ g! t! Y5 A) c9 G, L& h5 _
  283. ; which should be instantiated. A warning appears if the specified function is
    8 [7 n% D7 Z- U  a! g. q) e
  284. ; not defined, or if the function doesn't include/implement the missing class.) L  A" v% b) `/ @
  285. ; So only set this entry, if you really want to implement such a1 B% H7 {9 }. ^* j! I' B% k
  286. ; callback-function.
      s6 Z0 i6 L" ~+ |
  287. unserialize_callback_func =
    , x$ l, L/ `* v5 Q
  288. 4 s: A) j: |0 A3 z, z' l2 j  c, J* V
  289. ; When floats & doubles are serialized store serialize_precision significant
    3 h# v5 f2 h- M0 K- p: H0 _/ [
  290. ; digits after the floating point. The default value ensures that when floats" C6 L! t( w4 c' V- K
  291. ; are decoded with unserialize, the data will remain the same.- d5 [% }/ j, |2 H
  292. serialize_precision = 17! u& \: I- R9 O
  293. / n& h& Y3 Q" p3 [% A2 U) Q
  294. ; open_basedir, if set, limits all file operations to the defined directory" j1 r" b( k; s) N8 q3 O* `. B, u
  295. ; and below.  This directive makes most sense if used in a per-directory! D2 i- p1 ]/ U$ Q
  296. ; or per-virtualhost web server configuration file.
    $ D. H5 a) `! @4 g
  297. ; http://php.net/open-basedir
    5 O/ Q6 `9 @6 {% B& p2 H3 f
  298. ;open_basedir =! a3 A) f1 C7 y; S6 T5 U) f  x# d

  299. - B, O$ n1 n- f. E
  300. ; This directive allows you to disable certain functions for security reasons.) }0 V4 D: f) t: v& g5 x: \% l
  301. ; It receives a comma-delimited list of function names.
    $ C2 J) z8 S, k. `7 ?8 C3 N
  302. ; http://php.net/disable-functions
    % _; |) e! [+ M- T9 C
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru( b8 p+ `1 d( g# u) N2 j$ H

  304. 5 a) ?; C8 g$ T8 \) o
  305. ; This directive allows you to disable certain classes for security reasons.
    3 V- |# a+ I' u6 n; [
  306. ; It receives a comma-delimited list of class names.
    2 J8 A# J2 j8 h. Q: ^
  307. ; http://php.net/disable-classes
    6 V; w8 F8 T4 Z% g+ ~2 X. z
  308. disable_classes =" f0 h) I! h- F, u( R# a
  309. 8 o$ v: A% X" s4 }( W9 ]
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in4 B$ s" C% Y! m! h1 q1 D
  311. ; <span style="color: ???????"> would work.
    9 k3 \% f# Z$ d0 N
  312. ; http://php.net/syntax-highlighting* q0 U5 H) p) t! Z4 y/ {7 o% r
  313. ;highlight.string  = #DD0000# @/ G( V& R' V6 @" z
  314. ;highlight.comment = #FF9900
    & J  i8 V: v4 ^1 Q5 V1 q7 O* n( H
  315. ;highlight.keyword = #007700
    - P9 N* W1 |1 X$ e7 v* V( b( u
  316. ;highlight.default = #0000BB
    ' g7 U1 i- c; m9 z
  317. ;highlight.html    = #0000002 h3 b: ^+ j' Q3 v, h! ]

  318. 0 d' v9 a' }: {& P3 r3 A
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    ! r+ z$ U- t- N3 q3 [6 V+ T/ A4 G0 b
  320. ; the request. Consider enabling it if executing long requests, which may end up: i6 C+ J' ?4 O: u
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior" ?0 A  W/ s4 C
  322. ; is to disable this feature." C( A& t! B/ H) U; d
  323. ; http://php.net/ignore-user-abort
    $ a( v: Z: V. a" M
  324. ;ignore_user_abort = On
    . ^1 l: I4 T- a* S
  325. 3 p! B5 g& V. U. k9 f' a. |
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    2 ]2 f8 _7 Q% i0 {  y. c' V6 o, a) P$ d
  327. ; be increased on systems where PHP opens many files to reflect the quantity of% u# G/ X- l: R8 Z# _: O* s: y
  328. ; the file operations performed.' H4 ^. O* Y( {! L+ h
  329. ; http://php.net/realpath-cache-size' g2 {! v# U7 H7 g9 e, x
  330. ;realpath_cache_size = 16k
    6 M: j- d, p% T2 Z) f

  331. ' E0 i' {8 s( w2 U3 T8 _
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    $ _7 ^9 i- F$ }
  333. ; file or directory. For systems with rarely changing files, consider increasing this; k3 P5 ^0 r& B
  334. ; value.
    ' H* X; B# D  K" r2 ~) \8 e: a9 m
  335. ; http://php.net/realpath-cache-ttl  H7 I, O' }: N4 W
  336. ;realpath_cache_ttl = 120
    " }/ M  \$ F9 i1 h3 n8 R" J

  337. 2 I( K* {$ H" F6 d6 |
  338. ; Enables or disables the circular reference collector.
    # B' ^" t8 j  e
  339. ; http://php.net/zend.enable-gc
    % _# S. d' U, J: {0 o
  340. zend.enable_gc = On
    # I0 B7 q& p  e

  341. * p: E1 t$ N( `3 ]: x) D
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    / X1 E7 y, Q5 B2 k2 @
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such& ^/ N  H( y, I6 s% r8 K
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    1 [3 c7 k4 R  p2 A3 L
  345. ; Default: Off1 B& f2 c* V8 X
  346. ;zend.multibyte = Off! w( O0 F- c7 \7 ^. v% ?
  347. ! A0 G. m1 O+ k; e- Q" I' J
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    ! x6 |3 |1 p% i; A4 \" e$ ?
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ! p; V8 {% Y* W  \- l6 g% h& D7 @
  350. ; Only affects if zend.multibyte is set.6 s( V5 C  Y4 p9 P/ h# h! ~
  351. ; Default: ""3 a( f: i8 o5 |
  352. ;zend.script_encoding =
    / v" y+ x+ t5 m  S% V
  353. 4 Y* b* T# _+ R; M, M" O1 S
  354. ;;;;;;;;;;;;;;;;;3 h' B0 `' z' q/ Z
  355. ; Miscellaneous ;; b+ ?- |  T0 Q* A1 @# N
  356. ;;;;;;;;;;;;;;;;;6 `9 i) m0 b% r, V- ]! z

  357. . Z4 U( u3 C: N
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    8 I1 h3 h) K( c! B1 y' M, l: O
  359. ; (e.g. by adding its signature to the Web server header).  It is no security3 ^4 y! j2 X& H; Z) c. J
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    / K; K! R, B, e( d6 {+ Y( L
  361. ; on your server or not.- s; Y3 {9 g1 D; q$ o" [
  362. ; http://php.net/expose-php0 [7 [3 L$ _1 A
  363. expose_php = On
    1 o7 ]" h% Q% {+ o
  364. ) ?' ]5 [, E  m6 l' b
  365. ;;;;;;;;;;;;;;;;;;;
      E3 o5 B( A. v4 ^
  366. ; Resource Limits ;
    : [' X3 W! ]' w1 L$ T0 o' B. k  }
  367. ;;;;;;;;;;;;;;;;;;;6 D. q7 `+ ?8 Y" O' x

  368. 2 y, |$ ]$ A! X3 F- T
  369. ; Maximum execution time of each script, in seconds; ?) t4 \) X: b5 q, t
  370. ; http://php.net/max-execution-time; |- c" W; ^& e7 U. v, @0 y
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
      ?+ J/ k( u$ ^8 ~
  372. max_execution_time = 300, q5 }/ G; b/ `& D

  373. 5 y7 S' }  z" s! m' F; o9 F2 }
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    6 W5 w7 B! S6 e$ H7 e
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly3 v) h1 H) K1 X! e
  376. ; long running scripts.  V# W: z; P3 B1 O: t7 j7 N" e
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    0 W& u2 |3 J" `
  378. ; Default Value: -1 (Unlimited)
    8 C2 V+ |) k+ C; l& g, l- u1 [
  379. ; Development Value: 60 (60 seconds)7 I" U2 I- z$ Q5 i9 U
  380. ; Production Value: 60 (60 seconds)" b( D9 O& v/ l1 t7 k
  381. ; http://php.net/max-input-time! Z. y1 i8 O5 |: ^6 k
  382. max_input_time = 60
    # M- @8 j8 C9 m9 S
  383. 0 N: I0 G. ]: k- o1 {- X9 ?. `% R0 e
  384. ; Maximum input variable nesting level
    : V/ z& ?! X# F' `9 I
  385. ; http://php.net/max-input-nesting-level
    ; h! E4 B7 M4 _
  386. ;max_input_nesting_level = 648 C& Q) B7 T8 ?& V0 \
  387. . I4 m+ |' m/ |" ^9 s) ^3 j
  388. ; How many GET/POST/COOKIE input variables may be accepted
    4 O6 ^$ K! O7 x8 @0 ]8 V
  389. ; max_input_vars = 10007 i- M7 ^4 l2 s, [7 D# ?
  390. % I) ?5 g* j. ]+ V6 n/ [/ x
  391. ; Maximum amount of memory a script may consume (128MB)
    , f3 U: v& E( R. Q
  392. ; http://php.net/memory-limit# G. w' k) P# g' L/ L, `% C3 Y, i
  393. memory_limit = 128M- }& ~8 H  l- Z  U( ~. X

  394. : L' n6 H" [, K! u% i
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;! X  E1 i' j  j1 O
  396. ; Error handling and logging ;, v- d' g0 G, d
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Y$ x, Z4 f) ^3 H6 [0 S
  398. 3 f( ?& N8 P( z% I' i
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    0 x; U0 P* G0 n- I% o" V
  400. ; it to take action for. The recommended way of setting values for this7 s$ c  {( a' T8 j+ i- u* Y' z3 U! W
  401. ; directive is through the use of the error level constants and bitwise3 L$ d4 ~; }) C/ m
  402. ; operators. The error level constants are below here for convenience as well as
      n* t' K, U8 J- c9 \# E
  403. ; some common settings and their meanings.
    0 `& q6 {: T' H0 m* i
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT4 ?! x' V# d$ D/ B% w$ P
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    1 u, e+ Q+ s( r8 \
  406. ; recommended coding standards in PHP. For performance reasons, this is the) X2 r+ k+ ^( _& a; }- ?
  407. ; recommend error reporting setting. Your production server shouldn't be wasting1 d. ]& A" ]& {  ^0 D+ \, {
  408. ; resources complaining about best practices and coding standards. That's what
    # D3 J) y2 d! m: j3 b: h) Y2 E3 Y$ _
  409. ; development servers and development settings are for.+ A- }& F) G& J3 o1 V( K
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    / d( ^0 Q* K; _4 g4 ?: D; p
  411. ; means it pretty much reports everything which is exactly what you want during, b6 _4 k) D6 l  O: y/ z* I. v" H& t
  412. ; development and early testing.
    + `( q7 N3 @3 @2 l4 K3 D$ N
  413. ;
    5 Z7 U: h9 }! Q
  414. ; Error Level Constants:/ l& Z- ^& t, L; ^4 E
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)2 t! F3 h0 A9 \' T% Z8 ?0 x0 }
  416. ; E_ERROR           - fatal run-time errors
    # O8 ?  u) r. q: s3 w  y  X+ s0 d
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors  b1 w$ z% E3 B5 d. Q/ }, L
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    ! J5 l- o9 `9 ?
  419. ; E_PARSE           - compile-time parse errors# B2 N% Y  z2 H7 W: Y2 r
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    2 m" v; e; L* T, A+ x4 J5 f" R
  421. ;                     from a bug in your code, but it's possible that it was
    ' c% G5 t1 K$ `( D3 `: Z- d: r" L
  422. ;                     intentional (e.g., using an uninitialized variable and$ p# z6 z0 p0 d+ S' f& P+ k( ]8 |
  423. ;                     relying on the fact it is automatically initialized to an
    ; ^6 J) M" K/ t! L7 M! c6 D
  424. ;                     empty string)$ G6 p3 a+ ^5 `' M
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes( V/ E$ d# W9 c4 g7 z
  426. ;                     to your code which will ensure the best interoperability, b- x, _, `  y5 p& \4 q
  427. ;                     and forward compatibility of your code
    6 G) @( R! F+ V5 r3 }2 g7 N
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup6 ^4 l& G5 o: [! N
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    . y& I$ T6 G. y6 v
  430. ;                     initial startup( O. A! a" {# o8 V3 r
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    , G% ~0 e3 q+ l, F# Q
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors), E: F  S; M5 x# W1 X& L8 H) P
  433. ; E_USER_ERROR      - user-generated error message
    9 B2 W+ R; n7 P0 z
  434. ; E_USER_WARNING    - user-generated warning message
    * V# Z( G# Q$ l) n; m
  435. ; E_USER_NOTICE     - user-generated notice message0 m2 i1 F+ Q  x" |- B5 u; l
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
      D: z0 W+ _9 u; P. E4 b7 R5 b( @! a+ h
  437. ;                     of PHP8 G* h8 y9 M" _/ w
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ( q3 r% R( N% E/ y' Z
  439. ;9 s* @+ y* K3 C
  440. ; Common Values:  G8 R) z* b" ~: P# {- j- ~4 k$ T# ?
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    $ K8 X/ Q1 U4 D$ \
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    / M1 S5 ^; y" l0 ^
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ; ?$ J( j9 K3 C) {  r- P. ?/ L
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)2 n" p1 [0 N( _5 u
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    2 V: j# N" }$ A6 R& i4 B& U: x
  446. ; Development Value: E_ALL6 W" O8 b- y4 @# P% e4 B
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT/ k3 e9 h# z5 A7 q  \  Z
  448. ; http://php.net/error-reporting
    " Z  F% l2 l5 n2 `4 |
  449. error_reporting = E_ALL & ~E_NOTICE% B$ i$ @" Q7 _, L

  450.   k) W, t, M, ]# \8 [
  451. ; This directive controls whether or not and where PHP will output errors,3 R' B( V/ s6 @- e5 {5 m3 V) U$ a
  452. ; notices and warnings too. Error output is very useful during development, but% \; ]. @2 q  A6 d
  453. ; it could be very dangerous in production environments. Depending on the code: _9 S& g) c0 O% n7 y
  454. ; which is triggering the error, sensitive information could potentially leak  R- Z0 l( _& t, }. q' R$ m/ r
  455. ; out of your application such as database usernames and passwords or worse.
    # V% g- i; _3 y" Q; F- X
  456. ; For production environments, we recommend logging errors rather than
    - N. A; w" {. \; N+ z
  457. ; sending them to STDOUT.0 i  c7 k. P4 {3 c
  458. ; Possible Values:1 T& d3 p- d8 O% ^8 b
  459. ;   Off = Do not display any errors/ K/ p, l) `8 U* t! K
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    , U# I% q) E; V6 j  }
  461. ;   On or stdout = Display errors to STDOUT0 A  Y6 }* {) k4 F- m8 c
  462. ; Default Value: On4 Q  s0 ?1 q+ S
  463. ; Development Value: On) Z/ P5 I9 V% l, s; k
  464. ; Production Value: Off8 u+ F0 z" a% k/ c3 @' w
  465. ; http://php.net/display-errors; d8 L$ m0 ?8 k) o$ y6 `/ \
  466. display_errors = On& t* R6 I! Q1 P9 V$ X, m
  467. / d. |- J" W# D1 `+ I$ L& y2 P6 E
  468. ; The display of errors which occur during PHP's startup sequence are handled, l# I* V% F8 l9 y" F! t) }; q* u
  469. ; separately from display_errors. PHP's default behavior is to suppress those1 v5 C3 a, W8 Y! T/ }$ H
  470. ; errors from clients. Turning the display of startup errors on can be useful in+ @1 Q& O* X: q8 P0 z* v
  471. ; debugging configuration problems. We strongly recommend you
    8 L( e$ J' I. m8 L/ }6 N& P
  472. ; set this to 'off' for production servers.! y& [, V# }( R4 H7 J$ e
  473. ; Default Value: Off9 a- D7 V' C! e* P2 |* x+ r
  474. ; Development Value: On
    # F3 m8 c1 {$ ]/ K# R* l
  475. ; Production Value: Off
    / F, F5 `; N6 U
  476. ; http://php.net/display-startup-errors
    0 i/ E( d  A8 C8 w
  477. display_startup_errors = Off6 J8 b# y4 {9 l7 B2 p, Y
  478. % n1 v  P1 `- m+ J( H
  479. ; Besides displaying errors, PHP can also log errors to locations such as a4 v& w7 g$ e  v8 e+ n
  480. ; server-specific log, STDERR, or a location specified by the error_log$ m% h" P6 M8 R$ T3 J
  481. ; directive found below. While errors should not be displayed on productions
    % A  m6 Q3 y& E2 X; N
  482. ; servers they should still be monitored and logging is a great way to do that.
    # R$ ?) _3 b% w' I
  483. ; Default Value: Off
    $ T; P3 E, a/ r$ v
  484. ; Development Value: On
    ; w9 L/ V5 ~+ M
  485. ; Production Value: On5 Q3 \0 t3 ^1 `, _2 \
  486. ; http://php.net/log-errors
    & k# l9 }- ?8 w6 i
  487. log_errors = On" C) O, n; R" w5 p- N% b
  488. 3 E7 v1 T0 i/ R& H
  489. ; Set maximum length of log_errors. In error_log information about the source is6 }) A/ f, S) D! f. f$ P
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.5 J; ~" L$ N4 |* `+ c
  491. ; http://php.net/log-errors-max-len
    % f: L$ y1 M- d! h
  492. log_errors_max_len = 10242 ]. b& p: T1 B

  493. 8 m3 {' E2 S7 ]/ U6 F/ A- e
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    2 U1 u  O; o' \( `$ H, @4 w
  495. ; line unless ignore_repeated_source is set true.6 Z4 F. E6 F( s+ K4 v/ `/ x7 @. P
  496. ; http://php.net/ignore-repeated-errors: B: w2 l' ^* x5 M' j
  497. ignore_repeated_errors = Off; S7 P  }) f9 z/ O* F
  498. * ^) c" U+ p% g. L6 V8 P
  499. ; Ignore source of message when ignoring repeated messages. When this setting+ G* t; g8 Q2 O$ n
  500. ; is On you will not log errors with repeated messages from different files or: V5 d  P+ k; i; z/ p
  501. ; source lines.! o5 Z9 q, k5 F4 ~
  502. ; http://php.net/ignore-repeated-source- J0 z9 _1 c8 ]1 v; _4 O' G, S( [
  503. ignore_repeated_source = Off2 D5 ?9 Y; x5 {4 K/ l; K

  504. - ?! _: z1 B% z
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    - t7 m7 ^- ~7 S  z8 Y
  506. ; stdout or in the log). This has only effect in a debug compile, and if# k" P; F2 H9 M- K% W, Z; l
  507. ; error reporting includes E_WARNING in the allowed list
    % ?' O. ~+ m; R! p
  508. ; http://php.net/report-memleaks
    / v& t& t" o. n* v- o. D
  509. report_memleaks = On' k; Z. y: n' n% V0 G% }
  510. # X' ?( W( ~: Y. h8 A
  511. ; This setting is on by default.6 h% ]9 h8 X$ X  g0 G. q8 ^0 V
  512. ;report_zend_debug = 0: }, E2 n7 y/ H6 C; l3 t# j
  513. # A' N$ I8 V# M& _
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    2 P+ c% p3 m2 Z* {$ G5 j
  515. ; to On can assist in debugging and is appropriate for development servers. It should6 X- g$ \% G, l2 b& [
  516. ; however be disabled on production servers.7 m2 a! Y. V& ?+ i! K/ x9 o
  517. ; Default Value: Off
    : @* `& M, a# ~% E
  518. ; Development Value: On! v* y2 ^% c, w, I5 V2 B/ j6 ?( H% a. o
  519. ; Production Value: Off" V8 M* q6 ?! I
  520. ; http://php.net/track-errors: ^+ K4 H) B. G: M# R  }& r3 C2 O
  521. track_errors = Off4 v9 {# D; L/ I( `6 r/ ]
  522. : p. I9 n5 D* M) f1 A
  523. ; Turn off normal error reporting and emit XML-RPC error XML# T. D7 ?$ G( k: j0 \; F
  524. ; http://php.net/xmlrpc-errors
    * w5 U9 B7 v0 q2 V+ x% B% T6 A
  525. ;xmlrpc_errors = 0$ `4 Z8 C) p' o6 l$ k
  526. + }4 F" k3 j( b, M. i! r: ~/ d
  527. ; An XML-RPC faultCode
    : k5 |' ]0 `, F, L, s# Q
  528. ;xmlrpc_error_number = 0+ P% A4 a3 B( u! L1 c' l& e- a
  529. 3 y: a! a, F. `) B" @+ e8 v3 X1 Z8 y
  530. ; When PHP displays or logs an error, it has the capability of formatting the5 W' Y* ]2 a' F
  531. ; error message as HTML for easier reading. This directive controls whether- _  D/ x" M* O; [9 T0 r
  532. ; the error message is formatted as HTML or not.* Z; H9 x* o( {  V) I" D8 ]0 M
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ; m* S3 t: J0 R5 H1 Y! q3 j0 Z
  534. ; Default Value: On4 y+ m: s5 D* |) }, Y
  535. ; Development Value: On
    * L6 |" ^  }0 [/ C# P  s/ W& j
  536. ; Production value: On: M; K) F& R& i6 }
  537. ; http://php.net/html-errors7 C" _8 a( g. x
  538. html_errors = On0 {7 }/ O2 P1 y7 L

  539. & x0 H2 ]- b) o9 i5 Y6 o
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    0 n: m4 R& t8 F4 A9 v7 t, S
  541. ; produces clickable error messages that direct to a page describing the error- [7 [- o; @2 G
  542. ; or function causing the error in detail.' M! @% G1 G  |
  543. ; You can download a copy of the PHP manual from http://php.net/docs7 Y  ^0 W: c! o& N* b6 i; e
  544. ; and change docref_root to the base URL of your local copy including the
    + t3 K0 F% {; A; b
  545. ; leading '/'. You must also specify the file extension being used including/ _5 r, w" f' S, y9 h  q1 _% A
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which' R0 l1 m4 S$ W, X7 k
  547. ; case no links to documentation are generated." y$ }% Q( c3 L1 z6 u9 L
  548. ; Note: Never use this feature for production boxes.
    " ~/ K( e: z# p* f& J& I- V7 P7 W
  549. ; http://php.net/docref-root
    * A& M5 F8 `( G0 `0 A5 |
  550. ; Examples
    # ^# b2 G3 S3 u4 p% X! a
  551. ;docref_root = "/phpmanual/"
    $ L2 [, T7 `2 I- u; v

  552. 6 y. b4 v7 Y! {% e7 o/ F
  553. ; http://php.net/docref-ext7 q  {0 m0 j: G" L
  554. ;docref_ext = .html' A3 V( [8 ~" b1 c0 O& x# _1 j
  555. 7 R. o! a! p+ C# |; F1 }
  556. ; String to output before an error message. PHP's default behavior is to leave
    . J: u: Q  x; q8 H
  557. ; this setting blank.: Q. C% U& ~1 ~/ R0 g) P
  558. ; http://php.net/error-prepend-string
    * |' w+ j7 d7 L
  559. ; Example:/ z2 K' t; q' o' x# ]2 X, m
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    " \; f7 u  b- ^( p; ^7 t9 G

  561. ) U( M* @9 @/ ~9 g$ f
  562. ; String to output after an error message. PHP's default behavior is to leave- k5 k& Q( v/ t8 g% q# C1 v
  563. ; this setting blank.
    : J" ~  W" u" Z5 u, F& [
  564. ; http://php.net/error-append-string4 F, s, c0 Z5 ~! k
  565. ; Example:
    + E  P* g3 y9 W2 f
  566. ;error_append_string = "</span>"( j% N7 U5 ^$ V  i. I2 V
  567.   [" C& T6 q7 i4 t2 t! V% c
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    ! q7 K3 S4 U: O! F, j, c/ s
  569. ; empty.: v, P: N( v5 F% _; X; `; G# G
  570. ; http://php.net/error-log
    . @5 C% P7 Z1 Y: C* K/ b3 l
  571. ; Example:
    * L8 I) ?0 t! r* a2 d8 J/ Y9 ~* E3 v
  572. ;error_log = php_errors.log0 u) j2 G( v2 `, J( m
  573. ; Log errors to syslog (Event Log on Windows).9 |6 V, n; M; g; I! _
  574. ;error_log = syslog8 O, d6 X7 u* E' T6 `, d% Y

  575. . _% \3 T; V0 ~; R# i% N$ b
  576. ;windows.show_crt_warning
    ' V3 E2 I0 C6 @$ t4 d. {
  577. ; Default value: 0" b% [# V# B' l5 q
  578. ; Development value: 0* R1 z9 O& O" X- f$ M, C9 w, A0 J
  579. ; Production value: 09 s% ?' Q4 r; P* R

  580. 5 c0 p! H; ?& {7 O, V$ a' M
  581. ;;;;;;;;;;;;;;;;;
    , t, g& c, N- U( F+ p1 u
  582. ; Data Handling ;# q$ u* z3 u$ y# A6 c  {
  583. ;;;;;;;;;;;;;;;;;
    9 R4 _) m5 S- x4 r, m( ^" C! v6 v
  584. ! [, R$ W; x0 Y( w0 B
  585. ; The separator used in PHP generated URLs to separate arguments.  @  p, u- a7 `, n
  586. ; PHP's default setting is "&".  R% k: |7 J; K+ M9 ~$ e. M+ h+ y
  587. ; http://php.net/arg-separator.output
    0 \' \  n5 `0 f  H; K
  588. ; Example:2 U+ _+ R9 v( }; w7 {2 e: I# l
  589. ;arg_separator.output = "&amp;"7 ^  j# P, L* s; Q7 t
  590. 8 E6 W$ s) [* v5 V& y
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    2 S3 v  t  P) L2 f3 f- b
  592. ; PHP's default setting is "&".
    ' D0 J7 [. {/ F
  593. ; NOTE: Every character in this directive is considered as separator!6 s9 n, {2 Z/ M" p# y8 N+ ]
  594. ; http://php.net/arg-separator.input
    9 T7 p/ t& ^6 @' ^: P) ^( r
  595. ; Example:9 i8 X: p$ w( v; t) ?
  596. ;arg_separator.input = ";&"* C. z$ o- i! X# u$ w# N) @& H* I
  597. % n: R' \/ U" ?, d5 W
  598. ; This directive determines which super global arrays are registered when PHP
    : N5 y8 C/ o! |  j( l$ j
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    . D4 k  J/ s1 t% p
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    $ E5 `! N  m8 g, A
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    ; N* z7 `7 y4 i1 i. H! }! L
  602. ; used as the others, ENV is not recommended on productions servers. You% d# b- B: v( z) R- u1 k( y# i
  603. ; can still get access to the environment variables through getenv() should you+ ~4 d8 I4 f  n* h8 Q- L" ]
  604. ; need to.
    % i) k$ {, |; X2 |& c9 L  D
  605. ; Default Value: "EGPCS"
    5 j* T: i1 E+ x% |( m8 \
  606. ; Development Value: "GPCS": C$ Y( `% e! B: Q5 `- D
  607. ; Production Value: "GPCS";
    $ p" N' X  P* C; G& B# ^
  608. ; http://php.net/variables-order7 t! v% ?! x/ i$ i8 Y& n, z
  609. variables_order = "GPCS"( M4 g: z/ V+ J$ n: D9 w9 w
  610. 9 i  r5 m  ~  P3 g) r7 }
  611. ; This directive determines which super global data (G,P & C) should be
    7 e4 Y/ m' L/ z! F; z  e8 S+ h$ K  g
  612. ; registered into the super global array REQUEST. If so, it also determines
      a! D6 k5 q; t8 k: |" S9 Z
  613. ; the order in which that data is registered. The values for this directive4 d+ [, u- t3 G
  614. ; are specified in the same manner as the variables_order directive,
    $ q  T5 U) b1 N$ y/ I: Q
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    , t' l$ j6 z$ k" ?" L5 u3 ~
  616. ; in the variables_order directive. It does not mean it will leave the super
    + j+ Q$ A% {1 y
  617. ; globals array REQUEST empty.
    9 n# T$ l6 R, i% Y, a4 d
  618. ; Default Value: None
    / m1 l+ t/ ]! u) s! U! E! m% g$ {& l  t
  619. ; Development Value: "GP"
    1 M0 M% |2 \: r( |+ D! l
  620. ; Production Value: "GP"( x# o0 D- d" y# n& Z, p
  621. ; http://php.net/request-order
    5 e1 w( c$ N# y% B- ?9 K+ ?  G
  622. request_order = "GP"' G0 |& |# v2 y
  623. # f2 w$ P! b$ ^0 f( h9 U7 c
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    0 j4 ~1 s: X! z# p/ f( w
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script" @; j4 }9 @$ H5 n, I0 K
  626. ; is invoked. $argc contains an integer representing the number of arguments& n& p% N* s$ ^0 Y
  627. ; that were passed when the script was invoked. These arrays are extremely& ^% t7 n- A; E
  628. ; useful when running scripts from the command line. When this directive is( c& m4 W# q3 R) u/ n9 z
  629. ; enabled, registering these variables consumes CPU cycles and memory each time' u! i8 z1 ^9 ?
  630. ; a script is executed. For performance reasons, this feature should be disabled* p" k) Z* A0 b9 v; ~+ A
  631. ; on production servers.
    & m1 C. x: C/ C" [
  632. ; Note: This directive is hardcoded to On for the CLI SAPI* f  C* j* H( V) r, e0 k& Z$ V9 Y
  633. ; Default Value: On
    : \, f$ T/ w" E
  634. ; Development Value: Off
    7 R) x& a7 T) q
  635. ; Production Value: Off
    , B9 I) B( t: @' y) S: F& R
  636. ; http://php.net/register-argc-argv
    % W0 }# E" F8 t% }( ?
  637. register_argc_argv = Off6 G# H9 Z* N) B
  638. 5 b3 t* v) M# ~+ r2 Q6 s0 d  M8 h
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're& ~# j, @/ [; ~
  640. ; first used (Just In Time) instead of when the script starts. If these  M9 V- |, U6 y! R
  641. ; variables are not used within a script, having this directive on will result4 v. b$ y7 Q7 R- `. B9 D
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled! \: E1 d- }. i% z  G" s5 q9 Z- G
  643. ; for this directive to have any affect.
    ( e8 ~+ [% b0 D( y; X. }5 H
  644. ; http://php.net/auto-globals-jit
    & X0 N  N& R) @' `
  645. auto_globals_jit = On/ L6 M; E. U0 M; b2 @9 o0 k
  646. # j4 ]8 _/ p5 ~0 t: S
  647. ; Whether PHP will read the POST data.
    2 v) W7 s- m# R- r4 W- n
  648. ; This option is enabled by default.
    4 {/ o0 f: p% E* F9 Z6 c1 F
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ! U: C, n* G' j2 r0 l# f# C$ V
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    " r! U$ N) N: f7 ?
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    0 Z# j2 l5 t! e% H+ @' C; d
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    - `' x5 D5 \/ x1 H* U! m
  653. ; http://php.net/enable-post-data-reading& c% `: Z, x5 I) F9 k5 b
  654. ;enable_post_data_reading = Off2 Q; H/ O4 w( k' G/ A" I+ G2 D
  655. 7 z# Z+ q9 i1 K- q9 ]! C3 p
  656. ; Maximum size of POST data that PHP will accept.6 D3 A) t, M2 I6 @
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    , |7 s% o& Y2 t+ h/ d# H: {
  658. ; is disabled through enable_post_data_reading.9 q$ f% o( Y, c4 R# l
  659. ; http://php.net/post-max-size# C+ W) T0 P+ @$ ^) a- z
  660. post_max_size = 50M1 A* K; ]. z( g
  661. % v# I3 x, r$ i
  662. ; Automatically add files before PHP document.! Y1 w- r0 K+ d9 H9 D
  663. ; http://php.net/auto-prepend-file) Z) Q4 z7 l9 g9 H. F+ d! S) L) T
  664. auto_prepend_file =
    6 c) C  q9 x' O( s$ Y7 ^7 J! ~

  665. 5 U$ u8 Z$ i4 g# v8 @% R
  666. ; Automatically add files after PHP document.
    : e5 `3 A* N  ~: I8 M3 m; a
  667. ; http://php.net/auto-append-file& L: |) o' f0 v/ j
  668. auto_append_file =+ \# u* }4 k) J4 R
  669. . y; N+ ^  _- ~7 c! w3 U: O
  670. ; By default, PHP will output a media type using the Content-Type header. To" R: x: N, \' C" p) W9 o# j
  671. ; disable this, simply set it to be empty.
    7 v. {  n- q4 [+ z) x* r
  672. ;
    - t2 _8 _9 @& _3 i
  673. ; PHP's built-in default media type is set to text/html.; F; Q1 o) J" P! ]/ l" b3 `# j4 o/ M
  674. ; http://php.net/default-mimetype
    9 `, q* E4 w3 J. E# Q
  675. default_mimetype = "text/html"
    ' w9 r* p9 {# ]9 v2 u, W; g
  676. - r9 \) R3 v0 K; [8 A; r. x
  677. ; PHP's default character set is set to UTF-8.( j; t/ n' c, |7 [
  678. ; http://php.net/default-charset# D0 q+ Z; l, Z' A
  679. default_charset = "UTF-8"
    + x. o& b/ d+ d' C5 ?

  680. ' p$ P3 q: s4 P* p& |: Z
  681. ; PHP internal character encoding is set to empty.
    . \6 b" \# L: b
  682. ; If empty, default_charset is used.
    & P  T; {6 N7 ]1 Q, A
  683. ; http://php.net/internal-encoding
    ; J, O5 G# D) v1 h& x
  684. ;internal_encoding =$ E2 x0 X6 @) {+ K+ L  q

  685. ( e1 q  ?/ _3 i* X& Q7 U
  686. ; PHP input character encoding is set to empty.' p( K" V+ y/ q% s
  687. ; If empty, default_charset is used.0 R, X0 y: _8 w, P! J2 ^$ B
  688. ; http://php.net/input-encoding
    ! }4 n4 c4 Y  Y; s0 S
  689. ;input_encoding =- }! i$ t: P/ s/ [* j# [/ ~1 @
  690. . E4 b% B) h; i# W  e
  691. ; PHP output character encoding is set to empty.2 F3 @5 @7 f/ A6 L# _
  692. ; If empty, default_charset is used.
    * D' D5 _; D& h; Y; O
  693. ; See also output_buffer.% y4 x9 t7 j/ S3 g" u: O# r
  694. ; http://php.net/output-encoding
    6 s; n9 V" Z& T" E. `# v2 _5 X
  695. ;output_encoding =
    ; i5 P8 S. A/ u

  696. / ?+ y* }2 F5 S: P1 `
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is% A& N7 [# D- |
  698. ; to disable this feature and it will be removed in a future version.
    * W' r8 ~& z' [- P% f8 }) i
  699. ; If post reading is disabled through enable_post_data_reading,
    - ^# l- I% Q3 S: s5 Q0 |
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.) o& a8 W2 F5 Z  w+ y
  701. ; http://php.net/always-populate-raw-post-data' d. J; n; i. A. h8 Q
  702. ;always_populate_raw_post_data = -1! o3 l2 _# Z, A' |# S
  703. - L5 [. H4 g" J1 `5 a7 Q- g# t$ _8 G
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;8 o" P9 v7 ]: y7 }
  705. ; Paths and Directories ;8 w1 {4 }7 @4 I2 Z4 e% |  O" Z/ b
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;0 o9 c, u  _+ X1 m
  707. & s) u" l! x% \. C
  708. ; UNIX: "/path1:/path2"! e% d9 P" n5 m  _
  709. ;include_path = ".:/php/includes"
      W) D2 M. l. ]# b- _
  710. ;! C" j9 o* e! C: G. I/ N+ N4 ]9 }
  711. ; Windows: "\path1;\path2"; A6 w6 u' I2 h0 I2 n; ?$ v5 v
  712. ;include_path = ".;c:\php\includes"  F; O7 |, I8 a" E$ q
  713. ;7 V! [) |/ W% E9 w8 O/ D  @5 h  x) s
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    7 X* F6 _* C! w7 k% H
  715. ; http://php.net/include-path
    5 ~4 Z5 h& j* M3 n- m

  716. $ c4 {: V' w/ Y  u2 O
  717. ; The root of the PHP pages, used only if nonempty.- Y" i# W# D! h& h! E* T
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root4 A3 h4 H! a$ i) E
  719. ; if you are running php as a CGI under any web server (other than IIS)" G* H' j! W) T! |' D' E
  720. ; see documentation for security issues.  The alternate is to use the
    3 Z( j2 ?0 y! ~
  721. ; cgi.force_redirect configuration below
    7 V' v/ J2 ~7 ?# z" X* w. |
  722. ; http://php.net/doc-root
    % A5 j$ H3 W+ j( V
  723. doc_root =) `+ ]) q0 s% [( p% g# t2 c
  724. , \+ Z( ]$ @6 _4 f0 z9 o! ^$ D- N
  725. ; The directory under which PHP opens the script using /~username used only; e6 F8 ^' T5 Q, G7 K
  726. ; if nonempty.' n3 i1 _1 O! H3 `5 V; X, w& H
  727. ; http://php.net/user-dir
    / J8 b6 R# Y! ^6 O& ~3 a, X; N
  728. user_dir =
    $ B' U4 m& R9 y# I( z9 O  R

  729. 9 d' I5 f1 E. E2 b  Z! H
  730. ; Directory in which the loadable extensions (modules) reside.
    * G1 z# d9 p2 H* A% c# w8 W
  731. ; http://php.net/extension-dir  v& Q! R  W5 {. i. n8 X" c
  732. ; extension_dir = "./"+ C& U8 m/ y0 }4 T2 t/ x9 K0 {' \
  733. ; On windows:! q- q" E) l# y! }3 s7 U
  734. ; extension_dir = "ext"
    ) p6 _- \: V$ E. \
  735. 3 D9 b- S( v1 l) i
  736. ; Directory where the temporary files should be placed.
    $ N5 I9 c; E& A6 K% w& s
  737. ; Defaults to the system default (see sys_get_temp_dir)
    $ m1 L/ E/ l& ?' c2 M2 H9 }+ l
  738. ; sys_temp_dir = "/tmp"  @6 {0 @* W' O8 s

  739. 8 o8 L* j6 i  {9 d0 N" u# |, Y" |
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    + N3 ~3 J$ U9 o& o0 F' a- r
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically7 ?+ `- F9 C; b( F
  742. ; disabled on them.( r6 a4 t, b. B% f: B
  743. ; http://php.net/enable-dl1 ]& @. o( p' R/ S/ O
  744. enable_dl = Off
    / I" K9 V- \! E; C. i3 Z/ G
  745. ; m2 v+ |; I, ^' H  A% Y6 W
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    2 I6 M( j+ `3 b4 }: |/ U" z  R
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can8 @* ?4 J2 U, }0 y6 \# u
  748. ; turn it off here AT YOUR OWN RISK
    # k2 S. C" @  K2 S" E+ J- B
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**6 l: y' C2 b& o8 w0 ^2 T7 }/ M% L5 j
  750. ; http://php.net/cgi.force-redirect
    7 R: ]! E. a) h1 u3 P+ x
  751. ;cgi.force_redirect = 1
    0 K/ K6 t; ?% I' j. \  U, C
  752. 7 r+ x' R" k; G2 X9 c. s
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    . h; H9 P" S2 r
  754. ; every request. PHP's default behavior is to disable this feature.0 ^. `4 Z. [: ?& \6 t" a# _  {8 f: y
  755. ;cgi.nph = 1
    % p5 X2 y6 e* v) }# v5 U
  756. 9 X2 U4 u) G; ?
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    * L2 u. A, f2 Q- e7 M' {% V/ }' e
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    $ Y9 i# ^0 N# B& y5 g
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    0 f6 ]# x# U; ]* w
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    , |& }$ h: D: b5 J# D) x4 ^
  761. ; http://php.net/cgi.redirect-status-env
    ' Q* u- I: ?% w1 _& K1 T! s
  762. ;cgi.redirect_status_env =
    6 Y; O1 F- l; M

  763. ! g& D* D+ p- S7 ~
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's+ r. g) _7 c# Y* W  u- U6 N
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    : T4 a: i. e+ b
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    7 j5 H. t9 F$ [' X$ c
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    6 ?3 X" s" Z5 S7 S" b  q9 F
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts5 Y; X2 ^: G. c% n* w
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.- }- G  _( E" M0 B* T1 D
  770. ; http://php.net/cgi.fix-pathinfo
    : m/ s& S6 Q! @4 U# U
  771. cgi.fix_pathinfo=1+ g8 ~9 O% }6 n. x2 M
  772. & ?) M* v, h+ z
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside: f' `0 {7 b2 d+ Y1 t
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    . ]6 B! V( Z2 H
  775. ; http://php.net/cgi.dicard-path1 _1 M( E5 s3 @* i/ X( |
  776. ;cgi.discard_path=13 r: m. {6 p& C9 [

  777. - P3 J7 [8 Y# e3 J; O/ b" {5 J0 B
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate+ a  G$ d$ `% U
  779. ; security tokens of the calling client.  This allows IIS to define the1 b' P. w0 N5 w! I3 `, o& _7 p% [
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    4 X* v& t3 G+ [/ d& _
  781. ; does not currently support this feature (03/17/2002)
    ) _: g2 p4 s) q4 S+ X* Z9 M# @
  782. ; Set to 1 if running under IIS.  Default is zero.5 g, v5 d" u/ Y/ e  C0 N& G
  783. ; http://php.net/fastcgi.impersonate% e4 ]% k$ N) d' k; P
  784. ;fastcgi.impersonate = 1
    8 W& s! f! H- R8 |. L

  785. 6 M4 {. V" W4 V& t" P# Z% F6 e- B9 p+ C; A
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    7 _- ^) A' x! }$ ]$ n
  787. ; this feature.2 f. y; n9 q7 \0 k2 q, H
  788. ;fastcgi.logging = 01 {0 {0 A8 D+ U7 E& I2 D" R% Z

  789. ) H( v' r& W3 ]- W. j+ Y. R
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to4 e( x1 B8 u4 w" ]/ z6 v6 j
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that( C/ {% X# F& o7 j7 \: ~% e. B: ^
  792. ; is supported by Apache. When this option is set to 1, PHP will send; a+ \; `% u3 t0 ^1 W
  793. ; RFC2616 compliant header.1 F' x" V# h5 W! q0 B
  794. ; Default is zero.
    7 ~* }7 Q2 N( p
  795. ; http://php.net/cgi.rfc2616-headers
    / O& P* ?! U* h8 \4 s- x
  796. ;cgi.rfc2616_headers = 0
    ! x, Y2 H2 D& Z8 ]# m- a8 i

  797. : w8 Q: v9 E3 M: q6 N7 S
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!4 C" k+ x0 y5 z
  799. ; (shebang) at the top of the running script. This line might be needed if the
    * ~! ?3 b/ n5 o8 u5 ~- ]
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    6 v2 _' c+ P/ t  G
  801. ; mode skips this line and ignores its content if this directive is turned on.
    . n, B$ j# [: }! o3 n) O( Q
  802. ; http://php.net/cgi.check-shebang-line6 o, C6 A5 `7 h0 y% c$ R
  803. ;cgi.check_shebang_line=1
    . N; \! B1 E8 {0 w' P, s
  804. * l$ w. N" n' s1 \% a
  805. ;;;;;;;;;;;;;;;;
    4 }  o( m! u- E. q- q
  806. ; File Uploads ;
    ! n' [8 ~( D7 h& g0 D- R2 P
  807. ;;;;;;;;;;;;;;;;
    3 i# b& A7 U; `  {

  808. . [* X8 y& K9 a/ w  H3 ?& p' X
  809. ; Whether to allow HTTP file uploads.
    . V# B' v7 D8 U
  810. ; http://php.net/file-uploads
    0 s8 m/ X9 J  r$ G+ t+ R* {9 K0 [+ [
  811. file_uploads = On6 r) G8 L4 {6 @& ?$ Z$ e* a; `

  812. " j* C) v) j0 z1 O! f+ L9 s9 N& P
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    ! \' x, o* H- n9 Z9 H3 D( p
  814. ; specified).
    ) g) @0 d; O7 s9 w3 j6 x$ A
  815. ; http://php.net/upload-tmp-dir
    6 B% K! ?3 V1 @4 |5 c
  816. ;upload_tmp_dir =% Q1 I3 @8 k* X1 _  ^! G

  817. 0 Z! Z3 |5 u2 `8 ]5 t  r# V
  818. ; Maximum allowed size for uploaded files.
    9 p  K2 @/ ~; E* i4 y
  819. ; http://php.net/upload-max-filesize
    7 f" p1 H6 S  L# j8 ~4 C% _
  820. upload_max_filesize = 50M
    $ v4 J/ o" y+ P" O/ Y; I8 \
  821. $ p* U2 m6 f; {) h% ^5 h$ K1 ]
  822. ; Maximum number of files that can be uploaded via a single request$ s! l3 D: |) o* l4 m3 F
  823. max_file_uploads = 20' B+ K0 i% _4 @) B

  824. - F1 V( v0 y: {: P7 A) ]
  825. ;;;;;;;;;;;;;;;;;;* T- F7 b8 C/ i- F$ `) l
  826. ; Fopen wrappers ;
    ( a: g8 [6 G, E! f9 K! O$ L
  827. ;;;;;;;;;;;;;;;;;;
      u. Q0 @; n5 P2 v/ }' _
  828. ( z% o- x) G7 K7 c! k. f
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.% p0 b; N0 b) ?
  830. ; http://php.net/allow-url-fopen
      A, q! B+ z& ~7 ^( \) y  F. h
  831. allow_url_fopen = On! M( p  s% C; E, A) M, m, `# d' r6 r
  832. ! o8 n8 B$ K$ i2 J
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    6 }0 C7 B% b* t, O+ y$ ]3 S
  834. ; http://php.net/allow-url-include
    ! V, ^9 o" @$ J1 i
  835. allow_url_include = Off
    " y5 i, G3 L& e: B8 `

  836. : \5 v' H: {' ?4 I
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    + J- U4 V* ]: Z) _; j
  838. ; for this is empty.0 C- G9 L6 p3 [6 n4 A: ?6 \
  839. ; http://php.net/from! y7 [5 ]/ E! u. o  O- l1 f; y
  840. ;from="john@doe.com"
    & Q7 Y6 @7 B1 f; h- c

  841.   V( n4 C' P& n5 m4 [" K
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    - z' {$ H/ `& I0 g! m
  843. ; http://php.net/user-agent
    , c, J9 Z3 g7 Z7 w9 W9 p% z" @+ Z
  844. ;user_agent="PHP"4 _3 O9 V1 P; [/ V- i
  845. 5 T4 @! A& `- Y7 |
  846. ; Default timeout for socket based streams (seconds)
    ( b& r: O: t6 T3 P1 P. V
  847. ; http://php.net/default-socket-timeout0 o% R" i! u) d! s
  848. default_socket_timeout = 60
    & F+ c9 g, A5 |& H9 D. M# C

  849. 6 o' o/ D% N. R  t
  850. ; If your scripts have to deal with files from Macintosh systems,
    9 ?& R3 P' a! Z9 z3 ~5 u' A. q/ N
  851. ; or you are running on a Mac and need to deal with files from
    4 i$ E! g9 F8 i! W
  852. ; unix or win32 systems, setting this flag will cause PHP to
    7 t% K" r* F( a/ z: \% H$ c
  853. ; automatically detect the EOL character in those files so that
    + I- ~6 @: n( q& o# g" V4 O7 l
  854. ; fgets() and file() will work regardless of the source of the file.
    ' S, {+ f9 s( J7 F$ k
  855. ; http://php.net/auto-detect-line-endings
    6 }" I8 R) p/ S) z* h
  856. ;auto_detect_line_endings = Off
    , t1 _/ J) \; P
  857. * J7 v, _# C' M$ n' h7 m' P
  858. ;;;;;;;;;;;;;;;;;;;;;;
    ! b9 L6 ^* l! n# `* j* i3 G9 |
  859. ; Dynamic Extensions ;' b9 u$ \) |0 K" Z5 ]$ d
  860. ;;;;;;;;;;;;;;;;;;;;;;
    3 P; Y$ U0 M- R& Y3 d* ]

  861. # @5 f3 {4 f; x6 O
  862. ; If you wish to have an extension loaded automatically, use the following! T2 g+ H% ?; W* n& D( J
  863. ; syntax:
    3 \; V# d2 x1 x0 O+ b
  864. ;$ h6 H" }  \. _1 p& ~
  865. ;   extension=modulename.extension
    & }9 ?9 o# n. c) ?& }- @0 X
  866. ;/ ~( H9 i: g8 ]+ I+ {
  867. ; For example, on Windows:
    4 @! w2 a" x0 ]6 i
  868. ;. ?: X$ V% Z( W- S7 M
  869. ;   extension=msql.dll
    9 ~" J" T# _' S' }" F0 @& n( U
  870. ;% J  F1 a2 Y9 ]
  871. ; ... or under UNIX:
    ' {% E4 U5 g0 n3 N( n
  872. ;
      j/ G  B0 ?% E6 ?
  873. ;   extension=msql.so
    + E( o3 O# y3 N4 t
  874. ;
    2 }1 U* ^$ `8 r- c3 ~
  875. ; ... or with a path:
    ! j8 Q$ \# u, `6 G9 `
  876. ;
    , a6 r7 n7 h- g" y: f0 J9 q
  877. ;   extension=/path/to/extension/msql.so
      v" j& |7 m* E+ G
  878. ;% Z, R- p) w/ @  D5 g3 \
  879. ; If you only provide the name of the extension, PHP will look for it in its, t9 ?& G7 g. q" e1 R! h  O
  880. ; default extension directory.- H% u! p) Z  [# c
  881. ;
    ( \  n9 ~8 A) ]- N
  882. ; Windows Extensions
    ) ]6 |" J; Q" a1 a+ |2 O# W
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    1 O+ c8 O- B$ |1 G/ n' B+ K
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)! y# F3 t+ ~& A) ]# o9 d
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).8 k  s: ]( v8 [, T* o0 U! |* s- S
  886. ; Be sure to appropriately set the extension_dir directive." }& f2 k) r0 L' b+ l
  887. ;) c8 c& c$ |6 D, F* J7 }5 t
  888. ;extension=php_bz2.dll7 D+ i6 o2 E0 F$ X7 P9 c
  889. ;extension=php_curl.dll
    . j: b, T0 G' I% b/ N, o. K& A
  890. ;extension=php_fileinfo.dll! @* `1 |8 J: Y" \
  891. ;extension=php_gd2.dll
    : b! z9 [: B; V: u5 @
  892. ;extension=php_gettext.dll
    ! t# Z4 H' y9 ^
  893. ;extension=php_gmp.dll) U2 L8 P) D3 P. m* v# }4 L( r9 Q
  894. ;extension=php_intl.dll6 s$ G, H: O) \! R- ^( _9 l; l
  895. ;extension=php_imap.dll) J8 u& H( u9 `7 F% w4 y4 {
  896. ;extension=php_interbase.dll2 r# {5 P3 o9 Y1 K7 i
  897. ;extension=php_ldap.dll
    + p  |- _4 b3 ^+ t8 v7 t, ~
  898. ;extension=php_mbstring.dll+ v3 l/ K  a/ {. N! l% O
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ! Y5 C' T4 n0 `: i5 E! Q9 h
  900. ;extension=php_mysql.dll& c+ q& i. F) d
  901. ;extension=php_mysqli.dll  f) r$ W8 {/ C, x
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client; J/ I7 O) C+ z7 L' k
  903. ;extension=php_openssl.dll! w& [! n' l" ]' G
  904. ;extension=php_pdo_firebird.dll. M! y" B: w9 e) F  [+ X' Q2 K
  905. ;extension=php_pdo_mysql.dll1 H; W+ |6 H& Y7 m3 j7 V7 {/ g/ [
  906. ;extension=php_pdo_oci.dll
    & V* d& E! [2 d) y! |5 l
  907. ;extension=php_pdo_odbc.dll
    % K4 l3 A0 s' J7 e# L# J$ `
  908. ;extension=php_pdo_pgsql.dll* l1 L" W7 R0 x5 R, J5 K: l
  909. ;extension=php_pdo_sqlite.dll# y$ l1 C% |; f
  910. ;extension=php_pgsql.dll
    / L! l  L* F, i) B4 C& S
  911. ;extension=php_shmop.dll/ J5 y; b+ p7 n# c, A- P

  912. $ ?' w) u8 O; F" r- M5 L
  913. ; The MIBS data available in the PHP distribution must be installed. . y& f. w0 ]0 U% D
  914. ; See http://www.php.net/manual/en/snmp.installation.php " G, b9 k+ J  P& G+ v0 \$ f; K6 ^- y
  915. ;extension=php_snmp.dll
    + Z% p% Z4 q0 ?% y- {1 \

  916. 1 k& g7 b) g! O5 O6 n
  917. ;extension=php_soap.dll$ Z1 d8 Y; O8 O) D! T
  918. ;extension=php_sockets.dll. b3 o1 p& f- p  K+ [5 `
  919. ;extension=php_sqlite3.dll
    ' N  t1 n, ^4 h, P3 w/ w
  920. ;extension=php_sybase_ct.dll  W/ ^8 O5 H5 w) v" S
  921. ;extension=php_tidy.dll% r+ b& u% ~9 d: V6 L! C. H
  922. ;extension=php_xmlrpc.dll
    ! K$ t1 F( W# C; Y( y
  923. ;extension=php_xsl.dll
    # I1 W8 M8 w/ J0 ^% }: T/ T7 K
  924. 0 g8 X$ g& _1 Z" Z. f6 K; u! t' U
  925. ;;;;;;;;;;;;;;;;;;;
    + y& P: H  J+ A' X/ J3 k0 m( t
  926. ; Module Settings ;
    2 @, K/ a# ^9 c/ X# }8 P4 g& {
  927. ;;;;;;;;;;;;;;;;;;;
    8 Q7 G% \! u; {* {. g+ c& _. s
  928. 3 T5 ~3 x$ e- p! z$ s
  929. [CLI Server]
    , V. Q  P$ n0 G) w2 e0 _
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.9 ?; X) W% P8 j( @
  931. cli_server.color = On
    6 H! x6 V2 e" I2 K3 ^2 \* _
  932. * Q. C( J* ]. k7 c3 s  j9 f% o% h
  933. [Date]3 @$ j4 k5 ]5 X, ?, e
  934. ; Defines the default timezone used by the date functions" l9 Z+ n8 w# x2 \  [
  935. ; http://php.net/date.timezone$ v8 ?3 `/ x- [9 U9 J, r) B# E! m
  936. date.timezone = PRC
    ) b% f1 u/ E' r! Y$ T* w  k

  937. # t& i7 U; q" ^- \/ C8 A0 P
  938. ; http://php.net/date.default-latitude& U1 @5 y& t4 X1 d# h" A
  939. ;date.default_latitude = 31.7667/ O7 i9 a/ q( M% K% x
  940. - z+ O& A" E" x1 |8 y( C& K5 @
  941. ; http://php.net/date.default-longitude
    2 r8 o+ o* l9 i: F5 W- U) q6 X
  942. ;date.default_longitude = 35.2333
    8 W8 i9 F1 Z/ L; P2 i& X* d
  943. : L% f, @' Y5 R5 F4 [3 E
  944. ; http://php.net/date.sunrise-zenith
    5 j0 V2 m8 k: S+ H( m8 u# q& T$ w; |
  945. ;date.sunrise_zenith = 90.583333, j% y/ A3 `2 h. y
  946. $ M' P# t* Q* }5 _
  947. ; http://php.net/date.sunset-zenith; _$ M1 ~4 R( v" t8 D- X
  948. ;date.sunset_zenith = 90.583333" F: }/ V; g4 q# Z
  949. : \( {9 n  [7 K! `" x7 p
  950. [filter]
    " B& l: w  f) Q. a- L1 Z/ r
  951. ; http://php.net/filter.default4 c# A$ L/ [, p- p% c: ?/ y
  952. ;filter.default = unsafe_raw
    # G& {, ?$ f7 ~9 y8 Q0 v0 N

  953. : ~# P+ ]4 Q# Y) o* i- n( g) ?
  954. ; http://php.net/filter.default-flags' W4 m0 ?& W* r
  955. ;filter.default_flags =1 O; y1 I5 _0 Y! W9 l

  956. # _" P/ A; b' j( b1 z& Z9 c: N
  957. [iconv], F0 O' ?8 k7 Y, ~: B& o
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.: Y- c, e' S! ?- m0 u! I9 @
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.9 D- P( g) H8 n& u' u% O  }
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    * v# x+ Z$ R# Q
  961. ;iconv.input_encoding =
    6 M. x0 n+ |% j* p; W
  962. / Y; m" }8 W6 V# Z
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    1 D" S7 }) c0 g! q, ]. o
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    * H) o% w/ \( A  b6 F' A/ q5 p
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    6 Q' M$ @8 ?% |& t
  966. ;iconv.internal_encoding =: B3 U1 Z4 r. E- ^& F$ I- T

  967. / X$ @( a5 q; W* `1 x
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.- n/ h5 p' c: Y5 A
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.' b. p# g2 a4 H3 S. ^' @
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding( m. A1 {6 K4 S9 c) c3 ?
  971. ; To use an output encoding conversion, iconv's output handler must be set
    7 g- k: _5 ?4 n$ l. U3 D" w  M- Y
  972. ; otherwise output encoding conversion cannot be performed.+ i; \1 V4 o, J" y5 z$ Y* b, `
  973. ;iconv.output_encoding =
    , S& K0 T: T3 x% z* Q

  974. 7 h! O& a0 [( {6 _' y3 f
  975. [intl]
    8 d% d0 b8 ]: }4 s  l
  976. ;intl.default_locale =7 B* H" @4 S0 A4 Z7 O* W
  977. ; This directive allows you to produce PHP errors when some error6 D; N* F5 E0 P' s( T7 L0 X
  978. ; happens within intl functions. The value is the level of the error produced.% I6 Y1 h! u/ h# s$ h' H  ^
  979. ; Default is 0, which does not produce any errors.( b% q+ R1 k7 |. k) _, d: [
  980. ;intl.error_level = E_WARNING
    + A/ g2 f, Y; i% S
  981. ;intl.use_exceptions = 0
    - K2 R7 g5 t& y2 G4 B
  982. ; b4 o) F% b7 k! A
  983. [sqlite3]
    + V. D/ P4 p" H0 P: M4 m* w
  984. ;sqlite3.extension_dir =: X5 N. w; e* S

  985. 8 [! D! h; N6 b9 \# P! H9 l! d
  986. [Pcre]
    . ~3 l( q# _5 A1 _3 L1 Y
  987. ;PCRE library backtracking limit.5 n8 w4 J; ~: P# G' Q% ~
  988. ; http://php.net/pcre.backtrack-limit( A) I% s" v. j
  989. ;pcre.backtrack_limit=100000
    5 ~: _5 M7 C2 l8 s# D8 v

  990.   d, w. C/ d0 `! o) z
  991. ;PCRE library recursion limit.& y  I! [0 K- ?, l6 I( J% K; T- Q" Y+ R
  992. ;Please note that if you set this value to a high number you may consume all$ g/ ]& `( f/ I: \7 w
  993. ;the available process stack and eventually crash PHP (due to reaching the
    ) E) c3 t2 {0 ?* p. K" E1 c# l" r+ T
  994. ;stack size limit imposed by the Operating System).
    4 q- _! l+ H, Y" j
  995. ; http://php.net/pcre.recursion-limit
    ( O% `3 N0 A- L' C# ]# G
  996. ;pcre.recursion_limit=100000
    4 Q6 K! T  Z& a+ u# [
  997. . f. H6 N) d8 y( U8 n6 c
  998. [Pdo]
    2 [8 `4 n+ W4 s: J2 M! t
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    0 ^$ C5 a0 B/ w5 Z0 ?# m
  1000. ; http://php.net/pdo-odbc.connection-pooling1 k* ~+ Y8 f$ O
  1001. ;pdo_odbc.connection_pooling=strict9 Z/ v3 c3 m0 k, k: y
  1002. 1 R4 E5 o5 N& s3 o; _
  1003. ;pdo_odbc.db2_instance_name
    1 q4 L6 @; k. i5 c" J1 m

  1004.   G8 _. W, F) X0 K4 J$ Q% q
  1005. [Pdo_mysql]
    ) L0 @; h( o/ S$ l
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    , R$ Y1 f/ d, J4 c5 @9 o
  1007. ; http://php.net/pdo_mysql.cache_size
    - e& B# V/ a  _' e  z+ a- c
  1008. pdo_mysql.cache_size = 20003 A& r1 |" p4 @4 a' f
  1009. " ~% c5 p' b  L, ?5 i; S
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in( C: _2 Z4 |* L; ]% z7 I& o6 o
  1011. ; MySQL defaults.$ }  q7 b4 X: D+ P3 v* h3 k
  1012. ; http://php.net/pdo_mysql.default-socket* e5 `4 M0 o0 w( |( ?
  1013. pdo_mysql.default_socket=
    6 D9 \& L8 T/ C; M7 F
  1014. . [$ e9 I) X% x. x
  1015. [Phar]
    . \% q- |0 n2 k6 x% C
  1016. ; http://php.net/phar.readonly7 L! b  X/ B& X! q. B
  1017. ;phar.readonly = On% }3 a5 m% j; `' ^; i7 Z+ @% O

  1018. # o) h4 T; `( g5 l
  1019. ; http://php.net/phar.require-hash
    7 C- R1 K" [5 ~: s; t' `4 {" z/ W+ T( |
  1020. ;phar.require_hash = On& G; {, \2 E! L

  1021. 7 N5 Q2 [' q" F- Z" R/ o/ o
  1022. ;phar.cache_list =
    2 D) [7 Q8 x" s& M4 h1 z8 W
  1023. 2 I- A& }. }% r1 j& l# X# k
  1024. [mail function]
    # |/ o4 p& x, z- i
  1025. ; For Win32 only.+ D% d2 O2 w' `7 x+ Y, k& ^
  1026. ; http://php.net/smtp
    ' f- ~; V4 a* i7 L
  1027. SMTP = localhost! t: g" U' |3 c# j
  1028. ; http://php.net/smtp-port
      w# k  a2 _& R
  1029. smtp_port = 25
    6 K3 y- `6 o, A* q* s
  1030.   ~: x6 g: d4 Z* N& _
  1031. ; For Win32 only.' i6 C; z$ {: {  a: ?. k9 [
  1032. ; http://php.net/sendmail-from
    $ _$ f4 p, d2 R7 I" G  e4 s" b4 u! _
  1033. ;sendmail_from = me@example.com5 M; H+ h9 O. s
  1034. + A: E7 h& E& o7 ^5 [- c
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    / c7 M( |# Y) S# x
  1036. ; http://php.net/sendmail-path" h7 f* a  N, X5 Z
  1037. sendmail_path = /usr/sbin/sendmail -t -i1 [# D3 ?  b/ z0 m# q) s
  1038. ' ~9 ^( }4 r6 k  ?2 l  q0 |8 I
  1039. ; Force the addition of the specified parameters to be passed as extra parameters- G/ W( c3 }: S6 u+ y' z* z' w) x
  1040. ; to the sendmail binary. These parameters will always replace the value of
    7 l, m+ `, u6 |! T. O
  1041. ; the 5th parameter to mail().
    ( n1 x9 z8 w& c
  1042. ;mail.force_extra_parameters =
    2 {# I+ F2 [+ X# C1 _0 e
  1043. 4 D2 Q& R8 _; X7 n1 w: ~6 k# {
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename2 @; L/ X. B! Y" _( `1 c
  1045. mail.add_x_header = On
    8 M% z! j) [: q
  1046. 2 Z3 E5 z" E6 p8 V
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    4 k1 A+ D( \# X: u) B9 ~) x% w3 o
  1048. ; the full path of the script, line number, To address and headers.$ |7 @% u3 l* o
  1049. ;mail.log =
    ) o# M9 B: |" U- X7 O' ~0 L, t
  1050. ; Log mail to syslog (Event Log on Windows).) S0 |  P* {) X
  1051. ;mail.log = syslog, e" S- X5 R4 y3 ~! `) p( d6 C" n
  1052. % ]  i% r6 Q6 o5 ^3 }
  1053. [SQL]
    * r. J- \8 q. i% |8 }5 _5 a9 m
  1054. ; http://php.net/sql.safe-mode
    9 k2 f" j; Y8 h& t# t$ ~1 t3 A
  1055. sql.safe_mode = Off( f, S" a6 M; m) w* p/ W( p' L* m
  1056. . |2 o/ O) Z( A7 A
  1057. [ODBC]# B* T9 [3 ~6 P
  1058. ; http://php.net/odbc.default-db, g. E, O1 E3 \4 R  R* a2 k
  1059. ;odbc.default_db    =  Not yet implemented$ I, T. [8 q! B1 J% a$ \3 g  C, o

  1060. ( S$ L' S/ z# f: a
  1061. ; http://php.net/odbc.default-user
    $ B. f" ?9 p1 g. Q; U
  1062. ;odbc.default_user  =  Not yet implemented+ P+ u% M4 d" O: x* ~

  1063. $ a8 s% ?' R9 Y. t
  1064. ; http://php.net/odbc.default-pw
    2 e. z' }" [3 D4 q3 F
  1065. ;odbc.default_pw    =  Not yet implemented4 U; [; s- {7 O' j
  1066. * a9 B# A& W- P
  1067. ; Controls the ODBC cursor model.
    9 P# n8 d' i; X# k/ D, L! ]
  1068. ; Default: SQL_CURSOR_STATIC (default)./ w3 Y. @# A2 u* ~' _3 w8 T+ U
  1069. ;odbc.default_cursortype' x9 U6 o' F6 M

  1070. + i+ P$ J2 ~+ G
  1071. ; Allow or prevent persistent links.
    , o# `. {3 p0 q. [9 |- |+ _
  1072. ; http://php.net/odbc.allow-persistent: j7 k0 R/ n/ R# ~2 z
  1073. odbc.allow_persistent = On
    $ R% n' o' h/ F" t* R
  1074. % T3 |, Y& U8 @+ `" q0 C* I( w. ]
  1075. ; Check that a connection is still valid before reuse.8 Q6 E/ F' Y# E% m' w% T0 H
  1076. ; http://php.net/odbc.check-persistent2 m5 N0 s+ @4 Y6 f8 t/ T
  1077. odbc.check_persistent = On4 c- e* s2 O6 w, ]$ `

  1078.   r3 v0 P$ o5 _# E- g+ L5 {
  1079. ; Maximum number of persistent links.  -1 means no limit.8 F6 s# Q) F4 ^: w
  1080. ; http://php.net/odbc.max-persistent, S$ v4 F' A9 `! ?
  1081. odbc.max_persistent = -19 M0 O  \) A: B4 V0 \4 X$ J

  1082. 9 ?  x( \  j5 n2 x7 l4 v2 U0 c
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ [! a8 k8 w; O' v* X+ f9 u4 c
  1084. ; http://php.net/odbc.max-links! a0 O$ L# [/ ^, B; J9 s/ O
  1085. odbc.max_links = -14 x) G- f3 n) \* {

  1086. ( y) I& E) h/ F+ K6 H/ U9 |" p
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means1 O% ~% O  A8 l& d
  1088. ; passthru.
    7 z$ l7 I3 F/ o
  1089. ; http://php.net/odbc.defaultlrl; O0 p# r2 Y0 D* y
  1090. odbc.defaultlrl = 40964 e7 X5 ^8 [( f
  1091. ; j7 r+ f* ?$ {- n6 e* i
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.) ?$ ^9 k5 K/ }6 ]! P3 \
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation4 d# r7 S9 {1 F7 n3 Y5 m+ S8 R
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    . q. e9 C* |+ X4 T+ ^& |+ Y. D
  1095. ; http://php.net/odbc.defaultbinmode& g: T3 a0 Y( L3 J+ N  i( n& ]7 P
  1096. odbc.defaultbinmode = 1
    % Q6 d, _$ d: ]9 |# v) z1 D6 {: w
  1097. 2 f) m8 n, D0 a5 O4 F0 w
  1098. ;birdstep.max_links = -1
    4 M, g; c: T/ _" T1 n

  1099. 4 O/ Q, k% @. Z1 W9 y% c" l
  1100. [Interbase]
    + Z! o  c# {9 C7 v; _6 m$ Q  K
  1101. ; Allow or prevent persistent links.
    ( ^8 M4 @3 b3 f) q3 {* f) W
  1102. ibase.allow_persistent = 1; U1 T# P7 f; ]& ?3 N8 [
  1103. ) y4 D1 b4 C. Y" h" Y6 G; u
  1104. ; Maximum number of persistent links.  -1 means no limit.
    9 Q# A0 m: K) _- x. o3 C
  1105. ibase.max_persistent = -1
    8 H# g0 E% A1 x. Z1 G

  1106. ) k9 L8 C2 U# r" R/ H5 n: L
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    9 i4 s2 m  l. |) s% X( ~
  1108. ibase.max_links = -1
    / s" J8 r! U4 }% ]2 w0 M" f5 Q
  1109. 9 }  ]1 D( p* B1 L7 @
  1110. ; Default database name for ibase_connect().
    * S; }1 g7 U( T( y9 w* `
  1111. ;ibase.default_db =) m0 I( _, p3 p" ?) `/ |( G! t% _: Q

  1112. & m5 y. O  S& q& L) e
  1113. ; Default username for ibase_connect().' N# ]0 ^, b- ?  E* i
  1114. ;ibase.default_user =3 y/ ?* \7 G; ~: i2 P: g% I  t( w

  1115. + B' r8 R( K& S, [
  1116. ; Default password for ibase_connect().
    3 n* `) V/ Y8 S$ R7 Z6 J
  1117. ;ibase.default_password =* X8 d% r; N' o' N# O" `  W9 l, c. M: I
  1118. % f2 {) y3 t2 O; b
  1119. ; Default charset for ibase_connect().
    . T' A" V: d  g4 B  r8 C
  1120. ;ibase.default_charset =  o! R3 e0 j$ W2 F; h

  1121. ; V: N, M8 M- q/ u4 r
  1122. ; Default timestamp format.7 Y. x5 c7 j" q
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    9 u! \) c! j2 G6 M0 J
  1124. - Z) P: {' {4 l
  1125. ; Default date format.
    7 c6 ]& f! }% V8 u' Z
  1126. ibase.dateformat = "%Y-%m-%d"
    ( s" M9 O; W" e8 ]
  1127. , V! E# ^+ ~; ]. U% @7 @
  1128. ; Default time format.
    7 B; ?( {0 t. a
  1129. ibase.timeformat = "%H:%M:%S"  B  Q4 ?& _, w% }

  1130. 5 F$ o  c+ W! y: R
  1131. [MySQL]$ M% f7 n0 b2 `9 w4 r
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements4 O5 \0 ?. e6 U% d* z* U
  1133. ; http://php.net/mysql.allow_local_infile
    ) m( ~' g! R6 r
  1134. mysql.allow_local_infile = On  P- g# L+ d4 w! o6 N+ F, J- V
  1135. 6 x' i1 Z% N' d7 v
  1136. ; Allow or prevent persistent links.$ l: q; u3 J5 t- U8 Y
  1137. ; http://php.net/mysql.allow-persistent
    ) W. T8 e3 u$ G& r
  1138. mysql.allow_persistent = On8 D2 J* l) \$ }; U8 u4 b5 x
  1139. 3 [$ k) O! ~* o; ~% u9 Y
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache/ |! _2 ?+ E5 a! Y
  1141. ; http://php.net/mysql.cache_size# L# B8 i6 P6 C+ i6 L6 p) h+ Y
  1142. mysql.cache_size = 2000( L2 I! y$ r# c
  1143. 7 y( n# z/ {' U4 T; D/ j
  1144. ; Maximum number of persistent links.  -1 means no limit.: h1 @7 \7 K1 v# G" h
  1145. ; http://php.net/mysql.max-persistent: Y4 y' F, ]' Z8 `( g( J
  1146. mysql.max_persistent = -11 I+ X3 t1 v- z5 C9 D% s

  1147. + K# N: N: ~" U, O( Z: T6 v* X
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( J' H4 l, \4 l
  1149. ; http://php.net/mysql.max-links0 W1 Z8 F5 q9 h  I  j
  1150. mysql.max_links = -19 k& s9 a4 L9 H
  1151. $ A( J, @$ _' q! b" \& \
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use4 C) U7 T5 r7 g3 r- ]$ [
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the- k! N, u) Q% o4 }1 j. X4 q/ D
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    , I9 L* d4 l$ }. B0 Q/ ^8 b5 t( i9 _
  1155. ; at MYSQL_PORT.
      |5 Y" \4 H( J
  1156. ; http://php.net/mysql.default-port
    5 Z/ h; [/ D& g* q0 K! Y( r! I
  1157. mysql.default_port =- N. ~5 w5 v  f! E6 `/ w% |7 J

  1158. ' q" n! b. Z6 ~7 n
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in7 m# a; N# H4 I& S
  1160. ; MySQL defaults.7 B. \, L. y2 R! X  u: y% }
  1161. ; http://php.net/mysql.default-socket
    + U0 T. Z5 {8 h6 l9 i
  1162. mysql.default_socket =
    * F+ [5 P' R( R$ b! c" _  \

  1163. 5 y, U2 ?8 Y+ Z0 j3 T$ Z0 s- u
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).5 V4 E" I, B5 ]) H
  1165. ; http://php.net/mysql.default-host% V& u( n' E* p) D
  1166. mysql.default_host =6 m- r) Z; P7 R; G# q; B

  1167. $ r# I/ c$ Y  O! M( d* h1 l* W, X9 g
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).3 K. s: O- o7 I" z
  1169. ; http://php.net/mysql.default-user
    # r6 N/ `  Q( Z7 h: |
  1170. mysql.default_user =+ G6 l* }8 q6 t  S( w& @
  1171. 0 X6 p/ `/ r1 \2 I
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    , j* e; ]- S+ \2 u1 p; m8 j
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.* D& b# r$ K* |1 \
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")7 d2 d! ^/ u2 q7 w6 L, R7 a' U# w
  1175. ; and reveal this password!  And of course, any users with read access to this
    & p% A- C% u/ C/ g/ k( R8 x
  1176. ; file will be able to reveal the password as well., k0 J9 ^7 V, |7 o/ z
  1177. ; http://php.net/mysql.default-password9 m* j7 D( d, `% A, N9 N; b) B) _/ W
  1178. mysql.default_password =
    - O2 {$ O8 |3 w

  1179. . ]/ _: t' r, I+ o+ z9 {
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit* K' E' a' Z) V! v% u$ N
  1181. ; http://php.net/mysql.connect-timeout
    4 E) R5 @+ Y% U6 U& N: [0 q+ d$ S
  1182. mysql.connect_timeout = 60- B+ ~/ }5 Q1 [- G
  1183. , D7 b7 A, M: c' b. d' s3 I. d
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and2 }( s, e& Q$ d8 |& S
  1185. ; SQL-Errors will be displayed.& R. D2 o3 I# ~
  1186. ; http://php.net/mysql.trace-mode8 x8 N  n, f" R+ C  u
  1187. mysql.trace_mode = Off; t; ]/ r. J& s" i5 U
  1188. : Q0 J+ n0 ^& z: L
  1189. [MySQLi]. t- d/ S* J% W" _' _8 S

  1190. & W; c2 N* x- {! F4 p$ \
  1191. ; Maximum number of persistent links.  -1 means no limit.
    - t5 ], |& ^- p9 y% y! i
  1192. ; http://php.net/mysqli.max-persistent
    1 S: T+ N$ I4 t& n. m: @1 g/ \4 i
  1193. mysqli.max_persistent = -1
    1 k% |; D0 s4 W! O  p/ O

  1194. 4 s7 ^4 o* r7 ]7 ]. [8 |# k
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements3 n  \7 y+ C' p+ D
  1196. ; http://php.net/mysqli.allow_local_infile
    7 |) L7 D  M; l6 \2 i% Z; ~2 q
  1197. ;mysqli.allow_local_infile = On% B/ \: J3 V; b' x& M4 O

  1198. - t2 c7 O# A( g2 r0 h
  1199. ; Allow or prevent persistent links.
    ' c7 c& x( _; N2 q
  1200. ; http://php.net/mysqli.allow-persistent
    + y4 r7 k( `4 h' ~% ~3 \8 Y/ e/ m$ @
  1201. mysqli.allow_persistent = On
    8 J- N3 }% g' f' Y# H

  1202. 6 W5 m$ p9 o6 U- q" y
  1203. ; Maximum number of links.  -1 means no limit.) z- g: H9 i5 m0 s
  1204. ; http://php.net/mysqli.max-links
    + r% Z9 [, n7 C0 b& a
  1205. mysqli.max_links = -1( u0 }' u# T$ ^. H  ?" ^9 ]

  1206. & Z; q3 B! W- ?% [& M1 ]! N
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    9 L6 m2 k2 c& w; j$ a6 b
  1208. ; http://php.net/mysqli.cache_size
    + l. y0 Q! \  |. D" q
  1209. mysqli.cache_size = 2000* X& u7 S2 J6 D2 Q; g$ Q
  1210. : e1 m6 e) a8 x
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    3 D( P" h. ?" d
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the9 W$ |( e. a6 l: `& Y% T+ W
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look# B% X! v6 r) {0 B+ ?; X
  1214. ; at MYSQL_PORT.
    * L& P: a$ |# u  u  {
  1215. ; http://php.net/mysqli.default-port# |+ F/ b% k. l+ y" `
  1216. mysqli.default_port = 3306& I1 m, D* }- S! H6 m2 e/ a

  1217. ' E2 Z# _2 H* ^1 p4 ]: ]6 r2 s
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in4 Z% ]/ N) A: M2 k  h
  1219. ; MySQL defaults.
    # {: b6 K- a. w( M$ a" I
  1220. ; http://php.net/mysqli.default-socket3 c* x0 z9 B) e" A% v  `  w
  1221. mysqli.default_socket =! r/ Y+ d/ A6 A( H. Y' V7 \
  1222. 8 d& Z' a. O& |  ]
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    4 u: t7 k- B9 @' V
  1224. ; http://php.net/mysqli.default-host- z2 c8 q- r; [' ~
  1225. mysqli.default_host =' G5 U1 M) _8 v8 {7 {3 z$ x0 S
  1226. 0 a( p. m: n, s4 v( B3 Z1 ]5 T4 Y
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    + S$ m& A6 c2 Y& ?3 ~; V8 W
  1228. ; http://php.net/mysqli.default-user
    4 F2 N& |: ]) j+ Q4 Z" @% s$ a* U
  1229. mysqli.default_user =
    6 P5 T) w0 D9 r' Y  r: i
  1230. ; D& G" t) G2 u
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).( G+ ~) x8 ]8 R' x
  1232. ; Note that this is generally a *bad* idea to store passwords in this file., c& X( y- M, G5 C- n- U7 x0 e
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    / O. x' G9 x: K# I8 t
  1234. ; and reveal this password!  And of course, any users with read access to this8 ?5 J$ S: v; n, n& O, ^
  1235. ; file will be able to reveal the password as well.
    ) b7 g  v* c$ B: S/ B9 Q1 F/ k: j
  1236. ; http://php.net/mysqli.default-pw6 y, z% Z! @' K4 v" t% {
  1237. mysqli.default_pw =3 Z* [! d" k5 d& W1 p  L" b8 g

  1238. - ?6 k2 m, P% |$ j( |. x. }" ^
  1239. ; Allow or prevent reconnect
    $ S  _" B; U/ y' }0 |8 M$ X' h6 t1 G
  1240. mysqli.reconnect = Off/ y) u4 |, \) a/ o9 w" P

  1241. ) H8 `* L3 D7 R& e9 u5 ~0 B
  1242. [mysqlnd]
    + T8 }; P# j; B
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be" y; G0 R* W) Z2 x
  1244. ; used to tune and monitor MySQL operations.
    : r$ b% v1 ?9 \- H5 L2 @
  1245. ; http://php.net/mysqlnd.collect_statistics% K& i" h# A- \7 u+ }
  1246. mysqlnd.collect_statistics = On
    3 i/ Q; j& U3 T' A; W- }+ v

  1247. 6 _% E) e0 Q! l8 v) |
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    2 ^& a5 j6 m5 f! E8 y: {7 z: J5 |& A
  1249. ; used to tune and monitor MySQL operations.  m( z- p: c! d& i% ^7 o" k: ~
  1250. ; http://php.net/mysqlnd.collect_memory_statistics6 s' @0 d( V4 i8 p, F" p
  1251. mysqlnd.collect_memory_statistics = Off
    9 `. Z; g- @- g- y( V5 H3 j
  1252. % q2 P$ `/ q( g7 F5 K) e
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    6 {; s4 u; @# K6 ~
  1254. ; file./ {, V" P  u# _9 K1 a# j
  1255. ; http://php.net/mysqlnd.debug2 a! ^+ K! }; [! q2 q$ m8 z; z  t
  1256. ;mysqlnd.debug =
    % G3 c# f5 P. }% f- W
  1257. - m& x+ T+ c  v
  1258. ; Defines which queries will be logged.
    9 P! }+ }/ _+ C
  1259. ; http://php.net/mysqlnd.log_mask
      E+ r  I. b* R# M, L6 u) K$ K
  1260. ;mysqlnd.log_mask = 0
    . u/ x: D9 X9 ~" B* U$ _

  1261. * I" b4 j) y, p* `1 j0 m$ o) d
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    2 u- m+ n% w$ D
  1263. ; http://php.net/mysqlnd.mempool_default_size6 K5 L, i- X4 C; k" f9 H. ~2 K5 N
  1264. ;mysqlnd.mempool_default_size = 16000* w  y5 a) w% q' b* R

  1265. % }% @. W% O0 P2 A/ S3 [
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ; h+ G" @' ]9 T3 ]  q
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size& z7 X) o% d1 `
  1268. ;mysqlnd.net_cmd_buffer_size = 2048/ V, \) F2 z; C, R; R
  1269. . h3 d+ x; Y+ r( s; ^  P. k* g
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in! {( j+ E3 ]6 ~( Z# T" X
  1271. ; bytes.
    ! }$ Z6 `6 J0 x; b; b
  1272. ; http://php.net/mysqlnd.net_read_buffer_size6 S- I# q' n* q1 W
  1273. ;mysqlnd.net_read_buffer_size = 32768
    " P7 c9 a, l1 Z. q
  1274. # `) c+ T9 R4 C  a* S
  1275. ; Timeout for network requests in seconds.
    5 k& f& [; z! G! a8 N
  1276. ; http://php.net/mysqlnd.net_read_timeout. V, n) R5 f. A( Q( n/ W8 O
  1277. ;mysqlnd.net_read_timeout = 31536000
    8 U9 K! J" W" o+ s- P
  1278. 1 b$ y  ?0 [# C3 y8 c* e. d3 {
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA. t8 @3 s& |. H: f+ |
  1280. ; key.7 e+ Y6 R  z7 K" M+ u
  1281. ; http://php.net/mysqlnd.sha256_server_public_key! Y1 y3 f4 ~7 U- K; A9 v
  1282. ;mysqlnd.sha256_server_public_key =: o) t- o' ~' i4 `" v2 M7 ~

  1283. ; a% t4 b3 S! d- [5 C
  1284. [OCI8]
    & r" q0 t, X# G) }( g8 [1 L

  1285. ' g! N; H. a! ]/ z
  1286. ; Connection: Enables privileged connections using external
    # z: F$ D7 v, s# m4 B
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)- c2 E* i) h' H5 l* e
  1288. ; http://php.net/oci8.privileged-connect; s; J- ~. f' o1 \
  1289. ;oci8.privileged_connect = Off
    3 {6 M$ Z: e/ C

  1290. 8 Q1 H4 \4 J5 m% c% W5 J# o2 d
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    $ Q' X2 k, E) I1 ~& G
  1292. ; process. Using -1 means no limit.
    : k; f* m% @& f9 M4 W; I
  1293. ; http://php.net/oci8.max-persistent+ q$ e/ Z0 f0 C4 n3 k# p& i/ {. `
  1294. ;oci8.max_persistent = -1) s! o; d% s6 [$ v/ Q

  1295. ) O+ K, t5 X# j. R' K! U
  1296. ; Connection: The maximum number of seconds a process is allowed to
    " a1 ?. d7 R7 r
  1297. ; maintain an idle persistent connection. Using -1 means idle! X6 _' z- m: F2 a1 L8 L' M
  1298. ; persistent connections will be maintained forever.
    1 s2 \" y2 b: }" J: j1 Z: S5 A$ l) y
  1299. ; http://php.net/oci8.persistent-timeout2 l) E5 B( F8 e% d$ }; W
  1300. ;oci8.persistent_timeout = -1; N! i2 H) Z0 [3 D- Y1 H6 b
  1301. 9 }9 Y4 g) `/ U2 N
  1302. ; Connection: The number of seconds that must pass before issuing a/ t/ R% k2 Y( c% j6 Z
  1303. ; ping during oci_pconnect() to check the connection validity. When( m( J. y6 w% E( y
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    , r2 t7 b) `/ u& K/ {
  1305. ; pings completely.$ ~( Q1 w$ h: \) W, _: g6 ^
  1306. ; http://php.net/oci8.ping-interval1 \9 |9 f1 [5 B' |- U) v7 ?
  1307. ;oci8.ping_interval = 60
    % D# y# X- v* n2 f, Z4 o& r+ F

  1308. 8 u* {* H3 l# ~; W: B
  1309. ; Connection: Set this to a user chosen connection class to be used2 @4 y1 e! S- x8 m3 r7 B
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    ' _! A1 i, u& k0 e7 L
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to' _" @4 {/ Y3 s2 S, ~
  1312. ; the same string for all web servers running the same application,! k7 h% A  V/ Y2 \% W9 k
  1313. ; the database pool must be configured, and the connection string must
    % N6 z7 V5 e2 I& L4 D
  1314. ; specify to use a pooled server.% p  S( D6 M$ B) t" Q
  1315. ;oci8.connection_class =/ N# I' |8 g, y/ |

  1316. ' t1 s, d9 q/ @0 j
  1317. ; High Availability: Using On lets PHP receive Fast Application4 _* w8 ]+ F+ c
  1318. ; Notification (FAN) events generated when a database node fails. The
    ' T' E! g% u$ w% _1 w
  1319. ; database must also be configured to post FAN events.4 c  c+ ]/ F: y- x! D) S
  1320. ;oci8.events = Off, A) a" y7 {6 U6 U. H7 T

  1321. 1 u3 ^# [0 C0 M" ^  g
  1322. ; Tuning: This option enables statement caching, and specifies how8 ^; k- v  V: P/ t
  1323. ; many statements to cache. Using 0 disables statement caching.
    + y# Q4 X! S! i$ G- ]8 z" C
  1324. ; http://php.net/oci8.statement-cache-size8 q$ X5 ~% |; Q6 n- v
  1325. ;oci8.statement_cache_size = 20: ~! X* A  g' A, U) G% w% X

  1326. / C8 w- ^; G/ p* A& }: [+ S
  1327. ; Tuning: Enables statement prefetching and sets the default number of- i5 j" H! n, t2 D( f7 W& @+ m
  1328. ; rows that will be fetched automatically after statement execution.
    2 W: t7 e% Y9 H/ Y
  1329. ; http://php.net/oci8.default-prefetch
    1 W) a6 ~5 R1 ^% T
  1330. ;oci8.default_prefetch = 1002 {" }5 C+ [8 Y3 K) ]
  1331. $ I3 X! O1 `5 x- q
  1332. ; Compatibility. Using On means oci_close() will not close! |3 o) f7 k/ @( z" P
  1333. ; oci_connect() and oci_new_connect() connections.
    : E6 y, ^0 x. F/ S2 M# {7 W
  1334. ; http://php.net/oci8.old-oci-close-semantics
    4 P8 p( S$ D' E" }6 I- h
  1335. ;oci8.old_oci_close_semantics = Off/ |( F& v1 o/ r+ j
  1336. : |; z4 _. U$ C
  1337. [PostgreSQL]$ n1 }( D" T' W
  1338. ; Allow or prevent persistent links.- j9 J$ ~% F0 m" G- o, B+ R3 Z  V: e
  1339. ; http://php.net/pgsql.allow-persistent
    4 }$ \& A3 N, B# m& K+ f' ^1 _
  1340. pgsql.allow_persistent = On
    7 E$ }6 y5 U: l$ `  e% {2 h  D
  1341. + V# b- c  K4 X
  1342. ; Detect broken persistent links always with pg_pconnect().- u! H1 p! o# \/ n- A) V
  1343. ; Auto reset feature requires a little overheads.
    1 h+ }$ g% i* m7 e9 A: p
  1344. ; http://php.net/pgsql.auto-reset-persistent+ v+ s3 e# s( i* X7 Z' i
  1345. pgsql.auto_reset_persistent = Off( d% _$ A; a- e4 @6 @3 n
  1346. # L% T9 E. e) q. ]5 ?4 g; z
  1347. ; Maximum number of persistent links.  -1 means no limit.
    8 Z$ T4 \8 q$ s0 a/ ~( _: A% o3 a
  1348. ; http://php.net/pgsql.max-persistent
    ; p$ o5 x7 n( @: c$ U
  1349. pgsql.max_persistent = -1
    - _& o9 _3 k  P0 f

  1350. + D4 j! J/ A( h1 n. z
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.1 C( Z: |5 i6 b# R( }) N9 \5 x0 Y
  1352. ; http://php.net/pgsql.max-links
    : F7 v' Y8 Q. j4 z& G$ n+ z
  1353. pgsql.max_links = -1
    ; T. i7 m. ~( ?
  1354. , E, _, V; X1 Y
  1355. ; Ignore PostgreSQL backends Notice message or not.
    ( T6 q- R5 {, s. [' P; u7 z
  1356. ; Notice message logging require a little overheads.
    % [. o* w& F6 l$ s
  1357. ; http://php.net/pgsql.ignore-notice: O* b7 ?% h7 P# N' _: |. C6 o3 \. g
  1358. pgsql.ignore_notice = 00 |# g' b8 L) C1 t1 q3 I1 s  N

  1359.   Z/ T$ ^9 r7 C1 u8 X0 _
  1360. ; Log PostgreSQL backends Notice message or not.
      G' _: s0 I* ~- O3 W9 t+ z. E
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    6 V3 X# [! U4 C) c6 z
  1362. ; http://php.net/pgsql.log-notice
    ( Y9 y: G4 m; l1 T/ H& p
  1363. pgsql.log_notice = 0
    8 D3 q9 t. h! J0 Q- A

  1364. 8 M$ b, T9 d6 L' v- }# H9 T7 N
  1365. [Sybase-CT]
    & J7 {$ y0 l% D; x. S: a
  1366. ; Allow or prevent persistent links.- z9 I! N) H: ]6 E% V7 [, l: h
  1367. ; http://php.net/sybct.allow-persistent' M. }. l8 E/ K
  1368. sybct.allow_persistent = On% S" a  y; d/ L! L
  1369. - j' G; t' ]: [4 F5 |
  1370. ; Maximum number of persistent links.  -1 means no limit.
    2 D( V. L" E& K& J
  1371. ; http://php.net/sybct.max-persistent4 H$ h0 E: o, u/ ]+ m) ?) c+ i
  1372. sybct.max_persistent = -1
    ( ~0 h& p1 w# i: C
  1373. $ o0 ]& C% [* b) A0 z6 h
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ {# y/ W0 [# y, m; d8 k/ R2 J, n
  1375. ; http://php.net/sybct.max-links
      ^3 B! H% O) C- r; R' U
  1376. sybct.max_links = -1% `. e4 U8 X& H7 V0 \1 \1 d

  1377. 4 m7 [9 X( ~& [% Z4 Q/ p; p
  1378. ; Minimum server message severity to display.
    / L- {/ D/ V% N$ g) [
  1379. ; http://php.net/sybct.min-server-severity4 E& n) l) J+ x/ b- z* c2 C
  1380. sybct.min_server_severity = 10
    ( N  Z0 ]% }0 N  m& m/ p# m

  1381. ( D, z( T* P* T) S  ~5 |4 P
  1382. ; Minimum client message severity to display.% i. ?# U) \5 `, N
  1383. ; http://php.net/sybct.min-client-severity
    $ B4 v8 `( J  C+ F) t% ~
  1384. sybct.min_client_severity = 109 \+ Q) \- T8 K5 h

  1385. $ _: k5 d3 C# S2 c
  1386. ; Set per-context timeout8 I0 }  F  [2 g* ^! X, v
  1387. ; http://php.net/sybct.timeout
    , j4 Q/ u0 D! t. _1 x. v
  1388. ;sybct.timeout=$ \& K! |" t" P% |

  1389. 7 T& r% p+ a' D0 z
  1390. ;sybct.packet_size' Q/ U4 [* m6 ?, \1 P# `" ~' g. ^
  1391. $ T3 L- q% k+ {5 y
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    5 }0 Q8 o9 }- x: b
  1393. ; Default: one minute8 b: i) m" u( B& }3 a) c5 F3 b' m  N
  1394. ;sybct.login_timeout=
    6 z# k& ?# h# C" D
  1395. 4 j3 Q* L& `  p% N
  1396. ; The name of the host you claim to be connecting from, for display by sp_who./ v& m- B' W2 F
  1397. ; Default: none
    : c" w! A3 ]: O7 |# }5 ]& i
  1398. ;sybct.hostname=4 R( e5 J$ }% H
  1399. 9 b) i" q" @0 H, G
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    & F$ j( O% E, _
  1401. ; Default: 06 ^, i) v$ `" {5 p% S6 p0 j; R5 _
  1402. ;sybct.deadlock_retry_count=) A. D  m, R  j2 ^# p) g

  1403. 7 c& }1 N' x. U4 U0 B& t6 l
  1404. [bcmath]' a4 R0 i8 \( w! `# T0 k$ z
  1405. ; Number of decimal digits for all bcmath functions.! Y: w0 c- _2 m& y* I! ?$ n
  1406. ; http://php.net/bcmath.scale+ ]' [! I9 l! i
  1407. bcmath.scale = 0. l. x0 }# \9 y2 k" w
  1408. % {* x' R3 w- o
  1409. [browscap]
    $ \8 t1 ?& y# y
  1410. ; http://php.net/browscap9 [# c) _0 U6 J" w/ u6 s9 y
  1411. ;browscap = extra/browscap.ini, _# O3 G3 ?% A1 r0 m( _

  1412. $ Y, v& `' |% a! J+ z/ Q
  1413. [Session]
    4 V- j5 O% d0 C* u# i/ i8 k' F- U
  1414. ; Handler used to store/retrieve data.
    3 K* ^- B3 f' U& h
  1415. ; http://php.net/session.save-handler! x- j1 S; S$ I$ l
  1416. session.save_handler = files
    ' J9 K2 }  d0 u+ Q1 q% f: [% E
  1417. 8 A0 D/ y/ F, ]3 o' \7 e3 J
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    / D1 K6 L) w- O; B
  1419. ; where data files are stored. Note: Windows users have to change this
    ' X. i+ Y2 Y* k" u! q) \+ n
  1420. ; variable in order to use PHP's session functions.$ {, r8 ^- G% N, K2 \
  1421. ;3 `. i& X: u7 n6 \3 L
  1422. ; The path can be defined as:
    + D" K: @9 _+ @* \2 L( S' d1 c
  1423. ;
    & l3 O' E8 z( V. h* O; h
  1424. ;     session.save_path = "N;/path"4 C& H3 B& p: R* o
  1425. ;& D2 j/ L) Z/ o" s& \" C9 x- N
  1426. ; where N is an integer.  Instead of storing all the session files in! m  u! Z1 j+ {- K3 C7 Z7 g# u8 i! X
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    2 y$ B9 g0 |' ]; h9 `
  1428. ; store the session data in those directories.  This is useful if' d7 n$ a7 `4 U/ K& o
  1429. ; your OS has problems with many files in one directory, and is3 N& i7 j1 ~+ O& ^. t( Q, k
  1430. ; a more efficient layout for servers that handle many sessions.2 E2 p4 v1 c" p/ O& s
  1431. ;
    5 u" p: V$ v+ i0 L0 E) z5 J  j
  1432. ; NOTE 1: PHP will not create this directory structure automatically., u" y( G& t7 c* z
  1433. ;         You can use the script in the ext/session dir for that purpose.
    # `# h' S6 i. C1 n
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    % B+ l/ |/ T2 ?5 f/ D
  1435. ;         use subdirectories for session storage( J( n+ p& _3 Q' o' i' Y% P
  1436. ;
    8 S. |, Z# o+ B" S6 a+ _( f
  1437. ; The file storage module creates files using mode 600 by default.
    # I( W+ q6 l2 Y' f
  1438. ; You can change that by using+ R2 D* u- G0 A9 }& o) {
  1439. ;
    / Y  v$ x& K( Y3 U
  1440. ;     session.save_path = "N;MODE;/path"
    0 z2 v% r" |" O5 q
  1441. ;
    ; ~& T0 P( x$ E% z$ H. o
  1442. ; where MODE is the octal representation of the mode. Note that this( E! j$ Z6 z7 I* s0 A9 {0 R+ L
  1443. ; does not overwrite the process's umask.: ~1 d4 k% ]7 }' K4 M, h* b& _
  1444. ; http://php.net/session.save-path, Q0 O- |# I  G- S
  1445. ;session.save_path = "/tmp"
    8 q9 e, C# g" T- P# a
  1446. 7 H* Q! e: Y1 T! u1 F( D4 i
  1447. ; Whether to use strict session mode.
    . Z+ a5 f( n1 I/ }7 A
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate# s$ S) r' c' A) K% ~" a( p
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ' h& t  w5 [4 g, B$ ^3 e$ V
  1450. ; applications from session fixation via session adoption vulnerability. It is
    : V1 [% q2 M1 x5 u" d+ E
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.5 \! S* M5 ~) v" X" L
  1452. ; https://wiki.php.net/rfc/strict_sessions
    % ]& o9 O2 m6 ?/ V2 z! p( S# l
  1453. session.use_strict_mode = 0  w" k7 k( r) ]2 B/ y

  1454. : }  h" A5 f1 g5 X0 n! N  k
  1455. ; Whether to use cookies.) g7 U" M! a/ I1 t7 S
  1456. ; http://php.net/session.use-cookies
    5 s2 R; P, U1 ]5 }/ O6 B
  1457. session.use_cookies = 1
    1 a# q5 U" Y1 H

  1458. : \5 L# [' u, K' x
  1459. ; http://php.net/session.cookie-secure
    , w: S# ~& B" T  N5 Z; k  e
  1460. ;session.cookie_secure =( N- w3 @( Q' l2 ~' \- R
  1461. % |1 K+ p) Y  v4 y
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining' p0 L6 o: i7 L
  1463. ; the session id. We encourage this operation as it's very helpful in combating$ ~8 I$ f; G. [4 z. e9 x
  1464. ; session hijacking when not specifying and managing your own session id. It is
    & d$ j, |7 B5 h" t  ^! u; r
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.& y4 e$ V. q# S2 P( H2 N
  1466. ; http://php.net/session.use-only-cookies# m" p. e! R! q7 }
  1467. session.use_only_cookies = 1
    ( Y6 f, l4 Y* k. K, P1 s) i
  1468. & G" ]: H3 x, z. k( F# t% `
  1469. ; Name of the session (used as cookie name).
    # J: k8 g7 L8 r+ L  F$ K' g
  1470. ; http://php.net/session.name
    4 @3 T* i9 V9 A  n
  1471. session.name = PHPSESSID
    1 T1 k, {, J1 J; {7 t" W& q* |

  1472. 8 o# G( L( S; I, Y* `' b0 `
  1473. ; Initialize session on request startup.( P* ^# E/ ^$ J
  1474. ; http://php.net/session.auto-start$ @9 T- K4 }5 }
  1475. session.auto_start = 0% K% I9 L8 S& }7 b0 m' o

  1476. + |' J0 n3 t/ \2 e9 P' X. J
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    - W  l3 }; V! i, u- H
  1478. ; http://php.net/session.cookie-lifetime( x9 C+ t& {, b
  1479. session.cookie_lifetime = 0% |: O. N5 D$ \* G- c3 Y1 M, }1 w" [
  1480. " j  ?' d. Z* i( B4 }# _
  1481. ; The path for which the cookie is valid.
    " \! w6 Y: d, z/ X
  1482. ; http://php.net/session.cookie-path
    & r; B# l% ]3 d) n
  1483. session.cookie_path = /
    - k, g" O! {8 k5 Z
  1484. 2 i. w* m0 y; \& x
  1485. ; The domain for which the cookie is valid.6 |) S8 K* p: V8 L/ M# C$ a
  1486. ; http://php.net/session.cookie-domain- o% H/ r5 p& l( n* q
  1487. session.cookie_domain =) T: V% W0 V) ^$ F5 ]
  1488. 2 A- M+ U4 N+ T. k0 d2 d
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.) A8 ]9 E% d  E! I6 i* r% c
  1490. ; http://php.net/session.cookie-httponly
    # v) t3 i2 h) r& _2 p+ q
  1491. session.cookie_httponly =
    $ x8 z( I3 X3 V5 X1 G8 q
  1492. ) h8 }7 r! t6 R/ L6 P# F
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.  t7 i5 s1 s4 g3 s
  1494. ; http://php.net/session.serialize-handler; s# [: Y' W" K2 K, S, W+ @8 r
  1495. session.serialize_handler = php4 Q8 f' h" f' G& K2 H# `

  1496. + Q- d0 |: A" o7 b
  1497. ; Defines the probability that the 'garbage collection' process is started' `# t$ f* ~" w' _
  1498. ; on every session initialization. The probability is calculated by using- B9 n/ c( Z; r' a7 G4 W
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator7 r0 E5 w0 S0 v4 |2 e" ]
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    + S7 Q3 ^+ W# X& B0 f. R+ E0 q6 [
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance4 U& [% k# f1 }+ Z  ]- z
  1502. ; the gc will run on any give request.3 O+ g  L3 y! G6 y# z
  1503. ; Default Value: 1
    ) z- `1 |8 u+ U# A
  1504. ; Development Value: 1" d: h7 U+ N1 ~" B4 G  n4 V# R
  1505. ; Production Value: 1
    $ i5 y9 f5 t$ m. D+ W" ?
  1506. ; http://php.net/session.gc-probability( p% T: ?) z. y  Y
  1507. session.gc_probability = 1
    ; Q; p8 ^, b7 P9 B" Q8 P8 h

  1508. ' `5 y' }: A  z7 m7 i4 `
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    & a1 e- o# E) p- U) R
  1510. ; session initialization. The probability is calculated by using the following equation:
    ) g; B/ ~- v$ f3 ^
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    8 ?% e$ c" h" T" I! j  ]9 z
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1# q  |. E0 ^) z/ ^5 z
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance; l( \( c& Y4 E
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you3 P3 M! b* _* s! K4 I% v5 Z$ r
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    , g  U1 e4 ^) {! V% F1 \! B! f
  1516. ; this is a more efficient approach.& n- Q) \( G1 u
  1517. ; Default Value: 100
    : R3 F2 N% v2 b: a" b
  1518. ; Development Value: 1000* {' O5 t: E* E* Y$ X. V2 K$ m3 P) a
  1519. ; Production Value: 1000! N* F0 E9 r  F2 \
  1520. ; http://php.net/session.gc-divisor
    6 S$ V! b$ x  z8 z; d9 z
  1521. session.gc_divisor = 1000
      ^: |) p; x* f
  1522. . B: N4 K4 x; p1 I" f  P
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and( D$ G1 n! ~, c% T) i3 x5 n
  1524. ; cleaned up by the garbage collection process.* H& q4 D/ d" _4 h' l. z
  1525. ; http://php.net/session.gc-maxlifetime! p0 F$ d3 y: }% g3 p
  1526. session.gc_maxlifetime = 1440
    - W& `9 u4 Q6 |: L
  1527. ' u; ^& R0 B# y6 E1 g+ y
  1528. ; NOTE: If you are using the subdirectory option for storing session files) _( Q1 z# r: Q; }* g) g  I) S+ ]. \7 E
  1529. ;       (see session.save_path above), then garbage collection does *not*
    * @' N# ^+ }% M, X' ^) k' G8 `# l1 }
  1530. ;       happen automatically.  You will need to do your own garbage' @" [% \) e4 H; ]/ h$ X
  1531. ;       collection through a shell script, cron entry, or some other method.
    & w1 O1 {+ n! C
  1532. ;       For example, the following script would is the equivalent of
    + O7 K  z5 i3 u6 U7 b0 X
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):' Z+ S7 T; p" D. }5 o" P7 q2 e, H
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm& s4 ~* {9 y6 s7 t2 [- E# ?
  1535.   j/ t; P( c% l9 r3 k& o. u
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
      G( r# R' q# R& h! ~6 ]2 A
  1537. ; HTTP_REFERER has to contain this substring for the session to be7 h& V8 C* d1 p4 \
  1538. ; considered as valid.
    - w/ G' R, U4 [0 }2 ~; S
  1539. ; http://php.net/session.referer-check
    # o- h8 I9 O0 i8 [7 t3 \  C# S. h
  1540. session.referer_check =6 C$ T8 o4 h5 U, }7 ~4 K

  1541. + v- s3 f, P, b5 Z+ y% t+ `- O7 W
  1542. ; How many bytes to read from the file.
    , Q# S& o9 |- L( D
  1543. ; http://php.net/session.entropy-length5 t3 u  g0 e. a
  1544. ;session.entropy_length = 32# Z8 o8 ^% ~# K) Y7 f; v8 f7 X2 ^4 V" k

  1545. - g! N* U& s* f! U
  1546. ; Specified here to create the session id.
    4 Y1 J# W' P( O/ F  T
  1547. ; http://php.net/session.entropy-file
    / K- H: {/ {! y( t/ d
  1548. ; Defaults to /dev/urandom
    / |* w1 L9 ?' L9 T. C
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom) n8 b* }0 Y" Q& U  K+ `
  1550. ; If neither are found at compile time, the default is no entropy file.
    - N* f5 E- ?; Z9 v
  1551. ; On windows, setting the entropy_length setting will activate the% Z8 k' T6 D6 d' D8 u1 h/ D: b. y
  1552. ; Windows random source (using the CryptoAPI)
    ; C7 ~# a% Y2 t
  1553. ;session.entropy_file = /dev/urandom
    . ?; f. ~/ C2 @
  1554. ; Q: S8 P- ~1 z! w% R( @2 H
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    - Q) r( X) j" \% ]4 W/ h
  1556. ; or leave this empty to avoid sending anti-caching headers.
    8 ~' ?* s, \) d/ j% j
  1557. ; http://php.net/session.cache-limiter3 @; m  A' e1 Z7 W9 P6 y8 [  A
  1558. session.cache_limiter = nocache7 L9 N& ]3 _) |' ?
  1559. / e* t/ {! V8 K
  1560. ; Document expires after n minutes.
    / T0 y& w- P) z% |: A: A
  1561. ; http://php.net/session.cache-expire* {! {$ }8 Z  B
  1562. session.cache_expire = 1803 R( W/ B  Z1 Q* N1 {# [! d0 q

  1563. $ y# ?! X3 l. ]% N  W* E
  1564. ; trans sid support is disabled by default.
    , l" @, X, g( O# ]- E' a
  1565. ; Use of trans sid may risk your users' security.
    0 G9 E2 r2 p9 G% b
  1566. ; Use this option with caution.
    . R; {0 H* C, r3 p
  1567. ; - User may send URL contains active session ID  w! o. U' Q2 E2 R
  1568. ;   to other person via. email/irc/etc.
    9 z. |" S5 u, L
  1569. ; - URL that contains active session ID may be stored; e8 V& l* o& f) f: P9 ~9 H
  1570. ;   in publicly accessible computer.
    + Z! j- @: r% w8 g0 X( S
  1571. ; - User may access your site with the same session ID7 j9 E+ m# ?  f  i1 T5 _" M
  1572. ;   always using URL stored in browser's history or bookmarks./ B; i4 K2 J# W/ d( `3 b
  1573. ; http://php.net/session.use-trans-sid/ n9 s' n& j; C; ^0 Y
  1574. session.use_trans_sid = 0
    5 i2 Z7 j! X) J- ^0 U
  1575. $ z- K% R' J4 N, x3 `$ Y
  1576. ; Select a hash function for use in generating session ids.( D* d" ?) |. J1 o; L7 E9 v$ x
  1577. ; Possible Values
    % q/ s0 N1 w) D2 k9 H
  1578. ;   0  (MD5 128 bits)1 r% M5 E' S7 a2 D. A4 E
  1579. ;   1  (SHA-1 160 bits): Y, K5 u* {, V7 a  K$ w3 ^
  1580. ; This option may also be set to the name of any hash function supported by0 o. I0 Y  x, x# W0 h9 B
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()4 [; D5 h+ y% F
  1582. ; function.
    % F* b. l8 @5 `6 Y1 M1 S" D
  1583. ; http://php.net/session.hash-function
    & u' I9 ^1 B& B4 ~! t+ x
  1584. session.hash_function = 0
    : \$ p7 Z: e3 J- `9 l# q1 U& J
  1585. 5 O$ y' x& z6 x# @! Q
  1586. ; Define how many bits are stored in each character when converting
    - H* ?4 W! P2 ]5 l
  1587. ; the binary hash data to something readable.% D, p2 M3 F) i! U4 m) u% G
  1588. ; Possible values:
    4 M0 q/ j& p1 z+ ]2 ^- a5 |4 ^$ N
  1589. ;   4  (4 bits: 0-9, a-f)
    " `2 r: B* L# ~
  1590. ;   5  (5 bits: 0-9, a-v)* Q* S! S- V' o3 M. W
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")* T; v6 e$ o/ N8 A# |
  1592. ; Default Value: 4
    # L0 O# w! p! Q- Z9 ?
  1593. ; Development Value: 5$ O: j9 k: u0 j7 x; P3 S
  1594. ; Production Value: 5. q! p! w! c; w/ a9 p, H/ Y
  1595. ; http://php.net/session.hash-bits-per-character! X5 O6 R8 e( T6 ~7 M2 {& ?
  1596. session.hash_bits_per_character = 5
    . K* W$ @: r2 M9 x( k5 {& w

  1597. " u" G% u1 X! P2 ~+ ~5 k& {
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.2 s4 a2 D3 l4 H/ e8 r% j8 [
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    6 w# [+ c# q6 `- @
  1600. ; add a hidden <input> field with the info which is otherwise appended
    7 j- K1 G0 R! _1 N6 `% b
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    - d) r3 G- F% h! P* K
  1602. ; Note that all valid entries require a "=", even if no value follows.5 s, Q% e$ y) \' D1 W$ @0 d" Z% S- y
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="0 ^6 z0 j8 d) ^- x+ |" S
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % G1 f) v  {+ d
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 ?2 g9 o7 u; C" m+ P, x
  1606. ; http://php.net/url-rewriter.tags7 |2 j- ~6 l' M
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"0 w: [% x* X+ r7 {$ m
  1608. % j9 ?7 r) r+ w: F/ S
  1609. ; Enable upload progress tracking in $_SESSION2 l! T( X4 ^9 L' o8 }# I% Z3 \
  1610. ; Default Value: On: @8 i, Z# x8 s/ D( D
  1611. ; Development Value: On  z) ~1 u% {6 b
  1612. ; Production Value: On
    / A7 U  U1 X) {2 W
  1613. ; http://php.net/session.upload-progress.enabled) ~$ Q9 A" z$ m; U5 |
  1614. ;session.upload_progress.enabled = On* {. z8 v& ^% y+ W5 {/ y
  1615. ' G* i4 F3 Q! x) M& C/ y
  1616. ; Cleanup the progress information as soon as all POST data has been read# l9 H3 ?; Z% \1 h% @, `
  1617. ; (i.e. upload completed).* R1 w1 u$ N" s* x8 p3 E
  1618. ; Default Value: On5 O9 u9 B( u3 K( R: C% o
  1619. ; Development Value: On
    3 M& D; l% }+ |* A, R1 Y
  1620. ; Production Value: On
    5 X, ]: _' s% I$ P& a. A
  1621. ; http://php.net/session.upload-progress.cleanup
    5 ^% J, c2 C- y
  1622. ;session.upload_progress.cleanup = On
    ! M# Q4 c3 O% ?! t- T

  1623. . u6 f2 {1 |( h* b  V, c% Q
  1624. ; A prefix used for the upload progress key in $_SESSION
      W8 [$ K! e3 C  p
  1625. ; Default Value: "upload_progress_"' q/ M. m0 m0 @# f
  1626. ; Development Value: "upload_progress_", I3 B! e% R0 j
  1627. ; Production Value: "upload_progress_"
    - \: N! k8 m& K1 G
  1628. ; http://php.net/session.upload-progress.prefix
    " P/ Z# v1 I+ X' e* p" S
  1629. ;session.upload_progress.prefix = "upload_progress_", n" k  b! J+ q/ s4 L
  1630. 0 g7 z7 O4 B4 I% o
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    " U, |: \- P0 L- W' ~, z$ @
  1632. ; containing the upload progress information% B! s7 `* p9 {8 K( N& Y2 s
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 s1 `/ \; J  L4 `4 {
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
      D9 P% m; N# n5 v
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 m5 l& @+ @) m3 y4 Q, n
  1636. ; http://php.net/session.upload-progress.name. [. U* c* T  i* K) |
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"7 D9 M7 G2 v% Z0 F& q8 D9 \7 H
  1638. : K" h8 K8 m2 u1 R+ [
  1639. ; How frequently the upload progress should be updated.
    " c# z9 |3 P# ]9 w& O
  1640. ; Given either in percentages (per-file), or in bytes9 h) r& V% ]7 y: K, O4 a$ [
  1641. ; Default Value: "1%"
    ) Q) N, H% A! _5 S) l# g3 h3 g
  1642. ; Development Value: "1%"
    ' m; a  Q6 Y* N  K
  1643. ; Production Value: "1%"
    3 ]# }' i0 B& `/ Z% ^5 d' F
  1644. ; http://php.net/session.upload-progress.freq6 M8 j! ~: I! u# C# ]! T
  1645. ;session.upload_progress.freq =  "1%"
    - f& B; n! B, p" J

  1646. 0 B* i* [. u* F5 q, b: G8 z
  1647. ; The minimum delay between updates, in seconds
    0 J" \' w1 ^" u* v" ?0 b7 j* @
  1648. ; Default Value: 1
    8 j2 G1 [5 n9 z
  1649. ; Development Value: 1
    9 S+ J1 f3 M) u6 |/ ^& m
  1650. ; Production Value: 1
    ; \% Q! W. k  w- s
  1651. ; http://php.net/session.upload-progress.min-freq1 \0 n, C; ^# N9 ~
  1652. ;session.upload_progress.min_freq = "1"
    # D  z- |, U5 \  X( v4 K. _. |

  1653. 5 N" ?! m* |$ @9 o! U; K
  1654. [MSSQL]
    : e5 P& D; N8 t7 ^) y" e
  1655. ; Allow or prevent persistent links.
    5 H" j5 M( X0 \9 Z0 M
  1656. mssql.allow_persistent = On( _: d2 V8 S( Z9 Y5 o* j1 S
  1657. 1 F! R7 _$ N" Y; A9 O9 W* E
  1658. ; Maximum number of persistent links.  -1 means no limit.
    1 x8 C5 x& D6 V3 I7 f
  1659. mssql.max_persistent = -14 k% c8 h: m. [1 M5 x

  1660. + e# W* M2 x9 i! ]
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.0 w! |) c2 e2 b4 g  \7 X
  1662. mssql.max_links = -1
    % f% E) t' u! \' M, `9 g

  1663. ' W) q4 P% E7 d1 `" Q
  1664. ; Minimum error severity to display.
    ! w7 d1 D6 U" P# Z: o+ U, h7 o
  1665. mssql.min_error_severity = 10
    4 T  o4 P3 A. W" [4 n
  1666. ) J2 ~" i8 L8 k* ^' V, ~2 b
  1667. ; Minimum message severity to display.  `; k6 E, ~% c4 {* q+ K- \
  1668. mssql.min_message_severity = 107 u' ?: @5 i' S: A# V- E( f4 _# z

  1669. 7 s! V' O6 }" F2 V
  1670. ; Compatibility mode with old versions of PHP 3.0.: O8 |& x. S! \7 I2 H# d7 E. \
  1671. mssql.compatibility_mode = Off& |: x/ M7 v1 f' m: h( K6 X

  1672. 8 `+ u+ r3 d, `0 d8 V/ b
  1673. ; Connect timeout
    " \  S" v8 v+ }5 G) |& U7 X1 D$ H! h: I7 N
  1674. ;mssql.connect_timeout = 5
    8 J5 f& ~1 P% L9 R0 e1 Z7 W

  1675. : T1 l* [2 c; n. J. O
  1676. ; Query timeout
    - Q2 M+ b4 w( y# L
  1677. ;mssql.timeout = 60
    # `( O2 a" Q& x$ ]& C. A2 l( Q

  1678. , m% N9 @" ]) a4 }$ v& e) n9 z" {
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
      n* N: \1 G+ S
  1680. ;mssql.textlimit = 40963 i1 J  f# D% j; R# E7 e! {

  1681. " Y+ t2 K0 ?1 _5 n: Z& x, O
  1682. ; Valid range 0 - 2147483647.  Default = 4096.( ^7 G% q# a& V# p/ G
  1683. ;mssql.textsize = 40965 o  }$ X& E: _8 J( T$ a

  1684. % @6 D+ D' }+ k1 B- I4 {
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.: c& r4 l; U* ~$ n
  1686. ;mssql.batchsize = 0
    8 o6 N! W  |- P0 x# K* H+ H& G5 m

  1687. + G8 Z) n! E4 u8 U. l: {, v5 G
  1688. ; Specify how datetime and datetim4 columns are returned
    0 O2 x& R. i, v# F; _7 h
  1689. ; On => Returns data converted to SQL server settings; |4 J4 W; t, `5 g' g
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss% y1 k+ R, `- z) J! r
  1691. ;mssql.datetimeconvert = On2 K4 @2 r. u. I" b

  1692. ' g$ Q4 V. ]$ x7 Y( H5 a+ G
  1693. ; Use NT authentication when connecting to the server
    9 V( ?9 K& k2 j2 T  P
  1694. mssql.secure_connection = Off, r- q8 U* d) P$ J
  1695. $ w) Z/ `% Z4 Z" }) G
  1696. ; Specify max number of processes. -1 = library default- \  M6 d5 C" Y, `% z5 P+ y/ u' k
  1697. ; msdlib defaults to 256 [1 A0 R- S. g
  1698. ; FreeTDS defaults to 4096$ y4 U8 e7 e: P, E' W+ ~( z$ u
  1699. ;mssql.max_procs = -1
    8 A' y. M! w- }3 g1 y

  1700. ) f& R- }& C4 w! k& u
  1701. ; Specify client character set.: {8 ~2 `1 E/ x) |; |
  1702. ; If empty or not set the client charset from freetds.conf is used
    ! E  ^' F) D6 X
  1703. ; This is only used when compiled with FreeTDS
    ) w" w6 M2 \; l7 Y- E
  1704. ;mssql.charset = "ISO-8859-1"# W7 P. f+ j- \( Y* P1 c& h# S: O4 r

  1705. % |5 j2 T- @1 h: T
  1706. [Assertion]4 E* r+ m5 ^- F( N4 C
  1707. ; Assert(expr); active by default.% i  x% ^8 ]+ e
  1708. ; http://php.net/assert.active
    , {. x. b: L2 _- K) r
  1709. ;assert.active = On# X" W+ N8 l$ S7 y% x6 u  a
  1710. % P1 v2 S- V! e" o8 e
  1711. ; Issue a PHP warning for each failed assertion.
    & i2 K. V7 m0 ~; w
  1712. ; http://php.net/assert.warning) n  s9 m2 B, e3 C. B, s* q
  1713. ;assert.warning = On
    % T2 w& y$ j  |2 @. h
  1714. * b" k. W+ @& x& F9 \
  1715. ; Don't bail out by default.
      |# O8 C  s* `) V  M
  1716. ; http://php.net/assert.bail3 E) ~( {9 H, D2 A! t2 H: b
  1717. ;assert.bail = Off
    7 @% [3 |/ L! }% q# s/ y
  1718. ! k" c$ U/ @) ~; v
  1719. ; User-function to be called if an assertion fails.
    0 T" }% P7 ?2 V- C7 u# }- j$ G8 P
  1720. ; http://php.net/assert.callback
    9 T  w% X" Z8 ]* }) F( h
  1721. ;assert.callback = 0
    0 R4 Z4 r2 G* d' z- U

  1722. 2 J7 B; m0 w. i2 r" V5 _, T: [
  1723. ; Eval the expression with current error_reporting().  Set to true if you want3 I; m# ?# X/ c8 ~+ V: t* u' R
  1724. ; error_reporting(0) around the eval().
    7 a/ o! w$ J# z5 R- w) n( N8 O5 m2 x
  1725. ; http://php.net/assert.quiet-eval1 u: F( i9 |. d# D) ^4 v# u
  1726. ;assert.quiet_eval = 0/ e5 p! U- o$ P7 t& J
  1727. $ ~, F: o4 `3 E( F/ o% z# g
  1728. [COM]
    6 M" A" Z5 s7 r% J" c
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    2 _- I% j" Y5 x6 K/ e
  1730. ; http://php.net/com.typelib-file
    ; s  B. I( d+ x5 Q: R& n3 d
  1731. ;com.typelib_file =
    7 e) @- {# S. H; K. y# `* ^

  1732. 1 o; r% h- T: V4 @- z
  1733. ; allow Distributed-COM calls' D8 L+ `8 N6 ]( M. o, C4 q
  1734. ; http://php.net/com.allow-dcom
    8 F  e( X3 `" d; b( ]
  1735. ;com.allow_dcom = true- n' H5 S: b" s4 m/ z1 l
  1736. ) E. k) X# E( d- L- F- [
  1737. ; autoregister constants of a components typlib on com_load()
    * D3 n* ]2 c0 S- s4 b
  1738. ; http://php.net/com.autoregister-typelib
    $ a: [# L" T/ ]9 i: H& c9 j
  1739. ;com.autoregister_typelib = true
    0 G2 \/ U! o  m: m9 m/ H
  1740. $ Y# t" o' F2 s1 }  }
  1741. ; register constants casesensitive# N3 ]( h5 V' k& u! v: N% g
  1742. ; http://php.net/com.autoregister-casesensitive
    ; g4 Z* H2 o  x0 p3 g
  1743. ;com.autoregister_casesensitive = false9 P4 h1 i+ ?. b4 L! g: F$ ?

  1744. ( O/ o" W* R! z
  1745. ; show warnings on duplicate constant registrations6 C8 `& l8 O+ Q! `$ K- M) x$ \9 F
  1746. ; http://php.net/com.autoregister-verbose& q' z  a" E; C- |5 F/ p
  1747. ;com.autoregister_verbose = true
    2 S& c! P) x( ]. {, D) j; F

  1748. ) S9 o( w1 p: l- R  ]- W: L8 D
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    - L8 x3 E, d6 _
  1750. ; Default: system ANSI code page+ [* W: W6 H5 E# O0 Q2 ~  D$ ~
  1751. ;com.code_page=( L  Z5 y% \! l+ I' G# V% Z1 K

  1752. . N% e$ W7 }+ X$ G5 U) S; D" ~
  1753. [mbstring]  z. L) I8 q- W% Y
  1754. ; language for internal character representation.
    5 h" r& m1 ?2 {# N
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    ( O& `8 a7 v1 f$ f2 E( T5 |4 U
  1756. ; http://php.net/mbstring.language. |/ i% v( b* L) S0 u1 }7 J' r
  1757. ;mbstring.language = Japanese* f% E. p. ~0 j5 `0 q# H( c
  1758. $ _/ Y9 P, u/ ]) q
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.0 E9 G+ b7 I. K2 T9 T
  1760. ; internal/script encoding.& V! c6 V4 K( d& g
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    1 n5 E7 \7 r2 O, Z6 {2 H9 U) X9 c3 {
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.* Z: a" f3 _! {
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    & U! v: e2 |) {! I' n
  1764. ;mbstring.internal_encoding =' m' C, s  v& T0 B$ `! p$ z9 p
  1765. 7 k9 H9 q) i9 D* K+ Q9 y7 \
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.% z" B' c" a9 z  k. H2 s5 l/ k
  1767. ; http input encoding.4 O# G3 o3 {0 }  H
  1768. ; mbstring.encoding_traslation = On is needed to use this setting./ Y3 k+ f5 `8 r% q. H" A. [
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    " [2 A# q9 S& N4 _3 C2 D6 s
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input+ e! V4 Q' B. P- C/ @3 y2 K  [
  1771. ; http://php.net/mbstring.http-input  l+ d5 v6 I& S
  1772. ;mbstring.http_input =% Q- w  k( u5 P: M/ u) l' k0 ^, q

  1773. 9 ?! k) C0 X- A! A: d* ?' i
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    & i* D% h$ h  ^( d) ^9 N
  1775. ; http output encoding.5 j7 @3 ]/ }* ^$ X, ]; \
  1776. ; mb_output_handler must be registered as output buffer to function.5 F8 X4 P  I$ Q/ W5 k5 H- q
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.7 v% N# s  P& ^; p8 |
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    $ O5 \. |+ m/ t1 U+ ?" [6 G5 c
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    * T9 G/ u) X; I- E- s- X
  1780. ; otherwise output encoding conversion cannot be performed.9 w' ]/ D. W5 H" f  I8 C/ c, j+ k
  1781. ; http://php.net/mbstring.http-output
      ?; h) @( r- t
  1782. ;mbstring.http_output =
    7 V+ ^* d% c" O; [5 g. W2 h
  1783. # p8 E3 w* F0 j* l; R& d. X  L5 Q
  1784. ; enable automatic encoding translation according to
    7 E' N" y! e7 t, _( n# g5 e
  1785. ; mbstring.internal_encoding setting. Input chars are! s6 C# o  o, ]& C* {8 ]
  1786. ; converted to internal encoding by setting this to On.7 s3 w, I+ I' S3 q+ C
  1787. ; Note: Do _not_ use automatic encoding translation for. W5 t6 W" C* Q+ }5 t
  1788. ;       portable libs/applications./ q6 B( M+ I" _
  1789. ; http://php.net/mbstring.encoding-translation
    . Y* g9 t; ?1 q/ s
  1790. ;mbstring.encoding_translation = Off  r: W5 D2 G6 X4 s2 k1 |

  1791. ' i) {: _( i( S& }% y- }
  1792. ; automatic encoding detection order.: A3 G/ j, c9 j2 z* }1 Q
  1793. ; "auto" detect order is changed according to mbstring.language3 S2 V% h5 P5 G3 |
  1794. ; http://php.net/mbstring.detect-order! }5 P& b7 I9 U, }" N
  1795. ;mbstring.detect_order = auto7 x9 j3 j4 C' K4 F: X1 y

  1796. 8 i2 q/ r1 ^! B( K: D8 B
  1797. ; substitute_character used when character cannot be converted
    ) {0 d( ^' X. ~" U
  1798. ; one from another
    $ M7 i$ M! C! c( _5 P& o
  1799. ; http://php.net/mbstring.substitute-character5 z/ J  z. }0 b+ l$ f
  1800. ;mbstring.substitute_character = none
    ! b+ Z( C; }5 R4 w) f. Y
  1801. " a1 C2 ^( U2 B0 o) F
  1802. ; overload(replace) single byte functions by mbstring functions.
      e, ~4 y1 r8 \* \: B
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    8 [' B7 `7 s7 I) T3 W6 K' W
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.$ u; N  o/ Q6 d% s4 [
  1805. ; For example, 7 for overload everything.
    & ^2 ^9 d- @/ i7 ?% X
  1806. ; 0: No overload2 u: S2 e: z0 r* h
  1807. ; 1: Overload mail() function0 |1 i- x, _4 K' e, Q7 k- X
  1808. ; 2: Overload str*() functions# r/ ]8 F2 V4 G+ _1 m
  1809. ; 4: Overload ereg*() functions3 O( s* E4 }+ z
  1810. ; http://php.net/mbstring.func-overload
    / x. I& c6 B- T7 R( {: o, w+ V5 E
  1811. ;mbstring.func_overload = 0
    ' Z9 r* O9 D* @% F* Z; p

  1812. / a( a4 ]. L6 o5 ~  z7 \0 q! e
  1813. ; enable strict encoding detection.
    " H5 }% a0 m: D% v0 ?2 a
  1814. ; Default: Off
    , ]3 @/ E7 `/ j+ J; I
  1815. ;mbstring.strict_detection = On
    / T7 ^6 y. g9 R* k. B

  1816. ! A. K( J/ `8 J* s, C4 V
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    * r' q2 I9 @% s. e. L6 F% b8 p
  1818. ; is activated.
    5 J5 R2 r1 v% s) _# Q  M5 ]9 m
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)' q1 |7 I0 M7 B7 d% @
  1820. ;mbstring.http_output_conv_mimetype=
    2 n+ [# F! _  O7 v

  1821. - e; Z# Y7 N1 R- z7 m/ }. `
  1822. [gd]
    ) y2 {  V( v9 b& ]
  1823. ; Tell the jpeg decode to ignore warnings and try to create1 |& l# w/ ]1 C5 G) U; U! F5 w
  1824. ; a gd image. The warning will then be displayed as notices
    & A, Q/ b! ~( R
  1825. ; disabled by default: f: t4 d( l' s! q- Z* _
  1826. ; http://php.net/gd.jpeg-ignore-warning
    ! H. o* k0 M, e
  1827. ;gd.jpeg_ignore_warning = 0! ~, G' H6 B+ E. }- f
  1828. 6 `* T( \- ^2 E9 j5 Z
  1829. [exif]+ e' h( X& i* {9 d7 _' N
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.$ b! e8 O! r* ?( t0 D7 M
  1831. ; With mbstring support this will automatically be converted into the encoding
    ) M9 k3 r# }' P6 r1 z+ p; f1 M
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    6 O9 Y/ T1 C1 `% T: R' x
  1833. ; is used. For the decode settings you can distinguish between motorola and" E! a' M3 x5 I3 N" }
  1834. ; intel byte order. A decode setting cannot be empty.
    " z9 A5 `- r: f/ _
  1835. ; http://php.net/exif.encode-unicode
    ' Q9 e" @( F8 s4 o. L/ J
  1836. ;exif.encode_unicode = ISO-8859-15. J) E+ @/ z3 v( I
  1837. : U- a& C: S7 C. U
  1838. ; http://php.net/exif.decode-unicode-motorola3 A$ R# Q' p+ V
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    ; j1 H" |# N% ~4 v, L7 b

  1840. 0 ^9 n) P' b- b' D4 }" j
  1841. ; http://php.net/exif.decode-unicode-intel% _0 E+ }7 ^  N2 I8 i: }
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    * r- X5 T: t- r( D: \5 C

  1843. 6 }/ m$ q* |2 ]6 B7 `4 p
  1844. ; http://php.net/exif.encode-jis! E$ Y0 f4 h7 b1 K7 y0 O: O
  1845. ;exif.encode_jis =. }- ~3 g4 a+ Z% G

  1846. # v! J/ V7 _( x7 ?" a: B
  1847. ; http://php.net/exif.decode-jis-motorola
    ; @  L. S1 P! S6 |4 l9 F
  1848. ;exif.decode_jis_motorola = JIS2 [' a' ?( N6 |4 a' c' T% Z2 ^7 k( P
  1849. ; S4 o+ u1 z+ t/ k7 M0 @' M  m. K
  1850. ; http://php.net/exif.decode-jis-intel, F0 s( A9 ^5 I0 V
  1851. ;exif.decode_jis_intel    = JIS+ ^5 `' R9 U: P( {2 X# e$ a

  1852. . V, u0 B/ I* r, c
  1853. [Tidy]3 z- i! j# t, a. ]
  1854. ; The path to a default tidy configuration file to use when using tidy
    ; U" M- O) c* c9 Q. W
  1855. ; http://php.net/tidy.default-config
    $ G& T) c, J) d6 i- h, b% L/ v
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg0 r2 |9 t$ N8 ^( z) u
  1857. # ?; ]4 N2 d! U% [( Q1 y
  1858. ; Should tidy clean and repair output automatically?
    . G- f9 r; F% E4 R/ m: `
  1859. ; WARNING: Do not use this option if you are generating non-html content' ?) _1 C9 p4 Y
  1860. ; such as dynamic images9 I& i7 H% ~2 S6 N' N2 R
  1861. ; http://php.net/tidy.clean-output- b! v4 [& T  ?
  1862. tidy.clean_output = Off
    % W. P) T' T- c) o

  1863. / h, c* D4 x6 S
  1864. [soap]
    , q& m5 L2 e+ ]& o) ^: k: F' v
  1865. ; Enables or disables WSDL caching feature.
    0 r$ b) f' b6 i8 [$ o/ v
  1866. ; http://php.net/soap.wsdl-cache-enabled
    . b8 i6 x/ `2 `2 E7 R" o8 `! y
  1867. soap.wsdl_cache_enabled=1
    2 x8 A) U0 y* m; K
  1868. 4 O* b4 C+ Q( y5 `7 `# ?  u
  1869. ; Sets the directory name where SOAP extension will put cache files.
      u' B6 q) a- I, V7 ?. y
  1870. ; http://php.net/soap.wsdl-cache-dir+ q- R# u/ X) F
  1871. soap.wsdl_cache_dir="/tmp"
    ) E8 B4 X5 i3 s) J
  1872. 3 z) S9 H/ B" K6 U$ X" R
  1873. ; (time to live) Sets the number of second while cached file will be used) ^! A$ d6 O* y" V- a
  1874. ; instead of original one.
    - {3 X; m/ [7 A5 j$ Q* ~1 w
  1875. ; http://php.net/soap.wsdl-cache-ttl$ {! u; T, j+ e- j. Y' K
  1876. soap.wsdl_cache_ttl=86400
    1 C/ w, V2 f; R, Y# L" \

  1877. " |1 w0 e& l: r8 p
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)+ S5 y1 j, p/ M
  1879. soap.wsdl_cache_limit = 5
    ; b% {3 `  x+ l4 N- Y" k

  1880. 1 _& u, y! j! [' p2 y
  1881. [sysvshm]+ y( P+ x9 l- ]1 p# W
  1882. ; A default size of the shared memory segment; w- R3 L! ^1 J( _
  1883. ;sysvshm.init_mem = 10000
    6 h/ F, D5 l# q& s/ {8 D
  1884. , w) T$ t1 r/ ]
  1885. [ldap]$ _$ }* O+ d3 j) F3 y
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    - C8 I+ o8 C3 \6 h
  1887. ldap.max_links = -14 a' [- R0 h4 m3 H" z/ L
  1888. % h# x' f  F, X2 _
  1889. [mcrypt]
    ) K% H, k7 H3 F( z# x$ s
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open$ J/ k$ \( j. C! W

  1891. ! n- g2 `# V* w8 ?; E
  1892. ; Directory where to load mcrypt algorithms! l/ F$ j- j# |5 q( S" O0 w1 d% p
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    0 _- o9 N( `8 N( G* y$ S; W4 h
  1894. ;mcrypt.algorithms_dir=
      ]" x+ B/ y" ?  r3 a2 K. p, C* O

  1895. 8 U7 `$ `! T2 c% A9 {: t9 j5 B
  1896. ; Directory where to load mcrypt modes" M7 Y( X0 U2 O" Y. x1 T2 x- ^9 |
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)" s; Q2 Q% j0 i* z! R% e
  1898. ;mcrypt.modes_dir=0 J5 C( Q+ Q8 n  P. @

  1899. ; @+ F; B9 L. _, _
  1900. [dba]
    1 x! x; v0 t4 Z7 J+ h  T
  1901. ;dba.default_handler=2 a% [: G$ k; s" Y' M

  1902. , `8 {8 s% Y$ B$ @1 A
  1903. [opcache]" ~8 ^* e. o7 ]0 q, ^0 D
  1904. ; Determines if Zend OPCache is enabled( O7 k. ]( p2 r/ t
  1905. ;opcache.enable=0/ Y# o3 S; T  k
  1906. 0 m# i! {- f* T. p1 B
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP9 o3 o1 V( V$ f9 @) l9 ?+ U3 o
  1908. ;opcache.enable_cli=0
    , u, q7 g( Z5 R0 M9 d! f  l

  1909. 3 G$ S* f: R+ f! p9 \5 i( `4 h
  1910. ; The OPcache shared memory storage size.
    . P; ?& q! o8 x4 o! E
  1911. ;opcache.memory_consumption=642 E. @" x& h3 P8 s
  1912. ) v; V$ x7 c! c* x7 X0 C, \
  1913. ; The amount of memory for interned strings in Mbytes.
    ( l# T8 E4 Z- b$ u3 T7 |
  1914. ;opcache.interned_strings_buffer=4
    3 @. o: E+ b, q

  1915.   O: `. X7 {. A& Z: ?, r9 n
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    5 P- H! Q' U3 b& j* K5 T9 O  e
  1917. ; Only numbers between 200 and 100000 are allowed.
    1 Y; E# L2 X0 e
  1918. ;opcache.max_accelerated_files=2000
    1 I2 m, M9 `# i3 C' _; a
  1919. ( {1 ]$ M2 R: f- H1 e
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.- {/ A, M( \1 w, \9 {& S  t1 V
  1921. ;opcache.max_wasted_percentage=5
    ) C9 K' T. r0 ]% r
  1922. 5 m2 m' |+ I) z9 a
  1923. ; When this directive is enabled, the OPcache appends the current working3 f4 g3 o6 |! q# W$ m" ?
  1924. ; directory to the script key, thus eliminating possible collisions between4 Y2 s$ B# V7 {; _
  1925. ; files with the same name (basename). Disabling the directive improves
    : z$ h9 N  O) j$ `+ f( q4 u+ z' r
  1926. ; performance, but may break existing applications.4 O& ^* G; z2 I9 X" o' e* U
  1927. ;opcache.use_cwd=11 r; P$ S; i+ C8 f
  1928. 1 I$ v1 L; i1 b. o. d. l0 T/ z
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ! `; I: O, S# Q9 s
  1930. ; webserver for changes to the filesystem to take effect.
    ; U% q" J1 @! L" H9 K+ a8 A2 c, Y6 o
  1931. ;opcache.validate_timestamps=1. N! N- J1 A7 ~( i/ R; D/ ~
  1932.   i& e: s, l# @. L. l1 \
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    $ C$ U6 J8 M3 ~6 p: E/ a4 l
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    ( J8 C  L- m2 }0 x% P) o0 f$ ^2 M
  1935. ; once per request. "0" means always validate); r2 q5 Q# \" l5 f1 Q# i
  1936. ;opcache.revalidate_freq=25 j" g+ K$ P! g9 C* c, ^+ B

  1937. 2 _9 h2 l, Y& N( \0 X* q( [
  1938. ; Enables or disables file search in include_path optimization% B- r. x! X; u- f
  1939. ;opcache.revalidate_path=0
    0 a* I! P4 S* }- _0 y2 |; h  L
  1940. * r! |+ i% w8 D" F4 r: l
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    $ d4 i2 S  p7 q  C
  1942. ; size of the optimized code.
    2 T/ A! ]) i$ R3 g& |! s6 r
  1943. ;opcache.save_comments=1& a! u/ b7 _# y: g# y$ f

  1944. 6 E& p; L( u" x1 h4 ?9 E, p# _
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"9 F/ k: y" s9 k) P1 U% V4 N
  1946. ; may be always stored (save_comments=1), but not loaded by applications1 A9 i6 E  L( U4 w; B/ A: g
  1947. ; that don't need them anyway.' d$ {* |5 \; i6 i2 ~
  1948. ;opcache.load_comments=1
    9 a1 C( f8 o% l4 X1 L
  1949. 8 B4 d* T. g2 e8 ?
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code9 B8 X- M. [& ~/ o5 d7 Y
  1951. ;opcache.fast_shutdown=0
    ' j8 Q. f/ t* m- E1 E
  1952. - _' j7 l! N  D
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    , r/ Y0 G; y; J" H+ {4 F# F
  1954. ;opcache.enable_file_override=0
    . v" A  q, Y7 ?% p
  1955. 4 |1 Z8 F. [# q% F3 ^( F/ H
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    & |: \) Y) @8 o& \. _/ W& S% X
  1957. ; passes" I, `9 u( M* w4 U$ a% J
  1958. ;opcache.optimization_level=0xffffffff' g6 |1 C$ }2 `8 y0 X

  1959. $ m, J8 h7 @$ n4 L6 [
  1960. ;opcache.inherited_hack=1: P  Q) _0 z3 [! l9 Y2 U4 }
  1961. ;opcache.dups_fix=0
    7 F. w9 f' K! F7 R4 D3 B. g2 I

  1962. : J+ L# _/ g% ]" s) ?
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    9 z! K& `& E0 }; n' o: ]  t' O
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    8 J) r+ A; N7 ?
  1965. ; that should not be accelerated. The file format is to add each filename
    2 @% `. L1 c5 |/ o( i
  1966. ; to a new line. The filename may be a full path or just a file prefix% `, s. V  Z! t1 ~
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www3 W4 D# P% w, |- v
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).7 \  p6 z7 z* L! L
  1969. ;opcache.blacklist_filename=8 Q1 e" l8 v$ N" c7 Y* k

  1970. ( ~4 J5 z" ~" k, X
  1971. ; Allows exclusion of large files from being cached. By default all files$ I( a" ?: h% D
  1972. ; are cached.
    7 |# \! P5 V- @8 U: \
  1973. ;opcache.max_file_size=09 i& P, f- x, T4 j/ V
  1974. . F9 O$ A, B( w
  1975. ; Check the cache checksum each N requests." Q' D: u* v/ _4 ^: j. R6 Z
  1976. ; The default value of "0" means that the checks are disabled.
    - h% n0 C+ L5 Y5 C8 G; M
  1977. ;opcache.consistency_checks=0& V% P1 `1 n2 }# Y# t/ Y

  1978. 7 R; b$ r5 w0 l% p  G* l7 |
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ! Z! A% {  x* ^) g/ |' x% \
  1980. ; is not being accessed.
    ( F4 N: B& [+ K2 Q
  1981. ;opcache.force_restart_timeout=180+ d9 w1 k4 J; T: D# o/ V( f, @. {

  1982. $ v  ?& @" E  k& u* c; [. k
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    ; ]' M2 x; i. n7 Y' t5 m
  1984. ;opcache.error_log=. R: r* s' {% j- [, L7 ]) d

  1985. % a# C( p+ M& e" c/ T' d
  1986. ; All OPcache errors go to the Web server log.
    6 B% A! R" |$ d- y/ a! A( b
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.3 n  \* u$ g* g2 Q! e! |
  1988. ; You can also enable warnings (level 2), info messages (level 3) or9 |6 y/ y. z0 C# K/ j& K$ S
  1989. ; debug messages (level 4).
    ' W6 A2 R/ U1 ^5 p
  1990. ;opcache.log_verbosity_level=1
    - Z5 E$ M; c6 ?5 N. c0 U: r4 S

  1991. - \$ F* G  D1 C9 s! B) k! O: t
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.  V* O' M: M) c3 s6 e9 m
  1993. ;opcache.preferred_memory_model=/ i7 ^9 G( c8 Y

  1994. % j# u! \7 l, p, o) R! m
  1995. ; Protect the shared memory from unexpected writing during script execution.
    / V5 a4 }+ [( [4 ^6 u8 k* Z
  1996. ; Useful for internal debugging only.
    - @' P9 }0 p" O- L9 T3 q0 p* [
  1997. ;opcache.protect_memory=05 w5 R# e* m) w7 w5 S& o
  1998. % L, m! M7 F' b% R! V+ D. x# P& f
  1999. ; Validate cached file permissions.
    $ C# C) ]! G. p' \# f; }  y
  2000. ; opcache.validate_permission=03 Y1 q- j+ A" |' n" g$ Z

  2001. # a+ m6 u$ f( Z+ D$ L
  2002. ; Prevent name collisions in chroot'ed environment.2 _. Y) d3 G# Z3 \
  2003. ; opcache.validate_root=0
    $ |6 C6 Q# }1 U9 x' J" _) G, |- }

  2004. + @5 T. R% z+ c
  2005. [curl]
    . U+ T4 u3 l3 c4 d! M
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an( ]( L% Q4 L& g/ t, S' ?
  2007. ; absolute path.
    - d/ o# d9 e/ h; r9 A  @3 Q5 A
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt# Y/ {/ X) s7 m! P8 r
  2009. ( K! ^/ P% W3 a6 c( W0 Z. B
  2010. [openssl]% _5 ]; j; m% e0 a' V( c
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem6 b) V1 s+ V' M, A
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    * _+ Q4 B! \# j
  2013. ; not specify a value for this directive as PHP will attempt to use the% t  b/ _/ N5 R7 L! T" e# ^$ R/ z
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    7 c3 H7 j- h( o- {" s9 s" |! q
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    * U4 G! t( M5 s" l; V
  2016. ; option.3 A% Q# \" t2 V! b& \) c* l7 u; n5 P; O
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    2 o& v: G: ^' C( D% F: U
  2018. / M$ e2 \  L1 r; M8 P$ n
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    - i. e  Y9 ]9 G" |* T- n4 o" X
  2020. ; directory pointed to by openssl.capath is searched for a suitable/ \2 Y4 @4 Y/ a* Q
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    * M$ R6 R* G8 T6 n+ t( _3 T* }/ A
  2022. ; Most users should not specify a value for this directive as PHP will/ Y8 }# O5 m$ e4 h
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    / h0 N$ S+ ^) v8 I. R2 @9 s
  2024. ; this value may still be overridden on a per-stream basis via the "capath"; G9 z, M7 N0 D" X  H
  2025. ; SSL stream context option.
    9 v5 M( p9 I; Y4 d6 i# q, [
  2026. ;openssl.capath=
    , }2 D5 E8 f" [/ e7 A! ~

  2027. ' j$ r8 _$ ?% F% W' G3 B
  2028. ; Local Variables:
    & e" o* E1 D8 J  J
  2029. ; tab-width: 4
      g6 [& V: ]5 S3 l! P
  2030. ; End:
    % |+ S5 e" x9 u

  2031. , m3 R! I: z* l" N1 i& c7 F5 q
  2032. ;eaccelerator9 c/ }* ~* i$ d* `$ }9 l
  2033. 7 A1 i/ [% W6 }: C: r; O) |" a
  2034. ;ionCube" b1 C# R: k0 ~
  2035. $ @0 n# {# }5 b7 ~5 V
  2036. ;opcache
    ! V- R- t  e3 A5 Y4 g

  2037. : W; n6 ?/ f0 ]$ Z, X
  2038. [Zend ZendGuard Loader]
    7 j% O# U+ X' T: [
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so3 Z! U. R+ d6 Q+ R
  2040. zend_loader.enable=1
    9 _: H- e: {4 C  t  K# T$ C
  2041. zend_loader.disable_licensing=0
    0 B6 J1 w$ F' ?+ {; t
  2042. zend_loader.obfuscation_level_support=30 n% v8 I! e) |: C& m: j0 R' V
  2043. zend_loader.license_path=
    : D( k+ [1 E% i' B/ _3 m7 n

  2044. 1 l, H  U# V  L$ l% a1 T
  2045. ;xcache
    5 O4 Z& R, T) g3 p

  2046. 9 Q) i: o; g% J, V& U
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146925 n: T- b. |& f7 [1 ]0 M) g
) a: }$ N+ v9 o" z. @. t' k% C

6 q3 L* I) j2 k* |" d/ XDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
  H7 v& s  }# P- [1 [$ ]  @) {1 X5 ]  o" w' J2 |" E5 f
Discuz!程序版本选择:$ f: ~" h( t: _7 i/ w
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,$ l& K! F) C% L# p& I/ ^
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
9 R0 H% Q! d* A; i) ADiscuz!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。
; s( g$ I6 b# Z2 @
9 j1 ^# H+ f- NDiscuz!插件模板版本选择:4 T  g* Z1 F$ i7 V5 Z: P5 ?
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
1 |4 ?3 L( R3 W( ?5 J针对这个问题做个统一的普及:5 t1 d4 w/ x! l
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。! x4 }# @. W3 U2 }/ B

# Y5 m+ M: \* D7 ^! R' w- \所以5 r! e! C5 g  K- O, Z
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。
1 F' ~" b% R$ n' J打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
8 w5 [. n6 R5 }. l2 ^注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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